PageSourceSearch

https://www.zwolsetheaters.nl/assets/js/components/contact.971.js

js zwolsetheaters.nl collected 2026-10-02 07:19:27 UTC 4,469 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkfrontend"]=self["webpackChunkfrontend"]||[]).push([[1439],{7643:function(e,t,o){o.r(t),o.d(t,{default:function(){return m}});var n=o(9726);function c(e,t,o,c,l,s){const i=(0,n.g2)("BaseComponentTitle"),a=(0,n.g2)("BaseButton"),b=(0,n.g2)("BaseComponent");return t[0]||((0,n.Vq)(-1),t[0]=(0,n.bF)(b,{ref:"contactRef",class:(0,n.C4)([e.$style["contact-block"]]),model:e.baseModel,module:[e.module,[e.$style,"contact-block"]],container:"default",index:e.index,"is-nested":e.isNested,"in-viewport-animation":e.inViewportAnimation,"is-component":e.isComponent,"prev-component":e.prevComponent,"next-component":e.nextComponent},{default:(0,n.k6)(()=>[(0,n.bF)(i,{class:(0,n.C4)(e.$style["contact-block__title"]),title:e.baseModel.title},null,8,["class","title"]),(0,n.Lk)("div",{class:(0,n.C4)(e.$style["contact-block__content"])},[(0,n.Lk)("div",{class:(0,n.C4)(e.$style["contact-block__grid"])},[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.baseModel.items,(t,o)=>((0,n.uX)(),(0,n.CE)(n.FK,{key:o},[(0,n.bF)(a,{title:t.title,icon:t.icon,"link-url":t.hasForm?null:t.link?.url,"link-target":t.hasForm?null:t.link?.target,"icon-crop-width":60,"icon-crop-height":60,"icon-custom":"",onClick:o=>t.hasForm?e.toggleForm(t):null,class:(0,n.C4)([e.$style["contact-block__button"],e.$style["bg--"+t.backgroundColor],{[e.$style["is--active"]]:t.formVisible}])},null,8,["title","icon","link-url","link-target","onClick","class"]),(0,n.bF)(n.eB,{name:"fade"},{default:(0,n.k6)(()=>[(0,n.bo)((0,n.Lk)("div",{class:(0,n.C4)(e.$style["contact-block__form"])},[(0,n.bF)(a,{"title-attr":"Sluiten",onClick:o=>e.closeForm(t),class:(0,n.C4)(e.$style["contact-block__form__close-button"])},null,8,["onClick","class"]),t.hasForm?((0,n.uX)(),(0,n.CE)("div",{key:0,class:(0,n.C4)(e.$style["contact-block__form__container"])},[(0,n.RG)(e.$slots,`item(${o})`)],2)):(0,n.Q3)("",!0)],2),[[n.aG,t.formVisible]])]),_:2},1024)],64))),128))],2)],2)]),_:3},8,["class","model","module","index","is-nested","in-viewport-animation","is-component","prev-component","next-component"]),(0,n.Vq)(1),t[0])}o(3725),o(1339);var l=o(8557),s=o(6125),i=o(6401);class a{constructor(e=null){(0,s.A)(this,"title",""),(0,s.A)(this,"icon",""),(0,s.A)(this,"link",new l.aW),(0,s.A)(this,"hasForm",!1),(0,s.A)(this,"backgroundColor",""),(0,s.A)(this,"formVisible",!1),(0,i.A)(e)||(0,l.Gv)().mergeExistingProps(this,{...e,link:e.link&&new l.aW(e.link)})}}class b extends l.xu{constructor(e=null,t=!1){super(),(0,s.A)(this,"title",""),(0,s.A)(this,"items",[]),(0,i.A)(e)||(0,l.Gv)().mergeExistingProps(this,{...e,items:e.items?e.items.map(e=>new a(e)):[]}),t&&(0,l.Gv)().debugComponent("contact",e,this)}}var r=(0,n.pM)({mixins:[l.yY],props:{...l.yY.props,model:{type:Object,required:!0}},setup(e){const t=(0,n.KR)(null),o=(0,n.KR)(new b(e.model,e.debug)),c=(0,n.Kh)(new l.jq);c.variant="default-inverted",c.cssModule=[(0,n.D)(),"contact-block__form"],(0,n.Gt)(l.DG.FORM_STATE,c);const s=e=>{const n=e.formVisible;o.value.items.map(e=>e.formVisible=!1),e.formVisible=!n,setTimeout(()=>{e.formVisible&&t.value&&t.value?.$el.scrollIntoView({behavior:"smooth"})},500)},i=e=>{e.formVisible=!1};return{contactRef:t,baseModel:o,toggleForm:s,closeForm:i}},components:{BaseComponentTitle:l.ve}}),_={"contact-block__title":"contact-block__title__d83db0","contact-block__button":"contact-block__button__ebed39","contact-block__form__close-button":"contact-block__form__close-button__a24fcb","is--loading":"is--loading__c000d9",disabled:"disabled__acc626","contact-block__grid":"contact-block__grid__c6dd18","bg--black-1":"bg--black-1__ec52d2","bg--white-1":"bg--white-1__e6c9ab","bg--red-1":"bg--red-1__a76215","bg--orange-1":"bg--orange-1__fd20dc","bg--green-1":"bg--green-1__b00368","bg--green-2":"bg--green-2__a9751f","bg--blue-1":"bg--blue-1__e766e7","bg--blue-2":"bg--blue-2__b48c57","bg--turquoise-1":"bg--turquoise-1__ac4525","bg--purple-1":"bg--purple-1__e264d0","bg--purple-2":"bg--purple-2__d25b61","bg--sand-1":"bg--sand-1__b990c6","bg--grey-1":"bg--grey-1__bb268b","bg--grey-2":"bg--grey-2__fe4b3f","bg--grey-3":"bg--grey-3__db0512","bg--grey-4":"bg--grey-4__a8420d","bg--grey-5":"bg--grey-5__e71fce","bg--grey-6":"bg--grey-6__c4eb8a","contact-block__form":"contact-block__form__c
1a20f0","contact-block__form__container":"contact-block__form__container__ce3519","is--active":"is--active__ff7d95"},g=o(6262);const u={};u["$style"]=_;const d=(0,g.A)(r,[["render",c],["__cssModules",u]]);var m=d}}]);

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.