PageSourceSearch

https://rotterdamsphilharmonisch.nl/_next/static/chunks/pages/online-concert/[slug]/stream-da38ea58ecefaba4.js

js rotterdamsphilharmonisch.nl collected 2026-09-24 19:43:37 UTC 15,501 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6054],{7942:function(e,t,r){"use strict";var n,o,i,c,s=r(81322),a=r(89959),l=r(90054),u=r(63873),f=r(10636),p=r(40181),d=a.ZP.div.withConfig({displayName:"Programstyles__StyledProgram",componentId:"sc-181onkg-0"})(["display:flex;flex-direction:column;background:",";padding:40px 20px;border-top-right-radius:100px;margin-right:20px;width:100%;"," .concerten{margin-bottom:20px;}"," "," .title{font-family:",";font-size:",";line-height:",";color:",";margin-bottom:24px;font-weight:600;}.performers{margin-top:35px;","}.performers-item{display:flex;margin-bottom:35px;align-items:stretch;line-height:1.25;","{width:100px;height:100px;border-radius:100%;margin-right:22px;}.role{width:100px;margin-right:22px;}}.performers-text{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:calc(100% - 122px);}.performers-text-no-image{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:calc(100% - 122px);}"],l.ZP.colors.white,u.Z.md(n||(n=(0,s.Z)(["\n        flex-direction: row;\n        justify-content: space-between\n    "]))),u.Z.lg(o||(o=(0,s.Z)(["\n        margin-bottom: 80px;\n\n        p, span {\n            font-size: ",";\n        }\n    "])),(0,p.Z)(l.ZP.fontSizes.md)),u.Z.md(i||(i=(0,s.Z)(["\n        margin: 0;\n        display: flex;\n        justify-content: space-between;\n    "]))),l.ZP.fonts.default,(0,p.Z)(24),(0,p.Z)(32),l.ZP.colors.pink,u.Z.md(c||(c=(0,s.Z)(["\n            margin-top: 14px;\n        "]))),f.Z);t.Z=d},66865:function(e,t,r){"use strict";var n=r(18003),o=r(64045);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.Z=function(e){return{introduction:e.introduction,concertInfo:e.text,performers:e.performers_with_image?e.performers_with_image.map((function(e){return c(c({},e),{},{image:(0,o.Z)(e.image)})})):void 0,performersWithoutImage:e.performers_without_image,performersInfo:e.performer_notes,works:e.works}}},9276:function(e,t,r){"use strict";var n=r(18003),o=(r(56168),r(7942)),i=r(42959),c=r(11511),s=r(16935),a=r(62044),l=r(8014);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.Z=function(e){var t=e.introduction,r=(e.concerts,e.concertInfo),n=e.performersWithoutImage,u=e.performersInfo,p=e.performers,d=e.works,m=(0,a.Z)("common").t;return(0,l.jsxs)(o.Z,{children:[(0,l.jsxs)(i.Z,{cols:{xs:1,lg:.5},flexDirection:"column",children:[(0,l.jsx)("h2",{className:"title",children:m("concert.program_title")}),t||d?(0,l.jsxs)(l.Fragment,{children:[d&&(0,l.jsx)("div",{className:"concerten",children:d.map((function(e){return(0,l.jsxs)("p",{children:[e.link?(0,l.jsx)("a",{href:e.link.href,target:"_blank",children:(0,l.jsx)("strong",{children:e.composer})}):(0,l.jsx)("strong",{children:e.composer}),(0,l.jsx)("br",{}),e.title]},"".concat(e.composer,"-").concat(e.title))}))}),(0,l.jsx)("p",{children:t&&(0,c.ZP)(t)})]}):r&&(0,c.ZP)(r)]}),(0,l.jsxs)(i.Z,{cols:{xs:1,lg:.5},flexDirection:"column",children:[p&&(0,l.jsx)("div",{className:"performers",children:p.map((function(e){return(0,l.jsxs)("div",{className:"performers-item",children:[(0,l.jsx)(s.Z,f(f({},e.image),{},{fit:"cover"})),(0,l.jsxs)("div",{className:"performers-text",children:[(0,l.jsx)("span",{children:e.role}),(0,l.jsx)("span",{children:e.link?(0,l.jsx)("a",{href:e.link.href,target:"_blank",children:(0,l.jsx)("strong",{children:e.name})}):(0,l.jsx)("strong",{children:e.name})})]})]},"".concat(e.name,"-").concat(e.role))}))}),n&&(0,l.jsx)("div",{className:"performers",children:n.map((function(e){return(0,l.jsxs)("div",{className:"performers-item",children:[(0,l.jsx)("span",{className:"role",children:e.role}),(0,l.jsx)("div",{className:"performers-text-no-image",children:(0,l.jsx)("span",{children:e.link?(0,l.jsx)("a",{href:e.link.href,target:"_blank",children:(0,l.jsx)("strong",{children:e.name})}):(0,l.jsx)("strong",{children:e.name})})})]},"".concat(e.name,"-").concat(e.role))}))}),u&&(0,l.jsx)("p",{className:"performers-info",children:(0,c.ZP)(u)})]})]})}},76490:function(e,t,r){"use strict";var n=r(8583),o=r(221),i=r(50188),c=["type","content","id","theme"];t.Z=function(e){return null===e||void 0===e?void 0:e.map((function(e,t){if(!e)return console.error("Null block returned from API"),{type:"null",id:"unknown-".concat(t),content:{}};var r=e.type,s=e.content,a=e.id,l=e.theme,u=(0,n.Z)(e,c);try{var f=o.J[r].transformation(s,u);if(f)return{type:r,id:a,content:f,theme:l||i.R.white}}catch(p){return console.error("Something went wrong transforming block ".concat(r),p),{type:"null",id:a,content:{},theme:i.R.beige}}}))}},35053:function(e,t){"use strict";t.Z=function(e){return Array.isArray(e)?e.join("/"):e||""}},26629:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return G},default:function(){return H}});var n,o=r(18003),i=r(56168),c=r(40887),s=r(42959),a=r(90054),l=r(9276),u=r(27831),f=r(58072),p=r(26421),d=r(50188),m=r(89959),h=r(43863),g=r(1273),x=r(70335),b=m.ZP.div.withConfig({displayName:"OnlineConcertStreamPagestyles__StyledOnlineConcertStreamPage",componentId:"sc-1hcbgq1-0"})([".streamWrapper{background-color:",";position:relative;h1{",";",";text-align:center;color:",";}&:before{content:'';background-color:",";position:absolute;width:100%;",";bottom:0;left:0;transform:translateY(100%);}}.firstBlock{",";}"],a.ZP.colors.purpleText,(0,x.JB)(f.Z.fontSizes.h3),(0,x.TE)("margin-bottom",f.Z.distances.medium),a.ZP.colors.white,a.ZP.colors.purpleText,(0,x.TE)("height",f.Z.borderRadius.blocks),(0,x.TE)("border-top-left-radius",f.Z.borderRadius.blocks)),j=r(25883),y=r(14219),v=r.n(y),Z=r(81322),w=r(26881),O=r(88766),P=r(40181),_=m.ZP.div.withConfig({displayName:"StreamEmbedstyles__StyledStreamEmbed",componentId:"sc-3ke7ak-0"})(["",";display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;width:100%;.vivoWrapper{width:100%;h1,h2,h3,h4,h5{font-family:",";font-weight:600;text-align:center;display:none;}.video_errors{margin-top:16px;color:",";padding:16px 24px;background-color:",";text-align:center;}.vjs-big-play-button{left:50%;
1top:50%;transform:translate(-50%,-50%);width:80px;height:80px;border:none;border-radius:50%;overflow:hidden;transition:transform 0.5s ease;&:before{position:absolute;content:'';top:0;left:0;width:400%;height:100%;background:linear-gradient(90deg,#7a2182 0%,#e40521 60%);transition:transform 1s ease;pointer-events:none;}.vjs-icon-placeholder:before{width:auto;height:auto;left:50%;top:50%;transform:translate(-50%,-53%) scale(1.2);}&:hover{transform:translate(-50%,-50%) scale(1.15);&:before{transform:translateX(-100px);}}}}.loading{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:rgba(0,0,0,0.8);color:",";}.codeForm{padding:","px ","px;width:100%;height:100%;color:",";background-color:rgba(0,0,0,0.4);display:flex;flex-direction:column;justify-content:center;align-items:center;h2{margin-bottom:10px;text-align:center;}p{margin-bottom:50px;text-align:center;}form{display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;"," label{position:relative;span{font-size:",";position:absolute;top:50%;transform:translate(0,-50%);left:12px;opacity:0;transition:transform ",",opacity ",";",";}}input{",";min-height:",";border:1px solid ",";padding:0 ",";&:focus{border-color:",";}&::placeholder{color:rgba(255,255,255,0.5);}}}.failed{margin-top:16px;color:",";padding:16px 24px;background-color:",";}}"],(0,x.TE)("min-height",{xs:200,md:408,lg:528,xl:697,xxl:787}),a.ZP.fonts.default,a.ZP.colors.white,a.ZP.colors.red,a.ZP.colors.white,a.ZP.distances.xl,a.ZP.distances.md,a.ZP.colors.white,w.Z.sm(n||(n=(0,Z.Z)(["\n                flex-direction: column;\n\n                input {\n                    margin-bottom: 12px;\n                }\n\n                input, button {\n                    width: 100%;\n                }\n            "]))),a.ZP.fontSizes.sm,a.ZP.transitions.default,a.ZP.transitions.default,(function(e){return e.formDirty&&(0,m.iv)(["opacity:1;transform:translate(-12px,-200%);"])}),(0,x.JB)(f.Z.fontSizes.base),(0,P.Z)(47),a.ZP.colors.purple,(0,O.Z)(12,f.Z.fontSizes.base.xs),a.ZP.colors.white,a.ZP.colors.white,a.ZP.colors.red),k=r(75332),S=r(35053),E=r(78703),N=r.n(E),D=r(62044),C=r(4759),q=r(5580),z=r(8014);function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var W=function(e){var t=e.videoSlug,r=(0,k.useRouter)(),n=(0,i.useState)(),o=n[0],c=n[1],s=(0,i.useState)(""),a=s[0],l=s[1],u=(0,i.useState)(t),f=u[0],p=u[1],d=(0,i.useState)(),m=d[0],h=d[1],g=(0,i.useState)([]),x=g[0],b=g[1],y=(0,i.useState)(),Z=y[0],w=y[1],O=(0,i.useState)(!1),P=O[0],E=O[1],I=(0,i.useState)(!1),W=I[0],B=I[1],F=(0,D.Z)("common").t;return(0,i.useEffect)((function(){t||p(r.query.video?(0,S.Z)(r.query.video):void 0),r.query.code&&c((0,S.Z)(r.query.code))}),[r,t]),(0,i.useEffect)((function(){l(o||"")}),[o]),(0,i.useEffect)((function(){var e=function(){B(!0)};if("complete"!==document.readyState)return window.addEventListener("load",e),function(){return document.removeEventListener("load",e)};e()}),[]),(0,i.useEffect)((function(){var e=function(){r.query.code&&c((0,S.Z)(r.query.code))};return r&&r.events.on("routeChangeStart",e),function(){r&&r.events.off("routeChangeStart",e)}}),[r]),(0,i.useEffect)((function(){var e=function(){var e=(0,j.Z)(v().mark((function e(){var t,r;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return E(!0),e.prev=1,e.next=4,fetch("".concat("https://app.strozu.com/organisation/rpho/videos","?code=").concat(o));case 4:if(!(t=e.sent)||200!==t.status){e.next=10;break}return e.next=8,t.json();case 8:(r=e.sent)&&r.length>0?b(r.map((function(e){return e.video_slug}))):(b([]),h(F("online_concert.stream.wrong_code")));case 10:e.next=16;break;case 12:e.prev=12,e.t0=e.catch(1),h(F("online_concert.stream.failed")),b(["rpho-rpho-mahler"]);case 16:return e.prev=16,E(!1),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[1,12,16,19]])})));return function(){return e.apply(this,arguments)}}();
1o&&e()}),[o]),(0,i.useEffect)((function(){f&&o&&x&&(x.includes(f)?w({ticket_code:o,video:f}):(w(void 0),h(F("online_concert.stream.wrong_concert"))))}),[x,f,o]),(0,i.useEffect)((function(){W&&Z&&new VivoVideo("vivo_video_player_container",Z)}),[Z,W]),(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(N(),{src:"https://app.strozu.com/js/embed.js"}),(0,z.jsxs)(_,{formDirty:!!a,children:[(0,z.jsx)("div",{className:"vivoWrapper","data-vivo-id":"vivo_video_player_container"}),o&&P&&(0,z.jsx)("div",{className:"loading",children:(0,z.jsx)(q.Z,{name:"logo"})}),!P&&!Z&&(0,z.jsxs)("div",{className:"codeForm",children:[(0,z.jsx)("h2",{children:F("online_concert.stream.form_title")}),(0,z.jsx)("p",{children:F("online_concert.stream.form_instruction")}),(0,z.jsxs)("form",{onSubmit:function(e){h(void 0),e.preventDefault(),r.push({pathname:r.pathname,query:T(T({},r.query),{},{code:a})})},children:[(0,z.jsxs)("label",{children:[(0,z.jsx)("span",{children:F("online_concert.stream.code")}),(0,z.jsx)("input",{type:"text",placeholder:F("online_concert.stream.form_placeholder"),value:a,onChange:function(e){return l(e.target.value)}})]}),(0,z.jsx)(C.Z,{variant:"primary",type:"submit",text:F("online_concert.stream.form_button")})]}),m&&(0,z.jsx)("div",{className:"failed",children:m})]})]})]})},B=r(59409),F=r(66865),R=r(76490),A=r(96117),J=function(e,t){var r;return{title:null===(r=e.header)||void 0===r?void 0:r.title,videoSlug:e.stream.url,program:(0,F.Z)(e.program),mainCta:{title:e.stream.cta.title,text:e.stream.cta.subtitle,buttons:[e.stream.cta.button_primary,e.stream.cta.button_secondary]},blocks:(0,R.Z)(e.stream.components),faq:(0,A.Z)(e.practical)}},X=r(41758),K={refetchOnWindowFocus:!1,staleTime:3e5},L=function(){var e=(0,j.Z)(v().mark((function e(t){var r,n;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.slug,n=t.locale,e.abrupt("return",(0,X.Z)("online-concert/".concat(r,"?stream"),n,(function(e){return J(e,n)})));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),V=r(51201);function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var G=!0,H=function(e){var t=function(e){return(0,B.useQuery)(e.queryKey,(function(){return L(e)}),K)}(e),r=t.data;if(!r||r.type!==h.h.OK||!r.pageData)return null;var n=r.pageData,o=n.title,i=n.videoSlug,x=n.program,j=n.mainCta,y=n.blocks,v=n.faq;return(0,z.jsxs)(b,{children:[(0,z.jsx)("div",{className:"streamWrapper",children:(0,z.jsx)(c.Z,{children:(0,z.jsxs)(s.Z,{cols:{xs:1},top:f.Z.distances.large,bottom:f.Z.distances.blockSpacing,justifyContent:"center",children:[(0,z.jsx)("h1",{children:o}),(0,z.jsx)(W,{videoSlug:i})]})})}),(0,z.jsx)(m.f6,{theme:d.Z.purple,children:(0,z.jsxs)(u.Z,{className:"firstBlock",currentBg:a.ZP.colors.purpleDark,children:[j&&(0,z.jsx)(p.Z,Y({},j)),(0,z.jsx)(c.Z,{justifyContent:{xs:"flex-start",md:"center"},children:(0,z.jsx)(s.Z,{cols:{xs:1,lg:10/12,xl:8/12},bottom:f.Z.distances.blockSpacing,children:(0,z.jsx)(l.Z,Y({},x))})})]})}),y&&(0,z.jsx)(g.Z,{blocks:y}),v&&(0,z.jsx)(m.f6,{theme:d.Z.white,children:(0,z.jsx)(u.Z,{currentBg:a.ZP.colors.white,children:(0,z.jsx)(V.Z,Y({},v))})})]})}},63477:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/online-concert/[slug]/stream",function(){return r(26629)}])}},function(e){e.O(0,[9774,2888,179],(function(){return t=63477,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.