1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b323f838-e6e5-4659-a775-337fbd260d52",e._sentryDebugIdIdentifier="sentry-dbid-b323f838-e6e5-4659-a775-337fbd260d52")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"d90ac16e0aec0a5eeda665985099a5735ab0bd5b"}}catch(e){}}(),(self.webpackChunkstaylive_partnerplatform=self.webpackChunkstaylive_partnerplatform||[]).push([[2641],{1160:(e,t,n)=>{var i=n(17055),s=n(72358);function a(e,t){var n;const i=e.getBoundingClientRect(),s=null!=(n=null==t?void 0:t.getBoundingClientRect())?n:{x:0,y:0};return{x:i.x-s.x,y:i.y-s.y,width:i.width,height:i.height}}function o(e){return e.split("-")[0]}var r=n(27617);class l extends Event{constructor({action:e="auto",relatedTarget:t,...n}){super("invoke",n),this.action=e,this.relatedTarget=t}}
1class h extends Event{constructor({newState:e,oldState:t,...n}){super("toggle",n),this.newState=e,this.oldState=t}}var u,c,d,m,p,v,f,b,g,k,E,A,y,w,T,S,x,C,M,I,L,_,W,D,R,N,H,G,B,O,$,U,P,q,V,F,K,Z,j,z,Y,Q,J,X,ee,te,ne=n(50456),ie=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},se=(e,t,n)=>(ie(e,t,"read from private field"),n?n.call(e):t.get(e)),ae=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},oe=(e,t,n,i)=>(ie(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),re=(e,t,n)=>(ie(e,t,"access private method"),n);function le({type:e,text:t,value:n,checked:i}){const a=s.Al.createElement("media-chrome-menu-item");a.type=null!=e?e:"",a.part.add("menu-item"),e&&a.part.add(e),a.value=n,a.checked=i;const o=s.Al.createElement("span");return o.textContent=t,a.append(o),a}function he(e,t){let n=e.querySelector(`:scope > [slot="${t}"]`);if("SLOT"==(null==n?void 0:n.nodeName)&&(n=n.assignedElements({flatten:!0})[0]),n)return n=n.cloneNode(!0),n;const i=e.shadowRoot.querySelector(`[name="${t}"] > svg`);return i?i.cloneNode(!0):""}const ue="style",ce="hidden",de="disabled";class me extends s.Au.HTMLElement{constructor(){if(super(),ae(this,b),ae(this,k),ae(this,y),ae(this,T),ae(this,x),ae(this,M),ae(this,W),ae(this,R),ae(this,H),ae(this,B),ae(this,$),ae(this,P),ae(this,V),ae(this,K),ae(this,j),ae(this,Y),ae(this,J),ae(this,ee),ae(this,u,null),ae(this,c,null),ae(this,d,null),ae(this,m,new Set),ae(this,p,void 0),ae(this,v,!1),ae(this,f,null),ae(this,A,(()=>{const e=se(this,m),t=new Set(this.items);for(const n of e)t.has(n)||this.dispatchEvent(new CustomEvent("removemenuitem",{detail:n}));for(const n of t)e.has(n)||this.dispatchEvent(new CustomEvent("addmenuitem",{detail:n}));oe(this,m,t)})),ae(this,L,(()=>{re(this,W,D).call(this),re(this,R,N).call(this,!1)})),ae(this,_,(()=>{re(this,W,D).call(this)})),!this.shadowRoot){this.attachShadow(this.constructor.shadowRootOptions);const e=(0,ne.kg)(this.attributes);this.shadowRoot.innerHTML=this.constructor.getTemplateHTML(e)}this.container=this.shadowRoot.querySelector("#container"),this.defaultSlot=this.shadowRoot.querySelector("slot:not([name])"),oe(this,p,new MutationObserver(se(this,A)))}static get observedAttributes(){return[de,ce,ue,"anchor",i.Ex.MEDIA_CONTROLLER]}static formatMenuItemText(e,t){return e}enable(){this.addEventListener("click",this),this.addEventListener("focusout",this),this.addEventListener("keydown",this),this.addEventListener("invoke",this),this.addEventListener("toggle",this)}disable(){this.removeEventListener("click",this),this.removeEventListener("focusout",this),this.removeEventListener("keyup",this),this.removeEventListener("invoke",this),this.removeEventListener("toggle",this)}handleEvent(e){switch(e.type){case"slotchange":re(this,b,g).call(this,e);break;case"invoke":re(this,T,S).call(this,e);break;case"click":re(this,H,G).call(this,e);break;case"toggle":re(this,$,U).call(this,e);break;case"focusout":re(this,V,F).call(this,e);break;case"keydown":re(this,K,Z).call(this,e)}}connectedCallback(){var e,t;se(this,p).observe(this.defaultSlot,{childList:!0}),oe(this,f,(0,ne.Vw)(this.shadowRoot,":host")),re(this,y,w).call(this),this.hasAttribute("disabled")||this.enable(),this.role||(this.role="menu"),oe(this,u,(0,ne.xf)(this)),null==(t=null==(e=se(this,u))?void 0:e.associateElement)||t.call(e,this),this.hidden||((0,r.v)(ve(this),se(this,L)),(0,r.v)(this,se(this,_))),re(this,k,E).call(this),this.shadowRoot.addEventListener("slotchange",this)}disconnectedCallback(){var e,t;se(this,p).disconnect(),(0,r.u)(ve(this),se(this,L)),(0,r.u)(this,se(this,_)),this.disable(),null==(t=null==(e=se(this,u))?void 0:e.unassociateElement)||t.call(e,this),oe(this,u,null),oe(this,c,null),oe(this,d,null),this.shadowRoot.removeEventListener("slotchange",this)}attributeChangedCallback(e,t,n){var s,a,o,r;e===ce&&n!==t?(se(this,v)||oe(this,v,!0),this.hidden?re(this,M,I).call(this):re(this,x,C).call(this),this.dispatchEvent(new h({oldState:this.hidden?"open":"closed",newState:this.hidden?"closed":"open",bubbles:!0}))):e===i.Ex.MEDIA_CONTROLLER?(t&&(null==(a=null==(s=se(this,u))?void 0:s.unassociateElement)||a.call(s,this),oe(this,u,null)),n&&this.isConnected&&(oe(this,u,(0,ne.xf)(this)),null==(r=null==(o=se(this,u))?void 0:o.associateElement)||r.call(o,this))):e===de&&n!==t?null==n?this.enable():this.disable():e===ue&&n!==t&&re(this,y,w).call(this)}formatMenuItemText(e,t){return this.constructor.formatMenuItemText(e,t)}get anchor(){return this.getAttribute("anchor")}
1set anchor(e){this.setAttribute("anchor",`${e}`)}get anchorElement(){var e;return this.anchor?null==(e=(0,ne.l5)(this))?void 0:e.querySelector(`#${this.anchor}`):null}get items(){return this.defaultSlot.assignedElements({flatten:!0}).filter(pe)}get radioGroupItems(){return this.items.filter((e=>"menuitemradio"===e.role))}get checkedItems(){return this.items.filter((e=>e.checked))}get value(){var e,t;return null!=(t=null==(e=this.checkedItems[0])?void 0:e.value)?t:""}set value(e){const t=this.items.find((t=>t.value===e));t&&re(this,ee,te).call(this,t)}focus(){if(oe(this,c,(0,ne.bq)()),this.items.length)return re(this,J,X).call(this,this.items[0]),void this.items[0].focus();const e=this.querySelector('[autofocus], [tabindex]:not([tabindex="-1"]), [role="menu"]');null==e||e.focus()}handleSelect(e){var t;const n=re(this,j,z).call(this,e);n&&(re(this,ee,te).call(this,n,"checkbox"===n.type),se(this,d)&&!this.hidden&&(null==(t=se(this,c))||t.focus(),this.hidden=!0))}get keysUsed(){return["Enter","Escape","Tab"," ","ArrowDown","ArrowUp","Home","End"]}handleMove(e){var t,n;const{key:i}=e,s=this.items,a=null!=(n=null!=(t=re(this,j,z).call(this,e))?t:re(this,Y,Q).call(this))?n:s[0],o=s.indexOf(a);let r=Math.max(0,o);"ArrowDown"===i?r++:"ArrowUp"===i?r--:"Home"===e.key?r=0:"End"===e.key&&(r=s.length-1),r<0&&(r=s.length-1),r>s.length-1&&(r=0),re(this,J,X).call(this,s[r]),s[r].focus()}}function pe(e){return["menuitem","menuitemradio","menuitemcheckbox"].includes(null==e?void 0:e.role)}function ve(e){var t;return null!=(t=e.getAttribute("bounds")?(0,ne.CQ)(e,`#${e.getAttribute("bounds")}`):(0,ne.Bk)(e)||e.parentElement)?t:e}u=new WeakMap,c=new WeakMap,d=new WeakMap,m=new WeakMap,p=new WeakMap,v=new WeakMap,f=new WeakMap,b=new WeakSet,g=function(e){const t=e.target;for(const e of t.assignedNodes({flatten:!0}))3===e.nodeType&&""===e.textContent.trim()&&e.remove();["header","title"].includes(t.name)&&re(this,k,E).call(this),t.name||se(this,A).call(this)},k=new WeakSet,E=function(){const e=this.shadowRoot.querySelector('slot[name="header"]'),t=this.shadowRoot.querySelector('slot[name="title"]');e.hidden=0===t.assignedNodes().length&&0===e.assignedNodes().length},A=new WeakMap,y=new WeakSet,w=function(){var e;const t=this.shadowRoot.querySelector("#layout-row"),n=null==(e=getComputedStyle(this).getPropertyValue("--media-menu-layout"))?void 0:e.trim();t.setAttribute("media","row"===n?"":"width:0")},T=new WeakSet,S=function(e){oe(this,d,e.relatedTarget),(0,ne.qg)(this,e.relatedTarget)||(this.hidden=!this.hidden)},x=new WeakSet,C=function(){var e;null==(e=se(this,d))||e.setAttribute("aria-expanded","true"),this.addEventListener("transitionend",(()=>this.focus()),{once:!0}),(0,r.v)(ve(this),se(this,L)),(0,r.v)(this,se(this,_))},M=new WeakSet,I=function(){var e;null==(e=se(this,d))||e.setAttribute("aria-expanded","false"),(0,r.u)(ve(this),se(this,L)),(0,r.u)(this,se(this,_))},L=new WeakMap,_=new WeakMap,W=new WeakSet,D=function(e){if(this.hasAttribute("mediacontroller")&&!this.anchor)return;if(this.hidden||!this.anchorElement)return;const{x:t,y:n}=function({anchor:e,floating:t,placement:n}){const i=function({anchor:e,floating:t}){return{anchor:a(e,t.offsetParent),floating:{x:0,y:0,width:t.offsetWidth,height:t.offsetHeight}}}({anchor:e,floating:t}),{x:s,y:r}=function({anchor:e,floating:t},n){const i="x"===function(e){return["top","bottom"].includes(o(e))?"y":"x"}(n)?"y":"x",s="y"===i?"height":"width",a=o(n),r=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,h=e[s]/2-t[s]/2;let u;switch(a){case"top":u={x:r,y:e.y-t.height};break;case"bottom":u={x:r,y:e.y+e.height};break;case"right":u={x:e.x+e.width,y:l};break;case"left":u={x:e.x-t.width,y:l};break;default:u={x:e.x,y:e.y}}switch(n.split("-")[1]){case"start":u[i]-=h;break;case"end":u[i]+=h}return u}(i,n);return{x:s,y:r}}({anchor:this.anchorElement,floating:this,placement:"top-start"});null!=e||(e=this.offsetWidth);const i=ve(this).getBoundingClientRect(),s=i.width-t-e,r=i.height-n-this.offsetHeight,{style:l}=se(this,f);l.setProperty("position","absolute"),l.setProperty("right",`${Math.max(0,s)}px`),l.setProperty("--_menu-bottom",`${r}px`);const h=getComputedStyle(this),u=l.getPropertyValue("--_menu-bottom")===h.bottom?r:parseFloat(h.bottom),c=i.height-u-parseFloat(h.marginBottom);this.style.setProperty("--_menu-max-height",`${c}px`)},R=new WeakSet,N=function(e){const t=this.querySelector('[role="menuitem"][aria-haspopup][aria-expanded="true"]'),n=null==t?void 0:t.querySelector('[role="menu"]'),{style:i}=se(this,f);
1if(e||i.setProperty("--media-menu-transition-in","none"),n){const e=n.offsetHeight,i=Math.max(n.offsetWidth,t.offsetWidth);this.style.setProperty("min-width",`${i}px`),this.style.setProperty("min-height",`${e}px`),re(this,W,D).call(this,i)}else this.style.removeProperty("min-width"),this.style.removeProperty("min-height"),re(this,W,D).call(this);i.removeProperty("--media-menu-transition-in")},H=new WeakSet,G=function(e){var t;if(e.stopPropagation(),e.composedPath().includes(se(this,B,O)))return null==(t=se(this,c))||t.focus(),void(this.hidden=!0);const n=re(this,j,z).call(this,e);n&&!n.hasAttribute("disabled")&&(re(this,J,X).call(this,n),this.handleSelect(e))},B=new WeakSet,O=function(){var e;return null==(e=this.shadowRoot.querySelector('slot[name="header"]').assignedElements({flatten:!0}))?void 0:e.find((e=>e.matches('button[part~="back"]')))},$=new WeakSet,U=function(e){if(e.target===this)return;re(this,P,q).call(this);const t=Array.from(this.querySelectorAll('[role="menuitem"][aria-haspopup]'));for(const n of t)n.invokeTargetElement!=e.target&&("open"!=e.newState||"true"!=n.getAttribute("aria-expanded")||n.invokeTargetElement.hidden||n.invokeTargetElement.dispatchEvent(new l({relatedTarget:n})));for(const e of t)e.setAttribute("aria-expanded",`${!e.submenuElement.hidden}`);re(this,R,N).call(this,!0)},P=new WeakSet,q=function(){const e=this.querySelector('[role="menuitem"] > [role="menu"]:not([hidden])');this.container.classList.toggle("has-expanded",!!e)},V=new WeakSet,F=function(e){var t;(0,ne.qg)(this,e.relatedTarget)||(se(this,v)&&(null==(t=se(this,c))||t.focus()),se(this,d)&&se(this,d)!==e.relatedTarget&&!this.hidden&&(this.hidden=!0))},K=new WeakSet,Z=function(e){var t,n,i,s,a;const{key:o,ctrlKey:r,altKey:l,metaKey:h}=e;if(!(r||l||h)&&this.keysUsed.includes(o))if(e.preventDefault(),e.stopPropagation(),"Tab"===o){if(se(this,v))return void(this.hidden=!0);e.shiftKey?null==(n=null==(t=this.previousElementSibling)?void 0:t.focus)||n.call(t):null==(s=null==(i=this.nextElementSibling)?void 0:i.focus)||s.call(i),this.blur()}else"Escape"===o?(null==(a=se(this,c))||a.focus(),se(this,v)&&(this.hidden=!0)):"Enter"===o||" "===o?this.handleSelect(e):this.handleMove(e)},j=new WeakSet,z=function(e){return e.composedPath().find((e=>["menuitemradio","menuitemcheckbox"].includes(e.role)))},Y=new WeakSet,Q=function(){return this.items.find((e=>0===e.tabIndex))},J=new WeakSet,X=function(e){for(const t of this.items)t.tabIndex=t===e?0:-1},ee=new WeakSet,te=function(e,t){const n=[...this.checkedItems];"radio"===e.type&&this.radioGroupItems.forEach((e=>e.checked=!1)),e.checked=!t||!e.checked,this.checkedItems.some(((e,t)=>e!=n[t]))&&this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))},me.shadowRootOptions={mode:"open"},me.getTemplateHTML=function(e){return'\n <style>\n :host {\n font: var(--media-font,\n var(--media-font-weight, normal)\n var(--media-font-size, 14px) /\n var(--media-text-content-height, var(--media-control-height, 24px))\n var(--media-font-family, helvetica neue, segoe ui, roboto, arial, sans-serif));\n color: var(--media-text-color, var(--media-primary-color, rgb(238 238 238)));\n --_menu-bg: rgb(20 20 30 / .8);\n background: var(--media-menu-background, var(--media-control-background, var(--media-secondary-color, var(--_menu-bg))));\n border-radius: var(--media-menu-border-radius);\n border: var(--media-menu-border, none);\n display: var(--media-menu-display, inline-flex) !important;\n \n transition: var(--media-menu-transition-in,\n visibility 0s,\n opacity .2s ease-out,\n transform .15s ease-out,\n left .2s ease-in-out,\n min-width .2s ease-in-out,\n min-height .2s ease-in-out\n ) !important;\n \n visibility: var(--media-menu-visibility, visible);\n opacity: var(--media-menu-opacity, 1);\n max-height: var(--media-menu-max-height, var(--_menu-max-height, 300px));\n transform: var(--media-menu-transform-in, translateY(0) scale(1));\n flex-direction: column;\n \n min-height: 0;\n position: relative;\n bottom: var(--_menu-bottom);\n box-sizing: border-box;\n } \n\n @-moz-document url-prefix() {\n :host{\n --_menu-bg: rgb(20 20 30);\n }\n }\n\n :host([hidden]) {\n transition: var(--media-menu-transition-out,\n visibility .15s ease-in,\n opacity .15s ease-in,\n transform .15s ease-in\n ) !important;\n visibility: var(--media-menu-hidden-visibility, hidden);\n opacity: var(--media-menu-hidden-opacity, 0);\n max-height: var(--media-menu-hidden-max-height,\n var(--media-menu-max-height, var(--_menu-max-height, 300px)));\n transform: var(--media-menu-transform-out, translateY(2px) scale(.99));\n pointer-events: none;\n }
1\n\n :host([slot="submenu"]) {\n background: none;\n width: 100%;\n min-height: 100%;\n position: absolute;\n bottom: 0;\n right: -100%;\n }\n\n #container {\n display: flex;\n flex-direction: column;\n min-height: 0;\n transition: transform .2s ease-out;\n transform: translate(0, 0);\n }\n\n #container.has-expanded {\n transition: transform .2s ease-in;\n transform: translate(-100%, 0);\n }\n\n button {\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n outline: inherit;\n display: inline-flex;\n align-items: center;\n }\n\n slot[name="header"][hidden] {\n display: none;\n }\n\n slot[name="header"] > *,\n slot[name="header"]::slotted(*) {\n padding: .4em .7em;\n border-bottom: 1px solid rgb(255 255 255 / .25);\n cursor: var(--media-cursor, default);\n }\n\n slot[name="header"] > button[part~="back"],\n slot[name="header"]::slotted(button[part~="back"]) {\n cursor: var(--media-cursor, pointer);\n }\n\n svg[part~="back"] {\n height: var(--media-menu-icon-height, var(--media-control-height, 24px));\n fill: var(--media-icon-color, var(--media-primary-color, rgb(238 238 238)));\n display: block;\n margin-right: .5ch;\n }\n\n slot:not([name]) {\n gap: var(--media-menu-gap);\n flex-direction: var(--media-menu-flex-direction, column);\n overflow: var(--media-menu-overflow, hidden auto);\n display: flex;\n min-height: 0;\n }\n\n :host([role="menu"]) slot:not([name]) {\n padding-block: .4em;\n }\n\n slot:not([name])::slotted([role="menu"]) {\n background: none;\n }\n\n media-chrome-menu-item > span {\n margin-right: .5ch;\n max-width: var(--media-menu-item-max-width);\n text-overflow: ellipsis;\n overflow: hidden;\n }\n </style>\n <style id="layout-row" media="width:0">\n\n slot[name="header"] > *,\n slot[name="header"]::slotted(*) {\n padding: .4em .5em;\n }\n\n slot:not([name]) {\n gap: var(--media-menu-gap, .25em);\n flex-direction: var(--media-menu-flex-direction, row);\n padding-inline: .5em;\n }\n\n media-chrome-menu-item {\n padding: .3em .5em;\n }\n\n media-chrome-menu-item[aria-checked="true"] {\n background: var(--media-menu-item-checked-background, rgb(255 255 255 / .2));\n }\n\n \n media-chrome-menu-item::part(checked-indicator) {\n display: var(--media-menu-item-checked-indicator-display, none);\n }\n </style>\n <div id="container" part="container">\n <slot name="header" hidden>\n <button part="back button" aria-label="Back to previous menu">\n <slot name="back-icon">\n <svg aria-hidden="true" viewBox="0 0 20 24" part="back indicator">\n <path d="m11.88 17.585.742-.669-4.2-4.665 4.2-4.666-.743-.669-4.803 5.335 4.803 5.334Z"/>\n </svg>\n </slot>\n <slot name="title"></slot>\n </button>\n </slot>\n <slot></slot>\n </div>\n <slot name="checked-indicator" hidden></slot>\n '},s.Au.customElements.get("media-chrome-menu")||s.Au.customElements.define("media-chrome-menu",me);var fe,be,ge,ke,Ee,Ae,ye,we,Te,Se,xe,Ce,Me,Ie=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Le=(e,t,n)=>(Ie(e,t,"read from private field"),n?n.call(e):t.get(e)),_e=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},We=(e,t,n,i)=>(Ie(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),De=(e,t,n)=>(Ie(e,t,"access private method"),n);const Re="type",Ne="value",He="checked",Ge="disabled";class Be extends s.Au.HTMLElement{constructor(){if(super(),_e(this,ge),_e(this,Ee),_e(this,ye),_e(this,Ce),_e(this,fe,!1),_e(this,be,void 0),_e(this,Te,(()=>{var e,t;this.submenuElement.items&&this.setAttribute("submenusize",`${this.submenuElement.items.length}`);const n=this.shadowRoot.querySelector('slot[name="description"]'),i=null==(e=this.submenuElement.checkedItems)?void 0:e[0],a=null!=(t=null==i?void 0:i.dataset.description)?t:null==i?void 0:i.text,o=s.Al.createElement("span");o.textContent=null!=a?a:"",n.replaceChildren(o)})),_e(this,Se,(e=>{const{key:t}=e;this.keysUsed.includes(t)?this.handleClick(e):this.removeEventListener("keyup",Le(this,Se))})),_e(this,xe,(e=>{const{metaKey:t,altKey:n,key:i}=e;
1t||n||!this.keysUsed.includes(i)?this.removeEventListener("keyup",Le(this,Se)):this.addEventListener("keyup",Le(this,Se),{once:!0})})),!this.shadowRoot){this.attachShadow(this.constructor.shadowRootOptions);const e=(0,ne.kg)(this.attributes);this.shadowRoot.innerHTML=this.constructor.getTemplateHTML(e)}}static get observedAttributes(){return[Re,Ge,He,Ne]}enable(){this.hasAttribute("tabindex")||this.setAttribute("tabindex","-1"),Oe(this)&&!this.hasAttribute("aria-checked")&&this.setAttribute("aria-checked","false"),this.addEventListener("click",this),this.addEventListener("keydown",this)}disable(){this.removeAttribute("tabindex"),this.removeEventListener("click",this),this.removeEventListener("keydown",this),this.removeEventListener("keyup",this)}handleEvent(e){switch(e.type){case"slotchange":De(this,ge,ke).call(this,e);break;case"click":this.handleClick(e);break;case"keydown":Le(this,xe).call(this,e);break;case"keyup":Le(this,Se).call(this,e)}}attributeChangedCallback(e,t,n){e===He&&Oe(this)&&!Le(this,fe)?this.setAttribute("aria-checked",null!=n?"true":"false"):e===Re&&n!==t?this.role="menuitem"+n:e===Ge&&n!==t&&(null==n?this.enable():this.disable())}connectedCallback(){this.hasAttribute(Ge)||this.enable(),this.role="menuitem"+this.type,We(this,be,$e(this,this.parentNode)),De(this,Ce,Me).call(this),this.submenuElement&&De(this,Ee,Ae).call(this),this.shadowRoot.addEventListener("slotchange",this)}disconnectedCallback(){this.disable(),De(this,Ce,Me).call(this),We(this,be,null),this.shadowRoot.removeEventListener("slotchange",this)}get invokeTarget(){return this.getAttribute("invoketarget")}set invokeTarget(e){this.setAttribute("invoketarget",`${e}`)}get invokeTargetElement(){var e;return this.invokeTarget?null==(e=(0,ne.l5)(this))?void 0:e.querySelector(`#${this.invokeTarget}`):this.submenuElement}get submenuElement(){return this.shadowRoot.querySelector('slot[name="submenu"]').assignedElements({flatten:!0})[0]}get type(){var e;return null!=(e=this.getAttribute(Re))?e:""}set type(e){this.setAttribute(Re,`${e}`)}get value(){var e;return null!=(e=this.getAttribute(Ne))?e:this.text}set value(e){this.setAttribute(Ne,e)}get text(){var e;return(null!=(e=this.textContent)?e:"").trim()}get checked(){if(Oe(this))return"true"===this.getAttribute("aria-checked")}set checked(e){Oe(this)&&(We(this,fe,!0),this.setAttribute("aria-checked",e?"true":"false"),e?this.part.add("checked"):this.part.remove("checked"))}handleClick(e){Oe(this)||this.invokeTargetElement&&(0,ne.qg)(this,e.target)&&this.invokeTargetElement.dispatchEvent(new l({relatedTarget:this}))}get keysUsed(){return["Enter"," "]}}function Oe(e){return"radio"===e.type||"checkbox"===e.type}function $e(e,t){if(!e)return null;const{host:n}=e.getRootNode();return!t&&n?$e(e,n):(null==t?void 0:t.items)?t:$e(t,null==t?void 0:t.parentNode)}fe=new WeakMap,be=new WeakMap,ge=new WeakSet,ke=function(e){const t=e.target;if(!(null==t?void 0:t.name))for(const e of t.assignedNodes({flatten:!0}))e instanceof Text&&""===e.textContent.trim()&&e.remove();"submenu"===t.name&&(this.submenuElement?De(this,Ee,Ae).call(this):De(this,ye,we).call(this))},Ee=new WeakSet,Ae=async function(){this.setAttribute("aria-haspopup","menu"),this.setAttribute("aria-expanded",`${!this.submenuElement.hidden}`),this.submenuElement.addEventListener("change",Le(this,Te)),this.submenuElement.addEventListener("addmenuitem",Le(this,Te)),this.submenuElement.addEventListener("removemenuitem",Le(this,Te)),Le(this,Te).call(this)},ye=new WeakSet,we=function(){this.removeAttribute("aria-haspopup"),this.removeAttribute("aria-expanded"),this.submenuElement.removeEventListener("change",Le(this,Te)),this.submenuElement.removeEventListener("addmenuitem",Le(this,Te)),this.submenuElement.removeEventListener("removemenuitem",Le(this,Te)),Le(this,Te).call(this)},Te=new WeakMap,Se=new WeakMap,xe=new WeakMap,Ce=new WeakSet,Me=function(){var e;const t=null==(e=Le(this,be))?void 0:e.radioGroupItems;if(!t)return;let n=t.filter((e=>"true"===e.getAttribute("aria-checked"))).pop();n||(n=t[0]);for(const e of t)e.setAttribute("aria-checked","false");null==n||n.setAttribute("aria-checked","true")},Be.shadowRootOptions={mode:"open"},Be.getTemplateHTML=function(e){return`\n <style>\n :host {\n transition: var(--media-menu-item-transition,\n background .15s linear,\n opacity .2s ease-in-out\n );\n outline: var(--media-menu-item-outline, 0);\n outline-offset: var(--media-menu-item-outline-offset, -1px);\n cursor: var(--media-cursor, pointer);\n display: flex;\n align-items: center;\n align-self: stretch;\n justify-self: stretch;\n white-space: nowrap;\n white-space-collapse: collapse;\n text-wrap: nowrap;\n padding: .4em .8em .4em 1em;\n }\n\n :host(:focus-visible) {\n box-shadow: var(--media-menu-item-focus-shadow, inset 0 0 0 2px rgb(27 127 204 / .9));\n outline: var(--media-menu-item-hover-outline, 0);\n outline-offset: var(--media-menu-item-hover-outline-offset, var(--media-menu-item-outline-offset, -1px));\n }\n\n :host(:hover) {\n cursor: var(--media-cursor, pointer);\n background: var(--media-menu-item-hover-background, rgb(92 92 102 / .5));\n outline: var(--media-menu-item-hover-outline);\n outline-offset: var(--media-menu-item-hover-outline-offset, var(--media-menu-item-outline-offset, -1px));\n }\n\n :host([aria-checked="true"]) {\n background: var(--media-menu-item-checked-background);\n }\n\n :host([hidden]) {\n display: none;\n }\n\n :host([disabled]) {\n pointer-events: none;\n color: rgba(255, 255, 255, .3);\n }\n\n slot:not([name]) {\n width: 100%;\n }
1\n\n slot:not([name="submenu"]) {\n display: inline-flex;\n align-items: center;\n transition: inherit;\n opacity: var(--media-menu-item-opacity, 1);\n }\n\n slot[name="description"] {\n justify-content: end;\n }\n\n slot[name="description"] > span {\n display: inline-block;\n margin-inline: 1em .2em;\n max-width: var(--media-menu-item-description-max-width, 100px);\n text-overflow: ellipsis;\n overflow: hidden;\n font-size: .8em;\n font-weight: 400;\n text-align: right;\n position: relative;\n top: .04em;\n }\n\n slot[name="checked-indicator"] {\n display: none;\n }\n\n :host(:is([role="menuitemradio"],[role="menuitemcheckbox"])) slot[name="checked-indicator"] {\n display: var(--media-menu-item-checked-indicator-display, inline-block);\n }\n\n \n svg, img, ::slotted(svg), ::slotted(img) {\n height: var(--media-menu-item-icon-height, var(--media-control-height, 24px));\n fill: var(--media-icon-color, var(--media-primary-color, rgb(238 238 238)));\n display: block;\n }\n\n \n [part~="indicator"],\n ::slotted([part~="indicator"]) {\n fill: var(--media-menu-item-indicator-fill,\n var(--media-icon-color, var(--media-primary-color, rgb(238 238 238))));\n height: var(--media-menu-item-indicator-height, 1.25em);\n margin-right: .5ch;\n }\n\n [part~="checked-indicator"] {\n visibility: hidden;\n }\n\n :host([aria-checked="true"]) [part~="checked-indicator"] {\n visibility: visible;\n }\n </style>\n <slot name="checked-indicator">\n <svg aria-hidden="true" viewBox="0 1 24 24" part="checked-indicator indicator">\n <path d="m10 15.17 9.193-9.191 1.414 1.414-10.606 10.606-6.364-6.364 1.414-1.414 4.95 4.95Z"/>\n </svg>\n </slot>\n <slot name="prefix"></slot>\n <slot></slot>\n <slot name="description"></slot>\n <slot name="suffix">\n ${this.getSuffixSlotInnerHTML(e)}\n </slot>\n <slot name="submenu"></slot>\n `},Be.getSuffixSlotInnerHTML=function(e){return""},s.Au.customElements.get("media-chrome-menu-item")||s.Au.customElements.define("media-chrome-menu-item",Be);class Ue extends me{get anchorElement(){return"auto"!==this.anchor?super.anchorElement:(0,ne.Bk)(this).querySelector("media-settings-menu-button")}}Ue.getTemplateHTML=function(e){return`\n ${me.getTemplateHTML(e)}\n <style>\n :host {\n --_menu-bg: rgb(20 20 30 / .8);\n background: var(--media-settings-menu-background,\n var(--media-menu-background,\n var(--media-control-background,\n var(--media-secondary-color, var(--_menu-bg)))));\n min-width: var(--media-settings-menu-min-width, 170px);\n border-radius: 2px 2px 0 0;\n overflow: hidden;\n }\n\n @-moz-document url-prefix() {\n :host{\n --_menu-bg: rgb(20 20 30);\n }\n }\n\n :host([role="menu"]) {\n \n justify-content: end;\n }\n\n slot:not([name]) {\n justify-content: var(--media-settings-menu-justify-content);\n flex-direction: var(--media-settings-menu-flex-direction, column);\n overflow: visible;\n }\n\n #container.has-expanded {\n --media-settings-menu-item-opacity: 0;\n }\n </style>\n `},s.Au.customElements.get("media-settings-menu")||s.Au.customElements.define("media-settings-menu",Ue);class Pe extends Be{}Pe.shadowRootOptions={mode:"open"},Pe.getTemplateHTML=function(e){return`\n ${Be.getTemplateHTML.call(this,e)}\n <style>\n slot:not([name="submenu"]) {\n opacity: var(--media-settings-menu-item-opacity, var(--media-menu-item-opacity));\n }\n\n :host([aria-expanded="true"]:hover) {\n background: transparent;\n }\n </style>\n `},Pe.getSuffixSlotInnerHTML=function(e){return'\n <svg aria-hidden="true" viewBox="0 0 20 24">\n <path d="m8.12 17.585-.742-.669 4.2-4.665-4.2-4.666.743-.669 4.803 5.335-4.803 5.334Z"/>\n </svg>\n '},s.Au.customElements.get("media-settings-menu-item")||s.Au.customElements.define("media-settings-menu-item",Pe);var qe=n(7358);class Ve extends qe.T{connectedCallback(){super.connectedCallback(),this.invokeTargetElement&&this.setAttribute("aria-haspopup","menu")}get invokeTarget(){return this.getAttribute("invoketarget")}set invokeTarget(e){this.setAttribute("invoketarget",`${e}`)}get invokeTargetElement(){var e;return this.invokeTarget?null==(e=(0,ne.l5)(this))?void 0:e.querySelector(`#${this.invokeTarget}`):null}handleClick(){var e;null==(e=this.invokeTargetElement)||e.dispatchEvent(new l({relatedTarget:this}))}}s.Au.customElements.get("media-chrome-menu-button")||s.Au.customElements.define("media-chrome-menu-button",Ve);var Fe=n(68218);class Ke extends Ve{static get observedAttributes(){return[...super.observedAttributes,"target"]}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-label",(0,Fe.t)("settings"))}get invokeTargetElement(){return null!=this.invokeTarget?super.invokeTargetElement:(0,ne.Bk)(this).querySelector("media-settings-menu")}}Ke.getSlotTemplateHTML=function(){return'\n <style>\n :host([aria-expanded="true"]) slot[name=tooltip] {\n display: none;\n }\n </style>\n <slot name="icon">\n <svg aria-hidden="true" viewBox="0 0 24 24">\n <path d="M4.5 14.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm7.5 0a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm7.5 0a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"/>\n </svg>\n </slot>\n '},Ke.getTooltipContentHTML=function(){return(0,Fe.t)("Settings")},s.Au.customElements.get("media-settings-menu-button")||s.Au.customElements.define("media-settings-menu-button",Ke);var Ze,je,ze,Ye,Qe,Je,Xe=n(8257),et=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},tt=(e,t,n)=>(et(e,t,"read from private field"),n?n.call(e):t.get(e)),nt=(e,t,n
1)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},it=(e,t,n,i)=>(et(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),st=(e,t,n)=>(et(e,t,"access private method"),n);Ze=new WeakMap,je=new WeakMap,ze=new WeakSet,Ye=function(){if(tt(this,je)===JSON.stringify(this.mediaAudioTrackList))return;it(this,je,JSON.stringify(this.mediaAudioTrackList));const e=this.mediaAudioTrackList;this.defaultSlot.textContent="",e.sort(((e,t)=>e.id.localeCompare(t.id,void 0,{numeric:!0})));for(const t of e){const e=le({type:"radio",text:this.formatMenuItemText(t.label,t),value:`${t.id}`,checked:t.enabled});e.prepend(he(this,"checked-indicator")),this.defaultSlot.append(e)}},Qe=new WeakSet,Je=function(){if(null==this.value)return;const e=new s.Au.CustomEvent(i.a8.MEDIA_AUDIO_TRACK_REQUEST,{composed:!0,bubbles:!0,detail:this.value});this.dispatchEvent(e)},s.Au.customElements.get("media-audio-track-menu")||s.Au.customElements.define("media-audio-track-menu",class extends me{constructor(){super(...arguments),nt(this,ze),nt(this,Qe),nt(this,Ze,[]),nt(this,je,void 0)}static get observedAttributes(){return[...super.observedAttributes,i.GC.MEDIA_AUDIO_TRACK_LIST,i.GC.MEDIA_AUDIO_TRACK_ENABLED,i.GC.MEDIA_AUDIO_TRACK_UNAVAILABLE]}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===i.GC.MEDIA_AUDIO_TRACK_ENABLED&&t!==n?this.value=n:e===i.GC.MEDIA_AUDIO_TRACK_LIST&&t!==n&&(it(this,Ze,(0,Xe.j3)(null!=n?n:"")),st(this,ze,Ye).call(this))}connectedCallback(){super.connectedCallback(),this.addEventListener("change",st(this,Qe,Je))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("change",st(this,Qe,Je))}get anchorElement(){var e;return"auto"!==this.anchor?super.anchorElement:null==(e=(0,ne.Bk)(this))?void 0:e.querySelector("media-audio-track-menu-button")}get mediaAudioTrackList(){return tt(this,Ze)}set mediaAudioTrackList(e){it(this,Ze,e),st(this,ze,Ye).call(this)}get mediaAudioTrackEnabled(){var e;return null!=(e=(0,ne.vT)(this,i.GC.MEDIA_AUDIO_TRACK_ENABLED))?e:""}set mediaAudioTrackEnabled(e){(0,ne.tA)(this,i.GC.MEDIA_AUDIO_TRACK_ENABLED,e)}});const at=e=>{const t=(0,Fe.t)("Audio");e.setAttribute("aria-label",t)};class ot extends Ve{static get observedAttributes(){return[...super.observedAttributes,i.GC.MEDIA_AUDIO_TRACK_ENABLED,i.GC.MEDIA_AUDIO_TRACK_UNAVAILABLE]}connectedCallback(){super.connectedCallback(),at(this)}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===i.GC.MEDIA_LANG&&at(this)}get invokeTargetElement(){var e;return null!=this.invokeTarget?super.invokeTargetElement:null==(e=(0,ne.Bk)(this))?void 0:e.querySelector("media-audio-track-menu")}get mediaAudioTrackEnabled(){var e;return null!=(e=(0,ne.vT)(this,i.GC.MEDIA_AUDIO_TRACK_ENABLED))?e:""}set mediaAudioTrackEnabled(e){(0,ne.tA)(this,i.GC.MEDIA_AUDIO_TRACK_ENABLED,e)}}ot.getSlotTemplateHTML=function(){return'\n <style>\n :host([aria-expanded="true"]) slot[name=tooltip] {\n display: none;\n }\n </style>\n <slot name="icon"><svg aria-hidden="true" viewBox="0 0 24 24">\n <path d="M11 17H9.5V7H11v10Zm-3-3H6.5v-4H8v4Zm6-5h-1.5v6H14V9Zm3 7h-1.5V8H17v8Z"/>\n <path d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-2 0a8 8 0 1 0-16 0 8 8 0 0 0 16 0Z"/>\n</svg></slot>\n '},ot.getTooltipContentHTML=function(){return(0,Fe.t)("Audio")},s.Au.customElements.get("media-audio-track-menu-button")||s.Au.customElements.define("media-audio-track-menu-button",ot);var rt,lt,ht,ut,ct,dt=n(73813),mt=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},pt=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},vt=(e,t,n)=>(mt(e,t,"access private method"),n);class ft extends me{constructor(){super(...arguments),pt(this,lt),pt(this,ut),pt(this,rt,void 0)}static get observedAttributes(){return[...super.observedAttributes,i.GC.MEDIA_SUBTITLES_LIST,i.GC.MEDIA_SUBTITLES_SHOWING]}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===i.GC.MEDIA_SUBTITLES_LIST&&t!==n?vt(this,lt,ht).call(this):e===i.GC.MEDIA_SUBTITLES_SHOWING&&t!==n&&(this.value=n||"",vt(this,lt,ht).call(this))}connectedCallback(){super.connectedCallback(),this.addEventListener("change",vt(this,ut,ct))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("change",vt(this,ut,ct))}get anchorElement(){return"auto"!==this.anchor?super.anchorElement:(0,ne.Bk)(this).querySelector("media-captions-menu-button")}get mediaSubtitlesList(){return bt(this,i.GC.MEDIA_SUBTITLES_LIST)}set mediaSubtitlesList(e){gt(this,i.GC.MEDIA_SUBTITLES_LIST,e)}get mediaSubtitlesShowing(){return bt(this,i.GC.MEDIA_SUBTITLES_SHOWING)}set mediaSubtitlesShowing(e){gt(this,i.GC.MEDIA_SUBTITLES_SHOWING,e)}}rt=new WeakMap,lt=new WeakSet,ht=function(){var e;const t=(mt(this,n=rt,"read from private field"),n.get(this)!==JSON.stringify(this.mediaSubtitlesList));var n;const s=this.value!==this.getAttribute(i.GC.MEDIA_SUBTITLES_SHOWING);if(!t&&!s)return;
1((e,t,n)=>{mt(e,t,"write to private field"),t.set(e,n)})(this,rt,JSON.stringify(this.mediaSubtitlesList)),this.defaultSlot.textContent="";const a=!this.value,o=le({type:"radio",text:this.formatMenuItemText((0,Fe.t)("Off")),value:"off",checked:a});o.prepend(he(this,"checked-indicator")),this.defaultSlot.append(o);const r=this.mediaSubtitlesList;for(const t of r){const n=le({type:"radio",text:this.formatMenuItemText(t.label,t),value:(0,dt.PH)(t),checked:this.value==(0,dt.PH)(t)});n.prepend(he(this,"checked-indicator")),"captions"===(null!=(e=t.kind)?e:"subs")&&n.append(he(this,"captions-indicator")),this.defaultSlot.append(n)}},ut=new WeakSet,ct=function(){const e=this.mediaSubtitlesShowing,t=this.getAttribute(i.GC.MEDIA_SUBTITLES_SHOWING),n=this.value!==t;if((null==e?void 0:e.length)&&n&&this.dispatchEvent(new s.Au.CustomEvent(i.a8.MEDIA_DISABLE_SUBTITLES_REQUEST,{composed:!0,bubbles:!0,detail:e})),!this.value||!n)return;const a=new s.Au.CustomEvent(i.a8.MEDIA_SHOW_SUBTITLES_REQUEST,{composed:!0,bubbles:!0,detail:this.value});this.dispatchEvent(a)},ft.getTemplateHTML=function(e){return`\n ${me.getTemplateHTML(e)}\n <slot name="captions-indicator" hidden>\n <svg aria-hidden="true" viewBox="0 0 26 24" part="captions-indicator indicator">\n <path d="M22.83 5.68a2.58 2.58 0 0 0-2.3-2.5c-3.62-.24-11.44-.24-15.06 0a2.58 2.58 0 0 0-2.3 2.5c-.23 4.21-.23 8.43 0 12.64a2.58 2.58 0 0 0 2.3 2.5c3.62.24 11.44.24 15.06 0a2.58 2.58 0 0 0 2.3-2.5c.23-4.21.23-8.43 0-12.64Zm-11.39 9.45a3.07 3.07 0 0 1-1.91.57 3.06 3.06 0 0 1-2.34-1 3.75 3.75 0 0 1-.92-2.67 3.92 3.92 0 0 1 .92-2.77 3.18 3.18 0 0 1 2.43-1 2.94 2.94 0 0 1 2.13.78c.364.359.62.813.74 1.31l-1.43.35a1.49 1.49 0 0 0-1.51-1.17 1.61 1.61 0 0 0-1.29.58 2.79 2.79 0 0 0-.5 1.89 3 3 0 0 0 .49 1.93 1.61 1.61 0 0 0 1.27.58 1.48 1.48 0 0 0 1-.37 2.1 2.1 0 0 0 .59-1.14l1.4.44a3.23 3.23 0 0 1-1.07 1.69Zm7.22 0a3.07 3.07 0 0 1-1.91.57 3.06 3.06 0 0 1-2.34-1 3.75 3.75 0 0 1-.92-2.67 3.88 3.88 0 0 1 .93-2.77 3.14 3.14 0 0 1 2.42-1 3 3 0 0 1 2.16.82 2.8 2.8 0 0 1 .73 1.31l-1.43.35a1.49 1.49 0 0 0-1.51-1.21 1.61 1.61 0 0 0-1.29.58A2.79 2.79 0 0 0 15 12a3 3 0 0 0 .49 1.93 1.61 1.61 0 0 0 1.27.58 1.44 1.44 0 0 0 1-.37 2.1 2.1 0 0 0 .6-1.15l1.4.44a3.17 3.17 0 0 1-1.1 1.7Z"/>\n </svg></slot>\n `};const bt=(e,t)=>{const n=e.getAttribute(t);return n?(0,dt.W5)(n):[]},gt=(e,t,n)=>{if(!(null==n?void 0:n.length))return void e.removeAttribute(t);const i=(0,dt.mc)(n);e.getAttribute(t)!==i&&e.setAttribute(t,i)};s.Au.customElements.get("media-captions-menu")||s.Au.customElements.define("media-captions-menu",ft);const kt=e=>{e.setAttribute("data-captions-enabled",(0,dt.VV)(e).toString())},Et=e=>{e.setAttribute("aria-label",(0,Fe.t)("closed captions"))};class At extends Ve{static get observedAttributes(){return[...super.observedAttributes,i.GC.MEDIA_SUBTITLES_LIST,i.GC.MEDIA_SUBTITLES_SHOWING,i.GC.MEDIA_LANG]}connectedCallback(){super.connectedCallback(),Et(this),kt(this)}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===i.GC.MEDIA_SUBTITLES_SHOWING?kt(this):e===i.GC.MEDIA_LANG&&Et(this)}get invokeTargetElement(){var e;return null!=this.invokeTarget?super.invokeTargetElement:null==(e=(0,ne.Bk)(this))?void 0:e.querySelector("media-captions-menu")}get mediaSubtitlesList(){return yt(this,i.GC.MEDIA_SUBTITLES_LIST)}set mediaSubtitlesList(e){wt(this,i.GC.MEDIA_SUBTITLES_LIST,e)}get mediaSubtitlesShowing(){return yt(this,i.GC.MEDIA_SUBTITLES_SHOWING)}set mediaSubtitlesShowing(e){wt(this,i.GC.MEDIA_SUBTITLES_SHOWING,e)}}At.getSlotTemplateHTML=function(){return'\n <style>\n :host([data-captions-enabled="true"]) slot[name=off] {\n display: none !important;\n }\n\n \n :host(:not([data-captions-enabled="true"])) slot[name=on] {\n display: none !important;\n }\n\n :host([aria-expanded="true"]) slot[name=tooltip] {\n display: none;\n }\n </style>\n\n <slot name="icon">\n <slot name="on"><svg aria-hidden="true" viewBox="0 0 26 24">\n <path d="M22.83 5.68a2.58 2.58 0 0 0-2.3-2.5c-3.62-.24-11.44-.24-15.06 0a2.58 2.58 0 0 0-2.3 2.5c-.23 4.21-.23 8.43 0 12.64a2.58 2.58 0 0 0 2.3 2.5c3.62.24 11.44.24 15.06 0a2.58 2.58 0 0 0 2.3-2.5c.23-4.21.23-8.43 0-12.64Zm-11.39 9.45a3.07 3.07 0 0 1-1.91.57 3.06 3.06 0 0 1-2.34-1 3.75 3.75 0 0 1-.92-2.67 3.92 3.92 0 0 1 .92-2.77 3.18 3.18 0 0 1 2.43-1 2.94 2.94 0 0 1 2.13.78c.364.359.62.813.74 1.31l-1.43.35a1.49 1.49 0 0 0-1.51-1.17 1.61 1.61 0 0 0-1.29.58 2.79 2.79
10 0 0-.5 1.89 3 3 0 0 0 .49 1.93 1.61 1.61 0 0 0 1.27.58 1.48 1.48 0 0 0 1-.37 2.1 2.1 0 0 0 .59-1.14l1.4.44a3.23 3.23 0 0 1-1.07 1.69Zm7.22 0a3.07 3.07 0 0 1-1.91.57 3.06 3.06 0 0 1-2.34-1 3.75 3.75 0 0 1-.92-2.67 3.88 3.88 0 0 1 .93-2.77 3.14 3.14 0 0 1 2.42-1 3 3 0 0 1 2.16.82 2.8 2.8 0 0 1 .73 1.31l-1.43.35a1.49 1.49 0 0 0-1.51-1.21 1.61 1.61 0 0 0-1.29.58A2.79 2.79 0 0 0 15 12a3 3 0 0 0 .49 1.93 1.61 1.61 0 0 0 1.27.58 1.44 1.44 0 0 0 1-.37 2.1 2.1 0 0 0 .6-1.15l1.4.44a3.17 3.17 0 0 1-1.1 1.7Z"/>\n</svg></slot>\n <slot name="off"><svg aria-hidden="true" viewBox="0 0 26 24">\n <path d="M17.73 14.09a1.4 1.4 0 0 1-1 .37 1.579 1.579 0 0 1-1.27-.58A3 3 0 0 1 15 12a2.8 2.8 0 0 1 .5-1.85 1.63 1.63 0 0 1 1.29-.57 1.47 1.47 0 0 1 1.51 1.2l1.43-.34A2.89 2.89 0 0 0 19 9.07a3 3 0 0 0-2.14-.78 3.14 3.14 0 0 0-2.42 1 3.91 3.91 0 0 0-.93 2.78 3.74 3.74 0 0 0 .92 2.66 3.07 3.07 0 0 0 2.34 1 3.07 3.07 0 0 0 1.91-.57 3.17 3.17 0 0 0 1.07-1.74l-1.4-.45c-.083.43-.3.822-.62 1.12Zm-7.22 0a1.43 1.43 0 0 1-1 .37 1.58 1.58 0 0 1-1.27-.58A3 3 0 0 1 7.76 12a2.8 2.8 0 0 1 .5-1.85 1.63 1.63 0 0 1 1.29-.57 1.47 1.47 0 0 1 1.51 1.2l1.43-.34a2.81 2.81 0 0 0-.74-1.32 2.94 2.94 0 0 0-2.13-.78 3.18 3.18 0 0 0-2.43 1 4 4 0 0 0-.92 2.78 3.74 3.74 0 0 0 .92 2.66 3.07 3.07 0 0 0 2.34 1 3.07 3.07 0 0 0 1.91-.57 3.23 3.23 0 0 0 1.07-1.74l-1.4-.45a2.06 2.06 0 0 1-.6 1.07Zm12.32-8.41a2.59 2.59 0 0 0-2.3-2.51C18.72 3.05 15.86 3 13 3c-2.86 0-5.72.05-7.53.17a2.59 2.59 0 0 0-2.3 2.51c-.23 4.207-.23 8.423 0 12.63a2.57 2.57 0 0 0 2.3 2.5c1.81.13 4.67.19 7.53.19 2.86 0 5.72-.06 7.53-.19a2.57 2.57 0 0 0 2.3-2.5c.23-4.207.23-8.423 0-12.63Zm-1.49 12.53a1.11 1.11 0 0 1-.91 1.11c-1.67.11-4.45.18-7.43.18-2.98 0-5.76-.07-7.43-.18a1.11 1.11 0 0 1-.91-1.11c-.21-4.14-.21-8.29 0-12.43a1.11 1.11 0 0 1 .91-1.11C7.24 4.56 10 4.49 13 4.49s5.76.07 7.43.18a1.11 1.11 0 0 1 .91 1.11c.21 4.14.21 8.29 0 12.43Z"/>\n</svg></slot>\n </slot>\n '},At.getTooltipContentHTML=function(){return(0,Fe.t)("Captions")};const yt=(e,t)=>{const n=e.getAttribute(t);return n?(0,dt.W5)(n):[]},wt=(e,t,n)=>{if(!(null==n?void 0:n.length))return void e.removeAttribute(t);const i=(0,dt.mc)(n);e.getAttribute(t)!==i&&e.setAttribute(t,i)};s.Au.customElements.get("media-captions-menu-button")||s.Au.customElements.define("media-captions-menu-button",At);var Tt,St,xt,Ct,Mt,It=n(10273),Lt=n(10),_t=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Wt=(e,t,n)=>(_t(e,t,"read from private field"),n?n.call(e):t.get(e)),Dt=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Rt=(e,t,n)=>(_t(e,t,"access private method"),n);const Nt="rates";Tt=new WeakMap,St=new WeakSet,xt=function(){this.defaultSlot.textContent="";const e=(0,Lt.V5)(this.mediaPlaybackRate),t=new Set(Array.from(Wt(this,Tt)).map((e=>(0,Lt.V5)(Number(e)))));e>0&&!t.has(e)&&t.add(e);const n=Array.from(t).sort(((e,t)=>e-t));for(const t of n){const n=le({type:"radio",text:this.formatMenuItemText(`${t}x`,t),value:t.toString(),checked:e===t});n.prepend(he(this,"checked-indicator")),this.defaultSlot.append(n)}},Ct=new WeakSet,Mt=function(){if(!this.value)return;const e=new s.Au.CustomEvent(i.a8.MEDIA_PLAYBACK_RATE_REQUEST,{composed:!0,bubbles:!0,detail:this.value});this.dispatchEvent(e)},s.Au.customElements.get("media-playback-rate-menu")||s.Au.customElements.define("media-playback-rate-menu",class extends me{constructor(){super(),Dt(this,St),Dt(this,Ct),Dt(this,Tt,new It.M(this,Nt,{defaultValue:Lt.ap})),Rt(this,St,xt).call(this)}static get observedAttributes(){return[...super.observedAttributes,i.GC.MEDIA_PLAYBACK_RATE,Nt]}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===i.GC.MEDIA_PLAYBACK_RATE&&t!=n?(this.value=n,Rt(this,St,xt).call(this)):e===Nt&&t!=n&&(Wt(this,Tt).value=n,Rt(this,St,xt).call(this))}connectedCallback(){super.connectedCallback(),this.addEventListener("change",Rt(this,Ct,Mt))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("change",Rt(this,Ct,Mt))}get anchorElement(){return"auto"!==this.anchor?super.anchorElement:(0,ne.Bk)(this).querySelector("media-playback-rate-menu-button")}get rates(){return Wt(this,Tt)}set rates(e){e?Array.isArray(e)?Wt(this,Tt).value=e.join(" "):"str
1ing"==typeof e&&(Wt(this,Tt).value=e):Wt(this,Tt).value="",Rt(this,St,xt).call(this)}get mediaPlaybackRate(){return(0,ne.dm)(this,i.GC.MEDIA_PLAYBACK_RATE,Lt.L5)}set mediaPlaybackRate(e){(0,ne.pK)(this,i.GC.MEDIA_PLAYBACK_RATE,e)}});class Ht extends Ve{static get observedAttributes(){return[...super.observedAttributes,i.GC.MEDIA_PLAYBACK_RATE]}constructor(){var e;super(),this.container=this.shadowRoot.querySelector('slot[name="icon"]'),this.container.innerHTML=`${(0,Lt.V5)(null!=(e=this.mediaPlaybackRate)?e:1)}x`}attributeChangedCallback(e,t,n){if(super.attributeChangedCallback(e,t,n),e===i.GC.MEDIA_PLAYBACK_RATE){const e=n?+n:Number.NaN,t=(0,Lt.V5)(Number.isNaN(e)?1:e);this.container.innerHTML=`${t}x`,this.setAttribute("aria-label",(0,Fe.t)("Playback rate {playbackRate}",{playbackRate:t}))}}get invokeTargetElement(){return null!=this.invokeTarget?super.invokeTargetElement:(0,ne.Bk)(this).querySelector("media-playback-rate-menu")}get mediaPlaybackRate(){return(0,ne.dm)(this,i.GC.MEDIA_PLAYBACK_RATE,1)}set mediaPlaybackRate(e){(0,ne.pK)(this,i.GC.MEDIA_PLAYBACK_RATE,e)}}Ht.getSlotTemplateHTML=function(e){return`\n <style>\n :host {\n min-width: 5ch;\n padding: var(--media-button-padding, var(--media-control-padding, 10px 5px));\n }\n\n :host([aria-expanded="true"]) slot {\n display: block;\n }\n\n :host([aria-expanded="true"]) slot[name=tooltip] {\n display: none;\n }\n </style>\n <slot name="icon">${e.mediaplaybackrate?(0,Lt.V5)(+e.mediaplaybackrate):1}x</slot>\n `},Ht.getTooltipContentHTML=function(){return(0,Fe.t)("Playback rate")},s.Au.customElements.get("media-playback-rate-menu-button")||s.Au.customElements.define("media-playback-rate-menu-button",Ht);var Gt,Bt,Ot,$t,Ut,Pt,qt=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Vt=(e,t,n)=>(qt(e,t,"read from private field"),n?n.call(e):t.get(e)),Ft=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Kt=(e,t,n,i)=>(qt(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),Zt=(e,t,n)=>(qt(e,t,"access private method"),n);Gt=new WeakMap,Bt=new WeakMap,Ot=new WeakSet,$t=function(){const e=!this.mediaRenditionSelected;if(Vt(this,Bt).mediaRenditionList===JSON.stringify(this.mediaRenditionList)&&Vt(this,Bt).mediaHeight===this.mediaHeight&&Vt(this,Bt).mediaWidth===this.mediaWidth&&Vt(this,Bt).isAuto===e)return;Vt(this,Bt).mediaRenditionList=JSON.stringify(this.mediaRenditionList),Vt(this,Bt).mediaHeight=this.mediaHeight,Vt(this,Bt).mediaWidth=this.mediaWidth,Vt(this,Bt).isAuto=e;const t=this.mediaRenditionList.sort(this.compareRendition.bind(this)),n=t.find((e=>e.id===this.mediaRenditionSelected));for(const e of t)e.selected=e===n;this.defaultSlot.textContent="";for(const n of t){const t=le({type:"radio",text:this.formatRendition(n,{showBitrate:this.showRenditionBitrate(n)}),value:`${n.id}`,checked:n.selected&&!e});t.prepend(he(this,"checked-indicator")),this.defaultSlot.append(t)}const i=n&&this.showRenditionBitrate(n);let s;e&&(n?s=this.formatMenuItemText(`${(0,Fe.t)("Auto")} ⢠${this.formatRendition(n,{showBitrate:i})}`,n):this.mediaHeight>0&&this.mediaWidth>0&&(s=this.formatMenuItemText(`${(0,Fe.t)("Auto")} (${Math.min(this.mediaWidth,this.mediaHeight)}p)`))),s||(s=this.formatMenuItemText((0,Fe.t)("Auto")));const a=le({type:"radio",text:s,value:"auto",checked:e});a.dataset.description=s,a.prepend(he(this,"checked-indicator")),this.defaultSlot.append(a)},Ut=new WeakSet,Pt=function(){if(null==this.value)return;const e=new s.Au.CustomEvent(i.a8.MEDIA_RENDITION_REQUEST,{composed:!0,bubbles:!0,detail:this.value});this.dispatchEvent(e)},s.Au.customElements.get("media-rendition-menu")||s.Au.customElements.define("media-rendition-menu",class extends me{constructor(){super(...arguments),Ft(this,Ot),Ft(this,Ut),Ft(this,Gt,[]),Ft(this,Bt,{})}static get observedAttributes(){return[...super.observedAttributes,i.GC.MEDIA_RENDITION_LIST,i.GC.MEDIA_RENDITION_SELECTED,i.GC.MEDIA_RENDITION_UNAVAILABLE,i.GC.MEDIA_HEIGHT,i.GC.MEDIA_WIDTH]}static formatMenuItemText(e,t){return super.formatMenuItemText(e,t)}static formatRendition(e,{showBitrate:t=!1}={}){const n=`${Math.min(e.width,e.height)}p`;if(t&&e.bitrate){const t=e.bitrate/1e6;return`${n} (${t.toFixed(t<1?1:0)} Mbps)`}return this.formatMenuItemText(n,e)}static compareRendition(e,t){var n,i;return t.height===e.height?(null!=(n=t.bitrate)?n:0)-(null!=(i=e.bitrate)?i:0):t.height-e.height}attributeChangedCallback(e,t,n){if(super.attributeChangedCallback(e,t,n),t!==n)switch(e){case i.GC.MEDIA_RENDITION_SELECTED:this.value=null!=n?n:"auto",Zt(this,Ot,$t).call(this);break;case i.GC.MEDIA_RENDITION_LIST:Kt(this,Gt,(0,Xe.MT)(n)),Zt(this,Ot,$t).call(this);break;case i.GC.MEDIA_HEIGHT:case i.GC.MEDIA_WIDTH:Zt(this,Ot,$t).call(this)}}connectedCallback(){super.connectedCallback(),this.addEventListener("change",Zt(this,Ut,Pt))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("change",Zt(this,Ut,Pt))}get anchorElement(){return"auto"!==this.anchor?super.anchorElement:(0,ne.Bk)(this).querySelector("media-rendition-menu-button")}get mediaRenditionList(){return Vt(this,Gt)}set mediaRenditionList(e){Kt(this,Gt,e),Zt(this,Ot,$t).call(this)}get mediaRenditionSelected(){return(0,ne.vT)(this,i.GC.MEDIA_RENDITION_SELECTED)}set mediaRenditionSelected(e){(0,ne.tA)(this,i.GC.MEDIA_RENDITION_SELECTED,e)}get mediaHeight(){return(0,ne.dm)(this,i.GC.MEDIA_HEIGHT)}set mediaHeight(e){(0,ne.pK)(this,i.GC.MEDIA_HEIGHT,e)}get mediaWidth(){return(0,ne.dm)(this,i.GC.MEDIA_WIDTH)}set mediaWidth(e){(0,ne.pK)(this,i.GC.MEDIA_WIDTH,e)}compareRendition(e,t){return this.constructor.compareRendition(e,t)}formatMenuItemText(e,t){return this.constructor.formatMenuItemText(e,t)}formatRendition(e,t){return this.constructor.formatRendition(e,t)}showRenditionBitrate(e){return this.mediaRenditionList.some((t=>t!==e&&t.height===e.height&&t.bitrate!==e.bitrate))}});
1class jt extends Ve{static get observedAttributes(){return[...super.observedAttributes,i.GC.MEDIA_RENDITION_SELECTED,i.GC.MEDIA_RENDITION_UNAVAILABLE,i.GC.MEDIA_HEIGHT]}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-label",(0,Fe.t)("quality"))}get invokeTargetElement(){return null!=this.invokeTarget?super.invokeTargetElement:(0,ne.Bk)(this).querySelector("media-rendition-menu")}get mediaRenditionSelected(){return(0,ne.vT)(this,i.GC.MEDIA_RENDITION_SELECTED)}set mediaRenditionSelected(e){(0,ne.tA)(this,i.GC.MEDIA_RENDITION_SELECTED,e)}get mediaHeight(){return(0,ne.dm)(this,i.GC.MEDIA_HEIGHT)}set mediaHeight(e){(0,ne.pK)(this,i.GC.MEDIA_HEIGHT,e)}}jt.getSlotTemplateHTML=function(){return'\n <style>\n :host([aria-expanded="true"]) slot[name=tooltip] {\n display: none;\n }\n </style>\n <slot name="icon"><svg aria-hidden="true" viewBox="0 0 24 24">\n <path d="M13.5 2.5h2v6h-2v-2h-11v-2h11v-2Zm4 2h4v2h-4v-2Zm-12 4h2v6h-2v-2h-3v-2h3v-2Zm4 2h12v2h-12v-2Zm1 4h2v6h-2v-2h-8v-2h8v-2Zm4 2h7v2h-7v-2Z" />\n</svg></slot>\n '},jt.getTooltipContentHTML=function(){return(0,Fe.t)("Quality")},s.Au.customElements.get("media-rendition-menu-button")||s.Au.customElements.define("media-rendition-menu-button",jt);var zt,Yt,Qt,Jt,Xt,en,tn,nn,sn,an,on,rn,ln,hn,un,cn=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},dn=(e,t,n)=>(cn(e,t,"read from private field"),n?n.call(e):t.get(e)),mn=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},pn=(e,t,n,i)=>(cn(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),vn=(e,t,n)=>(cn(e,t,"access private method"),n);class fn extends me{constructor(){super(),mn(this,Yt),mn(this,Jt),mn(this,en),mn(this,nn),mn(this,on),mn(this,zt,!1),mn(this,an,(e=>{const t=e.target,n="VIDEO"===(null==t?void 0:t.nodeName),i=vn(this,nn,sn).call(this,t);(n||i)&&(dn(this,zt)?vn(this,Jt,Xt).call(this):vn(this,on,rn).call(this,e))})),mn(this,ln,(e=>{const t=e.target,n=this.contains(t),i=2===e.button,s="VIDEO"===(null==t?void 0:t.nodeName),a=vn(this,nn,sn).call(this,t);n||i&&(s||a)||vn(this,Jt,Xt).call(this)})),mn(this,hn,(e=>{"Escape"===e.key&&vn(this,Jt,Xt).call(this)})),mn(this,un,(e=>{var t,n;const i=e.target;if(null==(t=i.matches)?void 0:t.call(i,'button[invoke="copy"]')){const e=null==(n=i.closest("media-context-menu-item"))?void 0:n.querySelector('input[slot="copy"]');e&&navigator.clipboard.writeText(e.value)}vn(this,Jt,Xt).call(this)})),this.setAttribute("noautohide",""),vn(this,Yt,Qt).call(this)}connectedCallback(){super.connectedCallback(),(0,ne.Bk)(this).addEventListener("contextmenu",dn(this,an)),this.addEventListener("click",dn(this,un))}disconnectedCallback(){super.disconnectedCallback(),(0,ne.Bk)(this).removeEventListener("contextmenu",dn(this,an)),this.removeEventListener("click",dn(this,un)),document.removeEventListener("mousedown",dn(this,ln)),document.removeEventListener("keydown",dn(this,hn))}}zt=new WeakMap,Yt=new WeakSet,Qt=function(){this.hidden=!dn(this,zt)},Jt=new WeakSet,Xt=function(){pn(this,zt,!1),vn(this,Yt,Qt).call(this)},en=new WeakSet,tn=function(){document.querySelectorAll("media-context-menu").forEach((e=>{var t;e!==this&&vn(t=e,Jt,Xt).call(t)}))},nn=new WeakSet,sn=function(e){return!!e&&(!(!e.hasAttribute("slot")||"media"!==e.getAttribute("slot"))||!(!e.nodeName.includes("-")||!e.tagName.includes("-"))&&(e.hasAttribute("src")||e.hasAttribute("poster")||e.hasAttribute("preload")||e.hasAttribute("playsinline")))},an=new WeakMap,on=new WeakSet,rn=function(e){e.preventDefault(),vn(this,en,tn).call(this),pn(this,zt,!0),this.style.position="fixed",this.style.left=`${e.clientX}px`,this.style.top=`${e.clientY}px`,vn(this,Yt,Qt).call(this),document.addEventListener("mousedown",dn(this,ln),{once:!0}),document.addEventListener("keydown",dn(this,hn),{once:!0})},ln=new WeakMap,hn=new WeakMap,un=new WeakMap,fn.getTemplateHTML=function(e){return`\n ${me.getTemplateHTML(e)}\n <style>\n :host {\n --_menu-bg: rgb(20 20 30 / .8);
1\n background: var(--media-settings-menu-background,\n var(--media-menu-background,\n var(--media-control-background,\n var(--media-secondary-color, var(--_menu-bg)))));\n min-width: var(--media-settings-menu-min-width, 170px);\n border-radius: 2px;\n overflow: hidden;\n }\n </style>\n `},s.Au.customElements.get("media-context-menu")||s.Au.customElements.define("media-context-menu",fn);class bn extends Be{}bn.shadowRootOptions={mode:"open"},bn.getTemplateHTML=function(e){return`\n ${Be.getTemplateHTML.call(this,e)}\n <style>\n ::slotted(*) {\n color: var(--media-text-color, white);\n text-decoration: none;\n border: none;\n background: none;\n cursor: pointer;\n padding: 0;\n min-height: var(--media-control-height, 24px);\n }\n </style>\n `},s.Au.customElements.get("media-context-menu-item")||s.Au.customElements.define("media-context-menu-item",bn)},10273:(e,t,n)=>{n.d(t,{M:()=>m});var i,s,a,o,r,l,h=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},u=(e,t,n)=>(h(e,t,"read from private field"),n?n.call(e):t.get(e)),c=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},d=(e,t,n,i)=>(h(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n);class m{constructor(e,t,{defaultValue:n}={defaultValue:void 0}){c(this,r),c(this,i,void 0),c(this,s,void 0),c(this,a,void 0),c(this,o,new Set),d(this,i,e),d(this,s,t),d(this,a,new Set(n))}[Symbol.iterator](){return u(this,r,l).values()}get length(){return u(this,r,l).size}get value(){var e;return null!=(e=[...u(this,r,l)].join(" "))?e:""}set value(e){var t;e!==this.value&&(d(this,o,new Set),this.add(...null!=(t=null==e?void 0:e.split(" "))?t:[]))}toString(){return this.value}item(e){return[...u(this,r,l)][e]}values(){return u(this,r,l).values()}forEach(e,t){u(this,r,l).forEach(e,t)}add(...e){var t,n;e.forEach((e=>u(this,o).add(e))),(""!==this.value||(null==(t=u(this,i))?void 0:t.hasAttribute(`${u(this,s)}`)))&&(null==(n=u(this,i))||n.setAttribute(`${u(this,s)}`,`${this.value}`))}remove(...e){var t;e.forEach((e=>u(this,o).delete(e))),null==(t=u(this,i))||t.setAttribute(`${u(this,s)}`,`${this.value}`)}contains(e){return u(this,r,l).has(e)}toggle(e,t){return void 0!==t?t?(this.add(e),!0):(this.remove(e),!1):this.contains(e)?(this.remove(e),!1):(this.add(e),!0)}replace(e,t){return this.remove(e),this.add(t),e===t}}i=new WeakMap,s=new WeakMap,a=new WeakMap,o=new WeakMap,r=new WeakSet,l=function(){return u(this,o).size?u(this,o):u(this,a)}},73813:(e,t,n)=>{n.d(t,{C2:()=>o,PH:()=>r,VV:()=>d,W5:()=>a,aI:()=>c,ip:()=>u,mc:()=>l});var i=n(17055);const s=(e="")=>{const[t,n,s]=e.split(":"),a=s?decodeURIComponent(s):void 0;return{kind:"cc"===t?i.Up.CAPTIONS:i.Up.SUBTITLES,language:n,label:a}},a=(e="",t={})=>((e="")=>e.split(/\s+/))(e).map((e=>{const n=s(e);return{...t,...n}})),o=e=>e?Array.isArray(e)?e.map((e=>"string"==typeof e?s(e):e)):"string"==typeof e?a(e):[e]:[],r=({kind:e,label:t,language:n}={kind:"subtitles"})=>t?`${"captions"===e?"cc":"sb"}:${n}:${encodeURIComponent(t)}`:n,l=(e=[])=>Array.prototype.map.call(e,r).join(" "),h=e=>{const t=Object.entries(e).map((([e,t])=>((e,t)=>n=>n[e]===t)(e,t)));return e=>t.every((t=>t(e)))},u=(e,t=[],n=[])=>{const i=o(n).map(h);Array.from(t).filter((e=>i.some((t=>t(e))))).forEach((t=>{t.mode=e}))},c=(e,t=()=>!0)=>{if(!(null==e?void 0:e.textTracks))return[];const n="function"==typeof t?t:h(t);return Array.from(e.textTracks).filter(n)},d=e=>{var t;return!!(null==(t=e.mediaSubtitlesShowing)?void 0:t.length)||e.hasAttribute(i.GC.MEDIA_SUBTITLES_SHOWING)}},50456:(e,t,n)=>{n.d(t,{Bk:()=>a,CQ:()=>u,DI:()=>p,Ek:()=>r,J9:()=>m,QW:()=>E,Vw:()=>f,Y_:()=>k,aQ:()=>v,bq:()=>c,dm:()=>b,kg:()=>s,l5:()=>d,pK:()=>g,qg:()=>h,tA:()=>y,u0:()=>l,vT:()=>A,xf:()=>o});var i=n(17055);function s(e){const t={};for(const n of e)t[n.name]=n.value;return t}function a(e){var t;return null!=(t=o(e))?t:u(e,"media-controller")}function o(e){var t;const{MEDIA_CONTROLLER:n}=i.Ex,s=e.getAttribute(n);if(s)return null==(t=d(e))?void 0:t.getElementById(s)}const r=(e,t,n=".value")=>{const i=e.querySelector(n);i&&(i.textContent=t)},l=(e,t)=>
1((e,t)=>{const n=`slot[name="${t}"]`,i=e.shadowRoot.querySelector(n);return i?i.children:[]})(e,t)[0],h=(e,t)=>!(!e||!t)&&(!!(null==e?void 0:e.contains(t))||h(e,t.getRootNode().host)),u=(e,t)=>{if(!e)return null;return e.closest(t)||u(e.getRootNode().host,t)};function c(e=document){var t;const n=null==e?void 0:e.activeElement;return n?null!=(t=c(n.shadowRoot))?t:n:null}function d(e){var t;const n=null==(t=null==e?void 0:e.getRootNode)?void 0:t.call(e);return n instanceof ShadowRoot||n instanceof Document?n:null}function m(e,{depth:t=3,checkOpacity:n=!0,checkVisibilityCSS:i=!0}={}){if(e.checkVisibility)return e.checkVisibility({checkOpacity:n,checkVisibilityCSS:i});let s=e;for(;s&&t>0;){const e=getComputedStyle(s);if(n&&"0"===e.opacity||i&&"hidden"===e.visibility||"none"===e.display)return!1;s=s.parentElement,t--}return!0}function p(e,t,n,i){const s=i.x-n.x,a=i.y-n.y,o=s*s+a*a;if(0===o)return 0;const r=((e-n.x)*s+(t-n.y)*a)/o;return Math.max(0,Math.min(1,r))}function v(e,t){const n=function(e){var n,i;let s;for(s of null!=(n=e.querySelectorAll("style:not([media])"))?n:[]){let e;try{e=null==(i=s.sheet)?void 0:i.cssRules}catch{continue}for(const n of null!=e?e:[])if(n.selectorText===t)return n}}(e);return n||f(e,t)}function f(e,t){var n,i;const s=null!=(n=e.querySelectorAll("style:not([media])"))?n:[],a=null==s?void 0:s[s.length-1];if(!(null==a?void 0:a.sheet))return console.warn("Media Chrome: No style sheet found on style tag of",e),{style:{setProperty:()=>{},removeProperty:()=>"",getPropertyValue:()=>""}};const o=null==a?void 0:a.sheet.insertRule(`${t}{}`,a.sheet.cssRules.length);return null==(i=a.sheet.cssRules)?void 0:i[o]}function b(e,t,n=Number.NaN){const i=e.getAttribute(t);return null!=i?+i:n}function g(e,t,n){const i=+n;null==n||Number.isNaN(i)?e.hasAttribute(t)&&e.removeAttribute(t):b(e,t,void 0)!==i&&e.setAttribute(t,`${i}`)}function k(e,t){return e.hasAttribute(t)}function E(e,t,n){null!=n?k(e,t)!=n&&e.toggleAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function A(e,t,n=null){var i;return null!=(i=e.getAttribute(t))?i:n}function y(e,t,n){if(null==n)return void(e.hasAttribute(t)&&e.removeAttribute(t));const i=`${n}`;A(e,t,void 0)!==i&&e.setAttribute(t,i)}},20990:(e,t,n)=>{n.d(t,{Eh:()=>l,Kk:()=>o,VQ:()=>d,aS:()=>u});var i=n(17055),s=n(50456),a=n(72358);const o=e=>{var t;const{media:n,fullscreenElement:i}=e;try{const e=i&&"requestFullscreen"in i?"requestFullscreen":i&&"webkitRequestFullScreen"in i?"webkitRequestFullScreen":void 0;if(e){const n=null==(t=i[e])?void 0:t.call(i);if(n instanceof Promise)return n.catch((()=>{}))}else(null==n?void 0:n.webkitEnterFullscreen)?n.webkitEnterFullscreen():(null==n?void 0:n.requestFullscreen)&&n.requestFullscreen()}catch(e){console.error(e)}},r="exitFullscreen"in a.Al?"exitFullscreen":"webkitExitFullscreen"in a.Al?"webkitExitFullscreen":"webkitCancelFullScreen"in a.Al?"webkitCancelFullScreen":void 0,l=e=>{var t;const{documentElement:n}=e;if(r){const e=null==(t=null==n?void 0:n[r])?void 0:t.call(n);if(e instanceof Promise)return e.catch((()=>{}))}},h="fullscreenElement"in a.Al?"fullscreenElement":"webkitFullscreenElement"in a.Al?"webkitFullscreenElement":void 0,u=e=>{var t;const{media:n,documentElement:a,fullscreenElement:o=n}=e;if(!n||!a)return!1;const r=(e=>{const{documentElement:t,media:n}=e,s=null==t?void 0:t[h];return!s&&"webkitDisplayingFullscreen"in n&&"webkitPresentationMode"in n&&n.webkitDisplayingFullscreen&&n.webkitPresentationMode===i.br.FULLSCREEN?n:s})(e);if(!r)return!1;if(r===o||r===n)return!0;if(r.localName.includes("-")){let e=r.shadowRoot;if(!(h in e))return(0,s.qg)(r,o);for(;null==e?void 0:e[h];){if(e[h]===o)return!0;e=null==(t=e[h])?void 0:t.shadowRoot}}return!1},c="fullscreenEnabled"in a.Al?"fullscreenEnabled":"webkitFullscreenEnabled"in a.Al?"webkitFullscreenEnabled":void 0,d=e=>{const{documentElement:t,media:n}=e;return!!(null==t?void 0:t[c])||n&&"webkitSupportsFullscreen"in n}},68218:(e,t,n)=>{var i;n.d(t,{Ph:()=>r,t:()=>l,xC:()=>o});const s={en:n(18584).En};let a=(null==(i=globalThis.navigator)?void 0:i.language)||"en";const o=e=>{a=e},r=()=>{const[e]=a.split("-");return s[a]?a:s[e]?e:"en"},l=(e,t={})=>(e=>{var t,n,i;const[o]=a.split("-");return(null==(t=s[a])?void 0:t[e])||(null==(n=s[o])?void 0:n[e])||(null==(i=s.en)?void 0:i[e])||e})(e).replace(/\{(\w+)\}
1/g,((e,n)=>n in t?String(t[n]):`{${n}}`))},28413:(e,t,n)=>{n.d(t,{DD:()=>f,E5:()=>v,Sy:()=>b,Uk:()=>p,_S:()=>l,vL:()=>m,vi:()=>d});var i=n(72358),s=n(8257),a=n(20990);let o;const r=()=>{var e,t;return o||(o=null==(t=null==(e=i.Al)?void 0:e.createElement)?void 0:t.call(e,"video"),o)},l=async(e=r())=>{if(!e)return!1;const t=e.volume;e.volume=t/2+.1;const n=new AbortController,i=await Promise.race([h(e,n.signal),u(e,t)]);return n.abort(),i},h=(e,t)=>new Promise((n=>{e.addEventListener("volumechange",(()=>n(!0)),{signal:t})})),u=async(e,t)=>{for(let n=0;n<10;n++){if(e.volume===t)return!1;await(0,s.cb)(10)}return e.volume!==t},c=/.*Version\/.*Safari\/.*/.test(i.Au.navigator.userAgent),d=(e=r())=>!(i.Au.matchMedia("(display-mode: standalone)").matches&&c||"function"!=typeof(null==e?void 0:e.requestPictureInPicture)),m=(e=r())=>(0,a.VQ)({documentElement:i.Al,media:e}),p=m(),v=d(),f=!!i.Au.WebKitPlaybackTargetAvailabilityEvent,b=!!i.Au.chrome},68126:(e,t,n)=>{n.d(t,{O:()=>b});var i,s,a,o,r,l,h,u,c,d,m=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},p=(e,t,n)=>(m(e,t,"read from private field"),n?n.call(e):t.get(e)),v=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},f=(e,t,n,i)=>(m(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n);class b{constructor(e,t,n){v(this,i,void 0),v(this,s,void 0),v(this,a,void 0),v(this,o,void 0),v(this,r,void 0),v(this,l,void 0),v(this,h,void 0),v(this,u,void 0),v(this,c,0),v(this,d,((e=performance.now())=>{f(this,c,requestAnimationFrame(p(this,d))),f(this,o,performance.now()-p(this,a));const t=1e3/this.fps;if(p(this,o)>t){f(this,a,e-p(this,o)%t);const c=1e3/((e-p(this,s))/++(n=this,m=r,{set _(e){f(n,m,e,undefined)},get _(){return p(n,m,undefined)}})._),d=(e-p(this,l))/1e3/this.duration;let v=p(this,h)+d*this.playbackRate;v-p(this,i).valueAsNumber>0?f(this,u,this.playbackRate/this.duration/c):(f(this,u,.995*p(this,u)),v=p(this,i).valueAsNumber+p(this,u)),this.callback(v)}var n,m})),f(this,i,e),this.callback=t,this.fps=n}start(){0===p(this,c)&&(f(this,a,performance.now()),f(this,s,p(this,a)),f(this,r,0),p(this,d).call(this))}stop(){0!==p(this,c)&&(cancelAnimationFrame(p(this,c)),f(this,c,0))}update({start:e,duration:t,playbackRate:n}){const s=e-p(this,i).valueAsNumber,a=Math.abs(t-this.duration);(s>0||s<-.03||a>=.5)&&this.callback(e),f(this,h,e),f(this,l,performance.now()),this.duration=t,this.playbackRate=n}}i=new WeakMap,s=new WeakMap,a=new WeakMap,o=new WeakMap,r=new WeakMap,l=new WeakMap,h=new WeakMap,u=new WeakMap,c=new WeakMap,d=new WeakMap},27617:(e,t,n)=>{n.d(t,{u:()=>l,v:()=>r});var i=n(72358);const s=new WeakMap,a=e=>{let t=s.get(e);return t||s.set(e,t=new Set),t},o=new i.Au.ResizeObserver((e=>{for(const t of e)for(const e of a(t.target))e(t)}));function r(e,t){a(e).add(t),o.observe(e)}function l(e,t){const n=a(e);n.delete(t),n.size||o.unobserve(e)}},72358:(e,t,n)=>{n.d(t,{Al:()=>c,Au:()=>u});class i{addEventListener(){}removeEventListener(){}dispatchEvent(){return!0}}class s extends i{}class a extends s{constructor(){super(...arguments),this.role=null}}const o={createElement:function(){return new r.HTMLElement},createElementNS:function(){return new r.HTMLElement},addEventListener(){},removeEventListener(){},dispatchEvent:e=>!1},r={ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},document:o,Node:s,Element:a,HTMLElement:class extends a{constructor(){super(...arguments),this.innerHTML=""}get content(){return new r.DocumentFragment}},DocumentFragment:class extends i{},customElements:{get:function(){},define:function(){},whenDefined:function(){}},localStorage:{getItem:e=>null,setItem(e,t){},removeItem(e){}},CustomEvent:function(){},getComputedStyle:function(){},navigator:{languages:[],get userAgent(){return""}},matchMedia:e=>({matches:!1,media:e}),DOMParser:class{parseFromString(e,t){return{body:{textContent:e}}}}},l="global"in globalThis&&(null==globalThis?void 0:globalThis.global)===globalThis||"undefined"==typeof window||void 0===window.customElements,h=Object.keys(r).every((e=>e in globalThis)),u=l&&!h?r:globalThis,c=l&&!h?o:globalThis.document},19431:(e,t,n)=>{n.d(t,{cV:()=>M,db:()=>C,i4:()=>E,mW:()=>I});
1var i,s,a,o,r,l,h,u,c,d,m,p=n(72358),v=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},f=(e,t,n)=>(v(e,t,"read from private field"),n?n.call(e):t.get(e)),b=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},g=(e,t,n,i)=>(v(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n);const k={processCallback(e,t,n){if(n)for(const[e,i]of t)if(e in n){const t=n[e];"boolean"==typeof t&&i instanceof C&&"boolean"==typeof i.element[i.attributeName]?i.booleanValue=t:"function"==typeof t&&i instanceof C?i.element[i.attributeName]=t:i.value=t}}};class E extends p.Au.DocumentFragment{constructor(e,t,n=k){var a;super(),b(this,i,void 0),b(this,s,void 0),this.append(e.content.cloneNode(!0)),g(this,i,A(this)),g(this,s,n),null==(a=n.createCallback)||a.call(n,this,f(this,i),t),n.processCallback(this,f(this,i),t)}update(e){f(this,s).processCallback(this,f(this,i),e)}}i=new WeakMap,s=new WeakMap;const A=(e,t=[])=>{let n,i;for(const s of e.attributes||[])if(s.value.includes("{{")){const a=new x;for([n,i]of w(s.value))if(n){const n=new C(e,s.name,s.namespaceURI);a.append(n),t.push([i,n])}else a.append(i);s.value=a.toString()}for(const s of e.childNodes)if(1!==s.nodeType||s instanceof HTMLTemplateElement){const a=s.data;if(1===s.nodeType||a.includes("{{")){const o=[];if(a)for([n,i]of w(a))if(n){const n=new M(e);o.push(n),t.push([i,n])}else o.push(new Text(i));else if(s instanceof HTMLTemplateElement){const n=new I(e,s);o.push(n),t.push([n.expression,n])}s.replaceWith(...o.flatMap((e=>e.replacementNodes||[e])))}}else A(s,t);return t},y={},w=e=>{let t,n="",i=0,s=y[e],a=0;if(s)return s;for(s=[];t=e[a];a++)"{"===t&&"{"===e[a+1]&&"\\"!==e[a-1]&&e[a+2]&&1==++i?(n&&s.push([0,n]),n="",a++):"}"!==t||"}"!==e[a+1]||"\\"===e[a-1]||--i?n+=t||"":(s.push([1,n.trim()]),n="",a++);return n&&s.push([0,(i>0?"{{":"")+n]),y[e]=s};class T{get value(){return""}set value(e){}toString(){return this.value}}const S=new WeakMap;class x{constructor(){b(this,a,[])}[Symbol.iterator](){return f(this,a).values()}get length(){return f(this,a).length}item(e){return f(this,a)[e]}append(...e){for(const t of e)t instanceof C&&S.set(t,this),f(this,a).push(t)}toString(){return f(this,a).join("")}}a=new WeakMap;class C extends T{constructor(e,t,n){super(),b(this,u),b(this,o,""),b(this,r,void 0),b(this,l,void 0),b(this,h,void 0),g(this,r,e),g(this,l,t),g(this,h,n)}get attributeName(){return f(this,l)}get attributeNamespace(){return f(this,h)}get element(){return f(this,r)}get value(){return f(this,o)}set value(e){f(this,o)!==e&&(g(this,o,e),f(this,u,c)&&1!==f(this,u,c).length?f(this,r).setAttributeNS(f(this,h),f(this,l),f(this,u,c).toString()):null==e?f(this,r).removeAttributeNS(f(this,h),f(this,l)):f(this,r).setAttributeNS(f(this,h),f(this,l),e))}get booleanValue(){return f(this,r).hasAttributeNS(f(this,h),f(this,l))}set booleanValue(e){if(f(this,u,c)&&1!==f(this,u,c).length)throw new DOMException("Value is not fully templatized");this.value=e?"":null}}o=new WeakMap,r=new WeakMap,l=new WeakMap,h=new WeakMap,u=new WeakSet,c=function(){return S.get(this)};class M extends T{constructor(e,t){super(),b(this,d,void 0),b(this,m,void 0),g(this,d,e),g(this,m,t?[...t]:[new Text])}get replacementNodes(){return f(this,m)}get parentNode(){return f(this,d)}get nextSibling(){return f(this,m)[f(this,m).length-1].nextSibling}get previousSibling(){return f(this,m)[0].previousSibling}get value(){return f(this,m).map((e=>e.textContent)).join("")}set value(e){this.replace(e)}replace(...e){const t=e.flat().flatMap((e=>null==e?[new Text]:e.forEach?[...e]:11===e.nodeType?[...e.childNodes]:e.nodeType?[e]:[new Text(e)]));t.length||t.push(new Text),g(this,m,function(e,t,n,i=null){let s,a,o,r=0,l=n.length,h=t.length;for(;r<l&&r<h&&t[r]==n[r];)r++;for(;r<l&&r<h&&n[l-1]==t[h-1];)i=n[(--h,--l)];if(r==h)for(;r<l;)e.insertBefore(n[r++],i);if(r==l)for(;r<h;)e.removeChild(t[r++]);else{for(s=t[r];r<l;)o=n[r++],a=s?s.nextSibling:i,s==o?s=a:r<l&&n[r]==a?(e.replaceChild(o,s),s=a):e.insertBefore(o,s);for(;s!=i;)a=s.nextSibling,e.removeChild(s),s=a}return n}(f(this,m)[0].parentNode,f(this,m),t,this.nextSibling))}}d=new WeakMap,m=new WeakMap;class I extends M{constructor(e,t){const n=t.getAttribute("directive")||t.getAttribute("type");let i=t.getAttribute("expression")||t.getAttribute(n)||"";i.startsWith("{{")&&(i=i.trim().slice(2,-2).trim()),super(e),this.expression=i,this.template=t,this.directive=n}}},24073:(e,t,n)=>{n.d(t,{l$:()=>c});var i=n(19431),s=n(8257);const a={string:e=>String(e)};class o{constructor(e){this.template=e,this.state=void 0}}const r=new WeakMap,l=new WeakMap,h={partial:(e,t)=>{t[e.expression]=new o(e.template)},if:(e,t)=>
1{var n;if(m(e.expression,t))if(r.get(e)!==e.template){r.set(e,e.template);const n=new i.i4(e.template,t,c);e.replace(n),l.set(e,n)}else null==(n=l.get(e))||n.update(t);else e.replace(""),r.delete(e),l.delete(e)}},u=Object.keys(h),c={processCallback(e,t,n){var s,a;if(n)for(const[e,d]of t){if(d instanceof i.mW){if(!d.directive){const e=u.find((e=>d.template.hasAttribute(e)));e&&(d.directive=e,d.expression=d.template.getAttribute(e))}null==(s=h[d.directive])||s.call(h,d,n);continue}let t=m(e,n);t instanceof o?r.get(d)!==t.template?(r.set(d,t.template),t=new i.i4(t.template,t.state,c),d.value=t,l.set(d,t)):null==(a=l.get(d))||a.update(t.state):t?(d instanceof i.db&&d.attributeName.startsWith("aria-")&&(t=String(t)),d instanceof i.db?"boolean"==typeof t?d.booleanValue=t:"function"==typeof t?d.element[d.attributeName]=t:d.value=t:(d.value=t,r.delete(d),l.delete(d))):d instanceof i.db?d.value=void 0:(d.value=void 0,r.delete(d),l.delete(d))}}},d={"!":e=>!e,"!!":e=>!!e,"==":(e,t)=>e==t,"!=":(e,t)=>e!=t,">":(e,t)=>e>t,">=":(e,t)=>e>=t,"<":(e,t)=>e<t,"<=":(e,t)=>e<=t,"??":(e,t)=>null!=e?e:t,"|":(e,t)=>{var n;return null==(n=a[t])?void 0:n.call(a,e)}};function m(e,t={}){var n,i,s,a,o,r,l;const h=function(e){return function(e,t){let n,i,s;const a=[];for(;e;){s=null,n=e.length;for(const a in t)i=t[a].exec(e),i&&i.index<n&&(s={token:i[0],type:a,matches:i.slice(1)},n=i.index);n&&a.push({token:e.substr(0,n),type:void 0}),s&&a.push(s),e=e.substr(n+(s?s.token.length:0))}return a}(e,{boolean:/true|false/,number:/-?\d+\.?\d*/,string:/(["'])((?:\\.|[^\\])*?)\1/,operator:/[!=><][=!]?|\?\?|\|/,ws:/\s+/,param:/[$a-z_][$\w]*/i}).filter((({type:e})=>"ws"!==e))}(e);if(0===h.length||h.some((({type:e})=>!e)))return p(e);if(">"===(null==(n=h[0])?void 0:n.token)){const n=t[null==(i=h[1])?void 0:i.token];if(!n)return p(e);const r={...t};n.state=r;const l=h.slice(2);for(let e=0;e<l.length;e+=3){const n=null==(s=l[e])?void 0:s.token,i=null==(a=l[e+1])?void 0:a.token,h=null==(o=l[e+2])?void 0:o.token;n&&"="===i&&(r[n]=f(h,t))}return n}if(1===h.length)return v(h[0])?f(h[0].token,t):p(e);if(2===h.length){const n=null==(r=h[0])?void 0:r.token,i=d[n];return i&&v(h[1])?i(f(h[1].token,t)):p(e)}if(3===h.length){const n=null==(l=h[1])?void 0:l.token,i=d[n];if(!i||!v(h[0])||!v(h[2]))return p(e);const s=f(h[0].token,t);return i(s,"|"===n?h[2].token:f(h[2].token,t))}}function p(e){return console.warn(`Warning: invalid expression \`${e}\``),!1}function v({type:e}){return["number","boolean","string","param"].includes(e)}function f(e,t){const n=e[0],i=e.slice(-1);return"true"===e||"false"===e?"true"===e:n===i&&["'",'"'].includes(n)?e.slice(1,-1):(0,s.P3)(e)?parseFloat(e):t[e]}},587:(e,t,n)=>{n.d(t,{fU:()=>r,ss:()=>o});var i=n(8257),s=n(68218);const a=[{singular:"hour",plural:"hours"},{singular:"minute",plural:"minutes"},{singular:"second",plural:"seconds"}],o=e=>{if(!(0,i.gf)(e))return"";const t=Math.abs(e),n=t!==e,o=new Date(0,0,0,0,0,t,0),r=[o.getHours(),o.getMinutes(),o.getSeconds()].map(((e,t)=>e&&((e,t)=>`${e} ${1===e?(0,s.t)(a[t].singular):(0,s.t)(a[t].plural)}`)(e,t))).filter((e=>e)).join(", ");return n?(0,s.t)("{time} remaining",{time:r}):r};function r(e,t){let n=!1;e<0&&(n=!0,e=0-e),e=e<0?0:e;let i=Math.floor(e%60),s=Math.floor(e/60%60),a=Math.floor(e/3600);const o=Math.floor(t/60%60),r=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(a=s=i="0"),a=a>0||r>0?a+":":"",s=((a||o>=10)&&s<10?"0"+s:s)+":",i=i<10?"0"+i:i,(n?"-":"")+a+s+i}Object.freeze({length:0,start(e){const t=e>>>0;if(t>=this.length)throw new DOMException(`Failed to execute 'start' on 'TimeRanges': The index provided (${t}) is greater than or equal to the maximum bound (${this.length}).`);return 0},end(e){const t=e>>>0;if(t>=this.length)throw new DOMException(`Failed to execute 'end' on 'TimeRanges': The index provided (${t}) is greater than or equal to the maximum bound (${this.length}).`);return 0}})},8257:(e,t,n)=>{function i(e){return null==e?void 0:e.map(a).join(" ")}function s(e){return null==e?void 0:e.split(/\s+/).map(o)}function a(e){if(e){const{id:t,width:n,height:i}=e;return[t,n,i].filter((e=>null!=e)).join(":")}}function o(e){if(e){const[t,n,i]=e.split(":");return{id:t,width:+n,height:+i}}}function r(e){return null==e?void 0:e.map(h).join(" ")}function l(e){return null==e?void 0:e.split(/\s+/).map(u)}function h(e){if(e){const{id:t,kind:n,language:i,label:s}=e;return[t,n,i,s].filter((e=>null!=e)).join(":")}}function u(e){if(e){const[t,n,i,s]=e.split(":");return{id:t,kind:n,language:i,label:s}}}function c(e){return e.replace(/[-_]([a-z])/g,((e,t)=>
1t.toUpperCase()))}function d(e){return"number"==typeof e&&!Number.isNaN(e)&&Number.isFinite(e)}function m(e){return"string"==typeof e&&!isNaN(e)&&!isNaN(parseFloat(e))}n.d(t,{Br:()=>r,MT:()=>s,P3:()=>m,SF:()=>i,cb:()=>p,gf:()=>d,j3:()=>l,xQ:()=>c});const p=e=>new Promise((t=>setTimeout(t,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.