{ "version": 3, "sources": ["../../../Vettvangur.Frontend/src/scripts/utility/recaptcha.ts"], "sourcesContent": ["declare let grecaptcha: any\n\nexport const validateRecaptcha = (event, callback): void => {\n event.preventDefault()\n\n grecaptcha.ready(() => {\n grecaptcha.execute('6LfUn9IpAAAAAKMmZZBQ8Wh6v_upByIBy29-r81Z', { action: 'submit' }).then((token) => {\n callback(event, token)\n })\n })\n}\n"], "mappings": "AAEO,IAAMA,EAAoB,CAACC,EAAOC,IAAmB,CAC1DD,EAAM,eAAe,EAErB,WAAW,MAAM,IAAM,CACrB,WAAW,QAAQ,2CAA4C,CAAE,OAAQ,QAAS,CAAC,EAAE,KAAME,GAAU,CACnGD,EAASD,EAAOE,CAAK,CACvB,CAAC,CACH,CAAC,CACH", "names": ["validateRecaptcha", "event", "callback", "token"] }