PageSourceSearch

https://www.government.nl/_next/static/chunks/42f-nxvnya07t.js

js government.nl collected 2026-09-24 08:25:45 UTC 33,203 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,922716,t=>{"use strict";var e=t.i(117156),i=t.i(505375);let n="u"<typeof document,s=n?"":navigator?.userAgent.toLowerCase()||"",a=!n&&/iphone|ipad|ipod|ios|crios|fxios/i.test(s),r=!n&&/(iphone|ipod)/gi.test(navigator?.platform||""),o=!n&&!!window.chrome;n||/crios/i.test(s);let d=!n&&(!!window.safari||a);function c(){return!n&&!(0,i.isUndefined)(window.screen.orientation)&&!(0,i.isUndefined)(window.screen.orientation.lock)}function h(t,e){return!n&&(t||(t=document.createElement("audio")),t.canPlayType(e).length>0)}function l(t,e){return!n&&(t||(t=document.createElement("video")),t.canPlayType(e).length>0)}function u(t){return!n&&(t||(t=document.createElement("video")),t.canPlayType("application/vnd.apple.mpegurl").length>0)}function m(t){return!n&&!!document.pictureInPictureEnabled&&!t?.disablePictureInPicture}function p(t){return!n&&(0,i.isFunction)(t?.webkitSupportsPresentationMode)&&(0,i.isFunction)(t?.webkitSetPresentationMode)}async function g(){let t=document.createElement("video");return t.volume=.5,await (0,i.waitTimeout)(0),.5===t.volume}function v(){if(n)return!1;let t=n?void 0:window?.ManagedMediaSource??window?.MediaSource??window?.WebKitMediaSource;if((0,i.isUndefined)(t))return!1;let e=t&&(0,i.isFunction)(t.isTypeSupported)&&t.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),s=n?void 0:window?.SourceBuffer??window?.WebKitSourceBuffer,a=(0,i.isUndefined)(s)||!(0,i.isUndefined)(s.prototype)&&(0,i.isFunction)(s.prototype.appendBuffer)&&(0,i.isFunction)(s.prototype.remove);return!!e&&!!a}function y(){return v()}var f=class{#t;get length(){return this.#t.length}constructor(t,e){(0,i.isArray)(t)?this.#t=t:(0,i.isUndefined)(t)||(0,i.isUndefined)(e)?this.#t=[]:this.#t=[[t,e]]}start(t){return this.#t[t][0]??1/0}end(t){return this.#t[t][1]??1/0}};function b(t){if(t.length<=1)return t;t.sort((t,e)=>t[0]-e[0]);let e=[],i=t[0];for(let n=1;n<t.length;n++){let s=t[n];i[1]>=s[0]-1?i=[i[0],Math.max(i[1],s[1])]:(e.push(i),i=s)}return e.push(i),e}let S=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx|flac)($|\?)/i,T=new Set(["audio/mpeg","audio/ogg","audio/3gp","audio/mp3","audio/webm","audio/flac","audio/m4a","audio/m4b","audio/mp4a","audio/mp4"]),x=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,E=new Set(["video/mp4","video/webm","video/3gp","video/ogg","video/avi","video/mpeg"]),k=/\.(m3u8)($|\?)/i,w=/\.(mpd)($|\?)/i,C=new Set(["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"]),L=new Set(["application/dash+xml"]);function A({src:t,type:e}){return(0,i.isString)(t)?S.test(t)||T.has(e)||t.startsWith("blob:")&&"audio/object"===e:"audio/object"===e}function P(t){return(0,i.isString)(t.src)?x.test(t.src)||E.has(t.type)||t.src.startsWith("blob:")&&"video/object"===t.type||N(t)&&(n||u()):"video/object"===t.type}function N({src:t,type:e}){return(0,i.isString)(t)&&k.test(t)||C.has(e)}function M({src:t,type:e}){return(0,i.isString)(t)&&w.test(t)||L.has(e)}function D(t){return!n&&void 0!==window.MediaStream&&t instanceof window.MediaStream}function O(t,e="preconnect"){if(n)return!1;if(!(0,i.isNull)(document.querySelector(`link[href="${t}"]`)))return!0;let s=document.createElement("link");return s.rel=e,s.href=t,s.crossOrigin="true",document.head.append(s),!0}let I={};function R(t){if(I[t])return I[t].promise;let e=(0,i.deferredPromise)();if(!(0,i.isNull)(document.querySelector(`script[src="${t}"]`)))return e.resolve(),e.promise;I[t]=e;let n=document.createElement("script");return n.src=t,n.onload=()=>{e.resolve(),delete I[t]},n.onerror=()=>{e.reject(),delete I[t]},setTimeout(()=>document.head.append(n),0),e.promise}function j(t){return"use-credentials"===t?"include":(0,i.isString)(t)?"same-origin":void 0}let $={crossOrigin:Symbol(0),readyState:Symbol(0),updateActiveCues:Symbol(0),canLoad:Symbol(0),onModeChange:Symbol(0),native:Symbol(0),nativeHLS:Symbol(0)};function F(t,e){return e>=t.startTime&&e<t.endTime}function _(t,e,n){let s=null,a=(0,i.getScope)();function r(){let r=(0,i.isString)(e)?[e]:e,o=t.toArray().find(t=>r.includes(t.kind)&&"showing"===t.mode);
1if(o!==s){if(!o){n(null),s=null;return}2==o.readyState?n(o):(n(null),(0,i.scoped)(()=>{let t=(0,i.listenEvent)(o,"load",()=>{n(o),t()},{once:!0})},a)),s=o}}return r(),(0,i.listenEvent)(t,"mode-change",r)}var U=class extends i.EventsTarget{static createId(t){return`vds-${t.type}-${t.kind}-${t.src??t.label??"?"}`}src;content;type;encoding;id="";label="";language="";kind;default=!1;#e=!1;#i=0;#n="disabled";#s={};#a=[];#r=[];#o=[];#d=new Set;[$.readyState]=0;[$.crossOrigin];[$.onModeChange]=null;[$.native]=null;get metadata(){return this.#s}get regions(){return this.#a}get cues(){return this.#r}get activeCues(){return this.#o}get readyState(){return this[$.readyState]}get mode(){return this.#n}set mode(t){this.setMode(t)}constructor(t){for(const e of(super(),Object.keys(t)))this[e]=t[e];this.type||(this.type="vtt"),!n&&t.content?this.#c(t):t.src||(this[$.readyState]=2)}addCue(t,e){if(t.id){if(this.#d.has(t.id))return;this.#d.add(t.id)}let n=0,s=this.#r.length;for(n=0;n<s&&!(t.endTime<=this.#r[n].startTime);n++);n===s?this.#r.push(t):this.#r.splice(n,0,t),t instanceof TextTrackCue||this[$.native]?.track.addCue(t),this.dispatchEvent(new i.DOMEvent("add-cue",{detail:t,trigger:e})),F(t,this.#i)&&this[$.updateActiveCues](this.#i,e)}removeCue(t,e){let n=this.#r.indexOf(t);if(n>=0){let s=this.#o.includes(t);t.id&&this.#d.delete(t.id),this.#r.splice(n,1),this[$.native]?.track.removeCue(t),this.dispatchEvent(new i.DOMEvent("remove-cue",{detail:t,trigger:e})),s&&this[$.updateActiveCues](this.#i,e)}}setMode(t,e){this.#n!==t&&(this.#n=t,"disabled"===t?(this.#o=[],this.#h()):2===this.readyState?this[$.updateActiveCues](this.#i,e):this.#l(),this.dispatchEvent(new i.DOMEvent("mode-change",{detail:this,trigger:e})),this[$.onModeChange]?.())}[$.updateActiveCues](t,e){if(this.#i=t,"disabled"===this.mode||!this.#r.length)return;let i=[];for(let e=0,n=this.#r.length;e<n;e++){let n=this.#r[e];F(n,t)&&i.push(n)}let n=i.length!==this.#o.length;if(!n){for(let t=0;t<i.length;t++)if(!this.#o.includes(i[t])){n=!0;break}}this.#o=i,n&&this.#h(e)}[$.canLoad](){this.#e=!0,"disabled"!==this.#n&&this.#l()}#c(e){t.A(305136).then(({parseText:t,VTTCue:n,VTTRegion:s})=>{(0,i.isString)(e.content)&&"json"!==e.type?t(e.content.split("\n").map(t=>t.trim()).join("\n").trim(),{type:e.type}).then(({cues:t,regions:e})=>{this.#r=t,this.#a=e,this.#u()}):(this.#m(e.content,n,s),3!==this.readyState&&this.#u())})}async #l(){if(this.#e&&!(this[$.readyState]>0)){if(this[$.readyState]=1,this.dispatchEvent(new i.DOMEvent("load-start")),!this.src)return void this.#u();try{let{parseResponse:e,VTTCue:i,VTTRegion:n}=await t.A(305136),s=this[$.crossOrigin]?.(),a=fetch(this.src,{headers:"json"===this.type?{"Content-Type":"application/json"}:void 0,credentials:j(s)});if("json"===this.type)this.#m(await (await a).text(),i,n);else{let{errors:t,metadata:i,regions:n,cues:s}
1=await e(a,{type:this.type,encoding:this.encoding});if(t[0]?.code===0)throw t[0];this.#s=i,this.#a=n,this.#r=s}this.#u()}catch(t){this.#p(t)}}}#u(){if(this[$.readyState]=2,!this.src||"vtt"!==this.type){let t=this[$.native];if(t&&!t.managed)for(let e of this.#r)t.track.addCue(e)}let t=new i.DOMEvent("load");this[$.updateActiveCues](this.#i,t),this.dispatchEvent(t)}#p(t){this[$.readyState]=3,this.dispatchEvent(new i.DOMEvent("error",{detail:t}))}#m(t,e,i){try{let{regions:n,cues:s}=H(t,e,i);this.#a=n,this.#r=s}catch(t){this.#p(t)}}#h(t){this.dispatchEvent(new i.DOMEvent("cue-change",{trigger:t}))}};let V=/captions|subtitles/;function H(t,e,n){let s=(0,i.isString)(t)?JSON.parse(t):t,a=[],r=[];return s.regions&&n&&(a=s.regions.map(t=>Object.assign(new n,t))),(s.cues||(0,i.isArray)(s))&&(r=((0,i.isArray)(s)?s:s.cues).filter(t=>(0,i.isNumber)(t.startTime)&&(0,i.isNumber)(t.endTime)).map(t=>Object.assign(new e(0,0,""),t))),{regions:a,cues:r}}let G={add:Symbol(0),remove:Symbol(0),reset:Symbol(0),select:Symbol(0),readonly:Symbol(0),setReadonly:Symbol(0),onReset:Symbol(0),onRemove:Symbol(0),onUserSelect:Symbol(0)};function q(t){return String(t).split(".")[1]?.length??0}let B={setAuto:Symbol(0),enableAuto:Symbol(0)},Q=null,K=[],W=[];function Y(){return Q??=new AudioContext}function J(){Q&&0===K.length&&0===W.length&&Q.close().then(()=>{Q=null})}var X=class{#g;#v;#y=null;#f=null;get currentGain(){return this.#y?.gain?.value??null}get supported(){return!0}constructor(t,e){this.#g=t,this.#v=e}setGain(t){let e=this.currentGain;if(t!==this.currentGain){var i,n;let s;if(1===t&&1!==e)return void this.removeGain();if(!this.#y){let t,e;this.#y=((e=(t=Y()).createGain()).connect(t.destination),K.push(e),e),this.#f&&this.#f.connect(this.#y)}this.#f||(this.#f=(i=this.#g,n=this.#y,s=Y().createMediaElementSource(i),n&&s.connect(n),W.push(s),s)),this.#y.gain.value=t,this.#v(t)}}removeGain(){this.#y&&(this.#f&&this.#f.connect(Y().destination),this.#b(),this.#v(null))}destroy(){this.#S(),this.#b()}#S(){if(this.#f)try{var t;let e;t=this.#f,e=W.indexOf(t),-1!==e&&(W.splice(e,1),t.disconnect(),J())}catch(t){}finally{this.#f=null}}#b(){if(this.#y)try{var t;let e;t=this.#y,e=K.indexOf(t),-1!==e&&(K.splice(e,1),t.disconnect(),J())}catch(t){}finally{this.#y=null}}};
1let z=["focus","blur","visibilitychange","pageshow","pagehide"];var Z=class{#T=(0,i.signal)(tt());#x=(0,i.signal)(n?"visible":document.visibilityState);#E;connect(){let t=new i.EventsController(window),e=this.#k.bind(this);for(let i of z)t.add(i,e);d&&t.add("beforeunload",t=>{this.#E=setTimeout(()=>{t.defaultPrevented||t.returnValue.length>0||(this.#T.set("hidden"),this.#x.set("hidden"))},0)})}get pageState(){return this.#T()}get visibility(){return this.#x()}#k(t){d&&window.clearTimeout(this.#E),("blur"!==t.type||"active"===this.#T())&&(this.#T.set(tt(t)),this.#x.set("hidden"==document.visibilityState?"hidden":"visible"))}};function tt(t){return n||t?.type==="blur"||"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}var te=class{#w;#C;constructor(t){this.#C=t}start(){(0,i.isUndefined)(this.#w)&&this.#L()}stop(){(0,i.isNumber)(this.#w)&&window.cancelAnimationFrame(this.#w),this.#w=void 0}#L(){this.#w=window.requestAnimationFrame(()=>{(0,i.isUndefined)(this.#w)||(this.#C(),this.#L())})}},ti=class{#A;#P;#N=!1;#M=!1;#D=!1;#O=new te(this.#I.bind(this));#R=new Z;#j;get #g(){return this.#A.media}constructor(t,e){this.#A=t,this.#P=e,this.#j=new i.EventsController(t.media),this.#$(),this.#R.connect(),(0,i.effect)(this.#F.bind(this)),(0,i.onDispose)(this.#_.bind(this))}#_(){this.#M=!1,this.#D=!1,this.#O.stop(),this.#j.abort(),this.#U?.clear()}#V=0;#H=-1;#I(){let t=this.#g.currentTime;d&&t-this.#H<.35||this.#V===t||(this.#G(t),this.#V=t)}#$(){this.#q("loadstart",this.#B),this.#q("abort",this.#Q),this.#q("emptied",this.#K),this.#q("error",this.#W),this.#q("volumechange",this.#Y)}#J(){this.#M||(this.#q("loadeddata",this.#X),this.#q("loadedmetadata",this.#z),this.#q("canplay",this.#Z),this.#q("canplaythrough",this.#tt),this.#q("durationchange",this.#te),this.#q("play",this.#ti),this.#q("progress",this.#tn),this.#q("stalled",this.#ts),this.#q("suspend",this.#ta),this.#q("ratechange",this.#tr),this.#M=!0)}#to(){this.#D||(this.#q("pause",this.#td),this.#q("playing",this.#tc),this.#q("seeked",this.#th),this.#q("seeking",this.#tl),this.#q("ended",this.#tu),this.#q("waiting",this.#tm),this.#D=!0)}#U=void 0;#tp=void 0;#q(t,e){this.#j.add(t,e.bind(this))}#tg(t){}#G(t,e){let i=Math.min(t,this.#P.$state.seekableEnd());this.#P.notify("time-change",i,e)}#B(t){3===this.#g.networkState?this.#Q(t):(this.#J(),this.#P.notify("load-start",void 0,t))}#Q(t){this.#P.notify("abort",void 0,t)}#K(t){this.#P.notify("emptied",void 0,t)}#X(t){this.#P.notify("loaded-data",void 0,t)}#z(t){this.#V=0,this.#H=-1,this.#to(),this.#P.notify("loaded-metadata",void 0,t),(a||d&&N(this.#P.$state.source()))&&this.#P.delegate.ready(this.#tv(),t)}#tv(){return{provider:(0,i.peek)(this.#P.$provider),duration:this.#g.duration,buffered:this.#g.buffered,seekable:this.#g.seekable}}#ti(t){this.#P.$state.canPlay()&&this.#P.notify("play",void 0,t)}#td(t){(1!==this.#g.readyState||this.#N)&&(this.#N=!1,this.#O.stop(),this.#P.notify("pause",void 0,t))}#Z(t){this.#P.delegate.ready(this.#tv(),t)}#tt(t){this.#P.$state.started()||this.#P.notify("can-play-through",this.#tv(),t)}#tc(t){this.#g.paused||(this.#N=!1,this.#P.notify("playing",void 0,t),this.#O.start())}#ts(t){this.#P.notify("stalled",void 0,t),this.#g.readyState<3&&(this.#N=!0,this.#P.notify("waiting",void 0,t))}#tm(t){this.#g.readyState<3&&(this.#N=!0,this.#P.notify("waiting",void 0,t))}#tu(t){this.#O.stop(),this.#G(this.#g.duration,t),this.#P.notify("end",void 0,t),this.#P.$state.loop()&&(0,i.isNil)(this.#g.controls)&&(this.#g.controls=!1)}#F(){let t=this.#P.$state.paused(),e="hidden"===this.#R.visibility;(t||e)&&(0,i.listenEvent)(this.#g,"timeupdate",this.#ty.bind(this))}#ty(t){this.#G(this.#g.currentTime,t)}#te(t){this.#P.$state.ended()&&this.#G(this.#g.duration,t),this.#P.notify("duration-change",this.#g.duration,t)}#Y(t){let e={volume:this.#g.volume,muted:this.#g.muted};this.#P.notify("volume-change",e,t)}#th(t){this.#H=this.#g.currentTime,this.#G(this.#g.currentTime,t),this.#P.notify("seeked",this.#g.currentTime,t),Math.trunc(this.#g.currentTime)===Math.trunc(this.#g.duration)&&q(this.#g.duration)>q(this.#g.currentTime)&&(this.#G(this.#g.duration,t),this.#g.ended||this.#P.player.dis
1patch(new i.DOMEvent("media-play-request",{trigger:t})))}#tl(t){this.#P.notify("seeking",this.#g.currentTime,t)}#tn(t){let e={buffered:this.#g.buffered,seekable:this.#g.seekable};this.#P.notify("progress",e,t)}#ta(t){this.#P.notify("suspend",void 0,t)}#tr(t){this.#P.notify("rate-change",this.#g.playbackRate,t)}#W(t){let e=this.#g.error;if(!e)return;let i={message:e.message,code:e.code,mediaError:e};this.#P.notify("error",i,t)}},tn=class{#A;#P;get #tf(){return this.#A.media.audioTracks}constructor(t,e){this.#A=t,this.#P=e,this.#tf.onaddtrack=this.#tb.bind(this),this.#tf.onremovetrack=this.#tS.bind(this),this.#tf.onchange=this.#tT.bind(this),(0,i.listenEvent)(this.#P.audioTracks,"change",this.#tx.bind(this))}#tb(t){let e=t.track;if(""===e.label)return;let i={id:e.id.toString()||`native-audio-${this.#P.audioTracks.length}`,label:e.label,language:e.language,kind:e.kind,selected:!1};this.#P.audioTracks[G.add](i,t),e.enabled&&(i.selected=!0)}#tS(t){let e=this.#P.audioTracks.getById(t.track.id);e&&this.#P.audioTracks[G.remove](e,t)}#tT(t){let e=this.#tE();if(!e)return;let i=this.#P.audioTracks.getById(e.id);i&&this.#P.audioTracks[G.select](i,!0,t)}#tE(){return Array.from(this.#tf).find(t=>t.enabled)}#tx(t){let{current:e}=t.detail;if(!e)return;let i=this.#tf.getTrackById(e.id);if(i){let t=this.#tE();t&&(t.enabled=!1),i.enabled=!0}}},ts=class{media;ctx;scope=(0,i.createScope)();currentSrc=null;audioGain;constructor(t,e){this.media=t,this.ctx=e,this.audioGain=new X(t,t=>{this.ctx.notify("audio-gain-change",t)})}setup(){new ti(this,this.ctx),"audioTracks"in this.media&&new tn(this,this.ctx),(0,i.onDispose)(()=>{for(let t of(this.audioGain.destroy(),this.media.srcObject=null,this.media.removeAttribute("src"),this.media.querySelectorAll("source")))t.remove();this.media.load()})}get type(){return""}setPlaybackRate(t){this.media.playbackRate=t}async play(){return this.media.play()}async pause(){return this.media.pause()}setMuted(t){this.media.muted=t}setVolume(t){this.media.volume=t}setCurrentTime(t){this.media.currentTime=t}setPlaysInline(t){(0,i.setAttribute)(this.media,"playsinline",t)}async loadSource({src:t,type:e},n){this.media.preload=n||"",D(t)?(this.removeSource(),this.media.srcObject=t):(this.media.srcObject=null,(0,i.isString)(t)?"?"!==e?this.appendSource({src:t,type:e}):(this.removeSource(),this.media.src=this.#tk(t)):(this.removeSource(),this.media.src=window.URL.createObjectURL(t))),this.media.load(),this.currentSrc={src:t,type:e}}appendSource(t,e){let n=this.media.querySelector("source[data-vds]"),s=n??document.createElement("source");(0,i.setAttribute)(s,"src",this.#tk(t.src)),(0,i.setAttribute)(s,"type","?"!==t.type?t.type:e),(0,i.setAttribute)(s,"data-vds",""),n||this.media.append(s)}removeSource(){this.media.querySelector("source[data-vds]")?.remove()}#tk(t){let{clipStartTime:e,clipEndTime:i}=this.ctx.$state,n=e(),s=i();return n>0&&s>0?`${t}#t=${n},${s}`:n>0?`${t}#t=${n}`:s>0?`${t}#t=0,${s}`:t}},ta=class{#g;#P;#T;#tw=(0,i.signal)(!1);get supported(){return this.#tw()}constructor(t,e){this.#g=t,this.#P=e,this.#tC()}#tC(){!n&&this.#g?.remote&&this.canPrompt&&(this.#g.remote.watchAvailability(t=>{this.#tw.set(t)}).catch(()=>{this.#tw.set(!1)}),(0,i.effect)(this.#tL.bind(this)))}#tL(){if(!this.#tw())return;let t=this.#tA.bind(this);t(),(0,i.listenEvent)(this.#g,"playing",t);let e=new i.EventsController(this.#g.remote);for(let i of["connecting","connect","disconnect"])e.add(i,t)}async prompt(){if(!this.supported)throw Error("Not supported on this platform.");return"airplay"===this.type&&this.#g.webkitShowPlaybackTargetPicker?this.#g.webkitShowPlaybackTargetPicker():this.#g.remote.prompt()}#tA(t){let e=this.#g.remote.state;if(e===this.#T)return;let i={type:this.type,state:e};this.#P.notify("remote-playback-change",i,t),this.#T=e}},tr=class extends ta{type="airplay";get canPrompt(){return"WebKitPlaybackTargetAvailabilityEvent"in window}},to=class{#tP;#P;constructor(t,e){this.#tP=t,this.#P=e,t.textTracks.onaddtrack=this.#tN.bind(this),(0,i.onDispose)(this.#_.bind(this))}#tN(t){var e,i;let n=t.track;if(!n||(e=this.#tP,i=n,Array.from(e.children).find(t=>t.track===i)))return;let s=new U({id:n.id,kind:n.kind,label:n.label??"",language:n.language,type:"vtt"});s[$.native]={track:n},s[$.readyState]=2,s[$.nativeHLS]=!0;let a=0,r=t=>{if(n.cues)for(let e=a;
1e<n.cues.length;e++)s.addCue(n.cues[e],t),a++};r(t),n.oncuechange=r,this.#P.textTracks.add(s,t),s.setMode(n.mode,t)}#_(){for(let t of(this.#tP.textTracks.onaddtrack=null,this.#P.textTracks)){let e=t[$.native]?.track;e?.oncuechange&&(e.oncuechange=null)}}},td=class{#tP;#g;constructor(t,e){this.#tP=t,this.#g=e,new i.EventsController(t).add("enterpictureinpicture",this.#tM.bind(this)).add("leavepictureinpicture",this.#tD.bind(this))}get active(){return document.pictureInPictureElement===this.#tP}get supported(){return m(this.#tP)}async enter(){return this.#tP.requestPictureInPicture()}exit(){return document.exitPictureInPicture()}#tM(t){this.#v(!0,t)}#tD(t){this.#v(!1,t)}#v=(t,e)=>{this.#g.notify("picture-in-picture-change",t,e)}},tc=class{#tP;#g;#n="inline";get mode(){return this.#n}constructor(t,e){this.#tP=t,this.#g=e,(0,i.listenEvent)(t,"webkitpresentationmodechanged",this.#tO.bind(this))}get supported(){return p(this.#tP)}async setPresentationMode(t){this.#n!==t&&this.#tP.webkitSetPresentationMode(t)}#tO(t){let e=this.#n;this.#n=this.#tP.webkitPresentationMode,this.#g.player?.dispatch(new i.DOMEvent("video-presentation-change",{detail:this.#n,trigger:t})),["fullscreen","picture-in-picture"].forEach(i=>{(this.#n===i||e===i)&&this.#g.notify(`${i}-change`,this.#n===i,t)})}},th=class{#tI;get active(){return"fullscreen"===this.#tI.mode}get supported(){return this.#tI.supported}constructor(t){this.#tI=t}async enter(){this.#tI.setPresentationMode("fullscreen")}async exit(){this.#tI.setPresentationMode("inline")}},tl=class{#tI;get active(){return"picture-in-picture"===this.#tI.mode}get supported(){return this.#tI.supported}constructor(t){this.#tI=t}async enter(){this.#tI.setPresentationMode("picture-in-picture")}async exit(){this.#tI.setPresentationMode("inline")}},tu=(0,e.__exportAll)({VideoProvider:()=>tm}),tm=class extends ts{$$PROVIDER_TYPE="VIDEO";get type(){return"video"}airPlay;fullscreen;pictureInPicture;constructor(t,e){super(t,e),(0,i.scoped)(()=>{if(this.airPlay=new tr(t,e),p(t)){let i=new tc(t,e);this.fullscreen=new th(i),this.pictureInPicture=new tl(i)}else m(t)&&(this.pictureInPicture=new td(t,e))},this.scope)}setup(){super.setup(),u(this.video)&&new to(this.video,this.ctx),this.ctx.textRenderers.attachVideo(this.video),(0,i.onDispose)(()=>{this.ctx.textRenderers.attachVideo(null)}),"video"===this.type&&this.ctx.notify("provider-setup",this)}get video(){return this.media}};function tp(t){try{return new Intl.DisplayNames(navigator.languages,{type:"language"}).of(t)??null}catch(t){return null}}var tg=class{#tP;#P;#tR=null;#tj=new Set;#t$=null;config={};get instance(){return this.#tR}constructor(t,e){this.#tP=t,this.#P=e}setup(t){this.#tR=t().create();let e=this.#tF.bind(this);for(let i of Object.values(t.events))this.#tR.on(i,e);for(let e of(this.#tR.on(t.events.ERROR,this.#W.bind(this)),this.#tj))e(this.#tR);this.#P.player.dispatch("dash-instance",{detail:this.#tR}),this.#tR.initialize(this.#tP,void 0,!1),this.#tR.updateSettings({streaming:{text:{defaultEnabled:!1,dispatchForManualRendering:!0},buffer:{fastSwitchEnabled:!0}},...this.config}),this.#tR.on(t.events.FRAGMENT_LOADING_STARTED,this.#t_.bind(this)),this.#tR.on(t.events.FRAGMENT_LOADING_COMPLETED,this.#tU.bind(this)),this.#tR.on(t.events.MANIFEST_LOADED,this.#tV.bind(this)),this.#tR.on(t.events.QUALITY_CHANGE_RENDERED,this.#tH.bind(this)),this.#tR.on(t.events.TEXT_TRACKS_ADDED,this.#tG.bind(this)),this.#tR.on(t.events.TRACK_CHANGE_RENDERED,this.#tq.bind(this)),this.#P.qualities[B.enableAuto]=this.#tB.bind(this),(0,i.listenEvent)(this.#P.qualities,"change",this.#tQ.bind(this)),(0,i.listenEvent)(this.#P.audioTracks,"change",this.#tK.bind(this)),this.#t$=(0,i.effect)(this.#tW.bind(this))}#tY(t){let e;return new i.DOMEvent((e=t.type,`dash-${(0,i.camelToKebabCase)(e)}`),{detail:t})}#tW(){if(!this.#P.$state.live())return;let t=new te(this.#tJ.bind(this));return t.start(),t.stop.bind(t)}#tJ(){if(!this.#tR)return;let t=this.#tR.duration()-this.#tR.time();this.#P.$state.liveSyncPosition.set(isNaN(t)?1/0:t)}#tF(t){this.#P.player?.dispatch(this.#tY(t))}#tX=null;#tz={};#tZ(t){let e=this.#tX?.[$.native],i=(e?.track).cues;if(!e||!i)return;let n=this.#tX.id,s=this.#tz[n]??0,a=this.#tY(t);for(let t=s;t<i.length;t++){let e=i[t];e.positionAlign||(e.positionAlign="auto"),this.#tX.addCue(e,a)}this.#tz[n]=i.length}#tG(t){if(!this.#tR)return;let e=t.tracks,i=[...this.#tP.textTracks].filter(t=>"manualMode"in t),n=this.#tY(t);for(let t=0;t<i.length;t++){let s=e[t],a=i[t],r=new U({id:`dash-${s.kind}-${t}`,label:s?.label??s.labels.find(t=>t.text)?.text??(s?.lang&&tp(s.lang))??s?.lang??void 0,language:s.lang??void 0,kind:s.kind,default:s.defaultTrack});r[$.native]={managed:!0,track:a},r[$.readyState]=2,r[$.onModeChange]=()=>{this.#tR&&("showing"===r.mode?(this.#tR.setTextTrack(t),this.#tX=r):(this.#tR.setTextTrack(-1),this.#tX=null))},this.#P.textTracks.add(r,n)}}#tq(t){let{mediaType:e,newMediaInfo:i}=t;if("audio"===e){let e=this.#P.audioTracks.getById(`dash-audio-${i.index}`);
1if(e){let i=this.#tY(t);this.#P.audioTracks[G.select](e,!0,i)}}}#tH(t){if("video"!==t.mediaType)return;let e=this.#P.qualities[t.newQuality];if(e){let i=this.#tY(t);this.#P.qualities[G.select](e,!0,i)}}#tV(t){if(this.#P.$state.canPlay()||!this.#tR)return;let{type:e,mediaPresentationDuration:n}=t.data,s=this.#tY(t);this.#P.notify("stream-type-change","static"!==e?"live":"on-demand",s),this.#P.notify("duration-change",n,s),this.#P.qualities[B.setAuto](!0,s);let a=this.#tR.getVideoElement(),r=this.#tR.getTracksForTypeFromManifest("video",t.data),o=[...new Set(r.map(t=>t.mimeType))].find(t=>t&&l(a,t)),d=r.find(t=>o===t.mimeType),c=this.#tR.getTracksForTypeFromManifest("audio",t.data),u=[...new Set(c.map(t=>t.mimeType))].find(t=>t&&h(a,t));if(c=c.filter(t=>u===t.mimeType),d&&(d.bitrateList.forEach((t,e)=>{let i={id:t.id?.toString()??`dash-bitrate-${e}`,width:t.width??0,height:t.height??0,bitrate:t.bandwidth??0,codec:d.codec,index:e};this.#P.qualities[G.add](i,s)}),(0,i.isNumber)(d.index))){let t=this.#P.qualities[d.index];t&&this.#P.qualities[G.select](t,!0,s)}c.forEach((t,e)=>{let i=t.labels.find(t=>navigator.languages.some(e=>t.lang&&e.toLowerCase().startsWith(t.lang.toLowerCase())))||t.labels[0],n={id:`dash-audio-${t?.index}`,label:i?.text??(t.lang&&tp(t.lang))??t.lang??"",language:t.lang??"",kind:"main",mimeType:t.mimeType,codec:t.codec,index:e};this.#P.audioTracks[G.add](n,s)}),a.dispatchEvent(new i.DOMEvent("canplay",{trigger:s}))}#W(t){let{type:e,error:i}=t;27===i.code?this.#t0(i):this.#t1(i)}#t_(){this.#t4>=0&&this.#t2()}#tU(t){"text"===t.mediaType&&requestAnimationFrame(this.#tZ.bind(this,t))}#t4=-1;#t0(t){this.#t2(),this.#tR?.play(),this.#t4=window.setTimeout(()=>{this.#t4=-1,this.#t1(t)},5e3)}#t2(){clearTimeout(this.#t4),this.#t4=-1}#t1(t){this.#P.notify("error",{message:t.message??"",code:1,error:t})}#tB(){this.#t3("video",!0);let{qualities:t}=this.#P;this.#tR?.setQualityFor("video",t.selectedIndex,!0)}#t3(t,e){this.#tR?.updateSettings({streaming:{abr:{autoSwitchBitrate:{[t]:e}}}})}#tQ(){let{qualities:t}=this.#P;this.#tR&&!t.auto&&t.selected&&(this.#t3("video",!1),this.#tR.setQualityFor("video",t.selectedIndex,"current"===t.switch),o&&(this.#tP.currentTime=this.#tP.currentTime))}#tK(){if(!this.#tR)return;let{audioTracks:t}=this.#P,e=this.#tR.getTracksFor("audio").find(e=>t.selected&&t.selected.id===`dash-audio-${e.index}`);e&&this.#tR.setCurrentTrack(e)}#t5(){this.#t2(),this.#tX=null,this.#tz={}}onInstance(t){return this.#tj.add(t),()=>this.#tj.delete(t)}loadSource(t){this.#t5(),(0,i.isString)(t.src)&&this.#tR?.attachSource(t.src)}destroy(){this.#t5(),this.#tR?.destroy(),this.#tR=null,this.#t$?.(),this.#t$=null}};function tv(t){return t instanceof Error?t:Error("string"==typeof t?t:JSON.stringify(t))}var ty=class{#t6;#P;#C;constructor(t,e,i){this.#t6=t,this.#P=e,this.#C=i,this.#t8()}async #t8(){let t={onLoadStart:this.#B.bind(this),onLoaded:this.#t7.bind(this),onLoadError:this.#t9.bind(this)},e=await tb(this.#t6,t);return((0,i.isUndefined)(e)&&!(0,i.isString)(this.#t6)&&(e=await tf(this.#t6,t)),e)?window.dashjs.supportsMediaSource()?e:(this.#P.player.dispatch(new i.DOMEvent("dash-unsupported")),this.#P.notify("error",{message:"[vidstack] `dash.js` is not supported in this environment",code:4}),null):null}#B(){this.#P.player.dispatch(new i.DOMEvent("dash-lib-load-start"))}#t7(t){this.#P.player.dispatch(new i.DOMEvent("dash-lib-loaded",{detail:t})),this.#C(t)}#t9(t){let e=tv(t);this.#P.player.dispatch(new i.DOMEvent("dash-lib-load-error",{detail:e})),this.#P.notify("error",{message:e.message,code:4,error:e})}};async function tf(t,e={}){if(!(0,i.isUndefined)(t)){var n;if(e.onLoadStart?.(),(n=t)&&n.prototype&&n.prototype!==Function)return e.onLoaded?.(t),t;if(tS(t)){let i=t.MediaPlayer;return e.onLoaded?.(i),i}try{let i=(await t())?.default;if(tS(i))return e.onLoaded?.(i.MediaPlayer),i.MediaPlayer;if(i)e.onLoaded?.(i);else throw Error("");return i}catch(t){e.onLoadError?.(t)}}}async function tb(t,e={}){if((0,i.isString)(t)){e.onLoadStart?.();try{if(await R(t),!(0,i.isFunction)(window.dashjs.MediaPlayer))throw Error("");let n=window.dashjs.MediaPlayer;return e.onLoaded?.(n),n}catch(t){e.onLoadError?.(t)}}}function tS(t){return t&&"MediaPlayer"in t}var tT=(0,e.__exportAll)({DASHProvider:()=>tx}),tx=class extends tm{$$PROVIDER_TYPE="DASH";#et=null;#ee=new tg(this.video,this.ctx);get ctor(){return this.#et}get instance(){return this.#ee.instance}
1static supported=y();get type(){return"dash"}get canLiveSync(){return!0}#ei="https://cdn.jsdelivr.net/npm/[email protected]/dist/dash.all.min.js";get config(){return this.#ee.config}set config(t){this.#ee.config=t}get library(){return this.#ei}set library(t){this.#ei=t}preconnect(){(0,i.isString)(this.#ei)&&O(this.#ei)}setup(){super.setup(),new ty(this.#ei,this.ctx,t=>{this.#et=t,this.#ee.setup(t),this.ctx.notify("provider-setup",this);let e=(0,i.peek)(this.ctx.$state.source);e&&this.loadSource(e)})}async loadSource(t,e){(0,i.isString)(t.src)?(this.media.preload=e||"",this.appendSource(t,"application/x-mpegurl"),this.#ee.loadSource(t),this.currentSrc=t):this.removeSource()}onInstance(t){let e=this.#ee.instance;return e&&t(e),this.#ee.onInstance(t)}destroy(){this.#ee.destroy()}};t.s(["AUDIO_EXTENSIONS",0,S,"AUDIO_TYPES",0,T,"DASH_VIDEO_EXTENSIONS",0,w,"DASH_VIDEO_TYPES",0,L,"HLS_VIDEO_EXTENSIONS",0,k,"HLS_VIDEO_TYPES",0,C,"HTMLAirPlayAdapter",0,tr,"HTMLMediaProvider",0,ts,"IS_CHROME",0,o,"IS_IOS",0,a,"IS_IPHONE",0,r,"IS_SERVER",0,n,"ListSymbol",0,G,"QualitySymbol",0,B,"RAFLoop",0,te,"TextTrack",0,U,"TextTrackSymbol",0,$,"TimeRange",0,f,"VIDEO_EXTENSIONS",0,x,"VIDEO_TYPES",0,E,"VideoProvider",0,tm,"appendParamsToURL",0,function(t,e){let i=new URL(t);for(let t of Object.keys(e))i.searchParams.set(t,e[t]+"");return i.toString()},"assert",0,function(t,e){if(!t)throw Error(e||"Assertion failed.")},"canChangeVolume",0,g,"canGoogleCastSrc",0,function(t){return(0,i.isString)(t.src)&&(A(t)||P(t)||N(t)||M(t))},"canOrientScreen",0,function(){return c()&&(0,i.isFunction)(screen.orientation.unlock)},"canPlayAudioType",0,h,"canPlayHLSNatively",0,u,"canPlayVideoType",0,l,"canRotateScreen",0,c,"canUsePictureInPicture",0,m,"canUseVideoPresentation",0,p,"clampNumber",0,function(t,e,i){return Math.max(t,Math.min(i,e))},"coerceToError",0,tv,"findActiveCue",0,function(t,e){for(let i=0,n=t.length;i<n;i++)if(F(t[i],e))return t[i];return null},"getDownloadFile",0,function({title:t,src:e,download:n}){let s=(0,i.isBoolean)(n)||""===n?e.src:(0,i.isString)(n)?n:n?.url;return!function({url:t,src:e,download:n}){return(0,i.isString)(t)&&(n&&!0!==n||A(e)||P(e))}({url:s,src:e,download:n})?null:{url:s,name:!(0,i.isBoolean)(n)&&!(0,i.isString)(n)&&n?.filename||t.toLowerCase()||"media"}},"getNumberOfDecimalPlaces",0,q,"getRequestCredentials",0,j,"getTimeRangesEnd",0,function(t){if(!t.length)return null;let e=t.end(0);for(let i=1;i<t.length;i++){let n=t.end(i);n>e&&(e=n)}return e},"getTimeRangesStart",0,function(t){if(!t.length)return null;let e=t.start(0);for(let i=1;i<t.length;i++){let n=t.start(i);n<e&&(e=n)}return e},"isAudioSrc",0,A,"isCueActive",0,F,"isDASHSrc",0,M,"isDASHSupported",0,y,"isHLSSrc",0,N,"isHLSSupported",0,v,"isMediaStream",0,D,"isRemotionProvider",0,function(t){return t?.$$PROVIDER_TYPE==="REMOTION"},"isRemotionSrc",0,function(t){return t?.type==="video/remotion"},"isTrackCaptionKind",0,function(t){return V.test(t.kind)},"isVideoSrc",0,P,"loadScript",0,R,"normalizeTimeIntervals",0,b,"parseJSONCaptionsFile",0,H,"preconnect",0,O,"provider_exports",0,tT,"provider_exports$1",0,tu,"round",0,function(t,e=2){return Number(t.toFixed(e))},"updateTimeIntervals",0,function(t,e,i){let n=e[0],s=e[1];return i<n?[i,-1]:i===n?e:-1===n?(e[0]=i,e):(i>n&&(e[1]=i,-1===s&&t.push(e)),b(t),e)},"watchActiveTextTrack",0,_,"watchCueTextChange",0,function(t,e,n){_(t,e,t=>{if(!t)return void n("");let e=()=>{let e=t?.activeCues[0];n(e?.text||"")};e(),(0,i.listenEvent)(t,"cue-change",e)})}])},546915,t=>{"use strict";var e=t.i(30487),i=t.i(264458),n=t.i(158960),s=t.i(755629);let a=({image:t,className:i})=>(0,e.jsx)("i",{className:i,style:{WebkitMaskImage:`url(${t})`,maskImage:`url(${t})`}}),r=()=>(0,e.jsxs)("div",{className:"ro-spinner",children:[(0,e.jsx)("div",{}),(0,e.jsx)("div",{}),(0,e.jsx)("div",{}),(0,e.jsx)("div",{}),(0,e.jsx)("div",{}),(0,e.jsx)("div",{}),(0,e.jsx)("div",{}),(0,e.jsx)("div",{}),(0,e.jsx)("div",{}),(0,e.jsx)("div",{}),(0,e.jsx)("div",{}),(0,e.jsx)("div",{})]});t.s(["default",0,({type:t="button",href:o,variant:d="default",size:c,className:h,text:l,iconName:u,iconImage:m,iconPosition:p="start",hasIconOnly:g=!1,onClick:v,disabled:y=!1,ariaControl
1s:f,ariaExpanded:b,lang:S,isLoading:T,ariaLive:x,ariaDescribedby:E,tabIndex:k,id:w,ref:C,ariaLabel:L})=>{p="cta"===d?"start":p;let A={className:(0,i.default)("button",c&&`button--${c}`,`button--${d}`,{"has-icon":(u||m||T)&&!g,"has-icon-only":(u||m)&&g,"has-icon-at-the-start":(u||m)&&!g&&"start"===p,"has-icon-at-the-end":(u||m)&&!g&&"end"===p},h),disabled:T||y,"aria-label":g?l:void 0,"aria-controls":f,"aria-expanded":b,"aria-live":x,tabIndex:k,...E&&{"aria-describedby":E},...w&&{id:w}},P={...A,type:t,onClick:v||void 0},N={...A,href:o??void 0,lang:S,"aria-label":L,onClick:v||void 0};return o?(0,e.jsxs)(s.default,{...N,role:"button",children:[u&&!m&&(0,e.jsx)(n.default,{name:u}),m&&(0,e.jsx)(a,{image:m,className:"button__icon-image"}),!g&&(0,e.jsx)("span",{className:"button__text",children:l})]}):(0,e.jsxs)("button",{...P,type:P.type,ref:C,children:[u&&!m&&!T&&(0,e.jsx)(n.default,{name:u}),m&&!T&&(0,e.jsx)(a,{image:m,className:"button__icon-image"}),!g&&(0,e.jsx)("span",{className:"button__text",children:l}),T&&(0,e.jsx)(r,{})]})}],546915)},158960,t=>{"use strict";var e=t.i(30487),i=t.i(264458),n=t.i(822984);t.s(["default",0,({name:t,className:s})=>(0,e.jsx)("i",{className:(0,i.default)("icon",`icon--${(0,n.kebabCase)(t)}`,s),"aria-hidden":"true"})])},649497,t=>{"use strict";var e=t.i(30487),i=t.i(264458),n=t.i(820408);t.s(["default",0,({children:t,variant:s,className:a,...r})=>{let o=function(){switch(s){case"span":return"span";case"background-information":return"aside";default:return"div"}}();return(0,e.jsx)(n.default,{as:o,className:(0,i.default)("rich-text",{[`rich-text--${s}`]:s,"smaller-text":"background-information"===s},a),...r,children:t})}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.