1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2871],{67633:function(e,t,n){t.cR=function(e,t){Object.keys(t).forEach((function(n){o(t[n])&&Object.keys(t[n]).forEach((function(r){"function"===typeof t[n][r]&&(t[n][r]=t[n][r].bind(e))})),e[n]=t[n]}))};var r=n(3736);function i(e){var t,n=(0,r.getWindow)();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function o(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function a(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}},47468:function(e,t,n){var r=n(67633);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o={setTranslate:function(){for(var e=this,t=e.slides,n=-1*e.translate,r=0,i=t.length;r<i;r+=1){var o=t.eq(r),a=e.snapGrid[0]-n+o[0].swiperSlideOffset,l=110*Math.abs(Math.sin(.005*a));o.transform("translateY("+l+"px)"),o[0].querySelector("img")&&(o[0].querySelector("img").style.transform="translateX(".concat(-.05*a,"px)"))}},setTransition:function(e){}},a={name:"effect-coverflow",params:{coverflowEffect:{rotate:0,stretch:1,depth:0,scale:1,modifier:1,slideShadows:!1}},create:function(){(0,r.cR)(this,{coverflowEffect:i({},o)})},on:{beforeInit:function(e){"coverflow"===e.params.effect&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(e){"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e,t){}}};t.Z=a},48559:function(e,t,n){n.d(t,{Z:function(){return f}});var r=n(56168),i=n(55819),o=n(75907),a=n(5580),l=n(4194),c=n(62044),s=function(e,t){var n=(0,r.useState)(e),i=n[0],o=n[1];return(0,r.useEffect)((function(){var n=setTimeout((function(){o(e)}),t);return function(){clearTimeout(n)}}),[e]),i},u=n(8014),f=(0,o.Z)((function(e){var t=e.currentRefinement,n=e.refine,o=e.title,f=e.propagateSubmit,d=e.onlyOnSubmit,p=(0,c.Z)("common").t,h=(0,r.useState)(t),m=h[0],b=h[1],g=s(m,800);return(0,r.useEffect)((function(){!d&&g!==t&&(g.length>2||0===g.length)&&n(g)}),[g]),(0,r.useEffect)((function(){b(t)}),[t]),(0,u.jsxs)(i.Z,{noValidate:!0,action:"",onSubmit:function(e){e.preventDefault(),n(m),f&&(f(m),b(""))},role:"search",children:[o&&(0,u.jsx)(l.Z,{children:o}),(0,u.jsxs)("div",{className:"searchInput",children:[(0,u.jsx)("button",{type:"submit",children:(0,u.jsx)(a.Z,{name:"search",className:"searchIcon",size:32})}),(0,u.jsx)(i.x,{htmlFor:"searchfield",children:p("agenda.search_label")}),(0,u.jsx)("input",{type:"search",placeholder:p("agenda.search_placeholder"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",value:m,id:"searchfield",onChange:function(e){b(e.currentTarget.value)}}),m.length>0&&(0,u.jsx)("button",{className:"removeButton",type:"button",title:p("agenda.search_clear"),onClick:function(){n(""),b("")},children:(0,u.jsx)(a.Z,{name:"close",size:32})})]})]})}))},14439:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(56168);var i=function(e,t,n){var i=(0,r.useRef)();(0,r.useEffect)((function(){var r=(null===n||void 0===n?void 0:n.current)||window;if(r&&r.addEventListener){i.current!==t&&(i.current=t);var o=function(e){null!==i&&void 0!==i&&i.current&&i.current(e)};return r.addEventListener(e,o),function(){r.removeEventListener(e,o)}}}),[e,n,t])};var o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mousedown";i(n,(function(n){var r=null===e||void 0===e?void 0:e.current;r&&!r.contains(n.target)&&t(n)}))}},5180:function(e,t,n){var r=n(18003),i=n(49858),o=n(64045),a=n(99156);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?l(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=function(e){return e?{title:e.title,date:e.date_range,link:e.link,quote:e.quote}:void 0},u=function(e){var t;return{image:(0,o.Z)(e.image),video:(0,a.ZP)(e.videoFile),label:null===(t=e.info)||void 0===t?void 0:t.label,info:s(e.info)}};t.Z=function(e){var t,n;if(e)switch(e.type){case"audio":return{type:i.dv.audio,card:{image:(0,o.Z)(null===(t=e.card)||void 0===t?void 0:t.image),audioFile:e.card.audio.src,label:e.card.info.label,info:s(e.card.info)}};case"video":return{type:i.dv.video,card:u(e.card)};case"online_concert":return null!==(n=e.card)&&void 0!==n&&n.videoFile?{type:i.dv.video,card:c(c({},u(e.card)),{},{label:e.card.label,info:{title:e.card.title,date:"",link:e.card.link}})}:{type:i.dv.link,card:{image:(0,o.Z)(e.card.image),title:e.card.title,button:{href:e.card.link,text:"Info & Tickets"},label:e.card.label}};case"image":return{type:i.dv.link,card:{image:(0,o.Z)(e.card.image),title:e.card.info.title,button:{href:e.card.info.link,text:"Info & Tickets"},label:e.card.info.label}};default:return{type:i.dv.link,card:c(c({},e.card),{},{image:(0,o.Z)(e.card.image),info:s(e.card.info),button:{href:e.card.info.link,text:e.card.info.title}})}}}},72871:function(e,t,n){n.r(t),n.d(t,{AgendaCollection:function(){return Gt},ScrollToDivWithOffset:function(){return Ht},__N_SSP:function(){return Lt},default:function(){return Qt},filterConfig:function(){return Jt}});var r=n(18003),i=n(43863),o=n(42959),a=n(58072),l=n(40887),c=n(56168),s=n(89552),u=n(65308),f=n(62044),d=n(72031),p=n(50838),h=n(75833),m=n(50188),b=n(89959),g=n(8014),v=function(e){(0,p.Z)(e);var t=(0,f.Z)("common").t;return(0,g.jsx)(b.f6,{theme:m.Z.beige,children:(0,g.jsx)(h.Z,{children:(0,g.jsx)(l.Z,{children:(0,g.jsx)(o.Z,{cols:{xs:1,xl:10/12},push:{xs:0,xl:1/12},top:a.Z.distances.large,children:(0,g.jsx)("h3",{children:t("agenda.no_results")})})})})})};function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var x,j,O,Z,w=(0,d.Z)((function(e){var t=e.hits,n=e.highlighted,i=e.collections,o=e.festivals,a=e.banners,l=e.isArchive,d=e.isFiltered,p=((0,f.Z)("common").t,(0,c.useMemo)((function(){return(0,u.to)(t,n,i,o,a,d,l)}),[t,n,i,a]));if(null!==p&&void 0!==p&&p.months){var h=[];Object.keys(null===p||void 0===p?void 0:p.months).forEach((function(e){null===p||void 0===p||p.months[e].items.forEach((function(e){e.data.href&&(h.map((function(t){e.data.href===t&&("description"in e.data&&(e.data.description=void 0),"video"in e.data&&(e.data.video=void 0))})),h.push(e.data.href))}))}))}return p?(0,g.jsx)(s.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},p)):(0,g.jsx)(v,{})})),P=n(49796),k=n(81322),S=n(4194),_=n(70335),D=n(26881),N=n(90054),E=n(63873),C=n(26149),R=n(40181),M=b.ZP.div.withConfig({displayName:"AgendaFiltersstyles__StyledAgendaFilters",componentId:"sc-1lyu0e0-0"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;margin-top:-60px;z-index:3;position:relative;"," "," ","{",";color:",";width:100%;}.dropdowns{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;margin-bottom:0px;"," ","{width:100%;margin-bottom:30px;&:nth-child(4){.optionsWrapper{right:0;}}}}.archive-btn{font-family:",";text-transform:none;font-size:",";font-style:normal;font-weight:700;line-height:",";top:12px;margin-left:20px;","}"],E.Z.md(x||(x=(0,k.Z)(["\n margin-top: -120px;\n "]))),E.Z.lg(j||(j=(0,k.Z)(["\n margin-top: -230px;\n "]))),S.Z,(0,_.TE)("margin-bottom",a.Z.distances.extraExtraSmall),N.ZP.colors.purpleAlt,E.Z.lg(O||(O=(0,k.Z)(["\n flex-direction: row;\n gap: 16px;\n margin-bottom: 0;\n "]))),C.Z,N.ZP.fonts.default,(0,R.Z)(18),(0,R.Z)(28),D.Z.lg(Z||(Z=(0,k.Z)(["\n margin-bottom: 20px;\n margin-left: 0;\n top: 0;\n "])))),T=n(5580),F=n(72917),z=n(14439),A=(0,F.Z)((function(e){var t=e.items,n=(e.currentRefinement,e.refine),r=e.translationKey,i=e.rightSided,o=e.isOpen,a=e.setOpen,l=e.otherOpen,s=(0,f.Z)("common"),u=s.t,d=(s.lang,(0,c.useRef)(null));(0,z.Z)(d,(function(){a(!1)}));var p=(0,c.useMemo)((function(){return t.sort((function(e,t){return e.label.localeCompare(t.label)}))}),[t]);return(0,g.jsx)(C.Z,{isOpen:o,rightSided:i,otherOpen:!o&&l||0===t.length,children:(0,g.jsxs)("div",{className:"innerWrapper",children:[(0,g.jsxs)("button",{disabled:0===t.length,className:"openButton",onClick:function(){a(!o)},children:[u("agenda.filters.".concat(r)),(0,g.jsx)(T.Z,{className:"chevron",name:"chevron",size:16})]}),(0,g.jsx)("div",{className:"optionsWrapper",ref:d,children:(0,g.jsx)("ul",{className:"options",children:p&&p.map((function(e,t){var r=e.label,i=e.value,o=e.isRefined,l=r.replace(/ /g,"");return(0,g.jsxs)("li",{id:r,className:o?"selected":"",children:[(0,g.jsx)("input",{type:"checkbox",id:l,name:r,value:r,onChange:function(){n(i),a(!1)},checked:o}),(0,g.jsxs)("label",{htmlFor:l,children:[(0,g.jsx)("span",{children:r}),o&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(T.Z,{name:"check",size:16,className:"check"}),(0,g.jsx)(T.Z,{name:"close",size:16,className:"close"})]})]})]},r)}))})},r)]})})})),I=n(48559),q=n(4759),K=n(96240),W=n.n(K),B=n(2644),Y=n(60113),L=n.n(Y),J=n(50862),H=n.n(J),G=n(82532);function Q(e){return Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Q(e)}function V(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,re(r.key),r)}}
1function U(e,t){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},U(e,t)}function X(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=te(e);if(t){var i=te(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ee(this,n)}}function ee(e,t){if(t&&("object"===Q(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function te(e){return te=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},te(e)}function ne(e,t,n){return(t=re(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(e){var t=function(e,t){if("object"!==Q(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Q(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Q(t)?t:String(t)}var ie=(0,n(79805).JV)("ClearRefinements"),oe=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&U(e,t)}(o,e);var t,n,r,i=X(o);function o(){return V(this,o),i.apply(this,arguments)}return t=o,(n=[{key:"render",value:function(){var e=this.props,t=e.items,n=e.canRefine,r=e.refine,i=e.translate,o=e.className;return c.createElement("div",{className:L()(ie(""),o)},c.createElement("button",{className:ie("button",!n&&"button--disabled"),onClick:function(){return r(t)},disabled:!n},i("reset")))}}])&&$(t.prototype,n),r&&$(t,r),Object.defineProperty(t,"prototype",{writable:!1}),o}(c.Component);ne(oe,"propTypes",{items:H().arrayOf(H().object).isRequired,canRefine:H().bool.isRequired,refine:H().func.isRequired,translate:H().func.isRequired,className:H().string}),ne(oe,"defaultProps",{className:""});var ae=(0,G.Z)({reset:"Clear all filters"})(oe),le=n(67514),ce=(0,B.Z)((function(e){return c.createElement(le.Z,e,c.createElement(ae,e))}),{$$widgetType:"ais.clearRefinements"}),se=n(94368),ue=n(88766),fe=b.ZP.div.withConfig({displayName:"AgendaWhenFilterstyles__StyledAgendaWhenFilter",componentId:"sc-1tvtp3s-0"})(["position:relative;width:100%;min-height:",";.innerWrapper{display:flex;justify-content:space-between;white-space:nowrap;gap:36px;width:100%;overflow-x:auto;position:absolute;padding-bottom:",";scrollbar-color:"," #d0beca59;}&:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:2px;background-color:",";opacity:0.25;z-index:1;}button{position:relative;font-family:",";font-size:",";font-style:normal;font-weight:400;line-height:",";text-transform:uppercase;color:",";cursor:pointer;&:hover{color:",";}&.selected{color:",";&:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:2px;background-color:",";opacity:1;z-index:1;}}}.clear-refinements-wrap.selected{button{&:after{content:'';position:absolute;bottom:0;left:0;width:100%;height:2px;background-color:",";opacity:1;z-index:1;}}}"],(0,R.Z)(34),(0,ue.Z)(N.ZP.distances.xxs,N.ZP.fontSizes.base),N.ZP.colors.purpleAlt,N.ZP.colors.purpleAlt,N.ZP.fonts.heading,(0,R.Z)(16),(0,R.Z)(34),N.ZP.colors.purpleAlt,N.ZP.colors.pink,N.ZP.colors.pink,N.ZP.colors.pink,N.ZP.colors.pink);function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?de(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var he=(0,F.Z)((function(e){var t=e.items,n=(e.currentRefinement,e.refine),r=e.translationKey,i=(0,f.Z)("common"),o=i.t,a=i.lang,l=(0,c.useMemo)((function(){return"when"===r?t.sort((function(e,t){return W()("".concat(e.label,"-01")).isAfter(W()("".concat(t.label,"-01")))?1:-1})).map((function(e){var t=(0,se.Z)("".concat(e.label,"-01"),a,"MMM");return pe(pe({},e),{},{label:t})})):t.sort((function(e,t){return e.label.localeCompare(t.label)}))}),[t]),s=l.filter((function(e){return e.isRefined})).length>0;return(0,g.jsx)(fe,{children:(0,g.jsxs)("div",{className:"innerWrapper",children:[(0,g.jsx)("div",{className:"clear-refinements-wrap ".concat(s?"":"selected"),children:(0,g.jsx)(ce,{transformItems:function(e){return e.filter((function(e){return"filter_when"===e.attribute}))},translations:{reset:o("agenda.filters.all")}})}),l&&l.map((function(e,t){var r=e.label,i=e.value,o=e.isRefined;return(0,g.jsx)("button",{className:o?"selected":"",onClick:function(){n(i)},children:r},r)}))]})})})),me=n(98983);function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ve=function(e){var t=e.filters,n=(e.tagFilters,e.searchBox),r=(0,f.Z)("common"),i=r.t,s=r.lang,u=(0,c.useState)(),d=u[0],p=u[1];return(0,g.jsx)(M,{id:"agenda-filters",children:(0,g.jsxs)(l.Z,{alignItems:"flex-start",children:[(0,g.jsx)(o.Z,{cols:{xs:1,xl:10/12},push:{xl:1/12},children:(0,g.jsxs)("div",{className:"dropdowns",children:[n&&(0,g.jsx)(I.Z,{onlyOnSubmit:!0}),null===t||void 0===t?void 0:t.map((function(e,t){return"filter_when"!==e.attribute&&(0,g.jsx)(A,ge({filtered:function(){p(void 0)},rightSided:t%2===1,setOpen:function(e){e?p(t):e||d!==t||p(void 0)},isOpen:d===t,otherOpen:void 0!==d},e),e.translationKey)}
1)),(0,g.jsx)(q.Z,{href:(0,me.b5)(s),text:i("agenda.archive_btn"),variant:"text",className:"archive-btn",arrowType:q.P.right})]})}),(0,g.jsx)(o.Z,{bottom:a.Z.distances.extraSmall,cols:{xs:1,xl:10/12},push:{xl:1/12},children:null===t||void 0===t?void 0:t.map((function(e){return"filter_when"===e.attribute&&(0,g.jsx)(he,ge({},e),e.translationKey)}))})]})})},ye=n(95657),xe=n(26842),je=n(89117),Oe=n(52505),Ze=n(72576),we=n(88532),Pe=n(62308),ke=n(49858),Se=n(47468),_e=n(21667),De=n(52671),Ne=n(97833),Ee=n(27657),Ce=n(6075);function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}xe.Z.use([je.Z,Oe.Z,Ze.Z,Se.Z]);var Te,Fe=function(e){var t=e.slides,n=e.breadcrumb,r=(0,c.useState)(0),i=r[0],a=(r[1],(0,c.useState)(!1)),s=a[0],u=a[1],d=(0,_e.sJ)(De.SY),p=(0,f.Z)("common"),h=p.t;p.lang;return(0,g.jsxs)(ye.Z,{isDragging:s,slidesOffset:i,children:[(0,g.jsx)(l.Z,{className:"breadcrumb-wrapper",children:(0,g.jsx)(o.Z,{cols:{xs:1},children:(0,g.jsx)(b.f6,{theme:m.Z.purple,children:n&&(0,g.jsx)(Ne.Z,Me({},n))})})}),(0,g.jsx)(Ee.Z,{id:"afterAgendaHeader",localeKey:"skiplinks.main_agenda"}),(0,g.jsx)(l.Z,{children:(0,g.jsx)(o.Z,{className:"intro",push:{xl:1/12},cols:{md:4/12,xl:.25},flexDirection:"column",children:(0,g.jsxs)("div",{className:"intro-inner",children:[(0,g.jsx)("h1",{children:h("agenda.title")}),(0,g.jsx)(q.Z,{href:"#agenda",className:"scroll-down-btn",text:h("agenda.scroll_btn"),variant:"ghostLightFull",arrowType:q.P.down})]})})}),(0,g.jsxs)(we.t,{speed:1250,slidesPerView:"auto",onSliderMove:function(){u(!0)},onTouchEnd:function(){u(!1)},simulateTouch:!1,effect:"coverflow",centeredSlides:!0,centeredSlidesBounds:d,centerInsufficientSlides:!1,slidesOffsetAfter:d?0:i,watchSlidesProgress:!0,a11y:{enabled:!0,prevSlideMessage:h("a11y.next_slide"),nextSlideMessage:h("a11y.prev_slide")},keyboard:{enabled:!0},navigation:{nextEl:".agenda-button-next",prevEl:".agenda-button-prev"},children:[null===t||void 0===t?void 0:t.map((function(e,t){return(0,g.jsx)(Pe.o,{children:(0,g.jsx)(ke.ZP,Me({},e))},"".concat(t))})),(0,g.jsx)("button",{onClick:function(){(0,Ce.p)({event:"button_click",type:"action",button_text:"agenda vorige",button_url:""})},className:"agenda-button-prev",children:(0,g.jsx)(T.Z,{name:"arrow"})}),(0,g.jsx)("button",{onClick:function(){(0,Ce.p)({event:"button_click",type:"action",button_text:"agenda volgende",button_url:""})},className:"agenda-button-next",children:(0,g.jsx)(T.Z,{name:"arrow"})})]}),(0,g.jsx)(l.Z,{children:(0,g.jsx)(o.Z,{id:"agenda",className:"scroll-down-btn-wrapper",top:{xs:0},bottom:{xs:24,md:0},push:{xl:1/12},cols:{xs:1,md:.5},flexDirection:"column",alignItems:{xs:"center",md:"flex-start"},children:(0,g.jsx)(q.Z,{href:"#agenda",className:"scroll-down-btn",text:h("agenda.scroll_btn"),variant:"ghostLightFull",arrowType:q.P.down})})})]})},ze=n(75332),Ae=n(31491),Ie=n(20946),qe=b.ZP.div.withConfig({displayName:"AlgoliaCurrentRefinementsstyles__StyledAlgoliaCurrentRefinements",componentId:"sc-4sbv9q-0"})([".filters{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;}button{min-height:","px;line-height:",";margin:0 6px 8px 0;","}","{",";color:",";width:100%;}.buttons{",";.filterButton{border-radius:999px;z-index:1;color:",";display:inline-flex;flex-direction:row;justify-content:flex-start;align-items:center;cursor:pointer;padding:0 14px 0 16px;background:",";transition:background "," color ",";","{margin-left:8px;border-radius:100%;transition:"," background;}&:last-of-type{margin-right:0;}&:hover{color:",";background-color:",";}}.resetButton{color:",";font-weight:600;text-decoration:underline;cursor:pointer;margin-left:12px;transition:color ",";&:hover{color:",";}}}"],30,(0,R.Z)(30),E.Z.lg(Te||(Te=(0,k.Z)(["\n margin: 0 ","px ","px 0;\n "])),N.ZP.distances.xxs,N.ZP.distances.xxs),S.Z,(0,_.TE)("margin-bottom",a.Z.distances.extraSmall),N.ZP.colors.purpleAlt,(0,_.JB)(a.Z.fontSizes.small),N.ZP.colors.purple,N.ZP.colors.white,N.ZP.transitions.quick,N.ZP.transitions.quick,Ie.Z,N.ZP.transitions.quick,N.ZP.colors.white,N.ZP.colors.purple,N.ZP.colors.pink,N.ZP.transitions.quick,N.ZP.colors.red);function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function We(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Ke(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Be=(0,B.Z)((function(e){var t=e.items,n=(e.query,e.refine),r=(0,f.Z)("common"),i=r.t,s=r.lang,u=(0,c.useMemo)((function(){var e=void 0;return[t.map((function(t){return"filter_when"===t.attribute?null:("query"===t.id&&(e=t),"filter_when"!==t.attribute?t:t.items?We(We({},t),{},{items:t.items.map((function(e){return We(We({},e),{},{label:(0,se.Z)("".concat(e.label,"-01"),s,"MMMM YYYY")})}))}):t)})).filter((function(e){return!!e})),e]}),[t]),d=u[0],p=u[1];return d&&d.length>0?(0,g.jsx)(qe,{as:l.Z,top:a.Z.distances.small,bottom:a.Z.distances.small,children:(0,g.jsxs)(o.Z,{cols:{xs:1,xl:10/12},push:{xl:1/12},children:[(0,g.jsx)(S.Z,{children:i("agenda.active_filters.label")}),(0,g.jsxs)("div",{className:"buttons",children:[d.map((function(e){var t;return null===e||void 0===e||null===(t=e.items)||void 0===t?void 0:t.map((function(e){var t=e.label,r=e.value;return(0,g.jsxs)("button",{type:"button",className:"filterButton",onClick:function(){n(r)},children:[t,(0,g.jsx)(T.Z,{name:"close",size:12})]},t)}))})),p&&(0,g.jsxs)("button",{type:"button",className:"filterButton",title:"".concat(i("agenda.active_filters.search_prefix")," ").concat(p.currentRefinement),onClick:function(){return n(p.value)},children:[i("agenda.active_filters.search_prefix"),' "',p.currentRefinement,'"',(0,g.jsx)(T.Z,{name:"close",size:12})]}),(0,g.jsx)("button",{type:"button",className:"resetButton",title:i("agenda.active_filters.wipe"),onClick:function(){n(t)},children:i("agenda.active_filters.wipe")})]})]})}):null})),Ye=n(25883),Le=n(14219),Je=n.n(Le),He=n(59409),Ge=n(14718),Qe
1=n(41758),Ve=n(64045),$e=n(72405),Ue=n.n($e),Xe=n(99156),et=n(91822);W().extend(Ue());var tt=function(e){var t,n=W().unix(e.date_start).tz("GMT").toJSON();return{productionId:e.id,href:e.href,title:e.title,meta:{category:(0,et.H8)(e.filter_type)},date:n,dates:{startDate:n,endDate:e.date_end?W().unix(e.date_end).toJSON():void 0},img:(0,Ve.Z)(e.image),audio:null===(t=e.audio)||void 0===t?void 0:t.src,video:e.video?(0,Xe.ZP)(e.video):void 0}},nt=n(79005),rt=function(e){var t,n,r=W().unix(e.date_start).toJSON(),i=(0,nt.Z)(e,!0);return{drupalId:null===(t=e.objectID)||void 0===t?void 0:t.replace(/\D/g,""),status:i,href:e.href,description:e.subtitle,productionId:e.id,tags:[],title:e.title,meta:{category:(0,et.H8)(e.filter_type)},date:r,dates:{startDate:r,endDate:e.date_end?W().unix(e.date_end).toJSON():void 0},img:(0,Ve.Z)(e.image),audio:null===(n=e.audio)||void 0===n?void 0:n.src,free:!0,video:e.video?(0,Xe.ZP)(e.video):void 0}},it=n(75234),ot=n(5180),at=function(e,t){var n=[];e.cards.length<3&&e.placeholder&&(n=e.placeholder.slice(0,3-e.cards.length).map((function(e){return{type:ke.dv.placeholder,card:{image:(0,Ve.Z)(e.image)}}})));var r=e.cards.map(ot.Z).filter((function(e){return!!e}));return{slides:[].concat((0,it.Z)(r),(0,it.Z)(n)),breadcrumb:(0,me.xR)(t)}},lt=function(e){var t,n=W().unix(e.date_start).toJSON();return{href:e.link.href,title:e.title,facts:[e.location],img:(0,Ve.Z)(e.image),date:n,dates:{startDate:n,endDate:e.date_end?W().unix(e.date_end).toJSON():void 0},audio:null===(t=e.audio)||void 0===t?void 0:t.src,video:void 0,buttonText:e.link.text}};W().extend(Ue());var ct=function(e){var t,n=W()(e.date_start).tz("GMT").toJSON();return{link:{text:e.link.text,href:e.link.href},title:e.title,date:n,dates:{startDate:n,endDate:e.date_end?W()(e.date_end).toJSON():void 0},image:(0,Ve.Z)(e.image),audio:null===(t=e.audio)||void 0===t?void 0:t.src}};function st(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ut(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?st(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ft=function(e,t){var n,i,o,a,l=null===(n=e.festivals)||void 0===n?void 0:n.map(lt),c=e.festivals.reduce((function(e,t){return ut(ut({},e),t.connected_concerts.reduce((function(e,n){return ut(ut({},e),{},(0,r.Z)({},n.id,{title:t.title,img:(0,Ve.Z)(t.image)}))}),{}))}),{});return{highlighted:null===(i=e.highlighted_productions)||void 0===i?void 0:i.map(tt),collections:null===(o=e.special_productions)||void 0===o?void 0:o.map(rt),festivals:{items:l,concerts:c},wonderSlider:at(e.wonder,t),banners:null===(a=e.banners)||void 0===a?void 0:a.map(ct)}};function dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ht={refetchOnWindowFocus:!1,refetchOnMount:!1},mt=function(){var e=(0,Ye.Z)(Je().mark((function e(t){var n,r,o;return Je().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ge.Z)(t);case 2:if(n=e.sent,r=void 0,t.archive){e.next=15;break}return e.prev=5,e.next=8,(0,Qe.Z)("agenda-overview",t.locale,(function(e){return ft(e,t.locale)}));case 8:(o=e.sent).type===i.h.OK&&o.pageData&&(r=o),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(5),console.error(e.t0);case 15:return e.abrupt("return",pt(pt({},r),{},{type:i.h.OK,statusCode:200,pageData:pt(pt({},r?r.pageData:{}),{},{algolia:n})}));case 16:case"end":return e.stop()}}),e,null,[[5,12]])})));return function(t){return e.apply(this,arguments)}}(),bt=n(30188),gt=n(47936),vt=n(97167),yt=n(65616),xt=n(31261),jt=b.ZP.div.withConfig({displayName:"AgendaWrapper",componentId:"sc-fyu3t6-0"})(["position:relative;display:flex;flex-direction:column;opacity:",";transition:opacity 1s ease-in-out;.archive-btn{align-self:flex-end;margin:0 20px "," auto;font-family:",";text-transform:none;font-size:",";font-style:normal;font-weight:700;line-height:",";}"],(function(e){return e.isLoading?0:1}),(0,R.Z)(8),N.ZP.fonts.default,(0,R.Z)(18),(0,R.Z)(28)),Ot=n(19302),Zt=n(34319),wt=b.ZP.div.withConfig({displayName:"AgendaFiltersMobilestyles__StyledAgendaFiltersMobile",componentId:"sc-oxk6r0-0"})(["position:fixed;bottom:0;width:100%;z-index:5;.clear-refinements-wrap{width:100%;button{width:100%;}}.filter-month-selector{font-family:",";text-align:center;font-size:",";font-style:normal;font-weight:400;line-height:",";text-transform:uppercase;}.filter-month-current{display:flex;align-items:center;justify-content:center;min-height:",";width:100%;border-top-left-radius:","px;border-top-right-radius:","px;background:",";font-family:",";font-weight:700;text-transform:uppercase;color:",";","{margin-left:6px;transform:scaleY(",");path{stroke-width:3;}}}.filter-month-list{position:fixed;bottom:",";width:100%;background:",";color:",";text-align:left;padding:48px 20px 30px;
1display:",";max-height:calc(100vh - ",");overflow:auto;.ais-Menu-count{display:none;}}.filter-expand-toggle{position:absolute;top:0;right:0;color:",";background-color:",";padding:14px;border-radius:","%;}.filters-panel{position:fixed;bottom:",";width:100%;background:",";display:block;text-align:left;padding:20px;border-top-left-radius:30px;border-top-right-radius:30px;max-height:calc(100vh - ",");overflow:auto;visibility:",";}.filter-panel-close{position:absolute;top:5px;right:10px;color:",";transform:scale(0.75);&:after{border:none;}}"],N.ZP.fonts.heading,(0,R.Z)(20),(0,R.Z)(34),(0,R.Z)(60),(function(e){return e.filterOpen||e.monthFilterOpen?0:30}),(function(e){return e.filterOpen||e.monthFilterOpen?0:30}),N.ZP.colors.beigeDark,N.ZP.fonts.heading,N.ZP.colors.purpleAlt,Ie.Z,(function(e){return e.monthFilterOpen?-1:1}),(0,R.Z)(60),N.ZP.colors.beigeDark,N.ZP.colors.purpleAlt,(function(e){return e.monthFilterOpen?"flex":"none"}),(0,R.Z)(160),N.ZP.colors.white,N.ZP.colors.white,(function(e){return e.filterOpen?0:100}),(0,R.Z)(60),N.ZP.colors.white,(0,R.Z)(160),(function(e){return e.filterOpen?"visible":"hidden"}),N.ZP.colors.purple),Pt=b.ZP.div.withConfig({displayName:"AgendaWhenFilterMobilestyles__StyledAgendaWhenFilterMobile",componentId:"sc-3rbfes-0"})(["width:100%;.innerWrapper{display:flex;flex-direction:column;padding-bottom:30px;}.clear-refinements-wrap.selected{button{color:",";}}button{font-family:",";font-size:",";font-style:normal;font-weight:400;line-height:",";text-transform:uppercase;text-align:left;padding:20px 0;border-bottom:2px solid rgba(102,41,107,0.2);&.selected{color:",";}}"],N.ZP.colors.pink,N.ZP.fonts.heading,(0,R.Z)(18),(0,R.Z)(20),N.ZP.colors.pink);function kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function St(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _t=(0,F.Z)((function(e){var t=e.items,n=(e.currentRefinement,e.refine),r=e.translationKey,i=(0,f.Z)("common"),o=i.t,a=i.lang,l=(0,c.useMemo)((function(){return"when"===r?t.sort((function(e,t){return W()("".concat(e.label,"-01")).isAfter(W()("".concat(t.label,"-01")))?1:-1})).map((function(e){var t=(0,se.Z)("".concat(e.label,"-01"),a,"MMMM YYYY");return St(St({},e),{},{label:t})})):t.sort((function(e,t){return e.label.localeCompare(t.label)}))}),[t]),s=l.filter((function(e){return e.isRefined})).length>0;return(0,g.jsx)(Pt,{children:(0,g.jsxs)("div",{className:"innerWrapper",children:[(0,g.jsx)("div",{className:"clear-refinements-wrap ".concat(s?"":"selected"),children:(0,g.jsx)(ce,{transformItems:function(e){return e.filter((function(e){return"filter_when"===e.attribute}))},translations:{reset:o("agenda.filters.all")}})}),l&&l.map((function(e,t){var r=e.label,i=e.value,o=e.isRefined;return(0,g.jsx)("button",{className:o?"selected":"",onClick:function(){n(i)},children:r})}))]})})})),Dt=n(67979),Nt=n(59656),Et=function(e){var t=e.click,n=e.icon,r=e.screenreaderText,i=e.className,o=e.color;return(0,g.jsxs)(Dt.Z,{as:"button",onClick:t,color:o,className:i,children:[r&&(0,g.jsx)(Nt.Z,{children:r}),(0,g.jsx)(T.Z,{name:n,size:24})]})},Ct=b.ZP.div.withConfig({displayName:"AgendaFiltersGroupstyles__StyledAgendaGroupFilter",componentId:"sc-pvjut5-0"})(["margin-bottom:24px;h4{font-size:",";font-style:normal;font-weight:400;line-height:",";color:",";}.options{display:flex;flex-wrap:wrap;gap:10px;li{font-family:",";position:relative;list-style:none;label{display:block;font-size:",";font-weight:400;line-height:",";text-transform:none;padding:10px;border-radius:50px;span{font-style:normal;}}input{position:absolute;opacity:0;width:100%;height:100%;display:inline-block;}input[type=checkbox] + label{background:",";font-style:italic;}input[type=checkbox]:checked + label{background:linear-gradient(92deg,"," 1.29%,"," 103.51%);color:",";font-style:normal;}}}"],(0,R.Z)(16),(0,R.Z)(20),N.ZP.colors.purple,N.ZP.fonts.default,(0,R.Z)(14),(0,R.Z)(20),N.ZP.colors.beige,N.ZP.colors.pink,N.ZP.colors.waveZomer,N.ZP.colors.white),Rt=(0,F.Z)((function(e){var t=e.items,n=(e.currentRefinement,e.refine),r=e.translationKey,i=(0,f.Z)("common"),o=i.t,a=(i.lang,(0,c.useRef)(null)),l=(0,c.useMemo)((function(){return t.sort((function(e,t){return e.label.localeCompare(t.label)}))}),[t]);return(0,g.jsx)(Ct,{children:(0,g.jsxs)("div",{className:"innerWrapper",children:[(0,g.jsx)("h4",{children:o("agenda.filters.".concat(r))}),(0,g.jsx)("div",{className:"optionsWrapper",ref:a,children:(0,g.jsx)("ul",{className:"options",children:l&&l.map((function(e,t){var r=e.label,i=e.value,o=e.isRefined,a=r.replace(/ /g,"");return(0,g.jsxs)("li",{id:r,className:o?"selected":"",children:[(0,g.jsx)("input",{type:"checkbox",id:a,name:r,value:r,onChange:function(){n(i)},checked:o}),(0,g.jsx)("label",{htmlFor:a,children:(0,g.jsx)("span",{children:r})})]},r)}))})},r)]})})}));function Mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Mt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ft=(0,B.Z)((function(e){var t=e.items,n=(e.query,e.refine,(0,f.Z)("common")),r=n.t,i=n.lang,o=(0,c.useMemo)((function(){return[t.map((function(e){return"filter_when"!==e.attribute?null:e.items?Tt(Tt({},e),{},{items:e.items.map((function(e){return Tt(Tt({},e),{},{label:(0,se.Z)("".concat(e.label,"-01"),i,"MMMM YYYY")})}))}):e})).filter((function(e){return!!e})),undefined]}),[t]),a=o[0];o[1];return a&&a.length>0?(0,g.jsx)("div",{children:a.map((function(e,t){var n,i,o;return(null!==e&&void 0!==e&&e.items?null===e||void 0===e||null===(n=e.items)||void 0===n?void 0:n.length:0)>0?null===e||void 0===e||null===(i=e.items)||void 0===i||null===(o=i.slice(0,1))||void 0===o?void 0:o.map((function(t){var n=t.label;t.value;return(0,g.jsxs)("span",{children:[n," ",(null===e||void 0===e?void 0:e.items.length)>1?"(+".concat((null===e||void 0===e?void 0:e.items.length)-1,")"):""]})})):(0,g.jsx)("span",{children:r("agenda.filters.all_months")})}))}):(0,g.jsx)("span",{children:r("agenda.filters.all_months")})})),zt=n(68536),At=b.ZP.div.withConfig({displayName:"AlgoliaFilterBadgestyles__StyledAlgoliaFilterBadge",componentId:"sc-19rjgfw-0"})(["position:absolute;top:50%;left:50%;margin:2px 0 0 1px;aspect-ratio:1;min-height:",";padding:",";background-color:",";color:",";font-family:",";font-size:",";font-style:normal;font-weight:400;line-height:1;border-radius:50%;"],(0,R.Z)(17),(0,ue.Z)(3,13),N.ZP.colors.purple,N.ZP.colors.white,N.ZP.fonts.heading,(0,R.Z)(13)),It=(0,B.Z)((function(e){var t=e.items,n=(e.query,e.refine,t.map((function(e,t){return e.items?e.items.length:0})).reduce((function(e,t){return e+t}),0));return n&&n>0?(0,g.jsx)(At,{children:n}):null}));function qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wt=function(e){var t=e.filters,n=(e.tagFilters,e.searchBox,(0,f.Z)("common")),r=(n.t,n.lang,(0,c.useState)()),i=(r[0],r[1]),o=(0,c.useState)(!1),a=o[0],l=o[1],s=(0,c.useState)(!1),u=s[0],d=s[1],p=(0,c.useRef)(null),h=(0,c.useRef)(null);(0,c.useEffect)((function(){p.current&&(a?(u&&d(!1),(0,zt.Qp)(p.current)):(0,zt.tG)(p.current))}),[a,p]),(0,c.useEffect)((function(){h.current&&(u?(a&&l(!1),(0,zt.Qp)(h.current)):(0,zt.tG)(h.current))}),[u,h]);return(0,g.jsx)(wt,{id:"agenda-filters-mobile",filterOpen:a,monthFilterOpen:u,children:(0,g.jsxs)("div",{className:"filter-month-selector",children:[(0,g.jsxs)("button",{className:"filter-month-current",onClick:function(){d((function(e){return!e}))},children:[(0,g.jsx)(Ft,{})," ",(0,g.jsx)(T.Z,{name:"chevron",size:20})]}),(0,g.jsxs)("div",{className:"filter-month-list",ref:h,children:[null===t||void 0===t?void 0:t.map((function(e,t){return"filter_when"===e.attribute&&(0,g.jsx)(_t,Kt({},e),e.translationKey)})),(0,g.jsx)(Et,{className:"filter-panel-close",click:function(){d((function(e){return!e}))},icon:"close"})]}),(0,g.jsxs)("div",{className:"filters-panel",ref:p,children:[null===t||void 0===t?void 0:t.map((function(e,t){return"filter_when"!==e.attribute&&(0,g.jsx)(Rt,Kt({filtered:function(){i(void 0)}},e),e.translationKey)})),(0,g.jsx)(Et,{className:"filter-panel-close",click:function(){l((function(e){return!e}))},icon:"close"})]}),(0,g.jsxs)("button",{className:"filter-expand-toggle",onClick:function(){l((function(e){return!e}))},children:[(0,g.jsx)(T.Z,{name:"filter",size:32}),(0,g.jsx)(It,{})]})]})})};function Bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Bt(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Lt=!0,Jt={searchBox:!0,filterOnDate:!0,filters:[{translationKey:"when",attribute:"filter_when",limit:300},{translationKey:"where",attribute:"filter_where",limit:300},{translationKey:"composer",attribute:"filter_composer",limit:300},{translationKey:"type",attribute:"filter_type",limit:300}],tagFilters:[{translationKey:"what",attribute:"filter_appeal",limit:32}],hitsPerPage:{defaultRefinement:24}},Ht=b.ZP.div.withConfig({displayName:"agenda__ScrollToDivWithOffset",componentId:"sc-14cdo5i-0"})(["",";",";"],(0,Ae.Z)("margin-top",a.Z.presetSizes.headerHeight,(function(e){return"-".concat(e+60,"px")})),(0,Ae.Z)("margin-bottom",a.Z.presetSizes.headerHeight,(function(e){return"".concat(e+60,"px")}))),Gt=function(e){var t,n=(t=e,(0,He.useQuery)(t.queryKey,(function(){return mt(t)}),ht)).data;if(!n||n.type!==i.h.OK||!n.pageData.algolia)return null;var r=(0,ze.useRouter)(),s=n.pageData,u=(0,f.Z)("common"),d=u.t,p=u.lang,h=s.algolia,m=(0,c.useState)(h.searchState),b=m[0],v=m[1],y=(0,c.useState)(!1),x=y[0],j=y[1],O=(0,c.useState)(!1),Z=O[0],k=O[1],S=(0,c.useRef)(null),_=(0,_e.sJ)(De._m),D=function(){S.current&&(S.current.focus({preventScroll:!0}),S.current.scrollIntoView({behavior:"smooth"}))};(0,c.useEffect)((function(){var e=function(e){var t=(0,Ot.Z)(e);t.query!==b.query?(v(t),D()):e.includes("?")&&D()};return r&&r.events.on("routeChangeStart",e),function(){r&&r.events.off("routeChangeStart",e)}}),[S,b]);return(0,c.useEffect)((function(){b&&b.refinementList?k(Object.keys(b.refinementList).length>0):k(!1),j(!1)}),[b]),(0,c.useEffect)((function(){Object.keys(h.searchState).length>0&&D()}),[h.searchState]),(0,g.jsx)(g.Fragment,{children:(0,g.jsxs)(xt.Z,{searchClient:vt.uA,indexName:h.indexName,searchState:b,resultsState:h.initialResults,createURL:gt.Z,onSearchStateChange:function(e){j(!0);var t=Yt(Yt({},(0,bt.h)(e)),{},{configure:void 0,page:e.page&&1===e.page?void 0:e.page});r.push("".concat(r.pathname).concat((0,gt.Z)(t)),void 0,{scroll:!1,shallow:!0}),e.page!==b.page&&D(),v(e)},children:[(0,g.jsx)(yt.Z,{hitsPerPage:Jt.hitsPerPage.defaultRefinement,locale:h.locale,filterOnDate:Jt.filterOnDate,archive:h.archive}),h.archive?(0,g.jsx)(Zt.Z,{title:d("agenda.archive.title"),color:"medium",breadcrumb:(0,me.kj)(p)}):(0,g.jsx)(Fe,Yt({},null===s||void 0===s?void 0:s.wonderSlider)),(0,g.jsx)(Ht,{ref:S,id:"afterAgendaHeader",tabIndex:-1}),h.filterConfig&&!h.archive&&(0,g.jsxs)(g.Fragment,{children:[_?(0,g.jsx)(Wt,Yt({},h.filterConfig)):(0,g.jsx)(ve,Yt({},h.filterConfig)),(0,g.jsx)(Be,{clearsQuery:!0})]}),(0,g.jsxs)(jt,{isLoading:x,children:[_&&(0,g.jsx)(q.Z,{href:(0,me.b5)(p),text:d("agenda.archive_bt
1n"),variant:"text",className:"archive-btn",arrowType:q.P.right}),(0,g.jsx)(w,{highlighted:null===s||void 0===s?void 0:s.highlighted,collections:null===s||void 0===s?void 0:s.collections,festivals:null===s||void 0===s?void 0:s.festivals,isFiltered:Z,isArchive:h.archive,banners:null===s||void 0===s?void 0:s.banners}),(0,g.jsx)(l.Z,{children:(0,g.jsx)(o.Z,{cols:{xs:1},bottom:a.Z.distances.extraLarge,children:(0,g.jsx)(P.Z,{})})})]})]})})},Qt=Gt},50838:function(e,t,n){function r(e){if(null==e)throw new TypeError("Cannot destructure undefined")}n.d(t,{Z: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.