PageSourceSearch

https://www.hogarmania.com/hogarmania/199.h-ab2f3ede22da2226c0da.js

js hogarmania.com collected 2026-10-02 03:37:06 UTC 23,210 bytes, 1 lines download raw bytes

1(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[199],{55627:(e,t,i)=>{"use strict";i.d(t,{Z:()=>o});var s=i(54550),n=i(4797),a=i(77382);const r={name:"nx-input-textarea",components:{NxIcon:n.Z,ValidationProvider:s.d_},props:{value:{type:String},name:{type:String},id:{type:String},label:{type:String},placeholder:{type:String},rules:{type:[String,Object]},helperText:{type:String},type:{type:String,default:"text"},disabled:{type:Boolean,default:!1},confirmed:{type:String},icon:{type:String},rows:{type:String},cols:{type:String},maxLength:{type:Number,default:1e4}},computed:{...(0,a.Se)(["brickConfig"]),text:{get(){return this.value},set(e){this.$emit("input",e)}},required(){return"string"==typeof this.rules?this.rules.search("required")>=0:this.rules.required}},methods:{clickIcon(){this.$emit("clickIcon")}}},o=(0,i(40810).Z)(r,function(){var e=this,t=e._self._c;return e._self._setupProxy,t("validation-provider",{staticClass:"bbnx-input-textarea__wrapper",attrs:{name:e.name,rules:e.rules,vid:e.confirmed},scopedSlots:e._u([{key:"default",fn:function({errors:i}){return[t("div",{staticClass:"bbnx-input-textarea",class:{"bbnx-input-textarea--disabled":e.disabled}},[t("label",{attrs:{name:e.name,id:e.id}},[t("span",{staticClass:"bbnx-input-textarea__label",class:e.brickConfig.components["input-text"].label},[e._v("\n        "+e._s(e.label)+"\n        "),e.required?t("span",{staticClass:"color-error500"},[e._v("*")]):e._e()]),e._v(" "),t("div",{staticClass:"bbnx-input-textarea__input-wrapper"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.text,expression:"text"}],staticClass:"bbnx-input-textarea__input",class:{"bbnx-input-textarea__input--icon":e.icon,"bbnx-input-textarea__input--error":i.length},attrs:{rows:e.rows,cols:e.cols,type:e.type,for:e.id,disabled:e.disabled,placeholder:e.placeholder,maxlength:e.maxLength},domProps:{value:e.text},on:{input:function(t){t.target.composing||(e.text=t.target.value)}}}),e._v(" "),e.icon?t("button",{staticClass:"bbnx-input-textarea__icon",attrs:{type:"button"},on:{click:e.clickIcon}},[t("nx-icon",{attrs:{icon:e.icon}})],1):e._e()])]),e._v(" "),e.helperText||e.$slots.helper?t("span",{staticClass:"bbnx-input-textarea__helper"},[e._t("helper",function(){return[e._v(e._s(e.helperText))]})],2):e._e(),e._v(" "),i.length?t("span",{staticClass:"bbnx-input-textarea__error"},[e._v(e._s(i[0]))]):e._e()])]}}],null,!0)})},[],!1,null,null,null).exports},80199:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var s=i(54550),n=i(87248),a=i(54872),r=i(55627),o=i(65233),l=i(4797),u=i(77382);const c={name:"nx-input-file",components:{NxButton:{name:"nx-button",components:{NxIcon:l.Z},props:{text:{type:String},title:{type:String},url:{type:String},target:{type:String,default:"_self"},negative:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1},large:{type:Boolean,default:!1},medium:{type:Boolean,default:!1},small:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},active:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},mediaInfo:{type:String},type:{type:String},progress:{type:Number},rightIcon:{type:String,default:null},atomConfig:{type:Object}},data:()=>({style:null}),computed:{...(0,u.Se)(["brickConfig"]),size(){if(this.atomConfig)return this.brickConfig.components.button.variant.size[this.atomConfig.default.size]},sizeMd(){if(this.atomConfig)return this.brickConfig.components.button.variant.size[this.atomConfig.default.sizeMd]},sizeLg(){if(this.atomConfig)return this.brickConfig.components.button.variant.size[this.atomConfig.default.sizeLg]},typeAtom(){if(this.atomConfig)return this.brickConfig.components.button.variant.type[this.atomConfig.default.type]},border(){if(this.atomConfig)return this.brickConfig.components.button.variant.border[this.atomConfig.default.border]},classes(){if(this.atomConfig)return this.atomConfig.classes},textAtom(){if(this.atomConfig)return this.atomConfig.default.text}},watch:{loading(e){this.style=e?{width:`${this.$el.offsetWidth}px`}:null}},methods:{onClick(){this.loading||this.$emit("click")}}},NxIcon:l.Z,ValidationProvider:s.d_},props:{name:{type:String},id:{type:String},label:{type:String},placeholder:{type:String},rules:{type:[String,Object]},helperText:{type:String},accept:{type:String,default:null},disabled:{type:Boolean,default:!1},confirmed:{type:String},icon:{type:String}},data:()=>({nameFile:null}),computed:{...(0,u.Se)(["brickConfig"])},methods:{clickIcon(){this.$emit("clickIcon")},getFile(e){this.nameFile=e.srcElement.files[0].name,this.$emit("input",e.srcElement.files[0]),this.$emit("change",e.srcElement.files[0])}}};var p=i(40810);const d=(0,p.Z)(c,function(){var e=this,t=e._self._c;return e._self._setupProxy,t("validation-provider",{staticClass:"bbnx-input-file__wrapper",attrs:{name:e.name,rules:e.rules,vid:e.confirmed},scopedSlots:e._u([{key:"default",fn:function({validate:i,errors:s}){return[t("div",{staticClass:"bbnx-input-file",class:{"bbnx-input-file--disabled":e.disabled}},[t("label",{staticClass:"bbnx-input-file__label-wrapper",class:e.brickConfig.components["input-file"].label,attrs:{name:e.name,id:e.id}},[t("span",{staticClass:"bbnx-input-file__icon"},[t("nx-icon",{attrs:{icon:e.brickConfig.components["input-file"].icon}})],1),e._v(" "),t("span",{staticClass:"bbnx-input-file__label"},[e._v(e._s(e.label))]),e._v(" "),t("input",{staticClass:"bbnx-input-file__input",class:{"bbnx-input-file__input--icon":e.icon},attrs:{type:"file",accept:e.accept,for:e.id,disabled:e.disabled,placeholder:e.placeholder},on:{change:function(t){e.getFile(t)||i(t)}}})]),e._v(" "),e.helperText||e.$slots.helper?t("span",{staticClass:"bbnx-input-file__helper",class:e.brickConfig.components["input-file"].helperText},[e._t("helper",function(){return[e._v(e._s(e.helperText))]})],2):e._e(),e._v(" "),s.length?t("span",{staticClass:"bbnx-input-file__error"}
1,[e._v(e._s(s[0]))]):e._e()])]}}],null,!0)})},[],!1,null,null,null).exports;var h=i(68577),g=i(73966),m=i(20551);const f={name:"nx-logo",props:{logo:{type:String,required:!0}},computed:{logoComponent(){return()=>i(73424)(`./${this.logo}.svg`)}}},x=(0,p.Z)(f,function(){return(0,this._self._c)(this.logoComponent,{tag:"component"})},[],!1,null,null,null).exports;var b=i(14206),v=i.n(b);const y=(e,t,i)=>v().create().post(`/api/front/ugc/${e}/postParticipation`,i);var _=i(75257),S=i(15648);const T={ugcId:null,partSize:10485760,http:v().create(),file:null,captcha:null,type:null,partsData:[],uploadId:null,fileId:null,bytesLoaded:[],fileSize:null,numberParts:null,number:0,filename:"",contentType:null,setUpListeners(){var e,t,i;window.addEventListener("unload",(e=this.ugcId,t=this.fileId,i=this.uploadId,s=>{console.debug(s),navigator.sendBeacon(`/api/front/ugc/${e}/multipart/${t}/abort`,JSON.stringify({uploadId:i}))}))},getParts(){const e=[];let t=0;for(;this.numberParts>t;){const i=t*this.partSize,s=i+this.partSize,n=this.file.slice(i,s);e.push(n),t+=1}return e},createUpload(){return this.filename=this.file.name,this.fileSize=this.file.size,this.numberParts=this.file.size/this.partSize,this.contentType=this.file.type,new Promise(async(e,t)=>{const i={name:this.filename.split(".").slice(0,-1).join("."),type:this.t
1ype,extension:this.filename.split(".").pop(),contentType:this.contentType,captcha:this.captcha,context:{sourceCode:"bCube",siteId:4}},s=await _.Z.post(`/api/front/ugc/${this.ugcId}/multipart/init`,JSON.stringify(i)).catch(e=>{t(e)}),{id:n}=s,{uploadUrl:a}=s;this.fileId=n;const r=await _.Z.post(a).catch(e=>{t(e)});if(!r)return;const o=this.extractValuesFromXML(r,["UploadId"]);this.uploadId=o.UploadId,this.setUpListeners(),e()})},uploadPart(e,t){return new Promise(async(i,s)=>{const n={uploadId:this.uploadId,partNumber:e,contentLength:t.size},a=await _.Z.post(`/api/front/ugc/${this.ugcId}/multipart/${this.fileId}/upload-part`,JSON.stringify(n)).catch(e=>{s(e)}),{uploadUrl:r}=a,o={onUploadProgress:t=>{const{loaded:i}=t;this.bytesLoaded[e]=i/this.fileSize*100;const s=this.bytesLoaded.reduce((e,t)=>e+t,0);S.Z.commit("ugc/UPDATE_FILE_PROGRESS",{progress:s})}},l=await this.http.put(r,t,o).catch(e=>{s(e)});this.partsData.push({etag:l.headers.etag,partNumber:e}),i()})},uploadAllParts(){return new Promise(async(e,t)=>{console.debug(t);let i=1;const s=this.getParts();for(const e of s)await this.uploadPart(i,e),i+=1;e()})},completeUpload(){return new Promise(async(e,t)=>{const i={uploadId:this.uploadId,parts:this.partsData};await _.Z.post(`/api/front/ugc/${this.ugcId}/multipart/${this.fileId}/complete`,JSON.stringify(i)).catch(e=>{t(e)}),S.Z.commit("ugc/COMPLETE_FILE_UPLOAD",{}),e()})},extractValuesFromXML(e,t){const i=(new DOMParser).parseFromString(e,"text/xml"),s={};return t.forEach(e=>{const t=i.getElementsByTagName(e);if(t){const i=t[0].childNodes[0].nodeValue||null;s[e]=i}}),s},async upload(e,t,i,s){this.ugcId=e,this.file=t,this.type=i,this.captcha=s;try{return await this.createUpload(),await this.uploadAllParts(),await this.completeUpload(),this.fileId}catch(e){return console.error("Failed multipart upload"),null}}},C={name:"nx-ugc-form",components:{ValidationObserver:s._j,ValidationProvider:s.d_,VueRecaptcha:n.Z,NxInputText:a.Z,NxInputTextarea:r.Z,NxInputCheckbox:o.Z,NxInputFile:d,NxButton:h.Z,NxModalWindow:g.Z,NxAlertMessage:m.Z,NxLogo:x},props:{ugcId:{type:String},recaptchaWebKey:{type:String,required:!0},ugcType:{type:String},questionText:{type:String,default:null},questionTitle:{type:String,default:null},userSignature:{type:String,default:null},backUrl:{type:String},anonymous:{type:Boolean,default:!1},legalConditionsUrl:{type:String,default:""},legalPrivacyUrl:{type:String,default:""},fileMaxSize:{type:Number}},data:()=>({waiting:!1,name:null,email:null,subject:null,questionTextModel:"",questionTitleModel:"",userSignatureModel:"",terms:null,showError:!1,registerErrors:[],showModal:!1,recaptcha:null,photo:null,video:null,uploadFileId:null,fileName:null,questionTextLimit:1e4,questionTitleLimit:100,userSignatureLimit:50}),mounted(){this.$refs.recaptcha.execute(),localStorage.removeItem("backUrl"),window.addEventListener("beforeunload",this.confirmLeaving),this.name=this.userDefaultName,this.email=this.userDefaultMail;const e={custom:{"ugc.campo-nombre":{required:this.$t("validation.required",{_field_:this.$t("ugc.campo-nombre")})},"ugc.campo-email":{required:this.$t("validation.required",{_field_:this.$t("register.campo-email")}),email:this.$t("validation.email")},"ugc.campo-pregunta":{required:this.$t("ugc.error-pregunta")},"ugc.campo-imagen":{required:this.$t("validation.required",{_field_:this.$t("ugc.campo-imagen")}),size:this.$t("ugc.error-image-size")},"ugc.campo-video":{required:this.$t("validation.required",{_field_:this.$t("ugc.campo-video")}),size:this.$t("ugc.error-video-size")},terms:{required:this.$t("ugc.error-term"),musttrue:this.$t("ugc.error-term")}}};s.cX.localize("en",e),s.cX.localize("es",e)},computed:{...(0,u.Se)(["site"]),...(0,u.Se)("user",["currentUser"]),...(0,u.Se)("ugc",["stateProgress"]),...(0,u.Se)(["loginUrl"]),...(0,u.Se)(["brickConfig"]),translations(){return{notificationAlert:this.$t("ugc.error-message"),checkbox:this.$t("contact.checkbox-legal",{urlconditions:this.legalConditionsUrl,urlpolitic:this.legalPrivacyUrl})}},userDefaultName(){return this.currentUser?this.currentUser.surname?`${this.currentUser.name} ${this.currentUser.surname}`:this.currentUser.name:null},userDefaultMail(){return this.currentUser?this.currentUser.email:null},payload(){const e={type:this.ugcType,name:this.name,email:this.email,questionText:this.questionTextModel,questionTitle:this.questionTitleModel,userSignature:this.userSignatureModel,checkPrivacyPolicy:this.terms,captcha:this.recaptcha};return"text"!==this.ugcType&&(e.uploadFileId=this.uploadFileId),e},uploadType(){return"text_image"===this.ugcType?"contentImageFile":"text_video"===this.ugcType?"contentVideoFile":null},questionTextLabel(){return this.questionText?this.questionText:this.$t("ugc.questionText")},questionTitleLabel(){return this.questionTitle?this.questionTitle:this.$t("ugc.questionTitle")},userSignatureLabel(){return this.userSignature?this.userSignature:this.$t("ugc.userSignature")},helperText(){if(this.fileName)return this.fileName;const e=this.fileMaxSize/1e3+" MB";return"text_video"===this.ugcType?this.$t("ugc.helper-text-video",{fileMaxSize:e}):"text_image"===this.ugcType?this.$t("ugc.helper-text-image",{fileMaxSize:e}):""},questionTextAlertMessage(){return this.questionTextModel.length>this.questionTextLimit-.1*this.questionTextLimit},questionTextWarningMessage(){return this.questionTextModel.length>this.questionTextLimit-.4*this.questionTextLimit},questionTitleAlertMessage(){return this.questionTitleModel.length>this.questionTitleLimit-.1*this.questionTitleLimit},questionTitleWarningMessage(){return this.questionTitleModel.length>this.questionTitleLimit-.4*this.questionTitleLimit},userSignatureAlertMessage(){return this.userSignatureModel.length>this.userSignatureLimit-.1*this.userSignatureLimit},userSignatureWarningMessage(){return this.userSignatureModel.length>this.userSignatureLimit-.4*this.userSignatureLimit}},methods:{textAreaMessage(e){return"questionText"===e?`${this.questionTextModel.length} / ${this.questionTextLimit}`:"questionTitle"===e?`${this.questionTitleModel.length} / ${this.questionTitleLimit}`:`${this.userSignatureModel.length} / ${this.userSignatureLimit}`},confirmLeaving(e){if(this.waiting){const t=this.$t("ugc.leave-warning");return e.returnValue=t,t}return null},closeModal(){this.showModal=!1},onCaptchaVerified(e){this.recaptcha=e},onCaptchaExpired(){this.recaptcha=null},changeName(e){this.fileName=e.name},clearForm(){this.questionTextModel="",this.questionTitleModel="",this.userSignatureModel="",this.terms=null,this.showError=!1,this.registerErrors=[],this.recaptcha=null,this.fileName=null,this.photo=null,this.video=null,this.$refs.validator.reset(),this.$refs.recaptcha.reset(),this.$refs.validator.validate({only:["ugc.campo-nombre","ugc.campo-email"]})},goToLogin(){this.backUrl&&localStorage.setItem("backUrl",this.backUrl),window.location=this.loginUrl},async sendUgc(){if(this.waiting=!0,"text"!==this.ugcType&&(this.waiting=!0,this.uploadFileId=await T.upload(this.ugcId,this.photo||this.video,this.uploadType,this.recaptcha),null===this.uploadFileId))return this.waiting=!0,void this.registerErrors.push(this.$t("ugc.error-uploading-file"));setTimeout(()=>{y(this.ugcId,this.ugcType,this.payload).then(e=>{console.debug(e),void 0!==e.errors?(this.showError=!0,e.errors.forEac
1h(e=>{this.registerErrors.push(this.$t(`register.error-server.${e.errorCode}`))})):(this.clearForm(),this.showModal=!0,this.waiting=!1)}).catch(e=>{console.error(e),this.showError=!0,this.waiting=!1,void 0!==e.apiInfo.data.errors&&e.apiInfo.data.errors.forEach(e=>{this.registerErrors.push(this.$t(`register.error-server.${e.errorCode}`))})},500)})}}},w=(0,p.Z)(C,function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"bbnx-ugc-form"},[e.anonymous||this.currentUser?e._e():t("div",{staticClass:"bbnx-ugc-form-closed"},[t("div",{staticClass:"header"},[e.site.alias?t("div",{staticClass:"logo"},[t("nx-logo",{attrs:{logo:e.site.alias}})],1):e._e(),e._v(" "),t("nx-button",{attrs:{primary:"",medium:""},domProps:{textContent:e._s(this.$t("ugc.paywall-button"))},on:{click:e.goToLogin}})],1),e._v(" "),t("div",{staticClass:"text",class:e.brickConfig.pages.ugc.closedText,domProps:{textContent:e._s(this.$t("ugc.paywall-descripcion",{site:this.site.name}))}})]),e._v(" "),this.currentUser||e.anonymous?t("validation-observer",{ref:"validator",scopedSlots:e._u([{key:"default",fn:function({valid:i}){return[t("form",{on:{submit:function(e){e.preventDefault(),e.stopPropagation()}}},[t("nx-input-text",{attrs:{label:e.$t("ugc.campo-nombre"),name:"ugc.campo-nombre",rules:"required"},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),e._v(" "),t("nx-input-text",{staticClass:"mt-5",attrs:{label:e.$t("ugc.campo-email"),name:"ugc.campo-email",type:"email",rules:"required|email"},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}}),e._v(" "),t("div",{staticClass:"text-area"},[t("nx-input-textarea",{ref:"questionTitleArea",staticClass:"mt-5",attrs:{label:e.questionTitleLabel,name:"ugc.campo-questionTitleText",rows:"1",cols:"100%",rules:"","max-length":100},model:{value:e.questionTitleModel,callback:function(t){e.questionTitleModel=t},expression:"questionTitleModel"}}),e._v(" "),t("span",{ref:"lengthMessage",staticClass:"text-area-control",class:{alert:e.questionTitleAlertMessage,warning:e.questionTitleWarningMessage},domProps:{textContent:e._s(e.textAreaMessage("questionTitle"))}})],1),e._v(" "),t("div",{staticClass:"text-area"},[t("nx-input-textarea",{ref:"userSignatureArea",staticClass:"mt-5",attrs:{label:e.userSignatureLabel,name:"ugc.campo-questionTitleText",rows:"1",cols:"100%",rules:"","max-length":50},model:{value:e.userSignatureModel,callback:function(t){e.userSignatureModel=t},expression:"userSignatureModel"}}),e._v(" "),t("span",{ref:"lengthMessage",staticClass:"text-area-control",class:{alert:e.userSignatureAlertMessage,warning:e.userSignatureWarningMessage},domProps:{textContent:e._s(e.textAreaMessage("userSignature"))}})],1),e._v(" "),t("div",{staticClass:"text-area"},[t("nx-input-textarea",{ref:"questionTextArea",staticClass:"mt-5",attrs:{label:e.questionTextLabel,name:"ugc.campo-pregunta",rows:"10",cols:"100%",rules:"required"},model:{value:e.questionTextModel,callback:function(t){e.questionTextModel=t},expression:"questionTextModel"}}),e._v(" "),t("span",{ref:"lengthMessage",staticClass:"text-area-control",class:{alert:e.questionTextAlertMessage,warning:e.questionTextWarningMessage},domProps:{textContent:e._s(e.textAreaMessage("questionText"))}})],1),e._v(" "),"text_image"===e.ugcType?t("nx-input-file",{attrs:{label:e.$t("ugc.button-imagen"),name:"ugc.campo-imagen",accept:"image/jpeg",helperText:e.helperText,rules:`required|size:${e.fileMaxSize}`},on:{change:function(t){return e.changeName(t)}},model:{value:e.photo,callback:function(t){e.photo=t},expression:"photo"}}):e._e(),e._v(" "),"text_video"===e.ugcType?t("nx-input-file",{attrs:{label:e.$t("ugc.button-video"),name:"ugc.campo-video",accept:"video/mp4",helperText:e.helperText,rules:`required|size:${e.fileMaxSize}`},on:{change:function(t){return e.changeName(t)}},model:{value:e.video,callback:function(t){e.video=t},expression:"video"}}):e._e(),e._v(" "),t("nx-input-checkbox",{staticClass:"user--mt-15",attrs:{name:"terms",rules:"required|musttrue"},model:{value:e.terms,callback:function(t){e.terms=t},expression:"terms"}},[t("p",{domProps:{innerHTML:e._s(e.translations.checkbox)}})]),e._v(" "),t("div",{staticClass:"user--mt-15"},[t("vue-recaptcha",{ref:"recaptcha",attrs:{loadRecaptchaScript:!0,sitekey:e.recaptchaWebKey,size:"invisible"},on:{verify:e.onCaptchaVerified,expired:e.onCaptchaExpired}})],1),e._v(" "),t("div",{staticClass:"button-wrapper"},[t("nx-button",{staticClass:"user--mt-20",class:e.brickConfig.pages.ugc.buttons,attrs:{text:e.$t("ugc.button"),loading:e.waiting,type:"submit",medium:"",disabled:!i},on:{click:e.sendUgc}})],1)],1)]}}],null,!1,824831064)}
1):e._e(),e._v(" "),t("nx-modal-window",{attrs:{title:e.$t("ugc.modal-title"),text:e.$t("ugc.modal-text")},scopedSlots:e._u([{key:"actions",fn:function(){return[t("nx-button",{staticClass:"form-user-profile__button",attrs:{text:e.$t("ugc.modal-button"),tabindex:e.showModal?"0":"-1",type:"button",medium:""},on:{click:e.closeModal}})]},proxy:!0}]),model:{value:e.showModal,callback:function(t){e.showModal=t},expression:"showModal"}}),e._v(" "),e.showError?t("nx-alert-message",{staticClass:"user--mt-20",attrs:{alert:"",icon:"error"},scopedSlots:e._u([{key:"content",fn:function(){return[t("p",[e._v(e._s(e.translations.notificationAlert))]),e._v(" "),e.registerErrors.length?t("ul",e._l(e.registerErrors,function(i,s){return t("li",{key:s},[t("p",[e._v(e._s(i))])])}),0):e._e()]},proxy:!0}],null,!1,4213828017)}):e._e()],1)},[],!1,null,null,null).exports},87248:(e,t,i)=>{"use strict";function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e},s.apply(this,arguments)}i.d(t,{Z:()=>u});var n,a,r,o=Object.prototype.hasOwnProperty,l=(n=!1,a=[],r={resolved:function(){return n},resolve:function(e){if(!n){n=!0;for(var t=0,i=a.length;t<i;t++)a[t](e)}},promise:{then:function(e){n?e():a.push(e)}}},{notify:function(){r.resolve()},wait:function(){return r.promise},render:function(e,t,i){this.wait().then(function(){i(window.grecaptcha.render(e,t))})},reset:function(e){void 0!==e&&(this.assertLoaded(),this.wait().then(function(){return window.grecaptcha.reset(e)}))},execute:function(e){void 0!==e&&(this.assertLoaded(),this.wait().then(function(){return window.grecaptcha.execute(e)}))},checkRecaptchaLoad:function(){o.call(window,"grecaptcha")&&o.call(window.grecaptcha,"render")&&this.notify()},assertLoaded:function(){if(!r.resolved())throw new Error("ReCAPTCHA has not been loaded")}});"undefined"!=typeof window&&(window.vueRecaptchaApiLoaded=l.notify);const u={name:"VueRecaptcha",props:{sitekey:{type:String,required:!0},theme:{type:String},badge:{type:String},type:{type:String},size:{type:String},tabindex:{type:String},loadRecaptchaScript:{type:Boolean,default:!1},recaptchaScriptId:{type:String,default:"__RECAPTCHA_SCRIPT"},recaptchaHost:{type:String,default:"www.google.com"},language:{type:String,default:""}},beforeMount:function(){if(this.loadRecaptchaScript&&!document.getElementById(this.recaptchaScriptId)){var e=document.createElement("script");e.id=this.recaptchaScriptId,e.src="https://"+this.recaptchaHost+"/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit&hl="+this.language,e.async=!0,e.defer=!0,document.head.appendChild(e)}},mounted:function(){var e=this;l.checkRecaptchaLoad();var t=s({},this.$props,{callback:this.emitVerify,"expired-callback":this.emitExpired,"error-callback":this.emitError}),i=this.$slots.default?this.$el.children[0]:this.$el;l.render(i,t,function(t){e.$widgetId=t,e.$emit("render",t)})},methods:{reset:function(){l.reset(this.$widgetId)},execute:function(){l.execute(this.$widgetId)},emitVerify:function(e){this.$emit("verify",e)},emitExpired:function(){this.$emit("expired")},emitError:function(){this.$emit("error")}},render:function(e){return e("div",{},this.$slots.default)}}},73424:(e,t,i)=>{var s={"./cocinatis-landscape.svg":15374,"./cocinatis-square.svg":30764,"./cocinatis.svg":1990,"./demo-negative.svg":63946,"./eru-negative.svg":15504,"./hogarmania-landscape.svg":24789,"./hogarmania-square.svg":63998,"./hogarmania.svg":49146,"./rc-landscape.svg":54442,"./rc-negative.svg":39374,"./rc-square.svg":74559,"./rc.svg":93750,"./sindar-landscape.svg":76560,"./sindar-negative.svg":93969,"./sindar-square.svg":3841,"./sindar.svg":90001};function n(e){return a(e).then(e=>i.t(e,23))}function a(e){return i.e(4320).then(()=>{if(!i.o(s,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return s[e]})}n.keys=()=>Object.keys(s),n.resolve=a,n.id=73424,e.exports=n}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.