{"version":3,"file":"securedStrategies-CGZHaxJq.js","sources":["../../../frontend/src/Utils/Post/securedStrategies.ts"],"sourcesContent":["import { getPostSecuredStrategies } from '../../Services/Api';\nimport { Post, Source } from '../Types/Posts';\n\nexport const getSecuredStrategies = async (postId: string | number, setting: string) => {\n const response = await getPostSecuredStrategies(postId, setting);\n\n return response?.data?.data;\n};\n\nconst validateSecuredStrategies = async (\n post: Post | Source,\n setting: string,\n callback: any = () => {},\n onError?: any,\n) => {\n const strategies = await getSecuredStrategies(post.id, setting);\n const { secured_strategies_validated } = strategies;\n\n if (secured_strategies_validated) {\n await callback(strategies.secured_strategies_statuses);\n } else if (onError) {\n onError(strategies.secured_strategies_statuses);\n } else {\n const currentPath = window.location.pathname + window.location.search;\n\n // NOTE: Hotfix, while we work on passing navigate() to this function\n window.location = `/${window.spaceSlug}/posts/${post.slug}/secured-strategies?redirect_to=${currentPath}&setting=${setting}`;\n }\n};\n\nexport const validateCanParticipate = (\n post: Post | Source,\n callback: any = () => {},\n onError?: any,\n) => {\n return validateSecuredStrategies(post, 'secured_strategies_contribute', callback, onError);\n};\n\nexport const validateCanVote = (post: Post | Source, callback: any = () => {}, onError?: any) => {\n return validateSecuredStrategies(post, 'secured_strategies_vote', callback, onError);\n};\n\nexport const validateCanComment = (\n post: Post | Source,\n callback: any = () => {},\n onError?: any,\n) => {\n return validateSecuredStrategies(post, 'secured_strategies_comment', callback, onError);\n};\n\nexport default {\n getSecuredStrategies,\n validateCanParticipate,\n};\n"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","_typeof","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","_asyncToGenerator","arguments","apply","_next","_throw","getSecuredStrategies","_ref","_callee","postId","setting","_response$data","response","_context","getPostSecuredStrategies","data","_x","_x2","validateSecuredStrategies","_ref2","_callee2","post","callback","onError","strategies","secured_strategies_validated","currentPath","_args2","_context2","undefined","id","secured_strategies_statuses","window","location","pathname","search","concat","spaceSlug","slug","_x3","_x4","validateCanParticipate","validateCanVote","validateCanComment"],"mappings":"gdACAA,EAAAA,UAAAC,CAAAA,OAAAA,OAAAC,EAAAD,EAAA,CAAA,EAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAAP,SAAAA,EAAAD,EAAAE,GAAAD,EAAAD,CAAA,EAAAE,EAAAO,KAAAA,EAAAC,EAAAC,OAAAA,QAAAA,WAAAA,QAAAC,EAAAA,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAAC,kBAAAA,EAAAN,EAAAO,aAAA,gBAAAC,SAAAA,EAAAjB,EAAAD,EAAAE,EAAA,CAAA,OAAAC,OAAAK,eAAAP,EAAAD,EAAAS,CAAAA,MAAAP,EAAAiB,WAAA,GAAAC,aAAA,GAAAC,SAAApB,EAAAA,CAAAA,EAAAA,EAAAD,CAAA,CAAA,CAAAkB,GAAAA,eAAA,CAAAA,EAAA,SAAAjB,EAAAD,EAAAE,EAAA,CAAAD,OAAAA,EAAAD,CAAA,EAAAE,CAAAoB,CAAAA,CAAAA,SAAAA,EAAArB,EAAAD,EAAAE,EAAAG,EAAAK,CAAAA,IAAAA,EAAAV,GAAAA,EAAAI,qBAAAmB,EAA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