{"version":3,"file":"study-DXGQingS.js","sources":["../../../frontend/src/Utils/Post/study.ts"],"sourcesContent":["export const getTypeformIdFromUrl = (formUrl: any) => {\n // get Typeform ID from URL using regex\n // Previous regex was not safari compliant (look behind not supported) be mindfull when changing that\n return formUrl ? formUrl.match(/typeform\\.com\\/to\\/([a-zA-Z0-9]+)/)?.[1] : '';\n};\n\nexport const isTypeformUrl = (formUrl: any) => {\n return Boolean(getTypeformIdFromUrl(formUrl));\n};\n\nexport default {\n getTypeformIdFromUrl,\n isTypeformUrl,\n};\n"],"names":["getTypeformIdFromUrl","formUrl","_formUrl$match","match","isTypeformUrl","Boolean"],"mappings":"AAAaA,IAAAA,EAAuB,SAACC,EAAiB,CAAAC,IAAAA,EAGpD,OAAOD,GAAOC,EAAGD,EAAQE,MAAM,mCAAmC,KAAC,MAAAD,IAAlDA,OAAAA,OAAAA,EAAqD,CAAC,EAAI,EAC7E,EAEaE,EAAgB,SAACH,EAAiB,CACtCI,MAAAA,EAAQL,EAAqBC,CAAO,CAC7C"}