PageSourceSearch

https://kinomadlen.ch/wp-content/themes/pmkino/assets/front/551.4b83969a.chunk.js

js kinomadlen.ch collected 2026-10-08 16:12:36 UTC 1,097,414 bytes, 3 lines download raw bytes

1/*! For license information please see 551.4b83969a.chunk.js.LICENSE.txt */
2(self.webpackChunkpmkino=self.webpackChunkpmkino||[]).push([[551],{236:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){return t?e.sort(function(e,n){var r=t[e].timeUtc,i=t[n].timeUtc;return i>r?-1:i<r?1:0}):""}},295:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t,n){if(e.hasOwnProperty("id")){for(var r=e.id[0],i=t.titleFilter.items,o=Object.keys(i),s=o.length,a=!1,l=0;l<s;l++){var c=o[l];if(i[c].includes(r)){a=c;break}}if(a)return"/"+n.params.overviewParam+"/movie/"+a}return!1}},528:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},773:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var r=s(n(96540)),i=s(n(46942)),o=n(29445);function s(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(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,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var m=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}}),t&&d(e,t)}(h,e);var t,n,s,a=f(h);function h(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),a.apply(this,arguments)}return t=h,n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,s=t.onMouseOver,a=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,f=t.slidesToShow,h=t.slideCount,m=t.currentSlide,p=(e={slideCount:h,slidesToScroll:d,slidesToShow:f,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,v={onMouseEnter:n,onMouseOver:s,onMouseLeave:a},g=[],y=0;y<p;y++){var b=(y+1)*d-1,w=u?b:(0,o.clamp)(b,0,h-1),x=w-(d-1),j=u?x:(0,o.clamp)(x,0,h-1),A=(0,i.default)({"slick-active":u?m>=j&&m<=w:m===j}),S={message:"dots",index:y,slidesToScroll:d,currentSlide:m},O=this.clickHandler.bind(this,S);g=g.concat(r.default.createElement("li",{key:y,className:A},r.default.cloneElement(this.props.customPaging(y),{onClick:O})))}return r.default.cloneElement(this.props.appendDots(g),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEac
2h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({className:this.props.dotsClass},v))}}],n&&u(t.prototype,n),s&&u(t,s),h}(r.default.PureComponent);t.Dots=m},2694:(e,t,n)=>{"use strict";var r=n(6925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},4589:(e,t,n)=>{"use strict";var r;t.A=void 0;var i=((r=n(38120))&&r.__esModule?r:{default:r}).default;t.A=i},4816:(e,t,n)=>{"use strict";n.d(t,{Cr:()=>a,GR:()=>o,h5:()=>r,hm:()=>s,wI:()=>i});var r="multiClient",i="multiNavigation",o="multiTotal",s="multi",a="single"},5303:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(96540)),s=u(n(44177)),a=u(n(30649)),l=u(n(5556)),c=u(n(23367));function u(e){return e&&e.__esModule?e:{default:e}}var d={to:l.default.string.isRequired,containerId:l.default.string,container:l.default.object,activeClass:l.default.string,activeStyle:l.default.object,spy:l.default.bool,horizontal:l.default.bool,smooth:l.default.oneOfType([l.default.bool,l.default.string]),offset:l.default.number,delay:l.default.number,isDynamic:l.default.bool,onClick:l.default.func,duration:l.default.oneOfType([l.default.number,l.default.func]),absolute:l.default.bool,onSetActive:l.default.func,onSetInactive:l.default.func,ignoreCancelEvents:l.default.bool,hashSpy:l.default.bool,saveHashHistory:l.default.bool,spyThrottle:l.default.number};t.default=function(e,t){var n=t||a.default,l=function(t){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return u.call(t),t.state={active:!1},t.beforeUnmountCallbacks=[],t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,t),i(a,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e&&!t?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();if(!s.default.isMounted(e)){var t=s.default.mount(e,this.props.spyThrottle);this.beforeUnmountCallbacks.push(t)}this.props.hashSpy&&(c.default.isMounted()||c.default.mount(n),c.default.mapContainer(this.props.to,e)),s.default.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){s.default.unmount(this.stateHandler,this.spyHandler),this.beforeUnmountCallbacks.forEach(function(e){return e()})}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n={};n=this.state&&this.state.active?r({},this.props.style,this.props.activeStyle):r({},this.props.style);var i=r({},this.props);for(var s in d)i.hasOwnProperty(s)&&delete i[s];return i.className=t,i.style=n,i.onClick=this.handleClick,o.default.createElement(e,i)}}]),a}(o.default.PureComponent),u=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.spyHandler=function(t,r){var i=e.getScrollSpyContainer();if(!c.default.isMounted()||c.default.isInitialized()){var o=e.props.horizontal,s=e.props.to,a=null,l=void 0,u=void 0;if(o){var d=0,f=0,h=0;if(i.getBoundingClientRect)h=i.getBoundingClientRect().left;if(!a||e.props.isDynamic){if(!(a=n.get(s)))return;var m=a.getBoundingClientRect();f=(d=m.left-h+t)+m.width}var p=t-e.props.offset;l=p>=Math.floor(d)&&p<Math.floor(f),u=p<Math.floor(d)||p>=Math.floor(f)}else{var v=0,g=0,y=0;if(i.getBoundingClientRect)y=i.getBoundingClientRect().top;if(!a||e.props.isDynamic){if(!(a=n.get(s)))return;var b=a.getBoundingClientRect();g=(v=b.top-y+r)+b.height}var w=r-e.props.offset;l=w>=Math.floor(v)&&w<Math.floor(g),u=w<Math.floor(v)||w>=Math.floor(g)}var x=n.getActiveLink();if(u){if(s===x&&n.setActiveLink(void 0),e.props.hashSpy&&c.default.getHash()===s){var j=e.props.saveHashHistory,A=void 0!==j&&j;c.default.changeHash("",A)}e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(s,a))}
2if(l&&(x!==s||!1===e.state.active)){n.setActiveLink(s);var S=e.props.saveHashHistory,O=void 0!==S&&S;e.props.hashSpy&&c.default.changeHash(s,O),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(s,a))}}}};return l.propTypes=d,l.defaultProps={offset:0},l}},5322:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96540),i=n(9989);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const a=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=o((0,r.useState)(e),2),n=t[0],s=t[1],a=o((0,i.A)(),2),l=a[0],c=a[1],u=(0,r.useCallback)(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];l("has-popup"),s(e)},[]);return[n,u,(0,r.useCallback)(function(e){("force"===e||e&&e.target&&e.target.classList.contains("has-popup-close"))&&(c("has-popup"),s(!1))},[])]}},5556:(e,t,n)=>{e.exports=n(2694)()},6147:e=>{function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,i){var o=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");"function"==typeof r&&(i=r,r={}),r=r||{},i=i||function(){},s.type=r.type||"text/javascript",s.charset=r.charset||"utf8",s.async=!("async"in r)||!!r.async,s.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(s,r.attrs),r.text&&(s.text=""+r.text),("onload"in s?t:n)(s,i),s.onload||t(s,i),o.appendChild(s)}},6649:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});var r=n(15049),i=n(84196),o=n(53392),s=n(95640),a=n(95713),l=n(36487);const c={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let u;const d=new Uint8Array(16);function f(){if(!u&&(u="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!u))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return u(d)}const h=[];for(let e=0;e<256;++e)h.push((e+256).toString(16).slice(1));function m(e,t=0){return h[e[t+0]]+h[e[t+1]]+h[e[t+2]]+h[e[t+3]]+"-"+h[e[t+4]]+h[e[t+5]]+"-"+h[e[t+6]]+h[e[t+7]]+"-"+h[e[t+8]]+h[e[t+9]]+"-"+h[e[t+10]]+h[e[t+11]]+h[e[t+12]]+h[e[t+13]]+h[e[t+14]]+h[e[t+15]]}const p=function(e,t,n){if(c.randomUUID&&!t&&!e)return c.randomUUID();const r=(e=e||{}).random||(e.rng||f)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return m(r)};var v=n(96540),g=n(74030),y=n(74848);function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const x=function(e){var t=e.attributeId,n=e.onClick,r=e.mouseOver,i=e.isMobile,o=b((0,v.useState)(null),2),a=o[0],l=o[1];if(!t)return"";(0,v.useEffect)(function(){a||l(p())});var c=s.Yz[t],u=c.name,d=c.description;if(r){var f=document.getElementById(a);i||(window.onmousemove=function(e){var t=e.clientX,n=e.clientY;f.style.top=n+20+"px",f.style.left=t+20+"px"})}var h={display:r?"block":"none"};return(0,y.jsxs)("div",{style:h,id:a,className:"tooltip-wrapper theme-radius-posters-full",onClick:n,children:[(0,y.jsx)("h5",{children:(0,y.jsx)(g.Ay,{id:u,children:"Tooltip Headline"})}),(0,y.jsx)("p",{className:"attribute-text",children:(0,y.jsx)(g.Ay,{id:d,children:"Tooltip Description"})})]})};var j=n(12814),A=n(12111);function S(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||k(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||k(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){if(e){if("string"==typeof e)return P(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,t):void 0}}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const C=function(e){var t=e.attributes,n=e.attributeStyling,r=e.cinedomX,i=e.hiddenAttributes,o=e.performanceAttribute,c=void 0===o||o,u=e.doNotHideCinedomX,d=void 0!==u&&u,f=e.isMobile,h=e.showTitleForTooltip,m=e.canBeColored,p=void 0!==m&&m,b=e.cinedomXAttributes,w=e.technicalAttributesData,k=e.currentLang,P=O((0,v.useState)(!1),2),C=P[0],E=P[1],_="colored_language_attributes"===n?" colored-icon":"",T=S(t).sort(function(e,t){var n=w[e]?w[e].name:e,r=w[t]?w[t].name:t;return n.localeCompare(r)}),M=A.filter(T,function(e){return A.contains(s.mJ,e.trim())});return T.map(function(e,t){var n=w[e]?w[e]:null;if(!n)return"";var o=n.name,u=e.trim(),m=c&&A.contains(A.keys(s.Yz),u.toLowerCase()),v=c?A.contains(s.mJ,e)?"attribute-logo":"attribute-name":"attribute-logo",S=s.Yz[u.toLowerCase()],O=h&&S?S.name:"";if("digital"===u||A.contains(i,u))return"";if(A.contains(s.mJ,u)){var P=!0;return"2d"!==u&&"1087"!==u||(1!==M.length||"2d"!==M[0]&&"1087"!==M[0]||c?M.length>1&&A.contains(M,"2d")&&!A.contains(M,"3d")&&!c&&(P=!1):P=!1),!r||"cinedom x"!==u&&"cinedomx"!==u||d||(P=!1),"cinedom x"!==u&&"cinedomx"!==u||!b||0===b.length?p?P&&(0,y.jsxs)("div",{className:"attribute"+_+" "+u,onMouseOver:function(){!f&&m&&E(!0)},onMouseOut:function(){!f&&m&&E(!1)},children:[(0,y.jsxs)("span",{className:v+" "+u,"data-attribute":u,children:[(0,y.jsx)(l.A,{attributeId:u,cinedomX:r}),(0,y.jsx)("span",{className:"pm-screen-reader-text",children:o})]}),h&&O&&(0,y.jsx)("span",{children:(0,y.jsx)(g.Ay,{id:O,children:"Tooltip Headline"})}),m&&f&&(0,y.jsx)("div",{className:"mobile-hint",onClick:function(){E(!C)},children:" ? "}),m&&(0,y.jsx)(x,{mouseOver:C,onClick:function(){E(!1)},isMobile:f,attributeId:u.toLowerCase()})]},t):P&&(0,y.jsxs)("div",{className:"attribute "+u,onMouseOver:function(){!f&&m&&E(!0)},onMouseOut:function(){!f&&m&&E(!1)},children:[(0,y.jsxs)("span",{className:v+" attribute-logo-"+u,"data-attribute":u,children:[(0,y.jsx)(l.A,{cinedomX:r,attributeId:u}),(0,y.jsx)("span",{className:"pm-screen-reader-text",children:o})]}),h&&O&&(0,y.jsx)("span",{children:(0,y.jsx)(g.Ay,{id:O,children:"Tooltip Headline"})}),m&&f&&(0,y.jsx)("div",{onClick:function(){E(!C)},children:" ? "}),m&&(0,y.jsx)(x,{mouseOver:C,onClick:function(){E(!1)},isMobile:f,attributeId:u.toLowerCase()})]},t):P&&(0,y.jsxs)("div",{className:"attribute cinedom-x cinedom-x-attributes-wrapper "+u,onMouseOver:function(){!f&&m&&E(!0)},onMouseOut:function(){!f&&m&&E(!1)},children:[(0,y.jsxs)("span",{className:v+" "+u,"data-attribute":u,children:[(0,y.jsx)(l.A,{attributeId:u}),(0,y.jsx)("span",{className:"pm-screen-reader-text",children:o})]}),(0,y.jsx)("span",{className:"cinedom-x-additional-attributes",children:b&&b.map(function(e,t){return(0,y.jsxs)("span",{className:v+" "+e,"data-attribute":e,children:[(0,y.jsx)(l.A,{cinedomX:!0,attributeId:e}),(0,y.jsx)("span",{className:"pm-screen-reader-text",children:e.name})]},t)})})]},t)}var T=(0,a.A)(o,k),I=(0,j.A)([{id:e,name:n.name}]);return c?(0,y.jsx)("span",{className:e+" "+v,"data-attribute":e,children:(0,y.jsx)("span",{className:"text-medium",children:T})},t):(0,y.jsx)("div",{className:"attribute item-post-information attribute-text accent-color-background other-attributes "+I+" "+T,children:T},t)})};var E=n(24775),_=n(54560);const T=(0,i.Ng)((0,_.A)(function(e,t){return{cinemaDataFront:(0,o.A)(e,r.FRONT),technicalAttributesData:(0,o.A)(e,[r.PROGRAM_ATTRIBUTES,"technical"]),currentLang:(0,o.A)(e,r.TRANSLATION_CURRENT_LANG)}}),null)((0,E.A)(function(e){var t=e.cinemaDataFront,n=e.technicalAttributesData,r=e.currentLang,i=e.doNotHideCinedomX,o=e.attributes,s=e.performanceAttribute,a=e.showTitleForTooltip,l=void 0!==a&&a,c=e.canBeColored,u=e.isMobile,d=e.cinedomXAttributes,f=void 0===d?null:d,h=e.cinedomX,m=void 0!==h&&h,p=t.attribute_styling,v=t.hidden_attributes;return(0,y.jsx)(C,{hiddenAttributes:v,attributeStyling:p,isMobile:u,technicalAttributesData:n,cinedomXAttributes:f,currentLang:r,showTitleForTooltip:l,cinedomX:m,attributes:o,doNotHideCinedomX:i,performanceAttribute:s,canBeColored:c})}
2))},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7150:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(89089);const i=function(e){var t=(0,r.A)(e),n=t.technologyAttributesWithIcons,i=t.technologyAttributesWithoutIcons,o=t.cinedomXAttributes,s=t.hasCinedomX,a=1===n.length&&("2d"===n[0]||"1087"===n[0])||0===n.length,l=0===i.length;return{technologyAttributesWithIcons:n,technologyAttributesWithoutIcons:i,noAttributesToDisplayWithSchnäppchen:(1===n.length&&("2d"===n[0]||"1087"===n[0])||0===n.length)&&(0===i.length||1===i.length&&"schnaeppchen"===i[0]),noAttributesToDisplay:(1===n.length&&("2d"===n[0]||"1087"===n[0])||0===n.length)&&0===i.length,noAttributesWithIconsToDisplay:a,noAttributesWithoutIconsToDisplay:l,cinedomXAttributes:o,hasCinedomX:s}}},7668:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t,n){var r=[];e.params.movieParam&&n.hasOwnProperty(e.params.movieParam)&&n[e.params.movieParam].map(function(e){t.order.includes(e)&&r.push(e)});return 0!=r.length&&r}},7897:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>b});var r=n(96540),i=n(4816),o=n(53352),s=n(28511),a=n(54625),l=n(74848);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const d=function(e){var t=e.cinema,n=e.activeClass,i=e.setActiveCinema,u=e.activeCinema,d=e.sortValue,f=c((0,r.useState)(!1),2),h=f[0],m=f[1],p=(0,o.A)(),v=(0,s.A)(p,[t.pk]).cinemaColor,g=v?u===t.pk||h?{background:v,borderColor:v}:{color:v,borderColor:v}:{};return d?(0,l.jsx)(a.N_,{className:"performance-per-cinema-filter-button",to:{search:d},onMouseOver:function(){m(!0)},onMouseOut:function(){m(!1)},children:(0,l.jsx)("button",{className:"button buttons-border cinema-filter"+n,style:g,children:t.nameDisplay})}):(0,l.jsx)("div",{className:"performance-per-cinema-filter-button",onMouseOver:function(){m(!0)},onMouseOut:function(){m(!1)},children:(0,l.jsx)("button",{className:"button buttons-border cinema-filter"+n,style:g,onClick:function(){return i(t.pk)},children:t.nameDisplay})})};var f=n(74030),h=n(82903),m=n(75662),p=n(30699),v=n(12111),g="cinemas",y=function(e,t,n){var r=null;"all"===e?r=null:(r="?".concat(g,"=").concat(e),t&&-1!==t.indexOf(e)&&(r=null));return r=v.isEmpty(n)?r:(0,p.A)(n,r)};const b=function(e){var t=e.activeCinema,n=e.currentCinemaType,o=e.relevantCinemas,s=e.cinemas,c=e.setActiveCinema,u=e.addCinemaToUrl,p=e.queryStringValues;if(n!==i.hm)return"";var b=(0,h.G)(p,g);(0,r.useEffect)(function(){u&&b&&c(b[0])},[]);var w=function(e,t){return e.sort(function(e,n){var r=t[e],i=t[n],o=r.nameDisplay,s=i.nameDisplay;return s>o?-1:s<o?1:0})}(o,s),x=u?(0,m.A)(p):null,j=u?function(e){return v.omit(e,g)}(x):null;return(0,l.jsxs)("div",{className:"performance-per-cinema-filter-buttons-container",children:[s&&v.keys(s).map(function(e,n){var r=s[e],o=r.scope.type===i.hm,d=t===e?" active":" button-reverse",h=u?y("all",b,j):null;return o&&r&&(u?(0,l.jsx)(a.N_,{to:{search:h},className:"performance-per-cinema-filter-button all-cinemas",children:(0,l.jsx)("button",{className:"button buttons-border cinema-filter"+d,children:(0,l.jsx)(f.Ay,{id:"selectAllCinemas",children:"Alle Kinos"})})},n):(0,l.jsx)("div",{className:"performance-per-cinema-filter-button all-cinemas",children:(0,l.jsx)("button",{className:"button buttons-border cinema-filter"+d,onClick:function(){return c(r.pk)},children:(0,l.jsx)(f.Ay,{id:"selectAllCinemas",children:"Alle Kinos"})})}
2,n))}),(0,l.jsx)("div",{className:"single-cinema-buttons-wrapper",children:w&&w.map(function(e,n){var r=u?y(e,b,j):null,o=s[e],a=o.scope.type===i.hm,f=t===e?" active":" button-reverse";return!a&&o&&(0,l.jsx)(d,{sortValue:u?r:null,cinema:o,activeClass:f,activeCinema:t,setActiveCinema:c},n)})})]})}},8373:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultEasing:function(e){return e<.5?Math.pow(2*e,2)/2:1-Math.pow(2*(1-e),2)/2},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}}},8689:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(61027),i=n(76075),o=n(24237);const s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.isMoment)(e)?(0,o.A)(e.clone()).toISOString():e&&t?(0,o.A)((0,i.A)(e,t)).toISOString():void error.log("Could not create day key")}},9365:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(96540)),i=o(n(5303));function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function t(){var e,n,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),l=0;l<o;l++)a[l]=arguments[l];return n=i=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),i.render=function(){return r.default.createElement("a",i.props,i.props.children)},s(i,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(r.default.Component);t.default=(0,i.default)(a)},11038:(e,t,n)=>{"use strict";var r=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=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(96540),c=(n(40961),n(92906),n(44177)),u=n(30649),d=n(5556),f=n(23367),h={to:d.string.isRequired,containerId:d.string,container:d.object,activeClass:d.string,spy:d.bool,smooth:d.oneOfType([d.bool,d.string]),offset:d.number,delay:d.number,isDynamic:d.bool,onClick:d.func,duration:d.oneOfType([d.number,d.func]),absolute:d.bool,onSetActive:d.func,onSetInactive:d.func,ignoreCancelEvents:d.bool,hashSpy:d.bool,spyThrottle:d.number},m={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=t||u,d=function(t){function u(e){o(this,u);var t=s(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,e));return m.call(t),t.state={active:!1},t}return a(u,t),i(u,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();c.isMounted(e)||c.mount(e,this.props.spyThrottle),this.props.hashSpy&&(f.isMounted()||f.mount(n),f.mapContainer(this.props.to,e)),this.props.spy&&c.addStateHandler(this.stateHandler),c.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){c.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=r({},this.props);for(var i in h)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,l.createElement(e,n)}}]),u}(l.Component),m=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.stateHandler=function(){n.getActiveLink()!==e.props.to&&(null!==e.state&&e.state.active&&e.props.onSetInactive&&e.props.onSetInactive(),e.setState({active:!1}))},this.spyHandler=function(t){var r=e.getScrollSpyContainer();if(!f.isMounted()||f.isInitialized()){var i=e.props.to,o=null,s=0,a=0,l=0;if(r.getBoundingClientRect)l=r.getBoundingClientRect().top;if(!o||e.props.isDynamic){if(!(o=n.get(i)))return;var u=o.getBoundingClientRect();a=(s=u.top-l+t)+u.height}var d=t-e.props.offset,h=d>=Math.floor(s)&&d<Math.floor(a),m=d<Math.floor(s)||d>=Math.floor(a),p=n.getActiveLink();return m?(i===p&&n.setActiveLink(void 0),e.props.hashSpy&&f.getHash()===i&&f.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),c.updateStates()):h&&p!==i?(n.setActiveLink(i),e.props.hashSpy&&f.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i)),c.updateStates()):void 0}}};return d.propTypes=h,d.defaultProps={offset:0},d},Element:function(e){console.warn("Helpers.Element is deprecated since v1.7.0");var t=function(t){function n(e){o(this,n);var t=s(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}
2return a(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;u.unregister(this.props.name)}},{key:"registerElems",value:function(e){u.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return l.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(l.Component);return t.propTypes={name:d.string,id:d.string},t}};e.exports=m},11441:(e,t,n)=>{var r=n(28028),i=function(e){var t="",n=Object.keys(e);return n.forEach(function(i,o){var s=e[i];(function(e){return/[height|width]$/.test(e)})(i=r(i))&&"number"==typeof s&&(s+="px"),t+=!0===s?i:!1===s?"not "+i:"("+i+": "+s+")",o<n.length-1&&(t+=" and ")}),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach(function(n,r){t+=i(n),r<e.length-1&&(t+=", ")}),t):i(e)}},11561:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=!0,i="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(i);var n="function"==typeof t?t():t,o=n?"".concat(i,": ").concat(n):i;throw new Error(o)}}},12814:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(12111);const i=function(e){var t="";if(e){var n=r.find(e,function(e){return"schnaeppchen"===e||"pricelevel_N96"===e||"letzte_chance"===e});t=r.find(e,function(e){return"cinedom x"===e||"cinedomx"===e})?" cinedom-x":n?" blue-price":""}return t}},15196:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(96540);const i=function(e){return!(null==e||-1===e||parseInt(e)>15)};const o=function(e){var t=e.match(/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);return!(!t||11!=t[2].length)&&t[2]};function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const l=function(e,t,n){var a=s((0,r.useState)("init"),2),l=a[0],c=a[1],u=s((0,r.useState)(!1),2),d=u[0],f=u[1];return(0,r.useEffect)(function(){var r=!(!t||!i(n))&&o(t);f(r||!1),c(e&&!!r)},[t,n,e]),[l,d]}},15373:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.currentLang,i=t.strings,o=t.debug,s="";return i&&i.hasOwnProperty(e)&&i[e].hasOwnProperty(r)?s=i[e][r]:(s=n||"",o&&console.warn("No translation for id ".concat(e))),s}},15384:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return null==e||-1===e}},15595:(e,t,n)=>{"use strict";n.d(t,{A:()=>xe});var r=n(96540),i=n(59265),o=n(12111);const s=function(e,t,n,r,s,a,l){var c=e.dayFilters,u=e.fsk,d=e.genres,f=e.seatClasses,h=e.technical,m=e.theatres,p=e.cinemas,v={};if(o.keys(a).map(function(e){var t=a[e];if(t.title&&l&&l.movies.items.hasOwnProperty(e)){var n=l.movies.items[e].uri_path;v=(0,i.A)(v,n,e),t&&t.id&&(v=(0,i.A)(v,n,t.id))}}),""===e)return{filters:{},dayFilters:{}};n&&n.map(function(e){o.contains(o.keys(h),e)&&delete h[e]});var g={};return r&&f&&r.map(function(e){g[e]=f[e]}),{filters:{genres:{displayName:s.strings.genresFilter,items:d},technical:{displayName:s.strings.technicalFilter,items:h},fsk:{displayName:s.strings.fskFilter,items:u},theatreName:{displayName:s.strings.theatreName,items:t||"true"===t?[]:m},seatClasses:{displayName:s.strings.seatClassesName,items:g}},searchFilter:{items:[]},dayFilters:c,cinemasFilter:p,titleFilter:{items:v}}};var a=n(86663),l=n(39253),c=(n(95093),n(76075)),u=n(76942),d=n(83751),f=n(24237),h=n(60683),m=n(41770),p=n(12111);const v={checkFilterKey:function(e){return-1!==["time","genres","technical","fsk","theatreName","seatClasses","search","id","cinemas","cinema","weekCounter"].indexOf(e)},getActiveFilters:function(e){var t=this,n={};return Object.keys(e).map(function(r){if(t.checkFilterKey(r)){var i=e[r],o=Array.isArray(i)?i:[i];if(p.has(n,r)){var s=n[r];o.map(function(e){-1==s.indexOf(e)&&n[r].push(e)})}else n[r]=o}}),n},getItems:function(e,t,n,r,i,o,s,a,l,v,g){var y=p.isEmpty(r)?i:[],b=null,w=[],x=[],j=[],A=!1,S=[];Object.keys(r).map(function(u){var d=r[u];if("time"===u)d.map(function(e){if(p.has(t,e))y=0===y.length?t[e].movies:p.intersection(y,t[e].movies),b=b?p.intersection(b,t[e].performances):t[e].performances;else if(t&&t.filterWeekDays&&p.has(t.filterWeekDays,e))x=p.union(x,t.filterWeekDays[e].movies),A=!0,j=j?p.union(j,t.filterWeekDays[e].performances):t.filterWeekDays[e].performances;else if(-1!==e.search("start")&&t&&t.performanceDates){var n=p.find(d,function(e){return-1!==e.search("end")}),i=[],o=[],l=!!e&&(0,f.A)((0,c.A)(parseInt(e.split(":")[1]),a)),u=!!n&&(0,f.A)((0,c.A)(parseInt(n.split(":")[1]),a)),m=l&&l.format("YYYY-MM-DD");n?(p.keys(t.performanceDates).map(function(e){var n=(0,f.A)((0,c.A)(e));if(l.isSameOrBefore(n)&&u.isSameOrAfter(n)){var r=t.performanceDates[e];i=p.union(i,r.movies),o=p.union(o,r.performances)}}),x=p.union(x,i),j=p.union(j,o),A=!0):(x=p.union(x,t.performanceDates[m].movies),j=p.union(j,t.performanceDates[m].performances),A=!0)}else if("customWeek"===e&&r.weekCounter&&t&&t.performanceDates){var v=r.weekCounter&&1===r.weekCounter.length?r.weekCounter[0]:null,g=v?(0,h.A)(s,7*v-1):null,w=[],S=[];g&&(p.keys(t.performanceDates).map(function(e){var n=(0,f.A)((0,c.A)(e));if(s.isSameOrBefore(n)&&g.isSameOrAfter(n)){var r=t.performanceDates[e];w=p.union(w,r.movies),S=p.union(S,r.performances)}}),x=p.union(x,w),j=p.union(j,S),A=!0)}});else if("id"===u)y=0===y.length?d:p.intersection(y,d);else if("cinemas"===u||"cinema"===u){var v=(0,m.A)(g,d,o,i,l);d.map(function(e){g&&g[e]&&(b=b?p.union(b,g[e].performances):g[e].performances)}),y=0===y.length?v:p.intersection(y,v)}else if("fsk"===u&&p.has(e,u)){var w=e[u].items,S=[];d.map(function(e){w[e]&&(S=p.union(S,w[e].movies))}),y=0===y.length?S:p.intersection(y,S)}else if("theatreName"!==u&&"technical"!==u&&"seatClasses"!==u||!p.has(e,u)){if("search"===u)y=0===y.length?n?n.items:[]:p.intersection(y,n?n.items:[]);else if(p.has(e,u)){var O=e[u].items,k=[];d.map(function(e){O[e]&&(k=p.union(k,O[e].movies))}),y=0===y.length?k:p.intersection(y,k)}}else{var P=e[u].items,C=[];d.map(function(e){P[e]&&(C=p.union(C,P[e].movies),b=b?p.union(b,P[e].performances):P[e].performances)}),y=0===y.length?C:p.intersection(y,C)}}),i.map(function(e){var t=o[e],n=t.performances,i=t.startingDate,l=t.startDateDescription,u=i?(0,c.A)(i,a):null,d=u?(0,f.A)(u):null,h=!!d&&s.isSameOrBefore(d),m=!i&&!!l;0===n.length&&0===Object.keys(r).length&&(h||m)&&S.push(e)}),A&&(y=0===y.length?x:p.intersection(y,x),b=b?p.intersection(b,j):j),y.map(function(e){var t=o[e];if(!t)return"";var n=t.performances,i=t.technologyAttributes,h=t.preanouncements,m=(t.title,t.startingDate),g=!(!h||!r.technical)&&p.intersection(p.keys(h),r.technical).length>0,y=m?(0,c.A)(m,a):null,x=y?(0,f.A)(y):null,j=!!x&&s.isSameOrBefore(x),A=(0,u.A)(a),S=p.find(i,function(e){return p.contains(l,e.id)})||0===n.length&&j||g||p.contains(r.technical,"_pm_preview"),O=p.find(n,function(e){var t=v[e],n=t.t
vendor: 5,071 bytes, line 2
2imeUtc,r=(0,c.A)(n,a);if((0,d.A)(A,r)){if(b)return p.contains(b,e);if(!b)return t}});!p.contains(w,e)&&S?(w.push(e),p.contains(r.technical,"_pm_preview")&&(b=b?p.union(b,n):n)):O&&!p.contains(w,e)&&w.push(e)}),(0!==w.length||0!==y.length&&null!==b)&&(y=p.intersection(y,w));var O=p.union(y,S);return{items:y=p.intersection(i,O),relevantPerformances:b}}};function g(e){return Array.isArray?Array.isArray(e):"[object Array]"===S(e)}function y(e){return"string"==typeof e}function b(e){return"number"==typeof e}function w(e){return!0===e||!1===e||function(e){return x(e)&&null!==e}(e)&&"[object Boolean]"==S(e)}function x(e){return"object"==typeof e}function j(e){return null!=e}function A(e){return!e.trim().length}function S(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const O=Object.prototype.hasOwnProperty;class k{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=P(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function P(e){let t=null,n=null,r=null,i=1,o=null;if(y(e)||g(e))r=e,t=C(e),n=E(e);else{if(!O.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const s=e.name;if(r=s,O.call(e,"weight")&&(i=e.weight,i<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(s));t=C(s),n=E(s),o=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:o}}function C(e){return g(e)?e:e.split(".")}function E(e){return g(e)?e.join("."):e}var _={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],r=!1;const i=(e,t,o)=>{if(j(e))if(t[o]){const s=e[t[o]];if(!j(s))return;if(o===t.length-1&&(y(s)||b(s)||w(s)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(s));else if(g(s)){r=!0;for(let e=0,n=s.length;e<n;e+=1)i(s[e],t,o+1)}else t.length&&i(s,t,o+1)}else n.push(e)};return i(e,y(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const T=/[^ ]+/g;class M{constructor({getFn:e=_.getFn,fieldNormWeight:t=_.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const i=t.match(T).length;if(n.has(i))return n.get(i);const o=1/Math.pow(i,.5*e),s=parseFloat(Math.round(o*r)/r);return n.set(i,s),s},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,y(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){const t=this.size();y(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!j(e)||A(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach((t,r)=>{let i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(j(i))if(g(i)){let e=[];const t=[{nestedArrIndex:-1,value:i}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(j(r))if(y(r)&&!A(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else g(r)&&r.forEach((e,n)=>{t.push({nestedArrIndex:n,value:e})})}n.$[r]=e}else if(y(i)&&!A(i)){let e={v:i,n:this.norm.get(i)};n.$[r]=e}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function I(e,t,{getFn:n=_.getFn,fieldNormWeight:r=_.fieldNormWeight}={}){const i=new M({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(P)),i.setSources(t),i.create(),i}function N(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=_.distance,ignoreLocation:o=_.ignoreLocation}={}){const s=t/e.length;if(o)return s;const a=Math.abs(r-n);return i?s+a/i:a?1:s}const D=32;function L(e,t,n,{location:r=_.location,distance:i=_.distance,threshold:o=_.threshold,findAllMatches:s=_.findAllMatches,minMatchCharLength:a=_.minMatchCharLength,includeMatches:l=_.includeMatches,ignoreLocation:c=_.ignoreLocation}={}){if(t.length>D)throw new Error(`Pattern length exceeds max of ${D}.`);const u=t.length,d=e.length,f=Math.max(0,Math.min(r,d));let h=o,m=f;const p=a>1||l,v=p?Array(d):[];let g;for(;(g=e.indexOf(t,m))>-1;){let e=N(t,{currentLocation:g,expectedLocation:f,distance:i,ignoreLocation:c});if(h=Math.min(e,h),m=g+u,p){let e=0;for(;e<u;)v[g+e]=1,e+=1}}m=-1;let y=[],b=1,w=u+d;const x=1<<u-1;for(let r=0;r<u;r+=1){let o=0,a=w;for(;o<a;){N(t,{errors:r,currentLocation:f+a,expectedLocation:f,distance:i,ignoreLocation:c}
vendor: 8,937 bytes, line 2
2)<=h?o=a:w=a,a=Math.floor((w-o)/2+o)}w=a;let l=Math.max(1,f-a+1),g=s?d:Math.min(f+a,d)+u,j=Array(g+2);j[g+1]=(1<<r)-1;for(let o=g;o>=l;o-=1){let s=o-1,a=n[e.charAt(s)];if(p&&(v[s]=+!!a),j[o]=(j[o+1]<<1|1)&a,r&&(j[o]|=(y[o+1]|y[o])<<1|1|y[o+1]),j[o]&x&&(b=N(t,{errors:r,currentLocation:s,expectedLocation:f,distance:i,ignoreLocation:c}),b<=h)){if(h=b,m=s,m<=f)break;l=Math.max(1,2*f-m)}}if(N(t,{errors:r+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:c})>h)break;y=j}const j={isMatch:m>=0,score:Math.max(.001,b)};if(p){const e=function(e=[],t=_.minMatchCharLength){let n=[],r=-1,i=-1,o=0;for(let s=e.length;o<s;o+=1){let s=e[o];s&&-1===r?r=o:s||-1===r||(i=o-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(v,a);e.length?l&&(j.indices=e):j.isMatch=!1}return j}function R(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}const F=String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):e=>e;class V{constructor(e,{location:t=_.location,threshold:n=_.threshold,distance:r=_.distance,includeMatches:i=_.includeMatches,findAllMatches:o=_.findAllMatches,minMatchCharLength:s=_.minMatchCharLength,isCaseSensitive:a=_.isCaseSensitive,ignoreDiacritics:l=_.ignoreDiacritics,ignoreLocation:c=_.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:o,minMatchCharLength:s,isCaseSensitive:a,ignoreDiacritics:l,ignoreLocation:c},e=a?e:e.toLowerCase(),e=l?F(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const u=(e,t)=>{this.chunks.push({pattern:e,alphabet:R(e),startIndex:t})},d=this.pattern.length;if(d>D){let e=0;const t=d%D,n=d-t;for(;e<n;)u(this.pattern.substr(e,D),e),e+=D;if(t){const e=d-D;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?F(e):e,this.pattern===e){let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}const{location:i,distance:o,threshold:s,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],d=0,f=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:h})=>{const{isMatch:m,score:p,indices:v}=L(e,t,n,{location:i+h,distance:o,threshold:s,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});m&&(f=!0),d+=p,m&&v&&(u=[...u,...v])});let h={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(h.indices=u),h}}class ${constructor(e){this.pattern=e}static isMultiMatch(e){return B(e,this.multiRegex)}static isSingleMatch(e){return B(e,this.singleRegex)}search(){}}function B(e,t){const n=e.match(t);return n?n[1]:null}class U extends ${constructor(e,{location:t=_.location,threshold:n=_.threshold,distance:r=_.distance,includeMatches:i=_.includeMatches,findAllMatches:o=_.findAllMatches,minMatchCharLength:s=_.minMatchCharLength,isCaseSensitive:a=_.isCaseSensitive,ignoreDiacritics:l=_.ignoreDiacritics,ignoreLocation:c=_.ignoreLocation}={}){super(e),this._bitapSearch=new V(e,{location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:o,minMatchCharLength:s,isCaseSensitive:a,ignoreDiacritics:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class H extends ${constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],i=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const W=[class extends ${constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},H,class extends ${constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends ${constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends ${constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends ${constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends ${constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},U],z=W.length,Z=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const q=new Set([U.type,H.type]);class G{constructor(e,{isCaseSensitive:t=_.isCaseSensitive,ignoreDiacritics:n=_.ignoreDiacritics,includeMatches:r=_.includeMatches,minMatchCharLength:i=_.minMatchCharLength,ignoreLocation:o=_.ignoreLocation,findAllMatches:s=_.findAllMatches,location:a=_.location,threshold:l=_.threshold,distance:c=_.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:s,ignoreLocation:o,location:a,threshold:l,distance:c},e=t?e:e.toLowerCase(),e=n?F(e):e,this.pattern=e,this.query=function(e,t={}){return e.split("|").map(e=>{let n=e.trim().split(Z).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){const i=n[e];let o=!1,s=-1;for(;!o&&++s<z;){const e=W[s];let n=e.isMultiMatch(i);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(s=-1;++s<z;){const e=W[s];let n=e.isSingleMatch(i);if(n){r.push(new e(n,t));break}}}return r})}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?F(e):e;let o=0,s=[],a=0;for(let r=0,i=t.length;r<i;r+=1){const i=t[r];s.length=0,o=0;for(let t=0,r=i.length;t<r;t+=1){const r=i[t],{isMatch:l,indices:c,score:u}=r.search(e);if(!l){a=0,o=0,s.length=0;break}if(o+=1,a+=u,n){const e=r.constructor.type;q.has(e)?s=[...s,...c]:s.push(c)}}
vendor: 5,384 bytes, line 2
2if(o){let e={isMatch:!0,score:a/o};return n&&(e.indices=s),e}}return{isMatch:!1,score:1}}}const Y=[];function X(e,t){for(let n=0,r=Y.length;n<r;n+=1){let r=Y[n];if(r.condition(e,t))return new r(e,t)}return new V(e,t)}const K="$and",Q="$or",J="$path",ee="$val",te=e=>!(!e[K]&&!e[Q]),ne=e=>({[K]:Object.keys(e).map(t=>({[t]:e[t]}))});function re(e,t,{auto:n=!0}={}){const r=e=>{let i=Object.keys(e);const o=(e=>!!e[J])(e);if(!o&&i.length>1&&!te(e))return r(ne(e));if((e=>!g(e)&&x(e)&&!te(e))(e)){const r=o?e[J]:i[0],s=o?e[ee]:e[r];if(!y(s))throw new Error((e=>`Invalid value for key ${e}`)(r));const a={keyId:E(r),pattern:s};return n&&(a.searcher=X(s,t)),a}let s={children:[],operator:i[0]};return i.forEach(t=>{const n=e[t];g(n)&&n.forEach(e=>{s.children.push(r(e))})}),s};return te(e)||(e=ne(e)),r(e)}function ie(e,t){const n=e.matches;t.matches=[],j(n)&&n.forEach(e=>{if(!j(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let i={indices:n,value:r};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)})}function oe(e,t){t.score=e.score}class se{constructor(e,t={},n){this.options={..._,...t},this.options.useExtendedSearch,this._keyStore=new k(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof M))throw new Error("Incorrect 'index' type");this._myIndex=t||I(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){j(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const i=this._docs[n];e(i,n)&&(this.removeAt(n),n-=1,r-=1,t.push(i))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:i,sortFn:o,ignoreFieldNorm:s}=this.options;let a=y(e)?y(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=_.ignoreFieldNorm}){e.forEach(e=>{let n=1;e.matches.forEach(({key:e,norm:r,score:i})=>{const o=e?e.weight:null;n*=Math.pow(0===i&&o?Number.EPSILON:i,(o||1)*(t?1:r))}),e.score=n})}(a,{ignoreFieldNorm:s}),i&&a.sort(o),b(t)&&t>-1&&(a=a.slice(0,t)),function(e,t,{includeMatches:n=_.includeMatches,includeScore:r=_.includeScore}={}){const i=[];return n&&i.push(ie),r&&i.push(oe),e.map(e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach(t=>{t(e,r)}),r})}(a,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=X(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:e,i:n,n:i})=>{if(!j(e))return;const{isMatch:o,score:s,indices:a}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:s,value:e,norm:i,indices:a}]})}),r}_searchLogical(e){const t=re(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:i}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const i=[];for(let o=0,s=e.children.length;o<s;o+=1){const s=e.children[o],a=n(s,t,r);if(a.length)i.push(...a);else if(e.operator===K)return[]}return i},r=this._myIndex.records,i={},o=[];return r.forEach(({$:e,i:r})=>{if(j(e)){let s=n(t,e,r);s.length&&(i[r]||(i[r]={idx:r,item:e,matches:[]},o.push(i[r])),s.forEach(({matches:e})=>{i[r].matches.push(...e)}))}}),o}_searchObjectList(e){const t=X(e,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach(({$:e,i:r})=>{if(!j(e))return;let o=[];n.forEach((n,r)=>{o.push(...this._findMatches({key:n,value:e[r],searcher:t}))}),o.length&&i.push({idx:r,item:e,matches:o})}),i}_findMatches({key:e,value:t,searcher:n}){if(!j(t))return[];let r=[];if(g(t))t.forEach(({v:t,i,n:o})=>{if(!j(t))return;const{isMatch:s,score:a,indices:l}=n.searchIn(t);s&&r.push({score:a,key:e,value:t,idx:i,norm:o,indices:l})});else{const{v:i,n:o}=t,{isMatch:s,score:a,indices:l}=n.searchIn(i);s&&r.push({score:a,key:e,value:i,norm:o,indices:l})}return r}}se.version="7.1.0",se.createIndex=I,se.parseIndex=function(e,{getFn:t=_.getFn,fieldNormWeight:n=_.fieldNormWeight}={}){const{keys:r,records:i}=e,o=new M({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(i),o},se.config=_,se.parseQuery=re,function(...e){Y.push(...e)}(G);var ae={includeScore:!1,useExtendedSearch:!0,fieldNormWeight:2,threshold:.2,fieldLengthNorm:100,distance:1e3,keys:[{name:"title",weight:1},{name:"titleDisplay",weight:1},{name:"origTitle",weight:.5},{name:"subTitle",weight:.5},{name:"directors.name",weight:.3},{name:"actors.character",weight:.4},{name:"actors.name",weight:.4},{name:"genres",weight:.3}]};const le=function(e,t){if(!e||!t||!t[0])return[];var n=t.join(" ");return n?new se(Object.values(e),ae).search(n).flatMap(function(e){return e.item.pk}):[]};var ce=n(74848),ue=n(12111);function de(e){return de="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},de(e)}function fe(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 he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?fe(Object(n),!0).forEach(function(t){me(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function me(e,t,n){return(t=ve(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pe(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,ve(r.key),r)}}function ve(e){var t=function(e,t){if("object"!=de(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=de(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==de(t)?t:t+""}function ge(e,t,n){return t=be(t),function(e,t){if(t&&("object"==de(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)}(e,ye()?Reflect.construct(t,n||[],be(e).constructor):t.apply(e,n))}function ye(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ye=function(){return!!e})()}function be(e){return be=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},be(e)}function we(e,t){return we=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},we(e,t)}const xe=function(e){var t=function(t){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=ge(this,n,[e])).state={allItems:{},activeFilters:{},queryStringValues:{},filterDisplay:"",dayFilterDisplay:"",openFilter:!1,openDayFilter:!1,filterWasSetViaRedirect:!1,filterLoading:!1},t.filterTimeout=null,t.setActiveFilters=t.setActiveFilters.bind(t),t.setAllItems=t.setAllItems.bind(t),t.toggleFilter=t.toggleFilter.bind(t),t.toggleDayFilter=t.toggleDayFilter.bind(t),t}return 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&&we(e,t)}(n,t),r=n,(i=[{key:"componentWillUnmount",value:function(){this.filterTimeout&&clearTimeout(this.filterTimeout)}},{key:"componentDidMount",value:function(){if(""!==this.props.location.search){var e=a.parse(this.props.location.search);this.setActiveFilters(e)}this.setState({filterDisplay:this.props.theme.overview_filter,dayFilterDisplay:this.props.theme.overview_dayfilter})}},{key:"componentDidUpdate",value:function(e,t){var n=this;if(e.location.search!==this.props.location.search&&(""!==this.props.location.search||this.state.filterWasSetViaRedirect||this.setState({filterWasSetViaRedirect:!0}),this.setState({filterLoading:!0},function(){n.filterTimeout=setTimeout(function(){var e=a.parse(n.props.location.search);n.setSearchFilter(e),n.setActiveFilters(e)},0)})),t.activeFilters!==this.state.activeFilters&&this.state.filterLoading&&this.setState({filterLoading:!1}),0!==ue.difference(this.props.moviesOrder,e.moviesOrder).length||ue.isEmpty(this.state.allItems)){var r=this.props,i=r.movies,o=r.moviesOrder,s=r.routesData,l=a.parse(this.props.location.search);this.setAllItems(i,o,s),this.setSearchFilter(l)}}},{key:"toggleFilter",value:function(){this.setState({openFilter:!this.state.openFilter})}},{key:"toggleDayFilter",value:function(){this.setState({openDayFilter:!this.state.openDayFilter})}},{key:"setActiveFilters",value:function(e){var t=this.getActiveFilters(e);(0,l.JZ)("Programm",t),this.setState({activeFilters:t,queryStringValues:e})}},{key:"setSearchFilter",value:function(e){if(e.search){var t=this.props.movies,n=le(t,[e.search]);this.setState(function(e){return{allItems:he(he({},e.allItems),{},{searchFilter:{items:n}})}})}else this.setState(function(e){return{allItems:he(he({},e.allItems),{},{searchFilter:{items:[]}})}})}},{key:"setAllItems",value:function(){var e=this.props,t=e.attributes,n=e.translation,r=e.cinemaDataFront,i=e.movies,o=e.routesData,a=r.hidden_attributes,l=r.hide_theatres,c=r.show_seatclasses_array,u=s(t,l,a,c,n,i,o);this.setState({allItems:u})}},{key:"render",value:function(){var t=this.state,n=t.allItems,r=t.openFilter,i=t.filterDisplay,o=t.dayFilterDisplay,s=t.activeFilters,a=t.queryStringValues,l=t.openDayFilter,c=t.filterWasSetViaRedirect,d=t.filterLoading,h=this.props,m=h.attributes,p=h.moviesOrder,v=h.movies,g=h.timezone,y=h.cinemaDataFront,b=h.performanceData,w=y.ignore_attributes_for_performance_filter;if(!g||!m)return"";var x=(0,f.A)((0,u.A)(g)),j=n.filters,A=n.dayFilters,S=n.searchFilter,O=n.cinemasFilter,k=this.getItems(j,A,S,s,p,v,x,g,w,b,O),P={allItems:n,items:k.items,relevantPerformances:k.relevantPerformances,filters:j,activeFilters:s,dayFilters:A,searchFilter:S,queryStringValues:a,filterWasSetViaRedirect:c,filterLoading:d,openFilter:r,openDayFilter:l,toggleFilter:this.toggleFilter,toggleDayFilter:this.toggleDayFilter,filterDisplay:i,dayFilterDisplay:o};return(0,ce.jsx)(e,he(he({},this.props),P))}}
2])&&pe(r.prototype,i),o&&pe(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,i,o}(r.Component);return Object.assign(t.prototype,v),t}},16159:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(53182),i=n(74030),o=n(74848);const s=function(e){var t=e.genres,n=e.theme;if(t&&t[0]){var s=(0,r.A)(t,", ");return"Arthouse"===n?(0,o.jsx)("p",{className:"text-light genres",children:s}):(0,o.jsxs)("p",{className:"text-light genres",children:[(0,o.jsxs)("span",{className:"typo-color-muted",children:[(0,o.jsx)(i.Ay,{id:"genres",children:"Genres"}),": "]}),s]})}return""}},16426:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},16638:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(23453),i=n(89972),o=n(74848);const s=function(e){var t=e.images,n=e.imageURLs,s=e.imgTag,a=void 0!==s&&s,l=e.onBigImageLoad,c=void 0!==l&&l,u=(0,i.A)(n,t);return(0,o.jsx)("div",{className:"custom-placement-image-container",children:u.map(function(e){return n[e]&&(0,o.jsx)(r.A,{imgKey:e,imgURL:n[e],imgTag:a,imgAlt:t[e]&&t[e].alt?t[e].alt:"",onLoad:c&&!e.endsWith("Scrolled")?c:void 0},e)})})}},16915:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96540);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const s=function(e){var t=i((0,r.useState)(!1),2),n=t[0],o=t[1],s=(0,r.useMemo)(function(){return new IntersectionObserver(function(e){var t=i(e,1)[0];return o(t.isIntersecting)})},[]);return(0,r.useEffect)(function(){return e.current&&s.observe(e.current),function(){s.disconnect()}},[e,s]),n};var a=n(74848);function l(e){return l="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},l(e)}function c(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 u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=function(e){return function(t,n){var i=(0,r.createRef)(null),o=s(i);return(0,a.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({isInViewport:o,refElemViewport:i},t))}}},17290:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(76075),i=n(76942),o=n(12111),s=function(e,t,n,s){var a={items:{},order:[]};if(e&&0!==e.length?n.order.map(function(t){var l=n.items[t],c=l.technologyAttributes,u=l.performances,d=l.limitations.visibleFrom,f=[],h=!1;if(d){var m=(0,r.A)(d,s);h=(0,i.A)(s).isBefore(m)}c&&0!==c.length&&c.map(function(e){if("vorschau"===e.name.toLowerCase()&&u.length>0&&!h)return"";f.push(e.id)}),0===o.intersection(e,f).length&&(a.order.push(t),a.items[t]=l)}):a=n,t){var l={items:{},order:[]};a.order.map(function(e){var t=n.items[e];t.performances.length>0&&(l.order.push(e),l.items[e]=t)}),a=l}return a}},17965:(e,t,n)=>{"use strict";var r=n(16426),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,s,a,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(s=r(),a=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(c),a.selectNodeContents(c),l.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(a):l.removeAllRanges()),c&&document.body.removeChild(c),s()}return u}},19067:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(96540),i=(n(63310),n(56848)),o=n(74848);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}i.Ay.scroller;const l=function(e){var t=e.src,n=e.isShow,i=s((0,r.useState)(0),2),a=i[0],l=i[1],c=function(e){"booking.kinomadlen.ch"===e.origin?e.data:console.log("Unexpected message origin:",e.origin)};(0,r.useEffect)(function(){setTimeout(iFrameResize([{log:!1,checkOrigin:!1,autoResize:!0,heightCalculationMethod:"min"}],"#cortec-iframe-frame"),1e3);var e=document.getElementById("cortec-iframe-frame").getBoundingClientRect().top+window.scrollY-200;return e!==a&&l(Math.round(e)),window.addEventListener("message",c),function(){window.removeEventListener("message",c)}});var u=n?"".concat(t,"&scrollToTop=").concat(a):t;return(0,o.jsx)("div",{id:"cortec-iframe",className:"theme-radius-posters-full",children:(0,o.jsx)("iframe",{id:"cortec-iframe-frame",src:u})})}},19199:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96540),i=n(74848);function o(e){return o="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},o(e)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}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]:{};t%2?l(Object(n),!0).forEach(function(t){u(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}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const d=function(e){var t=e.cinemaPath,n=e.showId,o=e.baseUrl,a=e.cinemaDataProvider,l=e.id,u=e.userbarData,d=sessionStorage.getItem("unidy_id_token"),f=!!(window.pmkinoFrontVars&&window.pmkinoFrontVars.cliData&&window.pmkinoFrontVars.cliData.kinoheldReservationEnabled),h={cinemaPath:t,design:"new",baseUrl:o,cid:a.kinoheldCid,rb:f};h=c(c({},h),{},"kinoheld-performance"===l?{showId:n,element:"iframe-id-"+n}:{element:"iframe-id-userbar"}),d&&(h=c(c({},h),{},{idToken:d}));var m=s((0,r.useState)(!1),2),p=m[0],v=m[1];(0,r.useEffect)(function(){var e;p||window.kinoheldEframe?!p&&window.kinoheldEframe?(v(!0),console.log("kinoheld iframe settings",h),window.kinoheldEframe.init(h)):n&&window.kinoheldEframe.updateConfig({showId:n,cinemaPath:t,element:"iframe-id-"+n}):(v(!0),(e=document.createElement("script")).src=o+"/dist/eframe/eframe.min.js",e.async=!0,e.onload=function(){console.log("kinoheld iframe settings",h),window.kinoheldEframe.init(h)},document.body.appendChild(e))},[n]),(0,r.useEffect)(function(){p&&window.kinoheldEframe&&(d&&u&&u.isLoggedIn?window.kinoheldEframe.updateConfig({idToken:d}):window.kinoheldEframe.updateConfig({idToken:""}))},[u]);var g=n?"iframe-id-"+n:"iframe-id-userbar";
2return(0,i.jsx)("div",{className:"theme-radius-posters-full kinoheld-eframe",id:g})}},20173:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(74030),i=n(74848),o=function(e){var t=e.item,n=e.affiliateSlug,r=t.name,o=t.urlShop,s=t.urlImage,a=t.price,l=r.length>50?r.slice(0,47).trimEnd()+"...":r,c="".concat(o,"?partner=").concat(n),u="".concat(a.amount," ").concat(a.currency);return(0,i.jsx)("div",{className:"movie-merchandising-item-container",children:(0,i.jsx)("div",{className:"movie-merchandising-item theme-radius-posters-full",children:(0,i.jsxs)("a",{href:c,target:"_blank",className:"movie-merchandising-link",children:[(0,i.jsx)("img",{src:s,alt:r,className:"movie-merchandising-image"}),(0,i.jsxs)("div",{className:"movie-merchandising-info theme-radius-posters-full accent-color-border text-medium",children:[(0,i.jsx)("span",{className:"movie-merchandising-title text-light",children:l}),(0,i.jsx)("span",{className:"movie-merchandising-price text-light button theme-radius-buttons-full",children:u})]})]})})})};const s=function(e){var t=e.ids,n=e.data,s=e.movieTitle;if(n.settings.hasOwnProperty("affiliateSlug")&&n.settings.affiliateSlug&&t&&0!==t.length){var a=n.items,l=n.settings.affiliateSlug;return(0,i.jsxs)("div",{className:"movie-merchandising-container theme-radius-posters-full",children:[(0,i.jsx)("h3",{className:"text-large-bold",children:(0,i.jsx)(r.Ay,{id:"elbenwaldArticle",children:"Fanartikel"})}),(0,i.jsxs)("h4",{className:"text-large-medium",children:[(0,i.jsx)(r.Ay,{id:"elbenwaldArticleTo",after:" ",children:"zu"}),s]}),(0,i.jsx)("div",{className:"movie-merchandising theme-radius-posters-full",children:t.map(function(e){return(0,i.jsx)(o,{item:a[e],affiliateSlug:l},e)})})]})}return""}},20181:(e,t,n)=>{var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,f=Math.max,h=Math.min,m=function(){return u.Date.now()};function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(p(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=p(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=o.test(e);return n||s.test(e)?a(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,o,s,a,l,c=0,u=!1,d=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,o=i;return r=i=void 0,c=t,s=e.apply(o,n)}function b(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=o}function w(){var e=m();if(b(e))return x(e);a=setTimeout(w,function(e){var n=t-(e-l);return d?h(n,o-(e-c)):n}(e))}function x(e){return a=void 0,g&&r?y(e):(r=i=void 0,s)}function j(){var e=m(),n=b(e);if(r=arguments,i=this,l=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(w,t),u?y(e):s}(l);if(d)return a=setTimeout(w,t),y(l)}return void 0===a&&(a=setTimeout(w,t)),s}return t=v(t)||0,p(n)&&(u=!!n.leading,o=(d="maxWait"in n)?f(v(n.maxWait)||0,t):o,g="trailing"in n?!!n.trailing:g),j.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=i=a=void 0},j.flush=function(){return void 0===a?s:x(m())},j}},20469:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return!1===e||"0"===e||0===e||!e}},21816:(e,t,n)=>{"use strict";n.d(t,{A:()=>je});var r=n(96540),i=n(7897),o=n(4816),s=n(51432),a=n(39876),l=n(90141),c=n(74848);function u(e){return u="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},u(e)}function d(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 f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h=function(e){return function(t,n){var r=t.movieData,i=r.limitations,o=r.startingDate,s=i.visibleFrom,a=i.showCountdown,u=(0,l.L)(s||o,a);return(0,c.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({countdownNumbers:u},t))}};var m=n(74030),p=n(37991),v=n(84196),g=n(15049),y=n(53392),b=n(95641),w=n(83341),x=n(83751),j=n(76075),A=n(95640),S=n(73760);const O=function(e){e.attributeId;return""};var k=n(6649),P=n(12111);const C=function(e){var t=e.attributes,n=e.hideTheatres,r=e.hideAttributes,i=e.seatClasses,o=e.showSeatClassesArray,s=e.cinedomXAttributes,a=e.theatreName,l=void 0!==a&&a,u=e.cinemaName,d=void 0!==u&&u,f=e.bluePricesClass,h=void 0===f?"":f,m=null,p=[],v=!1,g=P.pluck(t,"id");(P.contains(g,"cinedom x")&&(v=!0),o&&!P.isEmpty(i)&&i.map(function(e){var t=e.id;P.contains(o,t)&&p.push(e)}),0!==p.length)&&(m=(0,S.A)(p).map(function(e,t){var n=e.name,r=String(e.id),i=P.contains(A.oy,r)?"attribute-logo seat-class-logo":"seat-class-name",o=P.contains(A.oy,r)?"screen-reader-text":"";return(0,c.jsxs)("span",{className:r+" "+i+" ","data-attribute":r,children:[(0,c.jsx)(O,{attributeId:r}),(0,c.jsx)("span",{className:o+" text-medium",children:n})]},t)}));return(0,c.jsxs)("div",{className:"performance-attributes theme-radius-posters-bottom"+h,children:[(!n||"false"===n||d)&&(0,c.jsxs)("span",{className:"text-light-grey theatre-name",children:[d&&d,(!n||"false"===n)&&d&&" - ",(!n||"false"===n)&&l]}),m&&m,g&&!r&&(0,c.jsx)(k.A,{cinedomX:v,cinedomXAttributes:s,attributes:g,canBeColored:!0,performanceAttribute:!0,doNotHideCinedomX:!0})]})};var E=n(54560);const _=(0,v.Ng)((0,E.A)(function(e,t){return{cinemaDataFront:(0,y.A)(e,g.FRONT),cinemas:(0,y.A)(e,g.PROGRAM_CINEMAS),cliData:(0,y.A)(e,g.CLI)}}),null)(function(e){var t,n=e.cinemaDataFront,r=e.cinemas,i=e.cliData,o=e.hideAttributes,s=e.attributes,a=e.cinedomXAttributes,l=void 0===a?null:a,u=e.theatreName,d=void 0!==u&&u,f=e.cinema,h=void 0!==f&&f,m=e.hideTheatres,p=void 0!==m&&m,v=e.bluePricesClass,g=void 0===v?"":v,y=e.seatClasses,b=void 0===y?[]:y,w=n.hide_theatres,x=n.show_seatclasses_array;return"multi"===r[i.currentCinemaId].scope.type&&h&&(t=r[h]&&r[h].nameDisplay),(0,c.jsx)(C,{attributes:s,hideTheatres:p||w,showSeatClassesArray:x,seatClasses:b,cinedomXAttributes:l,hideAttributes:o,theatreName:d,cinemaName:t,bluePricesClass:g})});const T=function(e){var t=e.showShowtimes,n=e.alternativeLink,r=e.showPerformancePrice,i=e.showBookHere,o=e.performances,s=e.className,a=void 0===s?"text-bold-grey":s,l=e.locale,u=e.occupationPercentDisplay,d=e.occupationPercentStyle,f=e.occupationPercent;return t?o.map(function(e,t){var o=e.theatreName,s=e.attributes,h=e.priceInfo,v=e.seatClasses,g=e.timeUtc,y=e.cinema,b=!1;if(h&&r&&h[r]){var w=h[r];b=w?w.amount.toLocaleString(l,{style:"currency",currency:w.currency}):null}return(0,c.jsxs)("a",{href:n,rel:"noreferrer",target:"_blank",className:"show-wrapper theme-radius-posters-full cursor-pointer",children:[(0,c.jsxs)("div",{className:"showtime-time-occupation-wrapper "+u,children:["do_not_display"!==u&&(0,c.jsx)("span",{className:"occupation-percent "+u,style:d,children:(0,c.jsxs)("span",{className:"screen-reader-text",children:[f,"%"]})}),(0,c.jsxs)("span",{className:"showtime "+a,children:[" ",(0,c.jsx)(p.A,{id:"showtimePerformance",timeString:g})]})]}),i&&(0,c.jsx)("span",{className:"text-light book-here-hint",children:(0,c.jsx)(m.Ay,{id:"book_here",children:"Hier buchen"})}),r&&b&&(0,c.jsxs)("span",{className:"text-light performance-price",children:[(0,c.jsx)(m.Ay,{id:"from",children:"Ab"})," ",b]}),(0,c.jsx)(_,{seatClasses:v,attributes:s,theatreName:o,cinema:y})]},t)}):(0,c.jsx)("div",{className:"movie-alternative-link-container",children:(0,c.jsxs)("div",{className:"button movie-alternative-button-link-wrapper cursor-pointer buy-ticket-large",children:[(0,c.jsx)("div",{className:"ticket-icon",children:(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 129.43 128.25",children:(0,c.jsx)("g",{id:"Ebene_2","data-name":"Ebene 2",children:(0,c.jsxs)("g",{id:"Ebene_1-2","data-name":"Ebene 1",children:[(0,c.jsx)("path",{className:"cls-1",d:"M16.53,96.92c-3-4.13-6.29-8.5-9.41-13C4.79,80.55,6.31,78.2,9.31,76Q45.19,50.26,81,24.35c3.1-2.24,6.27-4.4,9.31-6.71,3.21-2.44,5.79-1.88,8,1.29,1.64,2.3,3.21,4.66,5,6.84,2.88,3.52,4.3,6.78.86,11-2.15,2.64-1.57,6.13.52,8.84s5.29,4.28,8.82,2.92c3.85-1.48,6.33-.28,8.42,3,1.71,2.66,3.68,5.14,5.5,7.73,3,4.24,2.73,5.87-1.61,9q-26.27,19-52.59,38Q59.5,116.2,45.72,126.13c-4.35,3.12-5.91,2.87-9.08-1.3-1.3-1.72-2.42-3.59-3.79-5.26-3.25-3.94-5.57-7.62-1.45-12.7,2.15-2.64,1.11-6.13-1.22-8.69s-5.42-3.72-9-2.31C20,96.34,19,97.47,16.53,96.92Zm16.83,15.77,8.1,11L124.84,63.4l-7.87-11c-6.28,1.81-11.88,1.3-15.87-4.11C97,42.68,97.93,37.06,102,31.63c-2.65-3.65-5.28-7.25-8-11L10.35,80.8l8,11.09c6.3-1.73,11.76-1.28,15.71,3.9C38.38,101.48,37.32,107.23,33.36,112.69Z"}),(0,c.jsx)("path",{className:"cls-1",d:"M9.31,76l8.9-6.41L57.66,4.46l11.69,7c-1.6,6.58-.26,12.13,5.71,15.66.41.24.81.44,1.21.64l4.53-3.27a9.71,9.71,0,0,1-3.45-1.21c-3-1.67-4.88-4.65-3.94-7.93,1.5-5.25-1.08-7.69-5.11-9.8C65.79,4.22,63.42,2.67,61,1.19c-3.31-2-5.91-1.53-7.9,2-1.9,3.32-4,6.55-5.94,9.82Q28,44.68,8.91,76.34Z"}),(0,c.jsx)("path",{className:"cls-1",d:"M32.55,103.1a8.7,8.7,0,0,0-2.37-4.92,8.56,8.56,0,0,0-4.4-2.77c-3.35.09-6.57,1.71-9.76,4.25L4.31,92.59c1.37-2.28,2.75-4.54,4.12-6.82-.44-.61-.87-1.22-1.31-1.85A5.76,5.76,0,0,1,6,81.14q-2.25,3.73-4.51,7.47C-.43,91.77-.9,94.53,2.57,96.72c4.62,2.92,9.36,5.65,13.74,8.27,2.45-.45,2.93-1.88,3.85-2.78,2.76-2.71,5.91-2.92,9.2-1.41A9.75,9.75,0,0,1,32.55,103.1Z"}),(0,c.jsx)("rect",{className:"cls-1",x:"68.74",y:"43.59",width:"11",height:"4.59",transform:"matrix(0.58, 0.81, -0.81, 0.58, 68.03, -41.17)"}),(0,c.jsx)("rect",{className:"cls-1",x:"78.89",y:"57.74",width:"11",height:"4.59",transform:"translate(83.73 -43.53) rotate(54.21)"}),(0,c.jsx)("rect",{className:"cls-1",x:"89.05",y:"71.68",width:"11",height:"4.59",transform:"translate(99.25 -45.98) rotate(54.21)"}),(0,c.jsx)("rect",{className:"cls-1",x:"44.13",y:"33.01",width:"11",height:"4.59",transform:"translate(25.36 -20.56) rotate(31.09)"})]})})})}),(0,c.jsx)("a",{className:"movie-alternative-link-link cursor-pointer",href:n,rel:"noreferrer",target:"_blank",children:(0,c.jsx)("span",{className:"movie-buy-tickets-button-link-text",children:(0,c.jsx)(m.Ay,{id:"tickets",children:"Tickets"})})})]})})};var M=n(12814),I=n(76942),N=n(12111);const D=function(e){var t,n=e.movieId,r=e.movieTitle,i=e.performance,o=e.showPerformancePrice,s=e.showBookHere,a=e.locale,l=e.timezone,u=e.alternativeLinks,d=e.onOpenIframe,f=e.hideAttributes,h=void 0!==f&&f,v=e.activePerformance,g=e.isMobile,y=e.hideTheatres,b=e.showAttributes,A=e.toggleShowtimes,S=e.scrollToPosition,O=e.showtimeClass,k=void 0===O?"text-bold-grey":O,P=e.occupationPercentDisplay,C=e.occupationPercentDisplaySettings,E=e.isVistaProvider,D=void 0!==E&&E,L=i.id,R=i.timeUtc,F=i.theatreName,V=i.deeplinkURL,$=i.attributes,B=i.cinema,U=i.priceInfo,H=i.seatClasses,W=i.refPk,z=i.occupationPercent,Z=(0,I.A)(l),q=!1;if(C&&C.map(function(e){var n=e.start_percentage,r=e.end_percentage,i=e.color_percentage;z>=n&&z<=r&&(t={backgroundColor:i})}),U&&o&&U[o]){var G=U[o];
2q=G?G.amount.toLocaleString(a,{style:"currency",currency:G.currency}):null}var Y=(0,c.jsx)(p.A,{id:"showtimePerformance",timeString:R}),X=v&&L===v.id?" active-performance-date":"",K=N.pluck($,"id"),Q=(0,M.A)(K),J=u&&u[B];return(0,x.A)(Z,(0,j.A)(R,l))?J?(0,c.jsx)(T,{showShowtimes:!0,alternativeLink:J,showPerformancePrice:o,showBookHere:s,performances:[i],className:"text-bold-grey",locale:a,occupationPercentDisplay:P,occupationPercentStyle:t,occupationPercent:z}):"function"==typeof d&&S&&!D?(0,c.jsxs)(w.A,{className:"show-wrapper theme-radius-posters-full cursor-pointer"+X+Q+" "+n,to:S+" performance-iframe",smooth:!0,offset:-200,onClick:function(){g&&A(),d({id:L,timeUtc:R,url:V,movieId:n,movieTitle:r,cinema:B,refPk:W})},children:[(0,c.jsxs)("div",{className:"showtime-time-occupation-wrapper "+P,children:["do_not_display"!==P&&(0,c.jsx)("span",{className:"occupation-percent "+P,style:t,children:(0,c.jsxs)("span",{className:"screen-reader-text",children:[z,"%"]})}),(0,c.jsx)("span",{className:k+" showtime",children:Y})]}),o&&q&&(0,c.jsxs)("span",{className:"text-light performance-price",children:[(0,c.jsx)(m.Ay,{id:"from",children:"Ab"})," ",q]}),s&&(0,c.jsx)("span",{className:"text-light book-here-hint",children:(0,c.jsx)(m.Ay,{id:"book_here",children:"Hier buchen"})}),!y&&!b&&(0,c.jsx)(_,{seatClasses:null,bluePricesClass:Q,hideTheatres:y,attributes:[],theatreName:F,cinema:B}),b&&(0,c.jsx)(_,{seatClasses:H,bluePricesClass:Q,hideTheatres:y,hideAttributes:h,attributes:$,theatreName:F,cinema:B})]}):(0,c.jsxs)("a",{href:V,rel:"noreferrer",target:D?"_self":"_blank",className:"show-wrapper theme-radius-posters-full cursor-pointer "+n,children:[(0,c.jsxs)("div",{className:"showtime-time-occupation-wrapper "+P,children:["do_not_display"!==P&&(0,c.jsx)("span",{className:"occupation-percent "+P,style:t,children:(0,c.jsxs)("span",{className:"screen-reader-text",children:[z,"%"]})}),(0,c.jsx)("span",{className:k+" showtime",children:Y})]}),o&&q&&(0,c.jsxs)("span",{className:"text-light performance-price",children:[(0,c.jsx)(m.Ay,{id:"from",children:"Ab"})," ",q]}),s&&(0,c.jsx)("span",{className:"text-light book-here-hint",children:(0,c.jsx)(m.Ay,{id:"book_here",children:"Hier buchen"})}),!y&&!b&&(0,c.jsx)(_,{seatClasses:null,bluePricesClass:Q,hideTheatres:y,attributes:[],theatreName:F,cinema:B}),b&&(0,c.jsx)(_,{seatClasses:H,bluePricesClass:Q,hideTheatres:y,attributes:$,theatreName:F,cinema:B})]}):""};var L=n(44317),R=n(12111);const F=(0,v.Ng)((0,E.A)(function(e,t){return{performanceData:(0,y.A)(e,[g.PROGRAM_PERFORMANCES_ITEMS,t.performanceId]),cinemaDataFront:(0,y.A)(e,g.FRONT),cinemas:(0,y.A)(e,g.PROGRAM_CINEMAS)}}),null)((0,b.A)(function(e){var t=e.performanceData,n=e.cinemaDataFront,r=e.cinemas,i=e.movieId,o=e.movieTitle,s=e.relevantPerformances,a=void 0===s?null:s,l=e.performanceId,u=e.showPerformancePrice,d=e.showBookHere,f=e.locale,h=e.timezone,m=e.alternativeLinks,p=e.onOpenIframe,v=e.showAttributes,g=e.hideAttributes,y=void 0!==g&&g,b=e.hideTheatres,w=e.activePerformance,x=e.isMobile,j=e.toggleShowtimes,A=e.scrollToPosition,S=e.showtimeClass,O=e.queryStringValues,k=r&&t&&r[t.cinema]?r[t.cinema].scope.cinemaDataProvider:null,P=!!k&&k.type===L.Ac;if(!t||a&&!R.contains(a,l))return"";if(O&&O.hideAttributes){var C=R.isArray(O.hideAttributes)?O.hideAttributes:[O.hideAttributes],E=R.plu
2ck(t.attributes,"id");if(0!==R.intersection(E,C).length)return""}return(0,c.jsx)(D,{movieId:i,movieTitle:o,performance:t,toggleShowtimes:j,showPerformancePrice:u,showBookHere:d,showAttributes:v,activePerformance:w,alternativeLinks:m,hideTheatres:b,timezone:h,locale:f,occupationPercentDisplaySettings:n&&n.occupation_percent_display_settings,occupationPercentDisplay:n&&n.occupation_percent_display,hideAttributes:y,isMobile:x,scrollToPosition:A,onOpenIframe:p,showtimeClass:S,isVistaProvider:P})}));var V=n(58955),$=n(60683),B=n(24237),U=n(12111);const H=function(e,t,n){if(!t||!t.time)return!0;var r=(0,I.A)(n),i=(0,B.A)((0,j.A)(r)),o=(0,B.A)((0,j.A)(e));if("today"===t.time)return i.isSame(o);if("tomorrow"===t.time)return(0,B.A)((0,V.A)(r)).isSame(o);if("week"===t.time){var s=(0,B.A)((0,$.A)(i,6));return i.isSameOrBefore(o)&&s.isSameOrAfter(o)}var a=U.find(t.time,function(e){return-1!==e.search("start")}),l=U.find(t.time,function(e){return-1!==e.search("end")});if(a&&l){var c=(0,B.A)((0,j.A)(parseInt(a.split(":")[1]),n)),u=(0,B.A)((0,j.A)(parseInt(l.split(":")[1]),n));return c.isSameOrBefore(o)&&u.isSameOrAfter(o)}return!0};var W=n(8689),z=n(12111),Z=function(e){var t=e.movieId,n=e.movieTitle,r=e.itemData,i=e.relevantPerformances,o=e.showPerformancePrice,s=e.showBookHere,a=e.movieTimesDesktop,l=e.locale,u=e.timezone,d=e.alternativeLinks,f=e.refInner,h=void 0===f?null:f,m=e.onOpenIframe,p=e.hideAttributes,v=void 0!==p&&p,g=e.activePerformance,y=e.isMobile,b=void 0!==y&&y,w=e.showtimeClass,x=void 0===w?"text-bold-grey":w,j=e.toggleShowtimes,A=void 0!==j&&j,S=e.scrollToPosition,O=e.hideTheatres,P=void 0!==O&&O,C=e.showAttributes,E=void 0===C||C,_=e.rerenderCounter,T=void 0===_?0:_,M=e.queryStringValues;if(!r||T>4)return"";var I=r.type,N=r.attr_display,D=r.text_display,L=r.data;if("colDate"===I)return r.date&&!H(r.date,M,u)?null:L.map(function(e,f){var h=(0,W.A)(r.date,u),p=(0,W.A)(new Date,u)===h&&!b&&"standard"!==a?" is-today":"";return(0,c.jsx)("div",{className:"showtime-container"+p,children:(0,c.jsx)(Z,{movieId:t,movieTitle:n,itemData:e,toggleShowtimes:A,relevantPerformances:i,rerenderCounter:T+1,showPerformancePrice:o,showBookHere:s,activePerformance:g,alternativeLinks:d,timezone:u,locale:l,showtimeClass:x,isMobile:b,showAttributes:E,hideTheatres:P,scrollToPosition:S,onOpenIframe:m,queryStringValues:M})},f)});if("performances"===I)return L.map(function(e,r){if(e)return(0,c.jsx)(F,{movieId:t,movieTitle:n,toggleShowtimes:A,relevantPerformances:i,showPerformancePrice:o,showBookHere:s,activePerformance:g,alternativeLinks:d,timezone:u,locale:l,showAttributes:E,hideTheatres:P,showtimeClass:x,hideAttributes:v,isMobile:b,scrollToPosition:S,onOpenIframe:m,performanceId:e,queryStringValues:M},r)});if("rowCinema"===I){var R=function(e){return e.some(function(e){return"performances"===e.type?z.intersection(e.data,i).length>0:!(e.date&&M&&!H(e.date,M,u))&&(e.data&&R(e.data))})};return R(L)?(0,c.jsxs)("div",{className:"theater-and-performance-container",ref:h,children:[(0,c.jsx)("div",{className:"theatre-and-attributes-wrapper",children:(0,c.jsx)("div",{className:"title-xlarge-theatre theatre",children:D})}),(0,c.jsx)("div",{className:"movie-times-grid",children:L.map(function(e,r){return(0,c.jsx)(Z,{movieId:t,movieTitle:n,itemData:e,toggleShowtimes:A,relevantPerformances:i,rerenderCounter:T+1,showPerformancePrice:o,showBookHere:s,activePerformance:g,alternativeLinks:d,showtimeClass:"text-bold-grey-showtimes-desktop ",timezone:u,locale:l,isMobile:b,showAttributes:!0,hideTheatres:!1,scrollToPosition:S,onOpenIframe:m,queryStringValues:M},r)})})]}):null}if("rowAttributes"===I){var V=function(e){return e.some(function(e){return"performances"===e.type?z.intersection(e.data,i).length>0:!(e.date&&M&&!H(e.date,M,u))&&(e.data&&V(e.data))})};if(!V(L))return null;var $="",B=[],U=[];return N&&N.map(function(e){z.contains(N,"cinedom x")&&($=" cinedom-x-class"),!z.contains(N,"cinedom x")||"hdr"!==e&&"atmos"!==e?U.push(e):z.contains(B,e)||B.push(e)}),(0,c.jsxs)("div",{className:"theater-and-performance-container",ref:h,children:[(0,c.jsx)("div",{className:"theatre-and-attributes-wrapper"+$,children:(0,c.jsx)("div",{className:"attributes-container",children:(0,c.jsx)("div",{className:"performance-attributes",children:N&&U&&(0,c.jsx)(k.A,{attributes:U,cinedomXAttributes:B,canBeColored:!0,performanceAttribute:!0})})})}),(0,c.jsx)("div",{className:"movie-times-grid",children:L.map(function(e,r){return(0,c.jsx)(Z,{movieId:t,movieTitle:n,itemData:e,toggleShowtimes:A,relevantPerformances:i,rerenderCounter:T+1,showPerformancePrice:o,showBookHere:s,activePerformance:g,alternativeLinks:d,showtimeClass:"text-bold-grey-showtimes-desktop ",timezone:u,locale:l,isMobile:b,showAttributes:!1,hideTheatres:!1,scrollToPosition:S,onOpenIframe:m,queryStringValues:M},r)})})]})}if("rowTheaterAttributes"===I){var q=function(e){return e.some(function(e){return"performances"===e.type?z.intersection(e.data,i).length>0:!(e.date&&M&&!H(e.date,M,u))&&(e.data&&q(e.data))})};if(!q(L))return null;var G="",Y=[],X=[];return N&&N.map(function(e){z.contains(N,"cinedom x")&&(G=" cinedom-x-class"),!z.contains(N,"cinedom x")||"hdr"!==e&&"atmos"!==e?X.push(e):z.contains(Y,e)||Y.push(e)}),(0,c.jsxs)("div",{className:"theater-and-performance-container",ref:h,children:[(0,c.jsxs)("div",{className:"theatre-and-attributes-wrapper"+G,children:[(0,c.jsx)("div",{className:"title-xlarge-theatre theatre",children:D}),(0,c.jsx)("div",{className:"attributes",children:N&&X&&(0,c.jsx)(k.A,{attributes:X,cinedomXAttributes:Y,canBeColored:!0})})]}),(0,c.jsx)("div",{className:"movie-times-grid",children:L.map(function(e,r){return(0,c.jsx)(Z,{movieId:t,movieTitle:n,itemData:e,toggleShowtimes:A,relevantPerformances:i,rerenderCounter:T+1,showPerformancePrice:o,showBookHere:s,activePerformance:g,alternativeLinks:d,showtimeClass:"text-bold-grey-showtimes-desktop ",timezone:u,locale:l,isMobile:b,showAttributes:!1,hideTheatres:!0,scrollToPosition:S,onOpenIframe:m,queryStringValues:M},r)})})]})}return"slideDate"===I?r.date&&!H(r.date,M,u)?null:(0,c.jsx)("div",{className:"sorted-showtimes-wrapper",children:L.map(function(e,r){return(0,c.jsx)(Z,{movieId:t,movieTitle:n,itemData:e,toggleShowtimes:A,relevantPerformances:i,rerenderCounter:T+1,showPerformancePrice:o,showBookHere:s,activePerformance:g,alternativeLinks:d,showtimeClass:"text-bold-grey-showtimes-desktop ",timezone:u,locale:l,isMobile:b,showAttributes:!1,hideTheatres:!0,scrollToPosition:S,onOpenIframe:m,queryStringValues:M},r)})}):""};const q=Z;var G=n(4589),Y=n(44609);
2const X=function(e){var t=e.headerItem,n=e.timezone,r=e.currentDateActive,i=e.index,o=e.setCurrentDateActive,s=e.isSlider,a=e.movieTimesDesktop,l=e.movieTimesMobile,u=e.isMobile,d=t.date,f=t.totalPerformancesLength;if(u&&0===f)return"";var h=(0,B.A)((0,I.A)(n)),v=(0,W.A)(h),g=(0,W.A)(d,n),y=v===g,b=g===r?" active-day":"",w=y?" accent-color-background":" accent-color-background-dark",x=y?(0,c.jsx)(m.Ay,{id:"today",children:"Heute"}):(0,c.jsx)(p.A,{id:"performanceDates",timeString:g}),j=y||f>0?"":" no-performances";return u?"standard"!==l?s?(0,c.jsx)("div",{className:"date-slider-day-wrapper",children:(0,c.jsx)("p",{className:"date-slider-day",children:x})}):(0,c.jsx)("div",{className:"date-slider-day-wrapper"+b,onClick:function(){o(g,i)},children:(0,c.jsx)("p",{className:"date-slider-day",children:x})}):(0,c.jsx)("button",{className:"date text-light"+w,onClick:function(){return o(g)},children:x}):"standard"===a?(0,c.jsx)("div",{className:"date text-light"+w,children:x}):(0,c.jsx)("div",{className:"date text-light "+w+j,children:x})};var K=n(12111);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 J(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 ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach(function(t){te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function te(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Q(e)||!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:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return re(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?re(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const ie=function(e){var t=e.movieTimesMobile,n=e.movieTimesDesktop,i=e.movieTitle,o=e.movieId,s=e.relevantPerformances,a=e.header,l=e.timezone,u=e.locale,d=e.showPerformancePrice,f=e.showBookHere,h=e.activePerformance,m=e.isMobile,p=e.scrollToPosition,v=e.onOpenIframe,g=e.toggleShowtimes,y=e.body,b=e.alternativeLinks,w=e.queryStringValues,x=e.initialDateActive,j=void 0===x?null:x;if(0===a.length)return"";var A=(0,B.A)((0,I.A)(l)),S=(0,W.A)(A),O=ne((0,r.useState)(""),2),k=O[0],P=O[1],C=ne((0,r.useState)(0),2),E=(C[0],C[1]),_=(0,r.useRef)(null),T={infinite:!0,speed:500,slidesToShow:3,slidesToScroll:1,arrows:!0,focusOnSelect:!0,swipeToSlide:!0,beforeChange:function(e,t){var n=K.reject(a,function(e){return 0===e.totalPerformancesLength})[t],r=(0,W.A)(n.date,l);r!==k&&(P(r),E(t))},afterChange:function(e){var t=K.reject(a,function(e){return 0===e.totalPerformancesLength})[e],n=(0,W.A)(t.date,l);n!==k&&(P(n),E(e))},nextArrow:(0,c.jsx)(Y.q,{}),prevArrow:(0,c.jsx)(Y.w,{})},M=a,N=y;if(w&&w.time){var D=a.reduce(function(e,t,n){return H(t.date,w,l)&&(e.header.push(t),e.body.push(y[n])),e},{header:[],body:[]});M=D.header,N=D.body}(0,r.useEffect)(function(){if(m&&0!==M.length){var e=K.reject(M,function(e){return 0===e.totalPerformancesLength});if(e.length>0){if(j){var t=e.findIndex(function(e){return(0,W.A)(e.date,l)===j});if(-1!==t)return P(j),void E(t)}var n=(0,W.A)(e[0].date,l);P(n),E(0)}}},[w&&w.time,j]);var L=function(e,t){e&&(P(e),E(t))};if(!m&&(m||"standard"!==n))return(0,c.jsx)("div",{className:"movie-times-grid",children:M.length>0&&M.map(function(e,r){return(0,c.jsx)(X,{headerItem:e,movieTimesDesktop:n,movieTimesMobile:t,isMobile:m,timezone:l,currentDateActive:k,setCurrentDateActive:P},r)})});var R=function(e){return!!e&&("performances"===e.type?K.intersection(e.data,s).length>0:!!Array.isArray(e.data)&&e.data.some(function(e){return R(e)}))},F=M.reduce(function(e,t,n){var r=N[n];return t.totalPerformancesLength>0&&R(r)&&(e.headers.push(t),e.bodies.push(r)),e},{headers:[],bodies:[]}),V=F.headers,$=F.bodies;if(m&&"standard"!==t){var U=V.findIndex(function(e){return(0,W.A)(e.date,l)===k}),z=$[-1!==U?U:0],Z=-1===U&&V.length>0?(0,W.A)(V[0].date,l):k;return(0,c.jsxs)(c.Fragment,{children:[V.length<4?(0,c.jsx)("div",{className:"date-slider-day-container",children:V.map(function(e,r){return(0,c.jsx)(X,{index:r,headerItem:e,movieTimesDesktop:n,movieTimesMobile:t,isMobile:m,timezone:l,currentDateActive:Z,setCurrentDateActive:L},r)})}):(0,c.jsx)(G.A,ee(ee({ref:_,className:"date-slider"},T),{},{children:V.map(function(e,r){return(0,c.jsx)(X,{headerItem:e,movieTimesDesktop:n,movieTimesMobile:t,isMobile:m,timezone:l,currentDateActive:Z,isSli
2der:!0},r)})})),z&&(0,c.jsx)(q,{movieId:o,movieTitle:i,itemData:z,toggleShowtimes:g,showPerformancePrice:d,showBookHere:f,relevantPerformances:s,movieTimesDesktop:n,activePerformance:h,alternativeLinks:b,timezone:l,locale:u,isMobile:m,scrollToPosition:p,onOpenIframe:v,queryStringValues:w})]})}return!m&&"standard"===n||m?M.length>0&&M.map(function(e,r){var a=e.date,y=e.totalPerformancesLength,x=(0,W.A)(a,l),j=x===S,A=y>0&&R(N[r]),O=A||j?!A&&j?" display-none":j?" today":"":" display-none no-performances",C=m?k===x?" active":" not-visible":"",E=m&&k===x||!m&&"standard"===n?N[r]:null;return(0,c.jsxs)("div",{className:"movie-times-item triangle-right movie-times-item-"+r+O+C,children:[(0,c.jsx)(X,{headerItem:e,movieTimesDesktop:n,movieTimesMobile:t,isMobile:m,timezone:l,currentDateActive:k,setCurrentDateActive:P},r),E&&(0,c.jsx)(q,{movieId:o,movieTitle:i,relevantPerformances:s,itemData:E,toggleShowtimes:g,showPerformancePrice:d,showBookHere:f,activePerformance:h,alternativeLinks:b,movieTimesDesktop:n,timezone:l,locale:u,isMobile:m,scrollToPosition:p,onOpenIframe:v,queryStringValues:w})]},r)}):void 0};function oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return se(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?se(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const ae=(0,v.Ng)((0,E.A)(function(e,t){return{cinemaDataFront:(0,y.A)(e,g.FRONT),translation:(0,y.A)(e,g.TRANSLATION)}}),null)(function(e){var t=e.cinemaDataFront,n=e.translation,i=e.movieId,o=e.movieTitle,s=e.movieTimes,a=e.movieTimesDesktop,l=e.movieTimesMobile,u=e.relevantPerformances,d=e.activePerformance,f=e.alternativeLinks,h=e.isMobile,m=e.scrollToPosition,p=e.onOpenIframe,v=e.toggleShowtimes,g=e.queryStringValues,y=e.initialDateActive;if(!s)return"";var b=t.show_performancePrice,w=t.show_book_here,x=s.header,j=s.body,A=n.timezone,S=n.locale,O=(0,r.useRef)(),k=(0,r.useRef)(),P=function(e,t,n){var i=oe((0,r.useState)(void 0),2),o=i[0],s=i[1],a=oe((0,r.useState)(void 0),2),l=a[0],c=a[1],u=oe((0,r.useState)(void 0),2),d=u[0],f=u[1];return(0,r.useLayoutEffect)(function(){var r,i=e.current,o=t.current,a=function(){var e=i.scrollWidth>i.clientWidth;s(e),n&&n(e)},u=function(){var e,t,r,s;o&&(e=Math.floor(o.getBoundingClientRect().left),t=Math.floor(o.getBoundingClientRect().right),r=Math.floor(i.getBoundingClientRect().left),s=Math.floor(i.getBoundingClientRect().right));var a=s+5<t;c(r-5>e),f(a),n&&n(l,d)},h=function(){return u()};return i&&("ResizeObserver"in window&&(r=new ResizeObserver(a)).observe(i),i.addEventListener("scroll",h),a(),u()),function(){r&&r.disconnect(),i&&i.removeEventListener("scroll",h)}},[n,e]),{isOverflow:o,needsScrollingLeft:l,needsScrollingRight:d}}(O,k),C=P.isOverflow,E=P.needsScrollingLeft,_=P.needsScrollingRight,T=h?"standard"!==l?"mobile-slider-movietimes":"":"standard"!==a?"movie-times-desktop movie-times-days-"+x.length:"";return(0,c.jsxs)("div",{className:T,ref:O,children:[C&&E&&(0,c.jsx)(SliderArrowPrev,{onClick:function(){O.current.scrollBy({top:0,left:-160,behavior:"smooth"})}}),(0,c.jsx)("div",{className:"movie-times-header",children:(0,c.jsx)(ie,{movieTimesMobile:l,movieTimesDesktop:a,relevantPerformances:u,timezone:A,header:x,body:j,locale:S,movieTitle:o,movieId:i,showPerformancePrice:b,showBookHere:w,activePerformance:d,isMobile:h,scrollToPosition:m,onOpenIframe:p,toggleShowtimes:v,alternativeLinks:f,queryStringValues:g,initialDateActive:y})}),!h&&"standard"!==a&&(0,c.jsx)("div",{className:"movie-times-body",children:j.length>0&&j.map(function(e,t){return(0,c.jsx)(q,{movieId:i,movieTitle:o,movieTimesDesktop:a,relevantPerformances:u,itemData:e,toggleShowtimes:v,showPerformancePrice:b,showBookHere:w,activePerformance:d,alternativeLinks:f,timezone:A,locale:S,isMobile:h,scrollToPosition:m,onOpenIframe:p,queryStringValues:g},t)})}),C&&_&&(0,c.jsx)(SliderArrowNext,{onClick:function(){O.current.scrollBy({top:0,left:160,behavior:"smooth"})}})]})});var le=n(95969),ce=n(12111);function ue(e){return ue="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},ue(e)}function de(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,fe(r.key),r)}}function fe(e){var t=function(e,t){if("object"!=ue(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ue(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ue(t)?t:t+""}function he(e,t,n){return t=pe(t),function(e,t){if(t&&("object"==ue(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)}(e,me()?Reflect.construct(t,n||[],pe(e).constructor):t.apply(e,n))}function me(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(me=function(){return!!e})()}function pe(e){return pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pe(e)}function ve(e,t){return ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ve(e,t)}const ge=h(function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),he(this,t,[e])}return 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&&ve(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this.props,t=e.movieData,n=e.relevantPerformances,r=e.activePerformance,l=e.scrollToPosition,u=e.additionalClass,d=void 0===u?"":u,f=e.onOpenIframe,h=e.movieTimesDesktop,v=e.movieTimesMobile,g=e.performancePageMovieTimes,y=void 0!==g&&g,b=e.movieTimesData,w=e.activeCinema,x=e.hide
2SelectPerformanceButton,j=e.multiCinemaCinemas,A=e.countdownNumbers,S=e.movieTimesOpen,O=e.toggleShowtimes,k=e.cinemas,P=e.currentCinemaType,C=e.setActiveCinema,E=e.hideCinemaSelector,_=void 0!==E&&E,T=e.isMobile,M=e.queryStringValues,I=e.initialDateActive,N=void 0===I?null:I,D=t.pk,L=t.title,R=t.startingDate,F=t.limitations,V=t.alternativeLinks,$=t.performances,B=b.mobileTimes,U=b.desktopTimes,H=b.purchasablePerformances,W=(0,le.A)(b,j),z=F.visibleFrom,Z=F.showCountdown,q=z?(0,c.jsx)(p.A,{id:"performanceDates",timeString:z}):R?(0,c.jsx)(p.A,{id:"performanceDates",timeString:R}):null,G=!y||!!S,Y=G?" is-open":"",X=0!==U[w].body.length&&0!==B[w].body.length,K=T?v:h,Q=H&&0!==ce.intersection($,n).length;return H&&0!==ce.intersection($,n).length?(0,c.jsxs)("div",{className:"movie-times-wrapper"+d,children:[T&&y&&!x&&(0,c.jsx)("button",{className:"change-movie-times buy-ticket-large button text-light cursor-pointer",onClick:function(){return O()},children:(0,c.jsx)(m.Ay,{id:"changeTime",children:"Uhrzeit ändern"})}),P===o.hm&&!_&&G&&W.length>1&&(0,c.jsx)(i.Ay,{activeCinema:w,currentCinemaType:P,relevantCinemas:W,setActiveCinema:C,cinemas:k}),(0,c.jsxs)("div",{className:"ticket-hint-container",children:[G&&(0,c.jsx)(a.A,{purchasablePerformances:H,hasPerformancesWhileHiddenOnesIgnored:X,itemData:t,movieTimesVersion:!0,queryStringValues:M}),(q||z)&&Z&&!H&&(0,c.jsx)("div",{className:"countdown-wrapper",children:(0,c.jsx)(s.A,{countdownNumbers:A})})]}),(0,c.jsx)("div",{className:"movie-times "+K+Y,children:G&&(0,c.jsx)(ae,{movieId:D,movieTitle:L,movieTimesDesktop:h,movieTimesMobile:v,movieTimes:T?B[w]:U[w],relevantPerformances:n,activePerformance:r,alternativeLinks:V&&V,isMobile:T,scrollToPosition:l,onOpenIframe:f,toggleShowtimes:O,queryStringValues:M,initialDateActive:N})})]}):(0,c.jsx)("div",{className:"movie-times-wrapper"+d,children:(0,c.jsxs)("div",{className:"ticket-hint-container",children:[G&&(0,c.jsx)(a.A,{purchasablePerformances:Q,hasPerformancesWhileHiddenOnesIgnored:X,itemData:t,movieTimesVersion:!0,queryStringValues:M}),(q||z)&&Z&&!H&&(0,c.jsx)("div",{className:"countdown-wrapper",children:(0,c.jsx)(s.A,{countdownNumbers:A})})]})})}}])&&de(n.prototype,r),l&&de(n,l),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,l}(r.Component));var ye=n(61224),be=n(12111);function we(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return xe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const je=(0,v.Ng)((0,E.A)(function(e,t){return{cliData:(0,y.A)(e,g.CLI),isMobileData:(0,y.A)(e,[g.UI_ELEMENTDISPLAY,"isMobile"]),activePerformance:(0,y.A)(e,[g.UI_ELEMENTDISPLAY,"activePerformance"]),unfilteredMovieTimes:(0,y.A)(e,[g.PROGRAM_MOVIETIMES_ITEMS,t.moviePk]),cinemaDataFront:(0,y.A)(e,g.FRONT)}}),null)((0,b.A)(function(e){var t=e.cliData,n=e.isMobileData,i=e.activePerformance,o=e.unfilteredMovieTimes,s=e.cinemaDataFront,a=e.movieData,l=e.movieTimes,u=e.queryStringValues,d=void 0===u?null:u,f=e.relevantPerformances,h=void 0===f?null:f,m=e.scrollToPosition,p=e.overviewFilterIgnoreOnPerformances,v=e.performancePageMovieTimes,g=void 0!==v&&v,y=e.additionalClass,b=void 0===y?"":y,w=e.onOpenIframe,x=e.hideCinemaSelector,j=void 0!==x&&x,A=e.initialDateActive,S=void 0===A?null:A,O=e.setActiveCinema,k=e.activeCinema,P=e.cinemas,C=e.currentCinemaPk,E=s.hide_select_performance_button,_=s.ignore_attributes_for_performance_filter,T=t.currentCinemaId;if(!P)return"";var M=we((0,r.useState)(!1),2),I=M[0],N=M[1],D=(0,ye.Bj)(T,P),L=(0,ye.Bj)(k,P),R=(0,ye.rm)(D),F=(0,ye.tR)(D,L),V=(0,ye.bm)(D,L),$=(0,ye.Tx)(R,C,k),B=(0,ye.LT)(D),U=k?p?o:l:null,H=!(!d||!d.technical)&&(be.isArray(d.technical)?d.technical:[d.technical]),W=!!H&&0!==be.intersection(_,H).length,z=p?null:d;return(0,c.jsx)(ge,{initialDateActive:S,movieData:a,relevantPerformances:p||W?a.performances:!be.isEmpty(d)&&(d.time||d.technical||d.theatreName||d.seatClasses)?h:a.performances,multiCinemaActive:$,currentCinemaType:R,hideCinemaSelector:j,multiCinemaCinemas:B,movieTimesData:U,movieTimesDesktop:F,movieTimesMobile:V,isMobile:n.slidebarRight,toggleShowtimes:function(){return N(!I)},movieTimesOpen:I,activePerformance:i,performancePageMovieTimes:g,scrollToPosition:m,setActiveCinema:O,activeCinema:k,cinemas:P,hideSelectPerformanceButton:E,additionalClass:b,onOpenIframe:w,queryStringValues:z})}))},22386:(e,t,n)=>{var r=n(51098);e.exports=new r},22524:e=>{e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;
2n<r&&!1!==t(e[n],n);n++);}}},23367:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(53999);var r,i=n(92906),o=(r=i)&&r.__esModule?r:{default:r};var s={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(e){this.scroller=e,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(e,t){this.containers[e]=t},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var e=this,t=this.getHash();t?window.setTimeout(function(){e.scrollTo(t,!0),e.initialized=!0},10):this.initialized=!0},scrollTo:function(e,t){var n=this.scroller;if(n.get(e)&&(t||e!==n.getActiveLink())){var r=this.containers[e]||document;n.scrollTo(e,{container:r})}},getHash:function(){return o.default.getHash()},changeHash:function(e,t){this.isInitialized()&&o.default.getHash()!==e&&o.default.updateHash(e,t)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}};t.default=s},23453:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96540),i=n(41126),o=n(74848);function s(e){return s="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},s(e)}function a(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 l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const d=function(e){var t=e.imgKey,n=e.imgURL,s=e.imgTag,u=e.imgAlt,d=e.onLoad,f=c((0,r.useState)(!1),2),h=f[0],m=f[1],p=(0,i.A)(n,"mobile"===t,!1,!1,!0),v=p.finalImageURl,g=p.imageUrl,y="custom-placement-image custom-placement-image-"+t+("mobile"===t?" is-mobile":"");return s?(0,o.jsx)("img",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({className:y,src:v,onLoad:d,onError:function(e){var t=e.currentTarget;h?(t.onerror=null,t.src=""):(m(!0),t.onerror=null,t.src=g)}},u&&{alt:u})):(0,o.jsx)("div",{className:y,style:{backgroundImage:'url("'.concat(n,'")')}})}},23517:(e,t,n)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r="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},i=a(n(44666)),o=a(n(46694)),s=a(n(49325));function a(e){return e&&e.__esModule?e:{default:e}}var l=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=(0,i.default)();if(l||(l=(0,o.default)(a)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=s.default.proxyEvents(a);var c=new Promise(function(n){"object"===(void 0===e?"undefined":r(e))&&e.playVideo instanceof Function?n(e):l.then(function(r){var i=new r.Player(e,t);return a.on("ready",function(){n(i)}),null})}),u=s.default.promisifyPlayer(c,n);return u.on=a.on,u.off=a.off,u},e.exports=t.default},24237:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return e.hour(0),e.minute(0),e.second(0),e.milliseconds(0),e}},24280:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},24399:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(44317),i=n(87911),o=n(19199),s=n(52203),a=n(79837),l=n(19067),c=n(84196),u=n(15049),d=n(53392),f=n(54560),h=(n(96540),n(74848));const m=function(e){var t=e.src;return console.log(t),(0,h.jsx)("div",{id:"vista-iframe",className:"theme-radius-posters-full",children:(0,h.jsx)("iframe",{id:"vista-iframe-frame",src:t,width:"100%"})})};var p=n(57562),v=n(12111);const g=(0,c.Ng)((0,f.A)(function(e,t){return{cinemas:(0,d.A)(e,u.PROGRAM_CINEMAS),currentLang:(0,d.A)(e,u.TRANSLATION_CURRENT_LANG),routesData:(0,d.A)(e,u.ROUTESDATA),cliData:(0,d.A)(e,u.CLI),userbarData:(0,d.A)(e,u.UI_USERBAR)}}),null)(function(e){var t=e.showId,n=e.deeplinkURL,c=e.scrollToPosition,u=e.cinema,d=e.cinemas,f=e.routesData,g=e.currentLang,y=e.userbarData,b=e.cliData,w=d[u],x=w?w.scope.cinemaDataProvider:null,j=(0,p.A)(b?b.compesoCookieCategories:null);if(!w)return"";var A=f&&f.webshop?v.isEmpty(f.webshop)?null:f.webshop[g]:null,S=x.type===r.NG?x.kinoheldCinemaPath:x.type===r.TO?x.shopUrl:x.type===r.X||x.type===r.m_?x.marsBookingServer:x.type===r.Ac?x.deeplink_base_url:null,O=x.type===r.TO?x.shopCenterId:x.type===r.X||x.type===r.m_?x.marsCinemaId:null,k=w.scope.cinemaDataProvider&&w.scope.cinemaDataProvider.dieselCinemaNumber?w.scope.cinemaDataProvider.dieselCinemaNumber:null,P=b?b.mcsServer:null;if(r.NG===x.type&&S)return(0,h.jsx)(o.A,{cinemaPath:S,cinemaDataProvider:x,userbarData:y,showId:t,baseUrl:"live"===P?"https://www.kinoheld.de":"https://beta.kinoheld.de",deeplinkURL:n,id:"kinoheld-performance"});if(r.TO===x.type&&S){var C=j?"&"+j:"";return(0,h.jsx)(i.A,{scrollToPosition:c,cinemaPath:S,src:S+"landingpage?center="+O+"&language="+g.toUpperCase()+"&page=seatingplan&performance="+t+C,id:"compeso-performance"})}return r.RJ===x.type?(0,h.jsx)(a.A,{src:"https://kinoapi.dieselkino.at/?performanceId=".concat(t,"&cinemaNumber=").concat(k),scrollToPosition:c,id:"diesel-performance"}):r.VC===x.type?(0,h.jsx)(l.A,{src:"https://booking.kinomadlen.ch/clients_bootstrap/eventBookingGlobal/booking_wizard.asp?eventID=".concat(t),isShow:!0}):r.Ac===x.type?(0,h.jsx)(m,{src:"".concat(S,"/order/showtimes/").concat(t,"/seats"),isShow:!0}):(0,h.jsx)(s.A,{deeplinkURL:n,showId:t,webshopUrl:A,cinemaPath:S,cinemaCenterId:O})})},24596:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(96540),i=n(95640),o=n(74848);function s(e){return s="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},s(e)}function a(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?a(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(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,d(r.key),r)}}function d(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}function f(e,t,n){return t=m(t),function(e,t){if(t&&("object"==s(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)}(e,h()?Reflect.construct(t,n||[],m(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}const v=function(e){var t=function(t){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=f(this,n,[e])).state={isReady:!1,videoLoaded:!1,trailerTime:0,playVideoIntervallId:!1,player:!1},t.startPlayerTime=i.s9.S,t.stopPlayerTime=i.s9.O,t.startCheckShouldStop=t.startCheckShouldStop.bind(t),t.stopCheckShouldStop=t.stopCheckShouldStop.bind(t),t.playPlayer=t.playPlayer.bind(t),t.onPlayerReady=t.onPlayerReady.bind(t),t.onPlayerStateChange=t.onPlayerStateChange.bind(t),t.onPlayerEnd=t.onPlayerEnd.bind(t),t.onPlayerUmount=t.onPlayerUmount.bind(t),t}return 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&&p(e,t)}(n,t),r=n,s=[{key:"componentWillUnmount",value:function(){var e=this.state.playVideoIntervallId;e&&clearInterval(e)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=this.state,i=this.initChangeProps(e,n);t.isReady||"init"===n.hasYoutubeCookieConfirmation||"init"===n.isConnectedFast||this.setState({isReady:!0}),n.setTrailerItemsInView&&(i("isInViewport")||i("maybeVideo"))&&n.setTrailerItemsInView(n.index,n.isInViewport&&n.maybeVideo),!1!==t.playVideoIntervallId&&t.playVideoIntervallId!==r.playVideoIntervallId&&clearInterval(t.playVideoIntervallId)}},{key:"initChangeProps",value:function(e,t){return function(n){return e[n]!==t[n]}}},{key:"startCheckShouldStop",value:function(){var e=this.state.player,t=e.getDuration(),n=t>this.stopPlayerTime?t-this.stopPlayerTime:.8*t,r=setInterval(function(){var t=e.getCurrentTime();n<t&&e.pauseVideo()},400);this.setState({playVideoIntervallId:r})}},{key:"stopCheckShouldStop",value:function(){var e=this.state.playVideoIntervallId;e&&(clearInterval(e),this.setState({playVideoIntervallId:!1}))}},{key:"playPlayer",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.state,r=n.player,i=n.trailerTime,o=r.getDuration();e=t?o>this.startPlayerTime?this.startPlayerTime:.3*o:i>0&&i>this.startPlayerTime?i:o>this.startPlayerTime?this.startPlayerTime:.3*o,r.seekTo(e,!0),this.startCheckShouldStop()}},{key:"onPlayerReady",value:function(e){var t=e.target;this.setState({player:t}),this.playPlayer(!1),this.startCheckShouldStop()}},{key:"onPlayerStateChange",value:function(e){var t=e.hasOwnProperty("data")&&1===e.data;
2this.setState(function(e){return t!==e.videoLoaded?l(l({},e),{},{videoLoaded:t}):null})}},{key:"onPlayerEnd",value:function(){var e=this.state.player;this.playPlayer(!0),e.playVideo()}},{key:"onPlayerUmount",value:function(){var e=this.state,t=e.player,n=e.trailerTime;t&&t.g&&(n=parseInt(t.getCurrentTime())),this.stopCheckShouldStop(),this.setState({player:!1,trailerTime:n,videoLoaded:!1})}},{key:"render",value:function(){var t=this.state,n={isReady:t.isReady,videoLoaded:t.videoLoaded,trailerTime:t.trailerTime,onPlayerReady:this.onPlayerReady,onPlayerStateChange:this.onPlayerStateChange,onPlayerEnd:this.onPlayerEnd,onPlayerUmount:this.onPlayerUmount};return(0,o.jsx)(e,l(l({},this.props),n))}}],s&&u(r.prototype,s),a&&u(r,a),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,s,a}(r.Component);return t}},24628:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){var t=e.poster,n=e.ambient,r=e.backgrounds,i=[];n&&n.url&&i.push(n),r&&Array.isArray(r)&&r.map(function(e){e.url&&-1===i.findIndex(function(t){return t.url===e.url})&&i.push(e)});var o=i.length;return 0===o&&t&&t.url&&(i.push(t),o=1),0===o?{ambient:!1,performance:!1,details:!1}:1===o?{ambient:i[0],performance:i[0],details:i[0]}:2===o?{ambient:i[0],performance:i[1],details:i[1]}:{ambient:i[0],performance:i[1],details:i[2]}}},24775:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(96540),i=n(90528),o=n(74848),s=n(12111);function a(e){return a="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},a(e)}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]:{};t%2?l(Object(n),!0).forEach(function(t){u(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}function u(e,t,n){return(t=f(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(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,f(r.key),r)}}function f(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}function h(e,t,n){return t=p(t),function(e,t){if(t&&("object"==a(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)}(e,m()?Reflect.construct(t,n||[],p(e).constructor):t.apply(e,n))}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m=function(){return!!e})()}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}const g=function(e){return function(t){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=h(this,n,[e])).state={isMobile:!1},t.updateDimensions=t.updateDimensions.bind(t),t}return 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&&v(e,t)}(n,t),r=n,(a=[{key:"componentDidMount",value:function(){this.updateDimensions(),this.debouncedUpdateDimensions=s.debounce(this.updateDimensions,300),window.addEventListener("resize",this.debouncedUpdateDimensions)}},{key:"componentWillUnmount",value:function(){this.debouncedUpdateDimensions.cancel(),window.removeEventListener("resize",this.debouncedUpdateDimensions)}},{key:"updateDimensions",value:function(){var e=!((0,i.A)()>480);e!==this.state.isMobile&&this.setState({isMobile:e})}},{key:"render",value:function(){var t={isMobile:this.state.isMobile};return(0,o.jsx)(e,c(c({},this.props),t))}}])&&d(r.prototype,a),l&&d(r,l),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,a,l}(r.Component)}},24846:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r="both";const i=function(e){var t=!(!e||!e.name||""===e.name||""===e.position),n=!(!e||!e.position||"top"!==e.position&&e.position!==r),i=!(!e||!e.position||"bottom"!==e.position&&e.position!==r);return{posterAttributeTop:n,posterAttributeBottom:i,hasPosterAttributeClass:t&&n?" has-optional-attribute":"",hasPosterAttributeBottomClass:t&&i?" has-bottom-attribute":""}}}
2,24852:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){var n=e.indexOf(t);return-1!==n&&(e.splice(n,1),e)}},25037:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(8689),i=n(76075),o=n(83751),s=n(83341),a=n(12814),l=n(74030),c=n(37991),u=n(44317),d=n(74848);const f=function(e){var t=e.movieTitle,n=e.movieId,f=e.setActiveSelection,h=e.keyDay,m=e.dateNow,p=e.performances,v=e.hasMoreButton,g=e.performancesData,y=e.cinemas,b=e.movieIndex,w=e.alternativeLinks,x=e.disableOpenPerformanceDirectly,j=e.theme,A=e.days,S=e.isMobile,O=e.onClick,k=e.timezone,P=e.stripeAppearance,C=e.scrollToPosition,E=e.onOpenPerformancePage,_=p.filter(function(e){var t=g[e],n=(0,i.A)(t.timeUtc,k);if(h===(0,r.A)(n)&&(0,o.A)(m,n))return t}),T=3,M=v&&(0,d.jsx)("div",{onClick:O,className:" text-medium performance-item-showtime theme-radius-posters-full more",children:(0,d.jsx)(l.Ay,{id:"more",children:"mehr"})});"Arthouse"!==j&&(_.length>3||A.length>1&&"no_slide"===P)&&(T=2),_.length>2&&S&&(T=1);var I=_.slice(0,T).map(function(e,r){var i=g[e],o=i.id,l=i.timeUtc,h=i.deeplinkURL,m=i.attributes,p=i.cinema,v=i.refPk,j=w&&w[p]?w[p]:null,A=(0,a.A)(m),k=(0,d.jsx)(c.A,{id:"showtimePerformance",timeString:l}),P=y&&y[p]?y[p].scope.cinemaDataProvider:null,_=P&&P.type===u.Ac,T=_||h&&-1!==h.search("kinotickets.online");return j?(0,d.jsx)("div",{className:"performance-item-showtime theme-radius-posters-full"+A,children:(0,d.jsx)("a",{className:"text-medium",href:j,rel:"noreferrer",target:"_blank",children:k})},r):T?(0,d.jsx)("div",{className:"performance-item-showtime theme-radius-posters-full"+A,children:(0,d.jsx)("a",{className:"text-medium",href:h,rel:"noreferrer",target:_?"_self":"_blank",children:k})},r):(0,d.jsx)("div",{className:"performance-item-showtime theme-radius-posters-full cursor-pointer"+A,children:(0,d.jsx)(s.A,{to:C+" performance-iframe",smooth:!0,offset:-150,className:"text-medium",onClick:function(){x&&S?O():E({id:o,timeUtc:l,url:h,movieIndex:b,movieId:n,movieTitle:t,cinema:p,refPk:v}),f()},children:k})},r)});return(0,d.jsxs)("div",{className:"performance-item-showtimes",children:[I,M]})};var h=n(76942),m=n(58955),p=n(12111);const v=function(e){var t=e.posterTimes,n=e.fallbackItemsActive,i=e.purchasablePerformances,o=e.timezone,a=e.movieId,u=e.performancesData,v=e.cinemas,g=e.stripeAppearance,y=e.itemData,b=e.movieIndex,w=e.disableOpenPerformanceDirectly,x=e.onClick,j=e.scrollToPosition,A=e.isOverview,S=e.isMobile,O=e.queryStringValues,k=e.theme,P=e.setActiveSelection,C=e.showMobileMovieTimes,E=e.onOpenPerformancePage,_=e.additionalClass,T=e.relevantPerformances,M=e.overviewFilterIgnoreOnPerformances,I=t.hasMoreDaysButton,N=t.days,D=A?(0,d.jsx)(l.Ay,{uppercase:!0,id:"more"}):(0,d.jsx)(l.Ay,{id:"moreDays"}),L=(0,h.A)(o),R=(0,r.A)(L),F=(0,m.A)(L),V=(0,r.A)(F,o),$=!(!O||!O.time||"today"!==O.time&&"tomorrow"!==O.time),B=!!T&&!M,U=N,H=y.title,W=y.startingDate,z=y.startDateDescription,Z=y.limitations,q=y.alternativeLinks,G=Z.visibleFrom,Y=Z.showCountdown,X=z||(G?(0,d.jsx)(c.A,{id:"performanceDates",timeString:G}):W?(0,d.jsx)(c.A,{id:"performanceDates",timeString:W}):null),K=!!z;$&&(n||"tomorrow"===O.time?U=p.filter(N,function(e){var t=e.date;return(0,r.A)(t,o)===V}):"today"===O.time&&(U=p.filter(N,function(e){var t=e.date;return(0,r.A)(t,o)===R})));var Q=null,J=!1;if(A&&B&&I&&!1===C&&0===p.filter(U,function(e){return p.intersection(e.performances,T).length>0}).length){var ee=p.intersection(y.performances,T),te=p.uniq(p.compact(ee.map(function(e){var t=u[e];return t&&t.timeUtc?(0,r.A)(t.timeUtc,o):null}))).sort();te.length>0&&(Q=te[0],J=te.length>1)}return i?(0,d.jsx)("div",{className:"performance-items-wrapper theme-radius-posters-bottom",children:(0,d.jsxs)("div",{className:"performance-item-dates-wrapper",children:[function(){if("no_slide"===g){var e=(B?p.filter(U,function(e){return p.intersection(e.performances,T).length>0}):U)[0];if(!e){if(B&&I){var t=p.intersection(y.performances,T);if(t.length>0){var n={};t.forEach(function(e){var t=u[e];if(t&&t.timeUtc){var i=(0,r.A)(t.timeUtc,o);n[i]||(n[i]=[]),n[i].push(e)}});var i=Object.keys(n).sort();if(i.length>0){var h=i[0],m=n[h].sort(function(e,t){var n=u[e]?u[e].timeUtc:"",r=u[t]?u[t].timeUtc:"";return n<r?-1:n>r?1:0}),O=R===h?(0,d.jsx)(l.Ay,{id:"today",children:"Heute"}
2):(0,d.jsx)(c.A,{id:"performanceDates",timeString:h});return(0,d.jsxs)("div",{className:"performance-item-wrapper",children:[(0,d.jsx)("div",{className:"performance-item-date text-medium",children:O}),(0,d.jsx)(f,{movieTitle:H,movieId:a,onClick:x,keyDay:h,alternativeLinks:q,hasMoreButton:i.length>1,days:U,disableOpenPerformanceDirectly:w,movieIndex:b,dateNow:L,performances:m,performancesData:u,cinemas:v,stripeAppearance:g,timezone:o,scrollToPosition:j,isMobile:S,setActiveSelection:P,onOpenPerformancePage:E})]})}}}return""}var M=e.date,N=(e.hasMoreButton,e.performances),D=B?p.intersection(N,T):N,F=(0,r.A)(M,o),V=R===F?(0,d.jsx)(l.Ay,{id:"today",children:"Heute"}):(0,d.jsx)(c.A,{id:"performanceDates",timeString:F});return(0,d.jsxs)("div",{className:"performance-item-wrapper",children:[(0,d.jsx)("div",{className:"performance-item-date text-medium",children:V}),(0,d.jsx)(f,{movieTitle:H,movieId:a,onClick:x,keyDay:F,alternativeLinks:q,hasMoreButton:!$&&I,days:U,disableOpenPerformanceDirectly:w,movieIndex:b,dateNow:L,performances:D,performancesData:u,cinemas:v,stripeAppearance:g,timezone:o,scrollToPosition:j,isMobile:S,setActiveSelection:P,onOpenPerformancePage:E})]})}if(A){if(!1===C){var W=B?p.filter(U,function(e){return p.intersection(e.performances,T).length>0}):U;if(0===W.length&&Q){var z=R===Q?(0,d.jsx)(l.Ay,{id:"today",children:"Heute"}):(0,d.jsx)(c.A,{id:"performanceDates",timeString:Q});return(0,d.jsx)("div",{className:"performance-item-dates is-overview",children:(0,d.jsx)(s.A,{className:"performance-item-dates",to:j+" openMovieInformation",smooth:!0,offset:-200,children:(0,d.jsx)("div",{className:"performance-item-wrapper",children:(0,d.jsx)("button",{onClick:function(){return x(Q)},className:"performance-item-date theme-radius-posters-full text-light cursor-pointer"+_,children:z})})})})}return W.map(function(e,t){var n=e.date,i=(0,r.A)(n,o),a=R===i?(0,d.jsx)(l.Ay,{id:"today",children:"Heute"}):(0,d.jsx)(c.A,{id:"performanceDates",timeString:i});return(0,d.jsx)("div",{className:"performance-item-dates is-overview",children:(0,d.jsx)(s.A,{className:"performance-item-dates",to:j+" openMovieInformation",smooth:!0,offset:-200,children:(0,d.jsx)("div",{className:"performance-item-wrapper",children:(0,d.jsx)("button",{onClick:function(){return x(i)},className:"performance-item-date theme-radius-posters-full text-light cursor-pointer"+_,children:a})})})},t)})}return(0,d.jsx)("div",{className:"performance-item-dates is-overview",children:(0,d.jsx)(s.A,{className:"performance-item-dates",to:j+" movieInformation",smooth:!1,offset:-200,children:(0,d.jsx)("div",{className:"performance-item-wrapper",children:(0,d.jsx)("button",{onClick:function(){return x(!1)},className:"performance-item-date theme-radius-posters-full text-light cursor-pointer"+_,children:(0,d.jsx)(l.Ay,{uppercase:!0,id:"less"})})})})})}var Z=B?p.filter(U,function(e){return p.intersection(e.performances,T).length>0}):U;if(B&&0===Z.length&&I){var G=p.intersection(y.performances,T);if(G.length>0){var Y={};G.forEach(function(e){var t=u[e];if(t&&t.timeUtc){var n=(0,r.A)(t.timeUtc,o);Y[n]||(Y[n]=[]),Y[n].push(e)}});var X=Object.keys(Y).sort();if(X.length>0){var K=X[0],J=Y[K].sort(function(e,t){var n=u[e]?u[e].timeUtc:"",r=u[t]?u[t].timeUtc:"";return n<r?-1:n>r?1:0}),ee=R===K?(0,d.jsx)(l.Ay,{id:"today",children:"Heute"}):(0,d.jsx)(c.A,{id:"performanceDates",timeString:K}),te=$?" one-day":"";return(0,d.jsxs)("div",{className:"performance-item-wrapper"+te,children:[!$&&(0,d.jsx)("div",{className:"performance-item-date text-medium",children:ee}),(0,d.jsx)(f,{movieTitle:H,movieId:a,onClick:x,keyDay:K,movieIndex:b,hasMoreButton:X.length>1,theme:k,alternativeLinks:q,dateNow:L,days:U,performances:J,performancesData:u,cinemas:v,timezone:o,disableOpenPerformanceDirectly:w,scrollToPosition:j,isMobile:S,setActiveSelection:P,onOpenPerformancePage:E})]})}}}return Z.map(function(e,t){var n=e.date,i=e.hasMoreButton,s=e.performances,h=B?p.intersection(s,T):s,m=(0,r.A)(n,o),g=R===m?(0,d.jsx)(l.Ay,{id:"today",children:"Heute"}):(0,d.jsx)(c.A,{id:"performanceDates",timeString:m}),y=$?" one-day":"";return(0,d.jsxs)("div",{className:"performance-item-wrapper"+y,children:[!$&&(0,d.jsx)("div",{className:"performance-item-date text-medium",children:g}),(0,d.jsx)(f,{movieTitle:H,movieId:a,onClick:x,keyDay:m,movieIndex:b,hasMoreButton:i,theme:k,alternativeLinks:q,dateNow:L,days:U,performances:h,performancesData:u,cinemas:v,timezone:o,disableOpenPerformanceDirectly:w,scrollToPosition:j,isMobile:S,setActiveSelection:P,onOpenPerformancePage:E})]},t)})}(),!$&&!C&&"no_slide"!==g&&(Q?J:I)&&(0,d.jsx)(s.A,{className:"performance-item-dates",to:j+" openMovieInformation",smooth:!0,offset:A?-200:300,children:(0,d.jsx)("button",{className:"performance-item-more-dates theme-radius-p
2osters-full text-medium cursor-pointer",onClick:function(){return x(!0)},children:D})})]})}):(0,d.jsx)("div",{className:"performance-items-wrapper theme-radius-posters-bottom",children:Y&&G||!Y&&!G||X?(0,d.jsxs)("span",{className:"preview-text",children:[!K&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(l.Ay,{lowercase:!0,id:"availableFrom"})," "]}),X]}):(0,d.jsx)("span",{className:"preview-text",children:(0,d.jsx)(l.Ay,{lowercase:!0,id:"comingSoon"})})})};var g=n(53392),y=n(15049),b=n(84196),w=n(54560);const x=(0,b.Ng)((0,w.A)(function(e,t){return{timezone:(0,g.A)(e,y.TRANSLATION_TIMEZONE),performancesData:(0,g.A)(e,y.PROGRAM_PERFORMANCES_ITEMS),cinemaFrontData:(0,g.A)(e,y.FRONT),cinemas:(0,g.A)(e,y.PROGRAM_CINEMAS)}}),null)(function(e){var t=e.timezone,n=e.performancesData,r=e.cinemaFrontData,i=e.cinemas,o=e.posterTimes,s=e.fallbackItemsActive,a=e.purchasablePerformances,l=e.movieId,c=e.stripeAppearance,u=e.itemData,f=e.additionalClass,h=e.theme,m=e.queryStringValues,p=e.movieIndex,g=void 0===p?0:p,y=e.onClick,b=e.scrollToPosition,w=e.isOverview,x=e.isMobile,j=e.showMobileMovieTimes,A=e.onOpenPerformancePage,S=e.setActiveSelection,O=e.relevantPerformances,k=e.overviewFilterIgnoreOnPerformances;if(!o)return"";var P=r.disable_open_performance_directly;return(0,d.jsx)(v,{posterTimes:o,fallbackItemsActive:s,cinemas:i,purchasablePerformances:a,timezone:t,movieId:l,performancesData:n,disableOpenPerformanceDirectly:P,stripeAppearance:c,itemData:u,movieIndex:g,onClick:y,scrollToPosition:b,isOverview:w,isMobile:x,queryStringValues:m,theme:h,showMobileMovieTimes:j,setActiveSelection:S,onOpenPerformancePage:A,additionalClass:f,relevantPerformances:O,overviewFilterIgnoreOnPerformances:k})})},25264:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var i=a(n(96540)),o=a(n(17965)),s=["text","onCopy","options","children"];function a(e){return e&&e.__esModule?e:{default:e}}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]:{};t%2?l(Object(n),!0).forEach(function(t){v(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}function u(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function d(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,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(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,i=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return m(e)}(this,n)}}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
2function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=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&&f(e,t)}(l,e);var t,n,r,a=h(l);function l(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(m(e=a.call.apply(a,[this].concat(n))),"onClick",function(t){var n=e.props,r=n.text,s=n.onCopy,a=n.children,l=n.options,c=i.default.Children.only(a),u=(0,o.default)(r,l);s&&s(r,u),c&&c.props&&"function"==typeof c.props.onClick&&c.props.onClick(t)}),e}return t=l,(n=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=u(e,s),r=i.default.Children.only(t);return i.default.cloneElement(r,c(c({},n),{},{onClick:this.onClick}))}}])&&d(t.prototype,n),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),l}(i.default.PureComponent);t.CopyToClipboard=g,v(g,"defaultProps",{onCopy:void 0,options:void 0})},25858:(e,t,n)=>{var r="Expected a function",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),f=Object.prototype.toString,h=Math.max,m=Math.min,p=function(){return d.Date.now()};function v(e,t,n){var i,o,s,a,l,c,u=0,d=!1,f=!1,v=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=i,r=o;return i=o=void 0,u=t,a=e.apply(r,n)}function w(e){var n=e-c;return void 0===c||n>=t||n<0||f&&e-u>=s}function x(){var e=p();if(w(e))return j(e);l=setTimeout(x,function(e){var n=t-(e-c);return f?m(n,s-(e-u)):n}(e))}function j(e){return l=void 0,v&&i?b(e):(i=o=void 0,a)}function A(){var e=p(),n=w(e);if(i=arguments,o=this,c=e,n){if(void 0===l)return function(e){return u=e,l=setTimeout(x,t),d?b(e):a}(c);if(f)return l=setTimeout(x,t),b(c)}return void 0===l&&(l=setTimeout(x,t)),a}return t=y(t)||0,g(n)&&(d=!!n.leading,s=(f="maxWait"in n)?h(y(n.maxWait)||0,t):s,v="trailing"in n?!!n.trailing:v),A.cancel=function(){void 0!==l&&clearTimeout(l),u=0,i=c=o=l=void 0},A.flush=function(){return void 0===l?a:j(p())},A}function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||a.test(e)?l(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(r);return g(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),v(e,t,{leading:i,maxWait:t,trailing:o})}},25923:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){for(var n={},r=e.clone();r.isSameOrBefore(t);r.add(1,"days"))n[r.toISOString()]=[];return n}},25942:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var r=s(n(96540)),i=s(n(46942)),o=n(29445);function s(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}function l(){return l=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},l.apply(this,arguments)}function c(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,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(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 Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;return f(e)}(this,n)}}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
2function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){var t,n,r,i,o;return r=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":o===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},y=function(e,t){return e.key||t},b=function(e){var t,n=[],s=[],a=[],l=r.default.Children.count(e.children),c=(0,o.lazyStartIndex)(e),u=(0,o.lazyEndIndex)(e);return r.default.Children.forEach(e.children,function(d,f){var h,m={message:"children",index:f,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};h=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(f)>=0?d:r.default.createElement("div",null);var v=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(p(p({},e),{},{index:f})),b=h.props.className||"",w=g(p(p({},e),{},{index:f}));if(n.push(r.default.cloneElement(h,{key:"original"+y(h,f),"data-index":f,className:(0,i.default)(w,b),tabIndex:"-1","aria-hidden":!w["slick-active"],style:p(p({outline:"none"},h.props.style||{}),v),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})),e.infinite&&!1===e.fade){var x=l-f;x<=(0,o.getPreClones)(e)&&l!==e.slidesToShow&&((t=-x)>=c&&(h=d),w=g(p(p({},e),{},{index:t})),s.push(r.default.cloneElement(h,{key:"precloned"+y(h,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(w,b),"aria-hidden":!w["slick-active"],style:p(p({},h.props.style||{}),v),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}}))),l!==e.slidesToShow&&((t=l+f)<u&&(h=d),w=g(p(p({},e),{},{index:t})),a.push(r.default.cloneElement(h,{key:"postcloned"+y(h,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(w,b),"aria-hidden":!w["slick-active"],style:p(p({},h.props.style||{}),v),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(m)}})))}}),e.rtl?s.concat(n,a).reverse():s.concat(n,a)},w=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}}),t&&u(e,t)}(s,e);var t,n,i,o=d(s);function s(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(f(e=o.call.apply(o,[this].concat(n))),"node",null),v(f(e),"handleRef",function(t){e.node=t}),e}return t=s,(n=[{key:"render",value:function(){var e=b(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return r.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&c(t.prototype,n),i&&c(t,i),s}(r.default.PureComponent);t.Track=w},26551:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Jy});var r=n(54625),i=n(56347),o="preroll",s="overview",a="overview_hero",l="interscroller",c=n(27508),u=function(e){var t={};return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).map(function(e){return t[e]=[]}),e&&Object.keys(e).map(function(n){var r=e[n];t.hasOwnProperty(r.type)&&t[r.type].push(r)}),t},d=function(e){return e[0]?e[0].payload:""},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;return Math.ceil(e.length/6)>=4&&3===t?4*t:Math.ceil(e.length/6)<4&&3===t||Math.ceil(e.length/6)>=4&&t>3?2*t:t},h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=e.slice();if(e.length>6){var i=f(e,n);r.splice(i,0,t)}return r},m=function(e,t){if(!e||0===e.length)return null;var n=t?e.filter(function(e){return e.images&&e.images.desktop&&e.images.desktop.url}):e.filter(function(e){return e.images&&e.images.mobile&&e.images.mobile.url});return 0===n.length?null:n[Math.floor(Math.random()*n.length)]},p=function(e,t,n){var r,i,o,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:3;return t.length>0?(r="interscroller-"+t[0].payload,i=c.Dt,o=h(e,r,s)):n.length>0?(r="interscroller-"+n[0].pk,i=c.wU,o=h(e,r,s)):(r=!1,i=!1,o=e),{interscrollerId:r,interscrollerType:i,itemsWithInterscroller:o}},v=n(84196),g=n(53392),y=n(15049),b=function(e){return{isConnectedFast:(0,g.A)(e,y.UI_CONNECTION_ISCONNECTEDFAST)}};const w=function(e){return(0,v.Ng)(b)(e)};var x=n(96540),j=n.t(x,2),A=n(97178),S=n(56848),O=n(83341),k=n(74030),P=n(74848);const C=function(e){var t=e.movieId,n=e.movieTitle,r=e.scrollToPosition,i=e.activeDetailsItem,o=e.closeItemDetails,s=e.openItemDetails,a=e.additionalClass,l=void 0===a?"":a;
2return i===t?(0,P.jsx)("div",{className:"button-details-wrapper",children:(0,P.jsx)(O.A,{to:r+" movieInformation",smooth:!1,offset:-200,className:"toggle-details",children:(0,P.jsx)("button",{onClick:function(){return o({movieId:t,movieTitle:n})},className:"button details text-light cursor-pointer"+l,children:(0,P.jsx)(k.Ay,{id:"close",children:"Schließen"})})})}):(0,P.jsx)("div",{className:"button-details-wrapper",children:(0,P.jsx)(O.A,{to:r+" movieDetails",smooth:!0,offset:-100,className:"toggle-details",children:(0,P.jsx)("button",{onClick:function(){return s({movieId:t,movieTitle:n})},className:"button details text-light cursor-pointer"+l,children:(0,P.jsx)(k.Ay,{id:"details",children:"Details"})})})})};var E=n(98818);const _=function(e){var t=e.origTitle;return""!==t&&t?(0,P.jsxs)("p",{className:"text-light original-title",children:[(0,P.jsxs)("span",{className:"typo-color-muted",children:[(0,P.jsx)(k.Ay,{id:"originalTitle",children:"Originaltitel"}),": "]})," ",t]}):""};var T=n(16159),M=n(37991);const I=function(e){var t=e.startingDate;return""!==t&&t?(0,P.jsxs)("p",{className:"text-light cinema-start-date",children:[(0,P.jsxs)("span",{className:"typo-color-muted",children:[(0,P.jsx)(k.Ay,{id:"cinemaRelease",children:"Kinostart"}),": "]}),(0,P.jsx)(M.A,{id:"cinemaStart",timeString:t})]}):""};var N=n(91185),D=n(70972);const L=function(e){var t=e.productionYear;return""!==t&&t?(0,P.jsxs)("p",{className:"text-light production-year",children:[(0,P.jsxs)("span",{className:"typo-color-muted",children:[(0,P.jsx)(k.Ay,{id:"productionYear",children:"Produktionsjahr"}),": "]})," ",t]}):""};const R=function(e){var t=e.productionCountry;return""!==t&&t?(0,P.jsxs)("p",{className:"text-light production-country",children:[(0,P.jsxs)("span",{className:"typo-color-muted",children:[(0,P.jsx)(k.Ay,{id:"productionCountry",children:"Produktionsland"}),": "]})," ",t]}):""};var F=n(41126),V=n(67746);function $(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return B(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const U=function(e){var t=e.image,n=e.isMobile,r=e.parallax,i=void 0!==r&&r,o=$((0,x.useState)(!1),2),s=o[0],a=o[1],l=(0,F.A)(t,n,!1,!0),c=l.finalImageURl,u=l.imageUrl,d={objectPosition:l.position};return i?(0,P.jsxs)("div",{className:"ambient-picture",children:[(0,P.jsx)("div",{className:"parallax-wrapper",children:(0,P.jsx)("div",{style:(0,V.A)(t,!1,n),className:"parallax"})}),(0,P.jsx)("div",{className:"black-fade-div"}),(0,P.jsx)("div",{className:"black-background"})]}):(0,P.jsxs)("div",{className:"movie-information-wrapper ",children:[(0,P.jsx)("img",{src:c,style:d,className:"movie-information-picture",alt:"Background",onError:function(e){var t=e.currentTarget;s?(t.onerror=null,t.src=""):(a(!0),t.onerror=null,t.src=u)}}),(0,P.jsx)("div",{className:"movie-information-gradient"})]})};var H=n(54618),W=n(47774),z=n(53346),Z=n(69501),q=n(7150),G=n(6649),Y=n(39343),X=n(12111);const K=function(e){var t=e.theme,n=e.movieData,r=e.movieTimes,i=e.backgroundImage,o=e.detailsStyling,s=e.scrollToPosition,a=e.isMobile,l=e.onCloseDetails,c=e.trailerImage;if(!n)return"";var u=n.pk,d=n.title,f=n.description,h=n.length,m=n.origTitle,p=n.genres,v=n.startingDate,g=n.actors,y=n.directors,b=n.trailerURL,w=n.titleDisplay,j=n.productionYear,A=n.productionCountry,S=n.fsk,C=n.images,M=n.logo,F=r.technologyAttributes,V=C.backgrounds,$=X.find(F,function(e){return"ovwefewfwef"===e.id}),B=(0,x.useMemo)(function(){return V?X.shuffle(V):null},[u]),K=(0,q.A)(F),Q=K.noAttributesWithIconsToDisplay,J=K.technologyAttributesWithIcons,ee=w||($&&m?m:d),te=M&&M.url?(0,P.jsx)("div",{className:"title title-xlarge-bold",style:{whiteSpace:"pre-line"},children:(0,P.jsx)(Y.A,{title:ee,logo:M})}):(0,P.jsx)("div",{className:"title title-xlarge-bold",style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:ee}});return(0,P.jsxs)("div",{className:"movie-details "+t.toLowerCase()+" "+o,children:[(0,P.jsx)("div",{className:"close-button-wrapper",children:(0,P.jsx)(O.A,{to:s+" movieInformation",smooth:!1,offset:-200,className:"close-button cursor-pointer",onClick:function(){return l({movieTitle:ee})},children:a?(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:(0,P.jsx)("polygon",{className:"cls-1",points:"13.73 30 14.83 28.99 2.71 15.74 30 15.74 30 14.24 2.71 14.24 14.82 1.01 13.71 0 0 14.99 13.73 30"})}):(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25",children:(0,P.jsx)("polygon",{className:"cls-1",points:"25 1.06 23.94 0 12.5 11.44 1.06 0 0 1.06 11.44 12.5 0 23.94 1.06 25 12.5 13.56 23.94 25 25 23.94 13.56 12.5 25 1.06"})})})}),"Arthouse"!==t?"colored_blocks"===o&&a?(0,P.jsxs)("div",{className:"top-wrapper",children:[(0,P.jsx)(U,{isMobile:a,image:i}),b&&a&&(0,P.jsx)(W.A,{trailerURL:b,fsk:S})]}):(0,P.jsxs)("div",{className:"top-wrapper",children:[(0,P.jsx)(U,{isMobile:a,image:i,parallax:!0}),b&&a&&(0,P.jsx)(W.A,{trailerURL:b,fsk:S})]}):"",(0,P.jsx)("div",{className:"movie-details-container",children:(0,P.jsxs)("div",{className:"movie-details-content",children:[(0,P.jsxs)("div",{className:"top-part-wrapper",children:["Arthouse"!==t&&(0,P.jsxs)("div",{className:"movie-text",children:[te,f&&(0,P.jsx)("div",{className:"description text-light",style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:f}}),(0,P.jsxs)("div",{className:"information",children:[(0,P.jsxs)("div",{className:"fsk-length-wrapper",children:[(0,P.jsx)(z.A,{fsk:S}),(0,P.jsx)(E.A,{length:h})]}),(0,P.jsx)(_,{origTitle:m}),(0,P.jsx)(T.A,{genres:p}),(0,P.jsx)(L,{productionYear:j}),(0,P.jsx)(R,{productionCountry:A}),(0,P.jsx)(I,{startingDate:v})]})]}),"Arthouse"===t&&(0,P.jsxs)("div",{className:"arthouse-details-header-wrapper",children:[(0,P.jsxs)("div",{className:"top-wrapper",children:[(0,P.jsx)(U,{isMobile:a,image:i,parallax:!0}),b&&!a&&(0,P.jsx)(W.A,{trailerURL:b,fsk:S})]}),(0,P.jsxs)("div",{className:"information-flex-container",children:[(0,P.jsxs)("div",{className:"movie-text",children:[te,(0,P.jsxs)("div",{className:"information",children:[(0,P.jsxs)("div",{className:"row-flex-information",children:[h&&(0,P.jsx)(E.A,{length:h}),(0,P.jsx)(z.A,{fsk:S}),!Q&&(0,P.jsx)("div",{className:"attributes-with-icons",children:(0,P.jsx)(G.A,{attributes:J,canBeColored:!0})})]}),(0,P.jsx)(T.A,{genres:p}),(0,P.jsx)(L,{productionYear:j}),(0,P.jsx)(_,{origTitle:m}),(0,P.jsx)(R,{productionCountry:A})]})]}),(0,P.jsx)("div",{className:"description text-light",style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:f}})]})]}),"Arthouse"!==t&&b&&!a&&(0,P.jsx)(H.A,{trailerURL:b,isMobile:a,theme:t,fsk:S,backgroundImage:c})]}),B&&B.length>1&&(0,P.jsx)(Z.A,{backgrounds:B}),null!==y&&(0,P.jsx)(D.A,{directors:y}),(0,P.jsx)(N.A,{actors:g}),(0,P.jsx)(O.A,{to:s+" movieInformation",className:"close-details-wrapper",smooth:!1,offset:-200,children:(0,P.jsx)("button",{className:"close-details button text-light cursor-pointer",onClick:function(){return l({movieTitle:ee})},children:(0,P.jsx)(k.Ay,{id:"close",children:"Schließen"})})})]})})]})};var Q=n(54560);const J=(0,v.Ng)((0,Q.A)(function(e,t){return{cinemaDataFront:(0,g.A)(e,y.FRONT),theme:(0,g.A)(e,y.THEME),movieTimes:(0,g.A)(e,[y.PROGRAM_MOVIETIMES_ITEMS,t.movieTimePk])}}),null)(function(e){var t=e.theme,n=e.cinemaDataFront,r=e.movieTimes,i=e.movieData,o=e.backgroundImage,s=e.scrollToPosition,a=e.isMobile,l=e.onCloseDetails,c=e.trailerImage,u=n.details_style,d=t.theme_colors;
2return(0,P.jsx)(K,{theme:d,movieData:i,movieTimes:r,backgroundImage:o,detailsStyling:u,scrollToPosition:s,isMobile:a,onCloseDetails:l,trailerImage:c})});var ee=n(42233),te=n(39253),ne=n(24628),re=n(95166),ie=n(42831);function oe(e){return oe="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},oe(e)}function se(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,ae(r.key),r)}}function ae(e){var t=function(e,t){if("object"!=oe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=oe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==oe(t)?t:t+""}function le(e,t,n){return t=ue(t),function(e,t){if(t&&("object"==oe(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)}(e,ce()?Reflect.construct(t,n||[],ue(e).constructor):t.apply(e,n))}function ce(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ce=function(){return!!e})()}function ue(e){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ue(e)}function de(e,t){return de=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},de(e,t)}var fe=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=le(this,t,[e])).state={descriptionOpen:!1},n.toggleLongDescription=n.toggleLongDescription.bind(n),n}return 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&&de(e,t)}(t,e),n=t,(r=[{key:"componentDidUpdate",value:function(e){this.props.movieData.pk!==e.movieData.pk&&this.setState({descriptionOpen:!1})}},{key:"toggleLongDescription",value:function(){this.setState({descriptionOpen:!this.state.descriptionOpen})}},{key:"render",value:function(){var e=this,t=this.props,n=t.movieData,r=t.className,i=void 0===r?"text-large-medium":r,o=n.descriptionShort,s=n.description,a=this.state.descriptionOpen;return s||o?s&&!o?(0,P.jsx)("div",{className:"description "+i,style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:s}}):!s&&o||o.length===s.length?(0,P.jsx)("div",{className:"description "+i,style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:o}}):a?(0,P.jsxs)("div",{className:"description",children:[(0,P.jsx)("span",{className:i,style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:s}}),(0,P.jsxs)("button",{className:"text-xlarge-bold cursor-pointer show-more-or-less-button",onClick:function(){return e.toggleLongDescription()},children:[" ",(0,P.jsx)(k.Ay,{id:"lessButton",children:"weniger"})]})]}):(0,P.jsxs)("div",{className:"description",children:[(0,P.jsx)("span",{className:i,style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:o}}),(0,P.jsx)("button",{className:"text-xlarge-bold cursor-pointer show-more-or-less-button",onClick:function(){return e.toggleLongDescription()},children:(0,P.jsx)(k.Ay,{id:"moreButton",children:"mehr"})})]}):""}}])&&se(n.prototype,r),i&&se(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component),he=n(25037),me=n(21816),pe=n(30267),ve=n(44317),ge=n(12111),ye=S.Ay.Element;const be=function(e){var t=e.hideCinemaSelector,n=e.isMobile,r=e.activePerformance,i=e.movieData,o=e.movieTimes,s=e.theme,a=e.performanceData,l=e.cinemaDataProvider,c=e.hideSelectPerformanceButton,u=e.scrollToPosition,d=e.overviewFilterIgnoreO
2nPerformances,f=e.backgroundImage,h=e.performancePageMovieTimes,m=void 0!==h&&h,p=e.informationStyling,v=void 0===p?"":p,g=e.queryStringValues,y=void 0===g?null:g,b=e.onOpenPerformancePage,w=e.onClosePerformancePage;if(!s)return"";var x=i.title,j=i.titleDisplay,A=i.origTitle,S=i.logo,k=r.url,C=r.id,E=r.cinema,_=o.moviePk,T=o.technologyAttributes,M=a&&ge.pluck(a.attributes,"id"),I=(0,q.A)(M),N=I.noAttributesWithIconsToDisplay,D=I.noAttributesWithoutIconsToDisplay,L=I.technologyAttributesWithoutIcons,R=I.technologyAttributesWithIcons,F=I.cinedomXAttributes,V=ge.find(T,function(e){return"owefwefwweffv"===e.id}),$=j||(V&&A?A:x),B=l.type===ve.TO||l.type===ve.RJ;return(0,P.jsx)(ye,{name:u+" movieInformation",children:(0,P.jsxs)("div",{className:"movie-information "+s.toLowerCase()+" "+v,id:"movie-performance",children:[(0,P.jsx)("div",{className:"close-button-wrapper"+(c?" align-right":""),children:(0,P.jsx)(O.A,{to:u,offset:-200,children:(0,P.jsx)("div",{className:"close-button cursor-pointer",onClick:function(){return w({timeUtc:r.timeUtc,movieTitle:$})},children:n&&!c?(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:(0,P.jsx)("polygon",{className:"cls-1",points:"13.73 30 14.83 28.99 2.71 15.74 30 15.74 30 14.24 2.71 14.24 14.82 1.01 13.71 0 0 14.99 13.73 30"})}):(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25",children:(0,P.jsx)("polygon",{className:"cls-1",points:"25 1.06 23.94 0 12.5 11.44 1.06 0 0 1.06 11.44 12.5 0 23.94 1.06 25 12.5 13.56 23.94 25 25 23.94 13.56 12.5 25 1.06"})})})})}),"Arthouse"!==s&&(0,P.jsx)(U,{isMobile:n,image:f}),(0,P.jsx)("div",{className:"movie-information-content-wrapper",children:(0,P.jsxs)("div",{className:"movie-content performance-page-open",children:[!B&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("h2",{className:"title title-xlarge-bold",children:(0,P.jsx)(Y.A,{title:$,logo:S})}),(0,P.jsx)("div",{className:"attributes",children:(0,P.jsxs)("div",{className:"attributes-container",children:[!N&&(0,P.jsx)("div",{className:"attributes-with-icons",children:(0,P.jsx)(G.A,{attributes:R,canBeColored:!0,cinedomXAttributes:F,showTitleForTooltip:!0})}),!D&&(0,P.jsx)("div",{className:"attributes-without-icons",children:(0,P.jsx)(G.A,{attributes:L,showTitleForTooltip:!0})})]})})]}),(0,P.jsx)(me.A,{hideCinemaSelector:t,moviePk:_,movieTimes:o,movieData:i,additionalClass:" show-on-mobile",overviewFilterIgnoreOnPerformances:d,performancePageMovieTimes:m,scrollToPosition:u,queryStringValues:y,onOpenIframe:b}),(0,P.jsx)(pe.A,{deeplinkURL:k,showId:C,scrollToPosition:u,cinema:E})]})})]})})};var we=S.Ay.Element;const xe=function(e){e.itemID;var t=e.activePerformance,n=e.isMobile,r=e.theme,i=e.ambientImage,o=e.scrollToPosition,s=e.onClosePerformancePage,a=t.url,l=t.id,c=t.movieTitle,u=t.timeUtc,d=t.cinema;return(0,P.jsx)(we,{name:o+" movieInformation",children:(0,P.jsxs)("div",{className:"movie-information",id:"movie-performance",children:[(0,P.jsx)("div",{className:"close-button-wrapper",children:(0,P.jsx)(O.A,{to:o,offset:-200,children:(0,P.jsx)("div",{className:"close-button cursor-pointer",onClick:function(){return s({movieTitle:c,timeUtc:u})},children:n?(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:(0,P.jsx)("polygon",{className:"cls-1",points:"13.73 30 14.83 28.99 2.71 15.74 30 15.74 30 14.24 2.71 14.24 14.82 1.01 13.71 0 0 14.99 13.73 30"})}):(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25",children:(0,P.jsx)("polygon",{className:"cls-1",points:"25 1.06 23.94 0 12.5 11.44 1.06 0 0 1.06 11.44 12.5 0 23.94 1.06 25 12.5 13.56 23.94 25 25 23.94 13.56 12.5 25 1.06"})})})})}),"Arthouse"!==r&&(0,P.jsx)(U,{isMobile:n,image:i}),(0,P.jsx)("div",{className:"movie-information-content-wrapper",children:(0,P.jsx)("div",{className:"movie-content performance-page-open",children:(0,P.jsx)(pe.A,{cinema:d,deeplinkUrl:a,showId:l,scrollToPosition:o})})})]})})};const je=(0,v.Ng)((0,Q.A)(function(e,t){return{cinemas:(0,g.A)(e,y.PROGRAM_CINEMAS),cinemaDataFront:(0,g.A)(e,y.FRONT),theme:(0,g.A)(e,y.THEME),movieTimes:(0,g.A)(e,[y.PROGRAM_MOVIETIMES_ITEMS,t.movieTimePk]),activePerformance:(0,g.A)(e,[y.UI_ELEMENTDISPLAY,"activePerformance"]),performancesData:(0,g.A)(e,y.PROGRAM_PERFORMANCES_ITEMS)}}),null)(function(e){var t=e.cinemas,n=e.cinemaDataFront,r=e.theme,i=e.movieTimes,o=e.activePerformance,s=e.performancesData,a=e.activeItem,l=e.isMobile,c=e.movieData,u=e.backgroundImage,d=e.ambientImage,f=e.scrollToPosition,h=e.onOpenPerformancePage,m=e.onClosePerformancePage,p=e.overviewFilterIgnoreO
2nPerformances,v=e.noMovietimes,g=void 0!==v&&v,y=e.hideCinemaSelector,b=e.queryStringValues,w=void 0===b?null:b,x=e.performancePageMovieTimes,j=n.information_style,A=n.hide_select_performance_button,S=r.theme_colors;if(!c)return"";var O=t[o.cinema],k=O&&O.scope.cinemaDataProvider;return g?(0,P.jsx)(xe,{itemID:a,cinemaDataProvider:k,theme:S,ambientImage:d,activePerformance:o,isMobile:l,scrollToPosition:f,onClosePerformancePage:m}):(0,P.jsx)(be,{informationStyling:j,hideCinemaSelector:y,overviewFilterIgnoreOnPerformances:p,cinemaDataProvider:k,activePerformance:o,hideSelectPerformanceButton:A,isMobile:l,movieTimes:i,performanceData:s[o.refPk],theme:S,performancePageMovieTimes:x,movieData:c,backgroundImage:u,scrollToPosition:f,queryStringValues:w,onOpenPerformancePage:h,onClosePerformancePage:m})});var Ae=n(39876),Se=n(95498),Oe=n(12111);function ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Pe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Pe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ce=S.Ay.Element,Ee=function(e){return e.hasPerformance?(0,P.jsx)(k.Ay,{id:"tickets",children:"Tickets"}):(0,P.jsx)("span",{children:(0,P.jsx)(k.Ay,{id:"information",children:"Informationen"})})};const _e=function(e){var t=e.movieTimes,n=e.movieTimesPk,r=e.itemData,i=e.selectionId,o=e.relevantPerformances,s=e.queryStringValues,a=e.overviewFilterIgnoreOnPerformances,l=e.isMobile,c=e.theme,u=e.programOverviewListStyle,d=e.displayMoviePerformanceMobile,f=e.scrollToPosition,h=e.elementDisplay,m=e.hideCinemaSelector,p=e.isSingleMovie,v=e.stripeAppearance,g=e.openItemDetails,y=e.closeItemDetails,b=e.onOpenPerformancePage,w=e.onClosePerformancePage,j=e.itemLink,A=e.isOverview,S=e.id,O=e.index,E=e.activeCinema,_=h.displaySidebarRight,M=h.displaySidebarRightSecond,I=h.activeDetailsItem,N=h.performancePageOpen,D=h.activePerformance,L=h.currentActiveSelection,R=r.title,F=r.images,V=r.descriptionShort,$=r.fsk,B=r.subTitle,U=r.length,H=r.titleDisplay,Z=(r.startingDate,r.trailerURL),X=r.origTitle,K=r.pk,Q=r.genres,oe=(r.limitations,r.logo),se=t.technologyAttributes,ae=t.purchasablePerformances,le=t.moviePk,ce=t.posterTimes,ue=t.desktopTimes,de=t.mobileTimes,pe=ke((0,x.useState)(d||"arthouse_open_movietimes"===u),2),ve=pe[0],ge=pe[1],ye=(0,x.useMemo)(function(){return(0,ne.A)(F)},[F]),be=Oe.find(se,function(e){return"owefwefewfv"===e.id}),we=(0,q.A)(se),xe=we.noAttributesWithIconsToDisplay,Pe=we.technologyAttributesWithIcons,_e=H||(be&&X?X:R),Te=I===K?" is-open":"",Me=ve?" movietimes-active":"",Ie=0!==ae.length,Ne=0!==ue[E].body.length&&0!==de[E].body.length,De={listitem:"Programmübersicht, Liste, Filmelement",details:"Programmübersicht, Liste, Film Details",detailsSlidebar:"Programmübersicht, Liste, Film Details/rechte Slidebar"};return(0,P.jsxs)("div",{id:"movie-item",className:"movie-item "+c.toLowerCase()+Te,children:[(0,P.jsx)(Ce,{name:f+" movieInformation"}),(0,P.jsxs)("div",{className:"movie-item-content",children:[(0,P.jsx)("div",{className:"movie-item-ambient slide-item",children:(0,P.jsx)(re.A,{itemID:S,itemData:r,scrollToPosition:f,selectionId:i,isMobile:l,queryStringValues:s,showPerformances:!1,onOpenPerformancePage:function(){},movieTimePk:n,elementDisplay:h,hideInfo:!0,stripeAppearance:v})}),(0,P.jsxs)("div",{className:"information",children:[!p&&(0,P.jsx)("h2",{className:"title title-xlarge-bold-overview",children:(0,P.jsx)(Y.A,{title:_e,logo:oe})}),B&&(0,P.jsx)("p",{className:"title-slider subtitle",children:B}),(0,P.jsxs)("div",{className:"row-flex-information",children:[(0,P.jsx)(T.A,{genres:Q,theme:c}),U&&(0,P.jsx)(ie.A,{length:U}),(0,P.jsx)(z.A,{fsk:$}),!xe&&(0,P.jsx)("div",{className:"attributes-with-icons",children:(0,P.jsx)(G.A,{attributes:Pe,canBeColored:!0})})]}),(0,P.jsx)(fe,{className:"text-light",movieData:r}),(0,P.jsx)(Ce,{name:f+" openMovieInformation"}),(0,P.jsxs)("div",{className:"row-flex-information no-border",children:[j&&(0,P.jsx)(Se.A,{url:j,title:_e,description:V}),Z&&(0,P.jsx)(W.A,{trailerURL:Z,fsk:$})]}),(0,P.jsxs)("div",{className:"buttons-wrapper",children:["arthouse_open_movietimes"!==u&&(0,P.jsx)("button",{className:"button buy-ticket-button"+Me,onClick:function(){ge(!ve)},children:ve?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{className:"ticket-icon close",children:(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:(0,P.jsx)("polygon",{className:"cls-1",points:"30 2.13 27.87 0 15 12.87 2.13 0 0 2.13 12.87 15 0 27.87 2.13 30 15 17.13 27.87 30 30 27.87 17.13 15 30 2.13"})})}),(0,P.jsx)("span",{className:"button-text text-xlarge-bold",children:(0,P.jsx)(k.Ay,{id:"close",children:"Schließen"})})]}):(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{className:"ticket-icon",children:(0,P.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 129.43 128.25",children:(0,P.jsx)("g",{id:"Ebene_2","data-name":"Ebene 2",children:(0,P.jsxs)("g",{id:"Ebene_1-2","data-name":"Ebene 1",children:[(0,P.jsx)("path",{className:"cls-1",d:"M16.53,96.92c-3-4.13-6.29-8.5-9.41-13C4.79,80.55,6.31,78.2,9.31,76Q45.19,50.26,81,24.35c3.1-2.24,6.27-4.4,9.31-6.71,3.21-2.44,5.79-1.88,8,1.29,1.64,2.3,3.21,4.66,5,6.84,2.88,3.52,4.3,6.78.86,11-2.15,2.64-1.57,6.13.52,8.84s5.29,4.28,8.82,2.92c3.85-1.48,6.33-.28,8.42,3,1.71,2.66,3.68,5.14,5.5,7.73,3,4.24,2.73,5.87-1.61,9q-26.27,19-52.59,38Q59.5,116.2,45.72,126.13c-4.35,3.12-5.91,2.87-9.08-1.3-1.3-1.72-2.42-3.59-3.79-5.26-3.25-3.94-5.57-7.62-1.45-12.7,2.15-2.64,1.11-6.13-1.22-8.69s-5.42-3.72-9-2.31C20,96.34,19,97.47,16.53,96.92Zm16.83,15.77,8.1,11L124.84,63.4l-7.87-11c-6.28,1.81-11.88,1.3-15.87-4.11C97,42.68,97.93,37.06,102,31.63c-2.65-3.65-5.28-7.25-8-11L10.35,80.8l8,11.09c6.3-1.73,11.76-1.28,15.71,3.9C38.38,101.48,37.32,107.23,33.36,112.69Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M9.31,76l8.9-6.41L57.66,4.46l11.69,7c-1.6,6.58-.26,12.13,5.71,15.66.41.24.81.44,1.21.64l4.53-3.27a9.71,9.71,0,0,1-3.45-1.21c-3-1.67-4.88-4.65-3.94-7.93,1.5-5.25-1.08-7.69-5.11-9.8C65.79,4.22,63.42,2.67,61,1.19c-3.31-2-5.91-1.53-7.9,2-1.9,3.32-4,6.55-5.94,9.82Q28,44.68,8.91,76.34Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M32.55,103.1a8.7,8.7,0,0,0-2.37-4.92,8.56,8.56,0,0,0-4.4-2.77c-3.35.09-6.57,1.71-9.76,4.25L4.31,92.59c1.37-2.28,2.75-4.54,4.12-6.82-.44-.61-.87-1.22-1.31-1.85A5.76,5.76,0,0,1,6,81.14q-2.25,3.73-4.51,7.47C-.43,91.77-.9,94.53,2.57,96.72c4.62,2.92,9.36,5.65,13.74,8.27,2.45-.45,2.93-1.88,3.85-2.78,2.76-2.71,5.91-2.92,9.2-1.41A9.75,9.75,0,0,1,32.55,103.1Z"}),(0,P.jsx)("rect",{className:"cls-1",x:"68.74",y:"43.59",width:"11",height:"4.59",transform:"matrix(0.58, 0.81, -0.81, 0.58, 68.03, -41.17)"}),(0,P.jsx)("rect",{className:"cls-1",x:"78.89",y:"57.74",width:"11",height:"4.59",transform:"translate(83.73 -43.53) rotate(54.21)"}),(0,P.jsx)("rect",{className:"cls-1",x:"89.05",y:"71.68",width:"11",height:"4.59",transform:"translate(99.25 -45.98) rotate(54.21)"}),(0,P.jsx)("rect",{className:"cls-1",x:"44.13",y:"33.01",width:"11",height:"4.59",transform:"translate(25.36 -20.56) rotate(31.09)"})]})})})}),(0,P.jsx)("span",{className:"text-xlarge-bold",children:(0,P.jsx)(Ee,{hasPerformance:Ie})})]})}
2),(0,P.jsx)(C,{movieId:S,movieTitle:_e,additionalClass:" button-reverse",scrollToPosition:f,activeDetailsItem:I,openItemDetails:(0,te.Yu)(g,De.listitem),closeItemDetails:(0,te.Oz)(y,De.listitem)})]})]}),(0,P.jsx)(Ae.A,{purchasablePerformances:ae,itemData:r,programOverviewListStyle:u,queryStringValues:s,hasPerformancesWhileHiddenOnesIgnored:Ne}),"arthouse_open_movietimes"!==u&&(0,P.jsx)(he.A,{posterTimes:ce,purchasablePerformances:ae,movieId:le,itemData:r,additionalClass:" "+K,theme:c,queryStringValues:s,movieIndex:O,onClick:function(){return ge(!ve)},scrollToPosition:f,isOverview:A,showMobileMovieTimes:ve,relevantPerformances:o,overviewFilterIgnoreOnPerformances:a}),ve&&(0,P.jsx)(me.A,{moviePk:S,movieData:r,movieTimes:t,queryStringValues:s,relevantPerformances:o,scrollToPosition:f,overviewFilterIgnoreOnPerformances:a,additionalClass:"",onOpenIframe:(0,te._b)(b,De.listitem),hideCinemaSelector:m,activeCinema:E})]}),!M&&!l&&N&&D.movieId===S&&L===i&&(0,P.jsx)(je,{movieTimePk:n,activeItem:S,isMobile:l,movieData:r,scrollToPosition:f,ambientImage:ye.ambient,noMovietimes:!0,onClosePerformancePage:(0,te.ij)(w)}),M&&N&&D.movieId===S&&L===i&&(0,P.jsx)(ee.mN,{children:(0,P.jsx)(je,{movieTimePk:n,activeItem:S,isMobile:l,movieData:r,backgroundImage:ye.performance,ambientImage:ye.ambient,scrollToPosition:f+" openMovieInformation",onOpenPerformancePage:(0,te._b)(b,De.performance),onClosePerformancePage:(0,te.ij)(w,De.performance),overviewFilterIgnoreOnPerformances:a,performancePageMovieTimes:!0})}),(0,P.jsx)(Ce,{name:f+" movieDetails"}),!_&&I===K&&(0,P.jsx)(J,{movieTimePk:n,movieData:r,backgroundImage:ye.details,scrollToPosition:f,isMobile:l,onCloseDetails:(0,te.Oz)(y,De.details),trailerImage:ye.ambient}),_&&I===K&&(0,P.jsxs)(ee.cq,{children:[(0,P.jsx)("div",{className:"site-slidebar-overlay accent-color-background-half-transparent",onClick:y}),(0,P.jsx)("div",{className:"site-slidebar-content accent-color-background-half-transparent",children:(0,P.jsx)(J,{movieTimePk:n,movieData:r,backgroundImage:ye.details,scrollToPosition:f,isMobile:l,onCloseDetails:(0,te.Oz)(y,De.detailsSlidebar),trailerImage:ye.ambient})})]})]})};var Te=n(58330),Me=n(89203),Ie=n(12111);const Ne=function(e){var t=e.actors;if(!t)return"";var n=Ie.filter(t,function(e){return null!==e.name}),r=n.length;return 0===r?"":1===r?(0,P.jsx)("span",{className:"text-light",children:(0,Me.A)(n[0].name)}):2===r?(0,P.jsxs)("span",{className:"text-light",children:[(0,Me.A)(n[0].name)," ",(0,P.jsx)(k.Ay,{id:"and",children:"und"})," ",(0,Me.A)(n[1].name)]}):r>2?(0,P.jsxs)("span",{className:"text-light",children:[(0,Me.A)(n[0].name),", ",(0,Me.A)(n[1].name)," ",(0,P.jsx)(k.Ay,{id:"and",children:"und"})," ",(0,Me.A)(n[2].name)]}):void 0};var De=n(41316),Le=n(12111);function Re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Fe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Ve=S.Ay.Element;const $e=function(e){var t=e.movieTimes,n=e.movieTimesPk,r=e.itemData,i=e.selectionId,o=e.relevantPerformances,s=e.queryStringValues,a=e.overviewFilterIgnoreOnPerformances,l=e.isMobile,c=e.theme,u=e.programOverviewListStyle,d=e.displayMoviePerformanceMobile,f=e.scrollToPosition,h=e.elementDisplay,m=e.hideCinemaSelector,p=e.isSingleMovie,v=e.openItemDetails,g=e.closeItemDetails,y=e.onOpenPerformancePage,b
2=e.onClosePerformancePage,w=e.itemLink,j=e.isOverview,A=e.id,S=e.index,k=e.activeCinema,_=h.displaySidebarRight,T=h.displaySidebarRightSecond,M=h.activeDetailsItem,I=h.performancePageOpen,N=h.activePerformance,D=h.browserWidth,L=h.currentActiveSelection,R=r.title,V=r.images,$=r.descriptionShort,B=r.fsk,U=r.actors,H=r.subTitle,Z=r.directors,q=r.length,G=r.titleDisplay,X=r.trailerURL,K=r.origTitle,Q=r.pk,re=r.performances,ie=r.logo,oe=t.technologyAttributes,se=t.purchasablePerformances,ae=t.moviePk,le=t.posterTimes,ce=t.desktopTimes,ue=t.mobileTimes,de=0!==Le.intersection(re,o).length&&0!==ce[k].body.length&&0!==ue[k].body.length,pe=d&&se,ve=Re((0,x.useState)(!1),2),ge=ve[0],ye=ve[1],be=Re((0,x.useState)(pe),2),we=be[0],xe=be[1],Oe=(0,x.useMemo)(function(){return(0,ne.A)(V)},[V]),ke=(0,F.A)(Oe.performance,l,!1,!0),Pe=ke.finalImageURl,Ce=ke.imageUrl,Ee=ke.position,_e=Le.find(oe,function(e){return"owefwefewfv"===e.id}),Me=G||(_e&&K?K:R),Ie=M===Q?" is-open":"",Fe=we?" show-on-mobile":" hide-on-mobile",$e=pe?" always-show-movie-times":"",Be=!!("colored_blocks"===u&&!se&&!de||"colored_blocks"!==u&&se&&de||pe),Ue="arthouse"===("arthouse_blockbuster"===u&&c.toLowerCase())?"dark":c.toLowerCase(),He="Programmübersicht, Liste, Filmelement",We="Programmübersicht, Liste, Film Vorführung",ze="Programmübersicht, Liste, Film Details",Ze="Programmübersicht, Liste, Film Details/rechte Slidebar",qe=function(){"colored_blocks"===u||d?(0,te.Yu)(v,He)({movieId:A,movieTitle:R,index:S}):xe(!we)},Ge={objectPosition:Ee};return(0,P.jsxs)("div",{id:"movie-item",className:"movie-item "+Ue+Ie+$e,children:[(0,P.jsx)(Ve,{name:f+" movieInformation"}),(0,P.jsxs)("div",{className:"movie-item-content",children:[(0,P.jsx)("div",{className:"movie-item-background-image-wrapper theme-radius-posters-full",children:(0,P.jsx)("img",{src:Pe,style:Ge,className:"movie-item-background-image theme-radius-posters-full",alt:"Background",onError:function(e){var t=e.currentTarget;ge?(t.onerror=null,t.src=""):(ye(!0),t.onerror=null,t.src=Ce)}})}),(0,P.jsxs)("div",{className:"movie-item-ambient slide-item",children:[(0,P.jsx)(Te.A,{itemID:A,showFSK:!0,selectionId:i,itemData:r,isMobile:l,movieTimePk:n,elementDisplay:h,isOverview:j,eventOrigin:He,listPosterOnClick:function(){return qe()},toggleMovieTimesOnMobileView:function(){return xe(!we)},relevantPerformances:o}),(D>=1220||D>=480&&("colored_blocks"===u||d))&&(0,P.jsx)(C,{movieId:A,movieTitle:Me,scrollToPosition:f,activeDetailsItem:M,openItemDetails:(0,te.Yu)(v,He),closeItemDetails:(0,te.Oz)(g,He)})]}),D<1220&&"colored_blocks"!==u&&!d&&(0,P.jsx)(C,{movieId:A,movieTitle:Me,scrollToPosition:f,activeDetailsItem:M,openItemDetails:(0,te.Yu)(v,He),closeItemDetails:(0,te.Oz)(g,He)}),(0,P.jsxs)("div",{className:"information",children:[!p&&(0,P.jsx)(O.A,{className:"picture-wrapper-link",onClick:function(){return qe()},to:f+" movieInformation",smooth:!0,offset:-100,children:(0,P.jsx)("h2",{className:"title title-xlarge-bold-overview",children:(0,P.jsx)(Y.A,{title:Me,logo:ie})})}),H&&(0,P.jsx)("p",{className:"title-slider subtitle",children:H}),(0!==U.length||Z)&&(0,P.jsxs)("div",{className:"actors",children:[(0,P.jsx)(Ne,{actors:U}),(0,P.jsx)(De.A,{directors:Z,actors:U})]}),(0,P.jsxs)("div",{className:"fsk-and-trailer",children:[X&&(0,P.jsx)(W.A,{trailerURL:X,fsk:B}),(0,P.jsxs)("div",{className:"fsk-length-wrapper",children:[(0,P.jsx)(E.A,{length:q}),(0,P.jsx)(z.A,{labelFsk:!0,fsk:B}),D<480&&("colored_blocks"===u||d)&&(0,P.jsx)(C,{movieId:A,movieTitle:Me,scrollToPosition:f,activeDetailsItem:M,openItemDetails:(0,te.Yu)(v,He),closeItemDetails:(0,te.Oz)(g,He)})]})]}),(0,P.jsx)(fe,{className:"text-light",movieData:r}),(0,P.jsx)(Ve,{name:f+" openMovieInformation"}),(0,P.jsx)("div",{className:"row-flex-information no-border",children:w&&(0,P.jsx)(Se.A,{url:w,title:Me,description:$})}),D>=1220&&(0,P.jsx)(me.A,{moviePk:A,movieData:r,movieTimes:t,queryStringValues:s,relevantPerformances:o,scrollToPosition:f,overviewFilterIgnoreOnPerformances:a,additionalClass:Fe,onOpenIframe:(0,te._b)(y,He),hideCinemaSelector:m,activeCinema:k,initialDateActive:"string"==typeof we?we:null})]}),Be&&(0,P.jsx)(Ae.A,{purchasablePerformances:se,hasPerformancesWhileHiddenOnesIgnored:de,itemData:r,queryStringValues:s}),(0,P.jsx)(he.A,{posterTimes:le,purchasablePerformances:se,movieId:ae,itemData:r,additionalClass:" "+Q,theme:c,queryStringValues:s,movieIndex:S,onClick:xe,scrollToPosition:f,isOverview:j,isMobile:l,showMobileMovieTimes:we,relevantPerformances:o,overviewFilterIgnoreO
2nPerformances:a}),D<1220&&(0,P.jsx)(me.A,{moviePk:A,movieData:r,movieTimes:t,queryStringValues:s,relevantPerformances:o,scrollToPosition:f,overviewFilterIgnoreOnPerformances:a,additionalClass:Fe,onOpenIframe:(0,te._b)(y,He),hideCinemaSelector:m,activeCinema:k,initialDateActive:"string"==typeof we?we:null})]}),!T&&!l&&I&&N.movieId===A&&L===i&&(0,P.jsx)(je,{movieTimePk:n,activeItem:A,isMobile:l,ambientImage:Oe.ambient,movieData:r,scrollToPosition:f,noMovietimes:!0,onClosePerformancePage:(0,te.ij)(b,We)}),T&&I&&N.movieId===A&&L===i&&(0,P.jsx)(ee.mN,{children:(0,P.jsx)(je,{movieTimePk:n,activeItem:A,isMobile:l,movieData:r,backgroundImage:Oe.performance,ambientImage:Oe.ambient,scrollToPosition:f+" openMovieInformation",onOpenPerformancePage:(0,te._b)(y,We),onClosePerformancePage:(0,te.ij)(b,We),overviewFilterIgnoreOnPerformances:a,performancePageMovieTimes:!0,queryStringValues:s})}),(0,P.jsx)(Ve,{name:f+" movieDetails"}),!_&&!T&&M===Q&&(0,P.jsx)(J,{movieTimePk:n,movieData:r,backgroundImage:Oe.details,scrollToPosition:f,isMobile:l,onCloseDetails:(0,te.Oz)(g,ze),trailerImage:Oe.ambient}),_&&M===Q&&(0,P.jsxs)(ee.cq,{children:[(0,P.jsx)("div",{className:"site-slidebar-overlay accent-color-background-half-transparent",onClick:g}),(0,P.jsx)("div",{className:"site-slidebar-content accent-color-background-half-transparent",children:(0,P.jsx)(J,{movieTimePk:n,movieData:r,backgroundImage:Oe.details,scrollToPosition:f,isMobile:l,onCloseDetails:(0,te.Oz)(g,Ze),trailerImage:Oe.ambient})})]}),T&&M===Q&&(0,P.jsxs)(ee.mN,{children:[(0,P.jsx)("div",{className:"site-slidebar-overlay accent-color-background-half-transparent",onClick:g}),(0,P.jsx)("div",{className:"site-slidebar-content accent-color-background-half-transparent",children:(0,P.jsx)(J,{movieTimePk:n,movieData:r,backgroundImage:Oe.details,scrollToPosition:f,isMobile:l,onCloseDetails:(0,te.Oz)(g,Ze),trailerImage:Oe.ambient})})]})]})};const Be=function(e){var t=e.movieTimes,n=e.movieTimesPk,r=e.itemData,i=e.selectionId,o=e.relevantPerformances,s=e.queryStringValues,a=e.overviewFilterIgnoreOnPerformances,l=e.isMobile,c=e.theme,u=e.stripeAppearance,d=e.programOverviewListStyle,f=e.displayMoviePerformanceMobile,h=e.scrollToPosition,m=e.elementDisplay,p=e.hideCinemaSelector,v=e.isSingleMovie,g=e.openItemDetails,y=e.closeItemDetails,b=e.onOpenPerformancePage,w=e.onClosePerformancePage,x=e.itemLink,j=e.id,A=e.index,S=e.isOverview,O=e.activeCinema;return"Arthouse"===c&&"arthouse_blockbuster"!==d?(0,P.jsx)(_e,{movieTimes:t,movieTimesPk:n,itemData:r,selectionId:i,relevantPerformances:o,queryStringValues:s,overviewFilterIgnoreOnPerformances:a,isMobile:l,theme:c,programOverviewListStyle:d,scrollToPosition:h,elementDisplay:m,hideCinemaSelector:p,isSingleMovie:v,stripeAppearance:u,openItemDetails:g,closeItemDetails:y,onOpenPerformancePage:b,onClosePerformancePage:w,itemLink:x,id:j,index:A,isOverview:S,activeCinema:O}):(0,P.jsx)($e,{movieTimes:t,movieTimesPk:n,itemData:r,selectionId:i,relevantPerformances:o,queryStringValues:s,overviewFilterIgnoreOnPerformances:a,isMobile:l,theme:c,programOverviewListStyle:d,displayMoviePerformanceMobile:f,scrollToPosition:h,elementDisplay:m,hideCinemaSelector:p,isSingleMovie:v,openItemDetails:g,closeItemDetails:y,onOpenPerformancePage:b,onClosePerformancePage:w,itemLink:x,id:j,index:A,isOverview:S,activeCinema:O})};const Ue=(0,v.Ng)((0,Q.A)(function(e,t){return{movieTimes:(0,g.A)(e,[y.PROGRAM_MOVIETIMES_ITEMS,t.movieTimesPk])}}),null)(function(e){var t=e.movieTimes,n=e.itemData,r=e.movieTimesPk,i=e.selectionId,o=e.relevantPerformances,s=e.queryStringValues,a=e.overviewFilterIgnoreOnPerformances,l=e.isMobile,c=e.theme,u=e.stripeAppearance,d=e.programOverviewListStyle,f=e.displayMoviePerformanceMobile,h=e.additionalScrollName,m=e.elementDisplay,p=e.hideCinemaSelector,v=e.isSingleMovie,g=e.onOpenDetails,y=e.onCloseDetails,b=e.onOpenPerformancePage,w=e.onClosePerformancePage,x=e.itemLink,j=e.id,A=e.index,S=e.activeCinema;return(0,P.jsx)(Be,{movieTimes:t,movieTimesPk:r,itemData:n,selectionId:i,relevantPerformances:o,queryStringValues:s,overviewFilterIgnoreOnPerformances:a,isMobile:l,theme:c,stripeAppearance:u,programOverviewListStyle:d,displayMoviePerformanceMobile:f,scrollToPosition:j+h,elementDisplay:m,hideCinemaSelector:p,isSingleMovie:v,openItemDetails:g,closeItemDetails:y,onOpenPerformancePage:b,onClosePerformancePage:w,itemLink:x,isOverview:!0,index:A,id:j,activeCinema:S})});const He=function(e){var t=e.children,n=e.item,r=e.refElemViewport,i=e.eventOrigin,o=void 0!==i&&i,s=e.className,a=void 0===s?"custom-placement-item-container":s,l=n.link;if(l&&l.url&&o){var c=n.pk,u=n.title,d=l.destinationType,f=(l.pathType,l.url);return(0,P.jsx)("a",{className:a+" cursor-pointer",href:f,onClick:function(){return(0,te.f)(o,c,u,f)},target:"external"===d?"_blank":"_self",ref:r,children:t})}return(0,P.jsx)("div",{className:a,ref:r,children:t})};var We=n(16638),ze=n(16915);const Ze=function(e){var t={};return document.cookie.split(";").forEach(function(e){var n=e.split("=");t[n[0].trim()]=n.slice(1).join("=")}),!!t[e]&&t[e]};const qe=function(){if(!Ze("fireplace")){var e=new Date;e.setTime(e.getTime()+18e5);var t="expires="+e.toUTCString()+";";document.cookie="fireplace=fireplace-in-view;"+t+"; path=/"}};function Ge(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ye(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ye(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Xe=(0,ze.A)(function(e){var t=e.item,n=e.imageURLs,r=e.itemOrigin,i=e.isInViewport,o=e.refElemViewport,s=e.imgTag,a=void 0!==s&&s,l=e.children,c=void 0!==l&&l,u=(e.initValue,Ge((0,x.useState)(!1),2)),d=u[0],f=u[1],h=Ge((0,x.useState)(!1),2),m=h[0],p=h[1];return(0,x.useEffect)(function(){!d&&i&&f(!0)},[i]),(0,x.useEffect)(function(){d&&(0,te.Kk)(r,t.pk,t.title)},[d]),(0,x.useEffect)(function(){"Fireplace"===r&&d&&m&&qe()},[d,m]),(0,P.jsx)(He,{refElemViewport:o,item:t,eventOrigin:r,children:c||(0,P.jsx)(We.A,{images:t.images,imageURLs:n,imgTag:a,onBigImageLoad:"Fireplace"===r&&function(){return p(!0)}})})});const Ke=function(e){var t=e.interscrollerType,n=e.interscrollerWeischerAds,r=e.interscrollerAdvertisements,i=e.styles,o=e.itemClass,s=void 0===o?"order-wrapper":o;if(t===c.Dt){var a=n[0].payload;return(0,P.jsx)("div",{className:s+" interscroller-item weischer-interscroller",style:i,children:(0,P.jsx)("div",{className:"weischer-item-wrapper",children:(0,P.jsx)("div",{className:"weischer-item",id:a})})})}var l=r[0],u=[!!(l.images&&l.images.desktop&&l.images.desktop.url)&&"has-desktop",!!(l.images&&l.images.mobile&&l.images.mobile.url)&&"has-mobile"].filter(Boolean).join(" ");return(0,P.jsx)("div",{className:"".concat(s," interscroller-item custom-placement-interscroller").concat(u?" "+u:""),style:i,children:(0,P.jsx)(Xe,{item:l,imageURLs:{desktop:!1,mobile:!1},itemOrigin:"Overview Interscroller"})})};const Qe=(0,v.Ng)((0,Q.A)(function(e,t){return{routesData:(0,g.A)(e,y.ROUTESDATA),currentLang:(0,g.A)(e,y.TRANSLATION_CURRENT_LANG)}}),null)(function(e){var t=e.routesData,n=e.currentLang,r=e.items,i=e.relevantPerformances,o=e.moviesData,s=e.selectionId,a=e.interscrollerWeischerAds,l=e.interscrollerAdvertisements,c=e.queryStringValues,u=e.overviewFilterIgnoreOnPerformances,d=e.isMobile,f=e.theme,h=e.stripeAppearance,v=e.programOverviewListStyle,g=e.displayMoviePerformanceMobile,y=e.additionalScrollName,b=void 0===y?"":y,w=e.elementDisplay,x=e.hideCinemaSelector,j=e.isSingleMovie,S=e.onOpenDetails,O=e.onCloseDetails,C=e.onOpenPerformancePage,E=e.onClosePerformancePage,_=e.activeCinema,T=Math.ceil(r.length/6)>=4?6:3,M=window.innerWidth>=760,I=m(l,M),N=I?[I]:[],D=p(r,a,N,T),L=D.interscrollerId,R=D.interscrollerType,F=D.itemsWithInterscroller,V=t&&t.movies?t.movies.items:null;return F?(0,P.jsx)("div",{className:"grid-site-wrapper",children:(0,P.jsx)("div",{className:"overview-grid",children:0===F.length?(0,P.jsx)("h3",{className:"no-movie title-xlarge-theatre",children:(0,P.jsx)(k.Ay,{id:"ThereCurrentlyNoFilmsTypes"})}):(0,P.jsx)("div",{className:"list-grid "+v,children:F.map(function(e,t){return R&&L===e?(0,P.jsx)(Ke,{itemClass:"movie-item",interscrollerType:R,interscrollerWeischerAds:a,interscrollerAdvertisements:N,styles:{}},t):(0,P.jsx)(Ue,{itemData:o[e],selectionId:s,relevantPerformances:i,queryStringValues:c,overviewFilterIgnoreOnPerformances:u,isMobile:d,theme:f,stripeAppearance:h,programOverviewListStyle:v,displayMoviePerformanceMobile:g,additionalScrollName:b,elementDisplay:w,hideCinemaSelector:x,isSingleMovie:j,onOpenDetails:S,onCloseDetails:O,onOpenPerformancePage:C,onClosePerformancePage:E,itemLink:(0,A.A)(e,V,n),index:t,id:e,movieTimesPk:e,activeCinema:_},t)})})})}):""});const Je=function(e){var t=e.singleMovie,n=e.overviewSubtitle,r=e.notFound,i=e.items,o=e.movies,s="Not Found",a=null;if(t){if(i&&i.length>0&&o.hasOwnProperty(i[0])){var l=o[i[0]];s=l.titleDisplay?l.titleDisplay:l.title,a=l.logo}}else s=r?(0,P.jsx)(k.Ay,{id:"programOverviewMovieNotFound",children:"Programmübersicht: Film nicht vorhanden"}):(0,P.jsx)(k.Ay,{id:"programOverview",children:"Programmübersicht"});return(0,P.jsxs)("div",{className:"grid-site-wrapper",children:[(0,P.jsx)("h1",{className:"overview-title title-xlarge-black",children:(0,P.jsx)(Y.A,{title:s,logo:a})}),n&&(0,P.jsx)("h2",{className:"overview-subtitle",children:n})]})};const et=function(e){var t=e.pathname;return(0,P.jsx)("div",{className:"grid-site-wrapper overview-back-link-wrapper",children:(0,P.jsx)(r.N_,{className:"overview-back-link",to:{pathname:"/"+t,search:null},children:(0,P.jsx)("span",{className:"overview-back-link-text text-light button",children:(0,P.jsx)(k.Ay,{id:"backToprogramOverview",children:"Zur Programmübersicht"})})})})};const tt=function(e){var t=e.wrapperClassName,n=e.itemClassName,r=e.item;return(0,P.jsxs)("div",{className:t,children:[(0,P.jsx)("div",{className:n+" weischer-item",id:r.payload}),r.fallbackImage&&(0,P.jsx)("div",{className:"weischer-item-fallback-image-container",children:r.fallbackLink?"external"===r.fallbackLink.destinationType?(0,P.jsx)("div",{className:"weischer-item-overview-hero",children:(0,P.jsx)("a",{className:"weischer-item-fallback-link",href:r.fallbackLink.url,target:"_blank",children:(0,P.jsx)("img",{className:"weischer-item-fallback-image",src:r.fallbackImage.url})})}):(0,P.jsx)("div",{className:"weischer-item-overview-hero",children:(0,P.jsx)("a",{className:"weischer-item-fallback-link",href:r.fallbackLink.url,children:(0,P.jsx)("img",{className:"weischer-item-fallback-image",src:r.fallbackImage.url})})}):(0,P.jsx)("div",{className:"weischer-item-overview-hero",children:(0,P.jsx)("img",{className:"weischer-item-fallback-image",src:r.fallbackImage.url})})})]})};const nt=function(e){var t=e.weischerAdsList;return t.length>0&&(0,P.jsx)("div",{className:"grid-site-wrapper weischer items-count-"+t.length,children:t.map(function(e,t){return(0,P.jsx)(tt,{wrapperClassName:"weischer-item-wrapper",itemClassName:"weischer-item",item:e},t)})})};var rt=n(86663);const it=function(e,t){var n={};return t.map(function(e){return n[e]=[]}),e&&e.order&&e.order.map(function(t){var r=e.items[t];n.hasOwnProperty(r.type)&&n[r.type].push(r)}),n};var ot="home_banner_single",st="overview_banner",at="overview_hero",lt="interscroller",ct="fireplace";const ut=function(e){var t=u(e,[s,l,o]),n=d(t[o]);return{overviewWeischerAds:t[s],interscrollerWeischerAds:t[l],prerollUrl:n}};var dt=n(23453),ft=n(89972);function ht(e){return ht="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},ht(e)}function mt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=ht(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ht(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ht(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pt=function(e){var t=e.images,n=e.imageURLs,r=e.imgTag,i=(0,ft.A)(n,t);return(0,P.jsx)("div",{className:"custom-placement-image-container",children:i.map(function(e){return n[e]&&(0,P.jsx)(dt.A,{imgKey:e,imgURL:n[e],imgTag:r||"mobile"===e},e)})})};const vt=function(e){var t=e.items,n=e.homeOrigin,r=void 0!==n&&n;if(!t||0===t.length)return"";var i=t.length,o=t;3<i&&(i=3,o=t.slice(0,3));var s=["desktopOne","desktopTwo","desktopThree"],a=r?"Home Banner":"Overview Banner",l=function(e){return e.type===ot?{image:!1}:mt(mt({},s[i-1],!1),"mobile",!1)};return(0,P.jsx)("div",{className:"grid-site-wrapper custom-placements-banner-list items-"+i,children:o.map(function(e){return(0,P.jsx)(Xe,{item:e,itemOrigin:a,children:(0,P.jsx)(pt,{images:e.images,imageURLs:l(e),imgTag:e.type===ot||1===i})},e.pk)})})};var gt=n(12111);function yt(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
2if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return bt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bt(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const wt=function(e,t,n,r){var i,o=gt.reject(n,function(e){return"2d"===e.toLowerCase()}),s=function(n){return gt.filter(t,function(t){return gt.find(t.technologyAttributes,function(r){return r.id===n&&t.pk!==e.pk})})},a=yt(gt.shuffle(r.slice()));try{for(a.s();!(i=a.n()).done;){var l=s(i.value);if(0!==l.length)return l.splice(4),l}}catch(e){a.e(e)}finally{a.f()}var c,u=yt(gt.shuffle(o.slice()));try{for(u.s();!(c=u.n()).done;){var d=s(c.value);if(0!==d.length)return d.splice(4),d}}catch(e){u.e(e)}finally{u.f()}var f,h=yt(gt.shuffle(e.genres.slice()));try{var m,p=function(){var n=f.value,r=gt.filter(t,function(t){return gt.find(t.genres,function(r){return r===n&&t.pk!==e.pk})});if(0!==r.length)return r.splice(4),{v:r}};for(h.s();!(f=h.n()).done;)if(m=p())return m.v}catch(e){h.e(e)}finally{h.f()}var v=gt.shuffle(gt.values(t));return v.splice(4),v};var xt=n(89089),jt=n(61767),At=n(7668),St=n(12111);function Ot(e){return Ot="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},Ot(e)}function kt(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,Pt(r.key),r)}}function Pt(e){var t=function(e,t){if("object"!=Ot(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ot(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ot(t)?t:t+""}function Ct(e,t,n){return t=_t(t),function(e,t){if(t&&("object"==Ot(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)}(e,Et()?Reflect.construct(t,n||[],_t(e).constructor):t.apply(e,n))}function Et(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Et=function(){return!!e})()}function _t(e){return _t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_t(e)}function Tt(e,t){return Tt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Tt(e,t)}var Mt=S.Ay.scroller,It=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Ct(this,t,[e])).state={titleFilter:{},moreMovies:null},n}return 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&&Tt(e,t)}(t,e),n=t,r=[{key:"getMoviesTitleList",value:function(){var e=this.props.routesData;return(0,jt.A)(e)}},{key:"getMovieIds",value:function(){var e=this.props,t=e.match,n=e.movies,r=this.state.titleFilter;return(0,At.A)(t,n,r)}},{key:"movieHasPerformance",value:function(e){var t=this,n=this.props.movies,r=this.getMovieIds(),i=[];return r&&r.map(function(r){var o=n.items[r];if(o){var s=o.performances,a=St.find(s,function(n){var r=t.props.performanceData[n];if(e&&e.performance_id)return r.id===e.performance_id});if(a){var l={performance:t.props.performanceData[a],movie:o};i.push(l)}}}),i}},{key:"componentDidUpdate",value:function(e){var t=rt.parse(this.props.location.search),n=this.movieHasPerformance(t);if(!this.state.moreMovies){var r=this.props.movies,i=this.getMovieIds(),o=r.items[i[0]];if(!o)return"";
2var s=o.technologyAttributes,a=St.pluck(s,"id"),l=(0,xt.A)(a),c=l.technologyAttributesWithIcons,u=l.technologyAttributesWithoutIcons,d=wt(o,r.items,c,u);this.setState({moreMovies:d})}if(!this.props.elementDisplay.activePerformance&&t&&t.performance_id&&n&&0!==n.length){var f=n[0],h=f.performance,m=f.movie,p=h.id,v=h.timeUtc,g=h.deeplinkURL,y=h.cinema,b=h.refPk,w=m.title,x=m.titleDisplay;this.props.onOpenPerformancePage({id:p,timeUtc:v,cinema:y,url:g,movieId:m.pk,movieTitle:x||w,refPk:b});var j=document.getElementById("compeso-iframe"),A=document.getElementById("diesel-iframe");(j||A)&&setTimeout(function(){Mt.scrollTo(m.pk+" performance-iframe",{offset:-200,isDynamic:!0,smooth:!0})},500)}}},{key:"componentDidMount",value:function(){this.setState({titleFilter:this.getMoviesTitleList()})}},{key:"render",value:function(){var e=this.props,t=e.movies,n=e.weischerAds,r=e.advertisements,i=e.match,o=e.elementDisplay,s=e.currentLang,a=e.routesData,l=e.overviewSubtitle,c=e.programOverviewListStyle,u=e.displayMoviePerformanceMobile,d=e.theme,f=e.onClosePerformancePage,h=e.onOpenPerformancePage,m=e.onOpenDetails,p=e.onCloseDetails,v=this.getMovieIds();if(!v)return(0,P.jsxs)("div",{className:"overview overview-view-list movie "+c,children:[(0,P.jsx)(Je,{singleMovie:!1,notFound:!0,overviewSubtitle:l}),(0,P.jsx)(et,{pathname:i.params.overviewParam})]});var g=ut(n).overviewWeischerAds,y=it(r,[st]),b=this.state.moreMovies;return(0,P.jsxs)("div",{className:"overview overview-view-list movie "+c,children:[(0,P.jsx)(et,{pathname:i.params.overviewParam}),(0,P.jsx)(Je,{singleMovie:!0,notFound:!1,items:v,movies:t.items}),(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(nt,{weischerAdsList:g}),(0,P.jsx)(vt,{items:y[st]})]}),(0,P.jsx)(Qe,{items:v,moviesData:t.items,interscrollerWeischerAds:[],interscrollerAdvertisements:[],selectionId:"program",queryStringValues:{},isMobile:o.isMobile.displaySidebarRight,additionalScrollName:"",elementDisplay:o,isSingleMovie:!0,theme:d,displayMoviePerformanceMobile:u,onClosePerformancePage:f,onOpenPerformancePage:h,onOpenDetails:m,onCloseDetails:p}),b&&0!==b.length&&(0,P.jsxs)("div",{className:"single-movie-more-movies-wrapper grid-site-wrapper "+c,children:[(0,P.jsxs)("div",{className:"titles-wrapper",children:[(0,P.jsx)("p",{className:"title-xlarge",children:(0,P.jsx)(k.Ay,{id:"moreMovies",children:"Weitere Filme"})}),a&&(0,P.jsxs)("a",{className:"full-program-button",href:a.program_overview[s].uri,children:[(0,P.jsx)("p",{children:(0,P.jsx)(k.Ay,{className:"full-program-button",id:"fullProgram",children:"Komplettes Programm"})}),(0,P.jsx)("svg",{id:"Ebene_2","data-name":"Ebene 2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16.99 11.49",children:(0,P.jsx)("g",{id:"Ebene_1-2","data-name":"Ebene 1",children:(0,P.jsx)("polygon",{points:"12.33 0 10.78 1.26 13.61 4.75 0 4.75 0 6.75 13.6 6.75 10.78 10.24 12.33 11.49 16.99 5.73 12.33 0"})})})]})]}),(0,P.jsx)("div",{className:"single-movie-more-movies no_slide",children:b.map(function(e,t){return(0,P.jsx)("div",{className:"slide-item",children:(0,P.jsx)(re.A,{movieTimePk:e.pk,itemID:e.pk,itemData:e,scrollToPosition:e.pk,isMobile:o.isMobile.displaySidebarRight,index:t,queryStringValues:{},showPerformances:!1,goToMoviepage:!0,stripeAppearance:"no_slide"})},t)})})]})]})}}],r&&kt(n.prototype,r),i&&kt(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const Nt=It;var Dt=n(79349);function Lt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Rt(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rt(e,t):void 0}}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Ft=function(e){var t=e.poster,n=e.isMobile,r=void 0!==n&&n,i=Lt((0,x.useState)(!1),2),o=i[0],s=i[1];if(t){var a=(0,F.A)(t,r,!0),l=a.finalImageURl,c=a.imageUrl;return(0,P.jsx)("div",{className:"poster-grid-item",children:(0,P.jsx)("img",{src:l,alt:"Poster",onError:function(e){var t=e.currentTarget;o?(t.onerror=null,t.src=Dt.A):(s(!0),t.onerror=null,t.src=c)}})})}return(0,P.jsx)("div",{className:"poster-format-item poster-grid-item",children:(0,P.jsx)("div",{className:"picture-wrapper poster-item",children:(0,P.jsx)("div",{className:"no-image-container",children:(0,P.jsx)("div",{className:"no-image"})})})})};var Vt=n(33844),$t=n(12111);function Bt(e){return Bt="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},Bt(e)}function Ut(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,Ht(r.key),r)}}function Ht(e){var t=function(e,t){if("object"!=Bt(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Bt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Bt(t)?t:t+""}function Wt(e,t,n){return t=Zt(t),function(e,t){if(t&&("object"==Bt(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)}(e,zt()?Reflect.construct(t,n||[],Zt(e).constructor):t.apply(e,n))}function zt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zt=function(){return!!e})()}function Zt(e){return Zt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zt(e)}function qt(e,t){return qt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qt(e,t)}var Gt=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Wt(this,t,[e])}return 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&&qt(e,t)}(t,e),n=t,r=[{key:"getPosterObj",value:function(e){var t=this.props.movies[e];return!!t.hasOwnProperty("images")&&(0,Vt.A)(t.images)}},{key:"render",value:function(){var e=this,t=this.props,n=(t.movies,t.moviesOrder),r=t.isMobile,i=$t.without(n.map(function(t,n){var i=e.getPosterObj(t);return!!i&&(0,P.jsx)(Ft,{isMobile:r,poster:i},n)}),!1),o=[],s=1;if(i.length>0&&i.length<45)for(;o.length<45;)n.map(function(t,n){var i=e.getPosterObj(t);i&&(o.push((0,P.jsx)(Ft,{isMobile:r,poster:i},s)),s++)});else o.push(i);var a=o.sort(function(e,t){return Math.random()-.5});return(0,P.jsxs)("div",{className:"poster-grid",children:[(0,P.jsx)("div",{className:"poster-grid-wrapper",children:a}),(0,P.jsx)("div",{className:"poster-gradient"})]})}}],r&&Ut(n.prototype,r),i&&Ut(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.PureComponent);const Yt=Gt;const Xt=function(e){var t=e.overviewHeroItems,n=e.features,r=n&&n.has_userbar?" has-login-header":"";return[t.map(function(e,t){return(0,P.jsx)(tt,{wrapperClassName:"weischer-overview-hero-container"+r,itemClassName:"weischer-overview-hero",item:e},t)})]};const Kt=function(e){var t=e.items,n=e.features,r=n&&n.has_userbar?" has-login-header":"";return(0,P.jsx)("div",{className:"custom-placements-hero"+r,children:(0,P.jsx)(Xe,{item:t[0],imageURLs:{desktop:!1,mobile:!1},itemOrigin:"Overview Hero",imgTag:!0})})};const Qt=function(e){var t=e.overviewHeroItems,n=e.overviewHeroAdvertisementItems,r=e.features,i=e.movies;return t.length>0?(0,P.jsx)(Xt,{overviewHeroItems:t,features:r}):n.length>0?(0,P.jsx)(Kt,{items:n,features:r}):i&&i.hasOwnProperty("items")?(0,P.jsx)(Yt,{movies:i.items,moviesOrder:i.order}):""};var Jt=n(95640),en=n(87031),tn=n(4589),nn=n(53763),rn=n(44609);const on=function(e){var t=e.index,n=e.weischerData,r=e.isMobileHero,i=void 0!==r&&r,o=e.hasLoginHeader,s=void 0===o?"":o,a=n.payload,l=n.pk,c=n.fallbackImage,u=n.fallbackLink;return(0,P.jsxs)("div",{className:i?"weischer-slider-mobile-container"+s:"weischer-item-container",id:l,children:[(0,P.jsx)("div",{className:i?"weischer-slider-mobile-hero  weischer-item":"weischer-item-main weischer-item",id:a}),c&&(0,P.jsx)("div",{className:i?"weischer-item-fallback-image-container-mobile":"weischer-item-fallback-image-container",children:u?"external"===u.destinationType?(0,P.jsx)("div",{className:i?"weischer-item-mobile-hero":"weischer-item-main",children:(0,P.jsx)("a",{className:"weischer-item-fallback-link",href:u.url,target:"_blank",children:(0,P.jsx)("img",{className:i?"weischer-item-fallback-image-mobile":"weischer-item-fallback-image",src:c.url})})}):(0,P.jsx)("div",{className:i?"weischer-item-mobile-hero":"weischer-item-main",children:(0,P.jsx)("a",{className:"weischer-item-fallback-link",href:u.url,children:(0,P.jsx)("img",{className:i?"weischer-item-fallback-image-mobile":"weischer-item-fallback-image",src:c.url})})}):(0,P.jsx)("div",{className:i?"weischer-item-mobile-hero":"weischer-item-main",children:(0,P.jsx)("img",{className:i?"weischer-item-fallback-image-mobile":"weischer-item-fallback-image",src:c.url})})})]},t)};function sn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return an(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?an(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function an(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const ln=(0,ze.A)(function(e){var t=e.index,n=e.data,r=e.isMobile,i=e.currentSlideInViewport,o=e.isInViewport,s=e.refElemViewport,a="Main Slider",l=r?"custom-placement-slider-mobile-container custom-placement-item":"image-wrapper slider-basic slider-basic-large custom-placement-item",c=sn((0,x.useState)(!1),2),u=c[0],d=c[1];return(0,x.useEffect)(function(){!u&&o&&i&&d(!0)},[o,i]),(0,x.useEffect)(function(){u&&(0,te.Kk)(a,n.pk,n.title)},[u]),(0,P.jsx)("div",{className:l,children:(0,P.jsx)(He,{refElemViewport:s,item:n,eventOrigin:a,children:(0,P.jsx)(We.A,{images:n.images,imageURLs:{desktop:!1,mobile:!1},imgTag:!0})})},t)});var cn=n(95641),un=n(46095),dn=n(91749);function fn(e){return fn="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},fn(e)}function hn(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 mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(n),!0).forEach(function(t){pn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=fn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=fn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vn=(0,x.lazy)(function(){return n.e(139).then(n.bind(n,72139))}),gn=function(e){var t=e.title,n=e.styles;return(0,P.jsxs)("div",{className:"slide-item-content-wrapper",children:[(0,P.jsx)("div",{className:"slider-item-text",children:(0,P.jsx)(dn.A,{title:t})}),(0,P.jsx)("div",{className:"slider-item-link",style:n})]})},yn=function(e){var t=e.title,n=e.styles;return(0,P.jsxs)("div",{className:"slide-item-content-wrapper",children:[(0,P.jsx)("div",{className:"top-section",children:(0,P.jsx)(dn.A,{title:t})}),(0,P.jsx)("div",{className:"bottom-section",children:(0,P.jsx)("div",{children:(0,P.jsx)("div",{className:"slider-item-link",style:n})})})]})},bn=function(e){var t=e.className,n=e.title,r=e.isArthouse,i=document.getElementsByClassName("slick-dots "+t),o=40;i[0]&&(o=i[0].clientHeight+10);var s={marginBottom:o};return(0,P.jsxs)("div",{className:"image-wrapper "+t,children:[(0,P.jsx)("div",{className:"image background-visuals-container"}),(0,P.jsx)("div",{className:"gradient",children:(0,P.jsx)("div",{className:"slider-basic-item-content",children:r?(0,P.jsx)(yn,{title:n,styles:s}):(0,P.jsx)(gn,{title:n,styles:s})})})]})},wn=function(e){var t=e.className,n=e.title,r=e.hasScrollLink,i=e.isArthouse;return r?(0,P.jsx)("div",{className:"slick-slide-inner",children:(0,P.jsx)(bn,{className:t,title:n,isArthouse:i})}):(0,P.jsx)(bn,{className:t,title:n,isArthouse:i})};const xn=function(e){var t=e.adData&&e.adData.title?e.adData.title:(0,un.A)(e.movieData);return(0,P.jsx)(x.Suspense,{fallback:(0,P.jsx)(wn,{className:e.className,title:t,isArthouse:"Arthouse"===e.theme,hasScrollLink:e.adData&&e.adData.link&&e.adData.link.url}),children:(0,P.jsx)(vn,mn({},e))})};function jn(e){return jn="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},jn(e)}function An(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 Sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?An(Object(n),!0).forEach(function(t){On(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):An(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function On(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=jn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=jn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==jn(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kn=(0,x.lazy)(function(){return n.e(413).then(n.bind(n,51413))});const Pn=function(e){return(0,P.jsx)(x.Suspense,{fallback:(0,P.jsx)(wn,{className:e.className+" own-content",title:e.adData.title,hasScrollLink:!1,isArthouse:"Arthouse"===e.theme}),children:(0,P.jsx)(kn,Sn({},e))})};const Cn=(0,cn.A)(function(e){var t=e.id,n=e.type,r=e.movieTimePk,i=e.index,o=e.isCurrentSlide,s=e.oddSlide,a=e.kenBurnsToggle,l=e.isJustOneItem,u=e.elementDisplay,d=e.autoplaySpeed,f=e.sliderTitle,h=e.className,m=e.moviesData,p=e.extraMoviesData,v=e.adsData,g=e.selectionId,y=e.advertisementsData,b=e.weischerAdsData,w=e.backgroundVisualsSettings,x=e.canParallax,j=e.sliderType,A=e.theme,S=e.isMobile,O=e.isConnectedFast,k=e.isInViewport,C=e.eventOrigins,E=e.isChanging;if(c.fm===n&&m.hasOwnProperty(t)){var _=m[t];return(0,P.jsx)("div",{children:(0,P.jsx)(xn,{className:h,movieData:_,movieTimePk:r,isChanging:E,adData:!1,sliderType:j,sliderTitle:f,elementDisplay:u,oddSlide:s,kenBurnsToggle:a,canParallax:x,index:i,isJustOneItem:l,selectionId:g,isMobile:S,isCurrentSlide:o,isConnectedFast:O,isInViewport:k,backgroundVisualsSettings:w,autoplaySpeed:d,theme:A,eventOrigins:C})},i)}if(c.x3===n&&p&&p.hasOwnProperty(t)){var T=p[t];return(0,P.jsx)("div",{children:(0,P.jsx)(xn,{className:h,movieData:T,movieTimePk:r,isChanging:E,adData:!1,sliderType:j,sliderTitle:f,elementDisplay:u,oddSlide:s,kenBurnsToggle:a,canParallax:x,index:i,isJustOneItem:l,selectionId:g,isMobile:S,isCurrentSlide:o,isConnectedFast:O,isInViewport:k,backgroundVisualsSettings:w,autoplaySpeed:d,theme:A,eventOrigins:C})},i)}if(c.AD===n&&v.hasOwnProperty(t)&&v[t]&&v[t].hasOwnProperty("movieRefID")&&v[t].movieRefID&&""!==v[t].movieRefID&&m.hasOwnProperty(v[t].movieRefID)){var M=v[t],I=m[M.movieRefID];return(0,P.jsx)("div",{children:(0,P.jsx)(xn,{className:h,isMobile:S,movieData:I,isChanging:E,movieTimePk:I.pk,adData:M,sliderType:j,index:i,elementDisplay:u,selectionId:g,sliderTitle:f,oddSlide:s,kenBurnsToggle:a,canParallax:x,isJustOneItem:l,isCurrentSlide:o,isConnectedFast:O,isInViewport:k,backgroundVisualsSettings:w,autoplaySpeed:d,theme:A,eventOrigins:C})},i)}if(c.AD===n&&v.hasOwnProperty(t)){var N=v[t];return(0,P.jsx)("div",{children:(0,P.jsx)(Pn,{adData:N,oddSlide:s,kenBurnsToggle:a,canParallax:x,theme:A,isJustOneItem:l,className:h,isMobile:S,sliderTitle:f,backgroundVisualsSettings:w,autoplaySpeed:d})},i)}if(c.Dt===n&&b.hasOwnProperty(t)){var D=b[t];return(0,P.jsx)(on,{index:i,weischerData:D})}return c.wU===n&&y.hasOwnProperty(t)?(0,P.jsx)(ln,{index:i,data:y[t],currentSlideInViewport:o&&k,isMobile:!1}):""});function En(e){return En="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},En(e)}function _n(e){return function(e){if(Array.isArray(e))return Tn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Tn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Tn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Mn(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 In(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Mn(Object(n),!0).forEach(function(t){Vn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Nn(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,$n(r.key),r)}}function Dn(e,t,n){return t=Rn(t),function(e,t){if(t&&("object"==En(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)}(e,Ln()?Reflect.construct(t,n||[],Rn(e).constructor):t.apply(e,n))}function Ln(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ln=function(){return!!e})()}function Rn(e){return Rn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Rn(e)}function Fn(e,t){return Fn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fn(e,t)}function Vn(e,t,n){return(t=$n(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $n(e){var t=function(e,t){if("object"!=En(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=En(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==En(t)?t:t+""}var Bn=function(e){var t=e.onClick,n=e.poster,r=e.imageUrl,i=e.imagePosition,o=e.imageUrlMobile,s=e.imageUrlDesktop,a=e.direction,l=e.title;return(0,P.jsxs)("div",{className:"information-loop-arrow-wrapper information-loop-arrow-".concat(a,"-wrapper"),children:[(0,P.jsx)("div",{className:"information-loop-arrow information-loop-arrow-".concat(a," theme-radius-posters-full"),onClick:t,children:(0,P.jsxs)("div",{className:"information-loop-arrow-media",children:[n&&(0,P.jsx)("img",{src:n.url,alt:"","aria-hidden":"true"}),!n&&(o||s)&&(0,P.jsxs)("picture",{children:[s&&(0,P.jsx)("source",{media:"(min-width: 1220px)",srcSet:s}),(0,P.jsx)("img",{src:o||s,alt:"","aria-hidden":"true",style:{objectPosition:i}})]}),!n&&!(o||s)&&r&&(0,P.jsx)("img",{src:r,alt:"","aria-hidden":"true",style:{objectPosition:i}})]})}),(0,P.jsx)("div",{className:"arrow-icon-container",onClick:t,children:(0,P.jsxs)("div",{className:"arrow-icon-container-media",children:[(0,P.jsx)("div",{className:"information-loop-arrow-icon"}),l&&(0,P.jsx)("span",{className:"information-loop-arrow-title",children:l})]})})]})},Un=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Vn(n=Dn(this,t,[e]),"timer",void 0);var r=n.getInitialSlide();return n.state={isJustOneItem:!1,hasKenBurnsEffect:e.backgroundVisualsSettings.style.includes("KenBurns"),kenBurnsToggles:e.items.map(function(){return!1}),isChanging:!1,currSlide:r,prevSlide:null,slideDirection:""},n.props.settings.nextArrow=(0,P.jsx)(rn.q,{}),n.props.settings.prevArrow=(0,P.jsx)(rn.w,{}),n.onBeforeChange=n.onBeforeChange.bind(n),n.onAfterChange=n.onAfterChange.bind(n),n.sliderRef=null,n}return 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&&Fn(e,t)}(t,e),n=t,r=[{key:"componentDidMount",value:function(){var e=this;this.props.items.length>1?this.timer=setTimeout(function(){e.setState(function(t){return In(In({},t),{},{kenBurnsToggles:e.mutateArray(t.kenBurnsToggles,t.currSlide,!0)})})},300):this.setState({isJustOneItem:!0});var t=this.props,n=t.sliderType,r=t.items;t.isInViewport&&n===en.Xb&&r.length>1&&(document.cookie="pmkino_main_slider_last_seen="+this.state.currSlide+"; path=/"),this.state.currSlide>0&&this.sliderRef&&this.sliderRef.slickGoTo(this.state.currSlide,!0)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.sliderType,r=t.items,i=t.isInViewport,o=t.backgroundVisualsSettings,s=t.elementDisplay,a=t.selectionId;if(!e.isInViewport&&i&&n===en.Xb&&r.length>1&&(document.cookie="pmkino_main_slider_last_seen="+this.state.currSlide+"; path=/"),(0,nn.PL)(o.style)&&this.sliderRef){var l=!(!s||!s.activeItem||s.currentActiveSelection!==a),c=!(!e.elementDisplay||!e.elementDisplay.activeItem||e.elementDisplay.currentActiveSelection!==a);l&&!c&&this.sliderRef.slickPause(),!l&&c&&this.sliderRef.slickPlay()}}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"getInitialSlide",value:function(){var e=this.props,t=e.sliderType,n=e.isSubpage,r=this.getFilteredSliderItems().sliderItems;if(t!==en.Xb||!n||r.length<=1)return 0;var i=Ze("pmkino_main_slider_last_seen");if(!i)return 0;var o=parseInt(i,10);return isNaN(o)?0:(o+1)%r.length}},{key:"mutateArray",value:function(e,t,n){var r=_n(e);return r[t]=n,r}},{key:"getSliderSettings",value:function(){var e=this.props,t=e.settings,n=e.scrollToPosition,r=e.isMobile,i=e.backgroundVisualsSettings,o=this.state.hasKe
2nBurnsEffect;return(0,nn.PL)(i.style)?In(In({},t),{},{fade:!0,speed:400,infinite:!0,dots:!1,arrows:!0}):i.trailerAutoplay?In(In({},t),{},{fade:!0,dotsClass:"slick-dots "+n,speed:1e3,autoplaySpeed:2e4}):In(In({},t),{},o?{dotsClass:"slick-dots "+n,fade:!0,speed:r&&r.slidebarLeft?999:2222}:{dotsClass:"slick-dots "+n})}},{key:"getFilteredSliderItems",value:function(){var e=this.props,t=e.items,n=e.mainSliderAdvertisementPositioning,r=e.isMobile,i={weischerItems:[],advertisementsItems:[],sliderItems:[],hasSlides:t.length>0};return r&&r.slidebarLeft?t.map(function(e){var t=e.type;c.Dt===t?i.weischerItems.push(e):c.wU===t&&"out_of_slider"===n?i.advertisementsItems.push(e):i.sliderItems.push(e)}):i.sliderItems=t,i}},{key:"onBeforeChange",value:function(e,t){var n=this,r=this.state.hasKenBurnsEffect,i=this.props,o=i.items,s=i.backgroundVisualsSettings,a=i.elementDisplay,l=i.onCloseInformation,c=i.selectionId;(0,nn.PL)(s.style)&&a&&a.activeItem&&a.currentActiveSelection===c&&l&&l();var u=o.length,d=(0,nn.PL)(s.style)?t===(e+1)%u?"going-next":"going-prev":"";this.setState({isChanging:!0}),r?this.state.isJustOneItem||this.setState(function(r){return In(In({},r),{},{currSlide:t,prevSlide:e,kenBurnsToggles:n.mutateArray(r.kenBurnsToggles,t,!0),slideDirection:d})}):this.setState({currSlide:t,prevSlide:e,slideDirection:d})}},{key:"onAfterChange",value:function(){var e=this,t=this.state,n=t.hasKenBurnsEffect,r=t.prevSlide;this.setState({isChanging:!1,slideDirection:""}),n&&(this.state.isJustOneItem||this.setState(function(t){return In(In({},t),{},{kenBurnsToggles:e.mutateArray(t.kenBurnsToggles,r,!1)})}));var i=this.props,o=i.sliderType,s=i.items,a=i.isInViewport;o===en.Xb&&a&&s.length>1&&(document.cookie="pmkino_main_slider_last_seen="+this.state.currSlide+"; path=/")}},{key:"render",value:function(){var e=this,t=this.props,n=t.refElemViewport,r=t.isInViewport,i=t.advertisementsData,o=t.weischerAdsData,s=t.features,a=t.theme,l=t.moviesData,u=t.extraMoviesData,d=t.selectionId,f=t.adsData,h=t.canParallax,m=t.scrollToPosition,p=t.sliderTitle,v=t.sliderType,g=t.backgroundVisualsSettings,y=t.hasSelectionFilterThatGetsIgnoredOnMovieTimes,b=t.eventOrigins,w=t.isConnectedFast,x=t.elementDisplay,j=t.isMobile,A=this.state,S=A.currSlide,O=A.kenBurnsToggles,k=A.isJustOneItem,C=A.isChanging,E=A.slideDirection,_=this.getFilteredSliderItems(),T=_.weischerItems,M=_.advertisementsItems,I=_.sliderItems,N=_.hasSlides,D=this.getSliderSettings(),L=s&&s.has_userbar?" has-login-header":"",R=I.length,V=T.length>0,$=!0,B=(0,nn.PL)(g.style);if(B&&R>1){var U=function(e,t){if(!e)return{};var n=e.id,r=e.type;if(r===c.fm||r===c.x3){var o=r===c.fm?l[n]:u&&u[n];return{poster:null!=o&&o.images?(0,Vt.A)(o.images):null,title:(null==o?void 0:o.titleDisplay)||(null==o?void 0:o.title)}}if(r===c.AD){var s=f&&f[n];if(s&&s.movieRefID&&l[s.movieRefID]){var a=l[s.movieRefID];return{poster:a.images?(0,Vt.A)(a.images):null,title:s.title||a.titleDisplay||a.title}}if(s&&s.imagePoster&&s.imagePoster.url)return{imageUrl:s.imagePoster.url,imagePosition:"prev"===t?"left center":"right center",title:s.title}}if(r===c.wU){var d=i&&i[n];if(d&&d.images){var h=d.images.mobile&&d.images.mobile.url,m=d.images.desktop&&d.images.desktop.url,p=h?(0,F.A)(h,!0,!1,
2!1,!0).finalImageURl:null,v=m?(0,F.A)(m,!1,!1,!1,!0).finalImageURl:null;if(p||v)return{imageUrlMobile:p||v,imageUrlDesktop:v||p,imagePosition:"prev"===t?"left center":"right center"}}}return{}},H=U(I[(S-1+R)%R],"prev"),W=U(I[(S+1)%R],"next");D.prevArrow=(0,P.jsx)(Bn,In(In({},H),{},{direction:"prev"})),D.nextArrow=(0,P.jsx)(Bn,In(In({},W),{},{direction:"next"}))}return(0,P.jsx)("div",{className:"slider-inner-wrapper slider-stripes-wrapper"+(N?"":" has-no-slide")+("Arthouse"===a?" arthouse-slide":""),ref:n,children:N&&(0,P.jsxs)(P.Fragment,{children:[V?T.map(function(e,t){return(0,P.jsx)(on,{index:t,weischerData:o[e.id],isMobileHero:!0,hasLoginHeader:L},e.id)}):M.map(function(e,t){return(0,P.jsx)(ln,{index:t,data:i[e.id],currentSlideInViewport:r,isMobile:!0},e.id)}),(0,P.jsx)(tn.A,In(In({ref:function(t){e.sliderRef=t}},D),{},{className:B?E:void 0,beforeChange:this.onBeforeChange,afterChange:this.onAfterChange,children:I.map(function(e,t){var n=e.id,s=e.type,c=e.originalMoviePk,A=t===S,E="extramovie"===s&&c&&y,_=E?c:n,T=E?"movie":s;return $=!$,t+1===R&&($=!1),(0,P.jsx)(Cn,{isMobile:j&&j.slidebarRight,index:t,movieTimePk:_,id:_,selectionId:d,type:T,elementDisplay:x,extraMoviesData:u,isCurrentSlide:A,oddSlide:$,kenBurnsToggle:O[t],isJustOneItem:k,autoplaySpeed:D.autoplaySpeed,className:m,sliderTitle:p,sliderType:v,moviesData:l,adsData:f,canParallax:h,advertisementsData:i,weischerAdsData:o,backgroundVisualsSettings:g,theme:a,isConnectedFast:w,isInViewport:r,eventOrigins:b,isChanging:C},t)})})),V&&M.map(function(e,t){return(0,P.jsx)(ln,{index:t,data:i[e.id],currentSlideInViewport:r,isMobile:!0},e.id)})]})})}}],r&&Nn(n.prototype,r),i&&Nn(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const Hn=(0,ze.A)(Un);const Wn=function(e){var t=e.movieTitle,n=e.movieId,r=e.detailsOpen,i=e.scrollToPosition,o=e.onOpenDetails,s=e.onCloseDetails;return r?(0,P.jsx)("div",{className:"button-details-wrapper",children:(0,P.jsx)(O.A,{to:i+" movieInformation",smooth:!0,offset:-200,className:"toggle-details",children:(0,P.jsx)("button",{onClick:function(){return s({movieTitle:t,movieId:n})},className:"button details text-light cursor-pointer",children:(0,P.jsx)(k.Ay,{id:"close",children:"Schließen"})})})}):(0,P.jsx)("div",{className:"button-details-wrapper",children:(0,P.jsx)(O.A,{to:i+" movieDetails",smooth:!0,offset:-100,children:(0,P.jsx)("button",{onClick:function(){return o({movieTitle:t,movieId:n})},className:"button details text-light cursor-pointer",children:(0,P.jsx)(k.Ay,{id:"details",children:"Details"})})})})};var zn=n(20173),Zn=n(12111);const qn=function(e){return Zn.find(e,function(e){return"ovfwefwefwe"===e.id})};var Gn=S.Ay.Element;const Yn=function(e){var t=e.movieData,n=e.movieTimes,r=e.relevantPerformances,i=e.relevantTechnologyAttributes,o=e.queryStringValues,s=e.itemID,a=e.activeCinema,l=e.isMobile,c=e.itemLink,u=e.detailsOpen,d=e.elbenwald,f=e.backgroundImage,h=e.trailerImage,m=e.theme,p=e.scrollToPosition,v=e.informationStyling,g=e.onOpenDetails,y=e.onCloseDetails,b=e.onCloseInformation,w=e.hideCinemaSelector,x=e.overviewFilterIgnoreOnPerformances,j=e.onOpenIframe,A=void 0===j?null:j;if(!t)return"";var S=t.title,C=t.descriptionShort,_=t.actors,M=t.directors,I=t.trailerURL,N=t.length,D=t.fsk,L=t.titleDisplay,R=t.subTitle,F=t.origTitle,V=t.genres,$=t.elbenwaldArticles,B=t.logo,Z=n.technologyAttributes,X=n.moviePk,K=n.hasMultipleAttributeCombinations,Q=i||Z,J=qn(Q),ee=(0,q.A)(Q),te=ee.noAttributesWithIconsToDisplay,ne=ee.noAttributesToDisplay,re=ee.noAttributesWithoutIconsToDisplay,ie=ee.technologyAttributesWithoutIcons,oe=ee.technologyAttributesWithIcons,se=ee.cinedomXAttributes,ae=(ee.hasCinedomX,L||(J&&F?F:S)),le=I?" has-trailer":"",ce="Arthouse"!==m||!!l;return(0,P.jsx)(Gn,{name:p+" movieInformation",children:(0,P.jsxs)("div",{className:"movie-information "+m.toLowerCase()+" "+v,id:"movie-information",children:[(0,P.jsx)("div",{className:"close-button-wrapper",children:(0,P.jsx)(O.A,{to:p,offset:-200,children:(0,P.jsx)("div",{className:"close-button cursor-pointer",onClick:function(){b({movieTitle:ae})},children:l?(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:(0,P.jsx)("polygon",{className:"cls-1",points:"13.73 30 14.83 28.99 2.71 15.74 30 15.74 30 14.24 2.71 14.24 14.82 1.01 13.71 0 0 14.99 13.73 30"})}):(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25",children:(0,P.jsx)("polygon",{className:"cls-1",points:"25 1.06 23.94 0 12.5 11.44 1.06 0 0 1.06 11.44 12.5 0 23.94 1.06 25 12.5 13.56 23.94 25 25 23.94 13.56 12.5 25 1.06"})})})})}),ce&&(0,P.jsxs)("div",{className:"top-wrapper",children:[(0,P.jsx)(U,{isMobile:l,image:f}),I&&l&&(0,P.jsx)(W.A,{trailerURL:I,fsk:D})]}),(0,P.jsx)("div",{className:"movie-information-content-wrapper"+le,children:(0,P.jsxs)("div",{className:"movie-content",children:[!l&&(0,P.jsxs)("div",{className:"title",children:[B&&B.url?(0,P.jsx)("h2",{className:"title-xlarge-bold",style:{whiteSpace:"pre-line"},children:(0,P.jsx)(Y.A,{title:ae,logo:B})}):(0,P.jsx)("h2",{className:"title-xlarge-bold",style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:ae}}),R&&(0,P.jsx)("p",{className:"title-xlarge-theatre item-subtitle",style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:R}})]}),l&&(0,P.jsxs)("div",{className:"title",children:[B&&B.url?(0,P.jsx)("h2",{className:"title-xlarge-bold",style:{whiteSpace:"pre-line"},children:(0,P.jsx)(Y.A,{title:ae,logo:B})}):(0,P.jsx)("h2",{className:"title-xlarge-bold",style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:ae}}),R&&(0,P.jsx)("p",{className:"title-xlarge-theatre item-subtitle",style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:R}})]}),(0,P.jsxs)("div",{className:"information-container",children:[(0,P.jsxs)("div",{className:"information",children:[!ne&&(0,P.jsxs)("div",{className:"attributes",children:[!ne&&(0,P.jsxs)("p",{className:"text-bold attribute-wrapper-title",children:[K?(0,P.jsx)(k.Ay,{id:"alsoAvailableIn",children:"Auch verfügbar in"}):(0,P.jsx)(k.Ay,{id:"availableIn",children:"Verfügbar in"}),":"]}),(0,P.jsxs)("div",{className:"attributes-container",children:[!te&&(0,P.jsx)("div",{className:"attributes-with-icons",children:(0,P.jsx)(G.A,{attributes:oe,canBeColored:!0,cinedomXAttributes:se})}),!re&&(0,P.jsx)("div",{className:"attributes-without-icons",children:(0,P.jsx)(G.A,{attributes:ie})})]})]}),!l&&(0,P.jsxs)("div",{className:"actors",children:[(0,P.jsx)(Ne,{actors:_}),(0,P.jsx)(De.A,{directors:M,actors:_})]}),!l&&(0,P.jsx)(fe,{movieData:t}),(0,P.jsxs)("div",{className:"more",children:[(0,P.jsxs)("div",{className:"info-bundle",children:[(0,P.jsxs)("div",{className:"fsk-length-wrapper",children:[(0,P.jsx)(z.A,{fsk:D}),(0,P.jsx)(E.A,{length:N})]}),(0,P.jsx)(T.A,{genres:V}),!l&&(0,P.jsx)(zn.A,{ids:$,data:d,movieTitle:ae}),!l&&I&&"Arthouse"!==m&&(0,P.jsx)(W.A,{trailerURL:I,fsk:D})]}),!l&&(0,P.jsx)(Wn,{movieTitle:ae,movieId:s,detailsOpen:u,scrollToPosition:p,onOpenDetails:g,onCloseDetails:y})]}),!l&&c&&(0,P.jsx)(Se.A,{url:c,title:ae,description:C}
2)]}),I&&!l&&(0,P.jsx)(H.A,{trailerURL:I,isMobile:l,theme:m,fsk:D,backgroundImage:h})]}),(0,P.jsx)(me.A,{relevantPerformances:r,queryStringValues:o,hideCinemaSelector:w,activeCinema:a,moviePk:X,movieTimes:n,movieData:t,additionalClass:" show-on-mobile",overviewFilterIgnoreOnPerformances:x,scrollToPosition:p,onOpenIframe:A}),l&&(0,P.jsxs)("div",{className:"actors",children:[(0,P.jsx)(Ne,{actors:_}),(0,P.jsx)(De.A,{directors:M,actors:_})]}),l&&(0,P.jsx)(fe,{movieData:t}),l&&(0,P.jsx)(Wn,{movieTitle:ae,movieId:s,detailsOpen:u,scrollToPosition:p,onOpenDetails:g,onCloseDetails:y}),l&&c&&(0,P.jsx)(Se.A,{url:c,title:ae,description:C}),l&&(0,P.jsx)(zn.A,{ids:$,data:d,movieTitle:ae})]})})]})})};function Xn(e){return Xn="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},Xn(e)}function Kn(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,Qn(r.key),r)}}function Qn(e){var t=function(e,t){if("object"!=Xn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Xn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xn(t)?t:t+""}function Jn(e,t,n){return t=tr(t),function(e,t){if(t&&("object"==Xn(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)}(e,er()?Reflect.construct(t,n||[],tr(e).constructor):t.apply(e,n))}function er(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(er=function(){return!!e})()}function tr(e){return tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tr(e)}function nr(e,t){return nr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},nr(e,t)}var rr=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Jn(this,t,arguments)}return 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&&nr(e,t)}(t,e),n=t,i=[{key:"getElbenwald",value:function(e,t,n,r){if(n&&t&&r&&e.has_merchandising){var i=n.currentCinemaId;return{items:t||{},settings:r[i].scope.elbenwaldSettings?r[i].scope.elbenwaldSettings:{}}}return{items:{},settings:{}}}}],(r=null)&&Kn(n.prototype,r),i&&Kn(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const ir=rr;var or=n(32186);const sr=(0,v.Ng)((0,Q.A)(function(e,t){return{cinemaDataFront:(0,g.A)(e,y.FRONT),theme:(0,g.A)(e,y.THEME),elbenwaldItems:(0,g.A)(e,y.PROGRAM_ELBENWALDARTICLES_ITEMS),features:(0,g.A)(e,y.FEATURES),cliData:(0,g.A)(e,y.CLI),cinemas:(0,g.A)(e,y.PROGRAM_CINEMAS),activeItem:(0,g.A)(e,[y.UI_ELEMENTDISPLAY,"activeItem"]),detailsOpen:(0,g.A)(e,[y.UI_ELEMENTDISPLAY,"activeDetailsItem"]),movieTimes:(0,g.A)(e,[y.PROGRAM_MOVIETIMES_ITEMS,t.movieTimePk]),routesData:(0,g.A)(e,y.ROUTESDATA),currentLang:(0,g.A)(e,y.TRANSLATION_CURRENT_LANG),relevantTechnologyAttributes:(0,or.A)(e,t.relevantPerformances,t.movieData&&t.movieData.performances)}}),null)(function(e){var t=e.cinemaDataFront,n=e.theme,r=e.elbenwaldItems,i=e.features,o=e.cliData,s=e.cinemas,a=e.activeItem,l=e.detailsOpen,c=e.movieTimes,u=e.routesData,d=e.currentLang,f=e.relevantTechnologyAttributes,h=e.movieData,m=e.relevantPerformances,p=void 0===m?null:m,v=e.queryStringValues,g=e.itemID,y=e.scrollToPosition,b=e.backgroundImage,w=e.isMobile,x=e.trailerImage,j=e.hideCinemaSelector,S=e.overviewFilterIgnoreO
2nPerformances,O=e.onOpenDetails,k=e.onCloseDetails,C=e.onCloseInformation,E=e.onOpenIframe,_=e.activeCinema,T=void 0===_?null:_,M=t.information_style,I=n.theme_colors,N=ir.getElbenwald(i,r,o,s),D=u.movies.items,L=(0,A.A)(a,D,d);return(0,P.jsx)(Yn,{movieData:h,movieTimes:c,relevantPerformances:p,relevantTechnologyAttributes:f,queryStringValues:v,itemID:g,isMobile:w,activeCinema:T,itemLink:L,elbenwald:N,theme:I,informationStyling:M,backgroundImage:b,trailerImage:x,scrollToPosition:y,onOpenDetails:O,onCloseDetails:k,detailsOpen:l,onCloseInformation:C,hideCinemaSelector:j,overviewFilterIgnoreOnPerformances:S,onOpenIframe:E})});var ar=S.Ay.Element;const lr=function(e){var t=e.activeItem,n=e.scrollToPosition,r=e.performancePageOpen,i=e.moviesData,o=e.extraMoviesData,s=e.displaySidebarRight,a=e.isMobile,l=e.movieTimePk,c=e.selectionId,u=e.eventOrigins,d=e.currentActiveSelection,f=e.displaySidebarRightSecond,h=e.detailsOpen,m=e.onCloseInformation,p=e.onOpenDetails,v=e.onCloseDetails,g=e.onOpenPerformancePage,y=e.onClosePerformancePage,b=e.isInformationLoop,w=void 0!==b&&b,j=t&&i.hasOwnProperty(t)?i[t]:!!(t&&o&&o.hasOwnProperty(t))&&o[t],A=j&&j.hasOwnProperty("images")?j.images:{},S=(0,x.useMemo)(function(){return(0,ne.A)(A)},[A]);return c===d&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(ar,{name:n+" openMovieInformation"}),!s&&!r&&t&&!(w&&!a)&&(0,P.jsx)(sr,{itemID:t,movieData:j,movieTimePk:l,backgroundImage:S.performance,isMobile:a,trailerImage:S.ambient,scrollToPosition:n,onOpenDetails:(0,te.Yu)(p,u.information),onCloseDetails:(0,te.Oz)(v,u.information),onCloseInformation:(0,te.Qs)(m,u.information),onOpenIframe:(0,te._b)(g,u.information)}),!s&&!f&&!a&&r&&!(w&&!a)&&(0,P.jsx)(je,{activeItem:t,movieData:j,movieTimePk:l,isMobile:a,backgroundImage:S.performance,ambientImage:S.ambient,scrollToPosition:n,onOpenPerformancePage:(0,te._b)(g,u.performance),onClosePerformancePage:(0,te.ij)(y,u.performance)}),(0,P.jsx)(ar,{name:n+" movieDetails"}),!f&&t&&h&&!(w&&!a)&&(0,P.jsx)(J,{isMobile:a,movieTimePk:l,trailerImage:S.ambient,movieData:j,backgroundImage:S.details,scrollToPosition:n,onCloseDetails:(0,te.Oz)(v,u.details)}),s&&t&&(0,P.jsx)(ee.cq,{children:(0,P.jsx)(sr,{itemID:t,movieData:j,movieTimePk:l,backgroundImage:S.performance,isMobile:a,trailerImage:S.ambient,scrollToPosition:n,onOpenDetails:(0,te.Yu)(p,u.information),onCloseDetails:(0,te.Oz)(v,u.information),onCloseInformation:(0,te.Qs)(m,u.information),onOpenIframe:(0,te._b)(g,u.information)})}),f&&r&&(0,P.jsx)(ee.mN,{children:(0,P.jsx)(je,{activeItem:t,movieData:j,movieTimePk:l,isMobile:a,performancePageMovieTimes:!0,backgroundImage:S.performance,ambientImage:S.ambient,scrollToPosition:n,onOpenPerformancePage:(0,te._b)(g,u.performanceSlidebar),onClosePerformancePage:(0,te.ij)(y,u.performanceSlidebar)})}),f&&t&&h&&!(w&&!a)&&(0,P.jsx)(ee.mN,{children:(0,P.jsx)(J,{isMobile:a,movieTimePk:l,trailerImage:S.ambient,movieData:j,backgroundImage:S.details,scrollToPosition:n,onCloseDetails:(0,te.Oz)(v,u.details)})})]})};const cr=function(e){return"splitted"===e?" splitted":"slim_advertisement_slider"===e?" slim":""};var ur=n(65302),dr=n(12111);function fr(e){return fr="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},fr(e)}function hr(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,mr(r.key),r)}}function mr(e){var t=function(e,t){if("object"!=fr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=fr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fr(t)?t:t+""}function pr(e,t,n){return t=gr(t),function(e,t){if(t&&("object"==fr(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)}
2(e,vr()?Reflect.construct(t,n||[],gr(e).constructor):t.apply(e,n))}function vr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vr=function(){return!!e})()}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gr(e)}function yr(e,t){return yr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yr(e,t)}var br=S.Ay.Element,wr=S.Ay.animateScroll,xr=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),pr(this,t,[e])}return 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&&yr(e,t)}(t,e),n=t,r=[{key:"getEventOrigins",value:function(){var e=this.props,t=e.type,n=e.sliderTitle,r=void 0===n?"":n,i=t===en.Xb?"Kino Highlights":r;return{slide:'Startseite, Slider "'+i+'", Posterelement',information:'Startseite, Slider "'+i+'", Film Information',informationSlidebar:'Startseite, Slider "'+i+'", Film Imformation/rechte Slidebar',performance:'Startseite, Slider "'+i+'", Film Vorführung',performanceSlidebar:'Startseite, Slider "'+i+'", Film Vorführung/rechte Slidebar',details:'Startseite, Slider "'+i+'", Film Details',detailsSlidebar:'Startseite, Slider "'+i+'", Film Details/rechte Slidebar'}}},{key:"render",value:function(){var e=this.props,t=e.collection,n=e.cinemaDataFront,r=e.advertisementConfig,i=e.movies,o=e.extraMovies,s=e.advertisements,a=e.ads,l=e.weischerAds,c=e.features,u=e.theme,d=e.elementDisplay,f=e.attributes,h=e.onOpenDetails,m=e.onCloseDetails,p=e.onCloseInformation,v=e.onOpenPerformancePage,g=e.onClosePerformancePage,y=e.type,b=e.filterValue,w=e.backgroundVisualsSettings,x=e.sliderTitle,j=void 0===x?"":x,A=e.settings,S=e.isConnectedFast,O=e.classEvenOdd,k=void 0===O?"":O,C=e.selectionId,E=e.isSubpage,_=n.slider_appearance,T=n.small_slider_appearance,M=n.ignore_attributes_for_performance_filter,I=r.main_slider_advertisement_positioning,N=u.theme_colors,D=u.slider_texture_image,L=d.activeItem,R=d.activePerformance,F=d.displaySidebarRight,V=d.displaySidebarRightSecond,$=d.performancePageOpen,B=d.activeMovieTimes,U=d.activeDetailsItem,H=d.currentActiveSelection,W=d.isMobile,z=this.getEventOrigins(),Z=w.style===nn.hO||w.style===nn.ZU||w.style===nn.Kz||(0,nn.PL)(w.style)||w.trailerAutoplay?" slider-fade-element":"",q=y===en.Xb?" "+_:y===en.UH?" "+T:"",G=cr(_),Y=D?" image-gradient":"",X=(0,nn.PL)(w.style)?" information-loop":"",K="Arthouse"===N||t.items.length>1?"":" can-parallax",Q=!("Arthouse"===N||t.items.length>1||y===en.Xb),J=y===en.Xb?"slider-basic slider-basic-large "+C:"slider-basic slider-basic-small "+C+k+K,ee=b&&dr.findKey(f.technical,function(e){return e.name===b}),te=!!ee&&dr.contains(M,ee);return t?(0,P.jsxs)("div",{className:"slider-wrapper "+J+Z+G+q+Y+X,children:[(0,P.jsx)(br,{name:J}),(0,P.jsx)(Hn,{items:t.items,sliderTitle:j,backgroundVisualsSettings:w,mainSliderAdvertisementPositioning:I,hasSelectionFilterThatGetsIgnoredOnMovieTimes:te,features:c,theme:N,elementDisplay:d,canParallax:Q,sliderType:y,extraMoviesData:o,moviesData:i.items,adsData:a,selectionId:C,advertisementsData:s.items,weischerAdsData:l,settings:A,eventOrigins:z,isConnectedFast:S,scrollToPosition:J,isMobile:W,onCloseInformation:this.props.onCloseInformation,isSubpage:E}),y===en.Xb&&(0,P.jsx)("a",{onClick:function(){return wr.scrollTo(550)},className:"scrolldown-button-phone",children:(0,P.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Ebene_1","data-name":"Ebene 1",viewBox:"0 0 25 9.3",children:(0,P.jsx)("polygon",{className:"cls-1",points:"25 1.26 24.19 0 12.5 7.52 0.81 0 0 1.26 12.5 9.3 25 1.26"})})}),(0,P.jsx)(lr,{activeItem:L,activePerformance:R,isMobile:W.slidebarRight,scrollToPosition:J,eventOrigins:z,moviesData:i.items,extraMoviesData:o,selectionId:C,currentActiveSelection:H,movieTimePk:B,displaySidebarRight:F,displaySidebarRightSecond:V,performancePageOpen:$,onOpenDetails:h,onCloseDetails:m,onCloseInformation:p,detailsOpen:U,onOpenPerformancePage:v,onClosePerformancePage:g,isInformationLoop:(0,nn.PL)(w.style)})]}):""}}],r&&hr(n.prototype,r),i&&hr(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const jr=(0,v.Ng)((0,Q.A)(function(e,t){return{collection:(0,g.A)(e,[y.PROGRAM_COLLECTIONS_ITEMS,t.collectionId]),cinemaDataFront:(0,g.A)(e,y.FRONT),advertisementConfig:(0,g.A)(e,y.ADVERTISEMENT_CONFIG),movies:(0,g.A)(e,y.PROGRAM_MOVIES),extraMovies:(0,g.A)(e,y.PROGRAM_EXTRAMOVIES),advertisements:(0,g.A)(e,y.PROGRAM_ADVERTISEMENTS),ads:(0,g.A)(e,y.PROGRAM_ADS),weischerAds:(0,g.A)(e,y.PROGRAM_WEISCHERADS),features:(0,g.A)(e,y.FEATURES),theme:(0,g.A)(e,y.THEME),elementDisplay:(0,g.A)(e,y.UI_ELEMENTDISPLAY),attributes:(0,g.A)(e,y.PROGRAM_ATTRIBUTES)}}),function(e,t){return{onOpenDetails:function(n){e((0,ur.vx)(n.movieId)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!0))},onCloseDetails:function(){e((0,ur.vx)(!1)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!1))},onCloseInformation:function(){e((0,ur.Bw)(!1,!1)),e((0,ur.vx)(!1)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",1,!1))},onOpenPerformancePage:function(n){e((0,ur.QC)(n,!0)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!0))},onClosePerformancePage:function(n){e((0,ur.QC)(n,!1)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!1))}}})(xr);const Ar=function(e){var t=e.selectionId,n=e.features,r=e.itemSelection,i=e.type,o=e.sliderSettings,s=e.isConnectedFast,a=e.isMobileData,l=e.isSubpage;if(!r)return"";var c={style:r.style,trailerAutoplay:r.trailerAutoplay&&n.has_trailer_views},u=r.collections[0];return(0,P.jsx)(jr,{type:i,collectionId:u,settings:o,backgroundVisualsSettings:c,selectionId:t,isConnectedFast:s,isMobileData:a,isSubpage:l})};var Sr=n(12111);const Or=function(e){var t=e.isMobileData,n=e.itemSelectionsDisplay,r=e.features,i=e.itemSelections,o=e.isConnectedFast,s=e.isSubpage;if(Sr.isEmpty(n))return"";var a=Jt.pU.basicSettings,l=n.order,c=n.items,u=l.find(function(e){var t=c[e].type;return en.Xb===t});if(!u)return"";var d=c[u],f=d.selectionId,h=i[f];return(0,P.jsx)("div",{className:"slider-front",children:(0,P.jsx)("div",{children:(0,P.jsx)(Ar,{type:d.type,isMobileData:t,itemSelection:h,selectionId:f,sliderSettings:a,isConnectedFast:o,features:r,isSubpage:s})})})};var kr=n(59265);function Pr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Cr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Er=S.Ay.Element;const _r=(0,v.Ng)((0,Q.A)(function(e,t){return{movieTimes:(0,g.A)(e,[y.PROGRAM_MOVIETIMES_ITEMS,t.movieTimesPk])}}),null)(function(e){var t=e.movieTimes,n=e.movieTimesPk,r=e.itemData,i=e.itemsData,o=(e.currentLang,e.elementDisplay),s=e.theme,a=e.itemLink,l=e.isMobile,c=(e.routesData,e.onClosePerformancePage),u=e.onOpenPerformancePage,d=e.onOpenDetails,f=e.onCloseDetails;if(!r)return"";var h=o.displaySidebarRight,m=o.displaySidebarRightSecond,p=o.activeDetailsItem,v=o.performancePageOpen,g=o.activePerformance,y=Pr((0,x.useState)(!1),2),b=y[0],w=y[1],j=r.title,A=r.images,S=r.descriptionShort,O=r.fsk,E=r.subTitle,_=r.length,M=r.titleDisplay,I=r.trailerURL,N=r.pk,D=r.genres,L=r.logo,R=t.technologyAttributes,V=(t.purchasablePerformances,t.moviePk,t.posterTimes,t.hasMultipleAttributeCombinations),$=[],B=M||j,U=(0,q.A)(R),H=U.noAttributesWithIconsToDisplay,Z=U.noAttributesToDisplayWithSchnäppchen,X=U.noAttributesWithoutIconsToDisplay,K=U.technologyAttributesWithoutIcons,Q=U.technologyAttributesWithIcons,re=(wt(r,i,Q,K),{listitem:"Programmübersicht, Movie, Filmelement",details:"Programmübersicht, Movie, Film Details",detailsSlidebar:"Programmübersicht, Movie, Film Details/rechte Slidebar"}),oe=(0,x.useMemo)(function(){return(0,ne.A)(A)},[A]);if(A){var se=A.ambient,ae=A.poster,le=A.backgrounds;ae&&$.push({type:"poster",item:ae}),se&&$.push({type:"ambient",item:se}),le&&Array.isArray(le)&&le.length>0&&le.map(function(e){$.length<4&&e.url&&-1===$.findIndex(function(t){return t.item.url===e.url})&&$.push({type:"background",item:e})})}return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)("div",{className:"single-movie-information-wrapper",children:[(0,P.jsx)("div",{className:"images-wrapper grid-"+$.length,children:$&&$.map(function(e,t){var n=null;if("poster"===e.type){var r=(0,F.A)(e.item,l,!0,!0),i=r.finalImageURl,o=r.imageUrl,s={objectPosition:r.position};n=(0,P.jsx)("img",{src:i,style:s,className:"movie-item-poster-image theme-radius-posters-full",alt:"Poster",onError:function(e){var t=e.currentTarget;b?(t.onerror=null,t.src=""):(w(!0),t.onerror=null,t.src=o)}})}else{var a=(0,F.A)(e.item,l,!1,!0),c=a.finalImageURl,u=a.imageUrl,d={objectPosition:a.position};n=(0,P.jsx)("img",{src:c,style:d,className:"movie-item-background-image theme-radius-posters-full "+e.type,alt:"Background",onError:function(e){var t=e.currentTarget;b?(t.onerror=null,t.src=""):(w(!0),t.onerror=null,t.src=u)}})}var f="ambient"===e.type?" trailer-image":"";return(0,P.jsxs)("div",{className:"image-wrapper-"+(t+1)+f+" "+e.type,children:[n&&n,"poster"===e.type&&1===$.length&&(0,P.jsx)("div",{className:"poster-wrapper",children:n}),"ambient"===e.type&&I&&(0,P.jsx)(W.A,{trailerURL:I,fsk:O})]},t)})}),(0,P.jsxs)("div",{className:"information-wrapper",children:[(0,P.jsxs)("div",{className:"left-section",children:[(0,P.jsxs)("div",{className:"left",children:[(0,P.jsx)("h2",{className:"title title-xlarge-bold-overview",children:(0,P.jsx)(Y.A,{title:B,logo:L})}),E&&(0,P.jsx)("p",{className:"title-slider subtitle",children:E}),(0,P.jsxs)("div",{className:"row-flex-information",children:[(0,P.jsx)(T.A,{genres:D,theme:s}),_&&(0,P.jsx)(ie.A,{length:_}),(0,P.jsx)(z.A,{fsk:O})]}),(0,P.jsx)(C,{movieId:N,movieTitle:B,scrollToPosition:N,activeDetailsItem:p,openItemDetails:(0,te.Yu)(d,re.listitem),closeItemDetails:(0,te.Oz)(f,re.listitem)})]}),(0,P.jsx)("div",{className:"right",children:(0,P.jsx)(fe,{movieData:r})})]}),(0,P.jsxs)("div",{className:"right-section",children:[(0,P.jsxs)("div",{className:"attributes-container",children:[!Z&&(0,P.jsxs)("p",{className:"text-bold attribute-wrapper-title",children:[V?(0,P.jsx)(k.Ay,{id:"alsoAvailableIn",children:"Auch verfügbar in"}):(0,P.jsx)(k.Ay,{id:"availableIn",children:"Verfügbar in"}),":"]}),!H&&(0,P.jsx)("div",{className:"attributes-with-icons",children:(0,P.jsx)(G.A,{attributes:Q,canBeColored:!0})}),!X&&(0,P.jsx)("div",{className:"attributes-without-icons",children:(0,P.jsx)(G.A,{attributes:K})})]}),a&&(0,P.jsx)(Se.A,{url:a,title:B,description:S})]})]})]}),(0,P.jsx)("div",{className:"single-movie-movie-times",children:(0,P.jsx)(me.A,{moviePk:N,movieData:r,movieTimes:t,scrollToPosition:N,additionalClass:" show-on-mobile",onOpenIframe:(0,te._b)(u,re.listitem)})}),!m&&!l&&v&&g.movieId===N&&(0,P.jsx)(je,{movieTimePk:n,activeItem:N,isMobile:l,movieData:r,scrollToPosition:N,noMovietimes:!0,ambientImage:oe.ambient,onClosePerformancePage:(0,te.ij)(c)}),m&&v&&g.movieId===N&&(0,P.jsx)(ee.mN,{children:(0,P.jsx)(je,{movieTimePk:n,activeItem:N,isMobile:l,movieData:r,backgroundImage:oe.performance,ambientImage:oe.ambient,scrollToPosition:N+" openMovieInformation",onOpenPerformancePage:(0,te._b)(u,re.performance),onClosePerformancePage:(0,te.ij)(c,re.performance),performancePageMovieTimes:!0})}),(0,P.jsx)(Er,{name:N+" movieDetails"}),!h&&p===N&&(0,P.jsx)(J,{movieTimePk:n,movieData:r,backgroundImage:oe.details,scrollToPosition:N,isMobile:l,onCloseDetails:(0,te.Oz)(f,re.details),trailerImage:oe.ambient}),h&&p===N&&(0,P.jsxs)(ee.cq,{children:[(0,P.jsx)("div",{className:"site-slidebar-overlay accent-color-background-half-transparent",onClick:f}),(0,P.jsx)("div",{className:"site-slidebar-content accent-color-background-half-transparent",children:(0,P.jsx)(J,{movieTimePk:n,movieData:r,backgroundImage:oe.details,scrollToPosition:N,isMobile:l,onCloseDetails:(0,te.Oz)(f,re.detailsSlidebar),trailerImage:oe.ambient})})]})]})});var Tr=n(12111);function Mr(e){return Mr="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},Mr(e)}function Ir(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,Nr(r.key),r)}}function Nr(e){var t=function(e,t){if("object"!=Mr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Mr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Mr(t)?t:t+""}function Dr(e,t,n){return t=Rr(t),function(e,t){if(t&&("object"==Mr(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)}(e,Lr()?Reflect.construct(t,n||[],Rr(e).constructor):t.apply(e,n))}function Lr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lr=function(){return!!e})()}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Rr(e)}function Fr(e,t){return Fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fr(e,t)}var Vr=S.Ay.scroller,$r=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}
2(this,t),(n=Dr(this,t,[e])).state={titleFilter:{},moreMovies:null},n}return 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&&Fr(e,t)}(t,e),n=t,r=[{key:"getMoviesTitleList",value:function(){var e=this.props.routesData,t={};return e.movies.items&&Object.keys(e.movies.items).map(function(n){var r=e.movies.items[n].uri_path;r&&(t=(0,kr.A)(t,r,n))}),t}},{key:"getMovieIds",value:function(){var e=this.props,t=e.match,n=e.movies,r=this.state.titleFilter,i=[];return t.params.movieParam&&r.hasOwnProperty(t.params.movieParam)&&r[t.params.movieParam].map(function(e){n.order.includes(e)&&i.push(e)}),0!=i.length&&i}},{key:"movieHasPerformance",value:function(e){var t=this,n=this.props.movies,r=this.getMovieIds(),i=[];return r&&r.map(function(r){var o=n.items[r];if(o){var s=o.performances,a=Tr.find(s,function(n){var r=t.props.performanceData[n];if(e&&e.performance_id)return r.id===e.performance_id});if(a){var l={performance:t.props.performanceData[a],movie:o};i.push(l)}}}),i}},{key:"componentDidUpdate",value:function(e){var t=rt.parse(this.props.location.search),n=this.movieHasPerformance(t);if(!this.state.moreMovies){var r=this.props.movies,i=this.getMovieIds(),o=i&&r.items[i[0]];if(o){var s=o.technologyAttributes,a=Tr.pluck(s,"id"),l=(0,xt.A)(a),c=l.technologyAttributesWithIcons,u=l.technologyAttributesWithoutIcons,d=wt(o,r.items,c,u);this.setState({moreMovies:d})}}if(!this.props.elementDisplay.activePerformance&&t&&t.performance_id&&n&&0!==n.length){var f=n[0],h=f.performance,m=f.movie,p=h.id,v=h.timeUtc,g=h.deeplinkURL,y=h.cinema,b=h.refPk,w=m.title,x=m.titleDisplay;this.props.onOpenPerformancePage({id:p,timeUtc:v,cinema:y,url:g,movieId:m.pk,movieTitle:x||w,refPk:b});var j=document.getElementById("compeso-iframe"),A=document.getElementById("diesel-iframe");(j||A)&&setTimeout(function(){Vr.scrollTo(m.pk+" performance-iframe",{offset:-200,isDynamic:!0,smooth:!0})},500)}}},{key:"componentDidMount",value:function(){this.setState({titleFilter:this.getMoviesTitleList()})}},{key:"render",value:function(){var e=this.props,t=e.movies,n=e.theme,r=e.match,i=e.routesData,o=e.overviewSubtitle,s=e.onClosePerformancePage,a=e.onOpenPerformancePage,l=e.onOpenDetails,c=e.onCloseDetails,u=e.elementDisplay,d=e.currentLang,f=this.getMovieIds(),h=this.state.moreMovies;return f?(0,P.jsxs)("div",{className:"overview overview-view-list arthouse-movie",children:[0===f.length?(0,P.jsx)("h3",{className:"no-movie title-xlarge-theatre",children:(0,P.jsx)(k.Ay,{id:"ThereCurrentlyNoFilmsTypes"})}):f.map(function(e,r){return(0,P.jsx)(_r,{movieTimesPk:e,itemData:t.items[e],itemsData:t.items,currentLang:d,elementDisplay:u,theme:n,itemLink:(0,A.A)(e,i.movies.items,d),isMobile:u.isMobile.slidebarRight,routesData:i,onClosePerformancePage:s,onOpenPerformancePage:a,onOpenDetails:l,onCloseDetails:c},r)}),h&&0!==h.length&&(0,P.jsxs)("div",{className:"single-movie-more-movies-wrapper grid-site-wrapper",children:[(0,P.jsxs)("div",{className:"titles-wrapper",children:[(0,P.jsx)("p",{className:"title-xlarge",children:(0,P.jsx)(k.Ay,{id:"moreMovies",children:"Weitere Filme"})}),i&&(0,P.jsxs)("a",{className:"full-program-button",href:i.program_overview[d].uri,children:[(0,P.jsx)("p",{children:(0,P.jsx)(k.Ay,{className:"full-program-button",id:"fullProgram",children:"Komplettes Programm"})}),(0,P.jsx)("svg",{id:"Ebene_2","data-name":"Ebene 2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16.99 11.49",children:(0,P.jsx)("g",{id:"Ebene_1-2","data-name":"Ebene 1",children:(0,P.jsx)("polygon",{points:"12.33 0 10.78 1.26 13.61 4.75 0 4.75 0 6.75 13.6 6.75 10.78 10.24 12.33 11.49 16.99 5.73 12.33 0"})})})]})]}),(0,P.jsx)("div",{className:"single-movie-more-movies no_slide",children:h.map(function(e,t){return(0,P.jsx)("div",{className:"slide-item",children:(0,P.jsx)(re.A,{movieTimePk:e.pk,itemID:e.pk,itemData:e,scrollToPosition:e.pk,isMobile:u.isMobile.displaySidebarRight,index:t,queryStringValues:{},showPerformances:!1,goToMoviepage:!0,stripeAppearance:"no_slide"})},t)})})]})]}):(0,P.jsxs)("div",{className:"overview overview-view-list",children:[(0,P.jsx)(Je,{singleMovie:!1,notFound:!0,overviewSubtitle:o}),(0,P.jsx)(et,{pathname:r.params.overviewParam})]})}}],r&&Ir(n.prototype,r),i&&Ir(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const Br=$r;var Ur=n(53579);const Hr="undefined"!=typeof window?window.navigator:null,Wr=Hr?Hr.userAgent.toLowerCase():null,zr=(!!Wr&&(/ipad/i.test(Wr)&&window.MSStream),!!Wr&&(/iphone/i.test(Wr)&&!window.MSStream)),Zr=(!!Wr&&(/ipod/i.test(Wr)&&window.MSStream),!!Wr&&(/ipad|iphone|ipod/i.test(Wr)&&!window.MSStream)),qr=!!Wr&&/android/i.test(Wr),Gr=(!!Hr&&("msLaunchUri"in Hr&&document),!!Wr&&/chrome/i.test(Wr)),Yr=(!!Wr&&/firefox/i.test(Wr),!!Wr&&(/safari/i.test(Wr)&&!Gr)),Xr=(!!Wr&&/^mozilla\/\d+\.\d+\s\(linux;\su;/i.test(Wr),"undefined"!=typeof window&&"MediaSource"in window),Kr={passive:!1};function Qr(e){return"video"===e.tagName.toLowerCase()}function Jr(e){return"audio"===e.tagName.toLowerCase()}function ei(e){return new Promise((t,n)=>{const r=document.createElement("script");r.src=e,r.async=!0,r.onload=()=>{r.remove(),t()},r.onerror=()=>{r.remove(),n(new Error(`${e} could not be loaded`))},document.head&&document.head.appendChild(r)})}function ti(e){const t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset||document.documentElement.scrollLeft),top:t.top+(window.pageYOffset||document.documentElement.scrollTop)}}function ni(e,t=!0){const n=(new DOMParser).parseFromString(e,"text/html").body||document.createElement("body"),r=n.querySelectorAll("script");for(let e=0,t=r.length;e<t;e++)r[e].remove();const i=e=>{const t=e.children;for(let e=0,n=t.length;e<n;e++){const n=t[e],{attributes:r}=n;for(let e=0,t=r.length;e<t;e++){const{name:t,value:i}=r[e],o=i.replace(/\s+/g,"").toLowerCase();["src","href","xlink:href"].includes(t)&&(o.includes("javascript:")||o.includes("data:"))&&n.removeAttribute(t),t.startsWith("on")&&n.removeAttribute(t)}i(n)}};return i(n),t?(n.textContent||"").replace(/\s{2,}/g,""):n.innerHTML}function ri(e,t){let n={};return t&&t.detail&&(n={detail:t.detail}),new CustomEvent(e,n)}var ii,oi,si,ai,li,ci,ui,di,fi,hi,mi,pi=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},vi=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};ii=new WeakMap,oi=new WeakMap,si=new WeakMap,ai=new WeakMap,li=new WeakMap,ci=new WeakMap,ui=new WeakMap,di=new WeakMap,fi=new WeakMap,hi=new WeakMap,mi=new WeakMap;const gi=class{constructor(e,t,n){ii.set(this,void 0),oi.set(this,void 0),si.set(this,void 0),ai.set(this,void 0),li.set(this,{button:{},global:{},media:{}}),ci.set(this,void 0),ui.set(this,void 0),di.set(this,void 0),fi.set(this,"off"),hi.set(this,void 0),mi.set(this,void 0),pi(this,ii,e,"f"),pi(this,hi,t,"f"),pi(this,mi,n,"f"),this._formatMenuItems=this._formatMenuItems.bind(this),this._setDefaultTrack=this._setDefaultTrack.bind(this),this._showCaptions=this._showCaptions.bind(this),this._hideCaptions=this._hideCaptions.bind(this)}create(){var e;const{textTracks:t}=vi(this,ii,"f").getElement(),{labels:n,detachMenus:r}=vi(this,ii,"f").getOptions();if(pi(this,ci,Object.keys(t).map(e=>t[Number(e)]).filter(e=>["subtitles","captions"].includes(e.kind)&&e.language),"f"),pi(this,ui,!!vi(this,ci,"f").length,"f"),!vi(this,ui,"f"))return;pi(this,oi,document.createElement("button"),"f"),vi(this,oi,"f").className=`op-controls__captions op-control__${vi(this,hi,"f")}`,vi(this,oi,"f").tabIndex=0,vi(this,oi,"f").title=(null==n?void 0:n.toggleCaptions)||"",vi(this,oi,"f").setAttribute("aria-controls",vi(this,ii,"f").id),vi(this,oi,"f").setAttribute("aria-pressed","fal
2se"),vi(this,oi,"f").setAttribute("aria-label",(null==n?void 0:n.toggleCaptions)||""),vi(this,oi,"f").setAttribute("data-active-captions","off"),pi(this,si,document.createElement("div"),"f"),vi(this,si,"f").className="op-captions";const i=vi(this,ii,"f").getContainer();if(i.insertBefore(vi(this,si,"f"),i.firstChild),r){vi(this,oi,"f").classList.add("op-control--no-hover"),pi(this,ai,document.createElement("div"),"f"),vi(this,ai,"f").className="op-settings op-captions__menu",vi(this,ai,"f").setAttribute("aria-hidden","true"),vi(this,ai,"f").innerHTML=`<div class="op-settings__menu" role="menu" id="menu-item-captions">\n                <div class="op-settings__submenu-item" tabindex="0" role="menuitemradio" aria-checked="${"off"===vi(this,fi,"f")?"true":"false"}">\n                    <div class="op-settings__submenu-label op-subtitles__option" data-value="captions-off">${null==n?void 0:n.off}</div>\n                </div>\n            </div>`;const t=document.createElement("div");t.className=`op-controls__container op-control__${vi(this,hi,"f")}`,t.append(vi(this,oi,"f"),vi(this,ai,"f")),vi(this,ii,"f").getControls().getLayer(vi(this,mi,"f")).append(t);for(const t of vi(this,ci,"f")){const r=document.createElement("div"),i=(null===(e=null==n?void 0:n.lang)||void 0===e?void 0:e[t.language])||null;r.className="op-settings__submenu-item",r.tabIndex=0,r.setAttribute("role","menuitemradio"),r.setAttribute("aria-checked",vi(this,fi,"f")===t.language?"true":"false"),r.innerHTML=`<div class="op-settings__submenu-label op-subtitles__option"\n                    data-value="captions-${t.language}">\n                    ${i||t.label}\n                </div>`,vi(this,ai,"f").append(r)}}else vi(this,ii,"f").getControls().getLayer(vi(this,mi,"f")).append(vi(this,oi,"f"));vi(this,li,"f").button.click=e=>{var t;const n=e.target;if(r){const e=vi(this,ii,"f").getContainer().querySelectorAll(".op-settings");for(const t of Array.from(e))t!==vi(this,ai,"f")&&t.setAttribute("aria-hidden","true");"true"===vi(this,ai,"f").getAttribute("aria-hidden")?vi(this,ai,"f").setAttribute("aria-hidden","false"):vi(this,ai,"f").setAttribute("aria-hidden","true")}else{n.setAttribute("aria-pressed","true"),n.classList.contains("op-controls__captions--on")?(n.classList.remove("op-controls__captions--on"),n.setAttribute("data-active-captions","off"),this._hideCaptions()):(n.classList.add("op-controls__captions--on"),n.setAttribute("data-active-captions",(null===(t=vi(this,di,"f"))||void 0===t?void 0:t.language)||"off"),this._showCaptions());for(const e of vi(this,ci,"f"))e.mode=n.getAttribute("data-active-captions")===e.language?"showing":"hidden"}},vi(this,li,"f").button.mouseover=()=>{if(!Zr&&!qr&&r){const e=vi(this,ii,"f").getContainer().querySelectorAll(".op-settings");for(let t=0,n=e.length;t<n;++t)e[t]!==vi(this,ai,"f")&&e[t].setAttribute("aria-hidden","true");"true"===vi(this,ai,"f").getAttribute("aria-hidden")&&vi(this,ai,"f").setAttribute("aria-hidden","false")}},vi(this,li,"f").button.mouseout=()=>{if(!Zr&&!qr&&r){const e=vi(this,ii,"f").getContainer().querySelectorAll(".op-settings");for(let t=0,n=e.length;t<n;++t)e[t].setAttribute("aria-hidden","true");"false"===vi(this,ai,"f").getAttribute("aria-hidden")&&vi(this,ai,"f").setAttribute("aria-hidden","true")}},vi(this,oi,"f").addEventListener("click",vi(this,li,"f").button.click,Kr),vi(this,li,"f").global.click=e=>{const t=e.target;if(t.closest(`#${vi(this,ii,"f").id}`)&&t.classList.contains("op-subtitles__option")){const e=t.getAttribute("data-value").replace("captions-","");this._hideCaptions(),"off"===e&&pi(this,di,void 0,"f");for(const t of vi(this,ci,"f"))t.mode=t.language===e?"showing":"hidden",t.language===e&&(pi(this,di,t,"f"),this._showCaptions());if(r){vi(this,oi,"f").classList.contains("op-controls__captions--on")?(vi(this,oi,"f").classList.remove("op-controls__captions--on"),vi(this,oi,"f").setAttribute("data-active-captions","off")):(vi(this,oi,"f").classList.add("op-controls__captions--on"),vi(this,oi,"f").setAttribute("data-active-captions",e));const n=vi(this,ai,"f").querySelectorAll(".op-settings__submenu-item");
2for(const e of Array.from(n))e.setAttribute("aria-checked","false");t.parentElement.setAttribute("aria-checked","true"),vi(this,ai,"f").setAttribute("aria-hidden","false")}else vi(this,oi,"f").setAttribute("data-active-captions",e);const n=ri("captionschanged");vi(this,ii,"f").getElement().dispatchEvent(n)}},vi(this,li,"f").global.cuechange=e=>{var t;this._hideCaptions();const n=e.target;"showing"===n.mode&&"off"!==vi(this,oi,"f").getAttribute("data-active-captions")&&n.activeCues&&(null===(t=n.activeCues)||void 0===t?void 0:t.length)>0&&this._showCaptions()},r&&(vi(this,oi,"f").addEventListener("mouseover",vi(this,li,"f").button.mouseover,Kr),vi(this,ai,"f").addEventListener("mouseover",vi(this,li,"f").button.mouseover,Kr),vi(this,ai,"f").addEventListener("mouseout",vi(this,li,"f").button.mouseout,Kr),vi(this,ii,"f").getElement().addEventListener("controlshidden",vi(this,li,"f").button.mouseout,Kr)),document.addEventListener("click",vi(this,li,"f").global.click,Kr);for(const e of vi(this,ci,"f"))e.mode="showing"!==e.mode?"hidden":e.mode,e.addEventListener("cuechange",vi(this,li,"f").global.cuechange,Kr);const o=vi(this,ii,"f").getElement().querySelector('track:is([kind="subtitles"],[kind="captions"])[default]');if(o){const e=vi(this,ci,"f").find(e=>e.language===o.srclang);e&&this._setDefaultTrack(e)}}destroy(){const{detachMenus:e}=vi(this,ii,"f").getOptions();if(vi(this,ui,"f")){for(const e of vi(this,ci,"f"))e.removeEventListener("cuechange",vi(this,li,"f").global.cuechange);document.removeEventListener("click",vi(this,li,"f").global.click),vi(this,oi,"f").removeEventListener("click",vi(this,li,"f").button.click),e&&(vi(this,oi,"f").removeEventListener("mouseover",vi(this,li,"f").button.mouseover),vi(this,ai,"f").removeEventListener("mouseover",vi(this,li,"f").button.mouseover),vi(this,ai,"f").removeEventListener("mouseout",vi(this,li,"f").button.mouseout),vi(this,ii,"f").getElement().removeEventListener("controlshidden",vi(this,li,"f").button.mouseout),vi(this,ai,"f").remove()),vi(this,oi,"f").remove()}}addSettings(){const{detachMenus:e,labels:t}=vi(this,ii,"f").getOptions();if(e||vi(this,ci,"f").length<=1)return{};const n=this._formatMenuItems();return n.length>2?{className:"op-subtitles__option",default:vi(this,fi,"f")||"off",key:"captions",name:(null==t?void 0:t.captions)||"",subitems:n}:{}}_formatMenuItems(){const{labels:e,detachMenus:t}=vi(this,ii,"f").getOptions();if(vi(this,ci,"f").length<=1&&!t)return[];let n=[{key:"off",label:(null==e?void 0:e.off)||""}];for(const t of vi(this,ci,"f")){const r=(null==e?void 0:e.lang)?e.lang[t.language]:null;n=n.filter(e=>e.key!==t.language),n.push({key:t.language,label:r||t.label})}return n}_setDefaultTrack(e){var t,n;e.mode="showing",pi(this,fi,e.language,"f"),vi(this,oi,"f").setAttribute("data-active-captions",vi(this,fi,"f")),vi(this,oi,"f").classList.add("op-controls__captions--on"),vi(this,si,"f").classList.add("op-captions--on"),pi(this,di,e,"f");const r=document.querySelectorAll(".op-settings__submenu-item")||[];for(const e of Array.from(r))e.setAttribute("aria-checked","false");null===(n=null===(t=document.querySelector(`.op-subtitles__option[data-value="captions-${e.language}"]`))||void 0===t?void 0:t.parentElement)||void 0===n||n.setAttribute("aria-checked","true")}_showCaptions(){var e;for(const t of Array.from((null===(e=vi(this,di,"f"))||void 0===e?void 0:e.activeCues)||[])){const e=(null==t?void 0:t.text)||"";if(e&&vi(this,si,"f")){const t=document.createElement("span");t.innerHTML=e,vi(this,si,"f").prepend(t),vi(this,si,"f").classList.add("op-captions--on")}else this._hideCaptions()}}_hideCaptions(){for(var e;null===(e=vi(this,si,"f"))||void 0===e?void 0:e.lastChild;)vi(this,si,"f").removeChild(vi(this,si,"f").lastChild)}};var yi,bi,wi,xi,ji,Ai,Si,Oi,ki,Pi=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},Ci=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};yi=new WeakMap,bi=new WeakMap,wi=new WeakMap,xi=new WeakMap,ji=new WeakMap,Ai=new WeakMap,Si=new WeakMap,Oi=new WeakMap,ki=new WeakMap;const Ei=class{constructor(e,t,n){yi.set(this,void 0),bi.set(this,void 0),wi.set(this,void 0),xi.set(this,[]),ji.set(this,0),Ai.set(this,0),Si.set(this,void 0),Oi.set(this,void 0),ki.set(this,void 0),Pi(this,yi,e,"f"),Pi(this,Oi,t,"f"),Pi(this,ki,n,"f"),Pi(this,bi,document.body.classList.contains("op-fullscreen__on"),"f");const r=document;this.fullScreenEnabled=!!(r.fullscreenEnabled||r.mozFullScreenEnabled||r.msFullscreenEnabled||r.webkitSupportsFullscreen||r.webkitFullscreenEnabled||document.createElement("video").webkitRequestFullScreen),this._enterSpaceKeyEvent=this._enterSpaceKeyEvent.bind(this),this._resize=this._resize.bind(this),this._fullscreenChange=this._fullscreenChange.bind(this),this._setFullscreen=this._setFullscreen.bind(this),this._unsetFullscreen=this._unsetFullscreen.bind(this),Pi(this,xi,["fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange"],"f"),Ci(this,xi,"f").forEach(e
2=>{document.addEventListener(e,this._fullscreenChange,Kr)}),this._setFullscreenData(!1),Ci(this,yi,"f").getContainer().addEventListener("keydown",this._enterSpaceKeyEvent,Kr),zr&&(Ci(this,yi,"f").getElement().addEventListener("webkitbeginfullscreen",this._setFullscreen,Kr),Ci(this,yi,"f").getElement().addEventListener("webkitendfullscreen",this._unsetFullscreen,Kr))}create(){const{labels:e}=Ci(this,yi,"f").getOptions();Pi(this,wi,document.createElement("button"),"f"),Ci(this,wi,"f").type="button",Ci(this,wi,"f").className=`op-controls__fullscreen op-control__${Ci(this,Oi,"f")}`,Ci(this,wi,"f").tabIndex=0,Ci(this,wi,"f").title=(null==e?void 0:e.fullscreen)||"",Ci(this,wi,"f").setAttribute("aria-controls",Ci(this,yi,"f").id),Ci(this,wi,"f").setAttribute("aria-pressed","false"),Ci(this,wi,"f").setAttribute("aria-label",(null==e?void 0:e.fullscreen)||""),Pi(this,Si,()=>{Ci(this,wi,"f").setAttribute("aria-pressed","true"),this.toggleFullscreen()},"f"),Pi(this,Si,Ci(this,Si,"f").bind(this),"f"),Ci(this,wi,"f").addEventListener("click",Ci(this,Si,"f"),Kr),Ci(this,yi,"f").getControls().getLayer(Ci(this,ki,"f")).appendChild(Ci(this,wi,"f"))}destroy(){Ci(this,yi,"f").getContainer().removeEventListener("keydown",this._enterSpaceKeyEvent),Ci(this,xi,"f").forEach(e=>{document.removeEventListener(e,this._fullscreenChange)}),zr&&(Ci(this,yi,"f").getElement().removeEventListener("webkitbeginfullscreen",this._setFullscreen),Ci(this,yi,"f").getElement().removeEventListener("webkitendfullscreen",this._unsetFullscreen)),Ci(this,wi,"f").removeEventListener("click",Ci(this,Si,"f")),Ci(this,wi,"f").remove()}toggleFullscreen(){if(Ci(this,bi,"f")){const e=document;e.exitFullscreen?e.exitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitCancelFullScreen?e.webkitCancelFullScreen():e.msExitFullscreen?e.msExitFullscreen():this._fullscreenChange(),document.body.classList.remove("op-fullscreen__on")}else{const e=Ci(this,yi,"f").getElement();Pi(this,ji,window.screen.width,"f"),Pi(this,Ai,window.screen.height,"f"),e.requestFullscreen?e.parentElement.requestFullscreen():e.mozRequestFullScreen?e.parentElement.mozRequestFullScreen():e.webkitRequestFullScreen?e.parentElement.webkitRequestFullScreen():e.msRequestFullscreen?e.parentElement.msRequestFullscreen():e.webkitEnterFullscreen?e.webkitEnterFullscreen():this._fullscreenChange(),document.body.classList.add("op-fullscreen__on")}if("undefined"!=typeof window&&(qr||zr)){const{screen:e}=window;e.orientation&&!Ci(this,bi,"f")&&e.orientation.lock("landscape")}}_fullscreenChange(){const e=Ci(this,bi,"f")?void 0:Ci(this,ji,"f"),t=Ci(this,bi,"f")?void 0:Ci(this,Ai,"f");this._setFullscreenData(!Ci(this,bi,"f")),Ci(this,yi,"f").isAd()&&Ci(this,yi,"f").getAd().resizeAds(e,t),Pi(this,bi,!Ci(this,bi,"f"),"f"),Ci(this,bi,"f")?document.body.classList.add("op-fullscreen__on"):document.body.classList.remove("op-fullscreen__on"),this._resize(e,t)}_setFullscreenData(e){Ci(this,yi,"f").getContainer().setAttribute("data-fullscreen",(!!e).toString()),Ci(this,wi,"f")&&(e?Ci(this,wi,"f").classList.add("op-controls__fullscreen--out"):Ci(this,wi,"f").classList.remove("op-controls__fullscreen--out"))}_resize(e,t){const n=Ci(this,yi,"f").getContainer(),r=Ci(this,yi,"f").getElement(),i=Ci(this,yi,"f").getOptions();let o="";if(e)n.style.width="100%",r.style.width="100%";else if(i.width){o+=`width: ${"number"==typeof i.width?`${i.width}px`:i.width} !important;`,r.style.removeProperty("width")}else r.style.removeProperty("width"),n.style.removeProperty("width");if(t)r.style.height="100%",n.style.height="100%";else if(i.height){o+=`height: ${"number"==typeof i.height?`${i.height}px`:i.height} !important;`,r.style.removeProperty("height")}else r.style.removeProperty("height"),n.style.removeProperty("height");o&&n.setAttribute("style",o)}_enterSpaceKeyEvent(e){var t;const n=e.which||e.keyCode||0;!(null===(t=null===document||void 0===document?void 0:document.activeElement)||void 0===t?void 0:t.classList.contains("op-controls__fullscreen"))||13!==n&&32!==n||(this.toggleFullscreen(),e.preventDefault(),e.stopPropagation())}_setFullscreen(){Pi(this,bi,!0,"f"),this._setFullscreenData(!0),document.body.classList.add("op-fullscreen__on")}_unsetFullscreen(){Pi(this,bi,!1,"f"),this._setFullscreenData(!1),document.body.classList.remove("op-fullscreen__on")}};function _i(e){return/\.m3u8$/i.test(e.src)||["application/x-mpegURL","application/vnd.apple.mpegurl"].includes(e.type)}
2function Ti(e){return/\.mpd/i.test(e.src)||"application/dash+xml"===e.type}function Mi(e){return/(^rtmp:\/\/|\.flv$)/i.test(e.src)||["video/x-flv","video/flv"].includes(e.type)}function Ii(e,t){const n=function(e){const t=((((e.split("?")[0]||"").split("\\")||[]).pop()||"").split("/")||[]).pop()||"";return t.includes(".")?t.substring(t.lastIndexOf(".")+1):""}(e);if(!n)return Jr(t)?"audio/mp3":"video/mp4";switch(n){case"m3u8":case"m3u":return"application/x-mpegURL";case"mpd":return"application/dash+xml";case"mp4":return Jr(t)?"audio/mp4":"video/mp4";case"mp3":return"audio/mp3";case"webm":return Jr(t)?"audio/webm":"video/webm";case"ogg":return Jr(t)?"audio/ogg":"video/ogg";case"ogv":return"video/ogg";case"oga":return"audio/ogg";case"3gp":return"audio/3gpp";case"wav":return"audio/wav";case"aac":return"audio/aac";case"flac":return"audio/flac";default:return Jr(t)?"audio/mp3":"video/mp4"}}var Ni,Di,Li,Ri,Fi,Vi,$i,Bi,Ui=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},Hi=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Ni=new WeakMap,Di=new WeakMap,Li=new WeakMap,Ri=new WeakMap,Fi=new WeakMap,Vi=new WeakMap,$i=new WeakMap,Bi=new WeakMap;const Wi=class{constructor(e,t,n){Ni.set(this,void 0),Di.set(this,void 0),Li.set(this,void 0),Ri.set(this,{button:{},global:{},media:{}}),Fi.set(this,[]),Vi.set(this,""),$i.set(this,void 0),Bi.set(this,void 0),Ui(this,Ni,e,"f"),Ui(this,$i,t,"f"),Ui(this,Bi,n,"f")}create(){const{labels:e,defaultLevel:t,detachMenus:n}=Hi(this,Ni,"f").getOptions(),r=null!==t?parseInt(t||"0",10):Hi(this,Ni,"f").getMedia().level;Ui(this,Vi,`${r}`,"f");const i=this._formatMenuItems(),o=i.length?i.find(e=>e.key===Hi(this,Vi,"f")):null,s=o?o.label:(null==e?void 0:e.auto)||"";let a=!1;Ui(this,Di,document.createElement("button"),"f"),Hi(this,Di,"f").className=`op-controls__levels op-control__${Hi(this,$i,"f")}`,Hi(this,Di,"f").tabIndex=0,Hi(this,Di,"f").title=(null==e?void 0:e.mediaLevels)||"",Hi(this,Di,"f").setAttribute("aria-controls",Hi(this,Ni,"f").id),Hi(this,Di,"f").setAttribute("aria-label",(null==e?void 0:e.mediaLevels)||""),Hi(this,Di,"f").setAttribute("data-active-level",Hi(this,Vi,"f")),Hi(this,Di,"f").innerHTML=`<span>${s}</span>`;const l=()=>{Hi(this,Fi,"f").length?a||(Hi(this,Ni,"f").getMedia().level=r,a=!0):(this._gatherLevels(),setTimeout(()=>{Hi(this,Ni,"f").getMedia().level=r;const e=ri("controlschanged");Hi(this,Ni,"f").getElement().dispatchEvent(e)},0))};Hi(this,Ri,"f").media.loadedmetadata=l.bind(this),Hi(this,Ri,"f").media.manifestLoaded=l.bind(this),Hi(this,Ri,"f").media.hlsManifestParsed=l.bind(this),n&&(this._buildMenu(),Hi(this,Ri,"f").button.click=()=>{if(n){const e=Hi(this,Ni,"f").getContainer().querySelectorAll(".op-settings");for(let t=0,n=e.length;t<n;++t)e[t]!==Hi(this,Li,"f")&&e[t].setAttribute("aria-hidden","true");"true"===Hi(this,Li,"f").getAttribute("aria-hidden")?Hi(this,Li,"f").setAttribute("aria-hidden","false"):Hi(this,Li,"f").setAttribute("aria-hidden","true")}},Hi(this,Ri,"f").button.mouseover=()=>{if(!Zr&&!qr){const e=Hi(this,Ni,"f").getContainer().querySelectorAll(".op-settings");for(let t=0,n=e.length;t<n;++t)e[t]!==Hi(this,Li,"f")&&e[t].setAttribute("aria-hidden","true");"true"===Hi(this,Li,"f").getAttribute("aria-hidden")&&Hi(this,Li,"f").setAttribute("aria-hidden","false")}},Hi(this,Ri,"f").button.mouseout=()=>{if(!Zr&&!qr){const e=Hi(this,Ni,"f").getContainer().querySelectorAll(".op-settings");for(let t=0,n=e.length;t<n;++t)e[t].setAttribute("aria-hidden","true");"false"===Hi(this,Li,"f").getAttribute("aria-hidden")&&Hi(this,Li,"f").setAttribute("aria-hidden","true")}},Hi(this,Di,"f").addEventListener("click",Hi(this,Ri,"f").button.click,Kr),Hi(this,Di,"f").addEventListener("mouseover",Hi(this,Ri,"f").button.mouseover,Kr),Hi(this,Li,"f").addEventListener("mouseover",Hi(this,Ri,"f").button.mouseover,Kr),Hi(this,Li,"f").addEventListener("mouseout",Hi(this,Ri,"f").button.mouseout,Kr),Hi(this,Ni,"f").getElement().addEventListener("controlshidden",Hi(this,Ri,"f").button.mouseout,Kr)),Hi(this,Ri,"f").global.click=e=>{const t=e.target,{currentTime:r}=Hi(this,Ni,"f").getMedia(),i=Hi(this,Ni,"f").getMedia().paused;if(t.closest(`#${Hi(this,Ni,"f").id}`)&&t.classList.contains("op-levels__option")){const o=t.getAttribute("data-value"),s=o?o.replace("levels-",""):"-1";if(Ui(this,Vi,`${s}`,"f"),n){Hi(this,Di,"f").setAttribute("data-active-level",`${s}`),Hi(this,Di,"f").innerHTML=`<span>${ni(t.innerText,!0)}</span>`;const e=t.parentElement&&t.parentElement.parentElement?t.parentElement.parentElement.querySelectorAll(".op-settings__submenu-item"):[];for(let t=0,n=e.length;t<n;
2++t)e[t].setAttribute("aria-checked","false");t.parentElement&&t.parentElement.setAttribute("aria-checked","true"),Hi(this,Li,"f").setAttribute("aria-hidden","false")}Hi(this,Ni,"f").getMedia().level=s,Hi(this,Ni,"f").getMedia().currentTime=r,i||Hi(this,Ni,"f").play();const a=ri("levelchanged",{detail:{label:t.innerText.trim(),level:s}});Hi(this,Ni,"f").getElement().dispatchEvent(a),e.preventDefault(),e.stopPropagation()}};const c=(null==Hr?void 0:Hr.connection)||(null==Hr?void 0:Hr.mozConnection)||(null==Hr?void 0:Hr.webkitConnection);Hi(this,Ri,"f").global.connection=()=>{const e=Hi(this,Ni,"f").getMedia().current;if(!Ti(e)&&!_i(e)){const e=(null==c?void 0:c.effectiveType)||"",t=Hi(this,Fi,"f").map(e=>Object.assign(Object.assign({},e),{resolution:parseInt(e.label.replace("p",""),10)}));let n=t.find(e=>e.resolution<360);"4g"===e?n=t.find(e=>e.resolution>=720):"3g"===e&&(n=t.find(e=>e.resolution>=360&&e.resolution<720)),n&&(Hi(this,Ni,"f").pause(),Hi(this,Ni,"f").getMedia().level=n.id,Hi(this,Ni,"f").play())}},Object.keys(Hi(this,Ri,"f").media).forEach(e=>{Hi(this,Ni,"f").getElement().addEventListener(e,Hi(this,Ri,"f").media[e],Kr)}),document.addEventListener("click",Hi(this,Ri,"f").global.click,Kr),c&&c.addEventListener("change",Hi(this,Ri,"f").global.connection,Kr)}destroy(){const{detachMenus:e}=Hi(this,Ni,"f").getOptions(),t=(null==Hr?void 0:Hr.connection)||(null==Hr?void 0:Hr.mozConnection)||(null==Hr?void 0:Hr.webkitConnection);Object.keys(Hi(this,Ri,"f").media).forEach(e=>{Hi(this,Ni,"f").getElement().removeEventListener(e,Hi(this,Ri,"f").media[e])}),document.removeEventListener("click",Hi(this,Ri,"f").global.click),t&&t.removeEventListener("change",Hi(this,Ri,"f").global.connection),e&&(Hi(this,Di,"f").removeEventListener("click",Hi(this,Ri,"f").button.click),Hi(this,Di,"f").remove(),Hi(this,Di,"f").removeEventListener("mouseover",Hi(this,Ri,"f").button.mouseover),Hi(this,Li,"f").removeEventListener("mouseover",Hi(this,Ri,"f").button.mouseover),Hi(this,Li,"f").removeEventListener("mouseout",Hi(this,Ri,"f").button.mouseout),Hi(this,Ni,"f").getElement().removeEventListener("controlshidden",Hi(this,Ri,"f").button.mouseout),Hi(this,Li,"f").remove())}addSettings(){const{labels:e,detachMenus:t}=Hi(this,Ni,"f").getOptions();if(t)return{};const n=this._formatMenuItems();return n.length>2?{className:"op-levels__option",default:Hi(this,Vi,"f")||"-1",key:"levels",name:null==e?void 0:e.levels,subitems:n}:{}}_formatMenuItems(){const{labels:e}=Hi(this,Ni,"f").getOptions(),t=this._gatherLevels(),n=t.length;let r=n?[{key:"-1",label:null==e?void 0:e.auto}]:[];for(let e=0;e<n;e++){const n=t[e];r=r.filter(e=>e.key!==n.id),r.push({key:n.id,label:n.label})}return r.reduce((e,t)=>e.find(e=>e.label===t.label)?e:e.concat([t]),[]).sort((e,t)=>parseInt((null==e?void 0:e.label)||"",10)>parseInt((null==t?void 0:t.label)||"",10)?1:-1)}_getResolutionsLabel(e){const{labels:t}=Hi(this,Ni,"f").getOptions();return e>=4320?"8K":e>=2160?"4K":e>=1440?"1440p":e>=1080?"1080p":e>=720?"720p":e>=480?"480p":e>=360?"360p":e>=240?"240p":e>=144?"144p":(null==t?void 0:t.auto)||""}_gatherLevels(){return Hi(this,Fi,"f").length||Hi(this,Ni,"f").getMedia().levels.forEach(e=>{Hi(this,Fi,"f").push(Object.assign(Object.assign({},e),{label:e.label||this._getResolutionsLabel(e.height)}))}),Hi(this,Fi,"f")}_buildMenu(){const{detachMenus:e}=Hi(this,Ni,"f").getOptions();if(e){Hi(this,Di,"f").classList.add("op-control--no-hover"),Ui(this,Li,document.createElement("div"),"f"),Hi(this,Li,"f").className="op-settings op-levels__menu",Hi(this,Li,"f").setAttribute("aria-hidden","true");const e="op-levels__option",t=`<div class="op-settings__menu" role="menu" id="menu-item-levels">\n                ${this._formatMenuItems().map(t=>`\n                <div class="op-settings__submenu-item" tabindex="0" role="menuitemradio"\n                    aria-checked="${Hi(this,Vi,"f")===t.key?"true":"false"}">\n                    <div class="op-settings__submenu-label ${e||""}" data-value="levels-${t.key}">${t.label}</div>\n                </div>`).join("")}\n            </div>`;Hi(this,Li,"f").innerHTML=t;const n=document.createElement("div");n.className=`op-controls__container op-control__${Hi(this,$i,"f")}`,n.appendChild(Hi(this,Di,"f")),n.appendChild(Hi(this,Li,"f")),Hi(this,Ni,"f").getControls().getLayer(Hi(this,Bi,"f")).appendChild(n)}}};var zi,Zi,qi,Gi,Yi,Xi=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},Ki=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};zi=new WeakMap,Zi=new WeakMap,qi=new WeakMap,Gi=new WeakMap,Yi=new WeakMap;const Qi=class{constructor(e,t,n){zi.set(this,void 0),Zi.set(this,void 0),qi.set(this,{controls:{},media:{}}),Gi.set(this,void 0),Yi.set(this,void 0),Xi(this,zi,e,"f"),Xi(this,Gi,t,"f"),Xi(this,Yi,n,"f"),this._enterSpaceKeyEvent=this._enterSpaceKeyEvent.bind(this)}create(){var e;const{labels:t}=Ki(this,zi,"f").getOptions();Xi(this,Zi,document.createElement("button"),"f"),Ki(this,Zi,"f").type="button",Ki(this,Zi,"f").className=`op-controls__playpause op-control__${Ki(this,Gi,"f")}`,Ki(this,Zi,"f").tabIndex=0,Ki(this,Zi,"f").title=(null==t?void 0:t.play)||"",Ki(this,Zi,"f").setAttribute("aria-controls",Ki(this,zi,"f").id),Ki(this,Zi,"f").setAttribute("aria-pressed","fal
2se"),Ki(this,Zi,"f").setAttribute("aria-label",(null==t?void 0:t.play)||""),Ki(this,zi,"f").getControls().getLayer(Ki(this,Yi,"f")).appendChild(Ki(this,Zi,"f")),Ki(this,qi,"f").button=e=>{Ki(this,Zi,"f").setAttribute("aria-pressed","true");const t=Ki(this,zi,"f").activeElement();t.paused||t.ended?(Ki(this,zi,"f").getAd()&&(Ki(this,zi,"f").getAd().playRequested=!0),t.play(),Ki(this,qi,"f").media.play()):(t.pause(),Ki(this,qi,"f").media.pause()),e.preventDefault(),e.stopPropagation()};const n=Jr(Ki(this,zi,"f").getElement());Ki(this,qi,"f").media.play=()=>{var e;Ki(this,zi,"f").activeElement().ended?(Ki(this,zi,"f").isMedia()?Ki(this,Zi,"f").classList.add("op-controls__playpause--replay"):Ki(this,Zi,"f").classList.add("op-controls__playpause--pause"),Ki(this,Zi,"f").title=(null==t?void 0:t.play)||"",Ki(this,Zi,"f").setAttribute("aria-label",(null==t?void 0:t.play)||"")):(Ki(this,Zi,"f").classList.remove("op-controls__playpause--replay"),Ki(this,Zi,"f").classList.add("op-controls__playpause--pause"),Ki(this,Zi,"f").title=(null==t?void 0:t.pause)||"",Ki(this,Zi,"f").setAttribute("aria-label",(null==t?void 0:t.pause)||""),(null===(e=Ki(this,zi,"f").getOptions())||void 0===e?void 0:e.pauseOthers)&&Object.keys(el.instances).forEach(e=>{if(e!==Ki(this,zi,"f").id){el.instances[e].activeElement().pause()}}))},Ki(this,qi,"f").media.loadedmetadata=()=>{(Ki(this,Zi,"f").classList.contains("op-controls__playpause--pause")||Ki(this,Zi,"f").classList.contains("op-controls__playpause--replay"))&&(Ki(this,Zi,"f").classList.remove("op-controls__playpause--replay"),Ki(this,Zi,"f").classList.remove("op-controls__playpause--pause"),Ki(this,Zi,"f").title=(null==t?void 0:t.play)||"",Ki(this,Zi,"f").setAttribute("aria-label",(null==t?void 0:t.play)||""))},Ki(this,qi,"f").media.playing=()=>{Ki(this,Zi,"f").classList.contains("op-controls__playpause--pause")||(Ki(this,Zi,"f").classList.remove("op-controls__playpause--replay"),Ki(this,Zi,"f").classList.add("op-controls__playpause--pause"),Ki(this,Zi,"f").title=(null==t?void 0:t.pause)||"",Ki(this,Zi,"f").setAttribute("aria-label",(null==t?void 0:t.pause)||""))},Ki(this,qi,"f").media.pause=()=>{Ki(this,Zi,"f").classList.remove("op-controls__playpause--pause"),Ki(this,Zi,"f").title=(null==t?void 0:t.play)||"",Ki(this,Zi,"f").setAttribute("aria-label",(null==t?void 0:t.play)||"")},Ki(this,qi,"f").media.ended=()=>{Ki(this,zi,"f").activeElement().ended&&Ki(this,zi,"f").isMedia()||Ki(this,zi,"f").getElement().currentTime>=Ki(this,zi,"f").getElement().duration||Ki(this,zi,"f").getElement().currentTime<=0?(Ki(this,Zi,"f").classList.add("op-controls__playpause--replay"),Ki(this,Zi,"f").classList.remove("op-controls__playpause--pause")):(Ki(this,Zi,"f").classList.remove("op-controls__playpause--replay"),Ki(this,Zi,"f").classList.add("op-controls__playpause--pause")),Ki(this,Zi,"f").title=(null==t?void 0:t.play)||"",Ki(this,Zi,"f").setAttribute("aria-label",(null==t?void 0:t.play)||"")},Ki(this,qi,"f").media.adsmediaended=()=>{Ki(this,Zi,"f").classList.remove("op-controls__playpause--replay"),Ki(this,Zi,"f").classList.add("op-controls__playpause--pause"),Ki(this,Zi,"f").title=(null==t?void 0:t.pause)||"",Ki(this,Zi,"f").setAttribute("aria-label",(null==t?void 0:t.pause)||"")},Ki(this,qi,"f").media.playererror=()=>{if(n){Ki(this,zi,"f").activeElement().pause()}};const r=Ki(this,zi,"f").getElement();Ki(this,qi,"f").controls.controlschanged=()=>{if(!Ki(this,zi,"f").activeElement().paused){const e=ri("playing");r.dispatchEvent(e)}},Object.keys(Ki(this,qi,"f").media).forEach(e=>{r.addEventListener(e,Ki(this,qi,"f").media[e],Kr)}),(null===(e=Ki(this,zi,"f").getOptions().media)||void 0===e?void 0:e.pauseOnClick)&&r.addEventListener("click",Ki(this,qi,"f").button,Kr),Ki(this,zi,"f").getControls().getContainer().addEventListener("controlschanged",Ki(this,qi,"f").controls.controlschanged,Kr),Ki(this,zi,"f").getContainer().addEventListener("keydown",this._enterSpaceKeyEvent,Kr),Ki(this,Zi,"f").addEventListener("click",Ki(this,qi,"f").button,Kr)}destroy(){var e;Object.keys(Ki(this,qi,"f").media).forEach(e=>{Ki(this,zi,"f").getElement().removeEventListener(e,Ki(this,qi,"f").media[e])}),(null===(e=Ki(this,zi,"f").getOptions().media)||void 0===e?void 0:e.pauseOnClick)&&Ki(this,zi,"f").getElement().removeEventListener("click",Ki(this,qi,"f").button),Ki(this,zi,"f").getControls().getContainer().removeEventListener("controlschanged",Ki(this,qi,"f").controls.controlschanged),Ki(this,zi,"f").getContainer().removeEventListener("keydown",this._enterSpaceKeyEvent),Ki(this,Zi,"f").removeEventListener("click",Ki(this,qi,"f").button),Ki(this,Zi,"f").remove()}_enterSpaceKeyEvent(e){var t;const n=e.which||e.keyCode||0;!(null===(t=null===document||void 0===document?void 0:document.activeElement)||void 0===t?void 0:t.classList.contains("op-controls__playpause"))||13!==n&&32!==n||Ki(this,qi,"f").button(e)}};function Ji(e,t){const n=Math.floor(e%1*(t||0));let r=Math.floor(e),i=Math.floor(r/60);const o=Math.floor(i/60),s=e=>{const t=e.toString();return e<10?e<=0?"00":`0${t}`:t};return i%=60,r%=60,`${o>0?`${s(o)}:`:""}${s(i)}:${s(r)}${n?`:${s(n)}`:""}`}var eo,to,no,ro,io,oo,so,ao,lo,co,uo=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},fo=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};eo=new WeakMap,to=new WeakMap,no=new WeakMap,ro=new WeakMap,io=new WeakMap,oo=new WeakMap,so=new WeakMap,ao=new WeakMap,lo=new WeakMap,co=new WeakMap;const ho=class{constructor(e,t,n){eo.set(this,void 0),to.set(this,void 0),no.set(this,void 0),ro.set(this,void 0),io.set(this,void 0),oo.set(this,void 0),so.set(this,{container:{},controls:{},global:{},media:{},slider:{}}),ao.set(this,!1),lo.set(this,void 0),co.set(this,void 0),uo(this,eo,e,"f"),uo(this,lo,t,"f"),uo(this,co,n,"f"),this._enterSpaceKeyEvent=this._enterSpaceKeyEvent.bind(this)}create(){var e;const{labels:t,progress:n}=fo(this,eo,"f").getOptions();uo(this,to,document.createElement("div"),"f"),fo(this,to,"f").className=`op-controls__progress op-control__${fo(this,lo,"f")}`,fo(this,to,"f").tabIndex=0,fo(this,to,"f").setAttribute("aria-label",(null==t?void 0:t.progressSlider)||""),fo(this,to,"f").setAttribute("aria-valuemin","0"),fo(this,to,"f").setAttribute("aria-valuenow","0"),fo(this,to,"f").setAttribute("role","slider"),uo(this,no,document.createElement("input"),"f"),fo(this,no,"f").type="range",fo(this,no,"f").className="op-controls__progress--seek",fo(this,no,"f").tabIndex=-1,fo(this,no,"f").setAttribute("min","0"),fo(this,no,"f").setAttribute("step","0.1"),fo(this,no,"f").value="
20",fo(this,no,"f").setAttribute("aria-label",(null==t?void 0:t.progressRail)||""),fo(this,no,"f").setAttribute("role","slider"),uo(this,ro,document.createElement("progress"),"f"),fo(this,ro,"f").className="op-controls__progress--buffer",fo(this,ro,"f").setAttribute("max","100"),fo(this,ro,"f").value=0,uo(this,io,document.createElement("progress"),"f"),fo(this,io,"f").className="op-controls__progress--played",fo(this,io,"f").setAttribute("max","100"),fo(this,io,"f").value=0,fo(this,to,"f").appendChild(fo(this,no,"f")),fo(this,to,"f").appendChild(fo(this,io,"f")),fo(this,to,"f").appendChild(fo(this,ro,"f")),Zr||qr||(uo(this,oo,document.createElement("span"),"f"),fo(this,oo,"f").className="op-controls__tooltip",fo(this,oo,"f").tabIndex=-1,fo(this,oo,"f").innerHTML="00:00",fo(this,to,"f").appendChild(fo(this,oo,"f")));const r=()=>{var e;fo(this,no,"f").classList.contains("error")&&fo(this,no,"f").classList.remove("error");const t=fo(this,eo,"f").activeElement();if(t.duration===1/0||fo(this,eo,"f").getElement().getAttribute("op-live__enabled")||fo(this,eo,"f").getElement().getAttribute("op-dvr__enabled"))fo(this,eo,"f").getElement().getAttribute("op-dvr__enabled")?(fo(this,no,"f").setAttribute("max","1"),fo(this,no,"f").value="1",fo(this,no,"f").style.backgroundSize="100% 100%",fo(this,io,"f").value=1,fo(this,to,"f").setAttribute("aria-valuemax","1"),fo(this,to,"f").setAttribute("aria-hidden","false")):(null===(e=fo(this,eo,"f").getOptions().live)||void 0===e?void 0:e.showProgress)||fo(this,to,"f").setAttribute("aria-hidden","true");else{const e=fo(this,eo,"f").isMedia()?t.currentTime:t.duration-t.currentTime;fo(this,no,"f").value=e.toString(),Number.isNaN(t.duration)||(fo(this,no,"f").setAttribute("max",`${t.duration}`),fo(this,to,"f").setAttribute("aria-valuemax",t.duration.toString()))}};let i=0;const o=(null===(e=fo(this,eo,"f").getOptions().progress)||void 0===e?void 0:e.duration)||0,s=Jr(fo(this,eo,"f").getElement());fo(this,so,"f").media.loadedmetadata=r.bind(this),fo(this,so,"f").controls.controlschanged=r.bind(this),fo(this,so,"f").media.progress=e=>{var t;const n=e.target;if(n.duration===1/0||fo(this,eo,"f").getElement().getAttribute("op-live__enabled"))fo(this,eo,"f").getElement().getAttribute("op-dvr__enabled")||"false"!==fo(this,to,"f").getAttribute("aria-hidden")||(null===(t=fo(this,eo,"f").getOptions().live)||void 0===t?void 0:t.showProgress)||fo(this,to,"f").setAttribute("aria-hidden","true");else if(n.duration>0)for(let e=0,t=n.buffered.length;e<t;e++)if(n.buffered.start(n.buffered.length-1-e)<n.currentTime){fo(this,ro,"f").value=n.buffered.end(n.buffered.length-1-e)/n.duration*100;break}},fo(this,so,"f").media.waiting=()=>{s&&!fo(this,no,"f").classList.contains("loading")&&fo(this,no,"f").classList.add("loading"),s&&fo(this,no,"f").classList.contains("error")&&fo(this,no,"f").classList.remove("error")},fo(this,so,"f").media.playererror=()=>{s&&!fo(this,no,"f").classList.contains("error")&&fo(this,no,"f").classList.add("error"),s&&fo(this,no,"f").classList.contains("loading")&&fo(this,no,"f").classList.remove("loading")},fo(this,so,"f").media.pause=()=>{const e=fo(this,eo,"f").activeElement();if(e.duration!==1/0&&!fo(this,eo,"f").getElement().getAttribute("op-live__enabled")){const t=e.currentTime;fo(this,to,"f").setAttribute("aria-valuenow",t.toString()),fo(this,to,"f").setAttribute("aria-valuetext",Ji(t))}},fo(this,so,"f").media.play=()=>{s&&fo(this,no,"f").classList.contains("loading")&&fo(this,no,"f").classList.remove("loading"),s&&fo(this,no,"f").classList.contains("error")&&fo(this,no,"f").classList.remove("error"),fo(this,eo,"f").activeElement().duration===1/0||fo(this,eo,"f").getElement().getAttribute("op-live__enabled")||(fo(this,to,"f").removeAttribute("aria-valuenow"),fo(this,to,"f").removeAttribute("aria-valuetext"))},fo(this,so,"f").media.playing=()=>{s&&fo(this,no,"f").classList.contains("loading")&&fo(this,no,"f").classList.remove("loading"),s&&fo(this,no,"f").classList.contains("error")&&fo(this,no,"f").classList.remove("error")},fo(this,so,"f").media.timeupdate=()=>{var e;const t=fo(this,eo,"f").activeElement();if(t.duration===1/0||fo(this,eo,"f").getElement().getAttribute("op-live__enabled")&&!fo(this,eo,"f").getElement().getAttribute("op-dvr__enabled"))fo(this,eo,"f").getElement().getAttribute("op-dvr__enabled")||"false"!==fo(this,to,"f").getAttribute("aria-hidden")||(null===(e=fo(this,eo,"f").getOptions().live)||void 0===e?void 0:e.showProgress)||fo(this,to,"f").setAttribute("aria-hidden","true");else{fo(this,no,"f").getAttribute("max")&&"0"!==fo(this,no,"f").getAttribute("max")&&parseFloat(fo(this,no,"f").getAttribute("max")||"-1")===t.duration||(Number.isNaN(t.duration)||fo(this,no,"f").setAttribute("max",`${t.duration}`),fo(this,to,"f").setAttribute("aria-hidden","false"));const e=t.duration-t.currentTime+1>
2=100?100:t.duration-t.currentTime+1,n=fo(this,eo,"f").isMedia()?t.currentTime:e,r=parseFloat(fo(this,no,"f").min),s=parseFloat(fo(this,no,"f").max);fo(this,no,"f").value=n.toString(),fo(this,no,"f").style.backgroundSize=100*(n-r)/(s-r)+"% 100%",fo(this,io,"f").value=t.duration<=0||Number.isNaN(t.duration)||!Number.isFinite(t.duration)?o:n/t.duration*100,fo(this,eo,"f").getElement().getAttribute("op-dvr__enabled")&&Math.floor(fo(this,io,"f").value)>=99&&(i=t.currentTime,fo(this,to,"f").setAttribute("aria-hidden","false"))}},fo(this,so,"f").media.durationchange=()=>{const e=fo(this,eo,"f").activeElement(),t=fo(this,eo,"f").isMedia()?e.currentTime:e.duration-e.currentTime;Number.isNaN(e.duration)||(fo(this,no,"f").setAttribute("max",`${e.duration}`),fo(this,to,"f").setAttribute("aria-valuemax",e.duration.toString())),fo(this,io,"f").value=e.duration<=0||Number.isNaN(e.duration)||!Number.isFinite(e.duration)?o:t/e.duration*100},fo(this,so,"f").media.ended=()=>{fo(this,no,"f").style.backgroundSize="0% 100%",fo(this,no,"f").getAttribute("max")&&fo(this,no,"f").setAttribute("max","0"),fo(this,ro,"f").value=0,fo(this,io,"f").value=0};const a=e=>{const t=fo(this,eo,"f").activeElement(),r=e.target,s=parseFloat(r.value);if(fo(this,no,"f").classList.contains("op-progress--pressed")||s<t.currentTime&&!(null==n?void 0:n.allowRewind)||s>t.currentTime&&!(null==n?void 0:n.allowSkip))return void(fo(this,no,"f").value=t.currentTime.toString());fo(this,no,"f").classList.add(".op-progress--pressed");const a=parseFloat(r.min),l=parseFloat(r.max),c=parseFloat(r.value);fo(this,no,"f").style.backgroundSize=100*(c-a)/(l-a)+"% 100%",fo(this,io,"f").value=t.duration<=0||Number.isNaN(t.duration)||!Number.isFinite(t.duration)?o:c/t.duration*100,fo(this,eo,"f").getElement().getAttribute("op-dvr__enabled")?t.currentTime=Math.round(fo(this,io,"f").value)>=99?i:c:t.currentTime=c,fo(this,no,"f").classList.remove(".op-progress--pressed")},l=()=>{const e=fo(this,eo,"f").activeElement();!0===fo(this,ao,"f")&&fo(this,eo,"f").isMedia()&&e.paused&&(e.play(),uo(this,ao,!1,"f"))};fo(this,so,"f").slider.input=a.bind(this),fo(this,so,"f").slider.change=a.bind(this),fo(this,so,"f").slider.mousedown=(e=>{const t=fo(this,eo,"f").activeElement(),r=e.which||e.keyCode||0,i=fo(this,no,"f"),o=Math.round(Number(i.value)),s=Math.round(t.currentTime);!(o<s&&(null==n?void 0:n.allowRewind)||o>=s&&(null==n?void 0:n.allowSkip))||1!==r&&0!==r||!fo(this,eo,"f").isMedia()||t.paused||(t.pause(),uo(this,ao,!0,"f"))}).bind(this),fo(this,so,"f").slider.mouseup=l.bind(this),fo(this,so,"f").slider.touchstart=(e=>{var t;const r=fo(this,eo,"f").activeElement();if(r.duration!==1/0){const{changedTouches:i}=e,o=(((null===(t=i[0])||void 0===t?void 0:t.pageX)||0)-ti(fo(this,to,"f")).left)/fo(this,to,"f").offsetWidth*r.duration;(o<r.currentTime&&(null==n?void 0:n.allowRewind)||o>r.currentTime&&(null==n?void 0:n.allowSkip))&&(fo(this,no,"f").value=o.toString(),a(e),r.paused||(r.pause(),uo(this,ao,!0,"f")))}}).bind(this),fo(this,so,"f").slider.touchend=l.bind(this),Zr||qr||(fo(this,so,"f").container.mousemove=e=>{const t=fo(this,eo,"f").activeElement();if(t.duration!==1/0&&!fo(this,eo,"f").isAd()){const n=e.pageX;let r=n-ti(fo(this,to,"f")).left;const i=fo(this,oo,"f").offsetWidth/2,o=r/fo(this,to,"f").offsetWidth,s=o*t.duration,a=fo(this,eo,"f").getContainer(),l=a.offsetWidth-fo(this,oo,"f").offsetWidth;r<=0||n-ti(a).left<=i?r=0:n-ti(a).left>=l?r=l-ti(fo(this,no,"f")).left-10:r-=i,o>=0&&o<=1?fo(this,oo,"f").classList.add("op-controls__tooltip--visible"):fo(this,oo,"f").classList.remove("op-controls__tooltip--visible"),fo(this,oo,"f").style.left=`${r}px`,fo(this,oo,"f").innerHTML=Number.isNaN(s)?"00:00":Ji(s)}},fo(this,so,"f").global.mousemove=e=>{e.target.closest(".op-controls__progress")&&!fo(this,eo,"f").isAd()||fo(this,oo,"f").classList.remove("op-controls__tooltip--visible")}),Object.keys(fo(this,so,"f").media).forEach(e=>{fo(this,eo,"f").getElement().addEventListener(e,fo(this,so,"f").media[e],Kr)}),Object.keys(fo(this,so,"f").slider).forEach(e=>{fo(this,no,"f").addEventListener(e,fo(this,so,"f").slider[e],Kr)}),fo(this,to,"f").addEventListener("keydown",fo(this,eo,"f").getEvents().keydown,Kr),fo(this,to,"f").addEventListener("mousemove",fo(this,so,"f").container.mousemove,Kr),document.addEventListener("mousemove",fo(this,so,"f").global.mousemove,Kr),fo(this,eo,"f").getContainer().addEventListener("keydown",this._enterSpaceKeyEvent,Kr),fo(this,eo,"f").getControls().getContainer().addEventListener("controlschanged",fo(this,so,"f").controls.controlschanged,Kr),fo(this,eo,"f").getControls().getLayer(fo(this,co,"f")).appendChild(fo(this,to,"f"))}
2destroy(){Object.keys(fo(this,so,"f")).forEach(e=>{fo(this,eo,"f").getElement().removeEventListener(e,fo(this,so,"f")[e])}),Object.keys(fo(this,so,"f").slider).forEach(e=>{fo(this,no,"f").removeEventListener(e,fo(this,so,"f").slider[e])}),fo(this,to,"f").removeEventListener("keydown",fo(this,eo,"f").getEvents().keydown),fo(this,to,"f").removeEventListener("mousemove",fo(this,so,"f").container.mousemove),document.removeEventListener("mousemove",fo(this,so,"f").global.mousemove),fo(this,eo,"f").getContainer().removeEventListener("keydown",this._enterSpaceKeyEvent),fo(this,eo,"f").getControls().getContainer().removeEventListener("controlschanged",fo(this,so,"f").controls.controlschanged),fo(this,ro,"f").remove(),fo(this,io,"f").remove(),fo(this,no,"f").remove(),Zr||qr||fo(this,oo,"f").remove(),fo(this,to,"f").remove()}_enterSpaceKeyEvent(e){const t=fo(this,eo,"f").activeElement(),n=fo(this,eo,"f").isAd(),r=e.which||e.keyCode||0;if(!n&&r>=48&&r<=57&&t.duration!==1/0){let n=0;for(let e=48,t=57;e<=t;e++)e<r&&n++;t.currentTime=t.duration*(.1*n),e.preventDefault(),e.stopPropagation()}}};var mo,po,vo,go,yo,bo,wo,xo,jo=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},Ao=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};mo=new WeakMap,po=new WeakMap,vo=new WeakMap,go=new WeakMap,yo=new WeakMap,bo=new WeakMap,wo=new WeakMap,xo=new WeakMap;const So=class{constructor(e,t,n){mo.set(this,void 0),po.set(this,{}),vo.set(this,void 0),go.set(this,void 0),yo.set(this,{global:{},media:{}}),bo.set(this,""),wo.set(this,void 0),xo.set(this,void 0),jo(this,mo,e,"f"),jo(this,wo,t,"f"),jo(this,xo,n,"f"),this._enterSpaceKeyEvent=this._enterSpaceKeyEvent.bind(this)}create(){const{labels:e}=Ao(this,mo,"f").getOptions();jo(this,vo,document.createElement("button"),"f"),Ao(this,vo,"f").className=`op-controls__settings op-control__${Ao(this,wo,"f")}`,Ao(this,vo,"f").tabIndex=0,Ao(this,vo,"f").title=(null==e?void 0:e.settings)||"",Ao(this,vo,"f").setAttribute("aria-controls",Ao(this,mo,"f").id),Ao(this,vo,"f").setAttribute("aria-pressed","false"),Ao(this,vo,"f").setAttribute("aria-label",(null==e?void 0:e.settings)||""),jo(this,go,document.createElement("div"),"f"),Ao(this,go,"f").className="op-settings",Ao(this,go,"f").setAttribute("aria-hidden","true"),Ao(this,go,"f").innerHTML='<div class="op-settings__menu" role="menu"></div>',this.clickEvent=()=>{Ao(this,vo,"f").setAttribute("aria-pressed","true");const e=Ao(this,mo,"f").getContainer().querySelectorAll(".op-settings");for(let t=0,n=e.length;t<n;++t)e[t]!==Ao(this,go,"f")&&e[t].setAttribute("aria-hidden","true");Ao(this,go,"f").setAttribute("aria-hidden","false"===Ao(this,go,"f").getAttribute("aria-hidden")?"true":"false")},this.hideEvent=()=>{let e;e&&"undefined"!=typeof window&&window.cancelAnimationFrame(e),"undefined"!=typeof window&&(e=window.requestAnimationFrame(()=>{Ao(this,go,"f").innerHTML=Ao(this,bo,"f"),Ao(this,go,"f").setAttribute("aria-hidden","true")}))},this.removeEvent=e=>{const{id:t,type:n}=e.detail;this.removeItem(t,n)},this.clickEvent=this.clickEvent.bind(this),this.hideEvent=this.hideEvent.bind(this),this.removeEvent=this.removeEvent.bind(this),Ao(this,yo,"f").media.controlshidden=this.hideEvent.bind(this),Ao(this,yo,"f").media.settingremoved=this.removeEvent.bind(this),Ao(this,yo,"f").media.play=this.hideEvent.bind(this),Ao(this,yo,"f").media.pause=this.hideEvent.bind(this),Ao(this,mo,"f").getContainer().addEventListener("keydown",this._enterSpaceKeyEvent,Kr),Ao(this,yo,"f").global.click=e=>{const{target:t}=e,n=t;if((null==n?void 0:n.closest(`#${Ao(this,mo,"f").id}`))&&(null==n?void 0:n.classList.contains("op-speed__option"))){const e=(null==n?void 0:n.getAttribute("data-value"))||"";Ao(this,mo,"f").getMedia().playbackRate=parseFloat(e.replace("speed-",""))}},Ao(this,yo,"f").global.resize=this.hideEvent.bind(this),Ao(this,vo,"f").addEventListener("click",this.clickEvent,Kr),Object.keys(Ao(this,yo,"f")).forEac
2h(e=>{Ao(this,mo,"f").getElement().addEventListener(e,Ao(this,yo,"f").media[e],Kr)}),document.addEventListener("click",Ao(this,yo,"f").global.click,Kr),document.addEventListener("keydown",Ao(this,yo,"f").global.click,Kr),"undefined"!=typeof window&&window.addEventListener("resize",Ao(this,yo,"f").global.resize,Kr),Ao(this,mo,"f").getControls().getLayer(Ao(this,xo,"f")).appendChild(Ao(this,vo,"f")),Ao(this,mo,"f").getContainer().appendChild(Ao(this,go,"f"))}destroy(){Ao(this,vo,"f").removeEventListener("click",this.clickEvent),Object.keys(Ao(this,yo,"f")).forEach(e=>{Ao(this,mo,"f").getElement().removeEventListener(e,Ao(this,yo,"f").media[e])}),document.removeEventListener("click",Ao(this,yo,"f").global.click),document.removeEventListener("keydown",Ao(this,yo,"f").global.click),"undefined"!=typeof window&&window.removeEventListener("resize",Ao(this,yo,"f").global.resize),void 0!==Ao(this,yo,"f").global["settings.submenu"]&&(document.removeEventListener("click",Ao(this,yo,"f").global["settings.submenu"]),Ao(this,mo,"f").getElement().removeEventListener("controlshidden",this.hideEvent)),Ao(this,mo,"f").getContainer().removeEventListener("keydown",this._enterSpaceKeyEvent),Ao(this,go,"f").remove(),Ao(this,vo,"f").remove()}addSettings(){const e=Ao(this,mo,"f").getMedia(),{labels:t}=Ao(this,mo,"f").getOptions();let n=1;return Ao(this,mo,"f")&&e&&(n=e.defaultPlaybackRate!==e.playbackRate?e.playbackRate:e.defaultPlaybackRate),{className:"op-speed__option",default:n.toString(),key:"speed",name:(null==t?void 0:t.speed)||"",subitems:[{key:"0.25",label:"0.25"},{key:"0.5",label:"0.5"},{key:"0.75",label:"0.75"},{key:"1",label:(null==t?void 0:t.speedNormal)||""},{key:"1.25",label:"1.25"},{key:"1.5",label:"1.5"},{key:"2",label:"2"}]}}addItem(e,t,n,r,i){const o=`${t}-${ni(n,!0)}`,s=document.createElement("div");s.className="op-settings__menu-item",s.tabIndex=0,s.setAttribute("role","menuitemradio"),s.innerHTML=`<div class="op-settings__menu-label" data-value="${o}">${e}</div>`;const a=r?r.find(e=>e.key===n):null;a&&(s.innerHTML+=`<div class="op-settings__menu-content" tabindex="0">${a.label}</div>`);const l=Ao(this,go,"f").querySelector(".op-settings__menu");if(l&&l.appendChild(s),jo(this,bo,Ao(this,go,"f").innerHTML,"f"),r){const o=`\n                <div class="op-settings__header">\n                    <button type="button" class="op-settings__back" tabindex="0">${e}</button>\n                </div>\n                <div class="op-settings__menu" role="menu" id="menu-item-${t}">\n                    ${r.map(e=>`\n                    <div class="op-settings__submenu-item" role="menuitemradio" aria-checked="${n===e.key?"true":"false"}">\n                        <div class="op-settings__submenu-label ${i||""}" tabindex="0" data-value="${t}-${e.key}">\n                            ${e.label}\n                        </div>\n                    </div>`).join("")}\n                </div>`;Ao(this,po,"f")[t]=o}Ao(this,yo,"f").global["settings.submenu"]=e=>{const r=e.target;if(r.closest(`#${Ao(this,mo,"f").id}`)){if(r.classList.contains("op-settings__back"))Ao(this,go,"f").classList.add("op-settings--sliding"),setTimeout(()=>{Ao(this,go,"f").innerHTML=Ao(this,bo,"f"),Ao(this,go,"f").classList.remove("op-settings--sliding")},100);else if(r.classList.contains("op-settings__menu-content")){const e=r.parentElement?r.parentElement.querySelector(".op-settings__menu-label"):null,t=e?e.getAttribute("data-value"):null,n=t?t.split("-"):[];if(n.length>0){n.pop();const e=n.join("-").replace(/^\-|\-$/,"");void 0!==Ao(this,po,"f")[e]&&(Ao(this,go,"f").classList.add("op-settings--sliding"),setTimeout(()=>{Ao(this,go,"f").innerHTML=Ao(this,po,"f")[e],Ao(this,go,"f").classList.remove("op-settings--sliding")},100))}}else if(r.classList.contains("op-settings__submenu-label")){const e=r.getAttribute("data-value"),i=e?e.replace(`${t}-`,""):"",o=r.innerText,s=Ao(this,go,"f").querySelector(`#menu-item-${t} .op-settings__submenu-item[aria-checked=true]`);s&&(s.setAttribute("aria-checked","false"),r.parentElement&&r.parentElement.setAttribute("aria-checked","true"),Ao(this,po,"f")[t]=Ao(this,go,"f").innerHTML,Ao(this,go,"f").classList.add("op-settings--sli
2ding"),setTimeout(()=>{Ao(this,go,"f").innerHTML=Ao(this,bo,"f");const r=Ao(this,go,"f").querySelector(`.op-settings__menu-label[data-value="${t}-${n}"]`);r&&(r.setAttribute("data-value",`${e}`),r.nextElementSibling&&(r.nextElementSibling.textContent=o)),n=i,jo(this,bo,Ao(this,go,"f").innerHTML,"f"),Ao(this,go,"f").classList.remove("op-settings--sliding")},100))}}else this.hideEvent()},document.addEventListener("click",Ao(this,yo,"f").global["settings.submenu"],Kr),Ao(this,mo,"f").getElement().addEventListener("controlshidden",this.hideEvent,Kr)}removeItem(e,t,n=2){const r=Ao(this,mo,"f").getElement().querySelector(`.op-settings__submenu-label[data-value=${t}-${e}]`);if(r&&r.remove(),Ao(this,mo,"f").getElement().querySelectorAll(`.op-settings__submenu-label[data-value^=${t}]`).length<n){delete Ao(this,po,"f")[t];const e=Ao(this,mo,"f").getElement().querySelector(`.op-settings__menu-label[data-value^=${t}]`),n=e?e.closest(".op-settings__menu-item"):null;n&&n.remove()}}_enterSpaceKeyEvent(e){var t,n,r,i;const o=e.which||e.keyCode||0,s=Ao(this,mo,"f").isAd(),a=null===(t=null===document||void 0===document?void 0:document.activeElement)||void 0===t?void 0:t.classList.contains("op-controls__settings"),l=(null===(n=null===document||void 0===document?void 0:document.activeElement)||void 0===n?void 0:n.classList.contains("op-settings__menu-content"))||(null===(r=null===document||void 0===document?void 0:document.activeElement)||void 0===r?void 0:r.classList.contains("op-settings__back"))||(null===(i=null===document||void 0===document?void 0:document.activeElement)||void 0===i?void 0:i.classList.contains("op-settings__submenu-label"));s||(!a||13!==o&&32!==o?!l||13!==o&&32!==o||(Ao(this,yo,"f").global["settings.submenu"](e),e.preventDefault(),e.stopPropagation()):(this.clickEvent(),e.preventDefault(),e.stopPropagation()))}};var Oo,ko,Po,Co,Eo,_o,To,Mo,Io=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},No=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Oo=new WeakMap,ko=new WeakMap,Po=new WeakMap,Co=new WeakMap,Eo=new WeakMap,_o=new WeakMap,To=new WeakMap,Mo=new WeakMap;const Do=class{constructor(e,t,n){Oo.set(this,void 0),ko.set(this,void 0),Po.set(this,void 0),Co.set(this,void 0),Eo.set(this,void 0),_o.set(this,{controls:{},media:{}}),To.set(this,void 0),Mo.set(this,void 0),Io(this,Oo,e,"f"),Io(this,To,t,"f"),Io(this,Mo,n,"f")}create(){const{labels:e,progress:t}=No(this,Oo,"f").getOptions();Io(this,ko,document.createElement("time"),"f"),No(this,ko,"f").className="op-controls__current",No(this,ko,"f").setAttribute("role","timer"),No(this,ko,"f").setAttribute("aria-live","off"),No(this,ko,"f").setAttribute("aria-hidden","false"),No(this,ko,"f").innerText="0:00";const n=(null==t?void 0:t.showCurrentTimeOnly)||!1;n||(Io(this,Po,document.createElement("span"),"f"),No(this,Po,"f").className="op-controls__time-delimiter",No(this,Po,"f").setAttribute("aria-hidden","false"),No(this,Po,"f").innerText="/",Io(this,Co,document.createElement("time"),"f"),No(this,Co,"f").className="op-controls__duration",No(this,Co,"f").setAttribute("aria-hidden","false"),No(this,Co,"f").innerText=Ji((null==t?void 0:t.duration)||0));const r=No(this,Oo,"f").getControls().getLayer(No(this,Mo,"f"));Io(this,Eo,document.createElement("span"),"f"),No(this,Eo,"f").className=`op-controls-time op-control__${No(this,To,"f")}`,No(this,Eo,"f").appendChild(No(this,ko,"f")),n||(No(this,Eo,"f").appendChild(No(this,Po,"f")),No(this,Eo,"f").appendChild(No(this,Co,"f"))),r.appendChild(No(this,Eo,"f"));const i=()=>{var e;const t=No(this,Oo,"f").activeElement();if(t.duration===1/0||No(this,Oo,"f").getElement().getAttribute("op-live__enabled"))n||(No(this,C
2o,"f").setAttribute("aria-hidden","true"),No(this,Po,"f").setAttribute("aria-hidden","true"));else{if(!n){const n=Number.isNaN(t.duration)?(null===(e=No(this,Oo,"f").getOptions().progress)||void 0===e?void 0:e.duration)||0:t.duration;No(this,Co,"f").innerText=Ji(n)}No(this,ko,"f").innerText=Ji(t.currentTime)}};No(this,_o,"f").media.loadedmetadata=i.bind(this),No(this,_o,"f").controls.controlschanged=i.bind(this);const{showLabel:o}=No(this,Oo,"f").getOptions().live||{};No(this,_o,"f").media.timeupdate=()=>{const t=No(this,Oo,"f").activeElement();if(t.duration===1/0||No(this,Oo,"f").getElement().getAttribute("op-live__enabled")||No(this,Oo,"f").getElement().getAttribute("op-dvr__enabled"))No(this,Oo,"f").getElement().getAttribute("op-dvr__enabled")?(n||(No(this,Co,"f").setAttribute("aria-hidden","true"),No(this,Po,"f").setAttribute("aria-hidden","true")),No(this,ko,"f").innerText=Ji(t.currentTime)):n||!No(this,Oo,"f").getElement().getAttribute("op-dvr__enabled")&&"false"===No(this,Co,"f").getAttribute("aria-hidden")?(n||(No(this,Co,"f").setAttribute("aria-hidden","true"),No(this,Po,"f").setAttribute("aria-hidden","true")),No(this,ko,"f").innerText=o?(null==e?void 0:e.live)||"":Ji(t.currentTime)):No(this,ko,"f").innerText=o?(null==e?void 0:e.live)||"":Ji(t.currentTime);else{const r=Ji(t.duration);n||Number.isNaN(t.duration)||r===No(this,Co,"f").innerText?(n||r!==No(this,Co,"f").innerText)&&(No(this,ko,"f").innerText=o?(null==e?void 0:e.live)||"":Ji(t.currentTime)):(No(this,Co,"f").innerText=r,No(this,Co,"f").setAttribute("aria-hidden","false"),No(this,Po,"f").setAttribute("aria-hidden","false")),No(this,ko,"f").innerText=Ji(t.currentTime)}},No(this,_o,"f").media.ended=()=>{var e;const t=No(this,Oo,"f").activeElement(),r=Number.isNaN(t.duration)?(null===(e=No(this,Oo,"f").getOptions().progress)||void 0===e?void 0:e.duration)||0:t.duration;!n&&No(this,Oo,"f").isMedia()&&(No(this,Co,"f").innerText=Ji(r))},Object.keys(No(this,_o,"f").media).forEach(e=>{No(this,Oo,"f").getElement().addEventListener(e,No(this,_o,"f").media[e],Kr)}),No(this,Oo,"f").getControls().getContainer().addEventListener("controlschanged",No(this,_o,"f").controls.controlschanged,Kr)}destroy(){Object.keys(No(this,_o,"f").media).forEach(e=>{No(this,Oo,"f").getElement().removeEventListener(e,No(this,_o,"f").media[e])}),No(this,Oo,"f").getControls().getContainer().removeEventListener("controlschanged",No(this,_o,"f").controls.controlschanged),No(this,ko,"f").remove();const{showCurrentTimeOnly:e}=No(this,Oo,"f").getOptions().progress||{};e||(No(this,Po,"f").remove(),No(this,Co,"f").remove()),No(this,Eo,"f").remove()}};var Lo,Ro,Fo,Vo,$o,Bo,Uo,Ho,Wo,zo=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},Zo=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Lo=new WeakMap,Ro=new WeakMap,Fo=new WeakMap,Vo=new WeakMap,$o=new WeakMap,Bo=new WeakMap,Uo=new WeakMap,Ho=new WeakMap,Wo=new WeakMap;const qo=class{constructor(e,t,n){Lo.set(this,void 0),Ro.set(this,void 0),Fo.set(this,void 0),Vo.set(this,void 0),$o.set(this,void 0),Bo.set(this,{button:{},media:{},slider:{}}),Uo.set(this,void 0),Ho.set(this,void 0),Wo.set(this,void 0),zo(this,Lo,e,"f"),zo(this,Uo,Zo(this,Lo,"f").getMedia().volume,"f"),zo(this,Ho,t,"f"),zo(this,Wo,n,"f"),this._enterSpaceKeyEvent=this._enterSpaceKeyEvent.bind(this)}create(){const{labels:e}=Zo(this,Lo,"f").getOptions();zo(this,Fo,document.createElement("div"),"f"),Zo(this,Fo,"f").className=`op-controls__volume op-control__${Zo(this,Ho,"f")}`,Zo(this,Fo,"f").tabIndex=0,Zo(this,Fo,"f").setAttribute("aria-valuemin","0"),Zo(this,Fo,"f").setAttribute("aria-valuemax","100"),Zo(this,Fo,"f").setAttribute("aria-valuenow",`${Zo(this,Uo,"f")}`),Zo(this,Fo,"f").setAttribute("aria-valuetext",`${(null==e?void 0:e.volume)||""}: ${Zo(this,Uo,"f")}`),Zo(this,Fo,"f").setAttribute("aria-orientation","vertical"),Zo(this,Fo,"f").setAttribute("aria-label",(null==e?void 0:e.volumeSlider)||""),Zo(this,Fo,"f").setAttribute("role","slider"),zo(this,$o,document.createElement("input"),"f"),Zo(this,$o,"f").type="range",Zo(this,$o,"f").className="op-controls__volume--input",Zo(this,$o,"f").tabIndex=-1,Zo(this,$o,"f").value=Zo(this,Lo,"f").getMedia().volume.toString(),Zo(this,$o,"f").setAttribute("min","0"),Zo(this,$o,"f").setAttribute("max","1"),Zo(this,$o,"f").setAttribute("step","0.1"),Zo(this,$o,"f").setAttribute("aria-label",(null==e?void 0:e.volumeControl)||""),zo(this,Vo,document.createElement("progress"),"f"),Zo(this,Vo,"f").className="op-controls__volume--display",Zo(this,Vo,"f").setAttribute("max","10"),Zo(this,Vo,"f").value=10*Zo(this,Lo,"f").getMedia().volume,Zo(this,Fo,"f").appendChild(Zo(this,$o,"f")),Zo(this,Fo,"f").appendChild(Zo(this,Vo,"f")),zo(this,Ro,document.createElement("button"),"f"),Zo(this,Ro,"f").type="button",Zo(this,Ro,"f").className=`op-controls__mute op-control__${Zo(this,Ho,"f")}`,Zo(this,Ro,"f").tabIndex=0,Zo(this,Ro,"f").title=(null==e?void 0:e.mute)||"",Zo(this,Ro,"f").setAttribute("aria-controls",Zo(this,Lo,"f").id),Zo(this,Ro,"f").setAttribute("aria-pressed","fal
2se"),Zo(this,Ro,"f").setAttribute("aria-label",(null==e?void 0:e.mute)||"");const t=t=>{const n=1*t.volume,r=Math.floor(100*n);Zo(this,$o,"f").value=`${t.volume}`,Zo(this,Vo,"f").value=10*n,Zo(this,Fo,"f").setAttribute("aria-valuenow",`${r}`),Zo(this,Fo,"f").setAttribute("aria-valuetext",`${null==e?void 0:e.volume}: ${r}`)},n=e=>{const t=e.volume;t<=.5&&t>0?(Zo(this,Ro,"f").classList.remove("op-controls__mute--muted"),Zo(this,Ro,"f").classList.add("op-controls__mute--half")):0===t?(Zo(this,Ro,"f").classList.add("op-controls__mute--muted"),Zo(this,Ro,"f").classList.remove("op-controls__mute--half")):(Zo(this,Ro,"f").classList.remove("op-controls__mute--muted"),Zo(this,Ro,"f").classList.remove("op-controls__mute--half"))},r=e=>{const t=Zo(this,Lo,"f").activeElement(),n=parseFloat(e.target.value);t.volume=n,t.muted=0===t.volume,zo(this,Uo,n,"f");const r=Zo(this,Lo,"f").getContainer().querySelector(".op-player__unmute");!t.muted&&r&&r.remove();const i=ri("volumechange");Zo(this,Lo,"f").getElement().dispatchEvent(i)};if(Zo(this,Bo,"f").media.volumechange=()=>{const e=Zo(this,Lo,"f").activeElement();t(e),n(e)},Zo(this,Bo,"f").media.loadedmetadata=()=>{const e=Zo(this,Lo,"f").activeElement();e.muted&&(e.volume=0);const t=ri("volumechange");Zo(this,Lo,"f").getElement().dispatchEvent(t)},Zo(this,Bo,"f").slider.input=r.bind(this),Zo(this,Bo,"f").slider.change=r.bind(this),Zo(this,Bo,"f").button.click=()=>{Zo(this,Ro,"f").setAttribute("aria-pressed","true");const t=Zo(this,Lo,"f").activeElement();t.muted=!t.muted,t.muted?(t.volume=0,Zo(this,Ro,"f").title=(null==e?void 0:e.unmute)||"",Zo(this,Ro,"f").setAttribute("aria-label",(null==e?void 0:e.unmute)||"")):(t.volume=Zo(this,Uo,"f"),Zo(this,Ro,"f").title=(null==e?void 0:e.mute)||"",Zo(this,Ro,"f").setAttribute("aria-label",(null==e?void 0:e.mute)||""));const n=ri("volumechange");Zo(this,Lo,"f").getElement().dispatchEvent(n)},Zo(this,Ro,"f").addEventListener("click",Zo(this,Bo,"f").button.click,Kr),Object.keys(Zo(this,Bo,"f").media).forEach(e=>{Zo(this,Lo,"f").getElement().addEventListener(e,Zo(this,Bo,"f").media[e],Kr)}),Object.keys(Zo(this,Bo,"f").slider).forEach(e=>{Zo(this,$o,"f").addEventListener(e,Zo(this,Bo,"f").slider[e],Kr)}),Zo(this,Lo,"f").getContainer().addEventListener("keydown",this._enterSpaceKeyEvent,Kr),!qr&&!Zr||!Zo(this,Lo,"f").getOptions().useDeviceVolume){const e=Zo(this,Lo,"f").getControls().getLayer(Zo(this,Wo,"f"));e.appendChild(Zo(this,Ro,"f")),e.appendChild(Zo(this,Fo,"f"))}}destroy(){Zo(this,Ro,"f").removeEventListener("click",Zo(this,Bo,"f").button.click),Object.keys(Zo(this,Bo,"f").media).forEach(e=>{Zo(this,Lo,"f").getElement().removeEventListener(e,Zo(this,Bo,"f").media[e])}),Object.keys(Zo(this,Bo,"f").slider).forEach(e=>{Zo(this,$o,"f").removeEventListener(e,Zo(this,Bo,"f").slider[e])}),Zo(this,Lo,"f").getContainer().removeEventListener("keydown",this._enterSpaceKeyEvent),Zo(this,$o,"f").remove(),Zo(this,Vo,"f").remove(),Zo(this,Fo,"f").remove()}_enterSpaceKeyEvent(e){var t;const n=e.which||e.keyCode||0,r=Zo(this,Lo,"f").activeElement();!(null===(t=null===document||void 0===document?void 0:document.activeElement)||void 0===t?void 0:t.classList.contains("op-controls__mute"))||13!==n&&32!==n||(r.muted=!r.muted,r.volume=r.muted?0:Zo(this,Uo,"f"),Zo(this,Bo,"f").button.click(),e.preventDefault(),e.stopPropagation())}};var Go,Yo,Xo,Ko,Qo,Jo,es=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},ts=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Go=new WeakMap,Yo=new WeakMap,Xo=new WeakMap,Ko=new WeakMap,Qo=new WeakMap,Jo=new WeakMap;const ns=class{constructor(e){this.events={media:{},mouse:{}},Go.set(this,void 0),Yo.set(this,0),Xo.set(this,void 0),Ko.set(this,void 0),Qo.set(this,void 0),Jo.set(this,{Captions:gi,Fullscreen:Ei,Levels:Wi,Play:Qi,Progress:ho,Settings:So,Time:Do,Volume:qo}),es(this,Ko,e,"f"),this._setElements()}create(){ts(this,Ko,"f").getElement().controls=!1;const e=Qr(ts(this,Ko,"f").getElement());this._createControlsLayer(),this._buildElements(),this.events.controlschanged=()=>{this.destroy(),this._setElements(),this.create()},this.events.ended=()=>{ts(this,Ko,"f").getContainer().classList.remove("op-controls--hidden")},ts(this,Ko,"f").getElement().addEventListener("controlschanged",this.events.controlschanged,Kr),ts(this,Ko,"f").getElement().addEventListener("ended",this.events.ended,Kr);const{alwaysVisible:t}=ts(this,Ko,"f").getOptions().controls||{};if(!t){const t=()=>{e&&(ts(this,Ko,"f").getContainer().classList.remove("op-controls--hidden"),this._stopControlTimer())};this.events.mouse.mouseenter=()=>{e&&!ts(this,Ko,"f").activeElement().paused&&(this._stopControlTimer(),ts(this,Ko,"f").activeElement().currentTime?(ts(this,Ko,"f").playBtn.setAttribute("aria-hidden",ts(this,Ko,"f").isMedia()?"false":"true"),ts(this,Ko,"f").loader.setAttribute("aria-hidden","true")):ts(this,Ko,"f").getOptions().showLoaderOnInit&&(ts(this,Ko,"f").playBtn.setAttribute("aria-hidden","true"),ts(this,Ko,"f").loader.setAttribute("aria-hidden","false")),ts(this,Ko,"f").getContainer().classList.remove("op-controls--hidden"),this._startControlTimer(2500))},this.events.mouse.mousemove=()=>{e&&!ts(this,Ko,"f").activeElement().paused&&(ts(this,Ko,"f").activeElement().currentTime?(ts(this,Ko,"f").loader.setAttribute("aria-hidden","true"),ts(this,Ko,"f").playBtn.setAttribute("aria-hidden",ts(this,Ko,"f").isMedia()?"false":"true")):(ts(this,Ko,"f").playBtn.setAttribute("aria-hidden",ts(this,Ko,"f").getOptions().showLoaderOnInit?"true":"false"),ts(this,Ko,"f").loader.setAttribute("aria-hidden",ts(this,Ko,"f").getOptions().showLoaderOnInit?"false":"true")),ts(this,Ko,"f").getContainer().classList.remove("op-controls--hidden"),this._startControlTimer(2500))},this.events.mouse.mouseleave=()=>{e&&!ts(this,Ko,"f").activeElement().paused&&this._startControlTimer(1e3)},this.events.media.play=()=>{e&&this._startControlTimer(ts(this,Ko,"f").getOptions().hidePlayBtnTimer||350)},this.events.media.loadedmetadata=t.bind(this),this.events.media.pause=t.bind(this),this.events.media.waiting=t.bind(this),this.events.media.stalled=t.bind(this),this.events.media.playererror=t.bind(this),Ob
2ject.keys(this.events.media).forEach(e=>{ts(this,Ko,"f").getElement().addEventListener(e,this.events.media[e],Kr)}),qr||Zr?ts(this,Ko,"f").getContainer().addEventListener("click",this.events.mouse.mouseenter,Kr):Object.keys(this.events.mouse).forEach(e=>{ts(this,Ko,"f").getContainer().addEventListener(e,this.events.mouse[e],Kr)}),e&&!ts(this,Ko,"f").activeElement().paused&&this._startControlTimer(3e3)}}destroy(){qr||Zr||(Object.keys(this.events.mouse).forEach(e=>{ts(this,Ko,"f").getContainer().removeEventListener(e,this.events.mouse[e])}),Object.keys(this.events.media).forEach(e=>{ts(this,Ko,"f").getElement().removeEventListener(e,this.events.media[e])}),this._stopControlTimer()),ts(this,Ko,"f").getElement().removeEventListener("controlschanged",this.events.controlschanged),ts(this,Ko,"f").getElement().removeEventListener("ended",this.events.ended),Object.keys(ts(this,Qo,"f")).forEach(e=>{ts(this,Qo,"f")[e].forEach(e=>{e.custom?this._destroyCustomElement(e):"function"==typeof e.destroy&&e.destroy()})}),ts(this,Xo,"f").remove()}getContainer(){return ts(this,Xo,"f")}getLayer(e){return ts(this,Xo,"f").querySelector(`.op-controls-layer__${e}`)||ts(this,Xo,"f")}_createControlsLayer(){if(!ts(this,Xo,"f")||!ts(this,Ko,"f").getContainer().querySelector(".op-controls")){es(this,Xo,document.createElement("div"),"f"),ts(this,Xo,"f").className="op-controls",ts(this,Ko,"f").getContainer().appendChild(ts(this,Xo,"f"));const e=document.createElement("div");e.className="op-status",e.innerHTML="<span></span>",e.tabIndex=-1,e.setAttribute("aria-hidden","true"),Jr(ts(this,Ko,"f").getElement())&&ts(this,Xo,"f").appendChild(e)}}_startControlTimer(e){const t=ts(this,Ko,"f").activeElement();this._stopControlTimer(),"undefined"!=typeof window&&es(this,Yo,window.setTimeout(()=>{if((!t.paused||!t.ended)&&Qr(ts(this,Ko,"f").getElement())){ts(this,Ko,"f").getContainer().classList.add("op-controls--hidden"),ts(this,Ko,"f").playBtn.setAttribute("aria-hidden","true"),this._stopControlTimer();const e=ri("controlshidden");ts(this,Ko,"f").getElement().dispatchEvent(e)}},e),"f")}_stopControlTimer(){0!==ts(this,Yo,"f")&&(clearTimeout(ts(this,Yo,"f")),es(this,Yo,0,"f"))}_setElements(){var e;const t=(null===(e=ts(this,Ko,"f").getOptions().controls)||void 0===e?void 0:e.layers)||{};es(this,Qo,{"bottom-left":[],"bottom-middle":[],"bottom-right":[],left:[],main:[],middle:[],right:[],"top-left":[],"top-middle":[],"top-right":[]},"f");const n=Qr(ts(this,Ko,"f").getElement()),r=Jr(ts(this,Ko,"f").getElement()),i=Object.keys(t),o=i.find(e=>/^(top|bottom)/.test(e));
2this._createControlsLayer(),i.forEach(e=>{const[i,s]=e.split("-");if(s){ts(this,Xo,"f").classList.contains("op-controls__stacked")||ts(this,Xo,"f").classList.add("op-controls__stacked");const e=`op-controls-layer__${i}`;if(!ts(this,Xo,"f").querySelector(`.${e}`)){const t=document.createElement("div");t.className=e,ts(this,Xo,"f").appendChild(t)}}else if(o){const e="op-controls-layer__center";if(!ts(this,Xo,"f").querySelector(`.${e}`)){const t=document.createElement("div");t.className=e,ts(this,Xo,"f").appendChild(t)}}const a=t?t[e]:null;a&&a.filter((e,t,n)=>n.indexOf(e)===t).forEach(t=>{const a=o&&!s?"center":i,l=`${t.charAt(0).toUpperCase()}${t.slice(1)}`,c=new(ts(this,Jo,"f")[l])(ts(this,Ko,"f"),s||i,a);"settings"===t&&es(this,Go,c,"f"),(n||"fullscreen"!==t&&r)&&ts(this,Qo,"f")[e].push(c)})}),ts(this,Ko,"f").getCustomControls().forEach(e=>{const[t,n]=e.position.split("-"),r=o&&!n?"center":t;e.layer=r,e.position=n||t,"number"==typeof e.index?ts(this,Qo,"f")[e.position].splice(e.index,0,e):"right"===e.position?ts(this,Qo,"f")[e.position].unshift(e):ts(this,Qo,"f")[e.position].push(e)})}_buildElements(){Object.keys(ts(this,Qo,"f")).forEach(e=>{ts(this,Qo,"f")[e].forEach(e=>{e.custom?this._createCustomElement(e):e.create()})}),Object.keys(ts(this,Qo,"f")).forEach(e=>{ts(this,Qo,"f")[e].forEach(e=>{const t=e;if((!ts(this,Ko,"f").getOptions().detachMenus||e instanceof So)&&!t.custom&&"function"==typeof t.addSettings){const e=t.addSettings();ts(this,Go,"f")&&Object.keys(e).length&&ts(this,Go,"f").addItem(e.name,e.key,e.default,e.subitems,e.className)}})});const e=ri("controlschanged");ts(this,Xo,"f").dispatchEvent(e)}_hideCustomMenu(e){let t;t&&"undefined"!=typeof window&&window.cancelAnimationFrame(t),"undefined"!=typeof window&&(t=window.requestAnimationFrame(()=>{e.setAttribute("aria-hidden","true")}))}_toggleCustomMenu(e,t,n){ts(this,Ko,"f").getContainer().querySelectorAll(".op-settings").forEach(e=>{"false"===e.getAttribute("aria-hidden")&&e.id!==t.id&&e.setAttribute("aria-hidden","true")}),t.setAttribute("aria-hidden","true"===t.getAttribute("aria-hidden")?"false":"true"),"function"==typeof n.click&&n.click(e)}_createCustomElement(e){const t=document.createElement(e.type);if(t.tabIndex=0,t.id=e.id,t.className=`op-controls__${e.id} op-control__${e.position} ${e.showInAds?"":"op-control__hide-in-ad"}`,e.styles&&Object.assign(t.style,e.styles),"button"===e.type&&e.icon?t.innerHTML=/\.(jpg|png|svg|gif)$/.test(e.icon)?`<img src="${ni(e.icon)}"${e.alt?`alt="${ni(e.alt)}"`:""}>`:ni(e.icon):e.content&&(t.innerHTML=ni(e.content,!1)),"button"===e.type&&e.title&&(t.title=ni(e.title)),"img"===e.type&&e.alt&&(t.alt=ni(e.alt)),"button"!==e.type&&e.click&&"function"==typeof e.click&&t.setAttribute("aria-role","button"),"button"===e.type&&e.subitems&&Array.isArray(e.subitems)&&e.subitems.length>0){const n=document.createElement("div");n.className="op-settings op-settings__custom",n.id=`${e.id}-menu`,n.setAttribute("aria-hidden","true");const r=e.subitems.map(t=>{let n="";return t.icon&&(n=/\.(jpg|png|svg|gif)$/.test(t.icon)?`<img src="${ni(t.icon)}"${t.alt?`alt="${ni(t.alt)}"`:""}>`:ni(t.icon,!1)),`<div class="op-settings__menu-item" tabindex="0" ${t.title?`title="${t.title}"`:""} role="menuitemradio">\n                    <div class="op-settings__menu-label" id="${t.id}" data-value="${e.id}-${t.id}">${n} ${t.label}</div>\n                </div>`});n.innerHTML=`<div class="op-settings__menu" role="menu">${r.join("")}</div>`,ts(this,Ko,"f").getContainer().appendChild(n),e.subitems.forEach(e=>{const t=n.querySelector(`#${e.id}`);t&&e.click&&"function"==typeof e.click&&t.addEventListener("click",e.click,Kr)}),t.addEventListener("click",t=>this._toggleCustomMenu(t,n,e),Kr),ts(this,Ko,"f").getElement().addEventListener("controlshidden",()=>this._hideCustomMenu(n),Kr)}else e.click&&"function"==typeof e.click&&t.addEventListener("click",e.click,Kr);e.mouseenter&&"function"==typeof e.mouseenter&&t.addEventListener("mouseenter",e.mouseenter,Kr),e.mouseleave&&"function"==typeof e.mouseleave&&t.addEventListener("mouseleave",e.mouseleave,Kr),e.keydown&&"function"==typeof e.keydown&&t.addEventListener("keydown",e.keydown,Kr),e.blur&&"function"==typeof e.blur&&t.addEventListener("blur",e.blur,Kr),e.focus&&"function"==typeof e.focus&&t.addEventListener("focus",e.focus,Kr),e.layer&&("main"===e.layer?ts(this,Ko,"f").getContainer().appendChild(t):this.getLayer(e.layer).appendChild(t)),e.init&&"function"==typeof e.init&&e.init(ts(this,Ko,"f"))}_destroyCustomElement(e){const t=this.getContainer().querySelector(`.op-controls__${e.id}`);
2if(t){if(e.subitems&&Array.isArray(e.subitems)&&e.subitems.length>0){const n=ts(this,Ko,"f").getContainer().querySelector(`#${e.id}-menu`);n&&(e.subitems.forEach(e=>{const t=n.querySelector(`#${e.id}`);t&&e.click&&"function"==typeof e.click&&t.removeEventListener("click",e.click)}),t.removeEventListener("click",t=>this._toggleCustomMenu(t,n,e)),ts(this,Ko,"f").getElement().removeEventListener("controlshidden",()=>this._hideCustomMenu(n)),n.remove())}e.click&&"function"==typeof e.click&&t.removeEventListener("click",e.click),e.mouseenter&&"function"==typeof e.mouseenter&&t.removeEventListener("mouseenter",e.mouseenter),e.mouseleave&&"function"==typeof e.mouseleave&&t.removeEventListener("mouseleave",e.mouseleave),e.keydown&&"function"==typeof e.keydown&&t.removeEventListener("keydown",e.keydown),e.blur&&"function"==typeof e.blur&&t.removeEventListener("blur",e.blur),e.focus&&"function"==typeof e.focus&&t.removeEventListener("focus",e.focus),t.remove(),e.destroy&&"function"==typeof e.destroy&&e.destroy(ts(this,Ko,"f"))}}};var rs,is=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},os=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};rs=new WeakMap;const ss=class{constructor(e,t){rs.set(this,void 0),this.element=e,this.media=t,this.promise=new Promise(e=>{e()})}set instance(e){is(this,rs,e,"f")}get instance(){return os(this,rs,"f")}play(){return this.element.play()}pause(){this.element.pause()}set volume(e){this.element.volume=e}get volume(){return this.element.volume}set muted(e){this.element.muted=e}get muted(){return this.element.muted}set playbackRate(e){this.element.playbackRate=e}get playbackRate(){return this.element.playbackRate}set defaultPlaybackRate(e){this.element.defaultPlaybackRate=e}get defaultPlaybackRate(){return this.element.defaultPlaybackRate}set currentTime(e){this.element.currentTime=e}get currentTime(){return this.element.currentTime}get duration(){return this.element.duration}get paused(){return this.element.paused}get ended(){return this.element.ended}};var as,ls,cs,us=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},ds=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};as=new WeakMap,ls=new WeakMap,cs=new WeakMap;const fs=class extends ss{constructor(e,t,n){super(e,t),as.set(this,void 0),ls.set(this,{}),cs.set(this,{}),us(this,cs,n,"f"),this._assign=this._assign.bind(this),this._preparePlayer=this._preparePlayer.bind(this),this.promise="undefined"==typeof dashjs?ei("https://cdn.dashjs.org/latest/dash.all.min.js"):new Promise(e=>{e({})}),this.promise.then(()=>{us(this,as,dashjs.MediaPlayer().create(),"f"),this.instance=ds(this,as,"f")})}canPlayType(e){return Xr&&"application/dash+xml"===e}load(){this._preparePlayer(),ds(this,as,"f").attachSource(this.media.src);const e=ri("loadedmetadata");this.element.dispatchEvent(e),ds(this,ls,"f")||(us(this,ls,dashjs.MediaPlayer.events,"f"),Object.keys(ds(this,ls,"f")).forEach(e=>{ds(this,as,"f").on(ds(this,ls,"f")[e],this._assign)}))}
2destroy(){ds(this,ls,"f")&&(Object.keys(ds(this,ls,"f")).forEach(e=>{ds(this,as,"f").off(ds(this,ls,"f")[e],this._assign)}),us(this,ls,[],"f")),ds(this,as,"f").reset()}set src(e){Ti(e)&&(this.destroy(),us(this,as,dashjs.MediaPlayer().create(),"f"),this._preparePlayer(),ds(this,as,"f").attachSource(e.src),us(this,ls,dashjs.MediaPlayer.events,"f"),Object.keys(ds(this,ls,"f")).forEach(e=>{ds(this,as,"f").on(ds(this,ls,"f")[e],this._assign)}))}get levels(){const e=[];if(ds(this,as,"f")){const t=ds(this,as,"f").getBitrateInfoListFor("video");t.length&&t.forEach(n=>{if(t[n]){const{height:r,name:i}=t[n],o={height:r,id:`${n}`,label:i||null};e.push(o)}})}return e}set level(e){"0"===e?ds(this,as,"f").setAutoSwitchQuality(!0):(ds(this,as,"f").setAutoSwitchQuality(!1),ds(this,as,"f").setQualityFor("video",e))}get level(){return ds(this,as,"f")?ds(this,as,"f").getQualityFor("video"):"-1"}_assign(e){if("error"===e.type){const t=ri("playererror",{detail:{message:e,type:"M(PEG)-DASH"}});this.element.dispatchEvent(t)}else{const t=ri(e.type,{detail:e});this.element.dispatchEvent(t)}}_preparePlayer(){ds(this,as,"f").updateSettings(Object.assign({debug:{logLevel:dashjs.Debug.LOG_LEVEL_NONE},streaming:{fastSwitchEnabled:!0,scheduleWhilePaused:!1}},ds(this,cs,"f")||{})),ds(this,as,"f").initialize(),ds(this,as,"f").attachView(this.element),ds(this,as,"f").setAutoPlay(!1)}};var hs,ms,ps,vs=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},gs=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},ys=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};hs=new WeakMap,ms=new WeakMap,ps=new WeakMap;const bs=class extends ss{constructor(e,t,n){super(e,t),hs.set(this,void 0),ms.set(this,{}),ps.set(this,{}),vs(this,ps,n,"f"),this.element=e,this.media=t,this._create=this._create.bind(this),this._assign=this._assign.bind(this),this.promise="undefined"==typeof flvjs?ei("https://cdn.jsdelivr.net/npm/flv.js@latest/dist/flv.min.js"):new Promise(e=>{e({})}),this.promise.then(this._create)}canPlayType(e){return Xr&&("video/x-flv"===e||"video/flv"===e)}load(){gs(this,hs,"f").unload(),gs(this,hs,"f").detachMediaElement(),gs(this,hs,"f").attachMediaElement(this.element),gs(this,hs,"f").load();const e=ri("loadedmetadata");this.element.dispatchEvent(e),gs(this,ms,"f")||(vs(this,ms,flvjs.Events,"f"),Object.keys(gs(this,ms,"f")).forEach(e=>{gs(this,hs,"f").on(gs(this,ms,"f")[e],(...t)=>this._assign(gs(this,ms,"f")[e],t))}))}destroy(){gs(this,hs,"f").destroy(),vs(this,hs,null,"f")}set src(e){Mi(e)&&(this.destroy(),this._create())}get levels(){const e=[];return gs(this,hs,"f")&&gs(this,hs,"f").levels&&gs(this,hs,"f").levels.length&&Object.keys(gs(this,hs,"f").levels).forEach(t=>{const{height:n,name:r}=gs(this,hs,"f").levels[t],i={height:n,id:t,label:r||null};e.push(i)}),e}set level(e){gs(this,hs,"f").currentLevel=e}get level(){return gs(this,hs,"f")?gs(this,hs,"f").currentLevel:"-1"}_create(){const e=gs(this,ps,"f")||{},{configs:t}=e,n=ys(e,["configs"]);flvjs.LoggingControl.enableDebug=(null==n?void 0:n.debug)||!1,flvjs.LoggingControl.enableVerbose=(null==n?void 0:n.debug)||!1;const r=Object.assign(Object.assign({},n),{type:"flv",url:this.media.src});vs(this,hs,flvjs.createPlayer(r,t||{}),"f"),this.instance=gs(this,hs,"f"),gs(this,ms,"f")||(vs(this,ms,flvjs.Events,"f"),Object.keys(gs(this,ms,"f")).forEac
2h(e=>{gs(this,hs,"f").on(gs(this,ms,"f")[e],(...t)=>this._assign(gs(this,ms,"f")[e],t))}))}_assign(e,t){if("error"===e){const e=ri("playererror",{detail:{data:t,message:`${t[0]}: ${t[1]} ${t[2].msg}`,type:"FLV"}});this.element.dispatchEvent(e)}else{const n=ri(e,{detail:{data:t}});this.element.dispatchEvent(n)}}};var ws,xs,js,As,Ss,Os,ks=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},Ps=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};ws=new WeakMap,xs=new WeakMap,js=new WeakMap,As=new WeakMap,Ss=new WeakMap,Os=new WeakMap;const Cs=class extends ss{constructor(e,t,n,r){super(e,t),ws.set(this,void 0),xs.set(this,{}),js.set(this,0),As.set(this,0),Ss.set(this,void 0),Os.set(this,void 0),ks(this,Ss,r||{},"f"),this.element=e,this.media=t,ks(this,Os,n,"f"),this._create=this._create.bind(this),this._play=this._play.bind(this),this._pause=this._pause.bind(this),this._assign=this._assign.bind(this),this.promise="undefined"==typeof Hls?ei("https://cdn.jsdelivr.net/npm/hls.js@latest/dist/hls.min.js"):new Promise(e=>{e({})}),this.promise.then(this._create)}canPlayType(e){return(()=>{if("undefined"==typeof window)return!1;const e=window.MediaSource||window.WebKitMediaSource,t=window.SourceBuffer||window.WebKitSourceBuffer,n=e&&"function"==typeof e.isTypeSupported&&e.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),r=!t||t.prototype&&"function"==typeof t.prototype.appendBuffer&&"function"==typeof t.prototype.remove;return!!n&&!!r&&!Yr})()&&"application/x-mpegURL"===e}load(){Ps(this,ws,"f")&&(Ps(this,ws,"f").detachMedia(),Ps(this,ws,"f").loadSource(this.media.src),Ps(this,ws,"f").attachMedia(this.element));const e=ri("loadedmetadata");this.element.dispatchEvent(e),Ps(this,xs,"f")||(ks(this,xs,Hls.Events,"f"),Object.keys(Ps(this,xs,"f")).forEach(e=>{Ps(this,ws,"f").on(Ps(this,xs,"f")[e],(...t)=>this._assign(Ps(this,xs,"f")[e],t))}))}destroy(){Ps(this,ws,"f")&&Ps(this,ws,"f").stopLoad(),Ps(this,xs,"f")&&Object.keys(Ps(this,xs,"f")).forEach(e=>{Ps(this,ws,"f").off(Ps(this,xs,"f")[e],(...t)=>this._assign(Ps(this,xs,"f")[e],t))}),this.element.removeEventListener("play",this._play),this.element.removeEventListener("pause",this._pause),Ps(this,ws,"f")&&(Ps(this,ws,"f").destroy(),ks(this,ws,null,"f"))}set src(e){_i(e)&&(this.destroy(),ks(this,ws,new Hls(Ps(this,Ss,"f")),"f"),Ps(this,ws,"f").loadSource(e.src),Ps(this,ws,"f").attachMedia(this.element),ks(this,xs,Hls.Events,"f"),Object.keys(Ps(this,xs,"f")).forEach(e=>{Ps(this,ws,"f").on(Ps(this,xs,"f")[e],(...t)=>this._assign(Ps(this,xs,"f")[e],t))}))}get levels(){const e=[];return Ps(this,ws,"f")&&Ps(this,ws,"f").levels&&Ps(this,ws,"f").levels.length&&Object.keys(Ps(this,ws,"f").levels).forEach(t=>{const{height:n,name:r}=Ps(this,ws,"f").levels[t],i={height:n,id:t,label:r||null};e.push(i)}),e}set level(e){const t=Number(e);t&&t>-1?Ps(this,ws,"f").loadLevel=t:Ps(this,ws,"f").currentLevel=t}get level(){return Ps(this,ws,"f")?Ps(this,ws,"f").currentLevel:"-1"}_create(){const e=!("auto"!==this.element.preload&&!Ps(this,Os,"f"));Ps(this,Ss,"f").autoStartLoad=e,ks(this,ws,new Hls(Ps(this,Ss,"f")),"f"),this.instance=Ps(this,ws,"f"),ks(this,xs,Hls.Events,"f"),Object.keys(Ps(this,xs,"f")).forEach(e=>{Ps(this,ws,"f").on(Ps(this,xs,"f")[e],(...t)=>this._assign(Ps(this,xs,"f")[e],t))}),e||(this.element.addEventListener("play",this._play,Kr),this.element.addEventListener("pause",this._pause,Kr))}_assign(e,t){if("hlsError"===e){const e=ri("playererror",{detail:{data:t,message:t[1].details,type:"HLS"}});this.element.dispatchEvent(e);const n=t[1].type,{fatal:r}=t[1],i=t[1];if(r)switch(n){case"mediaError":const e=(new Date).getTime();if(!Ps(this,js,"f")||e-Ps(this,js,"f")>3e3)ks(this,js,(new Date).getTime(),"f"),Ps(this,ws,"f").recoverMediaError();else if(!Ps(this,As,"f")||e-Ps(this,As,"f")>3e3)ks(this,As,(new Date).getTime(),"f"),console.warn("Attempting to swap Audio Codec and recover from media error"),Ps(this,ws,"f").swapAudioCodec(),Ps(this,ws,"f").recoverMediaError();else{const e="Cannot recover, last media error recovery failed";console.error(e);const t=ri(n,{detail:{data:i}});this.element.dispatchEvent(t)}break;case"networkError":const t="Network error";console.error(t);const r=ri(n,{detail:{data:i}});this.element.dispatchEvent(r);break;default:Ps(this,ws,"f").destroy();const o=ri(n,{detail:{data:i}});this.element.dispatchEvent(o)}else{const e=ri(n,{detail:{data:i}});this.element.dispatchEvent(e)}}else{const n=t[1];if("hlsLevelLoaded"===e&&!0===n.live){this.element.setAttribute("op-live__enabled","true");const e=ri("timeupdate");this.element.dispatchEvent(e)}else if("hlsLevelUpdated"===e&&!0===n.live&&n.totalduration>120){this.element.setAttribute("op-dvr__enabled","true");const e=ri("timeupdate");this.element.dispatchEvent(e)}else if("hlsFragParsingMetadata"===e){const e=ri("metadataready",{detail:{data:t[1]}});this.element.dispatchEvent(e)}const r=ri(e,{detail:{data:t[1]}});this.element.dispatchEvent(r)}}_play(){Ps(this,ws,"f")&&Ps(this,ws,"f").startLoad()}_pause(){Ps(this,ws,"f")&&Ps(this,ws,"f").stopLoad()}};var Es,_s,Ts,Ms,Is,Ns,Ds=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},Ls=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Es=new WeakMap,_s=new WeakMap,Ts=new WeakMap,Ms=new WeakMap,Is=new WeakMap,Ns=new WeakMap;const Rs=class extends ss{constructor(e,t){if(super(e,t),Es.set(this,void 0),_s.set(this,[]),Ts.set(this,!1),Ms.set(this,0),Is.set(this,!1),Ns.set(this,void 0),!Jr(e)&&!Qr(e))throw new TypeError("Native method only supports video/audio tags");this._clearTimeout=this._clearTimeout.bind(this),this._setTimeout=this._setTimeout.bind(this),this._dispatchError=this._dispatchError.bind(this),this._isDvrEnabled=this._isDvrEnabled.bind(this),this._readMediadataInfo=this._readMediadataInfo.bind(this),Ds(this,Ts,_i(t),"f"),this.element.addEventListener("playing",this._clearTimeout,Kr),this.element.addEventListener("stalled",this._setTimeout,Kr),this.element.addEventListener("error",this._dispatchError,Kr),this.element.addEventListener("loadeddata",this._isDvrEnabled,Kr),this.element.textTracks.addEventListener("addtrack",this._readMediadataInfo,Kr)}canPlayType(e){return!!this.element.canPlayType(e).replace("no","")}load(){this.element.load()}destroy(){this.element.removeEventListener("playing",this._clearTimeout),this.element.removeEventListener("stalled",this._setTimeout),this.element.removeEventListener("error",this._dispatchError),this.element.removeEventListener("loadeddata",this._isDvrEnabled),this.element.textTracks.removeEventListener("addtrack",this._readMediadataInfo)}get levels(){if(!Ls(this,_s,"f").length){const e=this.element.querySelectorAll("source[title]");for(let t=0,n=e.length;t<n;++t){const n={height:0,id:`${t}`,label:e[t].getAttribute("title")||""};Ls(this,_s,"f").push(n)}}return Ls(this,_s,"f")}set level(e){const t=Ls(this,_s,"f").findIndex(t=>t.id===e);if(t>-1){Ds(this,Es,this.levels[t],"f");const e=this.element.querySelectorAll("source[title]");for(let t=0,n=e.length;t<n;++t){const n=e[t].getAttribute("src");n&&parseInt(Ls(this,Es,"f").id,10)===t&&(this.element.src=n)}}}get level(){var e;return(null===(e=Ls(this,Es,"f"))||void 0===e?void 0:e.id)||"-1"}set src(e){this.element.src=e.src}_isDvrEnabled(){const e=this.element.seekable.end(this.element.seekable.length-1)-this.element.seekable.start(0);if(Ls(this,Ts,"f")&&e>120&&!this.element.getAttribute("op-dvr__enabled")){this.element.setAttribute("op-dvr__enabled","true");const e=ri("timeupdate");this.element.dispatchEvent(e)}}_readMediadataInfo(e){var t;const n=e;"metadata"===(null===(t=null==n?void 0:n.track)||void 0===t?void 0:t.kind)&&(n.track.mode="hidden",n.track.addEventListener("cuechange",e=>{const t=e.target,n=t.activeCues?t.activeCues[0]:null;if(n){const e=ri("metadataready",{detail:n});this.element.dispatchEvent(e)}},Kr))}_setTimeout(){Ls(this,Is,"f")||void 0===window||(Ds(this,Is,!0,"f"),Ds(this,Ns,window.setInterval(()=>{var e;if(Ls(this,Ms,"f")>=30){clearInterval(Ls(this,Ns,"f"));const e="Media download failed part-way due to a network error",t=ri("playererror",{detail:{data:{message:e,error:2},message:e,type:"HTML5"}});this.element.dispatchEvent(t),Ds(this,Ms,0,"f"),Ds(this,Is,!1,"f")}else Ds(this,Ms,(e=Ls(this,Ms,"f"),++e),"f")},1e3),"f"))}_clearTimeout(){Ls(this,Ns,"f")&&(clearInterval(Ls(this,Ns,"f")),Ds(this,Ms,0,"f"),Ds(this,Is,!1,"f"))}_dispatchError(e){let t;const n=e.target,r=null==n?void 0:n.error;switch(null==r?void 0:r.code){case null==r?void 0:r.MEDIA_ERR_ABORTED:t="Media playback aborted";break;case null==r?void 0:r.MEDIA_ERR_NETWORK:t="Media download failed part-way due to a network error";break;case null==r?void 0:r.MEDIA_ERR_DECODE:t="Media playback aborted due to a corruption problem or because the\n                    media used features your browser did not support.";break;case null==r?void 0:r.MEDIA_ERR_SRC_NOT_SUPPORTED:t="Media could not be loaded, either because the server or network failed\n                    or because the format is not supported.";break;default:t="Unknown error occurred."}const i=ri("playererror",{detail:{data:Object.assign(Object.assign({},e),{message:t,error:null==r?void 0:r.code}),message:t,type:"HTML5"}});this.element.dispatchEvent(i)}};var Fs,Vs,$s,Bs,Us,Hs,Ws,zs,Zs,qs=function(e,t,n,r){return new(n||(n=Prom
2ise))(function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},Gs=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},Ys=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Fs=new WeakMap,Vs=new WeakMap,$s=new WeakMap,Bs=new WeakMap,Us=new WeakMap,Hs=new WeakMap,Ws=new WeakMap,zs=new WeakMap,Zs=new WeakMap;const Xs=class{constructor(e,t,n,r){Fs.set(this,void 0),Vs.set(this,void 0),$s.set(this,void 0),Bs.set(this,void 0),Us.set(this,void 0),Hs.set(this,void 0),Ws.set(this,!1),zs.set(this,{media:{},optionsKey:{},rules:[]}),Zs.set(this,void 0),Gs(this,Fs,e,"f"),Gs(this,Us,t,"f"),Gs(this,$s,this._getMediaFiles(),"f"),Gs(this,zs,r,"f"),Gs(this,Hs,n,"f")}canPlayType(e){return Ys(this,Vs,"f").canPlayType(e)}load(){return qs(this,void 0,void 0,function*(){if(!Ys(this,Ws,"f")){if(Gs(this,Ws,!0,"f"),!Ys(this,$s,"f").length)throw new TypeError("Media not set");if(Ys(this,Vs,"f")&&"function"==typeof Ys(this,Vs,"f").destroy){1===Ys(this,$s,"f").length&&Ys(this,$s,"f")[0].src===Ys(this,Vs,"f").media.src||Ys(this,Vs,"f").destroy()}Ys(this,$s,"f").some(e=>{try{Gs(this,Vs,this._invoke(e),"f")}catch(t){Gs(this,Vs,new Rs(Ys(this,Fs,"f"),e),"f")}return Ys(this,Vs,"f").canPlayType(e.type)});try{if(null===Ys(this,Vs,"f"))throw new TypeError("Media cannot be played with any valid media type");yield Ys(this,Vs,"f").promise,Ys(this,Vs,"f").load()}catch(e){throw Ys(this,Vs,"f")&&Ys(this,Vs,"f").destroy(),e}}})}play(){return qs(this,void 0,void 0,function*(){return Ys(this,Ws,"f")?yield Ys(this,Vs,"f").promise:(yield this.load(),Gs(this,Ws,!1,"f")),Gs(this,Bs,Ys(this,Vs,"f").play(),"f"),Ys(this,Bs,"f")})}pause(){return qs(this,void 0,void 0,function*(){void 0!==Ys(this,Bs,"f")&&(yield Ys(this,Bs,"f")),Ys(this,Vs,"f").pause()})}destroy(){Ys(this,Vs,"f")&&Ys(this,Vs,"f").destroy()}set src(e){if("string"==typeof e?Ys(this,$s,"f").push({src:e,type:Ii(e,Ys(this,Fs,"f"))}):Array.isArray(e)?Gs(this,$s,e,"f"):"object"==typeof e&&Ys(this,$s,"f").push(e),Gs(this,$s,Ys(this,$s,"f").filter(e=>e.src),"f"),Ys(this,$s,"f").length>0){const[e]=Ys(this,$s,"f");Ys(this,Fs,"f").src&&Ys(this,Fs,"f").setAttribute("data-op-file",Ys(this,$s,"f")[0].src),Ys(this,Fs,"f").src=e.src,Gs(this,Zs,e,"f"),Ys(this,Vs,"f")&&(Ys(this,Vs,"f").src=e)}else Ys(this,Fs,"f").src=""}get src(){return Ys(this,$s,"f")}get current(){return Ys(this,Zs,"f")}set mediaFiles(e){Gs(this,$s,e,"f")}get mediaFiles(){return Ys(this,$s,"f")}set volume(e){Ys(this,Vs,"f")&&(Ys(this,Vs,"f").volume=e)}get volume(){return Ys(this,Vs,"f")?Ys(this,Vs,"f").volume:Ys(this,Fs,"f").volume}set muted(e){Ys(this,Vs,"f")&&(Ys(this,Vs,"f").muted=e)}get muted(){return Ys(this,Vs,"f")?Ys(this,Vs,"f").muted:Ys(this,Fs,"f").muted}set playbackRate(e){Ys(this,Vs,"f")&&(Ys(this,Vs,"f").playbackRate=e)}get playbackRate(){return Ys(this,Vs,"f")?Ys(this,Vs,"f").playbackRate:Ys(this,Fs,"f").playbackRate}set defaultPlaybackRate(e){Ys(this,Vs,"f")&&(Ys(this,Vs,"f").defaultPlaybackRate=e)}get defaultPlaybackRate(){return Ys(this,Vs,"f")?Ys(this,Vs,"f").defaultPlaybackRate:Ys(this,Fs,"f").defaultPlaybackRate}set currentTime(e){Ys(this,Vs,"f")&&(Ys(this,Vs,"f").currentTime=e)}get currentTime(){return Ys(this,Vs,"f")?Ys(this,Vs,"f").currentTime:Ys(this,Fs,"f").currentTime}get duration(){const e=Ys(this,Vs,"f")?Ys(this,Vs,"f").duration:Ys(this,Fs,"f").duration;return e===1/0&&Ys(this,Fs,"f").seekable&&Ys(this,Fs,"f").seekable.length?Ys(this,Fs,"f").seekable.end(0):e}get paused(){return Ys(this,Vs,"f")?Ys(this,Vs,"f").paused:Ys(this,Fs,"f").paused}get ended(){return Ys(this,Vs,"f")?Ys(this,Vs,"f").ended:Ys(this,Fs,"f").ended}set loaded(e){Gs(this,Ws,e,"f")}get loaded(){return Ys(this,Ws,"f")}set level(e){Ys(this,Vs,"f")&&(Ys(this,Vs,"f").level=e)}get level(){return Ys(this,Vs,"f")?Ys(this,Vs,"f").level:-1}get levels(){return Ys(this,Vs,"f")?Ys(this,Vs,"f").levels:[]}get instance(){return Ys(this,Vs,"f")?Ys(this,Vs,"f").instance:null}_getMediaFiles(){const e=[],t=Ys(this,Fs,"f").querySelectorAll("source"),n=Ys(this,Fs,"f").src;n&&e.push({src:n,type:Ys(this,Fs,"f").getAttribute("type")||Ii(n,Ys(this,Fs,"f"))});for(let n=0,r=t.length;n<r;n++){const r=t[n],{src:i}=r;if(e.push({src:i,type:r.getAttribute("type")||Ii(i,Ys(this,Fs,"f"))}),0===n){const[t]=e;Gs(this,Zs,t,"f")}}return e.length||e.push({src:"",type:Ii("",Ys(this,Fs,"f"))}),e}_invoke(e){var t,n,r;const i=Ys(this,Fs,"f").canPlayType("application/vnd.apple.mpegurl")||Ys(this,Fs,"f").canPlayType("application/x-mpegURL");Gs(this,Zs,e,"f");const{layers:o}=Ys(this,Us,"f").controls||{};let s=!1;
2if(o&&Object.keys(o).forEach(e=>{const t=o?o[e]:null;t&&t.indexOf("levels")>-1&&(s=!0)}),Object.keys(Ys(this,zs,"f").media).length){let t;return Ys(this,zs,"f").rules.forEach(n=>{const r=n(e.src);if(r){const n=Ys(this,zs,"f").media[r],i=Ys(this,Us,"f")[Ys(this,zs,"f").optionsKey[r]]||void 0;t=n(Ys(this,Fs,"f"),e,Ys(this,Hs,"f"),i)}}),t?(t.create(),t):new Rs(Ys(this,Fs,"f"),e)}if(_i(e)){if(i&&Ys(this,Us,"f").forceNative&&!s)return new Rs(Ys(this,Fs,"f"),e);const n=(null===(t=Ys(this,Us,"f"))||void 0===t?void 0:t.hls)||void 0;return new Cs(Ys(this,Fs,"f"),e,Ys(this,Hs,"f"),n)}if(Ti(e)){const t=(null===(n=Ys(this,Us,"f"))||void 0===n?void 0:n.dash)||void 0;return new fs(Ys(this,Fs,"f"),e,t)}if(Mi(e)){const t=(null===(r=Ys(this,Us,"f"))||void 0===r?void 0:r.flv)||{debug:!1,type:"flv",url:e.src};return new bs(Ys(this,Fs,"f"),e,t)}return new Rs(Ys(this,Fs,"f"),e)}};var Ks,Qs,Js,ea,ta,na,ra,ia,oa,sa,aa,la,ca,ua,da,fa,ha,ma,pa,va,ga,ya,ba,wa,xa,ja,Aa,Sa,Oa,ka,Pa,Ca,Ea,_a=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},Ta=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},Ma=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Ks=new WeakMap,Qs=new WeakMap,Js=new WeakMap,ea=new WeakMap,ta=new WeakMap,na=new WeakMap,ra=new WeakMap,ia=new WeakMap,oa=new WeakMap,sa=new WeakMap,aa=new WeakMap,la=new WeakMap,ca=new WeakMap,ua=new WeakMap,da=new WeakMap,fa=new WeakMap,ha=new WeakMap,ma=new WeakMap,pa=new WeakMap,va=new WeakMap,ga=new WeakMap,ya=new WeakMap,ba=new WeakMap,wa=new WeakMap,xa=new WeakMap,ja=new WeakMap,Aa=new WeakMap,Sa=new WeakMap,Oa=new WeakMap,ka=new WeakMap,Pa=new WeakMap,Ca=new WeakMap,Ea=new WeakMap;const Ia=class{constructor(e,t,n,r,i){var o,s,a,l;this.loadedAd=!1,Ks.set(this,!1),Qs.set(this,!1),Js.set(this,!1),ea.set(this,!1),ta.set(this,0),na.set(this,void 0),ra.set(this,!1),ia.set(this,0),oa.set(this,0),sa.set(this,null),aa.set(this,void 0),la.set(this,void 0),ca.set(this,void 0),ua.set(this,[]),da.set(this,void 0),fa.set(this,void 0),ha.set(this,void 0),ma.set(this,void 0),pa.set(this,void 0),va.set(this,void 0),ga.set(this,void 0),ya.set(this,void 0),ba.set(this,!1),wa.set(this,!1),xa.set(this,!1),ja.set(this,void 0),Aa.set(this,0),Sa.set(this,void 0),Oa.set(this,void 0),ka.set(this,0),Pa.set(this,[]),Ca.set(this,!1),Ea.set(this,null);const c={autoPlayAdBreaks:!0,customClick:{enabled:!1,label:"Click here for more info"},audioSkip:{enabled:!0,label:"Skip Ad",remainingLabel:"Skip in [[secs]] seconds"},debug:!1,enablePreloading:!1,language:"en",loop:!1,numRedirects:4,publisherId:void 0,sdkPath:"https://imasdk.googleapis.com/js/sdkloader/ima3.js",sessionId:void 0,src:[],vpaidMode:"enabled"};Ta(this,aa,e,"f"),Ta(this,da,t,"f"),Ta(this,la,e.getMedia(),"f"),Ta(this,ca,e.getElement(),"f"),Ta(this,ba,n||!1,"f"),Ta(this,ra,e.getElement().muted,"f"),Ta(this,wa,r||!1,"f"),Ta(this,ja,Object.assign(Object.assign({},c),i),"f"),(null==i?void 0:i.customClick)&&Object.keys(i.customClick).length&&(Ma(this,ja,"f").customClick=Object.assign(Object.assign({},c.customClick),i.customClick)),Ta(this,xa,!1,"f"),Ta(this,Sa,Ma(this,ca,"f").volume,"f"),Ta(this,na,Ma(this,Sa,"f"),"f");const u=(null===(o=Ma(this,ja,"f"))||void 0===o?void 0:o.debug)?null===(a=null===(s=Ma(this,ja,"f"))||void 0===s?void 0:s.sdkPath)||void 0===a?void 0:a.replace(/(\.js$)/,"_debug.js"):null===(l=Ma(this,ja,"f"))||void 0===l?void 0:l.sdkPath;this.load=this.load.bind(this),this.resizeAds=this.resizeAds.bind(this),this._handleClickInContainer=this._handleClickInContainer.bind(this),this._handleSkipAds=this._handleSkipAds.bind(this),this._loaded=this._loaded.bind(this),this._error=this._error.bind(this),this._assign=this._assign.bind(this),this._contentLoadedAction=this._contentLoadedAction.bind(this),this._loadedMetadataHandler=this._loadedMetadataHandler.bind(this),this._contentEndedListener=this._contentEndedListener.bind(this),this._handleResizeAds=this._handleResizeAds.bind(this),this._onContentPauseRequested=this._onContentPauseRequested.bind(this),this._onContentResumeRequested=this._onContentResumeRequested.bind(this),Ta(this,fa,!u||"undefined"!=typeof google&&void 0!==google.ima?new Promise(e=>{e()}):ei(u),"f"),Ma(this,fa,"f").then(()=>{this.load()}).catch(e=>{let t="Ad script could not be loaded; please check if you have an AdBlock ";t+="turned on, or if you provided a valid URL is correct",console.error(`Ad error: ${t}.`);const n=ri("playererror",{detail:{data:e,message:t,type:"Ads"}}
2);Ma(this,ca,"f").dispatchEvent(n)})}load(e=!1){var t,n,r;if("undefined"==typeof google||!google.ima||!e&&this.loadedAd&&Ma(this,ja,"f").autoPlayAdBreaks)return;if(!Ma(this,ja,"f").autoPlayAdBreaks&&!e)return;this.loadedAd=!0;const i=Ma(this,aa,"f").getContainer().querySelector(".op-ads");if(i&&i.parentNode&&i.parentNode.removeChild(i),Ta(this,ea,!0,"f"),Ta(this,ma,document.createElement("div"),"f"),Ma(this,ma,"f").className="op-ads",Ma(this,ma,"f").tabIndex=-1,Ma(this,ca,"f").parentElement&&Ma(this,ca,"f").parentElement.insertBefore(Ma(this,ma,"f"),Ma(this,ca,"f").nextSibling),Ma(this,ma,"f").addEventListener("click",this._handleClickInContainer),(null===(t=Ma(this,ja,"f").customClick)||void 0===t?void 0:t.enabled)&&(Ta(this,pa,document.createElement("div"),"f"),Ma(this,pa,"f").className="op-ads__click-container",Ma(this,pa,"f").innerHTML=`<div class="op-ads__click-label">${Ma(this,ja,"f").customClick.label}</div>`,Ma(this,ca,"f").parentElement&&Ma(this,ca,"f").parentElement.insertBefore(Ma(this,pa,"f"),Ma(this,ca,"f").nextSibling)),Jr(Ma(this,ca,"f"))&&(null===(n=Ma(this,ja,"f").audioSkip)||void 0===n?void 0:n.enabled)){if(null===(r=Ma(this,ja,"f").audioSkip)||void 0===r?void 0:r.element){const{element:e}=Ma(this,ja,"f").audioSkip||{};if("string"==typeof e){const t=document.getElementById(e);t&&Ta(this,va,t,"f")}else e instanceof HTMLElement&&Ta(this,va,e,"f")}else Ta(this,va,document.createElement("button"),"f"),Ma(this,va,"f").className="op-ads__skip hidden",Ma(this,aa,"f").getControls().getContainer().appendChild(Ma(this,va,"f"));Ma(this,va,"f")&&Ma(this,va,"f").addEventListener("click",this._handleSkipAds,Kr)}Ta(this,Pa,Ma(this,la,"f").src,"f");const o={disabled:google.ima.ImaSdkSettings.VpaidMode.DISABLED,enabled:google.ima.ImaSdkSettings.VpaidMode.ENABLED,insecure:google.ima.ImaSdkSettings.VpaidMode.INSECURE};google.ima.settings.setVpaidMode(o[Ma(this,ja,"f").vpaidMode||"enabled"]),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0),google.ima.settings.setAutoPlayAdBreaks(Ma(this,ja,"f").autoPlayAdBreaks),google.ima.settings.setNumRedirects(Ma(this,ja,"f").numRedirects),google.ima.settings.setLocale(Ma(this,ja,"f").language),Ma(this,ja,"f").sessionId&&google.ima.settings.setSessionId(Ma(this,ja,"f").sessionId),Ma(this,ja,"f").publisherId&&google.ima.settings.setPpid(Ma(this,ja,"f").publisherId),google.ima.settings.setPlayerType("openplayerjs"),google.ima.settings.setPlayerVersion("3.0.0"),Ta(this,ga,new google.ima.AdDisplayContainer(Ma(this,ma,"f"),Ma(this,ca,"f"),Ma(this,pa,"f")),"f"),Ta(this,ha,new google.ima.AdsLoader(Ma(this,ga,"f")),"f"),Ma(this,ha,"f").addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this._loaded,Kr),Ma(this,ha,"f").addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this._error,Kr),"undefined"!=typeof window&&window.addEventListener("resize",this._handleResizeAds,Kr),Ma(this,ca,"f").addEventListener("loadedmetadata",this._handleResizeAds,Kr),!0!==Ma(this,ba,"f")&&!0!==Ma(this,wa,"f")&&!0!==e&&!0!==Ma(this,ja,"f").enablePreloading&&!0!==Ma(this,xa,"f")||(Ma(this,Qs,"f")||(Ta(this,Qs,!0,"f"),Ma(this,ga,"f").initialize()),this._requestAds())}play(){return _a(this,void 0,void 0,function*(){if(!Ma(this,Qs,"f"))return Ta(this,xa,!0,"f"),void this._initNotDoneAds();if(Ma(this,sa,"f"))try{Ma(this,ta,"f")||!1!==Ma(this,Js,"f")?Ma(this,sa,"f").resume():Ma(this,sa,"f").start(),Ta(this,Js,!0,"f");const e=ri("play");Ma(this,ca,"f").dispatchEvent(e)}catch(e){this._resumeMedia()}})}pause(){if(Ma(this,sa,"f")){Ta(this,Js,!1,"f"),Ma(this,sa,"f").pause();const e=ri("pause");Ma(this,ca,"f").dispatchEvent(e)}}destroy(){var e,t;Ma(this,sa,"f")&&(Ma(this,sa,"f").removeEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this._error),Ma(this,ua,"f")&&Ma(this,ua,"f").forEach(e=>{Ma(this,sa,"f").removeEventListener(e,this._assign)})),Ta(this,ua,[],"f");const n=Ma(this,aa,"f").getControls(),r=n?n.events.mouse:{};Object.keys(r).forEach(e=>{Ma(this,ma,"f")&&Ma(this,ma,"f").removeEventListener(e,r[e])}),Ma(this,ha,"f")&&(Ma(this,ha,"f").removeEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this._error),Ma(this,ha,"f").removeEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this._loaded));const i=!Array.isArray(Ma(this,da,"f"))||Ma(this,Aa,"f")>
2Ma(this,da,"f").length;Ma(this,sa,"f")&&i&&Ma(this,sa,"f").destroy(),(null===(e=Ma(this,ja,"f").customClick)||void 0===e?void 0:e.enabled)&&Ma(this,pa,"f")&&Ma(this,pa,"f").remove(),(null===(t=Ma(this,ja,"f").audioSkip)||void 0===t?void 0:t.enabled)&&Ma(this,va,"f")&&(Ma(this,va,"f").removeEventListener("click",this._handleSkipAds),Ma(this,va,"f").remove()),(Zr||qr)&&Ma(this,ca,"f").removeEventListener("loadedmetadata",this._contentLoadedAction),Ma(this,ca,"f").removeEventListener("loadedmetadata",this._handleResizeAds),Ma(this,ca,"f").removeEventListener("loadedmetadata",this._loadedMetadataHandler),Ma(this,ca,"f").removeEventListener("ended",this._contentEndedListener),"undefined"!=typeof window&&window.removeEventListener("resize",this._handleResizeAds),Ma(this,ma,"f")&&(Ma(this,ma,"f").removeEventListener("click",this._handleClickInContainer),Ma(this,ma,"f").remove()),this.loadPromise=null,this.loadedAd=!1,Ta(this,Qs,!1,"f"),Ta(this,xa,!1,"f"),Ta(this,ia,0,"f"),Ta(this,oa,0,"f"),Ta(this,Ea,null,"f")}resizeAds(e,t){if(Ma(this,sa,"f")){const n=Ma(this,ca,"f"),r="true"===n.getAttribute("data-fullscreen")?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL;let i=e;const o=e?e.toString():"";e&&o.indexOf("%")>-1&&Ma(this,ca,"f").parentElement&&(i=Ma(this,ca,"f").parentElement.offsetWidth*(parseInt(o,10)/100));let s=t;const a=t?t.toString():"";let l;t&&a.indexOf("%")>-1&&Ma(this,ca,"f").parentElement&&(s=Ma(this,ca,"f").parentElement.offsetHeight*(parseInt(a,10)/100)),l&&"undefined"!=typeof window&&window.cancelAnimationFrame(l),"undefined"!=typeof window&&(l=window.requestAnimationFrame(()=>{Ma(this,sa,"f").resize(i||n.offsetWidth,s||n.offsetHeight,r)}))}}getAdsManager(){return Ma(this,sa,"f")}getAdsLoader(){return Ma(this,ha,"f")}started(){return Ma(this,ea,"f")}set src(e){Ta(this,da,e,"f")}set isDone(e){Ta(this,Qs,e,"f")}set playRequested(e){Ta(this,xa,e,"f")}set volume(e){Ma(this,sa,"f")&&(Ta(this,na,e,"f"),Ma(this,sa,"f").setVolume(e),this._setMediaVolume(e),Ta(this,ra,0===e,"f"))}get volume(){return Ma(this,sa,"f")?Ma(this,sa,"f").getVolume():Ma(this,Sa,"f")}set muted(e){Ma(this,sa,"f")&&(e?(Ma(this,sa,"f").setVolume(0),Ta(this,ra,!0,"f"),this._setMediaVolume(0)):(Ma(this,sa,"f").setVolume(Ma(this,na,"f")),Ta(this,ra,!1,"f"),this._setMediaVolume(Ma(this,na,"f"))))}get muted(){return Ma(this,ra,"f")}set currentTime(e){Ta(this,oa,e,"f")}get currentTime(){return Ma(this,oa,"f")}get duration(){return Ma(this,ia,"f")}get paused(){return!Ma(this,Js,"f")}get ended(){return Ma(this,Ks,"f")}_assign(e){var t,n;const r=e.getAd();switch(r&&Ta(this,Ea,r,"f"),e.type){case google.ima.AdEvent.Type.LOADED:if(r.isLinear()){if(zr&&Qr(Ma(this,ca,"f"))&&(Ma(this,ca,"f").controls=!1),Ta(this,ia,r.getDuration(),"f"),Ta(this,oa,r.getDuration(),"f"),!Ma(this,Ca,"f")&&!Zr&&!qr){const e=ri("waiting");Ma(this,ca,"f").dispatchEvent(e);const t=ri("loadedmetadata");Ma(this,ca,"f").dispatchEvent(t),this.resizeAds()}}else this._onContentResumeRequested();break;case google.ima.AdEvent.Type.STARTED:if(r.isLinear()){Ma(this,ca,"f").parentElement&&!Ma(this,ca,"f").parentElement.classList.contains("op-ads--active")&&Ma(this,ca,"f").parentElement.classList.add("op-ads--active"),Ma(this,la,"f").paused||Ma(this,la,"f").pause(),Ta(this,Js,!0,"f");const e=ri("play");let t;if(Ma(this,ca,"f").dispatchEvent(e),t||(this.resizeAds(),t=!0),Ma(this,la,"f").ended){Ta(this,Ks,!1,"f");const e=ri("adsmediaended");Ma(this,ca,"f").dispatchEvent(e)}"undefined"!=typeof window&&Ta(this,ta,window.setInterval(()=>{if(!0===Ma(this,Js,"f")){Ta(this,oa,Math.round(Ma(this,sa,"f").getRemainingTime()),"f");const e=ri("timeupdate");Ma(this,ca,"f").dispatchEvent(e)}},350),"f")}break;case google.ima.AdEvent.Type.COMPLETE:case google.ima.AdEvent.Type.SKIPPED:if(r.isLinear()){if(e.type===google.ima.AdEvent.Type.SKIPPED){const e=ri("adsskipped");Ma(this,ca,"f").dispatchEvent(e)}Ma(this,ca,"f").parentElement&&Ma(this,ca,"f").parentElement.classList.remove("op-ads--active"),Ta(this,Js,!1,"f"),clearInterval(Ma(this,ta,"f"))}break;case google.ima.AdEvent.Type.VOLUME_CHANGED:this._setMediaVolume(this.volume);break;case google.ima.AdEvent.Type.VOLUME_MUTED:if(r.isLinear()){const e=ri("volumechange");Ma(this,ca,"f").dispatchEvent(e)}break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:if(r.isLinear()&&(Ta(this,Js,!1,"f"),Ta(this,Ks,!0,"f"),Ta(this,ta,0,"f"),Ta(this,ra,!1,"f"),Ta(this,ea,!1,"f"),Ta(this,Ea,null,"f"),Ma(this,ca,"f").parentElement&&Ma(this,ca,"f").parentElement.classList.remove("op-ads--active"),this.destroy(),Ma(this,ca,"f").currentTime>=Ma(this,ca,"f").duration)){const e=ri("ended");Ma(this,ca,"f").dispatchEvent(e)}break;case google.ima.AdEvent.Type.CLICK:const i=ri("pause");Ma(this,ca,"f").dispatchEvent(i);break;case google.ima.AdEvent.Type.AD_BREAK_READY:Ma(this,ja,"f").autoPlayAdBreaks||this.play();break;case google.ima.AdEvent.Type.AD_PROGRESS:const o=e.getAdData(),s=Ma(this,Ea,"f")?Ma(this,Ea,"f").get
2SkipTimeOffset():-1;if(Ma(this,va,"f"))if(-1!==s){const e=Ma(this,sa,"f").getAdSkippableState(),r=Math.ceil(s-o.currentTime);Ma(this,va,"f").classList.remove("hidden"),e?(Ma(this,va,"f").textContent=(null===(t=Ma(this,ja,"f").audioSkip)||void 0===t?void 0:t.label)||"",Ma(this,va,"f").classList.remove("disabled")):(Ma(this,va,"f").textContent=(null===(n=Ma(this,ja,"f").audioSkip)||void 0===n?void 0:n.remainingLabel.replace("[[secs]]",r.toString()))||"",Ma(this,va,"f").classList.add("disabled"))}else Ma(this,va,"f").classList.add("hidden")}if(e.type===google.ima.AdEvent.Type.LOG){const t=e.getAdData();if(t.adError){const e=t.adError.getMessage();console.warn(`Ad warning: Non-fatal error occurred: ${e}`);const n=ri("playererror",{detail:{data:t.adError,message:e,type:"Ads"}});Ma(this,ca,"f").dispatchEvent(n)}}else{const t=ri(`ads${e.type}`);Ma(this,ca,"f").dispatchEvent(t)}}_error(e){var t;const n=e.getError(),r=ri("playererror",{detail:{data:n,message:n.toString(),type:"Ads"}});Ma(this,ca,"f").dispatchEvent(r);const i=[100,101,102,300,301,302,303,400,401,402,403,405,406,407,408,409,410,500,501,502,503,900,901,1005];Array.isArray(Ma(this,da,"f"))&&Ma(this,da,"f").length>1&&Ma(this,Aa,"f")<Ma(this,da,"f").length-1?(Ta(this,Aa,(t=Ma(this,Aa,"f"),++t),"f"),this.destroy(),Ta(this,ea,!0,"f"),Ta(this,xa,!0,"f"),this.load(!0),console.warn(`Ad warning: ${n.toString()}`)):(i.indexOf(n.getErrorCode())>-1?(Ma(this,sa,"f")&&Ma(this,sa,"f").destroy(),console.error(`Ad error: ${n.toString()}`)):console.warn(`Ad warning: ${n.toString()}`),Ta(this,Ea,null,"f"),!0!==Ma(this,ba,"f")&&!0!==Ma(this,wa,"f")&&!0!==Ma(this,ea,"f")||(Ta(this,Js,!1,"f"),this._resumeMedia()))}_loaded(e){const t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!1,t.enablePreloading=Ma(this,ja,"f").enablePreloading,Ta(this,sa,e.getAdsManager(Ma(this,ca,"f"),t),"f"),this._start(Ma(this,sa,"f")),this.loadPromise=new Promise(e=>{e()})}_start(e){Ma(this,pa,"f")&&e.isCustomClickTrackingUsed()&&Ma(this,pa,"f").classList.add("op-ads__click-container--visible"),e.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,this._onContentPauseRequested,Kr),e.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,this._onContentResumeRequested,Kr),Ta(this,ua,[google.ima.AdEvent.Type.ALL_ADS_COMPLETED,google.ima.AdEvent.Type.CLICK,google.ima.AdEvent.Type.VIDEO_CLICKED,google.ima.AdEvent.Type.VIDEO_ICON_CLICKED,google.ima.AdEvent.Type.AD_PROGRESS,google.ima.AdEvent.Type.AD_BUFFERING,google.ima.AdEvent.Type.IMPRESSION,google.ima.AdEvent.Type.DURATION_CHANGE,google.ima.AdEvent.Type.USER_CLOSE,google.ima.AdEvent.Type.LINEAR_CHANGED,google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,google.ima.AdEvent.Type.AD_METADATA,google.ima.AdEvent.Type.INTERACTION,google.ima.AdEvent.Type.COMPLETE,google.ima.AdEvent.Type.FIRST_QUARTILE,google.ima.AdEvent.Type.LOADED,google.ima.AdEvent.Type.MIDPOINT,google.ima.AdEvent.Type.PAUSED,google.ima.AdEvent.Type.RESUMED,google.ima.AdEvent.Type.USER_CLOSE,google.ima.AdEvent.Type.STARTED,google.ima.AdEvent.Type.THIRD_QUARTILE,google.ima.AdEvent.Type.SKIPPED,google.ima.AdEvent.Type.VOLUME_CHANGED,google.ima.AdEvent.Type.VOLUME_MUTED,google.ima.AdEvent.Type.LOG],"f"),Ma(this,ja,"f").autoPlayAdBreaks||Ma(this,ua,"f").push(google.ima.AdEvent.Type.AD_BREAK_READY);const t=Ma(this,aa,"f").getControls(),n=t?t.events.mouse:{};if(Object.keys(n).forEach(e=>{Ma(this,ma,"f")&&Ma(this,ma,"f").addEventListener(e,n[e],Kr)}),Ma(this,ua,"f").forEach(t=>{e.addEventListener(t,this._assign,Kr)}),!0===Ma(this,ba,"f")||!0===Ma(this,wa,"f")||!0===Ma(this,xa,"f")){if(Ta(this,xa,!1,"f"),!Ma(this,Qs,"f"))return void this._initNotDoneAds();e.init(Ma(this,ca,"f").offsetWidth,Ma(this,ca,"f").offsetHeight,Ma(this,ca,"f").parentElement&&"true"===Ma(this,ca,"f").parentElement.getAttribute("data-fullscreen")?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL),e.start();const t=ri("play");Ma(this,ca,"f").dispatchEvent(t)}else!0===Ma(this,ja,"f").enablePreloading&&e.init(Ma(this,ca,"f").offsetWidth,Ma(this,ca,"f").offsetHeight,Ma(this,ca,"f").parentElement&&"true"===Ma(this,ca,"f").parentElement.getAttribute("data-fullscreen")?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)}_initNotDoneAds(){Ma(this,ga,"f")?(Ta(this,Qs,!0,"f"),Ma(this,ga,"f").initialize(),Zr||qr?(Ta(this,Oa,this._contentLoadedAction,"f"),Ma(this,ca,"f").addEventListener("loadedmetadata",this._contentLoadedAction,Kr),Ma(this,ca,"f").load()):this._contentLoadedAction()):(this.load(),this.loadedAd=!1)}_contentEndedListener(){Ta(this,Ks,!0,"f"),Ta(this,Js,!1,"f"),Ta(this,ea,!1,"f"),Ma(this,ha,"f").contentComplete()}_onContentPauseRequested(){Ma(this,ca,"f").removeEventListener("ended",this._contentEndedListener),Ta(this,ka,Ma(this,la,"f").currentTime,"f"),Ma(this,ea,"f")?Ma(this,la,"f").pause():Ta(this,ea,!0,"f");const e=ri("play");Ma(this,ca,"f").dispatchEvent(e)}_onContentResumeRequested(){if(Ma(this,ca,"f").addEventListener("ended",this._contentEndedListener,Kr),Ma(this,ca,"f").addEventListener("loadedmetadata",this._loadedMetadataHandler,Kr),Zr||qr)Ma(this,la,"f").src=Ma(this,Pa,"f"),Ma(this,la,"f").load(),this._prepareMedia(),Ma(this,ca,"f").parentElement&&Ma(this,ca,"f").parentElement.classList.add("op-ads--active");else{const e=ri("loadedmetadata");Ma(this,ca,"f").dispatchEvent(e)}}_loadedMetadataHandler(){var e;Array.isArray(Ma(this,da,"f"))?(Ta(this,Aa,(e=Ma(this,Aa,"f"),++e),"f"),Ma(this,Aa,"f")<=Ma(this,da,"f").length-1?(Ma(this,sa,"f")&&Ma(this,sa,"f").destroy(),Ma(this,ha,"f").contentComplete(),Ta(this,xa,!0,"f"),Ta(this,ea,!0,"f"),Ta(this,Qs,!1,"f"),this.load(!0)):(Ma(this,ja,"f").autoPlayAdBreaks||this._resetAdsAfterManualBreak(),this._prepareMedia())):Ma(this,ca,"f").seekable.length?Ma(this,ca,"f").seekable.end(0)>Ma(this,ka,"f")&&(Ma(this,ja,"f").autoPlayAdBreaks||this._resetAdsAfterManualBreak(),this._prepareMedia()):setTimeout(this._loadedMetadataHandler,100)}_resumeMedia(){if(Ta(this,ta,0,"f"),Ta(this,ra,!1,"f"),Ta(this,ea,!1,"f"),Ta(this,ia,0,"f"),Ta(this,oa,0,"f"),Ma(this,ca,"f").parentElement&&Ma(this,ca,"f").parentElement.classList.remove("op-ads--active"),Ma(this,la,"f").ended){const e=ri("ended");Ma(this,ca,"f").dispatchEvent(e)}else try{Ma(this,la,"f").play(),setTimeout(()=>{const e=ri("play");Ma(this,ca,"f").dispatchEvent(e)},50)}catch(e){console.error(e)}}_requestAds(){Ta(this,ya,new google.ima.AdsRequest,"f");const e=Array.isArray(Ma(this,da,"f"))?Ma(this,da,"f")[Ma(this,Aa,"f")]:Ma(this,da,"f");!function(e){let t;if("undefined"==typeof DOMParser)return!1;t=e=>(new DOMParser).parseFromString(e,"text/xml");try{if(t(e).getElementsByTagName("parsererror").length>0)return!1}catch(e){return!1}return!0}(e)?Ma(this,ya,"f").adTagUrl=e:Ma(this,ya,"f").adsResponse=e;
2const t=Ma(this,ca,"f").parentElement?Ma(this,ca,"f").parentElement.offsetWidth:0,n=Ma(this,ca,"f").parentElement?Ma(this,ca,"f").parentElement.offsetHeight:0;Ma(this,ya,"f").linearAdSlotWidth=t,Ma(this,ya,"f").linearAdSlotHeight=n,Ma(this,ya,"f").nonLinearAdSlotWidth=t,Ma(this,ya,"f").nonLinearAdSlotHeight=n/3,Ma(this,ya,"f").setAdWillAutoPlay(Ma(this,ba,"f")),Ma(this,ya,"f").setAdWillPlayMuted(Ma(this,wa,"f")||Ma(this,ra,"f")),Ma(this,ha,"f").requestAds(Ma(this,ya,"f"))}_contentLoadedAction(){Ma(this,Oa,"f")&&(Ma(this,ca,"f").removeEventListener("loadedmetadata",Ma(this,Oa,"f")),Ta(this,Oa,null,"f")),this._requestAds()}_resetAdsAfterManualBreak(){Ma(this,sa,"f")&&Ma(this,sa,"f").destroy(),Ma(this,ha,"f").contentComplete(),Ta(this,Qs,!1,"f"),Ta(this,xa,!0,"f")}_prepareMedia(){Ma(this,la,"f").currentTime=Ma(this,ka,"f"),Ma(this,ca,"f").removeEventListener("loadedmetadata",this._loadedMetadataHandler),this._resumeMedia()}_setMediaVolume(e){Ma(this,la,"f").volume=e,Ma(this,la,"f").muted=0===e}_handleClickInContainer(){if(Ma(this,la,"f").paused){const e=ri("paused");Ma(this,ca,"f").dispatchEvent(e),this.pause()}}_handleResizeAds(){this.resizeAds()}_handleSkipAds(){Ma(this,sa,"f").skip()}};var Na,Da,La,Ra,Fa,Va,$a,Ba,Ua,Ha,Wa,za,Za,qa,Ga,Ya,Xa=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}l((r=r.apply(e,t||[])).next())})},Ka=function(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n},Qa=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};class Ja{static init(){Ja.instances={};const e=document.querySelectorAll("video.op-player, audio.op-player");for(let t=0,n=e.length;t<n;t++){const n=e[t],r=n.getAttribute("data-op-settings"),i=r?JSON.parse(r):{};new Ja(n,i).init()}}static addMedia(e,t,n,r){Ja.customMedia.media[t]=r,Ja.customMedia.optionsKey[t]=e,Ja.customMedia.rules.push(n)}constructor(e,t){var n;this.proxy=null,Na.set(this,void 0),Da.set(this,void 0),La.set(this,""),Ra.set(this,void 0),Fa.set(this,void 0),Va.set(this,void 0),$a.set(this,{}),Ba.set(this,!1),Ua.set(this,void 0),Ha.set(this,!1),Wa.set(this,!1),za.set(this,!1),Za.set(this,void 0),qa.set(this,[]),Ga.set(this,void 0),Ya.set(this,{controls:{alwaysVisible:!1,layers:{left:["play","time","volume"],middle:["progress"],right:["captions","settings","fullscreen"]}},defaultLevel:void 0,detachMenus:!1,forceNative:!1,height:0,hidePlayBtnTimer:350,labels:{auto:"Auto",captions:"CC/Subtitles",click:"Click to unmute",fullscreen:"Fullscreen",lang:{en:"English"},levels:"Quality Levels",live:"Live Broadcast",mediaLevels:"Change Quality",mute:"Mute",off:"Off",pause:"Pause",play:"Play",progressRail:"Time Rail",progressSlider:"Time Slider",settings:"Player Settings",speed:"Speed",speedNormal:"Normal",tap:"Tap to unmute",toggleCaptions:"Toggle Captions",unmute:"Unmute",volume:"Volume",volumeControl:"Volume Control",volumeSlider:"Volume Slider"},live:{showLabel:!0,showProgress:!1},media:{pauseOnClick:!1},mode:"responsive",onError:e=>console.error(e),pauseOthers:!0,progress:{allowRewind:!0,allowSkip:!0,duration:0,showCurrentTimeOnly:!1},showLoaderOnInit:!1,startTime:0,startVolume:1,step:0,useDeviceVolume:!0,width:0}),Ka(this,Ra,e instanceof HTMLMediaElement?e:document.getElementById(e),"f"),Qa(this,Ra,"f")&&(Ka(this,Ba,Qa(this,Ra,"f").autoplay||!1,"f"),"string"==typeof t||Array.isArray(t)||this._mergeOptions(t),Qa(this,Ra,"f").volume=Qa(this,Za,"f").startVolume||1,Qa(this,Za,"f").ads&&Qa(this,Za,"f").ads.src&&Ka(this,Fa,Qa(this,Za,"f").ads.src,"f"),((null===(n=Qa(this,Za,"f"))||void 0===n?void 0:n.startTime)||0)>0&&(Qa(this,Ra,"f").currentTime=Qa(this,Za,"f").startTime||0),Ka(this,Ua,Qa(this,Ra,"f").volume,"f")),this._autoplay=this._autoplay.bind(this),this._enableKeyBindings=this._enableKeyBindings.bind(this)}init(){return Xa(this,void 0,void 0,function*(){this._isValid()&&(this._wrapInstance(),yield this._prepareMedia(),this._createPlayButton(),this._createUID(),this._createControls(),this._setEvents(),Ja.instances[this.id]=this)})}load(){return Xa(this,void 0,void 0,function*(){return Qa(this,Va,"f")?(Qa(this,Va,"f").loaded=!1,this.isMedia()?Qa(this,Va,"f").load():void 0):(yield this._prepareMedia(),Qa(this,Va,"f").load())})}play(){return Xa(this,void 0,void 0,function*(){return Qa(this,Va,"f").loaded||(yield Qa(this,Va,"f").load(),Qa(this,Va,"f").loaded=!0),Qa(this,Da,"f")?(Qa(this,Da,"f").playRequested=!0,yield Qa(this,Da,"f").loadPromise,Qa(this,Da,"f").play()):Qa(this,Va,"f").play()})}pause(){Qa(this,Da,"f")?Qa(this,Da,"f").pause():Qa(this,Va,"f").pause()}stop(){this.pause(),Qa(this,Va,"f")&&(Qa(this,Va,"f").currentTime=0,this.src=[{src:"",type:"video/mp4"}])}destroy(){var e;Qa(this,Da,"f")&&(Qa(this,Da,"f").pause(),Qa(this,Da,"f").destroy()),Qa(this,Ga,"f")&&Qa(this,Ga,"f").destroy();const t=Qa(this,Ra,"f");Qa(this,Va,"f")&&Qa(this,Va,"f").destroy(),Object.keys(Qa(this,$a,"f")).forEac
2h(e=>{t.removeEventListener(e,Qa(this,$a,"f")[e])}),this.getContainer().removeEventListener("keydown",this._enableKeyBindings),Qa(this,Ba,"f")&&!Qa(this,za,"f")&&Qr(Qa(this,Ra,"f"))&&t.removeEventListener("canplay",this._autoplay),Qa(this,Na,"f")&&Qa(this,Na,"f").destroy(),Qr(Qa(this,Ra,"f"))&&(this.playBtn&&this.playBtn.remove(),this.loader&&this.loader.remove()),(null===(e=Qa(this,Za,"f"))||void 0===e?void 0:e.onError)&&Qa(this,Ra,"f").removeEventListener("playererror",Qa(this,Za,"f").onError),t.controls=!0,t.setAttribute("id",Qa(this,La,"f")),t.removeAttribute("op-live__enabled"),t.removeAttribute("op-dvr__enabled");const n="fit"!==Qa(this,Za,"f").mode||Jr(t)?t.parentElement:t.closest(".op-player__fit--wrapper");n&&n.parentNode&&n.parentNode.replaceChild(t,n),delete Ja.instances[Qa(this,La,"f")];const r=ri("playerdestroyed");t.dispatchEvent(r)}getContainer(){return Qa(this,Ra,"f").parentElement||Qa(this,Ra,"f")}getControls(){return Qa(this,Na,"f")}getCustomControls(){return Qa(this,qa,"f")}getElement(){return Qa(this,Ra,"f")}getEvents(){return Qa(this,$a,"f")}getOptions(){return Qa(this,Za,"f")}activeElement(){return Qa(this,Da,"f")&&Qa(this,Da,"f").started()?Qa(this,Da,"f"):Qa(this,Va,"f")}isMedia(){return this.activeElement()instanceof Xs}isAd(){return this.activeElement()instanceof Ia}getMedia(){return Qa(this,Va,"f")}getAd(){return Qa(this,Da,"f")}addCaptions(e){if(e.default){const e=Qa(this,Ra,"f").querySelectorAll("track");for(let t=0,n=e.length;t<n;t++)e[t].default=!1}const t=Qa(this,Ra,"f");let n=t.querySelector(`track[srclang="${e.srclang}"][kind="${e.kind}"]`);n?(n.src=e.src,n.label=e.label,n.default=e.default||!1):(n=document.createElement("track"),n.srclang=e.srclang,n.src=e.src,n.kind=e.kind,n.label=e.label,n.default=e.default||!1,t.appendChild(n));const r=ri("controlschanged");t.dispatchEvent(r)}addControl(e){e.custom=!0,e.type="button",Qa(this,qa,"f").push(e);const t=ri("controlschanged");Qa(this,Ra,"f").dispatchEvent(t)}addElement(e){e.custom=!0,Qa(this,qa,"f").push(e);const t=ri("controlschanged");Qa(this,Ra,"f").dispatchEvent(t)}removeControl(e){Qa(this,qa,"f").forEach((t,n)=>{t.id===e&&Qa(this,qa,"f").splice(n,1)});const t=ri("controlschanged");Qa(this,Ra,"f").dispatchEvent(t)}_prepareMedia(){var e;return Xa(this,void 0,void 0,function*(){try{(null===(e=Qa(this,Za,"f"))||void 0===e?void 0:e.onError)&&Qa(this,Ra,"f").addEventListener("playererror",Qa(this,Za,"f").onError,Kr),Qa(this,Ba,"f")&&Qr(Qa(this,Ra,"f"))&&Qa(this,Ra,"f").addEventListener("canplay",this._autoplay,Kr),Ka(this,Va,new Xs(Qa(this,Ra,"f"),Qa(this,Za,"f"),Qa(this,Ba,"f"),Ja.customMedia),"f");const t=Qa(this,Ra,"f").getAttribute("preload");if(!Qa(this,Fa,"f")&&t&&"none"===t||(yield Qa(this,Va,"f").load(),Qa(this,Va,"f").loaded=!0),!Qa(this,Ba,"f")&&Qa(this,Fa,"f")){const e=Qa(this,Za,"f")&&Qa(this,Za,"f").ads?Qa(this,Za,"f").ads:void 0;Ka(this,Da,new Ia(this,Qa(this,Fa,"f"),!1,!1,e),"f")}}catch(e){console.error(e)}})}enableDefaultPlayer(){let e=!0,t=0;this.proxy&&!this.proxy.paused&&(e=!1,t=this.proxy.currentTime,this.proxy.pause()),this.proxy=this,this.getElement().addEventListener("loadedmetadata",()=>{this.getMedia().currentTime=t,e||this.play()})}loadAd(e){return Xa(this,void 0,void 0,function*(){try{if(this.isAd())this.getAd().destroy(),this.getAd().src=e,this.getAd().loadedAd=!1,this.getAd().load();else{const t=Qa(this,Za,"f")&&Qa(this,Za,"f").ads?Qa(this,Za,"f").ads:void 0,n=!this.activeElement().paused||Qa(this,Ha,"f");Ka(this,Da,new Ia(this,e,n,Qa(this,Wa,"f"),t),"f")}}catch(e){console.error(e)}})}set src(e){Qa(this,Va,"f")instanceof Xs?(Qa(this,Va,"f").mediaFiles=[],Qa(this,Va,"f").src=e):"string"==typeof e?Qa(this,Ra,"f").src=e:Array.isArray(e)?e.forEach(e=>{const t=document.createElement("source");t.src=e.src,t.type=e.type||Ii(e.src,Qa(this,Ra,"f")),Qa(this,Ra,"f").appendChild(t)}):"object"==typeof e&&(Qa(this,Ra,"f").src=e.src)}get src(){return Qa(this,Va,"f").src}get id(){return Qa(this,La,"f")}_isValid(){const e=Qa(this,Ra,"f");return e instanceof HTMLElement!=!1&&(!(!Jr(e)&&!Qr(e))&&!!e.classList.contains("op-player__media"))}_wrapInstance(){const e=document.createElement("div");e.className="op-player op-player__keyboard--inactive",e.className+=Jr(Qa(this,Ra,"f"))?" op-player__audio":" op-player__video",e.tabIndex=0,Qa(this,Ra,"f").classList.remove("op-player"),Qa(this,Ra,"f").parentElement&&Qa(this,Ra,"f").parentElement.insertBefore(e,Qa(this,Ra,"f")),e.appendChild(Qa(this,Ra,"f"));const t=document.createElement("div");if(t.className="op-status",t.innerHTML="<span></span>",t.tabIndex=-1,t.setAttribute("aria-hidden","true"),Qr(Qa(this,Ra,"f"))&&Qa(this,Ra,"f").parentElement&&Qa(this,Ra,"f").parentElement.insertBefore(t,Qa(this,Ra,"f")),e.addEventListener("keydown",()=>{e.classList.contains("op-player__keyboard--inactive")&&e.classList.remove("op-player__keyboard--inactive")},Kr),e.addEventListener("click",()=>{e.classList.contains("op-player__keyboard--inactive")||e.classList.add("op-player__keyboard--inactive")},Kr),"fill"!==Qa(this,Za,"f").mode||Jr(Qa(this,Ra,"f"))||zr)if("fit"!==Qa(this,Za,"f").mode||Jr(Qa(this,Ra,"f"))){let t="";if(Qa(this,Za,"f").width){t+=`width: ${"number"==typeof Qa(this,Za,"f").width?`${Qa(this,Za,"f").width}px`:Qa(this,Za,"f").width} !important;`}if(Qa(this,Za,"f").height){t+=`height: ${"number"==typeof Qa(this,Za,"f").height?`${Qa(this,Za,"f").height}px`:Qa(this,Za,"f").height} !important;`}t&&e.setAttribute("style",t)}else{const e=this.getContainer();if(e.parentElement){const t=document.createElement("div");t.className="op-player__fit--wrapper",t.tabIndex=0,e.parentElement.insertBefore(t,e),t.appendChild(e),e.classList.add("op-player__fit")}}else this.getContainer().classList.add("op-player__full")}_createControls(){zr&&Qr(Qa(this,Ra,"f"))&&this.getContainer().classList.add("op-player__ios--iphone"),Ka(this,Na,new ns(this),"f"),Qa(this,Na,"f").create()}_createUID(){Qa(this,Ra,"f").id?(Ka(this,La,Qa(this,Ra,"f").id,"f"),Qa(this,Ra,"f").removeAttribute("id")):Ka(this,La,`op_${crypto.getRandomValues(new Uint32Array(1))[0].toString(36).substring(2,9)}`,"f"),Qa(this,Ra,"f").parentElement&&(Qa(this,Ra,"f").parentElement.id=Qa(this,La,"f"))}_createPlayButton(){var e,t;Jr(Qa(this,Ra,"f"))||(this.playBtn=document.createElement("button"),this.playBtn.className="op-player__play",this.playBtn.tabIndex=0,this.playBtn.title=(null===(e=Qa(this,Za,"f").labels)||void 0===e?void 0:e.play)||"",this.playBtn.innerHTML=`<span>${(null===(t=Qa(this,Za,"f").labels)||void 0===t?void 0:t.play)||""}</span>
2`,this.playBtn.setAttribute("aria-pressed","false"),this.playBtn.setAttribute("aria-hidden","false"),this.loader=document.createElement("span"),this.loader.className="op-player__loader",this.loader.tabIndex=-1,this.loader.setAttribute("aria-hidden","true"),Qa(this,Ra,"f").parentElement&&(Qa(this,Ra,"f").parentElement.insertBefore(this.loader,Qa(this,Ra,"f")),Qa(this,Ra,"f").parentElement.insertBefore(this.playBtn,Qa(this,Ra,"f"))),this.playBtn.addEventListener("click",()=>{Qa(this,Da,"f")&&(Qa(this,Da,"f").playRequested=this.activeElement().paused),this.activeElement().paused?this.activeElement().play():this.activeElement().pause()},Kr))}_setEvents(){if(Qr(Qa(this,Ra,"f"))){Qa(this,$a,"f").loadedmetadata=()=>{const e=this.activeElement();!Qa(this,Za,"f").showLoaderOnInit||Zr||qr?(this.loader.setAttribute("aria-hidden","true"),this.playBtn.setAttribute("aria-hidden","false")):(this.loader.setAttribute("aria-hidden","false"),this.playBtn.setAttribute("aria-hidden","true")),e.paused&&(this.playBtn.classList.remove("op-player__play--paused"),this.playBtn.setAttribute("aria-pressed","false"))},Qa(this,$a,"f").waiting=()=>{this.playBtn.setAttribute("aria-hidden","true"),this.loader.setAttribute("aria-hidden","false")},Qa(this,$a,"f").seeking=()=>{const e=this.activeElement();this.playBtn.setAttribute("aria-hidden","true"),this.loader.setAttribute("aria-hidden",e instanceof Xs?"false":"true")},Qa(this,$a,"f").seeked=()=>{const e=this.activeElement();0===Math.round(e.currentTime)?(this.playBtn.setAttribute("aria-hidden","true"),this.loader.setAttribute("aria-hidden","false")):(this.playBtn.setAttribute("aria-hidden",e instanceof Xs?"false":"true"),this.loader.setAttribute("aria-hidden","true"))},Qa(this,$a,"f").play=()=>{var e;this.playBtn.classList.add("op-player__play--paused"),this.playBtn.title=(null===(e=Qa(this,Za,"f").labels)||void 0===e?void 0:e.pause)||"",this.loader.setAttribute("aria-hidden","true"),Qa(this,Za,"f").showLoaderOnInit?this.playBtn.setAttribute("aria-hidden","true"):setTimeout(()=>{this.playBtn.setAttribute("aria-hidden","true")},Qa(this,Za,"f").hidePlayBtnTimer)},Qa(this,$a,"f").playing=()=>{this.loader.setAttribute("aria-hidden","true"),this.playBtn.setAttribute("aria-hidden","true")},Qa(this,$a,"f").pause=()=>{var e;const t=this.activeElement();this.playBtn.classList.remove("op-player__play--paused"),this.playBtn.title=(null===(e=Qa(this,Za,"f").labels)||void 0===e?void 0:e.play)||"",Qa(this,Za,"f").showLoaderOnInit&&0===Math.round(t.currentTime)?(this.playBtn.setAttribute("aria-hidden","true"),this.loader.setAttribute("aria-hidden","false")):(this.playBtn.setAttribute("aria-hidden","false"),this.loader.setAttribute("aria-hidden","true"))},Qa(this,$a,"f").ended=()=>{this.loader.setAttribute("aria-hidden","true"),this.playBtn.setAttribute("aria-hidden","true")};let e=!1;Qa(this,$a,"f").timeupdate=()=>{if(Qa(this,Ra,"f").loop&&this.isMedia()&&Qa(this,Da,"f")){const t=this.getMedia(),n=t.duration-t.currentTime;if(n>0&&n<=.25&&!e){e=!0;const t=ri("ended");Qa(this,Ra,"f").dispatchEvent(t)}else 0===n&&(e=!1)}}}Object.keys(Qa(this,$a,"f")).forEach(e=>{Qa(this,Ra,"f").addEventListener(e,Qa(this,$a,"f")[e],Kr)}),this.getContainer().addEventListener("keydown",this._enableKeyBindings,Kr)}_autoplay(){Qa(this,za,"f")||(Ka(this,za,!0,"f"),Qa(this,Ra,"f").removeEventListener("canplay",this._autoplay),function(e,t,n,r,i){const o=e.play();void 0!==o?o.then(()=>{e.pause(),n(!0),r(!1),i()}).catch(()=>{e.volume=0,e.muted=!0,e.play().then(()=>{e.pause(),n(!0),r(!0),i()}).catch(()=>{e.volume=t,e.muted=!1,n(!1),r(!1),i()})}):(n(!e.paused||"Promise"in window&&o instanceof Promise),e.pause(),r(!1),i())}(Qa(this,Ra,"f"),Qa(this,Ua,"f"),e=>{Ka(this,Ha,e,"f")},e=>{Ka(this,Wa,e,"f")},()=>{var e,t;if(Qa(this,Wa,"f")){this.activeElement().muted=!0,this.activeElement().volume=0;const n=ri("volumechange");Qa(this,Ra,"f").dispatchEvent(n);const r=document.createElement("div"),i=Zr||qr?null===(e=Qa(this,Za,"f").labels)||void 0===e?void 0:e.tap:null===(t=Qa(this,Za,"f").labels)||void 0===t?void 0:t.click;r.className="op-player__unmute",r.innerHTML=`<span>${i}</span>`,r.tabIndex=0,r.addEventListener("click",()=>{this.activeElement().muted=!1,this.activeElement().volume=Qa(this,Ua,"f");const e=ri("volumechange");Qa(this,Ra,"f").dispatchEvent(e),r.remove()},Kr);const o=this.getContainer();o.insertBefore(r,o.firstChild)}
2else this.activeElement().muted=Qa(this,Ra,"f").muted,this.activeElement().volume=Qa(this,Ua,"f");if(Qa(this,Fa,"f")){const e=Qa(this,Za,"f")&&Qa(this,Za,"f").ads?Qa(this,Za,"f").ads:void 0;Ka(this,Da,new Ia(this,Qa(this,Fa,"f"),Qa(this,Ha,"f"),Qa(this,Wa,"f"),e),"f")}else(Qa(this,Ha,"f")||Qa(this,Wa,"f"))&&this.play()}))}_mergeOptions(e){const t=Object.assign({},e||{});Ka(this,Za,Object.assign(Object.assign({},Qa(this,Ya,"f")),t),"f");if(Object.keys(Qa(this,Ya,"f")).filter(e=>"labels"!==e&&"object"==typeof Qa(this,Ya,"f")[e]).forEach(e=>{const n=t[e]||{};n&&Object.keys(n).length&&(Qa(this,Za,"f")[e]=Object.assign(Object.assign({},Qa(this,Ya,"f")[e]),n))}),t.labels){const e=t.labels?Object.keys(t.labels):[];let n={};e.forEach(e=>{const r=t.labels?t.labels[e]:null;r&&"object"==typeof r&&"lang"===e?Object.keys(r).forEach(e=>{const t=r?r[e]:null;t&&(n=Object.assign(Object.assign({},n),{lang:Object.assign(Object.assign({},n.lang),{[e]:ni(t)})}))}):r&&(n=Object.assign(Object.assign({},n),{[e]:ni(r)}))}),Qa(this,Za,"f").labels=Object.assign(Object.assign({},Qa(this,Ya,"f").labels),n)}}_enableKeyBindings(e){var t,n;const r=e.which||e.keyCode||0,i=this.activeElement(),o=this.isAd(),s=null===(t=null===document||void 0===document?void 0:document.activeElement)||void 0===t?void 0:t.classList.contains("op-player");switch(r){case 13:case 32:case 75:!s||13!==r&&32!==r?75===r&&(i.paused?i.play():i.pause()):i.paused?i.play():i.pause(),e.preventDefault(),e.stopPropagation();break;case 35:o||i.duration===1/0||(i.currentTime=i.duration,e.preventDefault(),e.stopPropagation());break;case 36:o||(i.currentTime=0,e.preventDefault(),e.stopPropagation());break;case 37:case 39:case 74:case 76:if(!o&&i.duration!==1/0){let t=5;const o=this.getOptions().step;o?t=74===r||76===r?2*o:o:74!==r&&76!==r||(t=10);const s=i.duration!==1/0?t:(null===(n=this.getOptions().progress)||void 0===n?void 0:n.duration)||0;i.currentTime+=37===r||74===r?-1*s:s,i.currentTime<0?i.currentTime=0:i.currentTime>=i.duration&&(i.currentTime=i.duration),e.preventDefault(),e.stopPropagation()}break;case 38:case 40:const t=38===r?Math.min(i.volume+.1,1):Math.max(i.volume-.1,0);i.volume=t,i.muted=!(t>0),e.preventDefault(),e.stopPropagation();break;case 70:Qr(Qa(this,Ra,"f"))&&!e.ctrlKey&&(Ka(this,Ga,new Ei(this,"",""),"f"),void 0!==Qa(this,Ga,"f").fullScreenEnabled&&(Qa(this,Ga,"f").toggleFullscreen(),e.preventDefault(),e.stopPropagation()));break;case 77:i.muted=!i.muted,i.muted?i.volume=0:i.volume=Qa(this,Ua,"f"),e.preventDefault(),e.stopPropagation();break;case 188:case 190:if(!o&&e.shiftKey){const t=i;t.playbackRate=188===r?Math.max(t.playbackRate-.25,.25):Math.min(t.playbackRate+.25,2);const n=this.getContainer().querySelector(".op-status>span");n&&(n.textContent=`${t.playbackRate}x`,n.parentElement&&n.parentElement.setAttribute("aria-hidden","false"),setTimeout(()=>{n.parentElement&&n.parentElement.setAttribute("aria-hidden","true")},500));const o=ri("controlschanged");dispatchEvent(o),e.preventDefault(),e.stopPropagation()}else!o&&i.paused&&(i.currentTime+=.04*(188===r?-1:1),e.preventDefault(),e.stopPropagation())}}}Na=new WeakMap,Da=new WeakMap,La=new WeakMap,Ra=new WeakMap,Fa=new WeakMap,Va=new WeakMap,$a=new WeakMap,Ba=new WeakMap,Ua=new WeakMap,Ha=new WeakMap,Wa=new WeakMap,za=new WeakMap,Za=new WeakMap,qa=new WeakMap,Ga=new WeakMap,Ya=new WeakMap,Ja.instances={},Ja.customMedia={media:{},optionsKey:{},rules:[]};const el=Ja;"undefined"!=typeof window&&(window.OpenPlayer=Ja,window.OpenPlayerJS=Ja,Ja.init());n(45168);const tl=function(e){var t=e.trailerURL,n=e.prerollUrl;e.isMobile;return(0,x.useEffect)(function(){var e;if(n){var t=n.split("correlator="),r=t[1].substring(t[1].indexOf("&vpmute"),t[1].length),i="correlator="+Math.floor(1e16*Math.random())+(new Date).getTime();e=t[0]+i+r}var o="undefined"!=typeof googletag&&null!==googletag;function s(){new el("player",n&&o?{ads:{src:e,enablePreloading:!0},hidePlayBtnTimer:100,youtube:{controls:0,modestbranding:1,autoplay:0}}:{hidePlayBtnTimer:100,youtube:{controls:0,modestbranding:1}}).init()}return setTimeout(function(){return s()},500),function(){s()}}),t?(0,P.jsx)("div",{className:"trailer-container",id:"trailer-container",children:(0,P.jsx)("video",{className:"op-player__media",id:"player",playsInl
2ine:!0,children:(0,P.jsx)("source",{src:t,type:"video/x-youtube"})})}):""};var nl=n(24775);function rl(e){return rl="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},rl(e)}function il(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,ol(r.key),r)}}function ol(e){var t=function(e,t){if("object"!=rl(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=rl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==rl(t)?t:t+""}function sl(e,t,n){return t=ll(t),function(e,t){if(t&&("object"==rl(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)}(e,al()?Reflect.construct(t,n||[],ll(e).constructor):t.apply(e,n))}function al(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(al=function(){return!!e})()}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ll(e)}function cl(e,t){return cl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cl(e,t)}var ul=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=sl(this,t,[e])).state={needFskConfirmation:!1,allowYoutubeOnce:!1,allowYoutubeEverytime:!0,isYoutube:!0},n.closeConfirmation=n.closeConfirmation.bind(n),n.setAllowance=n.setAllowance.bind(n),n.setCookieConfirmation=n.setCookieConfirmation.bind(n),n}return 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&&cl(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){var e=this.props.fsk;16!==parseInt(e)&&18!==parseInt(e)||this.setState({needFskConfirmation:!0})}},{key:"closeConfirmation",value:function(e){this.setState({needFskConfirmation:e})}},{key:"setAllowance",value:function(e){this.setState({allowYoutubeEverytime:e})}},{key:"setCookieConfirmation",value:function(){var e=this.props.setYoutubeCookieConfirmation,t=this.state.allowYoutubeEverytime;t&&window.BorlabsCookie?(window.BorlabsCookie.Consents?window.BorlabsCookie.Consents.addConsent("youtube","external-media"):window.BorlabsCookie.addConsent&&window.BorlabsCookie.addConsent("external-media","youtube"),e(!0)):t&&"undefined"!=typeof __cmp&&__cmp("getC
2MPData",null,function(t){var n=t&&t.vendorsList&&t.vendorsList.find(function(e){return"YouTube"===e.name}),r=n?n.id:"s30";__cmp("setVendorConsent",[r,1],function(){e(!0)})}),this.setState({allowYoutubeOnce:!0})}},{key:"render",value:function(){var e=this,t=this.props,n=t.trailerURL,r=t.fsk,i=t.disableTrailer,o=t.prerollUrl,s=t.hasYoutubeCookieConfirmation,a=t.isMobile,l=this.state,c=l.needFskConfirmation,u=l.allowYoutubeOnce,d=l.allowYoutubeEverytime,f=(l.isYoutube,d?" checked":""),h=!s&&!u;return(0,P.jsx)("div",{className:"trailer-wrapper"+(h||c?"":" has-video"),children:h?(0,P.jsx)("div",{className:"trailer-content",children:(0,P.jsxs)("div",{className:"trailer-confirmation trailer-confirmation-cookie",children:[(0,P.jsxs)("p",{className:"trailer-confirmation-text",children:[(0,P.jsxs)("span",{className:"text-medium",children:[(0,P.jsx)(k.Ay,{id:"attention",children:"ACHTUNG"}),"!"]}),(0,P.jsx)("span",{className:"text-medium",children:(0,P.jsx)(k.Ay,{id:"youtubeConsent",children:"Mit dem Laden des Videos akzeptieren Sie die Datenschutzerklärung von YouTube."})})]}),(0,P.jsx)("a",{href:"https://policies.google.com/privacy",target:"_blank",className:"button text-medium trailer-confirmation-button cancel cursor-pointer",children:(0,P.jsx)(k.Ay,{id:"moreButton",children:"Weiterlesen"})}),(0,P.jsx)("button",{onClick:function(){return e.setCookieConfirmation()},className:"button text-medium trailer-confirmation-button confirm cursor-pointer",children:(0,P.jsx)(k.Ay,{id:"loadVideo",children:"Video laden"})}),(window.BorlabsCookie||"undefined"!=typeof __cmp)&&(0,P.jsx)("button",{onClick:function(){return e.setAllowance(!d)},className:"text-medium set-allowance cursor-pointer"+f,children:(0,P.jsx)(k.Ay,{id:"setContent",children:"Immer entsperren."})})]})}):(0,P.jsxs)("div",{className:"trailer-content",children:[c&&(0,P.jsxs)("div",{className:"trailer-confirmation trailer-confirmation-age",children:[(0,P.jsxs)("p",{className:"trailer-confirmation-text text-medium",children:[(0,P.jsxs)("span",{children:[(0,P.jsx)(k.Ay,{id:"attention",children:"ACHTUNG"}),"!"]}),(0,P.jsxs)("span",{children:[(0,P.jsx)(k.Ay,{id:"youHaveToAtLeast",children:"Du musst mindestens"})," ",r," ",(0,P.jsx)(k.Ay,{id:"yearsOldToSeeThisTrailer",children:"Jahre alt sein, um diesen Trailer sehen zu dürfen"}),"."]})]}),(0,P.jsx)("button",{onClick:i,className:"button text-medium trailer-confirmation-button cancel cursor-pointer has-popup-close",children:(0,P.jsx)(k.Ay,{id:"close",children:"Schließen"})}),(0,P.jsx)("button",{onClick:function(){return e.closeConfirmation(!1)},className:"button text-medium trailer-confirmation-button confirm cursor-pointer",children:(0,P.jsx)(k.Ay,{id:"watchTrailer",children:"Trailer anschauen"})})]}),!c&&(0,P.jsx)(tl,{trailerURL:n,prerollUrl:o,isMobile:a})]})})}}])&&il(n.prototype,r),i&&il(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const dl=(0,v.Ng)((0,Q.A)(function(e,t){return{hasYoutubeCookieConfirmation:(0,g.A)(e,[y.UI_TRAILER,"hasYoutubeCookieConfirmation"])}}),function(e,t){return{setYoutubeCookieConfirmation:function(t){e((0,ur.Dm)(t))}}})((0,nl.A)(ul));const fl=function(e){var t=e.trailerURL,n=e.prerollUrl,r=e.fsk,i=e.displayPopup,o=e.addClassToPopup,s=e.openPopup,a=e.closePopup;return(0,P.jsxs)(Ur.A,{addClassToBackdrop:"trailer-popup",displayPopup:i,addClassToPopup:o,onClosePopup:a,children:[(0,P.jsx)(dl,{fsk:r,trailerURL:t,prerollUrl:n,disableTrailer:s}),(0,P.jsx)(z.A,{labelFsk:!0,fsk:r})]})};const hl=(0,v.Ng)((0,Q.A)(function(e,t){return{trailerMovie:(0,g.A)(e,[y.UI_TRAILER,"trailerMovie"]),weischerAds:(0,g.A)(e,y.PROGRAM_WEISCHERADS)}}),function(e,t){return{setTrailerMovie:function(t){("force"===t||t&&t.target&&t.target.classList.contains("has-popup-close"))&&e((0,ur.ux)(null))}}})(function(e){var t=e.trailerMovie,n=e.weischerAds,r=e.setTrailerMovie;if(!t)return"";var i=u(n,[o]),s=d(i[o]),a=t.trailerUrl,l=t.fsk;return a&&(0,P.jsx)(ee.N7,{children:(0,P.jsx)(fl,{trailerURL:a,prerollUrl:s,fsk:l,displayPopup:!0,addClassToPopup:"popup-content-small",closePopup:r})})});var ml=n(9989);function pl(e){return pl="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},pl(e)}function vl(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 gl(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=pl(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=pl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pl(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return bl(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bl(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const wl=function(e){return function(t){var n=yl((0,ml.A)(),2),r=n[0],i=n[1];return(0,P.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vl(Object(n),!0).forEach(function(t){gl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vl(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({addHtmlClass:r,removeHtmlClass:i},t))}};const xl=function(e){var t=e.multisiteSelector,n=e.cinemasSorted,r=e.currentCinemaId,i=e.toggleCinemaGroups,o=e.className,s=e.cinemaSelectorLogo,a=e.siteName,l=e.theme,c=e.mobileClass,u=void 0===c?"":c;if(!(t&&t.hasOwnProperty("order")&&0!==t.order.length||n))return"";var d=s&&l&&""===u?{backgroundColor:l.accent_color_dark+"80"}:{backgroundColor:l.accent_color_dark};return(0,P.jsxs)("div",{className:"multisite-selector"+u+o,children:[(0,P.jsx)("div",{className:"multisite-toggle-button-wrapper",children:(0,P.jsxs)("div",{className:"button multisite-toggle-button cursor-pointer accent-color-background ",onClick:function(){return i()},children:[!s&&(0,P.jsx)("div",{className:"multisite-toggle-button-icon",children:(0,P.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17.48 22.14",children:(0,P.jsx)("g",{id:"Ebene_2","data-name":"Ebene 2",children:(0,P.jsxs)("g",{id:"Ebene_1-2","data-name":"Ebene 1",children:[(0,P.jsx)("path",{className:"cls-1",d:"M8.57,0C.87,0,0,7.11,0,8.49a10.14,10.14,0,0,0,1.34,5c1,1.8,7.48,8.66,7.48,8.66s6.83-8,7.16-8.65a9.26,9.26,0,0,0,1.5-4.58C17.48,6.66,16.27,0,8.57,0ZM14.7,12.73c-.28.55-5.89,7.12-5.89,7.12s-5.33-5.64-6.16-7.13a8.48,8.48,0,0,1-1.1-4.1c0-1.13.72-7,7.05-7S15.93,7.12,15.93,9A7.7,7.7,0,0,1,14.7,12.73Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M8.74,4.16a4.33,4.33,0,1,0,4.33,4.32A4.32,4.32,0,0,0,8.74,4.16Zm0,7.15a2.83,2.83,0,1,1,2.83-2.83A2.83,2.83,0,0,1,8.74,11.31Z"})]})})})}),s?(0,P.jsx)("p",{className:"text-large-medium toggle-button-text",children:a.toUpperCase()}):(0,P.jsx)("p",{className:"text-large-medium ",children:(0,P.jsx)(k.Ay,{id:"changeCinema",children:"KINO WECHSELN"})})]})}),(0,P.jsx)("div",{className:"accent-color-background-dark multisite-blogs"+o,style:d,children:(0,P.jsx)("ul",{children:n.map(function(e,t){var n=e.nameDisplay,i=e.website,o=e.pk,s=r===o?" active":"";return(0,P.jsx)("li",{className:"multisite-blog",children:(0,P.jsx)("a",{className:"cursor-pointer text-large-medium"+s,href:i,children:n})},t)})})})]})};const jl=function(e){var t=e.siteHeaderData,n=e.isMobile,r=void 0!==n&&n,i=e.multisiteSelector,o=e.cinemasSorted,s=e.hideSelectorInApp,a=e.showMulticinemaSelectorMobile,l=e.cinemaSelectorLogo,c=e.cinemaData,u=e.hasCinemaSelector,d=e.className,f=e.theme,h=e.currentCinemaId,m=e.toggleCinemaGroups,p=t.homeURL,v=t.isFrontPage,g=t.siteName;return v?(0,P.jsxs)("h1",{className:"site-title site-logo",children:[(0,P.jsx)("a",{className:"logo-image",href:p,rel:"home",children:(0,P.jsx)("span",{className:"screen-reader-text",children:g})}),r&&c&&l&&u&&a&&!s&&(0,P.jsx)(xl,{mobileClass:" mobile-selector",siteName:c.nameDisplay,cinemasSorted:o,cinemaSelectorLogo:l,className:d,multisiteSelector:i,theme:f,currentCinemaId:h,toggleCinemaGroups:m})]}):(0,P.jsxs)("div",{className:"site-title site-logo",children:[(0,P.jsx)("a",{className:"logo-image",href:p,rel:"home",children:(0,P.jsx)("span",{className:"screen-reader-text",children:g})}),r&&c&&l&&u&&a&&!s&&(0,P.jsx)(xl,{mobileClass:" mobile-selector",cinemasSorted:o,siteName:c.nameDisplay,cinemaSelectorLogo:l,className:d,multisiteSelector:i,theme:f,currentCinemaId:h,toggleCinemaGroups:m})]})};var Al=n(95713);const Sl=function(e){var t=e.index,n=e.id,i=e.activeClass,o=e.url,s=e.target,a=e.title,l=e.menu_attribute,c=e.isFilter,u=e.onToggleNavigation,d=void 0===u?function(){}:u,f=a;
2return c&&(f=(0,Al.A)(a)),(0,P.jsx)("li",{id:"sub-menu-item-"+n,className:"sub-menu-item cursor-pointer text-light "+l+i,children:c?(0,P.jsx)(r.N_,{to:{search:o},onClick:function(){return d()},children:f}):s?(0,P.jsx)("a",{href:o,onClick:function(){return d()},target:s,children:f}):(0,P.jsx)("a",{href:o,onClick:function(){return d()},children:f})},t)};var Ol=n(12111);function kl(e){return kl="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},kl(e)}function Pl(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,Cl(r.key),r)}}function Cl(e){var t=function(e,t){if("object"!=kl(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=kl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==kl(t)?t:t+""}function El(e,t,n){return t=Tl(t),function(e,t){if(t&&("object"==kl(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)}(e,_l()?Reflect.construct(t,n||[],Tl(e).constructor):t.apply(e,n))}function _l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_l=function(){return!!e})()}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Tl(e)}function Ml(e,t){return Ml=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ml(e,t)}var Il=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=El(this,t,[e])).MenuItemRef=(0,x.createRef)(),n}return 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&&Ml(e,t)}(t,e),n=t,r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.ID,n=e.getItemWidth;n&&n(this.MenuItemRef.current.offsetWidth+30,t)}},{key:"getFilterChildrens",value:function(e,t,n){var r=this.props,i=r.attributes,o=r.programOverviewSubmenus[e];if(!i)return"";var s=i[e];return o.map(function(r,i){var o="?"+e+"="+r,a=s[r].name;return{ID:"filter-"+i,url:t?o:n+o,title:a,isFilter:t}})}},{key:"render",value:function(){var e=this.props,t=e.ID,n=e.index,r=e.title,i=e.menuItem,o=e.onMouseEnter,s=e.onMouseLeave,a=e.onToggleNavigation,l=void 0===a?function(){}:a,c=e.isLast,u=void 0!==c&&c,d=i.is_active,f=d?" sub-menu-item-active":"",h=u?" last":"",m=[],p=[],v=i.classes?i.classes.join(" "):"";if(i.classes&&Ol.contains(i.classes,"borlabs-cookie-open-dialog-preferences"))return(0,P.jsx)("li",{ref:this.MenuItemRef,id:"menu-item-"+t,className:"menu-item cursor-pointer "+i.menu_attribute+f+h,onMouseEnter:o,onMouseLeave:s,children:(0,P.jsx)("p",{className:"text-medium-navigation",children:(0,P.jsx)("span",{className:"menu-item-link "+v,"data-borlabs-cookie-title":r})})},n);if(i.classes&&Ol.contains(i.classes,"cmp-open-dialog-preferences"))return(0,P.jsx)("li",{ref:this.MenuItemRef,id:"menu-item-"+t,className:"menu-item cursor-pointer "+i.menu_attribute+f+h,onMouseEnter:o,onMouseLeave:s,children:(0,P.jsx)("p",{className:"text-medium-navigation",children:(0,P.jsx)("span",{className:"menu-item-link "+v,onClick:function(){return"undefined"!=typeof __cmp&&__cmp("showScreenAdvanced")},children:r})})},n);if(i.classes&&Ol.contains(i.classes,"borlabs-cookie-preference"))return(0,P.jsx)("li",{ref:this.MenuItemRef,id:"menu-item-"+t,className:"menu-item cursor-pointer "+i.menu_attribute+f+h,onMouseEnter:o,onMouseLeave:s,children:(0,P.jsx)("p",{className:"text-medium-navigation",children:(0,P.jsx)("span",{className:"menu-item-link "+v,children:r})})},n);if(Ol.has(i,"children")||i.is_overview){if(i.children&&(m=i.children),i.is_overview){var g=i.url,y=this.getFilterChildrens("genres",d,g),b=this.getFilterChildrens("technical",d,g);m=m.concat(y,b)}p=m.map(function(e,t){if(!e)return"";var n=e.ID,r=e.url,i=e.title,o=e.isFilter,s=e.target,a=e.menu_attribute,c=(0,Me.A)(i);return(0,P.jsx)(Sl,{index:t,target:s,menuClass:v,menu_attribute:a,id:n,activeClass:f,url:r,title:c,isFilter:o,onToggleNavigation:l},t)})}return m.length>0?(0,P.jsxs)("li",{ref:this.MenuItemRef,id:"menu-item-"+t,className:"menu-item cursor-pointer "+i.menu_attribute+f+h,onMouseEnter:o,onMouseLeave:s,children:[i.target?(0,P.jsx)("a",{className:"text-medium-navigation",href:i.url,onClick:function(){return l()},target:i.target,children:(0,P.jsx)("span",{className:"menu-item-link "+v,children:r})}):(0,P.jsx)("a",{className:"text-medium-navigation",href:i.url,onClick:function(){return l()},children:(0,P.jsx)("span",{className:"menu-item-link "+v,children:r})}),(0,P.jsx)("ul",{className:"sub-menu",children:p})]},n):(0,P.jsx)("li",{ref:this.MenuItemRef,id:"menu-item-"+t,className:"menu-item cursor-pointer "+i.menu_attribute+f+h,children:i.target?(0,P.jsx)("a",{className:"text-medium-navigation",href:i.url,onClick:function(){return l()},target:i.target,children:(0,P.jsx)("span",{className:"menu-item-link "+v,children:r})}):(0,P.jsx)("a",{className:"text-medium-navigation",href:i.url,onClick:function(){return l()},children:(0,P.jsx)("span",{className:"menu-item-link "+v,children:r})})},n)}}],r&&Pl(n.prototype,r),i&&Pl(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const Nl=Il;var Dl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=[],r=[];return e.map(function(e){e.isFilter=!1,e.ID!=t&&e.menu_item_parent==t?n.push(e):r.push(e)}),n.map(function(e){(function(e,t){return!!e.filter(function(e){return e.menu_item_parent==t})[0]})(r,e.ID)&&(e.children=Dl(r,e.ID))}),n};const Ll=function(e){return Dl(e,0)};function Rl(e){return Rl="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},Rl(e)}function Fl(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,Vl(r.key),r)}}function Vl(e){var t=function(e,t){if("object"!=Rl(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Rl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Rl(t)?t:t+""}function $l(e,t,n){return t=Ul(t),function(e,t){if(t&&("object"==Rl(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)}
2(e,Bl()?Reflect.construct(t,n||[],Ul(e).constructor):t.apply(e,n))}function Bl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bl=function(){return!!e})()}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ul(e)}function Hl(e,t){return Hl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hl(e,t)}var Wl=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=$l(this,t,[e])).siteNavigationMoreButton=(0,x.createRef)(),n.onResize=n.onResize.bind(n),n}return 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&&Hl(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){(0,this.props.getMoreButtonWidth)(this.siteNavigationMoreButton.current),window.addEventListener("resize",this.onResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onResize)}},{key:"onResize",value:function(){(0,this.props.getMoreButtonWidth)(this.siteNavigationMoreButton.current)}},{key:"render",value:function(){var e=this.props,t=e.onClick,n=e.hiddenMenuOpen?(0,P.jsx)(k.Ay,{id:"less",children:"WENIGER"}):(0,P.jsx)(k.Ay,{id:"more",children:"MEHR"});return(0,P.jsx)("li",{onClick:t,ref:this.siteNavigationMoreButton,className:"menu-item",children:(0,P.jsx)("p",{children:(0,P.jsx)("span",{className:"menu-item-link text-medium-navigation cursor-pointer",children:n})})})}}])&&Fl(n.prototype,r),i&&Fl(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const zl=Wl;const Zl=function(e){var t=e.languages;if(!t)return"";var n=Object.keys(t);return n.length<2?"":(0,P.jsx)("li",{className:"menu-item menu-item-langchooser",children:(0,P.jsx)("ul",{children:n.map(function(e,n){var r=t[e],i=r.current_lang,o=r.slug,s=r.url,a=o.toUpperCase();return i?(0,P.jsx)("li",{className:"menu-item sub-menu-item-active",children:(0,P.jsx)("span",{className:"text-medium-navigation",children:(0,P.jsx)("span",{className:"menu-item-link",children:(0,P.jsx)("span",{children:a})})})},n):(0,P.jsx)("li",{className:"menu-item",children:(0,P.jsx)("a",{className:"text-medium-navigation",href:s,children:(0,P.jsx)("span",{className:"menu-item-link",children:(0,P.jsx)("span",{children:a})})})},n)})})})};var ql=n(12111);function Gl(e){return Gl="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},Gl(e)}function Yl(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,Xl(r.key),r)}}function Xl(e){var t=function(e,t){if("object"!=Gl(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Gl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Gl(t)?t:t+""}function Kl(e,t,n){return t=Jl(t),function(e,t){if(t&&("object"==Gl(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)}(e,Ql()?Reflect.construct(t,n||[],Jl(e).constructor):t.apply(e,n))}function Ql(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ql=function(){return!!e})()}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Jl(e)}function ec(e,t){return ec=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ec(e,t)}var tc=[],nc=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Kl(this,t,[e])).state={allItemsWidthState:[],menuWidthState:0},n.getItemWidth=n.getItemWidth.bind(n),n}return 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&&ec(e,t)}(t,e),n=t,r=[{key:"getItemWidth",value:function(e,t){0===ql.filter(tc,function(e){return e.ID===t}
2).length&&(tc.push({width:e,ID:t}),this.setState({allItemsWidthState:tc}))}},{key:"componentDidMount",value:function(){var e=this.props.menuWidth;e&&e!==this.state.menuWidthState&&this.setState({menuWidthState:e})}},{key:"componentDidUpdate",value:function(){var e=this.props.menuWidth;e&&e!==this.state.menuWidthState&&this.setState({menuWidthState:e})}},{key:"render",value:function(){for(var e=this,t=this.props,n=t.menuItemsData,r=t.programOverviewSubmenus,i=t.translation,o=t.isMobile,s=t.attributes,a=t.maxWidthForItems,l=t.hiddenMenuOpen,c=t.onMouseLeave,u=t.onMouseEnter,d=t.getMoreButtonWidth,f=t.onClick,h=t.onToggleNavigation,m=0,p=[],v=[],g=0;g<tc.length;g++)a>m+tc[g].width?ql.contains(v,tc[g].ID)||ql.contains(p,tc[g].ID)||(m+=tc[g].width,p.push(tc[g].ID)):ql.contains(v,tc[g].ID)||ql.contains(p,tc[g].ID)||(m+=tc[g].width,v.push(tc[g].ID));var y=n.items,b=n.order,w=ql.filter(y,function(e){return"0"===e.menu_item_parent}),x=[];if(!y||!b)return"";var j=p.length!==w.length&&0!==v.length,A=function(){b.map(function(e){var t=y[e];t&&"0"!==t.menu_item_parent&&ql.find(x,function(e){return e.ID==t.menu_item_parent})&&!ql.contains(x,t)&&x.push(t)})};0!==p.length&&!1===l&&p.length!==w.length?(p.map(function(e){ql.contains(x,y[e])||x.push(y[e])}),A()):0!==v.length&&!0===l&&p.length!==w.length?(v.map(function(e){ql.contains(x,y[e])||x.push(y[e])}),A()):b.map(function(e){ql.contains(x,y[e])||x.push(y[e])});var S=Ll(x),O=S.map(function(t,n){var i=t.ID,o=t.title,a=(0,Me.A)(o);return/Mobile/.test(navigator.userAgent)&&window.MSStream,(0,P.jsx)(Nl,{ID:i,index:n,isLast:S.length===n+1,menuItem:t,attributes:s,programOverviewSubmenus:r,title:a,getItemWidth:e.getItemWidth,onMouseEnter:u,onMouseLeave:c,onToggleNavigation:h},n)});return o?O:(0,P.jsxs)("ul",{className:"menu",children:[O,j&&(0,P.jsx)(zl,{getMoreButtonWidth:d,hiddenMenuOpen:l,onClick:f}),i.languages&&(0,P.jsx)(Zl,{languages:i.languages})]})}}],r&&Yl(n.prototype,r),i&&Yl(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const rc=nc;function ic(e){return ic="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},ic(e)}function oc(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,sc(r.key),r)}}function sc(e){var t=function(e,t){if("object"!=ic(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ic(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ic(t)?t:t+""}function ac(e,t,n){return t=cc(t),function(e,t){if(t&&("object"==ic(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)}(e,lc()?Reflect.construct(t,n||[],cc(e).constructor):t.apply(e,n))}function lc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lc=function(){return!!e})()}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cc(e)}function uc(e,t){return uc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uc(e,t)}var dc=0,fc=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=ac(this,t,[e])).state={isSubNavigationOpen:!1,menuWidth:0,moreButtonWidth:0,hiddenMenuOpen:!1},n.siteNavigationMenu=(0,x.createRef)(),n.updateDimensions=n.updateDimensions.bind(n),n.getItemsOnlyWidth=n.getItemsOnlyWidth.bind(n),n.openHiddenMenu=n.openHiddenMenu.bind(n),n.getMoreButtonWidth=n.getMoreButtonWidth.bind(n),n.onMenuItemMouseEnter=n.onMenuItemMouseEnter.bind(n),n.onMenuItemMouseLeave=n.onMenuItemMouseLeave.bind(n),n.onResize=n.onResize.bind(n),n}return 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&&uc(e,t)}(t,e),n=t,(r=[{key:"openHiddenMenu",value:function(){var e=this.state.hiddenMenuOpen;this.setState({hiddenMenuOpen:!e})}},{key:"componentDidMount",value:function(){this.siteNavigationMenu.current&&(this.updateDimensions(this.siteNavigationMenu.current),this.setState({menuWidth:this.siteNavigationMenu.current.clientWidth}
2),window.addEventListener("resize",this.onResize))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onResize)}},{key:"onResize",value:function(){this.updateDimensions(this.siteNavigationMenu.current)}},{key:"updateDimensions",value:function(e){e&&this.state.menuWidth!==e.clientWidth&&this.setState({menuWidth:e.clientWidth})}},{key:"getMoreButtonWidth",value:function(e){e&&this.state.moreButtonWidth!==e.offsetWidth&&this.setState({moreButtonWidth:e.offsetWidth})}},{key:"getItemsOnlyWidth",value:function(){var e=this.state,t=e.menuWidth,n=e.moreButtonWidth;return t&&n?dc=t-n:t&&!n?dc=t:dc}},{key:"onMenuItemMouseEnter",value:function(){var e=this.props,t=e.addHtmlClass;(0,e.toggleCinemaGroups)(!1),this.setState({isSubNavigationOpen:!0}),t("navigation-is-active")}},{key:"onMenuItemMouseLeave",value:function(){var e=this.props,t=e.removeHtmlClass;(0,e.toggleCinemaGroups)(!1),this.setState({isSubNavigationOpen:!1}),t("navigation-is-active")}},{key:"render",value:function(){var e=this.state,t=e.menuWidth,n=e.hiddenMenuOpen,r=this.props,i=r.menuItemsData,o=r.translation,s=r.programOverviewSubmenus,a=r.attributes,l=this.getItemsOnlyWidth();return(0,P.jsx)("nav",{id:"main-navigation",className:"site-navigation site-navigation-desktop",role:"navigation","aria-label":"Menü",children:(0,P.jsx)("div",{ref:this.siteNavigationMenu,className:"menu-container",children:(0,P.jsx)(rc,{hiddenMenuOpen:n,maxWidthForItems:l,programOverviewSubmenus:s,translation:o,menuItemsData:i,menuWidth:t,onMouseEnter:this.onMenuItemMouseEnter,onMouseLeave:this.onMenuItemMouseLeave,getMoreButtonWidth:this.getMoreButtonWidth,onClick:this.openHiddenMenu,attributes:a})})})}}])&&oc(n.prototype,r),i&&oc(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const hc=fc;var mc=function(e){return"facebook"===e?" link-social-fb":"twitter"===e?" link-social-twitter":"tiktok"===e?" link-social-tiktok":"whatsapp"===e?" link-social-whatsapp":"more_footer_elements"===e?" link-social-other-element":" link-social-insta"};const pc=function(e){var t=e.type,n=e.data;return"more_footer_elements"===t?n&&n.map(function(e,n){var r=e.name,i=e.url,o=e.element_icon;return(0,P.jsx)("div",{className:"link-social"+mc(t)+" "+r,children:(0,P.jsxs)("a",{href:i,rel:"noreferrer",target:"_blank",children:[(0,P.jsx)("img",{src:o.url}),(0,P.jsx)("span",{className:"screen-reader-text",children:r})]})},n)}):(0,P.jsx)("div",{className:"link-social"+mc(t),children:(0,P.jsx)("a",{href:n,rel:"noreferrer",target:"_blank",children:(0,P.jsx)("span",{className:"screen-reader-text",children:t})})})};const vc=function(e){var t=e.socialmediaData;return Object.keys(t).map(function(e,n){return t[e]&&(0,P.jsx)(pc,{type:e,data:t[e]},n)})};const gc=function(e){var t=e.bottomMenuData,n=e.menuClassName,r=void 0===n?"":n;return(0,P.jsx)("ul",{className:r,children:t&&t.items&&t.order&&t.order.map(function(e,n){var r=t.items[e];return(0,P.jsx)("li",{children:(0,P.jsx)("a",{href:r.permalink,children:r.post_title})},n)})})};const yc=function(e){var t=e.menuItemsData,n=e.servicePagesMenuData,r=e.programOverviewSubmenus,i=e.translation,o=e.attributes,s=e.socialmediaData,a=e.onToggleNavigation,l=e.programOverviewUrl;return(0,P.jsx)("nav",{id:"main-navigation",className:"site-navigation site-navigation-mobile",role:"navigation","aria-label":"Menü",children:(0,P.jsxs)("ul",{className:"menu",children:[i.languages&&(0,P.jsx)(Zl,{languages:i.languages}),(0,P.jsx)(rc,{menuItemsData:t,programOverviewSubmenus:r,translation:i,onToggleNavigation:a,isMobile:!0,attributes:o,onMenuItemMouseEnter:null,onMenuItemMouseLeave:null,programOverviewUrl:l}),(0,P.jsx)("li",{className:"menu-item menu-item-impressum",children:(0,P.jsx)(gc,{bottomMenuData:n})}),(0,P.jsx)("li",{className:"menu-item menu-item-socialmedia",children:(0,P.jsx)(vc,{socialmediaData:s})})]})})};const bc=function(e){var t=e.isActive,n=e.onToggle,r=t?" is-active":"";return(0,P.jsx)("button",{className:"site-navigation-toggle hamburger hamburger--elastic"+r,"aria-controls":"Top menü","aria-expanded":"false",onClick:n,children:(0,P.jsx)("span",{className:"hamburger-box",children:(0,P.jsx)("span",{className:"hamburger-inner",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Menü"})})})})};var wc=n(4816),xc=n(90844);const jc=function(e){var t=e.affiliateSlug,n=e.setShowMenu;return(0,P.jsxs)("div",{className:"elbenwald-container",children:[(0,P.jsx)("div",{className:"elbenwald-wrapper links-wrapper",children:(0,P.jsxs)("div",{className:"elbenwald-menu-wrapper",children:[(0,P.jsx)("a",{className:"elbenwald-link",target:"_blank",href:"https://www.elbenwald.de/?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"go_to_shop",children:"Zum Shop"})})}),(0,P.jsx)("a",{className:"elbenwald-link",target:"_blank",href:"https://www.elbenwald.de/angebote?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"merch_sale",children:"Angebote"})})}),(0,P.jsx)("a",{className:"elbenwald-link",target:"_blank",href:"https://www.elbenwald.de/neu?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"merch_new",children:"NEU"})})}),(0,P.jsx)("a",{className:"elbenwald-link",target:"_blank",href:"https://www.elbenwald.de/filme-serien?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"merch_movie_series",children:"Filme & Serien"})})}),(0,P.jsx)("a",{className:"elbenwald-link",target:"_blank",href:"https://www.elbenwald.de/anime?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"merch_anime",children:"Anime"})})}),(0,P.jsx)("a",{className:"elbenwald-link",target:"_blank",href:"https://www.elbenwald.de/gaming?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"merch_gaming",children:"Gaming"})})}),(0,P.jsx)("button",{className:"elbenwald-link",onClick:function(){return n(!1)},children:(0,P.jsx)("span",{className:"text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"close",children:"Schließen"})})})]})}),(0,P.jsxs)("div",{className:"elbenwald-wrapper brands-wrapper",children:[(0,P.jsx)("a",{className:"elbenwald-link brands harry-potter-wrapper",target:"_blank",href:"https://www.elbenwald.de/harry-potter?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation harry-potter",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Harry Potter"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands star-wars-wrapper",target:"_blank",href:"https://www.elbenwald.de/star-wars?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation star-wars",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Star Wars"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands herr-der-ringe-wrapper",target:"_blank",href:"https://www.elbenwald.de/herr-der-ringe?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation herr-der-ringe",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Herr der Ringe"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands naruto-wrapper",target:"_blank",href:"https://www.elbenwald.de/naruto?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation naruto",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Naruto"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands disney-wrapper",target:"_blank",href:"https://www.elbenwald.de/disney?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation disney",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Disney"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands marvel-wrapper",target:"_blank",href:"https://www.elbenwald.de/marvel?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation marvel",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Marvel"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands pokemon-wrapper",target:"_blank",href:"https://www.elbenwald.de/pokemon?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation pokemon",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Pokemon"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands guardians-of-the-galaxy-wrapper",target:"_blank",href:"https://www.elbenwald.de/guardians-of-the-galaxy?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation guardians-of-the-galaxy",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Guardians of the Galaxy"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands demon-slayer-wrapper",target:"_blank",href:"https://www.elbenwald.de/demon-slayer?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation demon-slayer",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Demon Slayer"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands witcher-wrapper",target:"_blank",href:"https://www.elbenwald.de/witcher?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation witcher",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"The Witcher"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands lilo-stitch-wrapper",target:"_blank",href:"https://www.elbenwald.de/lilo-stitch?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation lilo-stitch",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Lilo & Stitch"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands zelda-wrapper",target:"_blank",href:"https://www.elbenwald.de/zelda?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation zelda",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"The Legend of Zelda"})})}),(0,P.jsx)("a",{className:"elbenwald-link brands one-piece-wrapper",target:"_blank",href:"https://www.elbenwald.de/one-piece?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation one-piece",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"One Piece"})})}),(0,P.jsx)("a",{className:"elbenwald-link alle-marken",target:"_blank",href:"https://www.elbenwald.de/alle-marken?partner="+t,children:(0,P.jsx)("span",{className:"text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"all_brands",children:"Alle Marken"})})})]})]})};const Ac=function(e){return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),(0,P.jsxs)("div",{className:"elbenwald-button",children:[(0,P.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"uuid-1af25c15-fab0-4495-af45-e4a1d25b0d73",viewBox:"0 0 973.02 108.5",children:(0,P.jsx)("g",{id:"uuid-ee69403f-0e1b-4a7a-9ec2-28858b4c68e6",children:(0,P.jsx)("path",{d:"m75.4,85.71l-4.88-1.45-7.78,14.65H28.39v-41.59h25.86l3.62,11.75h5.61v-32.19h-5.61l-3.62,10.67h-25.86V9.4h33.09l4.16,14.1h5.42V0H0v4.88l14.47,4.52v89.51l-14.47,4.34v5.06
2h71.25l4.16-22.6h0ZM973.02,20.07c0-11.03-8.86-20.07-19.89-20.07s-19.89,8.86-19.89,20.07,8.86,19.89,19.89,19.89,19.89-8.86,19.89-19.89h0Zm-4.34,0c0,9.22-6.15,16.46-15.55,16.46s-15.55-7.05-15.55-16.46,6.33-16.46,15.55-16.46,15.55,7.05,15.55,16.46h0Zm-4.34,11.21v-1.45l-3.25-.9-5.06-8.32c1.63-.54,3.98-2.71,3.98-6.15s-2.35-6.33-7.41-6.33h-8.5v1.45l3.07.9v18.44l-3.07.9v1.45h9.4v-1.45l-3.07-.9v-7.78l1.99-.18,5.61,10.13,6.33.18h0Zm-7.59-16.64c0,2.71-1.63,4.16-3.8,4.16h-1.99v-8.5h1.99c2.53,0,3.8,1.99,3.8,4.34h0ZM169.61,81.73l-6.15-1.45-8.68,18.81h-31.1V9.4l14.47-4.34V.18h-42.86v4.88l14.47,4.52v89.51l-14.47,4.34v5.06h69.08l5.24-26.76h0Zm94.39-4.16c0-16.27-14.83-24.59-21.34-25.86,5.06-1.63,15.55-7.78,15.55-24.95S245.2.18,226.39.18h-41.59v4.88l14.47,4.52v89.51l-14.47,4.34v5.06h44.3c19.35,0,34.9-9.04,34.9-30.92h0Zm-14.47.18c0,14.83-9.4,22.24-21.16,22.24h-15.01v-42.86h13.74c8.5,0,22.42,6.33,22.42,20.61h0Zm-5.42-50.45c0,12.48-6.33,20.79-18.63,20.79h-12.3V8.68h11.21c11.03,0,19.71,7.23,19.71,18.63h0Zm113.02,58.41l-4.88-1.45-7.78,14.65h-34.36v-41.59h25.86l3.62,11.75h5.61v-32.19h-5.61l-3.62,10.67h-25.86V9.4h33.09l4.16,14.1h5.42V0h-71.06v4.88l14.47,4.52v89.51l-14.47,4.34v5.06h71.25l4.16-22.6h0ZM481,5.06V.18h-38.52v4.88l13.2,4.52v71.79L406.14.18h-28.93v4.88l14.47,4.52v89.51l-14.47,4.34v5.06h38.34v-5.06l-13.2-4.34V22.06l52.08,86.43h12.12V9.58l14.47-4.52h0Zm157.14.18V.18h-37.61v5.06l13.2,4.34-18.44,83L571.05.18h-10.85l-26.76,92.4-15.19-83,12.84-4.34V.18h-39.6v5.06l11.39,4.34,22.24,98.91h14.47l25.13-81.91,21.7,81.91h14.47l25.32-98.91,11.93-4.34h0Zm92.04,103.25v-5.06l-12.84-4.34L684.97.18h-12.3l-34.36,98.91-12.12,4.34v5.06h36.17v-5.06l-13.2-4.34,8.86-27.3h35.8l9.4,27.3-13.2,4.34v5.06h40.14Zm-39.06-45.57h-30.2l16.09-47.2,14.1,47.2h0Zm125.49,18.81l-6.15-1.45-8.68,18.81h-31.1V9.4l14.47-4.34V.18h-42.86v4.88l14.47,4.52v89.51l-14.47,4.34v5.06h69.08l5.24-26.76h0Zm103.43-28.39c0-29.47-12.84-53.16-43.76-53.16h-44.48v4.88l14.47,4.52v89.51l-14.47,4.34v5.06h43.76c24.95,0,44.48-21.34,44.48-55.15h0Zm-15.73-.36c0,31.83-10.13,46.83-30.38,46.83h-13.56V8.68h14.65c22.42,0,29.29,24.95,29.29,44.3h0Z"})})}),(0,P.jsx)("span",{className:"screen-reader-text",children:"Elbenwald"})]})};const Sc=function(e){var t=e.id;return"concession"===t?(0,P.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Ebene_2",viewBox:"0 0 21.2 30.59",children:(0,P.jsx)("g",{id:"Ebene_1-2",children:(0,P.jsxs)("g",{children:[(0,P.jsx)("path",{className:"cls-1",d:"M21.18,9.8c.09-.6-.11-1.23-.57-1.89,.42-.59,.55-1.17,.36-1.72-.31-.9-1.39-1.35-2.21-1.56,.11-.55,.12-1.26-.3-1.85-.49-.68-1.4-.98-2.7-.89-.37-.76-.9-1.12-1.32-1.28-1.04-.42-2.19-.04-2.79,.23-.5-.22-1.23-.33-2.04,.03C8.65,.06,7.81-.05,7.24,.02c-.87,.1-1.65,.67-2.31,1.67-.01,0-.02,0-.03,0-1.12,.03-2.3,.28-2.42,2.64-1.15,.45-1.66,1.07-1.89,1.54-.23,.47-.26,.99-.12,1.5h0c-.71,1.43-.49,2.58-.03,3.37-.11,.16-.17,.36-.13,.56L3.89,29.98c.07,.35,.38,.61,.74,.61h11.79c.37,0,.68-.27,.74-.63l3.08-18.46c.02-.1,0-.2-.01-.29,.54-.38,.87-.84,.96-1.41Zm-19.09,.62c-.26-.22-.69-.74-.54-1.61,.13,.06,.26,.11,.42,.15,.6,.12,1.35-.02,2.43-.46,.38-.16,.57-.59,.41-.98-.16-.38-.59-.57-.98-.41-.95,.38-1.37,.42-1.57,.38-.07-.01-.17-.04-.32-.41-.08-.2-.08-.39,0-.56,.18-.36,.72-.71,1.49-.94,.32-.1,.54-.39,.54-.73-.03-1.64,.25-1.65,.97-1.67,.17,0,.34-.01,.5-.03,.24-.03,.45-.16,.57-.37,.32-.55,.82-1.21,1.41-1.28,.44-.06,.98,.23,1.54,.81,.26,.27,.67,.31,.98,.09,.69-.49,1.13-.2,1.2-.15,.24,.21,.59,.24,.86,.08,.29-.17,1.26-.59,1.88-.34,.11,.05,.45,.18,.66,.91,.1,.36,.46,.6,.83,.54,1.43-.21,1.79,.11,1.87,.21,.21,.29,0,.95-.13,1.2-.11,.22-.11,.48,0,.69s.33,.36,.57,.39c.84,.1,1.76,.47,1.86,.73,.02,.05-.03,.28-.43,.69-.33,.33-.8,.7-1.23,.62-.48-.09-.87-.74-.97-.97-.17-.38-.6-.55-.98-.39-.38,.16-.56,.61-.39,.99,.07,.16,.72,1.58,2.06,1.84,.14,.03,.27,.04,.41,.04,.5,0,1-.19,1.51-.53,.19,.32,.2,.51,.18,.6-.04,.28-.43,.48-.55,.55l-.21,.5-16.84-.19Zm3.16,18.67l-.12-.62H15.88l-.1,.62H5.25Zm10.89-2.12H4.84L1.94,11.92l16.67,.19-2.48,14.86Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M8.59,6.08c.15,0,.31,0,.47-.02,.41-.03,.72-.39,.69-.8s-.4-.72-.8-.69c-.87,.06-1.19-.1-1.24-.17-.03-.05,0-.21,.03-.31,.17-.37,.02-.81-.35-.99-.37-.18-.82-.02-1,.35-.05,.1-.46,1.01,.08,1.8,.38,.56,1.1,.84,2.13,.84Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M12.55,8.71c-.26,.32-.2,.8,.12,1.05,.32,.26,.8,.2,1.05-.12,.07-.08,.24-.23,.22-.27,0,0,.07,.05,.15,.25,.12,.28,.4,.45,.69,.45,.1,0,.2-.02,.3-.06,.38-.17,.55-.61,.38-.99-.37-.83-.9-1.06-1.28-1.11-.86-.1-1.53,.65-1.65,.81Z"})]})})}):"account"===t?(0,P.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29.99 29.99",children:(0,P.jsx)("g",{id:"Ebene_2","data-name":"Ebene 2",children:(0,P.jsx)("g",{id:"Ebene_2-2","data-name":"Ebene 2",children:(0,P.jsx)("path",{className:"cls-1",d:"M18.82,19.79a8.5,8.5,0,0,0,2-2.05,12.57,12.57,0,0,0,2.11-7.27C22.89,4.6,19.38,0,15,0h0A7.13,7.13,0,0,0,9.15,3.32,12.43,12.43,0,0,0,7,10.59c0,4.06,1.71,7.5,4.21,9.25C.14,21.49,0,30,0,30H30S30.22,21.31,18.82,19.79Zm-17,8.7c.68-2.36,3-6.64,11.17-7.33V19.08c-2.53-1.21-4.37-4.55-4.4-8.5,
20-5,2.81-9,6.37-9.08h0c3.54,0,6.44,4,6.48,9,0,4-1.81,7.41-4.38,8.62v2c4,.26,7.07,1.4,9.05,3.4a8.51,8.51,0,0,1,2.2,4Z"})})})}):"cart"===t?(0,P.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Ebene 1",viewBox:"0 0 32.33 30",children:(0,P.jsx)("path",{d:"M11.85 17H28.2l4.13-11.86H7.73L5.94 0H0v1.51h4.81L12 22.14h16.2v-1.51H13.12zM30.16 6.64l-3.09 8.84H11.33L8.25 6.64zM11.08 22.48a3.76 3.76 0 1 0 3.76 3.76 3.77 3.77 0 0 0-3.76-3.76zm0 6a2.26 2.26 0 1 1 2.26-2.26 2.26 2.26 0 0 1-2.26 2.28zM27.65 22.48a3.76 3.76 0 1 0 3.76 3.76 3.76 3.76 0 0 0-3.76-3.76zm0 6a2.26 2.26 0 1 1 2.25-2.26 2.26 2.26 0 0 1-2.25 2.28z"})}):"loyalty"===t?(0,P.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 129.43 128.25",children:(0,P.jsx)("g",{id:"Ebene_2","data-name":"Ebene 2",children:(0,P.jsxs)("g",{id:"Ebene_1-2","data-name":"Ebene 1",children:[(0,P.jsx)("path",{className:"cls-1",d:"M16.53,96.92c-3-4.13-6.29-8.5-9.41-13C4.79,80.55,6.31,78.2,9.31,76Q45.19,50.26,81,24.35c3.1-2.24,6.27-4.4,9.31-6.71,3.21-2.44,5.79-1.88,8,1.29,1.64,2.3,3.21,4.66,5,6.84,2.88,3.52,4.3,6.78.86,11-2.15,2.64-1.57,6.13.52,8.84s5.29,4.28,8.82,2.92c3.85-1.48,6.33-.28,8.42,3,1.71,2.66,3.68,5.14,5.5,7.73,3,4.24,2.73,5.87-1.61,9q-26.27,19-52.59,38Q59.5,116.2,45.72,126.13c-4.35,3.12-5.91,2.87-9.08-1.3-1.3-1.72-2.42-3.59-3.79-5.26-3.25-3.94-5.57-7.62-1.45-12.7,2.15-2.64,1.11-6.13-1.22-8.69s-5.42-3.72-9-2.31C20,96.34,19,97.47,16.53,96.92Zm16.83,15.77,8.1,11L124.84,63.4l-7.87-11c-6.28,1.81-11.88,1.3-15.87-4.11C97,42.68,97.93,37.06,102,31.63c-2.65-3.65-5.28-7.25-8-11L10.35,80.8l8,11.09c6.3-1.73,11.76-1.28,15.71,3.9C38.38,101.48,37.32,107.23,33.36,112.69Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M9.31,76l8.9-6.41L57.66,4.46l11.69,7c-1.6,6.58-.26,12.13,5.71,15.66.41.24.81.44,1.21.64l4.53-3.27a9.71,9.71,0,0,1-3.45-1.21c-3-1.67-4.88-4.65-3.94-7.93,1.5-5.25-1.08-7.69-5.11-9.8C65.79,4.22,63.42,2.67,61,1.19c-3.31-2-5.91-1.53-7.9,2-1.9,3.32-4,6.55-5.94,9.82Q28,44.68,8.91,76.34Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M32.55,103.1a8.7,8.7,0,0,0-2.37-4.92,8.56,8.56,0,0,0-4.4-2.77c-3.35.09-6.57,1.71-9.76,4.25L4.31,92.59c1.37-2.28,2.75-4.54,4.12-6.82-.44-.61-.87-1.22-1.31-1.85A5.76,5.76,0,0,1,6,81.14q-2.25,3.73-4.51,7.47C-.43,91.77-.9,94.53,2.57,96.72c4.62,2.92,9.36,5.65,13.74,8.27,2.45-.45,2.93-1.88,3.85-2.78,2.76-2.71,5.91-2.92,9.2-1.41A9.75,9.75,0,0,1,32.55,103.1Z"}),(0,P.jsx)("rect",{className:"cls-1",x:"68.74",y:"43.59",width:"11",height:"4.59",transform:"matrix(0.58, 0.81, -0.81, 0.58, 68.03, -41.17)"}),(0,P.jsx)("rect",{className:"cls-1",x:"78.89",y:"57.74",width:"11",height:"4.59",transform:"translate(83.73 -43.53) rotate(54.21)"}),(0,P.jsx)("rect",{className:"cls-1",x:"89.05",y:"71.68",width:"11",height:"4.59",transform:"translate(99.25 -45.98) rotate(54.21)"}),(0,P.jsx)("rect",{className:"cls-1",x:"44.13",y:"33.01",width:"11",height:"4.59",transform:"translate(25.36 -20.56) rotate(31.09)"})]})})}):"voucher"===t?(0,P.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Gruppe_751","data-name":"Gruppe 751",width:"100.715",height:"66.5",viewBox:"0 0 100.715 66.5",children:[(0,P.jsx)("defs",{children:(0,P.jsx)("clipPath",{id:"clip-path",children:(0,P.jsx)("rect",{id:"Rechteck_1392","data-name":"Rechteck 1392",width:"100.716",height:"66.5"})})}),(0,P.jsx)("g",{id:"Gruppe_750","data-name":"Gruppe 750",transform:"translate(0 0)",clipPath:"url(#clip-path)",children:(0,P.jsx)("path",{id:"Pfad_1013","data-name":"Pfad 1013",d:"M33.619,0H0V66.494H97.393V66.5h3.325V0ZM97.393,3.325v15.9H41.078c.5-3.289-.348-6.381-2.52-7.973a5.677,5.677,0,0,0-4.938-.762V3.325ZM27.466,27.916l.016-.027a5.37,5.37,0,0,0,.636.614c2.075,1.52,4.836,1.3,7.317-.264L40.894,37.7,34.12,39.442ZM18.2,37.62,11.528,35.9l4.114-7.126A9.133,9.133,0,0,0,22.18,30.72Zm5-19.387c2.013,3.2,1.789,7.1-.5,8.715s-5.783.326-7.8-2.873-1.789-7.1.5-8.713,5.783-.328,7.8,2.87m13.456-4.149c2.083,1.614,2.287,5.515.457,8.713s-5,4.486-7.086,2.873-2.285-5.515-.457-8.715,5-4.484,7.086-2.87m1.1,12.157a13.191,13.191,0,0,0,1.525-2.015,13.937,13.937,0,0,0,.856-1.68H97.393v5.333h-58.7ZM30.295,3.325v8.89A12.514,12.514,0,0,0,27.4,15.526,13.741,13.741,0,0,0,26.249,18,13.59,13.59,0,0,0,25.58,16.8a13.729,13.729,0,0,0-1.518-1.864V3.325Zm-26.97,0H20.737V12.49c-2.564-1.261-5.322-1.37-7.43
26.038-2.077,1.383-3.039,3.9-2.908,6.694H3.325Zm0,19.221h7.74A13.223,13.223,0,0,0,12.51,25.5a13.539,13.539,0,0,0,.893,1.141l-.711,1.232H3.325Zm0,40.623V31.2h7.447L7.051,37.651l12.714,3.475.055.033.918-1.587v23.6Zm20.737,0V33.814L25.569,31.2H25.7l4.6,7.964v24Zm9.557,0V42.66l11.769-3.187L40.614,31.2H97.393V63.169Z",transform:"translate(0 -0.001)"})})]}):"login"===t?(0,P.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:(0,P.jsx)("g",{id:"Ebene_2","data-name":"Ebene 2",children:(0,P.jsxs)("g",{id:"Ebene_2-2","data-name":"Ebene 2",children:[(0,P.jsx)("polygon",{className:"cls-1",points:"0 14.25 0 15.75 11.8 15.75 8.17 19.4 9.22 20.46 14.68 15 9.23 9.54 8.17 10.6 11.81 14.25 0 14.25"}),(0,P.jsx)("polygon",{className:"cls-1",points:"9.14 0 9.14 4.38 10.64 4.38 10.64 1.5 28.5 1.5 28.5 28.5 10.64 28.5 10.64 25.43 9.14 25.43 9.14 30 30 30 30 0 9.14 0"})]})})}):"logout"===t?(0,P.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:(0,P.jsx)("g",{id:"Ebene_2","data-name":"Ebene 2",children:(0,P.jsxs)("g",{id:"Ebene_2-2","data-name":"Ebene 2",children:[(0,P.jsx)("polygon",{className:"cls-1",points:"14.68 15.75 14.68 14.25 2.87 14.25 6.51 10.6 5.45 9.54 0 15 5.45 20.46 6.5 19.4 2.87 15.75 14.68 15.75"}),(0,P.jsx)("polygon",{className:"cls-1",points:"9.14 0 9.14 4.38 10.64 4.38 10.64 1.5 28.5 1.5 28.5 28.5 10.64 28.5 10.64 25.43 9.14 25.43 9.14 30 30 30 30 0 9.14 0"})]})})}):void 0};function Oc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return kc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?kc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Pc=function(e){var t=e.hasLogin,n=void 0!==t&&t,r=e.hasConcessionShop,i=void 0!==r&&r,o=e.hasVoucherShop,s=void 0!==o&&o,a=e.hasloyaltyCard,l=void 0!==a&&a,c=e.isLoggedIn,u=e.loginLogoutToggle,d=e.cartCount,f=e.programOverviewUrl,h=e.features,m=e.affiliateSlug,p=e.openPopup,v=Oc((0,x.useState)(!1),2),g=v[0],y=v[1];return(0,P.jsxs)(P.Fragment,{children:[n&&(0,P.jsxs)(P.Fragment,{children:[c&&u?(0,P.jsxs)("button",{onClick:function(){return p("logout")},className:" pipe-button user-content-button logout-button",children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"logout_name",children:"Logout"})}),(0,P.jsx)(Sc,{id:"logout"})]}):(0,P.jsx)("button",{onClick:function(){return p("login")},className:"pipe-button user-content-button login",children:c?(0,P.jsxs)("div",{className:"my-account-button",children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"account_name",children:"Mein Konto"})}),(0,P.jsx)(Sc,{id:"account"})]}):(0,P.jsxs)("div",{className:"login-button",children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"login_name",children:"Login"})}),(0,P.jsx)(Sc,{id:"login"})]})}),(d||0===d)&&(0,P.jsx)("button",{onClick:function(){return p("cart")},className:"pipe-button cart",children:(0,P.jsxs)("div",{className:"cart-button",children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"shopping_cart_name",children:"Warenkorb"})}),(0,P.jsx)("span",{className:"cart-counter",children:d}),(0,P.jsx)(Sc,{id:"cart"})]})})]}),l&&c&&(0,P.jsx)("button",{onClick:function(){return p("loyaltyCard")},className:"pipe-button loyalty-card",children:(0,P.jsxs)("div",{className:"loyaltyCard-button",children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"loyalty_card_name",children:"Loyalty Card"})}),(0,P.jsx)(Sc,{id:"loyalty"})]})}),i&&(0,P.jsx)("button",{onClick:function(){return p("concession")},className:"pipe-button concession",children:(0,P.jsxs)("div",{className:"concession-button",children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"snack_shop_name",children:"Snacks & Drinks"})}),(0,P.jsx)(Sc,{id:"concession"})]})}),s&&(0,P.jsx)("button",{onClick:function(){return p("vouchers")},className:"pipe-button vouchers",children:(0,P.jsxs)("div",{className:"voucher-button",children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"shop_name",children:"Gutscheinshop"})}),(0,P.jsx)(Sc,{id:"voucher"})]})}),h.has_merchandising&&m&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("button",{onClick:function(){return y(!g)},className:"pipe-button elbenwald",children:(0,P.jsx)(Ac,{})}),g&&(0,P.jsx)(jc,{affiliateSlug:m,setShowMenu:y})]}),(0,P.jsx)("div",{className:"pipe-button search",children:(0,P.jsx)("div",{className:"search-button",children:(0,P.jsx)(xc.A,{searchLinkClass:"user-content-button-text text-medium-navigation",iconThin:!0,programOverviewUrl:f})})})]})};
2const Cc=function(e){var t=e.programOverviewUrl,n=e.affiliateSlug,r=e.features;return(0,P.jsx)("div",{className:"user-content-container",children:(0,P.jsx)("div",{className:"grid-site-wrapper",children:(0,P.jsx)(Pc,{hasLogin:!1,affiliateSlug:n,features:r,hasConcessionShop:!1,hasVoucherShop:!1,programOverviewUrl:t})})})};var Ec=n(5322),_c=n(87911);function Tc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Ic=function(e){var t=e.hasLogin,n=e.isLoggedIn,r=e.features,i=e.shopUrl,o=e.affiliateSlug,s=e.cartCount,a=e.hasConcessionShop,l=e.hasVoucherShop,c=e.myAccountUrl,u=e.loginUrl,d=e.cinemaUserTextHint,f=e.checkoutUrl,h=e.logoutUrl,m=e.vouchersUrl,p=e.concessionsUrl,v=e.programOverviewUrl,g=Tc((0,Ec.A)(),3),y=g[0],b=g[1],w=g[2];return(0,P.jsx)("div",{className:"user-content-container",children:(0,P.jsxs)("div",{className:"grid-site-wrapper",children:[(0,P.jsx)(Pc,{hasLogin:t,isLoggedIn:n,openPopup:b,cartCount:s,hasConcessionShop:a,hasVoucherShop:l,programOverviewUrl:v,features:r,affiliateSlug:o}),(0,P.jsx)(Ur.A,{addClassToPopup:"popup-content-user-content",displayPopup:y,onClosePopup:w,children:(0,P.jsx)("div",{className:"theme-radius-posters-full",children:"login"===y?n?(0,P.jsxs)("div",{children:[(0,P.jsx)(_c.A,{src:c,title:"",id:"compeso-my-account",cinemaPath:i}),(0,P.jsxs)("button",{className:"logout-button",onClick:function(){return b("logout")},children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"logout_name",children:"Logout"})}),(0,P.jsx)(Sc,{id:"logout"})]})]}):(0,P.jsx)("div",{children:(0,P.jsx)(_c.A,{src:u,title:"",cinemaUserTextHint:d,id:"compeso-login",cinemaPath:i})}):"cart"===y?(0,P.jsx)(_c.A,{src:f,title:"",id:"compeso-checkout",cinemaPath:i}):"logout"===y?(0,P.jsx)(_c.A,{src:h,title:"Logout",id:"compeso-logout",cinemaPath:i}):"vouchers"===y?(0,P.jsx)(_c.A,{src:m,title:"",id:"compeso-vouchers",cinemaPath:i}):"concession"===y?(0,P.jsx)(_c.A,{src:p,title:"",id:"compeso-concession",cinemaPath:i}):""})})]})})};var Nc=n(79837);function Dc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Lc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Rc=function(e){var t=e.hasLogin,n=e.isLoggedIn,r=e.features,i=(e.shopUrl,e.affiliateSlug),o=e.cartCount,s=e.hasConcessionShop,a=e.hasVoucherShop,l=e.loyaltyCardUrl,c=e.myAccountUrl,u=e.loginUrl,d=(e.cinemaUserTextHint,e.checkoutUrl),f=(e.logoutUrl,e.vouchersUrl),h=(e.concessionsUrl,e.hasloyaltyCard),m=e.programOverviewUrl,p=Dc((0,Ec.A)(),3),v=p[0],g=p[1],y=p[2];return(0,P.jsx)("div",{className:"user-content-container",children:(0,P.jsxs)("div",{className:"grid-site-wrapper",children:[(0,P.jsx)(Pc,{hasLogin:t,isLoggedIn:n,openPopup:g,hasloyaltyCard:h,cartCount:o,hasConcessionShop:s,hasVoucherShop:a,programOverviewUrl:m,features:r,affiliateSlug:i}
2),(0,P.jsx)(Ur.A,{addClassToPopup:"popup-content-user-content",displayPopup:v,onClosePopup:y,children:(0,P.jsx)("div",{className:"theme-radius-posters-full",children:"login"===v?n?(0,P.jsx)("div",{children:(0,P.jsx)(Nc.A,{src:c,id:"diesel-my-account"})}):(0,P.jsx)("div",{children:(0,P.jsx)(Nc.A,{src:u,id:"diesel-login"})}):"cart"===v?(0,P.jsx)(Nc.A,{src:d,id:"diesel-checkout"}):"loyaltyCard"===v?(0,P.jsx)(Nc.A,{src:l,id:"diesel-checkout"}):"vouchers"===v?(0,P.jsx)(Nc.A,{src:f,id:"diesel-vouchers"}):""})})]})})};var Fc=n(84965);class Vc extends Error{}function $c(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,(e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(t)}catch(e){return atob(t)}}Vc.prototype.name="InvalidTokenError";class Bc extends Error{constructor(){super("Unidy component is not mounted"),this.name="UnidyNotMounted"}}const Uc="unidy_id_token";class Hc{baseUrl;config;component=null;initState=null;storeTokenInSession=!0;fallbackToSilentAuthRequest=!1;logger;constructor(e,t){this.baseUrl=e,this.config=t,this.storeTokenInSession=t.storeTokenInSession??!0,this.fallbackToSilentAuthRequest=t.fallbackToSilentAuthRequest??!1,this.logger=new Fc.L(t.enableLogging??!1),"undefined"!=typeof window&&(this.component=document.createElement("unidy-login"),this.mountComponent())}mountComponent(){if("undefined"==typeof window||!this.component)return void this.logger.warn("Cannot mount component in SSR environment");if(window.self!==window.top)return;if(this.initState)return;this.initState="loading",Object.assign(this.component,{baseUrl:this.baseUrl,clientId:this.config.clientId,scope:this.config.scope,responseType:this.config.responseType,prompt:this.config.prompt,enableLogging:this.logger.enabled,mode:this.config.mode,redirectFlowForLimitedThirdPartyCookieAccess:this.config.redirectFlowForLimitedThirdPartyCookieAccess,redirectFlowLoginButtonLabel:this.config.redirectFlowLoginButtonLabel}),this.component.addEventListener("authEvent",e=>{const{token:t}=e.detail;t&&this.validateToken(t)&&this.storeTokenAndDispatchEvent(t)});let e=document.body;if("inline"===this.config.mode&&this.config.mountTarget)if("string"==typeof this.config.mountTarget){const t=document.getElementById(this.config.mountTarget),n=document.querySelector(this.config.mountTarget);if(t)e=t;else{if(!(n&&n instanceof HTMLElement))return void this.logger.error(`Mount target not found: ${this.config.mountTarget}`);e=n}}else this.config.mountTarget instanceof HTMLElement&&(e=this.config.mountTarget);e.appendChild(this.component);const t=Fc.U.extractHashUrlParam(window.location.href,"id_token");t&&this.validateToken(t)&&this.storeTokenAndDispatchEvent(t),this.initState="done"}async auth({silent:e=!1}={}){if("done"!==this.initState||!this.component)throw new Bc;if(!e){Fc.U.browserLimitsThirdPartyCookies()&&this.config.redirectFlowForLimitedThirdPartyCookieAccess||await this.show()}const t=await this.component.auth({trySilentAuth:e});if(t.success){const e=this.parseToken(t.token);return e&&this.validateToken(e)?{...t,userTokenData:e}:{success:!1,error:"Invalid token"}}return t}async logout(){if("done"!==this.initState||!this.component)throw new Bc;return this.storeTokenInSession&&sessionStorage.removeItem(Uc),this.component.logout()}async show(){if("done"!==this.initState||!this.component)throw new Bc;return this.component.show()}async hide(){if("done"!==this.initState||!this.component)throw new Bc;return this.component.hide()}get isInitialized(){return!!this.initState}get idToken(){return this.storeTokenInSession?sessionStorage.getItem(Uc):(this.logger.log("storeTokenInSession is disabled, this method will always return null"),null)}async isAuthenticated(){if(!this.storeTokenInSession)return this.logger.log("storeTokenInSession is set to false, this method will always return false"),!1;if(!this.idToken&&this.fallbackToSilentAuthRequest&&this.component){const e=await this.component.auth({trySilentAuth:!0});if(!e.success)return!1;this.storeToken(e.token)}const e=!!this.idToken&&this.validateToken(this.idToken);return e&&this.dispatchAuthEvent(this.idToken),e}userTokenData(){if(!this.storeTokenInSession)return this.logger.log("storeTokenInSession is disabled, this method will always return null"),null;if(!this.idToken)return null;const e=this.parseToken(this.idToken);return this.validateToken(e)?e:null}parseToken(e){try{return function(e,t){if("string"!=typeof e)throw new Vc("Invalid token specified: must be a string");t||(t={});const n=!0===t.header?0:1,r=e.split(".")[n];if("string"!=typeof r)throw new Vc(`Invalid token specified: missing part #${n+1}`);let i;try{i=$c(r)}
2catch(e){throw new Vc(`Invalid token specified: invalid base64 for part #${n+1} (${e.message})`)}try{return JSON.parse(i)}catch(e){throw new Vc(`Invalid token specified: invalid json for part #${n+1} (${e.message})`)}}(e)}catch(e){return this.logger.error("Failed to parse token:",e),null}}validateToken(e){try{let t;if(t="string"==typeof e?this.parseToken(e):e,!t)return!1;const n=Math.floor(Date.now()/1e3);return t.exp>n}catch(e){return this.logger.error("Invalid token:",e),!1}}storeToken(e){this.storeTokenInSession&&sessionStorage.setItem(Uc,e)}storeTokenAndDispatchEvent(e){this.storeToken(e),this.config.onAuth?.(e),this.dispatchAuthEvent(e)}dispatchAuthEvent(e){"undefined"!=typeof window&&setTimeout(()=>{window.dispatchEvent(new CustomEvent("unidy:auth",{detail:{token:e,userData:this.parseToken(e)}}))},20)}}class Wc{init(e,t){const n=window.UnidyAuthInstance;if(n)return n;const r=new Hc(e,t);return window.UnidyAuthInstance=r,r}}var zc=n(48304);(()=>{const e="file:///home/node/app/src/front/node_modules/@unidy.io/auth/dist/esm/unidy-login.js",t={};return t.resourcesUrl=new URL(".",e).href,(0,zc.p)(t)})().then(async e=>(await void 0,(0,zc.b)([["unidy-login",[[257,"unidy-login",{baseUrl:[1,"base-url"],clientId:[1,"client-id"],scope:[1],responseType:[1,"response-type"],prompt:[1],enableLogging:[4,"enable-logging"],mode:[1],redirectFlowForLimitedThirdPartyCookieAccess:[4,"redirect-flow-for-limited-third-party-cookie-access"],redirectFlowLoginButtonLabel:[1,"redirect-flow-login-button-label"],iframeUrl:[32],isLoading:[32],popupWindow:[32],auth:[64],logout:[64],show:[64],hide:[64]}]]]],e)));const Zc=function(e){var t=e.src,n=e.title,r=void 0===n?"":n,i=(e.id,e.cinemaUserTextHint);return(0,P.jsxs)("div",{id:"unidy-iframe",className:"theme-radius-posters-full",children:[(0,P.jsxs)("div",{className:"header-wrapper",children:[""!==r&&(0,P.jsx)("h2",{className:"title-large",children:r}),i&&(0,P.jsx)("h2",{className:"title-large",children:(0,P.jsx)(k.Ay,{id:"user_text_hint",children:"Login"})})]}),(0,P.jsx)("iframe",{src:t})]})};function qc(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof a?r:a,c=Object.create(l.prototype);return Gc(c,"_invoke",function(n,r,i){var o,a,l,c=0,u=i||[],d=!1,f={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,a=0,l=e,f.n=n,s}};function h(n,r){for(a=n,l=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,o=u[t],h=f.p,m=o[2];n>3?(i=m===r)&&(l=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(a=0,f.v=r,f.n=o[1]):h<m&&(i=n<3||o[0]>r||r>m)&&(o[4]=n,o[5]=r,f.n=m,a=0))}if(i||n>1)return s;throw d=!0,r}return function(i,u,m){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,m),a=u,l=m;(t=a<2?e:l)||!d;){o||(a?a<3?(a>1&&(f.n=-1),h(a,l)):f.n=l:f.v=l);try{if(c=2,o){if(a||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,a<2&&(a=0)}else 1===a&&(t=o.return)&&t.call(o),a<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){o=e,a=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,o),!0),c}var s={};function a(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(Gc(t={},r,function(){return this}),t),d=c.prototype=a.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Gc(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,Gc(d,"constructor",c),Gc(c,"constructor",l),l.displayName="GeneratorFunction",Gc(c,i,"GeneratorFunction"),Gc(d),Gc(d,i,"Generator"),Gc(d,r,function(){return this}),Gc(d,"toString",function(){return"[object Generator]"}),(qc=function(){return{w:o,m:f}})()}function Gc(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}Gc=function(e,t,n,r){if(t)i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var o=function(t,n){Gc(e,t,function(e){return this._invoke(t,n,e)})};o("next",0),o("throw",1),o("return",2)}},Gc(e,t,n,r)}function Yc(e,t,n,r,i,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}function Xc(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function s(e){Yc(o,r,i,s,a,"next",e)}function a(e){Yc(o,r,i,s,a,"throw",e)}s(void 0)})}}function Kc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Qc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Jc=function(e){var t=e.hasLogin,n=e.isLoggedIn,r=e.features,i=e.affiliateSlug,o=e.setLoggedInState,s=e.programOverviewUrl,a=e.unidySettings,l=e.loyaltyCardUrl,c=e.myAccountUrl,u=e.cinemaUserTextHint,d=Kc((0,x.useState)(null),2),f=d[0],h=d[1],m=Kc((0,x.useState)(!1),2),p=m[0],v=m[1],g=Kc((0,Ec.A)(),3),y=g[0],b=g[1],w=g[2],j=function(){var e=Xc(qc().m(function e(){var t,n,r;return qc().w(function(e){for(;;)switch(e.p=e.n){case 0:if(console.log("Checking authentication status...",f),!f){e.n=6;break}return console.log("UnidyAuth instance is available."),window.UnidyAuthInstance.show(),e.p=1,console.log("Calling isAuthenticated..."),e.n=2,f.isAuthenticated();case 2:if(t=e.v,console.log("Authentication status:",t),o(t),!1!==t){e.n=4;break}return e.n=3,f.auth();case 3:n=e.v,console.log("Auth result:",n),o(n);case 4:e.n=6;break;case 5:e.p=5,r=e.v,console.error("Authentication check failed:",r),o(!1);case 6:return e.a(2)}},e,null,[[1,5]])}));return function(){return e.apply(this,arguments)}}(),A=function(){var e=Xc(qc().m(function e(){var t,n;return qc().w(function(e){for(;;)switch(e.p=e.n){case 0:if(console.log("Check if Unidy is available...",f),!f){e.n=4;break}return console.log("UnidyAuth instance is available."),e.p=1,console.log("Calling logout..."),e.n=2,f.logout();case 2:t=e.v,console.log("loggedoutstatus",t),t.success&&o(!1),e.n=4;break;case 3:e.p=3,n=e.v,console.error("Logout failed:",n);case 4:return e.a(2)}},e,null,[[1,3]])}));return function(){return e.apply(this,arguments)}}();return(0,x.useEffect)(function(){var e=a.clientId,t=a.host,n=(new Wc).init(t,{clientId:e,scope:"openid profile email",fallbackToSilentAuthRequest:!0,redirectFlowLoginButtonLabel:"Login via Unidy"});return console.log("set Auth...."),h(n),function(){return h(null)}},[]),(0,P.jsx)("div",{className:"user-content-container",children:(0,P.jsxs)("div",{className:"grid-site-wrapper",children:[(0,P.jsxs)(P.Fragment,{children:[t&&(0,P.jsxs)(P.Fragment,{children:[n?(0,P.jsxs)("button",{onClick:function(){return A()},className:" pipe-button user-content-button logout-button",children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"logout_name",children:"Logout"})}),(0,P.jsx)(Sc,{id:"logout"})]}):(0,P.jsx)("button",{onClick:function(){j()},className:"pipe-button user-content-button login",children:(0,P.jsxs)("div",{className:"login-button",children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"login_name",children:"Login"})}),(0,P.jsx)(Sc,{id:"login"})]})}),n&&(0,P.jsx)("button",{onClick:function(){return b("myAccount")},className:"pipe-button user-content-button login",children:(0,P.jsxs)("div",{className:"my-account-button",children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"account_name",children:"Mein Konto"})}),(0,P.jsx)(Sc,{id:"account"})]})})]}),l&&n&&(0,P.jsx)("button",{onClick:function(){return b("loyaltyCard")},className:"pipe-button loyalty-card",children:(0,P.jsxs)("div",{className:"loyaltyCard-button",children:[(0,P.jsx)("span",{className:"user-content-button-text text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"loyalty_card_name",children:"Loyalty Card"})}),(0,P.jsx)(Sc,{id:"loyalty"})]})}),r.has_merchandising&&i&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("button",{onClick:function(){return v(!p)},className:"pipe-button elbenwald",children:(0,P.jsx)(Ac,{})}),p&&(0,P.jsx)(jc,{affiliateSlug:i,setShowMenu:v})]}),(0,P.jsx)("div",{className:"pipe-button search",children:(0,P.jsx)("div",{className:"search-button",children:(0,P.jsx)(xc.A,{searchLinkClass:"user-content-button-text text-medium-navigation",iconThin:!0,programOverviewUrl:s})})})]}),(0,P.jsx)(Ur.A,{addClassToPopup:"popup-content-user-content",displayPopup:y,onClosePopup:w,children:(0,P.jsx)("div",{className:"theme-radius-p
2osters-full",children:"myAccount"===y?(0,P.jsx)(Zc,{setLoggedInState:o,title:"",cinemaUserTextHint:u,src:c}):"loyaltyCard"===y?(0,P.jsx)("div",{children:(0,P.jsx)(Zc,{src:l,title:"",id:"logout",cinemaUserTextHint:u})}):""})})]})})};var eu=n(19067);function tu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nu(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nu(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const ru=function(e){var t=e.hasLogin,n=e.features,r=e.affiliateSlug,i=e.myAccountUrl,o=e.programOverviewUrl,s=tu((0,Ec.A)(),3),a=s[0],l=s[1],c=s[2];return(0,P.jsx)("div",{className:"user-content-container",children:(0,P.jsxs)("div",{className:"grid-site-wrapper",children:[(0,P.jsx)(Pc,{hasLogin:t,isLoggedIn:!0,openPopup:l,programOverviewUrl:o,features:n,affiliateSlug:r}),(0,P.jsx)(Ur.A,{addClassToPopup:"popup-content-user-content",displayPopup:a,onClosePopup:c,children:(0,P.jsx)("div",{className:"theme-radius-posters-full",children:"login"===a?(0,P.jsx)("div",{children:(0,P.jsx)(eu.A,{src:i,id:"cortec-my-account"})}):""})})]})})};var iu=n(19199);function ou(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return su(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?su(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function su(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const au=function(e){var t=e.hasLogin,n=e.mcsServer,r=e.features,i=e.affiliateSlug,o=e.hasVoucherShop,s=e.shopData,a=e.loginUrl,l=e.vouchersUrl,c=e.programOverviewUrl,u=ou((0,Ec.A)(),3),d=u[0],f=u[1],h=u[2];return(0,P.jsx)("div",{className:"user-content-container",children:(0,P.jsxs)("div",{className:"grid-site-wrapper",children:[(0,P.jsx)(Pc,{hasLogin:t,isLoggedIn:!0,openPopup:f,hasVoucherShop:o,programOverviewUrl:c,features:r,affiliateSlug:i}),(0,P.jsx)(Ur.A,{addClassToPopup:"popup-content-user-content",displayPopup:d,onClosePopup:h,children:(0,P.jsx)("div",{className:"theme-radius-posters-full",children:"login"===d?(0,P.jsx)("div",{children:(0,P.jsx)(iu.A,{cinemaPath:a,baseUrl:"live"===n?"https://www.kinoheld.de":"https://beta.kinoheld.de",id:"kinoheld-login",cinemaDataProvider:s})}):"vouchers"===d?(0,P.jsx)(iu.A,{cinemaPath:l,baseUrl:"live"===n?"https://www.kinoheld.de":"https://beta.kinoheld.de",id:"kinoheld-vouchers",cinemaDataProvider:s}):""})})]})})};var lu=n(52203);function cu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return uu(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?uu(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const du=function(e){var t=e.hasLogin,n=e.features,r=e.affiliateSlug,i=e.hasVoucherShop,o=e.loginUrl,s=e.vouchersUrl,a=(e.cinemaUserTextHint,e.programOverviewUrl),l=cu((0,Ec.A)(),3),c=l[0],u=l[1],d=l[2];return(0,P.jsx)("div",{className:"user-content-container",children:(0,P.jsxs)("div",{className:"grid-site-wrapper",children:[(0,P.jsx)(Pc,{hasLogin:t,isLoggedIn:!0,openPopup:u,hasVoucherShop:i,programOverviewUrl:a,features:n,affiliateSlug:r}),(0,P.jsx)(Ur.A,{addClassToPopup:"popup-content-user-content",displayPopup:c,onClosePopup:d,children:(0,P.jsx)("div",{className:"theme-radius-posters-full",children:"login"===c?(0,P.jsx)(lu.A,{src:o,id:"mars-login"}):"vouchers"===c?(0,P.jsx)(lu.A,{src:s,id:"mars-vouchers"}):""})})]})})};var fu=n(57562),hu=n(98583),mu=n(12111);function pu(e){return pu="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},pu(e)}function vu(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof a?r:a,c=Object.create(l.prototype);return gu(c,"_invoke",function(n,r,i){var o,a,l,c=0,u=i||[],d=!1,f={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,a=0,l=e,f.n=n,s}};function h(n,r){for(a=n,l=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,o=u[t],h=f.p,m=o[2];n>3?(i=m===r)&&(l=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(a=0,f.v=r,f.n=o[1]):h<m&&(i=n<3||o[0]>r||r>m)&&(o[4]=n,o[5]=r,f.n=m,a=0))}if(i||n>1)return s;throw d=!0,r}return function(i,u,m){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,m),a=u,l=m;(t=a<2?e:l)||!d;){o||(a?a<3?(a>1&&(f.n=-1),h(a,l)):f.n=l:f.v=l);try{if(c=2,o){if(a||(i="next"),t=o[i]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,a<2&&(a=0)}else 1===a&&(t=o.return)&&t.call(o),a<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),a=1);o=e}else if((t=(d=f.n<0)?l:n.call(r,f))!==s)break}catch(t){o=e,a=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,o),!0),c}var s={};function a(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(gu(t={},r,function(){return this}),t),d=c.prototype=a.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,gu(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,gu(d,"constructor",c),gu(c,"constructor",l),l.displayName="GeneratorFunction",gu(c,i,"GeneratorFunction"),gu(d),gu(d,i,"Generator"),gu(d,r,function(){return this}),gu(d,"toString",function(){return"[object Generator]"}),(vu=function(){return{w:o,m:f}})()}function gu(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}gu=function(e,t,n,r){if(t)i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var o=function(t,n){gu(e,t,function(e){return this._invoke(t,n,e)})};o("next",0),o("throw",1),o("return",2)}},gu(e,t,n,r)}function yu(e,t,n,r,i,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}function bu(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,Su(r.key),r)}}function wu(e,t,n){return t=ju(t),function(e,t){if(t&&("object"==pu(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)}(e,xu()?Reflect.construct(t,n||[],ju(e).constructor):t.apply(e,n))}function xu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xu=function(){return!!e})()}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ju(e)}function Au(e,t){return Au=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Au(e,t)}function Su(e){var t=function(e,t){if("object"!=pu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=pu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pu(t)?t:t+""}var Ou=function(e){function t(e){var n,r,i,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=wu(this,t,[e]),r=n,o=function(e){var t,n=mu.filter(e,function(e){return"single"===e.scope.type});return n&&0!==n.length&&(t=n.sort(function(e,t){var n=e.nameDisplay,r=t.nameDisplay;return r>n?-1:r<n?1:0})),t},(i=Su(i="sortCinemas"))in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,n.state={cinemagroupIsOpen:!1,isStickyHeader:!1,cartCount:0,compesoCsParam:null},n.onScrollPage=n.onScrollPage.bind(n),n.toggleCinemaGroups=n.toggleCinemaGroups.bind(n),n.updateCart=n.updateCart.bind(n),n.updateLoginState=n.updateLoginState.bind(n),n}return 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&&Au(e,t)}(t,e),n=t,r=[{key:"componentDidMount",value:(o=vu().m(function e(){var t,n,r,i,o,s,a,l,c,u,d,f,h,m,p,v,g=this;return vu().w(function(e){for(;;)switch(e.n){case 0:this._isMounted=!0,t=this.props.addHtmlClass,n=this.props,r=n.cliData,i=n.cinemas,o=n.theme,s=o.has_bevel_corners,a=r.multiCinemaMode,l=r.currentCinemaId,c=r.compesoCookieCategories,u=i||null,d=null,s&&t("has-bevel-corners"),l&&u&&(a===wc.GR?(f=mu.find(u,function(e){return e.scope.type===wc.Cr}),d=u[f.pk]):d=u[l]),(h=d&&d.scope.cinemaDataProvider?d.scope.cinemaDataProvider:null)&&h.type===ve.TO&&h.shopUrl&&(0,fu.D)(c).then(function(e){g._isMounted&&g.setState({compesoCsParam:e})}),(d&&d.scope.unidySettings?d.scope.unidySettings:null)&&(mu.delay(function(){sessionStorage.getItem("unidy_id_token")&&g.props.setIsLoggedIn(!0)},1e3),window.addEventListener("storage",this.storageListener)),window.Compeso&&window.Compeso.getLogin()&&this.props.setIsLoggedIn(!0),window.Compeso&&window.Compeso.getCart()&&(m=window.Compeso.getCart(),p=m.items,v=0,p.forEach(function(e){return v+=e.amount}),v!==this.props.userbarData.cartCount&&this.setState({cartCount:v})),window.addEventListener("scroll",this.onScrollPage),window.Compeso&&(window.Compeso.setCartChangedCallback(this.updateCart),window.Compeso.setLoginChangedCallback(this.updateLoginState)),"undefined"!=typeof SoftlineDieselkino&&(SoftlineDieselkino.onAuthStateChanged(this.updateLoginState),SoftlineDieselkino.onCartChanged(this.updateCart)),setTimeout(function(){var e=document.getElementById("site-header"),t=document.getElementById("fireplace");if(e&&t){var n=e?e.offsetHeight-37:140;e.style.marginBottom||(e.style.marginBottom="-"+n+"px")}},100);case 1:return e.a(2)}},e,this)}),s=function(){var e=this,t=arguments;return new Promise(function(n,r){var i=o.apply(e,t);function s(e){yu(i,n,r,s,a,"next",e)}function a(e){yu(i,n,r,s,a,"throw",e)}s(void 0)})},function(){return s.apply(this,arguments)})},{key:"storageListener",value:function(e){var t=this;mu.delay(function(){sessionStorage.getItem("unidy_id_token")&&t.props.setIsLoggedIn(!0)},1e3)}},{key:"updateCart",value:function(e){if(e)if(e.items){var t=e.items,n=0;t.forEach(function(e){return n+=e.amount}),n!==this.state.cartCount&&this.setState({cartCount:n})}else e.itemCount&&e.itemCount!==this.state.cartCount&&this.setState({cartCount:e.itemCount});else 0!==this.state.cartCount&&this.setState({cartCount:0})}},{key:"updateLoginState",value:function(e){e?this.props.userbarData.isLoggedIn||this.props.setIsLoggedIn(!0):this.props.userbarData.isLoggedIn&&this.props.setIsLoggedIn(!1)}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("storage",this.storageListener),window.removeEventListener("scroll",this.onScrollPage)}},{key:"onScrollPage",value:function(){var e=window.scrollY>100;if(this.props.advertisements&&0!==it(this.props.advertisements,[ct])[ct].length){var t=document.getElementById("fireplace");e=t?0===t.offsetHeight?window.scrollY>100:!1===this.state.isStickyHeader?window.scrollY>100+t.offsetHeight:window.scrollY>t.offsetHeight-20:window.scrollY>100}e!==this.state.isStickyHeader&&this.setState({isStickyHeader:e})}},{key:"toggleCinemaGroups",value:function(e){var t=this.props,n=t.addHtmlClass,r=t.removeHtmlClass,i=this.state.cinemagroupIsOpen;e||!1===e||i?(this.setState({cinemagroupIsOpen:!1}),r("navigation-is-active"),r("multicinema-selector-is-active"),this.onScrollPage()):(this.setState({cinemagroupIsOpen:!0,isStickyHeader:!1}),n("multicinema-selector-is-active"),n("navigation-is-active"))}},{key:"render",value:function(){var e=this.state,t=e.isStickyHeader,n=e.cinemagroupIsOpen,r=e.cartCount,i=this.props,o=i.toggleSidebars,s=i.siteHeaderData,a=i.attributes,l=i.cinemaDataFront,c=i.topMenuData,u=i.bottomMenuData,d=i.multisiteSelector,f=i.translation,h=i.features,m=i.socialmediaData,p=i.theme,v=i.siteData,g=i.cinemas,y=i.cliData,b=i.userbarData,w=i.elementDisplay,x=i.isMobileData,j=i.addHtmlClass,A=i.removeHtmlClass,S=i.isWebApp,O=b.isLoggedIn,k=w.displaySidebarRight,C=w.currentActiveSelection,E=x.slidebarNav,_=l.program_overview_submenus,T=l.header_appearance,M=l.multicinema_selector_styling,I=l.multicinema_selector_display,N=l.hide_multicinema_selector_on_apps,D=v.url_program_overview,L=s.homeURL,R=y.multiCinemaMode,F=y.currentCinemaId,V=y.cinemaUserTextHint,$=y.mcsServer,B=y.compesoCookieCategories,U=g||null,H=t?" sticky-site-header":"",W=!(!M||"logo_selector"!==M&&!E),z=n?" is-open":" is-close",Z=W||E?" same-brand":"",q=h&&h.has_userbar?" login-header":"",G=!(!h||!h.has_voucher_shop)&&h.has_voucher_shop,Y=!(!h||!h.has_concession_shop)&&h.has_concession_shop,X=!(!h||!h.has_loyalty_card)&&h.has_loyalty_card,K=R===wc.h5||R===wc.wI||R===wc.GR,Q=null;F&&U&&(Q=R===wc.GR?U[mu.find(U,function(e){return e.scope.type===wc.Cr}).pk]:U[F]);var J,te,ne,re,ie,oe,se,ae,le=this.sortCinemas(U),ce=(0,hu.z)(Q,B),ue=Q&&Q.scope.elbenwaldSettings&&Q.scope.elbenwaldSettings.affiliateSlug?Q.scope.elbenwaldSettings.affiliateSlug:null,de=!(!h||!h.has_login||!ce||ce.type!==ve.TO),fe=!(!h||!h.has_login||!ce||ce.type!==ve.RJ),he=!(!h||!h.has_login||!ce||ce.type!==ve.NG),me=!(!h||!h.has_login||!ce||ce.type!==ve.VC),pe=!(!h||!h.has_login||!ce||ce.type!==ve.X&&ce.type!==ve.m_),ge=Q&&Q.scope.unidySettings?Q.scope.unidySettings:null,ye=Q?Q.nameDisplay:"",be=!E&&("default"===I||"desktop_only"===I),we=E&&("default"===I||"mobile_only"===I),xe=S&&N;if(ce&&ce.type===ve.TO){se=ce.shopUrl;var je=ce.shopCenterId,Ae=this.state.compesoCsParam?"&"+this.state.compesoCsParam:"",Se=se+"landingpage?center="+je+"&language="+f.currentLang.toUpperCase();J=Se+"&page=login"+Ae,te=Se+"&page=logout"+Ae,ne=Se+"&page=myaccount"+Ae,re=Se+"&page=checkout"+Ae,ie=Se+"&page=productlist"+Ae,oe=Se+"&page=retaillist"+Ae}else if(ce&&ce.type===ve.RJ){var Oe="https://kinoapi.dieselkino.at/";J=Oe+"login",te=null,ne=Oe+"shop/user",re=Oe+"shop/cart",ae=Oe+"shop/orders",ie=Oe+"shop/voucher",oe=null}else if(ce&&ce.type===ve.NG)J="user/login",ie=ce.kinoheldCinemaPath+"/gutscheine";else if(!ce||ce.type!==ve.X&&ce.type!==ve.m_)ce&&ce.type===ve.VC&&(ne="https://booking.kinomadlen.ch/clients_bootstrap/eventBookingGlobal/user.ticket.asp");else{var ke="https://e.kinotickets.express",Pe=ce.marsCinemaId;J="".concat(ke,"/").concat(Pe,"/account"),ie="".concat(ke,"/").concat(Pe,"/vouchers")}if(ge){var Ce=ge.host;ne=Ce+"/profile",ae=Ce+"/tickets"}return L&&new URL(L).origin,(0,P.jsxs)("div",{className:"site-header-react site-header-background"+H+Z+q,children:[ge?(0,P.jsx)(Jc,{hasLogin:!0,isLoggedIn:O,shopUrl:se,hasConcessionShop:Y,hasVoucherShop:G,myAccountUrl:ne,loyaltyCardUrl:ae,loginUrl:J,unidySettings:ge,logoutUrl:te,setLoggedInState:this.updateLoginState,checkoutUrl:re,cinemaUserTextHint:V,vouchersUrl:ie,concessionsUrl:oe,programOverviewUrl:D,affiliateSlug:ue,features:h}):h&&h.has_userbar?de?(0,P.jsx)(Ic,{hasLogin:!0,isLoggedIn:O,shopUrl:se,cartCount:r,hasConcessionShop:Y,hasVoucherShop:G,myAccountUrl:ne,loginUrl:J,logoutUrl:te,checkoutUrl:re,cinemaUserTextHint:V,vouchersUrl:ie,concessionsUrl:oe,programOverviewUrl:D,affiliateSlug:ue,features:h}):fe?(0,P.jsx)(Rc,{hasLogin:!0,isLoggedIn:O,shopUrl:se,hasloyaltyCard:X,cartCount:r,loyaltyCardUrl:ae,hasConcessionShop:Y,hasVoucherShop:G,myAccountUrl:ne,loginUrl:J,logoutUrl:te,checkoutUrl:re,cinemaUserTextHint:V,vouchersUrl:ie,concessionsUrl:oe,programOverviewUrl:D,affiliateSlug:ue,features:h}):he?(0,P.jsx)(au,{hasLogin:!0,isLoggedIn:O,hasConcessionShop:Y,hasVoucherShop:G,shopData:ce,mcsServer:$,myAccountUrl:ne,loginUrl:J,cinemaUserTextHint:V,vouchersUrl:ie,programOverviewUrl:D,affiliateSlug:ue,features:h}):pe?(0,P.jsx)(du,{hasLogin:!0,hasVoucherShop:G,loginUrl:J,vouchersUrl:ie,cinemaUserTextHint:V,programOverviewUrl:D,affiliateSlug:ue,features:h}):me?(0,P.jsx)(ru,{hasLogin:!0,myAccountUrl:ne,cinemaUserTextHint:V,programOverviewUrl:D,affiliateSlug:ue,features:h}):(0,P.jsx)(Cc,{hasLogin:!1,hasConcessionShop:!1,affiliateSlug:ue,hasVoucherShop:!1,programOverviewUrl:D,features:h}):"",(0,P.jsxs)("div",{className:"grid-site-wrapper",children:[(0,P.jsxs)("div",{className:"header-container",children:[(0,P.jsxs)("div",{className:"item-header logo-wrapper",children:[(0,P.jsx)(jl,{siteHeaderData:s,isMobile:E,cinemaData:Q,cinemaSelectorLogo:W,className:z,multisiteSelector:d,hideSelectorInApp:xe,theme:p,currentCinemaId:F,cinemasSorted:le,toggleCinemaGroups:this.toggleCinemaGroups,hasCinemaSelector:K,showMulticinemaSelectorMobile:we}),!E&&W&&K&&be&&!xe&&(0,P.jsx)(xl,{siteName:Q?Q.nameDisplay:"",cinemaSelectorLogo:W,className:z,multisiteSelector:d,theme:p,currentCinemaId:F,cinemasSorted:le,toggleCinemaGroups:this.toggleCinemaGroups}),E&&(0,P.jsx)(bc,{onToggle:function(){return o("right",1,!0,"navigation")},isActive:!1})]}),(0,P.jsx)("div",{className:"item-header navigation-wrapper",children:!E&&(0,P.jsx)(hc,{programOverviewSubmenus:_,menuItemsData:c,translation:f,attributes:a,addHtmlClass:j,removeHtmlClass:A,toggleCinemaGroups:this.toggleCinemaGroups})}),!E&&!W&&K&&be&&!xe&&(0,P.jsx)(xl,{siteName:ye,className:z,theme:p,currentCinemaId:F,cinemaSelectorLogo:W,multisiteSelector:d,cinemasSorted:le,toggleCinemaGroups:this.toggleCinemaGroups})]}),k&&"navigation"===C&&(0,P.jsxs)(ee.cq,{isNavigation:!0,headerAppearance:T,removeHtmlClass:A,children:[(0,P.jsx)("div",{className:"site-slidebar-overlay accent-color-background-half-transparent",onClick:function(){return o("right",1,!1,!1)}}),(0,P.jsxs)("div",{className:"site-slidebar-content accent-color-background-half-transparent",children:[(0,P.jsxs)("div",{className:"item-header item-header-mobile logo-wrapper",children:[(0,P.jsx)(jl,{siteHeaderData:s}),(0,P.jsx)(bc,{onToggle:function(){return o("right",1,!1,!1)},isActive:!0})]}),(0,P.jsxs)("div",{className:"item-header navigation-wrapper",children:[(0,P.jsx)("div",{className:"multisite-selector-mobile",children:K&&"hidden"
2!==I&&!xe&&(0,P.jsx)(xl,{theme:p,className:z,multisiteSelector:d,currentCinemaId:F,cinemasSorted:le,toggleCinemaGroups:this.toggleCinemaGroups})}),(0,P.jsx)(yc,{menuItemsData:c,programOverviewSubmenus:_,translation:f,onToggleNavigation:function(){return o("right",1,!1,!1)},socialmediaData:m,attributes:a,programOverviewUrl:D,servicePagesMenuData:u})]})]})]})]})]})}}],r&&bu(n.prototype,r),i&&bu(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i,o,s}(x.Component);const ku=(0,v.Ng)((0,Q.A)(function(e,t){return{siteHeaderData:(0,g.A)(e,y.SITEHEADERDATA),attributes:(0,g.A)(e,y.PROGRAM_ATTRIBUTES),cinemaDataFront:(0,g.A)(e,y.FRONT),topMenuData:(0,g.A)(e,y.TOPMENUDATA),bottomMenuData:(0,g.A)(e,y.BOTTOMMENUDATA),multisiteSelector:(0,g.A)(e,y.MULTISITESELECTOR),translation:(0,g.A)(e,y.TRANSLATION),features:(0,g.A)(e,y.FEATURES),socialmediaData:(0,g.A)(e,y.SOCIALMEDIA),theme:(0,g.A)(e,y.THEME),siteData:(0,g.A)(e,y.SITE),cinemas:(0,g.A)(e,y.PROGRAM_CINEMAS),cliData:(0,g.A)(e,y.CLI),advertisements:(0,g.A)(e,y.PROGRAM_ADVERTISEMENTS),userbarData:(0,g.A)(e,y.UI_USERBAR),isMobileData:(0,g.A)(e,[y.UI_ELEMENTDISPLAY,"isMobile"]),elementDisplay:(0,g.A)(e,y.UI_ELEMENTDISPLAY)}}),function(e,t){return{setIsLoggedIn:function(t){e((0,ur.sU)(t))},toggleSidebars:function(t,n,r,i){e((0,ur.wL)(t,n,r)),(i||!1===i)&&e((0,ur.XX)(i))}}})(wl(Ou));var Pu=n(12111);function Cu(e){return Cu="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},Cu(e)}function Eu(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,_u(r.key),r)}}function _u(e){var t=function(e,t){if("object"!=Cu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Cu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Cu(t)?t:t+""}function Tu(e,t,n){return t=Iu(t),function(e,t){if(t&&("object"==Cu(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)}(e,Mu()?Reflect.construct(t,n||[],Iu(e).constructor):t.apply(e,n))}function Mu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mu=function(){return!!e})()}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Iu(e)}function Nu(e,t){return Nu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nu(e,t)}var Du=function(){return(0,P.jsx)("div",{className:"footer-scroll-top",children:(0,P.jsx)("a",{href:"#",children:(0,P.jsxs)("span",{className:"icon-wrapper",children:[(0,P.jsx)("span",{className:"icon",children:(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 9.3",children:(0,P.jsx)("polygon",{className:"cls-1",points:"25 1.26 24.19 0 12.5 7.52 0.81 0 0 1.26 12.5 9.3 25 1.26"})})}),(0,P.jsx)("span",{className:"screen-reader-text",children:"Nach oben"})]})})})},Lu=function(e){var t=e.url,n=e.target,r=e.text,i=e.linkClass,o=e.textClass,s=(0,P.jsx)("span",{className:o,children:(0,Me.A)(r)});return"#"==t?(0,P.jsx)("span",{className:i,children:s}):n?(0,P.jsx)("a",{className:i,href:t,target:n,children:s}):(0,P.jsx)("a",{className:i,href:t,children:s})},Ru=function(e){var t=e.item,n=t.is_active,r=t.title,i=t.url,o=t.target,s=t.classes,a=n?" item-active":"",l=s?s.join(" "):"";return s&&Pu.contains(s,"borlabs-cookie-open-dialog-preferences")?(0,P.jsx)("li",{className:"sub-menu-item"+a,children:(0,P.jsx)("span",{className:"sec-menu-item "+l,"data-borlabs-cookie-title":r})}):s&&Pu.contains(s,"cmp-open-dialog-preferences")?(0,P.jsx)("li",{className:"sub-menu
2-item"+a,children:(0,P.jsx)("span",{className:"sec-menu-item "+l,onClick:function(){return"undefined"!=typeof __cmp&&__cmp("showScreenAdvanced")},children:r})}):s&&Pu.contains(s,"borlabs-cookie-preference")?(0,P.jsx)("li",{className:"sub-menu-item"+a,children:(0,P.jsx)("span",{className:"sec-menu-item "+l,children:r})}):(0,P.jsx)("li",{className:"sub-menu-item"+a,children:(0,P.jsx)(Lu,{url:i,target:o,text:r,linkClass:"sec-menu-item",textClass:"menu-item-link footer-menu-level-sec"})})},Fu=function(e){var t=e.id,n=e.isActive,r=e.onToggle,i=n?" is-active":"";return(0,P.jsx)("button",{className:"menu-item-toggle cursor-pointer"+i,onClick:function(){return r(t)},children:(0,P.jsxs)("div",{className:"icon-wrapper",children:[(0,P.jsx)("span",{className:"icon"}),(0,P.jsx)("span",{className:"screen-reader-text",children:"Menü"})]})})},Vu=function(e){var t=e.item,n=e.activeMenuItem,r=e.classTypoFirstLevel,i=e.onItemToggle,o=t.is_active,s=t.title,a=t.url,l=t.target,c=t.ID,u=t.classes,d="menu-item-"+c,f=d===n,h=t.hasOwnProperty("children"),m=o?" item-active":"",p=f?" menu-item-active":"",v=h?" has-children":"",g=u?u.join(" "):"";return u&&Pu.contains(u,"borlabs-cookie-open-dialog-preferences")?(0,P.jsx)("li",{className:"menu-item"+v+m+p,children:(0,P.jsx)("span",{className:"first-menu-item "+g,"data-borlabs-cookie-title":s})}):u&&Pu.contains(u,"borlabs-cookie-preference")?(0,P.jsx)("li",{className:"menu-item"+v+m+p,children:(0,P.jsx)("span",{className:"first-menu-item "+g,children:s})}):(0,P.jsxs)("li",{className:"menu-item"+v+m+p,children:[(0,P.jsx)(Lu,{url:a,target:l,text:s,linkClass:"first-menu-item",textClass:"menu-item-link "+r}),h&&(0,P.jsx)(Fu,{id:d,isActive:f,onToggle:i}),h&&(0,P.jsx)("ul",{className:"sub-menu",children:t.children.map(function(e,t){return(0,P.jsx)(Ru,{item:e},"footer-menu-subentry-"+t)})})]})},$u=function(e){var t=e.extraBottomMenuData,n=e.activeMenuItem,r=e.onItemToggle;if(!t)return"";var i=t.items,o=t.order;if(!i||!o)return"";var s=[],a=!1;o.map(function(e){s.push(i[e])});var l=Ll(s);l.map(function(e){e.hasOwnProperty("children")&&(a=!0)});l.map(function(e,t){return e.hasOwnProperty("children")&&(a=!0),(0,P.jsx)(Vu,{item:e,activeMenuItem:n,onItemToggle:r},"footer-menu-entry-"+t)});var c=a?"large-menu":"small-menu",u=a?"footer-menu-level-first":"text-small-footer";return(0,P.jsx)("div",{className:"extra-footer-menu "+c,children:(0,P.jsxs)("div",{className:"grid-site-wrapper",children:[(0,P.jsx)("ul",{className:"extra-footer-menu-list grid-extra-footer",children:l.map(function(e,t){return(0,P.jsx)(Vu,{item:e,activeMenuItem:n,classTypoFirstLevel:u,onItemToggle:r},"footer-menu-entry-"+t)})}),(0,P.jsx)(Du,{})]})})},Bu=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Tu(this,t,[e])).state={activeMenuItem:!1},n.onItemToggle=n.onItemToggle.bind(n),n}return 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&&Nu(e,t)}(t,e),n=t,(r=[{key:"onItemToggle",value:function(e){this.setState(function(t){return{activeMenuItem:t.activeMenuItem!==e&&e}})}},{key:"render",value:function(){var e=this.state.activeMenuItem,t=this.props.extraBottomMenuData;return(0,P.jsx)($u,{extraBottomMenuData:t,activeMenuItem:e,onItemToggle:this.onItemToggle})}}])&&Eu(n.prototype,r),i&&Eu(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const Uu=Bu;var Hu=n(12111);const Wu=function(e){var t=e.cinemaData.cinema,n=!1;return["name","telephone","street_no","postcode","town"].map(function(e,r){if(Hu.has(t,e)&&t[e])return n?[(0,P.jsx)("span",{className:"devider",children:" - "},r+"a"),(0,P.jsx)("span",{children:t[e]},r+"b")]:(n=!0,(0,P.jsx)("span",{children:t[e]},r))})};const zu=function(e){var t=e.siteHeaderData,n=e.cinemaData,r=e.socialmediaData,i=t.homeURL,o=t.siteName;return(0,P.jsx)("div",{className:"site-footer-linkbox grid-site-wrapper",children:(0,P.jsxs)("div",{className:"wrapper-center",children:[(0,P.jsx)("div",{className:"logo-wrapper",children:(0,P.jsx)("p",{className:"site-footer-title site-logo",children:(0,P.jsx)("a",{className:"logo-image",href:i,rel:"home",children:(0,P.jsx)("span",{className:"screen-reader-text",children:o})})})}),(0,P.jsx)("div",{className:"site-footer-contactbox",children:(0,P.jsx)("p",{className:"text-small-footer",children:(0,P.jsx)(Wu,{cinemaData:n})})},"2"),(0,P.jsx)("div",{className:"wrapper-center-y link-social-wrapper",children:(0,P.jsx)(vc,{socialmediaData:r})})]})})};function Zu(e){return Zu="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},Zu(e)}function qu(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,Gu(r.key),r)}}function Gu(e){var t=function(e,t){if("object"!=Zu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Zu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Zu(t)?t:t+""}function Yu(e,t,n){return t=Ku(t),function(e,t){if(t&&("object"==Zu(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)}(e,Xu()?Reflect.construct(t,n||[],Ku(e).constructor):t.apply(e,n))}function Xu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xu=function(){return!!e})()}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ku(e)}function Qu(e,t){return Qu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qu(e,t)}var Ju=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Yu(this,t,[e])).state={siteHeaderData:{},topMenuData:{},socialmediaData:{},bottomMenuData:{},cinemaData:{}},n}return 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&&Qu(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.setState({siteHeaderData:pmkinoFrontV
2ars.siteHeaderData,topMenuData:pmkinoFrontVars.topMenuData,socialmediaData:pmkinoFrontVars.cinemaData.socialmedia,bottomMenuData:pmkinoFrontVars.bottomMenuData,extraBottomMenuData:pmkinoFrontVars.extraBottomMenuData,cinemaData:pmkinoFrontVars.cinemaData})}},{key:"render",value:function(){var e=this.state,t=e.siteHeaderData,n=e.socialmediaData,r=(e.bottomMenuData,e.extraBottomMenuData),i=e.cinemaData,o=r?"has-extramenu":"has-no-extramenu";return(0,P.jsx)("div",{className:"site-footer-react",children:(0,P.jsxs)("div",{className:"footer-wrapper "+o,children:[(0,P.jsx)(Uu,{extraBottomMenuData:r},"extra-footer-menu"),(0,P.jsx)(zu,{siteHeaderData:t,cinemaData:i,socialmediaData:n},"footer")]})})}}])&&qu(n.prototype,r),i&&qu(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(x.Component);const ed=Ju;var td=n(58168);var nd=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 7,229 bytes, line 2
2,t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),rd=Math.abs,id=String.fromCharCode,od=Object.assign;function sd(e){return e.trim()}function ad(e,t,n){return e.replace(t,n)}function ld(e,t){return e.indexOf(t)}function cd(e,t){return 0|e.charCodeAt(t)}function ud(e,t,n){return e.slice(t,n)}function dd(e){return e.length}function fd(e){return e.length}function hd(e,t){return t.push(e),e}var md=1,pd=1,vd=0,gd=0,yd=0,bd="";function wd(e,t,n,r,i,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:md,column:pd,length:s,return:""}}function xd(e,t){return od(wd("",null,null,"",null,null,0),e,{length:-e.length},t)}function jd(){return yd=gd>0?cd(bd,--gd):0,pd--,10===yd&&(pd=1,md--),yd}function Ad(){return yd=gd<vd?cd(bd,gd++):0,pd++,10===yd&&(pd=1,md++),yd}function Sd(){return cd(bd,gd)}function Od(){return gd}function kd(e,t){return ud(bd,e,t)}function Pd(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Cd(e){return md=pd=1,vd=dd(bd=e),gd=0,[]}function Ed(e){return bd="",e}function _d(e){return sd(kd(gd-1,Id(91===e?e+2:40===e?e+1:e)))}function Td(e){for(;(yd=Sd())&&yd<33;)Ad();return Pd(e)>2||Pd(yd)>3?"":" "}function Md(e,t){for(;--t&&Ad()&&!(yd<48||yd>102||yd>57&&yd<65||yd>70&&yd<97););return kd(e,Od()+(t<6&&32==Sd()&&32==Ad()))}function Id(e){for(;Ad();)switch(yd){case e:return gd;case 34:case 39:34!==e&&39!==e&&Id(yd);break;case 40:41===e&&Id(e);break;case 92:Ad()}return gd}function Nd(e,t){for(;Ad()&&e+yd!==57&&(e+yd!==84||47!==Sd()););return"/*"+kd(t,gd-1)+"*"+id(47===e?e:Ad())}function Dd(e){for(;!Pd(Sd());)Ad();return kd(e,gd)}var Ld="-ms-",Rd="-moz-",Fd="-webkit-",Vd="comm",$d="rule",Bd="decl",Ud="@keyframes";function Hd(e,t){for(var n="",r=fd(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Wd(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Bd:return e.return=e.return||e.value;case Vd:return"";case Ud:return e.return=e.value+"{"+Hd(e.children,r)+"}";case $d:e.value=e.props.join(",")}return dd(n=Hd(e.children,r))?e.return=e.value+"{"+n+"}":""}function zd(e){return Ed(Zd("",null,null,null,[""],e=Cd(e),0,[0],e))}function Zd(e,t,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,f=0,h=0,m=0,p=1,v=1,g=1,y=0,b="",w=i,x=o,j=r,A=b;v;)switch(m=y,y=Ad()){case 40:if(108!=m&&58==cd(A,d-1)){-1!=ld(A+=ad(_d(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:A+=_d(y);break;case 9:case 10:case 13:case 32:A+=Td(m);break;case 92:A+=Md(Od()-1,7);continue;case 47:switch(Sd()){case 42:case 47:hd(Gd(Nd(Ad(),Od()),t,n),l);break;default:A+="/"}break;case 123*p:a[c++]=dd(A)*g;case 125*p:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+u:-1==g&&(A=ad(A,/\f/g,"")),h>0&&dd(A)-d&&hd(h>32?Yd(A+";",r,n,d-1):Yd(ad(A," ","")+";",r,n,d-2),l);break;case 59:A+=";";default:if(hd(j=qd(A,t,n,c,u,i,a,b,w=[],x=[],d),o),123===y)if(0===u)Zd(A,t,j,j,w,o,d,a,x);else switch(99===f&&110===cd(A,3)?100:f){case 100:case 108:case 109:case 115:Zd(e,j,j,r&&hd(qd(e,j,j,0,0,i,a,b,i,w=[],d),x),i,x,d,a,r?w:x);break;default:Zd(A,j,j,j,[""],x,0,a,x)}}c=u=h=0,p=g=1,b=A="",d=s;break;case 58:d=1+dd(A),h=m;default:if(p<1)if(123==y)--p;else if(125==y&&0==p++&&125==jd())continue;switch(A+=id(y),y*p){case 38:g=u>0?1:(A+="\f",-1);break;case 44:a[c++]=(dd(A)-1)*g,g=1;break;case 64:45===Sd()&&(A+=_d(Ad())),f=Sd(),u=d=dd(b=A+=Dd(Od())),y++;break;case 45:45===m&&2==dd(A)&&(p=0)}}return o}function qd(e,t,n,r,i,o,s,a,l,c,u){for(var d=i-1,f=0===i?o:[""],h=fd(f),m=0,p=0,v=0;m<r;++m)for(var g=0,y=ud(e,d+1,d=rd(p=s[m])),b=e;g<h;++g)(b=sd(p>0?f[g]+" "+y:ad(y,/&\f/g,f[g])))&&(l[v++]=b);return wd(e,t,n,0===i?$d:a,l,c,u)}function Gd(e,t,n){return wd(e,t,n,Vd,id(yd),ud(e,2,-2),0)}function Yd(e,t,n,r){return wd(e,t,n,Bd,ud(e,0,r),ud(e,r+1,-1),r)}var Xd=function(e,t,n){for(var r=0,i=0;r=i,i=Sd(),38===r&&12===i&&(t[n]=1),!Pd(i);)Ad();return kd(e,gd)},Kd=function(e,t){return Ed(function(e,t){var n=-1,r=44;do{switch(Pd(r)){case 0:38===r&&12===Sd()&&(t[n]=1),e[n]+=Xd(gd-1,t,n);break;case 2:e[n]+=_d(r);break;case 4:if(44===r){e[++n]=58===Sd()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=id(r)}}while(r=Ad());return e}(Cd(e),t))},Qd=new WeakMap,Jd=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Qd.get(n))&&!r){Qd.set(e,!0);for(var i=[],o=Kd(t,i),s=n.props,a=0,l=0;a<o.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=i[a]?o[a].replace(/&\f/g,s[c]):s[c]+" "+o[a]}}},ef=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function tf(e,t){switch(function(e,t){return 45^cd(e,0)?(((t<<2^cd(e,0))<<2^cd(e,1))<<2^cd(e,2))<<2^cd(e,3):0}(e,t)){case 5103:return Fd+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Fd+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fd+e+Rd+e+Ld+e+e;case 6828:case 4268:return Fd+e+Ld+e+e;case 6165:return Fd+e+Ld+"flex-"+e+e;case 5187:return Fd+e+ad(e,/(\w+).+(:[^]+)/,Fd+"box-$1$2"+Ld+"flex-$1$2")+e;case 5443:return Fd+e+Ld+"flex-item-"+ad(e,/flex-|-self/,"")+e;case 4675:return Fd+e+Ld+"flex-line-pack"+ad(e,/align-content|flex-|-self/,"")+e;case 5548:return Fd+e+Ld+ad(e,"shrink","negative")+e;case 5292:return Fd+e+Ld+ad(e,"basis","preferred-size")+e;case 6060:return Fd+"box-"+ad(e,"-grow","")+Fd+e+Ld+ad(e,"grow","positive")+e;case 4554:return Fd+ad(e,/([^-])(transform)/g,"$1"+Fd+"$2")+e;case 6187:return ad(ad(ad(e,/(zoom-|grab)/,Fd+"$1"),/(image-set)/,Fd+"$1"),e,"")+e;case 5495:case 3959:return ad(e,/(image-set\([^]*)/,Fd+"$1$`$1");case 4968:return ad(ad(e,/(.+:)(flex-)?(.*)/,Fd+"box-pack:$3"+Ld+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fd+e+e;case 4095:case 3583:case 4068:case 2532:return ad(e,/(.+)-inline(.+)/,Fd+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(dd(e)-1-t>6)switch(cd(e,t+1)){case 109:if(45!==cd(e,t+4))break;case 102:return ad(e,/(.+:)(.+)-([^]+)/,"$1"+Fd+"$2-$3$1"+Rd+(108==cd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ld(e,"stretch")?tf(ad(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==cd(e,t+1))break;case 6444:switch(cd(e,dd(e)-3-(~ld(e,"!important")&&10))){case 107:return ad(e,":",":"+Fd)+e;case 101:return ad(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Fd+(45===cd(e,14)?"inline-":"")+"box$3$1"+Fd+"$2$3$1"+Ld+"$2box$3")+e}break;case 5936:switch(cd(e,t+11)){case 114:return Fd+e+Ld+ad(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fd+e+Ld+ad(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fd+e+Ld+ad(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Fd+e+Ld+e+e}return e}var nf=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Bd:e.return=tf(e.value,e.length);break;
vendor: 8,909 bytes, line 2
2case Ud:return Hd([xd(e,{value:ad(e.value,"@","@"+Fd)})],r);case $d:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Hd([xd(e,{props:[ad(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Hd([xd(e,{props:[ad(t,/:(plac\w+)/,":"+Fd+"input-$1")]}),xd(e,{props:[ad(t,/:(plac\w+)/,":-moz-$1")]}),xd(e,{props:[ad(t,/:(plac\w+)/,Ld+"input-$1")]})],r)}return""})}}],rf=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,i,o=e.stylisPlugins||nf,s={},a=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)});var l,c,u,d,f=[Wd,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[Jd,ef].concat(o,f),u=fd(c),function(e,t,n,r){for(var i="",o=0;o<u;o++)i+=c[o](e,t,n,r)||"";return i});i=function(e,t,n,r){l=n,Hd(zd(e?e+"{"+t.styles+"}":t.styles),h),r&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new nd({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return m.sheet.hydrate(a),m};function of(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var sf=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},af=function(e,t,n){sf(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}};var lf={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function cf(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var uf=/[A-Z]|^ms/g,df=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ff=function(e){return 45===e.charCodeAt(1)},hf=function(e){return null!=e&&"boolean"!=typeof e},mf=cf(function(e){return ff(e)?e:e.replace(uf,"-$&").toLowerCase()}),pf=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(df,function(e,t,n){return gf={name:t,styles:n,next:gf},t})}return 1===lf[e]||ff(e)||"number"!=typeof t||0===t?t:t+"px"};function vf(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return gf={name:i.name,styles:i.styles,next:gf},i.name;var o=n;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)gf={name:s.name,styles:s.styles,next:gf},s=s.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=vf(e,t,n[i])+";";else for(var o in n){var s=n[o];if("object"!=typeof s){var a=s;null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":hf(a)&&(r+=mf(o)+":"+pf(o,a)+";")}else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var l=vf(e,t,s);switch(o){case"animation":case"animationName":r+=mf(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}else for(var c=0;c<s.length;c++)hf(s[c])&&(r+=mf(o)+":"+pf(o,s[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var a=gf,l=n(e);return gf=a,vf(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var gf,yf=/label:\s*([^\s;{]+)\s*(;|$)/g;function bf(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";gf=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=vf(n,t,o)):i+=o[0];for(var s=1;s<e.length;s++){if(i+=vf(n,t,e[s]),r)i+=o[s]}yf.lastIndex=0;for(var a,l="";null!==(a=yf.exec(i));)l+="-"+a[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:gf}}var wf=!!j.useInsertionEffect&&j.useInsertionEffect,xf=wf||function(e){return e()},jf=(wf||x.useLayoutEffect,x.createContext("undefined"!=typeof HTMLElement?rf({key:"css"}):null)),Af=(jf.Provider,function(e){return(0,x.forwardRef)(function(t,n){var r=(0,x.useContext)(jf);return e(t,r,n)})}),Sf=x.createContext({});var Of={}.hasOwnProperty,kf="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Pf=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return sf(t,n,r),xf(function(){return af(t,n,r)}),null},Cf=Af(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[kf],o=[r],s="";"string"==typeof e.className?s=of(t.registered,o,e.className):null!=e.className&&(s=e.className+" ");var a=bf(o,void 0,x.useContext(Sf));s+=t.key+"-"+a.name;var l={};for(var c in e)Of.call(e,c)&&"css"!==c&&c!==kf&&(l[c]=e[c]);return l.className=s,n&&(l.ref=n),x.createElement(x.Fragment,null,x.createElement(Pf,{cache:t,serialized:a,isStringTag:"string"==typeof i}),x.createElement(i,l))}),Ef=(n(4146),function(e,t){var n=arguments;if(null==t||!Of.call(t,"css"))return x.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=Cf,i[1]=function(e,t){var n={};for(var r in t)Of.call(t,r)&&(n[r]=t[r]);return n[kf]=e,n}(e,t);for(var o=2;o<r;o++)i[o]=n[o];return x.createElement.apply(null,i)});!function(e){var t;t||(t=e.JSX||(e.JSX={}))}(Ef||(Ef={}));function _f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bf(t)}var Tf=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var s=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))s=e(o);else for(var a in s="",o)o[a]&&a&&(s&&(s+=" "),s+=a);break;default:s=o}s&&(i&&(i+=" "),i+=s)}}return i};var Mf=function(e){var t=e.cache,n=e.serializedArr;return xf(function(){for(var e=0;e<n.length;e++)af(t,n[e],!1)}),null},If=Af(function(e,t){var n=[],r=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var o=bf(r,t.registered);return n.push(o),sf(t,o,!1),t.key+"-"+o.name},i={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return function(e,t,n){var r=[],i=of(e,r,n);return r.length<2?n:i+t(r)}(t.registered,r,Tf(n))},theme:x.useContext(Sf)},o=e.children(i);return x.createElement(x.Fragment,null,x.createElement(Mf,{cache:t,serializedArr:n}),o)});var Nf=n(98587);function Df(e,t){if(null==e)return{};var n,r,i=(0,Nf.A)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Lf=n(82284),Rf=n(79132);function Ff(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Vf=n(49922);function $f(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,(0,Vf.A)(r.key),r)}}function Bf(e,t,n){return t&&$f(e.prototype,t),n&&$f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Uf=n(63662);function Hf(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&&(0,Uf.A)(e,t)}var Wf=n(64467),zf=n(40961);function Zf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qf(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 Gf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 10,793 bytes, line 2
2t%2?qf(Object(n),!0).forEach(function(t){Zf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Yf(e)}function Xf(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Kf(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 Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=Yf(e);if(t){var i=Yf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Xf(this,n)}}var Qf=function(){};function Jf(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function eh(e,t,n){var r=[n];if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&r.push("".concat(Jf(e,i)));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var th=function(e){return Array.isArray(e)?e.filter(Boolean):"object"===(0,Lf.A)(e)&&null!==e?[e]:[]},nh=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Gf({},Df(e,["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"]))};function rh(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function ih(e){return rh(e)?window.pageYOffset:e.scrollTop}function oh(e,t){rh(e)?window.scrollTo(0,t):e.scrollTop=t}function sh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Qf,i=ih(e),o=t-i,s=0;!function t(){var a,l=o*((a=(a=s+=10)/n-1)*a*a+1)+i;oh(e,l),s<n?window.requestAnimationFrame(t):r(e)}()}function ah(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var lh=!1,ch={get passive(){return lh=!0}},uh="undefined"!=typeof window?window:{};uh.addEventListener&&uh.removeEventListener&&(uh.addEventListener("p",Qf,ch),uh.removeEventListener("p",Qf,!1));var dh=lh;function fh(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,s=e.isFixedPosition,a=e.theme.spacing,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,i=document.documentElement;if("fixed"===t.position)return i;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return i}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u=l.getBoundingClientRect().height,d=n.getBoundingClientRect(),f=d.bottom,h=d.height,m=d.top,p=n.offsetParent.getBoundingClientRect().top,v=window.innerHeight,g=ih(l),y=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),w=p-b,x=v-m,j=w+g,A=u-g-m,S=f-v+g+y,O=g+m-b,k=160;switch(i){case"auto":case"bottom":if(x>=h)return{placement:"bottom",maxHeight:t};if(A>=h&&!s)return o&&sh(l,S,k),{placement:"bottom",maxHeight:t};if(!s&&A>=r||s&&x>=r)return o&&sh(l,S,k),{placement:"bottom",maxHeight:s?x-y:A-y};if("auto"===i||s){var P=t,C=s?w:j;return C>=r&&(P=Math.min(C-y-a.controlHeight,t)),{placement:"top",maxHeight:P}}if("bottom"===i)return o&&oh(l,S),{placement:"bottom",maxHeight:t};break;case"top":if(w>=h)return{placement:"top",maxHeight:t};if(j>=h&&!s)return o&&sh(l,O,k),{placement:"top",maxHeight:t};if(!s&&j>=r||s&&w>=r){var E=t;return(!s&&j>=r||s&&w>=r)&&(E=s?w-b:j-b),o&&sh(l,O,k),{placement:"top",maxHeight:E}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var hh=function(e){return"auto"===e?"bottom":e},mh=(0,x.createContext)({getPortalPlacement:null}),ph=function(e){Hf(n,e);var t=Kf(n);function n(){var e;Ff(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).state={maxHeight:e.props.maxMenuHeight,placement:null},e.getPlacement=function(t){var n=e.props,r=n.minMenuHeight,i=n.maxMenuHeight,o=n.menuPlacement,s=n.menuPosition,a=n.menuShouldScrollIntoView,l=n.theme;if(t){var c="fixed"===s,u=fh({maxHeight:i,menuEl:t,minHeight:r,placement:o,shouldScroll:a&&!c,isFixedPosition:c,theme:l}),d=e.context.getPortalPlacement;d&&d(u),e.setState(u)}},e.getUpdatedProps=function(){var t=e.props.menuPlacement,n=e.state.placement||hh(t);return Gf(Gf({},e.props),{},{placement:n,maxHeight:e.state.maxHeight})},e}return Bf(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(x.Component);ph.contextType=mh;var vh=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},gh=vh,yh=vh,bh=function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps;return Ef("div",(0,td.A)({css:i("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},o),t)};bh.defaultProps={children:"No options"};var wh=function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps;return Ef("div",(0,td.A)({css:i("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},o),t)};wh.defaultProps={children:"Loading..."};var xh,jh=function(e){Hf(n,e);var t=Kf(n);function n(){var e;Ff(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).state={placement:null},e.getPortalPlacement=function(t){var n=t.placement;n!==hh(e.props.menuPlacement)&&e.setState({placement:n})},e}return Bf(n,[{key:"render",value:function(){var e=this.props,t=e.appendTo,n=e.children,r=e.className,i=e.controlElement,o=e.cx,s=e.innerProps,a=e.menuPlacement,l=e.menuPosition,c=e.getStyles,u="fixed"===l;if(!t&&!u||!i)return null;var d=this.state.placement||hh(a),f=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),h=u?0:window.pageYOffset,m={offset:f[d]+h,position:l,rect:f},p=Ef("div",(0,td.A)({css:c("menuPortal",m),className:o({"menu-portal":!0},r)},s),n);return Ef(mh.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},t?(0,zf.createPortal)(p,t):p)}}]),n}(x.Component);var Ah,Sh,Oh={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},kh=function(e){var t=e.size,n=Df(e,["size"]);return Ef("svg",(0,td.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Oh},n))},Ph=function(e){return Ef(kh,(0,td.A)({size:20},e),Ef("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Ch=function(e){return Ef(kh,(0,td.A)({size:20},e),Ef("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Eh=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,i=n.colors;return{label:"indicatorContainer",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?i.neutral80:i.neutral40}}},_h=Eh,Th=Eh,Mh=function(){var e=_f.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(xh||(Ah=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],Sh||(Sh=Ah.slice(0)),xh=Object.freeze(Object.defineProperties(Ah,{raw:{value:Object.freeze(Sh)}})))),Ih=function(e){var t=e.delay,n=e.offset;return Ef("span",{css:_f({animation:"".concat(Mh," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Nh=function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.innerProps,o=e.isRtl;return Ef("div",(0,td.A)({css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)},i),Ef(Ih,{delay:0,offset:o}),Ef(Ih,{delay:160,offset:!0}),Ef(Ih,{delay:320,offset:!o}))};Nh.defaultProps={size:4};var Dh=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},Lh=function(e){var t=e.children,n=e.innerProps;return Ef("div",n,t)},Rh=Lh,Fh=Lh;var Vh=function(e){var t=e.children,n=e.className,r=e.components,i=e.cx,o=e.data,s=e.getStyles,a=e.innerProps,l=e.isDisabled,c=e.removeProps,u=e.selectProps,d=r.Container,f=r.Label,h=r.Remove;return Ef(If,null,function(r){var m=r.css,p=r.cx;return Ef(d,{data:o,innerProps:Gf({className:p(m(s("multiValue",e)),i({"multi-value":!0,"multi-value--is-disabled":l},n))},a),selectProps:u},Ef(f,{data:o,innerProps:{className:p(m(s("multiValueLabel",e)),i({"multi-value__label":!0},n))},selectProps:u},t),Ef(h,{data:o,innerProps:Gf({className:p(m(s("multiValueRemove",e)),i({"multi-value__remove":!0},n))},c),selectProps:u}))})};Vh.defaultProps={cropWithEllipsis:!0};var $h={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps;return Ef("div",(0,td.A)({css:i("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)},o),t||Ef(Ph,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.className,o=e.isDisabled,s=e.isFocused,a=e.innerRef,l=e.innerProps,c=e.menuIsOpen;return Ef("div",(0,td.A)({ref:a,css:r("control",e),className:n({control:!0,"control--is-disabled":o,"control--is-focused":s,"control--menu-is-open":c},i)},l),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps;return Ef("div",(0,td.A)({css:i("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)},o),t||Ef(Ch,null))},DownChevron:Ch,CrossIcon:Ph,Group:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Ef("div",(0,td.A)({css:i("group",e),className:r({group:!0}
2,n)},a),Ef(o,(0,td.A)({},s,{selectProps:u,theme:c,getStyles:i,cx:r}),l),Ef("div",null,t))},GroupHeading:function(e){var t=e.getStyles,n=e.cx,r=e.className,i=nh(e);i.data;var o=Df(i,["data"]);return Ef("div",(0,td.A)({css:t("groupHeading",e),className:n({"group-heading":!0},r)},o))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.innerProps,o=e.getStyles;return Ef("div",(0,td.A)({css:o("indicatorsContainer",e),className:r({indicators:!0},n)},i),t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,i=e.innerProps;return Ef("span",(0,td.A)({},i,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,i=nh(e),o=i.innerRef,s=i.isDisabled,a=i.isHidden,l=Df(i,["innerRef","isDisabled","isHidden"]);return Ef("div",{css:r("input",e)},Ef(Rf.A,(0,td.A)({className:n({input:!0},t),inputRef:o,inputStyle:Dh(a),disabled:s},l)))},LoadingIndicator:Nh,Menu:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerRef,s=e.innerProps;return Ef("div",(0,td.A)({css:i("menu",e),className:r({menu:!0},n),ref:o},s),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps,s=e.innerRef,a=e.isMulti;return Ef("div",(0,td.A)({css:i("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":a},n),ref:s},o),t)},MenuPortal:jh,LoadingMessage:wh,NoOptionsMessage:bh,MultiValue:Vh,MultiValueContainer:Rh,MultiValueLabel:Fh,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Ef("div",n,t||Ef(Ph,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.isDisabled,s=e.isFocused,a=e.isSelected,l=e.innerRef,c=e.innerProps;return Ef("div",(0,td.A)({css:i("option",e),className:r({option:!0,"option--is-disabled":o,"option--is-focused":s,"option--is-selected":a},n),ref:l},c),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps;return Ef("div",(0,td.A)({css:i("placeholder",e),className:r({placeholder:!0},n)},o),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.innerProps,s=e.isDisabled,a=e.isRtl;return Ef("div",(0,td.A)({css:i("container",e),className:r({"--is-disabled":s,"--is-rtl":a},n)},o),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,i=e.getStyles,o=e.isDisabled,s=e.innerProps;return Ef("div",(0,td.A)({css:i("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":o},n)},s),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,i=e.innerProps,o=e.isMulti,s=e.getStyles,a=e.hasValue;return Ef("div",(0,td.A)({css:s("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":a},n)},i),t)}};function Bh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Uh(e){return function(e){if(Array.isArray(e))return Bh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Bh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bh(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Hh=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Wh(e,t){return e===t||!(!Hh(e)||!Hh(t))}function zh(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Wh(e[n],t[n]))return!1;return!0}const Zh=function(e,t){var n;void 0===t&&(t=zh);var r,i=[],o=!1;return function(){for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];return o&&n===this&&t(s,i)||(r=e.apply(this,s),o=!0,n=this,i=s),r}};for(var qh={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Gh=function(e){return Ef("span",(0,td.A)({css:qh},e))},Yh={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.isDisabled,i=e.tabSelectsValue;switch(e.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.isDisabled;
vendor: 12,116 bytes, line 2
2switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=void 0===n?{}:n,i=e.options,o=e.label,s=void 0===o?"":o,a=e.selectValue,l=e.isDisabled,c=e.isSelected,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(s," focused, ").concat(u(a,r),".");if("menu"===t){var d=l?" disabled":"",f="".concat(c?"selected":"focused").concat(d);return"option ".concat(s," ").concat(f,", ").concat(u(i,r),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Xh=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,s=e.selectValue,a=e.selectProps,l=a.ariaLiveMessages,c=a.getOptionLabel,u=a.inputValue,d=a.isMulti,f=a.isOptionDisabled,h=a.isSearchable,m=a.menuIsOpen,p=a.options,v=a.screenReaderStatus,g=a.tabSelectsValue,y=a["aria-label"],b=a["aria-live"],w=(0,x.useMemo)(function(){return Gf(Gf({},Yh),l||{})},[l]),j=(0,x.useMemo)(function(){var e,n="";if(t&&w.onChange){var r=t.option,i=t.removedValue,o=t.value,s=i||r||(e=o,Array.isArray(e)?null:e),a=Gf({isDisabled:s&&f(s),label:s?c(s):""},t);n=w.onChange(a)}return n},[t,f,c,w]),A=(0,x.useMemo)(function(){var e="",t=n||r,i=!!(n&&s&&s.includes(n));if(t&&w.onFocus){var o={focused:t,label:c(t),isDisabled:f(t),isSelected:i,options:p,context:t===n?"menu":"value",selectValue:s};e=w.onFocus(o)}return e},[n,r,c,f,w,p,s]),S=(0,x.useMemo)(function(){var e="";if(m&&p.length&&w.onFilter){var t=v({count:i.length});e=w.onFilter({inputValue:u,resultsMessage:t})}return e},[i,u,m,w,p,v]),O=(0,x.useMemo)(function(){var e="";if(w.guidance){var t=r?"value":m?"menu":"input";e=w.guidance({"aria-label":y,context:t,isDisabled:n&&f(n),isMulti:d,isSearchable:h,tabSelectsValue:g})}return e},[y,n,r,d,f,h,m,w,g]),k="".concat(A," ").concat(S," ").concat(O);return Ef(Gh,{"aria-live":b,"aria-atomic":"false","aria-relevant":"additions text"},o&&Ef(x.Fragment,null,Ef("span",{id:"aria-selection"},j),Ef("span",{id:"aria-context"},k)))},Kh=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Qh=new RegExp("["+Kh.map(function(e){return e.letters}).join("")+"]","g"),Jh={},em=0;em<Kh.length;em++)for(var tm=Kh[em],nm=0;nm<tm.letters.length;nm++)Jh[tm.letters[nm]]=tm.base;var rm=function(e){return e.replace(Qh,function(e){return Jh[e]})},im=Zh(rm),om=function(e){return e.replace(/^\s+|\s+$/g,"")},sm=function(e){return"".concat(e.label," ").concat(e.value)};function am(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef;e.emotion;var n=Df(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return Ef("input",(0,td.A)({ref:t},n,{css:_f({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"","")}))}var lm=["boxSizing","height","overflow","paddingRight","position"],cm={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function um(e){e.preventDefault()}function dm(e){e.stopPropagation()}function fm(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function hm(){return"ontouchstart"in window||navigator.maxTouchPoints}var mm=!("undefined"==typeof window||!window.document||!window.document.createElement),pm=0,vm={capture:!1,passive:!1};var gm=function(){return document.activeElement&&document.activeElement.blur()},ym={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function bm(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,s=(0,x.useRef)(!1),a=(0,x.useRef)(!1),l=(0,x.useRef)(0),c=(0,x.useRef)(null),u=(0,x.useCallback)(function(e,t){if(null!==c.current){var l=c.current,u=l.scrollTop,d=l.scrollHeight,f=l.clientHeight,h=c.current,m=t>0,p=d-f-u,v=!1;p>t&&s.current&&(r&&r(e),s.current=!1),m&&a.current&&(o&&o(e),a.current=!1),m&&t>p?(n&&!s.current&&n(e),h.scrollTop=d,v=!0,s.current=!0):!m&&-t>u&&(i&&!a.current&&i(e),h.scrollTop=0,v=!0,a.current=!0),v&&function(e){e.preventDefault(),e.stopPropagation()}(e)}},[]),d=(0,x.useCallback)(function(e){u(e,e.deltaY)},[u]),f=(0,x.useCallback)(function(e){l.current=e.changedTouches[0].clientY},[]),h=(0,x.useCallback)(function(e){var t=l.current-e.changedTouches[0].clientY;u(e,t)},[u]),m=(0,x.useCallback)(function(e){if(e){var t=!!dh&&{passive:!1};"function"==typeof e.addEventListener&&e.addEventListener("wheel",d,t),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",f,t),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",h,t)}},[h,f,d]),p=(0,x.useCallback)(function(e){e&&("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",d,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",f,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",h,!1))},[h,f,d]);return(0,x.useEffect)(function(){if(t){var e=c.current;return m(e),function(){p(e)}}},[t,m,p]),function(e){c.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=(0,x.useRef)({}),o=(0,x.useRef)(null),s=(0,x.useCallback)(function(e){if(mm){var t=document.body,n=t&&t.style;if(r&&lm.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&pm<1){var o=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+o||0;Object.keys(cm).forEach(function(e){var t=cm[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&hm()&&(t.addEventListener("touchmove",um,vm),e&&(e.addEventListener("touchstart",fm,vm),e.addEventListener("touchmove",dm,vm))),pm+=1}},[]),a=(0,x.useCallback)(function(e){if(mm){var t=document.body,n=t&&t.style;pm=Math.max(pm-1,0),r&&pm<1&&lm.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&hm()&&(t.removeEventListener("touchmove",um,vm),e&&(e.removeEventListener("touchstart",fm,vm),e.removeEventListener("touchmove",dm,vm)))}},[]);return(0,x.useEffect)(function(){if(t){var e=o.current;return s(e),function(){a(e)}}},[t,s,a]),function(e){o.current=e}}({isEnabled:n});return Ef(x.Fragment,null,n&&Ef("div",{onClick:gm,css:ym}),t(function(e){i(e),o(e)}))}var wm={clearIndicator:Th,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,i=r.colors,o=r.borderRadius,s=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?i.neutral5:i.neutral0,borderColor:t?i.neutral10:n?i.primary:i.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(i.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?i.primary:i.neutral30}}},dropdownIndicator:_h,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,i=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,i=n.
2colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:i.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,i=r.colors,o=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*o,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:yh,menu:function(e){var t,n=e.placement,r=e.theme,i=r.borderRadius,o=r.spacing,s=r.colors;return t={label:"menu"},(0,Wf.A)(t,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),(0,Wf.A)(t,"backgroundColor",s.neutral0),(0,Wf.A)(t,"borderRadius",i),(0,Wf.A)(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),(0,Wf.A)(t,"marginBottom",o.menuGutter),(0,Wf.A)(t,"marginTop",o.menuGutter),(0,Wf.A)(t,"position","absolute"),(0,Wf.A)(t,"width","100%"),(0,Wf.A)(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,i=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,i=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&i.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},noOptionsMessage:gh,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,i=e.theme,o=i.spacing,s=i.colors;return{label:"option",backgroundColor:r?s.primary:n?s.primary25:"transparent",color:t?s.neutral20:r?s.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?s.primary:s.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,i=n.colors;return{label:"singleValue",color:t?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var xm={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},jm={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ah(),captureMenuScroll:!ah(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e){return function(t,n){var r=Gf({ignoreCase:!0,ignoreAccents:!0,stringify:sm,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,s=r.stringify,a=r.trim,l=r.matchFrom,c=a?om(n):n,u=a?om(s(t)):s(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=im(c),u=rm(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}}(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0};function Am(e,t,n,r){return{type:"option",data:t,isDisabled:Em(e,t,n),isSelected:_m(e,t,n),label:Pm(e,t),value:Cm(e,t),index:r}}function Sm(e,t){return e.options.map(function(n,r){if(n.options){var i=n.options.map(function(n,r){return Am(e,n,t,r)}).filter(function(t){return km(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Am(e,n,t,r);return km(e,o)?o:void 0}).filter(function(e){return!!e})}
vendor: 15,372 bytes, line 2
2function Om(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Uh(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function km(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,s=t.label,a=t.value;return(!Mm(e)||!o)&&Tm(e,{label:s,value:a,data:i},r)}var Pm=function(e,t){return e.getOptionLabel(t)},Cm=function(e,t){return e.getOptionValue(t)};function Em(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function _m(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Cm(e,t);return n.some(function(t){return Cm(e,t)===r})}function Tm(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Mm=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Im=1,Nm=function(e){Hf(n,e);var t=Kf(n);function n(e){var r;return Ff(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",n=arguments.length>2?arguments[2]:void 0,i=r.props,o=i.closeMenuOnSelect,s=i.isMulti;r.onInputChange("",{action:"set-value"}),o&&(r.setState({inputIsHiddenAfterUpdate:!s}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,s=r.state.selectValue,a=i&&r.isOptionSelected(e,s),l=r.isOptionDisabled(e,s);if(a){var c=r.getOptionValue(e);r.setValue(s.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",name:o});i?r.setValue([].concat(Uh(s),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),s=t?o:o[0]||null;r.onChange(s,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(r.props.isMulti?[]:null,{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=e?i:i[0]||null;r.onChange(o,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return eh.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Pm(r.props,e)},r.getOptionValue=function(e){return Cm(r.props,e)},r.getStyles=function(e,t){var n=wm[e](t);n.boxSizing="border-box";var i=r.props.styles[e];return i?i(n,t):n},r.getElementId=function(e){return"".concat(r.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Gf(Gf({},$h),e.components);var e},r.buildCategorizedOptions=function(){return Sm(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Om(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Gf({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault(),e.stopPropagation()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.stopPropagation(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&rh(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(t,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){r.blockOptionHover||r.state.focusedOption===e||r.setState({focusedOption:e})},r.shouldHideSelectedOptions=function(){return Mm(r.props)},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,h=r.state,m=h.focusedOption,p=h.focusedValue,v=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;r.focusValue("previous");break;case"ArrowRight":if(!n||s)return;r.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(p)r.removeValue(p);else{if(!i)return;n?r.popValue():a&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||f&&r.isOptionSelected(m,v))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):a&&o&&r.clearValue();break;case" ":if(s)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++Im),r.state.selectValue=th(e.value),r}return Bf(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(e){var t,n,r,i,o,s=this.props,a=s.isDisabled,l=s.menuIsOpen,c=this.state.isFocused;(c&&!a&&e.isDisabled||c&&l&&!e.menuIsOpen)&&this.focusInput(),c&&a&&!e.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,n=this.focusedOptionRef,r=t.getBoundingClientRect(),i=n.getBoundingClientRect(),o=n.offsetHeight/3,i.bottom+o>r.bottom?oh(t,Math.min(n.offsetTop+n.clientHeight-t.offsetHeight+o,t.scrollHeight)):i.top-o<r.top&&oh(t,Math.max(n.offsetTop-o,0)),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),s="first"===e?0:o.length-1;if(!this.props.isMulti){var a=o.indexOf(r[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[s]},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(s=i+1)}this.setState({inputIsHidden:-1!==s,focusedValue:n[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(xm):Gf(Gf({},xm),this.props.theme):xm}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,i=this.selectOption,o=this.setValue,s=this.props,a=s.isMulti,l=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:a,isRtl:l,options:c,selectOption:i,selectProps:s,setValue:o,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Em(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return _m(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Tm(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,o=e.tabIndex,s=e.form,a=this.getComponents().Input,l=this.state.inputIsHidden,c=this.commonProps,u=r||this.getElementId("input"),d={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};return n?x.createElement(a,(0,td.A)({},c,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:u,innerRef:this.getInputRef,isDisabled:t,isHidden:l,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:o,form:s,type:"text",value:i},d)):x.createElement(am,(0,td.A)({id:u,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Qf,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:o,form:s,value:""},d))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,o=t.MultiValueRemove,s=t.SingleValue,a=t.Placeholder,l=this.commonProps,c=this.props,u=c.controlShouldRenderValue,d=c.isDisabled,f=c.isMulti,h=c.inputValue,m=c.placeholder,p=this.state,v=p.selectValue,g=p.focusedValue,y=p.isFocused;if(!this.hasValue()||!u)return h?null:x.createElement(a,(0,td.A)({},l,{key:"placeholder",isDisabled:d,isFocused:y}),m);if(f){var b=v.map(function(t,s){var a=t===g;return x.createElement(n,(0,td.A)({},l,{components:{Container:r,Label:i,Remove:o},isFocused:a,isDisabled:d,key:"".concat(e.getOptionValue(t)).concat(s),index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))});return b}if(h)return null;var w=v[0];return x.createElement(s,(0,td.A)({},l,{data:w,isDisabled:d}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().
2ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return x.createElement(e,(0,td.A)({},t,{innerProps:s,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!e||!i)return null;return x.createElement(e,(0,td.A)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:o}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,o=this.state.isFocused;return x.createElement(n,(0,td.A)({},r,{isDisabled:i,isFocused:o}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return x.createElement(e,(0,td.A)({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,o=t.MenuList,s=t.MenuPortal,a=t.LoadingMessage,l=t.NoOptionsMessage,c=t.Option,u=this.commonProps,d=this.state.focusedOption,f=this.props,h=f.captureMenuScroll,m=f.inputValue,p=f.isLoading,v=f.loadingMessage,g=f.minMenuHeight,y=f.maxMenuHeight,b=f.menuIsOpen,w=f.menuPlacement,j=f.menuPosition,A=f.menuPortalTarget,S=f.menuShouldBlockScroll,O=f.menuShouldScrollIntoView,k=f.noOptionsMessage,P=f.onMenuScrollToTop,C=f.onMenuScrollToBottom;if(!b)return null;var E,_=function(t,n){var r=t.type,i=t.data,o=t.isDisabled,s=t.isSelected,a=t.label,l=t.value,f=d===i,h=o?void 0:function(){return e.onOptionHover(i)},m=o?void 0:function(){return e.selectOption(i)},p="".concat(e.getElementId("option"),"-").concat(n),v={id:p,onClick:m,onMouseMove:h,onMouseOver:h,tabIndex:-1};return x.createElement(c,(0,td.A)({},u,{innerProps:v,data:i,isDisabled:o,isSelected:s,key:p,label:a,type:r,value:l,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())E=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,o=t.options,s=t.index,a="".concat(e.getElementId("group"),"-").concat(s),l="".concat(a,"-heading");return x.createElement(n,(0,td.A)({},u,{key:a,data:i,options:o,Heading:r,headingProps:{id:l,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return _(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return _(t,"".concat(t.index))});else if(p){var T=v({inputValue:m});if(null===T)return null;E=x.createElement(a,u,T)}else{var M=k({inputValue:m});if(null===M)return null;E=x.createElement(l,u,M)}var I={minMenuHeight:g,maxMenuHeight:y,menuPlacement:w,menuPosition:j,menuShouldScrollIntoView:O},N=x.createElement(ph,(0,td.A)({},u,I),function(t){var n=t.ref,r=t.placerProps,s=r.placement,a=r.maxHeight;return x.createElement(i,(0,td.A)({},u,I,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:p,placement:s}),x.createElement(bm,{captureEnabled:h,onTopArrive:P,onBottomArrive:C,lockEnabled:S},function(t){return x.createElement(o,(0,td.A)({},u,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:p,maxHeight:a,focusedOption:d}),E)}))});return A||"fixed"===j?x.createElement(s,(0,td.A)({},u,{appendTo:A,controlElement:this.controlRef,menuPlacement:w,menuPosition:j}),N):N}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,o=t.name,s=this.state.selectValue;if(o&&!r){if(i){if(n){var a=s.map(function(t){return e.getOptionValue(t)}).join(n);return x.createElement("input",{name:o,type:"hidden",value:a})}var l=s.length>0?s.map(function(t,n){return x.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:e.getOptionValue(t)})}):x.createElement("input",{name:o,type:"hidden"});return x.createElement("div",null,l)}var c=s[0]?this.getOptionValue(s[0]):"";return x.createElement("input",{name:o,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.isFocused,s=t.selectValue,a=this.getFocusableOptions();return x.createElement(Xh,(0,td.A)({},e,{ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:o,selectValue:s,focusableOptions:a}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,o=this.props,s=o.className,a=o.id,l=o.isDisabled,c=o.menuIsOpen,u=this.state.isFocused,d=this.commonProps=this.getCommonProps();return x.createElement(r,(0,td.A)({},d,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:u}),this.renderLiveRegion(),x.createElement(t,(0,td.A)({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:u,menuIsOpen:c}),x.createElement(i,(0,td.A)({},d,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),x.createElement(n,(0,td.A)({},d,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=e.options,s=e.value,a=e.menuIsOpen,l=e.inputValue,c={};if(n&&(s!==n.value||o!==n.options||a!==n.menuIsOpen||l!==n.inputValue)){var u=th(s),d=a?function(e,t){return Om(Sm(e,t))}(e,u):[],f=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,u):null,h=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,d);c={selectValue:u,focusedOption:h,focusedValue:f,clearFocusValueOnUpdate:!1}}var m=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{};return Gf(Gf(Gf({},c),m),{},{prevProps:e})}}]),n}(x.Component);Nm.defaultProps=jm;var Dm,Lm,Rm,Fm={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Vm=(Dm=Nm,Rm=Lm=function(e){Hf(n,e);var t=Kf(n);function n(){var e;Ff(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).select=void 0,e.state={inputValue:void 0!==e.props.inputValue?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:void 0!==e.props.menuIsOpen?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:void 0!==e.props.value?e.props.value:e.props.defaultValue},e.onChange=function(t,n){e.callProp("onChange",t,n),e.setState({value:t})},e.onInputChange=function(t,n){var r=e.callProp("onInputChange",t,n);e.setState({inputValue:void 0!==r?r:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}return Bf(n,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]}},{key:"callProp",value:function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(t=this.props)[e].apply(t,r)}}},{key:"render",value:function(){var e=this,t=this.props;t.defaultInputValue,t.defaultMenuIsOpen,t.defaultValue;var n=Df(t,["defaultInputValue","defaultMenuIsOpen","defaultValue"]);return x.createElement(Dm,(0,td.A)({},n,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(x.Component),Lm.defaultProps=Fm,Rm);const $m=Vm;var Bm=n(76075),Um=n(8689),Hm=n(61027);const Wm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,Hm.isMoment)(e)?e.format("kk:mm"):e&&t?(0,Bm.A)(e,t).format("kk:mm"):void console.error("Could not create showtime key")};const zm=function(e,t,n,r,i,o){var s=[],a=r.cinema,l=(0,Bm.A)(r.timeUtc,o),c=(0,Um.A)(l),u=Wm(l);return i.isBefore(l)&&(""!==t&&(u===t?s.push("true"):s.push("false")),""!==e&&(e===c?s.push("true"):s.push("false")),""!==n&&(a===n?s.push("true"):s.push("false"))),s};var Zm=n(12111);function qm(e){return qm="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},qm(e)}function Gm(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 Ym(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Gm(Object(n),!0).forEach(function(t){Xm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gm(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xm(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=qm(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=qm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qm(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Km=function(e){var t=e.movies,n=e.timezone,r=e.dateNow,i=e.moviesOrder,o=e.state,s=e.changeMovieTitle,a=e.performanceData,l=e.selectSettings,c=o.currentMovieOption,u=o.currentMovieDate,d=o.currentMovieShowtime,f=o.currentCinema,h=[],m=i,p=[];m.map(function(e){var n=t[e],r=(0,un.A)(n);p.push(r)});var v=Zm.uniq(p).sort();return m=Zm.filter(m,function(e){var i=t[e].performances;return 0!==Zm.filter(i,function(e){var t=a[e],i=zm(u,d,f,t,r,n),o=(0,Bm.A)(t.timeUtc,n);if(!Zm.contains(i,"false"))return r.isBefore(o)}).length}),v.map(function(e){m.map(function(n){var r=t[n],i=(0,un.A)(r);if(i===e){var o=n,s=i;h.push({value:o,label:s})}})}),(0,P.jsx)($m,Ym(Ym({},l),{},{options:h,placeholder:(0,P.jsx)(k.Ay,{id:"selectMovie"}),value:c,onChange:function(e){return function(e){if(e){var t=e.value;s(t,e)}else s("","")}(e)},menuPlacement:"top"}))};const Qm=function(e){var t,n,r,i=e.state,o=e.movies,s=e.timezone,a=e.openIframe,l=e.cinemas,c=e.performanceData,u=e.multiCinemaActive,d=i.currentMovieID,f=i.currentMovieDate,h=i.currentMovieShowtime,m=i.currentCinema,p=null,v=null;if(u){if(""!==m){var g=l[m];n=m,t=g.scope.cinemaDataProvider}}else{var y=pmkinoFrontVars.apiData.cinemas.items,b=pmkinoFrontVars.cliData.currentCinemaId,w=y[b];if(!w)return"";n=b,t=w.scope.cinemaDataProvider}if(d&&f&&h&&(u&&m||!u)){var x=o[d],j=x.alternativeLinks;r=j&&j[n],x.performances.map(function(e){var t=c[e],n=(0,Bm.A)(t.timeUtc,s);(0,Um.A)(n)===f&&Wm(n)===h&&(v=t.id,p=t.deeplinkURL)})}var A=t&&t.type===ve.Ac,S=A||p&&-1!==p.search("kinotickets.online");return r?(0,P.jsx)("div",{className:"button movie-buy-tickets-button-link-wrapper",children:(0,P.jsx)("a",{className:"movie-buy-tickets-button-link-container cursor-pointer",href:r,rel:"noreferrer",target:"_blank",children:(0,P.jsx)("span",{className:"movie-buy-tickets-button-link",children:(0,P.jsx)(k.Ay,{id:"tickets",children:"Tickets"})})})}):(p||v)&&t&&!S?(0,P.jsx)("div",{className:"button movie-buy-tickets-button-link-wrapper",children:(0,P.jsx)("a",{className:"movie-buy-tickets-button-link-container cursor-pointer",onClick:function(){a(!0,p,v,n)},rel:"noreferrer",target:"_blank",children:(0,P.jsx)("span",{className:"movie-buy-tickets-button-link",children:(0,P.jsx)(k.Ay,{id:"tickets",children:"Tickets"})})})}):(p||v)&&t&&S?(0,P.jsx)("div",{className:"button movie-buy-tickets-button-link-wrapper",children:(0,P.jsx)("a",{className:"movie-buy-tickets-button-link-container cursor-pointer",href:p,rel:"noreferrer",target:A?"_self":"_blank",children:(0,P.jsx)("span",{className:"movie-buy-tickets-button-link",children:(0,P.jsx)(k.Ay,{id:"tickets",children:"Tickets"})})})}):(0,P.jsx)("div",{className:"movie-buy-tickets-button-link-container disabled",children:(0,P.jsx)("div",{className:"movie-buy-tickets-button-link text-medium-navigation",children:(0,P.jsx)(k.Ay,{id:"selectDesiredMovie",children:"Wunschfilm auswählen"})})})};var Jm=n(24237),ep=n(12111);function tp(e){return tp="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},tp(e)}function np(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 rp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?np(Object(n),!0).forEach(function(t){ip(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):np(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ip(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=tp(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=tp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tp(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const op=function(e){var t=e.movies,n=e.timezone,r=e.dateNow,i=e.moviesOrder,o=e.state,s=e.selectSettings,a=e.changeMovieDate,l=e.performanceData,c=o.currentMovieID,u=o.currentMovieDateOption,d=o.currentMovieShowtime,f=o.currentCinema,h=[],m=[],p=(0,Jm.A)(r.clone());i.map(function(e){t[e].performances.map(function(e){var t=l[e],i=(0,Jm.A)((0,Bm.A)(t.timeUtc,n));if(i.isSameOrAfter(p))if(t.limitations&&t.limitations.visibleFrom){var o=(0,Bm.A)(t.limitations.visibleFrom,n);r.isAfter(o)&&m.push((0,Um.A)(i))}else m.push((0,Um.A)(i))})});var v=ep.uniq(m).sort();return(v=""!==c?ep.filter(v,function(e){var i=t[c].performances;return 0!==ep.filter(i,function(t){var i=l[t],o=zm(e,d,f,i,r,n),s=(0,Bm.A)(i.timeUtc,n);if(!ep.contains(o,"false")){if(i.limitations&&i.limitations.visibleFrom){var a=(0,Bm.A)(i.limitations.visibleFrom,n);return r.isAfter(a)}return r.isBefore(s)}}).length}):ep.filter(v,function(e){return 0!==ep.filter(i,function(i){var o=t[i].performances;return 0!==ep.filter(o,function(t){var i=l[t],o=zm(e,d,f,i,r,n),s=(0,Bm.A)(i.timeUtc,n);if(!ep.contains(o,"false")){if(i.limitations.visibleFrom){var a=(0,Bm.A)(i.limitations.visibleFrom,n);return r.isAfter(a)}return r.isBefore(s)}}).length}).length})).map(function(e){var t=(0,P.jsx)(M.A,{id:"performanceDates",timeString:e});h.push({value:e,label:t})}),(0,P.jsx)($m,rp(rp({},s),{},{options:h,placeholder:(0,P.jsx)(k.Ay,{id:"selectDate"}),value:u,onChange:function(e){return function(e){if(e){var t=e.value;a(t,e)}else a("","")}(e)},menuPlacement:"top"}))};var sp=n(12111);function ap(e){return ap="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},ap(e)}function lp(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 cp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lp(Object(n),!0).forEach(function(t){up(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function up(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=ap(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ap(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ap(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dp=function(e){var t=e.state,n=e.movies,r=e.timezone,i=e.dateNow,o=e.moviesOrder,s=e.selectSettings,a=e.changeMovieShowtime,l=e.performanceData,c=e.multiCinemaActive,u=t.currentMovieDate,d=t.currentMovieShowtimeOption,f=t.currentMovieID,h=t.currentCinema,m=[],p=[],v=[];o.map(function(e){n[e].performances.map(function(e){var t=l[e],n=Wm(t.timeUtc,r),o=(0,Bm.A)(t.timeUtc,r);if(i.isBefore(o))if(t.limitations.visibleFrom){var s=(0,Bm.A)(t.limitations.visibleFrom,r);i.isAfter(s)&&v.push(n)}else v.push(n)})});var g=sp.uniq(v).sort();return""!==f&&(g=sp.filter(g,function(e){var t=n[f].performances;return 0!==sp.filter(t,function(t){var n=l[t],o=zm(u,e,h,n,i,r),s=(0,Bm.A)(n.timeUtc,r);
2if(!sp.contains(o,"false")){if(u&&f&&(c&&h||!c)&&m.push(n),n.limitations.visibleFrom){var a=(0,Bm.A)(n.limitations.visibleFrom,r);return i.isAfter(a)}return i.isBefore(s)}}).length})),(g=sp.filter(g,function(e){return 0!==sp.filter(o,function(t){var o=n[t].performances;return 0!==sp.filter(o,function(t){var n=l[t],o=zm(u,e,h,n,i,r),s=(0,Bm.A)(n.timeUtc,r);if(!sp.contains(o,"false")){if(n.limitations.visibleFrom){var a=(0,Bm.A)(n.limitations.visibleFrom,r);return i.isAfter(a)}return i.isBefore(s)}}).length}).length})).map(function(e){var t=e;p.push({value:e,label:t})}),(0,P.jsx)($m,cp(cp({},s),{},{options:p,placeholder:(0,P.jsx)(k.Ay,{id:"selectTime"}),value:d,components:{Option:function(e){var t=e.innerProps,n=e.value,i=e.isSelected,o=e.isFocused,s=null,a=o?" select__option--is-focused":"",l=i?" select__option--is-selected":"";return u&&f&&(c&&h||!c)&&0!==m.length&&m.map(function(e){Wm(e.timeUtc,r)===n&&(s=sp.pluck(e.attributes,"id"))}),(0,P.jsxs)("div",cp(cp({className:"select__option custom-option css-yt9ioa-option"+a+l},t),{},{children:[(0,P.jsx)("p",{className:"text-wrapper",children:n}),s&&(0,P.jsx)(G.A,{attributes:s})]}))}},onChange:function(e){return function(e){if(e){var t=e.value;a(t,e)}else a("","")}(e)},menuPlacement:"top"}))};var fp=n(76942),hp=n(12111);function mp(e){return mp="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},mp(e)}function pp(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 vp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pp(Object(n),!0).forEach(function(t){gp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gp(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=mp(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=mp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mp(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yp=function(e){var t=e.movies,n=e.timezone,r=e.dateNow,i=e.moviesOrder,o=e.state,s=e.cinemas,a=e.cinemaPkList,l=e.performanceData,c=e.changeCinema,u=e.selectSettings,d=o.currentMovieID,f=o.currentMovieDate,h=o.currentMovieShowtime,m=o.currentCinemaOption,p=[],v=[];a.map(function(e){var t=s[e];t&&t.scope.type===wc.Cr&&!hp.contains(v,e)&&v.push(e)});var g=function(e,t){return e.sort(function(e,n){var r=t[e],i=t[n],o=r.nameDisplay,s=i.nameDisplay;return s>o?-1:s<o?1:0})}(v,s);return(g=""!==d?hp.filter(g,function(e){var i=t[d].performances;return 0!==hp.filter(i,function(t){var i=l[t],o=zm(f,h,e,i,r,n),s=(0,Bm.A)(i.timeUtc,n);if(!hp.contains(o,"false"))return r.isBefore(s)}).length}):hp.filter(g,function(e){return 0!==hp.filter(i,function(i){var o=t[i].performances;return 0!==hp.filter(o,function(t){var i=l[t],o=zm(f,h,e,i,r,n),s=(0,Bm.A)(i.timeUtc,n);if(!hp.contains(o,"false"))return r.isBefore(s)}).length}).length})).map(function(e){var t=s[e].nameDisplay;p.push({value:e,label:t})}),(0,P.jsx)($m,vp(vp({},u),{},{options:p,placeholder:(0,P.jsx)(k.Ay,{id:"selectCinema"}),value:m,onChange:function(e){return function(e){if(e){var t=e.value;c(t,e)}else c("","")}(e)},menuPlacement:"top"}))};function bp(e){return bp="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},bp(e)}function wp(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,xp(r.key),r)}}function xp(e){var t=function(e,t){if("object"!=bp(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=bp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==bp(t)?t:t+""}
2function jp(e,t,n){return t=Sp(t),function(e,t){if(t&&("object"==bp(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)}(e,Ap()?Reflect.construct(t,n||[],Sp(e).constructor):t.apply(e,n))}function Ap(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ap=function(){return!!e})()}function Sp(e){return Sp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Sp(e)}function Op(e,t){return Op=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Op(e,t)}var kp={isClearable:!0,className:"select-container",isSearchable:!1,classNamePrefix:"select"},Pp=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),jp(this,t,[e])}return 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&&Op(e,t)}(t,e),function(e,t,n){return t&&wp(e.prototype,t),n&&wp(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){var e=this.props,t=e.state,n=e.onClick,r=e.timezone,i=e.buyTicketAnimation,o=e.isMobile,s=e.cinemaPkList,a=e.multiCinemaActive,l=e.filledWithColorClass,c=e.cinemas,u=e.itemBuyTicketIsOpen,d=e.movies,f=e.moviesOrder,h=e.changeMovieShowtime,m=e.changeCinema,p=e.changeMovieDate,v=e.changeMovieTitle,g=e.openIframe,y=e.performanceData;if(!d||!r)return"";var b=u?" sub-menu-item-active":"",w=u?" is-active":"",x=i?" animation":"",j=a?" is-multi-cinema":"",A=(0,fp.A)(r),S=function(){g(!1,null,null)};return(0,P.jsx)("div",{className:"menu-item-buy-ticket-container"+x+b+j+l,children:(0,P.jsxs)("div",{className:"menu-item menu-item-buy-ticket"+b,children:[(0,P.jsxs)("a",{className:"menu-buy-ticket-button text-medium-navigation menu-item-buy-ticket-link menu-item-link cursor-pointer",onClick:function(){return n()},children:[" partly-colored-header"===l?o?(0,P.jsxs)("div",{className:"quick-ticket-icon",children:[!b&&(0,P.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150.54 62.29",children:[(0,P.jsx)("g",{id:"a"}),(0,P.jsx)("g",{id:"b",children:(0,P.jsx)("g",{id:"c",children:(0,P.jsxs)("g",{children:[(0,P.jsx)("rect",{className:"d",x:"110.36",y:"8.72",width:"9.07",height:"4.57",transform:"translate(103.83 125.9) rotate(-89.97)"}),(0,P.jsx)("polygon",{className:"d",points:"117.25 33.21 117.28 42.27 112.69 42.28 112.66 33.22 117.25 33.21"}),(0,P.jsx)("polygon",{className:"d",points:"117.25 19.84 117.28 28.9 112.69 28.91 112.66 19.85 117.25 19.84"}),(0,P.jsx)("polygon",{className:"d",points:"117.38 46.58 117.41 55.64 112.82 55.65 112.79 46.59 117.38 46.58"}),(0,P.jsx)("rect",{className:"d",x:"14.98",y:"14.4",width:"48.94",height:"4.7"}),(0,P.jsx)("rect",{className:"d",x:"24.79",y:"28.8",width:"48.2",height:"4.7"}),(0,P.jsx)("rect",{className:"d",y:"43.19",width:"56.76",height:"4.7"}),(0,P.jsx)("path",{className:"d",d:"M145.42,38.63c-3.66-.95-5.35-4.09-5.47-7.51-.12-3.42,1.44-6.59,4.73-7.49,5.25-1.43,6-4.9,5.71-9.44-.18-2.81-.09-5.65-.08-8.47,.05-3.86-1.72-5.82-5.75-5.71C140.75,.11,46.26,0,46.26,0V4.7l99.56-.12c.03,4.63,.07,9.09,.09,13.6-6.47,2.04-10.5,6.07-10.44,13.02,.09,6.72,4.35,10.4,10.5,12.59v13.53l-99.73,.28v4.7c2.12,0,76.07-.37,97.69-.46,5.35-.02,6.52-1.18,6.55-6.38,.03-3.17-.13-6.33,.03-9.49,.21-3.88-1.1-6.3-5.1-7.34Z"})]})})})]}),b&&(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:(0,P.jsx)("polygon",{className:"cls-1",points:"30 2.13 27.87 0 15 12.87 2.13 0 0 2.13 12.87 15 0 27.87 2.13 30 15 17.13 27.87 30 30 27.87 17.13 15 30 2.13"})})]}):"":(0,P.jsxs)("div",{className:"quick-ticket-icon",children:[!b&&(0,P.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150.54 62.29",children:[(0,P.jsx)("g",{id:"a"}),(0,P.jsx)("g",{id:"b",children:(0,P.jsx)("g",{id:"c",children:(0,P.jsxs)("g",{children:[(0,P.jsx)("rect",{className:"d",x:"110.36",y:"8.72",width:"9.07",height:"4.57",transform:"translate(103.83 125.9) rotate(-89.97)"}),(0,P.jsx)("polygon",{className:"d",points:"117.25 33.21 117.28 42.27 112.69 42.28 112.66 33.22 117.25 33.21"}),(0,P.jsx)("polygon",{className:"d",points:"117.25 19.84 117.28 28.9 112.69 28.91 112.66 19.85 117.25 19.84"}),(0,P.jsx)("polygon",{className:"d",points:"117.38 46.58 117.41 55.64 112.82 55.65 112.79 46.59 117.38 46.58"}),(0,P.jsx)("rect",{className:"d",x:"14.98",y:"14.4",width:"48.94",height:"4.7"}),(0,P.jsx)("rect",{className:"d",x:"24.79",y:"28.8",width:"48.2",height:"4.7"}),(0,P.jsx)("rect",{className:"d",y:"43.19",width:"56.76",height:"4.7"}),(0,P.jsx)("path",{className:"d",d:"M145.42,38.63c-3.66-.95-5.35-4.09-5.47-7.51-.12-3.42,1.44-6.59,4.73-7.49,5.25-1.43,6-4.9,5.71-9.44-.18-2.81-.09-5.65-.08-8.47,.05-3.86-1.72-5.82-5.75-5.71C140.75,.11,46.26,0,46.26,0V4.7l99.56-.12c.03,4.63,.07,9.09,.09,13.6-6.47,2.04-10.5,6.07-10.44,13.02,.09,6.72,4.35,10.4,10.5,12.59v13.53l-99.73,.28v4.7c2.12,0,76.07-.37,97.69-.46,5.35-.02,6.52-1.18,6.55-6.38,.03-3.17-.13-6.33,.03-9.49,.21-3.88-1.1-6.3-5.1-7.34Z"})]})})})]}),b&&(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:(0,P.jsx)("polygon",{className:"cls-1",points:"30 2.13 27.87 0 15 12.87 2.13 0 0 2.13 12.87 15 0 27.87 2.13 30 15 17.13 27.87 30 30 27.87 17.13 15 30 2.13"})})]}),(0,P.jsx)("span",{className:"quick-ticket-text",children:(0,P.jsx)(k.Ay,{id:"getTicketsImmediately",children:"Qu
2ick Ticket"})})]}),(0,P.jsxs)("ul",{className:"buy-ticket-sub-menu"+w,children:[a&&(0,P.jsx)("li",{className:"buy-ticket-sub-menu-item cinemas",children:(0,P.jsx)(yp,{movies:d,timezone:r,dateNow:A,moviesOrder:f,state:t,selectSettings:kp,changeCinema:m,performanceData:y,cinemaPkList:s,cinemas:c})}),(0,P.jsx)("li",{className:"buy-ticket-sub-menu-item movie-titles",children:(0,P.jsx)(Km,{movies:d,timezone:r,dateNow:A,moviesOrder:f,performanceData:y,state:t,selectSettings:kp,changeMovieTitle:v})}),(0,P.jsx)("li",{className:"buy-ticket-sub-menu-item movie-dates",children:(0,P.jsx)(op,{movies:d,timezone:r,performanceData:y,dateNow:A,moviesOrder:f,changeMovieDate:p,state:t,selectSettings:kp})}),(0,P.jsx)("li",{className:"buy-ticket-sub-menu-item movie-showtimes",children:(0,P.jsx)(dp,{movies:d,timezone:r,dateNow:A,performanceData:y,moviesOrder:f,changeMovieShowtime:h,multiCinemaActive:a,state:t,selectSettings:kp})}),(0,P.jsx)("li",{className:"buy-ticket-sub-menu-item movie-buy-tickets-button",children:(0,P.jsx)(Qm,{state:t,performanceData:y,movies:d,timezone:r,openIframe:g,cinemas:c,multiCinemaActive:a})})]}),t.iframeIsOpen&&u&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{className:"popup has-popup-close backdrop-trans
2parent",onClick:S}),(0,P.jsxs)("ul",{className:"buy-ticket-sub-menu performance-page"+w,children:[(0,P.jsxs)("div",{className:"close-button cursor-pointer",onClick:S,children:[(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25",children:(0,P.jsx)("polygon",{className:"cls-1",points:"25 1.06 23.94 0 12.5 11.44 1.06 0 0 1.06 11.44 12.5 0 23.94 1.06 25 12.5 13.56 23.94 25 25 23.94 13.56 12.5 25 1.06"})}),(0,P.jsx)("span",{className:"screen-reader-text",children:"Close"})]}),(0,P.jsx)("div",{className:"performance-page-wrapper",children:(0,P.jsx)(pe.A,{showId:t.iframeIsOpen.showId,deeplinkURL:t.iframeIsOpen.deeplinkUrl,cinema:t.iframeIsOpen.cinema})})]})]})]})})}}])}(x.Component);const Cp=Pp;var Ep=n(61224),_p=n(12111);function Tp(e){return Tp="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},Tp(e)}function Mp(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,Ip(r.key),r)}}function Ip(e){var t=function(e,t){if("object"!=Tp(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Tp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Tp(t)?t:t+""}function Np(e,t,n){return t=Lp(t),function(e,t){if(t&&("object"==Tp(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)}(e,Dp()?Reflect.construct(t,n||[],Lp(e).constructor):t.apply(e,n))}function Dp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dp=function(){return!!e})()}function Lp(e){return Lp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lp(e)}function Rp(e,t){return Rp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Rp(e,t)}var Fp=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Np(this,t,[e])).state={currentCinema:"",currentMovieID:"",currentMovieDate:"",currentMovieShowtime:"",currentCinemaOption:"",currentMovieOption:"",currentMovieDateOption:"",currentMovieShowtimeOption:"",currentMovieDeeplink:"",iframeIsOpen:!1,itemBuyTicketIsOpen:!1},n.changeCinema=n.changeCinema.bind(n),n.changeMovieTitle=n.changeMovieTitle.bind(n),n.changeMovieDate=n.changeMovieDate.bind(n),n.changeMovieShowtime=n.changeMovieShowtime.bind(n),n.openIframe=n.openIframe.bind(n),n.onClickItemBuyTicket=n.onClickItemBuyTicket.bind(n),n}return 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&&Rp(e,t)}(t,e),function(e,t,n){return t&&Mp(e.prototype,t),n&&Mp(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"onClickItemBuyTicket",value:function(){var e=this.props,t=e.addHtmlClass,n=e.removeHtmlClass;this.state.itemBuyTicketIsOpen?(this.setState({itemBuyTicketIsOpen:!1,iframeIsOpen:!1,currentCinema:"",currentMovieID:"",currentMovieOption:"",currentMovieDate:"",currentCinemaOption:"",currentMovieDateOption:"",currentMovieShowtime:"",currentMovieShowtimeOption:""}),n("has-popup")):(this.setState({itemBuyTicketIsOpen:!0}),t("has-popup"))}},{key:"changeCinema",value:function(e,t){""===e?this.setState({currentCinema:"",currentCinemaOption:""}):this.setState({currentCinema:e,currentCinemaOption:t})}},{key:"changeMovieTitle",value:function(e,t){""===e?this.setState({currentMovieID:"",currentMovieOption:""}):this.setState({currentMovieID:e,currentMovieOption:t})}},{key:"changeMovieDate",value:function(e,t){""===e?this.setState({currentMovieDate:"",currentMovieDateOption:""}):this.setState({currentMovieDate:e,currentMovieDateOption:t})}},{key:"changeMovieShowtime",value:function(e,t){""===e?this.setState({currentMovieShowtimeOption:"",currentMovieShowtime:""}):this.setState({currentMovieShowtime:e,currentMovieShowtimeOption:t})}},{key:"openIframe",value:function(e,t,n,r){e?this.setState({iframeIsOpen:{deeplinkUrl:t,showId:n,cinema:r}}):this.setState({iframeIsOpen:!1})}},{key:"render",value:function(){var e=this.props,t=e.movies,n=e.moviesOrder,r=e.timezone,i=e.buyTicketAnimation,o=e.cinemas,s=e.currentCinemaPk,a=e.activeCinema,l=e.isMobile,c=e.filledWithColorClass,u=e.performanceData,d=this.state.itemBuyTicketIsOpen,f=s?o[s]:null,h=f?f.scope.type:null,m=h===wc.hm?_p.keys(o):null,p=(0,Ep.Tx)(h,s,a);return(0,P.jsxs)(P.Fragment,{children:[d&&(0,P.jsx)("div",{className:"popup has-popup-close "+c,onClick:this.onClickItemBuyTicket}),(0,P.jsx)(Cp,{onClick:this.onClickItemBuyTicket,changeMovieShowtime:this.changeMovieShowtime,changeMovieDate:this.changeMovieDate,changeCinema:this.changeCinema,changeMovieTitle:this.changeMovieTitle,state:this.state,performanceData:u,isMobile:l,itemBuyTicketIsOpen:d,cinemaPkList:m,filledWithColorClass:c,cinemas:o,multiCinemaActive:p,movies:t,moviesOrder:n,timezone:r,buyTicketAnimation:i,openIframe:this.openIframe})]})}}])}(x.Component);const Vp=(0,v.Ng)((0,Q.A)(function(e,t){return{movies:(0,g.A)(e,y.PROGRAM_MOVIES_ITEMS),moviesOrder:(0,g.A)(e,y.PROGRAM_MOVIES_ORDER),timezone:(0,g.A)(e,y.TRANSLATION_TIMEZONE),performanceData:(0,g.A)(e,y.PROGRAM_PERFORMANCES_ITEMS)}}),null)(wl((0,cn.A)(Fp)));function $p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Bp(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Up=function(e){var t=e.items,n=(e.features,e.className),r=$p((0,x.useState)(!1),2),i=r[0],o=r[1],s=i?" is-scrolled":n;return(0,P.jsxs)("div",{id:"fireplace",className:"custom-placements-fireplace"+s,children:[(0,P.jsx)(Xe,{item:t[0],imageURLs:{desktop:!1,mobile:!1,desktopScrolled:!1,mobileScrolled:!1},itemOrigin:"Fireplace",imgTag:!0}),""===s&&(0,P.jsx)("div",{className:"close-button-wrapper fireplace",children:(0,P.jsx)("button",{className:"close-button cursor-pointer",onClick:function(){qe(),o(!0)},children:(0,P.jsx)("span",{className:"screen-reader-text",children:"CLOSE"})})})]})};
2var Hp=function(){var e=navigator.userAgent.search("cco Android WebViewApp"),t=navigator.userAgent.search("cco iOS WebViewApp");if(-1!==e||-1!==t)return!0;try{return window.self!==window.top}catch(e){return!0}},Wp=n(12111);const zp=function(e){var t=e.children,n=e.extraClass,r=void 0===n?"":n,i=e.advertisements,o=e.isScrolledClass,s=e.hasChatbot,a=e.headerAppearance,l=e.contentWidth,c=e.features,u=e.buyTicketAnimation,d=e.isWebApp,f=it(i,[ct]),h=0!==f[ct].length||"filled_with_color"===a?"is-sticky-menu":"",m="filled_with_color"===a?" colored-header":"partly_filled_with_color"===a?" partly-colored-header":"",p=c&&c.has_userbar?" large-header":"";document.body&&document.body.classList&&(Wp.filter(document.body.classList,function(e){if(-1!==e.search("elementor"))return e}).map(function(e){document.body.classList.remove(e)}),document.body.classList.remove("elementor-page"));return(0,P.jsxs)("div",{className:"site-inner",children:[0!==f[ct].length&&(0,P.jsx)(Up,{className:o,items:f[ct]}),!Hp()&&(0,P.jsx)("header",{id:"site-header",className:h+m+p,children:(0,P.jsx)(ku,{isWebApp:d})}),(0,P.jsxs)("div",{id:"content",className:"site-content "+l,children:[(0,P.jsx)("div",{id:"primary",className:"content-area",children:(0,P.jsx)("main",{id:"main",className:"site-main"+r,role:"main",children:t})}),s&&(0,P.jsx)("div",{id:"menu-item-chatbot-container"}),(0,P.jsx)(Vp,{buyTicketAnimation:u,filledWithColorClass:m})]}),!Hp()&&(0,P.jsx)("footer",{id:"site-footer",children:(0,P.jsx)(ed,{})})]})};const Zp=function(e){window.BorlabsCookie?window.BorlabsCookie.Consents?e(!!window.BorlabsCookie.Consents.hasConsent("youtube")):e(!(!window.BorlabsCookie.checkCookieConsent||!window.BorlabsCookie.checkCookieConsent("youtube"))):"undefined"!=typeof __cmp&&__cmp("getC
2MPData",null,function(t){if(!t)return e(!1);var n=t.vendorsList&&t.vendorsList.find(function(e){return"YouTube"===e.name}),r=n?n.id:"s30",i=t.vendorConsents&&t.vendorConsents[r];e(!!i)})};const qp=function(e){var t=(0,x.useRef)(!1),n=(0,x.useRef)(!1),r=(0,x.useRef)(!1),i=(0,x.useRef)(new Set),o=(0,x.useCallback)(function(e){if(!t.current){t.current=!0,window.dataLayer=window.dataLayer||[],"function"!=typeof window.gtag&&(window.gtag=function(){window.dataLayer.push(arguments)});var n=document.getElementsByTagName("script")[0],r=document.createElement("script");r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id="+e,n.parentNode.insertBefore(r,n),window.gtag("js",new Date),window.gtag("config",e,{anonymize_ip:!0})}},[]),s=(0,x.useCallback)(function(e){if(!n.current){n.current=!0,window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var t=document.getElementsByTagName("script")[0],r=document.createElement("script");r.async=!0,r.src="https://www.googletagmanager.com/gtm.js?id="+e,t.parentNode.insertBefore(r,t)}},[]),a=(0,x.useCallback)(function(e){r.current||(r.current=!0,function(e,t,n,r,i,o,s){e.fbq||(i=e.fbq=function(){i.callMethod?i.callMethod.apply(i,arguments):i.queue.push(arguments)},e._fbq||(e._fbq=i),i.push=i,i.loaded=!0,i.version="2.0",i.queue=[],(o=t.createElement(n)).async=!0,o.src="https://connect.facebook.net/en_US/fbevents.js",(s=t.getElementsByTagName(n)[0]).parentNode.insertBefore(o,s))}(window,document,"script"),window.fbq("init",e),window.fbq("track","PageView"))},[]),l=(0,x.useCallback)(function(e){var t=e.consentmanager_id;if(t&&e.optin_code&&!i.current.has(t)){i.current.add(t);var n=document.createElement("script");n.textContent=e.optin_code,document.head.appendChild(n)}},[]),c=(0,x.useCallback)(function(){e&&e.consentmanagerActive&&"undefined"!=typeof __cmp&&__cmp("getC
2MPData",null,function(t){t&&t.vendorConsents&&(e.googleAnalyticsId&&t.vendorConsents.s26&&o(e.googleAnalyticsId),e.googleTagManagerId&&t.vendorConsents.s905&&s(e.googleTagManagerId),e.metaPixelId&&t.vendorConsents.s7&&a(e.metaPixelId),Array.isArray(e.consentServices)&&e.consentServices.forEach(function(e){e.consentmanager_id&&t.vendorConsents[e.consentmanager_id]&&l(e)}))})},[e,o,s,a,l]);(0,x.useEffect)(function(){if(e&&e.consentmanagerActive)return c(),"undefined"!=typeof __cmp&&(__cmp("addEventListener",["consent",c,!1],null),__cmp("addEventListener",["consentapproved",c,!1],null),__cmp("addEventListener",["consentcustom",c,!1],null)),function(){"undefined"!=typeof __cmp&&(__cmp("removeEventListener",["consent",c,!1],null),__cmp("removeEventListener",["consentapproved",c,!1],null),__cmp("removeEventListener",["consentcustom",c,!1],null))}},[c,e])};var Gp=n(90528),Yp=n(12111);function Xp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Kp(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Kp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Qp=(0,v.Ng)((0,Q.A)(function(e,t){return{cinemaDataFront:(0,g.A)(e,y.FRONT),advertisements:(0,g.A)(e,y.PROGRAM_ADVERTISEMENTS),features:(0,g.A)(e,y.FEATURES),elementDisplay:(0,g.A)(e,y.UI_ELEMENTDISPLAY),theme:(0,g.A)(e,y.THEME),hasYoutubeCookieConfirmation:(0,g.A)(e,[y.UI_TRAILER,"hasYoutubeCookieConfirmation"]),cookieServices:(0,g.A)(e,y.COOKIE_SERVICES)}}),function(e,t){return{setYoutubeCookieConfirmation:function(t){e((0,ur.Dm)(t))},setIsMobile:function(){e((0,ur.J0)())},setBrowserWidth:function(t,n){e((0,ur.TA)(t,n))},toggleSidebars:function(t,n,r){e((0,ur.wL)(t,n,r))}}})(function(e){var t=e.cinemaDataFront,n=e.advertisements,r=e.features,i=e.elementDisplay,o=e.theme,s=e.hasYoutubeCookieConfirmation,a=e.cookieServices,l=e.setYoutubeCookieConfirmation,c=e.setIsMobile,u=e.setBrowserWidth,d=e.toggleSidebars,f=e.children,h=e.isWebApp,m=e.buyTicketAnimation,p=void 0!==m&&m,v=t.header_appearance,g=t.content_width,y=i.browserWidth,b=i.isMobile,w=i.activeItem,j=i.displaySidebarRight,A=i.displaySidebarRightSecond,S=i.performancePageOpen,O=i.activeDetailsItem,k=o.theme_colors;qp(a);var C=Xp((0,x.useState)(!1),2),E=C[0],_=C[1],T=(0,x.useCallback)(function(){window.scrollY>window.innerHeight&&!1===E&&_(!0)},[E]),M=(0,x.useCallback)(function(e,t){"slidebarRight"===e&&(w&&j!==t&&d("right",1,t),O&&A!==t&&d("right",2,t),S&&A!==t&&d("right",2,t))},[O,w,j,A,S,d]),I=(0,x.useCallback)(function(){var e=Yp.keys(Jt.fi),t=!1,n=(0,Gp.A)(),r=b||{};e.forEach(function(e){var i=!(n>Jt.fi[e]);i!==r[e]&&(M(e,i),t=!0)}),n===y&&y||u(n,k),t&&c()},[y,M,b,u,c,k]),N=(0,x.useMemo)(function(){return Yp.debounce(I,300)},[I]),D=(0,x.useCallback)(function(){Zp(l)},[l]);(0,x.useEffect)(function(){var e=(0,Gp.A)();y||(u(e,k),c())},[y,u,c,k]),(0,x.useEffect)(function(){return window.addEventListener("scroll",T),function(){window.removeEventListener("scroll",T)}},[T]),(0,x.useEffect)(function(){return window.addEventListener("resize",N),function(){window.removeEventListener("resize",N),N.cancel()}},[N]),(0,x.useEffect)(function(){return"init"===s&&Zp(l),window.addEventListener("borlabs-cookie-consent-saved",D),window.addEventListener("borlabs-cookie-code-unblocked",D),window.addEventListener("borlabs-cookie-handle-unblock",D),"undefined"!=typeof __cmp&&(__cmp("addEventListener",["consent",D,!1],null),__cmp("addEventListener",["consentapproved",D,!1],null),__cmp("addEventListener",["consentcustom",D,!1],null),__cmp("addEventListener",["consentrejected",D,!1],null)),function(){window.removeEventListener("borlabs-cookie-consent-saved",D),window.removeEventListener("borlabs-cookie-code-unblocked",D),window.removeEventListener("borlabs-cookie-handle-unblock",D),"undefined"!=typeof __cmp&&(__cmp("removeEventListener",["consent",D,!1],null),__cmp("removeEventListener",["consentapproved",D,!1],null),__cmp("removeEventListener",["consentcustom",D,!1],null),__cmp("removeEventListener",["consentrejected",D,!1],null))}},[D]);var L=r.has_chatbot,R=Ze("fireplace"),F=E||R?" is-scrolled":"";return(0,P.jsx)(zp,{headerAppearance:v,hasChatbot:L,features:r,contentWidth:g,advertisements:n,isScrolledClass:F,buyTicketAnimation:p,isWebApp:h,children:f})});const Jp=(0,v.Ng)((0,Q.A)(function(e,t){return{cinemaDataFront:(0,g.A)(e,y.FRONT),currentLang:(0,g.A)(e,y.TRANSLATION_CURRENT_LANG),theme:(0,g.A)(e,y.THEME),features:(0,g.A)(e,y.FEATURES),routesData:(0,g.A)(e,y.ROUTESDATA),weischerAds:(0,g.A)(e,y.PROGRAM_WEISCHERADS),movies:(0,g.A)(e,y.PROGRAM_MOVIES),advertisements:(0,g.A)(e,y.PROGRAM_ADVERTISEMENTS),itemSelectionsDisplay:(0,g.A)(e,y.PROGRAM_SELECTIONSDISPLAY),itemSelections:(0,g.A)(e,y.PROGRAM_SELECTIONS_ITEMS),performanceData:(0,g.A)(e,y.PROGRAM_PERFORMANCES_ITEMS)}}),function(e,t){return{onOpenDetails:function(n){e((0,ur.vx)(n.movieId)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",1,!0))},onCloseDetails:function(){e((0,ur.vx)(!1)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",1,!1))},onOpenPerformancePage:function(n){e((0,ur.QC)(n,!0)),t.elementDisplay.currentActiveSelection||e((0,ur.XX)("program")),t.elementDisplay.activeMovieTimes||e((0,ur.Bw)(n.movieId,n.movieId)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!0))},onClosePerformancePage:function(n){e((0,ur.QC)(n,!1)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!1))}}})(function(e){var t=e.cinemaDataFront,n=e.currentLang,r=e.theme,i=e.features,o=e.routesData,s=e.weischerAds,a=e.movies,l=e.advertisements,c=e.itemSelectionsDisplay,u=e.itemSelections,d=e.performanceData,f=e.onOpenDetails,h=e.onCloseDetails,m=e.onOpenPerformancePage,p=e.onClosePerformancePage,v=e.match,g=e.overviewHeroItems,y=e.overviewHeroAdvertisementItems,b=e.location,w=e.isOverviewPage,x=e.isConnectedFast,j=e.isMobileData,A=e.elementDisplay,S=e.isWebApp,O=t.program_overview_list_style,k=t.program_overview_subtitle,C=t.display_movie_performance_mobile,E=r.theme_colors;return"Arthouse"===E?(0,P.jsxs)(Qp,{isWebApp:S,children:[a&&a.items&&(0,P.jsx)(Br,{movies:a,performanceData:d,theme:E,match:v,routesData:o,overviewSubtitle:k,onClosePerformancePage:p,onOpenPerformancePage:m,onOpenDetails:f,onCloseDetails:h,elementDisplay:A,currentLang:n,location:b}),(0,P.jsx)(hl,{})]}):(0,P.jsxs)(Qp,{isWebApp:S,children:[a&&w&&(0,P.jsx)(Or,{isMobileData:j,itemSelectionsDisplay:c,features:i,itemSelections:u,isConnectedFast:x,isSubpage:w}),!w&&(0,P.jsx)(Qt,{overviewHeroItems:g,overviewHeroAdvertisementItems:y,features:i,movies:a}),a&&a.items&&(0,P.jsx)(Nt,{movies:a,performanceData:d,weischerAds:s,advertisements:l,match:v,elementDisplay:A,dis
2playMoviePerformanceMobile:C,currentLang:n,routesData:o,overviewSubtitle:k,programOverviewListStyle:O,theme:E,location:b,onClosePerformancePage:p,onOpenPerformancePage:m,onOpenDetails:f,onCloseDetails:h}),(0,P.jsx)(hl,{})]})});const ev=function(e){var t=e.changeView,n=e.hasShowtimesFeature,r=e.activeView,i=e.hasGridTrailerFeature,o="grid"===r?" active":"",s="list"===r?" active":"",a="grid-trailer"===r?" active":"",l="showtimes"===r?" active":"";return(0,P.jsxs)("div",{className:"overview-view-button-wrapper",children:[(0,P.jsxs)("button",{className:"overview-view-button overview-view-button-grid cursor-pointer"+o,onClick:function(){return t({view:"grid"})},children:[(0,P.jsx)("div",{children:(0,P.jsxs)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",children:[(0,P.jsx)("path",{className:"cls-1",d:"M0,0H0V21.51H21.51V0H0ZM18.51,18.51H3V3H18.51Z",transform:"translate(0 0)"}),(0,P.jsx)("path",{className:"cls-1",d:"M28.49,0h0V21.51H50V0H28.49ZM47,18.51H31.49V3H47Z",transform:"translate(0 0)"}),(0,P.jsx)("path",{className:"cls-1",d:"M28.49,28.49h0V50H50V28.49H28.49ZM47,47H31.49V31.49H47Z",transform:"translate(0 0)"}),(0,P.jsx)("path",{className:"cls-1",d:"M0,28.49H0V50H21.51V28.49H0ZM18.51,47H3V31.49H18.51Z",transform:"translate(0 0)"})]})}),(0,P.jsx)("span",{className:"screen-reader-text",children:"Grid"})]}),i&&(0,P.jsxs)("button",{className:"overview-view-button overview-view-button-grid-trailer cursor-pointer"+a,onClick:function(){return t({view:"grid-trailer"})},children:[(0,P.jsx)("div",{children:(0,P.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",children:(0,P.jsx)("g",{id:"Ebene_1-2",children:(0,P.jsx)("g",{id:"Ebene_1-3",children:(0,P.jsx)("path",{className:"cls-1",d:"M0,0H0V50H50V0H0ZM47,47H3V3H47V47Zm-31.38-8.64V11.64l23.14,13.36-23.14,13.36Zm3.33-20.95v15.18l13.15-7.59-13.15-7.59Z"})})})})}),(0,P.jsx)("span",{className:"screen-reader-text",children:"Grid Trailer"})]}),(0,P.jsxs)("button",{className:"overview-view-button overview-view-button-list cursor-pointer"+s,onClick:function(){return t({view:"list"})},children:[(0,P.jsx)("div",{children:(0,P.jsxs)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50.03",children:[(0,P.jsx)("path",{className:"cls-1",d:"M0,0H0V13.77H13.75V0H0ZM10.75,10.77H3V3h7.75Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M0,18.13V31.9H13.75V18.13ZM10.75,28.9H3V21.15h7.75Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M0,36.26V50H13.75V36.26ZM10.75,47H3V39.28h7.75Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M18.13,0h0V13.77H50V0H18.13ZM47,10.77H21.13V3H47Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M18.13,18.13V31.9H50V18.13ZM47,28.9H21.13V21.15H47Z"}),(0,P.jsx)("path",{className:"cls-1",d:"M18.13,36.26V50H50V36.26ZM47,47H21.13V39.28H47Z"})]})}),(0,P.jsx)("span",{className:"screen-reader-text",children:"List"})]}),n&&(0,P.jsxs)("button",{className:"overview-view-button overview-view-button-showtimes cursor-pointer"+l,onClick:function(){return t({view:"showtimes"})},children:[(0,P.jsx)("div",{children:(0,P.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",children:[(0,P.jsx)("g",{id:"a"}),(0,P.jsx)("g",{id:"b",children:(0,P.jsxs)("g",{id:"c",children:[(0,P.jsx)("path",{className:"d",d:"M0,0H0V50H50V0H0ZM47,47H3V3H47V47Z"}),(0,P.jsx)("rect",{className:"d",x:"1.36",y:"11.98",width:"46.55",height:"3"}),(0,P.jsxs)("g",{children:[(0,P.jsx)("rect",{className:"d",x:"7.8",y:"19.59",width:"13.31",height:"3"}),(0,P.jsx)("rect",{className:"d",x:"7.8",y:"29.47",width:"13.31",height:"3"}),(0,P.jsx)("rect",{className:"d",x:"7.8",y:"39.35",width:"13.31",height:"3"})]}),(0,P.jsxs)("g",{children:[(0,P.jsx)("rect",{className:"d",x:"28.26",y:"19.59",width:"13.31",height:"3"}),(0,P.jsx)("rect",{className:"d",x:"28.26",y:"29.47",width:"13.31",height:"3"}),(0,P.jsx)("rect",{className:"d",x:"28.26",y:"39.35",width:"13.31",height:"3"})]})]})})]})}),(0,P.jsx)("span",{className:"screen-reader-text",children:"Showtimes"})]})]})};var tv=n(92705),nv=n(30699),rv=n(24852),iv=n(12111);const ov=function(e){var t=e.activeFiltersWithoutTime,n=e.filterStrings,i=e.filters,o=Object.keys(t).map(function(e,o){if("id"===e)return"";var s=iv.omit(n,e),a=t[e],l=e+"=";return a.map(function(t,n){var o,c=(0,rv.A)(a.slice(),t);o=0===c.length?null:"?"+l+c.join("&"+l),o=(0,nv.A)(s,o);var u="";return u="search"===e?(0,P.jsx)(k.Ay,{id:"search",after:': "'.concat(t,'"')}):(0,Al.A)(i[e].items[t].name),(0,P.jsxs)("li",{className:"accent-color-border",children:[(0,P.jsx)("span",{className:"overview-filter-title text-bold",children:u}),(0,P.jsxs)(r.N_,{className:"overfiew-filter-active-remove",to:{search:o},children:[(0,P.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25",children:(0,P.jsx)("polygon",{className:"cls-1",points:"25 1.06 23.94 0 12.5 11.44 1.06 0 0 1.06 11.44 12.5 0 23.94 1.06 25 12.5 13.56 23.94 25 25 23.94 13.56 12.5 25 1.06"})}),(0,P.jsx)("span",{className:"screen-reader-text",children:(0,P.jsx)(k.Ay,{id:"removeFilters",children:"Filter entfernen"})})]})]},n)})});return 0!==o.length&&(0,P.jsx)("ul",{className:"overview-filter-active",children:o})};var sv=n(41600),av=n(15373),lv=n(12111);function cv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return uv(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?uv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function dv(e,t){return!!e.find(function(e){return e.getTime()==t.getTime()})}const fv=function(e){var t=e.currentLang,o=e.otherFilters,s=e.performanceDates,a=e.filterValuesStartDate,l=void 0===a?null:a,c=e.filterValuesEndDate,u=void 0===c?null:c,d=e.translation,f=e.onClick,h=(0,i.zy)(),m=cv((0,x.useState)(null),2),p=m[0],v=m[1],g=cv((0,x.useState)(l),2),y=g[0],b=g[1],w=cv((0,x.useState)(u),2),j=w[0],A=w[1],S=cv((0,x.useState)(null),2),O=S[0],C=S[1],E="time=",_=[];(0,x.useEffect)(function(){var e=!0;return Promise.all([Promise.all([n.e(418),n.e(141)]).then(n.t.bind(n,59386,23)),Promise.all([n.e(418),n.e(141)]).then(n.bind(n,65827)),Promise.all([n.e(418),n.e(141)]).then(n.bind(n,92607)),Promise.all([n.e(418),n.e(141)]).then(n.bind(n,90716))]).then(function(t){var n=cv(t,4),r=n[0],i=n[1],o=n[2],s=n[3];r.registerLocale("de",i.default),r.registerLocale("en",o.default),r.registerLocale("hr",s.default),e&&v(function(){return r.default})}),function(){e=!1}},[]),(0,x.useEffect)(function(){if(y&&l!==y){var e="?time=start:"+(0,Jm.A)((0,Bm.A)(y.getTime())),t=(0,nv.A)(o,e);C(t)}},[y]),(0,x.useEffect)(function(){if(j&&u!==j){var e=(0,Jm.A)((0,Bm.A)(j.getTime())),t=y?"?time=start:"+(0,Jm.A)((0,Bm.A)(y.getTime()))+"&"+E+"end:"+e:"?time=end:"+e,n=(0,nv.A)(o,t);console.log(n),C(n)}},[j]),(0,x.useEffect)(function(){b(l),A(u),C(null)},[l,u]),s&&lv.keys(s).map(function(e){var t=new Date(e+"T00:00:00"),n=new Date;!dv(_,t)&&n<=t&&_.push(t)});var T=y?"?time=start:"+(0,Jm.A)((0,Bm.A)(y.getTime())):"",M=(0,nv.A)(o,T),I=(0,av.A)("selectDate",d);return(0,P.jsxs)("div",{className:"datepicker-container",children:[O&&O!==h.search&&(0,P.jsx)(i.rd,{to:{pathname:h.pathname,search:O}}),(0,P.jsxs)("div",{className:"datepicker-label",children:[(0,P.jsxs)("label",{children:[(0,P.jsx)(k.Ay,{id:"startDate",children:"Statdatum"}),":"]}),(0,P.jsxs)("div",{className:"datepicker-flex",children:[p&&(0,P.jsx)(p,{selected:y,dateFormat:"dd.MM.yyyy",onChange:function(e){b(e),f()},selectsStart:!0,locale:t,minDate:new Date,includeDates:_,startDate:y,renderDayContents:function(e,t){var n="?time=start:"+(0,Jm.A)((0,Bm.A)(t.getTime())),i=(0,nv.A)(o,n);return dv(_,t)?(0,P.jsx)(r.N_,{className:"",to:{search:i},children:t.getDate()}):(0,P.jsx)("div",{className:"disabled",children:t.getDate()})},endDate:j,placeholderText:I,wrapperClassName:"text-light"}),y&&(0,P.jsx)(r.N_,{onClick:function(){b(null),A(null)},className:"delete-button-wrapper",to:{search:""},children:(0,P.jsx)("div",{className:"delete-button",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Delete"})})})]})]}),(0,P.jsxs)("div",{className:"datepicker-label",children:[y&&(0,P.jsxs)("label",{children:[(0,P.jsx)(k.Ay,{id:"endDate",children:"Enddatum"}),":"]}),(0,P.jsxs)("div",{className:"datepicker-flex",children:[y&&p&&(0,P.jsx)(p,{selected:j,dateFormat:"dd.MM.yyyy",onChange:function(e){A(e),f()},selectsEnd:!0,placeholderText:I,locale:t,includeDates:_,startDate:y,endDate:j,renderDayContents:function(e,t){var n=(0,Jm.A)((0,Bm.A)(t.getTime())),i=y?"?time=start:"+(0,Jm.A)((0,Bm.A)(y.getTime()))+"&"+E+"end:"+n:"?time=end:"+n,s=(0,nv.A)(o,i);return dv(_,t)&&(!y||t>=y)?(0,P.jsx)(r.N_,{className:"",to:{search:s},children:t.getDate()}):(0,P.jsx)("div",{className:"disabled",children:t.getDate()})},wrapperClassName:"text-light",minDate:y||new Date}),y&&j&&(0,P.jsx)(r.N_,{onClick:function(){A(null)},className:"delete-button-wrapper",to:{search:M},children:(0,P.jsx)("div",{className:"delete-button",children:(0,P.jsx)("span",{className:"screen-reader-text",children:"Delete"})})})]})]})]})};var hv=n(93060);const mv=function(e){var t=e.queryStringValues,n=e.textClass,r=void 0===n?"text-light":n;return t.search||t.searchopen&&"1"===t.searchopen?(0,P.jsx)("div",{className:"overview-search-container",children:(0,P.jsx)(hv.A,{textClass:r})}):""};
2var pv=n(12111);const vv=function(e){var t=e.dayFilters,n=e.filterStrings,i=e.queryStringValues,o=e.openDayFilter,s=e.toggleDayFilter,a=e.theme,l=e.closeEverything,c=e.onSidebarLeftToggle,u=e.filterDisplay,d=e.dayFilterDisplay,f=e.toggleFilter,h=e.isMobile,m=e.className,p=void 0===m?"overview":m,v=e.currentLang,g=e.translation,y="time",b=y+"=",w=!!pv.has(i,y)&&(Array.isArray(i[y])?i[y]:[i[y]]),x=pv.omit(n,y),j="foldable"===u?" foldable":"display"===u?" display":" hidden",A="display"===d||"foldable"===d&&o,S=pv.keys(t.filterWeekDays),O=!!w&&pv.find(w,function(e){return-1!==e.search("end")}),C=!!w&&pv.find(w,function(e){return-1!==e.search("start")}),E=C?new Date(parseInt(C.split(":")[1])):null,_=O?new Date(parseInt(O.split(":")[1])):null;return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)("div",{className:p+"-filter-button-container",children:[(0,P.jsx)(sv.Ay,{additionalClassName:p,dayFilters:t,filterStrings:n,queryStringValues:i,closeEverything:l,currentLang:v}),"foldable"===d&&(0,P.jsx)("button",{className:p+"-filter-toggle overview-filter-button accent-color-font-color title-large cursor-pointer",onClick:function(){return s()},children:(0,P.jsx)(k.Ay,{id:"dayFilters",children:"Wochenfilter"})}),h&&"hidden"!==u?(0,P.jsx)("button",{className:p+"-filter-toggle overview-filter-button accent-color-font-color title-large cursor-pointer"+j,onClick:function(){return c(!0)},children:(0,P.jsx)(k.Ay,{id:"moreFilters",children:"weitere Filter"})}):"",h||"foldable"!==u?"":(0,P.jsx)("button",{className:p+"-filter-toggle overview-filter-button accent-color-font-color title-large cursor-pointer"+j,onClick:function(){return f()},children:(0,P.jsx)(k.Ay,{id:"moreFilters",children:"weitere Filter"})}),(0,P.jsx)(xc.A,{searchLinkClass:p+"-filter-toggle overview-filter-button accent-color-font-color title-large cursor-pointer",isSearchToggle:!0,iconThin:!1})]}),A&&(0,P.jsx)(P.Fragment,{children:(0,P.jsxs)("div",{className:"date-filters-container",children:[(0,P.jsx)("div",{className:"week-day-filter-wrapper",children:S.map(function(e,n){var i=t.filterWeekDays[e].name,o="",s="Arthouse"===a?" button-reverse":"",c="?"+b+e;if(w){var u=pv.intersection(w,S).slice();-1===u.indexOf(e)?u.push(e):(o=" filter-active",u=(0,rv.A)(u,e)),c=0===u.length?null:"?"+b+u.join("&"+b)}return c=(0,nv.A)(x,c),(0,P.jsx)(r.N_,{onClick:function(){return l()},className:"week-day-filter button theme-radius-buttons-full title-large cursor-pointer"+o+s,to:{search:c},children:i},n)})}),(0,P.jsx)(fv,{currentLang:v,onClick:l,performanceDates:t.performanceDates,otherFilters:x,filterValuesStartDate:E,filterValuesEndDate:_,translation:g})]})}),(0,P.jsx)(mv,{queryStringValues:i})]})};var gv=n(75662),yv=n(59817),bv=n(12111);const wv=function(e){var t=e.queryStringValues,n=e.searchFilter,r=e.filterStrings,i=e.allItems;if(!t||!t.search)return"";var o="search",s=bv.omit(r,o),a=(0,nv.A)(s,null),l=bv.intersection(n.items,i).length>0;return(0,P.jsx)("ul",{className:"filter-section",children:(0,P.jsx)(yv.A,{filterId:o,itemName:(0,P.jsx)(k.Ay,{id:"search",after:": "+t.search}),className:l?" filter-active accent-color-button-font-color":"",active:l,sortValue:a})})};var xv=n(12111);function jv(e){return jv="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},jv(e)}function Av(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,Sv(r.key),r)}}function Sv(e){var t=function(e,t){if("object"!=jv(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=jv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==jv(t)?t:t+""}function Ov(e,t,n){return t=Pv(t),function(e,t){if(t&&("object"==jv(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)}(e,kv()?Reflect.construct(t,n||[],Pv(e).constructor):t.apply(e,n))}function kv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kv=function(){return!!e})()}function Pv(e){return Pv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pv(e)}function Cv(e,t){return Cv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Cv(e,t)}var Ev=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ov(this,t,[e])}return 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&&Cv(e,t)}(t,e),function(e,t,n){return t&&Av(e.prototype,t),n&&Av(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){var e=this.props,t=e.allItems,n=e.dayFilters,r=e.searchFilter,i=e.filters,o=e.activeFilters,s=e.activeView,a=e.cinemaFrontPkType,l=e.dayFilterDisplay,c=e.openDayFilter,u=e.theme,d=e.overviewFilterStyle,f=e.toggleDayFilter,h=e.informationStyling,m=e.siteHeaderData,p=e.movies,v=e.queryStringValues,g=e.closeEverything,y=e.onCh
2angeOverviewView,b=e.filterDisplay,w=e.toggleFilter,x=e.openFilter,j=e.currentLang,A=e.hasShowtimesFeature,S=e.hasGridTrailerFeature,O=e.translation,C=e.displaySidebarLeft,E=e.isMobile,_=e.onSidebarLeftToggle,T=(0,gv.A)(v),M=xv.omit(o,"time","cinemas"),I=C?" filters-open":" filters-close",N=!E&&"display"===b||!E&&"foldable"===b&&x;return(0,P.jsx)("div",{className:"overview-filter overview-filter-desktop"+I+" "+h+" "+d,children:(0,P.jsxs)("div",{className:"grid-site-wrapper",children:[(0,P.jsx)("div",{children:(0,P.jsxs)("div",{className:"overview-filter-header",children:[(0,P.jsx)(ev,{changeView:y,hasShowtimesFeature:A,hasGridTrailerFeature:S,activeView:s}),(0,P.jsx)(vv,{movies:p,translation:O,theme:u,isMobile:E,dayFilters:n,closeEverything:g,filterStrings:T,toggleFilter:w,toggleDayFilter:f,openDayFilter:c,onSidebarLeftToggle:_,queryStringValues:v,filterDisplay:b,dayFilterDisplay:l,currentLang:j}),E&&"hidden"!==b?(0,P.jsx)(ov,{filterStrings:T,filters:i,allItems:t,activeFiltersWithoutTime:M}):""]})}),N&&(0,P.jsxs)("div",{className:"overview-filter-list",children:[(0,P.jsx)(wv,{queryStringValues:v,searchFilter:r,filterStrings:T,allItems:t}),(0,P.jsx)(tv.A,{filters:i,movies:p,translation:O,filterStrings:T,closeEverything:g,allItems:t,queryStringValues:v,cinemaFrontPkType:a})]}
2),C&&(0,P.jsxs)(ee.n3,{informationStyling:h,children:[(0,P.jsx)("div",{className:"site-slidebar-overlay accent-color-background-half-transparent",onClick:function(){return _(!1)}}),(0,P.jsxs)("div",{className:"site-slidebar-content accent-color-background-half-transparent",children:[(0,P.jsx)("div",{className:"item-header logo-wrapper",children:(0,P.jsx)(jl,{siteHeaderData:m})}),(0,P.jsxs)("div",{className:"overview-filter overview-filter-mobile",children:[(0,P.jsx)(hv.A,{textClass:"text-light"}),(0,P.jsx)(ov,{filters:i,filterStrings:T,allItems:t,activeFiltersWithoutTime:M}),(0,P.jsx)("div",{className:"close-filter-list cursor-pointer",onClick:function(){return _(!1)},children:(0,P.jsx)("div",{className:"title-large button",children:0===Object.keys(M).length?(0,P.jsx)(k.Ay,{id:"back",children:"Zurück"}):(0,P.jsx)(k.Ay,{id:"applyFilters",children:"Filter anwenden"})})}),(0,P.jsx)("div",{className:"overview-filter-list",children:(0,P.jsx)(tv.A,{filters:i,movies:p,translation:O,filterStrings:T,allItems:t,closeEverything:g,queryStringValues:v,cinemaFrontPkType:a})})]})]})]})]})})}}])}(x.Component);const _v=Ev;const Tv=(0,v.Ng)((0,Q.A)(function(e,t){return{cinemaDataFront:(0,g.A)(e,y.FRONT),translation:(0,g.A)(e,y.TRANSLATION),siteHeaderData:(0,g.A)(e,y.SITEHEADERDATA),theme:(0,g.A)(e,y.THEME),movies:(0,g.A)(e,y.PROGRAM_MOVIES_ITEMS),hasYoutubeCookieConfirmation:(0,g.A)(e,[y.UI_TRAILER,"hasYoutubeCookieConfirmation"]),elementDisplay:(0,g.A)(e,y.UI_ELEMENTDISPLAY)}}),function(e,t){return{onSidebarLeftToggle:function(t){e((0,ur.wL)("left",1,t))}}})(function(e){var t=e.cinemaDataFront,n=e.translation,r=e.siteHeaderData,i=e.theme,o=e.movies,s=e.hasYoutubeCookieConfirmation,a=e.elementDisplay,l=e.onSidebarLeftToggle,c=e.filterDisplay,u=e.dayFilterDisplay,d=e.allItems,f=e.dayFilters,h=e.cinemaFrontPkType,m=e.filters,p=e.activeView,v=e.searchFilter,g=e.activeFilters,y=e.queryStringValues,b=e.openFilter,w=e.closeEverything,x=e.onChangeOverviewView,j=e.toggleFilter,A=e.toggleDayFilter,S=e.openDayFilter,O=a.isMobile,k=a.displaySidebarLeft,C=t.has_showtimes_feature,E=t.information_style,_=t.has_grid_trailer_feature,T=i.theme_colors,M=i.overview_filter_style;return(0,P.jsx)(_v,{siteHeaderData:r,filterDisplay:c,dayFilterDisplay:u,informationStyling:E,allItems:d,cinemaFrontPkType:h,movies:o,theme:T,overviewFilterStyle:M,filters:m,dayFilters:f,activeView:p,searchFilter:v,activeFilters:g,queryStringValues:y,openFilter:b,closeEverything:w,onChangeOverviewView:x,toggleFilter:j,toggleDayFilter:A,openDayFilter:S,currentLang:n.currentLang,translation:n,hasShowtimesFeature:C,hasGridTrailerFeature:_&&!0===s,displaySidebarLeft:k,isMobile:O.slidebarLeft,onSidebarLeftToggle:l})});var Mv=n(15595),Iv="overview_element";var Nv=function(e){var t=e.title;return(0,P.jsx)("div",{className:"poster-format-item-wrapper",children:(0,P.jsxs)("div",{className:"poster-format-item",children:[(0,P.jsx)("div",{className:"picture-wrapper theme-radius-posters-top"}),(0,P.jsx)("div",{className:"horizontal-flex-wrapper theme-radius-posters-bottom",children:(0,P.jsx)("div",{className:"performance-items-wrapper theme-radius-posters-bottom",children:(0,P.jsx)("div",{className:"performance-item-dates-wrapper",children:(0,P.jsx)("div",{className:"performance-item-wrapper",children:t&&(0,P.jsx)("div",{className:"performance-item-date text-medium",children:t})})})})})]})})},Dv=function(e){var t=e.title;return(0,P.jsx)("div",{className:"poster-format-item-wrapper background-version",children:(0,P.jsxs)("div",{className:"poster-format-item",children:[(0,P.jsx)("div",{className:"picture-wrapper theme-radius-posters-top"}),(0,P.jsx)("div",{className:"image"}),t&&(0,P.jsx)("div",{className:"text-xlarge-bold movie-title",children:t})]})})};function Lv(e){return Lv="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},Lv(e)}function Rv(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 Fv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?Rv(Object(n),!0).forEach(function(t){Vv(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Vv(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Lv(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Lv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Lv(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $v=(0,x.lazy)(function(){return Promise.resolve().then(n.bind(n,74624))}),Bv=function(e){var t=e.styles,n=e.title;return(0,P.jsx)("div",{className:"order-wrapper",style:t,children:(0,P.jsx)(Nv,{title:n})})},Uv=function(e){var t=e.styles,n=e.title;return(0,P.jsx)("div",{className:"order-wrapper",style:t,children:(0,P.jsx)("div",{className:"slide-item",children:(0,P.jsx)(Dv,{title:n})})})};const Hv=function(e){if(!e.itemData)return"";var t,n=(0,un.A)(e.itemData);return t="Arthouse"===e.theme?e.isMobile&&!e.isSlider?Bv:Uv:Bv,(0,P.jsx)(x.Suspense,{fallback:(0,P.jsx)(t,{styles:e.styles,title:n}),children:(0,P.jsx)($v,Fv({},e))})};var Wv=n(74624),zv=n(53352);n(95969);const Zv=function(e){var t=e.itemId,n=e.fallbackItemsActive,r=e.index,i=e.moviesData,o=e.movieInformationOrder,s=e.hasGridHoverTrailer,a=e.onOpenPerformancePage,l=e.isMobile,c=e.eventOrigin,u=e.activeItem,d=e.showPerformances,f=e.theme,h=e.overviewFilterIgnoreOnPerformances,m=e.isSlider,p=e.queryStringValues,v=e.additionalScrollName,g=e.selectionId,y=e.isConnectedFast,b=e.interscrollerId,w=e.interscrollerType,x=e.interscrollerWeischerAds,j=e.interscrollerAdvertisements,A=e.loadLazyItem,S=e.elementDisplay,O=e.relevantPerformances,k=0;u&&(k=r<o?r:r+1);var C={order:k};if(w&&t===b)return(0,P.jsx)(Ke,{interscrollerType:w,interscrollerWeischerAds:x,interscrollerAdvertisements:j,styles:C},r);var E=i[t],_=A?Hv:Wv.default;return(0,P.jsx)(_,{itemId:t,fallbackItemsActive:n,index:r,selectionId:g,eventOrigin:c,itemData:E,hasGridHoverTrailer:s,onOpenPerformancePage:a,movieTimePk:t,isMobile:l,showPerformances:d,theme:f,styles:C,overviewFilterIgnoreOnPerformances:h,isSlider:m,queryStringValues:p,additionalScrollName:v,isConnectedFast:y,elementDisplay:S,relevantPerformances:O})};const qv=function(e){var t=e.items,n=e.fallbackItemsActive,r=e.moviesData,i=e.movieInformationOrder,o=e.theme,s=e.activeItem,a=e.onOpenPerformancePage,l=e.isMobile,c=e.hasGridHoverTrailer,u=e.eventOrigin,d=e.overviewFilterIgnoreOnPerformances,f=e.additionalScrollName,h=e.isConnectedFast,m=e.interscrollerId,p=e.interscrollerType,v=e.selectionId,g=e.queryStringValues,y=e.interscrollerWeischerAds,b=e.interscrollerAdvertisements,w=e.elementDisplay,x=e.relevantPerformances,j=e.isSlider,A=void 0!==j&&j,S=e.showPerformances,O=void 0!==S&&S,C=e.loadLazyItem,E=void 0!==C&&C;return 0===t.length?(0,P.jsx)("h3",{className:"no-movie title-xlarge-theatre",children:(0,P.jsx)(k.Ay,{id:"ThereCurrentlyNoFilmsTypes",children:"Zurzeit laufen keine Filme dieser Art"})}):t.map(function(e,t){return(0,P.jsx)(Zv,{itemId:e,fallbackItemsActive:n,index:t,theme:o,eventOrigin:u,selectionId:v,isSlider:A,overviewFilterIgnoreOnPerformances:d,moviesData:r,isMobile:l,showPerformances:O,queryStringValues:g,onOpenPerformancePage:a,movieInformationOrder:i,hasGridHoverTrailer:c,activeItem:s,additionalScrollName:f,isConnectedFast:h,interscrollerId:m,interscrollerType:p,interscrollerWeischerAds:y,interscrollerAdvertisements:b,loadLazyItem:E,elementDisplay:w,relevantPerformances:x},e)})};var Gv=S.Ay.Element;const Yv=function(e){var t=e.moviesData,n=e.relevantPerformances,r=e.movieInformationOrder,i=e.row,o=e.isMobile,s=e.overviewFilterIgnoreOnPerformances,a=e.queryStringValues,l=e.eventOrigins,c=e.additionalScrollName,u=e.hideCinemaSelector,d=e.selectionId,f=e.elementDisplay,h=e.closeItemInformation,m=e.openItemDetails,p=e.closeItemDetails,v=e.onOpenPerformancePage,g=e.onClosePerformancePage,y=e.activeCinema;if(!t)return"";var b=f.activeItem,w=f.displaySidebarRight,j=f.displaySidebarRightSecond,A=f.performancePageOpen,S=f.activeMovieTimes,O
2=f.activeDetailsItem,k=f.currentActiveSelection,C=t[b];if(!C||!b)return"";var E=(0,x.useMemo)(function(){return(0,ne.A)(C.images)},[C.images]),_={order:r,msGridRow:i},T=O===b,M=O?" is-open":"";return d===k&&(0,P.jsxs)("div",{className:"order-wrapper movie-information-is-open"+M,style:_,children:[!w&&!A&&(0,P.jsx)(sr,{movieData:C,relevantPerformances:n,queryStringValues:a,itemID:b,movieTimePk:S,activeCinema:y,scrollToPosition:b+c,backgroundImage:E.performance,isMobile:o,trailerImage:E.ambient,hideCinemaSelector:u,overviewFilterIgnoreOnPerformances:s,onOpenDetails:(0,te.Yu)(m,l.information),onCloseDetails:(0,te.Oz)(p,l.information),onCloseInformation:(0,te.Qs)(h,l.information),onOpenIframe:(0,te._b)(v,l.information)}),!w&&!j&&!o&&A&&(0,P.jsx)(je,{activeItem:b,movieTimePk:S,isMobile:o,movieData:C,backgroundImage:E.performance,ambientImage:E.ambient,scrollToPosition:b+c,onOpenPerformancePage:(0,te._b)(v,l.performance),onClosePerformancePage:(0,te.ij)(g,l.performance),overviewFilterIgnoreOnPerformances:s,hideCinemaSelector:u}),(0,P.jsx)(Gv,{name:b+c+" movieDetails"}),!j&&T&&(0,P.jsx)(J,{itemID:b,movieTimePk:S,trailerImage:E.ambient,movieData:C,queryStringValues:a,backgroundImage:E.details,isMobile:o,scrollToPosition:b+c,onCloseDetails:(0,te.Oz)(p,l.details)}),w&&(0,P.jsxs)(ee.cq,{children:[(0,P.jsx)("div",{className:"site-slidebar-overlay accent-color-background-half-transparent",onClick:h}),(0,P.jsx)("div",{className:"site-slidebar-content accent-color-background-half-transparent",children:(0,P.jsx)(sr,{movieData:C,relevantPerformances:n,queryStringValues:a,itemID:b,activeCinema:y,movieTimePk:S,scrollToPosition:b+c,backgroundImage:E.performance,isMobile:o,trailerImage:E.ambient,hideCinemaSelector:!0,overviewFilterIgnoreOnPerformances:s,onOpenDetails:(0,te.Yu)(m,l.informationSlidebar),onCloseDetails:(0,te.Oz)(p,l.informationSlidebar),onCloseInformation:(0,te.Qs)(h,l.informationSlidebar),onOpenIframe:(0,te._b)(v,l.informationSlidebar)})})]}),j&&A&&(0,P.jsx)(ee.mN,{children:(0,P.jsx)(je,{activeItem:b,isMobile:o,movieTimePk:S,movieData:C,backgroundImage:E.performance,ambientImage:E.ambient,scrollToPosition:b+c,onOpenPerformancePage:(0,te._b)(v,l.performance),onClosePerformancePage:(0,te.ij)(g,l.performance),overviewFilterIgnoreOnPerformances:s,performancePageMovieTimes:!0,queryStringValues:a})}),j&&T&&(0,P.jsxs)(ee.mN,{children:[(0,P.jsx)("div",{className:"site-slidebar-overlay accent-color-background-half-transparent",onClick:(0,te.Oz)(function(){return p({movieTitle:C.title})},l.detailsSlidebar)}),(0,P.jsx)("div",{className:"site-slidebar-content accent-color-background-half-transparent",children:(0,P.jsx)(J,{itemID:b,movieTimePk:S,movieData:C,queryStringValues:a,trailerImage:E.ambient,isMobile:o,backgroundImage:E.details,scrollToPosition:b+c,onCloseDetails:(0,te.Oz)(p,l.detailsSlidebar)})})]})]})};var Xv=n(12111);function Kv(e){return Kv="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},Kv(e)}function Qv(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 Jv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qv(Object(n),!0).forEach(function(t){eg(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eg(e,t,n){return(t=ng(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tg(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,ng(r.key),r)}}function ng(e){var t=function(e,t){if("object"!=Kv(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Kv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Kv(t)?t:t+""}function rg(e,t,n){return t=og(t),function(e,t){if(t&&("object"==Kv(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)}(e,ig()?Reflect.construct(t,n||[],og(e).constructor):t.apply(e,n))}function ig(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ig=function(){return!!e})()}function og(e){return og=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},og(e)}function sg(e,t){return sg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sg(e,t)}const ag=function(e){var t=function(t){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=rg(this,n,[e])).state={gridCols:3},t.updateDimensions=t.updateDimensions.bind(t),t.getGridCols=t.getGridCols.bind(t),t}return 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&&sg(e,t)}(n,t),function(e,t,n){return t&&tg(e.prototype,t),n&&tg(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}
2(n,[{key:"componentDidMount",value:function(){this.updateDimensions(),this.debouncedUpdateDimensions=Xv.debounce(this.updateDimensions,300),window.addEventListener("resize",this.debouncedUpdateDimensions)}},{key:"componentWillUnmount",value:function(){this.debouncedUpdateDimensions.cancel(),window.removeEventListener("resize",this.debouncedUpdateDimensions)}},{key:"getGridCols",value:function(e){return this.props.trailerGrid?e>=1450?4:e>=1220&&e<=1449?3:e>=775&&e<=1219?2:1:"Arthouse"===this.props.theme?e>=1450?4:e>=1220&&e<=1449?3:e>=759&&e<=1219?2:e>=480&&e<=759?1:3:e>=1220?6:e>=760&&e<=1219?4:3}},{key:"getMovieInformationOrder",value:function(e,t){var n=this.props.elementDisplay,r=n.activeItem,i=n.activeItemIndex;return r?t&&t<i?i%e>0?i+(e-i%e)+1:i+1:i+(e-i%e):0}},{key:"getRow",value:function(e,t){var n=this.props.activeItem,r=this.getMovieInformationOrder(e,t);if(!n)return 0;for(var i=1;i<10;i++)if(~~(r/e)===i)return i+1}},{key:"updateDimensions",value:function(){var e=this.getGridCols((0,Gp.A)());e!==this.state.gridCols&&this.setState({gridCols:e})}},{key:"render",value:function(){var t,n=this.state.gridCols,r=this.props,i=r.items,o=(r.moviesData,r.interscrollerWeischerAds),s=r.interscrollerAdvertisements,a=n>3,l=s&&s[0],c=l&&(a&&l.images&&l.images.desktop&&l.images.desktop.url||!a&&l.images&&l.images.mobile&&l.images.mobile.url);if(i&&i.length>6&&(o&&o.length>0||c)){var u=Math.ceil(i.length/6)>=4?6:3;t=f(i,u)}var d={movieInformationOrder:this.getMovieInformationOrder(n,t),row:this.getRow(n,t),gridCols:n};return(0,P.jsx)(e,Jv(Jv({},this.props),d))}}])}(x.Component);return t};function lg(e){return lg="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},lg(e)}function cg(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,ug(r.key),r)}}function ug(e){var t=function(e,t){if("object"!=lg(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=lg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==lg(t)?t:t+""}function dg(e,t,n){return t=hg(t),function(e,t){if(t&&("object"==lg(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)}(e,fg()?Reflect.construct(t,n||[],hg(e).constructor):t.apply(e,n))}function fg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fg=function(){return!!e})()}function hg(e){return hg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hg(e)}function mg(e,t){return mg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mg(e,t)}var pg=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),dg(this,t,arguments)}return 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&&mg(e,t)}(t,e),function(e,t,n){return t&&cg(e.prototype,t),n&&cg(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){var e=this.props,t=e.items,n=e.relevantPerformances,r=e.fallbackItemsActive,i=e.moviesData,o=e.overviewFilterIgnoreOnPerformances,s=e.onOpenPerformancePage,a=e.hasGridHoverTrailer,l=e.interscrollerWeischerAds,c=e.interscrollerAdvertisements,u=e.movieInformationOrder,d=e.queryStringValues,f=e.isMobile,h=e.theme,v=e.stripeAppearance,g=e.additionalScrollName,y=void 0===g?"":g,b=e.isConnectedFast,w=e.elementDisplay,x=e.closeItemInformation,j=e.openItemDetails,A=e.closeItemDetails,S=e.onClosePerformancePage,O=e.row,k=e.hideCinemaSelector,C=e.selectionId,E=e.activeCinema,_={poster:"Programmübersicht, Grid, Posterelement",information:"Programmübersicht, Grid, Film Information",informationSlidebar:"Programmübersicht, Grid, Film Information/rechte Slidebar",details:"Programmübersicht, Grid, Film Details",detailsSlidebar:"Programmübersicht, Grid, Film Details/rechte Slidebar",performance:"Programmübersicht, Grid, Film Vorführung"},T=Math.ceil(t.length/6)>=4?6:3,M=this.props.gridCols>3,I=m(c,M),N=I?[I]:[],D=p(t,l,N,T),L=D.interscrollerId,R=D.interscrollerType,F=D.itemsWithInterscroller,V=f?"":v;return(0,P.jsx)("div",{className:"grid-site-wrapper",children:(0,P.jsxs)("div",{className:"overview-grid "+V,children:[(0,P.jsx)(qv,{items:F,fallbackItemsActive:r,activeItem:w.activeItem,selectionId:C,theme:h,additionalScrollName:y,overviewFilterIgnoreO
2nPerformances:o,moviesData:i,eventOrigin:_.poster,movieInformationOrder:u,isMobile:f,hasGridHoverTrailer:a,interscrollerId:L,interscrollerType:R,interscrollerWeischerAds:l,interscrollerAdvertisements:N,queryStringValues:d,isConnectedFast:b,onOpenPerformancePage:s,elementDisplay:w,relevantPerformances:n}),(0,P.jsx)(Yv,{moviesData:i,relevantPerformances:n,movieInformationOrder:u,activeCinema:E,theme:h,row:O,isMobile:f,overviewFilterIgnoreOnPerformances:o,queryStringValues:d,eventOrigins:_,additionalScrollName:y,hideCinemaSelector:k,selectionId:C,elementDisplay:w,closeItemInformation:x,openItemDetails:j,closeItemDetails:A,onOpenPerformancePage:s,onClosePerformancePage:S})]})})}}])}(x.Component);const vg=ag(pg);const gg=function(e){var t=e.backgroundImage,n=e.isMobile;if(t){var r=(0,V.A)(t,!1,n);return(0,P.jsx)("div",{className:"grid-image",style:r})}return(0,P.jsx)("div",{className:"grid-image no-image"})};const yg=function(e){var t=e.title,n=e.logo;return t||n&&n.url?(0,P.jsx)("h5",{className:"grid-title",children:n&&n.url?(0,P.jsx)(Y.A,{title:t,logo:n}):(0,P.jsx)("span",{className:"title-large",children:t})}):""};var bg=n(76006),wg=n(24596),xg=n(27256);const jg=(0,bg.A)((0,wg.A)(function(e){var t=e.title,n=e.logo,r=e.backgroundImage,i=e.isMobile,o=e.shouldPlayTrailer,s=e.maybeVideo,a=e.isReady,l=e.videoLoaded,c=e.youtubeId,u=e.trailerTime,d=e.onPlayerReady,f=e.onPlayerStateChange,h=e.onPlayerEnd,m=e.onPlayerUmount,p={display:l?"block":"none"};return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(gg,{backgroundImage:r,isMobile:i}),o&&!0===s&&a&&(0,P.jsx)("div",{className:"grid-trailer",style:p,children:(0,P.jsx)(xg.A,{youtubeId:c,trailerTime:u,width:"747",height:"420",iframeClass:"grid-trailer-iframes",onPlayerReady:d,onPlayerStateChange:f,onPlayerEnd:h,onPlayerUmount:m})}),(0,P.jsx)("div",{className:"grid-gradient"}),(0,P.jsx)(yg,{title:t,logo:n})]})}));var Ag=n(12814),Sg=n(36487),Og=n(12111);const kg=(0,v.Ng)((0,Q.A)(function(e,t){return{hasYoutubeCookieConfirmation:(0,g.A)(e,[y.UI_TRAILER,"hasYoutubeCookieConfirmation"]),cinemaDataFront:(0,g.A)(e,y.FRONT),movieTimes:(0,g.A)(e,[y.PROGRAM_MOVIETIMES_ITEMS,t.movieTimePk])}}),function(e,t){return{onClickItem:function(n){(t.elementDisplay.activePerformance||t.elementDisplay.performancePageOpen)&&e((0,ur.QC)(!1,!1)),t.elementDisplay.activeDetailsItem&&e((0,ur.vx)(!1)),e((0,ur.az)(n.index)),e((0,ur.Bw)(n.id,t.movieTimePk)),e((0,ur.XX)(t.selectionId)),t.isMobile&&e((0,ur.wL)("right",1,!0))}}})((0,ze.A)(function(e){var t=e.hasYoutubeCookieConfirmation,n=e.cinemaDataFront,r=e.movieTimes,i=e.onClickItem,o=e.itemID,s=e.itemData,a=e.scrollToPosition,l=e.index,c=void 0===l?"":l,u=e.showPerformances,d=e.isMobile,f=e.shouldPlayTrailer,h=void 0!==f&&f,m=e.isConnectedFast,p=e.refElemViewport,v=e.isInViewport,g=e.setTrailerItemsInView,y=e.eventOrigin,b=s.title,w=s.images,j=s.titleDisplay,A=s.fsk,S=s.origTitle,C=s.trailerURL,E=s.logo,_=r.technologyAttributes,T=r.hasMultipleAttributeCombinations,M=n.poster_styling,I=(0,x.useMemo)(function(){return(0,ne.A)(w)},[w]),N=Og.find(_,function(e){return"ovwefwfewef"===e.id}),D=j||(N&&S?S:b),L=u?" theme-radius-posters-top":" theme-radius-posters-full",R=(0,q.A)(_),F=R.noAttributesToDisplay,V=R.technologyAttributesWithoutIcons,$=R.technologyAttributesWithIcons,B=R.noAttributesWithoutIconsToDisplay,U=R.noAttributesWithIconsToDisplay,H=R.cinedomXAttributes,W=R.hasCinedomX,Z=(0,Ag.A)(_),Y=(0,te.oo)(i,y);return(0,P.jsx)("div",{className:"trailer-format-item-wrapper cursor-pointer",children:(0,P.jsx)("div",{className:"trailer-format-item"+Z+" "+M,ref:p,children:(0,P.jsxs)(O.A,{className:"picture-wrapper"+L,onClick:function(){return Y({id:o,movieTitle:b,index:c})},to:a+" openMovieInformation",smooth:!0,offset:-200,children:[(0,P.jsx)(jg,{title:D,logo:E,backgroundImage:I.ambient,isMobile:d,shouldPlayTrailer:h,index:c,setTrailerItemsInView:g,isInViewport:v,isConnectedFast:m,hasYoutubeCookieConfirmation:t,trailerURL:C,fsk:A,trailerAutoplay:!0}),W&&(0,P.jsx)("div",{className:"cinedom-x-logo-wrapper",children:(0,P.jsx)(Sg.A,{attributeId:"cinedom x"})}),"hoveranimation"===M&&(0,P.jsxs)("div",{className:"poster-info",children:[(0,P.jsx)(z.A,{fsk:A}),(0,P.jsxs)("div",{className:"tickets-button",children:[(0,P.jsx)("div",{className:"tickets-icon"}),(0,P.jsx)("p",{className:"",children:(0,P.jsx)(k.Ay,{id:"tickets"})})]}),(0,P.jsxs)("div",{className:"attributes-container",children:[!F&&(0,P.jsxs)("p",{className:"text-bold attribute-wrapper-title",children:[T?(0,P.jsx)(k.Ay,{id:"alsoAvailableIn",children:"Auch verfügbar in"}):(0,P.jsx)(k.Ay,{id:"availableIn",children:"Verfügbar in"}),":"]}),!U&&(0,P.jsx)("div",{className:"attributes-with-icons",children:(0,P.jsx)(G.A,{attributes:$,canBeColored:!0,cinedomX:W})}),0!==H.length&&(0,P.jsx)("div",{className:"attributes-with-icons cinedom-x",children:(0,P.jsx)(G.A,{performanceAttribute:!1,attributes:H,cinedomX:!0})}),!B&&(0,P.jsx)("div",{className:"attributes-without-icons",children:(0,P.jsx)(G.A,{attributes:V})})]})]}),"fsk_on_poster"===M&&(16===A||18===A)&&(0,P.jsx)("div",{className:"poster-info fsk-hint-poster theme-radius-p
2osters-full",children:(0,P.jsx)(z.A,{fsk:A})})]})})})}));var Pg=S.Ay.Element;const Cg=function(e){var t=e.items,n=e.moviesData,r=e.eventOrigin,i=e.movieInformationOrder,o=e.activeItem,s=e.playTrailerIems,a=e.additionalScrollName,l=e.isConnectedFast,c=e.selectionId,u=e.interscrollerId,d=e.isMobile,f=e.queryStringValues,h=e.elementDisplay,m=e.interscrollerType,p=e.interscrollerWeischerAds,v=e.interscrollerAdvertisements,g=e.setTrailerItemsInView;return 0===t.length?(0,P.jsx)("h3",{className:"no-movie title-xlarge-theatre",children:(0,P.jsx)(k.Ay,{id:"ThereCurrentlyNoFilmsTypes",children:"Zurzeit laufen keine Filme dieser Art"})}):t.map(function(e,t){var y=null,b=0;o&&(b=t<i?t:t+1);var w={order:b};if(m&&e===u)return(0,P.jsx)(Ke,{interscrollerType:m,interscrollerWeischerAds:p,interscrollerAdvertisements:v,styles:w},t);y=n[e];var x=t.toString(),j=s.hasOwnProperty(x)&&s[x].play;return(0,P.jsxs)("div",{className:"order-wrapper",style:w,children:[(0,P.jsx)(Pg,{name:e+a}),(0,P.jsx)(kg,{itemID:e,index:t,movieTimePk:e,queryStringValues:f,isMobile:d,selectionId:c,elementDisplay:h,itemData:y,scrollToPosition:e+a,eventOrigin:r,shouldPlayTrailer:j,isConnectedFast:l,setTrailerItemsInView:g}),(0,P.jsx)(Pg,{name:e+a+" openMovieInformation"})]},t)})};var Eg=n(12111);function _g(e){return _g="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},_g(e)}function Tg(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 Mg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tg(Object(n),!0).forEach(function(t){Ig(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tg(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ig(e,t,n){return(t=Dg(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ng(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,Dg(r.key),r)}}function Dg(e){var t=function(e,t){if("object"!=_g(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=_g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_g(t)?t:t+""}function Lg(e,t,n){return t=Fg(t),function(e,t){if(t&&("object"==_g(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)}(e,Rg()?Reflect.construct(t,n||[],Fg(e).constructor):t.apply(e,n))}function Rg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rg=function(){return!!e})()}function Fg(e){return Fg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Fg(e)}function Vg(e,t){return Vg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vg(e,t)}var $g=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Lg(this,t,[e])).state={startPlayTrailersIntervallId:!1,playTrailerIems:{}},n.playTrailerAfter=1400,n.setTrailerItemsInView=n.setTrailerItemsInView.bind(n),n.startPlayTrailers=n.startPlayTrailers.bind(n),n.playTrailer=n.playTrailer.bind(n),n}return 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&&Vg(e,t)}(t,e),function(e,t,n){return t&&Ng(e.prototype,t),n&&Ng(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}
2(t,[{key:"componentDidMount",value:function(){this.startPlayTrailers(),this.debouncedStartPlayTrailers=Eg.debounce(this.startPlayTrailers,300),window.addEventListener("resize",this.debouncedStartPlayTrailers),window.addEventListener("scroll",this.debouncedStartPlayTrailers)}},{key:"componentWillUnmount",value:function(){var e=this.state.startPlayTrailersIntervallId;this.debouncedStartPlayTrailers.cancel(),window.removeEventListener("resize",this.debouncedStartPlayTrailers),window.removeEventListener("scroll",this.debouncedStartPlayTrailers),e&&clearInterval(e)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.activeSelection,i=n.activeItem,o=n.selectionId,s=n.closeItemInformation,a=n.items;r!==e.activeSelection&&r&&i&&r!==o&&s(),e.items!==a&&this.startPlayTrailers()}},{key:"arrayEquals",value:function(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return e===t[n]})}},{key:"setTrailerItemsInView",value:function(e,t){var n=e.toString();this.setState(function(e){var r=e.playTrailerIems.hasOwnProperty(n);return r&&t===e.playTrailerIems[n].isInView?null:Mg(Mg({},e),{},{playTrailerIems:Mg(Mg({},e.playTrailerIems),{},Ig({},n,{id:n,isInView:t,play:!!(r&&e.playTrailerIems[n].play&&t)}))})})}},{key:"playTrailer",value:function(){var e=this;this.setState(function(t){var n=Object.values(t.playTrailerIems).filter(function(e){return e.isInView&&!e.play}),r=n.length;if(r>0){var i=n[e.randomIntFromInterval(0,r-1)];return Mg(Mg({},t),{},{playTrailerIems:Mg(Mg({},t.playTrailerIems),{},Ig({},i.id,Mg(Mg({},i),{},{play:!0})))})}return clearInterval(t.startPlayTrailersIntervallId),Mg(Mg({},t),{},{startPlayTrailersIntervallId:!1})})}},{key:"startPlayTrailers",value:function(){var e=this;this.setState(function(t){if(t.startPlayTrailersIntervallId)return null;var n=setInterval(e.playTrailer,e.playTrailerAfter);return Mg(Mg({},t),{},{startPlayTrailersIntervallId:n})})}},{key:"randomIntFromInterval",value:function(e,t){return Math.floor(Math.random()*(t-e+1)+e)}},{key:"render",value:function(){var e=this.props,t=e.items,n=e.relevantPerformances,r=e.moviesData,i=e.selectionId,o=e.interscrollerAdvertisements,s=e.interscrollerWeischerAds,a=e.queryStringValues,l=e.overviewFilterIgnoreOnPerformances,c=e.isMobile,u=e.theme,d=e.additionalScrollName,f=void 0===d?"":d,h=e.isConnectedFast,v=e.elementDisplay,g=e.hideCinemaSelector,y=e.closeItemInformation,b=e.openItemDetails,w=e.closeItemDetails,x=e.onOpenPerformancePage,j=e.onClosePerformancePage,A=e.activeCinema,S=e.movieInformationOrder,O=e.row,k=this.state.playTrailerIems,C={poster:"Programmübersicht, Grid, Posterelement",information:"Programmübersicht, Grid, Film Information",informationSlidebar:"Programmübersicht, Grid, Film Information/rechte Slidebar",details:"Programmübersicht, Grid, Film Details",detailsSlidebar:"Programmübersicht, Grid, Film Details/rechte Slidebar",performance:"Programmübersicht, Grid, Film Vorführung"},E=Math.ceil(t.length/6)>=4?6:3,_=this.props.gridCols>3,T=m(o,_),M=T?[T]:[],I=p(t,s,M,E),N=I.interscrollerId,D=I.interscrollerType,L=I.itemsWithInterscroller;return(0,P.jsx)("div",{className:"grid-site-wrapper",children:(0,P.jsxs)("div",{className:"overview-grid-trailer",children:[(0,P.jsx)(Cg,{items:L,moviesData:r,eventOrigin:C.poster,movieInformationOrder:S,activeItem:v.activeItem,elementDisplay:v,selectionId:i,playTrailerIems:k,additionalScrollName:f,isConnectedFast:h,isMobile:c,queryStringValues:a,interscrollerId:N,interscrollerType:D,interscrollerWeischerAds:s,interscrollerAdvertisements:M,setTrailerItemsInView:this.setTrailerItemsInView}),(0,P.jsx)(Yv,{moviesData:r,relevantPerformances:n,movieInformationOrder:S,theme:u,row:O,isMobile:c,overviewFilterIgnoreOnPerformances:l,queryStringValues:a,eventOrigins:C,additionalScrollName:f,hideCinemaSelector:g,selectionId:i,elementDisplay:v,closeItemInformation:y,openItemDetails:b,closeItemDetails:w,onOpenPerformancePage:x,onClosePerformancePage:j,activeCinema:A})]})})}}])}(x.Component);const Bg=ag($g);var Ug=n(28511),Hg=n(49331),Wg=n(83751),zg=n(12111),Zg=S.Ay.Element;const qg=(0,v.Ng)((0,Q.A)(function(e,t){return{performanceData:(0,g.A)(e,[y.PROGRAM_PERFORMANCES_ITEMS,t.performanceId]),cinemas:(0,g.A)(e,y.PROGRAM_CINEMAS),currentCinemaId:(0,g.A)(e,y.CLI_CURRENT_CINEMA_ID),timezone:(0,g.A)(e,y.TRANSLATION_TIMEZONE),movies:(0,g.A)(e,y.PROGRAM_MOVIES_ITEMS)}}),null)(function(e){var t=e.performanceData,n=e.cinemas,r=e.currentCinemaId,i=e.timezone,o=e.movies,s=e.index,a=e.activeCinema,l=e.scrollToPosition,c=e.additionalScrollName,u=e.onClickItem,d=e.activeFilters,f=t.timeUtc,h=t.moviePk,m=t.attributes,p=t.posterAttribute,v=t.deeplinkURL,g=t.id,y=t.cinema,b=t.alternativeLinks,w=t.refPk,x=(0,fp.A)(i);if(!(0,Wg.A)(x,(0,Bm.A)(f,i)))return"";var j=o[h],A=j?j.titleDisplay?j.titleDisplay:j.title:null,S=a?n[a].scope.type===wc.hm:n[r].scope.type===wc.hm,k=zg.pluck(m,"id"),C=(0,xt.A)(k),E=C.technologyAttributesWithIcons,_=C.technologyAttributesWithoutIcons,T=(C.hasCinedomX,C.cinedomXAttributes),I=n[y],N=b&&b[y],D=(0,Ag.A)(m);if(d&&(d.technical&&!zg.find(m,function(e){return zg.contains(d.technical,e.id)})))return"";var L=(0,zv.A)(),R=L.multitotalStyle,F=(L.themeColors,L.multiCinemaMode),V=(0,Ug.A)(L,[I.pk]),$=V.cinemaColor,B=V.cinemaIcon,U=$&&"colored"===R&&F===wc.GR?{color:$}:{},H=I&&I.scope.cinemaDataProvider&&I.scope.cinemaDataProvider.type===ve.Ac,W=H||v&&-1!==v.search("kinotickets.online");return N?(0,P.jsx)("li",{className:"showtime-performance",children:(0,P.jsxs)("a",{className:"grid-showtimes-performance cursor-pointer",href:N,rel:"noreferrer",target:"_blank",children:[(0,P.jsx)("div",{className:"showtime-date text-large-bold",children:(0,P.jsx)(M.A,{id:"showtimePerformance",timeStr
2ing:f})}),(0,P.jsxs)("div",{children:[(0,P.jsx)("div",{className:"showtimes-performance-attributes",children:(0,P.jsx)("div",{className:"grid-showtimes-attributes clearfix "+D,children:(0,P.jsx)(G.A,{attributes:_,performanceAttribute:!1,canBeColored:!0})})}),(0,P.jsx)("div",{className:"showtimes-performance-title text-large-medium",children:A}),(0,P.jsxs)("div",{className:"showtimes-performance-attributes",children:[(0,P.jsx)("div",{className:"grid-showtimes-attributes clearfix",children:(0,P.jsx)(G.A,{attributes:E,performanceAttribute:!1,canBeColored:!0})}),0!==T.length&&(0,P.jsx)("div",{className:"attributes-with-icons cinedom-x",children:(0,P.jsx)(G.A,{performanceAttribute:!1,attributes:T,cinedomX:!0})})]}),p&&(0,P.jsx)("div",{className:"showtimes-poster-attribute text-medium",children:p.name}),S?"default"===R&&B&&I?(0,P.jsx)(Hg.A,{cinemaData:I},s):(0,P.jsx)("div",{className:"showtimes-poster-attribute text-medium",style:U,children:I.nameDisplay}):""]})]})}):W?(0,P.jsx)("li",{className:"showtime-performance",children:(0,P.jsxs)("a",{className:"grid-showtimes-performance cursor-pointer",href:v,rel:"noreferrer",target:H?"_self":"_blank",children:[(0,P.jsx)("div",{className:"showtime-date text-large-bold",children:(0,P.jsx)(M.A,{id:"showtimePerformance",timeString:f})}),(0,P.jsxs)("div",{children:[(0,P.jsx)("div",{className:"showtimes-performance-attributes",children:(0,P.jsx)("div",{className:"grid-showtimes-attributes clearfix "+D,children:(0,P.jsx)(G.A,{attributes:_,performanceAttribute:!1,canBeColored:!0})})}),(0,P.jsx)("div",{className:"showtimes-performance-title text-large-medium",children:A}),(0,P.jsxs)("div",{className:"showtimes-performance-attributes",children:[(0,P.jsx)("div",{className:"grid-showtimes-attributes clearfix",children:(0,P.jsx)(G.A,{attributes:E,performanceAttribute:!1,canBeColored:!0})}),0!==T.length&&(0,P.jsx)("div",{className:"attributes-with-icons cinedom-x",children:(0,P.jsx)(G.A,{performanceAttribute:!1,attributes:T,cinedomX:!0})})]}),p&&(0,P.jsx)("div",{className:"showtimes-poster-attribute text-medium",children:p.name}),S?"default"===R&&B&&I?(0,P.jsx)(Hg.A,{cinemaData:I},s):(0,P.jsx)("div",{className:"showtimes-poster-attribute text-medium",style:U,children:I.nameDisplay}):""]})]})}):(0,P.jsxs)("li",{className:"showtime-performance",children:[(0,P.jsx)(Zg,{name:h+"-"+f+c}),(0,P.jsxs)(O.A,{className:"grid-showtimes-performance cursor-pointer "+h,onClick:function(){return u({id:g,timeUtc:f,url:v,movieId:h,movieTitle:A,cinema:y,refPk:w})},to:l+" movieInformation",smooth:!0,offset:-100,children:[(0,P.jsx)("div",{className:"showtime-date text-large-bold",children:(0,P.jsx)(M.A,{id:"showtimePerformance",timeString:f})}),(0,P.jsxs)("div",{children:[(0,P.jsx)("div",{className:"showtimes-performance-attributes",children:(0,P.jsx)("div",{className:"grid-showtimes-attributes clearfix "+D,children:(0,P.jsx)(G.A,{attributes:_,performanceAttribute:!1,canBeColored:!0})})}),(0,P.jsx)("div",{className:"showtimes-performance-title text-large-medium",children:A}),(0,P.jsxs)("div",{className:"showtimes-performance-attributes",children:[(0,P.jsx)("div",{className:"grid-showtimes-attributes clearfix",children:(0,P.jsx)(G.A,{performanceAttribute:!1,attributes:E,canBeColored:!0})}),0!==T.length&&(0,P.jsx)("div",{className:"attributes-with-icons cinedom-x",children:(0,P.jsx)(G.A,{performanceAttribute:!1,attributes:T,cinedomX:!0})})]}),p&&(0,P.jsx)("div",{className:"showtimes-poster-attribute text-medium",children:p.name}),S?"default"===R&&B&&I?(0,P.jsx)(Hg.A,{cinemaData:I},s):(0,P.jsx)("div",{className:"showtimes-poster-attribute text-medium",style:U,children:I.nameDisplay}):""]})]}),(0,P.jsx)(Zg,{name:h+c+" openMovieInformation"})]})});const Gg=function(e){var t=e.dayKey,n=e.items,r=e.timezone,i=e.scrollToPosition,o=e.additionalScrollName,s=e.onClickItem,a=(0,Jm.A)((0,fp.A)(r)),l=(0,Um.A)(a)===(0,Um.A)(t,r);return(0,P.jsxs)("li",{className:"showtimes-dayitem",children:[(0,P.jsx)("h5",{className:"showtime-day text-xlarge-bold",children:l?(0,P.jsx)(k.Ay,{id:"today",children:"Heute"}
2):(0,P.jsx)(M.A,{id:"performanceDates",timeString:t})}),(0,P.jsx)("ul",{children:n.map(function(e,t){return(0,P.jsx)(qg,{index:t,performanceId:e,scrollToPosition:i,additionalScrollName:o,onClickItem:s},t)})}),(0,P.jsx)("div",{className:"showtimes-dayitem-line"})]})};var Yg=n(12111);function Xg(e){return Xg="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},Xg(e)}function Kg(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 Qg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kg(Object(n),!0).forEach(function(t){Jg(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kg(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Jg(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Xg(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Xg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xg(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ey(e){return function(e){if(Array.isArray(e))return ty(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ty(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ty(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ty(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const ny=(0,v.Ng)((0,Q.A)(function(e){return{performanceData:(0,g.A)(e,y.PROGRAM_PERFORMANCES_ITEMS)}}),null)(function(e){var t=e.items,n=e.relevantPerformances,r=e.timezone,i=e.scrollToPosition,o=e.programOverviewShowtimesType,s=e.additionalScrollName,a=e.hasTitle,l=e.onClickItem,c=e.performanceData,u=function(e){return c?ey(e).sort(function(e,t){var n=c[e]?c[e].timeUtc:"",r=c[t]?c[t].timeUtc:"";return n<r?-1:n>r?1:0}):e},d=Qg(Qg({},Jt.pU.showtimesDaySettings),{},{nextArrow:(0,P.jsx)(rn.q,{}),prevArrow:(0,P.jsx)(rn.w,{})}),f=a?" has-title":"";return"dayWheel"===o?(0,P.jsx)("div",{className:"showtimes gradient-showtimes"+f,children:(0,P.jsxs)("div",{className:"showtimes-wrapper",children:[a&&(0,P.jsx)("div",{className:"showtimes-title title-xlarge-bold",children:(0,P.jsx)(k.Ay,{id:"program"})}),(0,P.jsx)("div",{className:"slider-showtimes",children:Yg.keys(t).length<4?(0,P.jsx)("div",{className:"date-slider-day-container grid",children:Yg.keys(t).sort().map(function(e,o){var a=t[e].performances,c=u(n?Yg.intersection(a,n):a);return c.length>0&&(0,P.jsx)("div",{className:"date-slider-day-wrapper",children:(0,P.jsx)(Gg,{relevantPerformances:n,dayKey:e,items:c,timezone:r,scrollToPosition:i,additionalScrollName:s,onClickItem:l},o)},o)})}):(0,P.jsx)(tn.A,Qg(Qg({className:"showtimes-date-slider"},d),{},{children:Yg.keys(t).sort().map(function(e,o){var a=t[e].performances,c=u(n?Yg.intersection(a,n):a);return c.length>0&&(0,P.jsx)("div",{className:"date-slider-day-wrapper",children:(0,P.jsx)(Gg,{relevantPerformances:n,dayKey:e,items:c,timezone:r,scrollToPosition:i,additionalScrollName:s,onClickItem:l},o)},o)})}))})]})}):(0,P.jsx)("div",{className:"showtimes gradient-showtimes"+f,children:(0,P.jsxs)("div",{className:"showtimes-wrapper",children:[a&&(0,P.jsx)("div",{className:"showtimes-title title-xlarge-bold",children:(0,P.jsx)(k.Ay,{id:"program"})}),(0,P.jsx)("ul",{className:"grid-showtimes",children:Yg.keys(t).sort().map(function(e,o){var a=t[e].performances,c=u(n?Yg.intersection(a,n):a);return c.length>0&&(0,P.jsx)(Gg,{dayKey:e,items:c,additionalScrollName:s,timezone:r,scrollToPosition:i,onClickItem:l},o)})})]})})});const ry=function(e){return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e),(0,P.jsx)("div",{className:"grid-site-wrapper",children:(0,P.jsx)("div",{className:"overview-grid",children:(0,P.jsx)("h3",{className:"no-movie title-xlarge-theatre",children:(0,P.jsx)(k.Ay,{id:"ThereCurrentlyNoFilmsTypes",children:"Zurzeit laufen keine Filme dieser Art"})})})})};const iy=function(e){var t=e.activeItem,n=e.additionalScrollName,r=e.itemsData,i=e.displaySidebarRightSecond,o=e.activePerformance,s=e.performancePageOpen,a=e.onOpenPerformancePage,l=e.onClosePerformancePage,c=e.isMobile,u=e.eventOrigins,d=e.hideCinemaSelector,f=e.movieTimePk,h=e.selectionId,m=e.currentActiveSelection;if(!r)return"";var p=r[t];if(!p||!t)return"";var v=p.images,g=(0,x.useMemo)(function(){return(0,ne.A)(v)},[v]);return h===m&&(0,P.jsxs)("div",{className:"order-wrapper movie-information-is-open",children:[!i&&!c&&s&&(0,P.jsx)(je,{activeItem:t,isMobile:c,movieData:p,backgroundImage:g.performance,ambientImage:g.ambient,scrollToPosition:t+"-"+o.timeUtc+n,onOpenPerformancePage:(0,te._b)(a,u.performance),onClosePerformancePage:(0,te.ij)(l,u.performance),hideCinemaSelector:d,movieTimePk:f}),i&&s&&(0,P.jsx)(ee.mN,{children:(0,P.jsx)(je,{activeItem:t,isMobile:c,movieData:p,backgroundImage:g.performance,ambientImage:g.ambient,scrollToPosition:t+"-"+o.timeUtc+n,performancePageMovieTimes:!0,onOpenPerformancePage:(0,te._b)(a,u.performance),onClosePerformancePage:(0,te.ij)(l,u.performance),hideCinemaSelector:d,movieTimePk:f})})]})};function oy(e){return oy="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},oy(e)}function sy(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,ay(r.key),r)}}function ay(e){var t=function(e,t){if("object"!=oy(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=oy(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==oy(t)?t:t+""}
2function ly(e,t,n){return t=uy(t),function(e,t){if(t&&("object"==oy(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)}(e,cy()?Reflect.construct(t,n||[],uy(e).constructor):t.apply(e,n))}function cy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cy=function(){return!!e})()}function uy(e){return uy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uy(e)}function dy(e,t){return dy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dy(e,t)}var fy=S.Ay.Element,hy=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ly(this,t,[e])}return 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&&dy(e,t)}(t,e),function(e,t,n){return t&&sy(e.prototype,t),n&&sy(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.timezone,r=e.movies,i=e.selectionId,o=e.relevantPerformances,s=e.isMobile,a=e.programOverviewShowtimesType,l=e.additionalScrollName,c=void 0===l?"":l,u=e.elementDisplay,d=e.onOpenPerformancePage,f=e.onClosePerformancePage,h="showtimes-position",m=t.dayFilters&&t.dayFilters.performanceDates?t.dayFilters.performanceDates:null;if(0===m.length)return(0,P.jsx)(ry,{});var p=u.activeItem,v=u.activePerformance,g=u.displaySidebarRightSecond,y=u.performancePageOpen,b=u.activeMovieTimes,w=u.currentActiveSelection,x={showtime:"Programmübersicht, Showtimes, Showtime Element",information:"Programmübersicht, Showtimes, Film Information",informationSlidebar:"Programmübersicht, Showtimes, Film Information/rechte Slidebar",details:"Programmübersicht, Showtimes, Film Details",detailsSlidebar:"Programmübersicht, Showtimes, Film Details/rechte Slidebar",performance:"Programmübersicht, Showtimes, Film Vorführung"};return(0,P.jsx)("div",{className:"overview-grid",children:(0,P.jsxs)("div",{className:"list-showtimes",children:[(0,P.jsx)(fy,{name:p||"none"}),(0,P.jsx)(ny,{items:m,relevantPerformances:o,timezone:n,scrollToPosition:h+c,programOverviewShowtimesType:a,additionalScrollName:c,hasTitle:!1,onClickItem:(0,te._b)(d,x.showtime)}),(0,P.jsx)(fy,{name:h+c+" movieInformation"}),(0,P.jsx)(iy,{activeItem:p,isMobile:s,additionalScrollName:c,itemsData:r.items,displaySidebarRightSecond:g,activePerformance:v,performancePageOpen:y,onOpenPerformancePage:d,onClosePerformancePage:f,eventOrigins:x,movieTimePk:b,selectionId:i,currentActiveSelection:w})]})})}}])}(x.Component);const my=(0,v.Ng)((0,Q.A)(function(e,t){return{attributes:(0,g.A)(e,y.PROGRAM_ATTRIBUTES),timezone:(0,g.A)(e,y.TRANSLATION_TIMEZONE),movies:(0,g.A)(e,y.PROGRAM_MOVIES)}}),null)(hy);const py=function(e){var t=e.selectionId,n=e.items,r=e.relevantPerformances,i=e.fallbackItemsActive,o=e.moviesData,s=e.interscrollerAdvertisements,a=e.interscrollerWeischerAds,l=e.view,c=e.additionalScrollName,u=e.queryStringValues,d=e.isMobile,f=e.programOverviewShowtimesType,h=e.programOverviewListStyle,m=e.displayMoviePerformanceMobile,p=e.hasGridHoverTrailer,v=e.theme,g=e.stripeAppearance,y=e.overviewFilterIgnoreOnPerformances,b=e.elementDisplay,w=e.isConnectedFast,x=e.onCloseInformation,j=e.onCloseDetails,A=e.onOpenDetails,S=e.onOpenPerformancePage,O=e.onClosePerformancePage,k=e.activeCinema;return"showtimes"===l?(0,P.jsx)(my,{selectionId:t,relevantPerformances:r,queryStringValues:u,isMobile:d,programOverviewShowtimesType:f,additionalScrollName:c,elementDisplay:b,onOpenPerformancePage:S,onClosePerformancePage:O}):"list"===l?(0,P.jsx)(Qe,{items:n,relevantPerformances:r,moviesData:o,selectionId:t,interscrollerAdvert
2isements:s,interscrollerWeischerAds:a,queryStringValues:u,overviewFilterIgnoreOnPerformances:y,isMobile:d,theme:v,stripeAppearance:g,programOverviewListStyle:h,displayMoviePerformanceMobile:m,additionalScrollName:c,elementDisplay:b,hideCinemaSelector:!0,isSingleMovie:!1,onCloseDetails:j,onOpenDetails:A,onOpenPerformancePage:S,onClosePerformancePage:O,activeCinema:k}):"grid-trailer"===l?(0,P.jsx)(Bg,{items:n,relevantPerformances:r,moviesData:o,selectionId:t,interscrollerAdvertisements:s,interscrollerWeischerAds:a,queryStringValues:u,overviewFilterIgnoreOnPerformances:y,isMobile:d,theme:v,additionalScrollName:c,isConnectedFast:w,elementDisplay:b,hideCinemaSelector:!0,closeItemInformation:x,openItemDetails:A,closeItemDetails:j,onOpenPerformancePage:S,onClosePerformancePage:O,activeCinema:k,trailerGrid:!0}):"grid"===l?(0,P.jsx)(vg,{items:n,relevantPerformances:r,fallbackItemsActive:i,moviesData:o,selectionId:t,interscrollerAdvertisements:s,interscrollerWeischerAds:a,queryStringValues:u,overviewFilterIgnoreOnPerformances:y,hasGridHoverTrailer:p,isMobile:d,theme:v,stripeAppearance:g,additionalScrollName:c,isConnectedFast:w,elementDisplay:b,hideCinemaSelector:!0,closeItemInformation:x,openItemDetails:A,closeItemDetails:j,onOpenPerformancePage:S,onClosePerformancePage:O,activeCinema:k}):""};var vy=n(7897),gy=n(295),yy=n(12111);function by(e){return by="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},by(e)}function wy(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,xy(r.key),r)}}function xy(e){var t=function(e,t){if("object"!=by(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=by(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==by(t)?t:t+""}function jy(e,t,n){return t=Sy(t),function(e,t){if(t&&("object"==by(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)}(e,Ay()?Reflect.construct(t,n||[],Sy(e).constructor):t.apply(e,n))}function Ay(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ay=function(){return!!e})()}function Sy(e){return Sy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Sy(e)}function Oy(e,t){return Oy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oy(e,t)}var ky=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=jy(this,t,[e])).state={activeView:"none",fallbackItemsActive:!1,itemsWithFallback:[]},n.onChangeOverviewView=n.onChangeOverviewView.bind(n),n}return 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&&Oy(e,t)}(t,e),function(e,t,n){return t&&wy(e.prototype,t),n&&wy(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}
2(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.customMobilePageActive,r=t.queryStringValues,i=t.cinemaDataFront,o=t.hasYoutubeCookieConfirmation,s=t.activeFilters,a=t.items,l=t.allItems,c=t.moviesOrder,u=t.setActiveCinema,d=t.currentCinemaPk,f=this.state.fallbackItemsActive,h=i.program_overview_startview_type,m=a;if(e.queryStringValues.cinemas!==r.cinemas&&u(r.cinemas||d),e.items===a||f||this.setState({itemsWithFallback:a}),s&&yy.contains(s.time,"today")||!f||this.setState({fallbackItemsActive:!1,itemsWithFallback:a}),n||r&&r.id||"grid-trailer"!==h||!0===e.hasYoutubeCookieConfirmation||!0!==o||this.setState({activeView:o?h:"grid"}),s&&s.time&&yy.contains(s.time,"today")&&0===a.length){m=l.dayFilters&&l.dayFilters.tomorrow&&l.dayFilters.tomorrow.movies?l.dayFilters.tomorrow.movies:a;var p=yy.intersection(c,m);0===m.length||f||this.setState({fallbackItemsActive:!0,itemsWithFallback:p})}}},{key:"getRedirectPath",value:function(){var e=this.props,t=e.activeFilters,n=e.allItems,r=e.match;return(0,gy.A)(t,n,r)}},{key:"getSearchParams",value:function(){var e=this.props,t=e.overviewFilterName,n=e.overviewFilterType,r=e.activeFilters,i=e.filterWasSetViaRedirect;return!(!(yy.isEmpty(r)&&t&&n)||i)&&"?".concat(n,"=").concat(t)}},{key:"onChangeOverviewView",value:function(e){var t=e.view;this.state.activeView!==t&&this.setState({activeView:t}),this.props.closeEverything()}},{key:"render",value:function(){var e=this.props,t=e.cinemaDataFront,n=e.cinemaFrontPk,r=e.theme,o=e.elementDisplay,s=e.onCloseInformation,a=e.onOpenDetails,l=e.onCloseDetails,c=e.onOpenPerformancePage,u=e.onClosePerformancePage,d=e.closeEverything,f=e.movies,h=e.siteHeaderData,m=e.advertisements,p=e.customMobilePageActive,v=e.weischerAds,g=e.isConnectedFast,y=e.activeCinema,b=e.cinemas,w=e.currentCinemaPk,x=e.setActiveCinema,j=e.overviewFilterIgnoreOnPerformances,A=e.additionalScrollName,S=e.customMobilePageType,O=e.allItems,C=e.items,E=e.relevantPerformances,_=e.filters,T=e.activeFilters,M=e.dayFilters,I=e.searchFilter,N=e.queryStringValues,D=e.filterLoading,L=e.openFilter,R=e.openDayFilter,F=e.toggleFilter,V=e.toggleDayFilter,$=e.filterDisplay,B=e.dayFilterDisplay,U=o.isMobile,H=this.state,W=H.activeView,z=H.fallbackItemsActive,Z=H.itemsWithFallback,q=r.theme_colors,G=t.program_overview_showtimes_type,Y=t.stripe_appearance,X=t.program_overview_subtitle,K=t.has_grid_hover_trailer,Q=t.program_overview_list_style,J=t.display_movie_performance_mobile;if(yy.isEmpty(O))return"";var ee=this.getRedirectPath(),ne=this.getSearchParams();if(ee){var re=this.props.location.search&&rt.parse(this.props.location.search),ie=re&&re.performance_id;return(0,P.jsx)(i.rd,{to:{pathname:ee,search:ie?"performance_id="+ie:null}})}if(ne){var oe=this.props.location.pathname;return(0,P.jsx)(i.rd,{to:{pathname:oe,search:ne}})}var se=ut(v),ae=se.overviewWeischerAds,le=se.interscrollerWeischerAds,ce=it(m,[st,lt]),ue=(0,Ep.Bj)(w,b),de=(0,Ep.rm)(ue),fe=n&&b&&b[w]?b[w].scope.type:null,he=W;return(0,P.jsxs)("div",{className:"overview overview-view-"+he,children:[!p&&(0,P.jsx)(Je,{singleMovie:!1,overviewSubtitle:X,notFound:!1,items:C,movies:f}),(p&&S===Iv||!p)&&(0,P.jsx)(Tv,{filterDisplay:$,dayFilterDisplay:B,allItems:C,cinemaFrontPkType:fe,filters:_,dayFilters:M,activeView:W,searchFilter:I,activeFilters:T,queryStringValues:N,openFilter:L,closeEverything:d,onChangeOverviewView:(0,te.Gi)(this.onChangeOverviewView,"Programm"),toggleFilter:F,toggleDayFilter:V,openDayFilter:R}),de===wc.hm&&(0,P.jsx)("div",{className:"grid-site-wrapper",children:(0,P.jsx)(vy.Ay,{activeCinema:y,currentCinemaType:de,relevantCinemas:yy.keys(b),setActiveCinema:x,cinemas:b,queryStringValues:N,addCinemaToUrl:!0})}),!p&&(0,P.jsxs)(P.Fragment,{children:[!h.isFrontPage&&(0,P.jsx)(nt,{weischerAdsList:ae}),(0,P.jsx)(vt,{items:ce[st]})]}),z&&(0,P.jsx)("div",{className:"grid-site-wrapper",children:(0,P.jsxs)("p",{className:"title-large overview-no-movies-today-hint",children:[(0,P.jsx)("span",{children:(0,P.jsx)(k.Ay,{id:"ThereCurrentlyNoFilmsToday",children:"Heute leider keine weiteren Vorstellungen."})}),(0,P.jsx)("br",{}),(0,P.jsx)("br",{}),(0,P.jsx)("span",{children:(0,P.jsx)(k.Ay,{id:"moviesTomorrow",children:"Morgen bei uns 
2im Kino"})})]})}),(0,P.jsxs)("div",{className:"overview-results-wrapper",children:[D&&(0,P.jsx)("div",{className:"filter-loading-overlay"}),(0,P.jsx)(py,{selectionId:this.props.selectionId||"program",items:Z,relevantPerformances:z?O.dayFilters&&O.dayFilters.tomorrow?O.dayFilters.tomorrow.performances:null:E,fallbackItemsActive:z,moviesData:f,interscrollerWeischerAds:le,interscrollerAdvertisements:ce[lt],view:he,additionalScrollName:A,queryStringValues:N,isMobile:U.slidebarRight,programOverviewShowtimesType:G,programOverviewListStyle:Q,displayMoviePerformanceMobile:J,hasGridHoverTrailer:K,theme:q,stripeAppearance:Y,overviewFilterIgnoreOnPerformances:j,elementDisplay:o,isConnectedFast:g,onCloseInformation:s,onCloseDetails:l,onOpenDetails:a,onOpenPerformancePage:c,onClosePerformancePage:u,activeCinema:y})]})]})}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r=e.queryStringValues,i=e.customMobilePageActive,o=e.customMobilePageType,s=e.cinemaDataFront,a=e.hasYoutubeCookieConfirmation,l=e.overviewStartView,c=t.getStartView(s.program_overview_startview_type,a);if("none"===n.activeView){var u=c;return r&&r.id?u="list":i&&("grid_element"===o?u="grid":"list_element"===o?u="list":"showtimes_element"===o?u="showtimes":o===Iv&&(u=l)),{activeView:u}}return null}},{key:"getStartView",value:function(e,t){var n="grid";return e&&(n="grid-trailer"===e?!0===t?e:!1===t?"grid":"none":e),n}}])}(x.Component);const Py=(0,v.Ng)((0,Q.A)(function(e,t){return{hasYoutubeCookieConfirmation:(0,g.A)(e,[y.UI_TRAILER,"hasYoutubeCookieConfirmation"]),cinemaDataFront:(0,g.A)(e,y.FRONT),cinemaFrontPk:(0,g.A)(e,y.CLI_CURRENT_CINEMA_ID),theme:(0,g.A)(e,y.THEME),routesData:(0,g.A)(e,y.ROUTESDATA),elementDisplay:(0,g.A)(e,y.UI_ELEMENTDISPLAY),attributes:(0,g.A)(e,y.PROGRAM_ATTRIBUTES),translation:(0,g.A)(e,y.TRANSLATION),performanceData:(0,g.A)(e,y.PROGRAM_PERFORMANCES_ITEMS)}}),function(e,t){return{onOpenDetails:function(n){e((0,ur.vx)(n.movieId)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!0))},onCloseDetails:function(){e((0,ur.vx)(!1)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!1))},onCloseInformation:function(){e((0,ur.Bw)(!1,!1)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",1,!1)),t.elementDisplay.activeDetailsItem&&e((0,ur.vx)(!1))},onOpenPerformancePage:function(n){e((0,ur.QC)(n,!0));var r=t.selectionId||"program";t.elementDisplay.currentActiveSelection!==r&&e((0,ur.XX)(r)),t.elementDisplay.activeMovieTimes&&n.movieId===t.elementDisplay.activeMovieTimes||e((0,ur.Bw)(n.movieId,n.movieId)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!0))},onClosePerformancePage:function(n){e((0,ur.QC)(n,!1)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!1))},closeEverything:function(){t.elementDisplay.currentActiveSelection&&e((0,ur.XX)("")),t.elementDisplay.activePerformance&&(e((0,ur.QC)(!1,!1)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!1))),t.elementDisplay.activeItem&&(e((0,ur.Bw)(!1,!1)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",1,!1))),t.elementDisplay.activeDetailsItem&&(e((0,ur.vx)(!1)),t.isMobileData.slidebarRight&&e((0,ur.wL)("right",2,!1)))}}})((0,cn.A)((0,Mv.A)(ky)));const Cy=function(e){e.theme;var t=e.features,n=e.timezone,r=e.movies,i=e.weischerAds,o=e.advertisements,s=e.siteHeaderData,a=e.location,l=e.match,c=e.elementDisplay,u=e.overviewHeroItems,d=e.overviewHeroAdvertisementItems,f=e.isConnectedFast,h=e.isWebApp;return(0,P.jsxs)(Qp,{isWebApp:h,children:[(0,P.jsx)(Qt,{overviewHeroItems:u,overviewHeroAdvertisementItems:d,features:t,movies:r}),r&&r.items&&(0,P.jsx)(Py,{movies:r.items,weischerAds:i,advertisements:o,isMobileData:c.isMobile,elementDisplay:c,timezone:n,moviesOrder:r.order,location:a,match:l,siteHeaderData:s,features:t,isConnectedFast:f}),(0,P.jsx)(hl,{})]})};var Ey=n(52874),_y=n(45520),Ty=n(236);const My=function(){var e=window,t=document,n=t.documentElement,r=t.getElementsByTagName("body")[0];return e.innerHeight||n.clientHeight||r.clientHeight};var Iy=n(58955),Ny=n(12111);function Dy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ly(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ly(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ly(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Ry=(0,v.Ng)((0,Q.A)(function(e,t){return{performanceData:(0,g.A)(e,y.PROGRAM_PERFORMANCES_ITEMS)}}),null)(function(e){var t=e.performanceData,n=e.itemData,r=e.timezone,i=e.isMobile,o=void 0!==i&&i,s=e.filteredPerformances,a=e.queryStringValues,l=e.cinemaWpData,c=e.today,u=e.siteData,d=e.signageParamsCinema,f=e.theme,h=e.currentCinema,m=e.fallbackItemsActive,p=e.cinemas,v=(0,x.createRef)(null),g=Dy((0,x.useState)(null),2),y=g[0],b=g[1],w=Dy((0,x.useState)(null),2),j=w[0],A=w[1],S=n.images,O=n.technologyAttributes,C=n.pk,E=n.genres,_=n.productionYear,I=n.productionCountry,N=n.fsk,D=n.length,L=n.startingDate,R=n.logo,F=n.limitations.visibleFrom,V=(0,fp.A)(r),$=(0,Um.A)(V),B=(0,Iy.A)(V),U=(0,Um.A)(B,r),H=(0,Vt.A)(S),W=(0,un.A)(n),Z="week"===a.time,q=Z?6:null,X=s&&s.filter(function(e){var n=t[e];return n&&(!n.limitations.visibleFrom||(0,fp.A)(r).isAfter((0,Bm.A)(n.limitations.visibleFrom,r)))}),K=X&&X.length>0?(0,_y.A)(X,c,r,q,t,Z):{},Q=Ny.omit(K,function(e){return Ny.isEmpty(e)});(0,x.useEffect)(function(){y||"list"!==a.style||v&&v.current&&b(v.current.offsetWidth);var e=(0,Gp.A)(),t=My();j||A(e>t)},[]);var J=Ny.pluck(O,"id"),ee=(0,Ag.A)(J),te="displayVariantSingle"===a.displayVariant,ne=Ny.keys(K).length>11||"today"===a.time||"tomorrow"===a.time?Q:K,re=m&&Ny.contains(Ny.keys(ne),U)?[U]:Ny.keys(ne),oe=0!==re.length,se=te?oe:"list"===a.style,ae=!(!se||!W),le=oe?"":" no-performances",ce=re.length<=4?" bigger-typo":"",ue=h&&h.website&&h.website.replace("https://","").replace("/",""),de={"--pmkino-title-width":y+"px"},fe=F?(0,P.jsx)(M.A,{id:"performanceDates",timeString:F}):L?(0,P.jsx)(M.A,{id:"performanceDates",timeString:L}):"";return(0,P.jsx)("div",{style:de,className:"poster-format-item-wrapper cursor-pointer",children:(0,P.jsxs)("div",{className:"poster-format-item"+ee,children:[te&&a.title&&(0,P.jsx)("div",{className:"title-wrapper top",children:a.title}),"list"!==a.style&&(0,P.jsxs)("div",{className:"picture-wrapper theme-radius-posters-top "+C,children:[(0,P.jsx)(Ey.A,{title:W,poster:H,isMobile:o,logo:R,isSignage:!0,onClick:function(){}}),te&&(0,P.jsxs)("div",{className:"cinemainfo-wrapper",children:["true"===a.showLogo&&(0,P.jsx)("div",{className:"logo-wrapper",children:(0,P.jsx)("div",{className:"site-title site-logo",children:(0,P.jsx)("div",{className:"logo-image",children:(0,P.jsx)("span",{className:"screen-reader-text",children:d.nameDisplay})})})}),"true"===a.cinemaInfos&&(0,P.jsxs)("div",{className:"cinemainformation-wrapper",children:[(0,P.jsxs)("div",{className:"cinemainformation",children:[(0,P.jsx)("span",{className:"pipe-wrapper",children:u.name}),(0,P.jsx)("span",{className:"pipe-wrapper",children:l.street_no}),(0,P.jsxs)("span",{className:"pipe-wrapper",children:[l.postcode," ",l.town]})]}),(0,P.jsxs)("div",{className:"cinemainformation",children:[(0,P.jsx)("span",{className:"pipe-wrapper",children:ue}),(0,P.jsxs)("span",{className:"pipe-wrapper",children:["Telefon ",l.telephone]})]})]})]})]}),(0,P.jsxs)("div",{className:"horizontal-flex-wrapper theme-radius-posters-bottom",children:[se&&(0,P.jsxs)("div",{className:"movie-information",children:[W&&(0,P.jsxs)("div",{ref:v,className:"movie-title-wrapper",children:[y&&(0,P.jsx)("style",{children:"@keyframes move {\n                                        0%,\n                                        10%,\n                                        30% {\n                                            transform: translateX(0px);\n                                        }\n                                        80%,\n                                        100% {\n                                            transform: translateX(calc(-1 * (max(0px, calc(102% - var(--pmkino-title-width))))));\n                                        }\n                                    } \n                                    .movie-title {\n                                        animation: move 10s linear 1s infinite forwards;\n                                        left: 0;\n                                        top: 0;\n                                        position: absolute;\n                                        display: block;\n                                    }"}),(0,P.jsx)("div",{className:"movie-title",children:(0,P.jsx)(Y.A,{title:W,logo:R,isSignage:!0})})]}),(0,P.jsxs)("div",{className:"movie-details-wrapper",children:[E&&(0,P.jsx)("div",{className:"pipe-wrapper",children:(0,P.jsx)(T.A,{genres:E,theme:f})}),(I||_)&&(0,P.jsxs)("div",{className:"pipe-wrapper",children:[I&&(0,P.jsx)("span",{children:I}),_&&(0,P.jsx)("span",{children:_})]}),(D||N)&&(0,P.jsxs)("div",{className:"pipe-wrapper flex-wrapper",children:[(0,P.jsx)(ie.A,{length:D}),(0,P.jsx)(z.A,{fsk:N})]})]})]}),(0,P.jsxs)("div",{className:"performance-items-wrapper theme-radius-p
2osters-bottom"+le+ce,children:[!oe&&fe&&(0,P.jsxs)("div",{className:"title-wrapper",children:[!ae&&(0,P.jsx)("div",{className:"movie-title",children:(0,P.jsx)(Y.A,{title:W,logo:R,isSignage:!0})}),(0,P.jsx)(k.Ay,{id:"availableFrom",children:"Verfügbar ab"})," ",fe]}),0!==re.length&&re.map(function(e,n){var i=(0,P.jsx)(M.A,{id:"performanceDates",timeString:e}),o=$===e?(0,P.jsx)(k.Ay,{id:"today",children:"Heute"}):i,s=m||!a||!a.time||"today"!==a.time&&"tomorrow"!==a.time?"":" one-day",l=$===e?" today":"",c=ne[e]&&ne[e].filter(function(t){var n=(0,Bm.A)(t.timeUtc,r);if(e===(0,Um.A)(n)&&(0,Wg.A)(V,n))return t}),u=Ny.pluck(c,"refPk"),d=(0,Ty.A)(u,t);return(0,P.jsxs)("div",{className:"performance-item-wrapper"+s,children:[!m&&!(a&&a.time&&("today"===a.time||"tomorrow"===a.time)&&!te)&&c&&0!==c.length&&(0,P.jsx)("div",{className:"performance-item-date text-medium"+l,children:o}),d&&d.map(function(e,n){var r=t[e],i=r.timeUtc,o=r.attributes,s=r.cinema,l=r.theatreName,c=Ny.pluck(o,"id"),u=(0,xt.A)(c),d=u.technologyAttributesWithIcons,f=u.technologyAttributesWithoutIcons,m=Ny.reject(d,function(e){return"2d"===e||"filmtype_2"===e||"1087"===e}),v=!(!a.cinema||a.cinema===s)||!(a.cinema||!h||h.pk===s),g=(0,P.jsx)(M.A,{id:"showtimePerformance",timeString:i}),y=(0,Ag.A)(o);return(0,P.jsxs)("div",{className:"performance-item-showtime theme-radius-posters-full"+y,children:[(0,P.jsx)("div",{className:"showtime text-xlarge-bold",children:g}),(0,P.jsxs)("div",{className:"performance-information",children:[!te&&"list"!==a.style&&(0,P.jsx)("p",{className:"theater-name",children:l}),0!==d.length&&(0,P.jsx)("div",{className:"attributes-with-icons",children:(0,P.jsx)(G.A,{attributes:m,canBeColored:!0})}),0!==f.length&&(0,P.jsx)("div",{className:"attributes-without-icons",children:(0,P.jsx)(G.A,{attributes:f})}),v&&(0,P.jsx)("div",{className:"cinemas-icon-wrapper",children:(0,P.jsx)(Hg.A,{cinemaData:p[s]})})]})]},n)})]},n)})]})]})]})})});var Fy=n(12111),Vy=n(41770);function $y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return By(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?By(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function By(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const Uy=(0,Mv.A)(function(e){var t=e.movies,n=e.moviesOrder,r=e.cliData,i=e.cinemas,o=e.theme,s=e.match,a=e.location,l=e.logoData,c=e.timezone,u=e.cinemaWpData,d=e.cinemaDataFront,f=e.relevantPerformances,h=e.items,m=e.activeFilters,p=e.allItems,v=(0,x.createRef)(null),g=(0,x.createRef)(null),y=$y((0,x.useState)(null),2),b=y[0],w=y[1],j=$y((0,x.useState)(null),2),A=j[0],S=j[1],O=$y((0,x.useState)(0),2),C=O[0],E=O[1],_=$y((0,x.useState)([]),2),T=_[0],M=_[1],I=$y((0,x.useState)(!1),2),N=I[0],D=I[1],L=s.params.signageParams,R=r.currentCinemaId,F=o.theme_colors,V=o.custom_background,$=o.accent_color_background,B=o.accent_color,U=o.accent_color_dark,H=d.custom_font_color,W=d.custom_font_color_color,z=d.ignore_attributes_for_performance_filter,Z=L?rt.parse(L):rt.parse(a.search),q=(0,Jm.A)((0,fp.A)(c)),G=R?i[R]:null,Y=Z.cinema?i[Z.cinema]:G;Z.showLogo||(Z.showLogo="true"),Z.displayVariant||(Z.displayVariant="displayVariantDefault"),Z.style||(Z.style="poster");var X={},K=[];(0,x.useEffect)(function(){var e=Z.timeout?1e3*Z.timeout:5e3,t=X?Fy.default.keys(X).length:1;if(m&&m.time)if(Fy.default.contains(m.time,"today")&&0===h.length){var n=p.dayFilters&&p.dayFilters.tomorrow&&p.dayFilters.tomorrow.movies?p.dayFilters.tomorrow.movies:h;0===n.length||N||(M(n),D(!0))}else M(h);else M(h);if(t>1&&"displayVariantSingle"===Z.displayVariant){var r=setInterval(function(){E(t-1===C?0:C+1)},e);return function(){return clearInterval(r)}}A&&v.current.offsetHeight===A||"list"!==Z.style||v&&v.current&&S(v.current.offsetHeight),b||"list"!==Z.style||g&&g.current&&w(g.current.offsetHeight)}
2,[C,v,g,h]);var Q=Z.movies?Z.movies.split(","):null,J=Q?Fy.default.intersection(T,Q):T,ee=null;Y&&p.cinemasFilter&&(Y.scope.type===wc.hm?ee=(0,Vy.A)(p.cinemasFilter,Y.scope.cinemas,t,n,z):p.cinemasFilter[Y.pk]&&(ee=(0,Vy.A)(p.cinemasFilter,[Y.pk],t,n,z)));var te=ee?Fy.default.intersection(J,ee):J;Y&&Y.scope.type===wc.hm?K=Y.scope.cinemas:K.push(Y.pk);var ne,re,ie,oe=Z.displays&&te?Math.ceil(te.length/Z.displays):Math.ceil(te.length),se=Z.displayNumber?Z.displayNumber:1,ae=Z.displayNumber?(ne=te,re=oe,ie=Math.min(re,Math.ceil(ne.length/2)),Array.from({length:Math.ceil(ne.length/ie)},function(e,t){return ne.slice(t*ie,t*ie+ie)})):[te];ae&&0!==ae.length&&se&&ae[se-1].map(function(e){X[e]=t[e]});var le=Z&&Z.backgroundColor?Z.backgroundColor:V||$,ce=Z&&Z.color?Z.color:H&&W?W:"Dark"===F?"#FFFFFF":"#000000",ue=Z&&Z.alternativeLogo?Z.alternativeLogo:l.logo&&l.logo.url?l.logo.url:null,de=Math.ceil(A/100),fe={"--pmkinovar-signage_color":ce,"--pmkinovar-signage_background_color":le,"--pmkinovar-accent-color":B,"--pmkinovar-accent-color-dark":U,"--pmkinovar-logo-url":'url("'.concat(ue,'")'),"--pmkino-list-height":A+"px","--pmkino-site-height":b+"px","--pmkino-scroll-seconds":de+"s","--pmkino-px-to-scroll":A-b+"px"};return(0,P.jsxs)("div",{className:"signage-page "+Z.displayVariant+" "+Z.style,ref:g,style:fe,children:[A&&b&&A>b?(0,P.jsx)("style",{children:"@keyframes moveList {\n                    0%,\n                    10% {\n                        transform: translateY(0px);\n                    }\n                    80%,\n                    100% {\n                        transform: translateY(calc(-1 * calc(2vh + var(--pmkino-px-to-scroll))));\n                    }\n                } \n                .signage-movies.list {\n                    animation: moveList var(--pmkino-scroll-seconds) linear 1s infinite forwards;\n                    left: 0;\n                    top: 0;\n                    position: absolute;\n                }"}):"","displayVariantSingle"===Z.displayVariant?!Fy.default.isEmpty(X)&&Fy.default.keys(X).map(function(e,t){var n=X[e],r=f&&!N?Fy.default.intersection(f,n.performances):n.performances;return t===C&&(0,P.jsx)(Ry,{itemData:n,movieTimePk:e,today:q,cinemaWpData:u.cinema,timezone:c,filteredPerformances:r,signageParamsCinema:Y,siteData:u.site,queryStringValues:Z,theme:F,currentCinema:G,cinemas:i},t)}):(0,P.jsxs)(P.Fragment,{children:["poster"===Z.style&&"displayVariantDefault"===Z.displayVariant&&(0,P.jsxs)("div",{className:"signage-header-wrapper",children:["true"===Z.showLogo&&(0,P.jsx)("div",{className:"logo-wrapper",children:(0,P.jsx)("div",{className:"site-title site-logo",children:(0,P.jsx)("div",{className:"logo-image",children:(0,P.jsx)("span",{className:"screen-reader-text",children:Y.nameDisplay})})})}),Z.title&&(0,P.jsx)("h2",{className:"signage-title text-xlarge-medium",children:Z.title}),0!==K.length&&(0,P.jsx)("div",{className:"cinemas-icon-wrapper",children:K.map(function(e,t){return(0,P.jsx)(Hg.A,{cinemaData:i[e]},t)})})]}),(0,P.jsxs)("div",{className:"list"===Z.style?"list-wrapper":"",children:[N&&"poster"===Z.style&&"displayVariantDefault"===Z.displayVariant&&(0,P.jsx)("div",{className:"no-movies-today-hint",children:(0,P.jsxs)("p",{className:"title-large",children:[(0,P.jsx)("span",{children:(0,P.jsx)(k.Ay,{id:"ThereCurrentlyNoFilmsToday",children:"Heute leider keine weiteren Vorstellungen."})}),(0,P.jsx)("br",{}),(0,P.jsx)("br",{}),(0,P.jsx)("span",{children:(0,P.jsx)(k.Ay,{id:"moviesTomorrow",children:"Morgen bei uns im Kino"})})]})}),(0,P.jsx)("div",{className:"signage-movies "+Z.style,ref:v,children:!Fy.default.isEmpty(X)&&Fy.default.keys(X).map(function(e,t){var n=X[e],r=f&&!N?Fy.default.intersection(f,n.performances):n.performances;return(0,P.jsx)(Ry,{itemData:n,movieTimePk:e,today:q,timezone:c,fallbackItemsActive:N,filteredPerformances:r,signageParamsCinema:Y,cinemaWpData:u.cinema,siteData:u.site,queryStringValues:Z,theme:F,currentCinema:G,cinemas:i},t)})})]})]})]})});const Hy=(0,v.Ng)((0,Q.A)(function(e,t){return{cinemaDataFront:(0,g.A)(e,y.FRONT),movies:(0,g.A)(e,y.PROGRAM_MOVIES_ITEMS),moviesOrder:(0,g.A)(e,y.PROGRAM_MOVIES_ORDER),features:(0,g.A)(e,y.FEATURES),theme:(0,g.A)(e,y.THEME),timezone:(0,g.A)(e,y.TRANSLATION_TIMEZONE),translation:(0,g.A)(e,y.TRANSLATION),cinemas:(0,g.A)(e,y.PROGRAM_CINEMAS),cliData:(0,g.A)(e,y.CLI),cinemaWpData:(0,g.A)(e,y.CINEMADATA),attributes:(0,g.A)(e,y.PROGRAM_ATTRIBUTES),performanceData:(0,g.A)(e,y.PROGRAM_PERFORMANCES_ITEMS),routesData:(0,g.A)(e,y.ROUTESDATA)}}),null)(function(e){var t=e.movies,n=e.moviesOrder,r=e.cinemaDataFront,i=e.features,o=e.cinemaWpData,s=e.translation,a=e.theme,l=e.cliData,c=e.attributes,u=e.cinemas,d=e.timezone,f=e.match,h=e.location,m=e.performanceData;return(0,P.jsx)(Uy,{movies:t,moviesOrder:n,cinemaDataFront:r,match:f,location:h,features:i,attributes:c,cinemaWpData:o,theme:a,cliData:l,cinemas:u,translation:s,timezone:d,logoData:o.logo,performanceData:m})});var Wy=n(17290);function zy(e){return zy="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},zy(e)}function Zy(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,qy(r.key),r)}}function qy(e){var t=function(e,t){if("object"!=zy(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=zy(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==zy(t)?t:t+""}function Gy(e,t,n){return t=Xy(t),function(e,t){if(t&&("object"==zy(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)}(e,Yy()?Reflect.construct(t,n||[],Xy(e).constructor):t.apply(e,n))}function Yy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yy=function(){return!!e})()}
2function Xy(e){return Xy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xy(e)}function Ky(e,t){return Ky=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ky(e,t)}var Qy=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Gy(this,t,[e])}return 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&&Ky(e,t)}(t,e),function(e,t,n){return t&&Zy(e.prototype,t),n&&Zy(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){var e=this.props,t=e.movies,n=e.cinemaDataFront,o=e.weischerAds,s=e.advertisements,l=e.features,c=e.timezone,d=e.languagesData,f=e.defaultLang,h=e.siteHeaderData,m=e.elementDisplay,p=e.isConnectedFast,v=e.isWebApp,g=n.overview_filter_movies_with_attribute,y=n.hide_no_performance_movies,b=u(o,[a]),w=it(s,[at]),x=b[a],j=w[at],A=d||{de:{}},S=(0,Wy.O)(g,y,t,c);return(0,P.jsx)(r.Kd,{children:Object.keys(A).map(function(e){var t=f===e?"":"/"+e;return[(0,P.jsx)(i.qh,{path:t+"/:overviewParam",exact:!0,render:function(e){return(0,P.jsx)(Cy,{location:e.location,match:e.match,movies:S,siteHeaderData:h,weischerAds:o,advertisements:s,timezone:c,overviewHeroItems:x,overviewHeroAdvertisementItems:j,features:l,isConnectedFast:p,isWebApp:v,elementDisplay:m})}},e+"overview"),(0,P.jsx)(i.qh,{path:t+"/:overviewParam/movie/:movieParam",exact:!0,render:function(e){return(0,P.jsx)(Jp,{isMobileData:m.isMobile,elementDisplay:m,match:e.match,overviewHeroItems:x,overviewHeroAdvertisementItems:j,location:e.location,isConnectedFast:p,isWebApp:v})}},e+"overview-movie"),(0,P.jsx)(i.qh,{path:t+"/:overviewParam/signage/",exact:!0,render:function(e){return(0,P.jsx)(Hy,{match:e.match,location:e.location})}},e+"overview-signage-page"),(0,P.jsx)(i.qh,{path:t+"/:overviewParam/signage/:signageParams",exact:!0,render:function(e){return(0,P.jsx)(Hy,{match:e.match,location:e.location})}},e+"overview-signage-page-old")]})})}}])}(ir);const Jy=(0,v.Ng)((0,Q.A)(function(e,t){return{movies:(0,g.A)(e,y.PROGRAM_MOVIES),cinemaDataFront:(0,g.A)(e,y.FRONT),weischerAds:(0,g.A)(e,y.PROGRAM_WEISCHERADS),advertisements:(0,g.A)(e,y.PROGRAM_ADVERTISEMENTS),features:(0,g.A)(e,y.FEATURES),timezone:(0,g.A)(e,y.TRANSLATION_TIMEZONE),languagesData:(0,g.A)(e,y.TRANSLATION_LANGUAGES),defaultLang:(0,g.A)(e,y.TRANSLATION_DEFAULT_LANG),siteHeaderData:(0,g.A)(e,y.SITEHEADERDATA),elementDisplay:(0,g.A)(e,y.UI_ELEMENTDISPLAY)}}),null)(w(Qy))},27256:(e,t,n)=>{"use strict";n.d(t,{A:()=>M});var r=n(96540),i=n(5556),o=n.n(i),s=n(32017),a=n.n(s),l=n(23517),c=n.n(l),u=Object.defineProperty,d=Object.defineProperties,f=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,v=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||(t={}))m.call(t,n)&&v(e,n,t[n]);if(h)for(var n of h(t))p.call(t,n)&&v(e,n,t[n]);return e},y=(e,t)=>d(e,f(t));function b(e={}){return y(g({},e),{height:0,width:0,playerVars:y(g({},e.playerVars),{autoplay:0,start:0,end:0})})}var w={videoId:o().string,id:o().string,className:o().string,iframeClassName:o().string,style:o().object,title:o().string,loading:o().oneOf(["lazy","eager"]),opts:o().objectOf(o().any),onReady:o().func,onError:o().func,onPlay:o().func,onPause:o().func,onEnd:o().func,onStateChange:o().func,onPlaybackRateChange:o().func,onPlaybackQualityChange:o().func},x=class extends r.Component{constructor(e){super(e),this.destroyPlayerPromise=void 0,this.onPlayerReady=e=>{var t,n;return null==(n=(t=this.props).onReady)?void 0:n.call(t,e)},this.onPlayerError=e=>{var t,n;return null==(n=(t=this.props).onError)?void 0:n.call(t,e)},this.onPlayerStateChange=e=>{var t,n,r,i,o,s,a,l;switch(null==(n=(t=this.props).onStateChange)||n.call(t,e),e.data){case x.PlayerState.ENDED:null==(i=(r=this.props).onEnd)||i.call(r,e);break;case x.PlayerState.PLAYING:null==(s=(o=this.props).onPlay)||s.call(o,e);break;case x.PlayerState.PAUSED:null==(l=(a=this.props).onPause)||l.call(a,e)}},this.onPlayerPlaybackRateChange=e=>{var t,n;return null==(n=(t=this.props).onPlaybackRateChange)?void 0:n.call(t,e)},this.onPlayerPlaybackQualityChange=e=>{var t,n;return null==(n=(t=this.props).onPlaybackQualityChange)?void 0:n.call(t,e)},this.destroyPlayer=()=>this.internalPlayer?(this.destroyPlayerPromise=this.internalPlayer.destroy().then(()=>this.destroyPlayerPromise=void 0),this.destroyPlayerPromise):Promise.resolve(),this.createPlayer=()=>{if("undefined"==typeof document)return;if(this.destroyPlayerPromise)return void this.destroyPlayerPromise.then(this.createPlayer);const e=y(g({},this.props.opts),{videoId:this.props.videoId});this.internalPlayer=c()(this.container,e),this.internalPlayer.on("ready",this.onPlayerReady),this.internalPlayer.on("error",this.onPlayerError),this.internalPlayer.on("stateChange",this.onPlayerStateChange),this.internalPlayer.on("playbackRateChange",this.onPlayerPlaybackRateChange),this.internalPlayer.on("playbackQualityChange",this.onPlayerPlaybackQualityChange),(this.props.title||this.props.loading)&&this.internalPlayer.getIframe().then(e=>{this.props.title&&e.setAttribute("title",this.props.title),this.props.loading&&e.setAttribute("loading",this.props.loading)})},this.resetPlayer=()=>this.destroyPlayer().then(this.createPlayer),this.updatePlayer=()=>{var e;null==(e=this.internalPlayer)||e.getIframe().then(e=>{this.props.id?e.setAttribute("id",this.props.id):e.removeAttribute("id"),this.props.iframeClassName?e.setAttribute("class",this.props.iframeClassName):e.removeAttribute("class"),this.props.opts&&this.props.opts.width?e.setAttribute("width",this.props.opts.width.toString()):e.removeAttribute("width"),this.props.opts&&this.props.opts.height?e.setAttribute("height",this.props.opts.height.toString()):e.removeAttribute("height"),this.props.title?e.setAttribute("title",this.props.title):e.setAttribute("title","YouTube video player"),this.props.loading?e.setAttribute("loading",this.props.loading):e.removeAttribute("loading")})},this.getInternalPlayer=()=>this.internalPlayer,this.updateVideo=()=>{var e,t,n,r;if(void 0===this.props.videoId||null===this.props.videoId)return void(null==(e=this.internalPlayer)||e.stopVideo());let i=!1;const o={videoId:this.props.videoId};(null==(t=this.props.opts)?void 0:t.playerVars)&&(i=1===this.props.opts.playerVars.autoplay,"start"in this.props.opts.playerVars&&(o.startSeconds=this.props.opts.playerVars.start),"end"in this.props.opts.playerVars&&(o.endSeconds=this.props.opts.playerVars.end)),i?null==(n=this.internalPlayer)||n.loadVideoById(o):null==(r=this.internalPlayer)||r.cueVideoById(o)},this.refContainer=e=>{this.container=e},this.container=null,this.internalPlayer=null}componentDidMount(){this.createPlayer()}componentDidUpdate(e){return t=this,n=null,r=function*(){(function(e,t){var n,r,i,o;return e.id!==t.id||e.className!==t.className||(null==(n=e.opts)?void 0:n.width)!==(null==(r=t.opts)?void 0:r.width)||(null==(i=e.opts)?void 0:i.height)!==(null==(o=t.opts)?void 0:o.height)||e.iframeClassName!==t.iframeClassName||e.title!==t.title})(e,this.props)&&this.updatePlayer(),function(e,t){return e.videoId!==t.videoId||!a()(b(e.opts),b(t.opts))}(e,this.props)&&(yield this.resetPlayer()),function(e,t){var n,r;if(e.videoId!==t.videoId)return!0;const i=(null==(n=e.opts)?void 0:n.playerVars)||{},o=(null==(r=t.opts)?void 0:r.playerVars)||{};return i.start!==o.start||i.end!==o.end}(e,this.props)&&this.updateVideo()},new Promise((e,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((r=r.apply(t,n)).next())});var t,n,r}componentWillUnmount(){this.destroyPlayer()}render(){return r.createElement("div",{className:this.props.className,style:this.props.style},r.createElement("div",{id:this.props.id,className:this.props.iframeClassName,ref:this.refContainer}))}},j=x;j.propTypes=w,j.defaultProps={videoId:"",id:"",className:"",iframeClassName:"",style:{},title:"",loading:void 0,opts:{},onReady:()=>{},onError:()=>{},onPlay:()=>{},onPause:()=>{},onEnd:()=>{},onStateChange:()=>{},onPlaybackRateChange:()=>{},onPlaybackQualityChange:()=>{}},j.PlayerState={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5};var A=j,S=n(74848);function O(e){return O="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},O(e)}function k(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,P(r.key),r)}}function P(e){var t=function(e,t){if("object"!=O(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==O(t)?t:t+""}
2function C(e,t,n){return t=_(t),function(e,t){if(t&&("object"==O(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)}(e,E()?Reflect.construct(t,n||[],_(e).constructor):t.apply(e,n))}function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(E=function(){return!!e})()}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}const M=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=C(this,t,[e])).iframe=null,n.showTimeout=null,n.initialPlayDone=!1,n.handleReady=n.handleReady.bind(n),n.handleStateChange=n.handleStateChange.bind(n),n}return 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&&T(e,t)}(t,e),n=t,(r=[{key:"handleReady",value:function(e){this.props.onPlayerReady(e)}},{key:"handleStateChange",value:function(e){var t=this;this.initialPlayDone?this.props.onPlayerStateChange(e):1===e.data?(this.iframe||(this.iframe=e.target.getIframe()),clearTimeout(this.showTimeout),this.showTimeout=setTimeout(function(){t.initialPlayDone=!0,t.iframe&&(t.iframe.style.opacity="1"),t.props.onPlayerStateChange(e)},4e3)):3===e.data?(clearTimeout(this.showTimeout),this.iframe&&(this.iframe.style.opacity="0"),this.props.onPlayerStateChange(e)):this.props.onPlayerStateChange(e)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.showTimeout),this.props.onPlayerUmount()}},{key:"render",value:function(){var e=this.props,t=e.youtubeId,n=e.trailerTime,r=e.width,i=void 0===r?"640":r,o=e.height,s=void 0===o?"360":o,a=e.iframeClass,l=void 0===a?"":a,c=e.onPlayerEnd;return(0,S.jsx)(A,{className:l,videoId:t,onReady:this.handleReady,onStateChange:this.handleStateChange,onEnd:c,onPause:c,opts:{width:i,height:s,frameborder:"0",playerVars:{autoplay:1,controls:0,autohide:1,rel:0,showinfo:0,mute:1,fs:0,cc_load_policy:0,loop:1,disablekb:1,modestbranding:1,start:n}}})}}])&&k(n.prototype,r),i&&k(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(r.Component)},27508:(e,t,n)=>{"use strict";n.d(t,{AD:()=>i,Dt:()=>s,fm:()=>r,jY:()=>o,wU:()=>a,x3:()=>l});var r="movie",i="ad",o="highlight",s="weischer",a="advertisement",l="extramovie"},28028:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()}},28344:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(24237);const i=function(e){return(0,r.A)(e.clone()).isoWeekday(1)}},28511:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4816);const i=function(e,t){var n=e.cinemaColors,i=e.multiCinemaMode,o=e.multitotalStyle,s=e.themeColors,a={};if(i===r.GR&&"Arthouse"===s&&("colored"===o||"default"===o)&&1===t.length){var l=t[0];a=n[l]?n[l]:{}}return a}},29445:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=l,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=t.safePreventDefault=void 0;var r,i=(r=n(96540))&&r.__esModule?r:{default:r};function o(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 8,361 bytes, line 2
2t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n){return Math.max(t,Math.min(e,n))}var c=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=c;var u=function(e){for(var t=[],n=d(e),r=f(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t};t.getOnDemandLazySlides=u;t.getRequiredLazySlides=function(e){for(var t=[],n=d(e),r=f(e),i=n;i<r;i++)t.push(i);return t};var d=function(e){return e.currentSlide-h(e)};t.lazyStartIndex=d;var f=function(e){return e.currentSlide+m(e)};t.lazyEndIndex=f;var h=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=h;var m=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=m;var p=function(e){return e&&e.offsetWidth||0};t.getWidth=p;var v=function(e){return e&&e.offsetHeight||0};t.getHeight=v;var g=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(i=Math.round(180*r/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":!0===o?i>=35&&i<=135?"up":"down":"vertical"};t.getSwipeDirection=g;var y=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=y;t.extractObject=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n};t.initializedState=function(e){var t,n=i.default.Children.count(e.children),r=e.listRef,o=Math.ceil(p(r)),a=e.trackRef&&e.trackRef.node,l=Math.ceil(p(a));if(e.vertical)t=o;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=o/100),t=Math.ceil((o-c)/e.slidesToShow)}var d=r&&v(r.querySelector('[data-index="0"]')),f=d*e.slidesToShow,h=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(h=n-1-e.initialSlide);var m=e.lazyLoadedList||[],g=u(s(s({},e),{},{currentSlide:h,lazyLoadedList:m})),y={slideCount:n,slideWidth:t,listWidth:o,trackWidth:l,currentSlide:h,slideHeight:d,listHeight:f,lazyLoadedList:m=m.concat(g)};return null===e.autoplaying&&e.autoplay&&(y.autoplaying="playing"),y};t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,i=e.infinite,o=e.index,a=e.slideCount,c=e.lazyLoad,d=e.currentSlide,f=e.centerMode,h=e.slidesToScroll,m=e.slidesToShow,p=e.useCSS,v=e.lazyLoadedList;if(t&&n)return{};var g,b,w,x=o,j={},k={},P=i?o:l(o,0,a-1);if(r){if(!i&&(o<0||o>=a))return{};o<0?x=o+a:o>=a&&(x=o-a),c&&v.indexOf(x)<0&&(v=v.concat(x)),j={animating:!0,currentSlide:x,lazyLoadedList:v,targetSlide:x},k={animating:!1,targetSlide:x}}else g=x,x<0?(g=x+a,i?a%h!==0&&(g=a-a%h):g=0):!y(e)&&x>d?x=g=d:f&&x>=a?(x=i?a:a-1,g=i?0:a-1):x>=a&&(g=x-a,i?a%h!==0&&(g=0):g=a-m),!i&&x+m>=a&&(g=a-m),b=O(s(s({},e),{},{slideIndex:x})),w=O(s(s({},e),{},{slideIndex:g})),i||(b===w&&(x=g),b=w),c&&(v=v.concat(u(s(s({},e),{},{currentSlide:x})))),p?(j={animating:!0,currentSlide:g,trackStyle:S(s(s({},e),{},{left:b})),lazyLoadedList:v,targetSlide:P},k={animating:!1,currentSlide:g,trackStyle:A(s(s({},e),{},{left:w})),swipeLeft:null,targetSlide:P}):j={currentSlide:g,trackStyle:A(s(s({},e),{},{left:w})),lazyLoadedList:v,targetSlide:P};return{state:j,nextState:k}};t.changeSlide=function(e,t){var n,r,i,o,a=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,f=e.lazyLoad,h=e.infinite;if(n=c%a!==0?0:(c-u)%a,"previous"===t.message)o=u-(i=0===n?a:l-n),f&&!h&&(o=-1===(r=u-i)?c-1:r),h||(o=d-a);else if("next"===t.message)o=u+(i=0===n?a:n),f&&!h&&(o=(u+a)%c+n),h||(o=d+a);else if("dots"===t.message)o=t.index*t.slidesToScroll;else if("children"===t.message){if(o=t.index,h){var m=E(s(s({},e),{},{targetSlide:o}));o>t.currentSlide&&"left"===m?o-=c:o<t.currentSlide&&"right"===m&&(o+=c)}}else"index"===t.message&&(o=Number(t.index));return o};t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""};t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&c(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};t.swipeMove=function(e,t){var n=t.scrolling,r=t.animating,i=t.vertical,o=t.swipeToSlide,a=t.verticalSwiping,l=t.rtl,u=t.currentSlide,d=t.edgeFriction,f=t.edgeDragged,h=t.onEdge,m=t.swiped,p=t.swiping,v=t.slideCount,b=t.slidesToScroll,w=t.infinite,x=t.touchObject,j=t.swipeEvent,S=t.listHeight,k=t.listWidth;if(!n){if(r)return c(e);i&&o&&a&&c(e);var P,C={},E=O(t);x.curX=e.touches?e.touches[0].pageX:e.clientX,x.curY=e.touches?e.touches[0].pageY:e.clientY,x.swipeLength=Math.round(Math.sqrt(Math.pow(x.curX-x.startX,2)));var _=Math.round(Math.sqrt(Math.pow(x.curY-x.startY,2)));if(!a&&!p&&_>10)return{scrolling:!0};a&&(x.swipeLength=_);var T=(l?-1:1)*(x.curX>x.startX?1:-1);a&&(T=x.curY>x.startY?1:-1);var M=Math.ceil(v/b),I=g(t.touchObject,a),N=x.swipeLength;return w||(0===u&&("right"===I||"down"===I)||u+1>=M&&("left"===I||"up"===I)||!y(t)&&("left"===I||"up"===I))&&(N=x.swipeLength*d,!1===f&&h&&(h(I),C.edgeDragged=!0)),!m&&j&&(j(I),C.swiped=!0),P=i?E+N*(S/k)*T:l?E-N*T:E+N*T,a&&(P=E+N*T),C=s(s({},C),{},{touchObject:x,swipeLeft:P,trackStyle:A(s(s({},t),{},{left:P}))}),Math.abs(x.curX-x.startX)<.8*Math.abs(x.curY-x.startY)?C:(x.swipeLength>10&&(C.swiping=!0,c(e)),C)}};t.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,i=t.touchObject,o=t.listWidth,a=t.touchThreshold,l=t.verticalSwiping,u=t.listHeight,d=t.swipeToSlide,f=t.scrolling,h=t.onSwipe,m=t.targetSlide,p=t.currentSlide,v=t.infinite;if(!n)return r&&c(e),{};var y=l?u/a:o/a,b=g(i,l),j={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f)return j;if(!i.swipeLength)return j;if(i.swipeLength>y){var A,k;c(e),h&&h(b);var P=v?p:m;switch(b){case"left":case"up":k=P+x(t),A=d?w(t,k):k,j.currentDirection=0;break;case"right":case"down":k=P-x(t),A=d?w(t,k):k,j.currentDirection=1;break;default:A=P}j.triggerSlideHandler=A}else{var C=O(t);j.trackStyle=S(s(s({},t),{},{left:C}))}return j};var b=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i};t.getNavigableIndexes=b;var w=function(e,t){var n=b(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t};t.checkNavigable=w;var x=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,i=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(i).every(function(r){if(e.vertical){if(r.offsetTop+v(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+p(r)/2>-1*e.swipeLeft)return n=r,!1;return!0}),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll};t.getSlideCount=x;var j=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=j;var A=function(e){var t,n;j(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=C(e)*e.slideWidth;var i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";i=s(s({},i),{},{WebkitTransform:o,transform:a,msTransform:l})}
2else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i};t.getTrackCSS=A;var S=function(e){j(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=A(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=S;var O=function(e){if(e.unslick)return 0;j(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,i=e.trackRef,o=e.infinite,s=e.centerMode,a=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,f=e.variableWidth,h=e.slideHeight,m=e.fade,p=e.vertical;if(m||1===e.slideCount)return 0;var v=0;if(o?(v=-k(e),a%c!==0&&r+c>a&&(v=-(r>a?l-(r-a):a%c)),s&&(v+=parseInt(l/2))):(a%c!==0&&r+c>a&&(v=l-a%c),s&&(v=parseInt(l/2))),t=p?r*h*-1+v*h:r*u*-1+v*u,!0===f){var g,y=i&&i.node;if(g=r+k(e),t=(n=y&&y.childNodes[g])?-1*n.offsetLeft:0,!0===s){g=o?r+k(e):r,n=y&&y.children[g],t=0;for(var b=0;b<g;b++)t-=y&&y.children[b]&&y.children[b].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t};t.getTrackLeft=O;var k=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=k;var P=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=P;var C=function(e){return 1===e.slideCount?1:k(e)+e.slideCount+P(e)};t.getTotalSlides=C;var E=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+_(e)?"left":"right":e.targetSlide<e.currentSlide-T(e)?"right":"left"};t.siblingDirection=E;var _=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2==0&&(o+=1),o}return r?0:t-1};t.slidesOnRight=_;var T=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r||t%2!=0||(o+=1),o}return r?t-1:0};t.slidesOnLeft=T;t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},30173:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(96540)),o=s(n(5303));function s(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){return i.default.createElement("button",this.props,this.props.children)}}]),t}(i.default.Component);t.default=(0,o.default)(a)},30267:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(56848),i=n(24399),o=n(74848),s=r.Ay.Element;const a=function(e){var t=e.showId,n=e.deeplinkURL,r=e.scrollToPosition,a=e.cinema;return(0,o.jsx)(s,{name:r+" performance-iframe",className:"iframe-container",children:(0,o.jsx)(i.A,{showId:t,deeplinkURL:n,scrollToPosition:r,cinema:a})})}},30454:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=i(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var i=o(n[0]);i!==n[0]&&(t[n[0]]=i)}n=r.exec(e)}t["%C2"]="�";for(var s=Object.keys(t),a=0;a<s.length;a++){var l=s[a];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}}
2,30649:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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=a(n(92906)),o=a(n(87384)),s=a(n(71290));function a(e){return e&&e.__esModule?e:{default:e}}var l={},c=void 0;t.default={unmount:function(){l={}},register:function(e,t){l[e]=t},unregister:function(e){delete l[e]},get:function(e){return l[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return c=e},getActiveLink:function(){return c},scrollTo:function(e,t){var n=this.get(e);if(n){var a=(t=r({},t,{absolute:!1})).containerId,l=t.container,c=void 0;c=a?document.getElementById(a):l&&l.nodeType?l:document,t.absolute=!0;var u=t.horizontal,d=i.default.scrollOffset(c,n,u)+(t.offset||0);if(!t.smooth)return s.default.registered.begin&&s.default.registered.begin(e,n),c===document?t.horizontal?window.scrollTo(d,0):window.scrollTo(0,d):c.scrollTop=d,void(s.default.registered.end&&s.default.registered.end(e,n));o.default.animateTopScroll(d,t,e,n)}else console.warn("target Element not found")}}},30699:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(12111);const i=function(e,t){return r.isEmpty(e)||(null===t?Object.keys(e).map(function(n,r){0===r?t="?"+e[n]:t+="&"+e[n]}):Object.keys(e).map(function(n){t+="&"+e[n]})),t}},32017:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!==i--;){var s=o[i];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},32186:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(53392),i=n(15049),o=n(12111);const s=function(e,t,n){if(!t||0===t.length||!n)return null;var s=o.intersection(n,t);if(0===s.length)return null;var a=[];return s.forEach(function(t){var n=(0,r.A)(e,[i.PROGRAM_PERFORMANCES_ITEMS,t]);if(n){var s=n.get?n.get("attributes"):null;
2if(s)(s.toJS?s.toJS():s).forEach(function(e){e&&e.id&&!o.contains(a,e.id)&&a.push(e.id)})}}),a.length>0?a:null}},32979:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(84196),i=n(15049),o=n(53392),s=function(e,t){return!(!e||!t)&&(e.getIn?e.getIn([t,"uri"])||!1:!(!e[t]||!e[t].uri)&&e[t].uri)},a=function(){var e=(0,r.d4)(function(e){return(0,o.A)(e,i.TRANSLATION_CURRENT_LANG)}),t=(0,r.d4)(function(e){return(0,o.A)(e,i.ROUTESDATA_PROGRAM_OVERVIEW)}),n=(0,r.d4)(function(e){return(0,o.A)(e,i.TRANSLATION_DEFAULT_LANG)}),a=s(t,e);if(a)return a;var l=s(t,n);return l||!1}},33844:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return!!(e&&e.poster&&e.poster.url)&&e.poster}},34999:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=f(n(96540)),i=f(n(68841)),o=f(n(20181)),s=f(n(46942)),a=n(29445),l=n(25942),c=n(773),u=n(89223),d=f(n(43591));function f(e){return e&&e.__esModule?e:{default:e}}function h(e){return h="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},h(e)}function m(){return m=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},m.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function v(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){A(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(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,r.key,r)}}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function w(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 Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=j(e);if(t){var i=j(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;return x(e)}(this,n)}}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
vendor: 13,796 bytes, line 2
2function j(e){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},j(e)}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=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}}),t&&b(e,t)}(j,e);var t,n,f,v=w(j);function j(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,j),A(x(t=v.call(this,e)),"listRefHandler",function(e){return t.list=e}),A(x(t),"trackRefHandler",function(e){return t.track=e}),A(x(t),"adaptHeight",function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,a.getHeight)(e)+"px"}}),A(x(t),"componentDidMount",function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,a.getOnDemandLazySlides)(g(g({},t.props),t.state));e.length>0&&(t.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=g({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")}),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default(function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout(function(){return t.onWindowResized()},t.props.speed))):t.onWindowResized()}),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)}),A(x(t),"componentWillUnmount",function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach(function(e){return clearTimeout(e)}),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()}),A(x(t),"componentDidUpdate",function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,a.getOnDemandLazySlides)(g(g({},t.props),t.state));n.length>0&&(t.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}}),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var i=g(g({listRef:t.list,trackRef:t.track},t.props),t.state),o=t.didPropsChange(e);o&&t.updateState(i,o,function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")})}),A(x(t),"onWindowResized",function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,o.default)(function(){return t.resizeWindow(e)},50),t.debouncedResize()}),A(x(t),"resizeWindow",function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var n=g(g({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(n,e,function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")}),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}}),A(x(t),"updateState",function(e,n,i){var o=(0,a.initializedState)(e);e=g(g(g({},e),o),{},{slideIndex:o.currentSlide});var s=(0,a.getTrackLeft)(e);e=g(g({},e),{},{left:s});var l=(0,a.getTrackCSS)(e);(n||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(o.trackStyle=l),t.setState(o,i)}),A(x(t),"ssrInit",function(){if(t.props.variableWidth){var e=0,n=0,i=[],o=(0,a.getPreClones)(g(g(g({},t.props),t.state),{},{slideCount:t.props.children.length})),s=(0,a.getPostClones)(g(g(g({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach(function(t){i.push(t.props.style.width),e+=t.props.style.width});for(var l=0;l<o;l++)n+=i[i.length-1-l],e+=i[i.length-1-l];for(var c=0;c<s;c++)e+=i[c];for(var u=0;u<t.state.currentSlide;u++)n+=i[u];var d={width:e+"px",left:-n+"px"};if(t.props.centerMode){var f="".concat(i[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(f,") / 2 ) ")}return{trackStyle:d}}var h=r.default.Children.count(t.props.children),m=g(g(g({},t.props),t.state),{},{slideCount:h}),p=(0,a.getPreClones)(m)+(0,a.getPostClones)(m)+h,v=100/t.props.slidesToShow*p,y=100/p,b=-y*((0,a.getPreClones)(m)+t.state.currentSlide)*v/100;return t.props.centerMode&&(b+=(100-y*v/100)/2),{slideWidth:y+"%",trackStyle:{width:v+"%",left:b+"%"}}}),A(x(t),"checkImagesLoad",function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,function(e){var i=function(){return++r&&r>=n&&t.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(){o(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=i,e.onerror=function(){i(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))})}),A(x(t),"progressiveLazyLoad",function(){for(var e=[],n=g(g({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,a.getPostClones)(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var i=t.state.currentSlide-1;i>=-(0,a.getPreClones)(n);i--)if(t.state.lazyLoadedList.indexOf(i)<0){e.push(i);break}e.length>0?(t.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)}),A(x(t),"slideHandler",function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,i=r.asNavFor,o=r.beforeChange,s=r.onLazyLoad,l=r.speed,c=r.afterChange,u=t.state.currentSlide,d=(0,a.slideHandler)(g(g(g({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),f=d.state,h=d.nextState;if(f){o&&o(u,f.currentSlide);var m=f.lazyLoadedList.filter(function(e){return t.state.lazyLoadedList.indexOf(e)<0});s&&m.length>0&&s(m),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(u),delete t.animationEndCallback),t.setState(f,function(){i&&t.asNavForIndex!==e&&(t.asNavForIndex=e,i.innerSlider.slideHandler(e)),h&&(t.animationEndCallback=setTimeout(function(){var e=h.animating,n=p(h,["animating"]);t.setState(n,function(){t.callbackTimers.push(setTimeout(function(){return t.setState({animating:e})},10)),c&&c(f.currentSlide),delete t.animationEndCallback})},l))})}}),A(x(t),"changeSlide",function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=g(g({},t.props),t.state),i=(0,a.changeSlide)(r,e);if((0===i||i)&&(!0===n?t.slideHandler(i,n):t.slideHandler(i),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var o=t.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}}),A(x(t),"clickHandler",function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0}),A(x(t),"keyHandler",function(e){var n=(0,a.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})}),A(x(t),"selectHandler",function(e){t.changeSlide(e)}),A(x(t),"disableBodyScroll",function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}}),A(x(t),"enableBodyScroll",function(){window.ontouchmove=null}),A(x(t),"swipeStart",function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,a.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)}),A(x(t),"swipeMove",function(e){var n=(0,a.swipeMove)(e,g(g(g({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))}),A(x(t),"swipeEnd",function(e){var n=(0,a.swipeEnd)(e,g(g(g({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var r=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}}),A(x(t),"touchEnd",function(e){t.swipeEnd(e),t.clickable=!0}),A(x(t),"slickPrev",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"previous"})},0))}),A(x(t),"slickNext",function(){t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"next"})},0))}),A(x(t),"slickGoTo",function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout(function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)},0))}),A(x(t),"play",function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,a.canGoNext)(g(g({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)}),A(x(t),"autoPlay",function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})}),A(x(t),"pause",function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})}),A(x(t),"onDotsOver",function(){return t.props.autoplay&&t.pause("hovered")}),A(x(t),"onDotsLeave",function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")}),A(x(t),"onTrackOver",function(){return t.props.autoplay&&t.pause("hovered")}),A(x(t),"onTrackLeave",function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")}),A(x(t),"onSlideFocus",function(){return t.props.autoplay&&t.pause("focused")}),A(x(t),"onSlideBlur",function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")}),A(x(t),"render",function(){var e,n,i,o=(0,s.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=g(g({},t.props),t.state),f=(0,a.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),h=t.props.pauseOnHover;if(f=g(g({},f),{},{onMouseEnter:h?t.onTrackOver:null,onMouseLeave:h?t.onTrackLeave:null,onMouseOver:h?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var p=(0,a.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),v=t.props.pauseOnDotsHover;p=g(g({},p),{},{clickHandler:t.changeSlide,onMouseEnter:v?t.onDotsLeave:null,onMouseOver:v?t.onDotsOver:null,onMouseLeave:v?t.onDotsLeave:null}),e=r.default.createElement(c.Dots,p)}var y=(0,a.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);y.clickHandler=t.changeSlide,t.props.arrows&&(n=r.default.createElement(u.PrevArrow,y),i=r.default.createElement(u.NextArrow,y));var b=null;t.props.vertical&&(b={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var x=g(g({},b),w),j=t.props.touchMove,A={className:"slick-list",style:x,onClick:t.clickHandler,onMouseDown:j?t.swipeStart:null,onMouseMove:t.state.dragging&&j?t.swipeMove:null,onMouseUp:j?t.swipeEnd:null,onMouseLeave:t.state.dragging&&j?t.swipeEnd:null,onTouchStart:j?t.swipeStart:null,onTouchMove:t.state.dragging&&j?t.swipeMove:null,onTouchEnd:j?t.touchEnd:null,onTouchCancel:t.state.dragging&&j?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},S={className:o,dir:"ltr",style:t.props.style};return t.props.unslick&&(A={className:"slick-list"},S={className:o}),r.default.createElement("div",S,t.props.unslick?"":n,r.default.createElement("div",m({ref:t.listRefHandler},A),r.default.createElement(l.Track,m({ref:t.trackRefHandler},f),t.props.children)),t.props.unslick?"":i,t.props.unslick?"":e)}),t.list=null,t.track=null,t.state=g(g({},i.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=g(g({},t.state),n),t}return t=j,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,i=Object.keys(this.props);n<i.length;n++){var o=i[n];if(!e.hasOwnProperty(o)){t=!0;break}if("object"!==h(e[o])&&"function"!=typeof e[o]&&e[o]!==this.props[o]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&y(t.prototype,n),f&&y(t,f),j}(r.default.Component);t.InnerSlider=S}
vendor: 4,484 bytes, line 2
2,35302:(e,t,n)=>{var r=n(64634);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return c(o(e,t),t)},e.exports.tokensToFunction=c,e.exports.tokensToRegExp=m;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,l="",c=t&&t.delimiter||"/";null!=(n=i.exec(e));){var u=n[0],f=n[1],h=n.index;if(l+=e.slice(a,h),a=h+u.length,f)l+=f[1];else{var m=e[a],p=n[2],v=n[3],g=n[4],y=n[5],b=n[6],w=n[7];l&&(r.push(l),l="");var x=null!=p&&null!=m&&m!==p,j="+"===b||"*"===b,A="?"===b||"*"===b,S=p||c,O=g||y,k=p||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:v||o++,prefix:p||"",delimiter:S,optional:A,repeat:j,partial:x,asterisk:!!w,pattern:O?d(O):w?".*":s(S,k)})}}return a<e.length&&(l+=e.substr(a)),l&&r.push(l),r}function s(e,t){return!t||t.indexOf(e)>-1?"[^"+u(e)+"]+?":u(t)+"|(?:(?!"+u(t)+")[^"+u(e)+"])+?"}function a(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function l(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function c(e,t){for(var n=new Array(e.length),i=0;i<e.length;i++)"object"==typeof e[i]&&(n[i]=new RegExp("^(?:"+e[i].pattern+")$",h(t)));return function(t,i){for(var o="",s=t||{},c=(i||{}).pretty?a:encodeURIComponent,u=0;u<e.length;u++){var d=e[u];if("string"!=typeof d){var f,h=s[d.name];if(null==h){if(d.optional){d.partial&&(o+=d.prefix);continue}throw new TypeError('Expected "'+d.name+'" to be defined')}if(r(h)){if(!d.repeat)throw new TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(d.optional)continue;throw new TypeError('Expected "'+d.name+'" to not be empty')}for(var m=0;m<h.length;m++){if(f=c(h[m]),!n[u].test(f))throw new TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===m?d.prefix:d.delimiter)+f}}else{if(f=d.asterisk?l(h):c(h),!n[u].test(f))throw new TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+f+'"');o+=d.prefix+f}}else o+=d}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function d(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function f(e,t){return e.keys=t,e}function h(e){return e&&e.sensitive?"":"i"}function m(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,s="",a=0;a<e.length;a++){var l=e[a];if("string"==typeof l)s+=u(l);else{var c=u(l.prefix),d="(?:"+l.pattern+")";t.push(l),l.repeat&&(d+="(?:"+c+d+")*"),s+=d=l.optional?l.partial?c+"("+d+")?":"(?:"+c+"("+d+"))?":c+"("+d+")"}}var m=u(n.delimiter||"/"),p=s.slice(-m.length)===m;return i||(s=(p?s.slice(0,-m.length):s)+"(?:"+m+"(?=$))?"),s+=o?"$":i&&p?"":"(?="+m+"|$)",f(new RegExp("^"+s,h(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return f(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(p(e[i],t,n).source);return f(new RegExp("(?:"+r.join("|")+")",h(n)),t)}(e,t,n):function(e,t,n){return m(o(e,n),t,n)}(e,t,n)}},36487:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(74030),i=n(74848);const o=function(e){var t=e.attributeId,n=e.cinedomX;if(!t)return"";if("ov"===t||"original"===t||"originalversion"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35.21 19.46",children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",d:"M0,10.02v-.55C0,3.31,3.78,.03,8.25,.03s8.28,3.27,8.28,9.44v.55c0,6.17-3.82,9.44-8.28,9.44S0,16.19,0,10.02Zm11.49,0v-.55c0-3.72-1.57-4.74-3.24-4.74s-3.2,1.02-3.2,4.74v.55c0,3.72,1.53,4.74,3.2,4.74s3.24-1.02,3.24-4.74Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M35.21,.31l-6.27,18.99h-5.15L17.52,.31l5.28-.31,3.58,12.37L29.93,0l5.28,.31Z"})]})})});if("omeu"===t||"OmeU"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29.57 7.77",children:(0,i.jsx)("g",{id:"Ebene_2-2",children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{className:"cls-2",children:[(0,i.jsx)("g",{className:"cls-2",children:(0,i.jsx)("path",{className:"cls-1",d:"m0,4v-.22C0,1.31,1.51,0,3.3,0s3.31,1.31,3.31,3.78v.22c0,2.47-1.53,3.78-3.3
21,3.78S0,6.47,0,4Zm4.6,0v-.22c0-1.49-.63-1.9-1.3-1.9s-1.28.41-1.28,1.9v.22c0,1.49.61,1.9,1.28,1.9s1.3-.41,1.3-1.9Z"})}),(0,i.jsxs)("g",{className:"cls-2",children:[(0,i.jsx)("path",{className:"cls-1",d:"m15.95,3.75v3.96h-2.05v-3.38c0-.49-.18-.87-.67-.85-.16.01-.31.07-.44.16v4.06h-2.05v-3.38c0-.49-.15-.89-.6-.85-.22.01-.4.12-.52.29l.03,3.94h-2.05V1.73l1.91-.11.1,1v.03c.33-.57.82-.96,1.35-1.01.78-.1,1.39.34,1.66,1.01.34-.56.85-.94,1.35-1.01,1.16-.16,1.96.87,1.96,2.11Z"}),(0,i.jsx)("path",{className:"cls-1",d:"m16.89,4.71c0-1.57,1.04-3.07,2.8-3.07s2.81,1.45,2.81,2.89c0,.49-.01.53-.03.66h-3.57v.08c.01.56.44.76.76.76.35,0,.6-.16.74-.49l1.86.55c-.41.96-1.31,1.69-2.57,1.69-1.76,0-2.8-1.5-2.8-3.07Zm3.52-.59c-.01-.49-.41-.74-.75-.74s-.75.25-.75.74h1.5Z"}),(0,i.jsx)("path",{className:"cls-1",d:"m23.53,4.62l-.03-4.46,2.02-.11.03,4.41c0,.87.45,1.27,1.01,1.27.6,0,1-.42,1-1.27l-.03-4.39h2.02l.03,4.56c0,2.07-1.35,3.12-3.01,3.12s-3.01-1.05-3.03-3.12Z"})]})]})})})});if("omdu"===t||"OmdU"===t||"OMdU"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29.84 8.13",children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",d:"M0,4.35v-.22C0,1.66,1.51,.35,3.3,.35s3.31,1.31,3.31,3.78v.22c0,2.47-1.53,3.78-3.31,3.78S0,6.82,0,4.35Zm4.6,0v-.22c0-1.49-.63-1.9-1.3-1.9s-1.28,.41-1.28,1.9v.22c0,1.49,.61,1.9,1.28,1.9s1.3-.41,1.3-1.9Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M15.96,4.11v3.96h-2.05v-3.38c0-.49-.18-.87-.67-.85-.16,.01-.31,.07-.44,.16v4.06h-2.05v-3.38c0-.49-.15-.89-.6-.85-.22,.01-.4,.12-.52,.29l.03,3.94h-2.05V2.09l1.91-.11,.1,1v.03c.33-.57,.82-.95,1.35-1.01,.78-.1,1.39,.34,1.66,1.01,.34-.56,.85-.94,1.35-1.01,1.16-.16,1.96,.87,1.96,2.11Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M22.49,.1v7.97h-1.91l-.14-.94c-.26,.46-.64,.86-1.17,.94-1.36,.22-2.37-1.12-2.37-2.86s1.09-3.4,2.43-3.15c.54,.1,.9,.53,1.12,1.01V0l2.05,.1Zm-2.05,5.91v-1.83c-.22-.25-.45-.38-.71-.38-.44,0-.74,.57-.74,1.43,0,.63,.26,1.12,.79,1.12,.25,0,.46-.14,.65-.34Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M23.79,4.98l-.03-4.46,2.02-.11,.03,4.41c0,.87,.45,1.27,1.01,1.27,.6,0,1-.42,1-1.27l-.03-4.39h2.02l.03,4.56c0,2.07-1.35,3.12-3.01,3.12s-3.02-1.05-3.03-3.12Z"})]})})});if("omu"===t||"OmU"===t||"subtitled"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 23.2 7.8",children:(0,i.jsx)("g",{id:"Ebene_2-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",d:"M3.3,0C1.5,0,0,1.3,0,3.8v.2c0,2.5,1.5,3.8,3.3,3.8s3.3-1.3,3.3-3.8v-.2C6.6,1.3,5.1,0,3.3,0Zm1.3,4c0,1.5-.6,1.9-1.3,1.9s-1.3-.4-1.3-1.9v-.2c0-1.5,.7-1.9,1.3-1.9s1.3,.4,1.3,1.9v.2Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M14.2,1.6c-.6,.1-1.1,.4-1.4,1-.3-.7-.9-1.1-1.7-1-.6,0-1.1,.4-1.4,1l-.1-1-1.9,.1V7.7h2V3.8c.1-.2,.3-.3,.5-.3,.4-.1,.6,.3,.6,.8v3.5h2V3.7c.1-.1,.2-.2,.4-.2,.5-.1,.7,.3,.7,.8v3.5h2V3.8c0-1.3-.8-2.3-1.7-2.2Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M21.2,0V4.4c0,.9-.4,1.3-1,1.3-.5,0-1-.4-1-1.3V0l-2,.1V4.6c0,2.1,1.4,3.1,3,3.1s3-1,3-3.1V0h-2Z"})]})})});if("1087"===t||"2d"===t||"filmtype_2"===t)return(0,i.jsxs)("svg",{id:"Ebene_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 16.13",children:[(0,i.jsx)("path",{className:"cls-1",d:"M10.33,12.81v3.32H0V13.21L5.21,7.35A3.94,3.94,0,0,0,6.42,4.84,1.46,1.46,0,0,0,5,3.27C4,3.27,3.49,4,3.35,5L.08,4.14A4.83,4.83,0,0,1,5,0a4.75,4.75,0,0,1,5,4.79A6.57,6.57,0,0,1,8.05,8.93L4.7,12.81Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M13.2.51C15,.39,16.78.31,18.61.22,21.68.22,25,2.82,25,8.42c0,5.94-3.94,7.71-6.73,7.71H13.2Zm5,12.13c2.15,0,3.24-1.69,3.24-4.11,0-2.67-1-4.81-3.15-4.81-.56,0-1,0-1.61.08v8.84Z"})]});if("1088"===t||"3d"===t||"filmtype_3"===t)return(0,i.jsxs)("svg",{id:"Ebene_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 15.91",children:[(0,i.jsx)("path",{className:"cls-1",d:"M10.44,10.61A5.31,5.31,0,0,1,0,12l3.07-.9A2.15,2.15,0,0,0,5,12.81a2.14,2.14,0,0,0,2.1-2.2A2,2,0,0,0,5.3,8.43a2.63,2.63,0,0,0-1.42.47L2.51,6.5,5.89,3.29H.47V.14H9.85V3.52L6.78,6.34A4,4,0,0,1,10.44,10.61Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M13.31.28C15.09.17,16.85.08,18.67,0,21.71,0,25,2.57,25,8.12c0,5.89-3.91,7.65-6.67,7.65h-5Zm5,12c2.13,0,3.21-1.68,3.21-4.08,0-2.65-1-4.77-3.12-4.77-.56,0-1,0-1.59.08v8.77Z"})]});if("hdr"===t)return n?(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 207 20",version:"1.1",children:[(0,i.jsx)("path",{d:"M0,0.2L4.6,0.2L4.6,7.7L11.4,7.7L11.4,0.2L16,0.2L16,18.9L11.4,18.9L11.4,11.6L4.6,11.6L4.6,18.9L0,18.9L0,0.2Z"}),(0,i.jsx)("path",{d:"M0,0.2L4.6,0.2L4.6,7.7L11.4,7.7L11.4,0.2L16,0.2L16,18.9L11.4,18.9L11.4,11.6L4.6,11.6L4.6,18.9L0,18.9L0,0.2Z"}),(0,i.jsx)("path",{d:"M21.6,0.2L28.2,0.2C34.1,0.2 37.8,3.6 37.8,9.5C37.8,15.4 34,18.9 28.2,18.9L21.6,18.9L21.6,0.2ZM28.1,14.9C31.3,14.9 33.2,13.1 33.2,9.5C33.2,5.9 31.2,4.1 28.1,4.1L26.2,4.1L26.2,14.9L28.1,14.9Z"}),(0,i.jsx)("path",{d:"M21.6,0.2L28.2,0.2C34.1,0.2 37.8,3.6 37.8,9.5C37.8,15.4 34,18.9 28.2,18.9L21.6,18.9L21.6,0.2ZM28.1,14.9C31.3,14.9 33.2,13.1 33.2,9.5C33.2,5.9 31.2,4.1 28.1,4.1L26.2,4.1L26.2,14.9L28.1,14.9Z"}),(0,i.jsx)("path",{d:"M42.3,0.2L48.9,0.2C50.8,0.2 51.7,0.3 52.5,0.6C54.6,1.4 55.9,3.3 55.9,6C55.9,8.7 55,10.1 53.1,11.1C53.1,11.1 53.4,11.5 53.8,12.3L57.4,18.8L52.3,18.8L49,12.5L46.9,12.5L46.9,18.8L42.3,18.8L42.3,0.2ZM48.9,8.7C50.4,8.7 51.3,7.9 51.3,6.4C51.3,4.9 50.8,4.2 48.5,4.2L47,4.2L47,8.7L49,8.7L48.9,8.7Z"}),(0,i.jsx)("path",{d:"M42.3,0.2L48.9,0.2C50.8,0.2 51.7,0.3 52.5,0.6C54.6,1.4 55.9,3.3 55.9,6C55.9,8.7 55,10.1 53.1,11.1C53.1,11.1 53.4,11.5 53.8,12.3L57.4,18.8L52.3,18.8L49,12.5L46.9,12.5L46.9,18.8L42.3,18.8L42.3,0.2ZM48.9,8.7C50.4,8.7 51.3,7.9 51.3,6.4C51.3,4.9 50.8,4.2 48.5,4.2L47,4.2L47,8.7L49,8.7L48.9,8.7Z"}),(0,i.jsx)("path",{d:"M69.3,0.5L75.6,0.5C78.5,0.5 80.6,2.2 80.6,5.1C80.6,8 79.7,8.4 78.3,9.1C80.2,9.7 81.4,11.5 81.4,13.7C81.4,17 79,18.8 75.9,18.8L69.4,18.8L69.4,0.5L69.3,0.5ZM75.6,8.5C77.5,8.5 78.7,7.2 78.7,5.3C78.7,3.4 77.5,2.2 75.6,2.2L71.2,2.2L71.2,8.5L75.7,8.5L75.6,8.5ZM75.8,17.3C78,17.3 79.4,15.9 79.4,13.7C79.4,11.5 77.9,10.1 75.8,10.1L71.1,10.1L71.1,17.3L75.8,17.3Z"}),(0,i.jsx)("path",{d:"M69.3,0.5L75.6,0.5C78.5,0.5 80.6,2.2 80.6,5.1C80.6,8 79.7,8.4 78.3,9.1C80.2,9.7 81.4,11.5 81.4,13.7C81.4,17 79,18.8 75.9,18.8L69.4,18.8L69.4,0.5L69.3,0.5ZM75.6,8.5C77.5,8.5 78.7,7.2 78.7,5.3C78.7,3.4 77.5,2.2 75.6,2.2L71.2,2.2L71.2,8.5L75.7,8.5L75.6,8.5ZM75.8,17.3C78,17.3 79.4,15.9 79.4,13.7C79.4,11.5 77.9,10.1 75.8,10.1L71.1,10.1L71.1,17.3L75.8,17.3Z"}
2),(0,i.jsx)("path",{d:"M90.7,11L84.5,0.5L86.6,0.5L90.5,7.2C91,8.1 91.6,9.4 91.6,9.4C91.6,9.4 92.1,8.2 92.7,7.2L96.6,0.5L98.6,0.5L92.4,11L92.4,18.9L90.6,18.9L90.6,11L90.7,11Z"}),(0,i.jsx)("path",{d:"M90.7,11L84.5,0.5L86.6,0.5L90.5,7.2C91,8.1 91.6,9.4 91.6,9.4C91.6,9.4 92.1,8.2 92.7,7.2L96.6,0.5L98.6,0.5L92.4,11L92.4,18.9L90.6,18.9L90.6,11L90.7,11Z"}),(0,i.jsx)("path",{d:"M123.2,15.4L117,15.4L117,11L123.2,11C124.4,11 125.4,12 125.4,13.2C125.4,14.4 124.4,15.4 123.2,15.4ZM123.2,3.7C124.3,3.7 125.2,4.6 125.2,5.7C125.2,6.8 124.3,7.7 123.2,7.7L117,7.7L117,3.7L123.2,3.7ZM128.5,5.7C128.5,2.8 126.1,0.4 123.2,0.4L113.7,0.4L113.7,18.8L123.2,18.8C126.2,18.8 128.7,16.3 128.7,13.3C128.7,10.3 128.1,10.4 127.1,9.4C128,8.5 128.5,7.2 128.5,5.8L128.5,5.7Z"}),(0,i.jsx)("path",{d:"M123.2,15.4L117,15.4L117,11L123.2,11C124.4,11 125.4,12 125.4,13.2C125.4,14.4 124.4,15.4 123.2,15.4ZM123.2,3.7C124.3,3.7 125.2,4.6 125.2,5.7C125.2,6.8 124.3,7.7 123.2,7.7L117,7.7L117,3.7L123.2,3.7ZM128.5,5.7C128.5,2.8 126.1,0.4 123.2,0.4L113.7,0.4L113.7,18.8L123.2,18.8C126.2,18.8 128.7,16.3 128.7,13.3C128.7,10.3 128.1,10.4 127.1,9.4C128,8.5 128.5,7.2 128.5,5.8L128.5,5.7Z"}),(0,i.jsx)("path",{d:"M160,7.7L153.8,7.7L153.8,3.7L160,3.7C161.1,3.7 162,4.6 162,5.7C162,6.8 161.1,7.7 160,7.7M165.3,5.7C165.3,2.8 162.9,0.4 160,0.4L150.5,0.4L150.5,18.8L153.8,18.8L153.8,11.1L160,11.1C161.2,11.1 162.2,12.1 162.2,13.3L162.2,18.8L165.5,18.8L165.5,13.3C165.5,11.8 164.9,10.4 163.9,9.4C164.8,8.5 165.3,7.2 165.3,5.8L165.3,5.7Z"}),(0,i.jsx)("path",{d:"M160,7.7L153.8,7.7L153.8,3.7L160,3.7C161.1,3.7 162,4.6 162,5.7C162,6.8 161.1,7.7 160,7.7M165.3,5.7C165.3,2.8 162.9,0.4 160,0.4L150.5,0.4L150.5,18.8L153.8,18.8L153.8,11.1L160,11.1C161.2,11.1 162.2,12.1 162.2,13.3L162.2,18.8L165.5,18.8L165.5,13.3C165.5,11.8 164.9,10.4 163.9,9.4C164.8,8.5 165.3,7.2 165.3,5.8L165.3,5.7Z"}),(0,i.jsx)("path",{d:"M170.7,9.5C170.7,6.3 173.3,3.6 176.6,3.6L182.1,3.6L182.1,0.4L176.6,0.4C171.5,0.4 167.4,4.5 167.4,9.6C167.4,14.7 171.5,18.8 176.6,18.8L182.1,18.8L182.1,15.5L176.6,15.5C173.4,15.5 170.7,12.9 170.7,9.6L170.7,9.5Z"}),(0,i.jsx)("path",{d:"M170.7,9.5C170.7,6.3 173.3,3.6 176.6,3.6L182.1,3.6L182.1,0.4L176.6,0.4C171.5,0.4 167.4,4.5 167.4,9.6C167.4,14.7 171.5,18.8 176.6,18.8L182.1,18.8L182.1,15.5L176.6,15.5C173.4,15.5 170.7,12.9 170.7,9.6L170.7,9.5Z"}),(0,i.jsx)("path",{d:"M192.8,15.8C189.4,15.8 186.6,13 186.6,9.6C186.6,6.2 189.4,3.4 192.8,3.4C196.2,3.4 199,6.2 199,9.6C199,13 196.2,15.8 192.8,15.8ZM204.1,7.7C203,7.7 202.1,7 201.7,6.1C200.3,2.5 196.8,0 192.8,0C188.8,0 185.3,2.5 183.9,6.1C183.5,7.1 182.6,7.7 181.5,7.7L178.6,7.7L178.6,11.4L181.5,11.4C182.6,11.4 183.5,12.1 183.9,13C185.3,16.6 188.8,19.1 192.8,19.1C196.8,19.1 200.3,16.6 201.7,13C202.1,12 203,11.4 204.1,11.4L207,11.4L207,7.7L204.1,7.7Z"}),(0,i.jsx)("path",{d:"M192.8,15.8C189.4,15.8 186.6,13 186.6,9.6C186.6,6.2 189.4,3.4 192.8,3.4C196.2,3.4 199,6.2 199,9.6C199,13 196.2,15.8 192.8,15.8ZM204.1,7.7C203,7.7 202.1,7 201.7,6.1C200.3,2.5 196.8,0 192.8,0C188.8,0 185.3,2.5 183.9,6.1C183.5,7.1 182.6,7.7 181.5,7.7L178.6,7.7L178.6,11.4L181.5,11.4C182.6,11.4 183.5,12.1 183.9,13C185.3,16.6 188.8,19.1 192.8,19.1C196.8,19.1 200.3,16.6 201.7,13C202.1,12 203,11.4 204.1,11.4L207,11.4L207,7.7L204.1,7.7Z"}),(0,i.jsx)("path",{d:"M192.8,6C190.9,6 189.3,7.6 189.3,9.5C189.3,11.4 190.9,13 192.8,13C194.7,13 196.3,11.4 196.3,9.5C196.3,7.6 194.7,6 192.8,6Z"}),(0,i.jsx)("path",{d:"M192.8,6C190.9,6 189.3,7.6 189.3,9.5C189.3,11.4 190.9,13 192.8,13C194.7,13 196.3,11.4 196.3,9.5C196.3,7.6 194.7,6 192.8,6Z"}),(0,i.jsx)("path",{d:"M143.6,9.5L135.2,9.5L135.2,7.5C135.2,5.2 137.1,3.3 139.4,3.3C141.7,3.3 143.6,5.2 143.6,7.5L143.6,9.5ZM139.3,0C135.1,0 131.8,3.4 131.8,7.5L131.8,18.7L135.1,18.7L135.1,12.8L143.5,12.8L143.5,18.7L146.8,18.7L146.8,7.5C146.9,3.4 143.5,0 139.3,0Z"}),(0,i.jsx)("path",{d:"M143.6,9.5L135.2,9.5L135.2,7.5C135.2,5.2 137.1,3.3 139.4,3.3C141.7,3.3 143.6,5.2 143.6,7.5L143.6,9.5ZM139.3,0C135.1,0 131.8,3.4 131.8,7.5L131.8,18.7L135.1,18.7L135.1,12.8L143.5,12.8L143.5,18.7L146.8,18.7L146.8,7.5C146.9,3.4 143.5,0 139.3,0Z"})]}):(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 58 19",version:"1.1",children:(0,i.jsxs)("g",{transform:"matrix(1,0,0,1,0,-0.2)",children:[(0,i.jsx)("path",{d:"M0,0.2L4.6,0.2L4.6,7.7L11.4,7.7L11.4,0.2L16,0.2L16,18.9L11.4,18.9L11.4,11.6L4.6,11.6L4.6,18.9L0,18.9L0,0.2Z"}),(0,i.jsx)("path",{d:"M0,0.2L4.6,0.2L4.6,7.7L11.4,7.7L11.4,0.2L16,0.2L16,18.9L11.4,18.9L11.4,11.6L4.6,11.6L4.6,18.9L0,18.9L0,0.2Z"}),(0,i.jsx)("path",{d:"M21.6,0.2L28.2,0.2C34.1,0.2 37.8,3.6 37.8,9.5C37.8,15.4 34,18.9 28.2,18.9L21.6,18.9L21.6,0.2ZM28.1,14.9C31.3,14.9 33.2,13.1 33.2,9.5C33.2,5.9 31.2,4.1 28.1,4.1L26.2,4.1L26.2,14.9L28.1,14.9Z"}),(0,i.jsx)("path",{d:"M21.6,0.2L28.2,0.2C34.1,0.2 37.8,3.6 37.8,9.5C37.8,15.4 34,18.9 28.2,18.9L21.6,18.9L21.6,0.2ZM28.1,14.9C31.3,14.9 33.2,13.1 33.2,9.5C33.2,5.9 31.2,4.1 28.1,4.1L26.2,4.1L26.2,14.9L28.1,14.9Z"}),(0,i.jsx)("path",{d:"M42.3,0.2L48.9,0.2C50.8,0.2 51.7,0.3 52.5,0.6C54.6,1.4 55.9,3.3 55.9,6C55.9,8.7 55,10.1 53.1,11.1C53.1,11.1 53.4,11.5 53.8,12.3L57.4,18.8L52.3,18.8L49,12.5L46.9,12.5L46.9,18.8L42.3,18.8L42.3,0.2ZM48.9,8.7C50.4,8.7 51.3,7.9 51.3,6.4C51.3,4.9 50.8,4.2 48.5,4.2L47,4.2L47,8.7L49,8.7L48.9,8.7Z"}),(0,i.jsx)("path",{d:"M42.3,0.2L48.9,0.2C50.8,0.2 51.7,0.3 52.5,0.6C54.6,1.4 55.9,3.3 55.9,6C55.9,8.7 55,10.1 53.1,11.1C53.1,11.1 53.4,11.5 53.8,12.3L57.4,18.8L52.3,18.8L49,12.5L46.9,12.5L46.9,18.8L42.3,18.8L42.3,0.2ZM48.9,8.7C50.4,8.7 51.3,7.9 51.3,6.4C51.3,4.9 50.8,4.2 48.5,4.2L47,4.2L47,8.7L49,8.7L48.9,8.7Z"})]})});if("1522"===t||"ATMOS"===t||"DOLBY ATMOS"===t||"atmos"===t||"dolby atmos"===t||"filmtype_25"===t)return n?(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Ebene_1",version:"1.1",viewBox:"0 0 174 25",children:[(0,i.jsx)("path",{d:"M103.3,18.8h-1.7L109.8,0h1.5l8,18.8h-1.7l-2.1-5.1h-10.1l-2.1,5.1ZM106,12.3h9l-4.5-10.7-4.5,10.7ZM126.5,5.8h-3.5V0h-1.5v5.8h-2.6v1.2h2.6v8.6c0,2.4,1.5,3.2,3,3.2s1.4-.1,2-.3v-1.2c-.5.2-1.1.3-1.6.3-1.2,0-2-.5-2-2.3V7h3.5v-1.2ZM129.2,18.8h1.5v-6.6c0-3.4,2-5.2,3.9-5.2s3.2,1.9,3.2,4.2v7.6h1.5v-6.8c0-2.7,1.3-5,3.9-5s3.4,2,3.4,4.5v7.3h1.4v-7.8c0-2.9-1.4-5.1-4.6-5.1s-3.7,1.1-4.5,2.9h0c-.7-2.1-2.1-2.9-4-2.9s-3.5,1.1-4.2,2.8h0c0-.7,0-2.1-.1-2.8h-1.4c0,.8.1,2.5.1,3.2v9.8ZM156.7,18.8c-3.8,0-6.5-2.8-6.5-6.5s2.7-6.5,
26.5-6.5,6.6,2.7,6.6,6.5-2.7,6.5-6.6,6.5ZM156.7,7c-3.1,0-5,2.3-5,5.2s1.9,5.2,5,5.2,5.1-2.3,5.1-5.2-2-5.2-5.1-5.2ZM173.7,7.9c-.8-1.4-2.4-2.1-4.2-2.1s-4.2,1.1-4.2,3.4c0,4.6,7.2,2.5,7.2,5.9s-1.5,2.4-3.1,2.4-2.9-.8-3.6-1.9l-1.1.8c1.1,1.6,2.9,2.3,4.7,2.3s4.5-1.1,4.5-3.7-1.5-3-4.2-3.6c-2.1-.4-3.1-.9-3.1-2.4s1.5-2.1,2.8-2.1,2.5.7,3.1,1.7l1.1-.8ZM0,18.8h2.8c5.2,0,9.4-4.2,9.4-9.4S8,0,2.8,0H0v18.7ZM26.8,0h-2.8C18.9,0,14.6,4.2,14.6,9.4s4.2,9.4,9.4,9.4h2.8V0ZM39.4,0h-6.8v18.7h6.8c5.2,0,9.4-4.2,9.4-9.4S44.6,0,39.4,0ZM39.4,15.9h-4V2.9h4c3.6,0,6.6,2.9,6.6,6.5s-3,6.5-6.6,6.5ZM56.8,5.8c-3.6,0-6.5,2.9-6.5,6.5s2.9,6.5,6.5,6.5,6.5-2.9,6.5-6.5-2.9-6.5-6.5-6.5ZM56.8,16.2c-2.2,0-3.9-1.8-3.9-3.9s1.8-3.9,3.9-3.9,3.9,1.8,3.9,3.9-1.8,3.9-3.9,3.9ZM65.2,18.8h2.9V0h-2.9v18.8ZM77,5.8c-1.4,0-2.7.4-3.7,1.2V0h-2.9v18.8h2.9v-1.2c1.1.7,2.4,1.2,3.7,1.2,3.6,0,6.5-2.9,6.5-6.5s-2.9-6.5-6.5-6.5ZM77,16.2c-1.7,0-3.2-1.1-3.7-2.7-.1-.4-.2-.8-.2-1.2s0-.8.2-1.2c.5-1.6,2-2.7,3.7-2.7s3.9,1.8,3.9,3.9-1.8,3.9-3.9,3.9ZM94,5.8l-3.7,8.3-3.7-8.3h-3.1l5.3,11.8s-1.3,2.9-1.3,2.9c-.3.8-1.2,1.1-2,.8l-.4-.2-1.2,2.6h0s1,.4,1,.4c1.9.8,4,0,4.9-1.9,0,0,6.8-15,7.4-16.4h-3.1Z"}),(0,i.jsx)("path",{className:"st0",d:"M103.3,18.8h-1.7L109.8,0h1.5l8,18.8h-1.7l-2.1-5.1h-10.1l-2.1,5.1ZM106,12.3h9l-4.5-10.7-4.5,10.7ZM126.5,5.8h-3.5V0h-1.5v5.8h-2.6v1.2h2.6v8.6c0,2.4,1.5,3.2,3,3.2s1.4-.1,2-.3v-1.2c-.5.2-1.1.3-1.6.3-1.2,0-2-.5-2-2.3V7h3.5v-1.2ZM129.2,18.8h1.5v-6.6c0-3.4,2-5.2,3.9-5.2s3.2,1.9,3.2,4.2v7.6h1.5v-6.8c0-2.7,1.3-5,3.9-5s3.4,2,3.4,4.5v7.3h1.4v-7.8c0-2.9-1.4-5.1-4.6-5.1s-3.7,1.1-4.5,2.9h0c-.7-2.1-2.1-2.9-4-2.9s-3.5,1.1-4.2,2.8h0c0-.7,0-2.1-.1-2.8h-1.4c0,.8.1,2.5.1,3.2v9.8ZM156.7,18.8c-3.8,0-6.5-2.8-6.5-6.5s2.7-6.5,6.5-6.5,6.6,2.7,6.6,6.5-2.7,6.5-6.6,6.5ZM156.7,7c-3.1,0-5,2.3-5,5.2s1.9,5.2,5,5.2,5.1-2.3,5.1-5.2-2-5.2-5.1-5.2ZM173.7,7.9c-.8-1.4-2.4-2.1-4.2-2.1s-4.2,1.1-4.2,3.4c0,4.6,7.2,2.5,7.2,5.9s-1.5,2.4-3.1,2.4-2.9-.8-3.6-1.9l-1.1.8c1.1,1.6,2.9,2.3,4.7,2.3s4.5-1.1,4.5-3.7-1.5-3-4.2-3.6c-2.1-.4-3.1-.9-3.1-2.4s1.5-2.1,2.8-2.1,2.5.7,3.1,1.7l1.1-.8ZM0,18.8h2.8c5.2,0,9.4-4.2,9.4-9.4S8,0,2.8,0H0v18.7ZM26.8,0h-2.8C18.9,0,14.6,4.2,14.6,9.4s4.2,9.4,9.4,9.4h2.8V0ZM39.4,0h-6.8v18.7h6.8c5.2,0,9.4-4.2,9.4-9.4S44.6,0,39.4,0ZM39.4,15.9h-4V2.9h4c3.6,0,6.6,2.9,6.6,6.5s-3,6.5-6.6,6.5ZM56.8,5.8c-3.6,0-6.5,2.9-6.5,6.5s2.9,6.5,6.5,6.5,6.5-2.9,6.5-6.5-2.9-6.5-6.5-6.5ZM56.8,16.2c-2.2,0-3.9-1.8-3.9-3.9s1.8-3.9,3.9-3.9,3.9,1.8,3.9,3.9-1.8,3.9-3.9,3.9ZM65.2,18.8h2.9V0h-2.9v18.8ZM77,5.8c-1.4,0-2.7.4-3.7,1.2V0h-2.9v18.8h2.9v-1.2c1.1.7,2.4,1.2,3.7,1.2,3.6,0,6.5-2.9,6.5-6.5s-2.9-6.5-6.5-6.5ZM77,16.2c-1.7,0-3.2-1.1-3.7-2.7-.1-.4-.2-.8-.2-1.2s0-.8.2-1.2c.5-1.6,2-2.7,3.7-2.7s3.9,1.8,3.9,3.9-1.8,3.9-3.9,3.9ZM94,5.8l-3.7,8.3-3.7-8.3h-3.1l5.3,11.8s-1.3,2.9-1.3,2.9c-.3.8-1.2,1.1-2,.8l-.4-.2-1.2,2.6h0s1,.4,1,.4c1.9.8,4,0,4.9-1.9,0,0,6.8-15,7.4-16.4h-3.1Z"})]}):(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1484 552",children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",d:"M411,0c-.02,62.97-.04,125.94-.05,188.91,0,30.49,0,60.97-.02,91.46,0,2.44-.28,4.88-.46,7.75-2.39,.32-4.3,.79-6.22,.79-15.16,.06-30.35,.61-45.47-.1-24.77-1.17-47.68-8.81-68.65-22.13-22.79-14.46-40.13-33.94-52.09-57.99-8.07-16.22-12.57-33.52-14.22-51.71-2.12-23.44,1.61-45.84,10.32-67.45,6.21-15.4,15.1-29.18,26.33-41.56,19.23-21.2,42.51-35.59,70.12-42.84,7.37-1.94,15.04-2.74,22.57-4.09,1.62-.29,3.22-.69,4.83-1.04,17.67,0,35.33,0,53,0Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M53,0c3.1,.48,6.2,1,9.31,1.43,28.31,3.95,53.53,15.04,75.05,33.8,27.15,23.67,43.98,53.38,48.58,89.27,4.63,36.14-2.07,70.14-22.8,100.54-23.72,34.8-56.66,55.65-98.26,62.53-5.72,.95-11.59,1.25-17.4,1.32-15.83,.19-31.66,.09-47.49,.11V0C17.67,0,35.33,0,53,0Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M611,0c4.09,.64,8.18,1.3,12.27,1.91,27.07,4.04,50.8,15.28,71.84,32.69,14.76,12.22,26.09,27.15,34.88,43.92,8.25,15.76,13.04,32.71,15.05,50.48,2.21,19.52,.29,38.59-5.23,57.31-6.52,22.12-17.89,41.47-33.85,58.18-18.17,19.02-39.96,31.98-65.13,39.27-10.91,3.16-22.08,5.13-33.48,5.15-33.83,.06-67.66,.03-101.49,0-2.46,0-4.92-.23-8.12-.39-.25-2.77-.65-5.17-.66-7.56-.05-25.83-.02-51.66-.03-77.49-.02-67.83-.03-135.65-.05-203.48C535,0,573,0,611,0Zm-67.76,244.47c2,.2,3.95,.57,5.89,.55,19.97-.28,39.95-.4,59.92-1.03,13.7-.44,26.69-4.41,38.63-10.95,20.16-11.02,35.43-26.84,44.89-48.03,8.93-20.01,11.05-40.74,6.17-62.01-5.32-23.22-17.47-42.27-36.31-57-16.54-12.93-35.3-20.21-56.19-20.91-19.14-.64-38.32-.16-57.48-.11-1.92,0-3.84,.47-5.49,.68-1.75,4.85-1.83,193.29-.03,198.8Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M1120,0c-.1,34.86-.03,69.72-.06,105.88,29.79-18,59.84-21.93,91.32
2-10.82,19.06,6.72,34.47,18.57,46.34,34.96,26.86,37.07,24.82,85.35-.49,119-15.88,21.12-36.86,34.63-63.07,38.8-25.65,4.08-50.09,.08-72.36-14.65-3.34,5.32-.29,10.92-2.64,15.45-4.07,1.69-37.43,1.94-43.46,.13-.16-2.25-.5-4.82-.51-7.39-.03-38.98-.02-77.96-.03-116.94-.01-54.8-.03-109.61-.05-164.41h45Zm56.44,248.29c32.5,.06,59.13-26.33,59.73-58.18,.58-30.81-24.47-61.05-59.78-60.98-33.35,.07-59.33,27.37-59.43,59.73-.1,32.73,26.63,59.37,59.47,59.43Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M1484,92c-3.13,6.61-6.36,13.17-9.37,19.84-11.5,25.51-22.96,51.03-34.37,76.58-10.32,23.11-20.53,46.28-30.85,69.39-10.6,23.72-21.26,47.41-31.92,71.1-4.16,9.25-7.62,18.87-14.32,26.76-10.45,12.3-23.78,18.86-39.82,20.29-14.28,1.27-26.81-3.99-39.17-10.02-.86-.42-1.56-1.18-2.98-2.28,4.88-13.28,10.97-26.06,17.23-39.3,2.61,.87,4.66,1.41,6.59,2.22,12.3,5.19,24.79,.35,30.32-11.91,6.03-13.36,11.92-26.78,17.98-40.12,1.13-2.5,1.1-4.66,0-7.14-9.03-20.23-17.95-40.5-26.94-60.75-10.55-23.74-21.14-47.46-31.72-71.19-5.9-13.23-11.82-26.46-17.69-39.71-.78-1.76-1.36-3.6-2.29-6.11,2.3-.25,3.88-.57,5.46-.57,12.33-.04,24.66,.07,36.99-.07,4.21-.05,6.55,1.47,8.32,5.48,14.31,32.46,28.85,64.82,43.32,97.21,2.99,6.69,5.94,13.4,8.92,20.09,.39,.87,.87,1.69,1.83,3.52,2.97-6.49,5.62-12.14,8.16-17.84,10.3-23.12,20.57-46.26,30.84-69.4,4.66-10.5,9.33-21,13.91-31.54,3.07-7.07,3.51-7.45,11.1-7.47,13.5-.03,26.99-.04,40.49-.06v3Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M1040,0c-.02,62.31-.04,124.61-.05,186.92,0,31.49,0,62.97-.02,94.46,0,2.44-.28,4.88-.42,7.03-4.48,1.89-37.77,2.17-43.91,.36-.17-2.25-.52-4.82-.52-7.38-.04-36.32-.02-72.63-.03-108.95-.01-57.47-.03-114.95-.05-172.42h45Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M672,552c.17-43.92-.09-87.84,.15-132.49,10.2-.77,19.39-.53,29.34-.17,12.85,32.86,25.61,65.49,38.37,98.13,.44,.05,.88,.09,1.32,.14,12.6-32.64,25.19-65.27,37.85-98.07h29.25c.24,2.84,.63,5.4,.64,7.96,.04,38.83,.03,77.67,.03,116.5,0,2.67,.03,5.33,.05,8h-20c-.06-34.81-.12-69.62-.2-104.43,0-.13-.17-.31-.3-.37-.13-.06-.31,.02-.91,.08-13.81,34.78-27.7,69.75-41.59,104.72h-12c-.72-1.69-1.47-3.36-2.15-5.06-12.58-31.75-25.15-63.5-37.73-95.24-.64-1.62-1.43-3.18-2.15-4.77-.33,.08-.65,.17-.98,.25v104.82h-19Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M367,552c3.5-8.63,6.86-17.31,10.53-25.87,11.22-26.17,22.55-52.3,33.84-78.44,3.43-7.95,6.97-15.85,10.31-23.84,1.41-3.37,3.65-4.85,7.29-4.81,12.99,.15,11.8-1.26,16.92,10.71,16.43,38.44,32.96,76.83,49.43,115.25,.98,2.29,1.79,4.66,2.67,7h-22c-4.36-10.76-8.72-21.52-13.34-32.94-20.56-.19-40.74-.17-61.2-.02-4.67,11.45-9.07,22.2-13.46,32.96h-21Zm42.17-51.76c4.9,2.41,40.62,2.44,44.83,.44-.18-4.68-19.34-52.35-22.75-55.81-7.51,18.64-14.96,36.98-22.08,55.38Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M561,552c.02-36.33,.04-72.66,.02-109,0-1.94-.4-3.87-.66-6.32-2.42-.27-4.5-.69-6.58-.71-9-.08-18,0-27-.06-2.12-.01-4.24-.31-6.58-.5-1.88-5.16-1.18-10.02-.56-15.44,2.08-.33,3.97-.88,5.87-.89,30.33-.05,60.66-.05,91-.01,1.77,0,3.54,.41,5.85,.69v15.43c-2.45,.27-4.54,.68-6.62,.7-9,.07-18,0-27,.06-2.12,.01-4.24,.32-6.94,.54-.3,2.36-.8,4.43-.8,6.49-.03,36.33,0,72.66,.01,109h-20Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M867.32,288.95c-54.39,1.93-100.7-45.06-100.32-100.11,.39-55.94,46.14-101.05,102.45-99.88,53.08,1.11,98.1,43.19,98.25,100.02,.15,59.22-48.66,101.83-100.38,99.97Zm0-40.89c31.94,1.22,59.99-26.44,59.68-59.51-.29-31.45-25.08-58.93-59.31-59.39-34.83-.47-59.79,29.54-59.9,59.21-.13,35.33,30.91,61.48,59.53,59.69Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M925.02,550.95c-14.77,.75-28.7-3.47-41.09-12.6-12.51-9.22-19.95-21.8-23.15-36.81-3.92-18.42-2.2-36.26,7.87-52.54,10.37-16.77,25.91-25.88,45.24-28.85,13.3-2.04,26.31-.76,38.76,4.24,20.16,8.1,32.75,22.99,37.59,44.13,3.27,14.28,2.59,28.51-2.66,42.29-9.3,24.43-32.24,40.11-58.42,40.14-1.17,0-2.33,0-4.14,0Zm47.1-65.5c.11-13.49-4.09-24.97-12.88-34.98-20.32-23.13-62.7-19.39-76.24,13.83-3.34,8.2-4.78,16.7-3.94,25.42,1.8,18.69,10.03,33.25,27.82,41.25,17.13,7.7,38.05,3.86,51.24-9.53,9.9-10.04,13.98-22.38,14-35.99Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M1032.38,532.55c4.72-3.96,8.99-7.53,13.65-11.44,2.32,2.11,4.3,3.82,6.16,5.64,10.33,10.09,28.8,10.74,38.37,3.69,10.95-8.06,11.18-23.23-.13-30.76-3.29-2.19-7.01-3.85-10.72-5.25-6.23-2.35-12.69-4.1-18.92-6.45-10.91-4.12-19.96-10.56-22.68-22.65-3.9-17.32,1.27-32.64,17.54-40.44,16.61-7.96,33.53-7.55,50.1,.63,4.01,1.98,7.78,4.45,9.59,8.28-3.89,4.39-7.48,8.44-11.4,12.86-2.1-1.81-3.72-3.13-5.27-4.54-9.74-8.84-25.97-9.39-36.04-1.7-8.48,6.47-10.32,21.97,.92,28.45,4.29,2.47,9.02,4.24,13.65,6.05,7.13,2.79,14.48,5.02,21.5,8.06,24.33,10.55,23.02,42.11,9.25,55.66-8.37,8.23-18.25,11.82-29.64,12.32-10.98,.48-21.71-.36-31.42-6.14-3.71-2.21-7.25-4.73-10.65-7.39-1.46-1.14-2.38-2.97-3.85-4.88Z"})]})})});if("cinedom x"===t){var o={mixBlendMode:"plus-lighter"};return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1170",height:"162",viewBox:"0 0 1170 162",fill:"none",children:[(0,i.jsx)("path",{d:"M82.2002 161.37C36.8688 161.37 0 125.176 0 80.6849C0 36.1933 36.8688 0 82.2002 0H84.7875V22.7304H82.2002C49.6435 22.7304 23.1643 48.7269 23.1643 80.6849C23.1643 112.643 49.657 138.639 82.2002 138.639H84.7875V161.37H82.2002Z",fill:"#00FFCC"}),(0,i.jsx)("path",{d:"M128.549 158.635V79.3173H153.164V158.635H128.549Z",fill:"#00FFCC"}),(0,i.jsx)("path",{d:"M140.857 32.821C132.559 32.821 125.814 26.0757 125.814 17.778C125.814 9.48032 132.559 2.73508 140.857 2.73508C149.154 2.73508 155.9 9.48032 155.9 17.778C155.9 26.0757 149.154 32.821 140.857 32.821Z",fill:"#00FFCC"}),(0,i.jsx)("path",{d:"M325.475 131.284V2.73508H300.859V97.2009L325.475 131.284Z",fill:"white"}),(0,i.jsx)("path",{d:"M764.455 161.37C719.971 161.37 683.77 125.176 683.77 80.6849C683.77 36.1933 719.971 0 764.455 0C808.939 0 845.14 36.1933 845.14 80.6849C845.14 125.176 808.939 161.37 764.455 161.37ZM764.455 22.7437C732.502 22.7437 706.51 48.7402 706.51 80.6849C706.51 112.63 732.502 138.626 764.455 138.626C796.408 138.626 822.4 112.63 822.4 80.6849C822.4 48.7402 796.408 22.7437 764.455 22.7437Z",fill:"white"}),(0,i.jsx)("path",{d:"M508.712 80.6915C508.712 36.2036 473.128 0 429.401 0C385.674 0 350.09 36.1904 350.09 80.6782C350.09 125.166 385.674 161.37 429.414 161.37C429.44 161.37 429.453 161.37 429.479 161.37V161.29C452.093 161.25 474.537 151.506 490.169 132.548C490.183 132.534 490.196 132.508 490.209 132.494L473.089 11
27.878C473.089 117.878 473.062 117.917 473.049 117.931C461.071 132.455 443.52 139.424 426.204 138.442C396.296 136.743 372.456 111.518 372.456 80.6649C372.456 48.7096 398.006 22.7152 429.414 22.7152C456.869 22.7152 479.809 42.5894 485.159 68.9289H429.414V81.0765H429.479V91.8433H507.942C508.438 88.1924 508.725 84.4619 508.725 80.6649L508.712 80.6915Z",fill:"white"}),(0,i.jsx)("path",{d:"M661.889 80.954C661.889 67.4427 658.42 54.6797 652.365 43.5187H652.616C642.538 24.7945 625.02 10.7185 604.112 5.25615C603.993 5.22989 603.874 5.20363 603.756 5.16424C602.054 4.73093 600.326 4.35014 598.571 4.03501C597.793 3.89057 597.028 3.74614 596.25 3.62796C595.59 3.52292 594.931 3.45727 594.271 3.36535C593.255 3.23405 592.24 3.129 591.211 3.03709C590.67 2.98456 590.129 2.94517 589.588 2.90578C588.005 2.80074 586.409 2.73508 584.8 2.73508C584.8 2.73508 584.8 2.73508 584.786 2.73508H533.341V158.635H556.175L556.148 23.6784H583.415C585.275 23.6784 587.108 23.7834 588.915 23.9541C589.034 23.9541 589.14 23.9673 589.258 23.9804C617.474 26.9479 638.805 51.2001 638.805 80.9672C638.805 112.769 614.467 137.678 583.401 137.678H574.88V158.622H584.76C627.262 158.622 661.837 123.812 661.863 81.0197C661.863 81.0065 661.863 80.9934 661.863 80.9672C661.863 80.9409 661.863 80.9409 661.863 80.9147L661.889 80.954Z",fill:"white"}),(0,i.jsx)("path",{d:"M297.036 158.635L220.112 45.4059V158.622H196.926V2.73508H219.979L325.475 158.635H297.036Z",fill:"white"}),(0,i.jsx)("path",{d:"M957.278 96.1067L895.169 2.73508H872.491V158.635H895.3V45.4095L943.219 117.168L957.278 96.1067Z",fill:"white"}),(0,i.jsx)("path",{d:"M1083.38 110.111L1045.34 158.86H1014.3L1067.92 90.4196L1083.38 110.111Z",fill:"url(#paint0_linear_334_3200)"}),(0,i.jsx)("path",{d:"M1083.38 110.111L1045.34 158.86H1014.3L1067.92 90.4196L1083.38 110.111Z",fill:"white",fillOpacity:"0.2",style:o}),(0,i.jsx)("path",{d:"M1084.88 50.2108L1084.88 50.2179L1092.15 59.4895L1092.15 59.4859L1107.56 79.1119L1107.54 79.1368L1170 158.86H1138.97L1102.72 112.414L1102.76 112.389L1093.75 100.923L1092.15 98.8693L1092.15 98.8746L1076.7 79.206L1076.76 79.1368L1075.16 77.0953L1050.61 45.6344L1050.39 45.4978L1017.04 2.95996H1047.87L1084.88 50.2108Z",fill:"url(#paint1_linear_334_3200)"}),(0,i.jsx)("path",{d:"M1084.88 50.2108L1084.88 50.2179L1092.15 59.4895L1092.15 59.4859L1107.56 79.1119L1107.54 79.1368L1170 158.86H1138.97L1102.72 112.414L1102.76 112.389L1093.75 100.923L1092.15 98.8693L1092.15 98.8746L1076.7 79.206L1076.76 79.1368L1075.16 77.0953L1050.61 45.6344L1050.39 45.4978L1017.04 2.95996H1047.87L1084.88 50.2108Z",fill:"white",fillOpacity:"0.2",style:o}),(0,i.jsx)("path",{d:"M1133.92 45.4978L1133.7 45.6344L1116.77 67.3249L1101.37 47.7167L1136.44 2.95996H1167.27L1133.92 45.4978Z",fill:"url(#paint2_linear_334_3200)"}),(0,i.jsx)("path",{d:"M1133.92 45.4978L1133.7 45.6344L1116.77 67.3249L1101.37 47.7167L1136.44 2.95996H1167.27L1133.92 45.4978Z",fill:"white",fillOpacity:"0.2",style:o}),(0,i.jsx)("path",{d:"M994.309 3.6355L1008.85 23.6307L943.182 116.598L928.869 95.4318L994.309 3.6355Z",fill:"white"}),(0,i.jsxs)("defs",{children:[(0,i.jsxs)("linearGradient",{id:"paint0_linear_334_3200",x1:"1036.86",y1:"17.9604",x2:"1079.26",y2:"172.106",gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{offset:"0.00487804",stopColor:"#0069FF"}),(0,i.jsx)("stop",{offset:"0.230769",stopColor:"#4C37B3"}),(0,i.jsx)("stop",{offset:"0.47942",stopColor:"#06001E"}),(0,i.jsx)("stop",{offset:"0.735577",stopColor:"#FF006E"}),(0,i.jsx)("stop",{offset:"1",stopColor:"#FFAC00"})]}),(0,i.jsxs)("linearGradient",{id:"paint1_linear_334_3200",x1:"1036.86",y1:"17.9604",x2:"1079.26",y2:"172.106",gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{offset:"0.00487804",stopColor:"#0069FF"}),(0,i.jsx)("stop",{offset:"0.230769",stopColor:"#4C37B3"}),(0,i.jsx)("stop",{offset:"0.47942",stopColor:"#06001E"}),(0,i.jsx)("stop",{offset:"0.735577",stopColor:"#FF006E"}),(0,i.jsx)("stop",{offset:"1",stopColor:"#FFAC00"})]}),(0,i.jsxs)("linearGradient",{id:"paint2_linear_334_3200",x1:"1036.86",y1:"17.9604",x2:"1079.26",y2:"172.106",gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{offset:"0.00487804",stopColor:"#0069FF"}),(0,i.jsx)("stop",{offset:"0.230769",stopColor:"#4C37B3"}),(0,i.jsx)("stop",{offset:"0.47942",stopColor:"#06001E"}),(0,i.jsx)("stop",{offset:"0.735577",stopColor:"#FF006E"}),(0,i.jsx)("stop",{offset:"1",stopColor:"#FFAC00"})]})]})]})}if("1666"===t||"DBox"===t||"dbox"===t||"d box"===t||"d-box"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 507.6 188.85",children:(0,i.jsxs)("g",{id:"Ebene_1-2",children:[(0,i.jsx)("path",{className:"cls-1",d:"M146.7,188.5c1.2-13.4,2.4-26.8,3.7-40.2h-27.5c.4-.5,.5-.9,.7-1.1l12.9-17c.4-.5,1-.9,1.6-.9h13.8c1.2-12.4,2.4-24.9,3.7-37.5h66.4c7.4-.2,14.7,.6,22,2.4,3.9,1.1,7.4,2.9,10,6.9,2,3.1,3.2,6.9,3.3,10.9,.6,11.9-3.1,20.9-11.8,25.5l-.6,.4,3.6,2.3c5.4,4,8.4,9.9,8.2,18.1-.2,7.7-2.1,14.5-6.6,19.9-3.1,3.8-7,5.7-11,6.9-6.5,2.1-13.1,3.1-19.8,3-23.7,.1-47.5,.1-71.1,.1h-1.4l-.1,.3Zm30.3-20.4c.6,0,.9,.1,1.3,.1,11.4,0,23,.1,34.4,0,3.2-.1,6.3-.5,9.4-1.3,2.9-.5,5.2-3.3,5.7-6.9,.3-1.4,.4-2.9,.5-4.4,.1-4.1-.8-5.7-4.1-6-4.7-.6-9.4-1-14.1-1.1-8.5-.1-17.1,0-25.7,0h-1.4c.2-.4,.2-.5,.3-.6,4.1-5.7,8.2-11.4,12.3-17.1,.4-.5,.9-.7,1.4-.8,5.1-.1,10.2,0,15.3-.1,3.5-.1,7-.5,10.5-1,3-.5,4.5-2.5,5.1-6.3,.2-1,.3-2.1,.3-3.1,.1-3.4-.6-4.9-3.2-5.7-2.3-.8-4.7-1.1-7.1-1.1-11.5-.1-23.1-.1-34.6-.1-.4,0-.8,0-1.2,.1-1.8,18.1-3.4,36.6-5.1,55.4Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M0,188.5c2.8-32.3,5.6-64.4,8.5-96.7h1.4c21.6,0,43.2-.1,64.9,0,8.7,0,17.5,.6,26,3.5,3.9,1.1,7.5,3.3,10.7,6.3,5.9,5.8,8.2,13.6,8.4,22.6,.2,7.7-1,15.1-2.1,22.6-.7,5-1.6,10-2.8,14.8-2.6,11.1-8.7,18.1-17.4,21.9-6.6,2.8-13.6,4.3-20.6,4.5-11.3,.4-22.8,.4-34.2,.5-13.7,.1-27.5,0-41.3,0H0ZM35.5,112.4c-1.7,18.6-3.4,37.
21-5,55.7h1.4c10.4,0,20.9,.1,31.3,0,3.9-.1,7.9-.6,11.8-1.1,6.1-.9,10.2-4.7,12-12.3,1.8-6.7,3-13.6,3.5-20.6,.4-4.4,.2-8.8-.6-13.1-.5-3.3-2.5-5.9-5.1-6.5-3.6-1-7.3-1.7-10.9-2-12.6-.3-25.3-.1-37.9-.1-.1-.1-.3-.1-.5,0Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M322.9,188.7c-8.9,.4-17.9,0-26.8-1.3-4.7-.6-9.3-1.8-13.7-3.5-7.1-2.9-11.2-9-12.9-18-1-5.9-1.4-12-1-18,.3-9.3,1.5-18.5,3.4-27.4,1-5.1,2.8-9.8,5.3-14,4-6.4,9.5-9.8,15.8-11.6,7.2-2.1,14.5-3.3,21.9-3.5,8.7-.4,17.4-.6,26.1-.5,9.6,.1,19.3,.8,28.6,3.9,3.6,.9,7.1,2.9,10,5.7,3.8,3.9,5.7,9.2,6.6,15.1,1.3,7.7,1,15.5,.2,23.3-.7,8.6-2.3,17.1-4.7,25.3-2,6.2-4.6,11.8-9.1,15.7-3.5,3-7.5,4.4-11.6,5.5-8.8,2.1-17.8,3.3-26.8,3.4-3.6,0-7.5-.1-11.3-.1Zm1.8-20.2v-.1h3.5c4.9-.3,9.9-.3,14.8-1,8-1.3,9.7-1.8,12.2-13.1,1.5-7.2,2.3-14.7,2.5-22.1,.2-4.5,.1-9,0-13.7,.1-2.3-1.2-4.2-3-4.5-3-.9-6-1.5-9-2-6.5-.5-12.9-.8-19.5-.6-5.5,.1-11,1-16.6,1.4-5.1,.4-8,3.9-9.2,10.2-1.9,9.6-2.9,19.3-3.2,29.2,0,3,.2,6,.7,8.9,.2,2.7,1.9,4.8,4,5.2,3.3,.8,6.7,1.4,10.1,1.8,4.2,.3,8.5,.3,12.7,.4h0Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M377.6,188l47.5-49-35.8-47.1h33.7c.7,0,1.4,.4,1.8,1,6.7,9.3,13.3,18.6,20.1,27.8,.3,.4,.6,.8,.8,1.3l8.1-9c6.1-6.9,12.3-13.8,18.5-20.7,.4-.5,1-.8,1.6-.8h32.6c.3,0,.6,.1,1.1,.1l-44.2,47,38.6,49.4c-.5,0-.8,.1-1.2,.1h-33.2c-.7,0-1.4-.4-1.9-1-7.5-10.1-15-20-22.5-29.9-.2-.3-.4-.5-.7-.8l-7.6,8.2c-7.2,7.7-14.3,15.3-21.6,23-.4,.4-.9,.6-1.4,.8h-34.2c.2-.4,0-.4-.1-.4Z"}),(0,i.jsx)("g",{className:"cls-2",children:(0,i.jsx)("path",{className:"cls-1",d:"M158.1,64.5h-26l-3.5,12.4h-17L134.7,1.4,155.4,.2l23.2,76.7h-17l-3.5-12.4Zm-4.3-15.4l-8.7-30.6-8.6,30.6h17.3Z"})}),(0,i.jsx)("path",{className:"cls-1",d:"M188.4,46.7l-.1-45.1,16.9-1,.1,44.7c-.1,10.1,5.4,15.2,12.5,15.2,7.6,0,12.5-5.4,12.5-15.2l-.3-44.6h16.9l.3,46c0,19.8-12.9,30.6-29.4,30.6-16.3,0-29.2-10.8-29.4-30.6Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M260.8,39.9v-2.2c0-24.9,15.6-37.7,32.8-37.7,12.1,0,23.4,7.2,28.3,19.8l-15.2,6.1c-2.4-6.1-7.7-9.2-13.1-9.2-7.7,0-16,5.4-16,20.9v2.2c0,15.5,8.3,20.9,16,20.9,5.6,0,11.3-3.5,13.3-10.3l15.4,6.3c-4.8,14.1-16.2,20.8-28.7,20.8-17.2,.1-32.8-12.7-32.8-37.6Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M392.2,.7V76.8h-17v-26h-20.5v26h-17V1.3l17-.8V33.9h20.5V.7h17Z"})]})});if("imax"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1955.31 372.83",children:(0,i.jsx)("g",{id:"Layer_1",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",d:"M615.47,1.05s-96.79,191.26-112.71,222.68C486.81,192.31,389.65,1.05,389.65,1.05H200.81V372.83h105.22V103.63h21.49c5.52,11.3,131.51,269.2,131.51,269.2h87.06s126.01-257.9,131.53-269.2h21.5V372.83h105.22V1.05h-188.86Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M0,1.05V372.83H118.38V1.05H0Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M825.3,372.83h125.1s27.37-53.63,32.22-63.12h236.14c4.83,9.49,32.18,63.12,32.18,63.12h124.94L1187.16,1.04h-6.45s-166.53,0-166.53,0l-188.88,371.78ZM1106.73,85.22c4.91,9.68,59.33,117.08,71.54,141.19h-155.18c12.2-24.11,66.65-131.51,71.54-141.19h12.11Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M1755.74,.55s-87.68,104.56-101.56,121.12c-13.72-16.67-99.68-121.12-99.68-121.12h-144.76s136.25,161.83,146.97,174.56c-11.16,12.63-174.88,197.7-174.88,197.7h154.36s104.99-119.6,118.94-135.48c13.82,15.96,117.26,135.48,117.26,135.48h154.44s-163.75-185.07-174.91-197.7c10.74-12.73,146.99-174.56,146.99-174.56h-143.18Z"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",d:"M1934.24,42.15c-11.63,0-21.09-9.46-21.09-21.08s9.46-21.07,21.09-21.07,21.07,9.45,21.07,21.07-9.45,21.08-21.07,21.08h0Zm0-38.74c-9.75,0-17.68,7.92-17.68,17.67s7.93,17.67,17.68,17.67,17.66-7.93,17.66-17.67-7.92-17.67-17.66-17.67h0Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M1929.79,24.75v7.58h-4.41V9.4h11.71c5.03,.12,6.95,1.68,6.95,6.88,0,3.4-.18,5.87-4.07,6.45v.12c3.12,.27,3.89,1.96,3.89,5.2v4.28h-4.4v-4.28c0-1.92-.81-3.27-2.92-3.3h-6.75Zm5.81-3.76c3.23,0,4.03-.64,4.03-4.01s-.58-3.82-3.72-3.82h-6.11v7.83h5.81Z"})]})]})})});if("forumax"===t)return(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Ebene_2",version:"1.1",viewBox:"0 0 5102.4 1247.2",children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M1304.5,297.8h382.9c114.3,0,213,63,213,186.1s-31.1,138.8-97.8,163.4c54.8,21,88.7,81.2,96,162.5,2.8,31.9,3.7,109.5,21.9,139.6h-201.1c-10.1-32.9-13.7-66.6-16.4-100.4-5.5-62.1-11-126.9-90.5-126.9h-106.9v227.2h-201.1V297.8h0ZM1505.5,582.5h105.1c37.5,0,88.6-6.4,88.6-64.8s-22.8-64.8-99.6-64.8h-94.2v129.6h0Z"}),(0,i.jsx)("path",{d:"M2573.9,697.5c0,180.7-97.8,267.4-297,267.4s-297.9-86.7-297.9-267.4v-399.7h201.1v355c0,66.6,0,149.7,97.8,149.7s95.1-83,95.
21-149.7v-355h201.1v399.7h0Z"}),(0,i.jsx)("path",{d:"M2674.5,297.8h286.1l93.2,383.3h1.9l93.2-383.3h286.1v651.6h-190.1v-418h-1.8l-113.3,418h-149.9l-113.3-418h-1.8v418h-190.1V297.8h0Z"}),(0,i.jsx)("path",{d:"M0,297.8h504.5v167H201.1v81.2h260.5v155.1H201.1v248.2H0V297.8Z"}),(0,i.jsx)("path",{d:"M884.3,279.2c189,.3,342.2,153.4,342.2,342.1s-153.4,342.1-342.6,342.1-342.7-153.2-342.7-342.1h201.1c0,78,63.3,141.3,141.5,141.3s141.5-63.3,141.5-141.3-63.1-141-141-141.3v-200.8h0Z"})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M2674.5,297.8h286.1l93.2,383.3h1.9l93.2-383.3h286.1v651.6h-190.1v-418h-1.8l-113.4,418h-149.9l-113.3-418h-1.9v418h-190.1V297.8h0Z"}),(0,i.jsx)("path",{d:"M3719.1,297.8h196.5l237.6,651.6h-208.4l-27.4-93.1h-207.4l-29.3,93.1h-202l240.4-651.6h0ZM3877.2,716.7l-58.5-200.8h-1.9l-63.1,200.8h123.4Z"}),(0,i.jsx)("path",{d:"M4370.7,602.6l-214.8-304.8h235.8l98.7,177,96.9-177h223l-209.3,306.6,233,345h-242.2l-111.5-194.4-115.2,194.4h-230.3l235.8-346.8h0Z"})]}),(0,i.jsx)("path",{d:"M2372.9,0v205.5h92.5v-113.1h2544.4v1062.5h-2544.4v-129.2c-27.1,10.6-57.9,18.8-92.5,24.1v197.4h2729.5V0h-2729.5Z"})]})})});if("plf 2d"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1129.01 205.67",children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M1129.01,46.52v111.16s-29.57-1.22-29.57-1.22l-29.21-52.41-.28,51.6-27.99-1.42-.19-105.2,31.1-1.16,26.83,50.49.67-51.42,24.66-1.38c.91-.05,3.57.64,3.99.97Z"}),(0,i.jsx)("path",{d:"M912.13,205.67l-7.11-.39-16.69-1.1-85.32-4.11-120.11-3.37c-77.54-2.18-154.23-1.32-231.87-.14l-162.88,5.15-52.44,2.71-.5-8.82,226.79-7.5,212.97.04,226.33,7.63.24-28.69,11.42.5.05,34.19-.91,3.89Z"}),(0,i.jsx)("path",{d:"M.01,156.79V46.53c.42-.32,3.06-.98,4.09-.93l27.23,1.42.02,109.55-26.28,1.35c-1.4.07-4.26-.59-5.06-1.12Z"}),(0,i.jsx)("polygon",{points:"129 152.47 100.66 154.01 72.09 104.98 71.68 154.69 43.61 156.06 43.61 47.45 74.43 48.93 100.76 99.08 101.14 49.66 128.79 50.84 129 152.47"}),(0,i.jsx)("path",{d:"M1026.64,127.23c-7.14,21.45-27.15,28.94-49.65,26.67-17.27-1.75-30.71-11.84-37.48-27.96-4.78-11.38-4.53-23.35-3.08-35.77,2.21-18.96,14.74-34.94,33.86-39.13l18.68-1.54c18.69,0,33.56,12,38.56,29.82,4.42,15.79,4.31,32.28-.89,47.91ZM999.86,102.66c-.32-14.58-2.09-31.5-16.33-31.7-13.77-.2-16.92,15.12-17.52,29.69-.64,15.58,4.61,33.39,17.37,32.7s16.79-16.43,16.48-30.68Z"}),(0,i.jsx)("polygon",{points:"348.02 147.38 321.18 147.88 291.14 101.95 290.86 148.47 264.25 149.23 264.29 54.72 293.73 55.76 321.57 102.18 321.78 55.96 348.07 56.67 348.02 147.38"}),(0,i.jsx)("path",{d:"M728.38,16.27l-39.85.98-95.86,1.03-51.5.04-100.84-1.11-203.39-7.1c-2.06-1.48-2.43-5.96-1.94-8.92,78.52,4.27,156.96,7.59,236.11,8.12l85.93.58,100.85-.6L912.9,0l.2,37.1c-3.45,1.55-7.55,1.75-11.55,1.04l-.12-28.67-107.77,4.75-65.28,2.03Z"}),(0,i.jsx)("path",{d:"M879.27,123.17c-.15,17.58-17.43,27.11-36.29,26.94-21.34-.19-36.51-4.01-49.25-22.6l23.01-9.56,8.58,8.39c5.08,4.96,12.26,6.47,19.09,4.64,2.91-.78,5.21-3.4,5.63-5.98s-1.37-6.87-4.44-8.11l-33.17-13.47c-8.22-3.34-13.46-11.09-14.31-18.49-2.5-21.8,19.35-31.39,41.87-31.48,15.34-.06,29.17,6.77,37.24,20.7l-19.32,9.62c-1.1.55-4.5.06-5.12-.95-4.01-6.58-12.3-11.8-20.39-9.68-2.95.77-5.51,3.5-5.69,6.08s1.82,6.15,4.51,7.25l18.49,7.54c13.94,5.69,29.71,11.12,29.56,29.15Z"}),(0,i.jsx)("polygon",{points:"197.29 93.73 197.39 112.63 171.06 112.88 171.02 151.46 140.84 152.64 141 51.14 208.11 53.19 208.34 73.66 171.16 73.28 170.93 93.41 197.29 93.73"}),(0,i.jsx)("polygon",{points:"648.47 58.5 677.17 57.63 694.4 117.02 712.13 57.71 739.12 57.06 707.86 146.59 679.73 146.58 648.47 58.5"}),(0,i.jsx)("polygon",{points:"585.88 58.59 554.68 111.83 554.4 145.58 526.77 145.72 526.86 112.58 495.53 58.13 523.79 58.46 541.47 92.29 558.75 58.66 585.88 58.59"}),(0,i.jsx)("polygon",{points:"460.58 145.62 432.41 146.43 432.33 76.25 407.17 75.97 406.99 57.46 485.69 58.15 485.77 76.59 460.68 76.6 460.58 145.62"}),(0,i.jsx)("rect",{x:"892.54",y:"53.13",width:"30.19",height:"97.5",transform:"translate(-.21 1.89) rotate(-.12)"}),(0,i.jsx)("rect",{x:"220.03",y:"53.55",width:"29.68",height:"96.64"}),(0,i.jsx)("rect",{x:"751.47",y:"56.55",width:"29.48",height:"90.97"}),(0,i.jsx)("rect",{x:"363.67",y:"56.64",width:"29",height:"90.57"})]})})});if("screenx"===t)return(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Ebene_2",viewBox:"0 0 1451.08 183.87",children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("polygon",{points:"1053.08 2.97 1115.08 110.97 1115.08 2.97 1157.08 2.97 1157.08 181.97 1110.58 181.97 1047.08 74.97 1047.08 181.97 1005.58 181.97 1004.08 180.47 1004.08 2.97 1053.08 2.97"}),(0,i.jsx)("path",{d:"M1283.58,1.97l58.01,82.01c1.92.45,1.29-.63,1.77-1.27,19.84-25.96,36.58-55.29,57.22-80.74h50.5l-60.99,85.48,60.99,94.52h-50.5c-3.12-3.33-5.37-7.33-7.92-11.08-16.65-24.55-31.35-53.83-48.74-77.26-.62-.83-.96-2-2.33-1.65l-58.01,90h-50.5l60.83-94.34
2L1233.08,1.97h50.5Z"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("polygon",{points:"725.08 2.97 725.08 38.97 658.08 38.97 658.08 73.97 718.08 73.97 718.08 109.97 658.08 109.97 658.08 144.97 725.58 144.97 727.08 146.47 727.08 180.47 725.58 181.97 613.58 181.97 612.08 180.47 612.08 2.97 725.08 2.97"}),(0,i.jsx)("polygon",{points:"921.08 2.97 921.08 38.97 853.08 38.97 853.08 73.97 914.08 73.97 914.08 109.97 853.08 109.97 853.08 144.97 922.08 144.97 922.08 181.97 809.58 181.97 808.08 180.47 808.08 2.97 921.08 2.97"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M544.08,181.97h-52.5l-38.01-59.99-9.49-1.01v59.5l-1.5,1.5h-42l-1.5-1.5V2.97h75.5c3.81,0,15.73,3.64,19.76,5.24,45.98,18.2,48.25,83.33,4.77,105.25l44.97,68.51ZM444.08,83.97h24.5c.38,0,6.13-2.45,7.03-2.97,13.67-7.83,12.6-34.16-3.26-39.81-1.51-.54-7.69-2.23-8.77-2.23h-19.5v45Z"}),(0,i.jsx)("path",{d:"M102.08,46.97c-12.68-2.62-44.15-14.69-52.19.3-5.3,9.88,4.71,15.93,12.17,20.22,24.51,14.07,55.83,20.06,59,55,5.19,57.13-58.34,69.23-101.75,56.75-3.14-.9-14.46-4.82-16.25-6.75-1.13-1.22-1.24-2.17-.79-3.72l9.81-35.78c13.4,8.43,31.53,13.82,47.49,12,12-1.37,20.16-15.46,9.41-24.41C48.66,103.64,11.41,102.38,2.56,69.99-15.54,3.73,66.67-10.68,112.08,10.47c.8.45.98,1.14,1.05,2,.59,6.86-11.06,26.01-11.05,34.51Z"}),(0,i.jsx)("path",{d:"M312.07,47.97c-35.17-16.55-78.55-4.67-81.86,38.62-3.83,50.06,40.71,67.31,81.86,49.37l11.59,37.01c-9.05,5.54-19.72,8.5-30.2,9.87-46.74,6.09-93.84-15.03-107.09-62.66-14.53-52.23,11.86-106.68,66.68-117.75,22.36-4.51,51.37-3.44,70.96,9.19l-11.93,36.35Z"})]})]})]})})});if("mx4d"===t)return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Ebene_1",version:"1.1",viewBox:"0 0 595.28 182.89",children:[(0,i.jsxs)("defs",{children:[(0,i.jsx)("style",{children:".st0 {\n                    fill: #2b9bd7;\n                }\n\n                .st1 {\n                    fill: none;\n                }\n\n                .st2 {\n                    clip-path: url(#clippath-1);\n                }\n\n                .st3 {\n                    fill-rule: evenodd;\n                }\n\n                .st3, .st4 {\n                    fill: #1899d6;\n                }\n\n                .st5 {\n                    clip-path: url(#clippath);\n                }"}),(0,i.jsx)("clipPath",{id:"clippath",children:(0,i.jsx)("rect",{className:"st1",width:"595.28",height:"182.89"})}),(0,i.jsx)("clipPath",{id:"clippath-1",children:(0,i.jsx)("rect",{className:"st1",width:"595.28",height:"182.89"})})]}),(0,i.jsx)("g",{id:"flat_blue",children:(0,i.jsx)("g",{className:"st5",children:(0,i.jsxs)("g",{className:"st2",children:[(0,i.jsx)("path",{className:"st4",d:"M587.56.51c1.18,0,2.33.29,3.46.87,1.13.58,2,1.41,2.63,2.49.63,1.08.94,2.21.94,3.38s-.31,2.28-.93,3.35c-.62,1.07-1.49,1.9-2.6,2.5-1.12.59-2.28.89-3.5.89s-2.39-.3-3.5-.89c-1.12-.59-1.99-1.42-2.61-2.5s-.93-2.19-.93-3.35.32-2.3.95-3.38c.63-1.08,1.51-1.91,2.64-2.49,1.13-.58,2.28-.87,3.46-.87M587.56,1.63c-.99,0-1.95.24-2.89.73-.94.49-1.67,1.18-2.2,2.08-.53.9-.79,1.84-.79,2.82s.26,1.9.78,2.79c.52.89,1.25,1.58,2.18,2.08.93.5,1.91.75,2.92.75s1.99-.25,2.92-.75c.93-.5,1.66-1.19,2.17-2.08.52-.89.77-1.82.77-2.79s-.26-1.92-.79-2.82c-.53-.9-1.26-1.6-2.2-2.08-.94-.49-1.9-.73-2.88-.73M584.47,10.98V3.73h2.6c.89,0,1.53.07,1.93.2.4.13.72.37.95.7.24.33.35.69.35,1.06,0,.53-.2.99-.59,1.38-.39.39-.92.61-1.57.66.27.11.48.24.64.38.3.29.68.77,1.12,1.44l.92,1.42h-1.49l-.67-1.14c-.53-.9-.95-1.46-1.28-1.69-.22-.17-.55-.25-.98-.25h-.72v3.08h-1.22ZM585.69,6.9h1.48c.71,0,1.19-.1,1.45-.3.26-.2.39-.47.39-.8,0-.21-.06-.41-.19-.58-.12-.17-.3-.3-.52-.38-.22-.08-.63-.12-1.23-.12h-1.39v2.19Z"}),(0,i.jsx)("path",{className:"st0",d:"M580.13,30.27c-.65-.79-1.26-1.49-1.86-2.15C554.24.38,516.58.38,496.35.38h-66.98v93.21h-14.45V0h-66.99l-62.53,92.52,21.32,30.48,57.3-.12h.3v25.94h50.61v-25.96h14.45v25.96h80.56c15.27-.76,28.79-3.35,40.17-7.69,1.36-.52,2.73-1.08,4.07-1.67.07-.04.15-.07.22-.1l.21-.1c1.26-.56,2.38-1.09,3.42-1.61.12-.06.23-.12.35-.18l.28-.15c1.15-.59,2.14-1.12,3.02-1.62.14-.08.27-.16.41-.24l.31-.18c1.07-.62,1.93-1.15,2.73-1.66.15-.1.29-.19.44-.29l.3-.2c.98-.64,1.77-1.19,2.51-1.72.15-.11.3-.22.45-.34l.27-.2c.88-.65,1.64-1.24,2.32-1.8.15-.12.31-.25.46-.38l.23-.19c.81-.67,1.51-1.29,2.16-1.88.15-.14.3-.28.45-.42l.18-.17c.74-.7,1.4-1.35,2.02-1.98.16-.16.31-.33.47-.49l.1-.11c.67-.71,1.31-1.41,1.89-2.09.17-.2.33-.39.5-.59.62-.73,1.21-1.48,1.77-2.21.15-.19.29-.38.43-.57.57-.76,1.13-1.55,1.66-2.35.13-.18.24-.36.36-.53.53-.8,1.05-1.64,1.56-2.49l.09-.15.19-.33c.49-.85.98-1.74,1.45-2.65l.09-.16.13-.24c.46-.91.92-1.86,1.35-2.83l.06-.14.08-.17c.44-.99.86-2.01,1.25-3.05l.03-.09.03-.09c.42-1.1.8-2.2,1.16-3.29,2.46-7.66,3.71-16.11,3.71-25.09,0-17.45-4.96-31.87-15.15-44.06M367.31,93.58h-.3l-32.88.05-.05-.1v-.05h-.03l-.11-.21h0s0-.01,0-.01l-.07-.14,33.02-49.18.47.39-.05,48.96v.29ZM496.89,116.18h-14.91V33.29h15.16c17.01,0,28.58,4.39,36.41,13.83,5.79,7.23,9.11,17.37,9.11,27.82,0,18.81-7.94,41.24-45.77,41.24"}),(0,i.jsx)("polygon",{className:"st3",points:"261.99 157.39 235.18 114.44 210.49 157.39 261.99 157.39"}),(0,i.jsx)("path",{className:"st3",d:"M337.88,182.79l-75.45-112.31L310.11,0h-50.81l-22.81,37.67h0s-.
218.15-.18.15h-.05L212.41,0h-101.08l-25.56,86.4-.11.36L59.17,0H.2L0,148.83h40.9v-.02h.3l-.02-92.58.29.95,27.67,91.65h32.14v-.02h.22l28.03-92.62v1.08s-.01,91.56-.01,91.56h75.88v-.02h.17l29.02-47.73.39.12-.04.06,52.49,81.63h49.91l-.06-.09h.61ZM209.79,69.64l.11.16-.11.16-38.82,56.5-.25.36V13.16l.25.36,38.82,56.12Z"})]})})})]});if("4dx"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 199.78",children:(0,i.jsx)("g",{id:"Layer_1",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",d:"M499.71,198.27l-98.17-83.89c-.63-.53-1.42-.8-2.25-.8h-38.79L469.55,1.45c.54-.54,.16-1.45-.59-1.45h-57.41c-.87,0-1.7,.34-2.35,.93l-65.67,61.99-40.41-36.03c-.63-.56-1.44-.87-2.28-.87h-56.48c-.79,0-1.18,.97-.61,1.51l46.88,45.41c.65,.63,1.5,.97,2.39,.97h36.55l-99.23,93.22c-.57,.54-.19,1.49,.59,1.49h75.44c.93,0,1.8-.37,2.46-1.05l35.95-37.14,67.46,68.35c.62,.65,1.53,1.02,2.43,1.02h84.47c.79,0,1.15-.99,.56-1.51"}),(0,i.jsx)("path",{className:"cls-1",d:"M86.9,164.71l-.11-24.22H1.41c-.78,0-1.41-.63-1.41-1.41v-24.04c0-2.18,1.05-4.19,2.81-5.46L100.7,38.03c4.95-3.62,11.91-.08,11.91,6.05v120.63h-25.7Zm-1.72-86.81c-.42,0-.83,.13-1.18,.38l-49.24,35.53c-.77,.49-1.09,1.45-.81,2.35,.28,.88,1.06,1.47,2,1.47h51.33v-37.62c0-1.16-.94-2.11-2.1-2.11"}),(0,i.jsx)("path",{className:"cls-1",d:"M235.5,58.68c-9.8-11.58-23.35-18.87-43.75-18.87h-50.49c-4.14,0-7.49,3.36-7.49,7.49v88.73c0,4.15,3.35,7.51,7.49,7.51h50.49c15.61,0,29.57-4.17,41.44-16.28,6.08-6.1,14.05-18.52,14.11-35.43-.06-16.9-7.58-28.14-11.81-33.14m-19.19,51.71c-3.09,3.68-10.54,10.26-23.15,10.26h-31.14c-1.41,0-2.55-1.15-2.55-2.55v-52.24c0-1.41,1.14-2.56,2.55-2.56h31.14c12.93,0,20.42,6.55,23.45,10.26,4.24,5.17,6.69,11.4,6.69,18.27s-2.76,13.56-6.99,18.56"})]})})});if("4k"===t||"4K"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25.62 15.67",children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",d:"M12.02,13.15h-1.23v2.52H6.77l.03-2.52H0L2.3,.67h3.75l-1.26,8.73h2.06l.05-4.93,3.88,.21v4.71h1.23v3.75Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M19.22,11.54l-.94,1.21v2.92h-4.02V.24l4.02-.24V7.23l2.71-3.35h4.28l-3.7,4.66,4.04,7.12h-4.02l-2.38-4.12Z"})]})})});if("filmfrühstück"===t){return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 74.87 10.76",style:{fill:"#c1272d"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",d:"M3.88,4.16h.91c.56,0,.83,.2,.83,.61,0,.28-.1,.5-.29,.65-.2,.16-.47,.23-.82,.23h-1.21l-1.6,4.11c-.25,.63-.59,.94-1.03,.94-.19,0-.35-.06-.48-.19-.13-.12-.2-.28-.2-.46,0-.13,.06-.35,.17-.65l1.46-3.75h-.45c-.56,0-.83-.2-.83-.6,0-.28,.1-.5,.29-.66,.2-.16,.47-.24,.82-.24h.75l.83-2.15c.28-.71,.62-1.22,1.01-1.52,.39-.3,.92-.45,1.57-.45h.75c.56,0,.84,.2,.84,.6,0,.29-.1,.51-.3,.67-.2,.16-.47,.24-.82,.24h-.2c-.37,0-.66,.08-.87,.23-.21,.16-.39,.42-.54,.79l-.62,1.58Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M6.6,7.91h.74c.55,0,.83,.2,.83,.61,0,.28-.1,.49-.29,.65-.19,.15-.47,.23-.82,.23h-1.05c-.39,0-.69-.08-.91-.25-.22-.16-.33-.39-.33-.67,0-.15,.05-.34,.14-.58l1.08-2.78,.07-.19c.2-.52,.53-.78,.97-.78,.18,0,.34,.06,.48,.19,.13,.13,.2,.28,.2,.46,0,.15-.06,.37-.18,.67l-.94,2.43Zm.87-5.94c.25,0,.47,.09,.65,.28,.18,.18,.27,.41,.27,.67s-.09,.49-.27,.68c-.18,.19-.39,.28-.65,.28s-.47-.09-.65-.28c-.18-.18-.27-.41-.27-.68s.09-.49,.27-.67c.18-.19,.39-.28,.65-.28Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M10.18,7.91h.69c.56,0,.83,.2,.83,.61,0,.28-.1,.49-.29,.65-.19,.15-.47,.23-.82,.23h-1.18c-.32,0-.58-.08-.77-.24-.19-.16-.28-.38-.28-.64,0-.14,.06-.38,.19-.71L11.21,1l.07-.19c.2-.51,.52-.77,.97-.77,.18,0,.34,.06,.47,.19,.13,.13,.19,.28,.19,.46,0,.14-.03,.29-.1,.47l-.07,.18-2.56,6.57Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M19.9,7.91h.78c.55,0,.83,.2,.83,.61,0,.28-.1,.49-.29,.65-.19,.15-.46,.23-.81,.23h-1.33c-.29,0-.52-.08-.7-.24-.18-.16-.27-.37-.27-.63,0-.18,.06-.42,.18-.73l.62-1.57c.03-.09,.05-.18,.05-.25,0-.3-.14-.45-.43-.45-.22,0-.45,.1-.66,.31-.22,.21-.39,.49-.53,.84l-.74,1.89c-.24,.62-.59,.92-1.05,.92-.18,0-.33-.06-.46-.19-.13-.12-.19-.27-.19-.44,0-.13,.03-.29,.1-.47l.07-.19,.74-1.91c.07-.17,.1-.3,.1-.4,0-.1-.04-.19-.13
2-.27-.09-.07-.19-.11-.31-.11-.47,0-.85,.36-1.12,1.07l-.77,1.97c-.24,.62-.59,.93-1.05,.93-.18,0-.33-.06-.46-.18-.13-.12-.19-.27-.19-.44,0-.14,.03-.29,.1-.47l.07-.19,1.31-3.36c.18-.47,.46-.71,.83-.71s.62,.19,.71,.56c.3-.27,.54-.44,.73-.53,.19-.09,.42-.13,.69-.13,.59,0,1.03,.27,1.32,.8,.49-.54,1.04-.8,1.66-.8,.42,0,.77,.13,1.05,.38,.28,.25,.42,.57,.42,.94,0,.23-.05,.47-.14,.72l-.7,1.81Z"})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",d:"M29.33,4.21h.91c.56,0,.84,.2,.84,.61,0,.28-.1,.5-.29,.65-.19,.16-.47,.23-.82,.23h-1.21l-1.6,4.11c-.25,.62-.59,.94-1.03,.94-.19,0-.35-.06-.49-.19-.13-.12-.2-.28-.2-.46,0-.13,.06-.35,.17-.65l1.46-3.75h-.45c-.56,0-.83-.2-.83-.6,0-.28,.1-.5,.29-.66,.19-.16,.47-.24,.82-.24h.75l.83-2.15c.28-.71,.62-1.22,1.01-1.52,.39-.3,.92-.45,1.57-.45h.75c.56,0,.84,.2,.84,.6,0,.29-.1,.51-.3,.67-.2,.16-.47,.24-.82,.24h-.2c-.37,0-.66,.08-.87,.23-.21,.15-.39,.42-.54,.79l-.62,1.58Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M31.86,5.71l-.22,.58c-.2,.51-.46,.77-.79,.77-.2,0-.36-.06-.49-.18-.13-.12-.2-.28-.2-.46,0-.11,.05-.28,.14-.54l.74-1.91c.18-.46,.43-.69,.76-.69s.52,.16,.6,.48l.05,.21c.03,.11,.07,.18,.12,.21,.05,.03,.18,.04,.39,.04h1.54c.57,0,.86,.21,.86,.63,0,.58-.36,.87-1.09,.87l-.07,.07c-.7,.7-1.04,1.23-1.04,1.61s.2,.57,.6,.57h.83c.56,0,.83,.2,.83,.6,0,.28-.1,.5-.29,.66-.2,.15-.47,.23-.82,.23h-1.29c-.44,0-.8-.16-1.08-.47-.28-.32-.42-.73-.42-1.23,0-.32,.07-.63,.22-.93,.15-.3,.41-.67,.79-1.11h-.68Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M40.35,7.96h.76c.3,0,.52,.05,.64,.14,.13,.09,.19,.25,.19,.46,0,.28-.1,.5-.29,.66-.19,.16-.47,.24-.82,.24h-1.18c-.37,0-.62-.15-.74-.45-.24,.3-.54,.45-.91,.45h-.96c-.39,0-.7-.13-.96-.38-.25-.25-.38-.57-.38-.95,0-.22,.06-.47,.17-.77l.89-2.29c.25-.63,.59-.95,1.02-.95,.19,0,.35,.06,.48,.19,.13,.13,.2,.28,.2,.46,0,.14-.04,.29-.1,.47l-.07,.18-.69,1.76-.07,.21c-.04,.12-.06,.21-.07,.27,0,.21,.12,.31,.38,.31,.54,0,.9-.23,1.08-.69l.82-2.11c.25-.64,.59-.96,1.04-.96,.18,0,.34,.06,.47,.19,.13,.13,.2,.28,.2,.46,0,.14-.06,.36-.17,.66l-.95,2.44Zm-2.02-6.21c.25,0,.46,.09,.64,.27,.17,.18,.26,.4,.26,.65s-.09,.48-.26,.66c-.17,.18-.38,.27-.64,.27s-.45-.09-.63-.27c-.17-.18-.26-.4-.26-.66s.09-.47,.26-.65c.17-.18,.38-.27,.63-.27Zm2.51,0c.25,0,.45,.09,.63,.27,.17,.18,.26,.4,.26,.65s-.09,.48-.26,.66c-.17,.18-.38,.27-.63,.27s-.46-.09-.63-.27c-.17-.18-.26-.4-.26-.66s.08-.47,.26-.65c.17-.18,.38-.27,.63-.27Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M45.35,4.51c.46-.26,.84-.39,1.14-.39,.42,0,.77,.12,1.03,.37,.27,.24,.41,.56,.41,.94,0,.23-.05,.48-.16,.75l-.69,1.8h.76c.55,0,.83,.2,.83,.61,0,.28-.1,.49-.29,.65-.2,.15-.47,.23-.82,.23h-1.32c-.28,0-.52-.08-.71-.25-.19-.17-.29-.37-.29-.61,0-.17,.05-.38,.15-.63l.6-1.55c.08-.2,.11-.34,.11-.45,0-.26-.17-.39-.5-.39-.45,0-.82,.4-1.13,1.19l-.74,1.88c-.23,.6-.58,.9-1.03,.9-.18,0-.33-.06-.46-.18-.13-.12-.19-.26-.19-.43,0-.13,.03-.28,.1-.45l.07-.19,2.86-7.36c.25-.63,.59-.95,1.03-.95,.18,0,.33,.06,.46,.19,.13,.13,.19,.28,.19,.46,0,.15-.06,.36-.17,.65l-1.25,3.21Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M51.1,6.08l-.12,.32c-.19,.45-.47,.68-.82,.68-.18,0-.34-.07-.48-.2-.14-.13-.22-.28-.22-.45,0-.16,.06-.37,.19-.64l.87-1.85c.21-.44,.48-.66,.8-.66,.17,0,.32,.06,.44,.17,.12,.12,.19,.26,.19,.42,0,.04-.01,.13-.04,.27-.02,.1-.03,.19-.03,.27,0,.29,.1,.58,.31,.88l.37,.54c.38,.55,.57,1.09,.57,1.61,0,.58-.21,1.06-.62,1.44-.41,.39-.93,.58-1.54,.58h-1.37c-.56,0-.83-.2-.83-.61,0-.28,.1-.5,.3-.66,.2-.16,.47-.24,.81-.24h.76c.61,0,.91-.23,.91-.69,0-.17-.06-.37-.17-.6l-.29-.59Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M56.89,4.21h.21c.55,0,.83,.2,.83,.61,0,.28-.1,.5-.3,.65s-.47,.23-.81,.23h-.48l-.88,2.26h.74c.56,0,.83,.2,.83,.61,0,.28-.1,.49-.29,.65-.19,.15-.47,.23-.82,.23h-1.18c-.33,0-.6-.08-.79-.24-.19-.16-.29-.38-.29-.65,0-.17,.04-.35,.12-.56l.13-.3,.78-2h-.1c-.49,0-.74-.2-.74-.6,0-.28,.1-.5,.29-.66,.2-.16,.47-.24,.82-.24h.3l.35-.9,.07-.18c.21-.51,.53-.76,.97-.76,.18,0,.33,.06,.46,.19,.13,.13,.19,.28,.19,.45s-.06,.39-.17,.66l-.24,.54Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M62.29,7.96h.76c.3,0,.52,.05,.64,.14,.13,.09,.19,.25,.19,.46,0,.28-.1,.5-.29,.66-.2,.16-.47,.24-.82,.24h-1.18c-.37,0-.61-.15-.74-.45-.24,.3-.54,.45-.91,.45h-.96c-.39,0-.71-.13-.96-.38-.25-.25-.38-.57-.38-.95,0-.22,.06-.47,.17-.77l.9-2.29c.25-.63,.59-.95,1.02-.95,.19,0,.35,.06,.48,.19,.13,.13,.2,.28,.2,.46,0,.14-.03,.29-.11,.47l-.07,.18-.69,1.76-.07,.21c-.04,.12-.06,.21-.07,.27,0,.21,.12,.31,.38,.31,.54,0,.9-.23,1.08-.69l.82-2.11c.24-.64,.59-.96,1.04-.96,.18,0,.34,.06,.47,.19,.13,.13,.2,.28,.2,.46,0,.14-.06,.36-.17,.66l-.95,2.44Zm-2.02-6.21c.25,0,.46,.09,.63,.27,.17,.18,.26,.4,.26,.65s-.09,.48-.26,.66c-.17,.18-.38,.27-.63,.27s-.46-.09-.63-.27c-.17-.18-.26-.4-.26-.66s.08-.47,.26-.65c.17-.18,.38-.27,.63-.27Zm2.51,0c.25,0,.45,.09,.63,.27,.17,.18,.26,.4,.26,.65s-.08,.48-.26,.66c-.17,.18-.38,.27-.63,.27s-.46-.09-.63-.27c-.17-.18-.26-.4-.26-.66s.09-.47,.26-.65c.17-.18,.38-.27,.63-.27Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M67.89,9.46h-1.91c-.55,0-.99-.2-1.34-.61-.34-.4-.52-.92-.52-1.56,0-.85,.28-1.6,.85-2.23,.57-.63,1.23-.95,1.99-.95,.52,0,.94,.15,1.26,.45,.32,.3,.49,.7,.49,1.18,0,.34-.08,.62-.24,.83-.16,.22-.37,.33-.62,.33-.4,0-.6-.2-.6-.59v-.15c0-.05,0-.1,0-.14,0-.32-.15-.48-.45-.48-.29,0-.54,.16-.78,.47-.23,.32-.35,.67-.35,1.06,0,.33,.1,.55,.28,.69,.19,.13,.51,.2,.97,.2h1.24c.55,0,.83,.2,.83,.61,0,.27-.1,.49-.3,.65-.2,.16-.47,.24-.81,.24Z"}),(0,i.jsx)("path",{className:"cls-1",d:"M73.25,6.56l1.02,1.67c.13,.21,.19,.38,.19,.51,0,.21-.09,.4-.25,.57-.17,.17-.36,.25-.57,.25-.18,0-.34-.1-.48-.31l-.08-.12-1.52-2.38-.74,1.9c-.24,.61-.58,.91-1.04,.91-.19,0-.35-.06-.48-.18-.13-.12-.2-.27-.2-.44,0-.13,.03-.29,.11-.46l.07-.18,2.81-7.24,.07-.18c.2-.51,.52-.77,.97-.77,.18,0,.34,.06,.47,.19,.13,.13,.2,.28,.2,.46,0,.14-.03,.29-.1,.47l-.07,.18-1.67,4.31,1.48-1.15c.31-.24,.57-.36,.79-.36,.18,0,.34,.06,.46,.19,.12,.12,.18,.28,.18,.46,0,.31-.16,.59-.49,.84l-.15,.12-.98,.75Z"})]})]})})})}if("kultur"===t){var s={fill:"#fff"},a={fill:"#1d1d1b"};return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80 20",children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-2",style:a,d:"M74.86,20v-2.1h2.39V2.13h-2.39V.03h5.14V20h-5.14Z"}),(0,i.jsx)("rect",{width:"49.27",height:"19.98"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",style:s,d:"M2.6,2.89h3.1v6.08h.04c.31-.53,.64-1.02,.97-1.51l3.12-4.57h3.87l-4.58,5.86,4.81,7.9h-3.64l-3.41-5.94-1.17,1.45v4.49H2.6V2.89Z"}),(0,i.jsx)("path",{className:"cls-1",style:s,d:"M18.35,2.89v7.9c0,2.39,.93,3.59,2.51,3.59s2.55-1.14,2.55-3.59V2.89h3.12v7.71c0,4.25-2.16,6.27-5.78,6.27s-5.53-1.94-5.53-6.31V2.89h3.13Z"}),(0,i.jsx)("path",{className:"cls-1",style:s,d:"M29.26,2.89h3.12
2V14.03h5.51v2.61h-8.64V2.89Z"}),(0,i.jsx)("path",{className:"cls-1",style:s,d:"M40.3,5.5h-3.74V2.89h10.65v2.61h-3.79v11.15h-3.12V5.5Z"})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-2",style:a,d:"M66.26,13.44c0,1.31,.04,2.37,.08,3.21h-2.71l-.14-1.41h-.06c-.39,.61-1.34,1.63-3.15,1.63-2.06,0-3.54-1.27-3.54-4.35V6.66h3.13v5.37c0,1.45,.47,2.33,1.58,2.33,.86,0,1.38-.59,1.56-1.08,.08-.18,.12-.41,.12-.67V6.66h3.13v6.78Z"}),(0,i.jsx)("path",{className:"cls-2",style:a,d:"M68.76,9.95c0-1.47-.02-2.43-.08-3.29h2.67l.12,1.84h.08c.51-1.47,1.73-2.08,2.71-2.08,.29,0,.43,.02,.66,.06v2.92c-.25-.04-.49-.08-.84-.08-1.15,0-1.93,.61-2.14,1.57-.04,.2-.06,.45-.06,.69v5.06h-3.13v-6.7Z"})]}),(0,i.jsx)("path",{className:"cls-2",style:a,d:"M50.99,20V.03h5.14V2.13h-2.4v15.76h2.4v2.1h-5.14Z"})]})})})}if("deutsch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 499.42 499.41",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M271.28,498.96l-43.74.46c-36.03-.81-71.68-12.8-103.08-30.88l-106.2,28.81-15.27,2.07H0v-2.99l2.07-15.27c9.49-35.68,19.18-71,29.08-105.95C12.76,343.86.87,307.98,0,271.87l.49-43.97c1.02-58.41,30.54-115.89,71.48-156.66C113.11,30.28,170.24,1.9,228.74.16c20.4-.43,41.27,0,62.6,1.3,104.62,16.92,189.7,102,206.62,206.62,1.3,21.29,1.73,42.15,1.3,62.6-1.77,58.03-29.76,114.87-70.28,155.9-41.12,41.63-98.55,71.42-157.69,72.39Z",style:{fill:"#fefefe"}}),(0,i.jsx)("polygon",{points:"405.74 269.81 333.32 269.88 333.32 355.42 424.37 355.47 424.37 395.63 280.43 395.6 280.43 115.98 424.36 115.93 424.38 156.11 333.32 156.09 333.32 229.73 405.69 229.71 405.74 269.81"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M254.44,329.12c0,27.62-12.58,50.07-37.57,59.88-10.77,3.94-21.51,6.46-33.33,6.48l-88.51.15V115.97s82.53.08,82.53.08c13.58.01,26.16,1.72,38.59,6.49,25.46,9.53,38.29,32.51,38.29,59.66v146.92Z"}),(0,i.jsx)("path",{d:"M201.51,332.98c-1.1,13.21-9.06,22.16-21.55,22.25l-31.71.23-.03-199.29c11.18-.03,21.64-.41,32.09.36,12.35.91,20.04,9.31,21.17,21.91l.03,154.53Z",style:{fill:"#fefefe"}})]})]})})});if("deutsch untertitel"===t)return(0,i.jsxs)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",children:[(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clippath",children:(0,i.jsx)("rect",{width:"500",height:"500",style:{fill:"none"}})})}),(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsx)("g",{style:{clipPath:"url(#clippath)"},children:(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M143.65,499.25l-25.63.39c-11.45-7.98-13.14-23.09-4.58-33.16,8.75-10.3,23.91-10.77,33.25-1.06,9.24,9.61,8.87,24.9-3.03,33.83Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M38.94,498.61c-10.03-2.87-12.27-17.72-9.11-25.42,4.03-9.83,12.98-15.67,23.68-14.52,9.69,1.04,18.37,8.04,19.63,19.02.86,7.45-1.82,19.1-10.37,21.06-6.51,1.49-16.7,1.9-23.83-.14Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M198.14,499.71c-6.49-4.21-10.46-10.81-10.31-17.67-.67-7.49,2.85-13.85,8.84-18.75,9.93-8.14,24.01-5.73,31.59,4.29s5.46,24.47-5.45,32.02l-24.66.12Z",style:{fill:"#fefefe"}})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M381.74,499.54l-25.13-.07c-8.55-5.91-11.98-17.09-8.28-26.49s13.03-15.48,23.58-14.33,19.06,8.88,19.57,19.79c1.07,8.67-1.98,16.36-9.74,21.11Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M436.61,499.82c-11.68-8.33-13.36-23.1-4.74-33.36,8.59-10.23,23.81-10.79,33.24-1.08s8.52,25.71-3.36,33.93l-25.14.5Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M277.95,499.75c-6.58-4.6-11.15-11.3-10.25-18.7-.73-7.45,3.13-14.71,9.54-18.74,11.02-6.93,23.87-4.32,31.15,5.95s4.52,23.92-5.86,31.23l-24.58.25Z",style:{fill:"#fefefe"}})]})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("polygon",{points:"412.43 269.95 340.55 270 340.54 354.71 431.22 354.92 431.39 395.76 286.66 395.72 286.68 115.38 431.21 115.33 431.4 156.23 340.55 156.21 340.55 229.09 412.42 229.07 412.43 269.95",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M261.59,179.09l.05,153.57c0,3.41-1.05,6.65-1.45,9.74-2.48,19.32-13.43,35.22-30.46,44.36-10.88,4.33-21.75,8.75-33.94,8.76l-94.77.12V115.4s79.82,0,79.82,0c4.75,0,9.21,2.01,14.05.59,8.7,1.27,16.7,2.65,24.91,5.28,21.44,6.85,36.71,24.25,40.1,46.71l1.67,11.1ZM207.8,334.05l-.05-156.32c-1.44-14.15-11.33-21.07-24.37-21.18l-28.45-.26v198.53s34.84-.28,34.84-.28c10.52-.09,16.67-9.69,18.03-20.48Z",style:{fill:"#fefefe"}})]})]})})})]});if("englisch untertitel"===t)return(0,i.jsxs)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",children:[(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clippath",children:(0,i.jsx)("rect",{width:"500",height:"500",style:{fill:"none"}})})}),(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsx)("g",{style:{clipPath:"url(#clippath)"},children:(0,i.jsxs)("g",{children:[(0,i.jsx)("polygon",{points:"433.65 395.65 379.92 395.81 316.13 196.68 315.82 395.76 267.96 395.75 267.95 115.3 333.44 115.41 385.46 278.33 385.83 115.44 433.64 115.32 433.65 395.65",style:{fill:"#fefefe"}}),(0,i.jsx)("polygon",{points:"228.07 269.96 155.18 270.02 155.18 354.86 246.01 354.83 246.01 395.77 101.29 395.74 101.31 115.41 246 115.29 246.02 156.25 155.29 156.22 155.3 229.09 227.88 229.18 228.07 269.96",style:{fill:"#fefefe"}}),(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M299.77,498.8c-5.59,1.45-14.03,1.53-19.51.1-8.92-2.33-13.91-13.54-12.93-21.55,1.12-9.12,6.13-15.2,12.8-18.38,7.84-3.74,16.56-3.01,22.91,2.3,6.47,5.41,9.73,11.45,9,19.9-.53,6.09-3.82,15.43-12.27,17.62Z",style:{fill:"#fefefe"}}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M378.75,498.82c-5.15,1.61-13.82,1.5-18.66.13-10.14-2.86-14.77-15.1-12.83-24.19,2.17-10.17,10.98-17.66,21.12-18.11s19.93,6.73,22.67,16.4c2.72,9.61-1.33,22.34-12.29,25.76Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M458.62,498.96c-15.11,1.02-19.39,2.99-27.16-6.18-8.67-10.24-5.62-24.67,4.75-31.97,10.72-7.54,24.83-4.63,32.05,6.76,6.49,10.24,3.43,26.19-9.64,31.38Z",style:{fill:"#fefefe"}})]})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M140.18,498.82c-5.03,1.64-13.8,1.45-18.62.14-10.28-2.81-14.91-14.81-12.98-24.38s10.99-17.55,21.16-17.92c10.33-.37,19.82,6.67,22.63,16.55,2.63,9.24-1.24,22.03-12.19,25.61Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M70.18,490.61c-7.33,11.68-14.29,9.15-28.52,8.59-12-4.59-16.26-19.22-10.96-29.7,5.85-11.57,19.42-16.28,30.58-10.21s16.18,19.72,8.9,31.33Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M220.04,498.76c-5.83,1.7-14.09,1.35-19.57.18-7.85-1.68-11.77-10.94-12.43-16.8-1.01-8.94,2.2-15.25,8.91-20.85,6.36-5.31,15.07-6.05,22.92-2.31,6.66,3.18,11.68,9.25,12.79,18.37.94,7.7-3.58,18.77-12.63,21.41Z",style:{fill:"#fefefe"}})]})]})]})})})]});if("english/englisch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 499.3 499.26",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M499.3,227.8v43.91c-1.94,57.93-30.33,115.13-71.37,156.17-41.04,41.04-98.23,69.43-156.17,71.37h-43.91c-36.03-.81-71.68-12.8-103.08-30.88l-106.2,28.81-15.27,2.07H.3c-.16-3.68.19-7.62,1.06-11.81,9.83-37.86,19.85-75.33,30.05-112.42C13.22,343.3.59,307.39,0,270.56l.07-44.7C7.43,107.56,110.56,5.2,229.04,0h41.52c60.29,1.89,119.06,31.83,160.58,74.99,39.14,40.69,66.58,95.86,68.17,152.81Z",style:{fill:"#fefefe"}}),(0,i.jsx)("polygon",{points:"415.48 395.36 362.06 395.47 297.68 194.99 297.12 395.47 250.03 395.46 250.02 115.81 315.29 115.82 368.1 281.22 368.37 115.78 415.47 115.81 415.48 395.36"}),(0,i.jsx)("polygon",{points:"209.43 269.65 137.01 269.72 137.01 355.32 227.84 355.3 227.83 395.48 83.88 395.44 83.88 115.82 227.83 115.77 227.85 155.95 137.01 155.93 137.01 229.57 209.38 229.55 209.43 269.65"})]})})});if("español/spanisch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 499.65 499.79",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M272.1,0c58.4,1.92,115.94,30.73,157.07,72.29,40.54,40.95,68.59,97.72,70.47,155.26l-.34,43.98c-1.23,54.82-26.65,107.77-63.33,147.85-42.17,46.08-102.17,77.62-165.05,79.99h-41.61c-36.72-.78-72.46-13.2-104.17-31.24l-111.43,29.76c-1.57.35-13.15,2.31-13.64,1.83s1.29-12.11,1.66-13.79c9.83-37.4,19.84-74.41,30.04-111.02C13.56,343.14,1.07,307.16.28,270.31v-41.6c2.38-62.91,33.95-122.95,80.07-165.12C120.48,26.89,173.48,1.53,228.35.3l43.76-.3Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M366.57,391.9c-23.43,9.94-59.8,10.06-83.11,0-15.22-6.57-26.54-18.35-31.86-34.04-2.77-7.93-4.36-15.99-4.38-24.51l-.05-20.51h50s.38,24.83.38,24.83c.15,9.81,6.37,17.71,15.94,20.11,14.54,3.65,32.09.65,36.49-13.49,5.08-16.3.72-33.53-10.45-46.48-9.11-10.57-19.59-18.71-30.82-27.04-23.8-17.66-51.66-39.2-59.07-68.6-3.44-13.66-3.34-27.56-.31-41.24,4.27-19.27,17-34.22,35.09-41.87,23.12-9.77,57.33-10.07,80.76-.57,31.82,13.28,39.08,41.96,37.33,75.14l-50.13-.02c.07-17.09,2.28-32.91-13.51-39.84-15.01-4.55-33.28-1.73-37.63,13.1-8.54,29.1,15.22,49.09,37.54,65.87,23.44,17.62,51.24,37.3,61.03,65.69,5.96,17.29,6.19,35.82,1.69,53.45-4.72,18.51-17.5,32.62-34.93,40.01Z"}),(0,i.jsx)("polygon",{points:"211.24 269.42 138.89 269.47 138.88 355 229.96 355.08 229.96 395.22 85.95 395.18 85.94 115.59 229.84 115.51 229.99 155.7 138.88 155.68 138.95 229.32 211.22 229.3 211.24 269.42"})]})})});if("français/französisch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 499.42 499.41",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M271.28,498.96l-43.74.46c-36.03-.81-71.68-12.8-103.08-30.88l-106.2,28.81-15.27,2.07H0v-2.99l2.07-15.27c9.49-35.68,19.18-71,29.08-105.95C12.76,343.86.87,307.98,0,271.87l.49-43.97c1.02-58.41,30.54-11
25.89,71.48-156.66S170.24,1.9,228.74.16c20.4-.43,41.27,0,62.6,1.3,104.62,16.92,189.7,102,206.62,206.62,1.3,21.29,1.73,42.15,1.3,62.6-1.77,58.03-29.76,114.87-70.28,155.9-41.12,41.63-98.55,71.42-157.69,72.39Z",style:{fill:"#fefefe"}}),(0,i.jsx)("polygon",{points:"193.93 233.69 194.2 273.87 125.97 273.86 126 395.64 73.08 395.62 73.08 116 212.56 115.92 212.58 156.11 125.97 156.09 125.97 233.72 193.93 233.69"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M390.39,370.19c.04,9.41,1.7,17.57,5.69,25.4l-54.12-.08c-3.4-7.97-4.45-15.57-4.49-23.9l-.33-66.73c-.03-6.8-1.73-13.11-5.1-18.72-9.45-12.97-28.65-9.94-45.86-10.23v119.7s-52.9-.03-52.9-.03V115.94s81,.14,81,.14c14.96.03,29.13,1.77,42.6,7.39,29.11,12.8,33,35.25,32.92,64.57-.03,10.09.14,19.59-2.07,29.36-3.9,17.23-15.41,29.91-33.04,35.75,26.21,6.64,34.39,26.94,35.45,52.7l.24,64.35Z"}),(0,i.jsx)("path",{d:"M336.39,212.46c-.83,13.41-10.36,21.69-23,22.84l-27.18.4-.04-79.56c9.99-.07,19.24-.23,28.75.3,12.25.68,20.81,9.17,21.48,21.73.6,11.14.71,22.44-.02,34.28Z",style:{fill:"#fefefe"}})]})]})})});if("französisch untertitel"===t)return(0,i.jsxs)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",children:[(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clippath",children:(0,i.jsx)("rect",{width:"500",height:"500",style:{fill:"none"}})})}),(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsx)("g",{style:{clipPath:"url(#clippath)"},children:(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M141.52,500h-21.96c-12.14-7.6-15.44-24.01-6.25-34.8,9.37-10.99,25.92-10.69,34.91.57,8.65,10.83,5.17,26.78-6.71,34.23Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M61.68,500h-20.96c-11.08-5.71-15.5-19.97-9.49-30.87,6.24-11.32,19.69-15.29,30.88-8.98,10.81,6.1,14.96,20.22,7.99,31.31-2.25,3.58-5.51,6.06-8.41,8.54Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M220.36,500h-20.96c-2.9-2.49-6.16-4.96-8.41-8.54-6.97-11.08-2.83-25.21,7.99-31.31,11.19-6.31,24.64-2.33,30.88,8.98,6.01,10.9,1.58,25.15-9.49,30.87Z",style:{fill:"#fefefe"}})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M300.2,500h-20.96c-2.73-2.55-6.28-4.91-8.52-8.38-6.28-9.7-3.74-21.91,4.5-29.03,8.55-7.39,20.53-7.3,29.04,0s10.91,19.38,4.5,29.01c-2.31,3.47-5.79,5.86-8.55,8.4Z",style:{fill:"#fefefe"}}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M459.88,500h-21.96c-12.16-7.63-15.44-24-6.23-34.82,9.29-10.92,25.97-10.68,34.92.55s5.22,27.06-6.74,34.28Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M380.04,500h-20.96c-11.19-5.95-15.66-20.68-9.15-31.52,6.69-11.12,20.14-14.64,31.19-7.94s14.26,20.72,6.94,31.5c-2.25,3.32-5.3,5.61-8.02,7.96Z",style:{fill:"#fefefe"}})]})]})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M410.4,370.34c.11,9.55,1.25,17.86,5.56,25.85h-54.7c-1.8-5.66-3.99-11.04-4.02-16.99l-.37-70.7c-.02-3.33-.81-6.58-1.17-9.87-1.89-17.4-14.8-21.73-31.65-21.92l-17.87-.21v119.73s-53.9-.03-53.9-.03l.02-280.33h77.82c4.75,0,9.17,2.02,14.04.59,21.77,2.34,43.8,7.36,55.97,26.18,5.8,8.96,9.45,19.44,9.43,30.32l-.04,33.17c-.02,20.28-13.01,40.55-34,47.71,11.39,3.23,20.96,9.06,26.61,19.5,4.16,7.68,7.31,16.29,7.41,25.43l.84,71.57ZM355.91,214.69l-.12-36.56c-.05-14.03-11.35-20.98-24.1-21.11l-25.51-.26v78.79s29.39-.44,29.39-.44c11.26-1.3,18.53-8.94,20.34-20.41Z",style:{fill:"#fefefe"}}),(0,i.jsx)("polygon",{points:"214.1 233.55 214.41 274.46 146.48 274.45 146.52 396.2 92.65 396.25 92.61 115.85 232.32 115.74 232.34 156.7 146.49 156.67 146.49 233.53 214.1 233.55",style:{fill:"#fefefe"}})]})]})})})]});if("italiano/italienisch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 499.26",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M499.69,227.95l.31,43.76c-1.94,57.93-30.39,115.13-71.51,156.17-41.12,41.04-98.43,69.43-156.49,71.37h-44c-36.1-.81-71.83-12.8-103.29-30.88l-106.42,28.81-15.3,2.07H0v-2.99l2.08-15.27c9.51-35.68,19.22-71,29.13-105.95C12.79,343.7.88,307.82,0,271.71l.49-43.97c.94-56.71,29-112.64,68.03-153.02C110.09,31.73,168.83,1.85,229.2,0h41.61c59.26,1.79,117.23,30.81,158.58,72.62,40.54,41,69,97.19,70.31,155.33Z",style:{fill:"#fefefe"}}),(0,i.jsx)("polygon",{points:"310.53 395.34 257.46 395.54 257.49 155.97 202.23 155.93 202.23 115.79 365.77 115.79 365.77 155.93 310.51 155.97 310.53 395.34"}),(0,i.jsx)("rect",{x:"128.76",y:"115.79",width:"53",height:"279.68"})]})})});if("italienisch untertitel"===t)return(0,i.jsxs)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",children:[(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clippath",children:(0,i.jsx)("rect",{width:"500",height:"500",style:{fill:"none"}})})}),(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsx)("g",{style:{clipPath:"url(#clippath)"},children:(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M220.88,500h-20.96c-10.82-6.33-15.71-19.97-9.46-30.93s20.14-15.42,30.92-8.99c10.77,6.42,14.9,19.6,8.32,30.99-2.14,3.7-5.9,6.24-8.83,8.94Z",style:{fill:"#fefefe"}}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M141.04,500h-20.96c-2.93-2.7-6.
268-5.23-8.83-8.95-6.72-11.61-2.23-25.2,8.97-31.34s24.77-1.34,30.63,9.99c5.68,10.98.78,24.04-9.82,30.29Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M62.19,500h-21.96c-7.24-4.92-12.83-13.3-11.62-22.35s6.14-15.13,12.81-18.24c7.66-3.57,16.02-3.06,22.36,1.89,7.08,5.52,10.34,12.14,9.55,21.1-.6,6.81-4.8,13.32-11.14,17.61Z",style:{fill:"#fefefe"}})]})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M300.72,500h-21.96c-6.66-4.47-10.8-11.23-11.21-18.57-.48-8.45,2.8-14.82,9.63-20.14,6.57-5.12,15.26-5.46,23.02-1.55,6.33,3.19,11,9.4,12.14,17.9,1.21,9.05-4.39,17.44-11.62,22.35Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M380.56,500h-21.96c-8.28-5.37-13.32-14.97-11.24-24.57,2.06-9.53,9.13-16.65,19.59-18.14,10.78-1.53,20.94,5.97,23.89,15.87,3.18,10.66-1.36,21.08-10.28,26.84Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M459.4,500h-20.96c-6.64-4.83-12.37-11.95-11.92-20.8.6-11.73,9.02-20.38,19.7-21.92s21.45,5.92,24.41,16.03c3.09,10.53-1.95,21.63-11.24,26.69Z",style:{fill:"#fefefe"}})]})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("polygon",{points:"331.68 396.11 277.74 396.25 277.78 156.71 222.85 156.68 223.04 115.79 386.38 115.79 386.56 156.67 331.63 156.71 331.68 396.11",style:{fill:"#fefefe"}}),(0,i.jsx)("rect",{x:"149.02",y:"115.77",width:"53.89",height:"280.44",style:{fill:"#fefefe"}})]})]})})})]});if("japanisch untertitel"===t)return(0,i.jsxs)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",children:[(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clippath",children:(0,i.jsx)("rect",{width:"500",height:"500",style:{fill:"none"}})})}),(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsx)("g",{style:{clipPath:"url(#clippath)"},children:(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M216.88,500h-12.97c-10.79-3.66-17.38-13.84-15.85-25.36,1.41-10.71,10.97-19.33,22.26-19.25,11.2.08,20.46,8.22,22.27,19.41s-5.42,21.33-15.7,25.2Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M137.04,500h-12.97l-7.41-4.51c-8.59-7.08-10.97-18.14-5.87-27.99,4.5-8.7,15-14.15,25.45-11.4,9.68,2.54,17.1,11.26,16.9,22.23-.18,9.67-6.35,18.43-16.09,21.67Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M57.2,500h-11.98c-9.22-3.24-16.62-11.33-16.79-22.06-.2-12.83,13.07-24.13,24.3-22.62,11.81,1.59,20,10.36,20.64,21.13.64,10.94-5.72,20.15-16.17,23.55Z",style:{fill:"#fefefe"}})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M295.72,500h-11.98c-10.75-3.5-17.18-13.09-16.09-24.5.97-10.24,9.12-18.66,20.55-20.17,11.31-1.5,24.51,9.83,24.31,22.62-.17,10.73-7.57,18.83-16.79,22.06Z",style:{fill:"#fefefe"}}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M455.4,500h-12.97c-5.17-2.93-10.7-6.45-13.63-12.29-5.99-11.93.17-25.95,12-30.73s25.34,1.43,29.53,13.6c4.2,12.2-2.77,25.54-14.93,29.42Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M375.56,500h-11.98c-8.99-3.06-15.89-10.83-16.78-21.24-1.06-12.33,12.36-25.05,24.29-23.44,11.81,1.59,20,10.36,20.64,21.13.65,10.94-5.72,20.15-16.17,23.55Z",style:{fill:"#fefefe"}})]})]})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M402.08,220.72c-.12,20.51-12.01,42.33-30.3,52.08-10.23,4.69-20.87,9.09-32.47,9.23l-40.6.48.02,113.72-53.92-.02.02-280.34,77.69.05c4.09,0,7.92,1.99,12.2.52,12.76,1.62,25.01,3.9,36.38,9.82,16.86,8.77,27.35,25.01,29.91,43.81.43,3.14,1.32,6.5,1.31,9.66l-.24,40.99ZM348.1,175.78c-.02-10.35-8.21-17.23-17.33-18.17-3.05.72-5.5-.76-8.14-.77l-23.92-.13v84.81s31.07-.01,31.07-.01c10,0,18.41-8.06,18.39-18.54l-.07-47.18Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M128.53,398.05l-12.3-1.21-.19-40.67,14.04,1.22c9.45.82,19.28-.09,27.05-6.01,5.04-3.83,6.57-9.86,7.84-16.33l.02-219.19h53.89s-.16,218.77-.16,218.77c-1.48,13.86-3.3,26.2-11.11,37.33-6.53,9.29-15.34,16.19-25.98,19.96-8.98,3.19-17.56,5.79-27.11,5.88l-26,.25Z",style:{fill:"#fefefe"}})]})]})})})]});if("kurdî / kurdisch"===t||"tibetisch"===t||"தமிழ் / tamilisch"===t||"हिंदी / hindi"===t||"ελληνικά / griechisch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 499.42 499.41",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M271.28,498.96l-43.74.46c-36.03-.81-71.68-12.8-103.08-30.88l-106.2,28.81-15.27,2.07H0v-2.99l2.07-15.27c9.49-35.68,19.18-71,29.08-105.95C12.76,343.86.87,307.98,0,271.87l.49-43.97c1.02-58.41,30.54-11
25.89,71.48-156.66S170.24,1.9,228.74.16c20.4-.43,41.27,0,62.6,1.3,104.62,16.92,189.7,102,206.62,206.62,1.3,21.29,1.73,42.15,1.3,62.6-1.77,58.03-29.76,114.87-70.28,155.9-41.12,41.63-98.55,71.42-157.69,72.39Z",style:{fill:"#fefefe"}}),(0,i.jsx)("polygon",{points:"393.46 116.17 442.08 115.92 391.3 395.62 321.03 395.65 270.2 116.01 323.59 115.9 358.55 332.02 393.46 116.17"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M214.56,393.63c-23.45,8.56-58.33,8.37-81.17-1.62-12.86-5.63-23.43-14.5-29.78-27.12-4.84-9.63-7.69-19.97-7.69-31.26v-155.46c0-28.71,16.95-52.79,44.8-61.13,23.22-6.95,48.43-6.87,71.54.35,27.14,8.48,42.2,30.97,43.74,59.23v158.55c-1.7,27.78-15.33,48.92-41.44,58.46Z"}),(0,i.jsx)("path",{d:"M180.8,359.28c-8.62.52-16.39.24-23.08-4.78-5.52-4.14-8.88-11.44-8.88-19.02l.03-159.17c0-8.25,3.84-16.52,10.77-20.24,9.65-5.19,21.77-5.32,31.66-.55,6.98,3.37,11.62,11.36,11.62,19.69l-.03,161.3c0,13.05-9.77,22.02-22.08,22.77Z",style:{fill:"#fefefe"}})]})]})})});if("türkçe/türkisch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M272,0c58.05,1.9,115.31,30.34,156.43,71.47,41.13,41.14,69.61,98.46,71.57,156.53v44c-1.94,58.05-30.39,115.36-71.51,156.49-41.12,41.12-98.43,69.57-156.49,71.51h-44c-36.1-.81-71.83-12.83-103.29-30.94l-106.42,28.87-15.3,2.08H0v-3l2.08-15.3c9.51-35.75,19.22-71.14,29.13-106.16C12.79,344.13.88,308.19,0,272l.49-44.06c.96-57.96,29.89-114.97,70.3-155.67C111.71,31.08,169.5,1.49,228.15.31l43.85-.31Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M413.2,117.22l.02,214.58c-.19,30.85-14.21,55.61-43.98,64.64-21.82,6.62-45.25,6.73-67.36.81-29.06-7.77-45.02-30.86-46.4-60.86l-.03-219.11,53.04-.09.07,221.58c1.17,8.65,4.21,16.24,12.11,19.59,8.95,3.79,19.84,3.92,28.81.13,8.04-3.39,11.35-11.02,12.48-19.75l.03-221.53h51.21Z"}),(0,i.jsx)("polygon",{points:"180.55 397.48 127.23 397.57 127.25 157.58 72.31 157.51 72.23 117.22 235.52 117.25 235.56 157.41 180.51 157.61 180.55 397.48"})]})})});if("русский/russisch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 499.42 499.41",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M271.28,498.94l-43.74.48c-36.09-.84-71.66-12.79-103.09-30.88l-106.2,28.8-15.27,2.07H0v-2.99l2.07-15.27c9.49-35.68,19.18-71,29.08-105.95C12.76,343.85.87,307.98,0,271.87l.49-43.97c1-59.05,30.79-116.46,72.37-157.49C113.9,29.92,170.7,1.89,228.74.16c20.39-.42,41.25,0,62.59,1.28,104.62,16.88,189.7,102.04,206.63,206.63,1.3,21.3,1.73,42.16,1.3,62.6-1.77,58.03-29.76,114.87-70.28,155.9-41.12,41.63-98.54,71.42-157.7,72.37Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M418.63,117.38l.04,217.57c-1.17,31.24-17.47,54.75-47.85,62.36-21.14,5.3-43.32,5.29-64.24-.74-29.4-8.48-44.29-31.5-45.34-62.02l-.02-217.16h52.9s.05,220.13.05,220.13c.94,8.72,3.64,16.27,11.2,20.13s15.52,3.74,23.34,2.58c10.88-1.62,17.41-9.45,18.71-20.8l.06-222.02,51.13-.03Z"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M241.94,396.99l-53.6.17c-3.08-7.03-4.5-13.91-4.55-21.55l-.38-67.75c-.04-7.93-1.5-15.43-6.07-21.72-4.61-5.44-11.43-8.34-18.67-8.41l-26.17-.25-.02,119.66-52.88.02-.02-279.78,86.02.18c12.21.03,23.36,2.15,34.56,6,18.99,6.59,31.92,22.18,34.55,42.4,2.07,15.96,2.09,32.16.04,48.1-2.54,19.64-15.04,34.18-33.73,40.41,27.77,7.19,34.64,28.87,35.45,55.36l.14,63.77c.47,7.95,1.74,14.6,5.33,23.37Z"}),(0,i.jsx)("path",{d:"M182.43,177.4c.88,25.79,6.15,56.12-22.18,59.16-9.17.98-18.09.61-27.75.54v-79.41s29.12.18,29.12.18c11.45.07,19.22,8.27,20.82,19.54Z",style:{fill:"#fefefe"}})]})]})})});if("한국어 / koreanisch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 499.42 499.41",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M271.28,498.96l-43.74.46c-36.03-.81-71.68-12.8-103.08-30.88l-106.2,28.81-15.27,2.07H0v-2.99l2.07-15.27c9.49-35.68,19.18-71,29.08-105.95C12.76,343.86.87,307.98,0,271.87l.49-43.97c1.02-58.41,30.54-11
25.89,71.48-156.66S170.24,1.9,228.74.16c20.4-.43,41.27,0,62.6,1.3,104.62,16.92,189.7,102,206.62,206.62,1.3,21.29,1.73,42.15,1.3,62.6-1.77,58.03-29.76,114.87-70.28,155.9-41.12,41.63-98.55,71.42-157.69,72.39Z",style:{fill:"#fefefe"}}),(0,i.jsx)("polygon",{points:"251.62 396.94 196.29 397.2 152.32 274.54 130.98 309.08 130.97 397.14 77.83 397.17 77.83 117.41 130.93 117.39 131.1 236.47 196.65 117.52 250.78 117.38 187.9 220.13 251.62 396.94"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M409.08,374.52c-20.36,27.25-64.02,30.58-95.86,23.31-12.96-2.96-24.65-8.55-33.85-18.25-10.45-11.01-17.1-25.92-17.1-41.81l-.04-160.78c0-14.96,5.83-29,15.08-39.91,21.8-25.72,67.6-28.02,98.95-19.03,28.2,8.08,45.77,32.26,45.75,61.1l-.09,157.47c0,14.03-4.79,27.14-12.83,37.89Z"}),(0,i.jsx)("path",{d:"M359.02,356.71c-7.72,4.79-16.05,4.68-24.43,3.54-10.54-1.44-19.42-9.94-19.43-21.74l-.16-161.3c0-7.13,3.26-14.12,8.17-18.11,6.73-5.48,14.81-5.71,23.27-5.32,12.3.57,22.56,9.36,22.57,22.78l.1,160.9c0,7.72-3.83,15.37-10.09,19.25Z",style:{fill:"#fefefe"}})]})]})})});if("中文 / chinesisch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 499.65 499.79",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M272.1,0c57.93,1.94,115.13,30.33,156.17,71.37,41.04,41.04,69.43,98.23,71.37,156.17l-.34,43.98c-1.23,54.82-26.65,107.77-63.33,147.85-42.17,46.08-102.17,77.62-165.05,79.99h-41.61c-36.72-.78-72.46-13.2-104.17-31.24l-111.43,29.76c-1.57.35-13.15,2.31-13.64,1.83s1.29-12.11,1.66-13.79c9.83-37.4,19.84-74.41,30.04-111.02C13.56,343.14,1.07,307.16.28,270.31v-41.6c2.38-62.91,33.95-122.95,80.07-165.12C120.48,26.89,173.48,1.53,228.35.3l43.76-.3Z",style:{fill:"#fefefe"}}),(0,i.jsx)("polygon",{points:"412.6 396.69 359.39 396.77 359.41 271.02 303.31 270.96 303.27 396.73 250.38 396.75 250.37 117.01 303.27 116.98 303.27 230.75 359.41 230.76 359.39 117.04 412.59 116.99 412.6 396.69"}),(0,i.jsx)("polygon",{points:"228.17 396.74 73.48 396.74 73.59 357.3 171.03 157.33 78.49 157.18 78.49 116.99 228.19 116.99 228.05 156.57 130.51 356.43 228.19 356.55 228.17 396.74"})]})})});if("日本語/japanisch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 499.36",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M272,0c57.65,1.88,114.53,29.94,155.57,70.47,41.64,41.14,70.5,98.67,72.43,157.07v43.91c-2.12,60.68-32.88,120.13-77.18,161.65-40.64,38.09-95.91,64.3-152,66.25l-44.68-.2c-35.79-1.05-70.46-13.62-101.42-31.01l-112.89,29.79c-4.03.84-7.98,1.19-11.83,1.06v-2.99l2.08-15.27c9.51-35.68,19.22-71,29.13-105.95C12.79,343.44.88,307.57,0,271.46l.49-43.97c.96-57.85,29.89-114.74,70.3-155.36C111.71,31.02,169.5,1.49,228.15.31l43.85-.31Z",style:{fill:"#fefefe"}}),(0,i.jsx)("path",{d:"M198.27,367.59c-17.44,30.53-60.06,31.69-92.85,27.79l.09-40.25c10.69,1.91,20.64,2.42,30.41.17,11.04-2.55,17.31-10.75,18.02-22.31l.07-217.46h53.02s-.05,218.62-.05,218.62c-.85,12.26-2.79,23.09-8.7,33.45Z"}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M350.12,276.01c-9.96,3.37-19.07,5.21-29.13,5.27l-33.47.2v113.72s-53.06.03-53.06.03V115.51s79.44.13,79.44.13c12.3.02,23.54,1.35,35,5.16,22.88,6.88,38.72,25.71,41.16,49.93,1.87,18.53,1.88,37.19,0,55.74-2.39,23.54-17.48,42.25-39.94,49.53Z"}),(0,i.jsx)("path",{d:"M337.84,220.82c-.87,11.65-8.24,20.07-19.51,20.18l-30.74.3-.06-85.56c24.46.55,47.12-5.1,50.27,20.28l.05,44.8Z",style:{fill:"#fefefe"}})]})]})})});if("schweizerdeutsch"===t)return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 499.42 499.4",style:{fill:"#000000"},children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M271.28,498.94l-43.74.46c-36.03-.81-71.68-12.8-103.08-30.88l-106.2,28.81-15.27,2.07H0v-2.99l2.07-15.27c9.49-35.68,19.18-71,29.08-105.95C12.76,343.84.87,307.97,0,271.85l.49-43.97c1.01-58.41,30.53-115.89,71.48-156.66C113.11,30.27,170.24,1.89,228.74.14c20.42-.39,41.28.03,62.59,1.29,104.63,16.88,189.7,102.04,206.63,206.63,1.3,21.29,1.73,42.16,1.3,62.6-1.77,58.03-29.76,114.87-70.28,155.9-41.12,41.63-98.55,71.42-157.69,72.39Z",style:{fill:"#fefefe"}}),(0,i.jsx)("polygon",{points:"416.72 397.07 363.73 397.17 363.75 271.4 307.37 271.38 307.4 397.17 254.49 397.09 254.48 117.4 307.4 117.38 307.37 231.18 363.75 231.15 363.74 117.45 416.68 117.38 416.72 397.07"}),(0,i.jsx)("path",{d:"M165.92,359.4c9.01-2.82,14.88-10.41,14.94-19.76l.31-45.09,50.15.07-.08,41.11c-.43,11.1-2.63,21.33-7.47,31.23-7.73,14.51-20.52,24.62-36.62,29.37-32.63,9.63-80.5,6.51-100.35-23.64-6.59-10.01-10.74-21.55-10.75-34.09l-.1-161.46c0-10.91,2.87-20.98,7.74-30.29,18.18-34.75,68.18-38.94,102.95-28.94,17.42,5.01,31.18,16.3,38.55,32.49,3.91,9.18,5.97,18.55,6.01,28.61l.12,32.73h-50.06s-.37-36.65-.37-36.65c-.09-8.96-5.53-16.36-13.62-19.6-7.52-2.3-15.08-2.76-22.82-.5-8.63,2.52-15.51,10.38-15.52,20.35l-.02,164.1c0,8.06,4.94,15.34,11.44,18.42,8.09,3.83,16.69,3.73,25.58,1.55Z"})]})})});if("Englisch"===t||"englisch"===t)return(0,i.jsx)("p",{className:"text-small-label",children:(0,i.jsx)(r.Ay,{id:"english_translation",children:"Englisch"})});if("türkisch"===t)return(0,i.jsx)("p",{className:"text-small-label",children:(0,i.jsx)(r.Ay,{id:"turkish_translation",children:"Türkisch"})});if("Japanisch"===t||"japanisch"===t)return(0,i.jsx)("p",{className:"text-small-label",children:(0,i.jsx)(r.Ay,{id:"japanese_translation",children:"Japanisch"})});if("kino anders"===t||"kinoanders"===t||"kino_anders"===t){var l={fill:"#f48120"},c={fill:"#d1d3d4"};return(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80 20",children:(0,i.jsx)("g",{id:"Ebene_1-2",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("rect",{className:"cls-3",style:{stroke:"#24211d",strokeLinecap:"square",strokeMiterlimit:"10",strokeWidth:"0px"},width:"80",height:"20"}),(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{className:"cls-1",style:l,d:"M2.87,5.14h2.93v3.93l3.07-3.93h3.9l-3.46,3.93,3.62,6.48h-3.61l-2-4.28-1.52,1.74v2.54H2.87V5.14Z"}),(0,i.jsx)("path",{className:"cls-1",style:l,d:"M14.02,5.14h2.94V15.55h-2.94V5.14Z"}),(0,i.jsx)("path",{className:"cls-1",style:l,d:"M19.17,5.14h2.74l3.57,5.76V5.14h2.77V15.55h-2.77l-3.55-5.71v5.71h-2.76V5.14Z"}),(0,i.jsx)("path",{className:"cls-1",style:l,d:"M29.83,10.35c0-1.7,.43-3.02,1.3-3.97,.86-.95,2.07-1.42,3.61-1.42s2.8,.46,3.65,1.39c.85,.93,1.28,2.23,1.28,3.91,0,1.22-.19,2.21-.56,2.99-.37,.78-.91,1.38-1.62,1.82-.71,.43-1.59,.65-2.64,.65s-1.96-.19-2.66-.56c-.7-.37-1.27-.97-1.71-1.77-.44-.81-.65-1.82-.65-3.04Zm2.93,.01c0,1.05,.18,1.8,.53,2.26,.36,.46,.84,.69,1.45,.69s1.12-.22,1.46-.67c.34-.45,.52-1.26,.52-2.42,0-.98-.18-1.69-.54-2.15-.36-.45-.85-.68-1.47-.68s-1.07,.23-1.42,.69c-.36,.46-.54,1.22-.54,2.28Z"})]}),(0,i.jsxs)("g",{className:"anders-part",children:[(0,i.jsx)("path",{className:"cls-2",style:c,d:"M44.81,14.72c-.22,.32-.49,.57-.81,.73-.32,.17-.66,.25-1.02,.25-.42,0-.74-.09-.96-.26-.22-.17-.37-.37-.44-.59-.07-.22-.14-.54-.2-.94,.02-.76,.13-1.54,.32-2.34,.19-.8,.42-1.41,.7-1.81,.52-.78,1.17-1.17,1.97-1.17,.38,0,.73,.09,1.03,.28,.3,.18,.46,.39,.48,.61h.02l.14-.78h1.68l-1.41,6.9h-1.65l.18-.87h-.03Zm-1-4.32c-.15,.3-.31,.8-.48,1.51-.17,.71-.26,1.28-.28,1.69,.04,.18,.08,.34,.12,.47,.04,.13,.1,.25,.2,.34,.1,.1,.26,.15,.47,.17,.25-.01,.49-.12,.72-.31,.23-.19,.39-.44,.5-.76,.36-1.21,.54-2.18,.54-2.9,0-.28-.07-.5-.22-.64-.15-.15-.34-.22-.58-.22-.18,0-.36,.05-.55,.16-.18,.11-.33,.27-.45,.48Z"}),(0,i.jsx)("path",{className:"cls-2",style:c,d:"M54.26,10.56l-.99,5.03h-1.65l.96-4.84s0-.09,.02-.16c.01-.07,.02-.12,.02-.17,0-.46-.25-.69-.75-.69-.39,0-.68,.1-.87,.3-.2,.2-.36,.57-.48,1.12l-.88,4.44h-1.65l1.37-6.9h1.
269l-.18,.81h.03c.51-.61,1.16-.91,1.95-.91,.52,0,.9,.09,1.13,.27,.23,.18,.35,.48,.35,.9,0,.13-.02,.4-.07,.81Z"}),(0,i.jsx)("path",{className:"cls-2",style:c,d:"M58.45,14.72c-.16,.29-.42,.53-.78,.71-.36,.18-.74,.27-1.13,.27-.42,0-.74-.1-.96-.29-.21-.2-.35-.42-.41-.66-.06-.25-.11-.58-.15-1,.02-.65,.13-1.35,.33-2.09,.2-.75,.38-1.28,.54-1.6,.25-.49,.57-.85,.96-1.1,.39-.25,.78-.37,1.19-.37,.36,0,.68,.08,.95,.24,.27,.16,.44,.38,.53,.64h.02l1.07-5.19h1.65l-2.3,11.31h-1.68l.21-.87h-.03Zm-1.07-4.15c-.15,.34-.3,.83-.44,1.48-.14,.65-.22,1.17-.24,1.56,.03,.16,.06,.32,.09,.46,.03,.14,.09,.27,.18,.37,.09,.1,.24,.16,.45,.18,.22-.01,.45-.1,.67-.27,.23-.17,.39-.36,.5-.59,.16-.32,.3-.83,.44-1.56,.14-.72,.21-1.27,.21-1.63-.02-.26-.1-.47-.24-.61s-.33-.22-.55-.22c-.21,0-.41,.07-.6,.21-.2,.14-.35,.35-.47,.62Z"}),(0,i.jsx)("path",{className:"cls-2",style:c,d:"M63.51,12.4c-.07,.28-.12,.66-.18,1.15,.03,.67,.29,1.01,.79,1.01,.31,0,.58-.1,.81-.31,.24-.21,.39-.53,.47-.97h1.53c-.2,.87-.58,1.49-1.14,1.85-.56,.37-1.21,.56-1.93,.58-1.42,0-2.15-.71-2.19-2.13,.05-.28,.07-.48,.07-.62,.06-.64,.21-1.28,.44-1.95,.23-.66,.59-1.23,1.09-1.71,.5-.48,1.15-.72,1.96-.72,.79,.02,1.35,.23,1.66,.61,.31,.38,.47,.9,.47,1.56,0,.15,0,.32-.03,.52-.02,.2-.04,.38-.07,.54-.02,.16-.05,.36-.08,.59h-3.67Zm.21-.91h1.95c.07-.31,.11-.58,.11-.82,0-.63-.25-.94-.75-.94-.69,0-1.13,.59-1.3,1.76Z"}),(0,i.jsx)("path",{className:"cls-2",style:c,d:"M67.88,15.59l1.37-6.9h1.69l-.18,.86h.04c.51-.64,1.2-.96,2.05-.96l-.24,1.28c-.08,0-.21-.01-.37-.01-.56,0-.98,.11-1.26,.33-.27,.22-.46,.55-.57,.99l-.88,4.42h-1.65Z"}),(0,i.jsx)("path",{className:"cls-2",style:c,d:"M72.82,14.13c.14,.12,.33,.22,.57,.3,.24,.09,.48,.13,.73,.15,.62-.03,1.02-.27,1.19-.7,.05-.12,.07-.24,.07-.35,0-.23-.08-.41-.25-.56-.17-.15-.43-.34-.8-.58-.37-.24-.65-.48-.84-.71-.19-.23-.29-.52-.3-.87,.02-.06,.03-.13,.03-.2,.07-.62,.37-1.12,.92-1.48,.54-.36,1.16-.55,1.86-.55,.55,0,1.04,.11,1.46,.33l-.25,1.2c-.27-.23-.68-.35-1.21-.35-.28,0-.52,.05-.74,.14-.22,.09-.37,.23-.45,.42-.05,.1-.07,.19-.07,.3,0,.19,.07,.34,.2,.45,.13,.11,.4,.3,.79,.56,.4,.26,.69,.52,.88,.76,.19,.25,.29,.56,.29,.93,0,.42-.13,.81-.38,1.17-.25,.37-.6,.66-1.05,.87-.45,.21-.94,.32-1.49,.32-.5,0-.98-.11-1.44-.33l.28-1.24Z"})]})]})]})})})}return""}},37991:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96540),i=n(84196);const o=JSON.parse('{"translationTime":{"performanceDates":{"type":"date","format":{"de":"dd., D.M.","en":"dd, D/M","hr":"dd., D.M"}},"performanceDatesWithYear":{"type":"date","format":{"de":"dd., D.M.YY","en":"dd, D/M/YY","hr":"dd., D.M.YY"}},"showtimeDay":{"type":"date","format":{"de":"dd., D.M","en":"dd, D/M","hr":"dd., D.M"}},"showtimePerformance":{"type":"time","format":{"de":"HH:mm","en":"HH:mm","hr":"HH:mm"}},"cinemaStart":{"type":"date","format":{"de":"DD.MM.YYYY","en":"DD/MM/YYYY","hr":"DD/MM/YYYY"}}}}');var s=n(54560);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var c=null,u=Promise.resolve().then(n.t.bind(n,61027,23)).then(function(e){return c=e.default||e});const d=(0,i.Ng)((0,s.A)(function(e,t){return{currentLang:e.getIn(["translation","currentLang"]),timezone:e.getIn(["translation","timezone"])}}
2),null)(function(e){var t=e.id,n=e.timeString,i=e.currentLang,s=e.timezone,l=(e.before,e.after,a((0,r.useState)(Boolean(c)),2)),d=l[0],f=l[1];return(0,r.useEffect)(function(){if(!c){var e=!0;return u.then(function(){e&&f(!0)}),function(){e=!1}}},[]),d&&c?function(e,t,n,r,i){var s,a=o.translationTime;return e().year()!==e(i).year()&&"showtimePerformance"!==t&&(t="performanceDatesWithYear"),s=n&&a[t]&&r&&a[t].format[r]?e.tz(i,n).format(a[t].format[r]):"ERROR",s}(c,t,s,i,n):""})},38120:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(96540)),i=n(34999),o=l(n(11441)),s=l(n(41327)),a=n(29445);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="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},c(e)}function u(){return u=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},u.apply(this,arguments)}function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(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,r.key,r)}}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function p(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 Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;return v(e)}(this,n)}}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=(0,a.canUseDOM)()&&n(22386),w=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}}),t&&m(e,t)}(d,e);var t,n,l,c=p(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),y(v(t=c.call(this,e)),"innerSliderRefHandler",function(e){return t.innerSlider=e}),y(v(t),"slickPrev",function(){return t.innerSlider.slickPrev()}),y(v(t),"slickNext",function(){return t.innerSlider.slickNext()}),y(v(t),"slickGoTo",function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)}),y(v(t),"slickPause",function(){return t.innerSlider.pause("paused")}),y(v(t),"slickPlay",function(){return t.innerSlider.autoPlay("play")}),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=d,(n=[{key:"media",value:function(e,t){b.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,r){var i;i=0===r?(0,o.default)({minWidth:0,maxWidth:n}):(0,o.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,a.canUseDOM)()&&e.media(i,function(){e.setState({breakpoint:n})})});var n=(0,o.default)({minWidth:t.slice(-1)[0]});(0,a.canUseDOM)()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEac
2h(function(e){b.unregister(e.query,e.handler)})}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===n.state.breakpoint}))[0].settings?"unslick":f(f(f({},s.default),this.props),t[0].settings):f(f({},s.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var o=r.default.Children.toArray(this.props.children);o=o.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var a=[],l=null,c=0;c<o.length;c+=e.rows*e.slidesPerRow){for(var d=[],h=c;h<c+e.rows*e.slidesPerRow;h+=e.slidesPerRow){for(var m=[],p=h;p<h+e.slidesPerRow&&(e.variableWidth&&o[p].props.style&&(l=o[p].props.style.width),!(p>=o.length));p+=1)m.push(r.default.cloneElement(o[p],{key:100*c+10*h+p,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(r.default.createElement("div",{key:10*c+h},m))}e.variableWidth?a.push(r.default.createElement("div",{key:c,style:{width:l}},d)):a.push(r.default.createElement("div",{key:c},d))}if("unslick"===e){var v="regular slider "+(this.props.className||"");return r.default.createElement("div",{className:v},o)}return a.length<=e.slidesToShow&&(e.unslick=!0),r.default.createElement(i.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),a)}}])&&h(t.prototype,n),l&&h(t,l),d}(r.default.Component);t.default=w},39253:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}n.d(t,{f:()=>j,Kk:()=>x,Oz:()=>v,Yu:()=>p,Qs:()=>m,oo:()=>h,ij:()=>y,_b:()=>g,Gi:()=>b,JZ:()=>w});var i=window&&"object"===r(window._mtm),o="object"===("undefined"==typeof dataLayer?"undefined":r(dataLayer)),s=n(76075);function a(e){return a="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},a(e)}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]:{};t%2?l(Object(n),!0).forEach(function(t){u(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}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e,t,n,r){i?window._mtm.push(c({event:t,event_category:e,event_origin:n},r)):o?dataLayer.push(c({event:t,event_category:e,event_origin:n},r)):console.log("no tracking tag manager"),"undefined"!=typeof googletag&&null!==googletag||console.log("no tracking googletag")},f=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(i){var o=r?(0,s.A)(i.timeUtc,"Europe/Berlin"):null;d("movie",e,n,c({movie_title:i.movieTitle},r&&{performance_date:o.format("DD.MM.YYYY"),performance_time:o.format("kk:mm")})),t(i)}},h=function(e,t){return f("click_movie_information_open",e,t)},m=function(e,t){return f("click_movie_information_close",e,t)},p=function(e,t){return f("click_movie_details_open",e,t)},v=function(e,t){return f("click_movie_details_close",e,t)},g=function(e,t){return f("click_movie_performance_open",e,t,!0)},y=function(e,t){return f("click_movie_performance_close",e,t,!0)},b=function(e,t){return function(n){d("ui","click_program_change_view",t,{program_view:n.view}),e(n)}},w=function(e,t){return d("ui","click_program_filter",e,{program_filter:t})},x=function(e,t,n){return d("advertisement","advertisement_in_view",e,{id:t,name:n})},j=function(e,t,n,r){return d("advertisement","advertisement_click",e,{id:t,name:n,url:r})}}
2,39343:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(96540),i=n(41126),o=n(74848);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const l=function(e){var t=e.title,n=e.logo,a=e.isSignage,l=void 0!==a&&a,c=s((0,r.useState)(!1),2),u=c[0],d=c[1],f=s((0,r.useState)(!1),2),h=f[0],m=f[1];if(n&&n.url&&!h){var p=(0,i.A)(n.url,!1,!1,!1,!0,!0,l),v=p.finalImageURl,g=p.imageUrl;return(0,o.jsx)("img",{src:v,alt:n.alt||"",className:"movie-logo-title",onError:function(e){var t=e.currentTarget;u?(t.onerror=null,m(!0)):(d(!0),t.onerror=null,t.src=g)}})}return t||null}},39876:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(6649),i=n(74030),o=n(37991),s=n(76075),a=n(76942),l=n(24237);const c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Europe/Berlin";if(!e)return!1;var n=(0,l.A)((0,s.A)(e,t));return(0,l.A)((0,a.A)(t)).isSameOrBefore(n)};var u=n(74848),d=n(12111),f=function(e){var t=e.technicalFilterActive,n=e.preanouncements,i=e.hideAttributes;return(0,u.jsx)("div",{className:"preannouncements-wrapper",children:d.keys(n).map(function(e,s){var a=n[e],l=[e];return(!i||!d.contains(i,e))&&(!t||0===t.length||d.contains(t,e))&&(0,u.jsxs)("div",{className:"preannouncement-hint "+e,children:[(0,u.jsx)(r.A,{attributes:l,canBeColored:!0}),(0,u.jsx)("div",{className:"preannouncements-dates",children:a.map(function(e,t){var n=e.visibleFrom,r=e.id;return(0,u.jsxs)("p",{className:"text-large-bold "+r,children:[" ",(0,u.jsx)(o.A,{id:"performanceDates",timeString:n})]},t)})})]},s)})})};const h=function(e){var t=e.purchasablePerformances,n=e.hasPerformancesWhileHiddenOnesIgnored,r=e.itemData,s=e.programOverviewListStyle,a=e.movieTimesVersion,l=e.queryStringValues,h=e.timezone,m=r.limitations,p=r.startingDate,v=r.startDateDescription,g=r.preanouncements,y=(r.title,m.visibleFrom),b=m.showCountdown,w=l&&l.hideAttributes,x=l&&l.technical,j=!!x&&(Array.isArray(x)?x:[x]),A=0!==d.filter(d.keys(g),function(e){return(!w||!d.contains(w,e))&&(!j||0===j.length||d.contains(j,e))}).length,S=v||(y?(0,u.jsx)(o.A,{id:"performanceDates",timeString:y}):p?(0,u.jsx)(o.A,{id:"performanceDates",timeString:p}):null),O=!!v,k=(0,u.jsxs)("span",{children:[!O&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.Ay,{id:"availableFrom",children:"Verfügbar ab"})," "]}),S]}),P=!!O||c(y||p,h),C=t&&n?(0,u.jsx)(i.Ay,{id:"selectTime",children:"Uhrzeit auswählen"}):null,E=t&&n?P&&S?k:"":!S&&!y||t||A?"":b&&y||!b?k:"",_=t&&n?P&&S?k:"":!S&&!y||t||A?A?"":(0,u.jsx)("span",{children:(0,u.jsx)(i.Ay,{id:"noPerformances",children:"Keine Spielzeiten verfügbar."})}):b&&y||!b?k:"";return a?(0,u.jsxs)("div",{children:[(0,u.jsx)(f,{technicalFilterActive:j,preanouncements:g,hideAttributes:w}),_&&(0,u.jsx)("p",{className:"buy-ticket-hint text-large-bold",children:_}),C&&(0,u.jsx)("p",{className:"buy-ticket-hint text-large-bold",children:C})]}):(0,u.jsxs)("div",{className:"showtimes-title-wrapper",children:[E&&"arthouse_open_movietimes"!==s&&(0,u.jsx)("p",{className:"showtimes-title typo-color-muted title-large",children:E}),C&&"arthouse_open_movietimes"!==s&&(0,u.jsx)("p",{className:"showtimes-title typo-color-muted title-large",children:C})]})};var m=n(53392),p=n(15049),v=n(84196),g=n(54560);const y=(0,v.Ng)((0,g.A)(function(e,t){return{timezone:(0,m.A)(e,p.TRANSLATION_TIMEZONE)}}),null)(function(e){var t=e.timezone,n=e.purchasablePerformances,r=e.hasPerformancesWhileHiddenOnesIgnored,i=e.itemData,o=e.programOverviewListStyle,s=e.movieTimesVersion,a=e.queryStringValues;return(0,u.jsx)(h,{timezone:t,purchasablePerformances:n,hasPerformancesWhileHiddenOnesIgnored:r,itemData:i,programOverviewListStyle:o,movieTimesVersion:s,queryStringValues:a})})}
vendor: 6,019 bytes, line 2
2,40339:(e,t,n)=>{"use strict";n.d(t,{zR:()=>j,TM:()=>C,yJ:()=>m,sC:()=>_,AO:()=>h,Fu:()=>p});var r=n(58168);function i(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}const s=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],s=t&&t.split("/")||[],a=e&&i(e),l=t&&i(t),c=a||l;if(e&&i(e)?s=r:r.length&&(s.pop(),s=s.concat(r)),!s.length)return"/";if(s.length){var u=s[s.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,f=s.length;f>=0;f--){var h=s[f];"."===h?o(s,f):".."===h?(o(s,f),d++):d&&(o(s,f),d--)}if(!c)for(;d--;d)s.unshift("..");!c||""===s[0]||s[0]&&i(s[0])||s.unshift("");var m=s.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var a=n(78783),l=n(11561);function c(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,i=t||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(i+="#"===r.charAt(0)?r:"#"+r),i}function m(e,t,n,i){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",i=t.indexOf("#");-1!==i&&(r=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),i?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=s(o.pathname,i.pathname)):o.pathname=i.pathname:o.pathname||(o.pathname="/"),o}function p(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,a.A)(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,i){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,i):i(!0):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}var b="popstate",w="hashchange";function x(){try{return window.history.state||{}}catch(e){return{}}}function j(e){void 0===e&&(e={}),g||(0,l.A)(!1);var t,n=window.history,i=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),s=e,a=s.forceRefresh,u=void 0!==a&&a,p=s.getUserConfirmation,j=void 0===p?y:p,A=s.keyLength,S=void 0===A?6:A,O=e.basename?f(c(e.basename)):"";function k(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return O&&(o=d(o,O)),m(o,r,n)}function P(){return Math.random().toString(36).substr(2,S)}var C=v();function E(e){(0,r.A)(B,e),B.length=n.length,C.notifyListeners(B.location,B.action)}function _(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||I(k(e.state))}function T(){I(k(x()))}var M=!1;function I(e){if(M)M=!1,E();else{C.confirmTransitionTo(e,"POP",j,function(t){t?E({action:"POP",location:e}):function(e){var t=B.location,n=D.indexOf(t.key);-1===n&&(n=0);var r=D.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(M=!0,R(i))}(e)})}}var N=k(x()),D=[N.key];function L(e){return O+h(e)}function R(e){n.go(e)}var F=0;function V(e){1===(F+=e)&&1===e?(window.addEventListener(b,_),o&&window.addEventListener(w,T)):0===F&&(window.removeEventListener(b,_),o&&window.removeEventListener(w,T))}var $=!1;var B={length:n.length,action:"POP",location:N,createHref:L,push:function(e,t){var r="PUSH",o=m(e,t,P(),B.location);C.confirmTransitionTo(o,r,j,function(e){if(e){var t=L(o),s=o.key,a=o.state;if(i)if(n.pushState({key:s,state:a},null,t),u)window.location.href=t;else{var l=D.indexOf(B.location.key),c=D.slice(0,l+1);c.push(o.key),D=c,E({action:r,location:o})}else window.location.href=t}})},replace:function(e,t){var r="REPLACE",o=m(e,t,P(),B.location);C.confirmTransitionTo(o,r,j,function(e){if(e){var t=L(o),s=o.key,a=o.state;if(i)if(n.replaceState({key:s,state:a},null,t),u)window.location.replace(t);else{var l=D.indexOf(B.location.key);-1!==l&&(D[l]=o.key),E({action:r,location:o})}else window.location.replace(t)}})},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return $||(V(1),$=!0),function(){return $&&($=!1,V(-1)),t()}},listen:function(e){var t=C.appendListener(e);return V(1),function(){V(-1),t()}}};return B}var A="hashchange",S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:c},slash:{encodePath:c,decodePath:c}};function O(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function k(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function P(e){window.location.replace(O(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),g||(0,l.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),i=n.getUserConfirmation,o=void 0===i?y:i,s=n.hashType,a=void 0===s?"
2slash":s,u=e.basename?f(c(e.basename)):"",p=S[a],b=p.encodePath,w=p.decodePath;function x(){var e=w(k());return u&&(e=d(e,u)),m(e)}var j=v();function C(e){(0,r.A)($,e),$.length=t.length,j.notifyListeners($.location,$.action)}var E=!1,_=null;function T(){var e,t,n=k(),r=b(n);if(n!==r)P(r);else{var i=x(),s=$.location;if(!E&&(t=i,(e=s).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(_===h(i))return;_=null,function(e){if(E)E=!1,C();else{var t="POP";j.confirmTransitionTo(e,t,o,function(n){n?C({action:t,location:e}):function(e){var t=$.location,n=D.lastIndexOf(h(t));-1===n&&(n=0);var r=D.lastIndexOf(h(e));-1===r&&(r=0);var i=n-r;i&&(E=!0,L(i))}(e)})}}(i)}}var M=k(),I=b(M);M!==I&&P(I);var N=x(),D=[h(N)];function L(e){t.go(e)}var R=0;function F(e){1===(R+=e)&&1===e?window.addEventListener(A,T):0===R&&window.removeEventListener(A,T)}var V=!1;var $={length:t.length,action:"POP",location:N,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=O(window.location.href)),n+"#"+b(u+h(e))},push:function(e,t){var n="PUSH",r=m(e,void 0,void 0,$.location);j.confirmTransitionTo(r,n,o,function(e){if(e){var t=h(r),i=b(u+t);if(k()!==i){_=t,function(e){window.location.hash=e}(i);var o=D.lastIndexOf(h($.location)),s=D.slice(0,o+1);s.push(t),D=s,C({action:n,location:r})}else C()}})},replace:function(e,t){var n="REPLACE",r=m(e,void 0,void 0,$.location);j.confirmTransitionTo(r,n,o,function(e){if(e){var t=h(r),i=b(u+t);k()!==i&&(_=t,P(i));var o=D.indexOf(h($.location));-1!==o&&(D[o]=t),C({action:n,location:r})}})},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=j.setPrompt(e);return V||(F(1),V=!0),function(){return V&&(V=!1,F(-1)),t()}},listen:function(e){var t=j.appendListener(e);return F(1),function(){F(-1),t()}}};return $}function E(e,t,n){return Math.min(Math.max(e,t),n)}function _(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,i=t.initialEntries,o=void 0===i?["/"]:i,s=t.initialIndex,a=void 0===s?0:s,l=t.keyLength,c=void 0===l?6:l,u=v();function d(e){(0,r.A)(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function f(){return Math.random().toString(36).substr(2,c)}var p=E(a,0,o.length-1),g=o.map(function(e){return m(e,void 0,"string"==typeof e?f():e.key||f())}),y=h;function b(e){var t=E(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,function(e){e?d({action:"POP",location:r,index:t}):d()})}var w={length:g.length,action:"POP",location:g[p],index:p,entries:g,createHref:y,push:function(e,t){var r="PUSH",i=m(e,t,f(),w.location);u.confirmTransitionTo(i,r,n,function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,i):n.push(i),d({action:r,location:i,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",i=m(e,t,f(),w.location);u.confirmTransitionTo(i,r,n,function(e){e&&(w.entries[w.index]=i,d({action:r,location:i}))})},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},41126:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=pmkinoFrontVars&&pmkinoFrontVars.cliData&&pmkinoFrontVars.cliData.flyImageUrl?pmkinoFrontVars.cliData.flyImageUrl:"",l=!!(pmkinoFrontVars&&pmkinoFrontVars.cliData&&pmkinoFrontVars.cliData.flyImageActive)&&pmkinoFrontVars.cliData.flyImageActive;if(!e)return{finalImageURl:null,url:null};var c=i?e:e.url,u=i?null:e.positionY?e.positionY:e.position,d=i?null:e.positionX?e.positionX:50,f="";n?-1===c.search("orchestrationlayer.cloudticket.net")&&-1===c.search("cineorder-content-uat.cloudticket.net")&&-1===c.search("contentservice.cineorder.shop")&&-1===c.search("content.uat.cineorder.shop")||(f="&size=400"):-1===c.search("orchestrationlayer.cloudticket.net")&&-1===c.search("cineorder-content-uat.cloudticket.net")&&-1===c.search("contentservice.cineorder.shop")&&-1===c.search("content.uat.cineorder.shop")||(f=t?"&size=1000":"&size=2000");var h=c+f,m=h;return a&&!f&&l&&(m=a+(o?s?"q_100,w_1200/":"q_75,w_400/":n?s?"q_100,w_2000/":t?"q_60,w_300/":"q_60,w_400/":t?"q_60,w_1500/":"q_60,w_2000/")+encodeURIComponent(h)),{finalImageURl:m,imageUrl:h,position:r&&u&&d?"".concat(d,"% ").concat(u,"%"):"top"}}},41316:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(89203),i=n(74030),o=n(74848);const s=function(e){var t=e.directors,n=e.actors;return t?1===t.length?(0,o.jsxs)("span",{className:"text-light",children:[n&&n[0]?(0,o.jsx)(i.Ay,{before:" ",id:"inMovieBy",after:" "}):(0,o.jsx)(i.Ay,{before:"",id:"movieBy",after:" "}),(0,r.A)(t[0].name)]}):2===t.length?(0,o.jsxs)("span",{className:"text-light",children:[n&&n[0]?(0,o.jsx)(i.Ay,{before:" ",id:"inMovieBy",after:" "}):(0,o.jsx)(i.Ay,{before:"",id:"movieBy",after:" "}),(0,o.jsx)(i.Ay,{id:"and",before:(0,r.A)(t[0].name)+" ",after:" "+(0,r.A)(t[1].name),children:"und"})]}):"":""}},41327:(e,t,n)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(96540))&&r.__esModule?r:{default:r};var o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return i.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return i.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=o},41600:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,Gb:()=>h,Mo:()=>f,Qv:()=>d,UG:()=>m,lT:()=>p});var r=n(54625),i=n(30699),o=n(82903),s=n(74030),a=n(74848),l=n(12111);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var d="time",f="filterWeekDays",h=function(e){return l.omit(e,d)},m=function(e,t,n){var r=e[t];return[r.movies,r.name]},p=function(e,t,n){var r="",o=null;if("all"===e)o=null;else{if(o="?".concat(d,"=").concat(e),t)-1!==t.indexOf(e)&&(r=" filter-active accent-color-font",o=null);o=(0,i.A)(n,o)}return[r,o]};const v=function(e){var t=e.dayFilters,n=e.filterStrings,i=e.queryStringValues,l=e.closeEverything,u=e.additionalClassName,v=e.currentLang,g=(0,o.G)(i,d),y=h(n);return Object.keys(t).map(function(e,n){if(e===f)return"";var i=c(m(t,e,v),2),o=i[0],d=i[1],h=c(p(e,g,y),2),b=h[0],w=h[1];return o&&o.length>0||"all"===e?(0,a.jsx)(r.N_,{onClick:function(){return l()},className:u+"-filter-button title-large"+b+" "+e,to:{search:w},children:(0,a.jsx)(s.Ay,{id:d})},n):(0,a.jsx)("span",{onClick:function(){return l()},className:u+"-filter-button title-large"+b+" filter-inactive "+e,children:(0,a.jsx)(s.Ay,{id:d})},n)})}},41769:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},41770:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(12111);const i=function(e,t,n,i,o){var s=i||[],a=[],l=!1;return(t||[]).map(function(t){e&&e[t]&&(a=r.union(a,e[t].movies),l=!0)}),l&&o&&0!==o.length?(s.map(function(e){var t=n?n[e]:null;t&&t.performances&&0===t.performances.length&&(r.find(t.technologyAttributes,function(e){return r.contains(o,e.id)})&&(a=r.union(a,[e])))}),a):a}},42233:(e,t,n)=>{"use strict";n.d(t,{N7:()=>A,cq:()=>w,mN:()=>x,n3:()=>j});var r=n(96540),i=n(40961);function o(e){return o="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},o(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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,c(r.key),r)}}function l(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function u(e,t,n){return t=f(t),function(e,t){if(t&&("object"==o(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)}(e,d()?Reflect.construct(t,n||[],f(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(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&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var p=document.querySelector("#custom-content-popup"),v=document.querySelector("#site-slidebar-right"),g=document.querySelector("#site-slidebar-right-second"),y=document.querySelector("#site-slidebar-left"),b=document.querySelector("html"),w=function(e){function t(e){var n;return s(this,t),(n=u(this,t,[e])).elWrapper=b,n.el=document.createElement("div"),n.el.classList.add("slidebar-inner","slidebar-right-inner"),n}
2return h(t,e),l(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.isNavigation,n=e.headerAppearance,r=t?"slidebar-right-nav-open":"slidebar-right-open",i="filled_with_color"===n?"colored-header":"partly_filled_with_color"===n?"partly-colored-header":"";v.appendChild(this.el),this.elWrapper.classList.add(r),i&&v.classList.add(i)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.isNavigation,n=e.removeHtmlClass,r=e.headerAppearance,i=t?"slidebar-right-nav-open":"slidebar-right-open",o="filled_with_color"===r?"colored-header":"partly_filled_with_color"===r?"partly-colored-header":"";n&&n("navigation-is-active"),v.removeChild(this.el),this.elWrapper.classList.remove(i),o&&v.classList.remove(o)}},{key:"render",value:function(){return(0,i.createPortal)(this.props.children,this.el)}}])}(r.Component),x=function(e){function t(e){var n;return s(this,t),(n=u(this,t,[e])).elWrapper=b,n.el=document.createElement("div"),n.el.classList.add("slidebar-inner","slidebar-right-second-inner"),n}return h(t,e),l(t,[{key:"componentDidMount",value:function(){g.appendChild(this.el),this.elWrapper.classList.add("slidebar-right-second-open")}},{key:"componentWillUnmount",value:function(){g.removeChild(this.el),this.elWrapper.classList.remove("slidebar-right-second-open")}},{key:"render",value:function(){return(0,i.createPortal)(this.props.children,this.el)}}])}(r.Component),j=function(e){function t(e){var n;return s(this,t),(n=u(this,t,[e])).elWrapper=b,n.el=document.createElement("div"),n.el.classList.add("slidebar-inner","slidebar-left-inner"),n}return h(t,e),l(t,[{key:"componentDidMount",value:function(){y.appendChild(this.el),y.classList.add(this.props.informationStyling),this.elWrapper.classList.add("slidebar-left-open")}},{key:"componentWillUnmount",value:function(){y.removeChild(this.el),y.classList.remove(this.props.informationStyling),this.elWrapper.classList.remove("slidebar-left-open")}},{key:"render",value:function(){return(0,i.createPortal)(this.props.children,this.el)}}])}(r.Component),A=function(e){function t(e){var n;return s(this,t),(n=u(this,t,[e])).elWrapper=b,n.el=document.createElement("div"),n}return h(t,e),l(t,[{key:"componentDidMount",value:function(){document.getElementById("custom-popup-wrapper-inner")||(p.appendChild(this.el),this.el.setAttribute("id","custom-popup-wrapper-inner"))}},{key:"componentWillUnmount",value:function(){var e=document.getElementById("custom-popup-wrapper-inner");e&&p.removeChild(e)}},{key:"render",value:function(){return(0,i.createPortal)(this.props.children,this.el)}}])}(r.Component)},42831:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(74030),i=n(74848);const o=function(e){var t=e.length,n=e.className,o=void 0===n?"":n;return t?(0,i.jsxs)("p",{className:"text-medium length "+o,children:[(0,i.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19.26 19.26",children:(0,i.jsxs)("g",{id:"Ebene_1-2",children:[(0,i.jsx)("path",{className:"cls-1",d:"M9.63,1.5c4.48,0,8.13,3.65,8.13,8.13s-3.65,8.13-8.13,8.13S1.5,14.11,1.5,9.63,5.15,1.5,9.63,1.5M9.63,0C4.31,0,0,4.31,0,9.63s4.31,9.63,9.63,9.63,9.63-4.31,9.63-9.63S14.95,0,9.63,0h0Z"}),(0,i.jsx)("polygon",{className:"cls-1",points:"13.28 13.32 8.88 10.6 8.88 5.5 10.38 5.5 10.38 9.76 14.07 12.04 13.28 13.32"})]})}),(0,i.jsxs)("span",{className:"minutes",children:[" ",t," ",(0,i.jsx)(r.Ay,{id:"movieLengthUnit",children:"Minuten"})]})]}):""}},43591:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&l()}function a(){s(o)}function l(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);i=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
vendor: 4,233 bytes, line 2
2w e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},f=y(0,0,0,0);function h(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+h(e["border-"+n+"-width"])},0)}function p(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=h(o)}return t}(r),o=i.left+i.right,s=i.top+i.bottom,a=h(r.width),l=h(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==t&&(a-=m(r,"left","right")+o),Math.round(l+s)!==n&&(l-=m(r,"top","bottom")+s)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(a+o)-t,u=Math.round(l+s)-n;1!==Math.abs(c)&&(a-=c),1!==Math.abs(u)&&(l-=u)}return y(i.left,i.top,a,l)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return i?v(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):p(e):f}function y(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),w=function(e,t){var n,r,i,o,s,a,l,c=(r=(n=t).x,i=n.y,o=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(a.prototype),u(l,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),l);u(this,{target:e,contentRect:c})},x=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new w(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),j="undefined"!=typeof WeakMap?new WeakMap:new r,A=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new x(t,n,this);j.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){A.prototype[e]=function(){var t;return(t=j.get(this))[e].apply(t,arguments)}});const S=void 0!==o.ResizeObserver?o.ResizeObserver:A},44177:(e,t,n)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(25858),o=(r=i)&&r.__esModule?r:{default:r},s=n(53999);var a={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(e,t){if(e){var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:66;return(0,o.default)(e,t)}(function(t){a.scrollHandler(e)},t);return a.scrollSpyContainers.push(e),(0,s.addPassiveEventListener)(e,"scroll",n),function(){(0,s.removePassiveEventListener)(e,"scroll",n),a.scrollSpyContainers.splice(a.scrollSpyContainers.indexOf(e),1)}}return function(){}},isMounted:function(e){return-1!==a.scrollSpyContainers.indexOf(e)},currentPositionX:function(e){if(e===document){var t=void 0!==window.scrollY,n="CSS1Compat"===(document.compatMode||"");return t?window.scrollX:n?document.documentElement.scrollLeft:document.body.scrollLeft}return e.scrollLeft},currentPositionY:function(e){if(e===document){var t=void 0!==window.scrollX,n="CSS1Compat"===(document.compatMode||"");return t?window.scrollY:n?document.documentElement.scrollTop:document.body.scrollTop}return e.scrollTop},scrollHandler:function(e){(a.scrollSpyContainers[a.scrollSpyContainers.indexOf(e)].spyCallbacks||[]).forEach(function(t){return t(a.currentPositionX(e),a.currentPositionY(e))})},addStateHandler:function(e){a.spySetState.push(e)},addSpyHandler:function(e,t){var n=a.scrollSpyContainers[a.scrollSpyContainers.indexOf(t)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(e)},updateStates:function(){a.spySetState.forEach(function(e){return e()})},unmount:function(e,t){a.scrollSpyContainers.forEach(function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.indexOf(t)>-1&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(t),1)}),a.spySetState&&a.spySetState.length&&a.spySetState.indexOf(e)>-1&&a.spySetState.splice(a.spySetState.indexOf(e),1),document.removeEventListener("scroll",a.scrollHandler)},update:function(){return a.scrollSpyContainers.forEach(function(e){return a.scrollHandler(e)})}};t.default=a},44317:(e,t,n)=>{"use strict";n.d(t,{Ac:()=>c,NG:()=>r,RJ:()=>a,TO:()=>i,VC:()=>l,X:()=>o,m_:()=>s});var r="kinoheld",i="compeso",o="mars",s="marsX",a="dieselV2",l="cortec",c="vista"},44609:(e,t,n)=>{"use strict";n.d(t,{q:()=>i,w:()=>o});var r=n(74848);function i(e){var t=e.onClick;return(0,r.jsx)("div",{className:"slider-arrow next cursor-pointer",onClick:t,children:(0,r.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18.13 50",children:(0,r.jsx)("polygon",{className:"cls-1",points:"18.13 24.22 2.52 0 0 1.63 14.6 24.27 0.01 48.45 2.57 50 18.13 24.22"})})})}function o(e){var t=e.onClick;return(0,r.jsx)("div",{className:"slider-arrow prev cursor-pointer",onClick:t,children:(0,r.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18.13 50",children:(0,r.jsx)("polygon",{className:"cls-1",points:"0 25.78 15.61 50 18.13 48.38 3.54 25.73 18.13 1.55 15.56 0 0 25.78"})})})}},44666:e=>{"use strict";var t;t=function(){var e={},t={};return e.on=function(e,n){var r={name:e,handler:n};return t[e]=t[e]||[],t[e].unshift(r),r},e.off=function(e){var n=t[e.name].indexOf(e);-1!==n&&t[e.name].splice(n,1)},e.trigger=function(e,n){var r,i=t[e];if(i)for(r=i.length;r--;)i[r].handler(n)},e},e.exports=t},44748:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(63004),o=(r=i)&&r.__esModule?r:{default:r};t.default={pauseVideo:{acceptableStates:[o.default.ENDED,o.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[o.default.ENDED,o.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[o.default.ENDED,o.default.PLAYING,o.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},45168:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=1)}([function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(arguments.length>1)return Promise.all(Array.prototype.slice.call(arguments).map(e));var n=u(t);return new Promise(function(e,i){if(c(t)&&t.url||n){n&&(t={url:t}),t=Object.assign({},v,t);var o=d(t);if(o){var s=f(t),a=t.removeScript;if(t.callBackName||t.jsonp){var l=r(p(t),3),u=l[0],g=l[1],y=l[2];t.url=u,g[y]=function(n){delete g[y],m(a,o,s),h(t),e(n||a?void 0:s)}}else s.addEventListener("load",function(){m(a,o,s),h(t),e(a?void 0:s)});s.addEventListener("error",function(){o.removeChild(s),i("Error: loading script")}),s.src=t.url,o.appendChild(s)}else i("Error: no DOM element to append script")}else i("Error: object with url or url string needed")})};var o=window,s="_$_".concat("simpleLoadScript","CallBacks_$_"),a=0,l=function(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()},c=function(e){return"object"===l(e)},u=function(e){return"string"===l(e)},d=function(e){return e.insertInto?document.querySelector(e.insertInto):e.inBody?document.body:document.head},f=function(e){var t=document.createElement("script");if(e.attrs&&c(e.attrs))for(var n=0,r=Object.keys(e.attrs);n<r.length;n++){var i=r[n];t.setAttribute(i,e.attrs[i])}return t},h=function(e){e.callBack&&"function"===l(e.callBack)&&e.callBack()},m=function(e,t,n){e&&t.removeChild(n)},p=function(e){var t=e.callBackName;return[e.url,t?o:(o[s]=c(o[s])?o[s]:{},o[s]),t||"script-".concat(a++)]},v={jsonp:!1,callBackParamName:"callback",removeScript:!1,callBackName:null};e.exports=t.default},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r);function o(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}OpenPlayer&&OpenPlayer.addMedia("youtube","video/x-youtube",function(e){return/\/\/(www\.youtube|youtu\.?be)/i.test(e)?"video/x-youtube":null},function(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=1,c=!1,u=!0,d=new Promise(function(e){e()}),f="op-yt__".concat(e.id||(new Date).getTime()),h="AUDIO"===e.tagName,m=s(s({},{url:"https://www.youtube.com/iframe_api",autoplay:0,controls:0,disablekb:1,end:0,loop:0,modestbranding:0,playsinline:0,rel:0,showinfo:0,start:0,iv_load_policy:3,nocookie:!1}),a),p=m.url,v=m.nocookie;function g(e){var t=e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);return t&&11==t[2].length?t[2]:"error"}function y(){r=setInterval(function(){var t=new CustomEvent("timeupdate");e.dispatchEvent(t)},250)}function b(){r&&clearInterval(r)}delete m.url,delete m.nocookie;var w={id:f,videoId:g(t.src),height:h?1:e.offsetHeight,width:h?1:e.offsetWidth,playerVars:m,origin:window.location.host,events:{onReady:function(t){var r=(n=t.target).getIframe();e.muted&&n.mute(),["mouseover","mouseout"].forEach(function(t){r.addEventListener(t,function(t){var n=new CustomEvent(t.type);e.dispatchEvent(n)})}),["loadedmetadata","loadeddata","canplay"].forEach(function(t){var n=new CustomEvent(t);e.dispatchEvent(n)})},onStateChange:function(t){var n=[];switch(t.data){case 0:n=["ended"],u=!1,c=!m.loop,m.loop||b();break;
2case 1:n=["play","playing"],u=!1,c=!1,y();break;case 2:n=["pause"],u=!0,c=!1,b();break;case 3:n=["progress"],c=!1;break;case 5:n=["loadeddata","loadedmetadata","canplay"],u=!0,c=!1;break;default:n=["loadedmetadata"],u=!0,c=!1}for(var r=0,i=n.length;r<i;r++){var o=new CustomEvent(n[r]);e.dispatchEvent(o)}},onError:function(e){var t="";switch(e.data){case 2:t="The request contains an invalid parameter value. Verify that video ID has 11 \n                            characters and that contains no invalid characters, such as exclamation points or asterisks.";break;case 5:t="The requested content cannot be played in an HTML5 player or another error \n                            related to the HTML5 player has occurred.";break;case 100:t="The video requested was not found. Either video has been removed or has been marked as private.";break;case 101:case 105:t="The owner of the requested video does not allow it to be played in embedded players.";break;default:t="Unknown error."}console.error("YouTube Error: ".concat(t))}}};function x(){if(!document.getElementById(f)){var n=document.createElement("div");return n.id=f,v&&(t.src=t.src.replace(".com","-nocookie.com")),e.parentNode.insertBefore(n,e),e.style.display="none",(h||e.hasAttribute("playsinline"))&&(m.playsinline=1),o&&(m.autoplay=1),e.loop&&(m.loop=1),(1===m.loop||t.src.indexOf("loop=")>-1)&&!m.playlist&&-1===t.src.indexOf("playlist=")&&(m.playlist=g(t.src)),m.controls=0,m.enablejsapi=1,"undefined"!=typeof YT&&YT.loaded||i()(p),this}}function j(){return null}function A(e){return"video/x-youtube"===e}function S(){n.playVideo()}function O(){n.pauseVideo()}function k(){n&&n.destroy()}return window.YT?(x(),new YT.Player(f,w)):window.onYouTubeIframeAPIReady=function(){return x(),new YT.Player(f,w)},Object.freeze({promise:d,create:x,load:j,canPlayType:A,play:S,pause:O,destroy:k,set src(e){if(_source="string"==typeof e?e:e[0].src,n){var t=g(_source);o?n.loadVideoById(t):n.cueVideoById(t)}},get src(){return n?n.getVideoUrl():""},set volume(t){l=t,n&&(n.setVolume(100*t),setTimeout(function(){var t=new CustomEvent("volumechange");e.dispatchEvent(t)},50))},get volume(){return n&&(l=n.getVolume()/100),l},set muted(t){n&&(t?n.mute():n.unMute(),setTimeout(function(){var t=new CustomEvent("volumechange");e.dispatchEvent(t)},50))},get muted(){return!!n&&n.isMuted()},set playbackRate(e){n&&n.setPlaybackRate(e)},get playbackRate(){return n?n.getPlaybackRate():1},set defaultPlaybackRate(e){n&&n.setPlaybackRate(e)},get defaultPlaybackRate(){return n?n.getPlaybackRate():1},set currentTime(t){n&&(n.seekTo(t),setTimeout(function(){var t=new CustomEvent("timeupdate");e.dispatchEvent(t)},50))},get currentTime(){return n?n.getCurrentTime():0},get duration(){return n?n.getDuration():0},get paused(){return u},get ended(){return c}})})}]).default},45520:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(25923),i=n(236),o=n(60683),s=n(76075),a=n(24237),l=n(8689),c=n(28344);const u=function(e,t,n){var u,d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",f=arguments.length>4?arguments[4]:void 0,h=arguments.length>5?arguments[5]:void 0,m=(0,c.A)(t);h&&(m=(0,a.A)(t.clone()));var p=(0,o.A)(m),v=(0,i.A)(e,f),g=v.find(function(e){return(0,a.A)((0,s.A)(e.timeUtc,n)).isSameOrAfter(t)});if(!g)return"";var y=(0,a.A)((0,s.A)(f[g].timeUtc,n));return""!==d&&d&&(p=(0,o.A)(m,d)),u=y.isSameOrBefore(p)?(0,r.A)(t,p):(0,r.A)(y,(0,a.A)((0,s.A)(v[v.length-1].timeUtc,n))),e.map(function(e){var t=f[e],r=(0,s.A)(t.timeUtc,n),i=(0,l.A)(r);u.hasOwnProperty(i)?u[i].push(t):r.isSameOrAfter(p)&&(u[i]=[],u[i].push(t))}),u}},46054:(e,t,n)=>{var r={"./unidy-login.entry.js":[43465,465]};function i(e){if(!n.o(r,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],i=t[0];return n.e(t[1]).then(()=>n(i))}i.keys=()=>Object.keys(r),i.id=46054,e.exports=i},46095:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const r=function(e){return e.find(function(e){return"owefwefwefv"===e.id})};const i=function(e){if(!e)return"";var t=e.technologyAttributes,n=e.titleDisplay,i=e.origTitle,o=e.title;return n||(r(t)&&i?i:o)}},46694:(e,t,n)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(6147),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return new Promise(function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)t(window.YT);else{var n="http:"===window.location.protocol?"http:":"https:";(0,o.default)(n+"//www.youtube.com/iframe_api",function(t){t&&e.trigger("error",t)});var r=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){r&&r(),t(window.YT)}}})},e.exports=t.default},46942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},47774:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(91477),i=n(84196),o=n(65302),s=n(74030),a=n(74848);const l=(0,i.Ng)(null,function(e,t){return{setTrailerMovie:function(t){e((0,o.ux)(t))}}})(function(e){var t=e.trailerURL,n=e.fsk,i=e.setTrailerMovie,o={trailerUrl:t,fsk:n};return(0,a.jsx)("div",{className:"trailer-small",children:(0,a.jsxs)("div",{className:"trailer-button cursor-pointer",onClick:function(){return i(o)},children:[(0,a.jsx)("span",{className:"title-large",children:(0,a.jsx)(s.Ay,{id:"trailer",children:"Trailer"})}),(0,a.jsx)(r.A,{})]})})})},48304:(e,t,n)=>{"use strict";n.d(t,{b:()=>Ce,c:()=>G,g:()=>q,h:()=>B,p:()=>y,r:()=>u});const r="hydrated",i=!0,o=!0,s=!1;var a=Object.defineProperty,l=(e,t)=>{var n;const r=t.$cmpMeta$;Object.entries(null!=(n=r.$members$)?n:{}).map(([n,[r]])=>{if(31&r||32&r){const r=e[n],i=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),n);Object.defineProperty(e,n,{get(){return i.get.call(this)},set(e){i.set.call(this,e)},configurable:!0,enumerable:!0}),e[n]=t.$instanceValues$.has(n)?t.$instanceValues$.get(n):r}})},c=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},u=(e,t)=>{e.__stencil__getHostRef=()=>t,t.$lazyInstance$=e,l(e,t)},d=(e,t)=>t in e,f=(e,t)=>(0,console.error)(e,t),h=new Map,m=new Map,p="slot-fb{display:contents}slot-fb[hidden]{display:none}",v="undefined"!=typeof window?window:{},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},y=e=>Promise.resolve(e),b=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),w=!!b&&(()=>!!v.document&&Object.getOwnPropertyDescriptor(v.document.adoptedStyleSheets,"length").writable)(),x=!1,j=[],A=[],S=(e,t)=>n=>{e.push(n),x||(x=!0,t&&4&g.$flags$?P(k):g.raf(k))},O=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){f(e)}e.length=0},k=()=>{O(j),O(A),(x=j.length>0)&&g.raf(k)},P=e=>y().then(e),C=S(A,!0),E=e=>"object"===(e=typeof e)||"function"===e;function _(e){var t,n,r;return null!=(r=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?r:void 0}((e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})})({},{err:()=>M,map:()=>I,ok:()=>T,unwrap:()=>D,unwrapErr:()=>L});var T=e=>({isOk:!0,isErr:!1,value:e}),M=e=>({isOk:!1,isErr:!0,value:e});function I(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(e=>T(e)):T(n)}if(e.isErr){const t=e.value;return M(t)}throw"should never get here"}var N,D=e=>{if(e.isOk)return e.value;throw e.value},L=e=>{if(e.isErr)return e.value;throw e.value};function R(e){const t=this.attachShadow({mode:"open"});void 0===N&&(N=null!=void 0?undefined:null),N&&(w?t.adoptedStyleSheets.push(N):t.adoptedStyleSheets=[...t.adoptedStyleSheets,N])}var F=new WeakMap,V=e=>
2{const t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,i=(t.$tagName$,()=>{}),o=((e,t)=>{var n;const r=$(t),i=m.get(r);if(!v.document)return r;if(e=11===e.nodeType?e:v.document,i)if("string"==typeof i){e=e.head||e;let o,s=F.get(e);if(s||F.set(e,s=new Set),!s.has(r)){{o=v.document.createElement("style"),o.innerHTML=i;const r=null!=(n=g.$nonce$)?n:_(v.document);if(null!=r&&o.setAttribute("nonce",r),!(1&t.$flags$))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(o,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(b){const t=new CSSStyleSheet;t.replaceSync(i),w?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=i+t.innerHTML:e.prepend(o)}else e.append(o);1&t.$flags$&&e.insertBefore(o,null)}4&t.$flags$&&(o.innerHTML+=p),s&&s.add(r)}}else e.adoptedStyleSheets.includes(i)||(w?e.adoptedStyleSheets.push(i):e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&r&&(n["s-sc"]=o,n.classList.add(o+"-h")),i()},$=(e,t)=>"sc-"+e.$tagName$,B=(e,t,...n)=>{let r=null,i=!1,o=!1;const s=[],a=t=>{for(let n=0;n<t.length;n++)r=t[n],Array.isArray(r)?a(r):null!=r&&"boolean"!=typeof r&&((i="function"!=typeof e&&!E(r))&&(r=String(r)),i&&o?s[s.length-1].$text$+=r:s.push(i?U(null,r):r),o=i)};if(a(n),t){const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}const l=U(e,null);return l.$attrs$=t,s.length>0&&(l.$children$=s),l},U=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null};return n},H={},W=e=>{const t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};W("::slotted"),W(":host"),W(":host-context");var z,Z=(e,t,n)=>null==e||E(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?String(e):e,q=e=>{var t;return null==(t=c(e))?void 0:t.$hostElement$},G=(e,t,n)=>{const r=q(e);return{emit:e=>Y(r,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},Y=(e,t,n)=>{const r=g.ce(t,n);return e.dispatchEvent(r),r},X=(e,t,n,r,i,o,s)=>{if(n===r)return;let a=d(e,t),l=t.toLowerCase();if("class"===t){const t=e.classList,i=Q(n);let o=Q(r);t.remove(...i.filter(e=>e&&!o.includes(e))),t.add(...o.filter(e=>e&&!i.includes(e)))}else if("ref"===t)r&&r(e);else if(a||"o"!==t[0]||"n"!==t[1]){const s=E(r);if((a||s&&null!==r)&&!i)try{if(e.tagName.includes("-"))e[t]!==r&&(e[t]=r);else{const i=null==r?"":r;"list"===t?a=!1:null!=n&&e[t]==i||("function"==typeof e.__lookupSetter__(t)?e[t]=i:e.setAttribute(t,i))}}catch(e){}null==r||!1===r?!1===r&&""!==e.getAttribute(t)||e.removeAttribute(t):(!a||4&o||i)&&!s&&1===e.nodeType&&(r=!0===r?"":r,e.setAttribute(t,r))}else if(t="-"===t[2]?t.slice(3):d(v,l)?l.slice(2):l[2]+t.slice(3),n||r){const i=t.endsWith(J);t=t.replace(ee,""),n&&g.rel(e,t,n,i),r&&g.ael(e,t,r,i)}},K=/\s/,Q=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(K):[]),J="Capture",ee=new RegExp(J+"$"),te=(e,t,n,r)=>{const i=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||{},s=t.$attrs$||{};for(const e of ne(Object.keys(o)))e in s||X(i,e,o[e],void 0,n,t.$flags$);for(const e of ne(Object.keys(s)))X(i,e,o[e],s[e],n,t.$flags$)};function ne(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var re=!1,ie=(e,t,n)=>{const r=t.$children$[n];let i,o,s=0;if(null!==r.$text$)i=r.$elm$=v.document.createTextNode(r.$text$);else{if(re||(re="svg"===r.$tag$),!v.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(i=r.$elm$=v.document.createElementNS(re?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r.$tag$),re&&"foreignObject"===r.$tag$&&(re=!1),te(null,r,re),r.$children$)for(s=0;s<r.$children$.length;++s)o=ie(e,r,s),o&&i.appendChild(o);"svg"===r.$tag$?re=!1:"foreignObject"===i.tagName&&(re=!0)}return i["s-hn"]=z,i},oe=(e,t,n,r,i,o)=>{let s,a=e;for(a.shadowRoot&&a.tagName===z&&(a=a.shadowRoot);i<=o;++i)r[i]&&(s=ie(null,n,i),s&&(r[i].$elm$=s,ue(a,s,t)))},se=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.$elm$;ce(t),e&&e.remove()}}},ae=(e,t,n=!1)=>e.$tag$===t.$tag$&&(n&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0),le=(e,t,n=!1)=>{const r=t.$elm$=e.$elm$,i=e.$children$,s=t.$children$,a=t.$tag$,l=t.$text$;null===l?(te(e,t,re="svg"===a||"foreignObject"!==a&&re),null!==i&&null!==s?((e,t,n,r,i=!1)=>{let o,s=0,a=0,l=t.length-1,c=t[0],u=t[l],d=r.length-1,f=r[0],h=r[d];for(;s<=l&&a<=d;)null==c?c=t[++s]:null==u?u=t[--l]:null==f?f=r[++a]:null==h?h=r[--d]:ae(c,f,i)?(le(c,f,i),c=t[++s],f=r[++a]):ae(u,h,i)?(le(u,h,i),u=t[--l],h=r[--d]):ae(c,h,i)?(le(c,h,i),ue(e,c.$elm$,u.$elm$.nextSibling),c=t[++s],h=r[--d]):ae(u,f,i)?(le(u,f,i),ue(e,u.$elm$,c.$elm$),u=t[--l],f=r[++a]):(o=ie(t&&t[a],n,a),f=r[++a],o&&ue(c.$elm$.parentNode,o,c.$elm$));s>l?oe(e,null==r[d+1]?null:r[d+1].$elm$,n,r,a,d):a>d&&se(t,s,l)})(r,i,t,s,n):null!==s?(null!==e.$text$&&(r.textContent=""),oe(r,null,t,s,0,s.length-1)):!n&&o&&null!==i&&se(i,0,i.length-1),re&&"svg"===a&&(re=!1)):e.$text$!==l&&(r.data=l)},ce=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ce)}
2,ue=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),de=(e,t,n=!1)=>{const r=e.$hostElement$,i=e.$vnode$||U(null,null);var o;const s=(o=t)&&o.$tag$===H?t:B(null,null,t);if(z=r.tagName,n&&s.$attrs$)for(const e of Object.keys(s.$attrs$))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.$attrs$[e]=r[e]);s.$tag$=null,s.$flags$|=4,e.$vnode$=s,s.$elm$=i.$elm$=r.shadowRoot||r,le(i,s,n)},fe=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){const n=t["s-p"].push(new Promise(r=>e.$onRenderResolve$=()=>{t["s-p"].splice(n-1,1),r()}))}},he=(e,t)=>{if(e.$flags$|=16,4&e.$flags$)return void(e.$flags$|=512);fe(e,e.$ancestorComponent$);const n=()=>me(e,t);if(!t)return C(n);queueMicrotask(()=>{n()})},me=(e,t)=>{const n=e.$hostElement$,r=(e.$cmpMeta$.$tagName$,()=>{}),i=e.$lazyInstance$;if(!i)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=xe(i,t?"componentWillLoad":"componentWillUpdate",void 0,n),o=pe(o,()=>xe(i,"componentWillRender",void 0,n)),r(),pe(o,()=>ge(e,i,t))},pe=(e,t)=>ve(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),ve=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ge=async(e,t,n)=>{var r;const i=e.$hostElement$,o=(e.$cmpMeta$.$tagName$,()=>{}),s=i["s-rc"];n&&V(e);const a=(e.$cmpMeta$.$tagName$,()=>{});ye(e,t,i,n),s&&(s.map(e=>e()),i["s-rc"]=void 0),a(),o();{const t=null!=(r=i["s-p"])?r:[],n=()=>be(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},ye=(e,t,n,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,de(e,t,r)}catch(t){f(t,e.$hostElement$)}return null},be=e=>{e.$cmpMeta$.$tagName$;const t=e.$hostElement$,n=()=>{},r=e.$lazyInstance$,i=e.$ancestorComponent$;xe(r,"componentDidRender",void 0,t),64&e.$flags$?(xe(r,"componentDidUpdate",void 0,t),n()):(e.$flags$|=64,je(t),xe(r,"componentDidLoad",void 0,t),n(),e.$onReadyResolve$(t),i||we()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&P(()=>he(e,!1)),e.$flags$&=-517},we=e=>{P(()=>Y(v,"appload",{detail:{namespace:"unidy-login"}}))},xe=(e,t,n,r)=>{if(e&&e[t])try{return e[t](n)}catch(e){f(e,r)}},je=e=>{var t;return e.classList.add(null!=(t=r)?t:"hydrated")},Ae=(e,t,n,r)=>{const i=c(e);if(!i)return;if(!i)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const o=i.$instanceValues$.get(t),s=i.$flags$,a=i.$lazyInstance$;n=Z(n,r.$members$[t][0]);const l=Number.isNaN(o)&&Number.isNaN(n);if((!(8&s)||void 0===o)&&(n!==o&&!l)&&(i.$instanceValues$.set(t,n),a&&2==(18&s))){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(n,o,t))return;he(i,!1)}},Se=(e,t,n)=>{var r,o;const a=e.prototype;if(t.$members$||s){const s=Object.entries(null!=(r=t.$members$)?r:{});if(s.map(([e,[r]])=>{if(31&r||2&n&&32&r){const{get:i,set:o}=Object.getOwnPropertyDescriptor(a,e)||{};i&&(t.$members$[e][0]|=2048),o&&(t.$members$[e][0]|=4096),(1&n||!i)&&Object.defineProperty(a,e,{get(){{if(!(2048&t.$members$[e][0]))return((e,t)=>c(e).$instanceValues$.get(t))(this,e);const n=c(this),r=n?n.$lazyInstance$:a;if(!r)return;return r[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(a,e,{set(i){const s=c(this);if(s){if(o){const n=32&r?this[e]:s.$hostElement$[e];return void 0===n&&s.$instanceValues$.get(e)?i=s.$instanceValues$.get(e):!s.$instanceValues$.get(e)&&n&&s.$instanceValues$.set(e,n),o.apply(this,[Z(i,r)]),i=32&r?this[e]:s.$hostElement$[e],void Ae(this,e,i,t)}{if(!(1&n&&4096&t.$members$[e][0]))return Ae(this,e,i,t),void(1&n&&!s.$lazyInstance$&&s.$onReadyPromise$.then(()=>{4096&t.$members$[e][0]&&s.$lazyInstance$[e]!==s.$instanceValues$.get(e)&&(s.$lazyInstance$[e]=i)}));const o=()=>{const n=s.$lazyInstance$[e];!s.$instanceValues$.get(e)&&n&&s.$instanceValues$.set(e,n),s.$lazyInstance$[e]=Z(i,r),Ae(this,e,s.$lazyInstance$[e],t)};s.$lazyInstance$?o():s.$onReadyPromise$.then(()=>o())}}}})}else 1&n&&64&r&&Object.defineProperty(a,e,{value(...t){var n;const r=c(this);return null==(n=null==r?void 0:r.$onInstancePromise$)?void 0:n.then(()=>{var n;return null==(n=r.$lazyInstance$)?void 0:n[e](...t)})}})}),1&n){const n=new Map;a.attributeChangedCallback=function(e,r,o){g.jmp(()=>{var s;const l=n.get(e);if(this.hasOwnProperty(l)&&i)o=this[l],delete this[l];else{if(a.hasOwnProperty(l)&&"number"==typeof this[l]&&this[l]==o)return;if(null==l){const n=c(this),i=null==n?void 0:n.$flags$;if(n&&i&&!(8&i)&&128&i&&o!==r){const i=n.$lazyInstance$,a=null==(s=t.$watchers$)?void 0:s[e];null==a||a.forEach(t=>{null!=i[t]&&i[t].call(i,o,r,e)})}return}}const u=Object.getOwnPropertyDescriptor(a,l);(o=(null!==o||"boolean"!=typeof this[l])&&o)===this[l]||u.get&&!u.set||(this[l]=o)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.$watchers$)?o:{}),...s.filter(([e,t])=>15&t[0]).map(([e,t])=>{const r=t[1]||e;return n.set(r,e),r})]))}}return e},Oe=async(e,t,r,i)=>{let o;if(!(32&t.$flags$)){t.$flags$|=32;if(r.$lazyBundleId$){const i=((e,t)=>{const r=e.$tagName$.replace(/-/g,"_"),i=e.$lazyBundleId$;if(!i)return;const o=h.get(i);return o?o[r]:n(46054)(`./${i}.entry.js`).then(e=>(h.set(i,e),e[r]),e=>{f(e,t.$hostElement$)})})(r,t);if(i&&"then"in i){const e=()=>{};o=await i,e()}else o=i;if(!o)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);o.isProxied||(Se(o,r,2),o.isProxied=!0);const s=(r.$tagName$,()=>{});t.$flags$|=8;try{new o(t)}catch(t){f(t,e)}t.$flags$&=-9,s(),ke(t.$lazyInstance$,e)}else{o=e.constructor;const n=e.localName;customElements.whenDefined(n).then(()=>t.$flags$|=128)}if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=$(r);if(!m.has(t)){const n=(r.$tagName$,()=>{});
2((e,t,n)=>{let r=m.get(e);b&&n?(r=r||new CSSStyleSheet,"string"==typeof r?r=t:r.replaceSync(t)):r=t,m.set(e,r)})(t,e,!!(1&r.$flags$)),n()}}}const s=t.$ancestorComponent$,a=()=>he(t,!0);s&&s["s-rc"]?s["s-rc"].push(a):a()},ke=(e,t)=>{xe(e,"connectedCallback",void 0,t)},Pe=(e,t)=>{xe(e,"disconnectedCallback",void 0,t||e)},Ce=(e,t={})=>{var n;if(!v.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const r=()=>{},i=[],o=t.exclude||[],s=v.customElements,a=v.document.head,l=a.querySelector("meta[charset]"),u=v.document.createElement("style"),d=[];let f,h=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",v.document.baseURI).href;let m=!1;if(e.map(e=>{e[1].map(t=>{const n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};4&n.$flags$&&(m=!0),n.$members$=t[2];const r=n.$tagName$,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[];const r=n;e.__stencil__getHostRef=()=>r})(e=this,n),1&n.$flags$)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${n.$tagName$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else R.call(e,n)}connectedCallback(){c(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),h?d.push(this):g.jmp(()=>(e=>{if(!(1&g.$flags$)){const t=c(e);if(!t)return;const n=t.$cmpMeta$,r=(n.$tagName$,()=>{});if(1&t.$flags$)(null==t?void 0:t.$lazyInstance$)?ke(t.$lazyInstance$,e):(null==t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then(()=>ke(t.$lazyInstance$,e));else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){fe(t,t.$ancestorComponent$=n);break}}n.$members$&&Object.entries(n.$members$).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),Oe(e,t,n)}r()}})(this)))}disconnectedCallback(){g.jmp(()=>(async e=>{if(!(1&g.$flags$)){const t=c(e);(null==t?void 0:t.$lazyInstance$)?Pe(t.$lazyInstance$,e):(null==t?void 0:t.$onReadyPromise$)&&t.$onReadyPromise$.then(()=>Pe(t.$lazyInstance$,e))}F.has(e)&&F.delete(e),e.shadowRoot&&F.has(e.shadowRoot)&&F.delete(e.shadowRoot)})(this)),g.raf(()=>{var e;const t=c(this);if(!t)return;const n=d.findIndex(e=>e===this);n>-1&&d.splice(n,1),(null==(e=null==t?void 0:t.$vnode$)?void 0:e.$elm$)instanceof Node&&!t.$vnode$.$elm$.isConnected&&delete t.$vnode$.$elm$})}componentOnReady(){var e;return null==(e=c(this))?void 0:e.$onReadyPromise$}};n.$lazyBundleId$=e[0],o.includes(r)||s.get(r)||(i.push(r),s.define(r,Se(a,n,1)))})}),i.length>0&&(m&&(u.textContent+=p),u.textContent+=i.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(n=g.$nonce$)?n:_(v.document);null!=e&&u.setAttribute("nonce",e),a.insertBefore(u,l?l.nextSibling:a.firstChild)}h=!1,d.length?d.map(e=>e.connectedCallback()):g.jmp(()=>f=setTimeout(we,30)),r()}},49325:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(96602)),i=a(n(99345)),o=a(n(41769)),s=a(n(44748));function a(e){return e&&e.__esModule?e:{default:e}}var l=(0,r.default)("youtube-player"),c={proxyEvents:function(e){var t={},n=function(n){var r="on"+n.slice(0,1).toUpperCase()+n.slice(1);t[r]=function(t){l('event "%s"',r,t),e.trigger(n,t)}},r=!0,i=!1,s=void 0;try{for(var a,c=o.default[Symbol.iterator]();!(r=(a=c.next()).done);r=!0){n(a.value)}}catch(e){i=!0,s=e}finally{try{!r&&c.return&&c.return()}finally{if(i)throw s}}return t},promisifyPlayer:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},r=function(r){t&&s.default[r]?n[r]=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.then(function(e){var t=s.default[r],i=e.getPlayerState(),o=e[r].apply(e,n);return t.stateChangeRequired||Array.isArray(t.acceptableStates)&&-1===t.acceptableStates.indexOf(i)?new Promise(function(n){e.addEventListener("onStateChange",function r(){var i=e.getPlayerState(),o=void 0;"number"==typeof t.timeout&&(o=setTimeout(function(){e.removeEventListener("onStateChange",r),n()},t.timeout)),Array.isArray(t.acceptableStates)&&-1!==t.acceptableStates.indexOf(i)&&(e.removeEventListener("onStateChange",r),clearTimeout(o),n())})}).then(function(){return o}
2):o})}:n[r]=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.then(function(e){return e[r].apply(e,n)})}},o=!0,a=!1,l=void 0;try{for(var c,u=i.default[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){r(c.value)}}catch(e){a=!0,l=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw l}}return n}};t.default=c,e.exports=t.default},49331:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(74848);const i=function(e){var t=e.cinemaData;if(!t)return"";var n=t.scope,i=n.cinemaColor,o=n.cinemaIcon,s={backgroundColor:i||"transparent"},a={backgroundImage:o?'url("'.concat(o,'")'):"none"};return i||o?(i||o)&&(0,r.jsx)("div",{className:"cinema-icon-wrapper",style:s,children:(0,r.jsx)("div",{className:"cinema-icon",style:a})}):""}},51098:(e,t,n)=>{var r=n(71040),i=n(22524),o=i.each,s=i.isFunction,a=i.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var i=this.queries,l=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,l)),s(t)&&(t={match:t}),a(t)||(t=[t]),o(t,function(t){s(t)&&(t={match:t}),i[e].addHandler(t)}),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},51432:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(74030),i=n(74848),o=function(e){var t=e.value,n=e.type,o=e.id;return(0,i.jsxs)("div",{className:"countdown-part",children:[(0,i.jsx)("span",{className:"text-large-medium",children:(0,i.jsx)(r.Ay,{id:o,children:n})}),(0,i.jsx)("p",{className:"title-xlarge",children:t})]})};const s=function(e){var t=e.days,n=e.hours,r=e.minutes,s=e.seconds;return(0,i.jsxs)("div",{className:"countdown",children:[(0,i.jsx)(o,{value:t,type:"Days",id:"countdownDays"}),(0,i.jsx)(o,{value:n,type:"Hours",id:"countdownHours"}),(0,i.jsx)(o,{value:r,type:"Mins",id:"countdownMinutes"}),(0,i.jsx)(o,{value:s,type:"Sec",id:"countdownSeconds"})]})};function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const c=function(e){var t=a(e.countdownNumbers,4),n=t[0],r=t[1],o=t[2],l=t[3];return n+r+o+l<0?"":(0,i.jsx)(s,{days:n,hours:r,minutes:o,seconds:l})}},52203:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(96540),i=n(74848);const o=function(e){var t=e.src,n=e.showId,o=e.cinemaPath,s=e.cinemaCenterId,a=e.webshopUrl;(0,r.useEffect)(function(){var e=document.createElement("style");e.innerHTML="\n            @keyframes spin1 {\n            from {\n                transform: rotate(0deg);\n            }\n            to {\n                transform: rotate(360deg);\n            }\n            }",document.getElementsByTagName("head")[0].appendChild(e);var t=document.getElementById("mars_kino_frame"),n=document.getElementById("mars_frame_container-spinner");window.addEventListener("message",function(e){e.data.type&&"height"===e.data.type&&(t.style.height=e.data.height+"px")&&(n.style.display="none")},!1)},[]);var l=o&&o.search("kinotickets.express")?"https://e.kinotickets.express":o,c=a&&a.uri?encodeURIComponent(a.uri):null,u="".concat(l,"/").concat(s,"/sale/seats/").concat(n),d=c?"".concat(u,"?embeddedReturnUrl=").concat(c,"?source="):u,f=t||d;return(0,i.jsx)("div",{id:"kinotickets-iframe",className:"theme-radius-p
2osters-full",children:(0,i.jsxs)("div",{id:"mars_frame_container",children:[(0,i.jsx)("iframe",{id:"mars_kino_frame",src:f,width:"100%"}),(0,i.jsxs)("svg",{id:"mars_frame_container-spinner",style:{position:"absolute",left:"50%",top:"50%",animation:"spin 1s linear infinite",width:"1.75rem",height:"1.75rem",color:"#5a6268"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4",style:{opacity:"0.25"}}),(0,i.jsx)("path",{style:{opacity:"0.75"},fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})]})})}},52874:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(96540),i=n(41126),o=n(79349),s=n(74030),a=n(39343),l=n(74848);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const d=function(e){var t=e.title,n=e.onClick,u=e.poster,d=e.isMobile,f=e.logo,h=e.isSignage,m=void 0!==h&&h,p=c((0,r.useState)(!1),2),v=p[0],g=p[1];if(u){var y=(0,i.A)(u,d,!0,!1,!1,!1,m),b=y.finalImageURl,w=y.imageUrl;return(0,l.jsx)("picture",{onClick:n,children:(0,l.jsx)("img",{src:b,alt:(0,l.jsx)(s.Ay,{before:t+" ",id:"moviePoster"}),onError:function(e){var t=e.currentTarget;v?(t.onerror=null,t.src=o.A):(g(!0),t.onerror=null,t.src=w)}})})}return(0,l.jsx)("div",{className:"no-image-container",onClick:n,children:(0,l.jsx)("div",{className:"no-image",children:(0,l.jsx)(a.A,{title:t,logo:f,isSignage:m})})})}},53182:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){return 0===e.length?[]:e.slice(1).reduce(function(e,n){return e.concat([t,n])},[e[0]])}},53346:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(15049),i=n(84196),o=n(15384),s=n(74030),a=n(74848);const l=function(e){var t=e.fsk,n=e.theme,r=void 0===n?"":n,i=e.setNeturalColorsForFsk,l=e.className,c=i?" neutral-colors":"",u=(0,o.A)(t);return"Arthouse"===r?u?(0,a.jsx)("p",{className:"text-light fsk-label fsk "+l+c,children:(0,a.jsx)("span",{className:"fsk-text text-small-label",children:(0,a.jsx)(s.Ay,{id:"FSKnotKnown",children:"FSK noch nicht bekannt"})})}):(0,a.jsx)("p",{className:"text-light fsk-label fsk "+l+c,children:(0,a.jsxs)("span",{className:"fsk-text text-small-label","data-fsk":"FSK "+t,children:[(0,a.jsx)(s.Ay,{id:"fsk",children:"FSK"})," ",t]})}):u?(0,a.jsx)("p",{className:"item-post-information fsk-label no-fsk fsk "+l+c,children:(0,a.jsx)("span",{className:"fsk-text text-medium",children:(0,a.jsx)(s.Ay,{id:"FSKnotKnown",children:"FSK noch nicht bekannt"})})}):(0,a.jsx)("p",{className:"fsk-label fsk "+l+c,children:(0,a.jsx)("span",{className:"fsk-background",children:(0,a.jsxs)("span",{className:"fsk-text text-medium","data-fsk":"FSK "+t,children:[(0,a.jsx)(s.Ay,{id:"fsk",children:"FSK"})," ",t]})})})};const c=function(e){var t=e.fsk,n=e.setNeturalColorsForFsk,r=e.className,i=n?" neutral-colors":"";return(0,o.A)(t)?(0,a.jsx)("p",{className:"fsk fsk-label no-fsk text-xlarge-medium "+r+i,children:(0,a.jsx)("span",{className:"fsk-text text-medium",children:(0,a.jsx)(s.Ay,{id:"FSKnotKnown"})})}):(0,a.jsx)("p",{className:"item-post-information fsk-label fsk "+r+i,children:(0,a.jsxs)("span",{className:"fsk-text text-medium","data-fsk":"FSK "+t,children:[(0,a.jsx)(s.Ay,{id:"fsk",children:"FSK"})," ",t]})})};var u=n(53392),d=n(54560);const f=(0,i.Ng)((0,d.A)(function(e,t){return{cinemaDataFront:(0,u.A)(e,r.FRONT),theme:(0,u.A)(e,r.THEME)}}),null)(function(e){var t=e.fsk,n=e.theme,r=e.cinemaDataFront,i=e.className,o=void 0===i?"":i,s=e.labelFsk,u=void 0!==s&&s,d=n.theme_colors,f=r.set_netural_colors_for_fsk;return u?(0,a.jsx)(c,{fsk:t,className:o,setNeturalColorsForFsk:f}):(0,a.jsx)(l,{fsk:t,className:o,setNeturalColorsForFsk:f,theme:d})})}
2,53352:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(84196),i=n(53392),o=n(15049),s=n(12111);const a=function(){var e=(0,r.d4)(function(e){return(0,i.A)(e,o.PROGRAM_CINEMAS)}),t=e&&e.toJS?e.toJS():e,n=(0,r.d4)(function(e){return(0,i.A)(e,o.CLI_MULTICINEMA_MODE)}),a=(0,r.d4)(function(e){return(0,i.A)(e,o.THEME)}),l=a&&a.get?a.get("multitotal_style"):null,c=a&&a.get?a.get("theme_colors"):null,u={};return s.keys(t||{}).map(function(e){var n=t[e];u[e]={cinemaColor:n.scope.cinemaColor,cinemaIcon:n.scope.cinemaIcon}}),{cinemaColors:u,multiCinemaMode:n,themeColors:c,multitotalStyle:l}}},53392:(e,t,n)=>{"use strict";function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>s});var o=n(15049).DATA_KEY_PATHS;const s=function(e,t){var n=[];if("string"==typeof t)n=r(o[t]);else{var i=t.length;if(n=r(o[t[0]]),i>0)for(var s=1;s<i;s++){var a="string"==typeof t[s]?t[s]:t[s].toString();n.push(a)}}return e.getIn(n)}},53579:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(96540),i=n(74030),o=n(74848);const s=function(e){var t=e.onClosePopup;return(0,o.jsxs)("div",{className:"popup-close-button has-popup-close cursor-pointer",onClick:t,children:[(0,o.jsx)("svg",{id:"Ebene_1","data-name":"Ebene 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25",children:(0,o.jsx)("polygon",{className:"cls-1",points:"25 1.06 23.94 0 12.5 11.44 1.06 0 0 1.06 11.44 12.5 0 23.94 1.06 25 12.5 13.56 23.94 25 25 23.94 13.56 12.5 25 1.06"})}),(0,o.jsx)("span",{className:"screen-reader-text",children:(0,o.jsx)(i.Ay,{id:"popupClose",children:"Close Popup"})})]})};const a=function(e){var t=e.children,n=e.addClassToBackdrop,i=e.addClassToPopup,a=e.onClosePopup;return(0,r.useEffect)(function(){return function(){return a("force")}},[]),(0,o.jsx)("div",{className:(n?n+" ":"")+"popup has-popup-close",onClick:a,children:(0,o.jsxs)("div",{className:(i?i+" ":"")+"popup-content theme-radius-posters-full",children:[(0,o.jsx)("div",{className:"popup-content-wrapper",children:t}),(0,o.jsx)(s,{onClosePopup:a})]})})};const l=function(e){var t=e.children,n=e.addClass,r=void 0===n?"":n,s=e.addClassContent,a=void 0===s?"":s,l=e.isActive,c=void 0!==l&&l,u=e.onClose;return(0,o.jsxs)("div",{className:"access-dialog popup no-scroll"+(r?" ".concat(r):"")+(c?" active":""),children:[c&&(0,o.jsx)("div",{tabIndex:0}),(0,o.jsx)("div",{className:"dialog"+(a?" ".concat(a):""),"aria-modal":!0,children:c&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("button",{autoFocus:!0,onClick:u,className:"access-button access-dialog-close text-medium",children:(0,o.jsx)(i.Ay,{id:"close",children:"Schließen"})}),(0,o.jsx)("div",{className:"access-dialog-content",children:t})]})})]})};const c=function(e){var t=e.addClassToPopup,n=e.displayPopup,i=e.onClosePopup,s=e.children;return(0,r.useEffect)(function(){return function(){return i("force")}},[]),(0,o.jsx)(l,{addClass:"popup",addClassContent:"popup-content"+(t?" ".concat(t):""),children:s,isActive:n,onClose:function(){return i("force")}})};const u=function(e){var t=e.displayPopup,n=e.addClassToBackdrop,r=void 0===n?"":n,i=e.addClassToPopup,s=void 0===i?"":i,l=e.onClosePopup,u=e.children,d=e.popupAccess;return void 0!==d&&d?(0,o.jsx)(c,{addClassToPopup:s,displayPopup:t,onClosePopup:l,children:u}):t&&(0,o.jsx)(a,{children:u,addClassToBackdrop:r,addClassToPopup:s,onClosePopup:l})}},53763:(e,t,n)=>{"use strict";n.d(t,{Kz:()=>o,PL:()=>s,ZU:()=>i,hO:()=>r});var r="KenBurns",i="KenBurnsPosterCenter",o="KenBurnsPosterRight",s=function(e){return"InformationLoop"===e||"InformationLoopKenBurns"===e}},53845:(e,t,n)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=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=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(96540)),s=l(n(89679)),a=l(n(5556));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"render",value:function(){var e=this,t=r({},this.props);return delete t.name,t.parentBindings&&delete t.parentBindings,o.default.createElement("div",r({},t,{ref:function(t){e.props.parentBindings.domNode=t}}),this.props.children)}}]),t}(o.default.Component);c.propTypes={name:a.default.string,id:a.default.string},t.default=(0,s.default)(c)},53999:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.addPassiveEventListener=function(e,t,r){var i=r.name;i||(i=t,console.warn("Listener must be a named function.")),n.has(t)||n.set(t,new Set);var o=n.get(t);if(!o.has(i)){var s=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}();e.addEventListener(t,r,!!s&&{passive:!0}),o.add(i)}},t.removePassiveEventListener=function(e,t,r){e.removeEventListener(t,r),n.get(t).delete(r.name||t)};var n=new Map},54560:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const r=function(e){return e&&e.toJS?e.toJS():e};const i=function(e){return function(t,n){var i=e(t,n);return Object.keys(i).reduce(function(e,t){return e[t]=r(i[t]),e},{})}}},54618:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(91477),i=n(67746),o=n(84196),s=n(65302),a=n(74030),l=n(74848);const c=(0,o.Ng)(function(e){return{hasBevelCorners:!!e.getIn(["cinemaData","theme","has_bevel_corners"])}},function(e,t){return{setTrailerMovie:function(t){e((0,s.ux)(t))}}})(function(e){var t=e.trailerURL,n=e.fsk,o=e.theme,s=e.isMobile,c=e.backgroundImage,u=e.setTrailerMovie,d=e.hasBevelCorners,f=e.landscape,h=void 0!==f&&f,m=(0,i.A)(c,!0,s),p={trailerUrl:t,fsk:n};return(0,l.jsxs)("div",{className:"trailer-large trailer-wrapper-button trailer".concat(d?" has-bevel-corners":""),children:["Arthouse"!==o&&(0,l.jsx)("div",{className:"trailer-button-background-picture theme-radius-posters-full clip-mask",style:m}),(0,l.jsx)("div",{className:"trailer-button-background-picture theme-radius-posters-full",style:m}),h?(0,l.jsxs)("p",{className:"trailer-text-wrapper",onClick:function(){return u(p)},children:[(0,l.jsx)(r.A,{}),(0,l.jsx)("span",{className:"poster-attribute-text",children:(0,l.jsx)(a.Ay,{id:"playTrailer",children:"Trailer abspielen"})})]}):(0,l.jsxs)("p",{className:"trailer-text-wrapper",onClick:function(){return u(p)},children:[(0,l.jsx)("span",{className:"title-large",children:(0,l.jsx)(a.Ay,{id:"trailer",children:"Trailer"})}),(0,l.jsx)(r.A,{})]})]})})},54625:(e,t,n)=>{"use strict";n.d(t,{Kd:()=>u,N_:()=>v});var r=n(56347),i=n(77387),o=n(96540),s=n(40339),a=n(58168),l=n(98587),c=n(11561),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,s.zR)(t.props),t}return(0,i.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);o.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,s.yJ)(e,null,null,t):e},h=function(e){return e},m=o.forwardRef;void 0===m&&(m=h);var p=m(function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,s=(0,l.A)(e,["innerRef","navigate","onClick"]),c=s.target,u=(0,a.A)({},s,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=h!==m&&t||n,o.createElement("a",u)});var v=m(function(e,t){var n=e.component,i=void 0===n?p:n,u=e.replace,v=e.to,g=e.innerRef,y=(0,l.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,function(e){e||(0,c.A)(!1);var n=e.history,r=f(d(v,e.location),e.location),l=r?n.createHref(r):"",p=(0,a.A)({},y,{href:l,navigate:function(){var t=d(v,e.location),r=(0,s.AO)(e.location)===(0,s.AO)(f(t));(u||r?n.replace:n.push)(t)}});return h!==m?p.ref=t||g:p.innerRef=g,o.createElement(i,p)})}),g=function(e){return e},y=o.forwardRef;void 0===y&&(y=g);y(function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,s=e.activeClassName,u=void 0===s?"active":s,h=e.activeStyle,m=e.className,p=e.exact,b=e.isActive,w=e.location,x=e.sensitive,j=e.strict,A=e.style,S=e.to,O=e.innerRef,k=(0,l.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,function(e){e||(0,c.A)(!1);var n=w||e.location,s=f(d(S,n),n),l=s.pathname,P=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),C=P?(0,r.B6)(n.pathname,{path:P,exact:p,sensitive:x,strict:j}):null,E=!!(b?b(C,n):C),_="function"==typeof m?m(E):m,T="function"==typeof A?A(E):A;E&&(_=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return e}).join(" ")}(_,u),T=(0,a.A)({},T,h));var M=(0,a.A)({"aria-current":E&&i||null,className:_,style:T,to:s},k);return g!==y?M.ref=t||O:M.innerRef=O,o.createElement(v,M)})})},56347:(e,t,n)=>{"use strict";n.d(t,{B6:()=>T,Ix:()=>x,W6:()=>$,XZ:()=>w,qh:()=>M,rd:()=>P,y:()=>F,zy:()=>B});var r=n(77387),i=n(96540),o=n(5556),s=n.n(o),a=n(40339),l=n(11561),c=n(58168),u=n(35302),d=n.n(u),f=(n(44363),n(98587)),h=n(4146),m=n.n(h),p=1073741823,v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var g=i.createContext||function(e,t){var n,o,a="__create-react-context-"+function(){var e="__global_unique_id__";return v[e]=(v[e]||0)+1}()+"__",l=function(e){function n(){for(var t,n,r,i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter(function(t){return t!==e})},get:function(){return n},set:function(e,t){n=e,r.forEach(function(e){return e(n,t)})}}),t}(0,r.A)(n,e);var i=n.prototype;return i.getChildContext=function(){var e;return(e={})[a]=this.emitter,e},i.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;((o=r)===(s=i)?0!==o||1/o==1/s:o!=o&&s!=s)?n=0:(n="function"==typeof t?t(r,i):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,s},i.render=function(){return this.props.children},n}(i.Component);l.childContextTypes=((n={})[a]=s().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!==((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var i=n.prototype;return i.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},i.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},i.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},i.getValue=function(){return this.context[a]?this.context[a].get():e},i.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(i.Component);return c.contextTypes=((o={})[a]=s().object,o),{Provider:l,Consumer:c}},y=function(e){var t=g();return t.displayName=e,t},b=y("Router-History"),w=y("Router"),x=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen(function(e){n._pendingLocation=e})),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(t){e._isMounted&&e.setState({location:t})}
2)),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return i.createElement(w.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.createElement(b.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.Component);i.Component;var j=function(e){function t(){return e.apply(this,arguments)||this}(0,r.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i.Component);var A={},S=1e4,O=0;function k(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(A[e])return A[e];var t=d().compile(e);return O<S&&(A[e]=t,O++),t}(e)(t,{pretty:!0})}function P(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i.createElement(w.Consumer,null,function(e){e||(0,l.A)(!1);var r=e.history,s=e.staticContext,u=o?r.push:r.replace,d=(0,a.yJ)(t?"string"==typeof n?k(n,t.params):(0,c.A)({},n,{pathname:k(n.pathname,t.params)}):n);return s?(u(d),null):i.createElement(j,{onMount:function(){u(d)},onUpdate:function(e,t){var n=(0,a.yJ)(t.to);(0,a.Fu)(n,(0,c.A)({},d,{key:n.key}))||u(d)},to:n})})}var C={},E=1e4,_=0;function T(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,i=n.exact,o=void 0!==i&&i,s=n.strict,a=void 0!==s&&s,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce(function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=C[n]||(C[n]={});if(r[e])return r[e];var i=[],o={regexp:d()(e,i,t),keys:i};return _<E&&(r[e]=o,_++),o}(n,{end:o,strict:a,sensitive:c}),i=r.regexp,s=r.keys,l=i.exec(e);if(!l)return null;var u=l[0],f=l.slice(1),h=e===u;return o&&!h?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:h,params:s.reduce(function(e,t,n){return e[t.name]=f[n],e},{})}},null)}var M=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return i.createElement(w.Consumer,null,function(t){t||(0,l.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?T(n.pathname,e.props):t.match,o=(0,c.A)({},t,{location:n,match:r}),s=e.props,a=s.children,u=s.component,d=s.render;return Array.isArray(a)&&function(e){return 0===i.Children.count(e)}(a)&&(a=null),i.createElement(w.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:u?i.createElement(u,o):d?d(o):null:"function"==typeof a?a(o):null)})},t}(i.Component);function I(e){return"/"===e.charAt(0)?e:"/"+e}function N(e,t){if(!e)return t;var n=I(e);return 0!==t.pathname.indexOf(n)?t:(0,c.A)({},t,{pathname:t.pathname.substr(n.length)})}function D(e){return"string"==typeof e?e:(0,a.AO)(e)}function L(e){return function(){(0,l.A)(!1)}}function R(){}i.Component;i.Component;function F(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,f.A)(t,["wrappedComponentRef"]);return i.createElement(w.Consumer,null,function(t){return t||(0,l.A)(!1),i.createElement(e,(0,c.A)({},r,t,{ref:n}))})};return n.displayName=t,n.WrappedComponent=e,m()(n,e)}var V=i.useContext;function $(){return V(b)}function B(){return V(w).location}}
2,56848:(e,t,n)=>{"use strict";var r=h(n(9365)),i=h(n(30173)),o=h(n(53845)),s=h(n(30649)),a=h(n(71290)),l=h(n(44177)),c=h(n(87384)),u=h(n(5303)),d=h(n(89679)),f=h(n(11038));function h(e){return e&&e.__esModule?e:{default:e}}r.default,i.default,o.default,s.default,a.default,l.default,c.default,u.default,d.default,f.default,t.Ay={Link:r.default,Button:i.default,Element:o.default,scroller:s.default,Events:a.default,scrollSpy:l.default,animateScroll:c.default,ScrollLink:u.default,ScrollElement:d.default,Helpers:f.default}},57562:(e,t,n)=>{"use strict";n.d(t,{A:()=>g,D:()=>p});var r=n(96540);function i(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",s=n.toStringTag||"@@toStringTag";function a(n,r,i,s){var a=r&&r.prototype instanceof c?r:c,u=Object.create(a.prototype);return o(u,"_invoke",function(n,r,i){var o,s,a,c=0,u=i||[],d=!1,f={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return o=t,s=0,a=e,f.n=n,l}};function h(n,r){for(s=n,a=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,o=u[t],h=f.p,m=o[2];n>3?(i=m===r)&&(a=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=h&&((i=n<2&&h<o[1])?(s=0,f.v=r,f.n=o[1]):h<m&&(i=n<3||o[0]>r||r>m)&&(o[4]=n,o[5]=r,f.n=m,s=0))}if(i||n>1)return l;throw d=!0,r}return function(i,u,m){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,m),s=u,a=m;(t=s<2?e:a)||!d;){o||(s?s<3?(s>1&&(f.n=-1),h(s,a)):f.n=a:f.v=a);try{if(c=2,o){if(s||(i="next"),t=o[i]){if(!(t=t.call(o,a)))throw TypeError("iterator result is not an object");if(!t.done)return t;a=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(a=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=e}else if((t=(d=f.n<0)?a:n.call(r,f))!==l)break}catch(t){o=e,s=1,a=t}finally{c=1}}return{value:t,done:d}}}(n,i,s),!0),u}var l={};function c(){}function u(){}function d(){}t=Object.getPrototypeOf;var f=[][r]?t(t([][r]())):(o(t={},r,function(){return this}),t),h=d.prototype=c.prototype=Object.create(f);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,s,"GeneratorFunction")),e.prototype=Object.create(h),e}return u.prototype=d,o(h,"constructor",d),o(d,"constructor",u),u.displayName="GeneratorFunction",o(d,s,"GeneratorFunction"),o(h),o(h,s,"Generator"),o(h,r,function(){return this}),o(h,"toString",function(){return"[object Generator]"}),(i=function(){return{w:a,m}})()}function o(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}o=function(e,t,n,r){if(t)i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var s=function(t,n){o(e,t,function(e){return this._invoke(t,n,e)})};s("next",0),s("throw",1),s("return",2)}},o(e,t,n,r)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t,n,r,i,o,s){try{var a=e[o](s),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}var c={systemcookie:"cineorder"},u={marketing:"Marketing"},d={marketing:["marketing","statistics"]};function f(e){return c[e]||e}function h(e){return new Promise(function(t){__cmp("getCMPData",null,function(n){var r={};n&&n.vendorsList&&n.vendorsList.forEach(function(e){r[e.name.toLowerCase()]=e.id});var i={};n&&n.purposesList&&n.purposesList.forEach(function(e){i[e.name.toLowerCase()]=e.id});var o={};e.forEach(function(e){var t=u[e.key];if(t){var s=i[t.toLowerCase()]||t;o[e.key]=!!(n&&n.purposeConsents&&n.purposeConsents[s])}else{var a=f(e.key),l=r[a.toLowerCase()]||a;o[e.key]=!!(n&&n.vendorConsents&&n.vendorConsents[l])}}),t(o)})})}function m(e,t){if(!t.systemcookie)return"";var n=e.map(function(e){return{name:e.key,consent:!!e.required||!!t[e.key]}});return"cs="+encodeURIComponent(JSON.stringify(n))}function p(e){return v.apply(this,arguments)}function v(){var e;return e=i().m(function e(t){var n,r;return i().w(function(e){for(;;)switch(e.p=e.n){case 0:if(t&&t.length){e.n=1;break}return e.a(2,"");case 1:if(e.p=1,!window.BorlabsCookie){e.n=2;break}r={},t.forEach(function(e){var t,n;r[e.key]=(t=f(e.key),n=d[e.key]||null,!!window.BorlabsCookie&&(window.BorlabsCookie.Consents?n&&window.BorlabsCookie.Consents.hasConsentForServiceGroup?n.some(function(e){return window.BorlabsCookie.Consents.hasConsentForServiceGroup(e)}):!!window.BorlabsCookie.Consents.hasConsent(t):!(!window.BorlabsCookie.checkCookieConsent||!window.BorlabsCookie.checkCookieConsent(t))))}),n=r,e.n=5;break;case 2:if("undefined"==typeof __cmp){e.n=4;break}return e.n=3,h(t);case 3:n=e.v,e.n=5;break;case 4:return e.a(2,"");case 5:return e.a(2,m(t,n));case 6:return e.p=6,e.v,e.a(2,"")}},e,null,[[1,6]])}),v=function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function s(e){l(o,r,i,s,a,"next",e)}function a(e){l(o,r,i,s,a,"throw",e)}s(void 0)})},v.apply(this,arguments)}const g=function(e){var t=s((0,r.useState)(null),2),n=t[0],i=t[1],o=e?e.length:0;return(0,r.useEffect)(function(){p(e).then(i)},[o]),n}},58330:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r=n(52874),i=n(83341),o=n(27256),s=n(24596),a=n(76006),l=n(74848);const c=(0,a.A)((0,s.A)(function(e){var t=e.title,n=e.poster,i=e.isMobile,s=e.shouldPlayTrailer,a=e.maybeVideo,c=e.hasYoutubeCookieConfirmation,u=e.isReady,d=e.videoLoaded,f=e.youtubeId,h=e.trailerTime,m=e.onPlayerReady,p=e.onPlayerStateChange,v=e.onPlayerEnd,g=e.onPlayerUmount,y={dis
2play:d?"block":"none"};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.A,{title:t,poster:n,isMobile:i,onClick:function(){}}),s&&!0===a&&!0===c&&u&&(0,l.jsx)("div",{className:"grid-trailer",style:y,children:(0,l.jsx)(o.A,{width:"747",height:"420",iframeClass:"grid-trailer-iframes",youtubeId:f,trailerTime:h,onPlayerReady:m,onPlayerStateChange:p,onPlayerEnd:v,onPlayerUmount:g})})]})}));var u=n(16915),d=n(46095),f=n(33844),h=n(84196),m=n(53392),p=n(15049),v=n(53346),g=n(25037),y=n(4816),b=n(95969),w=n(49331),x=n(24846),j=n(7150),A=n(12814),S=n(6649),O=n(74030),k=n(36487),P=n(65302),C=n(39253),E=n(54560),_=n(61224),T=n(53352),M=n(28511),I=n(32186);const N=(0,h.Ng)((0,E.A)(function(e,t){return{hasYoutubeCookieConfirmation:(0,m.A)(e,[p.UI_TRAILER,"hasYoutubeCookieConfirmation"]),cinemas:(0,m.A)(e,p.PROGRAM_CINEMAS),cliData:(0,m.A)(e,p.CLI),cinemaDataFront:(0,m.A)(e,p.FRONT),themeData:(0,m.A)(e,p.THEME),movieTimes:(0,m.A)(e,[p.PROGRAM_MOVIETIMES_ITEMS,t.movieTimePk]),movieTimesMovie:(0,m.A)(e,[p.PROGRAM_MOVIETIMES_ITEMS,t.itemID]),currentCinemaId:(0,m.A)(e,p.CLI_CURRENT_CINEMA_ID),relevantTechnologyAttributes:(0,I.A)(e,t.relevantPerformances,t.itemData&&t.itemData.performances)}}),function(e,t){return{onClickItem:function(n){(t.elementDisplay.activePerformance||t.elementDisplay.performancePageOpen)&&e((0,P.QC)(!1,!1)),t.elementDisplay.activeDetailsItem&&e((0,P.vx)(!1)),e((0,P.az)(n.index)),e((0,P.Bw)(n.id,t.movieTimePk)),e((0,P.XX)(t.selectionId)),t.isMobile&&e((0,P.wL)("right",1,!0))},setActiveSelection:function(n){t.elementDisplay.currentActiveSelection||(e((0,P.XX)(t.selectionId)),e((0,P.Bw)(n.id,t.movieTimePk)))}}})((0,u.A)(function(e){var t,n=e.hasYoutubeCookieConfirmation,o=e.cinemas,s=e.cliData,a=e.cinemaDataFront,u=e.themeData,h=e.movieTimes,m=e.movieTimesMovie,p=e.currentCinemaId,P=e.relevantTechnologyAttributes,E=e.onClickItem,I=e.setActiveSelection,N=e.itemID,D=e.fallbackItemsActive,L=e.itemData,R=e.scrollToPosition,F=e.isMobile,V=void 0!==F&&F,$=e.eventOrigin,B=e.isOverview,U=e.isChanging,H=e.queryStringValues,W=e.index,z=void 0===W?"":W,Z=e.showPerformances,q=e.refElemViewport,G=e.isInViewport,Y=e.theme,X=e.shouldPlayTrailer,K=void 0!==X&&X,Q=e.isConnectedFast,J=e.onOpenPerformancePage,ee=void 0===J?null:J,te=(e.toggleMovieTimesOnMobileView,e.listPosterOnClick),ne=e.overviewFilterIgnoreOnPerformances,re=e.relevantPerformances,ie=a.poster_styling,oe=(a.program_overview_list_style,a.switch_attributes_with_movie_title),se=L.title,ae=L.images,le=L.posterAttribute,ce=L.fsk,ue=L.trailerURL,de=L.pk,fe=L.logo,he=ne?m:h,me=he.technologyAttributes,pe=he.purchasablePerformances,ve=he.posterTimes,ge=he.hasMultipleAttributeCombinations,ye=P||me,be=u.multitotal_style,we=(0,T.A)(),xe=we.multitotalStyle,je=(we.themeColors,we.multiCinemaMode),Ae=(0,_.Bj)(p,o),Se=(0,_.LT)(Ae),Oe=(0,f.A)(ae),ke=(0,d.A)(L),Pe=Z?" theme-radius-posters-top":" theme-radius-posters-full",Ce=s.multiCinemaMode===y.GR?(0,b.A)(he,Se):[],Ee=(0,A.A)(ye),_e=(0,j.A)(ye),Te=_e.noAttributesToDisplay,Me=_e.technologyAttributesWithoutIcons,Ie=_e.technologyAttributesWithIcons,Ne=_e.noAttributesWithIconsToDisplay,De=_e.noAttributesWithoutIconsToDisplay,Le=_e.cinedomXAttributes,Re=_e.hasCinedomX,Fe=(0,x.A)(le),Ve=Fe.posterAttributeTop,$e=Fe.posterAttributeBottom,Be=Fe.hasPosterAttributeClass,Ue=(0,M.A)(we,Ce).cinemaColor,He=Ue&&"colored"===xe&&je===y.GR?{borderColor:Ue}:{};t=B?te:(0,C.oo)(E,$+', Content "'+se+'"');return(0,l.jsx)("div",{className:"poster-format-item-wrapper cursor-pointer",style:He,children:B?(0,l.jsxs)("div",{className:"overview-poster-format-item",children:[(0,l.jsx)("div",{className:"poster-format-item theme-radius-posters-full"+Ee,children:(0,l.jsx)(i.A,{className:"picture-wrapper-link",onClick:U?function(){}:function(){return t({id:N,movieTitle:se,index:z})},to:N+" movieInformation",smooth:!0,offset:-100,children:(0,l.jsx)(r.A,{title:ke,poster:Oe,isMobile:V,logo:fe})})}),Ve&&(0,l.jsx)("div",{className:"poster-attribute theme-radius-posters-top poster-attribute-text top-attribute",children:le.name}),$e&&(0,l.jsx)("div",{className:"poster-attribute poster-attribute-text theme-radius-p
2osters-bottom bottom-attribute",children:le.name})]}):(0,l.jsxs)("div",{className:"poster-format-item"+Ee+" "+ie,ref:q,children:[(0,l.jsxs)(i.A,{className:"picture-wrapper"+Pe+" "+de,onClick:U?function(){}:function(){return t({id:N,movieTitle:se,index:z})},to:R+" openMovieInformation",smooth:!0,offset:-200,children:[(0,l.jsx)(c,{index:z,title:ke,poster:Oe,trailerURL:ue,isInViewport:G,isMobile:V,fsk:ce,shouldPlayTrailer:K,trailerAutoplay:K,isConnectedFast:Q,hasYoutubeCookieConfirmation:n}),Ve&&(0,l.jsx)("div",{className:"poster-attribute poster-attribute-text theme-radius-posters-top top-attribute",children:le.name}),$e&&(0,l.jsx)("div",{className:"poster-attribute poster-attribute-text bottom-attribute",children:le.name}),Re&&(0,l.jsx)("div",{className:"cinedom-x-logo-wrapper",children:(0,l.jsx)(k.A,{attributeId:"cinedom x"})}),"hoveranimation"===ie&&(0,l.jsxs)("div",{className:"poster-info",children:[(0,l.jsx)(v.A,{fsk:ce}),(0,l.jsxs)("div",{className:"tickets-button",children:[(0,l.jsx)("div",{className:"tickets-icon"}),(0,l.jsx)("p",{className:"",children:(0,l.jsx)(O.Ay,{id:"tickets"})})]}),(0,l.jsxs)("div",{className:"attributes-container",children:[!Te&&(0,l.jsxs)("p",{className:"text-bold attribute-wrapper-title",children:[ge?(0,l.jsx)(O.Ay,{id:"alsoAvailableIn",children:"Auch verfügbar in"}):(0,l.jsx)(O.Ay,{id:"availableIn",children:"Verfügbar in"}),":"]}),!Ne&&(0,l.jsx)("div",{className:"attributes-with-icons",children:(0,l.jsx)(S.A,{performanceAttribute:!1,attributes:Ie,canBeColored:!0,cinedomX:Re})}),0!==Le.length&&(0,l.jsx)("div",{className:"attributes-with-icons cinedom-x",children:(0,l.jsx)(S.A,{performanceAttribute:!1,attributes:Le,cinedomX:!0})}),!De&&(0,l.jsx)("div",{className:"attributes-without-icons",children:(0,l.jsx)(S.A,{performanceAttribute:!1,attributes:Me})})]})]}),"fsk_on_poster"===ie&&(16===ce||18===ce)&&(0,l.jsx)("div",{className:"poster-info fsk-hint-poster theme-radius-posters-full",children:(0,l.jsx)(v.A,{fsk:ce})})]}),(0,l.jsxs)("div",{className:"movie-information-container",children:[("standard"===ie||"fsk_on_poster"===ie)&&ye&&(0,l.jsx)("div",{className:"attributes-container",children:"Arthouse"===Y&&V&&oe?(0,l.jsx)("p",{className:"text-bold attribute-wrapper-title movie-title-instead-of-attributes",children:ke}):(0,l.jsxs)(l.Fragment,{children:[!Te&&"Arthouse"===Y&&(0,l.jsxs)("p",{className:"text-bold attribute-wrapper-title",children:[(0,l.jsx)(O.Ay,{id:"availableIn"}),":"]}),(0,l.jsx)("div",{className:"attributes-wrapper"+Be,children:(0,l.jsx)(S.A,{performanceAttribute:!1,attributes:ye})})]})}),(0,l.jsxs)("div",{className:0!==Ce.length?"horizontal-flex-wrapper theme-radius-posters-bottom with-cinemas-icons":"horizontal-flex-wrapper theme-radius-posters-bottom",children:[Z&&(0,l.jsx)(g.A,{movieId:N,fallbackItemsActive:D,itemData:L,purchasablePerformances:pe,queryStringValues:H,movieIndex:z,scrollToPosition:R,theme:Y,posterTimes:ve,isMobile:V,setActiveSelection:function(){return I({id:N,movieTitle:se,index:z})},onClick:function(){return t({id:N,movieTitle:se,index:z})},onOpenPerformancePage:ee,relevantPerformances:re}),"default"===be&&0!==Ce.length&&(0,l.jsx)("div",{className:"cinemas-icon-wrapper",children:Ce.map(function(e,t){return(0,l.jsx)(w.A,{cinemaData:o[e]},t)})})]})]})]})})}))},58955:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return e.clone().add(1,"days")}},59245:(e,t,n)=>{var r;function i(e){function n(){if(n.enabled){var e=n,i=+new Date,o=i-(r||i);e.diff=o,e.prev=r,e.curr=i,r=i;for(var s=new Array(arguments.length),a=0;a<s.length;a++)s[a]=arguments[a];s[0]=t.coerce(s[0]),"string"!=typeof s[0]&&s.unshift("%O");var l=0;s[0]=s[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;l++;var i=t.formatters[r];if("function"==typeof i){var o=s[l];n=i.call(e,o),s.splice(l,1),l--}return n}),t.formatArgs.call(e,s),(n.log||t.log||console.log.bind(console)).apply(e,s)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),"function"==typeof t.init&&t.init(n),n}
2(t=e.exports=i.debug=i.default=i).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length,i=0;i<r;i++)n[i]&&("-"===(e=n[i].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(82988),t.names=[],t.skips=[],t.formatters={}},59265:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(12111);const i=function(e,t,n){return r.has(e,t)?r.contains(e[t],n)||e[t].push(n):e[t]=[n],e}},59399:(e,t,n)=>{"use strict";var r=n(25264).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},59817:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(54625),i=n(74848);const o=function(e){var t=e.filterId,n=e.itemName,o=e.className,s=e.active,a=e.closeEverything,l=e.sortValue;return(0,i.jsx)("li",{className:"filter-item"+o+" "+t,children:s?(0,i.jsx)(r.N_,{onClick:function(){a()},className:"theme-radius-buttons-full filter-button text-light"+(s?"":" filter-inactive"),"data-fsk":n,to:{search:l},children:n}):(0,i.jsx)("span",{className:"theme-radius-buttons-full filter-button text-light"+(s?"":" filter-inactive"),children:n})})}},60683:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(24237);const i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9;return(0,r.A)(e.clone()).add(t,"days")}},61224:(e,t,n)=>{"use strict";n.d(t,{Bj:()=>i,LT:()=>c,Tx:()=>l,bm:()=>a,rm:()=>o,tR:()=>s});var r=n(4816),i=function(e,t){return e&&t?t[e]:null},o=function(e){return e?e.scope.type:null},s=function(e,t){return t?t.scope.displayMovieTimesDesktop:e?e.scope.displayMovieTimesDesktop:null},a=function(e,t){return t?t.scope.displayMovieTimesMobile:e?e.scope.displayMovieTimesMobile:null},l=function(e,t,n){return e===r.hm&&t===n},c=function(e){return e&&e.scope.type===r.hm?e.scope.cinemas:null}},61767:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(59265);const i=function(e){var t={};return e.movies.items&&Object.keys(e.movies.items).map(function(n){var i=e.movies.items[n].uri_path;i&&(t=(0,r.A)(t,i,n))}),t}},63004:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},63310:(e,t)=>{var n,r,i;!function(o){var s,a,l,c,u,d,f,h,m,p,v,g,y;function b(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function w(e,t,n){e.addEventListener(t,n,!1)}function x(e,t,n){e.removeEventListener(t,n,!1)}function j(e){return p[e]?p[e].log:a}function A(e,t){k("log",e,t,j(e))}function S(e,t){k("info",e,t,j(e))}function O(e,t){k("warn",e,t,!0)}function k(e,t,n,r){!0===r&&"object"==typeof window.console&&console[e](function(e){return u+"["+(e="Host page: "+(t=e),(e=window.top!==window.self?window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+t:"Nested host page: "+t:e)+"]");var t}(t),n)}function P(e){function t(){n("Height"),n("Width"),L(function(){D(P),M(E),m("onResized",P)},P,"init")}function n(e){var t=Number(p[E]["max"+e]),n=Number(p[E]["min"+e]),r=e.toLowerCase();e=Number(P[r]);A(E,"Checking "+r+" is in range "+n+"-"+t),e<n&&(e=n,A(E,"Set "+r+" to min value")),t<e&&(e=t,A(E,"Set "+r+" to max value")),P[r]=""+e}function r(e){return k.substr(k.indexOf(":")+c+e)}function i(e,t){var n,r;n=function(){var n,r;R("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),r=P.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:r.height,iframeWidth:r.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(r.top-n.top,10),offsetLeft:parseInt(r.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,t)},y[r=t]||(y[r]=setTimeout(function(){y[r]=null,n()},32))}function o(e){return e=e.getBoundingClientRect(),T(E),{x:Math.floor(Number(e.left)+Number(f.x)),y:Math.floor(Number(e.top)+Number(f.y))}}function s(e){var t=e?o(P.iframe):{x:0,y:0},n={x:Number(P.width)+t.x,y:Number(P.height)+t.y};A(E,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):O(E,"Unable to scroll to requested position, window.parentIFrame not found"):(f=n,a(),A(E,"--"))}function a(){!1!==m("onScroll",f)?M(E):I()}function l(e){var t,n=e.split("#")[1]||"",r=(e=decodeURIComponent(n),document.getElementById(e)||document.getElementsByName(e)[0]);r?(t=o(r),A(E,"Moving to in page link (#"+n+") at x: "+t.x+" y: "+t.y),f={x:t.x,y:t.y},a(),A(E,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(n):A(E,"In page link #"+n+" not found and window.parentIFrame not found"):A(E,"In page link #"+n+" not found")}function h(e){var t,n;n=0===Number(P.width)&&0===Number(P.height)?{x:(t=r(9).split(":"))[1],y:t[0]}:{x:P.width,y:P.height},m(e,{iframe:P.iframe,screenX:Number(n.x),screenY:Number(n.y),type:P.type})}function m(e,t){return C(E,e,t)}var v,g,b,j,k=e.data,P={},E=null;"[iFrameResizerChild]Ready"===k?function(){for(var e in p)R("iFrame requested init",F(e),p[e].iframe,e)}():u===(""+k).substr(0,d)&&k.substr(d).split(":")[0]in p?(P=function(){var e=k.substr(d).split(":"),t=e[1]?parseInt(e[1],10):0,n=p[e[0]]&&p[e[0]].iframe,r=getComputedStyle(n);return{iframe:n,id:e[0],height:t+function(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e=e.paddingBottom?parseInt(e.paddingBottom,10):0)}(r)+function(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e=e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}(r),width:e[2],type:e[3]}}(),E=P.id,p[E]&&(p[E].loaded=!0),(j=P.type in{true:1,false:1,undefined:1})&&A(E,"Ignoring init message from meta parent page"),!j&&(b=!0,p[g=E]||(b=!1,O(P.type+" No settings for "+g+". Message was: "+k)),b)&&(A(E,"Received: "+k),v=!0,null===P.iframe&&(O(E,"IFrame ("+P.id+") not found"),v=!1),v&&function(){var t=e.origin,n=p[E]&&p[E].checkOrigin;if(n&&""+t!="null"&&!function(){return n.constructor===Array?function(){var e=0,r=!1;for(A(E,"Checking connection is from allowed list of origins: "+n);e<n.length;e++)if(n[e]===t){r=!0;break}return r}():(e=p[E]&&p[E].remoteHost,A(E,"Checking connection is from: "+e),t===e);var e}())throw new Error("Unexpected message received from: "+t+" for "+P.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return 1}()&&function(){switch(p[E]&&p[E].firstRun&&p[E]&&(p[E].firstRun=!1),P.type){case"close"
2:_(P.iframe);break;case"message":a=r(6),A(E,"onMessage passed: {iframe: "+P.iframe.id+", message: "+a+"}"),m("onMessage",{iframe:P.iframe,message:JSON.parse(a)}),A(E,"--");break;case"mouseenter":h("onMouseEnter");break;case"mouseleave":h("onMouseLeave");break;case"autoResize":p[E].autoResize=JSON.parse(r(9));break;case"scrollTo":s(!1);break;case"scrollToOffset":s(!0);break;case"pageInfo":i(p[E]&&p[E].iframe,E),o=E,e("Add ",w),p[o]&&(p[o].stopPageInfo=n);break;case"pageInfoStop":p[E]&&p[E].stopPageInfo&&(p[E].stopPageInfo(),delete p[E].stopPageInfo);break;case"inPageLink":l(r(9));break;case"reset":N(P);break;case"init":t(),m("onInit",P.iframe);break;default:0===Number(P.width)&&0===Number(P.height)?O("Unsupported message received ("+P.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):t()}function e(e,t){function r(){p[o]?i(p[o].iframe,o):n()}["scroll","resize"].forEach(function(n){A(o,e+n+" listener for sendPageInfo"),t(window,n,r)})}function n(){e("Remove ",x)}var o,a}())):S(E,"Ignored: "+k)}function C(e,t,n){var r=null,i=null;if(p[e]){if("function"!=typeof(r=p[e][t]))throw new TypeError(t+" on iFrame["+e+"] is not a function");i=r(n)}return i}function E(e){e=e.id,delete p[e]}function _(e){var t=e.id;if(!1!==C(t,"onClose",t)){A(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){O(e)}C(t,"onClosed",t),A(t,"--"),E(e)}else A(t,"Close iframe cancelled by onClose event")}function T(e){null===f&&A(e,"Get page position: "+(f={x:window.pageXOffset!==o?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==o?window.pageYOffset:document.documentElement.scrollTop}).x+","+f.y)}function M(e){null!==f&&(window.scrollTo(f.x,f.y),A(e,"Set page position: "+f.x+","+f.y),I())}function I(){f=null}function N(e){A(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),T(e.id),L(function(){D(e),R("reset","reset",e.iframe,e.id)},e,"reset")}function D(e){function t(t){var r;r=t,e.id?(e.iframe.style[r]=e[r]+"px",A(e.id,"IFrame ("+n+") "+r+" set to "+e[r]+"px")):A("undefined","messageData id not set"),function(t){function r(){Object.keys(p).forEach(function(e){function t(e){return"0px"===(p[n]&&p[n].iframe.style[e])}var n;p[n=e]&&null!==p[n].iframe.offsetParent&&(t("height")||t("width"))&&R("Visibility change","resize",p[n].iframe,n)})}function i(e){A("window","Mutation observed: "+e[0].target+" "+e[0].type),$(r,16)}var o;l||"0"!==e[t]||(l=!0,A(n,"Hidden iFrame detected, creating visibility listener"),(o=b())&&function(){var e=document.querySelector("body");new o(i).observe(e,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0})}())}(t)}var n=e.iframe.id;p[n]&&(p[n].sizeHeight&&t("height"),p[n].sizeWidth&&t("width"))}function L(e,t,n){n!==t.type&&h&&!window.jasmine?(A(t.id,"Requesting animation frame"),h(e)):e()}function R(e,t,n,r,i){var o=!1;r=r||n.id,p[r]&&(function(){var i;n&&"contentWindow"in n&&null!==n.contentWindow?(i=p[r]&&p[r].targetOrigin,A(r,"["+e+"] Sending msg to iframe["+r+"] ("+t+") targetOrigin: "+i),n.contentWindow.postMessage(u+t,i)):O(r,"["+e+"] IFrame("+r+") not found")}(),i&&p[r]&&p[r].warningTimeout&&(p[r].msgTimeout=setTimeout(function(){!p[r]||p[r].loaded||o||(o=!0,O(r,"IFrame has not responded within "+p[r].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))},p[r].warningTimeout)))}function F(e){return e+":"+p[e].bodyMarginV1+":"+p[e].sizeWidth+":"+p[e].log+":"+p[e].interval+":"+p[e].enablePublicMethods+":"+p[e].autoResize+":"+p[e].bodyMargin+":"+p[e].heightCalculationMethod+":"+p[e].bodyBackground+":"+p[e].bodyPadding+":"+p[e].tolerance+":"+p[e].inPageLinks+":"+p[e].resizeFrom+":"+p[e].widthCalculationMethod+":"+p[e].mouseEvents}function V(e,t){function n(e){var t=e.split("Callback");2===t.length&&(this[t="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1)]=this[e],delete this[e],O(l,"Deprecated: '"+e+"' has been renamed '"+t+"'. The old method will be removed in the next major version."))}var r,i,l=(""===(r=e.id)&&(e.id=(i=t&&t.id||g.id+s++,null!==document.getElementById(i)&&(i+=s++),r=i),a=(t||{}).log,A(r,"Added missing iframe ID: "+r+" ("+e.src+")")),r);function c(t){var n=p[l][t];1/0!==n&&0!==n&&(e.style[t]="number"==typeof n?n+"px":n,A(l,"Set "+t+" = "+e.style[t]))}function u(e){if(p[l]["min"+e]>p[l]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}l in p&&"iFrameResizer"in e?O(l,"Ignored iFrame, already setup."):(function(t){t=t||{},p[l]={firstRun:!0,iframe:e,remoteHost:e.src&&e.src.split("/").slice(0,3).join("/")},function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(t),Object.keys(t).forEach(n,t),function(e){for(var t in g)Object.prototype.hasOwnProperty.call(g,t)&&(p[l][t]=(Object.prototype.hasOwnProperty.call(e,t)?e:g)[t])}(t),p[l]&&(p[l].targetOrigin=!0===p[l].checkOrigin?""===(t=p[l].remoteHost)||null!==t.match(/^(about:blank|javascript:|file:\/\/)/)?"*":t:"*")}(t),function(){switch(A(l,"IFrame scrolling "+(p[l]&&p[l].scrolling?"enabled":"disabled")+" for "+l),e.style.overflow=!1===(p[l]&&p[l].scrolling)?"hidden":"auto",p[l]&&p[l].scrolling){case"omit":break;case!0:e.scrolling="yes";break;case!1:e.scrolling="no";break;default:e.scrolling=p[l]?p[l].scrolling:"no"}}(),u("Height"),u("Width"),c("maxHeight"),c("minHeight"),c("maxWidth"),c("minWidth"),"number"!=typeof(p[l]&&p[l].bodyMargin)&&"0"!==(p[l]&&p[l].bodyMargin)||(p[l].bodyMarginV1=p[l].bodyMargin,p[l].bodyMargin=p[l].bodyMargin+"px"),function(t){var n,r=b();r&&(n=r,e.parentNode&&new n(function(t){t.forEach(function(t){Array.prototype.slice.call(t.removedNodes
2).forEach(function(t){t===e&&_(e)})})}).observe(e.parentNode,{childList:!0})),w(e,"load",function(){var n,r;R("iFrame.onload",t,e,o,!0),n=p[l]&&p[l].firstRun,r=p[l]&&p[l].heightCalculationMethod in m,!n&&r&&N({iframe:e,height:0,width:0,type:"init"})}),R("init",t,e,o,!0)}(F(l)),p[l]&&(p[l].iframe.iFrameResizer={close:_.bind(null,p[l].iframe),removeListeners:E.bind(null,p[l].iframe),resize:R.bind(null,"Window resize","resize",p[l].iframe),moveToAnchor:function(e){R("Move to anchor","moveToAnchor:"+e,p[l].iframe,l)},sendMessage:function(e){R("Send Message","message:"+(e=JSON.stringify(e)),p[l].iframe,l)}}))}function $(e,t){null===v&&(v=setTimeout(function(){v=null,e()},t))}function B(){"hidden"!==document.visibilityState&&(A("document","Trigger event: Visibility change"),$(function(){U("Tab Visible","resize")},16))}function U(e,t){Object.keys(p).forEach(function(n){var r;p[r=n]&&"parent"===p[r].resizeFrom&&p[r].autoResize&&!p[r].firstRun&&R(e,t,p[n].iframe,n)})}function H(){function e(e,n){n&&(function(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+n.tagName+">")}(),V(n,e),t.push(n))}var t;return function(){for(var e=["moz","webkit","o","ms"],t=0;t<e.length&&!h;t+=1)h=window[e[t]+"RequestAnimationFrame"];h?h=h.bind(window):A("setup","RequestAnimationFrame not supported")}(),w(window,"message",P),w(window,"resize",function(){A("window","Trigger event: resize"),$(function(){U("Window resize","resize")},16)}),w(document,"visibilitychange",B),w(document,"-webkit-visibilitychange",B),function(n,r){var i;switch(t=[],(i=n)&&i.enablePublicMethods&&O("enablePublicMethods option has been removed, public methods are now always available in the iFrame"),typeof r){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(r||"iframe"),e.bind(o,n));break;case"object":e(n,r);break;default:throw new TypeError("Unexpected data type ("+typeof r+")")}return t}}"undefined"!=typeof window&&(c=7,d=(u="[iFrameSizer]").length,h=window.requestAnimationFrame,g={autoResize:!(v=f=null),bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!(l=a=!1),inPageLinks:!(p={}),enablePublicMethods:!(s=0),heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!(m={max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){O("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}},y={},window.jQuery&&function(e){e.fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(e){return this.filter("iframe").each(function(t,n){V(n,e)}).end()}):S("","Unable to bind to jQuery, it is not fully loaded.")}(window.jQuery),r=[],void 0!==(i="function"==typeof(n=H)?n.apply(t,r):n)&&(e.exports=i),window.iFrameResize=window.iFrameResize||H())}()},63662:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},64634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},67746:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}function i(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 o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>s});const s=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r="";if(!e)return null;-1===e.url.search("orchestrationlayer.cloudticket.net")&&-1===e.url.search("cineorder-content-uat.cloudticket.net")&&-1===e.url.search("contentservice.cineorder.shop")&&-1===e.url.search("content.uat.cineorder.shop")||(r=n?"&size=500":"&size=2000");var s=e.url+r;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?i(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({backgroundImage:e&&s?'url("'.concat(s,'")'):"none"},t&&{backgroundPositionY:(e&&e.positionY?e.positionY:e.position?e.position:"0")+"%",backgroundPositionX:(e&&e.positionX?e.positionX:"50")+"%"})}},68841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};t.default=n},69501:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(96540),i=n(4589),o=n(96240),s=n(44609),a=n(74848),l=n(12111);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var d=function(e){var t=window.innerWidth;return Math.min(e,t>999?5:t>519?3:2)};const f=function(e){var t=e.backgrounds,n=c((0,r.useState)(null),2),u=n[0],f=n[1],h=c((0,r.useState)(null),2),m=h[0],p=h[1],v=(0,r.useRef)(null),g=(0,r.useRef)(null),y=c((0,r.useState)(function(){return d(t.length)}),2),b=y[0],w=y[1];(0,r.useEffect)(function(){f(v),p(g)},[]),(0,r.useEffect)(function(){var e=l.debounce(function(){return w(d(t.length))},300);return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e),e.cancel()}},[t.length]);var x=t.length<=b;return(0,a.jsxs)("div",{className:"image-gallery",children:[(0,a.jsx)(i.A,{asNavFor:m,ref:function(e){return v=e},arrows:!1,fade:!0,className:"main-slide",children:t.map(function(e,t){return(0,a.jsx)(o.A,{image:e},t)})}),(0,a.jsx)(i.A,{asNavFor:u,ref:function(e){return g=e},slidesToShow:x?t.length:b,swipeToSlide:!x,focusOnSelect:!0,className:x?"small-slide no-slider":"small-slide",arrows:!x,nextArrow:x?void 0:(0,a.jsx)(s.q,{}),prevArrow:x?void 0:(0,a.jsx)(s.w,{}),responsive:[{breakpoint:519,settings:{slidesToShow:x?t.length:2}},{breakpoint:999,settings:{slidesToShow:x?t.length:3}}],children:t.map(function(e,t){return(0,a.jsx)(o.A,{image:e},t)})})]})}},69691:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var r=n(84196),i=n(53392),o=n(15049),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.d4)(function(e){return(0,i.A)(e,o.TRANSLATION)}).toJS(),s=n.currentLang,a=n.strings,l=n.debug,c="";return a&&a.hasOwnProperty(e)&&a[e].hasOwnProperty(s)?c=a[e][s]:(c=t||"",l&&console.warn("No translation for id ".concat(e))),c}},70951:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(53999),i=["mousedown","wheel","touchmove","keydown"];t.default={subscribe:function(e){return"undefined"!=typeof document&&i.forEac
2h(function(t){return(0,r.addPassiveEventListener)(document,t,e)})}}},70972:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(89203),i=n(74030),o=n(74848);const s=function(e){var t=e.directors;return(0,o.jsxs)("div",{className:"actors",children:[t.length>0&&(0,o.jsx)("h2",{className:"title-large",children:(0,o.jsx)(i.Ay,{id:"directors",children:"Regisseur:in"})}),(0,o.jsx)("div",{className:"actors-wrapper",children:t.map(function(e,t){var n=""!==e.imageURL&&e.imageURL?"":" default-image",i=""!==e.imageURL&&e.imageURL?e.imageURL:"",s={backgroundImage:'url("'.concat(i,'")')};return""!==e.imageURL&&e.imageURL?(0,o.jsxs)("div",{className:"actor-wrapper",children:[(0,o.jsx)("div",{className:"actor-image-wrapper",children:(0,o.jsx)("div",{className:"actor-image theme-radius-posters-top",style:s})}),(0,o.jsx)("div",{className:"actor-names theme-radius-posters-bottomtheme-radius-posters-bottom",children:(0,o.jsx)("p",{className:"text-medium",children:(0,r.A)(e.name)})})]},t):(0,o.jsxs)("div",{className:"actor-wrapper",children:[(0,o.jsx)("div",{className:"actor-image-wrapper",children:(0,o.jsx)("div",{className:"actor-image theme-radius-posters-top"+n})}),(0,o.jsx)("div",{className:"actor-names theme-radius-posters-bottom",children:(0,o.jsx)("p",{className:"text-medium",children:(0,r.A)(e.name)})})]},t)})})]})}},71040:(e,t,n)=>{var r=n(88404),i=n(22524).each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,function(t){t[e]()})}},e.exports=o},71290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={registered:{},scrollEvent:{register:function(e,t){n.registered[e]=t},remove:function(e){n.registered[e]=null}}};t.default=n},73055:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),o=0;o<r.length;o++){var s=r[o],a=e[s];(i?-1!==t.indexOf(s):t(s,a,e))&&(n[s]=a)}return n}},73760:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return e.sort(function(e,t){var n=e.name,r=t.name;return r>n?-1:r<n?1:0})}},74030:(e,t,n)=>{"use strict";n.d(t,{A7:()=>o,Ay:()=>s});var r=n(84196),i=n(54560),o=function(e){e.id;var t=e.currentLang,n=e.translationStrings,r=e.children,i=e.before,o=void 0===i?"":i,s=e.after,a=void 0===s?"":s,l=e.uppercase,c=void 0!==l&&l,u=e.lowercase,d=void 0!==u&&u,f=function(e,t,n){return e&&e.hasOwnProperty(t)&&e[t]?e[t]:n||""}(n,t,r);return o&&(f=o+f),a&&(f+=a),c&&(f=f.toUpperCase()),d&&(f=f.toLowerCase()),f};const s=(0,r.Ng)((0,i.A)(function(e,t){return{translationStrings:e.getIn(["translation","strings",t.id]),currentLang:e.getIn(["translation","currentLang"])}}),null)(o)},74624:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(96540),i=n(56848),o=n(58330),s=n(95166),a=n(74848);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var u=i.Ay.Element;const d=function(e){var t=e.itemId,n=e.fallbackItemsActive,i=e.itemData,c=e.additionalScrollName,d=e.isMobile,f=e.eventOrigin,h=e.queryStringValues,m=e.overviewFilterIgnoreOnPerformances,p=e.index,v=e.theme,g=e.showPerformances,y=e.hasGridHoverTrailer,b=e.isConnectedFast,w=e.onOpenPerformancePage,x=e.movieTimePk,j=e.selectionId,A=e.elementDisplay,S=e.styles,O=e.isSlider,k=e.relevantPerformances,P=l((0,r.useState)(!1),2),C=P[0],E=P[1];return(0,a.jsxs)("div",{className:"order-wrapper",style:S,onMouseEnter:function(){return E(!0)},onMouseLeave:function(){return E(!1)},children:[(0,a.jsx)(u,{name:t+c}),"Arthouse"===v?d&&!O?(0,a.jsx)(o.A,{itemID:t,fallbackItemsActive:n,itemData:i,scrollToPosition:t+c,isMobile:d,selectionId:j,eventOrigin:f,queryStringValues:h,isOverview:!1,overviewFilterIgnoreOnPerformances:m,index:p,theme:v,showPerformances:!0,shouldPlayTrailer:y&&C,isConnectedFast:b,onOpenPerformancePage:w,movieTimePk:x,elementDisplay:A,relevantPerformances:k}):(0,a.jsx)("div",{className:"slide-item",children:(0,a.jsx)(s.A,{itemID:t,itemData:i,scrollToPosition:t+c,selectionId:j,isMobile:d,overviewFilterIgnoreOnPerformances:m,index:p,queryStringValues:h,showPerformances:!0,onOpenPerformancePage:w,movieTimePk:x,elementDisplay:A,relevantPerformances:k,fallbackItemsActive:n})},p):(0,a.jsx)(o.A,{itemID:t,fallbackItemsActive:n,itemData:i,scrollToPosition:t+c,isMobile:d,selectionId:j,eventOrigin:f,queryStringValues:h,isOverview:!1,index:p,theme:v,showPerformances:g,shouldPlayTrailer:y&&C,isConnectedFast:b,onOpenPerformancePage:w,movieTimePk:x,elementDisplay:A,relevantPerformances:k}),(0,a.jsx)(u,{name:t+c+" openMovieInformation"})]})}},75662:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){var t={};return Object.keys(e).map(function(n){var r=e[n];Array.isArray(r)||(r=[r]);var i=n+"=",o="&"+i;t[n]=i+r.join(o)}),t}},76006:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(15196),i=n(74848);function o(e){return o="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},o(e)}function s(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 a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const u=function(e){return function(t){var n=l((0,r.A)(t.trailerAutoplay,t.trailerURL,t.fsk),2),o=n[0],c=n[1];return(0,i.jsx)(e,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({maybeVideo:o,youtubeId:c},t))}}},76075:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(61027),i=n.n(r);const o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Europe/Berlin";return i().tz(e,t)}},76942:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(61027),i=n.n(r);const o=function(e){return i()().tz(e)}},77387:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(63662);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},78783:(e,t,n)=>{"use strict";function r(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}n.d(t,{A:()=>i});const i=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});if("object"==typeof t||"object"==typeof n){var i=r(t),o=r(n);return i!==t||o!==n?e(i,o):Object.keys(Object.assign({},t,n)).every(function(r){return e(t[r],n[r])})}return!1}},79132:(e,t,n)=>{"use strict";var r=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=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(96540),s=l(o),a=l(n(5556));function l(e){return e&&e.__esModule?e:{default:e}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},u=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],d=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},f=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),h=function(){return f?"_"+Math.random().toString(36).substr(2,12):void 0},m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||h(),prevId:e.id},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,null,[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.id;return n!==t.prevId?{inputId:n||h(),prevId:n}:null}}]),i(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(d(e,this.sizer),this.placeHolderSizer&&d(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return f&&e?s.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce(function(e,t){return null!=e?e:t}),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){u.forEach(function(t){return delete e[t]})}(i),i.className=this.props.inputClassName,i.id=this.state.inputId,i.style=n,s.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),s.default.createElement("input",r({},i,{ref:this.inputRef})),s.default.createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?s.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(o.Component);m.propTypes={className:a.default.string,defaultValue:a.default.any,extraWidth:a.default.oneOfType([a.default.number,a.default.string]),id:a.default.string,injectStyles:a.default.bool,inputClassName:a.default.string,inputRef:a.default.func,inputStyle:a.default.object,minWidth:a.default.oneOfType([a.default.number,a.default.string]),onAutosize:a.default.func,onChange:a.default.func,placeholder:a.default.string,placeholderIsMinWidth:a.default.bool,style:a.default.object,value:a.default.any},m.defaultProps={minWidth:1,injectStyles:!0},t.A=m}
2,79349:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n.p+"no-image-background.jpg"},79837:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(96540),i=n(56848),o=n(95640),s=n(74848);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var c=i.Ay.scroller;const u=function(e){var t=e.src,n=e.scrollToPosition,i=e.id,l=a((0,r.useState)(1020),2),u=l[0],d=l[1],f=(0,r.useMemo)(function(){var e=new URL(t);return e.searchParams.set("height",u),e.toString()},[t]),h=function(e,t){var r=window.getComputedStyle(document.querySelector("body"),":before").getPropertyValue("content").replace(/"/g,"")<o.fi.slidebarRight,i=e.getBoundingClientRect(),s=t.getBoundingClientRect();(r||i.top<s.height+20)&&function(e,t){e?t.scrollIntoView({behavior:"smooth"}):c.scrollTo(n+" performance-iframe",{smooth:!0,offset:-200,isDynamic:!0})}(r,e)},m=function(e){e.data&&"heightChanged"===e.data.type&&e.data.payload&&e.data.payload!==u&&d(e.data.payload),e.data&&"requestScrollUp"===e.data.type&&h(iframe,header)};(0,r.useEffect)(function(){document.getElementById(i),document.getElementById("site-header");return window.addEventListener("message",m),function(){window.removeEventListener("message",m)}});var p={minHeight:u+"px"};return(0,s.jsx)("div",{id:"diesel-iframe",className:"theme-radius-posters-full",children:(0,s.jsx)("iframe",{style:p,id:i,src:f})})}},82903:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(12111),i=function(e,t){return!!r.has(e,t)&&(Array.isArray(e[t])?e[t]:[e[t]])}},82988:e=>{var t=1e3,n=60*t,r=60*n,i=24*r,o=365.25*i;function s(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,a){a=a||{};var l,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var s=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!s)return;var a=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return a*o;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===c&&!1===isNaN(e))return a.long?s(l=e,i,"day")||s(l,r,"hour")||s(l,n,"minute")||s(l,t,"second")||l+" ms":function(e){if(e>=i)return Math.round(e/i)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},83341:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(56848),i=n(74848),o=n(12111),s=r.Ay.scroller;const a=function(e){var t=e.className,n=void 0===t?"":t,r=e.children,a=e.offset,l=e.smooth,c=e.onClick,u=e.to;return(0,i.jsx)("div",{className:n,onClick:function(){c&&c();o.delay(function(){u&&s.scrollTo(u,{smooth:l,offset:a,isDynamic:!0})},100)},children:r})}},83751:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;return e.isBefore(t.add(n,"minutes"))}},84965:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,U:()=>r});const r={extractHashUrlParam(e,t){const n=new URL(e);return new URLSearchParams(n.hash.substring(1)).get(t)},browserLimitsThirdPartyCookies(){const e=navigator.userAgent.toLowerCase(),t=e.includes("safari")&&!e.includes("chrom")&&!e.includes("android"),n=e.includes("samsungbrowser");return t||n}};class i{enabled;prefix;constructor(e=!0,t="[Unidy Auth]"){this.enabled=e,this.prefix=t}log(...e){this.enabled&&console.log(`%c${this.prefix}`,"color: blue; font-weight: bold",...e)}error(...e){this.enabled&&console.error(`%c${this.prefix}`,"color: red; font-weight: bold",...e)}warn(...e){this.enabled&&console.warn(`%c${this.prefix}`,"color: orange; font-weight: bold",...e)}}},86663:(e,t,n)=>{"use strict";const r=n(24280),i=n(30454),o=n(528),s=n(73055),a=Symbol("encodeFragmentIdentifier");function l(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort((e,t)=>
2Number(e)-Number(t)).map(t=>e[t]):e}function f(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function h(e){const t=(e=f(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function p(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&u(n,e).includes(e.arrayFormatSeparator);n=o?u(n,e):n;const s=i||o?n.split(e.arrayFormatSeparator).map(t=>u(t,e)):null===n?n:u(n,e);r[t]=s};case"bracket-separator":return(t,n,r)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(r[t]=n?u(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map(t=>u(t,e));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,s]=o(t.decode?i.replace(/\+/g," "):i,"=");s=void 0===s?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:u(s,t),n(u(e,t),s,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=m(n[e],t);else r[e]=m(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e},Object.create(null))}t.extract=h,t.parse=p,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",i,"]"].join("")]:[...n,[c(t,e),"[",c(i,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),":list="].join("")]:[...n,[c(t,e),":list=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[c(n,e),t,c(i,e)].join("")]:[[r,c(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),i={};for(const t of Object.keys(e))n(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map(n=>{const i=e[n];return void 0===i?"":null===i?c(n,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":i.reduce(r(n),[]).join("&"):c(n,t)+"="+c(i,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>
2{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:p(h(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[a]:!0},n);const r=f(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),s=Object.assign(o,e.query);let l=t.stringify(s,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[a]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${l}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[a]:!1},r);const{url:i,query:o,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:s(o,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},87031:(e,t,n)=>{"use strict";n.d(t,{UH:()=>i,Xb:()=>r,_N:()=>s,kN:()=>o,wU:()=>a});var r="main",i="slider",o="stripe",s="showtimes",a="advertisement"},87384:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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=(a(n(92906)),a(n(8373))),o=a(n(70951)),s=a(n(71290));function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return i.default[e.smooth]||i.default.defaultEasing},c=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(e,t,n){window.setTimeout(e,n||1e3/60,(new Date).getTime())},u=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollLeft;var n=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return n?window.pageXOffset:r?document.documentElement.scrollLeft:document.body.scrollLeft},d=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollTop;var n=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return n?window.pageYOffset:r?document.documentElement.scrollTop:document.body.scrollTop},f=function e(t,n,r){var i=n.data;if(n.ignoreCancelEvents||!i.cancel)if(i.delta=Math.round(i.targetPosition-i.startPosition),null===i.start&&(i.start=r),i.progress=r-i.start,i.percent=i.progress>=i.duration?1:t(i.progress/i.duration),i.currentPosition=i.startPosition+Math.ceil(i.delta*i.percent),i.containerElement&&i.containerElement!==document&&i.containerElement!==document.body?n.horizontal?i.containerElement.scrollLeft=i.currentPosition:i.containerElement.scrollTop=i.currentPosition:n.horizontal?window.scrollTo(i.currentPosition,0):window.scrollTo(0,i.currentPosition),i.percent<1){var o=e.bind(null,t,n);c.call(window,o)}else s.default.registered.end&&s.default.registered.end(i.to,i.target,i.currentPosition);else s.default.registered.end&&s.default.registered.end(i.to,i.target,i.currentPositionY)},h=function(e){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null},m=function(e,t,n,r){t.data=t.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},window.clearTimeout(t.data.delayTimeout);if(o.default.subscribe(function(){t.data.cancel=!0}),h(t),t.data.start=null,t.data.cancel=!1,t.data.startPosition=t.horizontal?u(t):d(t),t.data.targetPosition=t.absolute?e:e+t.data.startPosition,t.data.startPosition!==t.data.targetPosition){var i;t.data.delta=Math.round(t.data.targetPosition-t.data.startPosition),t.data.duration=("function"==typeof(i=t.duration)?i:function(){return i})(t.data.delta),t.data.duration=isNaN(parseFloat(t.data.duration))?1e3:parseFloat(t.data.duration),t.data.to=n,t.data.target=r;var a=l(t),m=f.bind(null,a,t);t&&t.delay>0?t.data.delayTimeout=window.setTimeout(function(){s.default.registered.begin&&s.default.registered.begin(t.data.to,t.data.target),c.call(window,m)},t.delay):(s.default.registered.begin&&s.default.registered.begin(t.data.to,t.data.target),c.call(window,m))}else s.default.registered.end&&s.default.registered.end(t.data.to,t.data.target,t.data.currentPosition)},p=function(e){return(e=r({},e)).data=e.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,
2cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},e.absolute=!0,e};t.default={animateTopScroll:m,getAnimationType:l,scrollToTop:function(e){m(0,p(e))},scrollToBottom:function(e){e=p(e),h(e),m(e.horizontal?function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollWidth-t.offsetWidth;var n=document.body,r=document.documentElement;return Math.max(n.scrollWidth,n.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth)}(e):function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollHeight-t.offsetHeight;var n=document.body,r=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)}(e),e)},scrollTo:function(e,t){m(e,p(t))},scrollMore:function(e,t){t=p(t),h(t);var n=t.horizontal?u(t):d(t);m(e+n,t)}}},87911:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(96540),i=n(56848),o=n(95640),s=n(74030),a=n(74848),l=n(12111),c=i.Ay.scroller;const u=function(e){var t=e.src,n=e.title,i=void 0===n?"":n,u=(e.closeFunction,e.cinemaPath,e.id),d=e.cinemaUserTextHint,f=e.scrollToPosition;(0,r.useEffect)(function(){var e=document.getElementById(u),t=document.getElementById("site-header");l.delay(function(){window.Compeso&&window.Compeso.updateOrInitializeIFrameResizer&&window.Compeso.updateOrInitializeIFrameResizer()},1e3);window.Compeso&&window.Compeso.setScrollPositionAdviceCallback&&window.Compeso.setScrollPositionAdviceCallback(function(n){var r=window.getComputedStyle(document.querySelector("body"),":before").getPropertyValue("content").replace(/"/g,"")<o.fi.slidebarRight,i=e.getBoundingClientRect(),s=t.getBoundingClientRect();(r||i.top<s.height+20)&&function(e,t){e?t.scrollIntoView({behavior:"smooth"}):c.scrollTo(f+" performance-iframe",{smooth:!0,offset:-200,isDynamic:!0})}(r,e)});var n=function(){window.Compeso&&window.Compeso.sendCompesoIframePageInfoForCustomScrolling&&window.Compeso.sendCompesoIframePageInfoForCustomScrolling()},r=e.closest(".popup-content, .slidebar-inner"),i=function(){window.Compeso&&window.Compeso.sendCompesoIframePageInfoForCustomScrolling&&window.Compeso.sendCompesoIframePageInfoForCustomScrolling()};return window.addEventListener("scroll",n),r&&r.addEventListener("scroll",i),function(){e&&e.iFrameResizer&&e.iFrameResizer.removeListeners(),window.removeEventListener("scroll",n),r&&r.removeEventListener("scroll",i)}});var h=""!==i?" has-title":"";return(0,a.jsxs)("div",{id:"compeso-iframe",className:"theme-radius-posters-full",children:[(0,a.jsxs)("div",{className:"header-wrapper"+h,children:[""!==i&&(0,a.jsx)("h2",{className:"title-large",children:i}),d&&(0,a.jsx)("h2",{className:"title-large",children:(0,a.jsx)(s.Ay,{id:"user_text_hint",children:"Login"})})]}),(0,a.jsx)("iframe",{style:{width:"100%",height:"100%"},className:"iframe-webshop",src:t,id:u,scrolling:"no",allow:"clipboard-read; clipboard-write; payment; camera;"})]})}},88404:e=>{function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},89089:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95640),i=n(12111);const o=function(e,t){var n=[],o=[],s=[],a=!1;return e.map(function(l){i.contains(e,"cinedom x")&&(a=!0),!i.contains(e,"cinedom x")||"hdr"!==l&&"atmos"!==l||t?"digital"!==l&&"_pm_preview"!==l&&(i.contains(r.mJ,l)?n.push(l):o.push(l)):i.contains(s,l)||s.push(l)}),{technologyAttributesWithoutIcons:o.sort(),technologyAttributesWithIcons:n.sort(),cinedomXAttributes:s.sort(),hasCinedomX:a}}},89203:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){var t={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#38;":"&","&#038;":"&","&#39;":"'","&#34;":'"',"&num;":"#","%20":" "};return e.toString().replace(/&amp;|&lt;|&gt;|&quot;|&#38;|&#038;|&#39;|&#34;|&num;/g,function(e){return t[e]})}}
2,89223:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var r=s(n(96540)),i=s(n(46942)),o=n(29445);function s(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}function l(){return l=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},l.apply(this,arguments)}function c(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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,r.key,r)}}function m(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}function p(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}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function g(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 Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){p(n,e);var t=g(n);function n(){return f(this,n),t.apply(this,arguments)}return m(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r.default.cloneElement(this.props.prevArrow,u(u({},n),o)):r.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")}}]),n}(r.default.PureComponent);t.PrevArrow=b;var w=function(e){p(n,e);var t=g(n);function n(){return f(this,n),t.apply(this,arguments)}return m(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,o.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r.default.cloneElement(this.props.nextArrow,u(u({},n),s)):r.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")}}]),n}(r.default.PureComponent);t.NextArrow=w},89679:(e,t,n)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=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=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(96540)),s=(l(n(40961)),l(n(30649))),a=l(n(5556));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;s.default.unregister(this.props.name)}},{key:"registerElems",value:function(e){s.default.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return o.default.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(o.default.Component);return t.propTypes={name:a.default.string,id:a.default.string},t}},89972:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){var n=Object.keys(e);return t&&n.map(function(n){t.hasOwnProperty(n)&&t[n]&&t[n].url&&(e[n]=t[n].url)}),n}},90141:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var r=n(96540);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var s=function(e,t){var n=new Date(e).getTime(),o=i((0,r.useState)(n-(new Date).getTime()),2),s=o[0],l=o[1];return(0,r.useEffect)(function(){var e;return t&&(e=setInterval(function(){l(n-(new Date).getTime())},1e3)),function(){return clearInterval(e)}},[n]),a(s)},a=function(e){return[Math.floor(e/864e5),Math.floor(e%864e5/36e5),Math.floor(e%36e5/6e4),Math.floor(e%6e4/1e3)]}},90528:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(){var e=window,t=document,n=t.documentElement,r=t.getElementsByTagName("body")[0];return e.innerWidth||n.clientWidth||r.clientWidth}},90844:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(56347),i=n(54625),o=n(86663),s=n(74848);const a=function(){return(0,s.jsx)("svg",{className:"search-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.37 22.37",children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{d:"M22.37,20.96l-6.11-6.11c2.88-3.58,2.66-8.85-.67-12.18C12.04-.89,6.24-.89,2.68,2.67.95,4.4,0,6.69,0,9.13s.95,4.74,2.68,6.46c1.73,1.73,4.02,2.68,6.46,2.68,2.1,0,4.1-.71,5.71-2.01l6.11,6.11,1.41-1.41ZM4.09,14.18c-1.35-1.35-2.09-3.14-2.09-5.05s.74-3.7,2.09-5.05c1.39-1.39,3.22-2.09,5.05-2.09s3.66.7,5.05,2.09c2.78,2.78,2.78,7.31,0,10.1-1.35,1.35-3.14,2.09-5.05,2.09s-3.7-.74-5.05-2.09Z"})})})};const l=function(){return(0,s.jsx)("svg",{className:"search-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14.47 14.47",children:(0,s.jsx)("g",{children:(0,s.jsx)("path",{d:"M14.47,13.76l-4.13-4.13c.89-1.06,1.38-2.38,1.38-3.77,0-1.57-.
261-3.04-1.72-4.14-1.11-1.11-2.58-1.72-4.14-1.72S2.82.61,1.72,1.72C.61,2.82,0,4.29,0,5.86s.61,3.04,1.72,4.14c1.11,1.11,2.58,1.72,4.14,1.72,1.4,0,2.72-.49,3.77-1.38l4.13,4.13.71-.71ZM2.42,9.3c-.92-.92-1.42-2.14-1.42-3.44s.51-2.52,1.42-3.44c.92-.92,2.14-1.42,3.44-1.42s2.52.51,3.44,1.42c.92.92,1.42,2.14,1.42,3.44s-.51,2.52-1.42,3.44-2.14,1.42-3.44,1.42-2.52-.51-3.44-1.42Z"})})})};var c=n(74030);const u=function(e){var t=e.iconThin,n=void 0===t||t;return(0,s.jsxs)("div",{className:"search-display",children:[(0,s.jsx)("span",{className:"search-text text-medium-navigation",children:(0,s.jsx)(c.Ay,{id:"search",children:"Suche"})}),(0,s.jsx)("div",{className:"search-icon",children:n?(0,s.jsx)(l,{}):(0,s.jsx)(a,{})})]})};const d=function(e){var t=e.isSearchToggle,n=e.searchLinkClass,a=e.iconThin,l=(0,r.zy)(),c=o.parse(l.search),d=c.search;return t&&c.searchopen&&"1"===c.searchopen?(c.searchopen=0,delete c.search):c.searchopen=1,(0,s.jsx)(i.N_,{className:"search-link"+(n?" "+n:"")+(d?" filter-active accent-color-font":""),to:{search:o.stringify(c)},children:(0,s.jsx)(u,{iconThin:a})})};const f=function(e){var t=e.programOverviewUrl,n=e.searchLinkClass,r=void 0===n?"":n,i=e.iconThin;return(0,s.jsx)("a",{className:"search-link"+(r?" "+r:""),href:t+"?searchopen=1",children:(0,s.jsx)(u,{iconThin:i})})};const h=function(e){var t=e.searchLinkClass,n=void 0===t?"":t,i=e.programOverviewUrl,o=void 0===i?"":i,a=e.iconThin,l=void 0===a||a,c=e.isSearchToggle,u=void 0!==c&&c,h=(0,r.W6)();if(h){if(o)try{var m=new URL(o).pathname,p=h.location.pathname,v=function(e){return e.endsWith("/")?e:e+"/"};if(v(p)!==v(m))return(0,s.jsx)(f,{searchLinkClass:n,programOverviewUrl:o,iconThin:l})}catch(e){}return(0,s.jsx)(d,{searchLinkClass:n,isSearchToggle:u,iconThin:l})}return o?(0,s.jsx)(f,{searchLinkClass:n,programOverviewUrl:o,iconThin:l}):""}},91185:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(96540),i=n(89203),o=n(74030),s=n(74848),a=n(12111);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const u=function(e){var t=e.actors;if(!t[0])return"";var n=l((0,r.useState)(!1),2),c=n[0],u=n[1],d=pmkinoFrontVars.cinemaData.front.max_actors?"-1"===pmkinoFrontVars.cinemaData.front.max_actors?null:pmkinoFrontVars.cinemaData.front.max_actors:null,f=a.filter(t,function(e){return e.imageURL&&""!==e.imageURL}),h=d&&d<f.length?f.slice(0,d):null,m=function(e){return e.map(function(e,t){if(e.imageURL&&""!==e.imageURL){var n=e.imageURL,r={backgroundImage:'url("'.concat(n,'")')};return(0,s.jsxs)("div",{className:"actor-wrapper",children:[(0,s.jsx)("div",{className:"actor-image-wrapper",children:(0,s.jsx)("div",{className:"actor-image theme-radius-posters-top",style:r})}),(0,s.jsxs)("div",{className:"actor-names theme-radius-posters-bottom",children:[e.name&&(0,s.jsx)("p",{className:"text-medium",children:(0,i.A)(e.name)}),e.character&&(0,s.jsx)("p",{className:"text-light typo-color-muted",children:(0,i.A)(e.character)})]})]},t)}})};return(0,s.jsxs)("div",{className:"actors",children:[(0,s.jsx)("h2",{className:"title-large",children:(0,s.jsx)(o.Ay,{id:"actors",children:"Schauspieler"})}),h&&0!==h.length?(0,s.jsx)("div",{className:"actors-wrapper",children:m(c?f:h)}):(0,s.jsx)("div",{className:"actors-wrapper",children:m(f)}),h&&0!==h.length?c?(0,s.jsxs)("button",{className:"text-light cursor-pointer button",onClick:function(){return u(!c)},children:[" ",(0,s.jsx)(o.Ay,{id:"showLessButton",children:"weniger"})]}):(0,s.jsx)("button",{className:"text-light cursor-pointer button",onClick:function(){return u(!c)},children:(0,s.jsx)(o.Ay,{id:"showMoreButton",children:"mehr"})}):""]})}},91477:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(74848);const i=function(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",children:(0,r.jsxs)("g",{id:"play_button",transform:"translate(0 -0.01)",children:[(0,r.jsx)("path",{id:"Pfad_122","data-name":"Pfad 122",d:"M13,0A13,13,0,1,0,26,13,13,13,0,0,0,13,0Zm0,24.44A11.44,11.44,0,1,1,24.44,13,11.44,11.44,0,0,1,13,24.44Z",transform:"translate(0 0.01)"}),(0,r.jsx)("path",{id:"Pfad_123","data-name":"Pfad 123",d:"M26.416,17.809l-4.69-7.5-1.305.848,4.16,6.687-4.17,6.687,1.336.8Z",transform:"translate(-9.797 -4.944)"})]})})}}
2,91749:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(39343),i=n(74848);const o=function(e){var t=e.title,n=e.logo,o=e.className,s=void 0===o?"title-xlarge":o;return t||n&&n.url?n&&n.url?(0,i.jsx)("h2",{className:"headline "+s,children:(0,i.jsx)(r.A,{title:t,logo:n})}):(0,i.jsx)("h2",{className:"headline "+s,dangerouslySetInnerHTML:{__html:t}}):""}},92705:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(96540);const i=function(e,t){var n=[],r=[];for(e.replace(/(\d+)|(\D+)/g,function(e,t,r){n.push([t||1/0,r||""])}),t.replace(/(\d+)|(\D+)/g,function(e,t,n){r.push([t||1/0,n||""])});n.length&&r.length;){var i=n.shift(),o=r.shift(),s=i[0]-o[0]||i[1].localeCompare(o[1]);if(s)return s}return n.length-r.length};var o=n(95713),s=n(59817),a=n(89089),l=n(4816),c=n(82903),u=(n(74030),n(30699)),d=n(24852);const f=function(e,t,n,r){var i=e.id,o="?"+r+i,s="";if(t){var a=t.slice();-1===a.indexOf(i)?a.push(i):(s=" filter-active",a=(0,d.A)(a,i)),o=0===a.length?null:"?"+r+a.join("&"+r)}return{sortValue:o=(0,u.A)(n,o),className:s}};var h=n(15373),m=n(74848),p=n(12111);function v(e){return v="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},v(e)}function g(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,y(r.key),r)}}function y(e){var t=function(e,t){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==v(t)?t:t+""}function b(e,t,n){return t=x(t),function(e,t){if(t&&("object"==v(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)}(e,w()?Reflect.construct(t,n||[],x(e).constructor):t.apply(e,n))}function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w=function(){return!!e})()}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}
2function j(e,t){return j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},j(e,t)}var A=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),b(this,t,[e])}return 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&&j(e,t)}(t,e),n=t,(r=[{key:"getItemName",value:function(){var e=this.props,t=e.filterId,n=e.item,r=e.translation,i=n.name;if("fsk"===t)i="-1"===n.name||null===n.name?(0,h.A)("FSKnotKnown",r):(0,h.A)("fsk",r)+" "+n.name;else if("technical"===t){if("digital"===n.name.toLowerCase())return"";i=(0,o.A)(n.name)}return i}},{key:"render",value:function(){var e=this.props,t=e.filterId,n=e.active,r=e.item,i=e.filterValues,o=e.otherFilters,a=e.filterStringWithEqualSign,l=e.closeEverything,c=f(r,i,o,a),u=c.sortValue,d=c.className,h=this.getItemName();return(0,m.jsx)(s.A,{filterId:t,itemName:h,closeEverything:l,className:d,active:n,sortValue:u})}}])&&g(n.prototype,r),i&&g(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,i}(r.Component);const S=function(e){var t=e.filters,n=e.filterStrings,r=e.allItems,o=e.movies,s=e.queryStringValues,u=e.cinemaFrontPkType,d=e.translation,f=e.closeEverything;return Object.keys(t).map(function(e,h){var v=t[e].items;if(!v||"theatreName"===e&&u===l.hm)return"";var g=(0,c.G)(s,e),y=e+"=",b=Object.keys(v).sort(function(e,t){return i(v[e].name,v[t].name)}).map(function(t,i){var s=v[t];if(!s)return"";if(s.id=t,0===p.intersection(s.movies,p.keys(o)).length)return"";var a=p.intersection(s.movies,r),l=p.omit(n,e),c=a.length>0||p.contains(p.keys(n),e)&&p.keys(n).length<=1;return(0,m.jsx)(A,{translation:d,filterId:e,item:s,active:c,closeEverything:f,filterValues:g,otherFilters:l,filterStringWithEqualSign:y},t)});if("technical"===e){var w=p.keys(v),x=(0,a.A)(w,!0);return p.keys(x).map(function(t){var s=Array.isArray(x[t])?x[t].slice().sort(function(e,t){return i(v[e]?v[e].name:e,v[t]?v[t].name:t)}):[];return s.length>0&&(0,m.jsx)("ul",{className:"filter-section",children:s.map(function(t){var i=v[t],s=i.id;if(0===p.intersection(i.movies,p.keys(o)).length)return"";var a=p.intersection(i.movies,r),l=p.omit(n,e),c=a.length>0||p.contains(p.keys(n),e)&&p.keys(n).length<=1;return(0,m.jsx)(A,{filterId:e,item:i,translation:d,closeEverything:f,active:c,filterValues:g,otherFilters:l,filterStringWithEqualSign:y},s)})},t)})}return p.keys(v).length>0&&(0,m.jsx)("ul",{className:"filter-section",children:b},h)})}},92906:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){for(var n=e.offsetTop,r=e.offsetParent;r&&!t(r);)n+=r.offsetTop,r=r.offsetParent;return{offsetTop:n,offsetParent:r}};t.default={updateHash:function(e,t){var n=0===e.indexOf("#")?e.substring(1):e,r=n?"#"+n:"",i=window&&window.location,o=r?i.pathname+i.search+r:i.pathname+i.search;t?history.pushState(history.state,"",o):history.replaceState(history.state,"",o)},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(e){return function(t){return e.contains?e!=t&&e.contains(t):!!(16&e.compareDocumentPosition(t))}},scrollOffset:function(e,t,r){if(r)return e===document?t.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):"static"!==getComputedStyle(e).position?t.offsetLeft:t.offsetLeft-e.offsetLeft;if(e===document)return t.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if("static"!==getComputedStyle(e).position){if(t.offsetParent!==e){var i=n(t,function(t){return t===e||t===document}),o=i.offsetTop;if(i.offsetParent!==e)throw new Error("Seems containerElement is not an ancestor of the Element");return o}return t.offsetTop}if(t.offsetParent===e.offsetParent)return t.offsetTop-e.offsetTop;var s=function(e){return e===document};return n(t,s).offsetTop-n(e,s).offsetTop}}},93060:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(56347),i=n(96540),o=n(74030),s=n(69691),a=n(74848);const l=function(e){var t=e.textClass,n=e.query,r=e.handleSubmit,i=e.handleChange,l=e.handleReset,c=t||"text-medium-navigation",u=(0,s.B)("search_the_movies","search the mov
2ies"),d=(0,s.B)("search_reset","Search reset");return(0,a.jsxs)("form",{className:"search-movies",role:"search",onSubmit:r,children:[(0,a.jsx)("label",{id:"program-search-label",className:"search-movies-label",htmlFor:"query",children:(0,a.jsx)(o.Ay,{id:"search_the_movies",children:"Search the movies"})}),(0,a.jsxs)("div",{className:"search-movies-field",children:[(0,a.jsx)("input",{id:"query",name:"query",className:"search-movies-input "+c,tabIndex:0,"aria-labelledby":"program-search-label",role:"searchbox",type:"search",placeholder:u,value:n,onChange:i,autoFocus:!0}),n&&(0,a.jsx)("button",{className:"search-movies-reset",type:"button",tabIndex:-1,"aria-label":d,onClick:l,children:(0,a.jsx)("span",{className:"search-movies-reset-text "+c,children:"x"})})]}),(0,a.jsx)("button",{className:"search-movies-submit "+c,type:"submit",tabIndex:"0",children:(0,a.jsx)(o.Ay,{id:"searching",children:"Suchen"})})]})};var c=n(32979);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const f=function(e){var t=e.textClass,n=(0,c.L)();if(!n)return"";var r=u((0,i.useState)(""),2),o=r[0],s=r[1];return(0,a.jsx)(l,{textClass:t,query:o,handleChange:function(e){s(e.target.value)},handleReset:function(e){e.preventDefault(),s(""),window.location.href=n+"?searchopen=1"},handleSubmit:function(e){e.preventDefault(),o&&o.trim()&&(window.location.href=n+"?search="+o.trim())}})};var h=n(86663);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const v=(0,r.y)(function(e){var t=e.textClass,n=e.location,r=e.history,o=function(){return h.parse(n.search)},s=function(){var e=o();return e.search?e.search:""},c=function(e){var t=o();e?t.search=e:t.search&&delete t.search,r.push({search:h.stringify(t)})},u=m((0,i.useState)(s()),2),d=u[0],f=u[1];(0,i.useEffect)(function(){var e=s();d!=e&&f(e)},[n.search]);return(0,a.jsx)(l,{textClass:t,query:d,handleChange:function(e){var t=e.target.value;f(t),""===t.trim()&&c(!1)},handleReset:function(e){e.preventDefault(),f(""),c(!1)},handleSubmit:function(e){e.preventDefault();var t=d.trim();t!==s()&&c(t)}})});const g=function(e){var t=e.textClass;e.onSubmitSearch;return(0,r.W6)()?(0,a.jsx)(v,{textClass:t}):(0,a.jsx)(f,{textClass:t})}},95166:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(96540),i=n(83341),o=n(46095),s=n(24628),a=n(42831),l=n(97178),c=n(53346),u=n(95969),d=n(4816),f=n(49331),h=n(25037),m=n(53352),p=n(28511),v=n(12814),g=n(24846),y=n(7150),b=n(6649),w=n(96240),x=n(74030),j=n(61224),A=n(41126),S=n(74848);function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return k(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var P=function(e){var t=e.children,n=e.moviesRoutesData,r=e.goToMoviepage,o=e.onClick,s=e.to,a=e.smooth,c=e.offset,u=e.pk,d=e.className,f=e.currentLang,h=n?(0,l.A)(u,n,f):"#";return r?(0,S.jsx)("a",{className:d,href:h,children:t}):(0,S.jsx)(i.A,{className:d,onClick:o,to:s,smooth:a,offset:c,children:t})};const C=function(e){var t=e.itemID,n=e.itemData,i=e.scrollToPosition,l=e.queryStringValues,k=e.isMobile,C=void 0!==k&&k,E=e.goToMoviepage,_=void 0!==E&&E,T=e.onClickItem,M=e.setActiveSelection,I=e.hideInfo,N=void 0!==I&&I,D=e.movieTimes,L=e.moviesRoutesData,R=e.noSlideAttributePosition,F=e.posterStyling,V=e.index,$=void 0===V?"":V,B=e.cinemas,U=e.showPerformances,H=e.stripeAppearance,W=e.onOpenPerformancePage,z=void 0===W?null:W,Z=e.currentLang,q=e.currentCinemaId,G=e.relevantTechnologyAttributes,Y=e.relevantPerformances,X=e.fallbackItemsActive,K=e.overviewFilterIgnoreOnPerformances,Q=O((0,r.useState)(!1),2),J=Q[0],ee=Q[1],te=O((0,r.useState)(!1),2),ne=te[0],re=te[1],ie=O((0,r.useState)(!1),2),oe=ie[0],se=ie[1];if(!n)return"";var ae,le,ce,ue=n.title,de=n.images,fe=n.posterAttribute,he=n.fsk,me=n.length,pe=n.pk,ve=n.logo,ge=n.subTitle,ye=(0,r.useMemo)(function(){return(0,s.A)(de)},[de]),be=(0,m.A)(),we=(0,j.Bj)(q,B),xe=(0,j.LT)(we),je=be.multitotalStyle,Ae=be.themeColors,Se=be.multiCinemaMode,Oe=D.technologyAttributes,ke=D.purchasablePerformances,Pe=D.posterTimes,Ce=D.hasMultipleAttributeCombinations,Ee=G||Oe,_e=Se===d.GR?(0,u.A)(D,xe):[],Te=(0,p.A)(be,_e).cinemaColor,Me=J&&Te&&"colored"===je&&Se===d.GR?{borderColor:Te}:{},Ie=(0,o.A)(n),Ne=(0,y.A)(Ee),De=Ne.noAttributesWithIconsToDisplay,Le=Ne.noAttributesToDisplayWithSchnäppchen,Re=Ne.noAttributesWithoutIconsToDisplay,Fe=Ne.technologyAttributesWithoutIcons,Ve=Ne.technologyAttributesWithIcons,$e=U||"no_slide"===H?" theme-radius-posters-top":" theme-radius-posters-full",Be=(0,v.A)(Ee),Ue=(0,g.A)(fe),He=Ue.posterAttributeTop,We=Ue.posterAttributeBottom,ze=Ue.hasPosterAttributeClass,Ze=Ue.hasPosterAttributeBottomClass,qe="no_slide"===H;return(0,S.jsx)("div",{className:"poster-format-item-wrapper background-version",children:(0,S.jsxs)("div",{className:"poster-format-item"+Be+" "+F,style:Me,onMouseOver:function(){ee(!0)},onMouseOut:function(){ee(!1)},children:[(0,S.jsxs)(P,{pk:pe,moviesRoutesData:L,goToMoviepage:_,className:"picture-wrapper cursor-pointer"+$e,onClick:function(){return T({id:t,movieTitle:ue,index:$})},to:i+" openMovieInformation",smooth:!0,offset:-200,currentLang:Z,children:[ye.ambient?(0,S.jsx)("div",{className:"image",children:(0,S.jsx)(w.A,{borderClass:$e,image:ye.ambient,isMobile:C})}):(0,S.jsx)("div",{className:"no-image-container",children:(0,S.jsx)("div",{className:"no-image",children:ue})}),He&&!qe&&(0,S.jsx)("div",{className:"poster-attribute text-xlarge-bold poster-attribute-text theme-radius-posters-top top-attribute",children:fe.name}),Ie&&!qe&&(0,S.jsx)("div",{className:"text-xlarge-bold movie-title"+ze+Ze,children:Ie}),We&&!qe&&(0,S.jsx)("div",{className:"poster-attribute text-xlarge-bold poster-attribute-text bottom-attribute",children:fe.name}),"hoveranimation"===F&&(0,S.jsxs)("div",{className:"poster-info",children:[(0,S.jsx)(c.A,{fsk:he}),(0,S.jsxs)("div",{className:"tickets-button",children:[(0,S.jsx)("div",{className:"tickets-icon"}),(0,S.jsx)("p",{className:"",children:(0,S.jsx)(x.Ay,{id:"tickets"})})]}),(0,S.jsxs)("div",{className:"attributes-container",children:[!Le&&(0,S.jsxs)("p",{className:"text-bold attribute-wrapper-title",children:[Ce?(0,S.jsx)(x.Ay,{id:"alsoAvailableIn",children:"Auch verfügbar in"}):(0,S.jsx)(x.Ay,{id:"availableIn",children:"Verfügbar in"}),":"]}),!De&&(0,S.jsx)("div",{className:"attributes-with-icons",children:(0,S.jsx)(b.A,{performanceAttribute:!1,attributes:Ve,canBeColored:!0})}),!Re&&(0,S.jsx)("div",{className:"attributes-without-icons",children:(0,S.jsx)(b.A,{performanceAttribute:!1,attributes:Fe})})]})]}
2),"fsk_on_poster"===F&&(16===he||18===he)&&(0,S.jsx)("div",{className:"poster-info fsk-hint-poster theme-radius-posters-full",children:(0,S.jsx)(c.A,{fsk:he})}),(He||We)&&qe&&(0,S.jsx)("div",{className:"poster-attribute-no-slide text-xlarge-bold poster-attribute-text",children:fe.name}),qe&&!Le&&"hoveranimation"!==F&&(0,S.jsxs)("div",{className:"attributes-container",children:[!Le&&"non_split"===R&&(0,S.jsxs)("p",{className:"text-bold attribute-wrapper-title",children:[Ce?(0,S.jsx)(x.Ay,{id:"alsoAvailableIn",children:"Auch verfügbar in"}):(0,S.jsx)(x.Ay,{id:"availableIn",children:"Verfügbar in"}),":"]}),!De&&"non_split"===R&&(0,S.jsx)("div",{className:"attributes-with-icons",children:(0,S.jsx)(b.A,{performanceAttribute:!1,attributes:Ve,canBeColored:!0})}),!Re&&(0,S.jsx)("div",{className:"attributes-without-icons",children:(0,S.jsx)(b.A,{performanceAttribute:!1,attributes:Fe})})]})]}),!N&&(0,S.jsxs)("div",{className:"movie-info-wrapper theme-radius-posters-bottom",children:[ve&&ve.url&&!oe&&(ae=(0,A.A)(ve.url,!1,!1,!1,!0,!0),le=ae.finalImageURl,ce=ae.imageUrl,(0,S.jsx)("div",{className:"background-item-logo-overlay",children:(0,S.jsx)("img",{src:le,alt:Ie,className:"background-item-logo-img",onError:function(e){var t=e.currentTarget;ne?(t.onerror=null,se(!0)):(re(!0),t.onerror=null,t.src=ce)}})})),Ie&&qe&&(0,S.jsxs)("div",{onClick:function(){return T({id:t,movieTitle:ue,index:$})},className:"text-xlarge-bold movie-title-no_slide",children:[Ie,ge&&(0,S.jsx)("p",{className:"text-medium item-subtitle",style:{whiteSpace:"pre-line"},dangerouslySetInnerHTML:{__html:ge}})]}),(0,S.jsxs)("div",{className:"horizontal-flex-wrapper",children:[(0,S.jsxs)("div",{className:"more-information-wrapper",children:[qe&&!C&&(0,S.jsxs)("div",{className:"more-information row-flex-information "+(me?"":"no-length"),children:[(0,S.jsx)(a.A,{length:me,className:"pipe-button"}),(0,S.jsx)(c.A,{fsk:he,className:"pipe-button"}),!De&&"standard"===R&&(0,S.jsx)("div",{className:"attributes-with-icons pipe-button",children:(0,S.jsx)(b.A,{performanceAttribute:!1,attributes:Ve,canBeColored:!0})})]}),U&&(0,S.jsx)(h.A,{posterTimes:Pe,purchasablePerformances:ke,movieId:t,stripeAppearance:H,itemData:n,theme:Ae,queryStringValues:l,movieIndex:$,onClick:function(){return T({id:t,movieTitle:ue,index:$})},setActiveSelection:function(){return M({id:t,movieTitle:ue,index:$})},scrollToPosition:i,isMobile:C,onOpenPerformancePage:z,relevantPerformances:Y,fallbackItemsActive:X,overviewFilterIgnoreOnPerformances:K})]}),"default"===je&&"Arthouse"===Ae&&0!==_e.length&&(0,S.jsx)("div",{className:"cinemas-icon-wrapper",children:_e.map(function(e,t){return(0,S.jsx)(f.A,{cinemaData:B[e]},t)})})]})]})]})})};var E=n(84196),_=n(15049),T=n(53392),M=n(65302),I=n(54560),N=n(32186);const D=(0,E.Ng)((0,I.A)(function(e,t){return{cinemaDataFront:(0,T.A)(e,_.FRONT),routesData:(0,T.A)(e,_.ROUTESDATA),cinemas:(0,T.A)(e,_.PROGRAM_CINEMAS),movieTimes:(0,T.A)(e,[_.PROGRAM_MOVIETIMES_ITEMS,t.movieTimePk]),movieTimesMovie:(0,T.A)(e,[_.PROGRAM_MOVIETIMES_ITEMS,t.itemID]),currentLang:(0,T.A)(e,_.TRANSLATION_CURRENT_LANG),currentCinemaId:(0,T.A)(e,_.CLI_CURRENT_CINEMA_ID),relevantTechnologyAttributes:(0,N.A)(e,t.relevantPerformances,t.itemData&&t.itemData.performances)}}),function(e,t){return{onClickItem:function(n){(t.elementDisplay.activePerformance||t.elementDisplay.performancePageOpen)&&e((0,M.QC)(!1,!1)),t.elementDisplay.activeDetailsItem&&e((0,M.vx)(!1)),e((0,M.az)(n.index)),e((0,M.Bw)(n.id,t.movieTimePk)),e((0,M.XX)(t.selectionId)),t.isMobile&&e((0,M.wL)("right",1,!0))},setActiveSelection:function(n){t.elementDisplay.currentActiveSelection||(e((0,M.XX)(t.selectionId)),e((0,M.Bw)(n.id,t.movieTimePk)))}}})(function(e){var t=e.cinemaDataFront,n=e.routesData,r=e.cinemas,i=e.movieTimes,o=e.movieTimesMovie,s=e.currentLang,a=e.currentCinemaId,l=e.relevantTechnologyAttributes,c=e.onClickItem,u=e.setActiveSelection,d=e.itemID,f=e.itemData,h=e.scrollToPosition,m=e.isMobile,p=void 0!==m&&m,v=e.overviewFilterIgnoreOnPerformances,g=e.relevantPerformances,y=e.fallbackItemsActive,b=e.hideInfo,w=void 0!==b&&b,x=e.index,j=void 0===x?"":x,A=e.queryStringValues,O=e.stripeAppearance,k=e.showPerformances,P=e.onOpenPerformancePage,E=void 0===P?null:P,_=e.goToMoviepage,T=void 0!==_&&_;if(!f)return"";var M=t.poster_styling,I=t.hidden_attributes,N=t.attribute_styling,D=t.stripe_appearance,L=t.no_slide_attribute_position,R=n.movies.items,F=v?o:i;return(0,S.jsx)(C,{itemData:f,attributeStyling:N,movieTimes:F,relevantTechnologyAttributes:l,itemID:d,scrollToPosition:h,isMobile:p,hiddenAttributes:I,goToMoviepage:T,onClickItem:c,hideInfo:w,mov
2iesRoutesData:R,posterStyling:M,setActiveSelection:u,index:j,noSlideAttributePosition:L,queryStringValues:A,cinemas:r,showPerformances:k,stripeAppearance:O||D,onOpenPerformancePage:E,currentLang:s,currentCinemaId:a,relevantPerformances:g,fallbackItemsActive:y,overviewFilterIgnoreOnPerformances:v})})},95498:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(84196),i=n(15049),o=n(53392),s=n(96540),a=n(5322),l=n(59399),c=n(53579),u=n(42233),d=n(74030),f=n(15373),h=n(74848);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var v=function(e){var t=e.url,n=e.translation,r=m((0,s.useState)(!1),2),i=r[0],o=r[1];(0,s.useEffect)(function(){var e=setTimeout(function(){return o(!1)},2500);return function(){e&&clearTimeout(e)}});var a=(0,f.A)("popupSharingCopy",n);return t?(0,h.jsxs)("form",{className:"copy-clipboard-url",children:[(0,h.jsxs)("div",{className:"copy-wrapper",children:[(0,h.jsx)("input",{className:"copy-url popup-button theme-radius-posters-full text-small-medium",type:"url",readOnly:!0,value:t}),(0,h.jsx)(l.CopyToClipboard,{text:t,onCopy:function(){return o(!0)},children:(0,h.jsx)("input",{className:"copy-button popup-button theme-radius-posters-full button text-medium cursor-pointer",type:"button",value:a})})]}),i&&(0,h.jsx)("div",{className:"copy-success text-small-medium ",children:(0,h.jsx)(d.Ay,{id:"popupSharingCopyToClipboard",children:"Link in Zwischenablage kopiert"})})]}):""};const g=function(e){var t=e.url,r=e.title,i=e.description,o=e.translation,l=m((0,a.A)(),3),f=l[0],p=l[1],g=l[2],y=m((0,s.useState)(null),2),b=y[0],w=y[1];(0,s.useEffect)(function(){var e=!0;return Promise.all([n.e(86),n.e(576)]).then(n.bind(n,43779)).then(function(t){e&&w({EmailShareButton:t.EmailShareButton,FacebookShareButton:t.FacebookShareButton,TelegramShareButton:t.TelegramShareButton,TwitterShareButton:t.TwitterShareButton,WhatsappShareButton:t.WhatsappShareButton,EmailIcon:t.EmailIcon,FacebookIcon:t.FacebookIcon,TelegramIcon:t.TelegramIcon,TwitterIcon:t.TwitterIcon,WhatsappIcon:t.WhatsappIcon})}),function(){e=!1}},[]);var x=b||{},j=x.EmailShareButton,A=x.FacebookShareButton,S=x.TelegramShareButton,O=x.TwitterShareButton,k=x.WhatsappShareButton,P=x.EmailIcon,C=x.FacebookIcon,E=x.TelegramIcon,_=x.TwitterIcon,T=x.WhatsappIcon;return(0,h.jsxs)("div",{className:"share-buttons",children:[(0,h.jsxs)("div",{className:"share-buttons-toggle cursor-pointer",onClick:p,children:[(0,h.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 44.07 50",children:(0,h.jsx)("g",{id:"Gruppe_30",children:(0,h.jsx)("path",{id:"Pfad_49",className:"cls-1",d:"M36.24,14.75c.14,0,.28,.03,.42,.03h0c4.08,.01,7.4-3.29,7.41-7.37C44.08,3.33,40.78,.01,36.7,0c-3.91-.01-7.16,3.03-7.39,6.94-.05,.94,.07,1.89,.37,2.79L12.14,20.19c-3.08-2.65-7.72-2.29-10.37,.79-2.65,3.08-2.29,7.72,.79,10.37,1.33,1.14,3.03,1.77,4.79,1.77,1.66,0,3.27-.56,4.56-1.61l17.1,9.3c-.45,1.75-.22,3.59,.62,5.18,1.26,2.45,3.78,4,6.54,4h0c1.18,0,2.34-.31,3.38-.87,3.6-1.89,5.01-6.33,3.16-9.95-1.26-2.45-3.79-3.98-6.54-3.97-1.18,0-2.34,.29-3.38,.85-.84,.44-1.58,1.03-2.2,1.75L14.06,28.81c.44-.96,.67-2.01,.68-3.07,0-.98-.19-1.94-.56-2.85L31.5,12.61c1.25,1.29,2.94,2.05,4.74,2.14Zm-3.55-7.58c.11-2.11,1.86-3.76,3.97-3.75h.22c2.19,.13,3.87,2.01,3.75,4.2-.13,2.19-2.01,3.87-4.2,3.75-2.19-.13-3.87-2-3.75-4.2h0ZM3.38,25.77c0-2.19,1.78-3.97,3.97-3.97s3.97,1.78,3.97,3.97-1.78,3.97-3.97,3.97h0c-2.19,0-3.97-1.77-3.97-3.96,0,0,0,0,0-.01h0Zm30.97,13.3c.56-.3,1.19-.46,1.83-.45,1.49,0,2.86,.82,3.55,2.14,1.01,1.94,.26,4.33-1.68,5.35,0,0,0,0-.01,0-.56,.3-1.19,.46-1.83,.45h0c-1.49,0-2.86-.82-3.55-2.14-.49-.94-.58-2.04-.25-3.04,.3-1.01,1-1.85,1.95-2.31h0Z"})})}),(0,h.jsx)("p",{className:"screen-reader-text",children:(0,h.jsx)(d.Ay,{id:"popupOpenSharing",children:"Open social media charing popup"})})]}),f&&(0,h.jsx)(u.N7,{children:(0,h.jsx)(c.A,{addClassToBackdrop:"share-buttons-popup",addClassToPopup:"popup-content-share-buttons popup-content-small",displayPopup:f,onClosePopup:g,children:(0,h.jsx)("div",{className:"share-buttons",children:(0,h.jsxs)("div",{className:"popup-content-center  share-buttons-wrapper",children:[b&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(A,{url:t,children:(0,h.jsx)(C,{size:50})}),(0,h.jsx)(O,{url:t,title:r,children:(0,h.jsx)(_,{size:50})}),(0,h.jsx)(k,{url:t,title:r,separator:"\n",children:(0,h.jsx)(T,{size:50})}),(0,h.jsx)(S,{url:t,title:r,children:(0,h.jsx)(E,{size:50})}),(0,h.jsx)(j,{url:t,subject:r,body:i?r+"\n\n"+i:r,separator:"\n\n",children:(0,h.jsx)(P,{size:50})})]}),(0,h.jsx)(v,{url:t,translation:o})]})})})})]})};var y=n(54560);const b=(0,r.Ng)((0,y.A)(function(e,t){return{translation:(0,o.A)(e,i.TRANSLATION)}}),null)(function(e){var t=e.translation,n=e.url,r=e.title,i=e.description;
2return(0,h.jsx)(g,{url:n,title:r,description:i,translation:t})})},95641:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(96540),i=n(74848);function o(e){return o="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},o(e)}function s(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(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,u(r.key),r)}}function u(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function d(e,t,n){return t=h(t),function(e,t){if(t&&("object"==o(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)}(e,f()?Reflect.construct(t,n||[],h(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}const p=function(e){return function(t){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=d(this,n,[e])).state={activeCinema:null,cinemas:null,currentCinemaPk:null},t.setActiveCinema=t.setActiveCinema.bind(t),t}return 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&&m(e,t)}(n,t),r=n,(o=[{key:"componentDidMount",value:function(){pmkinoFrontVars.cliData?this.setState({activeCinema:pmkinoFrontVars.cliData.currentCinemaId?pmkinoFrontVars.cliData.currentCinemaId:null,currentCinemaPk:pmkinoFrontVars.cliData.currentCinemaId?pmkinoFrontVars.cliData.currentCinemaId:null,cinemas:pmkinoFrontVars.apiData.cinemas.items?pmkinoFrontVars.apiData.cinemas.items:null}):this.setState({activeCinema:null,cinemas:null,currentCinemaPk:null})}},{key:"setActiveCinema",value:function(e){this.setState({activeCinema:e})}},{key:"render",value:function(){var t=this.props.activeCinema,n={activeCinema:t||this.state.activeCinema,cinemas:this.state.cinemas,currentCinemaPk:this.state.currentCinemaPk,setActiveCinema:this.setActiveCinema};return(0,i.jsx)(e,a(a({},this.props),n))}}])&&c(r.prototype,o),s&&c(r,s),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o,s}(r.Component)}},95713:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(95640);const i=function(e,t){var n=r.Uu,i=e;return n[e.toLowerCase()]&&(i=t?n[e.toLowerCase()][t]:n[e.toLowerCase()].default),i}},95969:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(12111);const i=function(e,t){var n=[],i=e.desktopTimes;return r.keys(i).map(function(e){i[e].body.length>0&&(!t||r.contains(t,e))&&n.push(e)}),n}},96240:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(96540),i=n(41126),o=n(74848);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}
2finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const l=function(e){var t=e.image,n=e.isMobile,a=e.borderClass,l=void 0===a?"":a,c=s((0,r.useState)(!1),2),u=c[0],d=c[1],f=(0,i.A)(t,n,!1,!0),h=f.finalImageURl,m=f.imageUrl,p={objectPosition:f.position,width:"100%"},v=l||"theme-radius-posters-full";return(0,o.jsx)("img",{src:h,style:p,className:"movie-item-background-image backgrounds "+v,alt:"Background",onError:function(e){var t=e.currentTarget;u?(t.onerror=null,t.src=""):(d(!0),t.onerror=null,t.src=m)}})}},96602:(e,t,n)=>{function r(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n(59245)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=r,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(r())},97178:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t,n){return!!(t&&t.hasOwnProperty(e)&&t[e].uri_list.hasOwnProperty(n))&&t[e].uri_list[n]}}
2,98583:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}function i(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{z:()=>a});var a=function(e,t){return e&&e.scope.cinemaDataProvider?o(o({},e.scope.cinemaDataProvider),{},{cookieCategories:t}):null}},98818:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(20469),i=n(74030),o=n(74848);const s=function(e){var t=e.length;return(0,r.A)(t)?"":(0,o.jsxs)("div",{className:"text-medium length",children:[(0,o.jsx)("svg",{id:"Ebene_2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19.26 19.26",children:(0,o.jsxs)("g",{id:"Ebene_1-2",children:[(0,o.jsx)("path",{className:"cls-1",d:"M9.63,1.5c4.48,0,8.13,3.65,8.13,8.13s-3.65,8.13-8.13,8.13S1.5,14.11,1.5,9.63,5.15,1.5,9.63,1.5M9.63,0C4.31,0,0,4.31,0,9.63s4.31,9.63,9.63,9.63,9.63-4.31,9.63-9.63S14.95,0,9.63,0h0Z"}),(0,o.jsx)("polygon",{className:"cls-1",points:"13.28 13.32 8.88 10.6 8.88 5.5 10.38 5.5 10.38 9.76 14.07 12.04 13.28 13.32"})]})}),(0,o.jsxs)("span",{className:"minutes",children:[" ",t," ",(0,o.jsx)(i.Ay,{id:"movieLengthUnit",children:"Minuten"})]})]})}},99345:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","
2setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default}}]);
3//# sourceMappingURL=551.4b83969a.chunk.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.