1(function(t){function e(e){for(var n,r,o=e[0],l=e[1],c=e[2],d=0,h=[];d<o.length;d++)r=o[d],Object.prototype.hasOwnProperty.call(s,r)&&s[r]&&h.push(s[r][0]),s[r]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(t[n]=l[n]);u&&u(e);while(h.length)h.shift()();return i.push.apply(i,c||[]),a()}function a(){for(var t,e=0;e<i.length;e++){for(var a=i[e],n=!0,o=1;o<a.length;o++){var l=a[o];0!==s[l]&&(n=!1)}n&&(i.splice(e--,1),t=r(r.s=a[0]))}return t}var n={},s={app:0},i=[];function r(e){if(n[e])return n[e].exports;var a=n[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=t,r.c=n,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(a,n,function(e){return t[e]}.bind(null,n));return a},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/";var o=window["webpackJsonp"]=window["webpackJsonp"]||[],l=o.push.bind(o);o.push=e,o=o.slice();for(var c=0;c<o.length;c++)e(o[c]);var u=l;i.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("cd49")},1013:function(t,e,a){"use strict";a("957b")},4073:function(t,e,a){"use strict";a("a241")},"677b":function(t,e,a){"use strict";a("bff3")},"717a":function(t,e,a){"use strict";a("a702")},"957b":function(t,e,a){},a241:function(t,e,a){},a702:function(t,e,a){},bff3:function(t,e,a){},c3d0:function(t,e,a){},cd49:function(t,e,a){"use strict";a.r(e),a.d(e,"WordPressApi",(function(){return Ka})),a.d(e,"orderPageUrl",(function(){return Wa}));a("e260"),a("e6cf"),a("cca6"),a("a79d");var n,s,i,r,o,l=a("2b0e"),c=a("bc3a"),u=a.n(c),d=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("ZoetermeerAgenda")],1)},h=[],p=a("d4ec"),v=a("bee2"),m=a("262e"),f=a("2caf"),_=a("9ab4"),b=a("1b40"),g=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("header",{staticClass:"agenda-header u-spacing"},[a("div",{staticClass:"agenda-header__container container-l"},[a("h1",{staticClass:"agenda-header__title f-title-xl"},[t._v("Programma")]),a("ul",{staticClass:"grid-layouts"},[a("li",{staticClass:"grid-layouts__item"},[a("button",{staticClass:"grid-layouts__button",class:{active:!t.isGrid},on:{click:function(e){t.isGrid=!1}}},[a("ListIcon",{attrs:{theather:t.theather}})],1)]),a("li",{staticClass:"grid-layouts__item"},[a("button",{staticClass:"grid-layouts__button",class:{active:t.isGrid},on:{click:function(e){t.isGrid=!0}}},[a("GridIcon",{attrs:{theather:t.theather}})],1)])])])]),a("div",{staticClass:"agenda-filters u-spacing"},[a("div",{staticClass:"agenda-filters__container container-l"},[a("ul",{staticClass:"filters"},[a("li",{staticClass:"filters__item filters__item--dropdown"},[a("dropdown",{attrs:{placeholder:"Waar heb je zin in?",items:t.genres},on:{handleDropdownState:t.handleDropdownState},model:{value:t.selectedGenres,callback:function(e){t.selectedGenres=e},expression:"selectedGenres"}})],1),a("li",{staticClass:"filters__item"},[a("datepicker",{attrs:{theather:t.theather},on:{change:t.reSortShows},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}})],1),a("li",{staticClass:"filters__item"},[a("search",{attrs:{"place-holder":"Zoek in programma"},model:{value:t.searchTerm,callback:function(e){t.searchTerm=e},expression:"searchTerm"}})],1)]),a("div",{staticClass:"agenda-filters__bottom"},[a("tag-row",{model:{value:t.selectedGenres,callback:function(e){t.selectedGenres=e},expression:"selectedGenres"}}),a("div",{staticClass:"slides"},[t.hasNewSeasonFilter?a("toggle",{attrs:{name:t.rawSeasonText},model:{value:t.onlyShowNewSeason,callback:function(e){t.onlyShowNewSeason=e},expression:"onlyShowNewSeason"}}):t._e(),t._l(t.rooms,(function(e,n){return[a("toggle",{attrs:{name:n},model:{value:t.rooms[n],callback:function(e){t.$set(t.rooms,n,e)},expression:"rooms[room]"}})]}))],2),"Z"===t.theather&&t.showResetFiltersButton?a("button",{staticClass:"filters-reset button button--xsmall button--primary-ghost",on:{click:t.resetFilters}},[t._v("Filters wissen")]):t._e(),t.loadingShowsIsComplete?a("div",{staticClass:"agenda-filters__results text text--xs"},[t._v(t._s(t.filteredShow.length)+" voorstellingen")]):t._e()],1)])]),t.filteredShow.length||t.isLoading?a("div",{staticClass:"show-list u-spacing",class:{"show-list--grid":t.isGrid,"u-margin":t.theather===t.ETheather.LEIDEN,"show-list--no-pointer":t.isFilterDropdownOpen},attrs:{"aria-busy":t.loadingShowsIsComplete?null:"true"}},[a("div",{staticClass:"show-list__container container-l"},[a("ul",{staticClass:"show-list__items"},[t._l(t.filteredShow,(function(e){return a("show",{key:e.post_id,attrs:{theather:t.theather,grid:t.isGrid,show:e}})}
1)),t.loadingShowsIsComplete?t._e():t._l(t.SKELETON_COUNT,(function(e){return a("show-skeleton",{key:"skeleton-"+e,attrs:{theather:t.theather,grid:t.isGrid}})}))],2)])]):t.shows.length?a("NoShowsFound",{attrs:{theater:t.theather,themes:t.themes,"video-mp4-url":t.video_url_mp4,"video-webm-url":t.video_url}}):t._e(),a("div",{attrs:{id:"scroll-to-top__button"},on:{click:t.scrollToTop}},[a("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M4 15.12L5.88 17L12 10.8933L18.12 17L20 15.12L12 7.12L4 15.12Z",fill:"white"}})])])],1)},C=[],w=a("5530"),O=a("1da1"),y=a("15fd"),j=a("2909"),S=a("3835"),k=a("ade3"),E=(a("96cf"),a("4fad"),a("d3b7"),a("99af"),a("d81d"),a("07ac"),a("e9c4"),a("ac1f"),a("1276"),a("25f0"),a("7db0"),a("b0c0"),a("9911"),a("5319"),a("b64b"),a("a9e3"),a("fb6a"),a("4de4"),a("4e82"),a("a630"),a("3ca3"),a("6062"),a("ddb0"),a("2fe1"));(function(t){t["SHOWS"]="show"})(n||(n={})),function(t){t["BIG_ROOM"]="Grote zaal",t["SMALL_ROOM"]="Kleine zaal"}(s||(s={})),function(t){t["STADSGEHOORZAAL"]="Stadsgehoorzaal",t["LEIDSE_SCHOUWBURG"]="Leidse Schouwburg"}(i||(i={})),function(t){t["PAUSE"]="Wel pauze",t["NOPAUSE"]="Geen pauze",t["UNKNOWN"]="Nog niet bekend"}(r||(r={})),function(t){t["NORMAL"]="",t["NO_SELLING_NOW"]="Nu geen verkoop",t["CANCELED"]="geannuleerd",t["EARLY_BOOKING"]="Vroegboeken",t["SOLD_OUT"]="Uitverkocht",t["LAST_TICKETS"]="Laatste kaarten",t["WAITING_LIST"]="Wachtlijst"}(o||(o={}));a("9129");function L(t,e){return x.apply(this,arguments)}function x(){return x=Object(O["a"])(regeneratorRuntime.mark((function t(e,a){var n,s,i,r,o,l,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=null!==(n=null===a||void 0===a?void 0:a.limit)&&void 0!==n?n:100,r=[],t.next=4,Ka.get("wp/v2/".concat(e,"?_embed"),{params:{per_page:i,order:"asc",offset:null===a||void 0===a?void 0:a.offset}});case 4:if(o=t.sent,r=Object(j["a"])(o.data),null===a||void 0===a||!a.limit){t.next=8;break}return t.abrupt("return",o.data);case 8:return null===a||void 0===a||null===(s=a.onBatch)||void 0===s||s.call(a,r),l=parseInt(o.headers["x-wp-totalpages"]),c=Number.isNaN(l)?0:Math.max(l-1,0),t.next=13,Promise.all(Object(j["a"])(Array(c).keys()).map(function(){var t=Object(O["a"])(regeneratorRuntime.mark((function t(n,s){var o,l,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Ka.get("wp/v2/".concat(e,"?_embed"),{params:{per_page:i,order:"asc",offset:i*(s+1)+(null!==(o=null===a||void 0===a?void 0:a.offset)&&void 0!==o?o:0)}});case 2:c=t.sent,r=[].concat(Object(j["a"])(r),Object(j["a"])(c.data)),null===a||void 0===a||null===(l=a.onBatch)||void 0===l||l.call(a,r);case 5:case"end":return t.stop()}}),t)})));return function(e,a){return t.apply(this,arguments)}}()));case 13:return t.abrupt("return",r);case 14:case"end":return t.stop()}}),t)}))),x.apply(this,arguments)}function T(t,e){return D.apply(this,arguments)}function D(){return D=Object(O["a"])(regeneratorRuntime.mark((function t(e,a){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Ka.get("wp/v2/pages?slug=".concat(e));case 2:return n=t.sent,t.abrupt("return",n.data.find((function(t){return t.link===a})));case 4:case"end":return t.stop()}}),t)}))),D.apply(this,arguments)}var M=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("input",t._g({attrs:{type:"radio",id:t.name,name:t.name},domProps:{value:t.value}},t.$listeners)),a("label",{staticClass:"body-3--1l",attrs:{for:t.name}},[t._v(t._s(t.name))]),a("label",{staticClass:"body-3--1l--bold",attrs:{for:t.name}},[t._v(t._s(t.description))])])},N=[],I=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){return Object(p["a"])(this,a),e.apply(this,arguments)}return Object(v["a"])(a)}(l["default"]);Object(_["a"])([Object(b["b"])()],I.prototype,"value",void 0),Object(_["a"])([Object(b["b"])()],I.prototype,"name",void 0),Object(_["a"])([Object(b["b"])()],I.prototype,"description",void 0),I=Object(_["a"])([E["b"]],I);var H=I,V=H,R=(a("e577"),a("2877")),Z=Object(R["a"])(V,M,N,!1,null,"7a094900",null),A=Z.exports,U=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("button",{staticClass:"slide",class:{active:t.value,"slide--secondary":t.
1secondary},on:{click:function(e){return t.$emit("input",!t.value)}}},[t._m(0),a("div",{staticClass:"slide__text"},[t._v(t._s(t.name))])])},B=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"slide__inner"},[a("div",{staticClass:"slide__knob"})])}],P=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){return Object(p["a"])(this,a),e.apply(this,arguments)}return Object(v["a"])(a)}(l["default"]);Object(_["a"])([Object(b["b"])()],P.prototype,"value",void 0),Object(_["a"])([Object(b["b"])()],P.prototype,"name",void 0),Object(_["a"])([Object(b["b"])()],P.prototype,"secondary",void 0),P=Object(_["a"])([E["b"]],P);var F=P,G=F,$=Object(R["a"])(G,U,B,!1,null,"2cdb5190",null),z=$.exports,K=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:t.toggleClose,expression:"toggleClose"}],ref:"dropdown",staticClass:"filter filter--dropdown",class:{active:t.isOpen},attrs:{tabindex:"0"},on:{click:function(e){return e.target!==e.currentTarget?null:t.toggle.apply(null,arguments)},keypress:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.target!==e.currentTarget?null:t.toggle.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])||e.target!==e.currentTarget?null:t.toggle.apply(null,arguments)}],keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:t.toggleClose.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.toggleClose.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])||e.target!==e.currentTarget?null:t.moveFocus(1)}]}},[a("div",{staticClass:"filter--dropdown--inner",on:{click:t.toggle}},[a("div",{staticClass:"filter__title text text--m"},[t._v(t._s(t.placeholder))]),a("svg",{staticClass:"filter__icon",attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M20 8.88L18.12 7L12 13.1067L5.88 7L4 8.88L12 16.88L20 8.88Z",fill:"white"}})])]),a("div",{staticClass:"filter__dropdown"},[a("ul",{staticClass:"filter-list"},t._l(t.items,(function(e,n){return a("li",{staticClass:"filter-list__item",on:{click:function(a){return a.target!==a.currentTarget?null:t.toggleOption(t.returnKey?n:e)}}},[a("input",{ref:"dropdown-item-el-"+n,refInFor:!0,staticClass:"filter-list__checkbox",attrs:{tabindex:-1,id:n,type:"checkbox"},domProps:{checked:t.isSelected(t.returnKey?n:e)},on:{input:function(a){return t.toggleOption(t.returnKey?n:e)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:t.moveFocus(1)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:t.moveFocus(-1)}]}}),a("label",{staticClass:"filter-list__text",attrs:{for:n}},[t._v(t._s(e))])])})),0)])])},W=[],q=(a("c740"),a("c7db")),J=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){var t;return Object(p["a"])(this,a),t=e.apply(this,arguments),t.isOpen=!1,t.focusedDropdownElIndex=-1,t}return Object(v["a"])(a,[{key:"isSameItemFunc",value:function(t){return function(e){return e===t}}},{key:"isSelected",value:function(t){return this.value.findIndex(this.isSameItemFunc(t))>-1}},{key:"toggleOption",value:function(t){var e=this.value.findIndex(this.isSameItemFunc(t));-1==e?this.$emit("input",[].concat(Object(j["a"])(this.value),[t])):this.$emit("input",this.value.filter((function(t,a){return a!=e})))}},{key:"toggle",value:function(){this.isOpen=!this.isOpen,this.$emit("handleDropdownState",this.isOpen)}},{key:"toggleOpen",value:function(){this.isOpen=!0}},{key:"toggleClose",value:function(){this.isOpen=!1,this.focusedDropdownElIndex=-1,this.$emit("handleDropdownState",!1)}},{key:"moveFocus",value:function(t){var e=this.$refs["dropdown-item-el-"+(this.focusedDropdownElIndex+t)];e&&(e[0].focus(),this.focusedDropdownElIndex+=t)}}]),a}(l["default"]);Object(_["a"])([Object(b["b"])()],J.prototype,"placeholder",void 0),Object(_["a"])([Object(b["b"])()],J.prototype,"items",void 0),Object(_["a"])([Object(b["b"])()],J.prototype,"value",void 0),Object(_["a"])([Object(b["b"])()],J.prototype,"returnKey",void 0),J=Object(_["a"])([Object(E["b"])({directives:{onClickaway:q["directive"]}})],J);var Y=J,Q=Y,X=(a("1013"),Object(R["a"])(Q,K,W,!1,null,"83d0611a",null)),tt=X.exports,et=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"filter filter--search"},[a("input",t._g(t._b({staticClass:"filter__search text text--m",attrs:{type:"text",placeholder:t.placeHolder},domProps:{value:t.value}}
1,"input",t.$attrs,!1),Object.assign({},t.$listeners,{input:function(e){return t.$emit("input",e.target.value)}})))])},at=[],nt=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){return Object(p["a"])(this,a),e.apply(this,arguments)}return Object(v["a"])(a)}(l["default"]);Object(_["a"])([Object(b["b"])()],nt.prototype,"value",void 0),Object(_["a"])([Object(b["b"])()],nt.prototype,"placeHolder",void 0),nt=Object(_["a"])([E["b"]],nt);var st=nt,it=st,rt=Object(R["a"])(it,et,at,!1,null,"4d364cb8",null),ot=rt.exports,lt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{directives:[{name:"show",rawName:"v-show",value:t.value.length,expression:"value.length"}],staticClass:"agenda-filters__tags tags tags--filter"},t._l(t.value,(function(e,n){return a("Tag",{key:t.value,attrs:{text:e},on:{close:function(e){return t.closeItem(n)}}})})),1)},ct=[],ut=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"tags__item"},[a("div",{staticClass:"tags__text"},[t._v(t._s(t.text))]),a("button",{staticClass:"tags__close",on:{click:t.closeTag}},[a("svg",{staticClass:"tags__icon",attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M14.363 12.2484C14.2952 12.1749 14.2575 12.0787 14.2575 11.9787C14.2575 11.8788 14.2952 11.7825 14.363 11.7091L21.4592 4.61292C21.6034 4.47272 21.718 4.30503 21.7962 4.11976C21.8745 3.9345 21.9148 3.73542 21.9148 3.5343C21.9148 3.33318 21.8745 3.13411 21.7962 2.94884C21.718 2.76358 21.6034 2.59589 21.4592 2.45569C21.319 2.31149 21.1513 2.19687 20.966 2.1186C20.7807 2.04033 20.5817 2 20.3805 2C20.1794 2 19.9803 2.04033 19.7951 2.1186C19.6098 2.19687 19.4421 2.31149 19.3019 2.45569L12.2058 9.55183C12.1324 9.61966 12.0361 9.65732 11.9361 9.65732C11.8362 9.65732 11.7399 9.61966 11.6665 9.55183L4.57034 2.45569C4.28319 2.18307 3.90014 2.03465 3.50427 2.04262C3.1084 2.0506 2.73163 2.21431 2.45569 2.49827C2.31149 2.63846 2.19687 2.80615 2.1186 2.99142C2.04033 3.17668 2 3.37576 2 3.57688C2 3.778 2.04033 3.97708 2.1186 4.16234C2.19687 4.3476 2.31149 4.51529 2.45569 4.65549L9.55183 11.7516C9.61966 11.8251 9.65732 11.9213 9.65732 12.0213C9.65732 12.1212 9.61966 12.2175 9.55183 12.2909L2.45569 19.3871C2.31149 19.5273 2.19687 19.695 2.1186 19.8802C2.04033 20.0655 2 20.2646 2 20.4657C2 20.6668 2.04033 20.8659 2.1186 21.0512C2.19687 21.2364 2.31149 21.4041 2.45569 21.5443C2.59589 21.6885 2.76358 21.8031 2.94884 21.8814C3.13411 21.9597 3.33318 22 3.5343 22C3.73542 22 3.9345 21.9597 4.11976 21.8814C4.30503 21.8031 4.47272 21.6885 4.61292 21.5443L11.7091 14.4482C11.7825 14.3803 11.8788 14.3427 11.9787 14.3427C12.0787 14.3427 12.1749 14.3803 12.2484 14.4482L19.3445 21.5443C19.6306 21.8304 20.0186 21.9911 20.4231 21.9911C20.8277 21.9911 21.2157 21.8304 21.5017 21.5443C21.7878 21.2582 21.9485 20.8703 21.9485 20.4657C21.9485 20.0611 21.7878 19.6732 21.5017 19.3871L14.363 12.2484Z",fill:"white"}})])])])},dt=[],ht=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){return Object(p["a"])(this,a),e.apply(this,arguments)}return Object(v["a"])(a,[{key:"closeTag",value:function(){this.$emit("close")}}]),a}(l["default"]);Object(_["a"])([Object(b["b"])()],ht.prototype,"text",void 0),ht=Object(_["a"])([E["b"]],ht);var pt=ht,vt=pt,mt=Object(R["a"])(vt,ut,dt,!1,null,"63b307bd",null),ft=mt.exports,_t=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){return Object(p["a"])(this,a),e.apply(this,arguments)}return Object(v["a"])(a,[{key:"closeItem",value:function(t){this.$emit("input",this.value.filter((function(e,a){return a!=t})))}}]),a}(l["default"]);Object(_["a"])([Object(b["b"])()],_t.prototype,"value",void 0),_t=Object(_["a"])([Object(E["b"])({components:{Tag:ft}})],_t);var bt=_t,gt=bt,Ct=Object(R["a"])(gt,lt,ct,!1,null,"5e422290",null),wt=Ct.exports,Ot=a("4478");function yt(t){var e,a,n,s,i,r,o=t.acf_transformed;return Object(w["a"])(Object(w["a"])({},o),{},{post_id:t.id.toString(),publishedDate:new Date(t.date),genre:jt(o.genre),artist:jt(o.artist),link:t.link,image:(null===(e=t._embedded)||void 0===e||null===(a=e["wp:featuredmedia"])||void 0===a||null===(n=a[0])||void 0===n?void 0:n.source_url)||o.show_hero.image||o.image,mobile_image:o.show_hero.image||o.image||(null===(s=t._embedded)||void 0===s||null===(i=s["wp:featuredmedia"])||void 0===i||null===(r=i[0])||void 0===r?void 0:r.source_url),description:jt(t.excerpt.rendered),events:t.acf_transformed.events.map((function(t){return Object(w["a"])(Object(w["a"])({},t),{},{start_date_time:Et(t.start_date,t.start_time),purchase_url:t.purchase_url})})),purchase_url:t.acf_transformed.events[0].purchase_url,normalizedForFiltering:{title:St(o.title),artist:St(jt(o.artist))}})}function jt(t){var e=(new DOMParser).parseFromString(t,"text/html").documentElement.textContent;return e||t}function St(t){return t.toLocaleLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function kt(t){return t.map((function(t){return Object(w["a"])(Object(w["a"])({},t),{},{events:t.events.sort((function(t,e){return t.start_date_time.getTime()-e.start_date_time.getTime()}))})})).sort((function(t,e){return t.events[0].start_date_time.getTime()-e.events[0].start_date_time.getTime()}))}function Et(t,e){var a=e?[parseInt(e.slice(0,2)),parseInt(e.slice(3,5))]:[];return Object(Ot["a"])(Date,[parseInt(t.slice(0,4)),parseInt(t.slice(4,6)
1)-1,parseInt(t.slice(6,8))].concat(a))}function Lt(t){return Object(w["a"])(Object(w["a"])({},t),{},{genre_filter:{active:t.genre_filter.active,genres:Array.isArray(t.genre_filter.genres)?t.genre_filter.genres.map((function(t){return t.genre})):[]}})}function xt(t){return t.slice(0,4)+"-"+t.slice(4,6)+"-"+t.slice(6,8)}a("caad"),a("2532");function Tt(t,e){var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=a?Object(j["a"])(t.map((function(t){return Object(w["a"])({},t)}))):t;return n.filter((function(t){return e.every((function(e){return e(t)}))}))}var Dt,Mt=function(t){return function(e){return e.events=e.events.filter((function(e){return t.every((function(t){return t(e)}))})),!!e.events.length}},Nt=function(t){return function(e){return t.some((function(t){return e.room.toLowerCase().includes(t.toLowerCase())}))}},It=function(t){return function(e){return 0==t.length||[e.genre.toLowerCase()].some((function(e){return null===t||void 0===t?void 0:t.includes(e)}))}},Ht=function(t){return function(e){if(void 0==t||!t.length)return!0;var a=[e.normalizedForFiltering.title,e.normalizedForFiltering.artist];return a.some((function(e){return e.includes(t)}))}},Vt=function(t,e){return function(a){return!!(e&&a.publishedDate>=e)||void 0!=t&&!isNaN(t.getTime())&&(a.events=a.events.filter((function(e){return e.start_date_time>=t})),!!a.events.length)}},Rt=function(t){return function(e){if(!t.length)return!0;if(Array.isArray(t)){if(1==t.length)return e.start_date_time.toISOString().split("T")[0]==t[0];var a=Object(j["a"])(t).sort(),n=new Date(a[0]),s=new Date(a[1]),i=new Date(xt(e.start_date));return i>=n&&i<=s}return e.start_date_time.toISOString().split("T")[0]>=t}},Zt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("DisplayShow",t._b({attrs:{grid:t.grid,theather:t.theather}},"DisplayShow",t.showData,!1))},At=[],Ut=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"show-list__item show-item",class:{"show-item--wide":!t.grid}},[a("a",{staticClass:"show-item__link",attrs:{href:t.link}},[t._v(" "+t._s()+" "),t.theather===t.ETheater.ZOETERMEER?[a("div",{staticClass:"show-item__image-wrapper"},[t.isMovie?a("div",{staticClass:"show-item__movie"},[a("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M22 8.87498C22 8.76447 21.9561 8.65849 21.878 8.58035C21.7998 8.50221 21.6938 8.45831 21.5833 8.45831H2.41667C2.30616 8.45831 2.20018 8.50221 2.12204 8.58035C2.0439 8.65849 2 8.76447 2 8.87498V18.875C2 19.4275 2.21949 19.9574 2.61019 20.3481C3.0009 20.7388 3.5308 20.9583 4.08333 20.9583H19.9167C20.1903 20.9583 20.4612 20.9044 20.7139 20.7997C20.9667 20.695 21.1964 20.5416 21.3898 20.3481C21.5833 20.1547 21.7367 19.925 21.8414 19.6722C21.9461 19.4195 22 19.1486 22 18.875V8.87498ZM15.5333 13.7666C15.7206 13.8428 15.8808 13.9731 15.9937 14.1409C16.1065 14.3086 16.1668 14.5062 16.1668 14.7083C16.1668 14.9105 16.1065 15.108 15.9937 15.2758C15.8808 15.4435 15.7206 15.5738 15.5333 15.65L10.0083 17.9666C9.86593 18.029 9.7105 18.0558 9.55545 18.0447C9.4004 18.0335 9.25037 17.9849 9.11832 17.9029C8.98627 17.8208 8.87615 17.7079 8.79747 17.5739C8.71878 17.4398 8.67389 17.2886 8.66667 17.1333V12.3166C8.67389 12.1614 8.71878 12.0102 8.79747 11.8761C8.87615 11.742 8.98627 11.6291 9.11832 11.5471C9.25037 11.4651 9.4004 11.4164 9.55545 11.4053C9.7105 11.3942 9.86593 11.421 10.0083 11.4833L15.5333 13.7666Z",fill:"white"}}),a("path",{attrs:{d:"M18.3002 3.39996C18.3305 3.37023 18.3513 3.33228 18.3602 3.2908C18.3691 3.24932 18.3656 3.20615 18.3502 3.16663C18.3339 3.12936 18.3071 3.09767 18.2731 3.07546C18.239 3.05325 18.1992 3.04149 18.1585 3.04163H15.0002C14.9813 3.03528 14.9608 3.03528 14.9419 3.04163L11.1669 6.84996C11.1366 6.87969 11.1157 6.91765 11.1069 6.95913C11.098 7.0006 11.1015 7.04378 11.1169 7.0833C11.1331 7.12056 11.16 7.15225 11.194 7.17447C11.2281 7.19668 11.2679 7.20844 11.3085 7.2083H14.5002C14.5191 7.21465 14.5396 7.21465 14.5585 7.2083L18.3002 3.39996Z",fill:"white"}}),a("path",{attrs:{d:"M20.3998 3.09998L16.6165 6.84998C16.5879 6.88077 16.5682 6.9187 16.5594 6.95977C16.5506 7.00084 16.553 7.04352 16.5665 7.08331C16.5827 7.12058 16.6095 7.15227 16.6436 7.17448C16.6777 7.19669 16.7175 7.20845 16.7581 7.20831H21.5831C21.6936 7.20831 21.7996 7.16441 21.8778 7.08627C21.9559 7.00813 21.9998 6.90215 21.9998 6.79164V5.12498C21.9995 4.65674 21.8414 4.20228 21.5511 3.83489C21.2608 3.4675 20.8553 3.20861 20.3998 3.09998Z",fill:"white"}}),a("path",{attrs:{d:"M12.8333 3.39996C12.8635 3.37023 12.8844 3.33228 12.8933 3.2908C12.9022 3.24932 12.8987 3.20615 12.8833 3.16663C12.867 3.12936 12.8402 3.09767 12.8061 3.07546C12.7721 3.05325 12.7322 3.04149 12.6916 3.04163H9.58325C9.56433 3.03528 9.54384 3.03528 9.52492 3.04163L5.74158 6.84996C5.71132 6.87969 5.69046 6.91765 5.68157 6.95913C5.67268 7.0006 5.
167616 7.04378 5.69158 7.0833C5.70785 7.12056 5.73466 7.15225 5.76872 7.17447C5.80278 7.19668 5.84259 7.20844 5.88325 7.2083H8.99992C9.01884 7.21465 9.03933 7.21465 9.05825 7.2083L12.8333 3.39996Z",fill:"white"}}),a("path",{attrs:{d:"M7.425 3.39996C7.45526 3.37023 7.47613 3.33228 7.48502 3.2908C7.49391 3.24932 7.49042 3.20614 7.475 3.16663C7.45874 3.12936 7.43192 3.09767 7.39786 3.07546C7.36381 3.05325 7.32399 3.04149 7.28333 3.04163H4.08333C3.5308 3.04163 3.0009 3.26112 2.61019 3.65182C2.21949 4.04252 2 4.57243 2 5.12496L2 6.79163C2 6.90213 2.0439 7.00812 2.12204 7.08626C2.20018 7.1644 2.30616 7.20829 2.41667 7.20829H3.58333C3.60226 7.21465 3.62274 7.21465 3.64167 7.20829L7.425 3.39996Z",fill:"white"}})])]):t._e(),a("div",{staticClass:"show-item__image-inner colored-image"},[a("picture",[t.mobile_image?a("source",{attrs:{srcset:t.mobile_image,media:"(max-width: 767px)"}}):t._e(),a("source",{attrs:{srcset:t.image,type:"image/webp"}}),a("img",{staticClass:"show-item__image colored-image__src",attrs:{src:t.image,alt:"",loading:"lazy"}})]),a("div",{staticClass:"colored-image__overlay"})]),a("button",{staticClass:"show-item__button button button--small button--white-ghost"},[t._v("meer informatie")])]),a("div",{staticClass:"show-item__content"},[a("div",{staticClass:"show-item__center"},[a("ul",{staticClass:"tags"},[a("li",{staticClass:"tags__item show-item__tag-date"},[a("div",{staticClass:"tags__text"},[t._v(t._s(t.displayDate))])]),t.displayTime&&"00:00"!=t.displayTime?a("li",{staticClass:"tags__item show-item__tag-time"},[a("div",{staticClass:"tags__text"},[t._v(t._s(t.displayTime))])]):t._e(),t.genre?a("li",{staticClass:"tags__item show-item__tag-genre"},[a("div",{staticClass:"tags__text"},[t._v(t._s(t.genre))])]):t._e(),null==t.status||!t.status.length||t.status===t.EShowStatus.PUBLISHED||t.customShoppingCartUrl&&t.status===t.EShowStatus.NOT_BOOKABLE?t._e(
1):a("li",{staticClass:"tags__item show-item__tag-status"},[a("div",{staticClass:"tags__text"},[t._v(t._s(t.displayStatus))])]),t.hasDisplayRoom?a("li",{staticClass:"tags__item show-item__tag-room"},[a("div",{staticClass:"tags__text"},[t._v(t._s(t.room))])]):t._e()]),a("div",{staticClass:"show-item__genre f-label"},[t._v(t._s(t.genre))]),t.isMovie?[a("h2",{staticClass:"show-item__title f-title-s"},[t._v(t._s(t.subtitle))])]:[a("h2",{staticClass:"show-item__title f-title-s"},[t._v(t._s(t.artist))]),a("h3",{staticClass:"show-item__subtitle"},[t._v(t._s(t.subtitle))]),a("div",{staticClass:"show-item__text"},[t.hasDisplayRoom||t.displayTime&&"00:00"!=t.displayTime?a("div",{staticClass:"show-item__text-details"},[t.displayTime&&"00:00"!=t.displayTime?a("span",[t._v(t._s(t.displayTime)),t.hasDisplayRoom?[t._v(" ⢠")]:t._e()],2):t._e(),t._v(t._s(t.hasDisplayRoom?t.room:"")+" ")]):t._e(),a("p",{staticClass:"show-item__text-description"},[t._v(t._s(t.description))])])]],2)])]:t._e()],2),a("div",{staticClass:"show-item__tools"},[t.showShoppingCart&&!t.customShoppingCartUrl?a("a",{staticClass:"show-item__tool show-item__cart tool-button",class:{active:t.inCard,"show-item__cart--orange":t.status!==t.EShowStatus.PUBLISHED},attrs:{href:t.purchase_url}},[a("ShoppingCart",{attrs:{theater:t.theather}}),a("span",{staticClass:"show-item__cart-label"},[t._v(t._s(t.status===t.EShowStatus.PUBLISHED?"Tickets":t.displayStatus))])],1):t._e(),t.customShoppingCartUrl?a("a",{staticClass:"show-item__tool show-item__cart tool-button",class:{active:t.inCard,"show-item__cart--orange":t.status!==t.EShowStatus.PUBLISHED},attrs:{href:t.customShoppingCartUrl,target:"_blank"}},[a("ShoppingCart",{attrs:{theater:t.theather}}),a("span",{staticClass:"show-item__cart-label"},[t._v(t._s(t.status===t.EShowStatus.PUBLISHED?"Tickets":t.displayStatus))])],1):t._e(),t.status===t.EShowStatus.SOLDOUT?a("div",{staticClass:"show-item__tool show-item__cart show-item__cart--sold-out tool-button"},[a("ShoppingCart",{attrs:{theater:t.theather}}),a("span",{staticClass:"show-item__cart-label"},[t._v("Uitverkocht")])],1):t._e()])])},Bt=[];a("a15b");(function(t){t["ZOETERMEER"]="Z",t["LEIDEN"]="L"})(Dt||(Dt={}));var Pt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.theater===t.ETheather.ZOETERMEER?a("svg",{staticClass:"show-item__icon",attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{staticClass:"svg-fill",attrs:{opacity:"0",d:"M20.8 7.50002L3.97005 6.40002L5.29005 15.2H20.8V7.50002Z",fill:"white"}}),a("path",{staticClass:"svg-stroke",attrs:{d:"M1.00033 3.14574C1.00033 2.99528 1.02996 2.84629 1.08754 2.70728C1.14512 2.56828 1.22951 2.44197 1.33591 2.33558C1.4423 2.22919 1.5686 2.14479 1.70761 2.08722C1.84662 2.02964 1.9956 2 2.14607 2H4.26339C4.65347 1.99939 5.03024 2.14176 5.32245 2.40018C5.61465 2.65861 5.80201 3.01515 5.84909 3.40238L6.1149 5.43721C6.1195 5.49232 6.1447 5.54367 6.18547 5.58104C6.22623 5.61841 6.27958 5.63905 6.33488 5.63886H20.4779C20.875 5.64049 21.2661 5.737 21.6185 5.92035C21.9708 6.1037 22.2743 6.36858 22.5035 6.69294C22.7421 7.01122 22.9008 7.38216 22.9662 7.77455C23.0316 8.16693 23.0018 8.56928 22.8793 8.94775L20.9911 14.8964C20.8325 15.4092 20.5136 15.8577 20.0815 16.176C19.6493 16.4944 19.1265 16.6659 18.5897 16.6654H7.28813C6.79374 16.6686 6.3148 16.4933 5.9393 16.1717C5.5638 15.8501 5.31696 15.4038 5.24414 14.9147L4.59336 10.6526C4.54507 10.3577 4.61388 10.0557 4.7851 9.81084C4.95633 9.56599 5.21643 9.39771 5.50995 9.34188C5.81081 9.29952 6.11631 9.37646 6.36122 9.55629C6.60612 9.73611 6.77101 10.0046 6.82067 10.3043L7.41645 14.1815C7.42524 14.2357 7.45321 14.285 7.49527 14.3203C7.53733 14.3556 7.59068 14.3747 7.6456 14.374H18.5897C18.6389 14.3726 18.6865 14.3559 18.7259 14.3264C18.7653 14.2968 18.7945 14.2558 18.8097 14.209L20.6978 8.25114C20.7132 8.21975 20.7212 8.18527 20.7212 8.15032C20.7212 8.11537 20.7132 8.08088 20.6978 8.04949C20.6756 8.02201 20.6477 7.9996 20.6161 7.98379C20.5845 7.96798 20.5498 7.95913 20.5145 7.95783H5.93158C5.42525 7.95647 4.93712 7.76888 4.56018 7.43082C4.18324 7.09276 3.94384 6.62785 3.88758 6.12465L3.67677 4.52062C3.67216 4.46551 3.64696 4.41416 3.6062 4.37679C3.56543 4.33942 3.51209 4.31878 3.45679 4.31897H2.14607C1.99326 4.31902 1.842 4.2885 1.70117 4.22921C1.56034 4.16991 1.43279 4.08305 1.32603 3.97373C1.21927 3.86441 1.13546 3.73484 1.07952 3.59264C1.02359 3.45045 0.996661 3.2985 1.00033 3.14574V3.14574Z",fill:"white"}}
1),a("path",{staticClass:"svg-stroke",attrs:{d:"M16.8117 21.7067C15.6727 21.7067 14.7494 20.7833 14.7494 19.6444C14.7494 18.5054 15.6727 17.582 16.8117 17.582C17.9507 17.582 18.874 18.5054 18.874 19.6444C18.874 20.7833 17.9507 21.7067 16.8117 21.7067Z",fill:"white"}}),a("path",{staticClass:"svg-stroke",attrs:{d:"M7.8742 21.7067C6.73521 21.7067 5.81187 20.7833 5.81187 19.6444C5.81187 18.5054 6.73521 17.582 7.8742 17.582C9.01319 17.582 9.93652 18.5054 9.93652 19.6444C9.93652 20.7833 9.01319 21.7067 7.8742 21.7067Z",fill:"white"}})]):a("svg",{staticClass:"show-item__icon",attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{staticClass:"svg-stroke",attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.79497 2.69253C2.93772 2.69249 3.07586 2.74297 3.18495 2.83502C3.29392 2.92697 3.36691 3.05455 3.39093 3.19521M3.39093 3.19521L5.94127 18.1858C6.03213 18.7206 6.30932 19.2063 6.72379 19.5563M2.79478 1C3.3371 0.999923 3.86196 1.19173 4.27644 1.54147L2.79478 1ZM2.79478 1H1.8431C1.37572 1 0.996838 1.37888 0.996838 1.84626C0.996838 2.31364 1.37572 2.69253 1.8431 2.69253H2.79497M4.27644 1.54147C4.69102 1.89128 4.96834 2.3765 5.05945 2.91111L4.27644 1.54147ZM5.05945 2.91111L7.60988 17.9023L5.05945 2.91111ZM7.60988 17.9023C7.63379 18.0431 7.70678 18.1711 7.81583 18.2632L7.60988 17.9023ZM8.20627 20.0984H17.8012C18.2686 20.0984 18.6475 19.7195 18.6475 19.2522C18.6475 18.7848 18.2686 18.4059 17.8012 18.4059H8.20603C8.06343 18.4059 7.92503 18.3555 7.81583 18.2632M8.20627 20.0984C7.66364 20.0985 7.13834 19.9064 6.72379 19.5563L8.20627 20.0984Z",fill:"white"}}),a("path",{staticClass:"svg-stroke",attrs:{d:"M3.18495 2.83502C3.07586 2.74297 2.93772 2.69249 2.79497 2.69253L2.79478 1L4.27644 1.54147L5.05945 2.91111L7.60988 17.9023C7.63379 18.0431 7.70678 18.1711 7.81583 18.2632L8.20627 20.0984L6.72379 19.5563L3.39093 3.19521C3.36691 3.05455 3.29392 2.92697 3.18495 2.83502Z",fill:"white"}}),a("path",{staticClass:"svg-stroke",attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.9873 22.2746C15.7203 22.2746 15.5038 22.0581 15.5038 21.7911C15.5038 21.524 15.7203 21.3075 15.9873 21.3075V20.5821C16.655 20.5821 17.1963 21.1234 17.1963 21.7911C17.1963 22.4587 16.655 23 15.9873 23V22.2746Z",fill:"white"}}),a("path",{staticClass:"svg-stroke",attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.9871 20.5821C15.3194 20.5821 14.7782 21.1234 14.7782 21.7911C14.7782 22.4587 15.3194 23 15.9871 23V22.2746C16.2542 22.2746 16.4707 22.0581 16.4707 21.7911C16.4707 21.524 16.2542 21.3075 15.9871 21.3075V20.5821Z",fill:"white"}}),a("path",{staticClass:"svg-stroke",attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.73441 22.2746C8.46733 22.2746 8.25083 22.0581 8.25083 21.7911C8.25083 21.524 8.46733 21.3075 8.73441 21.3075V20.5821C9.40209 20.5821 9.94336 21.1234 9.94336 21.7911C9.94336 22.4587 9.40209 23 8.73441 23V22.2746Z",fill:"white"}}),a("path",{staticClass:"svg-stroke",attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.73322 20.5821C8.06554 20.5821 7.52427 21.1234 7.52427 21.7911C7.52427 22.4587 8.06554 23 8.73322 23V22.2746C9.0003 22.2746 9.2168 22.0581 9.2168 21.7911C9.2168 21.524 9.0003 21.3075 8.73322 21.3075V20.5821Z",fill:"white"}}),a("path",{staticClass:"svg-stroke",attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.2735 7.03813H4.76001C4.29263 7.03813 3.91375 6.65924 3.91375 6.19187C3.91375 5.72449 4.29263 5.3456 4.76001 5.3456H21.4278C21.6665 5.34555 21.9023 5.39987 22.117 5.5045M21.2735 7.03813L19.9087 12.4974C19.7975 12.9419 19.5409 13.3367 19.1798 13.6186C18.8186 13.9005 18.3735 14.0538 17.9153 14.0539H6.24073C5.77335 14.0539 5.39447 14.4328 5.39447 14.9002C5.39447 15.3675 5.77335 15.7464 6.24073 15.7464H17.9153C18.7509 15.7463 19.5626 15.467 20.2213 14.9526C20.88 14.4384 21.3479 13.7187 21.5507 12.9081L22.953 7.29863C23.011 7.06685 23.0154 6.82483 22.9658 6.5912C22.9162 6.35747 22.814 6.13809 22.667 5.94983M22.117 5.5045C22.3318 5.60918 22.5199 5.76152 22.667 5.94983L22.117 5.5045Z",fill:"white"}}),a("path",{staticClass:"svg-stroke",attrs:{d:"M21.2735 7.03813L22.117 5.5045L22.667 5.94983L21.2735 7.03813Z",fill:"white"}}),a("path",{staticClass:"svg-fill",attrs:{d:"M5 6L22 6.5L20 15H6L5 6Z",fill:"white",opacity:"0"}})])},Ft=[],Gt=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){var t;return Object(p["a"])(this,a),t=e.apply(this,arguments),t.ETheather=Dt,t}return Object(v["a"])(a)}(l["default"]);Object(_["a"])([Object(b["b"])()],Gt.prototype,"theater",void 0),Gt=Object(_["a"])([E["b"]],Gt);var $t,zt,Kt,Wt=Gt,qt=Wt,Jt=(a("ec19"),Object(R["a"])(qt,Pt,Ft,!1,null,"5818a617",null)),Yt=Jt.exports;(function(t){t["BIG_ROOM"]="Grote zaal",t["SMALL_ROOM"]="Kleine zaal",t["RESTAURANT"]="Restaurant"})($t||($t={})),function(t){t["PAUSE"]="Wel pauze",t["NOPAUSE"]="Geen pauze",t["UNKNOWN"]="Nog niet bekend"}(zt||(zt={})),function(t){t["PUBLISHED"]="normaal",t["NOT_BOOKABLE"]="niet reserveerbaar",t["CA
1NCELED"]="geannuleerd",t["SOLDOUT"]="uitverkocht",t["WAITING_LINE"]="wachtrij",t["NO_SALE"]="geen verkoop",t["LAST_TICKETS"]="laatste kaarten"}(Kt||(Kt={}));var Qt=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){var t;return Object(p["a"])(this,a),t=e.apply(this,arguments),t.ETheater=Dt,t.EShowStatus=Kt,t.openOrderPopout=openOrderPopout,t.isMobileViewport=!1,t}return Object(v["a"])(a,[{key:"mounted",value:function(){this.updateViewportState(),window.addEventListener("resize",this.updateViewportState)}},{key:"beforeDestroy",value:function(){window.removeEventListener("resize",this.updateViewportState)}},{key:"addToShoppingCart",value:function(){this.$emit("addToCard",this.id)}},{key:"updateViewportState",value:function(){this.isMobileViewport=window.matchMedia("(max-width: 767px)").matches}},{key:"toDisplayDate",value:function(t){return t.toLocaleString("NL-nl",{weekday:"short",day:"numeric",month:"short"}).replace(".","")}},{key:"weekDay",get:function(){return this.endDate!=this.startDate?"v.a.":this.startDate.toLocaleString("NL-nl",{weekday:"short"})}},{key:"day",get:function(){return this.startDate.toLocaleString("NL-nl",{day:"numeric"})}},{key:"month",get:function(){return this.startDate.toLocaleString("NL-nl",{month:"short"}).replace(".","")}},{key:"toShortMonth",value:function(t){return t.toLocaleString("NL-nl",{month:"short"}).replace(".","")}},{key:"getDateAtStartOfDay",value:function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate())}},{key:"toCompactDate",value:function(t){return"".concat(t.getDate()," ").concat(this.toShortMonth(t))}},{key:"getUniqueSortedDates",value:function(t){var e=this,a=new Set;return t.map((function(t){return e.getDateAtStartOfDay(t)})).filter((function(t){var e=t.getTime();return!a.has(e)&&(a.add(e),!0)})).sort((function(t,e){return t.getTime()-e.getTime()}))}},{key:"areDatesConsecutive",value:function(t){if(t.length<=1)return!0;for(var e=864e5,a=1;a<t.length;a++)if(t[a].getTime()-t[a-1].getTime()!==e)return!1;return!0}},{key:"formatNonConsecutiveDates",value:function(t){var e=this,a=t.every((function(e){return e.getMonth()===t[0].getMonth()&&e.getFullYear()===t[0].getFullYear()}));if(a){var n=t.map((function(t){return t.getDate().toString()})),s=this.toShortMonth(t[0]);return 2===n.length?"".concat(n[0]," & ").concat(n[1]," ").concat(s):"".concat(n.slice(0,-1).join(", ")," & ").concat(n[n.length-1]," ").concat(s)}var i=t.map((function(t){return e.toCompactDate(t)}));return 2===i.length?"".concat(i[0]," & ").concat(i[1]):"".concat(i.slice(0,-1).join(", ")," & ").concat(i[i.length-1])}},{key:"displayDate",get:function(){var t=this.toDisplayDate(this.startDate);if(null==this.endDate)return t;var e=this.toDisplayDate(this.endDate),a=this.getDateAtStartOfDay(this.startDate),n=this.getDateAtStartOfDay(this.endDate);if(a.getTime()===n.getTime())return t;if(this.eventDates.length>1){var s=this.getUniqueSortedDates(this.eventDates);if(s.length>1&&!this.areDatesConsecutive(s))return this.formatNonConsecutiveDates(s)}if(!this.isMobileViewport)return"".concat(t," - ").concat(e);var i=a.getMonth()===n.getMonth()&&a.getFullYear()===n.getFullYear(),r=a.getDate(),o=n.getDate(),l=this.toShortMonth(a),c=this.toCompactDate(a),u=this.toCompactDate(n);return 2===this.eventCount?i?"".concat(r," & ").concat(o," ").concat(l):"".concat(c," & ").concat(u):this.eventCount>=3?i?"".concat(r," t/m ").concat(o," ").concat(l):"".concat(c," t/m ").concat(u):"".concat(c," - ").concat(u)}},{key:"displayTime",get:function(){return(this.startDate==this.endDate||null==this.endDate)&&this.startDate.toLocaleTimeString("NL-nl",{hour:"numeric",minute:"numeric"})}},{key:"displayStatus",get:function(){return this.status===Kt.NOT_BOOKABLE?"niet boekbaar":this.status}},{key:"hasDisplayRoom",get:function(){return"Geen zaal"!==this.room}}]),a}(l["default"]);Object(_["a"])([Object(b["b"])()],Qt.prototype,"theather",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"id",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"image",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"mobile_image",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"link",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"status",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"genre",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"startDate",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"endDate",void 0),Object(_["a"])([Object(b["b"])({default:1})],Qt.prototype,"eventCount",void 0),Object(_["a"])([Object(b["b"])({default:function(){return[]}})],Qt.prototype,"eventDates",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"room",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"artist",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"subtitle",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"description",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"isMovie",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"inCard",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"showShoppingCart",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"shoppingCartUrl",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"customShoppingCartUrl",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"grid",void 0),Object(_["a"])([Object(b["b"])()],Qt.prototype,"purchase_url",void 0),Qt=Object(_["a"])([Object(E["b"])({components:{ShoppingCart:Yt}})],Qt);var Xt=Qt,te=Xt,ee=Object(R["a"])(te,Ut,Bt,!1,null,"0bd34802",null),ae=ee.exports,ne=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){return Object(p["a"])(this,a),e.apply(this,arguments)}return Object(v["a"])(a,[{key:"showData",get:function(){var t,e=this.show.events[0],a=[Kt.CANCELED,Kt.NOT_BOOKABLE,Kt.SOLDOUT,Kt.WAITING_LINE,Kt.LAST_TICKETS,Kt.PUBLISHED],n=Object(w["a"])(Object(w["a"])({},this.show),{},{eventCount:this.show.events.length,startDate:e.start_date_time,endDate:this.show.events[this.show.events.length-1].start_date_time,eventDates:this.show.events.map((function(t){return t.start_date_time})),subtitle:this.show.title,showShoppingCart:1===this.show.events.length&&!e.custom_status&&[o.NORMAL,o.EARLY_BOOKING,Kt.PUBLISHED,Kt.
1LAST_TICKETS].includes(e.status),shoppingCartUrl:"".concat(Wa,"#/stoelen-kiezen/").concat(this.show.post_id,"/").concat(null===(t=this.show.events[0])||void 0===t?void 0:t.event_id),purchase_url:this.show.events[0].purchase_url,status:1===this.show.events.length?e.custom_status||e.status:this.show.events.sort((function(t,e){return a.indexOf(e.status)-a.indexOf(t.status)}))[0].status});return(e.status===Kt.NOT_BOOKABLE||e.custom_status)&&e.custom_order_link&&(n.customShoppingCartUrl=e.custom_order_link),"Filmhuisfilm"===this.show.genre&&this.theather===Dt.ZOETERMEER&&(n=Object(w["a"])(Object(w["a"])({},n),{},{isMovie:!0})),n}}]),a}(l["default"]);Object(_["a"])([Object(b["b"])()],ne.prototype,"grid",void 0),Object(_["a"])([Object(b["b"])()],ne.prototype,"show",void 0),Object(_["a"])([Object(b["b"])()],ne.prototype,"theather",void 0),ne=Object(_["a"])([Object(E["b"])({components:{DisplayShow:ae}})],ne);var se=ne,ie=se,re=Object(R["a"])(ie,Zt,At,!1,null,"9f55dbbc",null),oe=re.exports,le=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("li",{staticClass:"show-list__item show-item show-item--skeleton",class:{"show-item--wide":!t.grid},attrs:{"aria-hidden":"true"}},[t._m(0),t._m(1)])},ce=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"show-item__link"},[a("div",{staticClass:"show-item__image-wrapper"},[a("div",{staticClass:"show-item__image-inner colored-image"},[a("picture",[a("img",{staticClass:"show-item__image skeleton-image",attrs:{src:"data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='1920'%20height='1080'/%3E",alt:"","aria-hidden":"true"}})]),a("div",{staticClass:"colored-image__overlay"})])]),a("div",{staticClass:"show-item__content"},[a("div",{staticClass:"show-item__center"},[a("ul",{staticClass:"tags"},[a("li",{staticClass:"skeleton-tag skeleton-tag--md show-item__tag-date"},[t._v("Â ")]),a("li",{staticClass:"skeleton-tag skeleton-tag--lg show-item__tag-genre"},[t._v("Â ")]),a("li",{staticClass:"skeleton-tag skeleton-tag--sm show-item__tag-room"},[t._v("Â ")])]),a("div",{staticClass:"show-item__genre f-label"},[a("span",{staticClass:"skeleton-text skeleton-text--genre"},[t._v("Â ")])]),a("h2",{staticClass:"show-item__title f-title-s"},[a("span",{staticClass:"skeleton-text skeleton-text--title"},[t._v("Â ")])]),a("h3",{staticClass:"show-item__subtitle"},[a("span",{staticClass:"skeleton-text skeleton-text--subtitle"},[t._v("Â ")])]),a("div",{staticClass:"show-item__text"},[a("div",{staticClass:"show-item__text-details"},[a("span",{staticClass:"skeleton-text skeleton-text--details"},[t._v("Â ")])]),a("p",{staticClass:"show-item__text-description"},[a("span",{staticClass:"skeleton-text"},[t._v("Â ")]),a("span",{staticClass:"skeleton-text"},[t._v("Â ")]),a("span",{staticClass:"skeleton-text skeleton-text--short"},[t._v("Â ")])])])])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"show-item__tools"},[a("span",{staticClass:"show-item__tool show-item__cart tool-button skeleton-tool"})])}],ue=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){return Object(p["a"])(this,a),e.apply(this,arguments)}return Object(v["a"])(a)}(l["default"]);Object(_["a"])([Object(b["b"])({default:!1})],ue.prototype,"grid",void 0),Object(_["a"])([Object(b["b"])()],ue.prototype,"theather",void 0),ue=Object(_["a"])([E["b"]],ue);var de=ue,he=de,pe=(a("677b"),Object(R["a"])(he,le,ce,!1,null,"8d4d8ae0",null)),ve=pe.exports,me=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"agenda-empty-state"},[a("video",{ref:"video",staticClass:"agenda-empty-state__video",attrs:{autoplay:"",muted:"",loop:"",playsinline:""},domProps:{muted:!0}},[a("source",{attrs:{src:t.videoWebmUrl,type:"video/webm"}}),a("source",{attrs:{src:t.videoMp4Url,type:"video/mp4"}})]),a("div",{staticClass:"agenda-empty-state__text text text--xs"},[t._v("Helaas er zijn geen voorstellingen.")]),t.themes.length?a("div",{staticClass:"u-margin related-events"},[t._m(0),a("div",{staticClass:"flex-row flex-row--themes u-margin"},t._l(t.themes,(function(e){return a("theme",t._b({attrs:{theater:t.theater}},"theme",e,!1))})),1)]):t._e()])},fe=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"text text--centered"},[a("h2",[t._v("Laat je inspireren")])])}],_e=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"theme-item theme-item--rounded"},[a("a",{staticClass:"theme-item__link",attrs:{href:t.url}},[a("div",{staticClass:"theme-item__image-wrapper"},[a("picture",[a("source",{attrs:{srcset:t.webpImageUrl,type:"image/webp"}}),a("img",{staticClass:"theme-item__image",attrs:{src:t.normalImageUrl,alt:""}})]),a("div",{staticClass:"theme-item__overlay1"}),a("div",{staticClass:"theme-item__overlay2"})]),a("div",{staticClass:"theme-item__content"},[a("div",{staticClass:"theme-item__label f-label"},[t._v("Thema")]),a("h2",{staticClass:"theme-item__title f-title-s"},[t._v(t._s(t.theme))])])])])},be=[],ge=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){return Object(p["a"])(this,a),e.apply(this,arguments)}return Object(v["a"])(a)}(l["default"]);Object(_["a"])([Object(b["b"])()],ge.prototype,"url",void 0),Object(_["a"])([Object(b["b"])()],ge.prototype,"theme",void 0),Object(_["a"])([Object(b["b"])()],ge.prototype,"webpImageUrl",void 0),Object(_["a"])([Object(b["b"])()],ge.prototype,"normalImageUrl",void 0),ge=Object(_["a"])([E["b"]],ge);var Ce=ge,we=Ce,Oe=Object(R["a"])(we,_e,be,!1,null,"a90b7af2",null),ye=Oe.exports,je=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){var t;return Object(p["a"])(this,a),t=e.apply(this,arguments),t.ETheater=Dt,t}return Object(v["a"])(a,[{key:"reloadVideo",value:function(){var t=this;this.$refs.video.onload=function(){t.$refs.video.play()},this.$refs.video.load()}}]),a}(l["default"]);Object(_["a"])([Object(b["b"])()],je.prototype,"theater",void 0),Object(_["a"])([Object(b["b"])()],je.prototype,"videoWebmUrl",void 0),Object(_["a"])([Object(b["b"])()],je.prototype,"videoMp4Url",void 0),Object(_["a"])([Object(b["b"])()],je.prototype,"themes",void 0),Object(_["a"])([Object(b["d"])("videoWebmUrl"),Object(b["d"])("videoMp4Url")],je.prototype,"reloadVideo",null),je=Object(_["a"])([Object(E["b"])({components:{Theme:ye}})],je);var Se=je,ke=Se,Ee=(a("4073"),Object(R["a"])(ke,me,fe,!1,null,"2e651700",null)),Le=Ee.exports;function xe(t){var e=document.getElementById(t);return null==e?void 0:JSON.parse(e.innerHTML)}var Te=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:[{"datepicker--z":t.theather===t.ETheather.ZOETERMEER},"datepicker"],attrs:{"data-app":""}},[a("v-menu",{ref:"menu",attrs:{"close-on-content-click":!0,"offset-y":"","min-width":"auto"},scopedSlots:t._u([{key:"activator",fn:function(e){var n=e.on,s=e.attrs;return[a("div",t._g(t._b({staticClass:"filter filter--date"},"div",s,!1),n),[a("input",{directives:[{name:"model",rawName:"v-model",value:t.formattedValue,expression:"formattedValue"}],attrs:{label:"Picker in menu",readonly:""},domProps:{value:t.formattedValue},on:{input:function(e){e.target.composing||(t.formattedValue=e.target.value)}}}),t.value.length?a("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(e){return e.stopPropagation(),t.clearValue.apply(null,arguments)}}},[a("path",{attrs:{d:"M9.57551 8.16559C9.53029 8.11664 9.50518 8.05245 9.50518 7.98582C9.50518 7.91918 9.53029 7.85499 9.57551 7.80605L14.3063 3.07529C14.4024 2.98182 14.4788 2.87003 14.531 2.74652C14.5832 2.62301 14.6101 2.49029 14.6101 2.35621C14.6101 2.22213 14.5832 2.08941 14.531 1.9659C14.4788 1.84239 14.4024 1.7306 14.3063 1.63714C14.2128 1.541 14.101 1.46459
113.9775 1.41241C13.854 1.36023 13.7213 1.33334 13.5872 1.33334C13.4531 1.33334 13.3204 1.36023 13.1969 1.41241C13.0734 1.46459 12.9616 1.541 12.8681 1.63714L8.13735 6.3679C8.08841 6.41311 8.02422 6.43823 7.95759 6.43823C7.89095 6.43823 7.82676 6.41311 7.77782 6.3679L3.04706 1.63714C2.85562 1.45539 2.60025 1.35645 2.33634 1.36176C2.07243 1.36707 1.82125 1.47622 1.63729 1.66552C1.54116 1.75899 1.46474 1.87078 1.41256 1.99429C1.36038 2.1178 1.3335 2.25052 1.3335 2.3846C1.3335 2.51868 1.36038 2.65139 1.41256 2.7749C1.46474 2.89841 1.54116 3.01021 1.63729 3.10367L6.36805 7.83443C6.41327 7.88338 6.43838 7.94757 6.43838 8.0142C6.43838 8.08084 6.41327 8.14503 6.36805 8.19397L1.63729 12.9247C1.54116 13.0182 1.46474 13.13 1.41256 13.2535C1.36038 13.377 1.3335 13.5097 1.3335 13.6438C1.3335 13.7779 1.36038 13.9106 1.41256 14.0341C1.46474 14.1576 1.54116 14.2694 1.63729 14.3629C1.73075 14.459 1.84255 14.5354 1.96606 14.5876C2.08957 14.6398 2.22228 14.6667 2.35636 14.6667C2.49044 14.6667 2.62316 14.6398 2.74667 14.5876C2.87018 14.5354 2.98197 14.459 3.07544 14.3629L7.8062 9.63212C7.85515 9.58691 7.91934 9.5618 7.98597 9.5618C8.05261 9.5618 8.11679 9.58691 8.16574 9.63212L12.8965 14.3629C13.0872 14.5536 13.3459 14.6607 13.6156 14.6607C13.8853 14.6607 14.1439 14.5536 14.3347 14.3629C14.5254 14.1722 14.6325 13.9135 14.6325 13.6438C14.6325 13.3741 14.5254 13.1154 14.3347 12.9247L9.57551 8.16559Z",fill:"white"}})]):t._e()])]}}]),model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},[t.theather===t.ETheather.ZOETERMEER?a("svg",{staticClass:"datepicker__arrow",attrs:{width:"20",height:"11",viewBox:"0 0 20 11",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M8.46356 0.843729C9.26315 -0.115779 10.7369 -0.115777 11.5364 0.843731L20 11H0L8.46356 0.843729Z"}})]):t._e(),a("v-date-picker",t._g({attrs:{"first-day-of-week":1,"no-title":"",scrollable:"","show-adjacent-months":"","weekday-format":t.getWeekdayDate,range:t.range},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t.$listeners))],1)],1)},De=[],Me=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){var t;return Object(p["a"])(this,a),t=e.apply(this,arguments),t.menu=!1,t.modal=!1,t.menu2=!1,t.weekDays=["zo","ma","di","wo","do","vr","za"],t.ETheather=Dt,t}return Object(v["a"])(a,[{key:"getWeekdayDate",value:function(t){return this.weekDays[new Date(t).getDay()]}},{key:"clearValue",value:function(){this.$emit("input",this.range?[]:""),this.$emit("change",this.range?[]:"")}},{key:"formattedValue",get:function(){if(Array.isArray(this.value)&&this.value.length){var t=Object(j["a"])(this.value).sort((function(t,e){return new Date(t).getTime()-new Date(e).getTime()}));return new Date(t[0]).toLocaleDateString("nl-NL",{weekday:"short",day:"numeric",month:"long"})+(t[1]?" - "+new Date(t[1]).toLocaleDateString("nl-NL",{weekday:"short",day:"numeric",month:"long"}):"")}return this.value&&!Array.isArray(this.value)?new Date(this.value).toLocaleDateString("nl-NL",{weekday:"short",day:"numeric",month:"long"}):"Vanaf ".concat((new Date).toLocaleDateString("nl-NL",{weekday:"short",day:"numeric",month:"long"}))}}]),a}(l["default"]);Object(_["a"])([Object(b["b"])()],Me.prototype,"theather",void 0),Object(_["a"])([Object(b["b"])({default:""})],Me.prototype,"value",void 0),Object(_["a"])([Object(b["b"])()],Me.prototype,"range",void 0),Me=Object(_["a"])([E["b"]],Me);var Ne=Me,Ie=Ne,He=(a("d26d"),a("6544")),Ve=a.n(He),Re=a("2e4b"),Ze=a("e449"),Ae=Object(R["a"])(Ie,Te,De,!1,null,"0a3fd655",null),Ue=Ae.exports;Ve()(Ae,{VDatePicker:Re["a"],VMenu:Ze["a"]});var Be=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.theather===t.ETheather.ZOETERMEER?a("svg",{staticClass:"grid-layouts__icon",attrs:{width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.666 3.16626H2.66602V15.1663H14.666V3.16626ZM29.335 3.16626H17.335V15.1663H29.335V3.16626ZM17.335 17.833H29.335V29.833H17.335V17.833ZM14.666 17.833H2.66602V29.833H14.666V17.833Z",fill:"#857EAA"}})]):a("svg",{staticClass:"grid-layouts__icon",attrs:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.25073 4.52712C4.85114 4.52712 4.52721 4.85105 4.52721 5.25064V11.8656C4.52721 12.2652 4.85114 12.5891 5.25073 12.5891H11.8657C12.2653 12.5891 12.5892 12.2652 12.5892 11.8656V5.25064C12.5892 4.85105 12.2653 4.52712 11.8657 4.52712H5.25073ZM2.66675 5.25064C2.66675 3.82354 3.82364 2.66666 5.25073 2.66666H11.8657C13.2928 2.66666 14.4497 3.82354 14.4497 5.25064V11.8656C14.4497 13.2927 13.2928 14.4496 11.8657 14.4496H5.25073C3.82364 14.4496 2.66675 13.2927 2.66675 11.8656V5.25064Z",fill:"white"}}),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.25073 19.4108C4.85114 19.4108 4.52721 19.7348 4.52721 20.1344V26.7494C4.52721 27.1489 4.85114 27.4729 5.25073 27.4729H11.8657C12.2653 27.4729 12.5892 27.1489 12.5892 26.7494V20.1344C12.5892 19.7348 12.2653 19.4108 11.8657 19.4108H5.25073ZM2.66675 20.1344C2.66675 18.7073 3.82364 17.5504 5.25073 17.5504H11.8657C13.2928 17.5504 14.4497 18.7073 14.4497 20.1344V26.7494C14.4497 28.1764 13.2928 29.3333 11.8657 29.3333H5.25073C3.82364 29.3333 2.66675 28.1764 2.66675 26.7494V20.1344Z",fill:"white"}}),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.1345 4.52712C19.7349 4.52712 19.411 4.85105 19.411 5.25064V11.8656C19.411 12.2652 19.7349 12.5891 20.1345 12.5891H26.7495C27.1491 12.5891 27.473 12.2652 27.473 11.8656V5.25064C27.473 4.85105 27.1491 4.52712 26.7495 4.52712H20.1345ZM17.5505 5.25064C17.5505 3.82354 18.7074 2.66666 20.1345 2.66666H26.7495C28.1766 2.66666 29.3335 3.82354 29.3335 5.25064V11.8656C29.3335 13.2927 28.1766 14.4496 26.7495 14.4496H20.1345C18.7074 14.4496 17.5505 13.2927 17.5505 11.8656V5.25064Z",fill:"white"}}),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.1345 19.4108C19.7349 19.4108 19.411 19.7348 19.411 20.1344V26.7494C19.411 27.1489 19.7349 27.4729 20.1345 27.4729H26.7495C27.1491 27.4729 27.473 27.1489 27.473 26.7494V20.1344C27.473 19.7348 27.1491 19.4108 26.7495 19.4108H20.1345ZM17.5505 20.1344C17.5505 18.7073 18.7074 17.5504 20.1345 17.5504H26.7495C28.1766 17.5504 29.3335 18.7073 29.3335 20.1344V26.7494C29.3335 28.1764 28.1766 29.3333 26.7495 29.3333H20.1345C18.7074 29.3333 17.5505 28.1764 17.5505 26.7494V20.1344Z",fill:"white"}})])},Pe=[],Fe=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){var t;return Object(p["a"])(this,a),t=e.apply(this,arguments),t.ETheather=Dt,t}return Object(v["a"])(a)}(l["default"]);Object(_["a"])([Object(b["b"])()],Fe.prototype,"theather",void 0),Fe=Object(_["a"])([E["b"]],Fe);var Ge=Fe,$e=Ge,ze=Object(R["a"])($e,Be,Pe,!1,null,"22b0ad18",null),Ke=ze.exports,We=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.theather===t.ETheather.ZOETERMEER?a("svg",{staticClass:"grid-layouts__icon",attrs:{width:"36",height:"37",viewBox:"0 0 36 37",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.5 6.5H3V11H7.5V6.5ZM7.5 17H3V21.5H7.5V17ZM3 27.5H7.5V32H3V27.5ZM33 6.875H13.5V10.625H33V6.875ZM13.5 17.375H33V21.125H13.5V17.375ZM33 27.875H13.5V31.625H33V27.875Z",fill:"#857EAA"}})]):a("svg",{staticClass:"grid-layouts__icon",attrs:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.9358 6.07753C10.9358 5.56377 11.3523 5.14729 11.866 5.14729H28.4035C28.9172 5.14729 29.3337 5.56377 29.3337 6.07753C29.3337 6.59128 28.9172 7.00776 28.4035 7.00776H11.866C11.3523 7.00776 10.9358 6.59128 10.9358 6.07753Z",fill:"white"}}),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.9358 16C10.9358 15.4863 11.3523 15.0698 11.866 15.0698H28.4035C28.9172 15.0698 29.3337 15.4863 29.3337 16C29.3337 16.5138 28.9172 16.9302 28.4035 16.9302H11.866C11.3523 16.9302 10.9358 16.5138 10.9358 16Z",fill:"white"}}),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.9358 25.9225C10.9358 25.4087 11.3523 24.9922 11.866 24.9922H28.4035C28.9172 24.9922 29.3337 25.4087 29.3337 25.9225C29.3337 26.4362 28.9172 26.8527 28.4035 26.8527H11.866C11.3523 26.8527 10.9358 26.4362 10.9358 25.9225Z",fill:"white"}}),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.52721 4.52714V7.62791H7.62799V4.52714H4.52721ZM2.66675 4.42378C2.66675 3.45335 3.45343 2.66667 4.42385 2.66667H7.73135C8.70177 2.66667 9.48845 3.45335 9.48845 4.42378V7.73127C9.48845 8.70169 8.70177 9.48838 7.73135 9.48838H4.42385C3.45343 9.48838 2.66675 8.70169 2.66675 7.73127V4.42378Z",fill:"white"}}),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.52721 14.4496V17.5504H7.62799V14.4496H4.52721ZM2.66675 14.3463C2.66675 13.3758 3.45343 12.5892 4.42385 12.5892H7.73135C8.70177 12.5892 9.48845 13.3758 9.48845 14.3463V17.6538C9.48845 18.6242 8.70177 19.4109 7.73135 19.4109H4.42385C3.45343 19.4109 2.66675 18.6242 2.66675 17.6538V14.3463Z",fill:"white"}}),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.52721 24.3721V27.4729H7.62799V24.3721H4.52721ZM2.66675 24.2687C2.66675 23.2983 3.45343 22.5116 4.42385 22.5116H7.73135C8.70177 22.5116 9.48845 23.2983 9.48845 24.2687V27.5762
1C9.48845 28.5466 8.70177 29.3333 7.73135 29.3333H4.42385C3.45343 29.3333 2.66675 28.5466 2.66675 27.5762V24.2687Z",fill:"white"}})])},qe=[],Je=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){var t;return Object(p["a"])(this,a),t=e.apply(this,arguments),t.ETheather=Dt,t}return Object(v["a"])(a)}(l["default"]);Object(_["a"])([Object(b["b"])()],Je.prototype,"theather",void 0),Je=Object(_["a"])([E["b"]],Je);var Ye=Je,Qe=Ye,Xe=Object(R["a"])(Qe,We,qe,!1,null,"0b76d8b9",null),ta=Xe.exports;function ea(t,e){return e.map((function(e,a){return"".concat(t,"[").concat(a,"]=").concat(e)})).join("&")}function aa(t){return Ka.get("wp/v2/theme_category?".concat(ea("include",t)))}function na(t){return Ka.get("wp/v2/media?".concat(null!=t?ea("include",t):""),{params:{per_page:100}})}var sa=["active"],ia=["acf"],ra=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){var t,n,r;return Object(p["a"])(this,a),r=e.apply(this,arguments),r.searchTerm="",r.rooms=r.theather===Dt.ZOETERMEER?(t={},Object(k["a"])(t,s.BIG_ROOM,!0),Object(k["a"])(t,s.SMALL_ROOM,!0),t):(n={},Object(k["a"])(n,i.LEIDSE_SCHOUWBURG,!0),Object(k["a"])(n,i.STADSGEHOORZAAL,!0),n),r.shows=[],r.selectedGenres=[],r.isGrid=!1,r.isFilterDropdownOpen=!1,r.date=[],r.settings=null,r.themes=[],r.scrollToTopButton=null,r.originalShows=[],r.loadingShowsIsComplete=!1,r.newSeasonDate=void 0,r.weeksSincePublish=void 0,r.onlyShowNewSeason=!1,r.rawSeasonText="Nieuwe voorstellingen",r.ETheather=Dt,r.SKELETON_COUNT=6,r}return Object(v["a"])(a,[{key:"isLoading",get:function(){return!this.loadingShowsIsComplete&&0===this.filteredShow.length}},{key:"selectedRooms",get:function(){var t=Object.entries(this.rooms);return t.reduce((function(t,e){var a=Object(S["a"])(e,2),n=a[0],s=a[1];return s?[].concat(Object(j["a"])(t),[n]):t}),[])}},{key:"selectedLowerCaseGenres",get:function(){return this.selectedGenres.map((function(t){return t.toLowerCase()}))}},{key:"hasValidNewSeasonDate",get:function(){return void 0!=this.newSeasonDate&&!isNaN(this.newSeasonDate.getTime())}},{key:"recentlyPublishedCutoffDay",get:function(){if(!(void 0==this.weeksSincePublish||isNaN(this.weeksSincePublish)||this.weeksSincePublish<0)){var t=6048e5;return new Date(Date.now()-this.weeksSincePublish*t)}}},{key:"hasNewSeasonFilter",get:function(){return this.hasValidNewSeasonDate||void 0!=this.recentlyPublishedCutoffDay}},{key:"filteredShow",get:function(){return kt(Tt(this.shows,[It(this.selectedLowerCaseGenres),Ht(St(this.searchTerm))].concat(Object(j["a"])(Object.values(this.rooms).every((function(t){return t}))?[]:[Nt(this.selectedRooms)]),[Mt([Rt(this.date)])],Object(j["a"])(this.onlyShowNewSeason&&this.hasNewSeasonFilter?[Vt(this.newSeasonDate,this.recentlyPublishedCutoffDay)]:[]))))}},{key:"genres",get:function(){return this.getAllGenres()}},{key:"showResetFiltersButton",get:function(){return this.selectedGenres.length>0||this.date.length>0||""!==this.searchTerm||this.onlyShowNewSeason||!Object.values(this.rooms).every((function(t){return t}))}},{key:"saveSelectedGenres",value:function(){this.theather===Dt.ZOETERMEER&&sessionStorage.setItem("selectedGenres",JSON.stringify(this.selectedGenres))}},{key:"saveDate",value:function(){this.theather===Dt.ZOETERMEER&&sessionStorage.setItem("date",JSON.stringify(this.date))}},{key:"saveSearchTerm",value:function(){this.theather===Dt.ZOETERMEER&&sessionStorage.setItem("searchTerm",this.searchTerm)}},{key:"saveRooms",value:function(){this.theather===Dt.ZOETERMEER&&sessionStorage.setItem("rooms",JSON.stringify(this.rooms))}},{key:"saveOnlyShowNewSeason",value:function(){this.theather===Dt.ZOETERMEER&&sessionStorage.setItem("newSeason",JSON.stringify(this.onlyShowNewSeason))}},{key:"setFiltersToFilterPageValue",value:function(t){var e=t.date_filter,a=t.genre_filter,n=t.room_filter,s=t.search_filter;if(e.active){var i=e.start_date?xt(e.start_date):(new Date).toISOString().split("T")[0];if(e.end_date){var r=xt(e.end_date);this.date=[i,r]}else this.date=i}if(a.active&&a.genres&&(this.selectedGenres=a.genres),n.active){n.active;var o=Object(y["a"])(n,sa);this.rooms=o}s.active&&(this.searchTerm=s.search_term)}},{key:"setThemes",value:function(){var t=Object(O["a"])(regeneratorRuntime.mark((function t(e){var a,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,aa(e.inspiration_themes.map((function(t){return t.toString()})));case 2:return a=t.sent,t.next=5,na(a.data.map((function(t){return t.acf.theme.thumbnail.toString()})));case 5:n=t.sent,this.themes=a.data.map((function(t){t.acf,Object(y["a"])(t,ia);var e,a=null===(e=n.data.find((function(e){return e.id===t.acf.theme.thumbnail})))||void 0===e?void 0:e.source_url;return{theme:t.name,url:t.link,normalImageUrl:a||"",webpImageUrl:(null===a||void 0===a?void 0:a.replace(/\.(\w)+$/,".webp"))||""}}));case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},{key:"loadFilters",value:function(){if(this.theather===Dt.ZOETERMEER){this.selectedGenres=JSON.parse(sessionStorage.getItem("selectedGenres")||"[]"),this.date=JSON.parse(sessionStorage.getItem("date")||"[]"),this.searchTerm=sessionStorage.getItem("searchTerm")||"",this.onlyShowNewSeason=JSON.parse(sessionStorage.getItem("newSeason")||"false");var t=JSON.parse(sessionStorage.getItem("rooms")||"{}");Object.keys(t).length&&(this.rooms=t)}}},{key:"resetFilters",value:function(){var t,e;this.selectedGenres=[],this.date=[],this.searchTerm="",this.onlyShowNewSeason=!1,this.rooms=this.theather===Dt.ZOETERMEER?(t={},Object(k["a"])(t,s.BIG_ROOM,!0),Object(k["a"])(t,s.SMALL_ROOM,!0),t):(e={},Object(k["a"])(e,i.LEIDSE_SCHOUWBURG,!0),Object(k["a"])(e,i.STADSGEHOORZAAL,!0),e),this.theather===Dt.ZOETERMEER&&(sessionStorage.removeItem("selectedGenres"),sessionStorage.removeItem("date"),sessionStorage.removeItem("searchTerm"),sessionStorage.removeItem("newSeason"),sessionStorage.removeItem("rooms"))}},{key:"created",value:function(){var t=Object(O["a"])(regeneratorRuntime.mark((function t(){var e,a,s,i,r,o,l,c,u,d,h,p,v=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.loadFilters(),e=xe("vue-options-new-season-date"),a=xe("vue-options-new-season-weeks"),this.rawSeasonText=xe("vue-options-new-season-text")||this.rawSeasonText,e?(s=e.split("/"),i=Object(S["a"])(s,3),r=i[0],o=i[1],l=i[2],this.newSeasonDate=new Date(Number(l),Number(o)-1,Number(r))):this.newSeasonDate=void 0,this.weeksSincePublish=void 0==a||""===a||isNaN(Number(a))?void 0:Number(a),c=window.location.pathname.replace(/\/$/,"").split("/"),u=c[c.length-1],u&&T(u,null!=Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_API_URL?Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_API_URL+window.location.pathname.slice(1):window.location.href).then((function(t){t&&(v.setFiltersToFilterPageValue(Lt(t.acf)),v.setThemes(Lt(t.acf)))}
1)),d=25,t.next=12,L(n.SHOWS,{limit:d});case 12:return h=t.sent,this.setShows(h),this.settings=xe("vue-agenda-data"),this.scrollToTopButton=document.querySelector("#scroll-to-top__button"),window.addEventListener("scroll",this.changeScrollToTopButtonVisibility),t.next=19,L(n.SHOWS,{offset:d,onBatch:function(t){return v.setShows([].concat(Object(j["a"])(h),Object(j["a"])(t)))}});case 19:p=t.sent,this.setShows([].concat(Object(j["a"])(h),Object(j["a"])(p))),this.loadingShowsIsComplete=!0;case 22:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"beforeDestroy",value:function(){window.removeEventListener("scroll",this.changeScrollToTopButtonVisibility)}},{key:"changeScrollToTopButtonVisibility",value:function(){this.scrollToTopButton&&(window.scrollY>0?this.scrollToTopButton.style.bottom="24px":this.scrollToTopButton.style.bottom="-48px")}},{key:"scrollToTop",value:function(){window.scrollTo({top:0,behavior:"smooth"})}},{key:"setShows",value:function(t){var e=t.map((function(t){return yt(t)}));this.originalShows=e,this.reSortShows()}},{key:"reSortShows",value:function(){var t=this,e=this.originalShows.map((function(e){return Object(w["a"])(Object(w["a"])({},e),{},{events:e.events.filter((function(e){return xt(e.start_date)>=t.date}))})})).filter((function(t){return t.events.length}));this.shows=kt(e)}},{key:"video_url",get:function(){var t;return null===(t=this.settings)||void 0===t?void 0:t.video.url}},{key:"video_url_mp4",get:function(){var t;return null===(t=this.settings)||void 0===t?void 0:t.video_mp4.url}},{key:"getAllGenres",value:function(){return Array.from(new Set(this.shows.reduce((function(t,e){return[].concat(Object(j["a"])(t),[e.genre])}),[]))).filter((function(t){return""!=t})).map((function(t){return t[0].toUpperCase()+t.slice(1)})).sort()}},{key:"handleDropdownState",value:function(t){this.isFilterDropdownOpen=t}}]),a}(l["default"]);Object(_["a"])([Object(b["b"])({default:Dt.ZOETERMEER})],ra.prototype,"theather",void 0),Object(_["a"])([Object(b["d"])("selectedGenres")],ra.prototype,"saveSelectedGenres",null),Object(_["a"])([Object(b["d"])("date")],ra.prototype,"saveDate",null),Object(_["a"])([Object(b["d"])("searchTerm")],ra.prototype,"saveSearchTerm",null),Object(_["a"])([Object(b["d"])("rooms",{deep:!0})],ra.prototype,"saveRooms",null),Object(_["a"])([Object(b["d"])("onlyShowNewSeason")],ra.prototype,"saveOnlyShowNewSeason",null),ra=Object(_["a"])([Object(E["b"])({components:{ListIcon:ta,GridIcon:Ke,NoShowsFound:Le,Show:oe,ShowSkeleton:ve,TagRow:wt,Search:ot,Dropdown:tt,Toggle:z,RadioOption:A,Datepicker:Ue}})],ra);var oa=ra,la=oa,ca=(a("717a"),Object(R["a"])(la,g,C,!1,null,"67bf3339",null)),ua=ca.exports,da=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("agenda",{attrs:{theather:t.ETheater.ZOETERMEER}})},ha=[],pa=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){var t;return Object(p["a"])(this,a),t=e.apply(this,arguments),t.ETheater=Dt,t}return Object(v["a"])(a)}(l["default"]);pa=Object(_["a"])([Object(E["b"])({components:{Agenda:ua}})],pa);var va=pa,ma=va,fa=Object(R["a"])(ma,da,ha,!1,null,"fc69fa48",null),_a=fa.exports,ba=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){var t;return Object(p["a"])(this,a),t=e.apply(this,arguments),t.ETheater=Dt,t}return Object(v["a"])(a,[{key:"value",get:function(){return Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_API_URL}},{key:"getAllShows",value:function(){Ka.get("")}}]),a}(b["c"]);ba=Object(_["a"])([Object(b["a"])({components:{ZoetermeerAgenda:_a,Agenda:ua,FilterPage:ua}})],ba);var ga=ba,Ca=ga,wa=Object(R["a"])(Ca,d,h,!1,null,"501fc841",null),Oa=wa.exports,ya=a("f309"),ja=a("7597"),Sa=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.39967 3.33333L5.83301 4.89999L10.9219 9.99999L5.83301 15.1L7.39967 16.6667L14.0663 9.99999L7.39967 3.33333Z",fill:"#E3E5E8"}})])},ka=[],Ea=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){return Object(p["a"])(this,a),e.apply(this,arguments)}return Object(v["a"])(a)}(l["default"]);Ea=Object(_["a"])([E["b"]],Ea);var La=Ea,xa=La,Ta=Object(R["a"])(xa,Sa,ka,!1,null,"2fdd9d3f",null),Da=Ta.exports,Ma=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M12.6003 16.6667L14.1669 15.1L9.07804 9.99999L14.1669 4.89999L12.6003 3.33333L5.93359 9.99999L12.6003 16.6667Z",fill:"#E3E5E8"}})])},Na=[],Ia=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){return Object(p["a"])(this,a),e.apply(this,arguments)}return Object(v["a"])(a)}(l["default"]);Ia=Object(_["a"])([E["b"]],Ia);var Ha=Ia,Va=Ha,Ra=Object(R["a"])(Va,Ma,Na,!1,null,"b71214a8",null),Za=Ra.exports;l["default"].use(ya["a"]);var Aa=new ya["a"]({lang:{locales:{nl:ja["a"]},current:"nl"},icons:{values:{next:{component:Da},prev:{component:Za}}}}),Ua=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"organisation__container container-xl u-spacing u-margin"},[a("Dropdown",{staticClass:"organisation__dropdown filter filter--dropdown-organisation",attrs:{placeholder:"Kies een afdeling",items:t.departmentNames,returnKey:!0},model:{value:t.selectedItems,callback:function(e){t.selectedItems=e},expression:"selectedItems"}}),a("div",{staticClass:"organisation__teammembers u-margin"},t._l(t.visibleTeammembers,(function(e){return a("div",{key:e.id,staticClass:"organisation__teammember"},[a("img",{staticClass:"organisation__teammember__image",attrs:{src:e.post_thumbnail_url}}),a("div",{staticClass:"organisation__teammember__details"},[a("div",{staticClass:"organisation__teammember__details__header"},[a("h2",{staticClass:"organisation__teammember__details__job-title f-title-xxs"},[t._v(t._s(e.job_title))]),a("h2",{staticClass:"text"},[t._v(t._s(e.title))])]),a("div",{staticClass:"organisation__teammember__details__contact"},[e.contact.email?a("a",{staticClass:"organisation__teammember__contact-icon",attrs:{title:e.contact.email,href:"mailto:"+e.contact.email}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"#FFFFFF"}},[a("path",{attrs:{d:"M160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm320-280 320-200v-80L480-520 160-720v80l320 200Z"}})])]):t._e(),e.contact.phone?a("a",{staticClass:"organisation__teammember__contact-icon",attrs:{title:e.contact.phone,href:"tel:"+e.contact.phone}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",height:"20px",viewBox:"0 -960 960 960",width:"20px",fill:"#FFFFFF"}},[a("path",{attrs:{d:"M825.7-84.65q-139.29 0-272.93-58.12-133.64-58.12-242.64-166.88-109-108-167.12-242.38-58.12-134.38-58.12-273.43 0-23.11 13.27-36.5t36.38-13.39h194.03q19.5 0 33.86 11.53 14.37 11.54 18.57 29.56l29.28 160.43q2.72 17.83-1.12 31.58-3.83 13.75-12.94 22.14l-106 104.65q18.04 31.85 42.96 62.68 24.93 30.82 56.73 62.63 29.05 28.04 58.13 51.61 29.09 23.56 58.46 41.13l109.52-105.05q10.63-10.63 23.62-14.34 12.99-3.72 27.29-.77l165.81 35.85q18.78 5.44 30.69 18.45 11.92 13.01 11.92 31.03v197.7q0 23.11-13.39 36.5T825.7-84.65Z"}})])]):t._e()])])])})),0)],1)},Ba=[],Pa=function(t){Object(m["a"])(a,t);var e=Object(f["a"])(a);function a(){var t;return Object(p["a"])(this,a),t=e.apply(this,arguments),t.organisationData=[],t.selectedItems=[],t.departments=[],t}return Object(v["a"])(a,[{key:"visibleTeammembers",get:function(){var t=this,e=Object(j["a"])(this.organisationData);return this.selectedItems.length>0&&(e=e.filter((function(e){return t.selectedDepartmentIds.includes(e.department)}))),e.sort((function(e,a){var n,s,i=t.getDepartmentOrder(e.department),r=t.getDepartmentOrder(a.department);if(i!==r)return i-r;var o=null!==(n=e.sort_order)&&void 0!==n?n:10,l=null!==(s=a.sort_order)&&void 0!==s?s:10;return o!==l?o-l:(e.title||"").localeCompare(a.title||"")})),e}},{key:"getDepartmentOrder",value:function(t){var e=this.departments.findIndex((function(e){return e.id===t}));return-1===e?9999:e}},{key:"selectedDepartmentIds",get:function(){var t=this,e=this.selectedItems.map((function(e){return t.departments[parseInt(e)].id}));return e}},{key:"departmentNames",get:function(){return this.departments.map((function(t){return t.name}))}},{key:"created",value:function(){var t,e,a=null===(t=document.getElementById("vue-app__organisation"))||void 0===t?void 0:t.dataset.organisationData,n=null===(e=document.getElementById("vue-app__organisation"))||void 0===e?void 0:e.dataset.departmentsData;if(n&&(this.departments=JSON.parse(n).map((function(t){return{id:t.term_id,name:t.name}}))),a)try{this.organisationData=JSON.parse(a)}catch(s){console.error("Error parsing organisation data:",s)}}}]),a}(l["default"]);Pa=Object(_["a"])([Object(b["a"])({components:{Dropdown:tt}})],Pa);var Fa=Pa,Ga=Fa,$a=Object(R["a"])(Ga,Ua,Ba,!1,null,null,null),za=$a.exports,Ka=u.a.create({baseURL:"".concat(Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_API_URL||window.location.origin,"/wp-json/")}),Wa=xe("vue-order-page-url");null!=document.getElementById("app")&&new l["default"]({vuetify:Aa,render:function(t){return t(Oa)}}).$mount("#app"),null!=document.getElementById("agenda")&&new l["default"]({vuetify:Aa,render:function(t){return t(_a)}}).$mount("#agenda"),null!=document.getElementById("vue-app__organisation")&&new l["default"]({render:function(t){return t(za)}}).$mount("#vue-app__organisation")},d26d:function(t,e,a){"use strict";a("ef8f")},e55f:function(t,e,a){},e577:function(t,e,a){"use strict";a("e55f")},ec19:function(t,e,a){"use strict";a("c3d0")},ef8f:function(t,e,a){}}); 2//# sourceMappingURL=vueApp.min.js.map
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.