PageSourceSearch

https://www.secondhome-expo.be/wp-content/themes/second-home/dist-vue/js/9584.bfe39d8817486e6a.bundle.js

js secondhome-expo.be collected 2026-10-08 20:37:48 UTC 15,408 bytes, 1 lines download raw bytes

1(globalThis["webpackChunkvue_cli"]=globalThis["webpackChunkvue_cli"]||[]).push([[9584],{70728:e=>{e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"nl":{"component-download-brochure":{"info":{"info-not_logged-in":"In de brochure vind je meer informatie over de woning, huuropbrengsten en vaste lasten.","info-logged-in":"De brochure bevat alle beschikbare informatie van deze recreatiewoning.","pdf":"PDF"},"btns":{"send":"Versturen"},"form":{"first-name":"Voornaam","last-name":"Achternaam","email":"E-mail","email-placeholder":"Jouw e-mail adres","phonenumber":"Telefoonnummer","phonenumber-placeholder":"Niet verplicht, wel handig","accept-newsletter":"Ja, ik wil graag relevante mails ontvangen","create-an-account":"@:(app-branding.naming.full--my) account aanmaken"},"notifications":{"success":"De brochure wordt per e-mail toegezonden.","error":"Er is iets misgegaan."}}}}'),delete e.options._Ctor}},67603:e=>{e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"nl":{"component-login-bar":{"btns":{"register":"Registreer in één minuut","log-in":"Inloggen"}}}}'),delete e.options._Ctor}},8530:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"block p-4 border border-solid rounded-lg",class:e.alertClass},[e._t("default")],2)},o=[];const r={props:{type:{type:String,validator:function(e){return["success","danger","warning"]},required:!0}},computed:{alertClass(){switch(this.type){case"success":return"text-[#155724] bg-[#d4edda] border-[#c3e6cb]";case"danger":return"text-[#721c24] bg-[#f8d7da] border-[#f5c6cb]";case"warning":return"text-[#856404] bg-[#fff3cd] border-[#ffeeba]";default:return""}}}},s=r;var i=a(1001),l=(0,i.Z)(s,n,o,!1,null,null,null);const c=l.exports},13634:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=function(){var e=this,t=e._self._c;return t("vm-input",{staticClass:"vm-checkbox--wrapper"},[t("fieldset",[t("legend",{staticClass:"vm-checkbox--list-header"},[e._v(" "+e._s(e.legend)+" ")]),t("ul",{staticClass:"vm-checkbox--list"},e._l(e.values,(function(a){return t("li",{key:a.value,staticClass:"vm-checkbox--list-item"},[t("div",{staticClass:"flex gap-2"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedItem,expression:"selectedItem"}],staticClass:"relative top-[3px]",attrs:{id:e.htmlid,type:"checkbox",disabled:e.disabled,checked:""},domProps:{value:a.value,checked:Array.isArray(e.selectedItem)?e._i(e.selectedItem,a.value)>-1:e.selectedItem},on:{change:[function(t){var n=e.selectedItem,o=t.target,r=!!o.checked;if(Array.isArray(n)){var s=a.value,i=e._i(n,s);o.checked?i<0&&(e.selectedItem=n.concat([s])):i>-1&&(e.selectedItem=n.slice(0,i).concat(n.slice(i+1)))}else e.selectedItem=r},function(t){return e.handleChange(a.value)}]}}),t("label",{staticClass:"!font-normal cursor-pointer",class:{"font-semibold":e.boldLabel},attrs:{for:e.htmlid}},[e._v(" "+e._s(a.label)+" ")])])])})),0)])])},o=[],r=a(82946);const s={components:{VmInput:r.Z},props:{htmlid:{type:String,default:null},legend:{type:String,default:""},boldLabel:{type:Boolean,default:!1},value:{type:[String,Boolean],default:null},values:{type:Array,default:function(){return[{value:"value",label:"label"}]}},disabled:{type:Boolean,default:!1},checked:{type:Boolean,default:!1}},data:()=>({}),computed:{selectedItem:{get(){return this.value},set(e){this.$emit("input",e)}}},methods:{handleChange(e){this.$emit("change",e)}},mounted(){}},i=s;var l=a(1001),c=(0,l.Z)(i,n,o,!1,null,null,null);const m=c.exports},29584:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>k});var n=function(){var e=this,t=e._self._c;return t("div",[e.userIsLoggedin?e._e():t("p",[e._v(" "+e._s(e.$t("component-download-brochure.info.info-not_logged-in"))+" ")]),e.userIsLoggedin?t("p",[e._v(" "+e._s(e.$t("component-download-brochure.info.info-logged-in"))+" ")]):e._e(),t("p",[t("strong",[t("span",{domProps:{innerHTML:e._s(e.parkname)}}),e._v(", "+e._s(e.city)+", "+e._s(e.region))]),t("br"),e._v(e._s(e.objecttitle)+" ")]),e.userIsLoggedin||null!==e.employee?t("div",{staticStyle:{position:"relative"}}
1,[t("ul",{staticClass:"brochure-list"},e._l(e.brochureLinks,(function(a){return t("li",{key:a.title,staticClass:"brochure-list--item"},[t("button",{staticClass:"brochure-list--button-item",attrs:{"aria-label":a.title+" (opens in a new window)"},on:{click:function(t){return e.getBrochure({name:a.title,url:a.url})}}},[e._v(" "+e._s(a.title)+" ")]),t("span",[e._v(e._s(e.$t("component-download-brochure.info.pdf")))])])})),0),e.posting?t("div",{staticClass:"form-overlay"},[e.posting?t("status-indication",{attrs:{loading:e.posting}}):e._e()],1):e._e(),e.postingFailed?t("alert",{attrs:{type:"danger"}},[t("p",{staticStyle:{margin:"10px 0"}},[e._v(" "+e._s(e.$t("component-download-brochure.notifications.error"))+" ")])]):e._e()],1):e._e(),t("login-bar",{attrs:{textCtaLogin:"Heb je al een account?"}}),e.userIsLoggedin||e.employee||e.sent?e._e():t("div",{staticClass:"form-wrapper",class:e.formWrapperSatusClass},[t("form",{on:{submit:function(t){return t.preventDefault(),e.submit()}}},[t("vm-form-line",[t("vm-input",[t("template",{slot:"label"},[t("label",{attrs:{for:"vm-db-firstname"}},[e._v(e._s(e.$t("component-download-brochure.form.first-name")))])]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.formdata.firstname,expression:"formdata.firstname"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{id:"vm-db-firstname",type:"text",placeholder:e.$t("component-download-brochure.form.first-name"),autocomplete:"given-name","data-vv-name":"Voornaam"},domProps:{value:e.formdata.firstname},on:{input:function(t){t.target.composing||e.$set(e.formdata,"firstname",t.target.value)}}}),t("template",{slot:"errors"},[t("p",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("Voornaam"),expression:"errors.has('Voornaam')"}]},[e._v(" "+e._s(e.errors.first("Voornaam"))+" ")])])],2)],1),t("vm-form-line",[t("vm-input",[t("template",{slot:"label"},[t("label",{attrs:{for:"vm-db-name"}},[e._v(e._s(e.$t("component-download-brochure.form.last-name")))])]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.formdata.name,expression:"formdata.name"},{name:"validate",rawName:"v-validate",value:"required",expression:"'required'"}],attrs:{id:"vm-db-name",type:"text",placeholder:e.$t("component-download-brochure.form.last-name"),autocomplete:"family-name","data-vv-name":"Achternaam"},domProps:{value:e.formdata.name},on:{input:function(t){t.target.composing||e.$set(e.formdata,"name",t.target.value)}}}),t("template",{slot:"errors"},[t("p",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("Achternaam"),expression:"errors.has('Achternaam')"}]},[e._v(" "+e._s(e.errors.first("Achternaam"))+" ")])])],2)],1),t("vm-form-line",[t("vm-input",[t("template",{slot:"label"},[t("label",{attrs:{for:"vm-db-email"}},[e._v(e._s(e.$t("component-download-brochure.form.email")))])]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.formdata.email,expression:"formdata.email"},{name:"validate",rawName:"v-validate",value:"required|email",expression:"'required|email'"}],attrs:{id:"vm-db-email",type:"text",placeholder:e.$t("component-download-brochure.form.email-placeholder"),autocomplete:"email","data-vv-name":"Email"},domProps:{value:e.formdata.email},on:{input:function(t){t.target.composing||e.$set(e.formdata,"email",t.target.value)}}}),t("template",{slot:"errors"},[t("p",{directives:[{name:"show",rawName:"v-show",value:e.errors.has("Email"),expression:"errors.has('Email')"}]},[e._v(" "+e._s(e.errors.first("Email"))+" ")])])],2)],1),t("vm-form-line",[t("vm-input",[t("template",{slot:"label"},[t("label",{attrs:{for:"vm-db-phone"}},[e._v(e._s(e.$t("component-download-brochure.form.phonenumber")))])]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.formdata.phone,expression:"formdata.phone"}],attrs:{id:"vm-db-phone",type:"text",placeholder:e.$t("component-download-brochure.form.phonenumber-placeholder"),autocomplete:"tel"},domProps:{value:e.formdata.phone},on:{input:function(t){t.target.composing||e.$set(e.formdata,"phone",t.target.value)}}})],2)],1),e.userIsLoggedin?e._e():t("vm-form-line",[t("vm-checkbox",{attrs:{htmlid:"vm-db-newsletter",values:[{value:!0,label:e.$t("component-download-brochure.form.accept-newsletter")}]},model:{value:e.formdata.newsletter,callback:function(t){e.$set(e.formdata,"newsletter",t)},expression:"formdata.newsletter"}})],1),t("vm-form-line",[t("vm-checkbox",{attrs:{htmlid:"vm-db-account",values:[{value:!0,label:e.$t("component-download-brochure.form.create-an-account")}]},model:{value:e.createAccount,callback:function(t){e.createAccount=t},expression:"createAccount"}})],1),t("p",{staticClass:"mb-4"},[t("btn",{attrs:{variant:"primary",loading:e.posting}},[e._v(" "+e._s(e.$t("component-download-brochure.btns.send"))+" ")])],1),t("AppRegistrationTerms")],1)]),e.posting||e.sent||e.postingFailed?t("div",{staticClass:"form-overlay"},[e.posting||e.sent?t("status-indication",{attrs:{loading:e.posting,checked:e.sent}}
1):e._e(),e.sent?t("p",{staticClass:"feedback--success"},[e._v(" "+e._s(e.$t("component-download-brochure.notifications.success"))+" ")]):e._e(),e.postingFailed?t("alert",{staticStyle:{width:"100%"},attrs:{type:"danger"}},[t("p",{staticStyle:{margin:"10px 0"}},[e._v(" "+e._s(e.$t("component-download-brochure.notifications.error"))+". ")])]):e._e()],1):e._e()],1)},o=[],r=a(82946),s=a(13634),i=a(26572),l=a(98347),c=a(44917),m=a(90408),d=a(8530),u=a(12986),p=a(93090),h=a(59582),g=a(82447);const v={components:{Alert:d.Z,StatusIndication:c.Z,Btn:i["default"],VmCheckbox:s.Z,VmInput:r.Z,VmFormLine:l.Z,LoginBar:p.Z},mixins:[u.i,h.Z,g.K],props:{parkname:{type:String,required:!0},city:{type:String,required:!0},region:{type:String,required:!0},objecttitle:{type:String,required:!0},objectid:{type:String,required:!0},parkid:{type:String,required:!0},brochureLinks:{type:Array,default:()=>[]}},data(){return{posting:!1,postingFailed:!1,sent:!1,createAccount:!1,formdata:{objectId:this.objectid,parkId:this.parkid,email:null,firstname:null,middlename:null,name:null,newsletter:!1,phone:null,utm_source:this.utm_source,utm_medium:this.utm_medium,utm_campaign:this.utm_campaign,utm_term:this.utm_term}}},computed:{...(0,m.rn)({user:e=>e.user.user,employee:e=>e.user.employee,session:e=>e.user}),formWrapperSatusClass(){return this.posting?"posting":this.sent?"sent":null},userIsLoggedin(){return this.user}},mounted(){let e=this.utm_getReferralCookieData();null!==e&&"object"===typeof e&&(this.formdata["utm_source"]=e.utmSource,this.formdata["utm_medium"]=e.utmMedium,this.formdata["utm_campaign"]=e.utmCampaign,this.formdata["utm_term"]=e.utmTerm),this.userIsLoggedin||(this.createAccount=!0)},methods:{getBrochure(e){let t=window.open("about:blank","_blank");t.location=e.url,this.userIsLoggedin&&this.trackBrochureDownload(),this.userIsLoggedin&&e.name.includes("brochure")&&this.vmGTMObjectBrochureDownload({id:this.objectid}),this.userIsLoggedin&&e.name.includes("parkplattegrond")&&this.vmGTMObjectParkLayoutDownload({objectId:this.objectid}),this.userIsLoggedin&&e.name.includes("prijslijst")&&this.vmGTMObjectPricelistDownload({objectId:this.objectid})},trackBrochureDownload(){return new Promise(((e,t)=>{if(this.bdIsDownloaded({formdata:this.formdata}))return e();let a=this.formdata;a["sendEmail"]=!1,this.posting=!0,this.bdTrackDownload({formdata:a}).then((t=>(this.posting=!1,e(t)))).catch((e=>(this.posting=!1,t(e))))}))},submit(){this.$validator.validateAll().then((e=>{e&&(this.posting=!0,this.axios.post("/api/brochure.json",this.formdata).then((e=>{e.data.result&&(this.vmGTMObjectBrochureDownload({id:this.objectid}),this.createAccount?this.$store.dispatch("user/register",{email:this.formdata.email,firstName:this.formdata.firstname,lastName:this.formdata.name}).then((e=>{e&&(this.vmGTMObjectBrochureDownloadRegistration(),this.posting=!1,this.sent=!0)})).catch((()=>{this.posting=!1,this.sent=!0})):(this.posting=!1,this.sent=!0))})).catch((()=>{this.posting=!1,this.postingFailed=!0})))}))}}},f=v;var b=a(1001),_=a(70728),w=a.n(_);const x=w();var y=(0,b.Z)(f,n,o,!1,null,"52ea2a31",null);"function"===typeof x&&x(y);const k=y.exports},93090:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"px-4 py-2 rounded-md",class:{"bg-transparent":e.transparentWhite,"bg-base-50":!e.transparentWhite},attrs:{"data-component":"login-bar"}},[e.account.contact?t("div",[t("i18n",{attrs:{path:"component-login-bar.logged-in.change-account-data",tag:"p"},scopedSlots:e._u([{key:"accountPageLink",fn:function(){return[t("router-link",{staticClass:"text-link",attrs:{to:{name:"accountProfile"}}},[e._v(" "+e._s(e.$t("component-login-bar.logged-in.change-account-data.account-page-link-name"))+" ")])]},proxy:!0}],null,!1,4126899584)}),t("div",{staticClass:"flex flex-col gap-2"},[t("ul",[t("li",{staticClass:"font-bold"},[e._v(" "+e._s(e.$t("component-login-bar.logged-in.name"))+" ")]),t("li",{staticClass:"text-base-700"},[e._v(" "+e._s(e.account.contact.firstName)+" "+e._s(e.account.contact.middleName)+" "+e._s(e.account.contact.lastName)+" ")])]),t("ul",[t("li",{staticClass:"font-bold"},[e._v(" "+e._s(e.$t("component-login-bar.logged-in.email"))+" ")]),t("li",{staticClass:"text-base-700"},[e._v(" "+e._s(e.account.contact.email)+" ")])]),t("ul",[t("li",{staticClass:"font-bold"},[e._v(" "+e._s(e.$t("component-login-bar.logged-in.phone"))+" ")]),t("li",{staticClass:"text-base-700"}
1,[e._v(" "+e._s(e.account.contact.phoneNumber)+" ")])])])],1):e._e(),e.account.contact?e._e():t("div",{staticClass:"flex items-center justify-between gap-2 lg:flex-col lg:items-start xl:flex-row xl:items-center"},[e.textCtaLogin?t("p",{staticClass:"font-bold",class:{"text-base-50":e.transparentWhite,"text-sea":!e.transparentWhite}},[e._v(" "+e._s(e.textCtaLogin)+" ")]):e._e(),t("div",{staticClass:"flex gap-2"},[e.showCtaRegister?t("div",[t("btn",{attrs:{variant:"outline",size:"sm"},nativeOn:{click:function(t){return t.preventDefault(),e.openRegisterForm()}}},[e._v(" "+e._s(e.$t("component-login-bar.btns.register"))+" ")])],1):e._e(),t("div",[t("btn",{attrs:{variant:"outline",size:"sm",iconRight:"icon-arrow-right",className:"md:text-sm",dynamicClassName:{"text-base-50 border-base-50":e.transparentWhite}},nativeOn:{click:function(t){return t.preventDefault(),e.openLoginForm()}}},[e._v(" "+e._s(e.$t("component-login-bar.btns.log-in"))+" ")])],1)])])])},o=[],r=a(90408),s=a(26572);const i={components:{Btn:s["default"]},props:{showCtaRegister:{type:Boolean,default:!1},textCtaLogin:{type:String,default:null},transparentWhite:{type:Boolean,default:!1}},computed:{...(0,r.rn)({account:e=>e.user?{...e.user.user}:null})},methods:{openRegisterForm(){this.$store.dispatch("user/openAuthDialog","register")},openLoginForm(){this.$store.dispatch("user/openAuthDialog","login")}}},l=i;var c=a(1001),m=a(67603),d=a.n(m);const u=d();var p=(0,c.Z)(l,n,o,!1,null,null,null);"function"===typeof u&&u(p);const h=p.exports},59582:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const n={methods:{utm_getReferralCookieData(){let e="sh_refferrals",t=document.cookie.split(";");for(let a=0;a<t.length;a++){let n=t[a];while(" "===n.charAt(0))n=n.substring(1);if(0===n.indexOf(e)){let t=n.substring(e.length+1,n.length);return JSON.parse(t)}}return null}}}}}]);

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.