{"version":3,"sources":["webpack:///./node_modules/vue3-recaptcha2/dist/vue3-recaptcha2.umd.js"],"names":[],"mappings":";;;;;;;;;AAAA,eAAe,KAAoD,kBAAkB,mBAAO,CAAC,+DAAK,GAAG,SAAqI,CAAC,mBAAmB,aAAa,0BAA0B,OAAO,SAAS,wBAAwB,OAAO,yCAAyC,QAAQ,wCAAwC,KAAK,yBAAyB,QAAQ,+CAA+C,UAAU,gBAAgB,EAAE,wBAAwB,WAAW,GAAG,mBAAmB,6BAA6B,kBAAkB,4BAA4B,EAAE,aAAa,oCAAoC,wIAAwI,EAAE,wBAAwB,wCAAwC,iCAAiC,KAAK,yEAAyE,gHAAgH,KAAK,yBAAyB,YAAY,IAAI,MAAM,oDAAoD,6BAA6B,aAAa,EAAE","file":"js/1.chunk.js?id=c3b2264f150fe06291fc","sourcesContent":["(function(e,t){typeof exports==\"object\"&&typeof module!=\"undefined\"?module.exports=t(require(\"vue\")):typeof define==\"function\"&&define.amd?define([\"vue\"],t):(e=typeof globalThis!=\"undefined\"?globalThis:e||self,e.VueRecaptcha=t(e.Vue))})(this,function(e){\"use strict\";return e.defineComponent({props:{sitekey:{type:String,required:!0},size:{type:String,required:!1,default:\"normal\"},theme:{type:String,required:!1,default:\"light\"},hl:{type:String,required:!1}},emits:{verify:r=>r!=null&&r!=\"\",expire:null,fail:null},setup(r,{expose:u,emit:i}){const n=r,p=e.ref(null);let a=null;u({execute:function(){window.grecaptcha.execute(a)},reset:function(){window.grecaptcha.reset(a)}});function s(){a=window.grecaptcha.render(p.value,{sitekey:n.sitekey,theme:n.theme,size:n.size,callback:c=>i(\"verify\",c),\"expired-callback\":()=>i(\"expire\"),\"error-callback\":()=>i(\"fail\")})}return e.onMounted(()=>{window.grecaptcha==null?new Promise(c=>{window.recaptchaReady=function(){c()};const l=window.document,d=\"recaptcha-script\",o=l.createElement(\"script\");o.id=d,o.setAttribute(\"src\",`https://www.google.com/recaptcha/api.js?onload=recaptchaReady&render=explicit&hl=${n.hl}`),l.head.appendChild(o)}).then(()=>{s()}):s()}),(c,l)=>(e.openBlock(),e.createElementBlock(\"div\",{ref_key:\"recaptchaDiv\",ref:p},null,512))}})});\n"],"sourceRoot":""}