PageSourceSearch

https://www.trondelag-teater.no/_next/static/5jhAxXAKwHOGlpH72P_Ja/pages/performance.js

js trondelag-teater.no collected 2026-09-25 00:30:37 UTC 32,639 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{"2wwy":function(e,t,n){e.exports=n("nhzr")},"8CVh":function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/performance",function(){return n("NE9F")}])},E8gZ:function(e,t,n){var a=n("w6GO"),l=n("NsO/"),i=n("NV0k").f;e.exports=function(e){return function(t){for(var n,r=l(t),o=a(r),s=o.length,c=0,u=[];s>c;)i.call(r,n=o[c++])&&u.push(e?[n,r[n]]:r[n]);return u}}},MfPC:function(e,t,n){"use strict";function a(e){return["s\xf8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xf8rdag"][e]}n.d(t,"a",(function(){return a}))},NE9F:function(e,t,n){"use strict";n.r(t);var a=n("hfKm"),l=n.n(a),i=n("2Eek"),r=n.n(i),o=n("XoMD"),s=n.n(o),c=n("Jo+v"),u=n.n(c),m=n("4mXO"),h=n.n(m),d=n("pLtp"),p=n.n(d),v=n("pbKT"),f=n.n(v),g=n("p0XB"),b=n.n(g),_=n("6BQ9"),w=n.n(_),k=n("vYYK"),N=n("2wwy"),M=n.n(N),y=n("eVuF"),S=n.n(y),V=n("ln6h"),C=n.n(V),x=n("0iUn"),j=n("AT/M"),T=n("sLSF"),O=n("Tit0"),H=n("MI3g"),F=n("a7VT"),z=n("q1tI"),E=n.n(z),L=n("8Kt/"),P=n.n(L),I=n("5Yp1"),A=n("UFcr"),B=n("OcYQ"),K=n("9j1t"),R=n("qmHl"),q=n("Vep/"),U=n("LsPb"),D=E.a.createElement,G=function(e){var t,n="p\xe5",a=B.a.mainColor;switch(e.name){case"Hovedscenen":t=D("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"17",viewBox:"0 0 25 17"},D("g",{fill:"none"},D("path",{fill:"#070808",d:"M7.5 16.25h17.501V0H7.5z"}),D("path",{fill:a,d:"M8.125 0a8.125 8.125 0 1 1 0 16.25 8.125 8.125 0 0 1 0-16.25"})));break;case"Gamle Scene":t=D("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17"},D("g",{fill:"none"},D("path",{fill:"#070808",d:"M0 17h16.25V.75H0z"}),D("path",{fill:a,d:"M16.25.75a8.125 8.125 0 0 0 0 16.25S16.3.75 16.25.75"})));break;case"Studioscenen":t=D("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},D("path",{fill:"#070808",d:"M0 16h16V0H0z"}));break;case"Teaterkjelleren":t=D("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17"},D("g",{fill:"none"},D("path",{fill:"#070808",d:"M0 16.25h16.25V0H0z"}),D("path",{fill:a,d:"M4.063 0v4.063h4.063v4.062h4.062v4.063h4.063V0z"}))),n="i";break;case"Theatercaf\xe9en":case"Teatergata":t=D("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17"},D("g",{fill:"none"},D("path",{fill:"#070808",d:"M0 16.25h16.25V0H0z"}),D("path",{fill:a,d:"M8.125 0a8.125 8.125 0 1 1 0 16.25 8.125 8.125 0 0 1 0-16.25"}))),n="i";break;default:t=null}return D("div",{className:"scene-container"},D("h2",null,t,"Spilles ",n," ",e.name))},W=n("OKey"),Y=E.a.createElement,Q=function(e){var t;if("YouTube"===e.host){var n="https://www.youtube.com/embed/".concat(e.code,"?rel=0&hd=1");t=Y("iframe",{title:e.title,width:"560",height:"349",src:n,frameBorder:"0",allowFullScreen:!0})}else{var a="https://player.vimeo.com/video/".concat(e.code);t=Y("iframe",{title:e.title,src:a,width:"640",height:"360",frameBorder:"0",allowFullScreen:!0})}return Y("div",{className:"videoWrapper"},t,Y(W.a,{addedClass:"prealoader-image"}))},X=n("Z08w"),Z=n("4pv1"),J=n("QqKt"),$=n("EUSe"),ee=n("EQ3O"),te=n("YFqc"),ne=n.n(te),ae=n("HMs9"),le=n.n(ae),ie=E.a.createElement,re=function(e){return e.noLink?ie("div",{className:"actor-item ".concat(e.className||"")},ie("div",{className:"content-link"},!e.hidePlaceholder&&ie(E.a.Fragment,null,e.image?ie(le.a,{height:200},ie("div",{className:"p-rel"},ie("div",{className:"bg-image img preloader-bg",style:{backgroundImage:"url(".concat(e.image,")")}}),ie(W.a,{addedClass:"prealoader-image"}))):ie("div",{className:"placeholder-image img"},ie("svg",{xmlns:"http://www.w3.org/2000/svg",width:"84",height:"80",viewBox:"0 0 84 80"},ie("path",{fill:"#000",d:"M8.533 1.887h-3.13v7.065H3.25V1.887H.12V.3h8.413v1.586M13.702.301c1.774 0 2.825 1.193 2.825 2.487 0 .95-.494 1.661-1.482 2.118.887.444 1.153 1.51 2.37 4.046h-2.37C14.12 7.1 13.778 5.44 12.613 5.44h-.621v3.513H9.838V.302h3.864zm-1.71 3.552h1.14c.596 0 1.178-.254 1.178-.99 0-.646-.418-.976-1.229-.976h-1.09v1.966zM18.552 9.422l-.773-.964 1.267-1.104a4.351 4.351 0 0 1-1-2.727c0-2.093 1.71-4.44 4.966-4.44 1.203 0 2.204.33 3.04.9l1.064-.963.875.875-1.052.913c.595.71 1 1.675 1 2.715 0 2.22-1.824 4.44-4.927 4.44-1.23 0-2.192-.317-3.066-.888l-1.394 1.243zm2.876-2.563c.355.241.912.406 1.584.406 1.634 0 2.71-1.053 2.71-2.638 0-.482-.113-1.002-.316-1.345L21.428 6.86zm3.142-4.465c-.418-.253-.912-.406-1.558-.406-1.647 0-2.75 1.053-2.75 2.639 0 .431.076.913.317 1.332l3.99-3.565zM38.253 8.952h-1.811L31.665 3.41v5.543h-2.153V.302h1.976L36.1 5.59V.3h2.153v8.651M43.993.301c3.155 0 4.777 1.966 4.777 4.339 0 2.486-1.571 4.312-5.017 4.312H40.18V.302h3.813zm-1.66 7.066h1.407c2.166 0 2.812-1.472 2.812-2.74 0-1.484-.798-2.74-2.837-2.74h-1.381v5.48zM56.749 8.952h-6.373V.302h6.284v1.585h-4.13V3.7h3.94v1.585h-3.94v2.08h4.219v1.586M64.981 8.952h-6.587V.302h2.153v7.065h4.434v1.585M75.08 8.952h-2.32l-.709-1.712h-3.864l-.646 1.712h-2.28l3.484-8.65h2.495l3.84 8.65zM70.023 2.37L68.757 5.73h2.66L70.025 2.37zM83.821 2.788c-1.102-.533-2.166-.8-3.23-.8-2.344 0-3.168 1.446-3.168 2.728 0 1.534 1.204 2.55 2.99 2.55.532 0 .798-.051 1.432-.305V5.946H80.59V4.36h3.408V7.9c-.646.672-2.242 1.167-3.636 1.167-3.015 0-5.156-1.84-5.156-4.427C75.206 2 77.335.187 80.413.187c1.292 0 2.547.292 3.408.71v1.89M25.48 13.1h-3.13v7.065h-2.154V13.1h-3.13v-1.586h8.413V13.1M33.183 20.165H26.81v-8.65h6.284V13.1h-4.13v1.814h3.94v1.585h-3.94v2.08h4.219v1.586M43.721 20.165h-2.318l-.71-1.712H36.83l-.646 1.712h-2.28l3.483-8.65h2.496l3.839 8.65zm-5.055-6.583l-1.267 3.361h2.66l-1.393-3.361zM51.005 13.1h-3.13v7.065h-2.153V13.1h-3.13v-1.586h8.413V13.1M58.708 20.165h-6.372v-8.65h6.284V13.1h-4.13v1.814h3.94v1.585h-3.94v2.08h4.218v1.586M64.217 11.514c1.774 0 2.825 1.192 2.825 2.486 0 .952-.494 1.662-1.482 2.119.887.444 1.153 1.51 2.37 4.046h-2.37c-.925-1.852-1.267-3.514-2.432-3.514h-.621v3.514h-2.154v-8.65h3.864zm-1.71 3.552h1.14c.596 0 1.178-.254 1.178-.99 0-.646-.418-.976-1.229-.976h-1.09v1.966zM38.162 79.853h-4.176V24.273a2.09 2.09 0 0 1 2.088-2.09 2.09 2.09 0 0 1 2.088 2.09v55.581M44.427 79.853H40.25V24.273a2.09 2.09 0 0 1 4.176 0v55.581M50.69 79.854h-4.175V24.271a2.09 2.09 0 0 1 4.176 0v55.582"})))),ie("div",null,e.title&&ie("h2",null,e.title),e.subTitle&&ie("h3",null,e.subTitle)))):ie("div",{className:"actor-item ".concat(e.className||"")},ie(ne.a,{as:e.as,href:e.href},ie("a",null,e.image?ie(le.a,{height:200},ie("div",{className:"p-rel"},ie("div",{className:"bg-image img preloader-bg",style:{backgroundImage:"url(".concat(e.image,")")}}),ie(W.a,{addedClass:"prealoader-image"}))):ie("div",{className:"placeholder-image img"},ie("svg",{xmlns:"http://www.w3.org/2000/svg",width:"84",height:"80",viewBox:"0 0 84 80"},ie("path",{fill:"#000",d:"M8.533 1.887h-3.13v7.065H3.25V1.887H.12V.3h8.413v1.586M13.702.301c1.774 0 2.825 1.193 2.825 2.487 0 .95-.494 1.661-1.482 2.118.887.444 1.153 1.51 2.37 4.046h-2.37C14.12 7.1 13.778 5.44 12.613 5.44h-.621v3.513H9.838V.302h3.864zm-1.71 3.552h1.14c.596 0 1.178-.254 1.178-.99 0-.646-.418-.976-1.229-.976h-1.09v1.966zM18.552 9.422l-.773-.964 1.267-1.104a4.351 4.351 0 0 1-1-2.727c0-2.093 1.71-4.44 4.966-4.44 1.203 0 2.204.33 3.04.9l1.064-.963.875.875-1.052.913c.595.71 1 1.675 1 2.715 0 2.22-1.824 4.44-4.927 4.44-1.23 0-2.192-.317-3.066-.888l-1.394 1.243zm2.876-2.563c.355.241.912.406 1.584.406 1.634 0 2.71-1.053 2.71-2.638 0-.482-.113-1.002-.316-1.345L21.428 6.86zm3.142-4.465c-.418-.253-.912-.406-1.558-.406-1.647 0-2.75 1.053-2.75 2.639 0 .431.076.913.317 1.332l3.99-3.565zM38.253 8.952h-1.811L31.665 3.41v5.543h-2.153V.302h1.976L36.1 5.59V.3h2.153v8.651M43.993.301c3.155 0 4.777 1.966 4.777 4.339 0 2.486-1.571 4.312-5.017 4.312H40.18V.302h3.813zm-1.66 7.066h1.407c2.166 0 2.812-1.472 2.812-2.74 0-1.484-.798-2.74-2.837-2.74h-1.381v5.48zM56.749 8.952h-6.373V.302h6.284v1.585h-4.13V3.7h3.94v1.585h-3.94v2.08h4.219v1.586M64.981 8.952h-6.587V.302h2.153v7.065h4.434v1.585M75.08 8.952h-2.32l-.709-1.712h-3.864l-.646 1.712h-2.28l3.484-8.65h2.495l3.84 8.65zM70.023 2.37L68.757 5.73h2.66L70.025 2.37zM83.821 2.788c-1.102-.533-2.166-.8-3.23-.8-2.344 0-3.168 1.446-3.168 2.728 0 1.534 1.204 2.55 2.99 2.55.532 0 .798-.051 1.432-.305V5.946H80.59V4.36h3.408V7.9c-.646.672-2.242 1.167-3.636 1.167-3.015 0-5.156-1.84-5.156-4.427C75.206 2 77.335.187 80.413.187c1.292 0 2.547.292 3.408.71v1.89M25.48 13.1h-3.13v7.065h-2.154V13.1h-3.13v-1.586h8.413V13.1M33.183 20.165H26.81v-8.65h6.284V13.1h-4.13v1.814h3.94v1.585h-3.94v2.08h4.219v1.586M43.721 20.165h-2.318l-.71-1.712H36.83l-.646 1.712h-2.28l3.483-8.65h2.496l3.839 8.65zm-5.055-6.583l-1.267 3.361h2.66l-1.393-3.361zM51.005 13.1h-3.13v7.065h-2.153V13.1h-3.13v-1.586h8.413V13.1M58.708 20.165h-6.372v-8.65h6.284V13.1h-4.13v1.814h3.94v1.585h-3.94v2.08h4.218v1.586M64.217 11.514c1.774 0 2.825 1.192 2.825 2.486 0 .952-.494 1.662-1.482 2.119.887.444 1.153 1.51 2.37 4.046h-2.37c-.925-1.852-1.267-3.514-2.432-3.514h-.621v3.514h-2.154v-8.65h3.864zm-1.71 3.552h1.14c.596 0 1.178-.254 1.178-.99 0-.646-.418-.976-1.229-.976h-1.09v1.966zM38.162 79.853h-4.176V24.273a2.09 2.09 0 0 1 2.088-2.09 2.09 2.09 0 0 1 2.088 2.09v55.581M44.427 79.853H40.25V24.273a2.09 2.09 0 0 1 4.176 0v55.581M50.69 79.854h-4.175V24.271a2.09 2.09 0 0 1 4.176 0v55.582"}))),ie("div",null,e.title&&ie("h2",null,e.title),e.subTitle&&ie("h3",null,e.subTitle)))))},oe=E.a.createElement;function se(e){var t=function(){if("undefined"===typeof Reflect||!f.a)return!1;if(f.a.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(f()(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=Object(F.a)(e);if(t){var l=Object(F.a)(this).constructor;n=f()(a,arguments,l)}else n=a.apply(this,arguments);return Object(H.a)(this,n)}}var ce=function(e){Object(O.a)(n,e);var t=se(n);function n(e){var a;return Object(x.a)(this,n),(a=t.call(this,e)).state={showContent:!1},a}return Object(T.a)(n,[{key:"toggleContent",value:function(){this.setState((function(e){return{showContent:!e.showContent}}))}},{key:"render",value:function(){var e=this,t=this.state.showContent,n=this.props.item;return oe("div",{className:"press-release-item"},oe("div",{className:"press-release-item__content"},oe("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26.855",height:"25.439",viewBox:"0 0 26.855 25.439"},oe("path",{d:"M10.4 4.59q-3.369.635-4.736 4.883a13.35 13.35 0 0 0-.684 4.15 3 3 0 0 0 .024.415q.024.171.073.757h5.322V25.44H0v-9.814Q0 8.399 2.881 4.493a10.692 10.692 0 0 1 7.52-4.492zm16.455 0a5.475 5.475 0 0 0-4.077 3.027 12.383 12.383 0 0 0-1.387 5.957q0 .293.024.586a3.332 3.332 0 0 0 .122.635h5.322V25.44H16.406v-9.814A21.657 21.657 0 0 1 18.847 5.25 9.857 9.857 0 0 1 26.855.001z"})),!t&&oe(E.a.Fragment,null,oe("div",{dangerouslySetInnerHTML:{__html:n.excerpt}}),oe("button",{className:"toggle-more",type:"button",onClick:function(){return e.toggleContent()}},"Les mer")),t&&oe(E.a.Fragment,null,oe("div",{dangerouslySetInnerHTML:{__html:n.content}}),oe("button",{className:"toggle-more",type:"button",onClick:function(){return e.toggleContent()}},"Skjul hele omtalen"))),oe("div",{className:"press-release-item__side"},oe("strong",null,n.name),oe("p",null,n.press_name)))}}]),n}(z.Component),ue=n("MfPC"),me=E.a.createElement;function he(e,t){var n=p()(e);if(h.a){var a=h()(e);t&&(a=a.filter((function(t){return u()(e,t).enumerable}))),n.push.apply(n,a)}return n}function de(e){var t=function(){if("undefined"===typeof Reflect||!f.a)return!1;if(f.a.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(f()(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=Object(F.a)(e);if(t){var l=Object(F.a)(this).constructor;n=f()(a,arguments,l)}else n=a.apply(this,arguments);return Object(H.a)(this,n)}}var pe=function(e){Object(O.a)(n,e);var t=de(n);function n(e){var a;return Object(x.a)(this,n),(a=t.call(this,e)).state={calendarHidden:!0,preview:!1,showMenu:!1,mobileShowFullContent:!1,mobileShowFullActors:!1,mobileShowFullArtisticTeam:!1,mobileShowFullProductionTeam:!1,modalContent:""},a.onEscKeyPress=a.onEscKeyPress.bind(Object(j.a)(a)),a}return Object(T.a)(n,null,[{key:"getInitialProps",value:function(e){var t,n,a,l,i,r,o,s,c;return C.a.async((function(u){for(;;)switch(u.prev=u.next){case 0:if(t=e.query,n=e.pathname,a=e.asPath,l=e.query,i=l.slug,r=l.apiRoute,o="",s="",!(e&&e.req&&e.req.query&&e.req.query.preview)){u.next=9;break}s=!0,u.next=12;break;case 9:return u.next=11,C.a.awrap(Object(K.a)("".concat(B.a.apiUrl,"/wp-json/wp/v2/").concat(r,"?slug=").concat(i)));case 11:o=u.sent;case 12:return u.next=14,C.a.awrap(Object(K.a)("".concat(B.a.apiUrl,"/wp-json/wp/v2/calendar?mobile=true")));case 14:return c=u.sent,u.abrupt("return",{performance:o,propquery:t,calendar:c,slug:i,pathname:n,apiRoute:r,asPath:a,preview:s});case 16:case"end":return u.stop()}}),null,null,null,S.a)}}
1]),Object(T.a)(n,[{key:"componentDidMount",value:function(){var e=this;this.props.preview&&fetch("".concat(B.a.apiUrl,"/wp-json/wp/v2/preview?id=").concat(this.props.slug,"&cachecall=true"),{method:"GET",credentials:"same-origin"}).then((function(e){return e.json()})).then((function(t){e.setState({preview:t})})).catch((function(e){console.log(e)})),document.addEventListener("keydown",this.onEscKeyPress,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.onEscKeyPress,!1)}},{key:"onEscKeyPress",value:function(e){27===e.keyCode&&this.closeModal()}},{key:"closeModal",value:function(){this.setState({modalContent:""})}},{key:"showNextCalendarItem",value:function(){this.setState({calendarHidden:!1})}},{key:"toggleMenu",value:function(){this.setState((function(e){return{showMenu:!e.showMenu}}))}},{key:"render",value:function(){var e,t,n,a,i,o,c,m,h,d,p,v,f,g,_,N,y,S,V,C,x,j,T,O,H,F,z,L,A,K,D,W,Y,J,$,te,ne,ae=this,le=this.props.slug?"".concat(this.props.pathname,"?slug=").concat(this.props.slug,"&apiRoute=").concat(this.props.apiRoute):this.props.pathname;if(!this.props.performance[0]&&!this.props.preview)return me(U.a,{siteName:this.props.siteConfig.name,menu:this.props.headerMenu,url:le,asPath:this.props.asPath,userAgent:this.props.userAgent});if(!this.state.preview[0]&&this.props.preview)return me("div",null);var ie=this.state.preview?this.state.preview[0]:this.props.performance[0],oe=M()(this.props.calendar||{}).filter((function(e){return e.product_id===ie.product_id})).sort((function(e,t){return e.time.localeCompare(t.time)})),se=Object(R.a)(ie.title.rendered).replace(/<(?:.|\n)*?>/gm,""),de=null,pe=!1;(null===(e=ie.acf)||void 0===e?void 0:null===(t=e.actors_list)||void 0===t?void 0:t.length)>0&&(de=ie.acf.actors_list,pe=!0),!de&&ie.actors&&(de=ie.actors.map((function(e){return{actor:e}})));var ve=null;(null===(n=ie.acf)||void 0===n?void 0:null===(a=n.press_releases)||void 0===a?void 0:a.length)>0&&(ve=ie.acf.press_releases),!ve&&ie.pressen&&(ve=ie.pressen);var fe=null,ge=!1;(null===(i=ie.acf)||void 0===i?void 0:null===(o=i.background_materials)||void 0===o?void 0:o.length)>0&&(fe=ie.acf.background_materials,ge=!0),!fe&&(ie.acf.program_pdf||ie.acf.program_link||ie.acf.bakgrunnsmateriale||ie.acf.bakgrunnsmateriale_link)&&(fe=[{program_pdf:ie.acf.program_pdf||"",program_link:ie.acf.program_link||"",bakgrunnsmateriale:ie.acf.bakgrunnsmateriale||"",bakgrunnsmateriale_link:ie.acf.bakgrunnsmateriale_link||""}]);var be=(null===(c=ie.content)||void 0===c?void 0:c.rendered)&&ie.content.rendered.split("\n").filter((function(e){return e})).slice(0,3).join("\n\n");return me(I.a,null,me(P.a,null,this.props.preview?me("meta",{name:"robots",content:"noindex,follow"}):me(Z.a,{title:"".concat(se," - ").concat(this.props.siteConfig.name),url:"".concat(B.a.apiUrl).concat(this.props.asPath),description:"".concat(Object(R.a)(ie.content.rendered.substring(0,250).replace(/<(?:.|\\n)*?>/gm,"")),"..."),image:ie.acf.forsiden_bilde_new&&ie.acf.forsiden_bilde_new.url?ie.acf.forsiden_bilde_new.url:""}),me("meta",{name:"description",content:"".concat(Object(R.a)(ie.content.rendered.substring(0,250).replace(/<(?:.|\\n)*?>/gm,"")),"...")}),me("title",null,se," - ",this.props.siteConfig.name)),me(ee.a,{menu:this.props.headerMenu,url:le,asPath:this.props.asPath,userAgent:this.props.userAgent}),this.state.modalContent&&me("div",{className:"warning-modal"},me("button",{type:"button",className:"close-bg",onClick:function(){return ae.closeModal()}},"close"),me("div",{className:"modal-content performance-modal"},me("button",{type:"button",className:"close",onClick:function(){return ae.closeModal()}},"\xd7"),me("div",{dangerouslySetInnerHTML:{__html:this.state.modalContent}}))),me("div",{id:"main",className:"single-performance"},me("div",{className:"slider-container color-container mobile-bg-black bg-white"},me("div",{className:"container mobile-no-padding"},ie.acf.forestilling_bilder_content&&ie.acf.forestilling_bilder_content.length>0?me(q.a,{galleryImages:ie.acf.forestilling_bilder_content.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?he(Object(n),!0).forEach((function(t){Object(k.a)(e,t,n[t])})):s.a?r()(e,s()(n)):he(Object(n)).forEach((function(t){l()(e,t,u()(n,t))}))}return e}({},e,{billede:e.billede})})),video:!0,autoplay:!0}):me(q.a,{galleryImages:ie.gallery_images,autoplay:!0}),me("div",{className:"performance-title"},me("div",null,me("h1",{className:"font-sharp-grotesk"},se),ie.performances_subtitle?me("h2",{className:"subtitle"},ie.performances_subtitle.replace(/<(?:.|\n)*?>/gm,"")):null),me("div",null,me("button",{type:"button",className:"sub-menu-btn",onClick:function(){return ae.toggleMenu()}},me("span",null,"Vis mer"),me("svg",{xmlns:"http://www.w3.org/2000/svg",width:"29",height:"20.139",viewBox:"0 0 29 20.139"},me("path",{d:"M3 26.139h29v-2.416H3zm0-8.861h29v-2.417H3zM3 6v2.416h29V6z",transform:"translate(-3 -6)",style:{fill:"#d4af37"}}))),this.state.showMenu&&me("ul",{className:"submenu"},(null===(m=ie.content)||void 0===m?void 0:m.rendered)&&me("li",null,me("a",{href:"#om-forestillingen",onClick:function(){return ae.toggleMenu()}},"Om forestillingen")),this.props.calendar&&me("li",null,me("a",{href:"#billetter",onClick:function(){return ae.toggleMenu()}},"Billetter")),(null===(h=de)||void 0===h?void 0:h.filter((function(e){var t;return null===(t=e.actor)||void 0===t?void 0:t.id})).length)>0&&me("li",null,me("a",{href:"#medvirkende",onClick:function(){return ae.toggleMenu()}},"Medvirkende")),ie.acf.artistic_team_list&&ie.acf.artistic_team_list.filter((function(e){var t;return null===(t=e.member)||void 0===t?void 0:t.id})).length>0&&me("li",null,me("a",{href:"#kunstnerisk-lag",onClick:function(){return ae.toggleMenu()}},"Kunstnerisk lag")),(null===(d=ie.acf.production_team_list)||void 0===d?void 0:d.length)>0&&me("li",null,me("a",{href:"#produksjonslaget",onClick:function(){return ae.toggleMenu()}},"Produksjonslaget")),(null===(p=ie.acf.links_and_news)||void 0===p?void 0:p.length)>0&&me(E.a.Fragment,null,ie.acf.links_and_news.map((function(e,t){return me("li",{key:t},me("a",{href:"#nyheter",onClick:function(){ae.setState({modalContent:ie.acf.links_and_news[t].content||""}),ae.toggleMenu()}},Object(R.a)(e.title)))}))),(null===(v=ve)||void 0===v?void 0:v.length)>0&&me("li",null,me("a",{href:"#presseomtaler",onClick:function(){return ae.toggleMenu()}},"Presseomtaler")),(null===(f=fe)||void 0===f?void 0:f.length)>0&&me("li",null,me("a",{href:"#bakgrunnsmateriale",onClick:function(){return ae.toggleMenu()}},"Bakgrunnsmateriale")),(null===(g=ie.videos)||void 0===g?void 0:g.length)>0&&me("li",null,me("a",{href:"#video",onClick:function(){return ae.toggleMenu()}},"Video"))))))),me("div",{className:"container performance-content-container p-b-30"},me("div",{className:"text-center sub"},me("div",{className:"color-container bg-beige"},(null===(_=ie.venues)||void 0===_?void 0:_[0])||ie.showing_time?me("div",{className:"performance-sub-container"},(null===(N=ie.venues)||void 0===N?void 0:N[0])?me(G,{name:ie.venues[0].name}):null,ie.showing_time?me("p",{className:"showing-time"},ie.showing_time):""):null,ie.varighet&&me("div",{className:"content-short text-center"},me("div",{className:"performance-duration"},me("h3",null,"Varighet"),me("p",null,ie.varighet))),me("div",{className:"price-container"},me("h3",null,"Priser"),me("ul",null,ie.performances_price_ordinary&&me("li",null,me("strong",null,"Ordin\xe6r"),me("p",null,ie.performances_price_ordinary)),ie.performances_price_seniors&&me("li",null,me("strong",null,"Honn\xf8r"),me("p",null,ie.performances_price_seniors)),ie.performances_price_children&&me("li",null,me("strong",null,"Under 30 \xe5r/",me("br",null),"student"),me("p",null,ie.performances_price_children)),ie.performances_price_groups&&me("li",null,me("strong",null,"Grupper",me("br",null),"Over 10"),me("p",null,ie.performances_price_groups))))),this.props.isMobile&&(null===(y=ie.content)||void 0===y?void 0:y.rendered)&&me("div",{className:"content-container color-container bg-white",id:"om-forestillingen"},me("div",{className:"text-left content p-t-0 p-b-0",dangerouslySetInnerHTML:{__html:this.state.mobileShowFullContent?ie.content.rendered:be}}),!this.state.mobileShowFullContent&&me("button",{type:"button",className:"more-btn",onClick:function(){return ae.setState({mobileShowFullContent:!0})}},me("span",null,"Vis mer")),this.state.mobileShowFullContent&&me("button",{type:"button",className:"more-btn",onClick:function(){return ae.setState({mobileShowFullContent:!1})}},me("span",null,"Skjul"))),oe.length>0&&me("div",{className:"p-t-30 ".concat(this.props.isMobile?"p-b-0":"p-b-30"),id:"billetter"},me("h3",{className:"lined text-center font-sharp-grotesk"},me("span",{className:"bg-white",style:{maxWidth:160}},"BILLETTER")),me("table",{className:"single-performance-calendar-table"},me("tbody",null,oe.map((function(e,t){var n=new Date(e.time),a=e.time.split(" "),l=a[0].split("-"),i=a[1];return!(t>4&&ae.state.calendarHidden)&&me("tr",{key:t},me("td",{className:"date"},me("time",{dateTime:a},me("p",{className:"day"},"".concat(l[2],". ").concat(Object(X.a)(w()(l[1]-1,10)+1)," ").concat(l[0])),me("p",{className:"year"},Object(ue.a)(n.getDay())))),me("td",{className:"time"},me("time",{dateTime:a},i),function(e){var t,n="Kj\xf8p<br />Billetter";return e.capacity_status>0?(t=e.event_url,1===e.capacity_status&&(n="F\xe5 ledige")):(t="https://billetter.trondelag-teater.no/webshop/webticket/wis
1hlist.secure?eventId=".concat(e.venue_id),n="Utsolgt<br />Sett p\xe5<br />venteliste"),me("div",{className:"buy-ticket"},t?me("div",{className:"button"},me("a",{href:t,target:"_blank",rel:"noreferrer"},me("strong",{dangerouslySetInnerHTML:{__html:n}}))):null)}(e)))})))),this.state.calendarHidden&&oe.length>5&&me("div",{className:"actions text-center m-t-30"},me("button",{type:"button",className:"button",onClick:function(){return ae.showNextCalendarItem()}},me("span",{className:"font-tiempos-text"},"Se alle datoer"))))),!this.props.isMobile&&(null===(S=ie.content)||void 0===S?void 0:S.rendered)&&me("div",{className:"content-container color-container bg-white",id:"om-forestillingen"},me("div",{className:"content p-t-0",dangerouslySetInnerHTML:{__html:ie.content.rendered}}))),me("div",{className:"color-container bg-beige ".concat(this.props.isMobile?"p-t-50 p-b-50":"p-t-100 p-b-100")},(null===(V=de)||void 0===V?void 0:V.filter((function(e){var t;return null===(t=e.actor)||void 0===t?void 0:t.id})).length)>0&&me("div",{className:"container actors-container",id:"medvirkende"},me("h2",{className:"lined text-center font-sharp-grotesk"},me("span",{className:"bg-beige"},"MEDVIRKENDE")),me("ul",{className:"actors-list text-center"},de.map((function(e,t){if(ae.props.isMobile){var n,a;if(de.filter((function(e){var t;return null===(t=e.actor)||void 0===t?void 0:t.id})).length<=((null===(n=ie.acf)||void 0===n?void 0:n.number_of_actors_to_show_on_mobile)||4))return e;if(!ae.state.mobileShowFullActors&&t+1>((null===(a=ie.acf)||void 0===a?void 0:a.number_of_actors_to_show_on_mobile)||4))return!1}return e})).filter((function(e){var t;return null===(t=e.actor)||void 0===t?void 0:t.id})).map((function(e,t){var n,a=e.actor,l=a.image?a.image.src:"";return l||(l=a.better_featured_image?a.better_featured_image.source_url:""),me(re,{key:t,as:"/skuespillere/".concat(a.slug),href:"/actor?slug=".concat(a.slug,"&apiRoute=actors"),title:Object(R.a)(a.title.rendered),image:null!==(n=l)&&void 0!==n&&n,subTitle:e.sub_title})}))),this.props.isMobile&&me("div",{className:"text-center p-b-30"},de.filter((function(e){var t;return null===(t=e.actor)||void 0===t?void 0:t.id})).length>((null===(C=ie.acf)||void 0===C?void 0:C.number_of_actors_to_show_on_mobile)||4)&&me(E.a.Fragment,null,!this.state.mobileShowFullActors&&me("button",{type:"button",className:"more-btn",onClick:function(){return ae.setState({mobileShowFullActors:!0})}},me("span",null,"Vis alle")),this.state.mobileShowFullActors&&me("button",{type:"button",className:"more-btn",onClick:function(){return ae.setState({mobileShowFullActors:!1})}},me("span",null,"Skjul")))),pe&&(null===(x=ie.acf)||void 0===x?void 0:x.other_actors)&&me("div",{className:"container content-container"},me("div",{className:"p-t-0 content",dangerouslySetInnerHTML:{__html:ie.acf.other_actors}})),!pe&&me(E.a.Fragment,null,ie.other_actors&&me("div",{className:"container content-container"},me("div",{className:"p-t-0 content",dangerouslySetInnerHTML:{__html:ie.other_actors}})),ie.ansvarlige&&me("div",{className:"container content-container"},me("div",{className:"p-t-0 content",dangerouslySetInnerHTML:{__html:ie.ansvarlige}})))),(null===(j=ie.acf)||void 0===j?void 0:j.artistic_team_list)&&(null===(T=ie.acf)||void 0===T?void 0:null===(O=T.artistic_team_list.filter((function(e){var t;return null===(t=e.member)||void 0===t?void 0:t.id})))||void 0===O?void 0:O.length)>0&&me("div",{className:"container content-container p-t-35",id:"kunstnerisk-lag"},me("h2",{className:"lined text-center font-sharp-grotesk"},me("span",{className:"bg-beige"},"KUNSTNERISK LAG")),me("ul",{className:"kunst-list text-center"},ie.acf.artistic_team_list.map((function(e,t){if(ae.props.isMobile){if(ie.acf.artistic_team_list.filter((function(e){var t;return null===(t=e.member)||void 0===t?void 0:t.id})).length<=(ie.acf.number_of_artistic_team_to_show_on_mobile||5))return e;if(!ae.state.mobileShowFullArtisticTeam&&t+1>(ie.acf.number_of_artistic_team_to_show_on_mobile||5))return!1}return e})).filter((function(e){var t;return null===(t=e.member)||void 0===t?void 0:t.id})).map((function(e,t){var n,a,l=e.member,i=l.image?l.image.src:"";
1return i||(i=l.better_featured_image?l.better_featured_image.source_url:""),me(re,{key:t,as:"/kunstnerisk-lag/".concat(l.slug),href:"/artistic?slug=".concat(l.slug,"&apiRoute=artistic_team_member"),title:Object(R.a)(null===(n=l.title)||void 0===n?void 0:n.rendered),image:null!==(a=i)&&void 0!==a&&a,subTitle:e.sub_title,className:"theme-left"})}))),this.props.isMobile&&me("div",{className:"text-center p-b-30"},ie.acf.artistic_team_list.filter((function(e){var t;return null===(t=e.member)||void 0===t?void 0:t.id})).length>(ie.acf.number_of_artistic_team_to_show_on_mobile||5)&&me(E.a.Fragment,null,!this.state.mobileShowFullArtisticTeam&&me("button",{type:"button",className:"more-btn",onClick:function(){return ae.setState({mobileShowFullArtisticTeam:!0})}},me("span",null,"Vis alle")),this.state.mobileShowFullArtisticTeam&&me("button",{type:"button",className:"more-btn",onClick:function(){return ae.setState({mobileShowFullArtisticTeam:!1})}},me("span",null,"Skjul"))))),(null===(H=ie.acf.production_team_list)||void 0===H?void 0:H.length)>0&&me("div",{className:"container content-container p-t-35",id:"produksjonslaget"},me("h2",{className:"lined text-center font-sharp-grotesk"},me("span",{className:"bg-beige"},"PRODUKSJONSLAGET")),me("ul",{className:"production-list text-center"},ie.acf.production_team_list.map((function(e,t){if(ae.props.isMobile){if(ie.acf.production_team_list.length<=(ie.acf.number_of_production_team_to_show_on_mobile||6))return e;if(!ae.state.mobileShowFullProductionTeam&&t+1>(ie.acf.number_of_production_team_to_show_on_mobile||6))return!1}return e})).filter((function(e){return e})).map((function(e,t){return me(re,{key:t,title:e.name,subTitle:e.sub_title,className:"theme-left",noLink:!0,hidePlaceholder:!0})}))),this.props.isMobile&&me("div",{className:"text-center p-b-30"},ie.acf.production_team_list.length>(ie.acf.number_of_production_team_to_show_on_mobile||6)&&me(E.a.Fragment,null,!this.state.mobileShowFullProductionTeam&&me("button",{type:"button",className:"more-btn",onClick:function(){return ae.setState({mobileShowFullProductionTeam:!0})}},me("span",null,"Vis alle")),this.state.mobileShowFullProductionTeam&&me("button",{type:"button",className:"more-btn",onClick:function(){return ae.setState({mobileShowFullProductionTeam:!1})}},me("span",null,"Skjul")))))),(null===(F=ie.acf)||void 0===F?void 0:F.links_and_news)&&me("div",{className:"container content-container text-center ".concat(this.props.isMobile?"p-t-50 p-b-10":"p-t-100 p-b-60"),id:"nyheter"},me("ul",{className:"news-list"},ie.acf.links_and_news.map((function(e,t){var n=Object(R.a)(e.title).replace(/<(?:.|\n)*?>/gm,"");return me("li",{key:t},me("button",{type:"button",className:"link",onClick:function(){return ae.setState({modalContent:e.content})}},e.image&&me("div",{className:"img",style:{backgroundImage:"url(".concat(e.image,")")}}),me("h2",null,n)))})))),(null===(z=ve)||void 0===z?void 0:z.length)>0&&me("div",{className:"container content-container p-t-35",id:"presseomtaler"},me("h2",{className:"lined text-center font-sharp-grotesk"},me("span",{className:"bg-white"},"PRESSEOMTALER")),me("div",{className:"container w-800"},b()(ve)?me("div",null,ve.map((function(e,t){return me(ce,{item:e,key:t})}))):me("div",{className:"content ",dangerouslySetInnerHTML:{__html:ie.pressen}}))),(null===(L=fe)||void 0===L?void 0:L.length)>0&&me("div",{className:"performance-footer ".concat(this.props.isMobile?"p-t-50":"p-t-70 p-b-50"," container text-center"),id:"bakgrunnsmateriale"},me("h2",{className:"lined text-center font-sharp-grotesk"},me("span",{className:"bg-white"},"BAKGRUNNSMATERIALE")),ge?me("ul",null,fe.map((function(e,t){var n,a,l,i=e.link||e.file,r=null!==(n=e.file)&&void 0!==n?n:null;return me("li",{key:t},!e.image&&me("div",{className:"text-left"},e.title&&me("p",null,Object(R.a)(e.title))),i&&me("a",{className:"text-left",target:(null===(a=e.link)||void 0===a?void 0:a.target)||"_blank",href:r||(null===(l=e.link)||void 0===l?void 0:l.url)||""},e.image&&me("img",{src:e.image,alt:"",loading:"lazy"}),e.title&&me("span",null,Object(R.a)(e.title))))}))):me("ul",null,(null===(A=fe)||void 0===A?void 0:null===(K=A[0])||void 0===K?void 0:K.program_pdf)||(null===(D=fe)||void 0===D?void 0:null===(W=D[0])||void 0===W?void 0:W.program_link)?me("li",null,me("div",{className:"text-left"},me("p",null,"programmet")),fe[0].program_pdf?me("a",{className:"text-left",target:"_blank",href:fe[0].program_pdf},me("span",null,"Last ned programmet")):"",fe[0].program_link?me("a",{className:"text-left",href:fe[0].program_link,target:"_blank"},me("span",null,"Se programmet p\xe5 nettet")):null):null,(null===(Y=fe)||void 0===Y?void 0:null===(J=Y[0])||void 0===J?void 0:J.bakgrunnsmateriale)||(null===($=fe)||void 0===$?void 0:null===(te=$[0])||void 0===te?void 0:te.bakgrunnsmateriale_link)?me("li",null,me("div",{className:"text-left"},me("p",null,me("span",{className:""},"bakgrunnsmateriale"))),fe[0].bakgrunnsmateriale?me("a",{className:"text-left",target:"_blank",href:fe[0].bakgrunnsmateriale},me("span",null,"Last ned bakgrunnsmateriale")):"",fe[0].bakgrunnsmateriale_link?me("a",{className:"text-left",href:fe[0].bakgrunnsmateriale_link,target:"_blank"},me("span",null,"Se bakgrunnsmateriale p\xe5 nettet")):null):null)),(null===(ne=ie.videos)||void 0===ne?void 0:ne.length)>0&&me("div",{className:"container p-t-50 p-b-50",id:"video"},me("h2",{className:"lined text-center font-sharp-grotesk"},me("span",{className:"bg-white",style:{maxWidth:160}},"VIDEO")),me("ul",{className:"video-list"},ie.videos.map((function(e,t){return me("li",{key:t}
1,me(Q,{code:e.code,host:e.host,title:se}))}))))))}}]),n}(z.Component);t.default=Object($.a)(J.f,(function(e){return e}),null)(Object(A.a)(pe))},Z08w:function(e,t,n){"use strict";function a(e){var t=["","januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"];return e?t[e]:t}n.d(t,"a",(function(){return a}))},fW1p:function(e,t,n){var a=n("Y7ZC"),l=n("E8gZ")(!1);a(a.S,"Object",{values:function(e){return l(e)}})},nhzr:function(e,t,n){n("fW1p"),e.exports=n("WEpk").Object.values}},[["8CVh",1,2,0,3,4,5]]]);

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.