1"use strict";(self.wpJsonpNlPortal=self.wpJsonpNlPortal||[]).push([[6436,8242],{7677:function(e,t,n){n.r(t),n.d(t,{default:function(){return v}}),n(1948),n(8973);var r=n(3837),i=n(6206),o=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=class extends r.Vue{constructor(){super(...arguments),this.selectedSubject=this.subject,this.selectedSecondarySubject=this.secondarySubject}selectedSubjectChange(){this.selectedSecondarySubject=""}};o([(0,r.Prop)({default:""})],a.prototype,"subject",void 0),o([(0,r.Prop)({default:""})],a.prototype,"secondarySubject",void 0),o([(0,r.Watch)("selectedSubject")],a.prototype,"selectedSubjectChange",null);var s=a=o([r.Component],a),l=n(4710),c=(0,l.A)(s,void 0,void 0,!1,null,null,null).exports,u=class extends r.Vue{constructor(){super(...arguments),this.isCustomer="true"}get showAddressFields(){return"false"!=this.isCustomer}},d=u=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}([(0,r.Component)({extends:i.default,components:{ContactSubjectSelector:c}})],u),v=(0,l.A)(d,void 0,void 0,!1,null,null,null).exports},6206:function(e,t,n){function r(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function s(e){r(a,i,o,s,l,"next",e)}function l(e){r(a,i,o,s,l,"throw",e)}s(void 0)}))}}n.r(t),n.d(t,{default:function(){return a}}),n(1948),n(8840),n(7062),n(8973);var o={mixins:[n(505).validatorGroup],props:{gtmEventFormError:{type:Object,default:null},gtmEventFormSubmit:{type:Object,default:null}},data(){return{fieldLastValue:null,fieldFocusTime:null,formName:"",errorTabIndex:0}},created(){this.baseValidate=this.validate,this.validate=this.extendedValidate},mounted(){this.formName=this.$el.className,window.setTimeout((()=>{this.focusFirstError()}),500)},methods:{extendedValidate(e,t){var n=this;return i((function*(){void 0===t&&(t=!0);var r=n.baseValidate(e);if(n.focusFirstError(),r){if(n.$refs.visibleRecaptcha){e.preventDefault();try{n.$refs.visibleRecaptcha&&(yield n.$refs.visibleRecaptcha.validate())}catch(e){return n.loading=!1,window.nlPortal.showFlashMessage("error","Je moet de reCaptcha nog invullen."),!1}}var i;t&&(null==e||null==(i=e.target)||i.submit())}return r}))()},validateAndTriggerAnalytics(e){var t=this;return i((function*(){var n=yield t.validate(e);return n&&t.gtmEventFormSubmit&&window.dataLayer.push(t.gtmEventFormSubmit),n}))()},validateAndSaveUsername(e,t){var n=this.validate(e,t);return n?this.resolveRememberLoginComponent().saveUsername():window.dataLayer.push({event:"trackEvent",eventCategory:"Inloggen en registreren",eventAction:"Loginpoging Loginpagina",eventLabel:"Mislukt",event_params:{event_name:"info_message",interaction_context:"inloggen en registreren",interaction_content:"Loginpoging mislukt"}}),n},resolveRememberLoginComponent(e){for(var t of(void 0===e&&(e=this.$children),e)){if(t.$refs&&t.$refs.rememberUsername)return t.$refs.rememberUsername;var n=this.resolveRememberLoginComponent(t.$children);if(n)return n}},registerFieldFocus(e){this.fieldLastValue=e.target.value||null,this.fieldFocusTime=e.timeStamp},registerFieldFocusOut(e){var t=e.target.id,n=this.findValidationError(e.target);if(n&&window.dataLayer.push({event:"trackEvent",eventCategory:"Inloggen en registreren",eventAction:"Registreren mislukt",eventLabel:n,event_params:{event_name:"info_message",interaction_context:"inloggen en registreren",interaction_content:"Registreren mislukt"}}),t&&!this.fieldLastValue){var r=parseInt(e.timeStamp-this.fieldFocusTime,10),i=this.fieldLastValue!==(e.target.value||null);if(r<60)i&&window.dataLayer.push({event:"trackEvent",eventCategory:"Registratieformulier",eventAction:t,eventLabel:"Autofill",event_params:{event_name:"info_message",interaction_context:"inloggen en registreren",interaction_content:"Autofill"}});else{var o="checkbox"===e.target.getAttribute("type")?e.target.checked?"Aan":"Uit":"Veldinhoud "+(i?"":"niet ")+"aangepast";window.dataLayer.push({event:"trackEvent",eventCategory:"Registratieformulier",eventAction:t,eventLabel:o,fieldTime:Math.round(r/100)/10,event_params:{event_name:"field_unfocus",interaction_context:"inloggen en registreren",interaction_content:t}})}}},findValidationError(e){var t=this.validators.find((t=>t.field===e));return null==t?void 0:t.validationMessage},focusFirstError(){var e=this.$el.querySelector("[aria-invalid=true]");if(e||(e=this.$el.querySelector(".field-validation-error:not(.field-validation-valid)"))&&"SPAN"===e.tagName&&(e=this.$el.querySelector("[aria-describedby="+e.id+"]")),e){var t=e.closest(".tab-validator");t&&(this.errorTabIndex=Array.from(t.parentNode.children).indexOf(t)),e.focus()}}},computed:{isLoading(){return this.validators.some((e=>e.$parent.loading))}}},a=(0,n(4710).A)(o,void 0,void 0,!1,null,null,null).exports},4710:function(e,t,n){function r(e,t,n,r,i,o,a,s){var l,c="function"==typeof e?e.o
1ptions:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.d(t,{A:function(){return r}})}}]);
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.