PageSourceSearch

https://www.nieuwsvandedag.nl/_next/static/chunks/pages/_app-4509b9cc123048b3.js

js nieuwsvandedag.nl collected 2026-10-02 12:16:18 UTC 1,309,519 bytes, 291 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{41529:function(e,t,r){var n={"./common.yml":28087,"./corporatesite.yml":64214,"./hartvannederland.yml":12960,"./hetnieuws.yml":87261,"./kijk.yml":28027,"./kijkerstv.yml":40736,"./nieuwsvandedag.yml":76513,"./partnerportal.yml":13502,"./radio10.yml":96100,"./radio538.yml":99252,"./radionoordzee.yml":39241,"./shownieuws.yml":79498,"./skyradio.yml":7261,"./talpamedia.yml":28412,"./vandaaginside.yml":3259};function i(e){return r(a(e))}function a(e){if(!r.o(n,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=a,e.exports=i,i.id=41529},47443:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDebugMode=void 0;let n=r(53573),i=r(78770),a=r(56041);t.isDebugMode="undefined"!=typeof document&&document.cookie.indexOf("__WXA_DEBUG__")>=0;let o=[];t.default=class{constructor(){this.name="Base",this.defaultLayer={},this.log=(e,n,...i)=>{if(!t.isDebugMode&&"log"===e)return;let a=r.g.console[e];a(`${this.name} | ${n}`,...i)},this.info=(...e)=>{let t=e.shift(1);this.log("log",t,...e)},this.warn=(...e)=>{let t=e.shift(1);this.log("warn",t,...e)},this.error=(...e)=>{let t=e.shift(1);this.log("error",t,...e)},this.track=(e=n.CallType.LINK,t)=>{var r;if("undefined"==typeof window)return;let a=Object.assign(Object.assign({call_type:e,page_url:document.location.href},this.defaultLayer),t);if(!(null===(r=window.utag)||void 0===r?void 0:r.track)){this.queue.push(Object.assign({call_type:e},t));return}this.cleanTrackData(a),this.info(`send[${e}]`,Object.assign({},a)),i.default.addToLog(a,this),window.utag.track(e,a)},this.link=e=>this.track(n.CallType.LINK,e),this.view=e=>{this.track(n.CallType.VIEW,Object.assign({event_category:"pageview"},e))},this.video=e=>this.track(n.CallType.VIDEO,e),this.cleanTrackData=(e={})=>((0,a.deleteNullValues)(e),(0,a.toNormalizedLowerCase)(e,n.EXCLUDE_PROPERTIES_FOR_NORMALIZED_LOWERCASE),e),this.queue=o}}},62578:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(47443),i=r(16321),a=r(98161),o=r(41941),s=["view","link","video","setDataLayer","setup"];class l extends n.default{constructor(){if(super(),this.setup=async({account:e,profile:t,environment:r,defaultLayer:n,eventLog:a})=>void 0!==window.utag?(this.warn("utag already loaded"),Promise.resolve()):e&&t?void(this.info("load utag",{account:e,profile:t,environment:r}),n&&this.setDataLayer(n),i.EventLog.init(a||{}),await (0,o.default)(`//tags.tiqcdn.com/utag/${e}/${t}/${r||"prod"}/utag.js`).catch(e=>(this.error(e),Promise.reject("Account and profile are required to load utag"))),this.setEventsFromQueue(),Promise.resolve()):Promise.reject("Account and profile are required to load utag"),this.setDataLayer=e=>{this.defaultLayer=Object.assign(Object.assign({},this.defaultLayer),e)},this.setEventsFromQueue=()=>{var e;if(this.queue.length){this.info("queue[track]",[...this.queue]);do{let t=this.queue.shift();if(t){if("view"===t.call_type&&t.page_id===(null===(e=i.EventLog.getLastEvent("view"))||void 0===e?void 0:e.page_id)){this.info("skip duplicated page view event");continue}this.track(t.call_type,t)}}while(this.queue.length)}},this.push=([e,t])=>{if(!s.includes(e))return this.warn(`Unsupported command ${e}
2 Please use one of these methods: ${s.join(", ")} `);this[e](t)},this.name="Tealium","undefined"==typeof window)return;Array.isArray(window.WXA)&&window.WXA.forEach(([e,t])=>{if(!s.includes(e))return this.warn(`Unsupported command ${e}
3 Please use one of these methods: ${s.join(", ")} `);this[e](t)}),window.WXA=this}getPlugin(e){if(!e)return this.warn("Missing plugin name");let t=e.toLowerCase();return"eventlog"===t?i.EventLog:"heartbeat"===t?i.HeartBeat:"jwmonitor"===t?i.JwMonitor:"audiomonitor"===t?a.default:void this.warn(`Plugin '${e}' not found`)}}t.default=new l},53573:function(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EXCLUDE_PROPERTIES_FOR_NORMALIZED_LOWERCASE=t.CallType=void 0,(r=t.CallType||(t.CallType={})).VIEW="view",r.LINK="link",r.VIDEO="video",t.EXCLUDE_PROPERTIES_FOR_NORMALIZED_LOWERCASE=["media_id","media_thumbnail","media_name","media_stationname","player_embedurl","player_source","page_url","player_channelid"]},53390:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
3(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(62578);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a.default}}),i(r(16321),t),i(r(53573),t),i(r(68850),t)},98161:function(e,t,r){"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0});let a=r(47443),o=r(62578),s=r(56041);(i=n||(n={})).STATION="station",i.TRACK="track",i.SHOW="show",i.PLAYOUT="playout",t.default=new class extends a.default{constructor(){super(),this.instance=null,this.state={audio:{name:null,volume:1,playerState:null,audioItem:null}},this.debug=!0,this.init=e=>{if(!e)return this.error("options need to be provided");window.utag||this.warn("utag needs to be loaded in order to use AudioMonitor library"),this.options=e,e.instance&&this.setupInstance(e.id,e.instance)},this.setupInstance=(e,t)=>{if(this.instance=t,!this.instance){this.warn("No AudioPlayer instance found!");return}this.subscribeToEvents(e)},this.subscribeToEvents=e=>{this.info(`subscribe to events from audio player %c${e}:`,"font-weight:bold",`
4${Object.keys(this.events).join(", ")}`),Object.keys(this.events).forEach(e=>{this.subscribe(e,this.eventWrapper(this.events[e]))})},this.sendEvent=e=>this.eventWrapper(()=>e)({}),this.unsubscribe=(e,t)=>{this.instance&&this.instance.off(e,t)},this.unsubscribeFromEvents=()=>{Object.keys(this.events).forEach(e=>{this.unsubscribe(e,this.events[e])}),this.instance=null},this.subscribe=(e,t)=>{this.instance&&this.instance.on(e,t)},this.eventWrapper=e=>t=>{let r=e(t);if(!1===r)return;let n=this.getTrackData(),{event_action:i}=r,a=Object.assign(Object.assign(Object.assign({},n),{event_name:`player_${i}`}),r);o.default.link(a)},this.getTrackData=()=>{var e,t,r,i,a;let o=null===(e=this.instance)||void 0===e?void 0:e.media,l={media_bitrate:"auto",media_genre:"generic",media_name:(null==o?void 0:o.title)||null,player_autoplay:!1,player_casting:!1,player_engine:"html",player_state:(null===(t=this.instance)||void 0===t?void 0:t.getIsPlaying())?"start":"stop",player_weekday:new Date().toLocaleDateString("nl",{weekday:"short"}).toLowerCase()};(null==o?void 0:o.type)===n.STATION?Object.assign(l,{event_label:o.sourceData.slug,media_audiotype:"live-audio",media_datepublished:o.createdAt,media_id:o.sourceData.slug,media_thumbnail:o.thumbnailUrl,media_stationname:o.title||null,player_channel:o.sourceData.slug,player_channelid:o.mountSource}):(null==o?void 0:o.type)===n.TRACK&&Object.assign(l,{event_label:o.title,media_audiotype:"ondemand-audio",media_thumbnail:o.imageUrl||null,media_id:o.id,player_channel:(null===(i=null===(r=this.options)||void 0===r?void 0:r.defaultLayer)||void 0===i?void 0:i.player_channel)||null,player_channelid:"no_data",player_embedurl:o.previewUrl||null});let u=Object.assign(Object.assign({media_type:"audio",event_category:"player"},null===(a=this.options)||void 0===a?void 0:a.defaultLayer),l);return(0,s.deleteNullValues)(u),u},this.onIdle=()=>(this.state.audio.playerState="stop",{event_action:"stop"}),this.onBeforePlay=()=>(this.state.audio.playerState="play",{event_action:"play"}),this.onPlay=()=>"pause"===this.state.audio.playerState?(this.state.audio.playerState="play",{event_action:"resume"}):"play"===this.state.audio.playerState&&(this.state.audio.playerState="start",{event_action:"start"}),this.onMute=()=>(this.state.audio.playerState="mute",this.state.audio.volume=0,{event_label:"mute",event_action:"volume",event_value:""}),this.onAudioItem=e=>(this.state.audio.audioItem=e,!1),this.onSeek=()=>("pause"===this.state.audio.playerState||"play"===this.state.audio.playerState)&&(this.state.audio.playerState="seek",{event_action:"seek"}),this.onSeeked=()=>"seek"===this.state.audio.playerState&&(this.state.audio.playerState="seeked",{event_action:"seeked"}),this.onPause=()=>("play"===this.state.audio.playerState||"start"===this.state.audio.playerState)&&(this.state.audio.playerState="pause",{event_action:"pause"}),this.onStop=()=>"stop"!==this.state.audio.playerState&&(this.state.audio.playerState="stop",{event_action:"stop"}),this.onComplete=()=>"complete"!==this.state.audio.playerState&&(this.state.audio.playerState="complete",{event_action:"complete"}),this.onPlayerVolumeChange=e=>{let t=e.volume>this.state.audio.volume?"up":"down";return this.state.audio.volume=e.volume,{event_value:e.volume,event_label:t,event_action:"volume"}},this.onError=()=>({event_action:"error"}),this.name="AudioMonitor",this.events={idle:this.onIdle,beforePlay:this.onBeforePlay,mute:this.onMute,play:this.onPlay,audioItem:this.onAudioItem,seek:this.onSeek,seeked:this.onSeeked,pause:this.onPause,complete:this.onComplete,stop:this.onStop,error:this.onError,playerVolume:this.onPlayerVolumeChange}}}},24219:function(e,t,r){"use strict";
4Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerStates=void 0;let n=r(95810),i=r(56041);t.PlayerStates={BUFFERING:"BUFFERING",NOT_MONITORED:"NOT_MONITORED",PAUSED:"PAUSED",PLAYING:"PLAYING",STOPPED:"STOPPED",UNKNOWN:"UNKNOWN"},t.default=class{constructor(e,{apiKey:r,logLevel:a,gatewayUrl:o}){this.heartbeatTimeout=null,this.playbackRequested=!1,this.log=(e,t)=>{if(0===this.logLevel){if("object"!=typeof t)return console.log(`%c ${e}`,"font-weight: bold;",t);if(window.chrome)return console.log(`%c ${e}`,"font-weight: bold;",...Object.keys(t).reduce((e,r)=>[...e,`
5	- ${r}:${"".padStart(Math.max(28-r.length,1))}`,t[r]],[]));console.log(`%c ${e}`,"font-weight: bold;"),Object.keys(t).forEach(e=>console.log(`	- ${e}:`,t[e]))}},this.castToStringRecord=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,null===t?"":String(t)])),this.getMetadata=()=>{var e,t,r,i,a;let o=this.jwMonitor.getTrackData(),s=null===(e=this.jwMonitor.instance)||void 0===e?void 0:e.getPlaylistItem(),l=null==s?void 0:s.sources[0],u=0===o.media_duration,c=(null===(t=window.utag)||void 0===t?void 0:t.data.hashed_visitor_id)||"";return Object.assign({[n.Constants.DURATION]:u?-1:o.media_duration,[n.Constants.IS_LIVE]:u?n.Constants.StreamType.LIVE:n.Constants.StreamType.VOD,[n.Constants.ASSET_NAME]:o.media_id,[n.Constants.STREAM_URL]:(null==l?void 0:l.file)||"",[n.Constants.PLAYER_NAME]:o.player_name,[n.Constants.FRAMEWORK_NAME]:"jwplayer",[n.Constants.FRAMEWORK_VERSION]:o.player_version,[n.Constants.DEFAULT_RESOURCE]:"CLOUDFRONT",[n.Constants.VIEWER_ID]:c,media_type:"video",page_url:document.location.href,parent_hostname:document.location.hostname,player_channel:o.player_channel,player_type:"jwplayer",tealium_profile_name:(null===(r=window.utag)||void 0===r?void 0:r.data.tealium_profile)||"",app_name:`${window.WXA.defaultLayer.app_name||""}`,app_brandname:(null===(i=window.utag)||void 0===i?void 0:i.data.app_brandname)||"",hashed_visitor_id:c,c_sko_pub:`${(null===(a=window.utag)||void 0===a?void 0:a.data.c_sko_pub)||""}`,date:new Date().toISOString().split("T")[0]},this.castToStringRecord(s.metadata))},this.reportPlaybackRequested=()=>{if(this.playbackRequested)return;let e=this.getMetadata();this.log("videoAnalytics.reportPlaybackRequested()",e),this.videoAnalytics.reportPlaybackRequested(e),this.playbackRequested=!0},this.startHeartbeat=()=>{this.log("startConvivaHeartbeat",""),this.heartbeatTimeout||(this.heartbeatTimeout=setInterval(()=>{var e;let t=!!this.jwMonitor.state.ad.event;if(t){this.log("adAnalytics.reportAdMetric()",{[n.Constants.Playback.PLAY_HEAD_TIME]:this.jwMonitor.state.ad.position}),this.adAnalytics.reportAdMetric(n.Constants.Playback.PLAY_HEAD_TIME,this.jwMonitor.state.ad.position);return}let{bufferPercent:r,position:i}=this.jwMonitor.state.video,a=null===(e=this.jwMonitor.instance)||void 0===e?void 0:e.getDuration(),o=null;r&&a&&i&&(o=Math.max((r*a/100-i)*1e3,0)),this.log("videoAnalytics.reportPlaybackMetric()",{[n.Constants.Playback.PLAY_HEAD_TIME]:i,[n.Constants.Playback.BUFFER_LENGTH]:o}),this.videoAnalytics.reportPlaybackMetric(n.Constants.Playback.PLAY_HEAD_TIME,i),null!==o&&this.videoAnalytics.reportPlaybackMetric(n.Constants.Playback.BUFFER_LENGTH,o)},1e3))},this.stopHeartbeat=()=>{this.log("stopConvivaHeartbeat",""),this.heartbeatTimeout&&(clearInterval(this.heartbeatTimeout),this.heartbeatTimeout=null)},this.reportPlaybackMetric=(e,r)=>{if(this.videoAnalytics.reportPlaybackMetric(e,r),e===n.Constants.Playback.PLAYER_STATE){if(r===t.PlayerStates.PLAYING||r===t.PlayerStates.BUFFERING)return this.startHeartbeat();this.stopHeartbeat()}},this.reportPlaybackEnded=()=>{this.stopHeartbeat(),this.log("reportPlaybackEnded",""),this.videoAnalytics.reportPlaybackEnded(),this.playbackRequested=!1},this.reportPlaybackError=(e,t,r,n)=>{let i=void 0!==r&&void 0!==n?`${r} ${n}`:e;this.log("videoAnalytics.reportPlaybackError()",{message:i,type:t}),this.videoAnalytics.reportPlaybackError(i,t)},this.reportAdBreakStarted=(...e)=>{this.videoAnalytics.reportAdBreakStarted(...e)},this.reportAdBreakEnded=()=>{this.videoAnalytics.reportAdBreakEnded()},this.reportAdStarted=e=>{this.log("reportAdStarted",e);let t=Object.assign({},e);
5Object.keys(t).forEach(e=>{(e.startsWith("event_")||"ad"===e)&&delete t[e]});let r=Object.assign(Object.assign(Object.assign({},this.getMetadata()),{[n.Constants.DURATION]:e.ad_duration,[n.Constants.IS_LIVE]:n.Constants.StreamType.VOD,[n.Constants.ASSET_NAME]:e.ad_id,[n.Constants.STREAM_URL]:null,[n.Constants.DEFAULT_RESOURCE]:null}),t);(0,i.deleteNullValues)(r),this.log("adAnalytics.reportAdStarted()",r),this.adAnalytics.reportAdStarted(r)},this.reportAdMetric=(e,r)=>{if(this.adAnalytics.reportAdMetric(e,r),e===n.Constants.Playback.PLAYER_STATE){if(r===t.PlayerStates.PLAYING||r===t.PlayerStates.BUFFERING)return this.startHeartbeat();this.stopHeartbeat()}},this.reportAdEnded=()=>{this.adAnalytics.reportAdEnded()},this.reportAdError=(e,t)=>{this.adAnalytics.reportAdError(e,t)},this.cleanup=()=>{this.videoAnalytics.release(),n.Analytics.release()},this.jwMonitor=e,this.logLevel=a;let s={[n.Constants.GATEWAY_URL]:o,[n.Constants.LOG_LEVEL]:a};n.Analytics.init(r,null,s);let l={[n.Constants.DeviceMetadata.CATEGORY]:n.Constants.DeviceCategory.WEB};n.Analytics.setDeviceMetadata(l),this.videoAnalytics=n.Analytics.buildVideoAnalytics(),this.adAnalytics=n.Analytics.buildAdAnalytics()}}},78770:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new class{constructor(){this.keepMax=50,this.eventLog=[],this.eventLogExtended=[],this.init=e=>{this.keepMax=e.keepMax||this.keepMax},this.addToLog=(e,t)=>{let r={default:["call_type","event_action","event_name","event_category","event_label","event_value","media_id"],view:["call_type","event_category","media_id","page_url"]},n="view"===e.call_type?r.view:r.default,i=n.reduce((t,r)=>void 0!==e[r]?Object.assign(Object.assign({},t),{[r]:e[r]}):t,{});0!==Object.keys(i).length&&(this.eventLog.push(i),this.eventLogExtended.push(Object.assign({},e)),t.info(`'${e.call_type}' added to log`,i),this.eventLog.length>this.keepMax&&(this.eventLog.shift(),this.eventLogExtended.shift()))},this.isLastEvent=(e,t)=>{let r=this.getLastEvent();return!!r&&(!t||r.call_type===t)&&r.event_name===e},this.getLastEvent=e=>e?[...this.eventLogExtended].reverse().find(t=>t.call_type===e):this.eventLogExtended[this.eventLogExtended.length-1]||!1,this.didEventOccurred=(e,t)=>{if(!e)return!1;let r=this.eventLog.filter(r=>(!t||r.call_type===t)&&r.event_name===e);return!!r.length}}}},51439:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(47443),i=r(62578);class a extends n.default{constructor(){super(),this.eventCategory="player",this.initialHeartBeat=!1,this.timer=null,this.timers={},this.intervals={},this.counter=-1,this.currentInterval=0,this.currentHeartBeat=0,this.scheme=[{start:10,interval:10},{start:60,interval:60}],this.options={},this.init=(e={})=>{this.eventCategory=e.eventCategory||this.eventCategory,this.initialHeartBeat=this.options.initialHeartBeat||this.initialHeartBeat,this.setScheme(e.scheme||this.scheme),e.events&&(this.events=e.events)},this.setScheme=e=>{this.scheme=e,this.scheme.sort((e,t)=>e.start-t.start)},this.setupCounter=()=>{this.counter=0,this.timer=setInterval(()=>{this.counter=this.counter+1},a.toMs(1))},this.setupTimers=()=>{this.scheme.forEach((e,t)=>{this.timers[t]=setTimeout(()=>{0===t&&this.initialHeartBeat?this.emitHeartBeat():t>0&&(this.emitHeartBeat(),this.clearInterval(t-1)),t>0&&this.clearInterval(t-1),this.info(`${a.getCurrentTime()} - HeartBeat: start scheme ${t+1} with interval of ${e.interval} seconds`),this.currentInterval=e.interval,this.intervals[t]=setInterval(()=>{this.emitHeartBeat()},a.toMs(e.interval))},a.toMs(e.start))})},this.clearTimeout=e=>clearTimeout(this.timers[e]),this.clearInterval=e=>clearInterval(this.intervals[e]),this.start=()=>{-1!==this.counter&&this.stop(),this.info(`${a.getCurrentTime()} - HeartBeat: start HeartBeat`),this.setupCounter(),this.setupTimers()},this.stop=()=>{this.timer&&clearInterval(this.timer),this.info(`${a.getCurrentTime()} - HeartBeat: stop HeartBeat`),this.scheme.forEach((e,t)=>{clearTimeout(this.timers[t]),clearInterval(this.intervals[t])}),this.counter=-1,this.currentHeartBeat=0,this.currentInterval=0},this.emitHeartBeat=()=>{this.currentHeartBeat+=this.currentInterval,this.sendHeartBeat({currentHeartBeat:this.currentHeartBeat,currentInterval:this.currentInterval})},this.sendHeartBeat=e=>{var t,r;this.info(`${a.getCurrentTime()} - HeartBeat: emit ${e.currentHeartBeat}`);let n=(null===(t=this.events)||void 0===t?void 0:t.onHeartBeat)?null===(r=this.events)||void 0===r?void 0:r.onHeartBeat(e):{},o="boolean"!=typeof n||n;o&&i.default.link(Object.assign({event_category:this.eventCategory,event_name:"player_heartbeat",event_label:e.currentHeartBeat,event_value:e.currentInterval},n))},this.name="HeartBeat"}get state(){return -1===this.counter?"idle":"running"}}a.getCurrentTime=()=>{let e=new Date,t=`0${e.getHours()}`.slice(-2),r=`0${e.getMinutes()}`.slice(-2),n=`0${e.getSeconds()}`.slice(-2);return`${t}:${r}:${n}`},a.toMs=e=>1e3*e,t.default=new a},54407:function(e,t,r){"use strict";
5Object.defineProperty(t,"__esModule",{value:!0}),t.JwMonitor=void 0;let n=r(95810),i=r(56041),a=r(88046),o=r(53573),s=r(47443),l=r(78770),u=r(62578),c=r(24219);function d(e,t=1){let r=Math.pow(10,t||0);return Math.round(e*r)/r}class h extends s.default{constructor(){super(),this.instance=null,this.state={ad:{breakCount:0,event:null,paused:!1,position:0},video:{started:!1,scrubbing:!1,volume:100,position:0,bufferPercent:0},attemptPlay:!1,completeSent:!1,visualQuality:null},this.debug=!0,this.subscribedEvents={},this.loadMediaSent=!1,this.conviva=null,this.manualCleanup=!1,this.setPlayReason=e=>{this.playReason=e,this.state.attemptPlay="interaction"===e},this.init=e=>{var t;if(!e)return this.error("options need to be provided");window.utag||this.warn("utag needs to be loaded in order to use JwMonitor library"),this.options=e,this.manualCleanup=null!==(t=null==e?void 0:e.manualCleanup)&&void 0!==t&&t,(null==e?void 0:e.convivaConfig)&&(this.conviva?this.manualCleanup||(this.info("Reuse previous Conviva session"),this.conviva.reportPlaybackEnded()):(this.info("New Conviva session"),this.conviva=new c.default(this,e.convivaConfig))),this.options.debug&&(this.events.all=this.onAll),this.setupInstance(e.id)},this.setupInstance=e=>{if(this.instance){if(this.unsubscribeToEvents(),this.loadMediaSent)try{this.sendEvent({event_label:"stop",event_action:"stop"})}catch(t){this.info("use event values from previous video event");let e=l.default.getLastEvent("video");u.default.video(Object.assign(Object.assign({},e),{event_name:"player_stop",event_label:"stop",event_action:"stop"}))}this.loadMediaSent=!1}if(this.instance=window.jwplayer(e),!this.instance){this.warn("No JwPlayer instance found!");return}this.subscribeToEvents()},this.subscribeToEvents=()=>{var e;this.info(`subscribe to events from jwplayer %c${null===(e=this.instance)||void 0===e?void 0:e.id}:`,"font-weight:bold",`
6${Object.keys(this.events).join(", ")}`),this.subscribedEvents={},Object.keys(this.events).forEach(e=>{this.subscribedEvents[e]=this.eventWrapper(this.events[e]),this.subscribe(e,this.subscribedEvents[e])})},this.unsubscribeToEvents=()=>{var e;this.info(`unsubscribe to events from jwplayer %c${null===(e=this.instance)||void 0===e?void 0:e.id}:`,"font-weight:bold",`
7${Object.keys(this.subscribedEvents).join(", ")}`),Object.keys(this.subscribedEvents).forEach(e=>{this.unsubscribe(e,this.subscribedEvents[e]),delete this.subscribedEvents[e]})},this.eventWrapper=e=>t=>{var r;let n=e(t),i=t.type,a={};if((null===(r=this.options)||void 0===r?void 0:r.events)&&"function"==typeof this.options.events[i]){let e=this.options.events[i](t);if(!1===e)return;a=e}if(!1===n)return;let o=this.getTrackData(),{event_action:s}=n,l=Object.assign(Object.assign(Object.assign(Object.assign({},o),{event_name:`player_${s}`}),n),a);u.default.video(l)},this.sendEvent=e=>this.eventWrapper(()=>e)({}),this.isLastEvent=e=>l.default.isLastEvent(`player_${e}`,o.CallType.VIDEO),this.formatAdEvent=(e,t)=>({event_action:t.event_action,event_category:"player",event_label:t.event_label,ad:1,ad_id:e.id,ad_position:e.adposition+"-roll",ad_client:e.client,ad_podcount:e.podcount||1,ad_sequence:e.sequence||1,ad_breakcount:this.state.ad.breakCount,ad_duration:e.duration?d(e.duration):0}),this.getTrackData=()=>{var e,t,r;let n={};if(this.instance){let r,i;let a=null;try{r=this.instance.getConfig()||{},a=this.instance.getContainer()}catch(e){r={}}try{i=this.instance.getPlaylistItem()}catch(e){}let o="";try{let[e]=i.sources;o=e.drm?Object.keys(e.drm)[0]:"none"}catch(e){o="none"}let s="";this.state.ad.event&&(s=this.state.ad.paused?"ad_paused":"ad_playing");let l="normal";(r.isFloating||(null==a?void 0:a.classList.contains("custom-floating")))&&(l="floating"),r.pip&&(l="picture_in_picture");let u=(null===(t=null===(e=this.options)||void 0===e?void 0:e.defaultLayer)||void 0===t?void 0:t.player_name)||"";n={ad:0,c_player_position:this.state.video.position||null,media_drmtype:o,media_encodingformat:i?i.allSources[0].type:null,media_offset:r.position||this.state.video.position||r.starttime||0,media_playbackpercentage:100*r.playbackRate,media_playbackrate:r.playbackRate,media_quality:this.state.visualQuality?`${this.state.visualQuality.level.height}p`:"auto",media_thumbnail:i?i.image:null,media_type:r.audioMode?"audio":"video",player_id:`${u}_${this.instance.id}`,player_autoplay:"autostart"===this.playReason,player_casting:r.castActive||!1,player_fullscreen:r.fullscreen||
7!1,player_height:r.containerHeight||null,player_source:i?i.file:null,player_state:s||r.state||null,player_engine:"html",player_form:l,player_type:r.provider?r.provider.name:null,player_width:r.containerWidth||null,event_category:"player"};let c={};try{let e=this.instance.qoe();c={media_bitrate:this.state.visualQuality?this.state.visualQuality.level.bitrate:0,media_startup_time:(null==e?void 0:e.firstFrame)?d(e.firstFrame/1e3,3):0}}catch(e){}if(!(n=Object.assign(Object.assign(Object.assign({},i.metadata),n),c)).media_name){let{metadata:e,type:t,seriesTitle:r,title:a,seasonNumber:o,tvSeasonEpisodeNumber:s}=i;n.media_name="EPISODE"===t&&r?`${r}, ${o}, ${s}`:a||(null==e?void 0:e.media_program_name)}"LIVE"===r.streamType&&(n.c_media_playbacktype="live",n.media_duration=0)}return(null===(r=this.options)||void 0===r?void 0:r.defaultLayer)&&(n=Object.assign(Object.assign({},this.options.defaultLayer),n)),(0,i.deleteNullValues)(n),n},this.unsubscribe=(e,t)=>{var r;if(this.instance){if(e.includes(".")){let[n,i]=e.split(".");null===(r=this.instance.getPlugin(n))||void 0===r||r.off(i,t)}else this.instance.off(e,t)}},this.subscribe=(e,t)=>{if(this.instance){if(e.includes(".")){let[r,n]=e.split("."),i=this.instance.getPlugin(r);i&&i.on(n,t)}else this.instance.on(e,t)}},this.onAll=e=>{switch(e){case"buffer":case"bufferChange":case"time":case"userInactive":case"userActive":break;default:this.log("warn","Send[JW]",e)}return!1},this.onPlaylist=()=>(this.state.video.volume=this.instance.getConfig().volume,this.state.ad.breakCount=0,{event_label:"loadplaylist",event_action:"loadplaylist"}),this.onAdBreakStart=()=>{var e;return this.state.ad.breakCount++,this.state.ad.event=null,null===(e=this.conviva)||void 0===e||e.reportAdBreakStarted(n.Constants.AdType.CLIENT_SIDE,n.Constants.AdPlayer.CONTENT),!1},this.onAdBreakEnd=()=>{var e;return null===(e=this.conviva)||void 0===e||e.reportAdBreakEnded(),!1},this.onAdStart=e=>!1,this.onAdTime=e=>{var t,r,i,a;if((null===(t=this.state.ad.event)||void 0===t?void 0:t.id)===e.id&&(this.state.ad.position=e.position),this.state.ad.event&&!this.state.ad.paused||(null===(r=this.instance)||void 0===r?void 0:r.getState())!=="playing")return!1;this.state.attemptPlay&&(this.state.attemptPlay=!1,this.sendEvent(this.formatAdEvent(e,{event_label:"ad_play",event_action:"ad_play"})));let o="ad_play";return this.state.ad.event&&e.id===this.state.ad.event.id?this.state.ad.paused&&(o="ad_resume"):(this.state.ad.event=e,o="ad_start",null===(i=this.conviva)||void 0===i||i.reportAdStarted(this.formatAdEvent(e,{event_label:"ad_play",event_action:"ad_play"}))),null===(a=this.conviva)||void 0===a||a.reportAdMetric(n.Constants.Playback.PLAYER_STATE,c.PlayerStates.PLAYING),this.state.ad.paused=!1,this.formatAdEvent(e,{event_label:o,event_action:o})},this.onAdPlay=e=>!1,this.onAdPause=()=>{var e;return this.playReason="interaction",this.state.ad.paused=!0,this.state.attemptPlay=!0,null===(e=this.conviva)||void 0===e||e.reportAdMetric(n.Constants.Playback.PLAYER_STATE,c.PlayerStates.PAUSED),this.formatAdEvent(this.state.ad.event,{event_label:"ad_pause",event_action:"ad_pause"})},this.onAdError=e=>{var t;return null===(t=this.conviva)||void 0===t||t.reportAdError(e.message,1),this.state.ad.event=null,this.state.ad.position=0,!1},this.onAdComplete=()=>{var e;let t=this.state.ad.event;return this.state.ad.event=null,this.state.ad.position=0,null===(e=this.conviva)||void 0===e||e.reportAdEnded(),this.formatAdEvent(t,{event_label:"ad_complete",event_action:"ad_complete"})},this.onAdClick=()=>this.formatAdEvent(this.state.ad.event,{event_label:"ad_click",event_action:"ad_click"}),this.onBufferChange=e=>(this.state.video.bufferPercent=e.bufferPercent,!1),this.onLevelsChanged=e=>{let t=e.levels[e.currentQuality];return!!t&&{event_action:"quality_adjust",event_label:t.height?`${t.height}p`:"auto"}},this.onVisualQuality=e=>{var t;return!!e.level&&(this.state.visualQuality=e,null===(t=this.conviva)||void 0===t||t.reportPlaybackMetric(n.Constants.Playback.BITRATE,e.level.bitrate),!1)},this.onPlaylistItem=({item:e})=>{var t;return this.state.video.started=!0,this.state.video.position=0,this.state.video.bufferPercent=0,this.state.visualQuality=null,this.loadMediaSent=!1,e.isRecovery&&(this.loadMediaSent=!0,this.state.video.started=!1,this.state.video.position=null!==(t=e.starttime)&&void 0!==t?t:0,this.state.video.bufferPercent=0),!1},this.onBeforePlay=e=>{var t,r,i;return null===(t=this.conviva)||void 0===t||t.reportPlaybackRequested(),"interaction"===e.playReason&&(this.state.attemptPlay=!0),(null===(r=this.instance)||void 0===r?void 0:r.getState())==="buffering"&&(null===(i=this.conviva)||void 0===i||i.reportPlaybackMetric(n.Constants.Playback.PLAYER_STATE,c.PlayerStates.BUFFERING)),!this.loadMediaSent&&(this.loadMediaSent=!0,{event_label:"load_media",event_action:"load_media"})},this.onPlay=e=>{var t;if(this.isLastEvent("resume")||this.state.video.scrubbing)return!1;null===(t=this.conviva)||void 0===t||t.reportPlaybackMetric(n.Constants.Playback.PLAYER_STATE,c.PlayerStates.PLAYING),this.loadMediaSent||(this.loadMediaSent=!0,this.sendEvent({event_label:"load_media",event_action:"load_media"})),this.state.completeSent=!1,this.state.attemptPlay&&(this.state.attemptPlay=!1,this.sendEvent({event_label:"play",event_action:"play"}));let r="resume";return this.state.video.started&&(this.state.video.started=!1,r="start"),{event_action:r,event_label:r}},this.onFirstFrame=()=>{var e;if(!this.instance)return!1;let t=this.instance.getCaptionsList()[this.instance.getCurrentCaptions()],r="off"===t.id?"off":"on";return null===(e=this.conviva)||void 0===e||e.reportPlaybackMetric(n.Constants.Playback.SUBTITLES_LANGUAGE,"off"===r?"":`[nl]:${t.label}`),!1},this.onTime=e=>{this.state.video.position=e.position;let t=window.utag;return t&&t.media&&(t.media.video_current_playhead=e.position),!!this.isLastEvent("play")&&(this.state.video.started?(this.state.video.started=!1,{event_label:"start",event_action:"start"}):{event_label:"resume",event_action:"resume"})},this.onPause=()=>{var e;return this.playReason="interaction",!this.isLastEvent("pause")&&(null===(e=this.conviva)||void 0===e||e.reportPlaybackMetric(n.Constants.Playback.PLAYER_STATE,c.PlayerStates.PAUSED),{event_label:"pause",event_action:"pause"})},this.cleanUp=()=>{var e;return this.manualCleanup=!1,this.conviva&&(this.info("end conviva session"),this.conviva.reportPlaybackEnded(),this.conviva.cleanup(),this.conviva=null),(null===(e=this.instance)||void 0===e?void 0:e.getState())!=="idle"&&(this.sendEvent({event_label:"stop",event_action:"stop"}),this.state.video.position=0,this.state.ad.event=null,this.instance=null,!1)},this.onRemove=()=>{if(!this.manualCleanup)return this.cleanUp(),!1},this.onIdle=e=>{if(this.isLastEvent("stop")||0===this.state.video.position)return!1;if("complete"===e.reason)return this.state.completeSent=!0,{event_action:"complete"};let t=this.state.video.position;return this.state.video.position=0,{event_label:t,event_action:"stop"}},this.onComplete=()=>{var e;return null===(e=this.conviva)||void 0===e||e.reportPlaybackEnded(),!this.isLastEvent("complete")&&!this.state.completeSent&&(this.state.completeSent=!0,{event_action:"complete"})},this.onSeek=e=>{var t;return(null===(t=this.conviva)||void 0===t||t.reportPlaybackMetric(n.Constants.Playback.SEEK_STARTED,e.position),e.position-e.offset==10||10>parseInt(e.position,10)&&0===parseInt(e.offset,10))?{event_label:"rewind",event_action:"rewind"}:(this.state.video.scrubbing=this.instance.getConfig().scrubbing,!!(this.isLastEvent("pause")||this.isLastEvent("play"))&&{event_action:"seek",event_label:e.position,media_offset:e.position})},this.onSeeked=()=>{var e,t,r,i,a;return null===(e=this.conviva)||void 0===e||e.reportPlaybackMetric(n.Constants.Playback.SEEK_ENDED),(null===(t=this.instance)||void 0===t?void 0:t.getState())==="buffering"&&(null===(r=this.conviva)||void 0===r||r.reportPlaybackMetric(n.Constants.Playback.PLAYER_STATE,c.PlayerStates.BUFFERING)),!this.state.video.scrubbing&&{event_action:"seeked",event_label:null===(i=this.instance)||void 0===i?void 0:i.getPosition(),media_offset:null===(a=this.instance)||void 0===a?void 0:a.getPosition()}},this.onNextClick=()=>this.onComplete(),this.onError=e=>{var t;return null===(t=this.conviva)||void 0===t||t.reportPlaybackError(e.message,1,e.code,(0,a.getErrorGroup)(e.code)),{event_label:e.message,event_value:e.code,event_action:"error"}},this.onWarning=e=>{var t;return null===(t=this.conviva)||void 0===t||t.reportPlaybackError(e.message,0,e.code,(0,a.getWarningGroup)(e.code)),!1},this.onAutostartNotAllowed=()=>(this.playReason="interaction",this.state.attemptPlay=!0,!1),this.onFullscreen=e=>({event_label:e.fullscreen,event_action:"fullscreen"}),this.onMute=e=>{var t;let r=l.default.getLastEvent();if(r&&!1===e.mute&&"player_volume"===r.event_name&&"up"===r.event_label)return!1;let n=e.mute?0:(null===(t=this.instance)||void 0===t?void 0:t.getVolume())||100;return this.state.video.volume=n,{event_value:n,event_label:e.mute?"mute":"unmute",event_action:"volume"}},this.onVolume=e=>{let t=e.volume>this.state.video.volume?"up":"down";return this.state.video.volume=e.volume,{event_value:e.volume,event_label:t,event_action:"volume"}},this.onPlaylistComplete=()=>(this.sendEvent({event_label:"stop",event_action:"stop"}),this.loadMediaSent=!1,!1),this.onSharingClick=e=>({event_value:e.method}),this.onCaptionsChanged=e=>{var t;
7let r=e.tracks[e.track],i="off"===r.id?"off":"on";return null===(t=this.conviva)||void 0===t||t.reportPlaybackMetric(n.Constants.Playback.SUBTITLES_LANGUAGE,"off"===i?"":`[nl]:${r.label}`),{event_label:i,event_action:"subtitles"}},this.onDisplayClick=e=>{var t;return(null===(t=this.instance)||void 0===t?void 0:t.getState())==="complete"&&{event_label:"replay",event_action:"replay"}},this.name="JwMonitor",this.events={playlist:this.onPlaylist,adBreakStart:this.onAdBreakStart,adBreakEnd:this.onAdBreakEnd,adStarted:this.onAdStart,adTime:this.onAdTime,adPlay:this.onAdPlay,adPause:this.onAdPause,adError:this.onAdError,adComplete:this.onAdComplete,adClick:this.onAdClick,bufferChange:this.onBufferChange,visualQuality:this.onVisualQuality,playlistItem:this.onPlaylistItem,beforePlay:this.onBeforePlay,levelsChanged:this.onLevelsChanged,play:this.onPlay,firstFrame:this.onFirstFrame,time:this.onTime,pause:this.onPause,idle:this.onIdle,complete:this.onComplete,seek:this.onSeek,seeked:this.onSeeked,nextClick:this.onNextClick,error:this.onError,warning:this.onWarning,autostartNotAllowed:this.onAutostartNotAllowed,fullscreen:this.onFullscreen,mute:this.onMute,volume:this.onVolume,playlistComplete:this.onPlaylistComplete,"sharing.click":this.onSharingClick,captionsChanged:this.onCaptionsChanged,displayClick:this.onDisplayClick,remove:this.onRemove}}}t.JwMonitor=h,t.default=new h},16321:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.AudioMonitor=t.JwMonitor=t.HeartBeat=t.EventLog=void 0;var a=r(78770);Object.defineProperty(t,"EventLog",{enumerable:!0,get:function(){return a.default}});var o=r(51439);Object.defineProperty(t,"HeartBeat",{enumerable:!0,get:function(){return o.default}}),i(r(51439),t);var s=r(54407);Object.defineProperty(t,"JwMonitor",{enumerable:!0,get:function(){return s.default}});var l=r(98161);Object.defineProperty(t,"AudioMonitor",{enumerable:!0,get:function(){return l.default}})},68850:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},41941:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=window.document){let r=new Promise((r,n)=>{let i=t.createElement("script");i.onload=()=>{r()},i.onerror=()=>{let t=`Error loading script '${e}'`;n(t)},i.async=!0,i.src=e,t.getElementsByTagName("head")[0].appendChild(i)});return r}},88046:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.getWarningGroup=t.getErrorGroup=t.Group=void 0,(n=r=t.Group||(t.Group={})).Misc="Miscellaneous",n.EmptyPlaylist="Empty Playlist",n.PlaylistParsing="Playlist Parsing",n.LoadingJs="Loading Javascript Components",n.LoadingNewPlaylist="Loading New Playlist",n.PlaylistItem="Playlist Item",n.HTML5="Media Playback HTML5",n.HlsJs="Media Playback HLS.JS",n.Shaka="Media Playback Shaka",n.PlayAttemptFailed="playAttemptFailed",n.Related="Related",n.Captions="Captions",n.VR="VR",n.Localization="Localization",n.Casting="Casting";let i=[[1e5,r.Misc,"Unknown setup error"],[100001,r.Misc,"Setup timed out after 60 seconds"],[100011,r.Misc,"Missing license key"],[100012,r.Misc,"Invalid license key"],[100013,r.Misc,"Expired license key"],[100014,r.Misc,"License key not supported in unlimited edition"],[101100,r.LoadingJs,"A player component failed to load"],[101101,r.LoadingJs,"Failed to load the jwplayer.core component"],[101102,r.LoadingJs,"Failed to load the jwplayer.core.controls component"],[101103,r.LoadingJs,"Failed to load the jwplayer.core.controls.polyfills component"],[101104,r.LoadingJs,"Failed to load the jwplayer.core.controls.html5 component"],[101105,r.LoadingJs,"Failed to load the jwplayer.core.controls.polyfills.html5 component"],[101120,r.L
7oadingJs,"Failed to load the polyfills.intersection-observer component"],[101130,r.LoadingJs,"Failed to load the jwplayer.amp component"],[104100,r.LoadingJs,"A playback provider component failed to load"],[104152,r.LoadingJs,"The provider.html5.js component failed to load"],[104153,r.LoadingJs,"The provider.hlsjs.js component failed to load"],[104154,r.LoadingJs,"The provider.shaka.js component failed to load"],[102e3,r.PlaylistParsing,"Unknown playlist loading error"],[102001,r.PlaylistParsing,"Playlist XHR request timed out"],[102002,r.PlaylistParsing,"Browser does not support XMLHttpRequest"],[102003,r.PlaylistParsing,"Exception calling xhr.open; URL may be malformed"],[102004,r.PlaylistParsing,"Exception calling xhr.send"],[102005,r.PlaylistParsing,"Exception thrown in XHR requestFilter"],[102006,r.PlaylistParsing,"XHR request failed with status code outside 400-500 range"],[102007,r.PlaylistParsing,"XHR request failed; page hosted over file:// protocol"],[102400,r.PlaylistParsing,"XHR request failed with HTTP status error",102599],[102601,r.PlaylistParsing,"XML playlist could not be parsed; malformed XML"],[102602,r.PlaylistParsing,"XML playlist returned empty response"],[102611,r.PlaylistParsing,"JSON playlist could not be parsed; invalid JSON"],[102621,r.PlaylistParsing,"Playlist is not a valid RSS or JSON feed"],[102630,r.EmptyPlaylist,"Empty playlist or no valid sources found"],[102640,r.EmptyPlaylist,"Playlist item undefined or missing a valid source"],[102700,r.EmptyPlaylist,"All playlist items skipped by setPlaylistItemCallback"],[200001,r.Misc,"Exception occurred while completing player setup"],[202e3,r.LoadingNewPlaylist,"Unknown playlist loading error"],[202001,r.LoadingNewPlaylist,"Playlist request timed out"],[202002,r.LoadingNewPlaylist,"Browser does not support XMLHttpRequest"],[202003,r.LoadingNewPlaylist,"Exception calling xhr.open; URL may be malformed"],[202004,r.LoadingNewPlaylist,"Exception calling xhr.send"],[202005,r.LoadingNewPlaylist,"Exception thrown in XHR requestFilter"],[202006,r.LoadingNewPlaylist,"XHR request failed with status code outside 400-500 range"],[202007,r.LoadingNewPlaylist,"XHR request failed; page hosted over file:// protocol"],[202400,r.LoadingNewPlaylist,"XHR request failed with HTTP status error",202599],[202601,r.LoadingNewPlaylist,"XML playlist could not be parsed; malformed XML"],[202602,r.LoadingNewPlaylist,"XML playlist returned empty response"],[202611,r.LoadingNewPlaylist,"JSON playlist could not be parsed; invalid JSON"],[202621,r.LoadingNewPlaylist,"Playlist is not a valid RSS or JSON feed"],[202630,r.LoadingNewPlaylist,"Empty playlist or no valid sources found"],[203e3,r.PlaylistItem,"Unknown error switching playlist items"],[203100,r.PlaylistItem,"Playback provider failed to load between playlist items"],[203640,r.PlaylistItem,"Playlist item undefined or missing a valid source"],[204100,r.LoadingJs,"A playback provider failed to load"],[204152,r.LoadingJs,"The provider.html5.js component failed to load"],[204153,r.LoadingJs,"The provider.hlsjs.js component failed to load"],[204154,r.LoadingJs,"The provider.shaka.js component failed to load"],[220001,r.HTML5,"Live stream stalled for more than 30 seconds"],[221e3,r.HTML5,"Unknown network error (MEDIA_ERR_NETWORK)"],[224e3,r.HTML5,"Unknown media error"],[224001,r.HTML5,"Failed to fetch resource (MEDIA_ERR_ABORTED)"],[224002,r.HTML5,"Failed to decode resource (MEDIA_ERR_DECODE)"],[224003,r.HTML5,"Resource not supported by this browser (MEDIA_ERR_SRC_NOT_SUPPORTED)"],[224005,r.HTML5,"Video tag src set to empty by external JavaScript library"],[225006,r.HTML5,"Fairplay license XHR request failed outside 400-500 range"],[225403,r.HTML5,"Content protection prevented Fairplay server certificate from loading"],[225400,r.HTML5,"Fairplay server certificate could not be loaded; HTTP status error",225599],[225650,r.HTML5,"Failed to decrypt Fairplay stream with session key"],[226400,r.HTML5,"Fairplay license could not be loaded; HTTP status error",226599],[23e4,r.HlsJs,"Unknown error handling HLS media"],[230001,r.HlsJs,"Live stream stalled for more than 30 seconds"],[230002,r.HlsJs,"Playback stalled after going offline"],[232e3,r.HlsJs,"Unknown manifest loading error"],[232001,r.HlsJs,"HLS manifest request timed out"],[232002,r.HlsJs,"Manifest request failed; device was offline"],[232006,r.HlsJs,"Manifest request returned HTTP status failure outside 400-500 range"],[232011,r.HlsJs,"Manifest request failed; missing crossdomain credentials"],[232012,r.HlsJs,"Manifest request made to HTTP resource from HTTPS"],[232400,r.HlsJs,"Manifest request returned HTTP status error",232599],[232600,r.HlsJs,"Parent HLS manifest could not be parsed"],[232631,r.HlsJs,"HLS rendition manifest did not contain playable media"],[232632,r.HlsJs,"HLS manifest has no levels with compatible codecs"],[233e3,r.HlsJs,"Unknown media loading error"],[233001,r.HlsJs,"HLS media request timed out"],[233006,r.HlsJs,"Media request returned HTTP status failure outside 400-500 range"],[233011,r.HlsJs,"Media request failed; missing crossdomain credentials"],[233012,r.HlsJs,"Media request made to HTTP resource from HTTPS"],[233400,r.HlsJs,"Media request returned HTTP status error",233599],[233600,r.HlsJs,"Media fragment could not be parsed"],[233650,r.HlsJs,"AES encoded fragment could not be decrypted"],[234001,r.HlsJs,"HLS playback stalled; not enough media buffered"],[234002,r.HlsJs,"Error appending HLS media to the buffer"],[235001,r.HlsJs,"HLS AES key request timed out"],[239e3,r.HlsJs,"Internal error handling HLS event callback"],[24e4,r.Shaka,"Miscellaneous uncategorized DASH error"],[241e3,r.Shaka,"Unknown DASH network error"],[241001,r.Shaka,"DASH network request timed out"],[241004,r.Shaka,"DASH network request failed; URL is malformed"],[241005,r.Shaka,"Error thrown in DASH network filter"],[241006,r.Shaka,"DASH network request returned HTTP status failure outside 400-500 range"],[241011,r.Shaka,"DASH network request failed; missing crossdomain credentials"],[241012,r.Shaka,"DASH network request made to HTTP resource from HTTPS"],[241400,r.Shaka,"DASH network request returned HTTP status error",241599],[242600,r.Shaka,"Miscellaneous DASH manifest parsing error"],[242601,r.Shaka,"Invalid XML in DASH manifest"],[242632,r.Shaka,"DASH manifest has no content supported by this browser"],[242635,r.Shaka,"Key system restrictions prevented DASH manifest playback"],[244e3,r.Shaka,"Miscellaneous DASH media error"],[244001,r.Shaka,"Video element error during DASH playback",244003],[244604,r.Shaka,"MP4 S
7IDX parser found wrong box type"],[246e3,r.Shaka,"Manifest parser could not determine key systems for protected content"],[246001,r.Shaka,"No requested key system configurations available"],[246002,r.Shaka,"Browser failed to create CDM instance"],[246003,r.Shaka,"CDM failed to attach to video element"],[246004,r.Shaka,"CDM rejected the server certificate"],[246005,r.Shaka,"CDM refused to create a session"],[246006,r.Shaka,"CDM could not generate a license request for the init data"],[246007,r.Shaka,"License request failed"],[246008,r.Shaka,"License response rejected by CDM"],[246010,r.Shaka,"Content is encrypted but manifest specifies no DRM info"],[246012,r.Shaka,"No license server provided for key system"],[246013,r.Shaka,"Required offline session was removed"],[246014,r.Shaka,"License has expired"],[246015,r.Shaka,"Server certificate required but not provided"],[246016,r.Shaka,"Error thrown during init data transformation"],[246017,r.Shaka,"Server certificate request failed"],[249e3,r.Shaka,"Miscellaneous DASH player error"],[303200,r.PlayAttemptFailed,"Play attempt failed for unknown reasons"],[303210,r.PlayAttemptFailed,"Play attempt interrupted for unknown reasons"],[303212,r.PlayAttemptFailed,"Play attempt interrupted by new load request"],[303213,r.PlayAttemptFailed,"Play attempt interrupted by call to pause()"],[303220,r.PlayAttemptFailed,"Play attempt failed; user interaction required or autoplay disabled"],[303230,r.PlayAttemptFailed,"Play attempt failed; no supported source found"],[302001,r.Related,"Related content request timed out"],[302002,r.Related,"Browser does not support XMLHttpRequest"],[302003,r.Related,"Exception calling xhr.open; URL may be malformed"],[302004,r.Related,"Exception calling xhr.send"],[302400,r.Related,"Related content request returned HTTP status error",302599],[302601,r.Related,"Playlist was a malformed XML file"],[302602,r.Related,"Playlist XML was empty"],[302611,r.Related,"Playlist was a malformed JSON file"],[301121,r.LoadingJs,"polyfills.webvtt.js failed to load; VTT captions unavailable"],[301129,r.LoadingJs,"related.js failed to load"],[301130,r.LoadingJs,"jwplayer.controls.js failed to load; controls unavailable"],[301131,r.LoadingJs,"vttparser.js failed to load; VTT captions unavailable"],[301132,r.LoadingJs,"jwplayer.vr.js failed to load; 360 mode unavailable"],[301133,r.LoadingJs,"jwplayer.controls.tizen.js failed to load"],[301161,r.LoadingJs,"provider.cast.js failed to load; Chromecast unavailable"],[301162,r.LoadingJs,"provider.airplay.js failed to load; AirPlay unavailable"],[305e3,r.LoadingJs,"Unknown plugin file failed to load"],[305001,r.LoadingJs,"jwpsrv.js failed to load"],[305002,r.LoadingJs,"googima.js failed to load"],[305003,r.LoadingJs,"vast.js failed to load"],[305004,r.LoadingJs,"freewheel.js failed to load"],[305005,r.LoadingJs,"dai.js failed to load"],[305006,r.LoadingJs,"gapro.js failed to load"],[305007,r.LoadingJs,"bidding.js failed to load"],[305100,r.LoadingJs,"Unknown plugin loaded but not registered"],[305101,r.LoadingJs,"jwpsrv.js loaded but not registered"],[305102,r.LoadingJs,"googima.js loaded but not registered"],[305103,r.LoadingJs,"vast.js loaded but not registered"],[305104,r.LoadingJs,"freewheel.js loaded but not registered"],[305105,r.LoadingJs,"dai.js loaded but not registered"],[305106,r.LoadingJs,"gapro.js loaded but not registered"],[305107,r.LoadingJs,"bidding.js loaded but not registered"],[306001,r.Captions,"Captions request timed out"],[306002,r.Captions,"Browser does not support XMLHttpRequest"],[306003,r.Captions,"Exception calling xhr.open; URL may be malformed"],[306004,r.Captions,"Exception calling xhr.send"],[306005,r.Captions,"DFXP captions could not be parsed; invalid DFXP file"],[306006,r.Captions,"XML could not be parsed from DFXP file"],[306007,r.Captions,"DFXP file did not contain XML"],[306008,r.Captions,"VTT captions could not be parsed; invalid VTT file"],[306009,r.Captions,"Unknown captions parsing error"],[306400,r.Captions,"Captions request returned HTTP status error",306599],[307e3,r.VR,"Unknown VR plugin error"],[307001,r.VR,"Browser does not support WebGL required for 360 video"],[307012,r.VR,"VR cannot be rendered from a cross-origin resource"],[3
708e3,r.Localization,"Unknown error loading translation file"],[308001,r.Localization,"Translation file request timed out"],[308400,r.Localization,"Translation file request returned HTTP status error",308599],[308611,r.Localization,"Translation JSON file could not be parsed"],[308640,r.Localization,"Translation file request returned empty response"],[33e4,r.HlsJs,"Unknown error handling HLS media"],[332403,r.HlsJs,"Manifest request returned 403 HTTP status"],[333e3,r.HlsJs,"Unknown media loading error"],[333001,r.HlsJs,"HLS media request timed out"],[333006,r.HlsJs,"Media request returned HTTP status failure outside 400-500 range"],[333400,r.HlsJs,"Media request returned HTTP status error",333599],[333600,r.HlsJs,"Media fragment could not be parsed"],[334001,r.HlsJs,"HLS playback stalled; not enough media buffered"],[334002,r.HlsJs,"Error appending HLS media to the buffer"],[339e3,r.HlsJs,"Internal error handling HLS event callback"],[34e4,r.Shaka,"Recoverable DASH error"],[35e4,r.Casting,"Cast server error"]];function a(e,t){let r=i.find(([t,,,r])=>e>=t&&e<=(null!=r?r:t));if(!r)return`${t} - Unknown`;let[,n,a]=r;return`${t} - ${n} - ${a}`}t.getErrorGroup=e=>a(e,"Error"),t.getWarningGroup=e=>a(e,"Warning")},56041:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toNormalizedLowerCase=t.deleteNullValues=void 0,t.deleteNullValues=e=>{Object.keys(e).forEach(t=>{null===e[t]&&delete e[t]})},t.toNormalizedLowerCase=(e,t=[])=>{Object.keys(e).forEach(r=>{let n=e[r];-1===t.indexOf(r)&&"string"==typeof n&&(e[r]=n.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f`]/g,""))})}},2578:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.ContentApiCategoryBasedType=void 0,(n=r||(t.ContentApiCategoryBasedType=r={})).JustIn="just-in",n.Articles="articles",n.Videos="videos",n.Campaigns="campaigns",n.Events="events"},44702:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.ContentApiType=void 0,(n=r||(t.ContentApiType=r={})).Article="article",n.Navigation="navigation",n.Page="page",n.Category="category",n.Video="video",n.Audio="audio",n.Feature="feature",n.SponsoredCard="sponsoredCard",n.Campaign="campaign",n.Redirect="redirect",n.Series="series",n.LinkList="linkList",n.Link="link",n.KijkCollection="kijkCollection",n.RichText="richText",n.CategoryBasedCollection="categoryBasedCollection",n.HighlightedItem="highlightedItem",n.PaginatedCategoryCollection="paginatedCategoryCollection",n.AudioCollection="audioCollection",n.Author="author",n.ArticleByAuthorCollection="articleByAuthorCollection",n.PartnerVideoListing="partnerVideoListing",n.ButtonCampaignNew="buttonCampaignNew",n.Event="event",n.Overview="overview",n.Asset="Asset",n.PartnerCatalog="partnerCatalog"},28994:function(e,t,r){"use strict";t.vo=t.C9=t.U_=t.bG=t.DD=t.kG=t.ed=t.oQ=t.Cj=t.Ic=t.bc=t.vw=t.i=t.RD=void 0;var n=r(2578);Object.defineProperty(t,"RD",{enumerable:!0,get:function(){return n.ContentApiCategoryBasedType}});var i=r(6973);Object.defineProperty(t,"i",{enumerable:!0,get:function(){return i.ContentApiLinkListType}});var a=r(34757);Object.defineProperty(t,"vw",{enumerable:!0,get:function(){return a.ProgramType}});var o=r(45085);Object.defineProperty(t,"bc",{enumerable:!0,get:function(){return o.ContentApiAudioCollectionType}}),Object.defineProperty(t,"Ic",{enumerable:!0,get:function(){return o.ContentApiKijkCollectionType}});var s=r(97817);Object.defineProperty(t,"Cj",{enumerable:!0,get:function(){return s.ContentApiRichTextLayout}}),Object.defineProperty(t,"oQ",{enumerable:!0,get:function(){return s.ContentApiRichTextNodeType}}),Object.defineProperty(t,"ed",{enumerable:!0,get:function(){return s.ContentApiRichTextMarkType}}),Object.defineProperty(t,"kG",{enumerable:!0,get:function(){return s.SocialEmbedItemType}});var l=r(32544);Object.defineProperty(t,"DD",{enumerable:!0,get:function(){return l.MediaType}});var u=r(44702);Object.defineProperty(t,"bG",{enumerable:!0,get:function(){return u.ContentApiType}});var c=r(28617);Object.defineProperty(t,"U_",{enumerable:!0,get:function(){return c.ContentApiFilterFacet}}),Object.defineProperty(t,"C9",{enumerable:!0,get:function(){return c.ContentApiFilterType}}),Object.defineProperty(t,"vo",{enumerable:!0,get:function(){return c.ContentApiSort}})},6973:function(e,t){"use strict";var r,n;
7Object.defineProperty(t,"__esModule",{value:!0}),t.ContentApiLinkListType=void 0,(n=r||(t.ContentApiLinkListType=r={})).GalleryHeader="gallery-header",n.KijkHeader="kijk-header",n.NumericCollection="numeric-collection",n.PortraitCollection="portrait-collection",n.SquareCollection="square-collection",n.MiniSquareCollection="mini-square-collection"},45085:function(e,t){"use strict";var r,n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.ContentApiKijkCollectionType=t.ContentApiAudioCollectionType=void 0,(r||(t.ContentApiAudioCollectionType=r={})).RadioSchedule="radioSchedule",(i=n||(t.ContentApiKijkCollectionType=n={})).Episode="episodeCollection",i.Clip="clipCollection",i.Movie="movieCollection",i.Series="seriesCollection",i.ContinueWatching="continueWatching",i.Watchlist="watchlist",i.MissedSection="missedSection",i.PvxCollection="pvxCollection"},28617:function(e,t){"use strict";var r,n,i,a,o,s;Object.defineProperty(t,"__esModule",{value:!0}),t.ContentApiFilterType=t.ContentApiSort=t.ContentApiFilterFacet=void 0,(a=r||(t.ContentApiFilterFacet=r={})).Genre="genre",a.AiredStation="airedStation",a.SeriesSlug="seriesSlug",a.Type="type",a.DateRange="dateRange",a.ExcludeVideoId="excludeVideoId",(o=n||(t.ContentApiSort=n={})).Relevance="relevance",o.AiredDesc="aired-desc",o.AiredAsc="aired-asc",(s=i||(t.ContentApiFilterType=i={})).Select="select",s.DateRange="dateRange"},32544:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.MediaType=void 0,(n=r||(t.MediaType=r={})).Live="LIVE",n.Vod="VOD"},97817:function(e,t){"use strict";var r,n,i,a,o,s,l,u;Object.defineProperty(t,"__esModule",{value:!0}),t.SocialEmbedItemType=t.ContentApiRichTextMarkType=t.ContentApiRichTextNodeType=t.ContentApiRichTextLayout=void 0,(o=r||(t.ContentApiRichTextLayout=r={})).Left="left",o.Center="center",o.Right="right",(s=n||(t.ContentApiRichTextNodeType=n={})).Document="document",s.Text="text",s.Hyperlink="hyperlink",s.Paragraph="paragraph",s.Heading1="heading-1",s.Heading2="heading-2",s.Heading3="heading-3",s.Heading4="heading-4",s.Heading5="heading-5",s.Heading6="heading-6",s.OlList="ordered-list",s.UlList="unordered-list",s.ListItem="list-item",s.Table="table",s.TableRow="table-row",s.TableCell="table-cell",s.TableHeaderCell="table-header-cell",s.Quote="quote",s.TextFrame="text-frame",s.ImageEmbed="image-embed",s.HtmlEmbed="html-embed",s.LinkList="link-list",s.InlinePlayer="inline-player",s.VideoCollection="video-category-collection",s.SocialEmbed="social-embed",s.Newsletter="newsletter",s.RichText="rich-text",s.Accordion="accordion",s.Button="button",s.TopList="top-list",s.ButtonCampaign="button-campaign",(l=i||(t.ContentApiRichTextMarkType=i={})).Bold="bold",l.Italic="italic",l.Underline="underline",(u=a||(t.SocialEmbedItemType=a={})).Facebook="facebook",u.Instagram="instagram",u.Twitter="x",u.Tiktok="tiktok"},34757:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.WebhookAcceptedProgramTypes=t.PartnerPortalProgramTypes=t.ProgramType=void 0,(n=r||(t.ProgramType=r={})).Clip="CLIP",n.Movie="MOVIE",n.Series="SERIES",n.Episode="EPISODE",n.Pvx="PVX",t.PartnerPortalProgramTypes=[r.Clip,r.Episode],t.WebhookAcceptedProgramTypes=[...t.PartnerPortalProgramTypes,r.Series,r.Movie]},95810:function(e,t,r){var n,i,a;void 0!==(i="function"==typeof(n=a=function(){var e={};return function(){"use strict";var t,r,n,i,a,o,s,l,u,c,d,h,p,f,m,g,v,y,b,S,w,x,E,T,k,C,_,P,A,N,I,R,O,L,D,M,Z,F,j,B,U,$,V,z,H,G,q,K,W,X,Y,J,Q,ee,et,er,en,ei,ea,eo,es,el,eu={};function ec(){var e,t="";for("-"===r&&o(t="-");r>="0"&&r<="9";)t+=r,o();if("."===r)for(t+=".";o()&&r>="0"&&r<="9";)t+=r;if("e"===r||"E"===r)for(t+=r,o(),"-"!==r&&"+"!==r||(t+=r,o());r>="0"&&r<="9";)t+=r,o();if(!isNaN(e=+t))return e;a("Bad number")}function ed(e){return e<10?"0"+e:e}function eh(e){return R.lastIndex=0,R.test(e)?'"'+e.replace(R,function(e){var t=D[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}c=e.Constants={version:"4.8.0",CUSTOMER_KEY:"customerKey",GATEWAY_URL:"gatewayUrl",LOG_LEVEL:"logLevel",ASSET_NAME:"Conviva.assetName",PLAYER_NAME:"Conviva.applicationName",APPLICATION_VERSION:"c3.app.version",IS_LIVE:"Conviva.streamType",ENCODED_FRAMERATE:"Conviva.encodedFrameRate",DEFAULT_RESOURCE:"Conviva.defaultResource",STREAM_URL:"Conviva.streamUrl",VIEWER_ID:"Conviva.viewerId",DURATION:"Conviva.duration",UTM_TRACKING_URL:"c3.cm.utmTrackingUrl",POD_INDEX:"podIndex",POD_POSITION:"podPosition",POD_DURATION:"podDuration",AD_TYPE:"adType",MODULE_NAME:"Conviva.moduleName",MODULE_VERSION:"Conviva.moduleVersion",FRAMEWORK_NAME:"Conviva.frameworkName",FRAMEWORK_VERSION:"Conviva.frameworkVersion",i:"Constants n
7ot yet configured",o:"Invalid : Did you report playback ended?",u:"Invalid : Did you report ad playback ended?",h:"Player cannot be null",l:"PlaybackAnlytics already built",v:"PlaybackAnlytics not yet built",Playback:{BITRATE:"BITRATE",AVG_BITRATE:"AVG_BITRATE",PLAY_HEAD_TIME:"PLAY_HEAD_TIME",RESOLUTION:"RESOLUTION",BUFFER_LENGTH:"BUFFER_LENGTH",PLAYER_STATE:"PLAYER_STATE",RENDERED_FRAMERATE:"RENDERED_FRAMERATE",SEEK_STARTED:"SEEK_STARTED",SEEK_ENDED:"SEEK_ENDED",CDN_IP:"CDN_IP",DROPPED_FRAMES_TOTAL:"DROPPED_FRAMES_TOTAL",DROPPED_FRAMES_COUNT:"DROPPED_FRAMES_COUNT",AUDIO_LANGUAGE:"AUDIO_LANGUAGE",SUBTITLES_LANGUAGE:"SUBTITLES_LANGUAGE",CLOSED_CAPTIONS_LANGUAGE:"CLOSED_CAPTIONS_LANGUAGE"},Network:{SIGNAL_STRENGTH:"SIGNAL_STRENGTH",LINK_ENCRYPTION:"LINK_ENCRYPTION",CONNECTION_TYPE:"CONNECTION_TYPE"},ErrorSeverity:{FATAL:1,WARNING:0},NO_SESSION_KEY:-2,AdPosition:{PREROLL:"Pre-roll",MIDROLL:"Mid-roll",POSTROLL:"Post-roll"},AdPlayer:{CONTENT:"CONTENT",SEPARATE:"SEPARATE"},DeviceType:{DESKTOP:"DESKTOP",CONSOLE:"Console",SETTOP:"Settop",MOBILE:"Mobile",TABLET:"Tablet",SMARTTV:"SmartTV",VEHICLE:"Vehicle",OTHER:"Other"},AdType:{CLIENT_SIDE:"Client Side",SERVER_SIDE:"Server Side"},AdSlates:{BLACKOUT_SLATE:"Blackout slate",TECHNICAL_DIFFICULTIES_SLATE:"Technical Difficulties slate",COMMERCIAL_SLATE:"Commercial Break slate",OTHER_SLATE:"Other slate",VPAID:"VPAID",REGULAR:"Regular Ad"},AdServingType:{INLINE:"Inline",WRAPPER:"Wrapper"},DeviceCategory:{ANDROID_DEVICE:"AND",APPLE_DEVICE:"APL",CHROMECAST:"CHR",DESKTOP_APP:"DSKAPP",DEVICE_SIMULATOR:"SIMULATOR",LG_TV:"LGTV",NINTENDO:"NINTENDO",PLAYSTATION:"PS",ROKU:"RK",SAMSUNG_TV:"SAMSUNGTV",SMART_TV:"TV",SET_TOP_BOX:"STB",TIVO:"TIVO",WEB:"WEB",WINDOWS_DEVICE:"WIN",XBOX:"XB",KAIOS_DEVICE:"KAIOS",LINUX:"LNX",AMAZON:"AMZ"},LogLevel:{DEBUG:0,INFO:1,WARNING:2,ERROR:3,NONE:4},PlayerState:{STOPPED:"STOPPED",PLAYING:"PLAYING",BUFFERING:"BUFFERING",PAUSED:"PAUSED",UNKNOWN:"UNKNOWN",NOT_MONITORED:"NOT_MONITORED"},Events:{USER_WAIT_STARTED:"Conviva.UserWaitStarted",USER_WAIT_ENDED:"Conviva.UserWaitEnded",BUMPER_VIDEO_STARTED:"Conviva.BumperVideoStarted",BUMPER_VIDEO_ENDED:"Conviva.BumperVideoEnded",AD_REQUESTED:"Conviva.AdRequested",AD_RESPONSE:"Conviva.AdResponse",AD_SLOT_STARTED:"Conviva.SlotStarted",AD_ATTEMPTED:"Conviva.AdAttempted",AD_SLOT_ENDED:"Conviva.SlotEnded",AD_IMPRESSION_START:"Conviva.AdImpression",AD_START:"Conviva.AdStart",AD_FIRST_QUARTILE:"Conviva.AdFirstQuartile",AD_MID_QUARTILE:"Conviva.AdMidQuartile",AD_THIRD_QUARTILE:"Conviva.AdThirdQuartile",AD_COMPLETE:"Conviva.AdComplete",AD_END:"Conviva.AdEnd",AD_IMPRESSION_END:"Conviva.AdImpressionEnd",AD_SKIPPED:"Conviva.AdSkipped",AD_ERROR:"Conviva.AdError",AD_PROGRESS:"Conviva.AdProgress",AD_CLOSE:"Conviva.AdClose",CONTENT_PAUSED:"Conviva.PauseContent",CONTENT_RESUMED:"Conviva.ResumeContent",POD_START:"Conviva.PodStart",POD_END:"Conviva.PodEnd"},ErrorType:{ERROR_UNKNOWN:"ERROR_UNKNOWN",ERROR_IO:"ERROR_IO",ERROR_TIMEOUT:"ERROR_TIMEOUT",ERROR_NULL_ASSET:"ERROR_NULL_ASSET",ERROR_MISSING_PARAMETER:"ERROR_MISSING_PARAMETER",ERROR_NO_AD_AVAILABLE:"ERROR_NO_AD_AVAILABLE",ERROR_PARSE:"ERROR_PARSE",ERROR_INVALID_VALUE:"ERROR_INVALID_VALUE",ERROR_INVALID_SLOT:"ERROR_INVALID_SLOT",ERROR_3P_COMPONENT:"ERROR_3P_COMPONENT",ERROR_UNSUPPORTED_3P_FEATURE:"ERROR_UNSUPPORTED_3P_FEATURE",ERROR_DEVICE_LIMIT:"ERROR_DEVICE_LIMIT",ERROR_UNMATCHED_SLOT_SIZE:"ERROR_UNMATCHED_SLOT_SIZE"},StreamType:{UNKNOWN:"UNKNOWN",LIVE:"LIVE",VOD:"VOD"},CallbackFunctions:{CONSOLE_LOG:"consoleLog",MAKE_REQUEST:"makeRequest",SAVE_DATA:"saveData",LOAD_DATA:"loadData",GET_EPOCH_TIME_IN_MS:"getEpochTimeInMs",CREATE_TIMER:"createTimer",GENERATE_HASH:"generateHash",BASE64_ENCODE:"base64Encode"},DeviceMetadata:{BRAND:"DeviceBrand",MANUFACTURER:"DeviceManufacturer",MODEL:"DeviceModel",TYPE:"DeviceType",VERSION:"DeviceVersion",OS_NAME:"OperatingSystemName",OS_VERSION:"OperatingSystemVersion",CATEGORY:"DeviceCategory",SCREEN_RESOLUTION_WIDTH:"ScreenWidth",SCREEN_RESOLUTION_HEIGHT:"ScreenHeight",SCREEN_RESOLUTION_SCALE_FACTOR:"ScaleFactor"},AD_PRELOAD_FEATURE:"adPreloading",AD_TAG_URL:"adTagUrl",IMASDK_CONTENT_PLAYER:"imaMainContentPlayer",CONVIVA_AD_MODULE:"convivaAdModule",CONVIVA_MODULE:"convivaModule",MEDIA_ELEMENT:"mediaElement",APP_TRACKER_EVENT:{TYPE:"convivaVideoEvent",INIT:"c3.sdk.init",VIDEO_ATTEMPT:"c3.video.attempt",VIDEO_END:"c3.video.end",VIDEO_PLAY:"c3.video.play",VIDEO_PAUSE:"c3.video.pause",VIDEO_BUFFERING:"c3.video.buffering",VIDEO_ERROR:"c3.video.error",SDK_CUSTOM_EVENT:"c3.sdk.custom_event",VIDEO_CUSTOM_EVENT:"c3.video.custom_event",AD_BREAK_START:"c3.ad.ad_break_start",AD_BREAK_END:"c3.ad.ad_break_end",V
7IDEO_METADATA_CHANGE:"c3.video.set_content_info",VIDEO_BITRATE_SWITCH:"c3.video.bitrate_switch"}},(d=e.Client=function(){var e=this;this._=null,this.p=!1,this.version=d.version,this.R=null,this.A=null,this.T=null,this.S=-1,this.O=null,this.g=null,this.N=null,this.I=null,this.C=-1,this.m=!1,this.D={},this.P=function(){e.R},this.M={},this.L=null,this.U=null,this.V=null,this.k=function(){this.N.F("Client.makeIPV4IPV6GlobalSessions",function(){var t;e.I&&null!==(t=e.I.get(K.H))&&t!==U.B&&e.A&&((t=new p).custom["c3.IPV4IPV6GlobalSession"]="T",t.custom["c3.domain"]=e.O.G.indexOf(h.j)>-1?h.j:h.K,e.W=e.A.Y(t,null),(t=new p).custom["c3.IPV4IPV6GlobalSession"]="T",t.custom["c3.domain"]=e.O.q.indexOf(h.X)>-1?h.X:h.J,e.Z=e.A.Y(t,null))})},this.$=function(t){e.N.F("Client.updateConnectionType",function(){if(e.L=t,e.A){var r,n=e.A.tt();for(r in n)n[r].nt(t)}})},this.it=function(t){e.N.F("Client.updateLinkEncryption",function(){if(e.U=t,e.A){var r,n=e.A.tt();for(r in n)n[r].et(t)}})},this.ot=function(t){e.N.F("Client.updateSignalStrength",function(){e.V=t})},(function(t,r,n,i){if(!(t instanceof h))throw Error("clientSettings parameter should be an instance of ClientSettings.");if(!(r instanceof x))throw Error("systemFactory parameter should be an instance of SystemFactory.");t.gatewayUrl!==h.rt+h.ut&&t.gatewayUrl!==h.ht+h.ut||(this.p=!0),i&&(this.version=i),this.O=t.ct(),this.T=r,this.T.lt("SDK",this.O,this.version),this.N=this.T.dt(this.version),this.N.F("Client.init",function(){if(e.I=e.T.vt(),e.I.Et(),e.C=e.I.get(K._t),-1!==e.C&&void 0!==e.C&&null!==e.C||(e.C=et.Rt()),void 0!==e.I.get(K.At)&&(e.O.heartbeatInterval=e.I.get(K.At)),e.A=e.T.Tt(e,e.O,e.I),n)for(var t in n)switch(t){case c.Network.CONNECTION_TYPE:e.$(n[t]);break;case c.Network.LINK_ENCRYPTION:e.it(n[t]);break;case c.Network.SIGNAL_STRENGTH:e.ot(n[t])}e.k()},function(e){throw Error("Client constructor failed: "+e.message)})}).apply(this,arguments),this.release=function(){this.m||this.N.F("Client.release",function(){e.R,e.A.St(),e.A=null,e.S=-1,e.C=-1,e.N=null,e.O=null,e.g=null,e.T=null,e.m=!0})},this.createSession=function(t,r,n){var i=d.NO_SESSION_KEY;return this.m||(!t||t instanceof p)&&this.N.F("Client.createSession",function(){i=e.A.Ot(t,z.Nt.gt,r,(n?c:e).version)}),i},this.createAdSession=function(t,r,n,i,a){var o=d.NO_SESSION_KEY;return this.m||(!r||r instanceof p)&&this.N.F("Client.createAdSession",function(){var s,l;r||(r=new p),J.It(t)&&t!==d.NO_SESSION_KEY&&(s=e.A.wt(t))&&(l=r.custom[c.APPLICATION_VERSION],s.Ct&&s.Ct.yt&&(!r.viewerId&&s.Ct.yt.viewerId&&(r.viewerId=s.Ct.yt.viewerId),!r.applicationName&&s.Ct.yt.applicationName&&(r.applicationName=s.Ct.yt.applicationName),r.streamType===c.StreamType.UNKNOWN&&s.Ct.yt.streamType!==c.StreamType.UNKNOWN&&(r.streamType=s.Ct.yt.streamType),void 0!==l&&l||void 0!==(l=s.Ct.yt.custom[c.APPLICATION_VERSION])&&l&&(r.custom[c.APPLICATION_VERSION]=l)),r.custom["c3.csid"]=J.Dt(s.C)),o=e.A.Ot(r,z.Nt.bt,n,(i?c:e).version,a)}),o},this.reportError=function(t,r,n){this.m||!J.Pt(r)||n!==d.ErrorSeverity.FATAL&&n!==d.ErrorSeverity.WARNING||this.N.F("Client.reportError",function(){var i=e.A.wt(t);i&&i.Mt(r,n)})},this.updateContentMetadata=function(t,r){this.m||r instanceof p&&this.N.F("Client.updateContentMetadata",function(){var n,i=e.A.wt(t);i&&(n=r.ct(),i.Lt(n))})},this.detachPlayer=function(t){this.m||this.N.F("Client.detachPlayer",function(){var r=e.A.wt(t);r&&r.Ut()})},this.Vt=function(t){this.m||this.N.F("Client.offFocus",function(){var r=e.A.wt(t);r&&r.Vt()})},this.attachPlayer=function(t,r){this.m||r instanceof f&&this.N.F("Client.attachPlayer",function(){var n=e.A.wt(t);n&&n.kt(r)})},this.Ft=function(t){this.m||this.N.F("Client.onFocus",function(){var r=e.A.wt(t);r&&r.Ft()})},this.contentPreload=function(t){this.m||this.N.F("Client.contentPreload",function(){var r=e.A.wt(t);r&&r.Ht()})},this.contentStart=function(t){this.m||this.N.F("Client.contentStart",function(){var r=e.A.wt(t);r&&r.Bt()})},this.sendCustomEvent=function(t,r,n){this.m||J.Pt(r)&&(J.Gt(n),this.N.F("Client.sendCustomEvent",function(){t===d.NO_SESSION_KEY&&(e.S<0&&(i=new p,e.S=e.A.Y(i,null)),t=e.S);var i=J.jt(n),a=e.A.Kt(t);a&&a.Wt(r,i)}
7))},this.adStart=function(t,r,n,i){this.m||r!==d.AdStream.CONTENT&&r!==d.AdStream.SEPARATE||n!==d.AdPlayer.CONTENT&&n!==d.AdPlayer.SEPARATE||(i!==d.AdPosition.PREROLL&&i!==d.AdPosition.MIDROLL&&d.AdPosition.POSTROLL,this.N.F("Client.adStart",function(){var a=e.A.wt(t);a&&a.xt(r,n,i)}))},this.adEnd=function(t){this.m||this.N.F("Client.adEnd",function(){var r=e.A.wt(t);r&&r.Yt()})},this.cleanupSession=function(t){this.m||t!==d.NO_SESSION_KEY&&this.N.F("Client.cleanupSession",function(){e.A.wt(t)&&e.A.qt(t)})},this.getAttachedPlayer=function(t){var r=null;return this.m||t!==d.NO_SESSION_KEY&&this.N.F("Client.getAttachedPlayer",function(){var n=e.A.wt(t);n&&(r=n.Xt())}),r},this.isPlayerAttached=function(e){return!this.m&&null!==this.getAttachedPlayer(e)},this.getPlayerStateManager=function(t){if(this.m)throw Error("This instance of Conviva.Client has been released.");return new f(this.T,(t?c:e).version)},this.releasePlayerStateManager=function(e){if(this.m)throw Error("This instance of Conviva.Client has been released.");this.N.F("Client.releasePlayerStateManager",function(){e instanceof f&&e.release()})},this.Jt=function(){return this.O},this.getId=function(){return this.C},this.getSessionId=function(t){var r;return this.m?c.NO_SESSION_KEY:(r=null,this.N.F("Client.getSessionId",function(){var n=e.A.wt(t);n&&(r=n.Qt())}),r)},this.getClientId=function(t){var r;return this.m?null:(r=null,this.N.F("Client.getClientId",function(){var n=e.A.wt(t);n&&(r=n.Zt())}),r)},this.zt=function(t,r,n){this.m||this.N.F("Client.updateCustomMetric",function(){var i=e.A.wt(t);i&&i.zt(r,n)})},this.setUniqueIdentifier=function(e,t){if(this.m)throw Error("This instance of Conviva.Client has been released.");if(!e||void 0===e||"{}"===JSON.stringify(e))throw Error("Identifiers are not set. No action taken !!");for(var r in e)this.D[r]=e[r];t&&(this.P=t)},this.setUserPreferenceForDataCollection=function(e,t){if(this.m)throw Error("This instance of Conviva.Client has been released.");if(!e||void 0===e||"{}"===JSON.stringify(e))throw Error("Identifiers are not set. No action taken !!");for(var r in e)"false"===e[r]?this.M[r]=t?K.tn.$t:K.tn.nn:this.M[r]=K.tn.en},this.setUserPreferenceForDataDeletion=function(e){if(this.m)throw Error("This instance of Conviva.Client has been released.");if(!e||void 0===e||"{}"===JSON.stringify(e))throw Error("Identifiers are not set. No action taken !!");for(var t in e)"true"===e[t]?this.M[t]=K.tn.sn:this.M[t]=K.tn.en},this.getConfig=function(){if(this.m)throw Error("This instance of Conviva.Client has been released.");return this.I}}).version="4.8.0L",d.NO_SESSION_KEY=c.NO_SESSION_KEY,d.AdPosition={PREROLL:c.AdPosition.PREROLL,MIDROLL:c.AdPosition.MIDROLL,POSTROLL:c.AdPosition.POSTROLL},d.AdStream={CONTENT:c.AdPlayer.CONTENT,SEPARATE:c.AdPlayer.SEPARATE},d.AdPlayer={CONTENT:c.AdPlayer.CONTENT,SEPARATE:c.AdPlayer.SEPARATE},d.ErrorSeverity={FATAL:c.ErrorSeverity.FATAL,WARNING:c.ErrorSeverity.WARNING},d.DeviceType={DESKTOP:c.DeviceType.DESKTOP,CONSOLE:c.DeviceType.CONSOLE,SETTOP:c.DeviceType.SETTOP,MOBILE:c.DeviceType.MOBILE,TABLET:c.DeviceType.TABLET,SMARTTV:c.DeviceType.SMARTTV,VEHICLE:c.DeviceType.VEHICLE,OTHER:c.DeviceType.OTHER},d.AdTechnology={CLIENT_SIDE:c.AdType.CLIENT_SIDE,SERVER_SIDE:c.AdType.SERVER_SIDE},d.AdType={BLACKOUT_SLATE:c.AdSlates.BLACKOUT_SLATE,TECHNICAL_DIFFICULTIES_SLATE:c.AdSlates.TECHNICAL_DIFFICULTIES_SLATE,COMMERCIAL_SLATE:c.AdSlates.COMMERCIAL_SLATE,OTHER_SLATE:c.AdSlates.OTHER_SLATE,VPAID:c.AdSlates.VPAID,REGULAR:c.AdSlates.REGULAR},d.AdServingType={INLINE:c.AdServingType.INLINE,WRAPPER:c.AdServingType.WRAPPER},d.DeviceCategory={ANDROID_DEVICE:c.DeviceCategory.ANDROID_DEVICE,APPLE_DEVICE:c.DeviceCategory.APPLE_DEVICE,CHROMECAST:c.DeviceCategory.CHROMECAST,DESKTOP_APP:c.DeviceCategory.DESKTOP_APP,DEVICE_SIMULATOR:c.DeviceCategory.DEVICE_SIMULATOR,LG_TV:c.DeviceCategory.LG_TV,NINTENDO:c.DeviceCategory.NINTENDO,PLAYSTATION:c.DeviceCategory.PLAYSTATION,ROKU:c.DeviceCategory.ROKU,SAMSUNG_TV:c.DeviceCategory.SAMSUNG_TV,SMART_TV:c.DeviceCategory.SMART_TV,SET_TOP_BOX:c.DeviceCategory.SET_TOP_BOX,TIVO:c.DeviceCategory.TIVO,WEB:c.DeviceCategory.WEB,WINDOWS_DEVICE:c.DeviceCategory.WINDOWS_DEVICE,XBOX:c.DeviceCategory.XBOX,KAIOS_DEVICE:c.DeviceCategory.KAIOS_DEVICE,LINUX:c.DeviceCategory.LINUX,AMAZON:c.DeviceCategory.AMAZON},(h=e.ClientSettings=function(){var e=this;this.rn=null,J.un(this,"customerKey",function(){return this.rn}),J.hn(this,"customerKey",function(e){J.Pt(e)&&(this.rn=e)}),this.fn=h.cn,J.un(this,"heartbeatInterval",function(){return this.fn}),J.hn(this,"heartbeatInterval",function(e){var t;"number"==typeof e&&(t=J.ln(e))===e&&(this.fn=t)}),this.dn=null,this.G=null,this.q=null,J.un(this,"gatewayUrl",function(){return this.dn}),J.hn(this,"gatewayUrl",function(e){var t;J.Pt(e)&&("https"===(t=e.split("://"))[0]||"http"===t[0])&&(this.dn=e)}),(function(e){if(!J.Pt(e))throw Error("customerKey must be valid");this.customerKey=e}).apply(this,arguments),this.equals=function(e){return this.customerKey===e.customerKey&&this.gatewayUrl===e.gatewayUrl&&this.heartbeatInterval===e.heartbeatInterval},this.ct=function(){var t=new h(this.customerKey);return t.gatewayUrl=function(t){if(J.Pt(t)){var r,n=t.split("://");if("https"===n[0]||"http"===n[0])return n[1]!==h.ut&&-1!==n[1].indexOf(h.ut)?(r=n[1].split(h.ut),e.G="https://"+r[0]+h.j,e.q="https://"+r[0]+h.X):(e.G="https://ipv4."+n[1],e.q="https://ipv6."+n[1]),t}return e.G="https://"+e.customerKey+"."+h.j,e.q="https://"+e.customerKey+"."+h.X,"https://"+e.customerKey+"."+h.ut}(this.gatewayUrl),t.heartbeatInterval=this.heartbeatInterval,t.G=this.G,t.q=this.q,t}}).on="https://conviva.testonly.conviva.com",h.vn="https://cws.conviva.com",h.ut="cws.conviva.com",h.j="ipv4.cws.conviva.com",h.X="ipv6.cws.conviva.com",h.En="conviva.testonly.conviva.com",h.K="ipv4.testonly.conviva.com",h.J="ipv6.testonly.conviva.com",h.rt="https://",h.ht="http://",h._n=5,h.cn=20,(p=e.ContentMetadata=function(){this.Rn=null,J.un(this,"assetName",function(){return this.Rn}),J.hn(this,"assetName",function(e){"string"==typeof e&&(this.Rn=e)}),this.An={},J.un(this,"custom",function(){return this.An}),J.hn(this,"custom",function(e){"object"==typeof e&&(this.An=J.jt(e))}),this.Tn=null,J.un(this,"defaultResource",function(){return this.Tn}),J.hn(this,"defaultResource",function(e){"string"==typeof e&&(this.Tn=e)}),this.Sn=null,J.un(this,"viewerId",function(){return this.Sn}),J.hn(this,"viewerId",function(e){"string"==typeof e&&(this.Sn=e)}),this.On=null,J.un(this,"applicationName",function(){return this.On}),J.hn(this,"applicationName",function(e){"string"==typeof e&&(this.On=e)}),this.gn=null,J.un(this,"streamUrl",function(){return this.gn}),J.hn(this,"streamUrl",function(e){"string"==typeof e&&(this.gn=e)}),this.Nn=p.StreamType.UNKNOWN,J.un(this,"streamType",function(){return this.Nn}),J.hn(this,"streamType",function(e){e!==p.StreamType.UNKNOWN&&e!==p.StreamType.VOD&&e!==p.StreamType.LIVE||(this.Nn=e)}),this.In=-1,J.un(this,"duration",function(){return this.In}),J.hn(this,"duration",function(e){this.In=er.wn(e)}),this.Cn=-1,J.un(this,"encodedFrameRate",function(){return this.Cn}),J.hn(this,"encodedFrameRate",function(e){this.Cn=er.wn(e)}),(function(){}).apply(this,arguments),this.ct=function(){var e,t=new p;for(e in t.assetName=this.assetName,t.applicationName=this.applicationName,t.streamUrl=this.streamUrl,t.viewerId=this.viewerId,t.defaultResource=this.defaultResource,t.streamType=this.streamType,t.duration=this.duration,t.encodedFrameRate=this.encodedFrameRate,this.custom)t.custom[e]=this.custom[e];return t}}).StreamType={UNKNOWN:c.StreamType.UNKNOWN,LIVE:c.StreamType.LIVE,VOD:c.StreamType.VOD}
7,e.ErrorType={ERROR_UNKNOWN:c.ErrorType.ERROR_UNKNOWN,ERROR_IO:c.ErrorType.ERROR_IO,ERROR_TIMEOUT:c.ErrorType.ERROR_TIMEOUT,ERROR_NULL_ASSET:c.ErrorType.ERROR_NULL_ASSET,ERROR_MISSING_PARAMETER:c.ErrorType.ERROR_MISSING_PARAMETER,ERROR_NO_AD_AVAILABLE:c.ErrorType.ERROR_NO_AD_AVAILABLE,ERROR_PARSE:c.ErrorType.ERROR_PARSE,ERROR_INVALID_VALUE:c.ErrorType.ERROR_INVALID_VALUE,ERROR_INVALID_SLOT:c.ErrorType.ERROR_INVALID_SLOT,ERROR_3P_COMPONENT:c.ErrorType.ERROR_3P_COMPONENT,ERROR_UNSUPPORTED_3P_FEATURE:c.ErrorType.ERROR_UNSUPPORTED_3P_FEATURE,ERROR_DEVICE_LIMIT:c.ErrorType.ERROR_DEVICE_LIMIT,ERROR_UNMATCHED_SLOT_SIZE:c.ErrorType.ERROR_UNMATCHED_SLOT_SIZE},e.Events={AD_REQUESTED:c.Events.AD_REQUESTED,AD_RESPONSE:c.Events.AD_RESPONSE,AD_SLOT_STARTED:c.Events.AD_SLOT_STARTED,AD_ATTEMPTED:c.Events.AD_ATTEMPTED,AD_SLOT_ENDED:c.Events.AD_SLOT_ENDED,AD_IMPRESSION_START:c.Events.AD_IMPRESSION_START,AD_START:c.Events.AD_START,AD_FIRST_QUARTILE:c.Events.AD_FIRST_QUARTILE,AD_MID_QUARTILE:c.Events.AD_MID_QUARTILE,AD_THIRD_QUARTILE:c.Events.AD_THIRD_QUARTILE,AD_COMPLETE:c.Events.AD_COMPLETE,AD_END:c.Events.AD_END,AD_IMPRESSION_END:c.Events.AD_IMPRESSION_END,AD_SKIPPED:c.Events.AD_SKIPPED,AD_ERROR:c.Events.AD_ERROR,AD_PROGRESS:c.Events.AD_PROGRESS,AD_CLOSE:c.Events.AD_CLOSE,CONTENT_PAUSED:c.Events.CONTENT_PAUSED,CONTENT_RESUMED:c.Events.CONTENT_RESUMED,POD_START:c.Events.POD_START,POD_END:c.Events.POD_END},(f=e.PlayerStateManager=function(){var t=this;t.yn=null,t.Dn=-2,t.bn=-2,t.Pn=f.PlayerState.UNKNOWN,t.Mn={},t.Ln=-2,t.Cn=-2,t.In=-2,t.Un=null,t.Vn=null,t.gn=null,t.kn=null,t.Fn=null,t.Hn=-1,t.Bn=-1,t.L=null,t.U=null,t.Gn=null,t.jn=[],t.m=!1,t.Kn=null,t.Wn=null,t.xn=null,this.release=function(){t.m||t.N.F("PlayerStateManager.release",function(){t.yn&&t.yn.Yn(),t.qn(),t.T=null,t.N=null,t.m=!0})},this.setPlayheadTime=function(){},this.setBufferLength=function(){},this.setRenderedFrameRate=function(){},this.getEncodedFrameRate=function(){return t.Cn},this.setEncodedFrameRate=function(e){t.m||t.N.F("PlayerStateManager.setEncodedFrameRate",function(){var r=er.wn(e);r>=-1&&(t.Cn=r,t.yn)&&t.yn.Xn(t.Cn)})},this.getDuration=function(){return t.In},this.setClientMeasureInterface=function(t){J.Jn(t,new e.ClientMeasureInterface,"ClientMeasureInterface"),this.Qn=t},this.getPHT=function(){return this.Qn&&"function"==typeof this.Qn.getPHT?this.Qn.getPHT():f.DEFAULT_PHT},this.getBufferLength=function(){return this.Qn&&"function"==typeof this.Qn.getBufferLength?this.Qn.getBufferLength():f.DEFAULT_BUFFER_LENGTH},this.getSignalStrength=function(){return this.Qn&&"function"==typeof this.Qn.getSignalStrength?this.Qn.getSignalStrength():f.DEFAULT_SIGNAL_STRENGTH},this.getRenderedFrameRate=function(){return this.Qn&&"function"==typeof this.Qn.getRenderedFrameRate?this.Qn.getRenderedFrameRate():f.DEFAULT_RENDERED_FRAME_RATE},this.setDuration=function(e){t.m||t.N.F("PlayerStateManager.setDuration",function(){var r=er.wn(e);r>=-1&&(t.In=r,t.yn)&&t.yn.Zn(t.In)})},this.getStreamUrl=function(){return t.gn},this.setStreamUrl=function(e){t.m||t.N.F("PlayerStateManager.setStreamUrl",function(){e&&(t.gn=e,t.yn)&&t.yn.zn(t.gn)})},this.$n=function(){return t.kn},this.ti=function(){return t.Fn},this.setModuleNameAndVersion=function(e,r){t.kn=e,t.Fn=r},this.ni=function(){return t.Vn},this.setPlayerType=function(e){t.m||t.N.F("PlayerStateManager.setPlayerType",function(){t.Vn=e,t.yn&&t.yn.ii(t.Vn)})},this.ei=function(){return t.Un},this.setPlayerVersion=function(e){t.m||t.N.F("PlayerStateManager.setPlayerVersion",function(){t.Un=e,t.yn&&t.yn.si(t.Un)})},this.oi=function(){return t.Kn},this.setAudioLang=function(e){t.m||t.N.F("PlayerStateManager.setAudioLang",function(){t.Kn=e,t.yn&&t.yn.ri(t.Kn)})},this.ui=function(){return t.Wn},this.setSubtitleLang=function(e){t.m||t.N.F("PlayerStateManager.setSubtitleLang",function(){t.Wn=e,t.yn&&t.yn.hi(t.Wn)})},this.ai=function(){return t.xn},this.setCcLang=function(e){t.m||t.N.F("PlayerStateManager.setCCLang",function(){t.xn=e,t.yn&&t.yn.fi(t.xn)})},this.setMonitoringNotifier=function(e){return!t.m&&!t.yn&&(t.yn=e,t.R,!0)},this.qn=function(){t.m||(t.yn=null,t.R)},this.ci=function(){t.setPlayerState(t.getPlayerState()),t.setBitrateKbps(t.li()),t.setAvgBitrateKbps(t.di()),t.setDuration(t.getDuration()),t.setEncodedFrameRate(t.getEncodedFrameRate()),t.setStreamUrl(t.getStreamUrl()),t.setPlayerType(t.ni()),t.setPlayerVersion(t.ei()),t.setAudioLang(t.oi()),t.setSubtitleLang(t.ui()),t.setCcLang(t.ai());for(var e=0;e<t.jn.length;e++){var r=t.jn[e];t.vi(r)}t.jn=[]},this.getPlayerState=function(){return t.Pn},this.setPlayerState=function(e){t.m||t.N.F("PlayerStateManager.setPlayerState",function(){f.Ei(e)&&(t.Pn=e,t.yn)&&t.yn._i(t.Pn)})},this.li=function(){return t.Dn},this.setBitrateKbps=function(e){t.m||t.N.F("PlayerStateManager.setBitrateKbps",function(){var r=er.wn(e);r>=-1&&(t.Dn=r,t.yn)&&t.yn.pi(t.Dn)})},this.di=function(){return t.bn},this.setAvgBitrateKbps=function(e){t.m||t.N.F("PlayerStateManager.setAvgBitrateKbps",function(){var r=er.wn(e);r>=-1&&(t.bn=r,t.yn)&&t.yn.Ri(t.bn)})},this.setPlayerSeekStart=function(e){t.m||t.N.F("PlayerStateManager.setPlayerSeekStart()",function(){t.yn&&t.yn.Ai(f.SEEK_ACTIONS_TYPE.SEEK_START,e)})},this.setPlayerSeekEnd=function(){t.m||t.N.F("PlayerStateManager.setPlayerSeekEnd()",function(){t.yn&&t.yn.Ai(f.SEEK_ACTIONS_TYPE.SEEK_END,-1)})},this.setUserSeekButtonUp=function(){t.m||t.N.F("PlayerStateManager.setUserSeekButtonUp()",function(){t.yn&&t.yn.Ai(f.SEEK_ACTIONS_TYPE.BUTTON_UP,-1)})},this.setUserSeekButtonDown=function(){t.m||t.N.F("PlayerStateManager.setUserSeekButtonDown()",function(){t.yn&&t.yn.Ai(f.SEEK_ACTIONS_TYPE.BUTTON_DOWN,-1)})},this.setVideoResolutionWidth=function(e){t.m||t.N.F("PlayerStateManager.setVideoResolutionWidth()",function(){var r=er.wn(e);r>0&&(t.Hn=r),t.yn&&t.yn.Ti(t.Hn)})},this.setVideoResolutionHeight=function(e){t.m||t.N.F("PlayerStateManager.setVideoResolutionHeight()",function(){var r=er.wn(e);r>0&&(t.Bn=r),t.yn&&t.yn.Si(t.Bn)})},this.setConnectionType=function(e){t.m||t.N.F("PlayerStateManager.setConnectionType()",function(){t.L=e,t.yn&&t.yn.nt(t.L)})},this.setLinkEncryption=function(e){t.m||t.N.F("PlayerStateManager.setLinkEncryption()",function(){t.U=e,t.yn&&t.yn.et(t.U)})},this.setSignalStrength=function(){},this.vi=function(e){var r,n;t.Gn=e,t.yn?(r=e.errorCode,n=e.severity,t.yn.Oi(r,n)):t.jn.push(e)},this.sendError=function(e,r){t.m||t.N.F("PlayerStateManager.sendError",function(){var n=new en(e,r);t.vi(n)})},this.reset=function(){t.m||t.N.F("PlayerStateManager.reset",function(){t.Dn=-2,t.bn=-2,t.Pn=f.PlayerState.UNKNOWN,t.Mn={},t.Ln=-1,t.Cn=-1,t.In=-1,t.Un=null,t.Vn=null,t.gn=null,t.Gn=null,t.jn=[]})},this.setCDNServerIP=function(e){t.m||t.N.F("PlayerStateManager.setCDNServerIP",function(){t.yn&&t.yn.gi(e)})},this.Ni=function(){return t.Ii},this.setDroppedFramesTotal=function(e){t.m||t.N.F("PlayerStateManager.setDroppedFramesTotal",function(){t.yn&&t.yn.wi(e)})},this.setDroppedFramesCount=function(e){t.m||t.N.F("PlayerStateManager.setDroppedFramesCount",function(){t.yn&&t.yn.Ci(e)})},this.yi=function(){return t.Gn},(function(e,r){t.T=e,t.N=t.T.dt(r)}).apply(t,arguments)}).PlayerState={STOPPED:c.PlayerState.STOPPED,PLAYING:c.PlayerState.PLAYING,BUFFERING:c.PlayerState.BUFFERING,PAUSED:c.PlayerState.PAUSED,UNKNOWN:c.PlayerState.UNKNOWN,NOT_MONITORED:c.PlayerState.NOT_MONITORED},f.Ei=function(e){return e===f.PlayerState.STOPPED||e===f.PlayerState.PLAYING||e===f.PlayerState.BUFFERING||e===f.PlayerState.PAUSED||e===f.PlayerState.UNKNOWN||e===f.PlayerState.NOT_MONITORED},f.SEEK_ACTIONS_TYPE={SEEK_START:"pss",SEEK_END:"pse",BUTTON_UP:"bu",BUTTON_DOWN:"bd"},f.DEFAULT_SIGNAL_STRENGTH=1e3,f.DEFAULT_RENDERED_FRAME_RATE=-1,f.DEFAULT_BUFFER_LENGTH=-1,f.DEFAULT_PHT=-1,e.ClientMeasureInterface=function(){this.getPHT=function(){},this.getBufferLength=function(){}
7,this.getSignalStrength=function(){},this.getRenderedFrameRate=function(){}},m=e.HttpInterface=function(){this.makeRequest=function(){},this.release=function(){}},g=e.LoggingInterface=function(){this.consoleLog=function(){},this.release=function(){}},v=e.MetadataInterface=function(){this.getBrowserName=function(){},this.getBrowserVersion=function(){},this.getDeviceBrand=function(){},this.getDeviceManufacturer=function(){},this.getDeviceModel=function(){},this.getDeviceType=function(){},this.getDeviceVersion=function(){},this.getFrameworkName=function(){},this.getFrameworkVersion=function(){},this.getOperatingSystemName=function(){},this.getOperatingSystemVersion=function(){},this.getDeviceCategory=function(){},this.getScreenWidth=function(){},this.getScreenHeight=function(){},this.getScaleFactor=function(){},this.release=function(){}},y=e.StorageInterface=function(){this.saveData=function(){},this.loadData=function(){},this.release=function(){}},b=e.SystemInterface=function(){(function(e,t,r,n,i,a){J.Jn(e,new S,"TimeInterface"),J.Jn(t,new w,"TimerInterface"),J.Jn(r,new m,"HttpInterface"),J.Jn(n,new y,"StorageInterface"),J.Jn(i,new v,"MetadataInterface"),J.Jn(a,new g,"LoggingInterface"),this.mi=e,this.Di=t,this.bi=r,this.Pi=n,this.Mi=i,this.Li=a}).apply(this,arguments),this.release=function(){this.mi&&(this.mi.release(),this.mi=null),this.Di&&(this.Di.release(),this.Di=null),this.bi&&(this.bi.release(),this.bi=null),this.Pi&&(this.Pi.release(),this.Pi=null),this.Mi&&(this.Mi.release(),this.Mi=null),this.Li&&(this.Li.release(),this.Li=null)}},S=e.TimeInterface=function(){this.getEpochTimeMs=function(){},this.release=function(){}},w=e.TimerInterface=function(){this.createTimer=function(){},this.release=function(){}},x=e.SystemFactory=function(){var e=this;(function(e,t){if(!(e instanceof b))throw Error("systemInterface parameter should be an instance of SystemInterface.");this.Ui=e,this.mi=this.Ui.mi,this.Di=this.Ui.Di,this.bi=this.Ui.bi,this.Pi=this.Ui.Pi,this.Mi=this.Ui.Mi,this.Li=this.Ui.Li,t instanceof E?this.O=t.ct():this.O=new E}).apply(this,arguments),this.lt=function(e,t,r){this.Vi=e,this.ki=t,this.Fi=r},this.release=function(){this.Ui.release(),this.Ui=null,this.Vi=null,this.O=null,this.Hi=null},this.buildLogger=function(){return new ea(e.Li,e.mi,e.Jt(),e.Hi,e.Vi)},this.Tt=function(e,t,r){return new G(e,t,r,this)},this.Bi=function(e){return new ee(this.buildLogger(),this.Gi(),this.ki,e)},this.ji=function(){return new q(this.buildTimer(e.Fi))},this.Ki=function(){var e=new el(this.buildLogger(),this.Di,new X(this.buildLogger(),null,this.Jt()));return new q(e)},this.Gi=function(){return new ei(this.buildLogger(),this.bi,this.Ki(),this.Jt())},this.dt=function(e){return new X(this.buildLogger(),this.Bi(e),this.Jt())},this.buildTime=function(){return new es(this.mi,this.buildLogger())},this.buildTimer=function(e){return new el(this.buildLogger(),this.Di,this.dt(e))},this.Wi=function(){return new eu.Storage(this.buildLogger(),this.Pi,this.ji(),this.Jt())},this.vt=function(){return new K(this.buildLogger(),this.Wi(),this.xi())},this.Yi=function(e){return new eo(this.buildLogger(),this.Mi,this.dt(e))},this.qi=function(){return new U},this.Xi=function(e,t){return new Y(e,this.buildLogger(),this.Gi(),this.xi(),t)},this.Ji=function(e,t,r,n,i){var a=this.Xi(t,n.custom["c3.domain"]);return new z(this.Qi(),e,t,this.buildLogger(),this.dt(i),this.buildTimer(i),a,this.qi(),this.buildTime(),this.Zi(),r,n,i)},this.zi=function(e,t,r,n,i,a,o){return e=this.Ji(e,t.ct(),r,a,o),new H(n,i,r,this.Yi(o),e,this.dt(o),this.buildLogger())},this.Qi=function(){return new W},this.xi=function(){return new $},this.Zi=function(){return this.Hi},this.Jt=function(){return this.O},this.Hi=new Q},(E=e.SystemSettings=function(){this.$i=E.te,J.un(this,"logLevel",function(){return this.$i}),J.hn(this,"logLevel",function(e){var t;"number"==typeof e&&(t=J.ln(e))===e&&t>=E.LogLevel.DEBUG&&t<=E.LogLevel.ERROR&&(this.$i=t)}),this.ne=E.ie,J.un(this,"allowUncaughtExceptions",function(){return this.ne}),J.hn(this,"allowUncaughtExceptions",function(e){J.ee(e)&&(this.ne=e)}
7),this.se=E.oe,J.un(this,"storageTimeout",function(){return this.se}),J.hn(this,"storageTimeout",function(e){var t;"number"==typeof e&&(t=J.ln(e))===e&&(this.se=t)}),this.re=E.ue,J.un(this,"httpTimeout",function(){return this.re}),J.hn(this,"httpTimeout",function(e){var t;"number"==typeof e&&(t=J.ln(e))===e&&(this.re=t)}),(function(){}).apply(this,arguments),this.equals=function(e){return this.logLevel===e.logLevel&&this.allowUncaughtExceptions===e.allowUncaughtExceptions&&this.storageTimeout===e.storageTimeout&&this.httpTimeout===e.httpTimeout},this.ct=function(){var e=new E;return e.logLevel=this.logLevel,e.allowUncaughtExceptions=this.allowUncaughtExceptions,e.storageTimeout=this.storageTimeout,e.httpTimeout=this.httpTimeout,e}}).LogLevel={DEBUG:c.LogLevel.DEBUG,INFO:c.LogLevel.INFO,WARNING:c.LogLevel.WARNING,ERROR:c.LogLevel.ERROR,NONE:c.LogLevel.NONE},E.he=E.LogLevel.DEBUG,E.te=E.LogLevel.NONE,E.ae=!0,E.ie=!1,E.oe=10,E.ue=10,T=eu.AdAnalytics=function(){var t=this;function r(e){t.fe?(J.Gt(e)>0&&t.setAdInfo(e),t.fe.ce()||(t.fe.le(t.de),t.fe.ve(!0),t.getAdType()===c.AdType.SERVER_SIDE&&t.reportAdMetric(c.Playback.BITRATE,t.de.Ee()))):t.R}t._e=null,t.T=null,t.pe=null,t.de=null,t.fe=null,t.Re=null,t.Ae=null,t.Te=null,(function(e,r,n){t._e=e,t.Te=n,t.T=r,n&&(t.de=n.Se()),t.pe=r.buildTimer(c.version),t.fe=new k(t._e,t.pe),_.call(this)}).apply(this,arguments),this.setAdInfo=function(e){0>=J.Gt(e)?t.R:(t.R,t.fe&&t.fe.Oe(e))},this.setAdPlayerInfo=function(e){0>=J.Gt(e)?t.R:(t.R,t.fe&&t.fe.Oe(e))},this.reportAdMetric=function(){0==arguments.length?t.R:1==arguments.length?t.ge(arguments[0]):2==arguments.length?t.ge(arguments[0],arguments[1]):3==arguments.length?t.ge(arguments[0],arguments[1],arguments[2]):4==arguments.length&&t.ge(arguments[0],arguments[1],arguments[2],arguments[3])},this.setCallback=function(e){t.fe&&t.fe.Ne(e)},this.reportAdFailed=function(e,r){t.fe?(J.Gt(r)>0&&t.setAdInfo(r),t.fe.ce()?(t.R,t.reportAdError(e,d.ErrorSeverity.FATAL),t.reportAdEnded()):(t.fe.le(t.de),t.R,r=new en(e,d.ErrorSeverity.FATAL),t.fe.ve(!0,r))):t.R},this.reportAdLoaded=function(e){t.R,r(e)},this.reportAdStarted=function(e){t.R,r(e)},this.reportAdEnded=function(){t.fe?(t.R,t.fe.ce()&&(t.fe.le(null),t.fe.ve(!1))):t.R},this.reportAdError=function(e,r){t.fe?(t.R,e=new en(e,r),t.fe.vi(e)):t.R},this.reportAdPlayerEvent=function(e,r){if(J.Pt(e)){if(t.R,t.fe)switch(e){case c.Events.USER_WAIT_STARTED:case c.Events.BUMPER_VIDEO_STARTED:t.fe.Ut();break;case c.Events.USER_WAIT_ENDED:case c.Events.BUMPER_VIDEO_ENDED:t.fe.kt();break;default:t.fe.Ie(e,r)}else t.R}else t.R},this.reportAdSkipped=function(){t.fe?(t.R,t.reportAdPlayerEvent(c.Events.AD_SKIPPED),t.reportAdEnded()):t.R},this.release=function(){t.R,t.fe&&(t.fe.ce()&&(t.fe.le(null),t.fe.ve(!1)),t.fe.Ne(null),t.fe.we(),t.fe=null),void 0!==e.AdProxyMonitor&&t.Ae&&(e.AdProxyMonitor.release(t.Ae),t.Ae=null)},this.setAdListener=function(r,n){r&&(void 0!==n&&void 0!==n.convivaModule?e.AdProxyMonitor=n.convivaModule.AdProxyMonitor:"undefined"!=typeof ConvivaModule&&(e.AdProxyMonitor=ConvivaModule.AdProxyMonitor),void 0!==e.AdProxyMonitor)&&(!r&&t.Ae?(e.AdProxyMonitor.release(t.Ae),t.Ae=null):r&&t.Ae?(e.AdProxyMonitor.release(t.Ae),t.R,t.Ae=e.AdProxyMonitor.initConvivaDropIn(r,n,this,e,t.T)):r&&!t.Ae&&(t.R,t.Ae=e.AdProxyMonitor.initConvivaDropIn(r,n,this,e,t.T)))},this.reportAdBreakStarted=function(e,r,n){t.de&&(t.R,t.Ce=e,t.Re=r,t.de.ye(e,r,n))},this.reportAdBreakEnded=function(){t.de&&(t.R,t.Ce=null,t.Re=null,t.de.me())},this.getSessionId=function(){return t.de?(t.R,t.fe.Qt()):c.NO_SESSION_KEY},this.getClientId=function(){return t.de?(t.R,t.fe.Zt()):null},this.getPlayerMonitor=function(){return t.de},this.getAdPlayerMonitor=function(){return t.fe},this.getVideoAnalytics=function(){return t.Te},this.getAdType=function(){return t.de?t.de.Ce:null},this.De=function(){return t.de?t.de.Re:null},T.prototype=Object.create(_.prototype),T.prototype.constructor=T},k=eu.AdPlayerMonitorImpl=function(){var e=this;e.be=null,e.Pe=null,(function(e,t){N.call(this,e,t)}).apply(this,arguments),this.le=function(t){this.Me()!==t&&(this.Le(),e.Pe=t||null)},this.Me=function(){return e.Pe},this.Ue=function(t){var r,n=this.Me(),i={};i.error=t,e.be&&(e.Ve=e.be.getPlayerStateManager(!0),e.ke(),e.Ve.setClientMeasureInterface(this),r=null,n&&(r=n.Fe()),e.He=e.be.createAdSession(r,e.yt,e.Ve,!0,i),void 0!==t)&&(e.Be(),e.we())},k.prototype=Object.create(N.prototype),k.prototype.constructor=k},C=e.Analytics={init:function(){if(this._e,arguments.length<=0)throw Error("customerKey must be valid");var t=null,r=null,n=null;if("string"==typeof arguments[0]&&!J.Pt(t=arguments[0]))throw Error("customerKey must be valid");arguments.length>=2&&"object"==typeof arguments[1]&&(r=arguments[1]),arguments.length>=3&&"object"==typeof arguments[2]&&(n=arguments[2]);var t=new h(t),i=new E,n=(J.Gt(n)>0&&(n[c.GATEWAY_URL]&&(t.gatewayUrl=n[c.GATEWAY_URL]),n[c.LOG_LEVEL]>=0)&&(i.logLevel=n[c.LOG_LEVEL]),new e.Impl.Html5Logging),a=new e.Impl.Html5Storage,o=new e.Impl.Html5Http,s=new e.Impl.Html5Timer,l=new e.Impl.Html5Time;this.Mi||(this.Mi=new e.Impl.Html5Metadata),r&&(r[c.CallbackFunctions.CONSOLE_LOG]&&(n.consoleLog=r[c.CallbackFunctions.CONSOLE_LOG]),r[c.CallbackFunctions.MAKE_REQUEST]&&(o.makeRequest=r[c.CallbackFunctions.MAKE_REQUEST]),r[c.CallbackFunctions.SAVE_DATA]&&(a.saveData=r[c.CallbackFunctions.SAVE_DATA]),r[c.CallbackFunctions.LOAD_DATA]&&(a.loadD
7ata=r[c.CallbackFunctions.LOAD_DATA]),r[c.CallbackFunctions.GET_EPOCH_TIME_IN_MS]&&(l.getEpochTimeMs=r[c.CallbackFunctions.GET_EPOCH_TIME_IN_MS]),r[c.CallbackFunctions.CREATE_TIMER])&&(s.createTimer=r[c.CallbackFunctions.CREATE_TIMER]),this.Ui=new b(l,s,o,a,this.Mi,n),this.T=new x(this.Ui,i),this.T.lt("Analytics",t),this._e=new d(t,this.T,this.Ge,C.version),this._e._=new P(this._e,this),this._e._&&this._e._.je()},release:function(){var e=0;if(this.Ke){for(e=0;e<this.Ke.length;e++){var t=this.Ke[e];t&&(t.release(),t.R=null,t.pe=null,this.Ke.splice(e,1),e--)}this.Ke=null}if(this.We){for(e=0;e<this.We.length;e++){var r=this.We[e];r&&(r.release(),r.R=null,r.pe=null,this.We.splice(e,1),e--)}this.We=null}this.T&&(this.T.release(),this.T=null),this._e&&(this._e.release(),this._e=null),this._e=null,this.R=null,this.Ui=null,this.Mi=null,this.Ge=null},setUniqueIdentifier:function(e,t){if(!this._e)throw Error(c.i);this._e.setUniqueIdentifier(e,t)},setUserPreferenceForDataCollection:function(e,t){if(!this._e)throw Error(c.i);this._e.setUserPreferenceForDataCollection(e,t)},setUserPreferenceForDataDeletion:function(e){if(!this._e)throw Error(c.i);this._e.setUserPreferenceForDataDeletion(e)},reportAppEvent:function(e,t){if(!this._e)throw Error(c.i);this._e.sendCustomEvent(d.NO_SESSION_KEY,e,t)},reportAppBackgrounded:function(){if(!this._e)throw Error(c.i);this._e.sendCustomEvent(d.NO_SESSION_KEY,"App.Backgrounded",null)},reportAppForegrounded:function(){if(!this._e)throw Error(c.i);this._e.sendCustomEvent(d.NO_SESSION_KEY,"App.Foregrounded",null)},configureExistingClient:function(e){if(!(e instanceof d))throw Error(c.i);this._e=e,this.T=this._e.T},buildVideoAnalytics:function(){var e;if(this._e)return e=new I(this._e,this.T),this.We||(this.We=[]),this.We.push(e),e;throw Error(c.i)},buildAdAnalytics:function(e){if(this._e)return e=new T(this._e,this.T,e||null),this.Ke||(this.Ke=[]),this.Ke.push(e),e;throw Error(c.i)},setDeviceMetadata:function(t){var r,n,i;arguments.length<=0||0===J.Gt(t)||(this.Mi||(this.Mi=new e.Impl.Html5Metadata),t[c.DeviceMetadata.BRAND]&&(this.Mi.getDeviceBrand=function(){return t[c.DeviceMetadata.BRAND]}),t[c.DeviceMetadata.MANUFACTURER]&&(this.Mi.getDeviceManufacturer=function(){return t[c.DeviceMetadata.MANUFACTURER]}),t[c.DeviceMetadata.MODEL]&&(this.Mi.getDeviceModel=function(){return t[c.DeviceMetadata.MODEL]}),t[c.DeviceMetadata.TYPE]&&(this.Mi.getDeviceType=function(){return t[c.DeviceMetadata.TYPE]}),t[c.DeviceMetadata.VERSION]&&(this.Mi.getDeviceVersion=function(){return t[c.DeviceMetadata.VERSION]}),t[c.DeviceMetadata.OS_NAME]&&(this.Mi.getOperatingSystemName=function(){return t[c.DeviceMetadata.OS_NAME]}),t[c.DeviceMetadata.OS_VERSION]&&(this.Mi.getOperatingSystemVersion=function(){return t[c.DeviceMetadata.OS_VERSION]}),t[c.DeviceMetadata.CATEGORY]&&(this.Mi.getDeviceCategory=function(){return t[c.DeviceMetadata.CATEGORY]}),r=t[c.DeviceMetadata.SCREEN_RESOLUTION_WIDTH],J.It(r)&&(this.Mi.getScreenWidth=function(){return r.toString()}),n=t[c.DeviceMetadata.SCREEN_RESOLUTION_HEIGHT],J.It(n)&&(this.Mi.getScreenHeight=function(){return n.toString()}),i=t[c.DeviceMetadata.SCREEN_RESOLUTION_SCALE_FACTOR],J.It(i)&&(this.Mi.getScaleFactor=function(){return i.toString()}))},reportDeviceMetric:function(e,t){switch(this.Ge||(this.Ge={}),e){case c.Network.CONNECTION_TYPE:J.Pt(t)&&(this.Ge[e]=t,this._e)&&this._e.$(this.Ge[c.Network.CONNECTION_TYPE]);break;case c.Network.LINK_ENCRYPTION:J.Pt(t)&&(this.Ge[e]=t,this._e)&&this._e.it(this.Ge[c.Network.LINK_ENCRYPTION]);break;case c.Network.SIGNAL_STRENGTH:var r=parseInt(t,10);J.It(r)&&f.DEFAULT_SIGNAL_STRENGTH!==r&&(this.Ge[e]=r,this._e)&&this._e.ot(r)}},version:"4.8.0"},_=eu.AnalyticsImpl=function(){var e=this;function t(){var t=!!e.fe,r=e.getAdType(),n=e.De();return r===c.AdType.SERVER_SIDE&&n===c.AdPlayer.CONTENT?_.Ye.xe:r!==c.AdType.SERVER_SIDE||n!==c.AdPlayer.SEPARATE?r===c.AdType.CLIENT_SIDE&&n===c.AdPlayer.CONTENT||(r===c.AdType.CLIENT_SIDE&&c.AdPlayer.SEPARATE,t)?_.Ye.qe:_.Ye.Xe:void 0}function r(t,r,n){t=parseInt(t,10),r=parseInt(r,10),isNaN(t)&&isNaN(r)||(isNaN(t),isNaN(r),e.fe&&(n===_.Ye.qe||n===_.Ye.xe)&&e.fe.Je(t,r),!e.de)||n!==_.Ye.Xe&&n!==_.Ye.xe||e.de.Je(t,r)}function n(t,r){f.Ei(t)&&(e.fe&&(r===_.Ye.qe||r===_.Ye.xe)&&e.fe.Qe(t),e.de&&r===_.Ye.Xe||r===_.Ye.xe)&&e.de.Qe(t)}function i(t,r){isNaN(t=parseInt(t,10))||(e.fe&&(r===_.Ye.qe||r===_.Ye.xe)&&e.fe.Ze(t),!e.de)||r!==_.Ye.Xe&&r!==_.Ye.xe||e.de.Ze(t)}function a(t,r){isNaN(t=parseInt(t,10))||(e.fe&&(r===_.Ye.qe||r===_.Ye.xe)&&e.fe.ze
7(t),!e.de)||r!==_.Ye.Xe&&r!==_.Ye.xe||e.de.ze(t)}function o(t,r){t=parseInt(t,10),e.fe&&(r===_.Ye.qe||r===_.Ye.xe)&&e.fe.$e(!0,t),e.de&&(r===_.Ye.Xe||r===_.Ye.xe)&&e.de.$e(!0,t)}function s(t){e.fe&&(t===_.Ye.qe||t===_.Ye.xe)&&e.fe.$e(!1,-1),e.de&&(t===_.Ye.Xe||t===_.Ye.xe)&&e.de.$e(!1,-1)}function l(t,r){isNaN(t=parseInt(t,10))||(e.fe&&(r===_.Ye.qe||r===_.Ye.xe)&&e.fe.ts(t),!e.de)||r!==_.Ye.Xe&&r!==_.Ye.xe||e.de.ts(t)}function u(t,r){isNaN(t=parseInt(t,10))||(e.fe&&(r===_.Ye.qe||r===_.Ye.xe)&&e.fe.ns(t),!e.de)||r!==_.Ye.Xe&&r!==_.Ye.xe||e.de.ns(t)}function d(t,r){isNaN(t=parseInt(t,10))||(e.fe&&(r===_.Ye.qe||r===_.Ye.xe)&&e.fe.es(t),!e.de)||r!==_.Ye.Xe&&r!==_.Ye.xe||e.de.es(t)}function h(t,r){var n;J.Pt(t)&&(n=e.de.ai(),J.Pt(n)&&"off"!==n&&"off"!==t&&p("off",r),e.fe&&(r===_.Ye.qe||r===_.Ye.xe)&&e.fe.ss(t),e.de&&(r===_.Ye.Xe||r===_.Ye.xe)&&e.de.ss(t))}function p(t,r){var n;J.Pt(t)&&(n=e.de.ui(),J.Pt(n)&&"off"!==n&&"off"!==t&&h("off",r),e.fe&&(r===_.Ye.qe||r===_.Ye.xe)&&e.fe.os(t),e.de&&(r===_.Ye.Xe||r===_.Ye.xe)&&e.de.os(t))}(function(){}).apply(this,arguments),this.ge=function(f,m,g,v){switch(f){case c.Playback.BITRATE:v===_.Ye.qe?l(m,_.Ye.qe):l(m,t());break;case c.Playback.AVG_BITRATE:v===_.Ye.qe?u(m,_.Ye.qe):u(m,t());break;case c.Playback.PLAY_HEAD_TIME:v===_.Ye.qe?i(m,_.Ye.qe):i(m,t());break;case c.Playback.RESOLUTION:v===_.Ye.qe?r(m,g,_.Ye.qe):r(m,g,t());break;case c.Playback.BUFFER_LENGTH:v===_.Ye.qe?a(m,_.Ye.qe):a(m,t());break;case c.Playback.PLAYER_STATE:v===_.Ye.qe?n(m,_.Ye.qe):n(m,t());break;case c.Playback.RENDERED_FRAMERATE:v===_.Ye.qe?d(m,_.Ye.qe):d(m,t());break;case c.Playback.SEEK_STARTED:arguments.length>=2&&"CONVIVA"!==m?o(m,t()):g===_.Ye.qe?o(-1,_.Ye.qe):o(-1,t());break;case c.Playback.SEEK_ENDED:g===_.Ye.qe?s(_.Ye.qe):s(t());break;case c.Playback.CDN_IP:b=m,S=t(),J.Pt(b)&&(e.fe&&(S===_.Ye.qe||S===_.Ye.xe)&&e.fe.rs(b),e.de&&(S===_.Ye.Xe||S===_.Ye.xe)&&e.de.rs(b));break;case c.Playback.DROPPED_FRAMES_TOTAL:S=m,b=t(),isNaN(S=parseInt(S,10))||(e.fe&&(b===_.Ye.qe||b===_.Ye.xe)&&e.fe.us(S),!e.de)||b!==_.Ye.Xe&&b!==_.Ye.xe||e.de.us(S);break;case c.Playback.DROPPED_FRAMES_COUNT:var y,b,S,w=m,x=t();isNaN(w=parseInt(w,10))||(e.fe&&(x===_.Ye.qe||x===_.Ye.xe)&&e.fe.hs(w),!e.de)||x!==_.Ye.Xe&&x!==_.Ye.xe||e.de.hs(w);break;case c.Playback.AUDIO_LANGUAGE:x=m,w=t(),J.Pt(x)&&(e.fe&&(w===_.Ye.qe||w===_.Ye.xe)&&e.fe.fs(x),e.de&&(w===_.Ye.Xe||w===_.Ye.xe)&&e.de.fs(x));break;case c.Playback.SUBTITLES_LANGUAGE:h(m,t());break;case c.Playback.CLOSED_CAPTIONS_LANGUAGE:p(m,t());break;default:y=t(),J.Pt(f)&&m&&(e.fe&&(y===_.Ye.qe||y===_.Ye.xe)&&e.fe.zt(f,m),e.de&&(y===_.Ye.Xe||y===_.Ye.xe)&&e.de.zt(f,m))}}},eu.AnalyticsImpl.Ye={qe:1,Xe:2,xe:3},P=eu.AppAnalyticsHandler=function(){var e=this;e._e=null,e.cs=null,e.ls=null,e.ds=null,e.Ct=null,(function(t,r){e._e=t,e.cs=r,"undefined"!=typeof document&&document&&"function"==typeof document.createEvent&&(e.ls=document.createEvent("HTMLEvents"),e.ls.initEvent(c.APP_TRACKER_EVENT.TYPE,!0,!0))}).apply(this,arguments),this.je=function(){e.vs(c.APP_TRACKER_EVENT.INIT)},this.Es=function(){e.vs(c.APP_TRACKER_EVENT.VIDEO_ATTEMPT)},this._s=function(){e.vs(c.APP_TRACKER_EVENT.VIDEO_END),e.Ct=null},this.ps=function(t){e.vs(c.APP_TRACKER_EVENT.VIDEO_PLAY,t)},this.Rs=function(t){e.vs(c.APP_TRACKER_EVENT.VIDEO_PAUSE,t)},this.As=function(t){e.vs(c.APP_TRACKER_EVENT.VIDEO_ERROR,t)},this.Ts=function(t){e.vs(c.APP_TRACKER_EVENT.VIDEO_BUFFERING,t)},this.Ss=function(t){e.vs(c.APP_TRACKER_EVENT.VIDEO_BITRATE_SWITCH,t)},this.Os=function(t){e.vs(c.APP_TRACKER_EVENT.VIDEO_METADATA_CHANGE,t)},this.gs=function(t){t={cen:t.name,ced:t.data},e.vs(c.APP_TRACKER_EVENT.VIDEO_CUSTOM_EVENT,t)},this.Ns=function(t){t={cen:t.name,ced:t.data},e.vs(c.APP_TRACKER_EVENT.SDK_CUSTOM_EVENT,t)},this.Is=function(t){e.vs(c.APP_TRACKER_EVENT.AD_BREAK_START,{cen:"PodStart",ced:t})},this.ws=function(t){e.vs(c.APP_TRACKER_EVENT.AD_BREAK_END,{cen:"PodEnd",ced:t})},this.vs=function(t,r){try{if(e.ls){if(e.Cs(),e.ls.name=e.ds.name=t,e.ls.iid=e.ds.iid=e._e.getConfig().getIid(),e.ls.clid=e.ds.clid=e._e.getConfig().getClientId(),e.Ct){var n,i=e.Ct;if(i.ys()?(n=r?r[U.Ds]:void 0,e.ls.sid=e.ds.sid=i.bs.Qt(),e.ls.sst=e.ds.sst=i.Ps,e.ls.url=e.ds.url=n&&n.url?n.url:i.gn,e.ls.st=e.ds.st=i.Ms(),e.ls.an=e.ds.an=n&&n.an?n.an:i.Rn,e.ls.pn=e.ds.pn=n&&n.pn?n.pn:i.Ls,e.ls.tags=e.ds.tags=JSON.stringify(i.yt.An),e.ls.vid=e.ds.vid=n&&n.vid?n.vid:i.Sn,i.Us>=0&&(e.ls.cl=e.ds.cl=n&&n.cl?n.cl:i.Us),e.ls.lv=e.ds.lv=n&&n.lv?n.lv:i.Vs,e.ls.fw=e.ds.fw=i.ks(),e.ls.fwv=e.ds.fwv=i.Fs(),i.Ve&&(e.ls.mn=e.ds.mn=i.Ve.$n(),e.ls.mv=e.ds.mv=i.Ve.ti()),(i.Dn>=0||n&&n.br>=0)&&t===c.APP_TRACKER_EVENT.VIDEO_BITRATE_SWITCH&&(e.ls.br=e.ds.br=n&&n.br?n.br:i.Dn),(i.bn>=0||n&&n.avgbr>=0)&&t===c.APP_TRACKER_EVENT.VIDEO_BITRATE_SWITCH&&(e.ls.avgbr=e.ds.avgbr=n&&n.avgbr?n.avgbr:i.bn)):i.Hs()&&(e.ls.sid=e.ds.sid=i.bs.Qt(),e.ls.sst=e.ds.sst=i.Ps,e.ls.st=e.ds.st=i.Ms(),e.ls.mn=e.ds.mn=i.kn,e.ls.mv=e.ds.mv=i.Fn),r&&(t===c.APP_TRACKER_EVENT.VIDEO_BITRATE_SWITCH||t===c.APP_TRACKER_EVENT.VIDEO_ERROR||t===c.APP_TRACKER_EVENT.VIDEO_METADATA_CHANGE||t===c.APP_TRACKER_EVENT.VIDEO_CUSTOM_EVENT||t===c.APP_TRACKER_EVENT.SDK_CUSTOM_EVENT||t===c.APP_TRACKER_EVENT.AD_BREAK_START||t===c.APP_TRACKER_EVENT.AD_BREAK_END))for(var a=Object.keys(r),o=0;o<a.length;o++)"object"==typeof r[a[o]]?e.ls[a[o]]=e.ds[a[o]]=JSON.stringify(r[a[o]]):e.ls[a[o]]=e.ds[a[o]]=r[a[o]]}"undefined"!=typeof document&&document&&"function"==typeof document.dispatchEvent&&document.dispatchEvent(e.ls)}}catch(e){}},this.Cs=function(){if(null!==e.ds)for(var t=Object.keys(e.ds),r=0;r<t.length;r++)delete e.ls[t[r]];e.ds={}},this.Bs=function(t,r,n){try{(e.Ct=n).ys()?t===U.Gs?r[U.Ds][U.js]?r[U.Ds][U.js]===U.Ks?e.ps(r):r[U.Ds][U.js]===U.Ws?e.Ts(r):r[U.Ds][U.js]===U.xs&&e.Rs(r):r[U.Ds][U.Ys]||r[U.Ds][U.qs]?e.Ss(r):e.Os(r):t===U.Xs?e.As({err:r[U.Js],ft:r[U.Qs]}):t===U.Zs?e._s():t===c.APP_TRACKER_EVENT.VIDEO_ATTEMPT?e.Es():t===U.zs&&(r[U.$s]===c.Events.POD_START?e.Is(r[U.no]):r[U.$s]===c.Events.POD_END?e.ws(r[U.no]):e.gs({name:r[U.$s],data:r[U.no]})):n.Hs()&&t===U.zs&&e.Ns({name:r[U.$s],data:r[U.no]})}catch(e){}}},A=eu.PlayerMonitor=function(){var e=this;this.io=null,this.eo=null,this.yt=null,this.so=null,this.Pn=f.PlayerState.UNKNOWN,this.oo=-1,this.ro=-1,this.jn=[],this.uo=null,this.ho=null,this.ao=-2,this.fo=-2,this.Ln=-1,this.V=f.DEFAULT_SIGNAL_STRENGTH,this.co=null,this.Ii=null,this.U=null,this.L=null,this.pe=null,this.lo=null,this.do=null,this.vo=null,this.Eo=null,this.Ce=null,this.Re=null,this.Kn=null,this.Wn=null,this.xn=null,(function(t){e.pe=t}).apply(this,arguments),this._o=function(){return e.Pn},this.Qe=function(t){e.Pn!==t&&(e.Le(),e.Pn=t,e.po())},this.Ro=function(){return e.Ao},this.To=function(){return e.So},this.$e=function(t,r){e.Le(),e.Ao=t,e.So=r,e.Oo()},this.No=function(){return e.oo},this.Ze=function(t){e.oo=t},this.Io=function(){return e.ro},this.ze=function(t){e.ro=t},this.Ee=function(){return e.ao},this.ts=function(t){e.ao!==t&&(e.ao=t,e.po())},this.wo=function(){return e.fo},this.ns=function(t){e.fo!==t&&(e.fo=t,e.po())},this.Co=function(){return e.Ln},this.es=function(t){e.Ln=t},this.yo=function(){return e.co},this.rs=function(t){e.co=t,e.po()},this.Ni=function(){return e.Ii},this.us=function(t){e.Ii=t,e.po()},this.hs=function(t){e.mo(t)},this.Do=function(){return e.V},this.oi=function(){return e.Kn},this.ui=function(){return e.Wn},this.ai=function(){return e.xn},this.fs=function(t){e.Kn!==t&&(e.Kn=t,e.po())},this.ss=function(t){e.Wn!==t&&(e.Wn=t,e.po())},this.os=function(t){e.xn!==t&&(e.xn=t,e.po())},this.bo=function(){return e.Po},this.Mo=function(){return e.Lo},this.Je=function(t,r){r<0&&(r=0),e.Po===(t=t<0?0:t)&&e.Lo===r||(e.Po=t,e.Lo=r,e.po())},this.Uo=function(){return e.eo},this.Vo=function(){e.Uo()&&(e.yt=new p,e.so={},e.do={},e.ko())},this.Fo=function(t){(e.eo||t)&&(this.Le(),e.eo&&(e.eo=null,e.Vo()),t)&&(e.eo=J.Ho(e.eo,t),e.Vo())},this.Oe=function(t){if(t){if(e.yt){var r,n=!1;for(r in t)if(e.yt[r]!==t[r]){n=!0;break}n&&(e.Le(),e.eo=J.Ho(t),e.ko())}else e.Fo(t)}},this.Ne=function(t){t?e.vo!==t&&(e.vo=t,e.Bo()):(e.vo=null,e.Be())},this.Le=function(){e.Go||e.vo&&(e.Go=!0,e.vo(),e.Go=!1)},this.ce=function(){return e.io},this.ve=function(t,r){e.io!==t&&(e.Le(),e.io&&(e.jo(),e.Be(),e.we()),e.io=t,e.io)&&e.Ue(r)},this.Ko=function(){return e.uo}
7,this.Wo=function(){return e.ho||null},this.xo=function(){return e.jn},this.Yo=function(){e.jn=[]},this.vi=function(t){this.Le(),e.jn.push(t),e.Oi()},this.Ie=function(t,r){e.Le(),e.uo=t,e.ho=r,e.qo()},this.Xo=function(){e.Le()},this.Bo=function(){e.Be(),e.lo=e.pe.create(e.Xo,1e3,"PlayerMonitor.update")},this.Be=function(){e.lo&&(e.lo(),e.lo=null)},this.ye=function(t,r,n){e.Eo=n,e.Ce=t,e.Jo(),e.Re=r,e.Ce&&c.AdType.CLIENT_SIDE===e.Ce&&(e.Pn=c.PlayerState.UNKNOWN,e.Qo(e.Ce,r,n?n[c.POD_POSITION]:null))},this.me=function(){e.Ce&&c.AdType.CLIENT_SIDE===e.Ce&&(e.Zo(),e.Pn=c.PlayerState.UNKNOWN),e.zo(),e.Ce=null,e.Re=null},this.$o=function(){return e.Eo},this.tr=function(){return e.Ce},this.getContentMetadata=function(){return this.yt},this.we=function(){this.io=null,this.eo=null,this.yt=null,this.so=null,this.Pn=f.PlayerState.UNKNOWN,this.oo=-1,this.ro=-1,this.jn=[],this.uo=null,this.ho=null,this.ao=-2,this.fo=-2,this.Ln=-1,this.V=f.DEFAULT_SIGNAL_STRENGTH,this.co=null,this.Ii=null,this.U=null,this.L=null,this.pe=null,this.lo=null,this.do=null,this.vo=null,this.Eo=null,this.Ce=null,this.Re=null,this.Kn=null,this.Wn=null,this.xn=null,e.Ve=null,e.He=d.NO_SESSION_KEY}},N=eu.PlayerMonitorImpl=function(){var e=this;e.be=null,e.Ve=null,e.He=d.NO_SESSION_KEY,(function(t,r){A.call(this,r),e.be=t}).apply(this,arguments),this.getPHT=function(){return e.No()},this.getBufferLength=function(){return e.Io()},this.getRenderedFrameRate=function(){return e.Co()}
7,this.getSignalStrength=function(){return e.Do()},this.Oo=function(){e.Ve&&e._ContentSessionKey!==d.NO_SESSION_KEY&&(e.Ro()?e.Ve.setPlayerSeekStart(e.To()):e.Ve.setPlayerSeekEnd())},this.po=function(){e.Ve&&(e.Ve.setPlayerState(e._o()),e.Ee()>0&&e.Ve.setBitrateKbps(e.Ee()),e.wo()>0&&e.Ve.setAvgBitrateKbps(e.wo()),e.bo()>0&&e.Ve.setVideoResolutionWidth(e.bo()),e.Mo()>0&&e.Ve.setVideoResolutionHeight(e.Mo()),e.yo()&&e.Ve.setCDNServerIP(e.yo()),J.It(e.Ni())&&e.Ve.setDroppedFramesTotal(e.Ni()),J.Pt(e.oi())&&e.Ve.setAudioLang(e.oi()),J.Pt(e.ui())&&e.Ve.setSubtitleLang(e.ui()),J.Pt(e.ai()))&&e.Ve.setCcLang(e.ai())},this.Lt=function(){e.He!==d.NO_SESSION_KEY&&e.be&&e.be.updateContentMetadata(e.He,e.yt)},this.ke=function(){if(e.Ve){e.do&&J.Gt(e.do)>0&&(e.do[c.MODULE_NAME]&&e.do[c.MODULE_VERSION]&&(t=e.do[c.MODULE_NAME],r=e.do[c.MODULE_VERSION],J.Pt(t))&&J.Pt(r)&&e.Ve.setModuleNameAndVersion(t,r),e.do[c.FRAMEWORK_NAME]&&(t=e.do[c.FRAMEWORK_NAME],J.Pt(t))&&e.Ve.setPlayerType(t),e.do[c.FRAMEWORK_VERSION])&&(r=e.do[c.FRAMEWORK_VERSION],J.Pt(r))&&e.Ve.setPlayerVersion(r);var t,r,n=e.xo();e.Yo();for(var i=0;i<n.length;i++){var a=n[i];e.Ve.vi(a)}}},this.Zo=function(){e.Ve&&e.He!==d.NO_SESSION_KEY&&(e.po(),this.nr())},this.kt=function(){e.Ve&&e.He!==d.NO_SESSION_KEY&&(e.po(),e.be.Ft(e.He))},this.nr=function(){e.be&&e.He!==c.NO_SESSION_KEY&&e.be.adEnd(e.He)},this.Qo=function(t,r,n){var i;e.Ve&&e.He!==c.NO_SESSION_KEY&&(i=null,c.AdType.CLIENT_SIDE===t?i=d.AdStream.SEPARATE:c.AdType.SERVER_SIDE===t&&(i=d.AdStream.CONTENT),e.ir(i,r,n))},this.Ut=function(){e.Ve&&e.He!==c.NO_SESSION_KEY&&e.be.Vt(e.He)},this.ir=function(t,r,n){e.be&&e.He!==c.NO_SESSION_KEY&&e.be.adStart(e.He,t,r,n)},this.Ue=function(){if(e.be){e.Ve=e.be.getPlayerStateManager(!0),e.ke(),e.Ve.setClientMeasureInterface(this);try{var t;e.yt&&e.yt.custom&&!e.yt.custom[c.UTM_TRACKING_URL]&&(Array.prototype.filter||(Array.prototype.filter=function(e){if(void 0===this||null===this)throw TypeError();var t=Object(this),r=t.length>>>0;if("function"!=typeof e)throw TypeError();for(var n,i=[],a=arguments.length>=2?arguments[1]:void 0,o=0;o<r;o++)o in t&&(n=t[o],e.call(a,n,o,t))&&i.push(n);return i}),""!==(t=J.er().split("?").join("").split("&").filter(function(e){return 2===e.split("=").length&&e.split("=")[0].toLowerCase().indexOf("utm_")>=0}).join("&")))&&(e.yt.custom[c.UTM_TRACKING_URL]=t)}catch(t){e.R.error("PlayerMonitorImpl _createSession : "+t)}e.He=e.be.createSession(e.yt,e.Ve,!0)}},this.jo=function(){e.be&&(e.Ve&&(e.Ve.setPlayerState(c.PlayerState.STOPPED),e.Ve=null),e.He!==c.NO_SESSION_KEY)&&(e.be.cleanupSession(e.He),e.He=c.NO_SESSION_KEY)},this.Oi=function(){if(e.be&&e.He!==d.NO_SESSION_KEY){var t=e.xo();e.Yo();for(var r=0;r<t.length;r++){var n=t[r];e.be.reportError(e.He,n.sr(),n.rr())}}},this.qo=function(){e.He!==d.NO_SESSION_KEY&&e.be&&e.be.sendCustomEvent(e.He,e.Ko(),e.Wo())},this.ko=function(){var t,r=e.Uo(),n=!1,i=!1;for(t in r){var a=r[t];if(J.Pt(t)&&null!=a)switch(t){case c.STREAM_URL:i=!0,e.yt.streamUrl=a;break;case c.ASSET_NAME:i=!0,e.yt.assetName=a;break;case c.DEFAULT_RESOURCE:i=!0,e.yt.defaultResource=a;break;case c.VIEWER_ID:i=!0,e.yt.viewerId=a;break;case c.PLAYER_NAME:i=!0,e.yt.applicationName=a;break;case c.DURATION:i=!0,e.yt.duration=a;break;case c.IS_LIVE:i=!0,e.yt.streamType=a;break;case c.ENCODED_FRAMERATE:i=!0,e.yt.encodedFrameRate=a;break;case c.MODULE_NAME:case c.MODULE_VERSION:case c.FRAMEWORK_NAME:case c.FRAMEWORK_VERSION:n=!0,e.do[t]=a;break;default:c.APPLICATION_VERSION,i=!0,e.yt.custom[t]=a}}n&&this.ke(),i&&this.Lt()},this.Jo=function(){this.ur(c.Events.POD_START)},this.zo=function(){this.ur(c.Events.POD_END)},this.ur=function(t){var r,n,i;e.be&&e.He!==c.NO_SESSION_KEY&&(r={},(i=this.$o())&&((n=i[c.POD_POSITION])&&(r[c.POD_POSITION]=n),(n=i[c.POD_INDEX])&&(r[c.POD_INDEX]=n+""),t===c.Events.POD_START)&&(n=i[c.POD_DURATION])&&(r[c.POD_DURATION]=n+""),(i=this.tr())&&(r[c.AD_TYPE]=i),e.be.sendCustomEvent(e.He,t,r))},this.mo=function(t){e.Ve.setDroppedFramesCount(t)},this.hr=function(e){this.He===c.NO_SESSION_KEY&&e!==c.NO_SESSION_KEY&&(this.He=e)},this.Fe=function(){return this.He},this.Qt=function(){return e.be.getSessionId(this.He)},this.Zt=function(){return e.be.getClientId(this.He)},this.zt=function(t,r){e.be.zt(this.He,t,r)},N.prototype=Object.create(A.prototype),N.prototype.constructor=N},e.Impl=e.Impl||{},e.Impl.Html5Http=function(){(function(){}).apply(this,arguments),this.makeRequest=function(){return this.makeRequestStandard.apply(this,arguments)},this.makeRequestStandard=function(e,t,r,n,i,a){var o=new XMLHttpRequest;return o.open(e,t,!0),n&&o.overrideMimeType&&(o.overrideMimeType=n),n&&o.setRequestHeader&&o.setRequestHeader("Content-Type",n),i>0&&(o.timeout=i,o.ontimeout=function(){o.ontimeout=o.onreadystatechange=null,a&&a(!1,"timeout after "+i+" ms")}),o.onreadystatechange=function(){4===o.readyState&&(o.ontimeout=o.onreadystatechange=null,200===o.status?a&&a(!0,o.responseText):a&&a(!1,"http status "+o.status))},o.send(r),null},this.release=function(){}},e.Impl=e.Impl||{},e.Impl.Html5Logging=function(){(function(){}).apply(this,arguments),this.consoleLog=function(e,t){"undefined"!=typeof console&&(console.log&&t===E.LogLevel.DEBUG||t===E.LogLevel.INFO?console.log(e):console.warn&&t===E.LogLevel.WARNING?console.warn(e):console.error&&t===E.LogLevel.ERROR&&console.error(e))},this.release=function(){}},e.Impl=e.Impl||{},e.Impl.Html5Metadata=function(){(function(){}).apply(this,arguments),this.getBrowserName=function(){return null},this.getBrowserVersion=function(){return null},this.getDeviceBrand=function(){return null},this.getDeviceManufacturer=function(){return null},this.getDeviceModel=function(){return null},this.getDeviceType=function(){return null},this.getDeviceVersion=function(){return null},this.getFrameworkName=function(){return null},this.getFrameworkVersion=function(){return null},this.getOperatingSystemName=function(){return null},this.getOperatingSystemVersion=function(){return null},this.getDeviceCategory=function(){return null}
7,this.getScreenWidth=function(){return"undefined"!=typeof window&&window&&window.screen&&window.screen.width?window.screen.width.toString():null},this.getScreenHeight=function(){return"undefined"!=typeof window&&window&&window.screen&&window.screen.height?window.screen.height.toString():null},this.getScaleFactor=function(){return"undefined"!=typeof window&&window&&window.devicePixelRatio?window.devicePixelRatio.toString():null},this.release=function(){}},e.Impl=e.Impl||{},e.Impl.Html5Storage=function(){(function(){}).apply(this,arguments),this.saveData=function(e,t,r,n){e=e+"."+t;try{localStorage.setItem(e,r),n(!0,null)}catch(e){n(!1,e.toString())}},this.loadData=function(e,t,r){e=e+"."+t;try{r(!0,localStorage.getItem(e))}catch(e){r(!1,e.toString())}},this.release=function(){}},e.Impl=e.Impl||{},e.Impl.Html5Time=function(){(function(){}).apply(this,arguments),this.getEpochTimeMs=function(){return(new Date).getTime()},this.release=function(){}},e.Impl=e.Impl||{},e.Impl.Html5Timer=function(){(function(){}).apply(this,arguments),this.createTimer=function(e,t){var r=setInterval(e,t);return function(){-1!==r&&(clearInterval(r),r=-1)}},this.release=function(){}},I=eu.VideoAnalytics=function(){var t=this;t._e=null,t.T=null,t.pe=null,t.de=null,t.Ae=null,this.release=function(){t.R,t.de&&t.de.ce()&&t.de.ve(!1),void 0!==e.ProxyMonitor&&t.Ae&&(e.ProxyMonitor.release(t.Ae),t.Ae=null),t.de&&(t.de.Ne(null),t.de.we(),t.de=null),t.pe=null},(function(e,r){t._e=e,t.T=r,t.pe=r.buildTimer(c.version),t.de=new N(t._e,t.pe),_.call(this)}).apply(this,arguments),this.reportPlaybackRequested=function(e){t.R,t.de&&(J.Gt(e)>0&&t.setContentInfo(e),t.de.ce()||t.de.ve(!0))},this.reportPlaybackEnded=function(){t.R,t.de&&t.de.ce()&&(t.de.ve(!1),void 0!==e.ProxyMonitor&&t.Ae&&(e.ProxyMonitor.release(t.Ae),t.Ae=null),t.de.Ne(null))},this.reportPlaybackFailed=function(e,r){t.de&&(J.Gt(r)>0&&t.setContentInfo(r),t.de.ce()||t.de.ve(!0),t.R,t.reportPlaybackError(e,d.ErrorSeverity.FATAL),t.reportPlaybackEnded())},this.setContentInfo=function(e){0>=J.Gt(e)||t.de&&(t.R,t.de.Oe(e))},this.setPlayerInfo=function(e){0>=J.Gt(e)||t.de&&(t.R,t.de.Oe(e))},this.reportPlaybackMetric=function(){0!=arguments.length&&(1==arguments.length?t.ge(arguments[0]):2==arguments.length?t.ge(arguments[0],arguments[1]):3==arguments.length?t.ge(arguments[0],arguments[1],arguments[2]):4==arguments.length&&t.ge(arguments[0],arguments[1],arguments[2],arguments[3]))},this.reportPlaybackError=function(e,r){t.de&&J.Pt(e)&&(t.R,e=new en(e,r),t.de.vi(e))},this.reportPlaybackEvent=function(e,r){if(J.Pt(e)&&t.de&&(t.R,t.de))switch(e){case c.Events.USER_WAIT_STARTED:case c.Events.BUMPER_VIDEO_STARTED:t.de.Ut();break;case c.Events.USER_WAIT_ENDED:case c.Events.BUMPER_VIDEO_ENDED:t.de.kt();break;default:t.de.Ie(e,r)}},this.setCallback=function(e){t.R,t.de&&t.de.Ne(e)},this.reportAdBreakStarted=function(e,r,n){t.de&&(t.R,t.de.ye(e,r,n))},this.reportAdBreakEnded=function(){t.de&&(t.R,t.de.me())},this.setPlayer=function(r,n){var i,a;void 0!==r&&(n&&(i=n[c.CONVIVA_MODULE],a=n[c.MEDIA_ELEMENT]),void 0!==i?e.ProxyMonitor=i.ProxyMonitor:"undefined"!=typeof ConvivaModule&&(e.ProxyMonitor=ConvivaModule.ProxyMonitor),void 0!==e.ProxyMonitor)&&(t.R,!r&&t.Ae?(e.ProxyMonitor.release(t.Ae),t.Ae=null):r?(t.Ae&&e.ProxyMonitor.release(t.Ae),t.R,t.Ae=void 0!==a?e.ProxyMonitor.initConvivaDropIn(r,a,t.T,this,e):e.ProxyMonitor.initConvivaDropIn(r,t.T,this,e)):void 0!==a&&(t.Ae=e.ProxyMonitor.initConvivaDropIn(r,a,t.T,this,e)))},this.setAdAnalytics=function(e){e?t.getAdType()&&(t.getAdType()===c.AdType.SERVER_SIDE?t.fe=e.getAdPlayerMonitor():t.getAdType()===c.AdType.CLIENT_SIDE&&t.R):t.fe=null},this.configureExistingSession=function(e){e!==c.NO_SESSION_KEY&&t.de&&(t.R,t.de.hr(e))}
7,this.getSessionId=function(){return t.de?(t.R,t.de.Qt()):c.NO_SESSION_KEY},this.getClientId=function(){return t.de?(t.R,t.de.Zt()):null},this.Se=function(){return t.R,this.de},this.getAdType=function(){return t.de?t.de.Ce:null},this.De=function(){return t.de?t.de.Re:null},I.prototype=Object.create(_.prototype),I.prototype.constructor=I},eu.JsonParse=(i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"	"},a=function(e){throw{name:"SyntaxError",message:e,at:t,text:n}},o=function(e){return e&&e!==r&&a("Expected '"+e+"' instead of '"+r+"'"),r=n.charAt(t),t+=1,r},s=function(){var e,t,n,s="";if('"'===r)for(;o();){if('"'===r)return o(),s;if("\\"===r){if(o(),"u"===r){for(t=n=0;t<4&&isFinite(e=parseInt(o(),16));t+=1)n=16*n+e;s+=String.fromCharCode(n)}else{if("string"!=typeof i[r])break;s+=i[r]}}else s+=r}a("Bad string")},l=function(){for(;r&&r<=" ";)o()},u=function(){switch(l(),r){case"{":var e,t={};if("{"===r){if(o("{"),l(),"}"===r)return o("}"),t;for(;r;){if(e=s(),l(),o(":"),Object.hasOwnProperty.call(t,e)&&a('Duplicate key "'+e+'"'),t[e]=u(),l(),"}"===r)return o("}"),t;o(","),l()}}return void a("Bad object");case"[":var n=[];if("["===r){if(o("["),l(),"]"===r)return o("]"),n;for(;r;){if(n.push(u()),l(),"]"===r)return o("]"),n;o(","),l()}}return void a("Bad array");case'"':return s();case"-":return ec();default:return(r>="0"&&r<="9"?ec:function(){switch(r){case"t":return o("t"),o("r"),o("u"),o("e"),!0;case"f":return o("f"),o("a"),o("l"),o("s"),o("e"),!1;case"n":return o("n"),o("u"),o("l"),o("l"),null}a("Unexpected '"+r+"'")})()}},function(e,i){return n=e,t=0,r=" ",e=u(),l(),r&&a("Syntax error"),"function"==typeof i?function e(t,r){var n,a,o=t[r];if(o&&"object"==typeof o)for(n in o)Object.hasOwnProperty.call(o,n)&&(void 0!==(a=e(o,n))?o[n]=a:delete o[n]);return i.call(t,r,o)}({"":e},""):e}),Z=eu.JSON2={},"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+ed(this.getUTCMonth()+1)+"-"+ed(this.getUTCDate())+"T"+ed(this.getUTCHours())+":"+ed(this.getUTCMinutes())+":"+ed(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),"function"!=typeof Z.stringify&&(R=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,D={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},Z.stringify=function(e,t,r){var n;if(L=O="","number"==typeof r)for(n=0;n<r;n+=1)L+=" ";else"string"==typeof r&&(L=r);if(!(M=t)||"function"==typeof t||"object"==typeof t&&"number"==typeof t.length)return function e(t,r){var n,i,a,o,s,l=O,u=r[t];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(t)),typeof(u="function"==typeof M?M.call(r,t,u):u)){case"string":return eh(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(O+=L,s=[],Object.prototype.toString.apply(u)===Object.prototype.toString.apply([])){for(o=u.length,n=0;n<o;n+=1)s[n]=e(n,u)||"null";a=0===s.length?"[]":O?"[\n"+O+s.join(",\n"+O)+"\n"+l+"]":"["+s.join(",")+"]"}else{if(M&&"object"==typeof M)for(o=M.length,n=0;n<o;n+=1)"string"==typeof M[n]&&(a=e(i=M[n],u))&&s.push(eh(i)+(O?": ":":")+a);else for(i in u)Object.prototype.hasOwnProperty.call(u,i)&&(a=e(i,u))&&s.push(eh(i)+(O?": ":":")+a);a=0===s.length?"{}":O?"{\n"+O+s.join(",\n"+O)+"\n"+l+"}":"{"+s.join(",")+"}"}return O=l,a}}("",{"":e});throw Error("JSON2.stringify")}),B=eu.ar={cr:"0123456789abcdef",lr:function(e){for(var t="",r=7;r>=0;r--)t+=B.cr.charAt(e>>4*r&15);return t},dr:function(e){for(var t=1+(e.length+8>>6),r=Array(16*t),n=0;n<16*t;n++)r[n]=0;for(n=0;n<e.length;n++)r[n>>2]|=e.charCodeAt(n)<<24-n%4*8;return r[n>>2]|=128<<24-n%4*8,r[16*t-1]=8*e.length,r},vr:function(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r},Er:function(e,t){return e<<t|e>>>32-t},_r:function(e,t,r,n){return e<20?t&r|~t&n:!(e<40)&&e<60?t&r|t&n|r&n:t^r^n},pr:function(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514},Rr:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return B.Ar(t)},Ar:function(e){if(""===e)return"";for(var t,r=B.dr(e),n=Array(80),i=1732584193,a=-271733879,o=-1732584194,s=271733878,l=-1009589776,u=0;u<r.length;u+=16){for(var c=i,d=a,h=o,p=s,f=l,m=0;m<80;m++)n[m]=m<16?r[u+m]:B.Er(n[m-3]^n[m-8]^n[m-14]^n[m-16],1),t=B.vr(B.vr(B.Er(i,5),B._r(m,a,o,s)),B.vr(B.vr(l,n[m]),B.pr(m))),l=s,s=o,o=B.Er(a,30),a=i,i=t;i=B.vr(i,c),a=B.vr(a,d),o=B.vr(o,h),s=B.vr(s,p),l=B.vr(l,f)}return B.lr(i)+B.lr(a)+B.lr(o)+B.lr(s)+B.lr(l)}},(U=eu.CwsProtocol=function(){this.Tr=function(e,t,r,n){return n.seq=e,n.st=t,n.t=r,n},this.Sr=function(e,t){var r=U.Zs;return this.Tr(e,t,r,{})}}).version="2.8",U.Or="/0/wsg",U.B="0",U.gr=-1,U.Nr=!1,U.Ir=!1,U.wr=2,U.Cr=-1,U.yr=-1,U.mr=1e3,U.Dr="sdk.js.1",U.Gs="CwsStateChangeEvent",U.Xs="CwsErrorEvent",U.Zs="CwsSessionEndEvent",U.zs="CwsCustomEvent",U.Pr="CwsSeekEvent",U.Mr="CwsDataSamplesEvent",U.Lr="ok",U.Ur="err",U.Vr="clid",U.kr="cfg",U.Fr="evs",U.Hr="maxhbinfos",U.Br="slg",U.Gr="hbi",U.jr="ad_shb",U.Kr="gw",U.Wr="fp",U.Yr="csi_en",U.qr="CwsSessionHb",U.Xr="t",
7U.Jr="st",U.Qr="sst",U.Zr="lv",U.zr="seq",U.$r="cid",U.tu="clid",U.nu="clv",U.iu="pver",U.eu="iid",U.su="sid",U.ou="vid",U.ru="an",U.uu="pn",U.hu="tags",U.au="sf",U.fu="evs",U.cu="lg",U.lu="hbinfos",U.du="sdk",U.vu="pj",U.js="ps",U.Ys="br",U.qs="avgbr",U.Eu="cl",U._u="efps",U.pu="afps",U.Ru="rfpstot",U.Au="rfpscnt",U.Tu="rs",U.Su="pht",U.Ou="bl",U.gu="url",U.Nu="caps",U.Iu="pm",U.wu="w",U.Cu="h",U.yu="ct",U.mu="le",U.Du="dftot",U.bu="dfcnt",U.Pu="al",U.Mu="sl",U.Lu="cal",U.Uu="ss",U.Vu="csi_n",U.ku="csi_t",U.Fu="csi_l",U.Hu="csi_v",U.Bu="csi_c",U.Gu="sch",U.ju="br",U.Ku="brv",U.Wu="dvb",U.xu="dvma",U.Yu="dvm",U.qu="dvt",U.Xu="dvv",U.Ju="sw",U.Qu="sh",U.Zu="scf",U.zu="fw",U.$u="fwv",U.th="cc",U.nh="mn",U.ih="mv",U.eh="os",U.sh="osv",U.oh="cat",U.rh="caps",U.uh="t",U.hh="seq",U.ah="st",U.fh="act",U.lh="skto",U.Js="err",U.Qs="ft",U.Ds="new",U.dh="old",U.$s="name",U.no="attr",U.Eh="seq",U._h="err",U.ph="rtt",U.Rh="ad",U.Ah="csi",U.Th=function(e){switch(e){case f.PlayerState.STOPPED:return U.Sh;case f.PlayerState.PLAYING:return U.Ks;case f.PlayerState.BUFFERING:return U.Ws;case f.PlayerState.PAUSED:return U.xs;case f.PlayerState.NOT_MONITORED:return U.Oh;default:return U.gh}},U.Sh=1,U.Ks=3,U.Ws=6,U.xs=12,U.Oh=98,U.gh=100,U.Nh={Ih:0,gt:1,wh:2,Ch:4},U.yh={mh:0},$=eu.LibJSONInterface=function(){this.Dh=function(e){var t=null;try{t=Z.stringify(e)}catch(e){}return t},this.bh=function(e){var t=null;try{t=eu.JsonParse(e)}catch(e){return t}return J.Ph(t)?t:null}},V=eu.CwsHeartbeat=function(){this.Mh={},(function(){}).apply(this,arguments),this.get=function(){return this.Mh},this.Lh=function(e,t){this.Mh[e]=t},this.Uh=function(e,t,r){this.Mh[e]||(this.Mh[e]={}),this.Mh[e][t]=r},this.Vh=function(e){this.Lh(U.Xr,e)},this.kh=function(e){this.Lh(U.Jr,e)},this.Fh=function(e){this.Lh(U.Qr,e)},this.Hh=function(e){this.Lh(U.Zr,e)},this.Bh=function(e){this.Lh(U.zr,e)},this.Gh=function(e){this.Lh(U.$r,e)},this.jh=function(e){this.Lh(U.tu,e)},this.Kh=function(e){this.Lh(U.nu,e)},this.Wh=function(e){this.Lh(U.iu,e)},this.xh=function(e){this.Lh(U.rh,e)},this.Yh=function(e){this.Lh(U.su,e)},this.qh=function(e){this.Lh(U.eu,e)},this.Xh=function(e){this.Lh(U.ou,e)},this.Jh=function(e){this.Lh(U.ru,e)},this.Qh=function(e){this.Lh(U.uu,e)},this.Zh=function(e){this.Lh(U.hu,e)},this.zh=function(e){this.Lh(U.au,e)},this.$h=function(e){this.Lh(U.Nu,e)},this.ta=function(e){this.Lh(U.fu,e)},this.na=function(e){this.Lh(U.du,e)},this.ia=function(e){this.Lh(U.cu,e)},this.ea=function(e){this.Lh(U.lu,e)},this.Qe=function(e){this.Lh(U.js,e)},this.sa=function(e){this.Lh(U.vu,e)},this.oa=function(e){this.Lh(U.Eu,e)},this.ra=function(e){this.Lh(U.Ys,e)},this.ua=function(e){this.Lh(U.qs,e)},this.ha=function(e){this.Lh(U.Tu,e)},this.aa=function(e){this.Lh(U._u,e)},this.fa=function(e){this.Lh(U.pu,e)},this.ca=function(e){this.Lh(U.Au,e)},this.la=function(e){this.Lh(U.Ru,e)},this.da=function(e){this.Uh(U.Iu,U.Gu,e)},this.va=function(e){this.Uh(U.Iu,U.ju,e)},this.Ea=function(e){this.Uh(U.Iu,U.Ku,e)},this._a=function(e){this.Uh(U.Iu,U.Wu,e)},this.pa=function(e){this.Uh(U.Iu,U.xu,e)},this.Ra=function(e){this.Uh(U.Iu,U.Yu,e)},this.Aa=function(e){this.Uh(U.Iu,U.qu,e)},this.Ta=function(e){this.Uh(U.Iu,U.Xu,e)},this.Sa=function(e){this.Uh(U.Iu,U.zu,e),this.Lh(U.zu,e)},this.Oa=function(e){this.Uh(U.Iu,U.$u,e),this.Lh(U.$u,e)},this.ga=function(e){this.Uh(U.Iu,U.eh,e.toUpperCase())},this.Na=function(e){this.Uh(U.Iu,U.sh,e)},this.Ia=function(e){this.Uh(U.Iu,U.oh,e)},this.wa=function(e){this.Uh(U.Iu,U.Ju,e)},this.Ca=function(e){this.Uh(U.Iu,U.Qu,e)},this.ya=function(e){this.Uh(U.Iu,U.Zu,e)},this.ma=function(e){this.Lh(U.Du,e)},this.mo=function(e){this.Lh(U.bu,e)},this.Da=function(e){this.Lh(U.Su,e)},this.ba=function(e){this.Lh(U.Ou,e)},this.Pa=function(e){this.Lh(U.gu,e)},this.Ma=function(e){this.Lh(U.wu,e)},this.La=function(e){this.Lh(U.Cu,e)},this.Ua=function(e){this.Lh(U.yu,e)},this.Va=function(e){this.Lh(U.mu,e)},this.ka=function(){this.Lh(U.Rh,!0)},this.Fa=function(e){this.Lh(U.Uu,e)},this.setModuleName=function(e){this.Uh(U.th,U.nh,e)},this.Ha=function(e){this.Uh(U.th,U.ih,e)},this.Ba=function(e){this.Lh(U.Ah,e)},this.Ga=function(e){e&&this.Lh(U.Vu,e)},this.ja=function(e){e&&this.Lh(U.ku,e)},this.Ka=function(e){e&&this.Lh(U.Fu,e)},this.Wa=function(e){e&&this.Lh(U.Hu,e)},this.xa=function(e){e&&this.Lh(U.Bu,e)},this.Ya=function(e){this.Lh(U.Pu,e)},this.qa=function(e){this.Lh(U.Mu,e)},this.Xa=function(e){this.Lh(U.Lu,e)}
7},(z=eu.CwsSession=function(){var e=this;e.Qa=null,e.Za=200,e.za=5e3,e.yt=null,e.Ps=0,e.$a=0,e.tf=U.Nh.Ih,e.nf=U.yh.mh,e.if=[],e.ef=-1,e.Dn=-2,e.bn=-2,e.Ii=-1,e.sf=-1,e.rf=null,e.Pn=f.PlayerState.UNKNOWN,e.Cn=-1,e.Us=-1,e.gn=null,e.Hn=-1,e.Bn=-1,e.Ve=null,e.Rn=null,e.Sn=null,e.Ls=null,e.Vs=null,e.uf={},e.hf=null,e.af=null,e.ff=null,e.cf=null,e.lf=null,e.df=null,e.vf=null,e.Ef=null,e._f=null,e.pf=null,e.Rf=null,e.Af=null,e.Tf=null,e.Sf=null,e.Of=null,e.kn=null,e.Fn=null,e.L=null,e.U=null,e.co=null,e.gf=null,e.Nf=!1,e.If=!1,e.wf=!1,e.Cf=!1,e.yf=!1,e.mf=null,e.Df=1e3,e.bf=0,e.Pf=0,e.Mf={},e.D={},e.Lf=!1,e.Uf=null,e.Vf=null,e.kf=null,e.Ff=null,e.Hf=null,e.Bf=null,e.Gf=12e4,e.jf=U.Ir,e.Kf=!1,e.Wf=null,e.Fi=null,e.Kn=null,e.Wn=null,e.xn=null,(function(t,r,n,i,a,o,s,l,u,c,d,h,p){this.xf=t,this._e=r,this.ki=n,this.R=i,this.R.setModuleName("CwsSession"),this.N=a,this.pe=o,this.Yf=s,this.qf=l,this.Xf=u,this.Hi=c,this.Jf=d,this.yt=h,this.yt&&(e.Cn=this.yt.encodedFrameRate,e.gn=this.yt.streamUrl,e.Us=this.yt.duration),this.Jf&&(e.Wf=e.Jf.get(K.H)),e.Fi=p}).apply(this,arguments),this.St=function(){this.Jf=null,this.Hi=null,this.g=null,this.Xf=null,this.qf=null,this.Yf=null,this.pe=null,this.N=null,this.R=null,this.ki=null,this._e=null,this.xf.Qf(),this.xf=null,this.gf=null,this.wf=!0},this.Zf=function(t){this.bs=t,this.zf=this.bs.zf,this.R.Yh(this.bs.C),this.Ps=this.Xf.current(),this.ys()||this.$f()?(this.tf+=z.Ja,e.R.info("start(): assetName="+e.yt.assetName)):e.R.info("start()"+e.tc())},this.nc=function(){this.Cf=!0},this.ic=function(){this.R.debug("initialize()"),(this.ys()||this.$f()||this.Hs())&&(this._e&&this._e._&&this._e._.Bs(c.APP_TRACKER_EVENT.VIDEO_ATTEMPT,{},this),e.ec(),e.sc(),e.oc(),this.ys()||this.$f())&&e.rc()},this.uc=function(){this.R.debug("end(): schedule the last hb before session cleanup"+e.tc()),this.hc(),this.ac(),this.fc(),this.cc()},this.lc=function(){var t;this.Cf||(t=e.Jf.get(K.dc),e.$f()&&"boolean"==typeof t&&t||this.cc(),this.vc())},this.va=function(t){var r=e.hf;r!==t&&t&&(e.R.debug("Change browserName from "+r+" to "+t),e.hf=t)},this.Ea=function(t){var r=e.af;r!==t&&t&&(e.R.debug("Change browserVersion from "+r+" to "+t),e.af=t)},this._a=function(t){var r=e.ff;r!==t&&t&&(e.R.debug("Change deviceBrand from "+r+" to "+t),e.ff=t)},this.pa=function(t){var r=e.cf;r!==t&&t&&(e.R.debug("Change deviceManufacturer from "+r+" to "+t),e.cf=t)},this.Ra=function(t){var r=e.lf;r!==t&&t&&(e.R.debug("Change deviceModel from "+r+" to "+t),e.lf=t)},this.Aa=function(t){var r=e.df;r!==t&&t&&(e.R.debug("Change deviceType from "+r+" to "+t),e.df=t)},this.Ta=function(t){var r=e.vf;r!==t&&t&&(e.R.debug("Change deviceVersion from "+r+" to "+t),e.vf=t)},this.ga=function(t){var r=e.pf;r!==t&&t&&(e.R.debug("Change operatingSystemName from "+r+" to "+t),e.pf=t)},this.Na=function(t){var r=e.Rf;r!==t&&t&&(e.R.debug("Change operatingSystemVersion from "+r+" to "+t),e.Rf=t)},this.Ia=function(t){var r=e.Af;r!==t&&t&&(e.R.debug("Change deviceCategory from "+r+" to "+t),e.Af=t)},this.wa=function(t){var r=e.Tf;r!==t&&t&&(e.R.debug("Change screenWidth from "+r+" to "+t),e.Tf=t)},this.Ca=function(t){var r=e.Sf;r!==t&&t&&(e.R.debug("Change screenHeight from "+r+" to "+t),e.Sf=t)},this.ya=function(t){var r=e.Af;r!==t&&t&&(e.R.debug("Change scaleFactor from "+r+" to "+t),e.Of=t)},this.ks=function(){return e.Ef},this.Sa=function(t){var r=e.Ef;r!==t&&t&&(e.R.debug("Change frameworkName from "+r+" to "+t),e.Ef=t)},this.Fs=function(){return e._f},this.Oa=function(t){var r=e._f;r!==t&&t&&(e.R.debug("Change frameworkVersion from "+r+" to "+t),e._f=t)},this.Pa=function(t){var r;e.yt.streamUrl||(r=e.gn)!==t&&t&&(e.R.debug("Change stream url from "+r+" to "+t),e.gn=t)},this.Ec=function(){e.ac(),e.Kf||(e._c(),e.Bf=e.pe.create(e._c,e.Gf,"CwsSession.startCdnTimer"),e.R.debug("fetching cdn ip timer started"))},this.ac=function(){e.Bf&&(e.Bf(),e.Rc(null,null,null,null,null),e.Bf=null)},this._c=function(){e.R.debug("detectCDNServerIp(): For "+e.gn),e.jf?e.Ac():e.ac()},this.Ac=function(){try{var t;"function"==typeof XMLHttpRequest||"object"==typeof XMLHttpRequest?((t=new XMLHttpRequest).open("HEAD",e.gn,!0),t.setRequestHeader("Pragma","akamai-x-cache-on"),t.onreadystatechange=function(){4===this.readyState&&(200===this.status&&(this.getAllResponseHeaders().indexOf("x-cache")>=0||this.getAllResponseHeaders().indexOf("X-Cache")>=0)?e.Rc("Akamai","header","X-Cache",""+this.getResponseHeader("X-Cache"),""+this.status):e.Rc("null","header","null","null",""+this.status))},t.send()):e.R.info("xmlhttpreq is not available here to fetch CDN Server Ip")}catch(t){e.R.info("Exception caught in makeAkamaiHeadRequest")}},this.Rc=function(t,r,n,i,a){var o={},s={};e.Uf!==t&&(null!==e.Uf&&(s[U.Vu]=e.Uf),e.Uf=t,null===e.Uf?o[U.Vu]="null":o[U.Vu]=e.Uf),e.Vf!==r&&(null!==e.Vf&&(s[U.ku]=e.Vf),e.Vf=r,null===e.Vf?o[U.ku]="null":o[U.ku]=e.Vf),e.kf!==n&&(null!==e.kf&&(s[U.Fu]=e.kf),e.kf=n,null===e.kf?o[U.Fu]="null":o[U.Fu]=e.kf),e.Ff!==i&&(null!==e.Ff&&(s[U.Hu]=e.Ff),e.Ff=i,null===e.Ff?o[U.Hu]="null":o[U.Hu]=e.Ff),e.Hf!==a&&(null!==e.Hf&&(s[U.Bu]=e.Hf),e.Hf=a,null===e.Hf?o[U.Bu]="null":o[U.Bu]=e.Hf),"{}"!==JSON.stringify(o)&&e.Tc(o,s)},this.Sc=function(t){var r=e.Dn;r!==t&&t>0&&(e.R.info("Change bitrate from "+r+" to "+t),e.Oc(r,t),e.Dn=t)},this.gc=function(t){var r=e.bn;r!==t&&t>0&&(e.R.info("Change Avg bitrate from "+r+" to "+t),e.Nc(r,t),e.bn=t)},this.ma=function(t){var r=e.Ii;r!==t&&t>=0&&(e.R.info("Change dropped frames total from "+r+" to "+t),e.Ic(r,t),e.Ii=t)},this.mo=function(t){var r=e.sf,n=t+(-1===e.sf?0:e.sf);r!==t&&n>=0&&(e.R.info("Change dropped frames count from "+r+" to "+n),e.wc(r,n),e.sf=n)},this.ha=function(t){var r=e.rf;r!==t&&t&&(e.R.info("Change resource from "+r+" to "+t),e.rf=t)},this.Jh=function(t){e.Rn!==t&&t&&(e.R.info("Change assetName from "+e.Rn+" to "+t),e.Rn=t)},this.Hh=function(t){var r=e.Vs;r!==t&&J.ee(t)&&(e.R.info("Change isLive from "+r+" to "+t),e.Vs=t)},this.Xh=function(t){var r=e.Sn;r!==t&&t&&(e.R.info("Change viewerId from "+r+" to "+t),e.Sn=t)},this.Qh=function(t){var r=e.Ls;r!==t&&t&&(e.R.info("Change playerName from "+r+" to "+t),e.Ls=t)},this.Zh=function(t){var r=e.uf;!J.Cc(r,t)&&t&&(e.R.info("Change tags from "+J.yc(r)+" to "+J.yc(t)),e.uf=t)},this.aa=function(t){e.yt.encodedFrameRate>0||(e.R.debug("setEncodedFrameRate(): "+t),e.Cn=t)},this.oa=function(t){e.yt.duration>0||(e.R.debug("setContentLength(): "+t),e.Us=t)},this.Qe=function(t){var r,n=!1;e.If||t!==f.PlayerState.PLAYING||(e.If=!0,e.ys()&&(n=!0),J.Pt(e.yt.viewerId)||e.R.error("Missing viewerId. viewerId should be updated before first frame is rendered."),J.Pt(e.yt.streamType)&&p.StreamType.UNKNOWN!==e.yt.streamType||e.R.error("Missing streamType - Live or VOD. streamType should be updated before first frame is rendered."),J.Pt(e.yt.applicationName))||e.R.error("Missing applicationName. applicationName should be updated before first frame is rendered."),e.Pn!==t&&(r=e.Pn,e.R.info("setPlayerState(): changing player state from "+r+" to "+t),e.m
7c(r,t),e.Pn=t,n)&&(e.R.info("SetPlayerState(): to playing state triggered urgent HB"),e.Dc())},this.bc=function(t){var r=e.Hn;r!==t&&t>0&&(e.R.debug("Change stream resolution width from "+r+" to "+t),e.Pc(r,t),e.Hn=t)},this.Mc=function(t){var r=e.Bn;r!==t&&t>0&&(e.R.debug("Change stream resolution height from "+r+" to "+t),e.Lc(r,t),e.Bn=t)},this.Ua=function(t){var r=e.L;r!==t&&t&&(e.R.debug("Change network connection type from "+r+" to "+t),e.Uc(r,t),e.L=t)},this.Va=function(t){var r=e.U;r!==t&&t&&(e.R.debug("Change network link encryption from "+r+" to "+t),e.Vc(r,t),e.U=t)},this.Ba=function(t){e.Kf=!0,e.ac();var r=e.co;r!==t&&J.Pt(t)&&(e.R.debug("Change CDN Server IP from "+r+" to "+t),e.kc(r,t),e.co=t)},this.Ya=function(t){var r=e.Kn;r!==t&&J.Pt(t)&&!e.bs.Fc&&(e.R.info("Change Audio Lang from "+r+" to "+t),e.Hc(r,t),e.Kn=t)},this.qa=function(t){var r=e.Wn;r!==t&&J.Pt(t)&&!e.bs.Bc&&(e.R.info("Change Subtitle Lang from "+r+" to "+t),e.Gc(r,t),e.Wn=t)},this.Xa=function(t){var r=e.xn;r!==t&&J.Pt(t)&&!e.bs.jc&&(e.R.info("Change Closed Caption Lang from "+r+" to "+t),e.Kc(r,t),e.xn=t)},this.Wc=function(t){var r;e.R.debug("togglePauseJoin()"),e.Nf===t?e.R.debug("togglePauseJoin(): same value, ignoring"):(t=e.Nf,r=!e.Nf,e.xc(t,r),e.Nf=!e.Nf)},this.Yc=function(t,r){e.qc(t,r),e.R.info("sendError(): triggered urgent HB"),t=e.Jf.get(K.dc),e.$f()&&"boolean"==typeof t&&t||r&&e.Dc()},this.Xc=function(e,t){var r,n;t[U.uh]=e,t[U.ah]=this.Ms(),t[U.hh]=this.xf.Jc(),this.Ve&&(r=er.Qc(this.Ve.getPHT(),0,null,-1),n=er.Qc(this.Ve.getBufferLength(),0,null,-1),r>=0&&(t[U.Su]=r),n>0)&&(t[U.Ou]=n),this.xf.Zc(t),this._e._&&this._e._.Bs(e,t,this)},this.zc=function(t){e.Ve=t,e.Ve?e.$c():e.tl()},this.hc=function(){var e=this.qf.Sr(this.nl(),this.Ms());this._e._&&this._e._.Bs(U.Zs,{},this),this.xf.Zc(e)},this.qc=function(e,t){var r={};r[U.Js]=e,r[U.Qs]=t,this.Xc(U.Xs,r)},this.Oc=function(e,t){var r={},n={};e>0&&(n[U.Ys]=e),r[U.Ys]=t,this.Tc(r,n)},this.Nc=function(e,t){var r={},n={};e>0&&(n[U.qs]=e),r[U.qs]=t,this.Tc(r,n)},this.il=function(e,t){var r={};r[U.fh]=e,t>=0&&(r[U.lh]=t),this.Xc(U.Pr,r)},this.Pc=function(e,t){var r={},n={};-1!==e&&(n[U.wu]=e),r[U.wu]=t,this.Tc(r,n)},this.Lc=function(e,t){var r={},n={};-1!==e&&(n[U.Cu]=e),r[U.Cu]=t,this.Tc(r,n)},this.Uc=function(e,t){var r={},n={};null!==e&&(n[U.yu]=e),r[U.yu]=t,this.Tc(r,n)},this.Vc=function(e,t){var r={},n={};null!==e&&(n[U.mu]=e),r[U.mu]=t,this.Tc(r,n)},this.kc=function(e,t){var r={},n={};J.Pt(e)&&(n[U.Ah]=e),r[U.Ah]=t,this.Tc(r,n)},this.Ic=function(e,t){var r={},n={};e>=0&&(n[U.Du]=e),r[U.Du]=t,this.Tc(r,n)},this.wc=function(e,t){var r={},n={};e>=0&&(n[U.bu]=e),r[U.bu]=t,this.Tc(r,n)},this.Hc=function(e,t){var r={},n={};e!==t&&("string"==typeof e&&(n[U.Pu]=e),r[U.Pu]=t),this.Tc(r,n)},this.Gc=function(e,t){var r={},n={};e!==t&&("string"==typeof e&&(n[U.Mu]=e),r[U.Mu]=t),this.Tc(r,n)},this.Kc=function(e,t){var r={},n={};e!==t&&("string"==typeof e&&(n[U.Lu]=e),r[U.Lu]=t),this.Tc(r,n)},this.xc=function(e,t){var r={},n={};n[U.vu]=e,r[U.vu]=t,this.Tc(r,n)},this.mc=function(e,t){var r={},n={};r[U.js]=U.Th(t),n[U.js]=U.Th(e),this.Tc(r,n)},this.Tc=function(e,t){var r={};r[U.Ds]=e,t&&J.Gt(t)>0&&(r[U.dh]=t),this.Xc(U.Gs,r)},this.el=function(e,t){var r={};r[U.$s]=e,J.Gt(t)>0&&(r[U.no]=t),this.Xc(U.zs,r)},this.fc=function(){e.Qa&&(e.Qa(),e.Qa=null)},this.vc=function(){e.fc();var t=1e3*e.ki.heartbeatInterval;e.Qa=e.pe.create(e.cc,t,"Session.sendHeartbeat:"+this.zf)},this.tl=function(){e.mf&&(e.mf(),e.mf=null)},this.$c=function(){e.tl(),e.mf=e.pe.create(e.sl,e.Df,"Session.startRfpsTimer")},this.ol=function(){var t={err:"pending"};t.seq=e.$a-1,t.sentAt=e.Ms(),t.rtt=-1,e.if.push(t);for(var r=0;r<e.if.length;r++)"ok"===(t=e.if[r]).err&&(e.if.splice(r,1),r--)},this.rl=function(t,r){for(var n=0;n<e.if.length;n++){var i=e.if[n];i.seq===t&&(i.rtt=e.Ms()-i.sentAt,i.err=r)}},this.ul=function(t){for(var r=0;r<e.if.length;r++){var n=e.if[r];n.seq===t&&(n.rtt=e.Ms()-n.sentAt,n.err="ok")}},this.hl=function(){for(var t,r,n=e.Jf.get(K.al),i=[],a=-1,o=0;o<e.if.length;o++)if("ok"===(r=e.if[o]).err){a=r.seq;break}for(var s=0;s<e.if.length;s++)((t=(r=e.if[s]).seq)<e.$a-n||t<a)&&i.push(s);for(var l=[],u=0;u<e.if.length;u++)t=(r=e.if[u]).seq,0>i.indexOf(u)&&l.push(e.if[u]);e.if=l},this.fl=function(){e.hl();for(var t=[],r=0;r<e.if.length;r++){var n=e.if[r],i={};i[U.Eh]=n.seq,i[U.ph]=n.rtt,i[U._h]=n.err,t.push(i)}return t},this.ll=function(){var t,r=-1,n=-1,i=e.xf.Qf();if(e.Hs()&&0===i.length)return null;var a=new V,o=(a.Vh(U.qr),a.Gh(e.ki.customerKey),a.jh(e.Jf.get(K.H)),a.Yh(e.bs.C),a.Bh(e.$a),a.Wh(U.version),c.version);if(e.Fi&&(o=e.Fi),a.Kh(o),a.qh(e._e.C),a.xh(0),e._e.L?a.Ua(e._e.L):e.L&&a.Ua(e.L),e._e.U?a.Va(e._e.U):e.U&&a.Va(e.U),J.Pt(e.co)&&a.Ba(e.co),a.da(U.Dr),e.hf&&a.va(e.hf),e.af&&a.Ea(e.af),e.ff&&a._a(e.ff),e.cf&&a.pa(e.cf),e.lf&&a.Ra(e.lf),e.df&&a.Aa(e.df),e.vf&&a.Ta(e.vf),e.pf&&a.ga(e.pf),e.Rf&&a.Na(e.Rf),e.Af&&a.Ia(e.Af),e.Ef&&a.Sa(e.Ef),e._f&&a.Oa(e._f),e.Tf&&!isNaN(e.Tf)&&a.wa(parseInt(e.Tf,10)),e.Sf&&!isNaN(e.Sf)&&a.Ca(parseInt(e.Sf,10)),e.Of&&!isNaN(e.Of)?a.ya(parseFloat(e.Of)):(e.Tf&&!isNaN(e.Tf)||e.Sf&&!isNaN(e.Sf))&&a.ya(1),e.Ve&&(e.kn=e.Ve.$n(),e.kn&&a.setModuleName(e.kn),e.Fn=e.Ve.ti(),e.Fn&&a.Ha(e.Fn),e.Ve.ni()&&(e.Ef=e.Ve.ni(),a.Sa(e.Ef)),e.Ve.ei())&&(e._f=e.Ve.ei(),a.Oa(e._f)),e.Sn&&a.Xh(e.Sn),J.Gt(e.uf)>0&&a.Zh(e.uf),e.ys()||e.$f()){if(e.$f()&&a.ka(),e.Rn&&a.Jh(e.Rn),a.zh(e.tf),o=U.Th(e.Pn),a.Qe(o),a.sa(e.Nf),e.Ls&&a.Qh(e.Ls),J.ee(e.Vs)&&a.Hh(e.Vs),e.Us>0&&a.oa(e.Us),e.Dn>0&&a.ra(e.Dn),e.bn>0&&a.ua(e.bn),null!==e.rf&&a.ha(e.rf),e.Cn>0&&a.aa(e.Cn),e.Ve&&(r=er.Qc(e.Ve.getPHT(),0,null,-1),n=er.Qc(e.Ve.getBufferLength(),0,null,-1)),J.It(e._e.V)?t=e._e.V:e.Ve&&(t=e.Ve.getSignalStrength()),r>=0&&a.Da(r),n>0&&a.ba(n),(o=e.dl())>0&&a.fa(o),e.Pf>0&&a.la(er.Qc(e.Pf,0,null,-1)),e.bf>0&&a.ca(er.Qc(e.bf,0,null,-1)),t!==f.DEFAULT_SIGNAL_STRENGTH&&a.Fa(t),e.gn&&a.Pa(e.gn),e.Hn>0&&a.Ma(e.Hn),e.Bn>0&&a.La(e.Bn),e.Ii>-1&&a.ma(e.Ii),e.sf>-1&&(a.mo(e.sf),e.sf>0)&&(e.wc(e.sf,0),e.sf=0),e.Kn&&a.Ya(e.Kn),e.Wn&&a.qa(e.Wn),e.xn&&a.Xa(e.xn),void 0!==e.gf)for(var s in e.gf)a.Lh(s,e.gf[s])}
7else a.zh(U.Nh.Ih);return i.length>0&&a.ta(i),a.$h(e.nf),a.na(!0),e.Jf.get(K.vl)&&a.ia(e.Hi.Qf()),e.Jf.get(K.al)>0&&(r=e.fl()).length>0&&a.ea(r),0===e.$a&&(a=e.El(a)),(a=0!==e.$a?e._l(a):a).Fh(e.Ps),a.kh(e.Ms()),e.jf&&(a.Ga(e.Uf),a.ja(e.Vf),a.Ka(e.kf),a.Wa(e.Ff),a.xa(e.Hf)),e.$a++,a.get()},this._l=function(t){var r,n=e.D,i={};for(r in t.Mh.tags)Object.prototype.hasOwnProperty.call(n,r)||(i[r]=t.Mh.tags[r]);t.Mh.tags=i,e.D={};for(var a=0;a<e.Mf.length;a++)Object.prototype.hasOwnProperty.call(e._e.D,e.Mf[a])?Object.prototype.hasOwnProperty.call(e._e.M,e.Mf[a])?e._e.M[e.Mf[a]]===K.tn.nn?(e.D[K.pl+""+e.Mf[a]]=K.tn.nn,e._e.P("End-user chose to opt-out of personal data collection")):e._e.M[e.Mf[a]]===K.tn.sn?(e.D[K.pl+""+e.Mf[a]]=K.tn.sn,e._e.P("End-user chose to opt-out of personal data collection")):e._e.M[e.Mf[a]]===K.tn.$t?(e.D[K.pl+""+e.Mf[a]]=K.tn.$t,e._e.P("End-user used privacy settings and chose to opt-out of personal data collection")):(e.D[K.pl+""+e.Mf[a]]=e._e.D[e.Mf[a]],e._e.P("Data collection successful")):(e.D[K.pl+""+e.Mf[a]]=e._e.D[e.Mf[a]],e._e.P("Data collection successful")):e.D[K.pl+""+e.Mf[a]]=K.tn.Rl;var o,s={};for(o in n){var l=o.split(".");"{}"!==JSON.stringify(e.Mf)&&-1!==e.Mf.indexOf(""+l[2])||n[K.pl+""+l[2]]===K.tn.Al||(e._e.P("Data collection restricted from Conviva back-end"),e.D[K.pl+""+l[2]]=K.tn.Al,s[K.pl+""+l[2]]=K.tn.Al)}if("{}"!==JSON.stringify(e.D)){var u,c=J.Tl(e.D);for(u in t.Mh.tags)c[u]=t.Mh.tags[u];if(t.Mh.tags=c,!J.Cc(n,e.D)){var d={};if("{}"!==JSON.stringify(s)&&(d[U.hu]=s),"{}"!==JSON.stringify(n)){for(var h in n)e.D[h]&&n[h]!==e.D[h]&&(d[U.hu]||(d[U.hu]={}),d[U.hu][h]=e.D[h]);for(var p in e.D)Object.prototype.hasOwnProperty.call(n,p)&&n[p]===e.D[p]||(d[U.hu]||(d[U.hu]={}),d[U.hu][p]=e.D[p])}"{}"===JSON.stringify(n)&&(d[U.hu]=e.D);var f,m,g={};g[U.Ds]=d,g[U.uh]=U.Gs,g[U.ah]=e.Ms(),g[U.hh]=e.xf.Jc(),e.Ve&&(f=er.Qc(e.Ve.getPHT(),0,null,-1),m=er.Qc(e.Ve.getBufferLength(),0,null,-1),f>=0&&(g[U.Su]=f),m>0)&&(g[U.Ou]=m),t.Mh.evs||(t.Mh.evs=[]),t.Mh.evs.push(g)}}return t},this.El=function(t){var r=e.Sl();if("{}"!==JSON.stringify(r)){var n,i=J.Tl(r);for(n in t.Mh.tags)i[n]=t.Mh.tags[n];t.Mh.tags=i;var a,o={},r=(o[U.hu]=r,{});r[U.Ds]=o,r[U.uh]=U.Gs,r[U.ah]=e.Ms(),r[U.hh]=e.xf.Jc(),e.Ve&&(o=er.Qc(e.Ve.getPHT(),0,null,-1),a=er.Qc(e.Ve.getBufferLength(),0,null,-1),o>=0&&(r[U.Su]=o),a>0)&&(r[U.Ou]=a),t.Mh.evs||(t.Mh.evs=[]),t.Mh.evs.push(r)}return t},this.Sl=function(){var t={};if("undefined"!=typeof navigator&&navigator){if(t["c3.fp.cookie"]=void 0!==navigator.cookieEnabled&&navigator.cookieEnabled?""+navigator.cookieEnabled:"",t["c3.fp.memory"]=void 0!==navigator.deviceMemory&&navigator.deviceMemory?""+navigator.deviceMemory:"",t["c3.fp.hwConc"]=void 0!==navigator.hardwareConcurrency&&navigator.hardwareConcurrency?""+navigator.hardwareConcurrency:"",t["c3.fp.java"]=""+("function"!=typeof navigator.javaEnabled)?"false":navigator.javaEnabled(),t["c3.fp.lang"]=void 0!==navigator.language&&navigator.language?""+navigator.language:"",t["c3.fp.langs"]=void 0!==navigator.languages&&navigator.languages&&navigator.languages.length>0?""+navigator.languages.toString():"",t["c3.fp.maxTp"]=void 0!==navigator.maxTouchPoints&&navigator.maxTouchPoints?""+navigator.maxTouchPoints:"",t["c3.fp.plugins"]="",void 0!==navigator.plugins&&navigator.plugins&&navigator.plugins.length>0)for(var r=0;r<navigator.plugins.length;r++)t["c3.fp.plugins"]+=navigator.plugins[r].name+",";if(t["c3.fp.mime"]="",void 0!==navigator.mimeTypes&&navigator.mimeTypes&&navigator.mimeTypes.length>0)for(var n=0;n<navigator.mimeTypes.length;n++)t["c3.fp.mime"]+=navigator.mimeTypes[n].type+",";t["c3.fp.sysLang"]=void 0!==navigator.systemLanguage&&navigator.systemLanguage?""+navigator.systemLanguage:"",t["c3.fp.platform"]=void 0!==navigator.platform&&navigator.platform?""+navigator.platform:"",t["c3.fp.product"]=void 0!==navigator.product&&navigator.product?""+navigator.product:"",t["c3.fp.productSub"]=void 0!==navigator.productSub&&navigator.productSub?""+navigator.productSub:"",t["c3.fp.vendor"]=void 0!==navigator.vendor&&navigator.vendor?""+navigator.vendor:"",t["c3.fp.vendorSub"]=void 0!==navigator.vendorSub&&navigator.vendorSub?""+navigator.vendorSub:"";var i=e.Ol();""!==i&&(t["c3.fp.canvFp"]=i)}return"undefined"!=typeof window&&window&&(void 0!==window.screen&&window.screen&&(t["c3.fp.availHeight"]=void 0!==window.screen.availHeight&&window.screen.availHeight?""+window.screen.availHeight:"",t["c3.fp.availWi
7dth"]=void 0!==window.screen.availWidth&&window.screen.availWidth?""+window.screen.availWidth:"",t["c3.fp.height"]=void 0!==window.screen.height&&window.screen.height?""+window.screen.height:"",t["c3.fp.width"]=void 0!==window.screen.width&&window.screen.width?""+window.screen.width:"",t["c3.fp.colorDepth"]=void 0!==window.screen.colorDepth&&window.screen.colorDepth?""+window.screen.colorDepth:"",t["c3.fp.deviceXDPI"]=void 0!==window.screen.deviceXDPI&&window.screen.deviceXDPI?""+window.screen.deviceXDPI:"",t["c3.fp.deviceYDPI"]=void 0!==window.screen.deviceYDPI&&window.screen.deviceYDPI?""+window.screen.deviceYDPI:""),t["c3.fp.dpi"]=void 0!==window.devicePixelRatio&&window.devicePixelRatio?""+window.devicePixelRatio:"",t["c3.fp.secure"]="boolean"==typeof window.isSecureContext?""+window.isSecureContext:""),t},this.Ol=function(){try{if("undefined"!=typeof document&&document&&"function"==typeof document.createElement){var e,t,r=document.createElement("CANVAS");if(void 0!==r&&r&&"function"==typeof r.getContext)return e=r.getContext("2d"),t="conviva",e.textBaseline="top",e.font="14px Arial",e.textBaseline="alphabetic",e.fillStyle="#f40",e.fillRect(void 0!==navigator.plugins&&navigator.plugins?navigator.plugins.length:0,void 0!==navigator.mimeTypes&&navigator.mimeTypes?navigator.mimeTypes.length:0,void 0!==navigator.product&&navigator.product?navigator.product.length:0,void 0!==navigator.vendor&&navigator.vendor?navigator.vendor.length:0),e.fillStyle="#069",e.fillText(t,void 0!==navigator.maxTouchPoints&&navigator.maxTouchPoints>=0?navigator.maxTouchPoints:0,void 0!==navigator.product&&navigator.product?navigator.product.length:0),e.fillStyle="rgba(102, 204, 0, 0.7)",e.fillText(t,void 0!==navigator.deviceMemory&&navigator.deviceMemory?navigator.deviceMemory:0,void 0!==navigator.hardwareConcurrency&&navigator.hardwareConcurrency?navigator.hardwareConcurrency:0),B.Ar(r.toDataURL())}return""}catch(e){return""}},this.cc=function(){var t;e.wf||(t=e.ll())&&e.gl(t)},this.sl=function(){var t;e.Pn===f.PlayerState.PLAYING&&e.Ve&&(t=e.Ve.getRenderedFrameRate())>0&&(e.Pf+=t,e.bf++)},this.dl=function(){return e.Pf>0&&e.bf>0||(this.sl(),e.Pf>0&&e.bf>0)?J.Nl.Cast(+e.Pf/e.bf):f.DEFAULT_RENDERED_FRAME_RATE},this.gl=function(t){e.ol();var r=e.$a-1;e.R.info("postHeartbeat(): Send HB["+r+"]"+e.tc()),e.Yf.Il(t,function(t,n){e.wl(t,n,r)})},this.wl=function(t,r,n){e.wf||e.N.F("onHeartbeatResponse",function(){var i,a,o;t?r?(e.R.debug("onHeartbeatResponse(): received valid response for HB["+n+"]"),e.ul(n),(o=r[U.Vr])&&o!==(i=e.Jf.get(K.H))&&(e.R.debug("onHeartbeatResponse(): setting the client id to "+o+" (from gateway)"),e.Jf.set(K.H,o),e.Jf.Cl(),i===U.B)&&o!==U.B&&(e._e.k(),e.yf)&&(e.R.debug("Send enqueued urgent hb as client id is available"),e.Dc()),(i=r[U.Ur])&&i!==U.Lr&&e.R.error("onHeartbeatResponse(): error from gateway: "+i),"object"==typeof(o=r[U.kr])&&((i=o[U.Hr])>=0&&e.Jf.get(K.al)!==i&&(e.R.debug("onHeartbeatResponse(): setting Maximum Heartbeat Infos to "+i+" (from gateway)"),e.Jf.set(K.al,i)),a=o[U.Br],(a=!!J.ee(a)&&a)!==e.Jf.get(K.vl)&&(e.R.debug("onHeartbeatResponse(): turning "+(a?"on":"off")+" sending of logs"),e.Jf.set(K.vl,a)),a=o[U.Gr],J.It(a)&&((a=J.Nl.Cast(a))!==e.ki.heartbeatInterval&&(e.R.debug("onHeartbeatResponse(): received hbIntervalMs from gateway: "+a),e.ki.heartbeatInterval=a,e.Qa)&&e.vc(),e.Jf.get(K.At)!==a)&&(e.R.debug("onHeartbeatResponse(): setting Maximum Heartbeat Infos to "+i+" (from gateway)"),e.Jf.set(K.At,a),e.Jf.Cl(),e.Jf.yl()),(a=o[U.Kr])&&a!==e.ki.gatewayUrl&&(e.R.debug("onHeartbeatResponse(): received gatewayUrl from gateway: "+a),e.ki.gatewayUrl=a),e.ml()||(e.Mf={},(a=o[U.Wr])&&(e.Lf||(e.Lf=!0),e.R.debug("onHeartbeatResponse(): received fp from gateway: "+a),e.Mf=a.split(",")),e.jf=o[U.Yr],J.ee(e.jf)&&(e.jf?(e.R.debug("onHeartbeatResponse(): enabling the CDN Server IP collection"),e.Bf||e.Ec()):e.ac())),a=o[U.jr],J.ee(a)?e.Jf.get(K.dc)!==a&&(e.R.debug("onHeartbeatResponse(): setting Maximum Heartbeat Infos to "+i+" (from gateway)"),e.Jf.set(K.dc,a),e.Jf.Cl(),e.Jf.yl()):e.Jf.get(K.dc)!==U.Nr&&(e.Jf.set(K.dc,U.Nr),e.Jf.Cl(),e.Jf.yl()))):e.R.warning("onHeartbeatResponse(): decoded heartbeat response is null."):(J.Pt(o=r)?J.Dl(o,"HTTP timeout")?e.R.warning("onHeartbeatResponse(): "+o):e.R.error("on
7HeartbeatResponse(): failed to send heartbeat: "+o):(o=H.bl,e.R.error("onHeartbeatResponse(): "+o)),e.rl(n,o))})},this.Ms=function(){return J.Nl.Cast(e.Xf.current()-e.Ps)},this.nl=function(){return this.xf.Jc()},this.tc=function(){return this.Hs()?" (global session)":""},this.Hs=function(){return this.zf===z.Nt.Ih},this.ml=function(){return this.zf===z.Nt.Ih&&"T"===this.uf["c3.IPV4IPV6GlobalSession"]},this.ys=function(){return this.zf===z.Nt.gt},this.$f=function(){return this.zf===z.Nt.bt},this.Lt=function(t){e.Pl(t),e.ec()},this.Pl=function(t){var r={},n={};if(J.Pt(t.assetName)&&!e.bs.Ml&&(e.yt.assetName!==t.assetName?(e.yt.assetName&&(r[U.ru]=e.yt.assetName),n[U.ru]=t.assetName,e.yt.assetName=t.assetName):e.R.warning("mergeContentMetadata(): assetName was not changed.")),J.Pt(t.applicationName)&&(e.yt.applicationName!==t.applicationName?(e.yt.applicationName&&(r[U.uu]=e.yt.applicationName),n[U.uu]=t.applicationName,e.yt.applicationName=t.applicationName):e.R.warning("mergeContentMetadata(): applicationName was not changed.")),J.Pt(t.streamUrl)&&!e.bs.Ll&&(e.yt.streamUrl!==t.streamUrl?(e.yt.streamUrl&&(r[U.gu]=e.yt.streamUrl),n[U.gu]=t.streamUrl,e.yt.streamUrl=t.streamUrl,e.gn=e.yt.streamUrl):e.R.warning("mergeContentMetadata(): streamUrl was not changed.")),J.Pt(t.viewerId)&&(e.yt.viewerId!==t.viewerId?(e.yt.viewerId&&(r[U.ou]=e.yt.viewerId),n[U.ou]=t.viewerId,e.yt.viewerId=t.viewerId):e.R.warning("mergeContentMetadata(): viewerId was not changed.")),J.Pt(t.defaultResource)&&!e.bs.Ul&&(e.yt.defaultResource!==t.defaultResource?(e.yt.defaultResource&&(r[U.Tu]=e.yt.defaultResource),n[U.Tu]=t.defaultResource,e.yt.defaultResource=t.defaultResource):e.R.warning("mergeContentMetadata(): defaultResource was not changed.")),J.It(t.duration)&&t.duration>0&&!e.bs.Vl&&(e.yt.duration!==t.duration?(e.Us>0&&(r[U.Eu]=e.Us),n[U.Eu]=t.duration,e.yt.duration=t.duration,e.Us=e.yt.duration):e.R.warning("mergeContentMetadata(): duration was not changed.")),J.It(t.encodedFrameRate)&&t.encodedFrameRate>0&&!e.bs.kl&&(e.yt.encodedFrameRate!==t.encodedFrameRate?(e.yt.encodedFrameRate>-1&&(r[U._u]=e.yt.encodedFrameRate),n[U._u]=t.encodedFrameRate,e.yt.encodedFrameRate=t.encodedFrameRate,e.Cn=e.yt.encodedFrameRate):e.R.warning("mergeContentMetadata(): encodedFrameRate was not changed.")),t.streamType!==p.StreamType.UNKNOWN&&(e.yt.streamType!==t.streamType?(e.yt.streamType!==p.StreamType.UNKNOWN&&(e.yt.streamType===p.StreamType.LIVE?r[U.Zr]=!0:r[U.Zr]=!1),t.streamType===p.StreamType.LIVE?n[U.Zr]=!0:n[U.Zr]=!1,e.yt.streamType=t.streamType):e.R.warning("mergeContentMetadata(): streamType was not changed.")),J.Gt(t.custom)>0){var i,a={},o={};for(i in t.custom)e.yt.custom[i]!==t.custom[i]?(a[i]=t.custom[i],e.yt.custom[i]&&(o[i]=e.yt.custom[i]),e.yt.custom[i]=t.custom[i]):e.R.info("mergeContentMetadata(): custom."+i+" was not changed.");J.Gt(a)>0?(J.Gt(o)>0&&(r[U.hu]=o),n[U.hu]=a):e.R.warning("mergeContentMetadata(): custom was not changed.")}J.Gt(n)>0&&this.Tc(n,r)},this.ec=function(){var t;e.R.debug("setStatesFromContentMetadata()"),e.yt.defaultResource&&this.ha(e.yt.defaultResource),e.yt.streamUrl&&this.Pa(e.yt.streamUrl),e.yt.duration>0&&this.oa(e.yt.duration),e.yt.encodedFrameRate>0&&this.aa(e.yt.encodedFrameRate),e.yt.streamType!==p.StreamType.UNKNOWN&&(t=e.yt.streamType===p.StreamType.LIVE,this.Hh(t)),e.yt.assetName&&this.Jh(e.yt.assetName),e.yt.viewerId&&this.Xh(e.yt.viewerId),(e.yt.applicationName||e.yt.playerName)&&this.Qh(e.yt.applicationName||e.yt.playerName),J.Gt(e.yt.custom)>0&&this.Zh(e.yt.custom)},this.sc=function(){var t={};if(this.Hs()||(e.yt.assetName?t[U.ru]=e.yt.assetName:e.R.warning("enqueueEventForContentMetadata(): assetName was not set."),e.yt.applicationName?t[U.uu]=e.yt.applicationName:e.R.warning("enqueueEventForContentMetadata(): applicationName was not set."),e.yt.streamUrl?t[U.gu]=e.yt.streamUrl:e.R.warning("enqueueEventForContentMetadata(): streamUrl was not set."),e.yt.viewerId?t[U.ou]=e.yt.viewerId:e.R.warning("enqueueEventForContentMetadata(): viewerId was not set."),e.yt.defaultResource?t[U.Tu]=e.yt.defaultResource:e.R.warning("enqueueEventForContentMetadata(): defaultResource was not set."),e.yt.duration>-1?t[U.Eu]=e.yt.duration:e.R.warning("enqueueEventForContentMetadata(): duration was not set."),e.yt.encodedFrameRate>-1?t[U._u]=e.yt.encodedFrameRate:e.R.warning("enqueueEventForContentMetadata(): encodedFrameRate was not set."),e.yt.streamType!==p.StreamType.UNKNOWN?e.yt.streamType===p.StreamType.LIVE?t[U.Zr]=!0:t[U.Zr]=!1:e.R.warning("enqueueEventForContentMetadata(): streamType was not set.")),J.Gt(e.yt.custom)>0)for(var r in t[U.hu]={},e.yt.custom)t[U.hu][r]=e.yt.custom[r];else this.Hs()||e.R.warning("enqueueEventForContentMetadata(): custom tags were not set.");J.Gt(t)>0&&this.Tc(t,null)},this.rc=function(){e.yt&&J.Pt(e.yt.assetName)||e.R.warning("Missing assetName during session creation"),e.yt&&J.Pt(e.yt.defaultResource)||e.R.warning("Missing resource during session creation"),e.yt&&J.Pt(e.yt.streamUrl)||e.R.warning("Missing streamUrl during session creation"),(!e.yt||e.yt.encodedFrameRate<=0)&&e.R.warning("Missing encodedFrameRate during session creation"),e.yt&&J.Pt(e.yt.viewerId)||e.R.warning("Missing viewerId during session creation"),e.yt&&e.yt.streamType&&p.StreamType.UNKNOWN!==e.yt.streamType||e.R.warning("Missing streamType during session creation"),e.yt&&J.Pt(e.yt.applicationName)||e.R.warning("Missing applicationName during session creation"),(!e.yt||e.yt.duration<=0)&&e.R.warning("Missing duration during session creation")},this.zt=function(t,r){e.gf||(e.gf={}),e.gf[t]=r},this.oc=function(){var t={};e._e&&e._e.L&&(t[U.yu]=e._e.L,e.L=e._e.L),e._e&&e._e.U&&(t[U.mu]=e._e.U,e.U=e._e.U),J.Gt(t)>0&&this.Tc(t,null)},this.Dc=function(){var t;e.Cf||((t=e.Jf.get(K.H))&&t!==U.B&&""!==t&&"null"!==t?(e.yf=!1,t=et.Fl(e.Za,e.za),e.vc(),setTimeout(function(){try{e&&(e.cc(),e.vc())}catch(e){}},t)):(e.R.debug("Delay sending of urgent hb due to missing client id"),e.yf=!0))}}).Ja=U.Nh.gt+U.Nh.wh+U.Nh.Ch,z.Nt={gt:"Video",Ih:"Global",bt:"Ad"},(H=eu.Session=function(){var e=this;e.Ve=null,e.C=0,e.zf=z.Nt.gt,e.Hl=!1,e.wf=!1,e.Bl=!1,e.Gl=null,e.Re=null,e.jl=null,e.Kl=!1,e.Wl=f.PlayerState.NOT_MONITORED,e.xl=!1,e.Yl=!1,e.ql=!1,e.kl=!1,e.Xl=!1,e.Bc=!1,e.jc=!1,e.Fc=!1,e.Ml=!1,e.Ll=!1,e.Jl=!1,e.Vl=!1,e.Ul=!1,e.Ql=!1,(function(e,t,r,n,i,a,o){this.C=e,this.zf=t,this.Jf=r,this.Zl=n,this.Ct=i,this.N=a,this.R=o}).apply(e,arguments),this.Zf=function(t,r){e.Ct.Zf(this),t&&e.kt(t),e.Jf.zl()?e.$l(r):e.Jf.td(function(){e.$l(r)})},this.cleanup=function(){e.Hl=!0,e.Ct.nc(),e.Jf.zl()?e.nd():e.Jf.td(function(){e.nd()})},this.ed=function(){(e.ys()||e.$f())&&e.Ve&&e.sd(),e.N=null,e._e=null,e.Jf=null,e.Zl=null,e.Ct.St(),e.Ct=null,e.wf=!0},this.nd=function(){e.Ct.uc(),e.ed()},this.$l=function(t){e.Ct.ic(),e.od(),t?(e.Mt(t.sr(),t.rr()),e.Ct.Qe(f.PlayerState.STOPPED),e.Ct.uc(),e.ed()):e.Ct.lc()}
7,this.od=function(){var t=e.Zl.get(),r=t[eo.BROWSER_NAME],r=(r&&e.Ct.va(r),t[eo.BROWSER_VERSION]),r=(r&&e.Ct.Ea(r),t[eo.DEVICE_BRAND]),r=(r&&e.Ct._a(r),t[eo.DEVICE_MANUFACTURER]),r=(r&&e.Ct.pa(r),t[eo.DEVICE_MODEL]),r=(r&&e.Ct.Ra(r),t[eo.DEVICE_TYPE]),r=(r&&e.Ct.Aa(r),t[eo.DEVICE_VERSION]),r=(r&&e.Ct.Ta(r),t[eo.FRAMEWORK_NAME]),r=(r&&e.Ct.Sa(r),t[eo.FRAMEWORK_VERSION]),r=(r&&e.Ct.Oa(r),t[eo.OPERATING_SYSTEM_NAME]),r=(r&&e.Ct.ga(r),t[eo.OPERATING_SYSTEM_VERSION]),r=(r&&e.Ct.Na(r),t[eo.DEVICE_CATEGORY]),r=(r&&e.Ct.Ia(r),t[eo.SCREEN_WIDTH]),r=(r&&e.Ct.wa(r),t[eo.SCREEN_HEIGHT]),r=(r&&e.Ct.Ca(r),t[eo.SCALE_FACTOR]);r&&e.Ct.ya(r)},this._i=function(t){e.Ct.Pn===t||(e.Ct.Pn===f.PlayerState.NOT_MONITORED&&t!==f.PlayerState.NOT_MONITORED&&(e.Wl=t),e.Kl)||e.Ct.Qe(t)},this.pi=function(t){e.xl||e.Ct.Sc(t)},this.Ri=function(t){e.xl||e.Ct.gc(t)},this.wi=function(t){e.Yl||e.Ct.ma(t)},this.Ci=function(t){e.Yl||e.Ct.mo(t)},this.Ai=function(t,r){!J.It(r)&&e.Ql&&(r=-1),e.Ct.il(t,r)},this.Xn=function(t){t>0&&(e.kl||e.Ct.aa(t))},this.Zn=function(t){t>0&&(e.Vl||e.Ct.oa(t))},this.zn=function(t){e.Ct.Pa(t)},this.Ti=function(t){e.Ct.bc(t)},this.Si=function(t){e.Ct.Mc(t)},this.nt=function(t){e.Ct.Ua(t)},this.et=function(t){e.Ct.Va(t)},this.ii=function(t){e.Ct.ks()||e.Ct.Sa(t)},this.si=function(t){e.Ct.Fs()||e.Ct.Oa(t)},this.gi=function(t){e.Ct.Ba(t)},this.ri=function(t){e.Ct.Ya(t)},this.hi=function(t){e.Ct.qa(t)},this.fi=function(t){e.Ct.Xa(t)},this.Oi=function(t,r){e.Mt(t,r)},this.Yn=function(){e.sd()},this.xt=function(t,r,n){e.Bl||(e.Bl=!0,e.Gl=t,e.Re=r,e.jl=n,e.Ct.Wc(!0),e.Gl===d.AdStream.CONTENT||e.Re===d.AdPlayer.SEPARATE?(e.Ct.Pn!==f.PlayerState.NOT_MONITORED&&(e.Wl=e.Ct.Pn),e.Ct.Qe(f.PlayerState.NOT_MONITORED),e.Kl=!0):e.Gl===d.AdStream.SEPARATE&&e.Re===d.AdPlayer.CONTENT&&(e.Ct.Pn!==f.PlayerState.NOT_MONITORED&&(e.Wl=e.Ct.Pn),e.Ct.Qe(f.PlayerState.NOT_MONITORED),e.Kl=!0,e.xl=!0,e.Yl=!0,e.kl=!0,e.ql=!0,e.Bc=!0,e.jc=!0,e.Fc=!0,e.Ml=!0,e.Ll=!0,e.Jl=!0,e.Vl=!0,e.Ul=!0,e.Ql=!0))},this.Yt=function(){e.Bl&&(e.Ct.Wc(!1),e.Gl===d.AdStream.CONTENT||e.Re===d.AdPlayer.SEPARATE?e.rd||(e.Kl=!1,e.Ct.Qe(e.Wl)):e.Gl===d.AdStream.SEPARATE&&e.Re===d.AdPlayer.CONTENT&&(e.xl=!1,e.Yl=!1,e.kl=!1,e.ql=!1,e.Xl=!1,e.rd||(e.Kl=!1,e.Ct.Qe(e.Wl)),e.Bc=!1,e.jc=!1,e.Fc=!1,e.Ml=!1,e.Ll=!1,e.Jl=!1,e.Vl=!1,e.Ul=!1,e.Ql=!1),e.Bl=!1,e.Gl=e.Re=e.jl=null)},this.Ut=function(){e.Ve&&e.Ve&&(e.N.F("Session.detachPlayer",function(){e.Ve.qn()}),e.Ve=null,e.Ct.zc(null),e.Ct.Qe(f.PlayerState.NOT_MONITORED))},this.sd=function(){e.Ve&&(e.N.F("Session.releasePlayerStateManager",function(){e.Ve.qn()}),e.Ve=null,e.Ct.zc(null),e.Ct.Qe(f.PlayerState.NOT_MONITORED))},this.Vt=function(){e.Ct.Wc(!0),e.Ct.Pn!==f.PlayerState.NOT_MONITORED&&(e.Wl=e.Ct.Pn),e.Ct.Qe(f.PlayerState.NOT_MONITORED),e.Kl=!0},this.kt=function(t){e.Ve||t instanceof f&&e.N.F("Session.attachPlayer()",function(){t.setMonitoringNotifier(e,e.C)&&(t.ci(),e.Ve=t,e.Ct.zc(e.Ve))})},this.Ft=function(){e.Ct.Wc(!1),e.xl=!1,e.Yl=!1,e.ud=!1,e.ql=!1,e.Xl=!1,e.Bc=!1,e.jc=!1,e.Fc=!1,e.Ml=!1,e.Ll=!1,e.Jl=!1,e.Vl=!1,e.Ul=!1,e.Ql=!1,e.rd||(e.Kl=!1,e.Wl!==f.PlayerState.NOT_MONITORED&&e.Ct.Qe(e.Wl))},this.Xt=function(){return e.Ve},this.Ht=function(){e.rd||(e.rd=!0,e.Kl=!0)},this.Bt=function(){e.rd&&(e.rd=!1,e.Bl||(e.Kl=!1,e.Wl!==f.PlayerState.NOT_MONITORED&&e.Ct.Qe(e.Wl)))},this.Mt=function(t,r){!J.Pt(t)||r!==d.ErrorSeverity.FATAL&&r!==d.ErrorSeverity.WARNING||e.Xl||(r=r===d.ErrorSeverity.FATAL,e.Ct.Yc(t,r))},this.Lt=function(t){e.N.F("Session.updateContentMetadata",function(){e.Ct.Lt(t)})},this.Wt=function(t,r){e.Ct.el(t,r)},this.Hs=function(){return e.zf===z.Nt.Ih},this.ys=function(){return e.zf===z.Nt.gt},this.$f=function(){return e.zf===z.Nt.bt},this.tc=function(){return e.Hs()?" (global session)":""},this.Qt=function(){return this.C},this.Zt=function(){return e.Jf.zl()?e.Jf.get(K.H):null},this.zt=function(t,r){e.Ct.zt(t,r)}}).bl="received no response (or a bad response) to heartbeat POST request",G=eu.SessionFactory=function(){var e=this;e.Hi=null,e.hd=0,e.ad=null,(function(t,r,n,i){e._e=t,e.ki=r,e.Jf=n,e.T=i,e.hd=0,e.ad={}}).apply(e,arguments),this.St=function(){for(var t in e.Hi=null,e.ad)e.ad[t].cleanup();e.ad=null,e.hd=0},this.fd=function(){var t=e.hd;return e.hd++,t},this.Ot=function(t,r,n,i,a){return t||(t=new p),e.ld(t,r,n,i,a)},this.Y=function(t){return e.ld(t,z.Nt.Ih,void 0,c.version)},this.dd=function(){return et.vd()},this.ld=function(t,r,n,i,a){return r=e.T.zi(e._e,e.ki,e.Jf,e.dd(),r,t.ct(),i),t=e.fd(),void 0!==a&&void 0!==a.error?r.Zf(n,a.error):(e.Ed(t,r),r.Zf(n)),t},this.Kt=function(t){return t=e.ad[t]},this.wt=function(e){return e=!(e=this.Kt(e))||e.ys()||e.$f()?e:null},this.Ed=function(t,r){e.ad[t]=r},this._d=function(t){delete e.ad[t]},this.qt=function(t){var r=e.Kt(t);e._d(t),r.cleanup()}
7,this.tt=function(){return e.ad}},q=eu.pd=function(e){this.pe=e,this.Rd=function(e,t,r){var n=!1;return this.pe.createOnce(function(){n||e((n=!0,!1),r+" ("+t+" ms)")},t,"CallbackWithTimeout.wrap"),function(t,r){n||(n=!0,e(t,r))}}},(K=eu.Config=function(e,t,r){var n=this;this.Td=t,this.Sd=r,this.Od={clientId:U.B,iid:U.gr,sendLogs:!1,maxHbInfos:U.wr,ad_shb:U.Nr},this.I=J.Tl(this.Od),this.gd=!1,this.Nd=!1,this.Id=[],this.zl=function(){return this.gd},this.Et=function(){this.Td.Et(K.wd,function(e,t){e&&(n.I[K.wd]=n.Sd.bh(t),n.Cd(t))}),this.Td.Et(K.Ad,function(e,t){e&&(n.I[K.Ad]=n.Sd.bh(t),n.yd(t)),n.gd=!0,n.md()})},this.yd=function(e){var t,r,e=this.Sd.bh(e),n=!1;e?e&&(t=e[K.Dd],r=e[K._t],t&&t!==U.B&&""!==t&&"null"!==t?this.I[K.H]=t:(this.I[K.H]=this.bd(),this.Cl()),r!==U.gr&&""!==r&&"null"!==r&&(this.I[K._t]=r),(t=e[K.dc])&&t!==U.Nr&&""!==t&&"null"!==t?this.I[K.dc]=t:void 0!==this.I[K.dc]&&(n=!0),(r=e[K.At])&&""!==r&&"null"!==r?this.I[K.At]=r:void 0!==this.I[K.At]&&(n=!0),n)&&this.Cl():(this.I[K.H]=this.bd(),this.Cl(),this.Nd=!0)},this.Cd=function(e){var t,e=this.Sd.bh(e);e&&((t=e[K.dc])&&t!==U.Nr&&""!==t&&"null"!==t&&(this.I[K.dc]=t),t=e[K.At])&&""!==t&&"null"!==t&&(this.I[K.At]=t)},this.Pd=function(){var e=n.I[K.Ad]||{};return e[K.Dd]=this.I.clientId,void 0!==this.I[K.dc]?e[K.dc]=this.I[K.dc]:e[K.dc]=U.Nr,void 0!==this.I[K.At]&&(e[K.At]=this.I[K.At]),this.Sd.Dh(e)},this.Cl=function(){this.Td.Cl(K.Ad,this.Pd(),function(e,t){})},this.yl=function(){var e=n.I[K.wd]||{};void 0!==this.I[K.dc]?e[K.dc]=this.I[K.dc]:e[K.dc]=U.Nr,void 0!==this.I[K.At]&&(e[K.At]=this.I[K.At]),this.Td.Cl(K.wd,this.Sd.Dh(e),function(e,t){})},this.td=function(e){this.zl()?e():this.Id.push(e)},this.get=function(e){return this.gd?this.I[e]:null},this.set=function(e,t){this.gd&&(this.I[e]=t)},this.md=function(){for(var e;void 0!==(e=this.Id.shift());)e()},this.getClientId=function(){return this.I.clientId},this.bd=function(){try{return Math.floor(2147483647*Math.random()).toString()+"."+Math.floor(2147483647*Math.random()).toString()+"."+Math.floor(2147483647*Math.random()).toString()+"."+Math.floor(2147483647*Math.random()).toString()}catch(e){this.R.debug("error caught in _generateClid()")}return"0"},this.getIid=function(){return this.I.iid}}).Ad="sdkConfig",K.wd="sdkAdConfig",K.Dd="clId",K._t="iid",K.dc=U.jr,K.At="hbi",K.H="clientId",K.vl="sendLogs",K.al="maxHbInfos",K.pl="c3.fp.",K.tn={Rl:"0",Md:"1",nn:"2",$t:"3",Al:"4",sn:"5",en:"6"},W=eu.EventQueue=function(){this.Ld=[],this.Ud=0,this.Zc=function(e){this.Ld.push(e)},this.Jc=function(){var e=this.Ud;return this.Ud++,e},this.Qf=function(){var e=this.Ld;return this.Ld=[],e}},X=eu.ExceptionCatcher=function(e,t,r){this.Vd=t,this.g=r,this.F=function(e,t,r){try{t()}catch(t){if(r)r(t);else{if(this.g.allowUncaughtExceptions)throw t;this.kd(e,t)}}},this.kd=function(e,t){if(e="Uncaught exception: "+e+": "+t.toString(),this.Vd)try{this.Vd.Il(e)}catch(e){}}},Y=eu.GatewayControl=function(e,t,r,n,i){var a=this;this.ki=e,this.Fd=r,this.Sd=n,this.Hd=i,this.Il=function(e,t){var r=(this.Hd?this.Hd.indexOf("ipv4")>-1?this.ki.G:this.ki.q:this.ki.gatewayUrl)+U.Or;this.Fd.Bd("POST",r,this.Sd.Dh(e),"application/json",function(e,r){e?t(e,a.Sd.bh(r)):t(e,r)})}},J=eu.Lang={Gd:function(e){return J.Pt(e)&&e&&"undefined"!==e&&"null"!==e},jt:function(e){var t,r,n={};for(t in e)J.Gd(t)&&(r=e[t],J.Gd(r))&&(n[t]=r);return n},Jn:function(e,t,r){if(!e)throw Error("Expected "+r+" implementation is null.");for(var n in t)if("function"!=typeof e[n])throw Error("Expected method "+n+" in "+r+" implementation.")},Gt:function(e){var t,r=0;for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&r++;return r},Dt:function(e){return""+e},jd:function(e){return Math.floor(e)},ln:function(e){return Math.abs(J.jd(e))},Kd:function(e){return!!e},Pt:function(e){return"string"==typeof e&&""!==e},Dl:function(e,t){return"string"==typeof e&&"string"==typeof t&&"function"==typeof e.indexOf&&0===e.indexOf(t)},ee:function(e){return"boolean"==typeof e},Wd:function(e){return escape(e)},Ph:function(e){return"object"==typeof e},yc:function(e){var t,r="";for(t in e)r+=t+"="+e[t];return"Object{"+r+"}"},xd:function(e){var t,r=J.Tl(e);for(t in r)r[t]||delete r[t];return r},Tl:function(e){var t,r={};for(t in e)r[t]=e[t];return r},Cc:function(e,t){if(typeof e!=typeof t)return!1;if(e instanceof Object&&t instanceof Object){if(J.Gt(e)!==J.Gt(t))return!1;for(var r in e)if(e[r]!==t[r])return!1;return!0}return e===t},Ho:function(){for(var e={},t=0;t<arguments.length;t++)for(var r in arguments[t])arguments[t][r]&&(e[r]=arguments[t][r]);return e},It:function(e){return"number"==typeof e&&Math.round(e)===e},Yd:function(e){return"[object Array]"===Object.prototype.toString.call(e)},qd:function(e,t){if(e!==t){if(!e||!t||e.length!==t.length)return!1;for(var r=0;r<e.length;++r)if(J.Yd(e[r])&&J.Yd(t[r])){if(!J.qd(e[r],t[r]))return!1}else if(e[r]!==t[r])return!1}return!0},Xd:function(){return void 0!==Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()},un:function(e,t,r){if(J.Xd())Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:r});else{if(void 0===e.__defineGetter__)throw Error("JavaScript runtime must support either Object.defineProperty or __defineGetter__");e.__defineGetter__(t,r)}},hn:function(e,t,r){if(J.Xd())Object.defineProperty(e,t,{configurable:!0,set:r});else{if(void 0===e.__defineSetter__)throw Error("JavaScript runtime must support either Object.defineProperty or __defineSetter__");e.__defineSetter__(t,r)}}},(F={two32:4294967296}).Jd=F.two32-1,F.Qd=0,J.Zd=F,J.Zd.Cast=function(e){return(e=parseInt(e,10))>F.Jd?e%=F.two32:e<F.Qd&&(e=F.two32-(e=-e%F.two32)),e},J.Zd.zd=function(e){return(e=parseInt(e,10))<=F.Jd&&e>=F.Qd},j={Jd:2147483647,Qd:-2147483648},J.Nl=j,J.Nl.Cast=function(e){return(e=parseInt(e,10))>j.Jd?e%=j.Jd:e<j.Qd&&(e=j.Jd-(e=-e%j.Jd)),e},J.Nl.zd=function(e){return(e=parseInt(e,10))<=j.Jd&&e>=j.Qd},J.er=function(){return"undefined"!=typeof window&&window&&window.location&&window.location.search?window.location.search:""},J.$d=function(){return document&&document.referrer?document.referrer:""},Q=eu.LogBuffer=function(){this.tv=[],this.vr=function(e){this.tv.length>=32&&this.tv.shift(),this.tv.push(e)},this.Qf=function(){var e=this.tv;return this.tv=[],e}},(ee=eu.Ping=function(e,t,r,n){this.iv=!1,this.ev=null,this.R=e,this.R.setModuleName("Ping"),this.Fd=t,this.ki=r,this.Fi=n,this.Il=function(e){this.iv||(this.iv=!0,e=this.sv()+"&d="+J.Wd(e.toString()),this.R.error("send(): "+e),this.Fd.Bd("GET",e,null,null,null),this.iv=!1)},this.sv=function(){if(!this.ev){var e=ee.ov+"?comp="+ee.nv+"&clv="+(this.Fi||d.version);if(this.ki&&(e+="&cid="+this.ki.customerKey),e+="&sch="+U.Dr,!this.ki)return e;this.ev=e}return this.ev}}).nv="sdkjs",ee.ov="https://pings.conviva.com/ping.ping",et=eu.rv={uv:4294967295,hv:2147483647,av:-2147483648,vd:function(){return Math.floor(Math.random()*et.uv)+et.av},Rt:function(){return Math.floor(Math.random()*et.uv)},Fl:function(e,t){return e=Math.ceil(e),Math.floor(Math.random()*((t=Math.floor(t))-e+1))+e}},er=eu.fv={Qc:function(e,t,r,n){return isNaN(e)||"number"!=typeof e||e===n?n:(n=J.jd(e),er.cv(n,t,r))},cv:function(e,t,r){return J.It(r)&&e>r?e=r:J.It(t)&&e<t&&(e=t),e},wn:function(e){return e=-1!==e&&-2!==e?er.Qc(e,0,null,-1):e}},en=eu.StreamerError=function(){var e=this;e.errorCode=null,e.severity=d.ErrorSeverity.FATAL,(function(t,r){e.errorCode=t,e.severity=r}).apply(e,arguments),this.sr=function(){return e.errorCode},this.rr=function(){return e.severity}},ei=eu.HttpClient=function(e,t,r,n){this.bi=t,this.dv=r,this.g=n,this.Bd=function(e,t,r,n,i){var a=1e3*this.g.httpTimeout,o=null;
7i&&(o=this.dv.Rd(i,a,"HTTP timeout")),this.bi.makeRequest(e,t,r,n,a,o)}},(ea=eu.Logger=function(e,t,r,n,i){this.Li=e,this.mi=t,this.O=r,this.Hi=n,this.Vi=i,this.debug=function(e){this.log(e,E.LogLevel.DEBUG)},this.info=function(e){this.log(e,E.LogLevel.INFO)},this.warning=function(e){this.log(e,E.LogLevel.WARNING)},this.error=function(e){this.log(e,E.LogLevel.ERROR)},this.log=function(e,t){e=this.Ev(e,t),this.Hi.vr(e),this.O.logLevel<=t&&this.Li.consoleLog(e,t)},this._v=function(e){return"["+this.kn+"] "+e},this.pv=function(e){return"["+this.Vi+"] "+e},this.Rv=function(e){return"[Conviva] "+e},this.Av=function(e){return"["+(this.mi.getEpochTimeMs()/1e3).toFixed(3).toString()+"] "+e},this.Tv=function(e,t){return"["+ea.vv(t)+"] "+e},this.Sv=function(e){return e=this.Ov?"sid="+this.Ov+" "+e:e},this.Yh=function(e){this.Ov=e},this.setModuleName=function(e){this.kn=e},this.Ev=function(e,t){return this.Rv(this.Av(this.Tv(this.pv(this._v(this.Sv(e))),t)))}}).vv=function(e){var t;switch(e){case E.LogLevel.ERROR:t="ERROR";break;case E.LogLevel.WARNING:t="WARNING";break;case E.LogLevel.INFO:t="INFO";break;case E.LogLevel.DEBUG:t="DEBUG"}return t},eu.Storage=function(e,t,r,n){this.Pi=t,this.dv=r,this.g=n,this.Et=function(e,t){t=this.dv.Rd(t,1e3*this.g.storageTimeout,"storage load timeout"),this.Pi.loadData(eu.Storage.gv,e,t)},this.Cl=function(e,t,r){r=this.dv.Rd(r,1e3*this.g.storageTimeout,"storage save timeout"),this.Pi.saveData(eu.Storage.gv,e,t,r)}},eu.Storage.gv="Conviva",(eo=eu.SystemMetadata=function(e,t,r){this.Mi=t,this.N=r,this.Nv=null,this.get=function(){return this.Nv||this.retrieve(),this.Nv},this.retrieve=function(){var e,t={},r=(t[eo.BROWSER_NAME]=this.Mi.getBrowserName,t[eo.BROWSER_VERSION]=this.Mi.getBrowserVersion,t[eo.DEVICE_BRAND]=this.Mi.getDeviceBrand,t[eo.DEVICE_MANUFACTURER]=this.Mi.getDeviceManufacturer,t[eo.DEVICE_MODEL]=this.Mi.getDeviceModel,t[eo.DEVICE_TYPE]=this.Mi.getDeviceType,t[eo.DEVICE_VERSION]=this.Mi.getDeviceVersion,t[eo.FRAMEWORK_NAME]=this.Mi.getFrameworkName,t[eo.FRAMEWORK_VERSION]=this.Mi.getFrameworkVersion,t[eo.OPERATING_SYSTEM_NAME]=this.Mi.getOperatingSystemName,t[eo.OPERATING_SYSTEM_VERSION]=this.Mi.getOperatingSystemVersion,t[eo.DEVICE_CATEGORY]=this.Mi.getDeviceCategory,t[eo.SCREEN_WIDTH]=this.Mi.getScreenWidth,t[eo.SCREEN_HEIGHT]=this.Mi.getScreenHeight,t[eo.SCALE_FACTOR]=this.Mi.getScaleFactor,this);for(e in t)(function(e,t){r.N.F("Session.getSystemMetadataSchema(): "+e,function(){var n=t[e];t[e]=n.call(r.Mi)})})(e,t),J.Pt(t[e])||delete t[e];var n=!1;if(void 0!==t[eo.DEVICE_TYPE]){for(var i in d.DeviceType)if(t[eo.DEVICE_TYPE]===d.DeviceType[i]){n=!0;break}n||delete t[eo.DEVICE_TYPE]}if(n=!1,void 0!==t[eo.DEVICE_CATEGORY]){for(var a in d.DeviceCategory)if(t[eo.DEVICE_CATEGORY]===d.DeviceCategory[a]){n=!0;break}n||delete t[eo.DEVICE_CATEGORY]}this.Nv=J.xd(t)}}).BROWSER_NAME="browserName",eo.BROWSER_VERSION="browserVersion",eo.DEVICE_BRAND="deviceBrand",eo.DEVICE_MANUFACTURER="deviceManufacturer",eo.DEVICE_MODEL="deviceModel",eo.DEVICE_TYPE="deviceType",eo.DEVICE_VERSION="deviceVersion",eo.FRAMEWORK_NAME="frameworkName",eo.FRAMEWORK_VERSION="frameworkVersion",eo.OPERATING_SYSTEM_NAME="operatingSystemName",eo.OPERATING_SYSTEM_VERSION="operatingSystemVersion",eo.DEVICE_CATEGORY="deviceCategory",eo.SCREEN_WIDTH="screenWidth",eo.SCREEN_HEIGHT="screenHeight",eo.SCALE_FACTOR="scaleFactor",es=eu.Time=function(e,t){this.mi=e,this.R=t,this.current=function(){var e=this.mi.getEpochTimeMs();return J.It(e),e}},el=eu.Timer=function(e,t,r){var n=this;this.Di=t,this.N=r,this.create=function(e,t,r){return this.createTimer(function(){n.N.F(r,function(){e()})},t,r)},this.createOnce=function(e,t,r){var i={cancel:null};return i.cancel=this.createTimer(function(){n.N.F(r,function(){i&&"function"==typeof i.cancel&&(i.cancel(),i.cancel=null,i=null),e()})},t,r),i.cancel},this.createTimer=function(e,t,r){return this.Di.createTimer(e,t,r)}}}(),e})?n.call(t,r,t,e):n)&&(e.exports=i),void 0===this||!this||this.Conviva||this.ConvivaLoading||(this.ConvivaLoading=!0,this.Conviva=a(),delete this.ConvivaLoading)},48711:function(e,t,r){"use strict";r.d(t,{Z:function(){return z}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepe
7nd?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),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){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var r=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]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEac
vendor: 4,911 bytes, line 7
7h(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function d(e){return e.length}function h(e,t){return t.push(e),e}var p=1,f=1,m=0,g=0,v=0,y="";function b(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:p,column:f,length:o,return:""}}function S(e,t){return o(b("",null,null,"",null,null,0),e,{length:-e.length},t)}function w(){return v=g<m?u(y,g++):0,f++,10===v&&(f=1,p++),v}function x(){return u(y,g)}function E(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 T(e){return p=f=1,m=d(y=e),g=0,[]}function k(e){var t,r;return(t=g-1,r=function e(t){for(;w();)switch(v){case t:return g;case 34:case 39:34!==t&&39!==t&&e(v);break;case 40:41===t&&e(t);break;case 92:w()}return g}(91===e?e+2:40===e?e+1:e),c(y,t,r)).trim()}var C="-ms-",_="-moz-",P="-webkit-",A="comm",N="rule",I="decl",R="@keyframes";function O(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function L(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case I:return e.return=e.return||e.value;case A:return"";case R:return e.return=e.value+"{"+O(e.children,n)+"}";case N:e.value=e.props.join(",")}return d(r=O(e.children,n))?e.return=e.value+"{"+r+"}":""}function D(e,t,r,n,a,o,l,u,d,h,p){for(var f=a-1,m=0===a?o:[""],g=m.length,v=0,y=0,S=0;v<n;++v)for(var w=0,x=c(e,f+1,f=i(y=l[v])),E=e;w<g;++w)(E=(y>0?m[w]+" "+x:s(x,/&\f/g,m[w])).trim())&&(d[S++]=E);return b(e,t,r,0===a?N:u,d,h,p)}function M(e,t,r,n){return b(e,t,r,I,c(e,0,n),c(e,n+1,-1),n)}var Z=function(e,t,r){for(var n=0,i=0;n=i,i=x(),38===n&&12===i&&(t[r]=1),!E(i);)w();return c(y,e,g)},F=function(e,t){var r=-1,n=44;do switch(E(n)){case 0:38===n&&12===x()&&(t[r]=1),e[r]+=Z(g-1,t,r);break;case 2:e[r]+=k(n);break;case 4:if(44===n){e[++r]=58===x()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=a(n)}while(n=w());return e},j=function(e,t){var r;return r=F(T(e),t),y="",r},B=new WeakMap,U=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||B.get(r))&&!n){B.set(e,!0);for(var i=[],a=j(t,i),o=r.props,s=0,l=0;s<a.length;s++)for(var u=0;u<o.length;u++,l++)e.props[l]=i[s]?a[s].replace(/&\f/g,o[u]):o[u]+" "+a[s]}}},$=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},V=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case I:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return P+"print-"+t+t;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 P+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return P+t+_+t+C+t+t;case 6828:case 4268:return P+t+C+t+t;case 6165:return P+t+C+"flex-"+t+t;case 5187:return P+t+s(t,/(\w+).+(:[^]+)/,P+"box-$1$2"+C+"flex-$1$2")+t;case 5443:return P+t+C+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return P+t+C+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return P+t+C+s(t,"shrink","negative")+t;case 5292:return P+t+C+s(t,"basis","preferred-size")+t;case 6060:return P+"box-"+s(t,"-grow","")+P+t+C+s(t,"grow","positive")+t;case 4554:return P+s(t,/([^-])(transform)/g,"$1"+P+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,P+"$1"),/(image-set)/,P+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,P+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,P+"box-pack:$3"+C+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+P+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,P+"$1$2")+t;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(d(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+P+"$2-$3$1"+_+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,d(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+P)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+P+(45===u(t,14)?"inline-":"")+"box$3$1"+P+"$2$3$1"+C+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return P+t+C+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
7case 108:return P+t+C+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return P+t+C+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return P+t+C+t+t}return t}(e.value,e.length);break;case R:return O([S(e,{value:s(e.value,"@","@"+P)})],n);case N:if(e.length)return e.props.map(function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return O([S(e,{props:[s(t,/:(read-\w+)/,":"+_+"$1")]})],n);case"::placeholder":return O([S(e,{props:[s(t,/:(plac\w+)/,":"+P+"input-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,":"+_+"$1")]}),S(e,{props:[s(t,/:(plac\w+)/,C+"input-$1")]})],n)}return""}).join("")}}],z=function(e){var t,r,i,o,m,S=e.key;if("css"===S){var C=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(C,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var _=e.stylisPlugins||V,P={},N=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+S+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)P[t[r]]=!0;N.push(e)});var I=(r=(t=[U,$].concat(_,[L,(i=function(e){m.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,n,i,a){for(var o="",s=0;s<r;s++)o+=t[s](e,n,i,a)||"";return o}),R=function(e){var t,r;return O((r=function e(t,r,n,i,o,m,S,T,C){for(var _,P=0,N=0,I=S,R=0,O=0,L=0,Z=1,F=1,j=1,B=0,U="",$=o,V=m,z=i,H=U;F;)switch(L=B,B=w()){case 40:if(108!=L&&58==u(H,I-1)){-1!=l(H+=s(k(B),"&","&\f"),"&\f")&&(j=-1);break}case 34:case 39:case 91:H+=k(B);break;case 9:case 10:case 13:case 32:H+=function(e){for(;v=x();)if(v<33)w();else break;return E(e)>2||E(v)>3?"":" "}(L);break;case 92:H+=function(e,t){for(var r;--t&&w()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return r=g+(t<6&&32==x()&&32==w()),c(y,e,r)}(g-1,7);continue;case 47:switch(x()){case 42:case 47:h(b(_=function(e,t){for(;w();)if(e+v===57)break;else if(e+v===84&&47===x())break;return"/*"+c(y,t,g-1)+"*"+a(47===e?e:w())}(w(),g),r,n,A,a(v),c(_,2,-2),0),C);break;default:H+="/"}break;case 123*Z:T[P++]=d(H)*j;case 125*Z:case 59:case 0:switch(B){case 0:case 125:F=0;case 59+N:-1==j&&(H=s(H,/\f/g,"")),O>0&&d(H)-I&&h(O>32?M(H+";",i,n,I-1):M(s(H," ","")+";",i,n,I-2),C);break;case 59:H+=";";default:if(h(z=D(H,r,n,P,N,o,T,U,$=[],V=[],I),m),123===B){if(0===N)e(H,r,z,z,$,m,I,T,V);else switch(99===R&&110===u(H,3)?100:R){case 100:case 108:case 109:case 115:e(t,z,z,i&&h(D(t,z,z,0,0,o,T,U,o,$=[],I),V),o,V,I,T,i?$:V);break;default:e(H,z,z,z,[""],V,0,T,V)}}}P=N=O=0,Z=j=1,U=H="",I=S;break;case 58:I=1+d(H),O=L;default:if(Z<1){if(123==B)--Z;else if(125==B&&0==Z++&&125==(v=g>0?u(y,--g):0,f--,10===v&&(f=1,p--),v))continue}switch(H+=a(B),B*Z){case 38:j=N>0?1:(H+="\f",-1);break;case 44:T[P++]=(d(H)-1)*j,j=1;break;case 64:45===x()&&(H+=k(w())),R=x(),N=I=d(U=H+=function(e){for(;!E(x());)w();return c(y,e,g)}(g)),B++;break;case 45:45===L&&2==d(H)&&(Z=0)}}return m}("",null,null,null,[""],t=T(t=e),0,[0],t),y="",r),I)},Z={key:S,sheet:new n({key:S,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:P,registered:{},insert:function(e,t,r,n){m=r,R(e?e+"{"+t.styles+"}":t.styles),n&&(Z.inserted[t.name]=!0)}};return Z.sheet.hydrate(N),Z}},45042:function(e,t,r){"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:function(){return n}})},87685:function(e,t,r){"use strict";r.d(t,{C:function(){return u},E:function(){return g},T:function(){return d},c:function(){return f},h:function(){return h},w:function(){return c}});var n=r(67294),i=r(48711),a=r(70444),o=r(85662),s=r(27278),l=n.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null),u=l.Provider,c=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(l),r)})},d=n.createContext({}),h={}.hasOwnProperty,p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",f=function(e,t){var r={};for(var n in t)h.call(t,n)&&(r[n]=t[n]);return r[p]=e,r},m=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,a.hC)(t,r,n),(0,s.L)(function(){return(0,a.My)(t,r,n)}),null},g=c(function(e,t,r){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var s=e[p],l=[i],u="";"string"==typeof e.className?u=(0,a.fp)(t.registered,l,e.className):null!=e.className&&(u=e.className+" ");var c=(0,o.O)(l,void 0,n.useContext(d));u+=t.key+"-"+c.name;var f={};
7for(var g in e)h.call(e,g)&&"css"!==g&&g!==p&&(f[g]=e[g]);return f.className=u,r&&(f.ref=r),n.createElement(n.Fragment,null,n.createElement(m,{cache:t,serialized:c,isStringTag:"string"==typeof s}),n.createElement(s,f))})},70917:function(e,t,r){"use strict";r.d(t,{F4:function(){return p},iv:function(){return h},xB:function(){return d}});var n,i,a=r(87685),o=r(67294),s=r(70444),l=r(27278),u=r(85662);r(48711),r(8679);var c=function(e,t){var r=arguments;if(null==t||!a.h.call(t,"css"))return o.createElement.apply(void 0,r);var n=r.length,i=Array(n);i[0]=a.E,i[1]=(0,a.c)(e,t);for(var s=2;s<n;s++)i[s]=r[s];return o.createElement.apply(null,i)};n=c||(c={}),i||(i=n.JSX||(n.JSX={}));var d=(0,a.w)(function(e,t){var r=e.styles,n=(0,u.O)([r],void 0,o.useContext(a.T)),i=o.useRef();return(0,l.j)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(a=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),i.current=[r,a],function(){r.flush()}},[t]),(0,l.j)(function(){var e=i.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==n.next&&(0,s.My)(t,n.next,!0),r.tags.length){var a=r.tags[r.tags.length-1].nextElementSibling;r.before=a,r.flush()}t.insert("",n,r,!1)},[t,n.name]),null});function h(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,u.O)(t)}function p(){var e=h.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_"}}}},35944:function(e,t,r){"use strict";r.d(t,{BX:function(){return s},HY:function(){return a},tZ:function(){return o}});var n=r(85893),i=r(87685);r(67294),r(48711),r(8679),r(85662),r(27278);var a=n.Fragment,o=function(e,t,r){return i.h.call(t,"css")?n.jsx(i.E,(0,i.c)(e,t),r):n.jsx(e,t,r)},s=function(e,t,r){return i.h.call(t,"css")?n.jsxs(i.E,(0,i.c)(e,t),r):n.jsxs(e,t,r)}},85662:function(e,t,r){"use strict";r.d(t,{O:function(){return f}});var n,i={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},a=r(45042),o=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},c=(0,a.Z)(function(e){return l(e)?e:e.replace(o,"-$&").toLowerCase()}),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===i[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)n={name:i.name,styles:i.styles,next:n},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=h(e,t,r[i])+";";else for(var a in r){var o=r[a];if("object"!=typeof o)null!=t&&void 0!==t[o]?n+=a+"{"+t[o]+"}":u(o)&&(n+=c(a)+":"+d(a,o)+";");else if(Array.isArray(o)&&"string"==typeof o[0]&&(null==t||void 0===t[o[0]]))for(var s=0;s<o.length;s++)u(o[s])&&(n+=c(a)+":"+d(a,o[s])+";");else{var l=h(e,t,o);switch(a){case"animation":case"animationName":n+=c(a)+":"+l+";";break;default:n+=a+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var a=n,o=r(e);return n=a,h(e,t,o)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var p=/label:\s*([^\s;{]+)\s*(;|$)/g;function f(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i,a=!0,o="";n=void 0;var s=e[0];null==s||void 0===s.raw?(a=!1,o+=h(r,t,s)):o+=s[0];for(var l=1;l<e.length;l++)o+=h(r,t,e[l]),a&&(o+=s[l]);p.lastIndex=0;for(var u="";null!==(i=p.exec(o));)u+="-"+i[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>
7>16)*59797<<16),t^=t>>>24,r=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&r)*1540483477+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*1540483477+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(o)+u,styles:o,next:n}}},27278:function(e,t,r){"use strict";r.d(t,{L:function(){return o},j:function(){return s}});var n,i=r(67294),a=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,o=a||function(e){return e()},s=a||i.useLayoutEffect},70444:function(e,t,r){"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{My:function(){return a},fp:function(){return n},hC:function(){return i}});var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next;while(void 0!==a)}}},32956:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var n=r(67294),i=r(90512),a=r(94780);function o(e){try{return e.matches(":focus-visible")}catch(e){}return!1}var s=r(31396),l=r(28628),u=r(33703).Z,c=r(73546),d=function(e){let t=n.useRef(e);return(0,c.Z)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current};let h={};function p(e,t){let r=n.useRef(h);return r.current===h&&(r.current=e(t)),r}class f{static create(){return new f}static use(){let e=p(f.create).current,[t,r]=n.useState(!1);return e.shouldMount=t,e.setShouldMount=r,n.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;let r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}var m=r(63366),g=r(87462),v=r(75068),y=n.createContext(null);function b(e,t){var r=Object.create(null);return e&&n.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,n.isValidElement)(e)?t(e):e}),r}function S(e,t,r){return null!=r[t]?r[t]:e.props[t]}var w=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},x=function(e){function t(t,r){var n,i=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}(0,v.Z)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,i,a=t.children,o=t.handleExited;
7return{children:t.firstRender?b(e.children,function(t){return(0,n.cloneElement)(t,{onExited:o.bind(null,t),in:!0,appear:S(t,"appear",e),enter:S(t,"enter",e),exit:S(t,"exit",e)})}):(Object.keys(i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,i=Object.create(null),a=[];for(var o in e)o in t?a.length&&(i[o]=a,a=[]):a.push(o);var s={};for(var l in t){if(i[l])for(n=0;n<i[l].length;n++){var u=i[l][n];s[i[l][n]]=r(u)}s[l]=r(l)}for(n=0;n<a.length;n++)s[a[n]]=r(a[n]);return s}(a,r=b(e.children))).forEach(function(t){var s=i[t];if((0,n.isValidElement)(s)){var l=t in a,u=t in r,c=a[t],d=(0,n.isValidElement)(c)&&!c.props.in;u&&(!l||d)?i[t]=(0,n.cloneElement)(s,{onExited:o.bind(null,s),in:!0,exit:S(s,"exit",e),enter:S(s,"enter",e)}):u||!l||d?u&&l&&(0,n.isValidElement)(c)&&(i[t]=(0,n.cloneElement)(s,{onExited:o.bind(null,s),in:c.props.in,exit:S(s,"exit",e),enter:S(s,"enter",e)})):i[t]=(0,n.cloneElement)(s,{in:!1})}}),i),firstRender:!1}},r.handleExited=function(e,t){var r=b(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,g.Z)({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,i=(0,m.Z)(e,["component","childFactory"]),a=this.state.contextValue,o=w(this.state.children).map(r);return(delete i.appear,delete i.enter,delete i.exit,null===t)?n.createElement(y.Provider,{value:a},o):n.createElement(y.Provider,{value:a},n.createElement(t,i,o))},t}(n.Component);x.propTypes={},x.defaultProps={component:"div",childFactory:function(e){return e}};let E=[];class T{static create(){return new T}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}var k=r(70917),C=r(85893),_=r(1588);let P=(0,_.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),A=k.F4`
8  0% {
9    transform: scale(0);
10    opacity: 0.1;
11  }
12
13  100% {
14    transform: scale(1);
15    opacity: 0.3;
16  }
17`,N=k.F4`
18  0% {
19    opacity: 1;
20  }
21
22  100% {
23    opacity: 0;
24  }
25`,I=k.F4`
26  0% {
27    transform: scale(1);
28  }
29
30  50% {
31    transform: scale(0.92);
32  }
33
34  100% {
35    transform: scale(1);
36  }
37`,R=(0,s.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),O=(0,s.ZP)(function(e){let{className:t,classes:r,pulsate:a=!1,rippleX:o,rippleY:s,rippleSize:l,in:u,onExited:c,timeout:d}=e,[h,p]=n.useState(!1),f=(0,i.Z)(t,r.ripple,r.rippleVisible,a&&r.ripplePulsate),m=(0,i.Z)(r.child,h&&r.childLeaving,a&&r.childPulsate);return u||h||p(!0),n.useEffect(()=>{if(!u&&null!=c){let e=setTimeout(c,d);return()=>{clearTimeout(e)}}},[c,u,d]),(0,C.jsx)("span",{className:f,style:{width:l,height:l,top:-(l/2)+s,left:-(l/2)+o},children:(0,C.jsx)("span",{className:m})})},{name:"MuiTouchRipple",slot:"Ripple"})`
38  opacity: 0;
39  position: absolute;
40
41  &.${P.rippleVisible} {
42    opacity: 0.3;
43    transform: scale(1);
44    animation-name: ${A};
45    animation-duration: ${550}ms;
46    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
47  }
48
49  &.${P.ripplePulsate} {
50    animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
51  }
52
53  & .${P.child} {
54    opacity: 1;
55    display: block;
56    width: 100%;
57    height: 100%;
58    border-radius: 50%;
59    background-color: currentColor;
60  }
61
62  & .${P.childLeaving} {
63    opacity: 0;
64    animation-name: ${N};
65    animation-duration: ${550}ms;
66    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
67  }
68
69  & .${P.childPulsate} {
70    position: absolute;
71    /* @noflip */
72    left: 0px;
73    top: 0;
74    animation-name: ${I};
75    animation-duration: 2500ms;
76    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
77    animation-iteration-count: infinite;
78    animation-delay: 200ms;
79  }
80`,L=n.forwardRef(function(e,t){let r=(0,l.i)({props:e,name:"MuiTouchRipple"}),{center:a=!1,classes:o={},className:s,...u}=r,[c,d]=n.useState([]),h=n.useRef(0),f=n.useRef(null);n.useEffect(()=>{f.current&&(f.current(),f.current=null)},[c]);let m=n.useRef(!1),g=function(){var e;let t=p(T.create).current;return e=t.disposeEffect,n.useEffect(e,E),t}(),v=n.useRef(null),y=n.useRef(null),b=n.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:s}=e;d(e=>[...e,(0,C.jsx)(O,{classes:{ripple:(0,i.Z)(o.ripple,P.ripple),rippleVisible:(0,i.Z)(o.rippleVisible,P.rippleVisible),ripplePulsate:(0,i.Z)(o.ripplePulsate,P.ripplePulsate),
80child:(0,i.Z)(o.child,P.child),childLeaving:(0,i.Z)(o.childLeaving,P.childLeaving),childPulsate:(0,i.Z)(o.childPulsate,P.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},h.current)]),h.current+=1,f.current=s},[o]),S=n.useCallback((e={},t={},r=()=>{})=>{let n,i,o;let{pulsate:s=!1,center:l=a||t.pulsate,fakeElement:u=!1}=t;if(e?.type==="mousedown"&&m.current){m.current=!1;return}e?.type==="touchstart"&&(m.current=!0);let c=u?null:y.current,d=c?c.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!l&&void 0!==e&&(0!==e.clientX||0!==e.clientY)&&(e.clientX||e.touches)){let{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;n=Math.round(t-d.left),i=Math.round(r-d.top)}else n=Math.round(d.width/2),i=Math.round(d.height/2);if(l)(o=Math.sqrt((2*d.width**2+d.height**2)/3))%2==0&&(o+=1);else{let e=2*Math.max(Math.abs((c?c.clientWidth:0)-n),n)+2,t=2*Math.max(Math.abs((c?c.clientHeight:0)-i),i)+2;o=Math.sqrt(e**2+t**2)}e?.touches?null===v.current&&(v.current=()=>{b({pulsate:s,rippleX:n,rippleY:i,rippleSize:o,cb:r})},g.start(80,()=>{v.current&&(v.current(),v.current=null)})):b({pulsate:s,rippleX:n,rippleY:i,rippleSize:o,cb:r})},[a,b,g]),w=n.useCallback(()=>{S({},{pulsate:!0})},[S]),k=n.useCallback((e,t)=>{if(g.clear(),e?.type==="touchend"&&v.current){v.current(),v.current=null,g.start(0,()=>{k(e,t)});return}v.current=null,d(e=>e.length>0?e.slice(1):e),f.current=t},[g]);return n.useImperativeHandle(t,()=>({pulsate:w,start:S,stop:k}),[w,S,k]),(0,C.jsx)(R,{className:(0,i.Z)(P.root,o.root,s),ref:y,...u,children:(0,C.jsx)(x,{component:null,exit:!0,children:c})})});var D=r(34867);function M(e){return(0,D.ZP)("MuiButtonBase",e)}let Z=(0,_.Z)("MuiButtonBase",["root","disabled","focusVisible"]),F=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,o=(0,a.Z)({root:["root",t&&"disabled",r&&"focusVisible"]},M,i);return r&&n&&(o.root+=` ${n}`),o},j=(0,s.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Z.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),B=n.forwardRef(function(e,t){let r=(0,l.i)({props:e,name:"MuiButtonBase"}),{action:a,centerRipple:s=!1,children:c,className:h,component:p="button",disabled:m=!1,disableRipple:g=!1,disableTouchRipple:v=!1,focusRipple:y=!1,focusVisibleClassName:b,LinkComponent:S="a",onBlur:w,onClick:x,onContextMenu:E,onDragLeave:T,onFocus:k,onFocusVisible:_,onKeyDown:P,onKeyUp:A,onMouseDown:N,onMouseLeave:I,onMouseUp:R,onTouchEnd:O,onTouchMove:D,onTouchStart:M,tabIndex:Z=0,TouchRippleProps:B,touchRippleRef:$,type:V,...z}=r,H=n.useRef(null),G=f.use(),q=u(G.ref,$),[K,W]=n.useState(!1);m&&K&&W(!1),n.useImperativeHandle(a,()=>({focusVisible:()=>{W(!0),H.current.focus()}}),[]);let X=G.shouldMount&&!g&&!m;n.useEffect(()=>{K&&y&&!g&&G.pulsate()},[g,y,K,G]);let Y=U(G,"start",N,v),J=U(G,"stop",E,v),Q=U(G,"stop",T,v),ee=U(G,"stop",R,v),et=U(G,"stop",e=>{K&&e.preventDefault(),I&&I(e)},v),er=U(G,"start",M,v),en=U(G,"stop",O,v),ei=U(G,"stop",D,v),ea=U(G,"stop",e=>{o(e.target)||W(!1),w&&w(e)},!1),eo=d(e=>{H.current||(H.current=e.currentTarget),o(e.target)&&(W(!0),_&&_(e)),k&&k(e)}),es=()=>{let e=H.current;return p&&"button"!==p&&!("A"===e.tagName&&e.href)},el=d(e=>{y&&!e.repeat&&K&&" "===e.key&&G.stop(e,()=>{G.start(e)}),e.target===e.currentTarget&&es()&&" "===e.key&&e.preventDefault(),P&&P(e),e.target===e.currentTarget&&es()&&"Enter"===e.key&&!m&&(e.preventDefault(),x&&x(e))}),eu=d(e=>{y&&" "===e.key&&K&&!e.defaultPrevented&&G.stop(e,()=>{G.pulsate(e)}),A&&A(e),x&&e.target===e.currentTarget&&es()&&" "===e.key&&!e.defaultPrevented&&x(e)}),ec=p;"button"===ec&&(z.href||z.to)&&(ec=S);let ed={};"button"===ec?(ed.type=void 0===V?"button":V,ed.disabled=m):(z.href||z.to||(ed.role="button"),m&&(ed["aria-disabled"]=m));let eh=u(t,H),ep={...r,centerRipple:s,component:p,disabled:m,disableRipple:g,disableTouchRipple:v,focusRipple:y,tabIndex:Z,focusVisible:K},ef=F(ep);return(0,C.jsxs)(j,{as:ec,className:(0,i.Z)(ef.root,h),ownerState:ep,onBlur:ea,onClick:x,onContextMenu:J,onFocus:eo,onKeyDown:el,onKeyUp:eu,onMouseDown:Y,onMouseLeave:et,onMouseUp:ee,onDragLeave:Q,onTouchEnd:en,onTouchMove:ei,onTouchStart:er,ref:eh,tabIndex:m?-1:Z,type:V,...ed,...z,children:[c,X?(0,C.jsx)(L,{ref:q,center:s,...B}):null]})});function U(e,t,r,n=!1){return d(i=>(r&&r(i),n||e[t](i),!0))}var $=B},28628:function(e,t,r){"use strict";r.d(t,{i:function(){return i}}),r(67294);var n=r(32842);function i(e){return(0,n.i)(e)}r(85893)},66294:function(e,t,r){"use strict";r(67294);var n=r(25723),i=r(90247),a=r(10606),o=r(85893);t.Z=function(e){return(0,o.jsx)(n.Z,{...e,defaultTheme:i.Z,themeId:a.Z})}},88078:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(67294),i=r(90512),a=r(94780),o=r(38366),s=r(70917),l=r(31396),u=r(16694),c=r(28628),d=r(1588),h=r(34867);function p(e){return(0,h.ZP)("MuiSkeleton",e)}(0,d.Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var f=r(85893);let m=e=>{let{classes:t,variant:r,animation:n,hasChildren:i,width:o,height:s}=e;return(0,a.Z)({root:["root",r,n,i&&"withChildren",i&&!o&&"fitContent",i&&!s&&"heightAuto"]},p,t)},g=s.F4`
81  0% {
82    opacity: 1;
83  }
84
85  50% {
86    opacity: 0.4;
87  }
88
89  100% {
90    opacity: 1;
91  }
92`,v=s.F4`
93  0% {
94    transform: translateX(-100%);
95  }
96
97  50% {
98    /* +0.5s of delay between each loop */
99    transform: translateX(100%);
100  }
101
102  100% {
103    transform: translateX(100%);
104  }
105`,y="string"!=typeof g?s.iv`
106        animation: ${g} 2s ease-in-out 0.5s infinite;
107      `:null,b="string"!=typeof v?s.iv`
108        &::after {
109          animation: ${v} 2s linear 0.5s infinite;
110        }
111      `:null,S=(0,l.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],!1!==r.animation&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})((0,u.Z)(({theme:e})=>{let t=String(e.shape.borderRadius).match(/[\d.\-+]*\s*(.*)/)[1]||"px",r=parseFloat(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,o.Fq)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${t}/${Math.round(r/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:e})=>e.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:e})=>e.hasChildren&&!e.width,style:{maxWidth:"fit-content"}},{props:({ownerState:e})=>e.hasChildren&&!e.height,style:{height:"auto"}},{props:{animation:"pulse"},style:y||{animation:`${g} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
112                90deg,
113                transparent,
114                ${(e.vars||e).palette.action.hover},
115                transparent
116              )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:b||{"&::after":{animation:`${v} 2s linear 0.5s infinite`}}}]}})),w=n.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiSkeleton"}),{animation:n="pulse",className:a,component:o="span",height:s,style:l,variant:u="text",width:d,...h}=r,p={...r,animation:n,component:o,variant:u,hasChildren:!!h.children},g=m(p);return(0,f.jsx)(S,{as:o,ref:t,className:(0,i.Z)(g.root,a),ownerState:p,...h,style:{width:d,height:s,...l}})});var x=w},79627:function(e,t,r){"use strict";r.d(t,{Z:function(){return ee}});var n=r(56535),i=r(4953),a=r(38366),o={black:"#000",white:"#fff"},s={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},l={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},u={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},c={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},d={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},h={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function f(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:o.white,default:o.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackgroun
116d:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}let m=f();function g(){return{text:{primary:o.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:o.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}let v=g();function y(e,t,r,n){let i=n.light||n,o=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,a.$n)(e.main,i):"dark"===t&&(e.dark=(0,a._j)(e.main,o)))}function b(e){let t;let{mode:r="light",contrastThreshold:b=3,tonalOffset:S=.2,...w}=e,x=e.primary||function(e="light"){return"dark"===e?{main:d[200],light:d[50],dark:d[400]}:{main:d[700],light:d[400],dark:d[800]}}(r),E=e.secondary||function(e="light"){return"dark"===e?{main:l[200],light:l[50],dark:l[400]}:{main:l[500],light:l[300],dark:l[700]}}(r),T=e.error||function(e="light"){return"dark"===e?{main:u[500],light:u[300],dark:u[700]}:{main:u[700],light:u[400],dark:u[800]}}(r),k=e.info||function(e="light"){return"dark"===e?{main:h[400],light:h[300],dark:h[700]}:{main:h[700],light:h[500],dark:h[900]}}(r),C=e.success||function(e="light"){return"dark"===e?{main:p[400],light:p[300],dark:p[700]}:{main:p[800],light:p[500],dark:p[900]}}(r),_=e.warning||function(e="light"){return"dark"===e?{main:c[400],light:c[300],dark:c[700]}:{main:"#ed6c02",light:c[500],dark:c[900]}}(r);function P(e){let t=(0,a.mi)(e,v.text.primary)>=b?v.text.primary:m.text.primary;return t}let A=({color:e,name:t,mainShade:r=500,lightShade:i=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw Error((0,n.Z)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw Error((0,n.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return y(e,"light",i,S),y(e,"dark",a,S),e.contrastText||(e.contrastText=P(e.main)),e};"light"===r?t=f():"dark"===r&&(t=g());let N=(0,i.Z)({common:{...o},mode:r,primary:A({color:x,name:"primary"}),secondary:A({color:E,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:T,name:"error"}),warning:A({color:_,name:"warning"}),info:A({color:k,name:"info"}),success:A({color:C,name:"success"}),grey:s,contrastThreshold:b,getContrastText:P,augmentColor:A,tonalOffset:S,...t},w);return N}var S=r(98373),w=r(6943);let x=(e,t,r,n=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=r:i&&"object"==typeof i&&(i[e]=r):i&&"object"==typeof i&&(i[e]||(i[e]=n.includes(e)?[]:{}),i=i[e])})},E=(e,t,r)=>{!function e(n,i=[],a=[]){Object.entries(n).forEach(([n,o])=>{r&&(!r||r([...i,n]))||null==o||("object"==typeof o&&Object.keys(o).length>0?e(o,[...i,n],Array.isArray(o)?[...a,n]:a):t([...i,n],o,a))})}(e)},T=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t)))return t;let r=e[e.length-1];return r.toLowerCase().includes("opacity")?t:`${t}px`}return t};function k(e,t){let{prefix:r,shouldSkipGeneratingVar:n}=t||{},i={},a={},o={};return E(e,(e,t,s)=>{if(("string"==typeof t||"number"==typeof t)&&(!n||!n(e,t))){let n=`--${r?`${r}-`:""}${e.join("-")}`,l=T(e,t);Object.assign(i,{[n]:l}),x(a,e,`var(${n})`,s),x(o,e,`var(${n}, ${l})`,s)}},e=>"vars"===e[0]),{css:i,vars:a,varsWithDefaults:o}}var C=function(e,t={}){let{getSelector:r=function(t,r){let n=a;if("class"===a&&(n=".%s"),"data"===a&&(n="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(n=`[${a}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";let n=o[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"},disableCssColorScheme:n,colorSchemeSelector:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:l="light",...u}=e,{vars:c,css:d,varsWithDefaults:h}=k(u,t),p=h,f={},{[l]:m,...g}=o;if(Object.entries(g||{}
116).forEach(([e,r])=>{let{vars:n,css:a,varsWithDefaults:o}=k(r,t);p=(0,i.Z)(p,o),f[e]={css:a,vars:n}}),m){let{css:e,vars:r,varsWithDefaults:n}=k(m,t);p=(0,i.Z)(p,n),f[l]={css:e,vars:r}}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(f).forEach(([,{vars:t}])=>{e=(0,i.Z)(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||"light";function a(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}a(r(void 0,{...d}),d);let{[i]:s,...l}=f;if(s){let{css:e}=s,t=o[i]?.palette?.mode,l=!n&&t?{colorScheme:t,...e}:{...e};a(r(i,{...l}),l)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=o[e]?.palette?.mode,s=!n&&i?{colorScheme:i,...t}:{...t};a(r(e,{...s}),s)}),t}}},_=r(35387),P=r(86523),A=r(78136),N=r(71445);function I(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}let R=["none",I(0,2,1,-1,0,1,1,0,0,1,3,0),I(0,3,1,-2,0,2,2,0,0,1,5,0),I(0,3,3,-2,0,3,4,0,0,1,8,0),I(0,2,4,-1,0,4,5,0,0,1,10,0),I(0,3,5,-1,0,5,8,0,0,1,14,0),I(0,3,5,-1,0,6,10,0,0,1,18,0),I(0,4,5,-2,0,7,10,1,0,2,16,1),I(0,5,5,-3,0,8,10,1,0,3,14,2),I(0,5,6,-3,0,9,12,1,0,3,16,2),I(0,6,6,-3,0,10,14,1,0,4,18,3),I(0,6,7,-4,0,11,15,1,0,4,20,3),I(0,7,8,-4,0,12,17,2,0,5,22,4),I(0,7,8,-4,0,13,19,2,0,5,24,4),I(0,7,9,-4,0,14,21,2,0,5,26,4),I(0,8,9,-5,0,15,22,2,0,6,28,5),I(0,8,10,-5,0,16,24,2,0,6,30,5),I(0,8,11,-5,0,17,26,2,0,6,32,5),I(0,9,11,-5,0,18,28,2,0,7,34,6),I(0,9,12,-6,0,19,29,2,0,7,36,6),I(0,10,13,-6,0,20,31,3,0,8,38,7),I(0,10,13,-6,0,21,33,3,0,8,40,7),I(0,10,14,-6,0,22,35,3,0,8,42,7),I(0,11,14,-7,0,23,36,3,0,9,44,8),I(0,11,15,-7,0,24,38,3,0,9,46,8)],O={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},L={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function D(e){return`${Math.round(e)}ms`}function M(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}var Z={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function F(e={}){let t={...e};return!function e(t){let r=Object.entries(t);for(let n=0;n<r.length;n++){let[a,o]=r[n];!((0,i.P)(o)||void 0===o||"string"==typeof o||"boolean"==typeof o||"number"==typeof o||Array.isArray(o))||a.startsWith("unstable_")?delete t[a]:(0,i.P)(o)&&(t[a]={...o},e(t[a]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
117
118const theme = ${JSON.stringify(t,null,2)};
119
120theme.breakpoints = createBreakpoints(theme.breakpoints || {});
121theme.transitions = createTransitions(theme.transitions || {});
122
123export default theme;`}var j=function(e={},...t){var r;let{breakpoints:a,mixins:o={},spacing:s,palette:l={},transitions:u={},typography:c={},shape:d,...h}=e;if(e.vars&&void 0===e.generateThemeVars)throw Error((0,n.Z)(20));let p=b(l),f=(0,A.Z)(e),m=(0,i.Z)(f,{mixins:{toolbar:{minHeight:56,[(r=f.breakpoints).up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}},...o},palette:p,shadows:R.slice(),typography:(0,N.Z)(p,c),transitions:function(e){let t={...O,...e.easing},r={...L,...e.duration};return{getAutoHeightDuration:M,create:(e=["all"],n={})=>{let{duration:i=r.standard,easing:a=t.easeInOut,delay:o=0,...s}=n;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:D(i)} ${a} ${"string"==typeof o?o:D(o)}`).join(",")},...e,easing:t,duration:r}}(u),zIndex:{...Z}});return m=(0,i.Z)(m,h),(m=t.reduce((e,t)=>(0,i.Z)(e,t),m)).unstable_sxConfig={..._.Z,...h?.unstable_sxConfig},m.unstable_sx=function(e){return(0,P.Z)({sx:e,theme:this})},m.toRuntimeSource=F,m},B=r(72029);let U=[...Array(25)].map((e,t)=>{if(0===t)return"none";let r=(0,B.Z)(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function $(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function V(e){return"dark"===e?U:[]}function z(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var H=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],G=e=>(t,r)=>{let n=e.rootSelector||":root",i=e.colorSchemeSelector,a=i;if("class"===i&&(a=".%s"),"data"===i&&(a="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if("dark"===t){let i={};
123return(H(e.cssVarPrefix).forEach(e=>{i[e]=r[e],delete r[e]}),"media"===a)?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:i}}:a?{[a.replace("%s",t)]:i,[`${n}, ${a.replace("%s",t)}`]:r}:{[n]:{...r,...i}}}if(a&&"media"!==a)return`${n}, ${a.replace("%s",String(t))}`}else if(t){if("media"===a)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(a)return a.replace("%s",String(t))}return n};function q(e,t,r){!e[t]&&r&&(e[t]=r)}function K(e){return"string"==typeof e&&e.startsWith("hsl")?(0,a.ve)(e):e}function W(e,t){`${t}Channel` in e||(e[`${t}Channel`]=(0,a.LR)(K(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
124To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}let X=e=>{try{return e()}catch(e){}},Y=(e="mui")=>(function(e=""){return(t,...r)=>`var(--${e?`${e}-`:""}${t}${function t(...r){if(!r.length)return"";let n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}(...r)})`})(e);function J(e,t,r,n){if(!t)return;t=!0===t?{}:t;let i="dark"===n?"dark":"light";if(!r){e[n]=function(e){let{palette:t={mode:"light"},opacity:r,overlays:n,...i}=e,a=b(t);return{palette:a,opacity:{...$(a.mode),...r},overlays:n||V(a.mode),...i}}({...t,palette:{mode:i,...t?.palette}});return}let{palette:a,...o}=j({...r,palette:{mode:i,...t?.palette}});return e[n]={...t,palette:a,opacity:{...$(i),...t?.opacity},overlays:t?.overlays||V(i)},o}function Q(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:b({...!0===r?{}:r.palette,mode:t})})}function ee(e={},...t){let{palette:r,cssVariables:o=!1,colorSchemes:s=r?void 0:{light:!0},defaultColorScheme:l=r?.mode,...u}=e,c=l||"light",d=s?.[c],h={...s,...r?{[c]:{..."boolean"!=typeof d&&d,palette:r}}:void 0};if(!1===o){if(!("colorSchemes"in e))return j(e,...t);let n=r;"palette"in e||!h[c]||(!0!==h[c]?n=h[c].palette:"dark"!==c||(n={mode:"dark"}));let i=j({...e,palette:n},...t);return i.defaultColorScheme=c,i.colorSchemes=h,"light"===i.palette.mode&&(i.colorSchemes.light={...!0!==h.light&&h.light,palette:i.palette},Q(i,"dark",h.dark)),"dark"===i.palette.mode&&(i.colorSchemes.dark={...!0!==h.dark&&h.dark,palette:i.palette},Q(i,"light",h.light)),i}return r||"light"in h||"light"!==c||(h.light=!0),function(e={},...t){var r;let{colorSchemes:o={light:!0},defaultColorScheme:s,disableCssColorScheme:l=!1,cssVarPrefix:u="mui",shouldSkipGeneratingVar:c=z,colorSchemeSelector:d=o.light&&o.dark?"media":void 0,rootSelector:h=":root",...p}=e,f=Object.keys(o)[0],m=s||(o.light&&"light"!==f?"light":f),g=Y(u),{[m]:v,light:y,dark:b,...x}=o,E={...x},T=v;if(("dark"!==m||"dark"in o)&&("light"!==m||"light"in o)||(T=!0),!T)throw Error((0,n.Z)(21,m));let k=J(E,T,p,m);y&&!E.light&&J(E,y,void 0,"light"),b&&!E.dark&&J(E,b,void 0,"dark");let A={defaultColorScheme:m,...k,cssVarPrefix:u,colorSchemeSelector:d,rootSelector:h,getCssVar:g,colorSchemes:E,font:{...function(e){let t={},r=Object.entries(e);return r.forEach(e=>{let[r,n]=e;"object"==typeof n&&(t[r]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)}),t}(k.typography),...k.font},spacing:"number"==typeof(r=p.spacing)?`${r}px`:"string"==typeof r||"function"==typeof r||Array.isArray(r)?r:"8px"};Object.keys(A.colorSchemes).forEach(e=>{let t=A.colorSchemes[e].palette,r=e=>{let r=e.split("-"),n=r[1],i=r[2];return g(e,t[n][i])};if("light"===t.mode&&(q(t.common,"background","#fff"),q(t.common,"onBackground","#000")),"dark"===t.mode&&(q(t.common,"background","#000"),q(t.common,"onBackground","#fff")),function(e,t){t.forEach(t=>{e[t]||(e[t]={})})}(t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),"light"===t.mode){q(t.Alert,"errorColor",(0,a.q8)(t.error.light,.6)),q(t.Alert,"infoColor",(0,a.q8)(t.info.light,.6)),q(t.Alert,"successColor",(0,a.q8)(t.success.light,.6)),q(t.Alert,"warningColor",(0,a.q8)(t.warning.light,.6)),q(t.Alert,"errorFilledBg",r("palette-error-main")),q(t.Alert,"infoFilledBg",r("palette-info-main")),q(t.Alert,"successFilledBg",r("palette-success-main")),q(t.Alert,"warningFilledBg",r("palette-warning-main")),q(t.Alert,"errorFilledColor",X(()=>t.getContrastText(t.error.main))),q(t.Alert,"infoFilledColor",X(()=>t.getContrastText(t.info.main))),q(t.Alert,"successFilledColor",X(()=>t.getContrastText(t.success.main))),q(t.Alert,"warningFilledColor",X(()=>t.getContrastText(t.warning.main))),q(t.Alert,"errorStandardBg",(0,a.ux)(t.error.light,.9)),q(t.Alert,"infoStandardBg",(0,a.ux)(t.info.light,.9)),q(t.Alert,"successStandardBg",(0,a.ux)(t.success.light,.9)),q(t.Alert,"warningStandardBg",(0,a.ux)(t.warning.light,.9)),q(t.Alert,"errorIconColor",r("palette-error-main")),q(t.Alert,"infoIconColor",r("palette-info-main")),q(t.Alert,"successIconColor",r("palette-success-main")),q(t.Alert,"warningIconColor",r("palette-warning-main")),q(t.AppBar,"defaultBg",r("palette-grey-100")),q(t.Avatar,"defaultBg",r("palette-grey-400")),q(t.Button,"inheritContainedBg",r("palette-grey-300")),q(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),q(t.Chip,"defaultBorder",r("palette-grey-400")),q(t.Chip,"defaultAvatarColor",r("palette-grey-700")),q(t.Chip,"defaultIconColor",r("palette-grey-700")),q(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),q(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),q(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),q(t.LinearProgress,"primaryBg",(0,a.ux)(t.primary.main,.62)),q(t.LinearProgress,"secondaryBg",(0,a.ux)(t.secondary.main,.62)),q(t.LinearProgress,"errorBg",(0,a.ux)(t.error.main,.62)),q(t.LinearProgress,"infoBg",(0,a.ux)(t.info.main,.62)),q(t.LinearProgress,"successBg",(0,a.ux)(t.success.main,.62)),q(t.LinearProgress,"warningBg",(0,a.ux)(t.warning.main,.62)),q(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.11)`),q(t.Slider,"primaryTrack",(0,a.ux)(t.primary.main,.62)),q(t.Slider,"secondaryTrack",(0,a.ux)(t.secondary.main,.62)),q(t.Slider,"errorTrack",(0,a.ux)(t.error.main,.62)),q(t.Slider,"infoTrack",(0,a.ux)(t.info.main,.62)),q(t.Slider,"successTrack",(0,a.ux)(t.success.main,.62)),q(t.Slider,"warningTrack",(0,a.ux)(t.warning.main,.62));let e=(0,a.fk)(t.background.default,.8);q(t.SnackbarContent,"bg",e),q(t.SnackbarContent,"color",X(()=>t.getContrastText(e))),q(t.SpeedDialAction,"fabHoverBg",(0,a.fk)(t.background.paper,.15)),q(t.StepConnector,"border",r("palette-grey-400")),q(t.StepContent,"border",r("palette-grey-400")),q(t.Switch,"defaultColor",r("palette-common-white")),q(t.Switch,"defaultDisabledColor",r("palette-grey-100")),q(t.Switch,"primaryDisabledColor",(0,a.ux)(t.primary.main,.62)),q(t.Switch,"secondary
124DisabledColor",(0,a.ux)(t.secondary.main,.62)),q(t.Switch,"errorDisabledColor",(0,a.ux)(t.error.main,.62)),q(t.Switch,"infoDisabledColor",(0,a.ux)(t.info.main,.62)),q(t.Switch,"successDisabledColor",(0,a.ux)(t.success.main,.62)),q(t.Switch,"warningDisabledColor",(0,a.ux)(t.warning.main,.62)),q(t.TableCell,"border",(0,a.ux)((0,a.zp)(t.divider,1),.88)),q(t.Tooltip,"bg",(0,a.zp)(t.grey[700],.92))}if("dark"===t.mode){q(t.Alert,"errorColor",(0,a.ux)(t.error.light,.6)),q(t.Alert,"infoColor",(0,a.ux)(t.info.light,.6)),q(t.Alert,"successColor",(0,a.ux)(t.success.light,.6)),q(t.Alert,"warningColor",(0,a.ux)(t.warning.light,.6)),q(t.Alert,"errorFilledBg",r("palette-error-dark")),q(t.Alert,"infoFilledBg",r("palette-info-dark")),q(t.Alert,"successFilledBg",r("palette-success-dark")),q(t.Alert,"warningFilledBg",r("palette-warning-dark")),q(t.Alert,"errorFilledColor",X(()=>t.getContrastText(t.error.dark))),q(t.Alert,"infoFilledColor",X(()=>t.getContrastText(t.info.dark))),q(t.Alert,"successFilledColor",X(()=>t.getContrastText(t.success.dark))),q(t.Alert,"warningFilledColor",X(()=>t.getContrastText(t.warning.dark))),q(t.Alert,"errorStandardBg",(0,a.q8)(t.error.light,.9)),q(t.Alert,"infoStandardBg",(0,a.q8)(t.info.light,.9)),q(t.Alert,"successStandardBg",(0,a.q8)(t.success.light,.9)),q(t.Alert,"warningStandardBg",(0,a.q8)(t.warning.light,.9)),q(t.Alert,"errorIconColor",r("palette-error-main")),q(t.Alert,"infoIconColor",r("palette-info-main")),q(t.Alert,"successIconColor",r("palette-success-main")),q(t.Alert,"warningIconColor",r("palette-warning-main")),q(t.AppBar,"defaultBg",r("palette-grey-900")),q(t.AppBar,"darkBg",r("palette-background-paper")),q(t.AppBar,"darkColor",r("palette-text-primary")),q(t.Avatar,"defaultBg",r("palette-grey-600")),q(t.Button,"inheritContainedBg",r("palette-grey-800")),q(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),q(t.Chip,"defaultBorder",r("palette-grey-700")),q(t.Chip,"defaultAvatarColor",r("palette-grey-300")),q(t.Chip,"defaultIconColor",r("palette-grey-300")),q(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),q(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),q(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),q(t.LinearProgress,"primaryBg",(0,a.q8)(t.primary.main,.5)),q(t.LinearProgress,"secondaryBg",(0,a.q8)(t.secondary.main,.5)),q(t.LinearProgress,"errorBg",(0,a.q8)(t.error.main,.5)),q(t.LinearProgress,"infoBg",(0,a.q8)(t.info.main,.5)),q(t.LinearProgress,"successBg",(0,a.q8)(t.success.main,.5)),q(t.LinearProgress,"warningBg",(0,a.q8)(t.warning.main,.5)),q(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.13)`),q(t.Slider,"primaryTrack",(0,a.q8)(t.primary.main,.5)),q(t.Slider,"secondaryTrack",(0,a.q8)(t.secondary.main,.5)),q(t.Slider,"errorTrack",(0,a.q8)(t.error.main,.5)),q(t.Slider,"infoTrack",(0,a.q8)(t.info.main,.5)),q(t.Slider,"successTrack",(0,a.q8)(t.success.main,.5)),q(t.Slider,"warningTrack",(0,a.q8)(t.warning.main,.5));let e=(0,a.fk)(t.background.default,.98);q(t.SnackbarContent,"bg",e),q(t.SnackbarContent,"color",X(()=>t.getContrastText(e))),q(t.SpeedDialAction,"fabHoverBg",(0,a.fk)(t.background.paper,.15)),q(t.StepConnector,"border",r("palette-grey-600")),q(t.StepContent,"border",r("palette-grey-600")),q(t.Switch,"defaultColor",r("palette-grey-300")),q(t.Switch,"defaultDisabledColor",r("palette-grey-600")),q(t.Switch,"primaryDisabledColor",(0,a.q8)(t.primary.main,.55)),q(t.Switch,"secondaryDisabledColor",(0,a.q8)(t.secondary.main,.55)),q(t.Switch,"errorDisabledColor",(0,a.q8)(t.error.main,.55)),q(t.Switch,"infoDisabledColor",(0,a.q8)(t.info.main,.55)),q(t.Switch,"successDisabledColor",(0,a.q8)(t.success.main,.55)),q(t.Switch,"warningDisabledColor",(0,a.q8)(t.warning.main,.55)),q(t.TableCell,"border",(0,a.q8)((0,a.zp)(t.divider,1),.68)),q(t.Tooltip,"bg",(0,a.zp)(t.grey[700],.92))}W(t.background,"default"),W(t.background,"paper"),W(t.common,"background"),W(t.common,"onBackground"),W(t,"divider"),Object.keys(t).forEach(e=>{let r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&q(t[e],"mainChannel",(0,a.LR)(K(r.main))),r.light&&q(t[e],"lightChannel",(0,a.LR
124)(K(r.light))),r.dark&&q(t[e],"darkChannel",(0,a.LR)(K(r.dark))),r.contrastText&&q(t[e],"contrastTextChannel",(0,a.LR)(K(r.contrastText))),"text"===e&&(W(t[e],"primary"),W(t[e],"secondary")),"action"===e&&(r.active&&W(t[e],"active"),r.selected&&W(t[e],"selected")))})}),A=t.reduce((e,t)=>(0,i.Z)(e,t),A);let N={prefix:u,disableCssColorScheme:l,shouldSkipGeneratingVar:c,getSelector:G(A)},{vars:I,generateThemeVars:R,generateStyleSheets:O}=C(A,N);return A.vars=I,Object.entries(A.colorSchemes[A.defaultColorScheme]).forEach(([e,t])=>{A[e]=t}),A.generateThemeVars=R,A.generateStyleSheets=O,A.generateSpacing=function(){return(0,S.Z)(p.spacing,(0,w.hB)(this))},A.getColorSchemeSelector=function(e){return"media"===d?`@media (prefers-color-scheme: ${e})`:d?d.startsWith("data-")&&!d.includes("%s")?`[${d}="${e}"] &`:"class"===d?`.${e} &`:"data"===d?`[data-${e}] &`:`${d.replace("%s",e)} &`:"&"},A.spacing=A.generateSpacing(),A.shouldSkipGeneratingVar=c,A.unstable_sxConfig={..._.Z,...p?.unstable_sxConfig},A.unstable_sx=function(e){return(0,P.Z)({sx:e,theme:this})},A.toRuntimeSource=F,A}({...u,colorSchemes:h,defaultColorScheme:c,..."boolean"!=typeof o&&o},...t)}},71445:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(4953);let i={textTransform:"uppercase"},a='"Roboto", "Helvetica", "Arial", sans-serif';function o(e,t){let{fontFamily:r=a,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:c=700,htmlFontSize:d=16,allVariants:h,pxToRem:p,...f}="function"==typeof t?t(e):t,m=o/14,g=p||(e=>`${e/d*m}rem`),v=(e,t,n,i,o)=>({fontFamily:r,fontWeight:e,fontSize:g(t),lineHeight:n,...r===a?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},...o,...h}),y={h1:v(s,96,1.167,-1.5),h2:v(s,60,1.2,-.5),h3:v(l,48,1.167,0),h4:v(l,34,1.235,.25),h5:v(l,24,1.334,0),h6:v(u,20,1.6,.15),subtitle1:v(l,16,1.75,.15),subtitle2:v(u,14,1.57,.1),body1:v(l,16,1.5,.15),body2:v(l,14,1.43,.15),button:v(u,14,1.75,.4,i),caption:v(l,12,1.66,.4),overline:v(l,12,2.66,1,i),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,n.Z)({htmlFontSize:d,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:c,...y},f,{clone:!1})}},90247:function(e,t,r){"use strict";var n=r(79627);let i=(0,n.Z)();t.Z=i},72029:function(e,t,r){"use strict";function n(e){return Math.round(10*(e<1?5.11916*e**2:4.5*Math.log(e+1)+2))/1e3}r.d(t,{Z:function(){return n}})},10606:function(e,t){"use strict";t.Z="$$material"},31396:function(e,t,r){"use strict";r.d(t,{ZP:function(){return g}});var n=r(49731),i=r(4953),a=r(78136),o=r(86523),s=r(84024);let l=(0,a.Z)();function u(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function c(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function d(e,t,r){let i="function"==typeof t?t(e):t;if(Array.isArray(i))return i.flatMap(t=>d(e,t,r));if(Array.isArray(i?.variants)){let t;if(i.isProcessed)t=r?c(i.style,r):i.style;else{let{variants:e,...a}=i;t=r?c((0,n.bu)(a),r):a}return h(e,i.variants,[t],r)}return i?.isProcessed?r?c((0,n.bu)(i.style),r):i.style:r?c((0,n.bu)(i),r):i}function h(e,t,r=[],i){let a;e:for(let o=0;o<t.length;o+=1){let s=t[o];if("function"==typeof s.props){if(a??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(a))continue}else for(let t in s.props)if(e[t]!==s.props[t]&&e.ownerState?.[t]!==s.props[t])continue e;"function"==typeof s.style?(a??={...e,...e.ownerState,ownerState:e.ownerState},r.push(i?c((0,n.bu)(s.style(a)),i):s.style(a))):r.push(i?c((0,n.bu)(s.style),i):s.style)}return r}var p=r(90247),f=r(10606);let m=function(e={}){let{themeId:t,defaultTheme:r=l,rootShouldForwardProp:a=u,slotShouldForwardProp:p=u}=e;function f(e){e.theme=!function(e){for(let t in e)return!1;return!0}(e.theme)?e.theme[t]||e.theme:r}return(e,t={})=>{var r;(0,n.nf)(e,e=>e.filter(e=>e!==o.Z));let{name:l,slot:m,skipVariantsResolver:g,skipSx:v,overridesResolver:y=(r=m?m.charAt(0).toLowerCase()+m.slice(1):m)?(e,t)=>t[r]:null,...b}=t,S=l&&l.startsWith("Mui")||m?"components":"custom",w=void 0!==g?g:m&&"Root"!==m&&"root"!==m||!1,x=v||!1,E=u;"Root"===m||"root"===m?E=a:m?E=p:"string"==typeof e&&e.charCodeAt(0)>96&&(E=void 0);let T=(0,n.ZP)(e,{shouldForwardProp:E,label:void 0,...b}),k=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return d(t,e,t.theme.modularCssLayers?S:void 0)};if((0,i.P)(e)){let t=(0,s.Z)(e);return function(e){return t.variants?d(e,t,e.theme.modularCssLayers?S:void 0):e.theme.modularCssLayers?c(t.style,S):t.style}}return e},C=(...t)=>{let r=[],n=t.map(k),i=[];if(r.push(f),l&&y&&i.push(function(e){let t=e.theme,r=t.components?.[l]?.styleOverrides;if(!r)return null;let n={};for(let t in r)n[t]=d(e,r[t],e.theme.modularCssLayers?"theme":void 0);return y(e,n)}),l&&!w&&i.push(function(e){let t=e.theme,r=t?.components?.[l]?.variants;return r?h(e,r,[],e.theme.modularCssLayers?"theme":void 0):null}),x||i.push(o.Z),Array.isArray(n[0])){let e;let t=n.shift(),a=Array(r.length).fill(""),o=Array(i.length).fill("");(e=[...a,...t,...o]).raw=[...a,...t.raw,...o],r.unshift(e)}let a=[...r,...n,...i],s=T(...a);return e.muiName&&(s.muiName=e.muiName),s};return T.withConfig&&(C.withConfig=T.withConfig),C}}({themeId:f.Z,defaultTheme:p.Z,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var g=m},10829:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var n=r(67294),i=r.t(n,2),a=r(73546),o=r(35971),s=r(36073);function l(e,t,r,i,o){let[s,l]=n.useState(()=>o&&r?r(e).matches:i?i(e).matches:t);return(0,a.Z)(()=>
124{if(!r)return;let t=r(e),n=()=>{l(t.matches)};return n(),t.addEventListener("change",n),()=>{t.removeEventListener("change",n)}},[e,r]),s}let u={...i},c=u.useSyncExternalStore;function d(e,t,r,i,a){let o=n.useCallback(()=>t,[t]),s=n.useMemo(()=>{if(a&&r)return()=>r(e).matches;if(null!==i){let{matches:t}=i(e);return()=>t}return o},[o,e,i,a,r]),[l,u]=n.useMemo(()=>{if(null===r)return[o,()=>()=>{}];let t=r(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[o,r,e]),d=c(u,l,s);return d}function h(e={}){let{themeId:t}=e;return function(e,r={}){let n=(0,s.Z)();n&&t&&(n=n[t]||n);let i="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:a=!1,matchMedia:u=i?window.matchMedia:null,ssrMatchMedia:h=null,noSsr:p=!1}=function(e){let{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,o.Z)(t.components[r].defaultProps,n):n}({name:"MuiUseMediaQuery",props:r,theme:n}),f="function"==typeof e?e(n):e;(f=f.replace(/^@media( ?)/m,"")).includes("print")&&console.warn("MUI: You have provided a `print` query to the `useMediaQuery` hook.\nUsing the print media query to modify print styles can lead to unexpected results.\nConsider using the `displayPrint` field in the `sx` prop instead.\nMore information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print.");let m=(void 0!==c?d:l)(f,a,u,h,p);return m}}h();var p=r(10606);let f=h({themeId:p.Z});var m=f},98216:function(e,t,r){"use strict";var n=r(14142);t.Z=n.Z},40902:function(e,t,r){"use strict";function n(e=[]){return([,t])=>t&&function(e,t=[]){if("string"!=typeof e.main)return!1;for(let r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}r.d(t,{Z:function(){return n}})},46644:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=function(e,t=166){let r;function n(...i){clearTimeout(r),r=setTimeout(()=>{e.apply(this,i)},t)}return n.clear=()=>{clearTimeout(r)},n}},16694:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(84024);let i={theme:void 0};var a=function(e){let t,r;return function(a){let o=t;return(void 0===o||a.theme!==r)&&(i.theme=a.theme,t=o=(0,n.Z)(e(i)),r=a.theme),o}}},89626:function(e,t,r){"use strict";r.d(t,{u7:function(){return s},zY:function(){return o}}),r(67294);var n=r(39707),i=r(66294),a=r(85893);function o(e){return function(t){return(0,a.jsx)(i.Z,{styles:"function"==typeof e?r=>e({theme:r,...t}):e})}}function s(){return n.Z}},41234:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}}),r(67294);var n=r(70917),i=r(85893);function a(e){let{styles:t,defaultTheme:r={}}=e,a="function"==typeof t?e=>t(null==e||0===Object.keys(e).length?r:e):t;return(0,i.jsx)(n.xB,{styles:a})}},49731:function(e,t,r){"use strict";r.d(t,{ZP:function(){return v},nf:function(){return y},bu:function(){return S}});var n=r(87462),i=r(87685),a=r(85662),o=r(27278),s=r(70444),l=r(67294),u=r(45042),c=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRen
124dering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,d=(0,u.Z)(function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),h=function(e){return"theme"!==e},p=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:h},f=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},m=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,s.hC)(t,r,n),(0,o.L)(function(){return(0,s.My)(t,r,n)}),null},g=(function e(t,r){var o,u,c=t.__emotion_real===t,d=c&&t.__emotion_base||t;void 0!==r&&(o=r.label,u=r.target);var h=f(t,r,c),g=h||p(d),v=!g("as");return function(){var y=arguments,b=c&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{var S=y[0];b.push(S[0]);for(var w=y.length,x=1;x<w;x++)b.push(y[x],S[x])}var E=(0,i.w)(function(e,t,r){var n=v&&e.as||d,o="",c=[],f=e;if(null==e.theme){for(var y in f={},e)f[y]=e[y];f.theme=l.useContext(i.T)}"string"==typeof e.className?o=(0,s.fp)(t.registered,c,e.className):null!=e.className&&(o=e.className+" ");var S=(0,a.O)(b.concat(c),t.registered,f);o+=t.key+"-"+S.name,void 0!==u&&(o+=" "+u);var w=v&&void 0===h?p(n):g,x={};for(var E in e)(!v||"as"!==E)&&w(E)&&(x[E]=e[E]);return x.className=o,r&&(x.ref=r),l.createElement(l.Fragment,null,l.createElement(m,{cache:t,serialized:S,isStringTag:"string"==typeof n}),l.createElement(n,x))});return E.displayName=void 0!==o?o:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",E.defaultProps=t.defaultProps,E.__emotion_real=E,E.__emotion_base=d,E.__emotion_styles=b,E.__emotion_forwardProp=h,Object.defineProperty(E,"toString",{value:function(){return"."+u}}),E.withComponent=function(t,i){return e(t,(0,n.Z)({},r,i,{shouldForwardProp:f(E,i,!0)})).apply(void 0,b)},E}}).bind(null);/**
125 * @mui/styled-engine v6.5.0
126 *
127 * @license MIT
128 * This source code is licensed under the MIT license found in the
129 * LICENSE file in the root directory of this source tree.
130 */function v(e,t){let r=g(e,t);return r}function y(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){g[e]=g(e)});let b=[];function S(e){return b[0]=e,(0,a.O)(b)}},32842:function(e,t,r){"use strict";r.d(t,{i:function(){return s}});var n=r(67294),i=r(35971),a=r(85893);let o=n.createContext(void 0);function s({props:e,name:t}){let r=n.useContext(o);return function(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let a=t.components[r];return a.defaultProps?(0,i.Z)(a.defaultProps,n):a.styleOverrides||a.variants?n:(0,i.Z)(a,n)}({props:e,name:t,theme:{components:r}})}t.Z=function({value:e,children:t}){return(0,a.jsx)(o.Provider,{value:e,children:t})}},25723:function(e,t,r){"use strict";r(67294);var n=r(49731),i=r(41234),a=r(5594),o=r(85893);function s(e){let t=(0,n.bu)(e);
130return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}t.Z=function({styles:e,themeId:t,defaultTheme:r={}}){let n=(0,a.Z)(r),l=t&&n[t]||n,u="function"==typeof e?e(l):e;return l.modularCssLayers&&(u=Array.isArray(u)?u.map(e=>"function"==typeof e?s(e(l)):s(e)):s(u)),(0,o.jsx)(i.Z,{styles:u})}},82056:function(e,t,r){"use strict";r.d(t,{V:function(){return o}});var n=r(67294),i=r(85893);let a=n.createContext(),o=()=>{let e=n.useContext(a);return e??!1};t.Z=function({value:e,...t}){return(0,i.jsx)(a.Provider,{value:e??!0,...t})}},36622:function(e,t,r){"use strict";r.d(t,{L7:function(){return u},P$:function(){return c},VO:function(){return i},W8:function(){return l},k9:function(){return s}});var n=r(1303);let i={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${i[e]}px)`},o={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:i[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function s(e,t,r){let s=e.theme||{};if(Array.isArray(t)){let e=s.breakpoints||a;return t.reduce((n,i,a)=>(n[e.up(e.keys[a])]=r(t[a]),n),{})}if("object"==typeof t){let e=s.breakpoints||a;return Object.keys(t).reduce((a,l)=>{if((0,n.WX)(e.keys,l)){let e=(0,n.ue)(s.containerQueries?s:o,l);e&&(a[e]=r(t[l],l))}else if(Object.keys(e.values||i).includes(l)){let n=e.up(l);a[n]=r(t[l],l)}else a[l]=t[l];return a},{})}let l=r(t);return l}function l(e={}){let t=e.keys?.reduce((t,r)=>{let n=e.up(r);return t[n]={},t},{});return t||{}}function u(e,t){return e.reduce((e,t)=>{let r=e[t],n=!r||0===Object.keys(r).length;return n&&delete e[t],e},t)}function c({values:e,breakpoints:t,base:r}){let n;let i=r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}(e,t),a=Object.keys(i);return 0===a.length?e:a.reduce((t,r,i)=>(Array.isArray(e)?(t[r]=null!=e[i]?e[i]:e[n],n=i):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},38366:function(e,t,r){"use strict";r.d(t,{Fq:function(){return h},_j:function(){return f},mi:function(){return d},ve:function(){return u},$n:function(){return g},zp:function(){return p},LR:function(){return s},q8:function(){return m},fk:function(){return y},ux:function(){return v}});var n=r(56535);function i(e,t=0,r=1){return function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}(e,t,r)}function a(e){let t;if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),i=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw Error((0,n.Z)(9,e));let o=e.substring(r+1,e.length-1);if("color"===i){if(t=(o=o.split(" ")).shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(t))throw Error((0,n.Z)(10,t))}else o=o.split(",");return{type:i,values:o=o.map(e=>parseFloat(e)),colorSpace:t}}let o=e=>{let t=a(e);return t.values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e).join(" ")},s=(e,t)=>{try{return o(e)}catch(t){return e}};function l(e){let{type:t,colorSpace:r}=e,{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),`${t}(${n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`})`}function u(e){e=a(e);let{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,o=n*Math.min(i,1-i),s=(e,t=(e+r/30)%12)=>i-o*Math.max(Math.min(t-3,9-t,1),-1),u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),l({type:u,values:c})}function c(e){let t="hsl"===(e=a(e)).type||"hsla"===e.type?a(u(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function d(e,t){let r=c(e),n=c(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}
130function h(e,t){return e=a(e),t=i(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function p(e,t,r){try{return h(e,t)}catch(t){return e}}function f(e,t){if(e=a(e),t=i(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)}function m(e,t,r){try{return f(e,t)}catch(t){return e}}function g(e,t){if(e=a(e),t=i(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}function v(e,t,r){try{return g(e,t)}catch(t){return e}}function y(e,t,r){try{return function(e,t=.15){return c(e)>.5?f(e,t):g(e,t)}(e,t)}catch(t){return e}}},98373:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(6943);function i(e=8,t=(0,n.hB)({spacing:e})){if(e.mui)return e;let r=(...e)=>{let r=0===e.length?[1]:e;return r.map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ")};return r.mui=!0,r}},78136:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(4953);let i=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};var a=r(1303),o={borderRadius:4},s=r(98373),l=r(86523),u=r(35387);function c(e,t){if(this.vars){if(!this.colorSchemes?.[e]||"function"!=typeof this.getColorSchemeSelector)return{};let r=this.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return this.palette.mode===e?t:{}}var d=function(e={},...t){let{breakpoints:r={},palette:d={},spacing:h,shape:p={},...f}=e,m=function(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...a}=e,o=i(t),s=Object.keys(o);function l(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function u(e){let i="number"==typeof t[e]?t[e]:e;return`@media (max-width:${i-n/100}${r})`}function c(e,i){let a=s.indexOf(i);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==a&&"number"==typeof t[s[a]]?t[s[a]]:i)-n/100}${r})`}return{keys:s,values:o,up:l,down:u,between:c,only:function(e){return s.indexOf(e)+1<s.length?c(e,s[s.indexOf(e)+1]):l(e)},not:function(e){let t=s.indexOf(e);return 0===t?l(s[1]):t===s.length-1?u(s[t]):c(e,s[s.indexOf(e)+1]).replace("@media","@media not all and")},unit:r,...a}}(r),g=(0,s.Z)(h),v=(0,n.Z)({breakpoints:m,direction:"ltr",components:{},palette:{mode:"light",...d},spacing:g,shape:{...o,...p}},f);return(v=(0,a.ZP)(v)).applyStyles=c,(v=t.reduce((e,t)=>(0,n.Z)(e,t),v)).unstable_sxConfig={...u.Z,...f?.unstable_sxConfig},v.unstable_sx=function(e){return(0,l.Z)({sx:e,theme:this})},v}},1303:function(e,t,r){"use strict";function n(e,t){if(!e.containerQueries)return t;let r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{let r=/min-width:\s*([0-9.]+)/;return+(e.match(r)?.[1]||0)-+(t.match(r)?.[1]||0)});return r.length?r.reduce((e,r)=>{let n=t[r];return delete e[r],e[r]=n,e},{...t}):t}function i(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function a(e,t){let r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;let[,n,i]=r,a=Number.isNaN(+n)?n||0:+n;return e.containerQueries(i).up(a)}function o(e){let t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{let i=t(e.breakpoints.not(...r),n);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}let n={},i=e=>(r(n,e),n);return r(i),{...e,containerQueries:i}}r.d(t,{WX:function(){return i},ZP:function(){return o},ar:function(){return n},ue:function(){return a}})},12872:function(e,t,r){"use strict";var n=r(4953);t.Z=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},84024:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(49731);function i(e){let{variants:t,...r}=e,i={variants:t,style:(0,n.bu)(r),isProcessed:!0};
130return i.style===r||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=(0,n.bu)(e.style))}),i}},6943:function(e,t,r){"use strict";r.d(t,{hB:function(){return f},eI:function(){return p},NA:function(){return m},e6:function(){return v},o3:function(){return y}});var n=r(36622),i=r(52936),a=r(12872);let o={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}let[t,r]=e.split(""),n=o[t],i=s[r]||"";return Array.isArray(i)?i.map(e=>n+e):[n+i]}),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],h=[...c,...d];function p(e,t,r,n){let a=(0,i.DW)(e,t,!0)??r;return"number"==typeof a||"string"==typeof a?e=>"string"==typeof e?e:"string"==typeof a?`calc(${e} * ${a})`:a*e:Array.isArray(a)?e=>{if("string"==typeof e)return e;let t=a[Math.abs(e)];return e>=0?t:"number"==typeof t?-t:`-${t}`}:"function"==typeof a?a:()=>void 0}function f(e){return p(e,"spacing",8,"spacing")}function m(e,t){return"string"==typeof t||null==t?t:e(t)}function g(e,t){let r=f(e.theme);return Object.keys(e).map(i=>(function(e,t,r,i){if(!t.includes(r))return null;let a=u(r),o=e[r];return(0,n.k9)(e,o,e=>a.reduce((t,r)=>(t[r]=m(i,e),t),{}))})(e,t,i,r)).reduce(a.Z,{})}function v(e){return g(e,c)}function y(e){return g(e,d)}function b(e){return g(e,h)}v.propTypes={},v.filterProps=c,y.propTypes={},y.filterProps=d,b.propTypes={},b.filterProps=h},52936:function(e,t,r){"use strict";r.d(t,{DW:function(){return a},Jq:function(){return o}});var n=r(14142),i=r(36622);function a(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function o(e,t,r,n=r){let i;return i="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:a(e,r)||n,t&&(i=t(i,n,e)),i}t.ZP=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,u=e=>{if(null==e[t])return null;let u=e[t],c=e.theme,d=a(c,s)||{};return(0,i.k9)(e,u,e=>{let i=o(d,l,e);return(e===i&&"string"==typeof e&&(i=o(d,l,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?i:{[r]:i}})};return u.propTypes={},u.filterProps=[t],u}},35387:function(e,t,r){"use strict";r.d(t,{Z:function(){return K}});var n=r(6943),i=r(52936),a=r(12872),o=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,a.Z)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r},s=r(36622);function l(e){return"number"!=typeof e?e:`${e}px solid`}function u(e,t){return(0,i.ZP)({prop:e,themeKey:"borders",transform:t})}let c=u("border",l),d=u("borderTop",l),h=u("borderRight",l),p=u("borderBottom",l),f=u("borderLeft",l),m=u("borderColor"),g=u("borderTopColor"),v=u("borderRightColor"),y=u("borderBottomColor"),b=u("borderLeftColor"),S=u("outline",l),w=u("outlineColor"),x=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,s.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};x.propTypes={},x.filterProps=["borderRadius"],o(c,d,h,p,f,m,g,v,y,b,x,S,w);let E=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,s.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};E.propTypes={},E.filterProps=["gap"];let T=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,s.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};T.propTypes={},T.filterProps=["columnGap"];let k=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,s.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};k.propTypes={},k.filterProps=["rowGap"];let C=(0,i.ZP)({prop:"gridColumn"}),_=(0,i.ZP)({prop:"gridRow"}),P=(0,i.ZP)({prop:"gridAutoFlow"}),A=(0,i.ZP)({prop:"gridAutoColumns"}),N=(0,i.ZP)({prop:"gridAutoRows"}),I=(0,i.ZP)({prop:"gridTemplateColumns"}),R=(0,i.ZP)({prop:"gridTemplateRows"}),O=(0,i.ZP)({prop:"gridTemplateAreas"}),L=(0,i.ZP)({prop:"gridArea"});function D(e,t){return"grey"===t?t:e}o(E,T,k,C,_,P,A,N,I,R,O,L);let M=(0,i.ZP)({prop:"color",themeKey:"palette",transform:D}),Z=(0,i.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:D}),F=(0,i.ZP)({prop:"backgroundColor",themeKey:"palette",transform:D});function j(e){return e<=1&&0!==e?`${100*e}%`:e}o(M,Z,F);let B=(0,i.ZP)({prop:"width",transform:j}),U=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,s.k9)(e,e.maxWidth,t=>{let r=e.theme?.breakpoints?.values?.[t]||s.VO[t];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:j(t)}}):null;U.filterProps=["maxWidth"];let $=(0,i.ZP)({prop:"minWidth",transform:j}),V=(0,i.ZP)({prop:"height",transform:j}),z=(0,i.ZP)({prop:"maxHeight",transform:j}),H=(0,i.ZP)({prop:"minHeight",transform:j});(0,i.ZP)({prop:"size",cssProperty:"width",transform:j}),(0,i.ZP)({prop:"size",cssProperty:"height",transform:j});let G=(0,i.ZP)({prop:"boxSizing"});o(B,U,$,V,z,H,G);let q={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:x},color:{themeKey:"palette",transform:D},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:D},backgroundColor:{themeKey:"palette",transform:D},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3}
130,paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:E},rowGap:{style:k},columnGap:{style:T},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:j},maxWidth:{style:U},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};var K=q},39707:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(4953),i=r(35387);let a=e=>{let t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??i.Z;return Object.keys(e).forEach(n=>{r[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function o(e){let t;let{sx:r,...i}=e,{systemProps:o,otherProps:s}=a(i);return t=Array.isArray(r)?[o,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,n.P)(t)?{...o,...t}:o}:{...o,...r},{...s,sx:t}}},86523:function(e,t,r){"use strict";var n=r(14142),i=r(12872),a=r(52936),o=r(36622),s=r(1303),l=r(35387);let u=function(){function e(e,t,r,i){let s={[e]:t,theme:r},l=i[e];if(!l)return{[e]:t};let{cssProperty:u=e,themeKey:c,transform:d,style:h}=l;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let p=(0,a.DW)(r,c)||{};return h?h(s):(0,o.k9)(s,t,t=>{let r=(0,a.Jq)(p,d,t);return(t===r&&"string"==typeof t&&(r=(0,a.Jq)(p,d,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===u)?r:{[u]:r}})}return function t(r){let{sx:n,theme:a={},nested:u}=r||{};if(!n)return null;let c=a.unstable_sxConfig??l.Z;function d(r){let n=r;if("function"==typeof r)n=r(a);else if("object"!=typeof r)return r;if(!n)return null;let l=(0,o.W8)(a.breakpoints),d=Object.keys(l),h=l;return(Object.keys(n).forEach(r=>{var s;let l="function"==typeof(s=n[r])?s(a):s;if(null!=l){if("object"==typeof l){if(c[r])h=(0,i.Z)(h,e(r,l,a,c));else{let e=(0,o.k9)({theme:a},l,e=>({[r]:e}));(function(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)})(e,l)?h[r]=t({sx:l,theme:a,nested:!0}):h=(0,i.Z)(h,e)}}else h=(0,i.Z)(h,e(r,l,a,c))}}),!u&&a.modularCssLayers)?{"@layer sx":(0,s.ar)(a,(0,o.L7)(d,h))}:(0,s.ar)(a,(0,o.L7)(d,h))}return Array.isArray(n)?n.map(d):d(n)}}();u.filterProps=["sx"],t.Z=u},5594:function(e,t,r){"use strict";var n=r(78136),i=r(36073);let a=(0,n.Z)();t.Z=function(e=a){return(0,i.Z)(e)}},36073:function(e,t,r){"use strict";var n=r(67294),i=r(87685);t.Z=function(e=null){let t=n.useContext(i.T);return t&&0!==Object.keys(t).length?t:e}},37078:function(e,t){"use strict";let r;let n=e=>e,i=(r=n,{configure(e){r=e},generate:e=>r(e),reset(){r=n}});t.Z=i},14142:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(56535);function i(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},94780:function(e,t,r){"use strict";function n(e,t,r){let n={};for(let i in e){let a=e[i],o="",s=!0;for(let e=0;e<a.length;e+=1){let n=a[e];n&&(o+=(!0===s?"":" ")+t(n),s=!1,r&&r[n]&&(o+=" "+r[n]))}n[i]=o}return n}r.d(t,{Z:function(){return n}})},4953:function(e,t,r){"use strict";r.d(t,{P:function(){return a},Z:function(){return function e(t,r,o={clone:!0}){let s=o.clone?{...t}:t;return a(t)&&a(r)&&Object.keys(r).forEach(l=>{n.isValidElement(r[l])||(0,i.iY)(r[l])?s[l]=r[l]:a(r[l])&&Object.prototype.hasOwnProperty.call(t,l)&&a(t[l])?s[l]=e(t[l],r[l],o):o.clone?s[l]=a(r[l])?function e(t){if(n.isValidElement(t)||(0,i.iY)(t)||!a(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[l]):r[l]:s[l]=r[l]}),s}}});var n=r(67294),i=r(79593);function a(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},56535:function(e,t,r){"use strict";function n(e,...t){let r=new URL(`https://mui.com/production-error/?code=${e}`);
130return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}r.d(t,{Z:function(){return n}})},34867:function(e,t,r){"use strict";r.d(t,{ZP:function(){return a}});var n=r(37078);let i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function a(e,t,r="Mui"){let a=i[t];return a?`${r}-${a}`:`${n.Z.generate(e)}-${t}`}},1588:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(34867);function i(e,t,r="Mui"){let i={};return t.forEach(t=>{i[t]=(0,n.ZP)(e,t,r)}),i}},35971:function(e,t,r){"use strict";r.d(t,{Z:function(){return function e(t,r){let n={...r};for(let i in t)if(Object.prototype.hasOwnProperty.call(t,i)){if("components"===i||"slots"===i)n[i]={...t[i],...n[i]};else if("componentsProps"===i||"slotProps"===i){let a=t[i],o=r[i];if(o){if(a)for(let t in n[i]={...o},a)Object.prototype.hasOwnProperty.call(a,t)&&(n[i][t]=e(a[t],o[t]));else n[i]=o}else n[i]=a||{}}else void 0===n[i]&&(n[i]=t[i])}return n}}})},73546:function(e,t,r){"use strict";var n=r(67294);let i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;t.Z=i},33703:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(67294);function i(...e){let t=n.useRef(void 0),r=n.useCallback(t=>{let r=e.map(e=>{if(null==e)return null;if("function"==typeof e){let r=e(t);return"function"==typeof r?r:()=>{e(null)}}return e.current=t,()=>{e.current=null}});return()=>{r.forEach(e=>e?.())}},e);return n.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)}},62145:function(e,t,r){"use strict";r.d(t,{$:function(){return n}});let n=e=>new TextEncoder().encode(e)},30909:function(e,t,r){"use strict";r.d(t,{G:function(){return n}});let n=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)}},37811:function(e,t){"use strict";/*!
131 * content-type
132 * Copyright(c) 2015 Douglas Christopher Wilson
133 * MIT Licensed
134 */var r=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,n=/\\([\u000b\u0020-\u00ff])/g,i=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function a(e){this.parameters=Object.create(null),this.type=e}t.Q=function(e){if(!e)throw TypeError("argument string is required");var t,o,s,l="object"==typeof e?function(e){var t;if("function"==typeof e.getHeader?t=e.getHeader("content-type"):"object"==typeof e.headers&&(t=e.headers&&e.headers["content-type"]),"string"!=typeof t)throw TypeError("content-type header is missing from object");return t}(e):e;if("string"!=typeof l)throw TypeError("argument string is required to be a string");var u=l.indexOf(";"),c=-1!==u?l.slice(0,u).trim():l.trim();if(!i.test(c))throw TypeError("invalid media type");var d=new a(c.toLowerCase());if(-1!==u){for(r.lastIndex=u;o=r.exec(l);){if(o.index!==u)throw TypeError("invalid parameter format");u+=o[0].length,t=o[1].toLowerCase(),34===(s=o[2]).charCodeAt(0)&&-1!==(s=s.slice(1,-1)).indexOf("\\")&&(s=s.replace(n,"$1")),d.parameters[t]=s}if(u!==l.length)throw TypeError("invalid parameter format")}return d}},36837:function(e,t,r){"use strict";r.d(t,{ZP:function(){return E},Ps:function(){return w}});var n,i,a,o=r(97582),s=r(37864),l=r(72380);(n=a||(a={})).QUERY="QUERY",n.MUTATION="MUTATION",n.SUBSCRIPTION="SUBSCRIPTION",n.FIELD="FIELD",n.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",n.FRAGMENT_SPREAD="FRAGMENT_SPREAD",n.INLINE_FRAGMENT="INLINE_FRAGMENT",n.VARIABLE_DEFINITION="VARIABLE_DEFINITION",n.SCHEMA="SCHEMA",n.SCALAR="SCALAR",n.OBJECT="OBJECT",n.FIELD_DEFINITION="FIELD_DEFINITION",n.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",n.INTERFACE="INTERFACE",n.UNION="UNION",n.ENUM="ENUM",n.ENUM_VALUE="ENUM_VALUE",n.INPUT_OBJECT="INPUT_OBJECT",n.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION";var u=r(97359),c=r(92105),d=r(51270),h=r(74635);class p{constructor(e,t={}){let{lexer:r,...n}=t;if(r)this._lexer=r;else{let t=(0,d.T)(e)?e:new d.H(e);this._lexer=new c.hW(t)}this._options=n,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}
134parseName(){let e=this.expectToken(h.T.NAME);return this.node(e,{kind:u.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:u.h.DOCUMENT,definitions:this.many(h.T.SOF,this.parseDefinition,h.T.EOF)})}parseDefinition(){if(this.peek(h.T.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===h.T.BRACE_L)throw(0,s.h)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===h.T.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw(0,s.h)(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e;let t=this._lexer.token;if(this.peek(h.T.BRACE_L))return this.node(t,{kind:u.h.OPERATION_DEFINITION,operation:l.ku.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseDescription(),n=this.parseOperationType();return this.peek(h.T.NAME)&&(e=this.parseName()),this.node(t,{kind:u.h.OPERATION_DEFINITION,operation:n,description:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(h.T.NAME);switch(e.value){case"query":return l.ku.QUERY;case"mutation":return l.ku.MUTATION;case"subscription":return l.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(h.T.PAREN_L,this.parseVariableDefinition,h.T.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:u.h.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(h.T.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(h.T.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(h.T.DOLLAR),this.node(e,{kind:u.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:u.h.SELECTION_SET,selections:this.many(h.T.BRACE_L,this.parseSelection,h.T.BRACE_R)})}parseSelection(){return this.peek(h.T.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t;let r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(h.T.COLON)?(e=n,t=this.parseName()):t=n,this.node(r,{kind:u.h.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(h.T.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(h.T.PAREN_L,t,h.T.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(h.T.COLON),this.node(t,{kind:u.h.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(h.T.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(h.T.NAME)?this.node(e,{kind:u.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:u.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:u.h.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:u.h.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case h.T.BRACKET_L:return this.parseList(e);case h.T.BRACE_L:return this.parseObject(e);case h.T.INT:return this.advanceLexer(),this.node(t,{kind:u.h.INT,value:t.value});case h.T.FLOAT:return this.advanceLexer(),this.node(t,{kind:u.h.FLOAT,value:t.value});case h.T.STRING:case h.T.BLOCK_STRING:return this.parseStringLiteral();case h.T.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:u.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:u.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:u.h.NULL});default:return this.node(t,{kind:u.h.ENUM,value:t.value})}
134case h.T.DOLLAR:if(e){if(this.expectToken(h.T.DOLLAR),this._lexer.token.kind===h.T.NAME){let e=this._lexer.token.value;throw(0,s.h)(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:u.h.STRING,value:e.value,block:e.kind===h.T.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:u.h.LIST,values:this.any(h.T.BRACKET_L,()=>this.parseValueLiteral(e),h.T.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:u.h.OBJECT,fields:this.any(h.T.BRACE_L,()=>this.parseObjectField(e),h.T.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(h.T.COLON),this.node(t,{kind:u.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(h.T.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(h.T.AT),this.node(t,{kind:u.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e;let t=this._lexer.token;if(this.expectOptionalToken(h.T.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(h.T.BRACKET_R),e=this.node(t,{kind:u.h.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(h.T.BANG)?this.node(t,{kind:u.h.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:u.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(h.T.STRING)||this.peek(h.T.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),n=this.many(h.T.BRACE_L,this.parseOperationTypeDefinition,h.T.BRACE_R);return this.node(e,{kind:u.h.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(h.T.COLON);let r=this.parseNamedType();return this.node(e,{kind:u.h.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:u.h.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:u.h.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(h.T.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(h.T.BRACE_L,this.parseFieldDefinition,h.T.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(h.T.COLON);let i=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:u.h.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:a})}parseArgumentDefs(){return this.optionalMany(h.T.PAREN_L,this.parseInputValueDef,h.T.PAREN_R)}parseInputValueDef(){let e;let t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(h.T.COLON);let i=this.parseTypeReference();this.expectOptionalToken(h.T.EQUALS)&&(e=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:u.h.INPUT_VALUE_DEFINITION,description:r,name:n,type:i,defaultValue:e,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:u.h.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:a})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:u.h.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(h.T.EQUALS)?this.delimitedMany(h.T.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:u.h.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(h.T.BRACE_L,this.parseEnumValueDefinition,h.T.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:u.h.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,s.h)(this._lexer.source,this._lexer.token.start,`${f(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:u.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(h.T.BRACE_L,this.parseInputValueDef,h.T.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===h.T.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(h.T.BRACE_L,this.parseOperationTypeDefinition,h.T.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:u.h.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:u.h.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();
134return this.node(e,{kind:u.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:u.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:u.h.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:u.h.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:u.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(h.T.AT);let r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(e,{kind:u.h.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:a})}parseDirectiveLocations(){return this.delimitedMany(h.T.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(a,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t;let r=this._lexer.token,n=this.expectOptionalToken(h.T.AT),i=this.parseName();return(!n&&this.expectOptionalToken(h.T.DOT)&&(e=this.parseName()),(n||e)&&this.expectOptionalToken(h.T.PAREN_L)&&(t=this.parseName(),this.expectToken(h.T.COLON),this.expectToken(h.T.PAREN_R)),n)?t?this.node(r,{kind:u.h.DIRECTIVE_ARGUMENT_COORDINATE,name:i,argumentName:t}):this.node(r,{kind:u.h.DIRECTIVE_COORDINATE,name:i}):e?t?this.node(r,{kind:u.h.ARGUMENT_COORDINATE,name:i,fieldName:e,argumentName:t}):this.node(r,{kind:u.h.MEMBER_COORDINATE,name:i,memberName:e}):this.node(r,{kind:u.h.TYPE_COORDINATE,name:i})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new l.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,s.h)(this._lexer.source,t.start,`Expected ${m(e)}, found ${f(t)}.`)}expectOptionalToken(e){let t=this._lexer.token;return t.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===h.T.NAME&&t.value===e)this.advanceLexer();else throw(0,s.h)(this._lexer.source,t.start,`Expected "${e}", found ${f(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===h.T.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return(0,s.h)(this._lexer.source,t.start,`Unexpected ${f(t)}.`)}any(e,t,r){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();
134if(t.kind!==h.T.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,s.h)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function f(e){let t=e.value;return m(e.kind)+(null!=t?` "${t}"`:"")}function m(e){return(0,c.u2)(e)?`"${e}"`:e}var g=new Map,v=new Map,y=!0,b=!1;function S(e){return e.replace(/[\s,]+/g," ").trim()}function w(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[r+1]}),function(e){var t=S(e);if(!g.has(t)){var r,n,i,a,s,l=function(e,t){let r=new p(e,t),n=r.parseDocument();return Object.defineProperty(n,"tokenCount",{enumerable:!1,value:r.tokenCount}),n}(e,{experimentalFragmentVariables:b,allowLegacyFragmentVariables:b});if(!l||"Document"!==l.kind)throw Error("Not a valid GraphQL document.");g.set(t,(r=new Set,n=[],l.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,a=S((t=e.loc).source.body.substring(t.start,t.end)),o=v.get(i);o&&!o.has(a)?y&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||v.set(i,o=new Set),o.add(a),r.has(a)||(r.add(a),n.push(e))}else n.push(e)}),i=(0,o.pi)((0,o.pi)({},l),{definitions:n}),(a=new Set(i.definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&a.add(r)})}),(s=i.loc)&&(delete s.startToken,delete s.endToken),i))}return g.get(t)}(n)}var x={gql:w,resetCaches:function(){g.clear(),v.clear()},disableFragmentWarnings:function(){y=!1},enableExperimentalFragmentVariables:function(){b=!0},disableExperimentalFragmentVariables:function(){b=!1}};(i=w||(w={})).gql=x.gql,i.resetCaches=x.resetCaches,i.disableFragmentWarnings=x.disableFragmentWarnings,i.enableExperimentalFragmentVariables=x.enableExperimentalFragmentVariables,i.disableExperimentalFragmentVariables=x.disableExperimentalFragmentVariables,w.default=w;var E=w},8679:function(e,t,r){"use strict";var n=r(21296),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(f){var i=p(r);i&&i!==f&&e(t,i,n)}var o=c(r);d&&(o=o.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<o.length;++g){var v=o[g];if(!a[v]&&!(n&&n[v])&&!(m&&m[v])&&!(s&&s[v])){var y=h(r,v);try{u(t,v,y)}catch(e){}}}}return t}},96103:function(e,t){"use strict";/** @license React v16.13.1
135 * react-is.production.min.js
136 *
137 * Copyright (c) Facebook, Inc. and its affiliates.
138 *
139 * This source code is licensed under the MIT license found in the
140 * LICENSE file in the root directory of this source tree.
141 */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case a:case s:case o:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case g:case m:case l:return e;default:return t}}case i:return t}}}function x(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=h,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||w(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===h},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===o||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===y||e.$$typeof===b||e.$$typeof===S||e.$$typeof===v)},t.typeOf=w},21296:function(e,t,r){"use strict";e.exports=r(96103)},28087:function(e){let t=[{mainStationSlug:null,trackHistory:null,videoPlayerChannel:null,noSearchResults:{headerText:"Geen <NO_RESULT_TYPE> gevonden",bodyText:"Helaas wij hebben <NO_RESULT_TYPE> gevonden voor jouw zoekopdracht",bodyTextSuggestion:"Controleer de spelling of probeer een andere zoekopdracht.",collectionUrl:"/collection/linkList/no-search-result-collection"},articleCollectionPanels:{topCollectionUrl:"/collection/linkList/article-panel-top-collection",bottomCollectionUrl:"/collection/categoryBasedCollection/article-panel-bottom-collection"},iconFolder:"dailies",advertising:{adManagerURL:"https://mssl.fwmrm.net/libs/adm/7.5.0/AdManager.js",profileId:"506166:sanoma_sbs_ovp_js_live",networkId:506166,serverId:"https://7b936.v.fwmrm.net/ad/g/1"},subscription:{subscriptionApiEndpoint:"https://subscription-service.prd.ds.talpa.network/subscribe",newsletterTitle:"Ontvang onze nieuwsbrief",subscriptionEnabled:!0,fallbackLegalText:'Meld je aan om wekelijks onze nieuwsbrief te ontvangen. Je kan je altijd uitschrijven. Persoonsgegevens worden verwerkt in overeenstemming met de <a href="https://www.talpa.com/privacy" target="_blank">Privacyverklaring</a> van Talpa.'},searchModal:{placeholderCollectionUrl:"/collection/categoryBasedCollection/search-article-collection"},notFoundPage:{headerText:"Oeps... pagina niet gevonden",bodyText:"Helaas kunnen we de pagina die je zoekt niet vinden. Mogelijk is de pagina verwijderd of tijdelijk niet beschikbaar",collectionUrl:"/collection/categoryBasedCollection/404-collection",searchResultTitle:"Is dit wat je zocht?"},errorPage:{headerText:"Oeps... er is iets misgegaan",bodyText:"Helaas is er een probleem op onze server opgetreden. We werken eraan om dit zo snel mogelijk op te lossen. Probeer het later nog eens."},allowedSeries:[],socialMedia:null,appDownload:null,oAuth:{issuer:"https://api.account.talpanetwork.com"},designTokens:{colors:{skeleton:"var(--neutral-10-color)"},gradients:{fadeWhiteLeft:"linear-gradient(270deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%)",fadeWhiteRight:"linear-gradient(270deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)",fadeBlackBottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, rgba(0, 0, 0, 0.60) 100%)",fadeBlack90BottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.90) 100%)"},fontFamilies:[{family:"Lato",faces:[{file:"/fonts/lato/Lato-Italic.woff2",weight:400,style:"italic"},{file:"/fonts/lato/Lato-BoldItalic.woff2",weight:700,style:"italic"},{file:"/fonts/lato/Lato-Bold.woff2",weight:700,style:"normal"},{file:"/fonts/lato/Lato-Regular.woff2",weight:400,style:"normal"}]}]}}];e.exports=t.length<=1?t[0]:t},64214:function(e){let t=[{outletName:"Talpa",appId:354799163951,oneTrustId:"01a0a43e-b2ad-77dd-9683-02b3f4e64b7a",contentApiEndpoint:"https://contentapi.talpanetwork.com",featureFile:"https://assets.prod.webx.talpa.digital/features/corporatesite.json",tealium:{profile:"talpa-corporate-web",environment:"prod"},socialMedia:{title:"Volg Talpa",instagram:"https://www.instagram.com/talpanetwork/",linkedIn:"https://www.linkedin.com/company/talpanetwork"},subscription:{subscriptionEnabled:!1},notFoundPage:{imageUrl:"https://images.ctfassets.net/arthrxtapwxr/5krhA6QrbJsLwk79VeAnsR/06a9a1843a040c477275863156f22c3e/404-error-corporate-site.jpeg"},errorPage:{imageUrl:"https://images.ctfassets.net/arthrxtapwxr/3P3QJxawK6EfQ0vQvjpGml/5cdafcbf92dde93066ac7e309180cf39/500-error-corporate-site.jpeg"},designTokens:{colors:{primary10:"#DFDFF5",primary50:"#8B8BF1",primary90:"#3737ED",primary100:"#2121ED",primary120:"#1A1ABE",primary140:"#14148E",secondary10:"#F5E2DF",secondary50:"#F9978A",secondary90:"#FD4C35",secondary100:"#FD391F",secondary120:"#CA2D1A",secondary140:"#982312",tertiary10:"#EBDDF3",tertiary50:"#CB80E8",tertiary100:"#A20DDB",tertiary120:"#820AAE",tertiary140:"#610883",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",
141neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#FFFFFF",pageHeader:"var(--neutral-100-color)",tabBar:"var(--gradient-07)",topBarIcon:"var(--neutral-100-color)",quoteIcon:"var(--secondary-100-color)",topBarSearchBackground:"var(--neutral-10-color)",topBarSearchText:"var(--neutral-80-color)",showAllLink:"var(--secondary-100-color)",richTextLink:"var(--secondary-100-color)"},opacities:{opacity01:"rgba(33, 33, 237, 0.90);",opacity02:"rgba(0, 0, 0, 0.40);"},gradients:{gradient01:"linear-gradient(270deg, #0A1A6C 0%, #0D2087 25%, #0D2087 50%, #0D2087 75%, #0A1A6C 100%)",gradient02:"linear-gradient(270deg, #0A1A6C 0%, #0D2087 100%)",gradient03:"linear-gradient(270deg, #0D2087 0%, #0A1A6C 100%)",gradient04:"linear-gradient(270deg, #081351 0%, #0D2087 100%)",gradient05:"linear-gradient(180deg, rgba(8, 19, 81, 0.00) 0%, #081351 100%)",gradient06:"linear-gradient(270deg, #FF4747 0%, #0D2087 100%)",gradient07:"linear-gradient(270deg, #2121ED 0%, #A20DDB 52%, #FD391F 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #0D2087 0%, rgba(13, 32, 135, 0.70) 50%, rgba(13, 32, 135, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #0D2087 0%, rgba(13, 32, 135, 0.70) 50%, rgba(13, 32, 135, 0.00) 100%)",fadeNeutral10LeftRight:"linear-gradient(90deg, #F2F2F2 0%, rgba(242, 242, 242, 0.99) 10%, rgba(242, 242, 242, 0.97) 20%, rgba(242, 242, 242, 0.93) 30%, rgba(242, 242, 242, 0.87) 40%, rgba(242, 242, 242, 0.78) 50%, rgba(242, 242, 242, 0.66) 60%, rgba(242, 242, 242, 0.51) 70%, rgba(242, 242, 242, 0.34) 80%, rgba(242, 242, 242, 0.17) 90%, rgba(242, 242, 242, 0.00) 100%)",fadePageHeaderLeftRight:"linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.70) 50%, rgba(0, 0, 0, 0.00) 100%)",fadePageHeaderBottomTop:"linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.50) 50%, rgba(0, 0, 0, 0.00) 100%)",fadeBlackBottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, rgba(0, 0, 0, 0.60) 100%)",fadeBlack90BottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.90) 100%)"},button:{primaryTextColor:"var(--neutral-0-color)",secondaryTextColor:"var(--neutral-0-color)",outlineTextColor:"var(--primary-100-color)",textColor:"var(--primary-100-color)",hoverPrimaryTextColor:"var(--neutral-0-color)",pressedPrimaryTextColor:"var(--neutral-0-color)",hoverPrimaryBackgroundColor:"var(--primary-120-color)",hoverSecondaryBackgroundColor:"var(--secondary-120-color)",hoverOutlineBackgroundColor:"var(--primary-120-color)",pressedPrimaryBackgroundColor:"var(--primary-50-color)",pressedSecondaryBackgroundColor:"var(--secondary-50-color)",pressedOutlineBackgroundColor:"var(--primary-50-color)",hoverTextBackgroundColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)",socialMedia:{backgroundColor:"var(--primary-100-color)",hoverBackgroundColor:"var(--primary-120-color)",activeBackgroundColor:"var(--primary-50-color)"}},infiniteCollectionItem:{activeRingColor:"var(--primary-100-color)",categoryColor:"var(--primary-100-color)",categoryVisitedColor:"var(--primary-50-color)",labelBackgroundColor:"var(--primary-100-color)"},headline:{categoryColor:"var(--primary-100-color)",categoryHoverColor:"var(--primary-120-color)"},highlightedItem:{background:"var(--neutral-10-color)",imageGradient:"var(--fade-neutral-10-left-right)",title:"var(--neutral-100-color)",text:"var(--neutral-80-color)",buttonVariant:"primary"},tile:{pillBg:"var(--primary-100-color)"},fontFamilies:[{family:"Gilroy",faces:[{file:"/fonts/gilroy/Gilroy-RegularItalic.woff2",weight:400,style:"italic"},{file:"/fonts/gilroy/Gilroy-ExtraBold.woff2",weight:800,style:"normal"},{file:"/fonts/gilroy/Gilroy-Bold.woff2",weight:700,style:"normal"},{file:"/fonts/gilroy/Gilroy-Regular.woff2",weight:400,style:"normal"}]}],font:{header1:"800 normal 34px/40px Gilroy, Tahoma, Sans-Serif",header2:"800 normal 26px/30px Gilroy, Tahoma, Sans-Serif",header3:"800 normal 24px/28px Gilroy, Tahoma, Sans-Serif",header4:"800 normal 20px/24px Gilroy, Tahoma, Sans-Serif",header5:"800 normal 18px/26px Gilroy, Tahoma, Sans-Serif",header6:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",header7:"700 normal 14px/18px Gilroy, Tahoma, Sans-Serif",numericBadge:"800 normal 64px/64px Gilroy, Tahoma, Sans-Serif",bodyLarge:"400 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyLargeStrong:"700 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMedium:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif",bodyMediumItalic:"400 italic 16px/24px Gilroy, Tahoma, Sans-Serif",bodyMediumStrong:"700 normal 16px/24px Gilroy, Tahoma, Sans-Serif",bodySmall:"400 normal 14px/20px Gilroy, Tahoma, Sans-Serif",bodySmallStrong:"700 normal 14px/20px Gilroy, Tahoma, Sans-Serif",bodyExtraSmall:"400 normal 12px/15px Gilroy, Tahoma, Sans-Serif",bodyExtraSmallStrong:"700 normal 12px/15px Gilroy, Tahoma, Sans-Serif",link:"700 normal 16px/24x Gilroy, Tahoma, Sans-Serif",category:"700 normal 12px/12px Gilroy, Tahoma, Sans-Serif",buttonLarge:"700 normal 18px/18px Gilroy, Tahoma, Sans-Serif",buttonMedium:"700 normal 16px/16px Gilroy, Tahoma, Sans-Serif",buttonSmall:"700 normal 14px/14px Gilroy, Tahoma, Sans-Serif",tab:"400 normal 16px/20px Gilroy, Tahoma, Sans-Serif",tabStrong:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",footer:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif"},fontMd:{header1:"800 normal 48px/54px Gilroy, Tahoma, Sans-Serif",header2:"800 normal 40px/46px Gilroy, Tahoma, Sans-Serif",header3:"800 
141normal 32px/40px Gilroy, Tahoma, Sans-Serif",header4:"800 normal 24px/28px Gilroy, Tahoma, Sans-Serif",header5:"800 normal 20px/28px Gilroy, Tahoma, Sans-Serif",header6:"700 normal 18px/24px Gilroy, Tahoma, Sans-Serif",header7:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",numericBadge:"800 normal 110px/110px Gilroy, Tahoma, Sans-Serif",bodyLarge:"400 normal 20px/28px Gilroy, Tahoma, Sans-Serif",bodyLargeStrong:"700 normal 20px/28px Gilroy, Tahoma, Sans-Serif",bodyMedium:"400 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMediumItalic:"400 italic 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMediumStrong:"700 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodySmall:"400 normal 15px/20px Gilroy, Tahoma, Sans-Serif",bodySmallStrong:"700 normal 15px/20px Gilroy, Tahoma, Sans-Serif",bodyExtraSmall:"400 normal 12px/15px Gilroy, Tahoma, Sans-Serif",bodyExtraSmallStrong:"700 normal 12px/15px Gilroy, Tahoma, Sans-Serif",link:"700 normal 18px/26x Gilroy, Tahoma, Sans-Serif",category:"700 normal 12px/12px Gilroy, Tahoma, Sans-Serif",buttonLarge:"700 normal 18px/18px Gilroy, Tahoma, Sans-Serif",buttonMedium:"700 normal 16px/16px Gilroy, Tahoma, Sans-Serif",buttonSmall:"700 normal 14px/14px Gilroy, Tahoma, Sans-Serif",tab:"400 normal 16px/20px Gilroy, Tahoma, Sans-Serif",tabStrong:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",footer:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif"},articleGrid:{gridColumns:{md:2,lg:3,xl:3},itemFetchLimit:{xs:8,sm:8,md:6,lg:6}},isBorderlessDesign:!0,footer:{background:"var(--neutral-0-color)",border:"var(--neutral-20-color)",text:"var(--neutral-60-color)",submenuTitle:"var(--neutral-100-color)",hoverText:"var(--neutral-90-color)"}}}];e.exports=t.length<=1?t[0]:t},12960:function(e){let t=[{outletName:"Hart van Nederland",oneTrustId:"0c111e43-0be2-49c3-abc3-7aa0aaeb3d09",contentApiEndpoint:"https://contentapi.hartvannederland.nl",featureFile:"https://assets.prod.webx.talpa.digital/features/hartvannederland.json",enableNewsSitemap:!0,advertising:{networkGroup:"sbs",channelGroup:"sbs6",zoneGroup:"hvnl",homepageDPGAdEnabled:!0},tealium:{profile:"pub-hartvannederland-web",environment:"prod"},subscription:{subscriptionEnabled:!1,newsletterSubtitle:"Wil je persoonlijke en indrukwekkende verhalen, met het laatste (positieve of regionale) nieuws, tips en achtergrond, in je mailbox ontvangen? Meld je dan aan voor de nieuwsbrief.",subscriptionText:"Ja, ik wil graag wekelijks de nieuwsbrief van Hart van Nederland ontvangen met daarin het laatste nieuws en aanbiedingen die wijzelf of in samenwerking met onze partners organiseren."},notFoundPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/6Xh5C9e94w4uX0OiR9niqM/cb2e9aefe63021f122c642000377d81e/404-hartvannederland.jpg"},errorPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/5meMtKD0tGvb5U9UKhUjOR/67d503d2b5375df711c6d3a606a33c5d/500-hartvannederland.jpg"},socialMedia:{title:"Volg Hart van Nederland",instagram:"https://www.instagram.com/hartvannederland/",youtube:"https://www.youtube.com/@HartvNL",x:"https://x.com/HartvNL",facebook:"https://www.facebook.com/hartvannederland/"},allowedSeries:[{id:"rJh5SGui6xI",slug:"hart-van-nederland-late-editie",title:"Late Editie"},{id:"3QfhjZFY0GZ",slug:"hart-van-nederland-ochtend-editie",title:"Ochtend Editie"},{id:"IJDNB2QE6DN",slug:"hart-van-nederland-vroege-editie",title:"Vroege Editie"},{id:"3tYQltk6fpV",slug:"het-weer",title:"Het Weer"}],categoryOrder:["nieuws","entertainment"],designTokens:{colors:{primary10:"#E6F4FF",primary50:"#80C5FF",primary90:"#1A97FF",primary100:"#008CFF",primary120:"#2F6FCF",secondary10:"#FFF1E6",secondary50:"#FFB980",secondary90:"#FF821A",secondary100:"#FF7300",secondary120:"#E56700",tertiary50:"#FBF38D",tertiary10:"#FEFDE8",tertiary100:"#F8E71C",tertiary120:"#C6B916",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#008CFF",tabBar:"#1A97FF"},opacities:{opacity02:"rgba(0, 0, 0, 0.40)"},gradients:{gradient01:"linear-gradient(270deg, #2F6FCF 0%, #008CFF 25.26%, #008CFF 50.02%, #008CFF 75%, #2F6FCF 100%)",gradient02:"linear-gradient(270deg, #2F6FCF 0%, #008CFF 100%)",gradient03:"linear-gradient(270deg, #008CFF 0%, #2F6FCF 100%)",gradient04:"linear-gradient(270deg, #022A51 0%, #008CFF 100%)",gradient05:"linear-gradient(180deg, rgba(2, 42, 81, 0.00) 0%, #022A51 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #008CFF 0%, rgba(0, 140, 255, 0.70) 50%, rgba(0, 140, 255, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #008CFF 0%, rgba(0, 140, 255, 0.70) 50%, rgba(0, 140, 255, 0.00) 100%)"},button:{textColor:"var(--primary-100-color)",hoverPrimaryTextColor:"var(--neutral-0-color)",pressedPrimaryTextColor:"var(--neutral-0-color)",hoverTextBackgroun
141dColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)"},font:{header1:"bold normal 34px/40px Lato, Tahoma, Sans-Serif",header2:"bold normal 26px/30px Lato, Tahoma, Sans-Serif",header3:"bold normal 24px/28px Lato, Tahoma, Sans-Serif",header4:"bold normal 20px/24px Lato, Tahoma, Sans-Serif",header5:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",header6:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",header7:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",numericBadge:"bold normal 64px/64px Lato, Tahoma, Sans-Serif",tab:"normal normal 16px/20px Lato, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",category:"bold normal 12px/12px Lato, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px Lato, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px Lato, Tahoma, Sans-Serif",bodySmall:"normal normal 14px/20px Lato, Tahoma, Sans-Serif",bodyMedium:"normal normal 16px/24px Lato, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 16px/24px Lato, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 16px/24px Lato, Sans-Serif",bodyLarge:"normal normal 18px/26px Lato, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Lato, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px Lato, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Lato, Tahoma, Sans-Serif"},fontMd:{header1:"bold normal 48px/54px Lato, Tahoma, Sans-Serif",header2:"bold normal 40px/48px Lato, Tahoma, Sans-Serif",header3:"bold normal 32px/40px Lato, Tahoma, Sans-Serif",header4:"bold normal 24px/28px Lato, Tahoma, Sans-Serif",header5:"bold normal 20px/28px Lato, Tahoma, Sans-Serif",header6:"bold normal 18px/24px Lato, Tahoma, Sans-Serif",header7:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",numericBadge:"bold normal 110px/110px Lato, Tahoma, Sans-Serif",tab:"normal normal 16px/20px Lato, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",category:"bold normal 12px/12px Lato, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px Lato, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px Lato, Tahoma, Sans-Serif",bodySmall:"normal normal 15px/20px Lato, Tahoma, Sans-Serif",bodyMedium:"normal normal 18px/26px Lato, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 18px/26px Lato, Sans-Serif",bodyLarge:"normal normal 20px/28px Lato, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 20px/28px Lato, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Lato, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px Lato, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Lato, Tahoma, Sans-Serif"},footer:{text:"var(--neutral-30-color)",hoverText:"var(--neutral-0-color)"},articleGrid:{gridColumns:{md:2,lg:3,xl:4},itemFetchLimit:{xs:8,sm:8,md:9,lg:8}},isBorderlessDesign:!1}}];e.exports=t.length<=1?t[0]:t},87261:function(e){let t=[{outletName:"Het Nieuws",oneTrustId:"019df87f-02cc-706a-8a5a-269f9313de95",contentApiEndpoint:"https://contentapi.hetnieuws.nl",featureFile:"https://assets.prod.webx.talpa.digital/features/hetnieuws.json",enableNewsSitemap:!0,advertising:{networkGroup:"talpa",channelGroup:"hetnieuws",homepageDPGAdEnabled:!0},tealium:{profile:"talpa-hetnieuws-web",environment:"prod"},subscription:{subscriptionEnabled:!1,newsletterSubtitle:"Wil je persoonlijke en indrukwekkende verhalen, met het laatste (positieve of regionale) nieuws, tips en achtergrond, in je mailbox ontvangen? Meld je dan aan voor de nieuwsbrief.",subscriptionText:"Ja, ik wil graag wekelijks de nieuwsbrief van Hart van Nederland ontvangen met daarin het laatste nieuws en aanbiedingen die wijzelf of in samenwerking met onze partners organiseren."},notFoundPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/6Xh5C9e94w4uX0OiR9niqM/cb2e9aefe63021f122c642000377d81e/404-hartvannederland.jpg"},errorPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/5meMtKD0tGvb5U9UKhUjOR/67d503d2b5375df711c6d3a606a33c5d/500-hartvannederland.jpg"},socialMedia:null,allowedSeries:[{id:"0f3viKbg4vz",slug:"shownieuws",title:"Shownieuws"},{id:"rJh5SGui6xI",slug:"hart-van-nederland-late-editie",title:"Late Editie"},{id:"3QfhjZFY0GZ",slug:"hart-van-nederland-ochtend-editie",title:"Ochtend Editie"},{id:"IJDNB2QE6DN",slug:"hart-van-nederland-vroege-editie",title:"Vroege Editie"},{id:"3tYQltk6fpV",slug:"het-weer",title:"Het Weer"},{id:"ziHtMmz9mz9",slug:"nieuws-van-de-dag",title:"Nieuws van de Dag"}],categoryOrder:["nieuws","entertainment"],designTokens:{colors:{primary10:"#E6EFFE",primary50:"#81AEFA",primary90:"#1C6DF6",primary100:"#035DF5",primary120:"#024AC4",primary140:"#023893",secondary10:"#FFF3E5",secondary50:"#FFC580",secondary90:"#FF971A",secondary100:"#FF8B00",secondary120:"#CC6F00",secondary140:"#995300",tertiary10:"#E6FBFE",tert
141iary50:"#80EDFA",tertiary100:"#02DBF5",tertiary120:"#02AFC4",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#FFFFFF",pageHeader:"#035DF5",tabBar:"var(--neutral-0-color)",tabBarText:"var(--neutral-100-color)",tabBarBorder:"var(--neutral-20-color)",tabBarItemBorder:"var(--primary-100-color)",tabBarArrow:"var(--primary-100-color)",topBarIcon:"var(--neutral-100-color)",topBarSearchBackground:"var(--neutral-10-color)",topBarSearchText:"var(--neutral-80-color)"},opacities:{opacity01:"rgba(0, 140, 255, 0.9)",opacity02:"rgba(0, 0, 0, 0.40)"},gradients:{gradient01:"linear-gradient(270deg, #024AC4 0%, #035DF5 25.26%, #035DF5 50.02%, #035DF5 75%, #024AC4 100%)",gradient02:"linear-gradient(270deg, #024AC4 0%, #035DF5 100%)",gradient03:"linear-gradient(270deg, #035DF5 0%, #024AC4 100%)",gradient04:"linear-gradient(270deg, #023893 0%, #035DF5 100%)",gradient05:"linear-gradient(180deg, rgba(2, 56, 147, 0.00) 0%, #023893 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #035DF5 0%, rgba(3, 93, 245, 0.70) 50%, rgba(3, 93, 245, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #035DF5 0%, rgba(3, 93, 245, 0.70) 50%, rgba(3, 93, 245, 0.00) 100%)"},button:{textColor:"var(--primary-100-color)",hoverPrimaryTextColor:"var(--neutral-0-color)",pressedPrimaryTextColor:"var(--neutral-0-color)",hoverTextBackgroundColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)"},font:{header1:"bold normal 34px/40px Lato, Tahoma, Sans-Serif",header2:"bold normal 26px/30px Lato, Tahoma, Sans-Serif",header3:"bold normal 24px/28px Lato, Tahoma, Sans-Serif",header4:"bold normal 20px/24px Lato, Tahoma, Sans-Serif",header5:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",header6:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",header7:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",numericBadge:"bold normal 64px/64px Lato, Tahoma, Sans-Serif",tab:"normal normal 16px/20px Lato, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",category:"bold normal 12px/12px Lato, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px Lato, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px Lato, Tahoma, Sans-Serif",bodySmall:"normal normal 14px/20px Lato, Tahoma, Sans-Serif",bodyMedium:"normal normal 16px/24px Lato, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 16px/24px Lato, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 16px/24px Lato, Sans-Serif",bodyLarge:"normal normal 18px/26px Lato, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Lato, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px Lato, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Lato, Tahoma, Sans-Serif"},fontMd:{header1:"bold normal 48px/54px Lato, Tahoma, Sans-Serif",header2:"bold normal 40px/48px Lato, Tahoma, Sans-Serif",header3:"bold normal 32px/40px Lato, Tahoma, Sans-Serif",header4:"bold normal 24px/28px Lato, Tahoma, Sans-Serif",header5:"bold normal 20px/28px Lato, Tahoma, Sans-Serif",header6:"bold normal 18px/24px Lato, Tahoma, Sans-Serif",header7:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",numericBadge:"bold normal 110px/110px Lato, Tahoma, Sans-Serif",tab:"normal normal 16px/20px Lato, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",category:"bold normal 12px/12px Lato, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px Lato, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px Lato, Tahoma, Sans-Serif",bodySmall:"normal normal 15px/20px Lato, Tahoma, Sans-Serif",bodyMedium:"normal normal 18px/26px Lato, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 18px/26px Lato, Sans-Serif",bodyLarge:"normal normal 20px/28px Lato, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 20px/28px Lato, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Lato, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px L
141ato, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Lato, Tahoma, Sans-Serif"},articleGrid:{gridColumns:{md:2,lg:3,xl:4},itemFetchLimit:{xs:8,sm:8,md:9,lg:8}},isBorderlessDesign:!1,footer:{background:"var(--neutral-0-color)",border:"var(--neutral-20-color)",text:"var(--neutral-60-color)",submenuTitle:"var(--neutral-90-color)",hoverText:"var(--neutral-90-color)"}}}];e.exports=t.length<=1?t[0]:t},28027:function(e){let t=[{outletName:"KIJK",appId:354799163951,oneTrustId:"be6b5eb1-8486-4f8f-984f-e41376863c70",contentApiEndpoint:"https://contentapi.kijk.nl",featureFile:"https://assets.prod.webx.talpa.digital/features/kijk.json",videoPlayerChannel:"kijkweb",advertising:{networkGroup:"talpa",channelGroup:"kijk2"},oAuth:{profileUrl:"https://kijk.mijn.account.talpanetwork.com/profile"},deepLinks:{androidAppBase:"android-app://nl.sbs.kijk",iosAppBase:"ios-app://877572689"},tealium:{profile:"video-kijk-web",environment:"prod"},subscription:{newsletterTitle:"Ontvang de KIJK-nieuwsbrief",newsletterSubtitle:"Meld je aan voor de nieuwsbrief en blijf op de hoogte van het laatste nieuws over de programma’s en series op KIJK.",subscriptionText:"Ja, ik wil graag 2x per maand de nieuwsbrief van KIJK ontvangen met nieuws, informatie over programma's, series, films, video's en acties die wij z\xe9lf of in samenwerking met onze partners organiseren."},notFoundPage:{imageUrl:"https://images.ctfassets.net/xb7h1e8hmxoz/6kPEFRoFnIuhvuhNLcixnP/1689e0ffd401d60a12ec6a31c4cf992f/404-kijk.png",disableSearch:!0},errorPage:{imageUrl:"https://images.ctfassets.net/xb7h1e8hmxoz/5iMyoegjmERHAs9ZQ6unsw/886fddba6f60caf275170c663c361d3b/500-kijk.png"},socialMedia:{title:"Volg KIJK",instagram:"https://www.instagram.com/kijknl/",youtube:"https://www.youtube.com/@KIJK_nl",x:"https://x.com/kijk",facebook:"https://www.facebook.com/kijk.nl/"},landscapeImageFallback:"https://www.kijk.nl/images/kijk_landscape.png",appDownload:{title:"Download de KIJK app",adjustLink:"https://38qc.eu.adj.st?adj_t=p8d51bd"},searchModal:{enableKijkSearch:!0},categoryOrder:[],designTokens:{colors:{primary10:"#F7E7FC",primary50:"#D589EE",primary90:"#B32BE0",primary100:"#AB13DD",primary120:"#890FB1",primary140:"#670B85",secondary10:"#E9E7F2",secondary50:"#9387BF",secondary90:"#3E278D",secondary100:"#280F80",secondary120:"#200C66",secondary140:"#18094D",tertiary10:"#EAF2F7",tertiary50:"#97BED7",tertiary100:"#2F7EB0",tertiary120:"#26658D",miscellaneous01:"#F8E71C",miscellaneous02:"#F9ED55",miscellaneous03:"#D2C416",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#000000",tabBar:"#000000",text:"#CCCCCC",headerText:"#FFFFFF",galleryHeaderText:"#FFFFFF",skeleton:"var(--opacity-03)",divider:"var(--opacity-03)",iconButtonDisabled:"var(--opacity-04)",buttonDisabled:"var(--opacity-05)",buttonDisabledText:"var(--opacity-04)",showAllLink:"var(--neutral-30-color)",richText:"var(--neutral-0-color)"},opacities:{opacity01:"rgba(171, 19, 221, 0.9);",opacity02:"rgba(0, 0, 0, 0.4);",opacity03:"rgba(255, 255, 255, 0.2);",opacity04:"rgba(255, 255, 255, 0.3);",opacity05:"rgba(255, 255, 255, 0.5);",opacity06:"rgba(255, 255, 255, 0.8);",opacity07:"rgba(0, 0, 0, 0.25);"},gradients:{gradient01:"linear-gradient(270deg, #890FB1 0%, #AB13DD 25%, #AB13DD 50.02%, #AB13DD 75%, #890FB1 100%)",gradient02:"linear-gradient(90deg, #AB13DD 0%, #890FB1 100%)",gradient03:"linear-gradient(90deg, #890FB1 0%, #AB13DD 100%)",gradient04:"linear-gradient(270deg, #670B85 0%, #AB13DD 100%)",gradient05:"linear-gradient(180deg, rgba(103, 11, 133, 0) 0%, #670B85 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #AB13DD 0%, rgba(171, 19, 221, 0.7) 50%, rgba(171, 19, 221, 0) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #AB13DD 0%, rgba(171, 19, 221, 0.7) 50%, rgba(171, 19, 221, 0) 100%)",fadeBlackBottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, rgba(0, 0, 0, 0.60) 100%)",fadeBlack90BottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.90) 100%)",primarySecondary:"linear-gradient(270deg, #280F80 0%, #AB13DD 100%)",magentaBlack:"linear-gradient(167.46deg, #AB13DD 0%, #280F80 26.68%, #000000 89%)",fadeNeutralLeftRight:"linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%)",fadeNeutralBottomTop:"linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0) 100%)",fadePageHeaderLeftRight:"linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.70) 50%, rgba(0, 0, 0, 0.00) 100%)",fadePageHeaderBottomTop:"linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.70) 50%, rgba(0, 0, 0, 0.00) 100%)"}
141,button:{primaryBackgroundColor:"var(--neutral-0-color)",secondaryBackgroundColor:"var(--primary-100-color)",hoverPrimaryBackgroundColor:"var(--neutral-20-color)",hoverSecondaryBackgroundColor:"var(--primary-120-color)",pressedPrimaryBackgroundColor:"var(--neutral-10-color)",pressedSecondaryBackgroundColor:"var(--primary-50-color)",outlineTextColor:"var(--neutral-0-color)",hoverOutlineBackgroundColor:"var(--primary-120-color)",pressedOutlineBackgroundColor:"var(--primary-50-color)",primaryTextColor:"var(--neutral-100-color)",secondaryTextColor:"var(--neutral-0-color)",textColor:"var(--neutral-0-color)",hoverPrimaryTextColor:"var(--neutral-100-color)",pressedPrimaryTextColor:"var(--neutral-100-color)",hoverTextColor:"var(--neutral-0-color)",pressedTextColor:"var(--neutral-0-color)",hoverTextBackgroundColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)",borderRadius:"26px"},tile:{pillBg:"var(--primary-100-color)",pillFg:"#FFF"},subscription:{isSecondaryButtonVariant:!0},fontFamilies:[{family:"CeraPro",faces:[{file:"/fonts/cera-pro/CeraPro-Bold.woff2",weight:700,style:"normal"},{file:"/fonts/cera-pro/CeraPro-Regular.woff2",weight:400,style:"normal"}]}],font:{header1:"700 normal 32px/40px CeraPro, Tahoma, Sans-Serif",header2:"700 normal 24px/28px CeraPro, Tahoma, Sans-Serif",header3:"700 normal 22px/26px CeraPro, Tahoma, Sans-Serif",header4:"700 normal 20px/24px CeraPro, Tahoma, Sans-Serif",header5:"700 normal 18px/26px CeraPro, Tahoma, Sans-Serif",header6:"700 normal 16px/20px CeraPro, Tahoma, Sans-Serif",header7:"700 normal 14px/18px CeraPro, Tahoma, Sans-Serif",numericBadge:"700 normal 64px/64px CeraPro, Tahoma, Sans-Serif",bodyLarge:"400 normal 18px/26px CeraPro, Tahoma, Sans-Serif",bodyLargeStrong:"700 normal 18px/26px CeraPro, Tahoma, Sans-Serif",bodyMedium:"400 normal 16px/24px CeraPro, Tahoma, Sans-Serif",bodyMediumItalic:"400 normal 16px/24px CeraPro, Tahoma, Sans-Serif",bodyMediumStrong:"700 normal 16px/24px CeraPro, Tahoma, Sans-Serif",bodySmall:"400 normal 14px/20px CeraPro, Tahoma, Sans-Serif",bodySmallStrong:"700 normal 14px/20px CeraPro, Tahoma, Sans-Serif",bodyExtraSmall:"400 normal 12px/15px CeraPro, Tahoma, Sans-Serif",bodyExtraSmallStrong:"700 normal 12px/15px CeraPro, Tahoma, Sans-Serif",link:"700 normal 16px/24x CeraPro, Tahoma, Sans-Serif",category:"700 normal 12px/12px CeraPro, Tahoma, Sans-Serif",buttonLarge:"700 normal 18px/18px CeraPro, Tahoma, Sans-Serif",buttonMedium:"700 normal 16px/16px CeraPro, Tahoma, Sans-Serif",buttonSmall:"700 normal 14px/14px CeraPro, Tahoma, Sans-Serif",tab:"400 normal 16px/20px CeraPro, Tahoma, Sans-Serif",tabStrong:"700 normal 16px/20px CeraPro, Tahoma, Sans-Serif",footer:"400 normal 16px/24px CeraPro, Tahoma, Sans-Serif"},fontMd:{header1:"700 normal 44px/52px CeraPro, Tahoma, Sans-Serif",header2:"700 normal 38px/44px CeraPro, Tahoma, Sans-Serif",header3:"700 normal 32px/40px CeraPro, Tahoma, Sans-Serif",header4:"700 normal 24px/28px CeraPro, Tahoma, Sans-Serif",header5:"700 normal 20px/28px CeraPro, Tahoma, Sans-Serif",header6:"700 normal 18px/24px CeraPro, Tahoma, Sans-Serif",header7:"700 normal 16px/20px CeraPro, Tahoma, Sans-Serif",numericBadge:"700 normal 110px/110px CeraPro, Tahoma, Sans-Serif",bodyLarge:"400 normal 20px/28px CeraPro, Tahoma, Sans-Serif",bodyLargeStrong:"700 normal 20px/28px CeraPro, Tahoma, Sans-Serif",bodyMedium:"400 normal 18px/26px CeraPro, Tahoma, Sans-Serif",bodyMediumItalic:"400 normal 18px/26px CeraPro, Tahoma, Sans-Serif",bodyMediumStrong:"700 normal 18px/26px CeraPro, Tahoma, Sans-Serif",bodySmall:"400 normal 15px/20px CeraPro, Tahoma, Sans-Serif",bodySmallStrong:"700 normal 15px/20px CeraPro, Tahoma, Sans-Serif",bodyExtraSmall:"400 normal 12px/15px CeraPro, Tahoma, Sans-Serif",bodyExtraSmallStrong:"700 normal 12px/15px CeraPro, Tahoma, Sans-Serif",link:"700 normal 18px/26x CeraPro, Tahoma, Sans-Serif",category:"700 normal 13px/12px CeraPro, Tahoma, Sans-Serif",buttonLarge:"700 normal 18px/18px CeraPro, Tahoma, Sans-Serif",buttonMedium:"700 normal 16px/16px CeraPro, Tahoma, Sans-Serif",buttonSmall:"700 normal 14px/14px CeraPro, Tahoma, Sans-Serif",tab:"400 normal 16px/20px CeraPro, Tahoma, Sans-Serif",tabStrong:"700 normal 16px/20px CeraPro, Tahoma, Sans-Serif",footer:"400 normal 16px/24px CeraPro, Tahoma, Sans-Serif"},articleGrid:{gridColumns:{md:2,lg:3,xl:4},itemFetchLimit:{xs:8,sm:8,md:6,lg:6}},isBorderlessDesign:!0,footer:{background:"var(--neutral-100-color)",text:"var(--neutral-30-color)",hoverText:"var(--neutral-0-color)"},textFrame:{titleColor:"var(--neutral-90-color)"}}}];e.exports=t.length<=1?t[0]:t},40736:function(e){let t=[{outletName:"Kijkers TV",appId:354799163951,oneTrustId:"c46e443a-b87b-4a4c-8b75-b5e8cc82687b",contentApiEndpoint:"https://contentapi.kijkers.tv",featureFile:"https://assets.prod.webx.talpa.digital/features/kijkerstv.json",tealium:{profile:"talpa-kijkers-tv-web",environment:"prod"},subscription:{subscriptionEnabled:!1},notFoundPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/4uL9bhENK6sqWD4qJsVXgv/7af1caa1e98a1e8e8cd024c89083c384/404-kijkerstv.jpg"},errorPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/1dUxmDvXmMacSr590V8siG/65935f41abf7cd638bd90d41cb8298eb/500-kijkerstv.jpg"},designTokens:{colors:{primary10:"#EBEFFE",primary50:"#9BADF9",primary90:"#4C6CF3",primary100:"#385CF2",primary120:"#2D4AC2",primary140:"#223791",secondary10:"#FFEDED",secondary50:"#FFA3A3",secondary90:"#FF5959",secondary100:"#FF4747",secondary120:"#CC3939",secondary140:"#992B2B",tert
141iary10:"#E7E9F3",tertiary50:"#868FC3",tertiary90:"#3D4D9F",tertiary100:"#0D2087",tertiary120:"#0A1A6C",tertiary140:"#081351",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#FFFFFF",pageHeader:"var(--tertiary-100-color)",tabBar:"var(--gradient-06)",quoteIcon:"var(--primary-100-color)",topBarIcon:"var(--neutral-100-color)",topBarSearchBackground:"var(--neutral-10-color)",topBarSearchText:"var(--neutral-80-color)"},opacities:{opacity01:"rgba(13, 32, 135, 0.90);",opacity02:"rgba(0, 0, 0, 0.40);"},gradients:{gradient01:"linear-gradient(270deg, #0A1A6C 0%, #0D2087 25%, #0D2087 50%, #0D2087 75%, #0A1A6C 100%)",gradient02:"linear-gradient(270deg, #0A1A6C 0%, #0D2087 100%)",gradient03:"linear-gradient(270deg, #0D2087 0%, #0A1A6C 100%)",gradient04:"linear-gradient(270deg, #081351 0%, #0D2087 100%)",gradient05:"linear-gradient(180deg, rgba(8, 19, 81, 0.00) 0%, #081351 100%)",gradient06:"linear-gradient(270deg, #385CF2 0%, #0A1A6C 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #0D2087 0%, rgba(13, 32, 135, 0.70) 50%, rgba(13, 32, 135, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #0D2087 0%, rgba(13, 32, 135, 0.70) 50%, rgba(13, 32, 135, 0.00) 100%)",fadeBlackBottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, rgba(0, 0, 0, 0.60) 100%)",fadeBlack90BottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.90) 100%)"},button:{secondaryBackgroundColor:"var(--tertiary-100-color)",textColor:"var(--primary-100-color)",hoverPrimaryTextColor:"var(--neutral-0-color)",pressedPrimaryTextColor:"var(--neutral-0-color)",hoverPrimaryBackgroundColor:"var(--primary-120-color)",hoverSecondaryBackgroundColor:"var(--tertiary-120-color)",hoverOutlineBackgroundColor:"var(--primary-120-color)",pressedPrimaryBackgroundColor:"var(--primary-50-color)",pressedSecondaryBackgroundColor:"var(--tertiary-50-color)",pressedOutlineBackgroundColor:"var(--primary-50-color)",hoverTextBackgroundColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)"},infiniteCollectionItem:{labelBackgroundColor:"var(--secondary-100-color)"},highlightedItem:{background:"var(--tertiary-100-color)"},tile:{pillBg:"var(--tertiary-100-color)"},fontFamilies:[{family:"Gilroy",faces:[{file:"/fonts/gilroy/Gilroy-RegularItalic.woff2",weight:400,style:"italic"},{file:"/fonts/gilroy/Gilroy-ExtraBold.woff2",weight:800,style:"normal"},{file:"/fonts/gilroy/Gilroy-Bold.woff2",weight:700,style:"normal"},{file:"/fonts/gilroy/Gilroy-Regular.woff2",weight:400,style:"normal"}]}],font:{header1:"800 normal 34px/40px Gilroy, Tahoma, Sans-Serif",header2:"800 normal 26px/30px Gilroy, Tahoma, Sans-Serif",header3:"800 normal 24px/28px Gilroy, Tahoma, Sans-Serif",header4:"800 normal 20px/24px Gilroy, Tahoma, Sans-Serif",header5:"800 normal 18px/26px Gilroy, Tahoma, Sans-Serif",header6:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",header7:"700 normal 14px/18px Gilroy, Tahoma, Sans-Serif",numericBadge:"800 normal 64px/64px Gilroy, Tahoma, Sans-Serif",bodyLarge:"400 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyLargeStrong:"700 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMedium:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif",bodyMediumItalic:"400 italic 16px/24px Gilroy, Tahoma, Sans-Serif",bodyMediumStrong:"700 normal 16px/24px Gilroy, Tahoma, Sans-Serif",bodySmall:"400 normal 14px/20px Gilroy, Tahoma, Sans-Serif",bodySmallStrong:"700 normal 14px/20px Gilroy, Tahoma, Sans-Serif",bodyExtraSmall:"400 normal 12px/15px Gilroy, Tahoma, Sans-Serif",bodyExtraSmallStrong:"700 normal 12px/15px Gilroy, Tahoma, Sans-Serif",link:"700 normal 16px/24x Gilroy, Tahoma, Sans-Serif",category:"700 normal 12px/12px Gilroy, Tahoma, Sans-Serif",buttonLarge:"700 normal 18px/18px Gilroy, Tahoma, Sans-Serif",buttonMedium:"700 normal 16px/16px Gilroy, Tahoma, Sans-Serif",buttonSmall:"700 normal 14px/14px Gilroy, Tahoma, Sans-Serif",tab:"400 normal 16px/20px Gilroy, Tahoma, Sans-Serif",tabStrong:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",footer:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif"},fontMd:{header1:"800 normal 48px/54px Gilroy, Tahoma, Sans-Serif",header2:"800 normal 40px/46px Gilroy, Tahoma, Sans-Serif",header3:"800 
141normal 32px/40px Gilroy, Tahoma, Sans-Serif",header4:"800 normal 24px/28px Gilroy, Tahoma, Sans-Serif",header5:"800 normal 20px/28px Gilroy, Tahoma, Sans-Serif",header6:"700 normal 18px/24px Gilroy, Tahoma, Sans-Serif",header7:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",numericBadge:"800 normal 110px/110px Gilroy, Tahoma, Sans-Serif",bodyLarge:"400 normal 20px/28px Gilroy, Tahoma, Sans-Serif",bodyLargeStrong:"700 normal 20px/28px Gilroy, Tahoma, Sans-Serif",bodyMedium:"400 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMediumItalic:"400 italic 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMediumStrong:"700 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodySmall:"400 normal 15px/20px Gilroy, Tahoma, Sans-Serif",bodySmallStrong:"700 normal 15px/20px Gilroy, Tahoma, Sans-Serif",bodyExtraSmall:"400 normal 12px/15px Gilroy, Tahoma, Sans-Serif",bodyExtraSmallStrong:"700 normal 12px/15px Gilroy, Tahoma, Sans-Serif",link:"700 normal 18px/26x Gilroy, Tahoma, Sans-Serif",category:"700 normal 12px/12px Gilroy, Tahoma, Sans-Serif",buttonLarge:"700 normal 18px/18px Gilroy, Tahoma, Sans-Serif",buttonMedium:"700 normal 16px/16px Gilroy, Tahoma, Sans-Serif",buttonSmall:"700 normal 14px/14px Gilroy, Tahoma, Sans-Serif",tab:"400 normal 16px/20px Gilroy, Tahoma, Sans-Serif",tabStrong:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",footer:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif"},articleGrid:{gridColumns:{md:2,lg:3,xl:3},itemFetchLimit:{xs:8,sm:8,md:6,lg:6}},isBorderlessDesign:!0,footer:{background:"var(--neutral-0-color)",border:"var(--neutral-20-color)",text:"var(--neutral-60-color)",submenuTitle:"var(--neutral-100-color)",hoverText:"var(--neutral-90-color)"}}}];e.exports=t.length<=1?t[0]:t},76513:function(e){let t=[{outletName:"Nieuws van de Dag",oneTrustId:"01946ec0-6fe1-7a94-a538-5f10948d9ee0",contentApiEndpoint:"https://contentapi.nieuwsvandedag.nl",featureFile:"https://assets.prod.webx.talpa.digital/features/nieuwsvandedag.json",enableNewsSitemap:!0,advertising:{networkGroup:"talpa",channelGroup:"nieuwsvandedag",homepageDPGAdEnabled:!0},tealium:{profile:"pub-nieuwsvandedag-web",environment:"prod"},subscription:{subscriptionEnabled:!1},notFoundPage:{imageUrl:"https://images.ctfassets.net/e7s8frydqp6e/62dsByfSCZUzAL6Hz2kR99/1c2297c2d5c27fbd222b4586aef96ff6/404-nieuwsvandedag.jpg"},errorPage:{imageUrl:"https://images.ctfassets.net/e7s8frydqp6e/6EdsfJF2xPri2iWTzOoX0N/9df6e3125b7a44d472853b065bfdb735/500-nieuwsvandedag.jpg"},socialMedia:{title:"Volg Nieuws van de Dag",instagram:"https://www.instagram.com/nieuwsvddag/",youtube:"https://www.youtube.com/@NieuwsvandeDag",x:"https://x.com/Nieuwsvandedag_",facebook:"https://www.facebook.com/profile.php?id=61576754032008"},allowedSeries:[{id:"ziHtMmz9mz9",slug:"nieuws-van-de-dag",title:"Nieuws van de Dag"}],categoryOrder:["nieuws"],designTokens:{colors:{primary10:"#FDF2E7",primary50:"#F7C086",primary90:"#F18E26",primary100:"#EF810E",primary120:"#BF670B",primary140:"#8F4D08",secondary10:"#e6ebee",secondary50:"#829ba7",secondary90:"#1E4B63",secondary100:"#053752",secondary120:"#042C42",secondary140:"#032131",tertiary10:"#F5FCFF",tertiary50:"#CBEFFF",tertiary100:"#97DFFF",tertiary120:"#79B2CC",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#053752",tabBar:"#1E4B63"},opacities:{opacity02:"rgba(0, 0, 0, 0.40)"},gradients:{gradient01:"linear-gradient(270deg, #042C42 0%, #053752 25.26%, #053752 50.02%, #053752 75%, #042C42 100%)",gradient02:"linear-gradient(270deg, #042C42 0%, #053752 100%)",gradient03:"linear-gradient(270deg, #053752 0%, #042C42 100%)",gradient04:"linear-gradient(270deg, #022A51 0%, #053752 100%)",gradient05:"linear-gradient(180deg, rgba(3, 33, 49, 0.00) 0%, #032131 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #053752 0%, rgba(5, 55, 82, 0.70) 50%, rgba(5, 55, 82, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #053752 0%, rgba(5, 55, 82, 0.70) 50%, rgba(5, 55, 82, 0.00) 100%)"}
141,button:{primaryBackgroundColor:"var(--primary-100-color)",secondaryBackgroundColor:"var(--secondary-100-color)",hoverPrimaryTextColor:"var(--neutral-0-color)",pressedPrimaryTextColor:"var(--neutral-0-color)",primaryTextColor:"var(--neutral-0-color)",textColor:"var(--neutral-90-color)",hoverTextBackgroundColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)",borderRadius:"26px"},font:{header1:"bold normal 34px/40px Lato, Tahoma, Sans-Serif",header2:"bold normal 26px/30px Lato, Tahoma, Sans-Serif",header3:"bold normal 24px/28px Lato, Tahoma, Sans-Serif",header4:"bold normal 20px/24px Lato, Tahoma, Sans-Serif",header5:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",header6:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",header7:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",numericBadge:"bold normal 64px/64px Lato, Tahoma, Sans-Serif",tab:"normal normal 16px/20px Lato, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",category:"bold normal 12px/12px Lato, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px Lato, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px Lato, Tahoma, Sans-Serif",bodySmall:"normal normal 14px/20px Lato, Tahoma, Sans-Serif",bodyMedium:"normal normal 16px/24px Lato, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 16px/24px Lato, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 16px/24px Lato, Sans-Serif",bodyLarge:"normal normal 18px/26px Lato, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Lato, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px Lato, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Lato, Tahoma, Sans-Serif"},fontMd:{header1:"bold normal 48px/54px Lato, Tahoma, Sans-Serif",header2:"bold normal 40px/48px Lato, Tahoma, Sans-Serif",header3:"bold normal 32px/40px Lato, Tahoma, Sans-Serif",header4:"bold normal 24px/28px Lato, Tahoma, Sans-Serif",header5:"bold normal 20px/28px Lato, Tahoma, Sans-Serif",header6:"bold normal 18px/24px Lato, Tahoma, Sans-Serif",header7:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",numericBadge:"bold normal 110px/110px Lato, Tahoma, Sans-Serif",tab:"normal normal 16px/20px Lato, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",category:"bold normal 12px/12px Lato, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px Lato, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px Lato, Tahoma, Sans-Serif",bodySmall:"normal normal 15px/20px Lato, Tahoma, Sans-Serif",bodyMedium:"normal normal 18px/26px Lato, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 18px/26px Lato, Sans-Serif",bodyLarge:"normal normal 20px/28px Lato, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 20px/28px Lato, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Lato, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px Lato, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Lato, Tahoma, Sans-Serif"},footer:{text:"var(--neutral-30-color)",hoverText:"var(--neutral-0-color)"},articleGrid:{gridColumns:{md:2,lg:3,xl:4},itemFetchLimit:{xs:8,sm:8,md:9,lg:8}},isBorderlessDesign:!1}}];e.exports=t.length<=1?t[0]:t},13502:function(e){let t=[{outletName:"Partner Portal",appId:354799163951,oneTrustId:"3dd5f12c-b1f4-4a88-af98-ee1ce6c7726d",contentApiEndpoint:"https://partnerapi.talpanetwork.com/",featureFile:"https://assets.prod.webx.talpa.digital/features/partnerportal.json",advertising:{networkGroup:"talpa",channelGroup:"videofeed"},tealium:{profile:"video-talpavideo-feeds",environment:"prod"},notFoundPage:{imageUrl:"https://images.ctfassets.net/arthrxtapwxr/5krhA6QrbJsLwk79VeAnsR/06a9a1843a040c477275863156f22c3e/404-error-corporate-site.jpeg",disableSearch:!0},errorPage:{imageUrl:"https://images.ctfassets.net/arthrxtapwxr/3P3QJxawK6EfQ0vQvjpGml/5cdafcbf92dde93066ac7e309180cf39/500-error-corporate-site.jpeg"},searchModal:{enablePartnerSearch:!0},subscription:{subscriptionEnabled:!1},designTokens:{colors:{primary10:"#E7E9F3",primary50:"#868FC3",primary90:"#3D4D9F",primary100:"#0D2087",primary120:"#0A1A6C",primary140:"#081351",secondary10:"#FFEDED",secondary50:"#FFA3A3",secondary90:"#FF5959",secondary100:"#FF4747",secondary120:"#CC3939",secondary140:"#992B2B",tert
141iary10:"#FEFDE8",tertiary50:"#FBF38D",tertiary100:"#F8E71C",tertiary120:"#C6B916",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",miscellaneous04:"#F00F00",header:"#FFFFFF",pageHeader:"var(--primary-100-color)",tabBar:"#253693",quoteIcon:"var(--tertiary-100-color)",topBarIcon:"var(--neutral-100-color)",topBarSearchBackground:"var(--neutral-10-color)",topBarSearchText:"var(--neutral-80-color)"},opacities:{opacity01:"rgba(13, 32, 135, 0.90);",opacity02:"rgba(0, 0, 0, 0.40);"},gradients:{gradient01:"linear-gradient(270deg, #0A1A6C 0%, #0D2087 25%, #0D2087 50%, #0D2087 75%, #0A1A6C 100%)",gradient02:"linear-gradient(270deg, #0A1A6C 0%, #0D2087 100%)",gradient03:"linear-gradient(270deg, #0D2087 0%, #0A1A6C 100%)",gradient04:"linear-gradient(270deg, #081351 0%, #0D2087 100%)",gradient05:"linear-gradient(180deg, rgba(8, 19, 81, 0.00) 0%, #081351 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #0D2087 0%, rgba(13, 32, 135, 0.70) 50%, rgba(13, 32, 135, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #0D2087 0%, rgba(13, 32, 135, 0.70) 50%, rgba(13, 32, 135, 0.00) 100%)",fadeBlackBottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, rgba(0, 0, 0, 0.60) 100%)",fadeBlack90BottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.90) 100%)"},button:{primaryTextColor:"var(--neutral-0-color)",textColor:"var(--primary-100-color)",hoverTextBackgroundColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)",outlineTextColor:"var(--neutral-60-color)"},fontFamilies:[{family:"Gilroy",faces:[{file:"/fonts/gilroy/Gilroy-RegularItalic.woff2",weight:400,style:"italic"},{file:"/fonts/gilroy/Gilroy-ExtraBold.woff2",weight:800,style:"normal"},{file:"/fonts/gilroy/Gilroy-Bold.woff2",weight:700,style:"normal"},{file:"/fonts/gilroy/Gilroy-Regular.woff2",weight:400,style:"normal"}]}],font:{header1:"800 normal 34px/40px Gilroy, Tahoma, Sans-Serif",header2:"700 normal 26px/30px Gilroy, Tahoma, Sans-Serif",header3:"700 normal 24px/28px Gilroy, Tahoma, Sans-Serif",header4:"700 normal 20px/24px Gilroy, Tahoma, Sans-Serif",header5:"700 normal 18px/26px Gilroy, Tahoma, Sans-Serif",header6:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",header7:"700 normal 14px/18px Gilroy, Tahoma, Sans-Serif",numericBadge:"800 normal 64px/64px Gilroy, Tahoma, Sans-Serif",bodyLarge:"400 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyLargeStrong:"700 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMedium:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif",bodyMediumItalic:"400 italic 16px/24px Gilroy, Tahoma, Sans-Serif",bodyMediumStrong:"700 normal 16px/24px Gilroy, Tahoma, Sans-Serif",bodySmall:"400 normal 14px/20px Gilroy, Tahoma, Sans-Serif",bodySmallStrong:"700 normal 14px/20px Gilroy, Tahoma, Sans-Serif",bodyExtraSmall:"400 normal 12px/15px Gilroy, Tahoma, Sans-Serif",bodyExtraSmallStrong:"700 normal 12px/15px Gilroy, Tahoma, Sans-Serif",link:"700 normal 16px/24x Gilroy, Tahoma, Sans-Serif",category:"700 normal 12px/12px Gilroy, Tahoma, Sans-Serif",buttonLarge:"700 normal 18px/18px Gilroy, Tahoma, Sans-Serif",buttonMedium:"700 normal 16px/16px Gilroy, Tahoma, Sans-Serif",buttonSmall:"700 normal 14px/14px Gilroy, Tahoma, Sans-Serif",tab:"400 normal 16px/20px Gilroy, Tahoma, Sans-Serif",tabStrong:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",footer:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif"},fontMd:{header1:"800 normal 48px/54px Gilroy, Tahoma, Sans-Serif",header2:"700 normal 40px/46px Gilroy, Tahoma, Sans-Serif",header3:"700 normal 32px/40px Gilroy, Tahoma, Sans-Serif",header4:"700 normal 24px/28px Gilroy, Tahoma, Sans-Serif",header5:"700 normal 20px/28px Gilroy, Tahoma, Sans-Serif",header6:"700 normal 18px/24px Gilroy, Tahoma, Sans-Serif",header7:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",numericBadge:"800 normal 110px/110px Gilroy, Tahoma, Sans-Serif",bodyLarge:"400 normal 20px/28px Gilroy, Tahoma, Sans-Serif",bodyLargeStrong:"700 normal 20px/28px Gilroy, Tahoma, Sans-Serif",bodyMedium:"400 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMediumItalic:"400 italic 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMediumStrong:"700 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodySmall:"400 normal 15px
141/20px Gilroy, Tahoma, Sans-Serif",bodySmallStrong:"700 normal 15px/20px Gilroy, Tahoma, Sans-Serif",bodyExtraSmall:"400 normal 12px/15px Gilroy, Tahoma, Sans-Serif",bodyExtraSmallStrong:"700 normal 12px/15px Gilroy, Tahoma, Sans-Serif",link:"700 normal 18px/26x Gilroy, Tahoma, Sans-Serif",category:"700 normal 12px/12px Gilroy, Tahoma, Sans-Serif",buttonLarge:"700 normal 18px/18px Gilroy, Tahoma, Sans-Serif",buttonMedium:"700 normal 16px/16px Gilroy, Tahoma, Sans-Serif",buttonSmall:"700 normal 14px/14px Gilroy, Tahoma, Sans-Serif",tab:"400 normal 16px/20px Gilroy, Tahoma, Sans-Serif",tabStrong:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",footer:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif"},articleGrid:{gridColumns:{md:2,lg:3,xl:3},itemFetchLimit:{xs:8,sm:8,md:6,lg:6}},isBorderlessDesign:!0,footer:{background:"var(--neutral-0-color)",border:"var(--neutral-20-color)",submenuTitle:"var(--neutral-90-color)",text:"var(--neutral-60-color)",hoverText:"var(--neutral-90-color)"}}}];e.exports=t.length<=1?t[0]:t},96100:function(e){let t=[{outletName:"Radio 10",appId:354799163951,oneTrustId:"93dd815f-ac87-4196-a483-1eb602d27d29",contentApiEndpoint:"https://contentapi.radio10.nl",featureFile:"https://assets.prod.webx.talpa.digital/features/radio10.json",audioDistTagPrefix:"radio10",mainStationSlug:"radio-10",playerId:"radio10",advertising:{networkGroup:"talpa",channelGroup:"radio10",homepageDPGAdEnabled:!0},oAuth:{profileUrl:"https://radio10.mijn.account.talpanetwork.com/profile"},tealium:{profile:"audio-radio10-web",environment:"prod"},subscription:{newsletterSubtitle:"Meld je aan voor de nieuwsbrief van Radio 10 en blijf op de hoogte van het laatste Radio 10-nieuws.",subscriptionText:"Ja, ik wil graag (twee)wekelijks de nieuwsbrief van Radio 10 ontvangen met nieuws, evenementen en (win)acties die wij z\xe9lf of in samenwerking met onze partners organiseren."},notFoundPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/2b7tsyLQVncoegi7fhURo9/5e62a321ebe9d2a38ab9e0311c45e8a2/404-radio10.jpg"},errorPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/6iwtMDyqWIou6DRy5ppZMZ/2706e9b58be4dbf9ba4feef7d526a7e0/500-radio10.jpg"},socialMedia:{title:"Volg Radio 10",instagram:"https://www.instagram.com/radio10nl/",youtube:"https://www.youtube.com/@Radio10nl",x:"https://x.com/radio10nl",facebook:"https://www.facebook.com/radio10nl/"},appDownload:{title:"Download de Radio 10 App",adjustLink:"https://radio10.eu.go.link/arzTA"},categoryOrder:[],trackHistory:{title:"Radio 10 playlist",subtitle:"Benieuwd welk nummer zojuist werd gedraaid? Bekijk en beluister hier alle afgespeelde tracks van de afgelopen 24 uur",image:"https://images.ctfassets.net/fpk5n836jg85/bjdjUzQXU9nkGAkloTEQr/34e58e0667e7f834f7a25c26a039cce3/radio_10.png",fallbackImage:"https://images.ctfassets.net/fpk5n836jg85/6VZ4Okh6t2RdGkEv5wMaU8/dc28f78e3d58a93d9129b5c8fbc06235/radio-10-image.jpg"},designTokens:{colors:{primary10:"#E6FBF1",primary50:"#80E9B9",primary90:"#1AD881",primary100:"#00D473",primary120:"#00AA5C",primary140:"#007664",secondary10:"#FFEFF0",secondary50:"#FFAFB3",secondary90:"#FF6F76",secondary100:"#FF5F67",secondary120:"#C0363D",secondary140:"#99393E",tertiary10:"#E6FCFD",tertiary50:"#80EFF6",tertiary100:"#00E0ED",tertiary120:"#00B3BE",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#00D473",tabBar:"#000000",newTrack:"#3CB878",toplistIconBackground:"var(--primary-100-color)"},audioDashboard:{titleVariant:"pill",imageDecorationVariant:"ring",subtitleBgColor:"var(--primary-140-color)",jwLiveIconSvgColor:"var(--neutral-0-color)",spacingVariant:"offset"},opacities:{opacity01:"rgba(0, 212, 115, 0.90)",opacity02:"rgba(0, 0, 0, 0.40)"},gradients:{gradient01:"linear-gradient(90deg, #00AA5C 0%, #00D473 25.22%, #00D473 50.14%, #00D473 75.22%, #00AA5C 100%)",gradient02:"linear-gradient(90deg, #00D473 0%, #00AA5C 100%)",gradient03:"linear-gradient(90deg, #00AA5C 0%, #00D473 100%)",gradient04:"linear-gradient(270deg, #007664 0%, #00D473 100%)",gradient05:"linear-gradient(180deg, rgba(0, 118, 100, 0.00) 0%, #007664 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #00D473 0%, rgba(0, 212, 115, 0.70) 50%, rgba(0, 212, 115, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #00D473 0%, rgba(0, 212, 115, 0.70) 50%, rgba(0, 212, 115, 0.00) 100%)"},button:{textColor:"var(--primary-100-color)",hoverPrimaryTextColor:"var(--neutral-0-color)",pressedPrimaryTextColor:"var(--neutral-0-color)",hoverTextBackgroun
141dColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)",borderRadius:"26px",socialMedia:{backgroundColor:"var(--secondary-100-color)",hoverBackgroundColor:"var(--secondary-120-color)",activeBackgroundColor:"var(--secondary-50-color)"}},tile:{pillBg:"#000",pillFg:"#FFFFFF",buttonBg:"var(--secondary-100-color)",buttonFg:"#FFFFFF"},subscription:{legalText:"var(--secondary-100-color)",titleText:"var(--neutral-90-color)",subtitleText:"var(--neutral-60-color)",border:"var(--neutral-20-color)",inputBackground:"var(--neutral-10-color)",isSecondaryButtonVariant:!0},fontFamilies:[{family:"Radio10",faces:[{file:"/fonts/radio10/Radio10-Regular.woff2",weight:400,style:"normal"}]},{family:"Poppins",faces:[{file:"/fonts/poppins/Poppins-BoldItalic.woff2",weight:700,style:"italic"},{file:"/fonts/poppins/Poppins-Italic.woff2",weight:400,style:"italic"},{file:"/fonts/poppins/Poppins-Bold.woff2",weight:700,style:"normal"},{file:"/fonts/poppins/Poppins-Light.woff2",weight:300,style:"normal"},{file:"/fonts/poppins/Poppins-Regular.woff2",weight:400,style:"normal"}]}],font:{header1:"normal normal 30px/40px Radio10, Tahoma, Sans-Serif",header2:"normal normal 22px/28px Radio10, Tahoma, Sans-Serif",header3:"normal normal 20px/26px Radio10, Tahoma, Sans-Serif",header4:"normal normal 17px/24px Radio10, Tahoma, Sans-Serif",header5:"normal normal 16px/24px Radio10, Tahoma, Sans-Serif",header6:"600 normal 14px/19px Poppins, Tahoma, Sans-Serif",header7:"600 normal 12px/17px Poppins, Tahoma, Sans-Serif",numericBadge:"normal normal 64px/64px Radio10, Tahoma, Sans-Serif",tab:"normal normal 15px/18px Poppins, Tahoma, Sans-Serif",tabStrong:"600 normal 15px/18px Poppins, Sans-Serif",category:"600 normal 12px/12px Poppins, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 11px/15px Poppins, Tahoma, Sans-Serif",bodyExtraSmallStrong:"600 normal 11px/15px Poppins, Tahoma, Sans-Serif",bodySmall:"normal normal 14px/20px Poppins, Tahoma, Sans-Serif",bodySmallStrong:"600 normal 14px/20px Poppins, Sans-Serif",bodyMedium:"normal normal 15px/24px Poppins, Tahoma, Sans-Serif",bodyMediumStrong:"600 normal 15px/24px Poppins, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 15px/24px Poppins, Sans-Serif",bodyLarge:"normal normal 18px/26px Poppins, Tahoma, Sans-Serif",bodyLargeStrong:"600 normal 18px/26px Poppins, Sans-Serif",buttonSmall:"normal normal 14px/14px Radio10, Tahoma, Sans-Serif",buttonMedium:"normal normal 16px/16px Radio10, Tahoma, Sans-Serif",buttonLarge:"normal normal 18px/18px Radio10, Tahoma, Sans-Serif",footer:"normal normal 16px/24px Poppins, Tahoma, Sans-Serif"},fontMd:{header1:"normal normal 40px/52px Radio10, Tahoma, Sans-Serif",header2:"normal normal 34px/44px Radio10, Tahoma, Sans-Serif",header3:"normal normal 26px/32px Radio10, Tahoma, Sans-Serif",header4:"normal normal 20px/26px Radio10, Tahoma, Sans-Serif",header5:"normal normal 18px/24px Radio10, Tahoma, Sans-Serif",header6:"600 normal 16px/22px Poppins, Tahoma, Sans-Serif",header7:"600 normal 14px/20px Poppins, Tahoma, Sans-Serif",numericBadge:"normal normal 110px/110px Radio10, Tahoma, Sans-Serif",tab:"normal normal 15px/18px Poppins, Tahoma, Sans-Serif",tabStrong:"600 normal 15px/18px Poppins, Sans-Serif",category:"600 normal 12px/12px Poppins, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 11px/15px Poppins, Tahoma, Sans-Serif",bodyExtraSmallStrong:"600 normal 11px/15px Poppins, Tahoma, Sans-Serif",bodySmall:"normal normal 15px/20px Poppins, Tahoma, Sans-Serif",bodySmallStrong:"600 normal 15px/20px Poppins, Tahoma, Sans-Serif",bodyMedium:"normal normal 16px/24px Poppins, Tahoma, Sans-Serif",bodyMediumStrong:"600 normal 16px/24px Poppins, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 16px/24px Poppins, Sans-Serif",bodyLarge:"normal normal 20px/28px Poppins, Tahoma, Sans-Serif",bodyLargeStrong:"600 normal 20px/28px Poppins, Sans-Serif",buttonSmall:"normal normal 14px/14px Radio10, Tahoma, Sans-Serif",buttonMedium:"normal normal 16px/16px Radio10, Tahoma, Sans-Serif",buttonLarge:"normal normal 18px/18px Radio10, Tahoma, Sans-Serif",footer:"normal normal 16px/24px Poppins, Tahoma, Sans-Serif"},articleGrid:{gridColumns:{md:2,lg:3,xl:3},itemFetchLimit:{xs:8,sm:8,md:6,lg:6}},isBorderlessDesign:!0,footer:{background:"var(--neutral-0-color)",border:"var(--neutral-20-color)",text:"var(--neutral-60-color)",submenuTitle:"var(--neutral-90-color)",hoverText:"var(--neutral-90-color)",hasExtraPadding:!0}}}];e.exports=t.length<=1?t[0]:t},99252:function(e){let t=[{outletName:"Radio 538",appId:354799163951,oneTrustId:"0add27fe-80cf-408e-8c4e-b8427491229c",contentApiEndpoint:"https://contentapi.538.nl",featureFile:"https://assets.prod.webx.talpa.digital/features/radio538.json",audioDistTagPrefix:"538",mainStationSlug:"radio-538",playerId:"radio538",advertising:{networkGroup:"talpa",channelGroup:"538",homepageDPGAdEnabled:!0},oAuth:{profileUrl:"https://538.mijn.account.talpanetwork.com/profile"},tealium:{profile:"audio-radio538-web",environment:"prod"},subscription:{newsletterSubtitle:"Meld je aan voor de nieuwsbrief van Radio 538 en blijf op de hoogte van het laatste 538-nieuws.",subscriptionText:"Ja, ik wil graag (twee)wekelijks de nieuwsbrief van Radio 538 ontvangen met nieuws, evenementen en (win)acties die wij z\xe9lf of in samenwerking met onze partners organiseren."},notFoundPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/Z1F9t1UBJUx2Go3z3O6Rp/503f365295dc909016b46cfe1ba49088/404-radio538.jpg"},errorPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/6DYQRksMsMZlDryxOzdmdi/603e310
141793cb8579906aa2fc253bfa6a/500-radio538.jpg"},socialMedia:{title:"Volg Radio 538",instagram:"https://www.instagram.com/radio538/",youtube:"http://www.youtube.com/@radio538",x:"https://x.com/538",facebook:"https://www.facebook.com/538nl/"},appDownload:{title:"Download de Radio 538 App",adjustLink:"https://radio538.eu.go.link/3PPsD"},trackHistory:{title:"Radio 538 Playlist",subtitle:"Benieuwd welk nummer zojuist werd gedraaid? Bekijk en beluister hier alle afgespeelde tracks van de afgelopen 24 uur",image:"https://images.ctfassets.net/fpk5n836jg85/7uWbVFio9BNcI12p1N2cV/8de3b225bd2e333937d16e9d3149ecad/538.png",fallbackImage:"https://images.ctfassets.net/fpk5n836jg85/16wxv6nUmig9aQmiweatzO/9ffc847dd04c240650be259e9fe90213/radio-538-image.jpg"},designTokens:{colors:{primary10:"#F6E6FE",primary50:"#D180FC",primary90:"#AD1AFA",primary100:"#A400F9",primary120:"#8300C7",primary140:"#620095",secondary10:"#E6FCED",secondary50:"#80F1A7",secondary90:"#1AE661",secondary100:"#00E34F",secondary120:"#00B63F",secondary140:"#00882F",tertiary10:"#FFF1E6",tertiary50:"#FFB980",tertiary100:"#FF7300",tertiary120:"#CC5C00",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#000000",tabBar:"#1A1A1A",newTrack:"#3CB878",playIconText:"var(--neutral-100-color)"},audioDashboard:{titleVariant:"pill",titleFont:"var(--font-header-3)",subtitleBgColor:"var(--neutral-100-color)",subtitleFontMd:"var(--font-header-4)",liveLabelColor:"var(--neutral-100-color)",liveLabelFontMd:"var(--font-header-7)",spacingVariant:"compact",imageDecorationVariant:"glow",nowPlayingTextFont:"var(--font-body-small-strong)"},radioShow:{liveLabelColor:"var(--neutral-100-color)"},tile:{borderColor:"var(--neutral-10-color)",borderWidth:"1px",activeInset:"-6px",buttonBg:"var(--secondary-100-color)",buttonFg:"#000"},opacities:{opacity01:"rgba(0, 227, 79, 0.90)",opacity02:"rgba(0, 0, 0, 0.40)"},gradients:{gradient01:"linear-gradient(270deg, #8300C7 0%, #A400F9 25%, #A400F9 50%, #A400F9 75%, #8300C7 100%)",gradient02:"linear-gradient(270deg, #8300C7 0%, #A400F9 100%)",gradient03:"linear-gradient(270deg, #A400F9 0%, #8300C7 100%)",gradient04:"linear-gradient(270deg, #52007D 0%, #A400F9 100%)",gradient05:"linear-gradient(180deg, rgba(98, 0, 149, 0.00) 0%, #620095 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #A400F9 0%, rgba(164, 0, 249, 0.70) 50%, rgba(164, 0, 249, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #A400F9 0%, rgba(164, 0, 249, 0.70) 50%, rgba(164, 0, 249, 0.00) 100%)",fadeNeutralLeftRight:"linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.70) 50%, rgba(0, 0, 0, 0.00) 100%)",fadeNeutralBottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, rgba(0, 0, 0, 0.60) 100%)",fadePageHeaderBottomTop:"linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.70) 50%, rgba(0, 0, 0, 0.00) 100%)",fadePageHeaderLeftRight:"linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.70) 50%, rgba(0, 0, 0, 0.00) 100%)"},button:{primaryBackgroundColor:"var(--primary-100-color)",secondaryBackgroundColor:"var(--secondary-100-color)",primaryTextColor:"var(--neutral-0-color)",secondaryTextColor:"var(--neutral-100-color)",textColor:"var(--primary-100-color)",hoverPrimaryTextColor:"var(--neutral-0-color)",pressedPrimaryTextColor:"var(--neutral-0-color)",hoverTextBackgroundColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)",textTransform:"uppercase",borderRadius:"26px"},subscription:{titleText:"var(--neutral-90-color)",subtitleText:"var(--neutral-60-color)",border:"var(--neutral-20-color)",inputBackground:"var(--neutral-10-color)"},infiniteCollectionItem:{labelColor:"var(--neutral-100-color)",labelBackgroundColor:"var(--secondary-100-color)"},fontFamilies:[{family:"QanelasSoft",faces:[{file:"/fonts/qanelas-soft/QanelasSoft-RegularItalic.woff2",weight:400,style:"italic"},{file:"/fonts/qanelas-soft/QanelasSoft-SemiBold.woff2",weight:600,style:"normal"},{file:"/fonts/qanelas-soft/QanelasSoft-Bold.woff2",weight:700,style:"normal"},{file:"/fonts/qanelas-soft/QanelasSoft-Black.woff2",weight:900,style:"normal"},{file:"/fonts/qanelas-soft/QanelasSoft-Regular.woff2",weight:400,style:"normal"}]}],font:{header1:"900 normal 30px/40px QanelasSoft, Sans-Serif",header2:"900 normal 22px/28px QanelasSoft, Sans-Serif",header3:"900 normal 20px/26px QanelasSoft, Sans-Serif",header4:"900 normal 17px/22px QanelasSoft, Sans-Serif",header5:"900 normal 16px/24px QanelasSoft, Sans-Serif",header6:"900 normal 14px/19px QanelasSoft, Sans-Serif",header7:"900 normal 12px/1
1417px QanelasSoft, Sans-Serif",numericBadge:"900 normal 64px/64px QanelasSoft, Sans-Serif",tab:"normal normal 16px/20px QanelasSoft, Sans-Serif",tabStrong:"bold normal 16px/20px QanelasSoft, Sans-Serif",category:"bold normal 12px/12px QanelasSoft, Sans-Serif",footer:"normal normal 16px/24px QanelasSoft, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px QanelasSoft, Sans-Serif",bodyExtraSmallStrong:"600 normal 12px/15px QanelasSoft, Sans-Serif",bodySmall:"normal normal 14px/20px QanelasSoft, Sans-Serif",bodySmallStrong:"600 normal 14px/20px QanelasSoft, Sans-Serif",bodyMedium:"normal normal 16px/24px QanelasSoft, Sans-Serif",bodyMediumStrong:"600 normal 16px/24px QanelasSoft, Sans-Serif",bodyMediumItalic:"italic normal 16px/24px QanelasSoft, Sans-Serif",bodyLarge:"normal normal 18px/26px QanelasSoft, Sans-Serif",bodyLargeStrong:"600 normal 18px/26px QanelasSoft, Sans-Serif",buttonSmall:"900 normal 14px/14px QanelasSoft, Sans-Serif",buttonMedium:"900 normal 16px/16px QanelasSoft, Sans-Serif",buttonLarge:"900 normal 18px/18px QanelasSoft, Sans-Serif"},fontMd:{header1:"900 normal 40px/52px QanelasSoft, Sans-Serif",header2:"900 normal 34px/44px QanelasSoft, Sans-Serif",header3:"900 normal 26px/32px QanelasSoft, Sans-Serif",header4:"900 normal 20px/26px QanelasSoft, Sans-Serif",header5:"900 normal 18px/24px QanelasSoft, Sans-Serif",header6:"900 normal 16px/22px QanelasSoft, Sans-Serif",header7:"900 normal 14px/20px QanelasSoft, Sans-Serif",numericBadge:"900 normal 110px/110px QanelasSoft, Sans-Serif",tab:"normal normal 16px/20px QanelasSoft, Sans-Serif",tabStrong:"bold normal 16px/20px QanelasSoft, Sans-Serif",category:"bold normal 12px/12px QanelasSoft, Sans-Serif",footer:"normal normal 16px/24px QanelasSoft, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px QanelasSoft, Sans-Serif",bodyExtraSmallStrong:"600 normal 12px/15px QanelasSoft, Sans-Serif",bodySmall:"normal normal 15px/20px QanelasSoft, Sans-Serif",bodySmallStrong:"600 normal 15px/20px QanelasSoft, Sans-Serif",bodyMedium:"normal normal 18px/26px QanelasSoft, Sans-Serif",bodyMediumStrong:"600 normal 18px/26px QanelasSoft, Sans-Serif",bodyMediumItalic:"italic normal 18px/26px QanelasSoft, Sans-Serif",bodyLarge:"normal normal 20px/28px QanelasSoft, Sans-Serif",bodyLargeStrong:"600 normal 20px/28px QanelasSoft, Sans-Serif",buttonSmall:"900 normal 14px/14px QanelasSoft, Sans-Serif",buttonMedium:"900 normal 16px/16px QanelasSoft, Sans-Serif",buttonLarge:"900 normal 18px/18px QanelasSoft, Sans-Serif"},articleGrid:{gridColumns:{md:2,lg:3,xl:3},itemFetchLimit:{xs:8,sm:8,md:6,lg:6}},isBorderlessDesign:!0,footer:{background:"var(--neutral-0-color)",border:"var(--neutral-20-color)",text:"var(--neutral-60-color)",submenuTitle:"var(--neutral-90-color)",hoverText:"var(--neutral-90-color)",hasExtraPadding:!0}}}];e.exports=t.length<=1?t[0]:t},39241:function(e){let t=[{outletName:"Radio Noordzee",appId:354799163951,oneTrustId:"01958fb0-d13a-7a5a-b643-b01a20c4e954",contentApiEndpoint:"https://contentapi.radionoordzee.nl",featureFile:"https://assets.prod.webx.talpa.digital/features/radionoordzee.json",audioDistTagPrefix:"radionoordzee",mainStationSlug:"radio-noordzee",playerId:"radio-noordzee",advertising:{networkGroup:"talpa",channelGroup:"radionoordzee",homepageDPGAdEnabled:!0},tealium:{profile:"audio-radionoordzee-web",environment:"prod"},subscription:{subscriptionEnabled:!1},notFoundPage:{imageUrl:"https://images.ctfassets.net/r4m7wjlnqcgy/7MwCzMhU4UzxJxcnpYyqWJ/d021b872799e62c7816f0dbf84861089/404-radionoordzee.jpg"},errorPage:{imageUrl:"https://images.ctfassets.net/r4m7wjlnqcgy/1Qvic9RdPQrSQeiyPUFZaU/1d46f23b980cc2739f035da4f54e736d/500-radionoordzee.jpg"},categoryOrder:[],trackHistory:{title:"Radio Noordzee Playlist",subtitle:"Benieuwd welk nummer je net hoorde op Radio Noordzee? Bekijk hier alle afgespeelde nummers van de afgelopen 24 uur.",image:"https://images.ctfassets.net/r4m7wjlnqcgy/1ZWtGlZxMHMoWEoObUwa0F/a37de4b06cefc531036829794022a2d0/PlopKap-Noordzee.jpg",fallbackImage:"https://images.ctfassets.net/fpk5n836jg85/26D31NyFCR9EBh5UHwVNbY/8b3f4dab2b042ad54273553044f6f0ea/thumb-radio-noordzee-image.jpg"},designTokens:{colors:{primary10:"#E5EBF5",primary50:"#7390C7",primary90:"#1A49A3",primary100:"#003599",primary120:"#002A7A",primary140:"#00205C",secondary10:"#FCE5EA",secondary50:"#F18098",secondary90:"#E71A47",secondary100:"#E40032",secondary120:"#B60028",secondary140:"#89001E",tertiary10:"#FEFDE8",tertiary50:"#FBF38D",tert
141iary100:"#F8E71C",tertiary120:"#C6B916",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#FFFFFF",pageHeader:"var(--primary-100-color)",tabBar:"#003599",headerText:"#003599",topBarIcon:"var(--primary-100-color)",hamburgerBackground:"#003599",hamburgerIcon:"#003599",newTrack:"#3CB878",topBarSearchBackground:"rgba(115, 144, 199, 0.2)",topBarSearchText:"var(--primary-100-color)"},opacities:{opacity01:"rgba(0, 53, 153, 0.9)",opacity02:"rgba(0, 0, 0, 0.40)"},gradients:{gradient01:"linear-gradient(270deg, #002A7A 0%, #003599 25%, #003599 50%, #003599 75%, #002A7A 100%)",gradient02:"linear-gradient(270deg, #002A7A 0%, #003599 100%)",gradient03:"linear-gradient(270deg, #003599 0%, #002A7A 100%)",gradient04:"linear-gradient(270deg, #00205C 0%, #003599 100%)",gradient05:"linear-gradient(180deg, rgba(0, 32, 92, 0.00) 0%, #00205C 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #003599 0%, rgba(0, 53, 153, 0.50) 50%, rgba(0, 53, 153, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #003599 0%, rgba(0, 53, 153, 0.70) 50%, rgba(0, 53, 153, 0.00) 100%)"},audioDashboard:{titleFont:"var(--font-header-1)",titleFontMd:"var(--font-header-2)"},radioShow:{dayChipColor:"var(--secondary-100-color)",timeFont:"var(--font-body-medium)"},radioSchedule:{hasGradientBackground:!0},button:{primaryTextColor:"var(--neutral-0-color)",primaryBackgroundColor:"var(--secondary-100-color)",secondaryBackgroundColor:"var(--primary-100-color)",textColor:"var(--secondary-100-color)",outlineTextColor:"var(--secondary-100-color)",hoverPrimaryBackgroundColor:"var(--secondary-120-color)",hoverSecondaryBackgroundColor:"var(--primary-120-color)",hoverOutlineBackgroundColor:"var(--secondary-120-color)",pressedPrimaryBackgroundColor:"var(--secondary-50-color)",pressedSecondaryBackgroundColor:"var(--primary-50-color)",pressedOutlineBackgroundColor:"var(--secondary-50-color)",hoverTextBackgroundColor:"var(--secondary-120-color)",pressedTextBackgroundColor:"var(--secondary-50-color)",borderRadius:"26px",socialMedia:{backgroundColor:"var(--secondary-100-color)",hoverBackgroundColor:"var(--secondary-120-color)",activeBackgroundColor:"var(--secondary-50-color)"}},subscription:{legalText:"var(--secondary-100-color)",titleText:"var(--neutral-90-color)",subtitleText:"var(--neutral-60-color)",border:"var(--neutral-20-color)",inputBackground:"var(--neutral-10-color)"},infiniteCollectionItem:{activeRingColor:"var(--secondary-100-color)",categoryColor:"var(--secondary-100-color)",categoryVisitedColor:"var(--secondary-50-color)"},headline:{categoryColor:"var(--secondary-100-color)",categoryHoverColor:"var(--secondary-120-color)"},fontFamilies:[{family:"Poppins",faces:[{file:"/fonts/poppins/Poppins-BoldItalic.woff2",weight:700,style:"italic"},{file:"/fonts/poppins/Poppins-Italic.woff2",weight:400,style:"italic"},{file:"/fonts/poppins/Poppins-Bold.woff2",weight:700,style:"normal"},{file:"/fonts/poppins/Poppins-Light.woff2",weight:300,style:"normal"},{file:"/fonts/poppins/Poppins-Regular.woff2",weight:400,style:"normal"}]}],font:{header1:"bold normal 30px/40px Poppins, Tahoma, Sans-Serif",header2:"bold normal 22px/28px Poppins, Tahoma, Sans-Serif",header3:"bold normal 20px/26px Poppins, Tahoma, Sans-Serif",header4:"bold normal 17px/24px Poppins, Tahoma, Sans-Serif",header5:"bold normal 16px/24px Poppins, Tahoma, Sans-Serif",header6:"bold normal 14px/19px Poppins, Tahoma, Sans-Serif",header7:"bold normal 12px/17px Poppins, Tahoma, Sans-Serif",numericBadge:"bold normal 64px/64px Poppins, Tahoma, Sans-Serif",tab:"normal normal 15px/18px Poppins, Tahoma, Sans-Serif",tabStrong:"bold normal 15px/18px Poppins, Tahoma, Sans-Serif",category:"bold normal 12px/12px Poppins, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 11px/15px Poppins, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 11px/15px Poppins, Tahoma, Sans-Serif",bodySmall:"normal normal 14px/20px Poppins, Tahoma, Sans-Serif",bodySmallStrong:"bold normal 14px/20px Poppins, Tahoma, Sans-Serif",bodyMedium:"normal normal 15px
141/24px Poppins, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 15px/24px Poppins, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 15px/24px Poppins, Tahoma, Sans-Serif",bodyLarge:"normal normal 18px/26px Poppins, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 18px/26px Poppins, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Poppins, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px Poppins, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Poppins, Tahoma, Sans-Serif",footer:"normal normal 16px/24px Poppins, Tahoma, Sans-Serif"},fontMd:{header1:"bold normal 40px/52px Poppins, Tahoma, Sans-Serif",header2:"bold normal 34px/44px Poppins, Tahoma, Sans-Serif",header3:"bold normal 26px/38px Poppins, Tahoma, Sans-Serif",header4:"bold normal 20px/27px Poppins, Tahoma, Sans-Serif",header5:"bold normal 18px/26px Poppins, Tahoma, Sans-Serif",header6:"bold normal 16px/24px Poppins, Tahoma, Sans-Serif",header7:"bold normal 14px/20px Poppins, Tahoma, Sans-Serif",numericBadge:"bold normal 110px/110px Poppins, Tahoma, Sans-Serif",tab:"normal normal 15px/18px Poppins, Tahoma, Sans-Serif",tabStrong:"bold normal 15px/18px Poppins, Tahoma, Sans-Serif",category:"bold normal 12px/12px Poppins, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 11px/15px Poppins, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 11px/15px Poppins, Tahoma, Sans-Serif",bodySmall:"normal normal 15px/20px Poppins, Tahoma, Sans-Serif",bodySmallStrong:"bold normal 15px/20px Poppins, Tahoma, Sans-Serif",bodyMedium:"normal normal 16px/24px Poppins, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 16px/24px Poppins, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 16px/24px Poppins, Tahoma, Sans-Serif",bodyLarge:"normal normal 20px/28px Poppins, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 20px/28px Poppins, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Poppins, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px Poppins, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Poppins, Tahoma, Sans-Serif",footer:"normal normal 16px/24px Poppins, Tahoma, Sans-Serif"},articleGrid:{gridColumns:{md:2,lg:3,xl:3},itemFetchLimit:{xs:8,sm:8,md:6,lg:6}},isBorderlessDesign:!0,footer:{background:"var(--neutral-0-color)",border:"var(--neutral-20-color)",text:"var(--neutral-60-color)",submenuTitle:"var(--primary-100-color)",hoverText:"var(--neutral-90-color)",hasExtraPadding:!0}}}];e.exports=t.length<=1?t[0]:t},79498:function(e){let t=[{outletName:"Shownieuws",appId:354799163951,oneTrustId:"b18ea883-e41d-4b17-9f0e-3a1c24757baa",contentApiEndpoint:"https://contentapi.shownieuws.nl",featureFile:"https://assets.prod.webx.talpa.digital/features/shownieuws.json",enableNewsSitemap:!0,advertising:{networkGroup:"sbs",channelGroup:"sbs6",zoneGroup:"show",homepageDPGAdEnabled:!0},tealium:{profile:"pub-shownieuws-web",environment:"prod"},subscription:{subscriptionEnabled:!1,newsletterSubtitle:"Meld je aan voor onze wekelijkse mail vol entertainmentnieuws, juicy verhalen en exclusieve beelden.",subscriptionText:"Ja, ik wil graag wekelijks de nieuwsbrief van Shownieuws ontvangen met daarin het laatste nieuws en aanbiedingen die wijzelf of in samenwerking met onze partners organiseren."},notFoundPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/wsri8kOP2ulZbzqnqb4Qj/5e356c7c06871d6f2495b5c8d28eb162/404.png"},errorPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/Xprvx0Ho4UFtrl83XuUTB/7ee325cbb7580defe490996e535cb8a6/500-shownieuws.jpg"},socialMedia:{title:"Volg Shownieuws",instagram:"https://www.instagram.com/shownieuws/",youtube:"https://www.youtube.com/@Shownieuwsnl",x:"https://x.com/ShownieuwsSBS6",facebook:"https://www.facebook.com/shownieuws/"},allowedSeries:[{id:"0f3viKbg4vz",slug:"shownieuws",title:"Shownieuws"}],categoryOrder:["entertainment"],designTokens:{colors:{primary10:"#FFEEE6",primary50:"#FFA780",primary90:"#FF621B",primary100:"#FF5002",primary120:"#CC2E00",secondary10:"#E6F4FF",secondary50:"#80C5FF",secondary90:"#3197ff",secondary100:"#008CFF",secondary120:"#0070CC",tertiary10:"#FEFDE8",tertiary50:"#FBF38D",tertiary100:"#F8E71C",tert
141iary120:"#C6B916",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#FF5002",tabBar:"#FF621B"},opacities:{opacity02:"rgba(0, 0, 0, 0.40)"},gradients:{gradient01:"linear-gradient(270deg, #CC2E00 0%, #FF5002 25%, #FF5002 50.02%, #FF5002 75%, #CC2E00 100%)",gradient02:"linear-gradient(90deg, #FF5002 0%, #CC2E00 100%)",gradient03:"linear-gradient(90deg, #CC2E00 0%, #FF5002 100%)",gradient04:"linear-gradient(270deg, #993001 0%, #FF5002 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #FF5002 0%, rgba(255, 80, 2, 0.70) 50%, rgba(255, 80, 2, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #FF5002 0%, rgba(255, 80, 2, 0.70) 50%, rgba(255, 80, 2, 0.00) 100%)"},button:{textColor:"var(--primary-100-color)",hoverPrimaryTextColor:"var(--neutral-0-color)",pressedPrimaryTextColor:"var(--neutral-0-color)",hoverTextBackgroundColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)"},font:{header1:"bold normal 34px/40px Lato, Tahoma, Sans-Serif",header2:"bold normal 26px/30px Lato, Tahoma, Sans-Serif",header3:"bold normal 24px/28px Lato, Tahoma, Sans-Serif",header4:"bold normal 20px/24px Lato, Tahoma, Sans-Serif",header5:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",header6:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",header7:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",numericBadge:"bold normal 64px/64px Lato, Tahoma, Sans-Serif",tab:"normal normal 16px/20px Lato, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",category:"bold normal 12px/12px Lato, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px Lato, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px Lato, Tahoma, Sans-Serif",bodySmall:"normal normal 14px/20px Lato, Tahoma, Sans-Serif",bodyMedium:"normal normal 16px/24px Lato, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 16px/24px Lato, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 16px/24px Lato, Sans-Serif",bodyLarge:"normal normal 18px/26px Lato, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Lato, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px Lato, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Lato, Tahoma, Sans-Serif"},fontMd:{header1:"bold normal 48px/54px Lato, Tahoma, Sans-Serif",header2:"bold normal 40px/48px Lato, Tahoma, Sans-Serif",header3:"bold normal 32px/40px Lato, Tahoma, Sans-Serif",header4:"bold normal 24px/28px Lato, Tahoma, Sans-Serif",header5:"bold normal 20px/28px Lato, Tahoma, Sans-Serif",header6:"bold normal 18px/24px Lato, Tahoma, Sans-Serif",header7:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",numericBadge:"bold normal 110px/110px Lato, Tahoma, Sans-Serif",tab:"normal normal 16px/20px Lato, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",category:"bold normal 12px/12px Lato, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px Lato, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px Lato, Tahoma, Sans-Serif",bodySmall:"normal normal 15px/20px Lato, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 18px/26px Lato, Sans-Serif",bodyMedium:"normal normal 18px/26px Lato, Tahoma, Sans-Serif",bodyLarge:"normal normal 20px/28px Lato, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 20px/28px Lato, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Lato, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px Lato, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Lato, Tahoma, Sans-Serif"},footer:{text:"var(--neutral-30-color)",hoverText:"var(--neutral-0-color)"},articleGrid:{gridColumns:{md:2,lg:3,xl:4},itemFetchLimit:{xs:8,sm:8,md:9,lg:8}},isBorderlessDesign:!1}}];e.exports=t.length<=1?t[0]:t},7261:function(e){let t=[{outletName:"Sky Radio",appId:354799163951,oneTrustId:"7a81ed57-4a61-4702-a658-056b2bc2555f",contentApiEndpoint:"https://contentapi.skyradio.nl",featureFile:"https://assets.prod.webx.talpa.digital/features/skyradio.json",audioDistTagPrefix:"skyradio",mainStationSlug:"sky-radio",playerId:"sky-radio",advertising:{networkGroup:"talpa",channelGroup:"skyradio",homepageDPGAdEnabled:!0},oAuth:{profileUrl:"https://skyradio.mijn.account.talpanetwork.com/profile"},tealium:{profile:"audio-skyradio-web",environment:"prod"},subscription:{newsletterSubtitle:"Meld je aan voor de nieuwsbrief van Sky Radio en blijf op de hoogte van alle leuke winacties en het laatste nieuws over je favoriete Sky-artiesten.",subscriptionText:"Ja, ik wil graag (twee)wekelijks de nieuwsbrief van Sky Radio ontvangen met nieuws, evenementen en (win)acties die wij z\xe9lf of in samenwerking met onze partners organiseren."},notFoundPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/D6ixXM5sv4gqjPQQrO2Z5/574e01d03cc9a9e1d1a34a39391d9a1b/404-skyradio.jpg"},errorPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/1NKhOLsaRk5qMHyWMVTrqr/bc997e85cb9dd1dcc225f0ca33965099/500-skyradio.jpg"},socialMedia:{title:"Volg Sky Radio",instagram:"https://www.instagram.com/skyradio101fm/",youtube:"http://www.youtube.com/@skyradio101fm",x:"https://x.com/skyradio101fm",facebook:"https://www.facebook.com/SkyRadio/"}
141,appDownload:{title:"Download de Sky Radio App",adjustLink:"https://skyradio.eu.go.link/dkkbz"},categoryOrder:[],trackHistory:{title:"Sky Radio Playlist",subtitle:"Check de Sky Radio playlist van alle Sky zenders tot 24 uur terug. Vind snel je nummer en luister direct previews van hits die net gedraaid zijn.",image:"https://images.ctfassets.net/m3kfiwxadki8/4REcE8KM5dvpkEjq5j0RJ8/ec381c1ce9ee19b20d66dfda14d3449a/SkyRadio-playlist-img.jpg",fallbackImage:"https://images.ctfassets.net/fpk5n836jg85/380c9h3F5VOKf2fZr0q4f7/db009a670b0ecaa40841f0713cd108c7/sky-radio-image.jpg"},designTokens:{colors:{primary10:"#E6F2FC",primary50:"#80BDEF",primary90:"#1A89E2",primary100:"#007CDF",primary120:"#0943B9",primary140:"#00276F",secondary10:"#FAFFE6",secondary50:"#E4FF80",secondary90:"#CEFF1A",secondary100:"#C9FF01",secondary120:"#A1CC01",secondary140:"#799901",tertiary10:"#FEFDE8",tertiary50:"#FBF38D",tertiary100:"#F8E71C",tertiary120:"#C6B916",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#007CDF",tabBar:"#1A89E2",newTrack:"#3CB878",playIconText:"var(--primary-140-color)"},audioDashboard:{titleFont:"var(--font-header-1)",titleFontMd:"var(--font-header-2)",liveLabelColor:"var(--button-primary-text-color)",liveLabelFontMd:"var(--font-header-7)",imageDecorationVariant:"circle",trackBorderRadius:"var(--button-border-radius)"},opacities:{opacity01:"rgba(0, 124, 223, 0.9)",opacity02:"rgba(0, 0, 0, 0.40)"},gradients:{gradient01:"linear-gradient(270deg, #0943B9 0%, #007CDF 25%, #007CDF 50%, #007CDF 75%, #0943B9 100%)",gradient02:"linear-gradient(270deg, #0943B9 0%, #007CDF 100%)",gradient03:"linear-gradient(270deg, #007CDF 0%, #0943B9 100%)",gradient04:"linear-gradient(270deg, #00276F 0%, #007CDF 100%)",gradient05:"linear-gradient(180deg, rgba(0, 39, 111, 0.00) 0%, #00276F 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #007CDF 0%, rgba(0, 124, 223, 0.70) 50%, rgba(0, 124, 223, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #007CDF 0%, rgba(0, 124, 223, 0.70) 50%, rgba(0, 124, 223, 0.00) 100%)"},button:{primaryBackgroundColor:"var(--secondary-100-color)",secondaryBackgroundColor:"var(--primary-100-color)",primaryTextColor:"var(--primary-140-color)",textColor:"var(--primary-140-color)",hoverPrimaryBackgroundColor:"var(--secondary-120-color)",hoverSecondaryBackgroundColor:"var(--primary-120-color)",pressedPrimaryBackgroundColor:"var(--secondary-50-color)",pressedSecondaryBackgroundColor:"var(--primary-50-color)",hoverTextColor:"var(--primary-140-color)",pressedTextColor:"var(--primary-140-color)",hoverTextBackgroundColor:"var(--secondary-120-color)",pressedTextBackgroundColor:"var(--secondary-50-color)",borderRadius:"4px",textTransform:"uppercase",socialMedia:{backgroundColor:"var(--secondary-100-color)",textColor:"var(--primary-140-color)",hoverBackgroundColor:"var(--secondary-120-color)",activeBackgroundColor:"var(--secondary-50-color)"}},subscription:{titleText:"var(--neutral-90-color)",subtitleText:"var(--neutral-60-color)",border:"var(--neutral-20-color)",inputBackground:"var(--neutral-10-color)"},fontFamilies:[{family:"SkyRadio",faces:[{file:"/fonts/skyradio/Sky-Bold.woff2",weight:700,style:"normal"},{file:"/fonts/skyradio/Sky-Regular.woff2",weight:400,style:"normal"}]}],font:{header1:"bold normal 32px/40px SkyRadio, Tahoma, Sans-Serif",header2:"bold normal 24px/28px SkyRadio, Tahoma, Sans-Serif",header3:"bold normal 22px/26px SkyRadio, Tahoma, Sans-Serif",header4:"bold normal 20px/24px SkyRadio, Tahoma, Sans-Serif",header5:"bold normal 18px/26px SkyRadio, Tahoma, Sans-Serif",header6:"bold normal 16px/20px SkyRadio, Tahoma, Sans-Serif",header7:"bold normal 14px/18px SkyRadio, Tahoma, Sans-Serif",numericBadge:"bold normal 64px/41px SkyRadio, Tahoma, Sans-Serif",tab:"normal normal 16px/20px SkyRadio, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px SkyRadio, Tahoma, Sans-Serif",category:"bold normal 12px/12px SkyRadio, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px SkyRadio, Tah
141oma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px SkyRadio, Tahoma, Sans-Serif",bodySmall:"normal normal 14px/20px SkyRadio, Tahoma, Sans-Serif",bodySmallStrong:"bold normal 14px/20px SkyRadio, Tahoma, Sans-Serif",bodyMedium:"normal normal 16px/24px SkyRadio, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 16px/24px SkyRadio, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 16px/24px SkyRadio, Tahoma, Sans-Serif",bodyLarge:"normal normal 18px/26px SkyRadio, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 18px/26px SkyRadio, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px SkyRadio, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px SkyRadio, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px SkyRadio, Tahoma, Sans-Serif",footer:"normal normal 16px/24px SkyRadio, Tahoma, Sans-Serif"},fontMd:{header1:"bold normal 44px/52px SkyRadio, Tahoma, Sans-Serif",header2:"bold normal 38px/44px SkyRadio, Tahoma, Sans-Serif",header3:"bold normal 30px/38px SkyRadio, Tahoma, Sans-Serif",header4:"bold normal 23px/27px SkyRadio, Tahoma, Sans-Serif",header5:"bold normal 20px/26px SkyRadio, Tahoma, Sans-Serif",header6:"bold normal 18px/24px SkyRadio, Tahoma, Sans-Serif",header7:"bold normal 16px/20px SkyRadio, Tahoma, Sans-Serif",numericBadge:"bold normal 110px/69px SkyRadio, Tahoma, Sans-Serif",tab:"normal normal 16px/20px SkyRadio, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px SkyRadio, Tahoma, Sans-Serif",category:"bold normal 12px/12px SkyRadio, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px SkyRadio, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px SkyRadio, Tahoma, Sans-Serif",bodySmall:"normal normal 15px/20px SkyRadio, Tahoma, Sans-Serif",bodySmallStrong:"bold normal 15px/20px SkyRadio, Tahoma, Sans-Serif",bodyMedium:"normal normal 18px/26px SkyRadio, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 18px/26px SkyRadio, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 18px/26px SkyRadio, Tahoma, Sans-Serif",bodyLarge:"normal normal 20px/28px SkyRadio, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 20px/28px SkyRadio, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px SkyRadio, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px SkyRadio, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px SkyRadio, Tahoma, Sans-Serif",footer:"normal normal 16px/24px SkyRadio, Tahoma, Sans-Serif"},articleGrid:{gridColumns:{md:2,lg:3,xl:3},itemFetchLimit:{xs:8,sm:8,md:6,lg:6}},isBorderlessDesign:!0,footer:{background:"var(--neutral-0-color)",border:"var(--neutral-20-color)",text:"var(--neutral-60-color)",submenuTitle:"var(--primary-140-color)",hoverText:"var(--neutral-90-color)",hasExtraPadding:!0}}}];e.exports=t.length<=1?t[0]:t},28412:function(e){let t=[{outletName:"Talpa Media",appId:354799163951,oneTrustId:"0198e604-16de-7569-9d37-4f219d606049",contentApiEndpoint:"https://contentapi.talpamedia.nl",featureFile:"https://assets.prod.webx.talpa.digital/features/talpamedia.json",tealium:{profile:"talpa-talpamedia-web",environment:"prod"},socialMedia:{title:"Volg Talpa Media",linkedIn:"https://www.linkedin.com/company/talpamedia/"},subscription:{subscriptionEnabled:!1},notFoundPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/49mnOICTnTTrvyoIIkRsjY/ae35ac3c16cf3838be075dda58567403/404-talpamedia.jpg"},errorPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/2ywLH2HaZFrXb51heEmWOQ/5b2d1d1ea6e2886485ba0fa15d2ebdee/500-talpamedia.jpg"},designTokens:{colors:{primary10:"#E7E9F3",primary50:"#868FC3",primary90:"#3D4D9F",primary100:"#0D2087",primary120:"#0A1A6C",primary140:"#081351",secondary10:"#FFEDED",secondary50:"#FFA3A3",secondary90:"#FF5959",secondary100:"#FF4747",secondary120:"#CC3939",secondary140:"#992B2B",tertiary10:"#E7FCF2",tertiary50:"#10FF81",tertiary100:"#00DE6F",tertiary120:"#02C05C",tertiary140:"#00A54A",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#FFFFFF",pageHeader:"var(--primary-100-color)",tabBar:"var(--gradient-06)",topBarIcon:"var(--neutral-100-color)",quoteIcon:"var(--tertiary-100-color)",topBarSearchBackgroun
141d:"var(--neutral-10-color)",topBarSearchText:"var(--neutral-80-color)",showAllLink:"var(--tertiary-100-color)",richTextLink:"var(--tertiary-140-color)"},opacities:{opacity01:"rgba(13, 32, 135, 0.90);",opacity02:"rgba(0, 0, 0, 0.40);"},gradients:{gradient01:"linear-gradient(270deg, #0A1A6C 0%, #0D2087 25%, #0D2087 50%, #0D2087 75%, #0A1A6C 100%)",gradient02:"linear-gradient(270deg, #0A1A6C 0%, #0D2087 100%)",gradient03:"linear-gradient(270deg, #0D2087 0%, #0A1A6C 100%)",gradient04:"linear-gradient(270deg, #081351 0%, #0D2087 100%)",gradient05:"linear-gradient(180deg, rgba(8, 19, 81, 0.00) 0%, #081351 100%)",gradient06:"linear-gradient(270deg, #00DE6F 0%, #0D2087 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #0D2087 0%, rgba(13, 32, 135, 0.70) 50%, rgba(13, 32, 135, 0.00) 100%)",fadePrimaryBottomTop:"linear-gradient(0deg, #0D2087 0%, rgba(13, 32, 135, 0.70) 50%, rgba(13, 32, 135, 0.00) 100%)",fadeBlackBottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 50%, rgba(0, 0, 0, 0.60) 100%)",fadeBlack90BottomTop:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.90) 100%)"},button:{textColor:"var(--primary-100-color)",hoverPrimaryTextColor:"var(--neutral-0-color)",pressedPrimaryTextColor:"var(--neutral-0-color)",hoverTextBackgroundColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)"},infiniteCollectionItem:{activeRingColor:"var(--tertiary-100-color)",categoryColor:"var(--tertiary-120-color)",categoryVisitedColor:"var(--tertiary-50-color)",labelColor:"var(--neutral-100-color)",labelBackgroundColor:"var(--tertiary-100-color)"},headline:{categoryColor:"var(--tertiary-120-color)",categoryHoverColor:"var(--tertiary-140-color)"},highlightedItem:{background:"var(--primary-100-color)"},tile:{pillBg:"var(--secondary-100-color)"},fontFamilies:[{family:"Gilroy",faces:[{file:"/fonts/gilroy/Gilroy-RegularItalic.woff2",weight:400,style:"italic"},{file:"/fonts/gilroy/Gilroy-ExtraBold.woff2",weight:800,style:"normal"},{file:"/fonts/gilroy/Gilroy-Bold.woff2",weight:700,style:"normal"},{file:"/fonts/gilroy/Gilroy-Regular.woff2",weight:400,style:"normal"}]}],font:{header1:"800 normal 34px/40px Gilroy, Tahoma, Sans-Serif",header2:"800 normal 26px/30px Gilroy, Tahoma, Sans-Serif",header3:"800 normal 24px/28px Gilroy, Tahoma, Sans-Serif",header4:"800 normal 20px/24px Gilroy, Tahoma, Sans-Serif",header5:"800 normal 18px/26px Gilroy, Tahoma, Sans-Serif",header6:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",header7:"700 normal 14px/18px Gilroy, Tahoma, Sans-Serif",numericBadge:"800 normal 64px/64px Gilroy, Tahoma, Sans-Serif",bodyLarge:"400 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyLargeStrong:"700 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMedium:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif",bodyMediumItalic:"400 italic 16px/24px Gilroy, Tahoma, Sans-Serif",bodyMediumStrong:"700 normal 16px/24px Gilroy, Tahoma, Sans-Serif",bodySmall:"400 normal 14px/20px Gilroy, Tahoma, Sans-Serif",bodySmallStrong:"700 normal 14px/20px Gilroy, Tahoma, Sans-Serif",bodyExtraSmall:"400 normal 12px/15px Gilroy, Tahoma, Sans-Serif",bodyExtraSmallStrong:"700 normal 12px/15px Gilroy, Tahoma, Sans-Serif",link:"700 normal 16px/24x Gilroy, Tahoma, Sans-Serif",category:"700 normal 12px/12px Gilroy, Tahoma, Sans-Serif",buttonLarge:"700 normal 18px/18px Gilroy, Tahoma, Sans-Serif",buttonMedium:"700 normal 16px/16px Gilroy, Tahoma, Sans-Serif",buttonSmall:"700 normal 14px/14px Gilroy, Tahoma, Sans-Serif",tab:"400 normal 16px/20px Gilroy, Tahoma, Sans-Serif",tabStrong:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",footer:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif"},fontMd:{header1:"800 normal 48px/54px Gilroy, Tahoma, Sans-Serif",header2:"800 normal 40px/46px Gilroy, Tahoma, Sans-Serif",header3:"800 normal 32px/40px Gilroy, Tahoma, Sans-Serif",header4:"800 normal 24px/28px Gilroy, Tahoma, Sans-Serif",header5:"800 normal 20px/28px Gilroy, Tahoma, Sans-Serif",header6:"700 normal 18px/24px Gilroy, Tahoma, Sans-Serif",header7:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",numericBadge:"800 normal 110px/110px Gilroy, Tahoma, Sans-Serif",bodyLarge:"400 normal 20px/28px Gilroy, Tahoma, Sans-Serif",bodyLargeStrong:"700 normal 20px/28px Gilroy, Tahoma, Sans-Serif",bodyMedium:"400 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMediumItalic:"400 italic 18px/26px Gilroy, Tahoma, Sans-Serif",bodyMediumStrong:"700 normal 18px/26px Gilroy, Tahoma, Sans-Serif",bodySmall:"400 normal 15px
141/20px Gilroy, Tahoma, Sans-Serif",bodySmallStrong:"700 normal 15px/20px Gilroy, Tahoma, Sans-Serif",bodyExtraSmall:"400 normal 12px/15px Gilroy, Tahoma, Sans-Serif",bodyExtraSmallStrong:"700 normal 12px/15px Gilroy, Tahoma, Sans-Serif",link:"700 normal 18px/26x Gilroy, Tahoma, Sans-Serif",category:"700 normal 12px/12px Gilroy, Tahoma, Sans-Serif",buttonLarge:"700 normal 18px/18px Gilroy, Tahoma, Sans-Serif",buttonMedium:"700 normal 16px/16px Gilroy, Tahoma, Sans-Serif",buttonSmall:"700 normal 14px/14px Gilroy, Tahoma, Sans-Serif",tab:"400 normal 16px/20px Gilroy, Tahoma, Sans-Serif",tabStrong:"700 normal 16px/20px Gilroy, Tahoma, Sans-Serif",footer:"400 normal 16px/24px Gilroy, Tahoma, Sans-Serif"},articleGrid:{gridColumns:{md:2,lg:3,xl:3},itemFetchLimit:{xs:8,sm:8,md:6,lg:6}},isBorderlessDesign:!0,footer:{background:"var(--neutral-0-color)",border:"var(--neutral-20-color)",text:"var(--neutral-60-color)",submenuTitle:"var(--neutral-100-color)",hoverText:"var(--neutral-90-color)"}}}];e.exports=t.length<=1?t[0]:t},3259:function(e){let t=[{outletName:"Vandaag Inside",appId:354799163951,oneTrustId:"2930e9ed-69e1-4d0d-bece-10d182134380",contentApiEndpoint:"https://contentapi.vandaaginside.nl",featureFile:"https://assets.prod.webx.talpa.digital/features/vandaaginside.json",enableNewsSitemap:!0,advertising:{networkGroup:"sbs",channelGroup:"veronicatv",zoneGroup:"veronicainside",homepageDPGAdEnabled:!0},tealium:{profile:"pub-vandaaginside-web",environment:"prod"},subscription:{newsletterSubtitle:"Meld je aan voor onze wekelijkse mail vol met de beste fragmenten, het meest spraakmakende nieuws, een kijkje achter de schermen en meer.",subscriptionText:"Ja, ik wil graag wekelijks de nieuwsbrief van Vandaag Inside ontvangen met daarin het laatste nieuws, de leukste video's en aanbiedingen die wijzelf of in samenwerking met onze partners organiseren."},notFoundPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/iDrSTVTV6OWbqO09VYFXM/aba785f8247e2b9f9d7a406d0d8bda88/404-vandaaginside.jpg"},errorPage:{imageUrl:"https://images.ctfassets.net/fpk5n836jg85/32XXJVr6ugLeVgMkvReb6t/9ea7b48de1cf580ec6635fd0747001a8/500-vandaaginside.jpg"},socialMedia:{title:"Volg Vandaag Inside",instagram:"https://www.instagram.com/vandaaginside/",youtube:"http://www.youtube.com/@VandaagInside",x:"https://x.com/vandaaginside",facebook:"https://www.facebook.com/vandaaginside/"},allowedSeries:[{id:"2UpOAlKNPeg",slug:"vandaag-inside",title:"Vandaag Inside"},{id:"jPROtq0zwso",slug:"de-oranjezondag",title:"De Oranjezondag"},{id:"czerERJW9mz",slug:"hnm-de-podcast",title:"HNM de Podcast"},{id:"iheaKjTt2mi",slug:"het-oranje-cafe",title:"Het Oranje Caf\xe9"},{id:"j6vgjYVRTcY",slug:"de-oranjewinter",title:"De Oranjewinter"},{id:"8nzFKuzj27R",slug:"de-oranjezomer",title:"De Oranjezomer"},{id:"jXr5Ez7jRqY",slug:"veronica-inside",title:"Veronica Inside"},{id:"mXJRgFrQl6f",slug:"vandaag-inside-oranje",title:"Vandaag Inside Oranje"},{id:"hX0FlEkDWSO",slug:"veronica-offside",title:"Veronica Offside"},{id:"z58rnGCzvOo",slug:"vandaag-inside-oranje-quiz",title:"Oranje Quiz"}],categoryOrder:["sport","politiek","muziek","interviews","nieuws","media","humor"],designTokens:{colors:{primary10:"#FCF6E6",primary50:"#F1CF80",primary90:"#E7AA1A",primary100:"#E4A000",primary120:"#C88601",secondary10:"#EDE7F5",secondary50:"#A386CE",secondary90:"#5A25A7",secondary100:"#480D9D",secondary120:"#360978",tertiary10:"#FEFDE8",tertiary50:"#FBF38D",tertiary100:"#F8E71C",tertiary120:"#C6B916",neutral0:"#FFFFFF",neutral10:"#F2F2F2",neutral20:"#E6E6E6",neutral30:"#CCCCCC",neutral40:"#999999",neutral50:"#808080",neutral60:"#666666",neutral70:"#4D4D4D",neutral80:"#333333",neutral90:"#1A1A1A",neutral100:"#000000",danger100:"#E02D3C",header:"#480D9D",tabBar:"#5A25A7"},opacities:{opacity02:"rgba(0, 0, 0, 0.40)"},gradients:{gradient01:"linear-gradient(270deg, #360978 0%, #480D9D 25.26%, #480D9D 50.02%, #480D9D 75%, #360978 100%)",gradient02:"linear-gradient(90deg, #480D9D 0%, #360978 100%)",gradient03:"linear-gradient(90deg, #360978 0%, #480D9D 100%)",gradient04:"linear-gradient(270deg, #2B085E 0%, #480D9D 100%)",fadePageHeaderLeftRight:"linear-gradient(90deg, #480D9D 0%, rgba(72, 13, 157, 0.70) 50%, rgba(72, 13, 157, 0.00) 100%)",fadePageHeaderBottomTop:"linear-gradient(0deg, #480D9D 0%, rgba(72, 13, 157, 0.70) 50%, rgba(72, 13, 157, 0.00) 100%)",fadePrimaryLeftRight:"linear-gradient(90deg, #480D9D 0%, rgba(72, 13, 157, 0.70) 50%, rgba(72, 13, 157, 0.00) 100%)"},button:{textColor:"var(--primary-100-color)",hoverPrimaryTextColor:"var(--neutral-0-color)",pressedPrimaryTextColor:"var(--neutral-0-color)",hoverTextBackgroun
141dColor:"var(--primary-120-color)",pressedTextBackgroundColor:"var(--primary-50-color)"},font:{header1:"bold normal 34px/40px Lato, Tahoma, Sans-Serif",header2:"bold normal 26px/30px Lato, Tahoma, Sans-Serif",header3:"bold normal 24px/28px Lato, Tahoma, Sans-Serif",header4:"bold normal 20px/24px Lato, Tahoma, Sans-Serif",header5:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",header6:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",header7:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",numericBadge:"bold normal 64px/64px Lato, Tahoma, Sans-Serif",tab:"normal normal 16px/20px Lato, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",category:"bold normal 12px/12px Lato, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px Lato, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px Lato, Tahoma, Sans-Serif",bodySmall:"normal normal 14px/20px Lato, Tahoma, Sans-Serif",bodyMedium:"normal normal 16px/24px Lato, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 16px/24px Lato, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 16px/24px Lato, Sans-Serif",bodyLarge:"normal normal 18px/26px Lato, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Lato, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px Lato, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Lato, Tahoma, Sans-Serif"},fontMd:{header1:"bold normal 48px/54px Lato, Tahoma, Sans-Serif",header2:"bold normal 40px/48px Lato, Tahoma, Sans-Serif",header3:"bold normal 32px/40px Lato, Tahoma, Sans-Serif",header4:"bold normal 24px/28px Lato, Tahoma, Sans-Serif",header5:"bold normal 20px/28px Lato, Tahoma, Sans-Serif",header6:"bold normal 18px/24px Lato, Tahoma, Sans-Serif",header7:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",numericBadge:"bold normal 110px/110px Lato, Tahoma, Sans-Serif",tab:"normal normal 16px/20px Lato, Tahoma, Sans-Serif",tabStrong:"bold normal 16px/20px Lato, Tahoma, Sans-Serif",category:"bold normal 12px/12px Lato, Tahoma, Sans-Serif",bodyExtraSmall:"normal normal 12px/15px Lato, Tahoma, Sans-Serif",bodyExtraSmallStrong:"bold normal 12px/15px Lato, Tahoma, Sans-Serif",bodySmall:"normal normal 15px/20px Lato, Tahoma, Sans-Serif",bodyMedium:"normal normal 18px/26px Lato, Tahoma, Sans-Serif",bodyMediumStrong:"bold normal 18px/26px Lato, Tahoma, Sans-Serif",bodyMediumItalic:"italic normal 18px/26px Lato, Sans-Serif",bodyLarge:"normal normal 20px/28px Lato, Tahoma, Sans-Serif",bodyLargeStrong:"bold normal 20px/28px Lato, Tahoma, Sans-Serif",buttonSmall:"bold normal 14px/14px Lato, Tahoma, Sans-Serif",buttonMedium:"bold normal 16px/16px Lato, Tahoma, Sans-Serif",buttonLarge:"bold normal 18px/18px Lato, Tahoma, Sans-Serif",footer:"normal normal 16px/24px Lato, Tahoma, Sans-Serif"},footer:{text:"var(--neutral-30-color)",hoverText:"var(--neutral-0-color)"},articleGrid:{gridColumns:{md:2,lg:3,xl:4},itemFetchLimit:{xs:8,sm:8,md:9,lg:8}},isBorderlessDesign:!1}}];e.exports=t.length<=1?t[0]:t},96675:function(e,t,r){var n=r(84993),i=r(70113),a=r(83801),o=r(10650);function s(e,t,r){if(arguments.length<2&&(r=e,e=null,t=null),this.capacity=r,"number"!=typeof this.capacity||this.capacity<=0)throw Error("mnemonist/lru-cache: capacity should be positive number.");var n=a.getPointerArray(r);this.forward=new n(r),this.backward=new n(r),this.K="function"==typeof e?new e(r):Array(r),this.V="function"==typeof t?new t(r):Array(r),this.size=0,this.head=0,this.tail=0,this.items={}}s.prototype.clear=function(){this.size=0,this.head=0,this.tail=0,this.items={}},s.prototype.splayOnTop=function(e){var t=this.head;if(this.head===e)return this;var r=this.backward[e],n=this.forward[e];return this.tail===e?this.tail=r:this.backward[n]=r,this.forward[r]=n,this.backward[t]=e,this.head=e,this.forward[e]=t,this},s.prototype.set=function(e,t){var r=this.items[e];if(void 0!==r){this.splayOnTop(r),this.V[r]=t;return}this.size<this.capacity?r=this.size++:(r=this.tail,this.tail=this.backward[r],delete this.items[this.K[r]]),this.items[e]=r,this.K[r]=e,this.V[r]=t,this.forward[r]=this.head,this.backward[this.head]=r,this.head=r},s.prototype.setpop=function(e,t){var r=null,n=null,i=this.items[e];return void 0!==i?(this.splayOnTop(i),r=this.V[i],this.V[i]=t,{evicted:!1,key:e,value:r}):(this.size<this.capacity?i=this.size++:(i=this.tail,this.tail=this.backward[i],r=this.V[i],n=this.K[i],delete this.items[this.K[i]]),this.items[e]=i,this.K[i]=e,this.V[i]=t,this.forward[i]=this.head,this.backward[this.head]=i,this.head=i,n)?{evicted:!0,key:n,value:r}:null},s.prototype.has=function(e){return e in this.items},s.prototype.get=function(e){var t=this.items[e];if(void 0!==t)return this.splayOnTop(t),this.V[t]},s.prototype.peek=function(e){var t=this.items[e];if(void 0!==t)return this.V[t]},s.prototype.forEach=function(e,t){t=arguments.length>1?t:this;for(var r=0,n=this.size,i=this.head,a=this.K,o=this.V,s=this.forward;r<n;)e.call(t,o[i],a[i],this),i=s[i],r++},s.prototype.keys=function(){var e=0,t=this.size,r=this.head,i=this.K,a=this.forward;return new n(function(){if(e>=t)return{done:!0};var n=i[r];return++e<t&&(r=a[r]),{done:!1,value:n}})},s.prototype.values=function(){var e=0,t=this.size,r=this.head,i=this.V,a=this.forward;return new n(function(){if(e>=t)return{done:!0};var n=i[r];return++e<t&&(r=a[r]),{done:!1,value:n}})},s.prototype.entries=function(){var e=0,t=this.size,r=this.head,i=this.K,a=this.V,o=this.forward;return new n(function(){if(e>=t)return{done:!0};var n=i[r],s=a[r];return++e<t&&(r=o[r]),{done:!1,value:[n,s]}})},"undefined"!=typeof Symbol&&(s.prototype[Symbol.iterator]=s.prototype.entries),s.prototype.inspect=function(){for(var e,t=new Map,r=this.entries();!(e=r.next()).done;)t.set(e.value[0],e.value[1]);return Object.defineProperty(t,"constructor",{value:s,enumerable:!1}),t},"undefined"!=typeof Symbol&&(s.prototype[Symbol.for("nodejs.util.inspect.custom")]=s.prototype.inspect),s.from=function(e,t,r,n){if(arguments.length<2){if("number"!=typeof(n=o.guessLength(e)))throw Error("mnemonist/lru-cache.from: could not guess iterable length. Please provide desired capacity as last argument.")}else 2==arguments.length&&(n=t,t=null,r=null);var a=new s(t,r,n);return i(e,function(e,t){a.set(t,e)}),a},e.exports=s},10650:function(e,t,r){var n=r(70113),i=r(83801);function a(e){return"number"==typeof e.length?e.length:"number"==typeof e.size?e.size:void 0}t.isArrayLike=function(e){return Array.isArray(e)||i.isTypedArray(e)},t.guessLength=a,t.toArray=function(e){var t=a(e),r="number"==typeof t?Array(t):[],i=0;return n(e,function(e){r[i++]=e}),r},t.toArrayWithIndices=function(e){var t=a(e),r="number"==typeof t?i.getPointerArray(t):Array,o="number"==typeof t?Array(t):[],s="number"==typeof t?new r(t):[],l=0;return n(e,function(e){o[l]=e,s[l]=l++}),[o,s]}},83801:function(e,t){t.getPointerArray=function(e){var t=e-1;return t<=255?Uint8Array:t<=65535?Uint16Array:t<=4294967295?Uint32Array:Float64Array},t.getSignedPointerArray=function(e){var t=e-1;return t<=127?Int8Array:t<=32767?Int16Array:t<=2147483647?Int32Array:Float64Array},t.getNumberType=function(e){return e===(0|e)?-1===Math.sign(e)?e<=127&&e>=-128?Int8Array:e<=32767&&e>=-32768?Int16Array:Int32Array:e<=255?Uint8Array:e<=65535?Uint16Array:Uint32Array:Float64Array};var r={Uint8Array:1,Int8Array:2,Uint16Array:3,Int16Array:4,Uint32Array:5,Int32Array:6,Float32Array:7,Float64Array:8};t.getMinimalRepresentation=function(e,n){var i,a,o,s,l,u=null,c=0;for(s=0,l=e.length;s<l;s++)o=n?n(e[s]):e[s],(i=r[(a=t.getNumberType(o)).name])>c&&(c=i,u=a);return u},t.isTypedArray=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView(e)},t.concat=function(){var e,t,r,n=0;for(e=0,r=arguments.length;e<r;e++)n+=arguments[e].length;var i=new arguments[0].constructor(n);for(e=0,t=0;e<r;e++)i.set(arguments[e],t),t+=arguments[e].length;return i},t.indices=function(e){for(var r=new(t.getPointerArray(e))(e),n=0;n<e;n++)r[n]=n;return r}},11752:function(e,t,r){e.exports=r(7905)},83454:function(e,t,r){"use strict";var n,i;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(77663)},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(48625)}])},5091:function(e,t,r){"use strict";r.d(t,{Z:function(){return T}});var n,i,a=r(11752),o=r.n(a),s=r(11163),l=r.n(s),u=r(53390),c=r(21953),d=r(87367),h=r(70103),p=r(30656),f=r(33301),m=r(94405),g=r(64571),v=r(12875),y=r(7490);(n=i||(i={})).Mobile="mobilewebx",n.Desktop="webx";let b=["stream-start","stream-stop","stream-status","track-cue-point","ad-break-cue-point","ad-break-cue-point-complete"],S={LIVE_PAUSE:"pause",LIVE_PLAYING:"play",LIVE_STOP:"stop",LIVE_FAILED:"error",LIVE_BUFFERING:"loading",LIVE_CONNECTING:"loading",LIVE_RECONNECTING:"loading",GETTING_STATION_INFORMATION:"loading",STREAM_GEO_BLOCKED:"error",STREAM_GEO_BLOCKED_ALTERNATE:"error",STREAM_GEO_BLOCKED_NO_ALTERNATE:"error",STATION_NOT_FOUND:"error",PLAY_NOT_ALLOWED:"error"};
141var w=class{addEventListeners(){b.forEach(e=>{var t;null===(t=this.tritonPlayer)||void 0===t||t.addEventListener(e,this.onCallback(e))})}removeEventListeners(){b.forEach(e=>{var t;null===(t=this.tritonPlayer)||void 0===t||t.removeEventListener(e,this.onCallback(e))})}async setup(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.type=c.x7.Triton,"undefined"==typeof TDSdk&&await (0,g.Z)("https://sdk.listenlive.co/web/2.9/td-sdk.min.js?_=1638265229969"),new Promise((t,r)=>{(async()=>{if(this.tritonPlayer){if(e&&this.tritonPlayer.MediaPlayer.hls){t();return}await this.destroyPlayer()}let{audioDistTagPrefix:n=""}=(0,h.ZP)();this.distTag="".concat(n,"_").concat(v.default.isMobile?i.Mobile:i.Desktop);let{tcString:a,talpaConsent:o}=await (0,y.j)();this.talpaConsent=o;let s={coreModules:[{id:"MediaPlayer",playerId:"td_container",techPriority:["Html5"],streamWhileMuted:!0,debug:!0,hls:e,idSync:{mount:this.currentSource,gdpr:1,gdpr_consent:a},geoTargeting:{desktop:{isActive:!1},iOS:{isActive:!1},android:{isActive:!1}},plugins:[{id:"vastAd"},{id:"mediaAd"},{id:"onDemand"}]}],playerReady:()=>{this.tritonPlayer?(this.audioElement=this.tritonPlayer.MediaElement,this.addEventListeners(),t()):r(Error("No player instance detected"))},configurationError:e=>{r(Error("Configuration Error: ".concat(String(e))))},moduleError:e=>{r(Error("Module Error: ".concat(String(e))))}};this.tritonPlayer=new TDSdk(s)})()})}async destroyPlayer(){var e,t,r,n;this.removeEventListeners(),null===(t=this.tritonPlayer)||void 0===t||null===(e=t.stop)||void 0===e||e.call(t),null===(n=this.tritonPlayer)||void 0===n||null===(r=n.destroy)||void 0===r||r.call(n),await this.waitForStop(),this.tritonPlayer=null}async waitForStop(){return new Promise(e=>{let t=setInterval(()=>{this.isPlaying&&this.type!==c.x7.Video||(clearInterval(t),e())},1e3)})}load(e){this.currentStation=e,this.nowPlayingTrack=null,this.subscriptions.length&&this.cleanUpSubscription(),(0,m.aA)(e.sourceData.slug).then(e=>{e&&(this.nowPlayingTrack=e,this.dispatch("nowPlaying",e))}),(0,m.zn)(e.sourceData.slug).then(e=>{this.nowPlayingShow=e,this.dispatch("currentShow",e)}),this.subscriptions.push(new m.xM(e.sourceData.slug,c.$E.Show,e=>this.onShowEvent(e))),this.subscriptions.push(new m.xM(e.sourceData.slug,c.$E.Track,e=>this.onTrackEvent(e)))}switchVisualRadio(e){e?(this.currentSource&&this.destroyPlayer(),this.type=c.x7.Video):this.type=c.x7.Triton,this.isPlaying=e}async play(e){var t,r,n;if(!e)return;this.currentSource=e;let i=e.includes(".m3u8");await this.setup(i);let a=this.getVolume();if(a&&(null===(t=this.tritonPlayer)||void 0===t||t.setVolume(a)),i){null===(n=this.tritonPlayer)||void 0===n||n.MediaPlayer.tech.playStream({url:e,forceTimeShift:!0,aSyncCuePoint:{active:!1},isHLS:!0});return}null===(r=this.tritonPlayer)||void 0===r||r.play({mount:e,trackingParameters:{dist:this.distTag,ttag:"talpa_consent:".concat(this.talpaConsent)}})}async stop(){if(this.currentSource=null,this.type===c.x7.Video){this.dispatch("stop"),this.type=c.x7.Triton,this.dispatch("playerType",this.type),this.isPlaying=!1;return}if(this.tritonPlayer){var e,t;null===(e=(t=this.tritonPlayer).stop)||void 0===e||e.call(t)}await this.waitForStop()}cleanUpSubscription(){this.subscriptions.forEach(e=>e.cleanUp()),this.subscriptions=[]}async resume(){if(!this.currentSource)return;let e=this.currentSource;this.isPlaying&&await this.stop(),this.play(e)}pause(){var e,t;null===(t=this.tritonPlayer)||void 0===t||null===(e=t.stop)||void 0===e||e.call(t)}mute(){this.tritonPlayer&&this.tritonPlayer.mute(),this.dispatch("mute",{muted:!0})}unmute(){this.tritonPlayer&&this.tritonPlayer.unMute(),this.dispatch("mute",{muted:!1})}volumeChange(e){var t;(null===(t=this.tritonPlayer)||void 0===t?void 0:t.setVolume)&&this.tritonPlayer.setVolume(e),this.dispatch("playerVolume",{volume:e})}complete(){this.pause(),this.currentSource=null,this.isPlaying=!1}constructor(e,t){this.audioElement=null,this.isPlaying=!1,this.type=c.x7.Triton,this.nowPlayingTrack=null,this.nowPlayingShow=null,this.currentStation=null,this.currentSource=null,this.subscriptions=[],this.onCallback=e=>t=>{if("stream-start"===e&&(this.isPlaying=!0),"stream-stop"===e&&this.type!==c.x7.Video&&(this.isPlaying=!1,this.dispatch("streamTerminated")),"ad-break-cue-point"===e&&this.dispatch("adStarted"),"ad-break-cue-point-complete"===e&&this.dispatch("adComplete"),"stream-status"===e){let{data:e}=t;if(this.streamStatus=e.status,"play"===S[e.code]&&0===this.getVolume()){var r;null===(r=this.tritonPlayer)||void 0===r||r.mute()}if("pause"===S[e.code]&&(this.isPlaying=!1),"error"===S[e.code]){console.error("Stream encountered an error:",e),this.dispatch("error",e.status);return}this.dispatch(S[e.code])}},this.onTrackEvent=e=>{this.nowPlayingTrack=e,this.dispatch("nowPlaying",e)},this.onShowEvent=e=>{this.nowPlayingShow=e,this.dispatch("currentShow",e)},this.dispatch=e,this.getVolume=t}};let{publicRuntimeConfig:{version:x}}=o()(),E=new class{updatePopoutState(e,t){localStorage.setItem(e,t);let r=new StorageEvent("storage",{key:e,newValue:t});window.dispatchEvent(r)}async load(e){try{var t,r;(null===(t=this.player)||void 0===t?void 0:t.isPlaying)&&await this.player.stop(),this.media=e,(0,f.j)(e)&&(this.setupPlayer(),this.dispatch("audioItem",e),null===(r=this.player)||void 0===r||r.load(e))}catch(e){this.dispatch("error","There was an error while loading audio player: ".concat(String(e))),c
141onsole.error("Error while loading media:",e)}}async start(e){try{var t;(null===(t=this.player)||void 0===t?void 0:t.isPlaying)&&await this.player.stop(),this.dispatch("beforePlay"),this.player&&(await this.player.play(e),this.setupMediaSession())}catch(e){this.dispatch("error","There was an error while starting audio player: ".concat(String(e))),console.error("Error while starting playback:",e)}}async switchVisualStream(e,t,r){try{var n;if(!this.player)return;r&&(this.videoGuid=r),t&&t.id!==(null===(n=this.media)||void 0===n?void 0:n.id)&&(e?(this.player.stop(),this.media=t,this.player=this.tritonPlayer,this.dispatch("audioItem",t),this.player.load(t)):await this.load(t)),this.dispatch("stop"),this.player.switchVisualRadio(e&&!!t),e||this.dispatch("streamTerminated"),this.dispatch("playerType",this.player.type)}catch(e){this.dispatch("error","There was an error while switching visual stream: ".concat(String(e))),console.error("Error while switching visual stream:",e)}}setupPlayer(){this.player=this.tritonPlayer,this.dispatch("playerType",this.player.type)}setupAudioMonitoring(){let{playerId:e,mainStationSlug:t}=(0,h.ZP)();e&&t&&(u.AudioMonitor.init({id:"audioPlayer",instance:this,defaultLayer:{player_channel:t,player_version:x,player_id:e,player_name:e,player_source:"".concat(e,"web")}}),u.HeartBeat.init({scheme:[{start:0,interval:60}],events:{onHeartBeat:e=>{let t=e.currentHeartBeat/60;if([1,8,15,30,60,90,120].includes(t)||t%120==0){let e=u.AudioMonitor.getTrackData();return{...e,event_label:String(t),event_value:null}}return!1}}}))}setupMediaSession(){if("mediaSession"in navigator){var e,t;(null===(e=this.media)||void 0===e?void 0:e.type)===c.$E.Station&&(navigator.mediaSession.metadata=new MediaMetadata({title:this.media.title,artwork:[{src:"/icons/icon-512x512.png",sizes:"512x512",type:"image/png"}]})),(null===(t=this.media)||void 0===t?void 0:t.type)===c.$E.Track&&(navigator.mediaSession.metadata=new MediaMetadata({title:this.media.title,artist:this.media.artistName,artwork:[{src:this.media.imageUrl,sizes:"300x300",type:"image/jpeg"}]})),(0,d.s)()&&navigator.mediaSession.setActionHandler("play",()=>{this.playbackState===c.X6.Stop&&this.media&&(0,f.j)(this.media)&&this.start(this.media.mountSource),this.resume()})}}on(e,t){this.eventCallbacks[e]||(this.eventCallbacks[e]=[]);let r=this.eventCallbacks[e];r.includes(t)||r.push(t)}off(e,t){var r;let n=null!==(r=this.eventCallbacks[e])&&void 0!==r?r:[],i=n.indexOf(t);i&&-1!==i&&n.splice(i,1)}pause(){this.player&&this.player.pause()}resume(){this.player&&this.player.resume()}stop(){this.player&&this.player.stop()}complete(){this.player&&this.player.complete()}mute(){this.isMuted=!0,localStorage.setItem(c.H9.PopoutMuted,"true"),this.player&&this.player.mute()}unmute(){this.isMuted=!1,this.player&&this.player.unmute()}getNowPlayingTrack(){return this.player?this.player.nowPlayingTrack:null}getNowPlayingShow(){return this.player?this.player.nowPlayingShow:null}getIsAudioPlaying(){var e;return!!(null===(e=this.player)||void 0===e?void 0:e.isPlaying)&&this.player.type===c.x7.Triton}getIsVideoPlaying(){var e;return!!(null===(e=this.player)||void 0===e?void 0:e.isPlaying)&&this.player.type===c.x7.Video}getPlayerType(){var e,t;return null!==(t=null===(e=this.player)||void 0===e?void 0:e.type)&&void 0!==t?t:null}getIsPopoutPlaying(){return"undefined"!=typeof localStorage&&localStorage.getItem(c.H9.PopoutPlaying)===c.X6.Playing}getIsPlaying(){return this.getIsAudioPlaying()||this.getIsVideoPlaying()||this.getIsPopoutPlaying()}getPlaybackState(){return this.playbackState}constructor(){this.player=null,this.eventCallbacks={},this.media=null,this.isMuted=!1,this.volume=1,this.playbackState=c.X6.Stop,this.dispatch=(e,t)=>{var r;"complete"===e&&this.tritonPlayer.currentStation&&this.load(this.tritonPlayer.currentStation),"play"===e&&(u.HeartBeat.start(),window.eventBus.dispatch("audioPlay",{})),["complete","error","stop","pause"].includes(e)&&u.HeartBeat.stop(),(e in c.m5||"popoutPlaying"===e&&void 0!==t)&&(this.playbackState="popoutPlaying"===e?t:c.m5[e],this.dispatch("playbackStateChange",this.playbackState)),"error"===e&&(0,p.Nd)(t);let n=null!==(r=this.eventCallbacks[e])&&void 0!==r?r:[];
141n.forEach(e=>{e(t)})},this.volumeChange=e=>{var t,r,n,i;(window.opener||(null===(i=window.eventBus.publishedEventRegistry)||void 0===i?void 0:null===(n=i.popoutWindow)||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:null===(t=r.window)||void 0===t?void 0:t.closed)===!1)&&localStorage.setItem(c.H9.PopoutVolume,e.toString()),this.isMuted&&(this.isMuted=!1,localStorage.setItem(c.H9.PopoutMuted,"false")),this.volume=e,this.player&&this.player.volumeChange(e)},this.getVolume=()=>this.isMuted?0:this.volume,this.tritonPlayer=new w(this.dispatch,this.getVolume);{if(window.opener){let t=localStorage.getItem(c.H9.PopoutVolume),r=localStorage.getItem(c.H9.PopoutMuted);t&&(this.volume=Number(t)),r&&(this.isMuted="true"===r),window.addEventListener("beforeunload",()=>{window.removeEventListener("storage",e),localStorage.setItem(c.H9.PopoutPlaying,c.X6.Stop),localStorage.removeItem(c.H9.PopoutPlaying),localStorage.removeItem(c.H9.PopoutVolume),localStorage.removeItem(c.H9.PopoutMuted)})}let e=async e=>{if(e.key===c.H9.PopoutPlaying&&e.newValue){let t=e.newValue;if(t===c.X6.Playing){if(this.getIsPlaying()&&!window.opener&&await this.tritonPlayer.stop(),localStorage.getItem(c.H9.PopoutPlaying)!==c.X6.Playing)return;if(window.opener&&this.media&&(0,f.j)(this.media)){this.start(this.media.mountSource);return}}else t===c.X6.Stop&&this.stop();this.dispatch("popoutPlaying",t)}if(e.key===c.H9.PopoutVolume&&e.newValue&&(this.volume=Number(e.newValue),window.opener&&this.volumeChange(this.volume),this.dispatch("playerVolume",{volume:this.volume})),e.key===c.H9.PopoutMuted&&null!==e.newValue){if(this.isMuted="true"===e.newValue,window.opener){var t;this.isMuted?null===(t=this.player)||void 0===t||t.mute():this.volumeChange(this.volume)}this.dispatch("mute",{muted:this.isMuted})}e.key===c.H9.PopoutStation&&e.newValue&&(window.opener?l().push("".concat(c._1.POPOUT).concat(e.newValue)):this.updatePopoutState(c.H9.PopoutPlaying,c.X6.Playing))};window.addEventListener("storage",e),this.setupAudioMonitoring(),window.eventBus.on("externalPlay",()=>{this.playbackState===c.X6.Playing&&this.pause()})}}};window.audioPlayerManager=E;var T=E},89632:function(e,t,r){"use strict";r.d(t,{E:function(){return w},E8:function(){return p},JW:function(){return v},K7:function(){return f},No:function(){return g},XN:function(){return b},c_:function(){return y},h0:function(){return h},kX:function(){return S},ph:function(){return m}});var n=r(25675),i=r.n(n),a=r(41664),o=r.n(a),s=r(31396),l=r(14775),u=r(15386),c=r(24520),d=r(83751);let h=(0,s.ZP)("div",{target:"etj6zya0"})(e=>{let{theme:t}=e;return{margin:t.spacing(8,0),[t.breakpoints.up("md")]:{marginTop:t.spacing(10),marginBottom:t.spacing(6)}}}),p=(0,s.ZP)("h2",{target:"etj6zya1"})(e=>{let{theme:t}=e;return{font:u.Rq.header3,marginBottom:t.spacing(4)}}),f=(0,s.ZP)("div",{target:"etj6zya2"})({position:"relative",borderRadius:8,zIndex:c.W.base,pointerEvents:"none",aspectRatio:"3 / 4",transition:"transform 0.4s ease-in-out"}),m=(0,s.ZP)("div",{target:"etj6zya3"})(()=>({position:"absolute",inset:0,borderRadius:8,background:u.cz.fadeBlackBottomTop})),g=(0,s.ZP)(i(),{target:"etj6zya4"})(()=>({objectFit:"cover",borderRadius:8})),v=(0,s.ZP)(o(),{target:"etj6zya5"})(e=>{let{theme:t}=e;return{cursor:"pointer",[t.breakpoints.up("md")]:{"&:hover":{["".concat(f)]:{transform:"scale(1.03)"}}}}}),y=(0,s.ZP)("div",{target:"etj6zya6"})(e=>{let{theme:t}=e;return{position:"absolute",display:"flex",flexDirection:"column",inset:"auto ".concat(t.spacing(6)," ").concat(t.spacing(6))}}),b=(0,s.ZP)("h3",{target:"etj6zya7"})(()=>({font:u.Rq.header2,color:u.O9.neutral0,...(0,d.Z)(4)})),S=(0,s.ZP)("span",{target:"etj6zya8"})(()=>({fontSize:u.Rq.bodyMedium,color:u.O9.neutral0})),w=(0,s.ZP)(l.ZP,{target:"etj6zya9"})(e=>{let{theme:t}=e;return{width:"fit-content",padding:t.spacing(3,2),marginBottom:t.spacing(2)}})},83449:function(e,t,r){"use strict";r.d(t,{GE:function(){return m},GR:function(){return b},H8:function(){return S},LU:function(){return g},Pe:function(){return p},W2:function(){return u},X:function(){return d},ZB:function(){return y},Z_:function(){return x},c$:function(){return f},h4:function(){return c},hx:function(){return w},md:function(){return h},r9:function(){return v}});var n=r(31396),i=r(56841),a=r(15386),o=r(83751);r(36715);var s=r(21953),l=r(82223);let u=(0,n.ZP)("div",{target:"eucyytm0"})(()=>({width:"100%"})),c=(0,n.ZP)("div",{target:"eucyytm1"})(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",marginTop:t.spacing(4),gap:t.spacing(8),["".concat(i.Lt,":first-of-type")]:{["".concat(i.PS)]:{display:"flex",alignItems:"center",["".concat(i.HF)]:{font:a.Rq.bodyMediumStrong}}},[t.breakpoints.up("md")]:{gap:t.spacing(10),["".concat(i.Lt,":first-of-type")]:{["".concat(i.Vs)]:{width:"inherit",right:"auto"}}}}}),d=(0,n.ZP)("div",{target:"eucyytm2"})(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",marginBottom:t.spacing(10)}}),h=(0,n.ZP)("div",{target:"eucyytm3"})(e=>{let{theme:t,hasPreview:r}=e;return{display:"flex",justifyContent:"space-between",alignItems:"center",padding:t.spacing(3,2,3,0),borderTop:"1px solid ".concat(a.O9.neutral10),gap:t.spacing(4),cursor:"default",['& [data-icon="'.concat(s.LM.PlayIconFilled,'"]')]:{dis
141play:"none"},...r&&{cursor:"pointer","&:hover":{[t.breakpoints.up("md")]:{backgroundColor:a.O9.neutral10,['& [data-icon="'.concat(s.LM.PlayIconFilled,'"]')]:{display:"flex"}}}},[t.breakpoints.up("md")]:{padding:t.spacing(4,4,4,2)}}}),p=(0,n.ZP)("div",{target:"eucyytm4"})(e=>{let{theme:t}=e;return{display:"flex",flex:1,gap:t.spacing(1.5),[t.breakpoints.up("md")]:{gap:t.spacing(3)}}}),f=(0,n.ZP)("div",{target:"eucyytm5"})(e=>{let{theme:t}=e;return{display:"flex",justifyContent:"center",alignItems:"center",font:a.Rq.bodySmallStrong,color:a.O9.neutral40,minWidth:42,[t.breakpoints.up("md")]:{minWidth:44}}}),m=(0,n.ZP)(f,{target:"eucyytm6"})(e=>{let{theme:t}=e;return{minWidth:100,[t.breakpoints.up("md")]:{minWidth:120}}}),g=(0,n.ZP)("div",{target:"eucyytm7"})(e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",gap:t.spacing(3),[t.breakpoints.up("md")]:{gap:t.spacing(4)},[t.breakpoints.only("xs")]:{marginRight:t.spacing(10)}}}),v=(0,n.ZP)("div",{target:"eucyytm8"})({display:"flex",flexDirection:"column"}),y=(0,n.ZP)("h3",{target:"eucyytm9"})({font:a.Rq.header3,...(0,o.Z)(1)}),b=(0,n.ZP)("h5",{target:"eucyytm10"})(e=>{let{theme:t}=e;return{font:a.Rq.header5,color:a.O9.neutral80,...(0,o.Z)(1),paddingRight:t.spacing(2)}}),S=(0,n.ZP)("span",{target:"eucyytm11"})({font:a.Rq.bodyMedium,color:a.O9.neutral60,...(0,o.Z)(1)}),w=(0,n.ZP)("div",{target:"eucyytm12"})(e=>{let{theme:t}=e;return{width:48,height:48,borderRadius:4,"> span":{width:48,height:48},[t.breakpoints.up("md")]:{width:68,height:68,"> span":{width:68,height:68}}}}),x=(0,n.ZP)(l.Z,{target:"eucyytm14"})(e=>{let{theme:t}=e;return{width:"unset",["".concat(i.PS)]:{backgroundColor:"transparent",border:"none",svg:{color:a.O9.neutral40,top:12,left:12}},["".concat(i.HF)]:{display:"flex",alignItems:"center"},["".concat(i.Vs)]:{top:0,marginTop:t.spacing(1),["".concat(i.HF)]:{color:a.O9.neutral80}}}})},12645:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(31396),i=r(21953),a=r(15386);let o=(0,n.ZP)("div",{shouldForwardProp:e=>"aspectRatio"!==e,target:"e1os7fn70"})(e=>{let{aspectRatio:t}=e;return{width:"100%",position:"relative",backgroundColor:a.O9.skeleton,paddingBottom:i.ri[t],height:0,img:{objectFit:"cover"}}});var s=o},56841:function(e,t,r){"use strict";r.d(t,{HF:function(){return u},Lt:function(){return c},Mv:function(){return d},PS:function(){return o},Vs:function(){return s},hP:function(){return l},sV:function(){return h}});var n=r(31396),i=r(15386),a=r(24520);let o=(0,n.ZP)("button",{target:"e10ne0hv0"})(e=>{let{theme:t,isOpen:r,isDisabled:n}=e;return{font:i.Rq.bodyMediumStrong,position:"relative",width:"100%",padding:t.spacing(2,12,2,4),height:48,backgroundColor:i.O9.neutral0,color:i.O9.neutral90,border:"2px solid ".concat(i.O9.neutral10),borderRadius:7,cursor:"pointer",boxShadow:"none",opacity:1,overflow:"hidden",textAlign:"left",display:"flex",alignItems:"center",[t.breakpoints.up("md")]:{width:236},[t.breakpoints.up("lg")]:{width:300},svg:{position:"absolute",pointerEvents:"none",top:10,right:14,transform:r?"rotate(90deg)":"rotate(-90deg)",color:i.O9.neutral50},...n&&{opacity:.5,cursor:"default"}}}),s=(0,n.ZP)("div",{target:"e10ne0hv1"})(e=>{let{theme:t}=e;return{width:"100%",minWidth:236,right:0,maxWidth:"calc(100vw - 40px)",padding:t.spacing(1),backgroundColor:i.O9.neutral10,borderRadius:4,position:"absolute",zIndex:a.W.dropdown,marginTop:t.spacing(2),display:"flex",flexDirection:"column"}}),l=(0,n.ZP)("button",{target:"e10ne0hv2"})(e=>{let{theme:t,isDisabled:r,isActive:n}=e;return{position:"relative",cursor:r?"default":"pointer",opacity:r?.5:1,border:"none",background:"none",display:"flex",gap:t.spacing(2),borderRadius:4,font:n?i.Rq.bodyMediumStrong:i.Rq.bodyMedium,padding:t.spacing(1.5,3,1.5,4),color:i.O9.neutral100,textAlign:"left","&:hover":{backgroundColor:i.O9.neutral20},"& > div":{height:24}}}),u=(0,n.ZP)("span",{target:"e10ne0hv3"})({display:"inline-block",maxWidth:"90%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),c=(0,n.ZP)("div",{target:"e10ne0hv4"})(e=>{let{isIconButton:t,theme:r}=e;return{display:"inline-block",position:"relative",width:"fit-content",[r.breakpoints.down("md")]:{width:"100%"},...t&&{textAlign:"right",minWidth:0,["".concat(o)]:{width:40,height:40,borderRadius:40,padding:0,textAlign:"center",backgroundColor:i.O9.neutral10,borderColor:i.O9.neutral10,opacity:1,svg:{transform:"rotate(0deg)",color:i.O9.neutral80,top:6,left:6}}}}}),d=(0,n.ZP)("span",{target:"e10ne0hv5"}
141)({"&:not(:focus):not(:active)":{clip:"rect(0px, 0px, 0,x, 0px)",clipPath:"inset(100%)",height:1,overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:1}}),h=(0,n.ZP)("div",{target:"e10ne0hv6"})(e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",justifyContent:"center",gap:t.spacing(2)}})},82223:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(35944),i=r(67294),a=r(19822),o=r(12046),s=r(56841);let l=e=>{let{iconButton:t,dropdownValue:r}=e;if(t){if(t.text)return(0,n.BX)(s.sV,{children:[t.icon?(0,n.tZ)(a.ZP,{icon:t.icon}):null,(0,n.tZ)("span",{children:t.text})]});if(t.icon)return(0,n.BX)(n.HY,{children:[(0,n.tZ)(a.ZP,{icon:t.icon}),t.hiddenText?(0,n.tZ)(s.Mv,{children:t.hiddenText}):null]})}return(0,n.BX)(n.HY,{children:[(0,n.tZ)(s.HF,{children:r.label}),(0,n.tZ)(a.wI,{})]})};var u=e=>{let{options:t,defaultValue:r,iconButton:u,callback:c,showActiveIcon:d,onButtonClick:h,className:p,buttonClassName:f}=e,m=i.useRef(null),g=u?!t.length:t.length<=1,{isOpen:v,setIsOpen:y}=(0,o.Z)(m),[b,S]=(0,i.useState)(()=>r&&t.find(e=>e.value===r)||t[0]||{value:"",label:""}),w=e=>{y(!1),S(e),null==c||c(e.value)};return(0,n.BX)(s.Lt,{isIconButton:!!u,ref:m,className:p,children:[(0,n.tZ)(s.PS,{type:"button",onClick:()=>{h&&h(),g||y(!v)},isOpen:v,isDisabled:g,className:f,children:(0,n.tZ)(l,{dropdownValue:b,iconButton:u})}),v?(0,n.tZ)(s.Vs,{children:t.map(e=>(0,n.BX)(s.hP,{role:"switch","aria-checked":e.value===b.value,isActive:!!r&&e.value===b.value&&!e.skipActiveStyle,isDisabled:!!e.isDisabled,onClick:()=>!e.isDisabled&&w(e),children:[e.startIcon?(0,n.tZ)(a.ZP,{icon:e.startIcon}):null,(0,n.tZ)(s.HF,{children:e.label}),d&&e.value===b.value&&!e.skipActiveStyle?(0,n.tZ)(a.nQ,{}):null]},e.value))}):null]})}},87611:function(e,t,r){"use strict";var n=r(67294),i=r(30656);class a extends n.Component{static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){(0,i.Nd)(e,{errorInfo:"".concat(t)}),this.setState({hasError:!0,errorInfo:t})}render(){if(this.state.hasError&&this.props.onError){let{hasError:e,errorInfo:t}=this.state;return this.props.onError.call(this,e,t)}return this.props.children}constructor(e){super(e),this.state={hasError:!1,errorInfo:null}}}t.Z=a},58893:function(e,t,r){"use strict";r.d(t,{Z:function(){return w}});var n=r(35944),i=r(67294),a=r(41664),o=r.n(a),s=r(12003),l=r(53390),u=r.n(l),c=r(28562),d=r(21953),h=e=>{let{seriesSlug:t,mediaId:r,type:n}=null!=e?e:{};if(t&&r&&n)return"/".concat(d.e3,"/").concat(t,"/").concat(r,"/").concat(n.toLowerCase())},p=r(28994),f=r(99234),m=(e,t)=>{if(!e||"error"===e.status)return d.k9.Error;let{type:r,price:n,publishStartDate:i}=e,a=n?" €".concat(n.toFixed(2)):"";if(!t)return r===p.DD.Live?"".concat(d.k9.LiveNotEntitled).concat(a):"".concat(d.k9.AfterLiveNotEntitled).concat(a);let o=!!i&&(0,f.Iv)(String(new Date(i).getTime()));return r===p.DD.Live&&i?o?d.k9.EntitledDuringLive:d.k9.EntitledBefore.replace("{day/time}",(0,f.Xu)(i,{showFullWeekday:!0}).replace(",","").replace(/^./,e=>e.toLowerCase())):d.k9.EntitledAfterLive},g=r(78114),v=r(28848),y=r(66488),b=r(14775);let S=(0,s.j)("min-w-[150px]",{variants:{appearance:{header:"text-neutral-100",series:"text-neutral-100",player:"text-neutral-100",highlight:"text-neutral-0 bg-transparent border-2 border-neutral-0 hover:bg-transparent active:bg-transparent hover:text-neutral-0 active:text-neutral-0",ticker:"bg-neutral-100 hover:bg-neutral-100 active:bg-neutral-100 text-neutral-0 hover:text-neutral-0 active:text-neutral-0 min-w-[86px] md:min-w-[150px] xs:h-7 md:h-10"},hasYellowBackground:{true:"bg-miscellaneous-01 hover:bg-miscellaneous-02 active:bg-miscellaneous-03",false:""}}});var w=e=>{let{mediaId:t,appearance:r,className:a}=e,{video:s,isEntitled:l,isLoading:p,isError:f}=(0,c.Z)({mediaId:t}),[w,x]=(0,i.useMemo)(()=>[h(s),m(s,l)],[s,l]),E=r===d.gJ.Ticker,T=(0,v.Z)(),k=T===d.r1.Xs||T===d.r1.Sm,C=E&&k?d.SY:x,_=(()=>{if(!E)return l?d.LM.PlayIconFilled:d.LM.LockFilled})();if(p)return(0,n.tZ)(b.ZP,{startIcon:d.LM.Spinner,size:E?b.qE.Medium:b.qE.Large,className:(0,y.cn)(S({appearance:r}),a)});if(!w)return null;let P=!l&&[d.gJ.Header,d.gJ.Series,d.gJ.Player].includes(r);return(0,n.tZ)(b.ZP,{component:o(),href:w,disabled:(null==s?void 0:s.status)==="error"||f,onClick:e=>{s&&u().link({event_category:g.$1.CONTENT_LISTING,event_name:l?g.SP.CONTENT_LISTING_PLAY:g.SP.CONTENT_LISTING_CLICK,event_label:"pvx_".concat(r,"_promo"),content_datecreated:s.createdAt,content_datepublished:s.publishStartDate,content_id:s.mediaId,content_language:d.qH,content_datemodified:s.updatedAt,content_name:s.title,content_type:g.jw.DETAIL,media_name:s.title,media_id:s.mediaId}),l||(e.preventDefault(),window.eventBus.dispatch("openPreBuyModal",{open:!0,mediaId:t}))},startIcon:_,size:E?b.qE.Medium:b.qE.Large,textClassName:(0,y.cn)(E&&k&&"[&]:!font-button-small"),className:(0,y.cn)(S({appearance:r,hasYellowBackgroun
141d:P}),a),children:C})}},37082:function(e,t,r){"use strict";var n=r(35944);r(67294);var i=r(53390),a=r.n(i),o=r(22405),s=r(57636),l=r(64157),u=r(8137),c=r(76663),d=r(21953),h=r(78114),p=r(14775),f=r(77194);let m=e=>{a().link({event_name:h.SP.CONTENT_LISTING_MORE,event_category:h.$1.CONTENT_LISTING,event_label:h.KX.MORE_RESULTS}),e()};t.Z=e=>{let{title:t,searchValue:r,items:i,isFetchingNextPage:a,hasNextPage:h,isLoading:g,limit:v,fetchNextPage:y,trackClick:b}=e;return(0,n.BX)(s.Z,{className:"mt-0 md:mt-0 mb-16",children:[(0,n.tZ)(o.ZP,{size:r?o.Ry.Small:o.Ry.Large,children:r?(0,n.BX)(n.HY,{children:[t," ",(0,n.BX)("b",{children:["‘",r,"’"]})]}):t}),(0,n.BX)(f.Z,{children:[null==i?void 0:i.map((e,r)=>(0,n.tZ)(l.Z,{link:e,position:r+1,sectionTitle:t,showCategory:!0,variant:c.f.SearchResults,onClick:b},e.id)),a&&(0,n.tZ)(u.Z,{count:v,showCategory:!0,variant:c.f.SearchResults})]}),h&&(0,n.tZ)(p.ZP,{fullWidth:!0,disabled:g||a,size:p.qE.Large,onClick:()=>m(y),children:d.p9})]})}},19192:function(e,t,r){"use strict";r.d(t,{Uk:function(){return m},sR:function(){return i}});var n,i,a=r(35944),o=r(67294),s=r(53390),l=r.n(s),u=r(63254),c=r(78114),d=r(70103),h=r(13989),p=r(17894);let f="Alles";(n=i||(i={})).All="",n.Articles="artikelen",n.Videos="videos",n.Episodes="afleveringen",n.Series="programmas",n.Films="films",n.Clips="clips";let m=[{slug:i.All,label:f,contentType:""},{slug:i.Articles,label:"Artikelen",contentType:"article"},{slug:i.Videos,label:"Video's",contentType:"video"}],g=(e,t)=>{(0,h.Z)(e,t),l().link({event_name:c.SP.MENU_CLICK,event_category:c.$1.MENU,event_label:"".concat(c.KX.SEARCH," | ").concat(t||f)})};t.ZP=e=>{let{shouldAnimateTabBar:t,searchTermHasResults:r,availableTabs:n}=e,{searchValue:i,tabValue:s}=(0,u.Z)(),{searchModal:l}=(0,d._w)(),c=(0,o.useMemo)(()=>l.enableKijkSearch?n:m,[l,n]);return(0,a.tZ)(p.n,{items:r&&null!=c?c:[],animate:t,renderItem:e=>{let{slug:t,label:r}=e;return(0,a.tZ)(p._,{title:r,isActive:s===t,href:void 0,onClick:()=>g(i,t)})}})}},63254:function(e,t,r){"use strict";var n=r(11163),i=r(21953);t.Z=()=>{let{query:e}=(0,n.useRouter)(),t=e[i.az.SearchKeyword]||"",r=e[i.az.SearchTab]||"",a=void 0!==e[i.az.SearchKeyword];return{searchValue:t,tabValue:r,isModalOpen:a}}},18206:function(e,t,r){"use strict";r.d(t,{Z:function(){return E}});var n=r(35944),i=r(67294),a=r(39332),o=r(12003),s=r(14775),l=r(21953),u=r(70103),c=r(66488),d=e=>/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test(e),h=r(30656),p=r(53390),f=r.n(p),m=r(19822),g=r(78114);let v=e=>{f().link({event_category:e?g.$1.CONTENT_LISTING:g.$1.FOOTER,event_name:e?g.SP.CONTENT_LISTING_CLICK:g.SP.FOOTER_CLICK,event_label:g.KX.NEWSLETTER_SUBSCRIBE})};var y=e=>{let{onSubmit:t,email:r,onEmailChange:i,errorMessage:a,isLoading:o,isEmbedded:u,subscribeButtonVariant:d}=e;return(0,n.BX)("form",{className:(0,c.cn)("grid gap-6 w-full max-w-full","md:gap-0 md:grid-cols-[1fr_140px] md:w-122 lg:w-154","md:[grid-template-areas:'input_button'_'error_error']"),onSubmit:t,noValidate:!0,children:[(0,n.tZ)("input",{className:(0,c.cn)("w-full py-3.5 px-6 h-13","font-body-medium text-neutral-100 outline-none","placeholder:text-neutral-40 placeholder:opacity-100","rounded-button md:[grid-area:input] md:rounded-tr-none md:rounded-br-none",u?"bg-neutral-0":"bg-subscription-input",a?"border-2 border-danger-100":"border-none"),type:"email",required:!0,name:"email",autoComplete:"email","aria-label":"email",value:r,onChange:i,placeholder:l.Im}),a&&(0,n.tZ)("div",{className:(0,c.cn)("text-danger-100 font-body-small text-center","-mt-4 md:[grid-area:error] md:mt-2.5"),children:a}),(0,n.tZ)(s.ZP,{className:"w-full md:w-35 md:[grid-area:button] md:rounded-tl-none md:rounded-bl-none",type:"submit",onClick:()=>v(u),variant:d,isNonInteractive:o,children:o?(0,n.tZ)(m.L4,{}):l.kD})]})},b=r(12875);let S=e=>{let{subscriptionText:t,fallbackLegalText:r}=e,{enabled:i,variables:a}=(0,b.SS)(b.O5.SubscriptionText),o=i&&a;return(0,n.BX)("div",{className:(0,c.cn)("font-body-extra-small [&_p]:text-neutral-50 [&_a]:cursor-pointer","[&_p+p]:mt-3 md:w-101.5 md:text-center mt-2 md:-mt-2","[&_a]:text-subscription-legal"),children:[!
141o&&(0,n.tZ)("p",{children:t}),(0,n.tZ)("p",{dangerouslySetInnerHTML:{__html:o?a.legalText:r}})]})},w=e=>{let{title:t,subtitle:r,isEmbedded:i}=e;return(0,n.BX)("div",{className:"flex flex-col gap-2 max-w-full md:gap-4 md:w-162.5 lg:w-212.5",children:[(0,n.tZ)("h2",{className:(0,c.cn)(!i&&"text-subscription-title","font-header-2 md:text-center"),children:t}),(0,n.tZ)("div",{className:(0,c.cn)(!i&&"text-subscription-subtitle","font-body-medium md:text-center"),children:r})]})},x=(0,o.j)("flex flex-col gap-6 md:items-center md:gap-10",{variants:{variant:{embedded:(0,c.cn)("max-w-full pt-8 px-4","md:pt-12 md:pb-8 md:px-10 mb-0","bg-neutral-10 border-b-0 rounded-lg"),footer:(0,c.cn)("pb-10 mb-10 bg-[unset] border-b rounded-none border-subscription")},subscriptionSuccess:{true:"",false:""}},compoundVariants:[{variant:"embedded",subscriptionSuccess:!1,class:"pb-6"},{variant:"embedded",subscriptionSuccess:!0,class:"pb-10 md:pb-12"},{variant:"footer",subscriptionSuccess:!0,class:"min-h-99 md:min-h-91"}],defaultVariants:{variant:"footer",subscriptionSuccess:!1}});var E=e=>{var t;let{isEmbedded:r}=e,[o,c]=(0,i.useState)(""),[p,f]=(0,i.useState)(!1),[m,g]=(0,i.useState)(null),[v,b]=(0,i.useState)(!1),{subscription:E,outletName:T,designTokens:k}=(0,u._w)(),C=(0,a.usePathname)();if((0,i.useEffect)(()=>{b(!1),c("")},[C]),!E.subscriptionEnabled)return null;let _=v?l.J1:E.newsletterTitle,[P,A,N]=l.IM,I=v?(0,n.BX)(n.HY,{children:[P," ",(0,n.BX)("span",{className:"text-primary-100",children:[" ",o,","]})," ",A," ",T," ",N]}):E.newsletterSubtitle;return(0,n.BX)("div",{className:x({variant:r?"embedded":"footer",subscriptionSuccess:v}),children:[(0,n.tZ)(w,{title:_,subtitle:I,isEmbedded:r}),!v&&(0,n.BX)(n.HY,{children:[(0,n.tZ)(y,{onSubmit:e=>{e.preventDefault();let t=d(o);if(!t){g(l.U0.EMAIL_INVALID);return}f(!0),fetch(E.subscriptionApiEndpoint,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:o,subscription_text:E.subscriptionText,extras:["origin:website_subscribe"]})}).then(e=>{if(e.ok)b(!0);else throw Error("Error while subscribing to the newsletter")}).catch(e=>{(0,h.Nd)(Error(String(e))),b(!1),g(l.U0.FETCH_ERROR)}).finally(()=>f(!1))},email:o,onEmailChange:e=>{m&&d(e.target.value)&&g(null),c(e.target.value)},errorMessage:m,isLoading:p,isEmbedded:r,subscribeButtonVariant:(null===(t=k.subscription)||void 0===t?void 0:t.isSecondaryButtonVariant)?s.$e.Secondary:s.$e.Primary}),(0,n.tZ)(S,{subscriptionText:E.subscriptionText,fallbackLegalText:E.fallbackLegalText})]})]})}},3239:function(e,t,r){"use strict";var n=r(35944),i=r(66488);t.Z=e=>{let{className:t,children:r,...a}=e;return(0,n.tZ)("div",{...a,className:(0,i.cn)("relative flex items-center justify-between","h-full w-full","max-w-xl mx-auto","px-0 md:px-8 lg:px-24","lg:justify-start lg:gap-6",t),children:r})}},61304:function(e,t,r){"use strict";r.d(t,{x:function(){return o}});var n=r(35944),i=r(67294),a=r(12875);let o="AdSlot";t.Z=e=>{let{id:t}=e;return(0,i.useEffect)(()=>{if(!a.default.isEnabled(a.O5.DisplayAds))return;let e=null,r=()=>{window.loadAdvertSlot?window.loadAdvertSlot(t):e=setTimeout(r,100)},n=window.eventBus.on("triggerAd",r);return(null==n?void 0:n.hasInitialAds)&&r(),()=>{e&&clearTimeout(e),window.eventBus.off("triggerAd",r)}},[t]),(0,n.tZ)("div",{"data-testid":o,className:"shrink-0",children:(0,n.tZ)("div",{id:t})})}},74465:function(e,t,r){"use strict";r.d(t,{Z:function(){return n.Z}});var n=r(61304)},23270:function(e,t,r){"use strict";r.d(t,{Z:function(){return tX}});var n,i,a,o=r(35944),s=r(28994),l=r(85945),u=r(36492),c=r(11163),d=r(67294),h=r(5152),p=r.n(h),f=r(18357),m=r(53390),g=r.n(m),v=r(41664),y=r.n(v),b=r(14775),S=r(66488),w=r(33209),x=r(28848),E=r(78114),T=r(86720),k=r(21953);let C={[k.r1.Xs]:3,[k.r1.Sm]:2,[k.r1.Md]:3,[k.r1.Lg]:4,[k.r1.Xl]:4};var _=r(25675),P=r.n(_),A=r(9315),N=r(99234),I=e=>{var t,r;let{video:n,index:i,onDetailsClick:a}=e,s=null!==(t=n.title)&&void 0!==t?t:"".concat(n.seriesTitle," - ").concat(n.seasonEpisodeLabel),l=(0,d.useMemo)(()=>null!==(r=(0,N.F3)(n))&&void 0!==r?r:"",[n]);return(0,o.BX)("div",{className:"flex flex-col relative rounded-lg border-2 border-solid border-neutral-10",children:[(0,o.BX)("div",{className:(0,S.cn)("flex flex-col gap-2 pt-0 px-0","max-sm:grid max-sm:grid-cols-[auto_1fr] max-sm:gap-x-3 max-sm:gap-y-2 max-sm:pt-3.5 max-sm:px-3.5"),children:[(0,o.BX)("div",{className:(0,S.cn)("relative overflow-hidden","max-sm:rounded-lg max-sm:flex max-sm:items-center max-sm:justify-center max-sm:w-28.75 max-sm:h-19","sm:aspect-video sm:-m-0.5 sm:w-[calc(100%+4px)] sm:rou
141nded-t-lg"),children:[(0,o.tZ)("span",{className:(0,S.cn)("absolute top-1.5 left-1.5 z-10","flex items-center gap-0.5 h-5.5 px-1.5 rounded-full","bg-secondary-100 text-neutral-0 font-button-small",!l&&"invisible"),children:l}),n.imageUrl&&(0,o.tZ)(P(),{fill:!0,className:"object-cover",src:n.imageUrl,alt:s,sizes:"(max-width: 600px) 230px, (max-width: 900px) 50vw, (max-width: 1200px) 33vw, 25vw"}),!!n.duration&&!n.isLive&&(0,o.tZ)("div",{className:(0,S.cn)("absolute bottom-3.5 right-3.5 max-sm:bottom-2 max-sm:right-2","flex items-center gap-0.5 h-5.5 px-1.5 rounded-full","bg-(--opacity-02) text-neutral-0"),children:(0,o.tZ)("span",{className:"font-button-small trim-text-box relative",children:(0,A.H)(n.duration)})})]}),(0,o.tZ)("span",{className:(0,S.cn)("uppercase line-clamp-1 text-ellipsis max-sm:text-nowrap font-category","text-primary-100 sm:px-3.5 sm:mt-1.5","max-sm:row-start-2 max-sm:col-span-2"),children:n.seriesTitle}),(0,o.tZ)("h6",{className:(0,S.cn)("h-fit overflow-hidden text-ellipsis","text-neutral-80 line-clamp-4 text-wrap font-header-6","max-sm:row-start-1 max-sm:col-start-2","sm:px-3.5"),children:s})]}),(0,o.BX)("div",{className:(0,S.cn)("flex flex-col grow gap-6 pt-2 pb-5.5 px-3.5 rounded-b-lg","max-sm:pb-3.5","sm:items-end"),children:[(0,o.BX)("div",{className:"flex flex-col grow gap-2 w-full",children:[(0,o.tZ)("p",{className:(0,S.cn)("overflow-hidden text-ellipsis","text-neutral-60 line-clamp-4 max-md:line-clamp-3 font-body-small"),children:n.description}),(0,o.BX)("div",{className:"flex items-start",children:[(0,o.tZ)("span",{className:"text-neutral-40 overflow-hidden text-ellipsis font-body-extra-small-strong",children:n.seasonEpisodeLabel}),n.airedSort&&(0,o.BX)("span",{className:"text-neutral-40 overflow-hidden text-ellipsis font-body-extra-small",children:["\xa0","•","\xa0",(0,N.Xu)(n.airedSort,{showDay:!0})]})]})]}),(0,o.tZ)("div",{children:(0,o.tZ)(b.ZP,{variant:b.$e.Subtle,size:b.qE.Medium,className:"max-w-75 px-2.5 border-neutral-60 text-neutral-80",onClick:()=>{g().link({event_category:E.$1.VIDEO_DETAILS,event_name:E.SP.VIDEO_DETAILS_CLICK,event_label:n.seriesTitle,event_value:i+1}),null==a||a(n,i)},children:"Details"})})]})]})},R=()=>(0,o.BX)("div",{"data-testid":"video-card-skeleton",className:"animate-pulse rounded-lg border-2 border-solid border-neutral-10",children:[(0,o.tZ)("div",{className:"aspect-video bg-skeleton"}),(0,o.tZ)("div",{className:"min-h-72 p-3",children:(0,o.tZ)("div",{className:"h-6 w-full bg-skeleton rounded-lg"})})]});let O=p()(()=>r.e(4421).then(r.bind(r,44421)),{loadableGenerated:{webpack:()=>[44421]}});var L=e=>{var t;let{collectionTitle:r,infinite:n,layout:i,endpoint:a,showAllUrl:s,showFilter:l,onVideoDetailsClick:u,className:c,hideEmptyState:h,hideLoadMore:p}=e,{ref:m,inView:v}=(0,f.YD)(),k=(0,x.Z)(),_="compact"===i&&k?C[k]:12,[P,A]=(0,d.useState)(a),N=["partner-video-listing",P,_],{items:L,data:D,isLoading:M,fetchNextPage:Z,hasNextPage:F,isFetchingNextPage:j}=(0,w.Z)({queryKey:N,endpoint:P,limit:_,collectionName:r,enabled:"compact"!==i||!!k,enhanceItem:e=>({...e,airedDateTime:e.airedDate,availableDate:e.availableDate?String(new Date(e.availableDate).getTime()):void 0,expirationDate:e.expirationDate?String(new Date(e.expirationDate).getTime()):void 0})});return(0,d.useEffect)(()=>{v&&Z()},[v,Z]),(0,o.BX)("div",{className:(0,S.cn)("my-8 md:my-10",c),children:[l&&(0,o.tZ)(O,{onEndpointChange:A,totalResults:null==D?void 0:null===(t=D.pages[0])||void 0===t?void 0:t.totalResults}),r&&!l&&(0,o.BX)("div",{className:"flex justify-between items-end",children:[(0,o.tZ)("h3",{className:(0,S.cn)("font-header-3",M&&"line-clamp-2 select-none rounded-md bg-zinc-300 text-zinc-300 animate-pulse"),children:r}),s&&!M&&(0,o.tZ)(y(),{className:"font-button-medium text-primary-100 align-text-bottom h-fit",href:s,children:T.Z.partnerPortal.showAll})]}),(0,o.BX)("div",{className:(0,S.cn)("grid place-items-center gap-4","compact"!==i&&"xs:max-md:pt-6 md:max-lg:pt-8 pt-10","compact"===i&&"xs:max-md:pt-4 pt-6"),children:[(0,o.BX)("div",{className:(0,S.cn)("grid lg:grid-cols-4 md:grid-cols-3 sm:grid-cols-2 xs:grid-cols-1 xs:gap-2 sm:gap-4 w-full",l&&"min-h-112.5"),children:[null==L?void 0:L.map((e,t)=>(0,o.tZ)(I,{video:e,index:t,onDetailsClick:u},e.objectID)),(M||j)&&Array.from({length:_}).map((e,t)=>(0,o.tZ)(R,{},"skeleton-".concat(String(t)))),!(null==L?void 0:L.length)&&!M&&!h&&(0,o.tZ)("div",{className:"col-span-full",children:T.Z.partnerPortal.noVideoResults}),!!n&&!!F&&!j&&!M&&(0,o.tZ)("div",{ref:m,className:"min-h-px col-span-full"})]}),F&&!n&&!p&&(0,o.tZ)(b.ZP,{variant:b.$e.Secondary,className:"max-w-75",size:b.qE.Medium,disabled:j,fullWidth:!0,onClick:()=>{"compact"===i&&g().link({event_category:E.$1.CONTENT_LISTING,event_name:E.SP.CONTENT_LISTING_MORE,event_label:r}),Z()},children:T.Z.partnerPortal.showMore})]})]})},D=r(70103),M=r(47488),Z=r(30656),F=r(84441),j=r(19822),B=r(48728),U=r(24390),$=e=>{let{ariaLabelledBy:t,closeAriaLabel:r,children:n,dataTestId:i,onClose:a,className:s}=e,l=(0,d.useRef)(null);return(0,d.useEffect)(()=>{var e;let t=document.documentElement.style.overflow,r=document.body.style.overflow;return document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden",null===(e=l.current)||void 0===e||e.showModal(),()=>{document.documentElement.style.overflow=t,document.body.style.overflow=r}},[]),(0,o.BX)("dialog",{ref:l,className:(0,S.cn)("flex flex-col max-h-full mx-auto overflow-hidden","md:rounded-lg md:h-auto backdrop:bg-overlay","md:inset-10 xl:inset-12",s),style:{maxWidth:"1344px"},"aria-labelledby":t,"data-testid":i,onCancel:a,onClick:e=>{e.target===e.currentTarget&&a()},children:[(0,o.tZ)("div",{className:(0,S.cn)("flex shrink-0 items-center justify-end","md:h-10 md:py-0 xl:h-12"),children:(0,o.tZ)(U.hU,{"aria-label":r,icon:k.LM.Cross,variant:b.$e.Secondary,className:(0,S.cn)("bg-icon-button-neutral text-neutral-0 m-2","size-7 xl:size-10 md:mb-1"),onClick:a})}),n]})};let V={token:"",width:"560",height:"315",autoplay:!0,isAspectRatioLocked:!0},z="embed_preferences";(n=i||(i={})).Genre="genre",n.SeriesSlug="seriesSlug",n.Type="type",n.AiredStation="airedStation";let H={CLIP:"Fragment",EPISODE:"Aflevering"},G={NET5:"Net5",SBS6:"SBS6",SBS9:"SBS9",Veronica:"Veronica"};var q=e=>{var t,r;let{genres:n,airedStation:a,type:s,seriesTitle:l,seriesSlug:u,onTagClick:c}=e,d=[];return(l&&u&&d.push({label:l,filterKey:i.SeriesSlug,filterValue:u}),d.push({label:null!==(t=H[s])&&void 0!==t?t:s,filterKey:i.Type,filterValue:s}),a&&d.push({label:null!==(r=G[a])&&void 0!==r?r:a,filterKey:i.AiredStation,filterValue:a}),d.push(...n.map(e=>({label:e,filterKey:i.Genre,filterValue:e}))),d.length)?(0,o.BX)("div",{className:"mt-6",children:[(0,o.tZ)("h3",{className:"font-header-6 text-neutral-90",children:"Tags"}),(0,o.tZ)("div",{className:"mt-3 flex flex-wrap gap-2",children:d.map(e=>(0,o.tZ)(y(),{href:"/catalog?".concat(e.filterKey,"=").concat(encodeURIComponent(e.filterValue)),onClick:c,className:(0,S.cn)("rounded-full bg-neutral-10 px-1.5 py-px","font-body-small-strong text-neutral-70","hover:bg-neutral-20 focus-visible:outline-2 focus-visible:outline-offset-2","focus-visible:outline-primary-100"),children:e.label},"".concat(e.filterKey,"-").concat(e.filterValue)))})]}):null},K=e=>{let{video:t,videoTitle:r,airDateLabel:n,publicationRows:i,onCopy:a}=e;return(0,o.BX)("div",{className:(0,S.cn)("flex min-h-0 flex-col overflow-y-auto","rounded-md border-2 border-neutral-10 px-4 py-3","mx-4 md:mx-0 lg:absolute lg:inset-0"),"data-testid":"partner-video-modal-aside",children:[(0,o.tZ)("h2",{id:"partner-video-modal-title",className:"font-header-4",children:r}),n&&(0,o.BX)("p",{className:"font-body-small text-neutral-40 mt-4",children:[T.Z.partnerPortal.broadcast,": ",n]}),(0,o.tZ)("p",{className:"font-body-small mt-1",children:t.description}
141),(0,o.tZ)(q,{genres:t.genre,airedStation:t.airedStation,type:t.type,seriesTitle:t.seriesTitle,seriesSlug:t.seriesSlug}),(0,o.BX)("div",{className:"mt-6",children:[(0,o.tZ)("h3",{className:"font-header-6 text-neutral-90",children:"Video ID"}),(0,o.BX)("div",{className:(0,S.cn)("mt-2 flex max-w-82.25 md:max-w-93.25 overflow-hidden","rounded-full bg-neutral-10"),children:[(0,o.tZ)("span",{className:(0,S.cn)("min-w-0 flex-1 truncate pl-6 pr-4 py-3","font-body-medium text-neutral-80"),children:t.objectID}),(0,o.tZ)(b.ZP,{variant:b.$e.Secondary,size:b.qE.Large,startIcon:k.LM.Copy,className:"rounded-l-none",onClick:()=>a(t.objectID,T.Z.partnerPortal.copyVideoId),children:T.Z.partnerPortal.copy})]})]}),!!Object.values(i).length&&(0,o.BX)("div",{className:"flex flex-col gap-1 mt-6",children:[(0,o.tZ)("h3",{className:"font-header-6",children:T.Z.partnerPortal.publicInformation}),(0,o.tZ)("ul",{className:(0,S.cn)("list-inside list-disc pl-2","font-body-small text-neutral-70"),children:Object.entries(i).map(e=>{let[t,r]=e;return(0,o.BX)("li",{children:[t,": ",r]},t)})})]}),(0,o.tZ)("p",{className:"font-body-small text-neutral-40 mt-3",children:T.Z.partnerPortal.expirationDateDisclaimer})]})},W=r(16928),X=r(41835),Y=e=>{let{label:t,checked:r,onChange:n,checkedIcon:i,uncheckedIcon:a,iconOnly:s,tooltip:l,className:u}=e;return(0,o.BX)("label",{className:(0,S.cn)("group/checkbox relative flex cursor-pointer items-center gap-3","font-body-small-strong text-neutral-90",s&&"w-6 justify-center",u),children:[(0,o.tZ)("input",{"aria-label":t,type:"checkbox",className:(0,S.cn)("cursor-pointer",s?"sr-only":"h-4.5 w-4.5 accent-neutral-40 md:ml-5.5"),checked:r,onChange:n}),!!(i&&a)&&(0,o.tZ)(j.ZP,{icon:r?i:a,size:k.Jh.ExtraLarge}),!s&&t,!!l&&(0,o.tZ)("span",{style:{backgroundColor:"#000",color:"#fff"},className:(0,S.cn)("pointer-events-none absolute z-top-bar","bottom-full left-1/2 mb-1.5 -translate-x-1/2","rounded-md px-2 py-1","whitespace-pre-line text-center font-body-small","opacity-0 transition-opacity group-hover/checkbox:opacity-100"),children:l})]})},J=e=>{let{embedSnippet:t,embedSettings:r,isAspectRatioLocked:n,onInputChange:i,onAutoplayChange:a,onAspectRatioLockChange:s,onReset:l,onCopy:u}=e;return(0,o.BX)("div",{className:"flex w-full flex-col",children:[(0,o.BX)("div",{className:"flex flex-wrap md:flex-nowrap items-center gap-4",children:[(0,o.tZ)(X.Z,{label:"Token",className:"w-full md:max-w-55 lg:max-w-full xl:w-55",inputClassName:"w-full",value:r.token,onChange:i("token")}),(0,o.BX)("div",{className:"flex shrink-0 items-center gap-4",children:[(0,o.tZ)(X.Z,{label:"Width",inputMode:"numeric",pattern:"[0-9]*",inputClassName:"w-20 md:w-25",value:r.width,onChange:i("width")}),(0,o.tZ)(Y,{label:T.Z.partnerPortal.lockAspectRatio,checked:n,onChange:s,checkedIcon:k.LM.LockFilled,uncheckedIcon:k.LM.Lock,tooltip:n?T.Z.partnerPortal.ratioLocked:T.Z.partnerPortal.ratioUnlocked,iconOnly:!0}),(0,o.tZ)(X.Z,{label:"Height",inputMode:"numeric",pattern:"[0-9]*",inputClassName:"w-20 md:w-25",value:r.height,onChange:i("height")})]}),(0,o.tZ)("span",{className:"lg:hidden xl:inline",children:(0,o.tZ)(Y,{label:"Autoplay",checked:r.autoplay,onChange:a})}),(0,o.tZ)(b.ZP,{variant:b.$e.Subtle,size:b.qE.Medium,className:"ml-auto hidden md:flex lg:hidden xl:flex px-2.5",onClick:l,children:T.Z.partnerPortal.reset})]}),(0,o.BX)("div",{className:"flex flex-wrap items-center gap-4 mt-8 md:mt-6",children:[(0,o.tZ)(b.ZP,{variant:b.$e.Secondary,size:b.qE.Large,startIcon:k.LM.Copy,className:"w-full whitespace-nowrap md:max-w-62.25",onClick:()=>u(t,T.Z.partnerPortal.embedCodeCopied),children:T.Z.partnerPortal.copyEmbedCode}),(0,o.tZ)("span",{className:"hidden lg:flex xl:hidden",children:(0,o.tZ)(Y,{label:"Autoplay",checked:r.autoplay,onChange:a})}),(0,o.tZ)(b.ZP,{variant:b.$e.Subtle,size:b.qE.Medium,className:"ml-auto hidden lg:flex xl:hidden px-2.5",onClick:l,children:T.Z.partnerPortal.reset})]}),(0,o.tZ)(b.ZP,{variant:b.$e.Subtle,size:b.qE.Medium,className:"w-full h-12.75 mt-4 md:hidden",textClassName:"font-body-large-strong",onClick:l,children:T.Z.partnerPortal.reset})]})},Q=e=>
141{let{video:t,embedSnippet:r,embedSettings:n,isAspectRatioLocked:i,onInputChange:a,onAutoplayChange:s,onAspectRatioLockChange:l,onReset:u,onCopy:c}=e;return(0,o.BX)("div",{className:"flex h-full flex-col gap-4",children:[(0,o.tZ)(W.Z,{guid:t.objectID,image:t.imageUrl,disableRoundCorners:!0},t.objectID),(0,o.BX)("section",{className:(0,S.cn)("flex flex-col items-center gap-4 md:gap-6","bg-neutral-10 px-3 pt-3 pb-6","rounded-lg","mx-4 md:mx-0"),children:[(0,o.BX)("div",{className:(0,S.cn)("pt-3 pb-1 relative w-full","rounded-md border border-neutral-40 bg-neutral-0"),children:[(0,o.tZ)("span",{className:(0,S.cn)("absolute -top-1.75 z-base px-2 ml-3 font-body-extra-small text-neutral-50","before:absolute before:content-[''] before:top-1.5 before:left-0","before:w-full before:h-0.5 before:bg-neutral-10 before:z-[-1]"),children:T.Z.partnerPortal.embedCode}),(0,o.tZ)("div",{className:(0,S.cn)("max-h-32 overflow-y-auto px-3 max-w-full overflow-x-hidden break-all font-body-small"),children:r})]}),(0,o.tZ)(J,{embedSnippet:r,embedSettings:n,isAspectRatioLocked:i,onInputChange:a,onAutoplayChange:s,onAspectRatioLockChange:l,onReset:u,onCopy:c})]})]})},ee=r(37911);let et=ee.Ry({token:ee.Z_(),width:ee.Z_(),height:ee.Z_(),autoplay:ee.O7(),isAspectRatioLocked:ee.O7()}),er=()=>{if(!k.C5)return V;let e=localStorage.getItem(z);if(!e)return V;try{let t=et.safeParse(JSON.parse(e));if(!t.success)return V;return{...V,...t.data}}catch(e){return V}},en=e=>null!==(a=e.title)&&void 0!==a?a:"".concat(e.seriesTitle," - ").concat(e.seasonEpisodeLabel),ei=e=>{let t=e.replaceAll("&","&amp;"),r=t.replaceAll('"',"&quot;"),n=r.replaceAll("<","&lt;");return n.replaceAll(">","&gt;")},ea=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V,r=t.width||V.width,n=t.height||V.height,i=new URLSearchParams({width:r,height:n,video:e,autoplay:t.autoplay?"1":"0"});t.autoplay&&i.set("mute","1"),t.token&&i.set("token",t.token);let a={width:r,height:n,src:"".concat("https://embed.kijk.nl","?").concat(i.toString()),frameborder:"0",allowfullscreen:"allowfullscreen",scrolling:"no",class:"sbsEmbed",allow:"encrypted-media; autoplay; fullscreen; picture-in-picture",style:"max-width: 100%"},o=Object.entries(a).map(e=>{let[t,r]=e;return"".concat(t,'="').concat(ei(r),'"')}).join(" ");return"<iframe ".concat(o,"></iframe>")},eo=e=>{try{let t=new URL(e);return"".concat(t.origin).concat(t.pathname)}catch(r){var t;return null!==(t=e.split("?")[0])&&void 0!==t?t:e}},es=(e,t)=>"/catalog?".concat(e,"=").concat(encodeURIComponent(t)),el=(e,t,r,n)=>"".concat(eo(e),"?filters=").concat(encodeURIComponent("".concat(t,":").concat(r,";excludeVideoId:").concat(n))),eu=(e,t)=>{let r=Number(e),n=Number(t);return r&&n?r/n:null},ec=e=>(0,F.Z)(e,new Date)>10?T.Z.partnerPortal.expirationNotApplicable:(0,N.Xu)(e.toISOString(),{showDay:!0});var ed=e=>{var t,r;let{video:n,sourceEndpoint:i,onClose:a,onSelectVideo:l}=e,u=(0,d.useRef)(null),c=(0,d.useRef)(null!==(t=eu(V.width,V.height))&&void 0!==t?t:16/9),[h,p]=(0,d.useState)(null),[f,m]=(0,d.useState)(V),g=en(n),v=(0,d.useMemo)(()=>ea(n.objectID,f),[f,n.objectID]);(0,d.useLayoutEffect)(()=>{m(er())},[]),(0,d.useEffect)(()=>{if(!h)return;let e=window.setTimeout(()=>{p(null)},3e3);return()=>{window.clearTimeout(e)}},[h]),(0,d.useEffect)(()=>{localStorage.setItem(z,JSON.stringify(f))},[f]);let y=(0,d.useMemo)(()=>{let e=[];return n.seriesSlug&&e.push({id:"related-series-".concat(n.seriesSlug,"-").concat(n.objectID),contentType:s.bG.PartnerVideoListing,collectionTitle:"Meer van ".concat(n.seriesTitle),endpoint:el(i,"seriesSlug",n.seriesSlug,n.objectID),layout:"compact",showAllUrl:es("seriesSlug",n.seriesSlug)}),n.genre.forEach(t=>{e.push({id:"related-genre-".concat(t,"-").concat(n.objectID),contentType:s.bG.PartnerVideoListing,collectionTitle:"Meer van ".concat(t),endpoint:el(i,"genre",t,n.objectID),layout:"compact",showAllUrl:es("genre",t)})}),e},[i,n]),b=e=>{var t;l(e),"function"==typeof(null===(t=u.current)||void 0===t?void 0:t.scrollTo)&&u.current.scrollTo({top:0,behavior:"smooth"})},w=async(e,t)=>{await navigator.clipboard.writeText(e),p({videoId:n.objectID,label:t})},x=(0,d.useMemo)(()=>({[T.Z.partnerPortal.createdAt]:(0,N.Xu)(n.createdAt,{showDay:!0,showTime:!0}),[T.Z.partnerPortal.availableDate]:n.availableDate&&(0,N.Xu)(new Date(parseInt(n.availableDate)).toISOString(),{showDay:!0}),[T.Z.partnerPortal.expirationDate]:n.expirationDate&&ec(new Date(parseInt(n.expirationDate)))}),[n]);return(0,o.BX)($,{ariaLabelledBy:"partner-video-modal-title",closeAriaLabel:"Sluit video details",dataTestId:"partner-video-modal-backdrop",onClose:a,children:[(null==h?void 0:h.videoId)===n.objectID&&(0,o.tZ)(B.Z,{role:"status",dataTestId:"partner-video-copy-toast",className:"absolute left-1/2 top-3 z-modal flex w-auto -translate-x-1/2",contentClassName:(0,S.cn)("items-center justify-center rounded-lg","bg-success-100 px-10 py-3 text-neutral-0 shadow-lg","md:h-14 md:min-w-96"),messageClassName:"flex items-center justify-center gap-4",message:(0,o.BX)(o.HY,{children:[(0,o.tZ)(j.ZP,{icon:k.LM.Check,size:k.Jh.ExtraLarge}),(0,o.tZ)("span",{className:"font-header-6",children:h.label})]})}),(0,o.BX)("div",{ref:u,className:(0,S.cn)("overflow-y-auto pb-10","md:px-10 md:pb-10 xl:px-12 xl:pb-12"),children:[(0,o.BX)("div",{className:(0,S.cn)("grid gap-4","lg:grid-cols-2 lg:overflow-hidden","xl:gr
141id-cols-[2fr_1fr]"),children:[(0,o.tZ)(Q,{video:n,embedSnippet:v,embedSettings:f,isAspectRatioLocked:f.isAspectRatioLocked,onInputChange:e=>t=>{let r="token"===e?t.target.value:t.target.value.replace(/\D/g,"");m(t=>({...t,...t.isAspectRatioLocked&&"width"===e&&Number(r)?{height:String(Math.round(Number(r)/c.current))}:{},...t.isAspectRatioLocked&&"height"===e&&Number(r)?{width:String(Math.round(Number(r)*c.current))}:{},[e]:r}))},onAutoplayChange:e=>{m(t=>({...t,autoplay:e.target.checked}))},onAspectRatioLockChange:e=>{let t=e.target.checked;m(e=>({...e,isAspectRatioLocked:t,...t?{height:String(Math.round(Number(e.width)/c.current))}:{}}))},onReset:()=>{var e;c.current=null!==(e=eu(V.width,V.height))&&void 0!==e?e:16/9,m(V)},onCopy:(e,t)=>void w(e,t)}),(0,o.tZ)("div",{className:"lg:relative min-w-0",children:(0,o.tZ)(K,{video:n,videoTitle:g,airDateLabel:null!==(r=x[T.Z.partnerPortal.availableDate])&&void 0!==r?r:null,publicationRows:x,onCopy:(e,t)=>void w(e,t)})})]}),(0,o.tZ)("div",{className:"mx-4 md:mx-0",children:y.map(e=>(0,o.tZ)(L,{...e,onVideoDetailsClick:b,className:"my-8 md:my-10 last:mb-0",hideLoadMore:!0},e.id))})]})]})};let eh="partner-video-error-modal-title";var ep=e=>{let{onClose:t}=e,{notFoundPage:r}=(0,D._w)(),{imageUrl:n}=r;return(0,o.tZ)($,{ariaLabelledBy:eh,closeAriaLabel:T.Z.partnerPortal.closeAriaLabel,dataTestId:"partner-video-error-modal-backdrop",onClose:t,className:"h-full",children:(0,o.BX)("div",{className:"flex flex-col gap-8 mx-auto md:gap-6 px-4 md:px-8 items-center justify-center h-full",children:[n&&(0,o.tZ)("div",{className:"w-full md:w-1/2 mx-auto",children:(0,o.tZ)("div",{className:"aspect-3-2 relative w-full",children:(0,o.tZ)(P(),{src:n,alt:"error-image",fill:!0,sizes:"(max-width: 1200px) 80vw, 50vw"})})}),(0,o.BX)("div",{className:"flex flex-col items-center justify-center gap-8",children:[(0,o.tZ)("h2",{id:eh,className:"font-header-2 text-center",children:T.Z.partnerPortal.oops404Title}),(0,o.tZ)("p",{className:"font-body-large text-center",children:T.Z.partnerPortal.oops404Description}),(0,o.tZ)(b.ZP,{onClick:t,fullWidth:!0,size:b.qE.Large,className:"mt-2 md:mt-4",children:T.Z.partnerPortal.back})]})]})})};let ef="videoId",em="partner-video",eg=async e=>{if(!e||"string"!=typeof e)return null;let{contentApiEndpoint:t}=(0,D.ZP)(),r=await (0,M.j0)("".concat(t,"/catalog/video/").concat(encodeURIComponent(e)));return r};var ev=e=>{let{endpoint:t,...r}=e,{push:n,replace:i,back:a,query:s,asPath:h}=(0,c.useRouter)(),p=(0,l.NL)(),f=(0,d.useRef)(!1),m=[em,s.videoId],{data:g,error:v,isLoading:y}=(0,u.a)({queryKey:m,queryFn:()=>eg(s.videoId),enabled:!!s.videoId,retry:!1}),b=!!s.videoId&&!y&&!g;(0,Z.XY)(v,{queryKey:m.join(",")});let S=e=>{let[t=h,r]=h.split("?"),n=new URLSearchParams(r);e?n.set(ef,e):n.delete(ef);let i=n.toString();return i?"".concat(t,"?").concat(i):t},w=()=>{if(f.current){f.current=!1,a();return}i(S(),void 0,{shallow:!0})},x=e=>{if(p.setQueryData([em,e.objectID],e),s.videoId){i(S(e.objectID),void 0,{shallow:!0});return}f.current=!0,n(S(e.objectID),void 0,{shallow:!0})};return(0,o.BX)(o.HY,{children:[(0,o.tZ)(L,{endpoint:t,...r,onVideoDetailsClick:x}),g?(0,o.tZ)(ed,{video:g,sourceEndpoint:t,onClose:w,onSelectVideo:x}):b&&(0,o.tZ)(ep,{onClose:w})]})},ey=r(38858),eb=r(39399),eS=r(92159),ew=()=>(0,o.BX)("div",{className:"my-8 md:mt-10",children:[(0,o.tZ)(eb.Z,{variant:"header-3",className:"w-45 md:w-60"}),(0,o.tZ)("div",{className:"flex overflow-hidden my-4 gap-2 sm:gap-4",children:Array.from({length:3},(e,t)=>(0,o.tZ)(eS.Z,{aspectRatio:"aspect-3-4",className:(0,S.cn)("shrink-0 rounded-lg","h-100","sm:h-105","md:h-135","lg:h-141","xl:h-135")},"event-collection-skeleton-".concat(String(t))))})]}),ex=r(89632);let eE=k.OE.KijkAndEvent,eT=e=>{let{eventLabel:t,contentName:r,position:n,contentType:i}=e;g().link({event_name:E.SP.CONTENT_LISTING_CLICK,event_label:t,event_value:n,content_name:r,content_type:i,content_category:E.$1.AGENDA})},ek=e=>{let{item:t,index:r,title:n,children:i}=e;return t.targetUrl||t.url?(0,o.tZ)(ex.JW,{href:t.targetUrl||t.url,onClick:()=>{var e;eT({eventLabel:n,contentName:t.title,position:r+1,contentType:(null===(e=t.targetUrl)||void 0===e?void 0:e.split("/").pop())||t.url.split("/").pop()||k.Jk})},children:i}):(0,o.tZ)(o.HY,{children:i})};var eC=e=>{var t;let{title:r,endpoint:n,initialData:i}=e,{items:a,isLoading:s}=(0,w.Z)({collectionName:k.MR.Event,endpoint:n,limit:eE,initialData:()=>
141{if(i)return{pageParams:[1],pages:[{items:i.slice(0,eE),nextPage:1,totalResults:0}]}}});return!s||(null==a?void 0:a.length)?(null==a?void 0:a.length)?(0,o.BX)(ex.h0,{children:[(0,o.tZ)(ex.E8,{children:r}),(0,o.tZ)(ey.ZP,{type:ey.yl.PortraitExtraLarge,items:a,renderItem:(e,n)=>{var i,a;return(0,o.tZ)(ek,{item:e,index:n,title:r,children:(0,o.BX)(ex.K7,{"data-testid":"event-card",children:[(0,o.tZ)(ex.No,{alt:e.title,src:e.imageUrl,fill:!0,sizes:"(max-width: 1200px) 33vw, 405px"}),(0,o.tZ)(ex.ph,{}),!!e.showName&&(0,o.tZ)(b.ZP,{variant:b.$e.Secondary,size:b.qE.Small,component:"div",className:"bg-show-name-label text-show-name-label absolute left-4 top-4 px-1",children:e.showName}),(0,o.BX)(ex.c_,{children:[(null!==(t=e.targetUrl)&&void 0!==t?t:e.url)&&(null===(i=e.eventDateLabel)||void 0===i?void 0:i.isInPast)&&(0,o.tZ)(ex.E,{variant:b.$e.Primary,size:b.qE.Small,endIcon:k.LM.PlayIconFilled,component:"div",children:k.D0}),(0,o.tZ)(ex.XN,{children:e.title}),!!(null===(a=e.eventDateLabel)||void 0===a?void 0:a.dateLabel)&&(0,o.tZ)(ex.kX,{children:e.eventDateLabel.dateLabel})]})]})},e.id)}})]}):null:(0,o.tZ)(ew,{})},e_=r(21860),eP=r(2582),eA=r(97397),eN=r(58210),eI=r(94405),eR=r(67243),eO=r(12003);let eL=(e,t)=>{g().link({event_name:E.SP.CONTENT_LISTING_CLICK,event_category:E.$1.CONTENT_LISTING,event_label:E.KX.RADIO_SCHEDULE,event_value:e,content_name:t})},eD=(0,eO.j)("absolute z-0",{variants:{variant:{[k.Pb.GLOW]:"image-decoration-glow w-100 h-100 top-0 -left-[50px]",[k.Pb.RING]:"image-decoration-ring border-[54px] w-[258px] h-[258px] top-10 -left-[10px] md:w-80 md:h-80",[k.Pb.CIRCLE]:""}}});var eM=e=>{var t,r;let{title:n,showTime:i,isLive:a,thumbnailUrl:s,position:l,url:u}=e,{designTokens:c}=(0,D._w)(),d=null===(t=c.audioDashboard)||void 0===t?void 0:t.imageDecorationVariant,h=null===(r=c.radioSchedule)||void 0===r?void 0:r.hasGradientBackground,p=(0,o.BX)("div",{className:(0,S.cn)("relative flex flex-col justify-between gap-2","bg-primary-100 rounded-md aspect-[4/5] group-hover-scale [--scale-size:1.05]",h&&"bg-audio-dashboard"),children:[(0,o.BX)("div",{className:"pt-4 px-4 flex text-start justify-between",children:[(0,o.BX)("div",{className:"flex flex-col w-full",children:[(0,o.tZ)("span",{className:"text-neutral-0 font-body-medium mb-[2px]",children:i}),(0,o.tZ)("h2",{className:"font-header-2 text-neutral-0 line-clamp-2",children:n})]}),a&&(0,o.tZ)("span",{className:(0,S.cn)("absolute py-1 px-[6px] top-4 right-4","text-live-label font-button-small text-center whitespace-nowrap","button-text-transform bg-secondary-100 rounded-button"),children:k.K4})]}),s&&(0,o.BX)("div",{className:(0,S.cn)("relative w-full aspect-4-3","rounded-b-md bg-transparent overflow-hidden"),children:[!!d&&(0,o.tZ)("div",{className:eD({variant:d})}),(0,o.tZ)(P(),{alt:n,className:"object-cover object-top rounded-b-md",fill:!0,sizes:"(max-width: 900px) 300px, 400px",src:s})]})]});return u?(0,o.tZ)(y(),{href:u,onClick:()=>{u&&eL(l,n)},className:"block cursor-pointer group",children:p}):p};let eZ=new eA.N9((0,eP.b)(Date.now(),void 0),eN.aB),eF=(0,e_.Z)(eZ,7);var ej=e=>{let{stationSlug:t,title:r,showAllText:n,showAllUrl:i}=e,a=["radio-schedule",t,eZ,eF],{isLoading:s,data:l,error:c}=(0,u.a)({queryKey:a,queryFn:()=>(0,eI.NR)(eZ,eF,t).then(e=>(0,M.dX)("/api/audio/showLinks").then(t=>(0,eR.h)(e,t)).catch(()=>e)),enabled:!!t});(0,Z.XY)(c,{queryKey:a.join(",")});let h=(0,d.useMemo)(()=>l?l.flatMap((e,t)=>{var r;let n={id:e.id,data:e,isDivider:!1,position:t+1};return l[t-1]&&(null===(r=l[t-1])||void 0===r?void 0:r.dayShort)===n.data.dayShort?n:[{id:"divider-".concat(String(t)),data:{title:n.data.dayShort},isDivider:!0,position:t+1},n]}):[],[l]),p=(0,d.useMemo)(()=>null==l?void 0:l.findIndex(e=>e.isLive),[l]);return s||l?(0,o.BX)("div",{"data-testid":"RadioSchedule",className:"my-8 md:my-10",children:[(0,o.BX)("div",{className:"flex justify-between items-baseline mb-4",children:[(0,o.tZ)("h3",{className:"font-header-3",children:r}),!!i&&(0,o.tZ)("div",{className:"font-button-medium button-text-transform text-primary-100",children:(0,o.tZ)(y(),{href:i,children:n})})]}),s?(0,o.tZ)(ey.C2,{swimlaneType:ey.yl.PortraitLarge}):(0,o.tZ)(ey.ZP,{type:ey.yl.PortraitLarge,items:h,scrollToItemIndex:p,buttonVariant:b.$e.Secondary,renderItem:e=>e.isDivider?(0,o.tZ)("div",{className:"bg-primary-140 rounded-lg block pt-[42px] min-w-[110px] h-full lg:min-w-[90px]",children:(0,o.tZ)("h6",{className:"text-center font-header-2 text-neutral-0",children:e.data.title})}):(0,o.tZ)(eM,{title:e.data.title,showTime:e.data.showTime,isLive:e.data.isLive,thumbnailUrl:e.data.thumbnailUrl,position:e.position,url:e.data.url})})]}):null}
141,eB=r(22405),eU=r(57636),e$=r(64157),eV=r(8137),ez=r(77194),eH=e=>{let{title:t,endpoint:r,limit:n,collectionName:i,showCategory:a,showAllText:s,showAllUrl:l,initialData:u,isCategoryBasedType:c,variant:d,isFirstItemHighlighted:h}=e,p=h?n/2+1:n,{items:f,isLoading:m,fetchNextPage:v,hasNextPage:y,isFetchingNextPage:x}=(0,w.Z)({collectionName:i,endpoint:r,limit:n,firstPageLimit:p,initialData:()=>{if(u)return{pageParams:[1],pages:[{items:u.slice(0,p),nextPage:1,totalResults:0}]}}});return(null==f?void 0:f.length)||m?(0,o.BX)(eU.Z,{children:[(0,o.tZ)(eB.ZP,{showAllText:s,showAllUrl:l,children:t}),(0,o.BX)(ez.Z,{variant:d,className:(0,S.cn)(h&&Number(null==f?void 0:f.length)<p-1&&"lg:grid-rows-[repeat(2,1fr)]"),children:[!m||(null==f?void 0:f.length)?null==f?void 0:f.map((e,r)=>(0,o.tZ)(e$.Z,{position:r+1,sectionTitle:t,link:e,showCategory:a,...0===r&&!!c&&{isFirstCategoryBasedItem:!0}},e.id)):(0,o.tZ)(eV.Z,{count:n,showCategory:a}),x&&(0,o.tZ)(eV.Z,{count:n,showCategory:a})]}),y&&(0,o.tZ)(b.ZP,{isLoading:x,size:b.qE.Large,onClick:()=>{v(),g().link({event_category:E.$1.CONTENT_LISTING,event_name:E.SP.CONTENT_LISTING_MORE,event_label:t})},className:"mt-2",fullWidth:!0,children:k.Uy})]}):null},eG=e=>(0,o.tZ)(eH,{...e,limit:k.OE.Campaign,collectionName:k.MR.Campaign,showCategory:!0}),eq=r(10829),eK=r(54226);let eW={xs:5,sm:6,md:6,lg:8};var eX=e=>{let{designTokens:t}=(0,D._w)(),r=(0,eK.Z)(t.isBorderlessDesign?t.articleGrid.itemFetchLimit:eW),n=(0,eq.Z)(e=>e.breakpoints.up("lg"));return(0,o.tZ)(eH,{limit:r,isFirstItemHighlighted:n&&!t.isBorderlessDesign,collectionName:k.MR.Category,isCategoryBasedType:!0,variant:ey.yl.CategoryBased,...e})},eY=r(59403),eJ=r(31884),eQ=r(62071),e0=r(32564),e1=r(12875),e2=r(82896),e3=r(32675),e4=r(48228),e5=r(27888),e6=r(44909),e8=()=>(0,e4.D)({mutationFn:e=>((0,e6.W)(e,null),(0,e3.pf)(e)),onSettled:()=>{e5.Eh.invalidateQueries({queryKey:["continue-watching-programs",{grouped:!1}]})},onMutate:e=>{let t=e5.Eh.getQueriesData({queryKey:["continue-watching-programs"]});return e5.Eh.setQueriesData({queryKey:["continue-watching-programs"]},t=>{if(!t)return t;let r=t.pages.map(t=>({...t,items:t.items.filter(t=>{var r;return(null===(r=t.video)||void 0===r?void 0:r.guid)!==e})}));return{...t,pages:r}}),{previousQueries:t}},onError:(e,t,r)=>{null==r||r.previousQueries.forEach(e=>{let[t,r]=e;e5.Eh.setQueryData(t,r)})}}),e9=r(27275),e7=r(658),te=r(68232),tt=r(22552),tr=r(49578);let tn="continue-watching-programs",ti=Array.from({length:k.OE.KijkAndEvent},(e,t)=>({id:"skeleton-".concat(String(t)),isSkeleton:!0})),ta=(e,t)=>t?(0,o.tZ)(eV.Z,{isLandscapeCollection:!0}
141,e.id):(0,o.tZ)(tr.Z,{showSeriesTitle:!0},e.id);var to=e=>{let{title:t,showAllText:r,showAllUrl:n,isGrid:i}=e,{isLoggedIn:a,loginStatus:s}=(0,eQ.aF)(),l=(0,c.useRouter)(),u=l.asPath.startsWith(k._1.ACCOUNT),h=l.asPath.includes(k._1.CONTINUE_WATCHING),p=!(u||h),{enabled:f}=(0,e2.Z)(e1.O5.PlaylistNavigation),m=f&&p,{mutate:g}=e8(),v=(e,r)=>(0,o.tZ)(e9.Z,{item:e,showSeriesTitle:!0,isSeriesPage:!1,handleClick:()=>{(0,eJ.tc)({item:e,label:t,position:r+1})},videoProgress:e.videoProgress,onDelete:t=>{var r;t.stopPropagation(),t.preventDefault(),(null===(r=e.video)||void 0===r?void 0:r.guid)&&g(e.video.guid)},isGrid:i},e.videoGuid),{data:y,fetchNextPage:b,hasNextPage:S,isFetchingNextPage:w,isLoading:x,error:E}=(0,eY.N)({queryKey:[tn,{grouped:m}],queryFn:e=>{let{pageParam:t=1}=e;return m?(0,e3.oM)(1,e3.gf,0).then(e=>({items:(0,e3.rl)(e.items),nextPage:null})):(0,e3.oM)(t)},getNextPageParam:e=>e.nextPage,select:e=>({...e,items:e.pages.flatMap(e=>e.items)}),enabled:a,keepPreviousData:!0,cacheTime:k.JM,staleTime:k.JM});(0,Z.XY)(E,{queryKey:tn});let T=null==y?void 0:y.items;if((0,d.useEffect)(()=>{s===k.IC.Unauthenticated&&h&&l.push(k._1.ACCOUNT)},[h,s,l]),!a&&p||E)return null;if(a&&x||!a)return i?(0,o.tZ)(e0.Z,{limit:k.OE.KijkAndEvent,isLandscapeCollection:!0}
141):(0,o.tZ)(ey.C2,{swimlaneType:ey.yl.Landscape,showTitle:!0});if(p&&!(null==T?void 0:T.length))return null;let C=w?[...null!=T?T:[],...ti]:T;if(!(null==C?void 0:C.length))return(0,o.BX)("div",{className:"mt-10",children:[(0,o.tZ)("h3",{className:"font-header-3 mb-[10px] xl:mb-[14px]",children:k.Oo}),(0,o.tZ)("p",{className:"font-body-medium",children:k.Mf})]});let _=i?te.Z:ey.ZP;return(0,o.BX)(e7.Z,{children:[(0,o.tZ)(tt.Z,{className:"gap-2 mb-4 md:mb-6",showAllText:r,showAllUrl:n,showAllCallback:()=>(0,eJ.rH)(t),children:t}),(0,o.tZ)(_,{items:C,type:ey.yl.Landscape,onEndReached:S&&!w?b:void 0,renderItem:(e,t)=>"isSkeleton"in e?ta(e,i):v(e,t)})]})},ts=r(46635),tl=e=>{let{item:t,position:r,isFirst:n}=e,i=n?(0,S.cn)("absolute bottom-4 left-4 right-4 text-neutral-0 font-header-3 md:bottom-6",t.hasVideo&&"right-18"):(0,S.cn)("relative mt-2 max-md:text-gallery-header text-neutral-80 font-header-6","md:absolute md:left-4 md:bottom-6 md:mr-4 md:font-header-4 md:text-neutral-0 md:mt-0",t.hasVideo&&"md:right-18");return(0,o.BX)(y(),{className:(0,S.cn)("relative group",n?"col-span-6 row-span-4 lg:col-span-4":"col-span-3 row-span-2 lg:col-span-2 lg:flex lg:flex-col"),href:t.url,target:t.target,onClick:()=>(0,ts.Z)({position:r,label:E.KX.HEADER_PROMO,...t}),children:[(0,o.BX)("div",{className:(0,S.cn)("relative overflow-hidden rounded-lg bg-skeleton","after:content-[''] after:absolute after:inset-0 after:z-base after:rounded-lg after:bg-fade-black-bottom-top",n?"aspect-4-3 sm:aspect-3-2 md:aspect-video":"aspect-video lg:aspect-auto lg:h-full"),children:[(0,o.tZ)(P(),{className:"object-cover group-hover-scale",src:t.imageUrl,alt:t.title,fill:!0,priority:!0,sizes:"(max-width: 900px) ".concat(n?"calc(100vw - 32px)":"50vw",", ").concat(n?"66vw":"33vw")}),t.hasVideo?(0,o.tZ)(U.hU,{className:(0,S.cn)("absolute z-base-control
141s",n?"h-10 w-10 right-4 bottom-4 md:bottom-6":"h-7 w-7 right-2 bottom-2 sm:right-4 sm:bottom-4 md:bottom-6 md:h-10 md:w-10"),svgClassName:n?"h-5 w-5":"h-4 w-4 md:h-5 md:w-5",component:"div",icon:k.LM.PlayIconFilled,"data-testid":"gallery-header-play-button",isNonInteractive:!0}):null]}),(0,o.tZ)("h4",{className:(0,S.cn)("line-clamp-3 z-base",i),children:t.title})]})},tu=e=>{let{items:t}=e;return(0,o.tZ)("div",{className:(0,S.cn)("grid grid-cols-6 grid-rows-4 gap-4","mb-8 mt-4 md:mt-8"),children:t.map((e,t)=>(0,o.tZ)(tl,{item:e,position:t+1,isFirst:0===t},e.id))})},tc=r(12645),td=r(60513),th=r(58893),tp=r(31396),tf=r(15386),tm=r(24520),tg=r(83751);let tv=(0,tp.ZP)("div",{target:"e16z45sb0"})(e=>{let{theme:t}=e;return{position:"relative",display:"flex",flexDirection:"column",borderRadius:6,overflow:"hidden",margin:t.spacing(8,0),[t.breakpoints.up("md")]:{borderRadius:8,margin:t.spacing(10,0)},[t.breakpoints.up("lg")]:{flexDirection:"row-reverse"}}}),ty=(0,tp.ZP)("div",{target:"e16z45sb1"})(e=>{let{theme:t}=e;return{[t.breakpoints.up("lg")]:{width:"66.66%"}}}),tb=(0,tp.ZP)("div",{target:"e16z45sb2"})(e=>{let{theme:t}=e;return{display:"none",[t.breakpoints.up("lg")]:{display:"inline",position:"absolute",width:130,height:"100%",background:tf.cz.highlightedItemImageGradient,zIndex:tm.W.base}}}),tS=(0,tp.ZP)(P(),{target:"e16z45sb3"})(()=>({objectFit:"cover"})),tw=(0,tp.ZP)("div",{target:"e16z45sb4"})(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",background:tf.O9.highlightedItemBackgroun
141d,[t.breakpoints.up("lg")]:{width:"33.33%"}}}),tx=(0,tp.ZP)("div",{target:"e16z45sb5"})(e=>{let{theme:t}=e;return{height:"100%",display:"flex",flexDirection:"column",justifyContent:"flex-end",padding:t.spacing(4,4,8),gap:t.spacing(6),".rich-text-wrapper > p":{font:tf.Rq.bodyMedium,color:tf.O9.highlightedItemText,...(0,tg.Z)(6),[t.breakpoints.up("sm")]:{...(0,tg.Z)(4)},[t.breakpoints.up("md")]:{...(0,tg.Z)(3)},[t.breakpoints.up("xl")]:{...(0,tg.Z)(5)}},[t.breakpoints.up("md")]:{padding:t.spacing(6,8,10)},[t.breakpoints.up("lg")]:{padding:t.spacing(0,0,10,10)}}}),tE=(0,tp.ZP)("h3",{target:"e16z45sb6"})(e=>{let{theme:t}=e;return{font:tf.Rq.header3,color:tf.O9.highlightedItemTitle,...(0,tg.Z)(3),[t.breakpoints.up("sm")]:{...(0,tg.Z)(2)},[t.breakpoints.up("lg")]:{...(0,tg.Z)(3)},[t.breakpoints.up("xl")]:{...(0,tg.Z)(4)}}}),tT=e=>{var t;let{title:r,target:n,children:i}=e;return!n||(null===(t=n.video)||void 0===t?void 0:t.isTransactional)?(0,o.tZ)(o.HY,{children:i}):(0,o.tZ)(y(),{href:n.url,target:n.target,onClick:()=>{n&&(0,ts.Z)({label:r,...n})},children:i})};var tk=e=>{var t,r,n;let{title:i,imageUrl:a,target:s,text:l}=e,{designTokens:u}=(0,D._w)(),c=null!==(n=null===(t=u.highlightedItem)||void 0===t?void 0:t.buttonVariant)&&void 0!==n?n:b.$e.Outline;return(0,o.tZ)(tT,{title:i,target:s,"data-testid":"HighlightedItem",children:(0,o.BX)(tv,{children:[(0,o.tZ)(ty,{children:(0,o.BX)(tc.Z,{aspectRatio:"16:9",children:[(0,o.tZ)(tb,{}),(0,o.tZ)(tS,{src:a,alt:i,fill:!0,sizes:"(max-width: 1200px) 100vw, 820px"})]})}),(0,o.tZ)(tw,{children:(0,o.BX)(tx,{children:[(0,o.tZ)(tE,{children:i}),l&&(0,o.tZ)(td.Z,{richText:l}),s&&((null===(r=s.video)||void 0===r?void 0:r.isTransactional)?(0,o.tZ)(th.Z,{mediaId:s.video.guid,appearance:k.gJ.Highlight}):(0,o.tZ)(b.ZP,{component:"div",variant:c,tone:c===b.$e.Outline?b.dz.Inverse:void 0,responsiveSize:b.jQ.MediumToLarge,className:"w-full sm:w-fit pointer-events-none",children:s.title}))]})})]})})},tC=e=>{let{designTokens:{articleGrid:{itemFetchLimit:t}}}=(0,D._w)(),r=(0,eK.Z)(t);return(0,o.tZ)(eH,{...e,limit:r,collectionName:k.MR.JustIn})},t_=r(19342),tP=r(49034),tA=r(76663),tN=e=>{let{title:t,items:r}=e,n=e1.default.isMobile?5:12,[i,a]=(0,d.useState)(()=>r.slice(0,n)),{designTokens:s}=(0,D._w)(),l=()=>{a(r.slice(0,i.length+n))},u=i.length<r.length;return(0,o.tZ)(eU.Z,{children:(0,o.BX)("div",{className:(0,S.cn)("relative w-full flex flex-col gap-3 md:gap-4 md:pt-8 md:pb-14","before:content-[''] before:absolute before:inset-y-0 before:left-1/2 before:-translate-x-1/2 before:w-screen before:bg-neutral-10 before:z-[-1]","max-md:before:hidden"),children:[(0,o.tZ)(eB.ZP,{children:t}),(0,o.tZ)(ey.ZP,{items:i,type:s.isBorderlessDesign?ey.yl.ListToLandscapeLarge:ey.yl.ListToLandscape,buttonVariant:b.$e.Tertiary,onEndReached:!e1.default.isMobile&&u?l:void 0,renderItem:(e,r)=>(0,o.tZ)(e$.Z,{position:r+1,sectionTitle:t,link:e,variant:tA.f.Numeric,showCategory:!0})}),e1.default.isMobile&&u&&(0,o.tZ)(b.ZP,{size:b.qE.Large,onClick:l,className:"mt-2 sm:w-full md:hidden",fullWidth:!0,children:k.Uy})]})})},tI=r(2081),tR=r(3726),tO=r(93323),tL=r(1279),tD=r(73716),tM=r(47610);let tZ=k.OE.KijkAndEvent;var tF=e=>{var t;let{title:r,showAllText:n,showAllUrl:i,isGrid:a}=e,{isLoggedIn:s,watchlist:l,loginStatus:u}=(0,eQ.aF)(),h=(0,c.useRouter)(),p=h.asPath.startsWith(k._1.ACCOUNT),f=h.asPath.startsWith(k._1.WATCHLIST),m=["watchlist-programs",l],{data:g,fetchNextPage:v,hasNextPage:y,isFetchingNextPage:b,isLoading:S,error:w}=(0,eY.N)({queryKey:m,queryFn:async e=>{let{pageParam:t=0}=e,r=t*tZ,n=l.slice(r,r+tZ);return 0===n.length?[]:(0,tM.$1)(n)},getNextPageParam:(e,t)=>{let r=t.flat().length;return r>=l.length?void 0:t.length},enabled:l.length>0});(0,Z.XY)(w,{queryKey:m.join(",")}),(0,d.useEffect)(()=>{u===k.IC.Unauthenticated&&f&&h.push(k._1.ACCOUNT)},[f,u,h]);let x=null!==(t=null==g?void 0:g.pages.flat())&&void 0!==t?t:[],E=!(p||f);if(!s&&E||w)return null;let T=!!l.length&&!x.length;return s&&S&&T||!s?(0,o.tZ)(ey.C2,{swimlaneType:ey.yl.Portrait,showTitle:!0}):!x.length&&E?null:x.length?(0,o.tZ)(tR.Z,{title:r,items:x,showAllText:n,showAllUrl:i,isGrid:a,isFetchingNextPage:b,onLoadMore:()=>{y&&!b&&v()}}):(0,o.BX)(tD.B$,{children:[(0,o.tZ)("h3",{className:"font-header-3 mb-[10px] xl:mb-[14px]",children:k.Vt}),(0,o.tZ)("p",{className:"font-body-medium",children:k.YL})]})},tj=r(4670),tB=r(61052),tU=r(87751),t$=r(99901),tV=r(13228),tz=r(19672);let tH=(0,S.cn)("before:content-[''] before:hidden before:absolute before:bottom-0 before:w-full","before:h-full before:z-base before:rounded-lg before:bg-fade-black-bottom-top","lg:before:block");var tG=e=>{let{title:t,swimlaneItems:r}=e,{enabled:n}=(0,e1.SS)(e1.O5.HoverVideoPreview);return(0,o.BX)("div",{className:"relative mt-10",children:[(0,o.tZ)("h3",{className:"text-neutral-0 font-header-3 mb-4 md:mb-6",children:t}),(0,o.tZ)(ey.ZP,{type:ey.yl.LandscapeKijkHeader,items:r,renderItem:(e,r)=>{var i,a,s,l,u,c,d,h;let p=!!(n&&e.isAvailable&&e.videoGuid);return(0,o.BX)(y(),{className:(0,S.cn)("relative flex w-full flex-col","gap-[6px] h-full group",tH),"data-testid":"recommended-item",href:e.url,target:e.target,onClick:()=>(0,ts.Z)({position:r+2,label:t,...e}),children:[(0,o.BX)("div",{className:"w-full h-auto rounded-lg overflow-hidden",children:[p&&(0,o.tZ)(tV.Z,{guid:null!==(u=e.videoGuid)&&void 0!==u?u:"",image:e.imageUrl}),(0,o.BX)(tc.Z,{aspectRatio:"16:9",children:[(0,o.tZ)(P(),{src:e.imageUrl,alt:null!==(d=null!==(c=null===(i=e.video)||void 0===i?void 0:i.seriesTitle)&&void 0!==c?c:null===(a=e.video)||void 0===a?void 0:a.title)&&void 0!==d?d:"",f
141ill:!0,priority:!0,sizes:"(max-width: 900px) 50vw, 33vw",style:{objectFit:"cover"},className:(0,S.cn)(!p&&"md:group-hover-scale")}),e.availabilityLabel&&(0,o.tZ)(tz.Z,{variant:"availabilityLabel",text:e.availabilityLabel})]})]}),(0,o.BX)("div",{className:"z-base-controls lg:absolute lg:bottom-4 lg:left-4",children:[(0,o.tZ)("h5",{className:(0,S.cn)("font-header-6 text-neutral-0 my-[6px]","line-clamp-2 wrap-break-word"),children:null!==(h=null===(s=e.video)||void 0===s?void 0:s.seriesTitle)&&void 0!==h?h:null===(l=e.video)||void 0===l?void 0:l.title}),(0,o.tZ)("h5",{className:"font-body-extra-small text-neutral-30",children:e.dateLabel})]})]},e.id)}})]})},tq=e=>{var t,r,n,i,a,s,l,c,d;let{title:h,initialData:p,id:f,endpoint:m}=e,{isLoading:g,isFetching:v,data:w}=(0,u.a)({queryKey:["kijk-header",f],queryFn:async()=>{var e;if(!m)return[];let t=await (0,M.j0)(m);return null!==(e=null==t?void 0:t.items)&&void 0!==e?e:[]},initialData:p,select:e=>e.map(tj.k_),enabled:!p});if((v||g)&&!p)return(0,o.tZ)(t$.Z,{});if(!w||0===w.length)return null;let[x,...E]=w;return(0,o.BX)(o.HY,{children:[(0,o.BX)("div",{"data-testid":"KijkHeader",className:"h-full mb-8 md:mb-10",children:[(0,o.tZ)(tU._,{isSeriesHeader:!1,imageSource:null!==(s=null==x?void 0:x.imageUrl)&&void 0!==s?s:"",imageAlt:null!==(c=null!==(l=null==x?void 0:null===(t=x.video)||void 0===t?void 0:t.seriesTitle)&&void 0!==l?l:null==x?void 0:null===(r=x.video)||void 0===r?void 0:r.title)&&void 0!==c?c:""}),(0,o.BX)("div",{className:(0,S.cn)("relative w-full h-full flex flex-col items-start","-mt-20 sm:-mt-[350px]"),children:[(0,o.tZ)(tB.Z,{children:null!==(d=null==x?void 0:null===(n=x.video)||void 0===n?void 0:n.seriesTitle)&&void 0!==d?d:null==x?void 0:null===(i=x.video)||void 0===i?void 0:i.title}),(0,o.tZ)("p",{className:"font-body-extra-small text-neutral-30 mb-6 [text-shadow:0px_0px_5px_rgba(0,0,0,0.25)]",children:null==x?void 0:x.dateLabel}),(0,o.tZ)("div",{className:"relative flex gap-4",children:(null==x?void 0:null===(a=x.video)||void 0===a?void 0:a.isTransactional)?(0,o.tZ)(th.Z,{className:"min-w-70",mediaId:x.video.guid,appearance:k.gJ.Header}):(0,o.tZ)(b.ZP,{className:"min-w-70",href:null==x?void 0:x.url,target:"_self",component:y(),startIcon:k.LM.PlayIconFilled,size:b.qE.Large,onClick:()=>{x&&(0,ts.Z)({position:1,label:h,...x})},children:(null==x?void 0:x.title)||k.ce})})]})]}),(0,o.tZ)(tG,{title:h,swimlaneItems:E})]})},tK=r(44181);let tW=e=>{let{entitledOffers:t,isLoading:r}=(0,tK.Z)(),n=(0,c.useRouter)();return(0,o.tZ)(eJ.ZP,{...e,isPvxDataLoading:r,entitledOffers:t,onItemClick:(e,i)=>{var a,o,s,l;let u=!!(null===(o=e.video)||void 0===o?void 0:null===(a=o.pvxVideoData)||void 0===a?void 0:a.offerId)&&t.includes(e.video.pvxVideoData.offerId);if(!u&&!r){if(i.preventDefault(),(null===(l=e.video)||void 0===l?void 0:null===(s=l.pvxVideoData)||void 0===s?void 0:s.status)==="error"){e.url?n.push(e.url):window.eventBus.dispatch("toastMessage",k.oj);return}window.eventBus.dispatch("openPreBuyModal",{open:!0,mediaId:e.videoGuid})}}})};var tX=e=>{if(e.contentType===s.bG.RichText)return(0,o.tZ)(td.Z,{richText:e.content,layout:e.layout,className:"my-8 md:my-10"});if(e.contentType===s.bG.LinkList){if(e.type===s.i.GalleryHeader)return(0,o.tZ)(tu,{items:e.items||[]});if(e.type===s.i.NumericCollection)return(0,o.tZ)(tN,{title:e.title,items:e.items||[]});if(e.type===s.i.PortraitCollection)return(0,o.tZ)(tR.Z,{...e});if(e.type===s.i.SquareCollection)return(0,o.tZ)(tO.Z,{title:e.title,items:e.items||[],hideLinkTitles:e.hideLinkTitles});if(e.type===s.i.KijkHeader){var t;return(0,o.tZ)(tq,{...e,endpoint:null!==(t=e.endpoint)&&void 0!==t?t:""})}return e.type===s.i.MiniSquareCollection?(0,o.tZ)(tO.Z,{title:e.title,items:e.items||[],hideLinkTitles:e.hideLinkTitles,isMini:!0}):(0,o.tZ)(tP.Z,{...e})}if(e.contentType===s.bG.AudioCollection&&e.type===s.bc.RadioSchedule)return(0,o.tZ)(ej,{...e});if(e.contentType===s.bG.PaginatedCategoryCollection)return(0,o.tZ)(tI.Z,{category:{articleEndpoint:e.articleEndpoint},collectionTitle:e.title,...e});if(e.contentType===s.bG.CategoryBasedCollection){if(e.type===s.RD.JustIn)return(0,o.tZ)(tC,{...e});if(e.type===s.RD.Articles)return(0,o.tZ)(eX,{...e});if(e.type===s.RD.Videos)return(0,o.tZ)(tL.ZP,{...e,initialData:e.initialData});if(e.type===s.RD.Campaigns)return(0,o.tZ)(eG,{...e});if(e.type===s.RD.Events)return(0,o.tZ)(eC,{title:e.title,endpoint:e.endpoint,initialData:e.initialData})}if(e.contentType===s.bG.HighlightedItem)return(0,o.tZ)(tk,{...e});if(e.contentType===s.bG.KijkCollection){if([s.Ic.Clip,s.Ic.Episode].includes(e.type))return(0,o.tZ)(eJ.ZP,{...e,initialData:e.initialData});if([s.Ic.Series,s.Ic.Movie].includes(e.type))return(0,o.tZ)(t_.Z,{...e,initialData:e.initialData});if(e.type===s.Ic.PvxCollection)return(0,o.tZ)(tW,{...e,initialData:e.initialData});if(e.type===s.Ic.ContinueWatching)return(0,o.tZ)(to,{...e});if(e.type===s.Ic.Watchlist)return(0,o.tZ)(tF,{...e})}return e.contentType===s.bG.PartnerVideoListing?(0,o.tZ)(ev,{...e}):e.contentType===s.bG.ArticleByAuthorCollection?(0,o.tZ)(tI.Z,{...e,collectionTitle:e.title,endpoint:e.endpoint,collectionName:k.MR.ArticleByAuthor}):null}},74339:function(e,t,r){"use strict";r.d(t,{Z:function(){return C}});var n,i,a=r(35944),o=r(67294),s=r(53390),l=r(12003),u=r(25675),c=r.n(u),d=r(21953),h=r(16928),p=r(24390),f=r(66488),m=r(16567),g=r(40471),v=r(16370),y=r(22338),b=r(86720);(n=i||(i={})).Navigation="navigation",n.Replay="replay";let S=(0,l.j)("group pointer-events-auto relative",{variants:{variant:{[i.Navigation]:"h-8 w-8",[i.Replay]:"h-13 w-13 @jw-breakpoint-5/player:h-20 @jw-breakpoint-5/player:w-20"}}}),w=(0,l.j)("text-neutral-0",{variants:{variant:{[i.Navigation]:"h-8 w-8",[i.Replay]:"h-11 w-11 @jw-breakpoint-5/player:h-20 @jw-breakpoint-5/player:w-20"}}});var x=e=>{let{icon:t,label:r,tooltipLabel:n,onClick:i,variant:o,className:s}=e;return(0,a.BX)("div",{className:S({variant:o,className:s}),children:[(0,a.tZ)("span",{role:"tooltip",className:(0,f.cn)("invisible pointer-events-none absolute bottom-[calc(100%+8px)] left-1/2 z-floating","mb-[14px] h-auto w-auto -translate-x-1/2 whitespace-nowrap opacity-0","font-body-small text-neutral-0 shadow-[0_0_10px_rgba(0,0,0,0.4)]","transition-[opacity,visibility] duration-150","group-hover:visible group-hover:opacity-100 group-hover:delay-250","group-focus-within:visible group-focus-within:opacity-100 group-focus-within:delay-250","after:absolute after:top-full after:left-1/2 after:-z-base after:h-[14px] after:w-[14px]","after:-translate-x-1/2 after:-translate-y-1/2 after:rotate-45 after:rounded-[1px] after:bg-neutral-0","after:content-['']"),children:(0,a.tZ)("span",{className:(0,f.cn)("inline-block h-auto min-w-full max-w-[246px] overflow-hidden rounded-[1px] bg-neutral-0","px-[10px] py-[7px] align-middle text-[10px] leading-none text-ellipsis whitespace-nowrap text-neutral-100"),children:n})}),(0,a.tZ)(p.hU,{icon:t,onClick:i,"aria-label":r,className:"h-full w-full bg-transparent hover:[&_svg]:text-primary-100",svgClassName:w({variant:o})})]})},E=e=>{let{onReplay:t,onPlayPrevious:r,onPlayNext:n}=e;return(0,a.BX)("div",{className:"absolute z-base h-full w-full",children:[(0,a.tZ)("button",{type:"button",onClick:t,"aria-hidden":!0,tabIndex:-1,"data-testid":"inline-player-replay-surface",className:"absolute h-full w-full cursor-pointer border-0 bg-transparent p-0"}),(0,a.BX)("div",{className:"pointer-events-none relative grid h-full grid-cols-[1fr_auto_1fr] items-center gap-[57px] py-[57px]",children:[!!r&&(0,a.tZ)(x,{icon:d.LM.Previous,onClick:r,label:b.Z.video.previousVideo,tooltipLabel:b.Z.video.previous,variant:i.Navigation,className:"col-start-1 justify-self-end"}),(0,a.tZ)(x,{icon:d.LM.PlayIconFilled,onClick:t,label:b.Z.video.replay,tooltipLabel:b.Z.video.replay,variant:i.Replay,className:"col-start-2"}),!!n&&(0,a.tZ)(x,{icon:d.LM.Next,onClick:n,label:b.Z.video.nextVideo,tooltipLabel:b.Z.video.next,variant:i.Navigation,className:"col-start-3 justify-self-start"})]})]})};let T=(0,l.j)("relative aspect-video overflow-hidden @container/player",{variants:{variant:{[y.D.Default]:"rounded-lg",[y.D.MobileEdgeToEdge]:"rounded-lg max-md:rounded-none",[y.D.Header]:"bg-neutral-80"}}}),k=(0,l.j)("absolute z-base h-full w-full bg-fade-black-bottom-top",{variants:{variant:{[y.D.Default]:"rounded-lg",[y.D.MobileEdgeToEdge]:"rounded-lg max-md:rounded-none",[y.D.Header]:"rounded-none"}}});var C=e=>{let{title:t,videoGuid:r,duration:n,imageUrl:i,playerLoadedInitially:l,variant:u=y.D.Default,isTransactional:S,enableFloating:w=!1}=e,[x,C]=(0,o.useState)(null!=l&&l),[_,P]=(0,o.useState)(null);(0,m.Z)(()=>{C(!!l),P(null)},[l,r]);let A=()=>{s.JwMonitor.setPlayReason("interaction"),P(null),C(!0)};return r?x&&r&&!_?(0,a.tZ)(h.Z,{guid:r,image:i,isTransactional:S,onRemove:()=>{C(!1)},onPlaybackEnd:P,isFullWidthXs:u!==y.D.Default,enableFloating:w}):(0,a.BX)("div",{className:T({variant:u}),children:[(0,a.tZ)("div",{className:k({variant:u})}),!!i&&(0,a.tZ)(c(),{src:i,alt:t,fill:!0,sizes:"(max-width: 1200px) 100v
141w, 80vw",className:"object-cover"}),_?(0,a.tZ)(E,{onPlayPrevious:_.onPlayPrevious,onPlayNext:_.onPlayNext,onReplay:A}):(0,a.BX)("button",{type:"button",onClick:A,"aria-label":t||b.Z.video.play,"data-testid":"inline-player-play-button",className:(0,f.cn)("absolute z-base","h-full w-full","cursor-pointer border-0 bg-transparent p-0"),children:[(0,a.tZ)("div",{className:(0,f.cn)("absolute top-2/5 left-1/2 md:top-1/2 m-0","-translate-x-1/2 -translate-y-2/5 md:-translate-y-1/2"),children:(0,a.tZ)(p.hU,{icon:d.LM.PlayIconFilled,className:"md:h-13 md:w-13",component:"span","aria-hidden":!0,tabIndex:-1})}),(0,a.tZ)(g.Z,{variant:v.K.InlinePlayer,duration:n}),(0,a.tZ)("div",{className:(0,f.cn)("absolute bottom-0","w-full overflow-hidden","px-4 pb-4 md:px-6 md:pb-6"),children:(0,a.tZ)("h4",{className:(0,f.cn)("font-header-4 text-neutral-0","line-clamp-2 wrap-break-word text-left whitespace-pre-wrap md:line-clamp-3"),children:t})})]})]}):null}},99901:function(e,t,r){"use strict";var n=r(35944),i=r(38858),a=r(10073),o=r(39399);t.Z=()=>(0,n.BX)("div",{className:"min-h-[262px] sm:min-h-150",children:[(0,n.BX)("div",{className:"mt-44 sm:mt-61",children:[(0,n.tZ)(o.Z,{variant:"header-1",className:"w-60 md:w-75"}),(0,n.tZ)(o.Z,{variant:"body-small",className:"w-30 mb-6"}),(0,n.tZ)(a.Z,{className:"min-w-70"})]}),(0,n.tZ)(i.C2,{swimlaneType:i.yl.LandscapeKijkHeader,count:3})]})},87751:function(e,t,r){"use strict";r.d(t,{_:function(){return h}});var n=r(35944);r(67294);var i=r(25675),a=r.n(i),o=r(11752),s=r.n(o),l=r(12875),u=r(66488);let{publicRuntimeConfig:{imageDomain:c}}=s()(),d=e=>{let{src:t,width:r}=e,{isMobile:n}=l.default,i=["f_webp","h_".concat(n?"262":"600"),n?"ar_4:3":"w_".concat(String(Math.min(r,2e3))),"c_fill","g_faces:auto","dpr_2.0"];return"".concat(c,"/").concat(i.join(","),"/").concat(t)},h=e=>{let{isSeriesHeader:t,imageSource:r,imageAlt:i}=e;return(0,n.tZ)("div",{className:"w-full h-[262px] sm:h-150",children:(0,n.tZ)("div",{className:(0,u.cn)("absolute left-0 top-0 h-[262px]","w-full bg-transparent mask-header-image",t?"sm:h-[338px] md:h-150":"sm:h-150"),children:(0,n.tZ)(a(),{loader:d,src:r,alt:null!=i?i:"",fill:!0,priority:!0,style:{objectFit:"cover",zIndex:0},sizes:"100vw"})})})}},59729:function(e,t,r){"use strict";r.d(t,{T:function(){return _},Z:function(){return P}});var n=r(35944),i=r(67294),a=r(11752),o=r.n(a),s=r(25675),l=r.n(s),u=r(18357),c=r(28994),d=r(3726),h=r(73716),p=r(38858),f=r(21953),m=r(33209),g=r(4670),v=r(66488),y=r(92723),b=r(37274),S=r(31396);r(15386);var w=r(24520);let x=(0,S.ZP)("div",{target:"ek0v3541"})(e=>{let{theme:t}=e;return{position:"relative",zIndex:2,[t.breakpoints.down("md")]:{display:"none"},[t.breakpoints.up("md")]:{flex:"0 0 33%",maxWidth:"33%"},[t.breakpoints.up("xl")]:{flex:"0 0 25%",maxWidth:"25%"}}}),E=(0,S.ZP)("div",{target:"ek0v3542"})(e=>{let{theme:t}=e;return{position:"absolute",width:"calc(100% + 68px)",height:"calc(100% + 16px)",top:-16,right:12,zIndex:w.W.base,[t.breakpoints.up("lg")]:{width:"calc(100% + 84px)"},[t.breakpoints.up("xl")]:{width:"calc(100% + 108px)",maskImage:"linear-gradient(to right, transparent 0, black 40px, black 100%)",maskRepeat:"no-repeat"},img:{position:"absolute",bottom:0,right:0,width:"auto",height:"100%",objectFit:"cover",objectPosition:"right"}}}),{publicRuntimeConfig:{imageDomain:T}}=o()(),k=f.OE.KijkAndEvent,C=e=>{let{src:t,width:r}=e,n=["f_webp","w_".concat(String(r)),"c_fill","dpr_2.0","e_trim"];return"".concat(T,"/").concat(n.join(","),"/").concat(t)},_=()=>(0,n.BX)("div",{className:"my-8 sm:my-10",children:[(0,n.tZ)("div",{className:(0,v.cn)("w-34.25 h-6.5 md:h-10 mb-4 sm:mb-6","bg-skeleton animate-pulse rounded-[4px]")}),(0,n.tZ)(h.T5,{children:Array.from({length:12}).map((e,t)=>(0,n.tZ)(y.r,{},"portrait-skeleton-".concat(String(t))))})]});var P=e=>{let{endpoint:t,initialData:r,isGrid:a,hasInfiniteScroll:o,title:s,type:h,heroImageUrl:v,backgroundColor:y}=e,{ref:S,inView:w}=(0,u.YD)(),{items:T,isLoading:P,hasNextPage:A,isFetchingNextPage:N,fetchNextPage:I}=(0,m.Z)({collectionName:f.MR.Kijk,endpoint:t,limit:k,initialData:()=>{if(r){let e=r.slice(0,k);return{pageParams:[1],pages:[{items:e,nextPage:e.length>=k?2:null,totalResults:0}]}}},refetchInterval:f.t_,enhanceItem:g.j7});(0,i.useEffect)(()=>{w&&I()},[w,I]);let R=h===c.Ic.Movie?p.yl.PortraitLarge:p.yl.Portrait;return!P||(null==T?void 0:T.length)?P||(null==T?void 0:T.length)?(0,n.BX)(n.HY,{children:[(0,n.BX)(b.Z,{isBranded:!!v,collectionBackgroun
141d:y,children:[!!v&&(0,n.tZ)(x,{children:(0,n.tZ)(E,{children:(0,n.tZ)(l(),{src:v,alt:s,height:400,width:300,quality:100,loader:C})})}),(0,n.tZ)(d.Z,{items:null!=T?T:[],isFetchingNextPage:N,onLoadMore:A?()=>{A&&!N&&I()}:void 0,swimlaneType:v?p.yl.PortraitBranded:R,...e})]}),!!a&&!!o&&!!A&&!N&&!P&&(0,n.tZ)("div",{className:"min-h-[1px] col-span-full",ref:S})]}):null:a?(0,n.tZ)(_,{}):(0,n.tZ)(p.C2,{swimlaneType:R,showTitle:!0})}},19342:function(e,t,r){"use strict";r.d(t,{Z:function(){return n.Z}});var n=r(59729)},31884:function(e,t,r){"use strict";r.d(t,{ZP:function(){return R},tc:function(){return P},rH:function(){return C}});var n=r(35944),i=r(67294),a=r(53390),o=r.n(a),s=r(8137),l=r(38858),u=r(21953),c=r(78114),d=r(46635),h=r(6380),p=r(30656),f=r(62071),m=r(44909),g=r(47610),v=r(77194),y=r(66488),b=r(33209),S=r(4670),w=r(658),x=r(22552),E=r(68232),T=r(27275),k=r(49578);let C=e=>{let t=new URLSearchParams(document.location.search).has("zoek");o().link({event_label:e,event_category:t?c.$1.SEARCH:c.$1.CONTENT_LISTING,event_name:c.SP.CONTENT_LISTING_MORE})},_=(e,t)=>{var r;let n=new URLSearchParams(document.location.search).has("zoek");return n?{eventName:c.SP.SEARCH_CLICK,eventCategory:c.$1.SEARCH}:(null===(r=e.video)||void 0===r?void 0:r.isTransactional)&&t?{eventName:c.SP.CONTENT_LISTING_PLAY}:{}},P=e=>{let{item:t,position:r,label:n,isEntitled:i}=e;(0,d.Z)({position:r,label:n.replaceAll("'",""),...t,..._(t,i)})},A=u.OE.KijkAndEvent,N=Array.from({length:u.OE.KijkAndEvent},(e,t)=>({id:"skeleton-".concat(String(t)),isSkeleton:!0})),I=(e,t)=>t?(0,n.tZ)(s.Z,{isLandscapeCollection:!0}
141,e.id):(0,n.tZ)(k.Z,{showSeriesTitle:!0},e.id);var R=e=>{let{title:t,endpoint:r,showAllText:a,showAllUrl:o,showAllCallback:c,showSeriesTitle:d=!1,initialData:k,isGrid:_,currentGuid:R,items:O,showTitle:L=!0,backgroundColor:D,heroImageUrl:M,logoImageUrl:Z,onItemClick:F,isSeriesPage:j=!1,isPvxDataLoading:B,entitledOffers:U}=e,$=(e,r)=>{var i,a,o,s,l;let u=null===(a=e.video)||void 0===a?void 0:null===(i=a.pvxVideoData)||void 0===i?void 0:i.offerId,c=!!U&&!!u&&!U.includes(u)&&!B&&"number"==typeof(null===(s=e.video)||void 0===s?void 0:null===(o=s.pvxVideoData)||void 0===o?void 0:o.price);return(0,n.tZ)(T.Z,{item:e,showSeriesTitle:d,isActive:R===e.videoGuid,isSeriesPage:j,handleClick:n=>{var i,a;P({item:e,label:t,position:r+1,isEntitled:(null===(a=e.video)||void 0===a?void 0:null===(i=a.pvxVideoData)||void 0===i?void 0:i.offerId)&&U?U.includes(e.video.pvxVideoData.offerId):void 0}),null==F||F(e,n)},videoProgress:(null===(l=e.video)||void 0===l?void 0:l.guid)?X[e.video.guid]:void 0,showLockLabel:c,isGrid:_},e.videoGuid)},{items:V,fetchNextPage:z,hasNextPage:H,isLoading:G,isFetchingNextPage:q}=(0,b.Z)({collectionName:u.MR.Kijk,endpoint:r,limit:A,initialData:()=>{if(k){let e=k.slice(0,A);return{pageParams:[1],pages:[{items:e,nextPage:e.length>=A?2:null,totalResults:0}]}}},refetchInterval:u.t_,enhanceItem:S.j7,enabled:!!r}),K=r?V:O,W=q?[...null!=K?K:[],...N]:K,X=function(e,t){let[r,n]=(0,i.useState)(()=>{let t={};if(null==e?void 0:e.length)for(let r of e){let e=r.videoGuid;if(!e)continue;let n=m.G3[e];n&&(t[e]=n)}return t}),a=(0,i.useRef)(new Set),o=(0,i.useRef)(),{isLoggedIn:s}=(0,f.aF)();return(0,i.useEffect)(()=>{if(!(null==e?void 0:e.length))return;let r=a.current,i=o.current;if(o.current=null!=t?t:void 0,n(t=>{let r={...t};for(let t of e){let e=t.videoGuid;if(!e)continue;let n=m.G3[e];n&&(r[e]=n)}return r}),!s)return;let l=e.filter(e=>!!e.videoGuid&&(!r.has(e.videoGuid)||e.videoGuid===i));if(!l.length)return;let u=async()=>{for(let e=0;e<l.length;e+=100){let t=l.slice(e,e+100),i=t.map(e=>e.videoGuid);if(i.length)try{let e=await (0,g.Tc)({guids:i,skipSeconds:h.S,limit:i.length}),a=Object.fromEntries(e.map(e=>{let{guid:t,position:r,completed:n}=e;return[t,{seconds:r,completed:n}]}));n(e=>{let n={...e};for(let{videoGuid:e,videoDuration:i}of t)if(e&&(r.add(e),a[e])){let{seconds:t,completed:r}=a[e],o={progressInSeconds:t,progressPercentage:(0,m.dM)(t,i),completed:r};(0,m.W)(e,o),n[e]=o}return n})}catch(e){(0,p.Nd)(Error("Failed to fetch progress, ".concat(e.message)))}}};u()},[s,e,t]),r}(null!=K?K:[],R),Y=(0,n.tZ)(x.Z,{className:(0,y.cn)("flex justify-between gap-2 mb-4 md:mb-6",Z?"items-start":"items-baseline",!!M&&"relative z-base"),showAllText:a,showAllUrl:o,showAllCallback:()=>{c&&c(),C(t)},logoImageUrl:Z,children:t}),J=!(null==K?void 0:K.length);if(G&&J)return _?(0,n.BX)(w.Z,{children:[L&&Y,(0,n.tZ)(v.Z,{variant:l.yl.Landscape,children:(0,n.tZ)(s.Z,{count:u.OE.KijkAndEvent,isLandscapeCollection:!0}
141)})]}):(0,n.tZ)(l.C2,{swimlaneType:l.yl.Landscape,showTitle:!0});if(J)return null;let Q=_?E.Z:l.ZP;return(0,n.BX)(w.Z,{title:t,heroImageUrl:M,collectionBackground:D,children:[L&&Y,(0,n.tZ)(Q,{items:null!=W?W:[],type:M?l.yl.LandscapeBranded:l.yl.Landscape,onEndReached:H&&!q?z:void 0,renderItem:(e,t)=>"isSkeleton"in e?I(e,_):$(e,t)})]})}},27275:function(e,t,r){"use strict";var n=r(35944),i=r(67294),a=r(25675),o=r.n(a),s=r(41664),l=r.n(s),u=r(28994),c=r(12645),d=r(40471),h=r(13228),p=r(12875),f=r(82896),m=r(4670),g=r(19822),v=r(21953),y=r(66488),b=r(14775),S=r(16370),w=r(19672);t.Z=e=>{let{item:t,showSeriesTitle:r,isActive:a,isSeriesPage:s,isGrid:x,onDelete:E,handleClick:T,videoProgress:k,showLockLabel:C}=e,{url:_,title:P,subtitle:A="",imageUrl:N,target:I,videoDuration:R,video:O,dateLabel:L,availabilityLabel:D,isAvailable:M}=t,[Z,F]=(0,i.useState)(),{enabled:j}=(0,f.Z)(p.O5.HoverVideoPreview);(0,i.useEffect)(()=>{if(!a)return;let e=e=>{e&&e.guid===t.videoGuid&&F(e.progress)};return window.eventBus.on("activeVideoProgress",e),()=>{window.eventBus.off("activeVideoProgress",e)}},[t,a]);let{displayTitle:B,displaySubtitle:U}=(0,i.useMemo)(()=>O?(0,m.pS)(r,s,{title:P,subtitle:A,video:O}):{displayTitle:P,displaySubtitle:A||""},[r,P,A,O,s]),$=null!=Z?Z:k,V=!!(M&&j&&(null==O?void 0:O.guid)&&!O.isTransactional);return(0,n.tZ)("div",{className:"relative",children:(0,n.BX)(l(),{href:_,target:I,onClick:T,className:(0,y.cn)("flex flex-col overflow-visible gap-[6px] no-underline","md:gap-3",x&&"flex-row gap-3 sm:flex-col"),children:[(0,n.BX)("div",{className:(0,y.cn)("w-full h-auto overflow-visible relative",a&&"active-ring rounded-[13px]","md:group-hover-scale",V?"md:hover:scale-[1]":"md:hover:scale-[1.05]",x&&"max-sm:w-[115px] max-sm:min-w-[115px] max-sm:aspect-3-2"),children:[V&&(0,n.tZ)(h.Z,{guid:O.guid,image:N}),(0,n.BX)(c.Z,{aspectRatio:"16:9",className:(0,y.cn)("overflow-hidden bg-opacity-03 rounded-lg",x&&"h-full"),children:[(0,n.tZ)(o(),{src:N,alt:B,fill:!0,className:"object-cover",sizes:"(max-width: 900px) 50vw, 33vw"}),E&&(0,n.tZ)(g.aM,{onClick:E,size:v.Jh.Medium,className:(0,y.cn)("absolute top-1 right-1 z-floating","bg-neutral-100/40 rounded-full text-neutral-0 cursor-pointer","flex items-center justify-center","w-[22px] h-[22px] [&_path]:stroke-[4.5]","hover:bg-neutral-0 hover:text-neutral-100","sm:[&_path]:stroke-[2.5] sm:w-7 sm:h-7","sm:top-2 sm:right-2"),svgClassName:"w-[10px] h-[10px] sm:w-4 sm:h-4"}),C&&(0,n.tZ)(b.ZP,{component:"div",className:(0,y.cn)("absolute bottom-2 left-2 sm:bottom-4 sm:left-4 w-7 bg-miscellaneous-01"),startIcon:v.LM.LockFilled,size:b.qE.Small,isNonInteractive:!0}),!!R&&(0,n.tZ)(d.Z,{variant:S.K.Swimlane,className:(0,y.cn)("bottom-0 right-0 m-2 py-1 px-1.5 sm:m-4"),duration:R,completed:null==$?void 0:$.completed,progress:null==$?void 0:$.progressInSeconds}),!!(null==$?void 0:$.progressPercentage)&&(0,n.tZ)("div",{className:(0,y.cn)("absolute bottom-0 left-0 right-0 h-1","bg-neutral-20 overflow-hidden"),children:(0,n.tZ)("div",{className:"absolute inset-0 bg-tertiary-100",style:{width:"".concat(String($.progressPercentage),"%")}})}),D&&(0,n.tZ)(w.Z,{variant:"availabilityLabel",text:D})]})]}),(0,n.BX)("div",{className:"flex flex-col gap-[2px] sm:gap-[6px]",children:[(0,n.tZ)("h6",{className:(0,y.cn)("font-header-6 mb-0 wrap-break-word text-ellipsis",x&&"mt-0",(null==O?void 0:O.type)===u.vw.Clip&&r?"line-clamp-1":"line-clamp-2"),children:B}),U&&(0,n.tZ)("p",{className:(0,y.cn)("font-body-small mb-0 text-opacity-06",(null==O?void 0:O.type)===u.vw.Clip?"line-clamp-2":"line-clamp-1"),children:U}),!(null==O?void 0:O.isLive)&&(0,n.tZ)("p",{className:"font-body-extra-small text-neutral-30 mb-0",children:L})]})]})})}},49578:function(e,t,r){"use strict";var n=r(35944),i=r(92159),a=r(39399),o=r(66488);t.Z=e=>{let{showSeriesTitle:t,isKijkHeader:r}=e;return(0,n.BX)("div",{"data-testid":"landscape-skeleton-item",className:"flex flex-col gap-3",children:[(0,n.tZ)(i.Z,{aspectRatio:"aspect-video"}),(0,n.BX)("div",{className:(0,o.cn)(r&&"lg:hidden"),children:[(0,n.tZ)(a.Z,{variant:"header-6",width:"three-quarters",className:"mb-[6px]"}),t&&(0,n.tZ)(a.Z,{variant:"body-small",width:"half",className:"mb-[6px]"}),(0,n.tZ)(a.Z,{variant:"body-extra-small",width:"quarter"})]})]})}},49034:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(35944),i=r(41664),a=r.n(i),o=r(77838),s=r(46635),l=r(66488),u=r(25675),c=r.n(u),d=r(14775),h=r(21953),p=r(19672),f=r(24390),m=e=>{let{hasVideo:t,imageUrl:r,title:i,sponsor:a,statusLabel:o,category:s}=e;return(0,n.BX)(n.HY,{children:[(0,n.BX)("div",{className:(0,l.cn)("relative w-[115px] min-w-[115px] aspect-4-3","md:w-[121px] md:min-w-[121px] md:aspect-3-2"),children:[t&&(0,n.tZ)("div",{className:"absolute bottom-2 right-2 z-base",children:(0,n.tZ)(f.hU,{icon:h.LM.PlayIconFilled,size:d.qE.ExtraSmall,isNonInteractive:!0,"data-testid":g})}),(0,n.tZ)(c(),{className:"object-cover rounded-lg",src:r,alt:i,fill:!0,sizes:"(max-width: 900px) 33vw, 10vw"}),!!o&&(0,n.tZ)(p.Z,{className:(0,l.cn)("z-base left-2 bottom-2 h-[unset] font-body-extra-small-strong","rounded-xs rounded-bl-sm py-[2px] px-1 bg-opacity-02",(o===h.c4.Active||o===h.c4.Upcoming)&&"text-infinite-collection-item-label bg-infinite-collection-item-label"),dataLabel:o,text:o})]}),(0,n.BX)("div",{className:"flex flex-col w-full gap-1 pt-1 pb-3 md:py-1",children:[a?(0,n.BX)("div",{className:"flex items-center justify-between h-[15px] gap-6",children:[(0,n.tZ)("div",{className:"font-body-extra-small text-neutral-40 line-clamp-1 wrap-break-word text-ellipsis",children:a.text}),(0,n.tZ)("div",{className:(0,l.cn)("flex justify-center items-center relative","min-w-[50px] h-5","max-md:hidden"),children:(0,n.tZ)(c(),{className:"max-w-full object-contain",src:a.imageUrl,alt:"sponsored-".concat(i),sizes:"50px",fill:!0})})]}):s&&(0,n.tZ)("h5",{className:(0,l.cn)("overflow-hidden text-primary-100 text-ellipsis","font-category uppercase"),children:s.title}),(0,n.tZ)("h6",{className:(0,l.cn)("w-full max-h-19 font-header-6","line-clamp-3 wrap-break-word text-ellipsis","md:line-clamp-2"),children:i})]})]})};let g="linkListItemPlayButton";var v=e=>{let{url:t,sponsor:r,position:i,collectionTitle:u,hasVideo:c,...d}=e,h=(0,o.L)(t);return(0,n.BX)(a(),{href:t,onClick:()=>(0,s.Z)({...e,label:u,position:i}),...h,children:[r&&(0,n.tZ)("div",{className:"font-body-small text-neutral-30 pb-1 text-center max-md:hidden",children:r.label}),(0,n.tZ)("div",{className:(0,l.cn)("relative flex gap-3",r?["items-start","md:py-[18px] md:border-t md:border-b md:border-solid md:border-neutral-10"]:"items-center"),children:(0,n.tZ)(m,{hasVideo:c,sponsor:r,...d})})]})},y=e=>{let{title:t,items:r}=e;return(0,n.BX)("div",{className:"flex flex-col gap-4 mt-6",children:[(0,n.tZ)("h3",{className:"font-header-3",children:t}),(0,n.tZ)("div",{className:"flex flex-col gap-4",children:r.map((e,r)=>(0,n.tZ)(v,{collectionTitle:t,position:r+1,...e},e.id))})]})}},36669:function(e,t,r){"use strict";r.d(t,{Z:function(){return R}});
141var n=r(35944),i=r(67294),a=r(25675),o=r.n(a),s=r(53390),l=r.n(s),u=r(11149),c=r(21953),d=r(78114),h=r(70103),p=r(30656),f=r(47968),m=r(14775),g=r(11163),v=r(37082),y=r(19192),b=r(32564),S=r(82053),w=r(33209),x=r(47488),E=r(36492),T=r(23270);let k="error-collection",C=async e=>{let t=await (0,x.j0)(e);return t};var _=e=>{let{collectionUrl:t,limit:r}=e,{data:i,error:a,isLoading:o}=(0,E.a)({queryKey:[k],queryFn:()=>C(t)});return((0,p.XY)(a,{queryKey:k,collectionUrl:t}),!i&&o)?(0,n.tZ)(b.Z,{limit:r,showCategory:!0,showButton:!0}):i?(0,n.tZ)(T.Z,{...i}):null};let P=e=>{l().link({event_name:d.SP.SEARCH_QUERY_404,event_category:d.$1.SEARCH,event_label:d.KX.SEARCH_RESULTS,event_value:e})},A=e=>{l().link({event_name:d.SP.SEARCH_QUERY_404,event_category:d.$1.SEARCH,event_label:e})};var N=()=>{let{asPath:e}=(0,g.useRouter)(),t=(0,i.useMemo)(()=>{var e;return null===(e=y.Uk.find(e=>e.slug===y.sR.Articles))||void 0===e?void 0:e.contentType},[]),{contentApiEndpoint:r,notFoundPage:{searchResultTitle:a,collectionUrl:o,disableSearch:s}}=(0,h._w)(),{items:l,isLoading:u,fetchNextPage:c,hasNextPage:d,isFetchingNextPage:p}=(0,w.Z)({queryKey:["route-slug-based-search",e],queryFn:n=>{var i,a;let{pageParam:o=1}=n,s=null!==(a=null===(i=(0,S.dC)(e))||void 0===i?void 0:i.replace(/-/g," "))&&void 0!==a?a:"";return s?(A(s),(0,x.LE)({endpoint:"".concat(r,"/search/").concat(s),page:o,contentType:t,limit:8})):{items:[],nextPage:8,totalResults:0}},enabled:!s,getNextPageParam:e=>e.nextPage}),f=u&&!s;return!f||(null==l?void 0:l.length)?!o||(null==l?void 0:l.length)||f?(0,n.tZ)(v.Z,{title:a,items:l,isFetchingNextPage:p,hasNextPage:!!d,isLoading:u,limit:8,fetchNextPage:c,trackClick:P}):(0,n.tZ)(_,{collectionUrl:o,limit:8}):(0,n.tZ)(b.Z,{limit:8,showCategory:!0,showButton:!0})};let I=()=>{l().link({event_name:d.SP.CONTENT_LISTING_CLICK,event_category:d.$1.NOT_FOUND,event_label:d.KX.NAVIGATION.HOME})};var R=e=>{let{is404:t,error:r}=e,{notFoundPage:a,errorPage:s}=(0,h._w)();(0,i.useEffect)(()=>{r&&(0,p.Nd)(r)},[r]),(0,f.Z)({isLoading:!1,data:null});let{headerText:l,bodyText:d,imageUrl:g}=t?a:s;return(0,n.BX)(u.Z,{children:[(0,n.BX)("div",{className:"flex flex-col gap-8 mx-auto mt-16 mb-20 md:w-153.5 md:gap-6 xl:flex-row-reverse xl:w-auto xl:gap-8",children:[g&&(0,n.tZ)("div",{className:"xl:w-150 xl:h-100",children:(0,n.tZ)("div",{className:"aspect-3-2 relative w-full xl:flex-1",children:(0,n.tZ)(o(),{src:g,alt:"error-image",fill:!0,sizes:"(max-width: 1200px) 100vw, 50vw"})})}),(0,n.BX)("div",{className:"flex flex-col items-center justify-center gap-8 xl:items-start xl:flex-1",children:[(0,n.tZ)("h1",{className:"font-header-1 text-center xl:text-left",children:l}),(0,n.tZ)("p",{className:"font-body-large text-center xl:text-left",children:d}),(0,n.tZ)(m.ZP,{component:"a",fullWidth:!0,href:"/",size:m.qE.Large,onClick:I,className:"mt-2 md:mt-4",children:c.M5})]})]}),t&&(0,n.tZ)(N,{})]})}},2081:function(e,t,r){"use strict";r.d(t,{Z:function(){return b}});var n=r(35944);r(67294);var i=r(9008),a=r.n(i),o=r(11163),s=r(36492),l=r(64157),u=r(36669),c=r(64561),d=r(57636),h=r(22405),p=r(32564),f=r(47488),m=r(54226),g=r(70103),v=r(77194),y=r(23251),b=e=>{let{category:t,collectionTitle:r,page:i=1,isVideoOverview:b,initialData:S,activeId:w,showCategory:x,onPageChange:E,endpoint:T,collectionName:k}=e,{origin:C,designTokens:_}=(0,g._w)(),{asPath:P}=(0,o.useRouter)(),[A=""]=P.split("?"),N=(0,m.Z)(_.articleGrid.itemFetchLimit),I=N*y.g,{articleEndpoint:R,videoEndpoint:O}=null!=t?t:{},L=(i-1)*I,D=T&&k?[T,k,L,I]:["category-overview",b,O,R,L,I],{data:M,isLoading:Z,error:F}=(0,s.a)({queryKey:D,queryFn:()=>{let e=null!=T?T:b?O:R;if(e)return(0,f.LE)({endpoint:e,limit:I,page:i})},enabled:!!t||!!T,initialData:S}),{items:j,totalResults:B}=null!=M?M:{},U=B?Math.ceil(B/I):0,$=i<U;return!Z&&(t||T)?j?(0,n.BX)(n.HY,{children:[!E&&(0,n.BX)(a(),{children:[1!==i&&(0,n.tZ)("link",{rel:"prev",href:"".concat(C).concat(A).
141concat(2===i?"":"?page=".concat((i-1).toString()))}),$?(0,n.tZ)("link",{rel:"next",href:"".concat(C).concat(A,"?page=").concat((i+1).toString())}):null]}),(0,n.BX)(d.Z,{children:[(0,n.tZ)(h.ZP,{children:r}),j.length?(0,n.tZ)(v.Z,{children:j.map((e,t)=>(0,n.tZ)(l.Z,{position:t+1,showCategory:x,sectionTitle:r,isActive:!!e.videoGuid&&e.videoGuid===w,link:e},e.id))}):(0,n.tZ)("p",{className:"font-body-large self-start",children:"Helaas kunnen we geen items vinden."})]}),!!U&&(0,n.tZ)(c.Z,{count:U,currentPage:i,onPageChange:E})]}):(0,n.tZ)(u.Z,{error:F}):(0,n.tZ)(p.Z,{limit:I})}},64561:function(e,t,r){"use strict";r.d(t,{Z:function(){return Y}});var n=r(35944),i=r(67294),a=r(41664),o=r.n(a),s=r(11163),l=r(90512),u=r(94780),c=r(1588),d=r(34867);function h(e){return(0,d.ZP)("MuiPagination",e)}(0,c.Z)("MuiPagination",["root","ul","outlined","text"]);var p=r(38366),f=r(82056);function m(e){return(0,d.ZP)("MuiPaginationItem",e)}let g=(0,c.Z)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]);var v=r(32956),y=r(98216),b=r(40902),S=r(31396),w=r(16694),x=r(28628);function E(e){return(0,d.ZP)("MuiSvgIcon",e)}(0,c.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var T=r(85893);let k=e=>{let{color:t,fontSize:r,classes:n}=e,i={root:["root","inherit"!==t&&`color${(0,y.Z)(t)}`,`fontSize${(0,y.Z)(r)}`]};return(0,u.Z)(i,E,n)},C=(0,S.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,y.Z)(r.color)}`],t[`fontSize${(0,y.Z)(r.fontSize)}`]]}})((0,w.Z)(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),_=i.forwardRef(function(e,t){let r=(0,x.i)({props:e,name:"MuiSvgIcon"}),{children:n,className:a,color:o="inherit",component:s="svg",fontSize:u="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:h,viewBox:p="0 0 24 24",...f}=r,m=i.isValidElement(n)&&"svg"===n.type,g={...r,color:o,component:s,fontSize:u,instanceFontSize:e.fontSize,inheritViewBox:d,viewBox:p,hasSvgAsChild:m},v={};d||(v.viewBox=p);let y=k(g);return(0,T.jsxs)(C,{as:s,className:(0,l.Z)(y.root,a),focusable:"false",color:c,"aria-hidden":!h||void 0,role:h?"img":void 0,ref:t,...v,...f,...m&&n.props,ownerState:g,children:[m?n.props.children:n,h?(0,T.jsx)("title",{children:h}):null]})});function P(e,t){function r(r,n){return(0,T.jsx)(_,{"data-testid":`${t}Icon`,ref:n,...r,children:e})}return r.muiName=_.muiName,i.memo(i.forwardRef(r))}_.muiName="SvgIcon";var A=P((0,T.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),N=P((0,T.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),I=P((0,T.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),R=P((0,T.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),O=r(33703),L=function(e,t=[]){if(void 0===e)return{};let r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEac
141h(t=>{r[t]=e[t]}),r},D=function(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t},M=function(e){let{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:i,className:a}=e;if(!t){let e=(0,l.Z)(r?.className,a,i?.className,n?.className),t={...r?.style,...i?.style,...n?.style},o={...r,...i,...n};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=L({...i,...n}),s=D(n),u=D(i),c=t(o),d=(0,l.Z)(c?.className,r?.className,a,i?.className,n?.className),h={...c?.style,...r?.style,...i?.style,...n?.style},p={...c,...r,...u,...s};return d.length>0&&(p.className=d),Object.keys(h).length>0&&(p.style=h),{props:p,internalRef:c.ref}};function Z(e,t){var r,n;let{className:i,elementType:a,ownerState:o,externalForwardedProps:s,internalForwardedProps:l,shouldForwardComponentProp:u=!1,...c}=t,{component:d,slots:h={[e]:void 0},slotProps:p={[e]:void 0},...f}=s,m=h[e]||a,g="function"==typeof(r=p[e])?r(o,void 0):r,{props:{component:v,...y},internalRef:b}=M({className:i,...c,externalForwardedProps:"root"===e?f:void 0,externalSlotProps:g}),S=(0,O.Z)(b,g?.ref,t.ref),w="root"===e?v||d:v,x=(n={..."root"===e&&!d&&!h[e]&&l,..."root"!==e&&!h[e]&&l,...y,...w&&!u&&{as:w},...w&&u&&{component:w},ref:S},void 0===m||"string"==typeof m?n:{...n,ownerState:{...n.ownerState,...o}});return[m,x]}let F=(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`size${(0,y.Z)(r.size)}`],"text"===r.variant&&t[`text${(0,y.Z)(r.color)}`],"outlined"===r.variant&&t[`outlined${(0,y.Z)(r.color)}`],"rounded"===r.shape&&t.rounded,"page"===r.type&&t.page,("start-ellipsis"===r.type||"end-ellipsis"===r.type)&&t.ellipsis,("previous"===r.type||"next"===r.type)&&t.previousNext,("first"===r.type||"last"===r.type)&&t.firstLast]},j=e=>{let{classes:t,color:r,disabled:n,selected:i,size:a,shape:o,type:s,variant:l}=e,c={root:["root",`size${(0,y.Z)(a)}`,l,o,"standard"!==r&&`color${(0,y.Z)(r)}`,"standard"!==r&&`${l}${(0,y.Z)(r)}`,n&&"disabled",i&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return(0,u.Z)(c,m,t)},B=(0,S.ZP)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:F})((0,w.Z)(({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${g.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),U=(0,S.ZP)(v.Z,{name:"MuiPaginationItem",slot:"Root",overridesResolver:F})((0,w.Z)(({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${g.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${g.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${g.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,p.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${g.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,p.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${g.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroun
141dChannel} / 0.23)`:`1px solid ${"light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${g.selected}`]:{[`&.${g.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${g.selected}`]:{[`&.${g.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter((0,b.Z)(["dark","contrastText"])).map(([t])=>({props:{variant:"text",color:t},style:{[`&.${g.selected}`]:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}},[`&.${g.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${g.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter((0,b.Z)(["light"])).map(([t])=>({props:{variant:"outlined",color:t},style:{[`&.${g.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:(0,p.Fq)(e.palette[t].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:(0,p.Fq)(e.palette[t].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,p.Fq)(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${g.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,p.Fq)(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}}}}))]}))),$=(0,S.ZP)("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})((0,w.Z)(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),V=i.forwardRef(function(e,t){let r=(0,x.i)({props:e,name:"MuiPaginationItem"}),{className:n,color:i="standard",component:a,components:o={},disabled:s=!1,page:u,selected:c=!1,shape:d="circular",size:h="medium",slots:p={},slotProps:m={},type:g="page",variant:v="text",...y}=r,b={...r,color:i,disabled:s,selected:c,shape:d,size:h,type:g,variant:v},S=(0,f.V)(),w=j(b),E={slots:{previous:p.previous??o.previous,next:p.next??o.next,first:p.first??o.first,last:p.last??o.last},slotProps:m},[k,C]=Z("previous",{elementType:I,externalForwardedProps:E,ownerState:b}),[_,P]=Z("next",{elementType:R,externalForwardedProps:E,ownerState:b}),[O,L]=Z("first",{elementType:A,externalForwardedProps:E,ownerState:b}),[D,M]=Z("last",{elementType:N,externalForwardedProps:E,ownerState:b}),F=S?({previous:"next",next:"previous",first:"last",last:"first"})[g]:g,V={previous:k,next:_,first:O,last:D}[F],z={previous:C,next:P,first:L,last:M}[F];return"start-ellipsis"===g||"end-ellipsis"===g?(0,T.jsx)(B,{ref:t,ownerState:b,className:(0,l.Z)(w.root,n),children:"…"}):(0,T.jsxs)(U,{ref:t,ownerState:b,component:a,disabled:s,className:(0,l.Z)(w.root,n),...y,children:["page"===g&&u,V?(0,T.jsx)($,{...z,className:w.icon,as:V}):null]})}),z=e=>{let{classes:t,variant:r}=e;return(0,u.Z)({root:["root",r],ul:["ul"]},h,t)},H=(0,S.ZP)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant]]}})({}),G=(0,S.ZP)("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function q(e,t,r){return"page"===e?`${r?"":"Go to "}page ${t}`:`Go to ${e} page`}let K=i.forwardRef(function(e,t){let r=(0,x.i)({props:e,name:"MuiPagination"}),{boundaryCount:n=1,className:a,color:o="standard",count:s=1,defaultPage:u=1,disabled:c=!1,getItemAriaLabel:d=q,hideNextButton:h=!1,hidePrevButton:p=!1,onChange:f,page:m,renderItem:g=e=>(0,T.jsx)(V,{...e}),shape:v="circular",showFirstButton:y=!1,showLastButton:b=!1,siblingCount:S=1,size:w="medium",variant:E="text",...k}=r,{items:C}=function(e={}){let{boundaryCount:t=1,componentName:r="usePagination",count:n=1,defaultPage:a=1,disabled:o=!1,hideNextButton:s=!1,hidePrevButton:l=!1,onChange:u,page:c,showFirstButton:d=!1,showLastButton:h=!1,siblingCount:p=1,...f}=e,[m,g]=function({controlled:e,default:t,name:r,state:n="value"}){let{current:a}=i.useRef(void 0!==e),[o,s]=i.useState(t),l=a?e:o,u=i.useCallback(e=>{a||s(e)},[]);return[l,u]}({controlled:c,default:a,name:r,state:"page"}),v=(e,t)=>
141{c||g(t),u&&u(e,t)},y=(e,t)=>{let r=t-e+1;return Array.from({length:r},(t,r)=>e+r)},b=y(1,Math.min(t,n)),S=y(Math.max(n-t+1,t+1),n),w=Math.max(Math.min(m-p,n-t-2*p-1),t+2),x=Math.min(Math.max(m+p,t+2*p+2),n-t-1),E=[...d?["first"]:[],...l?[]:["previous"],...b,...w>t+2?["start-ellipsis"]:t+1<n-t?[t+1]:[],...y(w,x),...x<n-t-1?["end-ellipsis"]:n-t>t?[n-t]:[],...S,...s?[]:["next"],...h?["last"]:[]],T=e=>{switch(e){case"first":return 1;case"previous":return m-1;case"next":return m+1;case"last":return n;default:return null}},k=E.map(e=>"number"==typeof e?{onClick:t=>{v(t,e)},type:"page",page:e,selected:e===m,disabled:o,"aria-current":e===m?"page":void 0}:{onClick:t=>{v(t,T(e))},type:e,page:T(e),selected:!1,disabled:o||!e.includes("ellipsis")&&("next"===e||"last"===e?m>=n:m<=1)});return{items:k,...f}}({...r,componentName:"Pagination"}),_={...r,boundaryCount:n,color:o,count:s,defaultPage:u,disabled:c,getItemAriaLabel:d,hideNextButton:h,hidePrevButton:p,renderItem:g,shape:v,showFirstButton:y,showLastButton:b,siblingCount:S,size:w,variant:E},P=z(_);return(0,T.jsx)(H,{"aria-label":"pagination navigation",className:(0,l.Z)(P.root,a),ownerState:_,ref:t,...k,children:(0,T.jsx)(G,{className:P.ul,ownerState:_,children:C.map((e,t)=>(0,T.jsx)("li",{children:g({...e,color:o,"aria-label":d(e.type,e.page,e.selected),shape:v,size:w,variant:E})},t))})})});var W=r(19822),X=r(15386),Y=e=>{var t,r;let{currentPage:a,count:l,onPageChange:u}=e,{asPath:c}=(0,s.useRouter)(),[d]=c.split("?"),h=(0,i.useMemo)(()=>{let e=e=>{let t=[],r=a-Math.floor(e/2),n=a+Math.floor(e/2);r<1&&(r=1,n=Math.min(e,l)),n>l&&(r=Math.max(1,(n=l)-(e-1)));for(let e=r;e<=n;e++)t.push(e);return t};return{md:e(5),sm:e(3)}},[a,l]);return l?(0,n.tZ)(K,{sx:e=>({marginBottom:10,"& > .MuiPagination-ul":{justifyContent:"center"},"& .MuiPaginationItem-root":{font:X.Rq.bodySmall,color:X.O9.headerText},"& .MuiPaginationItem-root.Mui-selected":{backgroundColor:X.O9.primary,color:X.O9.neutral0},"& .MuiPaginationItem-root.Mui-selected:hover":{backgroundColor:X.O9.neutral10,color:X.O9.neutral80},"& .MuiPaginationItem-root:hover ":{backgroundColor:X.O9.neutral10,color:X.O9.neutral80},"& .MuiPaginationItem-root.Mui-focusVisible":{backgroundColor:X.O9.neutral10},"& .MuiPaginationItem-ellipsis":{display:"none"},"& .MuiPaginationItem-icon":{"div > svg > path":{stroke:X.O9.headerText}},"& svg":{width:16,height:16},"& .MuiPaginationItem-page:not(.visible-md):not(.Mui-selected)":{display:"none"},[e.breakpoints.down("md")]:{"& .MuiPaginationItem-page:not(.visible-sm):not(.Mui-selected)":{display:"none"}}}),siblingCount:2,page:a,color:"primary",count:l,showFirstButton:!0,showLastButton:!0,onChange:(e,t)=>
141u&&t&&u(t),renderItem:e=>(0,n.tZ)(V,{...!u&&{component:o(),href:"".concat(1===e.page?d:"".concat(d,"?page=").concat(e.page))},className:"".concat(h.md.includes(null!==(t=e.page)&&void 0!==t?t:-1)?"visible-md":""," ").concat(h.sm.includes(null!==(r=e.page)&&void 0!==r?r:-1)?"visible-sm":""),slots:{first:W.rn,previous:W.WN,next:W.fn,last:W.nX},...e})}):null}},73716:function(e,t,r){"use strict";r.d(t,{$u:function(){return l},B$:function(){return o},Np:function(){return u},T5:function(){return c},sX:function(){return s}});var n=r(31396),i=r(15386),a=r(83751);let o=(0,n.ZP)("div",{target:"ei9oi550"})(e=>{let{theme:t}=e;return{flex:1,display:"flex",flexDirection:"column",margin:t.spacing(8,0),gap:t.spacing(3),[t.breakpoints.up("md")]:{gap:t.spacing(4),margin:t.spacing(10,0)}}}),s=(0,n.ZP)("div",{shouldForwardProp:e=>"hasLogo"!==e,target:"ei9oi551"})(e=>{let{hasLogo:t}=e;return{display:"flex",justifyContent:"space-between",alignItems:t?"self-start":"baseline"}}),l=(0,n.ZP)("h3",{target:"ei9oi552"})(()=>({font:i.Rq.header3,...(0,a.Z)(2)})),u=(0,n.ZP)("div",{target:"ei9oi553"})(e=>{let{theme:t}=e;return{font:i.Rq.buttonSmall,textTransform:i.S7.buttonTextTransform,color:i.O9.primary,[t.breakpoints.up("md")]:{font:i.Rq.buttonMedium}}}),c=(0,n.ZP)("div",{target:"ei9oi554"})(e=>{let{theme:t}=e;return{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",rowGap:t.spacing(4),columnGap:t.spacing(2),[t.breakpoints.up("md")]:{rowGap:t.spacing(6),columnGap:t.spacing(4),gridTemplateColumns:"repeat(4, 1fr)"},[t.breakpoints.up("lg")]:{gridTemplateColumns:"repeat(6, 1fr)"}}})},3726:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var n=r(35944),i=r(25675),a=r.n(i),o=r(41664),s=r.n(o),l=r(38858),u=r(21953),c=r(16434),d=r(66488),h=r(73716),p=r(92723);let f=Array.from({length:u.OE.KijkAndEvent},(e,t)=>({id:"skeleton-".concat(String(t)),isSkeleton:!0}));var m=e=>{let{items:t,title:r,showAllText:i,showAllUrl:o,isGrid:u,isFetchingNextPage:m,onLoadMore:g,swimlaneType:v,logoImageUrl:y,showTitle:b=!0}=e,S=!u&&m?[...t,...f]:t;return(0,n.BX)(h.B$,{className:"portrait-collection-container",children:[b&&(0,n.BX)(h.sX,{hasLogo:!!y,children:[(0,n.tZ)(h.$u,{className:"portrait-collection-title",children:r}),o&&!y&&(0,n.tZ)(h.Np,{children:(0,n.tZ)(s(),{href:o,children:i})}),y&&(0,n.tZ)("div",{className:(0,d.cn)("relative z-base h-12 w-32 -my-1","[&_img]:object-contain [&_img]:object-right","max-md:h-9 max-md:w-[90px] max-md:my-[-6px]"),children:(0,n.tZ)(a(),{src:y,alt:"Brand Logo ".concat(r),fill:!0,sizes:"(max-width: 768px) 90px, 128px",quality:100})})]}),u?(0,n.BX)(h.T5,{children:[t.map((e,t)=>(0,n.tZ)(c.Z,{item:e,index:t,title:r},e.id)),m&&f.map(e=>{let{id:t}=e;return(0,n.tZ)(p.r,{},t)})]}):(0,n.tZ)(l.ZP,{items:S,type:null!=v?v:l.yl.Portrait,onEndReached:g,renderItem:(e,t)=>"title"in e?(0,n.tZ)(c.Z,{item:e,index:t,title:r}):(0,n.tZ)(p.r,{})})]})}},92723:function(e,t,r){"use strict";r.d(t,{r:function(){return a}});var n=r(35944),i=r(92159);let a=()=>(0,n.tZ)(i.Z,{aspectRatio:"aspect-2-3",className:"w-full rounded-lg"})},60513:function(e,t,r){"use strict";r.d(t,{Z:function(){return rz}});var n,i,a,o=r(35944),s=r(67294),l=r(28994),u=r(12003),c=r(74465),d=r(25675),h=r.n(d),p=r(41664),f=r.n(p),m=r(53390),g=r.n(m),v=r(36492),y=r(21953),b=r(78114),S=r(47488),w=r(14775),x=r(66488);let E=["sponsored-card"],T=e=>{let t=document.location.pathname.includes(y._1.ARTICLE);g().link({event_category:b.$1.CONTENT_LISTING,event_name:"".concat(b.SP.CONTENT_LISTING_CLICK,"_sponsored_card_").concat(t?"article":"overview","_page"),event_label:e})};var k=()=>{var e,t,r,n,i,a,s,l,u,c,d;let{data:p}=(0,v.a)({queryKey:E,queryFn:()=>(0,S.dX)("/api/sponsoredCard")});return p?(0,o.BX)("div",{"data-testid":"SponsoredCard",className:(0,x.cn)("flex flex-col justify-center items-center","pb-4 border-b border-neutral-10"),children:[(0,o.tZ)("span",{className:(0,x.cn)("font-body-small text-neutral-30 text-center","pb-1 border-b border-neutral-10 mb-4 w-full"),children:y.AD}),(0,o.BX)("div",{className:(0,x.cn)("flex flex-col sm:flex-row","w-full items-start gap-3 font-body-small"),children:[(0,o.tZ)("div",{className:"flex items-center justify-center w-full sm:w-auto",children:(0,o.tZ)("div",{className:"relative aspect-video w-full sm:w-[230px]",children:(0,o.tZ)(h(),{src:p.imageUrl,alt:"sponsorImage",fill:!0,className:"object-cover rounded-md",sizes:"(max-width: 900px) 90vw, (max-width: 1440px) 25vw, 352px"})})}),(0,o.BX)("div",{className:"flex flex-col",children:[(0,o.tZ)("h6",{className:(0,x.cn)("font-header-6 mb-1 overflow-hidden","text-ellipsis line-clamp-2 wrap-break-word"),children:p.title}),(0,o.tZ)(rz,{richText:p.text,className:"line-clamp-3 sm:line-clamp-2 overflow-hidden text-ellipsis wrap-break-word"}),(0,o.BX)("div",{className:(0,x.cn)("flex justify-between items-center","mt-3 gap-4 sm:mt-2"),children:[(0,o.BX)("div",{className:"flex gap-2 items-center",children:[(0,o.tZ)("p",{className:(0,x.cn)("font-body-extra-small text-neutral-40 max-w-36","overflow-hidden text-ellipsis line-clamp-2 wrap-break-word"),children:p.sponsoredLabel}),(0,o.tZ)("div",{className:(0,x.cn)("flex justify-center items-center relative","w-[50px] h-5"),children:(0,o.tZ)(h(),{alt:"sponsorLogoImage",f
141ill:!0,sizes:"50px",src:p.logoUrl,className:"max-w-full max-h-5 object-contain object-left"})})]}),(0,o.tZ)(w.ZP,{href:null!==(s=null===(e=p.targetUrl)||void 0===e?void 0:e.url)&&void 0!==s?s:null===(t=p.targetLink)||void 0===t?void 0:t.url,component:f(),target:null!==(l=null===(r=p.targetUrl)||void 0===r?void 0:r.target)&&void 0!==l?l:null===(n=p.targetLink)||void 0===n?void 0:n.target,onClick:()=>{var e,t;return T(null!==(c=null!==(u=null===(e=p.targetUrl)||void 0===e?void 0:e.url)&&void 0!==u?u:null===(t=p.targetLink)||void 0===t?void 0:t.url)&&void 0!==c?c:"")},size:w.qE.Large,className:(0,x.cn)("h-10 max-w-50 sm:max-w-[275px] px-3 sm:px-4","overflow-hidden"),children:null!==(d=null===(i=p.targetUrl)||void 0===i?void 0:i.title)&&void 0!==d?d:null===(a=p.targetLink)||void 0===a?void 0:a.title})]})]})]})]}):null},C=r(18206),_=r(24390);let P=e=>{let{title:t,isOpen:r,...n}=e;return(0,o.BX)("div",{className:(0,x.cn)("flex justify-between gap-x-4 md:gap-x-6","cursor-pointer"),role:"button",tabIndex:0,"aria-expanded":r,...n,children:[(0,o.tZ)("h5",{className:"font-header-5",children:t}),(0,o.tZ)(_.hU,{icon:r?y.LM.Minus:y.LM.Plus,variant:r?w.$e.Outline:w.$e.Primary,component:"div"})]})},A=e=>{var t,r;let{isOpen:n,contentRef:i,children:a}=e,s=n?"".concat(String(null!==(r=null===(t=i.current)||void 0===t?void 0:t.scrollHeight)&&void 0!==r?r:0),"px"):"0px";return(0,o.tZ)("div",{ref:i,className:(0,x.cn)("font-body-medium","duration-300 ease-in-out overflow-hidden"),style:{maxHeight:s},"aria-hidden":!n,children:(0,o.tZ)("div",{className:(0,x.cn)("pt-4 pr-14 md:pr-16","transition-opacity duration-300 ease-in-out",n?"opacity-100":"opacity-0"),children:a})})};var N=e=>{let{title:t,text:r}=e,[n,i]=(0,s.useState)(!1),a=(0,s.useRef)(null);return(0,o.BX)("div",{className:(0,x.cn)("py-6","border-t border-divider","overflow-hidden"),children:[(0,o.tZ)(P,{title:t,isOpen:n,onClick:()=>{i(e=>!e)}}),(0,o.tZ)(A,{isOpen:n,contentRef:a,children:(0,o.tZ)(rz,{richText:r})})]})},I=r(74339),R=r(19822),O=r(31396),L=r(15386);let D=(0,O.ZP)("div",{target:"e1vheeoo0"})(e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:t.spacing(3)}}),M=(0,O.ZP)("h3",{target:"e1vheeoo1"})(()=>({font:L.Rq.header3})),Z=(0,O.ZP)("p",{target:"e1vheeoo2"})(()=>({font:L.Rq.bodyMedium,color:L.O9.neutral40}));var F=e=>{let{quote:t,author:r}=e;return(0,o.BX)(D,{children:[(0,o.tZ)(R.PE,{svgClassName:"w-10 h-[31px] md:w-12 md:h-[37px] text-quote"}),(0,o.tZ)(M,{children:t}),r&&(0,o.tZ)(Z,{children:r})]})},j=r(37911),B=r(87611);let U=(0,O.ZP)("div",{shouldForwardProp:e=>"isVoting"!==e,target:"e165jben0"})(e=>{let{isVoting:t,theme:r}=e;return{...t?{marginTop:r.spacing(-8),marginBottom:r.spacing(-8),[r.breakpoints.up("md")]:{marginTop:r.spacing(-10),marginBottom:r.spacing(-10)}}:{transform:"scale(1)"},"::part(youtube-embed)":{maxWidth:827,"@supports (aspect-ratio: 16 / 9)":{aspectRatio:"16 / 9",width:"100%",height:"auto"}}}}),$=j.Ry({type:j.i0("webx-eventbus-on"),eventName:j.Z_(),subscriptionId:j.Z_(),useLatest:j.O7().optional()}),V=j.Ry({type:j.i0("webx-eventbus-off"),eventName:j.Z_(),subscriptionId:j.Z_()}),z=j.Ry({type:j.i0("webx-eventbus-dispatch"),eventName:j.Z_(),data:j._4()}),H=["http://localhost:1234","https://acties.538.nl","https://acties.radio10.nl","https://acties.skyradio.nl"],G=j.Ry({type:j.i0("embed-size"),height:j.Rx()}),q=e=>{let{html:t}=e,r=(0,s.useRef)(null),n=t.includes("</talpa-voting>");return(0,s.useEffect)(()=>{var e;if(!r.current)return;let i=n&&document.getElementById(y.pb);if(i&&(i.style.setProperty("max-width","100vw","important"),i.style.setProperty("padding","0","important")),t.includes("<script")){let e=r.current;e.innerHTML=t;let n=r.current.querySelectorAll("script"),i=[];return n.forEach(t=>{let r=document.createElement("script");r.type=t.type||"text/javascript",t.src?r.src=t.src:r.textContent=t.textContent,e.appendChild(r),i.push(r),t.remove()}),()=>{e.innerHTML="",i.forEach(e=>e.remove())}}let a=null!==(e=r.current.shadowRoot)&&void 0!==e?e:r.current.attachShadow({mode:"open"});return a.innerHTML=t,()=>{i&&(i.style.removeProperty("max-width"),i.style.removeProperty("padding"))}},[t,n]),(0,s.useEffect)(()=>
141{if(!t.includes("<iframe"))return;let e=function(){let e=new Map;return{handleMessage:function(t){var r;if(r=t.origin,!H.includes(r))return!1;let n=$.safeParse(t.data);if(n.success){let{eventName:r,subscriptionId:i,useLatest:a}=n.data,o=t.source,s=t.origin,l=e=>{o.postMessage({type:"webx-eventbus-event",eventName:r,subscriptionId:i,data:e},s)};return e.set(i,{eventName:r,handler:l}),window.eventBus.on(r,l,null!=a&&a),!0}let i=V.safeParse(t.data);if(i.success){let{eventName:t,subscriptionId:r}=i.data,n=e.get(r);return n&&(window.eventBus.off(t,n.handler),e.delete(r)),!0}let a=z.safeParse(t.data);if(a.success){let{eventName:e,data:t}=a.data;return window.eventBus.dispatch(e,t),!0}return!1},cleanup:function(){e.forEach(e=>{let{eventName:t,handler:r}=e;window.eventBus.off(t,r)}),e.clear()}}}(),n=t=>{var n,i,a,o,s;if(e.handleMessage(t))return;let l=G.safeParse(t.data);if(!l.success)return;let u=[...null!==(o=null===(n=r.current)||void 0===n?void 0:n.querySelectorAll("iframe"))&&void 0!==o?o:[],...null!==(s=null===(a=r.current)||void 0===a?void 0:null===(i=a.shadowRoot)||void 0===i?void 0:i.querySelectorAll("iframe"))&&void 0!==s?s:[]],c=u.find(e=>e.contentWindow===t.source);c&&(c.style.height="".concat(String(l.data.height+24),"px"))};return window.addEventListener("message",n),()=>{window.removeEventListener("message",n),e.cleanup()}},[t]),(0,o.tZ)(U,{ref:r,isVoting:n,className:(0,x.cn)("html-embed-shadow-container",n&&"html-embed-voting")})};var K=e=>(0,o.tZ)(B.Z,{onError:()=>(0,o.tZ)(o.HY,{}),children:(0,o.tZ)(q,{...e})}),W=r(11752),X=r.n(W);let{publicRuntimeConfig:{imageDomain:Y}}=X()(),J=e=>{let{src:t,width:r}=e,n=["f_webp","c_limit","w_".concat(String(r)),r>=900?"r_8":"r_6"];return"".concat(Y,"/").concat(n.join(","),"/").concat(t)};var Q=e=>{let{fileUrl:t,width:r,height:n,description:i}=e;return(0,o.BX)("div",{className:"flex flex-col gap-2",children:[(0,o.tZ)("div",{className:"flex max-h-225",children:(0,o.tZ)(h(),{loader:J,src:t,alt:null!=i?i:"",height:n,width:r,sizes:"(max-width: 900px) 100vw, 740px","data-testid":"imageEmbedimage",className:"h-auto max-w-full object-contain"})}),(0,o.tZ)("p",{className:"font-body-small text-neutral-40",children:i})]})},ee=r(49034);let et=e=>{g().link({event_name:b.SP.INLINE_BUTTON,event_category:b.$1.BUTTON,event_label:e})};var er=e=>{let{text:t,type:r,targetUrl:n,target:i}=e;return(0,o.tZ)(w.ZP,{href:n,component:f(),variant:r,target:i,size:w.qE.Large,onClick:()=>et(n),className:"mt-6 last:mb-6",children:t})};let en={[l.oQ.Heading1]:{Tag:"h1",className:"font-header-1"},[l.oQ.Heading2]:{Tag:"h2",className:"font-header-2"},[l.oQ.Heading3]:{Tag:"h3",className:"font-header-3"},[l.oQ.Heading4]:{Tag:"h4",className:"font-header-4"},[l.oQ.Heading5]:{Tag:"h5",className:"font-header-5"},[l.oQ.Heading6]:{Tag:"h6",className:"font-header-6"}};var ei=e=>{let{children:t,type:r}=e;if(!r)return null;let n=en[r];if(!n)return null;let{Tag:i,className:a}=n;return(0,o.tZ)(i,{className:a,children:t})},ea=r(77838);let eo=e=>{g().link({event_category:b.$1.ARTICLE,event_name:b.SP.OUTBOUND_CLICK,event_label:e})};var es=e=>{let{data:t,children:r}=e;if(!(null==t?void 0:t.uri))return null;let n=t.uri,i=(0,ea.L)(n);return(0,o.tZ)(f(),{href:n,className:"text-rich-text-link",onClick:()=>eo(n),...i,children:r})},el=e=>{let{children:t,type:r}=e;return r===l.oQ.OlList?(0,o.tZ)("ol",{className:"list-decimal pl-4",children:t}):r===l.oQ.UlList?(0,o.tZ)("ul",{className:"list-disc pl-4",children:t}):null},eu=r(12875),ec=r(11163),ed=e=>{var t;let{value:r,onChange:n,variables:i}=e,{asPath:a}=(0,ec.useRouter)(),[,s="",l=""]=a.split(/[/?]/),u=null!==(t=i[s])&&void 0!==t?t:i[l];return u?(0,o.tZ)("input",{"data-testid":"TableFilter",value:r,onChange:e=>{n(e.target.value)},placeholder:u,className:(0,x.cn)("flex-1 w-full rounded-full border-none outline-none","bg-neutral-10 text-neutral-50 font-body-medium","py-[14px] px-6","placeholder:text-neutral-40 placeholder:opacity-100","md:w-114"),"aria-label":u}):null};let eh=e=>e.normalize("NFD").replace(/[\u0300-\u036f`]/g,""),ep=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ef=e=>{if(!e)return"";let t=e.content.map(e=>e.content.flatMap(e=>e.content.flatMap(e=>rF(e)?e.value:rj(e)?e.content.filter(rF).map(e=>e.value):"")).join(""));return eh(t.join(" | "))};var em=e=>{var t;let{content:r}
141=e,[n,i]=(0,s.useState)(""),{enabled:a,variables:u}=(0,eu.SS)(eu.O5.TableFilter),[c,d]=(0,s.useMemo)(()=>{var e;let t;let i=e=>{let t=ep(eh(n)),r=RegExp("\\b".concat(t),"i");return r.test(e)},a=[],o=[...r].map((e,t)=>{let[r]=e.content,n=(null==r?void 0:r.nodeType)===l.oQ.TableHeaderCell,i=ef(e);return n&&(a=i.split(" | ").map((e,t)=>"hidden"===e?t:null).filter(e=>null!==e)),{id:"row-".concat(String(t)),isHeader:n,sanitized:i,content:e.content.map((e,r)=>({id:"column-".concat(String(t),"-").concat(String(r)),hidden:a.includes(r),children:rM(e.content)})).filter(e=>!e.hidden)}}).filter(e=>e.isHeader||!n||i(e.sanitized));return(null===(e=o[0])||void 0===e?void 0:e.isHeader)&&(t=o.shift()),[t,o]},[r,n]);return(0,o.BX)("div",{children:[a&&u?(0,o.tZ)(ed,{value:n,onChange:i,variables:u}):null,(0,o.tZ)("div",{className:"overflow-x-auto",children:(0,o.BX)("table",{className:"w-full",children:[c?(0,o.tZ)("thead",{children:(0,o.tZ)("tr",{children:c.content.map(e=>(0,o.tZ)("th",{className:"font-body-medium-strong border-b border-neutral-20 p-4 text-left",children:e.children},e.id))})}):null,(0,o.BX)("tbody",{children:[!d.length&&(0,o.tZ)("tr",{className:"odd:bg-neutral-10",children:(0,o.tZ)("td",{colSpan:null!==(t=null==c?void 0:c.content.length)&&void 0!==t?t:1,className:"font-body-small p-4",children:"No results"})}),d.map(e=>(0,o.tZ)("tr",{className:"odd:bg-neutral-10",children:e.content.map(e=>(0,o.tZ)("td",{className:"font-body-small border-b border-neutral-20 p-4",children:e.children},e.id))},e.id))]})]})})]})},eg=r(73546),ev=function(e){let{children:t,defer:r=!1,fallback:n=null}=e,[i,a]=s.useState(!1);return(0,eg.Z)(()=>{r||a(!0)},[r]),s.useEffect(()=>{r&&a(!0)},[r]),i?t:n},ey=r(25196);let eb=e=>e===l.kG.Tiktok?"TikTok":(0,ey.Z)(e),eS=e=>e?"Helaas kunnen wij deze ".concat(eb(e)," post niet laden omdat je hier geen toestemming voor hebt gegeven. Accepteer de Marketing en Social Media cookies om de post alsnog te laden."):"";var ew=r(88078),ex=()=>(0,o.tZ)(ew.Z,{sx:{backgroundColor:L.O9.neutral10},variant:"rounded",height:500,width:"100%","data-testid":"socialEmbedSkeletonDataTestId"}),eE=e=>{let{title:t,align:r="start",children:n}=e;return(0,o.BX)("div",{className:(0,x.cn)("flex flex-col","center"===r?"items-center":"items-start","bg-neutral-10 rounded-md py-6 px-4"),children:[t&&(0,o.tZ)("h4",{className:"font-header-4 mb-4 text-frame-title",children:t}),n]})},eT=r(86720),ek=r(64571),eC=r(49139),e_=r(16567);let eP=(e,t)=>void 0===t?"100%":e?"100%":t,eA=(e,t,r,n)=>e?"100%":void 0!==t?t:void 0!==(null==r?void 0:r.height)||void 0!==(null==r?void 0:r.maxHeight)?"100%":n;var eN=e=>{let{className:t,...r}=e;return(0,o.BX)("div",{className:(0,x.cn)(t),...r,children:[(0,o.tZ)("div",{className:"h-5 w-5 rounded-full bg-[#F4F4F4]"}),(0,o.tZ)("div",{className:(0,x.cn)("h-0 w-0 border-y-2 border-l-[6px] border-y-transparent border-l-[#F4F4F4]","transform-[translateX(16px)_translateY(-4px)_rotate(30deg)]")})]})},eI=e=>{let{className:t,...r}=e;return(0,o.BX)("div",{className:(0,x.cn)(t),...r,children:[(0,o.tZ)("div",{className:(0,x.cn)("h-[12.5px] w-[12.5px] rounded-full bg-[#F4F4F4]","transform-[translateX(0px)_translateY(7px)]")}),(0,o.tZ)("div",{className:(0,x.cn)("ml-0.5 mr-1.5 h-[12.5px] w-[12.5px] flex-none bg-[#F4F4F4]","transform-[rotate(-45deg)_translateX(3px)_translateY(1px)]")}),(0,o.tZ)("div",{className:(0,x.cn)("h-[12.5px] w-[12.5px] rounded-full bg-[#F4F4F4]","transform-[translateX(9px)_translateY(-18px)]")})]})},eR=e=>{let{className:t,...r}=e;return(0,o.tZ)("div",{className:(0,x.cn)("h-[25px] w-[25px] transform-[translateX(0px)_translateY(-2px)]",t),...r,children:(0,o.BX)("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512",xmlSpace:"preserve",children:[(0,o.tZ)("path",{className:"fill-[#F4F4F4]",d:"M295.204,180.593C132.168,180.593,0,312.759,0,475.796 c51.398-130.047,184.869-203.22,317.483-183.603L295.204,180.593z"}),(0,o.tZ)("path",{className:"fill-[#F4F4F4]",d:"M512,253L295.204,36.204v217.818C159.946,249.655,34.992,339.262,0,475.794 c59.905-109.171,178.724-165.463,295.204-151.033v145.035L512,253z"})]})})},eO=e=>{let{className:t,...r}=e;return(0,o.BX)("div",{className:(0,x.cn)("flex items-center gap-3.5",t),...r,children:[(0,o.tZ)(eI,{}),(0,o.tZ)(eN,{}),(0,o.tZ)(eR,{})]})},eL=e=>{let{className:t,...r}=e;return(0,o.tZ)("div",{className:(0,x.cn)(t),...r,children:(0,o.BX)("div",{className:"flex gap-3.5",children:[(0,o.tZ)("div",{className:"h-10 w-10 rounded-full bg-[#F4F4F4]"}),(0,o.BX)("div",{className:"flex flex-col justify-center gap-1.5",children:[(0,o.tZ)("div",{className:"h-3.5 w-25 rounded bg-[#F4F4F4]"}),(0,o.tZ)("div",{className:"h-3.5 w-15 rounded bg-[#F4F4F4]"})]})]})})};let eD=RegExp("^[".concat("\x00","-").concat("\x1f"," ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:"),"i"),eM=(0,o.tZ)(e=>{let{className:t,...r}=e;return(0,o.tZ)("div",{className:(0,x.cn)("h-2.5 w-2.5 animate-spin rounded-full border-[3px] border-black/75 border-r-transparent",t),...r})},{});var eZ=e=>{var t;let{url:r,linkText:n="View post",imageUrl:i,spinner:a=eM,allowJavaScriptUrls:s=!0,spinnerDisabled:l,className:u,...c}=e;return eD.test(r)&&!s?null:(0,o.tZ)("div",{className:(0,x.cn)("relative box-border overflow-hidden rounded-none border border-[#dee2e6] bg-white",u),...c,children:(0,o.BX)("a",{href:r,className:"no-underline",target:"_blank",rel:"noopener noreferrer",children:[!i&&(0,o.tZ)("div",{className:(0,x.cn)("absolute top-0 left-0 z-2","flex items-start justify-between","bg-white p-4"),children:(0,o.tZ)(eL,{})}),(0,o.BX)("div",{className:(0,x.cn)("flex h-full w-full flex-col items-center",i?"justify-start":"justify-center"),children:[!i&&(0,o.BX)("div",{className:(0,x.cn)("z-3 flex w-full flex-col items-center justify-center","gap-4 bg-white p-2"),children:[!l&&a,!!n&&(0,o.tZ)("div",{className:"text-center text-sm font-[550] text-black",children:n})]}),i&&(void 0!==(null===(t=c.style)||void 0===t?void 0:t.height)?(0,o.tZ)("div",{className:(0,x.cn)("mb-10 h-full w-full","bg-cover bg-center bg-no-repeat"),style:{background:'url("'.concat(i,'")')}}):(0,o.tZ)("div",{className:"mb-10 w-full",children:(0,o.tZ)(h(),{src:i,alt:"",width:0,height:0,sizes:"100vw",className:"h-auto w-full"})}))]}),(0,o.BX)("div",{className:(0,x.cn)("absolute bottom-0 left-0 z-1","h-10 w-full bg-white"),children:[!i&&(0,o.tZ)(eO,{className:"ml-4"}),i&&(0,o.BX)("div",{className:"flex h-full items-center justify-between gap-4",children:[(0,o.tZ)("div",{className:"ml-4 font-semibold whitespace-nowrap text-[#0095f6]",children:n}),!l&&(0,o.tZ)("div",{className:"mr-4",children:a})]})]})]})})};let eF=eT.Z.pageContent.viewPostOnFacebook,ej=/\/(?:videos?|reel)\//,eB="check-script",eU="load-script",e$="confirm-script-loaded",eV="process-embed",ez="confirm-embed-success",eH="retrying",eG="embed-success";var eq=e=>
141{let{url:t,width:r,height:n,className:i,style:a,...l}=e,[u,c]=(0,s.useState)(eB),d=u===eG,h=(0,s.useRef)((0,eC.D)()),[p,f]=(0,s.useState)(()=>String(Date.now())),m="".concat(h.current,"-").concat(p),g=ej.test(t)?"fb-video":"fb-post",v=!!(null==r?void 0:r.toString().includes("%")),y=(0,s.useRef)(null),[b,S]=(0,s.useState)();(0,e_.Z)(()=>{let e;if(!v||!y.current)return;let t=new ResizeObserver(r=>{let[n]=r;if(!n)return;clearTimeout(e);let i=Math.round(n.contentRect.width);e=setTimeout(()=>{S(Math.min(Math.max(i,350),750)),t.disconnect()},300)});return t.observe(y.current),()=>{clearTimeout(e),t.disconnect()}},[v]);let w=!v||void 0!==b,E=v?b:null!=r?r:550;(0,e_.Z)(()=>{var e;u===eB&&w&&((null===(e=window.FB)||void 0===e?void 0:e.XFBML.parse)?c(eV):c(eU))},[u,w]),(0,e_.Z)(()=>{u===eU&&((0,ek.Z)("https://connect.facebook.net/nl_NL/sdk.js#xfbml=1&version=v16.0",document),c(e$))},[u]),(0,e_.Z)(()=>{if(u!==e$)return;let e=setInterval(()=>{var e;(null===(e=window.FB)||void 0===e?void 0:e.XFBML.parse)&&c(eV)},1);return()=>clearInterval(e)},[u]),(0,e_.Z)(()=>{var e;if(u!==eV)return;let t=null===(e=window.FB)||void 0===e?void 0:e.XFBML.parse;t&&(t(),c(ez))},[u]),(0,e_.Z)(()=>{if(u!==ez)return;let e=setInterval(()=>{let e=document.getElementById(h.current);if(!e)return;let t=e.getElementsByClassName(g)[0];t&&t.children.length>0&&c(eG)},1),t=setTimeout(()=>c(eH),5e3);return()=>{clearInterval(e),clearTimeout(t)}},[u,g]),(0,e_.Z)(()=>{u===eH&&(f(String(Date.now())),c(eV))},[u]);let T=!!(null==n?void 0:n.toString().includes("%")),k={maxWidth:v?void 0:550,width:eP(v,r),height:eA(T,n,a,372),border:"1px solid #dee2e6",borderRadius:3},C=(0,o.tZ)(eZ,{url:t,linkText:eF,style:k}),_=w?E:r;return(0,o.BX)("div",{ref:y,className:(0,x.cn)("rsme-facebook-embed relative overflow-hidden rounded-[3px]",i),style:{width:_,height:n,...a},...l,children:[(0,o.tZ)("div",{id:h.current,className:(0,x.cn)(!d&&"invisible absolute inset-0"),children:w&&(0,o.tZ)("div",{className:g,"data-href":t,"data-width":E,style:{width:E,height:T?"100%":n}},m)}),!d&&C]})};let eK=eT.Z.pageContent.viewPostOnInstagram,eW="check-script",eX="load-script",eY="confirm-script-loaded",eJ="process-embed",eQ="confirm-embed-success",e0="retrying";var e1=e=>{var t;let{url:r,width:n,height:i,className:a,style:l,...u}=e,[c,d]=(0,s.useState)(eW),h=(0,s.useRef)((0,eC.D)()),[p,f]=(0,s.useState)(()=>String(Date.now())),m="".concat(h.current,"-").concat(p);(0,e_.Z)(()=>{var e;c===eW&&((null===(e=window.instgrm)||void 0===e?void 0:e.Embeds.process)?d(eJ):d(eX))},[c]),(0,e_.Z)(()=>{c===eX&&((0,ek.Z)("https://www.instagram.com/embed.js",document),d(eY))},[c]),(0,e_.Z)(()=>{if(c!==eY)return;let e=setInterval(()=>{var e;(null===(e=window.instgrm)||void 0===e?void 0:e.Embeds.process)&&d(eJ)},1);return()=>clearInterval(e)},[c]),(0,e_.Z)(()=>{var e;if(c!==eJ)return;let t=null===(e=window.instgrm)||void 0===e?void 0:e.Embeds.process;t&&(t(),d(eQ))},[c]),(0,e_.Z)(()=>{if(c!==eQ)return;let e=setInterval(()=>{let e=document.getElementById(h.current);e||d("embed-success")},1),t=setTimeout(()=>d(e0),5e3);return()=>{clearInterval(e),clearTimeout(t)}},[c]),(0,e_.Z)(()=>{c===e0&&(f(String(Date.now())),d(eJ))},[c]);let g=(null!==(t=r.split(/[?#]/)[0])&&void 0!==t?t:r).replace(/\.com\/.*?\/p/,".com/p").replace(/\.com\/.*?\/reel/,".com/reel"),v="".concat(g).concat(g.endsWith("/")?"":"/"),y=!!(null==n?void 0:n.toString().includes("%")),b=!!(null==i?void 0:i.toString().includes("%")),S={minWidth:y?void 0:328,width:eP(y,n),height:eA(b,i,l,372),border:"1px solid #dee2e6",borderRadius:3},w=(0,o.tZ)(eZ,{url:v,linkText:eK,style:S});return(0,o.tZ)("div",{className:(0,x.cn)("relative overflow-hidden rounded-[3px]",h.current,a),style:{width:n,height:i,...l},...u,children:(0,o.BX)("blockquote",{className:"instagram-media m-0! w-[calc(100%-2px)] p-0!","data-instgrm-permalink":"".concat(v,"?utm_source=ig_embed&utm_campaign=loading"),"data-instgrm-version":"14","data-width":y?"100%":n,children:[w,(0,o.tZ)("div",{id:h.current,className:"instagram-media-pre-embed hidden",children:"\xa0"})]},m)})};let e2=eT.Z.pageContent.viewPostOnX,e3=null,e4=()=>window.twttr?Promise.resolve():(null!=e3||(e3=(0,ek.Z)("https://platform.twitter.com/widgets.js",document).finally(()=>{e3=null})),e3);var e5=e=>
141{let{url:t,width:r,height:n,className:i,style:a,...l}=e,u=(0,s.useRef)(null),[c,d]=(0,s.useState)(!0),h=t.substring(t.lastIndexOf("/")+1).replace(/[?].*$/,""),p=!!(null==r?void 0:r.toString().includes("%")),f=!!(null==n?void 0:n.toString().includes("%"));(0,e_.Z)(()=>{let e=!0;return e4().then(()=>{e&&window.twttr&&u.current&&window.twttr.widgets.createTweet(h,u.current).then(()=>{d(!1)})}),()=>{e=!1}},[]);let m={width:eP(p,r),height:eA(f,n,a,350)},g=(0,o.tZ)(eZ,{url:t,linkText:e2,className:(0,x.cn)("min-w-[250px] max-w-[550px]","border border-solid border-[#c9d4d9] rounded-xl"),style:m});return(0,o.BX)("div",{...l,className:(0,x.cn)("rsme-embed",i),style:{width:null!=r?r:void 0,height:null!=n?n:void 0,...a},children:[c&&g,(0,o.tZ)("div",{ref:u})]})};let e6=/^\d{6,}$/,e8=/\/(?:video|photo|v)\/\d{6,}/,e9=/\d{6,}/,e7=e=>null!==(i=e.split(/[?#]/)[0])&&void 0!==i?i:e,te=e=>{var t,r;let n=e.trim();if(e6.test(n))return n;let i=e7(n),a=null===(t=e8.exec(i))||void 0===t?void 0:t[0];if(a)return null===(r=e9.exec(a))||void 0===r?void 0:r[0];let o=i.replace(/\/+$/,"").split("/").pop();return o&&e6.test(o)?o:void 0},tt=e=>{let t=e.trim();if(t.startsWith("http"))return t;let r=te(t);return r?"https://www.tiktok.com/video/".concat(r):t},tr="tiktok-embed-script",tn=eT.Z.pageContent.viewPostOnTikTok,ti="process-embed",ta="confirm-embed-success",to="retrying";var ts=e=>{let{url:t,width:r,height:n,className:i,style:a,...l}=e,u=te(t),[c,d]=(0,s.useState)(ti),h=(0,s.useRef)((0,eC.D)()),[p,f]=(0,s.useState)(()=>Date.now().toString()),m="".concat(h.current,"-").concat(p);(0,e_.Z)(()=>{var e;if(c!==ti)return;null===(e=document.getElementById(tr))||void 0===e||e.remove();let t=document.createElement("script");t.src="".concat("https://www.tiktok.com/embed.js","?t=").concat(Date.now().toString()),t.id=tr,document.head.appendChild(t),d(ta)},[c]),(0,e_.Z)(()=>{if(c!==ta)return;let e=setInterval(()=>{document.getElementById(h.current)||d("embed-success")},1),t=setTimeout(()=>d(to),5e3);return()=>{clearInterval(e),clearTimeout(t)}},[c]),(0,e_.Z)(()=>{c===to&&(f(Date.now().toString()),d(ti))},[c]);let g=tt(t),v=!!(null==r?void 0:r.toString().includes("%")),y=!!(null==n?void 0:n.toString().includes("%")),b={width:eP(v,r),height:eA(y,n,a,550)},S=(0,o.tZ)(eZ,{url:g,linkText:tn,className:"border border-[rgba(22,24,35,0.12)] min-w-[325px] max-w-120",style:b});return(0,o.tZ)("div",{className:(0,x.cn)("relative overflow-hidden rounded-lg",i),style:{width:r,height:n,...a},...l,children:(0,o.tZ)("div",{className:"tiktok-embed-container",children:(0,o.tZ)("blockquote",{className:"tiktok-embed m-0! p-0!",cite:g,"data-vi
141deo-id":u,children:(0,o.tZ)("div",{id:h.current,className:"flex justify-center",children:S})},m)})})};let tl=e=>{let{embedValue:t,embedType:r}=e;return t&&r?r===l.kG.Facebook?(0,o.tZ)(eq,{"data-testid":r,url:t,width:"100%"}):r===l.kG.Instagram?(0,o.tZ)(e1,{"data-testid":r,url:t.startsWith("http")?t:"https://www.instagram.com/p/".concat(t,"/"),width:"100%"}):r===l.kG.Twitter?(0,o.tZ)(e5,{"data-testid":r,url:t,width:"100%"}):r===l.kG.Tiktok?(0,o.tZ)(ts,{"data-testid":r,url:t,width:"100%"}):null:null},tu=e=>{let{noConsentMessage:t}=e;return(0,o.BX)(eE,{title:"Mis je iets?",align:"center",children:[(0,o.tZ)("p",{children:t}),(0,o.tZ)(w.ZP,{component:f(),size:w.qE.Medium,href:"#consent",className:"mt-4",children:"Cookie-instellingen aanpassen"})]})};var tc=e=>{let[t,r]=(0,s.useState)(null);return((0,s.useEffect)(()=>{let t=t=>{let{consentGroups:n,isConsentModalClosed:i}=t;i&&(n&&n.includes("C0004")?r(""):r(eS(e.embedType)))};return window.eventBus.on("consentChange",t,!0),()=>{window.eventBus.off("consentChange",t)}},[e.embedType]),null===t)?(0,o.tZ)(ex,{}):t?(0,o.tZ)(tu,{noConsentMessage:t}):(0,o.tZ)(ev,{children:(0,o.tZ)("div",{"data-testid":"social-embed",className:"flex justify-center items-center relative",children:(0,o.tZ)(B.Z,{onError:()=>null,children:(0,o.tZ)(tl,{...e})})})})},td=r(5152),th=r.n(td);let tp=th()(()=>r.e(1226).then(r.bind(r,41226)),{loadableGenerated:{webpack:()=>[41226]}});var tf=e=>{let{title:t,text:r,target:n,buttonText:i,url:a,showTitle:s,stationSlug:l}=e;return(0,o.BX)(eE,{title:s?t:void 0,children:[(0,o.tZ)(rz,{richText:r}),l?(0,o.tZ)(tp,{title:t,slug:l}):i&&a&&(0,o.tZ)(w.ZP,{component:f(),size:w.qE.Medium,target:n,href:a,className:"mt-4",children:i})]})},tm=r(1279);let tg=(e,t)=>t&&"-"!==t.trim()?e===t?y.FQ.Equal:Number(e)<Number(t)-10?y.FQ.DoubleUp:Number(e)<Number(t)?y.FQ.Up:Number(e)>Number(t)?y.FQ.Down:y.FQ.None:y.FQ.New;var tv=r(82896),ty=r(83449),tb=r(16857),tS=r(64561),tw=r(15339),tx=r(94405),tE=r(30656);let tT={},tk=async e=>{if(tT[e])return tT[e];let t=await fetch(e);if(!t.ok)throw Error("Failed to fetch CSV: ".concat(t.statusText));let r=await t.text();return tT[e]=r,r},tC=async(e,t,r)=>{var n;let i=await tk(e),a=i.trim().split("\n"),o=!(null===(n=a[0])||void 0===n?void 0:n.includes("no-preview")),s=a.slice(1).map(e=>e.split(";")).map(e=>{let[t="",r="",n="",i="",a="",o]=e;return{artistName:i,title:a,toplist:{position:t,weeks:n,rankingTrend:tg(t,r),changed:r.trim()},isrc:null==o?void 0:o.replace("\r","")}}),l=s.some(e=>{var t;return null===(t=e.toplist)||void 0===t?void 0:t.changed});r&&(s=s.filter(e=>"".concat(e.title," ").concat(e.artistName).toLowerCase().includes(r.toLowerCase())));let u=Math.ceil(s.length/16),c=(t-1)*16,d=c+16,h=s.slice(c,d),p=await (0,tx.kv)(h);return{tracks:p.map(e=>{var t;return o||(delete e.previewUrl,delete e.spotifyLink),l||null!==(t=e.toplist)&&void 0!==t&&delete t.rankingTrend,e}),totalPages:u}};var t_=e=>{let{title:t,csvUrl:r}=e,[n,i]=(0,s.useState)(""),[a,l]=(0,s.useState)(1),{enabled:u}=(0,tv.Z)(eu.O5.TrackPreview),c=["toplist-tracks",r,a,n],{data:d,isLoading:h,error:p}=(0,v.a)({queryKey:c,queryFn:()=>tC(r,a,n),enabled:!!r}),{tracks:f,totalPages:m}=null!=d?d:{tracks:[],totalPages:0};return((0,tE.XY)(p,{queryKey:c.join(",")}),(0,s.useEffect)(()=>
141{l(1)},[n]),p)?null:(0,o.BX)(s.Fragment,{children:[(0,o.BX)("div",{className:(0,x.cn)("flex items-center justify-between px-3 my-8 md:mt-10","h-10 md:w-75","bg-neutral-10 rounded-[100px]"),children:[(0,o.tZ)(R.W1,{size:y.Jh.Large,className:"pr-2 text-neutral-40"}),(0,o.tZ)("input",{type:"text",value:n,placeholder:y.xA,onChange:e=>i(e.target.value),className:"flex-1 bg-transparent outline-none font-body-medium text-neutral-40"}),n&&(0,o.tZ)(w.ZP,{className:(0,x.cn)("bg-transparent hover:bg-transparent active:bg-transparent","text-neutral-90 hover:text-neutral-90 active:text-neutral-90"),startIcon:y.LM.Cross,onClick:()=>i(""),size:w.qE.Small,"aria-label":"clearInputIconAriaLabel"})]}),!n||f.length||h?(0,o.BX)(s.Fragment,{children:[(0,o.tZ)(ty.X,{children:h?(0,o.tZ)(tw.B,{limit:16}):f.map((e,r)=>(0,o.tZ)(tb.Y,{track:e,trackPreview:u,showRankingTrend:!0,contentName:t,spotifyEventCategory:b.$1.TOPLIST},"".concat(e.title,"-").concat(String(r))))}),!!m&&(0,o.tZ)(tS.Z,{currentPage:a,count:m,onPageChange:e=>l(e)})]}):(0,o.BX)(s.Fragment,{children:[(0,o.tZ)("h4",{className:"mt-8 text-neutral-80 font-header-4",children:y.$c}),(0,o.BX)("p",{className:"font-body-medium text-neutral-80 mt-8",children:["Helaas wij hebben niets gevonden voor jouw zoekopdracht",(0,o.tZ)("span",{className:"font-body-medium-strong",children:" ’".concat(n,"’.")})]}),(0,o.tZ)("p",{className:"font-body-medium text-neutral-80 mt-8",children:"Controleer de spelling of probeer een andere zoekopdracht."})]})]})},tP=r(48228),tA=r(62071),tN=r(27888);let tI=/^\+(?:(?:31[1-9]\d{8})|(?:(?!31)\d+))$/;var tR=e=>tI.test(e),tO=r(5168),tL=e=>{let{phoneHeader:t,phoneText:r,phoneButtonText:n,phoneLegalText:i,phoneNumber:a="",hasSubmitError:u,isSubmitting:c,onSubmit:d}
141=e,[h,p]=(0,s.useState)(a||"+31"),[f,m]=(0,s.useState)(!1),[g,v]=(0,s.useState)(!1),[b,S]=(0,s.useState)(!1),{loginStatus:x}=(0,tA.aF)(),E=async()=>{if(!tR(h)){m(!0);return}if(m(!1),h!==a){v(!0);try{let e=await fetch("/api/auth/update-phone",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({phone_number:h})});if(!e.ok){S(!0);return}}catch(e){S(!0);return}finally{v(!1)}}d()},T=g||(null!=c?c:x===y.IC.Loading);return(0,o.BX)(o.HY,{children:[(0,o.tZ)("h3",{className:"font-header-3",children:t}),(0,o.tZ)("p",{children:r}),(0,o.BX)("div",{className:"flex justify-center",children:[(0,o.tZ)("input",{className:"rounded-l-full bg-neutral-0 w-82 outline-0 px-6 py-3.5",type:"tel",placeholder:"Vul hier je telefoonnummer in",value:h,onChange:e=>{let t=e.target.value;p(t),m(t.length>0&&!tR(t))}}),(0,o.tZ)(w.ZP,{variant:w.$e.Secondary,className:"rounded-l-none w-41 disabled:bg-neutral-20",onClick:()=>{E()},disabled:T,children:T?(0,o.tZ)(tO.Z,{}):n})]}),f&&(0,o.tZ)("p",{className:"font-body-small text-danger-100 text-center",children:y.BR.PHONE_VALIDATION_ERROR}),(null!=u?u:b)&&(0,o.tZ)("p",{className:"font-body-small text-danger-100 text-center",children:y.BR.ERROR_TEXT}),(0,o.tZ)("div",{className:"[&>*]:w-[405px] [&_p]:font-body-extra-small flex justify-center",children:(0,o.tZ)(rz,{richText:i,layout:l.Cj.Center})})]})},tD=e=>{let{endScreenHeader:t,richText:r}=e;return(0,o.BX)(o.HY,{children:[(0,o.tZ)("h3",{className:"font-header-3",children:t}),r&&(0,o.tZ)(rz,{richText:r})]})}
141,tM=r(59190),tZ=r(89117),tF=r(12592),tj=r(54487),tB=r(55296),tU=r(32612),t$=function(e,t,r){let n=+(0,tU.Q)(e,r?.in),[i,a]=[+(0,tU.Q)(t.start,r?.in),+(0,tU.Q)(t.end,r?.in)].sort((e,t)=>e-t);return n>=i&&n<=a},tV=r(26843),tz=function(e,t){let r;let n=t?.in;return e.forEach(e=>{n||"object"!=typeof e||(n=tV.L.bind(null,e));let t=(0,tU.Q)(e,n);(!r||r>t||isNaN(+t))&&(r=t)}),(0,tV.L)(n,r||NaN)},tH=r(21860),tG=function(e,t,r){let n=t-(0,tU.Q)(e,r?.in).getDay();return n<=0&&(n+=7),(0,tH.E)(e,n,r)},tq=r(70684),tK=r(29412),tW=r(47387),tX=r(82889);class tY{subPriority=0;validate(e,t){return!0}}class tJ extends tY{constructor(e,t,r,n,i){super(),this.value=e,this.validateValue=t,this.setValue=r,this.priority=n,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,r){return this.setValue(e,t,this.value,r)}}class tQ extends tY{priority=10;subPriority=-1;constructor(e,t){super(),this.context=e||(e=>(0,tV.L)(t,e))}set(e,t){return t.timestampIsSet?e:(0,tV.L)(e,function(e,t){let r="function"==typeof t&&t.prototype?.constructor===t?new t(0):(0,tV.L)(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}(e,this.context))}}class t0{run(e,t,r,n){let i=this.parse(e,t,r,n);return i?{setter:new tJ(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,r){return!0}}var t1=r(86012);let t2={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},t3={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function t4(e,t){return e?{value:t(e.value),rest:e.rest}:e}function t5(e,t){let r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function t6(e,t){let r=t.match(e);if(!r)return null;if("Z"===r[0])return{value:0,rest:t.slice(1)};let n="+"===r[1]?1:-1,i=r[2]?parseInt(r[2],10):0,a=r[3]?parseInt(r[3],10):0,o=r[5]?parseInt(r[5],10):0;return{value:n*(i*t1.vh+a*t1.yJ+o*t1.qk),rest:t.slice(r[0].length)}}function t8(e){return t5(t2.anyDigitsSigned,e)}function t9(e,t){switch(e){case 1:return t5(t2.singleDigit,t);case 2:return t5(t2.twoDigits,t);case 3:return t5(t2.threeDigits,t);case 4:return t5(t2.fourDigits,t);default:return t5(RegExp("^\\d{1,"+e+"}"),t)}}function t7(e,t){switch(e){case 1:return t5(t2.singleDigitSigned,t);case 2:return t5(t2.twoDigitsSigned,t);case 3:return t5(t2.threeDigitsSigned,t);case 4:return t5(t2.fourDigitsSigned,t);default:return t5(RegExp("^-?\\d{1,"+e+"}"),t)}}function re(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function rt(e,t){let r;let n=t>0,i=n?t:1-t;if(i<=50)r=e||100;else{let t=i+50;r=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?r:1-r}function rr(e){return e%400==0||e%4==0&&e%100!=0}var rn=r(41388),ri=r(53170),ra=r(83628),ro=r(11425),rs=r(33143);let rl=[31,28,31,30,31,30,31,31,30,31,30,31],ru=[31,29,31,30,31,30,31,31,30,31,30,31];function rc(e,t,r){let n=(0,tX.j)(),i=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,tU.Q)(e,r?.in),o=a.getDay(),s=7-i;return(0,tH.E)(a,t<0||t>6?t-(o+s)%7:((t%7+7)%7+s)%7-(o+s)%7,r)}var rd=r(24959);let rh={G:new class extends t0{priority=140;parse(e,t,r){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"});case"GGGGG":return r.era(e,{width:"narrow"});default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})}}
141set(e,t,r){return t.era=r,e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]},y:new class extends t0{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,r){let n=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return t4(t9(4,e),n);case"yo":return t4(r.ordinalNumber(e,{unit:"year"}),n);default:return t4(t9(t.length,e),n)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r){let n=e.getFullYear();if(r.isTwoDigitYear){let t=rt(r.year,n);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let i="era"in t&&1!==t.era?1-r.year:r.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}},Y:new class extends t0{priority=130;parse(e,t,r){let n=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return t4(t9(4,e),n);case"Yo":return t4(r.ordinalNumber(e,{unit:"year"}),n);default:return t4(t9(t.length,e),n)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,r,n){let i=(0,rn.c)(e,n);if(r.isTwoDigitYear){let t=rt(r.year,i);return e.setFullYear(t,0,n.firstWeekContainsDate),e.setHours(0,0,0,0),(0,ri.z)(e,n)}let a="era"in t&&1!==t.era?1-r.year:r.year;return e.setFullYear(a,0,n.firstWeekContainsDate),e.setHours(0,0,0,0),(0,ri.z)(e,n)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:new class extends t0{priority=130;parse(e,t){return"R"===t?t7(4,e):t7(t.length,e)}set(e,t,r){let n=(0,tV.L)(e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),(0,ra.T)(n)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:new class extends t0{priority=130;parse(e,t){return"u"===t?t7(4,e):t7(t.length,e)}set(e,t,r){return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]},Q:new class extends t0{priority=120;parse(e,t,r){switch(t){case"Q":case"QQ":return t9(t.length,e);case"Qo":return r.ordinalNumber(e,{unit:"quarter"});case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"});default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth((r-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:new class extends t0{priority=120;parse(e,t,r){switch(t){case"q":case"qq":return t9(t.length,e);case"qo":return r.ordinalNumber(e,{unit:"quarter"});case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"});default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,r){return e.setMonth((r-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:new class extends t0{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,r){let n=e=>e-1;switch(t){case"M":return t4(t5(t2.month,e),n);case"MM":return t4(t9(2,e),n);case"Mo":return t4(r.ordinalNumber(e,{unit:"month"}),n);case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"});default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}},L:new class extends t0{priority=110;parse(e,t,r){let n=e=>e-1;switch(t){case"L":return t4(t5(t2.month,e),n);case"LL":return t4(t9(2,e),n);case"Lo":return t4(r.ordinalNumber(e,{unit:"month"}),n);case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"});default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,r){return e.setMonth(r,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:new class extends t0{priority=100;parse(e,t,r){switch(t){case"w":return t5(t2.week,e);case"wo":return r.ordinalNumber(e,{unit:"week"});default:return t9(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r,n){return(0,ri.z)(function(e,t,r){let n=(0,tU.Q)(e,r?.in),i=(0,ro.Q)(n,r)-t;return n.setDate(n.getDate()-7*i),(0,tU.Q)(n,r?.in)}(e,r,n),n)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:new class extends t0{priority=100;parse(e,t,r){switch(t){case"I":return t5(t2.week,e);case"Io":return r.ordinalNumber(e,{unit:"week"});default:return t9(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,r){return(0,ra.T)(function(e,t,r){let n=(0,tU.Q)(e,r?.in),i=(0,rs.l)(n,r)-t;return n.setDate(n.getDate()-7*i),n}(e,r))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:new class extends t0{priority=90;subPriority=1;parse(e,t,r){switch(t){case"d":return t5(t2.date,e);case"do":return r.ordinalNumber(e,{unit:"date"});default:return t9(t.length,e)}}validate(e,t){let r=e.getFullYear(),n=rr(r),i=e.getMonth();return n?t>=1&&t<=ru[i]:t>=1&&t<=rl[i]}set(e,t,r){return e.setDate(r),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:new class extends t0{priority=90;subpriority=1;parse(e,t,r){switch(t){case"D":case"DD":return t5(t2.dayOfYear,e);case"Do":return r.ordinalNumber(e,{unit:"date"});default:return t9(t.length,e)}}validate(e,t){let r=e.getFullYear(),n=rr(r);return n?t>=1&&t<=366:t>=1&&t<=365}set(e,t,r){return e.setMonth(0,r),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:new class extends t0{priority=90;parse(e,t,r){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=rc(e,r,n)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]},e:new class extends t0{priority=90;parse(e,t,r,n){let i=e=>(e+n.weekStartsOn+6)%7+7*Math.floor((e-1)/7);switch(t){case"e":case"ee":return t4(t9(t.length,e),i);case"eo":return t4(r.ordinalNumber(e,{unit:"day"}),i);case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});case"eeeee":return r.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"});default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=rc(e,r,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:new class extends t0{priority=90;parse(e,t,r,n){let i=e=>(e+n.weekStartsOn+6)%7+7*Math.floor((e-1)/7);switch(t){case"c":case"cc":return t4(t9(t.length,e),i);case"co":return t4(r.ordinalNumber(e,{unit:"day"}),i);case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});case"ccccc":return r.day(e,{width:"narrow",context:"standalone"});case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"});default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,r,n){return(e=rc(e,r,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:new class extends t0{priority=90;parse(e,t,r){let n=e=>0===e?7:e;switch(t){case"i":case"ii":return t9(t.length,e);case"io":return r.ordinalNumber(e,{unit:"day"});case"iii":return t4(r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n);case"iiiii":return t4(r.day(e,{width:"narrow",context:"formatting"}),n);case"iiiiii":return t4(r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n);default:return t4(r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n)}}validate(e,t){return t>=1&&t<=7}set(e,t,r){return(e=function(e,t,r){let n=(0,tU.Q)(e,r?.in),i=function(e,t){let r=(0,tU.Q)(e,t?.in).getDay();return 0===r?7:r}(n,r);return(0,tH.E)(n,t-i,r)}(e,r)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:new class extends t0{priority=80;parse(e,t,r){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(re(r),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]},b:new class extends t0{priority=80;
141parse(e,t,r){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(re(r),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]},B:new class extends t0{priority=80;parse(e,t,r){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"});default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,r){return e.setHours(re(r),0,0,0),e}incompatibleTokens=["a","b","t","T"]},h:new class extends t0{priority=70;parse(e,t,r){switch(t){case"h":return t5(t2.hour12h,e);case"ho":return r.ordinalNumber(e,{unit:"hour"});default:return t9(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,r){let n=e.getHours()>=12;return n&&r<12?e.setHours(r+12,0,0,0):n||12!==r?e.setHours(r,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]},H:new class extends t0{priority=70;parse(e,t,r){switch(t){case"H":return t5(t2.hour23h,e);case"Ho":return r.ordinalNumber(e,{unit:"hour"});default:return t9(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,r){return e.setHours(r,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]},K:new class extends t0{priority=70;parse(e,t,r){switch(t){case"K":return t5(t2.hour11h,e);case"Ko":return r.ordinalNumber(e,{unit:"hour"});default:return t9(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,r){let n=e.getHours()>=12;return n&&r<12?e.setHours(r+12,0,0,0):e.setHours(r,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]},k:new class extends t0{priority=70;parse(e,t,r){switch(t){case"k":return t5(t2.hour24h,e);case"ko":return r.ordinalNumber(e,{unit:"hour"});default:return t9(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,r){let n=r<=24?r%24:r;return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]},m:new class extends t0{priority=60;parse(e,t,r){switch(t){case"m":return t5(t2.minute,e);case"mo":return r.ordinalNumber(e,{unit:"minute"});default:return t9(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setMinutes(r,0,0),e}incompatibleTokens=["t","T"]},s:new class extends t0{priority=50;parse(e,t,r){switch(t){case"s":return t5(t2.second,e);case"so":return r.ordinalNumber(e,{unit:"second"});default:return t9(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,r){return e.setSeconds(r,0),e}incompatibleTokens=["t","T"]},S:new class extends t0{priority=30;parse(e,t){return t4(t9(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,r){return e.setMilliseconds(r),e}incompatibleTokens=["t","T"]},X:new class extends t0{priority=10;parse(e,t){switch(t){case"X":return t6(t3.basicOptionalMinutes,e);case"XX":return t6(t3.basic,e);case"XXXX":return t6(t3.basicOptionalSeconds,e);case"XXXXX":return t6(t3.extendedOptionalSeconds,e);default:return t6(t3.extended,e)}}set(e,t,r){return t.timestampIsSet?e:(0,tV.L)(e,e.getTime()-(0,rd.D)(e)-r)}incompatibleTokens=["t","T","x"]},x:new class extends t0{priority=10;parse(e,t){switch(t){case"x":return t6(t3.basicOptionalMinutes,e);case"xx":return t6(t3.basic,e);case"xxxx":return t6(t3.basicOptionalSeconds,e);case"xxxxx":return t6(t3.extendedOptionalSeconds,e);default:return t6(t3.extended,e)}}set(e,t,r){return t.timestampIsSet?e:(0,tV.L)(e,e.getTime()-(0,rd.D)(e)-r)}incompatibleTokens=["t","T","X"]},t:new class extends t0{priority=40;parse(e){return t8(e)}set(e,t,r){return[(0,tV.L)(e,1e3*r),{timestampIsSet:!0}]}incompatibleTokens="*"},T:new class extends t0{priority=20;parse(e){return t8(e)}set(e,t,r){return[(0,tV.L)(e,r),{timestampIsSet:!0}]}incompatibleTokens="*"}},rp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rm=/^'([^]*?)'?$/,rg=/''/g,rv=/\S/,ry=/[a-zA-Z]/;var rb=function(e,t,r,n){let i=()=>(0,tV.L)(n?.in||r,NaN),a=Object.assign({},(0,tX.j)()),o=n?.locale??a.locale??tq._,s=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,l=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0;if(!t)return e?i():(0,tU.Q)(r,n?.in);let u={firstWeekContainsDate:s,weekStartsOn:l,locale:o},c=[new tQ(n?.in,r)],d=t.match(rf).map(e=>{let t=e[0];if(t in tK.G){let r=tK.G[t];return r(e,o.formatLong)}return e}).join("").match(rp),h=[];for(let r of d){!n?.useAdditionalWeekYearTokens&&(0,tW.Do)(r)&&(0,tW.DD)(r,t,e),!n?.useAdditionalDayOfYearTokens&&(0,tW.Iu)(r)&&(0,tW.DD)(r,t,e);let a=r[0],s=rh[a];if(s){let{incompatibleTokens:t}=s;if(Array.isArray(t)){let e=h.find(e=>t.includes(e.token)||e.token===a);
141if(e)throw RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${r}\` at the same time`)}else if("*"===s.incompatibleTokens&&h.length>0)throw RangeError(`The format string mustn't contain \`${r}\` and any other token at the same time`);h.push({token:a,fullToken:r});let n=s.run(e,r,o.match,u);if(!n)return i();c.push(n.setter),e=n.rest}else{if(a.match(ry))throw RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");if("''"===r?r="'":"'"===a&&(r=r.match(rm)[1].replace(rg,"'")),0!==e.indexOf(r))return i();e=e.slice(r.length)}}if(e.length>0&&rv.test(e))return i();let p=c.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,r)=>r.indexOf(e)===t).map(e=>c.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),f=(0,tU.Q)(r,n?.in);if(isNaN(+f))return i();let m={};for(let e of p){if(!e.validate(f,u))return i();let t=e.set(f,m,u);Array.isArray(t)?(f=t[0],Object.assign(m,t[1])):f=t}return f};async function rS(e){let t=(0,tA.lI)();if(!e||!t)return!1;let r=await fetch(e,{method:"POST",headers:{Authorization:"Bearer ".concat(t)}});if(!r.ok)throw Error("Error while fetching user participation status: HTTP ".concat(String(r.status)));let n=await r.json();return n.canUserParticipate}let rw=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],rx=(e,t)=>!!e.startDate&&!!e.startTime&&!!e.endDate&&!!e.endTime&&t$(t,{start:e.startDate,end:e.endDate}),rE=e=>{let t=new Date;if(!rx(e,t)||!e.startTime||!e.endTime)return!1;let r=rw[t.getDay()];return!!(r&&e.weekdays.includes(r))&&t$(t,{start:rb(e.startTime,"HH:mm",t),end:rb(e.endTime,"HH:mm",t)})},rT=(e,t)=>{let r=t.weekdays.flatMap(r=>{let n=rw.indexOf(r);if(n<0||!t.startTime)return[];let i=n===e.getDay()?e:tG(e,n),a=rb(t.startTime,"HH:mm",i);return(0,tF.Z)(e,a)?[a]:[]});return r.length?tz(r):null},rk=e=>{var t,r;let n=new Date,i=e.filter(e=>rx(e,n)),a=i.flatMap(e=>null!==(t=rT(n,e))&&void 0!==t?t:[]);if(!a.length)return null;let o=tz(a);return(0,tj.Z)(o)?"Speel mee vanaf ".concat((0,tZ.ZP)(o,"HH:mm")):(0,tB.Z)(o)?"Speel morgen weer":"Speel mee op ".concat(null!==(r=y.Dy[o.getDay()])&&void 0!==r?r:"")};var rC=e=>{let{loginStatus:t}=(0,tA.aF)(),r=(0,s.useMemo)(()=>e.find(rE),[e]),n=["button-campaign-participation",null==r?void 0:r.canParticipateEndpoint,t],{data:i,isFetching:a,error:o}=(0,v.a)({queryKey:n,queryFn:()=>rS(null==r?void 0:r.canParticipateEndpoint),enabled:!!(null==r?void 0:r.canParticipateEndpoint)&&t===y.IC.Authenticated}),l=(0,s.useMemo)(()=>r&&!1!==i?t===y.IC.Unauthenticated?y.BR.LOGIN_TEXT:y.BR.PARTICIPATE_TEXT:rk(e),[e,r,i,t]);return(0,tE.XY)(o,{queryKey:n.join(",")}),{round:r,canParticipate:!1!==i,isLoading:a||t===y.IC.Loading,buttonText:l}};let r_="button-campaign-click-before-login",rP=(e,t)=>t?y.LM.Spinner:e?y.LM.Time:void 0;var rA=e=>{let{campaignTitle:t,campaignSlug:r,rounds:n,howToPlayText:i,alreadyPlayedText:a,alreadyPlayedHeader:l,hasSubmitError:u,isSubmitting:c,onSubmit:d}=e,{loginStatus:h}=(0,tA.aF)(),{round:p,canParticipate:f,isLoading:m,buttonText:v}=rC(n);(0,s.useEffect)(()=>{p&&(0,tM.ej)(r_)&&h===y.IC.Authenticated&&((0,tM.nJ)(r_),d(p))},[d,p,h]);let S=!p||!f||!!c;return m?(0,o.BX)(o.HY,{children:[(0,o.tZ)("div",{className:"pt-32"}),(0,o.tZ)(w.ZP,{variant:w.$e.Secondary,size:w.qE.Large,tone:w.dz.Inverse,className:"w-[270px] disabled:bg-neutral-20",iconSize:w.hp.Oversized,disabled:!0,startIcon:y.LM.Spinner})]}):(0,o.BX)(o.HY,{children:[(0,o.tZ)("h3",{className:"font-header-3",children:f?t:l}),(0,o.tZ)(rz,{richText:f?i:a}),(0,o.BX)("div",{children:[(0,o.tZ)(w.ZP,{variant:w.$e.Secondary,size:w.qE.Large,tone:S?w.dz.Muted:void 0,className:S?"disabled:bg-neutral-20":void 0,startIcon:rP(S,c),endIcon:S?void 0:y.LM.RightChevron,disabled:S,onClick:()=>{if(g().link({event_name:b.SP.BUTTON_CLICK,event_category:b.$1.BUTTON,event_label:r,content_name:h===y.IC.Unauthenticated?y.BR.LOGIN_TEXT:y.BR.PARTICIPATE_TEXT}),h===y.IC.Unauthenticated){(0,tM.d8)(r_,"true",1/24),window.eventBus.dispatch("requestSignIn",{});return}p&&d(p)},children:v}),u&&(0,o.tZ)("p",{className:"font-body-small text-danger-100 mt-2 text-center",children:y.BR.ERROR_TEXT})]})]})};(n=a||(a={}))[n.START=0]="START",n[n.PHONE=1]="PHONE",n[n.END=2]="END";let rN=e=>{var t,r,n,i;let{campaign:l}
141=e,[u,c]=(0,s.useState)(a.START),[d,h]=(0,s.useState)(),{user:p}=(0,tA.aF)(),{mutate:f,isPending:m,isError:v}=(0,tP.D)({mutationFn:async e=>{let t=(0,tA.lI)();if(!t)throw Error("Error while participating in button campaign: No valid id token found");let r=await fetch(e.participateEndpoint,{method:"POST",headers:{Authorization:"Bearer ".concat(t)}});return r.json()},onSuccess:e=>{if(!e.success){(0,tE.Nd)(Error("User already participated in the campaign"),{campaign_slug:l.slug}),(0,tN.ii)(),c(a.START);return}c(a.END),g().link({event_name:b.SP.BUTTON_CLICK,event_category:b.$1.BUTTON,event_label:l.slug,content_name:y.BR.SEND_TEXT})},onError:e=>{(0,tE.Nd)(e,{campaign_slug:l.slug})}});return u===a.PHONE?(0,o.tZ)(tL,{phoneHeader:null!==(t=l.phoneHeader)&&void 0!==t?t:"",phoneText:null!==(r=l.phoneText)&&void 0!==r?r:"",phoneButtonText:null!==(n=l.phoneButtonText)&&void 0!==n?n:"",phoneLegalText:l.phoneLegalText,phoneNumber:null==p?void 0:p.phoneNumber,hasSubmitError:v,isSubmitting:m,onSubmit:()=>d&&f(d)},null==p?void 0:p.phoneNumber):u===a.END?(0,o.tZ)(tD,{endScreenHeader:null!==(i=l.endScreenHeader)&&void 0!==i?i:"",richText:l.endScreenText}):(0,o.tZ)(rA,{campaignTitle:l.title,campaignSlug:l.slug,rounds:l.rounds,howToPlayText:l.howToPlayText,alreadyPlayedText:l.alreadyPlayedText,alreadyPlayedHeader:l.alreadyPlayedHeader,hasSubmitError:v,isSubmitting:m,onSubmit:e=>{if(l.phoneRequired){h(e),c(a.PHONE);return}f(e)}})};var rI=e=>{let{endpoint:t}=e,r=["button-campaign",t],{data:n,error:i,isLoading:a}=(0,v.a)({queryKey:r,queryFn:()=>fetch(t).then(e=>e.json())});return((0,tE.XY)(i,{queryKey:r.join(",")}),a)?(0,o.tZ)("div",{className:"h-[252px] w-full rounded-[8px] bg-skeleton animate-pulse"}):(0,o.tZ)("div",{className:"bg-neutral-10 rounded-[8px] p-8 flex flex-col gap-4",children:n?(0,o.tZ)(rN,{campaign:n}):(0,o.tZ)("h2",{className:"font-header-2 text-center",children:y.tB})})};let rR={[l.oQ.Paragraph]:e=>(0,o.tZ)("p",{children:e}),[l.oQ.Heading1]:(e,t)=>(0,o.tZ)(ei,{type:t.nodeType,children:e}),[l.oQ.Heading2]:(e,t)=>(0,o.tZ)(ei,{type:t.nodeType,children:e}),[l.oQ.Heading3]:(e,t)=>(0,o.tZ)(ei,{type:t.nodeType,children:e}),[l.oQ.Heading4]:(e,t)=>(0,o.tZ)(ei,{type:t.nodeType,children:e}),[l.oQ.Heading5]:(e,t)=>(0,o.tZ)(ei,{type:t.nodeType,children:e}),[l.oQ.Heading6]:(e,t)=>(0,o.tZ)(ei,{type:t.nodeType,children:e}),[l.oQ.UlList]:(e,t)=>(0,o.tZ)(el,{type:t.nodeType,children:e}),[l.oQ.OlList]:(e,t)=>(0,o.tZ)(el,{type:t.nodeType,children:e}),[l.oQ.Table]:(e,t)=>(0,o.tZ)(em,{...t}),[l.oQ.ListItem]:e=>(0,o.tZ)("li",{children:e}),[l.oQ.Hyperlink]:(e,t)=>(0,o.tZ)(es,{data:t.data,children:e}),[l.oQ.Quote]:(e,t)=>(0,o.tZ)(F,{...t.data}),[l.oQ.TextFrame]:(e,t)=>(0,o.tZ)(tf,{...t.data}),[l.oQ.HtmlEmbed]:(e,t)=>(0,o.tZ)(K,{...t.data}),[l.oQ.Newsletter]:(e,t)=>(0,o.tZ)(C.Z,{...t.data,isEmbedded:!0}),[l.oQ.ImageEmbed]:(e,t)=>(0,o.tZ)(Q,{...t.data}),[l.oQ.LinkList]:(e,t)=>(0,o.tZ)(ee.Z,{...t.data}),[l.oQ.InlinePlayer]:(e,t)=>(0,o.tZ)(I.Z,{...t.data}),[l.oQ.VideoCollection]:(e,t)=>(0,o.tZ)(tm.ZP,{...t.data,hasSidebarVideoList:!1}),[l.oQ.SocialEmbed]:(e,t)=>(0,o.tZ)(tc,{...t.data}),[l.oQ.Accordion]:(e,t)=>(0,o.tZ)(N,{...t.data}),[l.oQ.Button]:(e,t)=>(0,o.tZ)(er,{...t.data}),[l.oQ.TopList]:(e,t)=>(0,o.tZ)(t_,{title:t.data.title,csvUrl:t.data.csvUrl}),[l.oQ.RichText]:(e,t)=>rL(t.data).map((e,t)=>(0,o.tZ)(s.Fragment,{children:e},t)),[l.oQ.ButtonCampaign]:(e,t)=>(0,o.tZ)(rI,{...t.data})},rO=(e,t)=>{var r;let n=[],i=t;for(;i<e.length&&(null===(r=e[i])||void 0===r?void 0:r.nodeType)===l.oQ.Accordion;){let t=e[i];if(t){let e=rD(t);e&&n.push(rZ(e,i))}i++}return e.splice(t+1,n.length-1),(0,o.tZ)("div",{children:n},"group-".concat(String(t)))},rL=e=>{if((null==e?void 0:e.nodeType)!=="document")return[];let t=[...e.content].map((e,t,r)=>e.nodeType===l.oQ.Accordion?rO(r,t):rD(e));return t},rD=e=>{if(rF(e)){let t=(0,o.tZ)(o.HY,{children:e.value});return e.marks.forEach(e=>{e.type===l.ed.Bold&&(t=(0,o.tZ)("strong",{children:t})),e.type===l.ed.Italic&&(t=(0,o.tZ)("em",{children:t})),e.type===l.ed.Underline&&(t=(0,o.tZ)("u",{children:t}))}),t}if(e.nodeType===l.oQ.Table)return rR[e.nodeType](void 0,e);if(e.nodeType in rR){let t=rM(e.content),r=rR[e.nodeType];if(r)return r(t,e)}return console.log(e),null},rM=e=>e.map((e,t)=>rZ(rD(e),t)),rZ=(e,t)=>(0,s.isValidElement)(e)&&null===e.key?(0,s.cloneElement)(e,{key:t}):e,rF=e=>e.nodeType===l.oQ.Text,rj=e=>e.nodeType===l.oQ.Hyperlink;var rB=r(70103);let rU=(0,u.j)(["rich-text-wrapper","[&>*+*:not(.html-embed-voting)]:mt-4 md:[&>*+*:not(.html-embed-voting)]:mt-6","[&>*:not(.html-embed-shadow-container)]:max-w-[827px]"],{variants:{layout:{[l.Cj.Left]:"",[l.Cj.Center]:["[&>*:not(.html-embed-shadow-container)]:mx-auto","[&>p]:text-center [&>:is(h1,h2,h3,h4,h5,h6)]:text-center","[&_.html-embed-shadow-container::part(youtube-embed)]:mx-auto [&_.html-embed-shadow-container::part(youtube-embed)]:block","[&_.html-embed-shadow-container_npl-optin-form]:mx-auto [&_.html-embed-shadow-container_npl-optin-form]:block"],[l.Cj.Right]:["[&>*:not(.html-embed-shadow-container)]:ml-auto","[&_.html-embed-shadow-container::part(youtube-embed)]:ml-auto [&_.html-embed-shadow-container::part(youtube-embed)]:block","[&_.html-embed-shadow-container_npl-optin-form]:ml-auto [&_.html-embed-shadow-container_npl-optin-form]:block"]}},defaultVariants:{layout:l.Cj.Left}}),r$=[l.oQ.ImageEmbed,l.oQ.SocialEmbed,l.oQ.OlList,l.oQ.UlList,l.oQ.InlinePlayer,l.oQ.HtmlEmbed],rV=e=>e.nodeType===l.oQ.Text;var rz=function(e){let{richText:t,enableAds:r=!1,layout:n,className:i}=e,{designTokens:a}=(0,rB._w)(),[u,d]=(0,s.useMemo)(()=>
141{if(!r||!t.content.length)return[-1,-1];let e=0;for(let r=0;r<t.content.length;r++){let n=t.content[r],i=!1;if((null==n?void 0:n.nodeType)===l.oQ.Paragraph){e++;let t=n.content[0];t&&rV(t)&&(i=t.marks.some(e=>e.type===l.ed.Bold))}if(e>=3){let e=t.content[r+1];if(!i&&(!e||!r$.includes(e.nodeType)))return[1,r]}}return[1,-1]},[t,r]);return(0,o.tZ)("div",{className:(0,x.cn)(rU({layout:n}),a.colors.richText&&"[&>p]:text-rich-text [&_li]:text-rich-text [&_li>p]:text-rich-text",i),children:rL(t).map((e,t)=>(0,o.BX)(s.Fragment,{children:[t===u&&(0,o.tZ)(c.Z,{id:y.Ms.contentBanner}),null!=e?e:null,t===d&&(0,o.tZ)(k,{})]},"rich-text-".concat(String(t))))})}},93323:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(35944),i=r(11163),a=r(70103),o=r(66488),s=r(41664),l=r.n(s),u=r(25675),c=r.n(u),d=r(46635),h=r(19822),p=r(21953),f=r(12645);function m(e){let{isActive:t,isMini:r,isRadio:i,item:a,position:s,sectionTitle:u,hideLinkTitles:m}=e,{url:g,target:v,subtitle:y,title:b,imageUrl:S}=a,w=g.includes("zenders")&&r,x=()=>{sessionStorage.setItem("fromMiniSquare","1")};return(0,n.tZ)(l(),{className:"group",href:g,target:v,onClick:()=>{(0,d.Z)({position:s,label:u,...a}),r&&i&&x()},children:(0,n.tZ)(f.Z,{className:(0,o.cn)("border-tile rounded-tile border-solid","[&_img]:group-hover-scale",t&&["after:content-[''] after:absolute","after:border-[3px] after:border-solid after:border-secondary-100","after:rounded-square-tile after:inset-tile"]),"data-testid":r?"mini-square-collection-item-test-id":"square-collection-item-test-id",aspectRatio:"1:1",children:(0,n.BX)("div",{className:"z-base-control
141s rounded-tile absolute overflow-hidden inset-0",children:[(0,n.tZ)(c(),{className:"object-cover -z-2",alt:b,src:S,fill:!0,sizes:"(max-width: 900px) 50vw, (max-width: 1200px) 33vw, 25vw"}),(0,n.tZ)("div",{className:(0,o.cn)("h-full flex flex-col",r&&i&&!w?"pt-[calc(75%-16px)]":"justify-end items-start py-3 md:py-4",r&&"items-center",w?"gap-2 px-0":"gap-0 px-4 md:px-6"),children:r?(0,n.BX)(n.HY,{children:[!m&&(0,n.tZ)("div",{className:(0,o.cn)("bg-tile-pill button-text-transform text-tile-pill","rounded-button max-w-[calc(100%-8px)] py-[2px] px-2","md:max-w-[calc(100%-16px)] md:py-1 md:px-[10px]","lg:py-1 lg:px-3"),children:(0,n.tZ)("p",{className:"text-inherit font-header-6 whitespace-nowrap overflow-hidden",children:b})}),i&&w&&(0,n.tZ)(h.a1,{className:(0,o.cn)("bg-secondary-100 text-play","rounded-full aspect-square","w-[30%] max-w-7 md:max-w-10 p-1.5 md:p-2"),size:p.Jh.Full})]}):!m&&(0,n.BX)(n.HY,{children:[(0,n.tZ)("div",{className:"absolute inset-0 -z-1 bg-fade-black-bottom-top"}),!!y&&(0,n.tZ)("h5",{className:(0,o.cn)("font-header-5 text-neutral-0 leading-[26px] md:leading-7","line-clamp-2 wrap-break-word text-ellipsis"),children:y}),(0,n.tZ)("h3",{className:(0,o.cn)("font-header-3 text-neutral-10 leading-7 md:leading-10","line-clamp-2 wrap-break-word text-ellipsis"),children:b})]})})]})})})}var g=e=>{let{title:t,items:r,isMini:s=!1,hideLinkTitles:l}=e,{mainStationSlug:u}=(0,a._w)(),{asPath:c}=(0,i.useRouter)(),d=!!u,[h=""]=c.split("?");return(0,n.BX)("div",{className:"my-8 md:my-10",children:[(0,n.tZ)("h3",{className:"font-header-3 mb-3 md:mb-4",children:t}),(0,n.tZ)("div",{className:(0,o.cn)("grid grid-cols-2 gap-y-4 gap-x-2","sm:gap-4 sm:grid-cols-3","lg:grid-cols-4",s&&["grid-cols-3 sm:grid-cols-4 lg:grid-cols-6","gap-2 sm:gap-4 lg:gap-y-6"]),"data-testid":"square-collection-wrapper-items-test-id",children:r.map((e,r)=>(0,n.tZ)(m,{isActive:h===e.url,isMini:s,isRadio:d,item:e,position:r+1,sectionTitle:t,hideLinkTitles:l},e.id))})]})}},1279:function(e,t,r){"use strict";r.d(t,{ZP:function(){return T}});var n=r(35944),i=r(67294),a=r(53390),o=r.n(a),s=r(18357),l=r(74339),u=r(38858),c=r(57636),d=r(21953),h=r(78114),p=r(66488),f=r(33209),m=r(76663),g=r(8137),v=r(16567),y=r(64157),b=e=>{let{title:t,item:r,videoPosition:i,isMainVideo:a,hasSidebarVideoList:o,onItemClick:s}=e;return(0,n.tZ)(y.Z,{component:"button",variant:m.f.Swimlane,ignoreSizing:!o,onClick:()=>s(r,i),sectionTitle:t,link:r,isActive:a,position:i})};let S=Array.from({length:d.OE.Video},(e,t)=>({id:"skeleton-".concat(String(t)),isSkeleton:!0}));var w=e=>{let{hideTitle:t,hasSidebarVideoList:r,swimlaneType:i}=e;return(0,n.BX)(c.Z,{isCentered:!1,children:[!t&&(0,n.tZ)("div",{className:(0,p.cn)("bg-skeleton animate-pulse rounded-md","w-45 sm:w-60 h-6 sm:h-8")}),(0,n.BX)("div",{className:(0,p.cn)("grid relative grid-cols-12 gap-4","[&>div:first-of-type]:col-span-12",r&&"lg:[&>div:first-of-type]:col-span-8"),children:[(0,n.tZ)("div",{className:(0,p.cn)("w-full max-w-none","aspect-video rounded bg-skeleton animate-pulse")}),(0,n.tZ)("div",{className:(0,p.cn)("col-span-12",r&&["lg:col-span-4 lg:relative lg:overflow-hidden","lg:border-2 lg:border-neutral-10 lg:rounded-lg"]),children:(0,n.tZ)(u.ZP,{type:i,hasSidebarVideoList:r,items:S,scrollToItemIndex:1,renderItem:()=>(0,n.tZ)(g.Z,{variant:m.f.Swimlane})})})]})]})};let x=d.OE.Video,E=e=>{let{title:t,videoPosition:r,eventLabel:n,videoGuid:i,id:a,updatedAt:s,createdAt:l}=e;o().link({event_name:h.SP.CONTENT_LISTING_PLAY,event_category:h.$1.CONTENT_LISTING,event_label:n,event_value:r,media_id:null!=i?i:"",media_name:t,content_id:a||null,content_datecreated:l||null,content_datepublished:l||null,content_datemodified:s||null,content_language:d.qH})};var T=e=>{var t,r,o;let{title:h,endpoint:y,hasSidebarVideoList:T=!0,initialData:k}=e,{ref:C,inView:_}=(0,s.YD)(),{items:P,isLoading:A,fetchNextPage:N,hasNextPage:I,isFetchingNextPage:R}=(0,f.Z)({collectionName:d.MR.Video,endpoint:y,limit:x,initialData:()=>{if(k)return{pageParams:[1],pages:[{items:k.slice(0,x),nextPage:1,totalResults:0}]}}}),[O,L]=(0,i.useState)((null==P?void 0:P.length)&&null!==(t=P[0])&&void 0!==t?t:null),[D,M]=(0,i.useState)(!1);(0,v.Z)(()=>{var e;!A&&(null==P?void 0:P.length)&&L(t=>{var r;return t&&t.id!==(null===(r=P[0])||void 0===r?void 0:r.id)?t:null!==(e=P[0])&&void 0!==e?e:null})},[A,P]),(0,i.useEffect)(()=>{_&&N()},[_,N]);let Z=(e,t)=>{a.JwMonitor.setPlayReason("interaction"),L(e),M(!0),E({...e,eventLabel:h,videoPosition:t})};if(A&&(!P||!O))return(0,n.tZ)(w,{hasSidebarVideoList:T,swimlaneType:u.yl.VideoCollection});if(!A&&!(null==P?void 0:P.length))return null;if((null==P?void 0:P.length)&&O){let e=R?[...P,...S]:P,t=e=>P.length-1===e&&!!I&&!R;return(0,n.BX)(c.Z,{isCentered:!1,children:[(0,n.tZ)("h3",{className:"font-header-3",children:h}),(0,n.BX)("div",{className:(0,p.cn)("grid relative grid-cols-12 gap-4","[&>div:first-of-type]:col-span-12",T&&"lg:[&>div:first-of-type]:col-span-8"),children:[(0,n.tZ)(l.Z,{title:O.title,duration:null!==(o=null!==(r=O.duration)&&void 0!==r?r:O.videoDuration)&&void 0!==o?o:0,imageUrl:O.imageUrl,videoGuid:O.videoGuid,playerLoadedInitially:D}),(0,n.tZ)("div",{className:(0,p.cn)("col-span-12",T&&["lg:col-span-4 lg:relative","lg:border-2 lg:border-neutral-10 lg:rounded-lg lg:overflow-hidden"]),children:(0,n.tZ)("div",{className:(0,p.cn)(T&&["lg:absolute lg:inset-0 lg:right-1 lg:overflow-y-auto","lg:[&::-webkit-scrollbar]:w-1.75","lg:[&::-webkit-scrollbar-thumb]:bg-neutral-50","lg:[&::-webkit-scrollbar-thumb]:rounded-lg","lg:[&::-webkit-scrollbar-track-piece:start]:mt-2","lg:[&::-webkit-scrollbar-track-piece:end]:mb-2"]),children:(0,n.tZ)(u.ZP,{type:u.yl.VideoCollection,hasSidebarVideoList:T,items:e,scrollToItemIndex:1,renderItem:(e,r)=>(0,n.BX)(n.HY,{children:["isSkeleton"in e?(0,n.tZ)(g.Z,{variant:m.f.Swimlane}):(0,n.tZ)(b,{title:h,item:e,videoPosition:r+1,isMainVideo:e.id===O.id,onItemClick:Z,hasSidebarVideoList:T}),t(r)&&(0,n.tZ)("div",{ref:C,className:"h-2","data-testid":"swimlaneObserverTestId"})]})})})})]})]})}}},16370:function(e,t,r){"use strict";r.d(t,{K:function(){return p}});var n=r(35944),i=r(67294),a=r(12003),o=r(21953),s=r(6380),l=r(9315),u=r(66488),c=r(76663),d=r(36715);let h=(e,t,r)=>{if(r&&!t)return o.fu;let n=t&&t>s.S,i=n?Math.max(0,e-t):e;if(0===i)return"";let a=(0,l.H)(i);return n?"Nog ".concat(a):a},p={...c.f,InlinePlayer:"inlinePlayer"},f=(0,a.j)("\n  z-base right-2 bottom-2 w-fit\n  pointer-events-none\n  ",{variants:{variant:{[p.Default]:"sm:left-4 sm:right-auto sm:bottom-4 sm:p-1 sm:[&_svg]:hidden",[p.SearchResults]:"hidden",[p.Swimlane]:"",[p.InlinePlayer]:"absolute top-[calc(40%+38px)] left-1/2 m-0 md:top-[calc(50%+46px)] -translate-x-1/2 -translate-y-[40%] md:-translate-y-1/2"}},defaultVariants:{variant:p.Default}});t.Z=e=>
141{let{variant:t,icon:r,iconTestId:a,duration:s,className:l,progress:c,completed:p,isActive:m}=e,g=(0,i.useMemo)(()=>h(s,c,m),[s,c,m]);return g||p?(0,n.tZ)(d.Z,{icon:m?void 0:r,iconTestId:a,text:p?o.Rv:g,variant:m?d.I.Brand:d.I.Default,className:(0,u.cn)(f({variant:t}),l)}):null}},40471:function(e,t,r){"use strict";r.d(t,{Z:function(){return n.Z}});var n=r(16370)},15339:function(e,t,r){"use strict";r.d(t,{B:function(){return s}});var n=r(35944),i=r(83449),a=r(39399),o=r(92159);let s=e=>{let{limit:t}=e;return(0,n.tZ)(n.HY,{children:Array.from({length:t},(e,t)=>(0,n.tZ)(l,{},"track-history-item-".concat(String(t))))})},l=()=>(0,n.tZ)(i.md,{children:(0,n.BX)(i.Pe,{children:[(0,n.tZ)(i.c$,{children:(0,n.tZ)(a.Z,{className:"w-11"})}),(0,n.BX)(i.LU,{children:[(0,n.tZ)(i.hx,{children:(0,n.tZ)(o.Z,{aspectRatio:"aspect-square"})}),(0,n.BX)(i.r9,{children:[(0,n.tZ)(i.GR,{children:(0,n.tZ)(a.Z,{className:"w-60"})}),(0,n.tZ)(i.H8,{children:(0,n.tZ)(a.Z,{className:"w-40"})})]})]})]})})},32564:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(35944),i=r(8137),a=r(57636),o=r(10073),s=r(39399),l=r(77194),u=e=>{let{limit:t,showCategory:r,showButton:u,className:c,isLandscapeCollection:d,variant:h}=e;return(0,n.BX)(a.Z,{className:c,children:[(0,n.tZ)("div",{className:"w-full",children:(0,n.tZ)(s.Z,{variant:"header-3",className:"w-45 md:w-60"})}),(0,n.tZ)(l.Z,{children:(0,n.tZ)(i.Z,{count:t,showCategory:r,isLandscapeCollection:d,variant:h})}),u&&(0,n.tZ)(o.Z,{className:"w-full mt-2"})]})}},77194:function(e,t,r){"use strict";var n=r(35944),i=r(12003),a=r(66488),o=r(38858);let s=(0,i.j)((0,a.cn)("flex flex-col gap-4 self-start w-full","sm:grid sm:gap-x-4 sm:items-stretch sm:grid-cols-article-md","md:grid-cols-article-lg"),{variants:{variant:{[o.yl.Default]:"sm:gap-y-6 lg:grid-cols-article-xl",[o.yl.Landscape]:"sm:gap-y-6 md:gap-y-8 lg:grid-cols-article-xl",[o.yl.CategoryBased]:"lg:grid-cols-article-xl lg:gap-y-4",[o.yl.LandscapeBranded]:""}},defaultVariants:{variant:o.yl.Default}});t.Z=e=>{let{children:t,variant:r,className:i,...o}=e;return(0,n.tZ)("div",{className:(0,a.cn)(s({variant:r}),i),...o,children:t})}},22405:function(e,t,r){"use strict";r.d(t,{Ry:function(){return i},ZP:function(){return f}});var n,i,a=r(35944),o=r(41664),s=r.n(o),l=r(12003),u=r(25675),c=r.n(u),d=r(66488),h=e=>{let{component:t=s(),children:r,onClick:n,...i}=e;return(0,a.tZ)(t,{onClick:n,...i,children:(0,a.tZ)("p",{className:(0,d.cn)("font-button-small md:font-button-medium text-show-all-link","button-text-transform cursor-pointer","px-2"),children:r})})};(n=i||(i={})).Large="large",n.Small="small";let p=(0,l.j)("",{variants:{size:{[i.Large]:"font-header-3",[i.Small]:"font-body-medium normal-case"}},defaultVariants:{size:i.Large}});var f=e=>{let{showAllText:t,showAllUrl:r,logoImageUrl:n,size:i,className:o,children:l,showAllCallback:u}=e;return(0,a.BX)("div",{className:(0,d.cn)("flex w-full items-center justify-between",o),children:[(0,a.tZ)("h3",{className:p({size:i}),children:l}),t&&(r||u)&&!n?(0,a.tZ)(h,{component:r?s():"button",onClick:u,...r?{href:r}:{},children:t}):null,!!n&&(0,a.tZ)("div",{className:(0,d.cn)("relative z-base h-12 w-32 -my-1","max-md:h-9 max-md:w-[90px] max-md:-my-[6px]"),children:(0,a.tZ)(c(),{className:"object-contain object-right",src:n,alt:"Brand Logo",fill:!0,sizes:"(max-width: 768px) 90px, 128px",quality:100})})]})}},22552:function(e,t,r){"use strict";r.d(t,{Z:function(){return n.ZP}});var n=r(22405)},658:function(e,t,r){"use strict";var n=r(35944),i=r(25675),a=r.n(i),o=r(11752),s=r.n(o),l=r(66488),u=r(37274);let{publicRuntimeConfig:{imageDomain:c}}=s()(),d=e=>{let{src:t,width:r}=e,n=["f_webp","w_".concat(String(r)),"c_fill","dpr_2.0","e_trim"];return"".concat(c,"/").concat(n.join(","),"/").concat(t)};t.Z=e=>{let{children:t,title:r,heroImageUrl:i,collectionBackground:o}=e;return(0,n.BX)(u.Z,{isBranded:!!i,collectionBackground:o,children:[!!i&&(0,n.tZ)("div",{className:(0,l.cn)("relative z-base-control
141s","max-md:hidden","md:flex-[0_0_33%] md:max-w-[33%]","xl:flex-[0_0_25%] xl:max-w-1/4"),children:(0,n.tZ)("div",{className:(0,l.cn)("absolute w-[calc(100%+68px)] h-[calc(100%+16px)]","-top-4 right-3 z-base","lg:w-[calc(100%+84px)]","xl:w-[calc(100%+108px)] xl:mask-[linear-gradient(to_right,transparent_0,black_40px,black_100%)] xl:mask-no-repeat"),children:(0,n.tZ)(a(),{className:(0,l.cn)("absolute bottom-0 right-0","w-auto h-full","object-cover object-right"),src:i,alt:null!=r?r:"",height:400,width:300,quality:100,loader:d})})}),(0,n.tZ)("div",{className:(0,l.cn)("flex-[1_1_100%] min-w-0",!!i&&["m-0 pt-3 pb-12","sm:pt-5 sm:pb-14","md:pt-6 md:pb-18"]),children:t})]})}},57636:function(e,t,r){"use strict";var n=r(35944),i=r(66488);t.Z=e=>{let{children:t,className:r,isCentered:a=!0}=e;return(0,n.tZ)("div",{className:(0,i.cn)("flex flex-col my-8 md:my-10 gap-3 md:gap-4",a&&"items-center justify-center",r),children:t})}},37274:function(e,t,r){"use strict";var n=r(35944),i=r(66488),a=r(15386);t.Z=e=>{let{children:t,isBranded:r,collectionBackground:o}=e;return(0,n.BX)("div",{className:(0,i.cn)("flex items-stretch md:gap-[6px]",r?"relative my-10":"my-8 md:my-10","[&_.portrait-collection-container]:m-0 [&_.portrait-collection-container]:min-w-0 [&_.portrait-collection-container]:flex-[1_1_100%]",r&&["[&_.portrait-collection-container]:pt-3 [&_.portrait-collection-container]:pb-14","[&_.portrait-collection-container]:sm:pt-5","[&_.portrait-collection-container]:md:pt-6 [&_.portrait-collection-container]:pb-20"],"[&_.portrait-collection-title]:relative [&_.portrait-collection-title]:z-base"),children:[t,r&&(0,n.tZ)("div",{className:"absolute z-0 inset-y-0 left-1/2 -translate-x-1/2 w-screen",style:{background:null!=o?o:a.Ml.opacity07}})]})}},68232:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(35944),i=r(67294),a=r(18357),o=r(77194);function s(e){let{items:t,renderItem:r,type:s,onEndReached:l}=e,{ref:u,inView:c}=(0,a.YD)();return(0,i.useEffect)(()=>{c&&l&&l()},[c,l]),(0,n.BX)(n.HY,{children:[(0,n.tZ)(o.Z,{variant:s,children:t.map(r)}),(0,n.tZ)("div",{className:"min-h-[1px] col-span-full",ref:u})]})}},61052:function(e,t,r){"use strict";var n=r(35944),i=r(66488);t.Z=e=>{let{children:t}=e;return(0,n.tZ)("h1",{className:(0,i.cn)("font-header-1 line-clamp-2 wrap-break-word","pr-[0.2em] [text-shadow:0px_0px_5px_rgba(0,0,0,0.25)]"),children:t})}},19672:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(35944),i=r(12003),a=r(19822),o=r(66488);let s=(0,i.j)("absolute flex flex-row rounded-button m-0 px-2 gap-1 font-button-small button-text-transform",{variants:{variant:{default:"bg-opacity-02 h-[22px] py-1 text-neutral-0",availabilityLabel:["h-7 py-0","items-center bg-label-secondary text-button-secondary","cursor-pointer pointer-events-none"]},layout:{portrait:"",landscape:""}},compoundVariants:[{variant:"availabilityLabel",layout:"landscape",class:"top-2 left-2"},{variant:"availabilityLabel",layout:"portrait",class:"top-1 left-1 md:top-2 md:left-2"}],defaultVariants:{variant:"default",layout:"landscape"}});var l=e=>{let{icon:t,iconTestId:r,text:i,className:l,children:u,dataLabel:c,variant:d,layout:h}=e;return i&&(0,n.BX)("div",{"data-label":c,className:(0,o.cn)(s({variant:d,layout:h}),l),children:[!!t&&(0,n.tZ)(a.ZP,{icon:t,"data-testid":r,svgClassName:"text-neutral-0 z-base-control
141s w-[14px] h-[14px]"}),(0,n.tZ)("span",{className:(0,o.cn)("availabilityLabel"===d&&"text-nowrap"),children:i}),u]})}},41835:function(e,t,r){"use strict";var n=r(35944);r(67294);var i=r(66488),a=r(19822);t.Z=e=>{let{label:t,value:r,onChange:o,className:s,inputClassName:l,inputMode:u,pattern:c,placeholder:d,endIcon:h,endIconClassName:p}=e;return(0,n.BX)("label",{className:(0,i.cn)("relative block",s),children:[(0,n.tZ)("span",{className:(0,i.cn)("absolute -top-1.75 z-base px-2 ml-3 font-body-extra-small text-neutral-50","before:absolute before:content-[''] before:top-1.5 before:left-0","before:w-full before:h-0.5 before:bg-neutral-10 before:z-[-1]"),children:t}),(0,n.tZ)("input",{"aria-label":t,inputMode:u,pattern:c,className:(0,i.cn)("h-13 rounded-md border border-neutral-40 bg-neutral-0","px-3 font-body-small text-neutral-90","focus:outline-none focus:border-primary-100",h&&"pr-10",l),value:r,onChange:o,placeholder:d}),!!h&&(0,n.tZ)(a.ZP,{className:"absolute top-[14px] right-3",svgClassName:p,icon:h})]})}},5168:function(e,t,r){"use strict";var n=r(35944);t.Z=()=>(0,n.BX)("svg",{width:"40",height:"40",viewBox:"-100 0 400 200",color:"white",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"spinner",children:[(0,n.BX)("defs",{children:[(0,n.BX)("linearGradient",{id:"spinner-secondHalf",children:[(0,n.tZ)("stop",{offset:"0%",stopOpacity:"0",stopColor:"currentColor"}),(0,n.tZ)("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]}),(0,n.BX)("linearGradient",{id:"spinner-firstHalf",children:[(0,n.tZ)("stop",{offset:"0%",stopOpacity:"1",stopColor:"currentColor"}),(0,n.tZ)("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]})]}),(0,n.BX)("g",{strokeWidth:"34",children:[(0,n.tZ)("path",{stroke:"url(#spinner-secondHalf)",d:"M 4 100 A 96 96 0 0 1 196 100"}),(0,n.tZ)("path",{stroke:"url(#spinner-firstHalf)",d:"M 196 100 A 96 96 0 0 1 4 100"})]})]})},19822:function(e,t,r){"use strict";r.d(t,{u2:function(){return _},xK:function(){return U},sq:function(){return $},HS:function(){return V},Ft:function(){return z},x2:function(){return j},F9:function(){return B},wS:function(){return H},uS:function(){return x},nQ:function(){return T},um:function(){return G},aM:function(){return E},Dh:function(){return q},ab:function(){return L},KL:function(){return Q},aQ:function(){return K},qh:function(){return W},Uq:function(){return p},sz:function(){return k},WN:function(){return y},wI:function(){return g},rn:function(){return S},zR:function(){return ee},a1:function(){return m},rc:function(){return Z},tH:function(){return P},m2:function(){return A},PE:function(){return h},fn:function(){return b},uH:function(){return v},nX:function(){return w},W1:function(){return f},om:function(){return X},fz:function(){return O},L4:function(){return er},wZ:function(){return N},z5:function(){return et},qQ:function(){return J},Od:function(){return D},MZ:function(){return M},f9:function(){return Y},Pr:function(){return I},xb:function(){return R},aN:function(){return C},yB:function(){return F},ZP:function(){return d}});var n=r(35944),i=r(98547),a=r(12003),o=r(21953),s=r(66488),l=r(5168);let u=(0,a.j)("",{variants:{size:{[o.Jh.ExtraSmall]:"h-2.5 w-2.5",[o.Jh.Small]:"h-4 w-4",[o.Jh.Medium]:"h-5 w-5",[o.Jh.Large]:"h-6 w-6",[o.Jh.ExtraLarge]:"h-8 w-8",[o.Jh.DoubleExtraLarge]:"h-10 w-10",[o.Jh.Full]:"h-full w-full"},disabled:{true:"text-icon-button-disabled",false:""}}}),c=e=>{let{icon:t,size:r,svgClassName:a,disabled:o,...l}=e;return(0,n.tZ)(i.Q,{src:"/icons".concat(window.iconPrefix||"","/").concat(t.replace(/(?:left|right)_/,""),".svg"),beforeInjection:e=>{var n;let i=t.startsWith("right_")?"rotate-180":"",l=null!==(n=e.getAttribute("class"))&&void 0!==n?n:"";e.setAttribute("class",(0,s.cn)(l,u({size:r,disabled:o}),i,a))},loading:()=>(0,n.tZ)("div",{className:(0,s.cn)(u({size:r}))}),...l})};var d=c;let h=e=>(0,n.tZ)(c,{...e,icon:o.LM.Quote}),p=e=>(0,n.tZ)(c,{...e,icon:o.LM.Hamburger}),f=e=>(0,n.tZ)(c,{...e,icon:o.LM.Search}),m=e=>(0,n.tZ)(c,{...e,icon:o.LM.PlayIconFilled}),g=e=>(0,n.tZ)(c,{...e,icon:o.LM.LeftChevron}),v=e=>(0,n.tZ)(c,{...e,icon:o.LM.RightChevron}),y=e=>(0,n.tZ)(c,{...e,icon:o.LM.LeftBoldChevron}),b=e=>(0,n.tZ)(c,{...e,icon:o.LM.RightBoldChevron}),S=e=>(0,n.tZ)(c,{...e,icon:o.LM.LeftDoubleChevron}),w=e=>(0,n.tZ)(c,{...e,icon:o.LM.RightDoubleChevron}),x=e=>(0,n.tZ)(c,{...e,icon:o.LM.AnimatedArrow}),E=e=>(0,n.tZ)(c,{...e,icon:o.LM.Cross}),T=e=>(0,n.tZ)(c,{...e,icon:o.LM.Check}),k=e=>(0,n.tZ)(c,{...e,icon:o.LM.Info}),C=e=>(0,n.tZ)(c,{...e,icon:o.LM.Warning}),_=e=>(0,n.tZ)(c,{...e,icon:o.LM.Actions}),P=e=>(0,n.tZ)(c,{...e,icon:o.LM.Popout}),A=e=>(0,n.tZ)(c,{...e,icon:o.LM.Profile}),N=e=>(0,n.tZ)(c,{...e,icon:o.LM.Time}),I=e=>(0,n.tZ)(c,{...e,icon:o.LM.VolumeMin}),R=e=>(0,n.tZ)(c,{...e,icon:o.LM.VolumeOff}),O=e=>(0,n.tZ)(c,{...e,icon:o.LM.Sort}),L=e=>(0,n.tZ)(c,{...e,icon:o.LM.DownChevron}),D=e=>(0,n.tZ)(c,{...e,icon:o.LM.Video}),M=e=>(0,n.tZ)(c,{...e,icon:o.LM.VideoFilled}),Z=e=>(0,n.tZ)(c,{...e,icon:o.LM.Playlist}),F=e=>(0,n.tZ)(c,{...e,icon:o.LM.Whatsapp}),j=e=>(0,n.tZ)(c,{...e,icon:o.LM.Age6}),B=e=>(0,n.tZ)(c,{...e,icon:o.LM.Age9}),U=e=>(0,n.tZ)(c,{...e,icon:o.LM.Age12}),$=e=>(0,n.tZ)(c,{...e,icon:o.LM.Age14}),V=e=>(0,n.tZ)(c,{...e,icon:o.LM.Age16}),z=e=>(0,n.tZ)(c,{...e,icon:o.LM.Age18}),H=e=>(0,n.tZ)(c,{...e,icon:o.LM.AllAges}),G=e=>(0,n.tZ)(c,{...e,icon:o.LM.CoarseLanguage}),q=e=>(0,n.tZ)(c,{...e,icon:o.LM.Discrimination}),K=e=>(0,n.tZ)(c,{...e,icon:o.LM.DrugsAlcohol}),W=e=>(0,n.tZ)(c,{...e,icon:o.LM.Fear}),X=e=>(0,n.tZ)(c,{...e,icon:o.LM.Sex}),Y=e=>(0,n.tZ)(c,{...e,icon:o.LM.Violence}),J=e=>(0,n.tZ)(c,{...e,icon:o.LM.Up}),Q=e=>(0,n.tZ)(c,{...e,icon:o.LM.Down}),ee=e=>(0,n.tZ)(c,{...e,icon:o.LM.NoChange}),et=e=>(0,n.tZ)(c,{...e,icon:o.LM.UpFast}),er=()=>(0,n.tZ)(l.Z,{})},52603:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(35944),i=r(66488),a=r(39399),o=r(23190),s=r(16190),l=r(8137),u=r(76663),c=r(92723),d=r(49578);let h=e=>{let{swimlaneType:t}=e,r=[o.yl.ListToLandscape,o.yl.ListToLandscapeLarge].includes(t),a=[o.yl.L
141andscape,o.yl.LandscapeKijkHeader].includes(t),s=t===o.yl.LandscapeKijkHeader;return(0,n.tZ)("div",{className:(0,i.cn)("shrink-0 snap-start w-item-xs sm:w-item-sm md:w-item-md xl:w-item-xl",r&&"max-md:w-full"),children:r?(0,n.tZ)(l.Z,{variant:u.f.Numeric,showCategory:!0}):a?(0,n.tZ)(d.Z,{isKijkHeader:s}):(0,n.tZ)(c.r,{})})};var p=e=>{let{swimlaneType:t,count:r=8,showTitle:l,noVerticalMargin:u,className:c}=e,d=o._A[t],p=[o.yl.ListToLandscape,o.yl.ListToLandscapeLarge].includes(t),f=Object.fromEntries(Object.entries(d).map(e=>{let[t,r]=e;return["--item-width-".concat(t),(0,s.Wv)(r,"xs"===t||"sm"===t?"8px":"16px")]}));return(0,n.BX)("div",{className:(0,i.cn)(!u&&"my-8 md:my-10",c),children:[l&&(0,n.tZ)(a.Z,{variant:"header-3",width:"quarter"}),(0,n.tZ)("div",{className:(0,i.cn)("flex gap-2 md:gap-4 md:px-20 md:-mx-20",t!==o.yl.LandscapeKijkHeader&&"py-6","snap-x snap-mandatory","overflow-x-auto scroll-smooth scroll-pl-8 md:scroll-pl-40","[scrollbar-width:none] [&::-webkit-scrollbar]:hidden","md:mask-[linear-gradient(to_right,transparent_0,black_40px,black_calc(100%-40px),transparent_100%)]",p&&"max-md:flex-col max-md:overflow-visible max-md:snap-none max-md:[mask:none] max-md:px-0 max-md:mx-0 max-md:scroll-pl-0"),style:f,children:Array.from({length:r},(e,r)=>(0,n.tZ)(h,{swimlaneType:t},"skeleton-".concat(String(r))))})]})}},38858:function(e,t,r){"use strict";r.d(t,{yl:function(){return f.yl},C2:function(){return g.Z},ZP:function(){return m}});var n=r(35944),i=r(67294),a=r(46644),o=r(66488),s=r(21953),l=r(14775),u=r(16190);let c=(0,i.forwardRef)((e,t)=>{let{direction:r,onClick:i,variant:a,hasSidebarVideoList:c}=e,d=r===u.Ie.Prev;return(0,n.tZ)(l.ZP,{ref:t,startIcon:d?s.LM.LeftChevron:s.LM.RightChevron,variant:a,size:l.qE.Large,"aria-label":d?"Prev":"Next",onClick:i,className:(0,o.cn)("absolute top-1/2 -translate-y-1/2 z-4",d?"md:-left-6.5":"md:-right-6.5","h-13 w-13 rounded-full hidden",c?"group-hover/swimlane:md:max-lg:flex md:max-lg:top-[calc(40%-5px)]":"group-hover/swimlane:md:flex")})});var d=r(12003);let h=(0,d.j)("shrink-0 snap-start",{variants:{isDivider:{true:"snap-none",false:(0,o.cn)("w-item-xs","sm:w-item-sm","md:w-item-md")},hasSidebarVideoList:{true:"",false:""}},compoundVariants:[{isDivider:!1,hasSidebarVideoList:!0,className:"lg:w-full"},{isDivider:!1,hasSidebarVideoList:!1,className:"xl:w-item-xl"}],defaultVariants:{isDivider:!1}}),p=e=>{let{isDivider:t,hasSidebarVideoList:r,children:i}=e;
141return(0,n.tZ)("div",{className:h({isDivider:t,hasSidebarVideoList:r}),children:i})};var f=r(23190),m=function(e){let{items:t,renderItem:r,type:s,onEndReached:l,scrollToItemIndex:d,hasSidebarVideoList:h=!1,buttonVariant:m}=e,g=(0,i.useRef)(null),v=(0,i.useRef)(null),y=(0,i.useRef)(null),b=(0,i.useRef)(null),S=f._A[s],w=Object.fromEntries(Object.entries(S).map(e=>{let[t,r]=e;return["--item-width-".concat(t),(0,u.Wv)(r,"xs"===t||"sm"===t?"8px":"16px")]}));(0,i.useEffect)(()=>{if(!g.current)return;let e=g.current,t=(0,a.Z)(()=>{let t=e.scrollLeft,r=e.scrollWidth-e.clientWidth,n=t>=r-1;n&&l&&(b.current=t,l());let i=v.current,a=y.current;if(i&&a&&(i.classList.toggle("invisible",0===t),a.classList.toggle("invisible",n),[f.yl.Landscape,f.yl.LandscapeBranded,f.yl.ListToLandscapeLarge,f.yl.VideoCollection].includes(s))){let t=Array.from(e.children).find(e=>!e.dataset.isDivider),r=null==t?void 0:t.querySelector("img"),n=null==r?void 0:r.offsetHeight;if(n){let e=s===f.yl.ListToLandscapeLarge?0:16,t="".concat(String(n/2+e),"px");i.style.setProperty("top",t,"important"),a.style.setProperty("top",t,"important")}}},100);return t(),e.addEventListener("scroll",t),window.addEventListener("resize",t),()=>{e.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[g,t,l,s]);let x=(0,i.useMemo)(()=>(0,u.tu)(g,S),[g,S]);if((0,i.useEffect)(()=>{x.reset(),null!==b.current&&g.current&&(g.current.scrollTo({left:b.current,behavior:"instant"}),b.current=null)},[x,t]),(0,i.useEffect)(()=>{if(d&&d>0&&g.current){let e=(0,u.dJ)(g.current),t=e[d];t&&g.current.scrollTo({left:t.offsetLeft,behavior:"instant"})}},[d]),!t.length)return null;let E=[f.yl.LandscapeBranded,f.yl.PortraitBranded].includes(s),T=[f.yl.ListToLandscape,f.yl.ListToLandscapeLarge].includes(s);return(0,n.BX)("div",{className:(0,o.cn)("relative group/swimlane",h&&"lg:absolute lg:w-[calc(100%-16px)] lg:mb-2"),children:[(0,n.tZ)(c,{ref:v,direction:u.Ie.Prev,onClick:x(u.Ie.Prev),variant:m,hasSidebarVideoList:h}),(0,n.tZ)(c,{ref:y,direction:u.Ie.Next,onClick:x(u.Ie.Next),variant:m,hasSidebarVideoList:h}),(0,n.tZ)("div",{ref:g,className:(0,o.cn)("flex py-4 px-4 -mx-4 -my-4 gap-2","snap-x snap-mandatory scroll-smooth scroll-pl-4","overflow-x-auto [-webkit-overflow-scrolling:touch]","[scrollbar-width:none] [&::-webkit-scrollbar]:hidden","md:py-4 md:px-20 md:-mx-20 md:-my-4 md:gap-4 md:scroll-pl-20","md:mask-[linear-gradient(to_right,transparent_0,black_40px,black_calc(100%-40px),transparent_100%)]","md:mask-no-repeat",h&&"lg:flex-col lg:py-3.5 lg:px-0 lg:pl-3.5 lg:mx-0 lg:my-0 lg:scroll-pl-3.5 lg:[mask:none]",E&&"relative z-base",T&&"max-md:flex-col max-md:gap-4 max-md:overflow-visible max-md:snap-none max-md:[mask:none] max-md:px-0 max-md:mx-0 max-md:scroll-pl-0"),style:w,"data-testid":f.gi,children:t.map((e,t)=>(0,n.tZ)(p,{isDivider:e.isDivider,hasSidebarVideoList:h,children:r(e,t)},e.id))})]})},g=r(52603)},23190:function(e,t,r){"use strict";var n,i;r.d(t,{_A:function(){return a},gi:function(){return o},yl:function(){return n}}),(i=n||(n={})).Default="DEFAULT",i.CategoryBased="CATEGORY_BASED",i.Landscape="LANDSCAPE",i.VideoCollection="VIDEO_COLLECTION",i.LandscapeBranded="LANDSCAPE_BRANDED",i.LandscapeKijkHeader="LANDSCAPE_KIJK_HEADER",i.ListToLandscape="LIST_TO_LANDSCAPE",i.ListToLandscapeLarge="LIST_TO_LANDSCAPE_LARGE",i.Portrait="PORTRAIT",i.PortraitBranded="PORTRAIT_BRANDED",i.PortraitLarge="PORTRAIT_LARGE",i.PortraitExtraLarge="PORTRAIT_EXTRA_LARGE";let a={[n.Default]:{xs:1.5,sm:2,md:3,xl:4},[n.CategoryBased]:{xs:1.5,sm:2,md:3,xl:4},[n.Landscape]:{xs:1.5,sm:2,md:3,xl:4},[n.VideoCollection]:{xs:2,sm:2,md:3,xl:3},[n.LandscapeKijkHeader]:{xs:1.5,sm:2,md:3,xl:3},[n.LandscapeBranded]:{xs:1.5,sm:2,md:2,xl:3},[n.ListToLandscape]:{xs:1,sm:1,md:3,xl:4},[n.ListToLandscapeLarge]:{xs:1,sm:1,md:3,xl:3},[n.Portrait]:{xs:3,sm:3,md:4,xl:6},[n.PortraitBranded]:{xs:3,sm:3,md:2.5,xl:4.5},[n.PortraitLarge]:{xs:1.5,sm:2.5,md:2.5,xl:4},[n.PortraitExtraLarge]:{xs:1.25,sm:2,md:2,xl:3}},o="swimlane-container"},16190:function(e,t,r){"use strict";r.d(t,{Ie:function(){return i},Wv:function(){return o},dJ:function(){return s},tu:function(){return l}});var n,i,a=r(96205);(n=i||(i={})).Next="next",n.Prev="prev";let o=(e,t)=>"calc(100% / ".concat(String(e)," - ").concat(t," * ").concat(String((e-1)/e),")"),s=e=>Array.from(e.children).filter(e=>
141!e.dataset.isDivider);function l(e,t){let r=null,n=()=>{let t=e.current;return t?(null!=r||(r=s(t)),r):[]},o=r=>()=>{var o,s;let l=e.current;if(!l)return;let u=l.getBoundingClientRect(),c=n(),d=c.findIndex(e=>{let t=e.getBoundingClientRect();return t.left>=u.left-1});if(-1===d)return;let h=Math.floor(t[function(){let e=window.innerWidth;return e<a.AV.sm?"xs":e<a.AV.md?"sm":e<a.AV.xl?"md":"xl"}()]),p=r===i.Next?h:-h,f=Math.min(Math.max(0,d+p),c.length-1);l.scrollTo({left:null!==(s=null===(o=c[f])||void 0===o?void 0:o.offsetLeft)&&void 0!==s?s:0,behavior:"smooth"})};return o.reset=()=>{r=null},o}},14775:function(e,t,r){"use strict";r.d(t,{$e:function(){return u},dz:function(){return c},hp:function(){return d},jQ:function(){return h},qE:function(){return l},qP:function(){return x}});var n,i,a,o,s,l,u,c,d,h,p,f=r(35944),m=r(67294),g=r(12003),v=r(21953),y=r(19822),b=r(66488);(n=l||(l={})).ExtraSmall="xs",n.Small="sm",n.Medium="md",n.Large="lg",(i=u||(u={})).Primary="primary",i.Secondary="secondary",i.Outline="outline",i.OutlineAccent="outline-accent",i.Ghost="ghost",i.Tertiary="tertiary",i.Subtle="subtle",(a=c||(c={})).Inverse="inverse",a.Muted="muted",(o=d||(d={})).Responsive="responsive",o.Oversized="oversized",(h||(h={})).MediumToLarge="medium-to-large",(s=p||(p={})).Button="button",s.A="a";let S={[l.ExtraSmall]:v.Jh.ExtraSmall,[l.Small]:v.Jh.Small,[l.Medium]:v.Jh.Medium,[l.Large]:v.Jh.Large},w=(0,g.j)("",{variants:{iconSize:{[d.Responsive]:"h-8 w-8 md:h-5 md:w-5",[d.Oversized]:"h-12 w-12"}}}),x=(0,g.j)("flex rounded-button max-w-full justify-center items-center shrink-0 disabled:cursor-not-allowed",{variants:{size:{[l.ExtraSmall]:"h-5.5 px-1.5 w-fit",[l.Small]:"h-7 py-3 px-2 w-fit",[l.Medium]:"h-10 p-3 w-fit",[l.Large]:"h-13 py-3 px-4 w-fit"},variant:{[u.Primary]:"bg-button-primary text-button-primary",[u.Secondary]:"bg-button-secondary text-button-secondary",[u.Outline]:"bg-button-outline border-2 border-button-outline text-button-outline",[u.OutlineAccent]:"\n          bg-transparent border-2 border-primary-50 text-primary-50\n          [&_p]:text-primary-50 [&_svg]:text-primary-50\n\n          hover:bg-primary-50 hover:border-primary-50\n          hover:[&_p]:text-primary-140 hover:[&_svg]:text-primary-140\n        ",[u.Ghost]:"bg-button-ghost text-button-ghost",[u.Subtle]:"\n          bg-transparent border-2 border-neutral-30 text-neutral-60\n\n          hover:border-secondary-100 hover:text-secondary-100\n          active:border-secondary-100 active:text-secondary-100\n\n          disabled:border-neutral-20 disabled:text-neutral-20\n        ",[u.Tertiary]:"\n          bg-neutral-0\n          text-primary-100\n\n          hover:bg-primary-120\n          hover:text-neutral-0\n\n          active:bg-primary-50\n          active:text-neutral-0\n\n          disabled:bg-neutral-0\n          disabled:text-neutral-20\n        "},fullWidth:{true:"w-full sm:w-75"},isNonInteractive:{true:"cursor-default border-none pointer-events-none",false:"cursor-pointer"},tone:{[c.Inverse]:"text-neutral-0",[c.Muted]:"text-neutral-40"},iconSize:{[d.Responsive]:"",[d.Oversized]:""},responsiveSize:{[h.MediumToLarge]:"h-10 p-3 w-fit md:h-13 md:py-3 md:px-4 md:w-fit"}},compoundVariants:[{variant:u.Outline,tone:c.Inverse,class:"\n          border-neutral-0\n\n          hover:bg-transparent hover:border-neutral-0 hover:text-neutral-0\n          active:bg-transparent active:border-neutral-0 active:text-neutral-0\n        "},{variant:u.Outline,tone:c.Inverse,iconSize:d.Responsive,class:"max-md:border-none max-md:p-0 max-md:w-8"}],defaultVariants:{variant:u.Primary,size:l.Large,isNonInteractive:!1}}),E=(0,g.j)("flex items-center justify-center text-inherit button-text-transform leading-none",{variants:{size:{[l.ExtraSmall]:"",[l.Small]:"px-1 font-button-small",[l.Medium]:"px-2 font-button-medium",[l.Large]:"px-2 font-button-large"},responsiveSize:{[h.MediumToLarge]:"px-2 font-button-medium md:font-button-large"}},defaultVariants:{size:l.Large}}),T=(0,m.forwardRef)((e,t)=>{let{children:r,component:n="button",variant:i,size:a,startIcon:o,isLoading:s,endIcon:u,fullWidth:c,isNonInteractive:d,tone:h,disabled:p,className:m,svgClassName:g,iconSize:v,responsiveSize:T,textClassName:k,...C}=e,_=x({variant:i,size:a,fullWidth:c,isNonInteractive:d,tone:h,iconSize:v,responsiveSize:T,className:m}),P=(0,b.cn)(w({iconSize:v}),g);return(0,f.BX)(n,{ref:t,className:(0,b.cn)("button-container",_),disabled:null!=p?p:s,...C,children:[!!o&&(0,f.tZ)(y.ZP,{icon:o,size:S[null!=a?a:l.Medium],svgClassName:P}),!s&&!!r&&(0,f.tZ)("p",{className:(0,b.cn)(E({size:a,responsiveSize:T}),"text-inherit",k),children:r}),!!u&&(0,f.tZ)(y.ZP,{icon:u,size:S[null!=a?a:l.Medium],svgClassName:P})]})});t.ZP=T},8137:function(e,t,r){"use strict";var n=r(35944);r(67294);var i=r(12003),a=r(70103),o=r(66488),s=r(76663);let l=(0,i.j)("flex animate-pulse",{variants:{variant:{[s.f.Sidebar]:"flex-row gap-3 w-full",[s.f.Swimlane]:"flex-col lg:flex-row",[s.f.Default]:"flex-col max-sm:flex-row",[s.f.SearchResults]:"flex-col max-sm:flex-row",[s.f.Numeric]:"max-md:flex-row md:flex-col"}},defaultVariants:{variant:s.f.Default}}),u=(0,i.j)("shrink-0 rounded-lg bg-skeleton",{variants:{variant:{[s.f.Sidebar]:"aspect-3-2 w-[115px]",[s.f.Swimlane]:"aspect-video w-full rounded-lg lg:rou
141nded-md lg:w-[102px]",[s.f.Default]:"h-22 aspect-4-3 sm:h-auto sm:w-full sm:aspect-video",[s.f.SearchResults]:"h-22 aspect-4-3 sm:h-auto sm:w-full sm:aspect-video",[s.f.Numeric]:"shrink-0 aspect-4-3 h-22 md:w-full md:aspect-video md:h-auto"}},defaultVariants:{variant:s.f.Default}}),c=(0,i.j)("flex grow flex-col gap-2",{variants:{variant:{[s.f.Sidebar]:"mt-1 flex-1",[s.f.Swimlane]:"pt-3 pb-1 md:pt-4 lg:pt-2 lg:pb-2 lg:pl-3",[s.f.Default]:"max-sm:px-3 max-sm:pt-1",[s.f.SearchResults]:"max-sm:px-3 max-sm:pt-1",[s.f.Numeric]:"max-md:px-3 max-md:flex-1 justify-center"},isLandscapeCollection:{true:"",false:""},isBorderlessDesign:{true:"",false:""}},compoundVariants:[{variant:[s.f.Default,s.f.SearchResults],isBorderlessDesign:!1,class:"sm:p-4"},{variant:[s.f.Default,s.f.SearchResults],isBorderlessDesign:!0,class:"sm:py-4 sm:pr-4"},{variant:s.f.Numeric,isBorderlessDesign:!1,class:"md:px-4 md:pt-3 md:pb-4 md:gap-2"},{variant:s.f.Numeric,isBorderlessDesign:!0,class:"sm:py-4 sm:pr-4 sm:pl-3 md:pt-3 md:pl-0 md:gap-2"},{variant:[s.f.Default,s.f.SearchResults],isLandscapeCollection:!0,class:"max-sm:px-3 max-sm:pt-1 sm:px-0 sm:py-4"}],defaultVariants:{variant:s.f.Default,isLandscapeCollection:!1,isBorderlessDesign:!1}}),d=e=>{let{variant:t,className:r,showCategory:i,isLandscapeCollection:d}=e,{designTokens:h}=(0,a._w)(),p=t===s.f.Swimlane||h.isBorderlessDesign,f=(0,o.cn)("bg-skeleton h-3",t===s.f.Swimlane?"rounded-md md:h-[14px]":"rounded-sm");return(0,n.BX)("div",{className:(0,o.cn)(l({variant:t}),r),"data-testid":"collection-card-skeleton",children:[(0,n.tZ)("div",{className:u({variant:t})}),(0,n.BX)("div",{className:c({variant:t,isLandscapeCollection:d,isBorderlessDesign:p}),children:[!d&&(0,n.tZ)("div",{className:f}),(0,n.tZ)("div",{className:f}),(0,n.tZ)("div",{className:(0,o.cn)(f,"w-7/12")}),i?(0,n.tZ)("div",{className:(0,o.cn)(f,"mt-2 hidden w-1/2 sm:block",t===s.f.Numeric&&"block order-first mt-0 mb-2 md:order-0 md:mt-2 md:mb-0",p&&"sm:order-first sm:mt-0",t===s.f.Numeric&&p&&"md:order-first md:mb-2 md:mt-0")}):null]})]})};t.Z=e=>{let{count:t,...r}=e;return void 0!==t?(0,n.tZ)(n.HY,{children:Array.from({length:t},(e,t)=>(0,n.tZ)(d,{...r},t))}):(0,n.tZ)(d,{...r})}},60597:function(e,t,r){"use strict";r.d(t,{Z:function(){return N}});var n=r(35944),i=r(12003),a=r(41664),o=r.n(a),s=r(70103),l=r(46635),u=r(66488),c=r(25675),d=r.n(c),h=r(14775),p=r(24390),f=r(21953),m=r(40471),g=r(36715),v=e=>{let{position:t,className:r}=e,{designTokens:i}=(0,s._w)(),a=i.isBorderlessDesign;return(0,n.tZ)("span",{className:(0,u.cn)("absolute bottom-0 left-[3px] z-base","select-none font-numeric-badge text-neutral-0","trim-text-box",a&&"md:text-neutral-10",r),"aria-label":"Positie ".concat(String(t)),children:t})},y=r(76663);let b=(0,i.j)("relative",{variants:{variant:{[y.f.Default]:"h-22 sm:w-full sm:h-auto",[y.f.SearchResults]:"h-22 sm:w-full sm:h-auto",[y.f.Swimlane]:"w-full h-auto",[y.f.Sidebar]:"self-start shrink-0 w-[115px] aspect-3-2",[y.f.Numeric]:"shrink-0 h-22 md:h-auto md:w-full overflow-hidden"},ignoreSizing:{true:"",false:""},isBorderlessDesign:{true:"",false:""},isFirstCategoryBasedItem:{true:"w-full h-auto",false:""}},compoundVariants:[{variant:y.f.Swimlane,ignoreSizing:!1,class:"lg:w-28 lg:h-19"},{isFirstCategoryBasedItem:!0,isBorderlessDesign:!1,class:"lg:h-full"}],defaultVariants:{variant:y.f.Default,ignoreSizing:!1,isBorderlessDesign:!1,isFirstCategoryBasedItem:!1}}),S=(0,i.j)("absolute right-2 bottom-2 cursor-pointer",{variants:{variant:{[y.f.Default]:"sm:right-4 sm:bottom-4",[y.f.SearchResults]:"block sm:right-4 sm:bottom-4",[y.f.Swimlane]:"hidden sm:right-4 sm:bottom-4",[y.f.Sidebar]:"hidden",[y.f.Numeric]:"md:right-4 md:bottom-4"},isBorderlessDesign:{true:"",false:""},isFirstCategoryBasedItem:{true:"z-10 max-sm:right-4 max-sm:bottom-4",false:"z-gradient"}},compoundVariants:[{isFirstCategoryBasedItem:!0,isBorderlessDesign:!1,class:"lg:bottom-6"}],defaultVariants:{variant:y.f.Default,isBorderlessDesign:!1,isFirstCategoryBasedItem:!1}}),w=(0,i.j)("object-cover",{variants:{variant:{[y.f.Default]:"sm:group-hover-scale max-sm:rounded-md",[y.f.SearchResults]:"sm:group-hover-scale max-sm:rounded-md",[y.f.Swimlane]:"",[y.f.Sidebar]:"",[y.f.
141Numeric]:"md:group-hover-scale max-md:rounded-md"}},defaultVariants:{variant:y.f.Default}}),x=(0,i.j)("relative bg-skeleton w-full h-full overflow-hidden",{variants:{variant:{[y.f.Default]:"aspect-4-3 sm:aspect-video",[y.f.SearchResults]:"aspect-4-3 sm:aspect-video",[y.f.Swimlane]:"aspect-video",[y.f.Sidebar]:"aspect-video",[y.f.Numeric]:"aspect-4-3 md:aspect-video max-md:rounded-lg before:absolute before:z-1 before:w-full before:h-full before:bg-[linear-gradient(241deg,rgba(0,0,0,0)_71.43%,rgba(0,0,0,0.5)_100%)]"},isBorderlessDesign:{true:"rounded-md",false:"rounded-t-lg"},isFirstCategoryBasedItem:{true:"after:absolute after:inset-0 after:bg-fade-black-bottom-top after:z-base w-full max-sm:rounded-b-lg",false:""}},compoundVariants:[{isFirstCategoryBasedItem:!0,isBorderlessDesign:!1,class:"lg:h-full lg:rounded-b-lg"}],defaultVariants:{variant:y.f.Default,isBorderlessDesign:!1,isFirstCategoryBasedItem:!1}}),E={[y.f.Default]:"(max-width: 900px) 33vw, (max-width: 1200px) 33vw, 25vw",[y.f.SearchResults]:"(max-width: 900px) 33vw, (max-width: 1200px) 25vw, 300px",[y.f.Swimlane]:"(max-width: 600px) 50vw, 250px",[y.f.Sidebar]:"250px",[y.f.Numeric]:"(max-width: 900px) 33vw, (max-width: 1200px) 33vw, 25vw"};var T=e=>{var t,r,i;let{link:a,position:o,variant:s=y.f.Default,isActive:l,isBorderlessDesign:c,isFirstCategoryBasedItem:T,ignoreSizing:k}=e,C=!!a.duration||!!a.videoDuration,_=s===y.f.SearchResults,P=s===y.f.Sidebar,A=s===y.f.Numeric,N=!_&&!A&&C;return(0,n.BX)("div",{className:(0,u.cn)(b({variant:s,ignoreSizing:k,isFirstCategoryBasedItem:T,isBorderlessDesign:c}),l&&c&&"active-ring",l&&!c&&"max-sm:active-ring"),children:[a.hasVideo&&(0,n.tZ)("div",{className:(0,u.cn)(S({variant:s,isFirstCategoryBasedItem:T,isBorderlessDesign:c}),s===y.f.Default&&C&&"hidden sm:block"),children:(0,n.tZ)(p.hU,{component:"div",icon:f.LM.PlayIconFilled,size:h.qE.ExtraSmall,className:(0,u.cn)(T&&"h-10 w-10",!T&&(A?"md:h-10 md:w-10":"sm:h-10 sm:w-10")),svgClassName:(0,u.cn)(T&&"h-5 w-5",!T&&(A?"md:h-5 md:w-5":"sm:h-5 sm:w-5")),isNonInteractive:!0})}),N&&(0,n.tZ)(m.Z,{variant:P?y.f.Swimlane:s,icon:f.LM.PlayIconFilled,duration:null!==(r=null!==(t=a.duration)&&void 0!==t?t:a.videoDuration)&&void 0!==r?r:0,isActive:!P&&!!l}),_&&!!a.contentTypeLabel&&(0,n.tZ)(g.Z,{variant:g.I.ContentType,className:"z-base left-0.5 bottom-0.5 sm:left-1.5 sm:bottom-1.5",text:a.contentTypeLabel}),!!a.statusLabel&&(0,n.tZ)(g.Z,{variant:g.I.Status,highlighted:f.YR.includes(null!==(i=a.statusLabel)&&void 0!==i?i:""),className:"z-base left-0.5 bottom-0.5 sm:top-2 sm:left-2 sm:bottom-auto",dataLabel:a.statusLabel,text:a.statusLabel}),(0,n.tZ)("div",{className:x({variant:s,isBorderlessDesign:c,isFirstCategoryBasedItem:T}),children:(0,n.tZ)(d(),{className:w({variant:s}),src:a.imageUrl,alt:a.title,fill:!0,sizes:1===o?"(max-width: 900px) 90vw, (max-width: 1200px) 33vw, 25vw":E[null!=s?s:y.f.Default]})}),s===y.f.Numeric&&(0,n.tZ)(v,{position:o})]})};let k=(0,i.j)("w-full text-ellipsis line-clamp-3",{variants:{variant:{[y.f.Default]:"font-header-6 group-visited:text-neutral-40",[y.f.SearchResults]:"font-header-6 max-sm:line-clamp-2 group-visited:text-neutral-40",[y.f.Swimlane]:"font-header-7 group-visited:text-neutral-40",[y.f.Sidebar]:"font-header-7 line-clamp-2",[y.f.Numeric]:"font-header-6 group-visited:text-neutral-40"},isBorderlessDesign:{true:"",false:""},isFirstCategoryBasedItem:{true:"max-sm:font-header-4 max-sm:text-neutral-0 max-sm:z-10 max-sm:group-visited:text-neutral-0",false:""}},compoundVariants:[{variant:y.f.SearchResults,class:"sm:mb-2 sm:last:mb-0"},{isFirstCategoryBasedItem:!0,isBorderlessDesign:!1,class:"lg:mb-2 lg:font-header-4 lg:text-neutral-0 lg:z-10 lg:group-visited:text-neutral-0"},{variant:y.f.Default,isBorderlessDesign:!1,class:"sm:mb-2 sm:last:mb-0"},{variant:y.f.Numeric,isBorderlessDesign:!1,class:"md:mb-2 md:last:mb-0"}],defaultVariants:{variant:y.f.Default,isBorderlessDesign:!1,isFirstCategoryBasedItem:!1}}),C=(0,i.j)("font-body-extra-small text-neutral-40",{variants:{variant:{[y.f.Default]:"sm:mt-auto",[y.f.SearchResults]:"sm:mt-auto self-start md:font-body-small",[y.f.Swimlane]:"mt-auto",[y.f.Sidebar]:"text-neutral-30"},isBorderlessDesign:{true:"",false:""}},compoundVariants:[{variant:y.f.SearchResults,isBorderlessDesign:!1,class:"max-sm:mt-0"},{variant:[y.f.Default,y.f.SearchResults,y.f.Swimlane],isBorderlessDesign:!0,class:"max-sm:mt-0 sm:mt-auto"}],defaultVariants:{variant:y.f.Default,isBorderlessDesign:!1}}),_=(0,i.j)("flex flex-col items-start pt-3",{variants:{variant:{[y.f.Default]:"max-sm:px-3 max-sm:pt-0 justify-center sm:justify-between sm:h-full sm:border-neutral-10 sm:border-2 sm:border-t-0 sm:rounded-b-lg",[y.f.SearchResults]:"max-sm:px-3 max-sm:pb-3 justify-center sm:justify-between max-sm:pt-1 sm:h-full sm:border-neutral-10 sm:border-2 sm:border-t-0 sm:rounded-b-lg gap-0 md:gap-2",[y.f.Swimlane]:"pt-2 pb-3",[y.f.Sidebar]:"min-w-0",[y.f.Numeric]:"max-md:pl-3 max-md:pt-0 justify-center md:justify-between flex-1 md:rounded-b-lg text-neutral-100 gap-1"},isBorderlessDesign:{true:"sm:pl-0 sm:border-none",false:"sm:px-4 sm:gap-2"},ignoreSizing:{true:"",false:""},isFirstCategoryBasedItem:{true:"px-4 max-sm:absolute max-sm:bottom-4",false:""}},compoundVariants:[{variant:[y.f.Swimlane],isBorderlessDesign:!0,ignoreSizing:!1,class:"sm:gap-4 lg:px-3 lg:py-0 lg:justify-center"},{variant:[y.f.Default,y.f.SearchResults],isBorderlessDesign:!1,class:"sm:pb-6"},{variant:y.f.Numeric,isBorderlessDesign:!1,class:"md:pb-6 md:bg-neutral-0"},{variant:y.f.Numeric,isBorderlessDesign:!0,class:"sm:pl-3 md:pl-0 md:justify-start md:gap-2 md:pr-4"},{variant:y.f.Sidebar,isBorderlessDesign:!0,class:"sm:flex-col sm:gap-0.5 sm:pr-0 sm:pt-0 sm:pb-0 sm:justify-start"},{isFirstCategoryBasedItem:!0,isBorderlessDesign:!1,class:"lg:absolute lg:bottom-0 lg:border-none lg:justify-end"},{variant:[y.f.Default,y.f.SearchResults,y.f.Swimlane],isBorderlessDesign:!0,class:"sm:justify-start sm:gap-2 sm:pr-4"}],defaultVariants:{variant:y.f.Default,isBorderlessDesign:!1,ignoreSizing:!1}});var P=e=>{let{variant:t,link:r,showCategory:i,isBorderlessDesign:a,isFirstCategoryBasedItem:o,ignoreSizing:s}=e,l=t===y.f.Swimlane,c=t===y.f.Sidebar,d=t===y.f.Numeric,h=!l&&!d&&!!r.dateLabel;return(0,n.BX)("div",{className:_({variant:t,isBorderlessDesign:a,ignoreSizing:s,isFirstCategoryBasedItem:o}),children:[(0,n.tZ)("h6",{className:(0,u.cn)(k({variant:t,isBorderlessDesign:a,isFirstCategoryBasedItem:o}),o&&r.hasVideo&&"max-sm:pr-14",o&&r.hasVideo&&!a&&"lg:pr-14"),children:r.title}),c&&!!r.subtitle&&(0,n.tZ)("p",{className:"font-body-small line-clamp-1 text-neutral-20",children:r.subtitle}),h&&(0,n.tZ)("p",{className:C({variant:t,isBorderlessDesign:a}),children:r.dateLabel}),!l&&!!r.category&&!!i&&(0,n.tZ)("div",{className:(0,u.cn)("font-category uppercase order-first","text-infinite-collection-item-category group-visited:text-infinite-collection-item-category-visited",h&&"max-sm:hidden",!d&&"max-sm:mb-1",!a&&(d?"md:order-0":"sm:order-0")),children:r.category.title})]})};let A=(0,i.j)("relative flex flex-col group gap-0",{variants:{variant:{[y.f.Default]:"max-sm:flex-row",[y.f.SearchResults]:"max-sm:flex-row",[y.f.Swimlane]:"w-full cursor-pointer text-left",[y.f.Sidebar]:"flex-row gap-3 w-full",[y.f.
141Numeric]:"max-md:flex-row md:h-full"},ignoreSizing:{true:"",false:""},isBorderlessDesign:{true:"",false:""},isFirstCategoryBasedItem:{true:"",false:""}},compoundVariants:[{variant:y.f.Swimlane,ignoreSizing:!1,class:"lg:flex-row lg:max-h-19"},{isFirstCategoryBasedItem:!0,isBorderlessDesign:!1,class:"lg:col-span-2 lg:row-span-2"}],defaultVariants:{variant:y.f.Default,ignoreSizing:!1,isBorderlessDesign:!1,isFirstCategoryBasedItem:!1}});var N=e=>{let{component:t=o(),variant:r=y.f.Default,position:i,sectionTitle:a,link:c,showCategory:d,isActive:h,ignoreSizing:p,isFirstCategoryBasedItem:f,onClick:m}=e,{designTokens:g}=(0,s._w)(),v=r===y.f.Swimlane||g.isBorderlessDesign;return(0,n.BX)(t,{className:(0,u.cn)(A({variant:r,ignoreSizing:p,isFirstCategoryBasedItem:f,isBorderlessDesign:v}),!v&&h&&"sm:active-ring"),onClick:()=>{if(m){m(i);return}(0,l.Z)({label:a,position:i,...c})},...t===o()&&{href:c.url},children:[(0,n.tZ)(T,{variant:r,link:c,position:i,isActive:h,ignoreSizing:p,isBorderlessDesign:v,isFirstCategoryBasedItem:f}),(0,n.tZ)(P,{variant:r,link:c,showCategory:d,ignoreSizing:p,isBorderlessDesign:v,isFirstCategoryBasedItem:f})]})}},76663:function(e,t,r){"use strict";var n,i;r.d(t,{f:function(){return n}}),(i=n||(n={})).Default="default",i.SearchResults="searchResults",i.Swimlane="swimlane",i.Sidebar="sidebar",i.Numeric="numeric"},64157:function(e,t,r){"use strict";r.d(t,{Z:function(){return n.Z}});var n=r(60597)},69792:function(e,t,r){"use strict";var n=r(35944),i=r(66488),a=r(32034),o=r(28155);t.Z=e=>{let{children:t,className:r}=e,s=(0,a.G)(),l=(0,o.w)();return(0,n.tZ)("div",{className:(0,i.cn)("relative overflow-x-clip lg:min-h-[calc(100vh-860px)]","flow-root","[transition:margin-top_300ms_ease-out,translate_300ms_ease-in-out]",l&&"mt-10 md:mt-12",s&&"translate-x-80 md:translate-x-100",r),children:t})}},36715:function(e,t,r){"use strict";r.d(t,{I:function(){return s},Z:function(){return u}});var n=r(35944),i=r(12003),a=r(19822),o=r(66488);let s={Default:"default",Brand:"brand",RadioLive:"radioLive",ContentType:"contentType",Status:"status",Availability:"availability"},l=(0,i.j)("flex flex-row button-text-transform",{variants:{variant:{[s.Default]:["absolute h-5.5 m-0 py-1 px-2 gap-1","rounded-[26px] bg-opacity-02","text-neutral-0 font-button-small"],[s.Brand]:["absolute h-5.5 m-0 py-1 px-2 gap-1","rounded-[26px] bg-button-primary","text-button-primary font-button-small [&_svg]:text-button-primary"],[s.RadioLive]:["relative items-center text-center whitespace-nowrap","h-[22px] py-0 px-[6px] min-w-15","rounded-button bg-secondary-100","text-live-label-radio-show font-button-small"],[s.ContentType]:["absolute h-auto m-0","py-0.5 px-1 sm:py-1 sm:px-1.5","rounded-xs rounded-bl-sm sm:rounded-xs","bg-opacity-02 text-neutral-0 font-body-extra-small"],[s.Status]:["absolute h-auto m-0","py-0.5 px-1 sm:py-1 sm:px-1.5","rounded-xs rounded-bl-sm sm:rounded-xs","bg-opacity-02 text-neutral-0 font-body-extra-small-strong sm:font-button-small"],[s.Availability]:["absolute h-7 py-0 px-2 m-0 items-center","rounded-[26px] bg-label-secondary pointer-events-none","text-button-secondary font-button-small"]},highlighted:{true:"bg-infinite-collection-item-label text-infinite-collection-item-label",false:""}},defaultVariants:{variant:s.Default,highlighted:!1}});var u=e=>{let{icon:t,iconTestId:r,text:i,variant:s,highlighted:u,className:c,children:d,dataLabel:h}=e;return i&&(0,n.BX)("div",{"data-label":h,className:(0,o.cn)(l({variant:s,highlighted:u}),c),children:[!!t&&(0,n.tZ)(a.ZP,{icon:t,"data-testid":r,svgClassName:"text-neutral-0 z-base-control
141s w-[14px] h-[14px]"}),(0,n.tZ)("span",{children:i}),d]})}},11149:function(e,t,r){"use strict";r.d(t,{R:function(){return i}});var n,i,a=r(35944),o=r(12003),s=r(66488);(n=i||(i={})).FullBleed="fullBleed",n.VerticalPadded="verticalPadded",n.SideBySide="sideBySide",n.TopPadded="topPadded",n.Grid="grid";let l=(0,o.j)(["mx-auto box-border w-full max-w-xl","px-4 md:px-20 lg:px-24"],{variants:{layout:{[i.FullBleed]:"px-0 md:px-0 lg:px-0 xl:max-w-none",[i.VerticalPadded]:"pt-10 pb-15",[i.SideBySide]:"flex gap-4",[i.TopPadded]:"pt-10 md:pt-22",[i.Grid]:"grid grid-cols-12 gap-4"}}});t.Z=e=>{let{layout:t,className:r,children:n,...i}=e;return(0,a.tZ)("div",{className:(0,s.cn)(l({layout:t}),r),...i,children:n})}},16434:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(35944),i=r(25675),a=r.n(i),o=r(41664),s=r.n(o),l=r(78114),u=r(46635),c=r(36715);let d=e=>{let{item:t,position:r,label:n}=e,i=new URLSearchParams(document.location.search).has("zoek"),a=i?{eventName:l.SP.SEARCH_CLICK,eventCategory:l.$1.SEARCH}:{};(0,u.Z)({position:r,label:n.replaceAll("'",""),...t,...a})};var h=e=>{let{item:t,index:r,title:i}=e,o="availabilityLabel"in t?t.availabilityLabel:void 0;return(0,n.BX)("div",{className:"relative md:scale-100 md:transition md:duration-400 md:ease-in-out md:hover:scale-105",children:[(0,n.tZ)(s(),{target:t.target,onClick:()=>{d({item:t,position:r+1,label:i})},href:t.url,children:(0,n.tZ)("div",{className:"relative w-full aspect-2/3 rounded-lg overflow-hidden bg-skeleton",children:(0,n.tZ)(a(),{className:"object-cover rounded-lg",alt:t.title,src:t.imageUrl,fill:!0,sizes:"(max-width: 900px) 50vw, (max-width: 1200px) 30vw, 20vw"})})}),o&&(0,n.tZ)(c.Z,{variant:c.I.Availability,className:"top-1 left-1 md:top-2 md:left-2",text:o})]})}},10073:function(e,t,r){"use strict";var n=r(35944),i=r(14775),a=r(66488);t.Z=e=>{let{size:t=i.qE.Large,className:r}=e;return(0,n.tZ)("div",{className:(0,a.cn)((0,i.qP)({size:t,isNonInteractive:!0}),"bg-skeleton animate-pulse pointer-events-none",r)})}},92159:function(e,t,r){"use strict";var n=r(35944),i=r(66488);t.Z=e=>{let{aspectRatio:t,className:r}=e;return(0,n.tZ)("div",{"data-testid":"image-skeleton",className:(0,i.cn)("rounded-lg bg-skeleton animate-pulse",t,r)})}},39399:function(e,t,r){"use strict";var n=r(35944),i=r(66488);let a={inherit:"","header-1":"font-header-1","header-2":"font-header-2","header-3":"font-header-3","header-4":"font-header-4","header-5":"font-header-5","header-6":"font-header-6","header-7":"font-header-7","body-large":"font-body-large","body-medium":"font-body-medium","body-small":"font-body-small","body-extra-small":"font-body-extra-small"},o={full:"w-full","three-quarters":"w-3/4",half:"w-1/2",quarter:"w-1/4"};t.Z=e=>{let{variant:t="inherit",width:r="full",className:s}=e;return(0,n.tZ)("div",{"data-testid":"text-skeleton",className:(0,i.cn)("relative h-lh","before:absolute before:h-[1em] before:inset-x-0","before:top-1/2 before:-translate-y-1/2","before:rounded-sm before:bg-skeleton before:animate-pulse",a[t],o[r],s)})}},24390:function(e,t,r){"use strict";r.d(t,{hU:function(){return c}});var n=r(35944),i=r(67294),a=r(12003),o=r(66488),s=r(14775);let l=(0,a.j)("rounded-full p-0",{variants:{size:{xs:"h-5.5 w-5.5",sm:"h-10 w-10",md:"h-12 w-12",lg:"h-13 w-13",xl:"h-15 w-15","2xl":"h-20 w-20"}},defaultVariants:{size:"sm"}}),u=(0,a.j)("",{variants:{size:{xs:"h-2.5 w-2.5",sm:"h-5 w-5",md:"h-6 w-6",lg:"h-7 w-7",xl:"h-7.5 w-7.5","2xl":"h-8 w-8"}},defaultVariants:{size:"sm"}}),c=i.forwardRef((e,t)=>{let{icon:r,size:i,className:a,svgClassName:c,...d}=e;return(0,n.tZ)(s.ZP,{ref:t,startIcon:r,className:l({size:i,className:a}),svgClassName:(0,o.cn)(u({size:i,className:c})),...d})})},69001:function(e,t,r){"use strict";r.d(t,{u:function(){return y}});var n,i,a=r(35944),o=r(67294),s=r(41664),l=r.n(s),u=r(53390),c=r.n(u),d=r(12003);(n=i||(i={})).Facebook="facebook",n.Instagram="instagram",n.X="x",n.Youtube="youtube",n.Linkedin="linkedin";var h=r(21953),p=r(78114),f=r(24390);let m=(e,t)=>{c().link({event_category:null!=t?t:p.$1.SOCIAL_MEDIA_LINK,event_name:p.SP.OUTBOUND_CLICK,event_label:e})},g=e=>{let{instagram:t,youtube:r,facebook:n,x:a,linkedIn:o}=e;return[{name:i.Instagram,accessibilityLabel:"Instagram",icon:h.LM.Instagram,link:t},{name:i.Youtube,accessibilityLabel:"Youtube",icon:h.LM.Youtube,link:r},{name:i.Facebook,accessibilityLabel:"Facebook",icon:h.LM.Facebook,link:n},{name:i.X,accessibilityLabel:"X",icon:h.LM.Twitter,link:a},{name:i.Linkedin,accessibilityLabel:"LinkedIn",icon:h.LM.Linkedin,link:o}]},v=(0,d.j)("",{variants:{position:{footer:"text-footer font-header-5",page:"text-neutral-90 font-header-3",hamburger:"text-neutral-0 font-header-5"}},defaultVariants:{position:h.es.Footer}}),y=e=>{let{title:t,instagram:r,youtube:n,x:i,facebook:s,linkedIn:u,eventCategory:c,position:d}=e,h=g({instagram:r,youtube:n,facebook:s,x:i,linkedIn:u});return(0,a.BX)("div",{className:"flex flex-col gap-5 md:gap-4",children:[(0,a.tZ)("h5",{className:v({position:d}),children:t}),(0,a.tZ)("div",{className:"flex gap-4 md:gap-3",children:h.map(e=>{let{link:t,name:r,accessibilityLabel:n,icon:i}=e;return(0,a.tZ)(o.Fragment,{children:!!t&&(0,a.tZ)(f.hU,{"aria-label":n,href:t,target:"_blank",component:l(),icon:i,className:"bg-social-media text-social-media",onClick:()=>t&&m(t,c)})},r)})})]})}},17894:function(e,t,r){"use strict";r.d(t,{n:function(){return f},_:function(){return b}});var n=r(35944),i=r(67294),a=r(21953),o=r(66488),s=r(6504),l=r(12003),u=r(19822);let c=(0,o.cn)("absolute top-[14px] z-gradient","h-[28px] w-[28px] p-2 rounded-full","flex items-center justify-center text-center","border-2 border-white active:border-primary-120","active:bg-primary-120 text-tab-bar-arrow active:text-neutral-0","cursor-pointer max-lg:hidden"),d=(0,l.j)(c,{variants:{direction:{left:"left-[116px]",right:"right-[116px]"},visible:{true:"visible",false:"invisible"}},defaultVariants:{visible:!0}}),h=(0,l.j)("absolute top-0 z-gradient max-md:hidden h-full w-[80px] bg-[color:var(--tab-bar-color)] bg-[image:var(--tab-bar-color)] bg-no-repeat [background-size:100dvw_100%]",{variants:{direction:{left:"left-0 lg:left-24 mask-r-from-65% [background-position:left_0px_top] lg:[background-position:left_calc(-96px-max(0px,(100dvw-1440px)/2))_top]",right:"right-0 lg:right-24 mask-l-from-65% [background-position:right_0px_top] lg:[background-position:right_calc(-96px-max(0px,(100dvw-1440px)/2))_top]"}}}),p=e=>{let{direction:t,visible:r,clickHandler:i}=e;return(0,n.BX)(n.HY,{children:[(0,n.tZ)("div",{className:(0,o.cn)(h({direction:t}))}),(0,n.tZ)(u.ZP,{className:(0,o.cn)(d({direction:t,visible:r})),icon:t===a.VD.Left?a.LM.LeftChevron:a.LM.RightChevron,size:a.Jh.Small,onClick:i})]})},f=e=>{let{items:t,scrollableData:r,topPosition:l,visible:u=!0,variant:c=s.g.TopNavigation,animate:d=!1,renderItem:h}=e,{scrollContainerRef:f,canScrollLeft:m,canScrollRight:g,scrollClickHandler:v}=null!=r?r:{};return(0,n.BX)(s.Y,{visible:u,variant:c,animateTabBar:d,topPosition:l,children:[m&&(0,n.tZ)(p,{direction:a.VD.Left,visible:m,clickHandler:()=>null==v?void 0:v(a.VD.Left)}),(0,n.tZ)("div",{ref:f,className:(0,o.cn)("w-full h-full ml-0 max-md:pr-4","flex gap-6 md:gap-8 items-center justify-start","overflow-x-auto","[scrollbar-width:none] [&::-webkit-scrollbar]:hidden"),children:t.map((e,t)=>(0,n.tZ)(i.Fragment,{children:h(e,t)},"title"in e?e.title:e.label))}),g&&(0,n.tZ)(p,{direction:a.VD.Right,visible:g,clickHandler:()=>null==v?void 0:v(a.VD.Right)})]})};var m=r(25675),g=r.n(m);let v=(0,o.cn)("inline-flex justify-center items-center","h-full","whitespace-nowrap","border-b-[3px] border-transparent","transition-all duration-300","cursor-pointer"),y=(0,l.j)(v,{variants:{topNavBar:{true:"max-md:first:ml-4 text-tab-bar md:hover:border-tab-bar-item",false:"text-header md:hover:border-primary-100"},active:{true:"font-tab-strong",false:"font-tab"}},compoundVariants:[{topNavBar:!0,active:!0,class:"border-tab-bar-item"},{topNavBar:!1,active:!0,class:"border-primary-100"}],defaultVariants:{topNavBar:!0,active:!1}}),b=e=>{let{title:t,imageUrl:r,isActive:i,topNavBar:a=!0,as:s="div",...l}=e;return(0,n.BX)(s,{className:(0,o.cn)(y({topNavBar:a,active:i}),r&&"gap-[6px]"),"aria-current":i,...l,children:[r&&(0,n.tZ)(g(),{src:r,alt:"",width:28,height:28,quality:100,className:"h-7 w-7 shrink-0 object-contain"}),(0,n.tZ)("span",{className:(0,o.cn)("inline-flex flex-col","after:content-[attr(data-text)/'']","after:font-tab-strong after:h-0 after:invisible after:overflow-hidden","after:select-none after:pointer-events-none"),"data-text":t,children:t})]})}},6504:function(e,t,r){"use strict";r.d(t,{Y:function(){return c},g:function(){return i}});var n,i,a=r(35944),o=r(12003),s=r(66488),l=r(70103);(n=i||(i={})).TopNavigation="topNavigation",n.Transparent="transparent";let u=(0,o.j)("w-full h-14",{variants:{variant:{topNavigation:"absolute left-0 mt-14 md:mt-16 z-tab-bar bg-tab-bar transform transition-transform duration-150 ease-in",transparent:"relative mt-5 md:mt-8 z-base bg-transparent"},visible:{true:"transform-none",false:"translate-y-[-112px] md:translate-y-[-120px]"}},defaultVariants:{variant:i.TopNavigation,visible:!0}}),c=e=>{let{visible:t,children:r,variant:n,topPosition:o,animateTabBar:c=!1}=e,{designTokens:d}=(0,l._w)();return(0,a.tZ)("div",{className:(0,s.cn)(u({variant:n,visible:t}),c&&"animate-slide-up",d.colors.tabBarBorder&&"border-tab-bar"),style:{to
141p:o?"".concat(String(o),"px"):0},children:(0,a.tZ)("div",{className:(0,s.cn)("relative lg:flex lg:justify-start","mx-auto w-full h-full max-w-xl",n===i.TopNavigation&&"md:px-8 lg:px-24"),children:r})})}},48728:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(35944);r(67294);var i=r(14775),a=r(24390),o=r(21953),s=r(19822),l=r(66488),u=e=>{let{message:t,showWarningIcon:r=!1,showCloseIcon:u=!1,onClose:c,className:d="",contentClassName:h="",messageClassName:p="",role:f,dataTestId:m}=e;return(0,n.tZ)("div",{className:(0,l.cn)("w-full",d),children:(0,n.BX)("div",{className:(0,l.cn)("flex items-start gap-3 rounded-[8px] bg-neutral-0 p-4 text-neutral-80 font-body-medium-strong shadow-2xl",h),role:f,"data-testid":m,children:[r&&(0,n.tZ)(s.aN,{size:o.Jh.Large}),(0,n.tZ)("span",{className:(0,l.cn)("flex-1 text-sm md:text-base",p),children:t}),u&&(0,n.tZ)(a.hU,{icon:o.LM.Cross,size:i.qE.Small,onClick:c,"aria-label":"Close",className:"h-6 w-6 hover:bg-neutral-0 hover:active:bg-neutral-0",svgClassName:"h-6 w-6 text-neutral-80"})]})})}},16857:function(e,t,r){"use strict";r.d(t,{Y:function(){return N}});var n=r(35944),i=r(67294),a=r(53390),o=r.n(a),s=r(25675),l=r.n(s),u=r(14775),c=r(21953),d=r(83449);let h={isPlaying:!1,playingSource:""};var p=e=>{let[t,r]=(0,i.useState)(()=>e?{isPlaying:e.isPlaying,playingSource:e.getPlayingSource()}:h);return(0,i.useEffect)(()=>{if(!e){r(e=>e!==h?h:e);return}let t=e.subscribe(()=>{r({isPlaying:e.isPlaying,playingSource:e.getPlayingSource()})});return()=>{t()}},[e]),t},f=r(5091),m=r(78114);let g={PLAY:"play",STOP:"stop"},v={[g.PLAY]:m.SP.PLAYER_PREVIEW,[g.STOP]:m.SP.PLAYER_PREVIEW_STOP},y=new class{async handlePlayStopTrack(e,t){if(this.audio&&e.previewUrl){if(f.Z.getPlaybackState()===c.X6.Playing&&f.Z.pause(),this.audio.src===e.previewUrl&&this.audio.duration>0&&!this.audio.paused){this.audio.pause(),this.audio.src="",this.isPlaying=!1,this.trackPlayer(g.STOP,e.title),this.notifyListeners();return}this.audio.src=e.previewUrl,this.trackTitle=e.title,this.trackContentName=t,this.adjustVolume(),await this.audio.play(),this.isPlaying=!0,this.trackPlayer(g.PLAY,e.title),this.notifyListeners()}}getPlayingSource(){return this.audio?this.audio.src:""}adjustVolume(){if(!this.audio)return;let e=f.Z.getVolume();this.audio.volume=e}subscribe(e){return this.listeners.push(e),()=>{this.listeners=this.listeners.filter(t=>t!==e)}}notifyListeners(){this.listeners.forEach(e=>e())}constructor(){this.isPlaying=!1,this.listeners=[],this.handleStopAndCleanUp=()=>{this.audio&&(this.isPlaying&&(this.audio.pause(),this.trackPlayer(g.STOP,this.trackTitle)),this.isPlaying=!1,this.audio.src="",this.notifyListeners())},this.trackPlayer=(e,t)=>{let r={event_category:m.$1.PLAYER,event_name:v[e],media_name:t,event_label:t,event_action:e,...this.trackContentName?{content_name:this.trackContentName}:{}};o().link(r)},"undefined"!=typeof Audio&&(this.audio=new Audio,f.Z.off("play",this.handleStopAndCleanUp),f.Z.on("play",this.handleStopAndCleanUp),this.audio.addEventListener("ended",this.handleStopAndCleanUp))}};var b=r(70103),S=r(66488),w=r(24390),x=r(19822);let E="text-centar",T="font-body-small-strong",k={[c.FQ.Up]:(0,n.tZ)(x.qQ,{className:E}),[c.FQ.Down]:(0,n.tZ)(x.KL,{className:E}),[c.FQ.Equal]:(0,n.tZ)(x.zR,{className:E}),[c.FQ.DoubleUp]:(0,n.tZ)(x.z5,{className:E})},C="flex text-center px-1 h-8 md:h-12 justify-center border-x border-neutral-20",_=e=>{var t;let{track:r,showRankingTrend:a}=e,{rankingTrend:o,changed:s,weeks:l}=null!==(t=r.toplist)&&void 0!==t?t:{};return o||l?(0,n.tZ)(i.Fragment,{children:o!==c.FQ.New?(0,n.BX)("div",{className:"flex items-center mr-7 sm:mr-12 border-x border-neutral-20",children:[o&&a&&(0,n.BX)("div",{className:(0,S.cn)(C,"flex-col gap-1 items-center w-10 md:w-14"),children:[(0,n.tZ)("div",{className:"items-center",children:k[o]}),(0,n.tZ)("span",{className:(0,S.cn)(T,"text-neutral-80"),children:s})]}),l&&(0,n.BX)("div",{className:(0,S.cn)(C,"flex-col w-8 md:w-12"),children:[(0,n.tZ)("span",{className:(0,S.cn)(T,"text-neutral-80"),children:l}),(0,n.tZ)("span",{className:(0,S.cn)(T,"text-neutral-80"),children:"WK"})]})]}):(0,n.tZ)(i.Fragment,{children:a&&(0,n.tZ)("div",{className:(0,S.cn)(C,"items-center mr-7 sm:mr-12 w-10 md:w-14"),children:(0,n.tZ)("span",{className:(0,S.cn)(T,"text-new-track"),children:"NEW"})})})}):null},P=(e,t,r)=>{let n=[];return e&&n.push({label:"".concat(r?"Stop":"Luister"," fragment"),value:c.$s.Fragment,startIcon:r?c.LM.StopFilled:c.LM.PlayOutlinedFilled}),t&&n.push({label:"Luister in Spotify",value:c.$s.Spotify,startIcon:c.LM.Spotify}),n},A=e=>{let{track:t,isCurrentTrackPlaying:r,handlePlayStopTrack:a,spotifyEventCategory:s}=e,l=(0,i.useMemo)(()=>P(t.previewUrl,t.spotifyLink,r),[t,r]);return 0===l.length?null:(0,n.tZ)(d.Z_,{options:l,iconButton:{icon:c.LM.Options,hiddenText:"Options"},callback:e=>{e&&(e===c.$s.Fragment&&t.previewUrl&&a(t),e===c.$s.Spotify&&t.spotifyLink&&(o().link({event_name:m.SP.OUTBOUND_CLICK,event_category:s,event_label:t.spotifyLink}),window.open(t.spotifyLink,"_blank")))},className:"absolute right-0 sm:right-4 top-1/2 min-w-10 w-fit z-track-context-button -translate-y-1/2"})},N=e=>{var t,r;let{track:i,trackPreview:a,startTime:o,showRankingTrend:s,contentName:d,spotifyEventCategory:h}=e,{trackHistory:f}
141=(0,b._w)(),v=a?y:null,{isPlaying:x,playingSource:E}=p(v),T=x&&i.previewUrl===E,k=i.imageUrl||(null==f?void 0:f.fallbackImage),C=null!=h?h:i.toplist?m.$1.TOPLIST:m.$1.PLAYLIST,P=e=>{v&&v.handlePlayStopTrack(e,d)},N=!!a&&!!i.previewUrl,I=N?{onClick:()=>P(i),role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),P(i))}}:{},{rankingTrend:R,position:O,weeks:L}=null!==(t=i.toplist)&&void 0!==t?t:{},D=R&&s||L;return(0,n.BX)("div",{className:"relative",children:[(0,n.BX)("div",{className:(0,S.cn)("group flex gap:2.5 sm:gap-4 justify-between items-center","py-3 md:py-4 pr-2 pl-0","border-t border-neutral-10 cursor-default",N&&"cursor-pointer md:hover:bg-neutral-10"),...I,children:[(0,n.BX)("div",{className:"flex flex-1 gap-1.5 md:gap-3",children:[(0,n.tZ)("div",{suppressHydrationWarning:!0,className:(0,S.cn)("flex justify-center items-center","min-w-10 sm:min-w-10.5 md:min-w-11","font-body-small-strong text-right",o?"text-neutral-40":"text-neutral-80"),children:null!==(r=null!=o?o:O)&&void 0!==r?r:""}),(0,n.BX)("div",{className:(0,S.cn)("flex items-center gap-2 sm:gap-3 md:gap-4",D?"mr-0":"mr-10"),children:[k?(0,n.BX)("div",{className:"relative flex w-12 min-w-12 h-12 bg-neutral-10 md:w-17 md:h-17",children:[(0,n.tZ)(l(),{src:k,alt:i.imageTitle||i.title,width:68,height:68}),!!a&&(0,n.tZ)("div",{className:(0,S.cn)("absolute inset-0 flex items-center justify-center","p-1 z-base bg-opacity",T&&"bg-(--opacity-02)",N&&"md:group-hover:bg-(--opacity-02)"),children:(0,n.tZ)(w.hU,{isNonInteractive:!0,icon:T?c.LM.StopFilled:c.LM.PlayIconFilled,size:u.qE.ExtraSmall,"aria-label":T?g.STOP:g.PLAY,className:(0,S.cn)("md:h-7 md:w-7","opacity-0 bg-toplist text-play",N&&"md:group-hover:opacity-100",T&&"opacity-100"),svgClassName:"md:w-4 md:h-4"})})]}):(0,n.tZ)("div",{className:"w-12 h-12 bg-neutral-10 md:w-17 md:h-17"}),(0,n.BX)("div",{className:"flex flex-col sm:max-w-none",children:[(0,n.tZ)("h5",{className:"font-header-5 overflow-hidden text-ellipsis line-clamp-1 wrap-break-word text-neutral-80 pr-2",children:i.title}),(0,n.tZ)("p",{className:"font-body-medium overflow-hidden text-ellipsis line-clamp-1 wrap-break-word text-neutral-60",children:i.artistName})]})]})]}),D&&(0,n.tZ)(_,{track:i,showRankingTrend:!!s})]}),!!a&&(0,n.tZ)(A,{track:i,isCurrentTrackPlaying:T,handlePlayStopTrack:P,spotifyEventCategory:C})]})}},33598:function(e,t,r){"use strict";r.d(t,{Xh:function(){return i}});var n,i,a=r(35944),o=r(14775),s=r(19822),l=r(21953),u=r(12645),c=r(66488);(n=i||(i={})).GeoError="GEO_ERROR",n.AdBlockDetected="AD_BLOCK_DETECTED",n.NotAvailable="NOT_AVAILABLE",n.NotFound="NOT_FOUND",n.PvxError="PVX_ERROR";let d={[i.GeoError]:{header:"Deze video is niet beschikbaar op je huidige locatie",body:"Wij zien dat je deze site op dit moment buiten Nederland bezoekt. Vanwege uitzendrechten is deze video alleen binnen Nederland beschikbaar.",buttonText:"Laad opnieuw"},[i.AdBlockDetected]:{header:"AdBlock gedetecteerd",body:"Schakel je AdBlocker uit om de video te bekijken. Bedankt voor je ondersteuning!",buttonText:"Probeer opnieuw"},[i.NotAvailable]:{header:"Deze video is momenteel niet beschikbaar"},[i.NotFound]:{header:"Video helaas niet gevonden"},[i.PvxError]:{header:"Er is iets misgegaan met het ophalen van de gegevens. Probeer het opnieuw door de pagina te herladen.",buttonText:"Probeer opnieuw"}};t.ZP=e=>{let{errorType:t}=e,{header:r,body:n,buttonText:i}=d[t];return(0,a.tZ)(u.Z,{aspectRatio:"16:9",className:"relative bg-transparent",children:(0,a.BX)("div",{className:(0,c.cn)("absolute inset-0 p-4 rounded-lg bg-neutral-50 text-neutral-0","flex flex-col items-center justify-center text-center gap-4","max-md:rounded-none"),children:[(0,a.tZ)(s.sz,{size:l.Jh.DoubleExtraLarge,className:"border-2 border-neutral-0 p-3 rounded-full hidden sm:block"}),(0,a.tZ)("h2",{className:(0,c.cn)("font-header-5 text-neutral-0","sm:font-header-4","md:font-header-3"),children:r}),n&&(0,a.tZ)("p",{className:(0,c.cn)("hidden sm:block sm:font-body-medium md:font-body-large text-neutral-0"),children:n}),i&&(0,a.tZ)(o.ZP,{size:o.qE.Large,onClick:()=>window.location.reload(),children:i})]})})}},16928:function(e,t,r){"use strict";r.d(t,{Z:function(){return e0}});var n,i,a,o,s=r(35944),l=r(67294),u=r(36492),c=r(53390),d=r.n(c),h=r(28994),p=r(5152),f=r.n(p),m=r(5091),g=r(14775),v=r(5168),y=r(23370),b=r(21953);function S(e){var t;let{showCurrentlyPlaying:r,title:n,seriesTitle:i}=e;return(0,s.BX)("div",{className:"absolute top-0 left-0 right-0 px-4 py-3 bg-gradient-to-b from-black/60 via-black/30 to-transparent",children:[(0,s.BX)("div",{className:"hidden sm:block text-neutral-0 font-body-large",children:[b.c2.CastingTo," ",null!==(t=y.Z.deviceName)&&void 0!==t?t:b.c2.DefaultDevice]}),r&&n&&(0,s.BX)("div",{className:"text-neutral-0 text-sm mt-1",children:[i&&(0,s.BX)("span",{children:[i," - "]}),(0,s.tZ)("span",{children:n})]})]})}var w=r(12003),x=r(66488);let E=(0,w.j)("w-full flex items-center",{variants:{variant:{regular:"px-2 z-gradient h-3",ads:"px-2 h-3"}},defaultVariants:{variant:"regular"}}),T=(0,w.j)("relative w-full overflow-hidden transition-[height,background-color] duration-150",{variants:{variant:{regular:"h-1 rounded-full bg-neutral-0/60",ads:"h-1 rounded-full bg-[rgba(242,242,242,0.6)] cursor-default"},disabled:{true:"cursor-default",false:""}},compoundVariants:[{variant:"regular",disabled:!1,class:"cursor-pointer hover:h-[5px] hover:bg-neutral-0/70"}],defaultVariants:{variant:"regular",disabled:!1}}),k=(0,w.j)("absolute top-0 left-0 h-full transition-all",{variants:{variant:{regular:"bg-primary-100 rounded",ads:"bg-tertiary-50 rounded-none"}},defaultVariants:{variant:"regular"}});function C(e){let{variant:t="regular",isPlayingBreak:r}=e,n=(0,l.useRef)(null),[i,a]=l.useState(()=>y.Z.adState),[o,u]=l.useState(()=>y.Z.currentTime),[c,d]=l.useState(()=>y.Z.duration);l.useEffect(()=>{let e=e=>{a(e)},t=e=>{let{currentTime:t,duration:r}=e;u(t),d(r)};return y.Z.on("adStateChange",e),y.Z.on("timeUpdate",t),()=>{y.Z.off("adStateChange",e),y.Z.off("timeUpdate",t)}},[]);let h=l.useMemo(()=>r?[]:i.breaks.map(e=>({id:e.id,percentage:e.position/c*100})),[r,i,c]),p=r?i.adTime:o,f=r?i.adDuration:c,m=f>0?Math.min(p/f*100,100):0,g=e=>{if(!n.current)return;let t=n.current.getBoundingClientRect(),r=e.clientX-t.left,i=r/t.width;y.Z.seek(i*f)};return c<=0?null:(0,s.tZ)("div",{className:E({variant:t}),children:(0,s.BX)("div",{className:"relative w-full group",children:[(0,s.BX)("div",{ref:n,role:"progressbar","aria-valuemin":0,"aria-valuemax":f,"aria-valuenow":p,tabIndex:0,className:T({variant:t}),onClick:g,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&g(e)},children:[(0,s.tZ)("div",{className:k({variant:t}),style:{width:"".concat(String(m),"%")}}),"regular"===t&&h.map(e=>(0,s.tZ)("div",{className:"absolute top-0 h-full w-0.5 pointer-events-none",style:{left:"".concat(String(e.percentage),"%"),backgroundColor:"rgba(33, 33, 33, 0.8)"}},e.id))]}),"regular"===t&&(0,s.tZ)("div",{className:"absolute top-1/2 -translate-y-1/2 -translate-x-1/2 pointer-events-none",style:{left:"".concat(String(m),"%")},children:(0,s.tZ)("div",{className:(0,x.cn)("w-3 h-3 bg-primary-100 rounded-full opacity-0","group-hover:opacity-100 group-hover:scale-110","transition-[opacity,transform] duration-150")})})]})})}var _=r(24390);function P(){return(0,s.tZ)("div",{className:"w-11 h-11 flex items-center justify-center",children:(0,s.tZ)("google-cast-launcher",{style:{display:"block",width:"24px",height:"24px",cursor:"pointer","--disconnected-color":"rgb(255, 255, 255)","--connected-color":"var(--primary-100-color)","--focus-color":"var(--primary-100-color)"}})})}var A=r(9315);let N={playerState:"playerStateChange",isPlayingBreak:"breakChange",media:"mediaChange",isCasting:"isCasting",volume:"volumeChange",adState:"adStateChange",time:"timeUpdate",currentTrack:"trackChange",isAtLiveEdge:"liveEdgeChange"};function I(e){let[t,r]=(0,l.useState)(()=>e({playerState:y.Z.playerState,isPlayingBreak:y.Z.isPlayingBreak,media:y.Z.media,isCasting:y.Z.isCasting,volume:{muted:y.Z.getMuted(),level:y.Z.getVolume()},adState:y.Z.adState,time:{currentTime:y.Z.currentTime,duration:y.Z.duration},currentTrack:y.Z.currentTrack,isAtLiveEdge:y.Z.isAtLiveEdge()}));return(0,l.useEffect)(()=>{let e=[],n=Object.keys(t);
141return n.forEach(t=>{let n=N[t],i=e=>{r(r=>({...r,[t]:e}))};y.Z.on(n,i),e.push(()=>y.Z.off(n,i))}),()=>e.forEach(e=>e())},[]),t}function R(e){let{isLive:t,isPlayingBreak:r}=e,{time:n,adState:i,isAtLiveEdge:a}=I(e=>({time:e.time,adState:e.adState,isAtLiveEdge:e.isAtLiveEdge}));if(r)return(0,s.BX)("div",{className:"flex items-center gap-2 px-2",children:[(0,s.BX)("span",{className:"text-neutral-0 font-body-extra-small",children:[(0,A.H)(i.adTime)," / ",(0,A.H)(i.adDuration)]}),!!(i.adSequence&&i.adPodCount)&&(0,s.BX)("span",{className:"text-neutral-0 font-body-extra-small",children:["Ad ",i.adSequence," van ",i.adPodCount]})]});if(t){let e=n.duration>0;return e?(0,s.tZ)("div",{className:"flex items-center px-2",children:(0,s.tZ)("button",{onClick:()=>y.Z.seekToLive(),type:"button",className:(0,x.cn)("px-2 py-0.5 font-body-extra-small-strong text-neutral-0/80 border border-neutral-0/0 hover:text-neutral-0 hover:cursor-pointer",!a&&"border-neutral-0/80 hover:border-neutral-0"),children:a?"• LIVE":"• NIET LIVE"})}):(0,s.tZ)("div",{className:"flex items-center px-2",children:(0,s.tZ)("span",{className:"px-2 py-0.5 font-body-extra-small-strong text-neutral-0/80",children:"Live"})})}return(0,s.BX)("div",{className:"flex items-center text-neutral-0 font-body-extra-small px-2",children:[(0,s.tZ)("span",{children:(0,A.H)(n.currentTime)}),(0,s.tZ)("span",{className:"mx-1",children:"/"}),(0,s.tZ)("span",{children:(0,A.H)(n.duration)})]})}var O=r(19822);function L(){let{volume:e}=I(e=>({volume:e.volume})),[t,r]=l.useState(e);l.useLayoutEffect(()=>{r(e)},[e]);let n=t.muted?0:100*t.level;return(0,s.BX)("div",{className:"group relative flex items-center z-floating",children:[!t.muted&&t.level>0?(0,s.tZ)(O.Pr,{onClick:()=>{r({...t,muted:!0}),y.Z.setMute(!0)},size:b.Jh.Medium,className:"cursor-pointer text-neutral-0 hover:text-primary-100","data-testid":"volume-icon"}):(0,s.tZ)(O.xb,{onClick:()=>{r({...t,muted:!1}),y.Z.setMute(!1)},size:b.Jh.Medium,className:"cursor-pointer text-neutral-0 hover:text-primary-100","data-testid":"mute-icon"}),(0,s.tZ)("div",{className:"absolute -bottom-1 left-1/2 -translate-x-1/2 pb-6 opacity-0 invisible group-hover:opacity-100 group-hover:visible hover:opacity-100 hover:visible transition-opacity pointer-events-none",children:(0,s.tZ)("div",{className:"flex justify-center bg-neutral-90 rounded-lg px-3 py-3 min-w-10 pointer-events-auto",children:(0,s.tZ)("input",{type:"range",min:0,max:1,step:.01,value:t.muted?0:t.level,onChange:t=>{let n=parseFloat(t.target.value);r({muted:!1,level:n}),y.Z.setVolume(n),n>0&&e.muted&&y.Z.setMute(!1)},"aria-label":"Volume","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(n),className:(0,x.cn)("h-[110px] w-1 appearance-none bg-transparent cursor-pointer","[writing-mode:vertical-lr] [direction:rtl]","[&::-webkit-slider-runnable-track]:w-1 [&::-webkit-slider-runnable-track]:rounded-xs","[&::-webkit-slider-runnable-track]:bg-[linear-gradient(to_top,rgb(255,255,255)_0%_var(--volume),rgba(242,242,242,0.6)_var(--volume)_100%)]","[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:w-3 [&::-webkit-slider-thumb]:h-3","[&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:bg-neutral-0 [&::-webkit-slider-thumb]:-ml-1","[&::-webkit-slider-thumb]:invisible","[&::-moz-range-track]:w-1 [&::-moz-range-track]:rounded-xs","[&::-moz-range-track]:bg-[linear-gradient(to_top,rgb(255,255,255)_0%_var(--volume),rgba(242,242,242,0.6)_var(--volume)_100%)]","[&::-moz-range-thumb]:w-3 [&::-moz-range-thumb]:h-3 [&::-moz-range-thumb]:border-0","[&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:bg-neutral-0","[&::-moz-range-thumb]:invisible","group-hover:[&::-webkit-slider-runnable-track]:bg-[linear-gradient(to_top,rgb(0,179,255)_0%_var(--volume),rgba(242,242,242,0.6)_var(--volume)_100%)]","group-hover:[&::-webkit-slider-thumb]:visible","group-hover:[&::-moz-range-track]:bg-[linear-gradient(to_top,rgb(0,179,255)_0%_var(--volume),rgba(242,242,242,0.6)_var(--volume)_100%)]","group-hover:[&::-moz-range-thumb]:visible"),style:{"--volume":"".concat(String(n),"%")}})})})]})}
141var D=r(82223);function M(e){let{video:t}=e,{currentTrack:r}=I(e=>({currentTrack:e.currentTrack})),[n,i]=l.useState(null!=r?r:"off");l.useEffect(()=>{i(null!=r?r:"off")},[r]);let a=l.useMemo(()=>{var e,r;let n=null!==(r=null==t?void 0:null===(e=t.tracks)||void 0===e?void 0:e.filter(e=>"captions"===e.kind&&!!e.label).map(e=>({value:e.file,label:e.label})))&&void 0!==r?r:[];return n.length?[{value:"off",label:b.c2.CaptionsOff},...n]:[]},[t]);return a.length?(0,s.tZ)(D.Z,{defaultValue:n,options:a,callback:e=>{i(e),y.Z.setActiveTrack(e)},iconButton:{icon:b.LM.ClosedCaption,hiddenText:"CC"},className:"h-11",buttonClassName:(0,x.cn)("bg-transparent border-0 w-11 h-11","hover:bg-transparent active:bg-transparent","[&_svg]:text-neutral-0 hover:[&_svg]:text-primary-100 active:[&_svg]:text-primary-120","[&_svg]:!top-1/2 [&_svg]:!left-1/2 [&_svg]:-translate-x-1/2 [&_svg]:-translate-y-1/2")},n):null}(a||(a={})).Idle="idle";let Z=(0,w.j)("flex items-center px-3",{variants:{variant:{[a.Idle]:"justify-end pb-1"}}});function F(e){let{variant:t,isLive:r,playerState:n,isPlayingBreak:i,video:o}=e,l=n===y.g.PLAYING;return(0,s.tZ)(s.HY,{children:(0,s.tZ)("div",{className:Z({variant:t}),children:t===a.Idle?(0,s.BX)(s.HY,{children:[(0,s.tZ)("span",{className:"text-neutral-0",children:b.c2.Disconnect}),(0,s.tZ)(P,{})]}):(0,s.BX)(s.HY,{children:[n===y.g.BUFFERING?(0,s.tZ)(_.hU,{icon:b.LM.Spinner,variant:g.$e.Ghost,className:"pointer-events-none","aria-label":b.c2.Buffering}):(0,s.tZ)(_.hU,{icon:l?b.LM.Pause:b.LM.PlayIconFilled,variant:g.$e.Ghost,className:"hover:bg-transparent hover:text-primary-100 active:bg-transparent active:text-primary-120",onClick:()=>{y.Z.playOrPause()},"aria-label":l?b.c2.Pause:b.c2.Play}),(0,s.tZ)(L,{}),(0,s.tZ)(R,{isLive:!!r,isPlayingBreak:!!i}),(0,s.tZ)("div",{className:"flex-1"}),!i&&(0,s.tZ)(M,{video:o}),(0,s.tZ)(P,{})]})})})}var j=function(e){let{video:t,image:r}=e,{playerState:n,isPlayingBreak:i,media:o}=I(e=>({playerState:e.playerState,isPlayingBreak:e.isPlayingBreak,media:e.media})),[u,c]=l.useState(!1),d=!!o.contentId&&o.contentId!==t.guid;l.useEffect(()=>{c(d)},[d]);let h=!!o.contentId;if(n===y.g.IDLE&&o.contentId)return(0,s.BX)("div",{className:"w-full aspect-video relative bg-neutral-100",children:[(0,s.tZ)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,s.tZ)(v.Z,{})}),(0,s.tZ)("div",{className:"absolute inset-x-0 bottom-0 z-base-control
141s",children:(0,s.tZ)(F,{variant:a.Idle,playerState:y.g.IDLE})})]});let p=u||!h;return(0,s.BX)("div",{className:"w-full aspect-video relative bg-neutral-100",children:[o.thumbnail&&(0,s.tZ)("div",{className:"absolute inset-0 bg-cover bg-center opacity-30",style:{backgroundImage:"url(".concat(o.thumbnail,")")}}),(0,s.BX)("div",{className:"absolute inset-0 flex flex-col justify-between pointer-events-none",children:[(0,s.tZ)(S,{showCurrentlyPlaying:d&&!p,title:o.title,seriesTitle:o.seriesTitle}),(0,s.BX)("div",{className:"mt-auto flex flex-col pointer-events-auto relative z-base-controls",children:[!p&&(0,s.tZ)(C,{variant:i?"ads":"regular",isPlayingBreak:i}),(0,s.tZ)(F,{variant:p?a.Idle:void 0,playerState:n,isLive:o.isLive,isPlayingBreak:i,video:t})]})]}),p&&(0,s.tZ)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 z-base",children:(0,s.BX)("div",{className:"bg-neutral-100 rounded-lg p-6 max-w-md mx-4",children:[(0,s.tZ)("p",{className:"mb-6",children:"".concat(b.c2.ConfirmPlayVideo).concat(h?b.c2.ConfirmStopCurrent:"","?")}),(0,s.BX)("div",{className:"flex gap-3 justify-center",children:[(0,s.tZ)(g.ZP,{variant:g.$e.Primary,onClick:()=>{y.Z.initialize({applicationId:y.Z.applicationId,videoApiEndpoint:y.Z.videoApiEndpoint,video:t,image:r}),y.Z.load(),c(!1)},children:b.c2.PlayButton}),(0,s.tZ)(g.ZP,{variant:g.$e.Ghost,onClick:()=>{if(h){c(!1);return}y.Z.endSession()},children:b.c2.CancelButton})]})]})})]})},B=r(39251),U=r(30656),$=r(47610),V=r(38210),z=r(88665),H=r(62071),G=r(59232),q=r(70103),K=r(12875);let W=()=>{var e;return!K.default.isEnabled(K.O5.DelayPlayerUntilHashedVisitorId)||!!(null===(e=window.utag)||void 0===e?void 0:e.data.hashed_visitor_id)},X=e=>new Promise(t=>{if(W()||e.aborted){t();return}let r=0,n=setInterval(()=>{r++,(W()||r>=10)&&(clearInterval(n),t())},500);e.addEventListener("abort",()=>{clearInterval(n),t()},{once:!0})});var Y=r(15484),J=r(11163),Q=r(44909),ee=r(6380),et=r(78114);class er{getState(){return this.state}async getNextUpDetails(){return this.state.next?(0,$.zU)(this.state.next.guid):null}attemptPlayNext(e){this.ready.then(()=>{this.state.next&&(d().link({event_category:et.$1.PLAYER,event_name:e?et.SP.PLAYER_PLAY:et.SP.PLAYER_NEXT,...e&&{event_label:et.KX.SUGGESTED_CONTENT,player_autoplay:!0}}),this.navigate(this.state.next.url))})}navigatePrevious(){this.ready.then(()=>{this.state.prev&&(d().link({event_category:et.$1.PLAYER,event_name:et.SP.PLAYER_PREVIOUS}),this.navigate(this.state.prev.url))})}static destroy(){var e;null===(e=this.seasonCache)||void 0===e||e.clear()}async resolveState(){var e,t;let r="tvSeasonId"in this.filter?this.filter.tvSeasonId:this.filter.seriesId,n=await this.get
141SeasonGuids(r),i=n.findIndex(e=>e===this.currentGuid);if(-1===i){this.state={prev:null,next:null};return}let a=null!==(e=n[i-1])&&void 0!==e?e:await this.fetchItemFromOtherSeason(r,-1),o=null!==(t=n[i+1])&&void 0!==t?t:await this.fetchItemFromOtherSeason(r,1),s=a?this.buildPlaylistItem(a):null,l=o?this.buildPlaylistItem(o):null;this.state={prev:this.isClip?l:s,next:this.isClip?s:l}}async getSeasonGuids(e){var t,r,n;let i=null===(t=er.seasonCache)||void 0===t?void 0:t.get(e);if(i&&this.hasEnoughCurrentSeasonItems(i))return i.guids;let a=i?[...i.guids]:[],o=null!==(r=null==i?void 0:i.totalResults)&&void 0!==r?r:0,s=a.length,l=!1;try{do{let{totalResults:t,guids:r}=await (0,$.Tr)(this.filter,this.programTypes,s,100,this.programTypes.includes(h.vw.Episode)?b.O_.EpisodeNumberAsc:b.O_.AddedDesc);a.push(...r),o=t,l=a.length<t,null===(n=er.seasonCache)||void 0===n||n.set(e,{totalResults:o,guids:a}),s=a.length}while(l&&s<=500&&!this.hasEnoughCurrentSeasonItems({totalResults:o,guids:a}))}catch(e){(0,U.Nd)(e)}return a}hasEnoughCurrentSeasonItems(e){let{guids:t,totalResults:r}=e,n=t.findIndex(e=>e===this.currentGuid);return -1!==n&&(n<t.length-1||t.length>=r)}async fetchItemFromOtherSeason(e,t){if(this.isClip)return;
141let r=await this.getSeasonToFetch(e,t);if(r)try{let e=0;do{let{guids:n}=await (0,$.Tr)({tvSeasonId:r.value},this.programTypes,e,1,t>0?b.O_.EpisodeNumberAsc:b.O_.EpisodeNumberDesc);if(n.length)return n[0];e+=1}while(e<10)}catch(e){(0,U.Nd)(e)}}buildPlaylistItem(e){return{guid:e,url:"/".concat(b.e3,"/").concat(this.seriesSlug,"/").concat(e)}}async getAvailableSeasons(){if(!this.availableSeasons){let e=await (0,$.cw)(this.seriesSlug);this.availableSeasons=e.sort((e,t)=>Number(e.seasonNumber)-Number(t.seasonNumber))}return this.availableSeasons}async getSeasonToFetch(e,t){let r=(await this.getAvailableSeasons()).filter(e=>!e.isDisabled),n=r.findIndex(t=>t.value===e);if(-1!==n)return r[n+t]}constructor(e){var t,r,n,i,a,o,s;this.availableSeasons=null,this.state={prev:null,next:null};let{video:l,navigate:u}=e;this.currentGuid=l.guid,this.seriesSlug=null!==(n=null===(t=l.series)||void 0===t?void 0:t.slug)&&void 0!==n?n:"",this.navigate=u,this.programTypes=[l.type],this.isClip=l.type===h.vw.Clip,this.filter=this.isClip?{seriesId:null!==(a=null!==(i=l.seriesId)&&void 0!==i?i:null===(r=l.series)||void 0===r?void 0:r.guid)&&void 0!==a?a:""}:{tvSeasonId:null!==(o=l.tvSeasonId)&&void 0!==o?o:""},null!==(s=er.seasonCache)&&void 0!==s||(er.seasonCache=new Map),this.ready=this.resolveState().catch(()=>{this.state={prev:null,next:null}})}}er.seasonCache=null;var en=r(86720),ei=r(28752),ea=r(91176);let eo=async(e,t)=>{var r,n,i,a,o;if(!t)return;await t.ready;let{prev:s,next:l}=t.getState(),u=null==e?void 0:e.getContainer(),c=null==u?void 0:u.querySelector(".jw-display-controls");if(!c)return;let d=null!==(i=null==u?void 0:u.classList.contains("jw-flag-touch"))&&void 0!==i&&i;null===(r=c.querySelector(".jw-display-icon-previous"))||void 0===r||r.remove(),null===(n=c.querySelector(".jw-display-icon-next-playlist"))||void 0===n||n.remove(),s&&(null===(a=c.querySelector(".jw-display-icon-rewind"))||void 0===a||a.remove(),c.prepend(es(ea.r.Previous,en.Z.video.previousVideo,en.Z.video.previous,d,()=>{t.navigatePrevious()}))),l&&(null===(o=c.querySelector(".jw-display-icon-forwards"))||void 0===o||o.remove(),c.append(es(ea.r.NextPlaylist,en.Z.video.nextVideo,en.Z.video.next,d,()=>{t.attemptPlayNext()})))},es=(e,t,r,n,i)=>{let a=document.createElement("div");a.className="jw-display-icon-container jw-display-icon-".concat(e," jw-reset"),(0,ei.Z)(a,e,r,n);let o=document.createElement("div");return o.className="jw-icon jw-icon-".concat(e," jw-button-color jw-reset"),o.role="button",o.tabIndex=0,o.ariaLabel=t,o.onclick=i,a.appendChild(o),a};var el=r(32675);(n=o||(o={})).Hidden="hidden",n.Visible="visible",n.Dismissed="dismissed";var eu=r(25675),ec=r.n(eu),ed=r(12645),eh=r(54487),ep=r(89117),ef=r(97397),em=r(6603),eg=r(25196),ev=r(58210),ey=e=>{try{let t=new ef.N9(new Date(e),ev.aB);if((0,eh.Z)(t))return"Vandaag, ".concat((0,ep.ZP)(t,"HH:mm",{locale:em.nl}));return(0,eg.Z)((0,ep.ZP)(t,"EEEE d MMM HH:mm",{locale:em.nl}).replace(".",","))}catch(e){return console.error(e),""}},eb=r(10146),eS=r(91771),ew=r(21860),ex=r(32276),eE=r(26843),eT=r(32612);function ek(e,t,r){let{years:n=0,months:i=0,weeks:a=0,days:o=0,hours:s=0,minutes:l=0,seconds:u=0}=t,c=(0,eT.Q)(e,r?.in),d=i||n?(0,ex.z)(c,i+12*n):c,h=o||a?(0,ew.E)(d,o+7*a):d;return(0,eE.L)(r?.in||e,+h+1e3*(u+60*(l+60*s)))}var eC=r(79309),e_=r(98602),eP=r(90828),eA=r(35694),eN=r(80554),eI=r(77303),eR=r(96074),eO=r(84441),eL=function(e,t){let{start:r,end:n}=function(e,t){let[r,n]=(0,eS.d)(e,t.start,t.end);return{start:r,end:n}}(t?.in,e),i={},a=(0,eO.o)(n,r);a&&(i.years=a);let o=ek(r,{years:i.years}),s=function(e,t,r){let[n,i,a]=(0,eS.d)(void 0,e,e,t),o=(0,eA.U)(i,a),s=Math.abs(function(e,t,r){let[n,i]=(0,eS.d)(void 0,e,t),a=n.getFullYear()-i.getFullYear(),o=n.getMonth()-i.getMonth();return 12*a+o}(i,a));if(s<1)return 0;1===i.getMonth()&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-o*s);let l=(0,eA.U)(i,a)===-o;(function(e,t){let r=(0,eT.Q)(e,t?.in);return+(0,eN.i)(r,t)==+function(e,t){let r=(0,eT.Q)(e,t?.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}(r,t)})(n)&&1===s&&1===(0,eA.U)(n,a)&&(l=!1);let u=o*(s-+l);return 0===u?0:u}(n,o);s&&(i.months=s);let l=ek(o,{months:i.months}),u=(0,eC.j)(n,l);u&&(i.days=u);let c=ek(l,{days:i.days}),d=(0,e_.A)(n,c);d&&(i.hours=d);let h=ek(c,{hours:i.hours}),p=(0,eP.X)(n,h);p&&(i.minutes=p);let f=ek(h,{minutes:i.minutes}),m=function(e,t,r){let n=(0,eR._)(e,t)/1e3;return(0,eI.u)(void 0)(n)}(n,f);return m&&(i.seconds=m),i},eD=r(12592);let eM="Kijk",eZ="Kijk LIVE";var eF=(e,t)=>{if(!e)return"";let r=t?eZ:eM;try{let n=new ef.N9(new Date,ev.aB),i=new ef.N9(new Date(e),ev.aB);if((0,eD.Z)(i,n))return r;let a=(0,eb.Z)(i,n);if(a>1)return"".concat(r," over ").concat(String(a)," dagen");if(1===a)return"Kijk morgen".concat(t?" LIVE":"");let{hours:o=0,minutes:s=0}=eL({start:n,end:i});if(0===o&&0===s)return"";if(o>=6)return"".concat(r," over ").concat(String(o)," uur");if(0===o)return"".concat(r," over ").concat(String(Math.max(s,1))," min");return"".concat(r," over ").concat(String(o)," uur en ").concat(String(s)," min")}catch(e){return console.error(e),""}},ej=r(58893),eB=e=>
141{let{publishStartDate:t,imageUrl:r,isEntitled:n,title:i,mediaId:a,isLive:o,onRefresh:u}=e,[c,d]=(0,l.useState)(()=>eF(t,o));(0,l.useEffect)(()=>{let e=setInterval(()=>{let e=eF(t,o);d(e),n&&(e===eM||e===eZ)&&u()},b.JM);return()=>clearInterval(e)},[t,o,n,u]);let h=(0,l.useMemo)(()=>ey(t),[t]);return(0,s.BX)("div",{className:"relative flex justify-center items-center",children:[r&&(0,s.tZ)(ed.Z,{aspectRatio:"16:9",children:(0,s.tZ)(ec(),{src:r,fill:!0,alt:i,sizes:"(max-width: 1200px) 100vw, 80vw"})}),(0,s.BX)("div",{className:"absolute bottom-6 md:bottom-[38px] xl:bottom-8 flex flex-col gap-4 items-center",children:[!n&&(0,s.tZ)(ej.Z,{appearance:b.gJ.Player,mediaId:a}),(0,s.BX)("button",{type:"button",onClick:u,className:(0,x.cn)("w-full py-3 px-4","flex items-center gap-3.5","bg-primary-secondary rounded-[100px] cursor-pointer"),children:[(0,s.tZ)("div",{className:(0,x.cn)("justify-center items-center flex","w-[26px] h-[26px] md:w-10 md:h-10","rounded-full border-2 border-neutral-0 text-neutral-0"),children:(0,s.tZ)(O.a1,{svgClassName:"w-4 h-4 md:w-5 md:h-5"})}),(0,s.BX)("div",{className:"text-left",children:[(0,s.tZ)("h6",{className:"font-header-6",children:c}),(0,s.tZ)("p",{className:"font-body-extra-small",children:h})]})]})]})]})},eU=r(61351),e$=r(33598),eV=r(99234),ez=e=>{let{imageUrl:t,availableDate:r,title:n}=e;return(0,s.BX)(ed.Z,{aspectRatio:"16:9",className:"relative overflow-hidden rounded-lg max-md:rounded-none",children:[t&&(0,s.tZ)(ec(),{src:t,alt:n,fill:!0,sizes:"(max-width: 900px) 100vw, 900px",style:{objectFit:"cover"}}),(0,s.tZ)(g.ZP,{variant:g.$e.Secondary,size:g.qE.Small,isNonInteractive:!0,component:"div",className:"absolute top-2 left-2 sm:top-4 sm:left-4",children:(0,eV.k8)(r)})]})},eH=r(31396),eG=r(88078),eq=r(15386),eK=r(24520);let eW=(0,eH.ZP)(ed.Z,{shouldForwardProp:e=>"isFullWidthXs"!==e&&"disableRoundCorners"!==e,target:"e1aaoq7z0"})(e=>{let{theme:t,isFullWidthXs:r,disableRoundCorners:n}=e;return{backgroundColor:eq.O9.neutral10,borderRadius:r||n?0:8,"& > div":{position:"absolute",borderRadius:r||n?0:8},[t.breakpoints.up("md")]:{borderRadius:n?0:8,"& > div":{borderRadius:n?0:8}},"& .jwplayer.jw-state-error, & .jw-error":{position:"absolute !important","& .jw-error-msg":{zIndex:eK.W.floating+1}},"& .jwplayer.jw-state-playing":{borderRadius:0}}}),eX=(0,eH.ZP)(eG.Z,{target:"e1aaoq7z1"})({aspectRatio:"16 / 9",borderRadius:2,width:"100%",height:"auto"}),eY=f()(()=>r.e(495).then(r.bind(r,70495)),{loadableGenerated:{webpack:()=>[70495]}}),eJ="video-player-loading-skeleton",eQ=e=>{var t;let{video:r,image:n,isFullWidthXs:i,disableRoundCorners:a,enableFloating:u,onCloseCallback:d,onRemove:p,onPlaybackEnd:f,enforceCloseButton:g}=e,v=l.useRef(null),[y,b]=l.useState(!1),[S,w]=l.useState(null),{guid:x}=r;l.useEffect(()=>{let e,t;if(!v.current)return;let i=u&&v.current.parentElement;function a(t){var n;(null===(n=t.video)||void 0===n?void 0:n.guid)!==r.guid&&(e.stop(),p&&(e.remove(),p()))}function o(){r.guid&&(e.stop(),p&&(e.remove(),p()))}return async function(){if(v.current)try{if(!await (0,Y.Z)(r)){(0,U.$V)("Show Geo Message"),b(e$.Xh.GeoError);return}let{playerInstance:a,abort:o}=await (0,z.O)({container:v.current,video:r,image:n,setCustomError:b,onRemove:p,onCloseCallback:d,enforceCloseButton:g});a.on("ready",()=>w(a)),e=a,t=o,i&&(0,B.N)(i,t=>{let{isVisible:r}=t,n=e.getState(),i=e.getContainer();("paused"!==n||(null==i?void 0:i.classList.contains("custom-floating")))&&(null==i||i.classList.toggle("custom-floating",!r))})}catch(e){(0,U.Nd)(e,{guid:x})}}(),window.eventBus.on("activeVideo",a),m.Z.on("play",o),()=>{var n;(0,U.xf)(),(0,V.Sb)(r.guid),null===(n=t)||void 0===n||n(),window.eventBus.off("activeVideo",a),m.Z.off("play",o),(0,U.Z)({media_id:null,media_videotype:null,source_type:null,drm_type:null,drm_provider:null,play_session_id:null});try{i&&(0,B.p)(i),e.remove(),c.JwMonitor.cleanUp()}catch(e){}}},[v,r.guid]);let{nextUpDetails:E}=function(e,t,r){let n=(0,J.useRouter)(),{enabled:i}=(0,K.SS)(K.O5.PlaylistNavigation),[a,s]=(0,l.useState)(null);return(0,l.useEffect)(()=>{if(!e||!i)return;let a=t.type===h.vw.Episode||t.type===h.vw.Clip;if(!a){if(!r)return;let t=()=>{r({})};return e.on("complete",t),()=>e.off("complete",t)}let l=new er({video:t,navigate:e=>void n.push(e)}),u=o.Hidden;function c(){l.attemptPlayNext(!1)}function d(){u=o.Dismissed,s(null)}function p(){eo(e,l)}function f(){let e=u===o.Dismissed;e||l.attemptPlayNext(!0);let{prev:t,next:n}=l.getState();r&&(!n||e)&&r({onPlayPrevious:t?()=>l.navigatePrevious():void 0,onPlayNext:n?()=>l.attemptPlayNext():void 0})}async function m(e){var r;if(t.type!==h.vw.Episode||(null==e?void 0:e.guid)!==t.guid||!e.progress.completed)return;window.eventBus.off("activeVideoProgress",m),await l.ready;let n=null===(r=l.getState().next)||void 0===r?void 0:r.guid;n&&(0,el.Qv)(n)}function g(e){let{position:t,duration:r}=e;if(!Number.isFinite(r)||u===o.Dismissed)return;let n=r-t,i=n<=ee.Y&&n>0;if(!i||!(0,Q.ty)(t,r)||!l.getState().next){u===o.Visible&&(u=o.Hidden,s(null));return}u!==o.Visible&&(u=o.Visible,s({remaining:n,onPlayNext:c,onDismiss:d}))}return e.on("firstFrame",p),e.on("complete",f),e.on("time",g),window.eventBus.on("activeVideoProgress",m),()=>{e.off("firstFrame",p),e.off("complete",f),e.off("time",g),window.eventBus.off("activeVideoProgress",m),u=o.Hidden,s(null)}},[e,i,n,t.guid]),{nextUpDetails:a}}(S,r,f);return y?(0,s.tZ)(e$.ZP,{errorType:y}):(0,s.BX)(eW,{aspectRatio:"16:9",isFullWidthXs:!!i,className:"video-player-container",disableRoundCorners:!!a,children:[(0,s.tZ)("div",{ref:v}),E&&S&&(0,s.tZ)(eY,{playerInstance:S,label:r.type===h.vw.Clip?en.Z.video.nextVideo:en.Z.video.nextEpisode,nextUpDetails:E,title:r.title,seriesTitle:null===(t=r.series)||void 0===t?void 0:t.t
141itle})]})};var e0=(i=e=>{var t,r,n,i,a,o,c,d,p;let{isCasting:f}=I(e=>({isCasting:e.isCasting})),{guid:m,isTransactional:g}=e,{loginStatus:v}=(0,H.aF)(),{outletName:y}=(0,q._w)(),S=y!==b.eA.Kijk||v!==b.IC.Loading,[w,x]=l.useState(()=>W()&&S);l.useEffect(()=>{if(w||!S)return;let e=new AbortController;return X(e.signal).then(()=>{e.signal.aborted||x(!0)}),()=>e.abort()},[w,S]);let E=["video",m],{data:T,isRefetching:k,isFetching:C,refetch:_,error:P,isError:A}=(0,u.a)({queryKey:E,queryFn:()=>(0,$.zU)(m,g),refetchOnReconnect:!1,retry:!g&&3,...g&&{enabled:v!==b.IC.Loading,cacheTime:0,staleTime:0}});if((0,U.XY)(P,{queryKey:E.join(","),guid:m}),(0,G.l)(P,A,g),k)return(0,s.tZ)(eX,{"data-testid":eJ,variant:"rectangular",component:"div",className:"video-player-skeleton"});let[N]=null!==(r=null==T?void 0:T.media)&&void 0!==r?r:[];return(null==T?void 0:T.type)===h.vw.Pvx&&(null==N?void 0:N.airedDateTime)&&(!N.availabilityState||!T.hasAccess)?(0,s.tZ)(eB,{title:null!==(a=T.title)&&void 0!==a?a:"",publishStartDate:N.airedDateTime,isEntitled:!!T.hasAccess,mediaId:T.guid,imageUrl:null===(i=T.imageMedia)||void 0===i?void 0:null===(n=i[0])||void 0===n?void 0:n.url,isLive:N.type===h.DD.Live,onRefresh:()=>void _()}):C||!w?(0,s.tZ)(eX,{"data-testid":eJ,variant:"rectangular",component:"div",className:"video-player-skeleton"}):(null==T?void 0:T.guid)!==e.guid?(0,s.tZ)(e$.ZP,{errorType:e$.Xh.NotFound}):(null===(t=T.sources)||void 0===t?void 0:t.length)&&(null==N?void 0:N.availabilityState)?f?(0,s.tZ)(j,{video:T,image:e.image}):(0,s.tZ)(eQ,{...e,video:T}):!g&&(null==N?void 0:N.availableDate)?(0,s.tZ)(ez,{imageUrl:null!==(d=null===(c=T.imageMedia)||void 0===c?void 0:null===(o=c[0])||void 0===o?void 0:o.url)&&void 0!==d?d:e.image,availableDate:N.availableDate,title:null!==(p=T.title)&&void 0!==p?p:""}):(0,s.tZ)(e$.ZP,{errorType:g?e$.Xh.PvxError:e$.Xh.NotAvailable})},function(e){let{isTransactional:t}=e,{enabled:r}=(0,K.SS)(K.O5.AdblockDetection),[n,a]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{let e;if(t)return;let n=!0;function i(){n=!0}function o(){n=!1}function s(e){let{detected:t}=e;d().setDataLayer({adblock:t}),t&&r&&((0,U.$V)("Show AdBlock Message"),a(!0))}return(async function(){let t=await (0,eU.Z)();if(!t)return!1;await new Promise(t=>{e=setTimeout(t,100)});let r=await (0,eU.Z)();return r})().then(e=>{n&&(d().setDataLayer({adblock:e}),e&&r&&((0,U.$V)("Show AdBlock Message"),a(!0)))}),window.eventBus.on("adblockDetected",s),window.addEventListener("online",i),window.addEventListener("offline",o),()=>{clearTimeout(e),window.removeEventListener("online",i),window.removeEventListener("offline",o),window.eventBus.off("adblockDetected",s)}},[r,t]),n)?(0,s.tZ)(e$.ZP,{errorType:e$.Xh.AdBlockDetected}):(0,s.tZ)(i,{...e})})},13228:function(e,t,r){"use strict";r.d(t,{Z:function(){return v}});var n=r(35944),i=r(67294),a=r(11752),o=r.n(a),s=r(71881),l=r(47610),u=r(31396),c=r(24520);let d=(0,u.ZP)("div",{target:"ehkq7cq0"})(e=>{let{theme:t}=e;return{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:c.W.videoPreview,opacity:0,transition:"scale 400ms ease-in-out; opacity 200ms ease",overflow:"hidden",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:"16 / 9","&:hover":{opacity:1,scale:1.06,[t.breakpoints.down("md")]:{scale:1.04}},"& .jw-video":{cursor:"pointer"},"& .jwplayer":{pointerEvents:"none",opacity:0,transition:"opacity 400ms ease-in",transitionDelay:"200ms",backgroundPosition:"center",backgroundSize:"cover"},"& .jw-wrapper":{backgroundColor:"rgba(0, 0, 0, 0)"}}}),{publicRuntimeConfig:{jwApiKey:h,imageDomain:p}}=o()(),f="".concat(p,"/ar_16:9,c_fill,dpr_2.0,f_webp,h_235"),m="jwplayer.bitrateSelection",g="jwplayer.qualityLabel";var v=e=>{let{guid:t,image:r}=e,a=i.useRef(null),o="".concat(f,"/").concat(r);return i.useEffect(()=>{if(!a.current)return;let e=crypto.randomUUID(),r=a.current,n=null,i=null,u=!1,c=async e=>{try{var r;let{programs:{items:i}}=await (0,l.Rv)({query:l.dW,variables:{guid:t}});if(!u)return;let a=null===(r=i[0])||void 0===r?void 0:r.sources;if(!(null==a?void 0:a.length))return;(n=window.jwplayer(e)).setup({playlist:[{sources:a,image:o}],displaytitle:!1,autostart:!0,mute:!0,width:"100%",height:"100%",controls:!1,key:h,pipIcon:"disabled"}),n.setPlaylistItemCallback(e=>{var t;return e.sources=null===(t=e.sources)||void 0===t?void 0:t.map(e=>e.drm?(0,s.Y)({originalSource:e}):e),e}),n.on("ready",()=>{if(!n)return;let e=n.getContainer();e&&(e.style.backgroundImage="url(".concat(o,")"))}),n.on("firstFrame",()=>{if(!n)return;let e=n.getContainer();e&&(e.style.opacity="1")}),n.on("meta",()=>{if(!n)return;let e=n.getQualityLevels();if(!e.length)return;let t=e.length-1;n.setCurrentQuality(t)}),n.on("time",e=>{let{position:t,duration:r}=e;n&&r!==1/0&&t>10&&n.seek(0)}),n.on("error",()=>{n&&n.remove()})}catch(e){}};return r.onmouseenter=()=>{u=!0;let t=document.createElement("div");t.id=e,r.innerHTML="",r.appendChild(t),r.style.backgroundImage="url(".concat(o,")"),i=window.setTimeout(e=>void c(e),200,t)},r.onmouseleave=()=>{u=!1,localStorage.setItem(m,"null"),localStorage.setItem(g,"Auto"),r.innerHTML="",i&&(clearTimeout(i),i=null);try{window.setTimeout(()=>{a.current&&(a.current.style.backgroundImage=""),n&&n.remove()},100)}catch(e){}},()=>{u=!1;try{localStorage.setItem(m,"null"),localStorage.setItem(g,"Auto"),n&&n.remove()}catch(e){}}},[t]),(0,n.tZ)(d,{"data-testid":"previewContainer",ref:a})}},21953:function(e,t,r){"use strict";var n,i,a,o,s,l,u,c,d,h,p,f,m,g,v,y,b,S,w,x,E,T,k,C,_,P,A,N,I,R,O,L,D,M,Z,F,j,B,U,$,V,z,H,G,q,K,W,X,Y,J,Q,ee,et,er,en,ei,ea,eo,es,el,eu,ec,ed,eh,ep,ef,em,eg,ev,ey,eb,eS,ew,ex;r.d(t,{$E:function(){return td},$c:function(){return ej},$s:function(){return m},AD:function(){return eY},AS:function(){return o},B0:function(){return tW},BB:function(){return tB},BR:function(){return t8},BY:function(){return tq},Bh:function(){return tT},C5:function(){return e2},CV:function(){return tg},D0:function(){return ts},D1:function(){return e7},DR:function(){return e_},Dy:function(){return t9},FP:function(){return tX},FQ:function(){return R},G2:function(){return tR},GU:function(){return tb},Gb:function(){return tD},Gc:function(){return rr},Gt:function(){return eV},H9:function(){return w},HM:function(){return M},HX:function(){return tV},Hs:function(){return tA},IC:function(){return P},ID:function(){return eI},IM:function(){return re},Im:function(){return eG},J1:function(){return eq},JM:function(){return te},Jh:function(){return L},Jk:function(){return e4},K4:function(){return to},KX:function(){return _},Kp:function(){return ta}
141,LM:function(){return s},Ln:function(){return eL},Lu:function(){return tx},Lz:function(){return t2},M5:function(){return e$},MR:function(){return x},MU:function(){return A},Mf:function(){return tz},Mh:function(){return eE},Ms:function(){return e0},NC:function(){return tu},Nv:function(){return tm},OE:function(){return E},OS:function(){return i},O_:function(){return T},Oo:function(){return tF},Oy:function(){return eM},Pb:function(){return j},QK:function(){return eP},QM:function(){return eQ},QN:function(){return eU},Q_:function(){return tt},Qs:function(){return a},Rv:function(){return tU},SY:function(){return tQ},TK:function(){return tf},U0:function(){return eK},Um:function(){return tK},Up:function(){return t6},Us:function(){return t$},Uy:function(){return eB},Uz:function(){return ty},VA:function(){return e8},VD:function(){return N},Vt:function(){return tj},X6:function(){return v},Xp:function(){return k},Y5:function(){return tl},YL:function(){return tH},YR:function(){return rt},Ye:function(){return tL},ZE:function(){return tZ},ZL:function(){return t_},ZZ:function(){return tn},_1:function(){return e3},aW:function(){return eO},az:function(){return l},bW:function(){return d},c2:function(){return Z},c4:function(){return b},ce:function(){return tc},cj:function(){return y},dO:function(){return h},e3:function(){return eZ},eA:function(){return n},es:function(){return I},f0:function(){return tv},f2:function(){return eC},fV:function(){return ez},fi:function(){return tI},fu:function(){return eR},g5:function(){return eD},g7:function(){return tJ},gJ:function(){return O},gK:function(){return tY},ii:function(){return t5},j:function(){return eX},jl:function(){return t1},k9:function(){return D},kD:function(){return eH},kG:function(){return ek},l6:function(){return eT},le:function(){return eN},lk:function(){return e1},m0:function(){return eF},m5:function(){return th},mr:function(){return tM},nE:function(){return tE},nZ:function(){return S},o6:function(){return p},oj:function(){return t3},p0:function(){return e9},p1:function(){return tk},p9:function(){return eW},pB:function(){return e5},pb:function(){return tw},ph:function(){return F},qE:function(){return f},qH:function(){return eJ},r1:function(){return c},r4:function(){return ti},ri:function(){return tC},s2:function(){return e6},sv:function(){return rn},t4:function(){return C},tB:function(){return t7},tM:function(){return t0},t_:function(){return tr},um:function(){return tP},w3:function(){return tG},wI:function(){return tN},x0:function(){return U},x7:function(){return g},xA:function(){return eA},xh:function(){return tS},ym:function(){return tp},zI:function(){return t4},z_:function(){return tO}}),($=n||(n={})).Shownieuws="Shownieuws",$.VandaagInside="Vandaag Inside",$.HartVanNederland="Hart van Nederland",$.Radio10="Radio 10",$.SkyRadio="Sky Radio",$.Radio538="Radio 538",$.RadioNoordzee="Radio Noordzee",$.Kijk="KIJK",$.NieuwsVanDeDag="Nieuws van de Dag",$.CorporateSite="Talpa",$.KijkersTV="Kijkers TV",$.PartnerPortal="Partner Portal",$.TalpaMedia="Talpa Media",$.HetNieuws="Het Nieuws",(V=i||(i={})).IOS="ios",V.Android="android",(z=a||(a={})).App="app",z.Web="web",z.Facebook="facebook",(H=o||(o={})).Desktop="desktop",H.Mobile="mobile",H.Tablet="tablet",H.SmartTv="smarttv",(G=s||(s={})).Hamburger="hamburger",G.Search="search",G.Quote="quote",G.Options="options",G.PlayIconFilled="play_icon_filled",G.LeftChevron="left_chevron",G.RightChevron="right_chevron",G.LeftBoldChevron="left_bold_chevron",G.RightBoldChevron="right_bold_chevron",G.LeftDoubleChevron="left_double_chevron",G.RightDoubleChevron="right_double_chevron",G.LeftArrow="left_arrow",G.RightArrow="right_arrow",G.AnimatedArrow="animated_arrow",G.Cross="cross",G.Airplay="airplay",G.Call="call",G.Chat="chat",G.Check="check",G.Chevron="chevron",G.Chromecast="chromecast",G.ClosedCaption="closed_caption",G.Filter="filter",G.Fullscreen="fullscreen",G.FullscreenExit="fullscreen_exit",G.Heart="heart",G.Home="home",G.IdCard="id_card",G.Info="info",G.Warning="warning",G.Success="success",G.Next="next",G.Pause="pause",G.PauseThick="pause_thick",G.Pencil="pencil",G.PlayOutlined="play_outlined",G.PlayOutlinedFilled="play_icon_filled_outlined",G.PlaybackSpeed="playback_speed",G.Previous="previous",G.Plus="plus",G.Popout="popout",G.PopoutPlayer="popout_player",G.Profile="profile",G.L
141ock="lock",G.LockFilled="lock_filled",G.Settings="settings",G.Share="share",G.StopOutlined="stop_outlined",G.StopFilled="stop_filled",G.Time="time",G.VolumeMax="volume_max",G.VolumeMin="volume_min",G.VolumeOff="volume_off",G.ArrowDown="arrow_down",G.ArrowUp="arrow_up",G.Sort="sort",G.DownChevron="down_chevron",G.UpChevron="up_chevron",G.Link="link",G.Copy="copy",G.Stations="stations",G.Video="video",G.VideoFilled="video_filled",G.Logout="logout",G.Spinner="spinner",G.Playlist="playlist",G.Actions="actions",G.Minus="minus",G.Live="live",G.Code="code",G.TalpaNetwork="talpa_network",G.Figma="figma",G.Instagram="instagram",G.Whatsapp="whatsapp",G.Mail="mail",G.Facebook="facebook",G.TikTok="tik_tok",G.Twitter="x",G.Spotify="spotify",G.Youtube="youtube",G.Linkedin="linkedin",G.Web="web",G.Apps="apps",G.Android="android",G.IOS="iOS",G.GooglePlay="google_play",G.AppStore="app_store",G.Violence="violence",G.Fear="fear",G.Sex="sex",G.Discrimination="discrimination",G.DrugsAlcohol="drugs_alcohol",G.CoarseLanguage="coarse_language",G.Age18="age_18",G.Age16="age_16",G.Age14="age_14",G.Age12="age_12",G.Age9="age_9",G.Age6="age_6",G.AllAges="all_ages",G.Up="up",G.Down="down",G.NoChange="no_change",G.UpFast="up_fast";let eE=470,eT=26,ek="normal",eC="search-modal",e_=".MuiSkeleton-root",eP="Zoeken",eA="Zoek in de lijst";(q=l||(l={})).SearchKeyword="zoek",q.SearchTab="tab",q.Page="page",q.InApp="inApp",q.RefreshSession="refreshSession";let eN="Talpa. Alle rechten\xa0voorbehouden. Geen tekst- en datamining.",eI="footer",eR="Speelt af",eO={article:"webx-platform-article-table",page:"webx-platform-page-table",navigation:"webx-platform-navigation-table",category:"webx-platform-category-table",audio:"webx-platform-audio-table",sponsoredCard:"webx-platform-sponsored-card-table",campaign:"webx-platform-campaign-table",redirect:"webx-platform-redirect-table",series:"webx-platform-series-table",author:"webx-platform-author-table"},eL="Uitzendingen",eD="uitzendingen",eM="films",eZ="programmas",eF="Er zijn geen afleveringen beschikbaar voor dit seizoen. Kom later terug of bekijk andere seizoenen.",ej="Geen resultaten gevonden.",eB="Toon meer",eU="Alles",e$="Naar de homepage",eV="Terug",ez="Link gekopieerd",eH="Aanmelden",eG="Vul hier je e-mailadres in",eq="Je bent er bijna!",eK={EMAIL_INVALID:"Voer een geldig e-mailadres in",FETCH_ERROR:"Er is iets misgegaan, probeer het later nog een keer."},eW="Toon meer zoekresultaten",eX="resultaten voor",eY="Advertentie",eJ="nl-NL",eQ={Shownieuws:"shownieuws","Vandaag Inside":"vivandaag","Hart van Nederland":"hartvannederland","Sky Radio":"skyradio","Radio 538":"radio538","Radio 10":"radio10","Nieuws van de Dag":"nieuwsvandedag","Radio Noordzee":"radionoordzee"},e0={topBanner:"h1",contentBanner:"r1",bottomBanner:"r2",articlePanelBanner:"r3"},e1={NL:"NL",WW:"WW"};(u||(u={})).NL="NL",(K=c||(c={})).Xs="xs",K.Sm="sm",K.Md="md",K.Lg="lg",K.Xl="xl";let e2=!0;(W=d||(d={})).Mobile="mobile",W.Tablet="tablet",W.Desktop="desktop";let e3={ACCOUNT:"/account",CATALOG:"/catalog",ARTICLE:"/artikelen/",DYNAMIC:/^\/[\w-]+$/,CATEGORY:{ARTICLES:"/artikelen",VIDEOS:"/videos"},HOME_PAGE:"/",VIDEO:{EPISODES:"/uitzendingen/",VIDEOS:"/videos/"},SEARCH:l.SearchKeyword,PLAYLIST:"/playlist/",STATIONS:"/zenders/",SHOWS:"/shows/",CAMPAIGN:"/acties/",POPOUT:"/luister/",SCHEDULE:"/programmering",PROGRAMMAS:"/programmas",MISSED:"/gemist",FILMS:"/films/",CONTINUE_WATCHING:"/kijk-verder",WATCHLIST:"/favorieten",AUTHOR:"/auteurs"},e4="home";(X=h||(h={})).Home="home",X.Article="article",X.Video="video",X.Playlist="playlist",X.Station="station",X.Show="show",X.Schedule="schedule",(Y=p||(p={})).Article="Artikel",Y.Video="Video",(J=f||(f={})).Exact="exact",J.Substring="substring",J.Different="different",J.Nosubstring="nosubstring";let e5={hamburgerMenu:"transform 300ms ease-in-out"},e6="Inloggen mislukt!",e8="Oeps, er ging iets fout met het inloggen. Kan je het nog eens proberen?",e9="Probeer opnieuw",e7=5e3,te=1e4,tt=6e4,tr=12e4,tn=3e5,ti=6e5,ta="Nu",to="Nu Live",ts="Kijk terug",tl="radio-brand-web",tu="Afgespeelde nummers",tc="Laatste aflevering";(Q=m||(m={})).Fragment="luister-fragment",Q.Spotify="luister-in-spotify";let td={Station:"station",Track:"track",Show:"show",Playout:"playout"};(ee=g||(g={})).Triton="triton",ee.Video="video",(et=v||(v={})).Stop="stop",et.Loading="loading",et.Playing="playing",et.Pause="pause",et.Completed="completed",et.Failed="failed",(er=y||(y={})).Active="active",er.NotStarted="did_not_start_yet",er.Expired="expired";let th={play:v.Playing,pause:v.Pause,stop:v.Stop,complete:v.Completed,error:v.Failed,beforePlay:v.Loading},tp="Inloggen",tf="Gratis account aanmaken",tm="Uitloggen",tg="Account beheren",tv="talpaauth",ty="Mijn KIJK",tb={SUBMENU:"submenu",LINK:void 0},tS={AUDIO_DASHBOARD:"dashboard-video-container",STICKY_PLAYER:"sticky-player-video-container"},tw="page-container",tx="video-portal",tE="Outlet Switch",tT="Remove Switch",tk="Close dropdown";(en=b||(b={})).Active="Doe mee!",en.Expired="Verlopen",en.Upcoming="Binnenkort",(ei=S||(S={})).Share="Deel deze actie",ei.Expired="Deze actie is verlopen",ei.NotStarted="Deze actie is nog niet begonnen";let tC={"16:9":"56.25%","1:1":"100%","3:2":"66.66%","2:3":"150%","4:3":"75%"},t_="Download in de App store",tP="Download in de Play store";(ea=w||(w={})).PopoutPlaying="popout-playing",ea.PopoutVolume="popout-volume",ea.PopoutMuted="popout-muted",ea.PopoutStation="popout-station",(eo=x||(x={})).Category="category-based-collection",eo.Video="video-category-collection",eo.JustIn="just-in-collection",eo.Campaign="campaign-collection",eo.Event="event-collection",eo.Kijk="kijk-collection",eo.ArticleByAuthor="article-by-author-collection",(es=E||(E={}))[es.Video=15]="Video",es[es.Campaign=6]="Campaign",es[es.KijkAndEvent=12]="KijkAndEvent",es[es.ArticleByAuthor=16]="ArticleByAuthor";let tA=2,tN="LIVE";(el=T||(T={})).AddedDesc="ADDED_DESC",el.EpisodeNumberAsc="EPISODENUMBER_ASC",el.EpisodeNumberDesc="EPISODENUMBER_DESC",el.PublicationDateTime="PUBLICATIONDATETIME";let tI={Overview:"Overzicht",Episode:"Afleveringen",Clip:"Clips",Info:"Info"},tR=Object.values(tI);(eu=k||(k={})).Prod="prd",eu.Acc="acc",eu.Ppg="ppg";let tO="Alle genres";(C||(C={})).JWP="JWP";let tL={VOD:"vod",LIVE:"live"},tD="Log in of registreer";(_||(_={})).LoginRequired="Log in met je gratis account om dit programma aan je Kijklijst toe te kunnen voegen.";let tM="video-api-endpoint";(ec=P||(P={})).Loading="loading",ec.Authenticated="authenticated",ec.Unauthenticated="unauthenticated",(ed=A||(A={})).Remove="DELETE",ed.Save="STORE",(eh=N||(N={})).Left="left",eh.Right="right",(ep=I||(I={})).Footer="footer",ep.Hamburger="hamburger",ep.Page="page",(ef=R||(R={})).None="",ef.New="new",ef.Equal="equal",ef.DoubleUp="doubleup",ef.Up="up",ef.Down="down",(em=O||(O={})).Header="header",em.Series="series",em.Highlight="highlight",em.Ticker="ticker",em.Player="player";let tZ="Bekijk hier de hele film - kijk.nl",tF="Kijk verder",tj="Mijn kijklijst",tB="Mijn persoonlijke KIJK pagina",tU="Bekeken",t$="films",tV="laatste-aflevering",tz="Alles wat je deels bekijkt, verschijnt automatisch in je ‘Kijk verder’-lijst, zodat je makkelijk verder kunt kijken waar je was gebleven.",tH="Ben je iets interessants tegengekomen? Voeg het programma, film of serie dan toe aan ‘Mijn kijklijst’ via de favorieten-knop. Zo vul je je lijst met alles wat je graag wilt zien!",tG="Met een gratis KIJK-account vind je op je persoonlijke Mijn KIJK-pagina al je favoriete programma’s, series en films overzichtelijk bij elkaar. Ook kun je hier eenvoudig verder kijken waar je was gebleven.",tq="Door",tK="Volg ook hier",tW="Bekijk op web",tX="Bekijk in Android app",tY="Bekijk in IOS app";(eg=L||(L={})).ExtraSmall="xs",eg.Small="sm",eg.Medium="md",eg.Large="lg",eg.ExtraLarge="xl",eg.DoubleExtraLarge="2xl",eg.Full="full",(ev=D||(D={})).LiveNotEntitled="Kijk LIVE voor",ev.AfterLiveNotEntitled="Kijk exclusief terug voor",ev.EntitledBefore="Kijk {day/time} LIVE",ev.EntitledDuringLive="Kijk nu LIVE",ev.EntitledAfterLive="Kijk exclusief terug",ev.
141Error="Nog niet beschikbaar",(ey=M||(M={})).AlreadyBought="Al gekocht? Log in",ey.Buy="Koop nu";let tJ="Exclusieve video's",tQ="Meer info",t0="ticker-banner-open",t1=70,t2={StalePlayback:999999,ProgramCantBeRetrieved:1e6},t3="Er ging iets mis bij het ophalen van de informatie. Probeer het later opnieuw.",t4=6048e5;(eb=Z||(Z={})).CastingTo="Casten naar",eb.DefaultDevice="apparaat",eb.Disconnect="Verbinding verbreken",eb.Buffering="Buffering",eb.Pause="Pause",eb.Play="Play",eb.ConfirmPlayVideo="Wil je deze video afspelen",eb.ConfirmStopCurrent=" en de huidige video stoppen",eb.PlayButton="Afspelen",eb.CancelButton="Annuleren",eb.CaptionsOff="Uit";let t5="pvx:ticker:suppressUntil",t6="pvx:ticker:resetAt";(eS=F||(F={})).Freewheel="Freewheel",eS.SpringServe="SpringServe",eS.Unknown="Unknown";let t8={LOGIN_TEXT:"Log in en doe mee",PARTICIPATE_TEXT:"Doe mee",SEND_TEXT:"Verstuur",ERROR_TEXT:"Er is iets misgegaan, probeer het later nog een keer.",PHONE_VALIDATION_ERROR:"Vul een geldig telefoonnummer in, bijvoorbeeld +31612345678"},t9=["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],t7="Oeps... campaign niet gevonden",re=["Je ontvangt binnen enkele minuten een e-mail op","hierin vind je een link om je inschrijving op de","nieuwsbrief te bevestigen. Kun je de e-mail niet vinden? Controleer dan ook je spamfolder."],rt=[b.Active,b.Upcoming],rr="info",rn="tabbar-navigation";(ew=j||(j={})).GLOW="glow",ew.RING="ring",ew.CIRCLE="circle",(B||(B={})).PILL="pill",(ex=U||(U={})).COMPACT="compact",ex.OFFSET="offset"},15386:function(e,t,r){"use strict";r.d(t,{Lz:function(){return l},Ml:function(){return s},O9:function(){return a},Rq:function(){return i},S7:function(){return u},cz:function(){return o}});var n=r(21953);let i={buttonSmall:"var(--font-button-small)",buttonMedium:"var(--font-button-medium)",buttonLarge:"var(--font-button-large)",header1:"var(--font-header-1)",header2:"var(--font-header-2)",header3:"var(--font-header-3)",header4:"var(--font-header-4)",header5:"var(--font-header-5)",header6:"var(--font-header-6)",header7:"var(--font-header-7)",footer:"var(--font-footer)",bodyExtraSmall:"var(--font-body-extra-small)",bodyExtraSmallStrong:"var(--font-body-extra-small-strong)",bodySmall:"var(--font-body-small)",bodySmallStrong:"var(--font-body-small-strong)",bodyMedium:"var(--font-body-medium)",bodyMediumStrong:"var(--font-body-medium-strong)",bodyMediumItalic:"var(--font-body-medium-italic)",bodyLarge:"var(--font-body-large)",bodyLargeStrong:"var(--font-body-large-strong)",tab:"var(--font-tab)",tabStrong:"var(--font-tab-strong)",category:"var(--font-category)",buttonFontStyle:"var(--button-font-style, ".concat(n.kG,")")},a={primary:"var(--primary-100-color)",primary50:"var(--primary-50-color)",primary120:"var(--primary-120-color)",primary140:"var(--primary-140-color, var(--primary-120-color))",secondary:"var(--secondary-100-color)",secondary10:"var(--secondary-10-color)",secondary50:"var(--secondary-50-color)",secondary100:"var(--secondary-100-color)",secondary120:"var(--secondary-120-color)",secondary140:"var(--secondary-140-color)",tertiary:"var(--tertiary-100-color)",tertiary50:"var(--tertiary-50-color)",tertiary120:"var(--tertiary-120-color)",tertiary140:"var(--tertiary-140-color)",neutral0:"var(--neutral-0-color)",neutral10:"var(--neutral-10-color)",neutral20:"var(--neutral-20-color)",neutral30:"var(--neutral-30-color)",neutral40:"var(--neutral-40-color)",neutral50:"var(--neutral-50-color)",neutral60:"var(--neutral-60-color)",neutral70:"var(--neutral-70-color)",neutral80:"var(--neutral-80-color)",neutral90:"var(--neutral-90-color)",neutral100:"var(--neutral-100-color)",danger100:"var(--danger-100-color)",success100:"var(--success-100-color, #00DE6F)",tabBar:"var(--tab-bar-color)",tabBarText:"var(--tab-bar-text-color, var(--neutral-0-color))",tabBarBorder:"var(--tab-bar-border-color)",tabBarItemBorder:"var(--tab-bar-item-border-color, var(--neutral-0-color))",tabBarArrow:"var(--tab-bar-arrow-color, var(--neutral-0-color))",header:"var(--header-color)",text:"var(--text-color, var(--neutral-80-color))",headerText:"var(--header-text-color, var(--neutral-90-color))",skeleton:"var(--skeleton-color)",highlightedItemBackgroun
141d:"var(--highlighted-item-background, var(--gradient-03))",highlightedItemTitle:"var(--highlighted-item-title, var(--neutral-0-color))",highlightedItemText:"var(--highlighted-item-text, var(--neutral-10-color))",button:{primaryBackgroundColor:"var(--button-primary-background-color, var(--primary-100-color))",secondaryBackgroundColor:"var(--button-secondary-background-color, var(--secondary-100-color))",primaryTextColor:"var(--button-primary-text-color, var(--neutral-0-color))",secondaryTextColor:"var(--button-secondary-text-color, var(--neutral-0-color))",outlineTextColor:"var(--button-outline-text-color, var(--primary-100-color))",textColor:"var(--button-text-color, var(--primary-100-color))",hoverPrimaryBackgroundColor:"var(--button-hover-primary-background-color, var(--primary-120-color))",hoverSecondaryBackgroundColor:"var(--button-hover-secondary-background-color, var(--secondary-120-color))",hoverOutlineBackgroundColor:"var(--button-hover-outline-background-color, var(--primary-120-color))",hoverTextBackgroundColor:"var(--button-hover-text-background-color, --button-hover-primary-background-color)",pressedPrimaryBackgroundColor:"var(--button-pressed-primary-background-color, var(--primary-50-color))",pressedSecondaryBackgroundColor:"var(--button-pressed-secondary-background-color, var(--secondary-50-color))",pressedOutlineBackgroundColor:"var(--button-pressed-outline-background-color, var(--primary-50-color))",pressedTextBackgroundColor:"var(--button-pressed-text-background-color, --button-pressed-primary-background-color)",hoverPrimaryTextColor:"var(--button-hover-primary-text-color, --button-text-color)",pressedPrimaryTextColor:"var(--button-pressed-primary-text-color, --button-text-color)",hoverTextColor:"var(--button-hover-text-color, var(--neutral-0-color))",pressedTextColor:"var(--button-pressed-text-color, var(--neutral-0-color))"}},o={gradient01:"var(--gradient-01)",gradient02:"var(--gradient-02)",gradient03:"var(--gradient-03)",gradient04:"var(--gradient-04)",gradient05:"var(--gradient-05)",gradient06:"var(--gradient-06)",gradient07:"var(--gradient-07)",fadePrimaryLeftRight:"var(--fade-primary-left-right)",fadePrimaryBottomTop:"var(--fade-primary-bottom-top)",fadeNeutral10LeftRight:"var(--fade-neutral-10-left-right)",fadeNeutralLeftRight:"var(--fade-neutral-left-right)",fadeNeutralBottomTop:"var(--fade-neutral-bottom-top)",highlightedItemImageGradient:"var(--highlighted-item-image-gradient, var(--fade-primary-left-right))",fadeBlackBottomTop:"var(--fade-black-bottom-top)",fadeBlack90BottomTop:"var(--fade-black-90-bottom-top)",fadeWhiteLeft:"var(--fade-white-left)",fadeWhiteRight:"var(--fade-white-right)",magentaBlack:"var(--magenta-black)",primarySecondary:"var(--primary-secondary)"},s={opacity01:"var(--opacity-01)",opacity02:"var(--opacity-02)",opacity03:"var(--opacity-03)",opacity04:"var(--opacity-04)",opacity05:"var(--opacity-05)",opacity06:"var(--opacity-06)",opacity07:"var(--opacity-07)"},l={buttonBorderRadius:"var(--button-border-radius, ".concat(n.l6.toString(),"px)")},u={buttonTextTransform:"var(--button-text-transform, none)"}},58210:function(e,t,r){"use strict";r.d(t,{L0:function(){return s},WD:function(){return a},aB:function(){return o},c3:function(){return n},oL:function(){return i}});let n="Vandaag",i="Morgen",a="Gisteren",o="Europe/Amsterdam",s=["jan","feb","mrt","apr","mei","juni","juli","aug","sep","okt","nov","dec"]},23251:function(e,t,r){"use strict";r.d(t,{g:function(){return i},t:function(){return n}});let n=1e4,i=2},22338:function(e,t,r){"use strict";var n,i;r.d(t,{D:function(){return n}}),(i=n||(n={})).Default="default",i.MobileEdgeToEdge="mobileEdgeToEdge",i.Header="header"},78114:function(e,t,r){"use strict";r.d(t,{$1:function(){return n},KX:function(){return a},SP:function(){return i},jw:function(){return o}});let n={HEADER:"header",CONTENT_LISTING:"content_listing",ARTICLE:"article",VIDEO:"video",MENU:"menu",FOOTER:"footer",NOT_FOUND:"404_page",SOCIAL_MEDIA_LINK:"socialmedia_link",SEARCH:"search",PLAYER:"player",AGENDA:"agenda",BUTTON:"button",AUTHOR:"author",POPUP:"popup",TICKER:"ticker",PVX_ERROR:"pvx_error",VIDEO_DETAILS:"video_details",PLAYLIST:"playlist",TOPLIST:"toplist",FILTER:"filter"},i={ADD_TO_FAVORITE:"add_to_favorite",REMOVE_FROM_FAVORITE:"remove_from_favorite",HEADER_CLICK:"header_click",CONTENT_LISTING_CLICK:"content_listing_click",CONTENT_LISTING_MORE:"content_listing_more",CONTENT_LISTING_PLAY:"content_listing_play",SHARE_INTERACTION:"share_interaction",MENU_CLICK:"menu_click",FOOTER_CLICK:"footer_click",OUTBOUND_CLICK:"outbound_click",SEARCH_QUERY:"search_query",SEARCH_QUERY_404:"search_query_404",SEARCH_CLICK:"search_click",PLAYER_CLICK:"player_click",PLAYER_PREVIEW:"player_preview",PLAYER_PREVIEW_STOP:"player_preview_stop",PLAYER_NEXT:"player_next",PLAYER_PREVIOUS:"player_previous",PLAYER_PLAY:"player_play",PLAYER_VIEW:"player_view",POPUP_CLICK:"popup_click",INLINE_BUTTON:"inline_button",TICKER_CLICK:"ticker_click",PVX_API_ERROR:"pvx_api_error",VIDEO_DETAILS_CLICK:"video_details_click",BUTTON_CLICK:"button_click",FILTER_CLICK:{AVAILABILITY:"filter_click_availability",GENRE:"filter_click_genre",AIRED_
141STATION:"filter_click_tv_zender",SERIES_SLUG:"filter_click_programma",TYPE:"filter_click_video_type",DATE_RANGE:"filter_click_kalender",SORTING:"filter_click_sorting"}},a={NAVIGATION:{SEARCH:"search",HOME:"home"},NEWSLETTER_SUBSCRIBE:"aanmelden nieuwsbrief",HEADER_PROMO:"header_promo",HEADER_PROMO_PROGRAMMA:"header_promo_programma",SOCIAL_SHARE_LABELS:{WHATSAPP:"WhatsApp",EMAIL:"mail",FACEBOOK:"facebook",X:"x",COPY_LINK:"copy"},SEARCH_RESULTS:"zoekresultaten",MORE_RESULTS:"meer resultaten",CONTACT_STUDIO:"contact studio",RADIO_SCHEDULE:"programmering",FULL_EPISODE:"full_episode",PLAYLIST:"playlist",GENRE:"genre",SEARCH:"search",ACCOUNT:{MIJN_KIJK:"mijn_kijk",LOGOUT:"uitloggen",LOGIN:"inloggen",MANAGE_ACCOUNT:"account_beheren"},PVX_BUY_NOW:"pvx_koop_nu",PVX_ALREADY_BOUGHT:"pvx_log_in",PVX_CLOSE_MODAL:"pvx_sluit_venster",PVX_CLOSE_TICKER:"pvx_sluit_ticker",SUGGESTED_CONTENT:"suggested_content",CUSTOM_DATE:"custom_date_set",CANCEL_AUTOPLAY:"cancel autoplay"},o={ARTICLE:"article",DYNAMIC:"overview",CATEGORY:"category",HOME_PAGE:"homepage",VIDEO:"video",SEARCH:"search",STATION_PAGE:"station_page",SHOW_PAGE:"show_page",CAMPAIGN:"campaign",POPOUT:"popout",PLAYLIST:"playlist",SCHEDULE:"schedule",DETAIL:"detail",MISSED:"gemist",SERIES:"programmas",FILMS:"films",AUTHOR:"author"}},6380:function(e,t,r){"use strict";r.d(t,{S:function(){return i},Y:function(){return n}});let n=10,i=20},24520:function(e,t,r){"use strict";r.d(t,{W:function(){return n}});let n={deepUnderlay:-2,underlay:-1,base:1,baseControls:2,gradient:3,videoPreview:5,floating:1e3,audioVolumeBar:1001,dropdown:1098,appBar:1100,drawer:1200,modal:1300,tooltip:1600,smartBanner:1601,jwplayerButtons:1e5}},86720:function(e,t,r){"use strict";var n=r(74856);let i={apiKey:"API key",availabilitySelectorLabel:"Beschikbaarheid",availableDate:"Beschikbaar vanaf",back:"Terug",broadcast:"Uitgezonden",clearAllFilters:"Wis alles",clearDate:"Datum wissen",clearFilters:"Filters wissen",clearSearch:"Wis zoekopdracht",closeAriaLabel:"Sluit foutmelding",contact:"contact",copy:"Kopieer",copyEmbedCode:"Kopieer Embed Code",copyVideoId:"Video ID gekopieerd",createdAt:"Toegevoegd",embedCode:"Embed code",embedCodeCopied:"Embed code gekopieerd",enterValidKey:"Voer een geldige API key in",expirationDate:"Verloopt op",expirationDateDisclaimer:"*Let op: de verloopdatum van deze video is onder voorbehoud van rechten of afspraken die kunnen veranderen.",expirationNotApplicable:"Niet van toepassing",feed:"Feed",filterButtonLabel:"Filter",filters:"Filters",forQuestions:"Voor vragen, neem ".concat(n.K," op"),hideUnavailable:"Toon beschikbare video’s",json:"JSON",lastWeek:"Vorige week",lockAspectRatio:"Vergrendel beeldverhouding",noResults:"Geen video’s gevonden",noVideoResults:"Geen video’s gevonden",oops404Description:"Helaas kunnen we de video die je zoekt niet vinden. Mogelijk is deze verwijderd of niet meer beschikbaar.",oops404Title:"Oeps… video niet gevonden",placeApiKey:"Plaats hier de API key",publicInformation:"Publicatie informatie",ratioLocked:"Verhouding vergrendeld\nop 16:9",ratioUnlocked:"Verhouding\nontgrendeld",reset:"Reset",results:"resultaten",resultsFound:"resultaten gevonden",save:"Opslaan",saveDate:"Opslaan",searchSeries:"Waar ben je naar op zoek?",show:"Toon",showAll:"Toon alles",showMore:"Toon meer",showResults:"Toon resultaten",showUnavailable:"Toon geplande video’s",sortBy:"Sorteren op",sortLabel:"Sorteren",sortOptionAiredAsc:"Oud - nieuw",sortOptionAiredDesc:"Nieuw - oud",sortOptionRelevance:"Meest relevant",thisWeek:"Deze week",today:"Vandaag",xml:"XML",yesterday:"Gisteren"};t.Z={audio:{openInWindow:"Open in venster",playlist:"Playlist",sendMessage:"Stuur bericht",volume:"Volume",watchLive:"Kijk live"},video:{adCuetext:"Advertentie",adLoadingAd:"Advertentie laden",adMessage:"De advertentie eindigt over xx seconden",adPodmessage:"__AD_POD_CURRENT__ van __AD_POD_LENGTH__.",cancelAutoplay:"Automatisch afspelen annuleren",forward10Seconds:"10 Seconden Vooruit",next:"Volgende",nextEpisode:"Volgende aflevering",nextVideo:"Volgende video",pause:"Pauze",play:"Afspelen",previous:"Vorige",previousVideo:"Vorige video",replay:"Opnieuw afspelen"},pageContent:{leesMeer:"Lees meer",leesMinder:"Lees minder",volledigeAfleveringKijken:"Volledige aflevering kijken",viewPostOnFacebook:"Bekijk bericht op Facebook",viewPostOnInstagram:"Bekijk bericht op Instagram",viewPostOnX:"Bekijk bericht op X",viewPostOnTikTok:"Bekijk bericht op TikTok"},partnerPortal:i,shared:{back:"Terug",clear:"Wis",close:"Sluiten",search:"Zoeken"}}},74856:function(e,t,r){"use strict";r.d(t,{K:function(){return a},P:function(){return o}});var n=r(35944),i=r(67294);let a="{{value}}",o=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return e.split(a).flatMap((e,t,a)=>t<a.length-1?[e,(0,n.tZ)(i.Fragment,{children:r[t]},e)]:[e])}},28530:function(e,t){"use strict";
141Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return a}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let i=globalThis.AsyncLocalStorage;function a(){return i?new i:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25182:function(e,t,r){"use strict";function n(e){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clientHookInServerComponentError",{enumerable:!0,get:function(){return n}}),r(38754),r(67294),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31414:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return p},useSearchParams:function(){return f},usePathname:function(){return m},ServerInsertedHTMLContext:function(){return l.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return l.useServerInsertedHTML},useRouter:function(){return g},useParams:function(){return v},useSelectedLayoutSegments:function(){return y},useSelectedLayoutSegment:function(){return b},redirect:function(){return u.redirect},notFound:function(){return c.notFound}});let n=r(67294),i=r(24224),a=r(78463),o=r(25182),s=r(72526),l=r(43014),u=r(48781),c=r(78147),d=Symbol("internal for urlsearchparams readonly");function h(){return Error("ReadonlyURLSearchParams cannot be modified")}class p{[Symbol.iterator](){return this[d][Symbol.iterator]()}append(){throw h()}delete(){throw h()}set(){throw h()}sort(){throw h()}constructor(e){this[d]=e,this.entries=e.entries.bind(e),this.forEach=e.forEach.bind(e),this.get=e.get.bind(e),this.getAll=e.getAll.bind(e),this.has=e.has.bind(e),this.keys=e.keys.bind(e),this.values=e.values.bind(e),this.toString=e.toString.bind(e)}}function f(){(0,o.clientHookInServerComponentError)("useSearchParams");let e=(0,n.useContext)(a.SearchParamsContext),t=(0,n.useMemo)(()=>e?new p(e):null,[e]);return t}function m(){return(0,o.clientHookInServerComponentError)("usePathname"),(0,n.useContext)(a.PathnameContext)}function g(){(0,o.clientHookInServerComponentError)("useRouter");let e=(0,n.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function v(){(0,o.clientHookInServerComponentError)("useParams");let e=(0,n.useContext)(i.GlobalLayoutRouterContext);return e?function e(t,r){void 0===r&&(r={});let n=t[1];for(let t of Object.values(n)){let n=t[0],i=Array.isArray(n),a=i?n[1]:n;if(!a||a.startsWith("__PAGE__"))continue;let o=i&&("c"===n[2]||"oc"===n[2]);o?r[n[0]]=n[1].split("/"):i&&(r[n[0]]=n[1]),r=e(t,r)}return r}(e.tree):null}function y(e){void 0===e&&(e="children"),(0,o.clientHookInServerComponentError)("useSelectedLayoutSegments");let{tree:t}=(0,n.useContext)(i.LayoutRouterContext);return function e(t,r,n,i){let a;if(void 0===n&&(n=!0),void 0===i&&(i=[]),n)a=t[1][r];else{var o;let e=t[1];a=null!=(o=e.children)?o:Object.values(e)[0]}if(!a)return i;let l=a[0],u=(0,s.getSegmentValue)(l);return!u||u.startsWith("__PAGE__")?i:(i.push(u),e(a,r,!1,i))}(t,e)}function b(e){void 0===e&&(e="children"),(0,o.clientHookInServerComponentError)("useSelectedLayoutSegment");let t=y(e);return 0===t.length?null:t[0]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78147:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{notFound:function(){return n},isNotFoundError:function(){return i}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function i(e){return(null==e?void 0:e.digest)===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
141dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48781:function(e,t,r){"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return s},redirect:function(){return l},isRedirectError:function(){return u},getURLFromRedirectError:function(){return c},getRedirectTypeFromError:function(){return d}});let a=r(34505),o="NEXT_REDIRECT";function s(e,t){let r=Error(o);r.digest=o+";"+t+";"+e;let n=a.requestAsyncStorage.getStore();return n&&(r.mutableCookies=n.mutableCookies),r}function l(e,t){throw void 0===t&&(t="replace"),s(e,t)}function u(e){if("string"!=typeof(null==e?void 0:e.digest))return!1;let[t,r,n]=e.digest.split(";",3);return t===o&&("replace"===r||"push"===r)&&"string"==typeof n}function c(e){return u(e)?e.digest.split(";",3)[2]:null}function d(e){if(!u(e))throw Error("Not a redirect error");return e.digest.split(";",3)[1]}(i=n||(n={})).push="push",i.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34505:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return i}});let n=r(28530),i=(0,n.createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},72526:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},13991:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PrefetchKind:function(){return r},ACTION_REFRESH:function(){return i},ACTION_NAVIGATE:function(){return a},ACTION_RESTORE:function(){return o},ACTION_SERVER_PATCH:function(){return s},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return u},ACTION_SERVER_ACTION:function(){return c}});let i="refresh",a="navigate",o="restore",s="server-patch",l="prefetch",u="fast-refresh",c="server-action";(n=r||(r={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81516:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(82387),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},68872:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return y}});let n=r(38754),i=r(61757),a=i._(r(67294)),o=r(73935),s=n._(r(42636)),l=r(55471),u=r(3735),c=r(83341);r(34210);let d=r(69955),h=n._(r(39019)),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1};function f(e,t,r,n,i,a){let o=null==e?void 0:e.src;if(!e||e["data-loaded-src"]===o)return;e["data-loaded-src"]=o;let s="decode"in e?e.decode():Promise.resolve();s.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("blur"===t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}})}function m(e){let[t,r]=a.version.split("."),n=parseInt(t,10),i=parseInt(r,10);return n>18||18===n&&i>=3?{fetchPriority:e}:{fetchpriority:e}}let g=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:o,width:s,decoding:l,className:u,style:c,fetchPriority:d,placeholder:h,loading:p,unoptimized:g,fill:v,onLoadRef:y,onLoadingCompleteRef:b,setBlurComplete:S,setShowAltText:w,onLoad:x,onError:E,...T}=e;return a.default.createElement("img",{...T,...m(d),loading:p,width:s,height:o,decoding:l,"data-nimg":v?"fill":"1",className:u,style:c,sizes:i,srcSet:n,src:r,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(E&&(e.src=e.src),e.complete&&f(e,h,y,b,S,g))},[r,h,y,b,S,E,g,t]),onLoad:e=>{let t=e.currentTarget;f(t,h,y,b,S,g)},onError:e=>{w(!0),"blur"===h&&S(!0),E&&E(e)}})});function v(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...m
141(r.fetchPriority)};return t?((0,o.preload)(r.src,n),null):a.default.createElement(s.default,null,a.default.createElement("link",{key:"__nimg-"+r.src+r.srcSet+r.sizes,rel:"preload",href:r.srcSet?void 0:r.src,...n}))}let y=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(d.RouterContext),n=(0,a.useContext)(c.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=p||n||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[n]),{onLoad:o,onLoadingComplete:s}=e,f=(0,a.useRef)(o);(0,a.useEffect)(()=>{f.current=o},[o]);let m=(0,a.useRef)(s);(0,a.useEffect)(()=>{m.current=s},[s]);let[y,b]=(0,a.useState)(!1),[S,w]=(0,a.useState)(!1),{props:x,meta:E}=(0,l.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:y,showAltText:S});return a.default.createElement(a.default.Fragment,null,a.default.createElement(g,{...x,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:f,onLoadingCompleteRef:m,setBlurComplete:b,setShowAltText:w,ref:t}),E.priority?a.default.createElement(v,{isAppRouter:!r,imgAttributes:x}):null)});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95569:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});let n=r(38754),i=n._(r(67294)),a=r(14532),o=r(83353),s=r(61410),l=r(79064),u=r(370),c=r(69955),d=r(24224),h=r(80508),p=r(81516),f=r(64266),m=r(13991),g=new Set;function v(e,t,r,n,i,a){if(!a&&!(0,o.isLocalURL)(t))return;if(!n.bypassPrefetchedCheck){let i=void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0,a=t+"%"+r+"%"+i;if(g.has(a))return;g.add(a)}let s=a?e.prefetch(t,i):e.prefetch(t,r,n);Promise.resolve(s).catch(e=>{})}function y(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let b=i.default.forwardRef(function(e,t){let r,n;let{href:s,as:g,children:b,prefetch:S=null,passHref:w,replace:x,shallow:E,scroll:T,locale:k,onClick:C,onMouseEnter:_,onTouchStart:P,legacyBehavior:A=!1,...N}=e;r=b,A&&("string"==typeof r||"number"==typeof r)&&(r=i.default.createElement("a",null,r));let I=i.default.useContext(c.RouterContext),R=i.default.useContext(d.AppRouterContext),O=null!=I?I:R,L=!I,D=!1!==S,M=null===S?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:Z,as:F}=i.default.useMemo(()=>{if(!I){let e=y(s);return{href:e,as:g?y(g):e}}let[e,t]=(0,a.resolveHref)(I,s,!0);return{href:e,as:g?(0,a.resolveHref)(I,g):t||e}},[I,s,g]),j=i.default.useRef(Z),B=i.default.useRef(F);A&&(n=i.default.Children.only(r));let U=A?n&&"object"==typeof n&&n.ref:t,[$,V,z]=(0,h.useIntersection)({rootMargin:"200px"}),H=i.default.useCallback(e=>{(B.current!==F||j.current!==Z)&&(z(),B.current=F,j.current=Z),$(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[F,U,Z,z,$]);i.default.useEffect(()=>{O&&V&&D&&v(O,Z,F,{locale:k},{kind:M},L)},[F,Z,V,k,D,null==I?void 0:I.locale,O,L,M]);let G={ref:H,onClick(e){A||"function"!=typeof C||C(e),A&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),O&&!e.defaultPrevented&&function(e,t,r,n,a,s,l,u,c,d){let{nodeName:h}=e.currentTarget,p="A"===h.toUpperCase();if(p&&(function(e){let t=e.currentTarget,r=t.getAttribute("target");return r&&"_self"!==r||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,o.isLocalURL)(r)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[a?"replace":"push"](r,n,{shallow:s,locale:u,scroll:e}):t[a?"replace":"push"](n||r,{forceOptimisticNavigation:!d,scroll:e})};c?i.default.startTransition(f):f()}(e,O,Z,F,x,E,T,k,L,D)},onMouseEnter(e){A||"function"!=typeof _||_(e),A&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),O&&(D||!L)&&v(O,Z,F,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:M},L)},onTouchStart(e){A||"function"!=typeof P||P(e),A&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),O&&(D||!L)&&v(O,Z,F,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:M},L)}};if((0,l.isAbsoluteUrl)(F))G.href=F;else if(!A||w||"a"===n.type&&!("href"in n.props)){let e=void 0!==k?k:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&(0,p.getDomainLocale)(F,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);G.href=t||(0,f.addBasePath)((0,u.addLocale)(F,e,null==I?void 0:I.defaultLocale))}return A?i.default.cloneElement(n,G):i.default.createElement("a",{...N,...G},r)}),S=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
141dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80508:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(67294),i=r(10029),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,u=l||!a,[c,d]=(0,n.useState)(!1),h=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{h.current=e},[]);(0,n.useEffect)(()=>{if(a){if(u||c)return;let e=h.current;if(e&&e.tagName){let n=function(e,t,r){let{id:n,observer:i,elements:a}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=o.get(n)))return t;let i=new Map,a=new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e);return t={id:r,observer:a,elements:i},s.push(r),o.set(r,t),t}(r);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r});return n}}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,r,t,c,h.current]);let f=(0,n.useCallback)(()=>{d(!1)},[]);return[p,c,f]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95677:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{noSSR:function(){return o},default:function(){return s}});let n=r(38754),i=(r(67294),n._(r(8976)));function a(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let r=i.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e}),n={...n,...t};let s=n.loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=s?s().then(a):Promise.resolve(a(()=>null))}):(delete n.webpack,delete n.modules,o(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55471:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(34210);let n=r(97757),i=r(3735);function a(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r;let s,l,u,{src:c,sizes:d,unoptimized:h=!1,priority:p=!1,loading:f,className:m,quality:g,width:v,height:y,fill:b=!1,style:S,onLoad:w,onLoadingComplete:x,placeholder:E="empty",blurDataURL:T,fetchPriority:k,layout:C,objectFit:_,objectPosition:P,lazyBoundary:A,lazyRoot:N,...I}=e,{imgConf:R,showAltText:O,blurComplete:L,defaultLoader:D}=t,M=R||i.imageConfigDefault;if("allSizes"in M)s=M;else{let e=[...M.deviceSizes,...M.imageSizes].sort((e,t)=>e-t),t=M.deviceSizes.sort((e,t)=>e-t);s={...M,allSizes:e,deviceSizes:t}}let Z=I.loader||D;delete I.loader,delete I.srcSet;let F="__next_img_default"in Z;if(F){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=Z;Z=t=>{let{config:r,...n}=t;return e(n)}}if(C){"fill"===C&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(S={...S,...e});let t={responsive:"100vw",fill:"100vw"}[C];t&&!d&&(d=t)}let j="",B=o(v),U=o(y);if("object"==typeof(r=c)&&(a(r)||void 0!==r.src)){let e=a(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,T=T||e.blurDataURL,j=e.src,!b){if(B||U){if(B&&!U){let t=B/e.width;U=Math.round(e.height*t)}else if(!B&&U){let t=U/e.height;B=Math.round(e.width*t)}}else B=e.width,U=e.height}}let $=!p&&("lazy"===f||void 0===f);(!(c="string"==typeof c?c:j)||c.startsWith("data:")||c.startsWith("blob:"))&&(h=!0,$=!1),s.unoptimized&&(h=!0),F&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(h=!0),p&&(k="high");let V=o(g),z=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:_,objectPosition:P}:{},O?{}:{color:"transparent"},S),H="blur"===E&&T&&!L?{backgroundSize:z.objectFit||"cover",backgroundPosition:z.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:B,heightInt:U,blurWidth:l,blurHeight:u,blurDataURL:T,objectFit:z.objectFit})+'")'}:{}
141,G=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:a,sizes:o,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}if("number"!=typeof t)return{widths:n,kind:"w"};let a=[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))];return{widths:a,kind:"x"}}(t,i,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:a,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:s({config:t,src:r,quality:a,width:l[c]})}}({config:s,src:c,unoptimized:h,width:B,quality:V,sizes:d,loader:Z}),q={...I,loading:$?"lazy":f,fetchPriority:k,width:B,height:U,decoding:"async",className:m,style:{...z,...H},sizes:G.sizes,srcSet:G.srcSet,src:G.src},K={unoptimized:h,priority:p,placeholder:E,fill:b};return{props:q,meta:K}}},97757:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:a,objectFit:o}=e,s=n||t,l=i||r,u=a.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return s&&l?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 "+s+" "+l+"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+(n&&i?"1":"20")+"'/%3E"+u+"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='"+a+"'/%3E%3C/svg%3E":"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' preserveAspectRatio='"+("contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' x='0' y='0' height='100%25' width='100%25' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},32555:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},unstable_getImgProps:function(){return l}});let n=r(38754),i=r(55471),a=r(34210),o=r(68872),s=n._(r(39019)),l=e=>{(0,a.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:t}=(0,i.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}},u=o.Image},92254:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return a}});let n=r(38754),i=n._(r(67294)),a=i.default.createContext(null)},8976:function(e,t,r){"use strict";/**
142@copyright (c) 2017-present James Kyle <[email protected]>
143 MIT License
144 Permission is hereby granted, free of charge, to any person obtaining
145a copy of this software and associated documentation files (the
146"Software"), to deal in the Software without restriction, including
147without limitation the rights to use, copy, modify, merge, publish,
148distribute, sublicense, and/or sell copies of the Software, and to
149permit persons to whom the Software is furnished to do so, subject to
150the following conditions:
151 The above copyright notice and this permission notice shall be
152included in all copies or substantial portions of the Software.
153 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
154EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
155MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
156NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
157LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
158OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
159WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
160*/Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let n=r(38754),i=n._(r(67294)),a=r(92254),o=[],s=[],l=!1;function u(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function o(){if(!n){let t=new c(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!l){let e=r.webpack?r.webpack():r.modules;e&&s.push(t=>{for(let r of e)if(t.includes(r))return o()})}function u(e,t){!function(){o();let e=i.default.useContext(a.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let s=i.default.useSyncExternalStore(n.subscribe,n.getCurrentValue,n.getCurrentValue);return i.default.useImperativeHandle(t,()=>({retry:n.retry}),[]),i.default.useMemo(()=>{var t;return s.loading||s.error?i.default.createElement(r.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:n.retry}):s.loaded?i.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return u.preload=()=>o(),u.displayName="LoadableComponent",i.default.forwardRef(u)}(u,e)}function h(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return h(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{h(o).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(l=!0,t());h(s,e).then(r,r)})),window.__NEXT_PRELOADREADY=d.preloadReady;let p=d},43014:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return a},useServerInsertedHTML:function(){return o}});let n=r(61757),i=n._(r(67294)),a=i.default.createContext(null);function o(e){let t=(0,i.useContext)(a);t&&t(e)}},48625:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return t7}});var n=r(35944),i=r(67294),a=r(11752),o=r.n(a),s=r(5152),l=r.n(s),u=r(9008),c=r.n(u),d=r(11163),h=r(53390),p=r.n(h),f=r(87685),m=r(48711);let g="undefined"!=typeof document;var v=r(85893);let y=function(e){let t;if(g){let e=document.querySelector('meta[name="emotion-insertion-point"]');t=e??void 0}let{enableCssLayer:r,...n}=(void 0)??{},i=(0,m.Z)({key:"mui",insertionPoint:t,...n});if(r){let e=i.insert;i.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return i}();function b({emotionCache:e=y,children:t}){return(0,v.jsx)(f.C,{value:e,children:t})}var S=r(89626),w=r(28628);let x="function"==typeof(0,S.zY)({}),E=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),T=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),k=(e,t=!1)=>{let r={};t&&e.colorSchemes&&"function"==typeof e.getColorSchemeSelector&&Object.entries(e.colorSchemes).forEac
160h(([t,n])=>{let i=e.getColorSchemeSelector(t);i.startsWith("@")?r[i]={":root":{colorScheme:n.palette?.mode}}:r[i.replace(/\s*&/,"")]={colorScheme:n.palette?.mode}});let n={html:E(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...T(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...r},i=e.components?.MuiCssBaseline?.styleOverrides;return i&&(n=[n,i]),n},C="mui-ecs",_=e=>{let t=k(e,!1),r=Array.isArray(t)?t[0]:t;return!e.vars&&r&&(r.html[`:root:has(${C})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([t,n])=>{let i=e.getColorSchemeSelector(t);i.startsWith("@")?r[i]={[`:root:not(:has(.${C}))`]:{colorScheme:n.palette?.mode}}:r[i.replace(/\s*&/,"")]={[`&:not(:has(.${C}))`]:{colorScheme:n.palette?.mode}}}),t},P=(0,S.zY)(x?({theme:e,enableColorScheme:t})=>k(e,t):({theme:e})=>_(e));var A=function(e){let t=(0,w.i)({props:e,name:"MuiCssBaseline"}),{children:r,enableColorScheme:n=!1}=t;return(0,v.jsxs)(i.Fragment,{children:[x&&(0,v.jsx)(P,{enableColorScheme:n}),!x&&!n&&(0,v.jsx)("span",{className:C,style:{display:"none"}}),r]})},N=r(85945),I=r(36492),R=r(41664),O=r.n(R),L=r(98547),D=r(21953),M=r(78114);let Z=(e,t)=>{p().link({event_category:M.$1.FOOTER,event_name:M.SP.OUTBOUND_CLICK,event_label:e,content_name:t})},F=[{imageSrc:"/images/app_store.svg",name:D.ZL},{imageSrc:"/images/google_play.svg",name:D.um}];var j=e=>{let{title:t,adjustLink:r}=e;return(0,n.BX)("div",{className:"flex flex-col gap-3 md:gap-4",children:[(0,n.tZ)("h5",{className:"text-footer-90 font-header-5",children:t}),(0,n.tZ)("div",{className:"flex gap-4",children:F.map(e=>{let{imageSrc:t,name:i}=e;return(0,n.tZ)(O(),{href:r,target:"_blank","aria-label":i,onClick:()=>Z(r,i),children:(0,n.tZ)(L.Q,{src:t})},i)})})]})},B=r(69001),U=r(18206),$=r(87611),V=r(70103),z=r(30656),H=r(47488);let G=e=>"type"in e&&e.type===D.GU.SUBMENU,q=e=>!("type"in e);var K=r(32034),W=r(66488);let X=e=>{p().link({event_category:M.$1.FOOTER,event_name:M.SP.FOOTER_CLICK,event_label:e})};var Y=e=>{let{submenu:t}=e;return(0,n.BX)("div",{className:"flex flex-col gap-3 [&>button]:w-50 [&>button]:mt-2 lg:[&>button]:w-44",children:[(0,n.tZ)("h5",{className:"text-footer-submenu-title font-header-5 mb-0.5",children:t.title}),t.items.map(e=>(0,n.tZ)(i.Fragment,{children:q(e)&&(0,n.tZ)(O(),{href:e.url,target:e.target,onClick:()=>X(e.title),suppressHydrationWarning:e.url.startsWith("#"),children:(0,n.tZ)("div",{className:"text-footer hover:text-footer-hover hover:underline font-footer",children:e.title})})},e.id))]})};let J=e=>{var t,r;let{footer:i}=e,{socialMedia:a,appDownload:o,designTokens:s}=(0,V._w)(),l=null!==(r=null===(t=s.footer)||void 0===t?void 0:t.hasExtraPadding)&&void 0!==r&&r,u=(0,K.G)(),c=new Date().getFullYear(),{data:d,error:h}=(0,I.a)({queryKey:[D.ID],queryFn:()=>(0,H.dX)("/api/navigation/footer"),refetchOnWindowFocus:!1,initialData:i,select:e=>{if(!(null==e?void 0:e.items))return;let t=[...e.items];for(;t.length<4;)t.push({slug:"",id:"".concat(D.GU.SUBMENU,"-").concat(String(t.length)),title:"",type:D.GU.SUBMENU,items:[]});return t},enabled:!i});return((0,z.XY)(h,{queryKey:D.ID}),d)?(0,n.tZ)("div",{className:(0,W.cn)("w-full mt-20 pb-12 pt-10 md:pt-12 bg-footer text-footer border-t border-footer","[transition:margin-top_300ms_ease-out,transform_300ms_ease-in-out]","[&:has(form)]:pt-8 md:[&:has(form)]:pt-12",u&&"transform-[translateX(320px)] md:transform-[translateX(400px)]"),children:(0,n.BX)("div",{className:"max-w-xl my-0 mx-auto py-0 px-4 md:px-20 lg:px-24",children:[(0,n.tZ)(U.Z,{}),(0,n.tZ)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 gap-y-8",children:d.map((e,t)=>{if(!G(e))return null;let r=t===d.length-1,i=e.items.length>0;return(0,n.BX)("div",{className:(0,W.cn)("col-span-1",r&&"flex flex-col gap-y-8 md:col-2 md:row-[1/span_3] lg:col-auto lg:row-auto",!i&&!r&&"hidden md:block"),children:[i&&(0,n.tZ)(Y,{submenu:e}),r&&(0,n.BX)(n.HY,{children:[o&&(0,n.tZ)(j,{...o}),a&&(0,n.tZ)(B.u,{...a,eventCategory:M.$1.FOOTER})]})]},e.id)})}),(0,n.BX)("div",{className:(0,W.cn)("text-neutral-40 font-body-small mt-10 md:w-183 lg:w-260 xl:w-312",l&&"pb-16 md:pb-24"),children:["\xa9 ","".concat(String(c)," ").concat(D.le)]})]})}):null};var Q=e=>(0,n.tZ)($.Z,{onError:()=>(0,n.tZ)(n.HY,{}),children:(0,n.tZ)(J,{...e})}),ee=r(62578),et=r(11149),er=r(28155),en=r(28848);let ei=e=>{let{children:t,isSearch:r}=e,i=(0,er.w)(),a=(0,K.G)();return(0,n.tZ)("div",{className:(0,W.cn)("fixed top-0 w-full z-tab-bar mt-0",r?"transition-transform duration-300 ease-in-out":"[transition:margin-top_300ms_ease-out,transform_300ms_ease-in-out]",i&&"mt-10 md:mt-12",a&&"transform-[translateX(320px)] md:transform-[translateX(400px)]"),children:t})};var ea=r(63254),eo=r(23270),es=r(19342),el=r(31884),eu=r(36669),ec=r(47610),ed=r(93323),eh=r(19192),ep=(e,t,r)=>{let n=e===eh.sR.All?{headerText:"resultaten",notFoundBodyText:"niets"}
160:e===eh.sR.Articles?{headerText:"artikelen",notFoundBodyText:"geen artikelen"}:e===eh.sR.Series?{headerText:"programmas's",notFoundBodyText:"geen programmas's"}:{headerText:"video's",notFoundBodyText:"geen video's"},i=t.replace("<NO_RESULT_TYPE>",n.headerText),a=r.replace("<NO_RESULT_TYPE>",n.notFoundBodyText);return[i,a]};let ef="no-search-result";var em=e=>{let{currentTab:t}=e,{noSearchResults:r}=(0,V._w)(),{searchValue:a}=(0,ea.Z)(),o=r.collectionUrl,{data:s,error:l}=(0,I.a)({queryKey:[ef],queryFn:()=>(0,H.j0)(o),enabled:!!o});(0,z.XY)(l,{queryKey:ef,searchValue:a,collectionUrl:o});let{headerText:u,bodyText:c,bodyTextSuggestion:d}=r,[h,p]=ep(t,u,c);return(0,n.BX)(i.Fragment,{children:[(0,n.BX)("div",{className:(0,W.cn)("flex flex-col items-start gap-4 mb-8 md:gap-6 md:mb-10"),children:[(0,n.tZ)("h3",{className:"max-h-7 items-center font-header-3 overflow-hidden text-ellipsis line-clamp-1 break-words md:max-h-10",children:h}),(0,n.BX)("div",{className:"h-30 md:h-19.5",children:[(0,n.BX)("p",{className:"font-body-medium",children:[p," ",(0,n.BX)("b",{children:["‘",a,"’"]}),"."]}),(0,n.tZ)("br",{}),(0,n.tZ)("p",{className:"font-body-medium",children:d})]})]}),s&&(0,n.tZ)(ed.Z,{title:s.title,items:s.items,hideLinkTitles:s.hideLinkTitles})]})},eg=r(32564),ev=r(38858),ey=r(54226);let eb="placeholder-search-modal-page";var eS=()=>{let{designTokens:{articleGrid:e},searchModal:t}=(0,V._w)(),{data:r,isLoading:i,error:a}=(0,I.a)({queryKey:[eb],queryFn:()=>(0,H.dX)("/api/page/zoek")});(0,z.XY)(a,{queryKey:eb});let o=(0,ey.Z)(e.itemFetchLimit);return i?t.enableKijkSearch?(0,n.BX)(n.HY,{children:[(0,n.tZ)(ev.C2,{swimlaneType:ev.yl.Landscape,showTitle:!0}),(0,n.tZ)(ev.C2,{swimlaneType:ev.yl.Landscape,showTitle:!0})]}):(0,n.tZ)(eg.Z,{limit:o}):r?(0,n.tZ)("div",{className:"*:first:mt-0 [&>a:first-child>:first-child]:mt-0",children:r.items.map(e=>(0,n.tZ)(eo.Z,{...e},e.id))}):null},ew=r(39399),ex=()=>{let e=(0,er.w)(),{tabValue:t}=(0,ea.Z)();return(0,n.BX)(n.HY,{children:[(0,n.tZ)("div",{"data-testid":"kijk-search-result-skeleton",className:(0,W.cn)("fixed inset-0 w-full h-14 bg-tab-bar z-tab-bar",e?"mt-24 md:mt-28 w-screen ml-[calc(50%-50vw)]":"mt-14 md:mt-16")}),(0,n.tZ)(ew.Z,{variant:"body-medium",className:(0,W.cn)("mb-4 md:mb-6 w-58",!t&&"mt-16")}),(0,n.tZ)(ev.C2,{swimlaneType:ev.yl.Portrait,showTitle:!0}),(0,n.tZ)(ev.C2,{swimlaneType:ev.yl.Landscape,showTitle:!0})]})};let eE=e=>"showAllUrl"in e&&"string"==typeof e.showAllUrl;var eT=()=>{let{searchValue:e,tabValue:t}=(0,ea.Z)(),{searchModal:r}=(0,V._w)(),a=(0,d.useRouter)(),o=a.asPath.split("?")[0],s=["kijk-search-result",e],{data:l,isLoading:u,isError:c,error:h}=(0,I.a)({queryKey:s,queryFn:async()=>{let t=await (0,ec.Sj)(e),n=t.availableTabs.find(e=>e.label===D.QN);return(p().link({event_name:M.SP.SEARCH_QUERY,event_category:M.$1.SEARCH,event_label:e}),r.enablePartnerSearch)?{items:null==t?void 0:t.items.filter(e=>"kijkCollection"===e.contentType&&e.slug===eh.sR.Series),availableTabs:null==t?void 0:t.availableTabs.filter(e=>{let{slug:t}=e;return t===eh.sR.Series})}:(p().setDataLayer({search_keyword:e,search_results:(null==n?void 0:n.totalResults)||null}),t)}});(0,z.XY)(h,{queryKey:s.join(",")}),(0,i.useEffect)(()=>{var e;window.eventBus.dispatch("searchResults",{hasResults:!!(null==l?void 0:null===(e=l.items)||void 0===e?void 0:e.length),availableTabs:null==l?void 0:l.availableTabs})},[l,r]);let f=(0,i.useMemo)(()=>null==l?void 0:l.availableTabs.find(e=>e.slug===t),[l,t]),m=Number(null==f?void 0:f.totalResults)>100?"100+":null==f?void 0:f.totalResults;return e?u?(0,n.tZ)(ex,{}):c?(0,n.tZ)(eu.Z,{}):e&&(null==l?void 0:l.items.length)===0?(0,n.tZ)(em,{currentTab:t}):(0,n.BX)("div",{children:[!!m&&(0,n.BX)("div",{className:(0,W.cn)("mb-4 md:mb-6",r.enablePartnerSearch?"text-neutral-90":"text-neutral-0"),children:[m," ",D.j," ‘",(0,n.tZ)("span",{className:"font-body-medium-strong",children:e}),"’"]}),t&&f?[eh.sR.Series,eh.sR.Films].includes(f.slug)?(0,n.tZ)(es.Z,{endpoint:f.endpoint,isGrid:!0,hasInfiniteScroll:!0,title:f.label,showTitle:!1}):(0,n.tZ)(el.ZP,{showSeriesTitle:!0,showTitle:!1,title:f.label,isGrid:!0,endpoint:f.endpoint}):null==l?void 0:l.items.map(e=>(0,n.tZ)(eo.Z,{...eE(e)?{...e,showAllUrl:(o||"")+e.showAllUrl}:e},e.id))]}):(0,n.tZ)(eS,{})},ek=r(33209),eC=r(76663),e_=r(37082);let eP=e=>{p().link({event_name:M.SP.SEARCH_CLICK,event_category:M.$1.SEARCH,event_label:M.KX.SEARCH_RESULTS,event_value:e})};var eA=()=>{var e,t;let{searchValue:r,tabValue:a}=(0,ea.Z)(),o=(0,i.useMemo)(()=>{var e;return null===(e=eh.Uk.find(e=>e.slug===a))||void 0===e?void 0:e.contentType},[a]),{contentApiEndpoint:s}=(0,V._w)(),{data:l,items:u,isLoading:c,isError:d,fetchNextPage:h,hasNextPage:f,isFetchingNextPage:m}=(0,ek.Z)({queryKey:["search",r,o],queryFn:async e=>{let{pageParam:t=1}=e;if(!r)return{items:[],nextPage:null,totalResults:0};let n=await (0,H.LE)({endpoint:"".concat(s,"/search/").concat(encodeURIComponent(r)),page:t,contentType:o,limit:24});return 1===t&&(p().setDataLayer({search_keyword:r,search_results:n.totalResults}),p().link({event_name:M.SP.SEARCH_QUERY,event_category:M.$1.SEARCH,event_label:r})),n}}),[g]=null!==(e=null==l?void 0:l.pages)&&void 0!==e?e:[];(0,i.useEffect)(()=>{window.eventBus.dispatch("searchResults",{hasResults:!!(null==u?void 0:u.length)})},[u]);let v="".concat(Number(null==g?void 0:g.totalResults)>100?"100+":String(null!==(t=null==g?void 0:g.totalResults)&&void 0!==t?t:0)," ").concat(D.j," ");return!c||(null==g?void 0:g.items.length)?d?(0,n.tZ)(eu.Z,{}):r?r&&(null==g?void 0:g.items.length)===0&&!c?(0,n.tZ)(em,{currentTab:a}):(0,n.tZ)(e_.Z,{title:v,searchValue:r,items:u,isFetchingNextPage:m,hasNextPage:!!f,isLoading:c,limit:24,fetchNextPage:h,trackClick:eP}):(0,n.tZ)(eS,{}):(0,n.tZ)(eg.Z,{limit:24,showCategory:!0,variant:eC.f.SearchResults,className:"mt-0 md:mt-0"})}
160,eN=r(86035),eI=r(13989),eR=r(19822),eO=e=>{let{className:t,...r}=e;return(0,n.tZ)("div",{...r,className:(0,W.cn)("absolute w-full","h-14 md:h-16","z-top-bar","px-4 md:px-0","bg-top-bar","will-change-transform",t)})},eL=r(86720),eD=()=>{let{searchValue:e}=(0,ea.Z)(),t=(0,i.useRef)(null),[r,a]=(0,i.useState)(e),o=(0,i.useRef)(null);(0,eN.Z)(t),(0,i.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[o]);let s=()=>{(0,eI.Z)(null)},l=(0,i.useMemo)(()=>(0,n.tZ)(eR.uS,{size:D.Jh.DoubleExtraLarge,onClick:s,role:"button","aria-label":eL.Z.shared.back,className:"cursor-pointer block text-top-bar"}),[]);return(0,n.tZ)(eO,{className:"lg:overflow-auto lg:[scrollbar-gutter:stable]",children:(0,n.BX)("div",{className:(0,W.cn)("flex items-center justify-between lg:justify-normal gap-2","h-full max-w-xl mx-auto md:px-8 lg:px-24"),children:[l,(0,n.BX)("div",{className:(0,W.cn)("text-top-bar-search bg-top-bar-search","cursor-text flex items-center justify-between h-10 rounded-full","py-2 pr-4 pl-3 gap-3 overflow-hidden","lg:relative","animate-fade-in lg:animate-expand"),children:[(0,n.tZ)(eR.W1,{size:D.Jh.Large,className:"cursor-text block text-top-bar"}),(0,n.tZ)("input",{className:(0,W.cn)("flex flex-1 bg-transparent text-top-bar-search font-body-medium border-none","outline-none overflow-hidden placeholder:text-top-bar-search placeholder:opacity-100"),ref:t,"aria-label":eL.Z.shared.search,placeholder:eL.Z.shared.search,value:r,onChange:e=>{o.current&&clearTimeout(o.current);let{value:t}=e.target;a(t),t.length>=3&&(o.current=setTimeout(eI.Z,500,t))},onKeyDown:e=>{("Enter"===e.code||"NumpadEnter"===e.code)&&(o.current&&clearTimeout(o.current),(0,eI.Z)(r))},spellCheck:!1}),r&&(0,n.tZ)(eR.aM,{onClick:()=>{var e;a(""),(0,eI.Z)(""),null===(e=t.current)||void 0===e||e.blur()},role:"button","aria-label":eL.Z.shared.clear,size:D.Jh.Small,className:"cursor-pointer block text-top-bar"})]})]})})},eM=()=>{let{isModalOpen:e,searchValue:t,tabValue:r}=(0,ea.Z)(),a=(0,en.Z)(),{searchModal:o}=(0,V._w)(),s=(0,er.w)(),[l,u]=(0,i.useState)(!1),[c,d]=(0,i.useState)([]),[h,p]=(0,i.useState)(!1);if((0,i.useEffect)(()=>{p(t=>a!==D.r1.Xs&&a!==D.r1.Sm&&a!==D.r1.Md&&(!e||!t||!l)&&(!e&&!t||t))},[e,a,l]),(0,i.useEffect)(()=>{e||ee.default.setDataLayer({search_keyword:null,search_results:null}),document.documentElement.style.setProperty("overflow-y",e?"hidden":"auto")},[e]),(0,i.useEffect)(()=>{let e=e=>{u(e.hasResults),e.availableTabs&&d(e.availableTabs)};return window.eventBus.on("searchResults",e),()=>window.eventBus.off("searchResults",e)},[]),o.enablePartnerSearch||!e)return null;let f=!!(t&&(l||r)),m=f||h;return(0,n.BX)("div",{id:D.f2,className:(0,W.cn)("fixed inset-0 w-full h-full bg-search-modal","pb-30 overflow-auto z-[1300] lg:[scrollbar-gutter:stable]",t&&f?"pt-28 md:pt-30":"pt-14 md:pt-16"),children:[(0,n.BX)(ei,{isSearch:!0,children:[(0,n.tZ)(eD,{}),m&&(0,n.tZ)(eh.ZP,{shouldAnimateTabBar:h,searchTermHasResults:f,availableTabs:c})]}),(0,n.tZ)(et.Z,{className:(0,W.cn)("pt-8",s&&"mt-10 md:mt-12"),children:o.enableKijkSearch?(0,n.tZ)(eT,{}):(0,n.tZ)(eA,{})})]})},eZ=r(12875),eF=r(27888),ej=r(82896),eB=r(17967),eU=r(14775);let e$={[D.eA.Shownieuws]:l()(()=>r.e(7978).then(r.bind(r,17978)),{loadableGenerated:{webpack:()=>[17978]}}),[D.eA.VandaagInside]:l()(()=>r.e(3909).then(r.bind(r,23909)),{loadableGenerated:{webpack:()=>[23909]}}),[D.eA.HartVanNederland]:l()(()=>r.e(3158).then(r.bind(r,93158)),{loadableGenerated:{webpack:()=>[93158]}}),[D.eA.Radio10]:l()(()=>r.e(2065).then(r.bind(r,92065)),{loadableGenerated:{webpack:()=>[92065]}}),[D.eA.SkyRadio]:l()(()=>r.e(5442).then(r.bind(r,25442)),{loadableGenerated:{webpack:()=>[25442]}}),[D.eA.Radio538]:l()(()=>r.e(5115).then(r.bind(r,85115)),{loadableGenerated:{webpack:()=>[85115]}}),[D.eA.Kijk]:l()(()=>r.e(4905).then(r.bind(r,24905)),{loadableGenerated:{webpack:()=>[24905]}}),[D.eA.NieuwsVanDeDag]:l()(()=>r.e(2808).then(r.bind(r,82808)),{loadableGenerated:{webpack:()=>[82808]}}),[D.eA.RadioNoordzee]:l()(()=>r.e(3555).then(r.bind(r,63555)),{loadableGenerated:{webpack:()=>[63555]}}),[D.eA.CorporateSite]:l()(()=>r.e(4906).then(r.bind(r,94906)),{loadableGenerated:{webpack:()=>[94906]}}),[D.eA.KijkersTV]:l()(()=>r.e(4906).then(r.bind(r,94906)),{loadableGenerated:{webpack:()=>[94906]}}),[D.eA.PartnerPortal]:l()(()=>r.e(4906).then(r.bind(r,94906)),{loadableGenerated:{webpack:()=>[94906]}}),[D.eA.TalpaMedia]:l()(()=>r.e(382).then(r.bind(r,70382)),{loadableGenerated:{webpack:()=>[70382]}}),[D.eA.HetNieuws]:l()(()=>r.e(5133).then(r.bind(r,95133)),{loadableGenerated:{webpack:()=>[95133]}})};var eV=e=>{let{outletName:t}=(0,V._w)(),r=e$[t];return r?(0,n.tZ)(r,{...e}):null},ez=r(3239);let eH=l()(()=>Promise.all([r.e(3299),r.e(5272)]).then(r.bind(r,35272)),{loadableGenerated:{webpack:()=>[35272]}}),eG="home",eq=e=>{p().link({event_category:M.$1.HEADER,event_name:M.SP.HEADER_CLICK,event_label:e})},eK=()=>{eq(M.KX.NAVIGATION.HOME),"/"===window.location.pathname&&(0,eF.rj)()};var eW=e=>{let{shouldShowNavigation:t}=e,r=(0,K.G)(),{enabled:i}=(0,ej.Z)(eZ.O5.TalpaAuth),{smartBannerVisible:a,smartBannerHeight:o}=(0,eB.X)(),s=(0,d.useRouter)(),{searchModal:l}=(0,V._w)(),u=!!l.enablePartnerSearch,c=()=>{(0,eI.Z)(""),eq(M.KX.NAVIGATION.SEARCH)};
160return(0,n.tZ)(eO,{style:{top:a&&o?o:0},children:(0,n.BX)(ez.Z,{children:[(0,n.tZ)(eR.m2,{className:"invisible pointer-events-none absolute top-0 left-0"}),t?(0,n.BX)(n.HY,{children:[(0,n.tZ)(eR.uS,{className:"invisible pointer-events-none absolute top-0 left-0"}),(0,n.tZ)(eR.Uq,{role:"button","aria-label":"menu",onClick:()=>{window.eventBus.dispatch("hamburgerMenu",{isOpen:!r})},size:D.Jh.DoubleExtraLarge,className:"cursor-pointer flex text-top-bar"}),(0,n.tZ)(O(),{href:D._1.HOME_PAGE,onClick:eK,className:" flex max-lg:absolute max-lg:left-1/2 max-lg:-translate-x-1/2 ",children:(0,n.tZ)(eV,{role:"button","aria-label":eG,className:"cursor-pointer"})})]}):(0,n.tZ)(eV,{"aria-label":eG}),(0,n.BX)("div",{className:(0,W.cn)("flex items-center",u&&"ml-auto"),children:[t&&!u&&(0,n.tZ)(eU.ZP,{type:"button",variant:eU.$e.Ghost,size:eU.qE.Medium,onClick:c,className:(0,W.cn)("hidden","lg:flex lg:items-center","lg:absolute lg:left-[calc(50%-200px)]","lg:w-100 lg:h-10","lg:rounded-[100px]","lg:pl-11 lg:pr-4","lg:cursor-text","lg:bg-top-bar-search","lg:text-top-bar-search","lg:hover:bg-top-bar-search","lg:hover:text-top-bar-search","lg:active:bg-top-bar-search","lg:active:text-top-bar-search"),textClassName:(0,W.cn)("w-full truncate","text-left justify-start","px-0","font-inherit normal-case"),children:D.QK}),t&&(0,n.tZ)(eR.W1,{size:D.Jh.ExtraLarge,role:"button","aria-label":"search",onClick:u?()=>{let[e]=s.asPath.split("?");if(e===D._1.CATALOG){var t;null===(t=document.querySelector('input[placeholder="'.concat(D.QK,'"]')))||void 0===t||t.focus()}else s.push("".concat(D._1.CATALOG,"?search="));eq(M.KX.NAVIGATION.SEARCH)}:c,className:(0,W.cn)("cursor-pointer flex text-top-bar",!u&&["lg:cursor-text lg:absolute","lg:left-[calc(50%-200px+12px)]"]),svgClassName:u?void 0:"lg:w-6 lg:h-6"}),!!i&&(0,n.tZ)(eH,{})]})]})})};let eX=(e,t,r,n)=>r*e/n+t;function eY(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,n=e.scrollLeft;if(n===t)return;if(0===r){e.scrollTo(t,0);return}let i=t-n,a=null;requestAnimationFrame(function o(s){null!=a||(a=s);let l=s-a,u=eX(l,n,i,r);e.scrollTo(u,0),l<r?requestAnimationFrame(o):e.scrollTo(t,0)})}var eJ=r(12003);let eQ=(0,eJ.j)("absolute w-6 h-6 text-neutral-0 cursor-pointer",{variants:{direction:{right:"right-6 md:right-8 top-3",left:"top-1/2 -translate-y-1/2 rotate-180"}},defaultVariants:{direction:D.VD.Right}}),e0=e=>{let{direction:t,onClick:r}=e;return(0,n.tZ)(eR.ZP,{icon:D.LM.RightArrow,size:D.Jh.Large,className:(0,W.cn)(eQ({direction:t})),onClick:r})},e1=e=>{let{isOpen:t,showBackButton:r,onBack:i,onClose:a,topPosition:o,backButtonRef:s,children:l}=e;return(0,n.BX)("div",{className:(0,W.cn)("fixed flex h-full flex-col bg-hamburger","w-80 md:min-w-[400px]","z-hamburger","transition-transform duration-[300ms] [transition-timing-function:ease-in-out]",!t&&"-translate-x-[320px] md:-translate-x-[400px]"),style:{top:"".concat(String(o),"px")},children:[(0,n.BX)("div",{className:"relative w-full h-14 md:h-16",children:[r&&(0,n.BX)("button",{ref:s,type:"button","aria-label":"back",onClick:i,className:(0,W.cn)("absolute top-4 md:top-5 left-6 md:left-8","flex items-center gap-3","cursor-pointer","z-drawer"),children:[(0,n.tZ)("div",{className:"w-6 h-6",children:(0,n.tZ)(e0,{direction:D.VD.Left})}),(0,n.tZ)("p",{className:"font-tab text-neutral-0",children:D.Gt})]}),(0,n.tZ)("button",{type:"button","aria-label":"close",onClick:a,className:"absolute right-6 top-2 md:top-3 z-drawer cursor-pointer focus-visible:outline-none",children:(0,n.tZ)(eR.aM,{onClick:a,size:D.Jh.DoubleExtraLarge,className:"text-neutral-0 cursor-pointer z-drawer"})})]}),(0,n.tZ)("div",{className:"flex h-full w-full overflow-hidden",children:l})]})},e2=()=>{let{socialMedia:e}=(0,V._w)();if(e)return(0,n.tZ)("div",{className:(0,W.cn)("absolute bottom-0 left-0 flex","h-[146px]","w-80 md:w-[400px]","bg-hamburger","py-4 px-6","md:px-8"),children:(0,n.tZ)(B.u,{...e,position:D.es.Hamburger})})},e3=(0,W.cn)("relative flex items-center justify-center flex-shrink-0 transition-colors","w-80 md:w-100 h-12.5 md:h-12","hover:bg-primary-100 active:bg-primary-100","cursor-pointer"),e4=(0,W.cn)("font-body-large text-neutral-0","w-68 md:w-84 h-6.5 md:h-7","mx-6 md:mx-8 my-3 md:my-2.5 text-left"),e5=e=>{let{level:t,menu:r,onMenuItemClick:i,onSubmenuClick:a}=e;return(0,n.tZ)("div",{className:"relative min-w-80 md:min-w-100 scrollbar-none",children:(0,n.tZ)("div",{className:(0,W.cn)("inline-flex flex-col items-start w-full","overflow-x-hidden","mt-5 md:mt-4.5"),style:{height:1===t?"calc(100% - 202px)":"calc(100% - 56px)"},children:r.items.map(e=>G(e)?(0,n.BX)("button",{type:"button",role:"menuitem",onClick:()=>a(e),className:e3,children:[(0,n.tZ)("span",{className:e4,children:e.title}),(0,n.tZ)(e0,{direction:D.VD.Right})]},e.id):q(e)?(0,n.tZ)(O(),{href:e.url,role:"menuitem",target:e.target,onClick:()=>i(e),className:e3,children:(0,n.tZ)("span",{className:e4,children:e.title})},e.id):null)})})},e6="hamburger",e8=e=>{p().link({event_category:M.$1.MENU,event_name:M.SP.MENU_CLICK,event_label:e})};var e9=e=>{let{navigation:t}=e,r=(0,i.useRef)(null),a=(0,i.useRef)(null),{smartBannerVisible:o,smartBannerHeight:s}=(0,eB.X)(),l=(0,er.w)(),u=(0,en.Z)(),c=u===D.r1.Xs||u===D.r1.Sm,{data:d,error:h}=(0,I.a)({queryKey:[e6],queryFn:()=>(0,H.dX)("/api/navigation/hamburger-menu"),refetchOnWindowFocus:!1,initialData:t,enabled:!t});(0,z.XY)(h,{queryKey:e6});let[p,f]=(0,i.useState)(d?[d]:[]),m=(0,i.useRef)([]),[g,v]=(0,i.useState)(!1),y=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];a.current&&(a.current.style.visibility=e?"visible":"hidden")},b=()=>{window.eventBus.dispatch("hamburgerMenu",{isOpen:!1})},S=e=>{y(!0),f(t=>[...t,e].filter((e,t,r)=>r.findIndex(t=>{let{id:r}=t;return r===e.id})===t))},w=e=>{e8(e.title),b()};return((0,i.useEffect)(()=>{d&&f([d])},[d]),(0,i.useEffect)(()=>{let e=e=>
160{if(v(e.isOpen),document.body.classList.toggle("hamburger-menu-open",e.isOpen),e.isOpen&&(document.body.style.setProperty("overflow-x","hidden"),document.documentElement.style.setProperty("overflow-x","hidden")),!e.isOpen&&d){y(!1),document.documentElement.style.setProperty("overflow-x","visible");let e=setTimeout(()=>{f([d]),document.body.style.setProperty("overflow-x","visible")},400);m.current.push(e)}};window.eventBus.on("hamburgerMenu",e);let t=m.current;return()=>{window.eventBus.off("hamburgerMenu",e),t.forEach(e=>clearTimeout(e))}},[d]),(0,i.useEffect)(()=>{if(!r.current)return;let e=e=>{if(!r.current)return;let t=r.current.offsetWidth*(p.length-1);eY(r.current,t,e?0:300)};if(e(),g&&1!==p.length)return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[p,r,g]),p.length)?(0,n.tZ)(e1,{isOpen:g,showBackButton:p.length>1,onBack:()=>{if(!r.current)return;2===p.length&&y(!1);let e=r.current.offsetWidth*(p.length-2);eY(r.current,e,300);let t=setTimeout(f,300,e=>e.length>1?e.slice(0,-1):e);m.current.push(t)},onClose:b,backButtonRef:a,topPosition:(o&&null!=s?s:0)+(l?c?40:48:0),children:(0,n.tZ)("div",{ref:r,className:"flex h-full w-80 md:w-100 overflow-hidden",children:p.map((e,t)=>(0,n.BX)("div",{className:"relative shrink-0 w-80 md:w-100",children:[(0,n.tZ)(e5,{menu:e,level:t+1,onMenuItemClick:w,onSubmenuClick:S}),0===t&&(0,n.tZ)(e2,{})]},e.id))})}):null},e7=r(17894);let te="tabBar",tt=e=>{p().link({event_category:M.$1.HEADER,event_name:M.SP.HEADER_CLICK,event_label:e})},tr=e=>!("type"in e),tn=e=>{let{title:t,isActive:r}=e;tt(t),r?(0,eF.rj)():(0,eF.ND)()};var ti=e=>{var t,r;let{navigation:a}=e,[o,s]=(0,i.useState)(!1),[l,u]=(0,i.useState)(!1),[c,h]=(0,i.useState)(!1),p=(0,i.useRef)(null),f=(0,d.useRouter)(),{smartBannerVisible:m,smartBannerHeight:g}=(0,eB.X)(),{enabled:v,variables:y}=(0,eZ.SS)(eZ.O5.TabbarExperiment),b=null!==(t=null==y?void 0:y.slug)&&void 0!==t?t:D.sv,{data:S,isError:w,error:x}=(0,I.a)({queryKey:[te,b],queryFn:()=>(0,H.dX)("/api/navigation/".concat(b)),initialData:a,initialDataUpdatedAt:v?0:void 0,select:e=>null==e?void 0:e.items});(0,z.XY)(x,{queryKey:te});let E=e=>{if(!p.current)return;let{clientWidth:t}=p.current,r=e===D.VD.Left?-t:t;p.current.scrollBy({left:r,behavior:"smooth"})},T=()=>{if(!p.current)return;let{scrollLeft:e,scrollWidth:t,clientWidth:r}=p.current;s(e>0),u(e<t-r-1)};(0,i.useEffect)(()=>{if(!p.current)return;T();let e=p.current;return window.addEventListener("resize",T),e.addEventListener("scroll",T),()=>{e.removeEventListener("scroll",T),window.removeEventListener("resize",T)}},[p]),(0,i.useEffect)(()=>{let e=window.scrollY,t=()=>{h(window.scrollY>80&&window.scrollY>=e),e=window.scrollY};return window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[]);let k=(0,i.useMemo)(()=>{if(!S)return -1;let[e=""]=f.asPath.split("?");do{let t=S.findIndex(t=>tr(t)&&t.url===e);if(-1!==t)return t;e=e.substring(0,e.lastIndexOf("/"))}while(e);return -1},[f.asPath,S]),C=(0,i.useMemo)(()=>null!==(r=null==S?void 0:S.filter(e=>tr(e)))&&void 0!==r?r:[],[S]);if(w&&!(null==S?void 0:S.length))return null;let _=m&&!!g;return(0,n.tZ)(e7.n,{items:C,visible:!c,scrollableData:{canScrollLeft:o,canScrollRight:l,scrollContainerRef:p,scrollClickHandler:e=>E(e)},renderItem:(e,t)=>(0,n.tZ)(e7._,{as:O(),title:e.title,imageUrl:e.imageUrl,href:e.url,target:e.target,isActive:k===t,onClick:()=>{tn({...e,isActive:t===k})}}),..._&&{topPosition:g}})},ta=e=>{let{hamburgerMenu:t,topNavigation:r,shouldShowNavigation:i}=e;return(0,n.BX)(n.HY,{children:[(0,n.tZ)($.Z,{onError:()=>(0,n.tZ)(n.HY,{}),children:(0,n.tZ)(e9,{navigation:t})}),(0,n.BX)(ei,{children:[(0,n.tZ)($.Z,{onError:()=>(0,n.tZ)(eO,{}),children:(0,n.tZ)(eW,{shouldShowNavigation:i})}),i&&(0,n.tZ)($.Z,{onError:()=>(0,n.tZ)(n.HY,{}),children:(0,n.tZ)(ti,{navigation:r})})]})]})};let to=e=>e.replace(/([a-z])([A-Z0-9])/g,"$1-$2").replace(/([0-9])([A-Z])/g,"$1-$2").toLowerCase(),ts="\n          ";var tl=()=>{var e,t,r,i;let{designTokens:a}=(0,V._w)(),{colors:o,font:s,fontMd:l,gradients:u,opacities:c,button:d,footer:h,subscription:p,infiniteCollectionItem:f,headline:m,highlightedItem:g,tile:v,articleGrid:y,audioDashboard:b,radioShow:S,textFrame:w}=a;return(0,n.tZ)("style",{"data-testid":"cssVariables",children:"\n        :root {\n          ".concat(Object.entries(o).map(e=>{let[t,r]=e;
160return"--".concat(to(t),"-color: ").concat(r,";")}).join(ts),"\n          ").concat(Object.entries(c).map(e=>{let[t,r]=e;return"--".concat(to(t),": ").concat(r,";")}).join(ts),"\n          ").concat(Object.entries(u).map(e=>{let[t,r]=e;return"--".concat(to(t),": ").concat(r,";")}).join(ts),"\n          ").concat(Object.entries(d).flatMap(e=>{let[t,r]=e;return"socialMedia"===t&&"object"==typeof r?Object.entries(r).map(e=>{let[t,r]=e;return"--button-social-media-".concat(to(t),": ").concat(r,";")}):"string"==typeof r||"number"==typeof r?["--button-".concat(to(t),": ").concat(r,";")]:[]}).join(ts),"\n          ").concat(Object.entries(null!=h?h:{}).flatMap(e=>{let[t,r]=e;return"string"==typeof r?["--footer-".concat(to(t),"-color: ").concat(r,";")]:[]}).join(ts),"\n          ").concat(Object.entries(null!=p?p:{}).flatMap(e=>{let[t,r]=e;return"string"==typeof r?["--subscription-".concat(to(t),"-color: ").concat(r,";")]:[]}).join(ts),"\n          ").concat(Object.entries(null!=b?b:{}).map(e=>{let[t,r]=e;return"--audio-dashboard-".concat(to(t),": ").concat(r,";")}).join(ts),"\n          ").concat(Object.entries(null!=S?S:{}).map(e=>{let[t,r]=e;return"--radio-show-".concat(to(t),": ").concat(r,";")}).join(ts),"\n          ").concat(Object.entries(null!=f?f:{}).flatMap(e=>{let[t,r]=e;return"string"==typeof r?["--infinite-collection-item-".concat(to(t),": ").concat(r,";")]:[]}).join(ts),"\n          ").concat(Object.entries(null!=m?m:{}).map(e=>{let[t,r]=e;return"--headline-".concat(to(t),": ").concat(r,";")}).join(ts),"\n          ").concat(Object.entries(null!=w?w:{}).map(e=>{let[t,r]=e;return"--text-frame-".concat(to(t),": ").concat(r,";")}).join(ts),"\n          ").concat(Object.entries(null!=g?g:{}).map(e=>{let[t,r]=e;return"--highlighted-item-".concat(to(t),": ").concat(r,";")}).join(ts),"\n          ").concat(Object.entries(null!=v?v:{}).map(e=>{let[t,r]=e;return"--tile-".concat(to(t),": ").concat(r,";")}).join(ts),"\n          ").concat(Object.entries(y.gridColumns).map(e=>{let[t,r]=e;return"--article-grid-columns-".concat(to(t),": ").concat(String(r),";")}).join(ts)," \n          --font-header-1: ").concat(s.header1,";\n          --font-header-2: ").concat(s.header2,";\n          --font-header-3: ").concat(s.header3,";\n          --font-header-4: ").concat(s.header4,";\n          --font-header-5: ").concat(s.header5,";\n          --font-header-6: ").concat(s.header6,";\n          --font-header-7: ").concat(s.header7,";\n          --font-numeric-badge: ").concat(s.numericBadge,";\n          --font-tab: ").concat(s.tab,";\n          --font-tab-strong: ").concat(s.tabStrong,";\n          --font-category: ").concat(s.category,";\n          --font-body-extra-small: ").concat(s.bodyExtraSmall,";\n          --font-body-extra-small-strong: ").concat(s.bodyExtraSmallStrong,";\n          --font-body-small: ").concat(s.bodySmall,";\n          --font-body-small-strong: ").concat(null!==(e=s.bodySmallStrong)&&void 0!==e?e:"",";\n          --font-body-medium: ").concat(s.bodyMedium,";\n          --font-body-medium-strong: ").concat(s.bodyMediumStrong,";\n          --font-body-medium-italic: ").concat(s.bodyMediumItalic,";\n          --font-body-large: ").concat(s.bodyLarge,";\n          --font-body-large-strong: ").concat(s.bodyLargeStrong,";\n          --font-button-small: ").concat(s.buttonSmall,";\n          --font-button-medium: ").concat(s.buttonMedium,";\n          --font-button-large: ").concat(s.buttonLarge,";\n          --font-footer: ").concat(null!==(t=s.footer)&&void 0!==t?t:"",";\n          @media (min-width: 900px) {\n            --font-header-1: ").concat(l.header1,";\n            --font-header-2: ").concat(l.header2,";\n            --font-header-3: ").concat(l.header3,";\n            --font-header-4: ").concat(l.header4,";\n            --font-header-5: ").concat(l.header5,";\n            --font-header-6: ").concat(l.header6,";\n            --font-header-7: ").concat(l.header7,";\n            --font-numeric-badge: ").concat(l.numericBadge,";\n            --font-tab: ").concat(l.tab,";\n            --font-tab-strong: ").concat(l.tabStrong,";\n            --font-category: ").concat(l.category,";\n            --font-body-extra-small: ").concat(l.bodyExtraSmall,";\n            --font-body-extra-small-strong: ").concat(l.bodyExtraSmallStrong,";\n            --font-body-small: ").concat(l.bodySmall,";\n            --font-body-small-strong: ").concat(null!==(r=l.bodySmallStrong)&&void 0!==r?r:"",";\n            --font-body-medium: ").concat(l.bodyMedium,";\n            --font-body-medium-strong: ").concat(l.bodyMediumStrong,";\n            --font-body-medium-italic: ").concat(l.bodyMediumItalic,";\n            --font-body-large: ").concat(l.bodyLarge,";\n            --font-body-large-strong: ").concat(l.bodyLargeStrong,";\n            --font-button-small: ").concat(l.buttonSmall,";\n            --font-button-medium: ").concat(l.buttonMedium,";\n            --font-button-large: ").concat(l.buttonLarge,";\n            --font-footer: ").concat(null!==(i=l.footer)&&void 0!==i?i:"",";\n          }\n        }\n      ")})},tu=r(69792),tc=r(64571);let td="undefined"!=typeof document&&document.cookie.includes("__UPOD_DEBUG__=true"),th=!1,tp=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];(th||td)&&console.log("[upod]",...t)},tf=null,tm=async e=>{let{imageUrl:t,scriptUrl:r,otAdapterScriptUrl:n,debug:i,...a}=e;if(th=null!=i&&i,tf)return tf;if(window.upod||await Promise.all([(0,tc.Z)(r),(0,tc.Z)(n)]),!window.upod)throw Error("Upod client library loaded but window.upod is unavailable");if(!window.upodOneTrust)throw Error("Upod OneTrustAdapter loaded but window.upodOneTrust is unavailable");return tf=window.upod.initialize(a),tp("initialized",{widget:a.widget}),window.upodOneTrust.createOneTrustAdapter({client:tf,mode:["groups"],mapping:{cookiesAndSimilar:"C0002",measurement:["C0002","C0003","C0004"],advertising:"C0003",personalisedContent:"C0003",other:["C0002","C0003"],socialMedia:"C0004"},alwaysOn:["C0001"],combine:"and",onLogout:"keep"}),tp("onetrust adapter created"),tf},tg=e=>({...e,widget:"hidden",cache_ttl:0,post_logout_redirect_uri:location.origin+location.pathname,redirect_uri:e.redirect_uri.startsWith("https://")?e.redirect_uri:location.origin+e.redirect_uri}),tv=()=>!document.cookie.includes("OptanonAlertBoxClosed"),ty=e=>{let t=new URL(e);return t.origin===window.location.origin&&t.pathname===window.location.pathname};var tb=e=>{let[t,r]=(0,i.useState)(!0);return(0,i.useEffect)(()=>
160{if(tp("feature enabled:",!!e),!e)return;let t=null,n=()=>{t=()=>{var e;r(!1),null===(e=window.OneTrust)||void 0===e||e.LoadBanner(),t&&(window.eventBus.off("consentChange",t),t=null)},window.eventBus.on("consentChange",t,!0)},i=tg(e),a=null,o=null;return tm(i).then(async e=>{let t=ty(i.redirect_uri);if(t&&(tp("handle redirect uri"),await e.handleCallbackIfNeeded()),!(a=document.querySelector("upod-cookie-modal"))){n();return}let s=async()=>{var t;null===(t=a)||void 0===t||t.hide();let i=await e.getConsent();if(tp("getConsent:",i),!i){n();return}e.showWidget(),o=setTimeout(r,5e3,!1)};a.addEventListener("upod-cookie-modal-close",n),a.addEventListener("upod-cookie-modal-tertiary",n),e.onLogin(()=>{tp("onLogin: syncing authenticated consent"),s().catch(e=>{tp("syncAuthenticatedConsent failed:",e),n()})});let l=tv()&&!t;tp("shouldShowUpodPitch:",l);let u=await e.isAuthenticated();tp("isAuthenticated:",u),u?await s():l?a.show():t||r(!1)}).catch(e=>{tp("initializeUpodScript failed:",e),n()}),()=>{var e,r;null===(e=a)||void 0===e||e.removeEventListener("upod-cookie-modal-close",n),null===(r=a)||void 0===r||r.removeEventListener("upod-cookie-modal-tertiary",n),t&&window.eventBus.off("consentChange",t),o&&clearTimeout(o)}},[e]),{bannerBlocked:t}};let tS=()=>null,tw=()=>{let{variables:e}=(0,eZ.SS)(eZ.O5.UpodConsentOverlay),{bannerBlocked:t}=tb(null!=e?e:void 0);return e?(0,n.BX)(n.HY,{children:[t&&(0,n.tZ)(c(),{children:(0,n.tZ)("style",{id:"onetrust-banner-blocker",children:"#onetrust-consent-sdk{display:none!important}"})}),(0,n.tZ)("upod-cookie-modal",{id:"cookie-modal",language:e.language,logoSrc:e.imageUrl})]}):null};var tx=()=>(0,n.tZ)($.Z,{onError:()=>(0,n.tZ)(tS,{}),children:(0,n.tZ)(tw,{})});let tE={[D.eA.Shownieuws]:l()(()=>r.e(587).then(r.bind(r,50587)),{loadableGenerated:{webpack:()=>[50587]}}),[D.eA.VandaagInside]:l()(()=>r.e(587).then(r.bind(r,50587)),{loadableGenerated:{webpack:()=>[50587]}}),[D.eA.HartVanNederland]:l()(()=>r.e(587).then(r.bind(r,50587)),{loadableGenerated:{webpack:()=>[50587]}}),[D.eA.Radio538]:l()(()=>r.e(8871).then(r.bind(r,98871)),{loadableGenerated:{webpack:()=>[98871]}}),[D.eA.RadioNoordzee]:l()(()=>r.e(5160).then(r.bind(r,85160)),{loadableGenerated:{webpack:()=>[85160]}}),[D.eA.Kijk]:l()(()=>r.e(1480).then(r.bind(r,11480)),{loadableGenerated:{webpack:()=>[11480]}}),[D.eA.CorporateSite]:l()(()=>r.e(7259).then(r.bind(r,47259)),{loadableGenerated:{webpack:()=>[47259]}}),[D.eA.TalpaMedia]:l()(()=>r.e(137).then(r.bind(r,137)),{loadableGenerated:{webpack:()=>[137]}})};var tT=()=>{let{outletName:e}=(0,V._w)(),t=tE[e];return t?(0,n.tZ)(t,{}):null};r(93814),r(65216);var tk=r(96205),tC=r(61351),t_=r(21745);class tP{dispatch(e,t){var r;let n=this.publishedEventRegistry[e];this.publishedEventRegistry={...this.publishedEventRegistry,[e]:{...n,handlers:null!==(r=null==n?void 0:n.handlers)&&void 0!==r?r:[],name:e,data:t}},n&&n.handlers.forEach(e=>{e(t)}),this.publishedEventRegistry.all&&this.publishedEventRegistry.all.handlers.forEach(r=>{r({key:e,event:t})})}on(e,t){var r,n,i;let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=this.publishedEventRegistry[e];return(null==o?void 0:o.handlers.some(e=>e===t))?null!==(r=o.data)&&void 0!==r?r:null:(this.publishedEventRegistry={...this.publishedEventRegistry,[e]:{...o,name:e,handlers:[...null!==(n=null==o?void 0:o.handlers)&&void 0!==n?n:[],t]}},a&&(null==o?void 0:o.data)&&t(o.data),null!==(i=null==o?void 0:o.data)&&void 0!==i?i:null)}off(e,t){let r=this.publishedEventRegistry[e];r&&(r.handlers=r.handlers.filter(e=>e!==t))}constructor({que:e}){this.publishedEventRegistry={},this.initialized=!1,e&&(e.on.forEach(e=>{let[t,r,n=!1]=e;this.on(t,r,n)}),e.dispatch.forEach(e=>{let[t,r]=e;this.dispatch(t,r)})),this.initialized=!0}}var tA=r(82053),tN=r(66966),tI=r(24520);let tR=(e,t)=>window.eventBus.dispatch("smartBanner",{visible:e,height:t});async function tO(e){if(!e)return;let t=(await r.e(559).then(r.t.bind(r,559,23))).default,n=document.createElement("div");Object.assign(n.style,{position:"fixed",zIndex:tI.W.smartBanner,top:0,left:0,right:0,pointerEvents:"auto"}),document.body.appendChild(n);let i=document.documentElement;t.init({appToken:e,bannerParent:n,onCreated:()=>{let e=!!n.querySelector(".large");e&&(i.style.overflow="hidden",n.style.bottom="0"),tR(!0,e?0:n.offsetHeight)},onDismissed:()=>{i.style.overflow="",n.style.display="none",tR(!1)}})}let tL=async()=>{try{let e=await fetch("/api/client-info?t=".concat(String(Date.now()))),{clientIP:t}=await e.json();t&&(0,z.Z)({clientIP:t})}catch(e){(0,z.Nd)(Error("Failed to retrieve client IP"))}};var tD=r(28994),tM=r(28562),tZ=r(62071),tF=r(25675),tj=r.n(tF),tB=r(24390),tU=r(35027),t$=r(60513),tV=e=>{var t;let{video:r,richText:a}=e,o=(0,i.useRef)(null),[s,l]=(0,i.useState)(!1),u=()=>{let e=o.current;if(!e)return;let t=e.scrollHeight>e.clientHeight;l(!t||e.scrollTop+e.clientHeight>=e.scrollHeight-1)};return(0,i.useEffect)(()=>{requestAnimationFrame(u)},[r]),(0,n.BX)("div",{className:"relative flex flex-col h-full min-h-0 overflow-hidden",children:[(0,n.tZ)("div",{ref:o,onScroll:u,className:(0,W.cn)("scrollbar-neutral","[&::-webkit-scrollbar]:w-[7px]","[&::-webkit-scrollbar-button]:hidden [&::-webkit-scrollbar-button]:w-0 [&::-webkit-scrollbar-button]:h-0","[&::-webkit-scrollbar-thumb]:min-h-[150px] [&::-webkit-scrollbar-thumb]:rounded-[100px] [&::-webkit-scrollbar-thumb]:bg-neutral-30","[&::-webkit-scrollbar-track]:bg-transparent","flex-1","mx-4 md:mx-10 lg:mx-14","mt-6 md:mt-8","overflow-y-auto","text-neutral-80",a&&"checkmark-lists",a&&"[&_.rich-text-wrapper_p]:text-neutral-80 [&_.rich-text-wrapper_li]:text-neutral-80"),children:a?(0,n.tZ)(t$.Z,{richText:a.content,layout:a.layout}):(0,n.BX)(n.HY,{children:[(0,n.tZ)("h3",{className:"font-header-3 text-neutral-80",children:null==r?void 0:r.title}),(0,n.tZ)("p",{className:"font-body-medium text-neutral-80",children:null==r?void 0:r.description}),(0,n.BX)("h5",{className:"font-header-5 text-neutral-80",children:["€",null==r?void 0:null===(t=r.price)||void 0===t?void 0:t.toFixed(2)]})]})}),!s&&(0,n.tZ)("div",{className:(0,W.cn)("pointer-events-none","z-10","absolute bottom-0 left-0 right-0 h-[40px]","bg-[linear-gradient(180deg,rgba(255,255,255,0)_0%,#FFF_100%)]")})]})};let{publicRuntimeConfig:{imageDomain:tz}}=o()(),tH=()=>{window.eventBus.dispatch("openPreBuyModal",{open:!1})},tG=e=>{let{src:t,width:r}=e,{isMobile:n}=eZ.default,i=["f_webp","h_".concat(n?"260":"317"),n?"ar_16:9":"w_".concat(String(Math.min(r,1038))),"c_fill","g_faces:auto","dpr_2.0"];return"".concat(tz,"/").concat(i.join(","),"/").concat(t)},tq=(0,eJ.j)("w-full md:w-[260px]",{variants:{variant:{primary:"bg-primary-100 text-neutral-0",secondary:"border-2 border-primary-100 text-primary-100 hover:text-neutral-0"}},defaultVariants:{variant:"primary"}});var tK=e=>{var t;let{onClose:r,video:a,richTextContent:o,customImageFileUrl:s,isLoading:l,isPurchaseRedirect:u,isLoggedIn:c,isEntitled:h,isTransactionalVideoLoading:f}=e,m=(0,d.useRouter)(),g=(0,i.useRef)(!1),v=null!=s?s:null==a?void 0:a.thumbnailUrl,y=(0,i.useCallback)(e=>{var t;if(!(null==a?void 0:a.seriesSlug))return;e&&p().link({event_name:M.SP.POPUP_CLICK,event_category:M.$1.POPUP,event_label:e});let r="".concat(D._1.PROGRAMMAS,"/").concat(a.seriesSlug,"/").concat(a.mediaId,"/").concat(a.type.toLowerCase());if(h){tH(),m.push(r);return}(0,tU.SJ)(a.mediaId,null!==(t=a.offerId)&&void 0!==t?t:"","".concat((0,V.ZP)().origin).concat(r))},[a,h,m]);return(0,i.useEffect)(()=>
160{if(h&&u){let e=new URL(window.location.href);e.pathname=e.pathname.replace(/\/koop\/?$/,""),window.history.replaceState({},"","".concat(e.pathname).concat(e.search).concat(e.hash)),tH();return}u&&a&&!f&&(g.current||(g.current=!0,y()))},[h,u,a,f,y]),(0,n.BX)(n.HY,{children:[(0,n.BX)("div",{className:(0,W.cn)("relative overflow-hidden flex-shrink-0","aspect-[16/9] md:aspect-[21/9]","md:rounded-tl-3xl md:rounded-tr-3xl","h-[260px] md:h-[317px] xl:h-[280px] w-full","bg-neutral-10"),children:[!l&&v&&(0,n.tZ)(tj(),{loader:tG,src:v,fill:!0,priority:!0,alt:null!==(t=null==a?void 0:a.title)&&void 0!==t?t:"",className:"object-cover object-top",sizes:"(max-width: 768px) 100vw, (max-width: 1280px) 740px, 800px"}),(0,n.tZ)(tB.hU,{icon:D.LM.Cross,size:eU.qE.Medium,variant:eU.$e.Primary,onClick:r,className:(0,W.cn)("absolute right-4 top-4 z-10","h-10 w-10 rounded-[26px] bg-neutral-0"),svgClassName:"md:w-5 md:h-5"})]}),!l&&(a||o)?(0,n.tZ)("div",{className:"flex-1 min-h-0 flex flex-col overflow-hidden",children:(0,n.tZ)(tV,{video:a,richText:o})}):(0,n.BX)("div",{className:(0,W.cn)("flex-1 min-h-0 w-full","px-4 md:px-10 lg:px-14","mt-6 md:mt-8 mb-6","flex flex-col justify-start"),children:[(0,n.tZ)(ew.Z,{variant:"header-3",width:"three-quarters",className:"mt-1 before:bg-neutral-10"}),(0,n.tZ)(ew.Z,{variant:"header-7",width:"quarter",className:"mt-2 before:bg-neutral-10"})]}),(0,n.BX)("div",{className:(0,W.cn)("flex justify-center gap-4 mx-4 md:mx-10 lg:mx-14 mb-6 mt-6","flex-col md:flex-row"),children:[(0,n.tZ)(eU.ZP,{size:eU.qE.Large,className:tq({variant:"primary"}),startIcon:u||!a?D.LM.Spinner:void 0,variant:eU.$e.Secondary,onClick:()=>{!u&&a&&y(M.KX.PVX_BUY_NOW)},children:!u&&D.HM.Buy}),!c&&a&&!f&&(0,n.tZ)(eU.ZP,{size:eU.qE.Large,variant:eU.$e.Outline,className:tq({variant:"secondary"}),onClick:()=>y(M.KX.PVX_ALREADY_BOUGHT),children:D.HM.AlreadyBought})]})]})},tW=e=>{var t;let{isOpen:r,onClose:a,mediaId:o,isPurchaseRedirect:s}=e,{video:l,isEntitled:u,isLoading:c}=(0,tM.Z)({mediaId:o}),{isLoggedIn:d}=(0,tZ.aF)(),{contentApiEndpoint:h}=(0,V._w)(),p=null==l?void 0:l.offerRichTextId,f=["rich-text",p],{data:m,isLoading:g,error:v}=(0,I.a)({queryKey:f,queryFn:()=>(0,H.j0)("".concat(h,"/rich-text/").concat(String(p))),enabled:!!p,select:e=>{if(!e)return{};let t=e.content.content,r=t.findIndex(e=>e.nodeType===tD.oQ.ImageEmbed);if(-1===r)return{richText:e};let n=t[r],i={...e,content:{...e.content,content:t.toSpliced(r,1)}};return{richText:i,customImage:n}}});return((0,z.XY)(v,{queryKey:f.join(",")}),(0,i.useEffect)(()=>{let e=e=>{let t=e?"hidden":"";document.documentElement.style.overflow=t,document.body.style.overflow=t},t=e=>{"Escape"===e.key&&a()};return e(r),r&&document.addEventListener("keydown",t),()=>{e(!1),document.removeEventListener("keydown",t)}},[r,a]),r)?(0,n.BX)(n.HY,{children:[(0,n.tZ)("div",{className:(0,W.cn)("fixed inset-0 z-modal","bg-(--opacity-02)"),onClick:a,role:"button",tabIndex:0,"aria-label":"Close modal","aria-hidden":"true"}),(0,n.tZ)("div",{className:(0,W.cn)("z-modal fixed inset-0 flex flex-col overflow-hidden md:inset-auto","md:left-1/2 md:-translate-x-1/2 md:top-1/2 md:-translate-y-1/2","w-full md:w-[calc(100vw-160px)] xl:w-[1038px]","max-h-full md:max-h-[80%]","bg-neutral-0 shadow-2xl md:rounded-3xl"),children:(0,n.tZ)(tK,{onClose:a,video:l,customImageFileUrl:null==m?void 0:null===(t=m.customImage)||void 0===t?void 0:t.data.fileUrl,isLoading:g&&!!p,richTextContent:null==m?void 0:m.richText,isPurchaseRedirect:s,isLoggedIn:d,isEntitled:u,isTransactionalVideoLoading:c})})]}):null},tX=()=>{let[e,t]=(0,i.useState)(!1),[r,a]=(0,i.useState)(!1),[o,s]=(0,i.useState)(null),l=(0,d.useRouter)();return(0,i.useEffect)(()=>{let e=e=>{a(e.open),e.open||t(!1),e.mediaId&&s(e.mediaId)},[r,n,i]=location.pathname.split("/").reverse();return"koop"===r&&i&&(t(!0),e({open:!0,mediaId:i})),window.eventBus.on("openPreBuyModal",e),()=>window.eventBus.off("openPreBuyModal",e)},[]),i.useEffect(()=>{if(!e)return;let r=e=>{e.persisted&&(t(!1),l.push(l.asPath.replace("/koop","")))};return window.addEventListener("pageshow",r),()=>{window.removeEventListener("pageshow",r)}},[e,l]),(0,n.tZ)(n.HY,{children:o&&(0,n.tZ)(tW,{isPurchaseRedirect:e,isOpen:r,mediaId:o,onClose:()=>{p().link({event_category:M.$1.POPUP,event_name:M.SP.POPUP_CLICK,event_label:M.KX.PVX_CLOSE_MODAL}),window.eventBus.dispatch("openPreBuyModal",{open:!1})}})})},tY=e=>{let{children:t}=e,r=(0,er.w)();return(0,n.tZ)("div",{className:(0,W.cn)("fixed left-1/2 z-modal w-[calc(100%-2rem)] max-w-122 -translate-x-1/2","bottom-4 sm:bottom-auto","flex flex-col gap-2","transition-[top] duration-300 ease-out",r?"sm:top-48":"sm:top-36"),children:t})};let tJ=!1,tQ=e=>{let{name:t}=e;return!!(null==t?void 0:t.includes("_undefined"))},t0=(e,t)=>"".concat(e,"=").concat(null!=t?t:""),t1=e=>{let t=e.split(".");if(t.length<2)return e;let r=".".concat(t.slice(-2).join("."));return r},t2=l()(()=>r.e(5068).then(r.bind(r,15068)),{loadableGenerated:{webpack:()=>[15068]}}),t3=l()(()=>r.e(9052).then(r.bind(r,19052)),{loadableGenerated:{webpack:()=>[19052]}}),t4=l()(()=>r.e(514).then(r.bind(r,60514)),{loadableGenerated:{webpack:()=>[60514]}}),t5=l()(()=>r.e(2186).then(r.bind(r,22186)),{loadableGenerated:{webpack:()=>[22186]},ssr:!1}),t6=l()(()=>Promise.all([r.e(8735),r.e(5289)]).then(r.bind(r,5289)),{loadableGenerated:{webpack:()=>[5289]}}),t8=l()(()=>r.e(3219).then(r.bind(r,43219)).then(e=>e.ReactQueryDevtools),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),{publicRuntimeConfig:t9}=o()();function t7(e){let{Component:t,pageProps:r,hamburgerMenu:a,topNavigation:o,footer:s,initialCategories:l,initialStation:u,initialInApp:h,emotionCache:f}=e,m=(0,d.useRouter)(),g=m.asPath,[v]=(0,i.useState)(h),[y]=(0,i.useState)(u),{outletName:S,env:w,mfeName:x,tealium:E,appId:T,hostFile:k,designTokens:C,mainStationSlug:_}=(0,V._w)(),[P,I,R]=(0,eZ.SS)(eZ.O5.AppSmartBanner,eZ.O5.PvxPromotion,eZ.O5.OperationalMe
160ssage),O=null==P?void 0:P.variables,L=null==I?void 0:I.variables,M=null==R?void 0:R.variables,Z=m.pathname===D._1.HOME_PAGE,F=m.pathname.startsWith(D._1.STATIONS),j=m.pathname.startsWith(D._1.POPOUT),B=!v&&!j,U=!j;return(0,i.useEffect)(()=>{(null==O?void 0:O.appToken)&&!v&&!j&&tO(O.appToken)},[O,v,j]),(0,i.useEffect)(()=>{window.location.href.includes("gdprBypass=true")&&function e(){if(void 0===window.OneTrust){setTimeout(e,50);return}try{window.OneTrust.AllowAll()}catch(t){setTimeout(e,50)}}(),window.eventBus.initialized||(window.eventBus=new tP(window.eventBus)),void 0===window.utag&&(p().setup({account:"talpa",profile:E.profile,environment:E.environment,defaultLayer:{app_name:"webx platform",app_version:t9.version}}),(0,z.Z)({app_version:t9.version}),(0,tC.Z)().then(e=>{p().setDataLayer({adblock:e})})),eZ.default.isEnabled(eZ.O5.NrClientIp)&&tL(),eZ.default.isEnabled(eZ.O5.ClearMalformedCookies)&&function(){let e;if(tJ||!("cookieStore"in window))return;tJ=!0;let t=new Set,r=new Set,n=()=>{e=void 0,(t.size||r.size)&&((0,z.$V)("Malformed cookies removed",{removed_count:t.size,removed_cookies:Array.from(t).join("; ").slice(0,4096),not_removed_count:r.size,not_removed_cookies:Array.from(r).join("; ").slice(0,4096)}),t.clear(),r.clear())},i=(i,a,o)=>{let s="removed"===o?t:r;s.add(t0(i,a)),e&&clearTimeout(e),e=setTimeout(n,5e3)},a=async e=>{try{let t=e.filter(e=>!!e.name&&tQ(e));if(!t.length)return;await Promise.all(t.map(async e=>{let{name:t,value:r}=e;document.cookie="".concat(t,"=").concat(null!=r?r:"","; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT;");let n=t1(window.location.hostname);document.cookie="".concat(t,"=").concat(null!=r?r:"","; domain=").concat(n,"; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT;");let a=await window.cookieStore.get({name:t});i(t,r,null===a?"removed":"not_removed")}))}catch(e){(0,z.Nd)(e,{context:"Malformed cookie cleanup failed"})}};window.cookieStore.addEventListener("change",e=>{a(e.changed)}),window.cookieStore.getAll().then(a)}()},[E]),(0,i.useEffect)(()=>{l&&((0,tA.OL)(l.map(e=>{let{slug:t}=e;return t})),window.eventBus.dispatch("mainCategories",{categories:l}))},[l]),(0,i.useEffect)(()=>{window.eventBus.dispatch("hamburgerMenu",{isOpen:!1})},[g]),(0,i.useEffect)(()=>{let e=()=>{if("#consent"===window.location.hash){var e;null===(e=window.OneTrust)||void 0===e||e.ToggleInfoDisplay(),window.history.replaceState(null,""," ")}};return e(),m.events.on("hashChangeComplete",e),()=>{m.events.off("hashChangeComplete",e)}},[m.events]),(0,i.useEffect)(()=>{eZ.default.reset(g)},[g]),(0,i.useEffect)(()=>{(0,z.Z)({userAgent:window.navigator.userAgent}),"serviceWorker"in navigator&&navigator.serviceWorker.register("/service-worker.js",{scope:"/"}).catch(e=>{(0,z.Nd)(Error("Service Worker registration failed."),{error_details:String(e)})})},[]),(0,n.tZ)(b,{emotionCache:f,children:(0,n.tZ)(N.aH,{client:eF.Eh,children:(0,n.BX)(tk.ZP,{designTokens:C,children:[(0,n.tZ)(tl,{}),(0,n.BX)(c(),{children:[(0,n.tZ)("title",{children:S}),(0,n.tZ)("meta",{name:"viewport",content:"initial-scale=1, width=device-width"}),!!T&&(0,n.tZ)("meta",{property:"fb:app_id",content:String(T)}),(0,n.tZ)("meta",{property:"og:locale",content:"nl_NL"}),(0,n.tZ)("meta",{property:"og:site_name",content:S}),(0,n.tZ)("meta",{property:"og:logo",content:"/icons/".concat(k,"/apple-icon-144x144.png")}),g.startsWith(D._1.ACCOUNT)&&(0,n.tZ)("meta",{name:"robots",content:"noindex"})]}),(0,n.tZ)(A,{}),(0,n.tZ)(tT,{}),(0,n.tZ)(tk.nz,{shouldShowNavigation:B,hasTopBar:U}),(null==L?void 0:L.showTicker)&&(0,n.tZ)(i.Suspense,{fallback:(0,n.tZ)(n.HY,{}),children:(0,n.tZ)(t3,{tickerText:L.tickerText,mediaId:L.mediaId,showTicker:L.showTicker,resetAt:L.resetAt})}),U&&(0,n.tZ)(i.Suspense,{fallback:(0,n.tZ)(n.HY,{}),children:(0,n.tZ)(ta,{topNavigation:o,hamburgerMenu:a,shouldShowNavigation:B})}),(0,n.tZ)($.Z,{onError:()=>(0,n.tZ)(eu.Z,{}),children:(0,n.tZ)(tu.Z,{children:(0,n.tZ)(t,{...r,mainStation:y})})}),B&&(0,n.tZ)(i.Suspense,{fallback:(0,n.tZ)(n.HY,{}),children:(0,n.tZ)($.Z,{onError:()=>(0,n.tZ)(n.HY,{}),children:(0,n.tZ)(eM,{})})}),B&&(0,n.tZ)(i.Suspense,{fallback:(0,n.tZ)(n.HY,{}),children:(0,n.tZ)(Q,{footer:s})}),("dev"===w||"test"===w)&&(0,n.tZ)(t8,{initialIsOpen:!1,toggleButtonProps:{style:{marginBottom:_?114:16,marginLeft:16}}}),("prod"!==w||"canary"===x)&&(0,n.tZ)(t5,{isAudioPlayerEnabled:!!_}),B&&!!y&&(0,n.tZ)(t6,{isOnHomePage:Z,isOnStationPage:F,mainStation:y}),(0,n.tZ)(tX,{}),(0,n.BX)(tY,{children:[M&&(0,n.tZ)(t4,{message:M.message}),S===D.eA.Kijk&&(0,n.tZ)(t2,{})]}),(0,n.tZ)(tx,{})]})})})}t7.getInitialProps=async e=>{var t;let{Component:r,ctx:n}=e,i=!!n.req,a=(null===(t=n.query)||void 0===t?void 0:t.inApp)==="true",o=n.pathname.startsWith(D._1.POPOUT);if(!r.getInitialProps)return{pageProps:{},initialInApp:a};if(!i)return{pageProps:await r.getInitialProps(n)};
160let{cookies:s}=n.req,l=i?{...n,dynamoDBUtils:t_.Z}:n,u=(0,tN.Z)()?void 0:null==s?void 0:s.outlet,c=(0,tN.Z)()?void 0:null==s?void 0:s[D.mr],d=(0,V.ZP)(u,c);await eZ.default.fetchFeatures(d.featureFile);let h=await r.getInitialProps(l);if(a||o)return{pageProps:h,initialInApp:a};let p=e=>(console.error(e),null),[f,m,g,v,y]=await Promise.all([t_.Z.getItemBySlug(D.aW.navigation,"hamburger-menu").catch(p),t_.Z.getItemBySlug(D.aW.navigation,D.sv).catch(p),t_.Z.getItemBySlug(D.aW.navigation,"footer").catch(p),t_.Z.getMainCategories().catch(p),d.mainStationSlug?t_.Z.getItemBySlug(D.aW.audio,d.mainStationSlug).catch(p):null]);return{pageProps:h,hamburgerMenu:f,topNavigation:m,footer:g,initialCategories:v,initialStation:y,initialInApp:!1}}},96205:function(e,t,r){"use strict";r.d(t,{nz:function(){return G},AV:function(){return H},ZP:function(){return q}});var n=r(35944),i=r(67294),a=r.t(i,2),o=r(66294),s=r(79627);let l=i.createContext(null);function u(){let e=i.useContext(l);return e}let c="function"==typeof Symbol&&Symbol.for;var d=c?Symbol.for("mui.nested"):"__THEME_NESTED__",h=r(85893),p=function(e){let{children:t,theme:r}=e,n=u(),a=i.useMemo(()=>{let e=null===n?{...r}:function(e,t){if("function"==typeof t){let r=t(e);return r}return{...e,...t}}(n,r);return null!=e&&(e[d]=null!==n),e},[r,n]);return(0,h.jsx)(l.Provider,{value:a,children:t})},f=r(87685),m=r(36073),g=r(82056),v=r(32842),y=r(73546);let b=0,S={...a},w=S.useId;var x=r(25723);let E={};function T(e,t,r,n=!1){return i.useMemo(()=>{let i=e&&t[e]||t;if("function"==typeof r){let a=r(i),o=e?{...t,[e]:a}:a;return n?()=>o:o}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,n])}var k=function(e){let{children:t,theme:r,themeId:n}=e,a=(0,m.Z)(E),o=u()||E,s=T(n,a,r),l=T(n,o,r,!0),c="rtl"===(n?s[n]:s).direction,d=function(e){let t=(0,m.Z)(),r=function(e){if(void 0!==w){let t=w();return e??t}return function(e){let[t,r]=i.useState(e),n=e||t;return i.useEffect(()=>{null==t&&r(`mui-${b+=1}`)},[t]),n}(e)}()||"",{modularCssLayers:n}=e,a="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return(a=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,a):`@layer ${a};`:"",(0,y.Z)(()=>{let e=document.querySelector("head");if(!e)return;let t=e.firstChild;if(a){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;let n=document.createElement("style");n.setAttribute("data-mui-layer-order",r),n.textContent=a,e.prepend(n)}else e.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[a,r]),a)?(0,h.jsx)(x.Z,{styles:a}):null}(s);return(0,h.jsx)(p,{theme:l,children:(0,h.jsx)(f.T.Provider,{value:s,children:(0,h.jsx)(g.Z,{value:c,children:(0,h.jsxs)(v.Z,{value:n?s[n].components:s.components,children:[d,t]})})})})},C=r(10606);function _({theme:e,...t}){let r=C.Z in e?e[C.Z]:void 0;return(0,h.jsx)(k,{...t,themeId:r?C.Z:void 0,theme:r||e})}var P=r(86523),A=r(41234);let N="mode",I="color-scheme";function R(){}var O=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(r){let n;if("undefined"!=typeof window){if(!t)return r;try{n=t.localStorage.getItem(e)}catch{}return n||r}},set:r=>{if(t)try{t.localStorage.setItem(e,r)}catch{}},subscribe:r=>{if(!t)return R;let n=t=>{let n=t.newValue;t.key===e&&r(n)};return t.addEventListener("storage",n),()=>{t.removeEventListener("storage",n)}}});function L(){}function D(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e){let e=window.matchMedia("(prefers-color-scheme: dark)");return e.matches?"dark":"light"}}function M(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}var Z=r(71445);let{CssVarsProvider:F,useColorScheme:j,getInitColorSchemeScript:B}=function(e){let{themeId:t,theme:r={},modeStorageKey:n=N,colorSchemeStorageKey:a=I,disableTransitionOnChange:o=!1,defaultColorScheme:s,resolveTheme:l}=e,c={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},d=i.createContext(void 0),p={},f={},m="string"==typeof s?s:s.light,g="string"==typeof s?s:s.dark;
160return{CssVarsProvider:function(e){let{children:c,theme:m,modeStorageKey:g=n,colorSchemeStorageKey:v=a,disableTransitionOnChange:b=o,storageManager:S,storageWindow:w="undefined"==typeof window?void 0:window,documentNode:x="undefined"==typeof document?void 0:document,colorSchemeNode:E="undefined"==typeof document?void 0:document.documentElement,disableNestedContext:T=!1,disableStyleSheetGeneration:C=!1,defaultMode:_="system",noSsr:P}=e,R=i.useRef(!1),Z=u(),F=i.useContext(d),j=!!F&&!T,B=i.useMemo(()=>m||("function"==typeof r?r():r),[m]),U=B[t],$=U||B,{colorSchemes:V=p,components:z=f,cssVarPrefix:H}=$,G=Object.keys(V).filter(e=>!!V[e]).join(","),q=i.useMemo(()=>G.split(","),[G]),K="string"==typeof s?s:s.light,W="string"==typeof s?s:s.dark,X=V[K]&&V[W]?_:V[$.defaultColorScheme]?.palette?.mode||$.palette?.mode,{mode:Y,setMode:J,systemMode:Q,lightColorScheme:ee,darkColorScheme:et,colorScheme:er,setColorScheme:en}=function(e){let{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:a=[],modeStorageKey:o=N,colorSchemeStorageKey:s=I,storageWindow:l="undefined"==typeof window?void 0:window,storageManager:u=O,noSsr:c=!1}=e,d=a.join(","),h=a.length>1,p=i.useMemo(()=>u?.({key:o,storageWindow:l}),[u,o,l]),f=i.useMemo(()=>u?.({key:`${s}-light`,storageWindow:l}),[u,s,l]),m=i.useMemo(()=>u?.({key:`${s}-dark`,storageWindow:l}),[u,s,l]),[g,v]=i.useState(()=>{let e=p?.get(t)||t,i=f?.get(r)||r,a=m?.get(n)||n;return{mode:e,systemMode:D(e),lightColorScheme:i,darkColorScheme:a}}),[y,b]=i.useState(c||!h);i.useEffect(()=>{b(!0)},[]);let S=M(g,e=>"light"===e?g.lightColorScheme:"dark"===e?g.darkColorScheme:void 0),w=i.useCallback(e=>{v(r=>{if(e===r.mode)return r;let n=e??t;return p?.set(n),{...r,mode:n,systemMode:D(n)}})},[p,t]),x=i.useCallback(e=>{e?"string"==typeof e?e&&!d.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):v(t=>{let r={...t};return M(t,t=>{"light"===t&&(f?.set(e),r.lightColorScheme=e),"dark"===t&&(m?.set(e),r.darkColorScheme=e)}),r}):v(t=>{let i={...t},a=null===e.light?r:e.light,o=null===e.dark?n:e.dark;return a&&(d.includes(a)?(i.lightColorScheme=a,f?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o&&(d.includes(o)?(i.darkColorScheme=o,m?.set(o)):console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)),i}):v(e=>(f?.set(r),m?.set(n),{...e,lightColorScheme:r,darkColorScheme:n}))},[d,f,m,r,n]),E=i.useCallback(e=>{"system"===g.mode&&v(t=>{let r=e?.matches?"dark":"light";return t.systemMode===r?t:{...t,systemMode:r}})},[g.mode]),T=i.useRef(E);return T.current=E,i.useEffect(()=>{if("function"!=typeof window.matchMedia||!h)return;let e=(...e)=>T.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[h]),i.useEffect(()=>{if(h){let e=p?.subscribe(e=>{(!e||["light","dark","system"].includes(e))&&w(e||t)})||L,r=f?.subscribe(e=>{(!e||d.match(e))&&x({light:e})})||L,n=m?.subscribe(e=>{(!e||d.match(e))&&x({dark:e})})||L;return()=>{e(),r(),n()}}},[x,w,d,t,l,h,p,f,m]),{...g,mode:y?g.mode:void 0,systemMode:y?g.systemMode:void 0,colorScheme:y?S:void 0,setMode:w,setColorScheme:x}}({supportedColorSchemes:q,defaultLightColorScheme:K,defaultDarkColorScheme:W,modeStorageKey:g,colorSchemeStorageKey:v,defaultMode:X,storageManager:S,storageWindow:w,noSsr:P}),ei=Y,ea=er;j&&(ei=F.mode,ea=F.colorScheme);let eo=i.useMemo(()=>{let e=ea||$.defaultColorScheme,t=$.generateThemeVars?.()||$.vars,r={...$,components:z,colorSchemes:V,cssVarPrefix:H,vars:t};if("function"==typeof r.generateSpacing&&(r.spacing=r.generateSpacing()),e){let t=V[e];t&&"object"==typeof t&&Object.keys(t).forEach(e=>{t[e]&&"object"==typeof t[e]?r[e]={...r[e],...t[e]}:r[e]=t[e]})}return l?l(r):r},[$,ea,z,V,H]),es=$.colorSchemeSelector;(0,y.Z)(()=>{if(ea&&E&&es&&"media"!==es){let e=es;if("class"===es&&(e=".%s"),"data"===es&&(e="[data-%s]"),es?.startsWith("data-")&&!es.includes("%s")&&(e=`[${es}="%s"]`),e.startsWith("."))E.classList.remove(...q.map(t=>e.substring(1).replace("%s",t))),E.classList.add(e.substring(1).replace("%s",ea));else{let t=e.replace("%s",ea).match(/\[([^\]]+)\]/);if(t){let[e,r]=t[1].split("=");r||q.forEach(t=>{E.removeAttribute(e.replace(ea,t))}),E.setAttribute(e,r?r.replace(/"|'/g,""):"")}else E.setAttribute(e,ea)}}},[ea,es,E,q]),i.useEffect(()=>{let e;if(b&&R.current&&x){let t=x.createElement("style");t.appendChild(x.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),x.head.appendChild(t),window.getComputedStyle(x.body),e=setTimeout(()=>{x.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[ea,b,x]),i.useEffect(()=>(R.current=!0,()=>{R.current=!1}),[]);let el=i.useMemo(()=>({allColorSchemes:q,colorScheme:ea,darkColorScheme:et,lightColorScheme:ee,mode:ei,setColorScheme:en,setMode:J,systemMode:Q}),[q,ea,et,ee,ei,en,J,Q,eo.colorSchemeSelector]),eu=!0;(C||!1===$.cssVariables||j&&Z?.cssVarPrefix===H)&&(eu=!1);let ec=(0,h.jsxs)(i.Fragment,{children:[(0,h.jsx)(k,{themeId:U?t:void 0,theme:eo,children:c}),eu&&(0,h.jsx)(A.Z,{styles:eo.generateStyleSheets?.()||[]})]});return j?ec:(0,h.jsx)(d.Provider,{value:el,children:ec})},useColorScheme:()=>i.useContext(d)||c,getInitColorSchemeScript:e=>(function(e){let{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDar
160kColorScheme:n="dark",modeStorageKey:i=N,colorSchemeStorageKey:a=I,attribute:o="data-color-scheme",colorSchemeNode:s="document.documentElement",nonce:l}=e||{},u="",c=o;if("class"===o&&(c=".%s"),"data"===o&&(c="[data-%s]"),c.startsWith(".")){let e=c.substring(1);u+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
161      ${s}.classList.add('${e}'.replace('%s', colorScheme));`}let d=c.match(/\[([^\]]+)\]/);if(d){let[e,t]=d[1].split("=");t||(u+=`${s}.removeAttribute('${e}'.replace('%s', light));
162      ${s}.removeAttribute('${e}'.replace('%s', dark));`),u+=`
163      ${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else u+=`${s}.setAttribute('${c}', colorScheme);`;return(0,h.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() {
164try {
165  let colorScheme = '';
166  const mode = localStorage.getItem('${i}') || '${t}';
167  const dark = localStorage.getItem('${a}-dark') || '${n}';
168  const light = localStorage.getItem('${a}-light') || '${r}';
169  if (mode === 'system') {
170    // handle system mode
171    const mql = window.matchMedia('(prefers-color-scheme: dark)');
172    if (mql.matches) {
173      colorScheme = dark
174    } else {
175      colorScheme = light
176    }
177  }
178  if (mode === 'light') {
179    colorScheme = light;
180  }
181  if (mode === 'dark') {
182    colorScheme = dark;
183  }
184  if (colorScheme) {
185    ${u}
186  }
187} catch(e){}})();`}},"mui-color-scheme-init")})({colorSchemeStorageKey:a,defaultLightColorScheme:m,defaultDarkColorScheme:g,modeStorageKey:n,...e})}}({themeId:C.Z,theme:()=>(0,s.Z)({cssVariables:!0}),colorSchemeStorageKey:"mui-color-scheme",modeStorageKey:"mui-mode",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{let t={...e,typography:(0,Z.Z)(e.palette,e.typography)};return t.unstable_sx=function(e){return(0,P.Z)({sx:e,theme:this})},t}});function U({theme:e,...t}){let r=i.useMemo(()=>{if("function"==typeof e)return e;let t=C.Z in e?e[C.Z]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return r?(0,h.jsx)(_,{theme:r,...t}):(0,h.jsx)(F,{theme:e,...t})}var $=r(15386),V=r(17967),z=r(28155);let H={xs:0,sm:600,md:900,lg:1200,xl:1440},G=e=>{let{shouldShowNavigation:t,hasTopBar:r}=e,{smartBannerVisible:i,smartBannerHeight:a}=(0,V.X)(),s=(0,z.w)();return(0,n.tZ)(o.Z,{styles:e=>({body:{"h1,h2,h3,h4,h5,h6,h7":{color:$.O9.headerText},p:{color:$.O9.text},...s&&{".jwplayer.custom-floating:not(.jw-flag-pip)":{[e.breakpoints.down("sm")]:{top:96}}},paddingTop:r?56:0,...i&&a?{paddingTop:112+a,[e.breakpoints.up("md")]:{paddingTop:120+a},".jwplayer.custom-floating:not(.jw-flag-pip)":{top:56+a}}:t&&{paddingTop:112,[e.breakpoints.up("md")]:{paddingTop:120}}}})})};var q=e=>{var t,r;let{children:a,designTokens:o}=e,l=(0,i.useMemo)(()=>(0,s.Z)({breakpoints:{values:H},spacing:4,palette:{primary:{main:null!==(t=null==o?void 0:o.colors.primary100)&&void 0!==t?t:"#000",contrastText:null!==(r=null==o?void 0:o.colors.neutral0)&&void 0!==r?r:"#FFF"}}}),[o]);return(0,n.tZ)(U,{theme:l,children:a})}},38967:function(e,t,r){"use strict";var n,i;r.d(t,{j:function(){return n}}),(i=n||(n={})).Landscape="editorial_landscape",i.Portrait="editorial_portrait"},94405:function(e,t,r){"use strict";r.d(t,{xM:function(){return W},kv:function(){return K},zn:function(){return V},aA:function(){return U},NR:function(){return H},x_:function(){return q}});var n=r(82729),i=r(11752),a=r.n(i),o=r(57783),s=r(84183),l=r(62938),u=r(36837),c=r(21953);r(21745);var d=r(47488),h=r(89117),p=r(49315),f=r(12592),m=r(54487),g=r(55296),v=r(97397),y=r(6603),b=r(58210),S=r(25196);class w{constructor(e){var t,r,n;this.type=c.$E.Show,this.thumbnailUrl="";let i=new v.N9(new Date,b.aB),a=new v.N9(new Date(e.broadcastStartDate),b.aB),o=new v.N9(new Date(e.broadcastEndDate),b.aB);if(this.id=e.id,this.slug=e.show.slug,this.title=e.show.title,this.startTime=(0,h.ZP)(a,"HH:mm",{locale:y.nl}),this.broadcastDate=new Date(e.broadcastStartDate),this.endTime=(0,h.ZP)(o,"HH:mm",{locale:y.nl}),this.showTime="".concat(this.startTime," - ").concat(this.endTime),this.dayShort=(0,S.Z)((0,h.ZP)(a,"EEEEEE",{locale:y.nl})),this.day=(0,S.Z)((0,h.ZP)(a,"EEEEEE d '".concat(null!==(t=b.L0[a.getMonth()])&&void 0!==t?t:"","'"),{locale:y.nl})),(0,m.Z)(a)?this.day=b.c3:(0,g.Z)(a)&&(this.day=b.oL),this.isLive=(0,p.Z)(i,a)&&(0,f.Z)(i,o),e.show.images.length){let t=e.show.images.find(e=>{var t;return null===(t=e.variant)||void 0===t?void 0:t.slug.includes(c.Y5)});this.thumbnailUrl=t?t.uri:null!==(n=null===(r=e.show.images[0])||void 0===r?void 0:r.uri)&&void 0!==n?n:""}}}class x{constructor(e){this.type=c.$E.Playout;let t=new v.N9(new Date(e.broadcastDate),b.aB);this.id=e.id,this.track=new T(e.track),this.startTime=(0,h.ZP)(t,"HH:mm",{locale:y.nl}),this.broadcastDate=new Date(e.broadcastDate)}}class E{constructor(e,t){this.type=c.$E.Show,this.items=[],this.description="";let r=new v.N9(new Date(t.broadcastStartDate),b.aB),n=new v.N9(new Date(t.broadcastEndDate),b.aB),i=(0,h.ZP)(r,"HH:mm",{locale:y.nl}),a=(0,h.ZP)(n,"HH:mm",{locale:y.nl});if(this.subtitle="".concat(i," - ").concat(a),this.id=e.id,this.title=e.title,this.slug=e.slug,e.images.length){var o;let t=null!==(o=e.images.find(e=>"image"===e.imageType))&&void 0!==o?o:e.images[0];this.thumbnailUrl=(null==t?void 0:t.uri)||"",this.backgroundUrl=(null==t?void 0:t.uri)||""}}}
187class T{constructor(e,t){if(this.type=c.$E.Track,this.imageUrl="",this.imageTitle="",e.id&&(this.id=e.id),this.title=e.title,this.artistName=e.artistName,e.images){let t=e.images.find(e=>e.uri);this.imageUrl=(null==t?void 0:t.uri)||"",this.imageTitle=(null==t?void 0:t.title)||""}if(e.media){let t=e.media.find(e=>"spotify_uri"===e.source),r=e.media.find(e=>"spotify_preview"===e.source);r&&(this.previewUrl="".concat(r.uri,".mp3")),t&&(this.spotifyLink="https://open.spotify.com/track/".concat(String(t.uri.split(":")[2])))}this.isrc=e.isrc,"toplist"in e&&e.toplist&&(this.toplist={position:e.toplist.position,rankingTrend:e.toplist.rankingTrend,weeks:e.toplist.weeks,changed:e.toplist.changed}),(null==t?void 0:t.trackRanking)&&(this.rankingPosition=t.trackRanking.position,this.rankingListName=t.trackRanking.listName)}}var k=r(21876).Buffer;function C(){let e=(0,n._)(["\n  query RadioScheduleQuery($stationSlug: String, $startDate: AWSDateTime, $endDate: AWSDateTime) {\n    station(slug: $stationSlug) {\n      schedules(broadcastStartDate: $startDate, broadcastEndDate: $endDate) {\n        broadcastStartDate\n        broadcastEndDate\n        id\n        show {\n          title\n          slug\n          images {\n            uri\n            type\n            imageType\n            variant {\n              slug\n            }\n          }\n        }\n      }\n    }\n  }\n"]);return C=function(){return e},e}function _(){let e=(0,n._)(["\n  query GetPlayouts($slug: String!, $nextToken: String, $startDate: AWSDateTime) {\n    station(slug: $slug) {\n      getPlayouts(nextToken: $nextToken, limit: 100, broadcastStartDate: $startDate) {\n        playouts {\n          id\n          broadcastDate\n          track {\n            isrc\n            id\n            title\n            artistName\n            media {\n              id\n              source\n              type\n              title\n              uri\n            }\n            images {\n              title\n              uri\n            }\n          }\n        }\n        nextToken\n      }\n    }\n  }\n"]);return _=function(){return e},e}function P(){let e=(0,n._)(["\n  query CurrentTrackQuery($stationSlug: String!) {\n    station(slug: $stationSlug) {\n      getPlayouts {\n        playouts {\n          ","\n        }\n      }\n    }\n  }\n"]);return P=function(){return e},e}function A(){let e=(0,n._)(["\n  query CurrentShowQuery($stationSlug: String!) {\n    station(slug: $stationSlug) {\n      slug\n      schedules {\n        broadcastStartDate\n        broadcastEndDate\n        show {\n          id\n          slug\n          title\n          images {\n            uri\n            imageType\n            title\n          }\n        }\n      }\n    }\n  }\n"]);return A=function(){return e},e}function N(){let e=(0,n._)(["\n    query GetTracks {\n      ","\n    }\n\n    fragment Track on Track {\n      id\n      isrc\n      images {\n        title\n        uri\n      }\n      media {\n        source\n        uri\n        type\n      }\n    }\n  "]);return N=function(){return e},e}let{publicRuntimeConfig:{audioApiEndpoint:I,audioXApiKey:R,appsyncApiKey:O,appsyncHost:L}}=a()(),D="\n  track {\n    id\n    title\n    artistName\n    isrc\n    images {\n      uri\n      imageType\n      title\n    }\n  }\n  rankings {\n     position\n     listName\n  }\n",M=(0,u.Ps)(C()),Z=(0,u.Ps)(_()),F="subscription onStationEvent($slug: String!) {\n    stationEvent(slug: $slug) {\n      slug\n      id\n      title\n      getPlayouts  {\n        playouts {\n         ".concat(D,"\n        }\n      }\n    }\n  }\n"),j=(0,u.Ps)(P(),D),B=(0,u.Ps)(A());async function U(e){try{var t,r,n,i;let{data:a}=await z(j,{stationSlug:e});if((null==a?void 0:a.station)&&Array.isArray(null===(t=a.station.getPlayouts)||void 0===t?void 0:t.playouts)&&a.station.getPlayouts.playouts.length>0){let e=null===(r=a.station.getPlayouts.playouts[0])||void 0===r?void 0:r.track,t=null===(i=a.station.getPlayouts.playouts[0])||void 0===i?void 0:null===(n=i.rankings)||void 0===n?void 0:n[0];if(e)return new T(e,{trackRanking:t})}}catch(e){console.error(e)}return null}let $=async(e,t)=>{let r=await (0,d.dX)("/api/audio/".concat(e.slug));return null!=r?r:new E(e,t)};async function V(e){try{var t;let{data:r}=await z(B,{stationSlug:e});if(null==r?void 0:null===(t=r.station.schedules)||void 0===t?void 0:t.length){let e=r.station.schedules[0];if(e){let{show:t,broadcastStartDate:r,broadcastEndDate:n}=e;return await $(t,{broadcastStartDate:r,broadcastEndDate:n})}}}catch(e){console.error(e)}return null}async function z(e,t){var r;let n=new URLSearchParams({query:(0,s.A)((0,l.S)(e)),variables:JSON.stringify(t)}),i=await fetch("".concat(I,"?").concat(n.toString()),{method:"GET",headers:{"Content-Type":"application/json","X-Api-Key":R,Profile:c.Y5}}),{data:a,errors:o}=await i.json();if(null==o?void 0:o.length)throw Error(null===(r=o[0])||void 0===r?void 0:r.message);return{data:null!=a?a:null}}async function H(e,t,r){return r?z(M,{stationSlug:r,startDate:e,endDate:t}).then(e=>{let{data:t}=e;return(null==t?void 0:t.station.schedules)?t.station.schedules.map(e=>new w(e)):[]}):[]}async function G(e,t,r){let n=(0,o.Z)(new Date,1);return z(Z,{slug:e,nextToken:t,startDate:n,skip:r}).then(e=>{let{data:t}=e;return(null==t?void 0:t.station.getPlayouts)?{items:t.station.getPlayouts.playouts.map(e=>new x(e)),nextToken:t.station.getPlayouts.nextToken}:{items:[],nextToken:""}})}let q=async e=>{let{slug:t,itemLimitPerPage:r,maxItems:n=1/0}=e;if(!t)return[];let i=new Date,a=(0,o.Z)(i,1),[s,l]=await Promise.all([H(a,i,t),G(t,null,100)]),u=l.items,c=l.nextToken;for(;c&&u.length<n;){let{items:e,nextToken:r}=await G(t,c,100);c=r,u.push(...e)}let d=[...s,...u].sort((e,t)=>
187t.broadcastDate.getTime()-e.broadcastDate.getTime()),h=[];for(;d.length;)h.push(d.splice(0,r));return h},K=async e=>{let t=e.map(e=>{let{isrc:t}=e;return t}).filter(e=>!!e);if(!t.length)return e.map(e=>new T(e));try{let r=(0,u.Ps)(N(),t.map(e=>"".concat(e,': track(isrc: "').concat(e,'") {\n        ...Track\n      }')).join("\n")),n=new URLSearchParams({query:(0,s.A)((0,l.S)(r))}),i=await fetch("".concat(I,"?").concat(n.toString()),{method:"GET",headers:{"Content-Type":"application/json","X-Api-Key":R,Profile:c.Y5}}),{data:a}=await i.json();return e.map(e=>{var t;let r=null!==(t=e.isrc&&a[e.isrc])&&void 0!==t?t:{};return new T({...e,...r})})}catch(t){return e.map(e=>new T(e))}};class W{startSubscription(e){let t={slug:e};this.type===c.$E.Show&&(t.profile=c.Y5);let r={id:window.crypto.randomUUID(),type:"start",payload:{data:JSON.stringify({query:this.query,variables:t}),extensions:{authorization:{"x-api-key":O,host:L}}}};this.websocket.send(JSON.stringify(r))}cleanUp(){this.websocket.close()}constructor(e,t,r){let n=function(){let e=k.from(JSON.stringify({host:L,"x-api-key":O})).toString("base64"),t=btoa(JSON.stringify({}));return"wss://".concat(L,"/graphql/realtime?header=").concat(e,"&payload=").concat(t,"&protocol=graphql-ws")}();this.query=t===c.$E.Track?F:"\n  subscription onStationEvent($profile: String!, $slug: String!) {\n    scheduleEvent(slug: $slug, profile: $profile) {\n      slug\n      schedule {\n        broadcastStartDate\n        broadcastEndDate\n        show {\n          id\n          slug\n          title\n          images {\n            uri\n            type\n            imageType\n            variant {\n              slug\n            }\n          }\n        }\n      }\n    }\n  }\n",this.type=t,this.websocket=new WebSocket(n,["graphql-ws"]),this.websocket.onopen=()=>{this.websocket.send(JSON.stringify({type:"connection_init"}))},this.websocket.onmessage=t=>{let n=JSON.parse(t.data);switch(n.type){case"connection_ack":this.startSubscription(e);break;case"error":console.error(n);break;case"data":var i,a,o,s,l,u,d,h,p,f,m,g,v,y,b,S,w;if(this.type===c.$E.Track){let e=null===(u=n.payload)||void 0===u?void 0:null===(l=u.data)||void 0===l?void 0:null===(s=l.stationEvent)||void 0===s?void 0:null===(o=s.getPlayouts)||void 0===o?void 0:null===(a=o.playouts)||void 0===a?void 0:null===(i=a[0])||void 0===i?void 0:i.track,t=null===(v=n.payload)||void 0===v?void 0:null===(g=v.data)||void 0===g?void 0:null===(m=g.stationEvent)||void 0===m?void 0:null===(f=m.getPlayouts)||void 0===f?void 0:null===(p=f.playouts)||void 0===p?void 0:null===(h=p[0])||void 0===h?void 0:null===(d=h.rankings)||void 0===d?void 0:d[0];if(e){let n=new T(e,{trackRanking:t});r(n)}}if(this.type===c.$E.Show){let{show:e,broadcastStartDate:t="",broadcastEndDate:i=""}=null!==(w=null===(S=n.payload)||void 0===S?void 0:null===(b=S.data)||void 0===b?void 0:null===(y=b.scheduleEvent)||void 0===y?void 0:y.schedule)&&void 0!==w?w:{};e&&$(e,{broadcastStartDate:t,broadcastEndDate:i}).then(e=>{r(e)})}}}}}},67243:function(e,t,r){"use strict";var n;r.d(t,{C:function(){return o},h:function(){return a}});let i=e=>t=>({...t,url:null!==(n=e[t.slug])&&void 0!==n?n:null}),a=(e,t)=>e&&t?e.map(i(t)):e,o=(e,t)=>e&&t?e.map(e=>({...e,items:e.items.map(i(t))})):e},33301:function(e,t,r){"use strict";r.d(t,{L:function(){return i},j:function(){return a}});var n=r(21953);let i=(e,t)=>e.filter(e=>{var r,n,i,a,o;return(null==e?void 0:null===(o=e.sourceData)||void 0===o?void 0:null===(a=o.config)||void 0===a?void 0:null===(i=a[0])||void 0===i?void 0:null===(n=i.entries)||void 0===n?void 0:null===(r=n.find(e=>{let{key:t}=e;return"MainStationSlug"===t}))||void 0===r?void 0:r.value)===t}).sort((e,r)=>Number(r.slug===t)-Number(e.slug===t)),a=e=>e.type===n.$E.Station&&"mountSource"in e},25196:function(e,t){"use strict";t.Z=e=>e?e.charAt(0).toUpperCase()+e.slice(1):""},59190:function(e,t,r){"use strict";function n(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,n=new Date(new Date().getTime()+864e5*r).toUTCString(),i=document.location.hostname.includes("localhost")?""
187:" domain=".concat(document.location.host,"; SameSite=Lax; Secure"),a="".concat(e,"=").concat(encodeURIComponent(t),'; expires="').concat(n,'"; path=/;').concat(i);document.cookie=a}function i(e){let t="".concat(e,"="),r=decodeURIComponent(document.cookie),n=r.split(";");for(let e=0;e<n.length;e++){var i;let r=null===(i=n[e])||void 0===i?void 0:i.trim();if((null==r?void 0:r.indexOf(t))===0)return r.substring(t.length,r.length)}return null}r.d(t,{d8:function(){return n},ej:function(){return i},nJ:function(){return a}});let a=e=>{let t=document.location.hostname.includes("localhost")?"":"domain=".concat(document.location.host,"; SameSite=Lax; Secure");document.cookie="".concat(e,"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; ").concat(t)}},64571:function(e,t,r){"use strict";function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.document;return new Promise((r,n)=>{var i;let a=t.createElement("script");a.onload=()=>{r()},a.onerror=()=>{n("Error loading script '".concat(e,"'"))},a.async=!0,a.src=e,null===(i=t.getElementsByTagName("head")[0])||void 0===i||i.appendChild(a)})}r.d(t,{Z:function(){return n}})},33989:function(e,t,r){"use strict";var n=r(21876).Buffer;t.Z=e=>{try{let[,t=""]=e.split("."),r=JSON.parse(n.from(t,"base64").toString());return{id:r.sub,firstName:r.given_name,lastName:r.family_name,email:r.email,phoneNumber:r.phone_number,expiresAt:r.exp}}catch(e){return null}}},61351:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});let n="darkgreen",i="darkgoldenrod",a=["/ad/banner.gif","/ad/popup.gif","/ad/view/vghd.gif"],o=document.cookie.includes("__WXA_DEBUG__");function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;for(var r=arguments.length,i=Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];o&&console.log("%c ".concat(e),"background-color: ".concat(t,"; color: white"),...i)}let l=(Math.random()+1).toString(36).substring(2),u="topbanner_ad",c=!1;function d(e){let t="".concat("https://assets.prod.webx.talpa.digital").concat(e,"?user=").concat(l,"&slot=pre&ad-sense=1&adId=").concat(String(Date.now()),"&ad_size=600x120");return new Promise((r,n)=>{let i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===this.readyState){if(this.status>=200&&this.status<300){let e=this.response instanceof Blob?this.response:new Blob([this.response]);r({response:e,baitUrl:t});return}n(Error(e))}},i.open("GET",t),i.responseType="blob",i.send()})}async function h(){let e=document.getElementById(u);e&&e.remove();let t=document.createElement("img");t.setAttribute("id",u),t.setAttribute("class","pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links ad-text adSense adBlock adContent adBanner AdBody"),t.setAttribute("style","width: 1px !important; height: 1px !important; position: absolute !important;");try{let[e]=await Promise.all(a.map(d));if(!e)throw Error("No bait response.");let{response:r,baitUrl:i}=e;s("All baits loaded ",n),c=!1;let o=window.URL;return t.setAttribute("src","function"==typeof o.createObjectURL?o.createObjectURL(r):i),document.body.appendChild(t),!1}catch(e){return c=!0,s("Bait failed to load: ".concat(String(e)),i),!0}}async function p(){return new Promise(e=>{h().then(t=>{if(t){e(!0);return}setTimeout(()=>{let t=function(){if(c)return!0;let e=document.getElementById(u);if(!e||null===e.offsetParent||0===e.offsetHeight||0===e.offsetWidth||0===e.clientHeight||0===e.clientWidth)return s("Bait element is manipulated ",i,e),!0;if(void 0!==window.getComputedStyle){let t=window.getComputedStyle(e,null);if("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))return s("Bait element is hidden",i),!0}return s("Bait seems alright ",n),!1}();e(t)},50)}).catch(t=>{s("Error during bait creation: ".concat(String(t)),i),e(!0)})})}},87367:function(e,t,r){"use strict";function n(){return null!==/(?:iPad)|(?:iPhone)|(?:iPod)/i.exec(navigator.userAgent)}function i(){return null!==/(?:android)/i.exec(navigator.userAgent)}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent;return null!==/mobile/i.exec(e.toLowerCase())}function o(){return navigator.userAgent.toLowerCase().includes("chrome")}function s(){return navigator.userAgent.includes("CriOS")&&a()}function l(){return null!==/FBAN|FBAV|FBIOS/i.exec(navigator.userAgent)}function u(){let e=RegExp("(apis-google|mediapartners-google|adsbot|googlebot|bingbot|yandex|baiduspider|twitterbot|facebookexternalhit|rogerbot|linkedinbot|embedly|quora link preview|showyoubot|outbrain|pinterest|slackbot|vkShare|W3C_Validator)","i");return e.test(window.navigator.userAgent)}
187r.d(t,{B8:function(){return u},DF:function(){return l},Dt:function(){return i},i7:function(){return o},my:function(){return s},s:function(){return n},tq:function(){return a}}),r(21953)},21745:function(e,t,r){"use strict";r.d(t,{Z:function(){return li}});let n=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t},i="preferred",a=["disabled","preferred","required"],o=e=>{let{accountIdEndpointMode:t}=e,r=n(t??i);return Object.assign(e,{accountIdEndpointMode:async()=>{let e=await r();if(!a.includes(e))throw Error(`Invalid value for accountIdEndpointMode: ${e}. Valid values are: "required", "preferred", "disabled".`);return e}})};var s,l,u,c,d,h,p,f,m,g,v,y=r(96675),b=r.n(y);class S{cache;constructor(e){this.cache=new(b())(e)}getEndpoint(e){let t=this.get(e);if(!t||0===t.length)return;let r=t.map(e=>e.Address);return r[Math.floor(Math.random()*r.length)]}get(e){if(!this.has(e))return;let t=this.cache.get(e);if(!t)return;let r=Date.now(),n=t.filter(e=>r<e.Expires);if(0===n.length){this.delete(e);return}return n}set(e,t){let r=Date.now();this.cache.set(e,t.map(({Address:e,CachePeriodInMinutes:t})=>({Address:e,Expires:r+6e4*t})))}delete(e){this.cache.set(e,[])}has(e){if(!this.cache.has(e))return!1;let t=this.cache.peek(e);return!!t&&t.length>0}clear(){this.cache.clear()}}let w=(e,{endpointDiscoveryCommandCtor:t})=>{let{endpointCacheSize:r,endpointDiscoveryEnabled:n,endpointDiscoveryEnabledProvider:i}=e;return Object.assign(e,{endpointDiscoveryCommandCtor:t,endpointCache:new S(r??1e3),endpointDiscoveryEnabled:void 0!==n?()=>Promise.resolve(n):i,isClientEndpointDiscoveryEnabled:void 0!==n})};class x{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){var t;let r=new x({...e,headers:{...e.headers}});return r.query&&(r.query=Object.keys(t=r.query).reduce((e,r)=>{let n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}},{})),r}static isInstance(e){return!!e&&"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers}clone(){return x.clone(this)}}let E=e=>t=>async r=>{if(!x.isInstance(r.request))return t(r);let{request:n}=r,{handlerProtocol:i=""}=e.requestHandler.metadata||{};if(i.indexOf("h2")>=0&&!n.headers[":authority"])delete n.headers.host,n.headers[":authority"]=n.hostname+(n.port?":"+n.port:"");else if(!n.headers.host){let e=n.hostname;null!=n.port&&(e+=`:${n.port}`),n.headers.host=e}return t(r)},T={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},k=e=>({applyToStack:t=>{t.add(E(e),T)}}),C=()=>(e,t)=>async r=>{try{let n=await e(r),{clientName:i,commandName:a,logger:o,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:l,overrideOutputFilterSensitiveLog:u}=s,c=l??t.inputFilterSensitiveLog,d=u??t.outputFilterSensitiveLog,{$metadata:h,...p}=n.output;return o?.info?.({clientName:i,commandName:a,input:c(r.input),output:d(p),metadata:h}),n}catch(l){let{clientName:e,commandName:n,logger:i,dynamoDbDocumentClientOptions:a={}}=t,{overrideInputFilterSensitiveLog:o}=a,s=o??t.inputFilterSensitiveLog;throw i?.error?.({clientName:e,commandName:n,input:s(r.input),error:l,metadata:l.$metadata}),l}},_={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},P=e=>({applyToStack:e=>{e.add(C(),_)}}),A={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},N=()=>e=>async t=>e(t),I=e=>({applyToStack:e=>{e.add(N(),A)}}),R=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t},O=void 0,L={},D=RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),M=(e,t=!1)=>{if(!t)return D.test(e);let r=e.split(".");for(let e of r)if(!M(e))return!1;return!0},Z=RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}
187$"),F=e=>Z.test(e)||e.startsWith("[")&&e.endsWith("]"),j=(e,t=!1)=>{if(t){for(let t of e.split("."))if(!j(t))return!1;return!0}return!(!M(e)||e.length<3||e.length>63||e!==e.toLowerCase()||F(e))};var B=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-east-2":{"description":"Asia Pacific (Taipei)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"ap-southeast-5":{"description":"Asia Pacific (Malaysia)"},"ap-southeast-6":{"description":"Asia Pacific (New Zealand)"},"ap-southeast-7":{"description":"Asia Pacific (Thailand)"},"aws-global":{"description":"aws global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"mx-central-1":{"description":"Mexico (Central)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"aws-cn global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-eusc","outputs":{"dnsSuffix":"amazonaws.eu","dualStackDnsSuffix":"api.amazonwebservices.eu","implicitGlobalRegion":"eusc-de-east-1","name":"aws-eusc","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eusc-de-east-1":{"description":"AWS European Sovereign Cloud (Germany)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"api.aws.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"aws-iso global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"api.aws.scloud","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"aws-iso-b global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"},"us-isob-west-1":{"description":"US ISOB West"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"api.cloud-aws.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":true,"supportsFIPS":true}
187,"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-e-global":{"description":"aws-iso-e global region"},"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"api.aws.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-f-global":{"description":"aws-iso-f global region"},"us-isof-east-1":{"description":"US ISOF EAST"},"us-isof-south-1":{"description":"US ISOF SOUTH"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"aws-us-gov global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}}],"version":"1.1"}');let U=()=>"",$={isVirtualHostableS3Bucket:j,parseArn:e=>{let t=e.split(":");if(t.length<6)return null;let[r,n,i,a,o,...s]=t;if("arn"!==r||""===n||""===i||""===s.join(":"))return null;let l=s.map(e=>e.split("/")).flat();return{partition:n,service:i,region:a,accountId:o,resourceId:l}},partition:e=>{let{partitions:t}=B;for(let r of t){let{regions:t,outputs:n}=r;for(let[r,i]of Object.entries(t))if(r===e)return{...n,...i}}for(let r of t){let{regionRegex:t,outputs:n}=r;if(new RegExp(t).test(e))return{...n}}let r=t.find(e=>"aws"===e.id);if(!r)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...r.outputs}}};L.aws=$;var V=r(83454);class z{static v2026=void 0!==V&&V.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return z.v2026?50:100}static throttlingDelay(){return z.v2026?1e3:500}static cost(){return z.v2026?14:5}static throttlingCost(){return z.v2026?5:10}static modifiedCostType(){return z.v2026?"THROTTLING":"TRANSIENT"}}var H=r(83454);function G(e,t,r){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=r}z.v2026||="object"==typeof H&&H.env?.AWS_NEW_RETRIES_2026==="true",(s=p||(p={})).STANDARD="standard",s.ADAPTIVE="adaptive";let q=p.STANDARD,K=/\d{12}\.ddb/;async function W(e,t,r){let n=r.request;if(n?.headers?.["smithy-protocol"]==="rpc-v2-cbor"&&G(e,"PROTOCOL_RPC_V2_CBOR","M"),"function"==typeof t.retryStrategy){let r=await t.retryStrategy();if("string"==typeof r.mode)switch(r.mode){case p.ADAPTIVE:G(e,"RETRY_MODE_ADAPTIVE","F");break;case p.STANDARD:G(e,"RETRY_MODE_STANDARD","E")}}if("function"==typeof t.accountIdEndpointMode){let r=e.endpointV2;switch(String(r?.url?.hostname).match(K)&&G(e,"ACCOUNT_ID_ENDPOINT","O"),await t.accountIdEndpointMode?.()){case"disabled":G(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":G(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":G(e,"ACCOUNT_ID_MODE_REQUIRED","R")}}let i=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(i?.$source)for(let[t,r]of(i.accountId&&G(e,"RESOLVED_ACCOUNT_ID","T"),Object.entries(i.$source??{})))G(e,t,r)}let X="user-agent",Y="x-amz-user-agent",J=/[^!$%&'*+\-.^_`|~\w]/g,Q=/[^!$%&'*+\-.^_`|~\w#]/g,ee=e=>(t,r)=>async n=>{let{request:i}=n;if(!x.isInstance(i))return t(n);let{headers:a}=i,o=r?.userAgent?.map(et)||[],s=(await e.defaultUserAgentProvider()).map(et);await W(r,e,n),s.push(`m/${function(e){let t="";for(let r in e){let n=e[r];if(t.length+n.length+1<=1024){t.length?t+=","+n:t+=n;continue}break}return t}(Object.assign({},r.__smithy_context?.features,r.__aws_sdk_context?.features))}`);let l=e?.customUserAgent?.map(et)||[],u=await e.userAgentAppId();u&&s.push(et(["app",`${u}`]));let c=U(),d=(c?[c]:[]).concat([...s,...o,...l]).join(" "),h=[...s.filter(e=>e.startsWith("aws-sdk-")),...l].join(" ");return"browser"!==e.runtime?(h&&(a[Y]=a[Y]?`${a[X]} ${h}`:h),a[X]=d):a[Y]=d,t({...n,request:i})},et=e=>{let t=e[0].split("/").map(e=>e.replace(J,"-")).join("/"),r=e[1]?.replace(Q,"-"),n=t.indexOf("/"),i=t.substring(0,n),a=t.substring(n+1);return"api"===i&&(a=a.toLowerCase()),[i,a,r].filter(e=>e&&e.length>0).reduce((e,t,r)=>{switch(r){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},"")},er={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},en=e=>({applyToStack:t=>{t.add(ee(e),er)}}),ei=new Set,ea=(e,t=M)=>{if(ei.has(e)||t(e))ei.add(e);else if("*"===e)console.warn('@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.');else throw Error(`Region not accepted: region="${e}" is not a valid hostname component.`)},eo=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),es=e=>eo(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e,el=e=>{let{region:t,useFipsEndpoint:r}=e;if(!t)throw Error("Region is missing");return Object.assign(e,{region:async()=>{let e="function"==typeof t?await t():t,r=es(e);return ea(r),r},useFipsEndpoint:async()=>{let e="string"==typeof t?t:await t();return!!eo(e)||("function"!=typeof r?Promise.resolve(!!r):r())}})},eu="__smithy_context",ec=e=>e[eu]||(e[eu]={}),ed=(e,t)=>{if(!t||0===t.length)return e;let r=[];for(let n of t)for(let t of e){let e=t.schemeId.split("#")[1];e===n&&r.push(t)}for(let t of e)r.find(({schemeId:e})=>e===t.schemeId)||r.push(t);return r},eh=(e,t)=>(r,n)=>async i=>{let a=e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,n,i.input)),o=e.authSchemePreference?await e.authSchemePreference():[],s=ed(a,o),l=function(e){let t=new Map;for(let r of e)t.set(r.schemeId,r);return t}(e.httpAuthSchemes),u=ec(n),c=[];for(let r of s){let i=l.get(r.schemeId);if(!i){c.push(`HttpAuthScheme \`${r.schemeId}\` was not enabled for this service.`);continue}
187let a=i.identityProvider(await t.identityProviderConfigProvider(e));if(!a){c.push(`HttpAuthScheme \`${r.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:o={},signingProperties:s={}}=r.propertiesExtractor?.(e,n)||{};r.identityProperties=Object.assign(r.identityProperties||{},o),r.signingProperties=Object.assign(r.signingProperties||{},s),u.selectedHttpAuthScheme={httpAuthOption:r,identity:await a(r.identityProperties),signer:i.signer};break}if(!u.selectedHttpAuthScheme)throw Error(c.join("\n"));return r(i)},ep={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},ef=(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:n=>{n.addRelativeTo(eh(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r}),ep)}});class em{authSchemes=new Map;constructor(e){for(let t in e){let r=e[t];void 0!==r&&this.authSchemes.set(t,r)}}getIdentityProvider(e){return this.authSchemes.get(e)}}class eg{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){var t;let r=new eg({...e,headers:{...e.headers}});return r.query&&(r.query=Object.keys(t=r.query).reduce((e,r)=>{let n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}},{})),r}static isInstance(e){return!!e&&"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers}clone(){return eg.clone(this)}}let ev=e=>e=>{throw e},ey=(e,t)=>{},eb=e=>(e,t)=>async r=>{if(!eg.isInstance(r.request))return e(r);let n=ec(t),i=n.selectedHttpAuthScheme;if(!i)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:a={}},identity:o,signer:s}=i,l=await e({...r,request:await s.sign(r.request,o,a)}).catch((s.errorHandler||ev)(a));return(s.successHandler||ey)(l.response,a),l},eS={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},ew=e=>({applyToStack:t=>{t.addRelativeTo(eb(e),eS)}});class ex{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){return!!e&&"number"==typeof e.statusCode&&"object"==typeof e.headers}}let eE=(e,t,r,n,i)=>({name:t,namespace:e,traits:r,input:n,output:i}),eT=e=>(t,r)=>async n=>{let{response:i}=await t(n),{operationSchema:a}=ec(r),[,o,s,l,u,c]=a??[];try{let t=await e.protocol.deserializeResponse(eE(o,s,l,u,c),{...e,...r},i);return{response:i,output:t}}catch(e){if(Object.defineProperty(e,"$response",{value:i,enumerable:!1,writable:!1,configurable:!1}),!("$metadata"in e)){let t="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";try{e.message+="\n  "+t}catch(e){r.logger&&r.logger?.constructor?.name!=="NoOpLogger"?r.logger?.warn?.(t):console.warn(t)}void 0!==e.$responseBodyText&&e.$response&&(e.$response.body=e.$responseBodyText);try{if(ex.isInstance(i)){let{headers:t={}}=i,r=Object.entries(t);e.$metadata={httpStatusCode:i.statusCode,requestId:ek(/^x-[\w-]+-request-?id$/,r),extendedRequestId:ek(/^x-[\w-]+-id-2$/,r),cfId:ek(/^x-[\w-]+-cf-id$/,r)}}}catch(e){}}throw e}},ek=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1],eC=e=>{let t;if("string"==typeof e)return eC(new URL(e));let{hostname:r,pathname:n,port:i,protocol:a,search:o}=e;return o&&(t=function(e){let t={};if(e=e.replace(/^\?/,""))for(let r of e.split("&")){let[e,n=null]=r.split("=");e=decodeURIComponent(e),n&&(n=decodeURIComponent(n)),e in t?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n}return t}(o)),{hostname:r,port:i?parseInt(i):void 0,protocol:a,path:n,query:t}},e_=e=>{if("object"==typeof e){if("url"in e){let t=eC(e.url);if(e.headers)for(let r in t.headers={},e.headers)t.headers[r.toLowerCase()]=e.headers[r].join(", ");return t}return e}return eC(e)},eP=e=>(t,r)=>async n=>{let{operationSchema:i}=ec(r),[,a,o,s,l,u]=i??[],c=r.endpointV2?async()=>e_(r.endpointV2):e.endpoint,d=await e.protocol.serializeRequest(eE(a,o,s,l,u),n.input,{...e,...r,endpoint:c});return t({...n,request:d})},eA={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},eN={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0},eI="content-length",eR={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},eO=e=>({applyToStack:t=>{var r;t.add((r=e.bodyLengthChecker,e=>async t=>{let n=t.request;if(x.isInstance(n)){let{body:e,headers:t}=n;if(e&&-1===Object.keys(t).map(e=>e.toLowerCase()).indexOf(eI))try{let t=r(e);n.headers={...n.headers,[eI]:String(t)}}catch(e){}}return e({...t,request:n})}),eR)}}),eL=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t},eD=async e=>void 0,eM=e=>{let t;if("string"==typeof e)return eM(new URL(e));let{hostname:r,pathname:n,port:i,protocol:a,search:o}=e;return o&&(t=function(e){let t={};if(e=e.replace(/^\?/,""))for(let r of e.split("&")){let[e,n=null]=r.split("=");e=decodeURIComponent(e),n&&(n=decodeURIComponent(n)),e in t?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n}return t}(o)),{hostname:r,port:i?parseInt(i):void 0,protocol:a,path:n,query:t}},eZ=e=>{if("object"==typeof e){if("url"in e){let t=eM(e.url);if(e.headers)for(let[r,n]of(t.headers={},Object.entries(e.headers)))t.headers[r.toLowerCase()]=n.join(", ");return t}return e}return eM(e)},eF=e=>{let t;let r=e.tls??!0,{endpoint:n,useDualstackEndpoint:i,useFipsEndpoint:a}=e,o=null!=n?async()=>eZ(await eL(n)()):void 0,s=!!n,l=Object.assign(e,{endpoint:o,tls:r,isCustomEndpoint:s,useDualstackEndpoint:eL(i??!1),useFipsEndpoint:eL(a??!1)});return l.serviceConfiguredEndpoint=async()=>(e.serviceId&&!t&&(t=eD(e.serviceId)),t),l},ej=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],eB=["TimeoutError","RequestTimeout","RequestTimeoutException"],eU=[500,502,503,504],e$=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],eV=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],ez=e=>e?.$retryable!==void 0,eH=e=>e.$metadata?.clockSkewCorrected,eG=e=>{let t=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]),r=e&&e instanceof TypeError;return!!r&&t.has(e.message)},eq=e=>e.$metadata?.httpStatusCode===429||ej.includes(e.name)||e.$retryable?.throttling==!0,eK=(e,t=0)=>ez(e)||eH(e)||eB.includes(e.name)||e$.includes(e?.code||"")||eV.includes(e?.code||"")||eU.includes(e.$metadata?.httpStatusCode||0)||eG(e)||void 0!==e.cause&&t<=10&&eK(e.cause,t+1),eW=e=>{if(e.$metadata?.httpStatusCode!==void 0){let t=e.$metadata.httpStatusCode;if(500<=t&&t<=599&&!eK(e))return!0}return!1};
187class eX{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;currentCapacity=0;enabled=!1;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8;let t=this.getCurrentTimeInSeconds();this.lastThrottleTime=t,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(e){if(this.enabled){if(this.refillTokenBucket(),e>this.currentCapacity){let t=(e-this.currentCapacity)/this.fillRate*1e3;await new Promise(e=>eX.setTimeoutFn(e,t))}this.currentCapacity=this.currentCapacity-e}}refillTokenBucket(){let e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}let t=(e-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t),this.lastTimestamp=e}updateClientSendingRate(e){let t;if(this.updateMeasuredRate(),eq(e)){let e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}
187cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){let e=this.getCurrentTimeInSeconds(),t=Math.floor(2*e)/2;if(this.requestCount++,t>this.lastTxRateBucket){let e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}}let eY=()=>{let e=100;return{computeNextBackoffDelay:t=>Math.floor(Math.min(2e4,Math.random()*2**t*e)),setDelayBase:t=>{e=t}}},eJ=({retryDelay:e,retryCount:t,retryCost:r})=>({getRetryCount:()=>t,getRetryDelay:()=>Math.min(2e4,e),getRetryCost:()=>r});class eQ{maxAttempts;mode=p.STANDARD;capacity=500;retryBackoffStrategy=eY();maxAttemptsProvider;constructor(e){this.maxAttempts=e,this.maxAttemptsProvider="function"==typeof e?e:async()=>e}async acquireInitialRetryToken(e){return eJ({retryDelay:100,retryCount:0})}async refreshRetryTokenForRetry(e,t){let r=await this.getMaxAttempts();if(this.shouldRetry(e,t,r)){let r=t.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===r?500:100);let n=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),i=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,n):n,a=this.getCapacityCost(r);return this.capacity-=a,eJ({retryDelay:i,retryCount:e.getRetryCount()+1,retryCost:a})}throw Error("No retry token available")}recordSuccess(e){this.capacity=Math.max(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}shouldRetry(e,t,r){let n=e.getRetryCount()+1;return n<r&&this.capacity>=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return"TRANSIENT"===e?10:5}isRetryableError(e){return"THROTTLING"===e||"TRANSIENT"===e}}class e0{maxAttemptsProvider;rateLimiter;standardRetryStrategy;mode=p.ADAPTIVE;constructor(e,t){this.maxAttemptsProvider=e;let{rateLimiter:r}=t??{};this.rateLimiter=r??new eX,this.standardRetryStrategy=new eQ(e)}async acquireInitialRetryToken(e){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}}let e1=e=>{let{retryStrategy:t,retryMode:r}=e,n=eL(e.maxAttempts??3),i=t?Promise.resolve(t):void 0,a=async()=>await eL(r)()===p.ADAPTIVE?new e0(n):new eQ(n);return Object.assign(e,{maxAttempts:n,retryStrategy:()=>i??=a()})};class e2{statusCode;reason;headers;body;constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){return!!e&&"number"==typeof e.statusCode&&"object"==typeof e.headers}}class e3{trace(){}debug(){}info(){}warn(){}error(){}}let e4="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),e5=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0")),e6=()=>{if(e4)return e4();let e=new Uint8Array(16);return crypto.getRandomValues(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128,e5[e[0]]+e5[e[1]]+e5[e[2]]+e5[e[3]]+"-"+e5[e[4]]+e5[e[5]]+"-"+e5[e[6]]+e5[e[7]]+"-"+e5[e[8]]+e5[e[9]]+"-"+e5[e[10]]+e5[e[11]]+e5[e[12]]+e5[e[13]]+e5[e[14]]+e5[e[15]]},e8=e=>e?.body instanceof ReadableStream,e9=e=>e instanceof Error?e:e instanceof Object?Object.assign(Error(),e):"string"==typeof e?Error(e):Error(`AWS SDK error wrapper for ${e}`),e7=e=>(t,r)=>async n=>{let i=await e.retryStrategy(),a=await e.maxAttempts();if(!te(i))return i?.mode&&(r.userAgent=[...r.userAgent||[],["cfg/retry-mode",i.mode]]),i.retry(t,n);{let e=await i.acquireInitialRetryToken(r.partition_id),o=Error(),s=0,l=0,{request:u}=n,c=x.isInstance(u);for(c&&(u.headers["amz-sdk-invocation-id"]=e6());;)try{c&&(u.headers["amz-sdk-request"]=`attempt=${s+1}; max=${a}`);let{response:r,output:o}=await t(n);return i.recordSuccess(e),o.$metadata.attempts=s+1,o.$metadata.totalRetryDelay=l,{response:r,output:o}}catch(a){let t=tt(a);if(o=e9(a),c&&e8(u))throw(r.logger instanceof e3?console:r.logger)?.warn("An error was encountered in a non-retryable streaming request."),o;try{e=await i.refreshRetryTokenForRetry(e,t)}catch(e){throw o.$metadata||(o.$metadata={}),o.$metadata.attempts=s+1,o.$metadata.totalRetryDelay=l,o}s=e.getRetryCount();let n=e.getRetryDelay();l+=n,await new Promise(e=>setTimeout(e,n))}}},te=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,tt=e=>{let t={error:e,errorType:tr(e)},r=ta(e.$response);return r&&(t.retryAfterHint=r),t},tr=e=>eq(e)?"THROTTLING":eK(e)?"TRANSIENT":eW(e)?"SERVER_ERROR":"CLIENT_ERROR",tn={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},ti=e=>({applyToStack:t=>{t.add(e7(e),tn)}}),ta=e=>{if(!e2.isInstance(e))return;let t=Object.keys(e.headers).find(e=>"retry-after"===e.toLowerCase());if(!t)return;let r=e.headers[t],n=Number(r);
187if(!Number.isNaN(n))return new Date(1e3*n);let i=new Date(r);return i},to=(e,t)=>{let r=[];if(e&&r.push(e),t)for(let e of t)r.push(e);return r},ts=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,tl=()=>{let e=[],t=[],r=!1,n=new Set,i=e=>e.sort((e,t)=>tu[t.step]-tu[e.step]||tc[t.priority||"normal"]-tc[e.priority||"normal"]),a=r=>{let i=!1,a=e=>{let t=to(e.name,e.aliases);if(t.includes(r)){for(let e of(i=!0,t))n.delete(e);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},o=r=>{let i=!1,a=e=>{if(e.middleware===r){for(let t of(i=!0,to(e.name,e.aliases)))n.delete(t);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},s=r=>(e.forEach(e=>{r.add(e.middleware,{...e})}),t.forEach(e=>{r.addRelativeTo(e.middleware,{...e})}),r.identifyOnResolve?.(c.identifyOnResolve()),r),l=e=>{let t=[];return e.before.forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...l(e))}),t.push(e),e.after.reverse().forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...l(e))}),t},u=(r=!1)=>{let n=[],a=[],o={};e.forEach(e=>{let t={...e,before:[],after:[]};for(let e of to(t.name,t.aliases))o[e]=t;n.push(t)}),t.forEach(e=>{let t={...e,before:[],after:[]};for(let e of to(t.name,t.aliases))o[e]=t;a.push(t)}),a.forEach(e=>{if(e.toMiddleware){let t=o[e.toMiddleware];if(void 0===t){if(r)return;throw Error(`${e.toMiddleware} is not found when adding ${ts(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}});let s=i(n).map(l).reduce((e,t)=>(e.push(...t),e),[]);return s},c={add:(t,r={})=>{let{name:i,override:a,aliases:o}=r,s={step:"initialize",priority:"normal",middleware:t,...r},l=to(i,o);if(l.length>0){if(l.some(e=>n.has(e))){if(!a)throw Error(`Duplicate middleware name '${ts(i,o)}'`);for(let t of l){let r=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(-1===r)continue;let n=e[r];if(n.step!==s.step||s.priority!==n.priority)throw Error(`"${ts(n.name,n.aliases)}" middleware with ${n.priority} priority in ${n.step} step cannot be overridden by "${ts(i,o)}" middleware with ${s.priority} priority in ${s.step} step.`);e.splice(r,1)}}for(let e of l)n.add(e)}e.push(s)},addRelativeTo:(e,r)=>{let{name:i,override:a,aliases:o}=r,s={middleware:e,...r},l=to(i,o);if(l.length>0){if(l.some(e=>n.has(e))){if(!a)throw Error(`Duplicate middleware name '${ts(i,o)}'`);for(let e of l){let r=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(-1===r)continue;let n=t[r];if(n.toMiddleware!==s.toMiddleware||n.relation!==s.relation)throw Error(`"${ts(n.name,n.aliases)}" middleware ${n.relation} "${n.toMiddleware}" middleware cannot be overridden by "${ts(i,o)}" middleware ${s.relation} "${s.toMiddleware}" middleware.`);t.splice(r,1)}}for(let e of l)n.add(e)}t.push(s)},clone:()=>s(tl()),use:e=>{e.applyToStack(c)},remove:e=>"string"==typeof e?a(e):o(e),removeByTag:r=>{let i=!1,a=e=>{let{tags:t,name:a,aliases:o}=e;if(t&&t.includes(r)){let e=to(a,o);for(let t of e)n.delete(t);return i=!0,!1}return!0};return e=e.filter(a),t=t.filter(a),i},concat:e=>{let t=s(tl());return t.use(e),t.identifyOnResolve(r||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:s,identify:()=>u(!0).map(e=>{let t=e.step??e.relation+" "+e.toMiddleware;return ts(e.name,e.aliases)+" - "+t}),identifyOnResolve:e=>("boolean"==typeof e&&(r=e),r),resolve:(e,t)=>{for(let r of u().map(e=>e.middleware).reverse())e=r(e,t);return r&&console.log(c.identify()),e}};return c},tu={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},tc={high:3,normal:2,low:1};class td{config;middlewareStack=tl();initConfig;handlers;constructor(e){this.config=e;let{protocol:t,protocolSettings:r}=e;r&&"function"==typeof t&&(e.protocol=new t(r))}send(e,t,r){let n;let i="function"!=typeof t?t:void 0,a="function"==typeof t?t:r,o=void 0===i&&!0===this.config.cacheMiddleware;if(o){this.handlers||(this.handlers=new WeakMap);let t=this.handlers;t.has(e.constructor)?n=t.get(e.constructor):(n=e.resolveMiddleware(this.middlewareStack,this.config,i),t.set(e.constructor,n))}else delete this.handlers,n=e.resolveMiddleware(this.middlewareStack,this.config,i);if(!a)return n(e).then(e=>e.output);n(e).then(e=>a(null,e.output),e=>a(e)).catch(()=>{})}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}let th=function(e){return tp(e)&&e.expiration.getTime()-Date.now()<3e5},tp=e=>void 0!==e.expiration,tf=(e,t,r)=>{let n,i,a;
187if(void 0===e)return;let o="function"!=typeof e?async()=>Promise.resolve(e):e,s=!1,l=async e=>{i||(i=o(e));try{n=await i,a=!0,s=!1}finally{i=void 0}return n};return void 0===t?async e=>((!a||e?.forceRefresh)&&(n=await l(e)),n):async e=>((!a||e?.forceRefresh)&&(n=await l(e)),s||(r(n)?t(n)&&await l(e):s=!0),n)},tm={},tg={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),tm[e]=t,tg[t]=e}function tv(e){let t="";for(let r=0;r<e.byteLength;r++)t+=tm[e[r]];return t}var ty=r(62145);let tb=e=>"string"==typeof e?(0,ty.$)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e);class tS{format(e){let t=[];for(let r of Object.keys(e)){let n=(0,ty.$)(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}let r=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),n=0;for(let e of t)r.set(e,n),n+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);let a=new Uint8Array(i.buffer);return a.set(e.value,3),a;case"string":let o=(0,ty.$)(e.value),s=new DataView(new ArrayBuffer(3+o.byteLength));s.setUint8(0,7),s.setUint16(1,o.byteLength,!1);let l=new Uint8Array(s.buffer);return l.set(o,3),l;case"timestamp":let u=new Uint8Array(9);return u[0]=8,u.set(tx.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!tw.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let c=new Uint8Array(17);return c[0]=9,c.set(function(e){if(e.length%2!=0)throw Error("Hex encoded strings must have an even number length");let t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){let n=e.slice(r,r+2).toLowerCase();if(n in tg)t[r/2]=tg[n];else throw Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`)}return t}(e.value.replace(/\-/g,"")),1),c}}}(l=f||(f={}))[l.boolTrue=0]="boolTrue",l[l.boolFalse=1]="boolFalse",l[l.byte=2]="byte",l[l.short=3]="short",l[l.integer=4]="integer",l[l.long=5]="long",l[l.byteArray=6]="byteArray",l[l.string=7]="string",l[l.timestamp=8]="timestamp",l[l.uuid=9]="uuid";let tw=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class tx{bytes;constructor(e){if(this.bytes=e,8!==e.byteLength)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x7fffffffffffffff||e<-0x8000000000000000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&tE(t),new tx(t)}valueOf(){let e=this.bytes.slice(0),t=128&e[0];return t&&tE(e),parseInt(tv(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function tE(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}let tT=e=>encodeURIComponent(e).replace(/[!'()*]/g,tk),tk=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}
187`,tC="X-Amz-Date",t_="X-Amz-Signature",tP="X-Amz-Security-Token",tA="authorization",tN=tC.toLowerCase(),tI=[tA,tN,"date"],tR=t_.toLowerCase(),tO="x-amz-content-sha256",tL=tP.toLowerCase(),tD={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},tM=/^proxy-/,tZ=/^sec-/,tF="AWS4-HMAC-SHA256",tj="aws4_request",tB=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===tR)continue;let i=tT(n);t.push(i);let a=e[n];"string"==typeof a?r[i]=`${i}=${tT(a)}`:Array.isArray(a)&&(r[i]=a.slice(0).reduce((e,t)=>e.concat([`${i}=${tT(t)}`]),[]).sort().join("&"))}return t.sort().map(e=>r[e]).filter(e=>e).join("&")},tU=e=>t$(e).toISOString().replace(/\.\d{3}Z$/,"Z"),t$=e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e;class tV{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:r,service:i,sha256:a,uriEscapePath:o=!0}){this.service=i,this.sha256=a,this.uriEscapePath=o,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=n(r),this.credentialProvider=n(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method}
188${this.getCanonicalPath(e)}
189${tB(e)}
190${n.map(e=>`${e}:${t[e]}`).join("\n")}
191
192${n.join(";")}
193${r}`}async createStringToSign(e,t,r,n){let i=new this.sha256;i.update(tb(r));let a=await i.digest();return`${n}
194${e}
195${t}
196${tv(a)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let r of e.split("/"))r?.length!==0&&"."!==r&&(".."===r?t.pop():t.push(r));let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`,n=tT(r);return n.replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw Error("Resolved credential object is not valid")}formatDate(e){let t=tU(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}let tz={},tH=[],tG=(e,t,r)=>`${e}/${t}/${r}/${tj}`,tq=async(e,t,r,n,i)=>{let a=await tK(e,t.secretAccessKey,t.accessKeyId),o=`${r}:${n}:${i}:${tv(a)}:${t.sessionToken}`;if(o in tz)return tz[o];for(tH.push(o);tH.length>50;)delete tz[tH.shift()];let s=`AWS4${t.secretAccessKey}`;for(let t of[r,n,i,tj])s=await tK(e,s,t);return tz[o]=s},tK=(e,t,r)=>{let n=new e(t);return n.update(tb(r)),n.digest()},tW=({headers:e},t,r)=>{let n={};for(let i of Object.keys(e).sort()){if(void 0==e[i])continue;let a=i.toLowerCase();(!(a in tD||t?.has(a)||tM.test(a)||tZ.test(a))||r&&(!r||r.has(a)))&&(n[a]=e[i].trim().replace(/\s+/g," "))}return n},tX=e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e),tY=async({headers:e,body:t},r)=>{for(let t of Object.keys(e))if(t.toLowerCase()===tO)return e[t];if(void 0==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||tX(t)){let e=new r;return e.update(tb(t)),tv(await e.digest())}return"UNSIGNED-PAYLOAD"},tJ=(e,t)=>{for(let r of(e=e.toLowerCase(),Object.keys(t)))if(e===r.toLowerCase())return!0;return!1},tQ=(e,t={})=>{let{headers:r,query:n={}}=eg.clone(e);for(let e of Object.keys(r)){let i=e.toLowerCase();("x-amz-"===i.slice(0,6)&&!t.unhoistableHeaders?.has(i)||t.hoistableHeaders?.has(i))&&(n[e]=r[e],delete r[e])}return{...e,headers:r,query:n}},t0=e=>{for(let t of Object.keys((e=eg.clone(e)).headers))tI.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e};class t1 extends tV{headerFormatter=new tS;constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:i,uriEscapePath:a=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:i,uriEscapePath:a})}async presign(e,t={}
196){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:i,unhoistableHeaders:a,signableHeaders:o,hoistableHeaders:s,signingRegion:l,signingService:u}=t,c=await this.credentialProvider();this.validateResolvedCredentials(c);let d=l??await this.regionProvider(),{longDate:h,shortDate:p}=this.formatDate(r);if(n>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let f=tG(p,d,u??this.service),m=tQ(t0(e),{unhoistableHeaders:a,hoistableHeaders:s});c.sessionToken&&(m.query[tP]=c.sessionToken),m.query["X-Amz-Algorithm"]=tF,m.query["X-Amz-Credential"]=`${c.accessKeyId}/${f}`,m.query[tC]=h,m.query["X-Amz-Expires"]=n.toString(10);let g=tW(m,i,o);return m.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(g),m.query[t_]=await this.getSignature(h,f,this.getSigningKey(c,d,p,u),this.createCanonicalRequest(m,g,await tY(e,this.sha256))),m}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:i,signingService:a,eventStreamCredentials:o}){let s=i??await this.regionProvider(),{shortDate:l,longDate:u}=this.formatDate(r),c=tG(l,s,a??this.service),d=await tY({headers:{},body:t},this.sha256),h=new this.sha256;h.update(e);let p=tv(await h.digest()),f=["AWS4-HMAC-SHA256-PAYLOAD",u,c,n,p,d].join("\n");return this.signString(f,{signingDate:r,signingRegion:s,signingService:a,eventStreamCredentials:o})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:i}){let a=this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature,eventStreamCredentials:i});return a.then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n,eventStreamCredentials:i}={}){let a=i??await this.credentialProvider();this.validateResolvedCredentials(a);let o=r??await this.regionProvider(),{shortDate:s}
196=this.formatDate(t),l=new this.sha256(await this.getSigningKey(a,o,s,n));return l.update(tb(e)),tv(await l.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:i,signingService:a}={}){let o=await this.credentialProvider();this.validateResolvedCredentials(o);let s=i??await this.regionProvider(),l=t0(e),{longDate:u,shortDate:c}=this.formatDate(t),d=tG(c,s,a??this.service);l.headers[tN]=u,o.sessionToken&&(l.headers[tL]=o.sessionToken);let h=await tY(l,this.sha256);!tJ(tO,l.headers)&&this.applyChecksum&&(l.headers[tO]=h);let p=tW(l,n,r),f=await this.getSignature(u,d,this.getSigningKey(o,s,c,a),this.createCanonicalRequest(l,p,h));return l.headers[tA]=`${tF} Credential=${o.accessKeyId}/${d}, SignedHeaders=${this.getCanonicalHeaderList(p)}, Signature=${f}`,l}async getSignature(e,t,r,n){let i=await this.createStringToSign(e,t,n,tF),a=new this.sha256(await r);return a.update(tb(i)),tv(await a.digest())}getSigningKey(e,t,r,n){return tq(this.sha256,e,r,t,n||this.service)}}let t2=e=>{let t,r,n=e.credentials,i=!!e.credentials;Object.defineProperty(e,"credentials",{set(r){r&&r!==n&&r!==t&&(i=!0),n=r;let a=function(e,{credentials:t,credentialDefaultProvider:r}){let n;return(n=t?t?.memoized?t:tf(t,th,tp):r?R(r(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")}).memoized=!0,n}(e,{credentials:n,credentialDefaultProvider:e.credentialDefaultProvider}),o=function(e,t){if(t.configBound)return t;let r=async r=>t({...r,callerClientConfig:e});return r.memoized=t.memoized,r.configBound=!0,r}(e,a);if(i&&!o.attributed){let e="object"==typeof n&&null!==n;(t=async t=>{let r=await o(t);return e&&(!r.$source||0===Object.keys(r.$source).length)?(r.$source||(r.$source={}),r.$source.CREDENTIALS_CODE="e",r):r}).memoized=o.memoized,t.configBound=o.configBound,t.attributed=!0}else t=o},get:()=>t,enumerable:!0,configurable:!0}),e.credentials=n;let{signingEscapePath:a=!0,systemClockOffset:o=e.systemClockOffset||0,sha256:s}=e;r=e.signer?R(e.signer):e.regionInfoProvider?()=>R(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,r])=>{let{signingRegion:n,signingService:i}=t;e.signingRegion=e.signingRegion||n||r,e.signingName=e.signingName||i||e.serviceId;let o={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:s,uriEscapePath:a},l=e.signerConstructor||t1;return new l(o)}):async t=>{t=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await R(e.region)(),properties:{}},t);let r=t.signingRegion,n=t.signingName;e.signingRegion=e.signingRegion||r,e.signingName=e.signingName||n||e.serviceId;let i={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:s,uriEscapePath:a},o=e.signerConstructor||t1;return new o(i)};let l=Object.assign(e,{systemClockOffset:o,signingEscapePath:a,signer:r});return l},t3=e=>e[eu]||(e[eu]={}),t4=async(e,t,r)=>({operation:t3(t).operation,region:await eL(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),t5=e=>{let t=[];return e.operation,t.push({schemeId:"aws.auth#sigv4",signingProperties:{name:"dynamodb",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}),t},t6=e=>{let t=t2(e);return Object.assign(t,{authSchemePreference:eL(e.authSchemePreference??[])})},t8=async e=>{let t=e?.Bucket||"";if("string"==typeof e.Bucket&&(e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),rr(t)){if(!0===e.ForcePathStyle)throw Error("Path-style addressing cannot be used with ARN buckets")}else rt(t)&&(-1===t.indexOf(".")||String(e.Endpoint).startsWith("http:"))&&t.toLowerCase()===t&&!(t.length<3)||(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e},t9=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,t7=/(\d+\.){3}\d+/,re=/\.\./,rt=e=>t9.test(e)&&!t7.test(e)&&!re.test(e),rr=e=>{let[t,r,n,,,i]=e.split(":"),a="arn"===t&&e.split(":").length>=6,o=!!(a&&r&&n&&i);if(a&&!o)throw Error(`Invalid ARN: ${e}
196 was an invalid ARN.`);return o},rn=(e,t,r,n=!1)=>{let i=async()=>{let i;if(n){let n=r.clientContextParams,a=n?.[e];i=a??r[e]??r[t]}else i=r[e]??r[t];return"function"==typeof i?i():i};return"credentialScope"===e||"CredentialScope"===t?async()=>{let e="function"==typeof r.credentials?await r.credentials():r.credentials,t=e?.credentialScope??e?.CredentialScope;return t}:"accountId"===e||"AccountId"===t?async()=>{let e="function"==typeof r.credentials?await r.credentials():r.credentials,t=e?.accountId??e?.AccountId;return t}:"endpoint"===e||"endpoint"===t?async()=>{if(!1===r.isCustomEndpoint)return;let e=await i();if(e&&"object"==typeof e){if("url"in e)return e.url.href;if("hostname"in e){let{protocol:t,hostname:r,port:n,path:i}=e;return`${t}//${r}${n?":"+n:""}${i}`}}return e}:i},ri=async(e,t,r,n)=>{if(!r.isCustomEndpoint){let e;(e=r.serviceConfiguredEndpoint?await r.serviceConfiguredEndpoint():await eD(r.serviceId))&&(r.endpoint=()=>Promise.resolve(eZ(e)),r.isCustomEndpoint=!0)}let i=await ra(e,t,r);if("function"!=typeof r.endpointProvider)throw Error("config.endpointProvider is not set.");let a=r.endpointProvider(i,n);if(r.isCustomEndpoint&&r.endpoint){let e=await r.endpoint();if(e?.headers)for(let[t,r]of(a.headers??={},Object.entries(e.headers)))a.headers[t]=Array.isArray(r)?r:[r]}return a},ra=async(e,t,r)=>{let n={},i=t?.getEndpointParameterInstructions?.()||{};for(let[t,a]of Object.entries(i))switch(a.type){case"staticContextParams":n[t]=a.value;break;case"contextParams":n[t]=e[a.name];break;case"clientContextParams":case"builtInParams":n[t]=await rn(a.name,t,r,"builtInParams"!==a.type)();break;case"operationContextParams":n[t]=a.get(e);break;default:throw Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(a))}return 0===Object.keys(i).length&&Object.assign(n,r),"s3"===String(r.serviceId).toLowerCase()&&await t8(n),n},ro=({config:e,instructions:t})=>(r,n)=>async i=>{e.isCustomEndpoint&&(n.__smithy_context?n.__smithy_context.features||(n.__smithy_context.features={}):n.__smithy_context={features:{}},n.__smithy_context.features.ENDPOINT_OVERRIDE="N");let a=await ri(i.input,{getEndpointParameterInstructions:()=>t},{...e},n);n.endpointV2=a,n.authSchemes=a.properties?.authSchemes;let o=n.authSchemes?.[0];if(o){n.signing_region=o.signingRegion,n.signing_service=o.signingName;let e=t3(n),t=e?.selectedHttpAuthScheme?.httpAuthOption;t&&(t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:o.signingRegion,signingRegion:o.signingRegion,signing_service:o.signingName,signingName:o.signingName,signingRegionSet:o.signingRegionSet},o.properties))}return r({...i})},rs={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},rl=(e,t)=>({applyToStack:r=>{r.addRelativeTo(ro({config:e,instructions:t}),rs)}}),ru=e=>"function"==typeof e?e():e,rc=[];function rd(e){if("object"==typeof e)return e;if(rc[e|=0])return rc[e];let t={},r=0;for(let n of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"])(e>>r++&1)==1&&(t[n]=1);return rc[e]=t}let rh={it:Symbol.for("@smithy/nor-struct-it"),ns:Symbol.for("@smithy/ns")},rp=[],rf={};class rm{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=rm.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(e,t){this.ref=e,this.memberName=t;let r=[],n=e,i=e;for(this._isMemberSchema=!1;rv(n);)r.push(n[1]),i=ru(n=n[0]),this._isMemberSchema=!0;if(r.length>0){this.memberTraits={};for(let e=r.length-1;e>=0;--e){let t=r[e];Object.assign(this.memberTraits,rd(t))}}else this.memberTraits=0;if(i instanceof rm){let e=this.memberTraits;Object.assign(this,i),this.memberTraits=Object.assign({},e,i.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,this.memberName=t??i.memberName;return}if(this.schema=ru(i),ry(this.schema)?(this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3]):(this.name=this.memberName??String(i),this.traits=0),this._isMemberSchema&&!t)throw Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](e){let t=this.prototype.isPrototypeOf(e);return t||"object"!=typeof e||null===e?t:e.symbol===this.symbol}static of(e){let t="function"==typeof e||"object"==typeof e&&null!==e;if("number"==typeof e){if(rp[e])return rp[e]}else if("string"==typeof e){if(rf[e])return rf[e]}else if(t&&e[rh.ns])return e[rh.ns];let r=ru(e);if(r instanceof rm)return r;if(rv(r)){let[t,n]=r;if(t instanceof rm)return Object.assign(t.getMergedTraits(),rd(n)),t;throw Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(e,null,2)}.`)}let n=new rm(r);
196return t?e[rh.ns]=n:"string"==typeof r?rf[r]=n:"number"==typeof r?rp[r]=n:n}getSchema(){let e=this.schema;return Array.isArray(e)&&0===e[0]?e[4]:e}getName(e=!1){let{name:t}=this,r=!e&&t&&t.includes("#");return r?t.split("#")[1]:t||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){let e=this.getSchema();return"number"==typeof e?e>=64&&e<128:1===e[0]}isMapSchema(){let e=this.getSchema();return"number"==typeof e?e>=128&&e<=255:2===e[0]}isStructSchema(){let e=this.getSchema();if("object"!=typeof e)return!1;let t=e[0];return 3===t||-3===t||4===t}isUnionSchema(){let e=this.getSchema();return"object"==typeof e&&4===e[0]}isBlobSchema(){let e=this.getSchema();return 21===e||42===e}isTimestampSchema(){let e=this.getSchema();return"number"==typeof e&&e>=4&&e<=7}isUnitSchema(){return"unit"===this.getSchema()}isDocumentSchema(){return 15===this.getSchema()}isStringSchema(){return 0===this.getSchema()}isBooleanSchema(){return 2===this.getSchema()}isNumericSchema(){return 1===this.getSchema()}isBigIntegerSchema(){return 17===this.getSchema()}isBigDecimalSchema(){return 19===this.getSchema()}isStreaming(){let{streaming:e}=this.getMergedTraits();return!!e||42===this.getSchema()}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return rd(this.memberTraits)}getOwnTraits(){return rd(this.traits)}getKeySchema(){let[e,t]=[this.isDocumentSchema(),this.isMapSchema()];if(!e&&!t)throw Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);let r=this.getSchema(),n=e?15:r[4]??0;return rg([n,0],"key")}getValueSchema(){let e=this.getSchema(),[t,r,n]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],i="number"==typeof e?63&e:e&&"object"==typeof e&&(r||n)?e[3+e[0]]:t?15:void 0;if(null!=i)return rg([i,0],r?"value":"member");throw Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(e){let t=this.getSchema();if(this.isStructSchema()&&t[4].includes(e)){let r=t[4].indexOf(e),n=t[5][r];return rg(rv(n)?n:[n,0],e)}if(this.isDocumentSchema())return rg([15,0],e);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${e}.`)}getMemberSchemas(){let e={};try{for(let[t,r]of this.structIterator())e[t]=r}catch(e){}return e}getEventStreamMember(){if(this.isStructSchema()){for(let[e,t]of this.structIterator())if(t.isStreaming()&&t.isStructSchema())return e}return""}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw Error("@smithy/core/schema - cannot iterate non-struct schema.");let e=this.getSchema(),t=e[4].length,r=e[rh.it];if(r&&t===r.length){yield*r;return}r=Array(t);for(let n=0;n<t;++n){let t=e[4][n],i=rg([e[5][n],0],t);yield r[n]=[t,i]}e[rh.it]=r}}function rg(e,t){return e instanceof rm?Object.assign(e,{memberName:t,_isMemberSchema:!0}):new rm(e,t)}let rv=e=>Array.isArray(e)&&2===e.length,ry=e=>Array.isArray(e)&&e.length>=5,rb="***SensitiveInformation***";function rS(e,t){if(null==t)return t;let r=rm.of(e);if(r.getMergedTraits().sensitive)return rb;if(r.isListSchema()){let e=!!r.getValueSchema().getMergedTraits().sensitive;if(e)return rb}else if(r.isMapSchema()){let e=!!r.getKeySchema().getMergedTraits().sensitive||!!r.getValueSchema().getMergedTraits().sensitive;if(e)return rb}else if(r.isStructSchema()&&"object"==typeof t){let e={};for(let[n,i]of r.structIterator())null!=t[n]&&(e[n]=rS(i,t[n]));return e}return t}class rw{middlewareStack=tl();schema;static classBuilder(){return new rx}resolveMiddlewareWithContext(e,t,r,{middlewareFn:n,clientName:i,commandName:a,inputFilterSensitiveLog:o,outputFilterSensitiveLog:s,smithyContext:l,additionalContext:u,CommandCtor:c}){for(let i of n.bind(this)(c,e,t,r))this.middlewareStack.use(i);let d=e.concat(this.middlewareStack),{logger:h}=t,p={logger:h,clientName:i,commandName:a,inputFilterSensitiveLog:o,outputFilterSensitiveLog:s,[eu]:{commandInstance:this,...l},...u},{requestHandler:f}=t;return d.resolve(e=>f.handle(e.request,r||{}),p)}}class rx{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;
196_serializer=null;_deserializer=null;_operationSchema;init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,r={}){return this._smithyContext={service:e,operation:t,...r},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}sc(e){return this._operationSchema=e,this._smithyContext.operationSchema=e,this}build(){let e;let t=this;return e=class extends rw{input;static getEndpointParameterInstructions(){return t._ep}constructor(...[e]){super(),this.input=e??{},t._init(this),this.schema=t._operationSchema}resolveMiddleware(r,n,i){let a=t._operationSchema,o=a?.[4]??a?.input,s=a?.[5]??a?.output;return this.resolveMiddlewareWithContext(r,n,i,{CommandCtor:e,middlewareFn:t._middlewareFn,clientName:t._clientName,commandName:t._commandName,inputFilterSensitiveLog:t._inputFilterSensitiveLog??(a?rS.bind(null,o):e=>e),outputFilterSensitiveLog:t._outputFilterSensitiveLog??(a?rS.bind(null,s):e=>e),smithyContext:t._smithyContext,additionalContext:t._additionalContext})}serialize=t._serializer;deserialize=t._deserializer}}}let rE=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"dynamodb"}),rT={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},AccountId:{type:"builtInParams",name:"accountId"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"},AccountIdEndpointMode:{type:"builtInParams",name:"accountIdEndpointMode"}};class rk{namespace;schemas;exceptions;static registries=new Map;constructor(e,t=new Map,r=new Map){this.namespace=e,this.schemas=t,this.exceptions=r}static for(e){return rk.registries.has(e)||rk.registries.set(e,new rk(e)),rk.registries.get(e)}copyFrom(e){let{schemas:t,exceptions:r}=this;for(let[r,n]of e.schemas)t.has(r)||t.set(r,n);for(let[t,n]of e.exceptions)r.has(t)||r.set(t,n)}register(e,t){let r=this.normalizeShapeId(e);for(let e of[this,rk.for(r.split("#")[0])])e.schemas.set(r,t)}getSchema(e){let t=this.normalizeShapeId(e);if(!this.schemas.has(t)){if(!e.includes("#")){let t="#"+e,r=[];for(let[e,n]of this.schemas.entries())e.endsWith(t)&&r.push(n);if(1===r.length)return r[0]}throw Error(`@smithy/core/schema - schema not found for ${t}`)}return this.schemas.get(t)}registerError(e,t){let r=e[1];for(let n of[this,rk.for(r)])n.schemas.set(r+"#"+e[2],e),n.exceptions.set(e,t)}getErrorCtor(e){if(this.exceptions.has(e))return this.exceptions.get(e);let t=rk.for(e[1]);return t.exceptions.get(e)}getBaseException(){for(let e of this.exceptions.keys())if(Array.isArray(e)){let[,t,r]=e,n=t+"#"+r;if(n.startsWith("smithy.ts.sdk.synthetic.")&&n.endsWith("ServiceException"))return e}}find(e){for(let t of this.schemas.values())if(e(t))return t}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(e){return e.includes("#")?e:this.namespace+"#"+e}}class rC extends Error{$fault;$response;$retryable;$metadata;constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(e){return!!e&&(rC.prototype.isPrototypeOf(e)||!!e.$fault&&!!e.$metadata&&("client"===e.$fault||"server"===e.$fault))}static[Symbol.hasInstance](e){return!!e&&(this===rC?rC.isInstance(e):!!rC.isInstance(e)&&(e.name&&this.name?this.prototype.isPrototypeOf(e)||e.name===this.name:this.prototype.isPrototypeOf(e)))}}class r_ extends rC{constructor(e){super(e),Object.setPrototypeOf(this,r_.prototype)}}class rP extends r_{name="BackupInUseException";$fault="client";constructor(e){super({name:"BackupInUseException",$fault:"client",...e}),Object.setPrototypeOf(this,rP.prototype)}}class rA extends r_{name="BackupNotFoundException";$fault="client";constructor(e){super({name:"BackupNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,rA.prototype)}}class rN extends r_{name="InternalServerError";$fault="server";constructor(e){super({name:"InternalServerError",$fault:"server",...e}),Object.setPrototypeOf(this,rN.prototype)}}class rI extends r_{name="RequestLimitExceeded";$fault="client";ThrottlingReasons;constructor(e){super({name:"RequestLimitExceeded",$fault:"client",...e}),Object.setPrototypeOf(this,rI.prototype),this.ThrottlingReasons=e.ThrottlingReasons}}class rR extends r_{name="ThrottlingException";$fault="client";throttlingReasons;constructor(e){super({name:"ThrottlingException",$fault:"client",...e}),Object.setPrototypeOf(this,rR.prototype),this.throttlingReasons=e.throttlingReasons}}class rO extends r_{name="InvalidEndpointException";$fault="client";Message;constructor(e){super({name:"InvalidEndpointException",$fault:"client",...e}),Object.setPrototypeOf(this,rO.prototype),this.Message=e.Message}}class rL extends r_{name="ProvisionedThroughputExceededException";$fault="client";ThrottlingReasons;constructor(e){super({name:"ProvisionedThroughputExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,rL.prototype),this.ThrottlingReasons=e.ThrottlingReasons}}class rD extends r_{name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,rD.prototype)}}class rM extends r_{name="ItemCollectionSizeLimitExceededException";$fault="client";constructor(e){super({name:"ItemCollectionSizeLimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,rM.prototype)}}class rZ extends r_{name="ReplicatedWriteConflictException";$fault="client";$retryable={};constructor(e){super({name:"ReplicatedWriteConflictException",$fault:"client",...e}),Object.setPrototypeOf(this,rZ.prototype)}}class rF extends r_{name="ContinuousBackupsUnavailableException";$fault="client";constructor(e){super({name:"ContinuousBackupsUnavailableException",$fault:"client",...e}),Object.setPrototypeOf(this,rF.prototype)}}class rj extends r_{name="LimitExceededException";$fault="client";constructor(e){super({name:"LimitExceededException",$fault:"client",...e}),Object.setPrototypeOf(this,rj.prototype)}}class rB extends r_{name="TableInUseException";$fault="client";constructor(e){super({name:"TableInUseException",$fault:"client",...e}),Object.setPrototypeOf(this,rB.prototype)}}class rU extends r_{name="TableNotFoundException";$fault="client";constructor(e){super({name:"TableNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,rU.prototype)}}class r$ extends r_{name="GlobalTableAlreadyExistsException";$fault="client";constructor(e){super({name:"GlobalTableAlreadyExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,r$.prototype)}}class rV extends r_{name="ResourceInUseException";$fault="client";constructor(e){super({name:"ResourceInUseException",$fault:"client",...e}),Object.setPrototypeOf(this,rV.prototype)}}class rz extends r_{name="TransactionConflictException";$fault="client";constructor(e){super({name:"TransactionConflictException",$fault:"client",...e}),Object.setPrototypeOf(this,rz.prototype)}}class rH extends r_{name="PolicyNotFoundException";$fault="client";constructor(e){super({name:"PolicyNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,rH.prototype)}}class rG extends r_{name="ExportNotFoundException";$fault="client";constructor(e){super({name:"ExportNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,rG.prototype)}}class rq extends r_{name="GlobalTableNotFoundException";$fault="client";constructor(e){super({name:"GlobalTableNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,rq.prototype)}}class rK extends r_{name="ImportNotFoundException";$fault="client";constructor(e){super({name:"ImportNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,rK.prototype)}}class rW extends r_{name="DuplicateItemException";$fault="client";constructor(e){super({name:"DuplicateItemException",$fault:"client",...e}),Object.setPrototypeOf(this,rW.prototype)}}class rX extends r_{name="IdempotentParameterMismatchException";$fault="client";Message;constructor(e){super({name:"IdempotentParameterMismatchException",$fault:"client",...e}),Object.setPrototypeOf(this,rX.prototype),this.Message=e.Message}}class rY extends r_{name="TransactionInProgressException";$fault="client";Message;constructor(e){super({name:"TransactionInProgressException",$fault:"client",...e}),Object.setPrototypeOf(this,rY.prototype),this.Message=e.Message}}class rJ extends r_{name="ExportConflictException";$fault="client";constructor(e){super({name:"ExportConflictException",$fault:"client",...e}),Object.setPrototypeOf(this,rJ.prototype)}}class rQ extends r_{name="InvalidExportTimeException";$fault="client";constructor(e){super({name:"InvalidExportTimeException",$fault:"client",...e}),Object.setPrototypeOf(this,rQ.prototype)}}class r0 extends r_{name="PointInTimeRecoveryUnavailableException";$fault="client";constructor(e){super({name:"PointInTimeRecoveryUnavailableException",$fault:"client",...e}),Object.setPrototypeOf(this,r0.prototype)}}class r1 extends r_{name="ImportConflictException";$fault="client";constructor(e){super({name:"ImportConflictException",$fault:"client",...e}),Object.setPrototypeOf(this,r1.prototype)}}class r2 extends r_{name="TableAlreadyExistsException";$fault="client";constructor(e){super({name:"TableAlreadyExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,r2.prototype)}}class r3 extends r_{name="InvalidRestoreTimeException";$fault="client";constructor(e){super({name:"InvalidRestoreTimeException",$fault:"client",...e}),Object.setPrototypeOf(this,r3.prototype)}}class r4 extends r_{name="ReplicaAlreadyExistsException";$fault="client";constructor(e){super({name:"ReplicaAlreadyExistsException",$fault:"client",...e}),Object.setPrototypeOf(this,r4.prototype)}}class r5 extends r_{name="ReplicaNotFoundException";$fault="client";constructor(e){super({name:"ReplicaNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,r5.prototype)}}class r6 extends r_{name="IndexNotFoundException";$fault="client";constructor(e){super({name:"IndexNotFoundException",$fault:"client",...e}),Object.setPrototypeOf(this,r6.prototype)}}class r8 extends r_{name="ConditionalCheckFailedException";$fault="client";Item;constructor(e){super({name:"ConditionalCheckFailedException",$fault:"client",...e}),Object.setPrototypeOf(this,r8.prototype),this.Item=e.Item}}class r9 extends r_{name="TransactionCanceledException";$fault="client";Message;CancellationReasons;constructor(e){super({name:"TransactionCanceledException",$fault:"client",...e}),Object.setPrototypeOf(this,r9.prototype),this.Message=e.Message,this.CancellationReasons=e.CancellationReasons}}let r7="AttributesToGet",ne="AttributeValueList",nt="ConsumedCapacity",nr="ConsistentRead",nn="CapacityUnits",ni="ExpressionAttributeNames",na="Endpoints",no="Item",ns="Message",nl="ProjectionExpression",nu="ReturnConsumedCapacity",nc="ReadCapacityUnits",nd="TableName",nh="ThrottlingReasons",np="WriteCapacityUnits",nf="client",nm="error",ng="httpError",nv="message",ny="smithy.ts.sdk.synthetic.com.amazonaws.dynamodb",nb="com.amazonaws.dynamodb",nS=rk.for(ny);var nw=[-3,ny,"DynamoDBServiceException",0,[],[]];nS.registerError(nw,r_);let nx=rk.for(nb);var nE=[-3,nb,"BackupInUseException",{[nm]:nf},[nv],[0]];nx.registerError(nE,rP);var nT=[-3,nb,"BackupNotFoundException",{[nm]:nf},[nv],[0]];nx.registerError(nT,rA);var nk=[-3,nb,"ConditionalCheckFailedException",{[nm]:nf},[nv,no],[0,()=>im]];nx.registerError(nk,r8);var nC=[-3,nb,"ContinuousBackupsUnavailableException",{[nm]:nf},[nv],[0]];nx.registerError(nC,rF);var n_=[-3,nb,"DuplicateItemException",{[nm]:nf},[nv],[0]];nx.registerError(n_,rW);var nP=[-3,nb,"ExportConflictException",{[nm]:nf},[nv],[0]];nx.registerError(nP,rJ);var nA=[-3,nb,"ExportNotFoundException",{[nm]:nf},[nv],[0]];nx.registerError(nA,rG);var nN=[-3,nb,"GlobalTableAlreadyExistsException",{[nm]:nf},[nv],[0]];nx.registerError(nN,r$);var nI=[-3,nb,"GlobalTableNotFoundException",{[nm]:nf},[nv],[0]];nx.registerError(nI,rq);var nR=[-3,nb,"IdempotentParameterMismatchException",{[nm]:nf},[ns],[0]];nx.registerError(nR,rX);var nO=[-3,nb,"ImportConflictException",{[nm]:nf},[nv],[0]];nx.registerError(nO,r1);var nL=[-3,nb,"ImportNotFoundException",{[nm]:nf},[nv],[0]];nx.registerError(nL,rK);var nD=[-3,nb,"IndexNotFoundException",{[nm]:nf},[nv],[0]];nx.registerError(nD,r6);var nM=[-3,nb,"InternalServerError",{[nm]:"server"},[nv],[0]];nx.registerError(nM,rN);var nZ=[-3,nb,"InvalidEndpointException",{[nm]:nf,[ng]:421},[ns],[0]];nx.registerError(nZ,rO);var nF=[-3,nb,"InvalidExportTimeException",{[nm]:nf},[nv],[0]];nx.registerError(nF,rQ);var nj=[-3,nb,"InvalidRestoreTimeException",{[nm]:nf},[nv],[0]];nx.registerError(nj,r3);var nB=[-3,nb,"ItemCollectionSizeLimitExceededException",{[nm]:nf},[nv],[0]];nx.registerError(nB,rM);var nU=[-3,nb,"LimitExceededException",{[nm]:nf},[nv],[0]];nx.registerError(nU,rj);var n$=[-3,nb,"PointInTimeRecoveryUnavailableException",{[nm]:nf},[nv],[0]];nx.registerError(n$,r0);var nV=[-3,nb,"PolicyNotFoundException",{[nm]:nf},[nv],[0]];nx.registerError(nV,rH);var nz=[-3,nb,"ProvisionedThroughputExceededException",{[nm]:nf},[nv,nh],[0,()=>ip]];nx.registerError(nz,rL);var nH=[-3,nb,"ReplicaAlreadyExistsException",{[nm]:nf},[nv],[0]];nx.registerError(nH,r4);var nG=[-3,nb,"ReplicaNotFoundException",{[nm]:nf},[nv],[0]];nx.registerError(nG,r5);var nq=[-3,nb,"ReplicatedWriteConflictException",{[nm]:nf},[nv],[0]];nx.registerError(nq,rZ);var nK=[-3,nb,"RequestLimitExceeded",{[nm]:nf},[nv,nh],[0,()=>ip]];nx.registerError(nK,rI);var nW=[-3,nb,"ResourceInUseException",{[nm]:nf},[nv],[0]];nx.registerError(nW,rV);var nX=[-3,nb,"ResourceNotFoundException",{[nm]:nf},[nv],[0]];nx.registerError(nX,rD);var nY=[-3,nb,"TableAlreadyExistsException",{[nm]:nf},[nv],[0]];nx.registerError(nY,r2);var nJ=[-3,nb,"TableInUseException",{[nm]:nf},[nv],[0]];nx.registerError(nJ,rB);var nQ=[-3,nb,"TableNotFoundException",{[nm]:nf},[nv],[0]];nx.registerError(nQ,rU);var n0=[-3,nb,"ThrottlingException",{awsQueryError:["Throttling",400],[nm]:nf,[ng]:400},[nv,"throttlingReasons"],[0,()=>ip]];nx.registerError(n0,rR);var n1=[-3,nb,"TransactionCanceledException",{[nm]:nf},[ns,"CancellationReasons"],[0,()=>iu]];nx.registerError(n1,r9);var n2=[-3,nb,"TransactionConflictException",{[nm]:nf},[nv],[0]];nx.registerError(n2,rz);var n3=[-3,nb,"TransactionInProgressException",{[nm]:nf},[ns],[0]];nx.registerError(n3,rY);let n4=[nS,nx];var n5=[3,nb,"CancellationReason",0,[no,"Code",ns],[()=>im,0,0]],n6=[3,nb,"Capacity",0,[nc,np,nn],[1,1,1]],n8=[3,nb,"Condition",0,["ComparisonOperator",ne],[0,()=>il],1],n9=[3,nb,nt,0,[nd,nn,nc,np,"Table","LocalSecondaryIndexes","GlobalSecondaryIndexes"],[0,1,1,1,()=>n6,()=>iS,()=>iS]],n7=[3,nb,"DescribeEndpointsRequest",0,[],[]],ie=[3,nb,"DescribeEndpointsResponse",0,[na],[()=>ic],1],it=[3,nb,"Endpoint",0,["Address","CachePeriodInMinutes"],[0,1],2],ir=[3,nb,"GetItemInput",0,[nd,"Key",r7,nr,nu,nl,ni],[0,()=>iy,64,2,0,0,128],2],ii=[3,nb,"GetItemOutput",0,[no,nt],[()=>im,()=>n9]],ia=[3,nb,"ScanInput",0,[nd,"IndexName",r7,"Limit","Select","ScanFilter","ConditionalOperator","ExclusiveStartKey",nu,"TotalSegments","Segment",nl,"FilterExpression",ni,"ExpressionAttributeValues",nr],[0,0,64,1,0,()=>iv,0,()=>iy,0,1,1,0,0,128,()=>ig,2],1],io=[3,nb,"ScanOutput",0,["Items","Count","ScannedCount","LastEvaluatedKey",nt],[()=>id,1,1,()=>iy,()=>n9]],is=[3,nb,"ThrottlingReason",0,["reason","resource"],[0,0]],il=[1,nb,ne,0,()=>iw],iu=[1,nb,"CancellationReasonList",0,()=>n5],ic=[1,nb,na,0,()=>it],id=[1,nb,"ItemList",0,()=>im],ih=[1,nb,"ListAttributeValue",0,()=>iw],ip=[1,nb,"ThrottlingReasonList",0,()=>is],im=[2,nb,"AttributeMap",0,0,()=>iw],ig=[2,nb,"ExpressionAttributeValueMap",0,0,()=>iw],iv=[2,nb,"FilterConditionMap",0,0,()=>n8],iy=[2,nb,"Key",0,0,()=>iw],ib=[2,nb,"MapAttributeValue",0,0,()=>iw],iS=[2,nb,"SecondaryIndexesCapacityMap",0,0,()=>n6],iw=[4,nb,"AttributeValue",0,["S","N","B","SS","NS","BS","M","L","NULL","BOOL"],[0,0,21,64,64,85,()=>ib,()=>ih,2,2]],ix=[9,nb,"DescribeEndpoints",0,()=>n7,()=>ie],iE=[9,nb,"GetItem",0,()=>ir,()=>ii],iT=[9,nb,"Scan",0,()=>ia,()=>io];class
196 ik extends rw.classBuilder().ep(rT).m(function(e,t,r,n){return[rl(r,e.getEndpointParameterInstructions())]}).s("DynamoDB_20120810","DescribeEndpoints",{}).n("DynamoDBClient","DescribeEndpointsCommand").sc(ix).build(){}var iC={i8:"3.1020.0"},i_=r(21876).Buffer,iP=void 0!==i_&&i_.from?function(e){return i_.from(e,"utf8")}:e=>new TextEncoder().encode(e);function iA(e){return e instanceof Uint8Array?e:"string"==typeof e?iP(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function iN(e){return"string"==typeof e?0===e.length:0===e.byteLength}var iI={name:"SHA-256"},iR={name:"HMAC",hash:iI},iO=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]);let iL={};function iD(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:iL}var iM=function(){function e(e){this.toHash=new Uint8Array(0),this.secret=e,this.reset()}return e.prototype.update=function(e){if(!iN(e)){var t=iA(e),r=new Uint8Array(this.toHash.byteLength+t.byteLength);r.set(this.toHash,0),r.set(t,this.toHash.byteLength),this.toHash=r}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return iD().crypto.subtle.sign(iR,t,e.toHash).then(function(e){return new Uint8Array(e)})}):iN(this.toHash)?Promise.resolve(iO):Promise.resolve().then(function(){return iD().crypto.subtle.digest(iI,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){var e=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(t,r){iD().crypto.subtle.importKey("raw",iA(e.secret),iR,!1,["sign"]).then(t,r)}),this.key.catch(function(){}))},e}(),iZ=r(97582),iF=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),ij=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],iB=function(){function e(){this.state=Int32Array.from(ij),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw Error("Attempted to update an already finished hash.");var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>9007199254740991)throw Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%64>=56){for(var n=this.bufferLength;n<64;n++)t.setUint8(n,0);this.hashBuffer(),this.bufferLength=0}for(var n=this.bufferLength;n<56;n++)t.setUint8(n,0);t.setUint32(56,Math.floor(e/4294967296),!0),t.setUint32(60,e),this.hashBuffer(),this.finished=!0}for(var i=new Uint8Array(32),n=0;n<8;n++)i[4*n]=this.state[n]>>>24&255,i[4*n+1]=this.state[n]>>>16&255,i[4*n+2]=this.state[n]>>>8&255,i[4*n+3]=this.state[n]>>>0&255;return i},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],s=t[5],l=t[6],u=t[7],c=0;c<64;c++){if(c<16)this.temp[c]=(255&e[4*c])<<24|(255&e[4*c+1])<<16|(255&e[4*c+2])<<8|255&e[4*c+3];else{var d=this.temp[c-2],h=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,p=((d=this.temp[c-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[c]=(h+this.temp[c-7]|0)+(p+this.temp[c-16]|0)}var f=(((o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7))+(o&s^~o&l)|0)+(u+(iF[c]+this.temp[c]|0)|0)|0,m=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&i^n&i)|0;u=l,l=s,s=o,o=a+f|0,a=i,i=n,n=r,r=f+m|0}t[0]+=r,t[1]+=n,t[2]+=i,t[3]+=a,t[4]+=o,t[5]+=s,t[6]+=l,t[7]+=u},e}(),iU=function(){function e(e){this.secret=e,this.hash=new iB,this.reset()}return e.prototype.update=function(e){if(!iN(e)&&!this.error)try{this.hash.update(iA(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return(0,iZ.mG)(this,void 0,void 0,function(){return(0,iZ.Jh)(this,function(e){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new iB,this.secret){this.outer=new iB;var e=function(e){var t=iA(e);if(t.byteLength>64){var r=new iB;r.update(t),t=r.digest()}var n=new Uint8Array(64);return n.set(t),n}(this.secret),t=new Uint8Array(64);t.set(e);for(var r=0;r<64;r++)e[r]^=54,t[r]^=92;this.hash.update(e),this.outer.update(t);for(var r=0;r<e.byteLength;r++)e[r]=0}},e}(),i$=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"],iV=function(){function e(e){var t,r,n;"object"==typeof(r=t=iD())&&"object"==typeof r.crypto&&"function"==typeof r.crypto.getRandomValues&&"object"==typeof t.crypto.subtle&&(n=t.crypto.subtle)&&i$.every(function(e){return"function"==typeof n[e]})?this.hash=new iM(e):this.hash=new iU(e)}return e.prototype.update=function(e,t){this.hash.update(iA(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}();let iz=({serviceId:e,clientVersion:t})=>async r=>{let n="undefined"!=typeof window?window.navigator:void 0,i=n?.userAgent??"",a=n?.userAgentData?.platform??iH.os(i)??"other",o=n?.userAgentData?.brands??[],s=o[o.length-1],l=s?.brand??iH.browser(i)??"unknown",u=s?.version??"unknown",c=[["aws-sdk-js",t],["ua","2.1"],[`os/${a}`,void 0],["lang/js"],["md/browser",`${l}_${u}`]];e&&c.push([`api/${e}`,t]);let d=await r?.userAgentAppId?.();return d&&c.push([`app/${d}`]),c},iH={os:e=>/iPhone|iPad|iPod/.test(e)?"iOS":/Macintosh|Mac OS X/.test(e)?"macOS":/Windows NT/.test(e)?"Windows":/Android/.test(e)?"Android":/Linux/.test(e)?"Linux":void 0,browser:e=>/EdgiOS|EdgA|Edg\//.test(e)?"Microsoft Edge":/Firefox\//.test(e)?"Firefox":/Chrome\//.test(e)?"Chrome":/Safari\//.test(e)?"Safari":void 0};
196function iG(e,t){return new Request(e,t)}(u=m||(m={})).ENV="env",u.CONFIG="shared config entry";let iq={supported:void 0};class iK{config;configProvider;static create(e){return"function"==typeof e?.handle?e:new iK(e)}constructor(e){"function"==typeof e?this.configProvider=e().then(e=>e||{}):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),void 0===iq.supported&&(iq.supported=!!("undefined"!=typeof Request&&"keepalive"in iG("https://[::1]")))}destroy(){}async handle(e,{abortSignal:t,requestTimeout:r}={}){this.config||(this.config=await this.configProvider);let n=r??this.config.requestTimeout,i=!0===this.config.keepAlive,a=this.config.credentials;if(t?.aborted){let e=iW(t);return Promise.reject(e)}let o=e.path,s=function(e){let t=[];for(let r of Object.keys(e).sort()){let n=e[r];if(r=tT(r),Array.isArray(n))for(let e=0,i=n.length;e<i;e++)t.push(`${r}=${tT(n[e])}`);else{let e=r;(n||"string"==typeof n)&&(e+=`=${tT(n)}`),t.push(e)}}return t.join("&")}(e.query||{});s&&(o+=`?${s}`),e.fragment&&(o+=`#${e.fragment}`);let l="";if(null!=e.username||null!=e.password){let t=e.username??"",r=e.password??"";l=`${t}:${r}@`}let{port:u,method:c}=e,d=`${e.protocol}//${l}${e.hostname}${u?`:${u}`:""}${o}`,h="GET"===c||"HEAD"===c?void 0:e.body,p={body:h,headers:new Headers(e.headers),method:c,credentials:a};this.config?.cache&&(p.cache=this.config.cache),h&&(p.duplex="half"),"undefined"!=typeof AbortController&&(p.signal=t),iq.supported&&(p.keepalive=i),"function"==typeof this.config.requestInit&&Object.assign(p,this.config.requestInit(e));let f=()=>{},m=iG(d,p),g=[fetch(m).then(e=>{let t=e.headers,r={};for(let e of t.entries())r[e[0]]=e[1];let n=void 0!=e.body;return n?{response:new ex({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}:e.blob().then(t=>({response:new ex({headers:r,reason:e.statusText,statusCode:e.status,body:t})}))}),function(e=0){return new Promise((t,r)=>{e&&setTimeout(()=>{let t=Error(`Request did not complete within ${e} ms`);t.name="TimeoutError",r(t)},e)})}(n)];return t&&g.push(new Promise((e,r)=>{let n=()=>{let e=iW(t);r(e)};"function"==typeof t.addEventListener?(t.addEventListener("abort",n,{once:!0}),f=()=>t.removeEventListener("abort",n)):t.onabort=n})),Promise.race(g).finally(f)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(r=>(r[e]=t,r))}httpHandlerConfigs(){return this.config??{}}}function iW(e){let t=e&&"object"==typeof e&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let e=Error("Request aborted");return e.name="AbortError",e.cause=t,e}let e=Error(String(t));return e.name="AbortError",e}let r=Error("Request aborted");return r.name="AbortError",r}let iX="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",iY=Object.entries(iX).reduce((e,[t,r])=>(e[r]=Number(t),e),{}),iJ=iX.split(""),iQ=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;let r=new ArrayBuffer(t),n=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,i=0;for(let n=t,a=t+3;n<=a;n++)if("="!==e[n]){if(!(e[n]in iY))throw TypeError(`Invalid character ${e[n]} in base64 string.`);r|=iY[e[n]]<<(a-n)*6,i+=6}else r>>=6;let a=t/4*3;r>>=i%8;let o=Math.floor(i/8);for(let e=0;e<o;e++){let t=(o-e-1)*8;n.setUint8(a+e,(r&255<<t)>>t)}}return new Uint8Array(r)},i0=async e=>"function"==typeof Blob&&e instanceof Blob||e.constructor?.name==="Blob"?void 0!==Blob.prototype.arrayBuffer?new Uint8Array(await e.arrayBuffer()):i1(e):i2(e);async function i1(e){let t=await new Promise((t,r)=>{let n=new FileReader;n.onloadend=()=>{if(2!==n.readyState)return r(Error("Reader aborted too early"));let e=n.result??"",i=e.indexOf(","),a=i>-1?i+1:e.length;t(e.substring(a))},n.onabort=()=>r(Error("Read aborted")),n.onerror=()=>r(n.error),n.readAsDataURL(e)}),r=iQ(t);return new Uint8Array(r)}async function i2(e){let t=[],r=e.getReader(),n=!1,i=0;for(;!n;){let{done:e,value:a}=await r.read();a&&(t.push(a),i+=a.length),n=e}let a=new Uint8Array(i),o=0;for(let e of t)a.set(e,o),o+=e.length;return a}let i3=e=>()=>Promise.reject(e),i4=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},i5="function"==typeof TextEncoder?new TextEncoder:null,i6=e=>{if("string"==typeof e){if(i5)return i5.encode(e).byteLength;let t=e.length;for(let r=t-1;r>=0;r--){let n=e.charCodeAt(r);n>127&&n<=2047?t++:n>2047&&n<=65535&&(t+=2),n>=56320&&n<=57343&&r--}return t}if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.size)return e.size;throw Error(`Body Length computation failed for ${e}`)},i8=(e,t,r)=>{let n,i,a;let o=!1,s=async()=>{i||(i=e());try{n=await i,a=!0,o=!1}finally{i=void 0}return n};return void 0===t?async e=>((!a||e?.forceRefresh)&&(n=await s()),n):async e=>((!a||e?.forceRefresh)&&(n=await s()),o||(r&&!r(n)?o=!0:t(n)&&await s()),n)},i9=["in-region","cross-region","mobile","standard","legacy"],i7=({defaultsMode:e}={})=>i8(async()=>{let t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve(ae()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw Error(`Invalid parameter for "defaultsMode", expect ${i9.join(", ")}, got ${t}`)}}),ae=()=>{let e=window?.navigator;if(e?.connection){let{effectiveType:t,rtt:r,downlink:n}=e?.connection,i="string"==typeof t&&"4g"!==t||Number(r)>100||10>Number(n);if(i)return!0}return e?.userAgentData?.mobile||"number"==typeof e?.maxTouchPoints&&e?.maxTouchPoints>1},at=e=>new Date(Date.now()+e),ar=e=>ex.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,an=(e,t)=>Math.abs(at(t).getTime()-e)>=3e5,ai=(e,t)=>{let r=Date.parse(e);return an(r,t)?r-Date.now():t},aa=(e,t)=>{if(!t)throw Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t},ao=async e=>{let t=aa("context",e.context),r=aa("config",e.config),n=t.endpointV2?.properties?.authSchemes?.[0],i=aa("signer",r.signer),a=await i(n),o=e?.signingRegion,s=e?.signingRegionSet,l=e?.signingName;return{config:r,signer:a,signingRegion:o,signingRegionSet:s,signingName:l}};class as{async sign(e,t,r){if(!eg.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let n=await ao(r),{config:i,signer:a}=n,{signingRegion:o,signingName:s}=n,l=r.context;if(l?.authSchemes?.length){let[e,t]=l.authSchemes;e?.name==="sigv4a"&&t?.name==="sigv4"&&(o=t?.signingRegion??o,s=t?.signingName??s)}let u=await a.sign(e,{signingDate:at(i.systemClockOffset),signingRegion:o,signingService:s});return u}errorHandler(e){return t=>{let r=t.ServerTime??ar(t.$response);if(r){let n=aa("config",e.config),i=n.systemClockOffset;n.systemClockOffset=ai(r,n.systemClockOffset);let a=n.systemClockOffset!==i;a&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){let r=ar(e);if(r){let e=aa("config",t.config);e.systemClockOffset=ai(r,e.systemClockOffset)}}}class al{serdeContext;setSerdeContext(e){this.serdeContext=e}}class au extends al{options;compositeErrorRegistry;constructor(e){for(let t of(super(),this.options=e,this.compositeErrorRegistry=rk.for(e.defaultNamespace),e.errorTypeRegistries??[]))this.compositeErrorRegistry.copyFrom(t)}getRequestType(){return eg}getResponseType(){return ex}setSerdeContext(e){this.serdeContext=e,this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(e)}updateServiceEndpoint(e,t){if("url"in t){for(let[r,n]of(e.protocol=t.url.protocol,e.hostname=t.url.hostname,e.port=t.url.port?Number(t.url.port):void 0,e.path=t.url.pathname,e.fragment=t.url.hash||void 0,e.username=t.url.username||void 0,e.password=t.url.password||void 0,e.query||(e.query={}
196),t.url.searchParams.entries()))e.query[r]=n;if(t.headers)for(let r in t.headers)e.headers[r]=t.headers[r].join(", ");return e}if(e.protocol=t.protocol,e.hostname=t.hostname,e.port=t.port?Number(t.port):void 0,e.path=t.path,e.query={...t.query},t.headers)for(let r in t.headers)e.headers[r]=t.headers[r];return e}setHostPrefix(e,t,r){if(this.serdeContext?.disableHostPrefix)return;let n=rm.of(t.input),i=rd(t.traits??{});if(i.endpoint){let t=i.endpoint?.[0];if("string"==typeof t){for(let[e,i]of n.structIterator()){if(!i.getMergedTraits().hostLabel)continue;let n=r[e];if("string"!=typeof n)throw Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`);t=t.replace(`{${e}}`,n)}e.hostname=t+e.hostname}}}deserializeMetadata(e){return{httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r}){let n=await this.loadEventStreamCapability();return n.serializeEventStream({eventStream:e,requestSchema:t,initialRequest:r})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r}){let n=await this.loadEventStreamCapability();return n.deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:r})}async loadEventStreamCapability(){let{EventStreamSerde:e}=await r.e(846).then(r.bind(r,50846));return new e({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,r,n,i){return[]}getEventStreamMarshaller(){let e=this.serdeContext;if(!e.eventStreamMarshaller)throw Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.");return e.eventStreamMarshaller}}function ac(e){let t;t="string"==typeof e?(0,ty.$)(e):e;let r="object"==typeof t&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let i="";for(let e=0;e<t.length;e+=3){let r=0,n=0;for(let i=e,a=Math.min(e+3,t.length);i<a;i++)r|=t[i]<<(a-i-1)*8,n+=8;let a=Math.ceil(n/6);r<<=6*a-n;for(let e=1;e<=a;e++){let t=(a-e)*6;i+=iJ[(r&63<<t)>>t]}i+="==".slice(0,4-a)}return i}function ad(e,t,r,n){return class i extends Uint8Array{static fromString(e,r="utf-8"){if("string"==typeof e)return"base64"===r?i.mutate(n(e)):i.mutate(t(e));throw Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,i.prototype),e}transformToString(t="utf-8"){return"base64"===t?r(this):e(this)}}}var ah=r(30909);let ap=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));Symbol.for("node-only");class af extends ad(ah.G,ty.$,ac,iQ){}let am=(c=e=>crypto.getRandomValues(e),"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?()=>crypto.randomUUID():()=>{let e=new Uint8Array(16);return c(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128,ap[e[0]]+ap[e[1]]+ap[e[2]]+ap[e[3]]+"-"+ap[e[4]]+ap[e[5]]+"-"+ap[e[6]]+ap[e[7]]+"-"+ap[e[8]]+ap[e[9]]+"-"+ap[e[10]]+ap[e[11]]+ap[e[12]]+ap[e[13]]+ap[e[14]]+ap[e[15]]}),ag=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return af.mutate(e);if(!e)return af.mutate(new Uint8Array);let r=t.streamCollector(e);return af.mutate(await r)};class av extends au{async serializeRequest(e,t,r){let n;let i=this.serializer,a={},o={},s=await r.endpoint(),l=rm.of(e?.input),u=l.getSchema(),c=t&&"object"==typeof t?t:{},d=new eg({protocol:"",hostname:"",port:void 0,path:"/",fragment:void 0,query:a,headers:o,body:void 0});if(s&&(this.updateServiceEndpoint(d,s),this.setHostPrefix(d,e,c)),c){let e=l.getEventStreamMember();if(e){if(c[e]){let t={};for(let[r,n]of l.structIterator())r!==e&&c[r]&&(i.write(n,c[r]),t[r]=i.flush());n=await this.serializeEventStream({eventStream:c[e],requestSchema:l,initialRequest:t})}}else i.write(u,c),n=i.flush()}return d.headers=Object.assign(d.headers,o),d.query=a,d.body=n,d.method="POST",d}async deserializeResponse(e,t,r){let n=this.deserializer,i=rm.of(e.output),a={};if(r.statusCode>=300){let i=await ag(r.body,t);throw i.byteLength>0&&Object.assign(a,await n.read(15,i)),await this.handleError(e,t,r,a,this.deserializeMetadata(r)),Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(let e in r.headers){let t=r.headers[e];delete r.headers[e],r.headers[e.toLowerCase()]=t}let o=i.getEventStreamMember();if(o)a[o]=await this.deserializeEventStream({response:r,responseSchema:i,initialResponseContainer:a});else{let e=await ag(r.body,t);e.byteLength>0&&Object.assign(a,await n.read(i,e))}return a.$metadata=this.deserializeMetadata(r),a}}
196class ay extends Error{$fault;$response;$retryable;$metadata;constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(e){return!!e&&(ay.prototype.isPrototypeOf(e)||!!e.$fault&&!!e.$metadata&&("client"===e.$fault||"server"===e.$fault))}static[Symbol.hasInstance](e){return!!e&&(this===ay?ay.isInstance(e):!!ay.isInstance(e)&&(e.name&&this.name?this.prototype.isPrototypeOf(e)||e.name===this.name:this.prototype.isPrototypeOf(e)))}}let ab=(e,t={})=>{Object.entries(t).filter(([,e])=>void 0!==e).forEach(([t,r])=>{(void 0==e[t]||""===e[t])&&(e[t]=r)});let r=e.message||e.Message||"UnknownError";return e.message=r,delete e.Message,e};class aS{queryCompat;errorRegistry;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){let r=t.getMemberSchemas(),n=Object.values(r).find(e=>!!e.getMergedTraits().httpPayload);if(n){let t=n.getMergedTraits().mediaType;return t||(n.isStringSchema()?"text/plain":n.isBlobSchema()?"application/octet-stream":e)}if(!t.isUnitSchema()){let t=Object.values(r).find(e=>{let{httpQuery:t,httpQueryParams:r,httpHeader:n,httpLabel:i,httpPrefixHeaders:a}=e.getMergedTraits();return!t&&!r&&!n&&!i&&void 0===a});if(t)return e}}async getErrorSchemaOrThrowBaseException(e,t,r,n,i,a){let o=e;e.includes("#")&&([,o]=e.split("#"));let s={$metadata:i,$fault:r.statusCode<500?"client":"server"};if(!this.errorRegistry)throw Error("@aws-sdk/core/protocols - error handler not initialized.");try{let t=a?.(this.errorRegistry,o)??this.errorRegistry.getSchema(e);return{errorSchema:t,errorMetadata:s}}catch(i){n.message=n.message??n.Message??"UnknownError";let e=this.errorRegistry,t=e.getBaseException();if(t){let r=e.getErrorCtor(t)??Error;throw this.decorateServiceException(Object.assign(new r({name:o}),s),n)}let r=n?.message??n?.Message??n?.Error?.Message??n?.Error?.message;throw this.decorateServiceException(Object.assign(Error(r),{name:o},s),n)}}compose(e,t,r){let n=r;t.includes("#")&&([n]=t.split("#"));let i=rk.for(n),a=rk.for("smithy.ts.sdk.synthetic."+r);e.copyFrom(i),e.copyFrom(a),this.errorRegistry=e}decorateServiceException(e,t={}){if(this.queryCompat){let r=e.Message??t.Message,n=ab(e,t);r&&(n.message=r);let i=n.Error??{};i.Type=n.Error?.Type,i.Code=n.Error?.Code,i.Message=n.Error?.message??n.Error?.Message??r,n.Error=i;let a=n.$metadata.requestId;return a&&(n.RequestId=a),n}return ab(e,t)}setQueryCompatError(e,t){let r=t.headers?.["x-amzn-query-error"];if(void 0!==e&&null!=r){let[t,n]=r.split(";"),i=Object.keys(e),a={Code:t,Type:n};e.Code=t,e.Type=n;for(let t=0;t<i.length;t++){let r=i[t];a["message"===r?"Message":r]=e[r]}delete a.__type,e.Error=a}}queryCompatOutput(e,t){e.Error&&(t.Error=e.Error),e.Type&&(t.Type=e.Type),e.Code&&(t.Code=e.Code)}findQueryCompatibleError(e,t){try{return e.getSchema(t)}catch(r){return e.find(e=>rm.of(e).getMergedTraits().awsQueryError?.[0]===t)}}}class aw{serdeContext;setSerdeContext(e){this.serdeContext=e}}function ax(e,t){if(t.timestampFormat.useTrait&&e.isTimestampSchema()&&(5===e.getSchema()||6===e.getSchema()||7===e.getSchema()))return e.getSchema();let{httpLabel:r,httpPrefixHeaders:n,httpHeader:i,httpQuery:a}=e.getMergedTraits(),o=t.httpBindings?"string"==typeof n||i?6:a||r?5:void 0:void 0;return o??t.timestampFormat.default}let aE=function(e){let t=Object.assign(new String(e),{deserializeJSON:()=>JSON.parse(String(e)),toString:()=>String(e),toJSON:()=>String(e)});return t};aE.from=e=>e&&"object"==typeof e&&(e instanceof aE||"deserializeJSON"in e)?e:"string"==typeof e||Object.getPrototypeOf(e)===String.prototype?aE(String(e)):aE(JSON.stringify(e)),aE.fromObject=aE.from;let aT=e=>{if(null!=e){if("string"==typeof e){let t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&aj.warn(aF(`Expected number but observed string: ${e}`)),t}if("number"==typeof e)return e;throw TypeError(`Expected number, got ${typeof e}: ${e}`)}},ak=Math.ceil(17014118346046923e22*(2-11920928955078125e-23)),aC=e=>{let t=aT(e);if(void 0!==t&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>ak)throw TypeError(`Expected 32-bit float, got ${e}`);return t},a_=e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw TypeError(`Expected integer, got ${typeof e}: ${e}`)}},aP=e=>aN(e,16),aA=e=>aN(e,8),aN=(e,t)=>{let r=a_(e);if(void 0!==r&&aI(r,t)!==r)throw TypeError(`Expected ${t}-bit integer, got ${e}`);return r},aI=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},aR=e=>"string"==typeof e?aT(aD(e)):aT(e),aO=e=>"string"==typeof e?aC(aD(e)):aC(e),aL=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,aD=e=>{let t=e.match(aL);if(null===t||t[0].length!==e.length)throw TypeError("Expected real number, got implicit NaN");return parseFloat(e)},aM=e=>"string"==typeof e?aP(aD(e)):aP(e),aZ=e=>"string"==typeof e?aA(aD(e)):aA(e),aF=e=>String(TypeError(e).stack||e).split("\n").slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join("\n"),aj={warn:console.warn},aB=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],aU=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a$=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),aV=e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC-3339 date-times must be expressed as strings");let t=a$.exec(e);if(!t)throw TypeError("Invalid RFC-3339 date-time value");let[r,n,i,a,o,s,l,u,c]=t,d=aM(a5(n)),h=a2(i,"month",1,12),p=a2(a,"day",1,31),f=aW(d,h,p,{hours:o,minutes:s,seconds:l,fractionalMilliseconds:u});return"Z"!=c.toUpperCase()&&f.setTime(f.getTime()-a4(c)),f},az=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),aH=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Frid
196ay|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),aG=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),aq=e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC-7231 date-times must be expressed as strings");let t=az.exec(e);if(t){let[e,r,n,i,a,o,s,l]=t;return aW(aM(a5(i)),aJ(n),a2(r,"day",1,31),{hours:a,minutes:o,seconds:s,fractionalMilliseconds:l})}if(t=aH.exec(e)){let[e,r,n,i,a,o,s,l]=t;return aY(aW(aX(i),aJ(n),a2(r,"day",1,31),{hours:a,minutes:o,seconds:s,fractionalMilliseconds:l}))}if(t=aG.exec(e)){let[e,r,n,i,a,o,s,l]=t;return aW(aM(a5(l)),aJ(r),a2(n.trimLeft(),"day",1,31),{hours:i,minutes:a,seconds:o,fractionalMilliseconds:s})}throw TypeError("Invalid RFC-7231 date-time value")},aK=e=>{let t;if(null!=e){if("number"==typeof e)t=e;else if("string"==typeof e)t=aR(e);else if("object"==typeof e&&1===e.tag)t=e.value;else throw TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(t)||t===1/0||t===-1/0)throw TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(1e3*t))}},aW=(e,t,r,n)=>{let i=t-1;return a0(e,i,r),new Date(Date.UTC(e,i,r,a2(n.hours,"hour",0,23),a2(n.minutes,"minute",0,59),a2(n.seconds,"seconds",0,60),a3(n.fractionalMilliseconds)))},aX=e=>{let t=new Date().getUTCFullYear(),r=100*Math.floor(t/100)+aM(a5(e));return r<t?r+100:r},aY=e=>e.getTime()-new Date().getTime()>15768e8?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,aJ=e=>{let t=aU.indexOf(e);if(t<0)throw TypeError(`Invalid month: ${e}`);return t+1},aQ=[31,28,31,30,31,30,31,31,30,31,30,31],a0=(e,t,r)=>{let n=aQ[t];if(1===t&&a1(e)&&(n=29),r>n)throw TypeError(`Invalid day for ${aU[t]} in ${e}: ${r}`)},a1=e=>e%4==0&&(e%100!=0||e%400==0),a2=(e,t,r,n)=>{let i=aZ(a5(e));if(i<r||i>n)throw TypeError(`${t} must be between ${r} and ${n}, inclusive`);return i},a3=e=>null==e?0:1e3*aO("0."+e),a4=e=>{let t=e[0],r=1;if("+"==t)r=1;else if("-"==t)r=-1;else throw TypeError(`Offset direction, ${t}, must be "+" or "-"`);let n=Number(e.substring(1,3)),i=Number(e.substring(4,6));return r*(60*n+i)*6e4},a5=e=>{let t=0;for(;t<e.length-1&&"0"===e.charAt(t);)t++;return 0===t?e:e.slice(t)},a6=/^-?\d*(\.\d+)?$/;class a8{string;type;constructor(e,t){if(this.string=e,this.type=t,!a6.test(e))throw Error('@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".')}toString(){return this.string}static[Symbol.hasInstance](e){return!!e&&"object"==typeof e&&(a8.prototype.isPrototypeOf(e)||"bigDecimal"===e.type&&a6.test(e.string))}}class a9{from;to;keys;constructor(e,t){this.from=e,this.to=t;let r=Object.keys(this.from),n=new Set(r);n.delete("__type"),this.keys=n}mark(e){this.keys.delete(e)}hasUnknown(){return 1===this.keys.size&&0===Object.keys(this.to).length}writeUnknown(){if(this.hasUnknown()){let e=this.keys.values().next().value,t=this.from[e];this.to.$unknown=[e,t]}}}function a7(e,t,r){if(r?.source){let e=r.source;if("number"==typeof t&&(t>Number.MAX_SAFE_INTEGER||t<Number.MIN_SAFE_INTEGER||e!==String(t))){let t=e.includes(".");return t?new a8(e,"bigDecimal"):BigInt(e)}}return t}let oe=(e,t)=>ag(e,t).then(e=>(t?.utf8Encoder??ah.G)(e)),ot=(e,t)=>oe(e,t).then(e=>{if(e.length)try{return JSON.parse(e)}catch(t){throw t?.name==="SyntaxError"&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}return{}}),or=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),on=(e,t=!0)=>{let r=e;return"number"==typeof r&&(r=r.toString()),r.indexOf(",")>=0&&(r=r.split(",")[0]),r.indexOf(":")>=0&&(r=r.split(":")[0]),t&&r.indexOf("#")>=0&&(r=r.split("#")[1]),r},oi=(e,t,r,n=!1)=>oa(e,t,r,n?["code","header","type"]:["type","code","header"]),oa=({headers:e},t,r,n)=>{for(;n.length>0;){let i=n.shift();switch(i){case"header":let a=or(e??{},"x-amzn-errortype");if(void 0!==a)return on(e[a],r);break;case"code":let o=or(t??{},"code");if(o&&void 0!==t[o])return on(t[o],r);break;case"type":if(t?.__type!==void 0)return on(t.__type,r)}}};class oo extends aw{settings;constructor(e){super(),this.settings=e}async read(e,t){return this._read(e,"string"==typeof t?JSON.parse(t,a7):await ot(t,this.serdeContext))}readObject(e,t){return this._read(e,t)}_read(e,t){let r=null!==t&&"object"==typeof t,n=rm.of(e);
196if(r){if(n.isStructSchema()){let e,r;let i=n.isUnionSchema(),a={},{jsonName:o}=this.settings;for(let[s,l]of(o&&(r={}),i&&(e=new a9(t,a)),n.structIterator())){let n=s;o&&(r[n=l.getMergedTraits().jsonName??n]=s),i&&e.mark(n),null!=t[n]&&(a[s]=this._read(l,t[n]))}if(i)e.writeUnknown();else if("string"==typeof t.__type)for(let e in t){let n=t[e],i=o?r[e]??e:e;i in a||(a[i]=n)}return a}if(Array.isArray(t)&&n.isListSchema()){let e=n.getValueSchema(),r=[];for(let n of t)r.push(this._read(e,n));return r}if(n.isMapSchema()){let e=n.getValueSchema(),r={};for(let n in t)r[n]=this._read(e,t[n]);return r}}if(n.isBlobSchema()&&"string"==typeof t)return iQ(t);let i=n.getMergedTraits().mediaType;if(n.isStringSchema()&&"string"==typeof t&&i){let e="application/json"===i||i.endsWith("+json");return e?aE.from(t):t}if(n.isTimestampSchema()&&null!=t){let e=ax(n,this.settings);switch(e){case 5:return aV(t);case 6:return aq(t);case 7:return aK(t);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",t),new Date(t)}}if(n.isBigIntegerSchema()&&("number"==typeof t||"string"==typeof t))return BigInt(t);if(n.isBigDecimalSchema()&&void 0!=t)return t instanceof a8?t:"bigDecimal"===t.type&&"string"in t?new a8(t.string,t.type):new a8(String(t),"bigDecimal");if(n.isNumericSchema()&&"string"==typeof t){switch(t){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN}return t}
196if(n.isDocumentSchema()){if(!r)return structuredClone(t);{let e=Array.isArray(t)?[]:{};for(let r in t){let i=t[r];i instanceof a8?e[r]=i:e[r]=this._read(n,i)}return e}}return t}}let os=String.fromCharCode(925);class ol{values=new Map;counter=0;stage=0;createReplacer(){if(1===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer already created.");if(2===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");return this.stage=1,(e,t)=>{if(t instanceof a8){let e=`${os+"nv"+this.counter++}_`+t.string;return this.values.set(`"${e}"`,t.string),e}if("bigint"==typeof t){let e=t.toString(),r=`${os+"b"+this.counter++}_`+e;return this.values.set(`"${r}"`,e),r}return t}}replaceInJson(e){if(0===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");if(2===this.stage)throw Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");if(this.stage=2,0===this.counter)return e;for(let[t,r]of this.values)e=e.replace(t,r);return e}}class ou extends aw{settings;buffer;useReplacer=!1;rootSchema;constructor(e){super(),this.settings=e}write(e,t){this.rootSchema=rm.of(e),this.buffer=this._write(this.rootSchema,t)}flush(){let{rootSchema:e,useReplacer:t}=this;if(this.rootSchema=void 0,this.useReplacer=!1,e?.isStructSchema()||e?.isDocumentSchema()){if
196(!t)return JSON.stringify(this.buffer);let e=new ol;return e.replaceInJson(JSON.stringify(this.buffer,e.createReplacer(),0))}return this.buffer}writeDiscriminatedDocument(e,t){this.write(e,t),"object"==typeof this.buffer&&(this.buffer.__type=rm.of(e).getName(!0))}_write(e,t,r){let n=null!==t&&"object"==typeof t,i=rm.of(e);if(n){if(i.isStructSchema()){let e;let r={},{jsonName:n}=this.settings;n&&(e={});let a=0;for(let[o,s]of i.structIterator()){let l=this._write(s,t[o],i);if(void 0!==l){let t=o;n&&(t=s.getMergedTraits().jsonName??o,e[o]=t),r[t]=l,a++}}if(i.isUnionSchema()&&0===a){let{$unknown:e}=t;if(Array.isArray(e)){let[t,n]=e;r[t]=this._write(15,n)}}else if("string"==typeof t.__type)for(let i in t){let a=t[i],o=n?e[i]??i:i;o in r||(r[o]=this._write(15,a))}return r}if(Array.isArray(t)&&i.isListSchema()){let e=i.getValueSchema(),r=[],n=!!i.getMergedTraits().sparse;for(let i of t)(n||null!=i)&&r.push(this._write(e,i));return r}if(i.isMapSchema()){let e=i.getValueSchema(),r={},n=!!i.getMergedTraits().sparse;for(let i in t){let a=t[i];(n||null!=a)&&(r[i]=this._write(e,a))}return r}if(t instanceof Uint8Array&&(i.isBlobSchema()||i.isDocumentSchema()))return i===this.rootSchema?t:(this.serdeContext?.base64Encoder??ac)(t);if(t instanceof Date&&(i.isTimestampSchema()||i.isDocumentSchema())){let e=ax(i,this.settings);switch(e){case 5:return t.toISOString().replace(".000Z","Z");case 6:return function(e){let t=e.getUTCFullYear(),r=e.getUTCMonth(),n=e.getUTCDay(),i=e.getUTCDate(),a=e.getUTCHours(),o=e.getUTCMinutes(),s=e.getUTCSeconds(),l=i<10?`0${i}`:`${i}`,u=a<10?`0${a}`:`${a}`,c=o<10?`0${o}`:`${o}`,d=s<10?`0${s}`:`${s}`;return`${aB[n]}, ${l} ${aU[r]} ${t} ${u}:${c}:${d} GMT`}(t);case 7:return t.getTime()/1e3;default:return console.warn("Missing timestamp format, using epoch seconds",t),t.getTime()/1e3}}t instanceof a8&&(this.useReplacer=!0)}
196if(!(null===t&&r?.isStructSchema())){if(i.isStringSchema()){if(void 0===t&&i.isIdempotencyToken())return am();let e=i.getMergedTraits().mediaType;if(null!=t&&e){let r="application/json"===e||e.endsWith("+json");if(r)return aE.from(t)}return t}if("number"==typeof t&&i.isNumericSchema())return Math.abs(t)===1/0||isNaN(t)?String(t):t;if("string"==typeof t&&i.isBlobSchema())return i===this.rootSchema?t:(this.serdeContext?.base64Encoder??ac)(t);if("bigint"==typeof t&&(this.useReplacer=!0),i.isDocumentSchema()){if(!n)return structuredClone(t);{let e=Array.isArray(t)?[]:{};for(let r in t){let n=t[r];n instanceof a8?(this.useReplacer=!0,e[r]=n):e[r]=this._write(i,n)}return e}}return t}}}class oc extends aw{settings;constructor(e){super(),this.settings=e}createSerializer(){let e=new ou(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new oo(this.settings);return e.setSerdeContext(this.serdeContext),e}}class od extends av{serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:r,awsQueryCompatible:n,jsonCodec:i}){super({defaultNamespace:e,errorTypeRegistries:t}
196),this.serviceTarget=r,this.codec=i??new oc({timestampFormat:{useTrait:!0,default:7},jsonName:!1}),this.serializer=this.codec.createSerializer(),this.deserializer=this.codec.createDeserializer(),this.awsQueryCompatible=!!n,this.mixin=new aS(this.awsQueryCompatible)}async serializeRequest(e,t,r){let n=await super.serializeRequest(e,t,r);return n.path.endsWith("/")||(n.path+="/"),n.headers["content-type"]=`application/x-amz-json-${this.getJsonRpcVersion()}`,n.headers["x-amz-target"]=`${this.serviceTarget}.${e.name}`,this.awsQueryCompatible&&(n.headers["x-amzn-query-mode"]="true"),"unit"!==ru(e.input)&&n.body||(n.body="{}"),n}getPayloadCodec(){return this.codec}async handleError(e,t,r,n,i){let{awsQueryCompatible:a}=this;a&&this.mixin.setQueryCompatError(n,r);let o=oi(r,n,"1.1"===this.getJsonRpcVersion(),a)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let{errorSchema:s,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,r,n,i,a?this.mixin.findQueryCompatibleError:void 0),u=rm.of(s),c=n.message??n.Message??"UnknownError",d=this.compositeErrorRegistry.getErrorCtor(s)??Error,h=new d({}),p={},f=this.codec.createDeserializer();for(let[e,t]of u.structIterator())null!=n[e]&&(p[e]=f.readObject(t,n[e]));throw a&&this.mixin.queryCompatOutput(n,p),this.mixin.decorateServiceException(Object.assign(h,l,{$fault:u.getMergedTraits().error,message:c},p),n)}}class oh extends od{constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:r,awsQueryCompatible:n,jsonCodec:i}){super({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:r,awsQueryCompatible:n,jsonCodec:i})}getShapeId(){return"aws.protocols#awsJson1_0"}getJsonRpcVersion(){return"1.0"}getDefaultContentType(){return"application/x-amz-json-1.0"}}let op=e=>{if(null==e)return{};if(Array.isArray(e))return e.filter(e=>null!=e).map(op);if("object"==typeof e){let t={};for(let r of Object.keys(e))null!=e[r]&&(t[r]=op(e[r]));return t}return e},of=e=>new TextEncoder().encode(e),om="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",og=Object.entries(om).reduce((e,[t,r])=>(e[r]=Number(t),e),{}),ov=om.split("");function oy(e){let t;t="string"==typeof e?of(e):e;let r="object"==typeof t&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let i="";for(let e=0;e<t.length;e+=3){let r=0,n=0;for(let i=e,a=Math.min(e+3,t.length);i<a;i++)r|=t[i]<<(a-i-1)*8,n+=8;let a=Math.ceil(n/6);r<<=6*a-n;for(let e=1;e<=a;e++){let t=(a-e)*6;i+=ov[(r&63<<t)>>t]}i+="==".slice(0,4-a)}return i}let ob=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;let r=new ArrayBuffer(t),n=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,i=0;for(let n=t,a=t+3;n<=a;n++)if("="!==e[n]){if(!(e[n]in og))throw TypeError(`Invalid character ${e[n]} in base64 string.`);r|=og[e[n]]<<(a-n)*6,i+=6}else r>>=6;let a=t/4*3;r>>=i%8;let o=Math.floor(i/8);for(let e=0;e<o;e++){let t=(o-e-1)*8;n.setUint8(a+e,(r&255<<t)>>t)}}return new Uint8Array(r)};class oS extends oc{constructor(){super({timestampFormat:{useTrait:!0,default:7},jsonName:!1})}createSerializer(){let e=new ox(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new oE(this.settings);return e.setSerdeContext(this.serdeContext),e}}let ow="com.amazonaws.dynamodb#AttributeValue";class ox extends ou{_write(e,t,r){let n=rm.of(e);if(n.isStructSchema()&&n.getName(!0)===ow&&t&&"object"==typeof t){let e=op(t),i=this.serdeContext?.base64Encoder??oy;if(t.B instanceof Uint8Array&&(e.B=i(t.B)),Array.isArray(t.BS)&&(e.BS=t.BS.map(i)),Array.isArray(t.L)&&(e.L=t.L.filter(e=>null!=e).map(e=>this._write(n,e,r))),t.M&&"object"==typeof t.M)for(let[i,a]of(e.M={},Object.entries(t.M)))null!=a&&(e.M[i]=this._write(n,a,r));return e}return super._write(n,t,r)}}class oE extends oo{_read(e,t){let r=rm.of(e);if(r.isStructSchema()&&r.getName(!0)===ow&&t&&"object"==typeof t){let e=op(t),n=this.serdeContext?.base64Decoder??ob;if("string"==typeof t.B&&(e.B=n(t.B)),Array.isArray(t.BS)&&(e.BS=t.BS.map(n)),Array.isArray(t.L)&&(e.L=t.L.map(e=>this._read(r,e))),t.M&&"object"==typeof t.M)for(let[n,i]of(e.M={},Object.entries(t.M)))e.M[n]=this._read(r,i);return e}return super._read(r,t)}}let oT=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)};class ok{capacity;data=new Map;parameters=[];constructor({size:e,params:t}){this.capacity=e??50,t&&(this.parameters=t)}get(e,t){let r=this.hash(e);if(!1===r)return t();if(!this.data.has(r)){if(this.data.size>this.capacity+10){let e=this.data.keys(),t=0;for(;;){let{value:r,done:n}=e.next();if(this.data.delete(r),n||++t>10)break}}this.data.set(r,t())}return this.data.get(r)}size(){return this.data.size}hash(e){let t="",{parameters:r}=this;if(0===r.length)return!1;for(let n of r){let r=String(e[n]??"");if(r.includes("|;"))return!1;t+=r+"|;"}return t}}let oC="endpoints";function o_(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${o_(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(o_).join(", ")})`:JSON.stringify(e,null,2)}
196class oP extends Error{constructor(e){super(e),this.name="EndpointError"}}let oA=e=>{let t=e.split("."),r=[];for(let n of t){let t=n.indexOf("[");if(-1!==t){if(n.indexOf("]")!==n.length-1)throw new oP(`Path: '${e}' does not end with ']'`);let i=n.slice(t+1,-1);if(Number.isNaN(parseInt(i)))throw new oP(`Invalid array index: '${i}' in path: '${e}'`);0!==t&&r.push(n.slice(0,t)),r.push(i)}else r.push(n)}return r},oN=(e,t)=>oA(t).reduce((r,n)=>{if("object"!=typeof r)throw new oP(`Index '${n}' in '${t}' not found in '${JSON.stringify(e)}'`);return Array.isArray(r)?r[parseInt(n)]:r[n]},e);(d=g||(g={})).HTTP="http",d.HTTPS="https";let oI={[g.HTTP]:80,[g.HTTPS]:443},oR={booleanEquals:(e,t)=>e===t,getAttr:oN,isSet:e=>null!=e,isValidHostLabel:M,not:e=>!e,parseURL:e=>{let t=(()=>{try{if(e instanceof URL)return e;if("object"==typeof e&&"hostname"in e){let{hostname:t,port:r,protocol:n="",path:i="",query:a={}}=e,o=new URL(`${n}//${t}${r?`:${r}`:""}${i}`);return o.search=Object.entries(a).map(([e,t])=>`${e}=${t}`).join("&"),o}return new URL(e)}catch(e){return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let r=t.href,{host:n,hostname:i,pathname:a,protocol:o,search:s}=t;if(s)return null;let l=o.slice(0,-1);if(!Object.values(g).includes(l))return null;let u=F(i),c=r.includes(`${n}:${oI[l]}`)||"string"==typeof e&&e.includes(`${n}:${oI[l]}`),d=`${n}${c?`:${oI[l]}`:""}`;return{scheme:l,authority:d,path:a,normalizedPath:a.endsWith("/")?a:`${a}/`,isIp:u}},stringEquals:(e,t)=>e===t,substring:(e,t,r,n)=>t>=r||e.length<r||/[^\u0000-\u007f]/.test(e)?null:n?e.substring(e.length-r,e.length-t):e.substring(t,r),uriEncode:e=>encodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},oO=(e,t)=>{let r=[],n={...t.endpointParams,...t.referenceRecord},i=0;for(;i<e.length;){let t=e.indexOf("{",i);if(-1===t){r.push(e.slice(i));break}r.push(e.slice(i,t));let a=e.indexOf("}",t);if(-1===a){r.push(e.slice(t));break}"{"===e[t+1]&&"}"===e[a+1]&&(r.push(e.slice(t+1,a)),i=a+2);let o=e.substring(t+1,a);if(o.includes("#")){let[e,t]=o.split("#");r.push(oN(n[e],t))}else r.push(n[o]);i=a+1}return r.join("")},oL=({ref:e},t)=>({...t.endpointParams,...t.referenceRecord})[e],oD=(e,t,r)=>{if("string"==typeof e)return oO(e,r);if(e.fn)return oZ.callFunction(e,r);if(e.ref)return oL(e,r);throw new oP(`'${t}': ${String(e)} is not a string, function or reference.`)},oM=({fn:e,argv:t},r)=>{let n=t.map(e=>["boolean","number"].includes(typeof e)?e:oZ.evaluateExpression(e,"arg",r)),i=e.split(".");return i[0]in L&&null!=i[1]?L[i[0]][i[1]](...n):oR[e](...n)},oZ={evaluateExpression:oD,callFunction:oM},oF=({assign:e,...t},r)=>{if(e&&e in r.referenceRecord)throw new oP(`'${e}' is already defined in Reference Record.`);let n=oM(t,r);return r.logger?.debug?.(`${oC} evaluateCondition: ${o_(t)} = ${o_(n)}`),{result:""===n||!!n,...null!=e&&{toAssign:{name:e,value:n}}}},oj=(e=[],t)=>{let r={};for(let n of e){let{result:e,toAssign:i}=oF(n,{...t,referenceRecord:{...t.referenceRecord,...r}});if(!e)return{result:e};i&&(r[i.name]=i.value,t.logger?.debug?.(`${oC} assign: ${i.name} := ${o_(i.value)}`))}return{result:!0,referenceRecord:r}},oB=(e,t)=>Object.entries(e).reduce((e,[r,n])=>({...e,[r]:n.map(e=>{let n=oD(e,"Header value entry",t);if("string"!=typeof n)throw new oP(`Header '${r}' value '${n}' is not a string`);return n})}),{}),oU=(e,t)=>Object.entries(e).reduce((e,[r,n])=>({...e,[r]:oV.getEndpointProperty(n,t)}),{}),o$=(e,t)=>{if(Array.isArray(e))return e.map(e=>o$(e,t));switch(typeof e){case"string":return oO(e,t);case"object":if(null===e)throw new oP(`Unexpected endpoint property: ${e}`);return oV.getEndpointProperties(e,t);case"boolean":return e;default:throw new oP(`Unexpected endpoint property type: ${typeof e}`)}},oV={getEndpointProperty:o$,getEndpointProperties:oU},oz=(e,t)=>{let r=oD(e,"Endpoint URL",t);if("string"==typeof r)try{return new URL(r)}catch(e){throw console.error(`Failed to construct URL with ${r}`,e),e}throw new oP(`Endpoint URL must be a string, got ${typeof r}`)},oH=(e,t)=>{let{conditions:r,endpoint:n}=e,{result:i,referenceRecord:a}=oj(r,t);if(!i)return;let o={...t,referenceRecord:{...t.referenceRecord,...a}},{url:s,properties:l,headers:u}=n;return t.logger?.debug?.(`${oC} Resolving endpoint from template: ${o_(n)}`),{...void 0!=u&&{headers:oB(u,o)},...void 0!=l&&{properties:oU(l,o)},url:oz(s,o)}},oG=(e,t)=>
196{let{conditions:r,error:n}=e,{result:i,referenceRecord:a}=oj(r,t);if(i)throw new oP(oD(n,"Error",{...t,referenceRecord:{...t.referenceRecord,...a}}))},oq=(e,t)=>{for(let r of e)if("endpoint"===r.type){let e=oH(r,t);if(e)return e}else if("error"===r.type)oG(r,t);else if("tree"===r.type){let e=oK.evaluateTreeRule(r,t);if(e)return e}else throw new oP(`Unknown endpoint rule: ${r}`);throw new oP("Rules evaluation failed")},oK={evaluateRules:oq,evaluateTreeRule:(e,t)=>{let{conditions:r,rules:n}=e,{result:i,referenceRecord:a}=oj(r,t);if(i)return oK.evaluateRules(n,{...t,referenceRecord:{...t.referenceRecord,...a}})}},oW=(e,t)=>{let{endpointParams:r,logger:n}=t,{parameters:i,rules:a}=e;t.logger?.debug?.(`${oC} Initial EndpointParams: ${o_(r)}`);let o=Object.entries(i).filter(([,e])=>null!=e.default).map(([e,t])=>[e,t.default]);if(o.length>0)for(let[e,t]of o)r[e]=r[e]??t;let s=Object.entries(i).filter(([,e])=>e.required).map(([e])=>e);for(let e of s)if(null==r[e])throw new oP(`Missing required parameter: '${e}'`);let l=oq(a,{endpointParams:r,logger:n,referenceRecord:{}});return t.logger?.debug?.(`${oC} Resolved endpoint: ${o_(l)}`),l},oX="required",oY="type",oJ="rules",oQ="conditions",o0="argv",o1="assign",o2="properties",o3="headers",o4="metricValues",o5="error",o6="stringEquals",o8="https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}",o9="endpoint",o7="tree",se="dynamodb",st={[oX]:!1,[oY]:"string"},sr={[oX]:!0,default:!1,[oY]:"boolean"},sn={fn:"isSet",[o0]:[{ref:"Endpoint"}]},si={fn:"isSet",[o0]:[{ref:"Region"}]},sa={ref:"Region"},so={fn:"aws.partition",[o0]:[sa],[o1]:"PartitionResult"},ss={[oQ]:[{fn:"booleanEquals",[o0]:[{ref:"UseFIPS"},!0]}],[o5]:"Invalid Configuration: FIPS and custom endpoint are not supported",[oY]:o5},sl={fn:"booleanEquals",[o0]:[{ref:"UseFIPS"},!0]},su={[oQ]:[{fn:"booleanEquals",[o0]:[{ref:"UseDualStack"},!0]}],[o5]:"Invalid Configuration: Dualstack and custom endpoint are not supported",[oY]:o5},sc={fn:"booleanEquals",[o0]:[{ref:"UseDualStack"},!0]},sd={[o9]:{url:"{Endpoint}",[o2]:{},[o3]:{}},[oY]:o9},sh={},sp={fn:"booleanEquals",[o0]:[{fn:"getAttr",[o0]:[{ref:"PartitionResult"},"supportsFIPS"]},!0]},sf={fn:"booleanEquals",[o0]:[{fn:"getAttr",[o0]:[{ref:"PartitionResult"},"supportsDualStack"]},!0]},sm={[oQ]:[{fn:"isSet",[o0]:[{ref:"AccountIdEndpointMode"}]},{fn:o6,[o0]:[{ref:"AccountIdEndpointMode"},"required"]}],[oJ]:[{[o5]:"Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported",[oY]:o5}],[oY]:o7},sg={fn:"getAttr",[o0]:[{ref:"PartitionResult"},"name"]},sv={[o9]:{url:"https://dynamodb.{Region}.{PartitionResult#dnsSuffix}",[o2]:{},[o3]:{}},[oY]:o9},sy={url:"https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}",[o2]:{[o4]:["O"]},[o3]:{}},sb={[o4]:["O"]},sS={[o5]:"Credentials-sourced account ID parameter is invalid",[oY]:o5},sw={[oQ]:[{fn:"isSet",[o0]:[{ref:"AccountIdEndpointMode"}]},{fn:o6,[o0]:[{ref:"AccountIdEndpointMode"},"required"]}],[oJ]:[{[oQ]:[{fn:"not",[o0]:[sl]}],[oJ]:[{[oQ]:[{fn:o6,[o0]:[sg,"aws"]}],[oJ]:[{[o5]:"AccountIdEndpointMode is required but no AccountID was provided or able to be loaded",[oY]:o5}],[oY]:o7},{[o5]:"Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition",[oY]:o5}],[oY]:o7},{[o5]:"Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported",[oY]:o5}],[oY]:o7},sx={url:"https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}",[o2]:sb,[o3]:{}},sE=[sl],sT=[sc],sk=[{fn:"isSet",[o0]:[{ref:"AccountIdEndpointMode"}]},{fn:"not",[o0]:[{fn:o6,[o0]:[{ref:"AccountIdEndpointMode"},"disabled"]}]},{fn:o6,[o0]:[sg,"aws"]},{fn:"not",[o0]:[sl]},{fn:"isSet",[o0]:[{ref:"ResourceArn"}]},{fn:"aws.parseArn",[o0]:[{ref:"ResourceArn"}],[o1]:"ParsedArn"},{fn:o6,[o0]:[{fn:"getAttr",[o0]:[{ref:"ParsedArn"},"service"]},se]},{fn:"isValidHostLabel",[o0]:[{fn:"getAttr",[o0]:[{ref:"ParsedArn"},"region"]},!1]},{fn:o6,[o0]:[{fn:"getAttr",[o0]:[{ref:"ParsedArn"},"region"]},"{Region}"]},{fn:"isValidHostLabel",[o0]:[{fn:"getAttr",[o0]:[{ref:"ParsedArn"},"accountId"]},!1]}],sC=[{fn:"isSet",[o0]:[{ref:"AccountIdEndpointMode"}]},{fn:"not",[o0]:[{fn:o6,[o0]:[{ref:"AccountIdEndpointMode"},"disabled"]}]},{fn:o6,[o0]:[sg,"aws"]},{fn:"not",[o0]:[sl]},{fn:"isSet",[o0]:[{ref:"ResourceArnList"}]},{fn:"getAttr",[o0]:[{ref:"ResourceArnList"},"[0]"],[o1]:"FirstArn"},{fn:"aws.parseArn",[o0]:[{ref:"FirstArn"}],[o1]:"ParsedArn"},{fn:o6,[o0]:[{fn:"getAttr",[o0]:[{ref:"ParsedArn"},"service"]},se]},{fn:"isValidHostLabel",[o0]:[{fn:"getAttr",[o0]:[{ref:"ParsedArn"},"region"]},!1]},{fn:o6,[o0]:[{fn:"getAttr",[o0]:[{ref:"ParsedArn"},"region"]},"{Region}"]},{fn:"isValidHostLabel",[o0]:[{fn:"getAttr",[o0]:[{ref:"ParsedArn"},"accountId"]},!1]}],s_=[{fn:"isSet",[o0]:[{ref:"AccountIdEndpointMode"}]},{fn:"not",[o0]:[{fn:o6,[o0]:[{ref:"AccountIdEndpointMode"},"disabled"]}]},{fn:o6,[o0]:[sg,"aws"]},{fn:"not",[o0]:[sl]},{fn:"isSet",[o0]:[{ref:"AccountId"}]}],sP=[{fn:"isValidHostLabel",[o0]:[{ref:"AccountId"},!1]}],sA={version:"1.0",parameters:{Region:st,UseDualStack:sr,UseFIPS:sr,Endpoint:st,AccountId:st,AccountIdEndpointMode:st,ResourceArn:st,ResourceArnList:{[oX]:!1,[oY]:"stringArray"}},[oJ]:[{[oQ]:[sn,si,so],[oJ]:[ss,su,{[oQ]:[{fn:o6,[o0]:[{ref:"Endpoint"},o8]}],error:"Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html",[oY]:o5},sd],[oY]:o7},{[oQ]:[sn],[oJ]:[ss,su,sd],[oY]:o7},{[oQ]:[si],[oJ]:[{[oQ]:[so],[oJ]:[{[oQ]:[{fn:o6,[o0]:[sa,"local"]}],[oJ]:[{[oQ]:sE,error:"Invalid Configuration: FIPS and local endpoint are not supported",[oY]:o5},{[oQ]:sT,error:"Invalid Configuration: Dualstack and local endpoint are not supported",[oY]:o5},{endpoint:{url:"http://localhost:8000",[o2]:{authSchemes:[{name:"sigv4",signingName:se,signingRegion:"us-east-1"}]},[o3]:sh},[oY]:o9}],[oY]:o7},{[oQ]:[sl,sc],[oJ]:[{[oQ]:[sp,sf],[oJ]:[sm,{endpoint:{url:"https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[o2]:sh,[o3]:sh},[oY]:o9}],[oY]:o7},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[oY]:o5}],[oY]:o7},{[oQ]:sE,[oJ]:[{[oQ]:[sp],[oJ]:[{[oQ]:[{fn:o6,[o0]:[sg,"aws-us-gov"]}],[oJ]:[sm,sv],[oY]:o7},sm,{endpoint:{url:"https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}",[o2]:sh,[o3]:sh},[oY]:o9}],[oY]:o7},{error:"FIPS is enabled but this partition does not support FIPS",[oY]:o5}],[oY]:o7},{[oQ]:sT,[oJ]:[{[oQ]:[sf],[oJ]:[{[oQ]:sk,endpoint:sy,[oY]:o9},{[oQ]:sC,endpoint:sy,[oY]:o9},{[oQ]:s_,[oJ]:[{[oQ]:sP,[oJ]:[{endpoint:{url:"https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}",[o2]:sb,[o3]:sh},[oY]:o9}],[oY]:o7},sS],[oY]:o7},sw,{endpoint:{url:o8,[o2]:sh,[o3]:sh},[oY]:o9}],[oY]:o7},{error:"DualStack is enabled but this partition does not support DualStack",[oY]:o5}],[oY]:o7},{[oQ]:sk,endpoint:sx,[oY]:o9},{[oQ]:sC,endpoint:sx,[oY]:o9},{[oQ]:s_,[oJ]:[{[oQ]:sP,[oJ]:[{endpoint:{url:"https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}",[o2]:sb,[o3]:sh},[oY]:o9}],[oY]:o7},sS],[oY]:o7},sw,sv],[oY]:o7}],[oY]:o7},{error:"Invalid Configuration: Missing Region",[oY]:o5}]},sN=new ok({size:50,params:["AccountId","AccountIdEndpointMode","Endpoint","Region","ResourceArn","ResourceArnList","UseDualStack","UseFIPS"]}),sI=(e,t={})=>sN.get(e,()=>oW(sA,{endpointParams:e,logger:t.logger}));L.aws=$;let sR=e=>({apiVersion:"2012-08-10",base64Decoder:e?.base64Decoder??ob,base64Encoder:e?.base64Encoder??oy,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??sI,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??t5,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvi
196der:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new as}],logger:e?.logger??new e3,protocol:e?.protocol??oh,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.dynamodb",errorTypeRegistries:n4,xmlNamespace:"http://dynamodb.amazonaws.com/doc/2012-08-10/",version:"2012-08-10",serviceTarget:"DynamoDB_20120810",jsonCodec:new oS},serviceId:e?.serviceId??"DynamoDB",urlParser:e?.urlParser??eM,utf8Decoder:e?.utf8Decoder??of,utf8Encoder:e?.utf8Encoder??oT}),sO=e=>{let t=i7(e),r=()=>t().then(i4),n=sR(e);return{...n,...e,runtime:"browser",defaultsMode:t,accountIdEndpointMode:e?.accountIdEndpointMode??(()=>Promise.resolve(i)),bodyLengthChecker:e?.bodyLengthChecker??i6,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??iz({serviceId:n.serviceId,clientVersion:iC.i8}),endpointDiscoveryEnabledProvider:e?.endpointDiscoveryEnabledProvider??(()=>Promise.resolve(void 0)),maxAttempts:e?.maxAttempts??3,region:e?.region??i3("Region is missing"),requestHandler:iK.create(e?.requestHandler??r),retryMode:e?.retryMode??(async()=>(await r()).retryMode||q),sha256:e?.sha256??iV,streamCollector:e?.streamCollector??i0,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},sL=e=>({setRegion(t){e.region=t},region:()=>e.region}),sD=e=>({region:e.region()}),sM=e=>({setHttpHandler(t){e.httpHandler=t},httpHandler:()=>e.httpHandler,updateHttpClientConfig(t,r){e.httpHandler?.updateHttpClientConfig(t,r)},httpHandlerConfigs:()=>e.httpHandler.httpHandlerConfigs()}),sZ=e=>({httpHandler:e.httpHandler()});(h=v||(v={})).MD5="md5",h.CRC32="crc32",h.CRC32C="crc32c",h.SHA1="sha1",h.SHA256="sha256";let sF=Object.values(v),sj=e=>{let t=[];for(let r in v){let n=v[r];void 0!==e[n]&&t.push({algorithmId:()=>n,checksumConstructor:()=>e[n]})}for(let[r,n]of Object.entries(e.checksumAlgorithms??{}))t.push({algorithmId:()=>r,checksumConstructor:()=>n});return{addChecksumAlgorithm(r){e.checksumAlgorithms=e.checksumAlgorithms??{};let n=r.algorithmId(),i=r.checksumConstructor();sF.includes(n)?e.checksumAlgorithms[n.toUpperCase()]=i:e.checksumAlgorithms[n]=i,t.push(r)},checksumAlgorithms:()=>t}},sB=e=>{let t={};return e.checksumAlgorithms().forEach(e=>{let r=e.algorithmId();sF.includes(r)&&(t[r]=e.checksumConstructor())}),t},sU=e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy:()=>e.retryStrategy}),s$=e=>{let t={};return t.retryStrategy=e.retryStrategy(),t},sV=e=>Object.assign(sj(e),sU(e)),sz=e=>Object.assign(sB(e),s$(e)),sH=e=>{let t=e.httpAuthSchemes,r=e.httpAuthSchemeProvider,n=e.credentials;return{setHttpAuthScheme(e){let r=t.findIndex(t=>t.schemeId===e.schemeId);-1===r?t.push(e):t.splice(r,1,e)},httpAuthSchemes:()=>t,setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider:()=>r,setCredentials(e){n=e},credentials:()=>n}},sG=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),sq=(e,t)=>{let r=Object.assign(sL(e),sV(e),sM(e),sH(e));return t.forEach(e=>e.configure(r)),Object.assign(e,sD(r),sz(r),sZ(r),sG(r))};class sK extends rw.classBuilder().ep({...rT,ResourceArn:{type:"contextParams",name:"TableName"}}).m(function(e,t,r,n){return[rl(r,e.getEndpointParameterInstructions())]}).s("DynamoDB_20120810","GetItem",{}).n("DynamoDBClient","GetItemCommand").sc(iE).build(){}class sW extends rw.classBuilder().ep({...rT,ResourceArn:{type:"contextParams",name:"TableName"}}).m(function(e,t,r,n){return[rl(r,e.getEndpointParameterInstructions())]}).s("DynamoDB_20120810","Scan",{}).n("DynamoDBClient","ScanCommand").sc(iT).build(){}class sX{value;constructor(e){"object"==typeof e&&"N"in e?this.value=String(e.N):this.value=String(e);let t="number"==typeof e.valueOf()?e.valueOf():0,r=t>Number.MAX_SAFE_INTEGER||t<Number.MIN_SAFE_INTEGER||Math.abs(t)===1/0||Number.isNaN(t);if(r)throw Error(`NumberValue should not be initialized with an imprecise number=${t}. Use a string instead.`)}static from(e){return new sX(e)}toAttributeValue(){return{N:this.toString()}}toBigInt(){let e=this.toString();return BigInt(e)}toString(){return String(this.value)}valueOf(){return this.toString()}}let sY=(e,t)=>{for(let[r,n]of Object.entries(e))if(void 0!==n)switch(r){case"NULL":return null;case"BOOL":return!!n;case"N":return sJ(n,t);case"B":return s0(n);case"S":return sQ(n);case"L":return s1(n,t);case"M":return s2(n,t);case"NS":return new Set(n.map(e=>sJ(e,t)));case"BS":return new Set(n.map(s0));case"SS":return new Set(n.map(sQ));default:throw Error(`Unsupported type passed: ${r}`)}throw Error(`No value defined: ${JSON.stringify(e)}`)},sJ=(e,t)=>{if("function"==typeof t?.wrapNumbers)return t?.wrapNumbers(e);if(t?.wrapNumbers)return sX.from(e);let r=Number(e),n=[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY],i=(r>Number.MAX_SAFE_INTEGER||r<Number.MIN_SAFE_INTEGER)&&!n.includes(r);if(i){if("function"==typeof BigInt)try{return BigInt(e)}catch(t){throw Error(`${e} can't be converted to BigInt. Set options.wrapNumbers to get string value.`)}else throw Error(`${e} is outside SAFE_INTEGER bounds. Set options.wrapNumbers to get string value.`)}return r},sQ=e=>e,s0=e=>e,s1=(e,t)=>e.map(e=>sY(e,t)),s2=(e,t)=>
196Object.entries(e).reduce((e,[r,n])=>(e[r]=sY(n,t),e),{}),s3=(e,t)=>t?.convertWithoutMapWrapper?sY(e,t):sY({M:e},t);var s4=r(21953),s5=r(83454);let s6=new class extends td{config;constructor(...[e]){var t;let r=sO(e||{});super(r),this.initConfig=r;let n=rE(r),i=o(n),a=function(e){let t=R(e.userAgentAppId??O),{customUserAgent:r}=e;return Object.assign(e,{customUserAgent:"string"==typeof r?[[r]]:r,userAgentAppId:async()=>{let r=await t();if(!(void 0===r||"string"==typeof r&&r.length<=50)){let t=e.logger?.constructor?.name!=="NoOpLogger"&&e.logger?e.logger:console;"string"!=typeof r?t?.warn("userAgentAppId must be a string or undefined."):r.length>50&&t?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return r}})}(i),s=e1(a),l=el(s),u=eF(l),c=t6(u),d=w(c,{endpointDiscoveryCommandCtor:ik}),h=sq(d,e?.extensions||[]);this.config=h,this.middlewareStack.use((t=this.config,{applyToStack:e=>{e.add(eP(t),eN),e.add(eT(t),eA),t.protocol.setSerdeContext(t)}})),this.middlewareStack.use(en(this.config)),this.middlewareStack.use(ti(this.config)),this.middlewareStack.use(eO(this.config)),this.middlewareStack.use(k(this.config)),this.middlewareStack.use(P(this.config)),this.middlewareStack.use(I(this.config)),this.middlewareStack.use(ef(this.config,{httpAuthSchemeParametersProvider:t4,identityProviderConfigProvider:async e=>new em({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use(ew(this.config))}destroy(){super.destroy()}}({region:s5.env.DYNAMO_DB_REGION,endpoint:s5.env.DYNAMO_DB_ENDPOINT}),s8=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=new sK({TableName:"".concat(s5.env.MFE_NAME,"-").concat(e),Key:{slug:{S:t}}}),{Item:n}=await s6.send(r);return n?s3(n):null},s9=async()=>{let e=new sW({TableName:"".concat(s5.env.MFE_NAME,"-").concat(s4.aW.category),FilterExpression:"#type = :value",ExpressionAttributeValues:{":value":{S:"mainCategory"}},ExpressionAttributeNames:{"#type":"type","#url":"url"},ProjectionExpression:"slug,title,#url"}),{Items:t}=await s6.send(e);return t?t.map(e=>s3(e)):null},s7=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=new sW({TableName:"".concat(s5.env.MFE_NAME,"-").concat(e),ProjectionExpression:"slug"}),{Items:r}=await s6.send(t);return r?r.map(e=>s3(e).slug):null},le=async function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=new sW({TableName:"".concat(s5.env.MFE_NAME,"-").concat(t),Limit:1}),{Items:n}=await s6.send(r);return n?null===(e=n.map(e=>s3(e)))||void 0===e?void 0:e[0]:null},lt=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="".concat(s5.env.MFE_NAME,"-").concat(e),r=new sW({TableName:t}),{Items:n}=await s6.send(r);return n?n.map(e=>s3(e)):null},lr=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r="".concat(s5.env.MFE_NAME,"-").concat(e),n=!!t,i=new sW({TableName:r,ProjectionExpression:"slug, #url",ExpressionAttributeNames:{"#url":"url",...n&&{"#type":"type"}},...n&&{FilterExpression:"#type = :type",ExpressionAttributeValues:{":type":{S:t}}}}),{Items:a}=await s6.send(i);return a?Object.fromEntries(a.map(e=>{let t=s3(e);return[t.slug,t.url]})):null},ln=async e=>{let t="".concat(s5.env.MFE_NAME,"-").concat(s4.aW.redirect),r=new sK({TableName:t,Key:{sourceUrl:{S:e}}}),{Item:n}=await s6.send(r);return n?s3(n):null};var li={client:s6,getItemBySlug:s8,getSlugsFromItems:s7,getMainCategories:s9,getFirstItem:le,getAllItems:lt,getAllUrls:lr,getRedirectBySourceUrl:ln}},12875:function(e,t,r){"use strict";let n;r.d(t,{O5:function(){return s},xz:function(){return c},Ag:function(){return u},dv:function(){return l},default:function(){return T},SS:function(){return S.Z}});var i,a,o,s,l,u,c,d=r(53390),h=r.n(d);let p="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var f={randomUUID:p};let m=new Uint8Array(16),g=[];for(let e=0;e<256;++e)g.push((e+256).toString(16).slice(1));var v=function(e,t,r){if(f.randomUUID&&!t&&!e)return f.randomUUID();e=e||{};
196let i=e.random??e.rng?.()??function(){if(!n){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");n=crypto.getRandomValues.bind(crypto)}return n(m)}();if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=i[e];return t}return function(e,t=0){return(g[e[t+0]]+g[e[t+1]]+g[e[t+2]]+g[e[t+3]]+"-"+g[e[t+4]]+g[e[t+5]]+"-"+g[e[t+6]]+g[e[t+7]]+"-"+g[e[t+8]]+g[e[t+9]]+"-"+g[e[t+10]]+g[e[t+11]]+g[e[t+12]]+g[e[t+13]]+g[e[t+14]]+g[e[t+15]]).toLowerCase()}(i)},y=r(21953),b=r(30656),S=r(82896);let w="feature.user",x="feature-user";(i=s||(s={})).FirstFeature="first-feature",i.AdblockDetection="adblock-detection",i.DisplayAds="display-ads-sdk",i.SubscriptionText="subscription-legal-text",i.TableFilter="table-filter",i.TalpaAuth="talpa-auth",i.AppSmartBanner="app-smart-banner",i.MutedAutoplay="muted-autoplay",i.ConvivaMonitoring="conviva-monitoring",i.ContactStudio="contact-studio",i.VideoReplacement="video-replacement",i.TrackPreview="track-preview",i.VisualRadioOverride="visual-radio-override",i.PlayerThemeColors="player-theme-colors",i.PulsatingPlayButton="pulsating-playbutton",i.HoverVideoPreview="hover-video-preview",i.ArticleAuthor="article-author",i.SpringServeVastAds="springserve-vast-ads",i.PauseAd="pause-ad",i.AdFreeTalpaStaff="ad-free-talpa-staff",i.AudioDashboardAvailability="audio-dashboard-availability",i.PvxPromotion="pvx-promotion",i.NrClientIp="nr-client-ip",i.RestartPlaybackOnFatalErrors="restart-playback-on-fatal-errors",i.RestartPlaybackOnStall="restart-playback-on-stall",i.OperationalMessage="operational-message",i.ClearMalformedCookies="clear-malformed-cookies",i.Chromecast="chromecast",i.DelayPlayerUntilHashedVisitorId="delay-player-until-hashed-visitor-id",i.VideoGeoRestrictionOutsideNl="video-geo-restriction-outside-nl",i.TabbarExperiment="tabbar-experiment",i.PlayerSidebar="player-sidebar",i.PlaylistNavigation="playlist-navigation",i.FullEpisodeButton="full-episode-button",i.UpodConsentOverlay="upod-consent-overlay",(a=l||(l={})).OriginalVideo="original-video",a.ReplacedVideo="replaced-video",(u||(u={})).TwinklingStars="twinkling-stars",(o=c||(c={})).SidebarControl="sidebar-control",o.SidebarEpisode="sidebar-episode",o.SidebarBoxcover="sidebar-boxcover";let E=new class{get isMobile(){return this.attributes.device===y.bW.Mobile}get isTablet(){return this.attributes.device===y.bW.Tablet}get isDesktop(){return this.attributes.device===y.bW.Desktop}constructor(){var e=this;this.activeFeatures=[],this.activeExperiments=[],this.attributes={},this.dataFileUrl="",this.debug=document.cookie.includes("__FEATURE_DEBUG__"),this.experiments={},this.features=[],this.featuresCache={},this.featuresTimestamp=0,this.hydrated=!1,this.id="",this.fetchFeatures=async e=>{try{var t;let r=Date.now();if((null===(t=this.features)||void 0===t?void 0:t.length)&&r-this.featuresTimestamp<12e4&&e===this.dataFileUrl)return this.reset(),this.features;return this.features=await (await fetch(e)).json(),this.featuresTimestamp=r,this.dataFileUrl=e,this.reset(),this.features}catch(e){(0,b.Nd)(e,{customMessage:"There was an error while fetching the feature flags."})}return[]},this.isEnabled=e=>{if(!this.features.length)return!1;if(void 0===this.featuresCache[e]){let t=this.activeFeatures.some(t=>{var r;return t.slug===e&&!(null===(r=t.experiment)||void 0===r?void 0:r.enabled)});if(!this.hydrated)return t;{let t=this.activeExperiments.find(t=>t.featureSlug===e);if(null==t?void 0:t.variant)return this.featuresCache[e]=t.variant.featureEnabled,this.log("user is using variant '".concat(t.variant.variantKey,"' for ").concat(e," | feature is ").concat(this.featuresCache[e]?"":"not ","enabled")),this.featuresCache[e]}this.featuresCache[e]=t;let r=this.features.find(t=>{let{slug:r}=t;return r===e});this.log(r?"feature ".concat(e," is ").concat(t?"":"not ","enabled"):"feature ".concat(e," not found in data file"))}return this.featuresCache[e]},this.setAttributes=e=>(this.attributes={...this.attributes,...e},this.attributes),this.getVariable=function(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=e.getVariables(t);return i&&void 0!==i[r]?i[r]:n},this.getVariables=e=>{if(!this.features.length||!this.isEnabled(e))return null;let t=this.activeExperiments.find(t=>t.featureSlug===e);if((null==t?void 0:t.variant)&&!t.variant.useDefaultVariables)return t.variant.variables;let{variables:r}=this.features.find(t=>{let{slug:r}=t;return r===e})||{};return r},this.getVariant=e=>{var t;if(!this.features.length)return null;this.isEnabled(e);let r=this.activeExperiments.find(t=>t.featureSlug===e);return(null==r?void 0:null===(t=r.variant)||void 0===t?void 0:t.variantKey)||null},this.reset=e=>{if(this.hydrated=!!e,this.featuresCache={},e){let[t]=e.split("?");this.attributes.currentPath=t}this.updateActiveFeatures()},this.updateActiveFeatures=()=>
196{if(this.activeFeatures=this.features.filter(e=>{let{enabled:t,slug:r,audience:n}=e;if(t&&n){let e=this.isInAudience(n);return this.log("visitor is ".concat(e?"":"not ","in audience of feature ").concat(r)),e}return t}),this.hydrated){this.activeExperiments=this.activeFeatures.map(e=>{var t;if(null===(t=e.experiment)||void 0===t?void 0:t.enabled){let t={featureSlug:e.slug,slug:"".concat(e.slug,"-test"),variant:this.selectVariant(e)};return t}return null}).filter(Boolean),window.eventBus.dispatch("featureReset",this.activeFeatures);let e={experiment_features:this.activeFeatures.map(e=>{let{slug:t}=e;return t}).filter(this.isEnabled).join("|"),experiment_tests:Object.values(this.activeExperiments).map(e=>{let{slug:t}=e;return t}).join("|"),experiment_tests_variants:Object.values(this.activeExperiments).map(e=>{let{variant:t}=e;return(null==t?void 0:t.variantKey)||""}).join("|")};h().setDataLayer(e),(0,b.Z)(e)}},this.log=e=>{this.debug&&console.log("%c [FeatureTooling]","font-weight:bold",e)},this.isInAudience=e=>{try{let[t,...r]=JSON.parse(e),n=e=>"userId"===e?this.id||"":e in this.attributes?this.attributes[e]:"",i=e=>{let{match:t,name:r,value:i}=e,a=n(r);return t===y.qE.Substring?"string"==typeof a&&a.includes(i):t===y.qE.Exact?a===i:t===y.qE.Different?a!==i:t===y.qE.Nosubstring&&"string"==typeof a&&!a.includes(i)};if("and"===t)return r.every(i);return r.some(i)}catch(e){this.log(e.message)}return!1},this.selectVariant=e=>{if(!e.experiment)return null;let t=e.experiment.variants.find(e=>e.whitelist===this.id);if(t)return this.log("user ".concat(this.id," is whitelisted for variant '").concat(t.variantKey,"'")),t;let r=e.experiment.variants.find(t=>t.variantKey===this.experiments[e.slug]);if(r)return this.log("using previous variant '".concat(r.variantKey,"'")),r;let{variants:n}=e.experiment.variants.reduce((e,t)=>{let{start:r,variants:n}=e,i=r+t.traffic;return{start:i,variants:[...n,{...t,start:r,end:i}]}},{start:0,variants:[]}),i=100*Math.random(),{variantKey:a}=n.find(e=>e.start<=i&&e.end>=i)||{};return a?(this.experiments[e.slug]=a,this.saveUser(),e.experiment.variants.find(e=>e.variantKey===a)||null):null},this.restoreUser=()=>{if("undefined"==typeof localStorage)return;try{let e=localStorage.getItem(w),t=e?JSON.parse(e):null;t&&(this.id=t.id,this.experiments=t.experiments||{})}catch(e){}let e=new URLSearchParams(window.location.search);e.has(x)&&(this.id=e.get(x)||""),this.id||(this.id=v()),this.saveUser()},this.saveUser=()=>{try{localStorage.setItem(w,JSON.stringify({id:this.id,experiments:this.experiments}))}catch(e){}},this.restoreUser();try{let e=document.getElementById("__FEATURES__");if(!e)return;let{features:t,attributes:r}=JSON.parse(e.innerHTML);this.features=t,this.attributes=r,this.updateActiveFeatures()}catch(e){this.features=[],(0,b.Nd)(e,{customMessage:"Feature hydration failed"})}}};window.__featureTooling=E;var T=E},49139:function(e,t,r){"use strict";r.d(t,{D:function(){return n}});let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e9;return String(Math.floor(Math.random()*e))}},7490:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});var n=r(30656);let i=async()=>new Promise(e=>{if(void 0===window.__tcfapi){e({tcString:"",talpaConsent:"0"});return}let t=setTimeout(()=>{(0,n.Nd)(Error("Failed to retrieve consent")),e({tcString:"",talpaConsent:"0"})},2e3);window.__tcfapi("getTCData",2,(r,n)=>(clearTimeout(t),n)?e({tcString:r.tcString,talpaConsent:[2,3,4,7,9].every(e=>!0===r.purpose.consents[e])?"1":"0"}):e({tcString:"",talpaConsent:"0"}))})},70103:function(e,t,r){"use strict";r.d(t,{ZP:function(){return s},_w:function(){return l}});var n=r(67294),i=(r(21953),r(66966));r(83454);let a=null,o="#__HOST_CONFIG__";function s(e,t){var r,n;let s=(0,i.Z)();if(a&&(s||!e&&!t))return a;try{return a=JSON.parse(null!==(n=null===(r=document.querySelector(o))||void 0===r?void 0:r.innerHTML)&&void 0!==n?n:"")}catch(e){return{}}}function l(){let[e,t]=(0,n.useState)(()=>s());return(0,n.useEffect)(()=>{let e=e=>{let{hostConfig:r}=e;t(e=>{let t={...e,...r};a=t;let n=JSON.stringify(t),i=document.querySelector(o);return i&&(i.innerHTML=n),t})};return window.eventBus.on("hostConfig",e),()=>{window.eventBus.off("hostConfig",e)}},[]),e}},77838:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});let n=e=>e.startsWith("https")?{rel:"noopener noreferrer",target:"_blank"}:{}},82053:function(e,t,r){"use strict";r.d(t,{HF:function(){return l},OL:function(){return s},ZP:function(){return u},dC:function(){return c}});
196var n=r(21953),i=r(78114),a=r(61236);let o=[];function s(e){o=e}let l=e=>e.includes(n._1.VIDEO.VIDEOS)||e.startsWith(n._1.VIDEO.EPISODES);function u(e){let{asPath:t,hasVideo:r,sponsored:s,startDate:u,endDate:c}=e,[d="",h]=t.split("?");if(null==h?void 0:h.includes("".concat(n._1.SEARCH,"=")))return i.jw.SEARCH;if(d===n._1.HOME_PAGE)return i.jw.HOME_PAGE;if(d.includes(n._1.STATIONS))return i.jw.STATION_PAGE;if(d.includes(n._1.SHOWS))return i.jw.SHOW_PAGE;if(d.includes(n._1.POPOUT))return i.jw.POPOUT;if(d.includes(n._1.PROGRAMMAS))return d===n._1.PROGRAMMAS?i.jw.SERIES:d.includes(n._1.MISSED)?i.jw.MISSED:i.jw.DETAIL;if(d.includes(n._1.FILMS)){let e=d.split("/").filter(Boolean);if(3===e.length)return i.jw.DETAIL}if(d.includes(n._1.ARTICLE))return"".concat(s?"sponsored_":"").concat(i.jw.ARTICLE).concat(r?"_with_video":"");if(d.includes(n._1.AUTHOR))return i.jw.AUTHOR;if(d.includes(n._1.PLAYLIST)){let e=d.split("/").pop();return e?"".concat(i.jw.PLAYLIST," | ").concat(e):i.jw.PLAYLIST}if(d.includes(n._1.SCHEDULE))return i.jw.SCHEDULE;if(d.includes(n._1.CAMPAIGN)){let e=(0,a.Z)(u,c);return"".concat(i.jw.CAMPAIGN,"_").concat(e)}return l(d)?i.jw.VIDEO:d.endsWith(n._1.CATEGORY.ARTICLES)||d.endsWith(n._1.CATEGORY.VIDEOS)||o.some(e=>d.startsWith("/".concat(e)))?i.jw.CATEGORY:d.match(n._1.DYNAMIC)?i.jw.DYNAMIC:null}let c=e=>{let[t=""]=e.split("?");return t.endsWith(n._1.CATEGORY.ARTICLES)||t.endsWith(n._1.CATEGORY.VIDEOS)?null:t===n._1.HOME_PAGE?n.Jk:t.split("/").pop()||null}},5679:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(49315),i=r(12592),a=r(21953);function o(e){var t;try{if((null==e?void 0:e.startDate)&&e.endDate){let t=new Date,r=new Date(e.startDate),o=new Date(e.endDate);if((0,i.Z)(t,r))return a.c4.Upcoming;if((0,n.Z)(t,o))return a.c4.Expired;return a.c4.Active}}catch(e){console.error("Error while getting status label",e)}return null==e?void 0:null===(t=e.sponsor)||void 0===t?void 0:t.label}},39019:function(e,t,r){"use strict";r.r(t);var n=r(11752),i=r.n(n);let{publicRuntimeConfig:a}=i()();t.default=e=>{let{src:t,width:r,quality:n}=e,i=["f_webp","c_limit","w_".concat(String(r)),"q_".concat(String(null!=n?n:"auto"))];return(100===n&&i.push("dpr_2"),t.startsWith("/")||t.includes("/media-proxy/"))?"".concat(t,"?w=").concat(String(r)):"".concat(a.imageDomain,"/").concat(i.join(","),"/").concat(encodeURIComponent(t))}},39251:function(e,t,r){"use strict";let n;r.d(t,{N:function(){return s},p:function(){return l}});let i="undefined"==typeof IntersectionObserver,a=new WeakMap;function o(e){e.forEach(e=>{if(a.has(e.target)){let t=a.get(e.target),r=e.isIntersecting;t({isVisible:r})}})}function s(e,t,r){i||(void 0===n&&(n=new IntersectionObserver(o,{rootMargin:r||"0px",threshold:.1})),a.set(e,t),n.observe(e))}function l(e){i||(a.delete(e),n.unobserve(e))}},66966:function(e,t,r){"use strict";function n(){return!1}r.d(t,{Z:function(){return n}}),r(83454)},30656:function(e,t,r){"use strict";r.d(t,{$V:function(){return _},Nd:function(){return x},eG:function(){return T},Z:function(){return C},XO:function(){return P},xf:function(){return A},XY:function(){return k}});var n,i,a=r(67294),o=r(28994),s=r(21953);(n=i||(i={})).SetupErrorsMiscellaneous="Setup Errors - Miscellaneous",n.SetupErrorsLoadingJavascriptComponents="Setup Errors - Loading Javascript Components",n.PlaylistParsing="Setup Errors - Playlist Parsing",n.EmptyPlaylist="Setup Errors - Empty Playlist",n.PlayerErrorMiscellaneous="Player Errors - Miscellaneous",n.LoadingNewPlaylist="Player Errors - Loading New Playlist",n.PlaylistItem="Player Errors - Playlist Item",n.PlayerErrorLoadingJavascriptComponents="Player Errors - Loading Javascript Components",n.MediaPlaybackFlash="Player Errors - Media Playback Flash",n.MediaPlaybackHtml="Player Errors - Media Playback HTML5",n.MediaPlaybackHls="Player Errors - Media Playback HLS.JS",n.MediaPlaybackShaka="Player Errors - Media Playback Shaka",n.UnknownError="Unknown jwplayer error code",n.PlayAttemptFail="Warning - playAttemptFailed",n.WarningLoadingJavascriptComponents="Warning - Loading Javascript Components",n.Related="Warning - Related",n.Captions="Warning - Captions",n.Vr="Warning - VR",n.Localization="Warning - Localization",n.WarningMediaPlayback="Warning - Media Playback HLS.JS",n.Casting="Warning - Casting",n.UnknownWarning="Unknown jwplayer warning";var l=r(68197),u=r(38210),c=r(44909),d=r(12875),h=r(9315);let p=s.D1,f=s.JM,m=null,g=null,v=0,y=0,b=5,S=e=>{switch(!0){case e>=303200&&e<=303230:return i.PlayAttemptFail;case e>=302001&&e<=302611:return i.Related;case e>=301121&&e<=305107:return i.WarningLoadingJavascriptComponents;case e>=306001&&e<=306009:return i.Captions;case e>=307e3&&e<=307012:return i.Vr;case e>=308e3&&e<=308640:return i.Localization;case e>=33e4&&e<=339e3:return i.WarningMediaPlayback;case 35e4===e:return i.Casting;default:return i.UnknownWarning}},w=e=>{switch(!0){case e>=1e5&&e<=100014:return i.SetupErrorsMiscellaneous;case e>=102630&&e<=102700:return i.EmptyPlaylist;
196case e>=102e3&&e<=102621:return i.PlaylistParsing;case e>=101100&&e<=104153:return i.SetupErrorsLoadingJavascriptComponents;case 200001===e:return i.PlayerErrorMiscellaneous;case e>=202e3&&e<=202630:return i.LoadingNewPlaylist;case e>=203e3&&e<=203640:return i.PlaylistItem;case e>=204100&&e<=204154:return i.PlayerErrorLoadingJavascriptComponents;case e>=21e4&&e<=214e3:return i.MediaPlaybackFlash;case e>=220001&&e<=226599:return i.MediaPlaybackHtml;case e>=23e4&&e<=239e3:return i.MediaPlaybackHls;case e>=24e4&&e<=34e4:return i.MediaPlaybackShaka;default:return i.UnknownError}};function x(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null===(t=window.newrelic)||void 0===t||t.noticeError(e,r)}let E=(e,t)=>{e.startsWith("https://")&&fetch(e,{method:"HEAD"}).then(r=>{var n;_("Error Source File Status",{error_code:t.toString(),source_file:e,status_code:r.status,status_text:r.statusText,content_type:null!==(n=r.headers.get("content-type"))&&void 0!==n?n:null})}).catch(r=>{_("Error Source File Status",{error_code:t.toString(),source_file:e,fetch_failed:!0,fetch_error:r.message})})};function T(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={...t,error_code:e.code.toString(),error_type:e.type,error_details:null,error_response_code:!1,error_group:"",error_full:JSON.stringify(e)},n=e.sourceError;if(n){var i,a;if(n.details&&(r.error_details=n.details),(null===(i=n.response)||void 0===i?void 0:i.code)&&(r.error_response_code=n.response.code.toString()),(null===(a=n.data)||void 0===a?void 0:a.length)&&"string"==typeof n.data[0]){let t=n.data[0];r.error_source_file=t,E(t,e.code)}n.code&&(r.error_source_code=n.code)}r.error_group="warning"===e.type?S(e.code):w(e.code),x(Error("message"in e?e.message:"Player error ".concat(String(e.code))),r)}let k=(e,t)=>{(0,a.useEffect)(()=>{e&&x(e,t)},[e])},C=e=>{window.newrelic&&Object.keys(e).forEach(t=>{var r;null===(r=window.newrelic)||void 0===r||r.setCustomAttribute(t,e[t]||null)})};function _(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(null===(t=window.newrelic)||void 0===t?void 0:t.addPageAction)&&window.newrelic.addPageAction(e,r)}let P=(e,t,r,n,i)=>{if(m&&g===t)return;A(),g=t,v=0,y=0,b=5;let a=0;m=setInterval(()=>{let m=r(),g=e.getPosition(),S=!Number.isFinite(e.getDuration());if(!S&&!m&&g===v&&a>0&&g>0){let r=e.getState();if(["paused","idle","error"].includes(r)){A();return}if(y++,n&&y>=b&&d.default.isEnabled(d.O5.RestartPlaybackOnStall)){_("Playback Stalled Recovery",{media_offset:(0,h.H)(g),seconds_elapsed:a,stale_count:y,stale_threshold:b}),(0,u.gJ)(t,s.Lz.StalePlayback,g),n({position:g,errorCode:s.Lz.StalePlayback,isManual:!1,isPlaying:!0}),b+=5;return}}else y=0;v=g,(a+=p/1e3)%300==0&&_("Milestone ".concat((0,l.Z)(a)),{media_offset:(0,h.H)(g)}),m||a%(f/1e3)!=0||i===o.vw.Pvx||(0,c.xK)({playerInstance:e,guid:t})},p)},A=()=>{m&&(clearInterval(m),m=null,g=null,v=0,y=0,b=5)}},27888:function(e,t,r){"use strict";r.d(t,{ii:function(){return S},vt:function(){return w},ND:function(){return b},Eh:function(){return v},rj:function(){return y}});var n=r(32161),i=r(30819),a=r(30081),o=r(72379),s=r(89643);class l extends s.F{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||i._,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){let r=(0,n.oE)(this.state.data,e,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),r}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;let r=this.promise;return null==(t=this.retryer)||t.cancel(e),r?r.then(n.ZT).catch(n.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,n.Kp)(this.state.dataUpdatedAt,e)}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>
196t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var r,i,a,s;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let l=(0,n.G9)(),u={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},c=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(l)return this.abortSignalConsumed=!0,l.signal}})};c(u);let d={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(u)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};c(d),null==(r=this.options.behavior)||r.onFetch(d),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(i=d.fetchOptions)?void 0:i.meta))&&this.dispatch({type:"fetch",meta:null==(s=d.fetchOptions)?void 0:s.meta});let h=e=>{if((0,o.DV)(e)&&e.silent||this.dispatch({type:"error",error:e}),!(0,o.DV)(e)){var t,r,n,i;null==(t=(r=this.cache.config).onError)||t.call(r,e,this),null==(n=(i=this.cache.config).onSettled)||n.call(i,this.state.data,e,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=(0,o.Mz)({fn:d.fetchFn,abort:null==l?void 0:l.abort.bind(l),onSuccess:e=>{var t,r,n,i;if(void 0===e){h(Error(this.queryHash+" data is undefined"));return}this.setData(e),null==(t=(r=this.cache.config).onSuccess)||t.call(r,e,this),null==(n=(i=this.cache.config).onSettled)||n.call(i,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:h,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var r,n;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:(0,o.Kw)(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(n=e.dataUpdatedAt)?n:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let i=e.error;if((0,o.DV)(i)&&i.revert&&this.revertState)return{...this.revertState,fetchStatus:"idle"};return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),a.V.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}var u=r(6428);class c extends u.l{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,r){var i;let a=t.queryKey,o=null!=(i=t.queryHash)?i:(0,n.Rm)(a,t),s=this.get(o);return s||(s=new l({cache:this,logger:e.getLogger(),queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(a)}),this.add(s)),s}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){let t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(t=>t!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){a.V.batch(()=>
196{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){let[r]=(0,n.I6)(e,t);return void 0===r.exact&&(r.exact=!0),this.queries.find(e=>(0,n._x)(r,e))}findAll(e,t){let[r]=(0,n.I6)(e,t);return Object.keys(r).length>0?this.queries.filter(e=>(0,n._x)(r,e)):this.queries}notify(e){a.V.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){a.V.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){a.V.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}var d=r(89886);class h extends u.l{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,r){let n=new d.m({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:r,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(n),n}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){a.V.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(t=>(0,n.X7)(e,t))}findAll(e){return this.mutations.filter(t=>(0,n.X7)(e,t))}notify(e){a.V.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then(()=>{let e=this.mutations.filter(e=>
196e.state.isPaused);return a.V.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(n.ZT)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}var p=r(15761),f=r(96474),m=r(9499),g=r(21953);let v=new class{constructor(e={}){this.queryCache=e.queryCache||new c,this.mutationCache=e.mutationCache||new h,this.logger=e.logger||i._,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=p.j.subscribe(()=>{p.j.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=f.N.subscribe(()=>{f.N.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){let[r]=(0,n.I6)(e,t);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state.data}ensureQueryData(e,t,r){let i=(0,n._v)(e,t,r),a=this.getQueryData(i.queryKey);return a?Promise.resolve(a):this.fetchQuery(i)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>{let r=t.data;return[e,r]})}setQueryData(e,t,r){let i=this.queryCache.find(e),a=null==i?void 0:i.state.data,o=(0,n.SE)(t,a);if(void 0===o)return;let s=(0,n._v)(e),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return a.V.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state}removeQueries(e,t){let[r]=(0,n.I6)(e,t),i=this.queryCache;a.V.batch(()=>{i.findAll(r).forEach(e=>{i.remove(e)})})}resetQueries(e,t,r){let[i,o]=(0,n.I6)(e,t,r),s=this.queryCache,l={type:"active",...i};return a.V.batch(()=>(s.findAll(i).forEach(e=>{e.reset()}),this.refetchQueries(l,o)))}cancelQueries(e,t,r){let[i,o={}]=(0,n.I6)(e,t,r);void 0===o.revert&&(o.revert=!0);let s=a.V.batch(()=>this.queryCache.findAll(i).map(e=>e.cancel(o)));return Promise.all(s).then(n.ZT).catch(n.ZT)}invalidateQueries(e,t,r){let[i,o]=(0,n.I6)(e,t,r);return a.V.batch(()=>{var e,t;if(this.queryCache.findAll(i).forEach(e=>{e.invalidate()}),"none"===i.refetchType)return Promise.resolve();let r={...i,type:null!=(e=null!=(t=i.refetchType)?t:i.type)?e:"active"};return this.refetchQueries(r,o)})}refetchQueries(e,t,r){let[i,o]=(0,n.I6)(e,t,r),s=a.V.batch(()=>this.queryCache.findAll(i).filter(e=>!e.isDisabled()).map(e=>{var t;return e.fetch(void 0,{...o,cancelRefetch:null==(t=null==o?void 0:o.cancelRefetch)||t,meta:{refetchPage:i.refetchPage}})})),l=Promise.all(s).then(n.ZT);return null!=o&&o.throwOnError||(l=l.catch(n.ZT)),l}fetchQuery(e,t,r){let i=(0,n._v)(e,t,r),a=this.defaultQueryOptions(i);void 0===a.retry&&(a.retry=!1);let o=this.queryCache.build(this,a);return o.isStaleByTime(a.staleTime)?o.fetch(a):Promise.resolve(o.state.data)}prefetchQuery(e,t,r){return this.fetchQuery(e,t,r).then(n.ZT).catch(n.ZT)}fetchInfiniteQuery(e,t,r){let i=(0,n._v)(e,t,r);return i.behavior=(0,m.Gm)(),this.fetchQuery(i)}prefetchInfiniteQuery(e,t,r){return this.fetchInfiniteQuery(e,t,r).then(n.ZT).catch(n.ZT)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){let r=this.queryDefaults.find(t=>(0,n.yF)(e)===(0,n.yF)(t.queryKey));r?r.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;let t=this.queryDefaults.find(t=>(0,n.to)(e,t.queryKey));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){let r=this.mutationDefaults.find(t=>(0,n.yF)(e)===(0,n.yF)(t.mutationKey));r?r.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;let t=this.mutationDefaults.find(t=>(0,n.to)(e,t.mutationKey));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;let t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=(0,n.Rm)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,cacheTime:g.ZZ,staleTime:g.t_}}}),y=()=>{v.refetchQueries({queryKey:["page"],exact:!1})},b=()=>
196{v.invalidateQueries({queryKey:["page"],exact:!1})},S=()=>{v.invalidateQueries({queryKey:["button-campaign-participation"],exact:!1})},w=()=>{v.invalidateQueries({queryKey:["continue-watching-programs"],exact:!1})}},9315:function(e,t,r){"use strict";r.d(t,{H:function(){return n}});let n=e=>{let t=Math.abs(e),r=Math.floor(t/3600),n=Math.floor(t%3600/60),i=Math.floor(t%60),a=r>0?"".concat(String(r),":").concat(String(n).padStart(2,"0"),":").concat(String(i).padStart(2,"0")):"".concat(String(n),":").concat(String(i).padStart(2,"0"));return e<0?"-".concat(a):a}},46635:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(53390),i=r.n(n),a=r(21953),o=r(78114),s=r(82053);function l(e){let{label:t,eventName:r,eventCategory:n,position:l,url:u,category:c,createdAt:d,updatedAt:h,title:p,videoGuid:f,hasVideo:m,sponsor:g,startDate:v,endDate:y}=e,b=(0,s.ZP)({asPath:u,hasVideo:m,sponsored:!!g,startDate:v,endDate:y});i().link({event_value:l||null,event_category:n||o.$1.CONTENT_LISTING,event_name:r||o.SP.CONTENT_LISTING_CLICK,event_label:t,content_category:(null==c?void 0:c.title)||null,content_datecreated:d||null,content_datepublished:d||null,content_id:(0,s.dC)(u),content_language:a.qH,content_datemodified:h||null,content_name:p,content_type:b,...(0,s.HF)(u)&&{event_name:o.SP.CONTENT_LISTING_PLAY,media_name:p,media_id:f}})}},83751:function(e,t){"use strict";t.Z=e=>({overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:e,overflowWrap:"break-word"})},12046:function(e,t,r){"use strict";var n=r(67294);t.Z=e=>{let[t,r]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!t)return;let n=t=>{!e.current||t.composedPath().includes(e.current)||r(!1)};return document.addEventListener("click",n,!1),()=>{document.removeEventListener("click",n,!1)}},[t,e]),{isOpen:t,setIsOpen:r}}},82896:function(e,t,r){"use strict";var n=r(67294),i=r(12875);let a=e=>e.map(e=>({enabled:i.default.isEnabled(e),variant:i.default.getVariant(e),variables:i.default.getVariables(e)}));t.Z=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[i,o]=n.useState(a(t));return n.useEffect(()=>{function e(){let e=a(t);e.every((e,t)=>{var r;return e.enabled===(null===(r=i[t])||void 0===r?void 0:r.enabled)&&e.variant===i[t].variant})||o(e)}return window.eventBus.on("featureReset",e),()=>{window.eventBus.off("featureReset",e)}},[t,i]),1===t.length&&i[0]?i[0]:i}},32034:function(e,t,r){"use strict";r.d(t,{G:function(){return i}});var n=r(67294);let i=()=>{let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=e=>t(e.isOpen);return window.eventBus.on("hamburgerMenu",e),()=>window.eventBus.off("hamburgerMenu",e)},[]),e}},86035:function(e,t,r){"use strict";var n=r(67294);let i=["text","search","url","tel","password"];t.Z=e=>{(0,n.useEffect)(()=>{let t=null==e?void 0:e.current;if(!t||(t.focus(),!i.includes(t.type)))return;let r=t.value.length;t.setSelectionRange(r,r)},[e])}},16567:function(e,t,r){"use strict";var n=r(67294);let i=n.useLayoutEffect;t.Z=i},47968:function(e,t,r){"use strict";var n=r(67294),i=r(11163),a=r(53390),o=r.n(a),s=r(28994),l=r(21953),u=r(78114),c=r(82053);let d=e=>!!e&&"name"in e&&!!e.name,h=e=>!!e&&"category"in e&&!!e.category,p=e=>!!e&&"videoType"in e&&e.videoType===s.vw.Episode,f=e=>{if(!e)return{};let t="title"in e?e.title:null,r="createdAt"in e?e.createdAt:null,n="updatedAt"in e?e.updatedAt:null,i={content_name:null!=t?t:null,content_language:l.qH,content_datecreated:null!=r?r:null,content_datepublished:null!=r?r:null,content_datemodified:null!=n?n:null};if(h(e)){var a,o;i.content_category=null!==(o=null===(a=e.category)||void 0===a?void 0:a.title)&&void 0!==o?o:null}else p(e)?i.content_name="".concat(e.seriesTitle,": ").concat(e.subtitle):d(e)&&(i.content_name=e.name);return i},m=e=>e===u.jw.STATION_PAGE?"theme station":e===u.jw.SHOW_PAGE?l.$E.Show:e===u.jw.POPOUT?"popout player":(null==e?void 0:e.includes(u.jw.PLAYLIST))?u.jw.PLAYLIST:e;t.Z=e=>{let{isLoading:t,data:r,error:s}=e,l=(0,n.useRef)(!1),u=(0,i.useRouter)();(0,n.useEffect)(()=>{var e;if(!t&&(void 0!==r||s)&&(null===(e=a.EventLog.getLastEvent("view"))||void 0===e?void 0:e.page_url)!==document.location.href){let e=(0,c.ZP)({asPath:document.location.pathname,...r?{hasVideo:r.hasVideo,sponsored:!!r.sponsor,startDate:r.startDate,endD
196ate:r.endDate}:{}}),t=(0,c.dC)(document.location.pathname);o().setDataLayer({page_category:e,page_id:t});let n=f(r),i=m(e);if(o().view({event_label:document.title,page_id:t,page_category:e,content_id:t,content_type:i,...n}),r&&r.sponsor&&!l.current){let r=setTimeout(()=>{o().link({event_action:"advertorials",event_category:"actual_time_on_page",event_label:15,content_id:t,content_type:e,...n}),l.current=!0},15e3);return()=>clearTimeout(r)}}},[t,r,s,u])}},33209:function(e,t,r){"use strict";var n=r(59403),i=r(47488),a=r(30656);t.Z=e=>{let{collectionName:t,endpoint:r,limit:o,firstPageLimit:s,enhanceItem:l,...u}=e,c=u.queryKey||[t,r,o,s],d=(0,n.N)({...r&&o&&{queryFn:e=>{let{pageParam:t=1}=e;return(0,i.Ud)({endpoint:r,limit:o,page:t,firstPageLimit:s}).then(e=>({...e,items:l?e.items.map(l):e.items}))}},getNextPageParam:e=>e.nextPage,select:e=>({...e,items:e.pages.flatMap(e=>e.items)}),initialDataUpdatedAt:0,...u,queryKey:c});(0,a.XY)(d.error,{queryKey:c.join(",")});let{items:h}=d.data||{};return{...d,items:h}}},28562:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(36492),i=r(21953),a=r(35027),o=r(59232),s=r(44181),l=r(30656),u=r(62071);let c=e=>{let{mediaId:t}=e,{loginStatus:r}=(0,u.aF)(),c=["transactional-video",t],{entitledOffers:d,isLoading:h}=(0,s.Z)(),{data:p,isLoading:f,error:m,isError:g}=(0,n.a)({queryKey:c,retry:!1,queryFn:()=>(0,a.Cj)("/media/".concat(t)),enabled:!!t});return(0,l.XY)(m,{queryKey:c.join(",")}),(0,o.l)(m,g),{video:p,isEntitled:null!=p&&!!p.offerId&&d.includes(p.offerId),isLoading:f||r===i.IC.Loading||h,isError:g}}},28848:function(e,t,r){"use strict";var n=r(10829),i=r(21953);t.Z=()=>{let e=(0,n.Z)(e=>e.breakpoints.down("sm")),t=(0,n.Z)(e=>e.breakpoints.only("sm")),r=(0,n.Z)(e=>e.breakpoints.only("md")),a=(0,n.Z)(e=>e.breakpoints.only("lg")),o=(0,n.Z)(e=>e.breakpoints.up("lg"));return e?i.r1.Xs:t?i.r1.Sm:r?i.r1.Md:a?i.r1.Lg:o?i.r1.Xl:void 0}},17967:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=r(67294);let i=()=>{let[e,t]=(0,n.useState)(!1),[r,i]=(0,n.useState)(void 0);return(0,n.useEffect)(()=>{let e=e=>{var r;t(e.visible),i(null!==(r=e.height)&&void 0!==r?r:80)};return window.eventBus.on("smartBanner",e),()=>{window.eventBus.off("smartBanner",e)}},[]),{smartBannerVisible:e,smartBannerHeight:r}}},28155:function(e,t,r){"use strict";r.d(t,{w:function(){return a}});var n=r(67294),i=r(21953);let a=()=>{let[e,t]=(0,n.useState)(()=>"undefined"!=typeof document&&document.body.classList.contains(i.tM));return(0,n.useEffect)(()=>{let e=()=>{t(document.body.classList.contains(i.tM))};e();let r=new MutationObserver(e);return r.observe(document.body,{attributes:!0,attributeFilter:["class"]}),()=>r.disconnect()},[]),e}},62071:function(e,t,r){"use strict";r.d(t,{Km:function(){return c},aF:function(){return m},lI:function(){return p},oC:function(){return f}});var n=r(67294),i=r(47610),a=r(21953),o=r(70103),s=r(33989),l=r(30656);let u=null,c=e=>{u=e},d=()=>{var e;if(!u)return!1;let t=(0,s.Z)(u),r=Date.now(),n=(null!==(e=null==t?void 0:t.expiresAt)&&void 0!==e?e:0)*1e3;return r<n-a.D1},h=async()=>new Promise(e=>{let t=0,r=setInterval(()=>{u&&(d()&&(clearInterval(r),e()),t>=10&&(clearInterval(r),(0,l.Nd)(Error("JWT refresh token wait timeout after 10 seconds")),e()),t++)},1e3)}),p=()=>u,f=async()=>u?d()?u:(await h(),d()?u:null):null;window.eventBus.on("user",e=>{var t;let{outletName:r,isProd:n}=(0,o.ZP)();if(n||c(null!==(t=e.idToken)&&void 0!==t?t:null),r===a.eA.Kijk&&e.isLoggedIn)return(0,i.zd)().then(e=>{window.eventBus.dispatch("watchlist",{watchlist:e})})});let m=()=>{let[e,t]=(0,n.useState)(a.IC.Loading),[r,i]=(0,n.useState)(),[o,s]=(0,n.useState)([]);return(0,n.useEffect)(()=>{var e,r,n;let o=e=>{let{user:r,isLoading:n,isLoggedIn:o}=e;i(r),t(e=>n&&e!==a.IC.Loading?a.IC.Loading:o&&e!==a.IC.Authenticated?a.IC.Authenticated:o||!1!==n||e===a.IC.Unauthenticated?e:a.IC.Unauthenticated)};o(null!==(n=null===(r=window.eventBus.publishedEventRegistry)||void 0===r?void 0:null===(e=r.user)||void 0===e?void 0:e.data)&&void 0!==n?n:{isLoading:!0,isLoggedIn:!1,user:null,idToken:null});let l=e=>{s(e.watchlist)};return window.eventBus.on("user",o),window.eventBus.on("watchlist",l,!0),()=>{window.eventBus.off("user",o),window.eventBus.off("watchlist",l)}},[]),{user:r,loginStatus:e,isLoggedIn:e===a.IC.Authenticated,watchlist:o}}},44909:function(e,t,r){"use strict";r.d(t,{G3:function(){return a},W:function(){return o},dM:function(){return u},ty:function(){return l},xK:function(){return s}});var n=r(62071),i=r(47610);let a={},o=(e,t)=>{if(null===t){delete a[e];return}a[e]=t},s=async e=>{var t,r;let{playerInstance:a,guid:o,completed:s}=e,u=(0,n.lI)(),c=null===(t=a.getDuration)||void 0===t?void 0:t.call(a);if(!u||!Number.isFinite(c))return;let d=(null===(r=a.getCurrentTime)||void 0===r?void 0:r.call(a))||0;await (0,i.cT)({guid:o,position:d,completed:null!=s?s:l(d,c)})},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(null===e||null===t)return!1;let r=Math.round(t/60);return r>20?e>=t-60:+u(e,t).toFixed(2)>=95},u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e&&t?e/t*100:0}},13989:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(11163),i=r.n(n),a=r(21953),o=r(70103);function s(e,t){let{searchModal:r}=(0,o.ZP)(),n=new URLSearchParams(location.search),[s]=i().asPath.split("?");if(null!==e){n.set(a.az.SearchKeyword,e),t?n.set(a.az.SearchTab,t):r.enablePartnerSearch&&""!==t||n.delete(a.az.SearchTab);let o="".concat(s,"?").concat(n.toString());i().push(o,void 0,{shallow:!0})}else{n.delete(a.az.SearchKeyword),n.delete(a.az.SearchTab);let e=s+(n.size>0?"?".concat(n.toString()):"");i().push(e,void 0,{shallow:!0})}}},99234:function(e,t,r){"use strict";r.d(t,{SV:function(){return B},F3:function(){return q},k8:function(){return z},Xu:function(){return F},LA:function(){return j},Iv:function(){return G},x1:function(){return Z}});var n=r(21860),i=r(10146),a=r(79309),o=r(98602),s=r(90828),l=r(80554),u=r(89117),c=r(70684),d=r(82889),h=r(77303),p=r(24959),f=r(91771),m=r(35694),g=r(86012);function v(e,t,r){let n;let i=(0,d.j)(),a=r?.locale??i.locale??c._,o=(0,m.U)(e,t);if(isNaN(o))throw RangeError("Invalid time value");let s=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:o}),[l,u]=(0,f.d)(r?.in,...o>0?[t,e]:[e,t]),v=(0,h.u)(r?.roundingMethod??"round"),y=u.getTime()-l.getTime(),b=y/g.yJ,S=(0,p.D)(u)-(0,p.D)(l),w=(y-S)/g.yJ,x=r?.unit;if("second"===(n=x||(b<1?"second":b<60?"minute":b<g.H_?"hour":w<g.fH?"day":w<g.UU?"month":"year"))){let e=v(y/1e3);return a.formatDistance("xSeconds",e,s)}if("minute"===n){let e=v(b);return a.formatDistance("xMinutes",e,s)}if("hour"===n){let e=v(b/60);return a.formatDistance("xHours",e,s)}if("day"===n){let e=v(w/g.H_);return a.formatDistance("xDays",e,s)}if("month"===n){let e=v(w/g.fH);return 12===e&&"month"!==x?a.formatDistance("xYears",1,s):a.formatDistance("xMonths",e,s)}{let e=v(w/g.UU);return a.formatDistance("xYears",e,s)}}var y=r(50040),b=r(49315),S=r(12592),w=r(32612),x=r(26843),E=r(77269),T=function(e,t){return(0,E.F)((0,x.L)(t?.in||e,e),(0,y.y)(t?.in||e))},k=r(54487),C=r(98360),_=r(29893),P=r(57783),A=function(e,t){return(0,_.K)((0,x.L)(t?.in||e,e),(0,P.k)((0,y.y)(t?.in||e),1))},N=r(97397),I=r(6603),R=r(28994),O=r(21953),L=r(58210),D=r(25196),M=r(70103);let Z=(e,t)=>{var r;if(!t)return"";let n=new N.N9(new Date,L.aB),i=new Date(e),a=new Date(t),l=(r={locale:I.nl,addSuffix:!0},v(a,(0,y.y)(a),r)),u=(0,s.Z)(a,i);return u<15?"":u>15&&24>(0,o.Z)(n,i)?" - Update: ".concat(l):" - Update: ".concat(F(t))}
196,F=function(e){let{showTime:t=!0,showDay:r=!1,showFullWeekday:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";try{var a;let o=new N.N9(new Date(e),L.aB),{outletName:s}=(0,M.ZP)(),l=null!==(a=L.L0[o.getMonth()])&&void 0!==a?a:"",c=s===O.eA.Kijk,d=s===O.eA.PartnerPortal;if((0,k.Z)(o))return(0,u.ZP)(o,"'".concat(L.c3,"'").concat(t?", HH:mm":""));if(A(o))return(0,u.ZP)(o,"'".concat(L.WD,"'").concat(t?", HH:mm":""));if(n)return(0,u.ZP)(o,"EEEE HH:mm",{locale:I.nl});if(r&&7>(0,i.Z)(new Date,o)&&!d||r&&T(o)&&(c||d))return(0,D.Z)((0,u.ZP)(o,"".concat(c||d?"EEEEEE":"EEEE"," d '").concat(l,"', HH:mm"),{locale:I.nl}));if(r&&T(o))return(0,u.ZP)(o,"d '".concat(l,"', HH:mm"));return(0,u.ZP)(o,"d '".concat(l,"' yyyy").concat(t?", HH:mm":""),{locale:I.nl})}catch(e){return""}},j=e=>{let t=new N.N9(new Date,L.aB),r=new N.N9(new Date(e),L.aB);return{dateLabel:(0,k.Z)(r)?"".concat(L.c3,", ").concat((0,u.ZP)(r,"HH:mm",{locale:I.nl})):A(r)?"".concat(L.WD," ").concat((0,u.ZP)(r,"d MMMM",{locale:I.nl})):(0,D.Z)((0,u.ZP)(r,"EEEE d MMMM",{locale:I.nl})),isInPast:(0,S.Z)(r,t)}},B=()=>{let e=new N.N9(new Date,L.aB);return Array(8).fill(0).map((t,r)=>{let n=(0,P.Z)(e,r),i=(0,u.ZP)(n,"yyyy-MM-dd"),a=(0,D.Z)((0,u.ZP)(n,"EEEE",{locale:I.nl})),o=(0,D.Z)((0,u.ZP)(n,"EEE",{locale:I.nl})).slice(0,2);return 0===r&&(a=L.c3),1===r&&(a=L.WD),{label:r<2?a:"".concat(o," ").concat((0,u.ZP)(n,"dd MMM",{locale:I.nl}).replace(".","")),popularSectionTitle:"".concat(a," populair"),moreSectionTitle:"Meer van ".concat(a.toLowerCase()),value:String(r),date:i}})},U={today:e=>"Vanaf ".concat(e),tomorrow:()=>"Vanaf morgen",futureDays:e=>"Over ".concat(String(e)," dagen"),futureDate:e=>"Vanaf ".concat(e)},$={tomorrow:()=>"Nog 1 dag",futureHours:e=>"Nog ".concat(e),futureMinutes:e=>{let t=e.replace("minuten","min");return"Nog ".concat(t)},futureDefault:e=>"Nog ".concat(e)},V=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"HH:mm";return(0,C.Z)(e)?(0,u.ZP)(e,t,{locale:I.nl}).replace(/[.]/g,""):""};function z(e){let t=new N.N9(new Date(Number(e)),L.aB),r=new N.N9(new Date,L.aB),i=(0,l.Z)(r),o=(0,l.Z)((0,n.Z)(r,1)),s=(0,l.Z)((0,n.Z)(r,7));return t<=i?U.today(V(t)):t<=o?U.tomorrow():t<=s?U.futureDays((0,a.Z)(t,i)+1):U.futureDate(V(t,"d MMM"))}let H=e=>{let t=new N.N9(new Date,L.aB),r=v(t,e,{locale:I.nl}),n=(0,o.Z)(e,t);return n>=24&&n<48?$.tomorrow():r.includes("uur")?$.futureHours(r):r.includes("minuten")?$.futureMinutes(r):$.futureDefault(r)},G=e=>{if(!e)return!1;let t=new N.N9(new Date(Number(e)),L.aB);return+(0,w.Q)(t)<Date.now()},q=e=>{let{availableDate:t,expirationDate:r,airedDateTime:i,isLive:a,type:o}=e,s=new N.N9(new Date,L.aB),l=i&&new N.N9(new Date(i),L.aB);if(o!==R.vw.Series){if(t){let e=G(t);if(!e)return z(t)}if(a)return O.wI;if([R.vw.Episode,R.vw.Pvx].includes(o)&&i&&l&&+(0,w.Q)(l)>Date.now())return"Kijk vooruit";if(r){let e=(0,n.Z)(s,5),t=(0,w.Z)(Number(r)),i=new N.N9(t,L.aB);if((0,S.Z)(i,e)&&(0,b.Z)(i,s))return H(i)}}return null}},47488:function(e,t,r){"use strict";r.d(t,{D7:function(){return f},LE:function(){return p},Ud:function(){return h},dX:function(){return c},j0:function(){return d}});var n=r(21953),i=r(70103),a=r(5679),o=r(30656),s=r(23251),l=r(99234);async function u(e){let t=function(){let{outletName:e,isProd:t,videoApiEndpoint:r}=(0,i.ZP)();if(t)return{};let a={};return t||e!==n.eA.PartnerPortal||(a.outlet="partnerportal"),r.startsWith("https://")&&!r.includes(".".concat(n.Xp.Prod,"."))&&(a[n.mr]=r),a}();try{let r=await fetch(e,{headers:t,signal:AbortSignal.timeout(s.t)});if(!r.ok&&404!==r.status)throw Error("Request failed with status code ".concat(String(r.status)));return r}catch(t){throw(0,o.Nd)(Error("Content API fetch failed for: ".concat(e)),{fetch_error:t.message}),t}}async function c(e){try{let t=await fetch(e,{signal:AbortSignal.timeout(s.t)});if(!t.ok&&404!==t.status)throw Error("Request failed with status code ".concat(String(t.status)));let{data:r,message:n}=await t.json();if(void 0===r)throw Error(n||"Failed to fetch from ".concat(e));return r}catch(t){throw(0,o.Nd)(Error("Fetch data by endpoint failed for: ".concat(e)),{fetch_error:t.message}),t}}async function d(e){let t=await u(e);if(404===t.status)return null;let{data:r,message:n}=await t.json();if(void 0===r)throw Error(n||"Failed to fetch from ".concat(e));return r}
196async function h(e){let{endpoint:t,limit:r,page:n,contentType:i,firstPageLimit:o}=e,s=(n-1)*r,c=r;if(o){let e=1===n;c=e?o:r,s=e?0:o+(n-2)*r}let d=t.includes("?"),h="".concat(t).concat(d?"&":"?","limit=").concat(String(c),"&skip=").concat(String(s)).concat(i?"&contentType=".concat(i):""),p=await u(h),{data:f,message:m}=await p.json();if(void 0===f)throw Error(m||"Failed to retrieve collection data");let g=s+f.items.length;return{items:f.items.map(e=>({...e,statusLabel:(0,a.Z)(e),category:(null==e?void 0:e.startDate)?{title:"acties"}:e.category,...e.eventDate?{eventDateLabel:(0,l.LA)(e.eventDate)}:{}})),totalResults:f.total,nextPage:g>=f.total||f.items.length<c?null:n+1}}let p=async e=>{var t;let r=await h(e);return{...r,items:r.items.map(r=>{var i;return{...r,dateLabel:(0,l.Xu)(r.createdAt||"",{showDay:!0,showTime:!0}),contentTypeLabel:null!==(t=null===(i=r.sponsor)||void 0===i?void 0:i.label)&&void 0!==t?t:e.contentType?"":r.url.includes(n._1.VIDEO.VIDEOS)?n.o6.Video:n.o6.Article}})}};async function f(e,t){if(!e)return null;let r=await u(e),n=await r.json();if(void 0===n[t])throw Error(n.message||"Failed to retrieve ".concat(t," preview data"));return n[t]}},61236:function(e,t,r){"use strict";var n=r(49315),i=r(12592),a=r(97397),o=r(21953),s=r(58210);t.Z=(e,t)=>{if(!e||!t)return;let r=new a.N9(new Date,s.aB),l=new a.N9(e,"UTC"),u=new a.N9(t,"UTC");return(0,i.Z)(l,r)&&(0,n.Z)(u,r)?o.cj.Active:(0,n.Z)(l,r)?o.cj.NotStarted:o.cj.Expired}},54226:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(10829);function i(e){let t=(0,n.Z)(e=>e.breakpoints.only("xs")),r=(0,n.Z)(e=>e.breakpoints.only("sm")),i=(0,n.Z)(e=>e.breakpoints.only("md"));return t?e.xs:r?e.sm:i?e.md:e.lg}},66488:function(e,t,r){"use strict";r.d(t,{cn:function(){return ek}});var n=r(90512);let i=(e,t)=>{let r=Array(e.length+t.length);for(let t=0;t<e.length;t++)r[t]=e[t];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},a=(e,t)=>({classGroupId:e,validator:t}),o=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),s=[],l=e=>{let t=d(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return c(e);let r=e.split("-"),n=""===r[0]&&r.length>1?1:0;return u(r,n,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],a=r[e];return t?a?i(a,t):t:a||s}return r[e]||s}}},u=(e,t,r)=>{let n=e.length-t;if(0===n)return r.classGroupId;let i=e[t],a=r.nextPart.get(i);if(a){let r=u(e,t+1,a);if(r)return r}let o=r.validators;if(null===o)return;let s=0===t?e.join("-"):e.slice(t).join("-"),l=o.length;for(let e=0;e<l;e++){let t=o[e];if(t.validator(s))return t.classGroupId}},c=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{let t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?"arbitrary.."+n:void 0})(),d=e=>{let{theme:t,classGroups:r}=e;return h(r,t)},h=(e,t)=>{let r=o();for(let n in e){let i=e[n];p(i,r,n,t)}return r},p=(e,t,r,n)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];f(i,t,r,n)}},f=(e,t,r,n)=>{if("string"==typeof e){m(e,t,r);return}if("function"==typeof e){g(e,t,r,n);return}v(e,t,r,n)},m=(e,t,r)=>{let n=""===e?t:y(t,e);n.classGroupId=r},g=(e,t,r,n)=>{if(b(e)){p(e(n),t,r,n);return}null===t.validators&&(t.validators=[]),t.validators.push(a(r,e))},v=(e,t,r,n)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];p(o,y(t,a),r,n)}},y=(e,t)=>{let r=e,n=t.split("-"),i=n.length;for(let e=0;e<i;e++){let t=n[e],i=r.nextPart.get(t);i||(i=o(),r.nextPart.set(t,i)),r=i}return r},b=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,S=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),i=(i,a)=>{r[i]=a,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(i(e,t),t):void 0},set(e,t){e in r?r[e]=t:i(e,t)}}},w=[],x=(e,t,r,n,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),E=e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t;let r=[],n=0,i=0,a=0,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(0===n&&0===i){if(":"===o){r.push(e.slice(a,s)),a=s+1;continue}if("/"===o){t=s;continue}}"["===o?n++:"]"===o?n--:"("===o?i++:")"===o&&i--}let s=0===r.length?e:e.slice(a),l=s,u=!1;s.endsWith("!")?(l=s.slice(0,-1),u=!0):s.startsWith("!")&&(l=s.slice(1),u=!0);let c=t&&t>a?t-a:void 0;return x(r,u,l,c)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):x(w,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n},T=e=>{let t=new Map;
196return e.orderSensitiveModifiers.forEach((e,r)=>{t.set(e,1e6+r)}),e=>{let r=[],n=[];for(let i=0;i<e.length;i++){let a=e[i],o="["===a[0],s=t.has(a);o||s?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(a)):n.push(a)}return n.length>0&&(n.sort(),r.push(...n)),r}},k=e=>({cache:S(e.cacheSize),parseClassName:E(e),sortModifiers:T(e),...l(e)}),C=/\s+/,_=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(C),l="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:p}=r(t);if(u){l=t+(l.length>0?" "+l:l);continue}let f=!!p,m=n(f?h.substring(0,p):h);if(!m){if(!f||!(m=n(h))){l=t+(l.length>0?" "+l:l);continue}f=!1}let g=0===c.length?"":1===c.length?c[0]:a(c).join(":"),v=d?g+"!":g,y=v+m;if(o.indexOf(y)>-1)continue;o.push(y);let b=i(m,f);for(let e=0;e<b.length;++e){let t=b[e];o.push(v+t)}l=t+(l.length>0?" "+l:l)}return l},P=(...e)=>{let t,r,n=0,i="";for(;n<e.length;)(t=e[n++])&&(r=A(t))&&(i&&(i+=" "),i+=r);return i},A=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=A(e[n]))&&(r&&(r+=" "),r+=t);return r},N=[],I=e=>{let t=t=>t[e]||N;return t.isThemeGetter=!0,t},R=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,O=/^\((?:(\w[\w-]*):)?(.+)\)$/i,L=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,D=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,M=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Z=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,F=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,j=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>L.test(e),U=e=>!!e&&!Number.isNaN(Number(e)),$=e=>!!e&&Number.isInteger(Number(e)),V=e=>e.endsWith("%")&&U(e.slice(0,-1)),z=e=>D.test(e),H=()=>!0,G=e=>M.test(e)&&!Z.test(e),q=()=>!1,K=e=>F.test(e),W=e=>j.test(e),X=e=>!J(e)&&!eo(e),Y=e=>ef(e,ey,q),J=e=>R.test(e),Q=e=>ef(e,eb,G),ee=e=>ef(e,eS,U),et=e=>ef(e,ex,H),er=e=>ef(e,ew,q),en=e=>ef(e,eg,q),ei=e=>ef(e,ev,W),ea=e=>ef(e,eE,K),eo=e=>O.test(e),es=e=>em(e,eb),el=e=>em(e,ew),eu=e=>em(e,eg),ec=e=>em(e,ey),ed=e=>em(e,ev),eh=e=>em(e,eE,!0),ep=e=>em(e,ex,!0),ef=(e,t,r)=>{let n=R.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},em=(e,t,r=!1)=>{let n=O.exec(e);return!!n&&(n[1]?t(n[1]):r)},eg=e=>"position"===e||"percentage"===e,ev=e=>"image"===e||"url"===e,ey=e=>"length"===e||"size"===e||"bg-size"===e,eb=e=>"length"===e,eS=e=>"number"===e,ew=e=>"family-name"===e,ex=e=>"number"===e||"weight"===e,eE=e=>"shadow"===e,eT=(e=>{let t,r,n,i;let a=e=>{let i=r(e);if(i)return i;let a=_(e,t);return n(e,a),a};return i=o=>{let s=[].reduce((e,t)=>t(e),e());return r=(t=k(s)).cache.get,n=t.cache.set,i=a,a(o)},(...e)=>i(P(...e))})(()=>{let e=I("color"),t=I("font"),r=I("text"),n=I("font-weight"),i=I("tracking"),a=I("leading"),o=I("breakpoint"),s=I("container"),l=I("spacing"),u=I("radius"),c=I("shadow"),d=I("inset-shadow"),h=I("text-shadow"),p=I("drop-shadow"),f=I("blur"),m=I("perspective"),g=I("aspect"),v=I("ease"),y=I("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...S(),eo,J],x=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],T=()=>[eo,J,l],k=()=>[B,"full","auto",...T()],C=()=>[$,"none","subgrid",eo,J],_=()=>["auto",{span:["full",$,eo,J]},$,eo,J],P=()=>[$,"auto",eo,J],A=()=>["auto","min","max","fr",eo,J],N=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],R=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...T()],L=()=>[B,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],D=()=>[B,"screen","full","dvw","lvw","svw","min","max","fit",...T()],M=()=>[B,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],Z=()=>[e,eo,J],F=()=>[...S(),eu,en,{position:[eo,J]}],j=()=>["no-repeat",{repeat:["","x","y","space","round"]}],G=()=>["auto","cover","contain",ec,Y,{size:[eo,J]}],q=()=>
vendor: 7,098 bytes, line 196
196[V,es,Q],K=()=>["","none","full",u,eo,J],W=()=>["",U,es,Q],ef=()=>["solid","dashed","dotted","double"],em=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],eg=()=>[U,V,eu,en],ev=()=>["","none",f,eo,J],ey=()=>["none",U,eo,J],eb=()=>["none",U,eo,J],eS=()=>[U,eo,J],ew=()=>[B,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[z],breakpoint:[z],color:[H],container:[z],"drop-shadow":[z],ease:["in","out","in-out"],font:[X],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[z],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[z],shadow:[z],spacing:["px",U],text:[z],"text-shadow":[z],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",B,J,eo,g]}],container:["container"],columns:[{columns:[U,J,eo,s]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:w()}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{"inset-s":k(),start:k()}],end:[{"inset-e":k(),end:k()}],"inset-bs":[{"inset-bs":k()}],"inset-be":[{"inset-be":k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[$,"auto",eo,J]}],basis:[{basis:[B,"full","auto",s,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[U,B,"auto","initial","none",J]}],grow:[{grow:["",U,eo,J]}],shrink:[{shrink:["",U,eo,J]}],order:[{order:[$,"first","last","none",eo,J]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...N(),"normal"]}],"justify-items":[{"justify-items":[...R(),"normal"]}],"justify-self":[{"justify-self":["auto",...R()]}],"align-content":[{content:["normal",...N()]}],"align-items":[{items:[...R(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...R(),{baseline:["","last"]}]}],"place-content":[{"place-content":N()}],"place-items":[{"place-items":[...R(),"baseline"]}],"place-self":[{"place-self":["auto",...R()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mbs:[{mbs:O()}],mbe:[{mbe:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],"inline-size":[{inline:["auto",...D()]}],"min-inline-size":[{"min-inline":["auto",...D()]}],"max-inline-size":[{"max-inline":["none",...D()]}],"block-size":[{block:["auto",...M()]}],"min-block-size":[{"min-block":["auto",...M()]}],"max-block-size":[{"max-block":["none",...M()]}],w:[{w:[s,"screen",...L()]}],"min-w":[{"min-w":[s,"screen","none",...L()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",r,es,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,ep,et]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",V,J]}],"font-family":[{font:[el,er,t]}],"font-features":[{"font-features":[J]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,eo,J]}],"line-clamp":[{"line-clamp":[U,"none",eo,ee]}],leading:[{leading:[a,...T()]}],"list-image":[{"list-image":["none",eo,J]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",eo,J]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Z()}],"text-color":[{text:Z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ef(),"wavy"]}],"text-decoration-thickness":[{decoration:[U,"from-font","auto",eo,Q]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[U,"auto",eo,J]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",eo,J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",eo,J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:F()}],"bg-repeat":[{bg:j()}],"bg-size":[{bg:G()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},$,eo,J],radial:["",eo,J],conic:[$,eo,J]},ed,ei]}],"bg-color":[{bg:Z()}],"gradient-from-pos":[{from:q()}
vendor: 7,317 bytes, line 196
196],"gradient-via-pos":[{via:q()}],"gradient-to-pos":[{to:q()}],"gradient-from":[{from:Z()}],"gradient-via":[{via:Z()}],"gradient-to":[{to:Z()}],rounded:[{rounded:K()}],"rounded-s":[{"rounded-s":K()}],"rounded-e":[{"rounded-e":K()}],"rounded-t":[{"rounded-t":K()}],"rounded-r":[{"rounded-r":K()}],"rounded-b":[{"rounded-b":K()}],"rounded-l":[{"rounded-l":K()}],"rounded-ss":[{"rounded-ss":K()}],"rounded-se":[{"rounded-se":K()}],"rounded-ee":[{"rounded-ee":K()}],"rounded-es":[{"rounded-es":K()}],"rounded-tl":[{"rounded-tl":K()}],"rounded-tr":[{"rounded-tr":K()}],"rounded-br":[{"rounded-br":K()}],"rounded-bl":[{"rounded-bl":K()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-bs":[{"border-bs":W()}],"border-w-be":[{"border-be":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ef(),"hidden","none"]}],"divide-style":[{divide:[...ef(),"hidden","none"]}],"border-color":[{border:Z()}],"border-color-x":[{"border-x":Z()}],"border-color-y":[{"border-y":Z()}],"border-color-s":[{"border-s":Z()}],"border-color-e":[{"border-e":Z()}],"border-color-bs":[{"border-bs":Z()}],"border-color-be":[{"border-be":Z()}],"border-color-t":[{"border-t":Z()}],"border-color-r":[{"border-r":Z()}],"border-color-b":[{"border-b":Z()}],"border-color-l":[{"border-l":Z()}],"divide-color":[{divide:Z()}],"outline-style":[{outline:[...ef(),"none","hidden"]}],"outline-offset":[{"outline-offset":[U,eo,J]}],"outline-w":[{outline:["",U,es,Q]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",c,eh,ea]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",d,eh,ea]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[U,Q]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",h,eh,ea]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[U,eo,J]}],"mix-blend":[{"mix-blend":[...em(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":em()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[U]}],"mask-image-linear-from-pos":[{"mask-linear-from":eg()}],"mask-image-linear-to-pos":[{"mask-linear-to":eg()}],"mask-image-linear-from-color":[{"mask-linear-from":Z()}],"mask-image-linear-to-color":[{"mask-linear-to":Z()}],"mask-image-t-from-pos":[{"mask-t-from":eg()}],"mask-image-t-to-pos":[{"mask-t-to":eg()}],"mask-image-t-from-color":[{"mask-t-from":Z()}],"mask-image-t-to-color":[{"mask-t-to":Z()}],"mask-image-r-from-pos":[{"mask-r-from":eg()}],"mask-image-r-to-pos":[{"mask-r-to":eg()}],"mask-image-r-from-color":[{"mask-r-from":Z()}],"mask-image-r-to-color":[{"mask-r-to":Z()}],"mask-image-b-from-pos":[{"mask-b-from":eg()}],"mask-image-b-to-pos":[{"mask-b-to":eg()}],"mask-image-b-from-color":[{"mask-b-from":Z()}],"mask-image-b-to-color":[{"mask-b-to":Z()}],"mask-image-l-from-pos":[{"mask-l-from":eg()}],"mask-image-l-to-pos":[{"mask-l-to":eg()}],"mask-image-l-from-color":[{"mask-l-from":Z()}],"mask-image-l-to-color":[{"mask-l-to":Z()}],"mask-image-x-from-pos":[{"mask-x-from":eg()}],"mask-image-x-to-pos":[{"mask-x-to":eg()}],"mask-image-x-from-color":[{"mask-x-from":Z()}],"mask-image-x-to-color":[{"mask-x-to":Z()}],"mask-image-y-from-pos":[{"mask-y-from":eg()}],"mask-image-y-to-pos":[{"mask-y-to":eg()}],"mask-image-y-from-color":[{"mask-y-from":Z()}],"mask-image-y-to-color":[{"mask-y-to":Z()}],"mask-image-radial":[{"mask-radial":[eo,J]}],"mask-image-radial-from-pos":[{"mask-radial-from":eg()}],"mask-image-radial-to-pos":[{"mask-radial-to":eg()}],"mask-image-radial-from-color":[{"mask-radial-from":Z()}],"mask-image-radial-to-color":[{"mask-radial-to":Z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":S()}],"mask-image-conic-pos":[{"mask-conic":[U]}],"mask-image-conic-from-pos":[{"mask-conic-from":eg()}],"mask-image-conic-to-pos":[{"mask-conic-to":eg()}],"mask-image-conic-from-color":[{"mask-conic-from":Z()}],"mask-image-conic-to-color":[{"mask-conic-to":Z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:F()}],"mask-repeat":[{mask:j()}],"mask-size":[{mask:G()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",eo,J]}],filter:[{filter:["","none",eo,J]}],blur:[{blur:ev()}],brightness:[{brightness:[U,eo,J]}],contrast:[{contrast:[U,eo,J]}],"drop-shadow":[{"drop-shadow":["","none",p,eh,ea]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",U,eo,J]}],"hue-rotate":[{"hue-rotate":[U,eo,J]}],invert:[{invert:["",U,eo,J]}],saturate:[{saturate:[U,eo,J]}],sepia:[{sepia:["",U,eo,J]}],"backdrop-filter":[{"backdrop-filter":["","none",eo,J]}],"backdrop-blur":[{"backdrop-blur":ev()}],"backdrop-brightness":[{"backdrop-brightness":[U,eo,J]}],"backdrop-contrast":[{"backdrop-contrast":[U,eo,J]}],"backdrop-grayscale":[{"backdrop-grayscale":["",U,eo,J]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[U,eo,J]}],"backdrop-invert":[{"backdrop-invert":["",U,eo,J]}],"backdrop-opacity":[{"backdrop-opacity":[U,eo,J]}],"backdrop-saturate":[{"backdrop-saturate":[U,eo,J]}],"backdrop-sepia":[{"backdrop-sepia":["",U,eo,J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",eo,J]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[U,"initial",eo,J]}],ease:[{ease:["linear","initial",v,eo,J]}],delay:[{delay:[U,eo,J]}],animate:[{animate:["none",y,eo,J]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,eo,J]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:ey()}],"rotate-x":[{"rotate-x":ey()}],"rotate-y":[{"rotate-y":ey()}],"rotate-z":[{"rotate-z":ey()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:eS()}],"skew-x":[{"skew-x":eS()}],"skew-y":[{"skew-y":eS()}],transform:[{transform:[eo,J,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ew()}],"translate-x":[{"translate-x":ew()}],"translate-y":[{"translate-y":ew()}],"translate-z":[{"translate-z":ew()}],"translate-none":["translate-none"],accent:[{accent:Z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Z()}
196],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",eo,J]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",eo,J]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[U,es,Q,ee]}],stroke:[{stroke:["none",...Z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function ek(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return eT((0,n.W)(t))}},23370:function(e,t,r){"use strict";r.d(t,{g:function(){return i}});var n,i,a=r(11752),o=r.n(a),s=r(28994),l=r(21953),u=r(70103),c=r(7490),d=r(64571),h=r(30656),p=r(62071),f=r(44909),m=r(86962),g=r(47610);let{publicRuntimeConfig:{imageDomain:v}}=o()(),y="urn:x-cast:nl.talpavideo.caf",b="Nederlands";(n=i||(i={})).IDLE="IDLE",n.PLAYING="PLAYING",n.PAUSED="PAUSED",n.BUFFERING="BUFFERING";let S=new class{loadSdk(){if(this.sdkLoaded||"undefined"!=typeof cast){this.onInit(chrome.cast.isAvailable);return}this.sdkLoaded=!0,window.__onGCastApiAvailable=this.onInit,(0,d.Z)("https://www.gstatic.
196com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1")}initializeCastApi(){var e;let t=cast.framework.CastContext.getInstance();t.setOptions({receiverApplicationId:this.applicationId,autoJoinPolicy:null!==(e=this.autoJoinPolicy)&&void 0!==e?e:chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED}),this.installJwCastButton(t),this.remotePlayer||(this.remotePlayer=new cast.framework.RemotePlayer,this.remotePlayerController=new cast.framework.RemotePlayerController(this.remotePlayer),this.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.IS_CONNECTED_CHANGED,this.connectionChanged),this.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.PLAYER_STATE_CHANGED,this.playerStateChanged),this.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.CURRENT_TIME_CHANGED,this.currentTimeChanged),this.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.VOLUME_LEVEL_CHANGED,this.volumeLevelChanged),this.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.IS_MUTED_CHANGED,this.isMutedChanged),this.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.DURATION_CHANGED,this.durationChanged),this.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.IS_MEDIA_LOADED_CHANGED,this.mediaLoadedChanged))}installJwCastButton(e){var t;(null===(t=this.jwInstance)||void 0===t?void 0:t.addButton)&&this.jwInstance.addButton("","Afspelen op tv",()=>{},"cast-button");let r=document.createElement("google-cast-launcher"),n=document.querySelector('[button="cast-button"] .jw-icon');null==n||n.appendChild(r);let i=document.querySelector('[button="cast-button"]');if(!i)return;i.style.display=e.getCastState()===cast.framework.CastState.NO_DEVICES_AVAILABLE?"none":"flex";let a=new MutationObserver(()=>{i.style.display="none"===r.style.display?"none":"flex"});a.observe(r,{attributes:!0,attributeFilter:["style"]})}attachReceiverMessageListener(){this.session&&this.session.addMessageListener(y,(e,t)=>{try{let e=JSON.parse(t);this.handleReceiverMessage(e)}catch(e){}})}handleReceiverMessage(e){switch(e.type){case"LOG":console.log("[CAF log]",...e.message);return;case"TRACK_CHANGED":case"ACTIVE_TRACK_SET":this.onTrackChange(e.id);return;case"BREAK_TIME_UPDATE":this.onAdTimeUpdate(e.value,e.duration);return;case"ON_BREAK_CHANGED":this.onBreakChange({isPlayingBreak:e.value,duration:e.duration,podcount:e.podcount,sequence:e.sequence,breaks:e.breaks});return;case"DEVICE_AUTH_USER_CODE":this.onDeviceAuthUserCode(e.userCode,e.deviceEndpoint);return;case"DEVICE_AUTH_SUCCESS":this.onDeviceAuthSuccess();return;case"DEVICE_AUTH_ERROR":this.onDeviceAuthError();return;default:console.log("[CAF receiver message]",e)}}sendMessage(e){this.session&&this.session.sendMessage(y,JSON.stringify(e))}getMediaAttributes(){return this.video?{media_id:this.video.guid,media_videotype:this.video.type}:{}}onDeviceAuthSuccess(){(0,h.$V)("chromecast_device_auth_success",this.getMediaAttributes())}onDeviceAuthError(){var e;(0,h.$V)("chromecast_device_auth_error",this.getMediaAttributes());let t="Authenticatie in Chromecast mislukt.";(null===(e=this.video)||void 0===e?void 0:e.type)===s.vw.Pvx&&(this.endSession(),t+=" Probeer het opnieuw."),window.eventBus.dispatch("toastMessage",t)}setAdState(e){this.adState={...this.adState,...e},this.emit("adStateChange",this.adState)}setPlayerStateChange(e){this.playerState=e,this.emit("playerStateChange",e)}setMediaState(e){this.media=e,this.emit("mediaChange",e)}onPlayerStateChange(e){this.setPlayerStateChange(e)}onDurationChange(e){var t,r;this.duration=e;let n=null===(t=this.session)||void 0===t?void 0:t.getMediaSession();if(this.media.isLive&&(null===(r=this.video)||void 0===r?void 0:r.type)===s.vw.Pvx&&-1===e&&(null==n?void 0:n.liveSeekableRange)){let{start:e,end:t}=n.liveSeekableRange;this.duration=(null!=t?t:0)-(null!=e?e:0)}this.emit("timeUpdate",{currentTime:this.currentTime,duration:this.duration})}onCurrentTimeChange(e){var t,r;this.currentTime=e;let n=e,i=this.duration,a=null===(t=this.session)||void 0===t?void 0:t.getMediaSession();if(this.media.isLive&&(null===(r=this.video)||void 0===r?void 0:r.type)===s.vw.Pvx&&(null==a?void 0:a.liveSeekableRange)){let{start:t=0,end:r=this.duration}=a.liveSeekableRange;
196n=e-t,i=r-t,this.emit("liveEdgeChange",this.isAtLiveEdge())}if(this.emit("timeUpdate",{currentTime:n,duration:i}),!this.media.isLive&&e&&this.duration&&this.media.contentId){let t={progressInSeconds:e,progressPercentage:(0,f.dM)(e,this.duration),completed:(0,f.ty)(e,this.duration)};window.eventBus.dispatch("activeVideoProgress",{guid:this.media.contentId,progress:t}),e>=20&&(0,f.W)(this.media.contentId,t)}}onVolumeChange(e,t){this.emit("volumeChange",{muted:e,level:t})}onTrackChange(e){var t,r,n;this.currentTrack=e;let i=null===(n=this.video)||void 0===n?void 0:null===(r=n.tracks)||void 0===r?void 0:null===(t=r.find(t=>t.file===e))||void 0===t?void 0:t.label;localStorage.setItem("jwplayer.captionLabel",null!=i?i:"Off"),this.emit("trackChange",e)}onBreakChange(e){this.isPlayingBreak=e.isPlayingBreak,this.emit("breakChange",e.isPlayingBreak),this.setAdState({adDuration:e.duration,adPodCount:e.podcount,adSequence:e.sequence,breaks:e.breaks})}onAdTimeUpdate(e,t){this.setAdState({adTime:e,adDuration:t})}getContentType(e,t){return t&&e?e:"dash"===e?"application/dash+xml":"video/mp4"}createMediaInfo(){var e,t,r,n,i;if(!this.video)throw Error("No video");let a=(null===(t=this.video.media)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.type)===s.DD.Live,o=this.video.type===s.vw.Pvx,l=null===(r=this.video.sources)||void 0===r?void 0:r.find(e=>{let{type:t}=e;return t.includes("dash")}),u=this.getContentType(null!==(n=null==l?void 0:l.type)&&void 0!==n?n:"",o),c=new chrome.cast.media.MediaInfo(this.video.guid,u);c.streamType=a?chrome.cast.media.StreamType.LIVE:chrome.cast.media.StreamType.BUFFERED,c.contentUrl=null==l?void 0:l.file;let d=new chrome.cast.media.TvShowMediaMetadata;if(d.title=this.video.type===s.vw.Episode?"Seizoen ".concat(String(this.video.seasonNumber),", aflevering ").concat(String(this.video.tvSeasonEpisodeNumber)):null!==(i=this.video.title)&&void 0!==i?i:"",this.video.series&&(d.subtitle=this.video.series.title,d.seriesTitle=this.video.series.title),this.image){let e="".concat(v,"/f_auto,ar_16:9,c_fill,h_720/").concat(encodeURIComponent(this.image));d.images=[new chrome.cast.Image(e)]}return c.metadata=d,c}resolveInitialTrack(){var e,t;if(!(null===(t=this.video)||void 0===t?void 0:null===(e=t.tracks)||void 0===e?void 0:e.length))return"off";let r=localStorage.getItem("jwplayer.captionLabel");return r&&this.video.tracks.some(e=>e.label===r)?r:this.video.tracks.some(e=>e.label===b)?b:"off"}constructor(){this.playerChannel=null,this.video=null,this.isCasting=!1,this.session=null,this.deviceName=null,this.remotePlayer=null,this.remotePlayerController=null,this.playerState=i.IDLE,this.isPlayingBreak=!1,this.media={isLive:!1},this.adState={adTime:0,adDuration:0,adSequence:0,adPodCount:0,breaks:[]},this.currentTime=0,this.duration=0,this.jwInstance=null,this.sdkLoaded=!1,this.eventCallbacks={},this.mediaResetTimeout=null,this.on=(e,t)=>{this.eventCallbacks[e]||(this.eventCallbacks[e]=[]);let r=this.eventCallbacks[e];r.includes(t)||r.push(t)},this.off=(e,t)=>{var r;let n=null!==(r=this.eventCallbacks[e])&&void 0!==r?r:[],i=n.indexOf(t);-1!==i&&n.splice(i,1)},this.emit=(e,t)=>{var r;let n=null!==(r=this.eventCallbacks[e])&&void 0!==r?r:[];n.forEach(e=>e(t))},this.initialize=e=>{var t;this.jwInstance=null!==(t=e.jwInstance)&&void 0!==t?t:null,e.applicationId&&(this.applicationId=e.applicationId),e.autoJoinPolicy&&(this.autoJoinPolicy=e.autoJoinPolicy),e.videoApiEndpoint&&(this.videoApiEndpoint=e.videoApiEndpoint),e.playerChannel&&(this.playerChannel=e.playerChannel),this.video=e.video,this.image=e.image,this.loadSdk()},this.load=async()=>{var e,t,r,n,a,o;if(!this.video)throw Error("No video provided to cast");this.previousGuid=this.video.guid;let d=(null===(t=this.video.media)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.type)===s.DD.Live,p=this.createMediaInfo();this.currentTrack=this.resolveInitialTrack();let v=this.video.type===s.vw.Pvx,y=null===(a=window.eventBus.publishedEventRegistry)||void 0===a?void 0:null===(n=a.user)||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:r.user,b={currentTrack:this.currentTrack,sendAdUp
196dates:!0,playerChannel:this.playerChannel,videoApiEndpoint:this.videoApiEndpoint,uid:null==y?void 0:y.id,initiateAuth:!!y&&(0,u.ZP)().outletName===l.eA.Kijk};if(this.setMediaState({contentId:this.video.guid,isLive:d}),this.playerState=i.IDLE,this.isPlayingBreak=!1,this.currentTime=0,this.duration=d?0:this.video.metadata.media_duration,this.setPlayerStateChange(i.IDLE),this.setAdState({adTime:0,adDuration:0,adSequence:0,adPodCount:0,breaks:[]}),!d){if(v){let e=f.G3[this.video.guid];this.currentTime=(null==e?void 0:e.completed)===!1?e.progressInSeconds:0}else{let e=await (0,g.Tc)({guids:this.video.guid,completed:!1}).then(e=>{var t;return null===(t=e[0])||void 0===t?void 0:t.position}).catch(()=>null);e&&(this.currentTime=e)}}let{freewheel:S}=null!==(o=(0,m.q6)())&&void 0!==o?o:{};if(!v&&S){let{tcString:e,talpaConsent:t}=await (0,c.j)(),r=S.sectionid.replace(/_desktop.*|_mobile.*|_android.*|_ios.*|_app/,"_chromecast");b.freewheelConfig={adRequestURL:S.serverid,globalParams:{prof:S.profileid,nw:S.networkid,csid:r,vdur:this.duration},keyValues:{talpa_consent:t,embed_domain:window.location.hostname,_fw_gdpr_consent:e,_fw_gdpr:1}}}p.customData=b;let w=new chrome.cast.media.LoadRequest(p);this.currentTime&&(w.currentTime=this.currentTime),w.autoplay=!0;let x=cast.framework.CastContext.getInstance().getCurrentSession();x&&x.loadMedia(w).then(()=>(0,h.$V)("Chromecast media loaded",this.getMediaAttributes()),e=>(0,h.Nd)(Error("Chromecast media load failed: ".concat(String(e))),this.getMediaAttributes()))},this.setActiveTrack=e=>{this.currentTrack!==e&&this.sendMessage({type:"SET_ACTIVE_TRACK",value:e})},this.setMute=e=>{this.remotePlayer&&this.remotePlayerController&&e!==this.remotePlayer.isMuted&&this.remotePlayerController.muteOrUnmute()},this.setVolume=e=>{this.remotePlayer&&this.remotePlayerController&&e!==this.remotePlayer.volumeLevel&&(this.remotePlayer.volumeLevel=e,this.remotePlayerController.setVolumeLevel())},this.getVolume=()=>{var e,t;return null!==(t=null===(e=this.remotePlayer)||void 0===e?void 0:e.volumeLevel)&&void 0!==t?t:1},this.getMuted=()=>{var e,t;return null!==(t=null===(e=this.remotePlayer)||void 0===e?void 0:e.isMuted)&&void 0!==t&&t},this.seek=e=>{var t;if(!this.remotePlayer||!this.remotePlayerController)return;let r=null===(t=this.session)||void 0===t?void 0:t.getMediaSession();if(this.media.isLive&&(null==r?void 0:r.liveSeekableRange)){let{start:t=0,end:n=this.duration}=r.liveSeekableRange;this.remotePlayer.currentTime=Math.max(t,Math.min(n,e))}else this.remotePlayer.currentTime=e;this.remotePlayerController.seek()},this.seekToLive=()=>{var e;if(!this.remotePlayer||!this.remotePlayerController||!this.media.isLive)return;let t=null===(e=this.session)||void 0===e?void 0:e.getMediaSession();if(!(null==t?void 0:t.liveSeekableRange))return;let{end:r=this.duration}=t.liveSeekableRange;this.remotePlayer.currentTime=Math.max(0,r-3),this.remotePlayerController.seek()},this.isAtLiveEdge=()=>{var e;let t=null===(e=this.session)||void 0===e?void 0:e.getMediaSession();if(!this.media.isLive||!(null==t?void 0:t.liveSeekableRange))return!0;let{end:r=0}=t.liveSeekableRange,n=Math.max(0,r-this.currentTime);return n<10},this.playOrPause=()=>{var e;null===(e=this.remotePlayerController)||void 0===e||e.playOrPause()},this.endSession=()=>{cast.framework.CastContext.getInstance().endCurrentSession(!0)},this.onInit=e=>{var t;e&&this.initializeCastApi();let r=null===(t=this.jwInstance)||void 0===t?void 0:t.getContainer();null==r||r.classList.toggle("jw-flag-cast-available",e)},this.connectionChanged=e=>{var t,r,n,i,a,o,s,l;let{value:u}=e;if(this.isCasting=u,!u){this.deviceName=null,this.emit("isCasting",!1),this.emit("deviceName",this.deviceName),this.session=null;return}this.session=cast.framework.CastContext.getInstance().getCurrentSession(),this.deviceName=null!==(n=null===(t=this.session)||void 0===t?void 0:t.getCastDevice().friendlyName)&&void 0!==n?n:null,this.emit("deviceName",this.deviceName);let c=null===(r=this.session)||void 0===r?void 0:r.getMediaSession();if(c){let[e]=null!==(s=c.activeTrackIds)&&void 0!==s?s:[];this.currentTrack=e?null===(o=c.media)||void 0===o?void 0:null===(a=o.tracks)||void 0===a?void 0:null===(i=a[e])||void 0===i?void 0:i.trackContentId:"off";let{breaks:t}=null!==(l=c.media)&&void 0!==l?l:{};t&&(this.adState.breaks=t)}else this.load();
196this.emit("isCasting",!0),this.attachReceiverMessageListener()},this.playerStateChanged=e=>{let{value:t}=e;this.onPlayerStateChange(t)},this.durationChanged=e=>{let{value:t}=e;this.onDurationChange(t)},this.currentTimeChanged=e=>{let{value:t}=e;this.onCurrentTimeChange(t)},this.volumeLevelChanged=e=>{var t,r;let{value:n}=e;this.onVolumeChange(null!==(r=null===(t=this.remotePlayer)||void 0===t?void 0:t.isMuted)&&void 0!==r&&r,n)},this.isMutedChanged=e=>{var t,r;let{value:n}=e;this.onVolumeChange(n,null!==(r=null===(t=this.remotePlayer)||void 0===t?void 0:t.volumeLevel)&&void 0!==r?r:1)},this.mediaLoadedChanged=e=>{var t,r,n;let{value:i}=e;if(this.mediaResetTimeout&&(clearTimeout(this.mediaResetTimeout),this.mediaResetTimeout=null),!i){this.mediaResetTimeout=setTimeout(()=>{this.setMediaState({isLive:!1})},3e3);return}let a=null===(t=this.session)||void 0===t?void 0:t.getMediaSession();if(!(null==a?void 0:null===(r=a.media)||void 0===r?void 0:r.contentId))return;let o=a.media.metadata;this.setMediaState({isLive:a.media.streamType===chrome.cast.media.StreamType.LIVE,contentId:a.media.contentId,title:null==o?void 0:o.title,seriesTitle:null==o?void 0:o.seriesTitle,thumbnail:null==o?void 0:null===(n=o.images[0])||void 0===n?void 0:n.url})},this.onDeviceAuthUserCode=async(e,t)=>{let r=(0,p.lI)();if(!r){window.eventBus.dispatch("toastMessage","Je bent niet ingelogd. Authenticatie in Chromecast mislukt."),this.endSession();return}await fetch(t,{method:"POST",headers:{Authorization:"Bearer ".concat(r),"Content-Type":"application/json"},body:JSON.stringify({user_code:e})})}}};window.__cafSender=S,t.Z=S},71881:function(e,t,r){"use strict";r.d(t,{Y:function(){return h}});var n=r(21953),i=r(30656),a=r(47610),o=r(35027);let s=e=>"fairplay"===e,l=e=>"playready"===e,u=e=>"widevine"===e,c=(e,t,r,s)=>async l=>{(0,i.Z)({drm_type:e});let u=t?await (0,o.sV)(null!=r?r:"",null!=s?s:""):await (0,a.Iy)(n.t4.JWP);l.headers["Content-Type"]="application/octet-stream",l.headers["X-VUDRM-TOKEN"]=u},d=e=>t=>{var r,n;let a=null!==(r=t.status)&&void 0!==r?r:0;return a>=200&&a<300||(0,i.Nd)(Error("".concat(e?"PVX":"Non-PVX"," DRM License HTTP error ").concat(String(a)," from ").concat(null!==(n=t.uri)&&void 0!==n?n:""))),t},h=e=>{let{originalSource:t,isPVX:r,mediaId:n,playSessionId:i}=e,a=JSON.parse(JSON.stringify(t));if(!a.drm)return a;let o=Object.keys(a.drm);return o.forEach(e=>{var t,o,h,p,f;(l(e)||u(e))&&Object.assign(null!==(o=null===(t=a.drm)||void 0===t?void 0:t[e])&&void 0!==o?o:{},{...r&&{url:u(e)?"https://widevine-license.vudrm.tech/proxy":"https://playready-license.vudrm.tech/rightsmanager.asmx"},licenseRequestFilter:c(e,r,n,i),licenseResponseFilter:d(r)}),s(e)&&Object.assign(null!==(p=null===(h=a.drm)||void 0===h?void 0:h.fairplay)&&void 0!==p?p:{},{licenseRequestFilter:c(e,r,n,i),processSpcUrl:e=>"https://".concat(null!==(f=e.split("skd://").pop())&&void 0!==f?f:"")})}),a}},86962:function(e,t,r){"use strict";r.d(t,{GG:function(){return y},sB:function(){return b},sr:function(){return g},q6:function(){return m},YR:function(){return f}});var n=r(28994),i=r(21953),a=r(87367),o=r(12875),s=r(7490),l=r(70103),u=r(33989),c=r(62071);let d=["@talpa.com","@talpanetwork.com","@aws.talpanetwork.com","@talpastudios.com"],h=()=>{if(!o.default.isEnabled(o.O5.AdFreeTalpaStaff))return!1;let e=(0,c.lI)();if(!e)return!1;let t=(0,u.Z)(e);return d.some(e=>null==t?void 0:t.email.endsWith(e))};var p=r(49139);function f(e){let t=[e.networkGroup,e.channelGroup,e.zoneGroup].filter(Boolean).join("_");return(0,a.s)()?(0,a.DF)()?"".concat(t,"_").concat(i.OS.IOS,"_").concat(i.Qs.Facebook):"".concat(t,"_").concat(i.OS.IOS,"_").concat(i.Qs.Web):(0,a.Dt)()?(0,a.DF)()?"".concat(t,"_").concat(i.OS.Android,"_").concat(i.Qs.Facebook):"".concat(t,"_").concat(i.OS.Android,"_").concat(i.Qs.Web):(0,a.tq)()?"".concat(t,"_").concat(i.AS.Mobile):"".concat(t,"_").concat(i.AS.Desktop)}let m=()=>{let{advertising:e}=(0,l.ZP)();return e.networkGroup?{client:"freewheel",cuetext:"Advertentie",vpaidcontrols:!0,freewheel:{adManagerURL:e.adManagerURL,networkid:String(e.networkId),profileid:String(e.profileId),serverid:String(e.serverId),sectionid:f(e)},schedule:{adbreak:{offset:"pre",tag:"placeholder_preroll"}}}:null},g=async e=>{var t,r,n,i,a,l;let{tcString:u,talpaConsent:c}=await (0,s.j)(),d={custom:{talpa_consent:c,embed_domain:window.location.hostname,_fw_h_x_country:null!==(n=null===(t=o.default.attributes.countryCode)||void 0===t?void 0:t.toString())&&void 0!==n?n:"",_fw_gdpr_consent:u,_fw_gdpr:"1",_fw_h_user_agent:navigator.userAgent,media_videotype:null!==(i=e.metadata.media_videotype)&&void 0!==i?i:"",vdur:null!==(a=e.metadata.media_duration)&&void 0!==a?a:"",cd_type:null!==(l=e.metadata.c_media_duration_type)&&void 0!==l?l:""}},h=null===(r=window.utag)||void 0===r?void 0:r.data.id5_user_id;
196return h&&(d.custom._fw_3P_uid="ID5:".concat(h)),d},v=(e,t,r)=>(0,s.j)().then(n=>{var i,a,o;let{tcString:s,talpaConsent:u}=n,{advertising:c}=(0,l.ZP)(),d=null!==(i=null==r?void 0:r.offsetWidth)&&void 0!==i?i:0,h=null!==(a=null==r?void 0:r.offsetHeight)&&void 0!==a?a:0,m=new URLSearchParams({w:String(d),h:String(h),content_id:t.guid,media_videotype:"clip",vdur:String(t.metadata.media_duration)||"",url:window.location.href,fwprof:null!==(o=c.profileId)&&void 0!==o?o:"",fwnw:String(c.networkId),fwcsid:f(c),talpa_consent:u,gdpr:"1",consent:s||"",embed_domain:window.location.hostname,_fw_h_x_country:"NL",cd_type:"mid",ua:navigator.userAgent,fwflag:"+play-uapl+sltp+emcr+unka+unks+fbad+slcb+nucr+aeti+rema+vicb",cb:(0,p.D)()});return"".concat(e,"?").concat(m.toString())}),y=async e=>{let{springServeEnabled:t,video:r,springServeTagUrl:i,parentElement:a}=e,o=h();return o||r.type===n.vw.Pvx?{}:t?{client:"vast",adscheduleid:Array.from({length:8},()=>{let e=Math.floor(36*Math.random()).toString(36);return .5>Math.random()?e.toUpperCase():e}).join(""),schedule:[{tag:await v(i,r,a)}]}:m()},b=e=>e.includes("fwmrm.net")?i.ph.Freewheel:e.includes("tv.springserve.com")?i.ph.SpringServe:i.ph.Unknown},15484:function(e,t,r){"use strict";r.d(t,{O:function(){return o}});var n=r(28994),i=r(21953),a=r(12875);let o=e=>!!e&&e!==i.lk.WW&&a.default.isEnabled(a.O5.VideoGeoRestrictionOutsideNl),s=async e=>{var t;let{availableRegion:r,sources:i,type:a}=e;if(a===n.vw.Pvx||!o(r))return!0;let s=null==i?void 0:null===(t=i[0])||void 0===t?void 0:t.file;if(!s)return!1;try{let e=await fetch(s);return e.ok}catch(e){return!1}};t.Z=s},32675:function(e,t,r){"use strict";r.d(t,{Qv:function(){return k},rl:function(){return E},oM:function(){return x},gf:function(){return S},pf:function(){return T}});var n=r(62938),i=r(28994),a=r(21953),o=r(70103),s=r(30656),l=r(27888),u=r(62071),c=r(6380),d=r(15633),h=r(82729),p=r(36837);function f(){let e=(0,h._)(["\n  mutation deleteVideoProgress($guid: String!) {\n    deleteVideoProgress(guid: $guid) {\n      __typename\n      guid\n      completed\n      position\n    }\n  }\n"]);return f=function(){return e},e}let m=(0,p.Ps)(f());var g=r(15281);function v(){let e=(0,h._)(["\n  query ProgramsByProgramTypeQuery($programTypes: [ProgramType], $guid: [String], $limit: Int, $skip: Int) {\n    programs(programTypes: $programTypes, guid: $guid, limit: $limit, skip: $skip) {\n      totalResults\n      items {\n        id\n        guid\n        slug\n        tvSeasonId\n        type\n        title\n        description\n        added\n        publicationDateTime\n        tvSeasonEpisodeNumber\n        metadata\n        duration\n        season {\n          title\n          seasonNumber\n        }\n        series {\n          guid\n          seriesTvSeasons {\n            seasonNumber\n          }\n        }\n        ...Series\n        ...Media\n        ...ImageMedia\n      }\n    }\n  }\n  ","\n  ","\n  ","\n"]);return v=function(){return e},e}let y=(0,p.Ps)(v(),g.jo,g.dd,g.Lx);var b=r(47610);let S=50;async function w(e,t,r){let n=await (0,b.Tc)({skipSeconds:r,limit:e,skip:t,completed:!1}),i=new Map(n.map(e=>{let{guid:t,position:r}=e;return[t,r]})),{items:a}=await (0,b.HK)(y,{guid:n.map(e=>{let{guid:t}=e;return t}),limit:n.length});return{programs:a,progressMap:i}}async function x(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.OE.KijkAndEvent,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.S,{programs:i,progressMap:o}=await w(r,(t-1)*r,n);return{items:i.map(t=>new d.rz(t,null!==(e=o.get(t.guid))&&void 0!==e?e:0)),nextPage:i.length>=r?t+1:null}}function E(e){let t=new Set;return e.filter(e=>{var r,n;if((null===(r=e.video)||void 0===r?void 0:r.type)===i.vw.Clip)return!1;let a=null===(n=e.video)||void 0===n?void 0:n.seriesSlug;return!a||!t.has(a)&&(t.add(a),!0)})}async function T(e){let{videoApiEndpoint:t}=(0,o.ZP)();try{let r=(0,u.lI)();if(!r)return;await fetch(t,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(r)},body:JSON.stringify({query:(0,n.S)(m),variables:{guid:e}})})}catch(e){(0,s.Nd)(e)}}async function k(e){if((0,u.lI)())try{let[t]=await (0,b.Tc)({guids:e}),r=t&&!t.completed?t.position:1;await (0,b.cT)({guid:e,position:r,completed:!1}),(0,l.vt)()}catch(e){(0,s.Nd)(Error("Failed to add episode to continue watching"),{error_details:String(e)})}}},28752:function(e,t,r){"use strict";function n(e,t,r,n){let i=document.createElement("div");i.className="jw-reset-text jw-tooltip jw-tooltip-display-".concat(t),i.dir="auto";let a=document.createElement("div");return a.className="jw-text",a.textContent=r,i.appendChild(a),e.appendChild(i),n||(e.addEventListener("mouseenter",()=>i.classList.add("jw-open")),e.addEventListener("mouseleave",()=>i.classList.remove("jw-open"))),i}r.d(t,{Z:function(){return n}})},15633:function(e,t,r){"use strict";r.d(t,{bX:function(){return M},rz:function(){return j},IH:function(){return L},GK:function(){return Z},FH:function(){return F},Cg:function(){return D}});var n=r(97397),i=r(28994),a=r(38967),o=r(21953),s=r(58210),l=r(70103),u=r(44909),c=r(99234),d=r(86012),h=r(26843),p=r(32612);
196let f={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},m=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,g=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,v=/^([+-])(\d{2})(?::?(\d{2}))?$/;function y(e){return e?parseInt(e):1}function b(e){return e&&parseFloat(e.replace(",","."))||0}let S=[31,null,31,30,31,30,31,31,30,31,30,31];function w(e){return e%400==0||e%4==0&&e%100!=0}var x=function(e,t){let r,n;let i=()=>(0,h.L)(t?.in,NaN),a=t?.additionalDigits??2,o=function(e){let t;let r={},n=e.split(f.dateTimeDelimiter);if(n.length>2)return r;if(/:/.test(n[0])?t=n[0]:(r.date=n[0],t=n[1],f.timeZoneDelimiter.test(r.date)&&(r.date=e.split(f.timeZoneDelimiter)[0],t=e.substr(r.date.length,e.length))),t){let e=f.timezone.exec(t);e?(r.time=t.replace(e[1],""),r.timezone=e[1]):r.time=t}return r}(e);if(o.date){let e=function(e,t){let r=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};let i=n[1]?parseInt(n[1]):null,a=n[2]?parseInt(n[2]):null;return{year:null===a?i:100*a,restDateString:e.slice((n[1]||n[2]).length)}}(o.date,a);r=function(e,t){if(null===t)return new Date(NaN);let r=e.match(m);if(!r)return new Date(NaN);let n=!!r[4],i=y(r[1]),a=y(r[2])-1,o=y(r[3]),s=y(r[4]),l=y(r[5])-1;if(n)return s>=1&&s<=53&&l>=0&&l<=6?function(e,t,r){let n=new Date(0);n.setUTCFullYear(e,0,4);let i=n.getUTCDay()||7;return n.setUTCDate(n.getUTCDate()+((t-1)*7+r+1-i)),n}(t,s,l):new Date(NaN);{let e=new Date(0);return a>=0&&a<=11&&o>=1&&o<=(S[a]||(w(t)?29:28))&&i>=1&&i<=(w(t)?366:365)?(e.setUTCFullYear(t,a,Math.max(i,o)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!r||isNaN(+r))return i();let s=+r,l=0;if(o.time&&isNaN(l=function(e){let t=e.match(g);if(!t)return NaN;let r=b(t[1]),n=b(t[2]),i=b(t[3]);return(24===r?0===n&&0===i:i>=0&&i<60&&n>=0&&n<60&&r>=0&&r<25)?r*d.vh+n*d.yJ+1e3*i:NaN}(o.time)))return i();if(o.timezone){if(isNaN(n=function(e){if("Z"===e)return 0;let t=e.match(v);if(!t)return 0;let r="+"===t[1]?-1:1,n=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return i>=0&&i<=59?r*(n*d.vh+i*d.yJ):NaN}(o.timezone)))return i()}else{let e=new Date(s+l),r=(0,p.Q)(0,t?.in);return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}return(0,p.Q)(s+l+n,t?.in)},E=r(89117),T=function(e){let t=x(e),r=new n.N9(t,s.aB);return(0,E.ZP)(r,"yyyy-MM-dd'T'HH:mm:ssXXX")},k=r(68197),C=r(35027);let _=e=>e.type===i.vw.Movie?"/".concat(o.Oy,"/").concat(e.slug,"/").concat(e.guid):e.series?"/".concat(o.e3,"/").concat(e.series.slug,"/").concat(e.guid):"/".concat(o.e3,"/").concat(e.guid),P=e=>{let{publicationDateTime:t,availableDate:r,fallbackDate:n}=e;try{return T(null!=t?t:new Date(Number(r)).toISOString())}catch(e){return n}},A="https://images.talpa.digital/fetch/ar_16:9,c_fill,f_webp,h_1080/";class N{constructor(e,{url:t,imageUrl:r,contentUrl:n,videoGuid:a,title:s,origin:u,availableDate:c}){var d,h,p,f;let{deepLinks:m}=(0,l.ZP)(),g=e.added?T(new Date(e.added).toISOString()):"",v=e.updated?T(new Date(e.updated).toISOString()):"",y=e.type===i.vw.Movie?t.split("/").slice(0,-1).join("/"):t;this["@context"]="https://schema.org",this["@type"]="VideoObject",this.dateModified=v,this.uploadDate=g,n?this.contentUrl=n||"":this.embedUrl="https://embed.kijk.nl/video/".concat(a),this.duration=e.duration?(0,k.Z)(e.duration):"",e.type===i.vw.Movie&&(this.name="".concat(String(e.title)," | ").concat(o.ZE)),e.type===i.vw.Episode&&(this.name="".concat(String(null===(h=e.series)||void 0===h?void 0:h.title),": Seizoen ").concat(String((null===(p=e.season)||void 0===p?void 0:p.title)||(null===(f=e.season)||void 0===f?void 0:f.seasonNumber))," Aflevering ").concat(String(e.tvSeasonEpisodeNumber))),e.type===i.vw.Clip&&(this.name="".concat(String(null===(d=e.series)||void 0===d?void 0:d.title),": ").concat(s)),this.potentialAction=[{"@type":"WatchAction",target:"".concat(u).concat(t),name:o.B0}],(null==m?void 0:m.androidAppBase)&&this.potentialAction.push({"@type":"WatchAction",target:"".concat(m.androidAppBase,"/http").concat(y,"/?videoId=").concat(a,"&play=true"),name:o.FP}),(null==m?void 0:m.iosAppBase)&&this.potentialAction.push({"@type":"WatchAction",target:"".concat(m.i
196osAppBase,"/http").concat(y,"/?videoId=").concat(a,"&play=true"),name:o.gK}),this.headline=this.name,this.description=e.description,this.thumbnail={"@type":"ImageObject",contentUrl:"".concat(A).concat(r),width:"1920",height:"1080",dateCreated:g},this.thumbnailUrl=r,this.mainEntityOfPage={"@context":"https://schema.org","@type":"WebPage",additionalType:"video_leaf",dateModified:this.dateModified,datePublished:P({availableDate:c,publicationDateTime:e.publicationDateTime,fallbackDate:this.uploadDate}),description:this.description,headline:this.headline,name:this.name,url:"".concat(u).concat(t)}}}class I{constructor(e,{url:t,imageUrl:r,contentUrl:n,videoGuid:i,title:a,origin:o,availableDate:s}){var l,u,c,d;this["@context"]="https://schema.org",this["@type"]="TVEpisode",this.episodeNumber=null!==(d=e.tvSeasonEpisodeNumber)&&void 0!==d?d:void 0,this.partOfSeason={"@type":"TVSeason",seasonNumber:null===(l=e.season)||void 0===l?void 0:l.seasonNumber,partOfSeries:{"@type":"TVSeries",name:null===(u=e.season)||void 0===u?void 0:u.title,url:"".concat(o).concat(t)}},this.name=null===(c=e.series)||void 0===c?void 0:c.title,this.description=e.description,this.url="".concat(o).concat(t),this.thumbnailUrl=r,this.image=r,this.datePublished=P({availableDate:s,publicationDateTime:e.publicationDateTime,fallbackDate:T(new Date(e.added).toISOString())}),this.video=new N(e,{url:t,imageUrl:r,contentUrl:n,videoGuid:i,title:a,origin:o,availableDate:s})}}class R{constructor({slug:e,title:t,description:r,landscapeImageUrl:n,added:i,displayGenre:a},{origin:s,urlPrefix:u}){this["@context"]="https://schema.org",this["@type"]="TVSeries";let{landscapeImageFallback:c,deepLinks:d}=(0,l.ZP)(),h=n?"".concat(A).concat(n):null!=c?c:void 0;this.name=t,this.url="".concat(s,"/").concat(u,"/").concat(e),this.image=h,this.thumbnailUrl=h,this.description=r,this.genre=null!=a?a:"",this.datePublished=T(new Date(i).toISOString()),this.potentialAction=[{"@type":"ViewAction",target:this.url}],(null==d?void 0:d.androidAppBase)&&this.potentialAction.push({"@type":"ViewAction",target:"".concat(d.androidAppBase,"/http/").concat(o.e3,"/").concat(e)}),(null==d?void 0:d.iosAppBase)&&this.potentialAction.push({"@type":"ViewAction",target:"".concat(d.iosAppBase,"/http/").concat(o.e3,"/").concat(e)})}}class O{constructor(e){var t,r,a,o,l,u,d;this.hasVideo=!0,this.title="",this.imageUrl="",this.subtitle="",this.target="_self",this.duration=0,e.id&&(this.id=e.id),this.videoGuid=e.guid,this.ratings=e.ratings,this.title=null!==(a=e.title)&&void 0!==a?a:"",this.description=e.description||"",this.updatedAt=e.updated?new n.N9(new Date(e.updated),s.aB).toISOString():"",this.createdAt=e.added?new n.N9(new Date(e.added),s.aB).toISOString():"",/op KIJK/i.exec(this.description)&&(this.description=this.description.replace(/ op KIJK/i,""));let[h]=null!==(o=e.media)&&void 0!==o?o:[];if(this.isAvailable=!!(null==h?void 0:h.availabilityState),h){let t=null!==(u=null!==(l=h.airedDateTime)&&void 0!==l?l:h.availableDate&&Number.parseInt(h.availableDate,10))&&void 0!==u?u:e.added;t&&(this.dateLabel=(0,c.Xu)(t,{showDay:!0,showTime:!0})),this.availableDate=h.availableDate,this.airedDateTime=h.airedDateTime,this.expirationDate=h.expirationDate,h.type===i.DD.Live&&(this.isLive=!0)}let{file:p}=null!==(d=null===(t=e.sources)||void 0===t?void 0:t.find(e=>"m3u8"===e.type))&&void 0!==d?d:{};this.contentUrl=p;let f=null===(r=e.imageMedia)||void 0===r?void 0:r.find(e=>{var t;return null===(t=e.label)||void 0===t?void 0:t.includes("landscape")});(null==f?void 0:f.url)&&(this.imageUrl=f.url),e.duration&&(this.duration=e.duration)}}class L extends O{constructor(e,{origin:t,seriesTitle:r,includeStructuredData:n,videoUrlPrefix:a}){var s,l,u,c,d,h;super(e),this.seriesSlug="",this.videoType=i.vw.Episode,e.series&&(this.seriesTitle=null!=r?r:e.series.title,this.seriesSlug=e.series.slug),e.season&&(this.subtitle="Seizoen ".concat(e.season.title||e.season.seasonNumber,", aflevering ").concat(String(e.tvSeasonEpisodeNumber))),this.episodeTitle="Aflevering ".concat(String(null!==(s=e.tvSeasonEpisodeNumber)&&void 0!==s?s:""));let p=null!=a?a:o.g5;this.url="/".concat(p,"/").concat(this.seriesSlug,"/").concat(this.videoGuid),this.tvSeasonId=null!==(l=e.tvSeasonId)&&void 0!==l?l:void 0,n&&e.type===i.vw.Episode&&(this.episodeStructuredData=new I(e,{origin:t,url:this.url,imageUrl:this.imageUrl,contentUrl:this.contentUrl,videoGuid:this.videoGuid,title:this.title,availableDate:null!==(u=this.availableDate)&&void 0!==u?u:void 0})),n&&e.series&&(this.seriesStructuredData=new R({...e.series,landscapeImageUrl:null!==(h=null===(d=e.series.imageMedia)||void 0===d?void 0:null===(c=d.find(e=>{var t;return null===(t=e.label)||void 0===t?void 0:t.includes("landscape")}))||void 0===c?void 0:c.url)&&void 0!==h?h:""},{origin:t,urlPrefix:p}))}}class D extends O{constructor(e){var t,r;let n=(0,C.I_)(e);super(n),this.target="_self",this.tvSeasonId="",0===e.duration&&(this.isLive=!0),this.slug=n.slug,this.url="/".concat(o.e3,"/").concat(null!==(r=null===(t=n.series)||void 0===t?void 0:t.slug)&&void 0!==r?r:"","/").concat(n.guid,"/").concat(e.type.toLowerCase()),this.isTransactional=!0}}class M extends L{constructor(e,{origin:t,seriesTitle:r,includeStructuredData:n,videoUrlPrefix:a,fullEpisode:o}){var s;if(super(e,{origin:t,seriesTitle:r,includeStructuredData:n,videoUrlPrefix:a}),this.videoType=i.vw.Clip,this.videoStructuredData=new N(e,{origin:t,url:this.url,imageUrl:this.imageUrl,contentUrl:this.contentUrl,videoGuid:this.videoGuid,title:this.title,availableDate:null!==(s=this.availableDate)&&void 0!==s?s:void 0}),e.title&&(this.subtitle=e.title),o){let e=o.seriesTitle;this.fullEpisodeLink={url:o.url,seriesTitle:e,title:o.subtitle?"".concat(e,", ").concat(o.subtitle):e}}}}class Z extends O{constructor(e,{includeStructuredData:t,origin:r}){super(e),this.hasVideo=!0,this.createdAt=e.added?T(new Date(e.added).toISOString()):"",this.slug=e.slug,this.url="/".concat(o.Oy,"/").concat(this.slug,"/").concat(this.videoGuid),this.target="_self",this.videoType=i.vw.Movie,t&&(this.videoStructuredData=new N(e,{origin:r,url:this.url,imageUrl:this.imageUrl,contentUrl:this.contentUrl,videoGuid:this.videoGuid,title:this.title}))}}class F{constructor(e){var t,r,n,a,s,l,u,c;this.id="",this.hasVideo=!1,this.slug="",this.createdAt=e.added?T(new Date(e.added).toISOString()):"",this.updatedAt=e.updated?T(new Date(e.updated).toISOString()):"",this.target="_self",this.type=i.vw.Series,this.id=e.id,this.guid=e.guid,this.slug=e.slug,this.description=null!==(s=e.shortDe
196scription)&&void 0!==s?s:"",this.title=null!==(l=e.title)&&void 0!==l?l:"",this.landscapeImageUrl=null!==(u=null===(r=e.imageMedia)||void 0===r?void 0:null===(t=r.find(e=>{var t;return null===(t=e.label)||void 0===t?void 0:t.includes("landscape")}))||void 0===t?void 0:t.url)&&void 0!==u?u:"",this.imageUrl=null!==(c=null===(a=e.imageMedia)||void 0===a?void 0:null===(n=a.find(e=>{var t;return null===(t=e.label)||void 0===t?void 0:t.includes("portrait")}))||void 0===n?void 0:n.url)&&void 0!==c?c:"",this.url||(this.url="/".concat(o.e3,"/").concat(this.slug))}}class j{constructor(e,t=0){var r,n,o,s,d,h,p,f,m,g,v,y,b,S,w,x,E,T,k,C,P,A,N;this.subtitle="",this.target="_self";let{landscapeImageFallback:I}=(0,l.ZP)(),R=new Date(e.added?e.added:null!==(p=e.metadata.media_datecreated)&&void 0!==p?p:Date.now()).toISOString(),[O]=null!==(f=e.media)&&void 0!==f?f:[],L={title:null!==(m=e.title)&&void 0!==m?m:"",type:e.type,guid:e.guid,seriesTitle:null!==(g=null===(r=e.series)||void 0===r?void 0:r.title)&&void 0!==g?g:"",seriesSlug:null!==(v=null===(n=e.series)||void 0===n?void 0:n.slug)&&void 0!==v?v:"",availableDate:null!==(y=null==O?void 0:O.availableDate)&&void 0!==y?y:String(e.added),airedDateTime:null!==(b=null==O?void 0:O.airedDateTime)&&void 0!==b?b:void 0,expirationDate:null!==(S=null==O?void 0:O.expirationDate)&&void 0!==S?S:void 0,...(null==O?void 0:O.type)===i.DD.Live&&{isLive:!0}};this.id=e.id,this.videoGuid=e.guid,this.title=null!==(x=null!==(w=e.title)&&void 0!==w?w:null===(o=e.series)||void 0===o?void 0:o.title)&&void 0!==x?x:"",e.season&&(this.subtitle="Seizoen ".concat(e.season.seasonNumber).concat(e.tvSeasonEpisodeNumber?", aflevering ".concat(String(e.tvSeasonEpisodeNumber)):"")),this.createdAt=R,this.hasVideo=!!(null===(s=e.sources)||void 0===s?void 0:s.length),this.url=_(e),this.imageUrl=null!==(T=null!==(E=null===(h=e.imageMedia)||void 0===h?void 0:null===(d=h.find(e=>e.label===a.j.Landscape))||void 0===d?void 0:d.url)&&void 0!==E?E:I)&&void 0!==T?T:"",this.video=L;let D=null!==(C=null!==(k=null==O?void 0:O.airedDateTime)&&void 0!==k?k:(null==O?void 0:O.availableDate)&&Number.parseInt(O.availableDate,10))&&void 0!==C?C:e.added;e.type===i.vw.Movie&&e.publicationDateTime?this.dateLabel=(0,c.Xu)(e.publicationDateTime,{showDay:!0,showTime:!0}):D&&(this.dateLabel=(0,c.Xu)(D,{showDay:!0,showTime:!0})),this.isAvailable=(0,c.Iv)(null!==(P=null==O?void 0:O.availableDate)&&void 0!==P?P:void 0),this.videoDuration=null!==(A=e.duration)&&void 0!==A?A:void 0,this.videoProgress={progressInSeconds:t,progressPercentage:(0,u.dM)(t,null!==(N=e.duration)&&void 0!==N?N:void 0),completed:!1}}}},38210:function(e,t,r){"use strict";r.d(t,{J9:function(){return x},Sb:function(){return S},gJ:function(){return y},kp:function(){return m},m4:function(){return w}});var n=r(53390),i=r(28994),a=r(30656),o=r(47610),s=r(21953),l=r(9315),u=r(88665),c=r(12875),d=r(70103),h=r(7490),p=r(49139),f=r(86962);let m=(e,t)=>{var r,n;let i=null===(r=e.getContainer())||void 0===r?void 0:r.querySelector(".jw-error-msg .jw-info-container");if(!i)return;null===(n=e.getContainer())||void 0===n||n.classList.add("custom-show-retry");let a=i.querySelector(".jw-error-text");a&&!navigator.onLine&&(a.textContent="Geen internetverbinding. Controleer je verbinding en probeer opnieuw.");let o=document.createElement("button");o.className="jw-error-retry-button",o.innerHTML="▶ Probeer opnieuw",o.onclick=t,i.appendChild(o)},g=new Map,v=()=>navigator.onLine,y=(e,t,r)=>{let n={media_id:e,error_code:String(t)};if(!v())return(0,a.$V)("Recovery skipped - offline",n),!1;let i=g.get(e);return(null==i?void 0:i.hasAttemptedRecovery)&&i.lastErrorCode===t&&t!==s.Lz.StalePlayback?((0,a.$V)("Recovery skipped - same error after retry",n),!1):(g.set(e,{hasAttemptedRecovery:!0,lastErrorCode:t,position:r,isManual:!1}),!0)},b=e=>{let t=g.get(e);t&&g.set(e,{...t,isManual:!0})},S=e=>{g.delete(e)},w=e=>g.get(e),x=e=>{let t=null,r=async m=>{var g,v,y,S,w;let{position:x,errorCode:E,isManual:T=!1,isPlaying:k=!1}=m,{playerInstance:C,video:_,image:P,isMuted:A,setCustomError:N,onRemove:I,springServeEnabled:R,onCloseCallback:O,enforceCloseButton:L,playlistNavigationEnabled:D}=e,M=k&&!document.hidden,Z=C.getContainer();if(!Z)return;T&&b(_.guid),Z.classList.add("custom-recovering"),null===(g=t)||void 0===g||g.abort(),t=new AbortController;let F=await (0,o.zU)(_.guid,_.type===i.vw.Pvx,t.signal).catch(()=>null);if(!F){(0,a.xf)(),(0,a.$V)("Recovery Failed - Program can't be retrieved",{error_code:"",media_offset:(0,l.H)(x)}),Z.classList.remove("custom-recovering");let e=Z.querySelector(".jw-error-text");if(e){e.textContent="De video kan niet worden opgehaald.\nControleer je internetverbinding.";return}M=!1}let j={...null!=F?F:_,image:P,starttime:x,isRecovery:!0},B=c.default.getVariable(c.O5.RestartPlaybackOnFatalErrors,"adTag"),[U]=null!==(v=j.media)&&void 0!==v?v:[],$={...C.getConfig().setupConfig,autostart:M,playlist:[j]},V=C.getContainer(),z=null!==(y=null==V?void 0:V.offsetWidth)&&void 0!==y?y:0,H=null!==(S=null==V?void 0:V.offsetHeight)&&void 0!==S?S:0,{advertising:G}=(0,d.ZP)(),{talpaConsent:q,tcString:K}=await (0,h.j)(),W=(0,f.YR)(G),X=(e,t)=>{var r,n,i,a;let o=e.replace("{csid}",W).replace("{caid}",j.guid).replace("{vprn}",(0,p.D)()).replace("{pvrn}",(0,p.D)()).replace("{vdur}",String(null!==(n=j.metadata.media_duration)&&void 0!==n?n:0)).replace("{talpa_consent}",q).replace("{device_id}","").replace("{consent}",K).replace("{domain}",window.location.hostname).replace("{user_agent}",navigator.userAgent).replace("{clip}",String(j.metadata.media_videotype)).replace("{mid}",String(j.metadata.c_media_duration_type)).replace("{pos}",t).replace("{w}",String(z)).replace("{h}",String(H)).replace("{page_url}",window.location.href).replace("{fwprof}",null!==(i=G.profileId)&&void 0!==i?i:"").replace("{fwnw}",String(null!==(a=G.networkId)&&void 0!==a?a:"")).replace("{cachebuster}",(0,p.D)()).replace("{_fw_3P_uid}",encodeURIComponent((null===(r=window.utag)||void 0===r?void 0:r.data.id5_user_id)?"ID5:".concat(window.utag.data.id5_user_id):"")),l=(0,f.sB)(e);return l===s.ph.Freewheel&&["pre","post"].includes(t)?"".concat(o.replace("+sltp","-sltp"),";slid=").concat(t,"&tpos=0&ptgt=a&slau=").concat(t,"roll&maxd=90&maxa=3;"):o},Y=[...n.EventLog.eventLog].reverse().find(e=>"player_ad_complete"===e.event_name),J=(null==Y?void 0:Y.media_id)===_.guid;G.networkGroup&&(0!==x||J)&&($.advertising=B&&(null==U?void 0:null===(w=U.cuePoints)||void 0===w?void 0:w.length)?{client:"vast",adscheduleid:(0,p.D)(),schedule:[...U.cuePoints.filter(e=>e.time>=x).map(e=>{let t=0===e.time?"pre":"mid";return{offset:0===e.time?"pre":e.time,tag:X(B,t)}}),{offset:"post",tag:X(B,"post")}]}:null),(0,a.$V)(T?"Manual Recovery Attempt":"Automatic Recovery Attempt",{media_id:_.guid,error_code:String(E),media_offset:(0,l.H)(x)}),C.setup($),(0,u.z)({playerInstance:C,video:_,isMuted:A,setCustomError:N,onRemove:I,springServeEnabled:R,onCloseCallback:O,enforceCloseButton:L,attemptPlaybackRecovery:r,initialPosition:x,initialIsPlaying:k,playlistNavigationEnabled:D})};return{attemptRecovery:r,abort:()=>{var e;return null===(e=t)||void 0===e?void 0:e.abort()}}}},4670:function(e,t,r){"use strict";r.d(t,{hv:function(){return o},j7:function(){return a},k_:function(){return s},pS:function(){return l}});var n=r(28994),i=r(99234);let a=e=>{var t;return e.video?{...e,availabilityLabel:null!==(t=(0,i.F3)({...e.video}))&&void 0!==t?t:void 0,isAvailable:e.video.availableDate?(0,i.Iv)(e.video.availableDate):void 0,dateLabel:e.video.displayDate?(0,i.Xu)(e.video.displayDate,{showDay:!0,showTime:!0}):void 0}:{...e}},o=e=>{var t;if(!(null==e?void 0:e.length))return;if(1===e.length)return null===(t=e[0])||void 0===t?void 0:t.value;let r=e.find(e=>!e.isDisabled);return null==r?void 0:r.value},s=(e,t)=>{if("video"in e&&e.video){var r,n;let a=(0,i.Xu)(null!==(r=e.video.airedDateTime)&&void 0!==r?r:Number(e.video.availableDate),{showDay:!0,showTime:!0}),o=0!==t&&null!==(n=(0,i.F3)({...e.video}))&&void 0!==n?n:"",s=(0,i.Iv)(e.video.availableDate);return{...e,dateLabel:a,availabilityLabel:o,isAvailable:s}}return{...e}},l=(e,t,r)=>{let{title:i,subtitle:a,video:o}=r,s=o.type===n.vw.Episode,l=o.title!==o.seriesTitle;return e&&o.seriesTitle?{displayTitle:o.seriesTitle,displaySubtitle:s?a:i}:!s||l&&t?{displayTitle:i,displaySubtitle:s&&l?a:""}:{displayTitle:a,displaySubtitle:""}}},35027:function(e,t,r){"use strict";r.d(t,{Cj:function(){return p},I_:function(){return g},SJ:function(){return v},Uk:function(){return h},aB:function(){return y},ed:function(){return m},pn:function(){return b},sV:function(){return S},zb:function(){return f}});var n=r(28994),i=r(30656),a=r(38967),o=r(70103),s=r(62071),l=r(99234),u=r(15633);let{landscapeImageFallback:c}=(0,o.ZP)(),d=e=>{var t;return null!==(t=({400:"Bad Request",401:"Unauthorized",404:"Not Found",408:"Request Timeout",429:"Too Many Requests",500:"Internal Server Error",503:"Service Unavailable"})[e])&&void 0!==t?t:"HTTP ".concat(String(e))},h=e=>{window.eventBus.dispatch("pvxError",{status:e,reason:d(e)})},p=async function(e){let{includeAuthToken:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pvxApiEndpoint:r}=(0,o.ZP)();if(!r)throw Error("PVX API endpoint is not configured");let n={"Content-Type":"application/json"};try{if(t){let e=await (0,s.oC)();if(e)n.Authorization="Bearer ".concat(e);else throw Error("No valid token available for authenticated request")}let i=await fetch("".concat(r).concat(e),{headers:n});if(!i.ok){if(404===i.status)return null;let e=await i.text().catch(()=>"Unknown error");throw Error("PVX API Request failed with status ".concat(String(i.status),": ").concat(e),{cause:{status:i.status}})}let a=await i.json();return a}catch(e){if(e instanceof Error)throw e;throw Error("PVX API Request failed with unexpected error: ".concat(String(e)))}},f=async e=>{let t=await p("/media/".concat(e));if(!t)return null;try{return new u.Cg(t)}catch(e){return console.log(e),null}},m=async e=>{let t=await (0,s.oC)(),r=await p("/media/".concat(e,"?auth=").concat(t?"1":"0"),{includeAuthToken:!!t});try{return r?g(r):null}catch(e){return console.error(e),null}},g=e=>{var t,r,i,o,s;let u=e.publishStartDate?String(new Date(e.publishStartDate).getTime()):void 0,d=e.publishEndDate?String(new Date(e.publishEndDate).getTime()):void 0,h="error"!==e.status&&(0,l.Iv)(u);return{id:e.mediaId,slug:e.mediaId,type:n.vw.Pvx,guid:e.mediaId,description:e.description,metadata:null!==(t=e.metadata)&&void 0!==t?t:{},sources:null!==(r=e.sources)&&void 0!==r?r:[],added:new Date(e.createdAt).getTime(),updated:new Date(e.updatedAt).getTime(),title:e.title,duration:null!==(i=e.duration)&&void 0!==i?i:void 0,imageMedia:[{url:null!==(s=null!==(o=e.thumbnailUrl)&&void 0!==o?o:c)&&void 0!==s?s:"",label:a.j.Landscape}],tracks:e.tracks,media:[{availabilityState:h,type:e.type,airedDateTime:e.publishStartDate,expirationDate:d,availableDate:u}],series:e.seriesTitle&&e.seriesSlug?{title:e.seriesTitle,slug:e.seriesSlug,description:"",displayGenre:"",guid:"",added:0,imageMedia:[]}:void 0,hasAccess:e.hasAccess,availableRegion:e.availableRegion}},v=async(e,t,r)=>{let{pvxApiEndpoint:n}=(0,o.ZP)(),a=await (0,s.oC)();if(!a){window.eventBus.dispatch("requestSignIn",{callbackUrl:"".concat(r,"/koop?target=web")});return}if(!n)throw Error("PVX API endpoint is not configured");try{let o=await fetch("".concat(n,"/link-buy/pair"),{method:"POST",headers:{Authorization:"Bearer ".concat(a),"Content-Type":"application/json"},body:JSON.stringify({mediaId:e,offerId:t,deviceType:"web",redirectUri:"".concat(r,"?target=web")})});if(!o.ok){h(o.status);let e=await o.text().catch(()=>"Unknown error");throw Error("PVX API Request failed with status ".concat(String(o.status),": ").concat(e))}let s=await o.json();if((0,i.$V)("Created PVX Pairing",{media_id:e,offer_id:t}),!s.url||"string"!=typeof s.url)throw Error("PVX checkout response missing redirect URL");window.location.href=s.url}catch(r){(0,i.Nd)(r,{media_id:e,offer_id:t})}},y=async()=>{let{pvxApiEndpoint:e}=(0,o.ZP)(),t=await (0,s.oC)();if(!e||!t)throw Error("Missing required data to fetch!");
196let r=new URL("".concat(e,"/entitlement/customer/transactions"));r.searchParams.set("active","true");let n=await fetch(r.toString(),{method:"GET",headers:{Authorization:"Bearer ".concat(t),"Content-Type":"application/json"}});if(!n.ok)throw Error("Failed to fetch entitled offers: ".concat(String(n.status)));let{items:i}=await n.json();return i.map(e=>e.offerId)},b=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,{pvxApiEndpoint:r}=(0,o.ZP)(),n=await (0,s.oC)();if(!r||!n)throw Error("Missing required data to fetch!");let i=new URL("".concat(r,"/media/entitled"));i.searchParams.set("limit",String(e)),i.searchParams.set("skip",String(t));let a=await fetch(i.toString(),{method:"GET",headers:{Authorization:"Bearer ".concat(n),"Content-Type":"application/json"}});if(!a.ok)throw Error("Failed to fetch entitled items: ".concat(String(a.status)),{cause:{status:a.status}});return await a.json()},S=async(e,t)=>{let{pvxApiEndpoint:r}=(0,o.ZP)(),n=await (0,s.oC)();if(!r||!n)throw Error("Missing required data to generate DRM token");let i=await fetch("".concat(r,"/media/token"),{method:"POST",headers:{Authorization:"Bearer ".concat(n),"Content-Type":"application/json"},body:JSON.stringify({mediaId:e,playSessionId:t})});if(!i.ok)throw Error("Failed to generate DRM token: ".concat(String(i.status)));let{token:a}=await i.json();return a}},68197:function(e,t){"use strict";t.Z=e=>{let t=Math.round(e),r=Math.floor(t/60/60),n=Math.floor((t-3600*r)/60),i=t-3600*r-60*n,a="PT";return r>0&&(a="".concat(a).concat(r,"H")),n>0&&(a="".concat(a).concat(n,"M")),"".concat(a).concat(i,"S")}},88665:function(e,t,r){"use strict";r.d(t,{z:function(){return G},O:function(){return H}});var n=r(11752),i=r.n(n),a=r(53390),o=r(28994),s=r(5091),l=r(44909),u=r(70103),c=r(12875),d=r(30656),h=r(87367),p=r(33598),f=r(9315),m=r(21953),g=r(86720),v=r(71881),y=r(86962),b=r(47610),S=r(7490),w=r(49139);let x=null,E=async(e,t,r)=>{let{advertising:n}=(0,u.ZP)(),{talpaConsent:i,tcString:a}=await (0,S.j)(),o=(0,y.YR)(n);return e.replace("{csid}",o).replace("{caid}",t).replace("{vprn}",(0,w.D)()).replace("{pvrn}",(0,w.D)()).replace("{vdur}",String(r)).replace("{talpa_consent}",i).replace("{device_id}","").replace("{consent_string}",a)},T=e=>new Promise((t,r)=>{let n=new Image;n.onload=()=>t(n),n.onerror=r,n.src=e}),k="jw-pause-image",C=async e=>{try{var t;let r=await fetch(e);if(!r.ok)throw Error("HTTP error - ".concat(String(r.status)));let n=new DOMParser().parseFromString(await r.text(),"text/xml"),i=null===(t=n.querySelector("MediaFile, StaticResource"))||void 0===t?void 0:t.textContent.trim(),a=Array.from(n.querySelectorAll("Impression")).map(e=>e.textContent);return i?{pauseImageUrl:i,impressionUrls:a}:null}catch(t){(0,d.Nd)(Error("Failed to fetch pause ad"),{error_details:String(t),ad_provider:(0,y.sB)(e)})}return null},_=async e=>{let{springServeUrl:t,freewheelUrl:r,guid:n,duration:i}=e;for(let{url:e}of[{url:t},{url:r}]){if(!e)continue;let t=(0,y.sB)(e),r=t===m.ph.Freewheel?await E(e,n,i):e,a=await C(r);if(a)return a}return null},P=async e=>{let{freewheelUrl:t,springServeUrl:r,playerInstance:n,guid:i}=e;try{var a;let e=await _({springServeUrl:r,freewheelUrl:t,guid:i,duration:n.getDuration()});if(!e)return;let{pauseImageUrl:o,impressionUrls:s}=e,l=null===(a=n.getContainer())||void 0===a?void 0:a.querySelector(".jw-wrapper .jw-media");if(!l||document.querySelector(".".concat(k)))return;let u=await T(o);if(u.className=k,"paused"!==n.getState())return;l.appendChild(u);try{await Promise.all(s.map(e=>fetch(e)))}catch(e){(0,d.$V)("Failed to send pause ad impression.",{error_details:String(e)})}(0,d.$V)("Pause Ad",{media_offset:(0,f.H)(n.getPosition())})}catch(e){(0,d.Nd)(Error("Failed to inject pause ad."),{error_details:String(e)})}},A=e=>{x&&(clearTimeout(x),x=null);let t=e.getContainer();null==t||t.querySelectorAll(".".concat(k)).forEach(e=>e.remove())},N=(e,t)=>{var r;x&&clearTimeout(x);let{pauseAdRequestUrl:n,springServeVastUrl:i}=null!==(r=c.default.getVariables(c.O5.PauseAd))&&void 0!==r?r:{};if(!n&&!i)return;let a=(0,h.tq)()?250:0;x=setTimeout(()=>{if(document.hidden){(0,d.$V)("Pause Ad Skipped - Document Hidden");return}P({freewheelUrl:n,springServeUrl:i,playerInstance:t,guid:e})},a)};var I=r(38210);let R=()=>{let e=document.querySelector(".jw-settings-submenu-quality .jw-settings-submenu-items");if(e){let t=new Set;
196e.childNodes.forEach(e=>{let r=e.innerHTML;if(/^\d+p\s{1}\(.+\)/.exec(r)){let[n=""]=r.split(" ");if(e.innerHTML=n,t.has(n)){e.style.display="none";return}t.add(n)}})}};var O=r(28752),L=r(91176);let D=()=>"web_".concat(String(Date.now()),"_").concat(Math.random().toString(36).slice(2,11)),M=e=>{let t="".concat("pvx_play_session_","_").concat(e);try{let e=sessionStorage.getItem(t);if(e)return e}catch(t){(0,d.Nd)(t,{media_id:e,operation:"getItem"})}let r=D();try{sessionStorage.setItem(t,r)}catch(t){(0,d.Nd)(t,{media_id:e,operation:"setItem"})}return r};var Z=r(23370),F=r(15484);let j="playlist-navigation-enabled",{publicRuntimeConfig:{jwApiKey:B,jwSkinName:U,jwSkinFile:$,imageDomain:V,jwVersion:z}}=i()(),H=async e=>{let{container:t,video:r,image:n,setCustomError:i,onRemove:s,onCloseCallback:l,enforceCloseButton:p}=e,{designTokens:f}=(0,u.ZP)(),v=!!(0,h.my)()&&"autostart"===a.JwMonitor.playReason,b=document.location.search.includes("".concat(m.az.SearchKeyword,"=")),S=!(b||(0,h.B8)())&&Z.Z.previousGuid!==r.guid&&"viewable",w=c.default.getVariable(c.O5.SpringServeVastAds,"vastTagUrl"),x=!!(w&&r.type===o.vw.Clip),E=c.default.isEnabled(c.O5.PlaylistNavigation)&&r.type!==o.vw.Pvx&&r.type!==o.vw.Movie;r.series&&r.type===o.vw.Episode&&(r.title="".concat(r.series.title,": Seizoen ").concat(String(r.seasonNumber),", aflevering ").concat(String(r.tvSeasonEpisodeNumber)));let T=n&&"".concat(V,"/ar_16:9,c_fill,dpr_2.0,f_webp,h_235/").concat(n),k={playlist:[{...r,image:T}],displaytitle:!1,displaydescription:!1,autostart:S,mute:v,width:"100%",height:"100%",controls:!0,key:B,floating:!1,preload:"none",intl:{nl:{nextUp:g.Z.video.next,advertising:{cuetext:g.Z.video.adCuetext,podmessage:g.Z.video.adPodmessage,loadingAd:g.Z.video.adLoadingAd,admessage:g.Z.video.adMessage},pause:g.Z.video.pause}},skin:{name:U,url:$,timeslider:{progress:f.colors.primary100,rail:"rgba(255,255,255,0.6)"}}};k.advertising=await (0,y.GG)({springServeEnabled:x,video:r,springServeTagUrl:null!=w?w:"",parentElement:t.parentElement});let C=window.jwplayer(t),_=()=>{let e=C.getContainer();e&&(e.classList.remove("custom-floating"),l&&l()),C.pause()};C.on("ready",()=>{(0,d.$V)("Player Ready"),C.addButton("","Sluiten",_,"floating-close-button");let e=C.getContainer();null==e||e.classList.toggle("close-icon",!!l),null==e||e.classList.toggle(j,E),p&&(null==e||e.classList.add("display-close-button"))}),C.setup(k);let{attemptRecovery:P,abort:A}=(0,I.J9)({playerInstance:C,video:r,image:n,isMuted:v,setCustomError:i,onRemove:s,springServeEnabled:x,onCloseCallback:l,enforceCloseButton:p,playlistNavigationEnabled:E});return G({playerInstance:C,video:r,image:n,isMuted:v,setCustomError:i,onRemove:s,springServeEnabled:x,onCloseCallback:l,enforceCloseButton:p,attemptPlaybackRecovery:P,playlistNavigationEnabled:E}),{playerInstance:C,abort:A}};function G(e){var t,r;let{playerInstance:n,video:i,image:S,isMuted:w,setCustomError:x,onRemove:E,springServeEnabled:T,onCloseCallback:k,enforceCloseButton:C,attemptPlaybackRecovery:_,initialPosition:P=0,initialIsPlaying:D=!1,playlistNavigationEnabled:B}=e,{advertising:{zoneGroup:U,channelGroup:$},videoPlayerChannel:V,videoApiEndpoint:H}=(0,u.ZP)(),G=null!==(r=null!==(t=null!=V?V:U)&&void 0!==t?t:$)&&void 0!==r?r:"",q=w,K=w,W=P,X=D,Y=!1,J=()=>(0,d.XO)(n,i.guid,()=>Y,_,i.type),Q=()=>{let e=n.getContainer();e&&(e.classList.remove("custom-floating"),k&&k()),n.pause()};n.on("ready",()=>{(0,d.$V)("Player Ready"),n.addButton("","Sluiten",Q,"floating-close-button");let e=n.getContainer();null==e||e.classList.toggle("close-icon",!!k),null==e||e.classList.toggle(j,B),C&&(null==e||e.classList.add("display-close-button"));let t=c.default.getVariable(c.O5.Chromecast,"appId");t&&(0,h.i7)()&&Z.Z.initialize({jwInstance:n,applicationId:t,videoApiEndpoint:H,playerChannel:G,video:i,image:S})}),n.setPlaylistItemCallback(async e=>{var t,r,n,i,a,s,l;let[u]=null!==(n=e.sources)&&void 0!==n?n:[];if((0,d.Z)({source_type:null!==(i=null==u?void 0:u.type)&&void 0!==i?i:null,media_id:e.guid}),e.type===o.vw.Pvx){let t=(null==u?void 0:u.drm)?m.t4.JWP:null,r=(null==u?void 0:u.drm)?Object.keys(u.drm):[],n=M(e.guid
196);(0,d.Z)({play_session_id:n,media_videotype:"PVX_".concat(String(e.metadata.media_videotype)),drm_provider:t,drm_type:r.join(",")}),r.length>0&&(e.sources=null===(a=e.sources)||void 0===a?void 0:a.map(t=>(0,v.Y)({originalSource:t,isPVX:!0,mediaId:e.guid,playSessionId:n})));try{let[t]=(0,b.NS)(e.guid);t&&(e.starttime=t.position)}catch(e){(0,d.Nd)(Error("Failed to get video progress from local cache"),{error_details:String(e)})}return e}let c=null!==(s=(null==u?void 0:u.drm)&&Object.keys(u.drm)[0])&&void 0!==s?s:null,h=c?m.t4.JWP:null;(0,d.Z)({media_videotype:e.type,drm_type:c,drm_provider:h}),h&&(e.sources=null===(l=e.sources)||void 0===l?void 0:l.map(e=>(0,v.Y)({originalSource:e})));let p=(null===(r=e.media)||void 0===r?void 0:null===(t=r[0])||void 0===t?void 0:t.type)===o.DD.Live;if(e.starttime)return e;let[f,g]=await Promise.all([(0,y.sr)(e).catch(()=>null),p?null:(0,b.Tc)({guids:e.guid,completed:!1}).then(e=>{var t;return null===(t=e[0])||void 0===t?void 0:t.position}).catch(()=>null)]);return g&&(e.starttime=g),!T&&f&&(e.freewheel=f),e.fwassetid=e.guid,e});let ee=()=>{q&&n.setMute(K)},et=()=>{(0,d.$V)("Show Geo Message"),x(p.Xh.GeoError)};n.on("mute",e=>{let{mute:t}=e;K=t}),n.on("adImpression",ee),n.on("firstFrame",()=>{(function(e,t){var r,n,i;let a=e.getContainer();if(t){null==a||null===(n=a.querySelector(".jw-display-icon-forwards"))||void 0===n||n.remove(),null==a||null===(i=a.querySelector(".jw-display-icon-rewind"))||void 0===i||i.remove();return}if(!a||a.querySelector(".jw-display-icon-forwards"))return;let o=a.querySelector(".jw-display-icon-next");o&&(o.style.display="none");let s=document.createElement("div");s.className="jw-display-icon-container jw-display-icon-forwards jw-reset";let l=document.createElement("div");l.className="jw-icon jw-icon-forwards jw-button-color jw-reset",l.role="button",l.tabIndex=0,l.ariaLabel="Forward 10 Seconds",(0,O.Z)(s,L.r.Forwards,g.Z.video.forward10Seconds,a.classList.contains("jw-flag-touch")),s.addEventListener("click",()=>{e.seek(e.getPosition()+10)}),s.appendChild(l),null===(r=a.querySelector(".jw-display-controls"))||void 0===r||r.appendChild(s)})(n,B),n.setConfig({autostart:!1}),ee();let e=(0,I.m4)(i.guid);(null==e?void 0:e.hasAttemptedRecovery)||(0,d.$V)("Stream start",{media_offset:(0,f.H)(W)})}),n.on("beforePlay",()=>{window.eventBus.dispatch("activeVideo",{video:{guid:i.guid}}),s.Z.getIsAudioPlaying()&&s.Z.stop(),s.Z.getIsVideoPlaying()&&i.guid!==s.Z.videoGuid&&s.Z.switchVisualStream(!1)}),n.on("levels",R),n.on("play",()=>{X=!0,J(),A(n)}),n.on("pause",()=>{var e;X=!1,(0,d.xf)(),i.type!==o.vw.Pvx&&(null!==(e=(0,I.m4)(i.guid))&&void 0!==e&&e.hasAttemptedRecovery||N(i.guid,n))}),n.on("time",e=>{if(W=e.position,e.duration&&Number.isFinite(e.duration)){let t={progressInSeconds:e.position,progressPercentage:(0,l.dM)(e.position,e.duration),completed:(0,l.ty)(e.position,e.duration)};window.eventBus.dispatch("activeVideoProgress",{guid:i.guid,progress:t}),e.duration>=20&&(0,l.W)(i.guid,t)}let t=(0,I.m4)(i.guid);(null==t?void 0:t.hasAttemptedRecovery)&&(null===t.position||e.position-t.position>=3)&&((0,d.$V)("Recovery Successful",{media_id:i.guid,error_code:String(t.lastErrorCode),media_offset:(0,f.H)(W)}),(0,I.Sb)(i.guid))}),n.on("idle",()=>(0,d.xf)()),n.on("complete",()=>{i.type!==o.vw.Pvx&&((0,d.$V)("Media finished"),(0,l.xK)({playerInstance:n,guid:i.guid,completed:!0}))}),n.on("adComplete",e=>{let t="".concat(e.adposition,"-roll");e.sequence&&e.podcount&&(t+=" | ".concat(String(e.sequence)," of ").concat(String(e.podcount))),(0,d.$V)("Ad Watched ".concat(t),{media_offset:(0,f.H)(W),ad_client:e.client,creative_type:e.creativetype})}),n.on("adError",e=>{var t,r,n;if("Ad playback blocked by an ad blocker"===e.message){(0,d.$V)("Ad Blocked",{media_offset:(0,f.H)(W)}),window.eventBus.dispatch("adblockDetected",{detected:!0});return}(0,d.$V)("Failed Ad",{media_offset:(0,f.H)(W),media_file:null!==(r=null===(t=e.mediafile)||void 0===t?void 0:t.file)&&void 0!==r?r:null,ad_client:e.client,ad_id:null!==(n=e.adId)&&void 0!==n?n:e.id,error_code:e.code,error_message:e.message})}),n.on("adPause",()=>{(0,d.xf)()}),n.on("adPlay",()=>{J()}),n.on("adBreakStart",()=>{Y=!0}),n.on("adBreakEnd",()=>{Y=!1}),n.on("playAttemptFailed",e=>{(0,d.eG)(e,{media_offset:(0,f.H)(n.getPosition()),is_online:String(navigator.onLine)}),"interaction"===e.playReason&&(0,F.O)(i.availableRegion)&&et()}),n.on("error",e=>{if((0,d.xf)(),(0,d.eG)(e,{media_offset:(0,f.H)(n.getPosition()),is_online:String(navigator.onLine)}),(0,F.O)(i.availableRegion))et();
196else if("playing"!==n.getState()){var t,r;if(!c.default.isEnabled(c.O5.RestartPlaybackOnFatalErrors)||!_){(0,d.$V)("Fatal Player Error",{error_code:String(e.code),media_offset:(0,f.H)(W),is_online:String(navigator.onLine)});return}let a=(0,I.m4)(i.guid),o=(0,I.gJ)(i.guid,e.code,W)&&navigator.onLine;(null==a?void 0:a.hasAttemptedRecovery)&&(0,d.$V)("Recovery Failed",{error_code:String(e.code),media_offset:(0,f.H)(null!==(t=a.position)&&void 0!==t?t:W),is_online:String(navigator.onLine)}),o||a&&!1!==a.isManual||(0,d.$V)("Fatal Player Error",{error_code:String(e.code),media_offset:(0,f.H)(null!==(r=null==a?void 0:a.position)&&void 0!==r?r:W),is_online:String(navigator.onLine)}),(0,I.kp)(n,()=>void _({position:W,errorCode:e.code,isManual:!0,isPlaying:X})),o&&_({position:W,errorCode:e.code,isManual:!1,isPlaying:X})}});let er=c.default.getVariables(c.O5.ConvivaMonitoring);a.JwMonitor.init({id:n.id,convivaConfig:null!=er?er:void 0,manualCleanup:!0,defaultLayer:{player_version:z,player_channel:G,player_channelid:G,player_name:"webx_jwplayer"},events:{playlist:()=>!1,playlistComplete:()=>(E?(n.remove(),E()):n.stop(),!1),mute:()=>"idle"!==n.getState(),autostartNotAllowed:()=>(c.default.isEnabled(c.O5.MutedAutoplay)&&(q=!0,n.setMute(!0),(0,d.$V)("Muted autostart"),a.JwMonitor.setPlayReason("autostart"),n.play()),!1)}})}},91176:function(e,t,r){"use strict";var n,i;r.d(t,{r:function(){return n}}),(i=n||(n={})).Previous="previous",i.NextPlaylist="next-playlist",i.Forwards="forwards"},44181:function(e,t,r){"use strict";var n=r(36492),i=r(62071),a=r(21953),o=r(35027);t.Z=()=>{let{loginStatus:e}=(0,i.aF)(),{data:t,isFetching:r}=(0,n.a)({queryKey:["entitled-offers"],queryFn:o.aB,enabled:e===a.IC.Authenticated,retry:!1});return{entitledOffers:null!=t?t:[],isLoading:r||e===a.IC.Loading}}},59232:function(e,t,r){"use strict";r.d(t,{l:function(){return a}});var n=r(67294),i=r(35027);let a=function(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];(0,n.useEffect)(()=>{var n;if(!r||!t||!e)return;let a=null===(n=e.cause)||void 0===n?void 0:n.status;"number"==typeof a&&(0,i.Uk)(a)},[e,t,r])}},47610:function(e,t,r){"use strict";r.d(t,{dW:function(){return Q},kN:function(){return ev},yM:function(){return eS},jW:function(){return ew},zT:function(){return es},Rv:function(){return eA},L0:function(){return eg},Tr:function(){return eN},HK:function(){return ea},gX:function(){return eh},$1:function(){return eC},Sj:function(){return em},cw:function(){return eb},ht:function(){return ef},XC:function(){return ep},PP:function(){return ed},Sn:function(){return eP},Fx:function(){return e_},zU:function(){return eo},zd:function(){return eE},Iy:function(){return ek},NS:function(){return el},Tc:function(){return eu},mN:function(){return eT},cT:function(){return et}});var n=r(82729),i=r(62938),a=r(84183),o=r(36837),s=r(28994),l=r(21953),u=r(70103),c=r(30656),d=r(62071),h=r(44909),p=r(99234),f=r(47488),m=r(23251),g=r(12875),v=r(15633),y=r(15281),b=r(35027);function S(){let e=(0,n._)(["\n  query PlayerSidebarSeriesQuery($guid: [String], $limit: Int) {\n    programs(guid: $guid, programTypes: SERIES, limit: $limit) {\n      items {\n        id\n        guid\n        title\n        slug\n        imageMedia {\n          url\n          label\n        }\n      }\n    }\n  }\n"]);return S=function(){return e},e}let w=(0,o.Ps)(S());function x(){let e=(0,n._)(["\n    fragment PlayerSidebarEpisode on Program {\n      guid\n      title\n      duration\n      tvSeasonEpisodeNumber\n      added\n      season {\n        title\n        seasonNumber\n      }\n      imageMedia {\n        url\n        label\n      }\n      media {\n        type\n        availableDate\n        availabilityState\n        airedDateTime\n      }\n      series {\n        title\n        slug\n      }\n    }\n\n    query PlayerSidebarEpisodesQuery {\n      ","\n    }\n  "]);return x=function(){return e},e}let E=e=>(0,o.Ps)(x(),e.map((e,t)=>"episode_".concat(String(t),': programs(\n            tvSeasonId: "').concat(e,'"\n            programTypes: EPISODE\n            limit: 1\n            sort: ').concat(l.O_.EpisodeNumberAsc,"\n            availableWithinHours: 0\n          ) {\n            items {\n              ...PlayerSidebarEpisode\n            }\n          }")).join("\n"));function T(){let e=(0,n._)(["\n    query PlayerSidebarSeasonsQuery {\n      ","\n    }\n  "]);return T=function(){return e},e}let k=e=>(0,o.Ps)(T(),e.map((e,t)=>"series_".concat(String(t),': programs(\n            guid: "').concat(e,'"\n            programTypes: SERIES\n          ) {\n            items {\n              slug\n              seriesTvSeasons {\n                id\n                seasonNumber\n              }\n            }\n          }')).join("\n"));function C(){let e=(0,n._)(["\n  query FullEpisodeButtonQuery($guid: [String]) {\n    programs(guid: $guid, programTypes: EPISODE) {\n      items {\n        guid\n        tvSeasonEpisodeNumber\n        season {\n          title\n          seasonNumber\n        }\n        ...Series\n      }\n    }\n  }\n  ","\n"]);return C=function(){return e},e}let _=(0,o.Ps)(C(),y.Lx);var P=r(4670);function A(){let e=(0,n._)(["\n  query GetVideoQuery($guid: [String]) {\n    programs(guid: $guid) {\n      items {\n        guid\n        type\n        metadata\n        availableRegion\n        title\n        series {\n          title\n          slug\n        }\n        tvSeasonEpisodeNumber\n        tvSeasonId\n        seriesId\n        seasonNumber\n        ...Media\n        ...Tracks\n        ...Sources\n      }\n    }\n  }\n  ","\n  ","\n  ","\n"]);return A=function(){return e},e}function N(){let e=(0,n._)(["\n  query EpisodeQuery(\n    $seriesId: String\n    $guid: [String]\n    $limit: Int\n    $skip: Int\n    $availableWithinHours: Int\n    $sort: ProgramSortKey\n  ) {\n    programs(\n      seriesId: $seriesId\n      guid: $guid\n      programTypes: EPISODE\n      limit: $limit\n      skip: $skip\n      sort: $sort\n      availableWithinHours: $availableWithinHours\n    ) {\n      totalResults\n      items {\n        guid\n        tvSeasonEpisodeNumber\n        added\n        type\n        updated\n        tvSeasonId\n        availableRegion\n        publicationDateTime\n        title\n        description\n        duration\n        season {\n          title\n          seasonNumber\n        }\n        ...ImageMedia\n        ...Series\n        ...Media\n        ...Sources\n        ...Ratings\n      }\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n  ","\n"]);return N=function(){return e},e}function I(){let e=(0,n._)(["\n  query ProgramsByProgramTypeQuery($programTypes: [ProgramType], $guid: [String], $limit: Int, $skip: Int) {\n    programs(programTypes: $programTypes, guid: $guid, limit: $limit, skip: $skip) {\n      totalResults\n      items {\n        guid\n        slug\n        tvSeasonEpisodeNumber\n        added\n        updated\n        tvSeasonId\n        availableRegion\n        publicationDateTime\n        title\n        description\n        duration\n        type\n        sourceProgram\n        season {\n          title\n          seasonNumber\n        }\n        ...Series\n        ...Media\n        ...ImageMedia\n        ...Sources\n      }\n    }\n  }\n  ","\n  ","\n  ","\n  ","\n"]);return I=function(){return e},e}function R(){let e=(0,n._)(["\n  query EpisodesBySeasonIdQuery($tvSeasonId: String, $skip: Int, $limit: Int) {\n    programs(tvSeasonId: $tvSeasonId, programTypes: EPISODE, skip: $skip, limit: $limit) {\n      totalResults\n      items {\n        guid\n        tvSeasonEpisodeNumber\n        added\n        duration\n        season {\n          title\n          seasonNumber\n        }\n        series {\n          slug\n        }\n        ...ImageMedia\n        ...Media\n        ...Sources\n      }\n    }\n  }\n  ","\n  ","\n  ","\n"]);return R=function(){return e},e}function O(){let e=(0,n._)(["\n  query SeasonsQuery($slug: String) {\n    programs(slugs: [$slug], programTypes: SERIES) {\n      items {\n        seriesTvSeasons {\n          title\n          seasonNumber\n          id\n          guid\n        }\n      }\n    }\n  }\n"]);return O=function(){return e},e}function L(){let e=(0,n._)(["\n  query ProgramsByGuidsQuery($guid: [String]) {\n    programs(guid: $guid) {\n      items {\n        id\n        guid\n        slug\n        type\n        title\n        description\n        series {\n          slug\n        }\n        ...ImageMedia\n      }\n    }\n  }\n  ","\n"]);return L=function(){return e},e}function D(){let e=(0,n._)(["\n  query DrmTokenQuery($provider: DrmProvider) {\n    drmToken(drmProvider: $provider) {\n      expiration\n      token\n    }\n  }\n"]);return D=function(){return e},e}function M(){let e=(0,n._)(["\n  query VideoProgressQuery($guids: [String], $completed: Boolean, $limit: Int, $skip: Int, $skipSeconds: Int) {\n    videoProgress(guids: $guids, completed: $completed, limit: $limit, skip: $skip, skipSeconds: $skipSeconds) {\n      guid\n      position\n      completed\n    }\n  }\n"]);return M=function(){return e},e}function Z(){let e=(0,n._)(["\n  mutation VideosProgressMutation($guid: String!, $completed: Boolean, $position: Float!) {\n    videoProgress(guid: $guid, completed: $completed, position: $position) {\n      __typename\n      guid\n      completed\n      position\n    }\n  }\n"]);return Z=function(){return e},e}function F(){let e=(0,n._)(["\n  query ProfileWatchlistQuery {\n    profile {\n      watchlist\n    }\n  }\n"]);return F=function(){return e},e}function j(){let e=(0,n._)(["\n  query sources($guid: [String]) {\n    programs(guid: $guid) {\n      items {\n        guid\n        sources {\n          type\n          file\n          drm\n        }\n      }\n    }\n  }\n"]);return j=function(){return e},e}function B(){let e=(0,n._)(["\n  query PlaylistItemsQuery(\n    $tvSeasonId: String\n    $seriesId: String\n    $programTypes: [ProgramType]\n    $skip: Int\n    $limit: Int\n    $sort: ProgramSortKey\n  ) {\n    programs(\n      tvSeasonId: $tvSeasonId\n      seriesId: $seriesId\n      programTypes: $programTypes\n      skip: $skip\n      limit: $limit\n      sort: $sort\n    ) {\n      totalResults\n      items {\n        guid\n      }\n    }\n  }\n"]);return B=function(){return e},e}function U(){let e=(0,n._)(["\n  mutation ProfileWatchlistMutation($action: Action!, $key: String!) {\n    profile(action: $action, key: $key) {\n      statusCode\n      statusReason\n      statusMessage\n    }\n  }\n"]);return U=function(){return e},e}function $(){let e=(0,n._)(["query AvailableSeasonsQuery{\n    ","\n  }"]);return $=function(){return e},e}let V=(0,o.Ps)(A(),y.dd,y.P0,y.pe),z=(0,o.Ps)(N(),y.jo,y.Lx,y.dd,y.pe,y.EB),H=(0,o.Ps)(I(),y.Lx,y.dd,y.jo,y.pe),G=(0,o.Ps)(R(),y.jo,y.dd,y.pe),q=(0,o.Ps)(O
196()),K=(0,o.Ps)(L(),y.jo),W=(0,o.Ps)(D()),X=(0,o.Ps)(M()),Y=(0,o.Ps)(Z()),J=(0,o.Ps)(F()),Q=(0,o.Ps)(j()),ee=(0,o.Ps)(B());async function et(e){let{guid:t,completed:r,position:n}=e,{videoApiEndpoint:a,outletName:o}=(0,u.ZP)();if(o!==l.eA.Kijk)return;let s=(0,d.lI)();try{let e=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(String(s))},body:JSON.stringify({query:(0,i.S)(Y),variables:{guid:t,completed:r,position:n}})});if(!e.ok){let t=Error("Video progress update failed with status: ".concat(String(e.status)));(0,c.Nd)(t);return}let{errors:o}=await e.json();if(null==o?void 0:o.length){let e=Error("Video progress update failed: ".concat(o.map(e=>e.message).join(", ")));(0,c.Nd)(e)}}catch(e){(0,c.Nd)(e)}}let er=(0,o.Ps)(U()),en="program_",ei=e=>(0,o.Ps)($(),e.map((e,t)=>"".concat(en).concat(String(t),': programs(tvSeasonId: "').concat(e.value,'", skip: 0, limit: 1, programTypes: EPISODE) {\n      totalResults\n    }')));async function ea(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:AbortSignal.timeout(m.t),n=new URLSearchParams({query:(0,a.A)((0,i.S)(e)),variables:JSON.stringify(t)}),{videoApiEndpoint:o}=(0,u.ZP)();try{var s,l,d,h;let e=await fetch("".concat(o,"?").concat(n.toString()),{method:"GET",headers:{"Content-Type":"application/json"},signal:r}),t=null!==(d=e.headers.get("content-type"))&&void 0!==d?d:"",i=await e.text();if(!t.includes("application/json")){let t=i.substring(0,200);return(0,c.Nd)(Error("Video API returned non-JSON response"),{status_code:e.status,query:n.toString(),response_body:t}),{items:[]}}let{data:a,errors:u}=JSON.parse(i);if(null==u?void 0:u.length){let e=Error("Video API returned errors: ".concat(u.map(e=>e.message).join(", ")));return(0,c.Nd)(e),{items:[]}}return{items:null!==(h=null===(s=a.programs)||void 0===s?void 0:s.items)&&void 0!==h?h:[],totalResults:null===(l=a.programs)||void 0===l?void 0:l.totalResults}}catch(e){return(0,c.Nd)(Error("Video API fetch failed: ".concat(e.message))),{items:[]}}}async function eo(e,t,r){return t?(0,b.ed)(e):ea(V,{guid:e},r).then(e=>{var t;let{items:r}=e,[n]=r;return n?{...n,sources:null===(t=n.sources)||void 0===t?void 0:t.sort((e,t)=>e.type===t.type?0:"m3u8"===e.type?-1:1)}:null})}async function es(e){let{origin:t}=(0,u.ZP)();return ea(H,{guid:e,programTypes:[s.vw.Movie]}).then(e=>{let{items:r}=e;if(!r.length)return null;let[n]=r;return n?new v.GK(n,{origin:t,includeStructuredData:!0}):null})}function el(e){var t;if("string"==typeof e&&(null===(t=h.G3[e])||void 0===t?void 0:t.progressInSeconds)&&!h.G3[e].completed){let t=h.G3[e].progressInSeconds;return[{guid:e,position:t,completed:!1}]}return[]}async function eu(e){let{guids:t,skipSeconds:r=0,limit:n,skip:a,completed:o}=e;try{let{videoApiEndpoint:e,outletName:s}=(0,u.ZP)(),c=(0,d.lI)();if(!c||s!==l.eA.Kijk)return el(t);let h={skipSeconds:r,limit:n,skip:a};void 0!==o&&(h.completed=o),t&&(!Array.isArray(t)||t.length>0)&&(h.guids=Array.isArray(t)?t:[t]);let p=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(c)},body:JSON.stringify({query:(0,i.S)(X),variables:h})});if(!p.ok)throw Error("There was an error while fetching video progress with status: ".concat(String(p.status)));let{data:f}=await p.json();if(!f.videoProgress)return[];return f.videoProgress}catch(e){return(0,c.Nd)(e),[]}}async function ec(e){var t;if(!g.default.isEnabled(g.O5.FullEpisodeButton))return;let{origin:r}=(0,u.ZP)(),{items:n}=await ea(_,{guid:e}),[i]=n;if(null==i?void 0:null===(t=i.series)||void 0===t?void 0:t.title)return new v.IH(i,{origin:r,videoUrlPrefix:l.e3})}async function ed(e,t){var r;let{origin:n}=(0,u.ZP)();if(t)return(0,b.zb)(e);let{items:i}=await ea(H,{guid:e,programTypes:[s.vw.Episode,s.vw.Clip]});if(!i.length)return null;let[a]=i;if(!a)return null;if((null===(r=a.media)||void 0===r?void 0:r.length)===0&&(0,c.Nd)(Error("Video media is empty"),{media_id:a.guid,media_videotype:a.type}),a.type===s.vw.Episode)return new v.IH(a,{origin:n,includeStructuredData:!0,videoUrlPrefix:l.e3});if(a.type===s.vw.Clip){let e=a.sourceProgram?await ec(a.sourceProgram):void 0;return new v.bX(a,{origin:n,includeStructuredData:!0,videoUrlPrefix:l.e3,fullEpisode:e})}return null}
196async function eh(e){let{contentApiEndpoint:t}=(0,u.ZP)(),r=await (0,f.j0)("".concat(t,"/kijk/by-date/").concat(e));return(null==r?void 0:r.items.length)?r.items.map(e=>{var t,r;return{...e,isAvailable:(0,p.Iv)(null===(t=e.video)||void 0===t?void 0:t.availableDate),dateLabel:(null===(r=e.video)||void 0===r?void 0:r.airedDateTime)?(0,p.Xu)(e.video.airedDateTime):void 0}}):null}async function ep(e){let{contentApiEndpoint:t}=(0,u.ZP)(),r="".concat(t,"/kijk/series-details/").concat(e),n=await (0,f.j0)(r);return n?{...n,episodes:n.episodes.map(P.j7),clips:n.clips.map(P.j7)}:null}async function ef(){let{contentApiEndpoint:e}=(0,u.ZP)();return(0,f.j0)("".concat(e,"/kijk/series-overview"))}async function em(e){let{contentApiEndpoint:t}=(0,u.ZP)();if(!e)return{items:[],availableTabs:[]};let r=await (0,f.j0)("".concat(t,"/kijk/search/").concat(encodeURIComponent(e)));return null!=r?r:{items:[],availableTabs:[]}}async function eg(e){let{origin:t,allowedSeries:r}=(0,u.ZP)(),n=r.find(t=>{let{slug:r}=t;return r===e});return n?ea(z,{seriesId:n.id,limit:1,availableWithinHours:1}).then(e=>{let{items:r}=e;if(!r.length)return null;let[i]=r;return i?new v.IH(i,{origin:t,seriesTitle:n.title,includeStructuredData:!0}):null}):null}async function ev(e){let{origin:t,allowedSeries:r}=(0,u.ZP)();return ea(z,{guid:e}).then(e=>{let{items:n}=e;if(!n.length)return null;let[i]=n;if(!i)return null;let a=r.find(e=>{var t;let{slug:r}=e;return r===(null===(t=i.series)||void 0===t?void 0:t.slug)});return a?new v.IH(i,{origin:t,seriesTitle:a.title,includeStructuredData:!0}):null})}async function ey(e){var t;return ea(q,{slug:e}).then(e=>{var r;let{items:n}=e;return(null!==(t=null===(r=n[0])||void 0===r?void 0:r.seriesTvSeasons)&&void 0!==t?t:[]).map(e=>{let{id:t,title:r,seasonNumber:n}=e;return{value:t,label:r||"Seizoen ".concat(String(n)),seasonNumber:n,isDisabled:!1}})})}async function eb(e){return ey(e).then(e=>ex(e))}async function eS(e,t,r,n){let i={origin:"",...n&&{videoUrlPrefix:l.e3}};return ea(G,{tvSeasonId:e,skip:t,limit:r}).then(e=>{let{items:t,totalResults:r}=e;return{totalResults:r,items:t.map(e=>new v.IH(e,i))}})}async function ew(e,t,r){return ea(z,{seriesId:e,skip:t,limit:r}).then(e=>{let{items:t,totalResults:r}=e;return{totalResults:r||t.length,items:t.map(e=>new v.IH(e,{origin:""}))}})}async function ex(e){var t;if(!(null==e?void 0:e.length))return[];let r=ei(e),n=new URLSearchParams({query:(0,a.A)((0,i.S)(r))}),{videoApiEndpoint:o}=(0,u.ZP)();try{let r=await fetch("".concat(o,"?").concat(n.toString()),{method:"GET",headers:{"Content-Type":"application/json"}}),i=null!==(t=r.headers.get("content-type"))&&void 0!==t?t:"",a=await r.text();if(!i.includes("application/json")){let t=a.substring(0,200);return(0,c.Nd)(Error("Video API returned non-JSON response"),{status_code:r.status,query:n.toString(),response_body:t}),e}let{data:s}=JSON.parse(a),l=e.map((e,t)=>{var r;let{totalResults:n}=null!==(r=s["".concat(en).concat(String(t))])&&void 0!==r?r:{};return{...e,isDisabled:0===n}});return l}catch(t){return(0,c.Nd)(t),e}}async function eE(){let{videoApiEndpoint:e}=(0,u.ZP)();try{let t=(0,d.lI)(),r=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(String(t))},body:JSON.stringify({query:(0,a.A)((0,i.S)(J))})}),{data:{profile:{watchlist:n=[]}}}=await r.json();return n}catch(e){return(0,c.Nd)(e),[]}}async function eT(e,t){let{videoApiEndpoint:r}=(0,u.ZP)();try{var n,a,o,s;let u=null!==(s=null===(o=window.eventBus.publishedEventRegistry)||void 0===o?void 0:null===(a=o.watchlist)||void 0===a?void 0:null===(n=a.data)||void 0===n?void 0:n.watchlist)&&void 0!==s?s:[],c=t?[...u,e]:u.filter(t=>t!==e);window.eventBus.dispatch("watchlist",{watchlist:c});let h="watchlist.programs.".concat(e),p=(0,d.lI)();await fetch(r,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(String(p))},body:JSON.stringify({query:(0,i.S)(er),variables:{action:t?l.MU.Save:l.MU.Remove,key:h}})})}catch(e){(0,c.Nd)(e)}let h=await eE();window.eventBus.dispatch("watchlist",{watchlist:h})}async function ek(e){try{var t;let{videoApiEndpoint:r}=(0,u.ZP)(),n=await fetch(r,{method:"POST",body:JSON.stringify({query:(0,i.S)(W),variables:{provider:e}}
196)}),{data:a}=await n.json();return null!==(t=null==a?void 0:a.drmToken.token)&&void 0!==t?t:""}catch(e){(0,c.Nd)(e)}return""}async function eC(e){let{origin:t}=(0,u.ZP)();return ea(K,{guid:e}).then(e=>{let{items:r}=e;return r.map(e=>{let r={origin:t,videoUrlPrefix:l.e3,includeStructuredData:!1};return e.type===s.vw.Episode?new v.IH(e,r):e.type===s.vw.Clip?new v.bX(e,r):e.type===s.vw.Series?new v.FH(e):e.type===s.vw.Movie?new v.GK(e,r):null}).filter(e=>!!e)})}async function e_(e){if(!e.length)return[];let{items:t}=await ea(w,{guid:e,limit:l.OE.KijkAndEvent});return t.map(e=>new v.FH(e))}async function eP(e){if(!e.length)return[];let t=await eA({query:k(e.slice(0,l.OE.KijkAndEvent))}),r=Object.values(t).flatMap(e=>{var t,r,n;let i=null===(t=e.items)||void 0===t?void 0:t[0],a=null==i?void 0:i.slug;return a&&null!==(n=null===(r=i.seriesTvSeasons)||void 0===r?void 0:r.slice(0,3).map(e=>{let{id:t}=e;return{seasonId:t,slug:a}}))&&void 0!==n?n:[]});if(!r.length)return[];let n=await eA({query:E(r.map(e=>e.seasonId))}),i={};for(let[e,{slug:t}]of r.entries()){var a,o;let r=null===(o=n["episode_".concat(String(e))])||void 0===o?void 0:null===(a=o.items)||void 0===a?void 0:a[0];r&&!i[t]&&(i[t]=new v.IH(r,{origin:"",videoUrlPrefix:l.e3}))}return Object.values(i)}async function eA(e){var t;let{query:r,variables:n}=e,o=new URLSearchParams({query:(0,a.A)((0,i.S)(r)),variables:n?JSON.stringify(n):""}),{videoApiEndpoint:s}=(0,u.ZP)(),l=await fetch("".concat(s,"?").concat(o.toString()),{method:"GET",headers:{"Content-Type":"application/json"}}),c=null!==(t=l.headers.get("content-type"))&&void 0!==t?t:"",d=await l.text();if(!c.includes("application/json")){let e=d.substring(0,250);throw Error("Video API returned non-JSON response. Status: ".concat(String(l.status),", Query: ").concat((0,a.A)((0,i.S)(r)).substring(0,100),"..., Variables: ").concat(JSON.stringify(n),", Preview: ").concat(e))}let{data:h,errors:p}=JSON.parse(d);if(null==p?void 0:p.length)throw Error("Video API Request failed: ".concat(p.map(e=>e.message).join(", ")));return h}async function eN(e,t,r,n,i){let a=await eA({query:ee,variables:{...e,sort:i,programTypes:t,limit:n,skip:r}}),{totalResults:o,items:s}=a.programs;return{totalResults:o,guids:s.map(e=>e.guid)}}},15281:function(e,t,r){"use strict";r.d(t,{EB:function(){return g},Lx:function(){return d},P0:function(){return m},dd:function(){return p},jo:function(){return h},pe:function(){return f}});var n=r(82729),i=r(36837);function a(){let e=(0,n._)(["\n  fragment Series on Program {\n    series {\n      title\n      slug\n      added\n      description\n      displayGenre\n      imageMedia {\n        url\n        label\n      }\n    }\n  }\n"]);return a=function(){return e},e}function o(){let e=(0,n._)(["\n  fragment ImageMedia on Program {\n    imageMedia {\n      url\n      label\n    }\n  }\n"]);return o=function(){return e},e}function s(){let e=(0,n._)(["\n  fragment Media on Program {\n    media {\n      type\n      availableDate\n      availabilityState\n      airedDateTime\n      expirationDate\n      cuePoints {\n        time\n      }\n    }\n  }\n"]);return s=function(){return e},e}function l(){let e=(0,n._)(["\n  fragment Sources on Program {\n    sources {\n      type\n      file\n      drm\n    }\n  }\n"]);return l=function(){return e},e}function u(){let e=(0,n._)(["\n  fragment Tracks on Program {\n    tracks {\n      file\n      kind\n      label\n    }\n  }\n"]);return u=function(){return e},e}function c(){let e=(0,n._)(["\n  fragment Ratings on Program {\n    ratings {\n      rating\n      subRatings\n    }\n  }\n"]);return c=function(){return e},e}let d=(0,i.ZP)(a()),h=(0,i.ZP)(o()),p=(0,i.ZP)(s()),f=(0,i.ZP)(l()),m=(0,i.ZP)(u()),g=(0,i.ZP)(c())},21876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,a=l(e),o=a[0],s=a[1],u=new i((o+s)*3/4-s),c=0,d=s>0?o-4:o;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;o<s;o+=16383)a.push(function(e,t,n){for(var i,a=[],o=t;o<n;o+=3)a.push(r[(i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(e,o,o+16383>
196s?s:o+16383));return 1===i?a.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&a.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),a.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o<s;++o)r[o]=a[o],n[a.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},72:function(e,t,r){"use strict";/*!
197 * The buffer module from node.js, for the browser.
198 *
199 * @author   Feross Aboukhadijeh <https://feross.org>
200 * @license  MIT
201 */var n=r(675),i=r(783),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|p(e,t),n=o(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(A(e,ArrayBuffer)||e&&A(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(A(e,SharedArrayBuffer)||e&&A(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return s.from(n,t,r);var i=function(e){if(s.isBuffer(e)){var t,r=0|h(e.length),n=o(r);return 0===n.length||e.copy(n,0,0,r),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?o(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),o(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),r=o(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||A(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return _(e).length;default:if(i)return n?-1:k(e).length;t=(""+t).toLowerCase(),i=!0}}function f(e,t,r){var i,a,o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=N[e[a]];return i}(this,t,r);case"utf8":case"utf-8":return y(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=t,a=r,0===i&&a===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(i,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}(this,t,r);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,i){var a;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(a=r=+r)!=a&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}
201else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var a,o=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;o=2,s/=2,l/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=r;a<s;a++)if(u(e,a)===u(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*o}else -1!==c&&(a-=a-c),c=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var d=!0,h=0;h<l;h++)if(u(e,a+h)!==u(t,h)){d=!1;break}if(d)return a}return -1}function y(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,o,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(a=e[i+1]))==128&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=e[i+1],o=e[i+2],(192&a)==128&&(192&o)==128&&(l=(15&u)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],(192&a)==128&&(192&o)==128&&(192&s)==128&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function b(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function S(e,t,r,n,i,a){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function w(e,t,r,n,i,a){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function x(e,t,r,n,a){return t=+t,r>>>=0,a||w(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function E(e,t,r,n,a){return t=+t,r>>>=0,a||w(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?o(e):void 0!==t?"string"==typeof r?o(e).fill(t,r):o(e).fill(t):o(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),A(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(A(a,Uint8Array)&&(a=s.from(a)),!s.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?y(this,0,e):f.apply(this,arguments)}
vendor: 8,902 bytes, line 201
201,s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},a&&(s.prototype[a]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(A(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var a=i-n,o=r-t,l=Math.min(a,o),u=this.slice(n,i),c=e.slice(t,r),d=0;d<l;++d)if(u[d]!==c[d]){a=u[d],o=c[d];break}return a<o?-1:o<a?1:0},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a,o,s,l,u,c,d,h,p,f,m,g=this.length-t;if((void 0===r||r>g)&&(r=g),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var v=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(s!=s)break;e[r+o]=s}return o}(this,e,t,r);case"utf8":case"utf-8":return l=t,u=r,P(k(e,this.length-l),this,l,u);case"ascii":return c=t,d=r,P(C(e),this,c,d);case"latin1":case"binary":return i=this,a=e,o=t,s=r,P(C(a),i,o,s);case"base64":return h=t,p=r,P(_(e),this,h,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f=t,m=r,P(function(e,t){for(var r,n,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i.push(r%256),i.push(n);return i}(e,this.length-f),this,f,m);default:if(v)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),v=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},s.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;S(this,e,t,r,i,0)}var a=1,o=0;for(this[t]=255&e;++o<r&&(a*=256);)this[t+o]=e/a&255;return t+r},s.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;S(this,e,t,r,i,0)}var a=r-1,o=1;for(this[t+a]=255&e;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+r},s.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);S(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);S(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||S(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return x(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return x(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return E(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return E(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var a=i-1;a>=0;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,a=e.charCodeAt(0);("utf8"===n&&a<128||"latin1"===n)&&(e=a)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=s.isBuffer(e)?e:s.from(e,n),l=o.length;
201if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%l]}return this};var T=/[^+/0-9A-Za-z-_]/g;function k(e,t){t=t||1/0;for(var r,n=e.length,i=null,a=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319||o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function C(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function _(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(T,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function P(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function A(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var N=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,h=r?-1:1,p=e[t+d];for(d+=h,a=p&(1<<-c)-1,p>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=h,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=n;c>0;o=256*o+e[t+d],d+=h,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:(p?-1:1)*(1/0);o+=Math.pow(2,n),a-=u}return(p?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,l,u=8*a-i-1,c=(1<<u)-1,d=c>>1,h=23===i?5960464477539062e-23:0,p=n?0:a-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=h/l:t+=h*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=c?(s=0,o=c):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+p]=255&s,p+=f,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[r+p]=255&o,p+=f,o/=256,u-=8);e[r+p-f]|=128*m}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var a=r[e]={exports:{}},o=!0;try{t[e](a,a.exports,n),o=!1}finally{o&&delete r[e]}return a.exports}n.ab="//";var i=n(72);e.exports=i}()},93814:function(){},65216:function(){},77663:function(e){!function(){var t={229:function(e){var t,r,n,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l=[],u=!1,c=-1;function d(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&h())}function h(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new p(e,t)),1!==l.length||u||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=f,i.addListener=f,i.once=f,i.off=f,i.removeListener=f,i.removeAllListeners=f,i.emit=f,i.prependListener=f,i.prependOnceListener=f,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var a=r[e]={exports:{}},o=!0;try{t[e](a,a.exports,n),o=!1}finally{o&&delete r[e]}return a.exports}n.ab="//";var i=n(229);e.exports=i}()},5152:function(e,t,r){e.exports=r(95677)},9008:function(e,t,r){e.exports=r(42636)},25675:function(e,t,r){e.exports=r(32555)},41664:function(e,t,r){e.exports=r(95569)},39332:function(e,t,r){e.exports=r(31414)},11163:function(e,t,r){e.exports=r(96885)},70113:function(e){var t="undefined"!=typeof ArrayBuffer,r="undefined"!=typeof Symbol;function n(e,n){var i,a,o,s,l;
201if(!e)throw Error("obliterator/forEach: invalid iterable.");if("function"!=typeof n)throw Error("obliterator/forEach: expecting a callback.");if(Array.isArray(e)||t&&ArrayBuffer.isView(e)||"string"==typeof e||"[object Arguments]"===e.toString()){for(o=0,s=e.length;o<s;o++)n(e[o],o);return}if("function"==typeof e.forEach){e.forEach(n);return}if(r&&Symbol.iterator in e&&"function"!=typeof e.next&&(e=e[Symbol.iterator]()),"function"==typeof e.next){for(i=e,o=0;!0!==(l=i.next()).done;)n(l.value,o),o++;return}for(a in e)e.hasOwnProperty(a)&&n(e[a],a)}n.forEachWithNullKeys=function(e,n){var i,a,o,s,l;if(!e)throw Error("obliterator/forEachWithNullKeys: invalid iterable.");if("function"!=typeof n)throw Error("obliterator/forEachWithNullKeys: expecting a callback.");if(Array.isArray(e)||t&&ArrayBuffer.isView(e)||"string"==typeof e||"[object Arguments]"===e.toString()){for(o=0,s=e.length;o<s;o++)n(e[o],null);return}if(e instanceof Set){e.forEach(function(e){n(e,null)});return}if("function"==typeof e.forEach){e.forEach(n);return}if(r&&Symbol.iterator in e&&"function"!=typeof e.next&&(e=e[Symbol.iterator]()),"function"==typeof e.next){for(i=e,o=0;!0!==(l=i.next()).done;)n(l.value,null),o++;return}for(a in e)e.hasOwnProperty(a)&&n(e[a],a)},e.exports=n},84993:function(e){function t(e){Object.defineProperty(this,"_next",{writable:!1,enumerable:!1,value:e}),this.done=!1}t.prototype.next=function(){if(this.done)return{done:!0};var e=this._next();return e.done&&(this.done=!0),e},"undefined"!=typeof Symbol&&(t.prototype[Symbol.iterator]=function(){return this}),t.of=function(){var e=arguments,r=e.length,n=0;return new t(function(){return n>=r?{done:!0}:{done:!1,value:e[n++]}})},t.empty=function(){var e=new t(null);return e.done=!0,e},t.is=function(e){return e instanceof t||"object"==typeof e&&null!==e&&"function"==typeof e.next},e.exports=t},92703:function(e,t,r){"use strict";var n=r(50414);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={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:a,resetWarningCache:i}
201;return r.PropTypes=r,r}},45697:function(e,t,r){e.exports=r(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},79593:function(e,t){"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal");/**
202 * @license React
203 * react-is.production.js
204 *
205 * Copyright (c) Meta Platforms, Inc. and affiliates.
206 *
207 * This source code is licensed under the MIT license found in the
208 * LICENSE file in the root directory of this source tree.
209 */var r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=(Symbol.for("react.view_transition"),Symbol.for("react.client.reference"));t.iY=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===i||e===n||e===l||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===c||e.$$typeof===o||e.$$typeof===a||e.$$typeof===s||e.$$typeof===h||void 0!==e.getModuleId)}},98547:function(e,t,r){"use strict";r.d(t,{Q:function(){return A}});var n=r(63366),i=r(87462),a=r(75068),o=r(97582),s=r(37811),l=new Map,u=function(e){return e.cloneNode(!0)},c=function(){return"file:"===window.location.protocol},d=function(e,t,r){var n=new XMLHttpRequest;n.onreadystatechange=function(){try{if(!/\.svg/i.test(e)&&2===n.readyState){var t=n.getResponseHeader("Content-Type");if(!t)throw Error("Content type not found");var i=(0,s.Q)(t).type;if(!("image/svg+xml"===i||"text/plain"===i))throw Error("Invalid content type: ".concat(i))}if(4===n.readyState){if(404===n.status||null===n.responseXML)throw Error(c()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+e);if(200===n.status||c()&&0===n.status)r(null,n);else throw Error("There was a problem injecting the SVG: "+n.status+" "+n.statusText)}}catch(e){if(n.abort(),e instanceof Error)r(e,n);else throw e}},n.open("GET",e),n.withCredentials=t,n.overrideMimeType&&n.overrideMimeType("text/xml"),n.send()},h={},p=function(e,t){h[e]=h[e]||[],h[e].push(t)},f=function(e){for(var t=function(t,r){setTimeout(function(){if(Array.isArray(h[e])){var r=l.get(e),n=h[e][t];r instanceof SVGSVGElement&&n(null,u(r)),r instanceof Error&&n(r),t===h[e].length-1&&delete h[e]}},0)},r=0,n=h[e].length;r<n;r++)t(r)},m=function(e,t,r){if(l.has(e)){var n=l.get(e);if(void 0===n){p(e,r);return}if(n instanceof SVGSVGElement){r(null,u(n));return}}l.set(e,void 0),p(e,r),d(e,t,function(t,r){var n;t?l.set(e,t):(null===(n=r.responseXML)||void 0===n?void 0:n.documentElement)instanceof SVGSVGElement&&l.set(e,r.responseXML.documentElement),f(e)})},g=function(e,t,r){d(e,t,function(e,t){var n;e?r(e):(null===(n=t.responseXML)||void 0===n?void 0:n.documentElement)instanceof SVGSVGElement&&r(null,t.responseXML.documentElement)})},v=0,y=[],b={},S="http://www.w3.org/1999/xlink",w=function(e,t,r,n,i,a,s){var l=e.getAttribute("data-src")||e.getAttribute("src");if(!l){s(Error("Invalid data-src or src attribute"));return}if(-1!==y.indexOf(e)){y.splice(y.indexOf(e),1),e=null;return}y.push(e),e.setAttribute("src",""),(n?m:g)(l,i,function(n,i){if(!i){y.splice(y.indexOf(e),1),e=null,s(n);return}var u,c,d=e.getAttribute("id");d&&i.setAttribute("id",d);var h=e.getAttribute("title");h&&i.setAttribute("title",h);var p=e.getAttribute("width");p&&i.setAttribute("width",p);var f=e.getAttribute("height");f&&i.setAttribute("height",f);var m=Array.from(new Set((0,o.ev)((0,o.ev)((0,o.ev)([],(i.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(e.getAttribute("class")||"").split(" "),!0))).join(" ").trim();i.setAttribute("class",m);var g=e.getAttribute("style");g&&i.setAttribute("style",g),i.setAttribute("data-src",l);var w=[].filter.call(e.attributes,function(e){return/^data-\w[\w-]*$/.test(e.name)});if(Array.prototype.forEach.call(w,function(e){e.name&&e.value&&i.setAttribute(e.name,e.value)}),r){var x,E,T,k,C,_={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]};Object.keys(_).forEach(function(e){x=e,T=_[e],E=i.querySelectorAll(x+"[id]");for(var t=0,r=E.length;t<r;t++)!function(e,t){C=(k=E[e].id)+"-"+ ++v,Array.prototype.forEach.call(T,function(e){r=i.querySelectorAll("["+e+'*="'+k+'"]');for(var t=0,n=r.length;t<n;t++){var a=r[t].getAttribute(e);(!a||a.match(RegExp('url\\("?#'+k+'"?\\)')))&&r[t].setAttribute(e,"url(#"+C+")")}});for(var r,n=i.querySelectorAll("[*|href]"),a=[],o=0,s=n.length;o<s;o++){var l=n[o].getAttributeNS(S,"href");l&&l.toString()==="#"+E[e].id&&a.push(n[o])}for(var u=0,c=a.length;u<c;u++)a[u].setAttributeNS(S,"href","#"+C);E[e].id=C}(t)})}i.removeAttribute("xmlns:a");for(var P=i.querySelectorAll("script"),A=[],N=0,I=P.length;N<I;N++)(c=P[N].getAttribute("type"))&&"application/ecmascript"!==c&&"application/javascript"!==c&&"text/javascript"!==c||((u=P[N].innerText||P[N].textContent)&&A.push(u),i.removeChild(P[N]));if(A.length>0&&("always"===t||"once"===t&&!b[l])){for(var R=0,O=A.length;R<O;R++)Function(A[R])(window);b[l]=!0}var L=i.querySelectorAll("style");if(Array.prototype.forEach.call(L,function(e){e.textContent+=""}),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("xmlns:xlink",S),a(i),!e.parentNode){y.splice(y.indexOf(e),1),e=null,s(Error("Parent node is null"));return}e.parentNode.replaceChild(i,e),y.splice(y.indexOf(e),1),e=null,s(null,i)})},x=function(e,t){var r=void 0===t?{}:t,n=r.afterAll,i=void 0===n?function(){}:n,a=r.afterEach,o=void 0===a?function(){}:a,s=r.beforeEach,l=void 0===s?function(){}:s,u=r.cacheRequests,c=void 0===u||u,d=r.evalScripts,h=void 0===d?"never":d,p=r.httpRequestWithCredentials,f=void 0!==p&&p,m=r.renumerateIRIElements,g=void 0===m||m;if(e&&"length"in e)for(var v=0,y=0,b=e.length;y<b;y++)w(e[y],h,g,c,f,l,function(t,r){o(t,r),e&&"length"in e&&e.length===++v&&i(v)});else e?w(e,h,g,c,f,l,function(t,r){o(t,r),i(1),e=null}):i(0)},E=r(45697),T=r(67294),k=function(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1},C=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],_="http://www.w3.org/2000/svg",P="http://www.w3.org/1999/xlink",A=function(e){function t(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).initialState={hasError:!1,isLoading:!0},t.state=t.initialState,t._isMounted=!1,t.reactWrapper=void 0,t.nonReactWrapper=void 0,t.refCallback=function(e){t.reactWrapper=e},t}(0,a.Z)(t,e);var r=t.prototype;return r.renderSVG=function(){var e=this;if(this.reactWrapper instanceof(((null==(t=this.reactWrapper)?void 0:t.ownerDocument)||document).defaultView||window).Node){var t,r,n,i=this.props,a=i.desc,o=i.evalScripts,s=i.httpRequestWithCredentials,l=i.renumerateIRIElements,u=i.src,c=i.title,d=i.useRequestCache,h=this.props.onError,p=this.props.beforeInjection,f=this.props.afterInjection,m=this.props.wrapper;"svg"===m?((r=document.createElementNS(_,m)).setAttribute("xmlns",_),r.setAttribute("xmlns:xlink",P),n=document.createElementNS(_,m)):(r=document.createElement(m),n=document.createElement(m)),r.appendChild(n),n.dataset.src=u,this.nonReactWrapper=this.reactWrapper.appendChild(r);var g=function(t){if(e.removeSVG(),!e._isMounted){h(t);return}e.setState(function(){return{hasError:!0,isLoading:!1}},function(){h(t)})};x(n,{afterEach:function(t,r){if(t){g(t);return}e._isMounted&&e.setState(function(){return{isLoading:!1}},function(){try{f(r)}catch(e){g(e)}})},beforeEach:function(e){if(e.setAttribute("role","img"),a){var t=e.querySelector(":scope > desc");t&&e.removeChild(t);var r=document.createElement("desc");r.innerHTML=a,e.prepend(r)}if(c){var n=e.querySelector(":scope > title");n&&e.removeChild(n);var i=document.createElement("title");i.innerHTML=c,e.prepend(i)}try{p(e)}catch(e){g(e)}},cacheRequests:d,evalScripts:o,httpRequestWithCredentials:s,renumerateIRIElements:l})}},r.removeSVG=function(){var e;null!=(e=this.nonReactWrapper)&&e.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},r.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},r.componentDidUpdate=function(e){var t=this;k((0,i.Z)({},e),this.props)&&this.setState(function(){return t.initialState},function(){t.removeSVG(),t.renderSVG()})},r.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},r.render=function(){var e=this.props;e.afterInjection,e.beforeInjection,e.desc,e.evalScripts;var t=e.fallback;e.httpRequestWithCredentials;var r=e.loading;e.renumerateIRIElements,e.src,e.title,e.useRequestCache;var a=e.wrapper,o=(0,n.Z)(e,C);return T.createElement(a,(0,i.Z)({},o,{ref:this.refCallback},"svg"===a?{xmlns:_,xmlnsXlink:P}:{}
209),this.state.isLoading&&r&&T.createElement(r,null),this.state.hasError&&t&&T.createElement(t,null))},t}(T.Component);A.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"},A.propTypes={afterInjection:E.func,beforeInjection:E.func,desc:E.string,evalScripts:E.oneOf(["always","once","never"]),fallback:E.oneOfType([E.func,E.object,E.string]),httpRequestWithCredentials:E.bool,loading:E.oneOfType([E.func,E.object,E.string]),onError:E.func,renumerateIRIElements:E.bool,src:E.string.isRequired,title:E.string,useRequestCache:E.bool,wrapper:E.oneOf(["div","span","svg"])}},83:function(e,t,r){"use strict";/**
210 * @license React
211 * use-sync-external-store-shim.production.js
212 *
213 * Copyright (c) Meta Platforms, Inc. and affiliates.
214 *
215 * This source code is licensed under the MIT license found in the
216 * LICENSE file in the root directory of this source tree.
217 */var n=r(67294),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,o=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return s(function(){i.value=r,i.getSnapshot=t,u(i)&&c({inst:i})},[e,r,t]),o(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},61688:function(e,t,r){"use strict";e.exports=r(83)},87462:function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{Z:function(){return n}})},75068:function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,{Z:function(){return i}})},63366:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{Z:function(){return n}})},97397:function(e,t,r){"use strict";r.d(t,{N9:function(){return h}}),Symbol.for("constructDateFrom");let n={},i={};function a(e,t){try{let r=n[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format,a=r(t).split("GMT")[1];if(a in i)return i[a];return s(a,a.split(":"))}catch{if(e in i)return i[e];let t=e?.match(o);if(t)return s(e,t.slice(1));return NaN}}let o=/([+-]\d\d):?(\d\d)?/;function s(e,t){let r=+(t[0]||0),n=+(t[1]||0),a=+(t[2]||0)/60;return i[e]=60*r+n>0?60*r+n+a:60*r-n-a}class l extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(a(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),d(this,NaN),c(this)):this.setTime(Date.now())}static tz(e,...t){return t.length?new l(...t,e):new l(Date.now(),e)}withTimeZone(e){return new l(+this,e)}getTimezoneOffset(){let e=-a(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),c(this),+this}[Symbol.for("constructDateFrom")](e){return new l(+new Date(e),this.timeZone)}}let u=/^(get|set)(?!UTC)/;function c(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-(60*a(e.timeZone,e))))}function d(e){let t=a(e.timeZone,e),r=t>0?Math.floor(t):Math.ceil(t),n=new Date(+e);n.setUTCHours(n.getUTCHours()-1);let i=-new Date(+e).getTimezoneOffset(),o=-new Date(+n).getTimezoneOffset(),s=i-o,l=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();s&&l&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+s);let u=i-r;u&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+u);let c=new Date(+e);c.setUTCSeconds(0);let d=i>0?c.getSeconds():(c.getSeconds()-60)%60,h=Math.round(-(60*a(e.timeZone,e)))%60;(h||d)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+h),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+h+d));let p=a(e.timeZone,e),f=p>0?Math.floor(p):Math.ceil(p),m=-new Date(+e).getTimezoneOffset(),g=m-f-u;if(f!==r&&g){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+g);let t=a(e.timeZone,e),r=f-(t>0?Math.floor(t):Math.ceil(t));r&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+r),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+r))}}
217Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!u.test(e))return;let t=e.replace(u,"$1UTC");l.prototype[t]&&(e.startsWith("get")?l.prototype[e]=function(){return this.internal[t]()}:(l.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),Date.prototype.setFullYear.call(this,this.internal.getUTCFullYear(),this.internal.getUTCMonth(),this.internal.getUTCDate()),Date.prototype.setHours.call(this,this.internal.getUTCHours(),this.internal.getUTCMinutes(),this.internal.getUTCSeconds(),this.internal.getUTCMilliseconds()),d(this),+this},l.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),c(this),+this}))});class h extends l{static tz(e,...t){return t.length?new h(...t,e):new h(Date.now(),e)}toISOString(){let[e,t,r]=this.tzComponents(),n=`${e}${t}:${r}`;return this.internal.toISOString().slice(0,-1)+n}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,t,r,n]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${r} ${t} ${n}`}
217toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[t,r,n]=this.tzComponents();return`${e} GMT${t}${r}${n} (${function(e,t,r="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:r}).format(t).split(/\s/g).slice(2).join(" ")}(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),t=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),r=String(Math.abs(e)%60).padStart(2,"0");return[e>0?"-":"+",t,r]}withTimeZone(e){return new h(+this,e)}[Symbol.for("constructDateFrom")](e){return new h(+new Date(e),this.timeZone)}}},82729:function(e,t,r){"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:function(){return n}})},15761:function(e,t,r){"use strict";r.d(t,{j:function(){return o}});var n=r(6428),i=r(32161);class a extends n.l{constructor(){super(),this.setup=e=>{if(!i.sk&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){let t=this.focused!==e;t&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach(({listener:e})=>{e()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}let o=new a},9499:function(e,t,r){"use strict";function n(){return{onFetch:e=>{e.fetchFn=()=>{var t,r,n,o,s,l;let u;let c=null==(t=e.fetchOptions)?void 0:null==(r=t.meta)?void 0:r.refetchPage,d=null==(n=e.fetchOptions)?void 0:null==(o=n.meta)?void 0:o.fetchMore,h=null==d?void 0:d.pageParam,p=(null==d?void 0:d.direction)==="forward",f=(null==d?void 0:d.direction)==="backward",m=(null==(s=e.state.data)?void 0:s.pages)||[],g=(null==(l=e.state.data)?void 0:l.pageParams)||[],v=g,y=!1,b=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>{var t,r;return null!=(t=e.signal)&&t.aborted?y=!0:null==(r=e.signal)||r.addEventListener("abort",()=>{y=!0}),e.signal}})},S=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),w=(e,t,r,n)=>(v=n?[t,...v]:[...v,t],n?[r,...e]:[...e,r]),x=(t,r,n,i)=>{if(y)return Promise.reject("Cancelled");if(void 0===n&&!r&&t.length)return Promise.resolve(t);let a={queryKey:e.queryKey,pageParam:n,meta:e.options.meta};b(a);let o=S(a),s=Promise.resolve(o).then(e=>w(t,n,e,i));return s};if(m.length){if(p){let t=void 0!==h,r=t?h:i(e.options,m);u=x(m,t,r)}else if(f){let t=void 0!==h,r=t?h:a(e.options,m);u=x(m,t,r,!0)}else{v=[];let t=void 0===e.options.getNextPageParam,r=!c||!m[0]||c(m[0],0,m);u=r?x([],t,g[0]):Promise.resolve(w([],g[0],m[0]));for(let r=1;r<m.length;r++)u=u.then(n=>{let a=!c||!m[r]||c(m[r],r,m);if(a){let a=t?g[r]:i(e.options,n);return x(n,t,a)}return Promise.resolve(w(n,g[r],m[r]))})}}else u=x([]);let E=u.then(e=>({pages:e,pageParams:v}));return E}}}}function i(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function a(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}function o(e,t){if(e.getNextPageParam&&Array.isArray(t)){let r=i(e,t);return null!=r&&!1!==r}}function s(e,t){if(e.getPreviousPageParam&&Array.isArray(t)){let r=a(e,t);return null!=r&&!1!==r}}r.d(t,{Gm:function(){return n},Qy:function(){return o},ZF:function(){return s}})},30819:function(e,t,r){"use strict";r.d(t,{_:function(){return n}});let n=console},89886:function(e,t,r){"use strict";r.d(t,{R:function(){return l},m:function(){return s}});
217var n=r(30819),i=r(30081),a=r(89643),o=r(72379);class s extends a.F{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||n._,this.observers=[],this.state=e.state||l(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(t=>t!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){var e,t,r,n,i,a,s,l,u,c,d,h,p,f,m,g,v,y,b,S;let w="loading"===this.state.status;try{if(!w){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(u=(c=this.mutationCache.config).onMutate)?void 0:u.call(c,this.state.variables,this));let e=await (null==(d=(h=this.options).onMutate)?void 0:d.call(h,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}let p=await (()=>{var e;return this.retryer=(0,o.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise})();return await (null==(e=(t=this.mutationCache.config).onSuccess)?void 0:e.call(t,p,this.state.variables,this.state.context,this)),await (null==(r=(n=this.options).onSuccess)?void 0:r.call(n,p,this.state.variables,this.state.context)),await (null==(i=(a=this.mutationCache.config).onSettled)?void 0:i.call(a,p,null,this.state.variables,this.state.context,this)),await (null==(s=(l=this.options).onSettled)?void 0:s.call(l,p,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:p}),p}catch(e){try{throw await (null==(p=(f=this.mutationCache.config).onError)?void 0:p.call(f,e,this.state.variables,this.state.context,this)),await (null==(m=(g=this.options).onError)?void 0:m.call(g,e,this.state.variables,this.state.context)),await (null==(v=(y=this.mutationCache.config).onSettled)?void 0:v.call(y,void 0,e,this.state.variables,this.state.context,this)),await (null==(b=(S=this.options).onSettled)?void 0:b.call(S,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,o.Kw)(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),i.V.batch(()=>{this.observers.forEach(t=>{t.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}function l(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}},30081:function(e,t,r){"use strict";r.d(t,{V:function(){return i}});var n=r(32161);let i=function(){let e=[],t=0,r=e=>{e()},i=e=>{e()},a=i=>{t?e.push(i):(0,n.A4)(()=>{r(i)})},o=()=>{let t=e;e=[],t.length&&(0,n.A4)(()=>{i(()=>
217{t.forEach(e=>{r(e)})})})};return{batch:e=>{let r;t++;try{r=e()}finally{--t||o()}return r},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{i=e}}}()},96474:function(e,t,r){"use strict";r.d(t,{N:function(){return s}});var n=r(6428),i=r(32161);let a=["online","offline"];class o extends n.l{constructor(){super(),this.setup=e=>{if(!i.sk&&window.addEventListener){let t=()=>e();return a.forEach(e=>{window.addEventListener(e,t,!1)}),()=>{a.forEach(e=>{window.removeEventListener(e,t)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()})}setOnline(e){let t=this.online!==e;t&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach(({listener:e})=>{e()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}let s=new o},52924:function(e,t,r){"use strict";r.d(t,{z:function(){return l}});var n=r(32161),i=r(30081),a=r(15761),o=r(6428),s=r(72379);class l extends o.l{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),u(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),(0,n.VS)(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();let a=this.hasListeners();a&&d(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(t),a&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();let o=this.computeRefetchInterval();a&&(this.currentQuery!==i||this.options.enabled!==r.enabled||o!==this.currentRefetchInterval)&&this.updateRefetchInterval(o)}getOptimisticResult(e){let t=this.client.getQueryCache().build(this.client,e),r=this.createResult(t,e);return e.keepPreviousData||(void 0!==e.placeholderData?!r.isPlaceholderData:(0,n.VS)(this.getCurrentResult(),r))||(this.currentResult=r,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),r}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(r=>{Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),e[r])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),r=this.client.getQueryCache().build(this.client,t);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(n.ZT)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),n.sk||this.currentResult.isStale||!(0,n.PN)(this.options.staleTime))return;let e=(0,n.Kp)(this.currentResult.dataUpdatedAt,this.options.staleTime);this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e+1)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!n.sk&&!1!==this.options.enabled&&(0,n.PN)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>
217{(this.options.refetchIntervalInBackground||a.j.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let r;let i=this.currentQuery,a=this.options,o=this.currentResult,l=this.currentResultState,c=this.currentResultOptions,p=e!==i,f=p?e.state:this.currentQueryInitialState,m=p?this.currentResult:this.previousQueryResult,{state:g}=e,{dataUpdatedAt:v,error:y,errorUpdatedAt:b,fetchStatus:S,status:w}=g,x=!1,E=!1;if(t._optimisticResults){let r=this.hasListeners(),n=!r&&u(e,t),o=r&&d(e,i,t,a);(n||o)&&(S=(0,s.Kw)(e.options.networkMode)?"fetching":"paused",v||(w="loading")),"isRestoring"===t._optimisticResults&&(S="idle")}if(t.keepPreviousData&&!g.dataUpdatedAt&&null!=m&&m.isSuccess&&"error"!==w)r=m.data,v=m.dataUpdatedAt,w=m.status,x=!0;else if(t.select&&void 0!==g.data){if(o&&g.data===(null==l?void 0:l.data)&&t.select===this.selectFn)r=this.selectResult;else try{this.selectFn=t.select,r=t.select(g.data),r=(0,n.oE)(null==o?void 0:o.data,r,t),this.selectResult=r,this.selectError=null}catch(e){this.selectError=e}}else r=g.data;if(void 0!==t.placeholderData&&void 0===r&&"loading"===w){let e;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==c?void 0:c.placeholderData))e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(w="success",r=(0,n.oE)(null==o?void 0:o.data,e,t),E=!0)}this.selectError&&(y=this.selectError,r=this.selectResult,b=Date.now(),w="error");let T="fetching"===S,k="loading"===w,C="error"===w,_={status:w,fetchStatus:S,isLoading:k,isSuccess:"success"===w,isError:C,isInitialLoading:k&&T,data:r,dataUpdatedAt:v,error:y,errorUpdatedAt:b,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>f.dataUpdateCount||g.errorUpdateCount>f.errorUpdateCount,isFetching:T,isRefetching:T&&!k,isLoadingError:C&&0===g.dataUpdatedAt,isPaused:"paused"===S,isPlaceholderData:E,isPreviousData:x,isRefetchError:C&&0!==g.dataUpdatedAt,isStale:h(e,t),refetch:this.refetch,remove:this.remove};return _}updateResult(e){let t=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,n.VS)(r,t))return;this.currentResult=r;let i={cache:!0};(null==e?void 0:e.listeners)!==!1&&(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,r="function"==typeof e?e():e;if("all"===r||!r&&!this.trackedProps.size)return!0;let n=new Set(null!=r?r:this.trackedProps);return this.options.useErrorBoundary&&n.add("error"),Object.keys(this.currentResult).some(e=>{let r=this.currentResult[e]!==t[e];return r&&n.has(e)})})()&&(i.listeners=!0),this.notify({...i,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||(0,s.DV)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){i.V.batch(()=>{var t,r,n,i,a,o,s,l;e.onSuccess?(null==(t=(r=this.options).onSuccess)||t.call(r,this.currentResult.data),null==(n=(i=this.options).onSettled)||n.call(i,this.currentResult.data,null)):e.onError&&(null==(a=(o=this.options).onError)||a.call(o,this.currentResult.error),null==(s=(l=this.options).onSettled)||s.call(l,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEac
217h(({listener:e})=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function u(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)||e.state.dataUpdatedAt>0&&c(e,t,t.refetchOnMount)}function c(e,t,r){if(!1!==t.enabled){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&h(e,t)}return!1}function d(e,t,r,n){return!1!==r.enabled&&(e!==t||!1===n.enabled)&&(!r.suspense||"error"!==e.state.status)&&h(e,r)}function h(e,t){return e.isStaleByTime(t.staleTime)}},89643:function(e,t,r){"use strict";r.d(t,{F:function(){return i}});var n=r(32161);class i{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,n.PN)(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:n.sk?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}},72379:function(e,t,r){"use strict";r.d(t,{DV:function(){return u},Kw:function(){return s},Mz:function(){return c}});var n=r(15761),i=r(96474),a=r(32161);function o(e){return Math.min(1e3*2**e,3e4)}function s(e){return(null!=e?e:"online")!=="online"||i.N.isOnline()}class l{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function u(e){return e instanceof l}function c(e){let t,r,u,c=!1,d=0,h=!1,p=new Promise((e,t)=>{r=e,u=t}),f=()=>!n.j.isFocused()||"always"!==e.networkMode&&!i.N.isOnline(),m=n=>{h||(h=!0,null==e.onSuccess||e.onSuccess(n),null==t||t(),r(n))},g=r=>{h||(h=!0,null==e.onError||e.onError(r),null==t||t(),u(r))},v=()=>new Promise(r=>{t=e=>{let t=h||!f();return t&&r(e),t},null==e.onPause||e.onPause()}).then(()=>{t=void 0,h||null==e.onContinue||e.onContinue()}),y=()=>{let t;if(!h){try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(m).catch(t=>{var r,n;if(h)return;let i=null!=(r=e.retry)?r:3,s=null!=(n=e.retryDelay)?n:o,l="function"==typeof s?s(d,t):s,u=!0===i||"number"==typeof i&&d<i||"function"==typeof i&&i(d,t);if(c||!u){g(t);return}d++,null==e.onFail||e.onFail(d,t),(0,a.Gh)(l).then(()=>{if(f())return v()}).then(()=>{c?g(t):y()})})}};return s(e.networkMode)?y():v().then(y),{promise:p,cancel:t=>{h||(g(new l(t)),null==e.abort||e.abort())},continue:()=>{let e=null==t?void 0:t();return e?p:Promise.resolve()},cancelRetry:()=>{c=!0},continueRetry:()=>{c=!1}}}},6428:function(e,t,r){"use strict";r.d(t,{l:function(){return n}});class n{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){let t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},32161:function(e,t,r){"use strict";r.d(t,{A4:function(){return E},G9:function(){return T},Gh:function(){return x},I6:function(){return c},Kp:function(){return s},PN:function(){return o},Rm:function(){return p},SE:function(){return a},VS:function(){return v},X7:function(){return h},ZT:function(){return i},_v:function(){return l},_x:function(){return d},lV:function(){return u},oE:function(){return k},sk:function(){return n},to:function(){return m},yF:function(){return f}});let n="undefined"==typeof window||"Deno"in window;function i(){}function a(e,t){return"function"==typeof e?e(t):e}function o(e){return"number"==typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t,r){return w(e)?"function"==typeof t?{...r,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function u(e,t,r){return w(e)?"function"==typeof t?{...r,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}function c(e,t,r){return w(e)?[{...t,queryKey:e},r]:[e||{},t]}function d(e,t){let{type:r="all",exact:n,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(w(o)){if(n){if(t.queryHash!==p(o,t.options))return!1}else{if(!g(t.queryKey,o))return!1}}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(void 0===i||i===t.state.fetchStatus)&&(!a||!!a(t))}function h(e,t){let{exact:r,fetching:n,predicate:i,mutationKey:a}=e;if(w(a)){if(!t.options.mutationKey)return!1;if(r){if(f(t.options.mutationKey)!==f(a))return!1}else{if(!g(t.options.mutationKey,a))return!1}}return("boolean"!=typeof n||"loading"===t.state.status===n)&&(!i||!!i(t))}function p(e,t){let r=(null==t?void 0:t.queryKeyHashFn)||f;return r(e)}function f(e){return JSON.stringify(e,(e,t)=>b(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function m(e,t){return g(e,t)}function g(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(r=>!g(e[r],t[r]))}function v(e,t){if(e&&!t||t&&!e)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function y(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function b(e){if(!S(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!(S(r)&&r.hasOwnProperty("isPrototypeOf"))}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function w(e){return Array.isArray(e)}function x(e){return new Promise(t=>{setTimeout(t,e)})}function E(e){x(0).then(e)}function T(){if("function"==typeof AbortController)return new AbortController}function k(e,t,r){return null!=r.isDataEqual&&r.isDataEqual(e,t)?e:"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r,n=0){if(t===r)return t;if(n>500)return r;let i=y(t)&&y(r);if(i||b(t)&&b(r)){let a=i?t.length:Object.keys(t).length,o=i?r:Object.keys(r),s=o.length,l=i?[]:{},u=0;for(let a=0;a<s;a++){let s=i?a:o[a];l[s]=e(t[s],r[s],n+1),l[s]===t[s]&&u++}return a===s&&u===a?t:l}return r}(e,t):t}},85945:function(e,t,r){"use strict";r.d(t,{NL:function(){return s},aH:function(){return l}});var n=r(67294);let i=n.createContext(void 0),a=n.createContext(!1);function o(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=i),window.ReactQueryClientContext):i)}let s=({context:e}={})=>{let t=n.useContext(o(e,n.useContext(a)));if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},l=({client:e,children:t,context:r,contextSharing:i=!1})=>{n.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);let s=o(r,i);return n.createElement(a.Provider,{value:!r&&i},n.createElement(s.Provider,{value:e},t))}},67187:function(e,t,r){"use strict";let n;r.d(t,{r:function(){return S}});var i=r(67294),a=r(30081),o=r(464);let s=i.createContext((n=!1,{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n})),l=()=>i.useContext(s);var u=r(85945);let c=i.createContext(!1),d=()=>i.useContext(c);c.Provider;var h=r(24798);let p=(e,t)=>
217{(e.suspense||e.useErrorBoundary)&&!t.isReset()&&(e.retryOnMount=!1)},f=e=>{i.useEffect(()=>{e.clearReset()},[e])},m=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&(0,h.L)(r,[e.error,n]),g=e=>{e.suspense&&("number"!=typeof e.staleTime&&(e.staleTime=1e3),"number"==typeof e.cacheTime&&(e.cacheTime=Math.max(e.cacheTime,1e3)))},v=(e,t)=>e.isLoading&&e.isFetching&&!t,y=(e,t,r)=>(null==e?void 0:e.suspense)&&v(t,r),b=(e,t,r)=>t.fetchOptimistic(e).then(({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)}).catch(t=>{r.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)});function S(e,t){let r=(0,u.NL)({context:e.context}),n=d(),s=l(),c=r.defaultQueryOptions(e);c._optimisticResults=n?"isRestoring":"optimistic",c.onError&&(c.onError=a.V.batchCalls(c.onError)),c.onSuccess&&(c.onSuccess=a.V.batchCalls(c.onSuccess)),c.onSettled&&(c.onSettled=a.V.batchCalls(c.onSettled)),g(c),p(c,s),f(s);let[h]=i.useState(()=>new t(r,c)),v=h.getOptimisticResult(c);if((0,o.$)(i.useCallback(e=>{let t=n?()=>void 0:h.subscribe(a.V.batchCalls(e));return h.updateResult(),t},[h,n]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),i.useEffect(()=>{h.setOptions(c,{listeners:!1})},[c,h]),y(c,v,n))throw b(c,h,s);if(m({result:v,errorResetBoundary:s,useErrorBoundary:c.useErrorBoundary,query:h.getCurrentQuery()}))throw v.error;return c.notifyOnChangeProps?v:h.trackResult(v)}},59403:function(e,t,r){"use strict";r.d(t,{N:function(){return l}});var n=r(32161),i=r(52924),a=r(9499);class o extends i.z{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:(0,a.Gm)()},t)}getOptimisticResult(e){return e.behavior=(0,a.Gm)(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var r,n,i,o,s,l;let{state:u}=e,c=super.createResult(e,t),{isFetching:d,isRefetching:h}=c,p=d&&(null==(r=u.fetchMeta)?void 0:null==(n=r.fetchMore)?void 0:n.direction)==="forward",f=d&&(null==(i=u.fetchMeta)?void 0:null==(o=i.fetchMore)?void 0:o.direction)==="backward";return{...c,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,a.Qy)(t,null==(s=u.data)?void 0:s.pages),hasPreviousPage:(0,a.ZF)(t,null==(l=u.data)?void 0:l.pages),isFetchingNextPage:p,isFetchingPreviousPage:f,isRefetching:h&&!p&&!f}}}var s=r(67187);function l(e,t,r){let i=(0,n._v)(e,t,r);return(0,s.r)(i,o)}},48228:function(e,t,r){"use strict";r.d(t,{D:function(){return h}});var n=r(67294),i=r(32161),a=r(89886),o=r(30081),s=r(6428);class l extends s.l{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;let r=this.options;this.options=this.client.defaultMutationOptions(e),(0,i.VS)(r,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.currentMutation)||e.removeObserver(this)}}onMutationUpdate(e){this.updateResult();let t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let e=this.currentMutation?this.currentMutation.state:(0,a.R)(),t="loading"===e.status,r={...e,isLoading:t,isPending:t,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=r}notify(e){o.V.batch(()=>
217{if(this.mutateOptions&&this.hasListeners()){var t,r,n,i,a,o,s,l;e.onSuccess?(null==(t=(r=this.mutateOptions).onSuccess)||t.call(r,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(n=(i=this.mutateOptions).onSettled)||n.call(i,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):e.onError&&(null==(a=(o=this.mutateOptions).onError)||a.call(o,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(l=this.mutateOptions).onSettled)||s.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)})})}}var u=r(464),c=r(85945),d=r(24798);function h(e,t,r){let a=(0,i.lV)(e,t,r),s=(0,c.NL)({context:a.context}),[h]=n.useState(()=>new l(s,a));n.useEffect(()=>{h.setOptions(a)},[h,a]);let f=(0,u.$)(n.useCallback(e=>h.subscribe(o.V.batchCalls(e)),[h]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),m=n.useCallback((e,t)=>{h.mutate(e,t).catch(p)},[h]);if(f.error&&(0,d.L)(h.options.useErrorBoundary,[f.error]))throw f.error;return{...f,mutate:m,mutateAsync:f.mutate}}function p(){}},36492:function(e,t,r){"use strict";r.d(t,{a:function(){return o}});var n=r(32161),i=r(52924),a=r(67187);function o(e,t,r){let o=(0,n._v)(e,t,r);return(0,a.r)(o,i.z)}},464:function(e,t,r){"use strict";r.d(t,{$:function(){return i}});var n=r(61688);let i=n.useSyncExternalStore},24798:function(e,t,r){"use strict";function n(e,t){return"function"==typeof e?e(...t):!!e}r.d(t,{L:function(){return n}})},12003:function(e,t,r){"use strict";r.d(t,{j:function(){return o}});var n=r(90512);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=n.W,o=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return a(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:s}=t,l=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],n=null==s?void 0:s[e];if(null===t)return null;let a=i(t)||i(n);return o[e][a]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{}),c=null==t?void 0:null===(n=t.compoundVariants)||void 0===n?void 0:n.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...u}[t]):({...s,...u})[t]===r})?[...e,r,n]:e},[]);return a(e,l,c,null==r?void 0:r.class,null==r?void 0:r.className)}},90512:function(e,t,r){"use strict";function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var a=t.length;for(r=0;r<a;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{W:function(){return n}}),t.Z=n},82889:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});let n={};function i(){return n}},29412:function(e,t,r){"use strict";r.d(t,{G:function(){return a}});let n=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},i=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},a={p:i,P:(e,t)=>{let r;let a=e.match(/(P+)(p+)?/)||[],o=a[1],s=a[2];if(!s)return n(e,t);switch(o){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",n(o,t)).replace("{{time}}",i(s,t))}}},77303:function(e,t,r){"use strict";function n(e){return t=>{let r=e?Math[e]:Math.trunc,n=r(t);return 0===n?0:n}}r.d(t,{u:function(){return n}})},24959:function(e,t,r){"use strict";r.d(t,{D:function(){return i}});var n=r(32612);function i(e){let t=(0,n.Q)(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}},91771:function(e,t,r){"use strict";r.d(t,{d:function(){return i}});var n=r(26843);function i(e,...t){let r=n.L.bind(null,e||t.find(e=>"object"==typeof e));return t.map(r)}},47387:function(e,t,r){"use strict";r.d(t,{DD:function(){return l},Do:function(){return s},Iu:function(){return o}});let n=/^D+$/,i=/^Y+$/,a=["D","DD","YY","YYYY"];function o(e){return n.test(e)}function s(e){return i.test(e)}function l(e,t,r){let n=function(e,t,r){let n="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,r);if(console.warn(n),a.includes(e))throw RangeError(n)}},21860:function(e,t,r){"use strict";r.d(t,{E:function(){return a}});var n=r(26843),i=r(32612);function a(e,t,r){let a=(0,i.Q)(e,r?.in);return isNaN(t)?(0,n.L)(r?.in||e,NaN):(t&&a.setDate(a.getDate()+t),a)}t.Z=a},32276:function(e,t,r){"use strict";r.d(t,{z:function(){return a}});var n=r(26843),i=r(32612);function a(e,t,r){let a=(0,i.Q)(e,r?.in);if(isNaN(t))return(0,n.L)(r?.in||e,NaN);if(!t)return a;let o=a.getDate(),s=(0,n.L)(r?.in||e,a.getTime());s.setMonth(a.getMonth()+t+1,0);let l=s.getDate();return o>=l?s:(a.setFullYear(s.getFullYear(),s.getMonth(),o),a)}},35694:function(e,t,r){"use strict";r.d(t,{U:function(){return i}});var n=r(32612);function i(e,t){let r=+(0,n.Q)(e)-+(0,n.Q)(t);return r<0?-1:r>0?1:r}},86012:function(e,t,r){"use strict";r.d(t,{H_:function(){return c},I7:function(){return d},UU:function(){return l},dP:function(){return i},fH:function(){return u},jE:function(){return n},qk:function(){return s},vh:function(){return o},yJ:function(){return a}});let n=6048e5,i=864e5,a=6e4,o=36e5,s=1e3,l=525600,u=43200,c=1440,d=Symbol.for("constructDateFrom")},26843:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});var n=r(86012);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&n.I7 in e?e[n.I7](t):e instanceof Date?new e.constructor(t):new Date(t)}},50040:function(e,t,r){"use strict";r.d(t,{y:function(){return i}});var n=r(26843);function i(e){return(0,n.L)(e,Date.now())}},10146:function(e,t,r){"use strict";r.d(t,{w:function(){return s}});
217var n=r(24959),i=r(91771),a=r(86012),o=r(2582);function s(e,t,r){let[s,l]=(0,i.d)(r?.in,e,t),u=(0,o.b)(s),c=(0,o.b)(l),d=+u-(0,n.D)(u),h=+c-(0,n.D)(c);return Math.round((d-h)/a.dP)}t.Z=s},79309:function(e,t,r){"use strict";r.d(t,{j:function(){return a}});var n=r(91771),i=r(10146);function a(e,t,r){let[a,s]=(0,n.d)(r?.in,e,t),l=o(a,s),u=Math.abs((0,i.w)(a,s));a.setDate(a.getDate()-l*u);let c=Number(o(a,s)===-l),d=l*(u-c);return 0===d?0:d}function o(e,t){let r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}t.Z=a},98602:function(e,t,r){"use strict";r.d(t,{A:function(){return o}});var n=r(77303),i=r(91771),a=r(86012);function o(e,t,r){let[o,s]=(0,i.d)(r?.in,e,t),l=(+o-+s)/a.vh;return(0,n.u)(r?.roundingMethod)(l)}t.Z=o},96074:function(e,t,r){"use strict";r.d(t,{_:function(){return i}});var n=r(32612);function i(e,t){return+(0,n.Q)(e)-+(0,n.Q)(t)}},90828:function(e,t,r){"use strict";r.d(t,{X:function(){return o}});var n=r(77303),i=r(86012),a=r(96074);function o(e,t,r){let o=(0,a._)(e,t)/i.yJ;return(0,n.u)(r?.roundingMethod)(o)}t.Z=o},84441:function(e,t,r){"use strict";r.d(t,{Z:function(){return o},o:function(){return a}});var n=r(91771),i=r(35694);function a(e,t,r){let[a,o]=(0,n.d)(r?.in,e,t),s=(0,i.U)(a,o),l=Math.abs(function(e,t,r){let[i,a]=(0,n.d)(void 0,e,t);return i.getFullYear()-a.getFullYear()}(a,o));a.setFullYear(1584),o.setFullYear(1584);let u=(0,i.U)(a,o)===-s,c=s*(l-+u);return 0===c?0:c}var o=a},80554:function(e,t,r){"use strict";r.d(t,{i:function(){return i}});var n=r(32612);function i(e,t){let r=(0,n.Q)(e,t?.in);return r.setHours(23,59,59,999),r}t.Z=i},89117:function(e,t,r){"use strict";r.d(t,{ZP:function(){return C}});var n=r(70684),i=r(82889),a=r(10146),o=r(32612),s=r(33143),l=r(26966),u=r(11425),c=r(41388);function d(e,t){let r=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+r}let h={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return d("yy"===t?n%100:n,t.length)},M(e,t){let r=e.getMonth();return"M"===t?String(r+1):d(r+1,2)},d:(e,t)=>d(e.getDate(),t.length),a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>d(e.getHours()%12||12,t.length),H:(e,t)=>d(e.getHours(),t.length),m:(e,t)=>d(e.getMinutes(),t.length),s:(e,t)=>d(e.getSeconds(),t.length),S(e,t){let r=t.length,n=e.getMilliseconds();return d(Math.trunc(n*Math.pow(10,r-3)),t.length)}},p={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},f={G:function(e,t,r){let n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){let t=e.getFullYear(),n=t>0?t:1-t;return r.ordinalNumber(n,{unit:"year"})}return h.y(e,t)},Y:function(e,t,r,n){let i=(0,c.c)(e,n),a=i>0?i:1-i;if("YY"===t){let e=a%100;return d(e,2)}return"Yo"===t?r.ordinalNumber(a,{unit:"year"}):d(a,t.length)},R:function(e,t){let r=(0,l.L)(e);return d(r,t.length)},u:function(e,t){let r=e.getFullYear();return d(r,t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return d(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return d(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return h.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return d(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let i=(0,u.Q)(e,n);return"wo"===t?r.ordinalNumber(i,{unit:"week"}):d(i,t.length)},I:function(e,t,r){let n=(0,s.l)(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):d(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):h.d(e,t)},D:function(e,t,r){let n=function(e,t){let r=(0,o.Q)(e,void 0),n=(0,a.w)(r,function(e,t){let r=(0,o.Q)(e,void 0);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}(r));return n+1}(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):d(n,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let i=e.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return d(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let i=e.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return d(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),i=0===n?7:n;switch(t){case"i":return String(i);case"ii":return d(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours(),i=n/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n;let i=e.getHours();switch(n=12===i?p.noon:0===i?p.midnight:i/12>
217=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n;let i=e.getHours();switch(n=i>=17?p.evening:i>=12?p.afternoon:i>=4?p.morning:p.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return h.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):h.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):d(n,t.length)},k:function(e,t,r){let n=e.getHours();return(0===n&&(n=24),"ko"===t)?r.ordinalNumber(n,{unit:"hour"}):d(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):h.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):h.s(e,t)},S:function(e,t){return h.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return g(n);case"XXXX":case"XX":return v(n);default:return v(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return g(n);case"xxxx":case"xx":return v(n);default:return v(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+m(n,":");default:return"GMT"+v(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+m(n,":");default:return"GMT"+v(n,":")}},t:function(e,t,r){return d(Math.trunc(+e/1e3),t.length)},T:function(e,t,r){return d(+e,t.length)}};function m(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),i=Math.trunc(n/60),a=n%60;return 0===a?r+String(i):r+String(i)+t+d(a,2)}function g(e,t){if(e%60==0){let t=e>0?"-":"+";return t+d(Math.abs(e)/60,2)}return v(e,t)}function v(e,t=""){let r=Math.abs(e),n=d(Math.trunc(r/60),2),i=d(r%60,2);return(e>0?"-":"+")+n+t+i}var y=r(29412),b=r(47387),S=r(98360);let w=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,x=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,E=/^'([^]*?)'?$/,T=/''/g,k=/[a-zA-Z]/;var C=function(e,t,r){let a=(0,i.j)(),s=r?.locale??a.locale??n._,l=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,u=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,c=(0,o.Q)(e,r?.in);if(!(0,S.J)(c))throw RangeError("Invalid time value");let d=t.match(x).map(e=>{let t=e[0];if("p"===t||"P"===t){let r=y.G[t];return r(e,s.formatLong)}return e}).join("").match(w).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(E);return t?t[1].replace(T,"'"):e}(e)};if(f[t])return{isToken:!0,value:e};if(t.match(k))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});s.localize.preprocessor&&(d=s.localize.preprocessor(c,d));let h={firstWeekContainsDate:l,weekStartsOn:u,locale:s};return d.map(n=>{if(!n.isToken)return n.value;let i=n.value;(!r?.useAdditionalWeekYearTokens&&(0,b.Do)(i)||!r?.useAdditionalDayOfYearTokens&&(0,b.Iu)(i))&&(0,b.DD)(i,t,String(e));let a=f[i[0]];return a(c,i,s.localize,h)}).join("")}},33143:function(e,t,r){"use strict";r.d(t,{l:function(){return l}});var n=r(86012),i=r(83628),a=r(26843),o=r(26966),s=r(32612);function l(e,t){let r=(0,s.Q)(e,t?.in),l=+(0,i.T)(r)-+function(e,t){let r=(0,o.L)(e,t),n=(0,a.L)(t?.in||e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),(0,i.T)(n)}(r);return Math.round(l/n.jE)+1}},26966:function(e,t,r){"use strict";r.d(t,{L:function(){return o}});var n=r(26843),i=r(83628),a=r(32612);function o(e,t){let r=(0,a.Q)(e,t?.in),o=r.getFullYear(),s=(0,n.L)(r,0);s.setFullYear(o+1,0,4),s.setHours(0,0,0,0);let l=(0,i.T)(s),u=(0,n.L)(r,0);u.setFullYear(o,0,4),u.setHours(0,0,0,0);let c=(0,i.T)(u);return r.getTime()>=l.getTime()?o+1:r.getTime()>=c.getTime()?o:o-1}},11425:function(e,t,r){"use strict";r.d(t,{Q:function(){return u}});var n=r(86012),i=r(53170),a=r(82889),o=r(26843),s=r(41388),l=r(32612);function u(e,t){let r=(0,l.Q)(e,t?.in),u=+(0,i.z)(r,t)-+function(e,t){let r=(0,a.j)(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,l=(0,s.c)(e,t),u=(0,o.L)(t?.in||e,0);u.setFullYear(l,0,n),u.setHours(0,0,0,0);let c=(0,i.z)(u,t);return c}(r,t);return Math.round(u/n.jE)+1}},41388:function(e,t,r){"use strict";r.d(t,{c:function(){return s}});
217var n=r(82889),i=r(26843),a=r(53170),o=r(32612);function s(e,t){let r=(0,o.Q)(e,t?.in),s=r.getFullYear(),l=(0,n.j)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,c=(0,i.L)(t?.in||e,0);c.setFullYear(s+1,0,u),c.setHours(0,0,0,0);let d=(0,a.z)(c,t),h=(0,i.L)(t?.in||e,0);h.setFullYear(s,0,u),h.setHours(0,0,0,0);let p=(0,a.z)(h,t);return+r>=+d?s+1:+r>=+p?s:s-1}},49315:function(e,t,r){"use strict";var n=r(32612);t.Z=function(e,t){return+(0,n.Q)(e)>+(0,n.Q)(t)}},12592:function(e,t,r){"use strict";var n=r(32612);t.Z=function(e,t){return+(0,n.Q)(e)<+(0,n.Q)(t)}},29893:function(e,t,r){"use strict";r.d(t,{K:function(){return a}});var n=r(91771),i=r(2582);function a(e,t,r){let[a,o]=(0,n.d)(r?.in,e,t);return+(0,i.b)(a)==+(0,i.b)(o)}},77269:function(e,t,r){"use strict";r.d(t,{F:function(){return i}});var n=r(91771);function i(e,t,r){let[i,a]=(0,n.d)(r?.in,e,t);return i.getFullYear()===a.getFullYear()}t.Z=i},54487:function(e,t,r){"use strict";var n=r(26843),i=r(50040),a=r(29893);t.Z=function(e,t){return(0,a.K)((0,n.L)(t?.in||e,e),(0,i.y)(t?.in||e))}},55296:function(e,t,r){"use strict";var n=r(21860),i=r(50040),a=r(29893);t.Z=function(e,t){return(0,a.K)(e,(0,n.E)((0,i.y)(t?.in||e),1),t)}},98360:function(e,t,r){"use strict";r.d(t,{Z:function(){return a},J:function(){return i}});var n=r(32612);function i(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,n.Q)(e)))}var a=i},38888:function(e,t,r){"use strict";function n(e){return (t={})=>{let r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}r.d(t,{l:function(){return n}})},56003:function(e,t,r){"use strict";function n(e){return(t,r)=>{let n;let i=r?.context?String(r.context):"standalone";if("formatting"===i&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=r?.width?String(r.width):t;n=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=r?.width?String(r.width):e.defaultWidth;n=e.values[i]||e.values[t]}let a=e.argumentCallback?e.argumentCallback(t):t;return n[a]}}r.d(t,{Y:function(){return n}})},3542:function(e,t,r){"use strict";function n(e){return(t,r={})=>{let n;let i=r.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;let s=o[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}(l,e=>e.test(s)):function(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}(l,e=>e.test(s));n=e.valueCallback?e.valueCallback(u):u,n=r.valueCallback?r.valueCallback(n):n;let c=t.slice(s.length);return{value:n,rest:c}}}r.d(t,{t:function(){return n}})},16697:function(e,t,r){"use strict";function n(e){return(t,r={})=>{let n=t.match(e.matchPattern);if(!n)return null;let i=n[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];o=r.valueCallback?r.valueCallback(o):o;let s=t.slice(i.length);return{value:o,rest:s}}}r.d(t,{y:function(){return n}})},70684:function(e,t,r){"use strict";r.d(t,{_:function(){return h}});let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var i=r(38888);let a={date:(0,i.l)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.l)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.l)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var s=r(56003);let l={ordinalNumber:(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:(0,s.Y)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,s.Y)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.Y)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,s.Y)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
217ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,s.Y)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};var u=r(3542),c=r(16697);let d={ordinalNumber:(0,c.y)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.t)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,u.t)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.t)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,u.t)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.t)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},h={code:"en-US",formatDistance:(e,t,r)=>{let i;let a=n[e];return(i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),r?.addSuffix)?r.comparison&&r.comparison>0?"in "+i:i+" ago":i},formatLong:a,formatRelative:(e,t,r,n)=>o[e],localize:l,match:d,options:{weekStartsOn:0,firstWeekContainsDate:1}}},6603:function(e,t,r){"use strict";r.d(t,{nl:function(){return h}});let n={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}};var i=r(38888);let a={date:(0,i.l)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},defaultWidth:"full"}),time:(0,i.l)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.l)({formats:{full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"};var s=r(56003);let l={ordinalNumber:(e,t)=>{let r=Number(e);return r+"e"},era:(0,s.Y)({values:{narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},defaultWidth:"wide"}),quarter:(0,s.Y)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.Y)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,s.Y)({values:{narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},defaultWidth:"wide"}),dayPeriod:(0,s.Y)({values:{narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},defaultWidth:"wide"})};var u=r(3542),c=r(16697);let d={ordinalNumber:(0,c.y)({matchPattern:/^(\d+)e?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.t)({matchPatterns:{narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/,/^n/]},defaultParseWidth:"any"}),quarter:(0,u.t)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.t)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},defaultParseWidth:"any"}),day:(0,u.t)({matchPatterns:{narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.t)({matchPatterns:{any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},defaultParseWidth:"any"})},h={code:"nl",formatDistance:(e,t,r)=>{let i;let a=n[e];return(i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",String(t)),r?.addSuffix)?r.comparison&&r.comparison>0?"over "+i:i+" geleden":i},formatLong:a,formatRelative:(e,t,r,n)=>o[e],localize:l,match:d,options:{weekStartsOn:1,firstWeekContainsDate:4}}},2582:function(e,t,r){"use strict";r.d(t,{b:function(){return i}});var n=r(32612);function i(e,t){let r=(0,n.Q)(e,t?.in);return r.setHours(0,0,0,0),r}},83628:function(e,t,r){"use strict";r.d(t,{T:function(){return i}});var n=r(53170);function i(e,t){return(0,n.z)(e,{...t,weekStartsOn:1}
217)}},53170:function(e,t,r){"use strict";r.d(t,{z:function(){return a}});var n=r(82889),i=r(32612);function a(e,t){let r=(0,n.j)(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=(0,i.Q)(e,t?.in),s=o.getDay();return o.setDate(o.getDate()-((s<a?7:0)+s-a)),o.setHours(0,0,0,0),o}t.Z=a},57783:function(e,t,r){"use strict";r.d(t,{k:function(){return i}});var n=r(21860);function i(e,t,r){return(0,n.E)(e,-t,r)}t.Z=i},32612:function(e,t,r){"use strict";r.d(t,{Q:function(){return i}});var n=r(26843);function i(e,t){return(0,n.L)(t||e,e)}t.Z=i},37864:function(e,t,r){"use strict";r.d(t,{h:function(){return u}});let n=/\r\n|[\n\r]/g;function i(e,t){let r=0,i=1;for(let a of e.body.matchAll(n)){if("number"==typeof a.index||function(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}(!1),a.index>=t)break;r=a.index+a[0].length,i+=1}return{line:i,column:t+1-r}}function a(e,t){let r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,a=e.locationOffset.line-1,s=t.line+a,l=1===t.line?r:0,u=t.column+l,c=`${e.name}:${s}:${u}
218`,d=n.split(/\r\n|[\n\r]/g),h=d[i];if(h.length>120){let e=Math.floor(u/80),t=u%80,r=[];for(let e=0;e<h.length;e+=80)r.push(h.slice(e,e+80));return c+o([[`${s} |`,r[0]],...r.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",r[e+1]]])}return c+o([[`${s-1} |`,d[i-1]],[`${s} |`,h],["|","^".padStart(u)],[`${s+1} |`,d[i+1]]])}function o(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}class s extends Error{constructor(e,...t){var r,n,a,o;let{nodes:u,source:c,positions:d,path:h,originalError:p,extensions:f}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=h?h:void 0,this.originalError=null!=p?p:void 0,this.nodes=l(Array.isArray(u)?u:u?[u]:void 0);let m=l(null===(r=this.nodes)||void 0===r?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=c?c:null==m?void 0:null===(n=m[0])||void 0===n?void 0:n.source,this.positions=null!=d?d:null==m?void 0:m.map(e=>e.start),this.locations=d&&c?d.map(e=>i(c,e)):null==m?void 0:m.map(e=>i(e.source,e.start));let g="object"==typeof(o=null==p?void 0:p.extensions)&&null!==o?null==p?void 0:p.extensions:void 0;this.extensions=null!==(a=null!=f?f:g)&&void 0!==a?a:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=p&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,s):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes){for(let r of this.nodes)if(r.loc){var t;e+="\n\n"+a((t=r.loc).source,i(t.source,t.start))}}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+a(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function l(e){return void 0===e||0===e.length?void 0:e}function u(e,t,r){return new s(`Syntax Error: ${r}`,{source:e,positions:[t]})}},37826:function(e,t,r){"use strict";function n(e,t){if(!e)throw Error(t)}r.d(t,{a:function(){return n}})},25821:function(e,t,r){"use strict";function n(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t))return function(t,r){if(0===t.length)return"[]";if(r.length>2)return"[Array]";let n=Math.min(10,t.length),i=t.length-n,a=[];for(let i=0;i<n;++i)a.push(e(t[i],r));return 1===i?a.push("... 1 more item"):i>1&&a.push(`... ${i} more items`),"["+a.join(", ")+"]"}(t,n);return function(t,r){let n=Object.entries(t);if(0===n.length)return"{}";if(r.length>2)return"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(t)+"]";let i=n.map(([t,n])=>t+": "+e(n,r));return"{ "+i.join(", ")+" }"}(t,n)}(t,r);default:return String(t)}}(e,[])}r.d(t,{X:function(){return n}})},72380:function(e,t,r){"use strict";var n,i;r.d(t,{UG:function(){return u},WU:function(){return o},Ye:function(){return a},h8:function(){return s},ku:function(){return n}});class a{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,r,n,i,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let s={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
218Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},l=new Set(Object.keys(s));function u(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&l.has(t)}(i=n||(n={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"},87392:function(e,t,r){"use strict";r.d(t,{LZ:function(){return a},wv:function(){return i}});var n=r(68297);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,a=null,o=-1;for(let t=0;t<e.length;++t){let s=e[t],l=function(e){let t=0;for(;t<e.length&&(0,n.FD)(e.charCodeAt(t));)++t;return t}(s);l!==s.length&&(a=null!==(r=a)&&void 0!==r?r:t,o=t,0!==t&&l<i&&(i=l))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!==(t=a)&&void 0!==t?t:0,o+1)}function a(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),a=1===i.length,o=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.FD)(e.charCodeAt(0))),s=r.endsWith('\\"""'),l=e.endsWith('"')&&!s,u=e.endsWith("\\"),c=l||u,d=!(null!=t&&t.minimize)&&(!a||e.length>70||c||o||s),h="",p=a&&(0,n.FD)(e.charCodeAt(0));return(d&&!p||o)&&(h+="\n"),h+=r,(d||c)&&(h+="\n"),'"""'+h+'"""'}},68297:function(e,t,r){"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function a(e){return e>=97&&e<=122||e>=65&&e<=90}function o(e){return a(e)||95===e}function s(e){return a(e)||i(e)||95===e}r.d(t,{FD:function(){return n},HQ:function(){return s},LQ:function(){return o},X1:function(){return i}})},97359:function(e,t,r){"use strict";var n,i;r.d(t,{h:function(){return n}}),(i=n||(n={})).NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",i.TYPE_COORDINATE="TypeCoordinate",i.MEMBER_COORDINATE="MemberCoordinate",i.ARGUMENT_COORDINATE="ArgumentCoordinate",i.DIRECTIVE_COORDINATE="DirectiveCoordinate",i.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"},92105:function(e,t,r){"use strict";r.d(t,{hW:function(){return l},u2:function(){return u}});var n=r(37864),i=r(72380),a=r(87392),o=r(68297),s=r(74635);class l{constructor(e){let t=new i.WU(s.T.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;let e=this.token=this.lookahead();return e}lookahead(){let e=this.token;if(e.kind!==s.T.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,i=r.length,l=t;for(;
218l<i;){let t=r.charCodeAt(l);switch(t){case 65279:case 9:case 32:case 44:++l;continue;case 10:++l,++e.line,e.lineStart=l;continue;case 13:10===r.charCodeAt(l+1)?l+=2:++l,++e.line,e.lineStart=l;continue;case 35:return function(e,t){let r=e.source.body,n=r.length,i=t+1;for(;i<n;){let e=r.charCodeAt(i);if(10===e||13===e)break;if(c(e))++i;else if(d(r,i))i+=2;else break}return m(e,s.T.COMMENT,t,i,r.slice(t+1,i))}(e,l);case 33:return m(e,s.T.BANG,l,l+1);case 36:return m(e,s.T.DOLLAR,l,l+1);case 38:return m(e,s.T.AMP,l,l+1);case 40:return m(e,s.T.PAREN_L,l,l+1);case 41:return m(e,s.T.PAREN_R,l,l+1);case 46:if(46===r.charCodeAt(l+1)&&46===r.charCodeAt(l+2))return m(e,s.T.SPREAD,l,l+3);break;case 58:return m(e,s.T.COLON,l,l+1);case 61:return m(e,s.T.EQUALS,l,l+1);case 64:return m(e,s.T.AT,l,l+1);case 91:return m(e,s.T.BRACKET_L,l,l+1);case 93:return m(e,s.T.BRACKET_R,l,l+1);case 123:return m(e,s.T.BRACE_L,l,l+1);case 124:return m(e,s.T.PIPE,l,l+1);case 125:return m(e,s.T.BRACE_R,l,l+1);case 34:if(34===r.charCodeAt(l+1)&&34===r.charCodeAt(l+2))return function(e,t){let r=e.source.body,i=r.length,o=e.lineStart,l=t+3,u=l,h="",p=[];for(;l<i;){let i=r.charCodeAt(l);if(34===i&&34===r.charCodeAt(l+1)&&34===r.charCodeAt(l+2)){h+=r.slice(u,l),p.push(h);let n=m(e,s.T.BLOCK_STRING,t,l+3,(0,a.wv)(p).join("\n"));return e.line+=p.length-1,e.lineStart=o,n}if(92===i&&34===r.charCodeAt(l+1)&&34===r.charCodeAt(l+2)&&34===r.charCodeAt(l+3)){h+=r.slice(u,l),u=l+1,l+=4;continue}if(10===i||13===i){h+=r.slice(u,l),p.push(h),13===i&&10===r.charCodeAt(l+1)?l+=2:++l,h="",u=l,o=l;continue}if(c(i))++l;else if(d(r,l))l+=2;else throw(0,n.h)(e.source,l,`Invalid character within String: ${f(e,l)}.`)}throw(0,n.h)(e.source,l,"Unterminated string.")}(e,l);return function(e,t){let r=e.source.body,i=r.length,a=t+1,o=a,l="";for(;a<i;){let i=r.charCodeAt(a);if(34===i)return l+=r.slice(o,a),m(e,s.T.STRING,t,a+1,l);if(92===i){l+=r.slice(o,a);let t=117===r.charCodeAt(a+1)?123===r.charCodeAt(a+2)?function(e,t){let r=e.source.body,i=0,a=3;for(;a<12;){let e=r.charCodeAt(t+a++);if(125===e){if(a<5||!c(i))break;return{value:String.fromCodePoint(i),size:a}}if((i=i<<4|y(e))<0)break}throw(0,n.h)(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+a)}".`)}(e,a):function(e,t){let r=e.source.body,i=v(r,t+2);if(c(i))return{value:String.fromCodePoint(i),size:6};if(h(i)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){let e=v(r,t+8);if(p(e))return{value:String.fromCodePoint(i,e),size:12}}throw(0,n.h)(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}(e,a):function(e,t){let r=e.source.body,i=r.charCodeAt(t+1);switch(i){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"	",size:2}}throw(0,n.h)(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}(e,a);l+=t.value,a+=t.size,o=a;continue}if(10===i||13===i)break;if(c(i))++a;else if(d(r,a))a+=2;else throw(0,n.h)(e.source,a,`Invalid character within String: ${f(e,a)}.`)}throw(0,n.h)(e.source,a,"Unterminated string.")}(e,l)}if((0,o.X1)(t)||45===t)return function(e,t,r){let i=e.source.body,a=t,l=r,u=!1;if(45===l&&(l=i.charCodeAt(++a)),48===l){if(l=i.charCodeAt(++a),(0,o.X1)(l))throw(0,n.h)(e.source,a,`Invalid number, unexpected digit after 0: ${f(e,a)}.`)}else a=g(e,a,l),l=i.charCodeAt(a);if(46===l&&(u=!0,l=i.charCodeAt(++a),a=g(e,a,l),l=i.charCodeAt(a)),(69===l||101===l)&&(u=!0,(43===(l=i.charCodeAt(++a))||45===l)&&(l=i.charCodeAt(++a)),a=g(e,a,l),l=i.charCodeAt(a)),46===l||(0,o.LQ)(l))throw(0,n.h)(e.source,a,`Invalid number, expected digit but got: ${f(e,a)}.`);return m(e,u?s.T.FLOAT:s.T.INT,t,a,i.slice(t,a))}(e,l,t);if((0,o.LQ)(t))return function(e,t){let r=e.source.body,n=r.length,i=t+1;for(;i<n;){let e=r.charCodeAt(i);if((0,o.HQ)(e))++i;else break}return m(e,s.T.NAME,t,i,r.slice(t,i))}(e,l);throw(0,n.h)(e.source,l,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":c(t)||d(r,l)?`Unexpected character: ${f(e,l)}.`:`Invalid character: ${f(e,l)}.`)}return m(e,s.T.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.T.COMMENT);return e}}function u(e){return e===s.T.BANG||e===s.T.DOLLAR||e===s.T.AMP||e===s.T.PAREN_L||e===s.T.PAREN_R||e===s.T.DOT||e===s.T.SPREAD||e===s.T.COLON||e===s.T.EQUALS||e===s.T.AT||e===s.T.BRACKET_L||e===s.T.BRACKET_R||e===s.T.BRACE_L||e===s.T.PIPE||e===s.T.BRACE_R}function c(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function d(e,t){return h(e.charCodeAt(t))&&p(e.charCodeAt(t+1))}function h(e){return e>=55296&&e<=56319}function p(e){return e>=56320&&e<=57343}function f(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return s.T.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function m(e,t,r,n,a){let o=e.line,s=1+r-e.lineStart;return new i.WU(t,r,n,o,s,a)}function g(e,t,r){if(!(0,o.X1)(r))throw(0,n.h)(e.source,t,`Invalid number, expected digit but got: ${f(e,t)}.`);let i=e.source.body,a=t+1;for(;(0,o.X1)(i.charCodeAt(a));)++a;return a}function v(e,t){return y(e.charCodeAt(t))<<12|y(e.charCodeAt(t+1))<<8|y(e.charCodeAt(t+2))<<4|y(e.charCodeAt(t+3))}function y(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}},62938:function(e,t,r){"use strict";r.d(t,{S:function(){return h}});var n=r(87392);let i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(e){return o[e.charCodeAt(0)]}let o=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var s=r(37826),l=r(25821),u=r(72380),c=r(97359);let d=Object.freeze({});function h(e){return function(e,t,r=u.h8){let n,i,a;let o=new Map;for(let e of Object.values(c.h))o.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let h=Array.isArray(e),p=[e],f=-1,m=[],g=e,v=[],y=[];do{var b,S,w;let e;f++;let c=f===p.length,x=c&&0!==m.length;if(c){if(i=0===y.length?void 0:v[v.length-1],g=a,a=y.pop(),x){if(h){g=g.slice();let e=0;for(let[t,r]of m){let n=t-e;null===r?(g.splice(n,1),e++):g[n]=r}}else for(let[e,t]of(g={...g},m))g[e]=t}f=n.index,p=n.keys,m=n.edits,h=n.inArray,n=n.prev}else if(a){if(null==(g=a[i=h?f:p[f]]))continue;v.push(i)}if(!Array.isArray(g)){(0,u.UG)(g)||(0,s.a)(!1,`Invalid AST Node: ${(0,l.X)(g)}.`);let r=c?null===(b=o.get(g.kind))||void 0===b?void 0:b.leave:null===(S=o.get(g.kind))||void 0===S?void 0:S.enter;if((e=null==r?void 0:r.call(t,g,i,a,v,y))===d)break;if(!1===e){if(!c){v.pop();continue}}
218else if(void 0!==e&&(m.push([i,e]),!c)){if((0,u.UG)(e))g=e;else{v.pop();continue}}}void 0===e&&x&&m.push([i,g]),c?v.pop():(n={inArray:h,index:f,keys:p,edits:m,prev:n},p=(h=Array.isArray(g))?g:null!==(w=r[g.kind])&&void 0!==w?w:[],f=-1,m=[],a&&y.push(a),a=g)}while(void 0!==n);return 0!==m.length?m[m.length-1][1]:e}(e,p)}let p={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>f(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=y(e.variableDefinitions)?g("(\n",f(e.variableDefinitions,"\n"),"\n)"):g("(",f(e.variableDefinitions,", "),")"),r=g("",e.description,"\n")+f([e.operation,f([e.name,t]),f(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n,description:i})=>g("",i,"\n")+e+": "+t+g(" = ",r)+g(" ",f(n," "))},SelectionSet:{leave:({selections:e})=>m(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let a=g("",e,": ")+t,o=a+g("(",f(r,", "),")");return o.length>80&&(o=a+g("(\n",v(f(r,"\n")),"\n)")),f([o,f(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+g(" ",f(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>f(["...",g("on ",e),f(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i,description:a})=>g("",a,"\n")+`fragment ${e}${g("(",f(r,", "),")")} `+`on ${t} ${g("",f(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,n.LZ)(e):`"${e.replace(i,a)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+f(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+f(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+g("(",f(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>g("",e,"\n")+f(["schema",f(t," "),m(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>g("",e,"\n")+f(["scalar",t,f(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>g("",e,"\n")+f(["type",t,g("implements ",f(r," & ")),f(n," "),m(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>g("",e,"\n")+t+(y(r)?g("(\n",v(f(r,"\n")),"\n)"):g("(",f(r,", "),")"))+": "+n+g(" ",f(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>g("",e,"\n")+f([t+": "+r,g("= ",n),f(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>g("",e,"\n")+f(["interface",t,g("implements ",f(r," & ")),f(n," "),m(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>g("",e,"\n")+f(["union",t,f(r," "),g("= ",f(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>g("",e,"\n")+f(["enum",t,f(r," "),m(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>g("",e,"\n")+f([t,f(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>g("",e,"\n")+f(["input",t,f(r," "),m(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>g("",e,"\n")+"directive @"+t+(y(r)?g("(\n",v(f(r,"\n")),"\n)"):g("(",f(r,", "),")"))+(n?" repeatable":"")+" on "+f(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>f(["extend schema",f(e," "),m(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>f(["extend scalar",e,f(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>f(["extend type",e,g("implements ",f(t," & ")),f(r," "),m(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>f(["extend interface",e,g("implements ",f(t," & ")),f(r," "),m(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>f(["extend union",e,f(t," "),g("= ",f(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>f(["extend enum",e,f(t," "),m(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>f(["extend input",e,f(t," "),m(r)]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>f([e,g(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:r})=>f([e,g(".",t),g("(",r,":)")])},DirectiveCoordinate:{leave:({name:e})=>f(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>f(["@",e,g("(",t,":)")])}};function f(e,t=""){var r;return null!==(r=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==r?r:""}function m(e){return g("{\n",v(f(e,"\n")),"\n}")}function g(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function v(e){return g("  ",e.replace(/\n/g,"\n  "))}function y(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}},51270:function(e,t,r){"use strict";r.d(t,{H:function(){return s},T:function(){return l}});var n=r(37826),i=r(25821);let a=globalThis.process&&!0,o=a?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;
218if("object"==typeof e&&null!==e){var r;let n=t.prototype[Symbol.toStringTag],a=Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(r=e.constructor)||void 0===r?void 0:r.name;if(n===a){let t=(0,i.X)(e);throw Error(`Cannot use ${n} "${t}" from another module or realm.
219
220Ensure that there is only one instance of "graphql" in the node_modules
221directory. If different versions of "graphql" are the dependencies of other
222relied on modules, use "resolutions" to ensure only one version is installed.
223
224https://yarnpkg.com/en/docs/selective-version-resolutions
225
226Duplicate "graphql" modules cannot be used at the same time since different
227versions may have different capabilities and behavior. The data from one
228version used in the function from another could produce confusing and
229spurious results.`)}}return!1};class s{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,n.a)(!1,`Body must be a string. Received: ${(0,i.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,n.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,n.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function l(e){return o(e,s)}},74635:function(e,t,r){"use strict";var n,i;r.d(t,{T:function(){return n}}),(i=n||(n={})).SOF="<SOF>",i.EOF="<EOF>",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.DOT=".",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment"},84183:function(e,t,r){"use strict";r.d(t,{A:function(){return s}});var n=r(87392),i=r(92105),a=r(51270),o=r(74635);function s(e){let t=(0,a.T)(e)?e:new a.H(e),r=t.body,s=new i.hW(t),l="",u=!1;for(;s.advance().kind!==o.T.EOF;){let e=s.token,t=e.kind,a=!(0,i.u2)(e.kind);u&&(a||e.kind===o.T.SPREAD)&&(l+=" ");let c=r.slice(e.start,e.end);t===o.T.BLOCK_STRING?l+=(0,n.LZ)(e.value,{minimize:!0}):l+=c,u=a}return l}},18357:function(e,t,r){"use strict";r.d(t,{YD:function(){return u}});var n=r(67294),i=Object.defineProperty,a=new Map,o=new WeakMap,s=0,l=void 0;function u({threshold:e,delay:t,trackVisibility:r,rootMargin:i,root:u,triggerOnce:c,skip:d,initialInView:h,fallbackInView:p,onChange:f}={}){var m;let[g,v]=n.useState(null),y=n.useRef(f),[b,S]=n.useState({inView:!!h,entry:void 0});y.current=f,n.useEffect(()=>{let n;if(!d&&g)return n=function(e,t,r={},n=l){if(void 0===window.IntersectionObserver&&void 0!==n){let i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:u,elements:c}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?(r=e.root)?(o.has(r)||(s+=1,o.set(r,s.toString())),o.get(r)):"0":e[t]}`}).toString(),r=a.get(t);if(!r){let n;let i=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{var r;let a=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(r=i.get(t.target))||r.forEach(e=>{e(a,t)})})},e);n=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:o,elements:i},a.set(t,r)}return r}(r),d=c.get(e)||[];return c.has(e)||c.set(e,d),d.push(t),u.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(c.delete(e),u.unobserve(e)),0===c.size&&(u.disconnect(),a.delete(i))}}(g,(e,t)=>{S({inView:e,entry:t}),y.current&&y.current(e,t),t.isIntersecting&&c&&n&&(n(),n=void 0)},{root:u,rootMargin:i,threshold:e,trackVisibility:r,delay:t},p),()=>{n&&n()}},[Array.isArray(e)?e.toString():e,g,u,i,c,d,r,p,t]);let w=null==(m=b.entry)?void 0:m.target,x=n.useRef(void 0);g||!w||c||d||x.current===w||(x.current=w,S({inView:!!h,entry:void 0}));let E=[v,b.inView,b.entry];return E.ref=E[0],E.inView=E[1],E.entry=E[2],E}
229n.Component},97582:function(e,t,r){"use strict";r.d(t,{Jh:function(){return a},ev:function(){return o},mG:function(){return i},pi:function(){return n}});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t,r,n){return new(r||(r=Promise))(function(i,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(o,s)}l((n=n.apply(e,t||[])).next())})}function a(e,t){var r,n,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function o(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},37911:function(e,t,r){"use strict";var n,i;function a(e,t,r){function n(r,n){if(r._zod||Object.defineProperty(r,"_zod",{value:{def:n,constr:o,traits:new Set},enumerable:!1}),r._zod.traits.has(e))return;r._zod.traits.add(e),t(r,n);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in r||(r[t]=i[t].bind(r))}}let i=r?.Parent??Object;class a extends i{}function o(e){var t;let i=r?.Parent?new a:this;for(let r of(n(i,e),(t=i._zod).deferred??(t.deferred=[]),i._zod.deferred))r();return i}return Object.defineProperty(a,"name",{value:e}),Object.defineProperty(o,"init",{value:n}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>!!r?.Parent&&t instanceof r.Parent||t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}r.d(t,{o4:function(){return rR},IX:function(){return r9},O7:function(){return r3},Km:function(){return ni},i0:function(){return no},Rx:function(){return rQ},Ry:function(){return ne},Z_:function(){return rI},_4:function(){return r5}}),Symbol("zod_brand");class o extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class s extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}(n=globalThis).__zod_globalConfig??(n.__zod_globalConfig={});let l=globalThis.__zod_globalConfig;function u(e){return e&&Object.assign(l,e),l}let c=/^[cC][0-9a-z]{6,}$/,d=/^[0-9a-z]+$/,h=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,p=/^[0-9a-vA-V]{20}$/,f=/^[A-Za-z0-9]{27}$/,m=/^[a-zA-Z0-9_-]{21}$/,g=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,v=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,y=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,b=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,S=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,w=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,x=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,E=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,T=/^$|^(?:[0-9a-zA-Z+/]{4}
229)*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,k=/^[A-Za-z0-9_-]*$/,C=/^https?$/,_=/^\+[1-9]\d{6,14}$/,P="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",A=RegExp(`^${P}$`);function N(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d",r="number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;return r}let I=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return RegExp(`^${t}$`)},R=/^-?\d+$/,O=/^-?\d+(?:\.\d+)?$/,L=/^(?:true|false)$/i,D=/^[^A-Z]*$/,M=/^[^a-z]*$/;function Z(e){let t=Object.values(e).filter(e=>"number"==typeof e),r=Object.entries(e).filter(([e,r])=>-1===t.indexOf(+e)).map(([e,t])=>t);return r}function F(e,t){return"bigint"==typeof t?t.toString():t}function j(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function B(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}let U=Symbol("evaluating");function $(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==U)return void 0===n&&(n=U,n=r()),n},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function V(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function z(...e){let t={};for(let r of e){let e=Object.getOwnPropertyDescriptors(r);Object.assign(t,e)}return Object.defineProperties({},t)}function H(e){return JSON.stringify(e)}let G="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function q(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let K=j(()=>{if(l.jitless||"undefined"!=typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch(e){return!1}});function W(e){if(!1===q(e))return!1;let t=e.constructor;if(void 0===t||"function"!=typeof t)return!0;let r=t.prototype;return!1!==q(r)&&!1!==Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")}function X(e){return W(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}let Y=new Set(["string","number","symbol"]);function J(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Q(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function ee(e){if(!e)return{};if("string"==typeof e)return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");e.error=e.message}return(delete e.message,"string"==typeof e.error)?{...e,error:()=>e.error}:e}let et={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function er(e,t=0){if(!0===e.aborted)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function en(e,t){return t.map(t=>(t.path??(t.path=[]),t.path.unshift(e),t))}function ei(e){return"string"==typeof e?e:e?.message}function ea(e,t,r){let n=e.message?e.message:ei(e.inst?._zod.def?.error?.(e))??ei(t?.error?.(e))??ei(r.customError?.(e))??ei(r.localeError?.(e))??"Invalid input",{inst:i,continue:a,input:o,...s}=e;return s.path??(s.path=[]),s.message=n,t?.reportInput&&(s.input=o),s}function eo(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function es(...e){let[t,r,n]=e;return"string"==typeof t?{message:t,code:"custom",input:r,inst:n}:{...t}}let el=a("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),eu={number:"number",bigint:"bigint",object:"date"},ec=a("$ZodCheckLessThan",(e,t)=>{el.init(e,t);let r=eu[typeof t.value];e._zod.onattach.push(e=>{let r=e._zod.bag,n=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<n&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:"object"==typeof t.value?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),ed=a("$ZodCheckGreaterThan",(e,t)=>{el.init(e,t);let r=eu[typeof t.value];e._zod.onattach.push(e=>{let r=e._zod.bag,n=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>n&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:"object"==typeof t.value?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),eh=a("$ZodCheckMultipleOf",(e,t)=>{el.init(e,t),e._zod.onattach.push(e=>{var r;(r=e._zod.bag).multipleOf??(r.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");let n="bigint"==typeof r.value?r.value%t.value===BigInt(0):0===function(e,t){let r=e/t,n=Math.round(r),i=Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-n)<i?0:r-n}(r.value,t.value);n||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),ep=a("$ZodCheckNumberFormat",(e,t)=>{el.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),n=r?"int":"number",[i,a]=et[t.format];e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,n.minimum=i,n.maximum=a,r&&(n.pattern=R)}),e._zod.check=o=>{let s=o.value;if(r){if(!Number.isInteger(s)){o.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>
2290?o.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:"number",input:s,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:"number",input:s,code:"too_big",maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),ef=a("$ZodCheckMaxLength",(e,t)=>{var r;el.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return null!=t&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{let n=r.value,i=n.length;if(i<=t.maximum)return;let a=eo(n);r.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),em=a("$ZodCheckMinLength",(e,t)=>{var r;el.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return null!=t&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{let n=r.value,i=n.length;if(i>=t.minimum)return;let a=eo(n);r.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),eg=a("$ZodCheckLengthEquals",(e,t)=>{var r;el.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return null!=t&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=r=>{let n=r.value,i=n.length;if(i===t.length)return;let a=eo(n),o=i>t.length;r.issues.push({origin:a,...o?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),ev=a("$ZodCheckStringFormat",(e,t)=>{var r,n;el.init(e,t),e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,t.pattern&&(r.patterns??(r.patterns=new Set),r.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),ey=a("$ZodCheckRegex",(e,t)=>{ev.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),eb=a("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=D),ev.init(e,t)}),eS=a("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=M),ev.init(e,t)}),ew=a("$ZodCheckIncludes",(e,t)=>{el.init(e,t);let r=J(t.includes),n=new RegExp("number"==typeof t.position?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),ex=a("$ZodCheckStartsWith",(e,t)=>{el.init(e,t);let r=RegExp(`^${J(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),eE=a("$ZodCheckEndsWith",(e,t)=>{el.init(e,t);let r=RegExp(`.*${J(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}),eT=a("$ZodCheckOverwrite",(e,t)=>{el.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});class ek{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let t=e.split("\n").filter(e=>e),r=Math.min(...t.map(e=>e.length-e.trimStart().length)),n=t.map(e=>e.slice(r)).map(e=>" ".repeat(2*this.indent)+e);for(let e of n)this.content.push(e)}compile(){let e=Function,t=this?.args,r=this?.content??[""],n=[...r.map(e=>`  ${e}`)];return new e(...t,n.join("\n"))}}let eC=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,F,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},e_=a("$ZodError",eC),eP=a("$ZodError",eC,{Parent:Error}),eA=e=>(t,r,n,i)=>{let a=n?{...n,async:!1}:{async:!1},s=t._zod.run({value:r,issues:[]},a);if(s instanceof Promise)throw new o;
229if(s.issues.length){let t=new(i?.Err??e)(s.issues.map(e=>ea(e,a,u())));throw G(t,i?.callee),t}return s.value},eN=e=>async(t,r,n,i)=>{let a=n?{...n,async:!0}:{async:!0},o=t._zod.run({value:r,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>ea(e,a,u())));throw G(t,i?.callee),t}return o.value},eI=e=>(t,r,n)=>{let i=n?{...n,async:!1}:{async:!1},a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise)throw new o;return a.issues.length?{success:!1,error:new(e??e_)(a.issues.map(e=>ea(e,i,u())))}:{success:!0,data:a.value}},eR=eI(eP),eO=e=>async(t,r,n)=>{let i=n?{...n,async:!0}:{async:!0},a=t._zod.run({value:r,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>ea(e,i,u())))}:{success:!0,data:a.value}},eL=eO(eP),eD={major:4,minor:4,patch:3},eM=a("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=eD;let n=[...e._zod.def.checks??[]];for(let t of(e._zod.traits.has("$ZodCheck")&&n.unshift(e),n))for(let r of t._zod.onattach)r(e);if(0===n.length)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,r)=>{let n,i=er(e);for(let a of t){if(a._zod.def.when){if(function(e,t=0){if(!0===e.aborted)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}(e))continue;let t=a._zod.def.when(e);if(!t)continue}else if(i)continue;let t=e.issues.length,s=a._zod.check(e);if(s instanceof Promise&&r?.async===!1)throw new o;if(n||s instanceof Promise)n=(n??Promise.resolve()).then(async()=>{await s;let r=e.issues.length;r===t||i||(i=er(e,t))});else{let r=e.issues.length;if(r===t)continue;i||(i=er(e,t))}}return n?n.then(()=>e):e},r=(r,i,a)=>{if(er(r))return r.aborted=!0,r;let s=t(i,n,a);if(s instanceof Promise){if(!1===a.async)throw new o;return s.then(t=>e._zod.parse(t,a))}return e._zod.parse(s,a)};e._zod.run=(i,a)=>
229{if(a.skipChecks)return e._zod.parse(i,a);if("backward"===a.direction){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>r(e,i,a)):r(t,i,a)}let s=e._zod.parse(i,a);if(s instanceof Promise){if(!1===a.async)throw new o;return s.then(e=>t(e,n,a))}return t(s,n,a)}}$(e,"~standard",()=>({validate:t=>{try{let r=eR(e,t);return r.success?{value:r.data}:{issues:r.error?.issues}}catch(r){return eL(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}))}),eZ=a("$ZodString",(e,t)=>{eM.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??I(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch(e){}return"string"==typeof r.value||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),eF=a("$ZodStringFormat",(e,t)=>{ev.init(e,t),eZ.init(e,t)}),ej=a("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=v),eF.init(e,t)}),eB=a("$ZodUUID",(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=y(e))}else t.pattern??(t.pattern=y());eF.init(e,t)}),eU=a("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=b),eF.init(e,t)}),e$=a("$ZodURL",(e,t)=>{eF.init(e,t),e._zod.check=r=>{try{let n=r.value.trim();if(!t.normalize&&t.protocol?.source===C.source&&!/^https?:\/\//i.test(n)){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!t.abort});return}let i=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=i.href:r.value=n;return}catch(n){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),eV=a("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),eF.init(e,t)}),ez=a("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=m),eF.init(e,t)}),eH=a("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=c),eF.init(e,t)}),eG=a("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=d),eF.init(e,t)}),eq=a("$ZodULID",(e,t)=>{t.pattern??(t.pattern=h),eF.init(e,t)}),eK=a("$ZodXID",(e,t)=>{t.pattern??(t.pattern=p),eF.init(e,t)}),eW=a("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=f),eF.init(e,t)}),eX=a("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=function(e){let t=N({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${t}(?:${r.join("|")})`;return RegExp(`^${P}T(?:${n})$`)}(t)),eF.init(e,t)}),eY=a("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=A),eF.init(e,t)}),eJ=a("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=RegExp(`^${N(t)}$`)),eF.init(e,t)}),eQ=a("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=g),eF.init(e,t)}),e0=a("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=S),eF.init(e,t),e._zod.bag.format="ipv4"}),e1=a("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=w),eF.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),e2=a("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=x),eF.init(e,t)}),e3=a("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=E),eF.init(e,t),e._zod.check=r=>{let n=r.value.split("/");try{if(2!==n.length)throw Error();let[e,t]=n;if(!t)throw Error();let r=Number(t);if(`${r}`!==t||r<0||r>128)throw Error();new URL(`http://[${e}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function e4(e){if(""===e)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}let e5=a("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=T),eF.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{e4(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}}),e6=a("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=k),eF.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{!function(e){if(!k.test(e))return!1;let t=e.replace(/[-_]/g,e=>"-"===e?"+":"/"),r=t.padEnd(4*Math.ceil(t.length/4),"=");return e4(r)}(r.value)&&r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),e8=a("$ZodE164",(e,t)=>{t.pattern??(t.pattern=_),eF.init(e,t)}),e9=a("$ZodJWT",(e,t)=>{eF.init(e,t),e._zod.check=r=>{!function(e,t=null){try{let r=e.split(".");if(3!==r.length)return!1;let[n]=r;if(!n)return!1;let i=JSON.parse(atob(n));
229if("typ"in i&&i?.typ!=="JWT"||!i.alg||t&&(!("alg"in i)||i.alg!==t))return!1;return!0}catch{return!1}}(r.value,t.alg)&&r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),e7=a("$ZodNumber",(e,t)=>{eM.init(e,t),e._zod.pattern=e._zod.bag.pattern??O,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch(e){}let i=r.value;if("number"==typeof i&&!Number.isNaN(i)&&Number.isFinite(i))return r;let a="number"==typeof i?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...a?{received:a}:{}}),r}}),te=a("$ZodNumberFormat",(e,t)=>{ep.init(e,t),e7.init(e,t)}),tt=a("$ZodBoolean",(e,t)=>{eM.init(e,t),e._zod.pattern=L,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch(e){}let i=r.value;return"boolean"==typeof i||r.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),r}}),tr=a("$ZodUnknown",(e,t)=>{eM.init(e,t),e._zod.parse=e=>e}),tn=a("$ZodNever",(e,t)=>{eM.init(e,t),e._zod.parse=(t,r)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)});function ti(e,t,r){e.issues.length&&t.issues.push(...en(r,e.issues)),t.value[r]=e.value}let ta=a("$ZodArray",(e,t)=>{eM.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},n);s instanceof Promise?a.push(s.then(t=>ti(t,r,e))):ti(s,r,e)}return a.length?Promise.all(a).then(()=>r):r}});function to(e,t,r,n,i,a){let o=r in n;if(e.issues.length){if(i&&a&&!o)return;t.issues.push(...en(r,e.issues))}if(!o&&!i){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}void 0===e.value?o&&(t.value[r]=void 0):t.value[r]=e.value}function ts(e){var t;let r=Object.keys(e.shape);for(let t of r)if(!e.shape?.[t]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${t}": expected a Zod schema`);let n=Object.keys(t=e.shape).filter(e=>"optional"===t[e]._zod.optin&&"optional"===t[e]._zod.optout);return{...e,keys:r,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(n)}}function tl(e,t,r,n,i,a){let o=[],s=i.keySet,l=i.catchall._zod,u=l.def.type,c="optional"===l.optin,d="optional"===l.optout;for(let i in t){if("__proto__"===i||s.has(i))continue;if("never"===u){o.push(i);continue}let a=l.run({value:t[i],issues:[]},n);a instanceof Promise?e.push(a.then(e=>to(e,r,i,t,c,d))):to(a,r,i,t,c,d)}return(o.length&&r.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:a}),e.length)?Promise.all(e).then(()=>r):r}let tu=a("$ZodObject",(e,t)=>{let r;eM.init(e,t);let n=Object.getOwnPropertyDescriptor(t,"shape");if(!n?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let r={...e};return Object.defineProperty(t,"shape",{value:r}),r}})}let i=j(()=>ts(t));$(e._zod,"propValues",()=>{let e=t.shape,r={};for(let t in e){let n=e[t]._zod;if(n.values)for(let e of(r[t]??(r[t]=new Set),n.values))r[t].add(e)}return r});let a=t.catchall;e._zod.parse=(t,n)=>{r??(r=i.value);let o=t.value;if(!q(o))return t.issues.push({expected:"object",code:"invalid_type",input:o,inst:e}),t;t.value={};let s=[],l=r.shape;for(let e of r.keys){let r=l[e],i="optional"===r._zod.optin,a="optional"===r._zod.optout,u=r._zod.run({value:o[e],issues:[]},n);u instanceof Promise?s.push(u.then(r=>to(r,t,e,o,i,a))):to(u,t,e,o,i,a)}return a?tl(s,o,t,n,i.value,e):s.length?Promise.all(s).then(()=>t):t}}),tc=a("$ZodObjectJIT",(e,t)=>{let r,n;tu.init(e,t);let i=e._zod.parse,a=j(()=>ts(t)),o=e=>{let t=new ek(["shape","payload","ctx"]),r=a.value,n=e=>{let t=H(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");let i=Object.create(null),o=0;for(let e of r.keys)i[e]=`key_${o++}`;for(let a of(t.write("const newResult = {};"),r.keys)){let r=i[a],o=H(a),s=e[a],l=s?._zod?.optin==="optional",u=s?._zod?.optout==="optional";t.write(`const ${r} = ${n(a)};`),l&&u?t.write(`
230        if (${r}.issues.length) {
231          if (${o} in input) {
232            payload.issues = payload.issues.concat(${r}.issues.map(iss => ({
233              ...iss,
234              path: iss.path ? [${o}, ...iss.path] : [${o}]
235            })));
236          }
237        }
238        
239        if (${r}.value === undefined) {
240          if (${o} in input) {
241            newResult[${o}] = undefined;
242          }
243        } else {
244          newResult[${o}] = ${r}.value;
245        }
246        
247      `):l?t.write(`
248        if (${r}.issues.length) {
249          payload.issues = payload.issues.concat(${r}.issues.map(iss => ({
250            ...iss,
251            path: iss.path ? [${o}, ...iss.path] : [${o}]
252          })));
253        }
254        
255        if (${r}.value === undefined) {
256          if (${o} in input) {
257            newResult[${o}] = undefined;
258          }
259        } else {
260          newResult[${o}] = ${r}.value;
261        }
262        
263      `):t.write(`
264        const ${r}_present = ${o} in input;
265        if (${r}.issues.length) {
266          payload.issues = payload.issues.concat(${r}.issues.map(iss => ({
267            ...iss,
268            path: iss.path ? [${o}, ...iss.path] : [${o}]
269          })));
270        }
271        if (!${r}_present && !${r}.issues.length) {
272          payload.issues.push({
273            code: "invalid_type",
274            expected: "nonoptional",
275            input: undefined,
276            path: [${o}]
277          });
278        }
279
280        if (${r}_present) {
281          if (${r}.value === undefined) {
282            newResult[${o}] = undefined;
283          } else {
284            newResult[${o}] = ${r}.value;
285          }
286        }
287
288      `)}t.write("payload.value = newResult;"),t.write("return payload;");let s=t.compile();return(t,r)=>s(e,t,r)},s=!l.jitless,u=s&&K.value,c=t.catchall;e._zod.parse=(l,d)=>{n??(n=a.value);let h=l.value;return q(h)?s&&u&&d?.async===!1&&!0!==d.jitless?(r||(r=o(t.shape)),l=r(l,d),c)?tl([],h,l,d,n,e):l:i(l,d):(l.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),l)}});function td(e,t,r,n){for(let r of e)if(0===r.issues.length)return t.value=r.value,t;let i=e.filter(e=>!er(e));return 1===i.length?(t.value=i[0].value,i[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(e=>e.issues.map(e=>ea(e,n,u())))}),t)}let th=a("$ZodUnion",(e,t)=>{eM.init(e,t),$(e._zod,"optin",()=>t.options.some(e=>"optional"===e._zod.optin)?"optional":void 0),$(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),$(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),$(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>B(e.source)).join("|")})$`)}});let r=1===t.options.length?t.options[0]._zod.run:null;e._zod.parse=(n,i)=>{if(r)return r(n,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:n.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(0===t.issues.length)return t;o.push(t)}}return a?Promise.all(o).then(t=>td(t,n,e,i)):td(o,n,e,i)}}),tp=a("$ZodIntersection",(e,t)=>{eM.init(e,t),e._zod.parse=(e,r)=>{let n=e.value,i=t.left._zod.run({value:n,issues:[]},r),a=t.right._zod.run({value:n,issues:[]},r),o=i instanceof Promise||a instanceof Promise;return o?Promise.all([i,a]).then(([t,r])=>tf(e,t,r)):tf(e,i,a)}});function tf(e,t,r){let n;let i=new Map;for(let r of t.issues)if("unrecognized_keys"===r.code)for(let e of(n??(n=r),r.keys))i.has(e)||i.set(e,{}),i.get(e).l=!0;else e.issues.push(r);for(let t of r.issues)if("unrecognized_keys"===t.code)for(let e of t.keys)i.has(e)||i.set(e,{}),i.get(e).r=!0;else e.issues.push(t);let a=[...i].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&n&&e.issues.push({...n,keys:a}),er(e))return e;let o=function e(t,r){if(t===r||t instanceof Date&&r instanceof Date&&+t==+r)return{valid:!0,data:t};if(W(t)&&W(r)){let n=Object.keys(r),i=Object.keys(t).filter(e=>-1!==n.indexOf(e)),a={...t,...r};for(let n of i){let i=e(t[n],r[n]);if(!i.valid)return{valid:!1,mergeErrorPath:[n,...i.mergeErrorPath]};a[n]=i.data}return{valid:!0,data:a}}if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;i<t.length;i++){let a=t[i],o=r[i],s=e(a,o);if(!s.valid)return{valid:!1,mergeErrorPath:[i,...s.mergeErrorPath]};n.push(s.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}(t.value,r.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}let tm=a("$ZodEnum",(e,t)=>{eM.init(e,t);let r=Z(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=RegExp(`^(${r.filter(e=>Y.has(typeof e)).map(e=>"string"==typeof e?J(e):e.toString()).join("|")})$`),e._zod.parse=(t,i)=>{let a=t.value;return n.has(a)||t.issues.push({code:"invalid_value",values:r,input:a,inst:e}),t}}),tg=a("$ZodLiteral",(e,t)=>{if(eM.init(e,t),0===t.values.length)throw Error("Cannot create literal schema with no valid values");let r=new Set(t.values);e._zod.values=r,e._zod.pattern=RegExp(`^(${t.values.map(e=>"string"==typeof e?J(e):e?J(e.toString()):String(e)).join("|")})$`),e._zod.parse=(n,i)=>{let a=n.value;return r.has(a)||n.issues.push({code:"invalid_value",values:t.values,input:a,inst:e}),n}}),tv=a("$ZodTransform",(e,t)=>{eM.init(e,t),e._zod.optin="optional",e._zod.parse=(r,n)=>{if("backward"===n.direction)throw new s(e.constructor.name);let i=t.transform(r.value,r);if(n.async){let e=i instanceof Promise?i:Promise.resolve(i);return e.then(e=>(r.value=e,r.fallback=!0,r))}if(i instanceof Promise)throw new o;return r.value=i,r.fallback=!0,r}});function ty(e,t){return void 0===t&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}let tb=a("$ZodOptional",(e,t)=>{eM.init(e,t),e._zod.optin="optional",e._zod.optout="optional",$(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),$(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${B(e.source)})?$`):void 0}),e._zod.parse=(e,r)=>{if("optional"===t.innerType._zod.optin){let n=e.value,i=t.innerType._zod.run(e,r);return i instanceof Promise?i.then(e=>
288ty(e,n)):ty(i,n)}return void 0===e.value?e:t.innerType._zod.run(e,r)}}),tS=a("$ZodExactOptional",(e,t)=>{tb.init(e,t),$(e._zod,"values",()=>t.innerType._zod.values),$(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(e,r)=>t.innerType._zod.run(e,r)}),tw=a("$ZodNullable",(e,t)=>{eM.init(e,t),$(e._zod,"optin",()=>t.innerType._zod.optin),$(e._zod,"optout",()=>t.innerType._zod.optout),$(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${B(e.source)}|null)$`):void 0}),$(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,r)=>null===e.value?e:t.innerType._zod.run(e,r)}),tx=a("$ZodDefault",(e,t)=>{eM.init(e,t),e._zod.optin="optional",$(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);if(void 0===e.value)return e.value=t.defaultValue,e;let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(e=>tE(e,t)):tE(n,t)}});function tE(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}let tT=a("$ZodPrefault",(e,t)=>{eM.init(e,t),e._zod.optin="optional",$(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>("backward"===r.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,r))}),tk=a("$ZodNonOptional",(e,t)=>{eM.init(e,t),$(e._zod,"values",()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(r,n)=>{let i=t.innerType._zod.run(r,n);return i instanceof Promise?i.then(t=>tC(t,e)):tC(i,e)}});function tC(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}let t_=a("$ZodCatch",(e,t)=>{eM.init(e,t),e._zod.optin="optional",$(e._zod,"optout",()=>t.innerType._zod.optout),$(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(n=>(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map(e=>ea(e,r,u()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map(e=>ea(e,r,u()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),tP=a("$ZodPipe",(e,t)=>{eM.init(e,t),$(e._zod,"values",()=>t.in._zod.values),$(e._zod,"optin",()=>t.in._zod.optin),$(e._zod,"optout",()=>t.out._zod.optout),$(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,r)=>{if("backward"===r.direction){let n=t.out._zod.run(e,r);return n instanceof Promise?n.then(e=>tA(e,t.in,r)):tA(n,t.in,r)}let n=t.in._zod.run(e,r);return n instanceof Promise?n.then(e=>tA(e,t.out,r)):tA(n,t.out,r)}});function tA(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},r)}let tN=a("$ZodReadonly",(e,t)=>{eM.init(e,t),$(e._zod,"propValues",()=>t.innerType._zod.propValues),$(e._zod,"values",()=>t.innerType._zod.values),$(e._zod,"optin",()=>t.innerType?._zod?.optin),$(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(tI):tI(n)}});function tI(e){return e.value=Object.freeze(e.value),e}let tR=a("$ZodCustom",(e,t)=>{el.init(e,t),eM.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=r=>{let n=r.value,i=t.fn(n);if(i instanceof Promise)return i.then(t=>tO(t,r,n,e));tO(i,r,n,e)}});function tO(e,t,r,n){if(!e){let e={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(e.params=n._zod.def.params),t.issues.push(es(e))}}Symbol("ZodOutput"),Symbol("ZodInput"),(i=globalThis).__zod_globalRegistry??(i.__zod_globalRegistry=new class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let r=t[0];return this._map.set(e,r),r&&"object"==typeof r&&"id"in r&&this._idmap.set(r.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let r={...this.get(t)??{}};delete r.id;let n={...r,...this._map.get(e)};return Object.keys(n).length?n:void 0}return this._map.get(e)}has(e){return this._map.has(e)}});let tL=globalThis.__zod_globalRegistry;function tD(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...ee(t)})}function tM(e,t){return new ec({check:"less_than",...ee(t),value:e,inclusive:!1})}function tZ(e,t){return new ec({check:"less_than",...ee(t),value:e,inclusive:!0})}function tF(e,t){return new ed({check:"greater_than",...ee(t),value:e,inclusive:!1})}function tj(e,t){return new ed({check:"greater_than",...ee(t),value:e,inclusive:!0})}function tB(e,t){return new eh({check:"multiple_of",...ee(t),value:e})}function tU(e,t){let r=new ef({check:"max_length",...ee(t),maximum:e});return r}function t$(e,t){return new em({check:"min_length",...ee(t),minimum:e})}function tV(e,t){return new eg({check:"length_equals",...ee(t),length:e})}function tz(e){return new eT({check:"overwrite",tx:e})}
288function tH(e){let t=e?.target??"draft-2020-12";return"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??tL,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function tG(e,t,r={path:[],schemaPath:[]}){var n;let i=e._zod.def,a=t.seen.get(e);if(a){a.count++;let t=r.schemaPath.includes(e);return t&&(a.cycle=r.path),a.schema}let o={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let n={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,n);else{let r=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,r,n)}let a=e._zod.parent;a&&(o.ref||(o.ref=a),tG(a,t,n),t.seen.get(a).isParent=!0)}let l=t.metadataRegistry.get(e);l&&Object.assign(o.schema,l),"input"===t.io&&function e(t,r){let n=r??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);let i=t._zod.def;if("transform"===i.type)return!0;if("array"===i.type)return e(i.element,n);if("set"===i.type)return e(i.valueType,n);if("lazy"===i.type)return e(i.getter(),n);if("promise"===i.type||"optional"===i.type||"nonoptional"===i.type||"nullable"===i.type||"readonly"===i.type||"default"===i.type||"prefault"===i.type)return e(i.innerType,n);if("intersection"===i.type)return e(i.left,n)||e(i.right,n);if("record"===i.type||"map"===i.type)return e(i.keyType,n)||e(i.valueType,n);if("pipe"===i.type)return!!t._zod.traits.has("$ZodCodec")||e(i.in,n)||e(i.out,n);if("object"===i.type){for(let t in i.shape)if(e(i.shape[t],n))return!0;return!1}if("union"===i.type){for(let t of i.options)if(e(t,n))return!0;return!1}if("tuple"===i.type){for(let t of i.items)if(e(t,n))return!0;if(i.rest&&e(i.rest,n))return!0}return!1}(e)&&(delete o.schema.examples,delete o.schema.default),"input"===t.io&&"_prefault"in o.schema&&((n=o.schema).default??(n.default=o.schema._prefault)),delete o.schema._prefault;let u=t.seen.get(e);return u.schema}function tq(e,t){let r=e.seen.get(t);if(!r)throw Error("Unprocessed schema. This is a bug in Zod.");let n=new Map;for(let t of e.seen.entries()){let r=e.metadataRegistry.get(t[0])?.id;if(r){let e=n.get(r);if(e&&e!==t[0])throw Error(`Duplicate schema id "${r}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(r,t[0])}}let i=t=>{let n="draft-2020-12"===e.target?"$defs":"definitions";if(e.external){let r=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(r)return{ref:i(r)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i("__shared")}#/${n}/${a}`}}if(t[1]===r)return{ref:"#"};let i=`#/${n}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:r,defId:n}=i(e);t.def={...t.schema},n&&(t.defId=n);let a=t.schema;for(let e in a)delete a[e];a.$ref=r};if("throw"===e.cycles)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join("/")}/<root>
289
290Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let r of e.seen.entries()){let n=r[1];if(t===r[0]){a(r);continue}if(e.external){let n=e.external.registry.get(r[0])?.id;if(t!==r[0]&&n){a(r);continue}}let i=e.metadataRegistry.get(r[0])?.id;if(i||n.cycle||n.count>1&&"ref"===e.reused){a(r);continue}}}function tK(e,t){let r=e.seen.get(t);if(!r)throw Error("Unprocessed schema. This is a bug in Zod.");let n=t=>{let r=e.seen.get(t);if(null===r.ref)return;let i=r.def??r.schema,a={...i},o=r.ref;if(r.ref=null,o){n(o);let r=e.seen.get(o),s=r.schema;s.$ref&&("draft-07"===e.target||"draft-04"===e.target||"openapi-3.0"===e.target)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a);let l=t._zod.parent===o;if(l)for(let e in i)"$ref"===e||"allOf"===e||e in a||delete i[e];if(s.$ref&&r.def)for(let e in i)"$ref"!==e&&"allOf"!==e&&e in r.def&&JSON.stringify(i[e])===JSON.stringify(r.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){n(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)"$ref"!==e&&"allOf"!==e&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:r.path??[]})};for(let t of[...e.seen.entries()].reverse())n(t[0]);let i={};
290if("draft-2020-12"===e.target?i.$schema="https://json-schema.org/draft/2020-12/schema":"draft-07"===e.target?i.$schema="http://json-schema.org/draft-07/schema#":"draft-04"===e.target?i.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let r=e.external.registry.get(t)?.id;if(!r)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(r)}Object.assign(i,r.def??r.schema);let a=e.metadataRegistry.get(t)?.id;void 0!==a&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&("draft-2020-12"===e.target?i.$defs=o:i.definitions=o);try{let r=JSON.parse(JSON.stringify(i));return Object.defineProperty(r,"~standard",{value:{...t["~standard"],jsonSchema:{input:tX(t,"input",e.processors),output:tX(t,"output",e.processors)}},enumerable:!1,writable:!1}),r}catch(e){throw Error("Error converting schema to JSON.")}}let tW=(e,t={})=>r=>{let n=tH({...r,processors:t});return tG(e,n),tq(n,e),tK(n,e)},tX=(e,t,r={})=>n=>{let{libraryOptions:i,target:a}=n??{},o=tH({...i??{},target:a,io:t,processors:r});return tG(e,o),tq(o,e),tK(o,e)},tY={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},tJ=(e,t,r,n)=>{r.type="string";let{minimum:i,maximum:a,format:o,patterns:s,contentEncoding:l}=e._zod.bag;if("number"==typeof i&&(r.minLength=i),"number"==typeof a&&(r.maxLength=a),o&&(r.format=tY[o]??o,""===r.format&&delete r.format,"time"===o&&delete r.format),l&&(r.contentEncoding=l),s&&s.size>0){let e=[...s];1===e.length?r.pattern=e[0].source:e.length>1&&(r.allOf=[...e.map(e=>({..."draft-07"===t.target||"draft-04"===t.target||"openapi-3.0"===t.target?{type:"string"}:{},pattern:e.source}))])}},tQ=(e,t,r,n)=>{let{minimum:i,maximum:a,format:o,multipleOf:s,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;"string"==typeof o&&o.includes("int")?r.type="integer":r.type="number";let c="number"==typeof u&&u>=(i??Number.NEGATIVE_INFINITY),d="number"==typeof l&&l<=(a??Number.POSITIVE_INFINITY),h="draft-04"===t.target||"openapi-3.0"===t.target;c?h?(r.minimum=u,r.exclusiveMinimum=!0):r.exclusiveMinimum=u:"number"==typeof i&&(r.minimum=i),d?h?(r.maximum=l,r.exclusiveMaximum=!0):r.exclusiveMaximum=l:"number"==typeof a&&(r.maximum=a),"number"==typeof s&&(r.multipleOf=s)},t0=(e,t,r,n)=>{r.type="boolean"},t1=(e,t,r,n)=>{r.not={}},t2=(e,t,r,n)=>{},t3=(e,t,r,n)=>{let i=e._zod.def,a=Z(i.entries);a.every(e=>"number"==typeof e)&&(r.type="number"),a.every(e=>"string"==typeof e)&&(r.type="string"),r.enum=a},t4=(e,t,r,n)=>{let i=e._zod.def,a=[];for(let e of i.values)if(void 0===e){if("throw"===t.unrepresentable)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof e){if("throw"===t.unrepresentable)throw Error("BigInt literals cannot be represented in JSON Schema");a.push(Number(e))}else a.push(e);if(0===a.length);else if(1===a.length){let e=a[0];r.type=null===e?"null":typeof e,"draft-04"===t.target||"openapi-3.0"===t.target?r.enum=[e]:r.const=e}else a.every(e=>"number"==typeof e)&&(r.type="number"),a.every(e=>"string"==typeof e)&&(r.type="string"),a.every(e=>"boolean"==typeof e)&&(r.type="boolean"),a.every(e=>null===e)&&(r.type="null"),r.enum=a},t5=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")},t6=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema")},t8=(e,t,r,n)=>{let i=e._zod.def,{minimum:a,maximum:o}=e._zod.bag;"number"==typeof a&&(r.minItems=a),"number"==typeof o&&(r.maxItems=o),r.type="array",r.items=tG(i.element,t,{...n,path:[...n.path,"items"]})},t9=(e,t,r,n)=>{let i=e._zod.def;r.type="object",r.properties={};let a=i.shape;for(let e in a)r.properties[e]=tG(a[e],t,{...n,path:[...n.path,"properties",e]});let o=new Set(Object.keys(a)),s=new Set([...o].filter(e=>{let r=i.shape[e]._zod;return"input"===t.io?void 0===r.optin:void 0===r.optout}));s.size>0&&(r.required=Array.from(s)),i.catchall?._zod.def.type==="never"?r.additionalProperties=!1:i.catchall?i.catchall&&(r.additionalProperties=tG(i.cat
290chall,t,{...n,path:[...n.path,"additionalProperties"]})):"output"===t.io&&(r.additionalProperties=!1)},t7=(e,t,r,n)=>{let i=e._zod.def,a=!1===i.inclusive,o=i.options.map((e,r)=>tG(e,t,{...n,path:[...n.path,a?"oneOf":"anyOf",r]}));a?r.oneOf=o:r.anyOf=o},re=(e,t,r,n)=>{let i=e._zod.def,a=tG(i.left,t,{...n,path:[...n.path,"allOf",0]}),o=tG(i.right,t,{...n,path:[...n.path,"allOf",1]}),s=[..."allOf"in a&&1===Object.keys(a).length?a.allOf:[a],..."allOf"in o&&1===Object.keys(o).length?o.allOf:[o]];r.allOf=s},rt=(e,t,r,n)=>{let i=e._zod.def,a=tG(i.innerType,t,n),o=t.seen.get(e);"openapi-3.0"===t.target?(o.ref=i.innerType,r.nullable=!0):r.anyOf=[a,{type:"null"}]},rr=(e,t,r,n)=>{let i=e._zod.def;tG(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType},rn=(e,t,r,n)=>{let i=e._zod.def;tG(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType,r.default=JSON.parse(JSON.stringify(i.defaultValue))},ri=(e,t,r,n)=>{let i=e._zod.def;tG(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType,"input"===t.io&&(r._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},ra=(e,t,r,n)=>{let i;let a=e._zod.def;tG(a.innerType,t,n);let o=t.seen.get(e);o.ref=a.innerType;try{i=a.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}r.default=i},ro=(e,t,r,n)=>{let i=e._zod.def,a=i.in._zod.traits.has("$ZodTransform"),o="input"===t.io?a?i.out:i.in:i.out;tG(o,t,n);let s=t.seen.get(e);s.ref=o},rs=(e,t,r,n)=>{let i=e._zod.def;tG(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType,r.readOnly=!0},rl=(e,t,r,n)=>{let i=e._zod.def;tG(i.innerType,t,n);let a=t.seen.get(e);a.ref=i.innerType},ru=a("ZodISODateTime",(e,t)=>{eX.init(e,t),rR.init(e,t)}),rc=a("ZodISODate",(e,t)=>{eY.init(e,t),rR.init(e,t)}),rd=a("ZodISOTime",(e,t)=>{eJ.init(e,t),rR.init(e,t)}),rh=a("ZodISODuration",(e,t)=>{eQ.init(e,t),rR.init(e,t)}),rp=a("ZodError",(e,t)=>{e_.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>(function(e,t=e=>e.message){let r={_errors:[]},n=(e,i=[])=>{for(let a of e.issues)if("invalid_union"===a.code&&a.errors.length)a.errors.map(e=>n({issues:e},[...i,...a.path]));else if("invalid_key"===a.code)n({issues:a.issues},[...i,...a.path]);else if("invalid_element"===a.code)n({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(0===e.length)r._errors.push(t(a));else{let n=r,i=0;for(;i<e.length;){let r=e[i],o=i===e.length-1;o?(n[r]=n[r]||{_errors:[]},n[r]._errors.push(t(a))):n[r]=n[r]||{_errors:[]},n=n[r],i++}}}};return n(e),r})(e,t)},flatten:{value:t=>(function(e,t=e=>e.message){let r={},n=[];for(let i of e.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):n.push(t(i));return{formErrors:n,fieldErrors:r}})(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,F,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,F,2)}},isEmpty:{get:()=>0===e.issues.length}})},{Parent:Error}),rf=eA(rp),rm=eN(rp),rg=eI(rp),rv=eO(rp),ry=(e,t,r)=>{let n=r?{...r,direction:"backward"}:{direction:"backward"};return eA(rp)(e,t,n)},rb=(e,t,r)=>eA(rp)(e,t,r),rS=async(e,t,r)=>{let n=r?{...r,direction:"backward"}:{direction:"backward"};return eN(rp)(e,t,n)},rw=async(e,t,r)=>eN(rp)(e,t,r),rx=(e,t,r)=>{let n=r?{...r,direction:"backward"}:{direction:"backward"};return eI(rp)(e,t,n)},rE=(e,t,r)=>eI(rp)(e,t,r),rT=async(e,t,r)=>{let n=r?{...r,direction:"backward"}:{direction:"backward"};return eO(rp)(e,t,n)},rk=async(e,t,r)=>eO(rp)(e,t,r),rC=new WeakMap;function r_(e,t,r){let n=Object.getPrototypeOf(e),i=rC.get(n);if(i||(i=new Set,rC.set(n,i)),!i.has(t))for(let e in i.add(t),r){let t=r[e];Object.defineProperty(n,e,{configurable:!0,enumerable:!1,get(){let r=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:r}),r},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}let rP=a("ZodType",(e,t)=>(eM.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:tX(e,"input"),output:tX(e,"output")}}),e.toJSONSchema=tW(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(t,r)=>rf(e,t,r,{callee:e.parse}),e.safeParse=(t,r)=>rg(e,t,r),e.parseAsync=async(t,r)=>rm(e,t,r,{callee:e.parseAsync}),e.safeParseAsync=async(t,r)=>rv(e,t,r),e.spa=e.safeParseAsync,e.encode=(t,r)=>ry(e,t,r),e.decode=(t,r)=>rb(e,t,r),e.encodeAsync=async(t,r)=>rS(e,t,r),e.decodeAsync=async(t,r)=>rw(e,t,r),e.safeEncode=(t,r)=>rx(e,t,r),e.safeDecode=(t,r)=>rE(e,t,r),e.safeEncodeAsync=async(t,r)=>rT(e,t,r),e.safeDecodeAsync=async(t,r)=>rk(e,t,r),r_(e,"ZodType",{check(...e){let t=this.def;return this.clone(z(t,{checks:[...t.checks??[],...e.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)}
290,clone(e,t){return Q(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(function(e,t={}){return function(e,t,r){let n=new e({type:"custom",check:"custom",fn:t,...ee(r)});return n}(nS,e,t)}(e,t))},superRefine(e,t){return this.check(function(e,t){let r=function(e,t){let r=new el({check:"custom",...ee(t)});return r._zod.check=e,r}(t=>(t.addIssue=e=>{"string"==typeof e?t.issues.push(es(e,t.value,r._zod.def)):(e.fatal&&(e.continue=!1),e.code??(e.code="custom"),e.input??(e.input=t.value),e.inst??(e.inst=r),e.continue??(e.continue=!r._zod.def.abort),t.issues.push(es(e)))},e(t.value,t)),t);return r}(e,t))},overwrite(e){return this.check(tz(e))},optional(){return nu(this)},exactOptional(){return new nc({type:"optional",innerType:this})},nullable(){return nh(this)},nullish(){return nu(nh(this))},nonoptional(e){return new nm({type:"nonoptional",innerType:this,...ee(e)})},array(){return r9(this)},or(e){return new nt({type:"union",options:[this,e],...ee(void 0)})},and(e){return new nr({type:"intersection",left:this,right:e})},transform(e){return ny(this,new ns({type:"transform",transform:e}))},default(e){return new np({type:"default",innerType:this,get defaultValue(){return"function"==typeof e?e():X(e)}})},prefault(e){return new nf({type:"prefault",innerType:this,get defaultValue(){return"function"==typeof e?e():X(e)}})},catch(e){return new ng({type:"catch",innerType:this,catchValue:"function"==typeof e?e:()=>e})},pipe(e){return ny(this,e)},readonly(){return new nb({type:"readonly",innerType:this})},describe(e){let t=this.clone();return tL.add(t,{description:e}),t},meta(...e){if(0===e.length)return tL.get(this);let t=this.clone();return tL.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,"description",{get:()=>tL.get(e)?.description,configurable:!0}),e)),rA=a("_ZodString",(e,t)=>{eZ.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>tJ(e,t,r,n);let r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,r_(e,"_ZodString",{regex(...e){return this.check(function(e,t){return new ey({check:"string_format",format:"regex",...ee(t),pattern:e})}(...e))},includes(...e){return this.check(function(e,t){return new ew({check:"string_format",format:"includes",...ee(t),includes:e})}(...e))},startsWith(...e){return this.check(function(e,t){return new ex({check:"string_format",format:"starts_with",...ee(t),prefix:e})}(...e))},endsWith(...e){return this.check(function(e,t){return new eE({check:"string_format",format:"ends_with",...ee(t),suffix:e})}(...e))},min(...e){return this.check(t$(...e))},max(...e){return this.check(tU(...e))},length(...e){return this.check(tV(...e))},nonempty(...e){return this.check(t$(1,...e))},lowercase(e){return this.check(new eb({check:"string_format",format:"lowercase",...ee(e)}))},uppercase(e){return this.check(new eS({check:"string_format",format:"uppercase",...ee(e)}))},trim(){return this.check(tz(e=>e.trim()))},normalize(...e){return this.check(function(e){return tz(t=>t.normalize(e))}(...e))},toLowerCase(){return this.check(tz(e=>e.toLowerCase()))},toUpperCase(){return this.check(tz(e=>e.toUpperCase()))},slugify(){return this.check(tz(e=>e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")))}})}),rN=a("ZodString",(e,t)=>{eZ.init(e,t),rA.init(e,t),e.email=t=>e.check(new rO({type:"string",format:"email",check:"string_format",abort:!1,...ee(t)})),e.url=t=>e.check(new rM({type:"string",format:"url",check:"string_format",abort:!1,...ee(t)})),e.jwt=t=>e.check(new rY({type:"string",format:"jwt",check:"string_format",abort:!1,...ee(t)})),e.emoji=t=>e.check(new rZ({type:"string",format:"emoji",check:"string_format",abort:!1,...ee(t)})),e.guid=t=>e.check(tD(rL,t)),e.uuid=t=>e.check(new rD({type:"string",format:"uuid",check:"string_format",abort:!1,...ee(t)})),e.uuidv4=t=>e.check(new rD({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ee(t)})),e.uuidv6=t=>e.check(new rD({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ee(t)})),e.uuidv7=t=>e.check(new rD({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ee(t)})),e.nanoid=t=>e.check(new rF({type:"string",format:"nanoid",check:"string_format",abort:!1,...ee(t)})),e.guid=t=>e.check(tD(rL,t)),e.cuid=t=>e.check(new rj({type:"string",format:"cuid",check:"string_format",abort:!1,...ee(t)})),e.cuid2=t=>e.check(new rB({type:"string",format:"cuid2",check:"string_format",abort:!1,...ee(t)})),e.ulid=t=>e.check(new rU({type:"string",format:"ulid",check:"string_format",abort:!1,...ee(t)})),e.base64=t=>e.check(new rK({type:"string",format:"base64",check:"string_format",abort:!1,...ee(t)})),e.base64url=t=>e.check(new rW({type:"string",format:"base64url",check:"string_format",abort:!1,...ee(t)})),e.xid=t=>e.check(new r$({type:"string",format:"xid",check:"string_format",abort:!1,...ee(t)})),e.ksuid=t=>e.check(new rV({type:"string",format:"ksuid",check:"string_format",abort:!1,...ee(t)})),e.ipv4=t=>e.check(new rz({type:"string",format:"ipv4",check:"string_format",abort:!1,...ee(t)})),e.ipv6=t=>e.check(new rH({type:"string",format:"ipv6",check:"string_format",abort:!1,...ee(t)})),e.cidrv4=t=>e.check(new rG({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ee(t)})),e.cidrv6=t=>e.check(new rq({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ee(t)})),e.e164=t=>e.check(new rX({type:"string",format:"e164",check:"string_format",abort:!1,...ee(t)})),e.datetime=t=>e.check(new ru({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ee(t)})),e.date=t=>e.check(new rc({type:"string",format:"date",check:"string_format",...ee(t)})),e.time=t=>e.check(new rd({type:"string",format:"time",check:"string_format",precision:null,...ee(t)})),e.duration=t=>e.check(new rh({type:"string",format:"duration",check:"string_format",...ee(t)}))});function rI(e){return new rN({type:"string",...ee(e)})}let rR=a("ZodStringFormat",(e,t)=>{eF.init(e,t),rA.init(e,t)}),rO=a("ZodEmail",(e,t)=>{eU.init(e,t),rR.init(e,t)}),rL=a("ZodGUID",(e,t)=>{ej.init(e,t),rR.init(e,t)}),rD=a("ZodUUID",(e,t)=>{eB.init(e,t),rR.init(e,t)}),rM=a("ZodURL",(e,t)=>{e$.init(e,t),rR.init(e,t)}),rZ=a("ZodEmoji",(e,t)=>{eV.init(e,t),rR.init(e,t)}),rF=a("ZodNanoID",(e,t)=>{ez.init(e,t),rR.init(e,t)}),rj=a("ZodCUID",(e,t)=>{eH.init(e,t),rR.init(e,t)}),rB=a("ZodCUID2",(e,t)=>{eG.init(e,t),rR.init(e,t)}),rU=a("ZodULID",(e,t)=>{eq.init(e,t),rR.init(e,t)}),r$=a("ZodXID",(e,t)=>{eK.init(e,t),rR.init(e,t)}),rV=a("ZodKSUID",(e,t)=>{eW.init(e,t),rR.init(e,t)}),rz=a("ZodIPv4",(e,t)=>{e0.init(e,t),rR.init(e,t)}),rH=a("ZodIPv6",(e,t)=>{e1.init(e,t),rR.init(e,t)}),rG=a("ZodCIDRv4",(e,t)=>{e2.init(e,t),rR.init(e,t)}),rq=a("ZodCIDRv6",(e,t)=>{e3.init(e,t),rR.init(e,t)}),rK=a("ZodBase64",(e,t)=>{e5.init(e,t),rR.init(e,t)}),rW=a("ZodBase64URL",(e,t)=>{e6.init(e,t),rR.init(e,t)}),rX=a("ZodE164",(e,t)=>{e8.init(e,t),rR.init(e,t)}),rY=a("ZodJWT",(e,t)=>{e9.init(e,t),rR.init(e,t)}),rJ=a("ZodNumber",(e,t)=>{e7.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>tQ(e,t,r,n),r_(e,"ZodNumber",{gt(e,t){return this.check(tF(e,t))},gte(e,t){return this.check(tj(e,t))},min(e,t){return this.check(tj(e,t))},lt(e,t){return this.check(tM(e,t))},lte(e,t){return this.check(tZ(e,t))},max(e,t){return this.check(tZ(e,t))},int(e){return this.check(r1(e))},safe(e){return this.check(r1(e))},positive(e){return this.check(tF(0,e))},nonnegative(e){return this.check(tj(0,e))},negative(e){return this.check(tM(0,e))},nonpositive(e){return this.check(tZ(0,e))},multipleOf(e,t){return this.check(tB(e,t))},step(e,t){return this.check(tB(e,t))},finite(){return this}});let r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function rQ(e){return new rJ({type:"number",checks:[],...ee(e)})}let r0=a("ZodNumberFormat",(e,t)=>{te.init(e,t),rJ.init(e,t)});function r1(e){return new r0({type:"number",check:"number_format",abort:!1,format:"safeint",...ee(e)})}let r2=a("ZodBoolean",(e,t)=>{tt.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>t0(e,t,r,n)});function r3(e){return new r2({type:"boolean",...ee(e)})}let r4=a("ZodUnknown",(e,t)=>{tr.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>t2(e,t,r,n)});function r5(){return new r4({type:"unknown"})}let r6=a("ZodNever",(e,t)=>{tn.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>t1(e,t,r,n)}),r8=a("ZodArray",(e,t)=>{ta.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>t8(e,t,r,n),e.element=t.element,r_(e,"ZodArray",{min(e,t){return this.check(t$(e,t))},nonempty(e){return this.check(t$(1,e))},max(e,t){return this.check(tU(e,t))},length(e,t){return this.check(tV(e,t))},unwrap(){return this.element}})});function r9(e,t){return new r8({type:"array",element:e,...ee(t)})}let r7=a("ZodObject",(e,t)=>{tc.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>t9(e,t,r,n),$(e,"shape",()=>t.shape),r_(e,"ZodObject",{keyof(){return ni(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:r5()})},loose(){return this.clone({...this._zod.def,catchall:r5()})},strict(){return this.clone({...this._zod.def,catchall:new r6({type:"never",...ee(void 0)})})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return function(e,t){if(!W(t))throw Error("Invalid input to extend: expected a plain object");let r=e._zod.def.checks,n=r&&r.length>0;if(n){let r=e._zod.def.shape;for(let e in t)if(void 0!==Object.getOwnPropertyDescriptor(r,e))throw Error("Cannot over
290write keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let i=z(e._zod.def,{get shape(){let r={...e._zod.def.shape,...t};return V(this,"shape",r),r}});return Q(e,i)}(this,e)},safeExtend(e){return function(e,t){if(!W(t))throw Error("Invalid input to safeExtend: expected a plain object");let r=z(e._zod.def,{get shape(){let r={...e._zod.def.shape,...t};return V(this,"shape",r),r}});return Q(e,r)}(this,e)},merge(e){return function(e,t){if(e._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let r=z(e._zod.def,{get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return V(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Q(e,r)}(this,e)},pick(e){return function(e,t){let r=e._zod.def,n=r.checks,i=n&&n.length>0;if(i)throw Error(".pick() cannot be used on object schemas containing refinements");let a=z(e._zod.def,{get shape(){let e={};for(let n in t){if(!(n in r.shape))throw Error(`Unrecognized key: "${n}"`);t[n]&&(e[n]=r.shape[n])}return V(this,"shape",e),e},checks:[]});return Q(e,a)}(this,e)},omit(e){return function(e,t){let r=e._zod.def,n=r.checks,i=n&&n.length>0;if(i)throw Error(".omit() cannot be used on object schemas containing refinements");let a=z(e._zod.def,{get shape(){let n={...e._zod.def.shape};for(let e in t){if(!(e in r.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete n[e]}return V(this,"shape",n),n},checks:[]});return Q(e,a)}(this,e)},partial(...e){return function(e,t,r){let n=t._zod.def,i=n.checks,a=i&&i.length>0;if(a)throw Error(".partial() cannot be used on object schemas containing refinements");let o=z(t._zod.def,{get shape(){let n=t._zod.def.shape,i={...n};if(r)for(let t in r){if(!(t in n))throw Error(`Unrecognized key: "${t}"`);r[t]&&(i[t]=e?new e({type:"optional",innerType:n[t]}):n[t])}else for(let t in n)i[t]=e?new e({type:"optional",innerType:n[t]}):n[t];return V(this,"shape",i),i},checks:[]});return Q(t,o)}(nl,this,e[0])},required(...e){return function(e,t,r){let n=z(t._zod.def,{get shape(){let n=t._zod.def.shape,i={...n};if(r)for(let t in r){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);r[t]&&(i[t]=new e({type:"nonoptional",innerType:n[t]}))}else for(let t in n)i[t]=new e({type:"nonoptional",innerType:n[t]});return V(this,"shape",i),i}});return Q(t,n)}(nm,this,e[0])}})});function ne(e,t){let r={type:"object",shape:e??{},...ee(t)};return new r7(r)}let nt=a("ZodUnion",(e,t)=>{th.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>t7(e,t,r,n),e.options=t.options}),nr=a("ZodIntersection",(e,t)=>{tp.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>re(e,t,r,n)}),nn=a("ZodEnum",(e,t)=>{tm.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>t3(e,t,r,n),e.enum=t.entries,e.options=Object.values(t.entries);let r=new Set(Object.keys(t.entries));e.extract=(e,n)=>{let i={};for(let n of e)if(r.has(n))i[n]=t.entries[n];else throw Error(`Key ${n} not found in enum`);return new nn({...t,checks:[],...ee(n),entries:i})},e.exclude=(e,n)=>{let i={...t.entries};for(let t of e)if(r.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new nn({...t,checks:[],...ee(n),entries:i})}});function ni(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e;return new nn({type:"enum",entries:r,...ee(t)})}let na=a("ZodLiteral",(e,t)=>{tg.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>t4(e,t,r,n),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if
290(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function no(e,t){return new na({type:"literal",values:Array.isArray(e)?e:[e],...ee(t)})}let ns=a("ZodTransform",(e,t)=>{tv.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>t6(e,t,r,n),e._zod.parse=(r,n)=>{if("backward"===n.direction)throw new s(e.constructor.name);r.addIssue=n=>{"string"==typeof n?r.issues.push(es(n,r.value,t)):(n.fatal&&(n.continue=!1),n.code??(n.code="custom"),n.input??(n.input=r.value),n.inst??(n.inst=e),r.issues.push(es(n)))};let i=t.transform(r.value,r);return i instanceof Promise?i.then(e=>(r.value=e,r.fallback=!0,r)):(r.value=i,r.fallback=!0,r)}}),nl=a("ZodOptional",(e,t)=>{tb.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>rl(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function nu(e){return new nl({type:"optional",innerType:e})}let nc=a("ZodExactOptional",(e,t)=>{tS.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>rl(e,t,r,n),e.unwrap=()=>e._zod.def.innerType}),nd=a("ZodNullable",(e,t)=>{tw.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>rt(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function nh(e){return new nd({type:"nullable",innerType:e})}let np=a("ZodDefault",(e,t)=>{tx.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>rn(e,t,r,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),nf=a("ZodPrefault",(e,t)=>{tT.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>ri(e,t,r,n),e.unwrap=()=>e._zod.def.innerType}),nm=a("ZodNonOptional",(e,t)=>{tk.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>rr(e,t,r,n),e.unwrap=()=>e._zod.def.innerType}),ng=a("ZodCatch",(e,t)=>{t_.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>ra(e,t,r,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),nv=a("ZodPipe",(e,t)=>{tP.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>ro(e,t,r,n),e.in=t.in,e.out=t.out});function ny(e,t){return new nv({type:"pipe",in:e,out:t})}let nb=a("ZodReadonly",(e,t)=>{tN.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>rs(e,t,r,n),e.unwrap=()=>e._zod.def.innerType}),nS=a("ZodCustom",(e,t)=>{tR.init(e,t),rP.init(e,t),e._zod.processJSONSchema=(t,r,n)=>t5(e,t,r,n)})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(96885)}),_N_E=e.O()}]);
291//# sourceMappingURL=_app-4509b9cc123048b3.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.