{"version":3,"sources":["webpack:///./node_modules/recaptcha-v3/dist/ReCaptcha.js","webpack:///./node_modules/vue-recaptcha-v3/dist/ReCaptchaVuePlugin.js","webpack:///./node_modules/recaptcha-v3/dist/ReCaptchaInstance.js","webpack:///./node_modules/recaptcha-v3/dist/ReCaptchaLoader.js"],"names":["Object","defineProperty","exports","value","ReCaptchaInstance","getInstance","load","ReCaptchaLoader_1","enumerable","get","ReCaptchaInstance_1","__awaiter","this","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","then","apply","__generator","body","f","y","t","g","_","label","sent","trys","ops","verb","Symbol","iterator","n","v","op","TypeError","call","pop","length","push","useReCaptcha","VueReCaptcha","recaptcha_v3_1","vue_1","VueReCaptchaInjectKey","globalConfig","loadedWaiters","error","inject","initializeReCaptcha","options","_a","siteKey","loaderOptions","recaptchaLoaded","isLoaded","recaptcha","instance","_this","action","_b","execute","install","app","ref","undefined","config","globalProperties","$recaptchaLoaded","wrapper","$recaptcha","$recaptchaInstance","forEach","catch","provide","executeRecaptcha","recaptchaID","styleContainer","prototype","enterprise","getSiteKey","hideBadge","document","createElement","innerHTML","head","appendChild","showBadge","removeChild","__assign","assign","s","i","arguments","p","hasOwnProperty","ELoadingState","ReCaptchaLoader","Error","getLoadingState","LOADED","LOADING","instanceSiteKey","successfulLoadingConsumers","errorLoadingRunnable","reason","setLoadingState","loader","loadScript","useRecaptchaNet","useEnterprise","renderParameters","customUrl","widgetID","doExplicitRender","grecaptcha","explicitRenderParameters","autoHideBadge","state","loadingState","NOT_LOADED","scriptElement","setAttribute","scriptBase","render","parametersQuery","buildQueryString","src","addEventListener","waitForScriptToLoad","onerror","parameters","parameterKeys","keys","filter","parameterKey","map","join","callback","window","setTimeout","SCRIPT_LOAD_DELAY","ready","isEnterprise","augmentedParameters","sitekey","container"],"mappings":"kHACAA,OAAOC,eAAeC,EAAS,aAAc,CAAEC,OAAO,IACtDD,EAAQE,kBAAoBF,EAAQG,YAAcH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,YAAYmC,OAGlCxB,EAAgBnB,UAAUgD,iBAAmB,SAAUK,GACnD,IAAIC,EAAgBhJ,OAAOiJ,KAAKF,GAChC,OAAIC,EAAc9F,OAAS,EAChB,GAEH,IACJlD,OAAOiJ,KAAKF,GACPG,QAAO,SAAUC,GAClB,QAASJ,EAAWI,MAEnBC,KAAI,SAAUD,GACf,OAAOA,EAAe,IAAMJ,EAAWI,MAEtCE,KAAK,MAElBxC,EAAgBnB,UAAUmD,oBAAsB,SAAUS,EAAU5B,GAChE,IAAIpD,EAAQ1D,KACZ,OAAO,gBACuBiE,IAAtB0E,OAAOxB,WACPyB,YAAW,WACPlF,EAAMuE,oBAAoBS,EAAU5B,KACrCb,EAAgB4C,mBAGf/B,EACA6B,OAAOxB,WAAWpC,WAAW+D,OAAM,WAC/BJ,OAIJC,OAAOxB,WAAW2B,OAAM,WACpBJ,SAMpBzC,EAAgBnB,UAAUoC,iBAAmB,SAAUC,EAAY/D,EAAS+E,EAAYY,GACpF,IAAIC,EAAsBvD,EAAS,CAAEwD,QAAS7F,GAAW+E,GACzD,OAAIA,EAAWe,UACPH,EACO5B,EAAWpC,WAAW6C,OAAOO,EAAWe,UAAWF,GAGnD7B,EAAWS,OAAOO,EAAWe,UAAWF,GAI/CD,EACO5B,EAAWpC,WAAW6C,OAAOoB,GAG7B7B,EAAWS,OAAOoB,IAIrC/C,EAAgBsB,aAAe,KAC/BtB,EAAgBxC,SAAW,KAC3BwC,EAAgBK,gBAAkB,KAClCL,EAAgBM,2BAA6B,GAC7CN,EAAgBO,qBAAuB,GACvCP,EAAgB4C,kBAAoB,GAC7B5C,EA7KW,GA+KtB3G,EAAQI,KAAOuG,EAAgBvG,KAC/BJ,EAAQG,YAAcwG,EAAgBxG","file":"js/chunk-5b4243a6.chunk.js?id=22f0dabf5503423eac5b","sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReCaptchaInstance = exports.getInstance = exports.load = void 0;\nvar ReCaptchaLoader_1 = require(\"./ReCaptchaLoader\");\nObject.defineProperty(exports, \"load\", { enumerable: true, get: function () { return ReCaptchaLoader_1.load; } });\nObject.defineProperty(exports, \"getInstance\", { enumerable: true, get: function () { return ReCaptchaLoader_1.getInstance; } });\nvar ReCaptchaInstance_1 = require(\"./ReCaptchaInstance\");\nObject.defineProperty(exports, \"ReCaptchaInstance\", { enumerable: true, get: function () { return ReCaptchaInstance_1.ReCaptchaInstance; } });\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.useReCaptcha = exports.VueReCaptcha = void 0;\nvar recaptcha_v3_1 = require(\"recaptcha-v3\");\nvar vue_1 = require(\"vue\");\nvar VueReCaptchaInjectKey = Symbol('VueReCaptchaInjectKey');\nvar globalConfig = {\n loadedWaiters: [],\n error: null\n};\nexports.VueReCaptcha = {\n install: function (app, options) {\n var isLoaded = vue_1.ref(false);\n var instance = vue_1.ref(undefined);\n app.config.globalProperties.$recaptchaLoaded = recaptchaLoaded(isLoaded);\n initializeReCaptcha(options).then(function (wrapper) {\n isLoaded.value = true;\n instance.value = wrapper;\n app.config.globalProperties.$recaptcha = recaptcha(instance);\n app.config.globalProperties.$recaptchaInstance = instance;\n globalConfig.loadedWaiters.forEach(function (v) { return v.resolve(true); });\n }).catch(function (error) {\n globalConfig.error = error;\n globalConfig.loadedWaiters.forEach(function (v) { return v.reject(error); });\n });\n app.provide(VueReCaptchaInjectKey, {\n instance: instance,\n isLoaded: isLoaded,\n executeRecaptcha: recaptcha(instance),\n recaptchaLoaded: recaptchaLoaded(isLoaded)\n });\n }\n};\nfunction useReCaptcha() {\n return vue_1.inject(VueReCaptchaInjectKey);\n}\nexports.useReCaptcha = useReCaptcha;\nfunction initializeReCaptcha(options) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4, recaptcha_v3_1.load(options.siteKey, options.loaderOptions)];\n case 1: return [2, _a.sent()];\n }\n });\n });\n}\nfunction recaptchaLoaded(isLoaded) {\n return function () { return new Promise(function (resolve, reject) {\n if (globalConfig.error !== null) {\n return reject(globalConfig.error);\n }\n if (isLoaded.value) {\n return resolve(true);\n }\n globalConfig.loadedWaiters.push({ resolve: resolve, reject: reject });\n }); };\n}\nfunction recaptcha(instance) {\n var _this = this;\n return function (action) { return __awaiter(_this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0: return [4, ((_a = instance.value) === null || _a === void 0 ? void 0 : _a.execute(action))];\n case 1: return [2, _b.sent()];\n }\n });\n }); };\n}\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReCaptchaInstance = void 0;\nvar ReCaptchaInstance = (function () {\n function ReCaptchaInstance(siteKey, recaptchaID, recaptcha) {\n this.siteKey = siteKey;\n this.recaptchaID = recaptchaID;\n this.recaptcha = recaptcha;\n this.styleContainer = null;\n }\n ReCaptchaInstance.prototype.execute = function (action) {\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!this.recaptcha.enterprise) return [3, 2];\n return [4, this.recaptcha.enterprise.execute(this.recaptchaID, { action: action })];\n case 1:\n _a = _b.sent();\n return [3, 4];\n case 2: return [4, this.recaptcha.execute(this.recaptchaID, { action: action })];\n case 3:\n _a = _b.sent();\n _b.label = 4;\n case 4: return [2, _a];\n }\n });\n });\n };\n ReCaptchaInstance.prototype.getSiteKey = function () {\n return this.siteKey;\n };\n ReCaptchaInstance.prototype.hideBadge = function () {\n if (this.styleContainer !== null) {\n return;\n }\n this.styleContainer = document.createElement(\"style\");\n this.styleContainer.innerHTML =\n \".grecaptcha-badge{visibility:hidden !important;}\";\n document.head.appendChild(this.styleContainer);\n };\n ReCaptchaInstance.prototype.showBadge = function () {\n if (this.styleContainer === null) {\n return;\n }\n document.head.removeChild(this.styleContainer);\n this.styleContainer = null;\n };\n return ReCaptchaInstance;\n}());\nexports.ReCaptchaInstance = ReCaptchaInstance;\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getInstance = exports.load = void 0;\nvar ReCaptchaInstance_1 = require(\"./ReCaptchaInstance\");\nvar ELoadingState;\n(function (ELoadingState) {\n ELoadingState[ELoadingState[\"NOT_LOADED\"] = 0] = \"NOT_LOADED\";\n ELoadingState[ELoadingState[\"LOADING\"] = 1] = \"LOADING\";\n ELoadingState[ELoadingState[\"LOADED\"] = 2] = \"LOADED\";\n})(ELoadingState || (ELoadingState = {}));\nvar ReCaptchaLoader = (function () {\n function ReCaptchaLoader() {\n }\n ReCaptchaLoader.load = function (siteKey, options) {\n if (options === void 0) { options = {}; }\n if (typeof document === \"undefined\") {\n return Promise.reject(new Error(\"This is a library for the browser!\"));\n }\n if (ReCaptchaLoader.getLoadingState() === ELoadingState.LOADED) {\n if (ReCaptchaLoader.instance.getSiteKey() === siteKey) {\n return Promise.resolve(ReCaptchaLoader.instance);\n }\n else {\n return Promise.reject(new Error(\"reCAPTCHA already loaded with different site key!\"));\n }\n }\n if (ReCaptchaLoader.getLoadingState() === ELoadingState.LOADING) {\n if (siteKey !== ReCaptchaLoader.instanceSiteKey) {\n return Promise.reject(new Error(\"reCAPTCHA already loaded with different site key!\"));\n }\n return new Promise(function (resolve, reject) {\n ReCaptchaLoader.successfulLoadingConsumers.push(function (instance) { return resolve(instance); });\n ReCaptchaLoader.errorLoadingRunnable.push(function (reason) {\n return reject(reason);\n });\n });\n }\n ReCaptchaLoader.instanceSiteKey = siteKey;\n ReCaptchaLoader.setLoadingState(ELoadingState.LOADING);\n var loader = new ReCaptchaLoader();\n return new Promise(function (resolve, reject) {\n loader\n .loadScript(siteKey, options.useRecaptchaNet || false, options.useEnterprise || false, options.renderParameters ? options.renderParameters : {}, options.customUrl)\n .then(function () {\n ReCaptchaLoader.setLoadingState(ELoadingState.LOADED);\n var widgetID = loader.doExplicitRender(grecaptcha, siteKey, options.explicitRenderParameters\n ? options.explicitRenderParameters\n : {}, options.useEnterprise || false);\n var instance = new ReCaptchaInstance_1.ReCaptchaInstance(siteKey, widgetID, grecaptcha);\n ReCaptchaLoader.successfulLoadingConsumers.forEach(function (v) {\n return v(instance);\n });\n ReCaptchaLoader.successfulLoadingConsumers = [];\n if (options.autoHideBadge) {\n instance.hideBadge();\n }\n ReCaptchaLoader.instance = instance;\n resolve(instance);\n })\n .catch(function (error) {\n ReCaptchaLoader.errorLoadingRunnable.forEach(function (v) { return v(error); });\n ReCaptchaLoader.errorLoadingRunnable = [];\n reject(error);\n });\n });\n };\n ReCaptchaLoader.getInstance = function () {\n return ReCaptchaLoader.instance;\n };\n ReCaptchaLoader.setLoadingState = function (state) {\n ReCaptchaLoader.loadingState = state;\n };\n ReCaptchaLoader.getLoadingState = function () {\n if (ReCaptchaLoader.loadingState === null) {\n return ELoadingState.NOT_LOADED;\n }\n else {\n return ReCaptchaLoader.loadingState;\n }\n };\n ReCaptchaLoader.prototype.loadScript = function (siteKey, useRecaptchaNet, useEnterprise, renderParameters, customUrl) {\n var _this = this;\n if (useRecaptchaNet === void 0) { useRecaptchaNet = false; }\n if (useEnterprise === void 0) { useEnterprise = false; }\n if (renderParameters === void 0) { renderParameters = {}; }\n if (customUrl === void 0) { customUrl = \"\"; }\n var scriptElement = document.createElement(\"script\");\n scriptElement.setAttribute(\"recaptcha-v3-script\", \"\");\n scriptElement.setAttribute(\"async\", \"\");\n scriptElement.setAttribute(\"defer\", \"\");\n var scriptBase = \"https://www.google.com/recaptcha/api.js\";\n if (useRecaptchaNet) {\n if (useEnterprise) {\n scriptBase = \"https://recaptcha.net/recaptcha/enterprise.js\";\n }\n else {\n scriptBase = \"https://recaptcha.net/recaptcha/api.js\";\n }\n }\n else if (useEnterprise) {\n scriptBase = \"https://www.google.com/recaptcha/enterprise.js\";\n }\n if (customUrl) {\n scriptBase = customUrl;\n }\n if (renderParameters.render) {\n renderParameters.render = undefined;\n }\n var parametersQuery = this.buildQueryString(renderParameters);\n scriptElement.src = scriptBase + \"?render=explicit\" + parametersQuery;\n return new Promise(function (resolve, reject) {\n scriptElement.addEventListener(\"load\", _this.waitForScriptToLoad(function () {\n resolve(scriptElement);\n }, useEnterprise), false);\n scriptElement.onerror = function (error) {\n ReCaptchaLoader.setLoadingState(ELoadingState.NOT_LOADED);\n reject(error);\n };\n document.head.appendChild(scriptElement);\n });\n };\n ReCaptchaLoader.prototype.buildQueryString = function (parameters) {\n var parameterKeys = Object.keys(parameters);\n if (parameterKeys.length < 1) {\n return \"\";\n }\n return (\"&\" +\n Object.keys(parameters)\n .filter(function (parameterKey) {\n return !!parameters[parameterKey];\n })\n .map(function (parameterKey) {\n return parameterKey + \"=\" + parameters[parameterKey];\n })\n .join(\"&\"));\n };\n ReCaptchaLoader.prototype.waitForScriptToLoad = function (callback, useEnterprise) {\n var _this = this;\n return function () {\n if (window.grecaptcha === undefined) {\n setTimeout(function () {\n _this.waitForScriptToLoad(callback, useEnterprise);\n }, ReCaptchaLoader.SCRIPT_LOAD_DELAY);\n }\n else {\n if (useEnterprise) {\n window.grecaptcha.enterprise.ready(function () {\n callback();\n });\n }\n else {\n window.grecaptcha.ready(function () {\n callback();\n });\n }\n }\n };\n };\n ReCaptchaLoader.prototype.doExplicitRender = function (grecaptcha, siteKey, parameters, isEnterprise) {\n var augmentedParameters = __assign({ sitekey: siteKey }, parameters);\n if (parameters.container) {\n if (isEnterprise) {\n return grecaptcha.enterprise.render(parameters.container, augmentedParameters);\n }\n else {\n return grecaptcha.render(parameters.container, augmentedParameters);\n }\n }\n else {\n if (isEnterprise) {\n return grecaptcha.enterprise.render(augmentedParameters);\n }\n else {\n return grecaptcha.render(augmentedParameters);\n }\n }\n };\n ReCaptchaLoader.loadingState = null;\n ReCaptchaLoader.instance = null;\n ReCaptchaLoader.instanceSiteKey = null;\n ReCaptchaLoader.successfulLoadingConsumers = [];\n ReCaptchaLoader.errorLoadingRunnable = [];\n ReCaptchaLoader.SCRIPT_LOAD_DELAY = 25;\n return ReCaptchaLoader;\n}());\nexports.load = ReCaptchaLoader.load;\nexports.getInstance = ReCaptchaLoader.getInstance;\n"],"sourceRoot":""}