1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6395],{36521:(e,t,i)=>{i.r(t),i.d(t,{default:()=>h});var n=i(12115),o=i(91504),a=i(91421);class l extends(0,a.u6)(o.lB){static shadowRootOptions={...o.lB.shadowRootOptions};static getTemplateHTML=e=>{let{src:t,...i}=e;return o.lB.getTemplateHTML(i)};#e;attributeChangedCallback(e,t,i){"src"!==e&&super.attributeChangedCallback(e,t,i),"src"===e&&t!=i&&this.load()}async load(){if(this.#e)return void this.api.attachSource(this.src);this.#e=!0;let e=await i.e(1465).then(i.bind(i,94462));this.api=e.MediaPlayer().create(),this.api.initialize(this.nativeEl,this.src,this.autoplay),this.api.on(e.MediaPlayer.events.STREAM_INITIALIZED,()=>{let e=this.api.getRepresentationsByType("video"),t=this.videoTracks.getTrackById("main");t||((t=this.addVideoTrack("main")).id="main",t.selected=!0),e.forEach(e=>{let i=e.bandwidth??e.bitrate??(Number.isFinite(e.bitrateInKbit)?1e3*e.bitrateInKbit:void 0);t.addRendition(e.id,e.width,e.height,e.mimeType??e.codec,i).id=e.id}),this.videoRenditions.addEventListener("change",()=>{let e=this.videoRenditions[this.videoRenditions.selectedIndex];(null==e?void 0:e.id)?(this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!1}}}}),this.api.setRepresentationForTypeById("video",e.id,!0)):this.api.updateSettings({streaming:{abr:{autoSwitchBitrate:{video:!0}}}})})})}}globalThis.customElements&&!globalThis.customElements.get("dash-video")&&globalThis.customElements.define("dash-video",l);var r=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),s={className:"class",htmlFor:"for"};function d(e){return e.toLowerCase()}function u(e){return"boolean"==typeof e?e?"":void 0:"function"==typeof e?void 0:"object"!=typeof e||null===e?e:void 0}function c(e,t,i){var n,o;e[t]=i,null==i&&t in(null!=(o=null==(n=globalThis.HTMLElement)?void 0:n.prototype)?o:{})&&e.removeAttribute(t)}var h=function(e){let{react:t,tagName:i,elementClass:n,events:o,displayName:a,defaultProps:l,toAttributeName:h=d,toAttributeValue:p=u}=e,f=Number.parseInt(t.version)>=19,v=t.forwardRef((e,a)=>{var d,v,m,b,y;let g=t.useRef(null),T=t.useRef(new Map),w={},E={},L={},I={};for(let[t,i]of Object.entries(e)){if(r.has(t)){L[t]=i;continue}let e=h(null!=(m=s[t])?m:t);if(n.prototype&&t in n.prototype&&!(t in(null!=(b=null==(d=globalThis.HTMLElement)?void 0:d.prototype)?b:{}))&&!(null==(v=n.observedAttributes)?void 0:v.some(t=>t===e))){I[t]=i;continue}if(t.startsWith("on")){w[t]=i;continue}let o=p(i);e&&null!=o&&(E[e]=String(o),f||(L[e]=o)),e&&f&&(o!==u(i)?L[e]=o:L[e]=i)}if("undefined"!=typeof window){for(let e in w){let i=w[e],n=e.endsWith("Capture"),a=(null!=(y=null==o?void 0:o[e])?y:e.slice(2).toLowerCase()).slice(0,n?-7:void 0);t.useLayoutEffect(()=>{let e=null==g?void 0:g.current;if(e&&"function"==typeof i)return e.addEventListener(a,i,n),()=>{e.removeEventListener(a,i,n)}},[null==g?void 0:g.current,i])}t.useLayoutEffect(()=>{if(null===g.current)return;let e=new Map;for(let t in I)c(g.current,t,I[t]),T.current.delete(t),e.set(t,I[t]);for(let[e,t]of T.current)c(g.current,e,void 0);T.current=e})}if("undefined"==typeof window&&(null==n?void 0:n.getTemplateHTML)&&(null==n?void 0:n.shadowRootOptions)){let{mode:i,delegatesFocus:o}=n.shadowRootOptions;L.children=[t.createElement("template",{shadowrootmode:i,shadowrootdelegatesfocus:o,dangerouslySetInnerHTML:{__html:n.getTemplateHTML(E,e)}}),L.children]}return t.createElement(i,{...l,...L,ref:t.useCallback(e=>{g.current=e,"function"==typeof a?a(e):null!==a&&(a.current=e)},[a])})});return v.displayName=null!=a?a:n.name,v}({react:n,tagName:"dash-video",elementClass:l,toAttributeName:e=>"muted"===e?"":"defaultMuted"===e?"muted":d(e)})}}]);
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.