1(globalThis.wpRiseJsonp=globalThis.wpRiseJsonp||[]).push([["defaultVendors-node_modules_pnpm_articulate_react-image_0_0_10_react_19_2_4_node_modules_arti-46ae2b","node_modules_pnpm_react_19_2_4_node_modules_react_jsx-runtime_js"],{74955(f,d,e){"use strict";e.d(d,{A:()=>We});var n=e(26372),r=e(76652),a=e.n(r),i=e(87153),s=e.n(i),u=e(5196),l=e.n(u),m=e(5597),g=e.n(m),h=e(74103),v=e.n(h),b=e(16585),T=e.n(b),E=e(67180),w=e.n(E),C=e(47269),O=e.n(C),U=e(26759),D=e.n(U),F=e(48241),j=e.n(F);const M=["a","alpha","b","background","c","colors","f","format","h","height","q","quality","r","rasterize","s","scale","w","width"];function W(de,xe,Fe){return`${de}/${Fe}/${xe}`}const V=w()(M),q=de=>!Number.isNaN(Number(de)),J=s()(2,de=>{const xe=j()(q,T()(de));return O()(V,l()({h:xe,height:xe,w:xe,width:xe}),D(),v()(g()(":")),g()(","))}),re=de=>{const{imagesUri:xe,hidpi:Fe,imageKey:Xe}=de;if(Xe==null)return;const Ze=J(Fe?2:1,de);return{backgroundImage:`url("${W(xe,Xe,Ze)}")`}};function he(de,xe){xe===void 0&&(xe={});var Fe=xe.insertAt;if(!(!de||typeof document>"u")){var Xe=document.head||document.getElementsByTagName("head")[0],Me=document.createElement("style");Me.type="text/css",Fe==="top"&&Xe.firstChild?Xe.insertBefore(Me,Xe.firstChild):Xe.appendChild(Me),Me.styleSheet?Me.styleSheet.cssText=de:Me.appendChild(document.createTextNode(de))}}var fe=".styles_image__32Tdo{display:inline-block}",ae={image:"styles_image__32Tdo"};he(fe,{insertAt:"top"});const ye=a()(["imagesUri","imageKey","hidpi","style",...M]),ve=de=>({...de.style,...re(de)}),Ue=({alt:de,...xe})=>n.createElement("span",Object.assign({"aria-label":de,className:ae.image,role:"img",style:ve(xe)},ye(xe)));Ue.defaultProps={alt:"Image",imagesUri:"",style:{}};const We=Ue},78478(f,d,e){"use strict";e.d(d,{A:()=>ft});var n=e(30936),r=e.n(n),a=e(61065),i=e.n(a),s=e(52402),u=e.n(s),l=e(62484),m=e.n(l),g=e(89560),h=e(78251),v=e.n(h);const b=Le=>g.A.create({baseURL:Le,withCredentials:!0}),T=v()(String,b);async function E(Le,De,lt){const{email:gt,googleIdToken:Zt,password:xn,tenantId:dn}=lt;try{const vn=Zt?{tenantId:dn,token:Zt}:{password:xn,tenantId:dn,username:gt},$n=Zt?"google/signin":"signin";await T(Le.HEYOKRA_AUTH_SERVICE_URI).post($n,vn)}catch(vn){throw Object.assign(new Error,vn.response.data)}}const w=m()(3,E);var C=e(82564),O=e.n(C),U=e(73150),D=e.n(U);async function F(Le,De,lt){const{email:gt,login:Zt,oktaNamespace:xn,password:dn}=lt;try{const vn=await T(Le.AUTH_SERVICE_URI).post("/api/v1/authn",{password:dn,username:Zt||`${xn}/${gt}`,options:{multiOptionalFactorEnroll:!1,warnBeforePasswordExpired:!1}});if(D()(["data","status"],"LOCKED_OUT",vn)){const $n=new Error("User Locked Out");throw $n.response={data:{errorCode:"USER_LOCKED_OUT"}},$n}return O()(["data","sessionToken"],vn)}catch(vn){throw Object.assign(new Error,vn.response.data)}}const j=m()(3,F);async function M(Le,De,lt){const{idp:gt}=lt;return gt==="heyokra"?await w(Le,De,lt):await j(Le,De,lt)}const W=m()(3,M);var V=e(38487),q=e.n(V),J=e(47230),re=e.n(J),he=e(74649),fe=e.n(he);function ae(){return window.tenant&&window.tenant.idp==="heyokra"}async function ye(Le,De,lt,gt){gt.clear();const Zt=ae()?lt.HEYOKRA_AUTH_SERVICE_URI:lt.AUTH_SERVICE_URI;await T(Zt).delete("/api/v1/sessions/me").then(re()(()=>De.emit&&Le.emit("session:closed"))).catch(fe()(D()(["response","status"],404),q()))}const ve=m()(4,ye);var Ue=e(63572),We=e.n(Ue),de=e(23288),xe=e.n(de),Fe=e(43056),Xe=e.n(Fe);const Me=Xe()(9),Ze=xe()(We());function rt(Le){const{client_id:De,issuer:lt,idp:gt,nonce:Zt,prompt:xn="none",redirect_uri:dn=window.location.origin,response_mode:vn,scope:$n,sessionToken:Ui,state:hs}=Le,Qn=new URLSearchParams(Ze({client_id:De,idp:gt,nonce:Zt||Me(),prompt:xn,redirect_uri:dn,response_mode:vn,response_type:"id_token token",scope:$n,sessionToken:Ui,state:hs}));return Object.assign(new URL(`${lt}/v1/authorize`,window.location.origin),{search:Qn.toString()}).toString()}var mt=e(62877),Xt=e.n(mt);class jt extends Xt(){constructor(...De){super(...De),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",this._handleMessage.bind(this))}emit(...De){super.emit(...De),navigator.serviceWorker&&navigator.serviceWorker.ready.then(lt=>{lt.active.postMessage({jsonrpc:"2.0",method:"emit",params:De})})}_handleMessage(De){De.data&&De.data.jsonrpc==="2.0"&&De.data.method==="emit"&&super.emit(...De.data.params)}}var Lt=e(81783),Ht=e.n(Lt),vr=e(26966),Fr=e.n(vr),fn=e(64312),Kr=e.n(fn),Sn=e(54735),Fn=e.n(Sn),Et=e(17394),st=e.n(Et),Wr=e(33668),Dr=e.n(Wr),Tr=e(8327),gr=e.n(Tr),ir=e(98483),Mr=e.n(ir),Lr=e(68642),un=e.n(Lr),hn=e(85338),rr=e.n(hn),Gr=e(98183),er=e.n(Gr),At=e(95977),dr=e.n(At),Y=e(76324),ot=e.n(Y),Yt=e(11633),it=e.n(Yt),Mt=e(71450),an=e.n(Mt),Cn=e(47809),Ln=e.n(Cn),In=e(95731),Si=e.n(In),$i=e(54547),tn=e.n($i),Hi=e(61811),Ji=e.n(Hi),Yi=e(9083),Ki=e.n(Yi);function mi(Le,De){return Math.round(Le+Math.random()+(De-Le))}function ws(Le,De){return De&&mi(0,Le*De**2)}function Zn(Le={},De){const{base:lt=700,tries:gt=10,when:Zt=Ki()}=Le;function xn(...dn){let vn=0;function $n(){return Ht().resolveAfter(ws(lt,vn)).chain(hs)}function Ui(Qn){return++vn<gt?$n():Ht().Rejected(Qn)}function hs(){return De(...dn).bichain(dr()(Zt,Ui,Ht().Rejected),Ht().of)}return hs()}return xn}const fs=m()(2,Zn);var cs=e(31675),vs=e.n(cs);function wr(Le,De){if(Le.length!==De.length)return!1;for(var lt=0;lt<Le.length;lt++)if(Le[lt]!==De[lt])return!1;return!0}function we(Le,De){De===void 0&&(De=wr);var lt,gt=[],Zt,xn=!1;function dn(){for(var vn=[],$n=0;$n<arguments.length;$n++)vn[$n]=arguments[$n];return xn&<===this&&De(vn,gt)||(Zt=Le.apply(this,vn),xn=!0,lt=this,gt=vn),Zt}return dn}const ut=we(vs()),Kt=5e3,ar=Symbol("TimeoutError");
1class Wn extends Error{constructor(){super("Authorization timed out")}}Wn.prototype[ar]=!0;const hi=fs({tries:2,when:Le=>Le[ar]}),Tt={};let qr=0;const Vr=v()(an()("AUTH_SERVICE_URI"),Le=>{window.addEventListener("message",De=>{const{origin:lt}=new URL(Le.AUTH_SERVICE_URI,window.location.origin);if(De.origin===lt){const{data:{access_token:gt,error:Zt,error_description:xn,id_token:dn,state:vn}={}}=De,$n=Tt[vn];$n&&(Zt?$n.reject(new Error([Zt,xn].join(", "))):$n.resolve({access_token:gt,id_token:dn}))}})});function Or(Le,De,lt){return new(Ht())((gt,Zt)=>{const xn=re()(()=>{delete Tt[dn],document.body.removeChild($n)});Vr(Le);const dn=qr++,vn=Me(),$n=document.createElement("iframe");return $n.style.display="none",document.body.appendChild($n),Ht()((Ui,hs)=>{const Qn=ae(),ki={resolve:hs,reject:Ui};Tt[dn]=ki,$n.addEventListener("error",Ji()(Ui,an()("error"))),$n.src=rt({client_id:Le.OKTA_CLIENT_ID,issuer:Qn?Le.HEYOKRA_OIDC_ISSUER_URI:Le.OIDC_ISSUER_URI,nonce:vn,redirect_uri:Le.REDIRECT_URI,response_mode:Qn?"post_message":"okta_post_message",scope:Le.OIDC_SCOPE,sessionToken:lt,state:dn})}).race(Ht().rejectAfter(Kt,new Wn)).chain(({id_token:Ui,access_token:hs})=>{const Qn=Ui?ut(Ui):null;return vn!==Qn.nonce?Ht().Reject(new Error(`Expected nonce ${vn} but received ${Qn.nonce}`)):(De.set(Ui,hs),Ht().of(De.get()))}).bimap(xn,xn).fork(gt,Zt,xn)})}const Pn=({AUTH_SERVICE_URI:Le},De)=>[Le,De].join("|");function zr(Le){const De={};return function(...gt){return Ht()((Zt,xn)=>{const dn={resolve:xn,reject:Zt},vn=Pn(...gt),$n=Symbol();De[vn]==null&&(De[vn]={listeners:new Map});const Ui=De[vn];if(Ui.listeners.set($n,dn),Ui.listeners.size===1){const hs=Qn=>ki=>{const Oi=[];for(const Ei of Ui.listeners.values())try{Ei[Qn](ki)}catch(ma){Oi.push(ma)}if(delete De[vn],Oi.length>0)throw Oi[0]};Ui.cancel=Le(...gt).fork(hs("reject"),hs("resolve"))}return function(){Ui.listeners.delete($n),Ui.listeners.size===0&&Ui.cancel&&Ui.cancel()}})}}const Hn=m()(3,zr(hi(Or))),fi=Le=>window.fetch(Le.clone()),Ti=Promise.reject.bind(Promise),ss=Le=>Le instanceof Response,xi=Le=>Ln()(Le,"status"),ms=Dr()(ss,xi(ot()(500))),wi=gr()(ss),Ls=Mr()(fe()(an()("ok"),Ti),fi),as=st()({when:un()(ms,wi),tries:3},Ls),rs=tn()(2,Le=>Dr()(Fr()(er()("OKTA_CLIENT_ID",Le)),xi(Kr()(i()(rr(),[401,403]))))),xa=it()([],["roles"]),ka=it()("",["subscription","status"]),Is=r()((Le,De,[,lt])=>{const[gt,Zt]=[De,lt].map(xa),[xn,dn]=[De,lt].map(ka);Si()(gt,Zt).length>0&&Le.emit("change:roles",lt,De),xn!==dn&&Le.emit("change:status",lt,De)}),Ms=Le=>window.location.hostname.includes(Le),Gs=r()((Le,{RISE_ACCOUNTS_URI:De,RISE_DOMAIN:lt},gt)=>Ms(lt)&&De&>.message.includes("redirect_uri")?Fn()({method:"GET",url:`${De}/api/subdomain_active`}).chain(({data:Zt})=>(Zt===!1?Le.emit("change:subdomain"):Le.emit("unauthorized",gt),Ht().Rejected(gt))).toPromise():(gt instanceof DOMException&>.name==="AbortError"||Le.emit("unauthorized",gt),Promise.reject(gt))),ks=r()((Le,De,lt,gt)=>{if(lt!=null&<.sub!==gt[1].sub)throw Le.emit("unauthorized",De),De;return gt}),ha=(Le,De)=>new Promise((lt,gt)=>{if(!(De instanceof AbortSignal)){Le.fork(gt,lt);return}const Zt=()=>gt(new DOMException("Aborted","AbortError"));if(De.aborted){Zt();return}let xn=Function.prototype;const dn=()=>xn();De.addEventListener("abort",dn);const vn=$n=>Ui=>{De.removeEventListener("abort",dn),$n(Ui)};xn=Le.fork(vn(gt),vn(lt),vn(Zt))}),Ys=r()((Le,De,lt,gt,Zt)=>{const[,xn]=lt.get();return ha(Hn(De,lt,void 0),gt.signal).then(ks(Le,Zt,xn),Gs(Le,De)).then(re()(Is(Le,xn))).then(()=>as(gt))}),Ea=tn()(5,(Le,De,lt,gt)=>dr()(rs(De),Ys(Le,De,lt,gt),Ti)),ia=fe()(ss,Ti),eo=Le=>(De,lt,gt,Zt)=>{const xn=new Request(gt,Zt);return as(xn).catch(Ea(Le,De,lt,xn)).catch(ia)};var wa=e(98258),da=e.n(wa);function js(Le){return Le!=null&&typeof Le=="object"&&Le["@@functional/placeholder"]===!0}function ce(Le){return function De(lt){return arguments.length===0||js(lt)?De:Le.apply(this,arguments)}}function ze(Le){return function De(lt,gt){switch(arguments.length){case 0:return De;case 1:return js(lt)?De:ce(function(Zt){return Le(lt,Zt)});default:return js(lt)&&js(gt)?De:js(lt)?ce(function(Zt){return Le(Zt,gt)}):js(gt)?ce(function(Zt){return Le(lt,Zt)}):Le(lt,gt)}}}var Nt=ze(function(De,lt){for(var gt={},Zt=0;Zt<De.length;)De[Zt]in lt&&(gt[De[Zt]]=lt[De[Zt]]),Zt+=1;return gt});const Pr=Nt;var pn=e(63320);const ci=(...Le)=>
1Hn(...Le).toPromise(),Wi=m()(3,ci),qi=new URLSearchParams(window.location.hash.substr(1));let Li=qi.get("id_token"),Mi=qi.get("access_token");Li&&(qi.delete("id_token"),window.history.replaceState(null,null,`#${qi.toString()}`)),Mi&&(qi.delete("access_token"),qi.delete("expires_in"),qi.delete("scope"),qi.delete("token_type"),window.history.replaceState(null,null,`#${qi.toString()}`));async function _a(Le,De){return Li?(De.set(Li,Mi),Li=Mi=void 0):De.get()[0]||await Wi(Le,De,void 0),De.get()}async function io(Le,De){return De.clear(),await _a(Le,De)}const za=2,so=250;class ys{constructor(De,lt,...gt){this._emitErrorDelegate=this._emitError.bind(this),this._initDelegate=this._init.bind(this),this._onErrorDelegate=this._onError.bind(this),this._resetRetryTimesDelegate=this._resetRetryTimes.bind(this),this._onerror=this._onmessage=this._onopen=Function.prototype,this._env=De,this._state=lt,this._errorEmitter=new(Xt()),this._closed=!1,this._params=gt,this._listeners={},this._resetRetryTimes(),this._init()}_emitError(De){this._errorEmitter.emit("error",new ErrorEvent("error",{colno:De.colno,error:De,filename:De.filename,lineno:De.lineno,message:De.message}))}_init(){if(!this._closed){this._source=new pn.EventSourcePolyfill(...this._params),this._source.addEventListener("error",this._onErrorDelegate),this._source.addEventListener("open",this._resetRetryTimesDelegate),this._source.onerror=this._onerror,this._source.onmessage=this._onmessage,this._source.onopen=this._onopen;for(const De in this._listeners)for(const lt of this._listeners[De])this._source.addEventListener(De,lt)}}_onError(De){De.status>=500&&this._retryAttempts>0?(this._retryTimeout=setTimeout(this._initDelegate,this._retryIn),this._retryAttempts--,this._retryIn=so*2**(za-this._retryAttempts+1)):(De.status===401||De.status===403)&&this._retryAuthz?(io(this._env,this._state).then(this._initDelegate).catch(this._emitErrorDelegate),this._retryAuthz=!1):this._errorEmitter.emit("error",De)}_resetRetryTimes(){this._retryAttempts=za,this._retryAuthz=!0,this._retryIn=so}addEventListener(De,lt){De==="error"?this._errorEmitter.on("error",lt):(this._listeners[De]=this._listeners[De]||[],this._listeners[De].push(lt),this._source.addEventListener(De,lt))}close(){return this._closed=!0,clearTimeout(this._retryTimeout),this._source.close()}dispatchEvent(...De){return this._source.dispatchEvent(...De)}removeEventListener(De,lt){De==="error"?this._errorEmitter.off("error",lt):(da()(this._listeners[De],[lt]),this._source.removeEventListener(De,lt))}}["onerror","onmessage","onopen"].forEach(Le=>{Object.defineProperty(ys.prototype,Le,{get(){return this[`_${Le}`]},set(De){this[`_${Le}`]=this._source[Le]=De}})}),["readyState","url","withCredentials"].forEach(Le=>{Object.defineProperty(ys.prototype,Le,{get(){return this._source[Le]}})}),Object.assign(ys.prototype,Pr(["CONNECTING","OPEN","CLOSED"],pn.EventSourcePolyfill.prototype));function Cr(Le,De){return class extends ys{constructor(...lt){super(Le,De,...lt)}}}const $a=D()(["response","status"],404),ln=Le=>T(Le).post("/api/v1/sessions/me/lifecycle/refresh",void 0,{headers:{Prefer:"return=minimal"}});async function va(Le,De,lt,gt){if(ae())return;const Zt={base:1e3,tries:5,when:xn=>!$a(xn)};await st()(Zt,ln)(lt.AUTH_SERVICE_URI).then(re()(()=>De.emit&&Le.emit("session:refreshed"))).catch(xn=>{throw $a(xn)&&(gt.clear(),De.emit&&Le.emit("session:closed")),xn})}const Da=m()(4,va);var zs=e(29583),Ks=e.n(zs),Aa=e(37543),pa=e.n(Aa);function Pt(Le,De){return Le?Ht()((lt,gt)=>{let Zt=!1;const xn=$n=>Ui=>{Zt=!0,clearTimeout(vn),$n(Ui)},dn=De.fork(xn(lt),xn(gt),xn(Function.prototype)),vn=setTimeout(()=>{Zt||(dn(),lt(new Error(`Timeout after ${Le}ms`)))},Le);return dn}):De}const $t=m()(2,Pt),xr=Le=>pa()(Le,["response","status"]),$r=r()(Le=>Dr()(Fr()(er()("OKTA_CLIENT_ID",Le)),xr(Kr()(i()(rr(),[401,403]))))),bn=xr(ot()(500)),Yr=gr()(xr(Boolean)),ge=Le=>{const{backoffBase:De}=Le,lt={base:De,when:un()(bn,Yr),tries:5};return fs(lt,Fn())(Le)},je=it()([],["roles"]),bt=it()("",["subscription","status"]),yt=r()((Le,De,[,lt])=>{const[gt,Zt]=[De,lt].map(je),[xn,dn]=[De,lt].map(bt);Si()(gt,Zt).length>0&&Le.emit("change:roles",lt,De),xn!==dn&&Le.emit("change:status",lt,De)}),sr=Le=>window.location.hostname.includes(Le),pr=r()((Le,{RISE_ACCOUNTS_URI:De,RISE_DOMAIN:lt},gt)=>
1sr(lt)&&De&>.message.includes("redirect_uri")?Fn()({method:"GET",url:`${De}/api/subdomain_active`}).chain(({data:Zt})=>(Zt===!1?Le.emit("change:subdomain"):Le.emit("unauthorized",gt),Ht().Rejected(gt))):(Le.emit("unauthorized",gt),Ht().Rejected(gt))),hr=r()((Le,De,lt,gt)=>lt!=null&<.sub!==gt[1].sub?(Le.emit("unauthorized",De),Ht().Rejected(De)):Ht().of(gt)),Xn=r()((Le,De,lt,gt,Zt)=>{const[,xn]=lt.get();return Hn(De,lt,void 0).bichain(pr(Le,De),hr(Le,Zt,xn)).map(re()(yt(Le,xn))).chain(()=>ge(gt))}),Un=tn()(4,(Le,De,lt,gt)=>dr()($r(De),Xn(Le,De,lt,gt),Ht().Rejected)),Fi=r()((Le,De,lt,gt)=>ge(gt).bichain(Un(Le,De,lt,gt),Ht().of)),Ai=r()((Le,De,lt,gt)=>$t(gt.timeout,Fi(Le,De,lt,Ks()("timeout",gt)))),qn=Le=>O()([1,"sub"],Le.get());async function $e(Le,De,lt,gt){const Zt=qn(lt);await ve(Le,{emit:!1},De,lt);try{const xn=await W(De,lt,gt),dn=await Wi(De,lt,xn),vn=qn(lt);return Zt&&Zt!==vn&&Le.emit("session:closed"),dn}catch(xn){throw Zt&&Le.emit("session:closed"),xn}}const Je=m()(4,$e);var Ct=e(31360);function Ot(Le){return Ct.parse(document.cookie)[Le]}function Wt(Le,De){const lt=Le.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=Ct.serialize(De,"",{domain:lt,expires:new Date(0),path:"/",secure:!0})}const Er=m()(2,Wt);function Hr(Le,De,[lt]){if(!De)return;const gt=Le.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=Ct.serialize(De,lt,{domain:gt,path:"/",secure:!0})}const mn=m()(3,Hr);function di(Le){return{clear(){Er(Le,Le.SESSION_COOKIE_NAME),Er(Le,Le.ACCESS_COOKIE_NAME)},get(){const De=Ot(Le.SESSION_COOKIE_NAME),lt=Ot(Le.ACCESS_COOKIE_NAME),gt=De?ut(De):null,Zt=lt?ut(lt):null;return[De,gt,lt,Zt]},set(De,lt){const gt=De?ut(De):null,Zt=lt?ut(lt):null;mn(Le,Le.SESSION_COOKIE_NAME,[De,gt]),mn(Le,Le.ACCESS_COOKIE_NAME,[lt,Zt])}}}const si=["addListener","listenerCount","listeners","off","on","once","removeAllListeners","removeListener"],Pe=r()((Le,De,lt)=>u()(lt,[Le,De])),He=Le=>si.reduce((De,lt)=>(De[lt]=Le[lt].bind(Le),De),{});function ft(Le){const De=new jt,lt=di(Le);return{getAuthorizationUrl:rt,EventSource:Cr(Le,lt),...He(De),...i()(Pe(Le,lt),{authenticate:W,closeSession:ve(De,{emit:!0}),fetch:eo(De),refreshSession:Da(De,{emit:!1}),request:Ai(De),resetSession:io,resumeSession:_a,startSession:Je(De)})}}},43056(f){"use strict";const d=(e,n,r)=>{const a=e.length;if(a==n)return e;const i=n-a;let s="";for(let u=1;u<=i;u++)s+=r;return s+e};f.exports=e=>{(e==null||e<1)&&(e=15);const n=parseInt(d("",e,"9"));let r=0,a;return()=>{let i=Math.floor(Math.random()*n);return i==a?r++:(r=0,a=i),i+=r,d(`${i}`,e,"0")}}},87675(f,d,e){"use strict";var n=this&&this.__extends||(function(){var m=function(g,h){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var T in b)b.hasOwnProperty(T)&&(v[T]=b[T])},m(g,h)};return function(g,h){m(g,h);function v(){this.constructor=g}g.prototype=h===null?Object.create(h):(v.prototype=h.prototype,new v)}})();Object.defineProperty(d,"__esModule",{value:!0}),d.InvalidParameters=d.MethodNotFound=d.InvalidRequest=d.InvalidJson=d.JsonRpcError=void 0;var r=e(50243),a=(function(m){n(g,m);function g(h,v,b){h===void 0&&(h="unknown error from the peer"),v===void 0&&(v=-32e3);var T=m.call(this,h)||this;return T.code=v,T.data=b,T}return g.prototype.toJsonRpcError=function(){return{code:this.code,data:this.data,message:this.message}},g})(r.BaseError);d.JsonRpcError=a;var i=(function(m){n(g,m);function g(){return m.call(this,"invalid JSON",-32700)||this}return g})(a);d.InvalidJson=i;var s=(function(m){n(g,m);function g(h){return h===void 0&&(h="invalid JSON-RPC request"),m.call(this,h,-32600)||this}return g})(a);d.InvalidRequest=s;var u=(function(m){n(g,m);function g(h){var v=this,b=h?"method not found: "+h:"method not found";return v=m.call(this,b,-32601,h)||this,v}return g})(a);d.MethodNotFound=u;var l=(function(m){n(g,m);function g(h){return m.call(this,"invalid parameter(s)",-32602,h)||this}return g})(a);d.InvalidParameters=l},97479(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.response=d.request=d.notification=d.error=void 0;var n=e(87675),r=JSON.stringify;d.error=function(a,i){(i==null||typeof i.toJsonRpcError!="function")&&(i=new n.JsonRpcError);var s=i.toJsonRpcError();return r({error:s,id:a,jsonrpc:"2.0"})},d.notification=function(a,i){return r({jsonrpc:"2.0",method:a,params:i})},d.request=function(a,i,s){return r({id:a,jsonrpc:"2.0",method:i,params:s})},d.response=function(a,i){return r({id:a,jsonrpc:"2.0",result:i})}},67750(f,d,e){"use strict";var n=this&&this.__createBinding||(Object.create?(function(l,m,g,h){h===void 0&&(h=g),Object.defineProperty(l,h,{enumerable:!0,get:function(){return m[g]}})}):(function(l,m,g,h){h===void 0&&(h=g),l[h]=m[g]})),r=this&&this.__setModuleDefault||(Object.create?(function(l,m){Object.defineProperty(l,"default",{enumerable:!0,value:m})}):function(l,m){l.default=m}
1),a=this&&this.__importStar||function(l){if(l&&l.__esModule)return l;var m={};if(l!=null)for(var g in l)g!=="default"&&Object.hasOwnProperty.call(l,g)&&n(m,l,g);return r(m,l),m},i=this&&this.__exportStar||function(l,m){for(var g in l)g!=="default"&&!m.hasOwnProperty(g)&&n(m,l,g)};Object.defineProperty(d,"__esModule",{value:!0}),d.format=void 0;var s=a(e(97479));d.format=s,i(e(98996),d),i(e(87675),d);var u=e(1861);Object.defineProperty(d,"parse",{enumerable:!0,get:function(){return u.parse}})},98996(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0})},1861(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.parse=d.isResponsePayload=d.isErrorPayload=d.isRequestPayload=d.isNotificationPayload=void 0;var n=e(83323),r=e(87675),a=Object.defineProperty,i=function(T,E){return a(T,"type",{configurable:!0,value:E,writable:!0})},s=function(T){return T===null?"null":typeof T},u=function(T,E){if(E==="1.0"){if(T==null)throw new r.InvalidRequest("invalid error "+s(T))}else if(T==null||!n.isInteger(T.code)||!n.isString(T.message))throw new r.InvalidRequest("invalid error: "+s(T)+" instead of {code, message}")},l=function(T){if(!n.isNumber(T)&&!n.isString(T))throw new r.InvalidRequest("invalid identifier: "+s(T)+" instead of number or string")},m=function(T,E){if(E==="2.0"){if(T!==void 0&&!Array.isArray(T)&&!n.isObject(T))throw new r.InvalidRequest("invalid params: "+s(T)+" instead of undefined, array or object")}else if(!Array.isArray(T))throw new r.InvalidRequest("invalid params: "+s(T)+" instead of array")},g=function(T){var E=T.jsonrpc;if(E===void 0)return"1.0";if(E==="2.0")return"2.0";throw new r.InvalidRequest("invalid version: "+s(E)+" instead of undefined or '2.0'")},h=function(T,E){return T===(E==="2.0"?void 0:null)},v=function(T,E){var w=T.error;return w!==(E==="2.0"?void 0:null)};d.isNotificationPayload=function(T,E){if(n.isString(T.method)){var w=T.id;if(h(w,E))return m(T.params,E),!0}return!1},d.isRequestPayload=function(T,E){if(n.isString(T.method)){var w=T.id;if(!h(w,E))return l(w),m(T.params,E),!0}return!1},d.isErrorPayload=function(T,E){if(!n.isString(T.method)&&v(T,E)){var w=T.id;return w!==null&&l(w),u(T.error,E),!0}return!1},d.isResponsePayload=function(T,E){return!n.isString(T.method)&&!v(T,E)?(l(T.id),!0):!1};function b(T){if(n.isString(T))try{T=JSON.parse(T)}catch(w){throw w instanceof SyntaxError?new r.InvalidJson:w}if(Array.isArray(T))return T.map(b);var E=g(T);if(d.isNotificationPayload(T,E))i(T,"notification");else if(d.isRequestPayload(T,E))i(T,"request");else if(d.isErrorPayload(T,E))i(T,"error");else if(d.isResponsePayload(T,E))i(T,"response");else throw new r.InvalidJson;return T}d.parse=b,d.default=b,b.result=function(E){var w=b(E);if(!Array.isArray(w)){if(w.type==="error")throw w.error;if(w.type==="response")return w.result}throw new TypeError("message should be response or error JSON-RPC message")}},83323(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.isObject=d.isString=d.isInteger=d.isNumber=void 0;var e=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY;d.isNumber=function(r){var a=typeof r;return a==="number"&&r>e&&r<n},d.isInteger=function(r){return d.isNumber(r)&&r%1===0},d.isString=function(r){return typeof r=="string"},d.isObject=function(r){var a=typeof r;return r!==null&&(a==="object"||a==="function")}},33310(){"use strict"},54735(f,d,e){var n=e(81783),r=e(94554);function a(i){var s=r.CancelToken.source(),u=Object.assign({cancelToken:s.token},i);return n(function(l,m){return r(u).then(m,l),s.cancel.bind(s)})}f.exports=a},12100(f,d,e){d.action=e(22772),e(8901),d.error=e(62066),d.handle=e(22104),e(4238),d.onSuccess=e(13360),e(96832)},22772(f,d,e){var n=e(6564),r=function(a,i){return{type:a,payload:i}};f.exports=n(r)},8901(f,d,e){var n=e(6564),r=function(a,i){return[i,a]};f.exports=n(r)},62066(f,d,e){var n=e(6564),r=function(a,i){return{type:a,payload:i,error:!0}};f.exports=n(r)},22104(f,d,e){var n=e(6564),r=function(a,i){return function(s,u){s===void 0&&(s=a);var l=u.type,m=u.payload,g=u.error;return i[l]?i[l](s,m,g):s}};f.exports=n(r)},4238(f){var d=function(e,n,r){return r&&console.error(n),e};f.exports=d},13360(f){var d=function(e){return function(n,r,a){return a?n:e(n,r)}};f.exports=d},96832(f,d,e){var n=e(39949),r=e(63098),a=function(i){return r(i).map(n({type:"SIDE_
1EFFECT"}))};f.exports=a},2758(f,d,e){var n=e(63993),r=e(49875),a=function(i){for(var s=[],u=arguments.length-1;u-- >0;)s[u]=arguments[u+1];var l=function(m){var g=typeof m;return g==="function"?m.apply(void 0,s):m&&g==="object"?a.apply(void 0,[m].concat(s)):m};return n(l,i)};f.exports=r(a)},80687(f,d,e){var n=e(48224),r=e(91358),a=e(42101),i=e(96995),s=function(u,l){return r(n(u),[l,a])};f.exports=i(3,s)},49875(f,d,e){var n=e(74822),r=e(96975),a=e(79400),i=e(95396),s=e(13539),u=e(63993),l=e(10987),m=e(10886),g=e(66905),h=a(function(E,w){return typeof w===E}),v=function(E){return m(u(b),Math.max,0,g(E))},b=r([[h("object"),v],[h("function"),s],[l,n(0)]]),T=function(E,w){for(var C=[],O=arguments.length-2;O-- >0;)C[O]=arguments[O+2];var U=v(w),D=i(U+1,E);return C.length===0?U===0?function(){for(var F=[],j=arguments.length;j--;)F[j]=arguments[j];return D.apply(void 0,[w].concat(F))}:D(w):D.apply(void 0,[w].concat(C))};f.exports=a(T)},20596(f,d,e){var n=e(48224),r=e(91358),a=e(41068),i=e(74108),s=e(76138),u=e(96995),l=e(77559),m=function(g,h){return l(i(g),r(n(h),[s(g),a(g)]))};f.exports=u(3,m)},17394(f,d,e){var n=e(71571),r=e(30936),a=e(95977),i=e(9083),s=Promise.reject.bind(Promise),u=function(g,h){g===void 0&&(g={});var v=g.base;v===void 0&&(v=250);var b=g.tries;b===void 0&&(b=10);var T=g.when;T===void 0&&(T=i);var E=function(){for(var w=[],C=arguments.length;C--;)w[C]=arguments[C];var O=0,U=function(){return new Promise(function(j,M){setTimeout(function(){D().then(j,M)},l(v,O))})},D=function(){return Promise.resolve(w).then(n(h)).catch(a(T,F,s))},F=function(j){return++O<b?U():s(j)};return D()};return E},l=function(g,h){return h&&m(0,g*Math.pow(2,h))},m=function(g,h){return g+Math.random()*(h-g)};f.exports=r(u)},38487(f,d,e){var n=e(99788),r=e(61811),a=e(75279),i=e(74649),s=r(n(Promise.reject,Promise),i(a(Error),Error));f.exports=s},89831(f,d,e){var n=e(23347),r=e(79400),a=e(55425),i=function(s,u,l){var m={},g=function(){for(var h=[],v=arguments.length;v--;)h[v]=arguments[v];return a(function(){var b=u.apply(null,h);return m[b]||(m[b]={},m[b].async=n(function(T,E){Object.assign(m[b],{reject:T,resolve:E})})),clearTimeout(m[b].timeout),m[b].timeout=setTimeout(function(){var T=m[b],E=T.reject,w=T.resolve;l.apply(null,h).fork(E,w),delete m[b]},s),m[b].async})};return g};f.exports=r(i)},22672(f,d,e){var n=e(23347),r=e(79400),a=e(55425),i=e(80225),s=function(u,l,m){var g={},h=function(b){g[b].last=Date.now();var T=g[b],E=T.args,w=T.reject,C=T.resolve;m.apply(null,E).fork(w,C),delete g[b].args,delete g[b].timeout},v=function(){for(var b=[],T=arguments.length;T--;)b[T]=arguments[T];return a(function(){var E=l.apply(null,b);g[E]||(g[E]={},g[E].async=n(function(O,U){Object.assign(g[E],{reject:O,resolve:U})})),g[E].args=b;var w=Date.now()-(g[E].last||0);if(!g[E].timeout){var C=i(0,u-w);
1g[E].timeout=setTimeout(h.bind(null,E),C)}return g[E].async})};return v};f.exports=r(s)},2768(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.BLANK_URL=d.relativeFirstCharacters=d.urlSchemeRegex=d.ctrlCharactersRegex=d.htmlCtrlEntityRegex=d.htmlEntitiesRegex=d.invalidProtocolRegex=void 0,d.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,d.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,d.htmlCtrlEntityRegex=/&(newline|tab);/gi,d.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,d.urlSchemeRegex=/^.+(:|:)/gim,d.relativeFirstCharacters=[".","/"],d.BLANK_URL="about:blank"},97865(f,d,e){"use strict";var n;n={value:!0},d.J=void 0;var r=e(2768);function a(u){return r.relativeFirstCharacters.indexOf(u[0])>-1}function i(u){var l=u.replace(r.ctrlCharactersRegex,"");return l.replace(r.htmlEntitiesRegex,function(m,g){return String.fromCharCode(g)})}function s(u){if(!u)return r.BLANK_URL;var l=i(u).replace(r.htmlCtrlEntityRegex,"").replace(r.ctrlCharactersRegex,"").trim();if(!l)return r.BLANK_URL;if(a(l))return l;var m=l.match(r.urlSchemeRegex);if(!m)return l;var g=m[0];return r.invalidProtocolRegex.test(g)?r.BLANK_URL:l}d.J=s},28583(f,d,e){"use strict";e.d(d,{$:()=>r});var n=e(89714);function r(a,i){i.silentMultipleInit||n.Vy.error(`${a} is already initialized.`)}},39131(f,d,e){"use strict";e.d(d,{Z:()=>s,m:()=>i});var n=e(56103),r=e(84654),a=e(89714);function i(u){const l={version:"6.32.0",onReady(m){m()},...u};return Object.defineProperty(l,"_setDebug",{get(){return r.pM},enumerable:!1}),l}function s(u,l,m){const g=u[l];g&&!g.q&&g.version&&a.Vy.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),u[l]=m,g&&g.q&&g.q.forEach(h=>(0,n.y)(h,"onReady callback threw an error:")())}},22334(f,d,e){"use strict";e.d(d,{l:()=>i,q:()=>a});var n=e(84654),r=e(99909);function a(s,u,l,m,g){return i(s,u,[l],m,g)}function i(s,u,l,m,{once:g,capture:h,passive:v}={}){const b=(0,n.dm)(O=>{!O.isTrusted&&!O.__ddIsTrusted&&!s.allowUntrustedEvents||(g&&C(),m(O))}),T=v?{capture:h,passive:v}:h,E=window.EventTarget&&u instanceof EventTarget?window.EventTarget.prototype:u,w=(0,r.W)(E,"addEventListener");l.forEach(O=>w.call(u,O,b,T));function C(){const O=(0,r.W)(E,"removeEventListener");l.forEach(U=>O.call(u,U,b,T))}return{stop:C}}},90625(f,d,e){"use strict";e.d(d,{B9:()=>g,DQ:()=>E,OR:()=>l,Ri:()=>u,TV:()=>s,z$:()=>b});var n=e(89714),r=e(49504),a=e(71655),i=e(90696);function s(O,U,D=0,F){const j=new Date;j.setTime(j.getTime()+D);const M=`expires=${j.toUTCString()}`,W=F&&F.crossSite?"none":"strict",V=F&&F.domain?`;domain=${F.domain}`:"",q=F&&F.secure?";secure":"",J=F&&F.partitioned?";partitioned":"";document.cookie=`${O}=${U};${M};path=/;samesite=${W}${V}${q}${J}`}function u(O){return(0,a.rx)(document.cookie,O)}function l(O){return(0,a.Dh)(document.cookie).get(O)||[]}let m;function g(O){return m||(m=(0,a.it)(document.cookie)),m.get(O)}function h(){m=void 0}function v(O,U){s(O,"",0,U)}function b(O){if(document.cookie===void 0||document.cookie===null)return!1;try{const U=`dd_cookie_test_${(0,a.lk)()}`,D="test";s(U,D,r.iW,O);const F=u(U)===D;return v(U,O),F}catch(U){return n.Vy.error(U),!1}}let T;function E(O=location.hostname,U=document.referrer){if(T===void 0){const D=w(O,U);if(D){const F=`dd_site_test_${(0,a.lk)()}`,j="test",M=D.split(".");let W=M.pop();for(;M.length&&!u(F);)W=`${M.pop()}.${W}`,s(F,j,r.OY,{domain:W});v(F,{domain:W}),T=W}}return T}function w(O,U){try{return O||(0,i.c$)(U).hostname}catch{}}function C(){T=void 0}},28047(f,d,e){"use strict";e.d(d,{h:()=>a});var n=e(99909),r=e(10026);function a(i,s){return(0,n.W)((0,r.VZ)(),"fetch")(i,s)}},17751(f,d,e){"use strict";e.d(d,{i:()=>T});var n=e(49286),r=e(84654),a=e(75351),i=e(49504),s=e(90696),u=e(10026),l=e(42361),m=e(36015);async function g(U,D){const F=U.getReader(),j=[];for(;;){const M=await F.read();if(M.done)break;D.collectStreamBody&&j.push(M.value)}return F.cancel().catch(m.l),D.collectStreamBody?(0,l.wh)(j):void 0}var h=e(23034);let v;const b=[];function T({responseBodyAction:U}={}){return U&&b.push(U),v||(v=w()),v}function E(){v=void 0,b.length=0}function w(){return new a.cP(U=>{if(!u.J2.fetch)return;const{stop:D}=(0,n.H)(u.J2,"fetch",F=>C(F,U),{computeHandlingStack:!0});return D})}
1function C({parameters:U,onPostCall:D,handlingStack:F},j){var M,W;const[V,q]=U;let J=q&&q.method;J===void 0&&V instanceof Request&&(J=V.method);const re=J!==void 0?String(J).toUpperCase():"GET",he=V instanceof Request?V.url:(0,s.l2)(String(V)),fe=(0,i.M8)(),ae={state:"start",init:q,input:V,method:re,startClocks:fe,url:he,handlingStack:F,isAbortedOnStart:V instanceof Request&&((M=V.signal)===null||M===void 0?void 0:M.aborted)||((W=q?.signal)===null||W===void 0?void 0:W.aborted)||!1};j.notify(ae),U[0]=ae.input,U[1]=ae.init,D(ye=>{O(j,ye,ae).catch(r.Dx)})}async function O(U,D,F){var j,M;const W=F;W.state="resolve";let V;try{V=await D}catch(J){W.status=0,W.isAborted=((M=(j=W.init)===null||j===void 0?void 0:j.signal)===null||M===void 0?void 0:M.aborted)||J instanceof DOMException&&J.code===DOMException.ABORT_ERR,W.error=J,U.notify(W);return}W.response=V,W.status=V.status,W.responseType=V.type,W.isAborted=!1;const q=b.reduce((J,re)=>Math.max(J,re(W)),0);if(q!==0){const J=(0,h.i)(V);if(J&&J.body)try{const re=await g(J.body,{collectStreamBody:q===2});W.responseBody=re&&new TextDecoder().decode(re)}catch{}}U.notify(W)}},78170(f,d,e){"use strict";e.d(d,{Kp:()=>l,_T:()=>u,y5:()=>s});var n=e(75351),r=e(11586),a=e(10026),i=e(22334);const s={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function u(m){return new n.cP(g=>{if(a.Wq)return;const{stop:h}=(0,i.l)(m,window,["visibilitychange","freeze"],b=>{b.type==="visibilitychange"&&document.visibilityState==="hidden"?g.notify({reason:s.HIDDEN}):b.type==="freeze"&&g.notify({reason:s.FROZEN})},{capture:!0}),v=(0,i.q)(m,window,"beforeunload",()=>{g.notify({reason:s.UNLOADING})}).stop;return()=>{h(),v()}})}function l(m){return(0,r.KQ)(s).includes(m)}},2063(f,d,e){"use strict";e.d(d,{H:()=>a,N:()=>i});var n=e(36015),r=e(22334);function a(s,u,l){if(document.readyState===u||document.readyState==="complete")return l(),{stop:n.l};const m=u==="complete"?"load":"DOMContentLoaded";return(0,r.q)(s,window,m,l,{once:!0})}function i(s,u){return new Promise(l=>{a(s,u,l)})}},30092(f,d,e){"use strict";e.d(d,{G:()=>g});var n=e(49286),r=e(75351),a=e(49504),i=e(90696),s=e(8626),u=e(22334);let l;const m=new WeakMap;function g(w){return l||(l=h(w)),l}function h(w){return new r.cP(C=>{const{stop:O}=(0,n.H)(XMLHttpRequest.prototype,"open",v),{stop:U}=(0,n.H)(XMLHttpRequest.prototype,"send",F=>{b(F,w,C)},{computeHandlingStack:!0}),{stop:D}=(0,n.H)(XMLHttpRequest.prototype,"abort",T);return()=>{O(),U(),D()}})}function v({target:w,parameters:[C,O]}){m.set(w,{state:"open",method:String(C).toUpperCase(),url:(0,i.l2)(String(O))})}function b({target:w,parameters:[C],handlingStack:O},U,D){const F=m.get(w);if(!F)return;const j=F;j.state="start",j.startClocks=(0,a.M8)(),j.isAborted=!1,j.xhr=w,j.handlingStack=O,j.requestBody=C;let M=!1;const{stop:W}=(0,n.H)(w,"onreadystatechange",()=>{w.readyState===XMLHttpRequest.DONE&&V()}),V=()=>{if(q(),W(),M)return;M=!0;const J=F;J.state="complete",J.duration=(0,a.vk)(j.startClocks.timeStamp,(0,a.nx)()),J.status=w.status,typeof w.response=="string"&&(J.responseBody=w.response),D.notify((0,s.yG)(J))},{stop:q}=(0,u.q)(U,w,"loadend",V);D.notify(j)}function T({target:w}){const C=m.get(w);C&&(C.isAborted=!0)}function E(){l=void 0}},82809(f,d,e){"use strict";e.d(d,{t:()=>T});var n=e(75351),r=e(1264),a=e(49286),i=e(49504),s=e(6404),u=e(10026),l=e(14486),m=e(86609);function g(){return new n.cP(E=>{const w=(U,D)=>{const F=(0,l.As)({stackTrace:D,originalError:U,startClocks:(0,i.M8)(),nonErrorPrefix:"Uncaught",source:m.g.SOURCE,handling:"unhandled"});E.notify(F)},{stop:C}=h(w),{stop:O}=v(w);return()=>{C(),O()}})}function h(E){return(0,a.H)((0,u.VZ)(),"onerror",({parameters:[w,C,O,U,D]})=>{let F;(0,l.bJ)(D)||(F=(0,s.h)(w,C,O,U)),E(D??w,F)})}function v(E){return(0,a.H)((0,u.VZ)(),"onunhandledrejection",({parameters:[w]})=>{E(w.reason||"Empty reason")})}const b=500;function T(){const E=new n.dX(b),w=(0,r.B)(g)().subscribe(C=>{E.notify({type:0,error:C})});return{observable:E,stop:()=>{w.unsubscribe()}}}},96106(f,d,e){"use strict";e.d(d,{WA:()=>O,uT:()=>U,bX:()=>j,hO:()=>W,Sz:()=>M});var n=e(56103),r=e(89714),a=e(18296),i=e(8626),s=e(75643),u=e(98508),l=e(10026),m=e(27980),g=e(1264);const h=["chrome-extension://","moz-extension://"];function v(V){return h.some(q=>V.includes(q))}function b(V,q=""){if(v(V))return!1;const re=q.split(` 2`).filter(he=>{const fe=he.trim();return fe.length&&/^at\s+|@/.test(fe)})[1]||"";return v(re)}const T="Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided.",E="SDK initialized on a non-allowed domain.";function w(V,q){const J=(0,g.B)((0,l.VZ)().location),re=J?J.origin:"",he=V.allowedTrackingOrigins;if(!he)return b(re,q)?(r.Vy.error(T),!1):!0;const fe=(0,m.K)(he,re);return fe||r.Vy.error(E),fe}var C=e(89151);const O={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},U={ALL:"all",SAMPLED:"sampled"};function D(V,q){return V!=null&&typeof V!="string"?(r.Vy.error(`${q} must be defined as a string`),!1):!0}function F(V){return V&&typeof V=="string"&&!/(datadog|ddog|datad0g|dd0g)/.test(V)?(r.Vy.error(`Site should be a valid Datadog site. ${r.xG} ${r.fH}/getting_started/site/.`),!1):!0}function j(V,q){return V!==void 0&&!(0,a.fp)(V)?(r.Vy.error(`${q} Sample Rate should be a number between 0 and 100`),!1):!0}function M(V,q){var J,re,he,fe,ae,ye,ve,Ue,We,de;if(!V||!V.clientToken){r.Vy.error("Client Token is not configured, we will not send any data.");return}if(V.allowedTrackingOrigins!==void 0&&!Array.isArray(V.allowedTrackingOrigins)){r.Vy.error("Allowed Tracking Origins must be an array");return}if(!(!F(V.site)||!j(V.sessionSampleRate,"Session")||!j(V.telemetrySampleRate,"Telemetry")||!j(V.telemetryConfigurationSampleRate,"Telemetry Configuration")||!j(V.telemetryUsageSampleRate,"Telemetry Usage")||!D(V.version,"Version")||!D(V.env,"Env")||!D(V.service,"Service")||!w(V,q??""))){if(V.trackingConsent!==void 0&&!(0,i.Rj)(u.w,V.trackingConsent)){r.Vy.error('Tracking Consent should be either "granted" or "not-granted"');return}return{beforeSend:V.beforeSend&&(0,n.y)(V.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:l.Wq?void 0:(0,s.nd)(V),sessionSampleRate:(J=V.sessionSampleRate)!==null&&J!==void 0?J:100,telemetrySampleRate:(re=V.telemetrySampleRate)!==null&&re!==void 0?re:20,telemetryConfigurationSampleRate:(he=V.telemetryConfigurationSampleRate)!==null&&he!==void 0?he:5,telemetryUsageSampleRate:(fe=V.telemetryUsageSampleRate)!==null&&fe!==void 0?fe:5,service:(ae=V.service)!==null&&ae!==void 0?ae:void 0,env:(ye=V.env)!==null&&ye!==void 0?ye:void 0,version:(ve=V.version)!==null&&ve!==void 0?ve:void 0,datacenter:(Ue=V.datacenter)!==null&&Ue!==void 0?Ue:void 0,silentMultipleInit:!!V.silentMultipleInit,allowUntrustedEvents:!!V.allowUntrustedEvents,trackingConsent:(We=V.trackingConsent)!==null&&We!==void 0?We:u.w.GRANTED,trackAnonymousUser:(de=V.trackAnonymousUser)!==null&&de!==void 0?de:!0,storeContextsAcrossPages:!!V.storeContextsAcrossPages,betaEncodeCookieOptions:!!V.betaEncodeCookieOptions,variant:V.variant,sdkVersion:V.sdkVersion,...(0,C.T)(V)}}}function W(V){return{session_sample_rate:V.sessionSampleRate,telemetry_sample_rate:V.telemetrySampleRate,telemetry_configuration_sample_rate:V.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:V.telemetryUsageSampleRate,use_before_send:!!V.beforeSend,use_partitioned_cross_site_session_cookie:V.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:V.useSecureSessionCookie,use_proxy:!!V.proxy,silent_multiple_init:V.silentMultipleInit,track_session_across_subdomains:V.trackSe
2ssionAcrossSubdomains,track_anonymous_user:V.trackAnonymousUser,session_persistence:Array.isArray(V.sessionPersistence)?V.sessionPersistence[0]:V.sessionPersistence,allow_fallback_to_local_storage:!!V.allowFallbackToLocalStorage,store_contexts_across_pages:!!V.storeContextsAcrossPages,allow_untrusted_events:!!V.allowUntrustedEvents,tracking_consent:V.trackingConsent,use_allowed_tracking_origins:Array.isArray(V.allowedTrackingOrigins),beta_encode_cookie_options:V.betaEncodeCookieOptions,source:V.source,sdk_version:V.sdkVersion,variant:V.variant}}},92872(f,d,e){"use strict";e.d(d,{G:()=>l,n:()=>s});var n=e(49504),r=e(90696),a=e(71655),i=e(33613);function s(g,h,v){const b=u(g,h);return{build(T,E){const w=m(g,h,T,E,v);return b(w)},trackType:h}}function u(g,h){const v=`/api/v2/${h}`,b=g.proxy;if(typeof b=="string"){const E=(0,r.l2)(b);return w=>`${E}?ddforward=${encodeURIComponent(`${v}?${w}`)}`}if(typeof b=="function")return E=>b({path:v,parameters:E});const T=l(h,g);return E=>`https://${T}${v}?${E}`}function l(g,h){const{site:v=i.NW,internalAnalyticsSubdomain:b}=h;if(g==="logs"&&h.usePciIntake&&v===i.NW)return i.$A;if(b&&v===i.NW)return`${b}.${i.NW}`;if(v===i.TC)return`http-intake.logs.${v}`;const T=v.split("."),E=T.pop();return`browser-intake-${T.join("-")}.${E}`}function m({clientToken:g,internalAnalyticsSubdomain:h,source:v="browser"},b,T,{retry:E,encoding:w},C=[]){const O=[`ddsource=${v}`,`dd-api-key=${g}`,`dd-evp-origin-version=${encodeURIComponent("6.32.0")}`,"dd-evp-origin=browser",`dd-request-id=${(0,a.lk)()}`].concat(C);return w&&O.push(`dd-evp-encoding=${w}`),b==="rum"&&(O.push(`batch_time=${(0,n.nx)()}`,`_dd.api=${T}`),E&&O.push(`_dd.retry_count=${E.count}`,`_dd.retry_after=${E.lastFailureStatus}`)),h&&O.reverse(),O.join("&")}},89151(f,d,e){"use strict";e.d(d,{T:()=>a,w:()=>l});var n=e(33613),r=e(92872);function a(m){const g=m.site||n.NW,h=i(m.source),v=s({...m,site:g,source:h});return{replica:u({...m,site:g,source:h}),site:g,source:h,...v}}function i(m){return m==="flutter"||m==="unity"?m:"browser"}function s(m){return{logsEndpointBuilder:(0,r.n)(m,"logs"),rumEndpointBuilder:(0,r.n)(m,"rum"),profilingEndpointBuilder:(0,r.n)(m,"profile"),sessionReplayEndpointBuilder:(0,r.n)(m,"replay"),exposuresEndpointBuilder:(0,r.n)(m,"exposures"),flagEvaluationEndpointBuilder:(0,r.n)(m,"flagevaluation")}}function u(m){if(!m.replica)return;const g={...m,site:n.NW,clientToken:m.replica.clientToken};return{logsEndpointBuilder:(0,r.n)(g,"logs"),rumEndpointBuilder:(0,r.n)(g,"rum",[`application.id=${m.replica.applicationId}`])}}function l(m){return n.Ih.every(g=>m.includes(g))}},60034(f,d,e){"use strict";e.d(d,{q:()=>r});var n=e(10026);function r(){var a;const i=n.J2.navigator;return{status:i.onLine?"connected":"not_connected",interfaces:i.connection&&i.connection.type?[i.connection.type]:void 0,effective_type:(a=i.connection)===null||a===void 0?void 0:a.effectiveType}}},70015(f,d,e){"use strict";e.d(d,{l:()=>b});var n=e(14486),r=e(75351),a=e(89714),i=e(84654),s=e(73963),u=e(47697),l=e(86609),m=e(6404),g=e(96115),h=e(49504);let v={};function b(O){const U=O.map(D=>(v[D]||(v[D]=E(D)),v[D]));return(0,r.Fx)(...U)}function T(){v={}}function E(O){return new r.cP(U=>{const D=a.JZ[O];return a.JZ[O]=(...F)=>{D.apply(console,F);const j=(0,g.uC)("console error");(0,i.um)(()=>{U.notify(w(F,O,j))})},()=>{a.JZ[O]=D}})}function w(O,U,D){const F=O.map(j=>C(j)).join(" ");if(U===a.bP.error){const j=O.find(n.bJ),M=(0,n.As)({originalError:j,handlingStack:D,startClocks:(0,h.M8)(),source:l.g.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return M.message=F,{api:U,message:F,handlingStack:D,error:M}}return{api:U,message:F,error:void 0,handlingStack:D}}function C(O){return typeof O=="string"?(0,s.a)(O):(0,n.bJ)(O)?(0,g.NR)((0,m.T)(O)):(0,u.s)((0,s.a)(O),void 0,2)}},81545(f,d,e){"use strict";e.d(d,{N:()=>n,Q:()=>r});const n={userContext:"userContext",globalContext:"globalContext",accountContext:"accountContext"},r={getContext:"getContext",setContext:"setContext",setContextProperty:"setContextProperty",removeContextProperty:"removeContextProperty",clearContext:"clearContext"}},33270(f,d,e){"use strict";e.d(d,{D:()=>g});var n=e(33474),r=e(73963),a=e(75351),i=e(89714),s=e(44119);function u(h){const v=(0,s.P)(h)==="object";return v||i.Vy.error("Unsupported context:",h),v}function l(h,v,b){const T={...h};for(const[E,{required:w,type:C}]of Object.entries(v))C==="string"&&!m(T[E])&&(T[E]=String(T[E])),w&&m(T[E])&&i.Vy.warn(`The property ${E} of ${b} is required; context will not be sent to the intake.`);return T}function m(h){return h==null||h===""}function g(h="",{propertiesConfig:v={}}={}){let b={};const T=new a.cP,E={getContext:()=>(0,n.Go)(b),setContext:w=>{u(w)?b=(0,r.a)(l(w,v,h)):E.clearContext(),T.notify()},setContextProperty:(w,C)=>{b=(0,r.a)(l({...b,[w]:C},v,h)),T.notify()},removeContextProperty:w=>{delete b[w],l(b,v,h),T.notify()},clearContext:()=>{b={},T.notify()},changeObservable:T};return E}},47610(f,d,e){"use strict";e.d(d,{P:()=>i,q:()=>a});var n=e(80306),r=e(84654);function a(s,u,l,m){return(0,r.dm)((...g)=>(m&&(0,n.Q6)({feature:m}),s()[u][l](...g)))}function i(s,u,l){s.changeObservable.subscribe(()=>{const m=s.getContext();l.add(g=>g[u].setContext(m))})}},30278(f,d,e){"use strict";e.d(d,{Ck:()=>u});var n=e(22334),r=e(33474),a=e(8626);const i="_dd_c",s=[];function u(g,h,v,b){const T=l(v,b);s.push((0,n.q)(g,window,"storage",({key:U})=>{T===U&&w()})),h.changeObservable.subscribe(C);const E=(0,r.kg)(O(),h.getContext());(0,a.RI)(E)||h.setContext(E);function w(){h.setContext(O())}function C(){localStorage.setItem(T,JSON.stringify(h.getContext()))}function O(){const U=localStorage.getItem(T);return U?JSON.parse(U):{}}}function l(g,h){return`${i}_${g}_${h}`}function m(){s.map(g=>g.stop())}},75942(f,d,e){"use strict";e.d(d,{B:()=>s,K:()=>u});var n=e(30278),r=e(62682),a=e(8626),i=e(33270);function s(l,m,g){const h=u();return m.storeContextsAcrossPages&&(0,n.Ck)(m,h,g,4),l.register(0,()=>{const v=h.getContext();return(0,a.RI)(v)||!v.id?r.$O:{account:v}}),h}function u(){return(0,i.D)("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}},68444(f,d,e){"use strict";e.d(d,{F:()=>a,s:()=>i});var n=e(30278),r=e(33270);function a(s,u,l,m){const g=i();return u.storeContextsAcrossPages&&(0,n.Ck)(u,g,l,2),s.register(0,()=>{const h=g.getContext();return m?{context:h}:h}),g}function i(){return(0,r.D)("global context")}},98436(f,d,e){"use strict";e.d(d,{$:()=>s,Y:()=>u});var n=e(30278),r=e(62682),a=e(33270),i=e(8626);function s(l,m,g,h){const v=u();return m.storeContextsAcrossPages&&(0,n.Ck)(m,v,h,1),l.register(0,({eventType:b,startTime:T})=>{const E=v.getContext(),w=g.findTrackedSession(T);return w&&w.anonymousId&&!E.anonymous_id&&m.trackAnonymousUser&&(E.anonymous_id=w.anonymousId),(0,i.RI)(E)?r.$O:{type:b,usr:E}}),l.register(1,({startTime:b})=>{var T;return{anonymous_id:(T=g.findTrackedSession(b))===null||T===void 0?void 0:T.anonymousId}}),v}function u(){return(0,a.D)("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}},14486(f,d,e){"use strict";e.d(d,{$X:()=>b,As:()=>m,bJ:()=>T,e6:()=>u});
2var n=e(73963),r=e(47697),a=e(6404),i=e(96115),s=e(44119);const u="No stack, consider using an instance of Error";function l({originalError:w,stackTrace:C,source:O,useFallbackStack:U=!0,nonErrorPrefix:D}){const F=T(w);return!C&&F&&(C=(0,a.T)(w)),{source:O,type:C?C.name:void 0,message:g(C,F,D,w),stack:C?(0,i.Yn)(C):U?u:void 0}}function m({stackTrace:w,originalError:C,handlingStack:O,componentStack:U,startClocks:D,nonErrorPrefix:F,useFallbackStack:j=!0,source:M,handling:W}){const V=l({originalError:C,stackTrace:w,source:M,useFallbackStack:j,nonErrorPrefix:F});return{startClocks:D,handling:W,handlingStack:O,componentStack:U,originalError:C,...V,causes:T(C)?E(C,M):void 0,fingerprint:h(C),context:v(C)}}function g(w,C,O,U){return w?.message&&w?.name?w.message:C?"Empty message":O?`${O} ${(0,r.s)((0,n.a)(U))}`:(0,r.s)((0,n.a)(U))}function h(w){return T(w)&&"dd_fingerprint"in w?String(w.dd_fingerprint):void 0}function v(w){if((0,s.O)(w))return w.dd_context}function b(w){var C;return(C=/@ (.+)/.exec(w))===null||C===void 0?void 0:C[1]}function T(w){return w instanceof Error||Object.prototype.toString.call(w)==="[object Error]"}function E(w,C){const O=[];let U=w.cause;for(;U!=null&&O.length<10;){const D=l({originalError:U,source:C,useFallbackStack:!1});O.push(D),U=T(U)?U.cause:void 0}return O.length?O:void 0}},86609(f,d,e){"use strict";e.d(d,{g:()=>n});const n={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"}},7500(f,d,e){"use strict";e.d(d,{$:()=>s});var n=e(74593),r=e(49504),a=e(86609);const i=3e3;function s(u,l,m=i){let g=0,h=!1;return{isLimitReached(){if(g===0&&(0,n.wg)(()=>{g=0},r.iW),g+=1,g<=m||h)return h=!1,!1;if(g===m+1){h=!0;try{l({message:`Reached max number of ${u}s by minute: ${m}`,source:a.g.AGENT,startClocks:(0,r.M8)()})}finally{h=!1}}return!0}}}},33613(f,d,e){"use strict";e.d(d,{$A:()=>u,Bb:()=>n,Ih:()=>l,NW:()=>a,R8:()=>s,TC:()=>r,dV:()=>i});const n="datad0g.com",r="dd0g-gov.com",a="datadoghq.com",i="datadoghq.eu",s="ddog-gov.com",u="pci.browser-intake-datadoghq.com",l=["ddsource","dd-api-key","dd-request-id"]},16689(f,d,e){"use strict";e.d(d,{V:()=>m,u:()=>g});var n=e(96115),r=e(84654),a=e(75351),i=e(22334),s=e(71655),u=e(86609),l=e(49504);const m={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function g(C,O){const U=[];O.includes(m.cspViolation)&&U.push(v(C));const D=O.filter(F=>F!==m.cspViolation);return D.length&&U.push(h(D)),(0,a.Fx)(...U)}function h(C){return new a.cP(O=>{if(!window.ReportingObserver)return;const U=(0,r.dm)((F,j)=>F.forEach(M=>O.notify(b(M)))),D=new window.ReportingObserver(U,{types:C,buffered:!0});return D.observe(),()=>{D.disconnect()}})}function v(C){return new a.cP(O=>{const{stop:U}=(0,i.q)(C,document,"securitypolicyviolation",D=>{O.notify(T(D))});return U})}function b(C){const{type:O,body:U}=C;return E({type:U.id,message:`${O}: ${U.message}`,originalError:C,stack:w(U.id,U.message,U.sourceFile,U.lineNumber,U.columnNumber)})}function T(C){const O=`'${C.blockedURI}' blocked by '${C.effectiveDirective}' directive`;return E({type:C.effectiveDirective,message:`${m.cspViolation}: ${O}`,originalError:C,csp:{disposition:C.disposition},stack:w(C.effectiveDirective,C.originalPolicy?`${O} of the policy "${(0,s._R)(C.originalPolicy,100,"...")}"`:"no policy",C.sourceFile,C.lineNumber,C.columnNumber)})}function E(C){return{startClocks:(0,l.M8)(),source:u.g.REPORT,handling:"unhandled",...C}}function w(C,O,U,D,F){return U?(0,n.Yn)({name:C,message:O,stack:[{func:"?",url:U,line:D??void 0,column:F??void 0}]}):void 0}},51060(f,d,e){"use strict";e.d(d,{Y:()=>r,v:()=>n});const n={DOCUMENT:"document",XHR:"xhr",BEACON:"beacon",FETCH:"fetch",CSS:"css",JS:"js",IMAGE:"image",FONT:"font",MEDIA:"media",OTHER:"other"},r={FETCH:n.FETCH,XHR:n.XHR}},82277(f,d,e){"use strict";e.d(d,{AQ:()=>r,HB:()=>a,Q_:()=>u,_P:()=>i,gB:()=>s});var n=e(49504);const r=4*n.MA,a=15*n.iW,i=n.$H,s="0",u={COOKIE:"cookie",MEMORY:"memory",LOCAL_STORAGE:"local-storage"}},98843(f,d,e){"use strict";e.d(d,{ox:()=>j});var n=e(75351),r=e(24665),a=e(49504),i=e(22334),s=e(74593),u=e(80306),l=e(46900),m=e(90625),g=e(95259),h=e(11586),v=e(84654),b=e(82277
2),T=e(75643),E=e(75677),w=e(19645),C=e(74617),O=e(30914);const U=a.iW,D=b.AQ;let F=[];function j(fe,ae,ye,ve){const Ue=new n.cP,We=new n.cP,de=(0,T.oC)(fe.sessionStoreStrategyType,fe,ae,ye);F.push(()=>de.stop());const xe=(0,r.qj)({expireDelay:D});if(F.push(()=>xe.stop()),de.renewObservable.subscribe(()=>{xe.add(Fe(),(0,a.$S)()),Ue.notify()}),de.expireObservable.subscribe(()=>{We.notify(),xe.closeActive((0,a.$S)())}),de.expandOrRenewSession(),xe.add(Fe(),(0,a.Oc)().relative),(0,g.sr)(g.R9.SHORT_SESSION_INVESTIGATION)){const Xe=de.getSession();Xe&&re(fe,Xe)}ve.observable.subscribe(()=>{ve.isGranted()?de.expandOrRenewSession():de.expire(!1)}),W(fe,()=>{ve.isGranted()&&de.expandOrRenewSession()}),V(fe,()=>de.expandSession()),q(fe,()=>de.restartSession());function Fe(){const Xe=de.getSession();return Xe?{id:Xe.id,trackingType:Xe[ae],isReplayForced:!!Xe.forcedReplay,anonymousId:Xe.anonymousId}:(J(fe).catch(()=>{}),{id:"invalid",trackingType:b.gB,isReplayForced:!1,anonymousId:void 0})}return{findSession:(Xe,Me)=>xe.find(Xe,Me),renewObservable:Ue,expireObservable:We,sessionStateUpdateObservable:de.sessionStateUpdateObservable,expire:de.expire,updateSessionState:de.updateSessionState}}function M(){F.forEach(fe=>fe()),F=[]}function W(fe,ae){const{stop:ye}=(0,i.l)(fe,window,["click","touchstart","keydown","scroll"],ae,{capture:!0,passive:!0});F.push(ye)}function V(fe,ae){const ye=()=>{document.visibilityState==="visible"&&ae()},{stop:ve}=(0,i.q)(fe,document,"visibilitychange",ye);F.push(ve);const Ue=(0,s.yb)(ye,U);F.push(()=>{(0,s.vG)(Ue)})}function q(fe,ae){const{stop:ye}=(0,i.q)(fe,window,"resume",ae,{capture:!0});F.push(ye)}async function J(fe){const ae=fe.sessionStoreStrategyType;if(!ae)return;let ye,ve;ae.type===b.Q_.COOKIE?(ye=(0,w.Hv)(ae.cookieOptions,fe),ve={cookie:await he(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):ye=(0,O.dX)(),(0,u.A2)("Unexpected session state",{sessionStoreStrategyType:ae.type,session:ye,isSyntheticsTest:(0,l.Fs)(),createdTimestamp:ye?.created,expireTimestamp:ye?.expire,...ve})}function re(fe,ae){if(!window.cookieStore||!ae.created)return;const ye=Number(ae.created),ve=(0,a.x3)(),{stop:Ue}=(0,i.q)(fe,cookieStore,"change",We);F.push(Ue);function We(de){const xe=(0,h.Uk)(de.changed,Xe=>Xe.name===C.Z);if(!xe)return;const Fe=(0,a.x3)()-ye;if(Fe>14*a.iW)Ue();else{const Xe=(0,E.H9)(xe.value);if(Xe.id&&Xe.id!==ae.id){Ue();const Me=(0,a.x3)()-ve;he().then(Ze=>{(0,u.A2)("Session cookie changed",{time:Me,session_age:Fe,old:ae,new:Xe,cookie:Ze})}).catch(v.Dx)}}}}async function he(){let fe;return"cookieStore"in window?fe=await window.cookieStore.getAll(C.Z):fe=document.cookie.split(/\s*;\s*/).filter(ae=>ae.startsWith(C.Z)),{count:fe.length,domain:(0,m.DQ)()||"undefined",...fe}}},75677(f,d,e){"use strict";e.d(d,{oT:()=>E,zn:()=>g,W3:()=>b,TE:()=>h,c$:()=>v,H9:()=>C,D9:()=>w});var n=e(8626),r=e(11586),a=e(49504),i=e(82277);const s=/^([a-zA-Z]+)=([a-z0-9-]+)$/,u="&";function l(O){return!!O&&(O.indexOf(u)!==-1||s.test(O))}const m="1";function g(O,U){const D={isExpired:m};return U.trackAnonymousUser&&O?.anonymousId&&(D.anonymousId=O?.anonymousId),D}function h(O){return(0,n.RI)(O)}function v(O){return!h(O)}function b(O){return O.isExpired!==void 0||!T(O)}function T(O){return(O.created===void 0||(0,a.x3)()-Number(O.created)<i.AQ)&&(O.expire===void 0||(0,a.x3)()<Number(O.expire))}function E(O){O.expire=String((0,a.x3)()+i.HB)}function w(O){return(0,r.WP)(O).map(([U,D])=>U==="anonymousId"?`aid=${D}`:`${U}=${D}`).join(u)}function C(O){const U={};return l(O)&&O.split(u).forEach(D=>{const F=s.exec(D);if(F!==null){const[,j,M]=F;j==="aid"?U.anonymousId=M:U[j]=M}}),U}},75643(f,d,e){"use strict";e.d(d,{nd:()=>ye,oC:()=>de});var n=e(74593),r=e(75351),a=e(49504),i=e(36015),s=e(71655),u=e(89714),l=e(19645),m=e(75677),g=e(30914);const h=10,v=100,b=a.OY,T="--",E=[];let w;function C(xe,Fe,Xe=0){var Me;const{isLockEnabled:Ze,persistSession:rt,expireSession:mt}=Fe,Xt=Fr=>rt({...Fr,lock:Lt}),jt=()=>{const{lock:Fr,...fn}=Fe.retrieveSession();return{session:fn,lock:Fr&&!F(Fr)?Fr:void 0}};if(w||(w=xe),xe!==w){E.push(xe);return}if(Ze&&Xe>=v){U(Fe);return}let Lt,Ht=jt();if(Ze){if(Ht.lock){O(xe,Fe,Xe);return}if(Lt=D(),Xt(Ht.session),Ht=jt(),Ht.lock!==Lt){O(xe,Fe,Xe);return}}let vr=xe.process(Ht.session);if(Ze&&(Ht=jt(),Ht.lock!==Lt)){O(xe,Fe,Xe);return}if(vr&&((0,m.W3)(vr)?mt(vr):((0,m.oT)(vr),Ze?Xt(vr):rt(vr))),Ze&&!(vr&&(0,m.W3)(vr))){if(Ht=jt(),Ht.lock!==Lt){O(xe,Fe,Xe);return}rt(Ht.session),vr=Ht.session}(Me=xe.after)===null||Me===void 0||Me.call(xe,vr||Ht.session),U(Fe)}function O(xe,Fe,Xe){(0,n.wg)(()=>{C(xe,Fe,Xe+1)},h)}function U(xe){w=void 0;const Fe=E.shift();Fe&&C(Fe,xe)}function D(){return(0,s.lk)()+T+(0,a.nx)()}function F(xe){const[,Fe]=xe.split(T);return!Fe||(0,a.vk)(Number(Fe),(0,a.nx)())>b}var j=e(82277),M=e(10026),W=e(8626);const V="_DD_SESSION";function q(){return{type:j.Q_.MEMORY}}function J(xe){return{expireSession:Fe=>fe(Fe,xe),isLockEnabled:!1,persistSession:he,retrieveSession:re}}function re(){const xe=(0,M.VZ)();return xe[V]||(xe[V]={}),(0,W.yG)(xe[V])}function he(xe){const Fe=(0,M.VZ)();Fe[V]=(0,W.yG)(xe)}function fe(xe,Fe){he((0,m.zn)(xe,Fe))}const ae=a.OY;function ye(xe){const{sessionPersistence:Fe}=xe,Xe=ve(Fe,xe);for(const Me of Xe){const Ze=Ue(Me,xe);if(Ze!==void 0)return Ze}}function ve(xe,Fe){return Array.isArray(xe)?xe:xe!==void 0?[xe]:Fe.allowFallbackToLocalStorage?[j.Q_.COOKIE,j.Q_.LOCAL_STORAGE]:[j.Q_.COOKIE]}function Ue(xe,Fe){switch(xe){case j.Q_.COOKIE:return(0,l.ge)(Fe);case j.Q_.LOCAL_STORAGE:return(0,g.aW)();case j.Q_.MEMORY:return q();default:u.Vy.error(`Invalid session persistence '${String(xe)}'`);return}}function We(xe,Fe){return xe.type===j.Q_.COOKIE?(0,l.iA)(Fe,xe.cookieOptions):xe.type===j.Q_.LOCAL_STORAGE?(0,g.eh)(Fe):J(Fe)}function de(xe,Fe,Xe,Me,Ze=We(xe,Fe)){const rt=new r.cP,mt=new r.cP,Xt=new r.cP,jt=(0,n.yb)(fn,ae);let Lt;Sn();const{throttled:Ht,cancel:vr}=(0,i.n)(()=>{C({process:gr=>{if((0,m.TE)(gr))return;const ir=Kr(gr);return Fn(ir),ir},after:gr=>{(0,m.c$)(gr)&&!Et()&&Dr(gr),Lt=gr}},Ze)},ae);function Fr(){C({process:gr=>Et()?Kr(gr):void 0},Ze)}function fn(){const gr=Ze.retrieveSession();(0,m.W3)(gr)?C({process:ir=>(0,m.W3)(ir)?(0,m.zn)(ir,Fe):void 0,after:Kr},Ze):Kr(gr)}
2function Kr(gr){return(0,m.W3)(gr)&&(gr=(0,m.zn)(gr,Fe)),Et()&&(st(gr)?Wr():(Xt.notify({previousState:Lt,newState:gr}),Lt=gr)),gr}function Sn(){C({process:gr=>{if((0,m.TE)(gr))return gr.anonymousId=(0,s.lk)(),(0,m.zn)(gr,Fe)},after:gr=>{Lt=gr}},Ze)}function Fn(gr){if((0,m.TE)(gr))return!1;const ir=Me(gr[Xe]);gr[Xe]=ir,delete gr.isExpired,ir!==j.gB&&!gr.id&&(gr.id=(0,s.lk)(),gr.created=String((0,a.x3)())),Fe.trackAnonymousUser&&!gr.anonymousId&&(gr.anonymousId=(0,s.lk)())}function Et(){return Lt?.[Xe]!==void 0}function st(gr){return Lt.id!==gr.id||Lt[Xe]!==gr[Xe]}function Wr(){Lt=(0,m.zn)(Lt,Fe),mt.notify()}function Dr(gr){Lt=gr,rt.notify()}function Tr(gr){C({process:ir=>({...ir,...gr}),after:Kr},Ze)}return{expandOrRenewSession:Ht,expandSession:Fr,getSession:()=>Lt,renewObservable:rt,expireObservable:mt,sessionStateUpdateObservable:Xt,restartSession:Sn,expire:gr=>{vr(),gr===!1&&Lt&&delete Lt.anonymousId,Ze.expireSession(Lt),Kr((0,m.zn)(Lt,Fe))},stop:()=>{(0,n.vG)(jt)},updateSessionState:Tr}}},19645(f,d,e){"use strict";e.d(d,{iA:()=>w,Hv:()=>O,ge:()=>E});var n=e(8626),r=e(29771),a=e(90625),i=e(74617),s=e(75677);const u="_dd",l="_dd_r",m="_dd_l",g="rum",h="logs";function v(j){if(!(0,a.B9)(i.Z)){const W=(0,a.B9)(u),V=(0,a.B9)(l),q=(0,a.B9)(m),J={};W&&(J.id=W),q&&/^[01]$/.test(q)&&(J[h]=q),V&&/^[012]$/.test(V)&&(J[g]=V),(0,s.c$)(J)&&((0,s.oT)(J),j.persistSession(J))}}var b=e(82277);const T=0;function E(j){const M=U(j);return M&&(0,a.z$)(M)?{type:b.Q_.COOKIE,cookieOptions:M}:void 0}function w(j,M){const W={isLockEnabled:(0,r.F2)(),persistSession:V=>C(M,j,V,b.HB),retrieveSession:()=>O(M,j),expireSession:V=>C(M,j,(0,s.zn)(V,j),b.AQ)};return v(W),W}function C(j,M,W,V){let q=(0,s.D9)(W);M.betaEncodeCookieOptions&&(q=(0,s.D9)({...W,...(0,n.RI)(W)?{}:{c:D(j)}})),(0,a.TV)(i.Z,q,M.trackAnonymousUser?b._P:V,j)}function O(j,M){if(M.betaEncodeCookieOptions)return F(j);const W=(0,a.Ri)(i.Z);return(0,s.H9)(W)}function U(j){const M={};if(M.secure=!!j.useSecureSessionCookie||!!j.usePartitionedCrossSiteSessionCookie,M.crossSite=!!j.usePartitionedCrossSiteSessionCookie,M.partitioned=!!j.usePartitionedCrossSiteSessionCookie,j.trackSessionAcrossSubdomains){const W=(0,a.DQ)();if(!W)return;M.domain=W}return M}function D(j){const M=j.domain?j.domain.split(".").length-1:0;let W=0;return W|=T<<5,W|=M<<1,W|=j.crossSite?1:0,W.toString(16)}function F(j){const M=(0,a.OR)(i.Z),W=D(j);let V;for(const q of M.reverse())if(V=(0,s.H9)(q),V.c===W)break;return V==null||delete V.c,V??{}}},30914(f,d,e){"use strict";e.d(d,{aW:()=>u,dX:()=>g,eh:()=>l});var n=e(71655),r=e(82277),a=e(75677),i=e(74617);const s="_dd_test_";function u(){try{const v=(0,n.lk)(),b=`${s}${v}`;localStorage.setItem(b,v);const T=localStorage.getItem(b);return localStorage.removeItem(b),v===T?{type:r.Q_.LOCAL_STORAGE}:void 0}catch{return}}function l(v){return{isLockEnabled:!1,persistSession:m,retrieveSession:g,expireSession:b=>h(b,v)}}function m(v){localStorage.setItem(i.Z,(0,a.D9)(v))}function g(){const v=localStorage.getItem(i.Z);return(0,a.H9)(v)}function h(v,b){m((0,a.zn)(v,b))}},74617(f,d,e){"use strict";e.d(d,{Z:()=>n});const n="_dd_s"},46900(f,d,e){"use strict";e.d(d,{Fs:()=>v,IM:()=>h,ao:()=>g});var n=e(90625),r=e(10026),a=e(8626);const i="datadog-synthetics-",s=`${i}public-id`,u=`${i}result-id`,l=`${i}injects-rum`,m=`${i}rum-context`;function g(){return r.Wq?!1:!!(r.J2._DATADOG_SYNTHETICS_INJECTS_RUM||(0,n.B9)(l))}function h(){const E=b();return T(E)?E:void 0}function v(){return!!h()}function b(){const E=r.J2._DATADOG_SYNTHETICS_RUM_CONTEXT;if(E)return E;const w=(0,n.B9)(m);return w?(0,a.XU)(decodeURIComponent(w)):{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||(0,n.B9)(s),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||(0,n.B9)(u)}}function T(E){return typeof E=="object"&&E!==null&&typeof E.test_id=="string"&&typeof E.result_id=="string"}},74848(f,d,e){"use strict";e.d(d,{NQ:()=>i,iP:()=>s,m5:()=>a});var n=e(89714);const r=200;function a(m){const{env:g,service:h,version:v,datacenter:b,sdkVersion:T,variant:E}=m,w=[i("sdk_version",T??"6.32.0")];return g&&w.push(i("env",g)),h&&w.push(i("service",h)),v&&w.push(i("version",v)),b&&w.push(i("datacenter",b)),E&&w.push(i("variant",E)),w}function i(m,g){const h=g?`${m}:${g}`:m;return(h.length>r||u(h))&&n.Vy.warn(`Tag ${h} doesn't meet tag requirements and will be sanitized. ${n.xG} ${n.fH}/getting_started/tagging/#defining-tags`),s(h)}function s(m){return m.replace(/,/g,"_")}function u(m){return l()?new RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(m):!1}function l(){try{return new RegExp("[\\p{Ll}]","u"),!0}catch{return!1}}},80306(f,d,e){"use strict";e.d(d,{Rr:()=>Ze,A2:()=>Xe,VJ:()=>Me,Gk:()=>rt,Q6:()=>mt,a5:()=>ve});var n=e(89714),r=e(14486),a=e(96115),i=e(95259),s=e(74848),u=e(33613),l=e(75351),m=e(49504),g=e(84654),h=e(52972),v=e(18296),b=e(47697),T=e(33474),E=e(6404),w=e(60034),C=e(15972),O=e(2114),U=e(50320),D=e(90828),F=e(71803),j=e(78170),M=e(62682),W=e(10026),V=e(36015);const q={LOG:"log",CONFIGURATION:"configuration",USAGE:"usage"},J=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],re=1,he=[u.R8],fe=15;let ae;function ye(){return ae||(ae=new l.dX(100)),ae}function ve(Lt,Ht,vr){const Fr=new l.cP,{enabled:fn,metricsEnabled:Kr}=Ue(Lt,Ht,vr,Fr),{stop:Sn}=We(Ht,Fr);return{stop:Sn,enabled:fn,metricsEnabled:Kr}}function Ue(Lt,Ht,vr,Fr,fn=re,Kr=fe){const Sn={},Fn=!he.includes(Ht.site)&&(0,v.ic)(Ht.telemetrySampleRate),Et={[q.LOG]:Fn,[q.CONFIGURATION]:Fn&&(0,v.ic)(Ht.telemetryConfigurationSampleRate),[q.USAGE]:Fn&&(0,v.ic)(Ht.telemetryUsageSampleRate),metric:Fn&&(0,v.ic)(fn)},st=de(),Wr=ye();return Wr.subscribe(({rawEvent:Tr,metricName:gr})=>
2{if(gr&&!Et.metric||!Et[Tr.type])return;const ir=gr||Tr.status||Tr.type;let Mr=Sn[ir];if(Mr||(Mr=Sn[ir]=new Set),Mr.size>=Kr)return;const Lr=(0,b.s)(Tr);if(Mr.has(Lr))return;const un=vr.triggerHook(1,{startTime:(0,m.M8)().relative});if(un===M.ug)return;const hn=Dr(un,Lt,Tr,st);Fr.notify(hn),(0,h.b)("telemetry",hn),Mr.add(Lr)}),Wr.unbuffer(),(0,g.Bd)(Me),{enabled:Fn,metricsEnabled:Et.metric};function Dr(Tr,gr,ir,Mr){const un={type:"telemetry",date:(0,m.M8)().timeStamp,service:gr,version:"6.32.0",source:"browser",_dd:{format_version:2},telemetry:(0,T.kg)(ir,{runtime_env:Mr,connectivity:(0,w.q)(),sdk_setup:"npm"}),ddtags:(0,s.m5)(Ht).join(","),experimental_features:Array.from((0,i.q7)())};return(0,T.kg)(un,Tr)}}function We(Lt,Ht){const vr=[];if((0,C.d0)()){const Fr=(0,C.Y9)(),fn=Ht.subscribe(Kr=>Fr.send("internal_telemetry",Kr));vr.push(fn.unsubscribe)}else{const Fr=[Lt.rumEndpointBuilder];Lt.replica&&Fe(Lt)&&Fr.push(Lt.replica.rumEndpointBuilder);const fn=(0,O.X)({encoder:(0,F.N)(),request:(0,U.sA)(Fr,V.l),flushController:(0,D.tO)({pageMayExitObservable:(0,j._T)(Lt),sessionExpireObservable:new l.cP})});vr.push(fn.stop);const Kr=Ht.subscribe(fn.add);vr.push(Kr.unsubscribe)}return{stop:()=>vr.forEach(Fr=>Fr())}}function de(){var Lt;return{is_local_file:((Lt=W.J2.location)===null||Lt===void 0?void 0:Lt.protocol)==="file:",is_worker:W.Wq}}function xe(){ae=void 0}function Fe(Lt){return Lt.site===u.Bb}function Xe(Lt,Ht){(0,g.oO)(n.bP.debug,Lt,Ht),ye().notify({rawEvent:{type:q.LOG,message:Lt,status:"debug",...Ht}})}function Me(Lt,Ht){ye().notify({rawEvent:{type:q.LOG,status:"error",...Xt(Lt),...Ht}})}function Ze(Lt){ye().notify({rawEvent:{type:q.CONFIGURATION,configuration:Lt}})}function rt(Lt,Ht){ye().notify({rawEvent:{type:q.LOG,message:Lt,status:"debug",...Ht},metricName:Lt})}function mt(Lt){ye().notify({rawEvent:{type:q.USAGE,usage:Lt}})}function Xt(Lt){if((0,r.bJ)(Lt)){const Ht=(0,E.T)(Lt);return{error:{kind:Ht.name,stack:(0,a.Yn)(jt(Ht))},message:Ht.message}}return{error:{stack:r.e6},message:`Uncaught ${(0,b.s)(Lt)}`}}function jt(Lt){return Lt.stack=Lt.stack.filter(Ht=>!Ht.url||J.some(vr=>Ht.url.startsWith(vr))),Lt}},98508(f,d,e){"use strict";e.d(d,{D:()=>a,w:()=>r});var n=e(75351);const r={GRANTED:"granted",NOT_GRANTED:"not-granted"};function a(i){const s=new n.cP;return{tryToInit(u){i||(i=u)},update(u){i=u,s.notify()},isGranted(){return i===r.GRANTED},observable:s}}},62682(f,d,e){"use strict";e.d(d,{$O:()=>a,XP:()=>i,ug:()=>r});var n=e(33474);const r="DISCARDED",a="SKIPPED";function i(){const s={};return{register(u,l){return s[u]||(s[u]=[]),s[u].push(l),{unregister:()=>{s[u]=s[u].filter(m=>m!==l)}}},triggerHook(u,l){const m=s[u]||[],g=[];for(const h of m){const v=h(l);if(v===r)return r;v!==a&&g.push(v)}return(0,n.kg)(...g)}}}},49586(f,d,e){"use strict";e.d(d,{D:()=>n});class n{constructor(){this.callbacks={}}notify(a,i){const s=this.callbacks[a];s&&s.forEach(u=>u(i))}subscribe(a,i){return this.callbacks[a]||(this.callbacks[a]=[]),this.callbacks[a].push(i),{unsubscribe:()=>{this.callbacks[a]=this.callbacks[a].filter(s=>i!==s)}}}}},19287(f,d,e){"use strict";e.d(d,{O:()=>a});var n=e(40114);const r=500;function a(){const i=[];
2return{add:m=>{i.push(m)>r&&i.splice(0,1)},remove:m=>{(0,n.Ai)(i,m)},drain:m=>{i.forEach(g=>g(m)),i.length=0}}}},56103(f,d,e){"use strict";e.d(d,{y:()=>r});var n=e(89714);function r(a,i){return(...s)=>{try{return a(...s)}catch(u){n.Vy.error(i,u)}}}},89714(f,d,e){"use strict";e.d(d,{JZ:()=>r,Vy:()=>s,Xs:()=>l,Z9:()=>a,bP:()=>n,fH:()=>u,xG:()=>m});const n={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},r=console,a={};Object.keys(n).forEach(g=>{a[g]=r[g]});const i="Datadog Browser SDK:",s={debug:a.debug.bind(r,i),log:a.log.bind(r,i),info:a.info.bind(r,i),warn:a.warn.bind(r,i),error:a.error.bind(r,i)},u="https://docs.datadoghq.com",l=`${u}/real_user_monitoring/browser/troubleshooting`,m="More details:"},71803(f,d,e){"use strict";e.d(d,{N:()=>r});var n=e(42361);function r(){let a="",i=0;return{isAsync:!1,get isEmpty(){return!a},write(s,u){const l=(0,n.WW)(s);i+=l,a+=s,u&&u(l)},finish(s){s(this.finishSync())},finishSync(){const s={output:a,outputBytesCount:i,rawBytesCount:i,pendingData:""};return a="",i=0,s},estimateEncodedBytesCount(s){return s.length}}}},95259(f,d,e){"use strict";e.d(d,{Aq:()=>i,R9:()=>r,q7:()=>m,sr:()=>u});var n=e(8626),r;(function(g){g.TRACK_INTAKE_REQUESTS="track_intake_requests",g.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",g.FEATURE_OPERATION_VITAL="feature_operation_vital",g.SHORT_SESSION_INVESTIGATION="short_session_investigation",g.START_STOP_ACTION="start_stop_action",g.START_STOP_RESOURCE="start_stop_resource",g.USE_CHANGE_RECORDS="use_change_records",g.USE_INCREMENTAL_CHANGE_RECORDS="use_incremental_change_records",g.INP_SUBPARTS="inp_subparts",g.TOO_MANY_REQUESTS_INVESTIGATION="too_many_requests_investigation",g.COMPOSED_PATH_SELECTOR="composed_path_selector"})(r||(r={}));const a=new Set;function i(g){Array.isArray(g)&&s(g.filter(h=>(0,n.Rj)(r,h)))}function s(g){g.forEach(h=>{a.add(h)})}function u(g){return a.has(g)}function l(){a.clear()}function m(){return a}},99909(f,d,e){"use strict";e.d(d,{W:()=>r});var n=e(10026);function r(a,i){const s=(0,n.VZ)();let u;return s.Zone&&typeof s.Zone.__symbol__=="function"&&(u=a[s.Zone.__symbol__(i)]),u||(u=a[i]),u}},10026(f,d,e){"use strict";e.d(d,{J2:()=>r,VZ:()=>n,Wq:()=>a});function n(){if(typeof globalThis=="object")return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let i=_dd_temp_;return delete Object.prototype._dd_temp_,typeof i!="object"&&(typeof self=="object"?i=self:typeof window=="object"?i=window:i={}),i}const r=n(),a="WorkerGlobalScope"in r},49286(f,d,e){"use strict";e.d(d,{H:()=>s,t:()=>u});var n=e(74593),r=e(84654),a=e(36015),i=e(96115);function s(l,m,g,{computeHandlingStack:h}={}){let v=l[m];if(typeof v!="function")if(m in l&&typeof m=="string"&&m.startsWith("on"))v=a.l;else return{stop:a.l};let b=!1;const T=function(){if(b)return v.apply(this,arguments);const E=Array.from(arguments);let w;(0,r.um)(g,null,[{target:this,parameters:E,onPostCall:O=>{w=O},handlingStack:h?(0,i.uC)("instrumented method"):void 0}]);const C=v.apply(this,E);return w&&(0,r.um)(w,null,[C]),C};return l[m]=T,{stop:()=>{b=!0,l[m]===T&&(l[m]=v)}}}function u(l,m,g){const h=Object.getOwnPropertyDescriptor(l,m);if(!h||!h.set||!h.configurable)return{stop:a.l};const v=a.l;let b=(E,w)=>{(0,n.wg)(()=>{b!==v&&g(E,w)},0)};const T=function(E){h.set.call(this,E),b(this,E)};return Object.defineProperty(l,m,{set:T}),{stop:()=>{var E;((E=Object.getOwnPropertyDescriptor(l,m))===null||E===void 0?void 0:E.set)===T&&Object.defineProperty(l,m,h),b=v}}}},27980(f,d,e){"use strict";e.d(d,{K:()=>i,V:()=>a});var n=e(89714),r=e(44119);function a(s){const u=(0,r.P)(s);return u==="string"||u==="function"||s instanceof RegExp}function i(s,u,l=!1){return s.some(m=>{try{if(typeof m=="function")return m(u);if(m instanceof RegExp)return m.test(u);if(typeof m=="string")return l?u.startsWith(m):m===u}catch(g){n.Vy.error(g)}return!1})}},33474(f,d,e){"use strict";e.d(d,{Go:()=>a,kg:()=>i});var n=e(44119);function r(u,l,m=s()){if(l===void 0)return u;if(typeof l!="object"||l===null)return l;if(l instanceof Date)return new Date(l.getTime());if(l instanceof RegExp){const h=l.flags||[l.global?"g":"",l.ignoreCase?"i":"",l.multiline?"m":"",l.sticky?"y":"",l.unicode?"u":""].join("");return new RegExp(l.source,h)}if(m.hasAlreadyBeenSeen(l))return;if(Array.isArray(l)){const h=Array.isArray(u)?u:[];for(let v=0;v<l.length;++v)h[v]=r(h[v],l[v],m);return h}const g=(0,n.P)(u)==="object"?u:{};for(const h in l)Object.prototype.hasOwnProperty.call(l,h)&&(g[h]=r(g[h],l[h],m));return g}function a(u){return r(void 0,u)}function i(...u){let l;for(const m of u)m!=null&&(l=r(l,m));return l}function s(){if(typeof WeakSet<"u"){const l=new WeakSet;return{hasAlreadyBeenSeen(m){const g=l.has(m);return g||l.add(m),g}}}const u=[];return{hasAlreadyBeenSeen(l){const m=u.indexOf(l)>=0;return m||u.push(l),m}}}},1264(f,d,e){"use strict";e.d(d,{B:()=>r});const n=new Map;function r(a){return a}},84654(f,d,e){"use strict";e.d(d,{Bd:()=>i,Dx:()=>h,Ed:()=>l,dm:()=>m,oO:()=>v,pM:()=>s,um:()=>g});var n=e(89714);let r,a=!1;function i(b){r=b}function s(b){a=b}function u(){r=void 0,a=!1}function l(b,T,E){const w=E.value;E.value=function(...C){return(r?m(w):w).apply(this,C)}}function m(b){return function(...T){return g(b,this,T)}}function g(b,T,E){try{return b.apply(T,E)}catch(w){h(w)}}function h(b){if(v(b),r)try{r(b)}catch(T){v(T)}}function v(...b){a&&n.Vy.error("[MONITOR]",...b)}},75351(f,d,e){"use strict";e.d(d,{dX:()=>u,cP:()=>i,Fx:()=>s});var n=e(84654),r=e(10026);function a(l){const m=r.J2.queueMicrotask;typeof m=="function"?m((0,n.dm)(l)):Promise.resolve().then((0,n.dm)(l))}class i{constructor(m){this.onFirstSubscribe=m,this.observers=[]}subscribe(m){return this.addObserver(m),{unsubscribe:()=>this.removeObserver(m)}}
2notify(m){this.observers.forEach(g=>g(m))}addObserver(m){this.observers.push(m),this.observers.length===1&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(m){this.observers=this.observers.filter(g=>m!==g),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function s(...l){return new i(m=>{const g=l.map(h=>h.subscribe(v=>m.notify(v)));return()=>g.forEach(h=>h.unsubscribe())})}class u extends i{constructor(m){super(),this.maxBufferSize=m,this.buffer=[]}notify(m){this.buffer.push(m),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(m)}subscribe(m){let g=!1;const h={unsubscribe:()=>{g=!0,this.removeObserver(m)}};return a(()=>{for(const v of this.buffer){if(g)return;m(v)}g||this.addObserver(m)}),h}unbuffer(){a(()=>{this.maxBufferSize=this.buffer.length=0})}}},57384(f,d,e){"use strict";e.d(d,{BB:()=>i});var n=e(74593),r=e(84654),a=e(49504);function i(l,m){if(window.requestIdleCallback&&window.cancelIdleCallback){const g=window.requestIdleCallback((0,r.dm)(l),m);return()=>window.cancelIdleCallback(g)}return u(l)}const s=50;function u(l){const m=(0,a.x3)(),g=(0,n.wg)(()=>{l({didTimeout:!1,timeRemaining:()=>Math.max(0,s-((0,a.x3)()-m))})},0);return()=>(0,n.DJ)(g)}},52972(f,d,e){"use strict";e.d(d,{b:()=>r});var n=e(10026);function r(a,i){const s=n.J2.__ddBrowserSdkExtensionCallback;s&&s({type:a,payload:i})}},47697(f,d,e){"use strict";e.d(d,{M:()=>a,s:()=>r});var n=e(36015);function r(i,s,u){if(typeof i!="object"||i===null)return JSON.stringify(i);const l=a(Object.prototype),m=a(Array.prototype),g=a(Object.getPrototypeOf(i)),h=a(i);try{return JSON.stringify(i,s,u)}catch{return"<error: unable to serialize object>"}finally{l(),m(),g(),h()}}function a(i){const s=i,u=s.toJSON;return u?(delete s.toJSON,()=>{s.toJSON=u}):n.l}},73963(f,d,e){"use strict";e.d(d,{a:()=>l});var n=e(89714),r=e(42361),a=e(47697);const i=220*r._m,s="$",u=3;function l(E,w=i){const C=(0,a.M)(Object.prototype),O=(0,a.M)(Array.prototype),U=[],D=new WeakMap,F=m(E,s,void 0,U,D),j=JSON.stringify(F);let M=j?j.length:0;if(M>w){T(w,"discarded",E);return}for(;U.length>0&&M<w;){const W=U.shift();let V=0;if(Array.isArray(W.source))for(let q=0;q<W.source.length;q++){const J=m(W.source[q],W.path,q,U,D);if(J!==void 0?M+=JSON.stringify(J).length:M+=4,M+=V,V=1,M>w){T(w,"truncated",E);break}W.target[q]=J}else for(const q in W.source)if(Object.prototype.hasOwnProperty.call(W.source,q)){const J=m(W.source[q],W.path,q,U,D);if(J!==void 0&&(M+=JSON.stringify(J).length+V+q.length+u,V=1),M>w){T(w,"truncated",E);break}W.target[q]=J}}return C(),O(),F}function m(E,w,C,O,U){const D=b(E);if(!D||typeof D!="object")return g(D);const F=h(D);if(F!=="[Object]"&&F!=="[Array]"&&F!=="[Error]")return F;const j=E;if(U.has(j))return`[Reference seen at ${U.get(j)}]`;const M=C!==void 0?`${w}.${C}`:w,W=Array.isArray(D)?[]:{};return U.set(j,M),O.push({source:D,target:W,path:M}),W}function g(E){return typeof E=="bigint"?`[BigInt] ${E.toString()}`:typeof E=="function"?`[Function] ${E.name||"unknown"}`:typeof E=="symbol"?`[Symbol] ${E.description||E.toString()}`:E}function h(E){try{if(E instanceof Event)return v(E);if(E instanceof RegExp)return`[RegExp] ${E.toString()}`;const C=Object.prototype.toString.call(E).match(/\[object (.*)\]/);if(C&&C[1])return`[${C[1]}]`}catch{}return"[Unserializable]"}function v(E){return{type:E.type,isTrusted:E.isTrusted,currentTarget:E.currentTarget?h(E.currentTarget):null,target:E.target?h(E.target):null}}function b(E){const w=E;if(w&&typeof w.toJSON=="function")try{return w.toJSON()}catch{}return E}function T(E,w,C){n.Vy.warn(`The data provided has been ${w} as it is over the limit of ${E} characters:`,C)}},6404(f,d,e){"use strict";e.d(d,{T:()=>a,h:()=>U});var n=e(44119);const r="?";function a(V){var q,J;const re=[];let he=O(V,"stack");const fe=String(V);if(he&&he.startsWith(fe)&&(he=he.slice(fe.length)),he&&he.split(` 3`).forEach(ae=>{const ye=m(ae)||v(ae)||T(ae)||C(ae);ye&&(!ye.func&&ye.line&&(ye.func=r),re.push(ye))}),re.length>0&&W()&&V instanceof Error){const ae=[];let ye=V;for(;(ye=Object.getPrototypeOf(ye))&&j(ye);){const ve=((q=ye.constructor)===null||q===void 0?void 0:q.name)||r;ae.push(ve)}for(let ve=ae.length-1;ve>=0&&((J=re[0])===null||J===void 0?void 0:J.func)===ae[ve];ve--)re.shift()}return{message:O(V,"message"),name:O(V,"name"),stack:re}}const i="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",s="(?::(\\d+))",u=new RegExp(`^\\s*at (.*?) ?\\(${i}${s}?${s}?\\)?\\s*$`,"i"),l=new RegExp(`\\((\\S*)${s}${s}\\)`);function m(V){const q=u.exec(V);if(!q)return;const J=q[2]&&q[2].indexOf("native")===0,re=q[2]&&q[2].indexOf("eval")===0,he=l.exec(q[2]);return re&&he&&(q[2]=he[1],q[3]=he[2],q[4]=he[3]),{args:J?[q[2]]:[],column:q[4]?+q[4]:void 0,func:q[1]||r,line:q[3]?+q[3]:void 0,url:J?void 0:q[2]}}const g="(?:(.*)?(?: @))",h=new RegExp(`^\\s*at\\s*${g}?\\s*${i}${s}?${s}??\\s*$`,"i");function v(V){const q=h.exec(V);if(q)return{args:[],column:q[4]?+q[4]:void 0,func:q[1]||r,line:q[3]?+q[3]:void 0,url:q[2]}}const b=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function T(V){const q=b.exec(V);if(q)return{args:[],column:q[4]?+q[4]:void 0,func:q[1]||r,line:+q[3],url:q[2]}}
3const E=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,w=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function C(V){const q=E.exec(V);if(!q)return;const J=q[3]&&q[3].indexOf(" > eval")>-1,re=w.exec(q[3]);return J&&re&&(q[3]=re[1],q[4]=re[2],q[5]=void 0),{args:q[2]?q[2].split(","):[],column:q[5]?+q[5]:void 0,func:q[1]||r,line:q[4]?+q[4]:void 0,url:q[3]}}function O(V,q){return(0,n.O)(V)&&typeof V[q]=="string"?V[q]:void 0}function U(V,q,J,re){if(q===void 0)return;const{name:he,message:fe}=F(V);return{name:he,message:fe,stack:[{url:q,column:re,line:J}]}}const D=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function F(V){let q,J;return{}.toString.call(V)==="[object String]"&&([,q,J]=D.exec(V)),{name:q,message:J}}function j(V){return String(V.constructor).startsWith("class ")}let M;function W(){if(M!==void 0)return M;class V extends Error{constructor(){super(),this.name="Error"}}const[q,J]=[V,Error].map(re=>new re);return M=j(Object.getPrototypeOf(q))&&J.stack!==q.stack,M}},96115(f,d,e){"use strict";e.d(d,{NR:()=>s,Yn:()=>i,uC:()=>a});var n=e(84654),r=e(6404);function a(u){const m=new Error(u);m.name="HandlingStack";let g;return(0,n.um)(()=>{const h=(0,r.T)(m);h.stack=h.stack.slice(2),g=i(h)}),g}function i(u){let l=s(u);return u.stack.forEach(m=>{const g=m.func==="?"?"<anonymous>":m.func,h=m.args&&m.args.length>0?`(${m.args.join(", ")})`:"",v=m.line?`:${m.line}`:"",b=m.line&&m.column?`:${m.column}`:"";l+=` 4 at ${g}${h} @ ${m.url}${v}${b}`}),l}function s(u){return`${u.name||"Error"}: ${u.message}`}},74593(f,d,e){"use strict";e.d(d,{DJ:()=>s,vG:()=>l,wg:()=>i,yb:()=>u});var n=e(99909),r=e(84654),a=e(10026);function i(m,g){return(0,n.W)((0,a.VZ)(),"setTimeout")((0,r.dm)(m),g)}function s(m){(0,n.W)((0,a.VZ)(),"clearTimeout")(m)}function u(m,g){return(0,n.W)((0,a.VZ)(),"setInterval")((0,r.dm)(m),g)}function l(m){(0,n.W)((0,a.VZ)(),"clearInterval")(m)}},40114(f,d,e){"use strict";e.d(d,{Ai:()=>r,EI:()=>a,R3:()=>n});function n(i){const s=new Set;return i.forEach(u=>s.add(u)),Array.from(s)}function r(i,s){const u=i.indexOf(s);u>=0&&i.splice(u,1)}function a(i){return Array.isArray(i)&&i.length>0}},29771(f,d,e){"use strict";e.d(d,{F2:()=>n,nr:()=>r});function n(){return i()===0}function r(){return i()===1}let a;function i(){return a??(a=s())}function s(u=window){var l;const m=u.navigator.userAgent;return u.chrome||/HeadlessChrome/.test(m)?0:((l=u.navigator.vendor)===null||l===void 0?void 0:l.indexOf("Apple"))===0||/safari/i.test(m)&&!/chrome|android/i.test(m)?1:2}},42361(f,d,e){"use strict";e.d(d,{WW:()=>i,_m:()=>n,iH:()=>r,wh:()=>s});const n=1024,r=1024*n,a=/[^\u0000-\u007F]/;function i(u){return a.test(u)?window.TextEncoder!==void 0?new TextEncoder().encode(u).length:new Blob([u]).size:u.length}function s(u){if(u.length===1)return u[0];const l=u.reduce((h,v)=>h+v.length,0),m=new Uint8Array(l);let g=0;for(const h of u)m.set(h,g),g+=h.length;return m}},36015(f,d,e){"use strict";e.d(d,{l:()=>a,n:()=>r});var n=e(74593);function r(i,s,u){const l=u&&u.leading!==void 0?u.leading:!0,m=u&&u.trailing!==void 0?u.trailing:!0;let g=!1,h,v;return{throttled:(...b)=>{if(g){h=b;return}l?i(...b):h=b,g=!0,v=(0,n.wg)(()=>{m&&h&&i(...h),g=!1,h=void 0},s)},cancel:()=>{(0,n.DJ)(v),g=!1,h=void 0}}}function a(){}},18296(f,d,e){"use strict";e.d(d,{Et:()=>i,LI:()=>r,fp:()=>a,ic:()=>n});function n(s){return s!==0&&Math.random()*100<=s}function r(s,u){return+s.toFixed(u)}function a(s){return i(s)&&s>=0&&s<=100}function i(s){return typeof s=="number"}},8626(f,d,e){"use strict";e.d(d,{LG:()=>s,RI:()=>i,Rj:()=>a,XU:()=>n,yG:()=>r});function n(u){try{return JSON.parse(u)}catch{}}function r(u){return{...u}}function a(u,l){return Object.keys(u).some(m=>u[m]===l)}function i(u){return Object.keys(u).length===0}function s(u,l){const m={};for(const g of Object.keys(u))m[g]=l(u[g]);return m}},11586(f,d,e){"use strict";e.d(d,{KQ:()=>r,Uk:()=>n,WP:()=>a});function n(i,s){for(let u=i.length-1;u>=0;u-=1){const l=i[u];if(s(l,u,i))return l}}function r(i){return Object.values(i)}function a(i){return Object.entries(i)}},23034(f,d,e){"use strict";e.d(d,{G:()=>n,i:()=>r});function n(a){return a>=500}function r(a){try{return a.clone()}catch{return}}},71655(f,d,e){"use strict";e.d(d,{Dh:()=>i,_R:()=>u,it:()=>s,lk:()=>n,rx:()=>a});function n(l){return l?(parseInt(l,10)^Math.random()*16>>parseInt(l,10)/4).toString(16):`10000000-1000-4000-8000-${1e11}`.replace(/[018]/g,n)}const r=/(\S+?)\s*=\s*(.+?)(?:;|$)/g;function a(l,m){for(r.lastIndex=0;;){const g=r.exec(l);if(g){if(g[1]===m)return g[2]}else break}}function i(l){const m=new Map;for(r.lastIndex=0;;){const g=r.exec(l);if(g){const h=g[1],v=g[2];m.has(h)?m.get(h).push(v):m.set(h,[v])}else break}return m}function s(l){const m=new Map;for(r.lastIndex=0;;){const g=r.exec(l);if(g)m.set(g[1],g[2]);else break}return m}function u(l,m,g=""){const h=l.charCodeAt(m-1),b=h>=55296&&h<=56319?m+1:m;return l.length<=b?l:`${l.slice(0,b)}${g}`}},49504(f,d,e){"use strict";e.d(d,{$H:()=>u,$S:()=>E,FR:()=>l,Gw:()=>U,M8:()=>w,MA:()=>i,OY:()=>r,Oc:()=>C,TP:()=>h,Zj:()=>v,gs:()=>D,iW:()=>a,jR:()=>m,nx:()=>T,pu:()=>j,vk:()=>O,x3:()=>b});var n=e(18296);const r=1e3,a=60*r,i=60*a,u=365*(24*i);function l(V){return{relative:V,timeStamp:g(V)}}function m(V){return{relative:D(V),timeStamp:V}}function g(V){const q=b()-performance.now();return q>W()?Math.round(U(q,V)):F(V)}function h(){return Math.round(b()-U(W(),performance.now()))}function v(V){return(0,n.Et)(V)?(0,n.LI)(V*1e6,0):V}function b(){return new Date().getTime()}function T(){return b()}function E(){return performance.now()}function w(){return{relative:E(),timeStamp:T()}}function C(){return{relative:0,timeStamp:W()}}function O(V,q){return q-V}function U(V,q){return V+q}function D(V){return V-W()}function F(V){return Math.round(U(W(),V))}function j(V){return V<u}let M;function W(){var V,q;return M===void 0&&(M=(q=(V=performance.timing)===null||V===void 0?void 0:V.navigationStart)!==null&&q!==void 0?q:performance.timeOrigin),M}},44119(f,d,e){"use strict";e.d(d,{O:()=>r,P:()=>n});function n(a){return a===null?"null":Array.isArray(a)?"array":typeof a}function r(a){return n(a)==="object"}},90696(f,d,e){"use strict";e.d(d,{AY:()=>a,L2:()=>i,c$:()=>s,l2:()=>r});var n=e(10026);function r(m){return s(m,location.href).href}function a(m){try{return!!s(m)}catch{return!1}}function i(m){const g=s(m).pathname;return g[0]==="/"?g:`/${g}`}function s(m,g){const{URL:h}=l();try{return g!==void 0?new h(m,g):new h(m)}catch(v){throw new Error(`Failed to construct URL: ${String(v)}`)}}let u;function l(){var m;if(!u){let g,h;try{g=document.createElement("iframe"),g.style.display="none",document.body.appendChild(g),h=(m=g.contentWindow)!==null&&m!==void 0?m:n.J2}catch{h=n.J2}u={URL:h.URL},g?.remove()}return u}},24665(f,d,e){"use strict";e.d(d,{qj:()=>h});var n,r=e(74593),a=e(40114),i=e(49504);const s=1/0,u=i.iW;let l;const m=new Set;function g(){m.forEach(b=>b())}function h({expireDelay:b,maxEntries:T}){let E=[];l||(l=(0,r.yb)(()=>g(),u));const w=()=>{const W=(0,i.$S)()-b;for(;E.length>0&&E[E.length-1].endTime<W;)E.pop()};m.add(w);function C(W,V){const q={value:W,startTime:V,endTime:s,remove:()=>{(0,a.Ai)(E,q)},close:J=>{q.endTime=J}};return T&&E.length>=T&&E.pop(),E.unshift(q),q}function O(W=s,V={returnInactive:!1}){for(const q of E)if(q.startTime<=W){if(V.returnInactive||W<=q.endTime)return q.value;break}}function U(W){const V=E[0];V&&V.endTime===s&&V.close(W)}function D(W=s,V=0){const q=(0,i.Gw)(W,V);return E.filter(J=>J.startTime<=q&&W<=J.endTime).map(J=>J.value)}function F(W){return E.filter(V=>V.startTime===W)}function j(){E=[]}function M(){m.delete(w),m.size===0&&l&&((0,r.vG)(l),l=void 0)}return{add:C,find:O,closeActive:U,findAll:D,getEntries:F,reset:j,stop:M}}function v(){m.clear(),n(l),l=void 0}},2114(f,d,e){"use strict";e.d(d,{X:()=>l});var n=e(89714),r=e(11586),a=e(78170),i=e(47697),s=e(42361);const u=256*s._m;function l({encoder:g,request:h,flushController:v}){let b={};const T=v.flushObservable.subscribe(D=>U(D));function E(D,F,j){v.notifyBeforeAddMessage(F),j!==void 0?(b[j]=D,v.notifyAfterAddMessage()):g.write(g.isEmpty?D:` 5${D}`,M=>{v.notifyAfterAddMessage(M-F)})}function w(D){return D!==void 0&&b[D]!==void 0}function C(D){const F=b[D];delete b[D];const j=g.estimateEncodedBytesCount(F);v.notifyAfterRemoveMessage(j)}function O(D,F){const j=(0,i.s)(D),M=g.estimateEncodedBytesCount(j);if(M>=u){n.Vy.warn(`Discarded a message whose size was bigger than the maximum allowed size ${u/s._m}KiB. ${n.xG} ${n.Xs}/#technical-limitations`);return}w(F)&&C(F),E(j,M,F)}function U(D){const F=(0,r.KQ)(b).join(` 6`);b={};const j=(0,a.Kp)(D.reason),M=j?h.sendOnExit:h.send;if(j&&g.isAsync){const W=g.finishSync();W.outputBytesCount&&M(m(W));
6const V=[W.pendingData,F].filter(Boolean).join(` 7`);V&&M({data:V,bytesCount:(0,s.WW)(V)})}else F&&g.write(g.isEmpty?F:` 8${F}`),g.finish(W=>{M(m(W))})}return{flushController:v,add:O,upsert:O,stop:T.unsubscribe}}function m(g){let h;return typeof g.output=="string"?h=g.output:h=new Blob([g.output],{type:"text/plain"}),{data:h,bytesCount:g.outputBytesCount,encoding:g.encoding}}},15972(f,d,e){"use strict";e.d(d,{Ww:()=>a,Y9:()=>r,d0:()=>i});var n=e(10026);function r(){const u=s();if(u)return{getCapabilities(){var l;return JSON.parse(((l=u.getCapabilities)===null||l===void 0?void 0:l.call(u))||"[]")},getPrivacyLevel(){var l;return(l=u.getPrivacyLevel)===null||l===void 0?void 0:l.call(u)},getAllowedWebViewHosts(){return JSON.parse(u.getAllowedWebViewHosts())},send(l,m,g){const h=g?{id:g}:void 0;u.send(JSON.stringify({eventType:l,event:m,view:h}))}}}function a(u){const l=r();return!!l&&l.getCapabilities().includes(u)}function i(u){var l;u===void 0&&(u=(l=(0,n.VZ)().location)===null||l===void 0?void 0:l.hostname);const m=r();return!!m&&m.getAllowedWebViewHosts().some(g=>u===g||u.endsWith(`.${g}`))}function s(){return(0,n.VZ)().DatadogEventBridge}},90828(f,d,e){"use strict";e.d(d,{tO:()=>m});var n=e(10026),r=e(75351),a=e(74593),i=e(49504),s=e(50320);const u=30*i.OY,l=n.Wq?1:50;function m({pageMayExitObservable:g,sessionExpireObservable:h}){const v=g.subscribe(F=>C(F.reason)),b=h.subscribe(()=>C("session_expire")),T=new r.cP(()=>()=>{v.unsubscribe(),b.unsubscribe()});let E=0,w=0;function C(F){if(w===0)return;const j=w,M=E;w=0,E=0,D(),T.notify({reason:F,messagesCount:j,bytesCount:M})}let O;function U(){O===void 0&&(O=(0,a.wg)(()=>{C("duration_limit")},u))}function D(){(0,a.DJ)(O),O=void 0}return{flushObservable:T,get messagesCount(){return w},notifyBeforeAddMessage(F){E+F>=s.AK&&C("bytes_limit"),w+=1,E+=F,U()},notifyAfterAddMessage(F=0){E+=F,w>=l?C("messages_limit"):E>=s.AK&&C("bytes_limit")},notifyAfterRemoveMessage(F){E-=F,w-=1,w===0&&D()}}}},50320(f,d,e){"use strict";e.d(d,{AK:()=>M,sA:()=>W});var n=e(28047),r=e(84654),a=e(75351),i=e(42361),s=e(74593),u=e(49504),l=e(23034),m=e(86609);const g=80*i._m,h=32,v=20*i.iH,b=u.iW,T=u.OY;function E(he,fe,ae,ye,ve,Ue){fe.transportStatus===0&&fe.queuedPayloads.size()===0&&fe.bandwidthMonitor.canHandle(he)?C(he,fe,ae,Ue,{onSuccess:()=>O(0,fe,ae,ye,ve,Ue),onFailure:()=>{fe.queuedPayloads.enqueue(he)||Ue.notify({type:"queue-full",bandwidth:fe.bandwidthMonitor.stats(),payload:he}),w(fe,ae,ye,ve,Ue)}}):fe.queuedPayloads.enqueue(he)||Ue.notify({type:"queue-full",bandwidth:fe.bandwidthMonitor.stats(),payload:he})}function w(he,fe,ae,ye,ve){he.transportStatus===2&&(0,s.wg)(()=>{const Ue=he.queuedPayloads.first();C(Ue,he,fe,ve,{onSuccess:()=>{he.queuedPayloads.dequeue(),he.currentBackoffTime=T,O(1,he,fe,ae,ye,ve)},onFailure:()=>{he.currentBackoffTime=Math.min(b,he.currentBackoffTime*2),w(he,fe,ae,ye,ve)}})},he.currentBackoffTime)}function C(he,fe,ae,ye,{onSuccess:ve,onFailure:Ue}){fe.bandwidthMonitor.add(he),ae(he,We=>{fe.bandwidthMonitor.remove(he),U(We)?(fe.transportStatus=fe.bandwidthMonitor.ongoingRequestCount>0?1:2,he.retry={count:he.retry?he.retry.count+1:1,lastFailureStatus:We.status},ye.notify({type:"failure",bandwidth:fe.bandwidthMonitor.stats(),payload:he}),Ue()):(fe.transportStatus=0,ye.notify({type:"success",bandwidth:fe.bandwidthMonitor.stats(),payload:he}),ve())})}function O(he,fe,ae,ye,ve,Ue){he===0&&fe.queuedPayloads.isFull()&&!fe.queueFullReported&&(ve({message:`Reached max ${ye} events size queued for upload: ${v/i.iH}MiB`,source:m.g.AGENT,startClocks:(0,u.M8)()}),fe.queueFullReported=!0);const We=fe.queuedPayloads;for(fe.queuedPayloads=F();We.size()>0;)E(We.dequeue(),fe,ae,ye,ve,Ue)}function U(he){return he.type!=="opaque"&&(he.status===0&&!navigator.onLine||he.status===408||he.status===429||(0,l.G)(he.status))}function D(){return{transportStatus:0,currentBackoffTime:T,bandwidthMonitor:j(),queuedPayloads:F(),queueFullReported:!1}}function F(){const he=[];return{bytesCount:0,enqueue(fe){return this.isFull()?!1:(he.push(fe),this.bytesCount+=fe.bytesCount,!0)},first(){return he[0]},dequeue(){const fe=he.shift();return fe&&(this.bytesCount-=fe.bytesCount),fe},size(){return he.length},isFull(){return this.bytesCount>=v}}}function j(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle(he){return this.ongoingRequestCount===0||this.ongoingByteCount+he.bytesCount<=g&&this.ongoingRequestCount<h},add(he){this.ongoingRequestCount+=1,this.ongoingByteCount+=he.bytesCount},remove(he){this.ongoingRequestCount-=1,this.ongoingByteCount-=he.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}}}const M=16*i._m;function W(he,fe,ae=M){const ye=new a.cP,ve=D();return{observable:ye,send:Ue=>{for(const We of he)E(Ue,ve,(de,xe)=>{re(We,de,xe)},We.trackType,fe,ye)},sendOnExit:Ue=>{for(const We of he)V(We,ae,Ue)}}}function V(he,fe,ae){if(!!navigator.sendBeacon&&ae.bytesCount<fe)try{const ve=he.build("beacon",ae);if(navigator.sendBeacon(ve,ae.data))return}catch(ve){J(ve)}re(he,ae)}let q=!1;function J(he){q||(q=!0,(0,r.Dx)(he))}function re(he,fe,ae){const ye=he.build("fetch",fe);(0,n.h)(ye,{method:"POST",body:fe.data,mode:"cors"}).then((0,r.dm)(ve=>
8ae?.({status:ve.status,type:ve.type}))).catch((0,r.dm)(()=>ae?.({status:0})))}},50462(f,d,e){"use strict";e.d(d,{yf:()=>hi});var n=e(39131),r=e(10026),a=e(98508),i=e(82809),s=e(1264),u=e(84654),l=e(80306),m=e(47610),g=e(81545),h=e(73963),v=e(33474),b=e(28583),T=e(33270),E=e(14486),w=e(86609),C=e(49504),O=e(96115),U=e(74848);function D(Tt,qr,Vr){const Or=Vr.getHandler(),Pn=Array.isArray(Or)?Or:[Or];return j[Tt]>=j[Vr.getLevel()]&&Pn.includes(qr)}const F={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},j={[F.ok]:0,[F.debug]:1,[F.info]:2,[F.notice]:4,[F.warn]:5,[F.error]:6,[F.critical]:7,[F.alert]:8,[F.emerg]:9};function M(Tt,{includeMessage:qr=!1}={}){return{stack:Tt.stack,kind:Tt.type,message:qr?Tt.message:void 0,causes:Tt.causes,fingerprint:Tt.fingerprint,handling:Tt.handling}}var W=function(Tt,qr,Vr,Or){var Pn=arguments.length,zr=Pn<3?qr:Or===null?Or=Object.getOwnPropertyDescriptor(qr,Vr):Or,Hn;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")zr=Reflect.decorate(Tt,qr,Vr,Or);else for(var fi=Tt.length-1;fi>=0;fi--)(Hn=Tt[fi])&&(zr=(Pn<3?Hn(zr):Pn>3?Hn(qr,Vr,zr):Hn(qr,Vr))||zr);return Pn>3&&zr&&Object.defineProperty(qr,Vr,zr),zr};const V={console:"console",http:"http",silent:"silent"},q=Object.keys(F);class J{constructor(qr,Vr,Or=V.http,Pn=F.debug,zr={}){this.handleLogStrategy=qr,this.handlerType=Or,this.level=Pn,this.contextManager=(0,T.D)("logger"),this.tags=[],this.contextManager.setContext(zr),Vr&&this.contextManager.setContextProperty("logger",{name:Vr})}logImplementation(qr,Vr,Or=F.info,Pn,zr){const Hn=(0,h.a)(Vr);let fi;if(Pn!=null){const Ti=(0,E.As)({originalError:Pn,nonErrorPrefix:"Provided",source:w.g.LOGGER,handling:"handled",startClocks:(0,C.M8)()});fi=(0,v.kg)({error:M(Ti,{includeMessage:!0})},Ti.context,Hn)}else fi=Hn;this.handleLogStrategy({message:(0,h.a)(qr),context:fi,status:Or},this,zr)}log(qr,Vr,Or=F.info,Pn){let zr;D(Or,V.http,this)&&(zr=(0,O.uC)("log")),this.logImplementation(qr,Vr,Or,Pn,zr)}setContext(qr){this.contextManager.setContext(qr)}getContext(){return this.contextManager.getContext()}setContextProperty(qr,Vr){this.contextManager.setContextProperty(qr,Vr)}removeContextProperty(qr){this.contextManager.removeContextProperty(qr)}clearContext(){this.contextManager.clearContext()}addTag(qr,Vr){this.tags.push((0,U.NQ)(qr,Vr))}removeTagsWithKey(qr){const Vr=(0,U.iP)(qr);this.tags=this.tags.filter(Or=>Or!==Vr&&!Or.startsWith(`${Vr}:`))}getTags(){return this.tags.slice()}setHandler(qr){this.handlerType=qr}getHandler(){return this.handlerType}setLevel(qr){this.level=qr}getLevel(){return this.level}}W([u.Ed],J.prototype,"logImplementation",null),J.prototype.ok=re(F.ok),J.prototype.debug=re(F.debug),J.prototype.info=re(F.info),J.prototype.notice=re(F.notice),J.prototype.warn=re(F.warn),J.prototype.error=re(F.error),J.prototype.critical=re(F.critical),J.prototype.alert=re(F.alert),J.prototype.emerg=re(F.emerg);function re(Tt){return function(qr,Vr,Or){let Pn;D(Tt,V.http,this)&&(Pn=(0,O.uC)("log")),this.logImplementation(qr,Vr,Tt,Or,Pn)}}function he(){return r.Wq?{}:{view:{referrer:document.referrer,url:window.location.href}}}var fe=e(52972),ae=e(78170),ye=e(15972),ve=e(46900),Ue=e(75942),We=e(98436),de=e(68444),xe=e(98843),Fe=e(75351),Xe=e(18296);const Me="logs";function Ze(Tt,qr){const Vr=(0,xe.ox)(Tt,Me,Or=>mt(Tt,Or),qr);return{findTrackedSession:(Or,Pn={returnInactive:!1})=>{const zr=Vr.findSession(Or,Pn);return zr&&zr.trackingType==="1"?{id:zr.id,anonymousId:zr.anonymousId}:void 0},expireObservable:Vr.expireObservable}}function rt(Tt){const Vr=mt(Tt)==="1"?{}:void 0;return{findTrackedSession:()=>Vr,expireObservable:new Fe.cP}}function mt(Tt,qr){return Xt(qr)?qr:(0,Xe.ic)(Tt.sessionSampleRate)?"1":"0"}function Xt(Tt){return Tt==="0"||Tt==="1"}var jt=e(7500),Lt=e(62682);function Ht(Tt,qr,Vr,Or,Pn,zr){const Hn=q.concat(["custom"]),fi={};Hn.forEach(Ti=>{fi[Ti]=(0,jt.$)(Ti,Pn,zr)}),qr.subscribe(0,({rawLogsEvent:Ti,messageContext:ss=void 0,savedCommonContext:xi=void 0,domainContext:ms,ddtags:wi=[]})=>{var Ls,as;const rs=(0,C.gs)(Ti.date),xa=xi||Or(),ka=Vr.triggerHook(0,{startTime:rs});if(ka===Lt.ug)return;const Is=(0,U.m5)(Tt),Ms=(0,v.kg)({view:xa.view},ka,Ti,ss,{ddtags:Is.concat(wi).join(",")});((Ls=Tt.beforeSend)===null||Ls===void 0?void 0:Ls.call(Tt,Ms,ms))===!1||Ms.origin!==w.g.AGENT&&((as=fi[Ms.status])!==null&&as!==void 0?as:fi.custom).isLimitReached()||qr.notify(1,Ms)})}var vr=e(89714),Fr=e(70015);const fn={[vr.bP.log]:F.info,[vr.bP.debug]:F.debug,[vr.bP.info]:F.info,[vr.bP.warn]:F.warn,[vr.bP.error]:F.error};function Kr(Tt,qr){const Vr=(0,Fr.l)(Tt.forwardConsoleLogs).subscribe(Or=>{var Pn;const zr={rawLogsEvent:{date:(0,C.nx)(),message:Or.message,origin:w.g.CONSOLE,error:Or.error&&M(Or.error),status:fn[Or.api]},messageContext:(Pn=Or.error)===null||Pn===void 0?void 0:Pn.context,domainContext:{handlingStack:Or.handlingStack}};qr.notify(0,zr)});return{stop:()=>{Vr.unsubscribe()}}}var Sn=e(16689);function Fn(Tt,qr){const Vr=(0,Sn.u)(Tt,Tt.forwardReports).subscribe(Or=>{let Pn=Or.message,zr;const Hn=Or.originalError.type==="deprecation"?F.warn:F.error;Hn===F.error?zr=M(Or):Or.stack&&(Pn+=` Found in ${(0,E.$X)(Or.stack)}`),qr.notify(0,{rawLogsEvent:{date:(0,C.nx)(),message:Pn,origin:w.g.REPORT,error:zr,status:Hn}})});return{stop:()=>{Vr.unsubscribe()}}}var Et=e(36015),st=e(30092),Wr=e(51060),Dr=e(17751),Tr=e(89151),gr=e(23034),ir=e(6404),Mr=e(71655);function Lr(Tt,qr){if(!Tt.forwardErrorsToLogs)return{stop:Et.l};const Vr=(r.Wq?new Fe.cP:(0,st.G)(Tt)).subscribe(Hn=>{Hn.state==="complete"&&zr(Wr.Y.XHR,Hn)}),Or=(0,Dr.i)({responseBodyAction:Hn=>Pn(Hn)?2:0}).subscribe(Hn=>{Hn.state==="resolve"&&zr(Wr.Y.FETCH,Hn)});function Pn(Hn){return!(0,Tr.w)(Hn.url)&&(un(Hn)||(0,gr.G)(Hn.status))}function zr(Hn,fi){if(!Pn(fi))return;const Ti="error"in fi&&fi.error?(0,O.Yn)((0,ir.T)(fi.error)):fi.responseBody||"Failed to load",ss={isAborted:fi.isAborted,handlingStack:fi.handlingStack};qr.notify(0,{rawLogsEvent:{message:`${hn(Hn)} error ${fi.method} ${fi.url}`,date:fi.startClocks.timeStamp,error:{stack:(0,Mr._R)(Ti,Tt.requestErrorResponseLengthLimit,"..."),handling:void 0},http:{method:fi.method,status_code:fi.status,url:fi.url},status:F.error,origin:w.g.NETWORK},domainContext:ss})}return{stop:()=>{Vr.unsubscribe(),Or.unsubscribe()}}}function un(Tt){return Tt.status===0&&Tt.responseType!=="opaque"}function hn(Tt){return Wr.Y.XHR===Tt?"XHR":"Fetch"}function rr(Tt,qr,Vr){if(!Tt.forwardErrorsToLogs)return{stop:Et.l};const Or=Vr.subscribe(Pn=>
8{if(Pn.type===0){const zr=Pn.error;qr.notify(0,{rawLogsEvent:{message:zr.message,date:zr.startClocks.timeStamp,error:M(zr),origin:w.g.SOURCE,status:F.error},messageContext:zr.context})}});return{stop:()=>{Or.unsubscribe()}}}var Gr=e(49586);const er=Gr.D;function At(Tt){function qr(Vr,Or,Pn,zr,Hn){const fi=(0,v.kg)(Or.getContext(),Vr.context);if(D(Vr.status,V.console,Or)&&Y(Vr,fi),D(Vr.status,V.http,Or)){const Ti={rawLogsEvent:{date:Hn||(0,C.nx)(),message:Vr.message,status:Vr.status,origin:w.g.LOGGER},messageContext:fi,savedCommonContext:zr,ddtags:Or.getTags()};Pn&&(Ti.domainContext={handlingStack:Pn}),Tt.notify(0,Ti)}}return{handleLog:qr}}const dr={[F.ok]:vr.bP.debug,[F.debug]:vr.bP.debug,[F.info]:vr.bP.info,[F.notice]:vr.bP.info,[F.warn]:vr.bP.warn,[F.error]:vr.bP.error,[F.critical]:vr.bP.error,[F.alert]:vr.bP.error,[F.emerg]:vr.bP.error};function Y({status:Tt,message:qr},Vr){vr.Z9[dr[Tt]].call(vr.JZ,qr,Vr)}var ot=e(2114),Yt=e(71803),it=e(50320),Mt=e(90828);function an(Tt,qr,Vr,Or,Pn){const zr=[Tt.logsEndpointBuilder];Tt.replica&&zr.push(Tt.replica.logsEndpointBuilder);const Hn=(0,ot.X)({encoder:(0,Yt.N)(),request:(0,it.sA)(zr,Vr),flushController:(0,Mt.tO)({pageMayExitObservable:Or,sessionExpireObservable:Pn.expireObservable})});return qr.subscribe(1,fi=>{Hn.add(fi)}),Hn}function Cn(Tt){const qr=(0,ye.Y9)();Tt.subscribe(1,Vr=>{qr.send("log",Vr)})}function Ln(Tt){return{get:qr=>{const Vr=Tt.findTrackedSession(qr);if(Vr)return{session_id:Vr.id}}}}function In(Tt){return qr=>{Tt.notify(0,{rawLogsEvent:{message:qr.message,date:qr.startClocks.timeStamp,origin:w.g.AGENT,status:F.error}}),(0,l.A2)("Error reported to customer",{"error.message":qr.message})}}function Si(Tt){const qr=r.J2;Tt.register(0,({startTime:Pn})=>{const zr=Vr(Pn);return zr||Lt.$O}),Tt.register(1,({startTime:Pn})=>{var zr,Hn;const fi=Vr(Pn);return fi?{application:{id:fi.application_id},view:{id:(zr=fi.view)===null||zr===void 0?void 0:zr.id},action:{id:(Hn=fi.user_action)===null||Hn===void 0?void 0:Hn.id}}:Lt.$O});function Vr(Pn){const Hn=(0,ve.ao)()?qr.DD_RUM_SYNTHETICS:qr.DD_RUM,fi=Or(Pn,Hn);if(fi)return fi}function Or(Pn,zr){if(zr&&zr.getInternalContext)return zr.getInternalContext(Pn)}}function $i(Tt,qr,Vr){Tt.register(0,({startTime:Or})=>{const Pn=Vr.findTrackedSession(Or);return Vr.findTrackedSession(Or,{returnInactive:!0})?{service:qr.service,session_id:Pn?Pn.id:void 0,session:Pn?{id:Pn.id}:void 0}:Lt.ug}),Tt.register(1,({startTime:Or})=>{const Pn=Vr.findTrackedSession(Or);return!Pn||!Pn.id?Lt.$O:{session:{id:Pn.id}}})}function tn(Tt,qr){function Vr(){return qr.isGranted()?Lt.$O:Lt.ug}Tt.register(0,Vr),Tt.register(1,Vr)}const Hi="logs";function Ji(Tt,qr,Vr,Or,Pn){const zr=new er,Hn=[];zr.subscribe(1,rs=>(0,fe.b)("logs",rs));const fi=In(zr),Ti=(0,ae._T)(Tt),ss=Tt.sessionStoreStrategyType&&!(0,ye.d0)()&&!(0,ve.ao)()?Ze(Tt,Vr):rt(Tt);tn(Pn,Vr),$i(Pn,Tt,ss);const xi=(0,Ue.B)(Pn,Tt,Hi),ms=(0,We.$)(Pn,Tt,ss,Hi),wi=(0,de.F)(Pn,Tt,Hi,!1);Si(Pn),Lr(Tt,zr),rr(Tt,zr,Or),Or.unbuffer(),Kr(Tt,zr),Fn(Tt,zr);const{handleLog:Ls}=At(zr);if(Ht(Tt,zr,Pn,qr,fi),(0,ye.d0)())Cn(zr);else{const{stop:rs}=an(Tt,zr,fi,Ti,ss);Hn.push(()=>rs())}const as=Ln(ss);return{handleLog:Ls,getInternalContext:as.get,accountContext:xi,globalContext:wi,userContext:ms,stop:()=>{Hn.forEach(rs=>rs())}}}var Yi=e(19287),Ki=e(95259);const mi=Lt.XP;
8var ws=e(42361),Zn=e(96106),fs=e(11586),cs=e(40114);const vs=32*ws._m;function wr(Tt,qr){Tt.usePciIntake===!0&&Tt.site&&Tt.site!=="datadoghq.com"&&vr.Vy.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");const Vr=(0,Zn.Sz)(Tt,qr),Or=we(Tt.forwardConsoleLogs,(0,fs.KQ)(vr.bP),"Forward Console Logs"),Pn=we(Tt.forwardReports,(0,fs.KQ)(Sn.V),"Forward Reports");if(!(!Vr||!Or||!Pn))return Tt.forwardErrorsToLogs&&!Or.includes(vr.bP.error)&&Or.push(vr.bP.error),{forwardErrorsToLogs:Tt.forwardErrorsToLogs!==!1,forwardConsoleLogs:Or,forwardReports:Pn,requestErrorResponseLengthLimit:vs,...Vr}}function we(Tt,qr,Vr){if(Tt===void 0)return[];if(!(Tt==="all"||Array.isArray(Tt)&&Tt.every(Or=>qr.includes(Or)))){vr.Vy.error(`${Vr} should be "all" or an array with allowed values "${qr.join('", "')}"`);return}return Tt==="all"?qr:(0,cs.R3)(Tt)}function Ke(Tt){const qr=(0,Zn.hO)(Tt);return{forward_errors_to_logs:Tt.forwardErrorsToLogs,forward_console_logs:Tt.forwardConsoleLogs,forward_reports:Tt.forwardReports,use_pci_intake:Tt.usePciIntake,...qr}}function ut(Tt,qr,Vr){const Or=(0,Yi.O)(),Pn=(0,de.s)();(0,m.P)(Pn,g.N.globalContext,Or);const zr=(0,Ue.K)();(0,m.P)(zr,g.N.accountContext,Or);const Hn=(0,We.Y)();(0,m.P)(Hn,g.N.userContext,Or);let fi,Ti;const ss=mi(),xi=qr.observable.subscribe(ms);function ms(){if(!Ti||!fi||!qr.isGranted())return;(0,s.B)(l.a5)("browser-logs-sdk",Ti,ss),xi.unsubscribe();const wi=Vr(fi,Ti,ss);Or.drain(wi)}return{init(wi,Ls){if(!wi){vr.Vy.error("Missing configuration");return}if((0,Ki.Aq)(wi.enableExperimentalFeatures),(0,ye.d0)()&&(wi=Kt(wi)),fi=wi,(0,l.Rr)(Ke(wi)),Ti){(0,b.$)("DD_LOGS",wi);return}const as=wr(wi,Ls);as&&(Ti=as,(0,Dr.i)().subscribe(Et.l),qr.tryToInit(as.trackingConsent),ms())},get initConfiguration(){return fi},globalContext:Pn,accountContext:zr,userContext:Hn,getInternalContext:Et.l,handleLog(wi,Ls,as,rs=Tt(),xa=(0,C.nx)()){Or.add(ka=>ka.handleLog(wi,Ls,as,rs,xa))}}}function Kt(Tt){return{...Tt,clientToken:"empty"}}function ar(){const Tt=(0,a.D)(),qr=(0,i.t)().observable;let Vr=ut(he,Tt,(Hn,fi,Ti)=>{const ss=(0,s.B)(Ji)(fi,he,Tt,qr,Ti);return Vr=Wn(Hn,ss),ss});const Or=()=>Vr,Pn={},zr=new J((...Hn)=>Vr.handleLog(...Hn));return(0,n.m)({logger:zr,init:Hn=>{const fi=new Error().stack;(0,u.um)(()=>Vr.init(Hn,fi))},setTrackingConsent:(0,u.dm)(Hn=>{Tt.update(Hn),(0,l.Q6)({feature:"set-tracking-consent",tracking_consent:Hn})}),getGlobalContext:(0,m.q)(Or,g.N.globalContext,g.Q.getContext),setGlobalContext:(0,m.q)(Or,g.N.globalContext,g.Q.setContext),setGlobalContextProperty:(0,m.q)(Or,g.N.globalContext,g.Q.setContextProperty),removeGlobalContextProperty:(0,m.q)(Or,g.N.globalContext,g.Q.removeContextProperty),clearGlobalContext:(0,m.q)(Or,g.N.globalContext,g.Q.clearContext),createLogger:(0,u.dm)((Hn,fi={})=>(Pn[Hn]=new J((...Ti)=>Vr.handleLog(...Ti),(0,h.a)(Hn),fi.handler,fi.level,(0,h.a)(fi.context)),Pn[Hn])),getLogger:(0,u.dm)(Hn=>Pn[Hn]),getInitConfiguration:(0,u.dm)(()=>(0,v.Go)(Vr.initConfiguration)),getInternalContext:(0,u.dm)(Hn=>Vr.getInternalContext(Hn)),setUser:(0,m.q)(Or,g.N.userContext,g.Q.setContext),getUser:(0,m.q)(Or,g.N.userContext,g.Q.getContext),setUserProperty:(0,m.q)(Or,g.N.userContext,g.Q.setContextProperty),removeUserProperty:(0,m.q)(Or,g.N.userContext,g.Q.removeContextProperty),clearUser:(0,m.q)(Or,g.N.userContext,g.Q.clearContext),setAccount:(0,m.q)(Or,g.N.accountContext,g.Q.setContext),getAccount:(0,m.q)(Or,g.N.accountContext,g.Q.getContext),setAccountProperty:(0,m.q)(Or,g.N.accountContext,g.Q.setContextProperty),removeAccountProperty:(0,m.q)(Or,g.N.accountContext,g.Q.removeContextProperty),clearAccount:(0,m.q)(Or,g.N.accountContext,g.Q.clearContext)})}function Wn(Tt,qr){return{init:Vr=>{(0,b.$)("DD_LOGS",Vr)},initConfiguration:Tt,...qr}}const hi=ar();(0,n.Z)((0,r.VZ)(),"DD_LOGS",hi)},79479(f,d,e){"use strict";e.d(d,{eT:()=>Qo,o:()=>Na,$m:()=>Ei,NT:()=>ma,Wd:()=>Wa,bb:()=>O,K:()=>U,do:()=>yt,wP:()=>yn,wI:()=>$r,W3:()=>vs,PJ:()=>Ia,dT:()=>oo,$4:()=>bn,Gn:()=>Ko,zL:()=>bc,dx:()=>Br,rf:()=>ee,pB:()=>_u,wR:()=>xr,g1:()=>qa,nS:()=>pa,XS:()=>Pt,p_:()=>$t,$5:()=>ia,AB:()=>Vt,jR:()=>Eu,ei:()=>ha,ap:()=>xo,Ie:()=>ju});var n=e(98508),r=e(82809),a=e(71803),i=e(1264),s=e(96115),u=e(84654),l=e(80306),m=e(39131),g=e(33474),h=e(73963),v=e(49504),b=e(95259),T=e(47610),E=e(81545),w=e(71655),C=e(28583);const O={ACTION:"action",ERROR:"error",LONG_TASK:"long_task",VIEW:"view",RESOURCE:"resource",VITAL:"vital"},U={LONG_TASK:"long-task",LONG_ANIMATION_FRAME:"long-animation-frame"},D={INITIAL_LOAD:"initial_load",ROUTE_CHANGE:"route_change",BF_CACHE:"bf_cache"},F={CLICK:"click",CUSTOM:"custom",TAP:"tap",SCROLL:"scroll",SWIPE:"swipe",APPLICATION_START:"application_start",BACK:"back"},j={RAGE_CLICK:"rage_click",ERROR_CLICK:"error_click",DEAD_CLICK:"dead_click"}
8,M={DURATION:"duration",OPERATION_STEP:"operation_step"};function W(){return{vitalsByName:new Map,vitalsByReference:new WeakMap}}function V(R,K,le){function oe(tt){return!K.wasInPageStateDuringPeriod("frozen",tt.startClocks.relative,tt.duration)}function Ie(tt){oe(tt)&&R.notify(12,he(tt))}function Ge(tt,_t,Ut,yr){if(!(0,b.sr)(b.R9.FEATURE_OPERATION_VITAL))return;const{operationKey:Qt,context:qt,description:br,handlingStack:cn}=Ut||{},gn={name:tt,type:M.OPERATION_STEP,operationKey:Qt,failureReason:yr,stepType:_t,startClocks:(0,v.M8)(),context:(0,h.a)(qt),description:br,handlingStack:cn};R.notify(12,he(gn))}return{addOperationStepVital:Ge,addDurationVital:Ie,startDurationVital:(tt,_t={})=>{const Ut=q(le,tt,_t),yr=le.vitalsByReference.get(Ut);return yr&&R.notify(16,yr),Ut},stopDurationVital:(tt,_t={})=>{J(Ie,le,tt,_t)}}}function q({vitalsByName:R,vitalsByReference:K},le,oe={}){const Ie={id:(0,w.lk)(),name:le,startClocks:(0,v.M8)(),...oe},Ge={__dd_vital_reference:!0};return R.set(le,Ie),K.set(Ge,Ie),Ge}function J(R,{vitalsByName:K,vitalsByReference:le},oe,Ie={}){const Ge=typeof oe=="string"?K.get(oe):le.get(oe);Ge&&(R(re(Ge,Ge.startClocks,Ie,(0,v.M8)())),typeof oe=="string"?K.delete(oe):le.delete(oe))}function re(R,K,le,oe){var Ie;return{id:R.id,name:R.name,type:M.DURATION,startClocks:K,duration:(0,v.vk)(K.timeStamp,oe.timeStamp),context:(0,g.kg)(R.context,le.context),description:(Ie=le.description)!==null&&Ie!==void 0?Ie:R.description,handlingStack:R.handlingStack}}function he(R){const{startClocks:K,type:le,name:oe,description:Ie,context:Ge,handlingStack:tt}=R,_t=R.type===M.DURATION?R.id:void 0,Ut={id:_t??(0,w.lk)(),type:le,name:oe,description:Ie,...le===M.DURATION?{duration:(0,v.Zj)(R.duration)}:{step_type:R.stepType,operation_key:R.operationKey,failure_reason:R.failureReason}};return{rawRumEvent:{date:K.timeStamp,vital:Ut,type:O.VITAL,context:Ge},startClocks:K,duration:le===M.DURATION?R.duration:void 0,domainContext:tt?{handlingStack:tt}:{}}}function fe(R,K,le){if(R)for(const oe of R){const Ie=oe[K];Ie&&Ie(le)}}var ae=e(19287),ye=e(68444),ve=e(98436),Ue=e(75942),We=e(15972),de=e(89714),xe=e(36015),Fe=e(17751),Xe=e(46900),Me=e(62682);const Ze=Me.XP;var rt=e(96106),mt=e(18296),Xt=e(8626),jt=e(40114),Lt=e(27980),Ht=e(44119);const vr=["tracecontext","datadog"];function Fr(R,K){var le,oe,Ie,Ge,tt,_t,Ut;if(R.trackFeatureFlagsForEvents!==void 0&&!Array.isArray(R.trackFeatureFlagsForEvents)&&de.Vy.warn("trackFeatureFlagsForEvents should be an array"),!R.applicationId){de.Vy.error("Application ID is not configured, no RUM data will be collected.");return}if(!(0,rt.bX)(R.sessionReplaySampleRate,"Session Replay")||!(0,rt.bX)(R.traceSampleRate,"Trace"))return;if(R.excludedActivityUrls!==void 0&&!Array.isArray(R.excludedActivityUrls)){de.Vy.error("Excluded Activity Urls should be an array");return}const yr=fn(R);if(!yr)return;const Qt=(0,rt.Sz)(R,K),qt=Fn(R);if(!Qt)return;const br=(le=R.sessionReplaySampleRate)!==null&&le!==void 0?le:0;return{applicationId:R.applicationId,actionNameAttribute:R.actionNameAttribute,betaTrackActionsInShadowDom:!!R.betaTrackActionsInShadowDom,sessionReplaySampleRate:br,startSessionReplayRecordingManually:R.startSessionReplayRecordingManually!==void 0?!!R.startSessionReplayRecordingManually:br===0,traceSampleRate:(oe=R.traceSampleRate)!==null&&oe!==void 0?oe:100,rulePsr:(0,mt.Et)(R.traceSampleRate)?R.traceSampleRate/100:void 0,allowedTracingUrls:yr,excludedActivityUrls:(Ie=R.excludedActivityUrls)!==null&&Ie!==void 0?Ie:[],workerUrl:R.workerUrl,compressIntakeRequests:!!R.compressIntakeRequests,trackUserInteractions:!!(!((Ge=R.trackUserInteractions)!==null&&Ge!==void 0)||Ge),trackViewsManually:!!R.trackViewsManually,trackResources:!!(!((tt=R.trackResources)!==null&&tt!==void 0)||tt),trackLongTasks:!!(!((_t=R.trackLongTasks)!==null&&_t!==void 0)||_t),trackBfcacheViews:!!R.trackBfcacheViews,trackEarlyRequests:!!R.trackEarlyRequests,subdomain:R.subdomain,defaultPrivacyLevel:(0,Xt.Rj)(rt.WA,R.defaultPrivacyLevel)?R.defaultPrivacyLevel:rt.WA.MASK,enablePrivacyForActionName:!!R.enablePrivacyForActionName,traceContextInjection:(0,Xt.Rj)(rt.uT,R.traceContextInjection)?R.traceContextInjection:rt.uT.SAMPLED,plugins:R.plugins||[],trackFeatureFlagsForEvents:R.trackFeatureFlagsForEvents||[],profilingSampleRate:(Ut=R.profilingSampleRate)!==null&&Ut!==void 0?Ut:0,propagateTraceBaggage:!!R.propagateTraceBaggage,allowedGraphQlUrls:qt,...Qt}}function fn(R){if(R.allowedTracingUrls===void 0)return[];if(!Array.isArray(R.allowedTracingUrls)){de.Vy.error("Allowed Tracing URLs should be an array");return}if(R.allowedTracingUrls.length!==0&&R.service===void 0){de.Vy.error("Service needs to be configured when tracing is enabled");return}const K=[];
8return R.allowedTracingUrls.forEach(le=>{const oe=Sn(le);oe?K.push(oe):de.Vy.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",le)}),K}function Kr(R){const K=new Set;return(0,jt.EI)(R.allowedTracingUrls)&&R.allowedTracingUrls.forEach(le=>{var oe;(oe=Sn(le))===null||oe===void 0||oe.propagatorTypes.forEach(Ie=>K.add(Ie))}),Array.from(K)}function Sn(R){if((0,Lt.V)(R))return{match:R,propagatorTypes:vr};if((0,Ht.O)(R)&&(0,Lt.V)(R.match)&&(R.propagatorTypes===null||R.propagatorTypes===void 0||Array.isArray(R.propagatorTypes)))return{match:R.match,propagatorTypes:R.propagatorTypes||vr}}function Fn(R){if(!R.allowedGraphQlUrls)return[];if(!Array.isArray(R.allowedGraphQlUrls))return de.Vy.warn("allowedGraphQlUrls should be an array"),[];const K=[];return R.allowedGraphQlUrls.forEach(le=>{(0,Lt.V)(le)?K.push({match:le,trackPayload:!1,trackResponseErrors:!1}):(0,Ht.O)(le)&&(0,Lt.V)(le.match)&&K.push({match:le.match,trackPayload:!!le.trackPayload,trackResponseErrors:!!le.trackResponseErrors})}),K}function Et(R){return(0,jt.EI)(R)&&R.some(K=>(0,Ht.O)(K)&&K.trackPayload)}function st(R){return(0,jt.EI)(R)&&R.some(K=>(0,Ht.O)(K)&&K.trackResponseErrors)}function Wr(R){var K;const le=(0,rt.hO)(R);return{session_replay_sample_rate:R.sessionReplaySampleRate,start_session_replay_recording_manually:R.startSessionReplayRecordingManually,trace_sample_rate:R.traceSampleRate,trace_context_injection:R.traceContextInjection,propagate_trace_baggage:R.propagateTraceBaggage,action_name_attribute:R.actionNameAttribute,use_allowed_tracing_urls:(0,jt.EI)(R.allowedTracingUrls),use_allowed_graph_ql_urls:(0,jt.EI)(R.allowedGraphQlUrls),use_track_graph_ql_payload:Et(R.allowedGraphQlUrls),use_track_graph_ql_response_errors:st(R.allowedGraphQlUrls),selected_tracing_propagators:Kr(R),default_privacy_level:R.defaultPrivacyLevel,enable_privacy_for_action_name:R.enablePrivacyForActionName,use_excluded_activity_urls:(0,jt.EI)(R.excludedActivityUrls),use_worker_url:!!R.workerUrl,compress_intake_requests:R.compressIntakeRequests,track_views_manually:R.trackViewsManually,track_user_interactions:R.trackUserInteractions,track_resources:R.trackResources,track_long_task:R.trackLongTasks,track_bfcache_views:R.trackBfcacheViews,track_early_requests:R.trackEarlyRequests,plugins:(K=R.plugins)===null||K===void 0?void 0:K.map(oe=>{var Ie;return{name:oe.name,...(Ie=oe.getConfigurationTelemetry)===null||Ie===void 0?void 0:Ie.call(oe)}}),track_feature_flags_for_events:R.trackFeatureFlagsForEvents,remote_configuration_id:R.remoteConfigurationId,profiling_sample_rate:R.profilingSampleRate,use_remote_configuration_proxy:!!R.remoteConfigurationProxy,...le}}var Dr=e(90625),Tr=e(28047),gr=e(92872);function ir(R){const K=[];let le=0,oe;const Ie={quote:void 0,escapeSequence:void 0};let Ge="";for(const tt of R){if(oe=er[le].find(_t=>Gr[_t](tt,Ie)),!oe)return[];if(Ie.escapeSequence!==void 0&&oe!==12){if(!Y(Ie.escapeSequence))return[];Ge+=Yt(Ie.escapeSequence),Ie.escapeSequence=void 0}At.includes(oe)?Ge+=tt:dr.includes(oe)&&Ge!==""?(K.push(Ge),Ge=""):oe===12?Ie.escapeSequence=Ie.escapeSequence?`${Ie.escapeSequence}${tt}`:tt:oe===8?Ie.quote=tt:oe===9&&(Ie.quote=void 0),le=oe}return er[le].includes(1)?(Ge!==""&&K.push(Ge),K):[]}const Mr=/[a-zA-Z_$]/,Lr=/[a-zA-Z0-9_$]/,un=/[0-9]/,hn=/[a-fA-F0-9]/,rr=`'"`,Gr={0:()=>!1,1:()=>!1,2:R=>Mr.test(R),3:R=>Lr.test(R),4:R=>R===".",5:R=>R==="[",6:R=>R==="]",7:R=>un.test(R),8:R=>rr.includes(R),9:(R,K)=>R===K.quote,10:()=>!0,11:R=>R==="\\",12:(R,K)=>K.escapeSequence===void 0?`${K.quote}/\\bfnrtu`.includes(R):K.escapeSequence.startsWith("u")&&K.escapeSequence.length<5?hn.test(R):!1},er={0:[2,5],1:[],2:[3,4,5,1],3:[3,4,5,1],4:[2],5:[8,7],6:[4,5,1],7:[7,6],8:[11,9,10],9:[6],10:[11,9,10],11:[12],12:[12,11,9,10]},At=[2,3,7,10],dr=[4,5,6];function Y(R){return`"'/\\bfnrt`.includes(R)||R.startsWith("u")&&R.length===5}const ot={'"':'"',"'":"'","/":"/","\\":"\\",b:"\b",f:"\f",n:` 9`,r:"\r",t:" "};function Yt(R){return R.startsWith("u")?String.fromCharCode(parseInt(R.slice(1),16)):ot[R]}const it="v1",Mt=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","defaultPrivacyLevel","enablePrivacyF
9orActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];async function an(R,K){let le;const oe=Ln(),Ie=await tn(R);return Ie.ok?(oe.increment("fetch","success"),le=Cn(R,Ie.value,K,oe)):(oe.increment("fetch","failure"),de.Vy.error(Ie.error)),(0,l.Gk)("remote configuration metrics",{metrics:oe.get()}),le}function Cn(R,K,le,oe){const Ie={...R};return Mt.forEach(cn=>{cn in K&&(Ie[cn]=Ge(K[cn]))}),Object.keys(le).forEach(cn=>{K[cn]!==void 0&&tt(le[cn],K[cn])}),Ie;function Ge(cn){if(Array.isArray(cn))return cn.map(Ge);if((0,Ht.O)(cn)){if(In(cn)){const gn=cn.rcSerializedType;switch(gn){case"string":return cn.value;case"regex":return Si(cn.value);case"dynamic":return _t(cn);default:de.Vy.error(`Unsupported remote configuration: "rcSerializedType": "${gn}"`);return}}return(0,Xt.LG)(cn,Ge)}return cn}function tt(cn,gn){gn.forEach(({key:ai,value:Ri})=>{cn.setContextProperty(ai,Ge(Ri))})}function _t(cn){const gn=cn.strategy;let ai;switch(gn){case"cookie":ai=Ut(cn);break;case"dom":ai=Qt(cn);break;case"js":ai=br(cn);break;case"localStorage":ai=yr(cn);break;default:de.Vy.error(`Unsupported remote configuration: "strategy": "${gn}"`);return}const Ri=cn.extractor;return Ri!==void 0&&typeof ai=="string"?$i(Ri,ai):ai}function Ut({name:cn}){const gn=(0,Dr.Ri)(cn);return oe.increment("cookie",gn!==void 0?"success":"missing"),gn}function yr({key:cn}){let gn;try{gn=localStorage.getItem(cn)}catch{oe.increment("localStorage","failure");return}return oe.increment("localStorage",gn!==null?"success":"missing"),gn??void 0}function Qt({selector:cn,attribute:gn}){let ai;try{ai=document.querySelector(cn)}catch{de.Vy.error(`Invalid selector in the remote configuration: '${cn}'`),oe.increment("dom","failure");return}if(!ai){oe.increment("dom","missing");return}if(qt(ai,gn)){de.Vy.error(`Forbidden element selected by the remote configuration: '${cn}'`),oe.increment("dom","failure");return}const Ri=gn!==void 0?ai.getAttribute(gn):ai.textContent;if(Ri===null){oe.increment("dom","missing");return}return oe.increment("dom","success"),Ri}function qt(cn,gn){return cn.getAttribute("type")==="password"&&gn==="value"}function br({path:cn}){let gn=window;const ai=ir(cn);if(ai.length===0){de.Vy.error(`Invalid JSON path in the remote configuration: '${cn}'`),oe.increment("js","failure");return}for(const Ri of ai){if(!(Ri in gn)){oe.increment("js","missing");return}try{gn=gn[Ri]}catch(ps){de.Vy.error(`Error accessing: '${cn}'`,ps),oe.increment("js","failure");return}}return oe.increment("js","success"),gn}}function Ln(){const R={fetch:{}};return{get:()=>R,increment:(K,le)=>{R[K]||(R[K]={}),R[K][le]||(R[K][le]=0),R[K][le]=R[K][le]+1}}}function In(R){return"rcSerializedType"in R}function Si(R){try{return new RegExp(R)}catch{de.Vy.error(`Invalid regex in the remote configuration: '${R}'`)}}function $i(R,K){const le=Si(R.value);if(le===void 0)return;const oe=le.exec(K);if(oe===null)return;const[Ie,Ge]=oe;return Ge||Ie}async function tn(R){let K;try{K=await(0,Tr.h)(Hi(R))}catch{K=void 0}if(!K||!K.ok)return{ok:!1,error:new Error("Error fetching the remote configuration.")};const le=await K.json();return le.rum?{ok:!0,value:le.rum}:{ok:!1,error:new Error("No remote configuration for RUM.")}}function Hi(R){return R.remoteConfigurationProxy?R.remoteConfigurationProxy:`https://sdk-configuration.${(0,gr.G)("rum",R)}/${it}/${encodeURIComponent(R.remoteConfigurationId)}.json`}function Ji({ignoreInitIfSyntheticsWillInjectRum:R=!0,startDeflateWorker:K},le,oe,Ie){const Ge=(0,ae.O)(),tt=(0,ye.s)();Ki(tt,E.N.globalContext,Ge);const _t=(0,ve.Y)();Ki(_t,E.N.userContext,Ge);const Ut=(0,Ue.K)();Ki(Ut,E.N.accountContext,Ge);let yr,Qt,qt,br,cn;const gn=Ze(),ai=le.observable.subscribe(ps),Ri={};function ps(){if(!qt||!br||!le.isGranted())return;cn||(cn=(0,i.B)(l.a5)("browser-rum-sdk",br,gn)),ai.unsubscribe();let zi;if(br.trackViewsManually){if(!yr)return;Ge.remove(yr.callback),zi=yr.options}const Ns=Ie(br,Qt,zi,cn,gn);Ge.drain(Ns)}function Hs(zi,Ns){const Ta=(0,We.d0)();if(Ta&&(zi=Yi(zi)),qt=zi,(0,l.Rr)(Wr(zi)),br){(0,C.$)("DD_RUM",zi);return}const to=Fr(zi,Ns);if(to){if(!Ta&&!to.sessionStoreStrategyType){de.Vy.warn("No storage available for session. We will not send any data.");return}to.compressIntakeRequests&&!Ta&&K&&(Qt=K(to,"Datadog RUM",xe.l),!Qt)||(br=to,(0,Fe.i)().subscribe(xe.l),le.tryToInit(to.trackingConsent),ps())}}const Qs=zi=>{Ge.add(Ns=>Ns.addDurationVital(zi))},la=(zi,Ns,Ta,to)=>{Ge.add(Tc=>Tc.addOperationStepVital((0,h.a)(zi),Ns,(0,h.a)(Ta),(0,h.a)(to)))};return{init(zi,Ns,Ta){if(!zi){de.Vy.error("Missing configuration");return}(0,b.Aq)(zi.enableExperimentalFeatures),qt=zi,!(R&&(0,Xe.ao)())&&(fe(zi.plugins,"onInit",{initConfiguration:zi,publicApi:Ns}),zi.remoteConfigurationId?an(zi,{user:_t,context:tt}).then(to=>{to&&Hs(to,Ta)}).catch(u.Dx):Hs(zi,Ta))},get initConfiguration(){return qt},getInternalContext:xe.l,stopSession:xe.l,addTiming(zi,Ns=(0,v.nx)()){Ge.add(Ta=>Ta.addTiming(zi,Ns))}
9,setLoadingTime:(zi=>{Ge.add(Ns=>Ns.setLoadingTime(zi))}),startView(zi,Ns=(0,v.M8)()){const Ta=to=>{to.startView(zi,Ns)};Ge.add(Ta),yr||(yr={options:zi,callback:Ta},ps())},setViewName(zi){Ge.add(Ns=>Ns.setViewName(zi))},setViewContext(zi){Ge.add(Ns=>Ns.setViewContext(zi))},setViewContextProperty(zi,Ns){Ge.add(Ta=>Ta.setViewContextProperty(zi,Ns))},getViewContext:()=>Ri,globalContext:tt,userContext:_t,accountContext:Ut,addAction(zi){Ge.add(Ns=>Ns.addAction(zi))},startAction(zi,Ns){const Ta=(0,v.M8)();Ge.add(to=>to.startAction(zi,Ns,Ta))},stopAction(zi,Ns){const Ta=(0,v.M8)();Ge.add(to=>to.stopAction(zi,Ns,Ta))},startResource(zi,Ns){const Ta=(0,v.M8)();Ge.add(to=>to.startResource(zi,Ns,Ta))},stopResource(zi,Ns){const Ta=(0,v.M8)();Ge.add(to=>to.stopResource(zi,Ns,Ta))},addError(zi){Ge.add(Ns=>Ns.addError(zi))},addFeatureFlagEvaluation(zi,Ns){Ge.add(Ta=>Ta.addFeatureFlagEvaluation(zi,Ns))},startDurationVital(zi,Ns){return q(oe,zi,Ns)},stopDurationVital(zi,Ns){J(Qs,oe,zi,Ns)},addDurationVital:Qs,addOperationStepVital:la}}function Yi(R){var K,le;return{...R,applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:(K=R.defaultPrivacyLevel)!==null&&K!==void 0?K:(le=(0,We.Y9)())===null||le===void 0?void 0:le.getPrivacyLevel()}}function Ki(R,K,le){R.changeObservable.subscribe(()=>{const oe=R.getContext();le.add(Ie=>Ie[K].setContext(oe))})}var mi=e(52972),ws=e(78170),Zn=e(75351),fs=e(99909);function cs(){const R=vs();return new Zn.cP(K=>{if(!R)return;const le=new R((0,u.dm)(oe=>K.notify(oe)));return le.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>le.disconnect()})}function vs(){let R;const K=window;if(K.Zone&&(R=(0,fs.W)(K,"MutationObserver"),K.MutationObserver&&R===K.MutationObserver)){const le=new K.MutationObserver(xe.l),oe=(0,fs.W)(le,"originalInstance");R=oe&&oe.constructor}return R||(R=K.MutationObserver),R}var wr=e(49286);function we(){const R=new Zn.cP,{stop:K}=(0,wr.H)(window,"open",()=>R.notify());return{observable:R,stop:K}}function Ke(R,K,le,oe,Ie){return{get:Ge=>{const tt=le.findView(Ge),_t=Ie.findUrl(Ge),Ut=K.findTrackedSession(Ge);if(Ut&&tt&&_t){const yr=oe.findActionId(Ge);return{application_id:R,session_id:Ut.id,user_action:yr?{id:yr}:void 0,view:{id:tt.id,name:tt.name,referrer:_t.referrer,url:_t.url}}}}}}var ut=e(49586);const Kt=ut.D;var ar=e(82277),Wn=e(24665);const hi=ar.AQ;function Tt(R){const K=(0,Wn.qj)({expireDelay:hi});R.subscribe(1,oe=>{K.add(le(oe),oe.startClocks.relative)}),R.subscribe(6,({endClocks:oe})=>{K.closeActive(oe.relative)}),R.subscribe(3,oe=>{const Ie=K.find(oe.startClocks.relative);Ie&&(oe.name&&(Ie.name=oe.name),oe.context&&(Ie.context=oe.context),Ie.sessionIsActive=oe.sessionIsActive)}),R.subscribe(10,()=>{K.reset()});function le(oe){return{service:oe.service,version:oe.version,context:oe.context,id:oe.id,name:oe.name,startClocks:oe.startClocks}}return{findView:oe=>K.find(oe),stop:()=>{K.stop()}}}var qr=e(30092),Vr=e(51060),Or=e(90696),Pn=e(89151);const zr="initial_document",Hn=[[Vr.v.DOCUMENT,R=>zr===R],[Vr.v.XHR,R=>R==="xmlhttprequest"],[Vr.v.FETCH,R=>R==="fetch"],[Vr.v.BEACON,R=>R==="beacon"],[Vr.v.CSS,(R,K)=>/\.css$/i.test(K)],[Vr.v.JS,(R,K)=>/\.js$/i.test(K)],[Vr.v.IMAGE,(R,K)=>["image","img","icon"].includes(R)||/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(K)!==null],[Vr.v.FONT,(R,K)=>/\.(woff|eot|woff2|ttf)$/i.exec(K)!==null],[Vr.v.MEDIA,(R,K)=>["audio","video"].includes(R)||/\.(mp3|mp4)$/i.exec(K)!==null]];function fi(R){const K=R.name;if(!(0,Or.AY)(K))return Vr.v.OTHER;const le=(0,Or.L2)(K);for(const[oe,Ie]of Hn)if(Ie(R.initiatorType,le))return oe;return Vr.v.OTHER}function Ti(...R){for(let K=1;K<R.length;K+=1)if(R[K-1]>R[K])return!1;return!0}function ss(R){return R.initiatorType==="xmlhttprequest"||R.initiatorType==="fetch"}function xi(R){const{duration:K,startTime:le,responseEnd:oe}=R;return K===0&&le<oe?(0,v.vk)(le,oe):K}function ms(R){if(!Ls(R))return;const{startTime:K,fetchStart:le,workerStart:oe,redirectStart:Ie,redirectEnd:Ge,domainLookupStart:tt,domainLookupEnd:_t,connectStart:Ut,secureConnectionStart:yr,connectEnd:Qt,requestStart:qt,responseStart:br,responseEnd:cn}=R,gn={download:rs(K,br,cn),first_byte:rs(K,qt,br)};return 0<oe&&oe<le&&(gn.worker=rs(K,oe,le)),le<Qt&&(gn.connect=rs(K,Ut,Qt),Ut<=yr&&yr<=Qt&&(gn.ssl=rs(K,yr,Qt))),le<_t&&(gn.dns=rs(K,tt,_t)),K<Ge&&(gn.redirect=rs(K,Ie,Ge)),gn}function wi(R){return R.duration>=0}function Ls(R){const K=Ti(R.startTime,R.fetchStart,R.domainLookupStart,R.domainLookupEnd,R.connectStart,R.connectEnd,R.requestStart,R.responseStart,R.responseEnd),le=as(R)?Ti(R.startTime,R.redirectStart,R.redirectEnd,R.fetchStart):!0;return K&&le}function as(R){return R.redirectEnd>R.startTime}function rs(R,K,le){if(R<=K&&K<=le)return{duration:(0,v.Zj)((0,v.vk)(K,le)),start:(0,v.Zj)((0,v.vk)(R,K))}}function xa(R){return R.nextHopProtocol===""?void 0:R.nextHopProtocol}function ka(R){return R.deliveryType===""?"other":R.deliveryType}
9function Is(R){if(R.startTime<R.responseStart){const{encodedBodySize:K,decodedBodySize:le,transferSize:oe}=R;return{size:le,encoded_body_size:K,decoded_body_size:le,transfer_size:oe}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function Ms(R){return R&&(!(0,Pn.w)(R)||(0,b.sr)(b.R9.TRACK_INTAKE_REQUESTS))}const Gs=/data:(.+)?(;base64)?,/g,ks=24e3;function ha(R,K=ks){if(R.length<=K||!R.startsWith("data:"))return R;const le=R.substring(0,100).match(Gs);return le?`${le[0]}[...]`:R}var Ys=e(11586);const Ea=new Map;function ia(R,K){if(K===100)return!0;if(K===0)return!1;const le=Ea.get(K);if(le&&R===le.sessionId)return le.decision;let oe;return window.BigInt?oe=eo(BigInt(`0x${R.split("-")[4]}`),K):oe=(0,mt.ic)(K),Ea.set(K,{sessionId:R,decision:oe}),oe}function us(){Ea.clear()}function eo(R,K){const le=BigInt("1111111111111111111"),oe=BigInt("0x10000000000000000"),Ie=R*le%oe;return Number(Ie)<=K/100*Number(oe)}function wa(){return js(64)}function da(){return js(63)}function js(R){const K=crypto.getRandomValues(new Uint32Array(2));return R===63&&(K[K.length-1]>>>=1),{toString(le=10){let oe=K[1],Ie=K[0],Ge="";do{const tt=oe%le*4294967296+Ie;oe=Math.floor(oe/le),Ie=Math.floor(tt/le),Ge=(tt%le).toString(le)+Ge}while(oe||Ie);return Ge}}}function ce(R){return R.toString(16).padStart(16,"0")}function ze(R){R.status===0&&!R.isAborted&&(R.traceId=void 0,R.spanId=void 0,R.traceSampled=void 0)}function Nt(R,K,le,oe){return{clearTracingIfNeeded:ze,traceFetch:Ie=>Pr(R,Ie,K,le,oe,Ge=>{var tt;if(Ie.input instanceof Request&&!(!((tt=Ie.init)===null||tt===void 0)&&tt.headers))Ie.input=new Request(Ie.input),Object.keys(Ge).forEach(_t=>{Ie.input.headers.append(_t,Ge[_t])});else{Ie.init=(0,Xt.yG)(Ie.init);const _t=[];Ie.init.headers instanceof Headers?Ie.init.headers.forEach((Ut,yr)=>
9{_t.push([yr,Ut])}):Array.isArray(Ie.init.headers)?Ie.init.headers.forEach(Ut=>{_t.push(Ut)}):Ie.init.headers&&Object.keys(Ie.init.headers).forEach(Ut=>{_t.push([Ut,Ie.init.headers[Ut]])}),Ie.init.headers=_t.concat((0,Ys.WP)(Ge))}}),traceXhr:(Ie,Ge)=>Pr(R,Ie,K,le,oe,tt=>{Object.keys(tt).forEach(_t=>{Ge.setRequestHeader(_t,tt[_t])})})}}function Pr(R,K,le,oe,Ie,Ge){const tt=le.findTrackedSession();if(!tt)return;const _t=R.allowedTracingUrls.find(Qt=>(0,Lt.K)([Qt.match],K.url,!0));if(!_t)return;const Ut=ia(tt.id,R.traceSampleRate);(Ut||R.traceContextInjection===rt.uT.ALL)&&(K.traceSampled=Ut,K.traceId=wa(),K.spanId=da(),Ge(pn(K.traceId,K.spanId,K.traceSampled,tt.id,_t.propagatorTypes,oe,Ie,R)))}function pn(R,K,le,oe,Ie,Ge,tt,_t){const Ut={};if(Ie.forEach(yr=>{switch(yr){case"datadog":{Object.assign(Ut,{"x-datadog-origin":"rum","x-datadog-parent-id":K.toString(),"x-datadog-sampling-priority":le?"1":"0","x-datadog-trace-id":R.toString()});break}case"tracecontext":{Object.assign(Ut,{traceparent:`00-0000000000000000${ce(R)}-${ce(K)}-0${le?"1":"0"}`,tracestate:`dd=s:${le?"1":"0"};o:rum`});break}case"b3":{Object.assign(Ut,{b3:`${ce(R)}-${ce(K)}-${le?"1":"0"}`});break}case"b3multi":{Object.assign(Ut,{"X-B3-TraceId":ce(R),"X-B3-SpanId":ce(K),"X-B3-Sampled":le?"1":"0"});break}}}),_t.propagateTraceBaggage){const yr={"session.id":oe},Qt=Ge.getContext().id;typeof Qt=="string"&&(yr["user.id"]=Qt);const qt=tt.getContext().id;typeof qt=="string"&&(yr["account.id"]=qt);const br=Object.entries(yr).map(([cn,gn])=>`${cn}=${encodeURIComponent(gn)}`).join(",");br&&(Ut.baggage=br)}return Ut}var ci=e(42361);const Wi=32*ci._m;function qi(R,K){const le=_a(R,K.trackPayload);if(le){if(K.trackResponseErrors&&R.responseBody){const oe=Li(R.responseBody);oe&&(le.error_count=oe.length,le.errors=oe)}return le}}function Li(R){const K=(0,Xt.XU)(R);if(!K||typeof K!="object")return;const le=K;return(0,jt.EI)(le.errors)?le.errors.map(Ie=>{var Ge;return{message:Ie.message,path:Ie.path,locations:Ie.locations,code:(Ge=Ie.extensions)===null||Ge===void 0?void 0:Ge.code}}):void 0}function Mi(R,K){return K.allowedGraphQlUrls.find(le=>(0,Lt.K)([le.match],R))}function _a(R,K=!1){let le;if(R.method==="POST"?le=io(R.requestBody):R.method==="GET"&&(le=za(R.url)),!!le)return so(le,K)}function io(R){if(!R||typeof R!="string")return;const K=(0,Xt.XU)(R);if(K)return{query:K.query,operationName:K.operationName,variables:K.variables?JSON.stringify(K.variables):void 0}}function za(R){const K=(0,Or.c$)(R).searchParams,le=K.get("variables"),oe=le&&(0,Xt.XU)(le)!==void 0?le:void 0;return{query:K.get("query")||void 0,operationName:K.get("operationName")||void 0,variables:oe}}function so(R,K){let le,oe,Ie;if(R.query){const Ge=R.query.trim();le=ys(Ge),K&&(oe=(0,w._R)(Ge,Wi,"..."))}return R.variables&&(Ie=R.variables),{operationType:le,operationName:R.operationName,variables:Ie,payload:oe}}function ys(R){var K;return(K=R.match(/^\s*(query|mutation|subscription)\b/i))===null||K===void 0?void 0:K[1]}let Cr=1;function $a(R,K,le,oe,Ie){const Ge=Nt(K,le,oe,Ie);ln(R,K,Ge),va(R,K,Ge)}function ln(R,K,le){const oe=(0,qr.G)(K).subscribe(Ie=>{const Ge=Ie;if(Ms(Ge.url))switch(Ge.state){case"start":le.traceXhr(Ge,Ge.xhr),Ge.requestIndex=Da(),R.notify(7,{requestIndex:Ge.requestIndex,url:Ge.url});break;case"complete":le.clearTracingIfNeeded(Ge),R.notify(8,{...Ge,type:Vr.Y.XHR,isAbortedOnStart:!1});break}});return{stop:()=>oe.unsubscribe()}}function va(R,K,le){const oe=(0,Fe.i)({responseBodyAction:Ie=>{var Ge;return!((Ge=Mi(Ie.url,K))===null||Ge===void 0)&&Ge.trackResponseErrors?2:1}}).subscribe(Ie=>{var Ge;const tt=Ie;if(Ms(tt.url))switch(tt.state){case"start":le.traceFetch(tt),tt.requestIndex=Da(),R.notify(7,{requestIndex:tt.requestIndex,url:tt.url});break;case"resolve":le.clearTracingIfNeeded(tt),R.notify(8,{...tt,duration:(0,v.vk)(tt.startClocks.timeStamp,(0,v.nx)()),type:Vr.Y.FETCH,requestBody:(Ge=tt.init)===null||Ge===void 0?void 0:Ge.body});break}});return{stop:()=>oe.unsubscribe()}}function Da(){const R=Cr;return Cr+=1,R}function zs(R){return(0,mt.Et)(R)&&R<0?void 0:R}function Ks(R){return R.nodeType===Node.TEXT_NODE}function Aa(R){return R.nodeType===Node.COMMENT_NODE}function pa(R){return R.nodeType===Node.ELEMENT_NODE}function Pt(R){return pa(R)&&!!R.shadowRoot}function $t(R){const K=R;return!!K.host&&K.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&pa(K.host)}function xr(R){return R.childNodes.length>0||Pt(R)}function $r(R,K){let le=R.firstChild;for(;le;)K(le),le=le.nextSibling;Pt(R)&&K(R.shadowRoot)}function bn(R){return $t(R)?R.host:R.parentNode}function Yr(R){if(R.parentElement)return R.parentElement;const K=R.parentNode;return K&&$t(K)?K.host:null}var ge=e(74593),je=e(22334);function bt(R,K){const le=(0,v.x3)();let oe=!1;const{stop:Ie}=(0,je.l)(R,window,["click","mousedown","keydown","touchstart","pointerdown"],_t=>{if(!_t.cancelable)return;const Ut={entryType:"first-input",processingStart:(0,v.$S)(),processingEnd:(0,v.$S)(),startTime:_t.timeStamp,duration:0,name:"",cancelable:!1,target:null,toJSON:()=>({})};_t.type==="pointerdown"?Ge(R,Ut):tt(Ut)},{passive:!0,capture:!0});return{stop:Ie};function Ge(_t,Ut){(0,je.l)(_t,window,["pointerup","pointercancel"],yr=>{yr.type==="pointerup"&&tt(Ut)},{once:!0})}function tt(_t){if(!oe){oe=!0,Ie();const Ut=_t.processingStart-_t.startTime;Ut>=0&&Ut<(0,v.x3)()-le&&K(_t)}}}var yt;(function(R){R.EVENT="event",R.FIRST_INPUT="first-input",R.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",R.LAYOUT_SHIFT="layout-shift",R.LONG_TASK="longtask",R.LONG_ANIMATION_FRAME="long-animation-frame",R.NAVIGATION="navigation",R.PAINT="paint",R.RESOURCE="resource",R.VISIBILITY_STATE="visibility-state"})(yt||(yt={}));function sr(R,K){return new Zn.cP(le=>{if(!window.PerformanceObserver)return;const oe=Ut=>{const yr=Fi(Ut);yr.length>0&&le.notify(yr)};let Ie,Ge=!0;const tt=new PerformanceObserver((0,u.dm)(Ut=>{Ge?Ie=(0,ge.wg)(()=>oe(Ut.getEntries())):oe(Ut.getEntries())}));try{tt.observe(K)}catch{if([yt.RESOURCE,yt.NAVIGATION,yt.LONG_TASK,yt.PAINT].includes(K.type)){K.buffered&&(Ie=(0,ge.wg)(()=>oe(performance.getEntriesByType(K.type))));try{tt.observe({entryTypes:[K.type]})}catch{return}}}Ge=!1,hr(R);let _t;return!Un(yt.FIRST_INPUT)&&K.type===yt.FIRST_INPUT&&({stop:_t}=bt(R,Ut=>{oe([Ut])}
9)),()=>{tt.disconnect(),_t&&_t(),(0,ge.DJ)(Ie)}})}let pr;function hr(R){return!pr&&Xn()&&"addEventListener"in performance&&(pr=(0,je.q)(R,performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()})),()=>{pr?.stop()}}function Xn(){return window.performance!==void 0&&"getEntries"in performance}function Un(R){return window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes!==void 0&&PerformanceObserver.supportedEntryTypes.includes(R)}function Fi(R){return R.filter(K=>!ti(K))}function ti(R){return R.entryType===yt.RESOURCE&&(!Ms(R.name)||!wi(R))}const Ai=100,qn=100,$e="data-dd-excluded-activity-mutations";function Je(R,K,le,oe,Ie,Ge){const tt=(0,i.B)(Ct)(R,K,le,oe);let _t,Ut=!1;const yr=(0,ge.wg)((0,u.dm)(()=>cn({hadActivity:!1})),Ai),Qt=Ge!==void 0?(0,ge.wg)((0,u.dm)(()=>cn({hadActivity:!0,end:(0,v.nx)()})),Ge):void 0,qt=tt.subscribe(({isBusy:gn})=>{(0,ge.DJ)(yr),(0,ge.DJ)(_t);const ai=(0,v.nx)();gn||(_t=(0,ge.wg)((0,u.dm)(()=>cn({hadActivity:!0,end:ai})),qn))}),br=()=>{Ut=!0,(0,ge.DJ)(yr),(0,ge.DJ)(_t),(0,ge.DJ)(Qt),qt.unsubscribe()};function cn(gn){Ut||(br(),Ie(gn))}return{stop:br}}function Ct(R,K,le,oe){return new Zn.cP(Ie=>{const Ge=[];let tt,_t=0;return Ge.push(K.subscribe(yr=>{yr.every(Wt)||Ut()}
9),le.subscribe(Ut),sr(oe,{type:yt.RESOURCE}).subscribe(yr=>{yr.some(Qt=>!Ot(oe,Qt.name))&&Ut()}),R.subscribe(7,yr=>{Ot(oe,yr.url)||(tt===void 0&&(tt=yr.requestIndex),_t+=1,Ut())}),R.subscribe(8,yr=>{Ot(oe,yr.url)||tt===void 0||yr.requestIndex<tt||(_t-=1,Ut())})),()=>{Ge.forEach(yr=>yr.unsubscribe())};function Ut(){Ie.notify({isBusy:_t>0})}})}function Ot(R,K){return(0,Lt.K)(R.excludedActivityUrls,K)}function Wt(R){const K=R.type==="characterData"?R.target.parentElement:R.target;return!!(K&&pa(K)&&K.matches(`[${$e}], [${$e}] *`))}const Er="data-dd-action-name",Hr="Masked Element",mn="xxx",di="::shadow ",si=[Er,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],Pe=[dn,gt],He=[dn,Zt,xn];function ft(R,K){if(!R.isConnected)return;const le=Le(R),oe=[];for(const{rootNode:Ie,target:Ge}of le){const tt=De(Ge,Ie,K);if(!tt)return;oe.push(tt)}return oe.join(di)}function Le(R){const K=[];let le=R;for(;le;){const oe=le.getRootNode();if(K.push({rootNode:oe,target:le}),$t(oe))le=oe.host;else break}return K.reverse()}function De(R,K,le){let oe,Ie=R;for(;Ie&&Ie.nodeName!=="HTML";){const Ge=hs(Ie,K,Pe,Qn,le,oe);if(Ge)return Oi(Ge,oe);const _t=hs(Ie,K,He,ki,le,oe)||$n(Ie);oe=Oi(_t,oe),Ie=Ie.parentElement}return oe}function lt(R){return/[0-9]/.test(R)}function gt(R){if(R.id&&!lt(R.id))return`#${CSS.escape(R.id)}`}function Zt(R){if(R.tagName==="BODY")return;const K=R.classList;for(let le=0;le<K.length;le+=1){const oe=K[le];if(!lt(oe))return`${CSS.escape(R.tagName)}.${CSS.escape(oe)}`}}function xn(R){return CSS.escape(R.tagName)}function dn(R,K){if(K){const oe=le(K);if(oe)return oe}for(const oe of si){const Ie=le(oe);if(Ie)return Ie}function le(oe){if(R.hasAttribute(oe))return`${CSS.escape(R.tagName)}${vn(oe,R.getAttribute(oe))}`}}function vn(R,K){return`[${R}="${CSS.escape(K)}"]`}function $n(R){const K=Ui(R);return`${CSS.escape(R.tagName)}:nth-of-type(${K})`}function Ui(R){let le=R.parentNode.firstElementChild,oe=1;for(;le&&le!==R;)le.tagName===R.tagName&&(oe+=1),le=le.nextElementSibling;return oe}function hs(R,K,le,oe,Ie,Ge){for(const tt of le){const _t=tt(R,Ie);if(_t&&oe(R,K,_t,Ge))return _t}}function Qn(R,K,le,oe){return K.querySelectorAll(Oi(le,oe)).length===1}function ki(R,K,le,oe){let Ie;if(oe===void 0)Ie=tt=>tt.matches(le);else{const tt=Oi(`${le}:scope`,oe);Ie=_t=>_t.querySelector(tt)!==null}let Ge=R.previousElementSibling;for(;Ge;){if(Ie(Ge))return!1;Ge=Ge.previousElementSibling}for(Ge=R.nextElementSibling;Ge;){if(Ie(Ge))return!1;Ge=Ge.nextElementSibling}return!0}function Oi(R,K){return K?`${R}>${K}`:R}const Ei={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:rt.WA.ALLOW,MASK:rt.WA.MASK,MASK_USER_INPUT:rt.WA.MASK_USER_INPUT,MASK_UNLESS_ALLOWLISTED:rt.WA.MASK_UNLESS_ALLOWLISTED},ma="data-dd-privacy",Fs="allow",Ha="mask",Cs="mask-user-input",qs="mask-unless-allowlisted",Wa="hidden",Oa="dd-privacy-",Na="***",Qo="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",$s={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},ra="x";function bs(R){return`[${ma}="${R}"], .${Oa}${R}`}function Ia(R,K,le){if(le&&le.has(R))return le.get(R);const oe=bn(R),Ie=oe?Ia(oe,K,le):K,Ge=oo(R),tt=Eu(Ge,Ie);return le&&le.set(R,tt),tt}function Eu(R,K){switch(K){case Ei.HIDDEN:case Ei.IGNORE:return K}switch(R){case Ei.ALLOW:case Ei.MASK:case Ei.MASK_USER_INPUT:case Ei.MASK_UNLESS_ALLOWLISTED:case Ei.HIDDEN:case Ei.IGNORE:return R;default:return K}}function oo(R){if(pa(R)){if(R.tagName==="BASE")return Ei.ALLOW;if(R.tagName==="INPUT"){const K=R;if(K.type==="password"||K.type==="email"||K.type==="tel"||K.type==="hidden")return Ei.MASK;const le=K.getAttribute("autocomplete");if(le&&(le.startsWith("cc-")||le.endsWith("-password")))return Ei.MASK}if(R.matches(bs(Ei.HIDDEN)))return Ei.HIDDEN;if(R.matches(bs(Ei.MASK)))return Ei.MASK;if(R.matches(bs(Ei.MASK_UNLESS_ALLOWLISTED)))return Ei.MASK_UNLESS_ALLOWLISTED;if(R.matches(bs(Ei.MASK_USER_INPUT)))return Ei.MASK_USER_INPUT;if(R.matches(bs(Ei.ALLOW)))return Ei.ALLOW;if(pe(R))return Ei.IGNORE}}function ju(R,K){switch(K){case Ei.MASK:case Ei.HIDDEN:case Ei.IGNORE:return!0;case Ei.MASK_UNLESS_ALLOWLISTED:return Ks(R)?$(R.parentNode)?!0:!Ce(R.textContent||""):$(R);case Ei.MASK_USER_INPUT:return Ks(R)?$(R.parentNode):$(R);default:return!1}}function xo(R,K,le,oe,Ie){if(oe!==Ei.MASK&&oe!==Ei.MASK_UNLESS_ALLOWLISTED||K===ma||si.includes(K)||K===Ie.actionNameAttribute)return!1;switch(K){case"title":case"alt":case"placeholder":case"aria-label":case"name":return!0}
9return!!(R==="A"&&K==="href"||R==="IFRAME"&&K==="srcdoc"||le&&K.startsWith("data-")||(R==="IMG"||R==="SOURCE")&&(K==="src"||K==="srcset"))}function $(R){if(!R||R.nodeType!==R.ELEMENT_NODE)return!1;const K=R;if(K.tagName==="INPUT")switch(K.type){case"button":case"color":case"reset":case"submit":return!1}return!!$s[K.tagName]}const z=R=>R.replace(/\S/g,ra);function ee(R,K){var le;const oe=(le=R.parentElement)===null||le===void 0?void 0:le.tagName;let Ie=R.textContent||"";if(oe==="HEAD"&&!Ie.trim())return;const tt=K;if(oe==="SCRIPT")Ie=Na;else if(tt===Ei.HIDDEN)Ie=Na;else if(ju(R,tt))if(oe==="DATALIST"||oe==="SELECT"||oe==="OPTGROUP"){if(!Ie.trim())return}else oe==="OPTION"?Ie=Na:tt===Ei.MASK_UNLESS_ALLOWLISTED?Ie=Be(Ie):Ie=z(Ie);return Ie}function pe(R){if(R.nodeName==="SCRIPT")return!0;if(R.nodeName==="LINK"){const le=K("rel");return/preload|prefetch/i.test(le)&&K("as")==="script"||le==="shortcut icon"||le==="icon"}if(R.nodeName==="META"){const le=K("name"),oe=K("rel"),Ie=K("property");return/^msapplication-tile(image|color)$/.test(le)||le==="application-name"||oe==="icon"||oe==="apple-touch-icon"||oe==="shortcut icon"||le==="keywords"||le==="description"||/^(og|twitter|fb):/.test(Ie)||/^(og|twitter):/.test(le)||le==="pinterest"||le==="robots"||le==="googlebot"||le==="bingbot"||R.hasAttribute("http-equiv")||le==="author"||le==="generator"||le==="framework"||le==="publisher"||le==="progid"||/^article:/.test(Ie)||/^product:/.test(Ie)||le==="google-site-verification"||le==="yandex-verification"||le==="csrf-token"||le==="p:domain_verify"||le==="verify-v1"||le==="verification"||le==="shopify-checkout-api-token"}function K(le){return(R.getAttribute(le)||"").toLowerCase()}return!1}function Ce(R){var K;return!R||!R.trim()?!0:((K=window.$DD_ALLOW)===null||K===void 0?void 0:K.has(R.toLocaleLowerCase()))||!1}function Be(R,K){return Ce(R)?R:K||z(R)}function at({lifeCycle:R,isChildEvent:K,onChange:le=xe.l}){const oe={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},Ie=R.subscribe(13,Ge=>{var tt;if(!(Ge.type==="view"||Ge.type==="vital"||!K(Ge)))switch(Ge.type){case O.ERROR:oe.errorCount+=1,le();break;case O.ACTION:oe.actionCount+=1,Ge.action.frustration&&(oe.frustrationCount+=Ge.action.frustration.type.length),le();break;case O.LONG_TASK:oe.longTaskCount+=1,le();break;case O.RESOURCE:!((tt=Ge._dd)===null||tt===void 0)&&tt.discarded||(oe.resourceCount+=1,le());break}});return{stop:()=>{Ie.unsubscribe()},eventCounts:oe}}const vt=5*v.iW;function Bt(R){const K=(0,Wn.qj)({expireDelay:vt}),le=new Map;function oe(br){var cn;le.delete(br.key),(cn=br.eventCounts)===null||cn===void 0||cn.stop()}function Ie(){le.forEach(br=>{oe(br)}),K.reset()}const Ge=R.subscribe(10,Ie);function tt(br,cn,gn,ai){const Ri=(0,w.lk)(),ps=K.add(Ri,cn.relative),Hs=le.get(br);Hs&&oe(Hs);const Qs=ai?.isChildEvent?at({lifeCycle:R,isChildEvent:ai.isChildEvent(Ri)}):void 0,la={id:Ri,key:br,startClocks:cn,data:gn,historyEntry:ps,eventCounts:Qs};return le.set(br,la),la}function _t(br,cn,gn){var ai;const Ri=le.get(br);if(!Ri)return;const ps=gn?(0,g.kg)(Ri.data,gn):Ri.data;Ri.historyEntry.close(cn.relative);const Hs=(0,v.vk)(Ri.startClocks.timeStamp,cn.timeStamp),Qs=(ai=Ri.eventCounts)===null||ai===void 0?void 0:ai.eventCounts;return oe(Ri),{...ps,id:Ri.id,startClocks:Ri.startClocks,duration:Hs,counts:Qs}}function Ut(br){var cn;const gn=le.get(br);if(!gn)return;const ai=(cn=gn.eventCounts)===null||cn===void 0?void 0:cn.eventCounts;return oe(gn),gn.historyEntry.remove(),{...gn.data,id:gn.id,startClocks:gn.startClocks,counts:ai}}function yr(br){return K.findAll(br)}function Qt(br){var cn,gn;return(gn=(cn=le.get(br))===null||cn===void 0?void 0:cn.eventCounts)===null||gn===void 0?void 0:gn.eventCounts}function qt(){Ge.unsubscribe(),Ie(),K.stop()}return{start:tt,stop:_t,discard:Ut,getCounts:Qt,findId:yr,stopAll:qt}}const mr=["HTML","BODY"],zt=2*ci._m,jr=si.concat(["role","type","disabled","readonly","tabindex","draggable","target","rel","download","method","action","enctype","autocomplete"]);function Rn(R,K){const le=R.filter(Ge=>Ge instanceof Element&&!mr.includes(Ge.tagName));if(le.length===0)return"";const oe=K?[K].concat(jr):jr;let Ie="";for(const Ge of le){const tt=Jn(Ge,oe);if(Ie+=tt,Ie.length>=zt)return(0,w._R)(Ie,zt)}return Ie}function Jn(R,K){const le=xn(R),oe=gt(R),Ie=Yn(R),Ge=Ni(R,K),tt=gi(R);return`${le}${oe||""}${Ge}${Ie}${tt};`}function Yn(R){return Array.from(R.classList).filter(K=>!lt(K)).sort().map(K=>`.${CSS.escape(K)}`).join("")}function gi(R){const K=Array.from(R.parentNode.children);if(K.length<=1)return"";const le=K.filter(Ge=>Ge.tagName===R.tagName),oe=K.indexOf(R),Ie=Ui(R);return`:nth-child(${oe+1}
9)${le.length>1?`:nth-of-type(${Ie})`:""}`}function Ni(R,K){const le=[],oe=Array.from(R.attributes);for(const Ie of oe)K.includes(Ie.name)&&le.push(vn(Ie.name,Ie.value));return le.sort().join("")}const Ii=v.OY,es=100;function ur(R,K){const le=[];let oe=0,Ie;Ge(R);function Ge(Ut){Ut.stopObservable.subscribe(tt),le.push(Ut),(0,ge.DJ)(Ie),Ie=(0,ge.wg)(_t,Ii)}function tt(){oe===1&&le.every(Ut=>Ut.isStopped())&&(oe=2,K(le))}function _t(){(0,ge.DJ)(Ie),oe===0&&(oe=1,tt())}return{tryAppend:Ut=>oe!==0?!1:le.length>0&&!on(le[le.length-1].event,Ut.event)?(_t(),!1):(Ge(Ut),!0),stop:()=>{_t()}}}function on(R,K){return R.target===K.target&&kr(R,K)<=es&&R.timeStamp-K.timeStamp<=Ii}function kr(R,K){return Math.sqrt(Math.pow(R.clientX-K.clientX,2)+Math.pow(R.clientY-K.clientY,2))}function jn(R,K,le=Ei.ALLOW){const oe=new Map,{actionNameAttribute:Ie}=K,Ge=ts(R,Er)||Ie&&ts(R,Ie);return Ge?{name:Ge,nameSource:"custom_attribute"}:le===Ei.MASK?{name:Hr,nameSource:"mask_placeholder"}:zu(R,_i,K,oe)||zu(R,Ps,K,oe)||{name:"",nameSource:"blank"}}function ts(R,K){const le=is(R,`[${K}]`);if(!le)return;const oe=le.getAttribute(K);return ol(Va(oe.trim()))}function is(R,K){let le=R;for(;le;){if(le.matches(K))return le;le=Yr(le)}return null}const _i=[(R,K,le)=>{if("labels"in R&&R.labels&&R.labels.length>0)return sa(R.labels[0],K,le)},R=>{if(R.nodeName==="INPUT"){const K=R,le=K.getAttribute("type");if(le==="button"||le==="submit"||le==="reset")return{name:K.value,nameSource:"text_content"}}},(R,K,le)=>{if(R.nodeName==="BUTTON"||R.nodeName==="LABEL"||R.getAttribute("role")==="button")return sa(R,K,le)},(R,K,le)=>Eo(R,"aria-label",K,le),(R,K,le)=>{const oe=R.getAttribute("aria-labelledby");if(oe)return{name:oe.split(/\s+/).map(Ie=>Pu(R,Ie)).filter(Ie=>!!Ie).map(Ie=>Ru(Ie,K,le)).join(" "),nameSource:"text_content"}},(R,K,le)=>Eo(R,"alt",K,le),(R,K,le)=>Eo(R,"name",K,le),(R,K,le)=>Eo(R,"title",K,le),(R,K,le)=>Eo(R,"placeholder",K,le),(R,K,le)=>{if("options"in R&&R.options.length>0)return sa(R.options[0],K,le)}],Ps=[(R,K,le)=>sa(R,K,le)],Do=10;function zu(R,K,le,oe){let Ie=R,Ge=0;for(;Ge<=Do&&Ie&&Ie.nodeName!=="BODY"&&Ie.nodeName!=="HTML"&&Ie.nodeName!=="HEAD";){for(const tt of K){const _t=tt(Ie,le,oe);if(_t){const{name:Ut,nameSource:yr}=_t,Qt=Ut&&Ut.trim();if(Qt)return{name:ol(Va(Qt)),nameSource:yr}}}if(Ie.nodeName==="FORM")break;Ie=Yr(Ie),Ge+=1}}function Va(R){return R.replace(/\s+/g," ")}function ol(R){return R.length>100?`${(0,w._R)(R,100)} [...]`:R}function Pu(R,K){const le=R.getRootNode();if(le instanceof ShadowRoot){const oe=le.getElementById(K);if(oe)return oe}return R.ownerDocument?R.ownerDocument.getElementById(K):null}function Eo(R,K,le,oe){const{enablePrivacyForActionName:Ie,defaultPrivacyLevel:Ge}=le;let tt=R.getAttribute(K);if(tt&&Ie){const _t=Ia(R,Ge,oe);xo(R.tagName,K,tt,_t,le)&&(tt=Be(tt,Hr))}else tt||(tt="");return{name:tt,nameSource:"standard_attribute"}}function sa(R,K,le){return{name:Ru(R,K,le)||"",nameSource:"text_content"}}function Ru(R,K,le){if(R.isContentEditable)return;const{enablePrivacyForActionName:oe,actionNameAttribute:Ie,defaultPrivacyLevel:Ge}=K;if((0,b.sr)(b.R9.USE_TREE_WALKER_FOR_ACTION_NAME))return Ca(R,Ie,oe,Ge,le);if("innerText"in R){let tt=R.innerText;const _t=Ut=>{const yr=R.querySelectorAll(Ut);for(let Qt=0;Qt<yr.length;Qt+=1){const qt=yr[Qt];if("innerText"in qt){const br=qt.innerText;br&&br.trim().length>0&&(tt=tt.replace(br,""))}}};return _t(`[${Er}]`),Ie&&_t(`[${Ie}]`),oe&&_t(`${bs(Ei.HIDDEN)}, ${bs(Ei.MASK)}`),tt}return R.textContent}function Ca(R,K,le,oe,Ie){const Ge=document.createTreeWalker(R,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,_t);let tt="";for(;Ge.nextNode();){const Ut=Ge.currentNode;if(pa(Ut)){(Ut.nodeName==="BR"||Ut.nodeName==="P"||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(Ut).display))&&(tt+=" ");continue}tt+=Ut.textContent||""}return tt.replace(/\s+/g," ").trim();function _t(Ut){const yr=Ia(Ut,oe,Ie);if(le&&yr&&ju(Ut,yr))return NodeFilter.FILTER_REJECT;if(pa(Ut)){if(Ut.hasAttribute(Er)||K&&Ut.hasAttribute(K))return NodeFilter.FILTER_REJECT;const Qt=getComputedStyle(Ut);if(Qt.visibility!=="visible"||Qt.display==="none"||Qt.contentVisibility&&Qt.contentVisibility!=="visible")return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT}}function Kc(R,{onPointerDown:K,onPointerUp:le}){let oe,Ie={selection:!1,input:!1,scroll:!1},Ge;const tt=[(0,je.q)(R,window,"pointerdown",_t=>
9{bl(_t)&&(oe=ul(),Ie={selection:!1,input:!1,scroll:!1},Ge=K(_t))},{capture:!0}),(0,je.q)(R,window,"selectionchange",()=>{(!oe||!ul())&&(Ie.selection=!0)},{capture:!0}),(0,je.q)(R,window,"scroll",()=>{Ie.scroll=!0},{capture:!0,passive:!0}),(0,je.q)(R,window,"pointerup",_t=>{if(bl(_t)&&Ge){const Ut=Ie;le(Ge,_t,()=>Ut),Ge=void 0}},{capture:!0}),(0,je.q)(R,window,"input",()=>{Ie.input=!0},{capture:!0})];return{stop:()=>{tt.forEach(_t=>_t.stop())}}}function ul(){const R=window.getSelection();return!R||R.isCollapsed}function bl(R){return R.target instanceof Element&&R.isPrimary!==!1}const Jo=3;function Xc(R,K){if(pc(R))return K.addFrustration(j.RAGE_CLICK),R.some(Lo)&&K.addFrustration(j.DEAD_CLICK),K.hasError&&K.addFrustration(j.ERROR_CLICK),{isRage:!0};const le=R.some(oe=>oe.getUserActivity().selection);return R.forEach(oe=>{oe.hasError&&oe.addFrustration(j.ERROR_CLICK),Lo(oe)&&!le&&oe.addFrustration(j.DEAD_CLICK)}),{isRage:!1}}function pc(R){if(R.some(K=>K.getUserActivity().selection||K.getUserActivity().scroll))return!1;for(let K=0;K<R.length-(Jo-1);K+=1)if(R[K+Jo-1].event.timeStamp-R[K].event.timeStamp<=v.OY)return!0;return!1}const Bs='input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *';function Lo(R){if(R.hasPageActivity||R.getUserActivity().input||R.getUserActivity().scroll)return!1;let K=R.event.target;return K.tagName==="LABEL"&&K.hasAttribute("for")&&(K=document.getElementById(K.getAttribute("for"))),!K||!K.matches(Bs)}const uo=10*v.OY,Oo=new Map;function Du(R){const K=Oo.get(R);return Oo.delete(R),K}function se(R,K){Oo.set(R,K),Oo.forEach((le,oe)=>{(0,v.vk)(oe,(0,v.$S)())>uo&&Oo.delete(oe)})}function _r(R){return K=>K.action!==void 0&&K.action.id!==void 0&&K.action.id.includes(R)}function ct(R,K,le,oe){const Ie=Bt(R),Ge=new Zn.cP;let tt;R.subscribe(5,yr),R.subscribe(11,yr);const{stop:_t}=Kc(oe,{onPointerDown:Qt=>wt(oe,R,K,Qt,le),onPointerUp:({clickActionBase:Qt,hadActivityOnPointerDown:qt},br,cn)=>{En(oe,R,K,le,Ie,Ge,Ut,Qt,br,cn,qt)}});return{stop:()=>{yr(),Ge.notify(),_t(),Ie.stopAll()},findActionId:Ie.findId};function Ut(Qt){if(!tt||!tt.tryAppend(Qt)){const qt=Qt.clone();tt=ur(Qt,br=>{ya(br,qt),tt=void 0})}}function yr(){tt&&tt.stop()}}function wt(R,K,le,oe,Ie){const Ge=R.betaTrackActionsInShadowDom?As(oe):oe.target;let tt;if(R.enablePrivacyForActionName?tt=Ia(Ge,R.defaultPrivacyLevel):tt=Ei.ALLOW,tt===Ei.HIDDEN)return;const _t=ei(oe,tt,R);let Ut=!1;return Je(K,le,Ie,R,yr=>{Ut=yr.hadActivity},Ai),{clickActionBase:_t,hadActivityOnPointerDown:()=>Ut}}function En(R,K,le,oe,Ie,Ge,tt,_t,Ut,yr,Qt){var qt;const br=xs(K,Ie,yr,_t,Ut);tt(br);const cn=(qt=_t?.target)===null||qt===void 0?void 0:qt.selector;cn&&se(Ut.timeStamp,cn);const{stop:gn}=Je(K,le,oe,R,Hs=>{Hs.hadActivity&&Hs.end<br.startClocks.timeStamp?br.discard():Hs.hadActivity?br.stop(Hs.end):Qt()?br.stop(br.startClocks.timeStamp):br.stop()},uo),ai=K.subscribe(5,({endClocks:Hs})=>{br.stop(Hs.timeStamp)}),Ri=K.subscribe(11,()=>{br.stop((0,v.nx)())}),ps=Ge.subscribe(()=>{br.stop()});br.stopObservable.subscribe(()=>{Ri.unsubscribe(),ai.unsubscribe(),gn(),ps.unsubscribe()})}function ei(R,K,le){const oe=le.betaTrackActionsInShadowDom?As(R):R.target,Ie=oe.getBoundingClientRect(),Ge=ft(oe,le.actionNameAttribute),tt=(0,b.sr)(b.R9.COMPOSED_PATH_SELECTOR)&&typeof R.composedPath=="function"?Rn(R.composedPath(),le.actionNameAttribute):void 0;Ge&&se(R.timeStamp,Ge);const{name:_t,nameSource:Ut}=jn(oe,le,K);return{type:F.CLICK,target:{width:Math.round(Ie.width),height:Math.round(Ie.height),selector:Ge,composedPathSelector:tt||void 0},position:{x:Math.round(R.clientX-Ie.left),y:Math.round(R.clientY-Ie.top)},name:_t,nameSource:Ut}}function As(R){if(R.composed&&Pt(R.target)&&typeof R.composedPath=="function"){const K=R.composedPath();if(K.length>0&&K[0]instanceof Element)return K[0]}return R.target}function xs(R,K,le,oe,Ie){const Ge=(0,w.lk)(),tt=(0,v.FR)(Ie.timeStamp),_t=K.start(Ge,tt,oe,{isChildEvent:_r});R.notify(15,_t);let Ut=0,yr;const Qt=[],qt=new Zn.cP;function br(cn){Ut===0&&(Ut=1,yr=cn?K.stop(Ge,(0,v.jR)(cn)):K.discard(Ge),qt.notify())}return{event:Ie,stop:br,stopObservable:qt,get hasError(){var cn;const gn=(cn=yr?.counts)!==null&&cn!==void 0?cn:K.getCounts(Ge);return gn?gn.errorCount>0:!1},get hasPageActivity(){return yr&&"duration"in yr},getUserActivity:le,addFrustration:cn=>{Qt.push(cn)},get startClocks(){return tt},isStopped:()=>Ut===1||Ut===2,clone:()=>xs(R,K,le,oe,Ie),validate:cn=>{if(br(),Ut!==1||!yr)return;const gn={frustrationTypes:Qt,events:cn??[Ie],event:Ie,...yr,counts:yr.counts};R.notify(0,gn),Ut=2},discard:()=>{br(),Ut=2}}}function ya(R,K){const{isRage:le}=Xc(R,K);
9le?(R.forEach(oe=>oe.discard()),K.stop((0,v.nx)()),K.validate(R.map(oe=>oe.event))):(K.discard(),R.forEach(oe=>oe.validate()))}function Zo(R,K){const le=Bt(R);function oe(tt,_t={},Ut=(0,v.M8)()){var yr;const Qt=(yr=_t.actionKey)!==null&&yr!==void 0?yr:tt,qt=le.start(Qt,Ut,{name:tt,..._t},{isChildEvent:_r});R.notify(15,qt)}function Ie(tt,_t={},Ut=(0,v.M8)()){var yr;const Qt=(yr=_t.actionKey)!==null&&yr!==void 0?yr:tt,qt=le.stop(Qt,Ut,_t);if(!qt)return;const br=[];qt.counts&&qt.counts.errorCount>0&&br.push(j.ERROR_CLICK);const cn={...qt,type:qt.type||F.CUSTOM,frustrationTypes:br};K(cn)}function Ge(tt){K({id:(0,w.lk)(),frustrationTypes:[],...tt})}return{addAction:Ge,startAction:oe,stopAction:Ie,findActionId:le.findId,stop:le.stopAll}}const fo=1;function Qa(R,K,le,oe,Ie){const{unsubscribe:Ge}=R.subscribe(0,Qt=>{R.notify(12,tl(Qt))}),tt=xe.l;let _t;Ie.trackUserInteractions&&(_t=ct(R,le,oe,Ie));const Ut=Zo(R,Qt=>{R.notify(12,tl(Qt))}),yr={findActionId:Qt=>{var qt;const br=Ut.findActionId(Qt),cn=(qt=_t?.findActionId(Qt))!==null&&qt!==void 0?qt:[];return br.concat(cn)}};return K.register(0,({startTime:Qt,eventType:qt})=>{if(qt!==O.ERROR&&qt!==O.RESOURCE&&qt!==O.LONG_TASK)return Me.$O;const br=qt===O.LONG_TASK?(0,v.Gw)(Qt,fo):Qt,cn=yr.findActionId(br);return cn.length?{type:qt,action:{id:cn}}:Me.$O}),K.register(1,({startTime:Qt})=>({action:{id:yr.findActionId(Qt)}})),{addAction:Ut.addAction,startAction:Ut.startAction,stopAction:Ut.stopAction,actionContexts:yr,stop:()=>{Ge(),tt(),Ut.stop(),_t?.stop()}}}function tl(R){var K,le,oe,Ie;const Ge=$u(R),tt=zs((0,v.Zj)(R.duration));return{rawRumEvent:{type:O.ACTION,date:R.startClocks.timeStamp,action:{id:R.id,target:{name:R.name},type:R.type,...tt!==void 0&&{loading_time:tt},...R.counts&&{error:{count:R.counts.errorCount},long_task:{count:R.counts.longTaskCount},resource:{count:R.counts.resourceCount}},frustration:{type:R.frustrationTypes}},...Ge?{_dd:{action:{target:{selector:((K=R.target)===null||K===void 0?void 0:K.selector)||void 0,width:((le=R.target)===null||le===void 0?void 0:le.width)||void 0,height:((oe=R.target)===null||oe===void 0?void 0:oe.height)||void 0,composed_path_selector:(Ie=R.target)===null||Ie===void 0?void 0:Ie.composedPathSelector},position:R.position,name_source:R.nameSource}}}:{context:R.context}},duration:R.duration,startClocks:R.startClocks,domainContext:Ge?{events:R.events}:{handlingStack:R.handlingStack}}}function $u(R){return"events"in R}var qo=e(14486),Hu=e(86609),hu=e(70015);function Fa(R){const K=(0,hu.l)([de.bP.error]).subscribe(le=>R.notify(le.error));return{stop:()=>{K.unsubscribe()}}}var ho=e(16689);function Rl(R,K){const le=(0,ho.u)(R,[ho.V.cspViolation,ho.V.intervention]).subscribe(oe=>K.notify(oe));return{stop:()=>{le.unsubscribe()}}}function Es(R,K,le){const oe=new Zn.cP;return le.subscribe(Ie=>{Ie.type===0&&oe.notify(Ie.error)}),Fa(oe),Rl(K,oe),oe.subscribe(Ie=>R.notify(14,{error:Ie})),Tu(R)}function Tu(R){return R.subscribe(14,({error:K})=>{R.notify(12,Dl(K))}),{addError:({error:K,handlingStack:le,componentStack:oe,startClocks:Ie,context:Ge})=>{const tt=(0,qo.As)({originalError:K,handlingStack:le,componentStack:oe,startClocks:Ie,nonErrorPrefix:"Provided",source:Hu.g.CUSTOM,handling:"handled"});tt.context=(0,g.kg)(tt.context,Ge),R.notify(14,{error:tt})}}}function Dl(R){const K={date:R.startClocks.timeStamp,error:{id:(0,w.lk)(),message:R.message,source:R.source,stack:R.stack,handling_stack:R.handlingStack,component_stack:R.componentStack,type:R.type,handling:R.handling,causes:R.causes,source_type:"browser",fingerprint:R.fingerprint,csp:R.csp},type:O.ERROR,context:R.context},le={error:R.originalError,handlingStack:R.handlingStack};return{rawRumEvent:K,startClocks:R.startClocks,domainContext:le}}var Ae=e(57384);const qe=v.OY,St=30;function Ft(){const R=[];function K(oe){let Ie;if(oe.didTimeout){const Ge=performance.now();Ie=()=>St-(performance.now()-Ge)}else Ie=oe.timeRemaining.bind(oe);for(;Ie()>0&&R.length;)R.shift()();R.length&&le()}function le(){(0,Ae.BB)(K,{timeout:qe})}return{push(oe){R.push(oe)===1&&le()},stop(){R.length=0}}}const Jt=new WeakSet;function Rr(R){if(!performance||!("getEntriesByName"in performance))return;const K=performance.getEntriesByName(R.url,"resource");if(!K.length||!("toJSON"in K[0]))return;const le=K.filter(oe=>!Jt.has(oe)).filter(oe=>wi(oe)&&Ls(oe)).filter(oe=>Kn(oe,R.startClocks.relative,On({startTime:R.startClocks.relative,duration:R.duration})));if(le.length===1)return Jt.add(le[0]),le[0].toJSON()}function On(R){return(0,v.Gw)(R.startTime,R.duration)}function Kn(R,K,le){return R.startTime>
9=K-1&&On(R)<=(0,v.Gw)(le,1)}var Bi=e(2063);const ji=2*v.iW;function Xi(R){const K=aa(R)||Js(R);if(!(!K||K.traceTime<=(0,v.x3)()-ji))return K.traceId}function aa(R){const K=R.querySelector("meta[name=dd-trace-id]"),le=R.querySelector("meta[name=dd-trace-time]");return Ka(K&&K.content,le&&le.content)}function Js(R){const K=To(R);if(K)return Ka((0,w.rx)(K,"trace-id"),(0,w.rx)(K,"trace-time"))}function Ka(R,K){const le=K&&Number(K);if(!(!R||!le))return{traceId:R,traceTime:le}}function To(R){for(let K=0;K<R.childNodes.length;K+=1){const le=po(R.childNodes[K]);if(le)return le}if(R.body)for(let K=R.body.childNodes.length-1;K>=0;K-=1){const le=R.body.childNodes[K],oe=po(le);if(oe)return oe;if(!Ks(le))break}}function po(R){if(R&&Aa(R)){const K=/^\s*DATADOG;(.*?)\s*$/.exec(R.data);if(K)return K[1]}}function dt(){if(Un(yt.NAVIGATION)){const le=performance.getEntriesByType(yt.NAVIGATION)[0];if(le)return le}const R=Ja(),K={entryType:yt.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:R.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...K,toJSON:void 0}),...R};return K}function Ja(){const R={},K=performance.timing;for(const le in K)if((0,mt.Et)(K[le])){const oe=le,Ie=K[oe];R[oe]=Ie===0?0:(0,v.gs)(Ie)}return R}function La(R){return R.responseStart>=0&&R.responseStart<=(0,v.$S)()?R.responseStart:void 0}function ba(){if(Un(yt.RESOURCE))return performance.getEntriesByType(yt.RESOURCE)}function gs(R,K){const le=ba();if(le)return(0,Ys.Uk)(le,oe=>oe.name===R&&oe.startTime<=K)}function eu(R,K){(0,Bi.H)(R,"interactive",()=>{const le=(0,i.B)(dt)(),oe=Object.assign(le.toJSON(),{entryType:yt.RESOURCE,initiatorType:zr,duration:le.responseEnd,traceId:Xi(document),toJSON:()=>({...oe,toJSON:void 0})});K(oe)})}const ll=1e3;function rl(R){const K=new Set;let le=!1;const oe=R.subscribe(8,Ie=>{if(K.add(Ie),K.size>ll){const Ge=K.values().next().value;if(!le){le=!0;let tt;if((0,b.sr)(b.R9.TOO_MANY_REQUESTS_INVESTIGATION)){let _t=0,Ut=0,yr=0,Qt=0;for(const br of K)br.isAborted&&_t++,br.isAbortedOnStart&&Ut++,br.type===Vr.Y.XHR&&yr++,performance.getEntriesByName(br.url,"resource").some(ai=>ai.startTime>=br.startClocks.relative)||Qt++;const qt=(0,v.nx)()-Ge.startClocks.timeStamp;tt={abortedCount:_t,abortedOnStartCount:Ut,xhrCount:yr,fetchCount:K.size-yr,oldestRequestAge:qt,oldestRequestEndAge:qt-Ge.duration,withoutMatchingEntryCount:Qt}}(0,l.A2)("Too many requests",tt)}K.delete(Ge)}});return{getMatchingRequest(Ie){let Ge=1/0,tt;for(const _t of K){const Ut=Ie.startTime-_t.startClocks.relative;0<=Ut&&Ut<Ge&&_t.url===Ie.name&&(Ge=Math.abs(Ut),tt=_t)}return tt&&K.delete(tt),tt},stop(){oe.unsubscribe()}}}function pu(R,K){function le(Ie,Ge={},tt=(0,v.M8)()){var _t;const Ut=(_t=Ge.resourceKey)!==null&&_t!==void 0?_t:Ie;K.start(Ut,tt,{url:Ie,...Ge})}function oe(Ie,Ge={},tt=(0,v.M8)()){var _t;const Ut=(_t=Ge.resourceKey)!==null&&_t!==void 0?_t:Ie,yr=K.stop(Ut,tt,{context:Ge.context,type:Ge.type});if(!yr)return;const Qt=(0,v.vk)(yr.startClocks.relative,tt.relative),qt={date:yr.startClocks.timeStamp,type:O.RESOURCE,resource:{id:yr.id,type:yr.type||Vr.v.OTHER,url:ha(yr.url),duration:(0,v.Zj)(Qt),method:yr.method,status_code:Ge.statusCode,size:Ge.size},_dd:{},context:yr.context};R.notify(12,{rawRumEvent:qt,startClocks:yr.startClocks,duration:Qt,domainContext:{isManual:!0}})}return{startResource:le,stopResource:oe}}function Xl(R,K,le){const oe=(0,i.B)(Ft)();let Ie;const Ge=K.trackEarlyRequests;Ge?Ie=rl(R):R.subscribe(8,Qt=>{_t(()=>mu(Qt,K,le))});const tt=sr(K,{type:yt.RESOURCE,buffered:!0}).subscribe(Qt=>{for(const qt of Qt)(Ge||!ss(qt))&&_t(()=>wu(qt,K,le,Ie))});(0,i.B)(eu)(K,Qt=>{_t(()=>wu(Qt,K,le,Ie))});function _t(Qt){oe.push(()=>{const qt=Qt();qt&&R.notify(12,qt)})}const Ut=Bt(R),yr=pu(R,Ut);return{startResource:yr.startResource,stopResource:yr.stopResource,stop:()=>{oe.stop(),tt.unsubscribe(),Ut.stopAll()}}}function mu(R,K,le){const oe=Rr(R);return Rc(oe,R,le,K)}function wu(R,K,le,oe){const Ie=ss(R)&&oe?oe.getMatchingRequest(R):void 0;return Rc(R,Ie,le,K)}function Rc(R,K,le,oe){if(!R&&!K)return;const Ie=K?qd(K,oe):pd(R,oe);if(!oe.trackResources&&!Ie)return;const Ge=R?(0,v.FR)(R.startTime):K.startClocks,tt=R?xi(R):Mu(le,Ge,K.duration),_t=K&&Qc(K,oe),Ut=R&&Lu(R),yr=(0,g.kg)({date:Ge.timeStamp,resource:{id:(0,w.lk)(),duration:(0,v.Zj)(tt),type:K?K.type===Vr.Y.XHR?Vr.v.XHR:Vr.v.FETCH:fi(R),method:K?K.method:void 0,status_code:K?K.status:cl(R.responseStatus),url:K?ha(K.url):R.name,protocol:R&&xa(R),delivery_type:R&&ka(R),graphql:_t,response:Ut},type:O.RESOURCE,_dd:{discarded:!oe.trackResources}},Ie,R&&Vo(R));return{startClocks:Ge,duration:tt,rawRumEvent:yr,domainContext:mc(R,K)}}function Qc(R,K){const le=Mi(R.url,K);if(le)return qi(R,le)}function Lu(R){const K=R.contentType;if(K)return{headers:{"content-type":K}}}
9function mc(R,K){if(K){const le={performanceEntry:R,isAborted:K.isAborted,handlingStack:K.handlingStack};return K.type===Vr.Y.XHR?{xhr:K.xhr,...le}:{requestInput:K.input,requestInit:K.init,response:K.response,error:K.error,...le}}return{performanceEntry:R}}function Vo(R){const{renderBlockingStatus:K}=R;return{resource:{render_blocking_status:K,...Is(R),...ms(R)}}}function qd(R,K){if(R.traceSampled&&R.traceId&&R.spanId)return{_dd:{span_id:R.spanId.toString(),trace_id:R.traceId.toString(),rule_psr:K.rulePsr}}}function pd(R,K){if(R.traceId)return{_dd:{trace_id:R.traceId,span_id:da().toString(),rule_psr:K.rulePsr}}}function Mu(R,K,le){return R.wasInPageStateDuringPeriod("frozen",K.relative,le)?void 0:le}function cl(R){return R===0?void 0:R}function Jc(){try{return new Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}var Wu=e(33270);function gc(R,K,le){const{stop:oe,eventCounts:Ie}=at({lifeCycle:R,isChildEvent:Ge=>Ge.view.id===K,onChange:le});return{stop:oe,eventCounts:Ie}}const vc=10*v.iW;function Go(R,K,le){return{stop:sr(R,{type:yt.PAINT,buffered:!0}).subscribe(Ie=>{const Ge=Ie.find(tt=>tt.name==="first-contentful-paint"&&tt.startTime<K.timeStamp&&tt.startTime<vc);Ge&&le(Ge.startTime)}).unsubscribe}}function wo(R,K){requestAnimationFrame(()=>{requestAnimationFrame(()=>{K((0,v.vk)(R,(0,v.$S)()))})})}function ni(R,K,le){const oe=sr(R,{type:yt.FIRST_INPUT,buffered:!0}).subscribe(Ie=>{const Ge=Ie.find(tt=>tt.startTime<K.timeStamp);if(Ge){const tt=(0,v.vk)(Ge.startTime,Ge.processingStart);let _t;Ge.target&&pa(Ge.target)&&(_t=ft(Ge.target,R.actionNameAttribute)),le({delay:tt>=0?tt:0,time:Ge.startTime,targetSelector:_t})}});return{stop:()=>{oe.unsubscribe()}}}function dl(R,K){return Ba(R,()=>{const le=(0,i.B)(dt)();Dc(le)||K(gu(le))})}function gu(R){return{domComplete:R.domComplete,domContentLoaded:R.domContentLoadedEventEnd,domInteractive:R.domInteractive,loadEvent:R.loadEventEnd,firstByte:La(R)}}function Dc(R){return R.loadEventEnd<=0}function Ba(R,K){let le;const{stop:oe}=(0,Bi.H)(R,"complete",()=>{le=(0,ge.wg)(()=>K())});return{stop:()=>{oe(),(0,ge.DJ)(le)}}}const tu=10*v.iW;function Za(R,K,le,oe){let Ie=1/0;const{stop:Ge}=(0,je.l)(R,le,["pointerdown","keydown"],Ut=>{Ie=Ut.timeStamp},{capture:!0,once:!0});let tt=0;const _t=sr(R,{type:yt.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(Ut=>{const yr=(0,Ys.Uk)(Ut,Qt=>Qt.entryType===yt.LARGEST_CONTENTFUL_PAINT&&Qt.startTime<Ie&&Qt.startTime<K.timeStamp&&Qt.startTime<tu&&Qt.size>tt);if(yr){let Qt;yr.element&&(Qt=ft(yr.element,R.actionNameAttribute));const qt=ku(yr),br=yr.startTime,cn=Zc(qt,br);oe({value:br,targetSelector:Qt,resourceUrl:qt,subParts:cn}),tt=yr.size}});return{stop:()=>{Ge(),_t.unsubscribe()}}}function ku(R){return R.url===""?void 0:R.url}function Zc(R,K){const le=La(dt());if(le===void 0)return;const oe=R?gs(R,K):void 0,Ie=oe?Math.max(le,oe.requestStart||oe.startTime):le,Ge=Math.min(K,Math.max(Ie,oe?.responseEnd||0));return{loadDelay:Ie-le,loadTime:Ge-Ie,renderDelay:K-Ge}}function qc(R,K,le=window){if(document.visibilityState==="hidden")return{timeStamp:0,stop:xe.l};if(Un(yt.VISIBILITY_STATE)){const Ge=performance.getEntriesByType(yt.VISIBILITY_STATE).filter(tt=>tt.name==="hidden").find(tt=>tt.startTime>=K.relative);if(Ge)return{timeStamp:Ge.startTime,stop:xe.l}}let oe=1/0;const{stop:Ie}=(0,je.l)(R,le,["pagehide","visibilitychange"],Ge=>{(Ge.type==="pagehide"||document.visibilityState==="hidden")&&(oe=Ge.timeStamp,Ie())},{capture:!0});return{get timeStamp(){return oe},stop:Ie}}function yc(R,K,le,oe){const Ie={},{stop:Ge}=dl(R,qt=>{le(qt.loadEvent),Ie.navigationTimings=qt,oe()}),tt=qc(R,K),{stop:_t}=Go(R,tt,qt=>{Ie.firstContentfulPaint=qt,oe()}),{stop:Ut}=Za(R,tt,window,qt=>{Ie.largestContentfulPaint=qt,oe()}),{stop:yr}=ni(R,tt,qt=>{Ie.firstInput=qt,oe()});function Qt(){Ge(),_t(),Ut(),yr(),tt.stop()}return{stop:Qt,initialViewMetrics:Ie}}const ru=(R,K)=>R*K,Ll=(R,K)=>{const le=Math.max(R.left,K.left),oe=Math.max(R.top,K.top),Ie=Math.min(R.right,K.right),Ge=Math.min(R.bottom,K.bottom);return le>=Ie||oe>=Ge?0:ru(Ie-le,Ge-oe)},vo=R=>{const K=ru(R.previousRect.width,R.previousRect.height),le=ru(R.currentRect.width,R.currentRect.height),oe=Ll(R.previousRect,R.currentRect);return K+le-oe};function Ql(R,K,le){if(!vu())return{stop:xe.l};let oe=0,Ie;le({value:0});const Ge=Jl(),tt=sr(R,{type:yt.LAYOUT_SHIFT,buffered:!0}).subscribe(_t=>{var Ut;for(const yr of _t){if(yr.hadRecentInput||yr.startTime<K)continue;const{cumulatedValue:Qt,isMaxValue:qt}=Ge.update(yr);if(qt){const br=Vu(yr.sources);Ie={target:br?.node?new WeakRef(br.node):void 0,time:(0,v.vk)(K,yr.startTime),previousRect:br?.previousRect,currentRect:br?.currentRect,devicePixelRatio:window.devicePixelRatio}}if(Qt>oe){oe=Qt;const br=(Ut=Ie?.target)===null||Ut===void 0?void 0:Ut.deref();le({value:(0,mt.LI)(oe,4),targetSelector:br&&ft(br,R.actionNameAttribute),time:Ie?.time,previousRect:Ie?.previousRect?Ml(Ie.previousRect):void 0,currentRect:Ie?.currentRect?Ml(Ie.currentRect):void 0,devicePixelRatio:Ie?.devicePixelRatio})}}});return{stop:()=>{tt.unsubscribe()}}}
9function Vu(R){let K;for(const le of R)if(le.node&&pa(le.node)){const oe=vo(le);(!K||vo(K)<oe)&&(K=le)}return K}function Ml({x:R,y:K,width:le,height:oe}){return{x:R,y:K,width:le,height:oe}}const ed=5*v.OY,Gu=v.OY;function Jl(){let R=0,K,le,oe=0;return{update:Ie=>{const Ge=K===void 0||Ie.startTime-le>=Gu||Ie.startTime-K>=ed;let tt;return Ge?(K=le=Ie.startTime,oe=R=Ie.value,tt=!0):(R+=Ie.value,le=Ie.startTime,tt=Ie.value>oe,tt&&(oe=Ie.value)),{cumulatedValue:R,isMaxValue:tt}}}}function vu(){return Un(yt.LAYOUT_SHIFT)&&"WeakRef"in window}let _o,Zl=0,Yo=1/0,Sl=0;function Yu(){"interactionCount"in performance||_o||(_o=new window.PerformanceObserver((0,u.dm)(R=>{R.getEntries().forEach(K=>{const le=K;le.interactionId&&(Yo=Math.min(Yo,le.interactionId),Sl=Math.max(Sl,le.interactionId),Zl=(Sl-Yo)/7+1)})})),_o.observe({type:"event",buffered:!0,durationThreshold:0}))}const Ua=()=>_o?Zl:window.performance.interactionCount||0;function Lc(){_o&&(_o.disconnect(),_o=void 0,Zl=0,Yo=1/0,Sl=0)}const md=10,Mn=1*v.iW,gd=8;function ql(R,K,le){if(!nu())return{getInteractionToNextPaint:()=>{},setViewEnd:xe.l,stop:xe.l};let oe=1/0,Ie;const{getViewInteractionCount:Ge,stopViewInteractionCount:tt}=yu(le),_t=Mo(Ge),Ut=(0,b.sr)(b.R9.INP_SUBPARTS)?ec(_t):null,yr=sr(R,{type:yt.FIRST_INPUT,buffered:!0}).subscribe(qt),Qt=sr(R,{type:yt.EVENT,durationThreshold:40,buffered:!0}).subscribe(qt);function qt(cn){for(const ai of cn)ai.interactionId&&ai.startTime>=K&&ai.startTime<=oe&&(_t.process(ai),Ut?.process(ai));Ut?.pruneUntracked();const gn=_t.estimateP98Interaction();gn&&br(gn)}function br(cn){const gn=(0,v.vk)(K,cn.startTime);if(!Ie||cn.duration!==Ie.duration||gn!==Ie.startTime){let ai=Du(cn.startTime);!ai&&cn.target&&pa(cn.target)&&(ai=ft(cn.target,R.actionNameAttribute)),Ie={duration:cn.duration,startTime:gn,targetSelector:ai}}Ut&&(Ie.subParts=Ut.computeSubParts(cn,Ku(Ie.duration)))}return{getInteractionToNextPaint:()=>{if(Ie)return{value:Ku(Ie.duration),targetSelector:Ie.targetSelector,time:Ie.startTime,subParts:Ie.subParts};if(Ge())return{value:0}}
9,setViewEnd:cn=>{oe=cn,tt()},stop:()=>{Qt.unsubscribe(),yr.unsubscribe(),Ut?.stop()}}}function Mo(R){const K=[];function le(){K.sort((oe,Ie)=>Ie.duration-oe.duration).splice(md)}return{process(oe){const Ie=K.findIndex(tt=>oe.interactionId===tt.interactionId),Ge=K[K.length-1];Ie!==-1?oe.duration>K[Ie].duration&&(K[Ie]=oe,le()):(K.length<md||oe.duration>Ge.duration)&&(K.push(oe),le())},estimateP98Interaction(){const oe=Math.min(K.length-1,Math.floor(R()/50));return K[oe]},isTracked(oe){return K.some(Ie=>Ie.interactionId===oe)}}}function yu(R){Yu();const K=R===D.INITIAL_LOAD?0:Ua();let le={stopped:!1};function oe(){return Ua()-K}return{getViewInteractionCount:()=>le.stopped?le.interactionCount:oe(),stopViewInteractionCount:()=>{le={stopped:!0,interactionCount:oe()}}}}function ec(R){const K=new Map;function le(oe,Ie){oe.startTime=Math.min(Ie.startTime,oe.startTime),oe.processingStart=Math.min(Ie.processingStart,oe.processingStart),oe.processingEnd=Math.max(Ie.processingEnd,oe.processingEnd)}return{process(oe){if(oe.interactionId===void 0||!oe.processingStart||!oe.processingEnd)return;const Ie=oe.startTime+oe.duration,Ge=K.get(oe.interactionId);if(Ge){le(Ge,oe);return}for(const[,tt]of K.entries())if(Math.abs(Ie-tt.referenceRenderTime)<=gd){le(tt,oe),K.set(oe.interactionId,tt);return}K.set(oe.interactionId,{startTime:oe.startTime,processingStart:oe.processingStart,processingEnd:oe.processingEnd,referenceRenderTime:Ie})},pruneUntracked(){for(const[oe]of K)R.isTracked(oe)||K.delete(oe)},computeSubParts(oe,Ie){if(!oe.processingStart||!oe.processingEnd||oe.interactionId===void 0)return;const Ge=K.get(oe.interactionId);if(!Ge)return;const tt=Math.max(Ge.startTime+Ie,Ge.processingStart),_t=Math.min(Ge.processingEnd,tt);return{inputDelay:(0,v.vk)(Ge.startTime,Ge.processingStart),processingDuration:(0,v.vk)(Ge.processingStart,_t),presentationDelay:(0,v.vk)(_t,tt)}},stop(){K.clear()}}}function nu(){return Un(yt.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype}function Ku(R){return Math.min(R,Mn)}function tc(R,K,le,oe,Ie,Ge,tt){let _t=Ie===D.INITIAL_LOAD,Ut=!0;const yr=[],Qt=qc(oe,Ge);function qt(){if(!Ut&&!_t&&yr.length>0){const cn=Math.max(...yr);cn<Qt.timeStamp-Ge.relative&&tt(cn)}}const{stop:br}=Je(R,K,le,oe,cn=>
9{Ut&&(Ut=!1,cn.hadActivity&&yr.push((0,v.vk)(Ge.timeStamp,cn.end)),qt())});return{stop:()=>{br(),Qt.stop()},setLoadEvent:cn=>{_t&&(_t=!1,yr.push(cn),qt())}}}function Ko(){let R;const K=window.visualViewport;return K?R=K.pageLeft-K.offsetLeft:window.scrollX!==void 0?R=window.scrollX:R=window.pageXOffset||0,Math.round(R)}function bc(){let R;const K=window.visualViewport;return K?R=K.pageTop-K.offsetTop:window.scrollY!==void 0?R=window.scrollY:R=window.pageYOffset||0,Math.round(R)}let Io;function qa(R){return Io||(Io=Sc(R)),Io}function Sc(R){return new Zn.cP(K=>{const{throttled:le}=(0,xe.n)(()=>{K.notify(_u())},200);return(0,je.q)(R,window,"resize",le,{capture:!0,passive:!0}).stop})}function _u(){const R=window.visualViewport;return R?{width:Number(R.width*R.scale),height:Number(R.height*R.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}const Mc=v.OY;function nl(R,K,le,oe=kl(R)){let Ie=0,Ge=0,tt=0;const _t=oe.subscribe(({scrollDepth:Ut,scrollTop:yr,scrollHeight:Qt})=>{let qt=!1;if(Ut>Ie&&(Ie=Ut,qt=!0),Qt>Ge){Ge=Qt;const br=(0,v.$S)();tt=(0,v.vk)(K.relative,br),qt=!0}qt&&le({maxDepth:Math.min(Ie,Ge),maxDepthScrollTop:yr,maxScrollHeight:Ge,maxScrollHeightTime:tt})});return{stop:()=>_t.unsubscribe()}}function xl(){const R=bc(),{height:K}=_u(),le=Math.round((document.scrollingElement||document.documentElement).scrollHeight),oe=Math.round(K+R);return{scrollHeight:le,scrollDepth:oe,scrollTop:R}}function kl(R,K=Mc){return new Zn.cP(le=>{function oe(){le.notify(xl())}if(window.ResizeObserver){const Ie=(0,xe.n)(oe,K,{leading:!1,trailing:!0}),Ge=document.scrollingElement||document.documentElement,tt=new ResizeObserver((0,u.dm)(Ie.throttled));Ge&&tt.observe(Ge);const _t=(0,je.q)(R,window,"scroll",Ie.throttled,{passive:!0});return()=>{Ie.cancel(),tt.disconnect(),_t.stop()}}})}function Nl(R,K,le,oe,Ie,Ge,tt){const _t={};let Ut=!1,yr=!1;const{stop:Qt,setLoadEvent:qt}=tc(R,K,le,oe,Ge,tt,ps=>{Ut||(_t.loadingTime=ps,Ie())}),{stop:br}=nl(oe,tt,ps=>{_t.scroll=ps}),{stop:cn}=Ql(oe,tt.relative,ps=>{_t.cumulativeLayoutShift=ps,Ie()}),{stop:gn,getInteractionToNextPaint:ai,setViewEnd:Ri}=ql(oe,tt.relative,Ge);return{stop:()=>{Qt(),cn(),br()},stopINPTracking:gn,setLoadEvent:qt,setViewEnd:ps=>{yr=!0,Ri(ps)},getCommonViewMetrics:()=>(_t.interactionToNextPaint=ai(),_t),setLoadingTime:ps=>{if(yr)return;const Hs=(0,v.vk)(tt.timeStamp,ps??(0,v.nx)());Ut||Qt(),Ut=!0,_t.loadingTime=Hs,Ie()}}}function rc(R,K){const{stop:le}=(0,je.q)(R,window,"pageshow",oe=>{oe.persisted&&K(oe)},{capture:!0});return le}function fl(R,K,le){wo(R.relative,oe=>{K.firstContentfulPaint=oe,K.largestContentfulPaint={value:oe},le()})}const Fl=3e3,td=5*v.iW,Bl=5*v.iW;function Ul(R,K,le,oe,Ie,Ge,tt){const _t=new Set;let Ut=qt(D.INITIAL_LOAD,(0,v.Oc)(),tt),yr;br();let Qt;Ge&&(Qt=cn(Ie),oe.trackBfcacheViews&&(yr=rc(oe,gn=>{Ut.end();const ai=(0,v.FR)(gn.timeStamp);Ut=qt(D.BF_CACHE,ai,void 0)})));function qt(gn,ai,Ri){const ps=ca(R,K,le,oe,gn,ai,Ri);return _t.add(ps),ps.stopObservable.subscribe(()=>{_t.delete(ps)}),ps}function br(){R.subscribe(10,()=>{Ut=qt(D.ROUTE_CHANGE,void 0,{name:Ut.name,service:Ut.service,version:Ut.version,context:Ut.contextManager.getContext()})}),R.subscribe(9,()=>{Ut.end({sessionIsActive:!1})})}function cn(gn){return gn.subscribe(({oldLocation:ai,newLocation:Ri})=>{te(ai,Ri)&&(Ut.end(),Ut=qt(D.ROUTE_CHANGE))})}return{addTiming:(gn,ai=(0,v.nx)())=>{Ut.addTiming(gn,ai)},setLoadingTime:gn=>Ut.setLoadingTime(gn),startView:(gn,ai)=>{Ut.end({endClocks:ai}),Ut=qt(D.ROUTE_CHANGE,ai,gn)},setViewContext:gn=>{Ut.contextManager.setContext(gn)},setViewContextProperty:(gn,ai)=>{Ut.contextManager.setContextProperty(gn,ai)},setViewName:gn=>{Ut.setViewName(gn)},getViewContext:()=>Ut.contextManager.getContext(),stop:()=>{Qt&&Qt.unsubscribe(),yr&&yr(),Ut.end(),_t.forEach(gn=>gn.stop())}}}function ca(R,K,le,oe,Ie,Ge=(0,v.M8)(),tt){const _t=(0,w.lk)(),Ut=new Zn.cP,yr={};let Qt=0,qt;const br=(0,Xt.yG)((0,i.B)(window.location)),cn=(0,Wu.D)();let gn=!0,ai=tt?.name;const Ri=tt?.service||oe.service,ps=tt?.version||oe.version,Hs=tt?.context,Qs=tt?.handlingStack;Hs&&cn.setContext(Hs);const la={id:_t,name:ai,startClocks:Ge,service:Ri,version:ps,context:Hs,url:tt?.url};R.notify(1,la),R.notify(2,la);const{throttled:ko,cancel:zi}=(0,xe.n)(Fu,Fl,{leading:!1}),{setLoadEvent:Ns,setViewEnd:Ta,stop:to,stopINPTracking:Tc,getCommonViewMetrics:id,setLoa
9dingTime:ao}=Nl(R,K,le,oe,pl,Ie,Ge),{stop:bo,initialViewMetrics:Hl}=Ie===D.INITIAL_LOAD?yc(oe,Ge,Ns,pl):{stop:xe.l,initialViewMetrics:{}};Ie===D.BF_CACHE&&fl(Ge,Hl,pl);const{stop:sd,eventCounts:au}=gc(R,_t,pl),xd=(0,ge.yb)(Fu,td),Uc=R.subscribe(11,Bu=>{Bu.reason===ws.y5.UNLOADING&&Fu()});Fu(),cn.changeObservable.subscribe(pl);function Cl(){R.notify(3,{id:_t,name:ai,context:cn.getContext(),startClocks:Ge,sessionIsActive:gn})}function pl(){Cl(),ko()}function Fu(){zi(),Cl(),Qt+=1;const Bu=qt===void 0?(0,v.nx)():qt.timeStamp;R.notify(4,{customTimings:yr,documentVersion:Qt,id:_t,name:ai,service:Ri,version:ps,context:cn.getContext(),loadingType:Ie,location:br,handlingStack:Qs,startClocks:Ge,commonViewMetrics:id(),initialViewMetrics:Hl,duration:(0,v.vk)(Ge.timeStamp,Bu),isActive:qt===void 0,sessionIsActive:gn,eventCounts:au})}return{get name(){return ai},service:Ri,version:ps,contextManager:cn,stopObservable:Ut,end(Bu={}){var ml,Zu;qt||(qt=(ml=Bu.endClocks)!==null&&ml!==void 0?ml:(0,v.M8)(),gn=(Zu=Bu.sessionIsActive)!==null&&Zu!==void 0?Zu:!0,R.notify(5,{endClocks:qt}),R.notify(6,{endClocks:qt}),(0,ge.vG)(xd),Ta(qt.relative),to(),Uc.unsubscribe(),Fu(),(0,ge.wg)(()=>{this.stop()},Bl))},stop(){bo(),sd(),Tc(),Ut.notify()},addTiming(Bu,ml){if(qt)return;const Zu=(0,v.pu)(ml)?ml:(0,v.vk)(Ge.timeStamp,ml);yr[N(Bu)]=Zu,pl()},setLoadingTime:ao,setViewName(Bu){ai=Bu,Fu()}}}function N(R){const K=R.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return K!==R&&de.Vy.warn(`Invalid timing name: ${R}, sanitized to: ${K}`),K}function te(R,K){return R.pathname!==K.pathname||!Ee(K.hash)&&Ne(K.hash)!==Ne(R.hash)}function Ee(R){const K=R.substring(1);return K!==""&&!!document.getElementById(K)}function Ne(R){const K=R.indexOf("?");return K<0?R:R.slice(0,K)}function ht(R,K,le,oe,Ie,Ge,tt,_t,Ut){return R.subscribe(4,yr=>R.notify(12,Ar(yr,le,tt))),K.register(0,({startTime:yr,eventType:Qt})=>{const qt=_t.findView(yr);return qt?{type:Qt,service:qt.service,version:qt.version,context:qt.context,view:{id:qt.id,name:qt.name}}:Me.ug}),K.register(1,({startTime:yr})=>{var Qt;return{view:{id:(Qt=_t.findView(yr))===null||Qt===void 0?void 0:Qt.id}}}),Ul(R,oe,Ie,le,Ge,!le.trackViewsManually,Ut)}function Ar(R,K,le){var oe,Ie,Ge,tt,_t,Ut,yr,Qt,qt,br,cn,gn,ai,Ri,ps,Hs,Qs,la;const ko=le.getReplayStats(R.id),zi=(Ie=(oe=R.commonViewMetrics)===null||oe===void 0?void 0:oe.cumulativeLayoutShift)===null||Ie===void 0?void 0:Ie.devicePixelRatio,Ns={_dd:{document_version:R.documentVersion,replay_stats:ko,cls:zi?{device_pixel_ratio:zi}:void 0,configuration:{start_session_replay_recording_manually:K.startSessionReplayRecordingManually}},date:R.startClocks.timeStamp,type:O.VIEW,view:{action:{count:R.eventCounts.actionCount},frustration:{count:R.eventCounts.frustrationCount},cumulative_layout_shift:(Ge=R.commonViewMetrics.cumulativeLayoutShift)===null||Ge===void 0?void 0:Ge.value,cumulative_layout_shift_time:(0,v.Zj)((tt=R.commonViewMetrics.cumulativeLayoutShift)===null||tt===void 0?void 0:tt.time),cumulative_layout_shift_target_selector:(_t=R.commonViewMetrics.cumulativeLayoutShift)===null||_t===void 0?void 0:_t.targetSelector,first_byte:(0,v.Zj)((Ut=R.initialViewMetrics.navigationTimings)===null||Ut===void 0?void 0:Ut.firstByte),dom_complete:(0,v.Zj)((yr=R.initialViewMetrics.navigationTimings)===null||yr===void 0?void 0:yr.domComplete),dom_content_loaded:(0,v.Zj)((Qt=R.initialViewMetrics.navigationTimings)===null||Qt===void 0?void 0:Qt.domContentLoaded),dom_interactive:(0,v.Zj)((qt=R.initialViewMetrics.navigationTimings)===null||qt===void 0?void 0:qt.domInteractive),error:{count:R.eventCounts.errorCount},first_contentful_paint:(0,v.Zj)(R.initialViewMetrics.firstContentfulPaint),first_input_delay:(0,v.Zj)((br=R.initialViewMetrics.firstInput)===null||br===void 0?void 0:br.delay),first_input_time:(0,v.Zj)((cn=R.initialViewMetrics.firstInput)===null||cn===void 0?void 0:cn.time),first_input_target_selector:(gn=R.initialViewMetrics.firstInput)===null||gn===void 0?void 0:gn.targetSelector,interaction_to_next_paint:(0,v.Zj)((ai=R.commonViewMetrics.interactionToNextPaint)===null||ai===void 0?void 0:ai.value),interaction_to_next_paint_time:(0,v.Zj)((Ri=R.commonViewMetrics.interactionToNextPaint)===null||Ri===void 0?void 0:Ri.time),interaction_to_next_paint_target_selector:(ps=R.commonViewMetrics.interactionToNextPaint)===null||ps===void 0?void 0:ps.targetSelector,is_active:R.isActive,name:R.name,largest_contentful_paint:(0,v.Zj)((Hs=R.initialViewMetrics.largestContentfulPaint)===null||Hs===void 0?void 0:Hs.value),largest_contentful_paint_target_selector:(Qs=R.initialViewMetrics.largestContentfulPaint)===null||Qs===void 0?void 0:Qs.targetSelector,load_event:(0,v.Zj)((la=R.initialViewMetrics.navigationTimings)===null||la===void 0?void 0:la.loadEvent),loading_time:zs((0,v.Zj)(R.commonViewMetrics.loadingTime)),loading_type:R.loadingType,long_task:{count:R.eventCounts.longTaskCount},performance:An(R.commonViewMetrics,R.initialViewMetrics),resource:{count:R.eventCounts.resourceCount},time_spent:(0,v.Zj)(R.duration)},display:R.commonViewMetrics.scroll?{scroll:{max_depth:R.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:R.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:R.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:(0,v.Zj)(R.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:K.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:Jc()}};return(0,Xt.RI)(R.customTimings)||(Ns.view.custom_timings=(0,Xt.LG)(R.customTimings,v.Zj)),{rawRumEvent:Ns,startClocks:R.startClocks,duration:R.duration,domainContext:{location:R.location,handlingStack:R.handlingStack}}}function An({cumulativeLayoutShift:R,interactionToNextPaint:K},{firstContentfulPaint:le,firstInput:oe,largestContentfulPaint:Ie}){return{cls:R&&{score:R.value,timestamp:(0,v.Zj)(R.time),target_selector:R.targetSelector,previous_rect:R.previousRect,current_rect:R.currentRect},fcp:le&&{timestamp:(0,v.Zj)(le)},fid:oe&&{duration:(0,v.Zj)(oe.delay),timestamp:(0,v.Zj)(oe.time),target_selector:oe.targetSelector},inp:K&&{duration:(0,v.Zj)(K.value),timestamp:(0,v.Zj)(K.time),target_selector:K.targetSelector,sub_parts:K.subParts?{input_delay:(0,v.Zj)(K.subParts.inputDelay),processing_duration:(0,v.Zj)(K.subParts.processingDuration),presentation_delay:(0,v.Zj)(K.subParts.presentationDelay)}:void 0},lcp:Ie&&{timestamp:(0,v.Zj)(Ie.value),target_selector:Ie.targetSelector,resource_url:Ie.resourceUrl,sub_parts:Ie.subParts?{load_delay:(0,v.Zj)(Ie.subParts.loadDelay),load_time:(0,v.Zj)(Ie.subParts.loadTime),render_delay:(0,v.Zj)(Ie.subParts.renderDelay)}:void 0}}}var Vi=e(98843);const _s="rum";function oa(R,K,le){const oe=(0,Vi.ox)(R,_s,Ie=>El(R,Ie),le);return oe.expireObservable.subscribe(()=>{K.notify(9)}
9),oe.renewObservable.subscribe(()=>{K.notify(10)}),oe.sessionStateUpdateObservable.subscribe(({previousState:Ie,newState:Ge})=>{if(!Ie.forcedReplay&&Ge.forcedReplay){const tt=oe.findSession();tt&&(tt.isReplayForced=!0)}}),{findTrackedSession:Ie=>{const Ge=oe.findSession(Ie);if(!(!Ge||Ge.trackingType==="0"))return{id:Ge.id,sessionReplay:Ge.trackingType==="1"?1:Ge.isReplayForced?2:0,anonymousId:Ge.anonymousId}},expire:oe.expire,expireObservable:oe.expireObservable,setForcedReplay:()=>oe.updateSessionState({forcedReplay:"1"})}}function yo(){const R={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:(0,We.Ww)("records")?1:0};return{findTrackedSession:()=>R,expire:xe.l,expireObservable:new Zn.cP,setForcedReplay:xe.l}}function El(R,K){return Xu(K)?K:(0,mt.ic)(R.sessionSampleRate)?(0,mt.ic)(R.sessionReplaySampleRate)?"1":"2":"0"}function Xu(R){return R==="0"||R==="1"||R==="2"}var Ld=e(2114),kc=e(50320),ef=e(90828);function tf(R,K,le,oe,Ie,Ge){const tt=[R.rumEndpointBuilder];R.replica&&tt.push(R.replica.rumEndpointBuilder);const _t=(0,Ld.X)({encoder:Ge(2),request:(0,kc.sA)(tt,le),flushController:(0,ef.tO)({pageMayExitObservable:oe,sessionExpireObservable:Ie})});return K.subscribe(13,Ut=>{Ut.type===O.VIEW?_t.upsert(Ut,Ut.view.id):_t.add(Ut)}),_t}function Nu(R){const K=(0,We.Y9)();R.subscribe(13,le=>{K.send("rum",le)})}const Qu=ar.AQ;function nc(R,K,le){const oe=(0,Wn.qj)({expireDelay:Qu});let Ie;R.subscribe(1,({startClocks:_t,url:Ut})=>{const yr=(0,i.B)(location).href,Qt=Ut!==void 0?(0,Or.c$)(Ut,yr).href:yr;oe.add(tt({url:Qt,referrer:Ie||document.referrer}),_t.relative),Ie=Qt}),R.subscribe(6,({endClocks:_t})=>{oe.closeActive(_t.relative)});const Ge=le.subscribe(({newLocation:_t})=>{const Ut=oe.find();if(Ut){const yr=(0,v.$S)();oe.closeActive(yr),oe.add(tt({url:_t.href,referrer:Ut.referrer}),yr)}});function tt({url:_t,referrer:Ut}){return{url:_t,referrer:Ut}}return K.register(0,({startTime:_t,eventType:Ut})=>{const yr=oe.find(_t);return yr?{type:Ut,view:{url:yr.url,referrer:yr.referrer}}:Me.ug}),{findUrl:_t=>oe.find(_t),stop:()=>{Ge.unsubscribe(),oe.stop()}}}function x(R){let K=(0,Xt.yG)(location);return new Zn.cP(le=>{const{stop:oe}=Ju(R,Ge),{stop:Ie}=Pi(R,Ge);function Ge(){if(K.href===location.href)return;const tt=(0,Xt.yG)(location);le.notify({newLocation:tt,oldLocation:K}),K=tt}return()=>{oe(),Ie()}})}function Ju(R,K){const{stop:le}=(0,wr.H)(ua("pushState"),"pushState",({onPostCall:Ge})=>{Ge(K)}),{stop:oe}=(0,wr.H)(ua("replaceState"),"replaceState",({onPostCall:Ge})=>{Ge(K)}),{stop:Ie}=(0,je.q)(R,window,"popstate",K);return{stop:()=>{le(),oe(),Ie()}}}function Pi(R,K){return(0,je.q)(R,window,"hashchange",K)}function ua(R){return Object.prototype.hasOwnProperty.call(history,R)?history:History.prototype}const Nc=ar.AQ,ic=200;function Md(R,K,le){const oe=(0,Wn.qj)({expireDelay:Nc});return R.subscribe(1,({startClocks:Ie})=>{oe.add({},Ie.relative)}),R.subscribe(6,({endClocks:Ie})=>{oe.closeActive(Ie.relative)}),K.register(0,({startTime:Ie,eventType:Ge})=>{if(!le.trackFeatureFlagsForEvents.concat([O.VIEW,O.ERROR]).includes(Ge))return Me.$O;const _t=oe.find(Ie);return!_t||(0,Xt.RI)(_t)?Me.$O:{type:Ge,feature_flags:_t}}),{addFeatureFlagEvaluation:(Ie,Ge)=>{const tt=oe.find();tt&&(tt[Ie]=Ge)}}}const Lf=10*v.OY;let wn,Rs;function bu(R,K,le){R.metricsEnabled&&(jl(),Rs=!1,K.subscribe(13,()=>{Rs=!0}),le.subscribe(({bytesCount:oe,messagesCount:Ie})=>{Rs&&(Rs=!1,wn.batchCount+=1,Tl(wn.batchBytesCount,oe),Tl(wn.batchMessagesCount,Ie))}),(0,ge.yb)(Ga,Lf))}function Ga(){wn.batchCount!==0&&((0,l.Gk)("Customer data measures",wn),jl())}function Xs(){return{min:1/0,max:0,sum:0}}function Tl(R,K){R.sum+=K,R.min=Math.min(R.min,K),R.max=Math.max(R.max,K)}function jl(){wn={batchCount:0,batchBytesCount:Xs(),batchMessagesCount:Xs()}}const fa=4e3,zl=500,Fc=ar.AQ;function sc(R,K,le=zl){const oe=(0,Wn.qj)({expireDelay:Fc,maxEntries:fa});let Ie;Un(yt.VISIBILITY_STATE)&&performance.getEntriesByType(yt.VISIBILITY_STATE).forEach(yr=>{const Qt=yr.name==="hidden"?"hidden":"active";tt(Qt,yr.startTime)}),tt($l(),(0,v.$S)());const{stop:Ge}=(0,je.l)(K,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],Ut=>{tt(vd(Ut),Ut.timeStamp)},{capture:!0});function tt(Ut,yr=(0,v.$S)()){Ut!==Ie&&(Ie=Ut,oe.closeActive(yr),oe.add({state:Ie,startTime:yr},yr))}function _t(Ut,yr,Qt){return oe.findAll(yr,Qt).some(qt=>qt.state===Ut)}return R.register(0,({startTime:Ut,duration:yr=0,eventType:Qt})=>{if(Qt===O.VIEW){const qt=oe.findAll(Ut,yr);return{type:Qt,_dd:{page_states:Cu(qt,Ut,le)}}}return Qt===O.ACTION||Qt===O.ERROR?{type:Qt,view:{in_foreground:_t("active",Ut,0)}}:Me.$O}),{wasInPageStateDuringPeriod:_t,addPageState:tt,stop:()=>{Ge(),oe.stop()}}}function Cu(R,K,le){if(R.length!==0)return R.slice(-le).reverse().map(({state:oe,startTime:Ie})=>({state:oe,start:(0,v.Zj)((0,v.vk)(K,Ie))}))}function vd(R){return R.type==="freeze"?"frozen":R.type==="pagehide"?R.persisted?"frozen":"terminated":$l()}function $l(){return document.visibilityState==="hidden"?"hidden":document.hasFocus()?"active":"passive"}function rf(R,K){let le;const oe=requestAnimationFrame((0,u.dm)(()=>{le=_u()})),Ie=qa(K).subscribe(Ge=>{le=Ge}).unsubscribe;return R.register(0,({eventType:Ge})=>({type:Ge,display:le?{viewport:le}:void 0})),{stop:()=>{Ie(),oe&&cancelAnimationFrame(oe)}}}function yd(R,K){const le=window.cookieStore?ac(R):kd;return new Zn.cP(oe=>le(K,Ie=>oe.notify(Ie)))}function ac(R){return(K,le)=>
9(0,je.q)(R,window.cookieStore,"change",Ie=>{const Ge=Ie.changed.find(tt=>tt.name===K)||Ie.deleted.find(tt=>tt.name===K);Ge&&le(Ge.value)}).stop}const wl=v.OY;function kd(R,K){let le=(0,w.rx)(document.cookie,R);const oe=(0,ge.yb)(()=>{const Ie=(0,w.rx)(document.cookie,R);Ie!==le&&(le=Ie,K(Ie))},wl);return()=>{(0,ge.vG)(oe)}}const iu="datadog-ci-visibility-test-execution-id";function Au(R,K,le=yd(R,iu)){var oe;let Ie=(0,Dr.B9)(iu)||((oe=window.Cypress)===null||oe===void 0?void 0:oe.env("traceId"));const Ge=le.subscribe(tt=>{Ie=tt});return K.register(0,({eventType:tt})=>typeof Ie!="string"?Me.$O:{type:tt,session:{type:"ci_test"},ci_test:{test_execution_id:Ie}}),{stop:()=>{Ge.unsubscribe()}}}function lo(R,K){const le=Un(yt.LONG_ANIMATION_FRAME)?yt.LONG_ANIMATION_FRAME:yt.LONG_TASK,oe=sr(K,{type:le,buffered:!0}).subscribe(Ie=>{for(const Ge of Ie){if(!K.trackLongTasks)break;const tt=(0,v.FR)(Ge.startTime),_t=Su(Ge,tt);R.notify(12,{rawRumEvent:_t,startClocks:tt,duration:Ge.duration,domainContext:{performanceEntry:Ge}})}});return{stop:()=>oe.unsubscribe()}}function Su(R,K){const le=(0,w.lk)(),oe=(0,v.Zj)(R.duration),Ie={date:K.timeStamp,type:O.LONG_TASK,_dd:{discarded:!1}};return R.entryType===yt.LONG_TASK?{...Ie,long_task:{id:le,entry_type:U.LONG_TASK,duration:oe}}:{...Ie,long_task:{id:le,entry_type:U.LONG_ANIMATION_FRAME,duration:oe,blocking_duration:(0,v.Zj)(R.blockingDuration),first_ui_event_timestamp:(0,v.Zj)(R.firstUIEventTimestamp),render_start:(0,v.Zj)(R.renderStart),style_and_layout_start:(0,v.Zj)(R.styleAndLayoutStart),start_time:(0,v.Zj)(R.startTime),scripts:R.scripts.map(Ge=>({duration:(0,v.Zj)(Ge.duration),pause_duration:(0,v.Zj)(Ge.pauseDuration),forced_style_and_layout_duration:(0,v.Zj)(Ge.forcedStyleAndLayoutDuration),start_time:(0,v.Zj)(Ge.startTime),execution_start:(0,v.Zj)(Ge.executionStart),source_url:Ge.sourceURL,source_function_name:Ge.sourceFunctionName,source_char_position:Ge.sourceCharPosition,invoker:Ge.invoker,invoker_type:Ge.invokerType,window_attribution:Ge.windowAttribution}))}}}function Bc(R){R.register(0,({eventType:K})=>(0,Xe.Fs)()?{type:K,session:{type:"synthetics"},synthetics:{...(0,Xe.IM)(),injected:(0,Xe.ao)()}}:Me.$O)}var rd=e(7500),hl=e(74848);function nd(R,K,le){const oe=(0,g.Go)(R),Ie=le(oe);return(0,Ys.WP)(K).forEach(([Ge,tt])=>_l(R,oe,Ge.split(/\.|(?=\[\])/),tt)),Ie}function _l(R,K,le,oe){const[Ie,...Ge]=le;if(Ie==="[]"){Array.isArray(R)&&Array.isArray(K)&&R.forEach((tt,_t)=>_l(tt,K[_t],Ge,oe));return}if(!(!il(R)||!il(K))){if(Ge.length>0)return _l(R[Ie],K[Ie],Ge,oe);bd(R,Ie,K[Ie],oe)}}function bd(R,K,le,oe){if(R[K]===le)return;const Ie=(0,Ht.P)(le);Ie===oe?R[K]=(0,h.a)(le):oe==="object"&&(Ie==="undefined"||Ie==="null")&&(R[K]={})}function il(R){return(0,Ht.P)(R)==="object"}const oc={"view.name":"string","view.url":"string","view.referrer":"string"},Bo={context:"object"},su={service:"string",version:"string"};let Uo;function nf(R,K,le,oe,Ie){Uo={[O.VIEW]:{"view.performance.lcp.resource_url":"string",...Bo,...oc,...su},[O.ERROR]:{"error.message":"string","error.stack":"string","error.handling_stack":"string","error.resource.url":"string","error.fingerprint":"string",...Bo,...oc,...su},[O.RESOURCE]:{"resource.url":"string","resource.graphql.variables":"string",...Bo,...oc,...su},[O.ACTION]:{"action.target.name":"string",...Bo,...oc,...su},[O.LONG_TASK]:{"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string",...Bo,...oc,...su},[O.VITAL]:{...Bo,...oc,...su}};const Ge={[O.ERROR]:(0,rd.$)(O.ERROR,oe,Ie),[O.ACTION]:(0,rd.$)(O.ACTION,oe,Ie),[O.VITAL]:(0,rd.$)(O.VITAL,oe,Ie)};K.subscribe(12,({startClocks:tt,duration:_t,rawRumEvent:Ut,domainContext:yr})=>{const Qt=le.triggerHook(0,{eventType:Ut.type,rawRumEvent:Ut,domainContext:yr,startTime:tt.relative,duration:_t});if(Qt===Me.ug)return;const qt=(0,g.kg)(Qt,Ut,{ddtags:(0,hl.m5)(R).join(",")});xc(qt,R.beforeSend,yr,Ge)&&((0,Xt.RI)(qt.context)&&delete qt.context,K.notify(13,qt))})}function xc(R,K,le,oe){var Ie;if(K){const tt=nd(R,Uo[R.type],_t=>K(_t,le));if(tt===!1&&R.type!==O.VIEW)return!1;tt===!1&&de.Vy.warn("Can't dismiss view events using beforeSend!")}return!((Ie=oe[R.type])===null||Ie===void 0?void 0:Ie.isLimitReached())}function uc(R,K,le,oe){R.register(0,({eventType:Ie,startTime:Ge})=>{const tt=K.findTrackedSession(Ge),_t=oe.findView(Ge);if(!tt||!_t)return Me.ug;let Ut,yr,Qt;return Ie===O.VIEW?(Ut=le.getReplayStats(_t.id)?!0:void 0,yr=tt.sessionReplay===1,Qt=_t.sessionIsActive?void 0:!1):Ut=le.isRecording()?!0:void 0,{type:Ie,session:{id:tt.id,type:"user",has_replay:Ut,sampled_for_replay:yr,is_active:Qt}}}),R.register(1,({startTime:Ie})=>{const Ge=K.findTrackedSession(Ie);return Ge?{session:{id:Ge.id}}:Me.$O})}var Ec=e(60034);function Sd(R){R.register(0,({eventType:K})=>({type:K,connectivity:(0,Ec.q)()}))}function k(R,K,le){R.register(0,({eventType:oe})=>{const Ie=K.source;return{type:oe,_dd:{format_version:2,drift:(0,v.TP)(),configuration:{session_sample_rate:(0,mt.LI)(K.sessionSampleRate,3),session_replay_sample_rate:(0,mt.LI)(K.sessionReplaySampleRate,3),profiling_sample_rate:(0,mt.LI)(K.profilingSampleRate,3),trace_sample_rate:(0,mt.LI)(K.traceSampleRate,3),beta_encode_cookie_options:K.betaEncodeCookieOptions},browser_sdk_version:(0,We.d0)()?"6.32.0":void 0,sdk_name:le},application:{id:K.applicationId},date:(0,v.nx)(),source:Ie}}),R.register(1,()=>({application:{id:K.applicationId}}))}function G(R,K){R.register(1,()=>K.isGranted()?Me.$O:Me.ug)}const ie=[O.ACTION,O.ERROR,O.LONG_TASK,O.RESOURCE,O.VITAL];function be(R){return{addEvent:(K,le,oe,Ie)=>{ie.includes(le.type)&&R.notify(12,{startClocks:(0,v.FR)(K),rawRumEvent:le,domainContext:oe,duration:Ie})}}}function Se(R,K){if(!K.metricsEnabled)return{stop:xe.l};const{unsubscribe:le}=R.subscribe(4,({initialViewMetrics:oe})=>{!oe.largestContentfulPaint||!oe.navigationTimings||((0,l.Gk)("Initial view metrics",{metrics:Oe(oe.largestContentfulPaint,oe.navigationTimings)}),le())});return{stop:le}}function Oe(R,K){return{lcp:{value:R.value},navigation:{domComplete:K.domComplete,domContentLoaded:K.domContentLoaded,domInteractive:K.domInteractive,firstByte:K.firstByte,loadEvent:K.loadEvent}}}var ke=e(6404);function Ve(R){const K=window,le=new Map;function oe(){K.DD_SOURCE_CODE_CONTEXT&&((0,Ys.WP)(K.DD_SOURCE_CODE_CONTEXT).forEach(([Ie,Ge])=>{const _t=(0,ke.T)({stack:Ie}).stack[0];
9if(!_t.url){(0,l.VJ)("Source code context: missing frame url",{stack:Ie});return}le.has(_t.url)||le.set(_t.url,Ge)}),K.DD_SOURCE_CODE_CONTEXT={})}oe(),R.register(0,({domainContext:Ie,rawRumEvent:Ge})=>{if(oe(),le.size===0)return Me.$O;const tt=et(Ie,Ge),_t=tt&&le.get(tt);return _t?{type:Ge.type,service:_t.service,version:_t.version}:Me.$O})}function et(R,K){var le,oe;if(K.type==="long_task"&&K.long_task.entry_type==="long-animation-frame")return(le=K.long_task.scripts[0])===null||le===void 0?void 0:le.source_url;let Ie;return"handlingStack"in R&&(Ie=R.handlingStack),K.type==="error"&&K.error.stack&&(Ie=K.error.stack),(oe=(0,ke.T)({stack:Ie}).stack[0])===null||oe===void 0?void 0:oe.url}function pt(R,K,le,oe,Ie,Ge,tt,_t,Ut,yr,Qt){const qt=[],br=new Kt;br.subscribe(13,la=>(0,mi.b)("rum",la));const cn=la=>{br.notify(14,{error:la}),(0,l.A2)("Error reported to customer",{"error.message":la.message})},gn=(0,ws._T)(R),ai=gn.subscribe(la=>{br.notify(11,la)});qt.push(()=>ai.unsubscribe());const Ri=(0,We.d0)()?yo():oa(R,br,Ge);if((0,We.d0)())Nu(br);else{const la=tf(R,br,cn,gn,Ri.expireObservable,Ie);qt.push(()=>la.stop()),bu(Ut,br,la.flushController.flushObservable)}G(yr,Ge);const{stop:ps}=Se(br,Ut);qt.push(ps);const{stop:Hs,...Qs}=lr(br,yr,R,Ri,K,oe,tt,_t,Qt,cn);return qt.push(Hs),_t.unbuffer(),qt.push(()=>le.stop()),{...Qs,lifeCycle:br,session:Ri,stopSession:()=>Ri.expire(),telemetry:Ut,stop:()=>{qt.forEach(la=>la())},hooks:yr}}function lr(R,K,le,oe,Ie,Ge,tt,_t,Ut,yr){const Qt=[],qt=cs(),br=x(le),{observable:cn,stop:gn}=we();Qt.push(gn),k(K,le,Ut);const ai=sc(K,le);Qt.push(()=>ai.stop());const Ri=Tt(R);Qt.push(()=>Ri.stop());const ps=nc(R,K,br);Qt.push(()=>ps.stop());const Hs=Md(R,K,le);uc(K,oe,Ie,Ri),Sd(K);const Qs=(0,ye.F)(K,le,"rum",!0),la=(0,ve.$)(K,le,oe,"rum"),ko=(0,Ue.B)(K,le,"rum"),zi=Qa(R,K,qt,cn,le);Qt.push(zi.stop);const Ns=be(R),Ta=rf(K,le);Qt.push(Ta.stop);const to=Au(le,K);Qt.push(to.stop),Bc(K),nf(le,R,K,yr);const{addTiming:Tc,setLoadingTime:id,startView:ao,setViewName:bo,setViewContext:Hl,setViewContextProperty:sd,getViewContext:au,stop:xd}=ht(R,K,le,qt,cn,br,Ie,Ri,Ge);Ve(K),Qt.push(xd);const Uc=Xl(R,le,ai);Qt.push(Uc.stop);const{stop:Cl}=lo(R,le);Qt.push(Cl);const{addError:pl}=Es(R,le,_t);$a(R,le,oe,la,ko);const Fu=V(R,ai,tt),Bu=Ke(le.applicationId,oe,Ri,zi.actionContexts,ps);return{addAction:zi.addAction,startAction:zi.startAction,stopAction:zi.stopAction,startResource:Uc.startResource,stopResource:Uc.stopResource,addEvent:Ns.addEvent,addError:pl,addTiming:Tc,setLoadingTime:id,addFeatureFlagEvaluation:Hs.addFeatureFlagEvaluation,startView:ao,setViewContext:Hl,setViewContextProperty:sd,getViewContext:au,setViewName:bo,viewHistory:Ri,getInternalContext:Bu.get,startDurationVital:Fu.startDurationVital,stopDurationVital:Fu.stopDurationVital,addDurationVital:Fu.addDurationVital,addOperationStepVital:Fu.addOperationStepVital,globalContext:Qs,userContext:la,accountContext:ko,stop:()=>Qt.forEach(ml=>ml())}}function Vt(R,K,le={}){const oe=(0,n.D)(),Ie=W(),Ge=(0,r.t)().observable;let tt=Ji(le,oe,Ie,(Qt,qt,br,cn,gn)=>{const ai=qt&&le.createDeflateEncoder?ps=>le.createDeflateEncoder(Qt,qt,ps):a.N,Ri=(0,i.B)(pt)(Qt,R,K,br,ai,oe,Ie,Ge,cn,gn,le.sdkName);return R.onRumStart(Ri.lifeCycle,Qt,Ri.session,Ri.viewHistory,qt,Ri.telemetry),K.onRumStart(Ri.lifeCycle,Ri.hooks,Qt,Ri.session,Ri.viewHistory,ai),tt=Nr(tt,Ri),fe(Qt.plugins,"onRumStart",{strategy:tt,addEvent:Ri.addEvent,addError:Ri.addError}),Ri});const _t=()=>tt,Ut=Qt=>{const qt=(0,s.uC)("view");(0,u.um)(()=>{const br=typeof Qt=="object"?Qt:{name:Qt};tt.startView({...br,handlingStack:qt}),(0,l.Q6)({feature:"start-view"})})},yr=(0,m.m)({init:Qt=>{const qt=new Error().stack;(0,u.um)(()=>tt.init(Qt,yr,qt))},setTrackingConsent:(0,u.dm)(Qt=>{oe.update(Qt),(0,l.Q6)({feature:"set-tracking-consent",tracking_consent:Qt})}),setViewName:(0,u.dm)(Qt=>{tt.setViewName(Qt),(0,l.Q6)({feature:"set-view-name"})}),setViewContext:(0,u.dm)(Qt=>{tt.setViewContext(Qt),(0,l.Q6)({feature:"set-view-context"})}),setViewContextProperty:(0,u.dm)((Qt,qt)=>{tt.setViewContextProperty(Qt,qt),(0,l.Q6)({feature:"set-view-context-property"})}),getViewContext:(0,u.dm)(()=>((0,l.Q6)({feature:"set-view-context-property"}),tt.getViewContext())),getInternalContext:(0,u.dm)(Qt=>tt.getInternalContext(Qt)),getInitConfiguration:(0,u.dm)(()=>(0,g.Go)(tt.initConfiguration)),addAction:(Qt,qt)=>{const br=(0,s.uC)("action");(0,u.um)(()=>{tt.addAction({name:(0,h.a)(Qt),context:(0,h.a)(qt),startClocks:(0,v.M8)(),type:F.CUSTOM,handlingStack:br}),(0,l.Q6)({feature:"add-action"})})},startAction:(0,u.dm)((Qt,qt)=>{tt.initConfiguration&&!(0,b.sr)(b.R9.START_STOP_ACTION)||tt.startAction((0,h.a)(Qt),{type:(0,h.a)(qt&&qt.type),context:(0,h.a)(qt&&qt.context),actionKey:qt&&qt.actionKey})}),stopAction:(0,u.dm)((Qt,qt)=>{tt.initConfiguration&&!(0,b.sr)(b.R9.START_STOP_ACTION)||tt.stopAction((0,h.a)(Qt),{type:(0,h.a)(qt&&qt.type),context:(0,h.a)(qt&&qt.context),actionKey:qt&&qt.actionKey})}),startResource:(0,u.dm)((Qt,qt)=>{tt.initConfiguration&&!(0,b.sr)(b.R9.START_STOP_RESOURCE)||tt.startResource((0,h.a)(Qt),{type:(0,h.a)(qt&&qt.type),method:(0,h.a)(qt&&qt.method),context:(0,h.a)(qt&&qt.context),resourceKey:qt&&qt.resourceKey})}),stopResource:(0,u.dm)((Qt,qt)=>{tt.initConfiguration&&!(0,b.sr)(b.R9.START_STOP_RESOURCE)||tt.stopResource((0,h.a)(Qt),{type:(0,h.a)(qt&&qt.type),statusCode:qt&&qt.statusCode,size:qt&&qt.size,context:(0,h.a)(qt&&qt.context),resourceKey:qt&&qt.resourceKey})}),addError:(Qt,qt)=>{const br=(0,s.uC)("error");(0,u.um)(()=>{tt.addError({error:Qt,handlingStack:br,context:(0,h.a)(qt),startClocks:(0,v.M8)()}),(0,l.Q6)({feature:"add-error"})})},addTiming:(0,u.dm)((Qt,qt)=>{tt.addTiming((0,h.a)(Qt),qt)}
9),setViewLoadingTime:(0,u.dm)(()=>{const Qt=(0,v.nx)();tt.setLoadingTime(Qt),(0,l.Q6)({feature:"addViewLoadingTime"})}),setGlobalContext:(0,T.q)(_t,E.N.globalContext,E.Q.setContext,"set-global-context"),getGlobalContext:(0,T.q)(_t,E.N.globalContext,E.Q.getContext,"get-global-context"),setGlobalContextProperty:(0,T.q)(_t,E.N.globalContext,E.Q.setContextProperty,"set-global-context-property"),removeGlobalContextProperty:(0,T.q)(_t,E.N.globalContext,E.Q.removeContextProperty,"remove-global-context-property"),clearGlobalContext:(0,T.q)(_t,E.N.globalContext,E.Q.clearContext,"clear-global-context"),setUser:(0,T.q)(_t,E.N.userContext,E.Q.setContext,"set-user"),getUser:(0,T.q)(_t,E.N.userContext,E.Q.getContext,"get-user"),setUserProperty:(0,T.q)(_t,E.N.userContext,E.Q.setContextProperty,"set-user-property"),removeUserProperty:(0,T.q)(_t,E.N.userContext,E.Q.removeContextProperty,"remove-user-property"),clearUser:(0,T.q)(_t,E.N.userContext,E.Q.clearContext,"clear-user"),setAccount:(0,T.q)(_t,E.N.accountContext,E.Q.setContext,"set-account"),getAccount:(0,T.q)(_t,E.N.accountContext,E.Q.getContext,"get-account"),setAccountProperty:(0,T.q)(_t,E.N.accountContext,E.Q.setContextProperty,"set-account-property"),removeAccountProperty:(0,T.q)(_t,E.N.accountContext,E.Q.removeContextProperty,"remove-account-property"),clearAccount:(0,T.q)(_t,E.N.accountContext,E.Q.clearContext,"clear-account"),startView:Ut,stopSession:(0,u.dm)(()=>{tt.stopSession(),(0,l.Q6)({feature:"stop-session"})}),addFeatureFlagEvaluation:(0,u.dm)((Qt,qt)=>{tt.addFeatureFlagEvaluation((0,h.a)(Qt),(0,h.a)(qt)),(0,l.Q6)({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:(0,u.dm)(()=>R.getSessionReplayLink()),startSessionReplayRecording:(0,u.dm)(Qt=>{R.start(Qt),(0,l.Q6)({feature:"start-session-replay-recording",force:Qt&&Qt.force})}),stopSessionReplayRecording:(0,u.dm)(()=>R.stop()),addDurationVital:(Qt,qt)=>{const br=(0,s.uC)("vital");(0,u.um)(()=>{(0,l.Q6)({feature:"add-duration-vital"}),tt.addDurationVital({id:(0,w.lk)(),name:(0,h.a)(Qt),type:M.DURATION,startClocks:(0,v.jR)(qt.startTime),duration:qt.duration,context:(0,h.a)(qt&&qt.context),description:(0,h.a)(qt&&qt.description),handlingStack:br})})},startDurationVital:(Qt,qt)=>{const br=(0,s.uC)("vital");return(0,u.um)(()=>((0,l.Q6)({feature:"start-duration-vital"}),tt.startDurationVital((0,h.a)(Qt),{context:(0,h.a)(qt&&qt.context),description:(0,h.a)(qt&&qt.description),handlingStack:br})))},stopDurationVital:(0,u.dm)((Qt,qt)=>{(0,l.Q6)({feature:"stop-duration-vital"}),tt.stopDurationVital(typeof Qt=="string"?(0,h.a)(Qt):Qt,{context:(0,h.a)(qt&&qt.context),description:(0,h.a)(qt&&qt.description)})}),startFeatureOperation:(Qt,qt)=>{const br=(0,s.uC)("vital");(0,u.um)(()=>{(0,l.Q6)({feature:"add-operation-step-vital",action_type:"start"}),tt.addOperationStepVital(Qt,"start",{...qt,handlingStack:br})})},succeedFeatureOperation:(0,u.dm)((Qt,qt)=>{(0,l.Q6)({feature:"add-operation-step-vital",action_type:"succeed"}),tt.addOperationStepVital(Qt,"end",qt)}),failFeatureOperation:(0,u.dm)((Qt,qt,br)=>{(0,l.Q6)({feature:"add-operation-step-vital",action_type:"fail"}),tt.addOperationStepVital(Qt,"end",br,qt)})});return yr}function Nr(R,K){return{init:le=>{(0,C.$)("DD_RUM",le)},initConfiguration:R.initConfiguration,...K}}var nr=e(33613);function Br(R,{session:K,viewContext:le,errorType:oe}){const Ie=K?K.id:"no-session-id",Ge=[];oe!==void 0&&Ge.push(`error-type=${oe}`),le&&(Ge.push(`seed=${le.id}`),Ge.push(`from=${le.startClocks.timeStamp}`));const tt=en(R),_t=`/rum/replay/sessions/${Ie}`;return`${tt}${_t}?${Ge.join("&")}`}function en(R){const K=R.site,le=R.subdomain||Jr(R);return`https://${le?`${le}.`:""}${K}`}function Jr(R){switch(R.site){case nr.NW:case nr.dV:return"app";case nr.Bb:return"dd";default:return}}var Vn=e(47697);function yn(R,K,le,oe){const Ie=_t=>{K.notify(14,{error:_t}),(0,l.A2)("Error reported to customer",{"error.message":_t.message})},Ge=(0,kc.sA)([R.profilingEndpointBuilder],Ie),tt=le(oe);return{async send({event:_t,...Ut}){const yr=new FormData,Qt=(0,Vn.s)(_t);if(!Qt)throw new Error("Failed to serialize event");yr.append("event",new Blob([Qt],{type:"application/json"}),"event.json");let qt=Qt.length;for(const[br,cn]of(0,Ys.WP)(Ut)){const gn=(0,Vn.s)(cn);if(!gn)throw new Error("Failed to serialize attachment");const ai=await ii(tt,gn);qt+=ai.outputBytesCount,yr.append(br,new Blob([ai.output]),br)}Ge.send({data:yr,bytesCount:qt})}}}function ii(R,K){return new Promise(le=>{R.write(K),R.finish(oe=>{le(oe)})})}},97892(f,d,e){"use strict";e.d(d,{$1:()=>s,H5:()=>i,K_:()=>a,L7:()=>u,lv:()=>l});const n=1e3;let r;function a(v){return g(v).segments_count}function i(v){g(v).segments_count+=1}function s(v){g(v).records_count+=1}function u(v,b){g(v).segments_total_raw_size+=b}function l(v){return r?.get(v)}function m(){r=void 0}function g(v){r||(r=new Map);let b;return r.has(v)?b=r.get(v):(b={records_count:0,segments_count:0,segments_total_raw_size:0},r.set(v,b),r.size>n&&h()),b}function h(){if(!r)return;const v=r.keys().next().value;v&&r.delete(v)}},7311(f,d,e){"use strict";e.d(d,{L:()=>Fn});
9var n=e(39131),r=e(10026),a=e(79479),i=e(15972),s=e(36015),u=e(97892),l=e(22334),m=e(42361);function g(Et,st,Wr){let Dr=0,Tr=[],gr,ir=!0,Mr=0;const Lr=[],{stop:un}=(0,l.q)(Et,st,"message",({data:Gr})=>{if(Gr.type!=="wrote"||Gr.streamId!==Wr)return;const er=Lr[0];er&&(er.id===Gr.id?(Lr.shift(),Dr+=Gr.additionalBytesCount,Tr.push(Gr.result),gr=Gr.trailer,er.writeCallback?er.writeCallback(Gr.result.byteLength):er.finishCallback&&er.finishCallback()):er.id<Gr.id&&un())});function hn(){const Gr=Tr.length===0?new Uint8Array(0):(0,m.wh)(Tr.concat(gr)),er={rawBytesCount:Dr,output:Gr,outputBytesCount:Gr.byteLength,encoding:"deflate"};return Dr=0,Tr=[],er}function rr(){ir||(st.postMessage({action:"reset",streamId:Wr}),ir=!0)}return{isAsync:!0,get isEmpty(){return ir},write(Gr,er){st.postMessage({action:"write",id:Mr,data:Gr,streamId:Wr}),Lr.push({id:Mr,writeCallback:er,data:Gr}),ir=!1,Mr+=1},finish(Gr){rr(),Lr.length?(Lr.forEach(er=>{delete er.writeCallback}),Lr[Lr.length-1].finishCallback=()=>Gr(hn())):Gr(hn())},finishSync(){rr();const Gr=Lr.map(er=>er.data).join("");return Lr.length=0,{...hn(),pendingData:Gr}},estimateEncodedBytesCount(Gr){return Gr.length/8},stop(){un()}}}var h=e(49504),v=e(1264),b=e(74593),T=e(89714),E=e(80306);function w({configuredUrl:Et,error:st,source:Wr,scriptType:Dr}){if(T.Vy.error(`${Wr} failed to start: an error occurred while initializing the ${Dr}:`,st),st instanceof Event||st instanceof Error&&C(st.message)){let Tr;Et?Tr=`Please make sure the ${Dr} URL ${Et} is correct and CSP is correctly configured.`:Tr="Please make sure CSP is correctly configured.",T.Vy.error(`${Tr} See documentation at ${T.fH}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else Dr==="worker"&&(0,E.VJ)(st)}function C(Et){return Et.includes("Content Security Policy")||Et.includes("requires 'TrustedScriptURL'")}const O=30*h.OY;function U(Et){return new Worker(Et.workerUrl||URL.createObjectURL(new Blob(['(()=>{function t(t){if(1===t.length)return t[0];const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function p(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function g(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&
vendor: 4,494 bytes, line 9
9(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,p=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,p++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==p){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},C=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},D=!1,M=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},j=M,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),T=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},O={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},q=j,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=O[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?M(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);C(t,t.dyn_ltree,e-1),C(t,t.dyn_dtree,a-1)}
vendor: 14,434 bytes, line 9
9(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=T(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t||!t.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){D||(function(){var t,e,i,g,v,w=Array(16);for(i=0,g=0;g<28;g++)for(o[g]=i,t=0;t<1<<a[g];t++)_[i++]=g;for(_[i-1]=g,v=0,g=0;g<16;g++)for(c[g]=v,t=0;t<1<<n[g];t++)l[v++]=g;for(v>>=7;g<30;g++)for(c[g]=v<<7,t=0;t<1<<n[g]-7;t++)l[256+v++]=g;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new p(s,a,257,286,15),u=new p(h,n,0,30,15),f=new p([],r,0,19,7)}(),D=!0),t.l_desc=new g(t.dyn_ltree,d),t.d_desc=new g(t.dyn_dtree,u),t.bl_desc=new g(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t||!t.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=T(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t||!t.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},ct=Object.prototype.toString;function pt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(O[n]);if(t.header&&(e=this.strm,a=t.header,e&&e.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r="[object ArrayBuffer]"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t||!t.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
9i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(O[n]);this._dict_set=!0}}function gt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:e+"",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}pt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,"[object ArrayBuffer]"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},pt.prototype.onData=function(t){this.chunks.push(t)},pt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener("message",n=>{try{const r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"6.32.0"};case"write":{let n=e.get(a.streamId);n||(n=new pt,e.set(a.streamId,n));const r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,2),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){gt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}})}catch(t){gt(e,t)}}()})();'])))}let D={status:0};function F(Et,st,Wr){switch(D.status===0&&W(Et,st),D.status){case 1:return D.initializationFailureCallbacks.push(Wr),D.worker;case 3:return D.worker}}function j(){(D.status===3||D.status===1)&&D.stop(),D={status:0}}function M(){return D.status}function W(Et,st){try{const Wr=(0,v.B)(U)(Et),{stop:Dr}=(0,l.q)(Et,Wr,"error",ir=>{J(Et,st,ir)}),{stop:Tr}=(0,l.q)(Et,Wr,"message",({data:ir})=>{ir.type==="errored"?J(Et,st,ir.error,ir.streamId):ir.type==="initialized"&&q(ir.version)});Wr.postMessage({action:"init"}),(0,b.wg)(()=>V(st),O),D={status:1,worker:Wr,stop:()=>{Dr(),Tr()},initializationFailureCallbacks:[]}}catch(Wr){J(Et,st,Wr)}}function V(Et){D.status===1&&(T.Vy.error(`${Et} failed to start: a timeout occurred while initializing the Worker`),D.initializationFailureCallbacks.forEach(st=>st()),D={status:2})}function q(Et){D.status===1&&(D={status:3,worker:D.worker,stop:D.stop,version:Et})}function J(Et,st,Wr,Dr){D.status===1||D.status===0?(w({configuredUrl:Et.workerUrl,error:Wr,source:st,scriptType:"worker"}),D.status===1&&D.initializationFailureCallbacks.forEach(Tr=>Tr()),D={status:2}):(0,E.VJ)(Wr,{worker_version:D.status===3&&D.version,stream_id:Dr})}function re(){return typeof Array.from=="function"&&typeof CSSSupportsRule=="function"&&typeof URL.createObjectURL=="function"&&"forEach"in NodeList.prototype}var he=e(75351),fe=e(2063),ae=e(84654);function ye(Et,st,Wr,Dr){const Tr=st.findTrackedSession(),gr=ve(Tr,Dr),ir=Wr.findView();return(0,a.dx)(Et,{viewContext:ir,errorType:gr,session:Tr})}function ve(Et,st){if(!re())return"browser-not-supported";if(!Et)return"rum-not-tracked";if(Et.sessionReplay===0)return"incorrect-session-plan";if(!st)return"replay-not-started"}function Ue(Et,st){if(!Et.metricsEnabled)return{stop:s.l};let Wr,Dr,Tr;const{unsubscribe:gr}=st.subscribe(ir=>{switch(ir.type){case"start":Wr={forced:ir.forced,timestamp:(0,h.nx)()},Dr=void 0,Tr=void 0;break;case"document-ready":Wr&&(Dr=(0,h.vk)(Wr.timestamp,(0,h.nx)()));break;
9case"recorder-settled":Wr&&(Tr=(0,h.vk)(Wr.timestamp,(0,h.nx)()));break;case"aborted":case"deflate-encoder-load-failed":case"recorder-load-failed":case"succeeded":gr(),Wr&&(0,E.Gk)("Recorder init metrics",{metrics:We(Wr.forced,Tr,(0,h.vk)(Wr.timestamp,(0,h.nx)()),ir.type,Dr)});break}});return{stop:gr}}function We(Et,st,Wr,Dr,Tr){return{forced:Et,loadRecorderModuleDuration:st,recorderInitDuration:Wr,result:Dr,waitForDocReadyDuration:Tr}}async function de(){try{return await(0,v.B)(xe)()}catch(Et){w({error:Et,source:"Recorder",scriptType:"module"})}}async function xe(){return(await e.e("recorder").then(e.bind(e,54996))).startRecording}function Fe(Et,st,Wr,Dr,Tr,gr){let ir=0,Mr;st.subscribe(9,()=>{(ir===2||ir===3)&&(rr(),ir=1)}),st.subscribe(10,()=>{ir===1&&hn()});const Lr=new he.cP;Ue(gr,Lr);const un=async Gr=>{Lr.notify({type:"start",forced:Gr});const[er]=await Promise.all([rt(Lr,{type:"recorder-settled"},de()),rt(Lr,{type:"document-ready"},(0,fe.N)(Et,"interactive"))]);if(ir!==2){Lr.notify({type:"aborted"});return}if(!er){ir=0,Lr.notify({type:"recorder-load-failed"});return}const At=Tr();if(!At){ir=0,Lr.notify({type:"deflate-encoder-load-failed"});return}({stop:Mr}=er(st,Et,Wr,Dr,At,gr)),ir=3,Lr.notify({type:"succeeded"})};function hn(Gr){const er=Wr.findTrackedSession();if(Xe(er,Gr)){ir=1;return}if(Me(ir))return;ir=2;const At=Ze(er,Gr)||!1;un(At).catch(ae.Dx),At&&Wr.setForcedReplay()}function rr(){ir===3&&Mr?.(),ir=0}return{start:hn,stop:rr,getSessionReplayLink(){return ye(Et,Wr,Dr,ir!==0)},isRecording:()=>ir===3}}function Xe(Et,st){return!Et||Et.sessionReplay===0&&(!st||!st.force)}function Me(Et){return Et===2||Et===3}function Ze(Et,st){return st&&st.force&&Et.sessionReplay===0}async function rt(Et,st,Wr){try{return await Wr}finally{Et.notify(st)}}function mt(){let Et=0;return{strategy:{start(){Et=1},stop(){Et=2},isRecording:()=>!1,getSessionReplayLink:s.l},shouldStartImmediately(st){return Et===1||Et===0&&!st.startSessionReplayRecordingManually}}}function Xt(){if((0,i.d0)()&&!(0,i.Ww)("records")||!re())return{start:s.l,stop:s.l,getReplayStats:()=>{},onRumStart:s.l,isRecording:()=>!1,getSessionReplayLink:()=>{}};let{strategy:Et,shouldStartImmediately:st}=mt();return{start:Dr=>Et.start(Dr),stop:()=>Et.stop(),getSessionReplayLink:()=>Et.getSessionReplayLink(),onRumStart:Wr,isRecording:()=>M()===3&&Et.isRecording(),getReplayStats:Dr=>M()===3?(0,u.lv)(Dr):void 0};function Wr(Dr,Tr,gr,ir,Mr,Lr){let un;function hn(){return un||(Mr??(Mr=F(Tr,"Datadog Session Replay",()=>Et.stop())),Mr&&(un=g(Tr,Mr,1))),un}Et=Fe(Tr,Dr,gr,ir,hn,Lr),st(Tr)&&Et.start()}}function jt(){return(0,r.VZ)().Profiler!==void 0}var Lt=e(62682);function Ht(Et){let st={status:"starting"};return Et.register(0,({eventType:Wr})=>Wr!==a.bb.VIEW&&Wr!==a.bb.LONG_TASK&&Wr!==a.bb.ACTION&&Wr!==a.bb.VITAL?Lt.$O:{type:Wr,_dd:{profiling:st}}),{get:()=>st,set:Wr=>{st=Wr}}}async function vr(){try{return await(0,v.B)(Fr)()}catch(Et){w({error:Et,source:"Profiler",scriptType:"module"})}}async function Fr(){return(await e.e("profiler").then(e.bind(e,39356))).createRumProfiler}function fn(){let Et;function st(Wr,Dr,Tr,gr,ir,Mr){const Lr=gr.findTrackedSession();if(!Lr||!(0,a.$5)(Lr.id,Tr.profilingSampleRate))return;const un=Ht(Dr);if(!jt()){un.set({status:"error",error_reason:"not-supported-by-browser"});return}vr().then(hn=>{if(!hn){un.set({status:"error",error_reason:"failed-to-lazy-load"});return}Et=hn(Tr,Wr,gr,un,Mr,ir,void 0),Et.start()}).catch(ae.Dx)}return{onRumStart:st,stop:()=>{Et?.stop()}}}const Kr=Xt(),Sn=fn(),Fn=(0,a.AB)(Kr,Sn,{startDeflateWorker:F,createDeflateEncoder:g,sdkName:"rum"});(0,n.Z)((0,r.VZ)(),"DD_RUM",Fn)},27081(f,d){"use strict";var e;e={value:!0};var n="fad",r="circle-check",a=512,i=512,s=[61533,"check-circle"],u="f058",l=["M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zm136 0c0-6.1 2.3-12.3 7-17c9.4-9.4 24.6-9.4 33.9 0l47 47c37-37 74-74 111-111c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c2.3 2.3 4.1 5 5.3 7.9c.6 1.5 1 2.9 1.3 4.4c.2 1.1 .3 2.2 .3 2.2c.1 1.2 .1 1.2 .1 2.5c-.1 1.5-.1 1.9-.1 2.3c-.1 .7-.2 1.5-.3 2.2c-.3 1.5-.7 3-1.3 4.4c-1.2 2.9-2.9 5.6-5.3 7.9c-42.7 42.7-85.3 85.3-128 128c-4.7 4.7-10.8 7-17 7s-12.3-2.3-17-7c-21.3-21.3-42.7-42.7-64-64c-4.7-4.7-7-10.8-7-17z","M369 175c9.4 9.4 9.4 24.6 0 33.9L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0z"];d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.QR=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},85925(f,d){"use strict";var e;e={value:!0};var n="fad",r="circle-plus",a=512,i=512,s=["plus-circle"],u="f055",l=["M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zm144 0c0-13.3 10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-64-64 0c-13.3 0-24-10.7-24-24z","M232 280l0 64c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0z"];d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.q_=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},67056(f,d){"use strict";var e;e={value:!0};var n="fad",r="circle-xmark",a=512,i=512,s=[61532,"times-circle","xmark-circle"],u="f057",l=["M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zm168.1 61.7c.1-.7 .2-1.5 .3-2.3c.3-1.5 .7-3 1.3-4.4c1.2-2.9 2.9-5.6 5.3-7.9c15.7-15.7 31.4-31.4 47-47c-15.7-15.7-31.3-31.3-47-47c-9.4-9.4-9.4-24.6 0-33.9c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c15.7 15.7 31.4 31.4 47 47c15.7-15.7 31.4-31.4 47-47c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c9.4 9.4 9.4 24.6 0 33.9c-15.7 15.7-31.3 31.3-47 47c15.7 15.7 31.4 31.4 47 47c4.7 4.7 7 10.8 7 17s-2.3 12.3-7 17s-10.8 7-17 7s-12.3-2.3-17-7l-47-47c-15.7 15.7-31.3 31.3-47 47c-4.7 4.7-10.8 7-17 7s-12.3-2.3-17-7c-2.3-2.3-4.1-5.1-5.3-7.9c-.6-1.4-1-2.9-1.3-4.4c-.2-1.1-.4-2.3-.3-2.2c-.1-1.2-.1-1.2-.1-2.4c0-1.5 .1-1.9 .1-2.3z","M209 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47z"];d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.bn=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},19284(f,d){"use strict";var e;e={value:!0};var n="fad",r="code-fork",a=448,i=512,s=[],u="e13b",l=["M48 153.3c4.9 2.1 10.1 3.8 15.4 4.9c2.7 .6 5.4 1 8.2 1.3c1.4 .1 2.8 .3 4.2 .3c1.4 .1 2.8 .1 4.2 .1c11.4 0 22.2-2.4 32-6.7l0 38.7c0 17.7 14.3 32 32 32l160 0c17.7 0 32-14.3 32-32l0-38.7c4.9 2.1 10.1 3.8 15.4 4.9c2.7 .6 5.4 1 8.2 1.3c1.4 .1 2.8 .3 4.2 .3c1.4 .1 2.8 .1 4.2 .1c11.4 0 22.2-2.4 32-6.7l0 38.7c0 53-43 96-96 96l-48 0 0 70.7c-4.9-2.1-10.1-3.8-15.4-4.9c-2.7-.6-5.4-1-8.2-1.3c-1.4-.1-2.8-.3-4.2-.3s-2.8-.1-4.2-.1c-11.4 0-22.2 2.4-32 6.7l0-70.7-48 0c-53 0-96-43-96-96l0-38.7z","M80 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm0 104A80 80 0 1 0 80 0a80 80 0 1 0 0 160zM368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm0 104A80 80 0 1 0 368
90a80 80 0 1 0 0 160zM200 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm104 0a80 80 0 1 0 -160 0 80 80 0 1 0 160 0z"];d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.zt=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},66919(f,d){"use strict";var e;e={value:!0};var n="fad",r="file",a=384,i=512,s=[128196,128459,61462],u="f15b",l=["M0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0C28.7 0 0 28.7 0 64z","M224 0L384 160H256c-17.7 0-32-14.3-32-32V0z"];d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.A4=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},92401(f,d){"use strict";var e;e={value:!0};var n="fad",r="folder-open",a=576,i=512,s=[128194,128449,61717],u="f07c",l=["M0 96L0 448c0-5.6 1.5-11.1 4.4-16.1l112-192C122.1 230 132.6 224 144 224l336 0 0-64c0-35.3-28.7-64-64-64L298.5 96c-17 0-33.3-6.7-45.3-18.7L226.7 50.7c-12-12-28.3-18.7-45.3-18.7L64 32C28.7 32 0 60.7 0 96zM2.4 460.1c.3 .7 .6 1.3 .9 1.9s.6 1.3 1 1.9c-.7-1.2-1.3-2.5-1.9-3.8zm459 1c7.6-7.6 13.3-17.2 16.2-27.9l-16.2 27.9z","M144 224c-11.4 0-21.9 6-27.6 15.9l-112 192c-5.8 9.9-5.8 22.1-.1 32.1S20.5 480 32 480l400 0c11.4 0 21.9-6 27.6-15.9l112-192c5.8-9.9 5.8-22.1 .1-32.1S555.5 224 544 224l-400 0z"];d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Uj=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},57941(f,d){"use strict";var e;e={value:!0};var n="fad",r="paintbrush",a=576,i=512,s=[128396,"paint-brush"],u="f1fc",l=["M0 480c0 17.7 14.3 32 32 32l143.9 0c.1-.2 .2-.3 .3-.3c2.6 .2 5.2 .3 7.9 .3c66.3 0 120-53.7 120-120c0-2.8-.1-5.5-.2-8.3l-.6-.6L208 272c-.5 0-1.1 0-1.7 0L184 272c-66.3 0-120 53.7-120 120c0 6.2 .5 12.4 1.4 18.4C68.1 428.2 56.1 448 38 448l-6 0c-17.7 0-32 14.3-32 32z","M411 331.6c-19.9 32.6-55.3 52.4-93.4 52.4c-4.8 0-9.6-.3-14.3-.9L208 272c.2-35.9 17.8-69.4 47.1-90.1L500.2 8.8C518.8-4.3 544.1-2.6 560.7 13s20 40.6 8.2 60.1L411 331.6z"];d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.ue=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},74416(f,d){"use strict";var e;e={value:!0};var n="fad",r="pencil",a=512,i=512,s=[9999,61504,"pencil-alt"],u="f303",l=["M144 319.4c0 4.1 1.6 8.2 4.7 11.3s7.2 4.7 11.3 4.7s8.2-1.6 11.3-4.7c48-48 96-96 144-144c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0c-48 48-96 96-144 144c-3.1 3.1-4.7 7.2-4.7 11.3zM302.7 78.7c43.3 43.3 86.6 86.6 129.9 129.9c20-20 40-40 60-60c12.5-12.5 18.7-28.9 18.7-45.3s-6.2-32.8-18.7-45.3L453.3 18.7c-25-25-65.5-25-90.5 0l-60 60z","M432.7 208.7L302.7 78.7 58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s1
95.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L432.7 208.7zM89.3 360.5l22.7-9.1 0 32c0 8.8 7.2 16 16 16l32 0-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3zm226-196.4c6.2 6.2 6.2 16.4 0 22.6l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0z"];d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.zL=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},18822(f,d){"use strict";var e;e={value:!0};var n="fad",r="square",a=448,i=512,s=[9632,9723,9724,61590],u="f0c8",l=["M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z",""];d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Nf=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},25409(f,d){"use strict";var e;e={value:!0};var n="fad",r="users",a=640,i=512,s=[],u="f0c0",l=["M0 298.7C0 310.4 9.6 320 21.3 320l213.3 0c.2 0 .4 0 .7 0c-26.6-23.5-43.3-57.8-43.3-96c0-7.6 .7-15 1.9-22.3c-13.6-6.3-28.7-9.7-44.6-9.7l-42.7 0C47.8 192 0 239.8 0 298.7zM64 80a80 80 0 1 0 160 0A80 80 0 1 0 64 80zM404.7 320c.2 0 .4 0 .7 0l213.3 0c11.8 0 21.3-9.6 21.3-21.3C640 239.8 592.2 192 533.3 192l-42.7 0c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 38.2-16.8 72.5-43.3 96zM432 80a80 80 0 1 0 160 0A80 80 0 1 0 432 80z","M320 320a96 96 0 1 0 0-192 96 96 0 1 0 0 192zm-58.7 32C187.7 352 128 411.7 128 485.3c0 14.7 11.9 26.7 26.7 26.7l330.7 0c14.7 0 26.7-11.9 26.7-26.7C512 411.7 452.3 352 378.7 352l-117.3 0z"];d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.gd=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},94058(f,d){"use strict";var e;e={value:!0};var n="fal",r="arrow-down-left-and-arrow-up-right-to-center",a=512,i=512,s=[],u="e092",l="M507.3 27.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L320 169.4 320 64c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 144c0 8.8 7.2 16 16 16l144 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-105.4 0L507.3 27.3zM4.7 484.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 342.6 192 448c0 8.8 7.2 16 16 16s16-7.2 16-16l0-144c0-8.8-7.2-16-16-16L64 288c-8.8 0-16 7.2-16 16s7.2 16 16 16l105.4 0L4.7 484.7z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.hL=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},50314(f,d){"use strict";var e;e={value:!0};var n="fal",r="arrow-rotate-left",a=512,i=512,s=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],u="f0e2",l="M48 192c-8.8 0-16-7.2-16-16L32 48c0-8.8 7.2-16 16-16s16 7.2 16 16l0 92.6C103.2 75.5 174.5 32 256 32c123.7 0 224 100.3 224 224s-100.3 224-224 224c-79.9 0-150-41.8-189.7-104.8C59.8 364.8 67.7 352 80 352c6 0 11.4 3.2 14.7 8.2C128.9 413 188.4 448 256 448c106 0 192-86 192-192s-86-192-192-192c-71.1 0-133.1 38.6-166.3 96l86.3 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L48 192z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.V3=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},9805(f,d){"use strict";var e;e={value:!0};var n="fal",r="arrow-up-right-and-arrow-down-left-from-center",a=512,i=512,s=[],u="e0a0",l="M292.7 196.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L480 54.6 480 160c0 8.8 7.2 16 16 16s16-7.2 16-16l0-144c0-8.8-7.2-16-16-16L352 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l105.4 0L292.7 196.7zM219.3 315.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L32 457.4 32 352c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 496c0 8.8 7.2 16 16 16l144 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L54.6 480 219.3 315.3z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.A1=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},75149(f,d){"use strict";var e;e={value:!0};var n="fal",r="browser",a=512,i=512,s=[128468],u="f37e",l="M160 64l0 64 320 0 0-32c0-17.7-14.3-32-32-32L160 64zm-32 0L64 64C46.3 64 32 78.3 32 96l0 32 96 0 0-64zM32 160l0 256c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32l0-256-336 0L32 160zM0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.c9=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},44141(f,d){"use strict";var e;e={value:!0};var n="fal",r="building",a=384,i=512,s=[127970,61687],u="f1ad",l="M64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l64 0 0-64c0-35.3 28.7-64 64-64s64 28.7 64 64l0 64 64 0c17.7 0 32-14.3 32-32l0-384c0-17.7-14.3-32-32-32L64 32zM224 416c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 64 64 0 0-64zm-96 96l-64 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L320 0c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64l-64 0-32 0-64 0-32 0zM64 120c0-13.3 10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 48c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24l0-48zm32 8l0 32 32 0 0-32-32 0zM248 96l48 0c13.3 0 24 10.7 24 24l0 48c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24l0-48c0-13.3 10.7-24 24-24zm8 64l32 0 0-32-32 0 0 32zM64 248c0-13.3 10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 48c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24l0-48zm32 8l0 32 32 0 0-32-32 0zm152-32l48 0c13.3 0 24 10.7 24 24l0 48c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24-10.7-24-24l0-48c0-13.3 10.7-24 24-24zm8 64l32 0 0-32-32 0 0 32z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.UR=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},86320(f,d){"use strict";var e;e={value:!0};var n="fal",r="chevron-left",a=320,i=512,s=[9001],u="f053",l="M20.7 267.3c-6.2-6.2-6.2-16.4 0-22.6l192-192c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L54.6 256 235.3 436.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-192-192z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Wz=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},24938(f,d){"use strict";var e;e={value:!0};var n="fal",r="chevron-right",a=320,i=512,s=[9002],u="f054",l="M299.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-192 192c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L265.4 256 84.7 75.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l192 192z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Xk=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},25652(f,d){"use strict";var e;e={value:!0};var n="fal",r="eye",a=576,i=512,s=[128065],u="f06e",l="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.pS=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},76791(f,d){"use strict";var e;e={value:!0};var n="fal",r="eye-slash",a=640,i=512,s=[],u="f070",l="M25.9 3.4C19-2 8.9-.8 3.4 6.1S-.8 23.1 6.1 28.6l608 480c6.9 5.5 17 4.3 22.5-2.6s4.3-17-2.6-22.5L25.9 3.4zM605.5 268.3c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-51.2 0-96 14.8-133.9 36.8l27.3 21.5C244.6 74.2 280.2 64 320 64c70.4 0 127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-9.2 22.1-25.9 52-49.5 81.5l25.1 19.8c25.6-32 43.7-64.4 53.9-89zM88.4 154.7c-25.6 32-43.7 64.4-53.9 89c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c51.2 0 96-14.8 133.9-36.8l-27.3-21.5C395.4 437.8 359.8 448 320 448c-70.4 0-127.7-32-170.8-72C106.1 336 77.3 288 64 256c9.2-22.1 25.9-52 49.5-81.5L88.4 154.7zM320 384c16.7 0 32.7-3.2 47.4-9.1l-30.9-24.4c-5.4 .9-10.9 1.4-16.5 1.4c-51 0-92.8-39.8-95.8-90.1l-30.9-24.4c-.9 6-1.3 12.2-1.3 18.5c0 70.7 57.3 128 128 128zM448 256c0-70.7-57.3-128-128-128c-16.7 0-32.7 3.2-47.4 9.1l30.9 24.4c5.4-.9 10.9-1.4 16.5-1.4c51 0 92.8 39.8 95.8 90.1l30.9 24.4c.9-6 1.3-12.2 1.3-18.5z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.k6=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},66102(f,d){"use strict";var e;e={value:!0};var n="fal",r="face-frown",a=512,i=512,s=[9785,"frown"],u="f119",l="M480 256A224 224 0 1 0 32 256a224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM159.3 388.7c-2.6 8.4-11.6 13.2-20 10.5s-13.2-11.6-10.5-20C145.2 326.1 196.3 288 256 288s110.8 38.1 127.3 91.3c2.6 8.4-2.1 17.4-10.5 20s-17.4-2.1-20-10.5C340.5 349.4 302.1 320 256 320s-84.5 29.4-96.7 68.7zM152.4 208a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm184-24a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Ho=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},51399(f,d){"use strict";var e;e={value:!0};var n="fal",r="face-laugh",a=512,i=512,s=["laugh"],u="f599",l="M480 256A224 224 0 1 0 32 256a224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM256 400c52 0 97.1-32.8 115.7-80l-231.4 0c18.6 47.2 63.7 80 115.7 80zM126.5 288l259.1 0c14.2 0 25.4 12.3 21.8 26c-18.1 68-79 118-151.3 118s-133.2-50-151.3-118c-3.6-13.7 7.6-26 21.8-26zm25.9-96a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm184-24a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.ou=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},82666(f,d){"use strict";var e;e={value:!0};var n="fal",r="face-smile",a=512,i=512,s=[128578,"smile"],u="f118",l="M480 256A224 224 0 1 0 32 256a224 224 0 1 0 448 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm164.1 69.5C182 346.2 212.6 368 256 368s74-21.8 91.9-42.5c5.8-6.7 15.9-7.4 22.6-1.6s7.4 15.9 1.6 22.6C349.8 372.1 311.1 400 256 400s-93.8-27.9-116.1-53.5c-5.8-6.7-5.1-16.8 1.6-22.6s16.8-5.1 22.6 1.6zM152.4 208a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm184-24a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.H8=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},52881(f,d){"use strict";var e;e={value:!0};var n="fal",r="file-export",a=576,i=512,s=["arrow-right-from-file"],u="f56e",l="M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l128 0 0 112c0 26.5 21.5 48 48 48l112 0 0 64 32 0 0-92.1c0-12.7-5.1-24.9-14.1-33.9L254.1 14.1c-9-9-21.2-14.1-33.9-14.1L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-80-32 0 0 80zm-.5-288L240 160c-8.8 0-16-7.2-16-16l0-111.5c2.8 .7 5.4 2.1 7.4 4.2L347.3 152.6c2.1 2.1 3.5 4.6 4.2 7.4zm123.8 52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L521.4 304 208 304c-8.8 0-16 7.2-16 16s7.2 16 16 16l313.4 0-68.7 68.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l96-96c6.2-6.2 6.2-16.4 0-22.6l-96-96z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.o1=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},66601(f,d){"use strict";var e;e={value:!0};var n="fal",r="file-pdf",a=512,i=512,s=[],u="f1c1",l="M64 480l48 0 0 32-48 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L220.1 0c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9L384 304l-32 0 0-112-112 0c-26.5 0-48-21.5-48-48l0-112L64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32zM351.5 160c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2L224 144c0 8.8 7.2 16 16 16l111.5 0zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2
9-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.O_=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},79439(f,d){"use strict";var e;e={value:!0};var n="fal",r="location-dot",a=384,i=512,s=["map-marker-alt"],u="f3c5",l="M352 192c0-88.4-71.6-160-160-160S32 103.6 32 192c0 15.6 5.4 37 16.6 63.4c10.9 25.9 26.2 54 43.6 82.1c34.1 55.3 74.4 108.2 99.9 140c25.4-31.8 65.8-84.7 99.9-140c17.3-28.1 32.7-56.3 43.6-82.1C346.6 229 352 207.6 352 192zm32 0c0 87.4-117 243-168.3 307.2c-12.3 15.3-35.1 15.3-47.4 0C117 435 0 279.4 0 192C0 86 86 0 192 0S384 86 384 192zm-240 0a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm48 80a80 80 0 1 1 0-160 80 80 0 1 1 0 160z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.gK=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},84173(f,d){"use strict";var e;e={value:!0};var n="fal",r="lock-keyhole",a=448,i=512,s=["lock-alt"],u="f30d",l="M224 32c53 0 96 43 96 96l0 64-192 0 0-64c0-53 43-96 96-96zM96 128l0 64-16 0c-44.2 0-80 35.8-80 80L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-160c0-44.2-35.8-80-80-80l-16 0 0-64C352 57.3 294.7 0 224 0S96 57.3 96 128zM80 224l288 0c26.5 0 48 21.5 48 48l0 160c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-160c0-26.5 21.5-48 48-48zm160 88c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 80c0 8.8 7.2 16 16 16s16-7.2 16-16l0-80z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Yp=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},84112(f,d){"use strict";var e;e={value:!0};var n="fal",r="pencil",a=512,i=512,s=[9999,61504,"pencil-alt"],u="f303",l="M395.8 39.6c9.4-9.4 24.6-9.4 33.9 0l42.6 42.6c9.4 9.4 9.4 24.6 0 33.9L417.6 171 341 94.4l54.8-54.8zM318.4 117L395 193.6l-219 219 0-12.6c0-8.8-7.2-16-16-16l-32 0 0-32c0-8.8-7.2-16-16-16l-12.6 0 219-219zM66.9 379.5c1.2-4 2.7-7.9 4.7-11.5L96 368l0 32c0 8.8 7.2 16 16 16l32 0 0 24.4c-3.7 1.9-7.5 3.5-11.6 4.7L39.6 472.4l27.3-92.8zM452.4 17c-21.9-21.9-57.3-21.9-79.2 0L60.4 329.7c-11.4 11.4-19.7 25.4-24.2 40.8L.7 491.5c-1.7 5.6-.1 11.7 4 15.8s10.2 5.7 15.8 4l121-35.6c15.4-4.5 29.4-12.9 40.8-24.2L495 138.8c21.9-21.9 21.9-57.3 0-79.2L452.4 17zM331.3 202.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-128 128c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l128-128z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.zL=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},73164(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-down",a=384,i=512,s=[8595],u="f063",l="M174.6 472.6c4.5 4.7 10.8 7.4 17.4 7.4s12.8-2.7 17.4-7.4l168-176c9.2-9.6 8.8-24.8-.8-33.9s-24.8-8.8-33.9 .8L216 396.1 216 56c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 340.1L41.4 263.4c-9.2-9.6-24.3-9.9-33.9-.8s-9.9 24.3-.8 33.9l168 176z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.B0=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},33922(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-down-from-line",a=384,i=512,s=[8615,"arrow-from-top"],u="f345",l="M174.5 472.4c4.5 4.8 10.9 7.6 17.5 7.6s12.9-2.7 17.5-7.6l128-136c9.1-9.7 8.6-24.8-1-33.9s-24.8-8.6-33.9 1L216 395.5l0-83.5 0-128c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 128 0 83.5L81.5 303.6c-9.1-9.7-24.3-10.1-33.9-1s-10.1 24.3-1 33.9l128 136zM360 80c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 32C10.7 32 0 42.7 0 56S10.7 80 24 80l336 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.xZ=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},12349(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-down-to-bracket",a=448,i=512,s=[],u="e094",l="M369 217L241 345c-9.4 9.4-24.6 9.4-33.9 0L79 217c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87L200 24c0-13.3 10.7-24 24-24s24 10.7 24 24l0 246.1 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9zM48 344l0 80c0 22.1 17.9 40 40 40l272 0c22.1 0 40-17.9 40-40l0-80c0-13.3 10.7-24 24-24s24 10.7 24 24l0 80c0 48.6-39.4 88-88 88L88 512c-48.6 0-88-39.4-88-88l0-80c0-13.3 10.7-24 24-24s24 10.7 24 24z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.a_=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},45247(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-down-to-line",a=384,i=512,s=["arrow-to-bottom"],u="f33d",l="M360 480c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 432c-13.3 0-24 10.7-24 24s10.7 24 24 24l336 0zM174.5 344.4c4.5 4.8 10.9 7.6 17.5 7.6s12.9-2.7 17.5-7.6l128-136c9.1-9.7 8.6-24.8-1-33.9s-24.8-8.6-33.9 1L216 267.5l0-83.5 0-128c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 128 0 83.5L81.5 175.6c-9.1-9.7-24.3-10.1-33.9-1s-10.1 24.3-1 33.9l128 136z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.yH=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},98061(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-left",a=448,i=512,s=[8592],u="f060",l="M7.4 273.4C2.7 268.8 0 262.6 0 256s2.7-12.8 7.4-17.4l176-168c9.6-9.2 24.8-8.8 33.9 .8s8.8 24.8-.8 33.9L83.9 232 424 232c13.3 0 24 10.7 24 24s-10.7 24-24 24L83.9 280 216.6 406.6c9.6 9.2 9.9 24.3 .8 33.9s-24.3 9.9-33.9 .8l-176-168z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Ce=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},81484(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-right",a=448,i=512,s=[8594],u="f061",l="M440.6 273.4c4.7-4.5 7.4-10.8 7.4-17.4s-2.7-12.8-7.4-17.4l-176-168c-9.6-9.2-24.8-8.8-33.9 .8s-8.8 24.8 .8 33.9L364.1 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l340.1 0L231.4 406.6c-9.6 9.2-9.9 24.3-.8 33.9s24.3 9.9 33.9 .8l176-168z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.dm=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},9858(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-right-from-line",a=448,i=512,s=[8614,"arrow-from-left"],u="f343",l="M48 88c0-13.3-10.7-24-24-24S0 74.7 0 88L0 424c0 13.3 10.7 24 24 24s24-10.7 24-24L48 88zM440.4 273.5c4.8-4.5 7.6-10.9 7.6-17.5s-2.7-12.9-7.6-17.5l-136-128c-9.7-9.1-24.8-8.6-33.9 1s-8.6 24.8 1 33.9L363.5 232 280 232l-128 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l128 0 83.5 0-91.9 86.5c-9.7 9.1-10.1 24.3-1 33.9s24.3 10.1 33.9 1l136-128z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Pe=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},32138(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-rotate-left",a=512,i=512,s=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],u="f0e2",l="M40 224c-13.3 0-24-10.7-24-24L16 56c0-13.3 10.7-24 24-24s24 10.7 24 24l0 80.1 20-23.5C125 63.4 186.9 32 256 32c123.7 0 224 100.3 224 224s-100.3 224-224 224c-50.4 0-97-16.7-134.4-44.8c-10.6-8-12.7-23-4.8-33.6s23-12.7 33.6-4.8C179.8 418.9 216.3 432 256 432c97.2 0 176-78.8 176-176s-78.8-176-176-176c-54.3 0-102.9 24.6-135.2 63.4l-.1 .2s0 0 0 0L93.1 176l90.9 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L40 224z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.V3=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},87129(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-up",a=384,i=512,s=[8593],u="f062",l="M209.4 39.4C204.8 34.7 198.6 32 192 32s-12.8 2.7-17.4 7.4l-168 176c-9.2 9.6-8.8 24.8 .8 33.9s24.8 8.8 33.9-.8L168 115.9 168 456c0 13.3 10.7 24 24 24s24-10.7 24-24l0-340.1L342.6 248.6c9.2 9.6 24.3 9.9 33.9 .8s9.9-24.3 .8-33.9l-168-176z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.IN=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},23909(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-up-from-bracket",a=448,i=512,s=[],u="e09a",l="M241 7c-9.4-9.4-24.6-9.4-33.9 0L79 135c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l87-87L200 328c0 13.3 10.7 24 24 24s24-10.7 24-24l0-246.1 87 87c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L241 7zM48 344c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 80c0 48.6 39.4 88 88 88l272 0c48.6 0 88-39.4 88-88l0-80c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 80c0 22.1-17.9 40-40 40L88 464c-22.1 0-40-17.9-40-40l0-80z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.MN=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},4164(f,d){"use strict";var e;e={value:!0};var n="far",r="arrow-up-from-line",a=384,i=512,s=[8613,"arrow-from-bottom"],u="f342",l="M209.5 39.6C204.9 34.7 198.6 32 192 32s-12.9 2.7-17.5 7.6l-128 136c-9.1 9.7-8.6 24.8 1 33.9s24.8 8.6 33.9-1L168 116.5l0 83.5 0 128c0 13.3 10.7 24 24 24s24-10.7 24-24l0-128 0-83.5 86.5 91.9c9.1 9.7 24.3 10.1 33.9 1s10.1-24.3 1-33.9l-128-136zM24 432c-13.3 0-24 10.7-24 24s10.7 24 24 24l336 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 432z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.s8=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},21744(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e="far",n="arrow-up-right-from-square",r=512,a=512,i=["external-link"],s="f08e",u="M304 24c0 13.3 10.7 24 24 24l102.1 0L207 271c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l223-223L464 184c0 13.3 10.7 24 24 24s24-10.7 24-24l0-160c0-13.3-10.7-24-24-24L328 0c-13.3 0-24 10.7-24 24zM72 32C32.2 32 0 64.2 0 104L0 440c0 39.8 32.2 72 72 72l336 0c39.8 0 72-32.2 72-72l0-128c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 128c0 13.3-10.7 24-24 24L72 464c-13.3 0-24-10.7-24-24l0-336c0-13.3 10.7-24 24-24l128 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L72 32z";d.definition={prefix:e,iconName:n,icon:[r,a,i,s,u]},d.faArrowUpRightFromSquare=d.definition,d.prefix=e,d.iconName=n,d.width=r,d.height=a,d.ligatures=i,d.unicode=s,d.svgPathData=u,d.aliases=i},35610(f,d,e){"use strict";var n;n={value:!0};var r=e(51768);d.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},d.X8=d.mw,n=r.prefix,n=r.iconName,n=r.width,n=r.height,n=r.aliases,n=r.unicode,n=r.svgPathData,n=r.aliases},24651(f,d){"use strict";var e;e={value:!0};var n="far",r="bars",a=448,i=512,s=["navicon"],u="f0c9",l="M0 88C0 74.7 10.7 64 24 64l400 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L24 112C10.7 112 0 101.3 0 88zM0 248c0-13.3 10.7-24 24-24l400 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L24 272c-13.3 0-24-10.7-24-24zM448 408c0 13.3-10.7 24-24 24L24 432c-13.3 0-24-10.7-24-24s10.7-24 24-24l400 0c13.3 0 24 10.7 24 24z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.ck=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},55680(f,d){"use strict";var e;e={value:!0};var n="far",r="book",a=448,i=512,s=[128212],u="f02d",l="M0 88C0 39.4 39.4 0 88 0L392 0c30.9 0 56 25.1 56 56l0 288c0 22.3-13.1 41.6-32 50.6l0 69.4 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L80 512c-44.2 0-80-35.8-80-80c0-2.7 .1-5.4 .4-8L0 424 0 88zM80 400c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0 0-64L80 400zM48 358.7c9.8-4.3 20.6-6.7 32-6.7l312 0c4.4 0 8-3.6 8-8l0-288c0-4.4-3.6-8-8-8L88 48C65.9 48 48 65.9 48 88l0 270.7zM152 112l176 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-176 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 80l176 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-176 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.LB=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},87708(f,d){"use strict";var e;e={value:!0};var n="far",r="book-open",a=576,i=512,s=[128214,128366],u="f518",l="M156 32C100.6 32 48.8 46.6 27.1 53.6C10.3 59 0 74.5 0 91.1L0 403.5c0 26.1 24 44.2 48 40.2c19.8-3.3 54.8-7.7 100-7.7c54 0 97.5 25.5 112.5 35.6c7.5 5 16.8 8.4 27 8.4c11.5 0 21.6-4.2 29.3-9.9C330.2 460.3 369.1 436 428 436c47.7 0 80.5 4 99 7.2c23.9 4.1 49-13.8 49-40.6l0-311.5c0-16.5-10.3-32.1-27.1-37.5C527.2 46.6 475.4 32 420 32c-36.8 0-71.8 6.4-97.4 12.7c-12.8 3.2-23.5 6.3-30.9 8.7c-1.3 .4-2.6 .8-3.7 1.2c-1.1-.4-2.4-.8-3.7-1.2c-7.5-2.4-18.1-5.5-30.9-8.7C227.8 38.4 192.8 32 156 32zM264 97.3l0 320.6C238 404.2 196.8 388 148 388c-42.9 0-77.4 3.7-100 7.1L48 97.3C70.3 90.6 112.4 80 156 80c31.6 0 62.6 5.6 85.9 11.3c8.6 2.1 16.1 4.2 22.1 6zm48 319.2l0-319.2c6-1.8 13.5-3.9 22.1-6C357.4 85.6 388.4 80 420 80c43.6 0 85.7 10.6 108 17.3l0 297.4c-21.7-3.3-54.9-6.7-100-6.7c-51.4 0-90.8 15-116 28.6z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Re=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},77615(f,d){"use strict";var e;e={value:!0};var n="far",r="book-sparkles",a=448,i=512,s=["book-spells"],u="f6b8",l="M0 88C0 39.4 39.4 0 88 0L392 0c30.9 0 56 25.1 56 56l0 288c0 22.3-13.1 41.6-32 50.6l0 69.4 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L80 512c-44.2 0-80-35.8-80-80c0-2.7 .1-5.4 .4-8L0 424 0 88zM80 400c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0 0-64L80 400zM48 358.7c9.8-4.3 20.6-6.7 32-6.7l312 0c4.4 0 8-3.6 8-8l0-288c0-4.4-3.6-8-8-8L88 48C65.9 48 48 65.9 48 88l0 270.7zM160 112l8.8-17.7c2.9-5.9 11.4-5.9 14.3 0L192 112l17.7 8.8c5.9 2.9 5.9 11.4 0 14.3L192 144l-8.8 17.7c-2.9 5.9-11.4 5.9-14.3 0L160 144l-17.7-8.8c-5.9-2.9-5.9-11.4 0-14.3L160 112zM264 216l16.6-38.8c2.8-6.5 11.9-6.5 14.7 0L312 216l38.8 16.6c6.5 2.8 6.5 11.9 0 14.7L312 264l-16.6 38.8c-2.8 6.5-11.9 6.5-14.7 0L264 264l-38.8-16.6c-6.5-2.8-6.5-11.9 0-14.7L264 216z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.E4=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},92717(f,d){"use strict";var e;e={value:!0};var n="far",r="browser",a=512,i=512,s=[128468],u="f37e",l="M.3 89.5C.1 91.6 0 93.8 0 96l0 64L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256 0-64c0-35.3-28.7-64-64-64L64 32c-2.2 0-4.4 .1-6.5 .3c-9.2 .9-17.8 3.8-25.5 8.2C21.8 46.5 13.4 55.1 7.7 65.5c-3.9 7.3-6.5 15.4-7.4 24zM48 160l416 0 0 256c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16l0-256z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]}
9,d.c9=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},37010(f,d){"use strict";var e;e={value:!0};var n="far",r="cards-blank",a=640,i=512,s=[],u="e4df",l="M51.8 160.4c-3.7 2.1-4.9 6.8-2.8 10.5l167 289.3c2.1 3.7 6.8 4.9 10.5 2.8L419.4 351.6c3.7-2.1 4.9-6.8 2.8-10.5L255.2 51.8c-2.1-3.7-6.8-4.9-10.5-2.8L51.8 160.4zM7.5 194.9c-15.4-26.6-6.3-60.7 20.4-76.1L220.7 7.5c26.6-15.4 60.7-6.3 76.1 20.4l167 289.3c15.4 26.6 6.2 60.7-20.4 76.1L250.5 504.5c-26.6 15.4-60.7 6.2-76.1-20.4L7.5 194.9zm451.9 226c41.9-24.2 56.3-77.8 32.1-119.8L354.7 64.2c1.7-.2 3.5-.2 5.3-.2l224 0c30.9 0 56 25.1 56 56l0 336c0 30.9-25.1 56-56 56l-224 0c-13.7 0-26.2-4.9-35.9-13l135.3-78.1z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Xm=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},51768(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e="far",n="chart-bar",r=512,a=512,i=["bar-chart"],s="f080",u="M24 32c13.3 0 24 10.7 24 24l0 352c0 13.3 10.7 24 24 24l416 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L72 480c-39.8 0-72-32.2-72-72L0 56C0 42.7 10.7 32 24 32zM128 136c0-13.3 10.7-24 24-24l208 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-208 0c-13.3 0-24-10.7-24-24zm24 72l144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm0 96l272 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-272 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z";d.definition={prefix:e,iconName:n,icon:[r,a,i,s,u]},d.faChartBar=d.definition,d.prefix=e,d.iconName=n,d.width=r,d.height=a,d.ligatures=i,d.unicode=s,d.svgPathData=u,d.aliases=i},71841(f,d){"use strict";var e;e={value:!0};var n="far",r="check",a=448,i=512,s=[10003,10004],u="f00c",l="M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.e6=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},9834(f,d){"use strict";var e;e={value:!0};var n="far",r="chevron-down",a=512,i=512,s=[],u="f078",l="M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Jt=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},2627(f,d){"use strict";var e;e={value:!0};var n="far",r="chevron-left",a=320,i=512,s=[9001],u="f053",l="M15 239c-9.4 9.4-9.4 24.6 0 33.9L207 465c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L65.9 256 241 81c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L15 239z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Wz=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},77162(f,d){"use strict";var e;e={value:!0};var n="far",r="chevron-right",a=320,i=512,s=[9002],u="f054",l="M305 239c9.4 9.4 9.4 24.6 0 33.9L113 465c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l175-175L79 81c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L305 239z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Xk=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},42832(f,d){"use strict";var e;e={value:!0};var n="far",r="chevron-up",a=512,i=512,s=[],u="f077",l="M239 111c9.4-9.4 24.6-9.4 33.9 0L465 303c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-175-175L81 337c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 111z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.w2=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},44569(f,d){"use strict";var e;e={value:!0};var n="far",r="circle",a=512,i=512,s=[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],u="f111",l="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.GE=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},85065(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-check",a=512,i=512,s=[61533,"check-circle"],u="f058",l="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.QR=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},39030(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-dot",a=512,i=512,s=[128280,"dot-circle"],u="f192",l="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256-96a96 96 0 1 1 0 192 96 96 0 1 1 0-192z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.pp=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},88164(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-exclamation",a=512,i=512,s=["exclamation-circle"],u="f06a",l="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.lE=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},288(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-half-stroke",a=512,i=512,s=[9680,"adjust"],u="f042",l="M464 256c0-114.9-93.1-208-208-208l0 416c114.9 0 208-93.1 208-208zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.B2=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},77313(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e="far",n="circle-info",r=512,a=512,i=["info-circle"],s="f05a",u="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";d.definition={prefix:e,iconName:n,icon:[r,a,i,s,u]},d.faCircleInfo=d.definition,d.prefix=e,d.iconName=n,d.width=r,d.height=a,d.ligatures=i,d.unicode=s,d.svgPathData=u,d.aliases=i},43759(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-notch",a=512,i=512,s=[],u="f1ce",l="M215.1 26.3c3.6 12.7-3.7 26-16.5 29.7C111.6 80.9 48 161.1 48 256c0 114.9 93.1 208 208 208s208-93.1 208-208c0-94.9-63.6-175.1-150.6-200c-12.7-3.6-20.1-16.9-16.5-29.7s16.9-20.1 29.7-16.5C433.6 40.5 512 139.1 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 139.1 78.4 40.5 185.4 9.9c12.7-3.6 26 3.7 29.7 16.5z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.s4=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},15077(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-plus",a=512,i=512,s=["plus-circle"],u="f055",l="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 0 64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.q_=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},82814(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-small",a=320,i=512,s=[],u="e122",l="M272 256A112 112 0 1 0 48 256a112 112 0 1 0 224
90zM0 256a160 160 0 1 1 320 0A160 160 0 1 1 0 256z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.ZP=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},92208(f,d){"use strict";var e;e={value:!0};var n="far",r="circle-xmark",a=512,i=512,s=[61532,"times-circle","xmark-circle"],u="f057",l="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.bn=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},72687(f,d){"use strict";var e;e={value:!0};var n="far",r="clipboard-list-check",a=384,i=512,s=[],u="f737",l="M320 64l-40 0-9.6 0C263 27.5 230.7 0 192 0s-71 27.5-78.4 64L104 64 64 64C28.7 64 0 92.7 0 128L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64zM80 112l0 24c0 13.3 10.7 24 24 24l88 0 88 0c13.3 0 24-10.7 24-24l0-24 16 0c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l16 0zm88-32a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm3.3 155.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L112 249.4 99.3 236.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l24 24c6.2 6.2 16.4 6.2 22.6 0l48-48zM192 272c0 8.8 7.2 16 16 16l64 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-64 0c-8.8 0-16 7.2-16 16zm-32 96c0 8.8 7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-96 0c-8.8 0-16 7.2-16 16zm-48 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.S3=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},7505(f,d){"use strict";var e;e={value:!0};var n="far",r="clock-rotate-left",a=512,i=512,s=["history"],u="f1da",l="M48 106.7L48 56c0-13.3-10.7-24-24-24S0 42.7 0 56L0 168c0 13.3 10.7 24 24 24l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-55.3 0c37-57.8 101.7-96 175.3-96c114.9 0 208 93.1 208 208s-93.1 208-208 208c-42.5 0-81.9-12.7-114.7-34.5c-11-7.3-25.9-4.3-33.3 6.7s-4.3 25.9 6.7 33.3C155.2 496.4 203.8 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C170.3 0 94.4 42.1 48 106.7zM256 128c-13.3 0-24 10.7-24 24l0 104c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65 0-94.1c0-13.3-10.7-24-24-24z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Yj=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},39168(f,d){"use strict";var e;e={value:!0};var n="far",r="clone",a=512,i=512,s=[],u="f24d",l="M64 464l224 0c8.8 0 16-7.2 16-16l0-64 48 0 0 64c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64l64 0 0 48-64 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16zM224 304l224 0c8.8 0 16-7.2 16-16l0-224c0-8.8-7.2-16-16-16L224 48c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16zm-64-16l0-224c0-35.3 28.7-64 64-64L448 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64l-224 0c-35.3 0-64-28.7-64-64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.$3=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},19557(f,d,e){"use strict";var n;n={value:!0};var r=e(98712);d.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},d.yY=d.mw,n=r.prefix,n=r.iconName,n=r.width,n=r.height,n=r.aliases,n=r.unicode,n=r.svgPathData,n=r.aliases},13355(f,d){"use strict";var e;e={value:!0};var n="far",r="closed-captioning",a=576,i=512,s=[],u="f20a",l="M
9512 80c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l448 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM200 208c14.2 0 27 6.1 35.8 16c8.8 9.9 24 10.7 33.9 1.9s10.7-24 1.9-33.9c-17.5-19.6-43.1-32-71.5-32c-53 0-96 43-96 96s43 96 96 96c28.4 0 54-12.4 71.5-32c8.8-9.9 8-25-1.9-33.9s-25-8-33.9 1.9c-8.8 9.9-21.6 16-35.8 16c-26.5 0-48-21.5-48-48s21.5-48 48-48zm144 48c0-26.5 21.5-48 48-48c14.2 0 27 6.1 35.8 16c8.8 9.9 24 10.7 33.9 1.9s10.7-24 1.9-33.9c-17.5-19.6-43.1-32-71.5-32c-53 0-96 43-96 96s43 96 96 96c28.4 0 54-12.4 71.5-32c8.8-9.9 8-25-1.9-33.9s-25-8-33.9 1.9c-8.8 9.9-21.6 16-35.8 16c-26.5 0-48-21.5-48-48z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.UM=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},63496(f,d){"use strict";var e;e={value:!0};var n="far",r="code",a=640,i=512,s=[],u="f121",l="M399.1 1.1c-12.7-3.9-26.1 3.1-30 15.8l-144 464c-3.9 12.7 3.1 26.1 15.8 30s26.1-3.1 30-15.8l144-464c3.9-12.7-3.1-26.1-15.8-30zm71.4 118.5c-9.1 9.7-8.6 24.9 1.1 33.9L580.9 256 471.6 358.5c-9.7 9.1-10.2 24.3-1.1 33.9s24.3 10.2 33.9 1.1l128-120c4.8-4.5 7.6-10.9 7.6-17.5s-2.7-13-7.6-17.5l-128-120c-9.7-9.1-24.9-8.6-33.9 1.1zm-301 0c-9.1-9.7-24.3-10.2-33.9-1.1l-128 120C2.7 243 0 249.4 0 256s2.7 13 7.6 17.5l128 120c9.7 9.1 24.9 8.6 33.9-1.1s8.6-24.9-1.1-33.9L59.1 256 168.4 153.5c9.7-9.1 10.2-24.3 1.1-33.9z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.jT=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},47700(f,d){"use strict";var e;e={value:!0};var n="far",r="code-fork",a=448,i=512,s=[],u="e13b",l="M80 112a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm80-32c0 35.8-23.5 66.1-56 76.3l0 35.7c0 22.1 17.9 40 40 40l160 0c22.1 0 40-17.9 40-40l0-35.7c-32.5-10.2-56-40.5-56-76.3c0-44.2 35.8-80 80-80s80 35.8 80 80c0 35.8-23.5 66.1-56 76.3l0 35.7c0 48.6-39.4 88-88 88l-56 0 0 75.7c32.5 10.2 56 40.5 56 76.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-35.8 23.5-66.1 56-76.3l0-75.7-56 0c-48.6 0-88-39.4-88-88l0-35.7C23.5 146.1 0 115.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm208 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM256 432a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.zt=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},35096(f,d){"use strict";var e;e={value:!0};var n="far",r="comment",a=512,i=512,s=[128489,61669],u="f075",l="M123.6 391.3c12.9-9.4 29.6-11.8 44.6-6.4c26.5 9.6 56.2 15.1 87.8 15.1c124.7 0 208-80.5 208-160s-83.3-160-208-160S48 160.5 48 240c0 32 12.4 62.8 35.7 89.2c8.6 9.7 12.8 22.5 11.8 35.5c-1.4 18.1-5.7 34.7-11.3 49.4c17-7.9 31.1-16.7 39.4-22.7zM21.2 431.9c1.8-2.7 3.5-5.4 5.1-8.1c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208s-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6c-15.1 6.6-32.3 12.6-50.1 16.1c-.8 .2-1.6 .3-2.4 .5c-4.4 .8-8.7 1.5-13.2 1.9c-.2 0-.5 .1-.7 .1c-5.1 .5-10.2 .8-15.3 .8c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4c4.1-4.2 7.8-8.7 11.3-13.5c1.7-2.3 3.3-4.6 4.8-6.9l.3-.5z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.DN=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},37384(f,d){"use strict";var e;e={value:!0};var n="far",r="copy",a=448,i=512,s=[],u="f0c5",l="M384 336l-192 0c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l140.1 0L400 115.9 400 320c0 8.8-7.2 16-16 16zM192 384l192 0c35.3 0 64-28.7 64-64l0-204.1c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1L192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-32-48 0 0 32c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l32 0 0-48-32 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.jP=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},97615(f,d){"use strict";var e;e={value:!0};var n="far",r="crop",a=512,i=512,s=[],u="f125",l="M80 24C80 10.7 90.7 0 104 0s24 10.7 24 24l0 326.1L350.1 128 160 128l0-48 238.1 0L471 7c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-73 73L432 384l56 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-56 0 0 56c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-326.1L161.9 384 352 384l0 48-216 0c-30.9 0-56-25.1-56-56l0-248-56 0c-13.3 0-24-10.7-24-24S10.7 80 24 80l56 0 0-56z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.K1=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},22812(f,d){"use strict";var e;e={value:!0};var n="far",r="diamond-exclamation",a=512,i=512,s=[],u="e405",l="M51.3 256L256 51.3 460.7 256 256 460.7 51.3 256zm233-244.3c-15.6-15.6-40.9-15.6-56.6 0l-216 216c-15.6 15.6-15.6 40.9 0 56.6l216 216c15.6 15.6 40.9 15.6 56.6 0l216-216c15.6-15.6 15.6-40.9 0-56.6l-216-216zM256 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.xG=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},37915(f,d){"use strict";var e;e={value:!0};var n="far",r="distribute-spacing-vertical",a=512,i=512,s=[],u="e366",l="M0 56C0 69.3 10.7 80 24 80l464 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 32C10.7 32 0 42.7 0 56zM368 208l0 96-224 0 0-96 224
90zM144 160c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l224 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-224 0zM24 432c-13.3 0-24 10.7-24 24s10.7 24 24 24l464 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 432z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.iH=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},93685(f,d,e){"use strict";var n;n={value:!0};var r=e(28052);d.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},d.MT=d.mw,n=r.prefix,n=r.iconName,n=r.width,n=r.height,n=r.aliases,n=r.unicode,n=r.svgPathData,n=r.aliases},97114(f,d){"use strict";var e;e={value:!0};var n="far",r="ellipsis",a=448,i=512,s=["ellipsis-h"],u="f141",l="M432 256a48 48 0 1 1 -96 0 48 48 0 1 1 96 0zm-160 0a48 48 0 1 1 -96 0 48 48 0 1 1 96 0zM64 304a48 48 0 1 1 0-96 48 48 0 1 1 0 96z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Dw=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},73668(f,d){"use strict";var e;e={value:!0};var n="far",r="ellipsis-vertical",a=128,i=512,s=["ellipsis-v"],u="f142",l="M64 368a48 48 0 1 0 0 96 48 48 0 1 0 0-96zm0-160a48 48 0 1 0 0 96 48 48 0 1 0 0-96zM112 96A48 48 0 1 0 16 96a48 48 0 1 0 96 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.nx=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},74817(f,d){"use strict";var e;e={value:!0};var n="far",r="envelope",a=512,i=512,s=[128386,9993,61443],u="f0e0",l="M64 112c-8.8 0-16 7.2-16 16l0 22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1l0-22.1c0-8.8-7.2-16-16-16L64 112zM48 212.2L48 384c0 8.8 7.2 16 16 16l384 0c8.8 0 16-7.2 16-16l0-171.8L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.y_=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},35834(f,d,e){"use strict";var n;n={value:!0};var r=e(21744);d.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},d.vM=d.mw,n=r.prefix,n=r.iconName,n=r.width,n=r.height,n=r.aliases,n=r.unicode,n=r.svgPathData,n=r.aliases},57991(f,d){"use strict";var e;e={value:!0};var n="far",r="file",a=384,i=512,s=[128196,128459,61462],u="f15b",l="M320 464c8.8 0 16-7.2 16-16l0-288-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0zM0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.A4=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},33605(f,d){"use strict";var e;e={value:!0};var n="far",r="file-audio",a=384,i=512,s=[],u="f1c7",l="M64 464l256 0c8.8 0 16-7.2 16-16l0-288-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16zM0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zM192 272l0 128c0 6.5-3.9 12.3-9.9 14.8s-12.9 1.1-17.4-3.5L129.4 376 112 376c-8.8 0-16-7.2-16-16l0-48c0-8.8 7.2-16 16-16l17.4 0 35.3-35.3c4.6-4.6 11.5-5.9 17.4-3.5s9.9 8.3 9.9 14.8zm85.8-4c11.6 20 18.2 43.3 18.2 68s-6.6 48-18.2 68c-6.6 11.5-21.3 15.4-32.8 8.8s-15.4-21.3-8.8-32.8c7.5-12.9 11.8-27.9 11.8-44s-4.3-31.1-11.8-44c-6.6-11.5-2.7-26.2 8.8-32.8s26.2-2.7 32.8 8.8z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.qe=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},97681(f,d){"use strict";var e;e={value:!0};var n="far",r="file-export",a=576,i=512,s=["arrow-right-from-file"],u="f56e",l="M336 448c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 96 48 0 0-101.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-80-48 0 0 80zM489 215c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l39 39L216 288c-13.3 0-24 10.7-24 24s10.7 24 24 24l278.1 0-39 39c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9l-80-80z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.o1=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},67454(f,d){"use strict";var e;e={value:!0};var n="far",r="file-import",a=512,i=512,s=["arrow-right-to-file"],u="f56f",l="M448 464l-256 0c-8.8 0-16-7.2-16-16l0-80-48 0 0 80c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L402.7 18.7C390.7 6.7 374.5 0 357.5 0L192 0c-35.3 0-64 28.7-64 64l0 192 48 0 0-192c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16zM297 215c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l39 39L24 288c-13.3 0-24 10.7-24 24s10.7 24 24 24l278.1 0-39 39c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9l-80-80z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.$M=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},2648(f,d){"use strict";var e;e={value:!0};var n="far",r="file-lines",a=384,i=512,s=[128441,128462,61686,"file-alt","file-text"],u="f15c",l="M64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16L64 464zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0zm56 256c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.bL=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},20489(f,d){"use strict";var e;e={value:!0};var n="far",r="file-pdf",a=512,i=512,s=[],u="f1c1",l="M64 464l48 0 0 48-48 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 304l-48 0 0-144-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2
9-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.O_=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},71096(f,d){"use strict";var e;e={value:!0};var n="far",r="folder-image",a=512,i=512,s=[],u="e18a",l="M251.7 127.6s0 0 0 0c10.5 10.5 24.7 16.4 39.6 16.4L448 144c8.8 0 16 7.2 16 16l0 256c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l133.5 0c4.2 0 8.3 1.7 11.3 4.7l33.9-33.9L208.8 84.7l42.9 42.9zm33.9-33.9L242.7 50.7c-12-12-28.3-18.7-45.3-18.7L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L291.3 96c-2.1 0-4.2-.8-5.7-2.3zM160 208a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm155.2 9.6c-4.5-6-11.6-9.6-19.2-9.6s-14.7 3.6-19.2 9.6l-54.2 72.2L202.7 265c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6l80 0 48 0 144 0c9.1 0 17.4-5.1 21.5-13.3s3.2-17.9-2.3-25.1l-96-128z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.JK=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},97754(f,d){"use strict";var e;e={value:!0};var n="far",r="gear",a=512,i=512,s=[9881,"cog"],u="f013",l="M256 0c17 0 33.6 1.7 49.8 4.8c7.9 1.5 21.8 6.1 29.4 20.1c2 3.7 3.6 7.6 4.6 11.8l9.3 38.5C350.5 81 360.3 86.7 366 85l38-11.2c4-1.2 8.1-1.8 12.2-1.9c16.1-.5 27 9.4 32.3 15.4c22.1 25.1 39.1 54.6 49.9 86.3c2.6 7.6 5.6 21.8-2.7 35.4c-2.2 3.6-4.9 7-8 10L459 246.3c-4.2 4-4.2 15.5 0 19.5l28.7 27.3c3.1 3 5.8 6.4 8 10c8.2 13.6 5.2 27.8 2.7 35.4c-10.8 31.7-27.8 61.1-49.9 86.3c-5.3 6-16.3 15.9-32.3 15.4c-4.1-.1-8.2-.8-12.2-1.9L366 427c-5.7-1.7-15.5 4-16.9 9.8l-9.3 38.5c-1 4.2-2.6 8.2-4.6 11.8c-7.7 14-21.6 18.5-29.4 20.1C289.6 510.3 273 512 256 512s-33.6-1.7-49.8-4.8c-7.9-1.5-21.8-6.1-29.4-20.1c-2-3.7-3.6-7.6-4.6-11.8l-9.3-38.5c-1.4-5.8-11.2-11.5-16.9-9.8l-38 11.2c-4 1.2-8.1 1.8-12.2 1.9c-16.1 .5-27-9.4-32.3-15.4c-22-25.1-39.1-54.6-49.9-86.3c-2.6-7.6-5.6-21.8 2.7-35.4c2.2-3.6 4.9-7 8-10L53 265.7c4.2-4 4.2-15.5 0-19.5L24.2 218.9c-3.1-3-5.8-6.4-8-10C8 195.3 11 181.1 13.6 173.6c10.8-31.7 27.8-61.1 49.9-86.3c5.3-6 16.3-15.9 32.3-15.4c4.1 .1 8.2 .8 12.2 1.9L146 85c5.7 1.7 15.5-4 16.9-9.8l9.3-38.5c1-4.2 2.6-8.2 4.6-11.8c7.7-14 21.6-18.5 29.4-20.1C222.4 1.7 239 0 256 0zM218.1 51.4l-8.5 35.1c-7.8 32.3-45.3 53.9-77.2 44.6L97.9 120.9c-16.5 19.3-29.5 41.7-38 65.7l26.2 24.9c24 22.8 24 66.2 0 89L59.9 325.4c8.5 24 21.5 46.4 38 65.7l34.6-10.2c31.8-9.4 69.4 12.3 77.2 44.6l8.5 35.1c24.6 4.5 51.3 4.5 75.9 0l8.5-35.1c7.8-32.3 45.3-53.9 77.2
9-44.6l34.6 10.2c16.5-19.3 29.5-41.7 38-65.7l-26.2-24.9c-24-22.8-24-66.2 0-89l26.2-24.9c-8.5-24-21.5-46.4-38-65.7l-34.6 10.2c-31.8 9.4-69.4-12.3-77.2-44.6l-8.5-35.1c-24.6-4.5-51.3-4.5-75.9 0zM208 256a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm48 96a96 96 0 1 1 0-192 96 96 0 1 1 0 192z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.BH=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},51464(f,d){"use strict";var e;e={value:!0};var n="far",r="globe",a=512,i=512,s=[127760],u="f0ac",l="M256 464c7.4 0 27-7.2 47.6-48.4c8.8-17.7 16.4-39.2 22-63.6l-139.2 0c5.6 24.4 13.2 45.9 22 63.6C229 456.8 248.6 464 256 464zM178.5 304l155 0c1.6-15.3 2.5-31.4 2.5-48s-.9-32.7-2.5-48l-155 0c-1.6 15.3-2.5 31.4-2.5 48s.9 32.7 2.5 48zm7.9-144l139.2 0c-5.6-24.4-13.2-45.9-22-63.6C283 55.2 263.4 48 256 48s-27 7.2-47.6 48.4c-8.8 17.7-16.4 39.2-22 63.6zm195.3 48c1.5 15.5 2.2 31.6 2.2 48s-.8 32.5-2.2 48l76.7 0c3.6-15.4 5.6-31.5 5.6-48s-1.9-32.6-5.6-48l-76.7 0zm58.8-48c-21.4-41.1-56.1-74.1-98.4-93.4c14.1 25.6 25.3 57.5 32.6 93.4l65.9 0zm-303.3 0c7.3-35.9 18.5-67.7 32.6-93.4c-42.3 19.3-77 52.3-98.4 93.4l65.9 0zM53.6 208c-3.6 15.4-5.6 31.5-5.6 48s1.9 32.6 5.6 48l76.7 0c-1.5-15.5-2.2-31.6-2.2-48s.8-32.5 2.2-48l-76.7 0zM342.1 445.4c42.3-19.3 77-52.3 98.4-93.4l-65.9 0c-7.3 35.9-18.5 67.7-32.6 93.4zm-172.2 0c-14.1-25.6-25.3-57.5-32.6-93.4l-65.9 0c21.4 41.1 56.1 74.1 98.4 93.4zM256 512A256 256 0 1 1 256 0a256 256 0 1 1 0 512z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Bw=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},91485(f,d){"use strict";var e;e={value:!0};var n="far",r="graduation-cap",a=640,i=512,s=[127891,"mortar-board"],u="f19d",l="M320 80c2.5 0 5 .4 7.4 1.3l218 78.7-218 78.7c-2.4 .9-4.9 1.3-7.4 1.3s-5-.4-7.4-1.3L184.9 192.6l140.8-52.8c8.3-3.1 12.5-12.3 9.4-20.6s-12.3-12.5-20.6-9.4L154.9 169.6c-5.2 2-10.3 4.2-15.3 6.6L94.7 160l218-78.7c2.4-.9 4.9-1.3 7.4-1.3zM15.8 182.6l77.4 27.9c-27.2 28.7-43.7 66.7-45.1 107.7c-.1 .6-.1 1.2-.1 1.8c0 28.4-10.8 57.8-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7c-3.2-14-7.5-28.3-13.4-41.5c1.9-37 19.2-70.9 46.7-94.2l169.5 61.2c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32s-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6zm480.8 80l-46.5 16.8 12.7 120.5c-4.8 3.5-12.8 8-24.6 12.6C410 423.6 368 432 320 432s-90-8.4-118.3-19.4c-11.8-4.6-19.8-9.2-24.6-12.6l12.7-120.5-46.5-16.8L128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6zM467.4 396c0 0-.1 .1-.3 .4c.2-.3 .3-.4 .3-.4zm-294.8 0c0 0 .1 .1 .3 .4c-.2-.3-.3-.4-.3-.4z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.eS=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},45379(f,d){"use strict";var e;e={value:!0};var n="far",r="grid-2",a=512,i=512,s=[],u="e196",l="M80 80l0 96 96 0 0-96L80 80zM32 80c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96zM80 336l0 96 96 0 0-96-96 0zm-48 0c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96zM432 80l-96 0 0 96 96 0 0-96zM336 32l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-26.5 21.5-48 48-48zm0 304l0 96 96 0 0-96-96 0zm-48 0c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Qy=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},14195(f,d){"use strict";var e;e={value:!0};var n="far",r="grip-dots-vertical",a=256,i=512,s=[],u="e411",l="M64 128a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm0 160a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM96 416a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96-288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm32 128a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM192 448a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.IM=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},48215(f,d){"use strict";var e;e={value:!0};var n="far",r="hand-pointer",a=448,i=512,s=[],u="f25a",l="M160 64c0-8.8 7.2-16 16-16s16 7.2 16 16l0 136c0 10.3 6.6 19.5 16.4 22.8s20.6-.1 26.8-8.3c3-3.9 7.6-6.4 12.8-6.4c8.8 0 16 7.2 16 16c0 10.3 6.6 19.5 16.4 22.8s20.6-.1 26.8-8.3c3-3.9 7.6-6.4 12.8-6.4c7.8 0 14.3 5.6 15.7 13c1.6 8.2 7.3 15.1 15.1 18s16.7 1.6 23.3-3.6c2.7-2.1 6.1-3.4 9.9-3.4c8.8 0 16 7.2 16 16l0 16 0 104c0 39.8-32.2 72-72 72l-56 0-59.8 0-.9 0c-37.4 0-72.4-18.7-93.2-49.9L50.7 312.9c-4.9-7.4-2.9-17.3 4.4-22.2s17.3-2.9 22.2 4.4L116 353.2c5.9 8.8 16.8 12.7 26.9 9.7s17-12.4 17-23l0-19.9 0-256zM176 0c-35.3 0-64 28.7-64 64l0 197.7C91.2 238 55.5 232.8 28.5 250.7C-.9 270.4-8.9 310.1 10.8 339.5L78.3 440.8c29.7 44.5 79.6 71.2 133.1 71.2l.9 0 59.8 0 56 0c66.3 0 120-53.7 120-120l0-104 0-16c0-35.3-28.7-64-64-64c-4.5 0-8.8 .5-13 1.3c-11.7-15.4-30.2-25.3-51-25.3c-6.9 0-13.5 1.1-19.7 3.1C288.7 170.7 269.6 160 248 160c-2.7 0-5.4 .2-8 .5L240 64c0-35.3-28.7-64-64-64zm48 304c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-
97.2 16-16l0-96zm48-16c-8.8 0-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96c0-8.8-7.2-16-16-16zm80 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 96c0 8.8 7.2 16 16 16s16-7.2 16-16l0-96z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.A8=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},81760(f,d){"use strict";var e;e={value:!0};var n="far",r="image",a=512,i=512,s=[],u="f03e",l="M448 80c8.8 0 16 7.2 16 16l0 319.8-5-6.5-136-176c-4.5-5.9-11.6-9.3-19-9.3s-14.4 3.4-19 9.3L202 340.7l-30.5-42.7C167 291.7 159.8 288 152 288s-15 3.7-19.5 10.1l-80 112L48 416.3l0-.3L48 96c0-8.8 7.2-16 16-16l384 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zm80 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.jb=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},85375(f,d){"use strict";var e;e={value:!0};var n="far",r="image-landscape",a=576,i=512,s=["landscape"],u="e1b5",l="M64 112c-8.8 0-16 7.2-16 16l0 256c0 8.8 7.2 16 16 16l19.8 0 80.8-110.2c4.5-6.2 11.7-9.8 19.4-9.8s14.8 3.6 19.4 9.8L232.8 330l83.1-127.1c4.4-6.8 12-10.9 20.1-10.9s15.7 4.1 20.1 10.9L485 400l27 0c8.8 0 16-7.2 16-16l0-256c0-8.8-7.2-16-16-16L64 112zM96 448l-32 0c-35.3 0-64-28.7-64-64L0 128C0 92.7 28.7 64 64 64l448 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64l-40 0-200 0-72 0L96 448zm64-288a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.oC=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},58795(f,d){"use strict";var e;e={value:!0};var n="far",r="image-portrait",a=384,i=512,s=["portrait"],u="f3e0",l="M320 48L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-384c0-8.8-7.2-16-16-16zm0-48c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L320 0zM128 192a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM80 356.6c0-37.9 30.7-68.6 68.6-68.6l86.9 0c37.9 0 68.6 30.7 68.6 68.6c0 15.1-12.3 27.4-27.4 27.4l-169.1 0C92.3 384 80 371.7 80 356.6z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.E4=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},65873(f,d,e){"use strict";var n;n={value:!0};var r=e(77313);d.mw={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},d.iW=d.mw,n=r.prefix,n=r.iconName,n=r.width,n=r.height,n=r.aliases,n=r.unicode,n=r.svgPathData,n=r.aliases},16121(f,d){"use strict";var e;e={value:!0};var n="far",r="link",a=640,i=512,s=[128279,"chain"],u="f0c1",l="M580.3 267.2c56.2-56.2 56.2-147.3 0-203.5C526.8 10.2 440.9 7.3 383.9 57.2l-6.1 5.4c-10 8.7-11 23.9-2.3 33.9s23.9 11 33.9 2.3l6.1-5.4c38-33.2 95.2-31.3 130.9 4.4c37.4 37.4 37.4 98.1 0 135.6L433.1 346.6c-37.4 37.4-98.2 37.4-135.6 0c-35.7-35.7-37.6-92.9-4.4-130.9l4.7-5.4c8.7-10 7.7-25.1-2.3-33.9s-25.1-7.7-33.9 2.3l-4.7 5.4c-49.8 57-46.9 142.9 6.6 196.4c56.2 56.2 147.3 56.2 203.5 0L580.3 267.2zM59.7 244.8C3.5 301 3.5 392.1 59.7 448.2c53.6 53.6 139.5 56.4 196.5 6.5l6.1-5.4c10-8.7 11-23.9 2.3-33.9s-23.9-11-33.9-2.3l-6.1 5.4c-38 33.2-95.2 31.3-130.9-4.4c-37.4-37.4-37.4-98.1 0-135.6L207 165.4c37.4-37.4 98.1-37.4 135.6 0c35.7 35.7 37.6 92.9 4.4 130.9l-5.4 6.1c-8.7 10-7.7 25.1 2.3 33.9s25.1 7.7 33.9-2.3l5.4-6.1c49.9-57 47-142.9-6.5-196.5c-56.2-56.2-147.3-56.2-203.5 0L59.7 244.8z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.CQ=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},75299(f,d){"use strict";var e;e={value:!0};var n="far",r="link-simple",a=576,i=512,s=[],u="e1cd",l="M0 256C0 167.6 71.6 96 160 96l72 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-72 0C98.1 144 48 194.1 48 256s50.1 112 112 112l72 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-72 0C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160l-72 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l72 0c61.9 0 112-50.1 112-112s-50.1-112-112-112l-72 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l72 0c88.4 0 160 71.6 160 160zM184 232l208 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-208 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.wi=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},27990(f,d){"use strict";var e;e={value:!0};var n="far",r="link-simple-slash",a=640,i=512,s=[],u="e1ce",l="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L532.4 392c45.4-28.2 75.6-78.6 75.6-136c0-88.4-71.6-160-160-160l-72 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l72 0c61.9 0 112 50.1 112 112c0 46.6-28.5 86.6-69.1 103.5L389.5 280l34.5 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-95.7 0L216 144l48 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0c-11.3 0-22.3 1.2-32.9 3.4L38.8 5.1zm69.6 176.3L70.7 151.7C46.6 179.7 32 216.1 32 256c0 88.4 71.6 160 160 160l72 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-72 0c-61.9 0-112-50.1-112-112c0-28.6 10.7-54.8 28.4-74.6z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.r2=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},15480(f,d){"use strict";var e;e={value:!0};var n="far",r="link-slash",a=640,i=512,s=["chain-broken","chain-slash","unlink"],u="f127",l="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l91-91c56.2-56.2 56.2-147.3 0-203.5C
9526.8 10.2 440.9 7.3 383.9 57.2l-6.1 5.4c-10 8.7-11 23.9-2.3 33.9s23.9 11 33.9 2.3l6.1-5.4c38-33.2 95.2-31.3 130.9 4.4c37.4 37.4 37.4 98.1 0 135.6l-95.1 95.1-45.5-35.7c24.2-53.3 14.1-117.9-29.3-161.3c-52.1-52.1-134.4-55.9-190.8-11.2L38.8 5.1zm186.3 146c36.9-22.3 85.6-17.6 117.4 14.3c26 26 34 63.3 23.7 96.4L225.1 151.1zM352.6 373.8c-20.2-2.7-39.7-11.7-55.2-27.3c-9.8-9.8-17-21.2-21.7-33.3l-54.2-42.7c-2.2 39.6 11.9 79.9 41.9 109.9c38.8 38.8 94.2 50.8 143.4 36l-54.2-42.7zm-236-186L59.7 244.8C3.5 301 3.5 392.1 59.7 448.2c53.6 53.6 139.5 56.4 196.5 6.5l6.1-5.4c10-8.7 11-23.9 2.3-33.9s-23.9-11-33.9-2.3l-6.1 5.4c-38 33.2-95.2 31.3-130.9-4.4c-37.4-37.4-37.4-98.1 0-135.6l60.9-60.9-38-29.9z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.TH=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},98213(f,d){"use strict";var e;e={value:!0};var n="far",r="list",a=512,i=512,s=["list-squares"],u="f03a",l="M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM184 72c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L184 72zm0 160c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-304 0zm0 160c-13.3 0-24 10.7-24 24s10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-304 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.IT=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},66389(f,d){"use strict";var e;e={value:!0};var n="far",r="list-check",a=512,i=512,s=["tasks"],u="f0ae",l="M153.8 72.1c8.9-9.9 8.1-25-1.8-33.9s-25-8.1-33.9 1.8L63.1 101.1 41 79C31.6 69.7 16.4 69.7 7 79s-9.4 24.6 0 33.9l40 40c4.7 4.7 11 7.2 17.6 7s12.8-3 17.2-7.9l72-80zm0 160c8.9-9.9 8.1-25-1.8-33.9s-25-8.1-33.9 1.8L63.1 261.1 41 239c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l40 40c4.7 4.7 11 7.2 17.6 7s12.8-3 17.2-7.9l72-80zM216 120l272 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L216 72c-13.3 0-24 10.7-24 24s10.7 24 24 24zM192 256c0 13.3 10.7 24 24 24l272 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-272 0c-13.3 0-24 10.7-24 24zM160 416c0 13.3 10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-304 0c-13.3 0-24 10.7-24 24zm-64 0a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.UN=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},35630(f,d){"use strict";var e;e={value:!0};var n="far",r="magnifying-glass",a=512,i=512,s=[128269,"search"],u="f002",l="M368 208A160 160 0 1 0 48 208a160 160 0 1 0 320 0zM337.1 371.1C301.7 399.2 256.8 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 48.8-16.8 93.7-44.9 129.1L505 471c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L337.1 371.1z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.$U=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},75822(f,d){"use strict";var e;e={value:!0};var n="far",r="magnifying-glass-plus",a=512,i=512,s=["search-plus"],u="f00e",l="M208 48a160 160 0 1 1 0 320 160 160 0 1 1 0-320zm0 368c48.8 0 93.7-16.8 129.1-44.9L471 505c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L371.1 337.1C399.2 301.7 416 256.8 416 208C416 93.1 322.9 0 208 0S0 93.1 0 208S93.1 416 208 416zM184 296c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 0 64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.bM=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},4507(f,d){"use strict";var e;e={value:!0};var n="far",r="megaphone",a=576,i=512,s=[128227],u="f675",l="M552 32c-13.3 0-24 10.7-24 24l0 5.7L48 192.6l0-8.6c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 21.7L0 224l0 64 0 18.3L0 328c0 13.3 10.7 24 24 24s24-10.7 24-24l0-8.6 117.6 32.1C162 361.7 160 372.6 160 384c0 53 43 96 96 96c46.9 0 86-33.6 94.3-78.1L528 450.3l0 5.7c0 13.3 10.7 24 24 24s24-10.7 24-24l0-24 0-352 0-24c0-13.3-10.7-24-24-24zM528 400.6L48 269.7l0-27.3L528 111.4l0 289.2zM208 384c0-7.1 1.5-13.8 4.3-19.8l91.5 24.9c-2.6 24.1-23 42.8-47.7 42.8c-26.5 0-48-21.5-48-48z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.OR=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},88964(f,d){"use strict";var e;e={value:!0};var n="far",r="message-quote",a=512,i=512,s=["comment-alt-quote"],u="e1e4",l="M208 416c0-26.5-21.5-48-48-48l-96 0c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l384 0c8.8 0 16 7.2 16 16l0 288c0 8.8-7.2 16-16 16l-138.7 0c-10.4 0-20.5 3.4-28.8 9.6L208 432l
90-16zm-.2 76.2l.2-.2 101.3-76L448 416c35.3 0 64-28.7 64-64l0-288c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 352c0 35.3 28.7 64 64 64l48 0 48 0 0 48 0 4 0 .3 0 6.4 0 21.3c0 6.1 3.4 11.6 8.8 14.3s11.9 2.1 16.8-1.5L202.7 496l5.1-3.8zM160 112c-17.7 0-32 14.3-32 32l0 48c0 17.7 14.3 32 32 32l32 0 0 7.3c0 11.7-8.5 21.7-20.1 23.7l-7.9 1.3c-13.1 2.2-21.9 14.5-19.7 27.6s14.5 21.9 27.6 19.7l7.9-1.3c34.7-5.8 60.2-35.8 60.2-71l0-39.3 0-24 0-24c0-17.7-14.3-32-32-32l-48 0zm224 80l0-24 0-24c0-17.7-14.3-32-32-32l-48 0c-17.7 0-32 14.3-32 32l0 48c0 17.7 14.3 32 32 32l32 0 0 7.3c0 11.7-8.5 21.7-20.1 23.7l-7.9 1.3c-13.1 2.2-21.9 14.5-19.7 27.6s14.5 21.9 27.6 19.7l7.9-1.3c34.7-5.8 60.2-35.8 60.2-71l0-39.3z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.ps=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},12421(f,d){"use strict";var e;e={value:!0};var n="far",r="minus",a=448,i=512,s=[8211,8722,10134,"subtract"],u="f068",l="M432 256c0 13.3-10.7 24-24 24L40 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l368 0c13.3 0 24 10.7 24 24z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.EZ=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},90986(f,d){"use strict";var e;e={value:!0};var n="far",r="palette",a=512,i=512,s=[127912],u="f53f",l="M464 258.2c0 2.7-1 5.2-4.2 8c-3.8 3.1-10.1 5.8-17.8 5.8L344 272c-53 0-96 43-96 96c0 6.8 .7 13.4 2.1 19.8c3.3 15.7 10.2 31.1 14.4 40.6c0 0 0 0 0 0c.7 1.6 1.4 3 1.9 4.3c5 11.5 5.6 15.4 5.6 17.1c0 5.3-1.9 9.5-3.8 11.8c-.9 1.1-1.6 1.6-2 1.8c-.3 .2-.8 .3-1.6 .4c-2.9 .1-5.7 .2-8.6 .2C141.1 464 48 370.9 48 256S141.1 48 256 48s208 93.1 208 208c0 .7 0 1.4 0 2.2zm48 .5c0-.9 0-1.8 0-2.7C512 114.6 397.4 0 256 0S0 114.6 0 256S114.6 512 256 512c3.5 0 7.1-.1 10.6-.2c31.8-1.3 53.4-30.1 53.4-62c0-14.5-6.1-28.3-12.1-42c-4.3-9.8-8.7-19.7-10.8-29.9c-.7-3.2-1-6.5-1-9.9c0-26.5 21.5-48 48-48l97.9 0c36.5 0 69.7-24.8 70.1-61.3zM160 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-64a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm128-64a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm64 64a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.fy=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},37522(f,d){"use strict";var e;e={value:!0};var n="far",r="paste",a=512,i=512,s=["file-clipboard"],u="f0ea",l="M104.6 48L64 48C28.7 48 0 76.7 0 112L0 384c0 35.3 28.7 64 64 64l96 0 0-48-96 0c-8.8 0-16-7.2-16-16l0-272c0-8.8 7.2-16 16-16l16 0c0 17.7 14.3 32 32 32l72.4 0C202 108.4 227.6 96 256 96l62 0c-7.1-27.6-32.2-48-62-48l-40.6 0C211.6 20.9 188.2 0 160 0s-51.6 20.9-55.4 48zM144 56a16 16 0 1 1 32 0 16 16 0 1 1 -32 0zM448 464l-192 0c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l140.1 0L464 243.9 464 448c0 8.8-7.2 16-16 16zM256 512l192 0c35.3 0 64-28.7 64-64l0-204.1c0-12.7-5.1-24.9-14.1-33.9l-67.9-67.9c-9-9-21.2-14.1-33.9-14.1L256 128c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.R9=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},62663(f,d){"use strict";var e;e={value:!0};var n="far",r="pause",a=320,i=512,s=[9208],u="f04c",l="M48 112l0 288 48 0 0-288-48 0zM0 112C0 85.5 21.5 64 48 64l48 0c26.5 0 48 21.5 48 48l0 288c0 26.5-21.5 48-48 48l-48 0c-26.5 0-48-21.5-48-48L0 112zm224 0l0 288 48 0 0-288-48 0zm-48 0c0-26.5 21.5-48 48-48l48 0c26.5 0 48 21.5 48 48l0 288c0 26.5-21.5 48-48 48l-48 0c-26.5 0-48-21.5-48-48l0-288z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.G1=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},59968(f,d){"use strict";var e;e={value:!0};var n="far",r="pen-line",a=576,i=512,s=[],u="e212",l="M13.4 439l23-78.1c4.2-14.1 11.8-27 22.2-37.4L362.7 19.3c25-25 65.5-25 90.5 0l39.4 39.4c3.1 3.1 5.9 6.5 8.2 10c16.4 24.8 13.7 58.6-8.2 80.5L188.5 453.4c-1.3 1.3-2.6 2.6-4 3.8c-9.6 8.5-21 14.8-33.4 18.4L73 498.6 30.8 511c-8.4 2.5-17.5 .2-23.7-6.1S-1.5 489.7 1 481.2L13.4 439zm62.2-41.2L59.4 452.6l54.8-16.1 23.4-6.9c6.4-1.9 12.3-5.4 17-10.1L383 191 321 129 92.5 357.4c-.6 .6-1.2 1.2-1.7 1.8c-3.9 4.4-6.7 9.6-8.4 15.2l-6.9 23.4zM248 464l304 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-304 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.pg=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},28052(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e="far",n="pen-to-square",r=512,a=512,i=["edit"],s="f044",u="M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424
9134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152L0 424c0 48.6 39.4 88 88 88l272 0c48.6 0 88-39.4 88-88l0-112c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 112c0 22.1-17.9 40-40 40L88 464c-22.1 0-40-17.9-40-40l0-272c0-22.1 17.9-40 40-40l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L88 64z";d.definition={prefix:e,iconName:n,icon:[r,a,i,s,u]},d.faPenToSquare=d.definition,d.prefix=e,d.iconName=n,d.width=r,d.height=a,d.ligatures=i,d.unicode=s,d.svgPathData=u,d.aliases=i},55856(f,d){"use strict";var e;e={value:!0};var n="far",r="pencil",a=512,i=512,s=[9999,61504,"pencil-alt"],u="f303",l="M36.4 360.9L13.4 439 1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1L73 498.6l78.1-23c10.4-3 20.1-8 28.6-14.5l.3 .2 .5-.8c1.4-1.1 2.7-2.2 4-3.3c1.4-1.2 2.7-2.5 4-3.8L492.7 149.3c21.9-21.9 24.6-55.6 8.2-80.5c-2.3-3.5-5.1-6.9-8.2-10L453.3 19.3c-25-25-65.5-25-90.5 0L58.6 323.5c-2.5 2.5-4.9 5.2-7.1 8l-.8 .5 .2 .3c-6.5 8.5-11.4 18.2-14.5 28.6zM383 191L197.4 376.6l-49.6-12.4-12.4-49.6L321 129 383 191zM97 358.9l7.7 31c2.1 8.6 8.9 15.3 17.5 17.5l31 7.7-7.4 11.2c-2.6 1.4-5.3 2.6-8.1 3.4l-23.4 6.9L59.4 452.6l16.1-54.8 6.9-23.4c.8-2.8 2-5.6 3.4-8.1L97 358.9zM315.3 218.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-96 96c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l96-96z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.zL=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},91463(f,d){"use strict";var e;e={value:!0};var n="far",r="photo-film",a=640,i=512,s=["photo-video"],u="f87c",l="M256 48c-8.8 0-16 7.2-16 16l0 224c0 8.7 6.9 15.8 15.6 16l69.1-94.2c4.5-6.2 11.7-9.8 19.4-9.8s14.8 3.6 19.4 9.8L380 232.4l56-85.6c4.4-6.8 12-10.9 20.1-10.9s15.7 4.1 20.1 10.9L578.7 303.8c7.6-1.3 13.3-7.9 13.3-15.8l0-224c0-8.8-7.2-16-16-16L256 48zM192 64c0-35.3 28.7-64 64-64L576 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64l-320 0c-35.3 0-64-28.7-64-64l0-224zm-56 64l24 0 0 48 0 88 0 112 0 8 0 80 192 0 0-80 48 0 0 80 48 0c8.8 0 16-7.2 16-16l0-64 48 0 0 64c0 35.3-28.7 64-64 64l-48 0-24 0-24 0-192 0-24 0-24 0-48 0c-35.3 0-64-28.7-64-64L0 192c0-35.3 28.7-64 64-64l48 0 24 0zm-24 48l-48 0c-8.8 0-16 7.2-16 16l0 48 64 0 0-64zm0 288l0-64-64 0 0 48c0 8.8 7.2 16 16 16l48 0zM48 352l64 0 0-64-64 0 0 64zM304 80a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d._Z=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},29135(f,d){"use strict";var e;e={value:!0};var n="far",r="play",a=384,i=512,s=[9654],u="f04b",l="M48 432L336 256 48 80l0 352zM24.5 38.1C39.7 29.6 58.2 30 73 39L361 215c14.3 8.7 23 24.2 23 41s-8.7 32.2-23 41L73 473c-14.8 9.1-33.4 9.4-48.5 .9S0 449.4 0 432L0 80C0 62.6 9.4 46.6 24.5 38.1z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.ij=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},12989(f,d){"use strict";var e;e={value:!0};var n="far",r="plus",a=448,i=512,s=[10133,61543,"add"],u="2b",l="M248 72c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 160L40 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l160 0 0 160c0 13.3 10.7 24 24 24s24-10.7 24-24l0-160 160 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-160 0 0-160z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.QL=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},65222(f,d){"use strict";var e;e={value:!0};var n="far",r="plus-large",a=512,i=512,s=[],u="e59e",l="M488 232c13.3 0 24 10.7 24 24s-10.7 24-24 24l-208 0 0 208c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-208L24 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l208 0 0-208c0-13.3 10.7-24 24-24s24 10.7 24 24l0 208 208 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.TS=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},98108(f,d){"use strict";var e;e={value:!0};var n="far",r="quote-left",a=448,i=512,s=[8220,"quote-left-alt"],u="f10d",l="M0 216C0 149.7 53.7 96 120 96l16 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-16 0c-39.8 0-72 32.2-72 72l0 10c5.1-1.3 10.5-2 16-2l64 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64l-64 0c-35.3 0-64-28.7-64-64l0-32 0-32 0-72zm48 72l0 32 0 32c0 8.8 7.2 16 16 16l64 0c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-64 0c-8.8 0-16 7.2-16 16zm336-16l-64 0c-8.8 0-16 7.2-16 16l0 32 0 32c0 8.8 7.2 16 16 16l64 0c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16zM256 320l0-32 0-72c0-66.3 53.7-120 120-120l16 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-16 0c-39.8 0-72 32.2-72 72l0 10c5.1-1.3 10.5-2 16-2l64 0c35.3 0 64 28.7 64 64l0 64c0 35.3-28.7 64-64 64l-64 0c-35.3 0-64-28.7-64-64l0-32z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.$7=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},38964(f,d){"use strict";var e;e={value:!0};var n="far",r="rectangle",a=512,i=512,s=[9644,"rectangle-landscape"],u="f2fa",l="M448 112c8.8 0 16 7.2 16 16l0 256c0 8.8-7.2 16-16 16L64 400c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l384 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.vt=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},17318(f,d){"use strict";var e;e={value:!0};var n="far",r="rectangle-history-circle-plus",a=640,i=512,s=[],u="e4a3",l="M64 464l284.5 0c12.3 18.8 28 35.1 46.3 48L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64l384 0c23.8 0 44.5 12.9 55.5 32.2c-2.5-.1-5-.2-7.5-.2c-26.2 0-51.1 5.7-73.4
916L64 208c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16zM440 80c13.3 0 24 10.7 24 24s-10.7 24-24 24L72 128c-13.3 0-24-10.7-24-24s10.7-24 24-24l368 0zM392 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L120 48c-13.3 0-24-10.7-24-24s10.7-24 24-24L392 0zM496 224a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm16 80c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 48-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l48 0 0 48c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48 48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-48 0 0-48z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Hu=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},76664(f,d){"use strict";var e;e={value:!0};var n="far",r="rectangle-vertical-history",a=576,i=512,s=[],u="e237",l="M256 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-384c0-8.8-7.2-16-16-16L256 48zM192 64c0-35.3 28.7-64 64-64L512 0c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64l-256 0c-35.3 0-64-28.7-64-64l0-384zM96 72c0-13.3 10.7-24 24-24s24 10.7 24 24l0 368c0 13.3-10.7 24-24 24s-24-10.7-24-24L96 72zM0 120c0-13.3 10.7-24 24-24s24 10.7 24 24l0 272c0 13.3-10.7 24-24 24s-24-10.7-24-24L0 120z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Lt=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},95342(f,d){"use strict";var e;e={value:!0};var n="far",r="rocket",a=512,i=512,s=[],u="f135",l="M368.3 265c-44.5 30.1-129.3 68.2-175.7 88l-35-35c20.4-46.1 59.2-130 89.3-174.4C309.1 52 398.4 41.8 461.7 50.3c8.5 63.3-1.7 152.6-93.3 214.7zM118.5 288c-3.6 8-6.8 15.2-9.4 21.2c-5.2 11.9-2.5 25.7 6.7 34.9l50.7 50.7c9.1 9.1 22.7 11.9 34.5 6.9c6.5-2.7 14.3-6 23-9.8l0 96.2c0 8.6 4.6 16.6 12.1 20.9s16.7 4.2 24.1-.2l88.5-52.5c21.9-13 35.3-36.5 35.3-61.9l0-82.1c4-2.5 7.7-4.9 11.3-7.3C516.1 222.9 520.1 100.9 506.7 28.1c-2.1-11.6-11.2-20.6-22.8-22.8C411.1-8.1 289.1-4.1 207.2 116.7c-2.4 3.6-4.9 7.3-7.3 11.3l-82.1 0c-25.4 0-49 13.4-61.9 35.3L3.4 251.8c-4.4 7.4-4.5 16.6-.2 24.1S15.4 288 24 288l94.5 0zM408 144a40 40 0 1 0 -80 0 40 40 0 1 0 80 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.KM=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},72981(f,d){"use strict";var e;e={value:!0};var n="far",r="ruler-horizontal",a=640,i=512,s=[],u="f547",l="M48 320c0 8.8 7.2 16 16 16l512 0c8.8 0 16-7.2 16-16l0-128c0-8.8-7.2-16-16-16l-48 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-64 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-64 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-64 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-64 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-48 0c-8.8 0-16 7.2-16 16l0 128zm16 64c-35.3 0-64-28.7-64-64L0 192c0-35.3 28.7-64 64-64l512 0c35.3 0 64 28.7 64 64l0 128c0 35.3-28.7 64-64 64L64 384z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Si=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},47689(f,d){"use strict";var e;e={value:!0};var n="far",r="ruler-triangle",a=512,i=512,s=[128208],u="f61c",l="M48 448L48 67.9l66.7 66.7-14.1 14.1c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l14.1-14.1 57.4 57.4-14.1 14.1c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l14.1-14.1 57.4 57.4-14.1 14.1c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l14.1-14.1 57.4 57.4-14.1 14.1c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l14.1-14.1L444.1 464 64 464c-8.8 0-16-7.2-16-16zm454.6 6.6L57.4 9.4C51.4 3.4 43.2 0 34.7 0L32 0C14.3 0 0 14.3 0 32L0 448c0 35.3 28.7 64 64 64l416 0c17.7 0 32-14.3 32-32l0-2.7c0-8.5-3.4-16.6-9.4-22.6zM128 256l0 128 128 0L128 256z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.cb=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},38242(f,d){"use strict";var e;e={value:!0};var n="far",r="sparkles",a=512,i=512,s=[10024],u="f890",l="M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5L26.3 277l8.1 3.7 .6 .3 88.3 40.8L164.1 410l.3 .6 3.7 8.1 7.9 17.1c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l7.9-17.1 3.7-8.1 .3-.6 40.8-88.3L346 281l.6-.3 8.1-3.7 17.1-7.9c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5l-17.1-7.9-8.1-3.7-.6-.3-88.3-40.8L217 99.1l-.3-.6L213 90.3l-7.9-17.1c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3l-7.9 17.1-3.7 8.1-.3 .6-40.8 88.3L35.1 228.1l-.6 .3-8.1 3.7L9.3 240zm83 14.5l51.2-23.6c10.4-4.8 18.7-13.1 23.5-23.5l23.6-51.2 23.6 51.2c4.8 10.4 13.1 18.7 23.5 23.5l51.2 23.6-51.2 23.6c-10.4 4.8-18.7 13.1-23.5 23.5l-23.6 51.2-23.6-51.2c-4.8-10.4-13.1-18.7-23.5-23.5L92.3 254.6zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.p7=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},22191(f,d){"use strict";var e;e={value:!0};var n="far",r="spinner-third",a=512,i=512,s=[],u="f3f4",l="M457 372c11.5 6.6 26.3 2.7 31.8-9.3C503.7 330.2 512 294.1 512 256C512 122.7 410.1 13.2 280 1.1C266.8-.1 256 10.7 256 24s10.8 23.9 24 25.4C383.5 61.2 464 149.2 464 256c0 29.3-6.1 57.3-17 82.6c-5.3 12.2-1.5 26.8 10 33.5z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.sq=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},73350(f,d){"use strict";var e;e={value:!0};var n="far",r="square",a=448,i=512,s=[9632,9723,9724,61590],u="f0c8",l="M384 80c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Nf=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},48625(f,d){"use strict";var e;e={value:!0};var n="far",r="square-arrow-down",a=448,i=512,s=["arrow-square-down"],u="f339",l="M384 432c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0zm64-16c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320zM207 393l-88-88c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L200 136c0-13.3 10.7-24 24-24s24 10.7 24 24l0 182.1 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-88 88c-9.4 9.4-24.6 9.4-33.9 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Y1=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},19027(f,d){"use strict";var e;e={value:!0};var n="far",r="square-arrow-right",a=448,i=512,s=["arrow-square-right"],u="f33b",l="M400 96c0-8.8-7.2-16-16-16L64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320zM384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM361 273l-88 88c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47L104 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l182.1 0-47-47c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l88 88c9.4 9.4 9.4 24.6 0 33.9z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.mT=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},51844(f,d){"use strict";var e;e={value:!0};var n="far",r="square-arrow-up-right",a=448,i=512,s=["external-link-square"],u="f14c",l="M384 80c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l320 0zm64 16c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320zM160 144c-13.3 0-24 10.7-24 24s10.7 24 24 24l94.1 0L119 327c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l135-135L288 328c0 13.3 10.7 24 24 24s24-10.7 24-24l0-160c0-13.3-10.7-24-24-24l-152 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.fL=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},18084(f,d){"use strict";var e;e={value:!0};var n="far",r="square-check",a=448,i=512,s=[9745,9989,61510,"check-square"],u="f14a",l="M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Dn=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},10526(f,d){"use strict";var e;e={value:!0};var n="far",r="square-info",a=448,i=512,s=[8505,"info-square"],u="f30f",l="M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM184 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Lg=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},11670(f,d){"use strict";var e;e={value:!0};var n="far",r="square-plus",a=448,i=512,s=[61846,"plus-square"],u="f0fe",l="M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM200 344l0-64-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Vd=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},70185(f,d){"use strict";var e;e={value:!0};var n="far",r="stopwatch",a=448,i=512,s=[9201],u="f2f2",l="M144 24c0-13.3 10.7-24 24-24L280 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-32 0 0 49.4c43.4 5 82.8 23.3 113.8 50.9L391 119c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-31 31c24 33.9 38.1 75.3 38.1 120c0 114.9-93.1 208-208 208S16 418.9 16 304C16 197.2 96.4 109.3 200 97.4L200 48l-32 0c-13.3 0-24-10.7-24-24zm80 440a160 160 0 1 0 0-320 160 160 0 1 0 0 320zm24
9-248l0 104c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-104c0-13.3 10.7-24 24-24s24 10.7 24 24z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.nw=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},29533(f,d){"use strict";var e;e={value:!0};var n="far",r="table",a=512,i=512,s=[],u="f0ce",l="M48 264l0-104 184 0 0 104L48 264zm0 48l184 0 0 120L64 432c-8.8 0-16-7.2-16-16l0-104zM280 432l0-120 184 0 0 104c0 8.8-7.2 16-16 16l-168 0zM464 264l-184 0 0-104 184 0 0 104zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.w9=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},27737(f,d){"use strict";var e;e={value:!0};var n="far",r="tag",a=448,i=512,s=[127991],u="f02b",l="M197.5 32c17 0 33.3 6.7 45.3 18.7l176 176c25 25 25 65.5 0 90.5L285.3 450.7c-25 25-65.5 25-90.5 0l-176-176C6.7 262.7 0 246.5 0 229.5L0 80C0 53.5 21.5 32 48 32l149.5 0zM48 229.5c0 4.2 1.7 8.3 4.7 11.3l176 176c6.2 6.2 16.4 6.2 22.6 0L384.8 283.3c6.2-6.2 6.2-16.4 0-22.6l-176-176c-3-3-7.1-4.7-11.3-4.7L48 80l0 149.5zM112 112a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d._2=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},71294(f,d){"use strict";var e;e={value:!0};var n="far",r="text",a=448,i=512,s=[],u="f893",l="M48 80l0 48c0 13.3-10.7 24-24 24s-24-10.7-24-24L0 72C0 49.9 17.9 32 40 32l368 0c22.1 0 40 17.9 40 40l0 56c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-48L248 80l0 352 48 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0 0-352L48 80z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.jw=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},78003(f,d){"use strict";var e;e={value:!0};var n="far",r="trash",a=448,i=512,s=[],u="f1f8",l="M177.1 48l93.7 0c2.7 0 5.2 1.3 6.7 3.6l19 28.4-145 0 19-28.4c1.5-2.2 4-3.6 6.7-3.6zM354.2 80L317.5 24.9C307.1 9.4 289.6 0 270.9 0L177.1 0c-18.7 0-36.2 9.4-46.6 24.9L93.8 80 80.1 80 32 80l-8 0C10.7 80 0 90.7 0 104s10.7 24 24 24l11.6 0L59.6 452.7c2.5 33.4 30.3 59.3 63.8 59.3l201.1 0c33.5 0 61.3-25.9 63.8-59.3L412.4 128l11.6 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0-48.1 0-13.7 0zm10.1 48L340.5 449.2c-.6 8.4-7.6 14.8-16 14.8l-201.1 0c-8.4 0-15.3-6.5-16-14.8L83.7 128l280.6 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.yL=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},63033(f,d){"use strict";var e;e={value:!0};var n="far",r="trash-can",a=448,i=512,s=[61460,"trash-alt"],u="f2ed",l="M170.5 51.6L151.5 80l145 0-19-28.4c-1.5-2.2-4-3.6-6.7-3.6l-93.7 0c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80 368 80l48 0 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 304c0 44.2-35.8 80-80 80l-224 0c-44.2 0-80-35.8-80-80l0-304-8 0c-13.3 0-24-10.7-24-24S10.7 80 24 80l8 0 48 0 13.8 0 36.7-55.1C140.9 9.4 158.4 0 177.1 0l93.7 0c18.7 0 36.2 9.4 46.6 24.9zM80 128l0 304c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32l0-304L80 128zm80 64l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.sj=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},67361(f,d){"use strict";var e;e={value:!0};var n="far",r="users",a=640,i=512,s=[],u="f0c0",l="M144 160A80 80 0 1 0 144 0a80 80 0 1 0 0 160zm368 0A80 80 0 1 0 512 0a80 80 0 1 0 0 160zM0 298.7C0 310.4 9.6 320 21.3 320l213.3 0c.2 0 .4 0 .7 0c-26.6-23.5-43.3-57.8-43.3-96c0-7.6 .7-15 1.9-22.3c-13.6-6.3-28.7-9.7-44.6-9.7l-42.7 0C47.8 192 0 239.8 0 298.7zM405.3 320l213.3 0c11.8 0 21.3-9.6 21.3-21.3C640 239.8 592.2 192 533.3 192l-42.7 0c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 38.2-16.8 72.5-43.3 96c.2 0 .4 0 .7 0zM320 176a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm0 144a96 96 0 1 0 0-192 96 96 0 1 0 0 192zm-58.7 80l117.3 0c39.8 0 73.2 27.2 82.6 64l-282.6 0c9.5-36.8 42.9-64 82.6-64zm0-48C187.7 352 128 411.7 128 485.3c0 14.7 11.9 26.7 26.7 26.7l330.7 0c14.7 0 26.7-11.9 26.7-26.7C512 411.7 452.3 352 378.7 352l-117.3 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.gd=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},53886(f,d){"use strict";var e;e={value:!0};var n="far",r="video",a=576,i=512,s=["video-camera"],u="f03d",l="M64 112c-8.8 0-16 7.2-16 16l0 256c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-256c0-8.8-7.2-16-16-16L64 112zM0 128C0 92.7 28.7 64 64 64l256 0c35.3 0 64 28.7 64 64l0 33 0 190 0 33c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128zM528 363.4l0-214.7L416 199l0-52.6L52
90.3 99.5c5.1-2.3 10.6-3.5 16.2-3.5c21.8 0 39.5 17.7 39.5 39.5l0 241c0 21.8-17.7 39.5-39.5 39.5c-5.6 0-11.1-1.2-16.2-3.5L416 365.6l0-52.6 112 50.4z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.n2=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},3079(f,d){"use strict";var e;e={value:!0};var n="far",r="volume",a=576,i=512,s=[128265,"volume-medium"],u="f6a8",l="M191.9 201.9L304 102.3l0 307.3L191.9 310.1c-4.4-3.9-10.1-6.1-15.9-6.1l-88 0c-4.4 0-8-3.6-8-8l0-80c0-4.4 3.6-8 8-8l88 0c5.9 0 11.6-2.2 15.9-6.1zM322.2 32c-7.3 0-14.3 2.7-19.8 7.5L166.9 160 88 160c-30.9 0-56 25.1-56 56l0 80c0 30.9 25.1 56 56 56l78.9 0L302.4 472.5c5.5 4.8 12.5 7.5 19.8 7.5c16.5 0 29.8-13.3 29.8-29.8l0-388.4C352 45.3 338.7 32 322.2 32zm182.9 75c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C507.3 170.7 528 210.9 528 256s-20.7 85.3-53.2 111.8c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5c43.2-35.2 70.9-88.9 70.9-149s-27.7-113.8-70.9-149zm-60.5 74.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C425.1 227.6 432 241 432 256s-6.9 28.4-17.7 37.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C466.1 312.9 480 286.1 480 256s-13.9-56.9-35.4-74.5z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.eF=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},1875(f,d){"use strict";var e;e={value:!0};var n="far",r="volume-high",a=640,i=512,s=[128266,"volume-up"],u="f028",l="M533.6 32.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C557.5 113.8 592 180.8 592 256s-34.5 142.2-88.7 186.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C598.5 426.7 640 346.2 640 256s-41.5-170.8-106.4-223.5zM473.1 107c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C475.3 170.7 496 210.9 496 256s-20.7 85.3-53.2 111.8c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5c43.2-35.2 70.9-88.9 70.9-149s-27.7-113.8-70.9-149zm-60.5 74.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C393.1 227.6 400 241 400 256s-6.9 28.4-17.7 37.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C434.1 312.9 448 286.1 448 256s-13.9-56.9-35.4-74.5zM159.9 201.9L272 102.3l0 307.3L159.9 310.1c-4.4-3.9-10.1-6.1-15.9-6.1l-88 0c-4.4 0-8-3.6-8-8l0-80c0-4.4 3.6-8 8-8l88 0c5.9 0 11.6-2.2 15.9-6.1zM290.2 32c-7.3 0-14.3 2.7-19.8 7.5L134.9 160 56 160c-30.9 0-56 25.1-56 56l0 80c0 30.9 25.1 56 56 56l78.9 0L270.4 472.5c5.5 4.9 12.5 7.5 19.8 7.5c16.5 0 29.8-13.3 29.8-29.8l0-388.4C320 45.3 306.7 32 290.2 32z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.AI=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},19341(f,d){"use strict";var e;e={value:!0};var n="far",r="volume-low",a=448,i=512,s=[128264,"volume-down"],u="f027",l="M159.9 201.9L272 102.3l0 307.3L159.9 310.1c-4.4-3.9-10.1-6.1-15.9-6.1l-88 0c-4.4 0-8-3.6-8-8l0-80c0-4.4 3.6-8 8-8l88 0c5.9 0 11.6-2.2 15.9-6.1zM290.2 32c-7.3 0-14.3 2.7-19.8 7.5L134.9 160 56 160c-30.9 0-56 25.1-56 56l0 80c0 30.9 25.1 56 56 56l78.9 0L270.4 472.5c5.5 4.8 12.5 7.5 19.8 7.5c16.5 0 29.8-13.3 29.8-29.8l0-388.4C320 45.3 306.7 32 290.2 32zM412.6 181.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C393.1 227.6 400 241 400 256s-6.9 28.4-17.7 37.3c-10.3 8.4-11.8 23.5-3.5 33.8s23.5 11.8 33.8 3.5C434.1 312.9 448 286.1 448 256s-13.9-56.9-35.4-74.5z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.gN=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},85034(f,d){"use strict";var e;e={value:!0};var n="far",r="volume-xmark",a=576,i=512,s=["volume-mute","volume-times"],u="f6a9",l="M159.9 201.9L272 102.3l0 307.3L159.9 310.1c-4.4-3.9-10.1-6.1-15.9-6.1l-88 0c-4.4 0-8-3.6-8-8l0-80c0-4.4 3.6-8 8-8l88 0c5.9 0 11.6-2.2 15.9-6.1zM290.2 32c-7.3 0-14.3 2.7-19.8 7.5L134.9 160 56 160c-30.9 0-56 25.1-56 56l0 80c0 30.9 25.1 56 56 56l78.9 0L270.4 472.5c5.5 4.8 12.5 7.5 19.8 7.5c16.5 0 29.8-13.3 29.8-29.8l0-388.4C320 45.3 306.7 32 290.2 32zM425 167c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l55 55-55 55c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l55-55 55 55c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-55-55 55-55c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-55 55-55-55z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.H_=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},23851(f,d){"use strict";var e;e={value:!0};var n="far",r="wand-magic-sparkles",a=576,i=512,s=["magic-wand-sparkles"],u="e2ca",l="M234.7 42.7L197 56.8c-3 1.1-5 4-5 7.2s2 6.1 5 7.2l37.7 14.1L248.8 123c1.1 3 4 5 7.2 5s6.1-2 7.2-5l14.1-37.7L315 71.2c3-1.1 5-4 5-7.2s-2-6.1-5-7.2L277.3 42.7 263.2 5c-1.1-3-4-5-7.2-5s-6.1 2-7.2 5L234.7 42.7zM4
961.4 48L496 82.6 386.2 192.3l-34.6-34.6L461.4 48zM80 429.4L317.7 191.7l34.6 34.6L114.6 464 80 429.4zM427.4 14.1L46.1 395.4c-18.7 18.7-18.7 49.1 0 67.9l34.6 34.6c18.7 18.7 49.1 18.7 67.9 0L529.9 116.5c18.7-18.7 18.7-49.1 0-67.9L495.3 14.1c-18.7-18.7-49.1-18.7-67.9 0zM7.5 117.2C3 118.9 0 123.2 0 128s3 9.1 7.5 10.8L64 160l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L128 160l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L128 96 106.8 39.5C105.1 35 100.8 32 96 32s-9.1 3-10.8 7.5L64 96 7.5 117.2zm352 256c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L416 416l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L480 416l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L480 352l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L416 352l-56.5 21.2z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Ys=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},42195(f,d){"use strict";var e;e={value:!0};var n="far",r="waveform-lines",a=640,i=512,s=["waveform-path"],u="f8f2",l="M320 0c13.3 0 24 10.7 24 24l0 464c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-464c0-13.3 10.7-24 24-24zM520 64c13.3 0 24 10.7 24 24l0 336c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-336c0-13.3 10.7-24 24-24zM216 96c13.3 0 24 10.7 24 24l0 272c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-272c0-13.3 10.7-24 24-24zm208 32c13.3 0 24 10.7 24 24l0 208c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-208c0-13.3 10.7-24 24-24zM120 192c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24zM24 224c13.3 0 24 10.7 24 24l0 16c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-16c0-13.3 10.7-24 24-24zm592 0c13.3 0 24 10.7 24 24l0 16c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-16c0-13.3 10.7-24 24-24z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Wx=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},98712(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e="far",n="xmark",r=384,a=512,i=[128473,10005,10006,10060,215,"close","multiply","remove","times"],s="f00d",u="M345 137c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-119 119L73 103c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l119 119L39 375c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l119-119L311 409c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-119-119L345 137z";d.definition={prefix:e,iconName:n,icon:[r,a,i,s,u]},d.faXmark=d.definition,d.prefix=e,d.iconName=n,d.width=r,d.height=a,d.ligatures=i,d.unicode=s,d.svgPathData=u,d.aliases=i},5684(f,d){"use strict";var e;e={value:!0};var n="fas",r="badge-check",a=512,i=512,s=[],u="f336",l="M256 0c36.8 0 68.8 20.7 84.9 51.1C373.8 41 411 49 437 75s34 63.3 23.9 96.1C491.3 187.2 512 219.2 512 256s-20.7 68.8-51.1 84.9C471 373.8 463 411 437 437s-63.3 34-96.1 23.9C324.8 491.3 292.8 512 256 512s-68.8-20.7-84.9-51.1C138.2 471 101 463 75 437s-34-63.3-23.9-96.1C20.7 324.8 0 292.8 0 256s20.7-68.8 51.1-84.9C41 138.2 49 101 75 75s63.3-34 96.1-23.9C187.2 20.7 219.2 0 256 0zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Zs=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},38899(f,d){"use strict";var e;e={value:!0};var n="fas",r="bars",a=448,i=512,s=["navicon"],u="f0c9",l="M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.ck=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},63570(f,d){"use strict";var e;e={value:!0};var n="fas",r="caret-down",a=320,i=512,s=[],u="f0d7",l="M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.xB=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},76578(f,d){"use strict";var e;e={value:!0};var n="fas",r="caret-right",a=256,i=512,s=[],u="f0da",l="M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.fU=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},80071(f,d){"use strict";var e;e={value:!0};var n="fas",r="chart-column",a=512,i=512,s=[],u="e0e3",l="M32 32c17.7 0 32 14.3 32 32l0 336c0 8.8 7.2 16 16 16l400 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L80 480c-44.2 0-80-35.8-80-80L0 64C0 46.3 14.3 32 32 32zM160 224c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32zm128-64l0 160c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-160c0-17.7 14.3-32 32-32s32 14.3 32 32zm64 32c17.7 0 32 14.3 32 32l0 96c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-96c0-17.7 14.3-32 32-32zM480 96l0 224c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-224c0-17.7 14.3-32 32-32s32 14.3 32 32z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.q9=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},70649(f,d){"use strict";var e;e={value:!0};var n="fas",r="check",a=448,i=512,s=[10003,10004],u="f00c",l="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.e6=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},24786(f,d){"use strict";var e;e={value:!0};var n="fas",r="chevron-down",a=512,i=512,s=[],u="f078",l="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Jt=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},4091(f,d){"use strict";var e;e={value:!0};var n="fas",r="chevron-left",a=320,i=512,s=[9001],u="f053",l="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Wz=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},50402(f,d){"use strict";var e;e={value:!0};var n="fas",r="chevron-right",a=320,i=512,s=[9002],u="f054",l="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Xk=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},94635(f,d){"use strict";var e;e={value:!0};var n="fas",r="chevron-up",a=512,i=512,s=[],u="f077",l="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.w2=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},83169(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle",a=512,i=512,s=[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],u="f111",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.GE=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},72844(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-arrow-right",a=512,i=512,s=["arrow-circle-right"],u="f0a9",l="M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM297 385c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l71-71L120 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l214.1 0-71-71c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L409 239c9.4 9.4 9.4 24.6 0 33.9L297 385z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Ni=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},22617(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-arrow-up",a=512,i=512,s=["arrow-circle-up"],u="f0aa",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM385 215c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-71-71L280 392c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-214.1-71 71c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 103c9.4-9.4 24.6-9.4 33.9 0L385 215z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.yi=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},13793(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-check",a=512,i=512,s=[61533,"check-circle"],u="f058",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.QR=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},74940(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-exclamation",a=512,i=512,s=["exclamation-circle"],u="f06a",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.lE=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},35965(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-plus",a=512,i=512,s=["plus-circle"],u="f055",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344l
90-64-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.q_=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},81958(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-small",a=320,i=512,s=[],u="e122",l="M0 256a160 160 0 1 1 320 0A160 160 0 1 1 0 256z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.ZP=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},43829(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-x",a=512,i=512,s=[],u="e12e",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM186.3 136.5L256 218.8l69.7-82.3c8.6-10.1 23.7-11.4 33.8-2.8s11.4 23.7 2.8 33.8L287.4 256l74.9 88.5c8.6 10.1 7.3 25.3-2.8 33.8s-25.3 7.3-33.8-2.8L256 293.2l-69.7 82.3c-8.6 10.1-23.7 11.4-33.8 2.8s-11.4-23.7-2.8-33.8L224.6 256l-74.9-88.5c-8.6-10.1-7.3-25.3 2.8-33.8s25.3-7.3 33.8 2.8z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Ub=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},93816(f,d){"use strict";var e;e={value:!0};var n="fas",r="circle-xmark",a=512,i=512,s=[61532,"times-circle","xmark-circle"],u="f057",l="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.bn=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},63467(f,d){"use strict";var e;e={value:!0};var n="fas",r="grid-2",a=512,i=512,s=[],u="e196",l="M224 80c0-26.5-21.5-48-48-48L80 32C53.5 32 32 53.5 32 80l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96zm0 256c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96zM288 80l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48zM480 336c0-26.5-21.5-48-48-48l-96 0c-26.5 0-48 21.5-48 48l0 96c0 26.5 21.5 48 48 48l96 0c26.5 0 48-21.5 48-48l0-96z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Qy=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},35349(f,d){"use strict";var e;e={value:!0};var n="fas",r="layer-group",a=576,i=512,s=[],u="f5fd",l="M264.5 5.2c14.9-6.9 32.1-6.9 47 0l218.6 101c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 149.8C37.4 145.8 32 137.3 32 128s5.4-17.9 13.9-21.8L264.5 5.2zM476.9 209.6l53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 277.8C37.4 273.8 32 265.3 32 256s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0l152-70.2zm-152 198.2l152-70.2 53.2 24.6c8.5 3.9 13.9 12.4 13.9 21.8s-5.4 17.9-13.9 21.8l-218.6 101c-14.9 6.9-32.1 6.9-47 0L45.9 405.8C37.4 401.8 32 393.3 32 384s5.4-17.9 13.9-21.8l53.2-24.6 152 70.2c23.4 10.8 50.4 10.8 73.8 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.qI=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},49378(f,d){"use strict";var e;e={value:!0};var n="fas",r="lock",a=448,i=512,s=[128274],u="f023",l="M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 16 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.DW=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},91021(f,d){"use strict";var e;e={value:!0};var n="fas",r="minus",a=448,i=512,s=[8211,8722,10134,"subtract"],u="f068",l="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.EZ=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},17151(f,d){"use strict";var e;e={value:!0};var n="fas",r="pause",a=320,i=512,s=[9208],u="f04c",l="M48 64C21.5 64 0 85.5 0 112L0 400c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48L48 64zm192 0c-26.5 0-48 21.5-48 48l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.G1=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},38231(f,d){"use strict";var e;e={value:!0};var n="fas",r="play",a=384,i=512,s=[9654],u="f04b",l="M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.ij=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},80693(f,d){"use strict";var e;e={value:!0};var n="fas",r="sliders-simple",a=512,i=512,s=[],u="e253",l="M96 320a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm90.5 0L480 320c17.7 0 32 14.3 32 32s-14.3 32-32 32l-293.5 0c-13.2 37.3-48.7 64-90.5 64c-53 0-96-43-96-96s43-96 96-96c41.8 0 77.4 26.7 90.5 64zM384 160a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zm-58.5-32c13.2-37.3 48.7-64 90.5-64c53 0 96 43 96 96s-43 96-96 96c-41.8 0-77.4-26.7-90.5-64L32 192c-17.7 0-32-14.3-32-32s14.3-32 32-32l293.5 0z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.AD=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},24330(f,d){"use strict";var e;e={value:!0};var n="fas",r="sparkles",a=512,i=512,s=[10024],u="f890",l="M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.p7=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},33500(f,d){"use strict";var e;e={value:!0};var n="fas",r="square-check",a=448,i=512,s=[9745,9989,61510,"check-square"],u="f14a",l="M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Dn=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},80343(f,d){"use strict";var e;e={value:!0};var n="fas",r="user-group",a=640,i=512,s=[128101,"user-friends"],u="f500",l="M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304l91.4 0C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7L29.7 512C13.3 512 0 498.7 0 482.3zM609.3 512l-137.8 0c5.4-9.4 8.6-20.3 8.6-32l0-8c0-60.7-27.1-115.2-69.8-151.8c2.4-.1 4.7-.2 7.1-.2l61.4 0C567.8 320 640 392.2 640 481.3c0 17-13.8 30.7-30.7 30.7zM432 256c-31 0-59-12.6-79.3-32.9C372.4 196.5 384 163.6 384 128c0-26.8-6.6-52.1-18.3-74.3C384.3 40.1 407.2 32 432 32c61.9 0 112 50.1 112 112s-50.1 112-112 112z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.US=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},53248(f,d){"use strict";var e;e={value:!0};var n="fas",r="xmark",a=384,i=512,s=[128473,10005,10006,10060,215,"close","multiply","remove","times"],u="f00d",l="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.Jy=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},35510(f,d){"use strict";var e;e={value:!0};var n="fat",r="pencil",a=512,i=512,s=[9999,61504,"pencil-alt"],u="f303",l="M395 25.9c12.5-12.5 32.8-12.5 45.3 0l45.8 45.8c12.5 12.5 12.5 32.8 0 45.3l-66.9 66.9L328.1 92.8 395 25.9zm-78.2 78.2l91.1 91.1L164.7 438.4c-1.5 1.5-3.1 3-4.7 4.4l0-34.8c0-4.4-3.6-8-8-8l-40 0 0-40c0-4.4-3.6-8-8-8l-34.8 0c1.4-1.6 2.9-3.2 4.4-4.7L316.8 104.1zM51.4 384.7c1.7-5.8 4-11.4 6.8-16.7L96 368l0 40c0 4.4 3.6 8 8 8l40 0 0 37.7c-5.3 2.8-10.9 5.1-16.7 6.8L19.8 492.2 51.4 384.7zm400.1-370c-18.7-18.7-49.1-18.7-67.9 0L62.3 336C50 348.3 41 363.5 36.1 380.2L.3 501.7c-.8 2.8-.1 5.8 2 7.9s5.1 2.8 7.9 2l121.6-35.8c16.7-4.9 31.9-13.9 44.2-26.2L497.4 128.3c18.7-18.7 18.7-49.1 0-67.9L451.5 14.6zM317.7 173.1c3.1-3.1 3.1-8.2 0-11.3s-8.2-3.1-11.3 0l-144 144c-3.1 3.1-3.1 8.2 0 11.3s8.2 3.1 11.3 0l144-144z";d.mw={prefix:n,iconName:r,icon:[a,i,s,u,l]},d.zL=d.mw,e=n,e=r,e=a,e=i,e=s,e=u,e=l,e=s},25609(f,d,e){"use strict";e.d(d,{g:()=>Tu});/*! 10 * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com 11 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) 12 * Copyright 2024 Fonticons, Inc. 13 */function n(Ae,qe,St){return(qe=l(qe))in Ae?Object.defineProperty(Ae,qe,{value:St,enumerable:!0,configurable:!0,writable:!0}):Ae[qe]=St,Ae}function r(Ae,qe){if(typeof qe!="function"&&qe!==null)throw new TypeError("Super expression must either be null or a function");Ae.prototype=Object.create(qe&&qe.prototype,{constructor:{value:Ae,writable:!0,configurable:!0}}),Object.defineProperty(Ae,"prototype",{writable:!1}),qe&&s(Ae,qe)}function a(Ae,qe){var St=Object.keys(Ae);if(Object.getOwnPropertySymbols){var Ft=Object.getOwnPropertySymbols(Ae);qe&&(Ft=Ft.filter(function(Jt){return Object.getOwnPropertyDescriptor(Ae,Jt).enumerable})),St.push.apply(St,Ft)}return St}function i(Ae){for(var qe=1;qe<arguments.length;qe++){var St=arguments[qe]!=null?arguments[qe]:{};
13qe%2?a(Object(St),!0).forEach(function(Ft){n(Ae,Ft,St[Ft])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ae,Object.getOwnPropertyDescriptors(St)):a(Object(St)).forEach(function(Ft){Object.defineProperty(Ae,Ft,Object.getOwnPropertyDescriptor(St,Ft))})}return Ae}function s(Ae,qe){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(St,Ft){return St.__proto__=Ft,St},s(Ae,qe)}function u(Ae,qe){if(typeof Ae!="object"||!Ae)return Ae;var St=Ae[Symbol.toPrimitive];if(St!==void 0){var Ft=St.call(Ae,qe||"default");if(typeof Ft!="object")return Ft;throw new TypeError("@@toPrimitive must return a primitive value.")}return(qe==="string"?String:Number)(Ae)}function l(Ae){var qe=u(Ae,"string");return typeof qe=="symbol"?qe:qe+""}function m(){m=function(Jt,Rr){return new St(Jt,void 0,Rr)};var Ae=RegExp.prototype,qe=new WeakMap;function St(Jt,Rr,On){var Kn=RegExp(Jt,Rr);return qe.set(Kn,On||qe.get(Jt)),s(Kn,St.prototype)}function Ft(Jt,Rr){var On=qe.get(Rr);return Object.keys(On).reduce(function(Kn,Bi){var ji=On[Bi];if(typeof ji=="number")Kn[Bi]=Jt[ji];else{for(var Xi=0;Jt[ji[Xi]]===void 0&&Xi+1<ji.length;)Xi++;Kn[Bi]=Jt[ji[Xi]]}return Kn},Object.create(null))}return r(St,RegExp),St.prototype.exec=function(Jt){var Rr=Ae.exec.call(this,Jt);if(Rr){Rr.groups=Ft(Rr,this);var On=Rr.indices;On&&(On.groups=Ft(On,this))}return Rr},St.prototype[Symbol.replace]=function(Jt,Rr){if(typeof Rr=="string"){var On=qe.get(this);return Ae[Symbol.replace].call(this,Jt,Rr.replace(/\$<([^>]+)>/g,function(Bi,ji){var Xi=On[ji];return"$"+(Array.isArray(Xi)?Xi.join("$"):Xi)}))}if(typeof Rr=="function"){var Kn=this;return Ae[Symbol.replace].call(this,Jt,function(){var Bi=arguments;return typeof Bi[Bi.length-1]!="object"&&(Bi=[].slice.call(Bi)).push(Ft(Bi,Kn)),Rr.apply(this,Bi)})}return Ae[Symbol.replace].call(this,Jt,Rr)},m.apply(this,arguments)}const g=()=>{};let h={},v={},b=null,T={mark:g,measure:g};try{typeof window<"u"&&(h=window),typeof document<"u"&&(v=document),typeof MutationObserver<"u"&&(b=MutationObserver),typeof performance<"u"&&(T=performance)}catch{}const{userAgent:E=""}=h.navigator||{},w=h,C=v,O=b,U=T,D=!!w.document,F=!!C.documentElement&&!!C.head&&typeof C.addEventListener=="function"&&typeof C.createElement=="function",j=~E.indexOf("MSIE")||~E.indexOf("Trident/");var M=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,W=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,V={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},q={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},J=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],re="classic",he="duotone",fe="sharp",ae="sharp-duotone",ye=[re,he,fe,ae],ve={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},Ue={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},We=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),de={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"}
vendor: 4,370 bytes, line 13
13,sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},xe=["fak","fa-kit","fakd","fa-kit-duotone"],Fe={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Xe=["kit"],Me={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},Ze=["fak","fakd"],rt={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},mt={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Xt={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},jt=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Lt=["fak","fa-kit","fakd","fa-kit-duotone"],Ht={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},vr={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Fr={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},fn={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Kr=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Sn=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...jt,...Kr],Fn=["solid","regular","light","thin","duotone","brands"],Et=[1,2,3,4,5,6,7,8,9,10],st=Et.concat([11,12,13,14,15,16,17,18,19,20]),Wr=[...Object.keys(Fr),...Fn,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Xt.GROUP,Xt.SWAP_OPACITY,Xt.PRIMARY,Xt.SECONDARY].concat(Et.map(Ae=>"".concat(Ae,"x"))).concat(st.map(Ae=>"w-".concat(Ae))),Dr={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const Tr="___FONT_AWESOME___",gr=16,ir="fa",Mr="svg-inline--fa",Lr="data-fa-i2svg",un="data-fa-pseudo-element",hn="data-fa-pseudo-element-pending",rr="data-prefix",Gr="data-icon",er="fontawesome-i2svg",At="async",dr=["HTML","HEAD","STYLE","SCRIPT"],Y=(()=>{try{return!0}catch{return!1}})();function ot(Ae){return new Proxy(Ae,{get(qe,St){return St in qe?qe[St]:qe[re]}})}const Yt=i({},V);Yt[re]=i(i(i(i({},{"fa-duotone":"duotone"}),V[re]),Fe.kit),Fe["kit-duotone"]);const it=ot(Yt),Mt=i({},de);Mt[re]=i(i(i(i({},{duotone:"fad"}),Mt[re]),mt.kit),mt["kit-duotone"]);const an=ot(Mt),Cn=i({},fn);Cn[re]=i(i({},Cn[re]),rt.kit);const Ln=ot(Cn),In=i({},vr);In[re]=i(i({},In[re]),Me.kit);const Si=ot(In),$i=M,tn="fa-layers-text",Hi=W,Ji=i({},ve),Yi=ot(Ji),Ki=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],mi=q,ws=[...Xe,...Wr],Zn=w.FontAwesomeConfig||{};function fs(Ae){var qe=C.querySelector("script["+Ae+"]");if(qe)return qe.getAttribute(Ae)}function cs(Ae){return Ae===""?!0:Ae==="false"?!1:Ae==="true"?!0:Ae}C&&typeof C.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEac
13h(qe=>{let[St,Ft]=qe;const Jt=cs(fs(St));Jt!=null&&(Zn[Ft]=Jt)});const vs={styleDefault:"solid",familyDefault:re,cssPrefix:ir,replacementClass:Mr,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Zn.familyPrefix&&(Zn.cssPrefix=Zn.familyPrefix);const wr=i(i({},vs),Zn);wr.autoReplaceSvg||(wr.observeMutations=!1);const we={};Object.keys(vs).forEach(Ae=>{Object.defineProperty(we,Ae,{enumerable:!0,set:function(qe){wr[Ae]=qe,Ke.forEach(St=>St(we))},get:function(){return wr[Ae]}})}),Object.defineProperty(we,"familyPrefix",{enumerable:!0,set:function(Ae){wr.cssPrefix=Ae,Ke.forEach(qe=>qe(we))},get:function(){return wr.cssPrefix}}),w.FontAwesomeConfig=we;const Ke=[];function ut(Ae){return Ke.push(Ae),()=>{Ke.splice(Ke.indexOf(Ae),1)}}const Kt=gr,ar={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Wn(Ae){if(!Ae||!F)return;const qe=C.createElement("style");qe.setAttribute("type","text/css"),qe.innerHTML=Ae;const St=C.head.childNodes;let Ft=null;for(let Jt=St.length-1;Jt>-1;Jt--){const Rr=St[Jt],On=(Rr.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(On)>-1&&(Ft=Rr)}return C.head.insertBefore(qe,Ft),Ae}const hi="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Tt(){let Ae=12,qe="";for(;Ae-- >0;)qe+=hi[Math.random()*62|0];return qe}function qr(Ae){const qe=[];for(let St=(Ae||[]).length>>>0;St--;)qe[St]=Ae[St];return qe}function Vr(Ae){return Ae.classList?qr(Ae.classList):(Ae.getAttribute("class")||"").split(" ").filter(qe=>qe)}function Or(Ae){return"".concat(Ae).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Pn(Ae){return Object.keys(Ae||{}).reduce((qe,St)=>qe+"".concat(St,'="').concat(Or(Ae[St]),'" '),"").trim()}function zr(Ae){return Object.keys(Ae||{}).reduce((qe,St)=>qe+"".concat(St,": ").concat(Ae[St].trim(),";"),"")}function Hn(Ae){return Ae.size!==ar.size||Ae.x!==ar.x||Ae.y!==ar.y||Ae.rotate!==ar.rotate||Ae.flipX||Ae.flipY}function fi(Ae){let{transform:qe,containerWidth:St,iconWidth:Ft}=Ae;const Jt={transform:"translate(".concat(St/2," 256)")},Rr="translate(".concat(qe.x*32,", ").concat(qe.y*32,") "),On="scale(".concat(qe.size/16*(qe.flipX?-1:1),", ").concat(qe.size/16*(qe.flipY?-1:1),") "),Kn="rotate(".concat(qe.rotate," 0 0)"),Bi={transform:"".concat(Rr," ").concat(On," ").concat(Kn)},ji={transform:"translate(".concat(Ft/2*-1," -256)")};return{outer:Jt,inner:Bi,path:ji}}function Ti(Ae){let{transform:qe,width:St=gr,height:Ft=gr,startCentered:Jt=!1}=Ae,Rr="";return Jt&&j?Rr+="translate(".concat(qe.x/Kt-St/2,"em, ").concat(qe.y/Kt-Ft/2,"em) "):Jt?Rr+="translate(calc(-50% + ".concat(qe.x/Kt,"em), calc(-50% + ").concat(qe.y/Kt,"em)) "):Rr+="translate(".concat(qe.x/Kt,"em, ").concat(qe.y/Kt,"em) "),Rr+="scale(".concat(qe.size/Kt*(qe.flipX?-1:1),", ").concat(qe.size/Kt*(qe.flipY?-1:1),") "),Rr+="rotate(".concat(qe.rotate,"deg) "),Rr}var ss=
vendor: 12,335 bytes, lines 13-566
13`:root, :host { 14 --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; 15 --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; 16 --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; 17 --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro"; 18 --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; 19 --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone"; 20 --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone"; 21 --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone"; 22 --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; 23 --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; 24 --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; 25 --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; 26 --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; 27 --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone"; 28 --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone"; 29 --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone"; 30 --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone"; 31} 32 33svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { 34 overflow: visible; 35 box-sizing: content-box; 36} 37 38.svg-inline--fa { 39 display: var(--fa-display, inline-block); 40 height: 1em; 41 overflow: visible; 42 vertical-align: -0.125em; 43} 44.svg-inline--fa.fa-2xs { 45 vertical-align: 0.1em; 46} 47.svg-inline--fa.fa-xs { 48 vertical-align: 0em; 49} 50.svg-inline--fa.fa-sm { 51 vertical-align: -0.0714285705em; 52} 53.svg-inline--fa.fa-lg { 54 vertical-align: -0.2em; 55} 56.svg-inline--fa.fa-xl { 57 vertical-align: -0.25em; 58} 59.svg-inline--fa.fa-2xl { 60 vertical-align: -0.3125em; 61} 62.svg-inline--fa.fa-pull-left { 63 margin-right: var(--fa-pull-margin, 0.3em); 64 width: auto; 65} 66.svg-inline--fa.fa-pull-right { 67 margin-left: var(--fa-pull-margin, 0.3em); 68 width: auto; 69} 70.svg-inline--fa.fa-li { 71 width: var(--fa-li-width, 2em); 72 top: 0.25em; 73} 74.svg-inline--fa.fa-fw { 75 width: var(--fa-fw-width, 1.25em); 76} 77 78.fa-layers svg.svg-inline--fa { 79 bottom: 0; 80 left: 0; 81 margin: auto; 82 position: absolute; 83 right: 0; 84 top: 0; 85} 86 87.fa-layers-counter, .fa-layers-text { 88 display: inline-block; 89 position: absolute; 90 text-align: center; 91} 92 93.fa-layers { 94 display: inline-block; 95 height: 1em; 96 position: relative; 97 text-align: center; 98 vertical-align: -0.125em; 99 width: 1em; 100} 101.fa-layers svg.svg-inline--fa { 102 transform-origin: center center; 103} 104 105.fa-layers-text { 106 left: 50%; 107 top: 50%; 108 transform: translate(-50%, -50%); 109 transform-origin: center center; 110} 111 112.fa-layers-counter { 113 background-color: var(--fa-counter-background-color, #ff253a); 114 border-radius: var(--fa-counter-border-radius, 1em); 115 box-sizing: border-box; 116 color: var(--fa-inverse, #fff); 117 line-height: var(--fa-counter-line-height, 1); 118 max-width: var(--fa-counter-max-width, 5em); 119 min-width: var(--fa-counter-min-width, 1.5em); 120 overflow: hidden; 121 padding: var(--fa-counter-padding, 0.25em 0.5em); 122 right: var(--fa-right, 0); 123 text-overflow: ellipsis; 124 top: var(--fa-top, 0); 125 transform: scale(var(--fa-counter-scale, 0.25)); 126 transform-origin: top right; 127} 128 129.fa-layers-bottom-right { 130 bottom: var(--fa-bottom, 0); 131 right: var(--fa-right, 0); 132 top: auto; 133 transform: scale(var(--fa-layers-scale, 0.25)); 134 transform-origin: bottom right; 135} 136 137.fa-layers-bottom-left { 138 bottom: var(--fa-bottom, 0); 139 left: var(--fa-left, 0); 140 right: auto; 141 top: auto; 142 transform: scale(var(--fa-layers-scale, 0.25)); 143 transform-origin: bottom left; 144} 145 146.fa-layers-top-right { 147 top: var(--fa-top, 0); 148 right: var(--fa-right, 0); 149 transform: scale(var(--fa-layers-scale, 0.25)); 150 transform-origin: top right; 151} 152 153.fa-layers-top-left { 154 left: var(--fa-left, 0); 155 right: auto; 156 top: var(--fa-top, 0); 157 transform: scale(var(--fa-layers-scale, 0.25)); 158 transform-origin: top left; 159} 160 161.fa-1x { 162 font-size: 1em; 163} 164 165.fa-2x { 166 font-size: 2em; 167} 168 169.fa-3x { 170 font-size: 3em; 171} 172 173.fa-4x { 174 font-size: 4em; 175} 176 177.fa-5x { 178 font-size: 5em; 179} 180 181.fa-6x { 182 font-size: 6em; 183} 184 185.fa-7x { 186 font-size: 7em; 187} 188 189.fa-8x { 190 font-size: 8em; 191} 192 193.fa-9x { 194 font-size: 9em; 195} 196 197.fa-10x { 198 font-size: 10em; 199} 200 201.fa-2xs { 202 font-size: 0.625em; 203 line-height: 0.1em; 204 vertical-align: 0.225em; 205} 206 207.fa-xs { 208 font-size: 0.75em; 209 line-height: 0.0833333337em; 210 vertical-align: 0.125em; 211} 212 213.fa-sm { 214 font-size: 0.875em; 215 line-height: 0.0714285718em; 216 vertical-align: 0.0535714295em; 217} 218 219.fa-lg { 220 font-size: 1.25em; 221 line-height: 0.05em; 222 vertical-align: -0.075em; 223} 224 225.fa-xl { 226 font-size: 1.5em; 227 line-height: 0.0416666682em; 228 vertical-align: -0.125em; 229} 230 231.fa-2xl { 232 font-size: 2em; 233 line-height: 0.03125em; 234 vertical-align: -0.1875em; 235} 236 237.fa-fw { 238 text-align: center; 239 width: 1.25em; 240} 241 242.fa-ul { 243 list-style-type: none; 244 margin-left: var(--fa-li-margin, 2.5em); 245 padding-left: 0; 246} 247.fa-ul > li { 248 position: relative; 249} 250 251.fa-li { 252 left: calc(-1 * var(--fa-li-width, 2em)); 253 position: absolute; 254 text-align: center; 255 width: var(--fa-li-width, 2em); 256 line-height: inherit; 257} 258 259.fa-border { 260 border-color: var(--fa-border-color, #eee); 261 border-radius: var(--fa-border-radius, 0.1em); 262 border-style: var(--fa-border-style, solid); 263 border-width: var(--fa-border-width, 0.08em); 264 padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); 265} 266 267.fa-pull-left { 268 float: left; 269 margin-right: var(--fa-pull-margin, 0.3em); 270} 271 272.fa-pull-right { 273 float: right; 274 margin-left: var(--fa-pull-margin, 0.3em); 275} 276 277.fa-beat { 278 animation-name: fa-beat; 279 animation-delay: var(--fa-animation-delay, 0s); 280 animation-direction: var(--fa-animation-direction, normal); 281 animation-duration: var(--fa-animation-duration, 1s); 282 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 283 animation-timing-function: var(--fa-animation-timing, ease-in-out); 284} 285 286.fa-bounce { 287 animation-name: fa-bounce; 288 animation-delay: var(--fa-animation-delay, 0s); 289 animation-direction: var(--fa-animation-direction, normal); 290 animation-duration: var(--fa-animation-duration, 1s); 291 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 292 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); 293} 294 295.fa-fade { 296 animation-name: fa-fade; 297 animation-delay: var(--fa-animation-delay, 0s); 298 animation-direction: var(--fa-animation-direction, normal); 299 animation-duration: var(--fa-animation-duration, 1s); 300 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 301 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); 302} 303 304.fa-beat-fade { 305 animation-name: fa-beat-fade; 306 animation-delay: var(--fa-animation-delay, 0s); 307 animation-direction: var(--fa-animation-direction, normal); 308 animation-duration: var(--fa-animation-duration, 1s); 309 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 310 animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); 311} 312 313.fa-flip { 314 animation-name: fa-flip; 315 animation-delay: var(--fa-animation-delay, 0s); 316 animation-direction: var(--fa-animation-direction, normal); 317 animation-duration: var(--fa-animation-duration, 1s); 318 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 319 animation-timing-function: var(--fa-animation-timing, ease-in-out); 320} 321 322.fa-shake { 323 animation-name: fa-shake; 324 animation-delay: var(--fa-animation-delay, 0s); 325 animation-direction: var(--fa-animation-direction, normal); 326 animation-duration: var(--fa-animation-duration, 1s); 327 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 328 animation-timing-function: var(--fa-animation-timing, linear); 329} 330 331.fa-spin { 332 animation-name: fa-spin; 333 animation-delay: var(--fa-animation-delay, 0s); 334 animation-direction: var(--fa-animation-direction, normal); 335 animation-duration: var(--fa-animation-duration, 2s); 336 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 337 animation-timing-function: var(--fa-animation-timing, linear); 338} 339 340.fa-spin-reverse { 341 --fa-animation-direction: reverse; 342} 343 344.fa-pulse, 345.fa-spin-pulse { 346 animation-name: fa-spin; 347 animation-direction: var(--fa-animation-direction, normal); 348 animation-duration: var(--fa-animation-duration, 1s); 349 animation-iteration-count: var(--fa-animation-iteration-count, infinite); 350 animation-timing-function: var(--fa-animation-timing, steps(8)); 351} 352 353@media (prefers-reduced-motion: reduce) { 354 .fa-beat, 355.fa-bounce, 356.fa-fade, 357.fa-beat-fade, 358.fa-flip, 359.fa-pulse, 360.fa-shake, 361.fa-spin, 362.fa-spin-pulse { 363 animation-delay: -1ms; 364 animation-duration: 1ms; 365 animation-iteration-count: 1; 366 transition-delay: 0s; 367 transition-duration: 0s; 368 } 369} 370@keyframes fa-beat { 371 0%, 90% { 372 transform: scale(1); 373 } 374 45% { 375 transform: scale(var(--fa-beat-scale, 1.25)); 376 } 377} 378@keyframes fa-bounce { 379 0% { 380 transform: scale(1, 1) translateY(0); 381 } 382 10% { 383 transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); 384 } 385 30% { 386 transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); 387 } 388 50% { 389 transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); 390 } 391 57% { 392 transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); 393 } 394 64% { 395 transform: scale(1, 1) translateY(0); 396 } 397 100% { 398 transform: scale(1, 1) translateY(0); 399 } 400} 401@keyframes fa-fade { 402 50% { 403 opacity: var(--fa-fade-opacity, 0.4); 404 } 405} 406@keyframes fa-beat-fade { 407 0%, 100% { 408 opacity: var(--fa-beat-fade-opacity, 0.4); 409 transform: scale(1); 410 } 411 50% { 412 opacity: 1; 413 transform: scale(var(--fa-beat-fade-scale, 1.125)); 414 } 415} 416@keyframes fa-flip { 417 50% { 418 transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); 419 } 420} 421@keyframes fa-shake { 422 0% { 423 transform: rotate(-15deg); 424 } 425 4% { 426 transform: rotate(15deg); 427 } 428 8%, 24% { 429 transform: rotate(-18deg); 430 } 431 12%, 28% { 432 transform: rotate(18deg); 433 } 434 16% { 435 transform: rotate(-22deg); 436 } 437 20% { 438 transform: rotate(22deg); 439 } 440 32% { 441 transform: rotate(-12deg); 442 } 443 36% { 444 transform: rotate(12deg); 445 } 446 40%, 100% { 447 transform: rotate(0deg); 448 } 449} 450@keyframes fa-spin { 451 0% { 452 transform: rotate(0deg); 453 } 454 100% { 455 transform: rotate(360deg); 456 } 457} 458.fa-rotate-90 { 459 transform: rotate(90deg); 460} 461 462.fa-rotate-180 { 463 transform: rotate(180deg); 464} 465 466.fa-rotate-270 { 467 transform: rotate(270deg); 468} 469 470.fa-flip-horizontal { 471 transform: scale(-1, 1); 472} 473 474.fa-flip-vertical { 475 transform: scale(1, -1); 476} 477 478.fa-flip-both, 479.fa-flip-horizontal.fa-flip-vertical { 480 transform: scale(-1, -1); 481} 482 483.fa-rotate-by { 484 transform: rotate(var(--fa-rotate-angle, 0)); 485} 486 487.fa-stack { 488 display: inline-block; 489 vertical-align: middle; 490 height: 2em; 491 position: relative; 492 width: 2.5em; 493} 494 495.fa-stack-1x, 496.fa-stack-2x { 497 bottom: 0; 498 left: 0; 499 margin: auto; 500 position: absolute; 501 right: 0; 502 top: 0; 503 z-index: var(--fa-stack-z-index, auto); 504} 505 506.svg-inline--fa.fa-stack-1x { 507 height: 1em; 508 width: 1.25em; 509} 510.svg-inline--fa.fa-stack-2x { 511 height: 2em; 512 width: 2.5em; 513} 514 515.fa-inverse { 516 color: var(--fa-inverse, #fff); 517} 518 519.sr-only, 520.fa-sr-only { 521 position: absolute; 522 width: 1px; 523 height: 1px; 524 padding: 0; 525 margin: -1px; 526 overflow: hidden; 527 clip: rect(0, 0, 0, 0); 528 white-space: nowrap; 529 border-width: 0; 530} 531 532.sr-only-focusable:not(:focus), 533.fa-sr-only-focusable:not(:focus) { 534 position: absolute; 535 width: 1px; 536 height: 1px; 537 padding: 0; 538 margin: -1px; 539 overflow: hidden; 540 clip: rect(0, 0, 0, 0); 541 white-space: nowrap; 542 border-width: 0; 543} 544 545.svg-inline--fa .fa-primary { 546 fill: var(--fa-primary-color, currentColor); 547 opacity: var(--fa-primary-opacity, 1); 548} 549 550.svg-inline--fa .fa-secondary { 551 fill: var(--fa-secondary-color, currentColor); 552 opacity: var(--fa-secondary-opacity, 0.4); 553} 554 555.svg-inline--fa.fa-swap-opacity .fa-primary { 556 opacity: var(--fa-secondary-opacity, 0.4); 557} 558 559.svg-inline--fa.fa-swap-opacity .fa-secondary { 560 opacity: var(--fa-primary-opacity, 1); 561} 562 563.svg-inline--fa mask .fa-primary, 564.svg-inline--fa mask .fa-secondary { 565 fill: black; 566}`;
566function xi(){const Ae=ir,qe=Mr,St=we.cssPrefix,Ft=we.replacementClass;let Jt=ss;if(St!==Ae||Ft!==qe){const Rr=new RegExp("\\.".concat(Ae,"\\-"),"g"),On=new RegExp("\\--".concat(Ae,"\\-"),"g"),Kn=new RegExp("\\.".concat(qe),"g");Jt=Jt.replace(Rr,".".concat(St,"-")).replace(On,"--".concat(St,"-")).replace(Kn,".".concat(Ft))}return Jt}let ms=!1;function wi(){we.autoAddCss&&!ms&&(Wn(xi()),ms=!0)}var Ls={mixout(){return{dom:{css:xi,insertCss:wi}}},hooks(){return{beforeDOMElementCreation(){wi()},beforeI2svg(){wi()}}}};const as=w||{};as[Tr]||(as[Tr]={}),as[Tr].styles||(as[Tr].styles={}),as[Tr].hooks||(as[Tr].hooks={}),as[Tr].shims||(as[Tr].shims=[]);var rs=as[Tr];const xa=[],ka=function(){C.removeEventListener("DOMContentLoaded",ka),Is=1,xa.map(Ae=>Ae())};let Is=!1;F&&(Is=(C.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(C.readyState),Is||C.addEventListener("DOMContentLoaded",ka));function Ms(Ae){F&&(Is?setTimeout(Ae,0):xa.push(Ae))}function Gs(Ae){const{tag:qe,attributes:St={},children:Ft=[]}=Ae;return typeof Ae=="string"?Or(Ae):"<".concat(qe," ").concat(Pn(St),">").concat(Ft.map(Gs).join(""),"</").concat(qe,">")}function ks(Ae,qe,St){if(Ae&&Ae[qe]&&Ae[qe][St])return{prefix:qe,iconName:St,icon:Ae[qe][St]}}var ha=function(qe,St){return function(Ft,Jt,Rr,On){return qe.call(St,Ft,Jt,Rr,On)}},Ys=function(qe,St,Ft,Jt){var Rr=Object.keys(qe),On=Rr.length,Kn=Jt!==void 0?ha(St,Jt):St,Bi,ji,Xi;for(Ft===void 0?(Bi=1,Xi=qe[Rr[0]]):(Bi=0,Xi=Ft);Bi<On;Bi++)ji=Rr[Bi],Xi=Kn(Xi,qe[ji],ji,qe);return Xi};function Ea(Ae){const qe=[];let St=0;const Ft=Ae.length;for(;St<Ft;){const Jt=Ae.charCodeAt(St++);if(Jt>=55296&&Jt<=56319&&St<Ft){const Rr=Ae.charCodeAt(St++);(Rr&64512)==56320?qe.push(((Jt&1023)<<10)+(Rr&1023)+65536):(qe.push(Jt),St--)}else qe.push(Jt)}return qe}function ia(Ae){const qe=Ea(Ae);return qe.length===1?qe[0].toString(16):null}function us(Ae,qe){const St=Ae.length;let Ft=Ae.charCodeAt(qe),Jt;return Ft>=55296&&Ft<=56319&&St>qe+1&&(Jt=Ae.charCodeAt(qe+1),Jt>=56320&&Jt<=57343)?(Ft-55296)*1024+Jt-56320+65536:Ft}function eo(Ae){return Object.keys(Ae).reduce((qe,St)=>{const Ft=Ae[St];return!!Ft.icon?qe[Ft.iconName]=Ft.icon:qe[St]=Ft,qe},{})}function wa(Ae,qe){let St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:Ft=!1}=St,Jt=eo(qe);typeof rs.hooks.addPack=="function"&&!Ft?rs.hooks.addPack(Ae,eo(qe)):rs.styles[Ae]=i(i({},rs.styles[Ae]||{}),Jt),Ae==="fas"&&wa("fa",qe)}const da=[m(/path d="([^"]+)".*path d="([^"]+)"/,{d1:1,d2:2}),m(/path class="([^"]+)".*d="([^"]+)".*path class="([^"]+)".*d="([^"]+)"/,{cls1:1,d1:2,cls2:3,d2:4}),m(/path class="([^"]+)".*d="([^"]+)"/,{cls1:1,d1:2})],{styles:js,shims:ce}=rs,ze=Object.keys(Ln),Nt=ze.reduce((Ae,qe)=>(Ae[qe]=Object.keys(Ln[qe]),Ae),{});let Pr=null,pn={},ci={},Wi={},qi={},Li={};function Mi(Ae){return~ws.indexOf(Ae)}function _a(Ae,qe){const St=qe.split("-"),Ft=St[0],Jt=St.slice(1).join("-");return Ft===Ae&&Jt!==""&&!Mi(Jt)?Jt:null}const io=()=>{const Ae=Ft=>Ys(js,(Jt,Rr,On)=>(Jt[On]=Ys(Rr,Ft,{}),Jt),{});pn=Ae((Ft,Jt,Rr)=>(Jt[3]&&(Ft[Jt[3]]=Rr),Jt[2]&&Jt[2].filter(Kn=>typeof Kn=="number").forEach(Kn=>{Ft[Kn.toString(16)]=Rr}),Ft)),ci=Ae((Ft,Jt,Rr)=>(Ft[Rr]=Rr,Jt[2]&&Jt[2].filter(Kn=>typeof Kn=="string").forEach(Kn=>{Ft[Kn]=Rr}),Ft)),Li=Ae((Ft,Jt,Rr)=>{const On=Jt[2];return Ft[Rr]=Rr,On.forEach(Kn=>{Ft[Kn]=Rr}),Ft});const qe="far"in js||we.autoFetchSvg,St=Ys(ce,(Ft,Jt)=>{const Rr=Jt[0];let On=Jt[1];const Kn=Jt[2];return On==="far"&&!qe&&(On="fas"),typeof Rr=="string"&&(Ft.names[Rr]={prefix:On,iconName:Kn}),typeof Rr=="number"&&(Ft.unicodes[Rr.toString(16)]={prefix:On,iconName:Kn}),Ft},{names:{},unicodes:{}});Wi=St.names,qi=St.unicodes,Pr=zs(we.styleDefault,{family:we.familyDefault})};ut(Ae=>{Pr=zs(Ae.styleDefault,{family:we.familyDefault})}),io();function za(Ae,qe){return(pn[Ae]||{})[qe]}function so(Ae,qe){return(ci[Ae]||{})[qe]}function ys(Ae,qe){return(Li[Ae]||{})[qe]}function Cr(Ae){return Wi[Ae]||{prefix:null,iconName:null}}function $a(Ae){const qe=qi[Ae],St=za("fas",Ae);return qe||(St?{prefix:"fas",iconName:St}:null)||{prefix:null,iconName:null}}function ln(){return Pr}const va=()=>({prefix:null,iconName:null,rest:[]}
566);function Da(Ae){let qe=re;const St=ze.reduce((Ft,Jt)=>(Ft[Jt]="".concat(we.cssPrefix,"-").concat(Jt),Ft),{});return ye.forEach(Ft=>{(Ae.includes(St[Ft])||Ae.some(Jt=>Nt[Ft].includes(Jt)))&&(qe=Ft)}),qe}function zs(Ae){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:St=re}=qe,Ft=it[St][Ae];if(St===he&&!Ae)return"fad";const Jt=an[St][Ae]||an[St][Ft],Rr=Ae in rs.styles?Ae:null;return Jt||Rr||null}function Ks(Ae){let qe=[],St=null;return Ae.forEach(Ft=>{const Jt=_a(we.cssPrefix,Ft);Jt?St=Jt:Ft&&qe.push(Ft)}),{iconName:St,rest:qe}}function Aa(Ae){return Ae.sort().filter((qe,St,Ft)=>Ft.indexOf(qe)===St)}function pa(Ae){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:St=!1}=qe;let Ft=null;const Jt=Sn.concat(Lt),Rr=Aa(Ae.filter(aa=>Jt.includes(aa))),On=Aa(Ae.filter(aa=>!Sn.includes(aa))),Kn=Rr.filter(aa=>(Ft=aa,!J.includes(aa))),[Bi=null]=Kn,ji=Da(Rr),Xi=i(i({},Ks(On)),{},{prefix:zs(Bi,{family:ji})});return i(i(i({},Xi),$r({values:Ae,family:ji,styles:js,config:we,canonical:Xi,givenPrefix:Ft})),Pt(St,Ft,Xi))}function Pt(Ae,qe,St){let{prefix:Ft,iconName:Jt}=St;if(Ae||!Ft||!Jt)return{prefix:Ft,iconName:Jt};const Rr=qe==="fa"?Cr(Jt):{},On=ys(Ft,Jt);return Jt=Rr.iconName||On||Jt,Ft=Rr.prefix||Ft,Ft==="far"&&!js.far&&js.fas&&!we.autoFetchSvg&&(Ft="fas"),{prefix:Ft,iconName:Jt}}const $t=ye.filter(Ae=>Ae!==re||Ae!==he),xr=Object.keys(fn).filter(Ae=>Ae!==re).map(Ae=>Object.keys(fn[Ae])).flat();function $r(Ae){const{values:qe,family:St,canonical:Ft,givenPrefix:Jt="",styles:Rr={},config:On={}}=Ae,Kn=St===he,Bi=qe.includes("fa-duotone")||qe.includes("fad"),ji=On.familyDefault==="duotone",Xi=Ft.prefix==="fad"||Ft.prefix==="fa-duotone";if(!Kn&&(Bi||ji||Xi)&&(Ft.prefix="fad"),(qe.includes("fa-brands")||qe.includes("fab"))&&(Ft.prefix="fab"),!Ft.prefix&&$t.includes(St)&&(Object.keys(Rr).find(Js=>xr.includes(Js))||On.autoFetchSvg)){const Js=We.get(St).defaultShortPrefixId;Ft.prefix=Js,Ft.iconName=ys(Ft.prefix,Ft.iconName)||Ft.iconName}return(Ft.prefix==="fa"||Jt==="fa")&&(Ft.prefix=ln()||"fas"),Ft}class bn{constructor(){this.definitions={}}add(){for(var qe=arguments.length,St=new Array(qe),Ft=0;Ft<qe;Ft++)St[Ft]=arguments[Ft];const Jt=St.reduce(this._pullDefinitions,{});Object.keys(Jt).forEach(Rr=>{this.definitions[Rr]=i(i({},this.definitions[Rr]||{}),Jt[Rr]),wa(Rr,Jt[Rr]);const On=Ln[re][Rr];On&&wa(On,Jt[Rr]),io()})}reset(){this.definitions={}}_pullDefinitions(qe,St){const Ft=St.prefix&&St.iconName&&St.icon?{0:St}:St;return Object.keys(Ft).map(Jt=>{const{prefix:Rr,iconName:On,icon:Kn}=Ft[Jt],Bi=Kn[2];qe[Rr]||(qe[Rr]={}),Bi.length>0&&Bi.forEach(ji=>{typeof ji=="string"&&(qe[Rr][ji]=Kn)}),qe[Rr][On]=Kn}),qe}}let Yr=[],ge={};const je={},bt=Object.keys(je);function yt(Ae,qe){let{mixoutsTo:St}=qe;return Yr=Ae,ge={},Object.keys(je).forEach(Ft=>{bt.indexOf(Ft)===-1&&delete je[Ft]}),Yr.forEach(Ft=>{const Jt=Ft.mixout?Ft.mixout():{};if(Object.keys(Jt).forEach(Rr=>{typeof Jt[Rr]=="function"&&(St[Rr]=Jt[Rr]),typeof Jt[Rr]=="object"&&Object.keys(Jt[Rr]).forEac
vendor: 4,985 bytes, line 566
566h(On=>{St[Rr]||(St[Rr]={}),St[Rr][On]=Jt[Rr][On]})}),Ft.hooks){const Rr=Ft.hooks();Object.keys(Rr).forEach(On=>{ge[On]||(ge[On]=[]),ge[On].push(Rr[On])})}Ft.provides&&Ft.provides(je)}),St}function sr(Ae,qe){for(var St=arguments.length,Ft=new Array(St>2?St-2:0),Jt=2;Jt<St;Jt++)Ft[Jt-2]=arguments[Jt];return(ge[Ae]||[]).forEach(On=>{qe=On.apply(null,[qe,...Ft])}),qe}function pr(Ae){for(var qe=arguments.length,St=new Array(qe>1?qe-1:0),Ft=1;Ft<qe;Ft++)St[Ft-1]=arguments[Ft];(ge[Ae]||[]).forEach(Rr=>{Rr.apply(null,St)})}function hr(){const Ae=arguments[0],qe=Array.prototype.slice.call(arguments,1);return je[Ae]?je[Ae].apply(null,qe):void 0}function Xn(Ae){Ae.prefix==="fa"&&(Ae.prefix="fas");let{iconName:qe}=Ae;const St=Ae.prefix||ln();if(qe)return qe=ys(St,qe)||qe,ks(Un.definitions,St,qe)||ks(rs.styles,St,qe)}const Un=new bn,qn={noAuto:()=>{we.autoReplaceSvg=!1,we.observeMutations=!1,pr("noAuto")},config:we,dom:{i2svg:function(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return F?(pr("beforeI2svg",Ae),hr("pseudoElements2svg",Ae),hr("i2svg",Ae)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:qe}=Ae;we.autoReplaceSvg===!1&&(we.autoReplaceSvg=!0),we.observeMutations=!0,Ms(()=>{$e({autoReplaceSvgRoot:qe}),pr("watch",Ae)})}},parse:{icon:Ae=>{if(Ae===null)return null;if(typeof Ae=="object"&&Ae.prefix&&Ae.iconName)return{prefix:Ae.prefix,iconName:ys(Ae.prefix,Ae.iconName)||Ae.iconName};if(Array.isArray(Ae)&&Ae.length===2){const qe=Ae[1].indexOf("fa-")===0?Ae[1].slice(3):Ae[1],St=zs(Ae[0]);return{prefix:St,iconName:ys(St,qe)||qe}}if(typeof Ae=="string"&&(Ae.indexOf("".concat(we.cssPrefix,"-"))>-1||Ae.match($i))){const qe=pa(Ae.split(" "),{skipLookups:!0});return{prefix:qe.prefix||ln(),iconName:ys(qe.prefix,qe.iconName)||qe.iconName}}if(typeof Ae=="string"){const qe=ln();return{prefix:qe,iconName:ys(qe,Ae)||Ae}}}},library:Un,findIconDefinition:Xn,toHtml:Gs},$e=function(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:qe=C}=Ae;(Object.keys(rs.styles).length>0||we.autoFetchSvg)&&F&&we.autoReplaceSvg&&qn.dom.i2svg({node:qe})};function Je(Ae,qe){return Object.defineProperty(Ae,"abstract",{get:qe}),Object.defineProperty(Ae,"html",{get:function(){return Ae.abstract.map(St=>Gs(St))}}),Object.defineProperty(Ae,"node",{get:function(){if(!F)return;const St=C.createElement("div");return St.innerHTML=Ae.html,St.children}}),Ae}function Ct(Ae){let{children:qe,main:St,mask:Ft,attributes:Jt,styles:Rr,transform:On}=Ae;if(Hn(On)&&St.found&&!Ft.found){const{width:Kn,height:Bi}=St,ji={x:Kn/Bi/2,y:.5};Jt.style=zr(i(i({},Rr),{},{"transform-origin":"".concat(ji.x+On.x/16,"em ").concat(ji.y+On.y/16,"em")}))}return[{tag:"svg",attributes:Jt,children:qe}]}function Ot(Ae){let{prefix:qe,iconName:St,children:Ft,attributes:Jt,symbol:Rr}=Ae;const On=Rr===!0?"".concat(qe,"-").concat(we.cssPrefix,"-").concat(St):Rr;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:i(i({},Jt),{},{id:On}),children:Ft}]}]}function Wt(Ae){const{icons:{main:qe,mask:St},prefix:Ft,iconName:Jt,transform:Rr,symbol:On,title:Kn,maskId:Bi,titleId:ji,extra:Xi,watchable:aa=!1}=Ae,{width:Js,height:Ka}=St.found?St:qe,To=Ze.includes(Ft),po=[we.replacementClass,Jt?"".concat(we.cssPrefix,"-").concat(Jt):""].filter(eu=>Xi.classes.indexOf(eu)===-1).filter(eu=>eu!==""||!!eu).concat(Xi.classes).join(" ");let dt={children:[],attributes:i(i({},Xi.attributes),{},{"data-prefix":Ft,"data-icon":Jt,class:po,role:Xi.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Js," ").concat(Ka)})};const Ja=To&&!~Xi.classes.indexOf("fa-fw")?{width:"".concat(Js/Ka*16*.0625,"em")}:{};aa&&(dt.attributes[Lr]=""),Kn&&(dt.children.push({tag:"title",attributes:{id:dt.attributes["aria-labelledby"]||"title-".concat(ji||Tt())},children:[Kn]}),delete dt.attributes.title);const La=i(i({},dt),{},{prefix:Ft,iconName:Jt,main:qe,mask:St,maskId:Bi,transform:Rr,symbol:On,styles:i(i({},Ja),Xi.styles)}),{children:ba,attributes:gs}=St.found&&qe.found?hr("generateAbstractMask",La)||{children:[],attributes:{}}:hr("generateAbstractIcon",La)||{children:[],attributes:{}};return La.children=ba,La.attributes=gs,On?Ot(La):Ct(La)}function Er(Ae){const{content:qe,width:St,height:Ft,transform:Jt,title:Rr,extra:On,watchable:Kn=!1}=Ae,Bi=i(i(i({},On.attributes),Rr?{title:Rr}:{}),{},{class:On.classes.join(" ")});Kn&&(Bi[Lr]="");const ji=i({},On.styles);Hn(Jt)&&(ji.transform=Ti({transform:Jt,startCentered:!0,width:St,height:Ft}),ji["-webkit-transform"]=ji.transform);const Xi=zr(ji);Xi.length>0&&(Bi.style=Xi);const aa=[];return aa.push({tag:"span",attributes:Bi,children:[qe]}),Rr&&aa.push({tag:"span",attributes:{class:"sr-only"},children:[Rr]}),aa}function Hr(Ae){const{content:qe,title:St,extra:Ft}=Ae,Jt=i(i(i({},Ft.attributes),St?{title:St}:{}),{},{class:Ft.classes.join(" ")}
566),Rr=zr(Ft.styles);Rr.length>0&&(Jt.style=Rr);const On=[];return On.push({tag:"span",attributes:Jt,children:[qe]}),St&&On.push({tag:"span",attributes:{class:"sr-only"},children:[St]}),On}const{styles:mn}=rs;function di(Ae){const qe=Ae[0],St=Ae[1],[Ft]=Ae.slice(4);let Jt=null;return Array.isArray(Ft)?Jt={tag:"g",attributes:{class:"".concat(we.cssPrefix,"-").concat(mi.GROUP)},children:[{tag:"path",attributes:{class:"".concat(we.cssPrefix,"-").concat(mi.SECONDARY),fill:"currentColor",d:Ft[0]}},{tag:"path",attributes:{class:"".concat(we.cssPrefix,"-").concat(mi.PRIMARY),fill:"currentColor",d:Ft[1]}}]}:Jt={tag:"path",attributes:{fill:"currentColor",d:Ft}},{found:!0,width:qe,height:St,icon:Jt}}const si={found:!1,width:512,height:512};function Pe(Ae,qe){!Y&&!we.showMissingIcons&&Ae&&console.error('Icon with name "'.concat(Ae,'" and prefix "').concat(qe,'" is missing.'))}function He(Ae,qe){let St=qe;return qe==="fa"&&we.styleDefault!==null&&(qe=ln()),new Promise((Ft,Jt)=>{if(St==="fa"){const Rr=Cr(Ae)||{};Ae=Rr.iconName||Ae,qe=Rr.prefix||qe}if(Ae&&qe&&mn[qe]&&mn[qe][Ae]){const Rr=mn[qe][Ae];return Ft(di(Rr))}Pe(Ae,qe),Ft(i(i({},si),{},{icon:we.showMissingIcons&&Ae?hr("missingIconAbstract")||{}:{}}))})}const ft=()=>{},Le=we.measurePerformance&&U&&U.mark&&U.measure?U:{mark:ft,measure:ft},De='FA "6.7.2"',lt=Ae=>(Le.mark("".concat(De," ").concat(Ae," begins")),()=>gt(Ae)),gt=Ae=>{Le.mark("".concat(De," ").concat(Ae," ends")),Le.measure("".concat(De," ").concat(Ae),"".concat(De," ").concat(Ae," begins"),"".concat(De," ").concat(Ae," ends"))};var Zt={begin:lt,end:gt};const xn=()=>{};function dn(Ae){return typeof(Ae.getAttribute?Ae.getAttribute(Lr):null)=="string"}function vn(Ae){const qe=Ae.getAttribute?Ae.getAttribute(rr):null,St=Ae.getAttribute?Ae.getAttribute(Gr):null;return qe&&St}function $n(Ae){return Ae&&Ae.classList&&Ae.classList.contains&&Ae.classList.contains(we.replacementClass)}function Ui(){return we.autoReplaceSvg===!0?Ei.replace:Ei[we.autoReplaceSvg]||Ei.replace}function hs(Ae){return C.createElementNS("http://www.w3.org/2000/svg",Ae)}function Qn(Ae){return C.createElement(Ae)}function ki(Ae){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:St=Ae.tag==="svg"?hs:Qn}=qe;if(typeof Ae=="string")return C.createTextNode(Ae);const Ft=St(Ae.tag);return Object.keys(Ae.attributes||[]).forEach(function(Rr){Ft.setAttribute(Rr,Ae.attributes[Rr])}),(Ae.children||[]).forEach(function(Rr){Ft.appendChild(ki(Rr,{ceFn:St}))}),Ft}function Oi(Ae){let qe=" ".concat(Ae.outerHTML," ");return qe="".concat(qe,"Font Awesome fontawesome.com "),qe}const Ei={replace:function(Ae){const qe=Ae[0];
vendor: 4,291 bytes, lines 566-567
566if(qe.parentNode)if(Ae[1].forEach(St=>{qe.parentNode.insertBefore(ki(St),qe)}),qe.getAttribute(Lr)===null&&we.keepOriginalSource){let St=C.createComment(Oi(qe));qe.parentNode.replaceChild(St,qe)}else qe.remove()},nest:function(Ae){const qe=Ae[0],St=Ae[1];if(~Vr(qe).indexOf(we.replacementClass))return Ei.replace(Ae);const Ft=new RegExp("".concat(we.cssPrefix,"-.*"));if(delete St[0].attributes.id,St[0].attributes.class){const Rr=St[0].attributes.class.split(" ").reduce((On,Kn)=>(Kn===we.replacementClass||Kn.match(Ft)?On.toSvg.push(Kn):On.toNode.push(Kn),On),{toNode:[],toSvg:[]});St[0].attributes.class=Rr.toSvg.join(" "),Rr.toNode.length===0?qe.removeAttribute("class"):qe.setAttribute("class",Rr.toNode.join(" "))}const Jt=St.map(Rr=>Gs(Rr)).join(` 567`);qe.setAttribute(Lr,""),qe.innerHTML=Jt}};function ma(Ae){Ae()}function Fs(Ae,qe){const St=typeof qe=="function"?qe:xn;if(Ae.length===0)St();else{let Ft=ma;we.mutateApproach===At&&(Ft=w.requestAnimationFrame||ma),Ft(()=>{const Jt=Ui(),Rr=Zt.begin("mutate");Ae.map(Jt),Rr(),St()})}}let Ha=!1;function Cs(){Ha=!0}function qs(){Ha=!1}let Wa=null;function Oa(Ae){if(!O||!we.observeMutations)return;const{treeCallback:qe=xn,nodeCallback:St=xn,pseudoElementsCallback:Ft=xn,observeMutationsRoot:Jt=C}=Ae;Wa=new O(Rr=>{if(Ha)return;const On=ln();qr(Rr).forEach(Kn=>{if(Kn.type==="childList"&&Kn.addedNodes.length>0&&!dn(Kn.addedNodes[0])&&(we.searchPseudoElements&&Ft(Kn.target),qe(Kn.target)),Kn.type==="attributes"&&Kn.target.parentNode&&we.searchPseudoElements&&Ft(Kn.target.parentNode),Kn.type==="attributes"&&dn(Kn.target)&&~Ki.indexOf(Kn.attributeName))if(Kn.attributeName==="class"&&vn(Kn.target)){const{prefix:Bi,iconName:ji}=pa(Vr(Kn.target));Kn.target.setAttribute(rr,Bi||On),ji&&Kn.target.setAttribute(Gr,ji)}else $n(Kn.target)&&St(Kn.target)})}),F&&Wa.observe(Jt,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Na(){Wa&&Wa.disconnect()}function Qo(Ae){const qe=Ae.getAttribute("style");let St=[];return qe&&(St=qe.split(";").reduce((Ft,Jt)=>{const Rr=Jt.split(":"),On=Rr[0],Kn=Rr.slice(1);return On&&Kn.length>0&&(Ft[On]=Kn.join(":").trim()),Ft},{})),St}function $s(Ae){const qe=Ae.getAttribute("data-prefix"),St=Ae.getAttribute("data-icon"),Ft=Ae.innerText!==void 0?Ae.innerText.trim():"";let Jt=pa(Vr(Ae));return Jt.prefix||(Jt.prefix=ln()),qe&&St&&(Jt.prefix=qe,Jt.iconName=St),Jt.iconName&&Jt.prefix||(Jt.prefix&&Ft.length>0&&(Jt.iconName=so(Jt.prefix,Ae.innerText)||za(Jt.prefix,ia(Ae.innerText))),!Jt.iconName&&we.autoFetchSvg&&Ae.firstChild&&Ae.firstChild.nodeType===Node.TEXT_NODE&&(Jt.iconName=Ae.firstChild.data)),Jt}function ra(Ae){const qe=qr(Ae.attributes).reduce((Jt,Rr)=>(Jt.name!=="class"&&Jt.name!=="style"&&(Jt[Rr.name]=Rr.value),Jt),{}),St=Ae.getAttribute("title"),Ft=Ae.getAttribute("data-fa-title-id");return we.autoA11y&&(St?qe["aria-labelledby"]="".concat(we.replacementClass,"-title-").concat(Ft||Tt()):(qe["aria-hidden"]="true",qe.focusable="false")),qe}function bs(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ar,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Ia(Ae){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:St,prefix:Ft,rest:Jt}=$s(Ae),Rr=ra(Ae),On=sr("parseNodeAttributes",{},Ae);let Kn=qe.styleParser?Qo(Ae):[];return i({iconName:St,title:Ae.getAttribute("title"),titleId:Ae.getAttribute("data-fa-title-id"),prefix:Ft,transform:ar,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Jt,styles:Kn,attributes:Rr}},On)}const{styles:Eu}=rs;function oo(Ae){const qe=we.autoReplaceSvg==="nest"?Ia(Ae,{styleParser:!1}):Ia(Ae);return~qe.extra.classes.indexOf(tn)?hr("generateLayersText",Ae,qe):hr("generateSvgReplacementMutation",Ae,qe)}function ju(){return[...xe,...Sn]}function xo(Ae){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!F)return Promise.resolve();const St=C.documentElement.classList,Ft=Xi=>St.add("".concat(er,"-").concat(Xi)),Jt=Xi=>St.remove("".concat(er,"-").concat(Xi)),Rr=we.autoFetchSvg?ju():J.concat(Object.keys(Eu));Rr.includes("fa")||Rr.push("fa");const On=[".".concat(tn,":not([").concat(Lr,"])")].concat(Rr.map(Xi=>".".concat(Xi,":not([").concat(Lr,"])"))).join(", ");
vendor: 5,233 bytes, line 567
567if(On.length===0)return Promise.resolve();let Kn=[];try{Kn=qr(Ae.querySelectorAll(On))}catch{}if(Kn.length>0)Ft("pending"),Jt("complete");else return Promise.resolve();const Bi=Zt.begin("onTree"),ji=Kn.reduce((Xi,aa)=>{try{const Js=oo(aa);Js&&Xi.push(Js)}catch(Js){Y||Js.name==="MissingIcon"&&console.error(Js)}return Xi},[]);return new Promise((Xi,aa)=>{Promise.all(ji).then(Js=>{Fs(Js,()=>{Ft("active"),Ft("complete"),Jt("pending"),typeof qe=="function"&&qe(),Bi(),Xi()})}).catch(Js=>{Bi(),aa(Js)})})}function $(Ae){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;oo(Ae).then(St=>{St&&Fs([St],qe)})}function z(Ae){return function(qe){let St=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Ft=(qe||{}).icon?qe:Xn(qe||{});let{mask:Jt}=St;return Jt&&(Jt=(Jt||{}).icon?Jt:Xn(Jt||{})),Ae(Ft,i(i({},St),{},{mask:Jt}))}}const ee=function(Ae){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:St=ar,symbol:Ft=!1,mask:Jt=null,maskId:Rr=null,title:On=null,titleId:Kn=null,classes:Bi=[],attributes:ji={},styles:Xi={}}=qe;if(!Ae)return;const{prefix:aa,iconName:Js,icon:Ka}=Ae;return Je(i({type:"icon"},Ae),()=>(pr("beforeDOMElementCreation",{iconDefinition:Ae,params:qe}),we.autoA11y&&(On?ji["aria-labelledby"]="".concat(we.replacementClass,"-title-").concat(Kn||Tt()):(ji["aria-hidden"]="true",ji.focusable="false")),Wt({icons:{main:di(Ka),mask:Jt?di(Jt.icon):{found:!1,width:null,height:null,icon:{}}},prefix:aa,iconName:Js,transform:i(i({},ar),St),symbol:Ft,title:On,maskId:Rr,titleId:Kn,extra:{attributes:ji,styles:Xi,classes:Bi}})))};var pe={mixout(){return{icon:z(ee)}},hooks(){return{mutationObserverCallbacks(Ae){return Ae.treeCallback=xo,Ae.nodeCallback=$,Ae}}},provides(Ae){Ae.i2svg=function(qe){const{node:St=C,callback:Ft=()=>{}}=qe;return xo(St,Ft)},Ae.generateSvgReplacementMutation=function(qe,St){const{iconName:Ft,title:Jt,titleId:Rr,prefix:On,transform:Kn,symbol:Bi,mask:ji,maskId:Xi,extra:aa}=St;return new Promise((Js,Ka)=>{Promise.all([He(Ft,On),ji.iconName?He(ji.iconName,ji.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(To=>{let[po,dt]=To;Js([qe,Wt({icons:{main:po,mask:dt},prefix:On,iconName:Ft,transform:Kn,symbol:Bi,maskId:Xi,title:Jt,titleId:Rr,extra:aa,watchable:!0})])}).catch(Ka)})},Ae.generateAbstractIcon=function(qe){let{children:St,attributes:Ft,main:Jt,transform:Rr,styles:On}=qe;const Kn=zr(On);Kn.length>0&&(Ft.style=Kn);let Bi;return Hn(Rr)&&(Bi=hr("generateAbstractTransformGrouping",{main:Jt,transform:Rr,containerWidth:Jt.width,iconWidth:Jt.width})),St.push(Bi||Jt.icon),{children:St,attributes:Ft}}}},Ce={mixout(){return{layer(Ae){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:St=[]}=qe;return Je({type:"layer"},()=>{pr("beforeDOMElementCreation",{assembler:Ae,params:qe});let Ft=[];return Ae(Jt=>{Array.isArray(Jt)?Jt.map(Rr=>{Ft=Ft.concat(Rr.abstract)}):Ft=Ft.concat(Jt.abstract)}),[{tag:"span",attributes:{class:["".concat(we.cssPrefix,"-layers"),...St].join(" ")},children:Ft}]})}}}},Be={mixout(){return{counter(Ae){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:St=null,classes:Ft=[],attributes:Jt={},styles:Rr={}}=qe;return Je({type:"counter",content:Ae},()=>(pr("beforeDOMElementCreation",{content:Ae,params:qe}),Hr({content:Ae.toString(),title:St,extra:{attributes:Jt,styles:Rr,classes:["".concat(we.cssPrefix,"-layers-counter"),...Ft]}})))}}}},at={mixout(){return{text(Ae){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:St=ar,title:Ft=null,classes:Jt=[],attributes:Rr={},styles:On={}}=qe;return Je({type:"text",content:Ae},()=>(pr("beforeDOMElementCreation",{content:Ae,params:qe}),Er({content:Ae,transform:i(i({},ar),St),title:Ft,extra:{attributes:Rr,styles:On,classes:["".concat(we.cssPrefix,"-layers-text"),...Jt]}})))}}},provides(Ae){Ae.generateLayersText=function(qe,St){const{title:Ft,transform:Jt,extra:Rr}=St;let On=null,Kn=null;if(j){const Bi=parseInt(getComputedStyle(qe).fontSize,10),ji=qe.getBoundingClientRect();On=ji.width/Bi,Kn=ji.height/Bi}return we.autoA11y&&!Ft&&(Rr.attributes["aria-hidden"]="true"),Promise.resolve([qe,Er({content:qe.innerHTML,width:On,height:Kn,transform:Jt,title:Ft,extra:Rr,watchable:!0})])}}};const vt=new RegExp('"',"ug"),Bt=[1105920,1112319],mr=i(i(i(i({},{FontAwesome:{normal:"fas",400:"fas"}}),Ue),Dr),Ht),zt=Object.keys(mr).reduce((Ae,qe)=>(Ae[qe.toLowerCase()]=mr[qe],Ae),{}),jr=Object.keys(zt).reduce((Ae,qe)=>{const St=zt[qe];return Ae[qe]=St[900]||[...Object.entries(St)][0][1],Ae},{});function Rn(Ae){const qe=Ae.replace(vt,""),St=us(qe,0),Ft=St>=Bt[0]&&St<=Bt[1],Jt=qe.length===2?qe[0]===qe[1]:!1;return{value:ia(Jt?qe[0]:qe),isSecondary:Ft||Jt}}function Jn(Ae,qe){const St=Ae.replace(/^['"]|['"]$/g,"").toLowerCase(),Ft=parseInt(qe),Jt=isNaN(Ft)?"normal":Ft;return(zt[St]||{})[Jt]||jr[St]}function Yn(Ae,qe){const St="".concat(hn).concat(qe.replace(":","-"));return new Promise((Ft,Jt)=>{if(Ae.getAttribute(St)!==null)return Ft();const On=qr(Ae.children).filter(Js=>Js.getAttribute(un)===qe)[0],Kn=w.getComputedStyle(Ae,qe),Bi=Kn.getPropertyValue("font-family"),ji=Bi.match(Hi),Xi=Kn.getPropertyValue("font-weight"),aa=Kn.getPropertyValue("content");
567if(On&&!ji)return Ae.removeChild(On),Ft();if(ji&&aa!=="none"&&aa!==""){const Js=Kn.getPropertyValue("content");let Ka=Jn(Bi,Xi);const{value:To,isSecondary:po}=Rn(Js),dt=ji[0].startsWith("FontAwesome");let Ja=za(Ka,To),La=Ja;if(dt){const ba=$a(To);ba.iconName&&ba.prefix&&(Ja=ba.iconName,Ka=ba.prefix)}if(Ja&&!po&&(!On||On.getAttribute(rr)!==Ka||On.getAttribute(Gr)!==La)){Ae.setAttribute(St,La),On&&Ae.removeChild(On);const ba=bs(),{extra:gs}=ba;gs.attributes[un]=qe,He(Ja,Ka).then(eu=>{const ll=Wt(i(i({},ba),{},{icons:{main:eu,mask:va()},prefix:Ka,iconName:La,extra:gs,watchable:!0})),rl=C.createElementNS("http://www.w3.org/2000/svg","svg");qe==="::before"?Ae.insertBefore(rl,Ae.firstChild):Ae.appendChild(rl),rl.outerHTML=ll.map(pu=>Gs(pu)).join(` 568`),Ae.removeAttribute(St),Ft()}).catch(Jt)}else Ft()}else Ft()})}function gi(Ae){return Promise.all([Yn(Ae,"::before"),Yn(Ae,"::after")])}function Ni(Ae){return Ae.parentNode!==document.head&&!~dr.indexOf(Ae.tagName.toUpperCase())&&!Ae.getAttribute(un)&&(!Ae.parentNode||Ae.parentNode.tagName!=="svg")}function Ii(Ae){if(F)return new Promise((qe,St)=>{const Ft=qr(Ae.querySelectorAll("*")).filter(Ni).map(gi),Jt=Zt.begin("searchPseudoElements");Cs(),Promise.all(Ft).then(()=>{Jt(),qs(),qe()}).catch(()=>{Jt(),qs(),St()})})}var es={hooks(){return{mutationObserverCallbacks(Ae){return Ae.pseudoElementsCallback=Ii,Ae}}},provides(Ae){Ae.pseudoElements2svg=function(qe){const{node:St=C}=qe;we.searchPseudoElements&&Ii(St)}}};let ur=!1;var on={mixout(){return{dom:{unwatch(){Cs(),ur=!0}}}},hooks(){return{bootstrap(){Oa(sr("mutationObserverCallbacks",{}))},noAuto(){Na()},watch(Ae){const{observeMutationsRoot:qe}=Ae;ur?qs():Oa(sr("mutationObserverCallbacks",{observeMutationsRoot:qe}))}}}};const kr=Ae=>{let qe={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return Ae.toLowerCase().split(" ").reduce((St,Ft)=>{const Jt=Ft.toLowerCase().split("-"),Rr=Jt[0];let On=Jt.slice(1).join("-");if(Rr&&On==="h")return St.flipX=!0,St;if(Rr&&On==="v")return St.flipY=!0,St;if(On=parseFloat(On),isNaN(On))return St;switch(Rr){case"grow":St.size=St.size+On;break;case"shrink":St.size=St.size-On;break;case"left":St.x=St.x-On;break;case"right":St.x=St.x+On;break;case"up":St.y=St.y-On;break;case"down":St.y=St.y+On;break;case"rotate":St.rotate=St.rotate+On;break}return St},qe)};var jn={mixout(){return{parse:{transform:Ae=>kr(Ae)}}},hooks(){return{parseNodeAttributes(Ae,qe){const St=qe.getAttribute("data-fa-transform");return St&&(Ae.transform=kr(St)),Ae}}},provides(Ae){Ae.generateAbstractTransformGrouping=function(qe){let{main:St,transform:Ft,containerWidth:Jt,iconWidth:Rr}=qe;const On={transform:"translate(".concat(Jt/2," 256)")},Kn="translate(".concat(Ft.x*32,", ").concat(Ft.y*32,") "),Bi="scale(".concat(Ft.size/16*(Ft.flipX?-1:1),", ").concat(Ft.size/16*(Ft.flipY?-1:1),") "),ji="rotate(".concat(Ft.rotate," 0 0)"),Xi={transform:"".concat(Kn," ").concat(Bi," ").concat(ji)},aa={transform:"translate(".concat(Rr/2*-1," -256)")},Js={outer:On,inner:Xi,path:aa};return{tag:"g",attributes:i({},Js.outer),children:[{tag:"g",attributes:i({},Js.inner),children:[{tag:St.icon.tag,children:St.icon.children,attributes:i(i({},St.icon.attributes),Js.path)}]}]}}}};const ts={x:0,y:0,width:"100%",height:"100%"};function is(Ae){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Ae.attributes&&(Ae.attributes.fill||qe)&&(Ae.attributes.fill="black"),Ae}function _i(Ae){return Ae.tag==="g"?Ae.children:[Ae]}var Ps={hooks(){return{parseNodeAttributes(Ae,qe){const St=qe.getAttribute("data-fa-mask"),Ft=St?pa(St.split(" ").map(Jt=>Jt.trim())):va();return Ft.prefix||(Ft.prefix=ln()),Ae.mask=Ft,Ae.maskId=qe.getAttribute("data-fa-mask-id"),Ae}}},provides(Ae){Ae.generateAbstractMask=function(qe){let{children:St,attributes:Ft,main:Jt,mask:Rr,maskId:On,transform:Kn}=qe;const{width:Bi,icon:ji}=Jt,{width:Xi,icon:aa}=Rr,Js=fi({transform:Kn,containerWidth:Xi,iconWidth:Bi}),Ka={tag:"rect",attributes:i(i({},ts),{},{fill:"white"})},To=ji.children?{children:ji.children.map(is)}:{},po={tag:"g",attributes:i({},Js.inner),children:[is(i({tag:ji.tag,attributes:i(i({},ji.attributes),Js.path)},To))]},dt={tag:"g",attributes:i({},Js.outer),children:[po]},Ja="mask-".concat(On||Tt()),La="clip-".concat(On||Tt()),ba={tag:"mask",attributes:i(i({},ts),{},{id:Ja,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Ka,dt]},gs={tag:"defs",children:[{tag:"clipPath",attributes:{id:La},children:_i(aa)},ba]};
568return St.push(gs,{tag:"rect",attributes:i({fill:"currentColor","clip-path":"url(#".concat(La,")"),mask:"url(#".concat(Ja,")")},ts)}),{children:St,attributes:Ft}}}},Do={provides(Ae){let qe=!1;w.matchMedia&&(qe=w.matchMedia("(prefers-reduced-motion: reduce)").matches),Ae.missingIconAbstract=function(){const St=[],Ft={fill:"currentColor"},Jt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};St.push({tag:"path",attributes:i(i({},Ft),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const Rr=i(i({},Jt),{},{attributeName:"opacity"}),On={tag:"circle",attributes:i(i({},Ft),{},{cx:"256",cy:"364",r:"28"}),children:[]};return qe||On.children.push({tag:"animate",attributes:i(i({},Jt),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:i(i({},Rr),{},{values:"1;0;1;1;0;1;"})}),St.push(On),St.push({tag:"path",attributes:i(i({},Ft),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:qe?[]:[{tag:"animate",attributes:i(i({},Rr),{},{values:"1;0;0;0;0;1;"})}]}),qe||St.push({tag:"path",attributes:i(i({},Ft),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:i(i({},Rr),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:St}}}},zu={hooks(){return{parseNodeAttributes(Ae,qe){const St=qe.getAttribute("data-fa-symbol"),Ft=St===null?!1:St===""?!0:St;return Ae.symbol=Ft,Ae}}}},Va=[Ls,pe,Ce,Be,at,es,on,jn,Ps,Do,zu];yt(Va,{mixoutsTo:qn});const ol=qn.noAuto,Pu=qn.config,Eo=qn.library,sa=qn.dom,Ru=qn.parse,Ca=qn.findIconDefinition,Kc=qn.toHtml,ul=qn.icon,bl=qn.layer,Jo=qn.text,Xc=qn.counter;var pc=e(30994),Bs=e.n(pc),Lo=e(26372);function uo(Ae,qe){var St=Object.keys(Ae);if(Object.getOwnPropertySymbols){var Ft=Object.getOwnPropertySymbols(Ae);qe&&(Ft=Ft.filter(function(Jt){return Object.getOwnPropertyDescriptor(Ae,Jt).enumerable})),St.push.apply(St,Ft)}return St}function Oo(Ae){for(var qe=1;qe<arguments.length;qe++){var St=arguments[qe]!=null?arguments[qe]:{};qe%2?uo(Object(St),!0).forEach(function(Ft){se(Ae,Ft,St[Ft])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ae,Object.getOwnPropertyDescriptors(St)):uo(Object(St)).forEach(function(Ft){Object.defineProperty(Ae,Ft,Object.getOwnPropertyDescriptor(St,Ft))})}return Ae}function Du(Ae){"@babel/helpers - typeof";return Du=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(qe){return typeof qe}:function(qe){return qe&&typeof Symbol=="function"&&qe.constructor===Symbol&&qe!==Symbol.prototype?"symbol":typeof qe},Du(Ae)}function se(Ae,qe,St){return qe in Ae?Object.defineProperty(Ae,qe,{value:St,enumerable:!0,configurable:!0,writable:!0}):Ae[qe]=St,Ae}function _r(Ae,qe){if(Ae==null)return{};var St={},Ft=Object.keys(Ae),Jt,Rr;for(Rr=0;Rr<Ft.length;Rr++)Jt=Ft[Rr],!(qe.indexOf(Jt)>=0)&&(St[Jt]=Ae[Jt]);return St}function ct(Ae,qe){if(Ae==null)return{};var St=_r(Ae,qe),Ft,Jt;if(Object.getOwnPropertySymbols){var Rr=Object.getOwnPropertySymbols(Ae);for(Jt=0;Jt<Rr.length;Jt++)Ft=Rr[Jt],!(qe.indexOf(Ft)>=0)&&Object.prototype.propertyIsEnumerable.call(Ae,Ft)&&(St[Ft]=Ae[Ft])}return St}function wt(Ae){return En(Ae)||ei(Ae)||As(Ae)||ya()}function En(Ae){if(Array.isArray(Ae))return xs(Ae)}function ei(Ae){if(typeof Symbol<"u"&&Ae[Symbol.iterator]!=null||Ae["@@iterator"]!=null)return Array.from(Ae)}function As(Ae,qe){if(Ae){if(typeof Ae=="string")return xs(Ae,qe);var St=Object.prototype.toString.call(Ae).slice(8,-1);if(St==="Object"&&Ae.constructor&&(St=Ae.constructor.name),St==="Map"||St==="Set")return Array.from(Ae);if(St==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(St))return xs(Ae,qe)}}function xs(Ae,qe){(qe==null||qe>Ae.length)&&(qe=Ae.length);for(var St=0,Ft=new Array(qe);St<qe;
568St++)Ft[St]=Ae[St];return Ft}function ya(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 569In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Zo(Ae){var qe,St=Ae.beat,Ft=Ae.fade,Jt=Ae.beatFade,Rr=Ae.bounce,On=Ae.shake,Kn=Ae.flash,Bi=Ae.spin,ji=Ae.spinPulse,Xi=Ae.spinReverse,aa=Ae.pulse,Js=Ae.fixedWidth,Ka=Ae.inverse,To=Ae.border,po=Ae.listItem,dt=Ae.flip,Ja=Ae.size,La=Ae.rotation,ba=Ae.pull,gs=(qe={"fa-beat":St,"fa-fade":Ft,"fa-beat-fade":Jt,"fa-bounce":Rr,"fa-shake":On,"fa-flash":Kn,"fa-spin":Bi,"fa-spin-reverse":Xi,"fa-spin-pulse":ji,"fa-pulse":aa,"fa-fw":Js,"fa-inverse":Ka,"fa-border":To,"fa-li":po,"fa-flip":dt===!0,"fa-flip-horizontal":dt==="horizontal"||dt==="both","fa-flip-vertical":dt==="vertical"||dt==="both"},se(qe,"fa-".concat(Ja),typeof Ja<"u"&&Ja!==null),se(qe,"fa-rotate-".concat(La),typeof La<"u"&&La!==null&&La!==0),se(qe,"fa-pull-".concat(ba),typeof ba<"u"&&ba!==null),se(qe,"fa-swap-opacity",Ae.swapOpacity),qe);return Object.keys(gs).map(function(eu){return gs[eu]?eu:null}).filter(function(eu){return eu})}function fo(Ae){return Ae=Ae-0,Ae===Ae}function Qa(Ae){return fo(Ae)?Ae:(Ae=Ae.replace(/[\-_\s]+(.)?/g,function(qe,St){return St?St.toUpperCase():""}),Ae.substr(0,1).toLowerCase()+Ae.substr(1))}var tl=["style"];function $u(Ae){return Ae.charAt(0).toUpperCase()+Ae.slice(1)}function qo(Ae){return Ae.split(";").map(function(qe){return qe.trim()}).filter(function(qe){return qe}).reduce(function(qe,St){var Ft=St.indexOf(":"),Jt=Qa(St.slice(0,Ft)),Rr=St.slice(Ft+1).trim();return Jt.startsWith("webkit")?qe[$u(Jt)]=Rr:qe[Jt]=Rr,qe},{})}function Hu(Ae,qe){var St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof qe=="string")return qe;var Ft=(qe.children||[]).map(function(Bi){return Hu(Ae,Bi)}),Jt=Object.keys(qe.attributes||{}).reduce(function(Bi,ji){var Xi=qe.attributes[ji];switch(ji){case"class":Bi.attrs.className=Xi,delete qe.attributes.class;break;case"style":Bi.attrs.style=qo(Xi);break;default:ji.indexOf("aria-")===0||ji.indexOf("data-")===0?Bi.attrs[ji.toLowerCase()]=Xi:Bi.attrs[Qa(ji)]=Xi}return Bi},{attrs:{}}),Rr=St.style,On=Rr===void 0?{}:Rr,Kn=ct(St,tl);return Jt.attrs.style=Oo(Oo({},Jt.attrs.style),On),Ae.apply(void 0,[qe.tag,Oo(Oo({},Jt.attrs),Kn)].concat(wt(Ft)))}var hu=!1;try{hu=!0}catch{}function Fa(){if(!hu&&console&&typeof console.error=="function"){var Ae;(Ae=console).error.apply(Ae,arguments)}}function ho(Ae){if(Ae&&Du(Ae)==="object"&&Ae.prefix&&Ae.iconName&&Ae.icon)return Ae;if(Ru.icon)return Ru.icon(Ae);if(Ae===null)return null;if(Ae&&Du(Ae)==="object"&&Ae.prefix&&Ae.iconName)return Ae;if(Array.isArray(Ae)&&Ae.length===2)return{prefix:Ae[0],iconName:Ae[1]};if(typeof Ae=="string")return{prefix:"fas",iconName:Ae}}function Rl(Ae,qe){return Array.isArray(qe)&&qe.length>0||!Array.isArray(qe)&&qe?se({},Ae,qe):{}}var Es={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Tu=Lo.forwardRef(function(Ae,qe){var St=Oo(Oo({},Es),Ae),Ft=St.icon,Jt=St.mask,Rr=St.symbol,On=St.className,Kn=St.title,Bi=St.titleId,ji=St.maskId,Xi=ho(Ft),aa=Rl("classes",[].concat(wt(Zo(St)),wt((On||"").split(" ")))),Js=Rl("transform",typeof St.transform=="string"?Ru.transform(St.transform):St.transform),Ka=Rl("mask",ho(Jt)),To=ul(Xi,Oo(Oo(Oo(Oo({},aa),Js),Ka),{},{symbol:Rr,title:Kn,titleId:Bi,maskId:ji}));if(!To)return Fa("Could not find icon",Xi),null;var po=To.abstract,dt={ref:qe};return Object.keys(St).forEach(function(Ja){Es.hasOwnProperty(Ja)||(dt[Ja]=St[Ja])}),Dl(po[0],dt)});Tu.displayName="FontAwesomeIcon",Tu.propTypes={beat:Bs().bool,border:Bs().bool,beatFade:Bs().bool,bounce:Bs().bool,className:Bs().string,fade:Bs().bool,flash:Bs().bool,mask:Bs().oneOfType([Bs().object,Bs().array,Bs().string]),maskId:Bs().string,fixedWidth:Bs().bool,inverse:Bs().bool,flip:Bs().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Bs().oneOfType([Bs().object,Bs().array,Bs().string]),listItem:Bs().bool,pull:Bs().oneOf(["right","left"]),pulse:Bs().bool,rotation:Bs().oneOf([0,90,180,270]),shake:Bs().bool,size:Bs().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Bs().bool,spinPulse:Bs().bool,spinReverse:Bs().bool,symbol
569:Bs().oneOfType([Bs().bool,Bs().string]),title:Bs().string,titleId:Bs().string,transform:Bs().oneOfType([Bs().string,Bs().object]),swapOpacity:Bs().bool};var Dl=Hu.bind(null,Lo.createElement)},46536(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.toBig=d.shrSL=d.shrSH=d.rotrSL=d.rotrSH=d.rotrBL=d.rotrBH=d.rotr32L=d.rotr32H=d.rotlSL=d.rotlSH=d.rotlBL=d.rotlBH=d.add5L=d.add5H=d.add4L=d.add4H=d.add3L=d.add3H=void 0,d.add=O,d.fromBig=r,d.split=a;const e=BigInt(2**32-1),n=BigInt(32);function r(q,J=!1){return J?{h:Number(q&e),l:Number(q>>n&e)}:{h:Number(q>>n&e)|0,l:Number(q&e)|0}}function a(q,J=!1){const re=q.length;let he=new Uint32Array(re),fe=new Uint32Array(re);for(let ae=0;ae<re;ae++){const{h:ye,l:ve}=r(q[ae],J);[he[ae],fe[ae]]=[ye,ve]}return[he,fe]}const i=(q,J)=>BigInt(q>>>0)<<n|BigInt(J>>>0);d.toBig=i;const s=(q,J,re)=>q>>>re;d.shrSH=s;const u=(q,J,re)=>q<<32-re|J>>>re;d.shrSL=u;const l=(q,J,re)=>q>>>re|J<<32-re;d.rotrSH=l;const m=(q,J,re)=>q<<32-re|J>>>re;d.rotrSL=m;const g=(q,J,re)=>q<<64-re|J>>>re-32;d.rotrBH=g;const h=(q,J,re)=>q>>>re-32|J<<64-re;d.rotrBL=h;const v=(q,J)=>J;d.rotr32H=v;const b=(q,J)=>q;d.rotr32L=b;const T=(q,J,re)=>q<<re|J>>>32-re;d.rotlSH=T;const E=(q,J,re)=>J<<re|q>>>32-re;d.rotlSL=E;const w=(q,J,re)=>J<<re-32|q>>>64-re;d.rotlBH=w;const C=(q,J,re)=>q<<re-32|J>>>64-re;d.rotlBL=C;function O(q,J,re,he){const fe=(J>>>0)+(he>>>0);return{h:q+re+(fe/2**32|0)|0,l:fe|0}}const U=(q,J,re)=>(q>>>0)+(J>>>0)+(re>>>0);d.add3L=U;const D=(q,J,re,he)=>J+re+he+(q/2**32|0)|0;d.add3H=D;const F=(q,J,re,he)=>(q>>>0)+(J>>>0)+(re>>>0)+(he>>>0);d.add4L=F;const j=(q,J,re,he,fe)=>J+re+he+fe+(q/2**32|0)|0;d.add4H=j;const M=(q,J,re,he,fe)=>(q>>>0)+(J>>>0)+(re>>>0)+(he>>>0)+(fe>>
vendor: 7,678 bytes, line 569
569>0);d.add5L=M;const W=(q,J,re,he,fe,ae)=>J+re+he+fe+ae+(q/2**32|0)|0;d.add5H=W;const V={fromBig:r,split:a,toBig:i,shrSH:s,shrSL:u,rotrSH:l,rotrSL:m,rotrBH:g,rotrBL:h,rotr32H:v,rotr32L:b,rotlSH:T,rotlSL:E,rotlBH:w,rotlBL:C,add:O,add3L:U,add3H:D,add4L:F,add4H:j,add5H:W,add5L:M};d.default=V},38399(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.crypto=void 0,d.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0},97005(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.shake256=d.shake128=d.keccak_512=d.keccak_384=d.keccak_256=d.keccak_224=d.sha3_512=d.sha3_384=d.sha3_256=d.sha3_224=d.Keccak=void 0,d.keccakP=O;const n=e(46536),r=e(18585),a=BigInt(0),i=BigInt(1),s=BigInt(2),u=BigInt(7),l=BigInt(256),m=BigInt(113),g=[],h=[],v=[];for(let j=0,M=i,W=1,V=0;j<24;j++){[W,V]=[V,(2*W+3*V)%5],g.push(2*(5*V+W)),h.push((j+1)*(j+2)/2%64);let q=a;for(let J=0;J<7;J++)M=(M<<i^(M>>u)*m)%l,M&s&&(q^=i<<(i<<BigInt(J))-i);v.push(q)}const b=(0,n.split)(v,!0),T=b[0],E=b[1],w=(j,M,W)=>W>32?(0,n.rotlBH)(j,M,W):(0,n.rotlSH)(j,M,W),C=(j,M,W)=>W>32?(0,n.rotlBL)(j,M,W):(0,n.rotlSL)(j,M,W);function O(j,M=24){const W=new Uint32Array(10);for(let V=24-M;V<24;V++){for(let re=0;re<10;re++)W[re]=j[re]^j[re+10]^j[re+20]^j[re+30]^j[re+40];for(let re=0;re<10;re+=2){const he=(re+8)%10,fe=(re+2)%10,ae=W[fe],ye=W[fe+1],ve=w(ae,ye,1)^W[he],Ue=C(ae,ye,1)^W[he+1];for(let We=0;We<50;We+=10)j[re+We]^=ve,j[re+We+1]^=Ue}let q=j[2],J=j[3];for(let re=0;re<24;re++){const he=h[re],fe=w(q,J,he),ae=C(q,J,he),ye=g[re];q=j[ye],J=j[ye+1],j[ye]=fe,j[ye+1]=ae}for(let re=0;re<50;re+=10){for(let he=0;he<10;he++)W[he]=j[re+he];for(let he=0;he<10;he++)j[re+he]^=~W[(he+2)%10]&W[(he+4)%10]}j[0]^=T[V],j[1]^=E[V]}(0,r.clean)(W)}class U extends r.Hash{constructor(M,W,V,q=!1,J=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=M,this.suffix=W,this.outputLen=V,this.enableXOF=q,this.rounds=J,(0,r.anumber)(V),!(0<M&&M<200))throw new Error("only keccak-f1600 function is supported");this.state=new Uint8Array(200),this.state32=(0,r.u32)(this.state)}clone(){return this._cloneInto()}keccak(){(0,r.swap32IfBE)(this.state32),O(this.state32,this.rounds),(0,r.swap32IfBE)(this.state32),this.posOut=0,this.pos=0}update(M){(0,r.aexists)(this),M=(0,r.toBytes)(M),(0,r.abytes)(M);const{blockLen:W,state:V}=this,q=M.length;for(let J=0;J<q;){const re=Math.min(W-this.pos,q-J);for(let he=0;he<re;he++)V[this.pos++]^=M[J++];this.pos===W&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:M,suffix:W,pos:V,blockLen:q}=this;M[V]^=W,(W&128)!==0&&V===q-1&&this.keccak(),M[q-1]^=128,this.keccak()}writeInto(M){(0,r.aexists)(this,!1),(0,r.abytes)(M),this.finish();const W=this.state,{blockLen:V}=this;for(let q=0,J=M.length;q<J;){this.posOut>=V&&this.keccak();const re=Math.min(V-this.posOut,J-q);M.set(W.subarray(this.posOut,this.posOut+re),q),this.posOut+=re,q+=re}return M}xofInto(M){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(M)}xof(M){return(0,r.anumber)(M),this.xofInto(new Uint8Array(M))}digestInto(M){if((0,r.aoutput)(M,this),this.finished)throw new Error("digest() was already called");return this.writeInto(M),this.destroy(),M}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,(0,r.clean)(this.state)}_cloneInto(M){const{blockLen:W,suffix:V,outputLen:q,rounds:J,enableXOF:re}=this;return M||(M=new U(W,V,q,re,J)),M.state32.set(this.state32),M.pos=this.pos,M.posOut=this.posOut,M.finished=this.finished,M.rounds=J,M.suffix=V,M.outputLen=q,M.enableXOF=re,M.destroyed=this.destroyed,M}}d.Keccak=U;const D=(j,M,W)=>(0,r.createHasher)(()=>new U(M,j,W));d.sha3_224=D(6,144,224/8),d.sha3_256=D(6,136,256/8),d.sha3_384=D(6,104,384/8),d.sha3_512=D(6,72,512/8),d.keccak_224=D(1,144,224/8),d.keccak_256=D(1,136,256/8),d.keccak_384=D(1,104,384/8),d.keccak_512=D(1,72,512/8);const F=(j,M,W)=>(0,r.createXOFer)((V={})=>new U(M,j,V.dkLen===void 0?W:V.dkLen,!0));d.shake128=F(31,168,128/8),d.shake256=F(31,136,256/8)},18585(f,d,e){"use strict";/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(d,"__esModule",{value:!0}),d.wrapXOFConstructorWithOpts=d.wrapConstructorWithOpts=d.wrapConstructor=d.Hash=d.nextTick=d.swap32IfBE=d.byteSwapIfBE=d.swap8IfBE=d.isLE=void 0,d.isBytes=r,d.anumber=a,d.abytes=i,d.ahash=s,d.aexists=u,d.aoutput=l,d.u8=m,d.u32=g,d.clean=h,d.createView=v,d.rotr=b,d.rotl=T,d.byteSwap=E,d.byteSwap32=w,d.bytesToHex=U,d.hexToBytes=j,d.asyncLoop=W,d.utf8ToBytes=V,d.bytesToUtf8=q,d.toBytes=J,d.kdfInputToBytes=re,d.concatBytes=he,d.checkOpts=fe,d.createHasher=ye,d.createOptHasher=ve,d.createXOFer=Ue,d.randomBytes=We;const n=e(38399);function r(de){return de instanceof Uint8Array||ArrayBuffer.isView(de)&&de.constructor.name==="Uint8Array"}function a(de){if(!Number.isSafeInteger(de)||de<0)throw new Error("positive integer expected, got "+de)}function i(de,...xe){if(!r(de))throw new Error("Uint8Array expected");if(xe.length>0&&!xe.includes(de.length))throw new Error("Uint8Array expected of length "+xe+", got length="+de.length)}function s(de){if(typeof de!="function"||typeof de.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");a(de.outputLen),a(de.blockLen)}function u(de,xe=!0){if(de.destroyed)throw new Error("Hash instance has been destroyed");if(xe&&de.finished)throw new Error("Hash#digest() has already been called")}function l(de,xe){i(de);const Fe=xe.outputLen;if(de.length<Fe)throw new Error("digestInto() expects output buffer of length at least "+Fe)}function m(de){return new Uint8Array(de.buffer,de.byteOffset,de.byteLength)}function g(de){return new Uint32Array(de.buffer,de.byteOffset,Math.floor(de.byteLength/4))}function h(...de){for(let xe=0;xe<de.length;xe++)de[xe].fill(0)}function v(de){return new DataView(de.buffer,de.byteOffset,de.byteLength)}function b(de,xe){return de<<32-xe|de>>>xe}function T(de,xe){return de<<xe|de>>>32-xe>>>0}d.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function E(de){return de<<24&4278190080|de<<8&16711680|de>>>8&65280|de>>>24&255}d.swap8IfBE=d.isLE?de=>de:de=>E(de),d.byteSwapIfBE=d.swap8IfBE;function w(de){for(let xe=0;xe<de.length;xe++)de[xe]=E(de[xe]);return de}d.swap32IfBE=d.isLE?de=>de:w;const C=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",O=Array.from({length:256},(de,xe)=>xe.toString(16).padStart(2,"0"));function U(de){if(i(de),C)return de.toHex();let xe="";for(let Fe=0;Fe<de.length;Fe++)xe+=O[de[Fe]];return xe}const D={_0:48,_9:57,A:65,F:70,a:97,f:102};function F(de){if(de>=D._0&&de<=D._9)return de-D._0;if(de>=D.A&&de<=D.F)return de-(D.A-10);if(de>=D.a&&de<=D.f)return de-(D.a-10)}function j(de){if(typeof de!="string")throw new Error("hex string expected, got "+typeof de);if(C)return Uint8Array.fromHex(de);const xe=de.length,Fe=xe/2;if(xe%2)throw new Error("hex string expected, got unpadded hex of length "+xe);const Xe=new Uint8Array(Fe);for(let Me=0,Ze=0;Me<Fe;Me++,Ze+=2){const rt=F(de.charCodeAt(Ze)),mt=F(de.charCodeAt(Ze+1));if(rt===void 0||mt===void 0){const Xt=de[Ze]+de[Ze+1];throw new Error('hex string expected, got non-hex character "'+Xt+'" at index '+Ze)}Xe[Me]=rt*16+mt}return Xe}const M=async()=>{};d.nextTick=M;async function W(de,xe,Fe){let Xe=Date.now();for(let Me=0;Me<de;Me++){Fe(Me);const Ze=Date.now()-Xe;Ze>=0&&Ze<xe||(await(0,d.nextTick)(),Xe+=Ze)}}function V(de){if(typeof de!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(de))}function q(de){return new TextDecoder().decode(de)}
569function J(de){return typeof de=="string"&&(de=V(de)),i(de),de}function re(de){return typeof de=="string"&&(de=V(de)),i(de),de}function he(...de){let xe=0;for(let Xe=0;Xe<de.length;Xe++){const Me=de[Xe];i(Me),xe+=Me.length}const Fe=new Uint8Array(xe);for(let Xe=0,Me=0;Xe<de.length;Xe++){const Ze=de[Xe];Fe.set(Ze,Me),Me+=Ze.length}return Fe}function fe(de,xe){if(xe!==void 0&&{}.toString.call(xe)!=="[object Object]")throw new Error("options should be object or undefined");return Object.assign(de,xe)}class ae{}d.Hash=ae;function ye(de){const xe=Xe=>de().update(J(Xe)).digest(),Fe=de();return xe.outputLen=Fe.outputLen,xe.blockLen=Fe.blockLen,xe.create=()=>de(),xe}function ve(de){const xe=(Xe,Me)=>de(Me).update(J(Xe)).digest(),Fe=de({});return xe.outputLen=Fe.outputLen,xe.blockLen=Fe.blockLen,xe.create=Xe=>de(Xe),xe}function Ue(de){const xe=(Xe,Me)=>de(Me).update(J(Xe)).digest(),Fe=de({});return xe.outputLen=Fe.outputLen,xe.blockLen=Fe.blockLen,xe.create=Xe=>de(Xe),xe}d.wrapConstructor=ye,d.wrapConstructorWithOpts=ve,d.wrapXOFConstructorWithOpts=Ue;function We(de=32){if(n.crypto&&typeof n.crypto.getRandomValues=="function")return n.crypto.getRandomValues(new Uint8Array(de));if(n.crypto&&typeof n.crypto.randomBytes=="function")return Uint8Array.from(n.crypto.randomBytes(de));throw new Error("crypto.getRandomValues must be defined")}},75815(f,d,e){var n;const{createId:r,init:a,getConstants:i,isCuid:s}=e(84078);n=r,n=a,n=i,n=s},84078(f,d,e){const{sha3_512:n}=e(97005),r=24,a=32,i=(w=4,C=Math.random)=>{let O="";for(;O.length<w;)O=O+Math.floor(C()*36).toString(36);return O};function s(w){let C=8n,O=0n;for(const U of w.values()){const D=BigInt(U);O=(O<<C)+D}return O}const u=(w="")=>s(n(w)).toString(36).slice(1),l=Array.from({length:26},(w,C)=>String.fromCharCode(C+97)),m=w=>l[Math.floor(w()*l.length)],g=({globalObj:w=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{},random:C=Math.random}={})=>{const O=Object.keys(w).toString(),U=O.length?O+i(a,C):i(a,C);return u(U).substring(0,a)},h=w=>()=>w++,v=476782367,b=({random:w=Math.random,counter:C=h(Math.floor(w()*v)),length:O=r,fingerprint:U=g({random:w})}={})=>function(){const F=m(w),j=Date.now().toString(36),M=C().toString(36),W=i(O,w),V=`${j+W+M+U}`;return`${F+u(V).substring(1,O)}`},T=b(),E=(w,{minLength:C=2,maxLength:O=a}={})=>{const U=w.length,D=/^[0-9a-z]+$/;return!!(typeof w=="string"&&U>=C&&U<=O&&D.test(w))};f.exports.getConstants=()=>({defaultLength:r,bigLength:a}),f.exports.init=b,f.exports.createId=T,f.exports.bufToBigInt=s,f.exports.createCounter=h,f.exports.createFingerprint=g,f.exports.isCuid=E},85291(f,d,e){"use strict";e.d(d,{A:()=>g});var n=function(h,v,b){return b===void 0&&(b=0),Math.round(Math.sqrt((1-b)*Math.pow(h,2)+b*Math.pow(v,2)))};const r=n;var a=function(h,v,b){return b===void 0&&(b=0),Number(((1-b)*h+b*v).toFixed(2))};const i=a;var s=e(2998),u=function(h){var v=h===void 0?[]:h,b=v[0],T=b===void 0?0:b,E=v[1],w=E===void 0?0:E,C=v[2],O=C===void 0?0:C,U=v[3],D=U===void 0?1:U,F=1<<24|T<<16|w<<8|O,j=F.toString(16).slice(1),M=(D*255).toString(16).padStart(2,"0").slice(0,2);return"#"+j+M};const l=u;var m=function(h,v,b){var T=(0,s.A)(h),E=T[0],w=T[1],C=T[2],O=T[3],U=(0,s.A)(v),D=U[0],F=U[1],j=U[2],M=U[3],W=l([r(E,D,b),r(w,F,b),r(C,j,b),i(O,M,b)]);return O===1&&M===1?W.slice(0,7):W};const g=m},2998(f,d,e){"use strict";e.d(d,{A:()=>u});var n=function(l){return l.split("").map(function(m){return m+m}).join("")},r=function(l){l===void 0&&(l="");var m=l.replace(/^#/,""),g=m.length;return g===3||g===4?n(m):m};const a=r;var i=function(l){return l?parseFloat((parseInt(l,16)/255).toFixed(2)):1},s=function(l){var m=a(l),g=m.slice(0,6),h=m.slice(6),v=parseInt(g,16);return[v>>16&255,v>>8&255,v>>0&255,i(h)]};const u=s},240(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(2998),r=function(u){var l=u===void 0?[]:u,m=l[0],g=m===void 0?0:m,h=l[1],v=h===void 0?0:h,b=l[2],T=b===void 0?0:b,E=l[3],w=E===void 0?1:E;return"rgba("+g+","+v+","+T+","+w+")"};const a=r;var i=function(u,l){var m=(0,n.A)(u),g=m[0],h=m[1],v=m[2],b=m[3],T=l??b;return a([g,h,v,T])};const s=i},3903(f,d,e){"use strict";var n=e(24015),r=function(s,u){return u===void 0&&(u=!1),function(l,m,g){if(l){s(l);return}if(m.statusCode>=400&&m.statusCode<=599){var h=g;if(u)if(n.TextDecoder){var v=a(m.headers&&m.headers["content-type"]);try{h=new TextDecoder(v).decode(g)}catch{}}else h=String.fromCharCode.apply(null,new Uint8Array(g));s({cause:h});return}s(null,g)}};function a(i){return i===void 0&&(i=""),i.toLowerCase().split(";").reduce(function(s,u){var l=u.split("="),m=l[0],g=l[1];return m.trim()==="charset"?g.trim():s},"utf-8")}f.exports=r},15860(f,d,e){"use strict";var n=e(24015),r=e(59163),a=e(86502),i=e(80586),s=e(26246);h.httpHandler=e(3903),h.requestInterceptorsStorage=new i,h.responseInterceptorsStorage=new i,h.retryManager=new s;/** 570 * @license 571 * slighly modified parse-headers 2.0.2 <https://github.com/kesla/parse-headers/> 572 * Copyright (c) 2014 David Björklund 573 * Available under the MIT license 574 * <https://github.com/kesla/parse-headers/blob/master/LICENCE> 575 */var u=function(w){var C={};return w&&w.trim().split(` 576`).forEach(function(O){var U=O.indexOf(":"),D=O.slice(0,U).trim().toLowerCase(),F=O.slice(U+1).trim();typeof C[D]>"u"?C[D]=F:Array.isArray(C[D])?C[D].push(F):C[D]=[C[D],F]}),C};f.exports=h,f.exports.default=h,h.XMLHttpRequest=n.XMLHttpRequest||T,h.XDomainRequest="withCredentials"in new h.XMLHttpRequest?h.XMLHttpRequest:n.XDomainRequest,l(["get","put","post","patch","head","delete"],function(E){h[E==="delete"?"del":E]=function(w,C,O){return C=g(w,C,O),C.method=E.toUpperCase(),v(C)}});function l(E,w){for(var C=0;C<E.length;C++)w(E[C])}function m(E){for(var w in E)if(E.hasOwnProperty(w))return!1;return!0}function g(E,w,C){var O=E;return a(w)?(C=w,typeof E=="string"&&(O={uri:E})):O=r({},w,{uri:E}),O.callback=C,O}function h(E,w,C){return w=g(E,w,C),v(w)}function v(E){if(typeof E.callback>"u")throw new Error("callback argument missing");if(E.requestType&&h.requestInterceptorsStorage.getIsEnabled()){var w={uri:E.uri||E.url,headers:E.headers||{},body:E.body,metadata:E.metadata||{},retry:E.retry,timeout:E.timeout},C=h.requestInterceptorsStorage.execute(E.requestType,w);E.uri=C.uri,E.headers=C.headers,E.body=C.body,E.metadata=C.metadata,E.retry=C.retry,E.timeout=C.timeout}var O=!1,U=function(de,xe,Fe){O||(O=!0,E.callback(de,xe,Fe))};function D(){W.readyState===4&&!h.responseInterceptorsStorage.getIsEnabled()&&setTimeout(
vendor: 4,363 bytes, lines 576-577
576M,0)}function F(){var We=void 0;if(W.response?We=W.response:We=W.responseText||b(W),ye)try{We=JSON.parse(We)}catch{}return We}function j(We){if(clearTimeout(ve),clearTimeout(E.retryTimeout),We instanceof Error||(We=new Error(""+(We||"Unknown XMLHttpRequest Error"))),We.statusCode=0,!q&&h.retryManager.getIsEnabled()&&E.retry&&E.retry.shouldRetry()){E.retryTimeout=setTimeout(function(){E.retry.moveToNextAttempt(),E.xhr=W,v(E)},E.retry.getCurrentFuzzedDelay());return}if(E.requestType&&h.responseInterceptorsStorage.getIsEnabled()){var de={headers:Ue.headers||{},body:Ue.body,responseUrl:W.responseURL,responseType:W.responseType},xe=h.responseInterceptorsStorage.execute(E.requestType,de);Ue.body=xe.body,Ue.headers=xe.headers}return U(We,Ue)}function M(){if(!q){var We;clearTimeout(ve),clearTimeout(E.retryTimeout),E.useXDR&&W.status===void 0?We=200:We=W.status===1223?204:W.status;var de=Ue,xe=null;if(We!==0?(de={body:F(),statusCode:We,method:re,headers:{},url:J,rawRequest:W},W.getAllResponseHeaders&&(de.headers=u(W.getAllResponseHeaders()))):xe=new Error("Internal XMLHttpRequest Error"),E.requestType&&h.responseInterceptorsStorage.getIsEnabled()){var Fe={headers:de.headers||{},body:de.body,responseUrl:W.responseURL,responseType:W.responseType},Xe=h.responseInterceptorsStorage.execute(E.requestType,Fe);de.body=Xe.body,de.headers=Xe.headers}return U(xe,de,de.body)}}var W=E.xhr||null;W||(E.cors||E.useXDR?W=new h.XDomainRequest:W=new h.XMLHttpRequest);var V,q,J=W.url=E.uri||E.url,re=W.method=E.method||"GET",he=E.body||E.data,fe=W.headers=E.headers||{},ae=!!E.sync,ye=!1,ve,Ue={body:void 0,headers:{},statusCode:0,method:re,url:J,rawRequest:W};if("json"in E&&E.json!==!1&&(ye=!0,fe.accept||fe.Accept||(fe.Accept="application/json"),re!=="GET"&&re!=="HEAD"&&(fe["content-type"]||fe["Content-Type"]||(fe["Content-Type"]="application/json"),he=JSON.stringify(E.json===!0?he:E.json))),W.onreadystatechange=D,W.onload=M,W.onerror=j,W.onprogress=function(){},W.onabort=function(){q=!0,clearTimeout(E.retryTimeout)},W.ontimeout=j,W.open(re,J,!ae,E.username,E.password),ae||(W.withCredentials=!!E.withCredentials),!ae&&E.timeout>0&&(ve=setTimeout(function(){if(!q){q=!0,W.abort("timeout");var We=new Error("XMLHttpRequest timeout");We.code="ETIMEDOUT",j(We)}},E.timeout)),W.setRequestHeader)for(V in fe)fe.hasOwnProperty(V)&&W.setRequestHeader(V,fe[V]);else if(E.headers&&!m(E.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in E&&(W.responseType=E.responseType),"beforeSend"in E&&typeof E.beforeSend=="function"&&E.beforeSend(W),W.send(he||null),W}function b(E){try{if(E.responseType==="document")return E.responseXML;var w=E.responseXML&&E.responseXML.documentElement.nodeName==="parsererror";if(E.responseType===""&&!w)return E.responseXML}catch{}return null}function T(){}},80586(f){"use strict";function d(a,i){var s=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(s)return(s=s.call(a)).next.bind(s);if(Array.isArray(a)||(s=e(a))||i&&a&&typeof a.length=="number"){s&&(a=s);var u=0;return function(){return u>=a.length?{done:!0}:{done:!1,value:a[u++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 577In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function e(a,i){if(a){if(typeof a=="string")return n(a,i);var s=Object.prototype.toString.call(a).slice(8,-1);if(s==="Object"&&a.constructor&&(s=a.constructor.name),s==="Map"||s==="Set")return Array.from(a);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(a,i)}}function n(a,i){(i==null||i>a.length)&&(i=a.length);for(var s=0,u=new Array(i);s<i;s++)u[s]=a[s];return u}var r=(function(){function a(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1}var i=a.prototype;return i.getIsEnabled=function(){return this.enabled_},i.enable=function(){this.enabled_=!0},i.disable=function(){this.enabled_=!1},i.reset=function(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1},i.addInterceptor=function(u,l){this.typeToInterceptorsMap_.has(u)||this.typeToInterceptorsMap_.set(u,new Set);var m=this.typeToInterceptorsMap_.get(u);return m.has(l)?!1:(m.add(l),!0)},i.removeInterceptor=function(u,l){var m=this.typeToInterceptorsMap_.get(u);return m&&m.has(l)?(m.delete(l),!0):!1},i.clearInterceptorsByType=function(u){var l=this.typeToInterceptorsMap_.get(u);
vendor: 27,501 bytes, lines 577-580
577return l?(this.typeToInterceptorsMap_.delete(u),this.typeToInterceptorsMap_.set(u,new Set),!0):!1},i.clear=function(){return this.typeToInterceptorsMap_.size?(this.typeToInterceptorsMap_=new Map,!0):!1},i.getForType=function(u){return this.typeToInterceptorsMap_.get(u)||new Set},i.execute=function(u,l){for(var m=this.getForType(u),g=d(m),h;!(h=g()).done;){var v=h.value;try{l=v(l)}catch{}}return l},a})();f.exports=r},26246(f){"use strict";var d=(function(){function n(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1}var r=n.prototype;return r.getIsEnabled=function(){return this.enabled_},r.enable=function(){this.enabled_=!0},r.disable=function(){this.enabled_=!1},r.reset=function(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1},r.getMaxAttempts=function(){return this.maxAttempts_},r.setMaxAttempts=function(i){this.maxAttempts_=i},r.getDelayFactor=function(){return this.delayFactor_},r.setDelayFactor=function(i){this.delayFactor_=i},r.getFuzzFactor=function(){return this.fuzzFactor_},r.setFuzzFactor=function(i){this.fuzzFactor_=i},r.getInitialDelay=function(){return this.initialDelay_},r.setInitialDelay=function(i){this.initialDelay_=i},r.createRetry=function(i){var s=i===void 0?{}:i,u=s.maxAttempts,l=s.delayFactor,m=s.fuzzFactor,g=s.initialDelay;return new e({maxAttempts:u||this.maxAttempts_,delayFactor:l||this.delayFactor_,fuzzFactor:m||this.fuzzFactor_,initialDelay:g||this.initialDelay_})},n})(),e=(function(){function n(a){this.maxAttempts_=a.maxAttempts,this.delayFactor_=a.delayFactor,this.fuzzFactor_=a.fuzzFactor,this.currentDelay_=a.initialDelay,this.currentAttempt_=1}var r=n.prototype;return r.moveToNextAttempt=function(){this.currentAttempt_++;var i=this.currentDelay_*this.delayFactor_;this.currentDelay_=this.currentDelay_+i},r.shouldRetry=function(){return this.currentAttempt_<this.maxAttempts_},r.getCurrentDelay=function(){return this.currentDelay_},r.getCurrentMinPossibleDelay=function(){return(1-this.fuzzFactor_)*this.currentDelay_},r.getCurrentMaxPossibleDelay=function(){return(1+this.fuzzFactor_)*this.currentDelay_},r.getCurrentFuzzedDelay=function(){var i=this.getCurrentMinPossibleDelay(),s=this.getCurrentMaxPossibleDelay();return i+Math.random()*(s-i)},n})();f.exports=d},34237(f,d){"use strict";function e(s,u,l){if(l===void 0&&(l=Array.prototype),s&&typeof l.find=="function")return l.find.call(s,u);for(var m=0;m<s.length;m++)if(Object.prototype.hasOwnProperty.call(s,m)){var g=s[m];if(u.call(void 0,g,m,s))return g}}function n(s,u){return u===void 0&&(u=Object),u&&typeof u.freeze=="function"?u.freeze(s):s}function r(s,u){if(s===null||typeof s!="object")throw new TypeError("target is not an object");for(var l in u)Object.prototype.hasOwnProperty.call(u,l)&&(s[l]=u[l]);return s}var a=n({HTML:"text/html",isHTML:function(s){return s===a.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(s){return s===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});d.assign=r,d.find=e,d.freeze=n,d.MIME_TYPE=a,d.NAMESPACE=i},64086(f,d,e){var n,r=e(34237),a=e(76505),i=e(54854),s=e(48917),u=a.DOMImplementation,l=r.NAMESPACE,m=s.ParseError,g=s.XMLReader;function h(U){return U.replace(/\r[\n\u0085]/g,` 578`).replace(/[\r\u0085\u2028]/g,` 579`)}function v(U){this.options=U||{locator:{}}}v.prototype.parseFromString=function(U,D){var F=this.options,j=new g,M=F.domBuilder||new T,W=F.errorHandler,V=F.locator,q=F.xmlns||{},J=/\/x?html?$/.test(D),re=J?i.HTML_ENTITIES:i.XML_ENTITIES;V&&M.setDocumentLocator(V),j.errorHandler=b(W,M,V),j.domBuilder=F.domBuilder||M,J&&(q[""]=l.HTML),q.xml=q.xml||l.XML;var he=F.normalizeLineEndings||h;return U&&typeof U=="string"?j.parse(he(U),q,re):j.errorHandler.error("invalid doc source"),M.doc};function b(U,D,F){if(!U){if(D instanceof T)return D;U=D}var j={},M=U instanceof Function;F=F||{};function W(V){var q=U[V];!q&&M&&(q=U.length==2?function(J){U(V,J)}:U),j[V]=q&&function(J){q("[xmldom "+V+"] "+J+w(F))}||function(){}}return W("warning"),W("error"),W("fatalError"),j}function T(){this.cdata=!1}function E(U,D){D.lineNumber=U.lineNumber,D.columnNumber=U.columnNumber}T.prototype={startDocument:function(){this.doc=new u().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(U,D,F,j){var M=this.doc,W=M.createElementNS(U,F||D),V=j.length;O(this,W),this.currentElement=W,this.locator&&E(this.locator,W);for(var q=0;q<V;q++){var U=j.getURI(q),J=j.getValue(q),F=j.getQName(q),re=M.createAttributeNS(U,F);this.locator&&E(j.getLocator(q),re),re.value=re.nodeValue=J,W.setAttributeNode(re)}},endElement:function(U,D,F){var j=this.currentElement,M=j.tagName;this.currentElement=j.parentNode},startPrefixMapping:function(U,D){},endPrefixMapping:function(U){},processingInstruction:function(U,D){var F=this.doc.createProcessingInstruction(U,D);this.locator&&E(this.locator,F),O(this,F)},ignorableWhitespace:function(U,D,F){},characters:function(U,D,F){if(U=C.apply(this,arguments),U){if(this.cdata)var j=this.doc.createCDATASection(U);else var j=this.doc.createTextNode(U);this.currentElement?this.currentElement.appendChild(j):/^\s*$/.test(U)&&this.doc.appendChild(j),this.locator&&E(this.locator,j)}},skippedEntity:function(U){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(U){(this.locator=U)&&(U.lineNumber=0)},comment:function(U,D,F){U=C.apply(this,arguments);var j=this.doc.createComment(U);this.locator&&E(this.locator,j),O(this,j)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(U,D,F){var j=this.doc.implementation;if(j&&j.createDocumentType){var M=j.createDocumentType(U,D,F);this.locator&&E(this.locator,M),O(this,M),this.doc.doctype=M}},warning:function(U){console.warn("[xmldom warning] "+U,w(this.locator))},error:function(U){console.error("[xmldom error] "+U,w(this.locator))},fatalError:function(U){throw new m(U,this.locator)}};function w(U){if(U)return` 580@`+(U.systemId||"")+"#[line:"+U.lineNumber+",col:"+U.columnNumber+"]"}function C(U,D,F){return typeof U=="string"?U.substr(D,F):U.length>=D+F||D?new java.lang.String(U,D,F)+"":U}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(U){T.prototype[U]=function(){return null}});function O(U,D){U.currentElement?U.currentElement.appendChild(D):U.doc.appendChild(D)}n=T,n=h,d.DOMParser=v},76505(f,d,e){var n=e(34237),r=n.find,a=n.NAMESPACE;function i(we){return we!==""}function s(we){return we?we.split(/[\t\n\f\r ]+/).filter(i):[]}function u(we,Ke){return we.hasOwnProperty(Ke)||(we[Ke]=!0),we}function l(we){if(!we)return[];var Ke=s(we);return Object.keys(Ke.reduce(u,{}))}function m(we){return function(Ke){return we&&we.indexOf(Ke)!==-1}}function g(we,Ke){for(var ut in we)Object.prototype.hasOwnProperty.call(we,ut)&&(Ke[ut]=we[ut])}function h(we,Ke){var ut=we.prototype;if(!(ut instanceof Ke)){let ar=function(){};var Kt=ar;ar.prototype=Ke.prototype,ar=new ar,g(ut,ar),we.prototype=ut=ar}ut.constructor!=we&&(typeof we!="function"&&console.error("unknown Class:"+we),ut.constructor=we)}var v={},b=v.ELEMENT_NODE=1,T=v.ATTRIBUTE_NODE=2,E=v.TEXT_NODE=3,w=v.CDATA_SECTION_NODE=4,C=v.ENTITY_REFERENCE_NODE=5,O=v.ENTITY_NODE=6,U=v.PROCESSING_INSTRUCTION_NODE=7,D=v.COMMENT_NODE=8,F=v.DOCUMENT_NODE=9,j=v.DOCUMENT_TYPE_NODE=10,M=v.DOCUMENT_FRAGMENT_NODE=11,W=v.NOTATION_NODE=12,V={},q={},J=V.INDEX_SIZE_ERR=(q[1]="Index size error",1),re=V.DOMSTRING_SIZE_ERR=(q[2]="DOMString size error",2),he=V.HIERARCHY_REQUEST_ERR=(q[3]="Hierarchy request error",3),fe=V.WRONG_DOCUMENT_ERR=(q[4]="Wrong document",4),ae=V.INVALID_CHARACTER_ERR=(q[5]="Invalid character",5),ye=V.NO_DATA_ALLOWED_ERR=(q[6]="No data allowed",6),ve=V.NO_MODIFICATION_ALLOWED_ERR=(q[7]="No modification allowed",7),Ue=V.NOT_FOUND_ERR=(q[8]="Not found",8),We=V.NOT_SUPPORTED_ERR=(q[9]="Not supported",9),de=V.INUSE_ATTRIBUTE_ERR=(q[10]="Attribute in use",10),xe=V.INVALID_STATE_ERR=(q[11]="Invalid state",11),Fe=V.SYNTAX_ERR=(q[12]="Syntax error",12),Xe=V.INVALID_MODIFICATION_ERR=(q[13]="Invalid modification",13),Me=V.NAMESPACE_ERR=(q[14]="Invalid namespace",14),Ze=V.INVALID_ACCESS_ERR=(q[15]="Invalid access",15);function rt(we,Ke){if(Ke instanceof Error)var ut=Ke;else ut=this,Error.call(this,q[we]),this.message=q[we],Error.captureStackTrace&&Error.captureStackTrace(this,rt);return ut.code=we,Ke&&(this.message=this.message+": "+Ke),ut}rt.prototype=Error.prototype,g(V,rt);function mt(){}mt.prototype={length:0,item:function(we){return we>=0&&we<this.length?this[we]:null},toString:function(we,Ke){for(var ut=[],Kt=0;Kt<this.length;Kt++)Zn(this[Kt],ut,we,Ke);return ut.join("")},filter:function(we){return Array.prototype.filter.call(this,we)},indexOf:function(we){return Array.prototype.indexOf.call(this,we)}};function Xt(we,Ke){this._node=we,this._refresh=Ke,jt(this)}function jt(we){var Ke=we._node._inc||we._node.ownerDocument._inc;if(we._inc!==Ke){var ut=we._refresh(we._node);if(vs(we,"length",ut.length),!we.$$length||ut.length<we.$$length)for(var Kt=ut.length;Kt in we;Kt++)Object.prototype.hasOwnProperty.call(we,Kt)&&delete we[Kt];g(ut,we),we._inc=Ke}}Xt.prototype.item=function(we){return jt(this),this[we]||null},h(Xt,mt);function Lt(){}function Ht(we,Ke){for(var ut=we.length;ut--;)if(we[ut]===Ke)return ut}function vr(we,Ke,ut,Kt){if(Kt?Ke[Ht(Ke,Kt)]=ut:Ke[Ke.length++]=ut,we){ut.ownerElement=we;var ar=we.ownerDocument;ar&&(Kt&&Wr(ar,we,Kt),st(ar,we,ut))}}function Fr(we,Ke,ut){var Kt=Ht(Ke,ut);if(Kt>=0){for(var ar=Ke.length-1;Kt<ar;)Ke[Kt]=Ke[++Kt];if(Ke.length=ar,we){var Wn=we.ownerDocument;Wn&&(Wr(Wn,we,ut),ut.ownerElement=null)}}else throw new rt(Ue,new Error(we.tagName+"@"+ut))}Lt.prototype={length:0,item:mt.prototype.item,getNamedItem:function(we){for(var Ke=this.length;Ke--;){var ut=this[Ke];if(ut.nodeName==we)return ut}},setNamedItem:function(we){var Ke=we.ownerElement;if(Ke&&Ke!=this._ownerElement)throw new rt(de);var ut=this.getNamedItem(we.nodeName);return vr(this._ownerElement,this,we,ut),ut},setNamedItemNS:function(we){var Ke=we.ownerElement,ut;if(Ke&&Ke!=this._ownerElement)throw new rt(de);return ut=this.getNamedItemNS(we.namespaceURI,we.localName),vr(this._ownerElement,this,we,ut),ut},removeNamedItem:function(we){var Ke=this.getNamedItem(we);return Fr(this._ownerElement,this,Ke),Ke},removeNamedItemNS:function(we,Ke){var ut=this.getNamedItemNS(we,Ke);return Fr(this._ownerElement,this,ut),ut},getNamedItemNS:function(we,Ke){for(var ut=this.length;ut--;){var Kt=this[ut];if(Kt.localName==Ke&&Kt.namespaceURI==we)return Kt}return null}};function fn(){}fn.prototype={hasFeature:function(we,Ke){return!0},createDocument:function(we,Ke,ut){var Kt=new Et;if(Kt.implementation=this,Kt.childNodes=new mt,Kt.doctype=ut||null,ut&&Kt.appendChild(ut),Ke){var ar=Kt.createElementNS(we,Ke);Kt.appendChild(ar)}return Kt},createDocumentType:function(we,Ke,ut){var Kt=new In;return Kt.name=we,Kt.nodeName=we,Kt.publicId=Ke||"",Kt.systemId=ut||"",Kt}};function Kr(){}Kr.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(we,Ke){return dr(this,we,Ke)},replaceChild:function(we,Ke){dr(this,we,Ke,At),Ke&&this.removeChild(Ke)},removeChild:function(we){return Tr(this,we)},appendChild:function(we){return this.insertBefore(we,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(we){return cs(this.ownerDocument||this,this,we)},normalize:function(){for(var we=this.firstChild;we;){var Ke=we.nextSibling;Ke&&Ke.nodeType==E&&we.nodeType==E?(this.removeChild(Ke),we.appendData(Ke.data)):(we.normalize(),we=Ke)}},isSupported:function(we,Ke){return this.ownerDocument.implementation.hasFeature(we,Ke)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(we){for(var Ke=this;Ke;){var ut=Ke._nsMap;if(ut){for(var Kt in ut)if(Object.prototype.hasOwnProperty.call(ut,Kt)&&ut[Kt]===we)return Kt}Ke=Ke.nodeType==T?Ke.ownerDocument:Ke.parentNode}return null},lookupNamespaceURI:function(we){for(var Ke=this;Ke;){var ut=Ke._nsMap;if(ut&&Object.prototype.hasOwnProperty.call(ut,we))return ut[we];Ke=Ke.nodeType==T?Ke.ownerDocument:Ke.parentNode}return null},isDefaultNamespace:function(we){var Ke=this.lookupPrefix(we);return Ke==null}};function Sn(we){return we=="<"&&"<"||we==">"&&">"||we=="&"&&"&"||we=='"'&&"""||"&#"+we.charCodeAt()+";"}g(v,Kr),g(v,Kr.prototype);function Fn(we,Ke){if(Ke(we))return!0;if(we=we.firstChild)do if(Fn(we,Ke))return!0;while(we=we.nextSibling)}function Et(){this.ownerDocument=this}function st(we,Ke,ut){we&&we._inc++;var Kt=ut.namespaceURI;Kt===a.XMLNS&&(Ke._nsMap[ut.prefix?ut.localName:""]=ut.value)}function Wr(we,Ke,ut,Kt){we&&we._inc++;var ar=ut.namespaceURI;ar===a.XMLNS&&delete Ke._nsMap[ut.prefix?ut.localName:""]}function Dr(we,Ke,ut){if(we&&we._inc){we._inc++;var Kt=Ke.childNodes;if(ut)Kt[Kt.length++]=ut;else{for(var ar=Ke.firstChild,Wn=0;ar;)Kt[Wn++]=ar,ar=ar.nextSibling;Kt.length=Wn,delete Kt[Kt.length]}}}function Tr(we,Ke){var ut=Ke.previousSibling,Kt=Ke.nextSibling;return ut?ut.nextSibling=Kt:we.firstChild=Kt,Kt?Kt.previousSibling=ut:we.lastChild=ut,Ke.parentNode=null,Ke.previousSibling=null,Ke.nextSibling=null,Dr(we.ownerDocument,we),Ke}function gr(we){return we&&(we.nodeType===Kr.DOCUMENT_NODE||we.nodeType===Kr.DOCUMENT_FRAGMENT_NODE||we.nodeType===Kr.ELEMENT_NODE)}function ir(we){return we&&(Lr(we)||un(we)||Mr(we)||we.nodeType===Kr.DOCUMENT_FRAGMENT_NODE||we.nodeType===Kr.COMMENT_NODE||we.nodeType===Kr.PROCESSING_INSTRUCTION_NODE)}function Mr(we){return we&&we.nodeType===Kr.DOCUMENT_TYPE_NODE}function Lr(we){return we&&we.nodeType===Kr.ELEMENT_NODE}function un(we){return we&&we.nodeType===Kr.TEXT_NODE}function hn(we,Ke){var ut=we.childNodes||[];if(r(ut,Lr)||Mr(Ke))return!1;var Kt=r(ut,Mr);return!(Ke&&Kt&&ut.indexOf(Kt)>ut.indexOf(Ke))}function rr(we,Ke){var ut=we.childNodes||[];function Kt(Wn){return Lr(Wn)&&Wn!==Ke}if(r(ut,Kt))return!1;var ar=r(ut,Mr);return!(Ke&&ar&&ut.indexOf(ar)>ut.indexOf(Ke))}function Gr(we,Ke,ut){if(!gr(we))throw new rt(he,"Unexpected parent node type "+we.nodeType);if(ut&&ut.parentNode!==we)throw new rt(Ue,"child not in parent");if(!ir(Ke)||Mr(Ke)&&we.nodeType!==Kr.DOCUMENT_NODE)throw new rt(he,"Unexpected node type "+Ke.nodeType+" for parent node type "+we.nodeType)}function er(we,Ke,ut){var Kt=we.childNodes||[],ar=Ke.childNodes||[];if(Ke.nodeType===Kr.DOCUMENT_FRAGMENT_NODE){var Wn=ar.filter(Lr);if(Wn.length>1||r(ar,un))throw new rt(he,"More than one element or text in fragment");if(Wn.length===1&&!hn(we,ut))throw new rt(he,"Element in fragment can not be inserted before doctype")}if(Lr(Ke)&&!hn(we,ut))throw new rt(he,"Only one element can be added and only after doctype");if(Mr(Ke)){if(r(Kt,Mr))throw new rt(he,"Only one doctype is allowed");var hi=r(Kt,Lr);if(ut&&Kt.indexOf(hi)<Kt.indexOf(ut))throw new rt(he,"Doctype can only be inserted before an element");if(!ut&&hi)throw new rt(he,"Doctype can not be appended since element is present")}}function At(we,Ke,ut){var Kt=we.childNodes||[],ar=Ke.childNodes||[];if(Ke.nodeType===Kr.DOCUMENT_FRAGMENT_NODE){var Wn=ar.filter(Lr);if(Wn.length>1||r(ar,un))throw new rt(he,"More than one element or text in fragment");if(Wn.length===1&&!rr(we,ut))throw new rt(he,"Element in fragment can not be inserted before doctype")}if(Lr(Ke)&&!rr(we,ut))throw new rt(he,"Only one element can be added and only after doctype");if(Mr(Ke)){let qr=function(Vr){return Mr(Vr)&&Vr!==ut};var Tt=qr;if(r(Kt,qr))throw new rt(he,"Only one doctype is allowed");var hi=r(Kt,Lr);if(ut&&Kt.indexOf(hi)<Kt.indexOf(ut))throw new rt(he,"Doctype can only be inserted before an element")}}function dr(we,Ke,ut,Kt){Gr(we,Ke,ut),we.nodeType===Kr.DOCUMENT_NODE&&(Kt||er)(we,Ke,ut);var ar=Ke.parentNode;if(ar&&ar.removeChild(Ke),Ke.nodeType===M){var Wn=Ke.firstChild;if(Wn==null)return Ke;var hi=Ke.lastChild}else Wn=hi=Ke;var Tt=ut?ut.previousSibling:we.lastChild;Wn.previousSibling=Tt,hi.nextSibling=ut,Tt?Tt.nextSibling=Wn:we.firstChild=Wn,ut==null?we.lastChild=hi:ut.previousSibling=hi;do{Wn.parentNode=we;var qr=we.ownerDocument||we;Y(Wn,qr)}while(Wn!==hi&&(Wn=Wn.nextSibling));return Dr(we.ownerDocument||we,we),Ke.nodeType==M&&(Ke.firstChild=Ke.lastChild=null),Ke}function Y(we,Ke){if(we.ownerDocument!==Ke){if(we.ownerDocument=Ke,we.nodeType===b&&we.attributes)for(var ut=0;ut<we.attributes.length;ut++){var Kt=we.attributes.item(ut);Kt&&(Kt.ownerDocument=Ke)}for(var ar=we.firstChild;ar;)Y(ar,Ke),ar=ar.nextSibling}}function ot(we,Ke){Ke.parentNode&&Ke.parentNode.removeChild(Ke),Ke.parentNode=we,Ke.previousSibling=we.lastChild,Ke.nextSibling=null,Ke.previousSibling?Ke.previousSibling.nextSibling=Ke:we.firstChild=Ke,we.lastChild=Ke,Dr(we.ownerDocument,we,Ke);var ut=we.ownerDocument||we;return Y(Ke,ut),Ke}Et.prototype={nodeName:"#document",nodeType:F,doctype:null,documentElement:null,_inc:1,insertBefore:function(we,Ke){if(we.nodeType==M){for(var ut=we.firstChild;ut;){var Kt=ut.nextSibling;this.insertBefore(ut,Ke),ut=Kt}return we}return dr(this,we,Ke),Y(we,this),this.documentElement===null&&we.nodeType===b&&(this.documentElement=we),we},removeChild:function(we){return this.documentElement==we&&(this.documentElement=null),Tr(this,we)},replaceChild:function(we,Ke){dr(this,we,Ke,At),Y(we,this),Ke&&this.removeChild(Ke),Lr(we)&&(this.documentElement=we)},importNode:function(we,Ke){return fs(this,we,Ke)},getElementById:function(we){var Ke=null;return Fn(this.documentElement,function(ut){if(ut.nodeType==b&&ut.getAttribute("id")==we)return Ke=ut,!0}),Ke},getElementsByClassName:function(we){var Ke=l(we);return new Xt(this,function(ut){var Kt=[];return Ke.length>0&&Fn(ut.documentElement,function(ar){if(ar!==ut&&ar.nodeType===b){var Wn=ar.getAttribute("class");if(Wn){var hi=we===Wn;if(!hi){var Tt=l(Wn);hi=Ke.every(m(Tt))}hi&&Kt.push(ar)}}}),Kt})},createElement:function(we){var Ke=new Yt;Ke.ownerDocument=this,Ke.nodeName=we,Ke.tagName=we,Ke.localName=we,Ke.childNodes=new mt;var ut=Ke.attributes=new Lt;return ut._ownerElement=Ke,Ke},createDocumentFragment:function(){var we=new Hi;return we.ownerDocument=this,we.childNodes=new mt,we},createTextNode:function(we){var Ke=new an;return Ke.ownerDocument=this,Ke.appendData(we),Ke},createComment:function(we){var Ke=new Cn;return Ke.ownerDocument=this,Ke.appendData(we),Ke},createCDATASection:function(we){var Ke=new Ln;return Ke.ownerDocument=this,Ke.appendData(we),Ke},createProcessingInstruction:function(we,Ke){var ut=new Ji;return ut.ownerDocument=this,ut.tagName=ut.nodeName=ut.target=we,ut.nodeValue=ut.data=Ke,ut},createAttribute:function(we){var Ke=new it;return Ke.ownerDocument=this,Ke.name=we,Ke.nodeName=we,Ke.localName=we,Ke.specified=!0,Ke},createEntityReference:function(we){var Ke=new tn;return Ke.ownerDocument=this,Ke.nodeName=we,Ke},createElementNS:function(we,Ke){var ut=new Yt,Kt=Ke.split(":"),ar=ut.attributes=new Lt;return ut.childNodes=new mt,ut.ownerDocument=this,ut.nodeName=Ke,ut.tagName=Ke,ut.namespaceURI=we,Kt.length==2?(ut.prefix=Kt[0],ut.localName=Kt[1]):ut.localName=Ke,ar._ownerElement=ut,ut},createAttributeNS:function(we,Ke){var ut=new it,Kt=Ke.split(":");return ut.ownerDocument=this,ut.nodeName=Ke,ut.name=Ke,ut.namespaceURI=we,ut.specified=!0,Kt.length==2?(ut.prefix=Kt[0],ut.localName=Kt[1]):ut.localName=Ke,ut}},h(Et,Kr);function Yt(){this._nsMap={}}Yt.prototype={nodeType:b,hasAttribute:function(we){return this.getAttributeNode(we)!=null},getAttribute:function(we){var Ke=this.getAttributeNode(we);return Ke&&Ke.value||""},getAttributeNode:function(we){return this.attributes.getNamedItem(we)},setAttribute:function(we,Ke){var ut=this.ownerDocument.createAttribute(we);ut.value=ut.nodeValue=""+Ke,this.setAttributeNode(ut)},removeAttribute:function(we){var Ke=this.getAttributeNode(we);Ke&&this.removeAttributeNode(Ke)},appendChild:function(we){return we.nodeType===M?this.insertBefore(we,null):ot(this,we)},setAttributeNode:function(we){return this.attributes.setNamedItem(we)},setAttributeNodeNS:function(we){return this.attributes.setNamedItemNS(we)},removeAttributeNode:function(we){return this.attributes.removeNamedItem(we.nodeName)},removeAttributeNS:function(we,Ke){var ut=this.getAttributeNodeNS(we,Ke);ut&&this.removeAttributeNode(ut)},hasAttributeNS:function(we,Ke){return this.getAttributeNodeNS(we,Ke)!=null},getAttributeNS:function(we,Ke){var ut=this.getAttributeNodeNS(we,Ke);return ut&&ut.value||""},setAttributeNS:function(we,Ke,ut){var Kt=this.ownerDocument.createAttributeNS(we,Ke);Kt.value=Kt.nodeValue=""+ut,this.setAttributeNode(Kt)},getAttributeNodeNS:function(we,Ke){return this.attributes.getNamedItemNS(we,Ke)},getElementsByTagName:function(we){return new Xt(this,function(Ke){var ut=[];return Fn(Ke,function(Kt){Kt!==Ke&&Kt.nodeType==b&&(we==="*"||Kt.tagName==we)&&ut.push(Kt)}),ut})},getElementsByTagNameNS:function(we,Ke){return new Xt(this,function(ut){var Kt=[];return Fn(ut,function(ar){ar!==ut&&ar.nodeType===b&&(we==="*"||ar.namespaceURI===we)&&(Ke==="*"||ar.localName==Ke)&&Kt.push(ar)}),Kt})}},Et.prototype.getElementsByTagName=Yt.prototype.getElementsByTagName,Et.prototype.getElementsByTagNameNS=Yt.prototype.getElementsByTagNameNS,h(Yt,Kr);function it(){}it.prototype.nodeType=T,h(it,Kr);function Mt(){}Mt.prototype={data:"",substringData:function(we,Ke){return this.data.substring(we,we+Ke)},appendData:function(we){we=this.data+we,this.nodeValue=this.data=we,this.length=we.length},insertData:function(we,Ke){this.replaceData(we,0,Ke)},appendChild:function(we){throw new Error(q[he])},deleteData:function(we,Ke){this.replaceData(we,Ke,"")},replaceData:function(we,Ke,ut){var Kt=this.data.substring(0,we),ar=this.data.substring(we+Ke);ut=Kt+ut+ar,this.nodeValue=this.data=ut,this.length=ut.length}},h(Mt,Kr);function an(){}an.prototype={nodeName:"#text",nodeType:E,splitText:function(we){var Ke=this.data,ut=Ke.substring(we);Ke=Ke.substring(0,we),this.data=this.nodeValue=Ke,this.length=Ke.length;var Kt=this.ownerDocument.createTextNode(ut);return this.parentNode&&this.parentNode.insertBefore(Kt,this.nextSibling),Kt}},h(an,Mt);function Cn(){}Cn.prototype={nodeName:"#comment",nodeType:D},h(Cn,Mt);function Ln(){}Ln.prototype={nodeName:"#cdata-section",nodeType:w},h(Ln,Mt);function In(){}In.prototype.nodeType=j,h(In,Kr);function Si(){}Si.prototype.nodeType=W,h(Si,Kr);function $i(){}$i.prototype.nodeType=O,h($i,Kr);function tn(){}tn.prototype.nodeType=C,h(tn,Kr);function Hi(){}Hi.prototype.nodeName="#document-fragment",Hi.prototype.nodeType=M,h(Hi,Kr);function Ji(){}Ji.prototype.nodeType=U,h(Ji,Kr);function Yi(){}Yi.prototype.serializeToString=function(we,Ke,ut){return Ki.call(we,Ke,ut)},Kr.prototype.toString=Ki;function Ki(we,Ke){var ut=[],Kt=this.nodeType==9&&this.documentElement||this,ar=Kt.prefix,Wn=Kt.namespaceURI;if(Wn&&ar==null){var ar=Kt.lookupPrefix(Wn);if(ar==null)var hi=[{namespace:Wn,prefix:null}]}return Zn(this,ut,we,Ke,hi),ut.join("")}function mi(we,Ke,ut){var Kt=we.prefix||"",ar=we.namespaceURI;if(!ar||Kt==="xml"&&ar===a.XML||ar===a.XMLNS)return!1;for(var Wn=ut.length;Wn--;){var hi=ut[Wn];if(hi.prefix===Kt)return hi.namespace!==ar}return!0}function ws(we,Ke,ut){we.push(" ",Ke,'="',ut.replace(/[<>&"\t\n\r]/g,Sn),'"')}function Zn(we,Ke,ut,Kt,ar){if(ar||(ar=[]),Kt)if(we=Kt(we),we){if(typeof we=="string"){Ke.push(we);return}}else return;switch(we.nodeType){case b:var Wn=we.attributes,hi=Wn.length,xi=we.firstChild,Tt=we.tagName;ut=a.isHTML(we.namespaceURI)||ut;var qr=Tt;if(!ut&&!we.prefix&&we.namespaceURI){for(var Vr,Or=0;Or<Wn.length;Or++)if(Wn.item(Or).name==="xmlns"){Vr=Wn.item(Or).value;break}if(!Vr)for(var Pn=ar.length-1;Pn>=0;Pn--){var zr=ar[Pn];if(zr.prefix===""&&zr.namespace===we.namespaceURI){Vr=zr.namespace;break}}if(Vr!==we.namespaceURI)for(var Pn=ar.length-1;Pn>=0;Pn--){var zr=ar[Pn];if(zr.namespace===we.namespaceURI){zr.prefix&&(qr=zr.prefix+":"+Tt);break}}}Ke.push("<",qr);for(var Hn=0;Hn<hi;Hn++){var fi=Wn.item(Hn);fi.prefix=="xmlns"?ar.push({prefix:fi.localName,namespace:fi.value}):fi.nodeName=="xmlns"&&ar.push({prefix:"",namespace:fi.value})}for(var Hn=0;Hn<hi;Hn++){var fi=Wn.item(Hn);if(mi(fi,ut,ar)){var Ti=fi.prefix||"",ss=fi.namespaceURI;ws(Ke,Ti?"xmlns:"+Ti:"xmlns",ss),ar.push({prefix:Ti,namespace:ss})}Zn(fi,Ke,ut,Kt,ar)}if(Tt===qr&&mi(we,ut,ar)){var Ti=we.prefix||"",ss=we.namespaceURI;ws(Ke,Ti?"xmlns:"+Ti:"xmlns",ss),ar.push({prefix:Ti,namespace:ss})}if(xi||ut&&!/^(?:meta|link|img|br|hr|input)$/i.test(Tt)){if(Ke.push(">"),ut&&/^script$/i.test(Tt))for(;xi;)xi.data?Ke.push(xi.data):Zn(xi,Ke,ut,Kt,ar.slice()),xi=xi.nextSibling;else for(;xi;)Zn(xi,Ke,ut,Kt,ar.slice()),xi=xi.nextSibling;Ke.push("</",qr,">")}else Ke.push("/>");return;case F:case M:for(var xi=we.firstChild;xi;)Zn(xi,Ke,ut,Kt,ar.slice()),xi=xi.nextSibling;return;case T:return ws(Ke,we.name,we.value);case E:return Ke.push(we.data.replace(/[<&>]/g,Sn));case w:return Ke.push("<![CDATA[",we.data,"]]>");case D:return Ke.push("<!--",we.data,"-->");case j:var ms=we.publicId,wi=we.systemId;if(Ke.push("<!DOCTYPE ",we.name),ms)Ke.push(" PUBLIC ",ms),wi&&wi!="."&&Ke.push(" ",wi),Ke.push(">");else if(wi&&wi!=".")Ke.push(" SYSTEM ",wi,">");else{var Ls=we.internalSubset;Ls&&Ke.push(" [",Ls,"]"),Ke.push(">")}return;case U:return Ke.push("<?",we.target," ",we.data,"?>");case C:return Ke.push("&",we.nodeName,";");default:Ke.push("??",we.nodeName)}}function fs(we,Ke,ut){var Kt;switch(Ke.nodeType){case b:Kt=Ke.cloneNode(!1),Kt.ownerDocument=we;case M:break;case T:ut=!0;break}if(Kt||(Kt=Ke.cloneNode(!1)),Kt.ownerDocument=we,Kt.parentNode=null,ut)for(var ar=Ke.firstChild;ar;)Kt.appendChild(fs(we,ar,ut)),ar=ar.nextSibling;return Kt}function cs(we,Ke,ut){var Kt=new Ke.constructor;for(var ar in Ke)if(Object.prototype.hasOwnProperty.call(Ke,ar)){var Wn=Ke[ar];typeof Wn!="object"&&Wn!=Kt[ar]&&(Kt[ar]=Wn)}switch(Ke.childNodes&&(Kt.childNodes=new mt),Kt.ownerDocument=we,Kt.nodeType){case b:var hi=Ke.attributes,Tt=Kt.attributes=new Lt,qr=hi.length;Tt._ownerElement=Kt;for(var Vr=0;Vr<qr;Vr++)Kt.setAttributeNode(cs(we,hi.item(Vr),!0));break;case T:ut=!0}if(ut)for(var Or=Ke.firstChild;Or;)Kt.appendChild(cs(we,Or,ut)),Or=Or.nextSibling;return Kt}function vs(we,Ke,ut){we[Ke]=ut}try{if(Object.defineProperty){let we=function(Ke){switch(Ke.nodeType){case b:case M:var ut=[];for(Ke=Ke.firstChild;Ke;)Ke.nodeType!==7&&Ke.nodeType!==8&&ut.push(we(Ke)),Ke=Ke.nextSibling;return ut.join("");default:return Ke.nodeValue}};var wr=we;Object.defineProperty(Xt.prototype,"length",{get:function(){return jt(this),this.$$length}}),Object.defineProperty(Kr.prototype,"textContent",{get:function(){return we(this)},set:function(Ke){switch(this.nodeType){case b:case M:for(;this.firstChild;)this.removeChild(this.firstChild);(Ke||String(Ke))&&this.appendChild(this.ownerDocument.createTextNode(Ke));break;default:this.data=Ke,this.value=Ke,this.nodeValue=Ke}}}),vs=function(Ke,ut,Kt){Ke["$$"+ut]=Kt}}}catch{}d.DocumentType=In,d.DOMException=rt,d.DOMImplementation=fn,d.Element=Yt,d.Node=Kr,d.NodeList=mt,d.XMLSerializer=Yi},54854(f,d,e){"use strict";var n=e(34237).freeze;d.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),d.HTML_ENTITIES=n
vendor: 35,740 bytes, lines 580-581
580({Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",AMP:"&",amp:"&",And:"\u2A53",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",ap:"\u2248",apacir:"\u2A6F",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250C",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252C",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxUL:"\u255D",boxUl:"\u255C",boxuL:"\u255B",boxul:"\u2518",boxUR:"\u255A",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256C",boxVh:"\u256B",boxvH:"\u256A",boxvh:"\u253C",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255F",boxvR:"\u255E",boxvr:"\u251C",bprime:"\u2035",Breve:"\u02D8",breve:"\u02D8",brvbar:"\xA6",Bscr:"\u212C",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22D2",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",CenterDot:"\xB7",centerdot:"\xB7",Cfr:"\u212D",cfr:"\u{1D520}",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",Conint:"\u222F",conint:"\u222E",ContourIntegral:"\u222E",Copf:"\u2102",copf:"\u{1D554}",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xA9",copy:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",Cross:"\u2A2F",cross:"\u2717",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",Cup:"\u22D3",cup:"\u222A",cupbrcap:"\u2A48",CupCap:"\u224D",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21A1",dArr:"\u21D3",darr:"\u2193",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",Diamond:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21D3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",ecir:"\u2256",Ecirc:"\xCA",ecirc:"\xEA",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212F",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",ForAll:"\u2200",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\u{1D4BB}",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",Gg:"\u22D9",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gnE:"\u2269",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",Gt:"\u226B",GT:">",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",hArr:"\u21D4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",Hfr:"\u210C",hfr:"\u{1D525}",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",Hopf:"\u210D",hopf:"\u{1D559}",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210B",hscr:"\u{1D4BD}",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",Ifr:"\u2111",ifr:"\u{1D526}",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",Int:"\u222C",int:"\u222B",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",Iscr:"\u2110",iscr:"\u{1D4BE}",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",Lang:"\u27EA",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",Larr:"\u219E",lArr:"\u21D0",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",lAtail:"\u291B",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lBarr:"\u290E",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",Leftarrow:"\u21D0",leftarrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22D8",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lnE:"\u2268",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftarrow:"\u27F5",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\u{1D4C1}",Lsh:"\u21B0",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",Lt:"\u226A",LT:"<",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",Mscr:"\u2133",mscr:"\u{1D4C2}",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21D7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` 581`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlArr:"\u21CD",nlarr:"\u219A",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21CD",nleftarrow:"\u219A",nLeftrightarrow:"\u21CE",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",nopf:"\u{1D55F}",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nRightarrow:"\u21CF",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nVDash:"\u22AF",nVdash:"\u22AE",nvDash:"\u22AD",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwArr:"\u21D6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",Ocirc:"\xD4",ocirc:"\xF4",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",Or:"\u2A54",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",Otimes:"\u2A37",otimes:"\u2297",otimesas:"\u2A36",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",Popf:"\u2119",popf:"\u{1D561}",pound:"\xA3",Pr:"\u2ABB",pr:"\u227A",prap:"\u2AB7",prcue:"\u227C",prE:"\u2AB3",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",Qopf:"\u211A",qopf:"\u{1D562}",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",QUOT:'"',quot:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",Rang:"\u27EB",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",Rarr:"\u21A0",rArr:"\u21D2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",rAtail:"\u291C",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",RBarr:"\u2910",rBarr:"\u290F",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",REG:"\xAE",reg:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",Rfr:"\u211C",rfr:"\u{1D52F}",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",Rightarrow:"\u21D2",rightarrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",Ropf:"\u211D",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",Rscr:"\u211B",rscr:"\u{1D4C7}",Rsh:"\u21B1",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",Sc:"\u2ABC",sc:"\u227B",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227D",scE:"\u2AB4",sce:"\u2AB0",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",seArr:"\u21D8",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",Square:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",Sub:"\u22D0",sub:"\u2282",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",Subset:"\u22D0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",Sum:"\u2211",sum:"\u2211",sung:"\u266A",Sup:"\u22D1",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",Supset:"\u22D1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swArr:"\u21D9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",Tilde:"\u223C",tilde:"\u02DC",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",Uarr:"\u219F",uArr:"\u21D1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrow:"\u2191",Uparrow:"\u21D1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",Updownarrow:"\u21D5",updownarrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",upsi:"\u03C5",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",vArr:"\u21D5",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",Vbar:"\u2AEB",vBar:"\u2AE8",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22AB",Vdash:"\u22A9",vDash:"\u22A8",vdash:"\u22A2",Vdashl:"\u2AE6",Vee:"\u22C1",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",Wedge:"\u22C0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",Xi:"\u039E",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",Yuml:"\u0178",yuml:"\xFF",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",Zfr:"\u2128",zfr:"\u{1D537}",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",Zopf:"\u2124",zopf:"\u{1D56B}",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}),
vendor: 9,418 bytes, lines 581-585
581d.entityMap=d.HTML_ENTITIES},53217(f,d,e){var n,r=e(76505);n=r.DOMImplementation,n=r.XMLSerializer,d.DOMParser=e(64086).DOMParser},48917(f,d,e){var n=e(34237).NAMESPACE,r=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),i=new RegExp("^"+r.source+a.source+"*(?::"+r.source+a.source+"*)?$"),s=0,u=1,l=2,m=3,g=4,h=5,v=6,b=7;function T(J,re){this.message=J,this.locator=re,Error.captureStackTrace&&Error.captureStackTrace(this,T)}T.prototype=new Error,T.prototype.name=T.name;function E(){}E.prototype={parse:function(J,re,he){var fe=this.domBuilder;fe.startDocument(),j(re,re={}),w(J,re,he,fe,this.errorHandler),fe.endDocument()}};function w(J,re,he,fe,ae){function ye(gr){if(gr>65535){gr-=65536;var ir=55296+(gr>>10),Mr=56320+(gr&1023);return String.fromCharCode(ir,Mr)}else return String.fromCharCode(gr)}function ve(gr){var ir=gr.slice(1,-1);return Object.hasOwnProperty.call(he,ir)?he[ir]:ir.charAt(0)==="#"?ye(parseInt(ir.substr(1).replace("x","0x"))):(ae.error("entity not found:"+gr),gr)}function Ue(gr){if(gr>rt){var ir=J.substring(rt,gr).replace(/&#?\w+;/g,ve);Xe&&We(rt),fe.characters(ir,0,gr-rt),rt=gr}}function We(gr,ir){for(;gr>=xe&&(ir=Fe.exec(J));)de=ir.index,xe=de+ir[0].length,Xe.lineNumber++;Xe.columnNumber=gr-de+1}for(var de=0,xe=0,Fe=/.*(?:\r\n?|\n)|.*$/g,Xe=fe.locator,Me=[{currentNSMap:re}],Ze={},rt=0;;){try{var mt=J.indexOf("<",rt);if(mt<0){if(!J.substr(rt).match(/^\s*$/)){var Xt=fe.doc,jt=Xt.createTextNode(J.substr(rt));Xt.appendChild(jt),fe.currentElement=jt}return}switch(mt>rt&&Ue(mt),J.charAt(mt+1)){case"/":var Et=J.indexOf(">",mt+3),Lt=J.substring(mt+2,Et).replace(/[ \t\n\r]+$/g,""),Ht=Me.pop();Et<0?(Lt=J.substring(mt+2).replace(/[\s<].*/,""),ae.error("end tag name: "+Lt+" is not complete:"+Ht.tagName),Et=mt+1+Lt.length):Lt.match(/\s</)&&(Lt=Lt.replace(/[\s<].*/,""),ae.error("end tag name: "+Lt+" maybe not complete"),Et=mt+1+Lt.length);var vr=Ht.localNSMap,Fr=Ht.tagName==Lt,fn=Fr||Ht.tagName&&Ht.tagName.toLowerCase()==Lt.toLowerCase();if(fn){if(fe.endElement(Ht.uri,Ht.localName,Lt),vr)for(var Kr in vr)Object.prototype.hasOwnProperty.call(vr,Kr)&&fe.endPrefixMapping(Kr);Fr||ae.fatalError("end tag name: "+Lt+" is not match the current start tagName:"+Ht.tagName)}else Me.push(Ht);Et++;break;case"?":Xe&&We(mt),Et=W(J,mt,fe);break;case"!":Xe&&We(mt),Et=M(J,mt,fe,ae);break;default:Xe&&We(mt);var Sn=new V,Fn=Me[Me.length-1].currentNSMap,Et=O(J,mt,Sn,Fn,ve,ae),st=Sn.length;if(!Sn.closed&&F(J,Et,Sn.tagName,Ze)&&(Sn.closed=!0,he.nbsp||ae.warning("unclosed xml attribute")),Xe&&st){for(var Wr=C(Xe,{}),Dr=0;Dr<st;Dr++){var Tr=Sn[Dr];We(Tr.offset),Tr.locator=C(Xe,{})}fe.locator=Wr,U(Sn,fe,Fn)&&Me.push(Sn),fe.locator=Xe}else U(Sn,fe,Fn)&&Me.push(Sn);n.isHTML(Sn.uri)&&!Sn.closed?Et=D(J,Et,Sn.tagName,ve,fe):Et++}}catch(gr){if(gr instanceof T)throw gr;ae.error("element parse error: "+gr),Et=-1}Et>rt?rt=Et:Ue(Math.max(mt,rt)+1)}}function C(J,re){return re.lineNumber=J.lineNumber,re.columnNumber=J.columnNumber,re}function O(J,re,he,fe,ae,ye){function ve(Me,Ze,rt){he.attributeNames.hasOwnProperty(Me)&&ye.fatalError("Attribute "+Me+" redefined"),he.addValue(Me,Ze.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,ae),rt)}for(var Ue,We,de=++re,xe=s;;){var Fe=J.charAt(de);switch(Fe){case"=":if(xe===u)Ue=J.slice(re,de),xe=m;else if(xe===l)xe=m;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(xe===m||xe===u)if(xe===u&&(ye.warning('attribute value must after "="'),Ue=J.slice(re,de)),re=de+1,de=J.indexOf(Fe,re),de>0)We=J.slice(re,de),ve(Ue,We,re-1),xe=h;else throw new Error("attribute value no end '"+Fe+"' match");else if(xe==g)We=J.slice(re,de),ve(Ue,We,re),ye.warning('attribute "'+Ue+'" missed start quot('+Fe+")!!"),re=de+1,xe=h;else throw new Error('attribute value must after "="');break;case"/":switch(xe){case s:he.setTagName(J.slice(re,de));case h:case v:case b:xe=b,he.closed=!0;case g:case u:break;case l:he.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return ye.error("unexpected end of input"),xe==s&&he.setTagName(J.slice(re,de)),de;case">":switch(xe){case s:he.setTagName(J.slice(re,de));case h:case v:case b:break;case g:case u:We=J.slice(re,de),We.slice(-1)==="/"&&(he.closed=!0,We=We.slice(0,-1));case l:xe===l&&(We=Ue),xe==g?(ye.warning('attribute "'+We+'" missed quot(")!'),ve(Ue,We,re)):((!n.isHTML(fe[""])||!We.match(/^(?:disabled|checked|selected)$/i))&&ye.warning('attribute "'+We+'" missed value!! "'+We+'" instead!!'),ve(We,We,re));break;case m:throw new Error("attribute value missed!!")}return de;case"\x80":Fe=" ";default:if(Fe<=" ")switch(xe){case s:he.setTagName(J.slice(re,de)),xe=v;break;case u:Ue=J.slice(re,de),xe=l;break;case g:var We=J.slice(re,de);ye.warning('attribute "'+We+'" missed quot(")!!'),ve(Ue,We,re);case h:xe=v;break}else switch(xe){case l:var Xe=he.tagName;(!n.isHTML(fe[""])||!Ue.match(/^(?:disabled|checked|selected)$/i))&&ye.warning('attribute "'+Ue+'" missed value!! "'+Ue+'" instead2!!'),ve(Ue,Ue,re),re=de,xe=u;break;case h:ye.warning('attribute space is required"'+Ue+'"!!');case v:xe=u,re=de;break;case m:xe=g,re=de;break;case b:throw new Error("elements closed character '/' and '>' must be connected to")}}de++}}function U(J,re,he){for(var fe=J.tagName,ae=null,Fe=J.length;Fe--;){var ye=J[Fe],ve=ye.qName,Ue=ye.value,Xe=ve.indexOf(":");if(Xe>0)var We=ye.prefix=ve.slice(0,Xe),de=ve.slice(Xe+1),xe=We==="xmlns"&&de;else de=ve,We=null,xe=ve==="xmlns"&&"";ye.localName=de,xe!==!1&&(ae==null&&(ae={},j(he,he={})),he[xe]=ae[xe]=Ue,ye.uri=n.XMLNS,re.startPrefixMapping(xe,Ue))}for(var Fe=J.length;Fe--;){ye=J[Fe];var We=ye.prefix;We&&(We==="xml"&&(ye.uri=n.XML),We!=="xmlns"&&(ye.uri=he[We||""]))}var Xe=fe.indexOf(":");Xe>0?(We=J.prefix=fe.slice(0,Xe),de=J.localName=fe.slice(Xe+1)):(We=null,de=J.localName=fe);var Me=J.uri=he[We||""];if(re.startElement(Me,de,fe,J),J.closed){if(re.endElement(Me,de,fe),ae)for(We in ae)Object.prototype.hasOwnProperty.call(ae,We)&&re.endPrefixMapping(We)}else return J.currentNSMap=he,J.localNSMap=ae,!0}function D(J,re,he,fe,ae){if(/^(?:script|textarea)$/i.test(he)){var ye=J.indexOf("</"+he+">",re),ve=J.substring(re+1,ye);if(/[&<]/.test(ve))return/^script$/i.test(he)?(ae.characters(ve,0,ve.length),ye):(ve=ve.replace(/&#?\w+;/g,fe),ae.characters(ve,0,ve.length),ye)}return re+1}function F(J,re,he,fe){var ae=fe[he];return ae==null&&(ae=J.lastIndexOf("</"+he+">"),ae<re&&(ae=J.lastIndexOf("</"+he)),fe[he]=ae),ae<re}function j(J,re){for(var he in J)Object.prototype.hasOwnProperty.call(J,he)&&(re[he]=J[he])}function M(J,re,he,fe){var ae=J.charAt(re+2);switch(ae){case"-":if(J.charAt(re+3)==="-"){var ye=J.indexOf("-->",re+4);return ye>re?(he.comment(J,re+4,ye-re-4),ye+3):(fe.error("Unclosed comment"),-1)}else return-1;default:if(J.substr(re+3,6)=="CDATA["){var ye=J.indexOf("]]>",re+9);return he.startCDATA(),he.characters(J,re+9,ye-re-9),he.endCDATA(),ye+3}var ve=q(J,re),Ue=ve.length;if(Ue>1&&/!doctype/i.test(ve[0][0])){var We=ve[1][0],de=!1,xe=!1;Ue>3&&(/^public$/i.test(ve[2][0])?(de=ve[3][0],xe=Ue>4&&ve[4][0]):/^system$/i.test(ve[2][0])&&(xe=ve[3][0]));var Fe=ve[Ue-1];return he.startDTD(We,de,xe),he.endDTD(),Fe.index+Fe[0].length}}return-1}function W(J,re,he){var fe=J.indexOf("?>",re);if(fe){var ae=J.substring(re,fe).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(ae){var ye=ae[0].length;return he.processingInstruction(ae[1],ae[2]),fe+2}else return-1}return-1}function V(){this.attributeNames={}}V.prototype={setTagName:function(J){if(!i.test(J))throw new Error("invalid tagName:"+J);this.tagName=J},addValue:function(J,re,he){if(!i.test(J))throw new Error("invalid attribute:"+J);this.attributeNames[J]=this.length,this[this.length++]={qName:J,value:re,offset:he}},length:0,getLocalName:function(J){return this[J].localName},getLocator:function(J){return this[J].locator},getQName:function(J){return this[J].qName},getURI:function(J){return this[J].uri},getValue:function(J){return this[J].value}};function q(J,re){var he,fe=[],ae=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(ae.lastIndex=re,ae.exec(J);he=ae.exec(J);)if(fe.push(he),he[1])return fe}d.XMLReader=E,d.ParseError=T},19245(f){/*! 582 * bem-cn v3.0.1 583 * Friendly BEM class names generator, greate for React 584 * @author Alexander Burtsev, https://github.com/albburtsev 585 */(function(d,e){f.exports=e()})(this,function(){return(function(d){var e={};function n(r){if(e[r])return e[r].exports;var a=e[r]={i:r,l:!1,exports:{}};return d[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=d,n.c=e,n.d=function(r,a,i){n.o(r,a)||Object.defineProperty(r,a,{enumerable:!0,get:i})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,a){if(1&a&&(r=n(r)),8&a||4&a&&typeof r=="object"&&r&&r.__esModule)return r;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:r}),2&a&&typeof r!="string")for(var s in r)n.d(i,s,function(u){return r[u]}.bind(null,s));return i},n.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(a,"a",a),a},n.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)},n.p="",n(n.s=0)})([function(d,e,n){"use strict";
585Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);e.ERROR_BLOCK_NAME_TYPE="Block name should be a string",e.ERROR_BLOCK_NAME_EMPTY="Block name should be non-empty";var a={ns:"",el:"__",mod:"_",modValue:"_"},i=function(b){return typeof b=="string"},s=function(b){return typeof b!="string"},u=function(b,T){for(var E=[],w=2;w<arguments.length;w++)E[w-2]=arguments[w];var C=r.assign({},T);return C.mixes=C.mixes.concat(E),h(C,b)},l=function(b,T,E){for(var w=[],C=3;C<arguments.length;C++)w[C-3]=arguments[C];var O=r.assign({},T),U=r.assign({},O.states||{});return U[E]=r.assign.apply(void 0,[{},U[E]||{}].concat(w)),O.states=U,h(O,b)},m=function(b,T,E,w){return String.prototype.split.call(g(b,T),E,w)},g=function(b,T){var E=T.name,w=T.mods,C=T.mixes,O=T.states,U=[E];if(w&&(U=U.concat(Object.keys(w).filter(function(F){return w[F]}).map(function(F){var j=w[F];return j===!0?E+b.mod+F:E+b.mod+F+b.modValue+j}))),O&&Object.keys(O).forEach(function(F){var j=O[F];U=U.concat(Object.keys(j).filter(function(M){return j[M]}).map(function(M){return F+M}))}),b.ns&&(U=U.map(function(F){return b.ns+F})),C&&(U=U.concat((function(F){return F===void 0&&(F=[]),F.map(function(j){return Array.isArray(j)?j.join(" "):typeof j=="object"&&j!==null||typeof j=="function"?j.toString():typeof j=="string"?j:""}).filter(function(j){return!!j})})(C))),b.classMap){var D=b.classMap;U=U.map(function(F){return D[F]||F})}return U.join(" ")},h=function(b,T){return{mix:u.bind(null,T,b),split:m.bind(null,T,b),is:l.bind(null,T,b,"is-"),has:l.bind(null,T,b,"has-"),state:l.bind(null,T,b,"is-"),toString:g.bind(null,T,b)}},v=function(b,T){var E={name:b,mods:{},mixes:[],states:{"is-":{},"has-":{}}},w=function(C,O){for(var U=[],D=2;D<arguments.length;D++)U[D-2]=arguments[D];if(!U.length)return g(C,O);var F=r.assign({},O),j=U.filter(i).reduce(function(W,V){return W+C.el+V},"");j&&(F.name=F.name+j);var M=U.filter(s).reduce(function(W,V){return r.assign(W,V)},{});return F.mods=r.assign({},F.mods,M),h(F,C)}.bind(null,T,E);return w.mix=u.bind(null,T,E),w.split=m.bind(null,T,E),w.is=l.bind(null,T,E,"is-"),w.has=l.bind(null,T,E,"has-"),w.state=l.bind(null,T,E,"is-"),w.toString=g.bind(null,T,E),w};e.setup=function(b){return b===void 0&&(b={}),function(T){if(typeof T!="string")throw new Error(e.ERROR_BLOCK_NAME_TYPE);var E=T.trim();if(!E)throw new Error(e.ERROR_BLOCK_NAME_EMPTY);return v(E,r.assign({},a,b))}},e.block=e.setup(),e.default=e.block},function(d,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assign=function(r){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];for(var s=0;s<a.length;s++){var u=a[s];for(var l in u)u.hasOwnProperty(l)&&(r[l]=u[l])}return r}}])})},86428(f,d,e){"use strict";var n=e(72057),r=e(8326),a=e(82824),i=e(411);f.exports=i||n.call(a,r)},8326(f){"use strict";f.exports=Function.prototype.apply},82824(f){"use strict";f.exports=Function.prototype.call},7138(f,d,e){"use strict";var n=e(72057),r=e(4085),a=e(82824),i=e(86428);f.exports=function(u){if(u.length<1||typeof u[0]!="function")throw new r("a function is required");return i(n,a,u)}},411(f){"use strict";f.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply},40168(f,d,e){"use strict";var n=e(2633),r=e(7138),a=r([n("%String.prototype.indexOf%")]);f.exports=function(s,u){var l=n(s,!!u);return typeof l=="function"&&a(s,".prototype.")>-1?r([l]):l}},82031(f,d){var e,n;/*! 586 Copyright (c) 2018 Jed Watson. 587 Licensed under the MIT License (MIT), see 588 http://jedwatson.github.io/classnames 589*/(function(){"use strict";var r={}.hasOwnProperty;function a(){for(var i=[],s=0;s<arguments.length;s++){var u=arguments[s];if(u){var l=typeof u;if(l==="string"||l==="number")i.push(u);else if(Array.isArray(u)){if(u.length){var m=a.apply(null,u);m&&i.push(m)}}else if(l==="object")if(u.toString===Object.prototype.toString)for(var g in u)r.call(u,g)&&u[g]&&i.push(g);else i.push(u.toString())}}return i.join(" ")}f.exports?(a.default=a,f.exports=a):(e=[],n=(function(){return a}).apply(d,e),n!==void 0&&(f.exports=n))})()},89561(f,d){"use strict";/*! 590 * cookie 591 * Copyright(c) 2012-2014 Roman Shtylman 592 * Copyright(c) 2015 Douglas Christopher Wilson 593 * MIT Licensed
594 */d.parse=i,d.serialize=s;var e=decodeURIComponent,n=encodeURIComponent,r=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(l,m){if(typeof l!="string")throw new TypeError("argument str must be a string");for(var g={},h=m||{},v=l.split(r),b=h.decode||e,T=0;T<v.length;T++){var E=v[T],w=E.indexOf("=");if(!(w<0)){var C=E.substr(0,w).trim(),O=E.substr(++w,E.length).trim();O[0]=='"'&&(O=O.slice(1,-1)),g[C]==null&&(g[C]=u(O,b))}}return g}function s(l,m,g){var h=g||{},v=h.encode||n;if(typeof v!="function")throw new TypeError("option encode is invalid");if(!a.test(l))throw new TypeError("argument name is invalid");var b=v(m);if(b&&!a.test(b))throw new TypeError("argument val is invalid");var T=l+"="+b;if(h.maxAge!=null){var E=h.maxAge-0;if(isNaN(E))throw new Error("maxAge should be a Number");T+="; Max-Age="+Math.floor(E)}if(h.domain){if(!a.test(h.domain))throw new TypeError("option domain is invalid");T+="; Domain="+h.domain}if(h.path){if(!a.test(h.path))throw new TypeError("option path is invalid");T+="; Path="+h.path}if(h.expires){if(typeof h.expires.toUTCString!="function")throw new TypeError("option expires is invali
594d");T+="; Expires="+h.expires.toUTCString()}if(h.httpOnly&&(T+="; HttpOnly"),h.secure&&(T+="; Secure"),h.sameSite){var w=typeof h.sameSite=="string"?h.sameSite.toLowerCase():h.sameSite;switch(w){case!0:T+="; SameSite=Strict";break;case"lax":T+="; SameSite=Lax";break;case"strict":T+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return T}function u(l,m){try{return m(l)}catch{return l}}},31360(f,d){"use strict";/*! 595 * cookie 596 * Copyright(c) 2012-2014 Roman Shtylman 597 * Copyright(c) 2015 Douglas Christopher Wilson 598 * MIT Licensed 599 */d.parse=r,d.serialize=a;var e=Object.prototype.toString,n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function r(m,g){if(typeof m!="string")throw new TypeError("argument str must be a string");for(var h={},v=g||{},b=v.decode||i,T=0;T<m.length;){var E=m.indexOf("=",T);if(E===-1)break;var w=m.indexOf(";",T);if(w===-1)w=m.length;else if(w<E){T=m.lastIndexOf(";",E-1)+1;continue}var C=m.slice(T,E).trim();if(h[C]===void 0){var O=m.slice(E+1,w).trim();O.charCodeAt(0)===34&&(O=O.slice(1,-1)),h[C]=l(O,b)}T=w+1}return h}function a(m,g,h){var v=h||{},b=v.encode||s;if(typeof b!="function")throw new TypeError("option encode is invalid");if(!n.test(m))throw new TypeError("argument name is invalid");var T=b(g);if(T&&!n.test(T))throw new TypeError("argument val is invalid");var E=m+"="+T;if(v.maxAge!=null){var w=v.maxAge-0;if(isNaN(w)||!isFinite(w))throw new TypeError("option maxAge is invalid");E+="; Max-Age="+Math.floor(w)}if(v.domain){if(!n.test(v.domain))throw new TypeError("option domain is invalid");E+="; Domain="+v.domain}if(v.path){if(!n.test(v.path))throw new TypeError("option path is invalid");E+="; Path="+v.path}if(v.expires){var C=v.expires;if(!u(C)||isNaN(C.valueOf()))throw new TypeError("option expires is invali
599d");E+="; Expires="+C.toUTCString()}if(v.httpOnly&&(E+="; HttpOnly"),v.secure&&(E+="; Secure"),v.priority){var O=typeof v.priority=="string"?v.priority.toLowerCase():v.priority;switch(O){case"low":E+="; Priority=Low";break;case"medium":E+="; Priority=Medium";break;case"high":E+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(v.sameSite){var U=typeof v.sameSite=="string"?v.sameSite.toLowerCase():v.sameSite;switch(U){case!0:E+="; SameSite=Strict";break;case"lax":E+="; SameSite=Lax";break;case"strict":E+="; SameSite=Strict";break;case"none":E+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return E}function i(m){return m.indexOf("%")!==-1?decodeURIComponent(m):m}function s(m){return encodeURIComponent(m)}function u(m){return e.call(m)==="[object Date]"||m instanceof Date}function l(m,g){try{return g(m)}catch{return m}}},23347(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=3,r=e(15790),a=e(31054),i=e(17279).type("Async"),s=e(17279).typeFn(i(),n),u=e(68632),l=e(75743),m=e(78662),g=e(4473),h=e(85941),v=e(12739),b=e(20515),T=e(92116),E=e(23588),w=e(63867),C=e(6098),O=function(J){return J.reduce(function(re,he){return re&&C(q,he)},!0)},U=function(J){return q(function(re,he){return he(J)})},D=function(J){return q(function(re){return re(J)})};function F(J){if(!(b(J)&&O(J)))throw new TypeError("Async.all: Foldable structure of Asyncs required");return v(J)?l.sequence(q.of,J):J.sequence(q.of)}function j(J,re){if(!T(J))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var he=[],fe=arguments.length;fe--;)he[fe]=arguments[fe];return q(function(ae,ye){J.apply(re,he.concat(function(ve,Ue){return ve?ae(ve):ye(Ue)}))})}}function M(J){if(!T(J))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var re=arguments;return q(function(he,fe){var ae=J.apply(null,re);if(!w(ae))throw new TypeError("Async.fromPromise: Promise returning function required");ae.then(fe).catch(he)})}}function W(J,re){if(!(E(J)&&J>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return q(function(he){var fe=setTimeout(function(){he(re)},J);return function(){clearTimeout(fe)}})}function V(J,re){if(!(E(J)&&J>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return q(function(he,fe){var ae=setTimeout(function(){fe(re)},J);return function(){clearTimeout(ae)}})}function q(J){var re;if(!T(J))throw new TypeError("Async: Function required");var he=U,fe=function(){return"Async"+a(J)};function ae(Ze,rt,mt){if(!T(Ze)||!T(rt))throw new TypeError("Async.fork: Reject and resolve functions required");var Xt=!1,jt=!1,Lt=function(){Xt=!0},Ht=T(mt)?mt:h,vr=function(Kr,Sn){if(!jt)return jt=!0,Xt?h():Kr(Sn)},Fr=J(vr.bind(null,Ze),vr.bind(null,rt)),fn=T(Fr)?Fr:h;return g(function(){return Ht(Lt(fn()))})}function ye(){return new Promise(function(Ze,rt){ae(rt,Ze)})}function ve(Ze){if(!C(q,Ze))throw new TypeError("Async.race: Async required");return q(function(rt,mt){var Xt=g(function(Fr,fn){return Fr?mt(fn):rt(fn)}),jt=Xt.bind(null,!0),Lt=Xt.bind(null,!1),Ht=ae(Lt,jt),vr=Ze.fork(Lt,jt);return function(){Ht(),vr()}})}function Ue(Ze,rt){if(!T(Ze)||!T(rt))throw new TypeError("Async.swap: Functions required for both arguments");return q(function(mt,Xt){return ae(m(Xt,Ze),m(mt,rt))})}function We(Ze,rt){if(!T(Ze)||!T(rt))throw new TypeError("Async.coalesce: Functions required for both arguments");return q(function(mt,Xt){return ae(m(Xt,Ze),m(Xt,rt))})}function de(Ze){return function(rt){if(!T(rt))throw new TypeError("Async."+Ze+": Function required");return q(function(mt,Xt){return ae(mt,m(Xt,rt))})}}function xe(Ze){return function(rt,mt){if(!T(rt)||!T(mt))throw new TypeError("Async."+Ze+": Functions required for both arguments");return q(function(Xt,jt){return ae(m(Xt,rt),m(jt,mt))})}}function Fe(Ze){return function(rt){if(!C(q,rt))throw new TypeError("Async."+Ze+": Async required");return q(function(mt,Xt){var jt=h,Lt=h;return jt=ae(function(){Lt=rt.fork(mt,Xt)},Xt),g(function(){return Lt(jt())})})}}function Xe(Ze){if(!C(q,Ze))throw new TypeError("Async.ap: Async required");return q(function(rt,mt){var Xt=null,jt=null,Lt=!1,Ht=!1,vr=!1,Fr=function(){vr=!0},fn=g(rt);function Kr(){!vr&&Lt&&Ht&&m(mt,Xt)(jt)}var Sn=ae(fn,function(Et){if(!T(Et))throw new TypeError("Async.ap: Wrapped value must be a function");Lt=!0,Xt=Et,Kr()}),Fn=Ze.fork(fn,function(Et){Ht=!0,jt=Et,Kr()});return function(){Sn(),Fn(),Fr()}})}function Me(Ze){return function(rt){if(!T(rt))throw new TypeError("Async."+Ze+": Async returning function required");return q(function(mt,Xt){var jt=h,Lt=h;return jt=ae(mt,function(Ht){var vr=rt(Ht);if(!C(q,vr))throw new TypeError("Async."+Ze+": Function must return another Async");Lt=vr.fork(mt,Xt)}),g(function(){return Lt(jt())})})}}return re={fork:ae,toPromise:ye,inspect:fe,toString:fe,type:i,swap:Ue,race:ve,coalesce:We,ap:Xe,of:he,alt:Fe("alt"),bimap:xe("bimap"),map:de("map"),chain:Me("chain")},re[u.of]=he,re[u.alt]=Fe(u.alt),re[u.bimap]=xe(u.bimap),re[u.map]=de(u.map),re[u.chain]=Me(u.chain),re["@@type"]=s,re.constructor=q,re}
599q.of=U,q.type=i,q[u.of]=U,q["@@type"]=s,q.Rejected=D,q.Resolved=U,q.fromPromise=M,q.fromNode=j,q.all=F,q.rejectAfter=W,q.resolveAfter=V,q["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),f.exports=q},55425(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=2,r=e(15790),a=e(31054),i=e(17279).type("IO"),s=e(17279).typeFn(i(),n),u=e(68632),l=e(78662),m=e(92116),g=e(6098),h=function(b){return v(function(){return b})};function v(b){var T;if(!m(b))throw new TypeError("IO: Must wrap a function");var E=h,w=function(){return"IO"+a(b)};function C(D){return function(F){if(!m(F))throw new TypeError("IO."+D+": Function required");return v(l(F,b))}}function O(D){if(!g(v,D))throw new TypeError("IO.ap: IO required");return v(function(){var F=b();if(!m(F))throw new TypeError("IO.ap: Wrapped value must be a function");return D.map(F).run()})}function U(D){return function(F){if(!m(F))throw new TypeError("IO."+D+": Function required");return v(function(){var j=F(b());if(!g(v,j))throw new TypeError("IO."+D+": Function must return an IO");return j.run()})}}return T={inspect:w,toString:w,run:b,type:i,ap:O,of:E,map:C("map"),chain:U("chain")},T[u.of]=E,T[u.map]=C(u.map),T[u.chain]=U(u.chain),T["@@type"]=s,T.constructor=v,T}v.of=h,v.type=i,v[u.of]=h,v["@@type"]=s,v["@@implements"]=r(["ap","chain","map","of"]),f.exports=v},85941(f){/** @license ISC License (c) copyright 2017 original and current authors */f.exports=Function.prototype},31198(f,d,e){/** @license ISC License (c) copyright 2018 original and current authors */var n=e(37076),r=e(86952),a=function(i){return function(s){return n(i)?i.of(s):r(Array,i)?[s]:i(s)}};f.exports=a},75743(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(65682),r=e(12739),a=e(28539),i=e(92116),s=e(6098),u=e(77479),l=e(31198),m=function(D){return D},g=function(D){return function(F){return D.concat(F)}};function h(D,F){return function(j,M){var W=F(M);if(!((n(j)||r(j))&&s(j,W)))throw new TypeError("Array."+D+": Must wrap Applys of the same type");return r(W)?T(j,b(function(V){return g([V])},W)):W.map(function(V){return g([V])}).ap(j)}}var v=function(D){return D.reduce(function(F,j){return F&&i(j)},!0)},b=function(D,F){return F.map(function(j){return D(j)})};function T(D,F){if(!(F.length&&v(F)))throw new TypeError("Array.ap: Second Array must all be functions");return F.reduce(function(j,M){return j.concat(b(M,D))},[])}function E(D,F){return F.reduce(function(j,M){var W=D(M);if(!r(W))throw new TypeError("Array.chain: Function must return an Array");return j.concat(W)},[])}function w(D,F){var j=l(D);return F.reduceRight(h("sequence",m),j([]))}function C(D,F,j){var M=l(D);return j.reduceRight(h("traverse",F),M([]))}function O(D){if(a(D))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var F=D[0];if(!u(F))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return D.reduce(function(j,M){if(!s(j,M))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return j.concat(M)})}function U(D,F){if(a(F))throw new TypeError("Array.foldMap: Non-empty Array required");var j=D(F[0]);if(!u(j))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return F.length===1?j:F.slice(1).reduce(function(M,W){var V=D(W);if(!(s(M,V)&&u(V)))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return M.concat(V)},j)}f.exports={ap:T,chain:E,fold:O,foldMap:U,map:b,sequence:w,traverse:C}},78662(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e,n){return function(r){return e(n(r))}}f.exports=d},94597(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(92116);function r(i,s){return n(i)?i.length>1?i.bind(null,s):i.call(null,s):i}function a(i){return function(){for(var s=[],u=arguments.length;u--;)s[u]=arguments[u];var l=s.length?s:[void 0];if(l.length<i.length)return a(Function.bind.apply(i,[null].concat(l)));var m=l.length===i.length?i.apply(null,l):l.reduce(r,i);return n(m)?a(m):m}}f.exports=a},68632(f){/** @license ISC License (c) copyright 2018 original and current authors */f.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},51482(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(92116),r=e(68632),a=function(u,l){return n(l[r[u]])||n(l[u])},i=function(u,l){return n(l["@@implements"])&&!!l["@@implements"](u)},s=function(u,l){return!!l&&(a(u,l)||i(u,l))};f.exports=s},15790(f){/** @license ISC License (c) copyright 2017 original and current authors */var d=function(e){return function(n){return e.indexOf(n)!==-1}};f.exports=d},31054(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(12739),r=e(92116),a=e(52611),i=e(82733),s=e(27140);function u(m){return m.length?m.map(l).reduce(function(g,h){return g+","+h}):m}function l(m){return m&&r(m.inspect)?" "+m.inspect():r(m)?" Function":n(m)?" ["+u(m)+" ]":a(m)?" { "+Object.keys(m).reduce(function(g,h){return g.concat([h+":"+l(m[h])])},[]).join(", ")+" }":i(m)?' "'+m+'"':s(m)?" "+m.toString():" "+m}f.exports=l},37076(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(51482),r=e(65682);function a(i){return r(i)&&(n("of",i)||n("of",i.constructor))}f.exports=a},65682(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(51482),r=e(27077);function a(i){return r(i)&&n("ap",i)}f.exports=a},12739(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return Array.isArray(e)}f.exports=d},28539(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(52611);function r(a){return n(a)?!Object.keys(a).length:a&&a.length!==void 0?!a.length:!0}f.exports=r},20515(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(51482);function r(a){return!!a&&n("reduce",a)}f.exports=r},92116(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="function"}f.exports=d},27077(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(51482);function r(a){return!!a&&n("map",a)}f.exports=r},23588(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(65057);function r(a){return n(a)&&isFinite(a)&&Math.floor(a)===a}f.exports=r},65057(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="number"&&!isNaN(e)}f.exports=d},52611(f){/** @license ISC License (c) copyright 2016 original and current authors */var d=Object.prototype.toString;function e(n){return!!n&&d.call(n)==="[object Object]"}f.exports=e},63867(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(92116);function r(a){return!!a&&n(a.then)&&n(a.catch)}f.exports=r},6098(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(94597),r=e(92116),a=e(69408);function i(s,u){var l=a(s),m=a(u);return l===m||r(s)&&s.name===m||r(u)&&u.name===l}f.exports=n(i)},77479(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(82733),r=e(51482);function a(i){return n(i)||!!i&&r("concat",i)}f.exports=a},82733(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="string"}f.exports=d},27140(f){/** @license ISC License (c) copyright 2018 original and current authors */function d(e){return typeof e=="symbol"}f.exports=d},86952(f,d,e){/** @license ISC License (c) copyright 2018 original and current authors */var n=e(92116),r=function(a,i){return n(i)&&(a===i||a.name===i.name)};f.exports=r},4473(f){/** @license ISC License (c) copyright 2017 original and current authors */function d(e){var n,r;return function(){return n||(n=!0,r=e.apply(null,arguments)),r}}f.exports=d},69408(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(92116);function r(a){return a&&n(a.type)?a.type():{}.toString.call(a).slice(8,-1)}f.exports=r},17279(f){/** @license ISC License (c) copyright 2017 original and current authors */var d={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(a){return a+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},e=function(a){return d[a]||d.unk},n=function(a){return{type:e(a)}},r=function(a,i,s){var u=e(a)(s);return"crocks/"+u+"@"+(i||0)};f.exports={proxy:n,type:e,typeFn:r}},81783(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=5,r=e(6970),a=e(42802),i=e(98779).t
599ype("Async"),s=e(98779).typeFn(i(),n),u=e(57708),l=e(62683),m=e(20850),g=e(98725),h=e(39889),v=e(68127),b=e(77063),T=e(56312),E=e(83016),w=e(38687),C=e(84054),O=function(J){return J.reduce(function(re,he){return re&&C(q,he)},!0)},U=function(J){return q(function(re,he){return he(J)})},D=function(J){return q(function(re){return re(J)})};function F(J){if(!(b(J)&&O(J)))throw new TypeError("Async.all: Foldable structure of Asyncs required");return v(J)?l.sequence(q.of,J):J.sequence(q.of)}function j(J,re){if(!T(J))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var he=[],fe=arguments.length;fe--;)he[fe]=arguments[fe];return q(function(ae,ye){J.apply(re,he.concat(function(ve,Ue){return ve?ae(ve):ye(Ue)}))})}}function M(J){if(!T(J))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var re=arguments;return q(function(he,fe){var ae=J.apply(null,re);if(!w(ae))throw new TypeError("Async.fromPromise: Promise returning function required");ae.then(fe,he)})}}function W(J,re){if(!(E(J)&&J>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return q(function(he){var fe=setTimeout(function(){he(re)},J);return function(){clearTimeout(fe)}})}function V(J,re){if(!(E(J)&&J>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return q(function(he,fe){var ae=setTimeout(function(){fe(re)},J);return function(){clearTimeout(ae)}})}function q(J){var re;if(!T(J))throw new TypeError("Async: Function required");var he=U,fe=function(){return"Async"+a(J)};function ae(rt,mt,Xt){if(!T(rt)||!T(mt))throw new TypeError("Async.fork: Reject and resolve functions required");var jt=!1,Lt=!1,Ht=function(){jt=!0},vr=T(Xt)?Xt:h,Fr=function(Sn,Fn){if(!Lt)return Lt=!0,jt?h():Sn(Fn)},fn=J(Fr.bind(null,rt),Fr.bind(null,mt)),Kr=T(fn)?fn:h;return g(function(){return vr(Ht(Kr()))})}function ye(){return new Promise(function(rt,mt){ae(mt,rt)})}function ve(rt){if(!C(q,rt))throw new TypeError("Async.race: Async required");return q(function(mt,Xt){var jt=g(function(fn,Kr){return fn?Xt(Kr):mt(Kr)}),Lt=jt.bind(null,!0),Ht=jt.bind(null,!1),vr=ae(Ht,Lt),Fr=rt.fork(Ht,Lt);return function(){vr(),Fr()}})}function Ue(rt,mt){if(!T(rt)||!T(mt))throw new TypeError("Async.swap: Functions required for both arguments");return q(function(Xt,jt){return ae(m(jt,rt),m(Xt,mt))})}function We(rt,mt){if(!T(rt)||!T(mt))throw new TypeError("Async.coalesce: Functions required for both arguments");return q(function(Xt,jt){return ae(m(jt,rt),m(jt,mt))})}function de(rt){return function(mt){if(!T(mt))throw new TypeError("Async."+rt+": Function required");return q(function(Xt,jt){return ae(Xt,m(jt,mt))})}}function xe(rt){return function(mt,Xt){if(!T(mt)||!T(Xt))throw new TypeError("Async."+rt+": Functions required for both arguments");return q(function(jt,Lt){return ae(m(jt,mt),m(Lt,Xt))})}}function Fe(rt){return function(mt){if(!C(q,mt))throw new TypeError("Async."+rt+": Async required");return q(function(Xt,jt){var Lt=h,Ht=h;return Lt=ae(function(){Ht=mt.fork(Xt,jt)},jt),g(function(){return Ht(Lt())})})}}function Xe(rt){if(!C(q,rt))throw new TypeError("Async.ap: Async required");return q(function(mt,Xt){var jt=null,Lt=null,Ht=!1,vr=!1,Fr=!1,fn=function(){Fr=!0},Kr=g(mt);function Sn(){!Fr&&Ht&&vr&&m(Xt,jt)(Lt)}var Fn=ae(Kr,function(st){if(!T(st))throw new TypeError("Async.ap: Wrapped value must be a function");Ht=!0,jt=st,Sn()}),Et=rt.fork(Kr,function(st){vr=!0,Lt=st,Sn()});return function(){Fn(),Et(),fn()}})}function Me(rt){return function(mt){if(!T(mt))throw new TypeError("Async."+rt+": Async returning function required");return q(function(Xt,jt){var Lt=h,Ht=h;return Lt=ae(Xt,function(vr){var Fr=mt(vr);if(!C(q,Fr))throw new TypeError("Async."+rt+": Function must return another Async");Ht=Fr.fork(Xt,jt)}),g(function(){return Ht(Lt())})})}}function Ze(rt,mt){var Xt="Async.bichain: Both arguments must be Async returning functions";if(!T(rt)||!T(mt))throw new TypeError(Xt);return q(function(jt,Lt){var Ht=h,vr=h;function Fr(fn){return function(Kr){var Sn=fn(Kr);if(!C(q,Sn))throw new TypeError(Xt);vr=Sn.fork(jt,Lt)}}return Ht=ae(Fr(rt),Fr(mt)),g(function(){return vr(Ht())})})}return re={fork:ae,toPromise:ye,inspect:fe,toString:fe,type:i,swap:Ue,race:ve,coalesce:We,ap:Xe,of:he,alt:Fe("alt"),bimap:xe("bimap"),map:de("map"),chain:Me("chain"),bichain:Ze},re[u.of]=he,re[u.alt]=Fe(u.alt),re[u.bimap]=xe(u.bimap),re[u.map]=de(u.map),re[u.chain]=Me(u.chain),re["@@type"]=s,re.constructor=q,re}
599q.of=U,q.type=i,q[u.of]=U,q["@@type"]=s,q.Rejected=D,q.Resolved=U,q.fromPromise=M,q.fromNode=j,q.all=F,q.rejectAfter=W,q.resolveAfter=V,q["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),f.exports=q},50748(f){/** @license ISC License (c) copyright 2016 original and current authors */var d=function(e){return e};f.exports=d},39889(f){/** @license ISC License (c) copyright 2017 original and current authors */f.exports=Function.prototype},2514(f,d,e){/** @license ISC License (c) copyright 2018 original and current authors */var n=e(96032),r=e(92204),a=function(i){return function(s){return n(i)?i.of(s):r(Array,i)?[s]:i(s)}};f.exports=a},62683(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(63494),r=e(68127),a=e(59103),i=e(56312),s=e(84054),u=e(29835),l=e(2514),m=function(j){return j},g=function(j){return function(M){return j.concat(M)}};function h(j,M){return function(W,V){var q=M(V);if(!((n(W)||r(W))&&s(W,q)))throw new TypeError("Array."+j+": Must wrap Applys of the same type");return r(q)?T(W,b(function(J){return g([J])},q)):q.map(function(J){return g([J])}).ap(W)}}var v=function(j){return j.reduce(function(M,W){return M&&i(W)},!0)},b=function(j,M){return M.map(function(W){return j(W)})};function T(j,M){if(!(M.length&&v(M)))throw new TypeError("Array.ap: Second Array must all be functions");return M.reduce(function(W,V){return W.concat(b(V,j))},[])}function E(j,M){return M.reduce(function(W,V){var q=j(V);if(!r(q))throw new TypeError("Array.chain: Function must return an Array");return W.concat(q)},[])}function w(j,M){var W=l(j);return M.reduceRight(h("sequence",m),W([]))}function C(j,M,W){var V=l(j);return W.reduceRight(h("traverse",M),V([]))}function O(j){if(a(j))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var M=j[0];if(!u(M))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return j.reduce(function(W,V){if(!s(W,V))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return W.concat(V)})}function U(j,M){if(a(M))throw new TypeError("Array.foldMap: Non-empty Array required");var W=j(M[0]);if(!u(W))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return M.length===1?W:M.slice(1).reduce(function(V,q){var J=j(q);if(!(s(V,J)&&u(J)))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return V.concat(J)},W)}function D(j,M,W){var V=W.slice();return V[j]=M,V}function F(j,M){return M.slice(0,j).concat(M.slice(j+1))}f.exports={ap:T,chain:E,fold:O,foldMap:U,map:b,sequence:w,set:D,traverse:C,unset:F}},20850(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e,n){return function(r){return e(n(r))}}f.exports=d},28377(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(56312),r="@@crocks/curried";function a(s,u){return n(s)?s.length>1?s.bind(null,u):s.call(null,u):s}function i(s){if(s[r])return s;function u(){for(var l=[],m=arguments.length;m--;)l[m]=arguments[m];var g=l.length?l:[void 0];if(g.length<s.length)return i(Function.bind.apply(s,[null].concat(g)));var h=g.length===s.length?s.apply(null,g):g.reduce(a,s);return n(h)?i(h):h}return Object.defineProperty(u,r,{enumerable:!1,writable:!1,value:!0}),u}f.exports=i},2813(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(84054),r=e(21214),a=e(47614),i=e(29748),s=e(57708),u=function(h,v){return h.valueOf()===v.valueOf()},l={Array:function(h,v){return h.length===v.length&&m(h,v)},Date:function(h,v){return r(h.valueOf(),v.valueOf())},Error:function(h,v){return h.name===v.name&&h.message===v.message},Object:function(h,v){return Object.keys(h).length===Object.keys(v).length&&m(h,v)},RegExp:function(h,v){return h.source===v.source&&h.ignoreCase===v.ignoreCase&&h.global===v.global&&h.multiline===v.multiline&&h.unicode===v.unicode}};function m(h,v){for(var b in h)if(!g(h[b],v[b]))return!1;return!0}function g(h,v){return r(h,v)?!0:n(h,v)?a("equals",h)?(v[s.equals]||v.equals).c
599all(v,h):(l[i(h)]||u)(h,v):!1}f.exports=g},57708(f){/** @license ISC License (c) copyright 2018 original and current authors */f.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",filter:"fantasy-land/filter",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},47614(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(56312),r=e(57708),a=function(u,l){return n(l[r[u]])||n(l[u])},i=function(u,l){return n(l["@@implements"])&&!!l["@@implements"](u)},s=function(u,l){return!!l&&(a(u,l)||i(u,l))};f.exports=s},6970(f){/** @license ISC License (c) copyright 2017 original and current authors */var d=function(e){return function(n){return e.indexOf(n)!==-1}};f.exports=d},42802(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(68127),r=e(56312),a=e(35084),i=e(54249),s=e(30224),u=e(72236);function l(g){return g.length?g.map(m).reduce(function(h,v){return h+","+v}):g}function m(g){return g&&r(g.inspect)?" "+g.inspect():r(g)?" Function":n(g)?" ["+l(g)+" ]":a(g)?" { "+Object.keys(g).reduce(function(h,v){return h.concat([v+":"+m(g[v])])},[]).join(", ")+" }":i(g)?' "'+g+'"':s(g)||u(g)?" "+g.toString():" "+g}f.exports=m},96032(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(47614),r=e(63494);function a(i){return r(i)&&(n("of",i)||n("of",i.constructor))}f.exports=a},63494(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(47614),r=e(45241);function a(i){return r(i)&&n("ap",i)}f.exports=a},68127(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return Array.isArray(e)}f.exports=d},84802(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(47614),r=e(45241);function a(i){return r(i)&&n("bimap",i)}f.exports=a},44247(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(47614),r=e(63494);function a(i){return r(i)&&n("chain",i)}f.exports=a},72236(f){/** @license ISC License (c) copyright 2018 original and current authors */function d(e){return Object.prototype.toString.apply(e)==="[object Date]"&&!isNaN(e.valueOf())}f.exports=d},59103(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(35084),r=e(55130),a=e(2813),i=e(57708);function s(u){if(r(u)){var l=u.constructor[i.empty]||u.constructor.empty||u.empty;return a(u,l())}return n(u)?!Object.keys(u).length:u&&u.length!==void 0?!u.length:!0}f.exports=s},77063(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(47614);function r(a){return!!a&&n("reduce",a)}f.exports=r},56312(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="function"}f.exports=d},45241(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(47614);function r(a){return!!a&&n("map",a)}f.exports=r},83016(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(29925);function r(a){return n(a)&&isFinite(a)&&Math.floor(a)===a}f.exports=r},55130(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(47614),r=e(29835);function a(i){return r(i)&&(n("empty",i)||n("empty",i.constructor))}f.exports=a},29925(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="number"&&!isNaN(e)}f.exports=d},35084(f){/** @license ISC License (c) copyright 2016 original and current authors */var d=Object.prototype.toString;function e(n){return!!n&&d.call(n)==="[object Object]"}f.exports=e},7956(f,d,e){/** @license ISC License (c) copyright 2018 original and current authors */var n=e(98779).proxy("Pred"),r=e(56312),a=e(84054),i=function(s){return r(s)||a(n,s)};f.exports=i},38687(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(56312);function r(a){return!!a&&n(a.then)&&n(a.catch)}f.exports=r},21214(f){/** @license ISC License (c) copyright 2017 original and current authors */function d(e,n){return e===n?e!==0||1/e===1/n:e!==e&&n!==n}f.exports=d},84054(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(28377),r=e(56312),a=e(29748);function i(s,u){var l=a(s),m=a(u);return l===m||r(s)&&s.name===m||r(u)&&u.name===l}f.exports=n(i)},29835(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(54249),r=e(47614);function a(i){return n(i)||!!i&&r("concat",i)}f.exports=a},54249(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="string"}f.exports=d},30224(f){/** @license ISC License (c) copyright 2018 original and current authors */function d(e){return typeof e=="symbol"}f.exports=d},92204(f,d,e){/** @license ISC License (c) copyright 2018 original and current authors */var n=e(56312),r=function(a,i){return n(i)&&(a===i||a.name===i.name)};f.exports=r},43419(f){/** @license ISC License (c) copyright 2017 original and current authors */function d(s){return function(u,l){var m=s[l];return m!==void 0&&(u[l]=m),u}}function e(s,u){var l=Object.keys(u).reduce(d(u),{});return Object.keys(s).reduce(d(s),l)}function n(s,u){return Object.keys(u).reduce(function(l,m){return s(u[m])&&(l[m]=u[m]),l},{})}function r(s,u){return Object.keys(u).reduce(function(l,m){return l[m]=s(u[m]),l},{})}function a(s,u,l){var m;return e((m={},m[s]=u,m),l)}function i(s,u){return Object.keys(u).reduce(function(l,m){return u[m]!==void 0&&m!==s&&(l[m]=u[m]),l},{})}f.exports={assign:e,filter:n,map:r,set:a,unset:i}},98725(f){/** @license ISC License (c) copyright 2017 original and current authors */function d(e){var n,r;return function(){return n||(n=!0,r=e.apply(null,arguments)),r}}f.exports=d},42968(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(56312);function r(a,i){return n(a)?a(i):a.runWith(i)}f.exports=r},29748(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(56312);function r(a){return a&&n(a.type)?a.type():{}.toString.call(a).slice(8,-1)}f.exports=r},98779(f){/** @license ISC License (c) copyright 2017 original and current authors */var d={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(a){return"Const("+a+")"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(a){return a+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},e=function(a){return d[a]||d.unk},n=function(a,i){return{type:function(){return e(a)(i)}}},r=function(a,i,s){var u=e(a)(s);return"crocks/"+u+"@"+(i||0)};f.exports={proxy:n,type:e,typeFn:r}},74469(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(28377),r=e(35084),a=e(43419);function i(s,u){if(!(r(s)&&r(u)))throw new TypeError("assign: Objects required for both arguments");return a.assign(s,u)}f.exports=n(i)},79182(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(56312),r="compose: Functions required";function a(s,u){if(!n(u))throw new TypeError(r);return function(){for(var l=[],m=arguments.length;m--;)l[m]=arguments[m];return u.call(null,s.apply(null,l))}}function i(){for(var s=[],u=arguments.length;u--;)s[u]=arguments[u];if(!arguments.length)throw new TypeError(r);var l=s.slice().reverse(),m=l[0];if(!n(m))throw new TypeError(r);var g=l.slice(1).concat(function(h){return h});return g.reduce(a,m)}f.exports=i},41133(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(28377),r=e(56312);function a(i){if(!r(i))throw new TypeError("curry: Function required");return n(i)}f.exports=a},61812(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(28377),r=e(7956),a=e(42968);function i(s,u){if(!(r(s)&&r(u)))throw new TypeError("and: Preds or predicate functions required for first two arguments");return function(l){return!!(a(s,l)&&a(u,l))}}f.exports=n(i)},80888(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */var n=e(28377),r=e(7956),a=e(42968);function i(s,u){if(!r(s))throw new TypeError("not: Pred or predicate function required for first argument");return!a(s,u)}f.exports=n(i)},7334(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(28377),r=e(84802),a=e(56312),i=e(57708);function s(u,l,m){if(!(a(u)&&a(l)))throw new TypeError("bimap: Functions required for first two arguments");if(!r(m))throw new TypeError("bimap: Bifunctor required for third argument");return(m[i.bimap]||m.bimap).call(m,u,l)}f.exports=n(s)},10358(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(62683).chain,r=e(28377),a=e(68127),i=e(44247),s=e(56312),u=e(57708);function l(m,g){if(!s(m))throw new TypeError("chain: Chain returning function required for first argument");
599if(!(i(g)||a(g)))throw new TypeError("chain: Chain of the same type required for second argument");return a(g)?n(m,g):(g[u.chain]||g.chain).call(g,m)}f.exports=r(l)},24779(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(28377),r=e(84054),a=e(29835),i=e(57708);function s(u,l){if(!(a(l)&&r(u,l)))throw new TypeError("concat: Semigroups of the same type required for both arguments");return(l[i.concat]||l.concat).call(l,u)}f.exports=n(s)},47198(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */f.exports=e(59103)},59419(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */f.exports=e(56312)},35534(f,d,e){/** @license ISC License (c) copyright 2017 original and current authors */f.exports=e(29925)},63098(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(34735),r=e(95193),a=e(50648).type("IO"),i=e(47853),s=e(46949),u=e(96831),l=function(g){return m(function(){return g})};function m(g){if(!s(g))throw new TypeError("IO: Must wrap a function");var h=l,v=function(){return"IO"+r(g)};function b(w){if(!s(w))throw new TypeError("IO.map: Function required");return m(i(w,g))}function T(w){if(!u(m,w))throw new TypeError("IO.ap: IO required");return E(function(C){return w.map(C)})}function E(w){if(!s(w))throw new TypeError("IO.chain: Function required");return m(function(){var C=w(g());if(!u(m,C))throw new TypeError("IO.chain: Function must return an IO");return C.run()})}return{inspect:v,run:g,type:a,map:b,ap:T,of:h,chain:E}}m.of=l,m.type=a,m["@@implements"]=n(["ap","chain","map","of"]),f.exports=m},39949(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(55126);f.exports=n(e(92005))},79775(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return Array.prototype.slice.call(e)}f.exports=d},47853(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e,n){return function(r){return e(n(r))}}f.exports=d},92005(f){/** @license ISC License (c) copyright 2016 original and current authors */var d=function(e){return function(){return e}};f.exports=d},55126(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(79775),r=e(46949);function a(s,u){return r(s)?s.length>1?s.bind(null,u):s.call(null,u):s}function i(s){return function(){var u=n(arguments),l=u.length?u:[void 0];if(l.length<s.length)return i(Function.bind.apply(s,[null].concat(l)));var m=l.length===s.length?s.apply(null,l):l.reduce(a,s);return r(m)?i(m):m}}f.exports=i},34735(f){/** @license ISC License (c) copyright 2017 original and current authors */var d=function(e){return function(n){return e.indexOf(n)!==-1}};f.exports=d},95193(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(87420),r=e(46949),a=e(54742),i=e(54324);function s(l){return l.length?l.map(u).reduce(function(m,g){return m+","+g}):l}function u(l){return l&&r(l.inspect)?" "+l.inspect():r(l)?" Function":n(l)?" ["+s(l)+" ]":a(l)?" {}":i(l)?' "'+l+'"':" "+l}f.exports=u},87420(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return Array.isArray(e)}f.exports=d},46949(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="function"}f.exports=d},49822(f){/** @license ISC License (c) copyright 2017 original and current authors */function d(e){return e==null||Number.isNaN(e)}f.exports=d},54742(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return!!e&&e.toString&&e.toString()==="[object Object]"}f.exports=d},96831(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(55126),r=e(87420),a=e(46949),i=e(49822);function s(h){return!!h&&a(h.type)}function u(h,v){return s(h)&&s(v)&&h.type()===v.type()}function l(h){return r(h)?"array":typeof h}function m(h,v){return h.name===v.constructor.name||v.name===h.constructor.name}function g(h,v){return s(h)||s(v)?u(h,v):i(h)||i(v)?h===v:m(h,v)||l(h)===l(v)}f.exports=n(g)},54324(f){/** @license ISC License (c) copyright 2016 original and current authors */function d(e){return typeof e=="string"}f.exports=d},50648(f){/** @license ISC License (c) copyright 2017 original and current authors */var d={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},e=function(r){return d[r]||d.unk},n=function(r){return{type:e(r)}};f.exports={proxy:n,type:e}},6564(f,d,e){/** @license ISC License (c) copyright 2016 original and current authors */var n=e(55126),r=e(46949);function a(i){if(!r(i))throw new TypeError("curry: Function required");return n(i)}f.exports=a},99858(f){(function(d){"use strict";var e="cuid",n=0,r=4,a=36,i=Math.pow(a,r),s=function(h,v){var b="000000000"+h;return b.substr(b.length-v)},u=function(){return s((Math.random()*i<<0).toString(a),r)},l=function(){return n=n<i?n:0,n++,n-1},m=function(){var h="c",v=new Date().getTime().toString(a),b,T=m.fingerprint(),E=u()+u();return b=s(l().toString(a),r),h+v+b+T+E};m.slug=function(){var h=new Date().getTime().toString(36),v,b=m.fingerprint().slice(0,1)+m.fingerprint().slice(-1),T=u().slice(-2);return v=l().toString(36).slice(-4),h.slice(-2)+v+b+T},m.globalCount=function(){var h=(function(){var b,T=0;for(b in window)T++;return T})();return m.globalCount=function(){return h},h},m.fingerprint=function(){return s((navigator.mimeTypes.length+navigator.userAgent.length).toString(36)+m.globalCount().toString(36),4)},d.register?d.register(e,m):f.exports=m})(this.applitude||this)},73572(f,d,e){"use strict";var n=e(28739),r=e(64061),a=e(73200),i=e(32200),s=e(18194),u=f.exports=function(l,m){var g,h,v,b,T;return arguments.length<2||typeof l!="string"?(b=m,m=l,l=null):b=arguments[2],n(l)?(g=s.call(l,"c"),h=s.call(l,"e"),v=s.call(l,"w")):(g=v=!0,h=!1),T={value:m,configurable:g,enumerable:h,writable:v},b?a(i(b),T):T};u.gs=function(l,m,g){var h,v,b,T;return typeof l!="string"?(b=g,g=m,m=l,l=null):b=arguments[3],n(m)?r(m)?n(g)?r(g)||(b=g,g=void 0):g=void 0:(b=m,m=g=void 0):m=void 0,n(l)?(h=s.call(l,"c"),v=s.call(l,"e")):(h=!0,v=!1),T={get:m,set:g,configurable:h,enumerable:v},b?a(i(b),T):T}},92903(f,d,e){"use strict";var n=e(7138),r=e(56374),a;try{a=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var i=!!a&&r&&r(Object.prototype,"__proto__"),s=Object,u=s.getPrototypeOf;f.exports=i&&typeof i.get=="function"?n([i.get]):typeof u=="function"?function(m){return u(m==null?m:s(m))}:!1},18459(f){"use strict";var d=Object.defineProperty||!1;if(d)try{d({},"a",{value:1})}catch{d=!1}f.exports=d},10795(f){"use strict";f.exports=EvalError},66769(f){"use strict";f.exports=Error},15372(f){"use strict";f.exports=RangeError},16184(f){"use strict";f.exports=ReferenceError},79278(f){"use strict";f.exports=SyntaxError},4085(f){"use strict";f.exports=TypeError},48907(f){"use strict";f.exports=URIError},14816(f){"use strict";f.exports=Object},37650(f,d,e){"use strict";var n=e(79059),r=e(49805),a=e(7458),i=Array.prototype.indexOf,s=Object.prototype.hasOwnProperty,u=Math.abs,l=Math.floor;
599f.exports=function(m){var g,h,v,b;if(!n(m))return i.apply(this,arguments);for(h=r(a(this).length),v=arguments[1],isNaN(v)?v=0:v>=0?v=l(v):v=r(this.length)-l(u(v)),g=v;g<h;++g)if(s.call(this,g)&&(b=this[g],n(b)))return g;return-1}},85657(f,d,e){"use strict";f.exports=e(77632)()?Array.from:e(73324)},77632(f){"use strict";f.exports=function(){var d=Array.from,e,n;return typeof d!="function"?!1:(e=["raz","dwa"],n=d(e),!!(n&&n!==e&&n[1]==="dwa"))}},73324(f,d,e){"use strict";var n=e(25497).iterator,r=e(82278),a=e(82540),i=e(49805),s=e(16791),u=e(7458),l=e(81574),m=e(79416),g=Array.isArray,h=Function.prototype.call,v={configurable:!0,enumerable:!0,writable:!0,value:null},b=Object.defineProperty;f.exports=function(T){var E=arguments[1],w=arguments[2],C,O,U,D,F,j,M,W,V,q;if(T=Object(u(T)),l(E)&&s(E),!this||this===Array||!a(this)){if(!E){if(r(T))return F=T.length,F!==1?Array.apply(null,T):(D=new Array(1),D[0]=T[0],D);if(g(T)){for(D=new Array(F=T.length),O=0;O<F;++O)D[O]=T[O];return D}}D=[]}else C=this;if(!g(T)){if((V=T[n])!==void 0){for(M=s(V).call(T),C&&(D=new C),W=M.next(),O=0;!W.done;)q=E?h.call(E,w,W.value,O):W.value,C?(v.value=q,b(D,O,v)):D[O]=q,W=M.next(),++O;F=O}else if(m(T)){for(F=T.length,C&&(D=new C),O=0,U=0;O<F;++O)q=T[O],O+1<F&&(j=q.charCodeAt(0),j>=55296&&j<=56319&&(q+=T[++O])),q=E?h.call(E,w,q,U):q,C?(v.value=q,b(D,U,v)):D[U]=q,++U;F=U}}if(F===void 0)for(F=i(T.length),C&&(D=new C(F)),O=0;O<F;++O)q=E?h.call(E,w,T[O],O):T[O],C?(v.value=q,b(D,O,v)):D[O]=q;return C&&(v.value=null,D.length=F),D}},85635(f,d,e){"use strict";var n=e(85657),r=Array.isArray;f.exports=function(a){return r(a)?a:n(a)}},77304(f,d,e){"use strict";var n=e(73200),r=e(60784),a=e(81574),i=Error.captureStackTrace;f.exports=function(s){var u=new Error(s),l=arguments[1],m=arguments[2];return a(m)||r(l)&&(m=l,l=null),a(m)&&n(u,m),a(l)&&(u.code=l),i&&i(u,f.exports),u}},26518(f,d,e){"use strict";var n=e(49805),r=function(l,m){return m},a,i,s,u;try{Object.defineProperty(r,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch{}r.length===1?(a={configurable:!0,writable:!1,enumerable:!1},i=Object.defineProperty,f.exports=function(l,m){return m=n(m),l.length===m?l:(a.value=m,i(l,"length",a))}):(u=e(60009),s=(function(){var l=[];return function(m){var g,h=0;if(l[m])return l[m];for(g=[];m--;)g.push("a"+(++h).toString(36));return new Function("fn","return function ("+g.join(", ")+") { return fn.apply(this, arguments); };")}})(),f.exports=function(l,m){var g;if(m=n(m),l.length===m)return l;g=s(m)(l);try{u(g,l)}catch{}return g})},82278(f){"use strict";var d=Object.prototype.toString,e=d.call((function(){return arguments})());f.exports=function(n){return d.call(n)===e}},82540(f){"use strict";var d=Object.prototype.toString,e=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);f.exports=function(n){return typeof n=="function"&&e(d.call(n))}},66311(f){"use strict";f.exports=function(){}},27643(f,d,e){"use strict";f.exports=e(66546)()?Math.sign:e(20306)},66546(f){"use strict";f.exports=function(){var d=Math.sign;return typeof d!="function"?!1:d(10)===1&&d(-20)===-1}},20306(f){"use strict";f.exports=function(d){return d=Number(d),isNaN(d)||d===0?d:d>0?1:-1}},79059(f,d,e){"use strict";f.exports=e(10650)()?Number.isNaN:e(61306)},10650(f){"use strict";f.exports=function(){var d=Number.isNaN;return typeof d!="function"?!1:!d({})&&d(NaN)&&!d(34)}},61306(f){"use strict";f.exports=function(d){return d!==d}},25186(f,d,e){"use strict";var n=e(27643),r=Math.abs,a=Math.floor;f.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:n(i)*a(r(i)))}},49805(f,d,e){"use strict";var n=e(25186),r=Math.max;f.exports=function(a){return r(0,n(a))}},73811(f,d,e){"use strict";var n=e(16791),r=e(7458),a=Function.prototype.bind,i=Function.prototype.call,s=Object.keys,u=Object.prototype.propertyIsEnumerable;f.exports=function(l,m){return function(g,h){var v,b=arguments[2],T=arguments[3];return g=Object(r(g)),n(h),v=s(g),T&&v.sort(typeof T=="function"?a.call(T,g):void 0),typeof l!="function"&&(l=v[l]),i.call(l,v,function(E,w){return u.call(g,E)?i.call(h,b,g[E],E,g,w):m})}}},73200(f,d,e){"use strict";f.exports=e(74503)()?Object.assign:e(68207)},74503(f){"use strict";f.exports=function(){var d=Object.assign,e;return typeof d!="function"?!1:(e={foo:"raz"},d(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},68207(f,d,e){"use strict";var n=e(25457),r=e(7458),a=Math.max;f.exports=function(i,s){var u,l,m=a(arguments.length,2),g;for(i=Object(r(i)),g=function(h){try{i[h]=s[h]}catch(v){u||(u=v)}},l=1;l<m;
599++l)s=arguments[l],n(s).forEach(g);if(u!==void 0)throw u;return i}},87437(f,d,e){"use strict";f.exports=e(73811)("forEach")},48627(f){"use strict";f.exports=function(d){return typeof d=="function"}},60784(f,d,e){"use strict";var n=e(81574),r={function:!0,object:!0};f.exports=function(a){return n(a)&&r[typeof a]||!1}},81574(f,d,e){"use strict";var n=e(66311)();f.exports=function(r){return r!==n&&r!==null}},25457(f,d,e){"use strict";f.exports=e(3112)()?Object.keys:e(11380)},3112(f){"use strict";f.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}},11380(f,d,e){"use strict";var n=e(81574),r=Object.keys;f.exports=function(a){return r(n(a)?Object(a):a)}},23214(f,d,e){"use strict";var n=e(16791),r=e(87437),a=Function.prototype.call;f.exports=function(i,s){var u={},l=arguments[2];return n(s),r(i,function(m,g,h,v){u[g]=a.call(s,l,m,g,h,v)}),u}},60009(f,d,e){"use strict";var n=e(7458),r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols;f.exports=function(u,l){var m,g=Object(n(l));if(u=Object(n(u)),i(g).forEach(function(h){try{r(u,h,a(l,h))}catch(v){m=v}}),typeof s=="function"&&s(g).forEach(function(h){try{r(u,h,a(l,h))}catch(v){m=v}}),m!==void 0)throw m;return u}},32200(f,d,e){"use strict";var n=e(81574),r=Array.prototype.forEach,a=Object.create,i=function(s,u){var l;for(l in s)u[l]=s[l]};f.exports=function(s){var u=a(null);return r.call(arguments,function(l){n(l)&&i(Object(l),u)}),u}},53480(f){"use strict";var d=Array.prototype.forEach,e=Object.create;f.exports=function(n){var r=e(null);return d.call(arguments,function(a){r[a]=!0}),r}},16791(f){"use strict";f.exports=function(d){if(typeof d!="function")throw new TypeError(d+" is not a function");return d}},7458(f,d,e){"use strict";var n=e(81574);f.exports=function(r){if(!n(r))throw new TypeError("Cannot use null or undefined");return r}},25552(f,d,e){"use strict";var n=e(7458),r=e(18712);f.exports=function(a){return r(n(a))}},18712(f,d,e){"use strict";var n=e(48627);f.exports=function(r){try{return r&&n(r.toString)?r.toString():String(r)}catch{throw new TypeError("Passed argument cannot be stringifed")}}},5937(f,d,e){"use strict";var n=e(48627);f.exports=function(r){try{return r&&n(r.toString)?r.toString():String(r)}catch{return"<Non-coercible to string value>"}}},18194(f,d,e){"use strict";f.exports=e(40281)()?String.prototype.contains:e(17541)},40281(f){"use strict";var d="razdwatrzy";f.exports=function(){return typeof d.contains!="function"?!1:d.contains("dwa")===!0&&d.contains("foo")===!1}},17541(f){"use strict";var d=String.prototype.indexOf;f.exports=function(e){return d.call(this,e,arguments[1])>-1}},79416(f){"use strict";var d=Object.prototype.toString,e=d.call("");f.exports=function(n){return typeof n=="string"||n&&typeof n=="object"&&(n instanceof String||d.call(n)===e)||!1}},72418(f,d,e){"use strict";var n=e(5937),r=/[\n\r\u2028\u2029]/g;f.exports=function(a){var i=n(a);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(r,function(s){return JSON.stringify(s).slice(1,-1)}),i}},25497(f,d,e){"use strict";f.exports=e(44704)()?e(12402).Symbol:e(25534)},44704(f,d,e){"use strict";var n=e(12402),r={object:!0,symbol:!0};f.exports=function(){var a=n.Symbol,i;if(typeof a!="function")return!1;i=a("test symbol");try{String(i)}catch{return!1}return!(!r[typeof a.iterator]||!r[typeof a.toPrimitive]||!r[typeof a.toStringTag])}},48150(f){"use strict";f.exports=function(d){return d?typeof d=="symbol"?!0:!d.constructor||d.constructor.name!=="Symbol"?!1:d[d.constructor.toStringTag]==="Symbol":!1}},20960(f,d,e){"use strict";var n=e(73572),r=Object.create,a=Object.defineProperty,i=Object.prototype,s=r(null);f.exports=function(u){for(var l=0,m,g;s[u+(l||"")];)++l;return u+=l||"",s[u]=!0,m="@@"+u,a(i,m,n.gs(null,function(h){g||(g=!0,a(this,m,n(h)),g=!1)})),m}},44246(f,d,e){"use strict";var n=e(73572),r=e(12402).Symbol;f.exports=function(a){return Object.defineProperties(a,{hasInstance:n("",r&&r.hasInstance||a("hasInstance")),isConcatSpreadable:n("",r&&r.isConcatSpreadable||a("isConcatSpreadable")),iterator:n("",r&&r.iterator||a("iterator")),match:n("",r&&r.match||a("match")),replace:n("",r&&r.replace||a("replace")),search:n("",r&&r.search||a("search")),species:n("",r&&r.species||a("species")),split:n("",r&&r.split||a("split")),toPrimitive:n("",r&&r.toPrimitive||a("toPrimitive")),toStringTag:n("",r&&r.toStringTag||a("toStringTag")),unscopables:n("",r&&r.unscopables||a("unscopables"))})}},54459(f,d,e){"use strict";var n=e(73572),r=e(95408),a=Object.create(null);f.exports=function(i){return Object.defineProperties(i,{for:n(function(s){return a[s]?a[s]:a[s]=i(String(s))}),keyFor:n(function(s){var u;r(s);for(u in a)if(a[u]===s)return u})})}},25534(f,d,e){"use strict";var n=e(73572),r=e(95408),a=e(12402).Symbol,i=e(20960),s=e(44246),u=e(54459),l=Object.create,m=Object.defineProperties,g=Object.defineProperty,h,v,b;if(typeof a=="function")try{String(a()),b=!0}catch{}else a=null;v=function(E){if(this instanceof v)throw new TypeError("Symbol is not a constructor");return h(E)}
599,f.exports=h=function T(E){var w;if(this instanceof T)throw new TypeError("Symbol is not a constructor");return b?a(E):(w=l(v.prototype),E=E===void 0?"":String(E),m(w,{__description__:n("",E),__name__:n("",i(E))}))},s(h),u(h),m(v.prototype,{constructor:n(h),toString:n("",function(){return this.__name__})}),m(h.prototype,{toString:n(function(){return"Symbol ("+r(this).__description__+")"}),valueOf:n(function(){return r(this)})}),g(h.prototype,h.toPrimitive,n("",function(){var T=r(this);return typeof T=="symbol"?T:T.toString()})),g(h.prototype,h.toStringTag,n("c","Symbol")),g(v.prototype,h.toStringTag,n("c",h.prototype[h.toStringTag])),g(v.prototype,h.toPrimitive,n("c",h.prototype[h.toPrimitive]))},95408(f,d,e){"use strict";var n=e(48150);f.exports=function(r){if(!n(r))throw new TypeError(r+" is not a symbol");return r}},34091(f,d,e){"use strict";var n=e(73572),r=e(16791),a=Function.prototype.apply,i=Function.prototype.call,s=Object.create,u=Object.defineProperty,l=Object.defineProperties,m=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0},h,v,b,T,E,w,C;h=function(O,U){var D;return r(U),m.call(this,"__ee__")?D=this.__ee__:(D=g.value=s(null),u(this,"__ee__",g),g.value=null),D[O]?typeof D[O]=="object"?D[O].push(U):D[O]=[D[O],U]:D[O]=U,this},v=function(O,U){var D,F;return r(U),F=this,h.call(this,O,D=function(){b.call(F,O,D),a.call(U,this,arguments)}),D.__eeOnceListener__=U,this},b=function(O,U){var D,F,j,M;if(r(U),!m.call(this,"__ee__"))return this;if(D=this.__ee__,!D[O])return this;if(F=D[O],typeof F=="object")for(M=0;j=F[M];++M)(j===U||j.__eeOnceListener__===U)&&(F.length===2?D[O]=F[M?0:1]:F.splice(M,1));else(F===U||F.__eeOnceListener__===U)&&delete D[O];return this},T=function(O){var U,D,F,j,M;if(m.call(this,"__ee__")&&(j=this.__ee__[O],!!j))if(typeof j=="object"){for(D=arguments.length,M=new Array(D-1),U=1;U<D;++U)M[U-1]=arguments[U];for(j=j.slice(),U=0;F=j[U];++U)a.call(F,this,M)}else switch(arguments.length){case 1:i.call(j,this);break;case 2:i.call(j,this,arguments[1]);break;case 3:i.call(j,this,arguments[1],arguments[2]);break;default:for(D=arguments.length,M=new Array(D-1),U=1;U<D;++U)M[U-1]=arguments[U];a.call(j,this,M)}},E={on:h,once:v,off:b,emit:T},w={on:n(h),once:n(v),off:n(b),emit:n(T)},C=l({},w),f.exports=d=function(O){return O==null?s(C):l(Object(O),w)},d.methods=E},63320(f,d){var e,n,r;/** @license 600* eventsource.js 601* Available under MIT License (MIT) 602* https://github.com/Yaffle/EventSource/ 603*/(function(a){"use strict";var i=a.setTimeout,s=a.clearTimeout,u=a.XMLHttpRequest,l=a.XDomainRequest,m=a.ActiveXObject,g=a.EventSource,h=a.document,v=a.Promise,b=a.fetch,T=a.Response,E=a.TextDecoder,w=a.TextEncoder,C=a.AbortController;if(typeof window<"u"&&!("readyState"in h)&&h.body==null&&(h.readyState="loading",window.addEventListener("load",function(Et){h.readyState="complete"},!1)),u==null&&(u=function(){return new m("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(Et){function st(){}return st.prototype=Et,new st}),C==null){var O=b;b=function(Et,st){var Wr=st.signal;return O(Et,{headers:st.headers,credentials:st.credentials,cache:st.cache}).then(function(Dr){var Tr=Dr.body.getReader();return Wr._reader=Tr,Wr._aborted&&Wr._reader.cancel(),{status:Dr.status,statusText:Dr.statusText,headers:Dr.headers,body:{getReader:function(){return Tr}}}})},C=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function U(){this.bitsNeeded=0,this.codePoint=0}U.prototype.decode=function(Et){function st(un,hn,rr){if(rr===1)return un>=128>>hn&&un<<hn<=2047;if(rr===2)return un>=2048>>hn&&un<<hn<=55295||un>=57344>>hn&&un<<hn<=65535;if(rr===3)return un>=65536>>hn&&un<<hn<=1114111;throw new Error}function Wr(un,hn){if(un===6)return hn>>6>15?3:hn>31?2:1;if(un===12)return hn>15?3:2;if(un===18)return 3;throw new Error}for(var Dr=65533,Tr="",gr=this.bitsNeeded,ir=this.codePoint,Mr=0;Mr<Et.length;Mr+=1){var Lr=Et[Mr];gr!==0&&(Lr<128||Lr>191||!st(ir<<6|Lr&63,gr-6,Wr(gr,ir)))&&(gr=0,ir=Dr,Tr+=String.fromCharCode(ir)),gr===0?(Lr>=0&&Lr<=127?(gr=0,ir=Lr):Lr>
603=192&&Lr<=223?(gr=6,ir=Lr&31):Lr>=224&&Lr<=239?(gr=12,ir=Lr&15):Lr>=240&&Lr<=247?(gr=18,ir=Lr&7):(gr=0,ir=Dr),gr!==0&&!st(ir,gr,Wr(gr,ir))&&(gr=0,ir=Dr)):(gr-=6,ir=ir<<6|Lr&63),gr===0&&(ir<=65535?Tr+=String.fromCharCode(ir):(Tr+=String.fromCharCode(55296+(ir-65535-1>>10)),Tr+=String.fromCharCode(56320+(ir-65535-1&1023))))}return this.bitsNeeded=gr,this.codePoint=ir,Tr};var D=function(){try{return new E().decode(new w().encode("test"),{stream:!0})==="test"}catch(Et){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+Et)}return!1};(E==null||w==null||!D())&&(E=U);var F=function(){};function j(Et){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=F,this.onload=F,this.onerror=F,this.onreadystatechange=F,this._contentType="",this._xhr=Et,this._sendTimeout=0,this._abort=F}j.prototype.open=function(Et,st){this._abort(!0);var Wr=this,Dr=this._xhr,Tr=1,gr=0;this._abort=function(rr){Wr._sendTimeout!==0&&(s(Wr._sendTimeout),Wr._sendTimeout=0),(Tr===1||Tr===2||Tr===3)&&(Tr=4,Dr.onload=F,Dr.onerror=F,Dr.onabort=F,Dr.onprogress=F,Dr.onreadystatechange=F,Dr.abort(),gr!==0&&(s(gr),gr=0),rr||(Wr.readyState=4,Wr.onabort(null),Wr.onreadystatechange())),Tr=0};var ir=function(){if(Tr===1){var rr=0,Gr="",er=void 0;if("contentType"in Dr)rr=200,Gr="OK",er=Dr.contentType;else try{rr=Dr.status,Gr=Dr.statusText,er=Dr.getResponseHeader("Content-Type")}catch{rr=0,Gr="",er=void 0}rr!==0&&(Tr=2,Wr.readyState=2,Wr.status=rr,Wr.statusText=Gr,Wr._contentType=er,Wr.onreadystatechange())}},Mr=function(){if(ir(),Tr===2||Tr===3){Tr=3;var rr="";try{rr=Dr.responseText}catch{}Wr.readyState=3,Wr.responseText=rr,Wr.onprogress()}},Lr=function(rr,Gr){if((Gr==null||Gr.preventDefault==null)&&(Gr={preventDefault:F}),Mr(),Tr===1||Tr===2||Tr===3){if(Tr=4,gr!==0&&(s(gr),gr=0),Wr.readyState=4,rr==="load")Wr.onload(Gr);else if(rr==="error")Wr.onerror(Gr);else if(rr==="abort")Wr.onabort(Gr);else throw new TypeError;Wr.onreadystatechange()}},un=function(rr){Dr!=null&&(Dr.readyState===4?(!("onload"in Dr)||!("onerror"in Dr)||!("onabort"in Dr))&&Lr(Dr.responseText===""?"error":"load",rr):Dr.readyState===3?"onprogress"in Dr||Mr():Dr.readyState===2&&ir())},hn=function(){gr=i(function(){hn()},500),Dr.readyState===3&&Mr()};"onload"in Dr&&(Dr.onload=function(rr){Lr("load",rr)}),"onerror"in Dr&&(Dr.onerror=function(rr){Lr("error",rr)}),"onabort"in Dr&&(Dr.onabort=function(rr){Lr("abort",rr)}),"onprogress"in Dr&&(Dr.onprogress=Mr),"onreadystatechange"in Dr&&(Dr.onreadystatechange=function(rr){un(rr)}),("contentType"in Dr||!("ontimeout"in u.prototype))&&(st+=(st.indexOf("?")===-1?"?":"&")+"padding=true"),Dr.open(Et,st,!0),"readyState"in Dr&&(gr=i(function(){hn()},0))},j.prototype.abort=function(){this._abort(!1)},j.prototype.getResponseHeader=function(Et){return this._contentType},j.prototype.setRequestHeader=function(Et,st){var Wr=this._xhr;"setRequestHeader"in Wr&&Wr.setRequestHeader(Et,st)},j.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},j.prototype.send=function(){if((!("ontimeout"in u.prototype)||!("sendAsBinary"in u.prototype)&&!("mozAnon"in u.prototype))&&h!=null&&h.readyState!=null&&h.readyState!=="complete"){var Et=this;Et._sendTimeout=i(function(){Et._sendTimeout=0,Et.send()},4);return}var st=this._xhr;"withCredentials"in st&&(st.withCredentials=this.withCredentials);try{st.send(void 0)}catch(Wr){throw Wr}};function M(Et){return Et.replace(/[A-Z]/g,function(st){return String.fromCharCode(st.charCodeAt(0)+32)})}function W(Et){for(var st=Object.create(null),Wr=Et.split(`\r 604`),Dr=0;Dr<Wr.length;Dr+=1){var Tr=Wr[Dr],gr=Tr.split(": "),ir=gr.shift(),Mr=gr.join(": ");st[M(ir)]=Mr}this._map=st}W.prototype.get=function(Et){return this._map[M(Et)]},u!=null&&u.HEADERS_RECEIVED==null&&(u.HEADERS_RECEIVED=2);function V(){}V.prototype.open=function(Et,st,Wr,Dr,Tr,gr,ir){Et.open("GET",Tr);var Mr=0;Et.onprogress=function(){var un=Et.responseText,hn=un.slice(Mr);Mr+=hn.length,Wr(hn)},Et.onerror=function(un){un.preventDefault(),Dr(new Error("NetworkError"))},Et.onload=function(){Dr(null)},Et.onabort=function(){Dr(null)},Et.onreadystatechange=function(){if(Et.readyState===u.HEADERS_RECEIVED){var un=Et.status,hn=Et.statusText,rr=Et.getResponseHeader("Content-Type"),Gr=Et.getAllResponseHeaders();st(un,hn,rr,new W(Gr))}},Et.withCredentials=gr;for(var Lr in ir)Object.prototype.hasOwnProperty.call(ir,Lr)&&Et.setRequestHeader(Lr,ir[Lr]);return Et.send(),Et};function q(Et){this._headers=Et}q.prototype.get=function(Et){return this._headers.get(Et)};function J(){}J.prototype.open=function(Et,st,Wr,Dr,Tr,gr,ir){var Mr=null,Lr=new C,un=Lr.signal,hn=new E;return b(Tr,{headers:ir,credentials:gr?"include":"same-origin",signal:un,cache:"no-store"}).then(function(rr){return Mr=rr.body.getReader(),st(rr.status,rr.statusText,rr.headers.get("Content-Type"),new q(rr.headers)),new v(function(Gr,er){var At=function(){Mr.read().then(function(dr){if(dr.done)Gr(void 0);else{var Y=hn.decode(dr.value,{stream:!0});Wr(Y),At()}}).catch(function(dr){er(dr)})};At()})}).catch(function(rr){if(rr.name!=="AbortError")return rr}).then(function(rr){Dr(rr)}),{abort:function(){Mr?.cancel(),Lr.abort()}}};function re(){this._listeners=Object.create(null)}function he(Et){i(function(){throw Et},0)}re.prototype.dispatchEvent=function(Et){Et.target=this;var st=this._listeners[Et.type];if(st!=null)for(var Wr=st.length,Dr=0;Dr<Wr;Dr+=1){var Tr=st[Dr];try{typeof Tr.handleEvent=="function"?Tr.handleEvent(Et):Tr.call(this,Et)}catch(gr){he(gr)}}},re.prototype.addEventListener=function(Et,st){Et=String(Et);var Wr=this._listeners,Dr=Wr[Et];Dr==null&&(Dr=[],Wr[Et]=Dr);for(var Tr=!1,gr=0;gr<Dr.length;gr+=1)Dr[gr]===st&&(Tr=!0);Tr||Dr.push(st)},re.prototype.removeEventListener=function(Et,st){Et=String(Et);var Wr=this._listeners,Dr=Wr[Et];if(Dr!=null){for(var Tr=[],gr=0;gr<Dr.length;gr+=1)Dr[gr]!==st&&Tr.push(Dr[gr]);Tr.length===0?delete Wr[Et]:Wr[Et]=Tr}};function fe(Et){this.type=Et,this.target=void 0}function ae(Et,st){fe.call(this,Et),this.data=st.data,this.lastEventId=st.lastEventId}ae.prototype=Object.create(fe.prototype);function ye(Et,st){fe.call(this,Et),this.status=st.status,this.statusText=st.statusText,this.headers=st.headers}ye.prototype=Object.create(fe.prototype);function ve(Et,st){fe.call(this,Et),this.error=st.error}ve.prototype=Object.create(fe.prototype);var Ue=-1,We=0,de=1,xe=2,Fe=-1,Xe=0,Me=1,Ze=2,rt=3,mt=/^text\/event\-stream;?(\s*charset\=utf\-8)?$/i,Xt=1e3,jt=18e6,Lt=function(Et,st){var Wr=Et==null?st:parseInt(Et,10);return Wr!==Wr&&(Wr=st),Ht(Wr)},Ht=function(Et){return Math.min(Math.max(Et,Xt),jt)},vr=function(Et,st,Wr){try{typeof st=="function"&&st.call(Et,Wr)}catch(Dr){he(Dr)}};function Fr(Et,st){re.call(this),st=st||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,Sn(this,Et,st)}function fn(){return u!=null&&"withCredentials"in u.prototype||l==null?new u:new l}var Kr=b!=null&&T!=null&&"body"in T.prototype;function Sn(Et,st,Wr){st=String(st);var Dr=!!Wr.withCredentials,Tr=Ht(1e3),gr=Lt(Wr.heartbeatTimeout,45e3),ir="",Mr=Tr,Lr=!1,un=0,hn=Wr.headers||{},rr=Wr.Transport,Gr=Kr&&rr==null?void 0:new j(rr!=null?new rr:fn()),er=rr!=null&&typeof rr!="string"?new rr:Gr==null?new J:new V,At=void 0,dr=0,Y=Ue,ot="",Yt="",it="",Mt="",an=Xe,Cn=0,Ln=0,In=function(Ji,Yi,Ki,mi){if(Y===We)if(Ji===200&&Ki!=null&&mt.test(Ki)){Y=de,Lr=!0,Mr=Tr,Et.readyState=de;var ws=new ye("open",{status:Ji,statusText:Yi,headers:mi});Et.dispatchEvent(ws),vr(Et,Et.onopen,ws)}else{var Zn="";Ji!==200?(Yi&&(Yi=Yi.replace(/\s+/g," ")),Zn="EventSource's response has a status "+Ji+" "+Yi+" that is not 200. Aborting the connection."):Zn="EventSource's response has a Content-Type specifying an unsupported type: "+(Ki==null?"-":Ki.replace(/\s+/g," "))+". Aborting the connection.",tn();var ws=new ye("error",{status:Ji,statusText:Yi,headers:mi});Et.dispatchEvent(ws),vr(Et,Et.onerror,ws),console.error(Zn)}},Si=function(Ji){if(Y===de){for(var Yi=-1,Ki=0;Ki<Ji.length;
604Ki+=1){var mi=Ji.charCodeAt(Ki);(mi===10||mi===13)&&(Yi=Ki)}var ws=(Yi!==-1?Mt:"")+Ji.slice(0,Yi+1);Mt=(Yi===-1?Mt:"")+Ji.slice(Yi+1),Ji!==""&&(Lr=!0,un+=Ji.length);for(var Zn=0;Zn<ws.length;Zn+=1){var mi=ws.charCodeAt(Zn);if(an===Fe&&mi===10)an=Xe;else if(an===Fe&&(an=Xe),mi===13||mi===10){if(an!==Xe){an===Me&&(Ln=Zn+1);var fs=ws.slice(Cn,Ln-1),cs=ws.slice(Ln+(Ln<Zn&&ws.charCodeAt(Ln)===32?1:0),Zn);fs==="data"?(ot+=` 605`,ot+=cs):fs==="id"?Yt=cs:fs==="event"?it=cs:fs==="retry"?(Tr=Lt(cs,Tr),Mr=Tr):fs==="heartbeatTimeout"&&(gr=Lt(cs,gr),dr!==0&&(s(dr),dr=i(function(){Hi()},gr)))}if(an===Xe){if(ot!==""){ir=Yt,it===""&&(it="message");var vs=new ae(it,{data:ot.slice(1),lastEventId:Yt});if(Et.dispatchEvent(vs),it==="open"?vr(Et,Et.onopen,vs):it==="message"?vr(Et,Et.onmessage,vs):it==="error"&&vr(Et,Et.onerror,vs),Y===xe)return}ot="",it=""}an=mi===13?Fe:Xe}else an===Xe&&(Cn=Zn,an=Me),an===Me?mi===58&&(Ln=Zn+1,an=Ze):an===Ze&&(an=rt)}}},$i=function(Ji){if(Y===de||Y===We){Y=Ue,dr!==0&&(s(dr),dr=0),dr=i(function(){Hi()},Mr),Mr=Ht(Math.min(Tr*16,Mr*2)),Et.readyState=We;var Yi=new ve("error",{error:Ji});Et.dispatchEvent(Yi),vr(Et,Et.onerror,Yi)}},tn=function(){Y=xe,At!=null&&(At.abort(),At=void 0),dr!==0&&(s(dr),dr=0),Et.readyState=xe},Hi=function(){if(dr=0,Y!==Ue){!Lr&&At!=null?($i(new Error("No activity within "+gr+" milliseconds. "+(Y===We?"No response received.":un+" chars received.")+" Reconnecting.")),At!=null&&(At.abort(),At=void 0)):(Lr=!1,dr=i(function(){Hi()},gr));return}Lr=!1,un=0,dr=i(function(){Hi()},gr),Y=We,ot="",it="",Yt=ir,Mt="",Cn=0,Ln=0,an=Xe;var Ji=st;st.slice(0,5)!=="data:"&&st.slice(0,5)!=="blob:"&&ir!==""&&(Ji+=(st.indexOf("?")===-1?"?":"&")+"lastEventId="+encodeURIComponent(ir));var Yi=Et.withCredentials,Ki={};Ki.Accept="text/event-stream";var mi=Et.headers;if(mi!=null)for(var ws in mi)Object.prototype.hasOwnProperty.call(mi,ws)&&(Ki[ws]=mi[ws]);try{At=er.open(Gr,In,Si,$i,Ji,Yi,Ki)}catch(Zn){throw tn(),Zn}};Et.url=st,Et.readyState=We,Et.withCredentials=Dr,Et.headers=hn,Et._close=tn,Hi()}Fr.prototype=Object.create(re.prototype),Fr.prototype.CONNECTING=We,Fr.prototype.OPEN=de,Fr.prototype.CLOSED=xe,Fr.prototype.close=function(){this._close()},Fr.CONNECTING=We,Fr.OPEN=de,Fr.CLOSED=xe,Fr.prototype.withCredentials=void 0;var Fn=g;u!=null&&(g==null||!("withCredentials"in g.prototype))&&(Fn=Fr),(function(Et){if(typeof f.exports=="object"){var st=Et(d);st!==void 0&&(f.exports=st)}else n=[d],e=Et,r=typeof e=="function"?e.apply(d,n):e,r!==void 0&&(f.exports=r)})(function(Et){Et.EventSourcePolyfill=Fr,Et.NativeEventSource=g,Et.EventSource=Fn})})(typeof window<"u"?window:typeof self<"u"?self:this)},62877(f){"use strict";var d=Object.prototype.hasOwnProperty,e="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(e=!1));function r(u,l,m){this.fn=u,this.context=l,this.once=m||!1}function a(u,l,m,g,h){if(typeof m!="function")throw new TypeError("The listener must be a function");var v=new r(m,g||u,h),b=e?e+l:l;return u._events[b]?u._events[b].fn?u._events[b]=[u._events[b],v]:u._events[b].push(v):(u._events[b]=v,u._eventsCount++),u}function i(u,l){--u._eventsCount===0?u._events=new n:delete u._events[l]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var l=[],m,g;if(this._eventsCount===0)return l;for(g in m=this._events)d.call(m,g)&&l.push(e?g.slice(1):g);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(m)):l},s.prototype.listeners=function(l){var m=e?e+l:l,g=this._events[m];if(!g)return[];if(g.fn)return[g.fn];for(var h=0,v=g.length,b=new Array(v);h<v;h++)b[h]=g[h].fn;return b},s.prototype.listenerCount=function(l){var m=e?e+l:l,g=this._events[m];return g?g.fn?1:g.length:0},s.prototype.emit=function(l,m,g,h,v,b){var T=e?e+l:l;if(!this._events[T])return!1;var E=this._events[T],w=arguments.length,C,O;if(E.fn){switch(E.once&&this.removeListener(l,E.fn,void 0,!0),w){case 1:return E.fn.call(E.context),!0;case 2:return E.fn.call(E.context,m),!0;case 3:return E.fn.call(E.context,m,g),!0;case 4:return E.fn.call(E.context,m,g,h),!0;case 5:return E.fn.call(E.context,m,g,h,v),!0;case 6:return E.fn.call(E.context,m,g,h,v,b),!0}for(O=1,C=new Array(w-1);O<w;O++)C[O-1]=arguments[O];E.fn.apply(E.context,C)}else{var U=E.length,D;for(O=0;O<U;O++)switch(E[O].once&&this.removeListener(l,E[O].fn,void 0,!0),w){case 1:E[O].fn.call(E[O].context);break;case 2:E[O].fn.call(E[O].context,m);break;case 3:E[O].fn.call(E[O].context,m,g);break;case 4:E[O].fn.call(E[O].context,m,g,h);break;default:if(!C)for(D=1,C=new Array(w-1);D<w;D++)C[D-1]=arguments[D];E[O].fn.apply(E[O].context,C)}}return!0},s.prototype.on=function(l,m,g){return a(this,l,m,g,!1)},s.prototype.once=function(l,m,g){return a(this,l,m,g,!0)},s.prototype.removeListener=function(l,m,g,h){var v=e?e+l:l;if(!this._events[v])return this;if(!m)return i(this,v),this;var b=this._events[v];if(b.fn)b.fn===m&&(!h||b.once)&&(!g||b.context===g)&&i(this,v);else{for(var T=0,E=[],w=b.length;T<w;T++)(b[T].fn!==m||h&&!b[T].once||g&&b[T].context!==g)&&E.push(b[T]);E.length?this._events[v]=E.length===1?E[0]:E:i(this,v)}return this},s.prototype.removeAllListeners=function(l){var m;return l?(m=e?e+l:l,this._events[m]&&i(this,m)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=e,s.EventEmitter=s,f.exports=s},61962(f){"use strict";var d=typeof Reflect=="object"?Reflect:null,e=d&&typeof d.apply=="function"?d.apply:function(F,j,M){return Function.prototype.apply.call(F,j,M)},n;d&&typeof d.ownKeys=="function"?n=d.ownKeys:Object.getOwnPropertySymbols?n=function(F){return Object.getOwnPropertyNames(F).concat(Object.getOwnPropertySymbols(F))}:n=function(F){return Object.getOwnPropertyNames(F)};function r(D){console&&console.warn&&console.warn(D)}var a=Number.isNaN||function(F){return F!==F};function i(){i.init.call(this)}f.exports=i,f.exports.once=C,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function u(D){if(typeof D!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof D)}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(D){if(typeof D!="number"||D<0||a(D))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+D+".");s=D}}),i.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(F){if(typeof F!="number"||F<0||a(F))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+F+".");return this._maxListeners=F,this};function l(D){return D._maxListeners===void 0?i.defaultMaxListeners:D._maxListeners}i.prototype.getMaxListeners=function(){return l(this)},i.prototype.emit=function(F){for(var j=[],M=1;M<arguments.length;M++)j.push(arguments[M]);var W=F==="error",V=this._events;if(V!==void 0)W=W&&V.error===void 0;else if(!W)return!1;if(W){var q;if(j.length>0&&(q=j[0]),q instanceof Error)throw q;var J=new Error("Unhandled error."+(q?" ("+q.message+")":""));throw J.context=q,J}var re=V[F];if(re===void 0)return!1;if(typeof re=="function")e(re,this,j);else for(var he=re.length,fe=T(re,he),M=0;M<he;++M)e(fe[M],this,j);return!0};function m(D,F,j,M){var W,V,q;if(u(j),V=D._events,V===void 0?(V=D._events=Object.create(null),D._eventsCount=0):(V.newListener!==void 0&&(D.emit("newListener",F,j.listener?j.listener:j),V=D._events),q=V[F]),q===void 0)q=V[F]=j,++D._eventsCount;else if(typeof q=="function"?q=V[F]=M?[j,q]:[q,j]:M?q.unshift(j):q.push(j),W=l(D),W>0&&q.length>W&&!q.warned){q.warned=!0;var J=new Error("Possible EventEmitter memory leak detected. "+q.length+" "+String(F)+" listeners added. Use emitter.setMaxListeners() to increase limit");J.name="MaxListenersExceededWarning",J.emitter=D,J.type=F,J.count=q.length,r(J)}return D}i.prototype.addListener=function(F,j){return m(this,F,j,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(F,j){return m(this,F,j,!0)};function g(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(D,F,j){var M={fired:!1,wrapFn:void 0,target:D,type:F,listener:j},W=g.bind(M);return W.listener=j,M.wrapFn=W,W}i.prototype.once=function(F,j){return u(j),this.on(F,h(this,F,j)),this},i.prototype.prependOnceListener=function(F,j){return u(j),this.prependListener(F,h(this,F,j)),this},i.prototype.removeListener=function(F,j){var M,W,V,q,J;if(u(j),W=this._events,W===void 0)return this;if(M=W[F],M===void 0)return this;if(M===j||M.listener===j)--this._eventsCount===0?this._events=Object.create(null):(delete W[F],W.removeListener&&this.emit
605("removeListener",F,M.listener||j));else if(typeof M!="function"){for(V=-1,q=M.length-1;q>=0;q--)if(M[q]===j||M[q].listener===j){J=M[q].listener,V=q;break}if(V<0)return this;V===0?M.shift():E(M,V),M.length===1&&(W[F]=M[0]),W.removeListener!==void 0&&this.emit("removeListener",F,J||j)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(F){var j,M,W;if(M=this._events,M===void 0)return this;if(M.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):M[F]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete M[F]),this;if(arguments.length===0){var V=Object.keys(M),q;for(W=0;W<V.length;++W)q=V[W],q!=="removeListener"&&this.removeAllListeners(q);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(j=M[F],typeof j=="function")this.removeListener(F,j);else if(j!==void 0)for(W=j.length-1;W>=0;W--)this.removeListener(F,j[W]);return this};function v(D,F,j){var M=D._events;if(M===void 0)return[];var W=M[F];return W===void 0?[]:typeof W=="function"?j?[W.listener||W]:[W]:j?w(W):T(W,W.length)}i.prototype.listeners=function(F){return v(this,F,!0)},i.prototype.rawListeners=function(F){return v(this,F,!1)},i.listenerCount=function(D,F){return typeof D.listenerCount=="function"?D.listenerCount(F):b.call(D,F)},i.prototype.listenerCount=b;function b(D){var F=this._events;if(F!==void 0){var j=F[D];if(typeof j=="function")return 1;if(j!==void 0)return j.length}return 0}i.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]};function T(D,F){for(var j=new Array(F),M=0;M<F;++M)j[M]=D[M];return j}function E(D,F){for(;F+1<D.length;F++)D[F]=D[F+1];D.pop()}function w(D){for(var F=new Array(D.length),j=0;j<F.length;++j)F[j]=D[j].listener||D[j];return F}function C(D,F){return new Promise(function(j,M){function W(q){D.removeListener(F,V),M(q)}function V(){typeof D.removeListener=="function"&&D.removeListener("error",W),j([].slice.call(arguments))}U(D,F,V,{once:!0}),F!=="error"&&O(D,W,{once:!0})})}function O(D,F,j){typeof D.on=="function"&&U(D,"error",F,j)}function U(D,F,j,M){if(typeof D.on=="function")M.once?D.once(F,j):D.on(F,j);else if(typeof D.addEventListener=="function")D.addEventListener(F,function W(V){M.once&&D.removeEventListener(F,W),j(V)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof D)}},65386(f){var d=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};f.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return d()}try{return __global__||d()}finally{delete Object.prototype.__global__}})()},12402(f,d,e){"use strict";f.exports=e(14521)()?globalThis:e(65386)},14521(f){"use strict";f.exports=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}},71402(f){"use strict";f.exports=function d(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,a,i;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!d(e[a],n[a]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[a]))return!1;for(a=r;a--!==0;){var s=i[a];if(!d(e[s],n[s]))return!1}return!0}return e!==e&&n!==n}},83303(f,d){var e=Object.keys;d.L=function(r,a){if(r===a)return!0;if(!(r instanceof Object)||!(a instanceof Object))return!1;for(var i=e(r),s=i.length,u=0;u<s;u++)if(!(i[u]in a))return!1;for(var u=0;u<s;u++)if(r[i[u]]!==a[i[u]])return!1;return s===e(a).length}},16580(f){"use strict";/** 606 * filesize 607 * 608 * @copyright 2017 Jason Mulligan <[email protected]> 609 * @license BSD-3-Clause 610 * @version 3.5.11 611 */(function(d){var e=/^(b|B)$/,n={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},r={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function a(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=[],l=0,m=void 0,g=void 0,h=void 0,v=void 0,b=void 0,T=void 0,E=void 0,w=void 0,C=void 0,O=void 0,U=void 0,D=void 0,F=void 0,j=void 0;if(isNaN(i))throw new Error("Invalid arguments");return h=s.bits===!0,U=s.unix===!0,g=s.base||2,O=s.round!==void 0?s.round:U?1:2,D=s.spacer!==void 0?s.spacer:U?"":" ",j=s.symbols||s.suffixes||{},F=g===2&&s.standard||"jedec",C=s.output||"string",b=s.fullform===!0,T=s.fullforms instanceof Array?s.fullforms:[],m=s.exponent!==void 0?s.exponent:-1,w=Number(i),E=w<0,v=g>2?1e3:1024,E&&(w=-w),(m===-1||isNaN(m))&&(m=Math.floor(Math.log(w)/Math.log(v)),m<0&&(m=0)),m>8&&(m=8),w===0?(u[0]=0,u[1]=U?"":n[F][h?"bits":"bytes"][m]):(l=w/(g===2?Math.pow(2,m*10):Math.pow(1e3,m)),h&&(l=l*8,l>=v&&m<8&&(l=l/v,m++)),u[0]=Number(l.toFixed(m>0?O:0)),u[1]=g===10&&m===1?h?"kb":"kB":n[F][h?"bits":"bytes"][m],U&&(u[1]=F==="jedec"?u[1].charAt(0):m>0?u[1].replace(/B$/,""):u[1],e.test(u[1])&&(u[0]=Math.floor(u[0]),u[1]=""))),E&&(u[0]=-u[0]),u[1]=j[u[1]]||u[1],C==="array"?u:C==="exponent"?m:C==="object"?{value:u[0],suffix:u[1],symbol:u[1]}:(b&&(u[1]=T[m]?T[m]:r[F][m]+(h?"bit":"byte")+(u[0]===1?"":"s")),u.join(D))}a.partial=function(i){return function(s){return a(s,i)}}
611,f.exports=a})(typeof window<"u"?window:globalThis)},8833(f){(function(){function d(E,w){document.addEventListener?E.addEventListener("scroll",w,!1):E.attachEvent("scroll",w)}function e(E){document.body?E():document.addEventListener?document.addEventListener("DOMContentLoaded",function w(){document.removeEventListener("DOMContentLoaded",w),E()}):document.attachEvent("onreadystatechange",function w(){(document.readyState=="interactive"||document.readyState=="complete")&&(document.detachEvent("onreadystatechange",w),E())})}function n(E){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(E)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function r(E,w){E.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+w+";"}function a(E){var w=E.a.offsetWidth,C=w+100;return E.f.style.width=C+"px",E.c.scrollLeft=C,E.b.scrollLeft=E.b.scrollWidth+100,E.g!==w?(E.g=w,!0):!1}function i(E,w){function C(){var U=O;a(U)&&U.a.parentNode&&w(U.g)}var O=E;d(E.b,C),d(E.c,C),a(E)}function s(E,w){var C=w||{};this.family=E,this.style=C.style||"normal",this.weight=C.weight||"normal",this.stretch=C.stretch||"normal"}var u=null,l=null,m=null,g=null;function h(){if(l===null)if(v()&&/Apple/.test(window.navigator.vendor)){var E=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);l=!!E&&603>parseInt(E[1],10)}else l=!1;return l}function v(){return g===null&&(g=!!document.fonts),g}function b(){if(m===null){var E=document.createElement("div");try{E.style.font="condensed 100px sans-serif"}catch{}m=E.style.font!==""}return m}function T(E,w){return[E.style,E.weight,b()?E.stretch:"","100px",w].join(" ")}s.prototype.load=function(E,w){var C=this,O=E||"BESbswy",U=0,D=w||3e3,F=new Date().getTime();return new Promise(function(j,M){if(v()&&!h()){var W=new Promise(function(q,J){function re(){new Date().getTime()-F>=D?J(Error(""+D+"ms timeout exceeded")):document.fonts.load(T(C,'"'+C.family+'"'),O).then(function(he){1<=he.length?q():setTimeout(re,25)},J)}re()}),V=new Promise(function(q,J){U=setTimeout(function(){J(Error(""+D+"ms timeout exceeded"))},D)});Promise.race([V,W]).then(function(){clearTimeout(U),j(C)},M)}else e(function(){function q(){var Fe;(Fe=ae!=-1&&ye!=-1||ae!=-1&&ve!=-1||ye!=-1&&ve!=-1)&&((Fe=ae!=ye&&ae!=ve&&ye!=ve)||(u===null&&(Fe=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),u=!!Fe&&(536>parseInt(Fe[1],10)||parseInt(Fe[1],10)===536&&11>=parseInt(Fe[2],10))),Fe=u&&(ae==Ue&&ye==Ue&&ve==Ue||ae==We&&ye==We&&ve==We||ae==de&&ye==de&&ve==de)),Fe=!Fe),Fe&&(xe.parentNode&&xe.parentNode.removeChild(xe),clearTimeout(U),j(C))}function J(){if(new Date().getTime()-F>=D)xe.parentNode&&xe.parentNode.removeChild(xe),M(Error(""+D+"ms timeout exceeded"));else{var Fe=document.hidden;(Fe===!0||Fe===void 0)&&(ae=re.a.offsetWidth,ye=he.a.offsetWidth,ve=fe.a.offsetWidth,q()),U=setTimeout(J,50)}}var re=new n(O),he=new n(O),fe=new n(O),ae=-1,ye=-1,ve=-1,Ue=-1,We=-1,de=-1,xe=document.createElement("div");xe.dir="ltr",r(re,T(C,"sans-serif")),r(he,T(C,"serif")),r(fe,T(C,"monospace")),xe.appendChild(re.a),xe.appendChild(he.a),xe.appendChild(fe.a),document.body.appendChild(xe),Ue=re.a.offsetWidth,We=he.a.offsetWidth,de=fe.a.offsetWidth,J(),i(re,function(Fe){ae=Fe,q()}),r(re,T(C,'"'+C.family+'",sans-serif')),i(he,function(Fe){ye=Fe,q()}),r(he,T(C,'"'+C.family+'",serif')),i(fe,function(Fe){ve=Fe,q()}),r(fe,T(C,'"'+C.family+'",monospace'))})})}
611,f.exports=s})()},35343(f){"use strict";var d="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,n=Math.max,r="[object Function]",a=function(l,m){for(var g=[],h=0;h<l.length;h+=1)g[h]=l[h];for(var v=0;v<m.length;v+=1)g[v+l.length]=m[v];return g},i=function(l,m){for(var g=[],h=m||0,v=0;h<l.length;h+=1,v+=1)g[v]=l[h];return g},s=function(u,l){for(var m="",g=0;g<u.length;g+=1)m+=u[g],g+1<u.length&&(m+=l);return m};f.exports=function(l){var m=this;if(typeof m!="function"||e.apply(m)!==r)throw new TypeError(d+m);for(var g=i(arguments,1),h,v=function(){if(this instanceof h){var C=m.apply(this,a(g,arguments));return Object(C)===C?C:this}return m.apply(l,a(g,arguments))},b=n(0,m.length-g.length),T=[],E=0;E<b;E++)T[E]="$"+E;if(h=Function("binder","return function ("+s(T,",")+"){ return binder.apply(this,arguments); }")(v),m.prototype){var w=function(){};w.prototype=m.prototype,h.prototype=new w,w.prototype=null}return h}},72057(f,d,e){"use strict";var n=e(35343);f.exports=Function.prototype.bind||n},2633(f,d,e){"use strict";var n,r=e(14816),a=e(66769),i=e(10795),s=e(15372),u=e(16184),l=e(79278),m=e(4085),g=e(48907),h=e(5201),v=e(24275),b=e(19859),T=e(43809),E=e(30747),w=e(59349),C=e(43412),O=Function,U=function(Ht){try{return O('"use strict"; return ('+Ht+").constructor;")()}catch{}},D=e(56374),F=e(18459),j=function(){throw new m},M=D?(function(){try{return arguments.callee,j}catch{try{return D(arguments,"callee").get}catch{return j}}})():j,W=e(62319)(),V=e(81785),q=e(25241),J=e(14395),re=e(8326),he=e(82824),fe={},ae=typeof Uint8Array>"u"||!V?n:V(Uint8Array),ye={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":W&&V?V([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":fe,"%AsyncGenerator%":fe,"%AsyncGeneratorFunction%":fe,"%AsyncIteratorPrototype%":fe,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":i,"%Float16Array%":typeof Float16Array>"u"?n:Float16Array,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":O,"%GeneratorFunction%":fe,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>
vendor: 5,253 bytes, line 611
611"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":W&&V?V(V([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!W||!V?n:V(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":D,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":s,"%ReferenceError%":u,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!W||!V?n:V(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":W&&V?V(""[Symbol.iterator]()):n,"%Symbol%":W?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":M,"%TypedArray%":ae,"%TypeError%":m,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":g,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet,"%Function.prototype.call%":he,"%Function.prototype.apply%":re,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":q,"%Math.abs%":h,"%Math.floor%":v,"%Math.max%":b,"%Math.min%":T,"%Math.pow%":E,"%Math.round%":w,"%Math.sign%":C,"%Reflect.getPrototypeOf%":J};if(V)try{null.error}catch(Ht){var ve=V(V(Ht));ye["%Error.prototype%"]=ve}var Ue=function Ht(vr){var Fr;if(vr==="%AsyncFunction%")Fr=U("async function () {}");else if(vr==="%GeneratorFunction%")Fr=U("function* () {}");else if(vr==="%AsyncGeneratorFunction%")Fr=U("async function* () {}");else if(vr==="%AsyncGenerator%"){var fn=Ht("%AsyncGeneratorFunction%");fn&&(Fr=fn.prototype)}else if(vr==="%AsyncIteratorPrototype%"){var Kr=Ht("%AsyncGenerator%");Kr&&V&&(Fr=V(Kr.prototype))}return ye[vr]=Fr,Fr},We={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},de=e(72057),xe=e(90331),Fe=de.call(he,Array.prototype.concat),Xe=de.call(re,Array.prototype.splice),Me=de.call(he,String.prototype.replace),Ze=de.call(he,String.prototype.slice),rt=de.call(he,RegExp.prototype.exec),mt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Xt=/\\(\\)?/g,jt=function(vr){var Fr=Ze(vr,0,1),fn=Ze(vr,-1);if(Fr==="%"&&fn!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(fn==="%"&&Fr!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var Kr=[];return Me(vr,mt,function(Sn,Fn,Et,st){Kr[Kr.length]=Et?Me(st,Xt,"$1"):Fn||Sn}),Kr},Lt=function(vr,Fr){var fn=vr,Kr;
611if(xe(We,fn)&&(Kr=We[fn],fn="%"+Kr[0]+"%"),xe(ye,fn)){var Sn=ye[fn];if(Sn===fe&&(Sn=Ue(fn)),typeof Sn>"u"&&!Fr)throw new m("intrinsic "+vr+" exists, but is not available. Please file an issue!");return{alias:Kr,name:fn,value:Sn}}throw new l("intrinsic "+vr+" does not exist!")};f.exports=function(vr,Fr){if(typeof vr!="string"||vr.length===0)throw new m("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Fr!="boolean")throw new m('"allowMissing" argument must be a boolean');if(rt(/^%?[^%]*%?$/,vr)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var fn=jt(vr),Kr=fn.length>0?fn[0]:"",Sn=Lt("%"+Kr+"%",Fr),Fn=Sn.name,Et=Sn.value,st=!1,Wr=Sn.alias;Wr&&(Kr=Wr[0],Xe(fn,Fe([0,1],Wr)));for(var Dr=1,Tr=!0;Dr<fn.length;Dr+=1){var gr=fn[Dr],ir=Ze(gr,0,1),Mr=Ze(gr,-1);if((ir==='"'||ir==="'"||ir==="`"||Mr==='"'||Mr==="'"||Mr==="`")&&ir!==Mr)throw new l("property names with quotes must have matching quotes");if((gr==="constructor"||!Tr)&&(st=!0),Kr+="."+gr,Fn="%"+Kr+"%",xe(ye,Fn))Et=ye[Fn];else if(Et!=null){if(!(gr in Et)){if(!Fr)throw new m("base intrinsic for "+vr+" exists, but the property is not available.");return}if(D&&Dr+1>=fn.length){var Lr=D(Et,gr);Tr=!!Lr,Tr&&"get"in Lr&&!("originalValue"in Lr.get)?Et=Lr.get:Et=Et[gr]}else Tr=xe(Et,gr),Et=Et[gr];Tr&&!st&&(ye[Fn]=Et)}}return Et}},25241(f,d,e){"use strict";var n=e(14816);f.exports=n.getPrototypeOf||null},14395(f){"use strict";f.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null},81785(f,d,e){"use strict";var n=e(14395),r=e(25241),a=e(92903);f.exports=n?function(s){return n(s)}:r?function(s){if(!s||typeof s!="object"&&typeof s!="function")throw new TypeError("getProto: not an object");return r(s)}:a?function(s){return a(s)}:null},46734(f,d,e){var n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{},r=e(54357),a;typeof document<"u"?a=document:(a=n["__GLOBAL_DOCUMENT_CACHE@4"],a||(a=n["__GLOBAL_DOCUMENT_CACHE@4"]=r)),f.exports=a},24015(f){var d;typeof window<"u"?d=window:typeof globalThis<"u"?d=globalThis:typeof self<"u"?d=self:d={},f.exports=d},88562(f){"use strict";f.exports=Object.getOwnPropertyDescriptor},56374(f,d,e){"use strict";var n=e(88562);if(n)try{n([],"length")}catch{n=null}f.exports=n},62319(f,d,e){"use strict";var n=typeof Symbol<"u"&&Symbol,r=e(16461);f.exports=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:r()}},16461(f){"use strict";f.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var a=42;e[n]=a;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var s=Object.getOwnPropertySymbols(e);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,n);if(u.value!==a||u.enumerable!==!0)return!1}return!0}},90331(f,d,e){"use strict";var n=Function.prototype.call,r=Object.prototype.hasOwnProperty,a=e(72057);f.exports=a.call(n,r)},18259(f){/*! iNoBounce - v0.1.0 612* https://github.com/lazd/iNoBounce/ 613* Copyright (c) 2013 Larry Davis <[email protected]>; Licensed BSD */(function(d){var e=0,n=!1,r=function(h){for(var v=h.target;v!==document.body&&v!==document;){var b=window.getComputedStyle(v);if(!b)break;if(v.nodeName==="INPUT"&&v.getAttribute("type")==="range")return;var T=b.getPropertyValue("-webkit-overflow-scrolling"),E=b.getPropertyValue("overflow-y"),w=parseInt(b.getPropertyValue("height"),10),C=T==="touch"&&(E==="auto"||E==="scroll"),O=v.scrollHeight>v.offsetHeight;if(C&&O){var U=h.touches?h.touches[0].screenY:h.screenY,D=e<=U&&v.scrollTop===0,F=e>=U&&v.scrollHeight-v.scrollTop===w;(D||F)&&h.preventDefault();return}v=v.parentNode}h.preventDefault()},a=function(h){e=h.touches?h.touches[0].screenY:h.screenY},i=function(){window.addEventListener("touchstart",a,!1),window.addEventListener("touchmove",r,!1),n=!0},s=function(){window.removeEventListener("touchstart",a,!1),window.removeEventListener("touchmove",r,!1),n=!1},u=function(){return n},l=document.createElement("div");document.documentElement.appendChild(l),l.style.WebkitOverflowScrolling="touch";var m="getComputedStyle"in window&&window.getComputedStyle(l)["-webkit-overflow-scrolling"]==="touch";document.documentElement.removeChild(l),m&&i();var g={enable:i,disable:s,isEnabled:u};f.exports&&(f.exports=g),typeof d.define=="function"?(function(h){h("iNoBounce",[],function(){return g})})(d.define):d.iNoBounce=g})(this)},18077(f,d,e){f=e.nmd(f),(function(n,r){f.exports=r()})(this,(function(){"use strict";function n($,z){var ee=Object.keys($);if(Object.getOwnPropertySymbols){var pe=Object.getOwnPropertySymbols($);z&&(pe=pe.filter((function(Ce){return Object.getOwnPropertyDescriptor($,Ce).enumerable}))),ee.push.apply(ee,pe)}return ee}function r($){for(var z=1;z<arguments.length;z++){var ee=arguments[z]!=null?arguments[z]:{};
vendor: 101,809 bytes, line 613
613z%2?n(Object(ee),!0).forEach((function(pe){l($,pe,ee[pe])})):Object.getOwnPropertyDescriptors?Object.defineProperties($,Object.getOwnPropertyDescriptors(ee)):n(Object(ee)).forEach((function(pe){Object.defineProperty($,pe,Object.getOwnPropertyDescriptor(ee,pe))}))}return $}function a($){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(z){return typeof z}:function(z){return z&&typeof Symbol=="function"&&z.constructor===Symbol&&z!==Symbol.prototype?"symbol":typeof z},a($)}function i($,z){if(!($ instanceof z))throw new TypeError("Cannot call a class as a function")}function s($,z){for(var ee=0;ee<z.length;ee++){var pe=z[ee];pe.enumerable=pe.enumerable||!1,pe.configurable=!0,"value"in pe&&(pe.writable=!0),Object.defineProperty($,E(pe.key),pe)}}function u($,z,ee){return z&&s($.prototype,z),ee&&s($,ee),Object.defineProperty($,"prototype",{writable:!1}),$}function l($,z,ee){return(z=E(z))in $?Object.defineProperty($,z,{value:ee,enumerable:!0,configurable:!0,writable:!0}):$[z]=ee,$}function m($,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");$.prototype=Object.create(z&&z.prototype,{constructor:{value:$,writable:!0,configurable:!0}}),Object.defineProperty($,"prototype",{writable:!1}),z&&h($,z)}function g($){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(z){return z.__proto__||Object.getPrototypeOf(z)},g($)}function h($,z){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ee,pe){return ee.__proto__=pe,ee},h($,z)}function v($){if($===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $}function b($){var z=(function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})();return function(){var ee,pe=g($);if(z){var Ce=g(this).constructor;ee=Reflect.construct(pe,arguments,Ce)}else ee=pe.apply(this,arguments);return(function(Be,at){if(at&&(typeof at=="object"||typeof at=="function"))return at;if(at!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(Be)})(this,ee)}}function T(){return T=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function($,z,ee){var pe=(function(Be,at){for(;!Object.prototype.hasOwnProperty.call(Be,at)&&(Be=g(Be))!==null;);return Be})($,z);if(pe){var Ce=Object.getOwnPropertyDescriptor(pe,z);return Ce.get?Ce.get.call(arguments.length<3?$:ee):Ce.value}},T.apply(this,arguments)}function E($){var z=(function(ee,pe){if(typeof ee!="object"||ee===null)return ee;var Ce=ee[Symbol.toPrimitive];if(Ce!==void 0){var Be=Ce.call(ee,pe||"default");if(typeof Be!="object")return Be;throw new TypeError("@@toPrimitive must return a primitive value.")}return(pe==="string"?String:Number)(ee)})($,"string");return typeof z=="symbol"?z:z+""}var w=function($){return!(!$||!$.Window)&&$ instanceof $.Window},C=void 0,O=void 0;function U($){C=$;var z=$.document.createTextNode("");z.ownerDocument!==$.document&&typeof $.wrap=="function"&&$.wrap(z)===z&&($=$.wrap($)),O=$}function D($){return w($)?$:($.ownerDocument||$).defaultView||O.window}typeof window<"u"&&window&&U(window);var F=function($){return!!$&&a($)==="object"},j=function($){return typeof $=="function"},M={window:function($){return $===O||w($)},docFrag:function($){return F($)&&$.nodeType===11},object:F,func:j,number:function($){return typeof $=="number"},bool:function($){return typeof $=="boolean"},string:function($){return typeof $=="string"},element:function($){if(!$||a($)!=="object")return!1;var z=D($)||O;return/object|function/.test(typeof Element>"u"?"undefined":a(Element))?$ instanceof Element||$ instanceof z.Element:$.nodeType===1&&typeof $.nodeName=="string"},plainObject:function($){return F($)&&!!$.constructor&&/function Object\b/.test($.constructor.toString())},array:function($){return F($)&&$.length!==void 0&&j($.splice)}};function W($){var z=$.interaction;if(z.prepared.name==="drag"){var ee=z.prepared.axis;ee==="x"?(z.coords.cur.page.y=z.coords.start.page.y,z.coords.cur.client.y=z.coords.start.client.y,z.coords.velocity.client.y=0,z.coords.velocity.page.y=0):ee==="y"&&(z.coords.cur.page.x=z.coords.start.page.x,z.coords.cur.client.x=z.coords.start.client.x,z.coords.velocity.client.x=0,z.coords.velocity.page.x=0)}}function V($){var z=$.iEvent,ee=$.interaction;if(ee.prepared.name==="drag"){var pe=ee.prepared.axis;if(pe==="x"||pe==="y"){var Ce=pe==="x"?"y":"x";z.page[Ce]=ee.coords.start.page[Ce],z.client[Ce]=ee.coords.start.client[Ce],z.delta[Ce]=0}}}var q={id:"actions/drag",install:function($){var z=$.actions,ee=$.Interactable,pe=$.defaults;ee.prototype.draggable=q.draggable,z.map.drag=q,z.methodDict.drag="draggable",pe.actions.drag=q.defaults},listeners:{"interactions:before-action-move":W,"interactions:action-resume":W,"interactions:action-move":V,"auto-start:check":function($){var z=$.interaction,ee=$.interactable,pe=$.buttons,Ce=ee.options.drag;if(Ce&&Ce.enabled&&(!z.pointerIsDown||!/mouse|pointer/.test(z.pointerType)||(pe&ee.options.drag.mouseButtons)!=0))return $.action={name:"drag",axis:Ce.lockAxis==="start"?Ce.startAxis:Ce.lockAxis},!1}},draggable:function($){return M.object($)?(this.options.drag.enabled=$.enabled!==!1,this.setPerAction("drag",$),this.setOnEvents("drag",$),/^(xy|x|y|start)$/.test($.lockAxis)&&(this.options.drag.lockAxis=$.lockAxis),/^(xy|x|y)$/.test($.startAxis)&&(this.options.drag.startAxis=$.startAxis),this):M.bool($)?(this.options.drag.enabled=$,this):this.options.drag},beforeMove:W,move:V,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function($){return $.search("drag")===0}},J=q,re={init:function($){var z=$;re.document=z.document,re.DocumentFragment=z.DocumentFragment||he,re.SVGElement=z.SVGElement||he,re.SVGSVGElement=z.SVGSVGElement||he,re.SVGElementInstance=z.SVGElementInstance||he,re.Element=z.Element||he,re.HTMLElement=z.HTMLElement||re.Element,re.Event=z.Event,re.Touch=z.Touch||he,re.PointerEvent=z.PointerEvent||z.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function he(){}var fe=re,ae={init:function($){var z=fe.Element,ee=$.navigator||{};ae.supportsTouch="ontouchstart"in $||M.func($.DocumentTouch)&&fe.document instanceof $.DocumentTouch,ae.supportsPointerEvent=ee.pointerEnabled!==!1&&!!fe.PointerEvent,ae.isIOS=/iP(hone|od|ad)/.test(ee.platform),ae.isIOS7=/iP(hone|od|ad)/.test(ee.platform)&&/OS 7[^\d]/.test(ee.appVersion),ae.isIe9=/MSIE 9/.test(ee.userAgent),ae.isOperaMobile=ee.appName==="Opera"&&ae.supportsTouch&&/Presto/.test(ee.userAgent),ae.prefixedMatchesSelector="matches"in z.prototype?"matches":"webkitMatchesSelector"in z.prototype?"webkitMatchesSelector":"mozMatchesSelector"in z.prototype?"mozMatchesSelector":"oMatchesSelector"in z.prototype?"oMatchesSelector":"msMatchesSelector",ae.pEventTypes=ae.supportsPointerEvent?fe.PointerEvent===$.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,ae.wheelEvent=fe.document&&"onmousewheel"in fe.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},ye=ae;function ve($,z){if($.contains)return $.contains(z);for(;z;){if(z===$)return!0;z=z.parentNode}return!1}function Ue($,z){for(;M.element($);){if(de($,z))return $;$=We($)}return null}function We($){var z=$.parentNode;if(M.docFrag(z)){for(;(z=z.host)&&M.docFrag(z););return z}return z}function de($,z){return O!==C&&(z=z.replace(/\/deep\//g," ")),$[ye.prefixedMatchesSelector](z)}var xe=function($){return $.parentNode||$.host};function Fe($,z){for(var ee,pe=[],Ce=$;(ee=xe(Ce))&&Ce!==z&&ee!==Ce.ownerDocument;)pe.unshift(Ce),Ce=ee;return pe}function Xe($,z,ee){for(;M.element($);){if(de($,z))return!0;if(($=We($))===ee)return de($,z)}return!1}function Me($){return $.correspondingUseElement||$}function Ze($){var z=$ instanceof fe.SVGElement?$.getBoundingClientRect():$.getClientRects()[0];return z&&{left:z.left,right:z.right,top:z.top,bottom:z.bottom,width:z.width||z.right-z.left,height:z.height||z.bottom-z.top}}function rt($){var z,ee=Ze($);if(!ye.isIOS7&&ee){var pe={x:(z=(z=D($))||O).scrollX||z.document.documentElement.scrollLeft,y:z.scrollY||z.document.documentElement.scrollTop};ee.left+=pe.x,ee.right+=pe.x,ee.top+=pe.y,ee.bottom+=pe.y}return ee}function mt($){for(var z=[];$;)z.push($),$=We($);return z}function Xt($){return!!M.string($)&&(fe.document.querySelector($),!0)}function jt($,z){for(var ee in z)$[ee]=z[ee];return $}function Lt($,z,ee){return $==="parent"?We(ee):$==="self"?z.getRect(ee):Ue(ee,$)}function Ht($,z,ee,pe){var Ce=$;return M.string(Ce)?Ce=Lt(Ce,z,ee):M.func(Ce)&&(Ce=Ce.apply(void 0,pe)),M.element(Ce)&&(Ce=rt(Ce)),Ce}function vr($){return $&&{x:"x"in $?$.x:$.left,y:"y"in $?$.y:$.top}}function Fr($){return!$||"x"in $&&"y"in $||(($=jt({},$)).x=$.left||0,$.y=$.top||0,$.width=$.width||($.right||0)-$.x,$.height=$.height||($.bottom||0)-$.y),$}function fn($,z,ee){$.left&&(z.left+=ee.x),$.right&&(z.right+=ee.x),$.top&&(z.top+=ee.y),$.bottom&&(z.bottom+=ee.y),z.width=z.right-z.left,z.height=z.bottom-z.top}function Kr($,z,ee){var pe=ee&&$.options[ee];return vr(Ht(pe&&pe.origin||$.options.origin,$,z,[$&&z]))||{x:0,y:0}}function Sn($,z){var ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(Bt){return!0},pe=arguments.length>3?arguments[3]:void 0;if(pe=pe||{},M.string($)&&$.search(" ")!==-1&&($=Fn($)),M.array($))return $.forEach((function(Bt){return Sn(Bt,z,ee,pe)})),pe;if(M.object($)&&(z=$,$=""),M.func(z)&&ee($))pe[$]=pe[$]||[],pe[$].push(z);else if(M.array(z))for(var Ce=0,Be=z;Ce<Be.length;Ce++){var at=Be[Ce];Sn($,at,ee,pe)}else if(M.object(z))for(var vt in z)Sn(Fn(vt).map((function(Bt){return"".concat($).concat(Bt)})),z[vt],ee,pe);return pe}function Fn($){return $.trim().split(/ +/)}var Et=function($,z){return Math.sqrt($*$+z*z)},st=["webkit","moz"];function Wr($,z){$.__set||($.__set={});var ee=function(Ce){if(st.some((function(Be){return Ce.indexOf(Be)===0})))return 1;typeof $[Ce]!="function"&&Ce!=="__set"&&Object.defineProperty($,Ce,{get:function(){return Ce in $.__set?$.__set[Ce]:$.__set[Ce]=z[Ce]},set:function(Be){$.__set[Ce]=Be},configurable:!0})};for(var pe in z)ee(pe);return $}function Dr($,z){$.page=$.page||{},$.page.x=z.page.x,$.page.y=z.page.y,$.client=$.client||{},$.client.x=z.client.x,$.client.y=z.client.y,$.timeStamp=z.timeStamp}function Tr($){$.page.x=0,$.page.y=0,$.client.x=0,$.client.y=0}function gr($){return $ instanceof fe.Event||$ instanceof fe.Touch}function ir($,z,ee){return $=$||"page",(ee=ee||{}).x=z[$+"X"],ee.y=z[$+"Y"],ee}function Mr($,z){return z=z||{x:0,y:0},ye.isOperaMobile&&gr($)?(ir("screen",$,z),z.x+=window.scrollX,z.y+=window.scrollY):ir("page",$,z),z}function Lr($){return M.number($.pointerId)?$.pointerId:$.identifier}function un($,z,ee){var pe=z.length>1?rr(z):z[0];Mr(pe,$.page),(function(Ce,Be){Be=Be||{},ye.isOperaMobile&&gr(Ce)?ir("screen",Ce,Be):ir("client",Ce,Be)})(pe,$.client),$.timeStamp=ee}function hn($){var z=[];return M.array($)?(z[0]=$[0],z[1]=$[1]):$.type==="touchend"?$.touches.length===1?(z[0]=$.touches[0],z[1]=$.changedTouches[0]):$.touches.length===0&&(z[0]=$.changedTouches[0],z[1]=$.changedTouches[1]):(z[0]=$.touches[0],z[1]=$.touches[1]),z}function rr($){for(var z={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},ee=0;ee<$.length;ee++){var pe=$[ee];for(var Ce in z)z[Ce]+=pe[Ce]}for(var Be in z)z[Be]/=$.length;return z}function Gr($){if(!$.length)return null;var z=hn($),ee=Math.min(z[0].pageX,z[1].pageX),pe=Math.min(z[0].pageY,z[1].pageY),Ce=Math.max(z[0].pageX,z[1].pageX),Be=Math.max(z[0].pageY,z[1].pageY);return{x:ee,y:pe,left:ee,top:pe,right:Ce,bottom:Be,width:Ce-ee,height:Be-pe}}function er($,z){var ee=z+"X",pe=z+"Y",Ce=hn($),Be=Ce[0][ee]-Ce[1][ee],at=Ce[0][pe]-Ce[1][pe];return Et(Be,at)}function At($,z){var ee=z+"X",pe=z+"Y",Ce=hn($),Be=Ce[1][ee]-Ce[0][ee],at=Ce[1][pe]-Ce[0][pe];return 180*Math.atan2(at,Be)/Math.PI}function dr($){return M.string($.pointerType)?$.pointerType:M.number($.pointerType)?[void 0,void 0,"touch","pen","mouse"][$.pointerType]:/touch/.test($.type||"")||$ instanceof fe.Touch?"touch":"mouse"}function Y($){var z=M.func($.composedPath)?$.composedPath():$.path;return[Me(z?z[0]:$.target),Me($.currentTarget)]}var ot=(function(){function $(z){i(this,$),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=z}return u($,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),$})();Object.defineProperty(ot.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var Yt=function($,z){for(var ee=0;ee<z.length;ee++){var pe=z[ee];$.push(pe)}return $},it=function($){return Yt([],$)},Mt=function($,z){for(var ee=0;ee<$.length;ee++)if(z($[ee],ee,$))return ee;return-1},an=function($,z){return $[Mt($,z)]},Cn=(function($){m(ee,$);var z=b(ee);function ee(pe,Ce,Be){var at;i(this,ee),(at=z.call(this,Ce._interaction)).dropzone=void 0,at.dragEvent=void 0,at.relatedTarget=void 0,at.draggable=void 0,at.propagationStopped=!1,at.immediatePropagationStopped=!1;var vt=Be==="dragleave"?pe.prev:pe.cur,Bt=vt.element,mr=vt.dropzone;return at.type=Be,at.target=Bt,at.currentTarget=Bt,at.dropzone=mr,at.dragEvent=Ce,at.relatedTarget=Ce.target,at.draggable=Ce.interactable,at.timeStamp=Ce.timeStamp,at}return u(ee,[{key:"reject",value:function(){var pe=this,Ce=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&Ce.cur.dropzone===this.dropzone&&Ce.cur.element===this.target)if(Ce.prev.dropzone=this.dropzone,Ce.prev.element=this.target,Ce.rejected=!0,Ce.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var Be=Ce.activeDrops,at=Mt(Be,(function(Bt){var mr=Bt.dropzone,zt=Bt.element;return mr===pe.dropzone&&zt===pe.target}));Ce.activeDrops.splice(at,1);var vt=new ee(Ce,this.dragEvent,"dropdeactivate");vt.dropzone=this.dropzone,vt.target=this.target,this.dropzone.fire(vt)}else this.dropzone.fire(new ee(Ce,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),ee})(ot);function Ln($,z){for(var ee=0,pe=$.slice();ee<pe.length;ee++){var Ce=pe[ee],Be=Ce.dropzone,at=Ce.element;z.dropzone=Be,z.target=at,Be.fire(z),z.propagationStopped=z.immediatePropagationStopped=!1}}function In($,z){for(var ee=(function(Be,at){for(var vt=[],Bt=0,mr=Be.interactables.list;Bt<mr.length;Bt++){var zt=mr[Bt];if(zt.options.drop.enabled){var jr=zt.options.drop.accept;if(!(M.element(jr)&&jr!==at||M.string(jr)&&!de(at,jr)||M.func(jr)&&!jr({dropzone:zt,draggableElement:at})))for(var Rn=0,Jn=zt.getAllElements();Rn<Jn.length;Rn++){var Yn=Jn[Rn];Yn!==at&&vt.push({dropzone:zt,element:Yn,rect:zt.getRect(Yn)})}}}return vt})($,z),pe=0;pe<ee.length;pe++){var Ce=ee[pe];Ce.rect=Ce.dropzone.getRect(Ce.element)}return ee}function Si($,z,ee){for(var pe=$.dropState,Ce=$.interactable,Be=$.element,at=[],vt=0,Bt=pe.activeDrops;vt<Bt.length;vt++){var mr=Bt[vt],zt=mr.dropzone,jr=mr.element,Rn=mr.rect,Jn=zt.dropCheck(z,ee,Ce,Be,jr,Rn);at.push(Jn?jr:null)}var Yn=(function(gi){for(var Ni,Ii,es,ur=[],on=0;on<gi.length;on++){var kr=gi[on],jn=gi[Ni];if(kr&&on!==Ni)if(jn){var ts=xe(kr),is=xe(jn);if(ts!==kr.ownerDocument)if(is!==kr.ownerDocument)if(ts!==is){ur=ur.length?ur:Fe(jn);var _i=void 0;if(jn instanceof fe.HTMLElement&&kr instanceof fe.SVGElement&&!(kr instanceof fe.SVGSVGElement)){if(kr===is)continue;_i=kr.ownerSVGElement}else _i=kr;for(var Ps=Fe(_i,jn.ownerDocument),Do=0;Ps[Do]&&Ps[Do]===ur[Do];)Do++;var zu=[Ps[Do-1],Ps[Do],ur[Do]];if(zu[0])for(var Va=zu[0].lastChild;Va;){if(Va===zu[1]){Ni=on,ur=Ps;break}if(Va===zu[2])break;Va=Va.previousSibling}}else es=jn,(parseInt(D(Ii=kr).getComputedStyle(Ii).zIndex,10)||0)>=(parseInt(D(es).getComputedStyle(es).zIndex,10)||0)&&(Ni=on);else Ni=on}else Ni=on}return Ni})(at);return pe.activeDrops[Yn]||null}function $i($,z,ee){var pe=$.dropState,Ce={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return ee.type==="dragstart"&&(Ce.activate=new Cn(pe,ee,"dropactivate"),Ce.activate.target=null,Ce.activate.dropzone=null),ee.type==="dragend"&&(Ce.deactivate=new Cn(pe,ee,"dropdeactivate"),Ce.deactivate.target=null,Ce.deactivate.dropzone=null),pe.rejected||(pe.cur.element!==pe.prev.element&&(pe.prev.dropzone&&(Ce.leave=new Cn(pe,ee,"dragleave"),ee.dragLeave=Ce.leave.target=pe.prev.element,ee.prevDropzone=Ce.leave.dropzone=pe.prev.dropzone),pe.cur.dropzone&&(Ce.enter=new Cn(pe,ee,"dragenter"),ee.dragEnter=pe.cur.element,ee.dropzone=pe.cur.dropzone)),ee.type==="dragend"&&pe.cur.dropzone&&(Ce.drop=new Cn(pe,ee,"drop"),ee.dropzone=pe.cur.dropzone,ee.relatedTarget=pe.cur.element),ee.type==="dragmove"&&pe.cur.dropzone&&(Ce.move=new Cn(pe,ee,"dropmove"),ee.dropzone=pe.cur.dropzone)),Ce}function tn($,z){var ee=$.dropState,pe=ee.activeDrops,Ce=ee.cur,Be=ee.prev;z.leave&&Be.dropzone.fire(z.leave),z.enter&&Ce.dropzone.fire(z.enter),z.move&&Ce.dropzone.fire(z.move),z.drop&&Ce.dropzone.fire(z.drop),z.deactivate&&Ln(pe,z.deactivate),ee.prev.dropzone=Ce.dropzone,ee.prev.element=Ce.element}function Hi($,z){var ee=$.interaction,pe=$.iEvent,Ce=$.event;if(pe.type==="dragmove"||pe.type==="dragend"){var Be=ee.dropState;z.dynamicDrop&&(Be.activeDrops=In(z,ee.element));var at=pe,vt=Si(ee,at,Ce);Be.rejected=Be.rejected&&!!vt&&vt.dropzone===Be.cur.dropzone&&vt.element===Be.cur.element,Be.cur.dropzone=vt&&vt.dropzone,Be.cur.element=vt&&vt.element,Be.events=$i(ee,0,at)}}var Ji={id:"actions/drop",install:function($){var z=$.actions,ee=$.interactStatic,pe=$.Interactable,Ce=$.defaults;$.usePlugin(J),pe.prototype.dropzone=function(Be){return(function(at,vt){if(M.object(vt)){if(at.options.drop.enabled=vt.enabled!==!1,vt.listeners){var Bt=Sn(vt.listeners),mr=Object.keys(Bt).reduce((function(jr,Rn){return jr[/^(enter|leave)/.test(Rn)?"drag".concat(Rn):/^(activate|deactivate|move)/.test(Rn)?"drop".concat(Rn):Rn]=Bt[Rn],jr}),{}),zt=at.options.drop.listeners;zt&&at.off(zt),at.on(mr),at.options.drop.listeners=mr}return M.func(vt.ondrop)&&at.on("drop",vt.ondrop),M.func(vt.ondropactivate)&&at.on("dropactivate",vt.ondropactivate),M.func(vt.ondropdeactivate)&&at.on("dropdeactivate",vt.ondropdeactivate),M.func(vt.ondragenter)&&at.on("dragenter",vt.ondragenter),M.func(vt.ondragleave)&&at.on("dragleave",vt.ondragleave),M.func(vt.ondropmove)&&at.on("dropmove",vt.ondropmove),/^(pointer|center)$/.test(vt.overlap)?at.options.drop.overlap=vt.overlap:M.number(vt.overlap)&&(at.options.drop.overlap=Math.max(Math.min(1,vt.overlap),0)),"accept"in vt&&(at.options.drop.accept=vt.accept),"checker"in vt&&(at.options.drop.checker=vt.checker),at}return M.bool(vt)?(at.options.drop.enabled=vt,at):at.options.drop})(this,Be)},pe.prototype.dropCheck=function(Be,at,vt,Bt,mr,zt){return(function(jr,Rn,Jn,Yn,gi,Ni,Ii){var es=!1;if(!(Ii=Ii||jr.getRect(Ni)))return!!jr.options.drop.checker&&jr.options.drop.checker(Rn,Jn,es,jr,Ni,Yn,gi);var ur=jr.options.drop.overlap;if(ur==="pointer"){var on=Kr(Yn,gi,"drag"),kr=Mr(Rn);kr.x+=on.x,kr.y+=on.y;var jn=kr.x>Ii.left&&kr.x<Ii.right,ts=kr.y>Ii.top&&kr.y<Ii.bottom;es=jn&&ts}var is=Yn.getRect(gi);if(is&&ur==="center"){var _i=is.left+is.width/2,Ps=is.top+is.height/2;es=_i>=Ii.left&&_i<=Ii.right&&Ps>=Ii.top&&Ps<=Ii.bottom}return is&&M.number(ur)&&(es=Math.max(0,Math.min(Ii.right,is.right)-Math.max(Ii.left,is.left))*Math.max(0,Math.min(Ii.bottom,is.bottom)-Math.max(Ii.top,is.top))/(is.width*is.height)>=ur),jr.options.drop.checker&&(es=jr.options.drop.checker(Rn,Jn,es,jr,Ni,Yn,gi)),es})(this,Be,at,vt,Bt,mr,zt)},ee.dynamicDrop=function(Be){return M.bool(Be)?($.dynamicDrop=Be,ee):$.dynamicDrop},jt(z.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),z.methodDict.drop="dropzone",$.dynamicDrop=!1,Ce.actions.drop=Ji.defaults},listeners:{"interactions:before-action-start":function($){var z=$.interaction;z.prepared.name==="drag"&&(z.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function($,z){var ee=$.interaction,pe=($.event,$.iEvent);if(ee.prepared.name==="drag"){var Ce=ee.dropState;Ce.activeDrops=[],Ce.events={},Ce.activeDrops=In(z,ee.element),Ce.events=$i(ee,0,pe),Ce.events.activate&&(Ln(Ce.activeDrops,Ce.events.activate),z.fire("actions/drop:start",{interaction:ee,dragEvent:pe}))}},"interactions:action-move":Hi,"interactions:after-action-move":function($,z){var ee=$.interaction,pe=$.iEvent;if(ee.prepared.name==="drag"){var Ce=ee.dropState;tn(ee,Ce.events),z.fire("actions/drop:move",{interaction:ee,dragEvent:pe}),Ce.events={}}},"interactions:action-end":function($,z){if($.interaction.prepared.name==="drag"){var ee=$.interaction,pe=$.iEvent;Hi($,z),tn(ee,ee.dropState.events),z.fire("actions/drop:end",{interaction:ee,dragEvent:pe})}},"interactions:stop":function($){var z=$.interaction;if(z.prepared.name==="drag"){var ee=z.dropState;ee&&(ee.activeDrops=null,ee.events=null,ee.cur.dropzone=null,ee.cur.element=null,ee.prev.dropzone=null,ee.prev.element=null,ee.rejected=!1)}}},getActiveDrops:In,getDrop:Si,getDropEvents:$i,fireDropEvents:tn,filterEventType:function($){return $.search("drag")===0||$.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},Yi=Ji;function Ki($){var z=$.interaction,ee=$.iEvent,pe=$.phase;if(z.prepared.name==="gesture"){var Ce=z.pointers.map((function(mr){return mr.pointer})),Be=pe==="start",at=pe==="end",vt=z.interactable.options.deltaSource;if(ee.touches=[Ce[0],Ce[1]],Be)ee.distance=er(Ce,vt),ee.box=Gr(Ce),ee.scale=1,ee.ds=0,ee.angle=At(Ce,vt),ee.da=0,z.gesture.startDistance=ee.distance,z.gesture.startAngle=ee.angle;else if(at||z.pointers.length<2){var Bt=z.prevEvent;ee.distance=Bt.distance,ee.box=Bt.box,ee.scale=Bt.scale,ee.ds=0,ee.angle=Bt.angle,ee.da=0}else ee.distance=er(Ce,vt),ee.box=Gr(Ce),ee.scale=ee.distance/z.gesture.startDistance,ee.angle=At(Ce,vt),ee.ds=ee.scale-z.gesture.scale,ee.da=ee.angle-z.gesture.angle;z.gesture.distance=ee.distance,z.gesture.angle=ee.angle,M.number(ee.scale)&&ee.scale!==1/0&&!isNaN(ee.scale)&&(z.gesture.scale=ee.scale)}}var mi={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function($){var z=$.actions,ee=$.Interactable,pe=$.defaults;ee.prototype.gesturable=function(Ce){return M.object(Ce)?(this.options.gesture.enabled=Ce.enabled!==!1,this.setPerAction("gesture",Ce),this.setOnEvents("gesture",Ce),this):M.bool(Ce)?(this.options.gesture.enabled=Ce,this):this.options.gesture},z.map.gesture=mi,z.methodDict.gesture="gesturable",pe.actions.gesture=mi.defaults},listeners:{"interactions:action-start":Ki,"interactions:action-move":Ki,"interactions:action-end":Ki,"interactions:new":function($){$.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function($){if(!($.interaction.pointers.length<2)){var z=$.interactable.options.gesture;if(z&&z.enabled)return $.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function($){return $.search("gesture")===0}},ws=mi;function Zn($,z,ee,pe,Ce,Be,at){if(!z)return!1;if(z===!0){var vt=M.number(Be.width)?Be.width:Be.right-Be.left,Bt=M.number(Be.height)?Be.height:Be.bottom-Be.top;if(at=Math.min(at,Math.abs(($==="left"||$==="right"?vt:Bt)/2)),vt<0&&($==="left"?$="right":$==="right"&&($="left")),Bt<0&&($==="top"?$="bottom":$==="bottom"&&($="top")),$==="left"){var mr=vt>=0?Be.left:Be.right;return ee.x<mr+at}if($==="top"){var zt=Bt>=0?Be.top:Be.bottom;return ee.y<zt+at}if($==="right")return ee.x>(vt>=0?Be.right:Be.left)-at;if($==="bottom")return ee.y>(Bt>=0?Be.bottom:Be.top)-at}return!!M.element(pe)&&(M.element(z)?z===pe:Xe(pe,z,Ce))}function fs($){var z=$.iEvent,ee=$.interaction;if(ee.prepared.name==="resize"&&ee.resizeAxes){var pe=z;ee.interactable.options.resize.square?(ee.resizeAxes==="y"?pe.delta.x=pe.delta.y:pe.delta.y=pe.delta.x,pe.axes="xy"):(pe.axes=ee.resizeAxes,ee.resizeAxes==="x"?pe.delta.y=0:ee.resizeAxes==="y"&&(pe.delta.x=0))}}var cs,vs,wr={id:"actions/resize",before:["actions/drag"],install:function($){var z=$.actions,ee=$.browser,pe=$.Interactable,Ce=$.defaults;wr.cursors=(function(Be){return Be.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}})(ee),wr.defaultMargin=ee.supportsTouch||ee.supportsPointerEvent?20:10,pe.prototype.resizable=function(Be){return(function(at,vt,Bt){return M.object(vt)?(at.options.resize.enabled=vt.enabled!==!1,at.setPerAction("resize",vt),at.setOnEvents("resize",vt),M.string(vt.axis)&&/^x$|^y$|^xy$/.test(vt.axis)?at.options.resize.axis=vt.axis:vt.axis===null&&(at.options.resize.axis=Bt.defaults.actions.resize.axis),M.bool(vt.preserveAspectRatio)?at.options.resize.preserveAspectRatio=vt.preserveAspectRatio:M.bool(vt.square)&&(at.options.resize.square=vt.square),at):M.bool(vt)?(at.options.resize.enabled=vt,at):at.options.resize})(this,Be,$)},z.map.resize=wr,z.methodDict.resize="resizable",Ce.actions.resize=wr.defaults},listeners:{"interactions:new":function($){$.interaction.resizeAxes="xy"},"interactions:action-start":function($){(function(z){var ee=z.iEvent,pe=z.interaction;if(pe.prepared.name==="resize"&&pe.prepared.edges){var Ce=ee,Be=pe.rect;pe._rects={start:jt({},Be),corrected:jt({},Be),previous:jt({},Be),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},Ce.edges=pe.prepared.edges,Ce.rect=pe._rects.corrected,Ce.deltaRect=pe._rects.delta}})($),fs($)},"interactions:action-move":function($){(function(z){var ee=z.iEvent,pe=z.interaction;if(pe.prepared.name==="resize"&&pe.prepared.edges){var Ce=ee,Be=pe.interactable.options.resize.invert,at=Be==="reposition"||Be==="negate",vt=pe.rect,Bt=pe._rects,mr=Bt.start,zt=Bt.corrected,jr=Bt.delta,Rn=Bt.previous;if(jt(Rn,zt),at){if(jt(zt,vt),Be==="reposition"){if(zt.top>zt.bottom){var Jn=zt.top;zt.top=zt.bottom,zt.bottom=Jn}if(zt.left>zt.right){var Yn=zt.left;zt.left=zt.right,zt.right=Yn}}}else zt.top=Math.min(vt.top,mr.bottom),zt.bottom=Math.max(vt.bottom,mr.top),zt.left=Math.min(vt.left,mr.right),zt.right=Math.max(vt.right,mr.left);for(var gi in zt.width=zt.right-zt.left,zt.height=zt.bottom-zt.top,zt)jr[gi]=zt[gi]-Rn[gi];Ce.edges=pe.prepared.edges,Ce.rect=zt,Ce.deltaRect=jr}})($),fs($)},"interactions:action-end":function($){var z=$.iEvent,ee=$.interaction;if(ee.prepared.name==="resize"&&ee.prepared.edges){var pe=z;pe.edges=ee.prepared.edges,pe.rect=ee._rects.corrected,pe.deltaRect=ee._rects.delta}},"auto-start:check":function($){var z=$.interaction,ee=$.interactable,pe=$.element,Ce=$.rect,Be=$.buttons;if(Ce){var at=jt({},z.coords.cur.page),vt=ee.options.resize;if(vt&&vt.enabled&&(!z.pointerIsDown||!/mouse|pointer/.test(z.pointerType)||(Be&vt.mouseButtons)!=0)){if(M.object(vt.edges)){var Bt={left:!1,right:!1,top:!1,bottom:!1};for(var mr in Bt)Bt[mr]=Zn(mr,vt.edges[mr],at,z._latestPointer.eventTarget,pe,Ce,vt.margin||wr.defaultMargin);Bt.left=Bt.left&&!Bt.right,Bt.top=Bt.top&&!Bt.bottom,(Bt.left||Bt.right||Bt.top||Bt.bottom)&&($.action={name:"resize",edges:Bt})}else{var zt=vt.axis!=="y"&&at.x>Ce.right-wr.defaultMargin,jr=vt.axis!=="x"&&at.y>Ce.bottom-wr.defaultMargin;(zt||jr)&&($.action={name:"resize",axes:(zt?"x":"")+(jr?"y":"")})}return!$.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function($){var z=$.edges,ee=$.axis,pe=$.name,Ce=wr.cursors,Be=null;if(ee)Be=Ce[pe+ee];else if(z){for(var at="",vt=0,Bt=["top","bottom","left","right"];vt<Bt.length;vt++){var mr=Bt[vt];z[mr]&&(at+=mr)}Be=Ce[at]}return Be},filterEventType:function($){return $.search("resize")===0},defaultMargin:null},we=wr,Ke={id:"actions",install:function($){$.usePlugin(ws),$.usePlugin(we),$.usePlugin(J),$.usePlugin(Yi)}},ut=0,Kt={request:function($){return cs($)},cancel:function($){return vs($)},init:function($){if(cs=$.requestAnimationFrame,vs=$.cancelAnimationFrame,!cs)for(var z=["ms","moz","webkit","o"],ee=0;ee<z.length;ee++){var pe=z[ee];cs=$["".concat(pe,"RequestAnimationFrame")],vs=$["".concat(pe,"CancelAnimationFrame")]||$["".concat(pe,"CancelRequestAnimationFrame")]}cs=cs&&cs.bind($),vs=vs&&vs.bind($),cs||(cs=function(Ce){var Be=Date.now(),at=Math.max(0,16-(Be-ut)),vt=$.setTimeout((function(){Ce(Be+at)}),at);return ut=Be+at,vt},vs=function(Ce){return clearTimeout(Ce)})}},ar={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:0,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function($){ar.isScrolling=!0,Kt.cancel(ar.i),$.autoScroll=ar,ar.interaction=$,ar.prevTime=ar.now(),ar.i=Kt.request(ar.scroll)},stop:function(){ar.isScrolling=!1,ar.interaction&&(ar.interaction.autoScroll=null),Kt.cancel(ar.i)},scroll:function(){var $=ar.interaction,z=$.interactable,ee=$.element,pe=$.prepared.name,Ce=z.options[pe].autoScroll,Be=Wn(Ce.container,z,ee),at=ar.now(),vt=(at-ar.prevTime)/1e3,Bt=Ce.speed*vt;if(Bt>=1){var mr={x:ar.x*Bt,y:ar.y*Bt};if(mr.x||mr.y){var zt=hi(Be);M.window(Be)?Be.scrollBy(mr.x,mr.y):Be&&(Be.scrollLeft+=mr.x,Be.scrollTop+=mr.y);var jr=hi(Be),Rn={x:jr.x-zt.x,y:jr.y-zt.y};(Rn.x||Rn.y)&&z.fire({type:"autoscroll",target:ee,interactable:z,delta:Rn,interaction:$,container:Be})}ar.prevTime=at}ar.isScrolling&&(Kt.cancel(ar.i),ar.i=Kt.request(ar.scroll))},check:function($,z){var ee;return(ee=$.options[z].autoScroll)==null?void 0:ee.enabled},onInteractionMove:function($){var z=$.interaction,ee=$.pointer;if(z.interacting()&&ar.check(z.interactable,z.prepared.name))if(z.simulation)ar.x=ar.y=0;else{var pe,Ce,Be,at,vt=z.interactable,Bt=z.element,mr=z.prepared.name,zt=vt.options[mr].autoScroll,jr=Wn(zt.container,vt,Bt);if(M.window(jr))at=ee.clientX<ar.margin,pe=ee.clientY<ar.margin,Ce=ee.clientX>jr.innerWidth-ar.margin,Be=ee.clientY>jr.innerHeight-ar.margin;else{var Rn=Ze(jr);at=ee.clientX<Rn.left+ar.margin,pe=ee.clientY<Rn.top+ar.margin,Ce=ee.clientX>Rn.right-ar.margin,Be=ee.clientY>Rn.bottom-ar.margin}ar.x=Ce?1:at?-1:0,ar.y=Be?1:pe?-1:0,ar.isScrolling||(ar.margin=zt.margin,ar.speed=zt.speed,ar.start(z))}}};function Wn($,z,ee){return(M.string($)?Lt($,z,ee):$)||D(ee)}function hi($){return M.window($)&&($=window.document.body),{x:$.scrollLeft,y:$.scrollTop}}var Tt={id:"auto-scroll",install:function($){var z=$.defaults,ee=$.actions;$.autoScroll=ar,ar.now=function(){return $.now()},ee.phaselessTypes.autoscroll=!0,z.perAction.autoScroll=ar.defaults},listeners:{"interactions:new":function($){$.interaction.autoScroll=null},"interactions:destroy":function($){$.interaction.autoScroll=null,ar.stop(),ar.interaction&&(ar.interaction=null)},"interactions:stop":ar.stop,"interactions:action-move":function($){return ar.onInteractionMove($)}}},qr=Tt;function Vr($,z){var ee=!1;return function(){return ee||(O.console.warn(z),ee=!0),$.apply(this,arguments)}}function Or($,z){return $.name=z.name,$.axis=z.axis,$.edges=z.edges,$}function Pn($){return M.bool($)?(this.options.styleCursor=$,this):$===null?(delete this.options.styleCursor,this):this.options.styleCursor}function zr($){return M.func($)?(this.options.actionChecker=$,this):$===null?(delete this.options.actionChecker,this):this.options.actionChecker}var Hn={id:"auto-start/interactableMethods",install:function($){var z=$.Interactable;z.prototype.getAction=function(ee,pe,Ce,Be){var at=(function(vt,Bt,mr,zt,jr){var Rn=vt.getRect(zt),Jn=Bt.buttons||{0:1,1:4,3:8,4:16}[Bt.button],Yn={action:null,interactable:vt,interaction:mr,element:zt,rect:Rn,buttons:Jn};return jr.fire("auto-start:check",Yn),Yn.action})(this,pe,Ce,Be,$);return this.options.actionChecker?this.options.actionChecker(ee,pe,at,this,Be,Ce):at},z.prototype.ignoreFrom=Vr((function(ee){return this._backCompatOption("ignoreFrom",ee)}),"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),z.prototype.allowFrom=Vr((function(ee){return this._backCompatOption("allowFrom",ee)}),"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),z.prototype.actionChecker=zr,z.prototype.styleCursor=Pn}};function fi($,z,ee,pe,Ce){return z.testIgnoreAllow(z.options[$.name],ee,pe)&&z.options[$.name].enabled&&ms(z,ee,$,Ce)?$:null}function Ti($,z,ee,pe,Ce,Be,at){for(var vt=0,Bt=pe.length;vt<Bt;vt++){var mr=pe[vt],zt=Ce[vt],jr=mr.getAction(z,ee,$,zt);if(jr){var Rn=fi(jr,mr,zt,Be,at);if(Rn)return{action:Rn,interactable:mr,element:zt}}}return{action:null,interactable:null,element:null}}function ss($,z,ee,pe,Ce){var Be=[],at=[],vt=pe;function Bt(zt){Be.push(zt),at.push(vt)}for(;M.element(vt);){Be=[],at=[],Ce.interactables.forEachMatch(vt,Bt);var mr=Ti($,z,ee,Be,at,pe,Ce);if(mr.action&&!mr.interactable.options[mr.action.name].manualStart)return mr;vt=We(vt)}return{action:null,interactable:null,element:null}}function xi($,z,ee){var pe=z.action,Ce=z.interactable,Be=z.element;pe=pe||{name:null},$.interactable=Ce,$.element=Be,Or($.prepared,pe),$.rect=Ce&&pe.name?Ce.getRect(Be):null,as($,ee),ee.fire("autoStart:prepared",{interaction:$})}function ms($,z,ee,pe){var Ce=$.options,Be=Ce[ee.name].max,at=Ce[ee.name].maxPerElement,vt=pe.autoStart.maxInteractions,Bt=0,mr=0,zt=0;if(!(Be&&at&&vt))return!1;for(var jr=0,Rn=pe.interactions.list;jr<Rn.length;jr++){var Jn=Rn[jr],Yn=Jn.prepared.name;if(Jn.interacting()&&(++Bt>=vt||Jn.interactable===$&&((mr+=Yn===ee.name?1:0)>=Be||Jn.element===z&&(zt++,Yn===ee.name&&zt>=at))))return!1}return vt>0}function wi($,z){return M.number($)?(z.autoStart.maxInteractions=$,this):z.autoStart.maxInteractions}function Ls($,z,ee){var pe=ee.autoStart.cursorElement;pe&&pe!==$&&(pe.style.cursor=""),$.ownerDocument.documentElement.style.cursor=z,$.style.cursor=z,ee.autoStart.cursorElement=z?$:null}function as($,z){var ee=$.interactable,pe=$.element,Ce=$.prepared;if($.pointerType==="mouse"&&ee&&ee.options.styleCursor){var Be="";if(Ce.name){var at=ee.options[Ce.name].cursorChecker;Be=M.func(at)?at(Ce,ee,pe,$._interacting):z.actions.map[Ce.name].getCursor(Ce)}Ls($.element,Be||"",z)}else z.autoStart.cursorElement&&Ls(z.autoStart.cursorElement,"",z)}var rs={id:"auto-start/base",before:["actions"],install:function($){var z=$.interactStatic,ee=$.defaults;$.usePlugin(Hn),ee.base.actionChecker=null,ee.base.styleCursor=!0,jt(ee.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),z.maxInteractions=function(pe){return wi(pe,$)},$.autoStart={maxInteractions:1/0,withinInteractionLimit:ms,cursorElement:null}},listeners:{"interactions:down":function($,z){var ee=$.interaction,pe=$.pointer,Ce=$.event,Be=$.eventTarget;ee.interacting()||xi(ee,ss(ee,pe,Ce,Be,z),z)},"interactions:move":function($,z){(function(ee,pe){var Ce=ee.interaction,Be=ee.pointer,at=ee.event,vt=ee.eventTarget;Ce.pointerType!=="mouse"||Ce.pointerIsDown||Ce.interacting()||xi(Ce,ss(Ce,Be,at,vt,pe),pe)})($,z),(function(ee,pe){var Ce=ee.interaction;if(Ce.pointerIsDown&&!Ce.interacting()&&Ce.pointerWasMoved&&Ce.prepared.name){pe.fire("autoStart:before-start",ee);var Be=Ce.interactable,at=Ce.prepared.name;at&&Be&&(Be.options[at].manualStart||!ms(Be,Ce.element,Ce.prepared,pe)?Ce.stop():(Ce.start(Ce.prepared,Be,Ce.element),as(Ce,pe)))}})($,z)},"interactions:stop":function($,z){var ee=$.interaction,pe=ee.interactable;pe&&pe.options.styleCursor&&Ls(ee.element,"",z)}},maxInteractions:wi,withinInteractionLimit:ms,validateAction:fi},xa=rs,ka={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function($,z){var ee=$.interaction,pe=$.eventTarget,Ce=$.dx,Be=$.dy;if(ee.prepared.name==="drag"){var at=Math.abs(Ce),vt=Math.abs(Be),Bt=ee.interactable.options.drag,mr=Bt.startAxis,zt=at>vt?"x":at<vt?"y":"xy";if(ee.prepared.axis=Bt.lockAxis==="start"?zt[0]:Bt.lockAxis,zt!=="xy"&&mr!=="xy"&&mr!==zt){ee.prepared.name=null;for(var jr=pe,Rn=function(Yn){if(Yn!==ee.interactable){var gi=ee.interactable.options.drag;if(!gi.manualStart&&Yn.testIgnoreAllow(gi,jr,pe)){var Ni=Yn.getAction(ee.downPointer,ee.downEvent,ee,jr);if(Ni&&Ni.name==="drag"&&(function(Ii,es){if(!es)return!1;var ur=es.options.drag.startAxis;return Ii==="xy"||ur==="xy"||ur===Ii})(zt,Yn)&&xa.validateAction(Ni,Yn,jr,pe,z))return Yn}}};M.element(jr);){var Jn=z.interactables.forEachMatch(jr,Rn);if(Jn){ee.prepared.name="drag",ee.interactable=Jn,ee.element=jr;break}jr=We(jr)}}}}}};function Is($){var z=$.prepared&&$.prepared.name;if(!z)return null;var ee=$.interactable.options;return ee[z].hold||ee[z].delay}var Ms={id:"auto-start/hold",install:function($){var z=$.defaults;$.usePlugin(xa),z.perAction.hold=0,z.perAction.delay=0},listeners:{"interactions:new":function($){$.interaction.autoStartHoldTimer=null},"autoStart:prepared":function($){var z=$.interaction,ee=Is(z);ee>0&&(z.autoStartHoldTimer=setTimeout((function(){z.start(z.prepared,z.interactable,z.element)}),ee))},"interactions:move":function($){var z=$.interaction,ee=$.duplicate;z.autoStartHoldTimer&&z.pointerWasMoved&&!ee&&(clearTimeout(z.autoStartHoldTimer),z.autoStartHoldTimer=null)},"autoStart:before-start":function($){var z=$.interaction;Is(z)>0&&(z.prepared.name=null)}},getHoldDuration:Is},Gs=Ms,ks={id:"auto-start",install:function($){$.usePlugin(xa),$.usePlugin(Gs),$.usePlugin(ka)}},ha=function($){return/^(always|never|auto)$/.test($)?(this.options.preventDefault=$,this):M.bool($)?(this.options.preventDefault=$?"always":"never",this):this.options.preventDefault};function Ys($){var z=$.interaction,ee=$.event;z.interactable&&z.interactable.checkAndPreventDefault(ee)}var Ea={id:"core/interactablePreventDefault",install:function($){var z=$.Interactable;z.prototype.preventDefault=ha,z.prototype.checkAndPreventDefault=function(ee){return(function(pe,Ce,Be){var at=pe.options.preventDefault;if(at!=="never")if(at!=="always"){if(Ce.events.supportsPassive&&/^touch(start|move)$/.test(Be.type)){var vt=D(Be.target).document,Bt=Ce.getDocOptions(vt);if(!Bt||!Bt.events||Bt.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(Be.type)||M.element(Be.target)&&de(Be.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||Be.preventDefault()}else Be.preventDefault()})(this,$,ee)},$.interactions.docEvents.push({type:"dragstart",listener:function(ee){for(var pe=0,Ce=$.interactions.list;pe<Ce.length;pe++){var Be=Ce[pe];if(Be.element&&(Be.element===ee.target||ve(Be.element,ee.target)))return void Be.interactable.checkAndPreventDefault(ee)}}})},listeners:["down","move","up","cancel"].reduce((function($,z){return $["interactions:".concat(z)]=Ys,$}),{})};function ia($,z){if(z.phaselessTypes[$])return!0;for(var ee in z.map)if($.indexOf(ee)===0&&$.substr(ee.length)in z.phases)return!0;return!1}function us($){var z={};for(var ee in $){var pe=$[ee];M.plainObject(pe)?z[ee]=us(pe):M.array(pe)?z[ee]=it(pe):z[ee]=pe}return z}var eo=(function(){function $(z){i(this,$),this.states=[],this.startOffset={left:0,right:0,top:0,bottom:0},this.startDelta=void 0,this.result=void 0,this.endResult=void 0,this.startEdges=void 0,this.edges=void 0,this.interaction=void 0,this.interaction=z,this.result=wa(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return u($,[{key:"start",value:function(z,ee){var pe,Ce,Be=z.phase,at=this.interaction,vt=(function(mr){var zt=mr.interactable.options[mr.prepared.name],jr=zt.modifiers;return jr&&jr.length?jr:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map((function(Rn){var Jn=zt[Rn];return Jn&&Jn.enabled&&{options:Jn,methods:Jn._methods}})).filter((function(Rn){return!!Rn}))})(at);this.prepareStates(vt),this.startEdges=jt({},at.edges),this.edges=jt({},this.startEdges),this.startOffset=(pe=at.rect,Ce=ee,pe?{left:Ce.x-pe.left,top:Ce.y-pe.top,right:pe.right-Ce.x,bottom:pe.bottom-Ce.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var Bt=this.fillArg({phase:Be,pageCoords:ee,preEnd:!1});return this.result=wa(),this.startAll(Bt),this.result=this.setAll(Bt)}},{key:"fillArg",value:function(z){var ee=this.interaction;return z.interaction=ee,z.interactable=ee.interactable,z.element=ee.element,z.rect||(z.rect=ee.rect),z.edges||(z.edges=this.startEdges),z.startOffset=this.startOffset,z}},{key:"startAll",value:function(z){for(var ee=0,pe=this.states;ee<pe.length;ee++){var Ce=pe[ee];Ce.methods.start&&(z.state=Ce,Ce.methods.start(z))}}},{key:"setAll",value:function(z){var ee=z.phase,pe=z.preEnd,Ce=z.skipModifiers,Be=z.rect,at=z.edges;z.coords=jt({},z.pageCoords),z.rect=jt({},Be),z.edges=jt({},at);for(var vt=Ce?this.states.slice(Ce):this.states,Bt=wa(z.coords,z.rect),mr=0;mr<vt.length;mr++){var zt,jr=vt[mr],Rn=jr.options,Jn=jt({},z.coords),Yn=null;(zt=jr.methods)!=null&&zt.set&&this.shouldDo(Rn,pe,ee)&&(z.state=jr,Yn=jr.methods.set(z),fn(z.edges,z.rect,{x:z.coords.x-Jn.x,y:z.coords.y-Jn.y})),Bt.eventProps.push(Yn)}jt(this.edges,z.edges),Bt.delta.x=z.coords.x-z.pageCoords.x,Bt.delta.y=z.coords.y-z.pageCoords.y,Bt.rectDelta.left=z.rect.left-Be.left,Bt.rectDelta.right=z.rect.right-Be.right,Bt.rectDelta.top=z.rect.top-Be.top,Bt.rectDelta.bottom=z.rect.bottom-Be.bottom;var gi=this.result.coords,Ni=this.result.rect;if(gi&&Ni){var Ii=Bt.rect.left!==Ni.left||Bt.rect.right!==Ni.right||Bt.rect.top!==Ni.top||Bt.rect.bottom!==Ni.bottom;Bt.changed=Ii||gi.x!==Bt.coords.x||gi.y!==Bt.coords.y}return Bt}},{key:"applyToInteraction",value:function(z){var ee=this.interaction,pe=z.phase,Ce=ee.coords.cur,Be=ee.coords.start,at=this.result,vt=this.startDelta,Bt=at.delta;pe==="start"&&jt(this.startDelta,at.delta);for(var mr=0,zt=[[Be,vt],[Ce,Bt]];mr<zt.length;mr++){var jr=zt[mr],Rn=jr[0],Jn=jr[1];Rn.page.x+=Jn.x,Rn.page.y+=Jn.y,Rn.client.x+=Jn.x,Rn.client.y+=Jn.y}var Yn=this.result.rectDelta,gi=z.rect||ee.rect;gi.left+=Yn.left,gi.right+=Yn.right,gi.top+=Yn.top,gi.bottom+=Yn.bottom,gi.width=gi.right-gi.left,gi.height=gi.bottom-gi.top}},{key:"setAndApply",value:function(z){var ee=this.interaction,pe=z.phase,Ce=z.preEnd,Be=z.skipModifiers,at=this.setAll(this.fillArg({preEnd:Ce,phase:pe,pageCoords:z.modifiedCoords||ee.coords.cur.page}));if(this.result=at,!at.changed&&(!Be||Be<this.states.length)&&ee.interacting())return!1;if(z.modifiedCoords){var vt=ee.coords.cur.page,Bt={x:z.modifiedCoords.x-vt.x,y:z.modifiedCoords.y-vt.y};at.coords.x+=Bt.x,at.coords.y+=Bt.y,at.delta.x+=Bt.x,at.delta.y+=Bt.y}this.applyToInteraction(z)}},{key:"beforeEnd",value:function(z){var ee=z.interaction,pe=z.event,Ce=this.states;if(Ce&&Ce.length){for(var Be=!1,at=0;at<Ce.length;at++){var vt=Ce[at];z.state=vt;var Bt=vt.options,mr=vt.methods,zt=mr.beforeEnd&&mr.beforeEnd(z);if(zt)return this.endResult=zt,!1;Be=Be||!Be&&this.shouldDo(Bt,!0,z.phase,!0)}Be&&ee.move({event:pe,preEnd:!0})}}},{key:"stop",value:function(z){var ee=z.interaction;if(this.states&&this.states.length){var pe=jt({states:this.states,interactable:ee.interactable,element:ee.element,rect:null},z);this.fillArg(pe);for(var Ce=0,Be=this.states;Ce<Be.length;Ce++){var at=Be[Ce];pe.state=at,at.methods.stop&&at.methods.stop(pe)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function(z){this.states=[];for(var ee=0;ee<z.length;ee++){var pe=z[ee],Ce=pe.options,Be=pe.methods,at=pe.name;this.states.push({options:Ce,methods:Be,index:ee,name:at})}return this.states}},{key:"restoreInteractionCoords",value:function(z){var ee=z.interaction,pe=ee.coords,Ce=ee.rect,Be=ee.modification;if(Be.result){for(var at=Be.startDelta,vt=Be.result,Bt=vt.delta,mr=vt.rectDelta,zt=0,jr=[[pe.start,at],[pe.cur,Bt]];zt<jr.length;zt++){var Rn=jr[zt],Jn=Rn[0],Yn=Rn[1];Jn.page.x-=Yn.x,Jn.page.y-=Yn.y,Jn.client.x-=Yn.x,Jn.client.y-=Yn.y}Ce.left-=mr.left,Ce.right-=mr.right,Ce.top-=mr.top,Ce.bottom-=mr.bottom}}},{key:"shouldDo",value:function(z,ee,pe,Ce){return!(!z||z.enabled===!1||Ce&&!z.endOnly||z.endOnly&&!ee||pe==="start"&&!z.setStart)}},{key:"copyFrom",value:function(z){this.startOffset=z.startOffset,this.startDelta=z.startDelta,this.startEdges=z.startEdges,this.edges=z.edges,this.states=z.states.map((function(ee){return us(ee)})),this.result=wa(jt({},z.result.coords),jt({},z.result.rect))}},{key:"destroy",value:function(){for(var z in this)this[z]=null}}]),$})();function wa($,z){return{rect:z,coords:$,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function da($,z){var ee=$.defaults,pe={start:$.start,set:$.set,beforeEnd:$.beforeEnd,stop:$.stop},Ce=function(Be){var at=Be||{};for(var vt in at.enabled=at.enabled!==!1,ee)vt in at||(at[vt]=ee[vt]);var Bt={options:at,methods:pe,name:z,enable:function(){return at.enabled=!0,Bt},disable:function(){return at.enabled=!1,Bt}};return Bt};return z&&typeof z=="string"&&(Ce._defaults=ee,Ce._methods=pe),Ce}function js($){var z=$.iEvent,ee=$.interaction.modification.result;ee&&(z.modifiers=ee.eventProps)}var ce={id:"modifiers/base",before:["actions"],install:function($){$.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function($){var z=$.interaction;z.modification=new eo(z)},"interactions:before-action-start":function($){var z=$.interaction,ee=$.interaction.modification;ee.start($,z.coords.start.page),z.edges=ee.edges,ee.applyToInteraction($)},"interactions:before-action-move":function($){var z=$.interaction,ee=z.modification,pe=ee.setAndApply($);return z.edges=ee.edges,pe},"interactions:before-action-end":function($){var z=$.interaction,ee=z.modification,pe=ee.beforeEnd($);return z.edges=ee.startEdges,pe},"interactions:action-start":js,"interactions:action-move":js,"interactions:action-end":js,"interactions:after-action-start":function($){return $.interaction.modification.restoreInteractionCoords($)},"interactions:after-action-move":function($){return $.interaction.modification.restoreInteractionCoords($)},"interactions:stop":function($){return $.interaction.modification.stop($)}}},ze=ce,Nt={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},Pr=(function($){m(ee,$);var z=b(ee);function ee(pe,Ce,Be,at,vt,Bt,mr){var zt;i(this,ee),(zt=z.call(this,pe)).relatedTarget=null,zt.screenX=void 0,zt.screenY=void 0,zt.button=void 0,zt.buttons=void 0,zt.ctrlKey=void 0,zt.shiftKey=void 0,zt.altKey=void 0,zt.metaKey=void 0,zt.page=void 0,zt.client=void 0,zt.delta=void 0,zt.rect=void 0,zt.x0=void 0,zt.y0=void 0,zt.t0=void 0,zt.dt=void 0,zt.duration=void 0,zt.clientX0=void 0,zt.clientY0=void 0,zt.velocity=void 0,zt.speed=void 0,zt.swipe=void 0,zt.axes=void 0,zt.preEnd=void 0,vt=vt||pe.element;var jr=pe.interactable,Rn=(jr&&jr.options||Nt).deltaSource,Jn=Kr(jr,vt,Be),Yn=at==="start",gi=at==="end",Ni=Yn?v(zt):pe.prevEvent,Ii=Yn?pe.coords.start:gi?{page:Ni.page,client:Ni.client,timeStamp:pe.coords.cur.timeStamp}:pe.coords.cur;return zt.page=jt({},Ii.page),zt.client=jt({},Ii.client),zt.rect=jt({},pe.rect),zt.timeStamp=Ii.timeStamp,gi||(zt.page.x-=Jn.x,zt.page.y-=Jn.y,zt.client.x-=Jn.x,zt.client.y-=Jn.y),zt.ctrlKey=Ce.ctrlKey,zt.altKey=Ce.altKey,zt.shiftKey=Ce.shiftKey,zt.metaKey=Ce.metaKey,zt.button=Ce.button,zt.buttons=Ce.buttons,zt.target=vt,zt.currentTarget=vt,zt.preEnd=Bt,zt.type=mr||Be+(at||""),zt.interactable=jr,zt.t0=Yn?pe.pointers[pe.pointers.length-1].downTime:Ni.t0,zt.x0=pe.coords.start.page.x-Jn.x,zt.y0=pe.coords.start.page.y-Jn.y,zt.clientX0=pe.coords.start.client.x-Jn.x,zt.clientY0=pe.coords.start.client.y-Jn.y,zt.delta=Yn||gi?{x:0,y:0}:{x:zt[Rn].x-Ni[Rn].x,y:zt[Rn].y-Ni[Rn].y},zt.dt=pe.coords.delta.timeStamp,zt.duration=zt.timeStamp-zt.t0,zt.velocity=jt({},pe.coords.velocity[Rn]),zt.speed=Et(zt.velocity.x,zt.velocity.y),zt.swipe=gi||at==="inertiastart"?zt.getSwipe():null,zt}return u(ee,[{key:"getSwipe",value:function(){var pe=this._interaction;if(pe.prevEvent.speed<600||this.timeStamp-pe.prevEvent.timeStamp>150)return null;var Ce=180*Math.atan2(pe.prevEvent.velocityY,pe.prevEvent.velocityX)/Math.PI;Ce<0&&(Ce+=360);var Be=112.5<=Ce&&Ce<247.5,at=202.5<=Ce&&Ce<337.5;return{up:at,down:!at&&22.5<=Ce&&Ce<157.5,left:Be,right:!Be&&(292.5<=Ce||Ce<67.5),angle:Ce,speed:pe.prevEvent.speed,velocity:{x:pe.prevEvent.velocityX,y:pe.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),ee})(ot);Object.defineProperties(Pr.prototype,{pageX:{get:function(){return this.page.x},set:function($){this.page.x=$}},pageY:{get:function(){return this.page.y},set:function($){this.page.y=$}},clientX:{get:function(){return this.client.x},set:function($){this.client.x=$}},clientY:{get:function(){return this.client.y},set:function($){this.client.y=$}},dx:{get:function(){return this.delta.x},set:function($){this.delta.x=$}},dy:{get:function(){return this.delta.y},set:function($){this.delta.y=$}},velocityX:{get:function(){return this.velocity.x},set:function($){this.velocity.x=$}},velocityY:{get:function(){return this.velocity.y},set:function($){this.velocity.y=$}}});var pn=u((function $(z,ee,pe,Ce,Be){i(this,$),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=z,this.pointer=ee,this.event=pe,this.downTime=Ce,this.downTarget=Be})),ci=(function($){return $.interactable="",$.element="",$.prepared="",$.pointerIsDown="",$.pointerWasMoved="",$._proxy="",$})({}),Wi=(function($){return $.start="",$.move="",$.end="",$.stop="",$.interacting="",$})({}),qi=0,Li=(function(){function $(z){var ee=this,pe=z.pointerType,Ce=z.scopeFire;i(this,$),this.interactable=null,this.element=null,this.rect=null,this._rects=void 0,this.edges=null,this._scopeFire=void 0,this.prepared={name:null,axis:null,edges:null},this.pointerType=void 0,this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=void 0,this.simulation=null,this.doMove=Vr((function(zt){this.move(zt)}),"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},prev:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},cur:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},delta:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},velocity:{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},this._id=qi++,this._scopeFire=Ce,this.pointerType=pe;var Be=this;this._proxy={};var at=function(zt){Object.defineProperty(ee._proxy,zt,{get:function(){return Be[zt]}})};for(var vt in ci)at(vt);var Bt=function(zt){Object.defineProperty(ee._proxy,zt,{value:function(){return Be[zt].apply(Be,arguments)}})};for(var mr in Wi)Bt(mr);this._scopeFire("interactions:new",{interaction:this})}return u($,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function(z,ee,pe){var Ce=this.updatePointer(z,ee,pe,!0),Be=this.pointers[Ce];this._scopeFire("interactions:down",{pointer:z,event:ee,eventTarget:pe,pointerIndex:Ce,pointerInfo:Be,type:"down",interaction:this})}},{key:"start",value:function(z,ee,pe){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(z.name==="gesture"?2:1)||!ee.options[z.name].enabled)&&(Or(this.prepared,z),this.interactable=ee,this.element=pe,this.rect=ee.getRect(pe),this.edges=this.prepared.edges?jt({},this.prepared.edges):{left:!0,right:!0,top:!0,bottom:!0},this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:"start"})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(z,ee,pe){this.simulation||this.modification&&this.modification.endResult||this.updatePointer(z,ee,pe,!1);var Ce,Be,at=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(Ce=this.coords.cur.client.x-this.coords.start.client.x,Be=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=Et(Ce,Be)>this.pointerMoveTolerance);var vt,Bt,mr,zt=this.getPointerIndex(z),jr={pointer:z,pointerIndex:zt,pointerInfo:this.pointers[zt],event:ee,type:"move",eventTarget:pe,dx:Ce,dy:Be,duplicate:at,interaction:this};at||(vt=this.coords.velocity,Bt=this.coords.delta,mr=Math.max(Bt.timeStamp/1e3,.001),vt.page.x=Bt.page.x/mr,vt.page.y=Bt.page.y/mr,vt.client.x=Bt.client.x/mr,vt.client.y=Bt.client.y/mr,vt.timeStamp=mr),this._scopeFire("interactions:move",jr),at||this.simulation||(this.interacting()&&(jr.type=null,this.move(jr)),this.pointerWasMoved&&Dr(this.coords.prev,this.coords.cur))}},{key:"move",value:function(z){z&&z.event||Tr(this.coords.delta),(z=jt({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},z||{})).phase="move",this._doPhase(z)}},{key:"pointerUp",value:function(z,ee,pe,Ce){var Be=this.getPointerIndex(z);Be===-1&&(Be=this.updatePointer(z,ee,pe,!1));var at=/cancel$/i.test(ee.type)?"cancel":"up";this._scopeFire("interactions:".concat(at),{pointer:z,pointerIndex:Be,pointerInfo:this.pointers[Be],event:ee,eventTarget:pe,type:at,curEventTarget:Ce,interaction:this}),this.simulation||this.end(ee),this.removePointer(z,ee)}},{key:"documentBlur",value:function(z){this.end(z),this._scopeFire("interactions:blur",{event:z,type:"blur",interaction:this})}},{key:"end",value:function(z){var ee;this._ending=!0,z=z||this._latestPointer.event,this.interacting()&&(ee=this._doPhase({event:z,interaction:this,phase:"end"})),this._ending=!1,ee===!0&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._scopeFire("interactions:stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(z){var ee=Lr(z);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:Mt(this.pointers,(function(pe){return pe.id===ee}))}},{key:"getPointerInfo",value:function(z){return this.pointers[this.getPointerIndex(z)]}},{key:"updatePointer",value:function(z,ee,pe,Ce){var Be,at,vt,Bt=Lr(z),mr=this.getPointerIndex(z),zt=this.pointers[mr];return Ce=Ce!==!1&&(Ce||/(down|start)$/i.test(ee.type)),zt?zt.pointer=z:(zt=new pn(Bt,z,ee,null,null),mr=this.pointers.length,this.pointers.push(zt)),un(this.coords.cur,this.pointers.map((function(jr){return jr.pointer})),this._now()),Be=this.coords.delta,at=this.coords.prev,vt=this.coords.cur,Be.page.x=vt.page.x-at.page.x,Be.page.y=vt.page.y-at.page.y,Be.client.x=vt.client.x-at.client.x,Be.client.y=vt.client.y-at.client.y,Be.timeStamp=vt.timeStamp-at.timeStamp,Ce&&(this.pointerIsDown=!0,zt.downTime=this.coords.cur.timeStamp,zt.downTarget=pe,Wr(this.downPointer,z),this.interacting()||(Dr(this.coords.start,this.coords.cur),Dr(this.coords.prev,this.coords.cur),this.downEvent=ee,this.pointerWasMoved=!1)),this._updateLatestPointer(z,ee,pe),this._scopeFire("interactions:update-pointer",{pointer:z,event:ee,eventTarget:pe,down:Ce,pointerInfo:zt,pointerIndex:mr,interaction:this}),mr}},{key:"removePointer",value:function(z,ee){var pe=this.getPointerIndex(z);if(pe!==-1){var Ce=this.pointers[pe];this._scopeFire("interactions:remove-pointer",{pointer:z,event:ee,eventTarget:null,pointerIndex:pe,pointerInfo:Ce,interaction:this}),this.pointers.splice(pe,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function(z,ee,pe){this._latestPointer.pointer=z,this._latestPointer.event=ee,this._latestPointer.eventTarget=pe}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(z,ee,pe,Ce){return new Pr(this,z,this.prepared.name,ee,this.element,pe,Ce)}},{key:"_fireEvent",value:function(z){var ee;(ee=this.interactable)==null||ee.fire(z),(!this.prevEvent||z.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=z)}},{key:"_doPhase",value:function(z){var ee=z.event,pe=z.phase,Ce=z.preEnd,Be=z.type,at=this.rect;if(at&&pe==="move"&&(fn(this.edges,at,this.coords.delta[this.interactable.options.deltaSource]),at.width=at.right-at.left,at.height=at.bottom-at.top),this._scopeFire("interactions:before-action-".concat(pe),z)===!1)return!1;var vt=z.iEvent=this._createPreparedEvent(ee,pe,Ce,Be);return this._scopeFire("interactions:action-".concat(pe),z),pe==="start"&&(this.prevEvent=vt),this._fireEvent(vt),this._scopeFire("interactions:after-action-".concat(pe),z),!0}},{key:"_now",value:function(){return Date.now()}}]),$})();function Mi($){_a($.interaction)}function _a($){if(!(function(ee){return!(!ee.offset.pending.x&&!ee.offset.pending.y)})($))return!1;var z=$.offset.pending;return za($.coords.cur,z),za($.coords.delta,z),fn($.edges,$.rect,z),z.x=0,z.y=0,!0}function io($){var z=$.x,ee=$.y;this.offset.pending.x+=z,this.offset.pending.y+=ee,this.offset.total.x+=z,this.offset.total.y+=ee}function za($,z){var ee=$.page,pe=$.client,Ce=z.x,Be=z.y;ee.x+=Ce,ee.y+=Be,pe.x+=Ce,pe.y+=Be}Wi.offsetBy="";var so={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function($){$.Interaction.prototype.offsetBy=io},listeners:{"interactions:new":function($){$.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function($){return(function(z){z.pointerIsDown&&(za(z.coords.cur,z.offset.total),z.offset.pending.x=0,z.offset.pending.y=0)})($.interaction)},"interactions:before-action-start":Mi,"interactions:before-action-move":Mi,"interactions:before-action-end":function($){var z=$.interaction;if(_a(z))return z.move({offset:!0}),z.end(),!1},"interactions:stop":function($){var z=$.interaction;z.offset.total.x=0,z.offset.total.y=0,z.offset.pending.x=0,z.offset.pending.y=0}}},ys=so,Cr=(function(){function $(z){i(this,$),this.active=!1,this.isModified=!1,this.smoothEnd=!1,this.allowResume=!1,this.modification=void 0,this.modifierCount=0,this.modifierArg=void 0,this.startCoords=void 0,this.t0=0,this.v0=0,this.te=0,this.targetOffset=void 0,this.modifiedOffset=void 0,this.currentOffset=void 0,this.lambda_v0=0,this.one_ve_v0=0,this.timeout=void 0,this.interaction=void 0,this.interaction=z}return u($,[{key:"start",value:function(z){var ee=this.interaction,pe=$a(ee);if(!pe||!pe.enabled)return!1;var Ce=ee.coords.velocity.client,Be=Et(Ce.x,Ce.y),at=this.modification||(this.modification=new eo(ee));if(at.copyFrom(ee.modification),this.t0=ee._now(),this.allowResume=pe.allowResume,this.v0=Be,this.currentOffset={x:0,y:0},this.startCoords=ee.coords.cur.page,this.modifierArg=at.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-ee.coords.cur.timeStamp<50&&Be>pe.minSpeed&&Be>pe.endSpeed)this.startInertia();else{if(at.result=at.setAll(this.modifierArg),!at.result.changed)return!1;this.startSmoothEnd()}return ee.modification.result.rect=null,ee.offsetBy(this.targetOffset),ee._doPhase({interaction:ee,event:z,phase:"inertiastart"}),ee.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),ee.modification.result.rect=null,this.active=!0,ee.simulation=this,!0}},{key:"startInertia",value:function(){var z=this,ee=this.interaction.coords.velocity.client,pe=$a(this.interaction),Ce=pe.resistance,Be=-Math.log(pe.endSpeed/this.v0)/Ce;this.targetOffset={x:(ee.x-Be)/Ce,y:(ee.y-Be)/Ce},this.te=Be,this.lambda_v0=Ce/this.v0,this.one_ve_v0=1-pe.endSpeed/this.v0;var at=this.modification,vt=this.modifierArg;vt.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},at.result=at.setAll(vt),at.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+at.result.delta.x,y:this.targetOffset.y+at.result.delta.y}),this.onNextFrame((function(){return z.inertiaTick()}))}},{key:"startSmoothEnd",value:function(){var z=this;this.smoothEnd=!0,this.isModified=!0,this.targetOffset={x:this.modification.result.delta.x,y:this.modification.result.delta.y},this.onNextFrame((function(){return z.smoothEndTick()}))}},{key:"onNextFrame",value:function(z){var ee=this;this.timeout=Kt.request((function(){ee.active&&z()}))}},{key:"inertiaTick",value:function(){var z,ee,pe,Ce,Be,at,vt,Bt=this,mr=this.interaction,zt=$a(mr).resistance,jr=(mr._now()-this.t0)/1e3;if(jr<this.te){var Rn,Jn=1-(Math.exp(-zt*jr)-this.lambda_v0)/this.one_ve_v0;this.isModified?(z=0,ee=0,pe=this.targetOffset.x,Ce=this.targetOffset.y,Be=this.modifiedOffset.x,at=this.modifiedOffset.y,Rn={x:va(vt=Jn,z,pe,Be),y:va(vt,ee,Ce,at)}):Rn={x:this.targetOffset.x*Jn,y:this.targetOffset.y*Jn};var Yn={x:Rn.x-this.currentOffset.x,y:Rn.y-this.currentOffset.y};this.currentOffset.x+=Yn.x,this.currentOffset.y+=Yn.y,mr.offsetBy(Yn),mr.move(),this.onNextFrame((function(){return Bt.inertiaTick()}))}else mr.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var z=this,ee=this.interaction,pe=ee._now()-this.t0,Ce=$a(ee).smoothEndDuration;if(pe<Ce){var Be={x:Da(pe,0,this.targetOffset.x,Ce),y:Da(pe,0,this.targetOffset.y,Ce)},at={x:Be.x-this.currentOffset.x,y:Be.y-this.currentOffset.y};this.currentOffset.x+=at.x,this.currentOffset.y+=at.y,ee.offsetBy(at),ee.move({skipModifiers:this.modifierCount}),this.onNextFrame((function(){return z.smoothEndTick()}))}else ee.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function(z){var ee=z.pointer,pe=z.event,Ce=z.eventTarget,Be=this.interaction;Be.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),Be.updatePointer(ee,pe,Ce,!0),Be._doPhase({interaction:Be,event:pe,phase:"resume"}),Dr(Be.coords.prev,Be.coords.cur),this.stop()}},{key:"end",value:function(){this.interaction.move(),this.interaction.end(),this.stop()}},{key:"stop",value:function(){this.active=this.smoothEnd=!1,this.interaction.simulation=null,Kt.cancel(this.timeout)}}]),$})();function $a($){var z=$.interactable,ee=$.prepared;return z&&z.options&&ee.name&&z.options[ee.name].inertia}var ln={id:"inertia",before:["modifiers","actions"],install:function($){var z=$.defaults;$.usePlugin(ys),$.usePlugin(ze),$.actions.phases.inertiastart=!0,$.actions.phases.resume=!0,z.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function($){var z=$.interaction;z.inertia=new Cr(z)},"interactions:before-action-end":function($){var z=$.interaction,ee=$.event;return(!z._interacting||z.simulation||!z.inertia.start(ee))&&null},"interactions:down":function($){var z=$.interaction,ee=$.eventTarget,pe=z.inertia;if(pe.active)for(var Ce=ee;M.element(Ce);){if(Ce===z.element){pe.resume($);break}Ce=We(Ce)}},"interactions:stop":function($){var z=$.interaction.inertia;z.active&&z.stop()},"interactions:before-action-resume":function($){var z=$.interaction.modification;z.stop($),z.start($,$.interaction.coords.cur.page),z.applyToInteraction($)},"interactions:before-action-inertiastart":function($){return $.interaction.modification.setAndApply($)},"interactions:action-resume":js,"interactions:action-inertiastart":js,"interactions:after-action-inertiastart":function($){return $.interaction.modification.restoreInteractionCoords($)},"interactions:after-action-resume":function($){return $.interaction.modification.restoreInteractionCoords($)}}};function va($,z,ee,pe){var Ce=1-$;return Ce*Ce*z+2*Ce*$*ee+$*$*pe}function Da($,z,ee,pe){return-ee*($/=pe)*($-2)+z}var zs=ln;function Ks($,z){for(var ee=0;ee<z.length;ee++){var pe=z[ee];if($.immediatePropagationStopped)break;pe($)}}var Aa=(function(){function $(z){i(this,$),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=jt({},z||{})}return u($,[{key:"fire",value:function(z){var ee,pe=this.global;(ee=this.types[z.type])&&Ks(z,ee),!z.propagationStopped&&pe&&(ee=pe[z.type])&&Ks(z,ee)}},{key:"on",value:function(z,ee){var pe=Sn(z,ee);for(z in pe)this.types[z]=Yt(this.types[z]||[],pe[z])}},{key:"off",value:function(z,ee){var pe=Sn(z,ee);for(z in pe){var Ce=this.types[z];if(Ce&&Ce.length)for(var Be=0,at=pe[z];Be<at.length;Be++){var vt=at[Be],Bt=Ce.indexOf(vt);Bt!==-1&&Ce.splice(Bt,1)}}}},{key:"getRect",value:function(z){return null}}]),$})(),pa=(function(){function $(z){i(this,$),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=z,Wr(this,z)}return u($,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),$})();function Pt($){return M.object($)?{capture:!!$.capture,passive:!!$.passive}:{capture:!!$,passive:!1}}function $t($,z){return $===z||(typeof $=="boolean"?!!z.capture===$&&!z.passive:!!$.capture==!!z.capture&&!!$.passive==!!z.passive)}var xr={id:"events",install:function($){var z,ee=[],pe={},Ce=[],Be={add:at,remove:vt,addDelegate:function(zt,jr,Rn,Jn,Yn){var gi=Pt(Yn);if(!pe[Rn]){pe[Rn]=[];for(var Ni=0;Ni<Ce.length;Ni++){var Ii=Ce[Ni];at(Ii,Rn,Bt),at(Ii,Rn,mr,!0)}}var es=pe[Rn],ur=an(es,(function(on){return on.selector===zt&&on.context===jr}));ur||(ur={selector:zt,context:jr,listeners:[]},es.push(ur)),ur.listeners.push({func:Jn,options:gi})},removeDelegate:function(zt,jr,Rn,Jn,Yn){var gi,Ni=Pt(Yn),Ii=pe[Rn],es=!1;if(Ii)for(gi=Ii.length-1;gi>=0;gi--){var ur=Ii[gi];if(ur.selector===zt&&ur.context===jr){for(var on=ur.listeners,kr=on.length-1;kr>=0;kr--){var jn=on[kr];if(jn.func===Jn&&$t(jn.options,Ni)){on.splice(kr,1),on.length||(Ii.splice(gi,1),vt(jr,Rn,Bt),vt(jr,Rn,mr,!0)),es=!0;break}}if(es)break}}},delegateListener:Bt,delegateUseCapture:mr,delegatedEvents:pe,documents:Ce,targets:ee,supportsOptions:!1,supportsPassive:!1};function at(zt,jr,Rn,Jn){if(zt.addEventListener){var Yn=Pt(Jn),gi=an(ee,(function(Ni){return Ni.eventTarget===zt}));gi||(gi={eventTarget:zt,events:{}},ee.push(gi)),gi.events[jr]||(gi.events[jr]=[]),an(gi.events[jr],(function(Ni){return Ni.func===Rn&&$t(Ni.options,Yn)}))||(zt.addEventListener(jr,Rn,Be.supportsOptions?Yn:Yn.capture),gi.events[jr].push({func:Rn,options:Yn}))}}function vt(zt,jr,Rn,Jn){if(zt.addEventListener&&zt.removeEventListener){var Yn=Mt(ee,(function(ts){return ts.eventTarget===zt})),gi=ee[Yn];if(gi&&gi.events)if(jr!=="all"){var Ni=!1,Ii=gi.events[jr];if(Ii){if(Rn==="all"){for(var es=Ii.length-1;es>=0;es--){var ur=Ii[es];vt(zt,jr,ur.func,ur.options)}return}for(var on=Pt(Jn),kr=0;kr<Ii.length;kr++){var jn=Ii[kr];if(jn.func===Rn&&$t(jn.options,on)){zt.removeEventListener(jr,Rn,Be.supportsOptions?on:on.capture),Ii.splice(kr,1),Ii.length===0&&(delete gi.events[jr],Ni=!0);break}}}Ni&&!Object.keys(gi.events).length&&ee.splice(Yn,1)}else for(jr in gi.events)gi.events.hasOwnProperty(jr)&&vt(zt,jr,"all")}}function Bt(zt,jr){for(var Rn=Pt(jr),Jn=new pa(zt),Yn=pe[zt.type],gi=Y(zt)[0],Ni=gi;M.element(Ni);){for(var Ii=0;Ii<Yn.length;Ii++){var es=Yn[Ii],ur=es.selector,on=es.context;if(de(Ni,ur)&&ve(on,gi)&&ve(on,Ni)){var kr=es.listeners;Jn.currentTarget=Ni;for(var jn=0;jn<kr.length;jn++){var ts=kr[jn];$t(ts.options,Rn)&&ts.func(Jn)}}}Ni=We(Ni)}}function mr(zt){return Bt(zt,!0)}return(z=$.document)==null||z.createElement("div").addEventListener("test",null,{get capture(){return Be.supportsOptions=!0},get passive(){return Be.supportsPassive=!0}}),$.events=Be,Be}},$r={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function($){for(var z=0,ee=$r.methodOrder;z<ee.length;z++){var pe=ee[z],Ce=$r[pe]($);if(Ce)return Ce}return null},simulationResume:function($){var z=$.pointerType,ee=$.eventType,pe=$.eventTarget,Ce=$.scope;if(!/down|start/i.test(ee))return null;for(var Be=0,at=Ce.interactions.list;Be<at.length;Be++){var vt=at[Be],Bt=pe;if(vt.simulation&&vt.simulation.allowResume&&vt.pointerType===z)for(;Bt;){if(Bt===vt.element)return vt;Bt=We(Bt)}}return null},mouseOrPen:function($){var z,ee=$.pointerId,pe=$.pointerType,Ce=$.eventType,Be=$.scope;if(pe!=="mouse"&&pe!=="pen")return null;for(var at=0,vt=Be.interactions.list;at<vt.length;at++){var Bt=vt[at];if(Bt.pointerType===pe){if(Bt.simulation&&!bn(Bt,ee))continue;if(Bt.interacting())return Bt;z||(z=Bt)}}if(z)return z;for(var mr=0,zt=Be.interactions.list;mr<zt.length;mr++){var jr=zt[mr];if(!(jr.pointerType!==pe||/down/i.test(Ce)&&jr.simulation))return jr}return null},hasPointer:function($){for(var z=$.pointerId,ee=0,pe=$.scope.interactions.list;ee<pe.length;ee++){var Ce=pe[ee];if(bn(Ce,z))return Ce}return null},idle:function($){for(var z=$.pointerType,ee=0,pe=$.scope.interactions.list;ee<pe.length;ee++){var Ce=pe[ee];if(Ce.pointers.length===1){var Be=Ce.interactable;if(Be&&(!Be.options.gesture||!Be.options.gesture.enabled))continue}else if(Ce.pointers.length>=2)continue;if(!Ce.interacting()&&z===Ce.pointerType)return Ce}return null}};function bn($,z){return $.pointers.some((function(ee){return ee.id===z}))}var Yr=$r,ge=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function je($,z){return function(ee){var pe=z.interactions.list,Ce=dr(ee),Be=Y(ee),at=Be[0],vt=Be[1],Bt=[];if(/^touch/.test(ee.type)){z.prevTouchTime=z.now();for(var mr=0,zt=ee.changedTouches;mr<zt.length;mr++){var jr=zt[mr],Rn={pointer:jr,pointerId:Lr(jr),pointerType:Ce,eventType:ee.type,eventTarget:at,curEventTarget:vt,scope:z},Jn=bt(Rn);Bt.push([Rn.pointer,Rn.eventTarget,Rn.curEventTarget,Jn])}}else{var Yn=!1;if(!ye.supportsPointerEvent&&/mouse/.test(ee.type)){for(var gi=0;gi<pe.length&&!Yn;gi++)Yn=pe[gi].pointerType!=="mouse"&&pe[gi].pointerIsDown;Yn=Yn||z.now()-z.prevTouchTime<500||ee.timeStamp===0}if(!Yn){var Ni={pointer:ee,pointerId:Lr(ee),pointerType:Ce,eventType:ee.type,curEventTarget:vt,eventTarget:at,scope:z},Ii=bt(Ni);Bt.push([Ni.pointer,Ni.eventTarget,Ni.curEventTarget,Ii])}}for(var es=0;es<Bt.length;es++){var ur=Bt[es],on=ur[0],kr=ur[1],jn=ur[2];ur[3][$](on,ee,kr,jn)}}}function bt($){var z=$.pointerType,ee=$.scope,pe={interaction:Yr.search($),searchDetails:$};return ee.fire("interactions:find",pe),pe.interaction||ee.interactions.new({pointerType:z})}function yt($,z){var ee=$.doc,pe=$.scope,Ce=$.options,Be=pe.interactions.docEvents,at=pe.events,vt=at[z];for(var Bt in pe.browser.isIOS&&!Ce.events&&(Ce.events={passive:!1}),at.delegatedEvents)vt(ee,Bt,at.delegateListener),vt(ee,Bt,at.delegateUseCapture,!0);for(var mr=Ce&&Ce.events,zt=0;zt<Be.length;zt++){var jr=Be[zt];vt(ee,jr.type,jr.listener,mr)}}var sr={id:"core/interactions",install:function($){for(var z={},ee=0;ee<ge.length;ee++){var pe=ge[ee];z[pe]=je(pe,$)}var Ce,Be=ye.pEventTypes;function at(){for(var vt=0,Bt=$.interactions.list;vt<Bt.length;vt++){var mr=Bt[vt];if(mr.pointerIsDown&&mr.pointerType==="touch"&&!mr._interacting)for(var zt=function(){var Jn=Rn[jr];$.documents.some((function(Yn){return ve(Yn.doc,Jn.downTarget)}))||mr.removePointer(Jn.pointer,Jn.event)},jr=0,Rn=mr.pointers;jr<Rn.length;jr++)zt()}}(Ce=fe.PointerEvent?[{type:Be.down,listener:at},{type:Be.down,listener:z.pointerDown},{type:Be.move,listener:z.pointerMove},{type:Be.up,listener:z.pointerUp},{type:Be.cancel,listener:z.pointerUp}]:[{type:"mousedown",listener:z.pointerDown},{type:"mousemove",listener:z.pointerMove},{type:"mouseup",listener:z.pointerUp},{type:"touchstart",listener:at},{type:"touchstart",listener:z.pointerDown},{type:"touchmove",listener:z.pointerMove},{type:"touchend",listener:z.pointerUp},{type:"touchcancel",listener:z.pointerUp}]).push({type:"blur",listener:function(vt){for(var Bt=0,mr=$.interactions.list;Bt<mr.length;Bt++)mr[Bt].documentBlur(vt)}}),$.prevTouchTime=0,$.Interaction=(function(vt){m(mr,vt);var Bt=b(mr);function mr(){return i(this,mr),Bt.apply(this,arguments)}return u(mr,[{key:"pointerMoveTolerance",get:function(){return $.interactions.pointerMoveTolerance},set:function(zt){$.interactions.pointerMoveTolerance=zt}},{key:"_now",value:function(){return $.now()}}]),mr})(Li),$.interactions={list:[],new:function(vt){vt.scopeFire=function(mr,zt){return $.fire(mr,zt)};var Bt=new $.Interaction(vt);return $.interactions.list.push(Bt),Bt},listeners:z,docEvents:Ce,pointerMoveTolerance:1},$.usePlugin(Ea)},listeners:{"scope:add-document":function($){return yt($,"add")},"scope:remove-document":function($){return yt($,"remove")},"interactable:unset":function($,z){for(var ee=$.interactable,pe=z.interactions.list.length-1;pe>=0;pe--){var Ce=z.interactions.list[pe];Ce.interactable===ee&&(Ce.stop(),z.fire("interactions:destroy",{interaction:Ce}),Ce.destroy(),z.interactions.list.length>2&&z.interactions.list.splice(pe,1))}}},onDocSignal:yt,doOnInteractions:je,methodNames:ge},pr=sr,hr=(function($){return $[$.On=0]="On",$[$.Off=1]="Off",$})(hr||{}),Xn=(function(){function $(z,ee,pe,Ce){i(this,$),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new Aa,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=ee.actions,this.target=z,this._context=ee.context||pe,this._win=D(Xt(z)?this._context:z),this._doc=this._win.document,this._scopeEvents=Ce,this.set(ee)}return u($,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function(z,ee){return M.func(ee.onstart)&&this.on("".concat(z,"start"),ee.onstart),M.func(ee.onmove)&&this.on("".concat(z,"move"),ee.onmove),M.func(ee.onend)&&this.on("".concat(z,"end"),ee.onend),M.func(ee.oninertiastart)&&this.on("".concat(z,"inertiastart"),ee.oninertiastart),this}},{key:"updatePerActionListeners",value:function(z,ee,pe){var Ce,Be=this,at=(Ce=this._actions.map[z])==null?void 0:Ce.filterEventType,vt=function(Bt){return(at==null||at(Bt))&&ia(Bt,Be._actions)};(M.array(ee)||M.object(ee))&&this._onOff(hr.Off,z,ee,void 0,vt),(M.array(pe)||M.object(pe))&&this._onOff(hr.On,z,pe,void 0,vt)}},{key:"setPerAction",value:function(z,ee){var pe=this._defaults;for(var Ce in ee){var Be=Ce,at=this.options[z],vt=ee[Be];Be==="listeners"&&this.updatePerActionListeners(z,at.listeners,vt),M.array(vt)?at[Be]=it(vt):M.plainObject(vt)?(at[Be]=jt(at[Be]||{},us(vt)),M.object(pe.perAction[Be])&&"enabled"in pe.perAction[Be]&&(at[Be].enabled=vt.enabled!==!1)):M.bool(vt)&&M.object(pe.perAction[Be])?at[Be].enabled=vt:at[Be]=vt}}},{key:"getRect",value:function(z){return z=z||(M.element(this.target)?this.target:null),M.string(this.target)&&(z=z||this._context.querySelector(this.target)),rt(z)}},{key:"rectChecker",value:function(z){var ee=this;return M.func(z)?(this.getRect=function(pe){var Ce=jt({},z.apply(ee,pe));return"width"in Ce||(Ce.width=Ce.right-Ce.left,Ce.height=Ce.bottom-Ce.top),Ce},this):z===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(z,ee){if(Xt(ee)||M.object(ee)){for(var pe in this.options[z]=ee,this._actions.map)this.options[pe][z]=ee;return this}return this.options[z]}},{key:"origin",value:function(z){return this._backCompatOption("origin",z)}},{key:"deltaSource",value:function(z){return z==="page"||z==="client"?(this.options.deltaSource=z,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var z=this.target;return M.string(z)?Array.from(this._context.querySelectorAll(z)):M.func(z)&&z.getAllElements?z.getAllElements():M.element(z)?[z]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(z){return this._context===z.ownerDocument||ve(this._context,z)}},{key:"testIgnoreAllow",value:function(z,ee,pe){return!this.testIgnore(z.ignoreFrom,ee,pe)&&this.testAllow(z.allowFrom,ee,pe)}},{key:"testAllow",value:function(z,ee,pe){return!z||!!M.element(pe)&&(M.string(z)?Xe(pe,z,ee):!!M.element(z)&&ve(z,pe))}},{key:"testIgnore",value:function(z,ee,pe){return!(!z||!M.element(pe))&&(M.string(z)?Xe(pe,z,ee):!!M.element(z)&&ve(z,pe))}},{key:"fire",value:function(z){return this.events.fire(z),this}},{key:"_onOff",value:function(z,ee,pe,Ce,Be){M.object(ee)&&!M.array(ee)&&(Ce=pe,pe=null);var at=Sn(ee,pe,Be);for(var vt in at){vt==="wheel"&&(vt=ye.wheelEvent);for(var Bt=0,mr=at[vt];Bt<mr.length;Bt++){var zt=mr[Bt];ia(vt,this._actions)?this.events[z===hr.On?"on":"off"](vt,zt):M.string(this.target)?this._scopeEvents[z===hr.On?"addDelegate":"removeDelegate"](this.target,this._context,vt,zt,Ce):this._scopeEvents[z===hr.On?"add":"remove"](this.target,vt,zt,Ce)}}return this}},{key:"on",value:function(z,ee,pe){return this._onOff(hr.On,z,ee,pe)}},{key:"off",value:function(z,ee,pe){return this._onOff(hr.Off,z,ee,pe)}},{key:"set",value:function(z){var ee=this._defaults;for(var pe in M.object(z)||(z={}),this.options=us(ee.base),this._actions.methodDict){var Ce=pe,Be=this._actions.methodDict[Ce];this.options[Ce]={},this.setPerAction(Ce,jt(jt({},ee.perAction),ee.actions[Ce])),this[Be](z[Ce])}for(var at in z)at!=="getRect"?M.func(this[at])&&this[at](z[at]):this.rectChecker(z.getRect);return this}},{key:"unset",value:function(){if(M.string(this.target))for(var z in this._scopeEvents.delegatedEvents)for(var ee=this._scopeEvents.delegatedEvents[z],pe=ee.length-1;pe>=0;pe--){var Ce=ee[pe],Be=Ce.selector,at=Ce.context,vt=Ce.listeners;Be===this.target&&at===this._context&&ee.splice(pe,1);for(var Bt=vt.length-1;Bt>=0;Bt--)this._scopeEvents.removeDelegate(this.target,this._context,z,vt[Bt][0],vt[Bt][1])}else this._scopeEvents.remove(this.target,"all")}}]),$})(),Un=(function(){function $(z){var ee=this;i(this,$),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=z,z.addListeners({"interactable:unset":function(pe){var Ce=pe.interactable,Be=Ce.target,at=M.string(Be)?ee.selectorMap[Be]:Be[ee.scope.id],vt=Mt(at,(function(Bt){return Bt===Ce}));at.splice(vt,1)}})}return u($,[{key:"new",value:function(z,ee){ee=jt(ee||{},{actions:this.scope.actions});var pe=new this.scope.Interactable(z,ee,this.scope.document,this.scope.events);return this.scope.addDocument(pe._doc),this.list.push(pe),M.string(z)?(this.selectorMap[z]||(this.selectorMap[z]=[]),this.selectorMap[z].push(pe)):(pe.target[this.scope.id]||Object.defineProperty(z,this.scope.id,{value:[],configurable:!0}),z[this.scope.id].push(pe)),this.scope.fire("interactable:new",{target:z,options:ee,interactable:pe,win:this.scope._win}),pe}},{key:"getExisting",value:function(z,ee){var pe=ee&&ee.context||this.scope.document,Ce=M.string(z),Be=Ce?this.selectorMap[z]:z[this.scope.id];if(Be)return an(Be,(function(at){return at._context===pe&&(Ce||at.inContext(z))}))}},{key:"forEachMatch",value:function(z,ee){for(var pe=0,Ce=this.list;pe<Ce.length;pe++){var Be=Ce[pe],at=void 0;if((M.string(Be.target)?M.element(z)&&de(z,Be.target):z===Be.target)&&Be.inContext(z)&&(at=ee(Be)),at!==void 0)return at}}}]),$})(),Fi=(function(){function $(){var z=this;i(this,$),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=ye,this.defaults=us(Nt),this.Eventable=Aa,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=(function(pe){var Ce=function Be(at,vt){var Bt=pe.interactables.getExisting(at,vt);return Bt||((Bt=pe.interactables.new(at,vt)).events.global=Be.globalEvents),Bt};return Ce.getPointerAverage=rr,Ce.getTouchBBox=Gr,Ce.getTouchDistance=er,Ce.getTouchAngle=At,Ce.getElementRect=rt,Ce.getElementClientRect=Ze,Ce.matchesSelector=de,Ce.closest=Ue,Ce.globalEvents={},Ce.version="1.10.27",Ce.scope=pe,Ce.use=function(Be,at){return this.scope.usePlugin(Be,at),this},Ce.isSet=function(Be,at){return!!this.scope.interactables.get(Be,at&&at.context)},Ce.on=Vr((function(Be,at,vt){if(M.string(Be)&&Be.search(" ")!==-1&&(Be=Be.trim().split(/ +/)),M.array(Be)){for(var Bt=0,mr=Be;Bt<mr.length;Bt++){var zt=mr[Bt];this.on(zt,at,vt)}return this}if(M.object(Be)){for(var jr in Be)this.on(jr,Be[jr],at);return this}return ia(Be,this.scope.actions)?this.globalEvents[Be]?this.globalEvents[Be].push(at):this.globalEvents[Be]=[at]:this.scope.events.add(this.scope.document,Be,at,{options:vt}),this}),"The interact.on() method is being deprecated"),Ce.off=Vr((function(Be,at,vt){if(M.string(Be)&&Be.search(" ")!==-1&&(Be=Be.trim().split(/ +/)),M.array(Be)){for(var Bt=0,mr=Be;Bt<mr.length;Bt++){var zt=mr[Bt];this.off(zt,at,vt)}return this}if(M.object(Be)){for(var jr in Be)this.off(jr,Be[jr],at);return this}var Rn;return ia(Be,this.scope.actions)?Be in this.globalEvents&&(Rn=this.globalEvents[Be].indexOf(at))!==-1&&this.globalEvents[Be].splice(Rn,1):this.scope.events.remove(this.scope.document,Be,at,vt),this}),"The interact.off() method is being deprecated"),Ce.debug=function(){return this.scope},Ce.supportsTouch=function(){return ye.supportsTouch},Ce.supportsPointerEvent=function(){return ye.supportsPointerEvent},Ce.stop=function(){for(var Be=0,at=this.scope.interactions.list;Be<at.length;Be++)at[Be].stop();return this},Ce.pointerMoveTolerance=function(Be){return M.number(Be)?(this.scope.interactions.pointerMoveTolerance=Be,this):this.scope.interactions.pointerMoveTolerance},Ce.addDocument=function(Be,at){this.scope.addDocument(Be,at)},Ce.removeDocument=function(Be){this.scope.removeDocument(Be)},Ce})(this),this.InteractEvent=Pr,this.Interactable=void 0,this.interactables=new Un(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(pe){return z.removeDocument(pe.target)};var ee=this;this.Interactable=(function(pe){m(Be,pe);var Ce=b(Be);function Be(){return i(this,Be),Ce.apply(this,arguments)}return u(Be,[{key:"_defaults",get:function(){return ee.defaults}},{key:"set",value:function(at){return T(g(Be.prototype),"set",this).call(this,at),ee.fire("interactable:set",{options:at,interactable:this}),this}},{key:"unset",value:function(){T(g(Be.prototype),"unset",this).call(this);var at=ee.interactables.list.indexOf(this);at<0||(ee.interactables.list.splice(at,1),ee.fire("interactable:unset",{interactable:this}))}}]),Be})(Xn)}return u($,[{key:"addListeners",value:function(z,ee){this.listenerMaps.push({id:ee,map:z})}},{key:"fire",value:function(z,ee){for(var pe=0,Ce=this.listenerMaps;pe<Ce.length;pe++){var Be=Ce[pe].map[z];if(Be&&Be(ee,this,z)===!1)return!1}}},{key:"init",value:function(z){return this.isInitialized?this:(function(ee,pe){return ee.isInitialized=!0,M.window(pe)&&U(pe),fe.init(pe),ye.init(pe),Kt.init(pe),ee.window=pe,ee.document=pe.document,ee.usePlugin(pr),ee.usePlugin(xr),ee})(this,z)}},{key:"pluginIsInstalled",value:function(z){var ee=z.id;return ee?!!this._plugins.map[ee]:this._plugins.list.indexOf(z)!==-1}},{key:"usePlugin",value:function(z,ee){if(!this.isInitialized)return this;if(this.pluginIsInstalled(z))return this;if(z.id&&(this._plugins.map[z.id]=z),this._plugins.list.push(z),z.install&&z.install(this,ee),z.listeners&&z.before){for(var pe=0,Ce=this.listenerMaps.length,Be=z.before.reduce((function(vt,Bt){return vt[Bt]=!0,vt[ti(Bt)]=!0,vt}),{});pe<Ce;pe++){var at=this.listenerMaps[pe].id;if(at&&(Be[at]||Be[ti(at)]))break}this.listenerMaps.splice(pe,0,{id:z.id,map:z.listeners})}else z.listeners&&this.listenerMaps.push({id:z.id,map:z.listeners});return this}},{key:"addDocument",value:function(z,ee){if(this.getDocIndex(z)!==-1)return!1;var pe=D(z);ee=ee?jt({},ee):{},this.documents.push({doc:z,options:ee}),this.events.documents.push(z),z!==this.document&&this.events.add(pe,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:z,window:pe,scope:this,options:ee})}},{key:"removeDocument",value:function(z){var ee=this.getDocIndex(z),pe=D(z),Ce=this.documents[ee].options;this.events.remove(pe,"unload",this.onWindowUnload),this.documents.splice(ee,1),this.events.documents.splice(ee,1),this.fire("scope:remove-document",{doc:z,window:pe,scope:this,options:Ce})}},{key:"getDocIndex",value:function(z){for(var ee=0;ee<this.documents.length;ee++)if(this.documents[ee].doc===z)return ee;return-1}},{key:"getDocOptions",value:function(z){var ee=this.getDocIndex(z);return ee===-1?null:this.documents[ee].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),$})();function ti($){return $&&$.replace(/\/.*$/,"")}var Ai=new Fi,qn=Ai.interactStatic,$e=typeof globalThis<"u"?globalThis:window;Ai.init($e);var Je=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function($){var z=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter((function(pe){var Ce=pe[0],Be=pe[1];return Ce in $||Be in $})),ee=function(pe,Ce){for(var Be=$.range,at=$.limits,vt=at===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:at,Bt=$.offset,mr=Bt===void 0?{x:0,y:0}:Bt,zt={range:Be,grid:$,x:null,y:null},jr=0;jr<z.length;jr++){var Rn=z[jr],Jn=Rn[0],Yn=Rn[1],gi=Math.round((pe-mr.x)/$[Jn]),Ni=Math.round((Ce-mr.y)/$[Yn]);zt[Jn]=Math.max(vt.left,Math.min(vt.right,gi*$[Jn]+mr.x)),zt[Yn]=Math.max(vt.top,Math.min(vt.bottom,Ni*$[Yn]+mr.y))}return zt};return ee.grid=$,ee.coordFields=z,ee}}),Ct={id:"snappers",install:function($){var z=$.interactStatic;z.snappers=jt(z.snappers||{},Je),z.createSnapGrid=z.snappers.grid}},Ot=Ct,Wt={start:function($){var z=$.state,ee=$.rect,pe=$.edges,Ce=$.pageCoords,Be=z.options,at=Be.ratio,vt=Be.enabled,Bt=z.options,mr=Bt.equalDelta,zt=Bt.modifiers;at==="preserve"&&(at=ee.width/ee.height),z.startCoords=jt({},Ce),z.startRect=jt({},ee),z.ratio=at,z.equalDelta=mr;var jr=z.linkedEdges={top:pe.top||pe.left&&!pe.bottom,left:pe.left||pe.top&&!pe.right,bottom:pe.bottom||pe.right&&!pe.top,right:pe.right||pe.bottom&&!pe.left};if(z.xIsPrimaryAxis=!(!pe.left&&!pe.right),z.equalDelta){var Rn=(jr.left?1:-1)*(jr.top?1:-1);z.edgeSign={x:Rn,y:Rn}}else z.edgeSign={x:jr.left?-1:1,y:jr.top?-1:1};if(vt!==!1&&jt(pe,jr),zt!=null&&zt.length){var Jn=new eo($.interaction);Jn.copyFrom($.interaction.modification),Jn.prepareStates(zt),z.subModification=Jn,Jn.startAll(r({},$))}},set:function($){var z=$.state,ee=$.rect,pe=$.coords,Ce=z.linkedEdges,Be=jt({},pe),at=z.equalDelta?Er:Hr;if(jt($.edges,Ce),at(z,z.xIsPrimaryAxis,pe,ee),!z.subModification)return null;var vt=jt({},ee);fn(Ce,vt,{x:pe.x-Be.x,y:pe.y-Be.y});var Bt=z.subModification.setAll(r(r({},$),{},{rect:vt,edges:Ce,pageCoords:pe,prevCoords:pe,prevRect:vt})),mr=Bt.delta;return Bt.changed&&(at(z,Math.abs(mr.x)>Math.abs(mr.y),Bt.coords,Bt.rect),jt(pe,Bt.coords)),Bt.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Er($,z,ee){var pe=$.startCoords,Ce=$.edgeSign;z?ee.y=pe.y+(ee.x-pe.x)*Ce.y:ee.x=pe.x+(ee.y-pe.y)*Ce.x}function Hr($,z,ee,pe){var Ce=$.startRect,Be=$.startCoords,at=$.ratio,vt=$.edgeSign;if(z){var Bt=pe.width/at;ee.y=Be.y+(Bt-Ce.height)*vt.y}else{var mr=pe.height*at;ee.x=Be.x+(mr-Ce.width)*vt.x}}var mn=da(Wt,"aspectRatio"),di=function(){};di._defaults={};var si=di;function Pe($,z,ee){return M.func($)?Ht($,z.interactable,z.element,[ee.x,ee.y,z]):Ht($,z.interactable,z.element)}var He={start:function($){var z=$.rect,ee=$.startOffset,pe=$.state,Ce=$.interaction,Be=$.pageCoords,at=pe.options,vt=at.elementRect,Bt=jt({left:0,top:0,right:0,bottom:0},at.offset||{});if(z&&vt){var mr=Pe(at.restriction,Ce,Be);if(mr){var zt=mr.right-mr.left-z.width,jr=mr.bottom-mr.top-z.height;zt<0&&(Bt.left+=zt,Bt.right+=zt),jr<0&&(Bt.top+=jr,Bt.bottom+=jr)}Bt.left+=ee.left-z.width*vt.left,Bt.top+=ee.top-z.height*vt.top,Bt.right+=ee.right-z.width*(1-vt.right),Bt.bottom+=ee.bottom-z.height*(1-vt.bottom)}pe.offset=Bt},set:function($){var z=$.coords,ee=$.interaction,pe=$.state,Ce=pe.options,Be=pe.offset,at=Pe(Ce.restriction,ee,z);if(at){var vt=(function(Bt){return!Bt||"left"in Bt&&"top"in Bt||((Bt=jt({},Bt)).left=Bt.x||0,Bt.top=Bt.y||0,Bt.right=Bt.right||Bt.left+Bt.width,Bt.bottom=Bt.bottom||Bt.top+Bt.height),Bt})(at);z.x=Math.max(Math.min(vt.right-Be.right,z.x),vt.left+Be.left),z.y=Math.max(Math.min(vt.bottom-Be.bottom,z.y),vt.top+Be.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},ft=da(He,"restrict"),Le={top:1/0,left:1/0,bottom:-1/0,right:-1/0},De={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function lt($,z){for(var ee=0,pe=["top","left","bottom","right"];ee<pe.length;ee++){var Ce=pe[ee];Ce in $||($[Ce]=z[Ce])}return $}var gt={noInner:Le,noOuter:De,start:function($){var z,ee=$.interaction,pe=$.startOffset,Ce=$.state,Be=Ce.options;Be&&(z=vr(Pe(Be.offset,ee,ee.coords.start.page))),z=z||{x:0,y:0},Ce.offset={top:z.y+pe.top,left:z.x+pe.left,bottom:z.y-pe.bottom,right:z.x-pe.right}},set:function($){var z=$.coords,ee=$.edges,pe=$.interaction,Ce=$.state,Be=Ce.offset,at=Ce.options;if(ee){var vt=jt({},z),Bt=Pe(at.inner,pe,vt)||{},mr=Pe(at.outer,pe,vt)||{};lt(Bt,Le),lt(mr,De),ee.top?z.y=Math.min(Math.max(mr.top+Be.top,vt.y),Bt.top+Be.top):ee.bottom&&(z.y=Math.max(Math.min(mr.bottom+Be.bottom,vt.y),Bt.bottom+Be.bottom)),ee.left?z.x=Math.min(Math.max(mr.left+Be.left,vt.x),Bt.left+Be.left):ee.right&&(z.x=Math.max(Math.min(mr.right+Be.right,vt.x),Bt.right+Be.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},Zt=da(gt,"restrictEdges"),xn=jt({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect($){}},He.defaults),dn=da({start:He.start,set:He.set,defaults:xn},"restrictRect"),vn={width:-1/0,height:-1/0},$n={width:1/0,height:1/0},Ui=da({start:function($){return gt.start($)},set:function($){var z=$.interaction,ee=$.state,pe=$.rect,Ce=$.edges,Be=ee.options;if(Ce){var at=Fr(Pe(Be.min,z,$.coords))||vn,vt=Fr(Pe(Be.max,z,$.coords))||$n;ee.options={endOnly:Be.endOnly,inner:jt({},gt.noInner),outer:jt({},gt.noOuter)},Ce.top?(ee.options.inner.top=pe.bottom-at.height,ee.options.outer.top=pe.bottom-vt.height):Ce.bottom&&(ee.options.inner.bottom=pe.top+at.height,ee.options.outer.bottom=pe.top+vt.height),Ce.left?(ee.options.inner.left=pe.right-at.width,ee.options.outer.left=pe.right-vt.width):Ce.right&&(ee.options.inner.right=pe.left+at.width,ee.options.outer.right=pe.left+vt.width),gt.set($),ee.options=Be}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),hs={start:function($){var z,ee=$.interaction,pe=$.interactable,Ce=$.element,Be=$.rect,at=$.state,vt=$.startOffset,Bt=at.options,mr=Bt.offsetWithOrigin?(function(Rn){var Jn=Rn.interaction.element,Yn=vr(Ht(Rn.state.options.origin,null,null,[Jn])),gi=Yn||Kr(Rn.interactable,Jn,Rn.interaction.prepared.name);return gi})($):{x:0,y:0};if(Bt.offset==="startCoords")z={x:ee.coords.start.page.x,y:ee.coords.start.page.y};else{var zt=Ht(Bt.offset,pe,Ce,[ee]);(z=vr(zt)||{x:0,y:0}).x+=mr.x,z.y+=mr.y}var jr=Bt.relativePoints;at.offsets=Be&&jr&&jr.length?jr.map((function(Rn,Jn){return{index:Jn,relativePoint:Rn,x:vt.left-Be.width*Rn.x+z.x,y:vt.top-Be.height*Rn.y+z.y}})):[{index:0,relativePoint:null,x:z.x,y:z.y}]},set:function($){var z=$.interaction,ee=$.coords,pe=$.state,Ce=pe.options,Be=pe.offsets,at=Kr(z.interactable,z.element,z.prepared.name),vt=jt({},ee),Bt=[];Ce.offsetWithOrigin||(vt.x-=at.x,vt.y-=at.y);for(var mr=0,zt=Be;mr<zt.length;mr++)for(var jr=zt[mr],Rn=vt.x-jr.x,Jn=vt.y-jr.y,Yn=0,gi=Ce.targets.length;Yn<gi;Yn++){var Ni=Ce.targets[Yn],Ii=void 0;(Ii=M.func(Ni)?Ni(Rn,Jn,z._proxy,jr,Yn):Ni)&&Bt.push({x:(M.number(Ii.x)?Ii.x:Rn)+jr.x,y:(M.number(Ii.y)?Ii.y:Jn)+jr.y,range:M.number(Ii.range)?Ii.range:Ce.range,source:Ni,index:Yn,offset:jr})}for(var es={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},ur=0;ur<Bt.length;ur++){var on=Bt[ur],kr=on.range,jn=on.x-vt.x,ts=on.y-vt.y,is=Et(jn,ts),_i=is<=kr;kr===1/0&&es.inRange&&es.range!==1/0&&(_i=!1),es.target&&!(_i?es.inRange&&kr!==1/0?is/kr<es.distance/es.range:kr===1/0&&es.range!==1/0||is<es.distance:!es.inRange&&is<es.distance)||(es.target=on,es.distance=is,es.range=kr,es.inRange=_i,es.delta.x=jn,es.delta.y=ts)}return es.inRange&&(ee.x=es.target.x,ee.y=es.target.y),pe.closest=es,es},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},Qn=da(hs,"snap"),ki={start:function($){var z=$.state,ee=$.edges,pe=z.options;if(!ee)return null;$.state={options:{targets:null,relativePoints:[{x:ee.left?0:1,y:ee.top?0:1}],offset:pe.offset||"self",origin:{x:0,y:0},range:pe.range}},z.targetFields=z.targetFields||[["width","height"],["x","y"]],hs.start($),z.offsets=$.state.offsets,$.state=z},set:function($){var z=$.interaction,ee=$.state,pe=$.coords,Ce=ee.options,Be=ee.offsets,at={x:pe.x-Be[0].x,y:pe.y-Be[0].y};ee.options=jt({},Ce),ee.options.targets=[];for(var vt=0,Bt=Ce.targets||[];vt<Bt.length;vt++){var mr=Bt[vt],zt=void 0;if(zt=M.func(mr)?mr(at.x,at.y,z):mr){for(var jr=0,Rn=ee.targetFields;jr<Rn.length;jr++){var Jn=Rn[jr],Yn=Jn[0],gi=Jn[1];if(Yn in zt||gi in zt){zt.x=zt[Yn],zt.y=zt[gi];break}}ee.options.targets.push(zt)}}var Ni=hs.set($);return ee.options=Ce,Ni},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},Oi=da(ki,"snapSize"),Ei={aspectRatio:mn,restrictEdges:Zt,restrict:ft,restrictRect:dn,restrictSize:Ui,snapEdges:da({start:function($){var z=$.edges;return z?($.state.targetFields=$.state.targetFields||[[z.left?"left":"right",z.top?"top":"bottom"]],ki.start($)):null},set:ki.set,defaults:jt(us(ki.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:Qn,snapSize:Oi,spring:si,avoid:si,transform:si,rubberband:si},ma={id:"modifiers",install:function($){var z=$.interactStatic;for(var ee in $.usePlugin(ze),$.usePlugin(Ot),z.modifiers=Ei,Ei){var pe=Ei[ee],Ce=pe._defaults,Be=pe._methods;Ce._methods=Be,$.defaults.perAction[ee]=Ce}}},Fs=ma,Ha=(function($){m(ee,$);var z=b(ee);function ee(pe,Ce,Be,at,vt,Bt){var mr;if(i(this,ee),Wr(v(mr=z.call(this,vt)),Be),Be!==Ce&&Wr(v(mr),Ce),mr.timeStamp=Bt,mr.originalEvent=Be,mr.type=pe,mr.pointerId=Lr(Ce),mr.pointerType=dr(Ce),mr.target=at,mr.currentTarget=null,pe==="tap"){var zt=vt.getPointerIndex(Ce);mr.dt=mr.timeStamp-vt.pointers[zt].downTime;var jr=mr.timeStamp-vt.tapTime;mr.double=!!vt.prevTap&&vt.prevTap.type!=="doubletap"&&vt.prevTap.target===mr.target&&jr<500}else pe==="doubletap"&&(mr.dt=Ce.timeStamp-vt.tapTime,mr.double=!0);return mr}return u(ee,[{key:"_subtractOrigin",value:function(pe){var Ce=pe.x,Be=pe.y;return this.pageX-=Ce,this.pageY-=Be,this.clientX-=Ce,this.clientY-=Be,this}},{key:"_addOrigin",value:function(pe){var Ce=pe.x,Be=pe.y;return this.pageX+=Ce,this.pageY+=Be,this.clientX+=Ce,this.clientY+=Be,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),ee})(ot),Cs={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function($){$.pointerEvents=Cs,$.defaults.actions.pointerEvents=Cs.defaults,jt($.actions.phaselessTypes,Cs.types)},listeners:{"interactions:new":function($){var z=$.interaction;z.prevTap=null,z.tapTime=0},"interactions:update-pointer":function($){var z=$.down,ee=$.pointerInfo;!z&&ee.hold||(ee.hold={duration:1/0,timeout:null})},"interactions:move":function($,z){var ee=$.interaction,pe=$.pointer,Ce=$.event,Be=$.eventTarget;$.duplicate||ee.pointerIsDown&&!ee.pointerWasMoved||(ee.pointerIsDown&&Oa($),qs({interaction:ee,pointer:pe,event:Ce,eventTarget:Be,type:"move"},z))},"interactions:down":function($,z){(function(ee,pe){for(var Ce=ee.interaction,Be=ee.pointer,at=ee.event,vt=ee.eventTarget,Bt=ee.pointerIndex,mr=Ce.pointers[Bt].hold,zt=mt(vt),jr={interaction:Ce,pointer:Be,event:at,eventTarget:vt,type:"hold",targets:[],path:zt,node:null},Rn=0;Rn<zt.length;Rn++){var Jn=zt[Rn];jr.node=Jn,pe.fire("pointerEvents:collect-targets",jr)}if(jr.targets.length){for(var Yn=1/0,gi=0,Ni=jr.targets;gi<Ni.length;gi++){var Ii=Ni[gi].eventable.options.holdDuration;Ii<Yn&&(Yn=Ii)}mr.duration=Yn,mr.timeout=setTimeout((function(){qs({interaction:Ce,eventTarget:vt,pointer:Be,event:at,type:"hold"},pe)}),Yn)}})($,z),qs($,z)},"interactions:up":function($,z){Oa($),qs($,z),(function(ee,pe){var Ce=ee.interaction,Be=ee.pointer,at=ee.event,vt=ee.eventTarget;Ce.pointerWasMoved||qs({interaction:Ce,eventTarget:vt,pointer:Be,event:at,type:"tap"},pe)})($,z)},"interactions:cancel":function($,z){Oa($),qs($,z)}},PointerEvent:Ha,fire:qs,collectEventTargets:Wa,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:{down:!0,move:!0,up:!0,cancel:!0,tap:!0,doubletap:!0,hold:!0}};function qs($,z){var ee=$.interaction,pe=$.pointer,Ce=$.event,Be=$.eventTarget,at=$.type,vt=$.targets,Bt=vt===void 0?Wa($,z):vt,mr=new Ha(at,pe,Ce,Be,ee,z.now());z.fire("pointerEvents:new",{pointerEvent:mr});for(var zt={interaction:ee,pointer:pe,event:Ce,eventTarget:Be,targets:Bt,type:at,pointerEvent:mr},jr=0;jr<Bt.length;jr++){var Rn=Bt[jr];for(var Jn in Rn.props||{})mr[Jn]=Rn.props[Jn];var Yn=Kr(Rn.eventable,Rn.node);if(mr._subtractOrigin(Yn),mr.eventable=Rn.eventable,mr.currentTarget=Rn.node,Rn.eventable.fire(mr),mr._addOrigin(Yn),mr.immediatePropagationStopped||mr.propagationStopped&&jr+1<Bt.length&&Bt[jr+1].node!==mr.currentTarget)break}if(z.fire("pointerEvents:fired",zt),at==="tap"){var gi=mr.double?qs({interaction:ee,pointer:pe,event:Ce,eventTarget:Be,type:"doubletap"},z):mr;ee.prevTap=gi,ee.tapTime=gi.timeStamp}return mr}function Wa($,z){var ee=$.interaction,pe=$.pointer,Ce=$.event,Be=$.eventTarget,at=$.type,vt=ee.getPointerIndex(pe),Bt=ee.pointers[vt];if(at==="tap"&&(ee.pointerWasMoved||!Bt||Bt.downTarget!==Be))return[];for(var mr=mt(Be),zt={interaction:ee,pointer:pe,event:Ce,eventTarget:Be,type:at,path:mr,targets:[],node:null},jr=0;jr<mr.length;jr++){var Rn=mr[jr];zt.node=Rn,z.fire("pointerEvents:collect-targets",zt)}return at==="hold"&&(zt.targets=zt.targets.filter((function(Jn){var Yn,gi;return Jn.eventable.options.holdDuration===((Yn=ee.pointers[vt])==null||(gi=Yn.hold)==null?void 0:gi.duration)}))),zt.targets}function Oa($){var z=$.interaction,ee=$.pointerIndex,pe=z.pointers[ee].hold;pe&&pe.timeout&&(clearTimeout(pe.timeout),pe.timeout=null)}var Na=Object.freeze({__proto__:null,default:Cs});function Qo($){var z=$.interaction;z.holdIntervalHandle&&(clearInterval(z.holdIntervalHandle),z.holdIntervalHandle=null)}var $s={id:"pointer-events/holdRepeat",install:function($){$.usePlugin(Cs);var z=$.pointerEvents;z.defaults.holdRepeatInterval=0,z.types.holdrepeat=$.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce((function($,z){return $["pointerEvents:".concat(z)]=Qo,$}),{"pointerEvents:new":function($){var z=$.pointerEvent;z.type==="hold"&&(z.count=(z.count||0)+1)},"pointerEvents:fired":function($,z){var ee=$.interaction,pe=$.pointerEvent,Ce=$.eventTarget,Be=$.targets;if(pe.type==="hold"&&Be.length){var at=Be[0].eventable.options.holdRepeatInterval;at<=0||(ee.holdIntervalHandle=setTimeout((function(){z.pointerEvents.fire({interaction:ee,eventTarget:Ce,type:"hold",pointer:pe,event:pe},z)}),at))}}})},ra=$s,bs={id:"pointer-events/interactableTargets",install:function($){var z=$.Interactable;z.prototype.pointerEvents=function(pe){return jt(this.events.options,pe),this};var ee=z.prototype._backCompatOption;z.prototype._backCompatOption=function(pe,Ce){var Be=ee.call(this,pe,Ce);return Be===this&&(this.events.options[pe]=Ce),Be}},listeners:{"pointerEvents:collect-targets":function($,z){var ee=$.targets,pe=$.node,Ce=$.type,Be=$.eventTarget;z.interactables.forEachMatch(pe,(function(at){var vt=at.events,Bt=vt.options;vt.types[Ce]&&vt.types[Ce].length&&at.testIgnoreAllow(Bt,pe,Be)&&ee.push({node:pe,eventable:vt,props:{interactable:at}})}))},"interactable:new":function($){var z=$.interactable;z.events.getRect=function(ee){return z.getRect(ee)}},"interactable:set":function($,z){var ee=$.interactable,pe=$.options;jt(ee.events.options,z.pointerEvents.defaults),jt(ee.events.options,pe.pointerEvents||{})}}},Ia=bs,Eu={id:"pointer-events",install:function($){$.usePlugin(Na),$.usePlugin(ra),$.usePlugin(Ia)}},oo=Eu,ju={id:"reflow",install:function($){var z=$.Interactable;$.actions.phases.reflow=!0,z.prototype.reflow=function(ee){return(function(pe,Ce,Be){for(var at=pe.getAllElements(),vt=Be.window.Promise,Bt=vt?[]:null,mr=function(){var jr=at[zt],Rn=pe.getRect(jr);if(!Rn)return 1;var Jn,Yn=an(Be.interactions.list,(function(Ii){return Ii.interacting()&&Ii.interactable===pe&&Ii.element===jr&&Ii.prepared.name===Ce.name}));if(Yn)Yn.move(),Bt&&(Jn=Yn._reflowPromise||new vt((function(Ii){Yn._reflowResolve=Ii})));else{var gi=Fr(Rn),Ni=(function(Ii){return{coords:Ii,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons},preventDefault:function(){}}})({page:{x:gi.x,y:gi.y},client:{x:gi.x,y:gi.y},timeStamp:Be.now()});Jn=(function(Ii,es,ur,on,kr){var jn=Ii.interactions.new({pointerType:"reflow"}),ts={interaction:jn,event:kr,pointer:kr,eventTarget:ur,phase:"reflow"};jn.interactable=es,jn.element=ur,jn.prevEvent=kr,jn.updatePointer(kr,kr,ur,!0),Tr(jn.coords.delta),Or(jn.prepared,on),jn._doPhase(ts);
613var is=Ii.window,_i=is.Promise,Ps=_i?new _i((function(Do){jn._reflowResolve=Do})):void 0;return jn._reflowPromise=Ps,jn.start(on,es,ur),jn._interacting?(jn.move(ts),jn.end(kr)):(jn.stop(),jn._reflowResolve()),jn.removePointer(kr,kr),Ps})(Be,pe,jr,Ce,Ni)}Bt&&Bt.push(Jn)},zt=0;zt<at.length&&!mr();zt++);return Bt&&vt.all(Bt).then((function(){return pe}))})(this,ee,$)}},listeners:{"interactions:stop":function($,z){var ee=$.interaction;ee.pointerType==="reflow"&&(ee._reflowResolve&&ee._reflowResolve(),(function(pe,Ce){pe.splice(pe.indexOf(Ce),1)})(z.interactions.list,ee))}}},xo=ju;if(qn.use(Ea),qn.use(ys),qn.use(oo),qn.use(zs),qn.use(Fs),qn.use(ks),qn.use(Ke),qn.use(qr),qn.use(xo),qn.default=qn,a(f)==="object"&&f)try{f.exports=qn}catch{}return qn.default=qn,qn}))},86502(f){f.exports=e;var d=Object.prototype.toString;function e(n){if(!n)return!1;var r=d.call(n);return r==="[object Function]"||typeof n=="function"&&r!=="[object RegExp]"||typeof window<"u"&&(n===window.setTimeout||n===window.alert||n===window.confirm||n===window.prompt)}},55905(f){f.exports=d,f.exports.default=d;function d(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}},6898(f,d){var e,n;(function(r,a){f.exports=a(r)})(typeof self<"u"?self:typeof window<"u"?window:typeof globalThis<"u"?globalThis:this,function(r){"use strict";r=r||{};var a=r.Base64,i="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=(function(ae){for(var ye={},ve=0,Ue=ae.length;ve<Ue;ve++)ye[ae.charAt(ve)]=ve;return ye})(s),l=String.fromCharCode,m=function(ae){if(ae.length<2){var ye=ae.charCodeAt(0);return ye<128?ae:ye<2048?l(192|ye>>>6)+l(128|ye&63):l(224|ye>>>12&15)+l(128|ye>>>6&63)+l(128|ye&63)}else{var ye=65536+(ae.charCodeAt(0)-55296)*1024+(ae.charCodeAt(1)-56320);return l(240|ye>>>18&7)+l(128|ye>>>12&63)+l(128|ye>>>6&63)+l(128|ye&63)}},g=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,h=function(ae){return ae.replace(g,m)},v=function(ae){var ye=[0,2,1][ae.length%3],ve=ae.charCodeAt(0)<<16|(ae.length>1?ae.charCodeAt(1):0)<<8|(ae.length>2?ae.charCodeAt(2):0),Ue=[s.charAt(ve>>>18),s.charAt(ve>>>12&63),ye>=2?"=":s.charAt(ve>>>6&63),ye>=1?"=":s.charAt(ve&63)];return Ue.join("")},b=r.btoa&&typeof r.btoa=="function"?function(ae){return r.btoa(ae)}:function(ae){if(ae.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ae.replace(/[\s\S]{1,3}/g,v)},T=function(ae){return b(h(String(ae)))},E=function(ae){return ae.replace(/[+\/]/g,function(ye){return ye=="+"?"-":"_"}).replace(/=/g,"")},w=function(ae,ye){return ye?E(T(ae)):T(ae)},C=function(ae){return w(ae,!0)},O;r.Uint8Array&&(O=function(ae,ye){for(var ve="",Ue=0,We=ae.length;Ue<We;Ue+=3){var de=ae[Ue],xe=ae[Ue+1],Fe=ae[Ue+2],Xe=de<<16|xe<<8|Fe;ve+=s.charAt(Xe>>>18)+s.charAt(Xe>>>12&63)+(typeof xe<"u"?s.charAt(Xe>>>6&63):"=")+(typeof Fe<"u"?s.charAt(Xe&63):"=")}return ye?E(ve):ve});var U=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,D=function(ae){switch(ae.length){case 4:var ye=(7&ae.charCodeAt(0))<<18|(63&ae.charCodeAt(1))<<12|(63&ae.charCodeAt(2))<<6|63&ae.charCodeAt(3),ve=ye-65536;return l((ve>>>10)+55296)+l((ve&1023)+56320);case 3:return l((15&ae.charCodeAt(0))<<12|(63&ae.charCodeAt(1))<<6|63&ae.charCodeAt(2));default:return l((31&ae.charCodeAt(0))<<6|63&ae.charCodeAt(1))}},F=function(ae){return ae.replace(U,D)},j=function(ae){var ye=ae.length,ve=ye%4,Ue=(ye>0?u[ae.charAt(0)]<<18:0)|(ye>1?u[ae.charAt(1)]<<12:0)|(ye>2?u[ae.charAt(2)]<<6:0)|(ye>3?u[ae.charAt(3)]:0),We=[l(Ue>>>16),l(Ue>>>8&255),l(Ue&255)];return We.length-=[0,0,2,1][ve],We.join("")},M=r.atob&&typeof r.atob=="function"?function(ae){return r.atob(ae)}:function(ae){return ae.replace(/\S{1,4}/g,j)},W=function(ae){return M(String(ae).replace(/[^A-Za-z0-9\+\/]/g,""))},V=function(ae){return F(M(ae))},q=function(ae){return String(ae).replace(/[-_]/g,function(ye){return ye=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},J=function(ae){return V(q(ae))},re;r.Uint8Array&&(re=function(ae){return Uint8Array.from(W(q(ae)),function(ye){return ye.charCodeAt(0)})});var he=function(){var ae=r.Base64;return r.Base64=a,ae};if(r.Base64={VERSION:i,atob:W,btoa:b,fromBase64:J,toBase64:w,utob:h,encode:w,encodeURI:C,btou:F,decode:J,noConflict:he,fromUint8Array:O,toUint8Array:re},typeof Object.defineProperty=="function"){var fe=function(ae){return{value:ae,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",fe(function(){return J(this)})),Object.defineProperty(String.prototype,"toBase64",fe(function(ae){return w(this,ae)})),Object.defineProperty(String.prototype,"toBase64URI",fe(function(){return w(this,!0)}))}}return r.Meteor&&(Base64=r.Base64),f.exports?f.exports.Base64=r.Base64:(e=[],n=(function(){return r.Base64}).apply(d,e),n!==void 0&&(f.exports=n)),{Base64:r.Base64}})},75656(f,d,e){var n;/** 614* [js-htmlencode]{@link https://github.com/emn178/js-htmlencode} 615*
616* @version 0.3.0 617* @author Chen, Yi-Cyuan [[email protected]] 618* @copyright Chen, Yi-Cyuan 2014-2017 619* @license MIT 620*/(function(){"use strict";var r=typeof window=="object"?window:{},a=!r.JS_HTMLENCODE_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;a&&(r=globalThis);var i=!r.JS_HTMLENCODE_NO_COMMON_JS&&!0&&f.exports,s=e.amdO,u={" ":"\xA0","¡":"\xA1","¢":"\xA2","£":"\xA3","¤":"\xA4","¥":"\xA5","¦":"\xA6","§":"\xA7","¨":"\xA8","©":"\xA9","ª":"\xAA","«":"\xAB","¬":"\xAC","­":"\xAD","®":"\xAE","¯":"\xAF","°":"\xB0","±":"\xB1","²":"\xB2","³":"\xB3","´":"\xB4","µ":"\xB5","¶":"\xB6","·":"\xB7","¸":"\xB8","¹":"\xB9","º":"\xBA","»":"\xBB","¼":"\xBC","½":"\xBD","¾":"\xBE","¿":"\xBF","À":"\xC0","Á":"\xC1","Â":"\xC2","Ã":"\xC3","Ä":"\xC4","Å":"\xC5","Æ":"\xC6","Ç":"\xC7","È":"\xC8","É":"\xC9","Ê":"\xCA","Ë":"\xCB","Ì":"\xCC","Í":"\xCD","Î":"\xCE","Ï":"\xCF","Ð":"\xD0","Ñ":"\xD1","Ò":"\xD2","Ó":"\xD3","Ô":"\xD4","Õ":"\xD5","Ö":"\xD6","×":"\xD7","Ø":"\xD8","Ù":"\xD9","Ú":"\xDA","Û":"\xDB","Ü":"\xDC","Ý":"\xDD","Þ":"\xDE","ß":"\xDF","à":"\xE0","á":"\xE1","â":"\xE2","ã":"\xE3","ä":"\xE4","å":"\xE5","æ":"\xE6","ç":"\xE7","è":"\xE8","é":"\xE9","ê":"\xEA","ë":"\xEB","ì":"\xEC","í":"\xED","î":"\xEE","ï":"\xEF","ð":"\xF0","ñ":"\xF1","ò":"\xF2","ó":"\xF3","ô":"\xF4","õ":"\xF5","ö":"\xF6","÷":"\xF7","ø":"\xF8","ù":"\xF9","ú":"\xFA","û":"\xFB","ü":"\xFC","ý":"\xFD","þ":"\xFE","ÿ":"\xFF",""":'"',"&":"&","<":"<",">":">","'":"'","Œ":"\u0152","œ":"\u0153","Š":"\u0160","š":"\u0161","Ÿ":"\u0178","ˆ":"\u02C6","˜":"\u02DC"," ":"\u2002"," ":"\u2003"," ":"\u2009","‌":"\u200C","‍":"\u200D","‎":"\u200E","‏":"\u200F","–":"\u2013","—":"\u2014","‘":"\u2018","’":"\u2019","‚":"\u201A","“":"\u201C","”":"\u201D","„":"\u201E","†":"\u2020","‡":"\u2021","‰":"\u2030","‹":"\u2039","›":"\u203A","€":"\u20AC","ƒ":"\u0192","Α":"\u0391","Β":"\u0392","Γ":"\u0393","Δ":"\u0394","Ε":"\u0395","Ζ":"\u0396","Η":"\u0397","Θ":"\u0398","Ι":"\u0399","Κ":"\u039A","Λ":"\u039B","Μ":"\u039C","Ν":"\u039D","Ξ":"\u039E","Ο":"\u039F","Π":"\u03A0","Ρ":"\u03A1","Σ":"\u03A3","Τ":"\u03A4","Υ":"\u03A5","Φ":"\u03A6","Χ":"\u03A7","Ψ":"\u03A8","Ω":"\u03A9","α":"\u03B1","β":"\u03B2","γ":"\u03B3","δ":"\u03B4","ε":"\u03B5","ζ":"\u03B6","η":"\u03B7","θ":"\u03B8","ι":"\u03B9","κ":"\u03BA","λ":"\u03BB","μ":"\u03BC","ν":"\u03BD","ξ":"\u03BE","ο":"\u03BF","π":"\u03C0","ρ":"\u03C1","ς":"\u03C2","σ":"\u03C3","τ":"\u03C4","υ":"\u03C5","φ":"\u03C6","χ":"\u03C7","ψ":"\u03C8","ω":"\u03C9","ϑ":"\u03D1","ϒ":"\u03D2","ϖ":"\u03D6","•":"\u2022","…":"\u2026","′":"\u2032","″":"\u2033","‾":"\u203E","⁄":"\u2044","℘":"\u2118","ℑ":"\u2111","ℜ":"\u211C","™":"\u2122","ℵ":"\u2135","←":"\u2190","↑":"\u2191","→":"\u2192","↓":"\u2193","↔":"\u2194","↵":"\u21B5","⇐":"\u21D0","⇑":"\u21D1","⇒":"\u21D2","⇓":"\u21D3","⇔":"\u21D4","∀":"\u2200","∂":"\u2202","∃":"\u2203","∅":"\u2205","∇":"\u2207","∈":"\u2208","∉":"\u2209","∋":"\u220B","∏":"\u220F","∑":"\u2211","−":"\u2212","∗":"\u2217","√":"\u221A","∝":"\u221D","∞":"\u221E","∠":"\u2220","∧":"\u2227","∨":"\u2228","∩":"\u2229","∪":"\u222A","∫":"\u222B","∴":"\u2234","∼":"\u223C","≅":"\u2245","≈":"\u2248","≠":"\u2260","≡":"\u2261","≤":"\u2264","≥":"\u2265","⊂":"\u2282","⊃":"\u2283","⊄":"\u2284","⊆":"\u2286","⊇":"\u2287","⊕":"\u2295","⊗":"\u2297","⊥":"\u22A5","⋅":"\u22C5","⌈":"\u2308","⌉":"\u2309","⌊":"\u230A","⌋":"\u230B","⟨":"\u2329","⟩":"\u232A","◊":"\u25CA","♠":"\u2660","♣":"\u2663","♥":"\u2665","♦":"\u2666"},l=function(v){if(v.charAt(1)!=="#")return u[v]||v;var b,T=v.charAt(2);return T==="x"||T==="X"?(T=v.substring(3,v.length-1),b=parseInt(T,16)):(T=v.substring(2,v.length-1),b=parseInt(T)),isNaN(b)?v:String.fromCharCode(b)},m=function(v){return v.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")},g=function(v){return v.replace(/&#?\w+;/g,l)},h=m;m.htmlEncode=m,m.htmlDecode=g,i?f.exports=h:(r.htmlEncode=m,r.htmlDecode=g,s&&
620(n=(function(){return h}).call(h,e,h,f),n!==void 0&&(f.exports=n)))})()},27060(f){/*! jsonpath 1.3.0 */(function(d){if(1)f.exports=d();else var e})(function(){var d,e,n;return(function r(a,i,s){function u(g,h){if(!i[g]){if(!a[g]){var v=void 0;if(!h&&v)return require(g,!0);if(l)return l(g,!0);var b=new Error("Cannot find module '"+g+"'");throw b.code="MODULE_NOT_FOUND",b}var T=i[g]={exports:{}};a[g][0].call(T.exports,function(E){var w=a[g][1][E];return u(w||E)},T,T.exports,r,a,i,s)}return i[g].exports}for(var l=void 0,m=0;m<s.length;m++)u(s[m]);return u})({"./aesprim":[function(r,a,i){(function(s,u){"use strict";typeof d=="function"&&d.amd?d(["exports"],u):u(typeof i<"u"?i:s.esprima={})})(this,function(s){"use strict";var u,l,m,g,h,v,b,T,E,w,C,O,U,D,F,j,M,W;u={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9},l={},l[u.BooleanLiteral]="Boolean",l[u.EOF]="<end>",l[u.Identifier]="Identifier",l[u.Keyword]="Keyword",l[u.NullLiteral]="Null",l[u.NumericLiteral]="Numeric",l[u.Punctuator]="Punctuator",l[u.StringLiteral]="String",l[u.RegularExpression]="RegularExpression",m=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],g={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},h={Data:1,Get:2,Set:4},v={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",
620StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},b={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
620D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
620D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]")};function V(ce,ze){if(!ce)throw new Error("ASSERT: "+ze)}function q(ce){return ce>=48&&ce<=57}function J(ce){return"0123456789abcdefABCDEF".indexOf(ce)>=0}function re(ce){return"01234567".indexOf(ce)>=0}function he(ce){return ce===32||ce===9||ce===11||ce===12||ce===160||ce>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(ce)>=0}function fe(ce){return ce===10||ce===13||ce===8232||ce===8233}function ae(ce){return ce==64||ce===36||ce===95||ce>=65&&ce<=90||ce>=97&&ce<=122||ce===92||ce>=128&&b.NonAsciiIdentifierStart.test(String.fromCharCode(ce))}function ye(ce){return ce===36||ce===95||ce>=65&&ce<=90||ce>=97&&ce<=122||ce>=48&&ce<=57||ce===92||ce>=128&&b.NonAsciiIdentifierPart.test(String.fromCharCode(ce))}function ve(ce){switch(ce){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function Ue(ce){switch(ce){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function We(ce){return ce==="eval"||ce==="arguments"}function de(ce){if(w&&Ue(ce))return!0;switch(ce.length){case 2:return ce==="if"||ce==="in"||ce==="do";case 3:return ce==="var"||ce==="for"||ce==="new"||ce==="try"||ce==="let";case 4:return ce==="this"||ce==="else"||ce==="case"||ce==="void"||ce==="with"||ce==="enum";case 5:return ce==="while"||ce==="break"||ce==="catch"||ce==="throw"||ce==="const"||ce==="yield"||ce==="class"||ce==="super";case 6:return ce==="return"||ce==="typeof"||ce==="delete"||ce==="switch"||ce==="export"||ce==="import";case 7:return ce==="default"||ce==="finally"||ce==="extends";case 8:return ce==="function"||ce==="continue"||ce==="debugger";case 10:return ce==="instanceof";default:return!1}}function xe(ce,ze,Nt,Pr,pn){var ci,Wi;V(typeof Nt=="number","Comment must have valid position"),!(M.lastCommentStart>=Nt)&&(M.lastCommentStart=Nt,ci={type:ce,value:ze},W.range&&(ci.range=[Nt,Pr]),W.loc&&(ci.loc=pn),W.comments.push(ci),W.attachComment&&(W.leadingComments.push(ci),W.trailingComments.push(ci)))}function Fe(ce){var ze,Nt,Pr,pn;for(ze=C-ce,Nt={start:{line:O,column:C-U-ce}};C<D;)if(Pr=E.charCodeAt(C),++C,fe(Pr)){W.comments&&(pn=E.slice(ze+ce,C-1),Nt.end={line:O,column:C-U-1},xe("Line",pn,ze,C-1,Nt)),Pr===13&&E.charCodeAt(C)===10&&++C,++O,U=C;return}W.comments&&(pn=E.slice(ze+ce,C),Nt.end={line:O,column:C-U},xe("Line",pn,ze,C,Nt))}function Xe(){var ce,ze,Nt,Pr;for(W.comments&&(ce=C-2,ze={start:{line:O,column:C-U-2}});C<D;)if(Nt=E.charCodeAt(C),fe(Nt))Nt===13&&E.charCodeAt(C+1)===10&&++C,++O,++C,U=C,C>=D&&rr({},v.UnexpectedToken,"ILLEGAL");else if(Nt===42){if(E.charCodeAt(C+1)===47){++C,++C,W.comments&&(Pr=E.slice(ce+2,C-2),ze.end={line:O,column:C-U},xe("Block",Pr,ce,C,ze));return}++C}else++C;rr({},v.UnexpectedToken,"ILLEGAL")}function Me(){var ce,ze;for(ze=C===0;C<D;)if(ce=E.charCodeAt(C),he(ce))++C;else if(fe(ce))++C,ce===13&&E.charCodeAt(C)===10&&++C,++O,U=C,ze=!0;else if(ce===47)if(ce=E.charCodeAt(C+1),ce===47)++C,++C,Fe(2),ze=!0;else if(ce===42)++C,++C,Xe();else break;else if(ze&&ce===45)if(E.charCodeAt(C+1)===45&&E.charCodeAt(C+2)===62)C+=3,Fe(3);else break;else if(ce===60)if(E.slice(C+1,C+4)==="!--")++C,++C,++C,++C,Fe(4);else break;else break}function Ze(ce){var ze,Nt,Pr,pn=0;for(Nt=ce==="u"?4:2,ze=0;ze<Nt;++ze)if(C<D&&J(E[C]))Pr=E[C++],pn=pn*16+"0123456789abcdef".indexOf(Pr.toLowerCase());else return"";return String.fromCharCode(pn)}function rt(){var ce,ze;for(ce=E.charCodeAt(C++),ze=String.fromCharCode(ce),ce===92&&(E.charCodeAt(C)!==117&&rr({},v.UnexpectedToken,"ILLEGAL"),++C,ce=Ze("u"),(!ce||ce==="\\"||!ae(ce.charCodeAt(0)))&&rr({},v.UnexpectedToken,"ILLEGAL"),ze=ce);C<D&&(ce=E.charCodeAt(C),!!ye(ce));)++C,ze+=String.fromCharCode(ce),ce===92&&(ze=ze.substr(0,ze.length-1),E.charCodeAt(C)!==117&&rr({},v.UnexpectedToken,"ILLEGAL"),++C,ce=Ze("u"),(!ce||ce==="\\"||!ye(ce.charCodeAt(0)))&&rr({},v.UnexpectedToken,"ILLEGAL"),ze+=ce);return ze}function mt(){var ce,ze;for(ce=C++;C<D;){if(ze=E.charCodeAt(C),ze===92)return C=ce,rt();if(ye(ze))++C;else break}return E.slice(ce,C)}function Xt(){var ce,ze,Nt;return ce=C,ze=E.charCodeAt(C)===92?rt():mt(),ze.length===1?Nt=u.Identifier:de(ze)?Nt=u.Keyword:ze==="null"?Nt=u.NullLiteral
620:ze==="true"||ze==="false"?Nt=u.BooleanLiteral:Nt=u.Identifier,{type:Nt,value:ze,lineNumber:O,lineStart:U,start:ce,end:C}}function jt(){var ce=C,ze=E.charCodeAt(C),Nt,Pr=E[C],pn,ci,Wi;switch(ze){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++C,W.tokenize&&(ze===40?W.openParenToken=W.tokens.length:ze===123&&(W.openCurlyToken=W.tokens.length)),{type:u.Punctuator,value:String.fromCharCode(ze),lineNumber:O,lineStart:U,start:ce,end:C};default:if(Nt=E.charCodeAt(C+1),Nt===61)switch(ze){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return C+=2,{type:u.Punctuator,value:String.fromCharCode(ze)+String.fromCharCode(Nt),lineNumber:O,lineStart:U,start:ce,end:C};case 33:case 61:return C+=2,E.charCodeAt(C)===61&&++C,{type:u.Punctuator,value:E.slice(ce,C),lineNumber:O,lineStart:U,start:ce,end:C}}}if(Wi=E.substr(C,4),Wi===">>>=")return C+=4,{type:u.Punctuator,value:Wi,lineNumber:O,lineStart:U,start:ce,end:C};if(ci=Wi.substr(0,3),ci===">>>"||ci==="<<="||ci===">>=")return C+=3,{type:u.Punctuator,value:ci,lineNumber:O,lineStart:U,start:ce,end:C};if(pn=ci.substr(0,2),Pr===pn[1]&&"+-<>&|".indexOf(Pr)>=0||pn==="=>")return C+=2,{type:u.Punctuator,value:pn,lineNumber:O,lineStart:U,start:ce,end:C};if("<>=!+-*%&|^/".indexOf(Pr)>=0)return++C,{type:u.Punctuator,value:Pr,lineNumber:O,lineStart:U,start:ce,end:C};rr({},v.UnexpectedToken,"ILLEGAL")}function Lt(ce){for(var ze="";C<D&&J(E[C]);)ze+=E[C++];return ze.length===0&&rr({},v.UnexpectedToken,"ILLEGAL"),ae(E.charCodeAt(C))&&rr({},v.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseInt("0x"+ze,16),lineNumber:O,lineStart:U,start:ce,end:C}}function Ht(ce){for(var ze="0"+E[C++];C<D&&re(E[C]);)ze+=E[C++];return(ae(E.charCodeAt(C))||q(E.charCodeAt(C)))&&rr({},v.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseInt(ze,8),octal:!0,lineNumber:O,lineStart:U,start:ce,end:C}}function vr(){var ce,ze;for(ce=C+1;ce<D;++ce){if(ze=E[ce],ze==="8"||ze==="9")return!1;if(!re(ze))return!0}return!0}function Fr(){var ce,ze,Nt;if(Nt=E[C],V(q(Nt.charCodeAt(0))||Nt===".","Numeric literal must start with a decimal digit or a decimal point"),ze=C,ce="",Nt!=="."){if(ce=E[C++],Nt=E[C],ce==="0"){if(Nt==="x"||Nt==="X")return++C,Lt(ze);if(re(Nt)&&vr())return Ht(ze)}for(;q(E.charCodeAt(C));)ce+=E[C++];Nt=E[C]}if(Nt==="."){for(ce+=E[C++];q(E.charCodeAt(C));)ce+=E[C++];Nt=E[C]}if(Nt==="e"||Nt==="E")if(ce+=E[C++],Nt=E[C],(Nt==="+"||Nt==="-")&&(ce+=E[C++]),q(E.charCodeAt(C)))for(;q(E.charCodeAt(C));)ce+=E[C++];else rr({},v.UnexpectedToken,"ILLEGAL");return ae(E.charCodeAt(C))&&rr({},v.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseFloat(ce),lineNumber:O,lineStart:U,start:ze,end:C}}function fn(){var ce="",ze,Nt,Pr,pn,ci,Wi,qi=!1,Li,Mi;for(Li=O,Mi=U,ze=E[C],V(ze==="'"||ze==='"',"String literal must starts with a quote"),Nt=C,++C;C<D;)if(Pr=E[C++],Pr===ze){ze="";break}else if(Pr==="\\")if(Pr=E[C++],!Pr||!fe(Pr.charCodeAt(0)))switch(Pr){case"u":case"x":Wi=C,ci=Ze(Pr),ci?ce+=ci:(C=Wi,ce+=Pr);break;case"n":ce+=` 621`;break;case"r":ce+="\r";break;case"t":ce+=" ";break;case"b":ce+="\b";break;case"f":ce+="\f";break;case"v":ce+="\v";break;default:re(Pr)?(pn="01234567".indexOf(Pr),pn!==0&&(qi=!0),C<D&&re(E[C])&&(qi=!0,pn=pn*8+"01234567".indexOf(E[C++]),"0123".indexOf(Pr)>=0&&C<D&&re(E[C])&&(pn=pn*8+"01234567".indexOf(E[C++]))),ce+=String.fromCharCode(pn)):ce+=Pr;break}else++O,Pr==="\r"&&E[C]===` 622`&&++C,U=C;else{if(fe(Pr.charCodeAt(0)))break;ce+=Pr}return ze!==""&&rr({},v.UnexpectedToken,"ILLEGAL"),{type:u.StringLiteral,value:ce,octal:qi,startLineNumber:Li,startLineStart:Mi,lineNumber:O,lineStart:U,start:Nt,end:C}}function Kr(ce,ze){var Nt;try{Nt=new RegExp(ce,ze)}catch{rr({},v.InvalidRegExp)}return Nt}function Sn(){var ce,ze,Nt,Pr,pn;for(ce=E[C],V(ce==="/","Regular expression literal must start with a slash"),ze=E[C++],Nt=!1,Pr=!1;C<D;)if(ce=E[C++],ze+=ce,ce==="\\")ce=E[C++],fe(ce.charCodeAt(0))&&rr({},v.UnterminatedRegExp),ze+=ce;else if(fe(ce.charCodeAt(0)))rr({},v.UnterminatedRegExp);else if(Nt)ce==="]"&&(Nt=!1);else if(ce==="/"){Pr=!0;break}else ce==="["&&(Nt=!0);return Pr||rr({},v.UnterminatedRegExp),pn=ze.substr(1,ze.length-2),{value:pn,literal:ze}}function Fn(){var ce,ze,Nt,Pr;for(ze="",Nt="";C<D&&(ce=E[C],!!ye(ce.charCodeAt(0)));)if(++C,ce==="\\"&&C<D)if(ce=E[C],ce==="u"){if(++C,Pr=C,ce=Ze("u"),ce)for(Nt+=ce,ze+="\\u";Pr<C;++Pr)ze+=E[Pr];else C=Pr,Nt+="u",ze+="\\u";Gr({},v.UnexpectedToken,"ILLEGAL")}else ze+="\\",Gr({},v.UnexpectedToken,"ILLEGAL");else Nt+=ce,ze+=ce;return{value:Nt,literal:ze}}function Et(){var ce,ze,Nt,Pr,pn;return j=null,Me(),ce=C,ze=Sn(),Nt=Fn(),pn=Kr(ze.value,Nt.value),W.tokenize?{type:u.RegularExpression,value:pn,lineNumber:O,lineStart:U,start:ce,end:C}:{literal:ze.literal+Nt.literal,value:pn,start:ce,end:C}}function st(){var ce,ze,Nt,Pr;return Me(),ce=C,ze={start:{line:O,column:C-U}},Nt=Et(),ze.end={line:O,column:C-U},W.tokenize||(W.tokens.length>0&&(Pr=W.tokens[W.tokens.length-1],Pr.range[0]===ce&&Pr.type==="Punctuator"&&(Pr.value==="/"||Pr.value==="/=")&&W.tokens.pop()),W.tokens.push({type:"RegularExpression",value:Nt.literal,range:[ce,C],loc:ze})),Nt}function Wr(ce){return ce.type===u.Identifier||ce.type===u.Keyword||ce.type===u.BooleanLiteral||ce.type===u.NullLiteral}function Dr(){var ce,ze;if(ce=W.tokens[W.tokens.length-1],!ce)return st();if(ce.type==="Punctuator"){if(ce.value==="]")return jt();if(ce.value===")")return ze=W.tokens[W.openParenToken-1],ze&&ze.type==="Keyword"&&(ze.value==="if"||ze.value==="while"||ze.value==="for"||ze.value==="with")?st():jt();if(ce.value==="}"){if(W.tokens[W.openCurlyToken-3]&&W.tokens[W.openCurlyToken-3].type==="Keyword"){if(ze=W.tokens[W.openCurlyToken-4],!ze)return jt()}else if(W.tokens[W.openCurlyToken-4]&&W.tokens[W.openCurlyToken-4].type==="Keyword"){if(ze=W.tokens[W.openCurlyToken-5],!ze)return st()}else return jt();return m.indexOf(ze.value)>=0?jt():st()}return st()}return ce.type==="Keyword"&&ce.value!=="this"?st():jt()}function Tr(){var ce;return Me(),C>=D?{type:u.EOF,lineNumber:O,lineStart:U,start:C,end:C}:(ce=E.charCodeAt(C),ae(ce)?Xt():ce===40||ce===41||ce===59?jt():ce===39||ce===34?fn():ce===46?q(E.charCodeAt(C+1))?Fr():jt():q(ce)?Fr():W.tokenize&&ce===47?Dr():jt())}function gr(){var ce,ze,Nt,Pr;return Me(),ce={start:{line:O,column:C-U}},ze=Tr(),ce.end={line:O,column:C-U},ze.type!==u.EOF&&(Pr=E.slice(ze.start,ze.end),W.tokens.push({type:l[ze.type],value:Pr,range:[ze.start,ze.end],loc:ce})),ze}function ir(){var ce;return ce=j,C=ce.end,O=ce.lineNumber,U=ce.lineStart,j=typeof W.tokens<"u"?gr():Tr(),C=ce.end,O=ce.lineNumber,U=ce.lineStart,ce}function Mr(){var ce,ze,Nt;ce=C,ze=O,Nt=U,j=typeof W.tokens<"u"?gr():Tr(),C=ce,O=ze,U=Nt}function Lr(ce,ze){this.line=ce,this.column=ze}function un(ce,ze,Nt,Pr){this.start=new Lr(ce,ze),this.end=new Lr(Nt,Pr)}T={name:"SyntaxTree",processComment:function(ce){var ze,Nt;if(!(ce.type===g.Program&&ce.body.length>0)){for(W.trailingComments.length>0?W.trailingComments[0].range[0]>=ce.range[1]?(Nt=W.trailingComments,W.trailingComments=[]):W.trailingComments.length=0:W.bottomRightStack.length>0&&W.bottomRightStack[W.bottomRightStack.length-1].trailingComments&&W.bottomRightStack[W.bottomRightStack.length-1].trailingComments[0].range[0]>=ce.range[1]&&(Nt=W.bottomRightStack[W.bottomRightStack.length-1].trailingComments,delete W.bottomRightStack[W.bottomRightStack.length-1].trailingComments);W.bottomRightStack.length>0&&W.bottomRightStack[W.bottomRightStack.length-1].range[0]>=ce.range[0];)ze=W.bottomRightStack.pop();ze?ze.leadingComments&&ze.leadingComments[ze.leadingComments.length-1].range[1]<=ce.range[0]&&(ce.leadingComments=ze.leadingComments,delete ze.leadingComments):W.leadingComments.length>0&&W.leadingComments[W.leadingComments.length-1].range[1]<=ce.range[0]&&(ce.leadingComments=W.leadingComments,W.leadingComments=[]),Nt&&(ce.trailingComments=Nt),W.bottomRightStack.push(ce)}},markEnd:function(ce,ze){return W.range&&(ce.range=[ze.start,C]),W.loc&&(ce.loc=new un(ze.startLineNumber===void 0?ze.lineNumber:ze.startLineNumber,ze.start-(ze.startLineStart===void 0?ze.lineStart:ze.startLineStart),O,C-U),this.postProcess(ce)),W.attachComment&&this.processComment(ce),ce},postProcess:function(ce){return W.source&&(ce.loc.source=W.source),ce},createArrayExpression:function(ce){return{type:g.ArrayExpression,elements:ce}},createAssignmentExpression:function(ce,ze,Nt){return{type:g.AssignmentExpression,operator:ce,left:ze,right:Nt}},createBinaryExpression:function(ce,ze,Nt){var Pr=ce==="||"||ce==="&&"?g.LogicalExpression:g.BinaryExpression;return{type:Pr,operator:ce,left:ze,right:Nt}},createBlockStatement:function(ce){return{type:g.BlockStatement,body:ce}},createBreakStatement:function(ce){return{type:g.BreakStatement,label:ce}},createCallExpression:function(ce,ze){return{type:g.CallExpression,callee:ce,arguments:ze}}
622,createCatchClause:function(ce,ze){return{type:g.CatchClause,param:ce,body:ze}},createConditionalExpression:function(ce,ze,Nt){return{type:g.ConditionalExpression,test:ce,consequent:ze,alternate:Nt}},createContinueStatement:function(ce){return{type:g.ContinueStatement,label:ce}},createDebuggerStatement:function(){return{type:g.DebuggerStatement}},createDoWhileStatement:function(ce,ze){return{type:g.DoWhileStatement,body:ce,test:ze}},createEmptyStatement:function(){return{type:g.EmptyStatement}},createExpressionStatement:function(ce){return{type:g.ExpressionStatement,expression:ce}},createForStatement:function(ce,ze,Nt,Pr){return{type:g.ForStatement,init:ce,test:ze,update:Nt,body:Pr}},createForInStatement:function(ce,ze,Nt){return{type:g.ForInStatement,left:ce,right:ze,body:Nt,each:!1}},createFunctionDeclaration:function(ce,ze,Nt,Pr){return{type:g.FunctionDeclaration,id:ce,params:ze,defaults:Nt,body:Pr,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(ce,ze,Nt,Pr){return{type:g.FunctionExpression,id:ce,params:ze,defaults:Nt,body:Pr,rest:null,generator:!1,expression:!1}},createIdentifier:function(ce){return{type:g.Identifier,name:ce}},createIfStatement:function(ce,ze,Nt){return{type:g.IfStatement,test:ce,consequent:ze,alternate:Nt}},createLabeledStatement:function(ce,ze){return{type:g.LabeledStatement,label:ce,body:ze}},createLiteral:function(ce){return{type:g.Literal,value:ce.value,raw:E.slice(ce.start,ce.end)}},createMemberExpression:function(ce,ze,Nt){return{type:g.MemberExpression,computed:ce==="[",object:ze,property:Nt}},createNewExpression:function(ce,ze){return{type:g.NewExpression,callee:ce,arguments:ze}},createObjectExpression:function(ce){return{type:g.ObjectExpression,properties:ce}},createPostfixExpression:function(ce,ze){return{type:g.UpdateExpression,operator:ce,argument:ze,prefix:!1}},createProgram:function(ce){return{type:g.Program,body:ce}},createProperty:function(ce,ze,Nt){return{type:g.Property,key:ze,value:Nt,kind:ce}},createReturnStatement:function(ce){return{type:g.ReturnStatement,argument:ce}},createSequenceExpression:function(ce){return{type:g.SequenceExpression,expressions:ce}},createSwitchCase:function(ce,ze){return{type:g.SwitchCase,test:ce,consequent:ze}},createSwitchStatement:function(ce,ze){return{type:g.SwitchStatement,discriminant:ce,cases:ze}},createThisExpression:function(){return{type:g.ThisExpression}},createThrowStatement:function(ce){return{type:g.ThrowStatement,argument:ce}},createTryStatement:function(ce,ze,Nt,Pr){return{type:g.TryStatement,block:ce,guardedHandlers:ze,handlers:Nt,finalizer:Pr}},createUnaryExpression:function(ce,ze){return ce==="++"||ce==="--"?{type:g.UpdateExpression,operator:ce,argument:ze,prefix:!0}:{type:g.UnaryExpression,operator:ce,argument:ze,prefix:!0}},createVariableDeclaration:function(ce,ze){return{type:g.VariableDeclaration,declarations:ce,kind:ze}},createVariableDeclarator:function(ce,ze){return{type:g.VariableDeclarator,id:ce,init:ze}},createWhileStatement:function(ce,ze){return{type:g.WhileStatement,test:ce,body:ze}},createWithStatement:function(ce,ze){return{type:g.WithStatement,object:ce,body:ze}}};function hn(){var ce,ze,Nt,Pr;return ce=C,ze=O,Nt=U,Me(),Pr=O!==ze,C=ce,O=ze,U=Nt,Pr}function rr(ce,ze){var Nt,Pr=Array.prototype.slice.call(arguments,2),pn=ze.replace(/%(\d)/g,function(ci,Wi){return V(Wi<Pr.length,"Message reference must be in range"),Pr[Wi]});throw typeof ce.lineNumber=="number"?(Nt=new Error("Line "+ce.lineNumber+": "+pn),Nt.index=ce.start,Nt.lineNumber=ce.lineNumber,Nt.column=ce.start-U+1):(Nt=new Error("Line "+O+": "+pn),Nt.index=C,Nt.lineNumber=O,Nt.column=C-U+1),Nt.description=pn,Nt}function Gr(){try{rr.apply(null,arguments)}catch(ce){if(W.errors)W.errors.push(ce);else throw ce}}function er(ce){if(ce.type===u.EOF&&rr(ce,v.UnexpectedEOS),ce.type===u.NumericLiteral&&rr(ce,v.UnexpectedNumber),ce.type===u.StringLiteral&&rr(ce,v.UnexpectedString),ce.type===u.Identifier&&rr(ce,v.UnexpectedIdentifier),ce.type===u.Keyword){if(ve(ce.value))rr(ce,v.UnexpectedReserved);else if(w&&Ue(ce.value)){Gr(ce,v.StrictReservedWord);return}rr(ce,v.UnexpectedToken,ce.value)}rr(ce,v.UnexpectedToken,ce.value)}function At(ce){var ze=ir();(ze.type!==u.Punctuator||ze.value!==ce)&&er(ze)}function dr(ce){var ze=ir();(ze.type!==u.Keyword||ze.value!==ce)&&er(ze)}function Y(ce){return j.type===u.Punctuator&&j.value===ce}function ot(ce){return j.type===u.Keyword&&j.value===ce}function Yt(){var ce;return j.type!==u.Punctuator?!1:(ce=j.value,ce==="="||ce==="*="||ce==="/="||ce==="%="||ce==="+="||ce==="-="||ce==="<<="||ce===">>="||ce===">>>="||ce==="&="||ce==="^="||ce==="|=")}function it(){var ce,ze=C,Nt=O,Pr=U,pn=j;if(E.charCodeAt(C)===59||Y(";
622")){ir();return}if(ce=O,Me(),O!==ce){C=ze,O=Nt,U=Pr,j=pn;return}j.type!==u.EOF&&!Y("}")&&er(j)}function Mt(ce){return ce.type===g.Identifier||ce.type===g.MemberExpression}function an(){var ce=[],ze;for(ze=j,At("[");!Y("]");)Y(",")?(ir(),ce.push(null)):(ce.push(Ke()),Y("]")||At(","));return ir(),F.markEnd(F.createArrayExpression(ce),ze)}function Cn(ce,ze){var Nt,Pr,pn;return Nt=w,pn=j,Pr=ks(),ze&&w&&We(ce[0].name)&&Gr(ze,v.StrictParamName),w=Nt,F.markEnd(F.createFunctionExpression(null,ce,[],Pr),pn)}function Ln(){var ce,ze;return ze=j,ce=ir(),ce.type===u.StringLiteral||ce.type===u.NumericLiteral?(w&&ce.octal&&Gr(ce,v.StrictOctalLiteral),F.markEnd(F.createLiteral(ce),ze)):F.markEnd(F.createIdentifier(ce.value),ze)}function In(){var ce,ze,Nt,Pr,pn,ci;if(ce=j,ci=j,ce.type===u.Identifier)return Nt=Ln(),ce.value==="get"&&!Y(":")?(ze=Ln(),At("("),At(")"),Pr=Cn([]),F.markEnd(F.createProperty("get",ze,Pr),ci)):ce.value==="set"&&!Y(":")?(ze=Ln(),At("("),ce=j,ce.type!==u.Identifier?(At(")"),Gr(ce,v.UnexpectedToken,ce.value),Pr=Cn([])):(pn=[Wn()],At(")"),Pr=Cn(pn,ce)),F.markEnd(F.createProperty("set",ze,Pr),ci)):(At(":"),Pr=Ke(),F.markEnd(F.createProperty("init",Nt,Pr),ci));if(ce.type===u.EOF||ce.type===u.Punctuator)er(ce);else return ze=Ln(),At(":"),Pr=Ke(),F.markEnd(F.createProperty("init",ze,Pr),ci)}function Si(){var ce=[],ze,Nt,Pr,pn,ci={},Wi=String,qi;for(qi=j,At("{");!Y("}");)ze=In(),ze.key.type===g.Identifier?Nt=ze.key.name:Nt=Wi(ze.key.value),pn=ze.kind==="init"?h.Data:ze.kind==="get"?h.Get:h.Set,Pr="$"+Nt,Object.prototype.hasOwnProperty.call(ci,Pr)?(ci[Pr]===h.Data?w&&pn===h.Data?Gr({},v.StrictDuplicateProperty):pn!==h.Data&&Gr({},v.AccessorDataProperty):pn===h.Data?Gr({},v.AccessorDataProperty):ci[Pr]&pn&&Gr({},v.AccessorGetSet),ci[Pr]|=pn):ci[Pr]=pn,ce.push(ze),Y("}")||At(",");return At("}"),F.markEnd(F.createObjectExpression(ce),qi)}function $i(){var ce;return At("("),ce=ut(),At(")"),ce}function tn(){var ce,ze,Nt,Pr;if(Y("("))return $i();if(Y("["))return an();if(Y("{"))return Si();if(ce=j.type,Pr=j,ce===u.Identifier)Nt=F.createIdentifier(ir().value);else if(ce===u.StringLiteral||ce===u.NumericLiteral)w&&j.octal&&Gr(j,v.StrictOctalLiteral),Nt=F.createLiteral(ir());else if(ce===u.Keyword){if(ot("function"))return Ea();ot("this")?(ir(),Nt=F.createThisExpression()):er(ir())}else ce===u.BooleanLiteral?(ze=ir(),ze.value=ze.value==="true",Nt=F.createLiteral(ze)):ce===u.NullLiteral?(ze=ir(),ze.value=null,Nt=F.createLiteral(ze)):Y("/")||Y("/=")?(typeof W.tokens<"u"?Nt=F.createLiteral(st()):Nt=F.createLiteral(Et()),Mr()):er(ir());return F.markEnd(Nt,Pr)}function Hi(){var ce=[];if(At("("),!Y(")"))for(;C<D&&(ce.push(Ke()),!Y(")"));)At(",");return At(")"),ce}function Ji(){var ce,ze;return ze=j,ce=ir(),Wr(ce)||er(ce),F.markEnd(F.createIdentifier(ce.value),ze)}function Yi(){return At("."),Ji()}function Ki(){var ce;return At("["),ce=ut(),At("]"),ce}function mi(){var ce,ze,Nt;return Nt=j,dr("new"),ce=Zn(),ze=Y("(")?Hi():[],F.markEnd(F.createNewExpression(ce,ze),Nt)}function ws(){var ce,ze,Nt,Pr,pn=M.allowIn;for(Pr=j,M.allowIn=!0,ce=ot("new")?mi():tn();;){if(Y("."))Nt=Yi(),ce=F.createMemberExpression(".",ce,Nt);else if(Y("("))ze=Hi(),ce=F.createCallExpression(ce,ze);else if(Y("["))Nt=Ki(),ce=F.createMemberExpression("[",ce,Nt);else break;F.markEnd(ce,Pr)}return M.allowIn=pn,ce}function Zn(){var ce,ze,Nt;for(V(M.allowIn,"callee of new expression always allow in keyword."),Nt=j,ce=ot("new")?mi():tn();Y(".")||Y("[");)Y("[")?(ze=Ki(),ce=F.createMemberExpression("[",ce,ze)):(ze=Yi(),ce=F.createMemberExpression(".",ce,ze)),F.markEnd(ce,Nt);return ce}function fs(){var ce,ze,Nt=j;return ce=ws(),j.type===u.Punctuator&&(Y("++")||Y("--"))&&!hn()&&(w&&ce.type===g.Identifier&&We(ce.name)&&Gr({},v.StrictLHSPostfix),Mt(ce)||Gr({},v.InvalidLHSInAssignment),ze=ir(),ce=F.markEnd(F.createPostfixExpression(ze.value,ce),Nt)),ce}function cs(){var ce,ze,Nt;return j.type!==u.Punctuator&&j.type!==u.Keyword?ze=fs():Y("++")||Y("--")?(Nt=j,ce=ir(),ze=cs(),w&&ze.type===g.Identifier&&We(ze.name)&&Gr({},v.StrictLHSPrefix),Mt(ze)||Gr({},v.InvalidLHSInAssignment),ze=F.createUnaryExpression(ce.value,ze),ze=F.markEnd(ze,Nt)):Y("+")||Y("-")||Y("~")||Y("!")?(Nt=j,ce=ir(),ze=cs(),ze=F.createUnaryExpression(ce.value,ze),ze=F.markEnd(ze,Nt)):ot("delete")||ot("void")||ot("typeof")?(Nt=j,ce=ir(),ze=cs(),ze=F.createUnaryExpression(ce.value,ze),ze=F.markEnd(ze,Nt),w&&ze.operator==="delete"&&ze.argument.type===g.Identifier&&Gr({},v.StrictDelete)):ze=fs(),ze}function vs(ce,ze){var Nt=0;if(ce.type!==u.Punctuator&&ce.type!==u.Keyword)return 0;switch(ce.value){case"||":Nt=1;break;case"&&":Nt=2;break;case"|":Nt=3;break;case"^":Nt=4;break;case"&":Nt=5;break;case"==":case"!=":case"===":case"!==":Nt=6;break;case"<":case">":case"<=":case">=":case"instanceof":Nt=7;break;case"in":Nt=ze?7:0;break;case"<<":case">>":case">>>":Nt=8;break;case"+":case"-":Nt=9;break;case"*":case"/":case"%":Nt=11;break;default:break}return Nt}function wr(){var ce,ze,Nt,Pr,pn,ci,Wi,qi,Li,Mi;if(ce=j,Li=cs(),Pr=j,pn=vs(Pr,M.allowIn),pn===0)return Li;
vendor: 5,251 bytes, line 622
622for(Pr.prec=pn,ir(),ze=[ce,j],Wi=cs(),ci=[Li,Pr,Wi];(pn=vs(j,M.allowIn))>0;){for(;ci.length>2&&pn<=ci[ci.length-2].prec;)Wi=ci.pop(),qi=ci.pop().value,Li=ci.pop(),Nt=F.createBinaryExpression(qi,Li,Wi),ze.pop(),ce=ze[ze.length-1],F.markEnd(Nt,ce),ci.push(Nt);Pr=ir(),Pr.prec=pn,ci.push(Pr),ze.push(j),Nt=cs(),ci.push(Nt)}for(Mi=ci.length-1,Nt=ci[Mi],ze.pop();Mi>1;)Nt=F.createBinaryExpression(ci[Mi-1].value,ci[Mi-2],Nt),Mi-=2,ce=ze.pop(),F.markEnd(Nt,ce);return Nt}function we(){var ce,ze,Nt,Pr,pn;return pn=j,ce=wr(),Y("?")&&(ir(),ze=M.allowIn,M.allowIn=!0,Nt=Ke(),M.allowIn=ze,At(":"),Pr=Ke(),ce=F.createConditionalExpression(ce,Nt,Pr),F.markEnd(ce,pn)),ce}function Ke(){var ce,ze,Nt,Pr,pn;return ce=j,pn=j,Pr=ze=we(),Yt()&&(Mt(ze)||Gr({},v.InvalidLHSInAssignment),w&&ze.type===g.Identifier&&We(ze.name)&&Gr(ce,v.StrictLHSAssignment),ce=ir(),Nt=Ke(),Pr=F.markEnd(F.createAssignmentExpression(ce.value,ze,Nt),pn)),Pr}function ut(){var ce,ze=j;if(ce=Ke(),Y(",")){for(ce=F.createSequenceExpression([ce]);C<D&&Y(",");)ir(),ce.expressions.push(Ke());F.markEnd(ce,ze)}return ce}function Kt(){for(var ce=[],ze;C<D&&!(Y("}")||(ze=ia(),typeof ze>"u"));)ce.push(ze);return ce}function ar(){var ce,ze;return ze=j,At("{"),ce=Kt(),At("}"),F.markEnd(F.createBlockStatement(ce),ze)}function Wn(){var ce,ze;return ze=j,ce=ir(),ce.type!==u.Identifier&&er(ce),F.markEnd(F.createIdentifier(ce.value),ze)}function hi(ce){var ze=null,Nt,Pr;return Pr=j,Nt=Wn(),w&&We(Nt.name)&&Gr({},v.StrictVarName),ce==="const"?(At("="),ze=Ke()):Y("=")&&(ir(),ze=Ke()),F.markEnd(F.createVariableDeclarator(Nt,ze),Pr)}function Tt(ce){var ze=[];do{if(ze.push(hi(ce)),!Y(","))break;ir()}while(C<D);return ze}function qr(){var ce;return dr("var"),ce=Tt(),it(),F.createVariableDeclaration(ce,"var")}function Vr(ce){var ze,Nt;return Nt=j,dr(ce),ze=Tt(ce),it(),F.markEnd(F.createVariableDeclaration(ze,ce),Nt)}function Or(){return At(";"),F.createEmptyStatement()}function Pn(){var ce=ut();return it(),F.createExpressionStatement(ce)}function zr(){var ce,ze,Nt;return dr("if"),At("("),ce=ut(),At(")"),ze=Gs(),ot("else")?(ir(),Nt=Gs()):Nt=null,F.createIfStatement(ce,ze,Nt)}function Hn(){var ce,ze,Nt;return dr("do"),Nt=M.inIteration,M.inIteration=!0,ce=Gs(),M.inIteration=Nt,dr("while"),At("("),ze=ut(),At(")"),Y(";")&&ir(),F.createDoWhileStatement(ce,ze)}function fi(){var ce,ze,Nt;return dr("while"),At("("),ce=ut(),At(")"),Nt=M.inIteration,M.inIteration=!0,ze=Gs(),M.inIteration=Nt,F.createWhileStatement(ce,ze)}function Ti(){var ce,ze,Nt;return Nt=j,ce=ir(),ze=Tt(),F.markEnd(F.createVariableDeclaration(ze,ce.value),Nt)}function ss(){var ce,ze,Nt,Pr,pn,ci,Wi,qi=M.allowIn;return ce=ze=Nt=null,dr("for"),At("("),Y(";")?ir():(ot("var")||ot("let")?(M.allowIn=!1,ce=Ti(),M.allowIn=qi,ce.declarations.length===1&&ot("in")&&(ir(),Pr=ce,pn=ut(),ce=null)):(M.allowIn=!1,ce=ut(),M.allowIn=qi,ot("in")&&(Mt(ce)||Gr({},v.InvalidLHSInForIn),ir(),Pr=ce,pn=ut(),ce=null)),typeof Pr>"u"&&At(";")),typeof Pr>"u"&&(Y(";")||(ze=ut()),At(";"),Y(")")||(Nt=ut())),At(")"),Wi=M.inIteration,M.inIteration=!0,ci=Gs(),M.inIteration=Wi,typeof Pr>"u"?F.createForStatement(ce,ze,Nt,ci):F.createForInStatement(Pr,pn,ci)}function xi(){var ce=null,ze;return dr("continue"),E.charCodeAt(C)===59?(ir(),M.inIteration||rr({},v.IllegalContinue),F.createContinueStatement(null)):hn()?(M.inIteration||rr({},v.IllegalContinue),F.createContinueStatement(null)):(j.type===u.Identifier&&(ce=Wn(),ze="$"+ce.name,Object.prototype.hasOwnProperty.call(M.labelSet,ze)||rr({},v.UnknownLabel,ce.name)),it(),ce===null&&!M.inIteration&&rr({},v.IllegalContinue),F.createContinueStatement(ce))}function ms(){var ce=null,ze;return dr("break"),E.charCodeAt(C)===59?(ir(),M.inIteration||M.inSwitch||rr({},v.IllegalBreak),F.createBreakStatement(null)):hn()?(M.inIteration||M.inSwitch||rr({},v.IllegalBreak),F.createBreakStatement(null)):(j.type===u.Identifier&&(ce=Wn(),ze="$"+ce.name,Object.prototype.hasOwnProperty.call(M.labelSet,ze)||rr({},v.UnknownLabel,ce.name)),it(),ce===null&&!(M.inIteration||M.inSwitch)&&rr({},v.IllegalBreak),F.createBreakStatement(ce))}function wi(){var ce=null;return dr("return"),M.inFunctionBody||Gr({},v.IllegalReturn),E.charCodeAt(C)===32&&ae(E.charCodeAt(C+1))?(ce=ut(),it(),F.createReturnStatement(ce)):hn()?F.createReturnStatement(null):(Y(";")||!Y("}")&&j.type!==u.EOF&&(ce=ut()),it(),F.createReturnStatement(ce))}function Ls(){var ce,ze;return w&&(Me(),Gr({},v.StrictModeWith)),dr("with"),At("("),ce=ut(),At(")"),ze=Gs(),F.createWithStatement(ce,ze)}function as(){var ce,ze=[],Nt,Pr;for(Pr=j,ot("default")?(ir(),ce=null):(dr("case"),ce=ut()),At(":");C<D&&!(Y("}")||ot("default")||ot("case"));)Nt=Gs(),ze.push(Nt);return F.markEnd(F.createSwitchCase(ce,ze),Pr)}function rs(){var ce,ze,Nt,Pr,pn;if(dr("switch"),At("("),ce=ut(),At(")"),At("{"),ze=[],Y("}"))return ir(),F.createSwitchStatement(ce,ze);for(Pr=M.inSwitch,M.inSwitch=!0,pn=!1;C<D&&!Y("}");)Nt=as(),Nt.test===null&&(pn&&rr({},v.MultipleDefaultsInSwitch),pn=!0),ze.push(Nt);return M.inSwitch=Pr,At("}"),F.createSwitchStatement(ce,ze)}function xa(){var ce;return dr("throw"),hn()&&rr({},v.NewlineAfterThrow),ce=ut(),it(),F.createThrowStatement(ce)}function ka(){var ce,ze,Nt;return Nt=j,dr("catch"),At("("),Y(")")&&er(j),ce=Wn(),w&&We(ce.name)&&Gr({}
622,v.StrictCatchVariable),At(")"),ze=ar(),F.markEnd(F.createCatchClause(ce,ze),Nt)}function Is(){var ce,ze=[],Nt=null;return dr("try"),ce=ar(),ot("catch")&&ze.push(ka()),ot("finally")&&(ir(),Nt=ar()),ze.length===0&&!Nt&&rr({},v.NoCatchOrFinally),F.createTryStatement(ce,[],ze,Nt)}function Ms(){return dr("debugger"),it(),F.createDebuggerStatement()}function Gs(){var ce=j.type,ze,Nt,Pr,pn;if(ce===u.EOF&&er(j),ce===u.Punctuator&&j.value==="{")return ar();if(pn=j,ce===u.Punctuator)switch(j.value){case";":return F.markEnd(Or(),pn);case"(":return F.markEnd(Pn(),pn);default:break}if(ce===u.Keyword)switch(j.value){case"break":return F.markEnd(ms(),pn);case"continue":return F.markEnd(xi(),pn);case"debugger":return F.markEnd(Ms(),pn);case"do":return F.markEnd(Hn(),pn);case"for":return F.markEnd(ss(),pn);case"function":return F.markEnd(Ys(),pn);case"if":return F.markEnd(zr(),pn);case"return":return F.markEnd(wi(),pn);case"switch":return F.markEnd(rs(),pn);case"throw":return F.markEnd(xa(),pn);case"try":return F.markEnd(Is(),pn);case"var":return F.markEnd(qr(),pn);case"while":return F.markEnd(fi(),pn);case"with":return F.markEnd(Ls(),pn);default:break}return ze=ut(),ze.type===g.Identifier&&Y(":")?(ir(),Pr="$"+ze.name,Object.prototype.hasOwnProperty.call(M.labelSet,Pr)&&rr({},v.Redeclaration,"Label",ze.name),M.labelSet[Pr]=!0,Nt=Gs(),delete M.labelSet[Pr],F.markEnd(F.createLabeledStatement(ze,Nt),pn)):(it(),F.markEnd(F.createExpressionStatement(ze),pn))}function ks(){var ce,ze=[],Nt,Pr,pn,ci,Wi,qi,Li,Mi;for(Mi=j,At("{");C<D&&!(j.type!==u.StringLiteral||(Nt=j,ce=ia(),ze.push(ce),ce.expression.type!==g.Literal));)Pr=E.slice(Nt.start+1,Nt.end-1),Pr==="use strict"?(w=!0,pn&&Gr(pn,v.StrictOctalLiteral)):!pn&&Nt.octal&&(pn=Nt);for(ci=M.labelSet,Wi=M.inIteration,qi=M.inSwitch,Li=M.inFunctionBody,M.labelSet={},M.inIteration=!1,M.inSwitch=!1,M.inFunctionBody=!0;C<D&&!(Y("}")||(ce=ia(),typeof ce>"u"));)ze.push(ce);return At("}"),M.labelSet=ci,M.inIteration=Wi,M.inSwitch=qi,M.inFunctionBody=Li,F.markEnd(F.createBlockStatement(ze),Mi)}function ha(ce){var ze,Nt=[],Pr,pn,ci,Wi,qi;if(At("("),!Y(")"))for(ci={};C<D&&(Pr=j,ze=Wn(),Wi="$"+Pr.value,w?(We(Pr.value)&&(pn=Pr,qi=v.StrictParamName),Object.prototype.hasOwnProperty.call(ci,Wi)&&(pn=Pr,qi=v.StrictParamDupe)):ce||(We(Pr.value)?(ce=Pr,qi=v.StrictParamName):Ue(Pr.value)?(ce=Pr,qi=v.StrictReservedWord):Object.prototype.hasOwnProperty.call(ci,Wi)&&(ce=Pr,qi=v.StrictParamDupe)),Nt.push(ze),ci[Wi]=!0,!Y(")"));)At(",");return At(")"),{params:Nt,stricted:pn,firstRestricted:ce,message:qi}}function Ys(){var ce,ze=[],Nt,Pr,pn,ci,Wi,qi,Li,Mi;return Mi=j,dr("function"),Pr=j,ce=Wn(),w?We(Pr.value)&&Gr(Pr,v.StrictFunctionName):We(Pr.value)?(Wi=Pr,qi=v.StrictFunctionName):Ue(Pr.value)&&(Wi=Pr,qi=v.StrictReservedWord),ci=ha(Wi),ze=ci.params,pn=ci.stricted,Wi=ci.firstRestricted,ci.message&&(qi=ci.message),Li=w,Nt=ks(),w&&Wi&&rr(Wi,qi),w&&pn&&Gr(pn,qi),w=Li,F.markEnd(F.createFunctionDeclaration(ce,ze,[],Nt),Mi)}function Ea(){var ce,ze=null,Nt,Pr,pn,ci,Wi=[],qi,Li,Mi;return Mi=j,dr("function"),Y("(")||(ce=j,ze=Wn(),w?We(ce.value)&&Gr(ce,v.StrictFunctionName):We(ce.value)?(Pr=ce,pn=v.StrictFunctionName):Ue(ce.value)&&(Pr=ce,pn=v.StrictReservedWord)),ci=ha(Pr),Wi=ci.params,Nt=ci.stricted,Pr=ci.firstRestricted,ci.message&&(pn=ci.message),Li=w,qi=ks(),w&&Pr&&rr(Pr,pn),w&&Nt&&Gr(Nt,pn),w=Li,F.markEnd(F.createFunctionExpression(ze,Wi,[],qi),Mi)}function ia(){if(j.type===u.Keyword)switch(j.value){case"const":case"let":return Vr(j.value);case"function":return Ys();default:return Gs()}if(j.type!==u.EOF)return Gs()}function us(){for(var ce,ze=[],Nt,Pr,pn;C<D&&(Nt=j,!(Nt.type!==u.StringLiteral||(ce=ia(),ze.push(ce),ce.expression.type!==g.Literal)));)Pr=E.slice(Nt.start+1,Nt.end-1),Pr==="use strict"?(w=!0,pn&&Gr(pn,v.StrictOctalLiteral)):!pn&&Nt.octal&&(pn=Nt);for(;C<D&&(ce=ia(),!(typeof ce>"u"));)ze.push(ce);return ze}function eo(){var ce,ze;return Me(),Mr(),ze=j,w=!1,ce=us(),F.markEnd(F.createProgram(ce),ze)}function wa(){var ce,ze,Nt,Pr=[];for(ce=0;ce<W.tokens.length;++ce)ze=W.tokens[ce],Nt={type:ze.type,value:ze.value},W.range&&(Nt.range=ze.range),W.loc&&(Nt.loc=ze.loc),Pr.push(Nt);W.tokens=Pr}function da(ce,ze){var Nt,Pr,pn;Nt=String,typeof ce!="string"&&!(ce instanceof String)&&(ce=Nt(ce)),F=T,E=ce,C=0,O=E.length>0?1:0,U=0,D=E.length,j=null,M={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},W={},ze=ze||{},ze.tokens=!0,W.tokens=[],W.tokenize=!0,W.openParenToken=-1,W.openCurlyToken=-1,W.range=typeof ze.range=="boolean"&&ze.range,W.loc=typeof ze.loc=="boolean"&&ze.loc,typeof ze.comment=="boolean"&&ze.comment&&(W.comments=[]),typeof ze.tolerant=="boolean"&&ze.tolerant&&(W.errors=[]);try{if(Mr(),j.type===u.EOF)return W.tokens;for(Pr=ir();j.type!==u.EOF;)try{Pr=ir()}catch(ci){if(Pr=j,W.errors){W.errors.push(ci);break}else throw ci}wa(),pn=W.tokens,typeof W.comments<"u"&&(pn.comments=W.comments),typeof W.errors<"u"&&(pn.errors=W.errors)}catch(ci){throw ci}finally{W={}}return pn}function js(ce,ze){var Nt,Pr;Pr=String,typeof ce!="string"&&!(ce instanceof String)&&(ce=Pr(ce)),F=T,E=ce,C=0,O=E.length>0?1:0,U=0,D=E.length,j=null,M={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},W={},typeof ze<"u"&&(W.range=typeof ze.range=="boolean"&&ze.range,W.loc=typeof ze.loc=="boolean"&&ze.loc,W.attachComment=typeof ze.attachComment=="boolean"&&ze.attachComment,W.loc&&ze.source!==null&&ze.source!==void 0&&(W.source=Pr(ze.source)),typeof ze.tokens=="boolean"&&ze.tokens&&(W.tokens=[]),typeof ze.comment=="boolean"&&ze.comment&&(W.comments=[]),typeof ze.tolerant=="boolean"&&ze.tolerant&&(W.errors=[]),W.attachComment&&(W.range=!0,W.comments=[],W.bottomRightStack=[],W.trailingComments=[],W.leadingComments=[]));try{Nt=eo(),typeof W.comments<"u"&&(Nt.comments=W.comments),typeof W.tokens<"u"&&(wa(),Nt.tokens=W.tokens),typeof W.errors<"u"&&(Nt.errors=W.errors)}catch(pn){throw pn}finally{W={}}return Nt}s.version="1.2.5",s.tokenize=da,s.parse=js,s.Syntax=(function(){var ce,ze={};typeof Object.create=="function"&&(ze=Object.create(null));for(ce in g)g.hasOwnProperty(ce)&&(ze[ce]=g[ce]);return typeof Object.freeze=="function"&&Object.freeze(ze),ze})()})},{}],1:[function(r,a,i){(function(s){var u=(function(){var l={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(b,T,E,w,C,O,U){w.ast||(w.ast=m,m.initialize());var D=O.length-1;switch(C){case 1:return w.ast.set({expression:{type:"root",value:O[D]}}),w.ast.unshift(),w.ast.yield();case 2:return w.ast.set({expression:{type:"root",value:O[D-1]}}),w.ast.unshift(),w.ast.yield();case 3:return w.ast.unshift(),w.ast.yield();
vendor: 6,640 bytes, lines 622-624
622case 4:return w.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:O[D-1]}}),w.ast.unshift(),w.ast.yield();case 5:break;case 6:break;case 7:w.ast.set({operation:"member"}),w.ast.push();break;case 8:w.ast.set({operation:"subscript"}),w.ast.push();break;case 9:w.ast.set({scope:"child"});break;case 10:w.ast.set({scope:"descendant"});break;case 11:break;case 12:w.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:w.ast.set({expression:{type:"wildcard",value:O[D]}});break;case 15:w.ast.set({expression:{type:"identifier",value:O[D]}});break;case 16:w.ast.set({expression:{type:"script_expression",value:O[D]}});break;case 17:w.ast.set({expression:{type:"numeric_literal",value:parseInt(O[D])}});break;case 18:break;case 19:w.ast.set({scope:"child"});break;case 20:w.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:O[D].length>1?w.ast.set({expression:{type:"union",value:O[D]}}):this.$=O[D];break;case 25:this.$=[O[D]];break;case 26:this.$=O[D-2].concat(O[D]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(O[D])}},w.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:O[D]}},w.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:O[D]}},w.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:O[D]}},w.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:O[D]}},w.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:O[D]}},w.ast.set(this.$);break;case 33:this.$=O[D];break;case 34:this.$=O[D];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(b,T){if(T.recoverable)this.trace(b);else throw new Error(b)},parse:function(b){var T=this,E=[0],w=[null],C=[],O=this.table,U="",D=0,F=0,j=0,M=2,W=1,V=C.slice.call(arguments,1);this.lexer.setInput(b),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var q=this.lexer.yylloc;C.push(q);var J=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function re(rt){E.length=E.length-2*rt,w.length=w.length-rt,C.length=C.length-rt}function he(){var rt;return rt=T.lexer.lex()||W,typeof rt!="number"&&(rt=T.symbols_[rt]||rt),rt}for(var fe,ae,ye,ve,Ue,We,de={},xe,Fe,Xe,Me;;){if(ye=E[E.length-1],this.defaultActions[ye]?ve=this.defaultActions[ye]:((fe===null||typeof fe>"u")&&(fe=he()),ve=O[ye]&&O[ye][fe]),typeof ve>"u"||!ve.length||!ve[0]){var Ze="";Me=[];for(xe in O[ye])this.terminals_[xe]&&xe>M&&Me.push("'"+this.terminals_[xe]+"'");this.lexer.showPosition?Ze="Parse error on line "+(D+1)+`: 623`+this.lexer.showPosition()+` 624Expecting `+Me.join(", ")+", got '"+(this.terminals_[fe]||fe)+"'":Ze="Parse error on line "+(D+1)+": Unexpected "+(fe==W?"end of input":"'"+(this.terminals_[fe]||fe)+"'"),this.parseError(Ze,{text:this.lexer.match,token:this.terminals_[fe]||fe,line:this.lexer.yylineno,loc:q,expected:Me})}if(ve[0]instanceof Array&&ve.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ye+", token: "+fe);switch(ve[0]){case 1:E.push(fe),w.push(this.lexer.yytext),C.push(this.lexer.yylloc),E.push(ve[1]),fe=null,ae?(fe=ae,ae=null):(F=this.lexer.yyleng,U=this.lexer.yytext,D=this.lexer.yylineno,q=this.lexer.yylloc,j>0&&j--);break;case 2:if(Fe=this.productions_[ve[1]][1],de.$=w[w.length-Fe],de._$={first_line:C[C.length-(Fe||1)].first_line,last_line:C[C.length-1].last_line,first_column:C[C.length-(Fe||1)].first_column,last_column:C[C.length-1].last_column},J&&(de._$.range=[C[C.length-(Fe||1)].range[0],C[C.length-1].range[1]]),We=this.performAction.apply(de,[U,F,D,this.yy,ve[1],w,C].concat(V)),typeof We<"u")return We;Fe&&(E=E.slice(0,-1*Fe*2),w=w.slice(0,-1*Fe),C=C.slice(0,-1*Fe)),E.push(this.productions_[ve[1]][0]),w.push(de.$),C.push(de._$),Xe=O[E[E.length-2]][E[E.length-1]],E.push(Xe);break;case 3:return!0}}return!0}},m={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(v){for(var b in v)this._node[b]=v[b];return this._node},node:function(v){return arguments.length&&(this._node=v),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var v=this._nodes;return this.initialize(),v}},g=(function(){var v={EOF:1,parseError:function(T,E){if(this.yy.parser)this.yy.parser.parseError(T,E);else throw new Error(T)},setInput:function(b){return this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
vendor: 4,744 bytes, lines 624-627
624,input:function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var T=b.match(/(?:\r\n?|\n).*/g);return T?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},unput:function(b){var T=b.length,E=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-T-1),this.offset-=T;var w=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),E.length-1&&(this.yylineno-=E.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:E?(E.length===w.length?this.yylloc.first_column:0)+w[w.length-E.length].length-E[0].length:this.yylloc.first_column-T},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-T]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). 625`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(b){this.unput(this.match.slice(b))},pastInput:function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var b=this.pastInput(),T=new Array(b.length+1).join("-");return b+this.upcomingInput()+` 626`+T+"^"},test_match:function(b,T){var E,w,C;if(this.options.backtrack_lexer&&(C={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(C.yylloc.range=this.yylloc.range.slice(0))),w=b[0].match(/(?:\r\n?|\n).*/g),w&&(this.yylineno+=w.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:w?w[w.length-1].length-w[w.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+b[0].length},this.yytext+=b[0],this.match+=b[0],this.matches=b,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(b[0].length),this.matched+=b[0],E=this.performAction.call(this,this.yy,this,T,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),E)return E;if(this._backtrack){for(var O in C)this[O]=C[O];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var b,T,E,w;this._more||(this.yytext="",this.match="");for(var C=this._currentRules(),O=0;O<C.length;O++)if(E=this._input.match(this.rules[C[O]]),E&&(!T||E[0].length>T[0].length)){if(T=E,w=O,this.options.backtrack_lexer){if(b=this.test_match(E,C[O]),b!==!1)return b;if(this._backtrack){T=!1;continue}else return!1}else if(!this.options.flex)break}return T?(b=this.test_match(T,C[w]),b!==!1?b:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. 627`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var T=this.next();return T||this.lex()},begin:function(T){this.conditionStack.push(T)},popState:function(){var T=this.conditionStack.length-1;return T>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(T){return T=this.conditionStack.length-1-Math.abs(T||0),T>=0?this.conditionStack[T]:"INITIAL"},pushState:function(T){this.begin(T)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(T,E,w,C){var O=C;switch(w){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return E.yytext=E.yytext.substr(1,E.yyleng-2),32;
vendor: 11,179 bytes, line 627
627case 11:return E.yytext=E.yytext.substr(1,E.yyleng-2),33;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return v})();l.lexer=g;function h(){this.yy={}}return h.prototype=l,l.Parser=h,new h})();typeof r<"u"&&typeof i<"u"&&(i.parser=u,i.Parser=u.Parser,i.parse=function(){return u.parse.apply(u,arguments)},i.main=function(m){m[1]||(console.log("Usage: "+m[0]+" FILE"),s.exit(1));var g=r("fs").readFileSync(r("path").normalize(m[1]),"utf8");return i.parser.parse(g)},typeof a<"u"&&r.main===a&&i.main(s.argv.slice(1)))}).call(this,r("_process"))},{_process:14,fs:12,path:13}],2:[function(r,a,i){a.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(r,a,i){var s=r("./dict"),u=r("fs"),l={lex:{macros:{esc:"\\\\",int:s.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[s.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[s.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[s.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};u.readFileSync&&(l.moduleInclude=u.readFileSync(r.resolve("../include/module.js")),l.actionInclude=u.readFileSync(r.resolve("../include/action.js"))),a.exports=l},{"./dict":2,fs:12}],4:[function(r,a,i){var s=r("./aesprim"),u=r("./slice"),l=r("static-eval"),m=r("underscore").uniq,g=Object.create(null);g.constructor=!0,g.__proto__=!0,g.prototype=!0;function h(M){return typeof M=="string"&&g[M]===!0}function v(M){if(!M||typeof M!="object")return!1;function W(V){if(!V||typeof V!="object"||!V.type)return!1;switch(V.type){case"Literal":return!0;case"Identifier":return V.name==="@";case"MemberExpression":return W(V.object)?!V.computed&&V.property.type==="Identifier"?!h(V.property.name):V.computed?!(!W(V.property)||V.property.type==="Literal"&&h(String(V.property.value))):!1:!1;case"UnaryExpression":return W(V.argument);case"BinaryExpression":case"LogicalExpression":return W(V.left)&&W(V.right);case"ConditionalExpression":return W(V.test)&&W(V.consequent)&&W(V.alternate);case"ArrayExpression":for(var q=0;q<V.elements.length;q++)if(!W(V.elements[q]))return!1;return!0;case"ObjectExpression":for(var J=0;J<V.properties.length;J++){var re=V.properties[J];if(re.key&&(re.key.type==="Identifier"&&h(re.key.name)||re.key.type==="Literal"&&h(String(re.key.value)))||!W(re.value))return!1}return!0;case"CallExpression":case"NewExpression":case"FunctionExpression":case"ArrowFunctionExpression":case"ThisExpression":case"AssignmentExpression":case"UpdateExpression":case"SequenceExpression":case"TemplateLiteral":case"TemplateElement":case"TaggedTemplateExpression":case"ReturnStatement":case"ExpressionStatement":return!1;default:return!1}}return W(M)}var b=function(){return this.initialize.apply(this,arguments)};b.prototype.initialize=function(){this.traverse=C(!0),this.descend=C()},b.prototype.keys=Object.keys,b.prototype.resolve=function(M){var W=[M.operation,M.scope,M.expression.type].join("-"),V=this._fns[W];if(!V)throw new Error("couldn't resolve key: "+W);return V.bind(this)},b.prototype.register=function(M,W){if(!W instanceof Function)throw new Error("handler must be a function");this._fns[M]=W},b.prototype._fns={"member-child-identifier":function(M,W){var V=M.expression.value,q=W.value;if(q instanceof Object&&V in q)return[{value:q[V],path:W.path.concat(V)}]},"member-descendant-identifier":U(function(M,W,V){return M==V}),"subscript-child-numeric_literal":O(function(M,W,V){return M===V}),"member-child-numeric_literal":O(function(M,W,V){return String(M)===String(V)}),"subscript-descendant-numeric_literal":U(function(M,W,V){return M===V}),"member-child-wildcard":O(function(){return!0}),"member-descendant-wildcard":U(function(){return!0}),"subscript-descendant-wildcard":U(function(){return!0}),"subscript-child-wildcard":O(function(){return!0}),"subscript-child-slice":function(M,W){if(E(W.value)){var V=M.expression.value.split(":").map(j),q=W.value.map(function(J,re){return{value:J,path:W.path.concat(re)}});return u.apply(null,[q].concat(V))}},"subscript-child-union":function(M,W){var V=[];return M.expression.value.forEach(function(q){var J={operation:"subscript",scope:"child",expression:q.expression},re=this.resolve(J),he=re(J,W);he&&(V=V.concat(he))},this),F(V)},"subscript-descendant-union":function(M,W,V){var q=r(".."),J=this,re=[],he=q.nodes(W,"$..*").slice(1);return he.forEach(function(fe){re.length>=V||M.expression.value.forEach(function(ae){var ye={operation:"subscript",scope:"child",expression:ae.expression},ve=J.resolve(ye),Ue=ve(ye,fe);re=re.concat(Ue)})}),F(re)},"subscript-child-filter_expression":function(M,W,V){var q=M.expression.value.slice(2,-1),J=s.parse(q).body[0].expression,re=function(he,fe){return D(J,{"@":fe})};return this.descend(W,null,re,V)},"subscript-descendant-filter_expression":function(M,W,V){var q=M.expression.value.slice(2,-1),J=s.parse(q).body[0].expression,re=function(he,fe){return D(J,{"@":fe})};return this.traverse(W,null,re,V)},"subscript-child-script_expression":function(M,W){var V=M.expression.value.slice(1,-1);return T(W,V,"$[{{value}}]")},"member-child-script_expression":function(M,W){var V=M.expression.value.slice(1,-1);return T(W,V,"$.{{value}}")},"member-descendant-script_expression":function(M,W){var V=M.expression.value.slice(1,-1);return T(W,V,"$..value")}},b.prototype._fns["subscript-child-string_literal"]=b.prototype._fns["member-child-identifier"],b.prototype._fns["member-descendant-numeric_literal"]=b.prototype._fns["subscript-descendant-string_literal"]=b.prototype._fns["member-descendant-identifier"];function T(M,W,V){var q=r("./index"),J=s.parse(W).body[0].expression,re=D(J,{"@":M.value}),he=V.replace(/\{\{\s*value\s*\}\}/g,re),fe=q.nodes(M.value,he);return fe.forEach(function(ae){ae.path=M.path.concat(ae.path.slice(1))}),fe}function E(M){return Array.isArray(M)}function w(M){return M&&!(M instanceof Array)&&M instanceof Object}function C(M){return function(W,V,q,J){var re=W.value,he=W.path,fe=[],ae=function(ye,ve){E(ye)?(ye.forEach(function(Ue,We){fe.length>=J||q(We,Ue,V)&&fe.push({path:ve.concat(We),value:Ue})}),ye.forEach(function(Ue,We){fe.length>=J||M&&ae(Ue,ve.concat(We))})):w(ye)&&(this.keys(ye).forEach(function(Ue){fe.length>=J||q(Ue,ye[Ue],V)&&fe.push({path:ve.concat(Ue),value:ye[Ue]})}),this.keys(ye).forEach(function(Ue){fe.length>=J||M&&ae(ye[Ue],ve.concat(Ue))}))}.bind(this);return ae(re,he),fe}}function O(M){return function(W,V,q){return this.descend(V,W.expression.value,M,q)}}function U(M){return function(W,V,q){return this.traverse(V,W.expression.value,M,q)}}function D(M,W){if(!v(M))throw new Error("Unsafe expression: script and filter expressions may only access the current node (@) with safe property names");try{return l(M,W)}catch{}}function F(M){return M=M.filter(function(W){return W}),m(M,function(W){return W.path.map(function(V){return String(V).replace("-","--")}).join("-")})}function j(M){var W=String(M);return W.match(/^-?[0-9]+$/)?parseInt(W):null}a.exports=b},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(r,a,i){var s=r("assert"),u=r("./dict"),l=r("./parser"),m=r("./handlers"),g=function(){this.initialize.apply(this,arguments)};g.prototype.initialize=function(){this.parser=new l,this.handlers=new m},g.prototype.parse=function(T){return s.ok(h(T),"we need a path"),this.parser.parse(T)},g.prototype.parent=function(T,E){s.ok(T instanceof Object,"obj needs to be an object"),s.ok(E,"we need a path");var w=this.nodes(T,E)[0];w&&this._assert_safe_path_keys(w.path);
627var C=w.path.pop();return this.value(T,w.path)},g.prototype.apply=function(T,E,w){s.ok(T instanceof Object,"obj needs to be an object"),s.ok(E,"we need a path"),s.equal(typeof w,"function","fn needs to be function");var C=this.nodes(T,E).sort(function(O,U){return U.path.length-O.path.length});return C.forEach(function(O){this._assert_safe_path_keys(O.path);var U=O.path.pop(),D=this.value(T,this.stringify(O.path)),F=O.value=w.call(T,D[U]);D[U]=F},this),C},g.prototype.value=function(T,E,w){if(s.ok(T instanceof Object,"obj needs to be an object"),s.ok(E,"we need a path"),arguments.length>=3){var C=this.nodes(T,E).shift();if(!C)return this._vivify(T,E,w);this._assert_safe_path_keys(C.path);var O=C.path.slice(-1).shift(),U=this.parent(T,this.stringify(C.path));U[O]=w}return this.query(T,this.stringify(E),1).shift()},g.prototype._vivify=function(T,E,w){var C=this;s.ok(T instanceof Object,"obj needs to be an object"),s.ok(E,"we need a path");var O=this.parser.parse(E).map(function(D){return D.expression.value});this._assert_safe_path_keys(O);var U=function(D,F){var j=D.pop(),M=C.value(T,D);M||(U(D.concat(),typeof j=="string"?{}:[]),M=C.value(T,D)),C._assert_safe_key(j),M[j]=F};return U(O,w),this.query(T,E)[0]},g.prototype.query=function(T,E,w){s.ok(T instanceof Object,"obj needs to be an object"),s.ok(h(E),"we need a path");var C=this.nodes(T,E,w).map(function(O){return O.value});return C},g.prototype.paths=function(T,E,w){s.ok(T instanceof Object,"obj needs to be an object"),s.ok(E,"we need a path");var C=this.nodes(T,E,w).map(function(O){return O.path});return C},g.prototype.nodes=function(T,E,w){if(s.ok(T instanceof Object,"obj needs to be an object"),s.ok(E,"we need a path"),w===0)return[];var C=this.parser.parse(E);this._assert_safe_components(C);var O=this.handlers,U=[{path:["$"],value:T}],D=[];return C.length&&C[0].expression.type=="root"&&C.shift(),C.length?(C.forEach(function(F,j){if(!(D.length>=w)){var M=O.resolve(F),W=[];U.forEach(function(V){if(!(D.length>=w)){var q=M(F,V,w);j==C.length-1?D=D.concat(q||[]):W=W.concat(q||[])}}),U=W}}),w?D.slice(0,w):D):U},g.prototype.stringify=function(T){s.ok(T,"we need a path");var E="$",w={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return T=this._normalize(T),T.forEach(function(C){if(C.expression.type!="root"){var O=[C.scope,C.operation].join("-"),U=w[O],D;if(C.expression.type=="string_literal"?D=JSON.stringify(C.expression.value):D=C.expression.value,!U)throw new Error("couldn't find template "+O);E+=U.replace(/{{value}}/,D)}}),E},g.prototype._normalize=function(T){if(s.ok(T,"we need a path"),typeof T=="string")return this.parser.parse(T);if(Array.isArray(T)&&typeof T[0]=="string"){var E=[{expression:{type:"root",value:"$"}}];return T.forEach(function(w,C){if(!(w=="$"&&C===0))if(typeof w=="string"&&w.match("^"+u.identifier+"$"))this._assert_safe_key(w),E.push({operation:"member",scope:"child",expression:{value:w,type:"identifier"}});else{var O=typeof w=="number"?"numeric_literal":"string_literal";O==="string_literal"&&this._assert_safe_key(w),E.push({operation:"subscript",scope:"child",expression:{value:w,type:O}})}},this),E}else if(Array.isArray(T)&&typeof T[0]=="object")return T;throw new Error("couldn't understand path "+T)},g.prototype._assert_safe_key=function(T){if(v(T))throw new Error("Unsafe key in JSONPath: "+T)},g.prototype._assert_safe_path_keys=function(T){Array.isArray(T)&&T.forEach(function(E){E!=="$"&&typeof E=="string"&&this._assert_safe_key(E)},this)},g.prototype._assert_safe_components=function(T){var E=this;if(Array.isArray(T)){var w=function(C){if(C){if(C.type==="identifier"||C.type==="string_literal"){E._assert_safe_key(C.value);return}C.type==="union"&&Array.isArray(C.value)&&C.value.forEach(function(O){O&&O.expression&&w(O.expression)})}};T.forEach(function(C){C&&C.expression&&w(C.expression)})}};function h(T){return Object.prototype.toString.call(T)=="[object String]"}function v(T){return T==="__proto__"||T==="prototype"||T==="constructor"}g.Handlers=m,g.Parser=l;var b=new g;b.JSONPath=g,a.exports=b},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(r,a,i){var s=r("./grammar"),u=r("../generated/parser"),l=function(){var m=new u.Parser,g=m.parseError;return m.yy.parseError=function(){m.yy.ast&&m.yy.ast.initialize(),g.apply(m,arguments)},m};l.grammar=s,a.exports=l},{"../generated/parser":1,"./grammar":3}],7:[function(r,a,i){a.exports=function(u,l,m,g){if(typeof l=="string")throw new Error("start cannot be a string");if(typeof m=="string")throw new Error("end cannot be a string");if(typeof g=="string")throw new Error("step cannot be a string");var h=u.length;if(g===0)throw new Error("step cannot be zero");if(g=g?s(g):1,l=l<0?h+l:l,m=m<0?h+m:m,l=s(l===0?0:l||(g>0?0:h-1)),m=s(m===0?0:m||(g>0?h:-1)),l=g>0?Math.max(0,l):Math.min(h,l),m=g>0?Math.min(m,h):Math.max(-1,m),g>0&&m<=l)return[];if(g<0&&l<=m)return[];for(var v=[],b=l;b!=m&&!(g<0&&b<=m||g>0&&b>=m);b+=g)v.push(u[b]);return v};function s(u){return String(u).match(/^[0-9]+$/)?parseInt(u):Number.isFinite(u)?parseInt(u,10):0}},{}],8:[function(r,a,i){var s=r("util/"),u=Array.prototype.slice,l=Object.prototype.hasOwnProperty,m=a.exports=T;m.AssertionError=function(j){this.name="AssertionError",this.actual=j.actual,this.expected=j.expected,this.operator=j.operator,j.message?(this.message=j.message,this.generatedMessage=!1):(this.message=v(this),this.generatedMessage=!0);var M=j.stackStartFunction||b;if(Error.captureStackTrace)Error.captureStackTrace(this,M);else{var W=new Error;if(W.stack){var V=W.stack,q=M.name,J=V.indexOf(` 628`+q);if(J>=0){var re=V.indexOf(` 629`,J+1);V=V.substring(re+1)}this.stack=V}}},s.inherits(m.AssertionError,Error);function g(F,j){return s.isUndefined(j)?""+j:s.isNumber(j)&&!isFinite(j)||s.isFunction(j)||s.isRegExp(j)?j.toString():j}function h(F,j){return s.isString(F)?F.length<j?F:F.slice(0,j):F}function v(F){return h(JSON.stringify(F.actual,g),128)+" "+F.operator+" "+h(JSON.stringify(F.expected,g),128)}function b(F,j,M,W,V){throw new m.AssertionError({message:M,actual:F,expected:j,operator:W,stackStartFunction:V})}m.fail=b;function T(F,j){F||b(F,!0,j,"==",m.ok)}m.ok=T,m.equal=function(j,M,W){j!=M&&b(j,M,W,"==",m.equal)},m.notEqual=function(j,M,W){j==M&&b(j,M,W,"!=",m.notEqual)},m.deepEqual=function(j,M,W){E(j,M)||b(j,M,W,"deepEqual",m.deepEqual)};function E(F,j){if(F===j)return!0;
629if(s.isBuffer(F)&&s.isBuffer(j)){if(F.length!=j.length)return!1;for(var M=0;M<F.length;M++)if(F[M]!==j[M])return!1;return!0}else return s.isDate(F)&&s.isDate(j)?F.getTime()===j.getTime():s.isRegExp(F)&&s.isRegExp(j)?F.source===j.source&&F.global===j.global&&F.multiline===j.multiline&&F.lastIndex===j.lastIndex&&F.ignoreCase===j.ignoreCase:!s.isObject(F)&&!s.isObject(j)?F==j:C(F,j)}function w(F){return Object.prototype.toString.call(F)=="[object Arguments]"}function C(F,j){if(s.isNullOrUndefined(F)||s.isNullOrUndefined(j)||F.prototype!==j.prototype)return!1;if(s.isPrimitive(F)||s.isPrimitive(j))return F===j;var M=w(F),W=w(j);if(M&&!W||!M&&W)return!1;if(M)return F=u.call(F),j=u.call(j),E(F,j);var V=D(F),q=D(j),J,re;if(V.length!=q.length)return!1;for(V.sort(),q.sort(),re=V.length-1;re>=0;re--)if(V[re]!=q[re])return!1;for(re=V.length-1;re>=0;re--)if(J=V[re],!E(F[J],j[J]))return!1;return!0}m.notDeepEqual=function(j,M,W){E(j,M)&&b(j,M,W,"notDeepEqual",m.notDeepEqual)},m.strictEqual=function(j,M,W){j!==M&&b(j,M,W,"===",m.strictEqual)},m.notStrictEqual=function(j,M,W){j===M&&b(j,M,W,"!==",m.notStrictEqual)};function O(F,j){return!F||!j?!1:Object.prototype.toString.call(j)=="[object RegExp]"?j.test(F):F instanceof j?!0:j.call({},F)===!0}function U(F,j,M,W){var V;s.isString(M)&&(W=M,M=null);try{j()}catch(q){V=q}if(W=(M&&M.name?" ("+M.name+").":".")+(W?" "+W:"."),F&&!V&&b(V,M,"Missing expected exception"+W),!F&&O(V,M)&&b(V,M,"Got unwanted exception"+W),F&&V&&M&&!O(V,M)||!F&&V)throw V}m.throws=function(F,j,M){U.apply(this,[!0].concat(u.call(arguments)))},m.doesNotThrow=function(F,j){U.apply(this,[!1].concat(u.call(arguments)))},m.ifError=function(F){if(F)throw F};var D=Object.keys||function(F){var j=[];for(var M in F)l.call(F,M)&&j.push(M);return j}},{"util/":11}],9:[function(r,a,i){typeof Object.create=="function"?a.exports=function(u,l){u.super_=l,u.prototype=Object.create(l.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}})}:a.exports=function(u,l){u.super_=l;var m=function(){};m.prototype=l.prototype,u.prototype=new m,u.prototype.constructor=u}},{}],10:[function(r,a,i){a.exports=function(u){return u&&typeof u=="object"&&typeof u.copy=="function"&&typeof u.fill=="function"&&typeof u.readUInt8=="function"}},{}],11:[function(r,a,i){(function(s,u){var l=/%[sdj%]/g;i.format=function(Me){if(!q(Me)){for(var Ze=[],rt=0;rt<arguments.length;rt++)Ze.push(h(arguments[rt]));return Ze.join(" ")}for(var rt=1,mt=arguments,Xt=mt.length,jt=String(Me).replace(l,function(Ht){if(Ht==="%%")return"%";if(rt>=Xt)return Ht;switch(Ht){case"%s":return String(mt[rt++]);case"%d":return Number(mt[rt++]);case"%j":try{return JSON.stringify(mt[rt++])}catch{return"[Circular]"}default:return Ht}}),Lt=mt[rt];rt<Xt;Lt=mt[++rt])M(Lt)||!fe(Lt)?jt+=" "+Lt:jt+=" "+h(Lt);return jt},i.deprecate=function(Me,Ze){if(re(u.process))return function(){return i.deprecate(Me,Ze).apply(this,arguments)};if(s.noDeprecation===!0)return Me;var rt=!1;function mt(){if(!rt){if(s.throwDeprecation)throw new Error(Ze);s.traceDeprecation?console.trace(Ze):console.error(Ze),rt=!0}return Me.apply(this,arguments)}return mt};var m={},g;i.debuglog=function(Me){if(re(g)&&(g=s.env.NODE_DEBUG||""),Me=Me.toUpperCase(),!m[Me])if(new RegExp("\\b"+Me+"\\b","i").test(g)){var Ze=s.pid;m[Me]=function(){var rt=i.format.apply(i,arguments);console.error("%s %d: %s",Me,Ze,rt)}}else m[Me]=function(){};return m[Me]};function h(Me,Ze){var rt={seen:[],stylize:b};return arguments.length>=3&&(rt.depth=arguments[2]),arguments.length>=4&&(rt.colors=arguments[3]),j(Ze)?rt.showHidden=Ze:Ze&&i._extend(rt,Ze),re(rt.showHidden)&&(rt.showHidden=!1),re(rt.depth)&&(rt.depth=2),re(rt.colors)&&(rt.colors=!1),re(rt.customInspect)&&(rt.customInspect=!0),rt.colors&&(rt.stylize=v),E(rt,Me,rt.depth)}i.inspect=h,h.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},h.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function v(Me,Ze){var rt=h.styles[Ze];return rt?"\x1B["+h.colors[rt][0]+"m"+Me+"\x1B["+h.colors[rt][1]+"m":Me}function b(Me,Ze){return Me}function T(Me){var Ze={};return Me.forEach(function(rt,mt){Ze[rt]=!0}
629),Ze}function E(Me,Ze,rt){if(Me.customInspect&&Ze&&ve(Ze.inspect)&&Ze.inspect!==i.inspect&&!(Ze.constructor&&Ze.constructor.prototype===Ze)){var mt=Ze.inspect(rt,Me);return q(mt)||(mt=E(Me,mt,rt)),mt}var Xt=w(Me,Ze);if(Xt)return Xt;var jt=Object.keys(Ze),Lt=T(jt);if(Me.showHidden&&(jt=Object.getOwnPropertyNames(Ze)),ye(Ze)&&(jt.indexOf("message")>=0||jt.indexOf("description")>=0))return C(Ze);if(jt.length===0){if(ve(Ze)){var Ht=Ze.name?": "+Ze.name:"";return Me.stylize("[Function"+Ht+"]","special")}if(he(Ze))return Me.stylize(RegExp.prototype.toString.call(Ze),"regexp");if(ae(Ze))return Me.stylize(Date.prototype.toString.call(Ze),"date");if(ye(Ze))return C(Ze)}var vr="",Fr=!1,fn=["{","}"];if(F(Ze)&&(Fr=!0,fn=["[","]"]),ve(Ze)){var Kr=Ze.name?": "+Ze.name:"";vr=" [Function"+Kr+"]"}if(he(Ze)&&(vr=" "+RegExp.prototype.toString.call(Ze)),ae(Ze)&&(vr=" "+Date.prototype.toUTCString.call(Ze)),ye(Ze)&&(vr=" "+C(Ze)),jt.length===0&&(!Fr||Ze.length==0))return fn[0]+vr+fn[1];if(rt<0)return he(Ze)?Me.stylize(RegExp.prototype.toString.call(Ze),"regexp"):Me.stylize("[Object]","special");Me.seen.push(Ze);var Sn;return Fr?Sn=O(Me,Ze,rt,Lt,jt):Sn=jt.map(function(Fn){return U(Me,Ze,rt,Lt,Fn,Fr)}),Me.seen.pop(),D(Sn,vr,fn)}function w(Me,Ze){if(re(Ze))return Me.stylize("undefined","undefined");if(q(Ze)){var rt="'"+JSON.stringify(Ze).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Me.stylize(rt,"string")}if(V(Ze))return Me.stylize(""+Ze,"number");if(j(Ze))return Me.stylize(""+Ze,"boolean");if(M(Ze))return Me.stylize("null","null")}function C(Me){return"["+Error.prototype.toString.call(Me)+"]"}function O(Me,Ze,rt,mt,Xt){for(var jt=[],Lt=0,Ht=Ze.length;Lt<Ht;++Lt)Xe(Ze,String(Lt))?jt.push(U(Me,Ze,rt,mt,String(Lt),!0)):jt.push("");return Xt.forEach(function(vr){vr.match(/^\d+$/)||jt.push(U(Me,Ze,rt,mt,vr,!0))}),jt}function U(Me,Ze,rt,mt,Xt,jt){var Lt,Ht,vr;if(vr=Object.getOwnPropertyDescriptor(Ze,Xt)||{value:Ze[Xt]},vr.get?vr.set?Ht=Me.stylize("[Getter/Setter]","special"):Ht=Me.stylize("[Getter]","special"):vr.set&&(Ht=Me.stylize("[Setter]","special")),Xe(mt,Xt)||(Lt="["+Xt+"]"),Ht||(Me.seen.indexOf(vr.value)<0?(M(rt)?Ht=E(Me,vr.value,null):Ht=E(Me,vr.value,rt-1),Ht.indexOf(` 630`)>-1&&(jt?Ht=Ht.split(` 631`).map(function(Fr){return" "+Fr}).join(` 632`).substr(2):Ht=` 633`+Ht.split(` 634`).map(function(Fr){return" "+Fr}).join(` 635`))):Ht=Me.stylize("[Circular]","special")),re(Lt)){if(jt&&Xt.match(/^\d+$/))return Ht;Lt=JSON.stringify(""+Xt),Lt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Lt=Lt.substr(1,Lt.length-2),Lt=Me.stylize(Lt,"name")):(Lt=Lt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Lt=Me.stylize(Lt,"string"))}return Lt+": "+Ht}function D(Me,Ze,rt){var mt=0,Xt=Me.reduce(function(jt,Lt){return mt++,Lt.indexOf(` 636`)>=0&&mt++,jt+Lt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Xt>60?rt[0]+(Ze===""?"":Ze+` 637 `)+" "+Me.join(`, 638 `)+" "+rt[1]:rt[0]+Ze+" "+Me.join(", ")+" "+rt[1]}function F(Me){return Array.isArray(Me)}i.isArray=F;function j(Me){return typeof Me=="boolean"}i.isBoolean=j;function M(Me){return Me===null}i.isNull=M;function W(Me){return Me==null}i.isNullOrUndefined=W;function V(Me){return typeof Me=="number"}i.isNumber=V;function q(Me){return typeof Me=="string"}i.isString=q;function J(Me){return typeof Me=="symbol"}i.isSymbol=J;function re(Me){return Me===void 0}i.isUndefined=re;function he(Me){return fe(Me)&&We(Me)==="[object RegExp]"}i.isRegExp=he;function fe(Me){return typeof Me=="object"&&Me!==null}i.isObject=fe;function ae(Me){return fe(Me)&&We(Me)==="[object Date]"}i.isDate=ae;function ye(Me){return fe(Me)&&(We(Me)==="[object Error]"||Me instanceof Error)}i.isError=ye;function ve(Me){return typeof Me=="function"}i.isFunction=ve;function Ue(Me){return Me===null||typeof Me=="boolean"||typeof Me=="number"||typeof Me=="string"||typeof Me=="symbol"||typeof Me>"u"}i.isPrimitive=Ue,i.isBuffer=r("./support/isBuffer");function We(Me){return Object.prototype.toString.call(Me)}function de(Me){return Me<10?"0"+Me.toString(10):Me.toString(10)}var xe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Fe(){var Me=new Date,Ze=[de(Me.getHours()),de(Me.getMinutes()),de(Me.getSeconds())].join(":");return[Me.getDate(),xe[Me.getMonth()],Ze].join(" ")}i.log=function(){console.log("%s - %s",Fe(),i.format.apply(i,arguments))},i.inherits=r("inherits"),i._extend=function(Me,Ze){if(!Ze||!fe(Ze))return Me;for(var rt=Object.keys(Ze),mt=rt.length;mt--;)Me[rt[mt]]=Ze[rt[mt]];return Me};function Xe(Me,Ze){return Object.prototype.hasOwnProperty.call(Me,Ze)}}).call(this,r("_process"),typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(r,a,i){},{}],13:[function(r,a,i){(function(s){function u(h,v){for(var b=0,T=h.length-1;T>=0;T--){var E=h[T];E==="."?h.splice(T,1):E===".."?(h.splice(T,1),b++):b&&(h.splice(T,1),b--)}if(v)for(;b--;b)h.unshift("..");return h}i.resolve=function(){for(var h="",v=!1,b=arguments.length-1;b>=-1&&!v;b--){var T=b>=0?arguments[b]:s.cwd();if(typeof T!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!T)continue;h=T+"/"+h,v=T.charAt(0)==="/"}return h=u(m(h.split("/"),function(E){return!!E}),!v).join("/"),(v?"/":"")+h||"."},i.normalize=function(h){var v=i.isAbsolute(h),b=g(h,-1)==="/";return h=u(m(h.split("/"),function(T){return!!T}),!v).join("/"),!h&&!v&&(h="."),h&&b&&(h+="/"),(v?"/":"")+h},i.isAbsolute=function(h){return h.charAt(0)==="/"},i.join=function(){var h=Array.prototype.slice.call(arguments,0);return i.normalize(m(h,function(v,b){if(typeof v!="string")throw new TypeError("Arguments to path.join must be strings");return v}).join("/"))},i.relative=function(h,v){h=i.resolve(h).substr(1),v=i.resolve(v).substr(1);function b(D){for(var F=0;F<D.length&&D[F]==="";F++);for(var j=D.length-1;j>=0&&D[j]==="";j--);return F>j?[]:D.slice(F,j-F+1)}for(var T=b(h.split("/")),E=b(v.split("/")),w=Math.min(T.length,E.length),C=w,O=0;O<w;O++)if(T[O]!==E[O]){C=O;break}for(var U=[],O=C;O<T.length;O++)U.push("..");return U=U.concat(E.slice(C)),U.join("/")},i.sep="/",i.delimiter=":",i.dirname=function(h){if(typeof h!="string"&&(h=h+""),h.length===0)return".";
638for(var v=h.charCodeAt(0),b=v===47,T=-1,E=!0,w=h.length-1;w>=1;--w)if(v=h.charCodeAt(w),v===47){if(!E){T=w;break}}else E=!1;return T===-1?b?"/":".":b&&T===1?"/":h.slice(0,T)};function l(h){typeof h!="string"&&(h=h+"");var v=0,b=-1,T=!0,E;for(E=h.length-1;E>=0;--E)if(h.charCodeAt(E)===47){if(!T){v=E+1;break}}else b===-1&&(T=!1,b=E+1);return b===-1?"":h.slice(v,b)}i.basename=function(h,v){var b=l(h);return v&&b.substr(-1*v.length)===v&&(b=b.substr(0,b.length-v.length)),b},i.extname=function(h){typeof h!="string"&&(h=h+"");for(var v=-1,b=0,T=-1,E=!0,w=0,C=h.length-1;C>=0;--C){var O=h.charCodeAt(C);if(O===47){if(!E){b=C+1;break}continue}T===-1&&(E=!1,T=C+1),O===46?v===-1?v=C:w!==1&&(w=1):v!==-1&&(w=-1)}return v===-1||T===-1||w===0||w===1&&v===T-1&&v===b+1?"":h.slice(v,T)};function m(h,v){if(h.filter)return h.filter(v);for(var b=[],T=0;T<h.length;T++)v(h[T],T,h)&&b.push(h[T]);return b}var g=function(h,v,b){return h.substr(v,b)}}).call(this,r("_process"))},{_process:14}],14:[function(r,a,i){var s=a.exports={},u,l;function m(){throw new Error("setTimeout has not been defined")}function g(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?u=setTimeout:u=m}catch{u=m}try{typeof clearTimeout=="function"?l=clearTimeout:l=g}catch{l=g}})();function h(F){if(u===setTimeout)return setTimeout(F,0);if((u===m||!u)&&setTimeout)return u=setTimeout,setTimeout(F,0);try{return u(F,0)}catch{try{return u.call(null,F,0)}catch{return u.call(this,F,0)}}}function v(F){if(l===clearTimeout)return clearTimeout(F);if((l===g||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(F);try{return l(F)}catch{try{return l.call(null,F)}catch{return l.call(this,F)}}}var b=[],T=!1,E,w=-1;function C(){!T||!E||(T=!1,E.length?b=E.concat(b):w=-1,b.length&&O())}function O(){if(!T){var F=h(C);T=!0;for(var j=b.length;j;){for(E=b,b=[];++w<j;)E&&E[w].run();w=-1,j=b.length}E=null,T=!1,v(F)}}s.nextTick=function(F){var j=new Array(arguments.length-1);if(arguments.length>1)for(var M=1;M<arguments.length;M++)j[M-1]=arguments[M];b.push(new U(F,j)),b.length===1&&!T&&h(O)};function U(F,j){this.fun=F,this.array=j}U.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={};function D(){}s.on=D,s.addListener=D,s.once=D,s.off=D,s.removeListener=D,s.removeAllListeners=D,s.emit=D,s.prependListener=D,s.prependOnceListener=D,s.listeners=function(F){return[]},s.binding=function(F){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(F){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},{}],15:[function(r,a,i){var s=r("escodegen").generate;a.exports=function(l,m,g){g||(g={});var h=!g.allowAccessToMethodsOnFunctions;m||(m={});var v={},b=(function T(E,w){if(E.type==="Literal")return E.value;if(E.type==="UnaryExpression"){var C=T(E.argument,w);return E.operator==="+"?+C:E.operator==="-"?-C:E.operator==="~"?~C:E.operator==="!"?!C:v}else if(E.type==="ArrayExpression"){for(var O=[],U=0,D=E.elements.length;U<D;U++){var F=T(E.elements[U],w);if(F===v)return v;O.push(F)}return O}else if(E.type==="ObjectExpression"){for(var j={},U=0;U<E.properties.length;U++){var M=E.properties[U],W=M.value===null?M.value:T(M.value,w);if(W===v)return v;j[M.key.value||M.key.name]=W}return j}else if(E.type==="BinaryExpression"||E.type==="LogicalExpression"){var V=E.operator;if(V==="&&"){var D=T(E.left);if(D===v)return v;if(!D)return D;var q=T(E.right);return q===v?v:q}else if(V==="||"){var D=T(E.left);if(D===v)return v;if(D)return D;var q=T(E.right);return q===v?v:q}var D=T(E.left,w);if(D===v)return v;var q=T(E.right,w);return q===v?v:V==="=="?D==q:V==="==="?D===q:V==="!="?D!=q:V==="!=="?D!==q:V==="+"?D+q:V==="-"?D-q:V==="*"?D*q:V==="/"?D/q:V==="%"?D%q:V==="<"?D<q:V==="<="?D<=q:V===">"?D>q:V===">="?D>=q:V==="|"?D|q:V==="&"?D&q:V==="^"?D^q:v}else{if(E.type==="Identifier")return{}.hasOwnProperty.call(m,E.name)?m[E.name]:v;if(E.type==="ThisExpression")return{}.hasOwnProperty.call(m,"this")?m.this:v;if(E.type==="CallExpression"){var J=T(E.callee,w);if(J===v||typeof J!="function")return v;
638var re=E.callee.object?T(E.callee.object,w):v;re===v&&(re=null);for(var he=[],U=0,D=E.arguments.length;U<D;U++){var F=T(E.arguments[U],w);if(F===v)return v;he.push(F)}return w?void 0:J.apply(re,he)}else if(E.type==="MemberExpression"){var j=T(E.object,w);if(j===v||typeof j=="function"&&h)return v;if(E.property.type==="Identifier"&&!E.computed)return u(E.property.name)?v:j[E.property.name];var M=T(E.property,w);return M===null||M===v||u(M)?v:j[M]}else if(E.type==="ConditionalExpression"){var C=T(E.test,w);return C===v?v:C?T(E.consequent):T(E.alternate,w)}else if(E.type==="ExpressionStatement"){var C=T(E.expression,w);return C===v?v:C}else{if(E.type==="ReturnStatement")return T(E.argument,w);if(E.type==="FunctionExpression"){var fe=E.body.body,ae={};Object.keys(m).forEach(function(Me){ae[Me]=m[Me]});for(var U=0;U<E.params.length;U++){var ye=E.params[U];if(ye.type=="Identifier")m[ye.name]=null;else return v}for(var U in fe)if(T(fe[U],!0)===v)return v;m=ae;var ve=Object.keys(m),Ue=ve.map(function(Me){return m[Me]});return Function(ve.join(", "),"return "+s(E)).apply(null,Ue)}else if(E.type==="TemplateLiteral"){for(var We="",U=0;U<E.expressions.length;U++)We+=T(E.quasis[U],w),We+=T(E.expressions[U],w);return We+=T(E.quasis[U],w),We}else if(E.type==="TaggedTemplateExpression"){var de=T(E.tag,w),xe=E.quasi,Fe=xe.quasis.map(T),Xe=xe.expressions.map(T);return de.apply(null,[Fe].concat(Xe))}else return E.type==="TemplateElement"?E.value.cooked:v}}})(l);return b===v?void 0:b};function u(l){return l==="constructor"||l==="__proto__"}},{escodegen:12}],jsonpath:[function(r,a,i){a.exports=r("./lib/index")},{"./lib/index":5}]},{},["jsonpath"])("jsonpath")})},55171(f){var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function e(r){this.message=r}e.prototype=new Error,e.prototype.name="InvalidCharacterError";function n(r){var a=String(r).replace(/=+$/,"");if(a.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var i=0,s,u,l=0,m="";u=a.charAt(l++);~u&&(s=i%4?s*64+u:u,i++%4)?m+=String.fromCharCode(255&s>>(-2*i&6)):0)u=d.indexOf(u);return m}f.exports=typeof window<"u"&&window.atob&&window.atob.bind(window)||n},72571(f,d,e){var n=e(55171);function r(a){return decodeURIComponent(n(a).replace(/(.)/g,function(i,s){var u=s.charCodeAt(0).toString(16).toUpperCase();return u.length<2&&(u="0"+u),"%"+u}))}f.exports=function(a){var i=a.replace(/-/g,"+").replace(/_/g,"/");switch(i.length%4){case 0:break;case 2:i+="==";break;case 3:i+="=";break;default:throw"Illegal base64url string!"}try{return r(i)}catch{return n(i)}}},31675(f,d,e){"use strict";var n=e(72571);function r(a){this.message=a}r.prototype=new Error,r.prototype.name="InvalidTokenError",f.exports=function(a,i){if(typeof a!="string")throw new r("Invalid token specified");i=i||{};var s=i.header===!0?0:1;try{return JSON.parse(n(a.split(".")[s]))}catch(u){throw new r("Invalid token specified: "+u.message)}},f.exports.InvalidTokenError=r},23456(f,d,e){f.exports=e(61166)},61166(f,d){var e;e=3,e=6,e=8,d.KEY_TAB=9,e=12,d.KEY_RETURN=13,e=14,e=16,e=17,e=18,e=19,e=20,d.KEY_ESCAPE=27,d.KEY_SPACE=32,e=33,e=34,d.KEY_END=35,d.KEY_HOME=36,d.KEY_LEFT=37,d.KEY_UP=38,d.KEY_RIGHT=39,d.KEY_DOWN=40,e=44,e=45,e=46,e=48,e=49,e=50,e=51,e=52,e=53,e=54,e=55,e=56,e=57,e=59,e=61,e=65,e=66,e=67,e=68,e=69,e=70,e=71,e=72,e=73,e=74,e=75,e=76,e=77,e=78,e=79,e=80,e=81,e=82,e=83,e=84,e=85,e=86,e=87,e=88,e=89,e=90,e=91,e=93,e=93,e=96,e=97,e=98,e=99,e=100,e=101,e=102,e=103,e=104,e=105,e=106,e=107,e=108,e=109,e=110,e=111,e=112,e=113,e=114,e=115,e=116,e=117,e=118,e=119,e=120,e=121,e=122,e=123,e=124,e=125,e=126,e=127,e=128,e=129,e=130,e=131,e=132,e=133,e=134,e=135,e=144,e=145,e=188,e=190,e=191,e=192,e=219,e=220,e=221,e=222,e=224},48831(f){"use strict";var d=function(e){var n={},r;if(!(e instanceof Object&&!Array.isArray(e)))throw new Error("keyMirror(...): Argument must be an object.");for(r in e)e.hasOwnProperty(r)&&(n[r]=r);return n};f.exports=d},98258(f){function d(E,w,C){switch(C.length){case 0:return E.call(w);case 1:return E.call(w,C[0]);case 2:return E.call(w,C[0],C[1]);case 3:return E.call(w,C[0],C[1],C[2])}return E.apply(w,C)}function e(E,w){for(var C=-1,O=E?E.length:0,U=Array(O);++C<O;)U[C]=w(E[C],C,E);return U}function n(E,w,C,O){for(var U=E.length,D=C+(O?1:-1);O?D--:++D<U;)if(w(E[D],D,E))return D;return-1}function r(E,w,C){if(w!==w)return n(E,i,C);for(var O=C-1,U=E.length;++O<U;)if(E[O]===w)return O;return-1}function a(E,w,C,O){for(var U=C-1,D=E.length;++U<D;)if(O(E[U],w))return U;return-1}function i(E){return E!==E}function s(E){return function(w){return E(w)}}var u=Array.prototype,l=u.splice,m=Math.max;function g(E,w,C,O){var U=O?a:r,D=-1,F=w.length,j=E;for(E===w&&(w=v(w)),C&&(j=e(E,s(C)));++D<F;)for(var M=0,W=w[D],V=C?C(W):W;(M=U(j,V,M,O))>-1;)j!==E&&l.call(j,M,1),l.call(E,M,1);return E}function h(E,w){return w=m(w===void 0?E.length-1:w,0),function(){for(var C=arguments,O=-1,U=m(C.length-w,0),D=Array(U);++O<U;)D[O]=C[w+O];O=-1;for(var F=Array(w+1);++O<w;)F[O]=C[O];return F[w]=D,d(E,this,F)}}function v(E,w){var C=-1,O=E.length;for(w||(w=Array(O));++C<O;)w[C]=E[C];return w}var b=h(T);function T(E,w){return E&&E.length&&w&&w.length?g(E,w):E}f.exports=b},82469(f){var d="Expected a function",e=NaN,n="[object Symbol]",r=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt,l=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,m=typeof self=="object"&&self&&self.Object===Object&&self,g=l||m||Function("return this")(),h=Object.prototype,v=h.toString,b=Math.max,T=Math.min,E=function(){return g.Date.now()};function w(j,M,W){var V,q,J,re,he,fe,ae=0,ye=!1,ve=!1,Ue=!0;if(typeof j!="function")throw new TypeError(d);M=F(M)||0,O(W)&&(ye=!!W.leading,ve="maxWait"in W,J=ve?b(F(W.maxWait)||0,M):J,Ue="trailing"in W?!!W.trailing:Ue);function We(Xt){var jt=V,Lt=q;return V=q=void 0,ae=Xt,re=j.apply(Lt,jt),re}function de(Xt){return ae=Xt,he=setTimeout(Xe,M),ye?We(Xt):re}function xe(Xt){var jt=Xt-fe,Lt=Xt-ae,Ht=M-jt;return ve?T(Ht,J-Lt):Ht}function Fe(Xt){var jt=Xt-fe,Lt=Xt-ae;return fe===void 0||jt>=M||jt<0||ve&&Lt>=J}function Xe(){var Xt=E();if(Fe(Xt))return Me(Xt);he=setTimeout(Xe,xe(Xt))}function Me(Xt){return he=void 0,Ue&&V?We(Xt):(V=q=void 0,re)}function Ze(){he!==void 0&&clearTimeout(he),ae=0,V=fe=q=he=void 0}function rt(){return he===void 0?re:Me(E())}function mt(){var Xt=E(),jt=Fe(Xt);if(V=arguments,q=this,fe=Xt,jt){if(he===void 0)return de(fe);if(ve)return he=setTimeout(Xe,M),We(fe)}return he===void 0&&(he=setTimeout(Xe,M)),re}return mt.cancel=Ze,mt.flush=rt,mt}function C(j,M,W){var V=!0,q=!0;if(typeof j!="function")throw new TypeError(d);return O(W)&&(V="leading"in W?!!W.leading:V,q="trailing"in W?!!W.trailing:q),w(j,M,{leading:V,maxWait:M,trailing:q})}function O(j){var M=typeof j;return!!j&&(M=="object"||M=="function")}function U(j){return!!j&&typeof j=="object"}function D(j){return typeof j=="symbol"||U(j)&&v.call(j)==n}function F(j){if(typeof j=="number")return j;if(D(j))return e;if(O(j)){var M=typeof j.valueOf=="function"?j.valueOf():j;j=O(M)?M+"":M}
vendor: 1,393 bytes, line 638
638if(typeof j!="string")return j===0?j:+j;j=j.replace(r,"");var W=i.test(j);return W||s.test(j)?u(j.slice(2),W?2:8):a.test(j)?e:+j}f.exports=C},92162(f,d,e){var n=e(62844),r=e(97991),a=n(r,"DataView");f.exports=a},3031(f,d,e){var n=e(76190),r=e(67896),a=e(43931),i=e(30711),s=e(52703);function u(l){var m=-1,g=l==null?0:l.length;for(this.clear();++m<g;){var h=l[m];this.set(h[0],h[1])}}u.prototype.clear=n,u.prototype.delete=r,u.prototype.get=a,u.prototype.has=i,u.prototype.set=s,f.exports=u},11453(f,d,e){var n=e(11712),r=e(44998),a=e(68721),i=e(66589),s=e(35029);function u(l){var m=-1,g=l==null?0:l.length;for(this.clear();++m<g;){var h=l[m];this.set(h[0],h[1])}}u.prototype.clear=n,u.prototype.delete=r,u.prototype.get=a,u.prototype.has=i,u.prototype.set=s,f.exports=u},47257(f,d,e){var n=e(62844),r=e(97991),a=n(r,"Map");f.exports=a},37859(f,d,e){var n=e(74434),r=e(76308),a=e(21639),i=e(31643),s=e(15203);function u(l){var m=-1,g=l==null?0:l.length;for(this.clear();++m<g;){var h=l[m];this.set(h[0],h[1])}}u.prototype.clear=n,u.prototype.delete=r,u.prototype.get=a,u.prototype.has=i,u.prototype.set=s,f.exports=u},32698(f,d,e){var n=e(62844),r=e(97991),a=n(r,"Promise");f.exports=a},59263(f,d,e){var n=e(62844),r=e(97991),a=n(r,"Set");f.exports=a},14173(f,d,e){var n=e(37859),r=e(36546),a=e(38141);function i(s){var u=-1,l=s==null?0:s.length;for(this.__data__=new n;++u<l;)this.add(s[u])}
638i.prototype.add=i.prototype.push=r,i.prototype.has=a,f.exports=i},55327(f,d,e){var n=e(11453),r=e(14950),a=e(90896),i=e(85587),s=e(21535),u=e(55127);function l(m){var g=this.__data__=new n(m);this.size=g.size}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=i,l.prototype.has=s,l.prototype.set=u,f.exports=l},29915(f,d,e){var n=e(97991),r=n.Symbol;f.exports=r},92886(f,d,e){var n=e(97991),r=n.Uint8Array;f.exports=r},21169(f,d,e){var n=e(62844),r=e(97991),a=n(r,"WeakMap");f.exports=a},87479(f){function d(e,n){for(var r=-1,a=e==null?0:e.length;++r<a&&n(e[r],r,e)!==!1;);return e}f.exports=d},38380(f){function d(e,n){for(var r=-1,a=e==null?0:e.length,i=0,s=[];++r<a;){var u=e[r];n(u,r,e)&&(s[i++]=u)}return s}f.exports=d},41789(f,d,e){var n=e(98150),r=e(60642),a=e(78743),i=e(15562),s=e(40515),u=e(82073),l=Object.prototype,m=l.hasOwnProperty;function g(h,v){var b=a(h),T=!b&&r(h),E=!b&&!T&&i(h),w=!b&&!T&&!E&&u(h),C=b||T||E||w,O=C?n(h.length,String):[],U=O.length;for(var D in h)(v||m.call(h,D))&&!(C&&(D=="length"||E&&(D=="offset"||D=="parent")||w&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||s(D,U)))&&O.push(D);return O}f.exports=g},95778(f){function d(e,n){for(var r=-1,a=e==null?0:e.length,i=Array(a);++r<a;)i[r]=n(e[r],r,e);return i}f.exports=d},52670(f){function d(e,n){for(var r=-1,a=n.length,i=e.length;++r<a;)e[i+r]=n[r];return e}f.exports=d},52268(f){function d(e,n,r,a){var i=-1,s=e==null?0:e.length;for(a&&s&&(r=e[++i]);++i<s;)r=n(r,e[i],i,e);return r}f.exports=d},13006(f,d,e){var n=e(94945),r=e(11816);function a(i){return r(n(i))}f.exports=a},59850(f){function d(e,n){for(var r=-1,a=e==null?0:e.length;++r<a;)if(n(e[r],r,e))return!0;return!1}f.exports=d},90565(f,d,e){var n=e(44831),r=n("length");f.exports=r},63780(f){function d(e){return e.split("")}f.exports=d},43059(f){var d=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function e(n){return n.match(d)||[]}f.exports=e},26233(f,d,e){var n=e(90334),r=e(3086),a=Object.prototype,i=a.hasOwnProperty;function s(u,l,m){var g=u[l];(!(i.call(u,l)&&r(g,m))||m===void 0&&!(l in u))&&n(u,l,m)}f.exports=s},90539(f,d,e){var n=e(3086);function r(a,i){for(var s=a.length;s--;)if(n(a[s][0],i))return s;return-1}f.exports=r},53539(f,d,e){var n=e(18237),r=e(35580);function a(i,s){return i&&n(s,r(s),i)}f.exports=a},10384(f,d,e){var n=e(18237),r=e(93507);function a(i,s){return i&&n(s,r(s),i)}f.exports=a},90334(f,d,e){var n=e(76221);function r(a,i,s){i=="__proto__"&&n?n(a,i,{configurable:!0,enumerable:!0,value:s,writable:!0}):a[i]=s}f.exports=r},47549(f,d,e){var n=e(55327),r=e(87479),a=e(26233),i=e(53539),s=e(10384),u=e(57304),l=e(94945),m=e(6745),g=e(46498),h=e(32828),v=e(63939),b=e(41179),T=e(25811),E=e(4802
vendor: 7,558 bytes, line 638
6381),w=e(29075),C=e(78743),O=e(15562),U=e(91664),D=e(85015),F=e(28234),j=e(35580),M=e(93507),W=1,V=2,q=4,J="[object Arguments]",re="[object Array]",he="[object Boolean]",fe="[object Date]",ae="[object Error]",ye="[object Function]",ve="[object GeneratorFunction]",Ue="[object Map]",We="[object Number]",de="[object Object]",xe="[object RegExp]",Fe="[object Set]",Xe="[object String]",Me="[object Symbol]",Ze="[object WeakMap]",rt="[object ArrayBuffer]",mt="[object DataView]",Xt="[object Float32Array]",jt="[object Float64Array]",Lt="[object Int8Array]",Ht="[object Int16Array]",vr="[object Int32Array]",Fr="[object Uint8Array]",fn="[object Uint8ClampedArray]",Kr="[object Uint16Array]",Sn="[object Uint32Array]",Fn={};Fn[J]=Fn[re]=Fn[rt]=Fn[mt]=Fn[he]=Fn[fe]=Fn[Xt]=Fn[jt]=Fn[Lt]=Fn[Ht]=Fn[vr]=Fn[Ue]=Fn[We]=Fn[de]=Fn[xe]=Fn[Fe]=Fn[Xe]=Fn[Me]=Fn[Fr]=Fn[fn]=Fn[Kr]=Fn[Sn]=!0,Fn[ae]=Fn[ye]=Fn[Ze]=!1;function Et(st,Wr,Dr,Tr,gr,ir){var Mr,Lr=Wr&W,un=Wr&V,hn=Wr&q;if(Dr&&(Mr=gr?Dr(st,Tr,gr,ir):Dr(st)),Mr!==void 0)return Mr;if(!D(st))return st;var rr=C(st);if(rr){if(Mr=T(st),!Lr)return l(st,Mr)}else{var Gr=b(st),er=Gr==ye||Gr==ve;if(O(st))return u(st,Lr);if(Gr==de||Gr==J||er&&!gr){if(Mr=un||er?{}:w(st),!Lr)return un?g(st,s(Mr,st)):m(st,i(Mr,st))}else{if(!Fn[Gr])return gr?st:{};Mr=E(st,Gr,Lr)}}ir||(ir=new n);var At=ir.get(st);if(At)return At;ir.set(st,Mr),F(st)?st.forEach(function(ot){Mr.add(Et(ot,Wr,Dr,ot,st,ir))}):U(st)&&st.forEach(function(ot,Yt){Mr.set(Yt,Et(ot,Wr,Dr,Yt,st,ir))});var dr=hn?un?v:h:un?M:j,Y=rr?void 0:dr(st);return r(Y||st,function(ot,Yt){Y&&(Yt=ot,ot=st[Yt]),a(Mr,Yt,Et(ot,Wr,Dr,Yt,st,ir))}),Mr}f.exports=Et},96166(f,d,e){var n=e(85015),r=Object.create,a=(function(){function i(){}return function(s){if(!n(s))return{};if(r)return r(s);i.prototype=s;var u=new i;return i.prototype=void 0,u}})();f.exports=a},15825(f){function d(e,n,r,a){for(var i=e.length,s=r+(a?1:-1);a?s--:++s<i;)if(n(e[s],s,e))return s;return-1}f.exports=d},97540(f,d,e){var n=e(50559),r=e(19991);function a(i,s){s=n(s,i);for(var u=0,l=s.length;i!=null&&u<l;)i=i[r(s[u++])];return u&&u==l?i:void 0}f.exports=a},77993(f,d,e){var n=e(52670),r=e(78743);function a(i,s,u){var l=s(i);return r(i)?l:n(l,u(i))}f.exports=a},62214(f,d,e){var n=e(29915),r=e(86989),a=e(81944),i="[object Null]",s="[object Undefined]",u=n?n.toStringTag:void 0;function l(m){return m==null?m===void 0?s:i:u&&u in Object(m)?r(m):a(m)}f.exports=l},73215(f){function d(e,n){return e!=null&&n in Object(e)}f.exports=d},82260(f,d,e){var n=e(62214),r=e(82736),a="[object Arguments]";function i(s){return r(s)&&n(s)==a}f.exports=i},4860(f,d,e){var n=e(21410),r=e(82736);function a(i,s,u,l,m){return i===s?!0:i==null||s==null||!r(i)&&!r(s)?i!==i&&s!==s:n(i,s,u,l,a,m)}f.exports=a},21410(f,d,e){var n=e(55327),r=e(47677),a=e(43368),i=e(24771),s=e(41179),u=e(78743),l=e(15562),m=e(82073),g=1,h="[object Arguments]",v="[object Array]",b="[object Object]",T=Object.prototype,E=T.hasOwnProperty;function w(C,O,U,D,F,j){var M=u(C),W=u(O),V=M?v:s(C),q=W?v:s(O);V=V==h?b:V,q=q==h?b:q;var J=V==b,re=q==b,he=V==q;if(he&&l(C)){if(!l(O))return!1;M=!0,J=!1}if(he&&!J)return j||(j=new n),M||m(C)?r(C,O,U,D,F,j):a(C,O,V,U,D,F,j);if(!(U&g)){var fe=J&&E.call(C,"__wrapped__"),ae=re&&E.call(O,"__wrapped__");if(fe||ae){var ye=fe?C.value():C,ve=ae?O.value():O;return j||(j=new n),F(ye,ve,U,D,j)}}return he?(j||(j=new n),i(C,O,U,D,F,j)):!1}f.exports=w},84650(f,d,e){var n=e(41179),r=e(82736),a="[object Map]";function i(s){return r(s)&&n(s)==a}f.exports=i},76361(f,d,e){var n=e(55327),r=e(4860),a=1,i=2;function s(u,l,m,g){var h=m.length,v=h,b=!g;if(u==null)return!v;for(u=Object(u);h--;){var T=m[h];if(b&&T[2]?T[1]!==u[T[0]]:!(T[0]in u))return!1}for(;++h<v;){T=m[h];var E=T[0],w=u[E],C=T[1];if(b&&T[2]){if(w===void 0&&!(E in u))return!1}else{var O=new n;if(g)var U=g(w,C,E,u,l,O);if(!(U===void 0?r(C,w,a|i,g,O):U))return!1}}return!0}f.exports=s},90621(f,d,e){var n=e(91696),r=e(35770),a=e(85015),i=e(74123),s=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,l=Function.prototype,m=Object.prototype,g=l.toString,h=m.hasOwnProperty,v=RegExp("^"+g.call(h).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function b(T){if(!a(T)||r(T))return!1;var E=n(T)?v:u;return E.test(i(T))}f.exports=b},3791(f,d,e){var n=e(62214),r=e(82736),a="[object RegExp]";function i(s){return r(s)&&n(s)==a}f.exports=i},3696(f,d,e){var n=e(41179),r=e(82736),a="[object Set]";function i(s){return r(s)&&n(s)==a}f.exports=i},80007(f,d,e){var n=e(62214),r=e(33776),a=e(82736),i="[object Arguments]",s="[object Array]",u="[object Boolean]",l="[object Date]",m="[object Error]",g="[object Function]",h="[object Map]",v="[object Number]",b="[object Object]",T="[object RegExp]",E="[object Set]",w="[object String]",C="[object WeakMap]",O="[object ArrayBuffer]",U="[object DataView]",D="[object Float32Array]",F="[object Float64Array]",j="[object Int8Array]",M="[object Int16Array]",W="[object Int32Array]",V="[object Uint8Array]",q="[object Uint8ClampedArray]",J="[object Uint16Array]",re="[object Uint32Array]",he={};he[D]=he[F]=he[j]=he[M]=he[W]=he[V]=he[q]=he[J]=he[re]=!0,he[i]=he[s]=he[O]=he[u]=he[U]=he[l]=he[m]=he[g]=he[h]=he[v]=he[b]=he[T]=he[E]=he[w]=he[C]=!1;function fe(ae){return a(ae)&&r(ae.length)&&!!he[n(ae)]}f.exports=fe},42871(f,d,e){var n=e(88569),r=e(18408),a=e(86346),i=e(78743),s=e(49513);function u(l){return typeof l=="function"?l:l==null?a:typeof l=="object"?i(l)?r(l[0],l[1]):n(l):s(l)}f.exports=u},59862(f,d,e){var n=e(89745),r=e(93560),a=Object.prototype,i=a.hasOwnProperty;function s(u){if(!n(u))return r(u);var l=[];for(var m in Object(u))i.call(u,m)&&m!="constructor"&&l.push(m);return l}f.exports=s},7105(f,d,e){var n=e(85015),r=e(89745),a=e(56327),i=Object.prototype,s=i.hasOwnProperty;function u(l){if(!n(l))return a(l);var m=r(l),g=[];for(var h in l)h=="constructor"&&(m||!s.call(l,h))||g.push(h);return g}f.exports=u},88569(f,d,e){var n=e(76361),r=e(40502),a=e(68675);function i(s){var u=r(s);return u.length==1&&u[0][2]?a(u[0][0],u[0][1]):function(l){return l===s||n(l,s,u)}}f.exports=i},18408(f,d,e){var n=e(4860),r=e(69354),a=e(77433),i=e(37884),s=e(77858),u=e(68675),l=e(19991),m=1,g=2;function h(v,b){return i(v)&&s(b)?u(l(v),b):function(T){var E=r(T,v);return E===void 0&&E===b?a(T,v):n(b,E,m|g)}}f.exports=h},44831(f){function d(e){return function(n){return n?.[e]}}f.exports=d},10801(f,d,e){var n=e(97540);function r(a){return function(i){return n(i,a)}}f.exports=r},17818(f){function d(e){return function(n){return e?.[n]}}f.exports=d},83781(f){var d=Math.floor,e=Math.random;function n(r,a){return r+d(e()*(a-r+1))}f.exports=n},11241(f,d,e){var n=e(11816),r=e(6878);function a(i){return n(r(i))}f.exports=a},59154(f){function d(e,n,r){var a=-1,i=e.length;n<0&&(n=-n>i?0:i+n),r=r>i?i:r,r<0&&(r+=i),i=n>r?0:r-n>>>0,n>>>=0;for(var s=Array(i);++a<i;)s[a]=e[a+n];return s}f.exports=d},98150(f){function d(e,n){for(var r=-1,a=Array(e);++r<e;)a[r]=n(r);return a}f.exports=d},14814(f,d,e){var n=e(29915),r=e(95778),a=e(78743),i=e(89256),s=1/0,u=n?n.prototype:void 0,l=u?u.toString:void 0;function m(g){if(typeof g=="string")return g;if(a(g))return r(g,m)+"";if(i(g))return l?l.call(g):"";var h=g+"";return h=="0"&&1/g==-s?"-0":h}f.exports=m},94914(f,d,e){var n=e(54558),r=/^\s+/;function a(i){return i&&i.slice(0,n(i)+1).replace(r,"")}f.exports=a},30263(f){function d(e){return function(n){return e(n)}}f.exports=d},30464(f,d,e){var n=e(95778);function r(a,i){return n(i,function(s){return a[s]})}f.exports=r},54805(f){function d(e,n){return e.has(n)}f.exports=d}
638,50559(f,d,e){var n=e(78743),r=e(37884),a=e(36980),i=e(12280);function s(u,l){return n(u)?u:r(u,l)?[u]:a(i(u))}f.exports=s},58836(f,d,e){var n=e(59154);function r(a,i,s){var u=a.length;return s=s===void 0?u:s,!i&&s>=u?a:n(a,i,s)}f.exports=r},53471(f,d,e){var n=e(92886);function r(a){var i=new a.constructor(a.byteLength);return new n(i).set(new n(a)),i}f.exports=r},57304(f,d,e){f=e.nmd(f);var n=e(97991),r=d&&!d.nodeType&&d,a=r&&!0&&f&&!f.nodeType&&f,i=a&&a.exports===r,s=i?n.Buffer:void 0,u=s?s.allocUnsafe:void 0;function l(m,g){if(g)return m.slice();var h=m.length,v=u?u(h):new m.constructor(h);return m.copy(v),v}f.exports=l},68359(f,d,e){var n=e(53471);function r(a,i){var s=i?n(a.buffer):a.buffer;return new a.constructor(s,a.byteOffset,a.byteLength)}f.exports=r},67223(f){var d=/\w*$/;function e(n){var r=new n.constructor(n.source,d.exec(n));return r.lastIndex=n.lastIndex,r}f.exports=e},75034(f,d,e){var n=e(29915),r=n?n.prototype:void 0,a=r?r.valueOf:void 0;function i(s){return a?Object(a.call(s)):{}}f.exports=i},34431(f,d,e){var n=e(53471);function r(a,i){var s=i?n(a.buffer):a.buffer;return new a.constructor(s,a.byteOffset,a.length)}f.exports=r},94945(f){function d(e,n){var r=-1,a=e.length;for(n||(n=Array(a));++r<a;)n[r]=e[r];return n}f.exports=d},18237(f,d,e){var n=e(26233),r=e(90334);function a(i,s,u,l){var m=!u;u||(u={});for(var g=-1,h=s.length;++g<h;){var v=s[g],b=l?l(u[v],i[v],v,u,i):void 0;b===void 0&&(b=i[v]),m?r(u,v,b):n(u,v,b)}return u}f.exports=a},6745(f,d,e){var n=e(18237),r=e(82258);function a(i,s){return n(i,r(i),s)}f.exports=a},46498(f,d,e){var n=e(18237),r=e(72821);function a(i,s){return n(i,r(i),s)}f.exports=a},80891(f,d,e){var n=e(97991),r=n["__core-js_shared__"];f.exports=r},49685(f,d,e){var n=e(52268),r=e(37918),a=e(50407),i="['\u2019]",s=RegExp(i,"g");function u(l){return function(m){return n(a(r(m).replace(s,"")),l,"")}}f.exports=u},59980(f,d,e){var n=e(42871),r=e(98320),a=e(35580);function i(s){return function(u,l,m){var g=Object(u);if(!r(u)){var h=n(l,3);u=a(u),l=function(b){return h(g[b],b,g)}}var v=s(u,l,m);return v>-1?g[h?u[v]:v]:void 0}}f.exports=i},88285(f,d,e){var n=e(17818),r={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},a=n(r);f.exports=a},76221(f,d,e){var n=e(62844),r=(function(){try{var a=n(Object,"defineProperty");return a({},"",{}),a}catch{}})();f.exports=r},47677(f,d,e){var n=e(14173),r=e(59850),a=e(54805),i=1,s=2;function u(l,m,g,h,v,b){var T=g&i,E=l.length,w=m.length;if(E!=w&&!(T&&w>E))return!1;var C=b.get(l),O=b.get(m);
vendor: 5,826 bytes, line 638
638if(C&&O)return C==m&&O==l;var U=-1,D=!0,F=g&s?new n:void 0;for(b.set(l,m),b.set(m,l);++U<E;){var j=l[U],M=m[U];if(h)var W=T?h(M,j,U,m,l,b):h(j,M,U,l,m,b);if(W!==void 0){if(W)continue;D=!1;break}if(F){if(!r(m,function(V,q){if(!a(F,q)&&(j===V||v(j,V,g,h,b)))return F.push(q)})){D=!1;break}}else if(!(j===M||v(j,M,g,h,b))){D=!1;break}}return b.delete(l),b.delete(m),D}f.exports=u},43368(f,d,e){var n=e(29915),r=e(92886),a=e(3086),i=e(47677),s=e(26303),u=e(93405),l=1,m=2,g="[object Boolean]",h="[object Date]",v="[object Error]",b="[object Map]",T="[object Number]",E="[object RegExp]",w="[object Set]",C="[object String]",O="[object Symbol]",U="[object ArrayBuffer]",D="[object DataView]",F=n?n.prototype:void 0,j=F?F.valueOf:void 0;function M(W,V,q,J,re,he,fe){switch(q){case D:if(W.byteLength!=V.byteLength||W.byteOffset!=V.byteOffset)return!1;W=W.buffer,V=V.buffer;case U:return!(W.byteLength!=V.byteLength||!he(new r(W),new r(V)));case g:case h:case T:return a(+W,+V);case v:return W.name==V.name&&W.message==V.message;case E:case C:return W==V+"";case b:var ae=s;case w:var ye=J&l;if(ae||(ae=u),W.size!=V.size&&!ye)return!1;var ve=fe.get(W);if(ve)return ve==V;J|=m,fe.set(W,V);var Ue=i(ae(W),ae(V),J,re,he,fe);return fe.delete(W),Ue;case O:if(j)return j.call(W)==j.call(V)}return!1}f.exports=M},24771(f,d,e){var n=e(32828),r=1,a=Object.prototype,i=a.hasOwnProperty;function s(u,l,m,g,h,v){var b=m&r,T=n(u),E=T.length,w=n(l),C=w.length;if(E!=C&&!b)return!1;for(var O=E;O--;){var U=T[O];if(!(b?U in l:i.call(l,U)))return!1}var D=v.get(u),F=v.get(l);if(D&&F)return D==l&&F==u;var j=!0;v.set(u,l),v.set(l,u);for(var M=b;++O<E;){U=T[O];var W=u[U],V=l[U];if(g)var q=b?g(V,W,U,l,u,v):g(W,V,U,u,l,v);if(!(q===void 0?W===V||h(W,V,m,g,v):q)){j=!1;break}M||(M=U=="constructor")}if(j&&!M){var J=u.constructor,re=l.constructor;J!=re&&"constructor"in u&&"constructor"in l&&!(typeof J=="function"&&J instanceof J&&typeof re=="function"&&re instanceof re)&&(j=!1)}return v.delete(u),v.delete(l),j}f.exports=s},58002(f){var d=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;f.exports=d},32828(f,d,e){var n=e(77993),r=e(82258),a=e(35580);function i(s){return n(s,a,r)}f.exports=i},63939(f,d,e){var n=e(77993),r=e(72821),a=e(93507);function i(s){return n(s,a,r)}f.exports=i},49389(f,d,e){var n=e(81712);function r(a,i){var s=a.__data__;return n(i)?s[typeof i=="string"?"string":"hash"]:s.map}f.exports=r},40502(f,d,e){var n=e(77858),r=e(35580);function a(i){for(var s=r(i),u=s.length;u--;){var l=s[u],m=i[l];s[u]=[l,m,n(m)]}return s}f.exports=a},62844(f,d,e){var n=e(90621),r=e(79414);function a(i,s){var u=r(i,s);return n(u)?u:void 0}f.exports=a},46765(f,d,e){var n=e(94397),r=n(Object.getPrototypeOf,Object);f.exports=r},86989(f,d,e){var n=e(29915),r=Object.prototype,a=r.hasOwnProperty,i=r.toString,s=n?n.toStringTag:void 0;function u(l){var m=a.call(l,s),g=l[s];try{l[s]=void 0;var h=!0}catch{}var v=i.call(l);return h&&(m?l[s]=g:delete l[s]),v}f.exports=u},82258(f,d,e){var n=e(38380),r=e(31163),a=Object.prototype,i=a.propertyIsEnumerable,s=Object.getOwnPropertySymbols,u=s?function(l){return l==null?[]:(l=Object(l),n(s(l),function(m){return i.call(l,m)}))}:r;f.exports=u},72821(f,d,e){var n=e(52670),r=e(46765),a=e(82258),i=e(31163),s=Object.getOwnPropertySymbols,u=s?function(l){for(var m=[];l;)n(m,a(l)),l=r(l);return m}:i;f.exports=u},41179(f,d,e){var n=e(92162),r=e(47257),a=e(32698),i=e(59263),s=e(21169),u=e(62214),l=e(74123),m="[object Map]",g="[object Object]",h="[object Promise]",v="[object Set]",b="[object WeakMap]",T="[object DataView]",E=l(n),w=l(r),C=l(a),O=l(i),U=l(s),D=u;(n&&D(new n(new ArrayBuffer(1)))!=T||r&&D(new r)!=m||a&&D(a.resolve())!=h||i&&D(new i)!=v||s&&D(new s)!=b)&&(D=function(F){var j=u(F),M=j==g?F.constructor:void 0,W=M?l(M):"";if(W)switch(W){case E:return T;case w:return m;case C:return h;case O:return v;case U:return b}return j}),f.exports=D},79414(f){function d(e,n){return e?.[n]}f.exports=d},91284(f,d,e){var n=e(50559),r=e(60642),a=e(78743),i=e(40515),s=e(33776),u=e(19991);function l(m,g,h){g=n(g,m);for(var v=-1,b=g.length,T=!1;++v<b;){var E=u(g[v]);if(!(T=m!=null&&h(m,E)))break;m=m[E]}return T||++v!=b?T:(b=m==null?0:m.length,!!b&&s(b)&&i(E,b)&&(a(m)||r(m)))}f.exports=l},63488(f){var d="\\ud800-\\udfff",e="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=e+n+r,i="\\ufe0e\\ufe0f",s="\\u200d",u=RegExp("["+s+d+a+i+"]");function l(m){return u.test(m)}f.exports=l},98748(f){var d=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function e(n){return d.test(n)}f.exports=e},76190(f,d,e){var n=e(95440);function r(){this.__data__=n?n(null):{},this.size=0}f.exports=r},67896(f){function d(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}f.exports=d},43931(f,d,e){var n=e(95440),r="__lodash_hash_undefined__",a=Object.prototype,i=a.hasOwnProperty;function s(u){var l=this.__data__;if(n){var m=l[u];return m===r?void 0:m}return i.call(l,u)?l[u]:void 0}f.exports=s},30711(f,d,e){var n=e(95440),r=Object.prototype,a=r.hasOwnProperty;function i(s){var u=this.__data__;return n?u[s]!==void 0:a.call(u,s)}f.exports=i},52703(f,d,e){var n=e(95440),r="__lodash_hash_undefined__";function a(i,s){var u=this.__data__;return this.size+=this.has(i)?0:1,u[i]=n&&s===void 0?r:s,this}f.exports=a},25811(f){var d=Object.prototype,e=d.hasOwnProperty;function n(r){var a=r.length,i=new r.constructor(a);return a&&typeof r[0]=="string"&&e.call(r,"index")&&(i.index=r.index,i.input=r.input),i}f.exports=n},48021(f,d,e){var n=e(53471),r=e(68359),a=e(67223),i=e(75034),s=e(34431),u="[object Boolean]",l="[object Date]",m="[object Map]",g="[object Number]",h="[object RegExp]",v="[object Set]",b="[object String]",T="[object Symbol]",E="[object ArrayBuffer]",w="[object DataView]",C="[object Float32Array]",O="[object Float64Array
638]",U="[object Int8Array]",D="[object Int16Array]",F="[object Int32Array]",j="[object Uint8Array]",M="[object Uint8ClampedArray]",W="[object Uint16Array]",V="[object Uint32Array]";function q(J,re,he){var fe=J.constructor;switch(re){case E:return n(J);case u:case l:return new fe(+J);case w:return r(J,he);case C:case O:case U:case D:case F:case j:case M:case W:case V:return s(J,he);case m:return new fe;case g:case b:return new fe(J);case h:return a(J);case v:return new fe;case T:return i(J)}}f.exports=q},29075(f,d,e){var n=e(96166),r=e(46765),a=e(89745);function i(s){return typeof s.constructor=="function"&&!a(s)?n(r(s)):{}}f.exports=i},40515(f){var d=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function n(r,a){var i=typeof r;return a=a??d,!!a&&(i=="number"||i!="symbol"&&e.test(r))&&r>-1&&r%1==0&&r<a}f.exports=n},37884(f,d,e){var n=e(78743),r=e(89256),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;function s(u,l){if(n(u))return!1;var m=typeof u;return m=="number"||m=="symbol"||m=="boolean"||u==null||r(u)?!0:i.test(u)||!a.test(u)||l!=null&&u in Object(l)}f.exports=s},81712(f){function d(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}f.exports=d},35770(f,d,e){var n=e(80891),r=(function(){var i=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})();function a(i){return!!r&&r in i}f.exports=a},89745(f){var d=Object.prototype;function e(n){var r=n&&n.constructor,a=typeof r=="function"&&r.prototype||d;return n===a}f.exports=e},77858(f,d,e){var n=e(85015);function r(a){return a===a&&!n(a)}f.exports=r},11712(f){function d(){this.__data__=[],this.size=0}f.exports=d},44998(f,d,e){var n=e(90539),r=Array.prototype,a=r.splice;function i(s){var u=this.__data__,l=n(u,s);if(l<0)return!1;var m=u.length-1;return l==m?u.pop():a.call(u,l,1),--this.size,!0}f.exports=i},68721(f,d,e){var n=e(90539);function r(a){var i=this.__data__,s=n(i,a);return s<0?void 0:i[s][1]}f.exports=r},66589(f,d,e){var n=e(90539);function r(a){return n(this.__data__,a)>-1}f.exports=r},35029(f,d,e){var n=e(90539);function r(a,i){var s=this.__data__,u=n(s,a);return u<0?(++this.size,s.push([a,i])):s[u][1]=i,this}f.exports=r},74434(f,d,e){var n=e(3031),r=e(11453),a=e(47257);function i(){this.size=0,this.__data__={hash:new n,map:new(a||r),string:new n}}f.exports=i},76308(f,d,e){var n=e(49389);function r(a){var i=n(this,a).delete(a);return this.size-=i?1:0,i}f.exports=r},21639(f,d,e){var n=e(49389);function r(a){return n(this,a).get(a)}f.exports=r},31643(f,d,e){var n=e(49389);function r(a){return n(this,a).has(a)}f.exports=r},15203(f,d,e){var n=e(49389);function r(a,i){var s=n(this,a),u=s.size;return s.set(a,i),this.size+=s.size==u?0:1,this}f.exports=r},26303(f){function d(e){var n=-1,r=Array(e.size);return e.forEach(function(a,i){r[++n]=[i,a]}),r}f.exports=d},68675(f){function d(e,n){return function(r){return r==null?!1:r[e]===n&&(n!==void 0||e in Object(r))}}f.exports=d},51318(f,d,e){var n=e(59650),r=500;function a(i){var s=n(i,function(l){return u.size===r&&u.clear(),l}),u=s.cache;return s}f.exports=a},95440(f,d,e){var n=e(62844),r=n(Object,"create");f.exports=r},93560(f,d,e){var n=e(94397),r=n(Object.keys,Object);f.exports=r},56327(f){function d(e){var n=[];if(e!=null)for(var r in Object(e))n.push(r);return n}f.exports=d},6767(f,d,e){f=e.nmd(f);var n=e(58002),r=d&&!d.nodeType&&d,a=r&&!0&&f&&!f.nodeType&&f,i=a&&a.exports===r,s=i&&n.process,u=(function(){try{var l=a&&a.require&&a.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}})();f.exports=u},81944(f){var d=Object.prototype,e=d.toString;function n(r){return e.call(r)}f.exports=n},94397(f){function d(e,n){return function(r){return e(n(r))}}f.exports=d},97991(f,d,e){var n=e(58002),r=typeof self=="object"&&self&&self.Object===Object&&self,a=n||r||Function("return this")();f.exports=a},36546(f){var d="__lodash_hash_undefined__";function e(n){return this.__data__.set(n,d),this}f.exports=e},38141(f){function d(e){return this.__data__.has(e)}f.exports=d},93405(f){function d(e){var n=-1,r=Array(e.size);return e.forEach(function(a){r[++n]=a}),r}f.exports=d},11816(f,d,e){var n=e(83781);function r(a,i){var s=-1,u=a.length,l=u-1;for(i=i===void 0?u:i;++s<i;){var m=n(s,l),g=a[m];a[m]=a[s],a[s]=g}return a.length=i,a}f.exports=r},14950(f,d,e){var n=e(11453);function r(){this.__data__=new n,this.size=0}f.exports=r},90896(f){function d(e){var n=this.__data__,r=n.delete(e);return this.size=n.size,r}f.exports=d},85587(f){function d(e){return this.__data__.get(e)}f.exports=d},21535(f){function d(e){return this.__data__.has(e)}f.exports=d},55127(f,d,e){var n=e(11453),r=e(47257),a=e(37859),i=200;function s(u,l){var m=this.__data__;if(m instanceof n){var g=m.__data__;if(!r||g.length<i-1)return g.push([u,l]),this.size=++m.size,this;m=this.__data__=new a(g)}return m.set(u,l),this.size=m.size,this}f.exports=s},36751(f,d,e){var n=e(90565),r=e(63488),a=e(91813);function i(s){return r(s)?a(s):n(s)}f.exports=i},87230(f,d,e){var n=e(63780),r=e(63488),a=e(73495);function i(s){return r(s)?a(s):n(s)}f.exports=i},36980(f,d,e){var n=e(51318),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=n(function(s){var u=[];
vendor: 3,973 bytes, line 638
638return s.charCodeAt(0)===46&&u.push(""),s.replace(r,function(l,m,g,h){u.push(g?h.replace(a,"$1"):m||l)}),u});f.exports=i},19991(f,d,e){var n=e(89256),r=1/0;function a(i){if(typeof i=="string"||n(i))return i;var s=i+"";return s=="0"&&1/i==-r?"-0":s}f.exports=a},74123(f){var d=Function.prototype,e=d.toString;function n(r){if(r!=null){try{return e.call(r)}catch{}try{return r+""}catch{}}return""}f.exports=n},54558(f){var d=/\s/;function e(n){for(var r=n.length;r--&&d.test(n.charAt(r)););return r}f.exports=e},91813(f){var d="\\ud800-\\udfff",e="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=e+n+r,i="\\ufe0e\\ufe0f",s="["+d+"]",u="["+a+"]",l="\\ud83c[\\udffb-\\udfff]",m="(?:"+u+"|"+l+")",g="[^"+d+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",v="[\\ud800-\\udbff][\\udc00-\\udfff]",b="\\u200d",T=m+"?",E="["+i+"]?",w="(?:"+b+"(?:"+[g,h,v].join("|")+")"+E+T+")*",C=E+T+w,O="(?:"+[g+u+"?",u,h,v,s].join("|")+")",U=RegExp(l+"(?="+l+")|"+O+C,"g");function D(F){for(var j=U.lastIndex=0;U.test(F);)++j;return j}f.exports=D},73495(f){var d="\\ud800-\\udfff",e="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=e+n+r,i="\\ufe0e\\ufe0f",s="["+d+"]",u="["+a+"]",l="\\ud83c[\\udffb-\\udfff]",m="(?:"+u+"|"+l+")",g="[^"+d+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",v="[\\ud800-\\udbff][\\udc00-\\udfff]",b="\\u200d",T=m+"?",E="["+i+"]?",w="(?:"+b+"(?:"+[g,h,v].join("|")+")"+E+T+")*",C=E+T+w,O="(?:"+[g+u+"?",u,h,v,s].join("|")+")",U=RegExp(l+"(?="+l+")|"+O+C,"g");function D(F){return F.match(U)||[]}f.exports=D},26272(f){var d="\\ud800-\\udfff",e="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",a=e+n+r,i="\\u2700-\\u27bf",s="a-z\\xdf-\\xf6\\xf8-\\xff",u="\\xac\\xb1\\xd7\\xf7",l="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",m="\\u2000-\\u206f",g=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",h="A-Z\\xc0-\\xd6\\xd8-\\xde",v="\\ufe0e\\ufe0f",b=u+l+m+g,T="['\u2019]",E="["+b+"]",w="["+a+"]",C="\\d+",O="["+i+"]",U="["+s+"]",D="[^"+d+b+C+i+s+h+"]",F="\\ud83c[\\udffb-\\udfff]",j="(?:"+w+"|"+F+")",M="[^"+d+"]",W="(?:\\ud83c[\\udde6-\\uddff]){2}",V="[\\ud800-\\udbff][\\udc00-\\udfff]",q="["+h+"]",J="\\u200d",re="(?:"+U+"|"+D+")",he="(?:"+q+"|"+D+")",fe="(?:"+T+"(?:d|ll|m|re|s|t|ve))?",ae="(?:"+T+"(?:D|LL|M|RE|S|T|VE))?",ye=j+"?",ve="["+v+"]?",Ue="(?:"+J+"(?:"+[M,W,V].join("|")+")"+ve+ye+")*",We="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",de="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xe=ve+ye+Ue,Fe="(?:"+[O,W,V].join("|")+")"+xe,Xe=RegExp([q+"?"+U+"+"+fe+"(?="+[E,q,"$"].join("|")+")",he+"+"+ae+"(?="+[E,q+re,"$"].join("|")+")",q+"?"+re+"+"+fe,q+"+"+ae,de,We,C,Fe].join("|"),"g");function Me(Ze){return Ze.match(Xe)||[]}f.exports=Me},78285(f,d,e){var n=e(47549),r=1,a=4;function i(s){return n(s,r|a)}f.exports=i},23875(f,d,e){var n=e(85015),r=e(84938),a=e(45260),i="Expected a function",s=Math.max,u=Math.min;function l(m,g,h){var v,b,T,E,w,C,O=0,U=!1,D=!1,F=!0;if(typeof m!="function")throw new TypeError(i);g=a(g)||0,n(h)&&(U=!!h.leading,D="maxWait"in h,T=D?s(a(h.maxWait)||0,g):T,F="trailing"in h?!!h.trailing:F);function j(ae){var ye=v,ve=b;return v=b=void 0,O=ae,E=m.apply(ve,ye),E}function M(ae){return O=ae,w=setTimeout(q,g),U?j(ae):E}function W(ae){var ye=ae-C,ve=ae-O,Ue=g-ye;return D?u(Ue,T-ve):Ue}function V(ae){var ye=ae-C,ve=ae-O;return C===void 0||ye>=g||ye<0||D&&ve>=T}function q(){var ae=r();if(V(ae))return J(ae);w=setTimeout(q,W(ae))}function J(ae){return w=void 0,F&&v?j(ae):(v=b=void 0,E)}function re(){w!==void 0&&clearTimeout(w),O=0,v=C=b=w=void 0}function he(){return w===void 0?E:J(r())}function fe(){var ae=r(),ye=V(ae);if(v=arguments,b=this,C=ae,ye){if(w===void 0)return M(C);if(D)return clearTimeout(w),w=setTimeout(q,g),j(C)}return w===void 0&&(w=setTimeout(q,g)),E}return fe.cancel=re,fe.flush=he,fe}f.exports=l},37918(f,d,e){var n=e(88285),r=e(12280),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
6387f]/g,i="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",u="\\u20d0-\\u20ff",l=i+s+u,m="["+l+"]",g=RegExp(m,"g");function h(v){return v=r(v),v&&v.replace(a,n).replace(g,"")}f.exports=h},3086(f){function d(e,n){return e===n||e!==e&&n!==n}f.exports=d},99278(f,d,e){var n=e(12280),r=/[\\^$.*+?()[\]{}|]/g,a=RegExp(r.source);function i(s){return s=n(s),s&&a.test(s)?s.replace(r,"\\$&"):s}f.exports=i},63947(f,d,e){var n=e(59980),r=e(97183),a=n(r);f.exports=a},97183(f,d,e){var n=e(15825),r=e(42871),a=e(15123),i=Math.max;function s(u,l,m){var g=u==null?0:u.length;if(!g)return-1;var h=m==null?0:a(m);return h<0&&(h=i(g+h,0)),n(u,r(l,3),h)}f.exports=s},69354(f,d,e){var n=e(97540);function r(a,i,s){var u=a==null?void 0:n(a,i);return u===void 0?s:u}f.exports=r},77433(f,d,e){var n=e(73215),r=e(91284);function a(i,s){return i!=null&&r(i,s,n)}f.exports=a},86346(f){function d(e){return e}f.exports=d},60642(f,d,e){var n=e(82260),r=e(82736),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,u=n((function(){return arguments})())?n:function(l){return r(l)&&i.call(l,"callee")&&!s.call(l,"callee")};f.exports=u},78743(f){var d=Array.isArray;f.exports=d},98320(f,d,e){var n=e(91696),r=e(33776);function a(i){return i!=null&&r(i.length)&&!n(i)}f.exports=a},15562(f,d,e){f=e.nmd(f);var n=e(97991),r=e(41705),a=d&&!d.nodeType&&d,i=a&&!0&&f&&!f.nodeType&&f,s=i&&i.exports===a,u=s?n.Buffer:void 0,l=u?u.isBuffer:void 0,m=l||r;f.exports=m},68903(f,d,e){var n=e(59862),r=e(41179),a=e(60642),i=e(78743),s=e(98320),u=e(15562),l=e(89745),m=e(82073),g="[object Map]",h="[object Set]",v=Object.prototype,b=v.hasOwnProperty;function T(E){if(E==null)return!0;if(s(E)&&(i(E)||typeof E=="string"||typeof E.splice=="function"||u(E)||m(E)||a(E)))return!E.length;var w=r(E);if(w==g||w==h)return!E.size;if(l(E))return!n(E).length;for(var C in E)if(b.call(E,C))return!1;return!0}f.exports=T},82010(f,d,e){var n=e(4860);function r(a,i){return n(a,i)}f.exports=r},91696(f,d,e){var n=e(62214),r=e(85015),a="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";function l(m){if(!r(m))return!1;var g=n(m);return g==i||g==s||g==a||g==u}f.exports=l},33776(f){var d=9007199254740991;function e(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=d}f.exports=e},91664(f,d,e){var n=e(84650),r=e(30263),a=e(6767),i=a&&a.isMap,s=i?r(i):n;f.exports=s},85015(f){function d(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}f.exports=d},82736(f){function d(e){return e!=null&&typeof e=="object"}f.exports=d},37873(f,d,e){var n=e(3791),r=e(30263),a=e(6767),i=a&&a.isRegExp,s=i?r(i):n;f.exports=s},28234(f,d,e){var n=e(3696),r=e(30263),a=e(6767),i=a&&a.isSet,s=i?r(i):n;f.exports=s},89256(f,d,e){var n=e(62214),r=e(82736),a="[object Symbol]";function i(s){return typeof s=="symbol"||r(s)&&n(s)==a}f.exports=i},82073(f,d,e){var n=e(80007),r=e(30263),a=e(6767),i=a&&a.isTypedArray,s=i?r(i):n;f.exports=s},59607(f,d,e){var n=e(49685),r=n(function(a,i,s){return a+(s?"-":"")+i.toLowerCase()});f.exports=r},35580(f,d,e){var n=e(41789),r=e(59862),a=e(98320);function i(s){return a(s)?n(s):r(s)}f.exports=i},93507(f,d,e){var n=e(41789),r=e(7105),a=e(98320);function i(s){return a(s)?n(s,!0):r(s)}f.exports=i},85429(f,d,e){f=e.nmd(f);var n;/** 639* @license 640* Lodash <https://lodash.com/> 641* Copyright OpenJS Foundation and other contributors <https://openjsf.org/> 642* Released under MIT license <https://lodash.com/license> 643* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> 644* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 645*/(function(){var r,a="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",l="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",g=500,h="__lodash_placeholder__",v=1,b=2,T=4,E=1,w=2,C=1,O=2,U=4,D=8,F=16,j=32,M=64,W=128,V=256,q=512,J=30,re="...",he=800,fe=16,ae=1,ye=2,ve=3,Ue=1/0,We=9007199254740991,de=17976931348623157e292,xe=NaN,Fe=4294967295,Xe=Fe-1,Me=Fe>>>1,Ze=[["ary",W],["bind",C],["bindKey",O],["curry",D],["curryRight",F],["flip",q],["partial",j],["partialRight",M],["rearg",V]],rt="[object Arguments]",mt="[object Array]",Xt="[object AsyncFunction]",jt="[object Boolean]",Lt="[object Date]",Ht="[object DOMException]",vr="[object Error]",Fr="[object Function]",fn="[object GeneratorFunction]",Kr="[object Map]",Sn="[object Number]",Fn="[object Null]",Et="[object Object]",st="[object Promise]",Wr="[object Proxy]",Dr="[object RegExp]",Tr="[object Set]",gr="[object String]",ir="[object Symbol]",Mr="[object Undef
645ined]",Lr="[object WeakMap]",un="[object WeakSet]",hn="[object ArrayBuffer]",rr="[object DataView]",Gr="[object Float32Array]",er="[object Float64Array]",At="[object Int8Array]",dr="[object Int16Array]",Y="[object Int32Array]",ot="[object Uint8Array]",Yt="[object Uint8ClampedArray]",it="[object Uint16Array]",Mt="[object Uint32Array]",an=/\b__p \+= '';/g,Cn=/\b(__p \+=) '' \+/g,Ln=/(__e\(.*?\)|\b__t\)) \+\n'';/g,In=/&(?:amp|lt|gt|quot|#39);/g,Si=/[&<>"']/g,$i=RegExp(In.source),tn=RegExp(Si.source),Hi=/<%-([\s\S]+?)%>/g,Ji=/<%([\s\S]+?)%>/g,Yi=/<%=([\s\S]+?)%>/g,Ki=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,mi=/^\w*$/,ws=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Zn=/[\\^$.*+?()[\]{}|]/g,fs=RegExp(Zn.source),cs=/^\s+/,vs=/\s/,wr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,we=/\{\n\/\* \[wrapped with (.+)\] \*/,Ke=/,? & /,ut=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Kt=/[()=,{}\[\]\/\s]/,ar=/\\(\\)?/g,Wn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,hi=/\w*$/,Tt=/^[-+]0x[0-9a-f]+$/i,qr=/^0b[01]+$/i,Vr=/^\[object .+?Constructor\]$/,Or=/^0o[0-7]+$/i,Pn=/^(?:0|[1-9]\d*)$/,zr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 12,320 bytes, line 645
6457f]/g,Hn=/($^)/,fi=/['\n\r\u2028\u2029\\]/g,Ti="\\ud800-\\udfff",ss="\\u0300-\\u036f",xi="\\ufe20-\\ufe2f",ms="\\u20d0-\\u20ff",wi=ss+xi+ms,Ls="\\u2700-\\u27bf",as="a-z\\xdf-\\xf6\\xf8-\\xff",rs="\\xac\\xb1\\xd7\\xf7",xa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ka="\\u2000-\\u206f",Is=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ms="A-Z\\xc0-\\xd6\\xd8-\\xde",Gs="\\ufe0e\\ufe0f",ks=rs+xa+ka+Is,ha="['\u2019]",Ys="["+Ti+"]",Ea="["+ks+"]",ia="["+wi+"]",us="\\d+",eo="["+Ls+"]",wa="["+as+"]",da="[^"+Ti+ks+us+Ls+as+Ms+"]",js="\\ud83c[\\udffb-\\udfff]",ce="(?:"+ia+"|"+js+")",ze="[^"+Ti+"]",Nt="(?:\\ud83c[\\udde6-\\uddff]){2}",Pr="[\\ud800-\\udbff][\\udc00-\\udfff]",pn="["+Ms+"]",ci="\\u200d",Wi="(?:"+wa+"|"+da+")",qi="(?:"+pn+"|"+da+")",Li="(?:"+ha+"(?:d|ll|m|re|s|t|ve))?",Mi="(?:"+ha+"(?:D|LL|M|RE|S|T|VE))?",_a=ce+"?",io="["+Gs+"]?",za="(?:"+ci+"(?:"+[ze,Nt,Pr].join("|")+")"+io+_a+")*",so="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ys="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Cr=io+_a+za,$a="(?:"+[eo,Nt,Pr].join("|")+")"+Cr,ln="(?:"+[ze+ia+"?",ia,Nt,Pr,Ys].join("|")+")",va=RegExp(ha,"g"),Da=RegExp(ia,"g"),zs=RegExp(js+"(?="+js+")|"+ln+Cr,"g"),Ks=RegExp([pn+"?"+wa+"+"+Li+"(?="+[Ea,pn,"$"].join("|")+")",qi+"+"+Mi+"(?="+[Ea,pn+Wi,"$"].join("|")+")",pn+"?"+Wi+"+"+Li,pn+"+"+Mi,ys,so,us,$a].join("|"),"g"),Aa=RegExp("["+ci+Ti+wi+Gs+"]"),pa=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Pt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],$t=-1,xr={};xr[Gr]=xr[er]=xr[At]=xr[dr]=xr[Y]=xr[ot]=xr[Yt]=xr[it]=xr[Mt]=!0,xr[rt]=xr[mt]=xr[hn]=xr[jt]=xr[rr]=xr[Lt]=xr[vr]=xr[Fr]=xr[Kr]=xr[Sn]=xr[Et]=xr[Dr]=xr[Tr]=xr[gr]=xr[Lr]=!1;var $r={};$r[rt]=$r[mt]=$r[hn]=$r[rr]=$r[jt]=$r[Lt]=$r[Gr]=$r[er]=$r[At]=$r[dr]=$r[Y]=$r[Kr]=$r[Sn]=$r[Et]=$r[Dr]=$r[Tr]=$r[gr]=$r[ir]=$r[ot]=$r[Yt]=$r[it]=$r[Mt]=!0,$r[vr]=$r[Fr]=$r[Lr]=!1;var bn={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Yr={"&":"&","<":"<",">":">",'"':""","'":"'"},ge={"&":"&","<":"<",">":">",""":'"',"'":"'"},je={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},bt=parseFloat,yt=parseInt,sr=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,pr=typeof self=="object"&&self&&self.Object===Object&&self,hr=sr||pr||Function("return this")(),Xn=d&&!d.nodeType&&d,Un=Xn&&!0&&f&&!f.nodeType&&f,Fi=Un&&Un.exports===Xn,ti=Fi&&sr.process,Ai=(function(){try{var ur=Un&&Un.require&&Un.require("util").types;return ur||ti&&ti.binding&&ti.binding("util")}catch{}})(),qn=Ai&&Ai.isArrayBuffer,$e=Ai&&Ai.isDate,Je=Ai&&Ai.isMap,Ct=Ai&&Ai.isRegExp,Ot=Ai&&Ai.isSet,Wt=Ai&&Ai.isTypedArray;function Er(ur,on,kr){switch(kr.length){case 0:return ur.call(on);case 1:return ur.call(on,kr[0]);case 2:return ur.call(on,kr[0],kr[1]);case 3:return ur.call(on,kr[0],kr[1],kr[2])}return ur.apply(on,kr)}function Hr(ur,on,kr,jn){for(var ts=-1,is=ur==null?0:ur.length;++ts<is;){var _i=ur[ts];on(jn,_i,kr(_i),ur)}return jn}function mn(ur,on){for(var kr=-1,jn=ur==null?0:ur.length;++kr<jn&&on(ur[kr],kr,ur)!==!1;);return ur}function di(ur,on){for(var kr=ur==null?0:ur.length;kr--&&on(ur[kr],kr,ur)!==!1;);return ur}function si(ur,on){for(var kr=-1,jn=ur==null?0:ur.length;++kr<jn;)if(!on(ur[kr],kr,ur))return!1;return!0}function Pe(ur,on){for(var kr=-1,jn=ur==null?0:ur.length,ts=0,is=[];++kr<jn;){var _i=ur[kr];on(_i,kr,ur)&&(is[ts++]=_i)}return is}function He(ur,on){var kr=ur==null?0:ur.length;return!!kr&&hs(ur,on,0)>-1}function ft(ur,on,kr){for(var jn=-1,ts=ur==null?0:ur.length;++jn<ts;)if(kr(on,ur[jn]))return!0;return!1}function Le(ur,on){for(var kr=-1,jn=ur==null?0:ur.length,ts=Array(jn);++kr<jn;)ts[kr]=on(ur[kr],kr,ur);return ts}function De(ur,on){for(var kr=-1,jn=on.length,ts=ur.length;++kr<jn;)ur[ts+kr]=on[kr];return ur}function lt(ur,on,kr,jn){var ts=-1,is=ur==null?0:ur.length;for(jn&&is&&(kr=ur[++ts]);++ts<is;)kr=on(kr,ur[ts],ts,ur);return kr}function gt(ur,on,kr,jn){var ts=ur==null?0:ur.length;for(jn&&ts&&(kr=ur[--ts]);ts--;)kr=on(kr,ur[ts],ts,ur);return kr}function Zt(ur,on){for(var kr=-1,jn=ur==null?0:ur.length;++kr<jn;)if(on(ur[kr],kr,ur))return!0;return!1}var xn=Ei("length");function dn(ur){return ur.split("")}function vn(ur){return ur.match(ut)||[]}function $n(ur,on,kr){var jn;return kr(ur,function(ts,is,_i){if(on(ts,is,_i))return jn=is,!1}),jn}function Ui(ur,on,kr,jn){for(var ts=ur.length,is=kr+(jn?1:-1);jn?is--:++is<ts;)if(on(ur[is],is,ur))return is;return-1}function hs(ur,on,kr){return on===on?Bt(ur,on,kr):Ui(ur,ki,kr)}function Qn(ur,on,kr,jn){for(var ts=kr-1,is=ur.length;++ts<is;)if(jn(ur[ts],on))return ts;return-1}function ki(ur){return ur!==ur}function Oi(ur,on){var kr=ur==null?0:ur.length;return kr?Cs(ur,on)/kr:xe}function Ei(ur){return function(on){return on==null?r:on[ur]}}function ma(ur){return function(on){return ur==null?r:ur[on]}}function Fs(ur,on,kr,jn,ts){return ts(ur,function(is,_i,Ps){kr=jn?(jn=!1,is):on(kr,is,_i,Ps)}),kr}function Ha(ur,on){var kr=ur.length;for(ur.sort(on);kr--;)ur[kr]=ur[kr].value;return ur}function Cs(ur,on){for(var kr,jn=-1,ts=ur.length;++jn<ts;){var is=on(ur[jn]);is!==r&&(kr=kr===r?is:kr+is)}return kr}function qs(ur,on){for(var kr=-1,jn=Array(ur);++kr<ur;)jn[kr]=on(kr);return jn}function Wa(ur,on){return Le(on,function(kr){return[kr,ur[kr]]})}function Oa(ur){return ur&&ur.slice(0,Rn(ur)+1).replace(cs,"")}function Na(ur){return function(on){return ur(on)}}function Qo(ur,on){return Le(on,function(kr){return ur[kr]})}function $s(ur,on){return ur.has(on)}function ra(ur,on){for(var kr=-1,jn=ur.length;++kr<jn&&hs(on,ur[kr],0)>-1;);return kr}function bs(ur,on){for(var kr=ur.length;kr--&&hs(on,ur[kr],0)>-1;);return kr}function Ia(ur,on){for(var kr=ur.length,jn=0;kr--;)ur[kr]===on&&++jn;return jn}var Eu=ma(bn),oo=ma(Yr);function ju(ur){return"\\"+je[ur]}function xo(ur,on){return ur==null?r:ur[on]}function $(ur){return Aa.test(ur)}function z(ur){return pa.test(ur)}function ee(ur){for(var on,kr=[];!(on=ur.next()).done;)kr.push(on.value);return kr}function pe(ur){var on=-1,kr=Array(ur.size);return ur.forEach(function(jn,ts){kr[++on]=[ts,jn]}),kr}function Ce(ur,on){return function(kr){return ur(on(kr))}}function Be(ur,on){for(var kr=-1,jn=ur.length,ts=0,is=[];++kr<jn;){var _i=ur[kr];(_i===on||_i===h)&&(ur[kr]=h,is[ts++]=kr)}return is}function at(ur){var on=-1,kr=Array(ur.size);return ur.forEach(function(jn){kr[++on]=jn}),kr}function vt(ur){var on=-1,kr=Array(ur.size);return ur.forEach(function(jn){kr[++on]=[jn,jn]}),kr}function Bt(ur,on,kr){for(var jn=kr-1,ts=ur.length;++jn<ts;)if(ur[jn]===on)return jn;return-1}function mr(ur,on,kr){for(var jn=kr+1;jn--;)if(ur[jn]===on)return jn;return jn}function zt(ur){return $(ur)?Yn(ur):xn(ur)}function jr(ur){return $(ur)?gi(ur):dn(ur)}function Rn(ur){for(var on=ur.length;on--&&vs.test(ur.charAt(on)););return on}var Jn=ma(ge);function Yn(ur){for(var on=zs.lastIndex=0;zs.test(ur);)++on;return on}function gi(ur){return ur.match(zs)||[]}function Ni(ur){return ur.match(Ks)||[]}var Ii=(function ur(on){on=on==null?hr:es.defaults(hr.Object(),on,es.pick(hr,Pt));var kr=on.Array,jn=on.Date,ts=on.Error,is=on.Function,_i=on.Math,Ps=on.Object,Do=on.RegExp,zu=on.String,Va=on.TypeError,ol=kr.prototype,Pu=is.prototype,Eo=Ps.prototype,sa=on["__core-js_shared__"],Ru=Pu.toString,Ca=Eo.hasOwnProperty,Kc=0,ul=(function(){var S=/[^.]+$/.exec(sa&&sa.keys&&sa.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""})(),bl=Eo.toString,Jo=Ru.call(Ps),Xc=hr._,pc=Do("^"+Ru.call(Ca).replace(Zn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bs=Fi?on.Buffer:r,Lo=on.Symbol,uo=on.Uint8Array,Oo=Bs?Bs.allocUnsafe:r,Du=Ce(Ps.getPrototypeOf,Ps),se=Ps.create,_r=Eo.propertyIsEnumerable,ct=ol.splice,wt=Lo?Lo.isConcatSpreadable:r,En=Lo?Lo.iterator:r,ei=Lo?Lo.toStringTag:r,As=(function(){try{var S=ai(Ps,"defineProperty");return S({},"",{}),S}catch{}})(),xs=on.clearTimeout!==hr.clearTimeout&&on.clearTimeout,ya=jn&&jn.now!==hr.Date.now&&jn.now,Zo=on.setTimeout!==hr.setTimeout&&on.setTimeout,fo=_i.ceil,Qa=_i.floor,tl=Ps.getOwnPropertySymbols,$u=Bs?Bs.isBuffer:r,qo=on.isFinite,Hu=ol.join,hu=Ce(Ps.keys,Ps),Fa=_i.max,ho=_i.min,Rl=jn.now,Es=on.parseInt,Tu=_i.random,Dl=ol.reverse,Ae=ai(on,"DataView"),qe=ai(on,"Map"),St=ai(on,"Promise"),Ft=ai(on,"Set"),Jt=ai(on,"WeakMap"),Rr=ai(Ps,"create"),On=Jt&&new Jt,Kn={},Bi=jc(Ae),ji=jc(qe),Xi=jc(St),aa=jc(Ft),Js=jc(Jt),Ka=Lo?Lo.prototype:r,To=Ka?Ka.valueOf:r,po=Ka?Ka.toString:r;function dt(S){if(lu(S)&&!B(S)&&!(S instanceof gs)){if(S instanceof ba)return S;if(Ca.call(S,"__wrapped__"))return Ed(S)}return new ba(S)}var Ja=(function(){function S(){}return function(A){if(!uu(A))return{};if(se)return se(A);S.prototype=A;var Q=new S;return S.prototype=r,Q}})();function La(){}function ba(S,A){this.__wrapped__=S,this.__actions__=[],this.__chain__=!!A,this.__index__=0,this.__values__=r}dt.templateSettings={escape:Hi,evaluate:Ji,interpolate:Yi,variable:"",imports:{_:dt}},dt.prototype=La.prototype,dt.prototype.constructor=dt,ba.prototype=Ja(La.prototype),ba.prototype.constructor=ba;function gs(S){this.__wrapped__=S,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Fe,this.__views__=[]}function eu(){var S=new gs(this.__wrapped__);return S.__actions__=Bo(this.__actions__),S.__dir__=this.__dir__,S.__filtered__=this.__filtered__,S.__iteratees__=Bo(this.__iteratees__),S.__takeCount__=this.__takeCount__,S.__views__=Bo(this.__views__),S}function ll(){if(this.__filtered__){var S=new gs(this);S.__dir__=-1,S.__filtered__=!0}else S=this.clone(),S.__dir__*=-1;return S}function rl(){var S=this.__wrapped__.value(),A=this.__dir__,Q=B(S),_e=A<0,nt=Q?S.length:0,Dt=la(0,nt,this.__views__),cr=Dt.start,Ur=Dt.end,sn=Ur-cr,ui=_e?Ur:cr-1,li=this.__iteratees__,pi=li.length,Zi=0,Ts=ho(sn,this.__takeCount__);if(!Q||!_e&&nt==sn&&Ts==sn)return vd(S,this.__actions__);var ta=[];e:for(;
vendor: 12,746 bytes, line 645
645sn--&&Zi<Ts;){ui+=A;for(var Ra=-1,Ws=S[ui];++Ra<pi;){var Xa=li[Ra],no=Xa.iteratee,Wc=Xa.type,fc=no(Ws);if(Wc==ye)Ws=fc;else if(!fc){if(Wc==ae)continue e;break e}}ta[Zi++]=Ws}return ta}gs.prototype=Ja(La.prototype),gs.prototype.constructor=gs;function pu(S){var A=-1,Q=S==null?0:S.length;for(this.clear();++A<Q;){var _e=S[A];this.set(_e[0],_e[1])}}function Xl(){this.__data__=Rr?Rr(null):{},this.size=0}function mu(S){var A=this.has(S)&&delete this.__data__[S];return this.size-=A?1:0,A}function wu(S){var A=this.__data__;if(Rr){var Q=A[S];return Q===m?r:Q}return Ca.call(A,S)?A[S]:r}function Rc(S){var A=this.__data__;return Rr?A[S]!==r:Ca.call(A,S)}function Qc(S,A){var Q=this.__data__;return this.size+=this.has(S)?0:1,Q[S]=Rr&&A===r?m:A,this}pu.prototype.clear=Xl,pu.prototype.delete=mu,pu.prototype.get=wu,pu.prototype.has=Rc,pu.prototype.set=Qc;function Lu(S){var A=-1,Q=S==null?0:S.length;for(this.clear();++A<Q;){var _e=S[A];this.set(_e[0],_e[1])}}function mc(){this.__data__=[],this.size=0}function Vo(S){var A=this.__data__,Q=Ql(A,S);if(Q<0)return!1;var _e=A.length-1;return Q==_e?A.pop():ct.call(A,Q,1),--this.size,!0}function qd(S){var A=this.__data__,Q=Ql(A,S);return Q<0?r:A[Q][1]}function pd(S){return Ql(this.__data__,S)>-1}function Mu(S,A){var Q=this.__data__,_e=Ql(Q,S);return _e<0?(++this.size,Q.push([S,A])):Q[_e][1]=A,this}Lu.prototype.clear=mc,Lu.prototype.delete=Vo,Lu.prototype.get=qd,Lu.prototype.has=pd,Lu.prototype.set=Mu;function cl(S){var A=-1,Q=S==null?0:S.length;for(this.clear();++A<Q;){var _e=S[A];this.set(_e[0],_e[1])}}function Jc(){this.size=0,this.__data__={hash:new pu,map:new(qe||Lu),string:new pu}}function Wu(S){var A=cn(this,S).delete(S);return this.size-=A?1:0,A}function gc(S){return cn(this,S).get(S)}function vc(S){return cn(this,S).has(S)}function Go(S,A){var Q=cn(this,S),_e=Q.size;return Q.set(S,A),this.size+=Q.size==_e?0:1,this}cl.prototype.clear=Jc,cl.prototype.delete=Wu,cl.prototype.get=gc,cl.prototype.has=vc,cl.prototype.set=Go;function wo(S){var A=-1,Q=S==null?0:S.length;for(this.__data__=new cl;++A<Q;)this.add(S[A])}function ni(S){return this.__data__.set(S,m),this}function dl(S){return this.__data__.has(S)}wo.prototype.add=wo.prototype.push=ni,wo.prototype.has=dl;function gu(S){var A=this.__data__=new Lu(S);this.size=A.size}function Dc(){this.__data__=new Lu,this.size=0}function Ba(S){var A=this.__data__,Q=A.delete(S);return this.size=A.size,Q}function tu(S){return this.__data__.get(S)}function Za(S){return this.__data__.has(S)}function ku(S,A){var Q=this.__data__;if(Q instanceof Lu){var _e=Q.__data__;if(!qe||_e.length<i-1)return _e.push([S,A]),this.size=++Q.size,this;Q=this.__data__=new cl(_e)}return Q.set(S,A),this.size=Q.size,this}gu.prototype.clear=Dc,gu.prototype.delete=Ba,gu.prototype.get=tu,gu.prototype.has=Za,gu.prototype.set=ku;function Zc(S,A){var Q=B(S),_e=!Q&&I(S),nt=!Q&&!_e&&ga(S),Dt=!Q&&!_e&&!nt&&Gf(S),cr=Q||_e||nt||Dt,Ur=cr?qs(S.length,zu):[],sn=Ur.length;for(var ui in S)(A||Ca.call(S,ui))&&!(cr&&(ui=="length"||nt&&(ui=="offset"||ui=="parent")||Dt&&(ui=="buffer"||ui=="byteLength"||ui=="byteOffset")||ao(ui,sn)))&&Ur.push(ui);return Ur}function qc(S){var A=S.length;return A?S[nc(0,A-1)]:r}function yc(S,A){return _c(Bo(S),vu(A,0,S.length))}function ru(S){return _c(Bo(S))}function Ll(S,A,Q){(Q!==r&&!Cc(S[A],Q)||Q===r&&!(A in S))&&Gu(S,A,Q)}function vo(S,A,Q){var _e=S[A];(!(Ca.call(S,A)&&Cc(_e,Q))||Q===r&&!(A in S))&&Gu(S,A,Q)}function Ql(S,A){for(var Q=S.length;Q--;)if(Cc(S[Q][0],A))return Q;return-1}function Vu(S,A,Q,_e){return Ua(S,function(nt,Dt,cr){A(_e,nt,Q(nt),cr)}),_e}function Ml(S,A){return S&&su(A,sl(A),S)}function ed(S,A){return S&&su(A,Yl(A),S)}function Gu(S,A,Q){A=="__proto__"&&As?As(S,A,{configurable:!0,enumerable:!0,value:Q,writable:!0}):S[A]=Q}function Jl(S,A){for(var Q=-1,_e=A.length,nt=kr(_e),Dt=S==null;++Q<_e;)nt[Q]=Dt?r:Op(S,A[Q]);return nt}function vu(S,A,Q){return S===S&&(Q!==r&&(S=S<=Q?S:Q),A!==r&&(S=S>=A?S:A)),S}function _o(S,A,Q,_e,nt,Dt){var cr,Ur=A&v,sn=A&b,ui=A&T;if(Q&&(cr=nt?Q(S,_e,nt,Dt):Q(S)),cr!==r)return cr;if(!uu(S))return S;var li=B(S);if(li){if(cr=Ns(S),!Ur)return Bo(S,cr)}else{var pi=Qs(S),Zi=pi==Fr||pi==fn;if(ga(S))return lo(S,Ur);if(pi==Et||pi==rt||Zi&&!nt){if(cr=sn||Zi?{}:Ta(S),!Ur)return sn?nf(S,ed(cr,S)):Uo(S,Ml(cr,S))}else{if(!$r[pi])return nt?S:{};cr=to(S,pi,Ur)}}Dt||(Dt=new gu);var Ts=Dt.get(S);if(Ts)return Ts;Dt.set(S,cr),Tp(S)?S.forEach(function(Ws){cr.add(_o(Ws,A,Q,Ws,S,Dt))}):c0(S)&&S.forEach(function(Ws,Xa){cr.set(Xa,_o(Ws,A,Q,Xa,S,Dt))});var ta=ui?sn?Ut:_t:sn?Yl:sl,Ra=li?r:ta(S);return mn(Ra||S,function(Ws,Xa){Ra&&(Xa=Ws,Ws=S[Xa]),vo(cr,Xa,_o(Ws,A,Q,Xa,S,Dt))}),cr}function Zl(S){var A=sl(S);return function(Q){return Yo(Q,S,A)}}function Yo(S,A,Q){var _e=Q.length;if(S==null)return!_e;for(S=Ps(S);_e--;){var nt=Q[_e],Dt=A[nt],cr=S[nt];if(cr===r&&!(nt in S)||!Dt(cr))return!1}return!0}function Sl(S,A,Q){if(typeof S!="function")throw new Va(u);return ud(function(){S.apply(r,Q)},A)}function Yu(S,A,Q,_e){var nt=-1,Dt=He,cr=!0,Ur=S.length,sn=[],ui=A.length;if(!Ur)return sn;Q&&(A=Le(A,Na(Q))),_e?(Dt=ft,cr=!1):A.length>=i&&(Dt=$s,cr=!1,A=new wo(A));e:for(;++nt<Ur;){var li=S[nt],pi=Q==null?li:Q(li);if(li=_e||li!==0?li:0,cr&&pi===pi){for(var Zi=ui;Zi--;)if(A[Zi]===pi)continue e;sn.push(li)}else Dt(A,pi,_e)||sn.push(li)}return sn}var Ua=Ec(nu),Lc=Ec(Ku,!0);function md(S,A){var Q=!0;return Ua(S,function(_e,nt,Dt){return Q=!!A(_e,nt,Dt),Q}),Q}function Mn(S,A,Q){for(var _e=-1,nt=S.length;++_e<nt;){var Dt=S[_e],cr=A(Dt);if(cr!=null&&(Ur===r?cr===cr&&!Ac(cr):Q(cr,Ur)))var Ur=cr,sn=Dt}return sn}function gd(S,A,Q,_e){var nt=S.length;for(Q=Pa(Q),Q<0&&(Q=-Q>nt?0:nt+Q),_e=_e===r||_e>nt?nt:Pa(_e),_e<0&&(_e+=nt),_e=Q>_e?0:v0(_e);Q<_e;)S[Q++]=A;return S}function ql(S,A){var Q=[];return Ua(S,function(_e,nt,Dt){A(_e,nt,Dt)&&Q.push(_e)}),Q}function Mo(S,A,Q,_e,nt){var Dt=-1,cr=S.length;for(Q||(Q=id),nt||(nt=[]);++Dt<cr;){var Ur=S[Dt];A>0&&Q(Ur)?A>1?Mo(Ur,A-1,Q,_e,nt):De(nt,Ur):_e||(nt[nt.length]=Ur)}return nt}var yu=Sd(),ec=Sd(!0);function nu(S,A){return S&&yu(S,A,sl)}function Ku(S,A){return S&&ec(S,A,sl)}function tc(S,A){return Pe(A,function(Q){return Yd(S[Q])})}function Ko(S,A){A=wl(A,S);for(var Q=0,_e=A.length;S!=null&&Q<_e;)S=S[Al(A[Q++])];return Q&&Q==_e?S:r}function bc(S,A,Q){var _e=A(S);return B(S)?_e:De(_e,Q(S))}function Io(S){return S==null?S===r?Mr:Fn:ei&&ei in Ps(S)?Ri(S):ad(S)}function qa(S,A){return S>A}function Sc(S,A){return S!=null&&Ca.call(S,A)}function _u(S,A){return S!=null&&A in Ps(S)}function Mc(S,A,Q){return S>=ho(A,Q)&&S<Fa(A,Q)}function nl(S,A,Q){for(var _e=Q?ft:He,nt=S[0].length,Dt=S.length,cr=Dt,Ur=kr(Dt),sn=1/0,ui=[];cr--;){var li=S[cr];cr&&A&&(li=Le(li,Na(A))),sn=ho(li.length,sn),Ur[cr]=!Q&&(A||nt>=120&&li.length>=120)?new wo(cr&&li):r}li=S[0];var pi=-1,Zi=Ur[0];e:for(;++pi<nt&&ui.length<sn;){var Ts=li[pi],ta=A?A(Ts):Ts;if(Ts=Q||Ts!==0?Ts:0,!(Zi?$s(Zi,ta):_e(ui,ta,Q))){for(cr=Dt;--cr;){var Ra=Ur[cr];if(!(Ra?$s(Ra,ta):_e(S[cr],ta,Q)))continue e}Zi&&Zi.push(ta),ui.push(Ts)}}return ui}function xl(S,A,Q,_e){return nu(S,function(nt,Dt,cr){A(_e,Q(nt),Dt,cr)}),_e}function kl(S,A,Q){A=wl(A,S),S=od(S,A);var _e=S==null?S:S[Al(ea(A))];return _e==null?r:Er(_e,S,Q)}function Nl(S){return lu(S)&&Io(S)==rt}function rc(S){return lu(S)&&Io(S)==hn}function fl(S){return lu(S)&&Io(S)==Lt}function Fl(S,A,Q,_e,nt){return S===A?!0:S==null||A==null||!lu(S)&&!lu(A)?S!==S&&A!==A:td(S,A,Q,_e,Fl,nt)}function td(S,A,Q,_e,nt,Dt){var cr=B(S),Ur=B(A),sn=cr?mt:Qs(S),ui=Ur?mt:Qs(A);sn=sn==rt?Et:sn,ui=ui==rt?Et:ui;var li=sn==Et,pi=ui==Et,Zi=sn==ui;if(Zi&&ga(S)){if(!ga(A))return!1;cr=!0,li=!1}if(Zi&&!li)return Dt||(Dt=new gu),cr||Gf(S)?oe(S,A,Q,_e,nt,Dt):Ie(S,A,sn,Q,_e,nt,Dt);if(!(Q&E)){var Ts=li&&Ca.call(S,"__wrapped__"),ta=pi&&Ca.call(A,"__wrapped__");if(Ts||ta){var Ra=Ts?S.value():S,Ws=ta?A.value():A;return Dt||(Dt=new gu),nt(Ra,Ws,Q,_e,Dt)}}return Zi?(Dt||(Dt=new gu),Ge(S,A,Q,_e,nt,Dt)):!1}function Bl(S){return lu(S)&&Qs(S)==Kr}function Ul(S,A,Q,_e){var nt=Q.length,Dt=nt,cr=!_e;if(S==null)return!Dt;for(S=Ps(S);nt--;){var Ur=Q[nt];if(cr&&Ur[2]?Ur[1]!==S[Ur[0]]:!(Ur[0]in S))return!1}for(;++nt<Dt;){Ur=Q[nt];var sn=Ur[0],ui=S[sn],li=Ur[1];if(cr&&Ur[2]){if(ui===r&&!(sn in S))return!1}else{var pi=new gu;if(_e)var Zi=_e(ui,li,sn,S,A,pi);if(!(Zi===r?Fl(li,ui,E|w,_e,pi):Zi))return!1}}return!0}function ca(S){if(!uu(S)||xd(S))return!1;var A=Yd(S)?pc:Vr;return A.test(jc(S))}function N(S){return lu(S)&&Io(S)==Dr}function te(S){return lu(S)&&Qs(S)==Tr}function Ee(S){return lu(S)&&Iu(S.length)&&!!xr[Io(S)]}function Ne(S){return typeof S=="function"?S:S==null?dc:typeof S=="object"?B(S)?oa(S[0],S[1]):_s(S):$0(S)}function ht(S){if(!Cl(S))return hu(S);var A=[];for(var Q in Ps(S))Ca.call(S,Q)&&Q!="constructor"&&A.push(Q);return A}function Ar(S){if(!uu(S))return Zu(S);var A=Cl(S),Q=[];for(var _e in S)_e=="constructor"&&(A||!Ca.call(S,_e))||Q.push(_e);return Q}function An(S,A){return S<A}function Vi(S,A){var Q=-1,_e=fr(S)?kr(S.length):[];return Ua(S,function(nt,Dt,cr){_e[++Q]=A(nt,Dt,cr)}),_e}function _s(S){var A=gn(S);return A.length==1&&A[0][2]?Fu(A[0][0],A[0][1]):function(Q){return Q===S||Ul(Q,S,A)}}function oa(S,A){return Hl(S)&&pl(A)?Fu(Al(S),A):function(Q){var _e=Op(Q,S);return _e===r&&_e===A?rp(Q,S):Fl(A,_e,E|w)}}function yo(S,A,Q,_e,nt){S!==A&&yu(A,function(Dt,cr){if(nt||(nt=new gu),uu(Dt))El(S,A,cr,Q,yo,_e,nt);else{var Ur=_e?_e(qu(S,cr),Dt,cr+"",S,A,nt):r;Ur===r&&(Ur=Dt),Ll(S,cr,Ur)}},Yl)}function El(S,A,Q,_e,nt,Dt,cr){var Ur=qu(S,Q),sn=qu(A,Q),ui=cr.get(sn);if(ui){Ll(S,Q,ui);return}var li=Dt?Dt(Ur,sn,Q+"",S,A,cr):r,pi=li===r;if(pi){var Zi=B(sn),Ts=!Zi&&ga(sn),ta=!Zi&&!Ts&&Gf(sn);li=sn,Zi||Ts||ta?B(Ur)?li=Ur:oi(Ur)?li=Bo(Ur):Ts?(pi=!1,li=lo(sn,!0)):ta?(pi=!1,li=nd(sn,!0)):li=[]:Ch(sn)||I(sn)?(li=Ur,I(Ur)?li=Cp(Ur):(!uu(Ur)||Yd(Ur))&&(li=Ta(sn))):pi=!1}pi&&(cr.set(sn,li),nt(li,sn,_e,Dt,cr),cr.delete(sn)),Ll(S,Q,li)}function Xu(S,A){var Q=S.length;if(Q)return A+=A<0?Q:0,ao(A,Q)?S[A]:r}function Ld(S,A,Q){A.length?A=Le(A,function(Dt){return B(Dt)?function(cr){return Ko(cr,Dt.length===1?Dt[0]:Dt)}:Dt}):A=[dc];var _e=-1;A=Le(A,Na(br()));var nt=Vi(S,function(Dt,cr,Ur){var sn=Le(A,function(ui){return ui(Dt)});return{criteria:sn,index:++_e,value:Dt}});return Ha(nt,function(Dt,cr){return bd(Dt,cr,Q)})}function kc(S,A){return ef(S,A,function(Q,_e){return rp(S,_e)})}function ef(S,A,Q){for(var _e=-1,nt=A.length,Dt={};++_e<nt;){var cr=A[_e],Ur=Ko(S,cr);Q(Ur,cr)&&ic(Dt,wl(cr,S),Ur)}return Dt}function tf(S){return function(A){return Ko(A,S)}}function Nu(S,A,Q,_e){var nt=_e?Qn:hs,Dt=-1,cr=A.length,Ur=S;for(S===A&&(A=Bo(A)),Q&&(Ur=Le(S,Na(Q)));++Dt<cr;)for(var sn=0,ui=A[Dt],li=Q?Q(ui):ui;(sn=nt(Ur,li,sn,_e))>-1;)Ur!==S&&ct.call(Ur,sn,1),ct.call(S,sn,1);return S}function Qu(S,A){for(var Q=S?A.length:0,_e=Q-1;Q--;){var nt=A[Q];if(Q==_e||nt!==Dt){var Dt=nt;ao(nt)?ct.call(S,nt,1):Fc(S,nt)}}return S}function nc(S,A){return S+Qa(Tu()*(A-S+1))}function x(S,A,Q,_e){for(var nt=-1,Dt=Fa(fo((A-S)/(Q||1)),0),cr=kr(Dt);Dt--;)cr[_e?Dt:++nt]=S,S+=Q;return cr}function Ju(S,A){var Q="";if(!S||A<1||A>We)return Q;do A%2&&(Q+=S),A=Qa(A/2),A&&(S+=S);while(A);return Q}function Pi(S,A){return Wl(Nd(S,A,dc),S+"")}function ua(S){return qc(If(S))}function Nc(S,A){var Q=If(S);return _c(Q,vu(A,0,Q.length))}function ic(S,A,Q,_e){if(!uu(S))return S;A=wl(A,S);for(var nt=-1,Dt=A.length,cr=Dt-1,Ur=S;Ur!=null&&++nt<Dt;){var sn=Al(A[nt]),ui=Q;if(sn==="__proto__"||sn==="constructor"||sn==="prototype")return S;if(nt!=cr){var li=Ur[sn];ui=_e?_e(li,sn,Ur):r,ui===r&&(ui=uu(li)?li:ao(A[nt+1])?[]:{})}vo(Ur,sn,ui),Ur=Ur[sn]}return S}var Md=On?function(S,A){return On.set(S,A),S}:dc,Lf=As?function(S,A){return As(S,"toString",{configurable:!0,enumerable:!1,value:Mp(A),writable:!0})}:dc;function wn(S){return _c(If(S))}function Rs(S,A,Q){var _e=-1,nt=S.length;A<0&&(A=-A>nt?0:nt+A),Q=Q>nt?nt:Q,Q<0&&(Q+=nt),nt=A>Q?0:Q-A>>>0,A>>>=0;for(var Dt=kr(nt);++_e<nt;)Dt[_e]=S[_e+A];return Dt}function bu(S,A){var Q;return Ua(S,function(_e,nt,Dt){return Q=A(_e,nt,Dt),!Q}),!!Q}function Ga(S,A,Q){var _e=0,nt=S==null?_e:S.length;if(typeof A=="number"&&A===A&&nt<=Me){for(;_e<nt;){var Dt=_e+nt>>>1,cr=S[Dt];cr!==null&&!Ac(cr)&&(Q?cr<=A:cr<A)?_e=Dt+1:nt=Dt}return nt}return Xs(S,A,dc,Q)}function Xs(S,A,Q,_e){var nt=0,Dt=S==null?0:S.length;if(Dt===0)return 0;A=Q(A);for(var cr=A!==A,Ur=A===null,sn=Ac(A),ui=A===r;nt<Dt;){var li=Qa((nt+Dt)/2),pi=Q(S[li]),Zi=pi!==r,Ts=pi===null,ta=pi===pi,Ra=Ac(pi);if(cr)var Ws=_e||ta;else ui?Ws=ta&&(_e||Zi):Ur?Ws=ta&&Zi&&(_e||!Ts):sn?Ws=ta&&Zi&&!Ts&&(_e||!Ra):Ts||Ra?Ws=!1:Ws=_e?pi<=A:pi<A;Ws?nt=li+1:Dt=li}return ho(Dt,Xe)}function Tl(S,A){for(var Q=-1,_e=S.length,nt=0,Dt=[];++Q<_e;){var cr=S[Q],Ur=A?A(cr):cr;if(!Q||!Cc(Ur,sn)){var sn=Ur;Dt[nt++]=cr===0?0:cr}}return Dt}function jl(S){return typeof S=="number"?S:Ac(S)?xe:+S}
vendor: 14,881 bytes, lines 645-647
645function fa(S){if(typeof S=="string")return S;if(B(S))return Le(S,fa)+"";if(Ac(S))return po?po.call(S):"";var A=S+"";return A=="0"&&1/S==-Ue?"-0":A}function zl(S,A,Q){var _e=-1,nt=He,Dt=S.length,cr=!0,Ur=[],sn=Ur;if(Q)cr=!1,nt=ft;else if(Dt>=i){var ui=A?null:Vn(S);if(ui)return at(ui);cr=!1,nt=$s,sn=new wo}else sn=A?[]:Ur;e:for(;++_e<Dt;){var li=S[_e],pi=A?A(li):li;if(li=Q||li!==0?li:0,cr&&pi===pi){for(var Zi=sn.length;Zi--;)if(sn[Zi]===pi)continue e;A&&sn.push(pi),Ur.push(li)}else nt(sn,pi,Q)||(sn!==Ur&&sn.push(pi),Ur.push(li))}return Ur}function Fc(S,A){return A=wl(A,S),S=od(S,A),S==null||delete S[Al(ea(A))]}function sc(S,A,Q,_e){return ic(S,A,Q(Ko(S,A)),_e)}function Cu(S,A,Q,_e){for(var nt=S.length,Dt=_e?nt:-1;(_e?Dt--:++Dt<nt)&&A(S[Dt],Dt,S););return Q?Rs(S,_e?0:Dt,_e?Dt+1:nt):Rs(S,_e?Dt+1:0,_e?nt:Dt)}function vd(S,A){var Q=S;return Q instanceof gs&&(Q=Q.value()),lt(A,function(_e,nt){return nt.func.apply(nt.thisArg,De([_e],nt.args))},Q)}function $l(S,A,Q){var _e=S.length;if(_e<2)return _e?zl(S[0]):[];for(var nt=-1,Dt=kr(_e);++nt<_e;)for(var cr=S[nt],Ur=-1;++Ur<_e;)Ur!=nt&&(Dt[nt]=Yu(Dt[nt]||cr,S[Ur],A,Q));return zl(Mo(Dt,1),A,Q)}function rf(S,A,Q){for(var _e=-1,nt=S.length,Dt=A.length,cr={};++_e<nt;){var Ur=_e<Dt?A[_e]:r;Q(cr,S[_e],Ur)}return cr}function yd(S){return oi(S)?S:[]}function ac(S){return typeof S=="function"?S:dc}function wl(S,A){return B(S)?S:Hl(S,A)?[S]:Bd(So(S))}var kd=Pi;function iu(S,A,Q){var _e=S.length;return Q=Q===r?_e:Q,!A&&Q>=_e?S:Rs(S,A,Q)}var Au=xs||function(S){return hr.clearTimeout(S)};function lo(S,A){if(A)return S.slice();var Q=S.length,_e=Oo?Oo(Q):new S.constructor(Q);return S.copy(_e),_e}function Su(S){var A=new S.constructor(S.byteLength);return new uo(A).set(new uo(S)),A}function Bc(S,A){var Q=A?Su(S.buffer):S.buffer;return new S.constructor(Q,S.byteOffset,S.byteLength)}function rd(S){var A=new S.constructor(S.source,hi.exec(S));return A.lastIndex=S.lastIndex,A}function hl(S){return To?Ps(To.call(S)):{}}function nd(S,A){var Q=A?Su(S.buffer):S.buffer;return new S.constructor(Q,S.byteOffset,S.length)}function _l(S,A){if(S!==A){var Q=S!==r,_e=S===null,nt=S===S,Dt=Ac(S),cr=A!==r,Ur=A===null,sn=A===A,ui=Ac(A);if(!Ur&&!ui&&!Dt&&S>A||Dt&&cr&&sn&&!Ur&&!ui||_e&&cr&&sn||!Q&&sn||!nt)return 1;if(!_e&&!Dt&&!ui&&S<A||ui&&Q&&nt&&!_e&&!Dt||Ur&&Q&&nt||!cr&&nt||!sn)return-1}return 0}function bd(S,A,Q){for(var _e=-1,nt=S.criteria,Dt=A.criteria,cr=nt.length,Ur=Q.length;++_e<cr;){var sn=_l(nt[_e],Dt[_e]);if(sn){if(_e>=Ur)return sn;var ui=Q[_e];return sn*(ui=="desc"?-1:1)}}return S.index-A.index}function il(S,A,Q,_e){for(var nt=-1,Dt=S.length,cr=Q.length,Ur=-1,sn=A.length,ui=Fa(Dt-cr,0),li=kr(sn+ui),pi=!_e;++Ur<sn;)li[Ur]=A[Ur];for(;++nt<cr;)(pi||nt<Dt)&&(li[Q[nt]]=S[nt]);for(;ui--;)li[Ur++]=S[nt++];return li}function oc(S,A,Q,_e){for(var nt=-1,Dt=S.length,cr=-1,Ur=Q.length,sn=-1,ui=A.length,li=Fa(Dt-Ur,0),pi=kr(li+ui),Zi=!_e;++nt<li;)pi[nt]=S[nt];for(var Ts=nt;++sn<ui;)pi[Ts+sn]=A[sn];for(;++cr<Ur;)(Zi||nt<Dt)&&(pi[Ts+Q[cr]]=S[nt++]);return pi}function Bo(S,A){var Q=-1,_e=S.length;for(A||(A=kr(_e));++Q<_e;)A[Q]=S[Q];return A}function su(S,A,Q,_e){var nt=!Q;Q||(Q={});for(var Dt=-1,cr=A.length;++Dt<cr;){var Ur=A[Dt],sn=_e?_e(Q[Ur],S[Ur],Ur,Q,S):r;sn===r&&(sn=S[Ur]),nt?Gu(Q,Ur,sn):vo(Q,Ur,sn)}return Q}function Uo(S,A){return su(S,ps(S),A)}function nf(S,A){return su(S,Hs(S),A)}function xc(S,A){return function(Q,_e){var nt=B(Q)?Hr:Vu,Dt=A?A():{};return nt(Q,S,br(_e,2),Dt)}}function uc(S){return Pi(function(A,Q){var _e=-1,nt=Q.length,Dt=nt>1?Q[nt-1]:r,cr=nt>2?Q[2]:r;for(Dt=S.length>3&&typeof Dt=="function"?(nt--,Dt):r,cr&&bo(Q[0],Q[1],cr)&&(Dt=nt<3?r:Dt,nt=1),A=Ps(A);++_e<nt;){var Ur=Q[_e];Ur&&S(A,Ur,_e,Dt)}return A})}function Ec(S,A){return function(Q,_e){if(Q==null)return Q;if(!fr(Q))return S(Q,_e);for(var nt=Q.length,Dt=A?nt:-1,cr=Ps(Q);(A?Dt--:++Dt<nt)&&_e(cr[Dt],Dt,cr)!==!1;);return Q}}function Sd(S){return function(A,Q,_e){for(var nt=-1,Dt=Ps(A),cr=_e(A),Ur=cr.length;Ur--;){var sn=cr[S?Ur:++nt];if(Q(Dt[sn],sn,Dt)===!1)break}return A}}function k(S,A,Q){var _e=A&C,nt=be(S);function Dt(){var cr=this&&this!==hr&&this instanceof Dt?nt:S;return cr.apply(_e?Q:this,arguments)}return Dt}function G(S){return function(A){A=So(A);var Q=$(A)?jr(A):r,_e=Q?Q[0]:A.charAt(0),nt=Q?iu(Q,1).join(""):A.slice(1);return _e[S]()+nt}}function ie(S){return function(A){return lt(N0(ip(A).replace(va,"")),S,"")}}function be(S){return function(){var A=arguments;switch(A.length){case 0:return new S;case 1:return new S(A[0]);case 2:return new S(A[0],A[1]);case 3:return new S(A[0],A[1],A[2]);case 4:return new S(A[0],A[1],A[2],A[3]);case 5:return new S(A[0],A[1],A[2],A[3],A[4]);case 6:return new S(A[0],A[1],A[2],A[3],A[4],A[5]);case 7:return new S(A[0],A[1],A[2],A[3],A[4],A[5],A[6])}var Q=Ja(S.prototype),_e=S.apply(Q,A);return uu(_e)?_e:Q}}function Se(S,A,Q){var _e=be(S);function nt(){for(var Dt=arguments.length,cr=kr(Dt),Ur=Dt,sn=qt(nt);Ur--;)cr[Ur]=arguments[Ur];var ui=Dt<3&&cr[0]!==sn&&cr[Dt-1]!==sn?[]:Be(cr,sn);if(Dt-=ui.length,Dt<Q)return en(S,A,Ve,nt.placeholder,r,cr,ui,r,r,Q-Dt);var li=this&&this!==hr&&this instanceof nt?_e:S;return Er(li,this,cr)}return nt}function Oe(S){return function(A,Q,_e){var nt=Ps(A);if(!fr(A)){var Dt=br(Q,3);A=sl(A),Q=function(Ur){return Dt(nt[Ur],Ur,nt)}}var cr=S(A,Q,_e);return cr>-1?nt[Dt?A[cr]:cr]:r}}function ke(S){return tt(function(A){var Q=A.length,_e=Q,nt=ba.prototype.thru;for(S&&A.reverse();_e--;){var Dt=A[_e];if(typeof Dt!="function")throw new Va(u);if(nt&&!cr&&Qt(Dt)=="wrapper")var cr=new ba([],!0)}for(_e=cr?_e:Q;++_e<Q;){Dt=A[_e];var Ur=Qt(Dt),sn=Ur=="wrapper"?yr(Dt):r;sn&&au(sn[0])&&sn[1]==(W|D|j|V)&&!sn[4].length&&sn[9]==1?cr=cr[Qt(sn[0])].apply(cr,sn[3]):cr=Dt.length==1&&au(Dt)?cr[Ur]():cr.thru(Dt)}return function(){var ui=arguments,li=ui[0];if(cr&&ui.length==1&&B(li))return cr.plant(li).value();for(var pi=0,Zi=Q?A[pi].apply(this,ui):li;++pi<Q;)Zi=A[pi].call(this,Zi);return Zi}})}function Ve(S,A,Q,_e,nt,Dt,cr,Ur,sn,ui){var li=A&W,pi=A&C,Zi=A&O,Ts=A&(D|F),ta=A&q,Ra=Zi?r:be(S);function Ws(){for(var Xa=arguments.length,no=kr(Xa),Wc=Xa;Wc--;)no[Wc]=arguments[Wc];if(Ts)var fc=qt(Ws),Vc=Ia(no,fc);if(_e&&(no=il(no,_e,nt,Ts)),Dt&&(no=oc(no,Dt,cr,Ts)),Xa-=Vc,Ts&&Xa<ui){var Uu=Be(no,fc);return en(S,A,Ve,Ws.placeholder,Q,no,Uu,Ur,sn,ui-Xa)}var Od=pi?Q:this,pf=Zi?Od[S]:S;return Xa=no.length,Ur?no=gl(no,Ur):ta&&Xa>1&&no.reverse(),li&&sn<Xa&&(no.length=sn),this&&this!==hr&&this instanceof Ws&&(pf=Ra||be(pf)),pf.apply(Od,no)}return Ws}function et(S,A){return function(Q,_e){return xl(Q,S,A(_e),{})}}function pt(S,A){return function(Q,_e){var nt;if(Q===r&&_e===r)return A;if(Q!==r&&(nt=Q),_e!==r){if(nt===r)return _e;typeof Q=="string"||typeof _e=="string"?(Q=fa(Q),_e=fa(_e)):(Q=jl(Q),_e=jl(_e)),nt=S(Q,_e)}return nt}}function lr(S){return tt(function(A){return A=Le(A,Na(br())),Pi(function(Q){var _e=this;return S(A,function(nt){return Er(nt,_e,Q)})})})}function Vt(S,A){A=A===r?" ":fa(A);var Q=A.length;if(Q<2)return Q?Ju(A,S):A;var _e=Ju(A,fo(S/zt(A)));return $(A)?iu(jr(_e),0,S).join(""):_e.slice(0,S)}function Nr(S,A,Q,_e){var nt=A&C,Dt=be(S);function cr(){for(var Ur=-1,sn=arguments.length,ui=-1,li=_e.length,pi=kr(li+sn),Zi=this&&this!==hr&&this instanceof cr?Dt:S;++ui<li;)pi[ui]=_e[ui];for(;sn--;)pi[ui++]=arguments[++Ur];return Er(Zi,nt?Q:this,pi)}return cr}function nr(S){return function(A,Q,_e){return _e&&typeof _e!="number"&&bo(A,Q,_e)&&(Q=_e=r),A=fd(A),Q===r?(Q=A,A=0):Q=fd(Q),_e=_e===r?A<Q?1:-1:fd(_e),x(A,Q,_e,S)}}function Br(S){return function(A,Q){return typeof A=="string"&&typeof Q=="string"||(A=cc(A),Q=cc(Q)),S(A,Q)}}function en(S,A,Q,_e,nt,Dt,cr,Ur,sn,ui){var li=A&D,pi=li?cr:r,Zi=li?r:cr,Ts=li?Dt:r,ta=li?r:Dt;A|=li?j:M,A&=~(li?M:j),A&U||(A&=~(C|O));var Ra=[S,A,nt,Ts,pi,ta,Zi,Ur,sn,ui],Ws=Q.apply(r,Ra);return au(S)&&Fd(Ws,Ra),Ws.placeholder=_e,sf(Ws,S,A)}function Jr(S){var A=_i[S];return function(Q,_e){if(Q=cc(Q),_e=_e==null?0:ho(Pa(_e),292),_e&&qo(Q)){var nt=(So(Q)+"e").split("e"),Dt=A(nt[0]+"e"+(+nt[1]+_e));return nt=(So(Dt)+"e").split("e"),+(nt[0]+"e"+(+nt[1]-_e))}return A(Q)}}var Vn=Ft&&1/at(new Ft([,-0]))[1]==Ue?function(S){return new Ft(S)}:Zf;function yn(S){return function(A){var Q=Qs(A);return Q==Kr?pe(A):Q==Tr?vt(A):Wa(A,S(A))}}function ii(S,A,Q,_e,nt,Dt,cr,Ur){var sn=A&O;if(!sn&&typeof S!="function")throw new Va(u);var ui=_e?_e.length:0;if(ui||(A&=~(j|M),_e=nt=r),cr=cr===r?cr:Fa(Pa(cr),0),Ur=Ur===r?Ur:Pa(Ur),ui-=nt?nt.length:0,A&M){var li=_e,pi=nt;_e=nt=r}var Zi=sn?r:yr(S),Ts=[S,A,Q,_e,nt,li,pi,Dt,cr,Ur];if(Zi&&ml(Ts,Zi),S=Ts[0],A=Ts[1],Q=Ts[2],_e=Ts[3],nt=Ts[4],Ur=Ts[9]=Ts[9]===r?sn?0:S.length:Fa(Ts[9]-ui,0),!Ur&&A&(D|F)&&(A&=~(D|F)),!A||A==C)var ta=k(S,A,Q);else A==D||A==F?ta=Se(S,A,Ur):(A==j||A==(C|j))&&!nt.length?ta=Nr(S,A,Q,_e):ta=Ve.apply(r,Ts);var Ra=Zi?Md:Fd;return sf(Ra(ta,Ts),S,A)}function R(S,A,Q,_e){return S===r||Cc(S,Eo[Q])&&!Ca.call(_e,Q)?A:S}function K(S,A,Q,_e,nt,Dt){return uu(S)&&uu(A)&&(Dt.set(A,S),yo(S,A,r,K,Dt),Dt.delete(A)),S}function le(S){return Ch(S)?r:S}function oe(S,A,Q,_e,nt,Dt){var cr=Q&E,Ur=S.length,sn=A.length;if(Ur!=sn&&!(cr&&sn>Ur))return!1;var ui=Dt.get(S),li=Dt.get(A);if(ui&&li)return ui==A&&li==S;var pi=-1,Zi=!0,Ts=Q&w?new wo:r;for(Dt.set(S,A),Dt.set(A,S);++pi<Ur;){var ta=S[pi],Ra=A[pi];if(_e)var Ws=cr?_e(Ra,ta,pi,A,S,Dt):_e(ta,Ra,pi,S,A,Dt);if(Ws!==r){if(Ws)continue;Zi=!1;break}if(Ts){if(!Zt(A,function(Xa,no){if(!$s(Ts,no)&&(ta===Xa||nt(ta,Xa,Q,_e,Dt)))return Ts.push(no)})){Zi=!1;break}}else if(!(ta===Ra||nt(ta,Ra,Q,_e,Dt))){Zi=!1;break}}return Dt.delete(S),Dt.delete(A),Zi}function Ie(S,A,Q,_e,nt,Dt,cr){switch(Q){case rr:if(S.byteLength!=A.byteLength||S.byteOffset!=A.byteOffset)return!1;S=S.buffer,A=A.buffer;case hn:return!(S.byteLength!=A.byteLength||!Dt(new uo(S),new uo(A)));case jt:case Lt:case Sn:return Cc(+S,+A);case vr:return S.name==A.name&&S.message==A.message;case Dr:case gr:return S==A+"";case Kr:var Ur=pe;case Tr:var sn=_e&E;if(Ur||(Ur=at),S.size!=A.size&&!sn)return!1;var ui=cr.get(S);if(ui)return ui==A;_e|=w,cr.set(S,A);var li=oe(Ur(S),Ur(A),_e,nt,Dt,cr);return cr.delete(S),li;case ir:if(To)return To.call(S)==To.call(A)}return!1}function Ge(S,A,Q,_e,nt,Dt){var cr=Q&E,Ur=_t(S),sn=Ur.length,ui=_t(A),li=ui.length;if(sn!=li&&!cr)return!1;for(var pi=sn;pi--;){var Zi=Ur[pi];if(!(cr?Zi in A:Ca.call(A,Zi)))return!1}var Ts=Dt.get(S),ta=Dt.get(A);if(Ts&&ta)return Ts==A&&ta==S;var Ra=!0;Dt.set(S,A),Dt.set(A,S);for(var Ws=cr;++pi<sn;){Zi=Ur[pi];var Xa=S[Zi],no=A[Zi];if(_e)var Wc=cr?_e(no,Xa,Zi,A,S,Dt):_e(Xa,no,Zi,S,A,Dt);if(!(Wc===r?Xa===no||nt(Xa,no,Q,_e,Dt):Wc)){Ra=!1;break}Ws||(Ws=Zi=="constructor")}if(Ra&&!Ws){var fc=S.constructor,Vc=A.constructor;fc!=Vc&&"constructor"in S&&"constructor"in A&&!(typeof fc=="function"&&fc instanceof fc&&typeof Vc=="function"&&Vc instanceof Vc)&&(Ra=!1)}return Dt.delete(S),Dt.delete(A),Ra}function tt(S){return Wl(Nd(S,r,_n),S+"")}function _t(S){return bc(S,sl,ps)}function Ut(S){return bc(S,Yl,Hs)}var yr=On?function(S){return On.get(S)}:Zf;function Qt(S){for(var A=S.name+"",Q=Kn[A],_e=Ca.call(Kn,A)?Q.length:0;_e--;){var nt=Q[_e],Dt=nt.func;if(Dt==null||Dt==S)return nt.name}return A}function qt(S){var A=Ca.call(dt,"placeholder")?dt:S;return A.placeholder}function br(){var S=dt.iteratee||Np;return S=S===Np?Ne:S,arguments.length?S(arguments[0],arguments[1]):S}function cn(S,A){var Q=S.__data__;return sd(A)?Q[typeof A=="string"?"string":"hash"]:Q.map}function gn(S){for(var A=sl(S),Q=A.length;Q--;){var _e=A[Q],nt=S[_e];A[Q]=[_e,nt,pl(nt)]}return A}function ai(S,A){var Q=xo(S,A);return ca(Q)?Q:r}function Ri(S){var A=Ca.call(S,ei),Q=S[ei];try{S[ei]=r;var _e=!0}catch{}var nt=bl.call(S);return _e&&(A?S[ei]=Q:delete S[ei]),nt}var ps=tl?function(S){return S==null?[]:(S=Ps(S),Pe(tl(S),function(A){return _r.call(S,A)}))}:sp,Hs=tl?function(S){for(var A=[];S;)De(A,ps(S)),S=Du(S);return A}:sp,Qs=Io;(Ae&&Qs(new Ae(new ArrayBuffer(1)))!=rr||qe&&Qs(new qe)!=Kr||St&&Qs(St.resolve())!=st||Ft&&Qs(new Ft)!=Tr||Jt&&Qs(new Jt)!=Lr)&&(Qs=function(S){var A=Io(S),Q=A==Et?S.constructor:r,_e=Q?jc(Q):"";if(_e)switch(_e){case Bi:return rr;case ji:return Kr;case Xi:return st;case aa:return Tr;case Js:return Lr}return A});function la(S,A,Q){for(var _e=-1,nt=Q.length;++_e<nt;){var Dt=Q[_e],cr=Dt.size;switch(Dt.type){case"drop":S+=cr;break;case"dropRight":A-=cr;break;case"take":A=ho(A,S+cr);break;case"takeRight":S=Fa(S,A-cr);break}}return{start:S,end:A}}function ko(S){var A=S.match(we);return A?A[1].split(Ke):[]}function zi(S,A,Q){A=wl(A,S);for(var _e=-1,nt=A.length,Dt=!1;++_e<nt;){var cr=Al(A[_e]);if(!(Dt=S!=null&&Q(S,cr)))break;S=S[cr]}return Dt||++_e!=nt?Dt:(nt=S==null?0:S.length,!!nt&&Iu(nt)&&ao(cr,nt)&&(B(S)||I(S)))}function Ns(S){var A=S.length,Q=new S.constructor(A);return A&&typeof S[0]=="string"&&Ca.call(S,"index")&&(Q.index=S.index,Q.input=S.input),Q}function Ta(S){return typeof S.constructor=="function"&&!Cl(S)?Ja(Du(S)):{}}function to(S,A,Q){var _e=S.constructor;switch(A){case hn:return Su(S);case jt:case Lt:return new _e(+S);case rr:return Bc(S,Q);case Gr:case er:case At:case dr:case Y:case ot:case Yt:case it:case Mt:return nd(S,Q);case Kr:return new _e;case Sn:case gr:return new _e(S);case Dr:return rd(S);case Tr:return new _e;case ir:return hl(S)}}function Tc(S,A){var Q=A.length;if(!Q)return S;var _e=Q-1;return A[_e]=(Q>1?"& ":"")+A[_e],A=A.join(Q>2?", ":" "),S.replace(wr,`{ 646/* [wrapped with `+A+`] */ 647`)}function id(S){return B(S)||I(S)||!!(wt&&S&&S[wt])}function ao(S,A){var Q=typeof S;return A=A??We,!!A&&(Q=="number"||Q!="symbol"&&Pn.test(S))&&S>-1&&S%1==0&&S<A}function bo(S,A,Q){if(!uu(Q))return!1;var _e=typeof A;return(_e=="number"?fr(Q)&&ao(A,Q.length):_e=="string"&&A in Q)?Cc(Q[A],S):!1}function Hl(S,A){if(B(S))return!1;var Q=typeof S;return Q=="number"||Q=="symbol"||Q=="boolean"||S==null||Ac(S)?!0:mi.test(S)||!Ki.test(S)||A!=null&&S in Ps(A)}function sd(S){var A=typeof S;return A=="string"||A=="number"||A=="symbol"||A=="boolean"?S!=="__proto__":S===null}function au(S){var A=Qt(S),Q=dt[A];if(typeof Q!="function"||!(A in gs.prototype))return!1;if(S===Q)return!0;var _e=yr(Q);return!!_e&&S===_e[0]}function xd(S){return!!ul&&ul in S}var Uc=sa?Yd:Up;function Cl(S){var A=S&&S.constructor,Q=typeof A=="function"&&A.prototype||Eo;return S===Q}function pl(S){return S===S&&!uu(S)}function Fu(S,A){return function(Q){return Q==null?!1:Q[S]===A&&(A!==r||S in Ps(Q))}}function Bu(S){var A=wf(S,function(_e){return Q.size===g&&Q.clear(),_e}),Q=A.cache;return A}function ml(S,A){var Q=S[1],_e=A[1],nt=Q|_e,Dt=nt<(C|O|W),cr=_e==W&&Q==D||_e==W&&Q==V&&S[7].length<=A[8]||_e==(W|V)&&A[7].length<=A[8]&&Q==D;if(!(Dt||cr))return S;_e&C&&(S[2]=A[2],nt|=Q&C?0:U);var Ur=A[3];if(Ur){var sn=S[3];S[3]=sn?il(sn,Ur,A[4]):Ur,S[4]=sn?Be(S[3],h):A[4]}return Ur=A[5],Ur&&(sn=S[5],S[5]=sn?oc(sn,Ur,A[6]):Ur,S[6]=sn?Be(S[5],h):A[6]),Ur=A[7],Ur&&(S[7]=Ur),_e&W&&(S[8]=S[8]==null?A[8]:ho(S[8],A[8])),S[9]==null&&(S[9]=A[9]),S[0]=A[0],S[1]=nt,S}function Zu(S){var A=[];
vendor: 1,029 bytes, line 647
647if(S!=null)for(var Q in Ps(S))A.push(Q);return A}function ad(S){return bl.call(S)}function Nd(S,A,Q){return A=Fa(A===r?S.length-1:A,0),function(){for(var _e=arguments,nt=-1,Dt=Fa(_e.length-A,0),cr=kr(Dt);++nt<Dt;)cr[nt]=_e[A+nt];nt=-1;for(var Ur=kr(A+1);++nt<A;)Ur[nt]=_e[nt];return Ur[A]=Q(cr),Er(S,this,Ur)}}function od(S,A){return A.length<2?S:Ko(S,Rs(A,0,-1))}function gl(S,A){for(var Q=S.length,_e=ho(A.length,Q),nt=Bo(S);_e--;){var Dt=A[_e];S[_e]=ao(Dt,Q)?nt[Dt]:r}return S}function qu(S,A){if(!(A==="constructor"&&typeof S[A]=="function")&&A!="__proto__")return S[A]}var Fd=wc(Md),ud=Zo||function(S,A){return hr.setTimeout(S,A)},Wl=wc(Lf);function sf(S,A,Q){var _e=A+"";return Wl(S,Tc(_e,gf(ko(_e),Q)))}function wc(S){var A=0,Q=0;return function(){var _e=Rl(),nt=fe-(_e-Q);if(Q=_e,nt>0){if(++A>=he)return arguments[0]}else A=0;return S.apply(r,arguments)}}function _c(S,A){var Q=-1,_e=S.length,nt=_e-1;for(A=A===r?_e:A;++Q<A;){var Dt=nc(Q,nt),cr=S[Dt];S[Dt]=S[Q],S[Q]=cr}return S.length=A,S}var Bd=Bu(function(S){var A=[];
vendor: 1,262 bytes, line 647
647return S.charCodeAt(0)===46&&A.push(""),S.replace(ws,function(Q,_e,nt,Dt){A.push(nt?Dt.replace(ar,"$1"):_e||Q)}),A});function Al(S){if(typeof S=="string"||Ac(S))return S;var A=S+"";return A=="0"&&1/S==-Ue?"-0":A}function jc(S){if(S!=null){try{return Ru.call(S)}catch{}try{return S+""}catch{}}return""}function gf(S,A){return mn(Ze,function(Q){var _e="_."+Q[0];A&Q[1]&&!He(S,_e)&&S.push(_e)}),S.sort()}function Ed(S){if(S instanceof gs)return S.clone();var A=new ba(S.__wrapped__,S.__chain__);return A.__actions__=Bo(S.__actions__),A.__index__=S.__index__,A.__values__=S.__values__,A}function af(S,A,Q){(Q?bo(S,A,Q):A===r)?A=1:A=Fa(Pa(A),0);var _e=S==null?0:S.length;if(!_e||A<1)return[];for(var nt=0,Dt=0,cr=kr(fo(_e/A));nt<_e;)cr[Dt++]=Rs(S,nt,nt+=A);return cr}function vf(S){for(var A=-1,Q=S==null?0:S.length,_e=0,nt=[];++A<Q;){var Dt=S[A];Dt&&(nt[_e++]=Dt)}return nt}function Mf(){var S=arguments.length;if(!S)return[];for(var A=kr(S-1),Q=arguments[0],_e=S;_e--;)A[_e-1]=arguments[_e];return De(B(Q)?Bo(Q):[Q],Mo(A,1))}var kf=Pi(function(S,A){return oi(S)?Yu(S,Mo(A,1,oi,!0)):[]}),Ud=Pi(function(S,A){var Q=ea(A);return oi(Q)&&(Q=r),oi(S)?Yu(S,Mo(A,1,oi,!0),br(Q,2)):[]}),Nf=Pi(function(S,A){var Q=ea(A);return oi(Q)&&(Q=r),oi(S)?Yu(S,Mo(A,1,oi,!0),r,Q):[]});
vendor: 9,927 bytes, line 647
647function jd(S,A,Q){var _e=S==null?0:S.length;return _e?(A=Q||A===r?1:Pa(A),Rs(S,A<0?0:A,_e)):[]}function of(S,A,Q){var _e=S==null?0:S.length;return _e?(A=Q||A===r?1:Pa(A),A=_e-A,Rs(S,0,A<0?0:A)):[]}function Ff(S,A){return S&&S.length?Cu(S,br(A,3),!0,!0):[]}function ih(S,A){return S&&S.length?Cu(S,br(A,3),!0):[]}function Qi(S,A,Q,_e){var nt=S==null?0:S.length;return nt?(Q&&typeof Q!="number"&&bo(S,A,Q)&&(Q=0,_e=nt),gd(S,A,Q,_e)):[]}function Sr(S,A,Q){var _e=S==null?0:S.length;if(!_e)return-1;var nt=Q==null?0:Pa(Q);return nt<0&&(nt=Fa(_e+nt,0)),Ui(S,br(A,3),nt)}function Zr(S,A,Q){var _e=S==null?0:S.length;if(!_e)return-1;var nt=_e-1;return Q!==r&&(nt=Pa(Q),nt=Q<0?Fa(_e+nt,0):ho(nt,_e-1)),Ui(S,br(A,3),nt,!0)}function _n(S){var A=S==null?0:S.length;return A?Mo(S,1):[]}function vi(S){var A=S==null?0:S.length;return A?Mo(S,Ue):[]}function Di(S,A){var Q=S==null?0:S.length;return Q?(A=A===r?1:Pa(A),Mo(S,A)):[]}function Ci(S){for(var A=-1,Q=S==null?0:S.length,_e={};++A<Q;){var nt=S[A];_e[nt[0]]=nt[1]}return _e}function ns(S){return S&&S.length?S[0]:r}function os(S,A,Q){var _e=S==null?0:S.length;if(!_e)return-1;var nt=Q==null?0:Pa(Q);return nt<0&&(nt=Fa(_e+nt,0)),hs(S,A,nt)}function ls(S){var A=S==null?0:S.length;return A?Rs(S,0,-1):[]}var ds=Pi(function(S){var A=Le(S,yd);return A.length&&A[0]===S[0]?nl(A):[]}),Us=Pi(function(S){var A=ea(S),Q=Le(S,yd);return A===ea(Q)?A=r:Q.pop(),Q.length&&Q[0]===S[0]?nl(Q,br(A,2)):[]}),Ss=Pi(function(S){var A=ea(S),Q=Le(S,yd);return A=typeof A=="function"?A:r,A&&Q.pop(),Q.length&&Q[0]===S[0]?nl(Q,r,A):[]});function Ya(S,A){return S==null?"":Hu.call(S,A)}function ea(S){var A=S==null?0:S.length;return A?S[A-1]:r}function Ou(S,A,Q){var _e=S==null?0:S.length;if(!_e)return-1;var nt=_e;return Q!==r&&(nt=Pa(Q),nt=nt<0?Fa(_e+nt,0):ho(nt,_e-1)),A===A?mr(S,A,nt):Ui(S,ki,nt,!0)}function ou(S,A){return S&&S.length?Xu(S,Pa(A)):r}var co=Pi(ro);function ro(S,A){return S&&S.length&&A&&A.length?Nu(S,A):S}function jo(S,A,Q){return S&&S.length&&A&&A.length?Nu(S,A,br(Q,2)):S}function zc(S,A,Q){return S&&S.length&&A&&A.length?Nu(S,A,r,Q):S}var ld=tt(function(S,A){var Q=S==null?0:S.length,_e=Jl(S,A);return Qu(S,Le(A,function(nt){return ao(nt,Q)?+nt:nt}).sort(_l)),_e});function nn(S,A){var Q=[];if(!(S&&S.length))return Q;var _e=-1,nt=[],Dt=S.length;for(A=br(A,3);++_e<Dt;){var cr=S[_e];A(cr,_e,S)&&(Q.push(cr),nt.push(_e))}return Qu(S,nt),Q}function Xo(S){return S==null?S:Dl.call(S)}function cd(S,A,Q){var _e=S==null?0:S.length;return _e?(Q&&typeof Q!="number"&&bo(S,A,Q)?(A=0,Q=_e):(A=A==null?0:Pa(A),Q=Q===r?_e:Pa(Q)),Rs(S,A,Q)):[]}function dd(S,A){return Ga(S,A)}function Vl(S,A,Q){return Xs(S,A,br(Q,2))}function lc(S,A){var Q=S==null?0:S.length;if(Q){var _e=Ga(S,A);if(_e<Q&&Cc(S[_e],A))return _e}return-1}function $o(S,A){return Ga(S,A,!0)}function Ma(S,A,Q){return Xs(S,A,br(Q,2),!0)}function mo(S,A){var Q=S==null?0:S.length;if(Q){var _e=Ga(S,A,!0)-1;if(Cc(S[_e],A))return _e}return-1}function ja(S){return S&&S.length?Tl(S):[]}function Po(S,A){return S&&S.length?Tl(S,br(A,2)):[]}function zo(S){var A=S==null?0:S.length;return A?Rs(S,1,A):[]}function vl(S,A,Q){return S&&S.length?(A=Q||A===r?1:Pa(A),Rs(S,0,A<0?0:A)):[]}function Ol(S,A,Q){var _e=S==null?0:S.length;return _e?(A=Q||A===r?1:Pa(A),A=_e-A,Rs(S,A<0?0:A,_e)):[]}function uf(S,A){return S&&S.length?Cu(S,br(A,3),!1,!0):[]}function lf(S,A){return S&&S.length?Cu(S,br(A,3)):[]}var Bf=Pi(function(S){return zl(Mo(S,1,oi,!0))}),sh=Pi(function(S){var A=ea(S);return oi(A)&&(A=r),zl(Mo(S,1,oi,!0),br(A,2))}),Mh=Pi(function(S){var A=ea(S);return A=typeof A=="function"?A:r,zl(Mo(S,1,oi,!0),r,A)});function ah(S){return S&&S.length?zl(S):[]}function kh(S,A){return S&&S.length?zl(S,br(A,2)):[]}function zd(S,A){return A=typeof A=="function"?A:r,S&&S.length?zl(S,r,A):[]}function oh(S){if(!(S&&S.length))return[];var A=0;return S=Pe(S,function(Q){if(oi(Q))return A=Fa(Q.length,A),!0}),qs(A,function(Q){return Le(S,Ei(Q))})}function yf(S,A){if(!(S&&S.length))return[];var Q=oh(S);return A==null?Q:Le(Q,function(_e){return Er(A,r,_e)})}var uh=Pi(function(S,A){return oi(S)?Yu(S,A):[]}),bf=Pi(function(S){return $l(Pe(S,oi))}),lh=Pi(function(S){var A=ea(S);return oi(A)&&(A=r),$l(Pe(S,oi),br(A,2))}),Nh=Pi(function(S){var A=ea(S);return A=typeof A=="function"?A:r,$l(Pe(S,oi),r,A)}),$d=Pi(oh);function ch(S,A){return rf(S||[],A||[],vo)}function dh(S,A){return rf(S||[],A||[],ic)}var fh=Pi(function(S){var A=S.length,Q=A>1?S[A-1]:r;return Q=typeof Q=="function"?(S.pop(),Q):r,yf(S,Q)});function Hd(S){var A=dt(S);return A.__chain__=!0,A}function hh(S,A){return A(S),S}function $c(S,A){return A(S)}var ph=tt(function(S){var A=S.length,Q=A?S[0]:0,_e=this.__wrapped__,nt=function(Dt){return Jl(Dt,S)};return A>1||this.__actions__.length||!(_e instanceof gs)||!ao(Q)?this.thru(nt):(_e=_e.slice(Q,+Q+(A?1:0)),_e.__actions__.push({func:$c,args:[nt],thisArg:r}),new ba(_e,this.__chain__).thru(function(Dt){return A&&!Dt.length&&Dt.push(r),Dt}))});function mh(){return Hd(this)}function dp(){return new ba(this.value(),this.__chain__)}function Td(){this.__values__===r&&(this.__values__=_p(this.value()));var S=this.__index__>=this.__values__.length,A=S?r:this.__values__[this.__index__++];return{done:S,value:A}}function Sf(){return this}function xf(S){for(var A,Q=this;Q instanceof La;){var _e=Ed(Q);_e.__index__=0,_e.__values__=r,A?nt.__wrapped__=_e:A=_e;var nt=_e;Q=Q.__wrapped__}return nt.__wrapped__=S,A}function Fh(){var S=this.__wrapped__;if(S instanceof gs){var A=S;return this.__actions__.length&&(A=new gs(this)),A=A.reverse(),A.__actions__.push({func:$c,args:[Xo],thisArg:r}),new ba(A,this.__chain__)}return this.thru(Xo)}function gh(){return vd(this.__wrapped__,this.__actions__)}var vh=xc(function(S,A,Q){Ca.call(S,Q)?++S[Q]:Gu(S,Q,1)});function fp(S,A,Q){var _e=B(S)?si:md;return Q&&bo(S,A,Q)&&(A=r),_e(S,br(A,3))}function yh(S,A){var Q=B(S)?Pe:ql;return Q(S,br(A,3))}var Uf=Oe(Sr),Bh=Oe(Zr);function Ef(S,A){return Mo(jf(S,A),1)}function Il(S,A){return Mo(jf(S,A),Ue)}function Uh(S,A,Q){return Q=Q===r?1:Pa(Q),Mo(jf(S,A),Q)}function Wd(S,A){var Q=B(S)?mn:Ua;return Q(S,br(A,3))}function bh(S,A){var Q=B(S)?di:Lc;return Q(S,br(A,3))}var jh=xc(function(S,A,Q){Ca.call(S,Q)?S[Q].push(A):Gu(S,Q,[A])});function cf(S,A,Q,_e){S=fr(S)?S:If(S),Q=Q&&!_e?Pa(Q):0;var nt=S.length;return Q<0&&(Q=Fa(nt+Q,0)),Ah(S)?Q<=nt&&S.indexOf(A,Q)>-1:!!nt&&hs(S,A,Q)>-1}var zh=Pi(function(S,A,Q){var _e=-1,nt=typeof A=="function",Dt=fr(S)?kr(S.length):[];return Ua(S,function(cr){Dt[++_e]=nt?Er(A,cr,Q):kl(cr,A,Q)}),Dt}),hp=xc(function(S,A,Q){Gu(S,Q,A)});function jf(S,A){var Q=B(S)?Le:Vi;return Q(S,br(A,3))}function pp(S,A,Q,_e){return S==null?[]:(B(A)||(A=A==null?[]:[A]),Q=_e?r:Q,B(Q)||(Q=Q==null?[]:[Q]),Ld(S,A,Q))}var $h=xc(function(S,A,Q){S[Q?0:1].push(A)},function(){return[[],[]]});function Hh(S,A,Q){var _e=B(S)?lt:Fs,nt=arguments.length<3;return _e(S,br(A,4),Q,nt,Ua)}function Wh(S,A,Q){var _e=B(S)?gt:Fs,nt=arguments.length<3;return _e(S,br(A,4),Q,nt,Lc)}function Vd(S,A){var Q=B(S)?Pe:ql;return Q(S,_f(br(A,3)))}function mp(S){var A=B(S)?qc:ua;return A(S)}function Vh(S,A,Q){(Q?bo(S,A,Q):A===r)?A=1:A=Pa(A);var _e=B(S)?yc:Nc;return _e(S,A)}function Gh(S){var A=B(S)?ru:wn;return A(S)}function gp(S){if(S==null)return 0;if(fr(S))return Ah(S)?zt(S):S.length;var A=Qs(S);return A==Kr||A==Tr?S.size:ht(S).length}function Tf(S,A,Q){var _e=B(S)?Zt:bu;return Q&&bo(S,A,Q)&&(A=r),_e(S,br(A,3))}var Yh=Pi(function(S,A){if(S==null)return[];var Q=A.length;return Q>1&&bo(S,A[0],A[1])?A=[]:Q>2&&bo(A[0],A[1],A[2])&&(A=[A[0]]),Ld(S,Mo(A,1),[])}),wd=ya||function(){return hr.Date.now()};function a0(S,A){if(typeof A!="function")throw new Va(u);return S=Pa(S),function(){if(--S<1)return A.apply(this,arguments)}}function Sh(S,A,Q){return A=Q?r:A,A=S&&A==null?S.length:A,ii(S,W,r,r,r,r,A)}function Kh(S,A){var Q;if(typeof A!="function")throw new Va(u);return S=Pa(S),function(){return--S>0&&(Q=A.apply(this,arguments)),S<=1&&(A=r),Q}}var zf=Pi(function(S,A,Q){var _e=C;if(Q.length){var nt=Be(Q,qt(zf));_e|=j}return ii(S,_e,A,Q,nt)}),Gd=Pi(function(S,A,Q){var _e=C|O;if(Q.length){var nt=Be(Q,qt(Gd));_e|=j}return ii(A,_e,S,Q,nt)});function $f(S,A,Q){A=Q?r:A;var _e=ii(S,D,r,r,r,r,r,A);return _e.placeholder=$f.placeholder,_e}function Hc(S,A,Q){A=Q?r:A;var _e=ii(S,F,r,r,r,r,r,A);return _e.placeholder=Hc.placeholder,_e}function Hf(S,A,Q){var _e,nt,Dt,cr,Ur,sn,ui=0,li=!1,pi=!1,Zi=!0;if(typeof S!="function")throw new Va(u);A=cc(A)||0,uu(Q)&&(li=!!Q.leading,pi="maxWait"in Q,Dt=pi?Fa(cc(Q.maxWait)||0,A):Dt,Zi="trailing"in Q?!!Q.trailing:Zi);function Ts(Uu){var Od=_e,pf=nt;return _e=nt=r,ui=Uu,cr=S.apply(pf,Od),cr}function ta(Uu){return ui=Uu,Ur=ud(Xa,A),li?Ts(Uu):cr}function Ra(Uu){var Od=Uu-sn,pf=Uu-ui,Dg=A-Od;return pi?ho(Dg,Dt-pf):Dg}function Ws(Uu){var Od=Uu-sn,pf=Uu-ui;return sn===r||Od>=A||Od<0||pi&&pf>=Dt}function Xa(){var Uu=wd();if(Ws(Uu))return no(Uu);Ur=ud(Xa,Ra(Uu))}function no(Uu){return Ur=r,Zi&&_e?Ts(Uu):(_e=nt=r,cr)}function Wc(){Ur!==r&&Au(Ur),ui=0,_e=sn=nt=Ur=r}function fc(){return Ur===r?cr:no(wd())}function Vc(){var Uu=wd(),Od=Ws(Uu);if(_e=arguments,nt=this,sn=Uu,Od){if(Ur===r)return ta(sn);if(pi)return Au(Ur),Ur=ud(Xa,A),Ts(sn)}return Ur===r&&(Ur=ud(Xa,A)),cr}return Vc.cancel=Wc,Vc.flush=fc,Vc}var df=Pi(function(S,A){return Sl(S,1,A)}),xh=Pi(function(S,A,Q){return Sl(S,cc(A)||0,Q)});function ff(S){return ii(S,q)}function wf(S,A){if(typeof S!="function"||A!=null&&typeof A!="function")throw new Va(u);var Q=function(){var _e=arguments,nt=A?A.apply(this,_e):_e[0],Dt=Q.cache;if(Dt.has(nt))return Dt.get(nt);var cr=S.apply(this,_e);return Q.cache=Dt.set(nt,cr)||Dt,cr};return Q.cache=new(wf.Cache||cl),Q}wf.Cache=cl;function _f(S){if(typeof S!="function")throw new Va(u);return function(){var A=arguments;switch(A.length){case 0:return!S.call(this);case 1:return!S.call(this,A[0]);case 2:return!S.call(this,A[0],A[1]);case 3:return!S.call(this,A[0],A[1],A[2])}return!S.apply(this,A)}}function _d(S){return Kh(2,S)}
vendor: 5,306 bytes, line 647
647var Eh=kd(function(S,A){A=A.length==1&&B(A[0])?Le(A[0],Na(br())):Le(Mo(A,1),Na(br()));var Q=A.length;return Pi(function(_e){for(var nt=-1,Dt=ho(_e.length,Q);++nt<Dt;)_e[nt]=A[nt].call(this,_e[nt]);return Er(S,this,_e)})}),Cf=Pi(function(S,A){var Q=Be(A,qt(Cf));return ii(S,j,r,A,Q)}),Af=Pi(function(S,A){var Q=Be(A,qt(Af));return ii(S,M,r,A,Q)}),Xh=tt(function(S,A){return ii(S,V,r,r,r,A)});function Th(S,A){if(typeof S!="function")throw new Va(u);return A=A===r?A:Pa(A),Pi(S,A)}function wh(S,A){if(typeof S!="function")throw new Va(u);return A=A==null?0:Fa(Pa(A),0),Pi(function(Q){var _e=Q[A],nt=iu(Q,0,A);return _e&&De(nt,_e),Er(S,this,nt)})}function Wf(S,A,Q){var _e=!0,nt=!0;if(typeof S!="function")throw new Va(u);return uu(Q)&&(_e="leading"in Q?!!Q.leading:_e,nt="trailing"in Q?!!Q.trailing:nt),Hf(S,A,{leading:_e,maxWait:A,trailing:nt})}function Of(S){return Sh(S,1)}function Vf(S,A){return Cf(ac(A),S)}function _h(){if(!arguments.length)return[];var S=arguments[0];return B(S)?S:[S]}function vp(S){return _o(S,T)}function o0(S,A){return A=typeof A=="function"?A:r,_o(S,T,A)}function Qh(S){return _o(S,v|T)}function Jh(S,A){return A=typeof A=="function"?A:r,_o(S,v|T,A)}function yp(S,A){return A==null||Yo(S,A,sl(A))}function Cc(S,A){return S===A||S!==S&&A!==A}var bp=Br(qa),u0=Br(function(S,A){return S>=A}),I=Nl((function(){return arguments})())?Nl:function(S){return lu(S)&&Ca.call(S,"callee")&&!_r.call(S,"callee")},B=kr.isArray,Qe=qn?Na(qn):rc;function fr(S){return S!=null&&Iu(S.length)&&!Yd(S)}function oi(S){return lu(S)&&fr(S)}function Zs(S){return S===!0||S===!1||lu(S)&&Io(S)==jt}var ga=$u||Up,Gl=$e?Na($e):fl;function Sp(S){return lu(S)&&S.nodeType===1&&!Ch(S)}function xp(S){if(S==null)return!0;if(fr(S)&&(B(S)||typeof S=="string"||typeof S.splice=="function"||ga(S)||Gf(S)||I(S)))return!S.length;var A=Qs(S);if(A==Kr||A==Tr)return!S.size;if(Cl(S))return!ht(S).length;for(var Q in S)if(Ca.call(S,Q))return!1;return!0}function Em(S,A){return Fl(S,A)}function Tm(S,A,Q){Q=typeof Q=="function"?Q:r;var _e=Q?Q(S,A):r;return _e===r?Fl(S,A,r,Q):!!_e}function Ep(S){if(!lu(S))return!1;var A=Io(S);return A==vr||A==Ht||typeof S.message=="string"&&typeof S.name=="string"&&!Ch(S)}function l0(S){return typeof S=="number"&&qo(S)}function Yd(S){if(!uu(S))return!1;var A=Io(S);return A==Fr||A==fn||A==Xt||A==Wr}function Zh(S){return typeof S=="number"&&S==Pa(S)}function Iu(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=We}function uu(S){var A=typeof S;return S!=null&&(A=="object"||A=="function")}function lu(S){return S!=null&&typeof S=="object"}var c0=Je?Na(Je):Bl;function d0(S,A){return S===A||Ul(S,A,gn(A))}function f0(S,A,Q){return Q=typeof Q=="function"?Q:r,Ul(S,A,gn(A),Q)}function h0(S){return p0(S)&&S!=+S}function wm(S){if(Uc(S))throw new ts(s);return ca(S)}function _m(S){return S===null}function Cm(S){return S==null}function p0(S){return typeof S=="number"||lu(S)&&Io(S)==Sn}function Ch(S){if(!lu(S)||Io(S)!=Et)return!1;var A=Du(S);if(A===null)return!0;var Q=Ca.call(A,"constructor")&&A.constructor;return typeof Q=="function"&&Q instanceof Q&&Ru.call(Q)==Jo}var qh=Ct?Na(Ct):N;function m0(S){return Zh(S)&&S>=-We&&S<=We}var Tp=Ot?Na(Ot):te;function Ah(S){return typeof S=="string"||!B(S)&&lu(S)&&Io(S)==gr}function Ac(S){return typeof S=="symbol"||lu(S)&&Io(S)==ir}var Gf=Wt?Na(Wt):Ee;function g0(S){return S===r}function u1(S){return lu(S)&&Qs(S)==Lr}function wp(S){return lu(S)&&Io(S)==un}var Yf=Br(An),Cd=Br(function(S,A){return S<=A});function _p(S){if(!S)return[];if(fr(S))return Ah(S)?jr(S):Bo(S);if(En&&S[En])return ee(S[En]());var A=Qs(S),Q=A==Kr?pe:A==Tr?at:If;return Q(S)}function fd(S){if(!S)return S===0?S:0;if(S=cc(S),S===Ue||S===-Ue){var A=S<0?-1:1;return A*de}return S===S?S:0}function Pa(S){var A=fd(S),Q=A%1;return A===A?Q?A-Q:A:0}function v0(S){return S?vu(Pa(S),0,Fe):0}function cc(S){if(typeof S=="number")return S;if(Ac(S))return xe;if(uu(S)){var A=typeof S.valueOf=="function"?S.valueOf():S;S=uu(A)?A+"":A}if(typeof S!="string")return S===0?S:+S;S=Oa(S);var Q=qr.test(S);return Q||Or.test(S)?yt(S.slice(2),Q?2:8):Tt.test(S)?xe:+S}function Cp(S){return su(S,Yl(S))}function Am(S){return S?vu(Pa(S),-We,We):S===0?S:0}function So(S){return S==null?"":fa(S)}var y0=uc(function(S,A){if(Cl(A)||fr(A)){su(A,sl(A),S);return}for(var Q in A)Ca.call(A,Q)&&vo(S,Q,A[Q])}),b0=uc(function(S,A){su(A,Yl(A),S)}),ep=uc(function(S,A,Q,_e){su(A,Yl(A),S,_e)}),Om=uc(function(S,A,Q,_e){su(A,sl(A),S,_e)}),S0=tt(Jl);function x0(S,A){var Q=Ja(S);return A==null?Q:Ml(Q,A)}var Im=Pi(function(S,A){S=Ps(S);var Q=-1,_e=A.length,nt=_e>2?A[2]:r;for(nt&&bo(A[0],A[1],nt)&&(_e=1);++Q<_e;)for(var Dt=A[Q],cr=Yl(Dt),Ur=-1,sn=cr.length;++Ur<sn;){var ui=cr[Ur],li=S[ui];(li===r||Cc(li,Eo[ui])&&!Ca.call(S,ui))&&(S[ui]=Dt[ui])}return S}),Pm=Pi(function(S){return S.push(r,K),Er(w0,r,S)});function Rm(S,A){return $n(S,br(A,3),nu)}function Dm(S,A){return $n(S,br(A,3),Ku)}function Lm(S,A){return S==null?S:yu(S,br(A,3),Yl)}function tp(S,A){return S==null?S:ec(S,br(A,3),Yl)}function E0(S,A){return S&&nu(S,br(A,3))}function Kf(S,A){return S&&Ku(S,br(A,3))}function Xf(S){return S==null?[]:tc(S,sl(S))}function Ap(S){return S==null?[]:tc(S,Yl(S))}function Op(S,A,Q){var _e=S==null?r:Ko(S,A);return _e===r?Q:_e}function T0(S,A){return S!=null&&zi(S,A,Sc)}function rp(S,A){return S!=null&&zi(S,A,_u)}
vendor: 2,863 bytes, line 647
647var Mm=et(function(S,A,Q){A!=null&&typeof A.toString!="function"&&(A=bl.call(A)),S[A]=Q},Mp(dc)),km=et(function(S,A,Q){A!=null&&typeof A.toString!="function"&&(A=bl.call(A)),Ca.call(S,A)?S[A].push(Q):S[A]=[Q]},br),Nm=Pi(kl);function sl(S){return fr(S)?Zc(S):ht(S)}function Yl(S){return fr(S)?Zc(S,!0):Ar(S)}function Fm(S,A){var Q={};return A=br(A,3),nu(S,function(_e,nt,Dt){Gu(Q,A(_e,nt,Dt),_e)}),Q}function Bm(S,A){var Q={};return A=br(A,3),nu(S,function(_e,nt,Dt){Gu(Q,nt,A(_e,nt,Dt))}),Q}var Um=uc(function(S,A,Q){yo(S,A,Q)}),w0=uc(function(S,A,Q,_e){yo(S,A,Q,_e)}),jm=tt(function(S,A){var Q={};if(S==null)return Q;var _e=!1;A=Le(A,function(Dt){return Dt=wl(Dt,S),_e||(_e=Dt.length>1),Dt}),su(S,Ut(S),Q),_e&&(Q=_o(Q,v|b|T,le));for(var nt=A.length;nt--;)Fc(Q,A[nt]);return Q});function zm(S,A){return Ip(S,_f(br(A)))}var $m=tt(function(S,A){return S==null?{}:kc(S,A)});function Ip(S,A){if(S==null)return{};var Q=Le(Ut(S),function(_e){return[_e]});return A=br(A),ef(S,Q,function(_e,nt){return A(_e,nt[0])})}function Oh(S,A,Q){A=wl(A,S);var _e=-1,nt=A.length;for(nt||(nt=1,S=r);++_e<nt;){var Dt=S==null?r:S[Al(A[_e])];Dt===r&&(_e=nt,Dt=Q),S=Yd(Dt)?Dt.call(S):Dt}return S}function Hm(S,A,Q){return S==null?S:ic(S,A,Q)}function Wm(S,A,Q,_e){return _e=typeof _e=="function"?_e:r,S==null?S:ic(S,A,Q,_e)}var _0=yn(sl),C0=yn(Yl);function Vm(S,A,Q){var _e=B(S),nt=_e||ga(S)||Gf(S);if(A=br(A,4),Q==null){var Dt=S&&S.constructor;nt?Q=_e?new Dt:[]:uu(S)?Q=Yd(Dt)?Ja(Du(S)):{}:Q={}}return(nt?mn:nu)(S,function(cr,Ur,sn){return A(Q,cr,Ur,sn)}),Q}function Gm(S,A){return S==null?!0:Fc(S,A)}function Ih(S,A,Q){return S==null?S:sc(S,A,ac(Q))}function Ym(S,A,Q,_e){return _e=typeof _e=="function"?_e:r,S==null?S:sc(S,A,ac(Q),_e)}function If(S){return S==null?[]:Qo(S,sl(S))}function np(S){return S==null?[]:Qo(S,Yl(S))}function Km(S,A,Q){return Q===r&&(Q=A,A=r),Q!==r&&(Q=cc(Q),Q=Q===Q?Q:0),A!==r&&(A=cc(A),A=A===A?A:0),vu(cc(S),A,Q)}function Xm(S,A,Q){return A=fd(A),Q===r?(Q=A,A=0):Q=fd(Q),S=cc(S),Mc(S,A,Q)}function Qf(S,A,Q){if(Q&&typeof Q!="boolean"&&bo(S,A,Q)&&(A=Q=r),Q===r&&(typeof A=="boolean"?(Q=A,A=r):typeof S=="boolean"&&(Q=S,S=r)),S===r&&A===r?(S=0,A=1):(S=fd(S),A===r?(A=S,S=0):A=fd(A)),S>A){var _e=S;S=A,A=_e}if(Q||S%1||A%1){var nt=Tu();return ho(S+nt*(A-S+bt("1e-"+((nt+"").length-1))),A)}return nc(S,A)}var A0=ie(function(S,A,Q){return A=A.toLowerCase(),S+(Q?O0(A):A)});function O0(S){return Dp(So(S).toLowerCase())}function ip(S){return S=So(S),S&&S.replace(zr,Eu).replace(Da,"")}function Qm(S,A,Q){S=So(S),A=fa(A);var _e=S.length;Q=Q===r?_e:vu(Pa(Q),0,_e);var nt=Q;return Q-=A.length,Q>=0&&S.slice(Q,nt)==A}function Jm(S){return S=So(S),S&&tn.test(S)?S.replace(Si,oo):S}function hf(S){return S=So(S),S&&fs.test(S)?S.replace(Zn,"\\$&"):S}var Zm=ie(function(S,A,Q){return S+(Q?"-":"")+A.toLowerCase()}),I0=ie(function(S,A,Q){return S+(Q?" ":"")+A.toLowerCase()}
vendor: 11,334 bytes, lines 647-664
647),qm=G("toLowerCase");function Pf(S,A,Q){S=So(S),A=Pa(A);var _e=A?zt(S):0;if(!A||_e>=A)return S;var nt=(A-_e)/2;return Vt(Qa(nt),Q)+S+Vt(fo(nt),Q)}function Pp(S,A,Q){S=So(S),A=Pa(A);var _e=A?zt(S):0;return A&&_e<A?S+Vt(A-_e,Q):S}function Kd(S,A,Q){S=So(S),A=Pa(A);var _e=A?zt(S):0;return A&&_e<A?Vt(A-_e,Q)+S:S}function P0(S,A,Q){return Q||A==null?A=0:A&&(A=+A),Es(So(S).replace(cs,""),A||0)}function eg(S,A,Q){return(Q?bo(S,A,Q):A===r)?A=1:A=Pa(A),Ju(So(S),A)}function Rp(){var S=arguments,A=So(S[0]);return S.length<3?A:A.replace(S[1],S[2])}var tg=ie(function(S,A,Q){return S+(Q?"_":"")+A.toLowerCase()});function Jf(S,A,Q){return Q&&typeof Q!="number"&&bo(S,A,Q)&&(A=Q=r),Q=Q===r?Fe:Q>>>0,Q?(S=So(S),S&&(typeof A=="string"||A!=null&&!qh(A))&&(A=fa(A),!A&&$(S))?iu(jr(S),0,Q):S.split(A,Q)):[]}var R0=ie(function(S,A,Q){return S+(Q?" ":"")+Dp(A)});function Ad(S,A,Q){return S=So(S),Q=Q==null?0:vu(Pa(Q),0,S.length),A=fa(A),S.slice(Q,Q+A.length)==A}function Oc(S,A,Q){var _e=dt.templateSettings;Q&&bo(S,A,Q)&&(A=r),S=So(S),A=ep({},A,_e,R);var nt=ep({},A.imports,_e.imports,R),Dt=sl(nt),cr=Qo(nt,Dt),Ur,sn,ui=0,li=A.interpolate||Hn,pi="__p += '",Zi=Do((A.escape||Hn).source+"|"+li.source+"|"+(li===Yi?Wn:Hn).source+"|"+(A.evaluate||Hn).source+"|$","g"),Ts="//# sourceURL="+(Ca.call(A,"sourceURL")?(A.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++$t+"]")+` 648`;S.replace(Zi,function(Ws,Xa,no,Wc,fc,Vc){return no||(no=Wc),pi+=S.slice(ui,Vc).replace(fi,ju),Xa&&(Ur=!0,pi+=`' + 649__e(`+Xa+`) + 650'`),fc&&(sn=!0,pi+=`'; 651`+fc+`; 652__p += '`),no&&(pi+=`' + 653((__t = (`+no+`)) == null ? '' : __t) + 654'`),ui=Vc+Ws.length,Ws}),pi+=`'; 655`;var ta=Ca.call(A,"variable")&&A.variable;if(!ta)pi=`with (obj) { 656`+pi+` 657} 658`;else if(Kt.test(ta))throw new ts(l);pi=(sn?pi.replace(an,""):pi).replace(Cn,"$1").replace(Ln,"$1;"),pi="function("+(ta||"obj")+`) { 659`+(ta?"":`obj || (obj = {}); 660`)+"var __t, __p = ''"+(Ur?", __e = _.escape":"")+(sn?`, __j = Array.prototype.join; 661function print() { __p += __j.call(arguments, '') } 662`:`; 663`)+pi+`return __p 664}`;var Ra=Lp(function(){return is(Dt,Ts+"return "+pi).apply(r,cr)});if(Ra.source=pi,Ep(Ra))throw Ra;return Ra}function Ic(S){return So(S).toLowerCase()}function D0(S){return So(S).toUpperCase()}function L0(S,A,Q){if(S=So(S),S&&(Q||A===r))return Oa(S);if(!S||!(A=fa(A)))return S;var _e=jr(S),nt=jr(A),Dt=ra(_e,nt),cr=bs(_e,nt)+1;return iu(_e,Dt,cr).join("")}function M0(S,A,Q){if(S=So(S),S&&(Q||A===r))return S.slice(0,Rn(S)+1);if(!S||!(A=fa(A)))return S;var _e=jr(S),nt=bs(_e,jr(A))+1;return iu(_e,0,nt).join("")}function rg(S,A,Q){if(S=So(S),S&&(Q||A===r))return S.replace(cs,"");if(!S||!(A=fa(A)))return S;var _e=jr(S),nt=ra(_e,jr(A));return iu(_e,nt).join("")}function k0(S,A){var Q=J,_e=re;if(uu(A)){var nt="separator"in A?A.separator:nt;Q="length"in A?Pa(A.length):Q,_e="omission"in A?fa(A.omission):_e}S=So(S);var Dt=S.length;if($(S)){var cr=jr(S);Dt=cr.length}if(Q>=Dt)return S;var Ur=Q-zt(_e);if(Ur<1)return _e;var sn=cr?iu(cr,0,Ur).join(""):S.slice(0,Ur);if(nt===r)return sn+_e;if(cr&&(Ur+=sn.length-Ur),qh(nt)){if(S.slice(Ur).search(nt)){var ui,li=sn;for(nt.global||(nt=Do(nt.source,So(hi.exec(nt))+"g")),nt.lastIndex=0;ui=nt.exec(li);)var pi=ui.index;sn=sn.slice(0,pi===r?Ur:pi)}}else if(S.indexOf(fa(nt),Ur)!=Ur){var Zi=sn.lastIndexOf(nt);Zi>-1&&(sn=sn.slice(0,Zi))}return sn+_e}function ng(S){return S=So(S),S&&$i.test(S)?S.replace(In,Jn):S}var ig=ie(function(S,A,Q){return S+(Q?" ":"")+A.toUpperCase()}),Dp=G("toUpperCase");function N0(S,A,Q){return S=So(S),A=Q?r:A,A===r?z(S)?Ni(S):vn(S):S.match(A)||[]}var Lp=Pi(function(S,A){try{return Er(S,r,A)}catch(Q){return Ep(Q)?Q:new ts(Q)}}),sg=tt(function(S,A){return mn(A,function(Q){Q=Al(Q),Gu(S,Q,zf(S[Q],S))}),S});function F0(S){var A=S==null?0:S.length,Q=br();return S=A?Le(S,function(_e){if(typeof _e[1]!="function")throw new Va(u);return[Q(_e[0]),_e[1]]}):[],Pi(function(_e){for(var nt=-1;++nt<A;){var Dt=S[nt];if(Er(Dt[0],this,_e))return Er(Dt[1],this,_e)}})}function B0(S){return Zl(_o(S,v))}function Mp(S){return function(){return S}}function kp(S,A){return S==null||S!==S?A:S}var ag=ke(),og=ke(!0);function dc(S){return S}function Np(S){return Ne(typeof S=="function"?S:_o(S,v))}function ug(S){return _s(_o(S,v))}function U0(S,A){return oa(S,_o(A,v))}var Fp=Pi(function(S,A){return function(Q){return kl(Q,S,A)}}),lg=Pi(function(S,A){return function(Q){return kl(S,Q,A)}});function Bp(S,A,Q){var _e=sl(A),nt=tc(A,_e);Q==null&&!(uu(A)&&(nt.length||!_e.length))&&(Q=A,A=S,S=this,nt=tc(A,sl(A)));var Dt=!(uu(Q)&&"chain"in Q)||!!Q.chain,cr=Yd(S);return mn(nt,function(Ur){var sn=A[Ur];S[Ur]=sn,cr&&(S.prototype[Ur]=function(){var ui=this.__chain__;if(Dt||ui){var li=S(this.__wrapped__),pi=li.__actions__=Bo(this.__actions__);return pi.push({func:sn,args:arguments,thisArg:S}),li.__chain__=ui,li}return sn.apply(S,De([this.value()],arguments))})}),S}function cg(){return hr._===this&&(hr._=Xc),this}function Zf(){}function j0(S){return S=Pa(S),Pi(function(A){return Xu(A,S)})}var dg=lr(Le),z0=lr(si),fg=lr(Zt);function $0(S){return Hl(S)?Ei(Al(S)):tf(S)}function hg(S){return function(A){return S==null?r:Ko(S,A)}}var pg=nr(),mg=nr(!0);function sp(){return[]}function Up(){return!1}function gg(){return{}}function vg(){return""}function Xd(){return!0}function yg(S,A){if(S=Pa(S),S<1||S>We)return[];var Q=Fe,_e=ho(S,Fe);A=br(A),S-=Fe;for(var nt=qs(_e,A);++Q<S;)A(Q);return nt}function bg(S){return B(S)?Le(S,Al):Ac(S)?[S]:Bo(Bd(So(S)))}function Sg(S){var A=++Kc;return So(S)+A}var xg=pt(function(S,A){return S+A},0),Eg=Jr("ceil"),Tg=pt(function(S,A){return S/A},1),wg=Jr("floor");function H0(S){return S&&S.length?Mn(S,dc,qa):r}function _g(S,A){return S&&S.length?Mn(S,br(A,2),qa):r}function Cg(S){return Oi(S,dc)}function W0(S,A){return Oi(S,br(A,2))}function Ag(S){return S&&S.length?Mn(S,dc,An):r}function V0(S,A){return S&&S.length?Mn(S,br(A,2),An):r}var Og=pt(function(S,A){return S*A},1),Ig=Jr("round"),Pg=pt(function(S,A){return S-A},0);function Rg(S){return S&&S.length?Cs(S,dc):0}function cu(S,A){return S&&S.length?Cs(S,br(A,2)):0}return dt.after=a0,dt.ary=Sh,dt.assign=y0,dt.assignIn=b0,dt.assignInWith=ep,dt.assignWith=Om,dt.at=S0,dt.before=Kh,dt.bind=zf,dt.bindAll=sg,dt.bindKey=Gd,dt.castArray=_h,dt.chain=Hd,dt.chunk=af,dt.compact=vf,dt.concat=Mf,dt.cond=F0,dt.conforms=B0,dt.constant=Mp,dt.countBy=vh,dt.create=x0,dt.curry=$f,dt.curryRight=Hc,dt.debounce=Hf,dt.defaults=Im,dt.defaultsDeep=Pm,dt.defer=df,dt.delay=xh,dt.difference=kf,dt.differenceBy=Ud,dt.differenceWith=Nf,dt.drop=jd,dt.dropRight=of,dt.dropRightWhile=Ff,dt.dropWhile=ih,dt.fill=Qi,dt.filter=yh,dt.flatMap=Ef,dt.flatMapDeep=Il,dt.flatMapDepth=Uh,dt.flatten=_n,dt.flattenDeep=vi,dt.flattenDepth=Di,dt.flip=ff,dt.flow=ag,dt.flowRight=og,dt.fromPairs=Ci,dt.functions=Xf,dt.functionsIn=Ap,dt.groupBy=jh,dt.initial=ls,dt.intersection=ds,dt.intersectionBy=Us,dt.intersectionWith=Ss,dt.invert=Mm,dt.invertBy=km,dt.invokeMap=zh,dt.iteratee=Np,dt.keyBy=hp,dt.keys=sl,dt.keysIn=Yl,dt.map=jf,dt.mapKeys=Fm,dt.mapValues=Bm,dt.matches=ug,dt.matchesProperty=U0,dt.memoize=wf,dt.merge=Um,dt.mergeWith=w0,dt.method=Fp,dt.methodOf=lg,dt.mixin=Bp,dt.negate=_f,dt.nthArg=j0,dt.omit=jm,dt.omitBy=zm,dt.once=_d,dt.orderBy=pp,dt.over=dg,dt.overArgs=Eh,dt.overEvery=z0,dt.overSome=fg,dt.partial=Cf,dt.partialRight=Af,dt.partition=$h,dt.pick=$m,dt.pickBy=Ip,dt.property=$0,dt.propertyOf=hg,dt.pull=co,dt.pullAll=ro,dt.pullAllBy=jo,dt.pullAllWith=zc,dt.pullAt=ld,dt.range=pg,dt.rangeRight=mg,dt.rearg=Xh,dt.reject=Vd,dt.remove=nn,dt.rest=Th,dt.reverse=Xo,dt.sampleSize=Vh,dt.set=Hm,dt.setWith=Wm,dt.shuffle=Gh,dt.slice=cd,dt.sortBy=Yh,dt.sortedUniq=ja,dt.sortedUniqBy=Po,dt.split=Jf,dt.spread=wh,dt.tail=zo,dt.take=vl,dt.takeRight=Ol,dt.takeRightWhile=uf,dt.takeWhile=lf,dt.tap=hh,dt.throttle=Wf,dt.thru=$c,dt.toArray=_p,dt.toPairs=_0,dt.toPairsIn=C0,dt.toPath=bg,dt.toPlainObject=Cp,dt.transform=Vm,dt.unary=Of,dt.union=Bf,dt.unionBy=sh,dt.unionWith=Mh,dt.uniq=ah,dt.uniqBy=kh,dt.uniqWith=zd,dt.unset=Gm,dt.unzip=oh,dt.unzipWith=yf,dt.update=Ih,dt.updateWith=Ym,dt.values=If,dt.valuesIn=np,dt.without=uh,dt.words=N0,dt.wrap=Vf,dt.xor=bf,dt.xorBy=lh,dt.xorWith=Nh,dt.zip=$d,dt.zipObject=ch,dt.zipObjectDeep=dh,dt.zipWith=fh,dt.entries=_0,dt.entriesIn=C0,dt.extend=b0,dt.extendWith=ep,Bp(dt,dt),dt.add=xg,dt.attempt=Lp,dt.camelCase=A0,dt.capitalize=O0,dt.ceil=Eg,dt.clamp=Km,dt.clone=vp,dt.cloneDeep=Qh,dt.cloneDeepWith=Jh,dt.cloneWith=o0,dt.conformsTo=yp,dt.deburr=ip,dt.defaultTo=kp,dt.divide=Tg,dt.endsWith=Qm,dt.eq=Cc,dt.escape=Jm,dt.escapeRegExp=hf,dt.every=fp,dt.find=Uf,dt.findIndex=Sr,dt.findKey=Rm,dt.findLast=Bh,dt.findLastIndex=Zr,dt.findLastKey=Dm,dt.floor=wg,dt.forEach=Wd,dt.forEachRight=bh,dt.forIn=Lm,dt.forInRight=tp,dt.forOwn=E0,dt.forOwnRight=Kf,dt.get=Op,dt.gt=bp,dt.gte=u0,dt.has=T0,dt.hasIn=rp,dt.head=ns,dt.identity=dc,dt.includes=cf,dt.indexOf=os,dt.inRange=Xm,dt.invoke=Nm,dt.isArguments=I,dt.isArray=B,dt.isArrayBuffer=Qe,dt.isArrayLike=fr,dt.isArrayLikeObject=oi,dt.isBoolean=Zs,dt.isBuffer=ga,dt.isDate=Gl,dt.isElement=Sp,dt.isEmpty=xp,dt.isEqual=Em,dt.isEqualWith=Tm,dt.isError=Ep,dt.isFinite=l0,dt.isFunction=Yd,dt.isInteger=Zh,dt.isLength=Iu,dt.isMap=c0,dt.isMatch=d0,dt.isMatchWith=f0,dt.isNaN=h0,dt.isNative=wm,dt.isNil=Cm,dt.isNull=_m,dt.isNumber=p0,dt.isObject=uu,dt.isObjectLike=lu,dt.isPlainObject=Ch,dt.isRegExp=qh,dt.isSafeInteger=m0,dt.isSet=Tp,dt.isString=Ah,dt.isSymbol=Ac,dt.isTypedArray=Gf,dt.isUndefined=g0,dt.isWeakMap=u1,dt.isWeakSet=wp,dt.join=Ya,dt.kebabCase=Zm,dt.last=ea,dt.lastIndexOf=Ou,dt.lowerCase=I0,dt.lowerFirst=qm,dt.lt=Yf,dt.lte=Cd,dt.max=H0,dt.maxBy=_g,dt.mean=Cg,dt.meanBy=W0,dt.min=Ag,dt.minBy=V0,dt.stubArray=sp,dt.stubFalse=Up,dt.stubObject=gg,dt.stubString=vg,dt.stubTrue=Xd,dt.multiply=Og,dt.nth=ou,dt.noConflict=cg,dt.noop=Zf,dt.now=wd,dt.pad=Pf,dt.padEnd=Pp,dt.padStart=Kd,dt.parseInt=P0,dt.random=Qf,dt.reduce=Hh,dt.reduceRight=Wh,dt.repeat=eg,dt.replace=Rp,dt.result=Oh,dt.round=Ig,dt.runInContext=ur,dt.sample=mp,dt.size=gp,dt.snakeCase=tg,dt.some=Tf,dt.sortedIndex=dd,dt.sortedIndexBy=Vl,dt.sortedIndexOf=lc,dt.sortedLastIndex=$o,dt.sortedLastIndexBy=Ma,dt.sortedLastIndexOf=mo,dt.startCase=R0,dt.startsWith=Ad,dt.subtract=Pg,dt.sum=Rg,dt.sumBy=cu,dt.template=Oc,dt.times=yg,dt.toFinite=fd,dt.toInteger=Pa,dt.toLength=v0,dt.toLower=Ic,dt.toNumber=cc,dt.toSafeInteger=Am,dt.toString=So,dt.toUpper=D0,dt.trim=L0,dt.trimEnd=M0,dt.trimStart=rg,dt.truncate=k0,dt.unescape=ng,dt.uniqueId=Sg,dt.upperCase=ig,dt.upperFirst=Dp,dt.each=Wd,dt.eachRight=bh,dt.first=ns,Bp(dt,(function(){var S={};return nu(dt,function(A,Q){Ca.call(dt.prototype,Q)||(S[Q]=A)}),S})(),{chain:!1}),dt.VERSION=a,mn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(S){dt[S].placeholder=dt}),mn(["drop","take"],function(S,A){gs.prototype[S]=function(Q){Q=Q===r?1:Fa(Pa(Q),0);var _e=this.__filtered__&&!A?new gs(this):this.clone();return _e.__filtered__?_e.__takeCount__=ho(Q,_e.__takeCount__):_e.__views__.push({size:ho(Q,Fe),type:S+(_e.__dir__<0?"Right":"")}),_e},gs.prototype[S+"Right"]=function(Q){return this.reverse()[S](Q).reverse()}}),mn(["filter","map","takeWhile"],function(S,A){var Q=A+1,_e=Q==ae||Q==ve;gs.prototype[S]=function(nt){var Dt=this.clone();return Dt.__iteratees__.push({iteratee:br(nt,3),type:Q}),Dt.__filtered__=Dt.__filtered__||_e,Dt}}),mn(["head","last"],function(S,A){var Q="take"+(A?"Right":"");
664gs.prototype[S]=function(){return this[Q](1).value()[0]}}),mn(["initial","tail"],function(S,A){var Q="drop"+(A?"":"Right");gs.prototype[S]=function(){return this.__filtered__?new gs(this):this[Q](1)}}),gs.prototype.compact=function(){return this.filter(dc)},gs.prototype.find=function(S){return this.filter(S).head()},gs.prototype.findLast=function(S){return this.reverse().find(S)},gs.prototype.invokeMap=Pi(function(S,A){return typeof S=="function"?new gs(this):this.map(function(Q){return kl(Q,S,A)})}),gs.prototype.reject=function(S){return this.filter(_f(br(S)))},gs.prototype.slice=function(S,A){S=Pa(S);var Q=this;return Q.__filtered__&&(S>0||A<0)?new gs(Q):(S<0?Q=Q.takeRight(-S):S&&(Q=Q.drop(S)),A!==r&&(A=Pa(A),Q=A<0?Q.dropRight(-A):Q.take(A-S)),Q)},gs.prototype.takeRightWhile=function(S){return this.reverse().takeWhile(S).reverse()},gs.prototype.toArray=function(){return this.take(Fe)},nu(gs.prototype,function(S,A){var Q=/^(?:filter|find|map|reject)|While$/.test(A),_e=/^(?:head|last)$/.test(A),nt=dt[_e?"take"+(A=="last"?"Right":""):A],Dt=_e||/^find/.test(A);nt&&(dt.prototype[A]=function(){var cr=this.__wrapped__,Ur=_e?[1]:arguments,sn=cr instanceof gs,ui=Ur[0],li=sn||B(cr),pi=function(Xa){var no=nt.apply(dt,De([Xa],Ur));return _e&&Zi?no[0]:no};li&&Q&&typeof ui=="function"&&ui.length!=1&&(sn=li=!1);var Zi=this.__chain__,Ts=!!this.__actions__.length,ta=Dt&&!Zi,Ra=sn&&!Ts;if(!Dt&&li){cr=Ra?cr:new gs(this);var Ws=S.apply(cr,Ur);return Ws.__actions__.push({func:$c,args:[pi],thisArg:r}),new ba(Ws,Zi)}return ta&&Ra?S.apply(this,Ur):(Ws=this.thru(pi),ta?_e?Ws.value()[0]:Ws.value():Ws)})}),mn(["pop","push","shift","sort","splice","unshift"],function(S){var A=ol[S],Q=/^(?:push|sort|unshift)$/.test(S)?"tap":"thru",_e=/^(?:pop|shift)$/.test(S);dt.prototype[S]=function(){var nt=arguments;if(_e&&!this.__chain__){var Dt=this.value();return A.apply(B(Dt)?Dt:[],nt)}return this[Q](function(cr){return A.apply(B(cr)?cr:[],nt)})}}),nu(gs.prototype,function(S,A){var Q=dt[A];if(Q){var _e=Q.name+"";Ca.call(Kn,_e)||(Kn[_e]=[]),Kn[_e].push({name:A,func:Q})}}),Kn[Ve(r,O).name]=[{name:"wrapper",func:r}],gs.prototype.clone=eu,gs.prototype.reverse=ll,gs.prototype.value=rl,dt.prototype.at=ph,dt.prototype.chain=mh,dt.prototype.commit=dp,dt.prototype.next=Td,dt.prototype.plant=xf,dt.prototype.reverse=Fh,dt.prototype.toJSON=dt.prototype.valueOf=dt.prototype.value=gh,dt.prototype.first=dt.prototype.head,En&&(dt.prototype[En]=Sf),dt}),es=Ii();hr._=es,n=(function(){return es}).call(d,e,d,f),n!==r&&(f.exports=n)}).call(this)},59650(f,d,e){var n=e(37859),r="Expected a function";function a(i,s){if(typeof i!="function"||s!=null&&typeof s!="function")throw new TypeError(r);var u=function(){var l=arguments,m=s?s.apply(this,l):l[0],g=u.cache;if(g.has(m))return g.get(m);var h=i.apply(this,l);return u.cache=g.set(m,h)||g,h};return u.cache=new(a.Cache||n),u}a.Cache=n,f.exports=a},84938(f,d,e){var n=e(97991),r=function(){return n.Date.now()};f.exports=r},49513(f,d,e){var n=e(44831),r=e(10801),a=e(37884),i=e(19991);function s(u){return a(u)?n(i(u)):r(u)}f.exports=s},51991(f,d,e){var n=e(13006),r=e(11241),a=e(78743);function i(s){var u=a(s)?n:r;return u(s)}f.exports=i},31163(f){function d(){return[]}f.exports=d},41705(f){function d(){return!1}f.exports=d},23180(f,d,e){var n=e(23875),r=e(85015),a="Expected a function";function i(s,u,l){var m=!0,g=!0;if(typeof s!="function")throw new TypeError(a);return r(l)&&(m="leading"in l?!!l.leading:m,g="trailing"in l?!!l.trailing:g),n(s,u,{leading:m,maxWait:u,trailing:g})}f.exports=i},52090(f,d,e){var n=e(45260),r=1/0,a=17976931348623157e292;function i(s){if(!s)return s===0?s:0;if(s=n(s),s===r||s===-r){var u=s<0?-1:1;return u*a}return s===s?s:0}f.exports=i},15123(f,d,e){var n=e(52090);function r(a){var i=n(a),s=i%1;return i===i?s?i-s:i:0}f.exports=r},45260(f,d,e){var n=e(94914),r=e(85015),a=e(89256),i=NaN,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,m=parseInt;function g(h){if(typeof h=="number")return h;if(a(h))return i;if(r(h)){var v=typeof h.valueOf=="function"?h.valueOf():h;h=r(v)?v+"":v}if(typeof h!="string")return h===0?h:+h;h=n(h);var b=u.test(h);return b||l.test(h)?m(h.slice(2),b?2:8):s.test(h)?i:+h}f.exports=g},12280(f,d,e){var n=e(14814);function r(a){return a==null?"":n(a)}f.exports=r},870(f,d,e){var n=e(14814),r=e(58836),a=e(63488),i=e(85015),s=e(37873),u=e(36751),l=e(87230),m=e(15123),g=e(12280),h=30,v="...",b=/\w*$/;function T(E,w){var C=h,O=v;if(i(w)){var U="separator"in w?w.separator:U;C="length"in w?m(w.length):C,O="omission"in w?n(w.omission):O}E=g(E);var D=E.length;if(a(E)){var F=l(E);D=F.length}if(C>=D)return E;var j=C-u(O);if(j<1)return O;var M=F?r(F,0,j).join(""):E.slice(0,j);if(U===void 0)return M+O;if(F&&(j+=M.length-j),s(U)){if(E.slice(j).search(U)){var W,V=M;for(U.global||(U=RegExp(U.source,g(b.exec(U))+"g")),U.lastIndex=0;W=U.exec(V);)var q=W.index;M=M.slice(0,q===void 0?j:q)}}else if(E.indexOf(n(U),j)!=j){var J=M.lastIndexOf(U);J>-1&&(M=M.slice(0,J))}return M+O}f.exports=T},43418(f,d,e){var n=e(12280),r=0;function a(i){var s=++r;return n(i)+s}f.exports=a},6878(f,d,e){var n=e(30464),r=e(35580);function a(i){return i==null?[]:n(i,r(i))}f.exports=a},50407(f,d,e){var n=e(43059),r=e(98748),a=e(12280),i=e(26272);function s(u,l,m){return u=a(u),l=m?void 0:l,l===void 0?r(u)?i(u):n(u):u.match(l)||[]}f.exports=s},68744(f,d,e){"use strict";var n=e(49805),r=Object.create,a=Object.prototype.hasOwnProperty;f.exports=function(i){var s=0,u=1,l=r(null),m=r(null),g=0,h;return i=n(i),{hit:function(v){var b=m[v],T=++g;if(l[T]=v,m[v]=T,!b)return++s,s<=i?void 0:(v=l[u],h(v),v);if(delete l[b],u===b)for(;!a.call(l,++u););},delete:h=function(v){var b=m[v];if(b&&(delete l[b],delete m[v],--s,u===b)){if(!s){g=0,u=1;return}for(;!a.call(l,++u););}},clear:function(){s=0,u=1,l=r(null),m=r(null),g=0}}}},50243(f,d){"use strict";var e=typeof Reflect<"u"?Reflect.construct:void 0,n=Object.defineProperty,r=Error.captureStackTrace;r===void 0&&(r=function(l){var m=new Error;n(l,"stack",{configurable:!0,get:function(){var h=m.stack;return n(this,"stack",{configurable:!0,value:h,writable:!0}),h},set:function(h){n(l,"stack",{configurable:!0,value:h,writable:!0})}})});function a(u){u!==void 0&&n(this,"message",{configurable:!0,value:u,writable:!0});var l=this.constructor.name;l!==void 0&&l!==this.name&&n(this,"name",{configurable:!0,value:l,writable:!0}),r(this,this.constructor)}a.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:a,writable:!0}});var i=(function(){function u(m,g){return n(m,"name",{configurable:!0,value:g})}try{var l=function(){};if(u(l,"foo"),l.name==="foo")return u}catch{}})();function s(u,l){if(l==null||l===Error)l=a;else if(typeof l!="function")throw new TypeError("super_ should be a function");var m;if(typeof u=="string")m=u,u=e!==void 0?function(){return e(l,arguments,this.constructor)}:function(){l.apply(this,arguments)},i!==void 0&&(i(u,m),m=void 0);else if(typeof u!="function")throw new TypeError("constructor should be either a string or a function");u.super_=u.super=l;var g={constructor:{configurable:!0,value:u,writable:!0}};return m!==void 0&&(g.name={configurable:!0,value:m,writable:!0}),u.prototype=Object.create(l.prototype,g),u}d=f.exports=s,d.BaseError=a},5201(f){"use strict";f.exports=Math.abs},24275(f){"use strict";f.exports=Math.floor},23004(f){"use strict";f.exports=Number.isNaN||function(e){return e!==e}},19859(f){"use strict";f.exports=Math.max},43809(f){"use strict";f.exports=Math.min},30747(f){"use strict";f.exports=Math.pow},59349(f){"use strict";f.exports=Math.round},43412(f,d,e){"use strict";var n=e(23004);f.exports=function(a){return n(a)||a===0?a:a<0?-1:1}},15447(f,d,e){"use strict";var n=e(85657),r=e(23214),a=e(60009),i=e(26518),s=e(11461),u=Array.prototype.slice,l=Function.prototype.apply,m=Object.create;e(19274).async=function(g,h){var v=m(null),b=m(null),T=h.memoized,E=h.original,w,C,O;h.memoized=i(function(U){var D=arguments,F=D[D.length-1];return typeof F=="function"&&(w=F,D=u.call(D,0,-1)),T.apply(C=this,O=D)},T);try{a(h.memoized,T)}catch{}h.on("get",function(U){var D,F,j;if(w){if(v[U]){typeof v[U]=="function"?v[U]=[v[U],w]:v[U].push(w),w=null;return}D=w,F=C,j=O,w=C=O=null,s(function(){var M;
664hasOwnProperty.call(b,U)?(M=b[U],h.emit("getasync",U,j,F),l.call(D,M.context,M.args)):(w=D,C=F,O=j,T.apply(F,j))})}}),h.original=function(){var U,D,F,j;return w?(U=n(arguments),D=function M(W){var V,q,J=M.id;if(J==null){s(l.bind(M,this,arguments));return}if(delete M.id,V=v[J],delete v[J],!!V)return q=n(arguments),h.has(J)&&(W?h.delete(J):(b[J]={context:this,args:q},h.emit("setasync",J,typeof V=="function"?1:V.length))),typeof V=="function"?j=l.call(V,this,q):V.forEach(function(re){j=l.call(re,this,q)},this),j},F=w,w=C=O=null,U.push(D),j=l.call(E,this,U),D.cb=F,w=D,j):l.call(E,this,arguments)},h.on("set",function(U){if(!w){h.delete(U);return}v[U]?typeof v[U]=="function"?v[U]=[v[U],w.cb]:v[U].push(w.cb):v[U]=w.cb,delete w.cb,w.id=U,w=null}),h.on("delete",function(U){var D;hasOwnProperty.call(v,U)||b[U]&&(D=b[U],delete b[U],h.emit("deleteasync",U,u.call(D.args,1)))}),h.on("clear",function(){var U=b;b=m(null),h.emit("clearasync",r(U,function(D){return u.call(D.args,1)}))})}},93302(f,d,e){"use strict";var n=e(16791),r=e(87437),a=e(19274),i=Function.prototype.apply;a.dispose=function(s,u,l){var m;if(n(s),l.async&&a.async||l.promise&&a.promise){u.on("deleteasync",m=function(g,h){i.call(s,null,h)}),u.on("clearasync",function(g){r(g,function(h,v){m(v,h)})});return}u.on("delete",m=function(g,h){s(h)}),u.on("clear",function(g){r(g,function(h,v){m(v,h)})})}},71139(f,d,e){"use strict";var n=e(85657),r=e(87437),a=e(11461),i=e(55905),s=e(76104),u=e(19274),l=Function.prototype,m=Math.max,g=Math.min,h=Object.create;u.maxAge=function(v,b,T){var E,w,C,O;v=s(v),v&&(E=h(null),w=T.async&&u.async||T.promise&&u.promise?"async":"",b.on("set"+w,function(U){E[U]=setTimeout(function(){b.delete(U)},v),typeof E[U].unref=="function"&&E[U].unref(),O&&(O[U]&&O[U]!=="nextTick"&&clearTimeout(O[U]),O[U]=setTimeout(function(){delete O[U]},C),typeof O[U].unref=="function"&&O[U].unref())}),b.on("delete"+w,function(U){clearTimeout(E[U]),delete E[U],O&&(O[U]!=="nextTick"&&clearTimeout(O[U]),delete O[U])}),T.preFetch&&(T.preFetch===!0||isNaN(T.preFetch)?C=.333:C=m(g(Number(T.preFetch),1),0),C&&(O={},C=(1-C)*v,b.on("get"+w,function(U,D,F){O[U]||(O[U]="nextTick",a(function(){var j;O[U]==="nextTick"&&(delete O[U],b.delete(U),T.async&&(D=n(D),D.push(l)),j=b.memoized.apply(F,D),T.promise&&i(j)&&(typeof j.done=="function"?j.done(l,l):j.then(l,l)))}))}))),b.on("clear"+w,function(){r(E,function(U){clearTimeout(U)}),E={},O&&(r(O,function(U){U!=="nextTick"&&clearTimeout(U)}),O={})}))}},63493(f,d,e){"use strict";var n=e(49805),r=e(68744),a=e(19274);a.max=function(i,s,u){var l,m,g;i=n(i),i&&(m=r(i),l=u.async&&a.async||u.promise&&a.promise?"async":"",s.on("set"+l,g=function(h){h=m.hit(h),h!==void 0&&s.delete(h)}),s.on("get"+l,g),s.on("delete"+l,m.delete),s.on("clear"+l,m.clear))}},83118(f,d,e){"use strict";var n=e(23214),r=e(53480),a=e(25552),i=e(72418),s=e(55905),u=e(11461),l=Object.create,m=r("then","then:finally","done","done:finally");e(19274).promise=function(g,h){var v=l(null),b=l(null),T=l(null);if(g===!0)g=null;else if(g=a(g),!m[g])throw new TypeError("'"+i(g)+"' is not valid promise mode");h.on("set",function(E,w,C){var O=!1;if(!s(C)){b[E]=C,h.emit("setasync",E,1);return}v[E]=1,T[E]=C;var U=function(M){var W=v[E];if(O)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode) 665Consider to rely on 'then' or 'done' mode instead.`);W&&(delete v[E],b[E]=M,h.emit("setasync",E,W))},D=function(){O=!0,v[E]&&(delete v[E],delete T[E],h.delete(E))},F=g;if(F||(F="then"),F==="then"){var j=function(){u(D)};C=C.then(function(M){u(U.bind(this,M))},j),typeof C.finally=="function"&&C.finally(j)}else if(F==="done"){if(typeof C.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");C.done(U,D)}else if(F==="done:finally"){if(typeof C.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof C.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");C.done(U),C.finally(D)}}),h.on("get",function(E,w,C){var O;if(v[E]){++v[E];return}O=T[E];var U=function(){h.emit("getasync",E,w,C)};s(O)?typeof O.done=="function"?O.done(U):O.then(function(){u(U)}):U()}),h.on("delete",function(E){if(delete T[E],v[E]){delete v[E];return}if(hasOwnProperty.call(b,E)){var w=b[E];
665delete b[E],h.emit("deleteasync",E,[w])}}),h.on("clear",function(){var E=b;b=l(null),v=l(null),T=l(null),h.emit("clearasync",n(E,function(w){return[w]}))})}},94631(f,d,e){"use strict";var n=e(73572),r=e(19274),a=Object.create,i=Object.defineProperties;r.refCounter=function(s,u,l){var m,g;m=a(null),g=l.async&&r.async||l.promise&&r.promise?"async":"",u.on("set"+g,function(h,v){m[h]=v||1}),u.on("get"+g,function(h){++m[h]}),u.on("delete"+g,function(h){delete m[h]}),u.on("clear"+g,function(){m={}}),i(u.memoized,{deleteRef:n(function(){var h=u.get(arguments);return h===null||!m[h]?null:--m[h]?!1:(u.delete(h),!0)}),getRefCount:n(function(){var h=u.get(arguments);return h===null||!m[h]?0:m[h]})})}},58443(f,d,e){"use strict";var n=e(32200),r=e(59664),a=e(48731);f.exports=function(i){var s=n(arguments[1]),u;return s.normalizer||(u=s.length=r(s.length,i.length,s.async),u!==0&&(s.primitive?u===!1?s.normalizer=e(65393):u>1&&(s.normalizer=e(5611)(u)):u===!1?s.normalizer=e(26172)():u===1?s.normalizer=e(66062)():s.normalizer=e(84319)(u))),s.async&&e(15447),s.promise&&e(83118),s.dispose&&e(93302),s.maxAge&&e(71139),s.max&&e(63493),s.refCounter&&e(94631),a(i,s)}},34848(f,d,e){"use strict";var n=e(77304),r=e(26518),a=e(73572),i=e(34091).methods,s=e(75638),u=e(8081),l=Function.prototype.apply,m=Function.prototype.call,g=Object.create,h=Object.defineProperties,v=i.on,b=i.emit;f.exports=function(T,E,w){var C=g(null),O,U,D,F,j,M,W,V,q,J,re,he,fe,ae,ye;return E!==!1?U=E:isNaN(T.length)?U=1:U=T.length,w.normalizer&&(J=u(w.normalizer),D=J.get,F=J.set,j=J.delete,M=J.clear),w.resolvers!=null&&(ye=s(w.resolvers)),D?ae=r(function(ve){var Ue,We,de=arguments;if(ye&&(de=ye(de)),Ue=D(de),Ue!==null&&hasOwnProperty.call(C,Ue))return re&&O.emit("get",Ue,de,this),C[Ue];if(de.length===1?We=m.call(T,this,de[0]):We=l.call(T,this,de),Ue===null){if(Ue=D(de),Ue!==null)throw n("Circular invocation","CIRCULAR_INVOCATION");Ue=F(de)}else if(hasOwnProperty.call(C,Ue))throw n("Circular invocation","CIRCULAR_INVOCATION");return C[Ue]=We,he&&O.emit("set",Ue,null,We),We},U):E===0?ae=function(){var ve;if(hasOwnProperty.call(C,"data"))return re&&O.emit("get","data",arguments,this),C.data;if(arguments.length?ve=l.call(T,this,arguments):ve=m.call(T,this),hasOwnProperty.call(C,"data"))throw n("Circular invocation","CIRCULAR_INVOCATION");return C.data=ve,he&&O.emit("set","data",null,ve),ve}:ae=function(ve){var Ue,We=arguments,de;if(ye&&(We=ye(arguments)),de=String(We[0]),hasOwnProperty.call(C,de))return re&&O.emit("get",de,We,this),C[de];if(We.length===1?Ue=m.call(T,this,We[0]):Ue=l.call(T,this,We),hasOwnProperty.call(C,de))throw n("Circular invocation","CIRCULAR_INVOCATION");return C[de]=Ue,he&&O.emit("set",de,null,Ue),Ue},O={original:T,memoized:ae,profileName:w.profileName,get:function(ve){return ye&&(ve=ye(ve)),D?D(ve):String(ve[0])},has:function(ve){return hasOwnProperty.call(C,ve)},delete:function(ve){var Ue;hasOwnProperty.call(C,ve)&&(j&&j(ve),Ue=C[ve],delete C[ve],fe&&O.emit("delete",ve,Ue))},clear:function(){var ve=C;M&&M(),C=g(null),O.emit("clear",ve)},on:function(ve,Ue){return ve==="get"?re=!0:ve==="set"?he=!0:ve==="delete"&&(fe=!0),v.call(this,ve,Ue)},emit:b,updateEnv:function(){T=O.original}},D?W=r(function(ve){var Ue,We=arguments;ye&&(We=ye(We)),Ue=D(We),Ue!==null&&O.delete(Ue)},U):E===0?W=function(){return O.delete("data")}:W=function(ve){return ye&&(ve=ye(arguments)[0]),O.delete(ve)},V=r(function(){var ve,Ue=arguments;return E===0?C.data:(ye&&(Ue=ye(Ue)),D?ve=D(Ue):ve=String(Ue[0]),C[ve])}),q=r(function(){var ve,Ue=arguments;return E===0?O.has("data"):(ye&&(Ue=ye(Ue)),D?ve=D(Ue):ve=String(Ue[0]),ve===null?!1:O.has(ve))}),h(ae,{__memoized__:a(!0),delete:a(W),clear:a(O.clear),_get:a(V),_has:a(q)}),O}},19274(){"use strict"},59664(f,d,e){"use strict";var n=e(49805);f.exports=function(r,a,i){var s;return isNaN(r)?(s=a,s>=0?i&&s?s-1:s:1):r===!1?!1:n(r)}},8081(f,d,e){"use strict";var n=e(16791);f.exports=function(r){var a;return typeof r=="function"?{set:r,get:r}:(a={get:n(r.get)},r.set!==void 0?(a.set=n(r.set),r.delete&&(a.delete=n(r.delete)),r.clear&&(a.clear=n(r.clear)),a):(a.set=a.get,a))}},75638(f,d,e){"use strict";var n=e(85635),r=e(81574),a=e(16791),i=Array.prototype.slice,s;s=function(u){return this.map(function(l,m){return l?l(u[m]):u[m]}).concat(i.call(u,this.length))}
665,f.exports=function(u){return u=n(u),u.forEach(function(l){r(l)&&a(l)}),s.bind(u)}},66062(f,d,e){"use strict";var n=e(37650);f.exports=function(){var r=0,a=[],i=[];return{get:function(s){var u=n.call(a,s[0]);return u===-1?null:i[u]},set:function(s){return a.push(s[0]),i.push(++r),r},delete:function(s){var u=n.call(i,s);u!==-1&&(a.splice(u,1),i.splice(u,1))},clear:function(){a=[],i=[]}}}},84319(f,d,e){"use strict";var n=e(37650),r=Object.create;f.exports=function(a){var i=0,s=[[],[]],u=r(null);return{get:function(l){for(var m=0,g=s,h;m<a-1;){if(h=n.call(g[0],l[m]),h===-1)return null;g=g[1][h],++m}return h=n.call(g[0],l[m]),h===-1?null:g[1][h]||null},set:function(l){for(var m=0,g=s,h;m<a-1;)h=n.call(g[0],l[m]),h===-1&&(h=g[0].push(l[m])-1,g[1].push([[],[]])),g=g[1][h],++m;return h=n.call(g[0],l[m]),h===-1&&(h=g[0].push(l[m])-1),g[1][h]=++i,u[i]=l,i},delete:function(l){for(var m=0,g=s,h,v=[],b=u[l];m<a-1;){if(h=n.call(g[0],b[m]),h===-1)return;v.push(g,h),g=g[1][h],++m}if(h=n.call(g[0],b[m]),h!==-1){for(l=g[1][h],g[0].splice(h,1),g[1].splice(h,1);!g[0].length&&v.length;)h=v.pop(),g=v.pop(),g[0].splice(h,1),g[1].splice(h,1);delete u[l]}},clear:function(){s=[[],[]],u=r(null)}}}},5611(f){"use strict";f.exports=function(d){return d?function(e){for(var n=String(e[0]),r=0,a=d;--a;)n+="�"+e[++r];return n}:function(){return""}}},26172(f,d,e){"use strict";var n=e(37650),r=Object.create;f.exports=function(){var a=0,i=[],s=r(null);return{get:function(u){var l=0,m=i,g,h=u.length;if(h===0)return m[h]||null;if(m=m[h]){for(;l<h-1;){if(g=n.call(m[0],u[l]),g===-1)return null;m=m[1][g],++l}return g=n.call(m[0],u[l]),g===-1?null:m[1][g]||null}return null},set:function(u){var l=0,m=i,g,h=u.length;if(h===0)m[h]=++a;else{for(m[h]||(m[h]=[[],[]]),m=m[h];l<h-1;)g=n.call(m[0],u[l]),g===-1&&(g=m[0].push(u[l])-1,m[1].push([[],[]])),m=m[1][g],++l;g=n.call(m[0],u[l]),g===-1&&(g=m[0].push(u[l])-1),m[1][g]=++a}return s[a]=u,a},delete:function(u){var l=0,m=i,g,h=s[u],v=h.length,b=[];if(v===0)delete m[v];else if(m=m[v]){for(;l<v-1;){if(g=n.call(m[0],h[l]),g===-1)return;b.push(m,g),m=m[1][g],++l}if(g=n.call(m[0],h[l]),g===-1)return;for(u=m[1][g],m[0].splice(g,1),m[1].splice(g,1);!m[0].length&&b.length;)g=b.pop(),m=b.pop(),m[0].splice(g,1),m[1].splice(g,1)}delete s[u]},clear:function(){i=[],s=r(null)}}}},65393(f){"use strict";f.exports=function(d){var e,n,r=d.length;if(!r)return"�";for(e=String(d[n=0]);--r;)e+="�"+d[++n];return e}},48731(f,d,e){"use strict";var n=e(16791),r=e(87437),a=e(19274),i=e(34848),s=e(59664);f.exports=function u(l){var m,g,h;if(n(l),m=Object(arguments[1]),m.async&&m.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!m.force?l:(g=s(m.length,l.length,m.async&&a.async),h=i(l,g,m),r(a,function(v,b){m[b]&&v(m[b],h,m)}),u.__profiler__&&u.__profiler__(h),h.updateEnv(),h.memoized)}},65854(f,d,e){//! moment.js locale configuration 666//! locale : English (Australia) [en-au] 667//! author : Jared Morse : https://github.com/jarcoal 668(function(n,r){r(e(74083))})(this,(function(n){"use strict";//! moment.js locale configuration 669var r=n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var i=a%10,s=~~(a%100/10)===1?"th":i===1?"st":i===2?"nd":i===3?"rd":"th";return a+s},week:{dow:0,doy:4}});return r}))},51940(f,d,e){//! moment.js locale configuration
670//! locale : English (Canada) [en-ca] 671//! author : Jonathan Abourbih : https://github.com/jonbca 672(function(n,r){r(e(74083))})(this,(function(n){"use strict";//! moment.js locale configuration 673var r=n.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var i=a%10,s=~~(a%100/10)===1?"th":i===1?"st":i===2?"nd":i===3?"rd":"th";return a+s}});return r}))},71753(f,d,e){//! moment.js locale configuration 674//! locale : English (United Kingdom) [en-gb] 675//! author : Chris Gedrim : https://github.com/chrisgedrim 676(function(n,r){r(e(74083))})(this,(function(n){"use strict";//! moment.js locale configuration 677var r=n.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var i=a%10,s=~~(a%100/10)===1?"th":i===1?"st":i===2?"nd":i===3?"rd":"th";return a+s},week:{dow:1,doy:4}});return r}))},56566(f,d,e){//! moment.js locale configuration 678//! locale : English (Ireland) [en-ie] 679//! author : Chris Cartlidge : https://github.com/chriscartlidge 680(function(n,r){r(e(74083))})(this,(function(n){"use strict";//! moment.js locale configuration 681var r=n.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var i=a%10,s=~~(a%100/10)===1?"th":i===1?"st":i===2?"nd":i===3?"rd":"th";return a+s},week:{dow:1,doy:4}});return r}))},25437(f,d,e){//! moment.js locale configuration 682//! locale : English (Israel) [en-il] 683//! author : Chris Gedrim : https://github.com/chrisgedrim 684(function(n,r){r(e(74083))})(this,(function(n){"use strict";//! moment.js locale configuration 685var r=n.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var i=a%10,s=~~(a%100/10)===1?"th":i===1?"st":i===2?"nd":i===3?"rd":"th";return a+s}});return r}))},61019(f,d,e){//! moment.js locale configuration 686//! locale : English (India) [en-in] 687//! author : Jatin Agrawal : https://github.com/jatinag22 688(function(n,r){r(e(74083))})(this,(function(n){"use strict";//! moment.js locale configuration 689var r=n.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LT
689S:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var i=a%10,s=~~(a%100/10)===1?"th":i===1?"st":i===2?"nd":i===3?"rd":"th";return a+s},week:{dow:0,doy:6}});return r}))},4208(f,d,e){//! moment.js locale configuration 690//! locale : English (New Zealand) [en-nz] 691//! author : Luke McGregor : https://github.com/lukemcgregor 692(function(n,r){r(e(74083))})(this,(function(n){"use strict";//! moment.js locale configuration 693var r=n.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var i=a%10,s=~~(a%100/10)===1?"th":i===1?"st":i===2?"nd":i===3?"rd":"th";return a+s},week:{dow:1,doy:4}});return r}))},2930(f,d,e){//! moment.js locale configuration 694//! locale : English (Singapore) [en-sg] 695//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension 696(function(n,r){r(e(74083))})(this,(function(n){"use strict";//! moment.js locale configuration 697var r=n.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var i=a%10,s=~~(a%100/10)===1?"th":i===1?"st":i===2?"nd":i===3?"rd":"th";return a+s},week:{dow:1,doy:4}});return r}))},74083(f,d,e){f=e.nmd(f);//! moment.js 698//! version : 2.30.1 699//! authors : Tim Wood, Iskren Chernev, Moment.js contributors 700//! license : MIT 701//! momentjs.com 702(function(n,r){f.exports=r()})(this,(function(){"use strict";var n;function r(){return n.apply(null,arguments)}function a(N){n=N}function i(N){return N instanceof Array||Object.prototype.toString.call(N)==="[object Array]"}function s(N){return N!=null&&Object.prototype.toString.call(N)==="[object Object]"}function u(N,te){return Object.prototype.hasOwnProperty.call(N,te)}function l(N){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(N).length===0;var te;for(te in N)if(u(N,te))return!1;return!0}function m(N){return N===void 0}function g(N){return typeof N=="number"||Object.prototype.toString.call(N)==="[object Number]"}function h(N){return N instanceof Date||Object.prototype.toString.call(N)==="[object Date]"}function v(N,te){var Ee=[],Ne,ht=N.length;for(Ne=0;Ne<ht;++Ne)Ee.push(te(N[Ne],Ne));return Ee}function b(N,te){for(var Ee in te)u(te,Ee)&&(N[Ee]=te[Ee]);return u(te,"toString")&&(N.toString=te.toString),u(te,"valueOf")&&(N.valueOf=te.valueOf),N}function T(N,te,Ee,Ne){return Qo(N,te,Ee,Ne,!0).utc()}function E(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 60,207 bytes, lines 702-705
702dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function w(N){return N._pf==null&&(N._pf=E()),N._pf}var C;Array.prototype.some?C=Array.prototype.some:C=function(N){var te=Object(this),Ee=te.length>>>0,Ne;for(Ne=0;Ne<Ee;Ne++)if(Ne in te&&N.call(this,te[Ne],Ne,te))return!0;return!1};function O(N){var te=null,Ee=!1,Ne=N._d&&!isNaN(N._d.getTime());if(Ne&&(te=w(N),Ee=C.call(te.parsedDateParts,function(ht){return ht!=null}),Ne=te.overflow<0&&!te.empty&&!te.invalidEra&&!te.invalidMonth&&!te.invalidWeekday&&!te.weekdayMismatch&&!te.nullInput&&!te.invalidFormat&&!te.userInvalidated&&(!te.meridiem||te.meridiem&&Ee),N._strict&&(Ne=Ne&&te.charsLeftOver===0&&te.unusedTokens.length===0&&te.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(N))N._isValid=Ne;else return Ne;return N._isValid}function U(N){var te=T(NaN);return N!=null?b(w(te),N):w(te).userInvalidated=!0,te}var D=r.momentProperties=[],F=!1;function j(N,te){var Ee,Ne,ht,Ar=D.length;if(m(te._isAMomentObject)||(N._isAMomentObject=te._isAMomentObject),m(te._i)||(N._i=te._i),m(te._f)||(N._f=te._f),m(te._l)||(N._l=te._l),m(te._strict)||(N._strict=te._strict),m(te._tzm)||(N._tzm=te._tzm),m(te._isUTC)||(N._isUTC=te._isUTC),m(te._offset)||(N._offset=te._offset),m(te._pf)||(N._pf=w(te)),m(te._locale)||(N._locale=te._locale),Ar>0)for(Ee=0;Ee<Ar;Ee++)Ne=D[Ee],ht=te[Ne],m(ht)||(N[Ne]=ht);return N}function M(N){j(this,N),this._d=new Date(N._d!=null?N._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),F===!1&&(F=!0,r.updateOffset(this),F=!1)}function W(N){return N instanceof M||N!=null&&N._isAMomentObject!=null}function V(N){r.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+N)}function q(N,te){var Ee=!0;return b(function(){if(r.deprecationHandler!=null&&r.deprecationHandler(null,N),Ee){var Ne=[],ht,Ar,An,Vi=arguments.length;for(Ar=0;Ar<Vi;Ar++){if(ht="",typeof arguments[Ar]=="object"){ht+=` 703[`+Ar+"] ";for(An in arguments[0])u(arguments[0],An)&&(ht+=An+": "+arguments[0][An]+", ");ht=ht.slice(0,-2)}else ht=arguments[Ar];Ne.push(ht)}V(N+` 704Arguments: `+Array.prototype.slice.call(Ne).join("")+` 705`+new Error().stack),Ee=!1}return te.apply(this,arguments)},te)}var J={};function re(N,te){r.deprecationHandler!=null&&r.deprecationHandler(N,te),J[N]||(V(te),J[N]=!0)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null;function he(N){return typeof Function<"u"&&N instanceof Function||Object.prototype.toString.call(N)==="[object Function]"}function fe(N){var te,Ee;for(Ee in N)u(N,Ee)&&(te=N[Ee],he(te)?this[Ee]=te:this["_"+Ee]=te);this._config=N,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ae(N,te){var Ee=b({},N),Ne;for(Ne in te)u(te,Ne)&&(s(N[Ne])&&s(te[Ne])?(Ee[Ne]={},b(Ee[Ne],N[Ne]),b(Ee[Ne],te[Ne])):te[Ne]!=null?Ee[Ne]=te[Ne]:delete Ee[Ne]);for(Ne in N)u(N,Ne)&&!u(te,Ne)&&s(N[Ne])&&(Ee[Ne]=b({},Ee[Ne]));return Ee}function ye(N){N!=null&&this.set(N)}var ve;Object.keys?ve=Object.keys:ve=function(N){var te,Ee=[];for(te in N)u(N,te)&&Ee.push(te);return Ee};var Ue={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function We(N,te,Ee){var Ne=this._calendar[N]||this._calendar.sameElse;return he(Ne)?Ne.call(te,Ee):Ne}function de(N,te,Ee){var Ne=""+Math.abs(N),ht=te-Ne.length,Ar=N>=0;return(Ar?Ee?"+":"":"-")+Math.pow(10,Math.max(0,ht)).toString().substr(1)+Ne}var xe=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Fe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Xe={},Me={};function Ze(N,te,Ee,Ne){var ht=Ne;typeof Ne=="string"&&(ht=function(){return this[Ne]()}),N&&(Me[N]=ht),te&&(Me[te[0]]=function(){return de(ht.apply(this,arguments),te[1],te[2])}),Ee&&(Me[Ee]=function(){return this.localeData().ordinal(ht.apply(this,arguments),N)})}function rt(N){return N.match(/\[[\s\S]/)?N.replace(/^\[|\]$/g,""):N.replace(/\\/g,"")}function mt(N){var te=N.match(xe),Ee,Ne;for(Ee=0,Ne=te.length;Ee<Ne;Ee++)Me[te[Ee]]?te[Ee]=Me[te[Ee]]:te[Ee]=rt(te[Ee]);return function(ht){var Ar="",An;for(An=0;An<Ne;An++)Ar+=he(te[An])?te[An].call(ht,N):te[An];return Ar}}function Xt(N,te){return N.isValid()?(te=jt(te,N.localeData()),Xe[te]=Xe[te]||mt(te),Xe[te](N)):N.localeData().invalidDate()}function jt(N,te){var Ee=5;function Ne(ht){return te.longDateFormat(ht)||ht}for(Fe.lastIndex=0;Ee>=0&&Fe.test(N);)N=N.replace(Fe,Ne),Fe.lastIndex=0,Ee-=1;return N}var Lt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Ht(N){var te=this._longDateFormat[N],Ee=this._longDateFormat[N.toUpperCase()];return te||!Ee?te:(this._longDateFormat[N]=Ee.match(xe).map(function(Ne){return Ne==="MMMM"||Ne==="MM"||Ne==="DD"||Ne==="dddd"?Ne.slice(1):Ne}).join(""),this._longDateFormat[N])}var vr="Invalid date";function Fr(){return this._invalidDate}var fn="%d",Kr=/\d{1,2}/;function Sn(N){return this._ordinal.replace("%d",N)}var Fn={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Et(N,te,Ee,Ne){var ht=this._relativeTime[Ee];return he(ht)?ht(N,te,Ee,Ne):ht.replace(/%d/i,N)}function st(N,te){var Ee=this._relativeTime[N>0?"future":"past"];return he(Ee)?Ee(te):Ee.replace(/%s/i,te)}var Wr={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Dr(N){return typeof N=="string"?Wr[N]||Wr[N.toLowerCase()]:void 0}function Tr(N){var te={},Ee,Ne;for(Ne in N)u(N,Ne)&&(Ee=Dr(Ne),Ee&&(te[Ee]=N[Ne]));return te}var gr={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ir(N){var te=[],Ee;for(Ee in N)u(N,Ee)&&te.push({unit:Ee,priority:gr[Ee]});return te.sort(function(Ne,ht){return Ne.priority-ht.priority}),te}var Mr=/\d/,Lr=/\d\d/,un=/\d{3}/,hn=/\d{4}/,rr=/[+-]?\d{6}/,Gr=/\d\d?/,er=/\d\d\d\d?/,At=/\d\d\d\d\d\d?/,dr=/\d{1,3}/,Y=/\d{1,4}/,ot=/[+-]?\d{1,6}/,Yt=/\d+/,it=/[+-]?\d+/,Mt=/Z|[+-]\d\d:?\d\d/gi,an=/Z|[+-]\d\d(?::?\d\d)?/gi,Cn=/[+-]?\d+(\.\d{1,3})?/,Ln=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,In=/^[1-9]\d?/,Si=/^([1-9]\d|\d)/,$i;$i={};function tn(N,te,Ee){$i[N]=he(te)?te:function(Ne,ht){return Ne&&Ee?Ee:te}}function Hi(N,te){return u($i,N)?$i[N](te._strict,te._locale):new RegExp(Ji(N))}function Ji(N){return Yi(N.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(te,Ee,Ne,ht,Ar){return Ee||Ne||ht||Ar}))}function Yi(N){return N.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ki(N){return N<0?Math.ceil(N)||0:Math.floor(N)}function mi(N){var te=+N,Ee=0;return te!==0&&isFinite(te)&&(Ee=Ki(te)),Ee}var ws={};function Zn(N,te){var Ee,Ne=te,ht;for(typeof N=="string"&&(N=[N]),g(te)&&(Ne=function(Ar,An){An[te]=mi(Ar)}),ht=N.length,Ee=0;Ee<ht;Ee++)ws[N[Ee]]=Ne}function fs(N,te){Zn(N,function(Ee,Ne,ht,Ar){ht._w=ht._w||{},te(Ee,ht._w,ht,Ar)})}function cs(N,te,Ee){te!=null&&u(ws,N)&&ws[N](te,Ee._a,Ee,N)}function vs(N){return N%4===0&&N%100!==0||N%400===0}var wr=0,we=1,Ke=2,ut=3,Kt=4,ar=5,Wn=6,hi=7,Tt=8;Ze("Y",0,0,function(){var N=this.year();return N<=9999?de(N,4):"+"+N}),Ze(0,["YY",2],0,function(){return this.year()%100}),Ze(0,["YYYY",4],0,"year"),Ze(0,["YYYYY",5],0,"year"),Ze(0,["YYYYYY",6,!0],0,"year"),tn("Y",it),tn("YY",Gr,Lr),tn("YYYY",Y,hn),tn("YYYYY",ot,rr),tn("YYYYYY",ot,rr),Zn(["YYYYY","YYYYYY"],wr),Zn("YYYY",function(N,te){te[wr]=N.length===2?r.parseTwoDigitYear(N):mi(N)}),Zn("YY",function(N,te){te[wr]=r.parseTwoDigitYear(N)}),Zn("Y",function(N,te){te[wr]=parseInt(N,10)});function qr(N){return vs(N)?366:365}r.parseTwoDigitYear=function(N){return mi(N)+(mi(N)>68?1900:2e3)};var Vr=Pn("FullYear",!0);function Or(){return vs(this.year())}function Pn(N,te){return function(Ee){return Ee!=null?(Hn(this,N,Ee),r.updateOffset(this,te),this):zr(this,N)}}function zr(N,te){if(!N.isValid())return NaN;var Ee=N._d,Ne=N._isUTC;switch(te){case"Milliseconds":return Ne?Ee.getUTCMilliseconds():Ee.getMilliseconds();case"Seconds":return Ne?Ee.getUTCSeconds():Ee.getSeconds();case"Minutes":return Ne?Ee.getUTCMinutes():Ee.getMinutes();case"Hours":return Ne?Ee.getUTCHours():Ee.getHours();case"Date":return Ne?Ee.getUTCDate():Ee.getDate();case"Day":return Ne?Ee.getUTCDay():Ee.getDay();case"Month":return Ne?Ee.getUTCMonth():Ee.getMonth();case"FullYear":return Ne?Ee.getUTCFullYear():Ee.getFullYear();default:return NaN}}function Hn(N,te,Ee){var Ne,ht,Ar,An,Vi;if(!(!N.isValid()||isNaN(Ee))){switch(Ne=N._d,ht=N._isUTC,te){case"Milliseconds":return void(ht?Ne.setUTCMilliseconds(Ee):Ne.setMilliseconds(Ee));case"Seconds":return void(ht?Ne.setUTCSeconds(Ee):Ne.setSeconds(Ee));case"Minutes":return void(ht?Ne.setUTCMinutes(Ee):Ne.setMinutes(Ee));case"Hours":return void(ht?Ne.setUTCHours(Ee):Ne.setHours(Ee));case"Date":return void(ht?Ne.setUTCDate(Ee):Ne.setDate(Ee));case"FullYear":break;default:return}Ar=Ee,An=N.month(),Vi=N.date(),Vi=Vi===29&&An===1&&!vs(Ar)?28:Vi,ht?Ne.setUTCFullYear(Ar,An,Vi):Ne.setFullYear(Ar,An,Vi)}}function fi(N){return N=Dr(N),he(this[N])?this[N]():this}function Ti(N,te){if(typeof N=="object"){N=Tr(N);var Ee=ir(N),Ne,ht=Ee.length;for(Ne=0;Ne<ht;Ne++)this[Ee[Ne].unit](N[Ee[Ne].unit])}else if(N=Dr(N),he(this[N]))return this[N](te);return this}function ss(N,te){return(N%te+te)%te}var xi;Array.prototype.indexOf?xi=Array.prototype.indexOf:xi=function(N){var te;for(te=0;te<this.length;++te)if(this[te]===N)return te;return-1};function ms(N,te){if(isNaN(N)||isNaN(te))return NaN;var Ee=ss(te,12);return N+=(te-Ee)/12,Ee===1?vs(N)?29:28:31-Ee%7%2}Ze("M",["MM",2],"Mo",function(){return this.month()+1}),Ze("MMM",0,0,function(N){return this.localeData().monthsShort(this,N)}),Ze("MMMM",0,0,function(N){return this.localeData().months(this,N)}),tn("M",Gr,In),tn("MM",Gr,Lr),tn("MMM",function(N,te){return te.monthsShortRegex(N)}),tn("MMMM",function(N,te){return te.monthsRegex(N)}),Zn(["M","MM"],function(N,te){te[we]=mi(N)-1}),Zn(["MMM","MMMM"],function(N,te,Ee,Ne){var ht=Ee._locale.monthsParse(N,Ne,Ee._strict);ht!=null?te[we]=ht:w(Ee).invalidMonth=N});var wi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ls="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),as=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rs=Ln,xa=Ln;function ka(N,te){return N?i(this._months)?this._months[N.month()]:this._months[(this._months.isFormat||as).test(te)?"format":"standalone"][N.month()]:i(this._months)?this._months:this._months.standalone}function Is(N,te){return N?i(this._monthsShort)?this._monthsShort[N.month()]:this._monthsShort[as.test(te)?"format":"standalone"][N.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ms(N,te,Ee){var Ne,ht,Ar,An=N.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],Ne=0;Ne<12;++Ne)Ar=T([2e3,Ne]),this._shortMonthsParse[Ne]=this.monthsShort(Ar,"").toLocaleLowerCase(),this._longMonthsParse[Ne]=this.months(Ar,"").toLocaleLowerCase();return Ee?te==="MMM"?(ht=xi.call(this._shortMonthsParse,An),ht!==-1?ht:null):(ht=xi.call(this._longMonthsParse,An),ht!==-1?ht:null):te==="MMM"?(ht=xi.call(this._shortMonthsParse,An),ht!==-1?ht:(ht=xi.call(this._longMonthsParse,An),ht!==-1?ht:null)):(ht=xi.call(this._longMonthsParse,An),ht!==-1?ht:(ht=xi.call(this._shortMonthsParse,An),ht!==-1?ht:null))}function Gs(N,te,Ee){var Ne,ht,Ar;if(this._monthsParseExact)return Ms.call(this,N,te,Ee);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Ne=0;Ne<12;Ne++){if(ht=T([2e3,Ne]),Ee&&!this._longMonthsParse[Ne]&&(this._longMonthsParse[Ne]=new RegExp("^"+this.months(ht,"").replace(".","")+"$","i"),this._shortMonthsParse[Ne]=new RegExp("^"+this.monthsShort(ht,"").replace(".","")+"$","i")),!Ee&&!this._monthsParse[Ne]&&(Ar="^"+this.months(ht,"")+"|^"+this.monthsShort(ht,""),this._monthsParse[Ne]=new RegExp(Ar.replace(".",""),"i")),Ee&&te==="MMMM"&&this._longMonthsParse[Ne].test(N))return Ne;if(Ee&&te==="MMM"&&this._shortMonthsParse[Ne].test(N))return Ne;if(!Ee&&this._monthsParse[Ne].test(N))return Ne}}function ks(N,te){if(!N.isValid())return N;if(typeof te=="string"){if(/^\d+$/.test(te))te=mi(te);else if(te=N.localeData().monthsParse(te),!g(te))return N}var Ee=te,Ne=N.date();return Ne=Ne<29?Ne:Math.min(Ne,ms(N.year(),Ee)),N._isUTC?N._d.setUTCMonth(Ee,Ne):N._d.setMonth(Ee,Ne),N}function ha(N){return N!=null?(ks(this,N),r.updateOffset(this,!0),this):zr(this,"Month")}function Ys(){return ms(this.year(),this.month())}function Ea(N){return this._monthsParseExact?(u(this,"_monthsRegex")||us.call(this),N?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=rs),this._monthsShortStrictRegex&&N?this._monthsShortStrictRegex:this._monthsShortRegex)}function ia(N){return this._monthsParseExact?(u(this,"_monthsRegex")||us.call(this),N?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=xa),this._monthsStrictRegex&&N?this._monthsStrictRegex:this._monthsRegex)}function us(){function N(_s,oa){return oa.length-_s.length}var te=[],Ee=[],Ne=[],ht,Ar,An,Vi;for(ht=0;ht<12;ht++)Ar=T([2e3,ht]),An=Yi(this.monthsShort(Ar,"")),Vi=Yi(this.months(Ar,"")),te.push(An),Ee.push(Vi),Ne.push(Vi),Ne.push(An);te.sort(N),Ee.sort(N),Ne.sort(N),this._monthsRegex=new RegExp("^("+Ne.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+Ee.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+te.join("|")+")","i")}function eo(N,te,Ee,Ne,ht,Ar,An){var Vi;return N<100&&N>=0?(Vi=new Date(N+400,te,Ee,Ne,ht,Ar,An),isFinite(Vi.getFullYear())&&Vi.setFullYear(N)):Vi=new Date(N,te,Ee,Ne,ht,Ar,An),Vi}function wa(N){var te,Ee;return N<100&&N>=0?(Ee=Array.prototype.slice.call(arguments),Ee[0]=N+400,te=new Date(Date.UTC.apply(null,Ee)),isFinite(te.getUTCFullYear())&&te.setUTCFullYear(N)):te=new Date(Date.UTC.apply(null,arguments)),te}function da(N,te,Ee){var Ne=7+te-Ee,ht=(7+wa(N,0,Ne).getUTCDay()-te)%7;return-ht+Ne-1}function js(N,te,Ee,Ne,ht){var Ar=(7+Ee-Ne)%7,An=da(N,Ne,ht),Vi=1+7*(te-1)+Ar+An,_s,oa;return Vi<=0?(_s=N-1,oa=qr(_s)+Vi):Vi>qr(N)?(_s=N+1,oa=Vi-qr(N)):(_s=N,oa=Vi),{year:_s,dayOfYear:oa}}function ce(N,te,Ee){var Ne=da(N.year(),te,Ee),ht=Math.floor((N.dayOfYear()-Ne-1)/7)+1,Ar,An;return ht<1?(An=N.year()-1,Ar=ht+ze(An,te,Ee)):ht>ze(N.year(),te,Ee)?(Ar=ht-ze(N.year(),te,Ee),An=N.year()+1):(An=N.year(),Ar=ht),{week:Ar,year:An}}function ze(N,te,Ee){var Ne=da(N,te,Ee),ht=da(N+1,te,Ee);return(qr(N)-Ne+ht)/7}Ze("w",["ww",2],"wo","week"),Ze("W",["WW",2],"Wo","isoWeek"),tn("w",Gr,In),tn("ww",Gr,Lr),tn("W",Gr,In),tn("WW",Gr,Lr),fs(["w","ww","W","WW"],function(N,te,Ee,Ne){te[Ne.substr(0,1)]=mi(N)});function Nt(N){return ce(N,this._week.dow,this._week.doy).week}var Pr={dow:0,doy:6};function pn(){return this._week.dow}function ci(){return this._week.doy}function Wi(N){var te=this.localeData().week(this);return N==null?te:this.add((N-te)*7,"d")}function qi(N){var te=ce(this,1,4).week;return N==null?te:this.add((N-te)*7,"d")}Ze("d",0,"do","day"),Ze("dd",0,0,function(N){return this.localeData().weekdaysMin(this,N)}),Ze("ddd",0,0,function(N){return this.localeData().weekdaysShort(this,N)}),Ze("dddd",0,0,function(N){return this.localeData().weekdays(this,N)}),Ze("e",0,0,"weekday"),Ze("E",0,0,"isoWeekday"),tn("d",Gr),tn("e",Gr),tn("E",Gr),tn("dd",function(N,te){return te.weekdaysMinRegex(N)}),tn("ddd",function(N,te){return te.weekdaysShortRegex(N)}),tn("dddd",function(N,te){return te.weekdaysRegex(N)}),fs(["dd","ddd","dddd"],function(N,te,Ee,Ne){var ht=Ee._locale.weekdaysParse(N,Ne,Ee._strict);ht!=null?te.d=ht:w(Ee).invalidWeekday=N}),fs(["d","e","E"],function(N,te,Ee,Ne){te[Ne]=mi(N)});function Li(N,te){return typeof N!="string"?N:isNaN(N)?(N=te.weekdaysParse(N),typeof N=="number"?N:null):parseInt(N,10)}function Mi(N,te){return typeof N=="string"?te.weekdaysParse(N)%7||7:isNaN(N)?null:N}function _a(N,te){return N.slice(te,7).concat(N.slice(0,te))}var io="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),za="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),so="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ys=Ln,Cr=Ln,$a=Ln;function ln(N,te){var Ee=i(this._weekdays)?this._weekdays:this._weekdays[N&&N!==!0&&this._weekdays.isFormat.test(te)?"format":"standalone"];return N===!0?_a(Ee,this._week.dow):N?Ee[N.day()]:Ee}function va(N){return N===!0?_a(this._weekdaysShort,this._week.dow):N?this._weekdaysShort[N.day()]:this._weekdaysShort}function Da(N){return N===!0?_a(this._weekdaysMin,this._week.dow):N?this._weekdaysMin[N.day()]:this._weekdaysMin}function zs(N,te,Ee){var Ne,ht,Ar,An=N.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Ne=0;Ne<7;++Ne)Ar=T([2e3,1]).day(Ne),this._minWeekdaysParse[Ne]=this.weekdaysMin(Ar,"").toLocaleLowerCase(),this._shortWeekdaysParse[Ne]=this.weekdaysShort(Ar,"").toLocaleLowerCase(),this._weekdaysParse[Ne]=this.weekdays(Ar,"").toLocaleLowerCase();return Ee?te==="dddd"?(ht=xi.call(this._weekdaysParse,An),ht!==-1?ht:null):te==="ddd"?(ht=xi.call(this._shortWeekdaysParse,An),ht!==-1?ht:null):(ht=xi.call(this._minWeekdaysParse,An),ht!==-1?ht:null):te==="dddd"?(ht=xi.call(this._weekdaysParse,An),ht!==-1||(ht=xi.call(this._shortWeekdaysParse,An),ht!==-1)?ht:(ht=xi.call(this._minWeekdaysParse,An),ht!==-1?ht:null)):te==="ddd"?(ht=xi.call(this._shortWeekdaysParse,An),ht!==-1||(ht=xi.call(this._weekdaysParse,An),ht!==-1)?ht:(ht=xi.call(this._minWeekdaysParse,An),ht!==-1?ht:null)):(ht=xi.call(this._minWeekdaysParse,An),ht!==-1||(ht=xi.call(this._weekdaysParse,An),ht!==-1)?ht:(ht=xi.call(this._shortWeekdaysParse,An),ht!==-1?ht:null))}function Ks(N,te,Ee){var Ne,ht,Ar;if(this._weekdaysParseExact)return zs.call(this,N,te,Ee);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Ne=0;Ne<7;Ne++){if(ht=T([2e3,1]).day(Ne),Ee&&!this._fullWeekdaysParse[Ne]&&(this._fullWeekdaysParse[Ne]=new RegExp("^"+this.weekdays(ht,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Ne]=new RegExp("^"+this.weekdaysShort(ht,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Ne]=new RegExp("^"+this.weekdaysMin(ht,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Ne]||(Ar="^"+this.weekdays(ht,"")+"|^"+this.weekdaysShort(ht,"")+"|^"+this.weekdaysMin(ht,""),this._weekdaysParse[Ne]=new RegExp(Ar.replace(".",""),"i")),Ee&&te==="dddd"&&this._fullWeekdaysParse[Ne].test(N))return Ne;if(Ee&&te==="ddd"&&this._shortWeekdaysParse[Ne].test(N))return Ne;if(Ee&&te==="dd"&&this._minWeekdaysParse[Ne].test(N))return Ne;if(!Ee&&this._weekdaysParse[Ne].test(N))return Ne}}function Aa(N){if(!this.isValid())return N!=null?this:NaN;var te=zr(this,"Day");return N!=null?(N=Li(N,this.localeData()),this.add(N-te,"d")):te}function pa(N){if(!this.isValid())return N!=null?this:NaN;var te=(this.day()+7-this.localeData()._week.dow)%7;return N==null?te:this.add(N-te,"d")}function Pt(N){if(!this.isValid())return N!=null?this:NaN;if(N!=null){var te=Mi(N,this.localeData());return this.day(this.day()%7?te:te-7)}else return this.day()||7}function $t(N){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||bn.call(this),N?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=ys),this._weekdaysStrictRegex&&N?this._weekdaysStrictRegex:this._weekdaysRegex)}function xr(N){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||bn.call(this),N?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Cr),this._weekdaysShortStrictRegex&&N?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $r(N){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||bn.call(this),N?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$a),this._weekdaysMinStrictRegex&&N?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function bn(){function N(yo,El){return El.length-yo.length}var te=[],Ee=[],Ne=[],ht=[],Ar,An,Vi,_s,oa;for(Ar=0;Ar<7;Ar++)An=T([2e3,1]).day(Ar),Vi=Yi(this.weekdaysMin(An,"")),_s=Yi(this.weekdaysShort(An,"")),oa=Yi(this.weekdays(An,"")),te.push(Vi),Ee.push(_s),Ne.push(oa),ht.push(Vi),ht.push(_s),ht.push(oa);te.sort(N),Ee.sort(N),Ne.sort(N),ht.sort(N),this._weekdaysRegex=new RegExp("^("+ht.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Ne.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Ee.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+te.join("|")+")","i")}function Yr(){return this.hours()%12||12}function ge(){return this.hours()||24}Ze("H",["HH",2],0,"hour"),Ze("h",["hh",2],0,Yr),Ze("k",["kk",2],0,ge),Ze("hmm",0,0,function(){return""+Yr.apply(this)+de(this.minutes(),2)}),Ze("hmmss",0,0,function(){return""+Yr.apply(this)+de(this.minutes(),2)+de(this.seconds(),2)}),Ze("Hmm",0,0,function(){return""+this.hours()+de(this.minutes(),2)}),Ze("Hmmss",0,0,function(){return""+this.hours()+de(this.minutes(),2)+de(this.seconds(),2)});function je(N,te){Ze(N,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),te)})}je("a",!0),je("A",!1);function bt(N,te){return te._meridiemParse}tn("a",bt),tn("A",bt),tn("H",Gr,Si),tn("h",Gr,In),tn("k",Gr,In),tn("HH",Gr,Lr),tn("hh",Gr,Lr),tn("kk",Gr,Lr),tn("hmm",er),tn("hmmss",At),tn("Hmm",er),tn("Hmmss",At),Zn(["H","HH"],ut),Zn(["k","kk"],function(N,te,Ee){var Ne=mi(N);te[ut]=Ne===24?0:Ne}),Zn(["a","A"],function(N,te,Ee){Ee._isPm=Ee._locale.isPM(N),Ee._meridiem=N}),Zn(["h","hh"],function(N,te,Ee){te[ut]=mi(N),w(Ee).bigHour=!0}),Zn("hmm",function(N,te,Ee){var Ne=N.length-2;te[ut]=mi(N.substr(0,Ne)),te[Kt]=mi(N.substr(Ne)),w(Ee).bigHour=!0}),Zn("hmmss",function(N,te,Ee){var Ne=N.length-4,ht=N.length-2;te[ut]=mi(N.substr(0,Ne)),te[Kt]=mi(N.substr(Ne,2)),te[ar]=mi(N.substr(ht)),w(Ee).bigHour=!0}),Zn("Hmm",function(N,te,Ee){var Ne=N.length-2;te[ut]=mi(N.substr(0,Ne)),te[Kt]=mi(N.substr(Ne))}),Zn("Hmmss",function(N,te,Ee){var Ne=N.length-4,ht=N.length-2;te[ut]=mi(N.substr(0,Ne)),te[Kt]=mi(N.substr(Ne,2)),te[ar]=mi(N.substr(ht))});function yt(N){return(N+"").toLowerCase().charAt(0)==="p"}var sr=/[ap]\.?m?\.?/i,pr=Pn("Hours",!0);function hr(N,te,Ee){return N>11?Ee?"pm":"PM":Ee?"am":"AM"}var Xn={calendar:Ue,longDateFormat:Lt,invalidDate:vr,ordinal:fn,dayOfMonthOrdinalParse:Kr,relativeTime:Fn,months:wi,monthsShort:Ls,week:Pr,weekdays:io,weekdaysMin:so,weekdaysShort:za,meridiemParse:sr},Un={},Fi={},ti;function Ai(N,te){var Ee,Ne=Math.min(N.length,te.length);for(Ee=0;Ee<Ne;Ee+=1)if(N[Ee]!==te[Ee])return Ee;return Ne}function qn(N){return N&&N.toLowerCase().replace("_","-")}function $e(N){for(var te=0,Ee,Ne,ht,Ar;te<N.length;){for(Ar=qn(N[te]).split("-"),Ee=Ar.length,Ne=qn(N[te+1]),Ne=Ne?Ne.split("-"):null;Ee>0;){if(ht=Ct(Ar.slice(0,Ee).join("-")),ht)return ht;if(Ne&&Ne.length>=Ee&&Ai(Ar,Ne)>=Ee-1)break;Ee--}te++}return ti}function Je(N){return!!(N&&N.match("^[^/\\\\]*$"))}function Ct(N){var te=null,Ee;if(Un[N]===void 0&&f&&f.exports&&Je(N))try{te=ti._abbr,Ee=void 0,e(31926)("./"+N),Ot(te)}catch{Un[N]=null}return Un[N]}function Ot(N,te){var Ee;return N&&(m(te)?Ee=Hr(N):Ee=Wt(N,te),Ee?ti=Ee:typeof console<"u"&&console.warn&&console.warn("Locale "+N+" not found. Did you forget to load it?")),ti._abbr}function Wt(N,te){if(te!==null){var Ee,Ne=Xn;if(te.abbr=N,Un[N]!=null)re("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),Ne=Un[N]._config;else if(te.parentLocale!=null)if(Un[te.parentLocale]!=null)Ne=Un[te.parentLocale]._config;else if(Ee=Ct(te.parentLocale),Ee!=null)Ne=Ee._config;else return Fi[te.parentLocale]||(Fi[te.parentLocale]=[]),Fi[te.parentLocale].push({name:N,config:te}),null;return Un[N]=new ye(ae(Ne,te)),Fi[N]&&Fi[N].forEach(function(ht){Wt(ht.name,ht.config)}),Ot(N),Un[N]}else return delete Un[N],null}function Er(N,te){if(te!=null){var Ee,Ne,ht=Xn;Un[N]!=null&&Un[N].parentLocale!=null?Un[N].set(ae(Un[N]._config,te)):(Ne=Ct(N),Ne!=null&&(ht=Ne._config),te=ae(ht,te),Ne==null&&(te.abbr=N),Ee=new ye(te),Ee.parentLocale=Un[N],Un[N]=Ee),Ot(N)}else Un[N]!=null&&(Un[N].parentLocale!=null?(Un[N]=Un[N].parentLocale,N===Ot()&&Ot(N)):Un[N]!=null&&delete Un[N]);return Un[N]}function Hr(N){var te;if(N&&N._locale&&N._locale._abbr&&(N=N._locale._abbr),!N)return ti;if(!i(N)){if(te=Ct(N),te)return te;N=[N]}return $e(N)}function mn(){return ve(Un)}function di(N){var te,Ee=N._a;return Ee&&w(N).overflow===-2&&(te=Ee[we]<0||Ee[we]>11?we:Ee[Ke]<1||Ee[Ke]>ms(Ee[wr],Ee[we])?Ke:Ee[ut]<0||Ee[ut]>24||Ee[ut]===24&&(Ee[Kt]!==0||Ee[ar]!==0||Ee[Wn]!==0)?ut:Ee[Kt]<0||Ee[Kt]>59?Kt:Ee[ar]<0||Ee[ar]>59?ar:Ee[Wn]<0||Ee[Wn]>999?Wn:-1,w(N)._overflowDayOfYear&&(te<wr||te>Ke)&&(te=Ke),w(N)._overflowWeeks&&te===-1&&(te=hi),w(N)._overflowWeekday&&te===-1&&(te=Tt),w(N).overflow=te),N}var si=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,He=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Le=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],De=/^\/?Date\((-?\d+)/i,lt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,gt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zt(N){var te,Ee,Ne=N._i,ht=si.exec(Ne)||Pe.exec(Ne),Ar,An,Vi,_s,oa=ft.length,yo=Le.length;if(ht){for(w(N).iso=!0,te=0,Ee=oa;te<Ee;te++)if(ft[te][1].exec(ht[1])){An=ft[te][0],Ar=ft[te][2]!==!1;break}if(An==null){N._isValid=!1;return}if(ht[3]){for(te=0,Ee=yo;te<Ee;te++)if(Le[te][1].exec(ht[3])){Vi=(ht[2]||" ")+Le[te][0];break}if(Vi==null){N._isValid=!1;return}}if(!Ar&&Vi!=null){N._isValid=!1;return}if(ht[4])if(He.exec(ht[4]))_s="Z";else{N._isValid=!1;return}N._f=An+(Vi||"")+(_s||""),Fs(N)}else N._isValid=!1}function xn(N,te,Ee,Ne,ht,Ar){var An=[dn(N),Ls.indexOf(te),parseInt(Ee,10),parseInt(Ne,10),parseInt(ht,10)];return Ar&&An.push(parseInt(Ar,10)),An}function dn(N){var te=parseInt(N,10);return te<=49?2e3+te:te<=999?1900+te:te}function vn(N){return N.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function $n(N,te,Ee){if(N){var Ne=za.indexOf(N),ht=new Date(te[0],te[1],te[2]).getDay();if(Ne!==ht)return w(Ee).weekdayMismatch=!0,Ee._isValid=!1,!1}return!0}function Ui(N,te,Ee){if(N)return gt[N];if(te)return 0;var Ne=parseInt(Ee,10),ht=Ne%100,Ar=(Ne-ht)/100;return Ar*60+ht}function hs(N){var te=lt.exec(vn(N._i)),Ee;if(te){if(Ee=xn(te[4],te[3],te[2],te[5],te[6],te[7]),!$n(te[1],Ee,N))return;N._a=Ee,N._tzm=Ui(te[8],te[9],te[10]),N._d=wa.apply(null,N._a),N._d.setUTCMinutes(N._d.getUTCMinutes()-N._tzm),w(N).rfc2822=!0}else N._isValid=!1}function Qn(N){var te=De.exec(N._i);if(te!==null){N._d=new Date(+te[1]);return}if(Zt(N),N._isValid===!1)delete N._isValid;else return;if(hs(N),N._isValid===!1)delete N._isValid;else return;N._strict?N._isValid=!1:r.createFromInputFallback(N)}r.createFromInputFallback=q("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(N){N._d=new Date(N._i+(N._useUTC?" UTC":""))});function ki(N,te,Ee){return N??te??Ee}function Oi(N){var te=new Date(r.now());return N._useUTC?[te.getUTCFullYear(),te.getUTCMonth(),te.getUTCDate()]:[te.getFullYear(),te.getMonth(),te.getDate()]}function Ei(N){var te,Ee,Ne=[],ht,Ar,An;if(!N._d){for(ht=Oi(N),N._w&&N._a[Ke]==null&&N._a[we]==null&&ma(N),N._dayOfYear!=null&&(An=ki(N._a[wr],ht[wr]),(N._dayOfYear>qr(An)||N._dayOfYear===0)&&(w(N)._overflowDayOfYear=!0),Ee=wa(An,0,N._dayOfYear),N._a[we]=Ee.getUTCMonth(),N._a[Ke]=Ee.getUTCDate()),te=0;te<3&&N._a[te]==null;++te)N._a[te]=Ne[te]=ht[te];for(;te<7;te++)N._a[te]=Ne[te]=N._a[te]==null?te===2?1:0:N._a[te];N._a[ut]===24&&N._a[Kt]===0&&N._a[ar]===0&&N._a[Wn]===0&&(N._nextDay=!0,N._a[ut]=0),N._d=(N._useUTC?wa:eo).apply(null,Ne),Ar=N._useUTC?N._d.getUTCDay():N._d.getDay(),N._tzm!=null&&N._d.setUTCMinutes(N._d.getUTCMinutes()-N._tzm),N._nextDay&&(N._a[ut]=24),N._w&&typeof N._w.d<"u"&&N._w.d!==Ar&&(w(N).weekdayMismatch=!0)}}function ma(N){var te,Ee,Ne,ht,Ar,An,Vi,_s,oa;te=N._w,te.GG!=null||te.W!=null||te.E!=null?(Ar=1,An=4,Ee=ki(te.GG,N._a[wr],ce($s(),1,4).year),Ne=ki(te.W,1),ht=ki(te.E,1),(ht<1||ht>7)&&(_s=!0)):(Ar=N._locale._week.dow,An=N._locale._week.doy,oa=ce($s(),Ar,An),Ee=ki(te.gg,N._a[wr],oa.year),Ne=ki(te.w,oa.week),te.d!=null?(ht=te.d,(ht<0||ht>6)&&(_s=!0)):te.e!=null?(ht=te.e+Ar,(te.e<0||te.e>6)&&(_s=!0)):ht=Ar),Ne<1||Ne>ze(Ee,Ar,An)?w(N)._overflowWeeks=!0:_s!=null?w(N)._overflowWeekday=!0:(Vi=js(Ee,Ne,ht,Ar,An),N._a[wr]=Vi.year,N._dayOfYear=Vi.dayOfYear)}r.ISO_8601=function(){},r.RFC_2822=function(){};function Fs(N){if(N._f===r.ISO_8601){Zt(N);return}if(N._f===r.RFC_2822){hs(N);return}N._a=[],w(N).empty=!0;var te=""+N._i,Ee,Ne,ht,Ar,An,Vi=te.length,_s=0,oa,yo;for(ht=jt(N._f,N._locale).match(xe)||[],yo=ht.length,Ee=0;Ee<yo;Ee++)Ar=ht[Ee],Ne=(te.match(Hi(Ar,N))||[])[0],Ne&&(An=te.substr(0,te.indexOf(Ne)),An.length>0&&w(N).unusedInput.push(An),te=te.slice(te.indexOf(Ne)+Ne.length),_s+=Ne.length),Me[Ar]?(Ne?w(N).empty=!1:w(N).unusedTokens.push(Ar),cs(Ar,Ne,N)):N._strict&&!Ne&&w(N).unusedTokens.push(Ar);w(N).charsLeftOver=Vi-_s,te.length>0&&w(N).unusedInput.push(te),N._a[ut]<=12&&w(N).bigHour===!0&&N._a[ut]>0&&(w(N).bigHour=void 0),w(N).parsedDateParts=N._a.slice(0),w(N).meridiem=N._meridiem,N._a[ut]=Ha(N._locale,N._a[ut],N._meridiem),oa=w(N).era,oa!==null&&(N._a[wr]=N._locale.erasConvertYear(oa,N._a[wr])),Ei(N),di(N)}function Ha(N,te,Ee){var Ne;return Ee==null?te:N.meridiemHour!=null?N.meridiemHour(te,Ee):(N.isPM!=null&&(Ne=N.isPM(Ee),Ne&&te<12&&(te+=12),!Ne&&te===12&&(te=0)),te)}function Cs(N){var te,Ee,Ne,ht,Ar,An,Vi=!1,_s=N._f.length;if(_s===0){w(N).invalidFormat=!0,N._d=new Date(NaN);return}for(ht=0;ht<_s;ht++)Ar=0,An=!1,te=j({},N),N._useUTC!=null&&(te._useUTC=N._useUTC),te._f=N._f[ht],Fs(te),O(te)&&(An=!0),Ar+=w(te).charsLeftOver,Ar+=w(te).unusedTokens.length*10,w(te).score=Ar,Vi?Ar<Ne&&(Ne=Ar,Ee=te):(Ne==null||Ar<Ne||An)&&(Ne=Ar,Ee=te,An&&(Vi=!0));b(N,Ee||te)}function qs(N){if(!N._d){var te=Tr(N._i),Ee=te.day===void 0?te.date:te.day;N._a=v([te.year,te.month,Ee,te.hour,te.minute,te.second,te.millisecond],function(Ne){return Ne&&parseInt(Ne,10)}),Ei(N)}}function Wa(N){var te=new M(di(Oa(N)));return te._nextDay&&(te.add(1,"d"),te._nextDay=void 0),te}function Oa(N){var te=N._i,Ee=N._f;return N._locale=N._locale||Hr(N._l),te===null||Ee===void 0&&te===""?U({nullInput:!0}):(typeof te=="string"&&(N._i=te=N._locale.preparse(te)),W(te)?new M(di(te)):(h(te)?N._d=te:i(Ee)?Cs(N):Ee?Fs(N):Na(N),O(N)||(N._d=null),N))}function Na(N){var te=N._i;m(te)?N._d=new Date(r.now()):h(te)?N._d=new Date(te.valueOf()):typeof te=="string"?Qn(N):i(te)?(N._a=v(te.slice(0),function(Ee){return parseInt(Ee,10)}),Ei(N)):s(te)?qs(N):g(te)?N._d=new Date(te):r.createFromInputFallback(N)}function Qo(N,te,Ee,Ne,ht){var Ar={};return(te===!0||te===!1)&&(Ne=te,te=void 0),(Ee===!0||Ee===!1)&&(Ne=Ee,Ee=void 0),(s(N)&&l(N)||i(N)&&N.length===0)&&(N=void 0),Ar._isAMomentObject=!0,Ar._useUTC=Ar._isUTC=ht,Ar._l=Ee,Ar._i=N,Ar._f=te,Ar._strict=Ne,Wa(Ar)}function $s(N,te,Ee,Ne){return Qo(N,te,Ee,Ne,!1)}var ra=q("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var N=$s.apply(null,arguments);return this.isValid()&&N.isValid()?N<this?this:N:U()}),bs=q("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var N=$s.apply(null,arguments);return this.isValid()&&N.isValid()?N>this?this:N:U()});function Ia(N,te){var Ee,Ne;if(te.length===1&&i(te[0])&&(te=te[0]),!te.length)return $s();for(Ee=te[0],Ne=1;Ne<te.length;++Ne)(!te[Ne].isValid()||te[Ne][N](Ee))&&(Ee=te[Ne]);return Ee}function Eu(){var N=[].slice.call(arguments,0);return Ia("isBefore",N)}function oo(){var N=[].slice.call(arguments,0);return Ia("isAfter",N)}var ju=function(){return Date.now?Date.now():+new Date},xo=["year","quarter","month","week","day","hour","minute","second","millisecond"];function $(N){var te,Ee=!1,Ne,ht=xo.length;for(te in N)if(u(N,te)&&!(xi.call(xo,te)!==-1&&(N[te]==null||!isNaN(N[te]))))return!1;for(Ne=0;Ne<ht;++Ne)if(N[xo[Ne]]){if(Ee)return!1;parseFloat(N[xo[Ne]])!==mi(N[xo[Ne]])&&(Ee=!0)}return!0}function z(){return this._isValid}function ee(){return _i(NaN)}function pe(N){var te=Tr(N),Ee=te.year||0,Ne=te.quarter||0,ht=te.month||0,Ar=te.week||te.isoWeek||0,An=te.day||0,Vi=te.hour||0,_s=te.minute||0,oa=te.second||0,yo=te.millisecond||0;this._isValid=$(te),this._milliseconds=+yo+oa*1e3+_s*6e4+Vi*1e3*60*60,this._days=+An+Ar*7,this._months=+ht+Ne*3+Ee*12,this._data={},this._locale=Hr(),this._bubble()}function Ce(N){return N instanceof pe}function Be(N){return N<0?Math.round(-1*N)*-1:Math.round(N)}function at(N,te,Ee){var Ne=Math.min(N.length,te.length),ht=Math.abs(N.length-te.length),Ar=0,An;for(An=0;An<Ne;An++)(Ee&&N[An]!==te[An]||!Ee&&mi(N[An])!==mi(te[An]))&&Ar++;return Ar+ht}function vt(N,te){Ze(N,0,0,function(){var Ee=this.utcOffset(),Ne="+";return Ee<0&&(Ee=-Ee,Ne="-"),Ne+de(~~(Ee/60),2)+te+de(~~Ee%60,2)})}vt("Z",":"),vt("ZZ",""),tn("Z",an),tn("ZZ",an),Zn(["Z","ZZ"],function(N,te,Ee){Ee._useUTC=!0,Ee._tzm=mr(an,N)});var Bt=/([\+\-]|\d\d)/gi;function mr(N,te){var Ee=(te||"").match(N),Ne,ht,Ar;return Ee===null?null:(Ne=Ee[Ee.length-1]||[],ht=(Ne+"").match(Bt)||["-",0,0],Ar=+(ht[1]*60)+mi(ht[2]),Ar===0?0:ht[0]==="+"?Ar:-Ar)}function zt(N,te){var Ee,Ne;return te._isUTC?(Ee=te.clone(),Ne=(W(N)||h(N)?N.valueOf():$s(N).valueOf())-Ee.valueOf(),Ee._d.setTime(Ee._d.valueOf()+Ne),r.updateOffset(Ee,!1),Ee):$s(N).local()}function jr(N){return-Math.round(N._d.getTimezoneOffset())}r.updateOffset=function(){};function Rn(N,te,Ee){var Ne=this._offset||0,ht;if(!this.isValid())return N!=null?this:NaN;if(N!=null){if(typeof N=="string"){if(N=mr(an,N),N===null)return this}else Math.abs(N)<16&&!Ee&&(N=N*60);return!this._isUTC&&te&&(ht=jr(this)),this._offset=N,this._isUTC=!0,ht!=null&&this.add(ht,"m"),Ne!==N&&(!te||this._changeInProgress?ol(this,_i(N-Ne,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?Ne:jr(this)}function Jn(N,te){return N!=null?(typeof N!="string"&&(N=-N),this.utcOffset(N,te),this):-this.utcOffset()}function Yn(N){return this.utcOffset(0,N)}function gi(N){return this._isUTC&&(this.utcOffset(0,N),this._isUTC=!1,N&&this.subtract(jr(this),"m")),this}function Ni(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var N=mr(Mt,this._i);N!=null?this.utcOffset(N):this.utcOffset(0,!0)}return this}function Ii(N){return this.isValid()?(N=N?$s(N).utcOffset():0,(this.utcOffset()-N)%60===0):!1}function es(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ur(){if(!m(this._isDSTShifted))return this._isDSTShifted;var N={},te;return j(N,this),N=Oa(N),N._a?(te=N._isUTC?T(N._a):$s(N._a),this._isDSTShifted=this.isValid()&&at(N._a,te.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function on(){return this.isValid()?!this._isUTC:!1}function kr(){return this.isValid()?this._isUTC:!1}function jn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ts=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,is=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _i(N,te){var Ee=N,Ne=null,ht,Ar,An;return Ce(N)?Ee={ms:N._milliseconds,d:N._days,M:N._months}:g(N)||!isNaN(+N)?(Ee={},te?Ee[te]=+N:Ee.milliseconds=+N):(Ne=ts.exec(N))?(ht=Ne[1]==="-"?-1:1,Ee={y:0,d:mi(Ne[Ke])*ht,h:mi(Ne[ut])*ht,m:mi(Ne[Kt])*ht,s:mi(Ne[ar])*ht,ms:mi(Be(Ne[Wn]*1e3))*ht}):(Ne=is.exec(N))?(ht=Ne[1]==="-"?-1:1,Ee={y:Ps(Ne[2],ht),M:Ps(Ne[3],ht),w:Ps(Ne[4],ht),d:Ps(Ne[5],ht),h:Ps(Ne[6],ht),m:Ps(Ne[7],ht),s:Ps(Ne[8],ht)}):Ee==null?Ee={}:typeof Ee=="object"&&("from"in Ee||"to"in Ee)&&(An=zu($s(Ee.from),$s(Ee.to)),Ee={},Ee.ms=An.milliseconds,Ee.M=An.months),Ar=new pe(Ee),Ce(N)&&u(N,"_locale")&&(Ar._locale=N._locale),Ce(N)&&u(N,"_isValid")&&(Ar._isValid=N._isValid),Ar}_i.fn=pe.prototype,_i.invalid=ee;function Ps(N,te){var Ee=N&&parseFloat(N.replace(",","."));return(isNaN(Ee)?0:Ee)*te}function Do(N,te){var Ee={};return Ee.months=te.month()-N.month()+(te.year()-N.year())*12,N.clone().add(Ee.months,"M").isAfter(te)&&--Ee.months,Ee.milliseconds=+te-+N.clone().add(Ee.months,"M"),Ee}function zu(N,te){var Ee;return N.isValid()&&te.isValid()?(te=zt(te,N),N.isBefore(te)?Ee=Do(N,te):(Ee=Do(te,N),Ee.milliseconds=-Ee.milliseconds,Ee.months=-Ee.months),Ee):{milliseconds:0,months:0}}function Va(N,te){return function(Ee,Ne){var ht,Ar;return Ne!==null&&!isNaN(+Ne)&&(re(te,"moment()."+te+"(period, number) is deprecated. Please use moment()."+te+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),Ar=Ee,Ee=Ne,Ne=Ar),ht=_i(Ee,Ne),ol(this,ht,N),this}}function ol(N,te,Ee,Ne){var ht=te._milliseconds,Ar=Be(te._days),An=Be(te._months);N.isValid()&&(Ne=Ne??!0,An&&ks(N,zr(N,"Month")+An*Ee),Ar&&Hn(N,"Date",zr(N,"Date")+Ar*Ee),ht&&N._d.setTime(N._d.valueOf()+ht*Ee),Ne&&r.updateOffset(N,Ar||An))}var Pu=Va(1,"add"),Eo=Va(-1,"subtract");function sa(N){return typeof N=="string"||N instanceof String}function Ru(N){return W(N)||h(N)||sa(N)||g(N)||Kc(N)||Ca(N)||N===null||N===void 0}function Ca(N){var te=s(N)&&!l(N),Ee=!1,Ne=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],ht,Ar,An=Ne.length;for(ht=0;ht<An;ht+=1)Ar=Ne[ht],Ee=Ee||u(N,Ar);return te&&Ee}function Kc(N){var te=i(N),Ee=!1;return te&&(Ee=N.filter(function(Ne){return!g(Ne)&&sa(N)}).length===0),te&&Ee}function ul(N){var te=s(N)&&!l(N),Ee=!1,Ne=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],ht,Ar;for(ht=0;ht<Ne.length;ht+=1)Ar=Ne[ht],Ee=Ee||u(N,Ar);return te&&Ee}function bl(N,te){var Ee=N.diff(te,"days",!0);return Ee<-6?"sameElse":Ee<-1?"lastWeek":Ee<0?"lastDay":Ee<1?"sameDay":Ee<2?"nextDay":Ee<7?"nextWeek":"sameElse"}function Jo(N,te){arguments.length===1&&(arguments[0]?Ru(arguments[0])?(N=arguments[0],te=void 0):ul(arguments[0])&&(te=arguments[0],N=void 0):(N=void 0,te=void 0));var Ee=N||$s(),Ne=zt(Ee,this).startOf("day"),ht=r.calendarFormat(this,Ne)||"sameElse",Ar=te&&(he(te[ht])?te[ht].call(this,Ee):te[ht]);return this.format(Ar||this.localeData().calendar(ht,this,$s(Ee)))}function Xc(){return new M(this)}function pc(N,te){var Ee=W(N)?N:$s(N);return this.isValid()&&Ee.isValid()?(te=Dr(te)||"millisecond",te==="millisecond"?this.valueOf()>Ee.valueOf():Ee.valueOf()<this.clone().startOf(te).valueOf()):!1}function Bs(N,te){var Ee=W(N)?N:$s(N);return this.isValid()&&Ee.isValid()?(te=Dr(te)||"millisecond",te==="millisecond"?this.valueOf()<Ee.valueOf():this.clone().endOf(te).valueOf()<Ee.valueOf()):!1}function Lo(N,te,Ee,Ne){var ht=W(N)?N:$s(N),Ar=W(te)?te:$s(te);return this.isValid()&&ht.isValid()&&Ar.isValid()?(Ne=Ne||"()",(Ne[0]==="("?this.isAfter(ht,Ee):!this.isBefore(ht,Ee))&&(Ne[1]===")"?this.isBefore(Ar,Ee):!this.isAfter(Ar,Ee))):!1}function uo(N,te){var Ee=W(N)?N:$s(N),Ne;return this.isValid()&&Ee.isValid()?(te=Dr(te)||"millisecond",te==="millisecond"?this.valueOf()===Ee.valueOf():(Ne=Ee.valueOf(),this.clone().startOf(te).valueOf()<=Ne&&Ne<=this.clone().endOf(te).valueOf())):!1}function Oo(N,te){return this.isSame(N,te)||this.isAfter(N,te)}function Du(N,te){return this.isSame(N,te)||this.isBefore(N,te)}function se(N,te,Ee){var Ne,ht,Ar;if(!this.isValid())return NaN;if(Ne=zt(N,this),!Ne.isValid())return NaN;switch(ht=(Ne.utcOffset()-this.utcOffset())*6e4,te=Dr(te),te){case"year":Ar=_r(this,Ne)/12;break;case"month":Ar=_r(this,Ne);break;case"quarter":Ar=_r(this,Ne)/3;break;case"second":Ar=(this-Ne)/1e3;break;case"minute":Ar=(this-Ne)/6e4;break;case"hour":Ar=(this-Ne)/36e5;break;case"day":Ar=(this-Ne-ht)/864e5;break;case"week":Ar=(this-Ne-ht)/6048e5;break;default:Ar=this-Ne}return Ee?Ar:Ki(Ar)}function _r(N,te){if(N.date()<te.date())return-_r(te,N);var Ee=(te.year()-N.year())*12+(te.month()-N.month()),Ne=N.clone().add(Ee,"months"),ht,Ar;return te-Ne<0?(ht=N.clone().add(Ee-1,"months"),Ar=(te-Ne)/(Ne-ht)):(ht=N.clone().add(Ee+1,"months"),Ar=(te-Ne)/(ht-Ne)),-(Ee+Ar)||0}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ct(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function wt(N){if(!this.isValid())return null;var te=N!==!0,Ee=te?this.clone().utc():this;return Ee.year()<0||Ee.year()>9999?Xt(Ee,te?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):he(Date.prototype.toISOString)?te?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Xt(Ee,"Z")):Xt(Ee,te?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function En(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var N="moment",te="",Ee,Ne,ht,Ar;return this.isLocal()||(N=this.utcOffset()===0?"moment.utc":"moment.parseZone",te="Z"),Ee="["+N+'("]',Ne=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",ht="-MM-DD[T]HH:mm:ss.SSS",Ar=te+'[")]',this.format(Ee+Ne+ht+Ar)}function ei(N){N||(N=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var te=Xt(this,N);return this.localeData().postformat(te)}function As(N,te){return this.isValid()&&(W(N)&&N.isValid()||$s(N).isValid())?_i({to:this,from:N}).locale(this.locale()).humanize(!te):this.localeData().invalidDate()}function xs(N){return this.from($s(),N)}function ya(N,te){return this.isValid()&&(W(N)&&N.isValid()||$s(N).isValid())?_i({from:this,to:N}).locale(this.locale()).humanize(!te):this.localeData().invalidDate()}function Zo(N){return this.to($s(),N)}function fo(N){var te;return N===void 0?this._locale._abbr:(te=Hr(N),te!=null&&(this._locale=te),this)}var Qa=q("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(N){return N===void 0?this.localeData():this.locale(N)});function tl(){return this._locale}var $u=1e3,qo=60*$u,Hu=60*qo,hu=(365*400+97)*24*Hu;function Fa(N,te){return(N%te+te)%te}function ho(N,te,Ee){return N<100&&N>=0?new Date(N+400,te,Ee)-hu:new Date(N,te,Ee).valueOf()}function Rl(N,te,Ee){return N<100&&N>=0?Date.UTC(N+400,te,Ee)-hu:Date.UTC(N,te,Ee)}function Es(N){var te,Ee;if(N=Dr(N),N===void 0||N==="millisecond"||!this.isValid())return this;switch(Ee=this._isUTC?Rl:ho,N){case"year":te=Ee(this.year(),0,1);break;case"quarter":te=Ee(this.year(),this.month()-this.month()%3,1);break;case"month":te=Ee(this.year(),this.month(),1);break;case"week":te=Ee(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":te=Ee(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":te=Ee(this.year(),this.month(),this.date());break;case"hour":te=this._d.valueOf(),te-=Fa(te+(this._isUTC?0:this.utcOffset()*qo),Hu);break;case"minute":te=this._d.valueOf(),te-=Fa(te,qo);break;case"second":te=this._d.valueOf(),te-=Fa(te,$u);break}return this._d.setTime(te),r.updateOffset(this,!0),this}function Tu(N){var te,Ee;if(N=Dr(N),N===void 0||N==="millisecond"||!this.isValid())return this;switch(Ee=this._isUTC?Rl:ho,N){case"year":te=Ee(this.year()+1,0,1)-1;break;case"quarter":te=Ee(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":te=Ee(this.year(),this.month()+1,1)-1;break;case"week":te=Ee(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":te=Ee(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":te=Ee(this.year(),this.month(),this.date()+1)-1;break;case"hour":te=this._d.valueOf(),te+=Hu-Fa(te+(this._isUTC?0:this.utcOffset()*qo),Hu)-1;break;case"minute":te=this._d.valueOf(),te+=qo-Fa(te,qo)-1;break;case"second":te=this._d.valueOf(),te+=$u-Fa(te,$u)-1;break}return this._d.setTime(te),r.updateOffset(this,!0),this}function Dl(){return this._d.valueOf()-(this._offset||0)*6e4}function Ae(){return Math.floor(this.valueOf()/1e3)}function qe(){return new Date(this.valueOf())}function St(){var N=this;return[N.year(),N.month(),N.date(),N.hour(),N.minute(),N.second(),N.millisecond()]}function Ft(){var N=this;return{years:N.year(),months:N.month(),date:N.date(),hours:N.hours(),minutes:N.minutes(),seconds:N.seconds(),milliseconds:N.milliseconds()}}function Jt(){return this.isValid()?this.toISOString():null}function Rr(){return O(this)}function On(){return b({},w(this))}function Kn(){return w(this).overflow}function Bi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Ze("N",0,0,"eraAbbr"),Ze("NN",0,0,"eraAbbr"),Ze("NNN",0,0,"eraAbbr"),Ze("NNNN",0,0,"eraName"),Ze("NNNNN",0,0,"eraNarrow"),Ze("y",["y",1],"yo","eraYear"),Ze("y",["yy",2],0,"eraYear"),Ze("y",["yyy",3],0,"eraYear"),Ze("y",["yyyy",4],0,"eraYear"),tn("N",ba),tn("NN",ba),tn("NNN",ba),tn("NNNN",gs),tn("NNNNN",eu),Zn(["N","NN","NNN","NNNN","NNNNN"],function(N,te,Ee,Ne){var ht=Ee._locale.erasParse(N,Ne,Ee._strict);ht?w(Ee).era=ht:w(Ee).invalidEra=N}),tn("y",Yt),tn("yy",Yt),tn("yyy",Yt),tn("yyyy",Yt),tn("yo",ll),Zn(["y","yy","yyy","yyyy"],wr),Zn(["yo"],function(N,te,Ee,Ne){var ht;Ee._locale._eraYearOrdinalRegex&&(ht=N.match(Ee._locale._eraYearOrdinalRegex)),Ee._locale.eraYearOrdinalParse?te[wr]=Ee._locale.eraYearOrdinalParse(N,ht):te[wr]=parseInt(N,10)});function ji(N,te){var Ee,Ne,ht,Ar=this._eras||Hr("en")._eras;for(Ee=0,Ne=Ar.length;Ee<Ne;++Ee)switch(typeof Ar[Ee].since==="string"&&(ht=r(Ar[Ee].since).startOf("day"),Ar[Ee].since=ht.valueOf()),typeof Ar[Ee].until){case"undefined":Ar[Ee].until=1/0;break;case"string":ht=r(Ar[Ee].until).startOf("day").valueOf(),Ar[Ee].until=ht.valueOf();break}return Ar}function Xi(N,te,Ee){var Ne,ht,Ar=this.eras(),An,Vi,_s;for(N=N.toUpperCase(),Ne=0,ht=Ar.length;Ne<ht;++Ne)if(An=Ar[Ne].name.toUpperCase(),Vi=Ar[Ne].abbr.toUpperCase(),_s=Ar[Ne].narrow.toUpperCase(),Ee)switch(te){case"N":case"NN":case"NNN":if(Vi===N)return Ar[Ne];break;case"NNNN":if(An===N)return Ar[Ne];break;case"NNNNN":if(_s===N)return Ar[Ne];break}else if([An,Vi,_s].indexOf(N)>=0)return Ar[Ne]}function aa(N,te){var Ee=N.since<=N.until?1:-1;return te===void 0?r(N.since).year():r(N.since).year()+(te-N.offset)*Ee}function Js(){var N,te,Ee,Ne=this.localeData().eras();for(N=0,te=Ne.length;N<te;++N)if(Ee=this.clone().startOf("day").valueOf(),Ne[N].since<=Ee&&Ee<=Ne[N].until||Ne[N].until<=Ee&&Ee<=Ne[N].since)return Ne[N].name;return""}function Ka(){var N,te,Ee,Ne=this.localeData().eras();for(N=0,te=Ne.length;N<te;++N)if(Ee=this.clone().startOf("day").valueOf(),Ne[N].since<=Ee&&Ee<=Ne[N].until||Ne[N].until<=Ee&&Ee<=Ne[N].since)return Ne[N].narrow;return""}function To(){var N,te,Ee,Ne=this.localeData().eras();for(N=0,te=Ne.length;N<te;++N)if(Ee=this.clone().startOf("day").valueOf(),Ne[N].since<=Ee&&Ee<=Ne[N].until||Ne[N].until<=Ee&&Ee<=Ne[N].since)return Ne[N].abbr;return""}function po(){var N,te,Ee,Ne,ht=this.localeData().eras();for(N=0,te=ht.length;N<te;++N)if(Ee=ht[N].since<=ht[N].until?1:-1,Ne=this.clone().startOf("day").valueOf(),ht[N].since<=Ne&&Ne<=ht[N].until||ht[N].until<=Ne&&Ne<=ht[N].since)return(this.year()-r(ht[N].since).year())*Ee+ht[N].offset;return this.year()}function dt(N){return u(this,"_erasNameRegex")||rl.call(this),N?this._erasNameRegex:this._erasRegex}function Ja(N){return u(this,"_erasAbbrRegex")||rl.call(this),N?this._erasAbbrRegex:this._erasRegex}function La(N){return u(this,"_erasNarrowRegex")||rl.call(this),N?this._erasNarrowRegex:this._erasRegex}function ba(N,te){return te.erasAbbrRegex(N)}function gs(N,te){return te.erasNameRegex(N)}function eu(N,te){return te.erasNarrowRegex(N)}function ll(N,te){return te._eraYearOrdinalRegex||Yt}function rl(){var N=[],te=[],Ee=[],Ne=[],ht,Ar,An,Vi,_s,oa=this.eras();for(ht=0,Ar=oa.length;ht<Ar;++ht)An=Yi(oa[ht].name),Vi=Yi(oa[ht].abbr),_s=Yi(oa[ht].narrow),te.push(An),N.push(Vi),Ee.push(_s),Ne.push(An),Ne.push(Vi),Ne.push(_s);this._erasRegex=new RegExp("^("+Ne.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+te.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+N.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+Ee.join("|")+")","i")}Ze(0,["gg",2],0,function(){return this.weekYear()%100}),Ze(0,["GG",2],0,function(){return this.isoWeekYear()%100});function pu(N,te){Ze(0,[N,N.length],0,te)}pu("gggg","weekYear"),pu("ggggg","weekYear"),pu("GGGG","isoWeekYear"),pu("GGGGG","isoWeekYear"),tn("G",it),tn("g",it),tn("GG",Gr,Lr),tn("gg",Gr,Lr),tn("GGGG",Y,hn),tn("gggg",Y,hn),tn("GGGGG",ot,rr),tn("ggggg",ot,rr),fs(["gggg","ggggg","GGGG","GGGGG"],function(N,te,Ee,Ne){te[Ne.substr(0,2)]=mi(N)}),fs(["gg","GG"],function(N,te,Ee,Ne){te[Ne]=r.parseTwoDigitYear(N)});function Xl(N){return mc.call(this,N,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function mu(N){return mc.call(this,N,this.isoWeek(),this.isoWeekday(),1,4)}function wu(){return ze(this.year(),1,4)}function Rc(){return ze(this.isoWeekYear(),1,4)}function Qc(){var N=this.localeData()._week;return ze(this.year(),N.dow,N.doy)}function Lu(){var N=this.localeData()._week;return ze(this.weekYear(),N.dow,N.doy)}function mc(N,te,Ee,Ne,ht){var Ar;return N==null?ce(this,Ne,ht).year:(Ar=ze(N,Ne,ht),te>Ar&&(te=Ar),Vo.call(this,N,te,Ee,Ne,ht))}function Vo(N,te,Ee,Ne,ht){var Ar=js(N,te,Ee,Ne,ht),An=wa(Ar.year,0,Ar.dayOfYear);return this.year(An.getUTCFullYear()),this.month(An.getUTCMonth()),this.date(An.getUTCDate()),this}Ze("Q",0,"Qo","quarter"),tn("Q",Mr),Zn("Q",function(N,te){te[we]=(mi(N)-1)*3});function qd(N){return N==null?Math.ceil((this.month()+1)/3):this.month((N-1)*3+this.month()%3)}Ze("D",["DD",2],"Do","date"),tn("D",Gr,In),tn("DD",Gr,Lr),tn("Do",function(N,te){return N?te._dayOfMonthOrdinalParse||te._ordinalParse:te._dayOfMonthOrdinalParseLenient}),Zn(["D","DD"],Ke),Zn("Do",function(N,te){te[Ke]=mi(N.match(Gr)[0])});var pd=Pn("Date",!0);Ze("DDD",["DDDD",3],"DDDo","dayOfYear"),tn("DDD",dr),tn("DDDD",un),Zn(["DDD","DDDD"],function(N,te,Ee){Ee._dayOfYear=mi(N)});function Mu(N){var te=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return N==null?te:this.add(N-te,"d")}Ze("m",["mm",2],0,"minute"),tn("m",Gr,Si),tn("mm",Gr,Lr),Zn(["m","mm"],Kt);var cl=Pn("Minutes",!1);Ze("s",["ss",2],0,"second"),tn("s",Gr,Si),tn("ss",Gr,Lr),Zn(["s","ss"],ar);var Jc=Pn("Seconds",!1);Ze("S",0,0,function(){return~~(this.millisecond()/100)}),Ze(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Ze(0,["SSS",3],0,"millisecond"),Ze(0,["SSSS",4],0,function(){return this.millisecond()*10}),Ze(0,["SSSSS",5],0,function(){return this.millisecond()*100}),Ze(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),Ze(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),Ze(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),Ze(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),tn("S",dr,Mr),tn("SS",dr,Lr),tn("SSS",dr,un);var Wu,gc;for(Wu="SSSS";Wu.length<=9;Wu+="S")tn(Wu,Yt);function vc(N,te){te[Wn]=mi(("0."+N)*1e3)}for(Wu="S";Wu.length<=9;Wu+="S")Zn(Wu,vc);gc=Pn("Milliseconds",!1),Ze("z",0,0,"zoneAbbr"),Ze("zz",0,0,"zoneName");function Go(){return this._isUTC?"UTC":""}function wo(){return this._isUTC?"Coordinated Universal Time":""}var ni=M.prototype;ni.add=Pu,ni.calendar=Jo,ni.clone=Xc,ni.diff=se,ni.endOf=Tu,ni.format=ei,ni.from=As,ni.fromNow=xs,ni.to=ya,ni.toNow=Zo,ni.get=fi,ni.invalidAt=Kn,ni.isAfter=pc,ni.isBefore=Bs,ni.isBetween=Lo,ni.isSame=uo,ni.isSameOrAfter=Oo,ni.isSameOrBefore=Du,ni.isValid=Rr,ni.lang=Qa,ni.locale=fo,ni.localeData=tl,ni.max=bs,ni.min=ra,ni.parsingFlags=On,ni.set=Ti,ni.startOf=Es,ni.subtract=Eo,ni.toArray=St,ni.toObject=Ft,ni.toDate=qe,ni.toISOString=wt,ni.inspect=En,typeof Symbol<"u"&&Symbol.for!=null&&(ni[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ni.toJSON=Jt,ni.toString=ct,ni.unix=Ae,ni.valueOf=Dl,ni.creationData=Bi,ni.eraName=Js,ni.eraNarrow=Ka,ni.eraAbbr=To,ni.eraYear=po,ni.year=Vr,ni.isLeapYear=Or,ni.weekYear=Xl,ni.isoWeekYear=mu,ni.quarter=ni.quarters=qd,ni.month=ha,ni.daysInMonth=Ys,ni.week=ni.weeks=Wi,ni.isoWeek=ni.isoWeeks=qi,ni.weeksInYear=Qc,ni.weeksInWeekYear=Lu,ni.isoWeeksInYear=wu,ni.isoWeeksInISOWeekYear=Rc,ni.date=pd,ni.day=ni.days=Aa,ni.weekday=pa,ni.isoWeekday=Pt,ni.dayOfYear=Mu,ni.hour=ni.hours=pr,ni.minute=ni.minutes=cl,ni.second=ni.seconds=Jc,ni.millisecond=ni.milliseconds=gc,ni.utcOffset=Rn,ni.utc=Yn,ni.local=gi,ni.parseZone=Ni,ni.hasAlignedHourOffset=Ii,ni.isDST=es,ni.isLocal=on,ni.isUtcOffset=kr,ni.isUtc=jn,ni.isUTC=jn,ni.zoneAbbr=Go,ni.zoneName=wo,ni.dates=q("dates accessor is deprecated. Use date instead.",pd),ni.months=q("months accessor is deprecated. Use month instead",ha),ni.years=q("years accessor is deprecated. Use year instead",Vr),ni.zone=q("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Jn),ni.isDSTShifted=q("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ur);function dl(N){return $s(N*1e3)}function gu(){return $s.apply(null,arguments).parseZone()}function Dc(N){return N}var Ba=ye.prototype;Ba.calendar=We,Ba.longDateFormat=Ht,Ba.invalidDate=Fr,Ba.ordinal=Sn,Ba.preparse=Dc,Ba.postformat=Dc,Ba.relativeTime=Et,Ba.pastFuture=st,Ba.set=fe,Ba.eras=ji,Ba.erasParse=Xi,Ba.erasConvertYear=aa,Ba.erasAbbrRegex=Ja,Ba.erasNameRegex=dt,Ba.erasNarrowRegex=La,Ba.months=ka,Ba.monthsShort=Is,Ba.monthsParse=Gs,Ba.monthsRegex=ia,Ba.monthsShortRegex=Ea,Ba.week=Nt,Ba.firstDayOfYear=ci,Ba.firstDayOfWeek=pn,Ba.weekdays=ln,Ba.weekdaysMin=Da,Ba.weekdaysShort=va,Ba.weekdaysParse=Ks,Ba.weekdaysRegex=$t,Ba.weekdaysShortRegex=xr,Ba.weekdaysMinRegex=$r,Ba.isPM=yt,Ba.meridiem=hr;function tu(N,te,Ee,Ne){var ht=Hr(),Ar=T().set(Ne,te);return ht[Ee](Ar,N)}function Za(N,te,Ee){if(g(N)&&(te=N,N=void 0),N=N||"",te!=null)return tu(N,te,Ee,"month");var Ne,ht=[];for(Ne=0;Ne<12;Ne++)ht[Ne]=tu(N,Ne,Ee,"month");return ht}function ku(N,te,Ee,Ne){typeof N=="boolean"?(g(te)&&(Ee=te,te=void 0),te=te||""):(te=N,Ee=te,N=!1,g(te)&&(Ee=te,te=void 0),te=te||"");var ht=Hr(),Ar=N?ht._week.dow:0,An,Vi=[];if(Ee!=null)return tu(te,(Ee+Ar)%7,Ne,"day");for(An=0;An<7;An++)Vi[An]=tu(te,(An+Ar)%7,Ne,"day");return Vi}function Zc(N,te){return Za(N,te,"months")}function qc(N,te){return Za(N,te,"monthsShort")}function yc(N,te,Ee){return ku(N,te,Ee,"weekdays")}function ru(N,te,Ee){return ku(N,te,Ee,"weekdaysShort")}function Ll(N,te,Ee){return ku(N,te,Ee,"weekdaysMin")}Ot("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(N){var te=N%10,Ee=mi(N%100/10)===1?"th":te===1?"st":te===2?"nd":te===3?"rd":"th";return N+Ee}}),r.lang=q("moment.lang is deprecated. Use moment.locale instead.",Ot),r.langData=q("moment.langData is deprecated. Use moment.localeData instead.",Hr);var vo=Math.abs;function Ql(){var N=this._data;return this._milliseconds=vo(this._milliseconds),this._days=vo(this._days),this._months=vo(this._months),N.milliseconds=vo(N.milliseconds),N.seconds=vo(N.seconds),N.minutes=vo(N.minutes),N.hours=vo(N.hours),N.months=vo(N.months),N.years=vo(N.years),this}function Vu(N,te,Ee,Ne){var ht=_i(te,Ee);return N._milliseconds+=Ne*ht._milliseconds,N._days+=Ne*ht._days,N._months+=Ne*ht._months,N._bubble()}function Ml(N,te){return Vu(this,N,te,1)}function ed(N,te){return Vu(this,N,te,-1)}function Gu(N){return N<0?Math.floor(N):Math.ceil(N)}function Jl(){var N=this._milliseconds,te=this._days,Ee=this._months,Ne=this._data,ht,Ar,An,Vi,_s;return N>=0&&te>=0&&Ee>=0||N<=0&&te<=0&&Ee<=0||(N+=Gu(_o(Ee)+te)*864e5,te=0,Ee=0),Ne.milliseconds=N%1e3,ht=Ki(N/1e3),Ne.seconds=ht%60,Ar=Ki(ht/60),Ne.minutes=Ar%60,An=Ki(Ar/60),Ne.hours=An%24,te+=Ki(An/24),_s=Ki(vu(te)),Ee+=_s,te-=Gu(_o(_s)),Vi=Ki(Ee/12),Ee%=12,Ne.days=te,Ne.months=Ee,Ne.years=Vi,this}function vu(N){return N*4800/146097}function _o(N){return N*146097/4800}function Zl(N){if(!this.isValid())return NaN;var te,Ee,Ne=this._milliseconds;if(N=Dr(N),N==="month"||N==="quarter"||N==="year")switch(te=this._days+Ne/864e5,Ee=this._months+vu(te),N){case"month":return Ee;case"quarter":return Ee/3;case"year":return Ee/12}else switch(te=this._days+Math.round(_o(this._months)),N){case"week":return te/7+Ne/6048e5;case"day":return te+Ne/864e5;case"hour":return te*24+Ne/36e5;case"minute":return te*1440+Ne/6e4;case"second":return te*86400+Ne/1e3;case"millisecond":return Math.floor(te*864e5)+Ne;default:throw new Error("Unknown unit "+N)}}function Yo(N){return function(){return this.as(N)}}var Sl=Yo("ms"),Yu=Yo("s"),Ua=Yo("m"),Lc=Yo("h"),md=Yo("d"),Mn=Yo("w"),gd=Yo("M"),ql=Yo("Q"),Mo=Yo("y"),yu=Sl;function ec(){return _i(this)}function nu(N){return N=Dr(N),this.isValid()?this[N+"s"]():NaN}function Ku(N){return function(){return this.isValid()?this._data[N]:NaN}}var tc=Ku("milliseconds"),Ko=Ku("seconds"),bc=Ku("minutes"),Io=Ku("hours"),qa=Ku("days"),Sc=Ku("months"),_u=Ku("years");function Mc(){return Ki(this.days()/7)}var nl=Math.round,xl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function kl(N,te,Ee,Ne,ht){return ht.relativeTime(te||1,!!Ee,N,Ne)}function Nl(N,te,Ee,Ne){var ht=_i(N).abs(),Ar=nl(ht.as("s")),An=nl(ht.as("m")),Vi=nl(ht.as("h")),_s=nl(ht.as("d")),oa=nl(ht.as("M")),yo=nl(ht.as("w")),El=nl(ht.as("y")),Xu=Ar<=Ee.ss&&["s",Ar]||Ar<Ee.s&&["ss",Ar]||An<=1&&["m"]||An<Ee.m&&["mm",An]||Vi<=1&&["h"]||Vi<Ee.h&&["hh",Vi]||_s<=1&&["d"]||_s<Ee.d&&["dd",_s];
705return Ee.w!=null&&(Xu=Xu||yo<=1&&["w"]||yo<Ee.w&&["ww",yo]),Xu=Xu||oa<=1&&["M"]||oa<Ee.M&&["MM",oa]||El<=1&&["y"]||["yy",El],Xu[2]=te,Xu[3]=+N>0,Xu[4]=Ne,kl.apply(null,Xu)}function rc(N){return N===void 0?nl:typeof N=="function"?(nl=N,!0):!1}function fl(N,te){return xl[N]===void 0?!1:te===void 0?xl[N]:(xl[N]=te,N==="s"&&(xl.ss=te-1),!0)}function Fl(N,te){if(!this.isValid())return this.localeData().invalidDate();var Ee=!1,Ne=xl,ht,Ar;return typeof N=="object"&&(te=N,N=!1),typeof N=="boolean"&&(Ee=N),typeof te=="object"&&(Ne=Object.assign({},xl,te),te.s!=null&&te.ss==null&&(Ne.ss=te.s-1)),ht=this.localeData(),Ar=Nl(this,!Ee,Ne,ht),Ee&&(Ar=ht.pastFuture(+this,Ar)),ht.postformat(Ar)}var td=Math.abs;function Bl(N){return(N>0)-(N<0)||+N}function Ul(){if(!this.isValid())return this.localeData().invalidDate();var N=td(this._milliseconds)/1e3,te=td(this._days),Ee=td(this._months),Ne,ht,Ar,An,Vi=this.asSeconds(),_s,oa,yo,El;return Vi?(Ne=Ki(N/60),ht=Ki(Ne/60),N%=60,Ne%=60,Ar=Ki(Ee/12),Ee%=12,An=N?N.toFixed(3).replace(/\.?0+$/,""):"",_s=Vi<0?"-":"",oa=Bl(this._months)!==Bl(Vi)?"-":"",yo=Bl(this._days)!==Bl(Vi)?"-":"",El=Bl(this._milliseconds)!==Bl(Vi)?"-":"",_s+"P"+(Ar?oa+Ar+"Y":"")+(Ee?oa+Ee+"M":"")+(te?yo+te+"D":"")+(ht||Ne||N?"T":"")+(ht?El+ht+"H":"")+(Ne?El+Ne+"M":"")+(N?El+An+"S":"")):"P0D"}var ca=pe.prototype;ca.isValid=z,ca.abs=Ql,ca.add=Ml,ca.subtract=ed,ca.as=Zl,ca.asMilliseconds=Sl,ca.asSeconds=Yu,ca.asMinutes=Ua,ca.asHours=Lc,ca.asDays=md,ca.asWeeks=Mn,ca.asMonths=gd,ca.asQuarters=ql,ca.asYears=Mo,ca.valueOf=yu,ca._bubble=Jl,ca.clone=ec,ca.get=nu,ca.milliseconds=tc,ca.seconds=Ko,ca.minutes=bc,ca.hours=Io,ca.days=qa,ca.weeks=Mc,ca.months=Sc,ca.years=_u,ca.humanize=Fl,ca.toISOString=Ul,ca.toString=Ul,ca.toJSON=Ul,ca.locale=fo,ca.localeData=tl,ca.toIsoString=q("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ul),ca.lang=Qa,Ze("X",0,0,"unix"),Ze("x",0,0,"valueOf"),tn("x",it),tn("X",Cn),Zn("X",function(N,te,Ee){Ee._d=new Date(parseFloat(N)*1e3)}),Zn("x",function(N,te,Ee){Ee._d=new Date(mi(N))});//! moment.js 706return r.version="2.30.1",a($s),r.fn=ni,r.min=Eu,r.max=oo,r.now=ju,r.utc=T,r.unix=dl,r.months=Zc,r.isDate=h,r.locale=Ot,r.invalid=U,r.duration=_i,r.isMoment=W,r.weekdays=yc,r.parseZone=gu,r.localeData=Hr,r.isDuration=Ce,r.monthsShort=qc,r.weekdaysMin=Ll,r.defineLocale=Wt,r.updateLocale=Er,r.locales=mn,r.weekdaysShort=ru,r.normalizeUnits=Dr,r.relativeTimeRounding=rc,r.relativeTimeThreshold=fl,r.calendarFormat=bl,r.prototype=ni,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}))},37963(f,d,e){var n=e(31869).getUint64,r=function(a){var i=new DataView(a.buffer,a.byteOffset,a.byteLength),s={version:a[0],flags:new Uint8Array(a.subarray(1,4)),references:[],referenceId:i.getUint32(4),timescale:i.getUint32(8)},u=12;s.version===0?(s.earliestPresentationTime=i.getUint32(u),s.firstOffset=i.getUint32(u+4),u+=8):(s.earliestPresentationTime=n(a.subarray(u)),s.firstOffset=n(a.subarray(u+8)),u+=16),u+=2;var l=i.getUint16(u);for(u+=2;l>0;u+=12,l--)s.references.push({referenceType:(a[u]&128)>>>7,referencedSize:i.getUint32(u)&2147483647,subsegmentDuration:i.getUint32(u+4),startsWithSap:!!(a[u+8]&128),sapType:(a[u+8]&112)>>>4,sapDeltaTime:i.getUint32(u+8)&268435455});return s};f.exports=r},49773(f){var d=9e4,e,n,r,a,i,s,u;e=function(l){return l*d},n=function(l,m){return l*m},r=function(l){return l/d},a=function(l,m){return l/m},i=function(l,m){return e(a(l,m))},s=function(l,m){return n(r(l),m)},u=function(l,m,g){return r(g?l:l-m)},f.exports={ONE_SECOND_IN_TS:d,secondsToVideoTs:e,secondsToAudioTs:n,videoTsToSeconds:r,audioTsToSeconds:a,audioTsToVideoTs:i,videoTsToAudioTs:s,metadataTsToSeconds:u}},31869(f){var d=Math.pow(2,32),e=function(n){var r=new DataView(n.buffer,n.byteOffset,n.byteLength),a;return r.getBigUint64?(a=r.getBigUint64(0),a<Number.MAX_SAFE_INTEGER?Number(a):a):r.getUint32(0)*d+r.getUint32(4)};f.exports={getUint64:e,MAX_UINT32:d}},11461(f){"use strict";var d=function(n){if(typeof n!="function")throw new TypeError(n+" is not a function");return n},e=function(n){var r=document.createTextNode(""),a,i,s=0;return new n(function(){var u;if(a)i&&(a=i.concat(a));else{if(!i)return;a=i}if(i=a,a=null,typeof i=="function"){u=i,i=null,u();return}for(r.data=s=++s%2;i;)u=i.shift(),i.length||(i=null),u()}).observe(r,{characterData:!0}
vendor: 9,621 bytes, lines 706-707
706),function(u){if(d(u),a){typeof a=="function"?a=[a,u]:a.push(u);return}a=u,r.data=s=++s%2}};f.exports=(function(){if(typeof process=="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(d(n))};if(typeof document=="object"&&document){if(typeof MutationObserver=="function")return e(MutationObserver);if(typeof WebKitMutationObserver=="function")return e(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(d(n))}:typeof setTimeout=="function"||typeof setTimeout=="object"?function(n){setTimeout(d(n),0)}:null})()},52306(f,d,e){var n=typeof Map=="function"&&Map.prototype,r=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=n&&r&&typeof r.get=="function"?r.get:null,i=n&&Map.prototype.forEach,s=typeof Set=="function"&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&u&&typeof u.get=="function"?u.get:null,m=s&&Set.prototype.forEach,g=typeof WeakMap=="function"&&WeakMap.prototype,h=g?WeakMap.prototype.has:null,v=typeof WeakSet=="function"&&WeakSet.prototype,b=v?WeakSet.prototype.has:null,T=typeof WeakRef=="function"&&WeakRef.prototype,E=T?WeakRef.prototype.deref:null,w=Boolean.prototype.valueOf,C=Object.prototype.toString,O=Function.prototype.toString,U=String.prototype.match,D=String.prototype.slice,F=String.prototype.replace,j=String.prototype.toUpperCase,M=String.prototype.toLowerCase,W=RegExp.prototype.test,V=Array.prototype.concat,q=Array.prototype.join,J=Array.prototype.slice,re=Math.floor,he=typeof BigInt=="function"?BigInt.prototype.valueOf:null,fe=Object.getOwnPropertySymbols,ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ye=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ve=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ye||!0)?Symbol.toStringTag:null,Ue=Object.prototype.propertyIsEnumerable,We=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(it){return it.__proto__}:null);function de(it,Mt){if(it===1/0||it===-1/0||it!==it||it&&it>-1e3&&it<1e3||W.call(/e/,Mt))return Mt;var an=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof it=="number"){var Cn=it<0?-re(-it):re(it);if(Cn!==it){var Ln=String(Cn),In=D.call(Mt,Ln.length+1);return F.call(Ln,an,"$&_")+"."+F.call(F.call(In,/([0-9]{3})/g,"$&_"),/_$/,"")}}return F.call(Mt,an,"$&_")}var xe=e(38954),Fe=xe.custom,Xe=Kr(Fe)?Fe:null,Me={__proto__:null,double:'"',single:"'"},Ze={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};f.exports=function it(Mt,an,Cn,Ln){var In=an||{};if(Et(In,"quoteStyle")&&!Et(Me,In.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Et(In,"maxStringLength")&&(typeof In.maxStringLength=="number"?In.maxStringLength<0&&In.maxStringLength!==1/0:In.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Si=Et(In,"customInspect")?In.customInspect:!0;if(typeof Si!="boolean"&&Si!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Et(In,"indent")&&In.indent!==null&&In.indent!==" "&&!(parseInt(In.indent,10)===In.indent&&In.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Et(In,"numericSeparator")&&typeof In.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var $i=In.numericSeparator;if(typeof Mt>"u")return"undefined";if(Mt===null)return"null";if(typeof Mt=="boolean")return Mt?"true":"false";if(typeof Mt=="string")return hn(Mt,In);if(typeof Mt=="number"){if(Mt===0)return 1/0/Mt>0?"0":"-0";var tn=String(Mt);return $i?de(Mt,tn):tn}if(typeof Mt=="bigint"){var Hi=String(Mt)+"n";return $i?de(Mt,Hi):Hi}var Ji=typeof In.depth>"u"?5:In.depth;if(typeof Cn>"u"&&(Cn=0),Cn>=Ji&&Ji>0&&typeof Mt=="object")return Xt(Mt)?"[Array]":"[Object]";var Yi=Y(In,Cn);if(typeof Ln>"u")Ln=[];else if(Dr(Ln,Mt)>=0)return"[Circular]";function Ki(Vr,Or,Pn){if(Or&&(Ln=J.call(Ln),Ln.push(Or)),Pn){var zr={depth:In.depth};return Et(In,"quoteStyle")&&(zr.quoteStyle=In.quoteStyle),it(Vr,zr,Cn+1,Ln)}return it(Vr,In,Cn+1,Ln)}if(typeof Mt=="function"&&!Lt(Mt)){var mi=Wr(Mt),ws=Yt(Mt,Ki);return"[Function"+(mi?": "+mi:" (anonymous)")+"]"+(ws.length>0?" { "+q.call(ws,", ")+" }":"")}if(Kr(Mt)){var Zn=ye?F.call(String(Mt),/^(Symbol\(.*\))_[^)]*$/,"$1"):ae.call(Mt);return typeof Mt=="object"&&!ye?Gr(Zn):Zn}if(un(Mt)){for(var fs="<"+M.call(String(Mt.nodeName)),cs=Mt.attributes||[],vs=0;vs<cs.length;vs++)fs+=" "+cs[vs].name+"="+rt(mt(cs[vs].value),"double",In);return fs+=">",Mt.childNodes&&Mt.childNodes.length&&(fs+="..."),fs+="</"+M.call(String(Mt.nodeName))+">",fs}if(Xt(Mt)){if(Mt.length===0)return"[]";var wr=Yt(Mt,Ki);return Yi&&!dr(wr)?"["+ot(wr,Yi)+"]":"[ "+q.call(wr,", ")+" ]"}if(Ht(Mt)){var we=Yt(Mt,Ki);return!("cause"in Error.prototype)&&"cause"in Mt&&!Ue.call(Mt,"cause")?"{ ["+String(Mt)+"] "+q.call(V.call("[cause]: "+Ki(Mt.cause),we),", ")+" }":we.length===0?"["+String(Mt)+"]":"{ ["+String(Mt)+"] "+q.call(we,", ")+" }"}if(typeof Mt=="object"&&Si){if(Xe&&typeof Mt[Xe]=="function"&&xe)return xe(Mt,{depth:Ji-Cn});if(Si!=="symbol"&&typeof Mt.inspect=="function")return Mt.inspect()}if(Tr(Mt)){var Ke=[];return i&&i.call(Mt,function(Vr,Or){Ke.push(Ki(Or,Mt,!0)+" => "+Ki(Vr,Mt))}),At("Map",a.call(Mt),Ke,Yi)}if(Mr(Mt)){var ut=[];return m&&m.call(Mt,function(Vr){ut.push(Ki(Vr,Mt))}),At("Set",l.call(Mt),ut,Yi)}if(gr(Mt))return er("WeakMap");if(Lr(Mt))return er("WeakSet");if(ir(Mt))return er("WeakRef");if(Fr(Mt))return Gr(Ki(Number(Mt)));if(Sn(Mt))return Gr(Ki(he.call(Mt)));if(fn(Mt))return Gr(w.call(Mt));if(vr(Mt))return Gr(Ki(String(Mt)));if(typeof window<"u"&&Mt===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Mt===globalThis||typeof globalThis<"u"&&Mt===globalThis)return"{ [object globalThis] }";if(!jt(Mt)&&!Lt(Mt)){var Kt=Yt(Mt,Ki),ar=We?We(Mt)===Object.prototype:Mt instanceof Object||Mt.constructor===Object,Wn=Mt instanceof Object?"":"null prototype",hi=!ar&&ve&&Object(Mt)===Mt&&ve in Mt?D.call(st(Mt),8,-1):Wn?"Object":"",Tt=ar||typeof Mt.constructor!="function"?"":Mt.constructor.name?Mt.constructor.name+" ":"",qr=Tt+(hi||Wn?"["+q.call(V.call([],hi||[],Wn||[]),": ")+"] ":"");return Kt.length===0?qr+"{}":Yi?qr+"{"+ot(Kt,Yi)+"}":qr+"{ "+q.call(Kt,", ")+" }"}return String(Mt)};function rt(it,Mt,an){var Cn=an.quoteStyle||Mt,Ln=Me[Cn];return Ln+it+Ln}function mt(it){return F.call(String(it),/"/g,""")}function Xt(it){return st(it)==="[object Array]"&&(!ve||!(typeof it=="object"&&ve in it))}function jt(it){return st(it)==="[object Date]"&&(!ve||!(typeof it=="object"&&ve in it))}function Lt(it){return st(it)==="[object RegExp]"&&(!ve||!(typeof it=="object"&&ve in it))}function Ht(it){return st(it)==="[object Error]"&&(!ve||!(typeof it=="object"&&ve in it))}function vr(it){return st(it)==="[object String]"&&(!ve||!(typeof it=="object"&&ve in it))}function Fr(it){return st(it)==="[object Number]"&&(!ve||!(typeof it=="object"&&ve in it))}function fn(it){return st(it)==="[object Boolean]"&&(!ve||!(typeof it=="object"&&ve in it))}function Kr(it){if(ye)return it&&typeof it=="object"&&it instanceof Symbol;if(typeof it=="symbol")return!0;if(!it||typeof it!="object"||!ae)return!1;try{return ae.call(it),!0}catch{}return!1}function Sn(it){if(!it||typeof it!="object"||!he)return!1;try{return he.call(it),!0}catch{}return!1}var Fn=Object.prototype.hasOwnProperty||function(it){return it in this};function Et(it,Mt){return Fn.call(it,Mt)}function st(it){return C.call(it)}function Wr(it){if(it.name)return it.name;var Mt=U.call(O.call(it),/^function\s*([\w$]+)/);return Mt?Mt[1]:null}function Dr(it,Mt){if(it.indexOf)return it.indexOf(Mt);for(var an=0,Cn=it.length;an<Cn;an++)if(it[an]===Mt)return an;return-1}function Tr(it){if(!a||!it||typeof it!="object")return!1;try{a.call(it);try{l.call(it)}catch{return!0}return it instanceof Map}catch{}return!1}function gr(it){if(!h||!it||typeof it!="object")return!1;try{h.call(it,h);try{b.call(it,b)}catch{return!0}return it instanceof WeakMap}catch{}return!1}function ir(it){if(!E||!it||typeof it!="object")return!1;try{return E.call(it),!0}catch{}return!1}function Mr(it){if(!l||!it||typeof it!="object")return!1;try{l.call(it);try{a.call(it)}catch{return!0}return it instanceof Set}catch{}return!1}function Lr(it){if(!b||!it||typeof it!="object")return!1;try{b.call(it,b);try{h.call(it,h)}catch{return!0}return it instanceof WeakSet}catch{}return!1}function un(it){return!it||typeof it!="object"?!1:typeof HTMLElement<"u"&&it instanceof HTMLElement?!0:typeof it.nodeName=="string"&&typeof it.getAttribute=="function"}function hn(it,Mt){if(it.length>Mt.maxStringLength){var an=it.length-Mt.maxStringLength,Cn="... "+an+" more character"+(an>1?"s":"");return hn(D.call(it,0,Mt.maxStringLength),Mt)+Cn}var Ln=Ze[Mt.quoteStyle||"single"];Ln.lastIndex=0;var In=F.call(F.call(it,Ln,"\\$1"),/[\x00-\x1f]/g,rr);return rt(In,"single",Mt)}function rr(it){var Mt=it.charCodeAt(0),an={8:"b",9:"t",10:"n",12:"f",13:"r"}[Mt];return an?"\\"+an:"\\x"+(Mt<16?"0":"")+j.call(Mt.toString(16))}function Gr(it){return"Object("+it+")"}function er(it){return it+" { ? }"}function At(it,Mt,an,Cn){var Ln=Cn?ot(an,Cn):q.call(an,", ");return it+" ("+Mt+") {"+Ln+"}"}function dr(it){for(var Mt=0;Mt<it.length;Mt++)if(Dr(it[Mt],` 707`)>=0)return!1;return!0}function Y(it,Mt){var an;
707if(it.indent===" ")an=" ";else if(typeof it.indent=="number"&&it.indent>0)an=q.call(Array(it.indent+1)," ");else return null;return{base:an,prev:q.call(Array(Mt+1),an)}}function ot(it,Mt){if(it.length===0)return"";var an=` 708`+Mt.prev+Mt.base;return an+q.call(it,","+an)+` 709`+Mt.prev}function Yt(it,Mt){var an=Xt(it),Cn=[];if(an){Cn.length=it.length;for(var Ln=0;Ln<it.length;Ln++)Cn[Ln]=Et(it,Ln)?Mt(it[Ln],it):""}var In=typeof fe=="function"?fe(it):[],Si;if(ye){Si={};for(var $i=0;$i<In.length;$i++)Si["$"+In[$i]]=In[$i]}for(var tn in it)Et(it,tn)&&(an&&String(Number(tn))===tn&&tn<it.length||ye&&Si["$"+tn]instanceof Symbol||(W.call(/[^\w$]/,tn)?Cn.push(Mt(tn,it)+": "+Mt(it[tn],it)):Cn.push(tn+": "+Mt(it[tn],it))));if(typeof fe=="function")for(var Hi=0;Hi<In.length;Hi++)Ue.call(it,In[Hi])&&Cn.push("["+Mt(In[Hi])+"]: "+Mt(it[In[Hi]],it));return Cn}},66560(f,d,e){var n;/*! Player.js - v0.1.0 - 2017-10-24 710* http://github.com/embedly/player.js 711* Copyright (c) 2017 Embedly; Licensed BSD */(function(r,a){var i={};i.DEBUG=!1,i.VERSION="0.0.11",i.CONTEXT="player.js",i.POST_MESSAGE=!!r.postMessage,i.origin=function(g){return g.substr(0,2)==="//"&&(g=r.location.protocol+g),g.split("/").slice(0,3).join("/")},i.addEvent=function(g,h,v){g&&(g.addEventListener?g.addEventListener(h,v,!1):g.attachEvent?g.attachEvent("on"+h,v):g["on"+h]=v)},i.log=function(){i.log.history=i.log.history||[],i.log.history.push(arguments),r.console&&i.DEBUG&&r.console.log(Array.prototype.slice.call(arguments))},i.isString=function(g){return Object.prototype.toString.call(g)==="[object String]"},i.isObject=function(g){return Object.prototype.toString.call(g)==="[object Object]"},i.isArray=function(g){return Object.prototype.toString.call(g)==="[object Array]"},i.isNone=function(g){return g==null},i.has=function(g,h){return Object.prototype.hasOwnProperty.call(g,h)},i.indexOf=function(g,h){if(g==null)return-1;var v=0,b=g.length;if(Array.prototype.IndexOf&&g.indexOf===Array.prototype.IndexOf)return g.indexOf(h);for(;v<b;v++)if(g[v]===h)return v;return-1},i.assert=function(g,h){if(!g)throw h||"Player.js Assert Failed"},i.Keeper=function(){this.init()},i.Keeper.prototype.init=function(){this.data={}},i.Keeper.prototype.getUUID=function(){return"listener-xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(g){var h=Math.random()*16|0,v=g==="x"?h:h&3|8;return v.toString(16)})},i.Keeper.prototype.has=function(g,h){if(!this.data.hasOwnProperty(g))return!1;if(i.isNone(h))return!0;for(var v=this.data[g],b=0;b<v.length;b++)if(v[b].id===h)return!0;return!1},i.Keeper.prototype.add=function(g,h,v,b,T){var E={id:g,event:h,cb:v,ctx:b,one:T};this.has(h)?this.data[h].push(E):this.data[h]=[E]},i.Keeper.prototype.execute=function(g,h,v,b){if(!this.has(g,h))return!1;for(var T=[],E=[],w=0;w<this.data[g].length;w++){var C=this.data[g][w];i.isNone(h)||!i.isNone(h)&&C.id===h?(E.push({cb:C.cb,ctx:C.ctx?C.ctx:b,data:v}),C.one===!1&&T.push(C)):T.push(C)}T.length===0?delete this.data[g]:this.data[g]=T;for(var O=0;O<E.length;O++){var U=E[O];U.cb.call(U.ctx,U.data)}},i.Keeper.prototype.on=function(g,h,v,b){this.add(g,h,v,b,!1)},i.Keeper.prototype.one=function(g,h,v,b){this.add(g,h,v,b,!0)},i.Keeper.prototype.off=function(g,h){var v=[];if(!this.data.hasOwnProperty(g))return v;for(var b=[],T=0;T<this.data[g].length;T++){var E=this.data[g][T];!i.isNone(h)&&E.cb!==h?b.push(E):i.isNone(E.id)||v.push(E.id)}return b.length===0?delete this.data[g]:this.data[g]=b,v},i.Player=function(g,h){if(!(this instanceof i.Player))return new i.Player(g,h);this.init(g,h)},i.EVENTS={READY:"ready",PLAY:"play",PAUSE:"pause",ENDED:"ended",TIMEUPDATE:"timeupdate",PROGRESS:"progress",ERROR:"error"},i.EVENTS.all=function(){var g=[];for(var h in i.EVENTS)i.has(i.EVENTS,h)&&i.isString(i.EVENTS[h])&&g.push(i.EVENTS[h]);return g},i.METHODS={PLAY:"play",PAUSE:"pause",GETPAUSED:"getPaused",MUTE:"mute",UNMUTE:"unmute",GETMUTED:"getMuted",SETVOLUME:"setVolume",GETVOLUME:"getVolume",GETDURATION:"getDuration",SETCURRENTTIME:"setCurrentTime",GETCURRENTTIME:"getCurrentTime",SETLOOP:"setLoop",GETLOOP:"getLoop",REMOVEEVENTLISTENER:"removeEventListener",ADDEVENTLISTENER:"addEventListener"},i.METHODS.all=function(){var g=[];for(var h in i.METHODS)i.has(i.METHODS,h)&&i.isString(i.METHODS[h])&&g.push(i.METHODS[h]);return g},i.READIED=[],i.Player.prototype.init=function(g,h){var v=this;i.isString(g)&&(g=a.getElementById(g)),this.elem=g,i.assert(g.nodeName==="IFRAME",'playerjs.Player constructor requires an Iframe, got "'+g.no
711deName+'"'),i.assert(g.src,"playerjs.Player constructor requires a Iframe with a 'src' attribute."),this.origin=i.origin(g.src),this.keeper=new i.Keeper,this.isReady=!1,this.queue=[],this.events=i.EVENTS.all(),this.methods=i.METHODS.all(),i.POST_MESSAGE?i.addEvent(r,"message",function(b){v.receive(b)}):i.log("Post Message is not Available."),i.indexOf(i.READIED,g.src)>-1?v.loaded=!0:this.elem.onload=function(){v.loaded=!0}},i.Player.prototype.send=function(g,h,v){if(g.context=i.CONTEXT,g.version=i.VERSION,h){var b=this.keeper.getUUID();g.listener=b,this.keeper.one(b,g.method,h,v)}return!this.isReady&&g.value!=="ready"?(i.log("Player.queue",g),this.queue.push(g),!1):(i.log("Player.send",g,this.origin),this.loaded===!0&&this.elem.contentWindow.postMessage(JSON.stringify(g),this.origin),!0)},i.Player.prototype.receive=function(g){if(i.log("Player.receive",g),g.origin!==this.origin)return!1;var h;try{h=JSON.parse(g.data)}catch{return!1}if(h.context!==i.CONTEXT)return!1;h.event==="ready"&&h.value&&h.value.src===this.elem.src&&this.ready(h),this.keeper.has(h.event,h.listener)&&this.keeper.execute(h.event,h.listener,h.value,this)},i.Player.prototype.ready=function(g){if(this.isReady===!0)return!1;g.value.events&&(this.events=g.value.events),g.value.methods&&(this.methods=g.value.methods),this.isReady=!0,this.loaded=!0;for(var h=0;h<this.queue.length;h++){var v=this.queue[h];i.log("Player.dequeue",v),g.event==="ready"&&this.keeper.execute(v.event,v.listener,!0,this),this.send(v)}this.queue=[]},i.Player.prototype.on=function(g,h,v){var b=this.keeper.getUUID();return g==="ready"?this.keeper.one(b,g,h,v):this.keeper.on(b,g,h,v),this.send({method:"addEventListener",value:g,listener:b}),!0},i.Player.prototype.off=function(g,h){var v=this.keeper.off(g,h);if(i.log("Player.off",v),v.length>0)for(var b in v)return this.send({method:"removeEventListener",value:g,listener:v[b]}),!0;return!1},i.Player.prototype.supports=function(g,h){i.assert(i.indexOf(["method","event"],g)>-1,'evtOrMethod needs to be either "event" or "method" got '+g),h=i.isArray(h)?h:[h];for(var v=g==="event"?this.events:this.methods,b=0;b<h.length;b++)if(i.indexOf(v,h[b])===-1)return!1;return!0};function s(g){return function(){var h={method:g},v=Array.prototype.slice.call(arguments);/^get/.test(g)?(i.assert(v.length>0,"Get methods require a callback."),v.unshift(h)):(/^set/.test(g)&&(i.assert(v.length!==0,"Set methods require a value."),h.value=v[0]),v=[h]),this.send.apply(this,v)}}for(var u=0,l=i.METHODS.all().length;u<l;u++){var m=i.METHODS.all()[u];i.Player.prototype.hasOwnProperty(m)||(i.Player.prototype[m]=s(m))}i.addEvent(r,"message",function(g){var h;try{h=JSON.parse(g.data)}catch{return!1}if(h.context!==i.CONTEXT)return!1;h.event==="ready"&&h.value&&h.value.src&&i.READIED.push(h.value.src)}),i.Receiver=function(g,h){this.init(g,h)},i.Receiver.prototype.init=function(g,h){var v=this;this.isReady=!1,this.origin=i.origin(a.referrer),this.methods={},this.supported={events:g||i.EVENTS.all(),methods:h||i.METHODS.all()},this.eventListeners={},this.reject=!(r.self!==r.top&&i.POST_MESSAGE),this.reject||i.addEvent(r,"message",function(b){v.receive(b)})},i.Receiver.prototype.receive=function(g){if(g.origin!==this.origin)return!1;var h={};if(i.isObject(g.data))h=g.data;else try{h=r.JSON.parse(g.data)}catch(T){i.log("JSON Parse Error",T)}if(i.log("Receiver.receive",g,h),!h.method||h.context!==i.CONTEXT)return!1;if(i.indexOf(i.METHODS.all(),h.method)===-1)return this.emit("error",{code:2,msg:'Invalid Method "'+h.method+'"'}),!1;var v=i.isNone(h.listener)?null:h.listener;if(h.method==="addEventListener")this.eventListeners.hasOwnProperty(h.value)?i.indexOf(this.eventListeners[h.value],v)===-1&&this.eventListeners[h.value].push(v):this.eventListeners[h.value]=[v],h.value==="ready"&&this.isReady&&this.ready();else if(h.method==="removeEventListener"){if(this.eventListeners.hasOwnProperty(h.value)){var b=i.indexOf(this.eventListeners[h.value],v);b>-1&&this.eventListeners[h.value].splice(b,1),this.eventListeners[h.value].length===0&&delete this.eventListeners[h.value]}}else this.get(h.method,h.value,v)},i.Receiver.prototype.get=function(g,h,v){var b=this;
vendor: 4,123 bytes, line 711
711if(!this.methods.hasOwnProperty(g))return this.emit("error",{code:3,msg:'Method Not Supported"'+g+'"'}),!1;var T=this.methods[g];if(g.substr(0,3)==="get"){var E=function(w){b.send(g,w,v)};T.call(this,E)}else T.call(this,h)},i.Receiver.prototype.on=function(g,h){this.methods[g]=h},i.Receiver.prototype.send=function(g,h,v){if(i.log("Receiver.send",g,h,v),this.reject)return i.log("Receiver.send.reject",g,h,v),!1;var b={context:i.CONTEXT,version:i.VERSION,event:g};i.isNone(h)||(b.value=h),i.isNone(v)||(b.listener=v);var T=JSON.stringify(b);r.parent.postMessage(T,this.origin===""?"*":this.origin)},i.Receiver.prototype.emit=function(g,h){if(!this.eventListeners.hasOwnProperty(g))return!1;i.log("Instance.emit",g,h,this.eventListeners[g]);for(var v=0;v<this.eventListeners[g].length;v++){var b=this.eventListeners[g][v];this.send(g,h,b)}return!0},i.Receiver.prototype.ready=function(){i.log("Receiver.ready"),this.isReady=!0;var g={src:r.location.toString(),events:this.supported.events,methods:this.supported.methods};this.emit("ready",g)||this.send("ready",g)},i.HTML5Adapter=function(g){if(!(this instanceof i.HTML5Adapter))return new i.HTML5Adapter(g);this.init(g)},i.HTML5Adapter.prototype.init=function(g){i.assert(g,"playerjs.HTML5Adapter requires a video element");var h=this.receiver=new i.Receiver;g.addEventListener("playing",function(){h.emit("play")}),g.addEventListener("pause",function(){h.emit("pause")}),g.addEventListener("ended",function(){h.emit("ended")}),g.addEventListener("timeupdate",function(){h.emit("timeupdate",{seconds:g.currentTime,duration:g.duration})}),g.addEventListener("progress",function(){h.emit("buffered",{percent:g.buffered.length})}),h.on("play",function(){g.play()}),h.on("pause",function(){g.pause()}),h.on("getPaused",function(v){v(g.paused)}),h.on("getCurrentTime",function(v){v(g.currentTime)}),h.on("setCurrentTime",function(v){g.currentTime=v}),h.on("getDuration",function(v){v(g.duration)}),h.on("getVolume",function(v){v(g.volume*100)}),h.on("setVolume",function(v){g.volume=v/100}),h.on("mute",function(){g.muted=!0}),h.on("unmute",function(){g.muted=!1}),h.on("getMuted",function(v){v(g.muted)}),h.on("getLoop",function(v){v(g.loop)}),h.on("setLoop",function(v){g.loop=v})},i.HTML5Adapter.prototype.ready=function(){this.receiver.ready()},i.JWPlayerAdapter=function(g){if(!(this instanceof i.JWPlayerAdapter))return new i.JWPlayerAdapter(g);this.init(g)},i.JWPlayerAdapter.prototype.init=function(g){i.assert(g,"playerjs.JWPlayerAdapter requires a player object");var h=this.receiver=new i.Receiver;this.looped=!1,g.on("pause",function(){h.emit("pause")}),g.on("play",function(){h.emit("play")}),g.on("time",function(b){var T=b.position,E=b.duration;if(!T||!E)return!1;var w={seconds:T,duration:E};h.emit("timeupdate",w)});var v=this;g.on("complete",function(){v.looped===!0?g.seek(0):h.emit("ended")}),g.on("error",function(){h.emit("error")}),h.on("play",function(){g.play(!0)}),h.on("pause",function(){g.pause(!0)}),h.on("getPaused",function(b){b(g.getState().toLowerCase()!=="PLAYING".toLowerCase())}),h.on("getCurrentTime",function(b){b(g.getPosition())}),h.on("setCurrentTime",function(b){g.seek(b)}),h.on("getDuration",function(b){b(g.getDuration())}),h.on("getVolume",function(b){b(g.getVolume())}),h.on("setVolume",function(b){g.setVolume(b)}),h.on("mute",function(){g.setMute(!0)}),h.on("unmute",function(){g.setMute(!1)}),h.on("getMuted",function(b){b(g.getMute()===!0)}),h.on("getLoop",function(b){b(this.looped)},this),h.on("setLoop",function(b){this.looped=b},this)},i.JWPlayerAdapter.prototype.ready=function(){this.receiver.ready()},i.MockAdapter=function(){if(!(this instanceof i.MockAdapter))return new i.MockAdapter;this.init()},i.MockAdapter.prototype.init=function(){var g={duration:20,currentTime:0,interval:null,timeupdate:function(){},volume:100,mute:!1,playing:!1,loop:!1,play:function(){g.interval=setInterval(function(){g.currentTime+=.25,g.timeupdate({seconds:g.currentTime,duration:g.duration})},250),g.playing=!0},pause:function(){clearInterval(g.interval),g.playing=!1}},h=this.receiver=new i.Receiver;h.on("play",function(){var v=this;
711g.play(),this.emit("play"),g.timeupdate=function(b){v.emit("timeupdate",b)}}),h.on("pause",function(){g.pause(),this.emit("pause")}),h.on("getPaused",function(v){v(!g.playing)}),h.on("getCurrentTime",function(v){v(g.currentTime)}),h.on("setCurrentTime",function(v){g.currentTime=v}),h.on("getDuration",function(v){v(g.duration)}),h.on("getVolume",function(v){v(g.volume)}),h.on("setVolume",function(v){g.volume=v}),h.on("mute",function(){g.mute=!0}),h.on("unmute",function(){g.mute=!1}),h.on("getMuted",function(v){v(g.mute)}),h.on("getLoop",function(v){v(g.loop)}),h.on("setLoop",function(v){g.loop=v})},i.MockAdapter.prototype.ready=function(){this.receiver.ready()},i.VideoJSAdapter=function(g){if(!(this instanceof i.VideoJSAdapter))return new i.VideoJSAdapter(g);this.init(g)},i.VideoJSAdapter.prototype.init=function(g){i.assert(g,"playerjs.VideoJSReceiver requires a player object");var h=this.receiver=new i.Receiver;g.on("pause",function(){h.emit("pause")}),g.on("play",function(){h.emit("play")}),g.on("timeupdate",function(v){var b=g.currentTime(),T=g.duration();if(!b||!T)return!1;var E={seconds:b,duration:T};h.emit("timeupdate",E)}),g.on("ended",function(){h.emit("ended")}),g.on("error",function(){h.emit("error")}),h.on("play",function(){g.play()}),h.on("pause",function(){g.pause()}),h.on("getPaused",function(v){v(g.paused())}),h.on("getCurrentTime",function(v){v(g.currentTime())}),h.on("setCurrentTime",function(v){g.currentTime(v)}),h.on("getDuration",function(v){v(g.duration())}),h.on("getVolume",function(v){v(g.volume()*100)}),h.on("setVolume",function(v){g.volume(v/100)}),h.on("mute",function(){g.volume(0)}),h.on("unmute",function(){g.volume(1)}),h.on("getMuted",function(v){v(g.volume()===0)}),h.on("getLoop",function(v){v(g.loop())}),h.on("setLoop",function(v){g.loop(v)})},i.VideoJSAdapter.prototype.ready=function(){this.receiver.ready()},n=(function(){return i}).call(d,e,d,f),n!==void 0&&(f.exports=n)})(window,document)},17796(f,d,e){"use strict";var n=e(40115);function r(){}function a(){}a.resetWarningCache=r,f.exports=function(){function i(l,m,g,h,v,b){if(b!==n){var T=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw T.name="Invariant Violation",T}}i.isRequired=i;function s(){return i}var u={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:s,element:i,elementType:i,instanceOf:s,node:i,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:a,resetWarningCache:r};return u.PropTypes=u,u}},30994(f,d,e){if(0)var n,r;else f.exports=e(17796)()},40115(f){"use strict";var d="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";f.exports=d},5323(f){"use strict";var d=String.prototype.replace,e=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};f.exports={default:n.RFC3986,formatters:{RFC1738:function(r){return d.call(r,e,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},39919(f,d,e){"use strict";var n=e(41590),r=e(90584),a=e(5323);f.exports={formats:a,parse:r,stringify:n}},90584(f,d,e){"use strict";var n=e(81354),r=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},s=function(T){return T.replace(/&#(\d+);/g,function(E,w){return String.fromCharCode(parseInt(w,10))})},u=function(T,E){return T&&typeof T=="string"&&E.comma&&T.indexOf(",")>-1?T.split(","):T},l="utf8=%26%2310003%3B",m="utf8=%E2%9C%93",g=function(E,w){var C={__proto__:null},O=w.ignoreQueryPrefix?E.replace(/^\?/,""):E;O=O.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var U=w.parameterLimit===1/0?void 0:w.parameterLimit,D=O.split(w.delimiter,U),F=-1,j,M=w.charset;if(w.charsetSentinel)for(j=0;j<D.length;++j)D[j].indexOf("utf8=")===0&&(D[j]===m?M="utf-8":D[j]===l&&(M="iso-8859-1"),F=j,j=D.length);for(j=0;j<D.length;++j)if(j!==F){var W=D[j],V=W.indexOf("]="),q=V===-1?W.indexOf("="):V+1,J,re;q===-1?(J=w.decoder(W,i.decoder,M,"key"),re=w.strictNullHandling?null:""):(J=w.decoder(W.slice(0,q),i.decoder,M,"key"),re=n.maybeMap(u(W.slice(q+1),w),function(fe){return w.decoder(fe,i.decoder,M,"value")})),re&&w.interpretNumericEntities&&M==="iso-8859-1"&&(re=s(re)),W.indexOf("[]=")>-1&&(re=a(re)?[re]:re);var he=r.call(C,J);he&&w.duplicates==="combine"?C[J]=n.combine(C[J],re):(!he||w.duplicates==="last")&&(C[J]=re)}return C},h=function(T,E,w,C){for(var O=C?E:u(E,w),U=T.length-1;U>=0;--U){var D,F=T[U];if(F==="[]"&&w.parseArrays)D=w.allowEmptyArrays&&(O===""||w.strictNullHandling&&O===null)?[]:[].concat(O);else{D=w.plainObjects?Object.create(null):{};var j=F.charAt(0)==="["&&F.charAt(F.length-1)==="]"?F.slice(1,-1):F,M=w.decodeDotInKeys?j.replace(/%2E/g,"."):j,W=parseInt(M,10);!w.parseArrays&&M===""?D={0:O}:!isNaN(W)&&F!==M&&String(W)===M&&W>=0&&w.parseArrays&&W<=w.arrayLimit?(D=[],D[W]=O):M!=="__proto__"&&(D[M]=O)}O=D}return O},v=function(E,w,C,O){if(E){var U=C.allowDots?E.replace(/\.([^.[]+)/g,"[$1]"):E,D=/(\[[^[\]]*])/,F=/(\[[^[\]]*])/g,j=C.depth>0&&D.exec(U),M=j?U.slice(0,j.index):U,W=[];if(M){if(!C.plainObjects&&r.call(Object.prototype,M)&&!C.allowPrototypes)return;W.push(M)}for(var V=0;C.depth>
vendor: 8,735 bytes, line 711
7110&&(j=F.exec(U))!==null&&V<C.depth;){if(V+=1,!C.plainObjects&&r.call(Object.prototype,j[1].slice(1,-1))&&!C.allowPrototypes)return;W.push(j[1])}if(j){if(C.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+C.depth+" and strictDepth is true");W.push("["+U.slice(j.index)+"]")}return h(W,w,C,O)}},b=function(E){if(!E)return i;if(typeof E.allowEmptyArrays<"u"&&typeof E.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof E.decodeDotInKeys<"u"&&typeof E.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(E.decoder!==null&&typeof E.decoder<"u"&&typeof E.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof E.charset<"u"&&E.charset!=="utf-8"&&E.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var w=typeof E.charset>"u"?i.charset:E.charset,C=typeof E.duplicates>"u"?i.duplicates:E.duplicates;if(C!=="combine"&&C!=="first"&&C!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var O=typeof E.allowDots>"u"?E.decodeDotInKeys===!0?!0:i.allowDots:!!E.allowDots;return{allowDots:O,allowEmptyArrays:typeof E.allowEmptyArrays=="boolean"?!!E.allowEmptyArrays:i.allowEmptyArrays,allowPrototypes:typeof E.allowPrototypes=="boolean"?E.allowPrototypes:i.allowPrototypes,allowSparse:typeof E.allowSparse=="boolean"?E.allowSparse:i.allowSparse,arrayLimit:typeof E.arrayLimit=="number"?E.arrayLimit:i.arrayLimit,charset:w,charsetSentinel:typeof E.charsetSentinel=="boolean"?E.charsetSentinel:i.charsetSentinel,comma:typeof E.comma=="boolean"?E.comma:i.comma,decodeDotInKeys:typeof E.decodeDotInKeys=="boolean"?E.decodeDotInKeys:i.decodeDotInKeys,decoder:typeof E.decoder=="function"?E.decoder:i.decoder,delimiter:typeof E.delimiter=="string"||n.isRegExp(E.delimiter)?E.delimiter:i.delimiter,depth:typeof E.depth=="number"||E.depth===!1?+E.depth:i.depth,duplicates:C,ignoreQueryPrefix:E.ignoreQueryPrefix===!0,interpretNumericEntities:typeof E.interpretNumericEntities=="boolean"?E.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:typeof E.parameterLimit=="number"?E.parameterLimit:i.parameterLimit,parseArrays:E.parseArrays!==!1,plainObjects:typeof E.plainObjects=="boolean"?E.plainObjects:i.plainObjects,strictDepth:typeof E.strictDepth=="boolean"?!!E.strictDepth:i.strictDepth,strictNullHandling:typeof E.strictNullHandling=="boolean"?E.strictNullHandling:i.strictNullHandling}};f.exports=function(T,E){var w=b(E);if(T===""||T===null||typeof T>"u")return w.plainObjects?Object.create(null):{};for(var C=typeof T=="string"?g(T,w):T,O=w.plainObjects?Object.create(null):{},U=Object.keys(C),D=0;D<U.length;++D){var F=U[D],j=v(F,C[F],w,typeof T=="string");O=n.merge(O,j,w)}return w.allowSparse===!0?O:n.compact(O)}},41590(f,d,e){"use strict";var n=e(1555),r=e(81354),a=e(5323),i=Object.prototype.hasOwnProperty,s={brackets:function(O){return O+"[]"},comma:"comma",indices:function(O,U){return O+"["+U+"]"},repeat:function(O){return O}},u=Array.isArray,l=Array.prototype.push,m=function(C,O){l.apply(C,u(O)?O:[O])},g=Date.prototype.toISOString,h=a.default,v={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,format:h,formatter:a.formatters[h],indices:!1,serializeDate:function(O){return g.call(O)},skipNulls:!1,strictNullHandling:!1},b=function(O){return typeof O=="string"||typeof O=="number"||typeof O=="boolean"||typeof O=="symbol"||typeof O=="bigint"},T={},E=function C(O,U,D,F,j,M,W,V,q,J,re,he,fe,ae,ye,ve,Ue,We){for(var de=O,xe=We,Fe=0,Xe=!1;(xe=xe.get(T))!==void 0&&!Xe;){var Me=xe.get(O);if(Fe+=1,typeof Me<"u"){if(Me===Fe)throw new RangeError("Cyclic object value");Xe=!0}typeof xe.get(T)>"u"&&(Fe=0)}if(typeof J=="function"?de=J(U,de):de instanceof Date?de=fe(de):D==="comma"&&u(de)&&(de=r.maybeMap(de,function(Fn){return Fn instanceof Date?fe(Fn):Fn})),de===null){if(M)return q&&!ve?q(U,v.encoder,Ue,"key",ae):U;de=""}if(b(de)||r.isBuffer(de)){if(q){var Ze=ve?U:q(U,v.encoder,Ue,"key",ae);return[ye(Ze)+"="+ye(q(de,v.encoder,Ue,"value",ae))]}return[ye(U)+"="+ye(String(de))]}var rt=[];if(typeof de>"u")return rt;var mt;if(D==="comma"&&u(de))ve&&q&&(de=r.maybeMap(de,q)),mt=[{value:de.length>0?de.join(",")||null:void 0}];else if(u(J))mt=J;else{var Xt=Object.keys(de);mt=re?Xt.sort(re):Xt}var jt=V?U.replace(/\./g,"%2E"):U,Lt=F&&u(de)&&de.length===1?jt+"[]":jt;if(j&&u(de)&&de.length===0)return Lt+"[]";for(var Ht=0;Ht<mt.length;++Ht){var vr=mt[Ht],Fr=typeof vr=="object"&&typeof vr.value<"u"?vr.value:de[vr];if(!(W&&Fr===null)){var fn=he&&V?vr.replace(/\./g,"%2E"):vr,Kr=u(de)?typeof D=="function"?D(Lt,fn):Lt:Lt+(he?"."+fn:"["+fn+"]");We.set(O,Fe);var Sn=n();Sn.set(T,We),m(rt,C(Fr,Kr,D,F,j,M,W,V,D==="comma"&&ve&&u(de)?null:q,J,re,he,fe,ae,ye,ve,Ue,Sn))}}return rt},w=function(O){if(!O)return v;if(typeof O.allowEmptyArrays<"u"&&typeof O.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof O.encodeDotInKeys<"u"&&typeof O.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(O.encoder!==null&&typeof O.encoder<"u"&&typeof O.encoder!="function")throw new TypeError("Encoder has to be a function.");var U=O.charset||v.charset;if(typeof O.charset<"u"&&O.charset!=="utf-8"&&O.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var D=a.default;if(typeof O.format<"u"){if(!i.call(a.formatters,O.format))throw new TypeError("Unknown format option provided.");D=O.format}var F=a.formatters[D],j=v.filter;(typeof O.filter=="function"||u(O.filter))&&(j=O.filter);var M;if(O.arrayFormat in s?M=O.arrayFormat:"indices"in O?M=O.indices?"indices":"repeat":M=v.arrayFormat,"commaRoundTrip"in O&&typeof O.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var W=typeof O.allowDots>"u"?O.encodeDotInKeys===!0?!0:v.allowDots:!!O.allowDots;return{addQueryPrefix:typeof O.addQueryPrefix=="boolean"?O.addQueryPrefix:v.addQueryPrefix,allowDots:W,allowEmptyArrays:typeof O.allowEmptyArrays=="boolean"?!!O.allowEmptyArrays:v.allowEmptyArrays,arrayFormat:M,charset:U,charsetSentinel:typeof O.charsetSentinel=="boolean"?O.charsetSentinel:v.charsetSentinel,commaRoundTrip:O.commaRoundTrip,delimiter:typeof O.delimiter>"u"?v.delimiter:O.delimiter,encode:typeof O.encode=="boolean"?O.encode:v.encode,encodeDotInKeys:typeof O.encodeDotInKeys=="boolean"?O.encodeDotInKeys:v.encodeDotInKeys,encoder:typeof O.encoder=="function"?O.encoder:v.encoder,encodeValuesOnly:typeof O.encodeValuesOnly=="boolean"?O.encodeValuesOnly:v.encodeValuesOnly,filter:j,format:D,formatter:F,serializeDate:typeof O.serializeDate=="function"?O.serializeDate:v.serializeDate,skipNulls:typeof O.skipNulls=="boolean"?O.skipNulls:v.skipNulls,sort:typeof O.sort=="function"?O.sort:null,strictNullHandling:typeof O.strictNullHandling=="boolean"?O.strictNullHandling:v.strictNullHandling}};f.exports=function(C,O){var U=C,D=w(O),F,j;typeof D.filter=="function"?(j=D.filter,U=j("",U)):u(D.filter)&&(j=D.filter,F=j);var M=[];if(typeof U!="object"||U===null)return"";var W=s[D.arrayFormat],V=W==="comma"&&D.commaRoundTrip;F||(F=Object.keys(U)),D.sort&&F.sort(D.sort);for(var q=n(),J=0;J<F.length;++J){var re=F[J];D.skipNulls&&U[re]===null||m(M,E(U[re],re,W,V,D.allowEmptyArrays,D.strictNullHandling,D.skipNulls,D.encodeDotInKeys,D.encode?D.encoder:null,D.filter,D.sort,D.allowDots,D.serializeDate,D.format,D.formatter,D.encodeValuesOnly,D.charset,q))}var he=M.join(D.delimiter),fe=D.addQueryPrefix===!0?"?":"";return D.charsetSentinel&&(D.charset==="iso-8859-1"?fe+="utf8=%26%2310003%3B&":fe+="utf8=%E2%9C%93&"),he.length>0?fe+he:""}},81354(f,d,e){"use strict";var n=e(5323),r=Object.prototype.hasOwnProperty,a=Array.isArray,i=(function(){for(var O=[],U=0;U<256;++U)O.push("%"+((U<16?"0":"")+U.toString(16)).toUpperCase());return O})(),s=function(U){for(;U.length>1;){var D=U.pop(),F=D.obj[D.prop];if(a(F)){for(var j=[],M=0;M<F.length;++M)typeof F[M]<"u"&&j.push(F[M]);D.obj[D.prop]=j}}},u=function(U,D){for(var F=D&&D.plainObjects?Object.create(null):{},j=0;j<U.length;++j)typeof U[j]<"u"&&(F[j]=U[j]);return F},l=function O(U,D,F){if(!D)return U;if(typeof D!="object"){if(a(U))U.push(D);else if(U&&typeof U=="object")(F&&(F.plainObjects||F.allowPrototypes)||!r.call(Object.prototype,D))&&(U[D]=!0);else return[U,D];return U}if(!U||typeof U!="object")return[U].concat(D);var j=U;
711return a(U)&&!a(D)&&(j=u(U,F)),a(U)&&a(D)?(D.forEach(function(M,W){if(r.call(U,W)){var V=U[W];V&&typeof V=="object"&&M&&typeof M=="object"?U[W]=O(V,M,F):U.push(M)}else U[W]=M}),U):Object.keys(D).reduce(function(M,W){var V=D[W];return r.call(M,W)?M[W]=O(M[W],V,F):M[W]=V,M},j)},m=function(U,D){return Object.keys(D).reduce(function(F,j){return F[j]=D[j],F},U)},g=function(O,U,D){var F=O.replace(/\+/g," ");if(D==="iso-8859-1")return F.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(F)}catch{return F}},h=1024,v=function(U,D,F,j,M){if(U.length===0)return U;var W=U;if(typeof U=="symbol"?W=Symbol.prototype.toString.call(U):typeof U!="string"&&(W=String(U)),F==="iso-8859-1")return escape(W).replace(/%u[0-9a-f]{4}/gi,function(ae){return"%26%23"+parseInt(ae.slice(2),16)+"%3B"});for(var V="",q=0;q<W.length;q+=h){for(var J=W.length>=h?W.slice(q,q+h):W,re=[],he=0;he<J.length;++he){var fe=J.charCodeAt(he);if(fe===45||fe===46||fe===95||fe===126||fe>=48&&fe<=57||fe>=65&&fe<=90||fe>=97&&fe<=122||M===n.RFC1738&&(fe===40||fe===41)){re[re.length]=J.charAt(he);continue}if(fe<128){re[re.length]=i[fe];continue}if(fe<2048){re[re.length]=i[192|fe>>6]+i[128|fe&63];continue}if(fe<55296||fe>=57344){re[re.length]=i[224|fe>>12]+i[128|fe>>6&63]+i[128|fe&63];continue}he+=1,fe=65536+((fe&1023)<<10|J.charCodeAt(he)&1023),re[re.length]=i[240|fe>>18]+i[128|fe>>12&63]+i[128|fe>>6&63]+i[128|fe&63]}V+=re.join("")}return V},b=function(U){for(var D=[{obj:{o:U},prop:"o"}],F=[],j=0;j<D.length;++j)for(var M=D[j],W=M.obj[M.prop],V=Object.keys(W),q=0;q<V.length;++q){var J=V[q],re=W[J];typeof re=="object"&&re!==null&&F.indexOf(re)===-1&&(D.push({obj:W,prop:J}),F.push(re))}return s(D),U},T=function(U){return Object.prototype.toString.call(U)==="[object RegExp]"},E=function(U){return!U||typeof U!="object"?!1:!!(U.constructor&&U.constructor.isBuffer&&U.constructor.isBuffer(U))},w=function(U,D){return[].concat(U,D)},C=function(U,D){if(a(U)){for(var F=[],j=0;j<U.length;j+=1)F.push(D(U[j]));return F}return D(U)};f.exports={arrayToObject:u,assign:m,combine:w,compact:b,decode:g,encode:v,isBuffer:E,isRegExp:T,maybeMap:C,merge:l}},37072(f,d,e){"use strict";e.d(d,{A:()=>w});var n=e(78774),r=null,a=null;try{r=new Function("return function* () {}")().constructor,a=(0,n.is)(r)}catch{a=n.F}var i=(0,n.curryN)(1,(0,n.either)((0,n.pipe)(n.type,(0,n.identical)("GeneratorFunction")),a));const s=i;var u=(0,n.curryN)(1,(0,n.pipe)(n.type,(0,n.identical)("AsyncFunction")));const l=u;var m=(0,n.anyPass)([(0,n.pipe)(n.type,(0,n.identical)("Function")),s,l]);const g=m;var h=(0,n.curryN)(1,g(Array.isArray)?Array.isArray:(0,n.pipe)(n.type,(0,n.identical)("Array")));const v=h;var b=(0,n.complement)(v);const T=b;var E=(0,n.when)(T,n.of);const w=E},14579(f,d,e){"use strict";e.d(d,{A:()=>i});var n=e(78774),r=e.n(n),a=(0,n.curryN)(1,(0,n.either)(n.isNil,n.isEmpty));const i=a},29590(f,d,e){"use strict";e.d(d,{A:()=>i});var n=e(78774),r=e.n(n),a=(0,n.complement)(n.isEmpty);const i=a},51352(f,d,e){"use strict";e.d(d,{A:()=>i});var n=e(78774),r=e.n(n),a=(0,n.complement)(n.isNil);const i=a},45555(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(78774),r=(0,n.equals)(null);const a=r;var i=(0,n.complement)(a);const s=i},78774(f,d,e){f.exports={F:e(28777),T:e(89239),__:e(32261),add:e(43180),addIndex:e(33670),adjust:e(24160),all:e(33308),allPass:e(11253),always:e(44914),and:e(94134),any:e(92369),anyPass:e(68692),ap:e(46966),aperture:e(72355),append:e(44795),apply:e(53199),applySpec:e(37880),ascend:e(76093),assoc:e(1404),assocPath:e(89823),binary:e(19642),bind:e(55224),both:e(44192),call:e(42931),chain:e(24806),clamp:e(1184),clone:e(18978),comparator:e(50063),complement:e(5811),compose:e(31735),composeK:e(35370),composeP:e(54543),concat:e(54811),cond:e(48819),construct:e(98634),constructN:e(72750),contains:e(56438),converge:e(60922),countBy:e(24721),curry:e(11748),curryN:e(66048),dec:e(7003),defaultTo:e(21863),descend:e(82181),difference:e(67404),differenceWith:e(10004),dissoc:e(41272),dissocPath:e(16739),divide:e(22742),drop:e(21890),dropLast:e(29390),dropLastWhile:e(96113),dropRepeats:e(18188),dropRepeatsWith:e(89044),dropWhile:e(83381),either:e(8486),empty:e(82878),endsWith:e(60973),eqBy:e(79900),eqProps:e(62915),equals:e(33182),evolve:e(49034),filter:e(95353),find:e(54708),findIndex:e(84046),findLast:e(59252),findLastIndex:e(63982),flatten:e(97285),flip:e(19892),forEach:e(60165),forEac
711hObjIndexed:e(48499),fromPairs:e(53994),groupBy:e(99389),groupWith:e(77988),gt:e(65180),gte:e(73225),has:e(88747),hasIn:e(85112),head:e(54425),identical:e(61588),identity:e(17193),ifElse:e(65301),inc:e(71023),indexBy:e(80006),indexOf:e(51890),init:e(44985),innerJoin:e(71779),insert:e(97930),insertAll:e(33279),intersection:e(53562),intersectionWith:e(41654),intersperse:e(53297),into:e(44689),invert:e(28159),invertObj:e(36182),invoker:e(39701),is:e(12907),isEmpty:e(84134),isNil:e(5832),join:e(57955),juxt:e(45330),keys:e(2639),keysIn:e(1044),last:e(79443),lastIndexOf:e(25650),length:e(8695),lens:e(67783),lensIndex:e(3403),lensPath:e(14884),lensProp:e(3770),lift:e(69658),liftN:e(95966),lt:e(74355),lte:e(5936),map:e(16997),mapAccum:e(8498),mapAccumRight:e(38898),mapObjIndexed:e(5651),match:e(34638),mathMod:e(66649),max:e(62413),maxBy:e(82280),mean:e(13278),median:e(55293),memoize:e(24415),memoizeWith:e(31076),merge:e(51335),mergeAll:e(35224),mergeDeepLeft:e(83408),mergeDeepRight:e(76019),mergeDeepWith:e(63821),mergeDeepWithKey:e(63610),mergeWith:e(51999),mergeWithKey:e(8380),min:e(94151),minBy:e(49766),modulo:e(35813),multiply:e(883),nAry:e(15859),negate:e(76065),none:e(2665),not:e(5822),nth:e(73333),nthArg:e(80885),o:e(51810),objOf:e(41211),of:e(4302),omit:e(32050),once:e(48926),or:e(49682),over:e(513),pair:e(38207),partial:e(29894),partialRight:e(1694),partition:e(43525),path:e(45976),pathEq:e(44522),pathOr:e(89837),pathSatisfies:e(80811),pick:e(97110),pickAll:e(91043),pickBy:e(54731),pipe:e(36087),pipeK:e(49706),pipeP:e(61039),pluck:e(37262),prepend:e(41739),product:e(5072),project:e(56314),prop:e(58862),propEq:e(77592),propIs:e(22958),propOr:e(57819),propSatisfies:e(92213),props:e(34597),range:e(61082),reduce:e(89565),reduceBy:e(28472),reduceRight:e(14495),reduceWhile:e(12300),reduced:e(90045),reject:e(95932),remove:e(3099),repeat:e(77584),replace:e(98283),reverse:e(87605),scan:e(43065),sequence:e(56594),set:e(81619),slice:e(22713),sort:e(6199),sortBy:e(18678),sortWith:e(10031),split:e(47971),splitAt:e(42426),splitEvery:e(13708),splitWhen:e(15323),startsWith:e(51582),subtract:e(96231),sum:e(53684),symmetricDifference:e(98911),symmetricDifferenceWith:e(63799),tail:e(91513),take:e(10300),takeLast:e(75372),takeLastWhile:e(25807),takeWhile:e(52319),tap:e(36330),test:e(64943),times:e(68061),toLower:e(37541),toPairs:e(99657),toPairsIn:e(4050),toString:e(6015),toUpper:e(12764),transduce:e(72242),transpose:e(18272),traverse:e(61885),trim:e(53095),tryCatch:e(89363),type:e(21227),unapply:e(24074),unary:e(76128),uncurryN:e(9391),unfold:e(65571),union:e(12888),unionWith:e(8544),uniq:e(17810),uniqBy:e(9511),uniqWith:e(21902),unless:e(15509),unnest:e(23582),until:e(57515),update:e(35934),useWith:e(99540),values:e(98757),valuesIn:e(25142),view:e(50334),when:e(50283),where:e(42932),whereEq:e(5006),without:e(45831),xprod:e(61482),zip:e(73280),zipObj:e(51983),zipWith:e(904)}},28777(f,d,e){var n=e(44914);f.exports=n(!1)},89239(f,d,e){var n=e(44914);f.exports=n(!0)},32261(f){f.exports={"@@functional/placeholder":!0}},43180(f,d,e){var n=e(12591);f.exports=n(function(a,i){return Number(a)+Number(i)})},33670(f,d,e){var n=e(78240),r=e(50338),a=e(66048);f.exports=r(function(s){return a(s.length,function(){var u=0,l=arguments[0],m=arguments[arguments.length-1],g=Array.prototype.slice.call(arguments,0);return g[0]=function(){var h=l.apply(this,n(arguments,[u,m]));return u+=1,h},s.apply(this,g)})})},24160(f,d,e){var n=e(78240),r=e(61880);f.exports=r(function(i,s,u){if(s>=u.length||s<-u.length)return u;var l=s<0?u.length:0,m=l+s,g=n(u);return g[m]=i(u[m]),g})},33308(f,d,e){var n=e(12591),r=e(13738),a=e(12783);f.exports=n(r(["all"],a,function(s,u){for(var l=0;l<u.length;){if(!s(u[l]))return!1;l+=1}return!0}))},11253(f,d,e){var n=e(50338),r=e(66048),a=e(62413),i=e(37262),s=e(89565);f.exports=n(function(l){return r(s(a,0,i("length",l)),function(){for(var m=0,g=l.length;m<g;){if(!l[m].apply(this,arguments))return!1;m+=1}return!0})})},44914(f,d,e){var n=e(50338);f.exports=n(function(a){return function(){return a}})},94134(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a&&i})}
711,92369(f,d,e){var n=e(12591),r=e(13738),a=e(26482);f.exports=n(r(["any"],a,function(s,u){for(var l=0;l<u.length;){if(s(u[l]))return!0;l+=1}return!1}))},68692(f,d,e){var n=e(50338),r=e(66048),a=e(62413),i=e(37262),s=e(89565);f.exports=n(function(l){return r(s(a,0,i("length",l)),function(){for(var m=0,g=l.length;m<g;){if(l[m].apply(this,arguments))return!0;m+=1}return!1})})},46966(f,d,e){var n=e(78240),r=e(12591),a=e(10782),i=e(16997);f.exports=r(function(u,l){return typeof l["fantasy-land/ap"]=="function"?l["fantasy-land/ap"](u):typeof u.ap=="function"?u.ap(l):typeof u=="function"?function(m){return u(m)(l(m))}:a(function(m,g){return n(m,i(g,l))},[],u)})},72355(f,d,e){var n=e(56084),r=e(12591),a=e(13738),i=e(60342);f.exports=r(a([],i,n))},44795(f,d,e){var n=e(78240),r=e(12591);f.exports=r(function(i,s){return n(s,[i])})},53199(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a.apply(this,i)})},37880(f,d,e){var n=e(50338),r=e(53199),a=e(66048),i=e(16997),s=e(62413),u=e(37262),l=e(89565),m=e(98757);f.exports=n(function g(h){return h=i(function(v){return typeof v=="function"?v:g(v)},h),a(l(s,0,u("length",m(h))),function(){var v=arguments;return i(function(b){return r(b,v)},h)})})},76093(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){var u=a(i),l=a(s);return u<l?-1:u>l?1:0})},1404(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){var u={};for(var l in s)u[l]=s[l];return u[a]=i,u})},89823(f,d,e){var n=e(61880),r=e(89970),a=e(79755),i=e(13692),s=e(1404),u=e(5832);f.exports=n(function l(m,g,h){if(m.length===0)return g;var v=m[0];if(m.length>1){var b=!u(h)&&r(v,h)?h[v]:i(m[1])?[]:{};g=l(Array.prototype.slice.call(m,1),g,b)}if(i(v)&&a(h)){var T=[].concat(h);return T[v]=g,T}else return s(v,g,h)})},19642(f,d,e){var n=e(50338),r=e(15859);f.exports=n(function(i){return r(2,i)})},55224(f,d,e){var n=e(69295),r=e(12591);f.exports=r(function(i,s){return n(i.length,function(){return i.apply(s,arguments)})})},44192(f,d,e){var n=e(12591),r=e(98428),a=e(94134),i=e(69658);f.exports=n(function(u,l){return r(u)?function(){return u.apply(this,arguments)&&l.apply(this,arguments)}:i(a)(u,l)})},42931(f,d,e){var n=e(11748);f.exports=n(function(a){return a.apply(this,Array.prototype.slice.call(arguments,1))})},24806(f,d,e){var n=e(12591),r=e(13738),a=e(23193),i=e(90293),s=e(16997);f.exports=n(r(["fantasy-land/chain","chain"],i,function(l,m){return typeof m=="function"?function(g){return l(m(g))(g)}:a(!1)(s(l,m))}))},1184(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){if(a>i)throw new Error("min must not be greater than max in clamp(min, max, value)");return s<a?a:s>i?i:s})},18978(f,d,e){var n=e(19927),r=e(50338);f.exports=r(function(i){return i!=null&&typeof i.clone=="function"?i.clone():n(i,[],[],!0)})},50063(f,d,e){var n=e(50338);f.exports=n(function(a){return function(i,s){return a(i,s)?-1:a(s,i)?1:0}})},5811(f,d,e){var n=e(69658),r=e(5822);f.exports=n(r)},31735(f,d,e){var n=e(36087),r=e(87605);f.exports=function(){if(arguments.length===0)throw new Error("compose requires at least one argument");return n.apply(this,r(arguments))}},35370(f,d,e){var n=e(24806),r=e(31735),a=e(16997);f.exports=function(){if(arguments.length===0)throw new Error("composeK requires at least one argument");var s=Array.prototype.slice.call(arguments),u=s.pop();return r(r.apply(this,a(n,s)),u)}},54543(f,d,e){var n=e(61039),r=e(87605);f.exports=function(){if(arguments.length===0)throw new Error("composeP requires at least one argument");return n.apply(this,r(arguments))}},54811(f,d,e){var n=e(12591),r=e(79755),a=e(98428),i=e(95701),s=e(6015);f.exports=n(function(l,m){if(r(l)){if(r(m))return l.concat(m);throw new TypeError(s(m)+" is not an array")}if(i(l)){if(i(m))return l+m;throw new TypeError(s(m)+" is not a string")}if(l!=null&&a(l["fantasy-land/concat"]))return l["fantasy-land/concat"](m);if(l!=null&&a(l.concat))return l.concat(m);throw new TypeError(s(l)+' does not have a method named "concat" or "fantasy-land/concat"')})},48819(f,d,e){var n=e(69295),r=e(50338),a=e(16997),i=e(62413),s=e(89565);f.exports=r(function(l){var m=s(i,0,a(function(g){return g[0].length},l));return n(m,function(){for(var g=0;g<l.length;){if(l[g][0].apply(this,arguments))return l[g][1].apply(this,arguments);g+=1}})})},98634(f,d,e){var n=e(50338),r=e(72750);f.exports=n(function(i){return r(i.length,i)})}
711,72750(f,d,e){var n=e(12591),r=e(11748),a=e(15859);f.exports=n(function(s,u){if(s>10)throw new Error("Constructor with greater than ten arguments");return s===0?function(){return new u}:r(a(s,function(l,m,g,h,v,b,T,E,w,C){switch(arguments.length){case 1:return new u(l);case 2:return new u(l,m);case 3:return new u(l,m,g);case 4:return new u(l,m,g,h);case 5:return new u(l,m,g,h,v);case 6:return new u(l,m,g,h,v,b);case 7:return new u(l,m,g,h,v,b,T);case 8:return new u(l,m,g,h,v,b,T,E);case 9:return new u(l,m,g,h,v,b,T,E,w);case 10:return new u(l,m,g,h,v,b,T,E,w,C)}}))})},56438(f,d,e){var n=e(93781),r=e(12591);f.exports=r(n)},60922(f,d,e){var n=e(12591),r=e(34896),a=e(66048),i=e(62413),s=e(37262),u=e(89565);f.exports=n(function(m,g){return a(u(i,0,s("length",g)),function(){var h=arguments,v=this;return m.apply(v,r(function(b){return b.apply(v,h)},g))})})},24721(f,d,e){var n=e(28472);f.exports=n(function(r,a){return r+1},0)},11748(f,d,e){var n=e(50338),r=e(66048);f.exports=n(function(i){return r(i.length,i)})},66048(f,d,e){var n=e(69295),r=e(50338),a=e(12591),i=e(6771);f.exports=a(function(u,l){return u===1?r(l):n(u,i(u,[],l))})},7003(f,d,e){var n=e(43180);f.exports=n(-1)},21863(f,d,e){var n=e(12591);f.exports=n(function(a,i){return i==null||i!==i?a:i})},82181(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){var u=a(i),l=a(s);return u>l?-1:u<l?1:0})},67404(f,d,e){var n=e(93781),r=e(12591);f.exports=r(function(i,s){for(var u=[],l=0,m=i.length;l<m;)!n(i[l],s)&&!n(i[l],u)&&(u[u.length]=i[l]),l+=1;return u})},10004(f,d,e){var n=e(23689),r=e(61880);f.exports=r(function(i,s,u){for(var l=[],m=0,g=s.length;m<g;)!n(i,s[m],u)&&!n(i,s[m],l)&&l.push(s[m]),m+=1;return l})},41272(f,d,e){var n=e(12591);f.exports=n(function(a,i){var s={};for(var u in i)s[u]=i[u];return delete s[a],s})},16739(f,d,e){var n=e(12591),r=e(13692),a=e(1404),i=e(41272),s=e(3099),u=e(35934);f.exports=n(function l(m,g){switch(m.length){case 0:return g;case 1:return r(m[0])?s(m[0],1,g):i(m[0],g);default:var h=m[0],v=Array.prototype.slice.call(m,1);return g[h]==null?g:r(m[0])?u(h,l(v,g[h]),g):a(h,l(v,g[h]),g)}})},22742(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a/i})},21890(f,d,e){var n=e(12591),r=e(13738),a=e(47927),i=e(22713);f.exports=n(r(["drop"],a,function(u,l){return i(Math.max(0,u),1/0,l)}))},29390(f,d,e){var n=e(12591),r=e(13738),a=e(99073),i=e(61527);f.exports=n(r([],i,a))},96113(f,d,e){var n=e(12591),r=e(13738),a=e(16160),i=e(74718);f.exports=n(r([],i,a))},18188(f,d,e){var n=e(50338),r=e(13738),a=e(92715),i=e(89044),s=e(33182);f.exports=n(r([],a(s),i(s)))},89044(f,d,e){var n=e(12591),r=e(13738),a=e(92715),i=e(79443);f.exports=n(r([],a,function(u,l){var m=[],g=1,h=l.length;if(h!==0)for(m[0]=l[0];g<h;)u(i(m),l[g])||(m[m.length]=l[g]),g+=1;return m}))},83381(f,d,e){var n=e(12591),r=e(13738),a=e(40542);f.exports=n(r(["dropWhile"],a,function(s,u){for(var l=0,m=u.length;l<m&&s(u[l]);)l+=1;return Array.prototype.slice.call(u,l)}))},8486(f,d,e){var n=e(12591),r=e(98428),a=e(69658),i=e(49682);f.exports=n(function(u,l){return r(u)?function(){return u.apply(this,arguments)||l.apply(this,arguments)}:a(i)(u,l)})},82878(f,d,e){var n=e(50338),r=e(51382),a=e(79755),i=e(53387),s=e(95701);f.exports=n(function(l){return l!=null&&typeof l["fantasy-land/empty"]=="function"?l["fantasy-land/empty"]():l!=null&&l.constructor!=null&&typeof l.constructor["fantasy-land/empty"]=="function"?l.constructor["fantasy-land/empty"]():l!=null&&typeof l.empty=="function"?l.empty():l!=null&&l.constructor!=null&&typeof l.constructor.empty=="function"?l.constructor.empty():a(l)?[]:s(l)?"":i(l)?{}:r(l)?(function(){return arguments})():void 0})},60973(f,d,e){var n=e(12591),r=e(33182),a=e(75372);f.exports=n(function(i,s){return r(a(i.length,s),i)})},79900(f,d,e){var n=e(61880),r=e(33182);f.exports=n(function(i,s,u){return r(i(s),i(u))})},62915(f,d,e){var n=e(61880),r=e(33182);f.exports=n(function(i,s,u){return r(s[i],u[i])})},33182(f,d,e){var n=e(12591),r=e(49097);f.exports=n(function(i,s){return r(i,s,[],[])})},49034(f,d,e){var n=e(12591);f.exports=n(function r(a,i){var s={},u,l,m;for(l in i)u=a[l],m=typeof u,s[l]=m==="function"?u(i[l]):u&&m==="object"?r(u,i[l]):i[l];return s})}
711,95353(f,d,e){var n=e(12591),r=e(13738),a=e(86086),i=e(53387),s=e(10782),u=e(81544),l=e(2639);f.exports=n(r(["filter"],u,function(m,g){return i(g)?s(function(h,v){return m(g[v])&&(h[v]=g[v]),h},{},l(g)):a(m,g)}))},54708(f,d,e){var n=e(12591),r=e(13738),a=e(34993);f.exports=n(r(["find"],a,function(s,u){for(var l=0,m=u.length;l<m;){if(s(u[l]))return u[l];l+=1}}))},84046(f,d,e){var n=e(12591),r=e(13738),a=e(40333);f.exports=n(r([],a,function(s,u){for(var l=0,m=u.length;l<m;){if(s(u[l]))return l;l+=1}return-1}))},59252(f,d,e){var n=e(12591),r=e(13738),a=e(14829);f.exports=n(r([],a,function(s,u){for(var l=u.length-1;l>=0;){if(s(u[l]))return u[l];l-=1}}))},63982(f,d,e){var n=e(12591),r=e(13738),a=e(46281);f.exports=n(r([],a,function(s,u){for(var l=u.length-1;l>=0;){if(s(u[l]))return l;l-=1}return-1}))},97285(f,d,e){var n=e(50338),r=e(23193);f.exports=n(r(!0))},19892(f,d,e){var n=e(50338),r=e(11748);f.exports=n(function(i){return r(function(s,u){var l=Array.prototype.slice.call(arguments,0);return l[0]=u,l[1]=s,i.apply(this,l)})})},60165(f,d,e){var n=e(11218),r=e(12591);f.exports=r(n("forEach",function(i,s){for(var u=s.length,l=0;l<u;)i(s[l]),l+=1;return s}))},48499(f,d,e){var n=e(12591),r=e(2639);f.exports=n(function(i,s){for(var u=r(s),l=0;l<u.length;){var m=u[l];i(s[m],m,s),l+=1}return s})},53994(f,d,e){var n=e(50338);f.exports=n(function(a){for(var i={},s=0;s<a.length;)i[a[s][0]]=a[s][1],s+=1;return i})},99389(f,d,e){var n=e(11218),r=e(12591),a=e(28472);f.exports=r(n("groupBy",a(function(i,s){return i==null&&(i=[]),i.push(s),i},null)))},77988(f,d,e){var n=e(12591);f.exports=n(function(r,a){for(var i=[],s=0,u=a.length;s<u;){for(var l=s+1;l<u&&r(a[l-1],a[l]);)l+=1;i.push(a.slice(s,l)),s=l}return i})},65180(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a>i})},73225(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a>=i})},88747(f,d,e){var n=e(12591),r=e(89970);f.exports=n(r)},85112(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a in i})},54425(f,d,e){var n=e(73333);f.exports=n(0)},61588(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a===i?a!==0||1/a===1/i:a!==a&&i!==i})},17193(f,d,e){var n=e(50338),r=e(30526);f.exports=n(r)},65301(f,d,e){var n=e(61880),r=e(66048);f.exports=n(function(i,s,u){return r(Math.max(i.length,s.length,u.length),function(){return i.apply(this,arguments)?s.apply(this,arguments):u.apply(this,arguments)})})},71023(f,d,e){var n=e(43180);f.exports=n(1)},80006(f,d,e){var n=e(28472);f.exports=n(function(r,a){return a},null)},51890(f,d,e){var n=e(12591),r=e(79931),a=e(79755);f.exports=n(function(s,u){return typeof u.indexOf=="function"&&!a(u)?u.indexOf(s):r(u,s,0)})},44985(f,d,e){var n=e(22713);f.exports=n(0,-1)},71779(f,d,e){var n=e(23689),r=e(61880),a=e(86086);f.exports=r(function(s,u,l){return a(function(m){return n(s,m,l)},u)})},97930(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){a=a<s.length&&a>=0?a:s.length;var u=Array.prototype.slice.call(s,0);return u.splice(a,0,i),u})},33279(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){return a=a<s.length&&a>=0?a:s.length,[].concat(Array.prototype.slice.call(s,0,a),i,Array.prototype.slice.call(s,a))})},39498(f,d,e){var n=e(93781);f.exports=(function(){function r(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}r.prototype.add=function(i){return!a(i,!0,this)},r.prototype.has=function(i){return a(i,!1,this)};function a(i,s,u){var l=typeof i,m,g;switch(l){case"string":case"number":return i===0&&1/i===-1/0?u._items["-0"]?!0:(s&&(u._items["-0"]=!0),!1):u._nativeSet!==null?s?(m=u._nativeSet.size,u._nativeSet.add(i),g=u._nativeSet.size,g===m):u._nativeSet.has(i):l in u._items?i in u._items[l]?!0:(s&&(u._items[l][i]=!0),!1):(s&&(u._items[l]={},u._items[l][i]=!0),!1);case"boolean":if(l in u._items){var h=i?1:0;return u._items[l][h]?!0:(s&&(u._items[l][h]=!0),!1)}else return s&&(u._items[l]=i?[!1,!0]:[!0,!1]),!1;case"function":return u._nativeSet!==null?s?(m=u._nativeSet.size,u._nativeSet.add(i),g=u._nativeSet.size,g===m):u._nativeSet.has(i):l in u._items?n(i,u._items[l])?!0:(s&&u._items[l].push(i),!1):(s&&(u._items[l]=[i]),!1);case"undefined":return u._items[l]?!0:(s&&(u._items[l]=!0),!1);case"object":if(i===null)return u._items.null?!0:(s&&(u._items.null=!0),!1);default:return l=Object.prototype.toString.call(i),l in u._items?n(i,u._items[l])?!0:(s&&u._items[l].push(i),!1):(s&&(u._items[l]=[i]),!1)}}return r})()},56084(f){f.exports=function(e,n){for(var r=0,a=n.length-(e-1),i=new Array(a>=0?a:0);r<a;)i[r]=Array.prototype.slice.call(n,r,r+e),r+=1;return i}},69295(f){f.exports=function(e,n){switch(e){case 0:return function(){return n.apply(this,arguments)};case 1:return function(r){return n.apply(this,arguments)};case 2:return function(r,a){return n.apply(this,arguments)};case 3:return function(r,a,i){return n.apply(this,arguments)};case 4:return function(r,a,i,s){return n.apply(this,arguments)};case 5:return function(r,a,i,s,u){return n.apply(this,arguments)};case 6:return function(r,a,i,s,u,l){return n.apply(this,arguments)};case 7:return function(r,a,i,s,u,l,m){return n.apply(this,arguments)};case 8:return function(r,a,i,s,u,l,m,g){return n.apply(this,arguments)};case 9:return function(r,a,i,s,u,l,m,g,h){return n.apply(this,arguments)};case 10:return function(r,a,i,s,u,l,m,g,h,v){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},6973(f){f.exports=function(e){for(var n=[],r;!(r=e.next()).done;)n.push(r.value);return n}},70389(f,d,e){var n=e(84530);f.exports=typeof Object.assign=="function"?Object.assign:n},11218(f,d,e){var n=e(79755);f.exports=function(a,i){return function(){var s=arguments.length;if(s===0)return i();var u=arguments[s-1];
711return n(u)||typeof u[a]!="function"?i.apply(this,arguments):u[a].apply(u,Array.prototype.slice.call(arguments,0,s-1))}}},19927(f,d,e){var n=e(24158),r=e(21227);f.exports=function a(i,s,u,l){var m=function(h){for(var v=s.length,b=0;b<v;){if(i===s[b])return u[b];b+=1}s[b+1]=i,u[b+1]=h;for(var T in i)h[T]=l?a(i[T],s,u,!0):i[T];return h};switch(r(i)){case"Object":return m({});case"Array":return m([]);case"Date":return new Date(i.valueOf());case"RegExp":return n(i);default:return i}}},24158(f){f.exports=function(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}},38860(f){f.exports=function(e){return function(){return!e.apply(this,arguments)}}},78240(f){f.exports=function(e,n){e=e||[],n=n||[];var r,a=e.length,i=n.length,s=[];for(r=0;r<a;)s[s.length]=e[r],r+=1;for(r=0;r<i;)s[s.length]=n[r],r+=1;return s}},93781(f,d,e){var n=e(79931);f.exports=function(a,i){return n(i,a,0)>=0}},23689(f){f.exports=function(e,n,r){for(var a=0,i=r.length;a<i;){if(e(n,r[a]))return!0;a+=1}return!1}},79990(f,d,e){var n=e(69295),r=e(12591);f.exports=function(i){return r(function(s,u){return n(Math.max(0,s.length-u.length),function(){return s.apply(this,i(u,arguments))})})}},50338(f,d,e){var n=e(55875);f.exports=function(a){return function i(s){return arguments.length===0||n(s)?i:a.apply(this,arguments)}}},12591(f,d,e){var n=e(50338),r=e(55875);f.exports=function(i){return function s(u,l){switch(arguments.length){case 0:return s;case 1:return r(u)?s:n(function(m){return i(u,m)});default:return r(u)&&r(l)?s:r(u)?n(function(m){return i(m,l)}):r(l)?n(function(m){return i(u,m)}):i(u,l)}}}},61880(f,d,e){var n=e(50338),r=e(12591),a=e(55875);f.exports=function(s){return function u(l,m,g){switch(arguments.length){case 0:return u;case 1:return a(l)?u:r(function(h,v){return s(l,h,v)});case 2:return a(l)&&a(m)?u:a(l)?r(function(h,v){return s(h,m,v)}):a(m)?r(function(h,v){return s(l,h,v)}):n(function(h){return s(l,m,h)});default:return a(l)&&a(m)&&a(g)?u:a(l)&&a(m)?r(function(h,v){return s(h,v,g)}):a(l)&&a(g)?r(function(h,v){return s(h,m,v)}):a(m)&&a(g)?r(function(h,v){return s(l,h,v)}):a(l)?n(function(h){return s(h,m,g)}):a(m)?n(function(h){return s(l,h,g)}):a(g)?n(function(h){return s(l,m,h)}):s(l,m,g)}}}},6771(f,d,e){var n=e(69295),r=e(55875);f.exports=function a(i,s,u){return function(){for(var l=[],m=0,g=i,h=0;h<s.length||m<arguments.length;){var v;h<s.length&&(!r(s[h])||m>=arguments.length)?v=s[h]:(v=arguments[m],m+=1),l[h]=v,r(v)||(g-=1),h+=1}return g<=0?u.apply(this,l):n(g,a(i,l,u))}}},13738(f,d,e){var n=e(79755),r=e(85013);f.exports=function(i,s,u){return function(){if(arguments.length===0)return u();var l=Array.prototype.slice.call(arguments,0),m=l.pop();if(!n(m)){for(var g=0;g<i.length;){if(typeof m[i[g]]=="function")return m[i[g]].apply(m,l);g+=1}if(r(m)){var h=s.apply(null,l);return h(m)}}return u.apply(this,arguments)}}},99073(f,d,e){var n=e(10300);f.exports=function(a,i){return n(a<i.length?i.length-a:0,i)}},16160(f){f.exports=function(e,n){for(var r=n.length-1;r>=0&&e(n[r]);)r-=1;return Array.prototype.slice.call(n,0,r+1)}},49097(f,d,e){var n=e(6973),r=e(41847),a=e(89970),i=e(61588),s=e(2639),u=e(21227);f.exports=function l(m,g,h,v){if(i(m,g))return!0;if(u(m)!==u(g)||m==null||g==null)return!1;if(typeof m["fantasy-land/equals"]=="function"||typeof g["fantasy-land/equals"]=="function")return typeof m["fantasy-land/equals"]=="function"&&m["fantasy-land/equals"](g)&&typeof g["fantasy-land/equals"]=="function"&&g["fantasy-land/equals"](m);if(typeof m.equals=="function"||typeof g.equals=="function")return typeof m.equals=="function"&&m.equals(g)&&typeof g.equals=="function"&&g.equals(m);switch(u(m)){case"Arguments":case"Array":case"Object":if(typeof m.constructor=="function"&&r(m.constructor)==="Promise")return m===g;break;case"Boolean":case"Number":case"String":if(!(typeof m==typeof g&&i(m.valueOf(),g.valueOf())))return!1;break;case"Date":if(!i(m.valueOf(),g.valueOf()))return!1;break;case"Error":return m.name===g.name&&m.message===g.message;case"RegExp":if(!(m.source===g.source&&m.global===g.global&&m.ignoreCase===g.ignoreCase&&m.multiline===g.multiline&&m.sticky===g.sticky&&m.unicode===g.unicode))return!1;break;case"Map":case"Set":if(!l(n(m.entries()),n(g.entries()),h,v))return!1;break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":break;case"ArrayBuffer":break;default:return!1}var b=s(m);if(b.length!==s(g).length)return!1;for(var T=h.length-1;T>=0;){if(h[T]===m)return v[T]===g;T-=1}for(h.push(m),v.push(g),T=b.length-1;T>=0;){var E=b[T];
711if(!(a(E,g)&&l(g[E],m[E],h,v)))return!1;T-=1}return h.pop(),v.pop(),!0}},86086(f){f.exports=function(e,n){for(var r=0,a=n.length,i=[];r<a;)e(n[r])&&(i[i.length]=n[r]),r+=1;return i}},52951(f,d,e){var n=e(5351),r=e(20340),a=e(10782),i=e(43663);f.exports=(function(){var s=function(u){return{"@@transducer/init":i.init,"@@transducer/result":function(l){return u["@@transducer/result"](l)},"@@transducer/step":function(l,m){var g=u["@@transducer/step"](l,m);return g["@@transducer/reduced"]?n(g):g}}};return function(l){var m=s(l);return{"@@transducer/init":i.init,"@@transducer/result":function(g){return m["@@transducer/result"](g)},"@@transducer/step":function(g,h){return r(h)?a(m,g,h):a(m,g,[h])}}}})()},5351(f){f.exports=function(e){return{"@@transducer/value":e,"@@transducer/reduced":!0}}},41847(f){f.exports=function(e){var n=String(e).match(/^function (\w*)/);return n==null?"":n[1]}},89970(f){f.exports=function(e,n){return Object.prototype.hasOwnProperty.call(n,e)}},30526(f){f.exports=function(e){return e}},79931(f,d,e){var n=e(33182);f.exports=function(a,i,s){var u,l;if(typeof a.indexOf=="function")switch(typeof i){case"number":if(i===0){for(u=1/i;s<a.length;){if(l=a[s],l===0&&1/l===u)return s;s+=1}return-1}else if(i!==i){for(;s<a.length;){if(l=a[s],typeof l=="number"&&l!==l)return s;s+=1}return-1}return a.indexOf(i,s);case"string":case"boolean":case"function":case"undefined":return a.indexOf(i,s);case"object":if(i===null)return a.indexOf(i,s)}for(;s<a.length;){if(n(a[s],i))return s;s+=1}return-1}},51382(f,d,e){var n=e(89970);f.exports=(function(){var r=Object.prototype.toString;return r.call(arguments)==="[object Arguments]"?function(i){return r.call(i)==="[object Arguments]"}:function(i){return n("callee",i)}})()},79755(f){f.exports=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"}},20340(f,d,e){var n=e(50338),r=e(79755),a=e(95701);f.exports=n(function(s){return r(s)?!0:!s||typeof s!="object"||a(s)?!1:s.nodeType===1?!!s.length:s.length===0?!0:s.length>0?s.hasOwnProperty(0)&&s.hasOwnProperty(s.length-1):!1})},98428(f){f.exports=function(e){return Object.prototype.toString.call(e)==="[object Function]"}},13692(f){f.exports=Number.isInteger||function(e){return e<<0===e}},99753(f){f.exports=function(e){return Object.prototype.toString.call(e)==="[object Number]"}},53387(f){f.exports=function(e){return Object.prototype.toString.call(e)==="[object Object]"}},55875(f){f.exports=function(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}},46629(f){f.exports=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"}},95701(f){f.exports=function(e){return Object.prototype.toString.call(e)==="[object String]"}},85013(f){f.exports=function(e){return typeof e["@@transducer/step"]=="function"}},23193(f,d,e){var n=e(20340);f.exports=function(a){return function i(s){for(var u,l,m,g=[],h=0,v=s.length;h<v;){if(n(s[h]))for(u=a?i(s[h]):s[h],m=0,l=u.length;m<l;)g[g.length]=u[m],m+=1;else g[g.length]=s[h];h+=1}return g}}},34896(f){f.exports=function(e,n){for(var r=0,a=n.length,i=Array(a);r<a;)i[r]=e(n[r]),r+=1;return i}},84530(f,d,e){var n=e(89970);f.exports=function(a){if(a==null)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(a),s=1,u=arguments.length;s<u;){var l=arguments[s];if(l!=null)for(var m in l)n(m,l)&&(i[m]=l[m]);s+=1}return i}},91913(f){f.exports=function(e){return[e]}},2604(f){f.exports=function(e,n){return function(){return n.call(this,e.apply(this,arguments))}}},70342(f){f.exports=function(e,n){return function(){var r=this;return e.apply(r,arguments).then(function(a){return n.call(r,a)})}}},88054(f){f.exports=function(e){var n=e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+n.replace(/"/g,'\\"')+'"'}},10782(f,d,e){var n=e(20340),r=e(40154),a=e(55224);f.exports=(function(){function i(m,g,h){for(var v=0,b=h.length;v<b;){if(g=m["@@transducer/step"](g,h[v]),g&&g["@@transducer/reduced"]){g=g["@@transducer/value"];break}v+=1}return m["@@transducer/result"](g)}function s(m,g,h){for(var v=h.next();!v.done;){if(g=m["@@transducer/step"](g,v.value),g&&g["@@transducer/reduced"]){g=g["@@transducer/value"];break}v=h.next()}return m["@@transducer/result"](g)}function u(m,g,h,v){return m["@@transducer/result"](h[v](a(m["@@transducer/step"],m),g))}var l=typeof Symbol<"u"?Symbol.iterator:"@@iterator";return function(g,h,v){if(typeof g=="function"&&(g=r(g)),n(v))return i(g,h,v);if(typeof v["fantasy-land/reduce"]=="function")return u(g,h,v,"fantasy-land/reduce");if(v[l]!=null)return s(g,h,v[l]());if(typeof v.next=="function")return s(g,h,v);if(typeof v.reduce=="function")return u(g,h,v,"reduce");throw new TypeError("reduce: list must be array or iterable")}})()},25424(f){f.exports=function(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}},40480(f,d,e){var n=e(70389),r=e(30526),a=e(20340),i=e(85013),s=e(41211);f.exports=(function(){var u={"@@transducer/init":Array,"@@transducer/step":function(g,h){return g.push(h),g},"@@transducer/result":r},l={"@@transducer/init":String,"@@transducer/step":function(g,h){return g+h},"@@transducer/result":r},m={"@@transducer/init":Object,"@@transducer/step":function(g,h){return n(g,a(h)?s(h[0],h[1]):h)},"@@transducer/result":r};return function(h){if(i(h))return h;
711if(a(h))return u;if(typeof h=="string")return l;if(typeof h=="object")return m;throw new Error("Cannot create transformer for "+h)}})()},48661(f){f.exports=(function(){var d=function(n){return(n<10?"0":"")+n};return typeof Date.prototype.toISOString=="function"?function(n){return n.toISOString()}:function(n){return n.getUTCFullYear()+"-"+d(n.getUTCMonth()+1)+"-"+d(n.getUTCDate())+"T"+d(n.getUTCHours())+":"+d(n.getUTCMinutes())+":"+d(n.getUTCSeconds())+"."+(n.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}})()},90668(f,d,e){var n=e(93781),r=e(34896),a=e(88054),i=e(48661),s=e(2639),u=e(95932);f.exports=function l(m,g){var h=function(E){var w=g.concat([m]);return n(E,w)?"<Circular>":l(E,w)},v=function(T,E){return r(function(w){return a(w)+": "+h(T[w])},E.slice().sort())};switch(Object.prototype.toString.call(m)){case"[object Arguments]":return"(function() { return arguments; }("+r(h,m).join(", ")+"))";case"[object Array]":return"["+r(h,m).concat(v(m,u(function(T){return/^\d+$/.test(T)},s(m)))).join(", ")+"]";case"[object Boolean]":return typeof m=="object"?"new Boolean("+h(m.valueOf())+")":m.toString();case"[object Date]":return"new Date("+(isNaN(m.valueOf())?h(NaN):a(i(m)))+")";case"[object Null]":return"null";case"[object Number]":return typeof m=="object"?"new Number("+h(m.valueOf())+")":1/m===-1/0?"-0":m.toString(10);case"[object String]":return typeof m=="object"?"new String("+h(m.valueOf())+")":a(m);case"[object Undefined]":return"undefined";default:if(typeof m.toString=="function"){var b=m.toString();if(b!=="[object Object]")return b}return"{"+v(m,s(m)).join(", ")+"}"}}},12783(f,d,e){var n=e(12591),r=e(25424),a=e(43663);f.exports=(function(){function i(s,u){this.xf=u,this.f=s,this.all=!0}return i.prototype["@@transducer/init"]=a.init,i.prototype["@@transducer/result"]=function(s){return this.all&&(s=this.xf["@@transducer/step"](s,!0)),this.xf["@@transducer/result"](s)},i.prototype["@@transducer/step"]=function(s,u){return this.f(u)||(this.all=!1,s=r(this.xf["@@transducer/step"](s,!1))),s},n(function(u,l){return new i(u,l)})})()},26482(f,d,e){var n=e(12591),r=e(25424),a=e(43663);f.exports=(function(){function i(s,u){this.xf=u,this.f=s,this.any=!1}return i.prototype["@@transducer/init"]=a.init,i.prototype["@@transducer/result"]=function(s){return this.any||(s=this.xf["@@transducer/step"](s,!1)),this.xf["@@transducer/result"](s)},i.prototype["@@transducer/step"]=function(s,u){return this.f(u)&&(this.any=!0,s=r(this.xf["@@transducer/step"](s,!0))),s},n(function(u,l){return new i(u,l)})})()},60342(f,d,e){var n=e(78240),r=e(12591),a=e(43663);f.exports=(function(){function i(s,u){this.xf=u,this.pos=0,this.full=!1,this.acc=new Array(s)}return i.prototype["@@transducer/init"]=a.init,i.prototype["@@transducer/result"]=function(s){return this.acc=null,this.xf["@@transducer/result"](s)},i.prototype["@@transducer/step"]=function(s,u){return this.store(u),this.full?this.xf["@@transducer/step"](s,this.getCopy()):s},i.prototype.store=function(s){this.acc[this.pos]=s,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},i.prototype.getCopy=function(){return n(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))},r(function(u,l){return new i(u,l)})})()},90293(f,d,e){var n=e(12591),r=e(52951),a=e(16997);f.exports=n(function(s,u){return a(s,r(u))})},47927(f,d,e){var n=e(12591),r=e(43663);f.exports=(function(){function a(i,s){this.xf=s,this.n=i}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=r.result,a.prototype["@@transducer/step"]=function(i,s){return this.n>0?(this.n-=1,i):this.xf["@@transducer/step"](i,s)},n(function(s,u){return new a(s,u)})})()},61527(f,d,e){var n=e(12591),r=e(43663);f.exports=(function(){function a(i,s){this.xf=s,this.pos=0,this.full=!1,this.acc=new Array(i)}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=function(i){return this.acc=null,this.xf["@@transducer/result"](i)},a.prototype["@@transducer/step"]=function(i,s){return this.full&&(i=this.xf["@@transducer/step"](i,this.acc[this.pos])),this.store(s),i},a.prototype.store=function(i){this.acc[this.pos]=i,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},n(function(s,u){return new a(s,u)})})()}
vendor: 4,335 bytes, line 711
711,74718(f,d,e){var n=e(12591),r=e(10782),a=e(43663);f.exports=(function(){function i(s,u){this.f=s,this.retained=[],this.xf=u}return i.prototype["@@transducer/init"]=a.init,i.prototype["@@transducer/result"]=function(s){return this.retained=null,this.xf["@@transducer/result"](s)},i.prototype["@@transducer/step"]=function(s,u){return this.f(u)?this.retain(s,u):this.flush(s,u)},i.prototype.flush=function(s,u){return s=r(this.xf["@@transducer/step"],s,this.retained),this.retained=[],this.xf["@@transducer/step"](s,u)},i.prototype.retain=function(s,u){return this.retained.push(u),s},n(function(u,l){return new i(u,l)})})()},92715(f,d,e){var n=e(12591),r=e(43663);f.exports=(function(){function a(i,s){this.xf=s,this.pred=i,this.lastValue=void 0,this.seenFirstValue=!1}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=r.result,a.prototype["@@transducer/step"]=function(i,s){var u=!1;return this.seenFirstValue?this.pred(this.lastValue,s)&&(u=!0):this.seenFirstValue=!0,this.lastValue=s,u?i:this.xf["@@transducer/step"](i,s)},n(function(s,u){return new a(s,u)})})()},40542(f,d,e){var n=e(12591),r=e(43663);f.exports=(function(){function a(i,s){this.xf=s,this.f=i}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=r.result,a.prototype["@@transducer/step"]=function(i,s){if(this.f){if(this.f(s))return i;this.f=null}return this.xf["@@transducer/step"](i,s)},n(function(s,u){return new a(s,u)})})()},43663(f){f.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(d){return this.xf["@@transducer/result"](d)}}},81544(f,d,e){var n=e(12591),r=e(43663);f.exports=(function(){function a(i,s){this.xf=s,this.f=i}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=r.result,a.prototype["@@transducer/step"]=function(i,s){return this.f(s)?this.xf["@@transducer/step"](i,s):i},n(function(s,u){return new a(s,u)})})()},34993(f,d,e){var n=e(12591),r=e(25424),a=e(43663);f.exports=(function(){function i(s,u){this.xf=u,this.f=s,this.found=!1}return i.prototype["@@transducer/init"]=a.init,i.prototype["@@transducer/result"]=function(s){return this.found||(s=this.xf["@@transducer/step"](s,void 0)),this.xf["@@transducer/result"](s)},i.prototype["@@transducer/step"]=function(s,u){return this.f(u)&&(this.found=!0,s=r(this.xf["@@transducer/step"](s,u))),s},n(function(u,l){return new i(u,l)})})()},40333(f,d,e){var n=e(12591),r=e(25424),a=e(43663);f.exports=(function(){function i(s,u){this.xf=u,this.f=s,this.idx=-1,this.found=!1}return i.prototype["@@transducer/init"]=a.init,i.prototype["@@transducer/result"]=function(s){return this.found||(s=this.xf["@@transducer/step"](s,-1)),this.xf["@@transducer/result"](s)},i.prototype["@@transducer/step"]=function(s,u){return this.idx+=1,this.f(u)&&(this.found=!0,s=r(this.xf["@@transducer/step"](s,this.idx))),s},n(function(u,l){return new i(u,l)})})()},14829(f,d,e){var n=e(12591),r=e(43663);f.exports=(function(){function a(i,s){this.xf=s,this.f=i}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=function(i){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](i,this.last))},a.prototype["@@transducer/step"]=function(i,s){return this.f(s)&&(this.last=s),i},n(function(s,u){return new a(s,u)})})()},46281(f,d,e){var n=e(12591),r=e(43663);f.exports=(function(){function a(i,s){this.xf=s,this.f=i,this.idx=-1,this.lastIdx=-1}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=function(i){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](i,this.lastIdx))},a.prototype["@@transducer/step"]=function(i,s){return this.idx+=1,this.f(s)&&(this.lastIdx=this.idx),i},n(function(s,u){return new a(s,u)})})()},95358(f,d,e){var n=e(12591),r=e(43663);f.exports=(function(){function a(i,s){this.xf=s,this.f=i}return a.prototype["@@transducer/init"]=r.init,a.prototype["@@transducer/result"]=r.result,a.prototype["@@transducer/step"]=function(i,s){return this.xf["@@transducer/step"](i,this.f(s))},n(function(s,u){return new a(s,u)})})()},48889(f,d,e){var n=e(6771),r=e(89970),a=e(43663);f.exports=(function(){function i(s,u,l,m){this.valueFn=s,this.valueAcc=u,this.keyFn=l,this.xf=m,this.inputs={}}return i.prototype["@@transducer/init"]=a.init,i.prototype["@@transducer/result"]=function(s){var u;
711for(u in this.inputs)if(r(u,this.inputs)&&(s=this.xf["@@transducer/step"](s,this.inputs[u]),s["@@transducer/reduced"])){s=s["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](s)},i.prototype["@@transducer/step"]=function(s,u){var l=this.keyFn(u);return this.inputs[l]=this.inputs[l]||[l,this.valueAcc],this.inputs[l][1]=this.valueFn(this.inputs[l][1],u),s},n(4,[],function(u,l,m,g){return new i(u,l,m,g)})})()},9189(f,d,e){var n=e(12591),r=e(25424),a=e(43663);f.exports=(function(){function i(s,u){this.xf=u,this.n=s,this.i=0}return i.prototype["@@transducer/init"]=a.init,i.prototype["@@transducer/result"]=a.result,i.prototype["@@transducer/step"]=function(s,u){this.i+=1;var l=this.n===0?s:this.xf["@@transducer/step"](s,u);return this.n>=0&&this.i>=this.n?r(l):l},n(function(u,l){return new i(u,l)})})()},32916(f,d,e){var n=e(12591),r=e(25424),a=e(43663);f.exports=(function(){function i(s,u){this.xf=u,this.f=s}return i.prototype["@@transducer/init"]=a.init,i.prototype["@@transducer/result"]=a.result,i.prototype["@@transducer/step"]=function(s,u){return this.f(u)?this.xf["@@transducer/step"](s,u):r(s)},n(function(u,l){return new i(u,l)})})()},40154(f){f.exports=(function(){function d(e){this.f=e}return d.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},d.prototype["@@transducer/result"]=function(e){return e},d.prototype["@@transducer/step"]=function(e,n){return this.f(e,n)},function(n){return new d(n)}})()},53562(f,d,e){var n=e(93781),r=e(12591),a=e(86086),i=e(19892),s=e(17810);f.exports=r(function(l,m){var g,h;return l.length>m.length?(g=l,h=m):(g=m,h=l),s(a(i(n)(g),h))})},41654(f,d,e){var n=e(23689),r=e(61880),a=e(21902);f.exports=r(function(s,u,l){var m,g;u.length>l.length?(m=u,g=l):(m=l,g=u);for(var h=[],v=0;v<g.length;)n(s,g[v],m)&&(h[h.length]=g[v]),v+=1;return a(s,h)})},53297(f,d,e){var n=e(11218),r=e(12591);f.exports=r(n("intersperse",function(i,s){for(var u=[],l=0,m=s.length;l<m;)l===m-1?u.push(s[l]):u.push(s[l],i),l+=1;return u}))},44689(f,d,e){var n=e(19927),r=e(61880),a=e(85013),i=e(10782),s=e(40480);f.exports=r(function(l,m,g){return a(l)?i(m(l),l["@@transducer/init"](),g):i(m(s(l)),n(l,[],[],!1),g)})},28159(f,d,e){var n=e(50338),r=e(89970),a=e(2639);f.exports=n(function(s){for(var u=a(s),l=u.length,m=0,g={};m<l;){var h=u[m],v=s[h],b=r(v,g)?g[v]:g[v]=[];b[b.length]=h,m+=1}return g})},36182(f,d,e){var n=e(50338),r=e(2639);f.exports=n(function(i){for(var s=r(i),u=s.length,l=0,m={};l<u;){var g=s[l];m[i[g]]=g,l+=1}return m})},39701(f,d,e){var n=e(12591),r=e(98428),a=e(66048),i=e(6015);f.exports=n(function(u,l){return a(u+1,function(){var m=arguments[u];if(m!=null&&r(m[l]))return m[l].apply(m,Array.prototype.slice.call(arguments,0,u));throw new TypeError(i(m)+' does not have a method named "'+l+'"')})})},12907(f,d,e){var n=e(12591);f.exports=n(function(a,i){return i!=null&&i.constructor===a||i instanceof a})},84134(f,d,e){var n=e(50338),r=e(82878),a=e(33182);f.exports=n(function(s){return s!=null&&a(s,r(s))})},5832(f,d,e){var n=e(50338);f.exports=n(function(a){return a==null})},57955(f,d,e){var n=e(39701);f.exports=n(1,"join")},45330(f,d,e){var n=e(50338),r=e(60922);f.exports=n(function(i){return r(function(){return Array.prototype.slice.call(arguments,0)},i)})},2639(f,d,e){var n=e(50338),r=e(89970),a=e(51382);f.exports=(function(){var i=!{toString:null}.propertyIsEnumerable("toString"),s=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=(function(){"use strict";return arguments.propertyIsEnumerable("length")})(),l=function(g,h){for(var v=0;v<g.length;){if(g[v]===h)return!0;v+=1}return!1};return n(typeof Object.keys=="function"&&!u?function(g){return Object(g)!==g?[]:Object.keys(g)}:function(g){if(Object(g)!==g)return[];var h,v,b=[],T=u&&a(g);for(h in g)r(h,g)&&(!T||h!=="length")&&(b[b.length]=h);if(i)for(v=s.length-1;v>=0;)h=s[v],r(h,g)&&!l(b,h)&&(b[b.length]=h),v-=1;return b})})()},1044(f,d,e){var n=e(50338);f.exports=n(function(a){var i,s=[];for(i in a)s[s.length]=i;return s})},79443(f,d,e){var n=e(73333);f.exports=n(-1)}
711,25650(f,d,e){var n=e(12591),r=e(79755),a=e(33182);f.exports=n(function(s,u){if(typeof u.lastIndexOf=="function"&&!r(u))return u.lastIndexOf(s);for(var l=u.length-1;l>=0;){if(a(u[l],s))return l;l-=1}return-1})},8695(f,d,e){var n=e(50338),r=e(99753);f.exports=n(function(i){return i!=null&&r(i.length)?i.length:NaN})},67783(f,d,e){var n=e(12591),r=e(16997);f.exports=n(function(i,s){return function(u){return function(l){return r(function(m){return s(m,l)},u(i(l)))}}})},3403(f,d,e){var n=e(50338),r=e(67783),a=e(73333),i=e(35934);f.exports=n(function(u){return r(a(u),i(u))})},14884(f,d,e){var n=e(50338),r=e(89823),a=e(67783),i=e(45976);f.exports=n(function(u){return a(i(u),r(u))})},3770(f,d,e){var n=e(50338),r=e(1404),a=e(67783),i=e(58862);f.exports=n(function(u){return a(i(u),r(u))})},69658(f,d,e){var n=e(50338),r=e(95966);f.exports=n(function(i){return r(i.length,i)})},95966(f,d,e){var n=e(12591),r=e(10782),a=e(46966),i=e(66048),s=e(16997);f.exports=n(function(l,m){var g=i(l,m);return i(l,function(){return r(a,s(g,arguments[0]),Array.prototype.slice.call(arguments,1))})})},74355(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a<i})},5936(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a<=i})},16997(f,d,e){var n=e(12591),r=e(13738),a=e(34896),i=e(10782),s=e(95358),u=e(66048),l=e(2639);f.exports=n(r(["fantasy-land/map","map"],s,function(g,h){switch(Object.prototype.toString.call(h)){case"[object Function]":return u(h.length,function(){return g.call(this,h.apply(this,arguments))});case"[object Object]":return i(function(v,b){return v[b]=g(h[b]),v},{},l(h));default:return a(g,h)}}))},8498(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){for(var u=0,l=s.length,m=[],g=[i];u<l;)g=a(g[0],s[u]),m[u]=g[1],u+=1;return[g[0],m]})},38898(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){for(var u=s.length-1,l=[],m=[i];u>=0;)m=a(s[u],m[0]),l[u]=m[1],u-=1;return[l,m[0]]})},5651(f,d,e){var n=e(12591),r=e(10782),a=e(2639);f.exports=n(function(s,u){return r(function(l,m){return l[m]=s(u[m],m,u),l},{},a(u))})},34638(f,d,e){var n=e(12591);f.exports=n(function(a,i){return i.match(a)||[]})},66649(f,d,e){var n=e(12591),r=e(13692);f.exports=n(function(i,s){return r(i)?!r(s)||s<1?NaN:(i%s+s)%s:NaN})},62413(f,d,e){var n=e(12591);f.exports=n(function(a,i){return i>a?i:a})},82280(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){return a(s)>a(i)?s:i})},13278(f,d,e){var n=e(50338),r=e(53684);f.exports=n(function(i){return r(i)/i.length})},55293(f,d,e){var n=e(50338),r=e(13278);f.exports=n(function(i){var s=i.length;if(s===0)return NaN;var u=2-s%2,l=(s-u)/2;return r(Array.prototype.slice.call(i,0).sort(function(m,g){return m<g?-1:m>g?1:0}).slice(l,l+u))})},24415(f,d,e){var n=e(31076),r=e(6015);f.exports=n(function(){return r(arguments)})},31076(f,d,e){var n=e(69295),r=e(12591),a=e(89970);f.exports=r(function(s,u){var l={};return n(u.length,function(){var m=s.apply(this,arguments);return a(m,l)||(l[m]=u.apply(this,arguments)),l[m]})})},51335(f,d,e){var n=e(70389),r=e(12591);f.exports=r(function(i,s){return n({},i,s)})},35224(f,d,e){var n=e(70389),r=e(50338);f.exports=r(function(i){return n.apply(null,[{}].concat(i))})},83408(f,d,e){var n=e(12591),r=e(63610);f.exports=n(function(i,s){return r(function(u,l,m){return l},i,s)})},76019(f,d,e){var n=e(12591),r=e(63610);f.exports=n(function(i,s){return r(function(u,l,m){return m},i,s)})},63821(f,d,e){var n=e(61880),r=e(63610);f.exports=n(function(i,s,u){return r(function(l,m,g){return i(m,g)},s,u)})},63610(f,d,e){var n=e(61880),r=e(53387),a=e(8380);f.exports=n(function i(s,u,l){return a(function(m,g,h){return r(g)&&r(h)?i(s,g,h):s(m,g,h)},u,l)})},51999(f,d,e){var n=e(61880),r=e(8380);f.exports=n(function(i,s,u){return r(function(l,m,g){return i(m,g)},s,u)})},8380(f,d,e){var n=e(61880),r=e(89970);f.exports=n(function(i,s,u){var l={},m;for(m in s)r(m,s)&&(l[m]=r(m,u)?i(m,s[m],u[m]):s[m]);for(m in u)r(m,u)&&!r(m,l)&&(l[m]=u[m]);return l})},94151(f,d,e){var n=e(12591);f.exports=n(function(a,i){return i<a?i:a})},49766(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){return a(s)<a(i)?s:i})},35813(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a%i})},883(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a*i})},15859(f,d,e){var n=e(12591);f.exports=n(function(a,i){switch(a){case 0:return function(){return i.call(this)};case 1:return function(s){return i.call(this,s)};case 2:return function(s,u){return i.call(this,s,u)};case 3:return function(s,u,l){return i.call(this,s,u,l)};case 4:return function(s,u,l,m){return i.call(this,s,u,l,m)};case 5:return function(s,u,l,m,g){return i.call(this,s,u,l,m,g)};case 6:return function(s,u,l,m,g,h){return i.call(this,s,u,l,m,g,h)};case 7:return function(s,u,l,m,g,h,v){return i.call(this,s,u,l,m,g,h,v)};case 8:return function(s,u,l,m,g,h,v,b){return i.call(this,s,u,l,m,g,h,v,b)};case 9:return function(s,u,l,m,g,h,v,b,T){return i.call(this,s,u,l,m,g,h,v,b,T)};case 10:return function(s,u,l,m,g,h,v,b,T,E){return i.call(this,s,u,l,m,g,h,v,b,T,E)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}})},76065(f,d,e){var n=e(50338);f.exports=n(function(a){return-a})},2665(f,d,e){var n=e(38860),r=e(12591),a=e(13738),i=e(26482),s=e(92369);f.exports=r(n(a(["any"],i,s)))},5822(f,d,e){var n=e(50338);f.exports=n(function(a){return!a})}
711,73333(f,d,e){var n=e(12591),r=e(95701);f.exports=n(function(i,s){var u=i<0?s.length+i:i;return r(s)?s.charAt(u):s[u]})},80885(f,d,e){var n=e(50338),r=e(66048),a=e(73333);f.exports=n(function(s){var u=s<0?1:s+1;return r(u,function(){return a(s,arguments)})})},51810(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){return a(i(s))})},41211(f,d,e){var n=e(12591);f.exports=n(function(a,i){var s={};return s[a]=i,s})},4302(f,d,e){var n=e(50338),r=e(91913);f.exports=n(r)},32050(f,d,e){var n=e(93781),r=e(12591);f.exports=r(function(i,s){var u={};for(var l in s)n(l,i)||(u[l]=s[l]);return u})},48926(f,d,e){var n=e(69295),r=e(50338);f.exports=r(function(i){var s=!1,u;return n(i.length,function(){return s||(s=!0,u=i.apply(this,arguments)),u})})},49682(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a||i})},513(f,d,e){var n=e(61880);f.exports=(function(){var r=function(a){return{value:a,map:function(i){return r(i(a))}}};return n(function(i,s,u){return i(function(l){return r(s(l))})(u).value})})()},38207(f,d,e){var n=e(12591);f.exports=n(function(a,i){return[a,i]})},29894(f,d,e){var n=e(78240),r=e(79990);f.exports=r(n)},1694(f,d,e){var n=e(78240),r=e(79990),a=e(19892);f.exports=r(a(n))},43525(f,d,e){var n=e(95353),r=e(45330),a=e(95932);f.exports=r([n,a])},45976(f,d,e){var n=e(12591);f.exports=n(function(a,i){for(var s=i,u=0;u<a.length;){if(s==null)return;s=s[a[u]],u+=1}return s})},44522(f,d,e){var n=e(61880),r=e(33182),a=e(45976);f.exports=n(function(s,u,l){return r(a(s,l),u)})},89837(f,d,e){var n=e(61880),r=e(21863),a=e(45976);f.exports=n(function(s,u,l){return r(s,a(u,l))})},80811(f,d,e){var n=e(61880),r=e(45976);f.exports=n(function(i,s,u){return s.length>0&&i(r(s,u))})},97110(f,d,e){var n=e(12591);f.exports=n(function(a,i){for(var s={},u=0;u<a.length;)a[u]in i&&(s[a[u]]=i[a[u]]),u+=1;return s})},91043(f,d,e){var n=e(12591);f.exports=n(function(a,i){for(var s={},u=0,l=a.length;u<l;){var m=a[u];s[m]=i[m],u+=1}return s})},54731(f,d,e){var n=e(12591);f.exports=n(function(a,i){var s={};for(var u in i)a(i[u],u,i)&&(s[u]=i[u]);return s})},36087(f,d,e){var n=e(69295),r=e(2604),a=e(89565),i=e(91513);f.exports=function(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return n(arguments[0].length,a(r,arguments[0],i(arguments)))}},49706(f,d,e){var n=e(35370),r=e(87605);f.exports=function(){if(arguments.length===0)throw new Error("pipeK requires at least one argument");return n.apply(this,r(arguments))}},61039(f,d,e){var n=e(69295),r=e(70342),a=e(89565),i=e(91513);f.exports=function(){if(arguments.length===0)throw new Error("pipeP requires at least one argument");return n(arguments[0].length,a(r,arguments[0],i(arguments)))}},37262(f,d,e){var n=e(12591),r=e(16997),a=e(58862);f.exports=n(function(s,u){return r(a(s),u)})},41739(f,d,e){var n=e(78240),r=e(12591);f.exports=r(function(i,s){return n([i],s)})},5072(f,d,e){var n=e(883),r=e(89565);f.exports=r(n,1)},56314(f,d,e){var n=e(34896),r=e(17193),a=e(91043),i=e(99540);f.exports=i(n,[a,r])},58862(f,d,e){var n=e(12591);f.exports=n(function(a,i){return i[a]})},77592(f,d,e){var n=e(61880),r=e(33182);f.exports=n(function(i,s,u){return r(s,u[i])})},22958(f,d,e){var n=e(61880),r=e(12907);f.exports=n(function(i,s,u){return r(i,u[s])})},57819(f,d,e){var n=e(61880),r=e(89970);f.exports=n(function(i,s,u){return u!=null&&r(s,u)?u[s]:i})},92213(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){return a(s[i])})},34597(f,d,e){var n=e(12591);f.exports=n(function(a,i){for(var s=a.length,u=[],l=0;l<s;)u[l]=i[a[l]],l+=1;return u})},61082(f,d,e){var n=e(12591),r=e(99753);f.exports=n(function(i,s){if(!(r(i)&&r(s)))throw new TypeError("Both arguments to range must be numbers");for(var u=[],l=i;l<s;)u.push(l),l+=1;return u})},89565(f,d,e){var n=e(61880),r=e(10782);f.exports=n(r)},28472(f,d,e){var n=e(6771),r=e(13738),a=e(89970),i=e(10782),s=e(48889);f.exports=n(4,[],r([],s,function(l,m,g,h){return i(function(v,b){var T=g(b);return v[T]=l(a(T,v)?v[T]:m,b),v},{},h)}))},14495(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){for(var u=s.length-1;u>=0;)i=a(s[u],i),u-=1;return i})},12300(f,d,e){var n=e(6771),r=e(10782),a=e(25424);f.exports=n(4,[],function(s,u,l,m){return r(function(g,h){return s(g,h)?u(g,h):a(g)},l,m)})},90045(f,d,e){var n=e(50338),r=e(25424);f.exports=n(r)},95932(f,d,e){var n=e(38860),r=e(12591),a=e(95353);f.exports=r(function(s,u){return a(n(s),u)})},3099(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){var u=Array.prototype.slice.call(s,0);return u.splice(a,i),u})}
711,77584(f,d,e){var n=e(12591),r=e(44914),a=e(68061);f.exports=n(function(s,u){return a(r(s),u)})},98283(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){return s.replace(a,i)})},87605(f,d,e){var n=e(50338),r=e(95701);f.exports=n(function(i){return r(i)?i.split("").reverse().join(""):Array.prototype.slice.call(i,0).reverse()})},43065(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){for(var u=0,l=s.length,m=[i];u<l;)i=a(i,s[u]),m[u+1]=i,u+=1;return m})},56594(f,d,e){var n=e(12591),r=e(46966),a=e(16997),i=e(41739),s=e(14495);f.exports=n(function(l,m){return typeof m.sequence=="function"?m.sequence(l):s(function(g,h){return r(a(i,g),h)},l([]),m)})},81619(f,d,e){var n=e(61880),r=e(44914),a=e(513);f.exports=n(function(s,u,l){return a(s,r(u),l)})},22713(f,d,e){var n=e(11218),r=e(61880);f.exports=r(n("slice",function(i,s,u){return Array.prototype.slice.call(u,i,s)}))},6199(f,d,e){var n=e(12591);f.exports=n(function(a,i){return Array.prototype.slice.call(i,0).sort(a)})},18678(f,d,e){var n=e(12591);f.exports=n(function(a,i){return Array.prototype.slice.call(i,0).sort(function(s,u){var l=a(s),m=a(u);return l<m?-1:l>m?1:0})})},10031(f,d,e){var n=e(12591);f.exports=n(function(a,i){return Array.prototype.slice.call(i,0).sort(function(s,u){for(var l=0,m=0;l===0&&m<a.length;)l=a[m](s,u),m+=1;return l})})},47971(f,d,e){var n=e(39701);f.exports=n(1,"split")},42426(f,d,e){var n=e(12591),r=e(8695),a=e(22713);f.exports=n(function(s,u){return[a(0,s,u),a(s,r(u),u)]})},13708(f,d,e){var n=e(12591),r=e(22713);f.exports=n(function(i,s){if(i<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var u=[],l=0;l<s.length;)u.push(r(l,l+=i,s));return u})},15323(f,d,e){var n=e(12591);f.exports=n(function(a,i){for(var s=0,u=i.length,l=[];s<u&&!a(i[s]);)l.push(i[s]),s+=1;return[l,Array.prototype.slice.call(i,s)]})},51582(f,d,e){var n=e(12591),r=e(33182),a=e(10300);f.exports=n(function(i,s){return r(a(i.length,s),i)})},96231(f,d,e){var n=e(12591);f.exports=n(function(a,i){return Number(a)-Number(i)})},53684(f,d,e){var n=e(43180),r=e(89565);f.exports=r(n,0)},98911(f,d,e){var n=e(12591),r=e(54811),a=e(67404);f.exports=n(function(s,u){return r(a(s,u),a(u,s))})},63799(f,d,e){var n=e(61880),r=e(54811),a=e(10004);f.exports=n(function(s,u,l){return r(a(s,u,l),a(s,l,u))})},91513(f,d,e){var n=e(11218),r=e(50338),a=e(22713);f.exports=r(n("tail",a(1,1/0)))},10300(f,d,e){var n=e(12591),r=e(13738),a=e(9189),i=e(22713);f.exports=n(r(["take"],a,function(u,l){return i(0,u<0?1/0:u,l)}))},75372(f,d,e){var n=e(12591),r=e(21890);f.exports=n(function(i,s){return r(i>=0?s.length-i:0,s)})},25807(f,d,e){var n=e(12591);f.exports=n(function(a,i){for(var s=i.length-1;s>=0&&a(i[s]);)s-=1;return Array.prototype.slice.call(i,s+1)})},52319(f,d,e){var n=e(12591),r=e(13738),a=e(32916);f.exports=n(r(["takeWhile"],a,function(s,u){for(var l=0,m=u.length;l<m&&s(u[l]);)l+=1;return Array.prototype.slice.call(u,0,l)}))},36330(f,d,e){var n=e(12591);f.exports=n(function(a,i){return a(i),i})},64943(f,d,e){var n=e(24158),r=e(12591),a=e(46629),i=e(6015);f.exports=r(function(u,l){if(!a(u))throw new TypeError("\u2018test\u2019 requires a value of type RegExp as its first argument; received "+i(u));return n(u).test(l)})},68061(f,d,e){var n=e(12591);f.exports=n(function(a,i){var s=Number(i),u=0,l;if(s<0||isNaN(s))throw new RangeError("n must be a non-negative number");for(l=new Array(s);u<s;)l[u]=a(u),u+=1;return l})},37541(f,d,e){var n=e(39701);f.exports=n(0,"toLowerCase")},99657(f,d,e){var n=e(50338),r=e(89970);f.exports=n(function(i){var s=[];for(var u in i)r(u,i)&&(s[s.length]=[u,i[u]]);return s})},4050(f,d,e){var n=e(50338);f.exports=n(function(a){var i=[];for(var s in a)i[i.length]=[s,a[s]];return i})},6015(f,d,e){var n=e(50338),r=e(90668);f.exports=n(function(i){return r(i,[])})},12764(f,d,e){var n=e(39701);f.exports=n(0,"toUpperCase")},72242(f,d,e){var n=e(10782),r=e(40154),a=e(66048);f.exports=a(4,function(s,u,l,m){return n(s(typeof u=="function"?r(u):u),l,m)})},18272(f,d,e){var n=e(50338);f.exports=n(function(a){for(var i=0,s=[];i<a.length;){for(var u=a[i],l=0;l<u.length;)typeof s[l]>"u"&&(s[l]=[]),s[l].push(u[l]),l+=1;i+=1}return s})},61885(f,d,e){var n=e(61880),r=e(16997),a=e(56594);f.exports=n(function(s,u,l){return typeof l["fantasy-land/traverse"]=="function"?l["fantasy-land/traverse"](u,s):a(s,r(u,l))})},53095(f,d,e){var n=e(50338);f.exports=(function(){var r=` 712\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,a="\u200B",i=typeof String.prototype.trim=="function";return!i||r.trim()||!a.trim()?n(function(u){var l=new RegExp("^["+r+"]["+r+"]*"),m=new RegExp("["+r
712+"]["+r+"]*$");return u.replace(l,"").replace(m,"")}):n(function(u){return u.trim()})})()},89363(f,d,e){var n=e(69295),r=e(78240),a=e(12591);f.exports=a(function(s,u){return n(s.length,function(){try{return s.apply(this,arguments)}catch(l){return u.apply(this,r([l],arguments))}})})},21227(f,d,e){var n=e(50338);f.exports=n(function(a){return a===null?"Null":a===void 0?"Undefined":Object.prototype.toString.call(a).slice(8,-1)})},24074(f,d,e){var n=e(50338);f.exports=n(function(a){return function(){return a(Array.prototype.slice.call(arguments,0))}})},76128(f,d,e){var n=e(50338),r=e(15859);f.exports=n(function(i){return r(1,i)})},9391(f,d,e){var n=e(12591),r=e(66048);f.exports=n(function(i,s){return r(i,function(){for(var u=1,l=s,m=0,g;u<=i&&typeof l=="function";)g=u===i?arguments.length:m+l.length,l=l.apply(this,Array.prototype.slice.call(arguments,m,g)),u+=1,m=g;return l})})},65571(f,d,e){var n=e(12591);f.exports=n(function(a,i){for(var s=a(i),u=[];s&&s.length;)u[u.length]=s[0],s=a(s[1]);return u})},12888(f,d,e){var n=e(78240),r=e(12591),a=e(31735),i=e(17810);f.exports=r(a(i,n))},8544(f,d,e){var n=e(78240),r=e(61880),a=e(21902);f.exports=r(function(s,u,l){return a(s,n(u,l))})},17810(f,d,e){var n=e(17193),r=e(9511);f.exports=r(n)},9511(f,d,e){var n=e(39498),r=e(12591);f.exports=r(function(i,s){for(var u=new n,l=[],m=0,g,h;m<s.length;)h=s[m],g=i(h),u.add(g)&&l.push(h),m+=1;return l})},21902(f,d,e){var n=e(23689),r=e(12591);f.exports=r(function(i,s){for(var u=0,l=s.length,m=[],g;u<l;)g=s[u],n(i,g,m)||(m[m.length]=g),u+=1;return m})},15509(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){return a(s)?s:i(s)})},23582(f,d,e){var n=e(30526),r=e(24806);f.exports=r(n)},57515(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){for(var u=s;!a(u);)u=i(u);return u})},35934(f,d,e){var n=e(61880),r=e(24160),a=e(44914);f.exports=n(function(s,u,l){return r(a(u),s,l)})},99540(f,d,e){var n=e(12591),r=e(66048);f.exports=n(function(i,s){return r(s.length,function(){for(var u=[],l=0;l<s.length;)u.push(s[l].call(this,arguments[l])),l+=1;return i.apply(this,u.concat(Array.prototype.slice.call(arguments,s.length)))})})},98757(f,d,e){var n=e(50338),r=e(2639);f.exports=n(function(i){for(var s=r(i),u=s.length,l=[],m=0;m<u;)l[m]=i[s[m]],m+=1;return l})},25142(f,d,e){var n=e(50338);f.exports=n(function(a){var i,s=[];for(i in a)s[s.length]=a[i];return s})},50334(f,d,e){var n=e(12591);f.exports=(function(){var r=function(a){return{value:a,"fantasy-land/map":function(){return this}}};return n(function(i,s){return i(r)(s).value})})()},50283(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){return a(s)?i(s):s})},42932(f,d,e){var n=e(12591),r=e(89970);f.exports=n(function(i,s){for(var u in i)if(r(u,i)&&!i[u](s[u]))return!1;return!0})},5006(f,d,e){var n=e(12591),r=e(33182),a=e(16997),i=e(42932);f.exports=n(function(u,l){return i(a(r,u),l)})},45831(f,d,e){var n=e(93781),r=e(12591),a=e(19892),i=e(95932);f.exports=r(function(s,u){return i(a(n)(s),u)})},61482(f,d,e){var n=e(12591);f.exports=n(function(a,i){for(var s=0,u=a.length,l,m=i.length,g=[];s<u;){for(l=0;l<m;)g[g.length]=[a[s],i[l]],l+=1;s+=1}return g})},73280(f,d,e){var n=e(12591);f.exports=n(function(a,i){for(var s=[],u=0,l=Math.min(a.length,i.length);u<l;)s[u]=[a[u],i[u]],u+=1;return s})},51983(f,d,e){var n=e(12591);f.exports=n(function(a,i){for(var s=0,u=Math.min(a.length,i.length),l={};s<u;)l[a[s]]=i[s],s+=1;return l})},904(f,d,e){var n=e(61880);f.exports=n(function(a,i,s){for(var u=[],l=0,m=Math.min(i.length,s.length);l<m;)u[l]=a(i[l],s[l]),l+=1;return u})},10987(f,d,e){var n=e(74822),r=n(!0);f.exports=r},74822(f,d,e){var n=e(2326),r=n(function(i){return function(){return i}});f.exports=r},48224(f,d,e){var n=e(13868),r=n(function(i,s,u){var l={};for(var m in u)l[m]=u[m];return l[i]=s,l});f.exports=r},73532(f,d,e){var n=e(19851),r=e(21971),a=r(function(s,u){return n(s.length,function(){return s.apply(u,arguments)})});f.exports=a},96975(f,d,e){var n=e(19851),r=e(2326),a=e(63993),i=e(80225),s=e(62177),u=r(function(m){var g=s(i,0,a(function(h){return h[0].length},m));return n(g,function(){for(var h=0;h<m.length;){if(m[h][0].apply(this,arguments))return m[h][1].apply(this,arguments);h+=1}})});f.exports=u},91358(f,d,e){var n=e(21971),r=e(16364),a=e(95396),i=e(80225),s=e(47194),u=e(62177),l=n(function(g,h){return a(u(i,0,s("length",h)),function(){var v=arguments,b=this;return g.apply(b,r(function(T){return T.apply(b,v)},h))})});f.exports=l},79400(f,d,e){var n=e(2326),r=e(95396),a=n(function(s){return r(s.length,s)});f.exports=a},95396(f,d,e){var n=e(19851),r=e(2326),a=e(21971),i=e(27791),s=a(function(l,m){return l===1?r(m):n(l,i(l,[],m))});f.exports=s},41068(f,d,e){var n=e(21971),r=n(function(i,s){var u={};for(var l in s)u[l]=s[l];return delete u[i],u});f.exports=r},74108(f,d,e){var n=e(21971),r=n(function(i,s){return i in s});f.exports=r},42101(f,d,e){var n=e(2326),r=e(52434),a=n(r);f.exports=a},19851(f){function d(e,n){switch(e){case 0:return function(){return n.apply(this,arguments)};case 1:return function(r){return n.apply(this,arguments)};case 2:return function(r,a){return n.apply(this,arguments)};case 3:return function(r,a,i){return n.apply(this,arguments)};case 4:return function(r,a,i,s){return n.apply(this,arguments)};case 5:return function(r,a,i,s,u){return n.apply(this,arguments)};case 6:return function(r,a,i,s,u,l){return n.apply(this,arguments)};case 7:return function(r,a,i,s,u,l,m){return n.apply(this,arguments)};case 8:return function(r,a,i,s,u,l,m,g){return n.apply(this,arguments)};case 9:return function(r,a,i,s,u,l,m,g,h){return n.apply(this,arguments)};case 10:return function(r,a,i,s,u,l,m,g,h,v){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}f.exports=d},2326(f,d,e){var n=e(94711);function r(a){return function i(s){return arguments.length===0||n(s)?i:a.apply(this,arguments)}}f.exports=r},21971(f,d,e){var n=e(2326),r=e(94711);function a(i){return function s(u,l){switch(arguments.length){case 0:return s;case 1:return r(u)?s:n(function(m){return i(u,m)});default:return r(u)&&r(l)?s:r(u)?n(function(m){return i(m,l)}):r(l)?n(function(m){return i(u,m)}):i(u,l)}}}f.exports=a},13868(f,d,e){var n=e(2326),r=e(21971),a=e(94711);function i(s){return function u(l,m,g){switch(arguments.length){case 0:return u;case 1:return a(l)?u:r(function(h,v){return s(l,h,v)});case 2:return a(l)&&a(m)?u:a(l)?r(function(h,v){return s(h,m,v)}):a(m)?r(function(h,v){return s(l,h,v)}):n(function(h){return s(l,m,h)});default:return a(l)&&a(m)&&a(g)?u:a(l)&&a(m)?r(function(h,v){return s(h,v,g)}):a(l)&&a(g)?r(function(h,v){return s(h,m,v)}):a(m)&&a(g)?r(function(h,v){return s(l,h,v)}):a(l)?n(function(h){return s(h,m,g)}):a(m)?n(function(h){return s(l,h,g)}):a(g)?n(function(h){return s(l,m,h)}):s(l,m,g)}}}f.exports=i},27791(f,d,e){var n=e(19851),r=e(94711);function a(i,s,u){return function(){for(var l=[],m=0,g=i,h=0;h<s.length||m<arguments.length;){var v;h<s.length&&(!r(s[h])||m>=arguments.length)?v=s[h]:(v=arguments[m],m+=1),l[h]=v,r(v)||(g-=1),h+=1}return g<=0?u.apply(this,l):n(g,a(i,l,u))}}f.exports=a},40566(f,d,e){var n=e(55247),r=e(72457);function a(i,s,u){return function(){if(arguments.length===0)return u();var l=Array.prototype.slice.call(arguments,0),m=l.pop();if(!n(m)){for(var g=0;g<i.length;){if(typeof m[i[g]]=="function")return m[i[g]].apply(m,l);g+=1}if(r(m)){var h=s.apply(null,l);return h(m)}}return u.apply(this,arguments)}}f.exports=a},47894(f){function d(e,n){return Object.prototype.hasOwnProperty.call(n,e)}f.exports=d},52434(f){function d(e){return e}f.exports=d},8522(f,d,e){var n=e(47894),r=Object.prototype.toString,a=function(){return r.call(arguments)==="[object Arguments]"?function(s){return r.call(s)==="[object Arguments]"}:function(s){return n("callee",s)}};f.exports=a},55247(f){f.exports=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"}},10616(f,d,e){var n=e(2326),r=e(55247),a=e(49689),i=n(function(u){return r(u)?!0:!u||typeof u!="object"||a(u)?!1:u.nodeType===1?!!u.length:u.length===0?!0:u.length>0?u.hasOwnProperty(0)&&u.hasOwnProperty(u.length-1):!1});f.exports=i},42133(f){function d(e){return Object.prototype.toString.call(e)==="[object Number]"}f.exports=d},94711(f){function d(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}f.exports=d},49689(f){function d(e){return Object.prototype.toString.call(e)==="[object String]"}f.exports=d},72457(f){function d(e){return typeof e["@@transducer/step"]=="function"}f.exports=d},16364(f){function d(e,n){for(var r=0,a=n.length,i=Array(a);r<a;)i[r]=e(n[r]),r+=1;return i}f.exports=d},14634(f,d,e){var n=e(10616),r=e(58502),a=e(73532);function i(g,h,v){for(var b=0,T=v.length;b<T;){if(h=g["@@transducer/step"](h,v[b]),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}b+=1}return g["@@transducer/result"](h)}function s(g,h,v){for(var b=v.next();!b.done;){if(h=g["@@transducer/step"](h,b.value),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}b=v.next()}return g["@@transducer/result"](h)}function u(g,h,v,b){return g["@@transducer/result"](v[b](a(g["@@transducer/step"],g),h))}var l=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function m(g,h,v){if(typeof g=="function"&&(g=r(g)),n(v))return i(g,h,v);if(typeof v["fantasy-land/reduce"]=="function")return u(g,h,v,"fantasy-land/reduce");if(v[l]!=null)return s(g,h,v[l]());if(typeof v.next=="function")return s(g,h,v);if(typeof v.reduce=="function")return u(g,h,v,"reduce");throw new TypeError("reduce: list must be array or iterable")}f.exports=m},19291(f){f.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(d){return this.xf["@@transducer/result"](d)}}},81442(f,d,e){var n=e(21971),r=e(19291),a=(function(){function s(u,l){this.xf=l,this.f=u}return s.prototype["@@transducer/init"]=r.init,s.prototype["@@transducer/result"]=r.result,s.prototype["@@transducer/step"]=function(u,l){return this.xf["@@transducer/step"](u,this.f(l))},s})(),i=n(function(u,l){return new a(u,l)});f.exports=i},58502(f){var d=(function(){function n(r){this.f=r}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(r){return r},n.prototype["@@transducer/step"]=function(r,a){return this.f(r,a)},n})();function e(n){return new d(n)}f.exports=e},61611(f,d,e){var n=e(2326),r=e(47894),a=e(8522),i=!{toString:null}.propertyIsEnumerable("toString"),s=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
712ing"],u=(function(){"use strict";return arguments.propertyIsEnumerable("length")})(),l=function(v,b){for(var T=0;T<v.length;){if(v[T]===b)return!0;T+=1}return!1},m=typeof Object.keys=="function"&&!u?function(v){return Object(v)!==v?[]:Object.keys(v)}:function(v){if(Object(v)!==v)return[];var b,T,E=[],w=u&&a(v);for(b in v)r(b,v)&&(!w||b!=="length")&&(E[E.length]=b);if(i)for(T=s.length-1;T>=0;)b=s[T],r(b,v)&&!l(E,b)&&(E[E.length]=b),T-=1;return E},g=n(m);f.exports=g},13539(f,d,e){var n=e(2326),r=e(42133),a=n(function(s){return s!=null&&r(s.length)?s.length:NaN});f.exports=a},63993(f,d,e){var n=e(21971),r=e(40566),a=e(16364),i=e(14634),s=e(81442),u=e(95396),l=e(61611),m=n(r(["fantasy-land/map","map"],s,function(h,v){switch(Object.prototype.toString.call(v)){case"[object Function]":return u(v.length,function(){return h.call(this,v.apply(this,arguments))});case"[object Object]":return i(function(b,T){return b[T]=h(v[T]),b},{},l(v));default:return a(h,v)}}));f.exports=m},80225(f,d,e){var n=e(21971),r=n(function(i,s){return s>i?s:i});f.exports=r},26708(f,d,e){var n=e(21971),r=n(function(i,s){for(var u=s,l=0;l<i.length;){if(u==null)return;u=u[i[l]],l+=1}return u});f.exports=r},47194(f,d,e){var n=e(21971),r=e(63993),a=e(76138),i=n(function(u,l){return r(a(u),l)});f.exports=i},76138(f,d,e){var n=e(21971),r=e(26708),a=n(function(s,u){return r([s],u)});f.exports=a},62177(f,d,e){var n=e(13868),r=e(14634),a=n(r);f.exports=a},10886(f,d,e){var n=e(14634),r=e(58502),a=e(95396),i=a(4,function(u,l,m,g){return n(u(typeof l=="function"?r(l):l),m,g)});f.exports=i},96995(f,d,e){var n=e(21971),r=e(95396),a=n(function(s,u){return r(s,function(){for(var l=1,m=u,g=0,h;l<=s&&typeof m=="function";)h=l===s?arguments.length:g+m.length,m=m.apply(this,Array.prototype.slice.call(arguments,g,h)),l+=1,g=h;return m})});f.exports=a},66905(f,d,e){var n=e(2326),r=e(61611),a=n(function(s){for(var u=r(s),l=u.length,m=[],g=0;g<l;)m[g]=s[u[g]],g+=1;return m});f.exports=a},77559(f,d,e){var n=e(13868),r=n(function(i,s,u){return i(u)?s(u):u});f.exports=r},34110(f,d,e){var n=e(66825),r=e(71745),a=r(function(s,u){return n(s.length,function(){return s.apply(u,arguments)})});f.exports=a},23686(f,d,e){var n=e(66825),r=e(41608),a=e(71745),i=e(40997),s=a(function(l,m){return l===1?r(m):n(l,i(l,[],m))});f.exports=s},43856(f,d,e){var n=e(71745),r=e(45159),a=n(function(s,u){return r(s,u,[],[])});f.exports=a},5196(f,d,e){var n=e(71745),r=n(function a(i,s){var u=s instanceof Array?[]:{},l,m,g;for(m in s)l=i[m],g=typeof l,u[m]=g==="function"?l(s[m]):l&&g==="object"?a(l,s[m]):s[m];return u});f.exports=r},53991(f,d,e){var n=e(71745),r=e(1344),a=e(21472),i=e(94329),s=e(58320),u=e(55718),l=e(75421),m=n(r(["filter"],u,function(g,h){return i(h)?s(function(v,b){return g(h[b])&&(v[b]=h[b]),v},{},l(h)):a(g,h)}));f.exports=m},66825(f){function d(e,n){switch(e){case 0:return function(){return n.apply(this,arguments)};case 1:return function(r){return n.apply(this,arguments)};case 2:return function(r,a){return n.apply(this,arguments)};case 3:return function(r,a,i){return n.apply(this,arguments)};case 4:return function(r,a,i,s){return n.apply(this,arguments)};case 5:return function(r,a,i,s,u){return n.apply(this,arguments)};case 6:return function(r,a,i,s,u,l){return n.apply(this,arguments)};case 7:return function(r,a,i,s,u,l,m){return n.apply(this,arguments)};case 8:return function(r,a,i,s,u,l,m,g){return n.apply(this,arguments)};case 9:return function(r,a,i,s,u,l,m,g,h){return n.apply(this,arguments)};case 10:return function(r,a,i,s,u,l,m,g,h,v){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}f.exports=d},53859(f){function d(e){for(var n=[],r;!(r=e.next()).done;)n.push(r.value);return n}f.exports=d},79448(f,d,e){var n=e(12557);function r(a,i){return function(){var s=arguments.length;if(s===0)return i();var u=arguments[s-1];return n(u)||typeof u[a]!="function"?i.apply(this,arguments):u[a].apply(u,Array.prototype.slice.call(arguments,0,s-1))}}f.exports=r},19626(f){function d(e){return function(){return!e.apply(this,arguments)}}f.exports=d},41608(f,d,e){var n=e(63641);function r(a){return function i(s){return arguments.length===0||n(s)?i:a.apply(this,arguments)}}f.exports=r},71745(f,d,e){var n=e(41608),r=e(63641);function a(i){return function s(u,l){switch(arguments.length){case 0:return s;case 1:return r(u)?s:n(function(m){return i(u,m)});default:return r(u)&&r(l)?s:r(u)?n(function(m){return i(m,l)}):r(l)?n(function(m){return i(u,m)}):i(u,l)}}}f.exports=a},52018(f,d,e){var n=e(41608),r=e(71745),a=e(63641);function i(s){return function u(l,m,g){switch(arguments.length){case 0:return u;case 1:return a(l)?u:r(function(h,v){return s(l,h,v)});case 2:return a(l)&&a(m)?u:a(l)?r(function(h,v){return s(h,m,v)}):a(m)?r(function(h,v){return s(l,h,v)}):n(function(h){return s(l,m,h)});default:return a(l)&&a(m)&&a(g)?u:a(l)&&a(m)?r(function(h,v){return s(h,v,g)}):a(l)&&a(g)?r(function(h,v){return s(h,m,v)}):a(m)&&a(g)?r(function(h,v){return s(l,h,v)}):a(l)?n(function(h){return s(h,m,g)}):a(m)?n(function(h){return s(l,h,g)}):a(g)?n(function(h){return s(l,m,h)}):s(l,m,g)}}}f.exports=i},40997(f,d,e){var n=e(66825),r=e(63641);function a(i,s,u){return function(){for(var l=[],m=0,g=i,h=0;h<s.length||m<arguments.length;){var v;h<s.length&&(!r(s[h])||m>=arguments.length)?v=s[h]:(v=arguments[m],m+=1),l[h]=v,r(v)||(g-=1),h+=1}return g<=0?u.apply(this,l):n(g,a(i,l,u))}}f.exports=a},1344(f,d,e){var n=e(12557),r=e(20707);function a(i,s,u){return function(){if(arguments.length===0)return u();var l=Array.prototype.slice.call(arguments,0),m=l.pop();if(!n(m)){for(var g=0;g<i.length;){if(typeof m[i[g]]=="function")return m[i[g]].apply(m,l);g+=1}if(r(m)){var h=s.apply(null,l);return h(m)}}return u.apply(this,arguments)}}f.exports=a},45159(f,d,e){var n=e(53859),r=e(71431),a=e(30001),i=e(32388),s=e(84005),u=e(75421),l=e(8681);function m(h,v,b,T){var E=n(h),w=n(v);function C(O,U){return g(O,U,b.slice(),T.slice())}return!r(function(O,U){return!r(C,U,O)},w,E)}function g(h,v,b,T){if(s(h,v))return!0;var E=l(h);if(E!==l(v)||h==null||v==null)return!1;if(typeof h["fantasy-land/equals"]=="function"||typeof v["fantasy-land/equals"]=="function")return typeof h["fantasy-land/equals"]=="function"&&h["fantasy-land/equals"](v)&&typeof v["fantasy-land/equals"]=="function"&&v["fantasy-land/equals"](h);if(typeof h.equals=="function"||typeof v.equals=="function")return typeof h.equals=="function"&&h.equals(v)&&typeof v.equals=="function"&&v.equals(h);switch(E){case"Arguments":case"Array":case"Object":if(typeof h.constructor=="function"&&a(h.constructor)==="Promise")return h===v;break;case"Boolean":case"Number":case"String":if(!(typeof h==typeof v&&s(h.valueOf(),v.valueOf())))return!1;break;case"Date":if(!s(h.valueOf(),v.valueOf()))return!1;break;case"Error":return h.name===v.name&&h.message===v.message;case"RegExp":if(!(h.source===v.source&&h.global===v.global&&h.ignoreCase===v.ignoreCase&&h.multiline===v.multiline&&h.sticky===v.sticky&&h.unicode===v.unicode))return!1;break}for(var w=b.length-1;w>=0;){if(b[w]===h)return T[w]===v;w-=1}switch(E){case"Map":return h.size!==v.size?!1:m(h.entries(),v.entries(),b.concat([h]),T.concat([v]));case"Set":return h.size!==v.size?!1:m(h.values(),v.values(),b.concat([h]),T.concat([v]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var C=u(h);if(C.length!==u(v).length)return!1;var O=b.concat([h]),U=T.concat([v]);for(w=C.length-1;w>=0;){var D=C[w];if(!(i(D,v)&&g(v[D],h[D],O,U)))return!1;w-=1}return!0}f.exports=g},21472(f){function d(e,n){for(var r=0,a=n.length,i=[];r<a;)e(n[r])&&(i[i.length]=n[r]),r+=1;return i}f.exports=d},30001(f){function d(e){var n=String(e).match(/^function (\w*)/);return n==null?"":n[1]}f.exports=d},32388(f){function d(e,n){return Object.prototype.hasOwnProperty.call(n,e)}f.exports=d},53871(f,d,e){var n=e(2037);function r(a,i){return n(i,a,0)>=0}f.exports=r},71431(f){function d(e,n,r){for(var a=0,i=r.length;a<i;){if(e(n,r[a]))return!0;a+=1}return!1}f.exports=d},2037(f,d,e){var n=e(43856);function r(a,i,s){var u,l;if(typeof a.indexOf=="function")switch(typeof i){case"number":if(i===0){for(u=1/i;s<a.length;){if(l=a[s],l===0&&1/l===u)return s;s+=1}return-1}else if(i!==i){for(;s<a.length;){if(l=a[s],typeof l=="number"&&l!==l)return s;s+=1}return-1}return a.indexOf(i,s);case"string":case"boolean":case"function":case"undefined":return a.indexOf(i,s);case"object":if(i===null)return a.indexOf(i,s)}for(;s<a.length;){if(n(a[s],i))return s;s+=1}return-1}f.exports=r},58840(f,d,e){var n=e(32388),r=Object.prototype.toString,a=(function(){return r.call(arguments)==="[object Arguments]"?function(s){return r.call(s)==="[object Arguments]"}:function(s){return n("callee",s)}})();f.exports=a},12557(f){f.exports=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"}},83114(f,d,e){var n=e(41608),r=e(12557),a=e(86211),i=n(function(u){return r(u)?!0:!u||typeof u!="object"||a(u)?!1:u.nodeType===1?!!u.length:u.length===0?!0:u.length>0?u.hasOwnProperty(0)&&u.hasOwnProperty(u.length-1):!1});f.exports=i},58622(f){function d(e){return Object.prototype.toString.call(e)==="[object Function]"}f.exports=d},94329(f){function d(e){return Object.prototype.toString.call(e)==="[object Object]"}f.exports=d},63641(f){function d(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}f.exports=d},86211(f){function d(e){return Object.prototype.toString.call(e)==="[object String]"}f.exports=d},20707(f){function d(e){return e!=null&&typeof e["@@transducer/step"]=="function"}f.exports=d},11286(f){function d(e,n){for(var r=0,a=n.length,i=Array(a);r<a;)i[r]=e(n[r]),r+=1;return i}f.exports=d},84005(f){function d(e,n){return e===n?e!==0||1/e===1/n:e!==e&&n!==n}f.exports=typeof Object.is=="function"?Object.is:d},68478(f){function d(e,n){return function(){return n.call(this,e.apply(this,arguments))}}f.exports=d},45856(f){function d(e){var n=e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+n.replace(/"/g,'\\"')+'"'}f.exports=d},58320(f,d,e){var n=e(83114),r=e(55544),a=e(34110);function i(g,h,v){for(var b=0,T=v.length;b<T;){if(h=g["@@transducer/step"](h,v[b]),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}b+=1}return g["@@transducer/result"](h)}function s(g,h,v){for(var b=v.next();!b.done;){if(h=g["@@transducer/step"](h,b.value),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}b=v.next()}return g["@@transducer/result"](h)}function u(g,h,v,b){return g["@@transducer/result"](v[b](a(g["@@transducer/step"],g),h))}var l=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function m(g,h,v){if(typeof g=="function"&&(g=r(g)),n(v))return i(g,h,v);if(typeof v["fantasy-land/reduce"]=="function")return u(g,h,v,"fantasy-land/reduce");if(v[l]!=null)return s(g,h,v[l]());if(typeof v.next=="function")return s(g,h,v);if(typeof v.reduce=="function")return u(g,h,v,"reduce");throw new TypeError("reduce: list must be array or iterable")}f.exports=m},17895(f){var d=function(r){return(r<10?"0":"")+r},e=typeof Date.prototype.toISOString=="function"?function(r){return r.toISOString()}:function(r){return r.getUTCFullYear()+"-"+d(r.getUTCMonth()+1)+"-"+d(r.getUTCDate())+"T"+d(r.getUTCHours())+":"+d(r.getUTCMinutes())+":"+d(r.getUTCSeconds())+"."+(r.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};f.exports=e},80146(f,d,e){var n=e(53871),r=e(11286),a=e(45856),i=e(17895),s=e(75421),u=e(85158);function l(m,g){var h=function(E){var w=g.concat([m]);return n(E,w)?"<Circular>":l(E,w)},v=function(T,E){return r(function(w){return a(w)+": "+h(T[w])},E.slice().sort())};switch(Object.prototype.toString.call(m)){case"[object Arguments]":return"(function() { return arguments; }("+r(h,m).join(", ")+"))";case"[object Array]":return"["+r(h,m).concat(v(m,u(function(T){return/^\d+$/.test(T)},s(m)))).join(", ")+"]";case"[object Boolean]":return typeof m=="object"?"new Boolean("+h(m.valueOf())+")":m.toString();case"[object Date]":return"new Date("+(isNaN(m.valueOf())?h(NaN):a(i(m)))+")";case"[object Null]":return"null";case"[object Number]":return typeof m=="object"?"new Number("+h(m.valueOf())+")":1/m===-1/0?"-0":m.toString(10);case"[object String]":return typeof m=="object"?"new String("+h(m.valueOf())+")":a(m);
712case"[object Undefined]":return"undefined";default:if(typeof m.toString=="function"){var b=m.toString();if(b!=="[object Object]")return b}return"{"+v(m,s(m)).join(", ")+"}"}}f.exports=l},69301(f){f.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(d){return this.xf["@@transducer/result"](d)}}},55718(f,d,e){var n=e(71745),r=e(69301),a=(function(){function s(u,l){this.xf=l,this.f=u}return s.prototype["@@transducer/init"]=r.init,s.prototype["@@transducer/result"]=r.result,s.prototype["@@transducer/step"]=function(u,l){return this.f(l)?this.xf["@@transducer/step"](u,l):u},s})(),i=n(function(u,l){return new a(u,l)});f.exports=i},51472(f,d,e){var n=e(71745),r=e(69301),a=(function(){function s(u,l){this.xf=l,this.f=u}return s.prototype["@@transducer/init"]=r.init,s.prototype["@@transducer/result"]=r.result,s.prototype["@@transducer/step"]=function(u,l){return this.xf["@@transducer/step"](u,this.f(l))},s})(),i=n(function(u,l){return new a(u,l)});f.exports=i},55544(f){var d=(function(){function n(r){this.f=r}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(r){return r},n.prototype["@@transducer/step"]=function(r,a){return this.f(r,a)},n})();function e(n){return new d(n)}f.exports=e},34291(f,d,e){var n=e(71745),r=e(58622),a=e(23686),i=e(921),s=n(function(l,m){return a(l+1,function(){var g=arguments[l];if(g!=null&&r(g[m]))return g[m].apply(g,Array.prototype.slice.call(arguments,0,l));throw new TypeError(i(g)+' does not have a method named "'+m+'"')})});f.exports=s},5597(f,d,e){var n=e(34291),r=n(1,"join");f.exports=r},75421(f,d,e){var n=e(41608),r=e(32388),a=e(58840),i=!{toString:null}.propertyIsEnumerable("toString"),s=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=(function(){"use strict";return arguments.propertyIsEnumerable("length")})(),l=function(h,v){for(var b=0;b<h.length;){if(h[b]===v)return!0;b+=1}return!1},m=n(typeof Object.keys=="function"&&!u?function(h){return Object(h)!==h?[]:Object.keys(h)}:function(h){if(Object(h)!==h)return[];var v,b,T=[],E=u&&a(h);for(v in h)r(v,h)&&(!E||v!=="length")&&(T[T.length]=v);if(i)for(b=s.length-1;b>=0;)v=s[b],r(v,h)&&!l(T,v)&&(T[T.length]=v),b-=1;return T});f.exports=m},74103(f,d,e){var n=e(71745),r=e(1344),a=e(11286),i=e(58320),s=e(51472),u=e(23686),l=e(75421),m=n(r(["fantasy-land/map","map"],s,function(h,v){switch(Object.prototype.toString.call(v)){case"[object Function]":return u(v.length,function(){return h.call(this,v.apply(this,arguments))});case"[object Object]":return i(function(b,T){return b[T]=h(v[T]),b},{},l(v));default:return a(h,v)}}));f.exports=m},16585(f,d,e){var n=e(71745),r=n(function(i,s){return i*s});f.exports=r},76652(f,d,e){var n=e(71745),r=n(function(i,s){for(var u={},l={},m=0,g=i.length;m<g;)l[i[m]]=1,m+=1;for(var h in s)l.hasOwnProperty(h)||(u[h]=s[h]);return u});f.exports=r},67180(f,d,e){var n=e(71745),r=n(function(i,s){for(var u={},l=0;l<i.length;)i[l]in s&&(u[i[l]]=s[i[l]]),l+=1;return u});f.exports=r},47269(f,d,e){var n=e(66825),r=e(68478),a=e(18331),i=e(12095);function s(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return n(arguments[0].length,a(r,arguments[0],i(arguments)))}f.exports=s},18331(f,d,e){var n=e(52018),r=e(58320),a=n(r);f.exports=a},85158(f,d,e){var n=e(19626),r=e(71745),a=e(53991),i=r(function(u,l){return a(n(u),l)});f.exports=i},77723(f,d,e){var n=e(79448),r=e(52018),a=r(n("slice",function(s,u,l){return Array.prototype.slice.call(l,s,u)}));f.exports=a},12095(f,d,e){var n=e(79448),r=e(41608),a=e(77723),i=r(n("tail",a(1,1/0)));f.exports=i},26759(f,d,e){var n=e(41608),r=e(32388),a=n(function(s){var u=[];for(var l in s)r(l,s)&&(u[u.length]=[l,s[l]]);return u});f.exports=a},921(f,d,e){var n=e(41608),r=e(80146),a=n(function(s){return r(s,[])});f.exports=a},8681(f,d,e){var n=e(41608),r=n(function(i){return i===null?"Null":i===void 0?"Undefined":Object.prototype.toString.call(i).slice(8,-1)});f.exports=r},87153(f,d,e){var n=e(71745),r=e(23686),a=n(function(s,u){return r(s,function(){for(var l=1,m=u,g=0,h;
712l<=s&&typeof m=="function";)h=l===s?arguments.length:g+m.length,m=m.apply(this,Array.prototype.slice.call(arguments,g,h)),l+=1,g=h;return m})});f.exports=a},48241(f,d,e){var n=e(52018),r=n(function(i,s,u){return i(u)?s(u):u});f.exports=r},9083(f){var d=function(){return!0};f.exports=d},26966(f,d,e){var n=e(28198),r=n(function(i){return function(){return i}});f.exports=r},63970(f,d,e){var n=e(49955),r=n(function(i,s){return i&&s});f.exports=r},64312(f,d,e){var n=e(28198),r=e(62484),a=e(9649),i=e(32586),s=e(48337),u=n(function(m){return r(s(a,0,i("length",m)),function(){for(var g=0,h=m.length;g<h;){if(m[g].apply(this,arguments))return!0;g+=1}return!1})});f.exports=u},86490(f,d,e){var n=e(95876),r=e(49955),a=e(19802),i=e(61065),s=r(function(l,m){return typeof m["fantasy-land/ap"]=="function"?m["fantasy-land/ap"](l):typeof l.ap=="function"?l.ap(m):typeof l=="function"?function(g){return l(g)(m(g))}:a(function(g,h){return n(g,i(h,m))},[],l)});f.exports=s},71571(f,d,e){var n=e(49955),r=n(function(i,s){return i.apply(this,s)});f.exports=r},99788(f,d,e){var n=e(38363),r=e(49955),a=r(function(s,u){return n(s.length,function(){return s.apply(u,arguments)})});f.exports=a},33668(f,d,e){var n=e(49955),r=e(26616),a=e(63970),i=e(69030),s=n(function(l,m){return r(l)?function(){return l.apply(this,arguments)&&m.apply(this,arguments)}:i(a)(l,m)});f.exports=s},8327(f,d,e){var n=e(69030),r=e(29938),a=n(r);f.exports=a},61811(f,d,e){var n=e(37443),r=e(68465);function a(){if(arguments.length===0)throw new Error("compose requires at least one argument");return n.apply(this,r(arguments))}f.exports=a},98483(f,d,e){var n=e(14499),r=e(68465);function a(){if(arguments.length===0)throw new Error("composeP requires at least one argument");return n.apply(this,r(arguments))}f.exports=a},74695(f,d,e){var n=e(49955),r=e(60703),a=e(26616),i=e(54953),s=e(56459),u=n(function(m,g){if(r(m)){if(r(g))return m.concat(g);throw new TypeError(s(g)+" is not an array")}if(i(m)){if(i(g))return m+g;throw new TypeError(s(g)+" is not a string")}if(m!=null&&a(m["fantasy-land/concat"]))return m["fantasy-land/concat"](g);if(m!=null&&a(m.concat))return m.concat(g);throw new TypeError(s(m)+' does not have a method named "concat" or "fantasy-land/concat"')});f.exports=u},30936(f,d,e){var n=e(28198),r=e(62484),a=n(function(s){return r(s.length,s)});f.exports=a},62484(f,d,e){var n=e(38363),r=e(28198),a=e(49955),i=e(18783),s=a(function(l,m){return l===1?r(m):n(l,i(l,[],m))});f.exports=s},90771(f,d,e){var n=e(49955),r=n(function(i,s){return s==null||s!==s?i:s});f.exports=r},82808(f,d,e){var n=e(49955),r=e(96798),a=n(function(s,u){for(var l=[],m=0,g=s.length,h=u.length,v=new r,b=0;b<h;b+=1)v.add(u[b]);for(;m<g;)v.add(s[m])&&(l[l.length]=s[m]),m+=1;return l});f.exports=a},29583(f,d,e){var n=e(49955),r=n(function(i,s){var u={};for(var l in s)u[l]=s[l];return delete u[i],u});f.exports=r},68642(f,d,e){var n=e(49955),r=e(26616),a=e(69030),i=e(7950),s=n(function(l,m){return r(l)?function(){return l.apply(this,arguments)||m.apply(this,arguments)}:a(i)(l,m)});f.exports=s},85338(f,d,e){var n=e(49955),r=e(21117),a=n(function(s,u){return r(s,u,[],[])});f.exports=a},68045(f,d,e){var n=e(49955),r=e(7654),a=e(56802),i=e(55039),s=e(19802),u=e(55868),l=e(75675),m=n(r(["filter"],u,function(g,h){return i(h)?s(function(v,b){return g(h[b])&&(v[b]=h[b]),v},{},l(h)):a(g,h)}));f.exports=m},98183(f,d,e){var n=e(49955),r=e(7396),a=n(function(s,u){return r([s],u)});f.exports=a},7396(f,d,e){var n=e(49955),r=e(55366),a=e(63572),i=n(function(u,l){if(u.length===0||a(l))return!1;for(var m=l,g=0;g<u.length;)if(!a(m)&&r(u[g],m))m=m[u[g]],g+=1;else return!1;return!0});f.exports=i},95977(f,d,e){var n=e(51964),r=e(62484),a=n(function(s,u,l){return r(Math.max(s.length,u.length,l.length),function(){return s.apply(this,arguments)?u.apply(this,arguments):l.apply(this,arguments)})});f.exports=a},96798(f,d,e){var n=e(72693),r=(function(){function i(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}return i.prototype.add=function(s){return!a(s,!0,this)},i.prototype.has=function(s){return a(s,!1,this)},i})();function a(i,s,u){var l=typeof i,m,g;switch(l){case"string":case"number":return i===0&&1/i===-1/0?u._items["-0"]?!0:(s&&(u._items["-0"]=!0),!1):u._nativeSet!==null?s?(m=u._nativeSet.size,u._nativeSet.add(i),g=u._nativeSet.size,g===m):u._nativeSet.has(i):l in u._items?i in u._items[l]?!0:(s&&(u._items[l][i]=!0),!1):(s&&(u._items[l]={},u._items[l][i]=!0),!1);case"boolean":if(l in u._items){var h=i?1:0;return u._items[l][h]?!0:(s&&(u._items[l][h]=!0),!1)}else return s&&(u._items[l]=i?[!1,!0]:[!0,!1]),!1;case"function":return u._nativeSet!==null?s?(m=u._nativeSet.size,u._nativeSet.add(i),g=u._nativeSet.size,g===m):u._nativeSet.has(i):l in u._items?n(i,u._items[l])?!0:(s&&u._items[l].push(i),!1):(s&&(u._items[l]=[i]),!1);case"undefined":return u._items[l]?!0:(s&&(u._items[l]=!0),!1);case"object":if(i===null)return u._items.null?!0:(s&&(u._items.null=!0),!1);default:return l=Object.prototype.toString.call(i),l in u._items?n(i,u._items[l])?!0:(s&&u._items[l].push(i),!1):(s&&(u._items[l]=[i]),!1)}}f.exports=r},38363(f){function d(e,n){switch(e){case 0:return function(){return n.apply(this,arguments)};case 1:return function(r){return n.apply(this,arguments)};case 2:return function(r,a){return n.apply(this,arguments)};case 3:return function(r,a,i){return n.apply(this,arguments)};case 4:return function(r,a,i,s){return n.apply(this,arguments)};case 5:return function(r,a,i,s,u){return n.apply(this,arguments)};case 6:return function(r,a,i,s,u,l){return n.apply(this,arguments)};case 7:return function(r,a,i,s,u,l,m){return n.apply(this,arguments)};case 8:return function(r,a,i,s,u,l,m,g){return n.apply(this,arguments)};case 9:return function(r,a,i,s,u,l,m,g,h){return n.apply(this,arguments)};case 10:return function(r,a,i,s,u,l,m,g,h,v){return n.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}f.exports=d},72521(f){function d(e){for(var n=[],r;!(r=e.next()).done;)n.push(r.value);return n}f.exports=d},12670(f,d,e){var n=e(60703);function r(a,i){return function(){var s=arguments.length;if(s===0)return i();var u=arguments[s-1];
712return n(u)||typeof u[a]!="function"?i.apply(this,arguments):u[a].apply(u,Array.prototype.slice.call(arguments,0,s-1))}}f.exports=r},87064(f){function d(e){return function(){return!e.apply(this,arguments)}}f.exports=d},95876(f){function d(e,n){e=e||[],n=n||[];var r,a=e.length,i=n.length,s=[];for(r=0;r<a;)s[s.length]=e[r],r+=1;for(r=0;r<i;)s[s.length]=n[r],r+=1;return s}f.exports=d},73034(f,d,e){var n=e(38363),r=e(49955);function a(i){return r(function(s,u){return n(Math.max(0,s.length-u.length),function(){return s.apply(this,i(u,arguments))})})}f.exports=a},28198(f,d,e){var n=e(73255);function r(a){return function i(s){return arguments.length===0||n(s)?i:a.apply(this,arguments)}}f.exports=r},49955(f,d,e){var n=e(28198),r=e(73255);function a(i){return function s(u,l){switch(arguments.length){case 0:return s;case 1:return r(u)?s:n(function(m){return i(u,m)});default:return r(u)&&r(l)?s:r(u)?n(function(m){return i(m,l)}):r(l)?n(function(m){return i(u,m)}):i(u,l)}}}f.exports=a},51964(f,d,e){var n=e(28198),r=e(49955),a=e(73255);function i(s){return function u(l,m,g){switch(arguments.length){case 0:return u;case 1:return a(l)?u:r(function(h,v){return s(l,h,v)});case 2:return a(l)&&a(m)?u:a(l)?r(function(h,v){return s(h,m,v)}):a(m)?r(function(h,v){return s(l,h,v)}):n(function(h){return s(l,m,h)});default:return a(l)&&a(m)&&a(g)?u:a(l)&&a(m)?r(function(h,v){return s(h,v,g)}):a(l)&&a(g)?r(function(h,v){return s(h,m,v)}):a(m)&&a(g)?r(function(h,v){return s(l,h,v)}):a(l)?n(function(h){return s(h,m,g)}):a(m)?n(function(h){return s(l,h,g)}):a(g)?n(function(h){return s(l,m,h)}):s(l,m,g)}}}f.exports=i},18783(f,d,e){var n=e(38363),r=e(73255);function a(i,s,u){return function(){for(var l=[],m=0,g=i,h=0;h<s.length||m<arguments.length;){var v;h<s.length&&(!r(s[h])||m>=arguments.length)?v=s[h]:(v=arguments[m],m+=1),l[h]=v,r(v)||(g-=1),h+=1}return g<=0?u.apply(this,l):n(g,a(i,l,u))}}f.exports=a},7654(f,d,e){var n=e(60703),r=e(55865);function a(i,s,u){return function(){if(arguments.length===0)return u();var l=Array.prototype.slice.call(arguments,0),m=l.pop();if(!n(m)){for(var g=0;g<i.length;){if(typeof m[i[g]]=="function")return m[i[g]].apply(m,l);g+=1}if(r(m)){var h=s.apply(null,l);return h(m)}}return u.apply(this,arguments)}}f.exports=a},21117(f,d,e){var n=e(72521),r=e(43977),a=e(11307),i=e(55366),s=e(73827),u=e(75675),l=e(88719);function m(h,v,b,T){var E=n(h),w=n(v);function C(O,U){return g(O,U,b.slice(),T.slice())}return!r(function(O,U){return!r(C,U,O)},w,E)}function g(h,v,b,T){if(s(h,v))return!0;var E=l(h);if(E!==l(v)||h==null||v==null)return!1;if(typeof h["fantasy-land/equals"]=="function"||typeof v["fantasy-land/equals"]=="function")return typeof h["fantasy-land/equals"]=="function"&&h["fantasy-land/equals"](v)&&typeof v["fantasy-land/equals"]=="function"&&v["fantasy-land/equals"](h);if(typeof h.equals=="function"||typeof v.equals=="function")return typeof h.equals=="function"&&h.equals(v)&&typeof v.equals=="function"&&v.equals(h);switch(E){case"Arguments":case"Array":case"Object":if(typeof h.constructor=="function"&&a(h.constructor)==="Promise")return h===v;break;case"Boolean":case"Number":case"String":if(!(typeof h==typeof v&&s(h.valueOf(),v.valueOf())))return!1;break;case"Date":if(!s(h.valueOf(),v.valueOf()))return!1;break;case"Error":return h.name===v.name&&h.message===v.message;case"RegExp":if(!(h.source===v.source&&h.global===v.global&&h.ignoreCase===v.ignoreCase&&h.multiline===v.multiline&&h.sticky===v.sticky&&h.unicode===v.unicode))return!1;break}for(var w=b.length-1;w>=0;){if(b[w]===h)return T[w]===v;w-=1}switch(E){case"Map":return h.size!==v.size?!1:m(h.entries(),v.entries(),b.concat([h]),T.concat([v]));case"Set":return h.size!==v.size?!1:m(h.values(),v.values(),b.concat([h]),T.concat([v]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var C=u(h);if(C.length!==u(v).length)return!1;var O=b.concat([h]),U=T.concat([v]);for(w=C.length-1;w>=0;){var D=C[w];if(!(i(D,v)&&g(v[D],h[D],O,U)))return!1;w-=1}return!0}f.exports=g},56802(f){function d(e,n){for(var r=0,a=n.length,i=[];r<a;)e(n[r])&&(i[i.length]=n[r]),r+=1;return i}f.exports=d},11307(f){function d(e){var n=String(e).match(/^function (\w*)/);return n==null?"":n[1]}f.exports=d},55366(f){function d(e,n){return Object.prototype.hasOwnProperty.call(n,e)}f.exports=d},72693(f,d,e){var n=e(6551);function r(a,i){return n(i,a,0)>=0}f.exports=r},43977(f){function d(e,n,r){for(var a=0,i=r.length;a<i;){if(e(n,r[a]))return!0;a+=1}return!1}f.exports=d},6551(f,d,e){var n=e(85338);function r(a,i,s){var u,l;if(typeof a.indexOf=="function")switch(typeof i){case"number":if(i===0){for(u=1/i;s<a.length;){if(l=a[s],l===0&&1/l===u)return s;s+=1}return-1}else if(i!==i){for(;s<a.length;){if(l=a[s],typeof l=="number"&&l!==l)return s;s+=1}return-1}return a.indexOf(i,s);case"string":case"boolean":case"function":case"undefined":return a.indexOf(i,s);case"object":if(i===null)return a.indexOf(i,s)}for(;s<a.length;){if(n(a[s],i))return s;s+=1}return-1}f.exports=r},65818(f,d,e){var n=e(55366),r=Object.prototype.toString,a=(function(){return r.call(arguments)==="[object Arguments]"?function(s){return r.call(s)==="[object Arguments]"}:function(s){return n("callee",s)}})();f.exports=a},60703(f){f.exports=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"}},94184(f,d,e){var n=e(28198),r=e(60703),a=e(54953),i=n(function(u){return r(u)?!0:!u||typeof u!="object"||a(u)?!1:u.nodeType===1?!!u.length:u.length===0?!0:u.length>0?u.hasOwnProperty(0)&&u.hasOwnProperty(u.length-1):!1});f.exports=i},26616(f){function d(e){var n=Object.prototype.toString.call(e);return n==="[object Function]"||n==="[object AsyncFunction]"||n==="[object GeneratorFunction]"||n==="[object AsyncGeneratorFunction]"}f.exports=d},56872(f){f.exports=Number.isInteger||function(e){return e<<0===e}},55039(f){function d(e){return Object.prototype.toString.call(e)==="[object Object]"}f.exports=d},73255(f){function d(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}f.exports=d},54953(f){function d(e){return Object.prototype.toString.call(e)==="[object String]"}f.exports=d},55865(f){function d(e){return e!=null&&typeof e["@@transducer/step"]=="function"}f.exports=d},11068(f){function d(e,n){for(var r=0,a=n.length,i=Array(a);r<a;)i[r]=e(n[r]),r+=1;return i}f.exports=d},73827(f){function d(e,n){return e===n?e!==0||1/e===1/n:e!==e&&n!==n}f.exports=typeof Object.is=="function"?Object.is:d},47312(f){function d(e,n){return function(){return n.call(this,e.apply(this,arguments))}}f.exports=d},46914(f){function d(e,n){return function(){var r=this;return e.apply(r,arguments).then(function(a){return n.call(r,a)})}}f.exports=d},78522(f){function d(e){var n=e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+n.replace(/"/g,'\\"')+'"'}f.exports=d},19802(f,d,e){var n=e(94184),r=e(76022),a=e(99788);function i(g,h,v){for(var b=0,T=v.length;b<T;){if(h=g["@@transducer/step"](h,v[b]),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}b+=1}return g["@@transducer/result"](h)}function s(g,h,v){for(var b=v.next();!b.done;){if(h=g["@@transducer/step"](h,b.value),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}b=v.next()}return g["@@transducer/result"](h)}function u(g,h,v,b){return g["@@transducer/result"](v[b](a(g["@@transducer/step"],g),h))}var l=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function m(g,h,v){if(typeof g=="function"&&(g=r(g)),n(v))return i(g,h,v);if(typeof v["fantasy-land/reduce"]=="function")return u(g,h,v,"fantasy-land/reduce");if(v[l]!=null)return s(g,h,v[l]());if(typeof v.next=="function")return s(g,h,v);if(typeof v.reduce=="function")return u(g,h,v,"reduce");throw new TypeError("reduce: list must be array or iterable")}f.exports=m},80153(f){var d=function(r){return(r<10?"0":"")+r},e=typeof Date.prototype.toISOString=="function"?function(r){return r.toISOString()}:function(r){return r.getUTCFullYear()+"-"+d(r.getUTCMonth()+1)+"-"+d(r.getUTCDate())+"T"+d(r.getUTCHours())+":"+d(r.getUTCMinutes())+":"+d(r.getUTCSeconds())+"."+(r.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};f.exports=e}
712,10784(f,d,e){var n=e(72693),r=e(11068),a=e(78522),i=e(80153),s=e(75675),u=e(23288);function l(m,g){var h=function(E){var w=g.concat([m]);return n(E,w)?"<Circular>":l(E,w)},v=function(T,E){return r(function(w){return a(w)+": "+h(T[w])},E.slice().sort())};switch(Object.prototype.toString.call(m)){case"[object Arguments]":return"(function() { return arguments; }("+r(h,m).join(", ")+"))";case"[object Array]":return"["+r(h,m).concat(v(m,u(function(T){return/^\d+$/.test(T)},s(m)))).join(", ")+"]";case"[object Boolean]":return typeof m=="object"?"new Boolean("+h(m.valueOf())+")":m.toString();case"[object Date]":return"new Date("+(isNaN(m.valueOf())?h(NaN):a(i(m)))+")";case"[object Null]":return"null";case"[object Number]":return typeof m=="object"?"new Number("+h(m.valueOf())+")":1/m===-1/0?"-0":m.toString(10);case"[object String]":return typeof m=="object"?"new String("+h(m.valueOf())+")":a(m);case"[object Undefined]":return"undefined";default:if(typeof m.toString=="function"){var b=m.toString();if(b!=="[object Object]")return b}return"{"+v(m,s(m)).join(", ")+"}"}}f.exports=l},97035(f){f.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(d){return this.xf["@@transducer/result"](d)}}},55868(f,d,e){var n=e(49955),r=e(97035),a=(function(){function s(u,l){this.xf=l,this.f=u}return s.prototype["@@transducer/init"]=r.init,s.prototype["@@transducer/result"]=r.result,s.prototype["@@transducer/step"]=function(u,l){return this.f(l)?this.xf["@@transducer/step"](u,l):u},s})(),i=n(function(u,l){return new a(u,l)});f.exports=i},9778(f,d,e){var n=e(49955),r=e(97035),a=(function(){function s(u,l){this.xf=l,this.f=u}return s.prototype["@@transducer/init"]=r.init,s.prototype["@@transducer/result"]=r.result,s.prototype["@@transducer/step"]=function(u,l){return this.xf["@@transducer/step"](u,this.f(l))},s})(),i=n(function(u,l){return new a(u,l)});f.exports=i},12029(f,d,e){var n=e(49955),r=e(97035),a=(function(){function s(u,l){this.xf=l,this.f=u}return s.prototype["@@transducer/init"]=r.init,s.prototype["@@transducer/result"]=r.result,s.prototype["@@transducer/step"]=function(u,l){return this.f(l),this.xf["@@transducer/step"](u,l)},s})(),i=n(function(u,l){return new a(u,l)});f.exports=i},76022(f){var d=(function(){function n(r){this.f=r}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},n.prototype["@@transducer/result"]=function(r){return r},n.prototype["@@transducer/step"]=function(r,a){return this.f(r,a)},n})();function e(n){return new d(n)}f.exports=e},75279(f,d,e){var n=e(49955),r=n(function(i,s){return s!=null&&s.constructor===i||s instanceof i});f.exports=r},63572(f,d,e){var n=e(28198),r=n(function(i){return i==null});f.exports=r},75675(f,d,e){var n=e(28198),r=e(55366),a=e(65818),i=!{toString:null}.propertyIsEnumerable("toString"),s=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=(function(){"use strict";return arguments.propertyIsEnumerable("length")})(),l=function(h,v){for(var b=0;b<h.length;){if(h[b]===v)return!0;b+=1}return!1},m=n(typeof Object.keys=="function"&&!u?function(h){return Object(h)!==h?[]:Object.keys(h)}:function(h){if(Object(h)!==h)return[];var v,b,T=[],E=u&&a(h);for(v in h)r(v,h)&&(!E||v!=="length")&&(T[T.length]=v);if(i)for(b=s.length-1;b>=0;)v=s[b],r(v,h)&&!l(T,v)&&(T[T.length]=v),b-=1;return T});f.exports=m},69030(f,d,e){var n=e(28198),r=e(37610),a=n(function(s){return r(s.length,s)});f.exports=a},37610(f,d,e){var n=e(49955),r=e(19802),a=e(86490),i=e(62484),s=e(61065),u=n(function(m,g){var h=i(m,g);return i(m,function(){return r(a,s(h,arguments[0]),Array.prototype.slice.call(arguments,1))})});f.exports=u},76324(f,d,e){var n=e(49955),r=n(function(i,s){return i<=s});f.exports=r},61065(f,d,e){var n=e(49955),r=e(7654),a=e(11068),i=e(19802),s=e(9778),u=e(62484),l=e(75675),m=n(r(["fantasy-land/map","map"],s,function(h,v){switch(Object.prototype.toString.call(v)){case"[object Function]":return u(v.length,function(){return h.call(this,v.apply(this,arguments))});case"[object Object]":return i(function(b,T){return b[T]=h(v[T]),b},{},l(v));default:return a(h,v)}}));f.exports=m},9649(f,d,e){var n=e(49955),r=n(function(i,s){return s>i?s:i});f.exports=r},78251(f,d,e){var n=e(38363),r=e(49955),a=e(55366),i=r(function(u,l){var m={};return n(l.length,function(){var g=u.apply(this,arguments);return a(g,m)||(m[g]=l.apply(this,arguments)),m[g]})});f.exports=i},29938(f,d,e){var n=e(28198),r=n(function(i){return!i});f.exports=r},70465(f,d,e){var n=e(49955),r=e(54953),a=n(function(s,u){var l=s<0?u.length+s:s;return r(u)?u.charAt(l):u[l]});f.exports=a},7950(f,d,e){var n=e(49955),r=n(function(i,s){return i||s});f.exports=r},52402(f,d,e){var n=e(95876),r=e(73034),a=r(n);f.exports=a},82564(f,d,e){var n=e(49955),r=e(30827),a=n(function(s,u){return r([s],u)[0]});f.exports=a},73150(f,d,e){var n=e(51964),r=e(85338),a=e(82564),i=n(function(u,l,m){return r(a(u,m),l)});f.exports=i},11633(f,d,e){var n=e(51964),r=e(90771),a=e(82564),i=n(function(u,l,m){return r(u,a(l,m))});f.exports=i},37543(f,d,e){var n=e(51964),r=e(82564),a=n(function(s,u,l){return s(r(u,l))});f.exports=a},30827(f,d,e){var n=e(49955),r=e(56872),a=e(70465),i=n(function(u,l){return u.map(function(m){for(var g=l,h=0,v;h<m.length;){if(g==null)return;v=m[h],g=r(v)?a(v,g):g[v],h+=1}return g})});f.exports=i},37443(f,d,e){var n=e(38363),r=e(47312),a=e(48337),i=e(54813);function s(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return n(arguments[0].length,a(r,arguments[0],i(arguments)))}f.exports=s},14499(f,d,e){var n=e(38363),r=e(46914),a=e(48337),i=e(54813);function s(){if(arguments.length===0)throw new Error("pipeP requires at least one argument");return n(arguments[0].length,a(r,arguments[0],i(arguments)))}f.exports=s},32586(f,d,e){var n=e(49955),r=e(61065),a=e(71450),i=n(function(u,l){return r(a(u),l)});f.exports=i},71450(f,d,e){var n=e(49955),r=e(82564),a=n(function(s,u){return r([s],u)});f.exports=a},47809(f,d,e){var n=e(51964),r=n(function(i,s,u){return i(u[s])});f.exports=r},48337(f,d,e){var n=e(51964),r=e(19802),a=n(r);f.exports=a},23288(f,d,e){var n=e(87064),r=e(49955),a=e(68045),i=r(function(u,l){return a(n(u),l)});f.exports=i},68465(f,d,e){var n=e(28198),r=e(54953),a=n(function(s){return r(s)?s.split("").reverse().join(""):Array.prototype.slice.call(s,0).reverse()});f.exports=a},39589(f,d,e){var n=e(12670),r=e(51964),a=r(n("slice",function(s,u,l){return Array.prototype.slice.call(l,s,u)}));f.exports=a},95731(f,d,e){var n=e(49955),r=e(74695),a=e(82808),i=n(function(u,l){return r(a(u,l),a(l,u))});f.exports=i},54813(f,d,e){var n=e(12670),r=e(28198),a=e(39589),i=r(n("tail",a(1,1/0)));f.exports=i},47230(f,d,e){var n=e(49955),r=e(7654),a=e(12029),i=n(r([],a,function(u,l){return u(l),l}));f.exports=i},56459(f,d,e){var n=e(28198),r=e(10784),a=n(function(s){return r(s,[])});f.exports=a},88719(f,d,e){var n=e(28198),r=n(function(i){return i===null?"Null":i===void 0?"Undefined":Object.prototype.toString.call(i).slice(8,-1)});f.exports=r},54547(f,d,e){var n=e(49955),r=e(62484),a=n(function(s,u){return r(s,function(){for(var l=1,m=u,g=0,h;
712l<=s&&typeof m=="function";)h=l===s?arguments.length:g+m.length,m=m.apply(this,Array.prototype.slice.call(arguments,g,h)),l+=1,g=h;return m})});f.exports=a},74649(f,d,e){var n=e(51964),r=n(function(i,s,u){return i(u)?u:s(u)});f.exports=r},39645(f,d,e){(function(n,r){f.exports=r(e(26372))})(typeof self<"u"?self:this,function(n){return(function(r){var a={};function i(s){if(a[s])return a[s].exports;var u=a[s]={i:s,l:!1,exports:{}};return r[s].call(u.exports,u,u.exports,i),u.l=!0,u.exports}return i.m=r,i.c=a,i.d=function(s,u,l){i.o(s,u)||Object.defineProperty(s,u,{enumerable:!0,get:l})},i.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},i.t=function(s,u){if(1&u&&(s=i(s)),8&u||4&u&&typeof s=="object"&&s&&s.__esModule)return s;var l=Object.create(null);if(i.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:s}),2&u&&typeof s!="string")for(var m in s)i.d(l,m,function(g){return s[g]}.bind(null,m));return l},i.n=function(s){var u=s&&s.__esModule?function(){return s.default}:function(){return s};return i.d(u,"a",u),u},i.o=function(s,u){return Object.prototype.hasOwnProperty.call(s,u)},i.p="",i(i.s=2)})([function(r,a){r.exports=n},function(r,a,i){"use strict";var s={linear:function(u,l,m,g){return(m-l)*u/g+l},easeInQuad:function(u,l,m,g){return(m-l)*(u/=g)*u+l},easeOutQuad:function(u,l,m,g){return-(m-l)*(u/=g)*(u-2)+l},easeInOutQuad:function(u,l,m,g){var h=m-l;return(u/=g/2)<1?h/2*u*u+l:-h/2*(--u*(u-2)-1)+l},easeInCubic:function(u,l,m,g){return(m-l)*(u/=g)*u*u+l},easeOutCubic:function(u,l,m,g){return(m-l)*((u=u/g-1)*u*u+1)+l},easeInOutCubic:function(u,l,m,g){var h=m-l;return(u/=g/2)<1?h/2*u*u*u+l:h/2*((u-=2)*u*u+2)+l},easeInQuart:function(u,l,m,g){return(m-l)*(u/=g)*u*u*u+l},easeOutQuart:function(u,l,m,g){return-(m-l)*((u=u/g-1)*u*u*u-1)+l},easeInOutQuart:function(u,l,m,g){var h=m-l;return(u/=g/2)<1?h/2*u*u*u*u+l:-h/2*((u-=2)*u*u*u-2)+l},easeInQuint:function(u,l,m,g){return(m-l)*(u/=g)*u*u*u*u+l},easeOutQuint:function(u,l,m,g){return(m-l)*((u=u/g-1)*u*u*u*u+1)+l},easeInOutQuint:function(u,l,m,g){var h=m-l;return(u/=g/2)<1?h/2*u*u*u*u*u+l:h/2*((u-=2)*u*u*u*u+2)+l},easeInSine:function(u,l,m,g){var h=m-l;return-h*Math.cos(u/g*(Math.PI/2))+h+l},easeOutSine:function(u,l,m,g){return(m-l)*Math.sin(u/g*(Math.PI/2))+l},easeInOutSine:function(u,l,m,g){return-(m-l)/2*(Math.cos(Math.PI*u/g)-1)+l},easeInExpo:function(u,l,m,g){return u==0?l:(m-l)*Math.pow(2,10*(u/g-1))+l},easeOutExpo:function(u,l,m,g){var h=m-l;return u==g?l+h:h*(1-Math.pow(2,-10*u/g))+l},easeInOutExpo:function(u,l,m,g){var h=m-l;return u===0?l:u===g?l+h:(u/=g/2)<1?h/2*Math.pow(2,10*(u-1))+l:h/2*(2-Math.pow(2,-10*--u))+l},easeInCirc:function(u,l,m,g){return-(m-l)*(Math.sqrt(1-(u/=g)*u)-1)+l},easeOutCirc:function(u,l,m,g){return(m-l)*Math.sqrt(1-(u=u/g-1)*u)+l},easeInOutCirc:function(u,l,m,g){var h=m-l;return(u/=g/2)<1?-h/2*(Math.sqrt(1-u*u)-1)+l:h/2*(Math.sqrt(1-(u-=2)*u)+1)+l},easeInElastic:function(u,l,m,g){var h,v,b,T=m-l;return b=1.70158,u===0?l:(u/=g)==1?l+T:((v=0)||(v=.3*g),(h=T)<Math.abs(T)?(h=T,b=v/4):b=v/(2*Math.PI)*Math.asin(T/h),-h*Math.pow(2,10*(u-=1))*Math.sin((u*g-b)*(2*Math.PI)/v)+l)},easeOutElastic:function(u,l,m,g){var h,v,b,T=m-l;return b=1.70158,u===0?l:(u/=g)==1?l+T:((v=0)||(v=.3*g),(h=T)<Math.abs(T)?(h=T,b=v/4):b=v/(2*Math.PI)*Math.asin(T/h),h*Math.pow(2,-10*u)*Math.sin((u*g-b)*(2*Math.PI)/v)+T+l)},easeInOutElastic:function(u,l,m,g){var h,v,b,T=m-l;return b=1.70158,u===0?l:(u/=g/2)==2?l+T:((v=0)||(v=g*.44999999999999996),(h=T)<Math.abs(T)?(h=T,b=v/4):b=v/(2*Math.PI)*Math.asin(T/h),u<1?h*Math.pow(2,10*(u-=1))*Math.sin((u*g-b)*(2*Math.PI)/v)*-.5+l:h*Math.pow(2,-10*(u-=1))*Math.sin((u*g-b)*(2*Math.PI)/v)*.5+T+l)},easeInBack:function(u,l,m,g,h){return h===void 0&&(h=1.70158),(m-l)*(u/=g)*u*((h+1)*u-h)+l},easeOutBack:function(u,l,m,g,h){return h===void 0&&(h=1.70158),(m-l)*((u=u/g-1)*u*((h+1)*u+h)+1)+l},easeInOutBack:function(u,l,m,g,h){var v=m-l;return h===void 0&&(h=1.70158),(u/=g/2)<1?v/2*(u*u*((1+(h*=1.525))*u-h))+l:v/2*((u-=2)*u*((1+(h*=1.525))*u+h)+2)+l},easeInBounce:function(u,l,m,g){var h=m-l;return h-s.easeOutBounce(g-u,0,h,g)+l},easeOutBounce:function(u,l,m,g){var h=m-l;return(u/=g)<.36363636363636365?h*(7.5625*u*u)+l:u<.7272727272727273?h*(7.5625*(u-=.5454545454545454)*u+.75
712)+l:u<.9090909090909091?h*(7.5625*(u-=.8181818181818182)*u+.9375)+l:h*(7.5625*(u-=.9545454545454546)*u+.984375)+l},easeInOutBounce:function(u,l,m,g){var h=m-l;return u<g/2?.5*s.easeInBounce(2*u,0,h,g)+l:.5*s.easeOutBounce(2*u-g,0,h,g)+.5*h+l}};r.exports=s},function(r,a,i){r.exports=i(3)},function(r,a,i){"use strict";i.r(a);var s,u,l=i(0),m=i.n(l),g=i(1),h=i.n(g);function v(xe,Fe){return xe+Math.random()*(Fe-xe)}function b(xe,Fe){for(var Xe=0;Xe<Fe.length;Xe++){var Me=Fe[Xe];Me.enumerable=Me.enumerable||!1,Me.configurable=!0,"value"in Me&&(Me.writable=!0),Object.defineProperty(xe,Me.key,Me)}}function T(xe,Fe,Xe){return Fe in xe?Object.defineProperty(xe,Fe,{value:Xe,enumerable:!0,configurable:!0,writable:!0}):xe[Fe]=Xe,xe}(function(xe){xe[xe.Circle=0]="Circle",xe[xe.Square=1]="Square",xe[xe.Strip=2]="Strip"})(s||(s={})),(function(xe){xe[xe.Positive=1]="Positive",xe[xe.Negative=-1]="Negative"})(u||(u={}));var E=(function(){function xe(Ze,rt,mt,Xt){(function(Kr,Sn){if(!(Kr instanceof Sn))throw new TypeError("Cannot call a class as a function")})(this,xe),T(this,"context",void 0),T(this,"radius",void 0),T(this,"x",void 0),T(this,"y",void 0),T(this,"w",void 0),T(this,"h",void 0),T(this,"vx",void 0),T(this,"vy",void 0),T(this,"shape",void 0),T(this,"angle",void 0),T(this,"angularSpin",void 0),T(this,"color",void 0),T(this,"rotateY",void 0),T(this,"rotationDirection",void 0),T(this,"getOptions",void 0),this.getOptions=rt;var jt,Lt,Ht=this.getOptions(),vr=Ht.colors,Fr=Ht.initialVelocityX,fn=Ht.initialVelocityY;this.context=Ze,this.x=mt,this.y=Xt,this.w=v(5,20),this.h=v(5,20),this.radius=v(5,10),this.vx=v(-Fr,Fr),this.vy=v(-fn,0),this.shape=(jt=0,Lt=2,Math.floor(jt+Math.random()*(Lt-jt+1))),this.angle=v(0,360)*Math.PI/180,this.angularSpin=v(-.2,.2),this.color=vr[Math.floor(Math.random()*vr.length)],this.rotateY=v(0,1),this.rotationDirection=v(0,1)?u.Positive:u.Negative}var Fe,Xe,Me;return Fe=xe,(Xe=[{key:"update",value:function(){var Ze=this.getOptions(),rt=Ze.gravity,mt=Ze.wind,Xt=Ze.friction,jt=Ze.opacity,Lt=Ze.drawShape;this.x+=this.vx,this.y+=this.vy,this.vy+=rt,this.vx+=mt,this.vx*=Xt,this.vy*=Xt,this.rotateY>=1&&this.rotationDirection===u.Positive?this.rotationDirection=u.Negative:this.rotateY<=-1&&this.rotationDirection===u.Negative&&(this.rotationDirection=u.Positive);var Ht=.1*this.rotationDirection;if(this.rotateY+=Ht,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=jt,this.context.lineCap="round",this.context.lineWidth=2,Lt&&typeof Lt=="function")Lt.call(this,this.context);else switch(this.shape){case s.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case s.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case s.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}])&&b(Fe.prototype,Xe),Me&&b(Fe,Me),xe})();function w(xe,Fe,Xe){return Fe in xe?Object.defineProperty(xe,Fe,{value:Xe,enumerable:!0,configurable:!0,writable:!0}):xe[Fe]=Xe,xe}var C=function xe(Fe,Xe){var Me=this;(function(rt,mt){if(!(rt instanceof mt))throw new TypeError("Cannot call a class as a function")})(this,xe),w(this,"canvas",void 0),w(this,"context",void 0),w(this,"getOptions",void 0),w(this,"x",0),w(this,"y",0),w(this,"w",0),w(this,"h",0),w(this,"lastNumberOfPieces",0),w(this,"tweenInitTime",Date.now()),w(this,"particles",[]),w(this,"particlesGenerated",0),w(this,"removeParticleAt",function(rt){Me.particles.splice(rt,1)}),w(this,"getParticle",function(){var rt=v(Me.x,Me.w+Me.x),mt=v(Me.y,Me.h+Me.y);return new E(Me.context,Me.getOptions,rt,mt)}),w(this,"animate",function(){var rt=Me.canvas,mt=Me.context,Xt=Me.particlesGenerated,jt=Me.lastNumberOfPieces,Lt=Me.getOptions(),Ht=Lt.run,vr=Lt.recycle,Fr=Lt.numberOfPieces,fn=Lt.debug,Kr=Lt.tweenFunction,Sn=Lt.tweenDuration;if(!Ht)return!1;var Fn=Me.particles.length,Et=vr?Fn:Xt,st=Date.now();if(Et<Fr){jt!==Fr&&(Me.tweenInitTime=st,Me.lastNumberOfPieces=Fr);for(var Wr=Me.tweenInitTime,Dr=Kr(st-Wr>Sn?Sn:Math.max(0,st-Wr),Et,Fr,Sn),Tr=Math.round(Dr-Et),gr=0;gr<Tr;gr++)Me.particles.push(Me.getParticle());Me.particlesGenerated+=Tr}return fn&&(mt.font="12px sans-serif",mt.fillStyle="#333",mt.textAlign="right",mt.fillText("Particles: ".concat(Fn),rt.width-10,rt.he
712ight-20)),Me.particles.forEach(function(ir,Mr){ir.update(),(ir.y>rt.height||ir.y<-100||ir.x>rt.width+100||ir.x<-100)&&(vr&&Et<=Fr?Me.particles[Mr]=Me.getParticle():Me.removeParticleAt(Mr))}),Fn>0||Et<Fr}),this.canvas=Fe;var Ze=this.canvas.getContext("2d");if(!Ze)throw new Error("Could not get canvas context");this.context=Ze,this.getOptions=Xe};function O(xe,Fe){var Xe=Object.keys(xe);if(Object.getOwnPropertySymbols){var Me=Object.getOwnPropertySymbols(xe);Fe&&(Me=Me.filter(function(Ze){return Object.getOwnPropertyDescriptor(xe,Ze).enumerable})),Xe.push.apply(Xe,Me)}return Xe}function U(xe,Fe){for(var Xe=0;Xe<Fe.length;Xe++){var Me=Fe[Xe];Me.enumerable=Me.enumerable||!1,Me.configurable=!0,"value"in Me&&(Me.writable=!0),Object.defineProperty(xe,Me.key,Me)}}function D(xe,Fe,Xe){return Fe in xe?Object.defineProperty(xe,Fe,{value:Xe,enumerable:!0,configurable:!0,writable:!0}):xe[Fe]=Xe,xe}var F={width:typeof window<"u"?window.innerWidth:300,height:typeof window<"u"?window.innerHeight:200,numberOfPieces:200,friction:.99,wind:0,gravity:.1,initialVelocityX:4,initialVelocityY:10,colors:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548"],opacity:1,debug:!1,tweenFunction:h.a.easeInOutQuad,tweenDuration:5e3,recycle:!0,run:!0},j=(function(){function xe(Ze,rt){var mt=this;(function(jt,Lt){if(!(jt instanceof Lt))throw new TypeError("Cannot call a class as a function")})(this,xe),D(this,"canvas",void 0),D(this,"context",void 0),D(this,"_options",void 0),D(this,"generator",void 0),D(this,"rafId",void 0),D(this,"setOptionsWithDefaults",function(jt){var Lt={confettiSource:{x:0,y:0,w:mt.canvas.width,h:0}};mt._options=(function(Ht){for(var vr=1;vr<arguments.length;vr++){var Fr=arguments[vr]!=null?arguments[vr]:{};vr%2?O(Fr,!0).forEach(function(fn){D(Ht,fn,Fr[fn])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ht,Object.getOwnPropertyDescriptors(Fr)):O(Fr).forEach(function(fn){Object.defineProperty(Ht,fn,Object.getOwnPropertyDescriptor(Fr,fn))})}return Ht})({},Lt,{},F,{},jt),Object.assign(mt,jt.confettiSource)}),D(this,"update",function(){var jt=mt.options,Lt=jt.run,Ht=jt.onConfettiComplete,vr=mt.canvas,Fr=mt.context;Lt&&(Fr.fillStyle="white",Fr.clearRect(0,0,vr.width,vr.height)),mt.generator.animate()?mt.rafId=requestAnimationFrame(mt.update):(Ht&&typeof Ht=="function"&&mt.generator.particlesGenerated>0&&Ht.call(mt,mt),mt._options.run=!1)}),D(this,"reset",function(){mt.generator&&mt.generator.particlesGenerated>0&&(mt.generator.particlesGenerated=0,mt.generator.particles=[],mt.generator.lastNumberOfPieces=0)}),D(this,"stop",function(){mt.options={run:!1},mt.rafId&&(cancelAnimationFrame(mt.rafId),mt.rafId=void 0)}),this.canvas=Ze;var Xt=this.canvas.getContext("2d");if(!Xt)throw new Error("Could not get canvas context");this.context=Xt,this.generator=new C(this.canvas,function(){return mt.options}),this.options=rt,this.update()}var Fe,Xe,Me;return Fe=xe,(Xe=[{key:"options",get:function(){return this._options},set:function(Ze){var rt=this._options&&this._options.run,mt=this._options&&this._options.recycle;this.setOptionsWithDefaults(Ze),this.generator&&(Object.assign(this.generator,this.options.confettiSource),typeof Ze.recycle=="boolean"&&Ze.recycle&&mt===!1&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),typeof Ze.run=="boolean"&&Ze.run&&rt===!1&&this.update()}}])&&U(Fe.prototype,Xe),Me&&U(Fe,Me),xe})();function M(xe){return(function(Fe){if(Array.isArray(Fe)){for(var Xe=0,Me=new Array(Fe.length);Xe<Fe.length;Xe++)Me[Xe]=Fe[Xe];return Me}})(xe)||(function(Fe){if(Symbol.iterator in Object(Fe)||Object.prototype.toString.call(Fe)==="[object Arguments]")return Array.from(Fe)})(xe)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}function W(xe){return(W=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Fe){return typeof Fe}:function(Fe){return Fe&&typeof Symbol=="function"&&Fe.constructor===Symbol&&Fe!==Symbol.prototype?"symbol":typeof Fe})(xe)}function V(){return(V=Object.assign||function(xe){for(var Fe=1;Fe<arguments.length;Fe++){var Xe=arguments[Fe];for(var Me in Xe)Object.prototype.hasOwnProperty.call(Xe,Me)&&(xe[Me]=Xe[Me])}return xe}).apply(this,arguments)}function q(xe,Fe){var Xe=Object.keys(xe);if(Object.getOwnPropertySymbols){var Me=Object.getOwnPropertySymbols(xe);Fe&&(Me=Me.filter(function(Ze){return Object.getOwnPropertyDescriptor(xe,Ze).enumerable})),Xe.push.apply(Xe,Me)}return Xe}function J(xe){for(var Fe=1;Fe<arguments.length;Fe++){var Xe=arguments[Fe]!=null?arguments[Fe]:{};
712Fe%2?q(Xe,!0).forEach(function(Me){ve(xe,Me,Xe[Me])}):Object.getOwnPropertyDescriptors?Object.defineProperties(xe,Object.getOwnPropertyDescriptors(Xe)):q(Xe).forEach(function(Me){Object.defineProperty(xe,Me,Object.getOwnPropertyDescriptor(Xe,Me))})}return xe}function re(xe,Fe){return(function(Xe){if(Array.isArray(Xe))return Xe})(xe)||(function(Xe,Me){var Ze=[],rt=!0,mt=!1,Xt=void 0;try{for(var jt,Lt=Xe[Symbol.iterator]();!(rt=(jt=Lt.next()).done)&&(Ze.push(jt.value),!Me||Ze.length!==Me);rt=!0);}catch(Ht){mt=!0,Xt=Ht}finally{try{rt||Lt.return==null||Lt.return()}finally{if(mt)throw Xt}}return Ze})(xe,Fe)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")})()}function he(xe,Fe){for(var Xe=0;Xe<Fe.length;Xe++){var Me=Fe[Xe];Me.enumerable=Me.enumerable||!1,Me.configurable=!0,"value"in Me&&(Me.writable=!0),Object.defineProperty(xe,Me.key,Me)}}function fe(xe){return(fe=Object.setPrototypeOf?Object.getPrototypeOf:function(Fe){return Fe.__proto__||Object.getPrototypeOf(Fe)})(xe)}function ae(
712xe){if(xe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return xe}function ye(xe,Fe){return(ye=Object.setPrototypeOf||function(Xe,Me){return Xe.__proto__=Me,Xe})(xe,Fe)}function ve(xe,Fe,Xe){return Fe in xe?Object.defineProperty(xe,Fe,{value:Xe,enumerable:!0,configurable:!0,writable:!0}):xe[Fe]=Xe,xe}i.d(a,"ReactConfetti",function(){return de});var Ue=(function(xe){function Fe(rt){var mt,Xt;(function(vr,Fr){if(!(vr instanceof Fr))throw new TypeError("Cannot call a class as a function")})(this,Fe);for(var jt=arguments.length,Lt=new Array(jt>1?jt-1:0),Ht=1;Ht<jt;Ht++)Lt[Ht-1]=arguments[Ht];return Xt=(function(vr,Fr){return!Fr||W(Fr)!=="object"&&typeof Fr!="function"?ae(vr):Fr})(this,(mt=fe(Fe)).call.apply(mt,[this,rt].concat(Lt))),ve(ae(Xt),"canvas",m.a.createRef()),ve(ae(Xt),"confetti",void 0),Xt.canvas=rt.canvasRef||m.a.createRef(),Xt}var Xe,Me,Ze;return(function(rt,mt){if(typeof mt!="function"&&mt!==null)throw new TypeError("Super expression must either be null or a function");rt.prototype=Object.create(mt&&mt.prototype,{constructor:{value:rt,writable:!0,configurable:!0}}),mt&&ye(rt,mt)})(Fe,l.Component),Xe=Fe,(Me=[{key:"componentDidMount",value:function(){if(this.canvas.current){var rt=We(this.props)[0];this.confetti=new j(this.canvas.current,rt)}}},{key:"componentWillReceiveProps",value:function(rt){var mt=We(rt)[0];this.confetti&&(this.confetti.options=mt)}},{key:"componentWillUnmount",value:function(){this.confetti&&this.confetti.stop(),this.confetti=void 0}},{key:"render",value:function(){var rt=re(We(this.props),2),mt=rt[0],Xt=rt[1],jt=J({zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0},Xt.style);return m.a.createElement("canvas",V({width:mt.width,height:mt.height,ref:this.canvas},Xt,{style:jt}))}}])&&he(Xe.prototype,Me),Ze&&he(Xe,Ze),Fe})();function We(xe){var Fe={},Xe={},Me=[].concat(M(Object.keys(F)),["confettiSource","drawShape","onConfettiComplete"]),Ze=["canvasRef"];for(var rt in xe){var mt=xe[rt];Me.includes(rt)?Fe[rt]=mt:Ze.includes(rt)?Ze[rt]=mt:Xe[rt]=mt}return[Fe,Xe,{}]}ve(Ue,"defaultProps",J({},F)),ve(Ue,"displayName","ReactConfetti");var de=m.a.forwardRef(function(xe,Fe){return m.a.createElement(Ue,V({canvasRef:Fe},xe))});a.default=de}]).default})},57308(f,d,e){var n=e(89561);typeof Object.assign!="function"&&(Object.assign=function(b){"use strict";if(b==null)throw new TypeError("Cannot convert undefined or null to object");b=Object(b);for(var T=1;T<arguments.length;T++){var E=arguments[T];if(E!=null)for(var w in E)Object.prototype.hasOwnProperty.call(E,w)&&(b[w]=E[w])}return b});var r={},a=void 0;function i(){return!(!a||a.headersSent===!0)}function s(b,T){var E=typeof document>"u"?r:n.parse(document.cookie),w=E&&E[b];if(typeof T>"u"&&(T=!w||w[0]!=="{"&&w[0]!=="["),!T)try{w=JSON.parse(w)}catch{}return w}function u(b){var T=typeof document>"u"?r:n.parse(document.cookie);return T?b?Object.keys(T).reduce(function(E,w){if(!b.test(w))return E;var C={};return C[w]=T[w],Object.assign({},E,C)},{}):T:{}}function l(b,T,E){r[b]=T,typeof T=="object"&&(r[b]=JSON.stringify(T)),typeof document<"u"&&(document.cookie=n.serialize(b,r[b],E)),i()&&a.cookie&&a.cookie(b,T,E)}function m(b,T){delete r[b],typeof T>"u"?T={}:typeof T=="string"?T={path:T}:T=Object.assign({},T),typeof document<"u"&&(T.expires=new Date(1970,1,1,0,0,1),T.maxAge=0,document.cookie=n.serialize(b,"",T)),i()&&a.clearCookie&&a.clearCookie(b,T)}function g(b){b?r=n.parse(b):r={}}function h(b,T){return b.cookie?r=b.cookie:b.cookies?r=b.cookies:b.headers&&b.headers.cookie?g(b.headers.cookie):r={},a=T,function(){a=null,r={}}}var v={load:s,select:u,save:l,remove:m,setRawCookie:g,plugToRequest:h};typeof window<"u"&&(window.reactCookie=v),f.exports=v},45530(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=(function(){function v(b,T){for(var E=0;E<T.length;E++){var w=T[E];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(b,w.key,w)}}return function(b,T,E){return T&&v(b.prototype,T),E&&v(b,E),b}})(),r=e(26372),a=u(r),i=e(45750),s=u(i);
712function u(v){return v&&v.__esModule?v:{default:v}}function l(v,b){if(!(v instanceof b))throw new TypeError("Cannot call a class as a function")}function m(v,b){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:v}function g(v,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);v.prototype=Object.create(b&&b.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(v,b):v.__proto__=b)}var h=(function(v){g(b,v);function b(){return l(this,b),m(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return n(b,[{key:"render",value:function(){return a.default.createElement("button",this.props,this.props.children)}}]),b})(a.default.Component);d.default=(0,s.default)(h)},20476(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(E){for(var w=1;w<arguments.length;w++){var C=arguments[w];for(var O in C)Object.prototype.hasOwnProperty.call(C,O)&&(E[O]=C[O])}return E},r=(function(){function E(w,C){for(var O=0;O<C.length;O++){var U=C[O];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(w,U.key,U)}}return function(w,C,O){return C&&E(w.prototype,C),O&&E(w,O),w}})(),a=e(26372),i=g(a),s=e(3912),u=g(s),l=e(30994),m=g(l);function g(E){return E&&E.__esModule?E:{default:E}}function h(E,w){if(!(E instanceof w))throw new TypeError("Cannot call a class as a function")}function v(E,w){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w&&(typeof w=="object"||typeof w=="function")?w:E}function b(E,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof w);E.prototype=Object.create(w&&w.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),w&&(Object.setPrototypeOf?Object.setPrototypeOf(E,w):E.__proto__=w)}var T=(function(E){b(w,E);function w(){return h(this,w),v(this,(w.__proto__||Object.getPrototypeOf(w)).apply(this,arguments))}return r(w,[{key:"render",value:function(){var O=this,U=n({},this.props);return delete U.name,U.parentBindings&&delete U.parentBindings,i.default.createElement("div",n({},U,{ref:function(F){O.props.parentBindings.domNode=F}}),this.props.children)}}]),w})(i.default.Component);T.propTypes={name:m.default.string,id:m.default.string},d.default=(0,u.default)(T)},48282(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(26372),r=s(n),a=e(45750),i=s(a);function s(h){return h&&h.__esModule?h:{default:h}}function u(h,v){if(!(h instanceof v))throw new TypeError("Cannot call a class as a function")}function l(h,v){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:h}function m(h,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);h.prototype=Object.create(v&&v.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(h,v):h.__proto__=v)}var g=(function(h){m(v,h);function v(){var b,T,E,w;u(this,v);for(var C=arguments.length,O=Array(C),U=0;U<C;U++)O[U]=arguments[U];return w=(T=(E=l(this,(b=v.__proto__||Object.getPrototypeOf(v)).call.apply(b,[this].concat(O))),E),E.render=function(){return r.default.createElement("a",E.props,E.props.children)},T),l(E,w)}return v})(r.default.Component);d.default=(0,i.default)(g)},38743(f,d,e){"use strict";var n;n={value:!0},n=n=n=n=n=n=n=n=n=n=void 0;var r=e(48282),a=M(r),i=e(45530),s=M(i),u=e(20476),l=M(u),m=e(44818),g=M(m),h=e(89327),v=M(h),b=e(39218),T=M(b),E=e(49067),w=M(E),C=e(45750),O=M(C),U=e(3912),D=M(U),F=e(16951),j=M(F);function M(W){return W&&W.__esModule?W:{default:W}}n=a.default,n=s.default,n=l.default,n=g.default,n=v.default,n=T.default,n=w.default,n=O.default,n=D.default,n=j.default,d.Ay={Link:a.default,Button:s.default,Element:l.default,scroller:g.default,Events:v.default,scrollSpy:T.default,animateScroll:w.default,ScrollLink:O.default,ScrollElement:D.default,Helpers:j.default}},16951(f,d,e){"use strict";var n=Object.assign||function(w){for(var C=1;C<arguments.length;C++){var O=arguments[C];for(var U in O)Object.prototype.hasOwnProperty.call(O,U)&&(w[U]=O[U])}return w},r=(function(){function w(C,O){for(var U=0;U<O.length;U++){var D=O[U];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(C,D.key,D)}}return function(C,O,U){return O&&w(C.prototype,O),U&&w(C,U),C}})();function a(w,C){if(!(w instanceof C))throw new TypeError("Cannot call a class as a function")}function i(w,C){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:w}function s(w,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);w.prototype=Object.create(C&&C.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(w,C):w.__proto__=C)}var u=e(26372),l=e(45869),m=e(28007),g=e(39218),h=e(44818),v=e(30994),b=e(74078),T={to:v.string.isRequired,containerId:v.string,container:v.object,activeClass:v.string,spy:v.bool,smooth:v.oneOfType([v.bool,v.string]),offset:v.number,delay:v.number,isDynamic:v.bool,onClick:v.func,duration:v.oneOfType([v.number,v.func]),absolute:v.bool,onSetActive:v.func,onSetInactive:v.func,ignoreCancelEvents:v.bool,hashSpy:v.bool,spyThrottle:v.number},E={Scroll:function(C,O){console.warn("Helpers.Scroll is deprecated since v1.7.0");var U=O||h,D=(function(j){s(M,j);function M(W){a(this,M);
712var V=i(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,W));return F.call(V),V.state={active:!1},V}return r(M,[{key:"getScrollSpyContainer",value:function(){var V=this.props.containerId,q=this.props.container;return V?document.getElementById(V):q&&q.nodeType?q:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var V=this.getScrollSpyContainer();g.isMounted(V)||g.mount(V,this.props.spyThrottle),this.props.hashSpy&&(b.isMounted()||b.mount(U),b.mapContainer(this.props.to,V)),this.props.spy&&g.addStateHandler(this.stateHandler),g.addSpyHandler(this.spyHandler,V),this.setState({container:V})}}},{key:"componentWillUnmount",value:function(){g.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var V="";this.state&&this.state.active?V=((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():V=this.props.className;var q=n({},this.props);for(var J in T)q.hasOwnProperty(J)&&delete q[J];return q.className=V,q.onClick=this.handleClick,u.createElement(C,q)}}]),M})(u.Component),F=function(){var M=this;this.scrollTo=function(W,V){U.scrollTo(W,n({},M.state,V))},this.handleClick=function(W){M.props.onClick&&M.props.onClick(W),W.stopPropagation&&W.stopPropagation(),W.preventDefault&&W.preventDefault(),M.scrollTo(M.props.to,M.props)},this.stateHandler=function(){U.getActiveLink()!==M.props.to&&(M.state!==null&&M.state.active&&M.props.onSetInactive&&M.props.onSetInactive(),M.setState({active:!1}))},this.spyHandler=function(W){var V=M.getScrollSpyContainer();if(!(b.isMounted()&&!b.isInitialized())){var q=M.props.to,J=null,re=0,he=0,fe=0;if(V.getBoundingClientRect){var ae=V.getBoundingClientRect();fe=ae.top}if(!J||M.props.isDynamic){if(J=U.get(q),!J)return;var ye=J.getBoundingClientRect();re=ye.top-fe+W,he=re+ye.height}var ve=W-M.props.offset,Ue=ve>=Math.floor(re)&&ve<Math.floor(he),We=ve<Math.floor(re)||ve>=Math.floor(he),de=U.getActiveLink();if(We)return q===de&&U.setActiveLink(void 0),M.props.hashSpy&&b.getHash()===q&&b.changeHash(),M.props.spy&&M.state.active&&(M.setState({active:!1}),M.props.onSetInactive&&M.props.onSetInactive()),g.updateStates();if(Ue&&de!==q)return U.setActiveLink(q),M.props.hashSpy&&b.changeHash(q),M.props.spy&&(M.setState({active:!0}),M.props.onSetActive&&M.props.onSetActive(q)),g.updateStates()}}};return D.propTypes=T,D.defaultProps={offset:0},D},Element:function(C){console.warn("Helpers.Element is deprecated since v1.7.0");var O=(function(U){s(D,U);function D(F){a(this,D);var j=i(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,F));return j.childBindings={domNode:null},j}return r(D,[{key:"componentDidMount",value:function(){if(typeof window>"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(j){this.props.name!==j.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if(typeof window>"u")return!1;h.unregister(this.props.name)}},{key:"registerElems",value:function(j){h.register(j,this.childBindings.domNode)}},{key:"render",value:function(){return u.createElement(C,n({},this.props,{parentBindings:this.childBindings}))}}]),D})(u.Component);return O.propTypes={name:v.string,id:v.string},O}};f.exports=E},49067(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(he){for(var fe=1;fe<arguments.length;fe++){var ae=arguments[fe];for(var ye in ae)Object.prototype.hasOwnProperty.call(ae,ye)&&(he[ye]=ae[ye])}return he},r=e(28007),a=h(r),i=e(22830),s=h(i),u=e(96102),l=h(u),m=e(89327),g=h(m);function h(he){return he&&he.__esModule?he:{default:he}}var v=function(fe){return s.default[fe.smooth]||s.default.defaultEasing},b=function(fe){return typeof fe=="function"?fe:function(){return fe}},T=function(){if(typeof window<"u")return window.requestAnimationFrame||window.webkitRequestAnimationFrame},E=(function(){return T()||function(he,fe,ae){window.setTimeout(he,ae||1e3/60,new Date().getTime())}})(),w=function(){return{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null}},C=function(fe){var ae=fe.data.containerElement;if(ae&&ae!==document&&ae!==document.body)return ae.scrollLeft;var ye=window.pageXOffset!==void 0,ve=(document.compatMode||"")==="CSS1Compat";return ye?window.pageXOffset:ve?document.documentElement.scrollLeft:document.body.scrollLeft},O=function(fe){var ae=fe.data.containerElement;if(ae&&ae!==document&&ae!==document.body)return ae.scrollTop;var ye=window.pageXOffset!==void 0,ve=(document.compatMode||"")==="CSS1Compat";return ye?window.pageYOffset:ve?document.documentElement.scrollTop:document.body.scrollTop},U=function(fe){var ae=fe.data.containerElement;if(ae&&ae!==document&&ae!==document.body)return ae.scrollWidth-ae.offsetWidth;var ye=document.body,ve=document.documentElement;return Math.max(ye.scrollWidth,ye.offsetWidth,ve.clientWidth,ve.scrollWidth,ve.offsetWidth)},D=function(fe){var ae=fe.data.containerElement;if(ae&&ae!==document&&ae!==document.body)return ae.scrollHeight-ae.offsetHeight;var ye=document.body,ve=document.documentElement;return Math.max(ye.scrollHeight,ye.offsetHeight,ve.clientHeight,ve.scrollHeight,ve.offsetHeight)},F=function he(fe,ae,ye){var ve=ae.data;if(!ae.ignoreCancelEvents&&ve.cancel){g.default.registered.end&&g.default.registered.end(ve.to,ve.target,ve.currentPositionY);return}if(ve.delta=Math.round(ve.targetPosition-ve.startPosition),ve.start===null&&(ve.start=ye),ve.progress=ye-ve.start,ve.percent=ve.progress>=ve.duration?1:fe(ve.progress/ve.duration),ve.currentPosition=ve.startPosition+Math.ceil(ve.delta*ve.percent),ve.containerElement&&ve.containerElement!==document&&ve.containerElement!==document.body?ae.horizontal?ve.containerElement.scrollLeft=ve.currentPosition:ve.containerElement.scrollTop=ve.currentPosition:ae.horizontal?window.scrollTo(ve.currentPosition,0):window.scrollTo(0,ve.currentPosition),ve.percent<1){var Ue=he.bind(null,fe,ae);E.call(window,Ue);return}g.default.registered.end&&g.default.registered.end(ve.to,ve.target,ve.currentPosition)},j=function(fe){fe.data.containerElement=fe?fe.containerId?document.getElementById(fe.containerId):fe.container&&fe.container.nodeType?fe.container:document:null},M=function(fe,ae,ye,ve){ae.data=ae.data||w(),window.clearTimeout(ae.data.delayTimeout);var Ue=function(){ae.data.cancel=!0};if(l.default.subscribe(Ue),j(ae),ae.data.start=null,ae.data.cancel=!1,ae.data.startPosition=ae.horizontal?C(ae):O(ae),ae.data.targetPosition=ae.absolute?fe:fe+ae.data.startPosition,ae.data.startPosition===ae.data.targetPosition){g.default.registered.end&&g.default.registered.end(ae.data.to,ae.data.target,ae.data.currentPosition);return}ae.data.delta=Math.round(ae.data.targetPosition-ae.data.startPosition),ae.data.duration=b(ae.duration)(ae.data.delta),ae.data.duration=isNaN(parseFloat(ae.data.duration))?1e3:parseFloat(ae.data.duration),ae.data.to=ye,ae.data.target=ve;var We=v(ae),de=F.bind(null,We,ae);if(ae&&ae.delay>0){ae.data.delayTimeout=window.setTimeout(function(){g.default.registered.begin&&g.default.registered.begin(ae.data.to,ae.data.target),E.call(window,de)},ae.delay);return}g.default.registered.begin&&g.default.registered.begin(ae.data.to,ae.data.target),E.call(window,de)},W=function(fe){return fe=n({},fe),fe.data=fe.data||w(),fe.absolute=!0,fe},V=function(fe){M(0,W(fe))},q=function(fe,ae){M(fe,W(ae))},J=function(fe){fe=W(fe),j(fe),M(fe.horizontal?U(fe):D(fe),fe)},re=function(fe,ae){ae=W(ae),j(ae);var ye=ae.horizontal?C(ae):O(ae);M(fe+ye,ae)};d.default={animateTopScroll:M,getAnimationType:v,scrollToTop:V,scrollToBottom:J,scrollTo:q,scrollMore:re}}
712,96102(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(65098),r=["mousedown","mousewheel","touchmove","keydown"];d.default={subscribe:function(i){return typeof document<"u"&&r.forEach(function(s){return(0,n.addPassiveEventListener)(document,s,i)})}}},65098(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e=d.addPassiveEventListener=function(i,s,u){var l=u.name;l||(l=s,console.warn("Listener must be a named function.")),r.has(s)||r.set(s,new Set);var m=r.get(s);if(!m.has(l)){var g=(function(){var h=!1;try{var v=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("test",null,v)}catch{}return h})();i.addEventListener(s,u,g?{passive:!0}:!1),m.add(l)}},n=d.removePassiveEventListener=function(i,s,u){i.removeEventListener(s,u),r.get(s).delete(u.name||s)},r=new Map},3912(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(w){for(var C=1;C<arguments.length;C++){var O=arguments[C];for(var U in O)Object.prototype.hasOwnProperty.call(O,U)&&(w[U]=O[U])}return w},r=(function(){function w(C,O){for(var U=0;U<O.length;U++){var D=O[U];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(C,D.key,D)}}return function(C,O,U){return O&&w(C.prototype,O),U&&w(C,U),C}})(),a=e(26372),i=v(a),s=e(45869),u=v(s),l=e(44818),m=v(l),g=e(30994),h=v(g);function v(w){return w&&w.__esModule?w:{default:w}}function b(w,C){if(!(w instanceof C))throw new TypeError("Cannot call a class as a function")}function T(w,C){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:w}function E(w,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);w.prototype=Object.create(C&&C.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(w,C):w.__proto__=C)}d.default=function(w){var C=(function(O){E(U,O);function U(D){b(this,U);var F=T(this,(U.__proto__||Object.getPrototypeOf(U)).call(this,D));return F.childBindings={domNode:null},F}return r(U,[{key:"componentDidMount",value:function(){if(typeof window>"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(F){this.props.name!==F.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if(typeof window>"u")return!1;m.default.unregister(this.props.name)}},{key:"registerElems",value:function(F){m.default.register(F,this.childBindings.domNode)}},{key:"render",value:function(){return i.default.createElement(w,n({},this.props,{parentBindings:this.childBindings}))}}]),U})(i.default.Component);return C.propTypes={name:h.default.string,id:h.default.string},C}},89327(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e={registered:{},scrollEvent:{register:function(r,a){e.registered[r]=a},remove:function(r){e.registered[r]=null}}};d.default=e},74078(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(65098),r=e(28007),a=i(r);function i(u){return u&&u.__esModule?u:{default:u}}var s={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(l){this.scroller=l,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(l,m){this.containers[l]=m},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var l=this,m=this.getHash();m?window.setTimeout(function(){l.scrollTo(m,!0),l.initialized=!0},10):this.initialized=!0},scrollTo:function(l,m){var g=this.scroller,h=g.get(l);if(h&&(m||l!==g.getActiveLink())){var v=this.containers[l]||document;g.scrollTo(l,{container:v})}},getHash:function(){return a.default.getHash()},changeHash:function(l,m){this.isInitialized()&&a.default.getHash()!==l&&a.default.updateHash(l,m)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}};d.default=s},45750(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(U){for(var D=1;D<arguments.length;D++){var F=arguments[D];for(var j in F)Object.prototype.hasOwnProperty.call(F,j)&&(U[j]=F[j])}return U},r=(function(){function U(D,F){for(var j=0;j<F.length;j++){var M=F[j];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(D,M.key,M)}}return function(D,F,j){return F&&U(D.prototype,F),j&&U(D,j),D}})(),a=e(26372),i=T(a),s=e(39218),u=T(s),l=e(44818),m=T(l),g=e(30994),h=T(g),v=e(74078),b=T(v);function T(U){return U&&U.__esModule?U:{default:U}}function E(U,D){if(!(U instanceof D))throw new TypeError("Cannot call a class as a function")}function w(U,D){if(!U)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:U}function C(U,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);U.prototype=Object.create(D&&D.prototype,{constructor:{value:U,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(U,D):U.__proto__=D)}var O={to:h.default.string.isRequired,containerId:h.default.string,container:h.default.object,activeClass:h.default.string,activeStyle:h.default.object,spy:h.default.bool,horizontal:h.default.bool,smooth:h.default.oneOfType([h.default.bool,h.default.string]),offset:h.default.number,delay:h.default.number,isDynamic:h.default.bool,onClick:h.default.func,duration:h.default.oneOfType([h.default.number,h.default.func]),absolute:h.default.bool,onSetActive:h.default.func,onSetInactive:h.default.func,ignoreCancelEvents:h.default.bool,hashSpy:h.default.bool,saveHashHistory:h.default.bool,spyThrottle:h.default.number};d.default=function(U,D){var F=D||m.default,j=(function(W){C(V,W);function V(q){E(this,V);var J=w(this,(V.__proto__||Object.getPrototypeOf(V)).call(this,q));return M.call(J),J.state={active:!1},J}return r(V,[{key:"getScrollSpyContainer",value:function(){var J=this.props.containerId,re=this.props.container;return J&&!re?document.getElementById(J):re&&re.nodeType?re:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var J=this.getScrollSpyContainer();u.default.isMounted(J)||u.default.mount(J,this.props.spyThrottle),this.props.hashSpy&&(b.default.isMounted()||b.default.mount(F),b.default.mapContainer(this.props.to,J)),u.default.addSpyH
712andler(this.spyHandler,J),this.setState({container:J})}}},{key:"componentWillUnmount",value:function(){u.default.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var J="";this.state&&this.state.active?J=((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():J=this.props.className;var re={};this.state&&this.state.active?re=n({},this.props.style,this.props.activeStyle):re=n({},this.props.style);var he=n({},this.props);for(var fe in O)he.hasOwnProperty(fe)&&delete he[fe];return he.className=J,he.style=re,he.onClick=this.handleClick,i.default.createElement(U,he)}}]),V})(i.default.PureComponent),M=function(){var V=this;this.scrollTo=function(q,J){F.scrollTo(q,n({},V.state,J))},this.handleClick=function(q){V.props.onClick&&V.props.onClick(q),q.stopPropagation&&q.stopPropagation(),q.preventDefault&&q.preventDefault(),V.scrollTo(V.props.to,V.props)},this.spyHandler=function(q,J){var re=V.getScrollSpyContainer();if(!(b.default.isMounted()&&!b.default.isInitialized())){var he=V.props.horizontal,fe=V.props.to,ae=null,ye=void 0,ve=void 0;if(he){var Ue=0,We=0,de=0;if(re.getBoundingClientRect){var xe=re.getBoundingClientRect();de=xe.left}if(!ae||V.props.isDynamic){if(ae=F.get(fe),!ae)return;var Fe=ae.getBoundingClientRect();Ue=Fe.left-de+q,We=Ue+Fe.width}var Xe=q-V.props.offset;ye=Xe>=Math.floor(Ue)&&Xe<Math.floor(We),ve=Xe<Math.floor(Ue)||Xe>=Math.floor(We)}else{var Me=0,Ze=0,rt=0;if(re.getBoundingClientRect){var mt=re.getBoundingClientRect();rt=mt.top}if(!ae||V.props.isDynamic){if(ae=F.get(fe),!ae)return;var Xt=ae.getBoundingClientRect();Me=Xt.top-rt+J,Ze=Me+Xt.height}var jt=J-V.props.offset;ye=jt>=Math.floor(Me)&&jt<Math.floor(Ze),ve=jt<Math.floor(Me)||jt>=Math.floor(Ze)}var Lt=F.getActiveLink();if(ve){if(fe===Lt&&F.setActiveLink(void 0),V.props.hashSpy&&b.default.getHash()===fe){var Ht=V.props.saveHashHistory,vr=Ht===void 0?!1:Ht;b.default.changeHash("",vr)}V.props.spy&&V.state.active&&(V.setState({active:!1}),V.props.onSetInactive&&V.props.onSetInactive(fe,ae))}if(ye&&(Lt!==fe||V.state.active===!1)){F.setActiveLink(fe);var Fr=V.props.saveHashHistory,fn=Fr===void 0?!1:Fr;V.props.hashSpy&&b.default.changeHash(fe,fn),V.props.spy&&(V.setState({active:!0}),V.props.onSetActive&&V.props.onSetActive(fe,ae))}}}};return j.propTypes=O,j.defaultProps={offset:0},j}},39218(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(82469),r=i(n),a=e(65098);function i(l){return l&&l.__esModule?l:{default:l}}var s=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:66;return(0,r.default)(m,g)},u={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(m,g){if(m){var h=s(function(v){u.scrollHandler(m)},g);u.scrollSpyContainers.push(m),(0,a.addPassiveEventListener)(m,"scroll",h)}},isMounted:function(m){return u.scrollSpyContainers.indexOf(m)!==-1},currentPositionX:function(m){if(m===document){var g=window.pageYOffset!==void 0,h=(document.compatMode||"")==="CSS1Compat";return g?window.pageXOffset:h?document.documentElement.scrollLeft:document.body.scrollLeft}else return m.scrollLeft},currentPositionY:function(m){if(m===document){var g=window.pageXOffset!==void 0,h=(document.compatMode||"")==="CSS1Compat";return g?window.pageYOffset:h?document.documentElement.scrollTop:document.body.scrollTop}else return m.scrollTop},scrollHandler:function(m){var g=u.scrollSpyContainers[u.scrollSpyContainers.indexOf(m)].spyCallbacks||[];g.forEach(function(h){return h(u.currentPositionX(m),u.currentPositionY(m))})},addStateHandler:function(m){u.spySetState.push(m)},addSpyHandler:function(m,g){var h=u.scrollSpyContainers[u.scrollSpyContainers.indexOf(g)];h.spyCallbacks||(h.spyCallbacks=[]),h.spyCallbacks.push(m),m(u.currentPositionX(g),u.currentPositionY(g))},updateStates:function(){u.spySetState.forEach(function(m){return m()})},unmount:function(m,g){u.scrollSpyContainers.forEach(function(h){return h.spyCallbacks&&h.spyCallbacks.length&&h.spyCallbacks.indexOf(g)>-1&&h.spyCallbacks.splice(h.spyCallbacks.indexOf(g),1)}),u.spySetState&&u.spySetState.length&&u.spySetState.indexOf(m)>-1&&u.spySetState.splice(u.spySetState.indexOf(m),1),document.removeEventListener("scroll",u.scrollHandler)}
712,update:function(){return u.scrollSpyContainers.forEach(function(m){return u.scrollHandler(m)})}};d.default=u},44818(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(v){for(var b=1;b<arguments.length;b++){var T=arguments[b];for(var E in T)Object.prototype.hasOwnProperty.call(T,E)&&(v[E]=T[E])}return v},r=e(28007),a=m(r),i=e(49067),s=m(i),u=e(89327),l=m(u);function m(v){return v&&v.__esModule?v:{default:v}}var g={},h=void 0;d.default={unmount:function(){g={}},register:function(b,T){g[b]=T},unregister:function(b){delete g[b]},get:function(b){return g[b]||document.getElementById(b)||document.getElementsByName(b)[0]||document.getElementsByClassName(b)[0]},setActiveLink:function(b){return h=b},getActiveLink:function(){return h},scrollTo:function(b,T){var E=this.get(b);if(!E){console.warn("target Element not found");return}T=n({},T,{absolute:!1});var w=T.containerId,C=T.container,O=void 0;w?O=document.getElementById(w):C&&C.nodeType?O=C:O=document,T.absolute=!0;var U=T.horizontal,D=a.default.scrollOffset(O,E,U)+(T.offset||0);if(!T.smooth){l.default.registered.begin&&l.default.registered.begin(b,E),O===document?T.horizontal?window.scrollTo(D,0):window.scrollTo(0,D):O.scrollTop=D,l.default.registered.end&&l.default.registered.end(b,E);return}s.default.animateTopScroll(D,T,b,E)}}},22830(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.default={defaultEasing:function(n){return n<.5?Math.pow(n*2,2)/2:1-Math.pow((1-n)*2,2)/2},linear:function(n){return n},easeInQuad:function(n){return n*n},easeOutQuad:function(n){return n*(2-n)},easeInOutQuad:function(n){return n<.5?2*n*n:-1+(4-2*n)*n},easeInCubic:function(n){return n*n*n},easeOutCubic:function(n){return--n*n*n+1},easeInOutCubic:function(n){return n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1},easeInQuart:function(n){return n*n*n*n},easeOutQuart:function(n){return 1- --n*n*n*n},easeInOutQuart:function(n){return n<.5?8*n*n*n*n:1-8*--n*n*n*n},easeInQuint:function(n){return n*n*n*n*n},easeOutQuint:function(n){return 1+--n*n*n*n*n},easeInOutQuint:function(n){return n<.5?16*n*n*n*n*n:1+16*--n*n*n*n*n}}},28007(f,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var e=function(l,m){var g=l.indexOf("#")===0?l.substring(1):l,h=g?"#"+g:"",v=window&&window.location,b=h?v.pathname+v.search+h:v.pathname+v.search;m?history.pushState(history.state,"",b):history.replaceState(history.state,"",b)},n=function(){return window.location.hash.replace(/^#/,"")},r=function(l){return function(m){return l.contains?l!=m&&l.contains(m):!!(l.compareDocumentPosition(m)&16)}},a=function(l){return getComputedStyle(l).position!=="static"},i=function(l,m){for(var g=l.offsetTop,h=l.offsetParent;h&&!m(h);)g+=h.offsetTop,h=h.offsetParent;return{offsetTop:g,offsetParent:h}},s=function(l,m,g){if(g)return l===document?m.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):getComputedStyle(l).position!=="static"?m.offsetLeft:m.offsetLeft-l.offsetLeft;if(l===document)return m.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if(a(l)){if(m.offsetParent!==l){var h=function(C){return C===l||C===document},v=i(m,h),b=v.offsetTop,T=v.offsetParent;if(T!==l)throw new Error("Seems containerElement is not an ancestor of the Element");return b}return m.offsetTop}if(m.offsetParent===l.offsetParent)return m.offsetTop-l.offsetTop;var E=function(C){return C===document};return i(m,E).offsetTop-i(l,E).offsetTop};d.default={updateHash:e,getHash:n,filterElementInContainer:r,scrollOffset:s}},26741(f,d,e){"use strict";e.d(d,{A:()=>E});var n=e(32229),r=e(17812),a=e(47885);function i(w,C){return w.classList?!!C&&w.classList.contains(C):(" "+(w.className.baseVal||w.className)+" ").indexOf(" "+C+" ")!==-1}function s(w,C){w.classList?w.classList.add(C):i(w,C)||(typeof w.className=="string"?w.className=w.className+" "+C:w.setAttribute("class",(w.className&&w.className.baseVal||"")+" "+C))}function u(w,C){return w.replace(new RegExp("(^|\\s)"+C+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function l(w,C){w.classList?w.classList.remove(C):typeof w.className=="string"?w.className=u(w.className,C):w.setAttribute("class",u(w.className&&w.className.baseVal||"",C))}var m=e(26372),g=e(98806),h=e(77199),v=function(C,O){return C&&O&&O.split(" ").forEach(function(U){return s(C,U)})},b=function(C,O){return C&&O&&O.split(" ").forEach(function(U){return l(C,U)})},T=(function(w){(0,a.A)(C,w);function C(){for(var U,D=arguments.length,F=new Array(D),j=0;j<D;j++)F[j]=arguments[j];
vendor: 5,934 bytes, line 712
712return U=w.call.apply(w,[this].concat(F))||this,U.appliedClasses={appear:{},enter:{},exit:{}},U.onEnter=function(M,W){var V=U.resolveArguments(M,W),q=V[0],J=V[1];U.removeClasses(q,"exit"),U.addClass(q,J?"appear":"enter","base"),U.props.onEnter&&U.props.onEnter(M,W)},U.onEntering=function(M,W){var V=U.resolveArguments(M,W),q=V[0],J=V[1],re=J?"appear":"enter";U.addClass(q,re,"active"),U.props.onEntering&&U.props.onEntering(M,W)},U.onEntered=function(M,W){var V=U.resolveArguments(M,W),q=V[0],J=V[1],re=J?"appear":"enter";U.removeClasses(q,re),U.addClass(q,re,"done"),U.props.onEntered&&U.props.onEntered(M,W)},U.onExit=function(M){var W=U.resolveArguments(M),V=W[0];U.removeClasses(V,"appear"),U.removeClasses(V,"enter"),U.addClass(V,"exit","base"),U.props.onExit&&U.props.onExit(M)},U.onExiting=function(M){var W=U.resolveArguments(M),V=W[0];U.addClass(V,"exit","active"),U.props.onExiting&&U.props.onExiting(M)},U.onExited=function(M){var W=U.resolveArguments(M),V=W[0];U.removeClasses(V,"exit"),U.addClass(V,"exit","done"),U.props.onExited&&U.props.onExited(M)},U.resolveArguments=function(M,W){return U.props.nodeRef?[U.props.nodeRef.current,M]:[M,W]},U.getClassNames=function(M){var W=U.props.classNames,V=typeof W=="string",q=V&&W?W+"-":"",J=V?""+q+M:W[M],re=V?J+"-active":W[M+"Active"],he=V?J+"-done":W[M+"Done"];return{baseClassName:J,activeClassName:re,doneClassName:he}},U}var O=C.prototype;return O.addClass=function(D,F,j){var M=this.getClassNames(F)[j+"ClassName"],W=this.getClassNames("enter"),V=W.doneClassName;F==="appear"&&j==="done"&&V&&(M+=" "+V),j==="active"&&D&&(0,h.F)(D),M&&(this.appliedClasses[F][j]=M,v(D,M))},O.removeClasses=function(D,F){var j=this.appliedClasses[F],M=j.base,W=j.active,V=j.done;this.appliedClasses[F]={},M&&b(D,M),W&&b(D,W),V&&b(D,V)},O.render=function(){var D=this.props,F=D.classNames,j=(0,r.A)(D,["classNames"]);return m.createElement(g.Ay,(0,n.A)({},j,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},C})(m.Component);T.defaultProps={classNames:""},T.propTypes={};const E=T},98806(f,d,e){"use strict";e.d(d,{Ay:()=>w});var n=e(17812),r=e(47885),a=e(26372),i=e(45869);const s={disabled:!1};var u=e(14069),l=e(77199),m="unmounted",g="exited",h="entering",v="entered",b="exiting",T=(function(C){(0,r.A)(O,C);function O(D,F){var j;j=C.call(this,D,F)||this;var M=F,W=M&&!M.isMounting?D.enter:D.appear,V;return j.appearStatus=null,D.in?W?(V=g,j.appearStatus=h):V=v:D.unmountOnExit||D.mountOnEnter?V=m:V=g,j.state={status:V},j.nextCallback=null,j}O.getDerivedStateFromProps=function(F,j){var M=F.in;return M&&j.status===m?{status:g}:null};var U=O.prototype;return U.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},U.componentDidUpdate=function(F){var j=null;if(F!==this.props){var M=this.state.status;this.props.in?M!==h&&M!==v&&(j=h):(M===h||M===v)&&(j=b)}this.updateStatus(!1,j)},U.componentWillUnmount=function(){this.cancelNextCallback()},U.getTimeouts=function(){var F=this.props.timeout,j,M,W;return j=M=W=F,F!=null&&typeof F!="number"&&(j=F.exit,M=F.enter,W=F.appear!==void 0?F.appear:M),{exit:j,enter:M,appear:W}},U.updateStatus=function(F,j){if(F===void 0&&(F=!1),j!==null)if(this.cancelNextCallback(),j===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var M=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this);M&&(0,l.F)(M)}this.performEnter(F)}else this.performExit();else this.props.unmountOnExit&&this.state.status===g&&this.setState({status:m})},U.performEnter=function(F){var j=this,M=this.props.enter,W=this.context?this.context.isMounting:F,V=this.props.nodeRef?[W]:[i.findDOMNode(this),W],q=V[0],J=V[1],re=this.getTimeouts(),he=W?re.appear:re.enter;if(!F&&!M||s.disabled){this.safeSetState({status:v},function(){j.props.onEntered(q)});return}this.props.onEnter(q,J),this.safeSetState({status:h},function(){j.props.onEntering(q,J),j.onTransitionEnd(he,function(){j.safeSetState({status:v},function(){j.props.onEntered(q,J)})})})},U.performExit=function(){var F=this,j=this.props.exit,M=this.getTimeouts(),W=this.props.nodeRef?void 0:i.findDOMNode(this);if(!j||s.disabled){this.safeSetState({status:g},function(){F.props.onExited(W)});return}this.props.onExit(W),this.safeSetState({status:b},function(){F.props.onExiting(W),F.onTransitionEnd(M.exit,function(){F.safeSetState({status:g},function(){F.props.onExited(W)})})})},U.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},U.safeSetState=function(F,j){j=this.setNextCallback(j),this.setState(F,j)},U.setNextCallback=function(F){var j=this,M=!0;return this.nextCallback=function(W){M&&(M=!1,j.nextCallback=null,F(W))},this.nextCallback.cancel=function(){M=!1},this.nextCallback},U.onTransitionEnd=function(F,j){this.setNextCallback(j);var M=this.props.nodeRef?this.props.nodeRef.current:i.findDOMNode(this),W=F==null&&!this.props.addEndListener;if(!M||W){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var V=this.props.nodeRef?[this.nextCallback]:[M,this.nextCallback],q=V[0],J=V[1];this.props.addEndListener(q,J)}F!=null&&setTimeout(this.nextCallback,F)},U.render=function(){var F=this.state.status;if(F===m)return null;var j=this.props,M=j.children,W=j.in,V=j.mountOnEnter,q=j.unmountOnExit,J=j.appear,re=j.enter,he=j.exit,fe=j.timeout,ae=j.addEndListener,ye=j.onEnter,ve=j.onEntering,Ue=j.onEntered,We=j.onExit,de=j.onExiting,xe=j.onExited,Fe=j.nodeRef,Xe=(0,n.A)(j,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return a.createElement(u.A.Provider,{value:null},typeof M=="function"?M(F,Xe):a.cloneElement(a.Children.only(M),Xe))},O})(a.Component);T.contextType=u.A,T.propTypes={};function E(){}T.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
712:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E},T.UNMOUNTED=m,T.EXITED=g,T.ENTERING=h,T.ENTERED=v,T.EXITING=b;const w=T},23233(f,d,e){"use strict";e.d(d,{A:()=>w});var n=e(17812),r=e(32229);function a(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}var i=e(47885),s=e(26372),u=e(14069);function l(C,O){var U=function(j){return O&&(0,s.isValidElement)(j)?O(j):j},D=Object.create(null);return C&&s.Children.map(C,function(F){return F}).forEach(function(F){D[F.key]=U(F)}),D}function m(C,O){C=C||{},O=O||{};function U(J){return J in O?O[J]:C[J]}var D=Object.create(null),F=[];for(var j in C)j in O?F.length&&(D[j]=F,F=[]):F.push(j);var M,W={};for(var V in O){if(D[V])for(M=0;M<D[V].length;M++){var q=D[V][M];W[D[V][M]]=U(q)}W[V]=U(V)}for(M=0;M<F.length;M++)W[F[M]]=U(F[M]);return W}function g(C,O,U){return U[O]!=null?U[O]:C.props[O]}function h(C,O){return l(C.children,function(U){return(0,s.cloneElement)(U,{onExited:O.bind(null,U),in:!0,appear:g(U,"appear",C),enter:g(U,"enter",C),exit:g(U,"exit",C)})})}function v(C,O,U){var D=l(C.children),F=m(O,D);return Object.keys(F).forEach(function(j){var M=F[j];if((0,s.isValidElement)(M)){var W=j in O,V=j in D,q=O[j],J=(0,s.isValidElement)(q)&&!q.props.in;V&&(!W||J)?F[j]=(0,s.cloneElement)(M,{onExited:U.bind(null,M),in:!0,exit:g(M,"exit",C),enter:g(M,"enter",C)}):!V&&W&&!J?F[j]=(0,s.cloneElement)(M,{in:!1}):V&&W&&(0,s.isValidElement)(q)&&(F[j]=(0,s.cloneElement)(M,{onExited:U.bind(null,M),in:q.props.in,exit:g(M,"exit",C),enter:g(M,"enter",C)}))}}),F}var b=Object.values||function(C){return Object.keys(C).map(function(O){return C[O]})},T={component:"div",childFactory:function(O){return O}},E=(function(C){(0,i.A)(O,C);function O(D,F){var j;j=C.call(this,D,F)||this;var M=j.handleExited.bind(a(j));return j.state={contextValue:{isMounting:!0},handleExited:M,firstRender:!0},j}var U=O.prototype;return U.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},U.componentWillUnmount=function(){this.mounted=!1},O.getDerivedStateFromProps=function(F,j){var M=j.children,W=j.handleExited,V=j.firstRender;return{children:V?h(F,W):v(F,M,W),firstRender:!1}},U.handleExited=function(F,j){var M=l(this.props.children);F.key in M||(F.props.onExited&&F.props.onExited(j),this.mounted&&this.setState(function(W){var V=(0,r.A)({},W.children);return delete V[F.key],{children:V}}))},U.render=function(){var F=this.props,j=F.component,M=F.childFactory,W=(0,n.A)(F,["component","childFactory"]),V=this.state.contextValue,q=b(this.state.children).map(M);return delete W.appear,delete W.enter,delete W.exit,j===null?s.createElement(u.A.Provider,{value:V},q):s.createElement(u.A.Provider,{value:V},s.createElement(j,W,q))},O})(s.Component);E.propTypes={},E.defaultProps=T;const w=E},14069(f,d,e){"use strict";e.d(d,{A:()=>r});var n=e(26372);const r=n.createContext(null)},77199(f,d,e){"use strict";e.d(d,{F:()=>n});var n=function(a){return a.scrollTop}},32960(f,d,e){"use strict";e.d(d,{AU:()=>a,Bd:()=>i,lQ:()=>n,on:()=>r});var n=function(){};function r(u){for(var l=[],m=1;m<arguments.length;m++)l[m-1]=arguments[m];u&&u.addEventListener&&u.addEventListener.apply(u,l)}function a(u){for(var l=[],m=1;m<arguments.length;m++)l[m-1]=arguments[m];u&&u.removeEventListener&&u.removeEventListener.apply(u,l)}var i=typeof window<"u",s=typeof navigator<"u"},61162(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(26372),r=e(32960),a=["mousedown","touchstart"],i=function(u,l,m){m===void 0&&(m=a);var g=(0,n.useRef)(l);(0,n.useEffect)(function(){g.current=l},[l]),(0,n.useEffect)(function(){for(var h=function(E){var w=u.current;w&&!w.contains(E.target)&&g.current(E)},v=0,b=m;v<b.length;v++){var T=b[v];(0,r.on)(document,T,h)}return function(){for(var E=0,w=m;E<w.length;E++){var C=w[E];(0,r.AU)(document,C,h)}}},[m,u])};const s=i},73734(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(26372),r=function(i){(0,n.useEffect)(i,[])};const a=r},52836(f,d,e){"use strict";e.d(d,{A:()=>l});var n=e(26372),r=e(32960),a=r.Bd?window:null,i=function(m){return!!m.addEventListener},s=function(m){return!!m.on},u=function(m,g,h,v){h===void 0&&(h=a),(0,n.useEffect)(function(){if(g&&h)return i(h)?(0,r.on)(h,m,g,v):s(h)&&h.on(m,g,v),function(){i(h)?(0,r.AU)(h,m,g,v):s(h)&&h.off(m,g,v)}},[m,g,h,JSON.stringify(v)])};const l=u},41088(f,d,e){"use strict";e.d(d,{S:()=>r});var n=e(26372);function r(){var a=(0,n.useRef)(!0);return a.current?(a.current=!1,!0):a.current}},26422(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(26372),r=e(32960),a=n.useState,i=function(u){var l=a(!1),m=l[0],g=l[1],h=function(T){return function(E){(T||r.lQ)(E),g(!0)}},v=function(T){return function(E){(T||r.lQ)(E),g(!1)}};typeof u=="function"&&(u=u(m));var b=n.cloneElement(u,{onMouseEnter:h(u.props.onMouseEnter),onMouseLeave:v(u.props.onMouseLeave)});return[b,m]};const s=i},48519(f,d,e){"use strict";e.d(d,{A:()=>a});
712var n=e(26372),r=function(i,s){var u=(0,n.useState)(null),l=u[0],m=u[1];return(0,n.useEffect)(function(){if(i.current&&typeof IntersectionObserver=="function"){var g=function(v){m(v[0])},h=new IntersectionObserver(g,s);return h.observe(i.current),function(){m(null),h.disconnect()}}return function(){}},[i.current,s.threshold,s.root,s.rootMargin]),l};const a=r},75921(f,d,e){"use strict";e.d(d,{A:()=>T});var n=e(26372),r=e(52836),a=e(32960),i=function(E){return typeof E=="function"?E:typeof E=="string"?function(w){return w.key===E}:E?function(){return!0}:function(){return!1}},s=function(E,w,C,O){w===void 0&&(w=a.lQ),C===void 0&&(C={}),O===void 0&&(O=[E]);var U=C.event,D=U===void 0?"keydown":U,F=C.target,j=C.options,M=(0,n.useMemo)(function(){var W=i(E),V=function(q){if(W(q))return w(q)};return V},O);(0,r.A)(D,M,F,j)};const u=s;var l=function(E){var w=(0,n.useState)([!1,null]),C=w[0],O=w[1];return u(E,function(U){return O([!0,U])},{event:"keydown"},[C]),u(E,function(U){return O([!1,U])},{event:"keyup"},[C]),C};const m=l;var g=e(41088),h=function(E,w){var C=(0,g.S)();(0,n.useEffect)(function(){if(!C)return E()},w)};const v=h;var b=function(E,w,C,O){O===void 0&&(O=m);var U=O(E),D=U[0],F=U[1];v(function(){!D&&C?C(F):D&&w&&w(F)},[D])};const T=b},63083(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(26372),r=function(i,s){(0,n.useEffect)(function(){return i&&i(),function(){s&&s()}},[])};const a=r},34965(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(73734),r=function(i){(0,n.A)(function(){i()})};const a=r},47615(f,d,e){"use strict";e.d(d,{A:()=>r});var n=e(26372);function r(a){var i=(0,n.useRef)();return(0,n.useEffect)(function(){i.current=a}),i.current}},1957(f,d,e){"use strict";e.d(d,{A:()=>g});var n=e(83303),r=e(26372),a=function(h){return h!==Object(h)},i=function(h,v,b){var T=(0,r.useRef)(void 0);(!T.current||!b(v,T.current))&&(T.current=v),(0,r.useEffect)(h,T.current)};const s=i;var u=function(h){return h!==Object(h)},l=function(h,v){return h.every(function(b,T){return(0,n.L)(b,v[T])})},m=function(h,v){s(h,v,l)};const g=m},9560(f,d,e){"use strict";e.d(d,{A:()=>i});var n=e(26372),r=e(73734),a=function(s){var u=(0,n.useRef)(s);u.current=s,(0,r.A)(function(){return function(){return u.current()}})};const i=a},88625(f,d){"use strict";/** 713 * @license React 714 * react-jsx-runtime.production.js 715 * 716 * Copyright (c) Meta Platforms, Inc. and affiliates. 717 * 718 * This source code is licensed under the MIT license found in the 719 * LICENSE file in the root directory of this source tree. 720 */var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(a,i,s){var u=null;if(s!==void 0&&(u=""+s),i.key!==void 0&&(u=""+i.key),"key"in i){s={};for(var l in i)l!=="key"&&(s[l]=i[l])}else s=i;return i=s.ref,{$$typeof:e,type:a,key:u,ref:i!==void 0?i:null,props:s}}d.Fragment=n,d.jsx=r,d.jsxs=r},16881(f,d,e){"use strict";f.exports=e(88625)},47296(f,d,e){"use strict";e.d(d,{Mz:()=>u});function n(m,g){return m===g}function r(m,g,h){if(g===null||h===null||g.length!==h.length)return!1;for(var v=g.length,b=0;b<v;b++)if(!m(g[b],h[b]))return!1;return!0}function a(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n,h=null,v=null;return function(){return r(g,h,arguments)||(v=m.apply(null,arguments)),h=arguments,v}}function i(m){var g=Array.isArray(m[0])?m[0]:m;if(!g.every(function(v){return typeof v=="function"})){var h=g.map(function(v){return typeof v}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+h+"]"))}return g}function s(m){for(var g=arguments.length,h=Array(g>1?g-1:0),v=1;v<g;v++)h[v-1]=arguments[v];return function(){for(var b=arguments.length,T=Array(b),E=0;E<b;E++)T[E]=arguments[E];var w=0,C=T.pop(),O=i(T),U=m.apply(void 0,[function(){return w++,C.apply(null,arguments)}].concat(h)),D=m(function(){for(var F=[],j=O.length,M=0;M<j;M++)F.push(O[M].apply(null,arguments));return U.apply(null,F)});return D.resultFunc=C,D.dependencies=O,D.recomputations=function(){return w},D.resetRecomputations=function(){return w=0},D}}var u=s(a);function l(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;if(typeof m!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof m));var h=Object.keys(m);return g(h.map(function(v){return m[v]}),function(){for(var v=arguments.length,b=Array(v),T=0;T<v;T++)b[T]=arguments[T];return b.reduce(function(E,w,C){return E[h[C]]=w,E},{})})}},83972(f,d,e){"use strict";e.d(d,{A:()=>h});function n(v){return v!=null&&typeof v=="object"&&(v.nodeType===1||v.nodeType===11)}function r(v,b){return b&&v==="hidden"?!1:v!=="visible"&&v!=="clip"}function a(v,b){if(v.clientHeight<v.scrollHeight||v.clientWidth<v.scrollWidth){var T=getComputedStyle(v,null);return r(T.overflowY,b)||r(T.overflowX,b)}return!1}function i(v,b,T,E,w,C,O,U){return C<v&&O>b||C>v&&O<b?0:C<v&&U<T||O>b&&U>T?C-v-E:O>b&&U<T||C<v&&U>T?O-b+w:0}const s=(function(v,b){var T=b.scrollMode,E=b.block,w=b.inline,C=b.boundary,O=b.skipOverflowHiddenElements,U=typeof C=="function"?C:function(Dr){return Dr!==C};if(!n(v))throw new TypeError("Invalid target");for(var D=document.scrollingElement||document.documentElement,F=[],j=v;n(j)&&U(j);){if(j=j.parentNode||j.host,j===D){F.push(j);break}j===document.body&&a(j)&&!a(document.documentElement)||a(j,O)&&F.push(j)}
720for(var M=window.visualViewport?visualViewport.width:innerWidth,W=window.visualViewport?visualViewport.height:innerHeight,V=window.scrollX||pageXOffset,q=window.scrollY||pageYOffset,J=v.getBoundingClientRect(),re=J.height,he=J.width,fe=J.top,ae=J.right,ye=J.bottom,ve=J.left,Ue=E==="start"||E==="nearest"?fe:E==="end"?ye:fe+re/2,We=w==="center"?ve+he/2:w==="end"?ae:ve,de=[],xe=0;xe<F.length;xe++){var Fe=F[xe],Xe=Fe.getBoundingClientRect(),Me=Xe.height,Ze=Xe.width,rt=Xe.top,mt=Xe.right,Xt=Xe.bottom,jt=Xe.left;if(T==="if-needed"&&fe>=0&&ve>=0&&ye<=W&&ae<=M&&fe>=rt&&ye<=Xt&&ve>=jt&&ae<=mt)return de;var Lt=getComputedStyle(Fe),Ht=parseInt(Lt.borderLeftWidth,10),vr=parseInt(Lt.borderTopWidth,10),Fr=parseInt(Lt.borderRightWidth,10),fn=parseInt(Lt.borderBottomWidth,10),Kr=0,Sn=0,Fn="offsetWidth"in Fe?Fe.offsetWidth-Fe.clientWidth-Ht-Fr:0,Et="offsetHeight"in Fe?Fe.offsetHeight-Fe.clientHeight-vr-fn:0;if(D===Fe)E==="start"?Kr=Ue:E==="end"?Kr=Ue-W:E==="nearest"?Kr=i(q,q+W,W,vr,fn,q+Ue,q+Ue+re,re):Kr=Ue-W/2,w==="start"?Sn=We:w==="center"?Sn=We-M/2:w==="end"?Sn=We-M:Sn=i(V,V+M,M,Ht,Fr,V+We,V+We+he,he),Kr=Math.max(0,Kr+q),Sn=Math.max(0,Sn+V);else{E==="start"?Kr=Ue-rt-vr:E==="end"?Kr=Ue-Xt+fn+Et:E==="nearest"?Kr=i(rt,Xt,Me,vr,fn+Et,Ue,Ue+re,re):Kr=Ue-(rt+Me/2)+Et/2,w==="start"?Sn=We-jt-Ht:w==="center"?Sn=We-(jt+Ze/2)+Fn/2:w==="end"?Sn=We-mt+Fr+Fn:Sn=i(jt,mt,Ze,Ht,Fr+Fn,We,We+he,he);var st=Fe.scrollLeft,Wr=Fe.scrollTop;Kr=Math.max(0,Math.min(Wr+Kr,Fe.scrollHeight-Me+Et)),Sn=Math.max(0,Math.min(st+Sn,Fe.scrollWidth-Ze+Fn)),Ue+=Wr-Kr,We+=st-Sn}de.push({el:Fe,top:Kr,left:Sn})}return de});function u(v){return v===Object(v)&&Object.keys(v).length!==0}function l(v,b){b===void 0&&(b="auto");var T="scrollBehavior"in document.body.style;v.forEach(function(E){var w=E.el,C=E.top,O=E.left;w.scroll&&T?w.scroll({top:C,left:O,behavior:b}):(w.scrollTop=C,w.scrollLeft=O)})}function m(v){return v===!1?{block:"end",inline:"nearest"}:u(v)?v:{block:"start",inline:"nearest"}}function g(v,b){if(u(b)&&typeof b.behavior=="function")return b.behavior(s(v,b));var T=m(b);return l(s(v,T),T.behavior)}const h=g},55222(f,d,e){"use strict";const n=Symbol("SemVer ANY");class r{static get ANY(){return n}constructor(v,b){if(b=a(b),v instanceof r){if(v.loose===!!b.loose)return v;v=v.value}v=v.trim().split(/\s+/).join(" "),l("comparator",v,b),this.options=b,this.loose=!!b.loose,this.parse(v),this.semver===n?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(v){const b=this.options.loose?i[s.COMPARATORLOOSE]:i[s.COMPARATOR],T=v.match(b);if(!T)throw new TypeError(`Invalid comparator: ${v}`);this.operator=T[1]!==void 0?T[1]:"",this.operator==="="&&(this.operator=""),T[2]?this.semver=new m(T[2],this.options.loose):this.semver=n}toString(){return this.value}test(v){if(l("Comparator.test",v,this.options.loose),this.semver===n||v===n)return!0;if(typeof v=="string")try{v=new m(v,this.options)}catch{return!1}return u(v,this.operator,this.semver,this.options)}intersects(v,b){if(!(v instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new g(v.value,b).test(this.value):v.operator===""?v.value===""?!0:new g(this.value,b).test(v.semver):(b=a(b),b.includePrerelease&&(this.value==="<0.0.0-0"||v.value==="<0.0.0-0")||!b.includePrerelease&&(this.value.startsWith("<0.0.0")||v.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&v.operator.startsWith(">")||this.operator.startsWith("<")&&v.operator.startsWith("<")||this.semver.version===v.semver.version&&this.operator.includes("=")&&v.operator.includes("=")||u(this.semver,"<",v.semver,b)&&this.operator.startsWith(">")&&v.operator.startsWith("<")||u(this.semver,">",v.semver,b)&&this.operator.startsWith("<")&&v.operator.startsWith(">")))}}f.exports=r;const a=e(92937),{safeRe:i,t:s}=e(80532),u=e(89737),l=e(86542),m=e(19890),g=e(17369)},17369(f,d,e){"use strict";const n=/\s+/g;class r{constructor(ve,Ue){if(Ue=s(Ue),ve instanceof r)return ve.loose===!!Ue.loose&&ve.includePrerelease===!!Ue.includePrerelease?ve:new r(ve.raw,Ue);if(ve instanceof u)return this.raw=ve.value,this.set=[[ve]],this.formatted=void 0,this;if(this.options=Ue,this.loose=!!Ue.loose,this.includePrerelease=!!Ue.includePrerelease,this.raw=ve.trim().replace(n," "),this.set=this.raw.split("||").map(We=>this.parseRange(We.trim())).filter(We=>We.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
vendor: 5,913 bytes, line 720
720if(this.set.length>1){const We=this.set[0];if(this.set=this.set.filter(de=>!C(de[0])),this.set.length===0)this.set=[We];else if(this.set.length>1){for(const de of this.set)if(de.length===1&&O(de[0])){this.set=[de];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let ve=0;ve<this.set.length;ve++){ve>0&&(this.formatted+="||");const Ue=this.set[ve];for(let We=0;We<Ue.length;We++)We>0&&(this.formatted+=" "),this.formatted+=Ue[We].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(ve){const We=((this.options.includePrerelease&&E)|(this.options.loose&&w))+":"+ve,de=i.get(We);if(de)return de;const xe=this.options.loose,Fe=xe?g[h.HYPHENRANGELOOSE]:g[h.HYPHENRANGE];ve=ve.replace(Fe,fe(this.options.includePrerelease)),l("hyphen replace",ve),ve=ve.replace(g[h.COMPARATORTRIM],v),l("comparator trim",ve),ve=ve.replace(g[h.TILDETRIM],b),l("tilde trim",ve),ve=ve.replace(g[h.CARETTRIM],T),l("caret trim",ve);let Xe=ve.split(" ").map(mt=>D(mt,this.options)).join(" ").split(/\s+/).map(mt=>he(mt,this.options));xe&&(Xe=Xe.filter(mt=>(l("loose invalid filter",mt,this.options),!!mt.match(g[h.COMPARATORLOOSE])))),l("range list",Xe);const Me=new Map,Ze=Xe.map(mt=>new u(mt,this.options));for(const mt of Ze){if(C(mt))return[mt];Me.set(mt.value,mt)}Me.size>1&&Me.has("")&&Me.delete("");const rt=[...Me.values()];return i.set(We,rt),rt}intersects(ve,Ue){if(!(ve instanceof r))throw new TypeError("a Range is required");return this.set.some(We=>U(We,Ue)&&ve.set.some(de=>U(de,Ue)&&We.every(xe=>de.every(Fe=>xe.intersects(Fe,Ue)))))}test(ve){if(!ve)return!1;if(typeof ve=="string")try{ve=new m(ve,this.options)}catch{return!1}for(let Ue=0;Ue<this.set.length;Ue++)if(ae(this.set[Ue],ve,this.options))return!0;return!1}}f.exports=r;const a=e(71224),i=new a,s=e(92937),u=e(55222),l=e(86542),m=e(19890),{safeRe:g,t:h,comparatorTrimReplace:v,tildeTrimReplace:b,caretTrimReplace:T}=e(80532),{FLAG_INCLUDE_PRERELEASE:E,FLAG_LOOSE:w}=e(55096),C=ye=>ye.value==="<0.0.0-0",O=ye=>ye.value==="",U=(ye,ve)=>{let Ue=!0;const We=ye.slice();let de=We.pop();for(;Ue&&We.length;)Ue=We.every(xe=>de.intersects(xe,ve)),de=We.pop();return Ue},D=(ye,ve)=>(ye=ye.replace(g[h.BUILD],""),l("comp",ye,ve),ye=W(ye,ve),l("caret",ye),ye=j(ye,ve),l("tildes",ye),ye=q(ye,ve),l("xrange",ye),ye=re(ye,ve),l("stars",ye),ye),F=ye=>!ye||ye.toLowerCase()==="x"||ye==="*",j=(ye,ve)=>ye.trim().split(/\s+/).map(Ue=>M(Ue,ve)).join(" "),M=(ye,ve)=>{const Ue=ve.loose?g[h.TILDELOOSE]:g[h.TILDE];return ye.replace(Ue,(We,de,xe,Fe,Xe)=>{l("tilde",ye,We,de,xe,Fe,Xe);let Me;return F(de)?Me="":F(xe)?Me=`>=${de}.0.0 <${+de+1}.0.0-0`:F(Fe)?Me=`>=${de}.${xe}.0 <${de}.${+xe+1}.0-0`:Xe?(l("replaceTilde pr",Xe),Me=`>=${de}.${xe}.${Fe}-${Xe} <${de}.${+xe+1}.0-0`):Me=`>=${de}.${xe}.${Fe} <${de}.${+xe+1}.0-0`,l("tilde return",Me),Me})},W=(ye,ve)=>ye.trim().split(/\s+/).map(Ue=>V(Ue,ve)).join(" "),V=(ye,ve)=>{l("caret",ye,ve);const Ue=ve.loose?g[h.CARETLOOSE]:g[h.CARET],We=ve.includePrerelease?"-0":"";return ye.replace(Ue,(de,xe,Fe,Xe,Me)=>{l("caret",ye,de,xe,Fe,Xe,Me);let Ze;return F(xe)?Ze="":F(Fe)?Ze=`>=${xe}.0.0${We} <${+xe+1}.0.0-0`:F(Xe)?xe==="0"?Ze=`>=${xe}.${Fe}.0${We} <${xe}.${+Fe+1}.0-0`:Ze=`>=${xe}.${Fe}.0${We} <${+xe+1}.0.0-0`:Me?(l("replaceCaret pr",Me),xe==="0"?Fe==="0"?Ze=`>=${xe}.${Fe}.${Xe}-${Me} <${xe}.${Fe}.${+Xe+1}-0`:Ze=`>=${xe}.${Fe}.${Xe}-${Me} <${xe}.${+Fe+1}.0-0`:Ze=`>=${xe}.${Fe}.${Xe}-${Me} <${+xe+1}.0.0-0`):(l("no pr"),xe==="0"?Fe==="0"?Ze=`>=${xe}.${Fe}.${Xe}${We} <${xe}.${Fe}.${+Xe+1}-0`:Ze=`>=${xe}.${Fe}.${Xe}${We} <${xe}.${+Fe+1}.0-0`:Ze=`>=${xe}.${Fe}.${Xe} <${+xe+1}.0.0-0`),l("caret return",Ze),Ze})},q=(ye,ve)=>(l("replaceXRanges",ye,ve),ye.split(/\s+/).map(Ue=>J(Ue,ve)).join(" ")),J=(ye,ve)=>{ye=ye.trim();const Ue=ve.loose?g[h.XRANGELOOSE]:g[h.XRANGE];return ye.replace(Ue,(We,de,xe,Fe,Xe,Me)=>{l("xRange",ye,We,de,xe,Fe,Xe,Me);const Ze=F(xe),rt=Ze||F(Fe),mt=rt||F(Xe),Xt=mt;return de==="="&&Xt&&(de=""),Me=ve.includePrerelease?"-0":"",Ze?de===">"||de==="<"?We="<0.0.0-0":We="*":de&&Xt?(rt&&(Fe=0),Xe=0,de===">"?(de=">=",rt?(xe=+xe+1,Fe=0,Xe=0):(Fe=+Fe+1,Xe=0)):de==="<="&&(de="<",rt?xe=+xe+1:Fe=+Fe+1),de==="<"&&(Me="-0"),We=`${de+xe}.${Fe}.${Xe}${Me}`):rt?We=`>=${xe}.0.0${Me} <${+xe+1}.0.0-0`:mt&&(We=`>=${xe}.${Fe}.0${Me} <${xe}.${+Fe+1}.0-0`),l("xRange return",We),We})},re=(ye,ve)=>(l("replaceStars",ye,ve),ye.trim().replace(g[h.STAR],"")),he=(ye,ve)=>(l("replaceGTE0",ye,ve),ye.trim().replace(g[ve.includePrerelease?h.GTE0PRE:h.GTE0],"")),fe=ye=>(ve,Ue,We,de,xe,Fe,Xe,Me,Ze,rt,mt,Xt)=>(F(We)?Ue="":F(de)?Ue=`>=${We}.0.0${ye?"-0":""}`:F(xe)?Ue=`>=${We}.${de}.0${ye?"-0":""}`:Fe?Ue=`>=${Ue}`:Ue=`>=${Ue}${ye?"-0":""}`,F(Ze)?Me="":F(rt)?Me=`<${+Ze+1}.0.0-0`:F(mt)?Me=`<${Ze}.${+rt+1}.0-0`:Xt?Me=`<=${Ze}.${rt}.${mt}-${Xt}`:ye?Me=`<${Ze}.${rt}.${+mt+1}-0`:Me=`<=${Me}`,`${Ue} ${Me}`.trim()),ae=(ye,ve,Ue)=>{for(let We=0;We<ye.length;We++)if(!ye[We].test(ve))return!1;if(ve.prerelease.length&&!Ue.includePrerelease){for(let We=0;We<ye.length;We++)if(l(ye[We].semver),ye[We].semver!==u.ANY&&ye[We].semver.prerelease.length>0){const de=ye[We].semver;if(de.major===ve.major&&de.minor===ve.minor&&de.patch===ve.patch)return!0}return!1}return!0}},19890(f,d,e){"use strict";const n=e(86542),{MAX_LENGTH:r,MAX_SAFE_INTEGER:a}=e(55096),{safeRe:i,t:s}=e(80532),u=e(92937),{compareIdentifiers:l}=e(78185);class m{constructor(h,v){if(v=u(v),h instanceof m){if(h.loose===!!v.loose&&h.includePrerelease===!!v.includePrerelease)return h;h=h.version}else if(typeof h!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof h}".`);if(h.length>r)throw new TypeError(`version is longer than ${r} characters`);n("SemVer",h,v),this.options=v,this.loose=!!v.loose,this.includePrerelease=!!v.includePrerelease;const b=h.trim().match(v.loose?i[s.LOOSE]:i[s.FULL]);if(!b)throw new TypeError(`Invalid Version: ${h}`);
vendor: 4,915 bytes, line 720
720if(this.raw=h,this.major=+b[1],this.minor=+b[2],this.patch=+b[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");b[4]?this.prerelease=b[4].split(".").map(T=>{if(/^[0-9]+$/.test(T)){const E=+T;if(E>=0&&E<a)return E}return T}):this.prerelease=[],this.build=b[5]?b[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(h){if(n("SemVer.compare",this.version,this.options,h),!(h instanceof m)){if(typeof h=="string"&&h===this.version)return 0;h=new m(h,this.options)}return h.version===this.version?0:this.compareMain(h)||this.comparePre(h)}compareMain(h){return h instanceof m||(h=new m(h,this.options)),this.major<h.major?-1:this.major>h.major?1:this.minor<h.minor?-1:this.minor>h.minor?1:this.patch<h.patch?-1:this.patch>h.patch?1:0}comparePre(h){if(h instanceof m||(h=new m(h,this.options)),this.prerelease.length&&!h.prerelease.length)return-1;if(!this.prerelease.length&&h.prerelease.length)return 1;if(!this.prerelease.length&&!h.prerelease.length)return 0;let v=0;do{const b=this.prerelease[v],T=h.prerelease[v];if(n("prerelease compare",v,b,T),b===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(b===void 0)return-1;if(b===T)continue;return l(b,T)}while(++v)}compareBuild(h){h instanceof m||(h=new m(h,this.options));let v=0;do{const b=this.build[v],T=h.build[v];if(n("build compare",v,b,T),b===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(b===void 0)return-1;if(b===T)continue;return l(b,T)}while(++v)}inc(h,v,b){if(h.startsWith("pre")){if(!v&&b===!1)throw new Error("invalid increment argument: identifier is empty");if(v){const T=`-${v}`.match(this.options.loose?i[s.PRERELEASELOOSE]:i[s.PRERELEASE]);if(!T||T[1]!==v)throw new Error(`invalid identifier: ${v}`)}}switch(h){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",v,b);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",v,b);break;case"prepatch":this.prerelease.length=0,this.inc("patch",v,b),this.inc("pre",v,b);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",v,b),this.inc("pre",v,b);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const T=Number(b)?1:0;if(this.prerelease.length===0)this.prerelease=[T];else{let E=this.prerelease.length;for(;--E>=0;)typeof this.prerelease[E]=="number"&&(this.prerelease[E]++,E=-2);if(E===-1){if(v===this.prerelease.join(".")&&b===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(T)}}if(v){let E=[v,T];b===!1&&(E=[v]),l(this.prerelease[0],v)===0?isNaN(this.prerelease[1])&&(this.prerelease=E):this.prerelease=E}break}default:throw new Error(`invalid increment argument: ${h}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}f.exports=m},89737(f,d,e){"use strict";const n=e(59035),r=e(45881),a=e(69018),i=e(76787),s=e(2349),u=e(60814),l=(m,g,h,v)=>{switch(g){case"===":return typeof m=="object"&&(m=m.version),typeof h=="object"&&(h=h.version),m===h;case"!==":return typeof m=="object"&&(m=m.version),typeof h=="object"&&(h=h.version),m!==h;case"":case"=":case"==":return n(m,h,v);case"!=":return r(m,h,v);case">":return a(m,h,v);case">=":return i(m,h,v);case"<":return s(m,h,v);case"<=":return u(m,h,v);default:throw new TypeError(`Invalid operator: ${g}`)}};f.exports=l},90306(f,d,e){"use strict";const n=e(19890),r=(a,i,s)=>new n(a,s).compare(new n(i,s));f.exports=r},59035(f,d,e){"use strict";const n=e(90306),r=(a,i,s)=>n(a,i,s)===0;f.exports=r},69018(f,d,e){"use strict";const n=e(90306),r=(a,i,s)=>n(a,i,s)>0;f.exports=r},76787(f,d,e){"use strict";const n=e(90306),r=(a,i,s)=>n(a,i,s)>=0;f.exports=r},2349(f,d,e){"use strict";const n=e(90306),r=(a,i,s)=>n(a,i,s)<0;f.exports=r},60814(f,d,e){"use strict";const n=e(90306),r=(a,i,s)=>n(a,i,s)<=0;f.exports=r},45881(f,d,e){"use strict";const n=e(90306),r=(a,i,s)=>n(a,i,s)!==0;f.exports=r},12396(f,d,e){"use strict";const n=e(17369),r=(a,i,s)=>{try{i=new n(i,s)}catch{return!1}return i.test(a)};f.exports=r},55096(f){"use strict";const d="2.0.0",n=Number.MAX_SAFE_INTEGER||9007199254740991,r=16,a=250,i=["major","premajor","minor","preminor","patch","prepatch","prerelease"];
720f.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:a,MAX_SAFE_INTEGER:n,RELEASE_TYPES:i,SEMVER_SPEC_VERSION:d,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},86542(f){"use strict";const d=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};f.exports=d},78185(f){"use strict";const d=/^[0-9]+$/,e=(r,a)=>{if(typeof r=="number"&&typeof a=="number")return r===a?0:r<a?-1:1;const i=d.test(r),s=d.test(a);return i&&s&&(r=+r,a=+a),r===a?0:i&&!s?-1:s&&!i?1:r<a?-1:1},n=(r,a)=>e(a,r);f.exports={compareIdentifiers:e,rcompareIdentifiers:n}},71224(f){"use strict";class d{constructor(){this.max=1e3,this.map=new Map}get(n){const r=this.map.get(n);if(r!==void 0)return this.map.delete(n),this.map.set(n,r),r}delete(n){return this.map.delete(n)}set(n,r){if(!this.delete(n)&&r!==void 0){if(this.map.size>=this.max){const i=this.map.keys().next().value;this.delete(i)}this.map.set(n,r)}return this}}f.exports=d},92937(f){"use strict";const d=Object.freeze({loose:!0}),e=Object.freeze({}),n=r=>r?typeof r!="object"?d:r:e;f.exports=n},80532(f,d,e){"use strict";const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:a}=e(55096),i=e(86542);d=f.exports={};const s=d.re=[],u=d.safeRe=[],l=d.src=[],m=d.safeSrc=[],g=d.t={};let h=0;const v="[a-zA-Z0-9-]",b=[["\\s",1],["\\d",a],[v,r]],T=w=>{for(const[C,O]of b)w=w.split(`${C}*`).join(`${C}{0,${O}}`).split(`${C}+`).join(`${C}{1,${O}}`);return w},E=(w,C,O)=>{const U=T(C),D=h++;i(w,D,C),g[w]=D,l[D]=C,m[D]=U,s[D]=new RegExp(C,O?"g":void 0),u[D]=new RegExp(U,O?"g":void 0)};E("NUMERICIDENTIFIER","0|[1-9]\\d*"),E("NUMERICIDENTIFIERLOOSE","\\d+"),E("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${v}*`),E("MAINVERSION",`(${l[g.NUMERICIDENTIFIER]})\\.(${l[g.NUMERICIDENTIFIER]})\\.(${l[g.NUMERICIDENTIFIER]})`),E("MAINVERSIONLOOSE",`(${l[g.NUMERICIDENTIFIERLOOSE]})\\.(${l[g.NUMERICIDENTIFIERLOOSE]})\\.(${l[g.NUMERICIDENTIFIERLOOSE]})`),E("PRERELEASEIDENTIFIER",`(?:${l[g.NONNUMERICIDENTIFIER]}|${l[g.NUMERICIDENTIFIER]})`),E("PRERELEASEIDENTIFIERLOOSE",`(?:${l[g.NONNUMERICIDENTIFIER]}|${l[g.NUMERICIDENTIFIERLOOSE]})`),E("PRERELEASE",`(?:-(${l[g.PRERELEASEIDENTIFIER]}(?:\\.${l[g.PRERELEASEIDENTIFIER]})*))`),E("PRERELEASELOOSE",`(?:-?(${l[g.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[g.PRERELEASEIDENTIFIERLOOSE]})*))`),E("BUILDIDENTIFIER",`${v}+`),E("BUILD",`(?:\\+(${l[g.BUILDIDENTIFIER]}(?:\\.${l[g.BUILDIDENTIFIER]})*))`),E("FULLPLAIN",`v?${l[g.MAINVERSION]}${l[g.PRERELEASE]}?${l[g.BUILD]}?`),E("FULL",`^${l[g.FULLPLAIN]}$`),E("LOOSEPLAIN",`[v=\\s]*${l[g.MAINVERSIONLOOSE]}${l[g.PRERELEASELOOSE]}?${l[g.BUILD]}?`),E("LOOSE",`^${l[g.LOOSEPLAIN]}$`),E("GTLT","((?:<|>)?=?)"),E("XRANGEIDENTIFIERLOOSE",`${l[g.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),E("XRANGEIDENTIFIER",`${l[g.NUMERICIDENTIFIER]}|x|X|\\*`),E("XRANGEPLAIN",`[v=\\s]*(${l[g.XRANGEIDENTIFIER]})(?:\\.(${l[g.XRANGEIDENTIFIER]})(?:\\.(${l[g.XRANGEIDENTIFIER]})(?:${l[g.PRERELEASE]})?${l[g.BUILD]}?)?)?`),E("XRANGEPLAINLOOSE",`[v=\\s]*(${l[g.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[g.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[g.XRANGEIDENTIFIERLOOSE]})(?:${l[g.PRERELEASELOOSE]})?${l[g.BUILD]}?)?)?`),E("XRANGE",`^${l[g.GTLT]}\\s*${l[g.XRANGEPLAIN]}$`),E("XRANGELOOSE",`^${l[g.GTLT]}\\s*${l[g.XRANGEPLAINLOOSE]}$`),E("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),E("COERCE",`${l[g.COERCEPLAIN]}(?:$|[^\\d])`),E("COERCEFULL",l[g.COERCEPLAIN]+`(?:${l[g.PRERELEASE]})?(?:${l[g.BUILD]})?(?:$|[^\\d])`),E("COERCERTL",l[g.COERCE],!0),E("COERCERTLFULL",l[g.COERCEFULL],!0),E("LONETILDE","(?:~>?)"),E("TILDETRIM",`(\\s*)${l[g.LONETILDE]}\\s+`,!0),d.tildeTrimReplace="$1~",E("TILDE",`^${l[g.LONETILDE]}${l[g.XRANGEPLAIN]}$`),E("TILDELOOSE",`^${l[g.LONETILDE]}${l[g.XRANGEPLAINLOOSE]}$`),E("LONECARET","(?:\\^)"),E("CARETTRIM",`(\\s*)${l[g.LONECARET]}\\s+`,!0),d.caretTrimReplace="$1^",E("CARET",`^${l[g.LONECARET]}${l[g.XRANGEPLAIN]}$`),E("CARETLOOSE",`^${l[g.LONECARET]}${l[g.XRANGEPLAINLOOSE]}$`),E("COMPARATORLOOSE",`^${l[g.GTLT]}\\s*(${l[g.LOOSEPLAIN]})$|^$`),E("COMPARATOR",`^${l[g.GTLT]}\\s*(${l[g.FULLPLAIN]})$|^$`),E("COMPARATORTRIM",`(\\s*)${l[g.GTLT]}\\s*(${l[g.LOOSEPLAIN]}|${l[g.XRANGEPLAIN]})`,!0),d.comparatorTrimReplace="$1$2$3",E("HYPHENRANGE",`^\\s*(${l[g.XRANGEPLAIN]})\\s+-\\s+(${l[g.XRANGEPLAIN]})\\s*$`),E("HYPHENRANGELOOSE",`^\\s*(${l[g.XRANGEPLAINLOOSE]}
720)\\s+-\\s+(${l[g.XRANGEPLAINLOOSE]})\\s*$`),E("STAR","(<|>)?=?\\s*\\*"),E("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),E("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},22990(f,d,e){"use strict";var n=e(52306),r=e(4085),a=function(m,g,h){for(var v=m,b;(b=v.next)!=null;v=b)if(b.key===g)return v.next=b.next,h||(b.next=m.next,m.next=b),b},i=function(m,g){if(m){var h=a(m,g);return h&&h.value}},s=function(m,g,h){var v=a(m,g);v?v.value=h:m.next={key:g,next:m.next,value:h}},u=function(m,g){return m?!!a(m,g):!1},l=function(m,g){if(m)return a(m,g,!0)};f.exports=function(){var g,h={assert:function(v){if(!h.has(v))throw new r("Side channel does not contain "+n(v))},delete:function(v){var b=g&&g.next,T=l(g,v);return T&&b&&b===T&&(g=void 0),!!T},get:function(v){return i(g,v)},has:function(v){return u(g,v)},set:function(v,b){g||(g={next:void 0}),s(g,v,b)}};return h}},20451(f,d,e){"use strict";var n=e(2633),r=e(40168),a=e(52306),i=e(4085),s=n("%Map%",!0),u=r("Map.prototype.get",!0),l=r("Map.prototype.set",!0),m=r("Map.prototype.has",!0),g=r("Map.prototype.delete",!0),h=r("Map.prototype.size",!0);f.exports=!!s&&function(){var b,T={assert:function(E){if(!T.has(E))throw new i("Side channel does not contain "+a(E))},delete:function(E){if(b){var w=g(b,E);return h(b)===0&&(b=void 0),w}return!1},get:function(E){if(b)return u(b,E)},has:function(E){return b?m(b,E):!1},set:function(E,w){b||(b=new s),l(b,E,w)}};return T}},4990(f,d,e){"use strict";var n=e(2633),r=e(40168),a=e(52306),i=e(20451),s=e(4085),u=n("%WeakMap%",!0),l=r("WeakMap.prototype.get",!0),m=r("WeakMap.prototype.set",!0),g=r("WeakMap.prototype.has",!0),h=r("WeakMap.prototype.delete",!0);f.exports=u?function(){var b,T,E={assert:function(w){if(!E.has(w))throw new s("Side channel does not contain "+a(w))},delete:function(w){if(u&&w&&(typeof w=="object"||typeof w=="function")){if(b)return h(b,w)}else if(i&&T)return T.delete(w);return!1},get:function(w){return u&&w&&(typeof w=="object"||typeof w=="function")&&b?l(b,w):T&&T.get(w)},has:function(w){return u&&w&&(typeof w=="object"||typeof w=="function")&&b?g(b,w):!!T&&T.has(w)},set:function(w,C){u&&w&&(typeof w=="object"||typeof w=="function")?(b||(b=new u),m(b,
720w,C)):i&&(T||(T=i()),T.set(w,C))}};return E}:i},1555(f,d,e){"use strict";var n=e(4085),r=e(52306),a=e(22990),i=e(20451),s=e(4990),u=s||i||a;f.exports=function(){var m,g={assert:function(h){if(!g.has(h))throw new n("Side channel does not contain "+r(h))},delete:function(h){return!!m&&m.delete(h)},get:function(h){return m&&m.get(h)},has:function(h){return!!m&&m.has(h)},set:function(h,v){m||(m=u()),m.set(h,v)}};return g}},76880(f){"use strict";f.exports=2147483647},76104(f,d,e){"use strict";var n=e(49805),r=e(76880);f.exports=function(a){if(a=n(a),a>r)throw new TypeError(a+" exceeds maximum possible timeout");return a}},25196(f,d,e){"use strict";var n=e(69262);f.exports=function(r){if(typeof r!="function"||!hasOwnProperty.call(r,"length"))return!1;try{if(typeof r.length!="number"||typeof r.call!="function"||typeof r.apply!="function")return!1}catch{return!1}return!n(r)}},15449(f,d,e){"use strict";var n=e(28739),r={object:!0,function:!0,undefined:!0};f.exports=function(a){return n(a)?hasOwnProperty.call(r,typeof a):!1}},64061(f,d,e){"use strict";var n=e(25196),r=/^\s*class[\s{/}]/,a=Function.prototype.toString;
vendor: 4,159 bytes, line 720
720f.exports=function(i){return!(!n(i)||r.test(a.call(i)))}},69262(f,d,e){"use strict";var n=e(15449);f.exports=function(r){if(!n(r))return!1;try{return r.constructor?r.constructor.prototype===r:!1}catch{return!1}}},28739(f){"use strict";var d=void 0;f.exports=function(e){return e!==d&&e!==null}},23655(f,d,e){var n;(function(r,a){"use strict";var i="1.0.40",s="",u="?",l="function",m="undefined",g="object",h="string",v="major",b="model",T="name",E="type",w="vendor",C="version",O="architecture",U="console",D="mobile",F="tablet",j="smarttv",M="wearable",W="embedded",V=500,q="Amazon",J="Apple",re="ASUS",he="BlackBerry",fe="Browser",ae="Chrome",ye="Edge",ve="Firefox",Ue="Google",We="Huawei",de="LG",xe="Microsoft",Fe="Motorola",Xe="Opera",Me="Samsung",Ze="Sharp",rt="Sony",mt="Xiaomi",Xt="Zebra",jt="Facebook",Lt="Chromium OS",Ht="Mac OS",vr=" Browser",Fr=function(un,hn){var rr={};for(var Gr in un)hn[Gr]&&hn[Gr].length%2===0?rr[Gr]=hn[Gr].concat(un[Gr]):rr[Gr]=un[Gr];return rr},fn=function(un){for(var hn={},rr=0;rr<un.length;rr++)hn[un[rr].toUpperCase()]=un[rr];return hn},Kr=function(un,hn){return typeof un===h?Sn(hn).indexOf(Sn(un))!==-1:!1},Sn=function(un){return un.toLowerCase()},Fn=function(un){return typeof un===h?un.replace(/[^\d\.]/g,s).split(".")[0]:a},Et=function(un,hn){if(typeof un===h)return un=un.replace(/^\s\s*/,s),typeof hn===m?un:un.substring(0,V)},st=function(un,hn){for(var rr=0,Gr,er,At,dr,Y,ot;rr<hn.length&&!Y;){var Yt=hn[rr],it=hn[rr+1];for(Gr=er=0;Gr<Yt.length&&!Y&&Yt[Gr];)if(Y=Yt[Gr++].exec(un),Y)for(At=0;At<it.length;At++)ot=Y[++er],dr=it[At],typeof dr===g&&dr.length>0?dr.length===2?typeof dr[1]==l?this[dr[0]]=dr[1].call(this,ot):this[dr[0]]=dr[1]:dr.length===3?typeof dr[1]===l&&!(dr[1].exec&&dr[1].test)?this[dr[0]]=ot?dr[1].call(this,ot,dr[2]):a:this[dr[0]]=ot?ot.replace(dr[1],dr[2]):a:dr.length===4&&(this[dr[0]]=ot?dr[3].call(this,ot.replace(dr[1],dr[2])):a):this[dr]=ot||a;rr+=2}},Wr=function(un,hn){for(var rr in hn)if(typeof hn[rr]===g&&hn[rr].length>0){for(var Gr=0;Gr<hn[rr].length;Gr++)if(Kr(hn[rr][Gr],un))return rr===u?a:rr}else if(Kr(hn[rr],un))return rr===u?a:rr;return hn.hasOwnProperty("*")?hn["*"]:un},Dr={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Tr={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},gr={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[C,[T,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[C,[T,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[T,C],[/opios[\/ ]+([\w\.]+)/i],[C,[T,Xe+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[C,[T,Xe+" GX"]],[/\bopr\/([\w\.]+)/i],[C,[T,Xe]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[C,[T,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[C,[T,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[T,C],[/quark(?:pc)?\/([-\w\.]+)/i],[C,[T,"Quark"]],[/\bddg\/([\w\.]+)/i],[C,[T,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[C,[T,"UC"+fe]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[C,[T,"WeChat"]],[/konqueror\/([\w\.]+)/i],[C,[T,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[C,[T,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[C,[T,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[C,[T,"Smart Lenovo "+fe]],[/(avast|avg)\/([\w\.]+)/i],[[T,/(.+)/,"$1 Secure "+fe],C],[/\bfocus\/([\w\.]+)/i],[C,[T,ve+" Focus"]],[/\bopt\/([\w\.]+)/i],[C,[T,Xe+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[C,[T,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[C,[T,"Dolphin"]],[/coast\/([\w\.]+)/i],[C,[T,Xe+"
720Coast"]],[/miuibrowser\/([\w\.]+)/i],[C,[T,"MIUI"+vr]],[/fxios\/([\w\.-]+)/i],[C,[T,ve]],[/\bqihoobrowser\/?([\w\.]*)/i],[C,[T,"360"]],[/\b(qq)\/([\w\.]+)/i],[[T,/(.+)/,"$1Browser"],C],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[T,/(.+)/,"$1"+vr],C],[/samsungbrowser\/([\w\.]+)/i],[C,[T,Me+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[C,[T,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[T,"Sogou Mobile"],C],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[T,C],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[T],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[C,T],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[T,jt],C],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[T,C],[/\bgsa\/([\w\.]+) .*safari\//i],[C,[T,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[C,[T,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[C,[T,ae+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[T,ae+" WebView"],C],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[C,[T,"Android "+fe]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[T,C],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[C,[T,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[C,T],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[T,[C,Wr,Dr]],[/(webkit|khtml)\/([\w\.]+)/i],[T,C],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[T,"Netscape"],C],[/(wolvic|librewolf)\/([\w\.]+)/i],[T,C],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[C,[T,ve+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[T,[C,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[T,[C,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[O,"amd64"]],[/(ia32(?=;))/i],[[O,Sn]],[/((?:i[346]|x)86)[;\)]/i],[[O,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[O,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[O,"armhf"]],[/windows (ce|mobile); ppc;/i],[[O,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[O,/ower/,s,Sn]],[/(sun4\w)[;\)]/i],[[O,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[O,Sn]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[b,[w,Me],[E,F]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[b,[w,Me],[E,D]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[b,[w,J],[E,D]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[b,[w,J],[E,F]],[/(macintosh);/i],[b,[w,J]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[b,[w,Ze],[E,D]],[/(?:honor)([-\w ]+)[;\)]/i],[b,[w,"Honor"],[E,D]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[b,[w,We],[E,F]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[b,[w,We],[E,D]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[b,/_/g," "],[w,mt],[E,D]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[b,/_/g," "],[w,mt],[E,F]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[b,[w,"OPPO"],[E,D]],[/\b(opd2\d{3}a?) bui/i],[b,[w,"OPPO"],[E,F]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[b,[w,"Vivo"],[E,D]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[b,[w,"Realme"],[E,D]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[b,[w,Fe],[E,D]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[b,[w,Fe],[E,F]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[b,[w,de],[E,F]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[b,[w,de],[E,D]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[b,[w,"Lenovo"],[E,F]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[b,/_/g," "],[w,"Nokia"],[E,D]],[/(pixel c)\b/i],[b,[w,Ue],[E,F]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[b,[w,Ue],[E,D]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[b,[w,rt],[E,D]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[b,"Xperia Tablet"],[w,rt],[E,F]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[b,[w,"OnePlus"],[E,D]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[b,[w,q],[E,F]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[b,/(.+)/g,"Fire Phone $1"],[w,q],[E,D]],[/(playbook);[-\w\),; ]+(rim)/i],[b,w,[E,F]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[b,[w,he],[E,D]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[b,[w,re],[E,F]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[b,[w,re],[E,D]],[/(nexus 9)/i],[b,[w,"HTC"],[E,F]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[w,[b,/_/g," "],[E,D]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[b,[w,"TCL"],[E,F]],[/(itel) ((\w+))/i],[[w,Sn],b,[E,Wr,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[b,[w,"Acer"],[E,F]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[b,[w,"Meizu"],[E,D]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[b,[w,"Ulefone"],[E,D]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[b,[w,"Energizer"],[E,D]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[b,[w,"Cat"],[E,D]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[b,[w,"Smartfren"],[E,D]],[/droid.+; (a(?:015|06[35]|142p?))/i],[b,[w,"Nothing"],[E,D]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/;
vendor: 4,727 bytes, line 720
720 (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[w,b,[E,D]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[w,b,[E,F]],[/(surface duo)/i],[b,[w,xe],[E,F]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[b,[w,"Fairphone"],[E,D]],[/(u304aa)/i],[b,[w,"AT&T"],[E,D]],[/\bsie-(\w*)/i],[b,[w,"Siemens"],[E,D]],[/\b(rct\w+) b/i],[b,[w,"RCA"],[E,F]],[/\b(venue[\d ]{2,7}) b/i],[b,[w,"Dell"],[E,F]],[/\b(q(?:mv|ta)\w+) b/i],[b,[w,"Verizon"],[E,F]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[b,[w,"Barnes & Noble"],[E,F]],[/\b(tm\d{3}\w+) b/i],[b,[w,"NuVision"],[E,F]],[/\b(k88) b/i],[b,[w,"ZTE"],[E,F]],[/\b(nx\d{3}j) b/i],[b,[w,"ZTE"],[E,D]],[/\b(gen\d{3}) b.+49h/i],[b,[w,"Swiss"],[E,D]],[/\b(zur\d{3}) b/i],[b,[w,"Swiss"],[E,F]],[/\b((zeki)?tb.*\b) b/i],[b,[w,"Zeki"],[E,F]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[w,"Dragon Touch"],b,[E,F]],[/\b(ns-?\w{0,9}) b/i],[b,[w,"Insignia"],[E,F]],[/\b((nxa|next)-?\w{0,9}) b/i],[b,[w,"NextBook"],[E,F]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[w,"Voice"],b,[E,D]],[/\b(lvtel\-)?(v1[12]) b/i],[[w,"LvTel"],b,[E,D]],[/\b(ph-1) /i],[b,[w,"Essential"],[E,D]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[b,[w,"Envizen"],[E,F]],[/\b(trio[-\w\. ]+) b/i],[b,[w,"MachSpeed"],[E,F]],[/\btu_(1491) b/i],[b,[w,"Rotor"],[E,F]],[/(shield[\w ]+) b/i],[b,[w,"Nvidia"],[E,F]],[/(sprint) (\w+)/i],[w,b,[E,D]],[/(kin\.[onetw]{3})/i],[[b,/\./g," "],[w,xe],[E,D]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[b,[w,Xt],[E,F]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[b,[w,Xt],[E,D]],[/smart-tv.+(samsung)/i],[w,[E,j]],[/hbbtv.+maple;(\d+)/i],[[b,/^/,"SmartTV"],[w,Me],[E,j]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[w,de],[E,j]],[/(apple) ?tv/i],[w,[b,J+" TV"],[E,j]],[/crkey/i],[[b,ae+"cast"],[w,Ue],[E,j]],[/droid.+aft(\w+)( bui|\))/i],[b,[w,q],[E,j]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[b,[w,Ze],[E,j]],[/(bravia[\w ]+)( bui|\))/i],[b,[w,rt],[E,j]],[/(mitv-\w{5}) bui/i],[b,[w,mt],[E,j]],[/Hbbtv.*(technisat) (.*);/i],[w,b,[E,j]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[w,Et],[b,Et],[E,j]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[E,j]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[w,b,[E,U]],[/droid.+; (shield) bui/i],[b,[w,"Nvidia"],[E,U]],[/(playstation [345portablevi]+)/i],[b,[w,rt],[E,U]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[b,[w,xe],[E,U]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[b,[w,Me],[E,M]],[/((pebble))app/i],[w,b,[E,M]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[b,[w,J],[E,M]],[/droid.+; (glass) \d/i],[b,[w,Ue],[E,M]],[/droid.+; (wt63?0{2,3})\)/i],[b,[w,Xt],[E,M]],[/droid.+; (glass) \d/i],[b,[w,Ue],[E,M]],[/(pico) (4|neo3(?: link|pro)?)/i],[w,b,[E,M]],[/; (quest( \d| pro)?)/i],[b,[w,jt],[E,M]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[w,[E,W]],[/(aeobc)\b/i],[b,[w,q],[E,W]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[b,[E,D]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[b,[E,F]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[E,F]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[E,D]],[/(android[-\w\. ]{0,9});.+buil/i],[b,[w,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[C,[T,ye+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[T,C],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[C,[T,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[T,C],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[C,T]],os:[[/microsoft (windows) (vista|xp)/i],[T,C],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[T,[C,Wr,Tr]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[C,Wr,Tr],[T,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[C,/_/g,"."],[T,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[T,Ht],[C,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[C,T],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);
vendor: 4,191 bytes, lines 720-728
720/i],[T,C],[/\(bb(10);/i],[C,[T,he]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[C,[T,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[C,[T,ve+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[C,[T,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[C,[T,"watchOS"]],[/crkey\/([\d\.]+)/i],[C,[T,ae+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[T,Lt],C],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[T,C],[/(sunos) ?([\w\.\d]*)/i],[[T,"Solaris"],C],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[T,C]]},ir=function(un,hn){if(typeof un===g&&(hn=un,un=a),!(this instanceof ir))return new ir(un,hn).getResult();var rr=typeof r!==m&&r.navigator?r.navigator:a,Gr=un||(rr&&rr.userAgent?rr.userAgent:s),er=rr&&rr.userAgentData?rr.userAgentData:a,At=hn?Fr(gr,hn):gr,dr=rr&&rr.userAgent==Gr;return this.getBrowser=function(){var Y={};return Y[T]=a,Y[C]=a,st.call(Y,Gr,At.browser),Y[v]=Fn(Y[C]),dr&&rr&&rr.brave&&typeof rr.brave.isBrave==l&&(Y[T]="Brave"),Y},this.getCPU=function(){var Y={};return Y[O]=a,st.call(Y,Gr,At.cpu),Y},this.getDevice=function(){var Y={};return Y[w]=a,Y[b]=a,Y[E]=a,st.call(Y,Gr,At.device),dr&&!Y[E]&&er&&er.mobile&&(Y[E]=D),dr&&Y[b]=="Macintosh"&&rr&&typeof rr.standalone!==m&&rr.maxTouchPoints&&rr.maxTouchPoints>2&&(Y[b]="iPad",Y[E]=F),Y},this.getEngine=function(){var Y={};return Y[T]=a,Y[C]=a,st.call(Y,Gr,At.engine),Y},this.getOS=function(){var Y={};return Y[T]=a,Y[C]=a,st.call(Y,Gr,At.os),dr&&!Y[T]&&er&&er.platform&&er.platform!="Unknown"&&(Y[T]=er.platform.replace(/chrome os/i,Lt).replace(/macos/i,Ht)),Y},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Gr},this.setUA=function(Y){return Gr=typeof Y===h&&Y.length>V?Et(Y,V):Y,this},this.setUA(Gr),this};ir.VERSION=i,ir.BROWSER=fn([T,C,v]),ir.CPU=fn([O]),ir.DEVICE=fn([b,w,E,U,D,j,F,M,W]),ir.ENGINE=ir.OS=fn([T,C]),typeof d!==m?(m!=="object"&&f.exports&&(d=f.exports=ir),d.UAParser=ir):l==="function"&&e.amdO?(n=(function(){return ir}).call(d,e,d,f),n!==a&&(f.exports=n)):typeof r!==m&&(r.UAParser=ir);var Mr=typeof r!==m&&(r.jQuery||r.Zepto);if(Mr&&!Mr.ua){var Lr=new ir;Mr.ua=Lr.getResult(),Mr.ua.get=function(){return Lr.getUA()},Mr.ua.set=function(un){Lr.setUA(un);var hn=Lr.getResult();for(var rr in hn)Mr.ua[rr]=hn[rr]}}})(typeof window=="object"?window:this)},14931(f,d,e){"use strict";/** 721 * @license React 722 * use-sync-external-store-with-selector.production.js 723 * 724 * Copyright (c) Meta Platforms, Inc. and affiliates. 725 * 726 * This source code is licensed under the MIT license found in the 727 * LICENSE file in the root directory of this source tree. 728 */var n=e(26372);function r(g,h){return g===h&&(g!==0||1/g===1/h)||g!==g&&h!==h}var a=typeof Object.is=="function"?Object.is:r,i=n.useSyncExternalStore,s=n.useRef,u=n.useEffect,l=n.useMemo,m=n.useDebugValue;d.useSyncExternalStoreWithSelector=function(g,h,v,b,T){var E=s(null);if(E.current===null){var w={hasValue:!1,value:null};E.current=w}else w=E.current;E=l(function(){function O(M){if(!U){if(U=!0,D=M,M=b(M),T!==void 0&&w.hasValue){var W=w.value;if(T(W,M))return F=W}return F=M}if(W=F,a(D,M))return W;var V=b(M);return T!==void 0&&T(W,V)?(D=M,W):(D=M,F=V)}var U=!1,D,F,j=v===void 0?null:v;return[function(){return O(h())},j===null?void 0:function(){return O(j())}]},[h,v,b,T]);
728var C=i(g,E[0],E[1]);return u(function(){w.hasValue=!0,w.value=C},[C]),m(C),C}},89875(f,d,e){"use strict";f.exports=e(14931)},53755(f,d,e){"use strict";e.d(d,{A:()=>b});const r={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let a;const i=new Uint8Array(16);function s(){if(!a&&(a=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!a))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(i)}var u;const l=[];for(let T=0;T<256;++T)l.push((T+256).toString(16).slice(1));function m(T,E=0){return(l[T[E+0]]+l[T[E+1]]+l[T[E+2]]+l[T[E+3]]+"-"+l[T[E+4]]+l[T[E+5]]+"-"+l[T[E+6]]+l[T[E+7]]+"-"+l[T[E+8]]+l[T[E+9]]+"-"+l[T[E+10]]+l[T[E+11]]+l[T[E+12]]+l[T[E+13]]+l[T[E+14]]+l[T[E+15]]).toLowerCase()}function g(T,E=0){const w=m(T,E);if(!u(w))throw TypeError("Stringified UUID is invalid");return w}const h=null;function v(T,E,w){if(r.randomUUID&&!E&&!T)return r.randomUUID();T=T||{};const C=T.random||(T.rng||s)();if(C[6]=C[6]&15|64,C[8]=C[8]&63|128,E){w=w||0;for(let O=0;O<16;++O)E[w+O]=C[O];return E}return m(C)}const b=v},82837(f,d,e){var n=e(24015),r=f.exports={WebVTT:e(44970),VTTCue:e(88291),VTTRegion:e(10610)};n.vttjs=r,n.WebVTT=r.WebVTT;var a=r.VTTCue,i=r.VTTRegion,s=n.VTTCue,u=n.VTTRegion;r.shim=function(){n.VTTCue=a,n.VTTRegion=i},r.restore=function(){n.VTTCue=s,n.VTTRegion=u},n.VTTCue||r.shim()},44970(f,d,e){var n=e(46734),r=Object.create||(function(){function J(){}return function(re){if(arguments.length!==1)throw new Error("Object.create shim only accepts one parameter.");return J.prototype=re,new J}})();function a(J,re){this.name="ParsingError",this.code=J.code,this.message=re||J.message}a.prototype=r(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}};function i(J){function re(fe,ae,ye,ve){return(fe|0)*3600+(ae|0)*60+(ye|0)+(ve|0)/1e3}var he=J.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return he?he[3]?re(he[1],he[2],he[3].replace(":",""),he[4]):he[1]>59?re(he[1],he[2],0,he[4]):re(0,he[1],he[2],he[4]):null}function s(){this.values=r(null)}s.prototype={set:function(J,re){!this.get(J)&&re!==""&&(this.values[J]=re)},get:function(J,re,he){return he?this.has(J)?this.values[J]:re[he]:this.has(J)?this.values[J]:re},has:function(J){return J in this.values},alt:function(J,re,he){for(var fe=0;fe<he.length;++fe)if(re===he[fe]){this.set(J,re);break}},integer:function(J,re){/^-?\d+$/.test(re)&&this.set(J,parseInt(re,10))},percent:function(J,re){var he;return(he=re.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(re=parseFloat(re),re>=0&&re<=100)?(this.set(J,re),!0):!1}};function u(J,re,he,fe){var ae=fe?J.split(fe):[J];for(var ye in ae)if(typeof ae[ye]=="string"){var ve=ae[ye].split(he);if(ve.length===2){var Ue=ve[0].trim(),We=ve[1].trim();re(Ue,We)}}}function l(J,re,he){var fe=J;function ae(){var Ue=i(J);if(Ue===null)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+fe);return J=J.replace(/^[^\sa-zA-Z-]+/,""),Ue}function ye(Ue,We){var de=new s;u(Ue,function(xe,Fe){switch(xe){case"region":for(var Xe=he.length-1;Xe>=0;Xe--)if(he[Xe].id===Fe){de.set(xe,he[Xe].region);break}break;case"vertical":de.alt(xe,Fe,["rl","lr"]);break;case"line":var Me=Fe.split(","),Ze=Me[0];de.integer(xe,Ze),de.percent(xe,Ze)&&de.set("snapToLines",!1),de.alt(xe,Ze,["auto"]),Me.length===2&&de.alt("lineAlign",Me[1],["start","center","end"]);break;case"position":Me=Fe.split(","),de.percent(xe,Me[0]),Me.length===2&&de.alt("positionAlign",Me[1],["start","center","end"]);break;case"size":de.percent(xe,Fe);break;case"align":de.alt(xe,Fe,["start","center","end","left","right"]);break}},/:/,/\s/),We.region=de.get("region",null),We.vertical=de.get("vertical","");try{We.line=de.get("line","auto")}catch{}We.lineAlign=de.get("lineAlign","start"),We.snapToLines=de.get("snapToLines",!0),We.size=de.get("size",100);try{We.align=de.get("align","center")}catch{We.align=de.get("align","middle")}try{We.position=de.get("position","auto")}catch{We.position=de.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},We.align)}We.positionAlign=de.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},We.align)}function ve(){J=J.replace(/^\s+/,"")}if(ve(),re.startTime=ae(),ve(),J.substr(0,3)!=="-->")throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+fe);J=J.substr(3),ve(),re.endTime=ae(),ve(),ye(J,re)}var m=n.createElement&&n.createElement("textarea"),g={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},h={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},v={v:"title",lang:"lang"},b={rt:"ruby"};function T(J,re){function he(){if(!re)return null;function Ze(mt){return re=re.substr(mt.length),mt}var rt=re.match(/^([^<]*)(<[^>
728]*>?)?/);return Ze(rt[1]?rt[1]:rt[2])}function fe(Ze){return m.innerHTML=Ze,Ze=m.textContent,m.textContent="",Ze}function ae(Ze,rt){return!b[rt.localName]||b[rt.localName]===Ze.localName}function ye(Ze,rt){var mt=g[Ze];if(!mt)return null;var Xt=J.document.createElement(mt),jt=v[Ze];return jt&&rt&&(Xt[jt]=rt.trim()),Xt}for(var ve=J.document.createElement("div"),Ue=ve,We,de=[];(We=he())!==null;){if(We[0]==="<"){if(We[1]==="/"){de.length&&de[de.length-1]===We.substr(2).replace(">","")&&(de.pop(),Ue=Ue.parentNode);continue}var xe=i(We.substr(1,We.length-2)),Fe;if(xe){Fe=J.document.createProcessingInstruction("timestamp",xe),Ue.appendChild(Fe);continue}var Xe=We.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!Xe||(Fe=ye(Xe[1],Xe[3]),!Fe)||!ae(Ue,Fe))continue;if(Xe[2]){var Me=Xe[2].split(".");Me.forEach(function(Ze){var rt=/^bg_/.test(Ze),mt=rt?Ze.slice(3):Ze;if(h.hasOwnProperty(mt)){var Xt=rt?"background-color":"color",jt=h[mt];Fe.style[Xt]=jt}}),Fe.className=Me.join(" ")}de.push(Xe[1]),Ue.appendChild(Fe),Ue=Fe;continue}Ue.appendChild(J.document.createTextNode(fe(We)))}return ve}var E=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function w(J){for(var re=0;re<E.length;re++){var he=E[re];if(J>=he[0]&&J<=he[1])return!0}return!1}function C(J){var re=[],he="",fe;if(!J||!J.childNodes)return"ltr";function ae(Ue,We){for(var de=We.childNodes.length-1;de>=0;de--)Ue.push(We.childNodes[de])}function ye(Ue){if(!Ue||!Ue.length)return null;var We=Ue.pop(),de=We.textContent||We.innerText;if(de){var xe=de.match(/^.*(\n|\r)/);return xe?(Ue.length=0,xe[0]):de}if(We.tagName==="ruby")return ye(Ue);if(We.childNodes)return ae(Ue,We),ye(Ue)}for(ae(re,J);he=ye(re);)for(var ve=0;ve<he.length;ve++)if(fe=he.charCodeAt(ve),w(fe))return"rtl";return"ltr"}function O(J){if(typeof J.line=="number"&&(J.snapToLines||J.line>=0&&J.line<=100))return J.line;if(!J.track||!J.track.textTrackList||!J.track.textTrackList.mediaElement)return-1;for(var re=J.track,he=re.textTrackList,fe=0,ae=0;ae<he.length&&he[ae]!==re;ae++)he[ae].mode==="showing"&&fe++;return++fe*-1}function U(){}U.prototype.applyStyles=function(J,re){re=re||this.div;for(var he in J)J.hasOwnProperty(he)&&(re.style[he]=J[he])},U.prototype.formatStyle=function(J,re){return J===0?0:J+re};function D(J,re,he){U.call(this),this.cue=re,this.cueDiv=T(J,re.text);var fe={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:re.vertical===""?"horizontal-tb":re.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(fe,this.cueDiv),this.div=J.document.createElement("div"),fe={direction:C(this.cueDiv),writingMode:re.vertical===""?"horizontal-tb":re.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:re.align==="middle"?"center":re.align,font:he.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(fe),this.div.appendChild(this.cueDiv);var ae=0;switch(re.positionAlign){case"start":case"line-left":ae=re.position;break;case"center":ae=re.position-re.size/2;break;case"end":case"line-right":ae=re.position-re.size;break}re.vertical===""?this.applyStyles({left:this.formatStyle(ae,"%"),width:this.formatStyle(re.size,"%")}):this.applyStyles({top:this.formatStyle(ae,"%"),height:this.formatStyle(re.size,"%")}),this.move=function(ye){this.applyStyles({top:this.formatStyle(ye.top,"px"),bottom:this.formatStyle(ye.bottom,"px"),left:this.formatStyle(ye.left,"px"),right:this.formatStyle(ye.right,"px"),height:this.formatStyle(ye.he
vendor: 10,639 bytes, lines 728-735
728ight,"px"),width:this.formatStyle(ye.width,"px")})}}D.prototype=r(U.prototype),D.prototype.constructor=D;function F(J){var re,he,fe,ae;if(J.div){he=J.div.offsetHeight,fe=J.div.offsetWidth,ae=J.div.offsetTop;var ye=(ye=J.div.childNodes)&&(ye=ye[0])&&ye.getClientRects&&ye.getClientRects();J=J.div.getBoundingClientRect(),re=ye?Math.max(ye[0]&&ye[0].height||0,J.height/ye.length):0}this.left=J.left,this.right=J.right,this.top=J.top||ae,this.height=J.height||he,this.bottom=J.bottom||ae+(J.height||he),this.width=J.width||fe,this.lineHeight=re!==void 0?re:J.lineHeight}F.prototype.move=function(J,re){switch(re=re!==void 0?re:this.lineHeight,J){case"+x":this.left+=re,this.right+=re;break;case"-x":this.left-=re,this.right-=re;break;case"+y":this.top+=re,this.bottom+=re;break;case"-y":this.top-=re,this.bottom-=re;break}},F.prototype.overlaps=function(J){return this.left<J.right&&this.right>J.left&&this.top<J.bottom&&this.bottom>J.top},F.prototype.overlapsAny=function(J){for(var re=0;re<J.length;re++)if(this.overlaps(J[re]))return!0;return!1},F.prototype.within=function(J){return this.top>=J.top&&this.bottom<=J.bottom&&this.left>=J.left&&this.right<=J.right},F.prototype.overlapsOppositeAxis=function(J,re){switch(re){case"+x":return this.left<J.left;case"-x":return this.right>J.right;case"+y":return this.top<J.top;case"-y":return this.bottom>J.bottom}},F.prototype.intersectPercentage=function(J){var re=Math.max(0,Math.min(this.right,J.right)-Math.max(this.left,J.left)),he=Math.max(0,Math.min(this.bottom,J.bottom)-Math.max(this.top,J.top)),fe=re*he;return fe/(this.height*this.width)},F.prototype.toCSSCompatValues=function(J){return{top:this.top-J.top,bottom:J.bottom-this.bottom,left:this.left-J.left,right:J.right-this.right,height:this.height,width:this.width}},F.getSimpleBoxPosition=function(J){var re=J.div?J.div.offsetHeight:J.tagName?J.offsetHeight:0,he=J.div?J.div.offsetWidth:J.tagName?J.offsetWidth:0,fe=J.div?J.div.offsetTop:J.tagName?J.offsetTop:0;J=J.div?J.div.getBoundingClientRect():J.tagName?J.getBoundingClientRect():J;var ae={left:J.left,right:J.right,top:J.top||fe,height:J.height||re,bottom:J.bottom||fe+(J.height||re),width:J.width||he};return ae};function j(J,re,he,fe){function ae(mt,Xt){for(var jt,Lt=new F(mt),Ht=1,vr=0;vr<Xt.length;vr++){for(;mt.overlapsOppositeAxis(he,Xt[vr])||mt.within(he)&&mt.overlapsAny(fe);)mt.move(Xt[vr]);if(mt.within(he))return mt;var Fr=mt.intersectPercentage(he);Ht>Fr&&(jt=new F(mt),Ht=Fr),mt=new F(Lt)}return jt||Lt}var ye=new F(re),ve=re.cue,Ue=O(ve),We=[];if(ve.snapToLines){var de;switch(ve.vertical){case"":We=["+y","-y"],de="height";break;case"rl":We=["+x","-x"],de="width";break;case"lr":We=["-x","+x"],de="width";break}var xe=ye.lineHeight,Fe=xe*Math.round(Ue),Xe=he[de]+xe,Me=We[0];Math.abs(Fe)>Xe&&(Fe=Fe<0?-1:1,Fe*=Math.ceil(Xe/xe)*xe),Ue<0&&(Fe+=ve.vertical===""?he.height:he.width,We=We.reverse()),ye.move(Me,Fe)}else{var Ze=ye.lineHeight/he.height*100;switch(ve.lineAlign){case"center":Ue-=Ze/2;break;case"end":Ue-=Ze;break}switch(ve.vertical){case"":re.applyStyles({top:re.formatStyle(Ue,"%")});break;case"rl":re.applyStyles({left:re.formatStyle(Ue,"%")});break;case"lr":re.applyStyles({right:re.formatStyle(Ue,"%")});break}We=["+y","-x","+x","-y"],ye=new F(re)}var rt=ae(ye,We);re.move(rt.toCSSCompatValues(he))}function M(){}M.StringDecoder=function(){return{decode:function(J){if(!J)return"";if(typeof J!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(J))}}},M.convertCueToDOMTree=function(J,re){return!J||!re?null:T(J,re)};var W=.05,V="sans-serif",q="1.5%";M.processCues=function(J,re,he){if(!J||!re||!he)return null;for(;he.firstChild;)he.removeChild(he.firstChild);var fe=J.document.createElement("div");fe.style.position="absolute",fe.style.left="0",fe.style.right="0",fe.style.top="0",fe.style.bottom="0",fe.style.margin=q,he.appendChild(fe);function ae(xe){for(var Fe=0;Fe<xe.length;Fe++)if(xe[Fe].hasBeenReset||!xe[Fe].displayState)return!0;return!1}if(!ae(re)){for(var ye=0;ye<re.length;ye++)fe.appendChild(re[ye].displayState);return}var ve=[],Ue=F.getSimpleBoxPosition(fe),We=Math.round(Ue.height*W*100)/100,de={font:We+"px "+V};(function(){for(var xe,Fe,Xe=0;Xe<re.length;Xe++)Fe=re[Xe],xe=new D(J,Fe,de),fe.appendChild(xe.div),j(J,xe,Ue,ve),Fe.displayState=xe.div,ve.push(F.getSimpleBoxPosition(xe))})()},M.Parser=function(J,re,he){he||(he=re,re={}),re||(re={}),this.window=J,this.vttjs=re,this.state="INITIAL",this.buffer="",this.decoder=he||new TextDecoder("utf8"),this.regionList=[]},M.Parser.prototype={reportOrThrowError:function(J){if(J instanceof a)this.onparsingerror&&this.onparsingerror(J);else throw J},parse:function(J){var re=this;J&&(re.buffer+=re.decoder.decode(J,{stream:!0}));function he(){for(var xe=re.buffer,Fe=0;Fe<xe.length&&xe[Fe]!=="\r"&&xe[Fe]!==` 729`;)++Fe;var Xe=xe.substr(0,Fe);return xe[Fe]==="\r"&&++Fe,xe[Fe]===` 730`&&++Fe,re.buffer=xe.substr(Fe),Xe}function fe(xe){var Fe=new s;if(u(xe,function(Me,Ze){switch(Me){case"id":Fe.set(Me,Ze);break;case"width":Fe.percent(Me,Ze);break;case"lines":Fe.integer(Me,Ze);break;case"regionanchor":case"viewportanchor":var rt=Ze.split(",");if(rt.length!==2)break;var mt=new s;if(mt.percent("x",rt[0]),mt.percent("y",rt[1]),!mt.has("x")||!mt.has("y"))break;Fe.set(Me+"X",mt.get("x")),Fe.set(Me+"Y",mt.get("y"));break;case"scroll":Fe.alt(Me,Ze,["up"]);break}},/=/,/\s/),Fe.has("id")){var Xe=new(re.vttjs.VTTRegion||re.window.VTTRegion);Xe.width=Fe.get("width",100),Xe.lines=Fe.get("lines",3),Xe.regionAnchorX=Fe.get("regionanchorX",0),Xe.regionAnchorY=Fe.get("regionanchorY",100),Xe.viewportAnchorX=Fe.get("viewportanchorX",0),Xe.viewportAnchorY=Fe.get("viewportanchorY",100),Xe.scroll=Fe.get("scroll",""),re.onregion&&re.onregion(Xe),re.regionList.push({id:Fe.get("id"),region:Xe})}}function ae(xe){var Fe=new s;u(xe,function(Xe,Me){switch(Xe){case"MPEGT":Fe.integer(Xe+"S",Me);break;case"LOCA":Fe.set(Xe+"L",i(Me));break}},/[^\d]:/,/,/),re.ontimestampmap&&re.ontimestampmap({MPEGTS:Fe.get("MPEGTS"),LOCAL:Fe.get("LOCAL")})}function ye(xe){xe.match(/X-TIMESTAMP-MAP/)?u(xe,function(Fe,Xe){Fe==="X-TIMESTAMP-MAP"&&ae(Xe)},/=/):u(xe,function(Fe,Xe){Fe==="Region"&&fe(Xe)},/:/)}try{var ve;if(re.state==="INITIAL"){if(!/\r\n|\n/.test(re.buffer))return this;ve=he();var Ue=ve.match(/^WEBVTT([ \t].*)?$/);if(!Ue||!Ue[0])throw new a(a.Errors.BadSignature);re.state="HEADER"}for(var We=!1;re.buffer;){if(!/\r\n|\n/.test(re.buffer))return this;switch(We?We=!1:ve=he(),re.state){case"HEADER":/:/.test(ve)?ye(ve):ve||(re.state="ID");continue;case"NOTE":ve||(re.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(ve)){re.state="NOTE";break}if(!ve)continue;re.cue=new(re.vttjs.VTTCue||re.window.VTTCue)(0,0,"");try{re.cue.align="center"}catch{re.cue.align="middle"}if(re.state="CUE",ve.indexOf("-->")===-1){re.cue.id=ve;continue}case"CUE":try{l(ve,re.cue,re.regionList)}catch(xe){re.reportOrThrowError(xe),re.cue=null,re.state="BADCUE";continue}re.state="CUETEXT";continue;case"CUETEXT":var de=ve.indexOf("-->")!==-1;if(!ve||de&&(We=!0)){re.oncue&&re.oncue(re.cue),re.cue=null,re.state="ID";continue}re.cue.text&&(re.cue.text+=` 731`),re.cue.text+=ve.replace(/\u2028/g,` 732`).replace(/u2029/g,` 733`);continue;case"BADCUE":ve||(re.state="ID");continue}}}catch(xe){re.reportOrThrowError(xe),re.state==="CUETEXT"&&re.cue&&re.oncue&&re.oncue(re.cue),re.cue=null,re.state=re.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this},flush:function(){var J=this;try{if(J.buffer+=J.decoder.decode(),(J.cue||J.state==="HEADER")&&(J.buffer+=` 734 735`,J.parse()),J.state==="INITIAL")throw new a(a.Errors.BadSignature)}catch(re){J.reportOrThrowError(re)}return J.onflush&&J.onflush(),this}},f.exports=M},88291(f){var d="auto",e={"":1,lr:1,rl:1},n={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(s){if(typeof s!="string")return!1;var u=e[s.toLowerCase()];return u?s.toLowerCase():!1}function a(s){if(typeof s!="string")return!1;var u=n[s.toLowerCase()];return u?s.toLowerCase():!1}function i(s,u,l){this.hasBeenReset=!1;var m="",g=!1,h=s,v=u,b=l,T=null,E="",w=!0,C="auto",O="start",U="auto",D="auto",F=100,j="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return m},set:function(M){m=""+M}},pauseOnExit:{enumerable:!0,get:function(){return g},set:function(M){g=!!M}},startTime:{enumerable:!0,get:function(){return h},set:function(M){if(typeof M!="number")throw new TypeError("Start time must be set to a number.");h=M,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return v},set:function(M){if(typeof M!="number")throw new TypeError("End time must be set to a number.");v=M,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return b},set:function(M){b=""+M,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return T},set:function(M){T=M,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return E},set:function(M){var W=r(M);if(W===!1)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");E=W,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return w},set:function(M){w=!!M,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return C},set:function(M){if(typeof M!="number"&&M!==d)throw new SyntaxError("Line: an invalid number or illegal string was specified.");C=M,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return O},set:function(M){var W=a(M);W?(O=W,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return U},set:function(M){if(M<0||M>100)throw new Error("Position must be between 0 and 100.");U=M,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return D},set:function(M){var W=a(M);W?(D=W,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return F},set:function(M){if(M<0||M>100)throw new Error("Size must be between 0 and 100.");F=M,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return j},set:function(M){var W=a(M);if(!W)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");j=W,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},f.exports=i},10610(f){var d={"":!0,up:!0};function e(a){if(typeof a!="string")return!1;var i=d[a.toLowerCase()];return i?a.toLowerCase():!1}function n(a){return typeof a=="number"&&a>=0&&a<=100}function r(){var a=100,i=3,s=0,u=100,l=0,m=100,g="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return a}
vendor: 4,762 bytes, line 735
735,set:function(h){if(!n(h))throw new Error("Width must be between 0 and 100.");a=h}},lines:{enumerable:!0,get:function(){return i},set:function(h){if(typeof h!="number")throw new TypeError("Lines must be set to a number.");i=h}},regionAnchorY:{enumerable:!0,get:function(){return u},set:function(h){if(!n(h))throw new Error("RegionAnchorX must be between 0 and 100.");u=h}},regionAnchorX:{enumerable:!0,get:function(){return s},set:function(h){if(!n(h))throw new Error("RegionAnchorY must be between 0 and 100.");s=h}},viewportAnchorY:{enumerable:!0,get:function(){return m},set:function(h){if(!n(h))throw new Error("ViewportAnchorY must be between 0 and 100.");m=h}},viewportAnchorX:{enumerable:!0,get:function(){return l},set:function(h){if(!n(h))throw new Error("ViewportAnchorX must be between 0 and 100.");l=h}},scroll:{enumerable:!0,get:function(){return g},set:function(h){var v=e(h);v===!1?console.warn("Scroll: an invalid or illegal string was specified."):g=v}}})}f.exports=r},44310(f,d,e){var n;(function(){function r(Y,ot,Yt){return Y.call.apply(Y.bind,arguments)}function a(Y,ot,Yt){if(!Y)throw Error();if(2<arguments.length){var it=Array.prototype.slice.call(arguments,2);return function(){var Mt=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(Mt,it),Y.apply(ot,Mt)}}return function(){return Y.apply(ot,arguments)}}function i(Y,ot,Yt){return i=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?r:a,i.apply(null,arguments)}var s=Date.now||function(){return+new Date};function u(Y,ot){this.a=Y,this.o=ot||Y,this.c=this.o.document}var l=!!window.FontFace;function m(Y,ot,Yt,it){if(ot=Y.c.createElement(ot),Yt)for(var Mt in Yt)Yt.hasOwnProperty(Mt)&&(Mt=="style"?ot.style.cssText=Yt[Mt]:ot.setAttribute(Mt,Yt[Mt]));return it&&ot.appendChild(Y.c.createTextNode(it)),ot}function g(Y,ot,Yt){Y=Y.c.getElementsByTagName(ot)[0],Y||(Y=document.documentElement),Y.insertBefore(Yt,Y.lastChild)}function h(Y){Y.parentNode&&Y.parentNode.removeChild(Y)}function v(Y,ot,Yt){ot=ot||[],Yt=Yt||[];for(var it=Y.className.split(/\s+/),Mt=0;Mt<ot.length;Mt+=1){for(var an=!1,Cn=0;Cn<it.length;Cn+=1)if(ot[Mt]===it[Cn]){an=!0;break}an||it.push(ot[Mt])}for(ot=[],Mt=0;Mt<it.length;Mt+=1){for(an=!1,Cn=0;Cn<Yt.length;Cn+=1)if(it[Mt]===Yt[Cn]){an=!0;break}an||ot.push(it[Mt])}Y.className=ot.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function b(Y,ot){for(var Yt=Y.className.split(/\s+/),it=0,Mt=Yt.length;it<Mt;it++)if(Yt[it]==ot)return!0;return!1}function T(Y){return Y.o.location.hostname||Y.a.location.hostname}function E(Y,ot,Yt){function it(){Ln&&Mt&&an&&(Ln(Cn),Ln=null)}ot=m(Y,"link",{rel:"stylesheet",href:ot,media:"all"});var Mt=!1,an=!0,Cn=null,Ln=Yt||null;l?(ot.onload=function(){Mt=!0,it()},ot.onerror=function(){Mt=!0,Cn=Error("Stylesheet failed to load"),it()}):setTimeout(function(){Mt=!0,it()},0),g(Y,"head",ot)}function w(Y,ot,Yt,it){var Mt=Y.c.getElementsByTagName("head")[0];if(Mt){var an=m(Y,"script",{src:ot}),Cn=!1;return an.onload=an.onreadystatechange=function(){Cn||this.readyState&&this.readyState!="loaded"&&this.readyState!="complete"||(Cn=!0,Yt&&Yt(null),an.onload=an.onreadystatechange=null,an.parentNode.tagName=="HEAD"&&Mt.removeChild(an))},Mt.appendChild(an),setTimeout(function(){Cn||(Cn=!0,Yt&&Yt(Error("Script load timeout")))},it||5e3),an}return null}function C(){this.a=0,this.c=null}function O(Y){return Y.a++,function(){Y.a--,D(Y)}}function U(Y,ot){Y.c=ot,D(Y)}function D(Y){Y.a==0&&Y.c&&(Y.c(),Y.c=null)}function F(Y){this.a=Y||"-"}F.prototype.c=function(Y){for(var ot=[],Yt=0;Yt<arguments.length;Yt++)ot.push(arguments[Yt].replace(/[\W_]+/g,"").toLowerCase());return ot.join(this.a)};function j(Y,ot){this.c=Y,this.f=4,this.a="n";var Yt=(ot||"n4").match(/^([nio])([1-9])$/i);Yt&&(this.a=Yt[1],this.f=parseInt(Yt[2],10))}function M(Y){return q(Y)+" "+(Y.f+"00")+" 300px "+W(Y.c)}function W(Y){var ot=[];Y=Y.split(/,\s*/);for(var Yt=0;Yt<Y.length;Yt++){var it=Y[Yt].replace(/['"]/g,"");it.indexOf(" ")!=-1||/^\d/.test(it)?ot.push("'"+it+"'"):ot.push(it)}return ot.join(",")}function V(Y){return Y.a+Y.f}function q(Y){var ot="normal";return Y.a==="o"?ot="oblique":Y.a==="i"&&(ot="italic"),ot}function J(Y){var ot=4,Yt="n",it=null;return Y&&((it=Y.match(/(normal|oblique|italic)/i))&&it[1]&&(Yt=it[1].substr(0,1).toLowerCase()),(it=Y.match(/([1-9]00|normal|bold)/i))&&it[1]&&(/bold/i.test(it[1])?ot=7:/[1-9]00/.test(it[1])&&(ot=parseInt(it[1].substr(0,1),10)))),Yt+ot}function re(Y,ot){this.c=Y,this.f=Y.o.document.documentElement,this.h=ot,this.a=new F("-"),this.j=ot.events!==!1,this.g=ot.classes!==!1}function he(Y){Y.g&&v(Y.f,[Y.a.c("wf","loading")]),ae(Y,"loading")}function fe(Y){if(Y.g){var ot=b(Y.f,Y.a.c("wf","active")),Yt=[],it=[Y.a.c("wf","loading")];
735ot||Yt.push(Y.a.c("wf","inactive")),v(Y.f,Yt,it)}ae(Y,"inactive")}function ae(Y,ot,Yt){Y.j&&Y.h[ot]&&(Yt?Y.h[ot](Yt.c,V(Yt)):Y.h[ot]())}function ye(){this.c={}}function ve(Y,ot,Yt){var it=[],Mt;for(Mt in ot)if(ot.hasOwnProperty(Mt)){var an=Y.c[Mt];an&&it.push(an(ot[Mt],Yt))}return it}function Ue(Y,ot){this.c=Y,this.f=ot,this.a=m(this.c,"span",{"aria-hidden":"true"},this.f)}function We(Y){g(Y.c,"body",Y.a)}function de(Y){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+W(Y.c)+";"+("font-style:"+q(Y)+";font-weight:"+(Y.f+"00")+";")}function xe(Y,ot,Yt,it,Mt,an){this.g=Y,this.j=ot,this.a=it,this.c=Yt,this.f=Mt||3e3,this.h=an||void 0}xe.prototype.start=function(){var Y=this.c.o.document,ot=this,Yt=s(),it=new Promise(function(Cn,Ln){function In(){s()-Yt>=ot.f?Ln():Y.fonts.load(M(ot.a),ot.h).then(function(Si){1<=Si.length?Cn():setTimeout(In,25)},function(){Ln()})}In()}),Mt=null,an=new Promise(function(Cn,Ln){Mt=setTimeout(Ln,ot.f)});Promise.race([an,it]).then(function(){Mt&&(clearTimeout(Mt),Mt=null),ot.g(ot.a)},function(){ot.j(ot.a)})};function Fe(Y,ot,Yt,it,Mt,an,Cn){this.v=Y,this.B=ot,this.c=Yt,this.a=it,this.s=Cn||"BESbswy",this.f={},this.w=Mt||3e3,this.u=an||null,this.m=this.j=this.h=this.g=null,this.g=new Ue(this.c,this.s),this.h=new Ue(this.c,this.s),this.j=new Ue(this.c,this.s),this.m=new Ue(this.c,this.s),Y=new j(this.a.c+",serif",V(this.a)),Y=de(Y),this.g.a.style.cssText=Y,Y=new j(this.a.c+",sans-serif",V(this.a)),Y=de(Y),this.h.a.style.cssText=Y,Y=new j("serif",V(this.a)),Y=de(Y),this.j.a.style.cssText=Y,Y=new j("sans-serif",V(this.a)),Y=de(Y),this.m.a.style.cssText=Y,We(this.g),We(this.h),We(this.j),We(this.m)}var Xe={D:"serif",C:"sans-serif"},Me=null;function Ze(){if(Me===null){var Y=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);Me=!!Y&&(536>parseInt(Y[1],10)||parseInt(Y[1],10)===536&&11>=parseInt(Y[2],10))}return Me}Fe.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=s(),mt(this)};function rt(Y,ot,Yt){for(var it in Xe)if(Xe.hasOwnProperty(it)&&ot===Y.f[Xe[it]]&&Yt===Y.f[Xe[it]])return!0;return!1}function mt(Y){var ot=Y.g.a.offsetWidth,Yt=Y.h.a.offsetWidth,it;(it=ot===Y.f.serif&&Yt===Y.f["sans-serif"])||(it=Ze()&&rt(Y,ot,Yt)),it?s()-Y.A>=Y.w?Ze()&&rt(Y,ot,Yt)&&(Y.u===null||Y.u.hasOwnProperty(Y.a.c))?jt(Y,Y.v):jt(Y,Y.B):Xt(Y):jt(Y,Y.v)}function Xt(Y){setTimeout(i(function(){mt(this)},Y),50)}function jt(Y,ot){setTimeout(i(function(){h(this.g.a),h(this.h.a),h(this.j.a),h(this.m.a),ot(this.a)},Y),0)}function Lt(Y,ot,Yt){this.c=Y,this.a=ot,this.f=0,this.m=this.j=!1,this.s=Yt}var Ht=null;Lt.prototype.g=function(Y){var ot=this.a;ot.g&&v(ot.f,[ot.a.c("wf",Y.c,V(Y).toString(),"active")],[ot.a.c("wf",Y.c,V(Y).toString(),"loading"),ot.a.c("wf",Y.c,V(Y).toString(),"inactive")]),ae(ot,"fontactive",Y),this.m=!0,vr(this)},Lt.prototype.h=function(Y){var ot=this.a;if(ot.g){var Yt=b(ot.f,ot.a.c("wf",Y.c,V(Y).toString(),"active")),it=[],Mt=[ot.a.c("wf",Y.c,V(Y).toString(),"loading")];Yt||it.push(ot.a.c("wf",Y.c,V(Y).toString(),"inactive")),v(ot.f,it,Mt)}ae(ot,"fontinactive",Y),vr(this)};function vr(Y){--Y.f==0&&Y.j&&(Y.m?(Y=Y.a,Y.g&&v(Y.f,[Y.a.c("wf","active")],[Y.a.c("wf","loading"),Y.a.c("wf","inactive")]),ae(Y,"active")):fe(Y.a))}function Fr(Y){this.j=Y,this.a=new ye,this.h=0,this.f=this.g=!0}Fr.prototype.load=function(Y){this.c=new u(this.j,Y.context||this.j),this.g=Y.events!==!1,this.f=Y.classes!==!1,Kr(this,new re(this.c,Y),Y)};function fn(Y,ot,Yt,it,Mt){var an=--Y.h==0;(Y.f||Y.g)&&setTimeout(function(){var Cn=Mt||null,Ln=it||null||{};if(Yt.length===0&&an)fe(ot.a);else{ot.f+=Yt.length,an&&(ot.j=an);var In,Si=[];for(In=0;In<Yt.length;In++){var $i=Yt[In],tn=Ln[$i.c],Hi=ot.a,Ji=$i;if(Hi.g&&v(Hi.f,[Hi.a.c("wf",Ji.c,V(Ji).toString(),"loading")]),ae(Hi,"fontloading",Ji),Hi=null,Ht===null)if(window.FontFace){var Ji=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent),Yi=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);
735Ht=Ji?42<parseInt(Ji[1],10):!Yi}else Ht=!1;Ht?Hi=new xe(i(ot.g,ot),i(ot.h,ot),ot.c,$i,ot.s,tn):Hi=new Fe(i(ot.g,ot),i(ot.h,ot),ot.c,$i,ot.s,Cn,tn),Si.push(Hi)}for(In=0;In<Si.length;In++)Si[In].start()}},0)}function Kr(Y,ot,Yt){var Mt=[],it=Yt.timeout;he(ot);var Mt=ve(Y.a,Yt,Y.c),an=new Lt(Y.c,ot,it);for(Y.h=Mt.length,ot=0,Yt=Mt.length;ot<Yt;ot++)Mt[ot].load(function(Cn,Ln,In){fn(Y,an,Cn,Ln,In)})}function Sn(Y,ot){this.c=Y,this.a=ot}Sn.prototype.load=function(Y){function ot(){if(an["__mti_fntLst"+it]){var Cn=an["__mti_fntLst"+it](),Ln=[],In;if(Cn)for(var Si=0;Si<Cn.length;Si++){var $i=Cn[Si].fontfamily;Cn[Si].fontStyle!=null&&Cn[Si].fontWeight!=null?(In=Cn[Si].fontStyle+Cn[Si].fontWeight,Ln.push(new j($i,In))):Ln.push(new j($i))}Y(Ln)}else setTimeout(function(){ot()},50)}var Yt=this,it=Yt.a.projectId,Mt=Yt.a.version;if(it){var an=Yt.c.o;w(this.c,(Yt.a.api||"https://fast.fonts.net/jsapi")+"/"+it+".js"+(Mt?"?v="+Mt:""),function(Cn){Cn?Y([]):(an["__MonotypeConfiguration__"+it]=function(){return Yt.a},ot())}).id="__MonotypeAPIScript__"+it}else Y([])};function Fn(Y,ot){this.c=Y,this.a=ot}Fn.prototype.load=function(Y){var ot,Yt,it=this.a.urls||[],Mt=this.a.families||[],an=this.a.testStrings||{},Cn=new C;for(ot=0,Yt=it.length;ot<Yt;ot++)E(this.c,it[ot],O(Cn));var Ln=[];for(ot=0,Yt=Mt.length;ot<Yt;ot++)if(it=Mt[ot].split(":"),it[1])for(var In=it[1].split(","),Si=0;Si<In.length;Si+=1)Ln.push(new j(it[0],In[Si]));else Ln.push(new j(it[0]));U(Cn,function(){Y(Ln,an)})};function Et(Y,ot){Y?this.c=Y:this.c=st,this.a=[],this.f=[],this.g=ot||""}var st="https://fonts.googleapis.com/css";function Wr(Y,ot){for(var Yt=ot.length,it=0;it<Yt;it++){var Mt=ot[it].split(":");Mt.length==3&&Y.f.push(Mt.pop());var an="";Mt.length==2&&Mt[1]!=""&&(an=":"),Y.a.push(Mt.join(an))}}function Dr(Y){if(Y.a.length==0)throw Error("No fonts to load!");if(Y.c.indexOf("kit=")!=-1)return Y.c;for(var ot=Y.a.length,Yt=[],it=0;it<ot;it++)Yt.push(Y.a[it].replace(/ /g,"+"));return ot=Y.c+"?family="+Yt.join("%7C"),0<Y.f.length&&(ot+="&subset="+Y.f.join(",")),0<Y.g.length&&(ot+="&text="+encodeURIComponent(Y.g)),ot}function Tr(Y){this.f=Y,this.a=[],this.c={}}var gr={latin:"BESbswy","latin-ext":"\xE7\xF6\xFC\u011F\u015F",cyrillic:"\u0439\u044F\u0416",greek:"\u03B1\u03B2\u03A3",khmer:"\u1780\u1781\u1782",Hanuman:"\u1780\u1781\u1782"},ir={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},Mr={i:"i",italic:"i",n:"n",normal:"n"},Lr=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function un(Y){for(var ot=Y.f.length,Yt=0;Yt<ot;Yt++){var it=Y.f[Yt].split(":"),Mt=it[0].replace(/\+/g," "),an=["n4"];if(2<=it.length){var Cn,Ln=it[1];if(Cn=[],Ln)for(var Ln=Ln.split(","),In=Ln.length,Si=0;Si<In;Si++){var $i;if($i=Ln[Si],$i.match(/^[\w-]+$/)){var tn=Lr.exec($i.toLowerCase());if(tn==null)$i="";else{if($i=tn[2],$i=$i==null||$i==""?"n":Mr[$i],tn=tn[1],tn==null||tn=="")tn="4";else var Hi=ir[tn],tn=Hi||(isNaN(tn)?"4":tn.substr(0,1));$i=[$i,tn].join("")}}else $i="";$i&&Cn.push($i)}0<Cn.length&&(an=Cn),it.length==3&&(it=it[2],Cn=[],it=it?it.split(","):Cn,0<it.length&&(it=gr[it[0]])&&(Y.c[Mt]=it))}for(Y.c[Mt]||(it=gr[Mt])&&(Y.c[Mt]=it),it=0;it<an.length;it+=1)Y.a.push(new j(Mt,an[it]))}}function hn(Y,ot){this.c=Y,this.a=ot}var rr={Arimo:!0,Cousine:!0,Tinos:!0};hn.prototype.load=function(Y){var ot=new C,Yt=this.c,it=new Et(this.a.api,this.a.text),Mt=this.a.families;Wr(it,Mt);var an=new Tr(Mt);un(an),E(Yt,Dr(it),O(ot)),U(ot,function(){Y(an.a,an.c,rr)})};function Gr(Y,ot){this.c=Y,this.a=ot}Gr.prototype.load=function(Y){var ot=this.a.id,Yt=this.c.o;ot?w(this.c,(this.a.api||"https://use.typekit.net")+"/"+ot+".js",function(it){if(it)Y([]);else if(Yt.Typekit&&Yt.Typekit.config&&Yt.Typekit.config.fn){it=Yt.Typekit.config.fn;for(var Mt=[],an=0;an<it.length;an+=2)for(var Cn=it[an],Ln=it[an+1],In=0;In<Ln.length;In++)Mt.push(new j(Cn,Ln[In]));try{Yt.Typekit.load({events:!1,classes:!1,async:!0})}catch{}Y(Mt)}},2e3):Y([])};function er(Y,ot){this.c=Y,this.f=ot,this.a=[]}er.prototype.load=function(Y){var ot=this.f.id,Yt=this.c.o,it=this;ot?(Yt.__webfontfontdeckmodule__||(Yt.__webfontfontdeckmodule__={}),Yt.__webfontfontdeckmodule__[ot]=function(Mt,an){for(var Cn=0,Ln=an.fonts.length;Cn<Ln;++Cn){var In=an.fonts[Cn];it.a.push(new j(In.name,J("font-weight:"+In.weight+";font-style:"+In.style)))}Y(it.a)},w(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+T(this.c)+"/"+ot+".js",function(Mt){Mt&&Y([])})):Y([])};var At=new Fr(window);At.a.c.custom=function(Y,ot){return new Fn(ot,Y)},At.a.c.fontdeck=function(Y,ot){return new er(ot,Y)},At.a.c.monotype=function(Y,ot){return new Sn(ot,Y)},At.a.c.typekit=function(Y,ot){return new Gr(ot,Y)},At.a.c.google=function(Y,ot){return new hn(ot,Y)};var dr={load:i(At.load,At)};n=(function(){return dr}).call(d,e,d,f),n!==void 0&&(f.exports=n)})()},94554(f){"use strict";/*! Axios v1.13.6 Copyright (c) 2026 Matt Zabriskie and contributors */function d($e,Je){return function(){return $e.apply(Je,arguments)}}const{toString:e}=Object.prototype,{getPrototypeOf:n}
vendor: 5,972 bytes, line 735
735=Object,{iterator:r,toStringTag:a}=Symbol,i=($e=>Je=>{const Ct=e.call(Je);return $e[Ct]||($e[Ct]=Ct.slice(8,-1).toLowerCase())})(Object.create(null)),s=$e=>($e=$e.toLowerCase(),Je=>i(Je)===$e),u=$e=>Je=>typeof Je===$e,{isArray:l}=Array,m=u("undefined");function g($e){return $e!==null&&!m($e)&&$e.constructor!==null&&!m($e.constructor)&&T($e.constructor.isBuffer)&&$e.constructor.isBuffer($e)}const h=s("ArrayBuffer");function v($e){let Je;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?Je=ArrayBuffer.isView($e):Je=$e&&$e.buffer&&h($e.buffer),Je}const b=u("string"),T=u("function"),E=u("number"),w=$e=>$e!==null&&typeof $e=="object",C=$e=>$e===!0||$e===!1,O=$e=>{if(i($e)!=="object")return!1;const Je=n($e);return(Je===null||Je===Object.prototype||Object.getPrototypeOf(Je)===null)&&!(a in $e)&&!(r in $e)},U=$e=>{if(!w($e)||g($e))return!1;try{return Object.keys($e).length===0&&Object.getPrototypeOf($e)===Object.prototype}catch{return!1}},D=s("Date"),F=s("File"),j=$e=>!!($e&&typeof $e.uri<"u"),M=$e=>$e&&typeof $e.getParts<"u",W=s("Blob"),V=s("FileList"),q=$e=>w($e)&&T($e.pipe);function J(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const re=J(),he=typeof re.FormData<"u"?re.FormData:void 0,fe=$e=>{let Je;return $e&&(he&&$e instanceof he||T($e.append)&&((Je=i($e))==="formdata"||Je==="object"&&T($e.toString)&&$e.toString()==="[object FormData]"))},ae=s("URLSearchParams"),[ye,ve,Ue,We]=["ReadableStream","Request","Response","Headers"].map(s),de=$e=>$e.trim?$e.trim():$e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xe($e,Je,{allOwnKeys:Ct=!1}={}){if($e===null||typeof $e>"u")return;let Ot,Wt;if(typeof $e!="object"&&($e=[$e]),l($e))for(Ot=0,Wt=$e.length;Ot<Wt;Ot++)Je.call(null,$e[Ot],Ot,$e);else{if(g($e))return;const Er=Ct?Object.getOwnPropertyNames($e):Object.keys($e),Hr=Er.length;let mn;for(Ot=0;Ot<Hr;Ot++)mn=Er[Ot],Je.call(null,$e[mn],mn,$e)}}function Fe($e,Je){if(g($e))return null;Je=Je.toLowerCase();const Ct=Object.keys($e);let Ot=Ct.length,Wt;for(;Ot-- >0;)if(Wt=Ct[Ot],Je===Wt.toLowerCase())return Wt;return null}const Xe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:globalThis,Me=$e=>!m($e)&&$e!==Xe;function Ze(){const{caseless:$e,skipUndefined:Je}=Me(this)&&this||{},Ct={},Ot=(Wt,Er)=>{if(Er==="__proto__"||Er==="constructor"||Er==="prototype")return;const Hr=$e&&Fe(Ct,Er)||Er;O(Ct[Hr])&&O(Wt)?Ct[Hr]=Ze(Ct[Hr],Wt):O(Wt)?Ct[Hr]=Ze({},Wt):l(Wt)?Ct[Hr]=Wt.slice():(!Je||!m(Wt))&&(Ct[Hr]=Wt)};for(let Wt=0,Er=arguments.length;Wt<Er;Wt++)arguments[Wt]&&xe(arguments[Wt],Ot);return Ct}const rt=($e,Je,Ct,{allOwnKeys:Ot}={})=>(xe(Je,(Wt,Er)=>{Ct&&T(Wt)?Object.defineProperty($e,Er,{value:d(Wt,Ct),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty($e,Er,{value:Wt,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:Ot}),$e),mt=$e=>($e.charCodeAt(0)===65279&&($e=$e.slice(1)),$e),Xt=($e,Je,Ct,Ot)=>{$e.prototype=Object.create(Je.prototype,Ot),Object.defineProperty($e.prototype,"constructor",{value:$e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($e,"super",{value:Je.prototype}),Ct&&Object.assign($e.prototype,Ct)},jt=($e,Je,Ct,Ot)=>{let Wt,Er,Hr;const mn={};if(Je=Je||{},$e==null)return Je;do{for(Wt=Object.getOwnPropertyNames($e),Er=Wt.length;Er-- >0;)Hr=Wt[Er],(!Ot||Ot(Hr,$e,Je))&&!mn[Hr]&&(Je[Hr]=$e[Hr],mn[Hr]=!0);$e=Ct!==!1&&n($e)}while($e&&(!Ct||Ct($e,Je))&&$e!==Object.prototype);return Je},Lt=($e,Je,Ct)=>{$e=String($e),(Ct===void 0||Ct>$e.length)&&(Ct=$e.length),Ct-=Je.length;const Ot=$e.indexOf(Je,Ct);return Ot!==-1&&Ot===Ct},Ht=$e=>{if(!$e)return null;if(l($e))return $e;let Je=$e.length;if(!E(Je))return null;const Ct=new Array(Je);for(;Je-- >0;)Ct[Je]=$e[Je];return Ct},vr=($e=>Je=>$e&&Je instanceof $e)(typeof Uint8Array<"u"&&n(Uint8Array)),Fr=($e,Je)=>{const Ot=($e&&$e[r]).call($e);let Wt;for(;(Wt=Ot.next())&&!Wt.done;){const Er=Wt.value;Je.call($e,Er[0],Er[1])}},fn=($e,Je)=>{let Ct;const Ot=[];for(;(Ct=$e.exec(Je))!==null;)Ot.push(Ct);return Ot},Kr=s("HTMLFormElement"),Sn=$e=>$e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Ct,Ot,Wt){return Ot.toUpperCase()+Wt}),Fn=(({hasOwnProperty:$e})=>(Je,Ct)=>$e.call(Je,Ct))(Object.prototype),Et=s("RegExp"),st=($e,Je)=>{const Ct=Object.getOwnPropertyDescriptors($e),Ot={};xe(Ct,(Wt,Er)=>{let Hr;(Hr=Je(Wt,Er,$e))!==!1&&(Ot[Er]=Hr||Wt)}),Object.defineProperties($e,Ot)},Wr=$e=>{st($e,(Je,Ct)=>{if(T($e)&&["arguments","caller","callee"].indexOf(Ct)!==-1)return!1;const Ot=$e[Ct];if(T(Ot)){if(Je.enumerable=!1,"writable"in Je){Je.writable=!1;return}Je.set||(Je.set=()=>{throw Error("Can not rewrite read-only method '"+Ct+"'")})}})},Dr=($e,Je)=>{const Ct={},Ot=Wt=>{Wt.forEach(Er=>{Ct[Er]=!0})};return l($e)?Ot($e):Ot(String($e).split(Je)),Ct},Tr=()=>{},gr=($e,Je)=>$e!=null&&Number.isFinite($e=+$e)?$e:Je;function ir($e){return!!($e&&T($e.append)&&$e[a]==="FormData"&&$e[r])}const Mr=$e=>{const Je=new Array(10),Ct=(Ot,Wt)=>{if(w(Ot)){if(Je.indexOf(Ot)>=0)return;if(g(Ot))return Ot;if(!("toJSON"in Ot)){Je[Wt]=Ot;const Er=l(Ot)?[]:{};return xe(Ot,(Hr,mn)=>{const di=Ct(Hr,Wt+1);!m(di)&&(Er[mn]=di)}),Je[Wt]=void 0,Er}}return Ot};return Ct($e,0)},Lr=s("AsyncFunction"),un=$e=>$e&&(w($e)||T($e))&&T($e.then)&&T($e.catch),hn=(($e,Je)=>$e?setImmediate:Je?((Ct,Ot)=>(Xe.addEventListener("message",({source:Wt,data:Er})=>{Wt===Xe&&Er===Ct&&Ot.length&&Ot.shift()()},!1),Wt=>{Ot.push(Wt),Xe.postMessage(Ct,"*")}))(`axios@${Math.random()}`,[]):Ct=>setTimeout(Ct))(typeof setImmediate=="function",T(Xe.postMessage)),rr=typeof queueMicrotask<"u"?queueMicrotask.bind(Xe):typeof process<"u"&&process.nextTick||hn;var er={isArray:l,isArrayBuffer:h,isBuffer:g,isFormData:fe,isArrayBufferView:v,isString:b,isNumber:E,isBoolean:C,isObject:w,isPlainObject:O,isEmptyObject:U,isReadableStream:ye,isRequest:ve,isResponse:Ue,isHeaders:We,isUndefined:m,isDate:D,isFile:F,isReactNativeBlob:j,isReactNative:M,isBlob:W,isRegExp:Et,is
vendor: 3,856 bytes, line 735
735Function:T,isStream:q,isURLSearchParams:ae,isTypedArray:vr,isFileList:V,forEach:xe,merge:Ze,extend:rt,trim:de,stripBOM:mt,inherits:Xt,toFlatObject:jt,kindOf:i,kindOfTest:s,endsWith:Lt,toArray:Ht,forEachEntry:Fr,matchAll:fn,isHTMLForm:Kr,hasOwnProperty:Fn,hasOwnProp:Fn,reduceDescriptors:st,freezeMethods:Wr,toObjectSet:Dr,toCamelCase:Sn,noop:Tr,toFiniteNumber:gr,findKey:Fe,global:Xe,isContextDefined:Me,isSpecCompliantForm:ir,toJSONObject:Mr,isAsyncFn:Lr,isThenable:un,setImmediate:hn,asap:rr,isIterable:$e=>$e!=null&&T($e[r])};class At extends Error{static from(Je,Ct,Ot,Wt,Er,Hr){const mn=new At(Je.message,Ct||Je.code,Ot,Wt,Er);return mn.cause=Je,mn.name=Je.name,Je.status!=null&&mn.status==null&&(mn.status=Je.status),Hr&&Object.assign(mn,Hr),mn}constructor(Je,Ct,Ot,Wt,Er){super(Je),Object.defineProperty(this,"message",{value:Je,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,Ct&&(this.code=Ct),Ot&&(this.config=Ot),Wt&&(this.request=Wt),Er&&(this.response=Er,this.status=Er.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:er.toJSONObject(this.config),code:this.code,status:this.status}}}At.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",At.ERR_BAD_OPTION="ERR_BAD_OPTION",At.ECONNABORTED="ECONNABORTED",At.ETIMEDOUT="ETIMEDOUT",At.ERR_NETWORK="ERR_NETWORK",At.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",At.ERR_DEPRECATED="ERR_DEPRECATED",At.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",At.ERR_BAD_REQUEST="ERR_BAD_REQUEST",At.ERR_CANCELED="ERR_CANCELED",At.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",At.ERR_INVALID_URL="ERR_INVALID_URL";var dr=At,Y=null;function ot($e){return er.isPlainObject($e)||er.isArray($e)}function Yt($e){return er.endsWith($e,"[]")?$e.slice(0,-2):$e}function it($e,Je,Ct){return $e?$e.concat(Je).map(function(Wt,Er){return Wt=Yt(Wt),!Ct&&Er?"["+Wt+"]":Wt}).join(Ct?".":""):Je}function Mt($e){return er.isArray($e)&&!$e.some(ot)}const an=er.toFlatObject(er,{},null,function(Je){return/^is[A-Z]/.test(Je)});function Cn($e,Je,Ct){if(!er.isObject($e))throw new TypeError("target must be an object");Je=Je||new FormData,Ct=er.toFlatObject(Ct,{metaTokens:!0,dots:!1,indexes:!1},!1,function(lt,gt){return!er.isUndefined(gt[lt])});const Ot=Ct.metaTokens,Wt=Ct.visitor||Pe,Er=Ct.dots,Hr=Ct.indexes,di=(Ct.Blob||typeof Blob<"u"&&Blob)&&er.isSpecCompliantForm(Je);if(!er.isFunction(Wt))throw new TypeError("visitor must be a function");function si(De){if(De===null)return"";if(er.isDate(De))return De.toISOString();if(er.isBoolean(De))return De.toString();if(!di&&er.isBlob(De))throw new dr("Blob is not supported. Use a Buffer instead.");return er.isArrayBuffer(De)||er.isTypedArray(De)?di&&typeof Blob=="function"?new Blob([De]):Buffer.from(De):De}function Pe(De,lt,gt){let Zt=De;if(er.isReactNative(Je)&&er.isReactNativeBlob(De))return Je.append(it(gt,lt,Er),si(De)),!1;if(De&&!gt&&typeof De=="object"){if(er.endsWith(lt,"{}"))lt=Ot?lt:lt.slice(0,-2),De=JSON.stringify(De);else if(er.isArray(De)&&Mt(De)||(er.isFileList(De)||er.endsWith(lt,"[]"))&&(Zt=er.toArray(De)))return lt=Yt(lt),Zt.forEach(function(dn,vn){!(er.isUndefined(dn)||dn===null)&&Je.append(Hr===!0?it([lt],vn,Er):Hr===null?lt:lt+"[]",si(dn))}),!1}return ot(De)?!0:(Je.append(it(gt,lt,Er),si(De)),!1)}const He=[],ft=Object.assign(an,{defaultVisitor:Pe,convertValue:si,isVisitable:ot});function Le(De,lt){if(!er.isUndefined(De)){if(He.indexOf(De)!==-1)throw Error("Circular reference detected in "+lt.join("."));He.push(De),er.forEach(De,function(Zt,xn){(!(er.isUndefined(Zt)||Zt===null)&&Wt.call(Je,Zt,er.isString(xn)?xn.trim():xn,lt,ft))===!0&&Le(Zt,lt?lt.concat(xn):[xn])}),He.pop()}}if(!er.isObject($e))throw new TypeError("data must be an object");return Le($e),Je}
vendor: 5,500 bytes, lines 735-736
735function Ln($e){const Je={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent($e).replace(/[!'()~]|%20|%00/g,function(Ot){return Je[Ot]})}function In($e,Je){this._pairs=[],$e&&Cn($e,this,Je)}const Si=In.prototype;Si.append=function(Je,Ct){this._pairs.push([Je,Ct])},Si.toString=function(Je){const Ct=Je?function(Ot){return Je.call(this,Ot,Ln)}:Ln;return this._pairs.map(function(Wt){return Ct(Wt[0])+"="+Ct(Wt[1])},"").join("&")};function $i($e){return encodeURIComponent($e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function tn($e,Je,Ct){if(!Je)return $e;const Ot=Ct&&Ct.encode||$i,Wt=er.isFunction(Ct)?{serialize:Ct}:Ct,Er=Wt&&Wt.serialize;let Hr;if(Er?Hr=Er(Je,Wt):Hr=er.isURLSearchParams(Je)?Je.toString():new In(Je,Wt).toString(Ot),Hr){const mn=$e.indexOf("#");mn!==-1&&($e=$e.slice(0,mn)),$e+=($e.indexOf("?")===-1?"?":"&")+Hr}return $e}class Hi{constructor(){this.handlers=[]}use(Je,Ct,Ot){return this.handlers.push({fulfilled:Je,rejected:Ct,synchronous:Ot?Ot.synchronous:!1,runWhen:Ot?Ot.runWhen:null}),this.handlers.length-1}eject(Je){this.handlers[Je]&&(this.handlers[Je]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(Je){er.forEach(this.handlers,function(Ot){Ot!==null&&Je(Ot)})}}var Ji=Hi,Yi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Ki=typeof URLSearchParams<"u"?URLSearchParams:In,mi=typeof FormData<"u"?FormData:null,ws=typeof Blob<"u"?Blob:null,Zn={isBrowser:!0,classes:{URLSearchParams:Ki,FormData:mi,Blob:ws},protocols:["http","https","file","blob","url","data"]};const fs=typeof window<"u"&&typeof document<"u",cs=typeof navigator=="object"&&navigator||void 0,vs=fs&&(!cs||["ReactNative","NativeScript","NS"].indexOf(cs.product)<0),wr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",we=fs&&window.location.href||"http://localhost";var Ke=Object.freeze({__proto__:null,hasBrowserEnv:fs,hasStandardBrowserWebWorkerEnv:wr,hasStandardBrowserEnv:vs,navigator:cs,origin:we}),ut={...Ke,...Zn};function Kt($e,Je){return Cn($e,new ut.classes.URLSearchParams,{visitor:function(Ct,Ot,Wt,Er){return ut.isNode&&er.isBuffer(Ct)?(this.append(Ot,Ct.toString("base64")),!1):Er.defaultVisitor.apply(this,arguments)},...Je})}function ar($e){return er.matchAll(/\w+|\[(\w*)]/g,$e).map(Je=>Je[0]==="[]"?"":Je[1]||Je[0])}function Wn($e){const Je={},Ct=Object.keys($e);let Ot;const Wt=Ct.length;let Er;for(Ot=0;Ot<Wt;Ot++)Er=Ct[Ot],Je[Er]=$e[Er];return Je}function hi($e){function Je(Ct,Ot,Wt,Er){let Hr=Ct[Er++];if(Hr==="__proto__")return!0;const mn=Number.isFinite(+Hr),di=Er>=Ct.length;return Hr=!Hr&&er.isArray(Wt)?Wt.length:Hr,di?(er.hasOwnProp(Wt,Hr)?Wt[Hr]=[Wt[Hr],Ot]:Wt[Hr]=Ot,!mn):((!Wt[Hr]||!er.isObject(Wt[Hr]))&&(Wt[Hr]=[]),Je(Ct,Ot,Wt[Hr],Er)&&er.isArray(Wt[Hr])&&(Wt[Hr]=Wn(Wt[Hr])),!mn)}if(er.isFormData($e)&&er.isFunction($e.entries)){const Ct={};return er.forEachEntry($e,(Ot,Wt)=>{Je(ar(Ot),Wt,Ct,0)}),Ct}return null}function Tt($e,Je,Ct){if(er.isString($e))try{return(Je||JSON.parse)($e),er.trim($e)}catch(Ot){if(Ot.name!=="SyntaxError")throw Ot}return(Ct||JSON.stringify)($e)}const qr={transitional:Yi,adapter:["xhr","http","fetch"],transformRequest:[function(Je,Ct){const Ot=Ct.getContentType()||"",Wt=Ot.indexOf("application/json")>-1,Er=er.isObject(Je);if(Er&&er.isHTMLForm(Je)&&(Je=new FormData(Je)),er.isFormData(Je))return Wt?JSON.stringify(hi(Je)):Je;if(er.isArrayBuffer(Je)||er.isBuffer(Je)||er.isStream(Je)||er.isFile(Je)||er.isBlob(Je)||er.isReadableStream(Je))return Je;if(er.isArrayBufferView(Je))return Je.buffer;if(er.isURLSearchParams(Je))return Ct.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Je.toString();let mn;if(Er){if(Ot.indexOf("application/x-www-form-urlencoded")>-1)return Kt(Je,this.formSerializer).toString();if((mn=er.isFileList(Je))||Ot.indexOf("multipart/form-data")>-1){const di=this.env&&this.env.FormData;return Cn(mn?{"files[]":Je}:Je,di&&new di,this.formSerializer)}}return Er||Wt?(Ct.setContentType("application/json",!1),Tt(Je)):Je}],transformResponse:[function(Je){const Ct=this.transitional||qr.transitional,Ot=Ct&&Ct.forcedJSONParsing,Wt=this.responseType==="json";if(er.isResponse(Je)||er.isReadableStream(Je))return Je;if(Je&&er.isString(Je)&&(Ot&&!this.responseType||Wt)){const Hr=!(Ct&&Ct.silentJSONParsing)&&Wt;try{return JSON.parse(Je,this.parseReviver)}catch(mn){if(Hr)throw mn.name==="SyntaxError"?dr.from(mn,dr.ERR_BAD_RESPONSE,this,null,this.response):mn}}return Je}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ut.classes.FormData,Blob:ut.classes.Blob},validateStatus:function(Je){return Je>=200&&Je<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};er.forEach(["delete","get","head","post","put","patch"],$e=>{qr.headers[$e]={}});var Vr=qr;const Or=er.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Pn=$e=>{const Je={};let Ct,Ot,Wt;return $e&&$e.split(` 736`).forEach(function(Hr){Wt=Hr.indexOf(":"),Ct=Hr.substring(0,Wt).trim().toLowerCase(),Ot=Hr.substring(Wt+1).trim(),!(!Ct||Je[Ct]&&Or[Ct])&&(Ct==="set-cookie"?Je[Ct]?Je[Ct].push(Ot):Je[Ct]=[Ot]:Je[Ct]=Je[Ct]?Je[Ct]+", "+Ot:Ot)}
vendor: 8,540 bytes, lines 736-737
736),Je};const zr=Symbol("internals");function Hn($e){return $e&&String($e).trim().toLowerCase()}function fi($e){return $e===!1||$e==null?$e:er.isArray($e)?$e.map(fi):String($e)}function Ti($e){const Je=Object.create(null),Ct=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let Ot;for(;Ot=Ct.exec($e);)Je[Ot[1]]=Ot[2];return Je}const ss=$e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($e.trim());function xi($e,Je,Ct,Ot,Wt){if(er.isFunction(Ot))return Ot.call(this,Je,Ct);if(Wt&&(Je=Ct),!!er.isString(Je)){if(er.isString(Ot))return Je.indexOf(Ot)!==-1;if(er.isRegExp(Ot))return Ot.test(Je)}}function ms($e){return $e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Je,Ct,Ot)=>Ct.toUpperCase()+Ot)}function wi($e,Je){const Ct=er.toCamelCase(" "+Je);["get","set","has"].forEach(Ot=>{Object.defineProperty($e,Ot+Ct,{value:function(Wt,Er,Hr){return this[Ot].call(this,Je,Wt,Er,Hr)},configurable:!0})})}class Ls{constructor(Je){Je&&this.set(Je)}set(Je,Ct,Ot){const Wt=this;function Er(mn,di,si){const Pe=Hn(di);if(!Pe)throw new Error("header name must be a non-empty string");const He=er.findKey(Wt,Pe);(!He||Wt[He]===void 0||si===!0||si===void 0&&Wt[He]!==!1)&&(Wt[He||di]=fi(mn))}const Hr=(mn,di)=>er.forEach(mn,(si,Pe)=>Er(si,Pe,di));if(er.isPlainObject(Je)||Je instanceof this.constructor)Hr(Je,Ct);else if(er.isString(Je)&&(Je=Je.trim())&&!ss(Je))Hr(Pn(Je),Ct);else if(er.isObject(Je)&&er.isIterable(Je)){let mn={},di,si;for(const Pe of Je){if(!er.isArray(Pe))throw TypeError("Object iterator must return a key-value pair");mn[si=Pe[0]]=(di=mn[si])?er.isArray(di)?[...di,Pe[1]]:[di,Pe[1]]:Pe[1]}Hr(mn,Ct)}else Je!=null&&Er(Ct,Je,Ot);return this}get(Je,Ct){if(Je=Hn(Je),Je){const Ot=er.findKey(this,Je);if(Ot){const Wt=this[Ot];if(!Ct)return Wt;if(Ct===!0)return Ti(Wt);if(er.isFunction(Ct))return Ct.call(this,Wt,Ot);if(er.isRegExp(Ct))return Ct.exec(Wt);throw new TypeError("parser must be boolean|regexp|function")}}}has(Je,Ct){if(Je=Hn(Je),Je){const Ot=er.findKey(this,Je);return!!(Ot&&this[Ot]!==void 0&&(!Ct||xi(this,this[Ot],Ot,Ct)))}return!1}delete(Je,Ct){const Ot=this;let Wt=!1;function Er(Hr){if(Hr=Hn(Hr),Hr){const mn=er.findKey(Ot,Hr);mn&&(!Ct||xi(Ot,Ot[mn],mn,Ct))&&(delete Ot[mn],Wt=!0)}}return er.isArray(Je)?Je.forEach(Er):Er(Je),Wt}clear(Je){const Ct=Object.keys(this);let Ot=Ct.length,Wt=!1;for(;Ot--;){const Er=Ct[Ot];(!Je||xi(this,this[Er],Er,Je,!0))&&(delete this[Er],Wt=!0)}return Wt}normalize(Je){const Ct=this,Ot={};return er.forEach(this,(Wt,Er)=>{const Hr=er.findKey(Ot,Er);if(Hr){Ct[Hr]=fi(Wt),delete Ct[Er];return}const mn=Je?ms(Er):String(Er).trim();mn!==Er&&delete Ct[Er],Ct[mn]=fi(Wt),Ot[mn]=!0}),this}concat(...Je){return this.constructor.concat(this,...Je)}toJSON(Je){const Ct=Object.create(null);return er.forEach(this,(Ot,Wt)=>{Ot!=null&&Ot!==!1&&(Ct[Wt]=Je&&er.isArray(Ot)?Ot.join(", "):Ot)}),Ct}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([Je,Ct])=>Je+": "+Ct).join(` 737`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(Je){return Je instanceof this?Je:new this(Je)}static concat(Je,...Ct){const Ot=new this(Je);return Ct.forEach(Wt=>Ot.set(Wt)),Ot}static accessor(Je){const Ot=(this[zr]=this[zr]={accessors:{}}).accessors,Wt=this.prototype;function Er(Hr){const mn=Hn(Hr);Ot[mn]||(wi(Wt,Hr),Ot[mn]=!0)}return er.isArray(Je)?Je.forEach(Er):Er(Je),this}}Ls.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),er.reduceDescriptors(Ls.prototype,({value:$e},Je)=>{let Ct=Je[0].toUpperCase()+Je.slice(1);return{get:()=>$e,set(Ot){this[Ct]=Ot}}}),er.freezeMethods(Ls);var as=Ls;function rs($e,Je){const Ct=this||Vr,Ot=Je||Ct,Wt=as.from(Ot.headers);let Er=Ot.data;return er.forEach($e,function(mn){Er=mn.call(Ct,Er,Wt.normalize(),Je?Je.status:void 0)}),Wt.normalize(),Er}function xa($e){return!!($e&&$e.__CANCEL__)}class ka extends dr{constructor(Je,Ct,Ot){super(Je??"canceled",dr.ERR_CANCELED,Ct,Ot),this.name="CanceledError",this.__CANCEL__=!0}}var Is=ka;function Ms($e,Je,Ct){const Ot=Ct.config.validateStatus;!Ct.status||!Ot||Ot(Ct.status)?$e(Ct):Je(new dr("Request failed with status code "+Ct.status,[dr.ERR_BAD_REQUEST,dr.ERR_BAD_RESPONSE][Math.floor(Ct.status/100)-4],Ct.config,Ct.request,Ct))}function Gs($e){const Je=/^([-+\w]{1,25})(:?\/\/|:)/.exec($e);return Je&&Je[1]||""}function ks($e,Je){$e=$e||10;const Ct=new Array($e),Ot=new Array($e);let Wt=0,Er=0,Hr;return Je=Je!==void 0?Je:1e3,function(di){const si=Date.now(),Pe=Ot[Er];Hr||(Hr=si),Ct[Wt]=di,Ot[Wt]=si;let He=Er,ft=0;for(;He!==Wt;)ft+=Ct[He++],He=He%$e;if(Wt=(Wt+1)%$e,Wt===Er&&(Er=(Er+1)%$e),si-Hr<Je)return;const Le=Pe&&si-Pe;return Le?Math.round(ft*1e3/Le):void 0}}function ha($e,Je){let Ct=0,Ot=1e3/Je,Wt,Er;const Hr=(si,Pe=Date.now())=>{Ct=Pe,Wt=null,Er&&(clearTimeout(Er),Er=null),$e(...si)};return[(...si)=>{const Pe=Date.now(),He=Pe-Ct;He>=Ot?Hr(si,Pe):(Wt=si,Er||(Er=setTimeout(()=>{Er=null,Hr(Wt)},Ot-He)))},()=>Wt&&Hr(Wt)]}const Ys=($e,Je,Ct=3)=>{let Ot=0;const Wt=ks(50,250);return ha(Er=>{const Hr=Er.loaded,mn=Er.lengthComputable?Er.total:void 0,di=Hr-Ot,si=Wt(di),Pe=Hr<=mn;Ot=Hr;const He={loaded:Hr,total:mn,progress:mn?Hr/mn:void 0,bytes:di,rate:si||void 0,estimated:si&&mn&&Pe?(mn-Hr)/si:void 0,event:Er,lengthComputable:mn!=null,[Je?"download":"upload"]:!0};$e(He)},Ct)},Ea=($e,Je)=>{const Ct=$e!=null;return[Ot=>Je[0]({lengthComputable:Ct,total:$e,loaded:Ot}),Je[1]]},ia=$e=>(...Je)=>er.asap(()=>$e(...Je));var us=ut.hasStandardBrowserEnv?(($e,Je)=>Ct=>(Ct=new URL(Ct,ut.origin),$e.protocol===Ct.protocol&&$e.host===Ct.host&&(Je||$e.port===Ct.port)))(new URL(ut.origin),ut.navigator&&/(msie|trident)/i.test(ut.navigator.userAgent)):()=>!0,eo=ut.hasStandardBrowserEnv?{write($e,Je,Ct,Ot,Wt,Er,Hr){if(typeof document>"u")return;const mn=[`${$e}=${encodeURIComponent(Je)}`];er.isNumber(Ct)&&mn.push(`expires=${new Date(Ct).toUTCString()}`),er.isString(Ot)&&mn.push(`path=${Ot}`),er.isString(Wt)&&mn.push(`domain=${Wt}`),Er===!0&&mn.push("secure"),er.isString(Hr)&&mn.push(`SameSite=${Hr}`),document.cookie=mn.join("; ")},read($e){if(typeof document>"u")return null;const Je=document.cookie.match(new RegExp("(?:^|; )"+$e+"=([^;]*)"));return Je?decodeURIComponent(Je[1]):null},remove($e){this.write($e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function wa($e){return typeof $e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test($e)}function da($e,Je){return Je?$e.replace(/\/?\/$/,"")+"/"+Je.replace(/^\/+/,""):$e}function js($e,Je,Ct){let Ot=!wa(Je);return $e&&(Ot||Ct==!1)?da($e,Je):Je}const ce=$e=>$e instanceof as?{...$e}:$e;function ze($e,Je){Je=Je||{};const Ct={};function Ot(si,Pe,He,ft){return er.isPlainObject(si)&&er.isPlainObject(Pe)?er.merge.call({caseless:ft},si,Pe):er.isPlainObject(Pe)?er.merge({},Pe):er.isArray(Pe)?Pe.slice():Pe}function Wt(si,Pe,He,ft){if(er.isUndefined(Pe)){if(!er.isUndefined(si))return Ot(void 0,si,He,ft)}else return Ot(si,Pe,He,ft)}function Er(si,Pe){if(!er.isUndefined(Pe))return Ot(void 0,Pe)}function Hr(si,Pe){if(er.isUndefined(Pe)){if(!er.isUndefined(si))return Ot(void 0,si)}else return Ot(void 0,Pe)}function mn(si,Pe,He){if(He in Je)return Ot(si,Pe);if(He in $e)return Ot(void 0,si)}const di={url:Er,method:Er,data:Er,baseURL:Hr,transformRequest:Hr,transformResponse:Hr,paramsSerializer:Hr,timeout:Hr,timeoutMessage:Hr,withCredentials:Hr,withXSRFToken:Hr,adapter:Hr,responseType:Hr,xsrfCookieName:Hr,xsrfHeaderName:Hr,onUploadProgress:Hr,onDownloadProgress:Hr,decompress:Hr,maxContentLength:Hr,maxBodyLength:Hr,beforeRedirect:Hr,transport:Hr,httpAgent:Hr,httpsAgent:Hr,cancelToken:Hr,socketPath:Hr,responseEncoding:Hr,validateStatus:mn,headers:(si,Pe,He)=>Wt(ce(si),ce(Pe),He,!0)};return er.forEach(Object.keys({...$e,...Je}),function(Pe){if(Pe==="__proto__"||Pe==="constructor"||Pe==="prototype")return;const He=er.hasOwnProp(di,Pe)?di[Pe]:Wt,ft=He($e[Pe],Je[Pe],Pe);er.isUndefined(ft)&&He!==mn||(Ct[Pe]=ft)}),Ct}var Nt=$e=>{const Je=ze({},$e);let{data:Ct,withXSRFToken:Ot,xsrfHeaderName:Wt,xsrfCookieName:Er,headers:Hr,auth:mn}=Je;if(Je.headers=Hr=as.from(Hr),Je.url=tn(js(Je.baseURL,Je.url,Je.allowAbsoluteUrls),$e.params,$e.paramsSerializer),mn&&Hr.set("Authorization","Basic "+btoa((mn.username||"")+":"+(mn.password?unescape(encodeURIComponent(mn.password)):""))),er.isFormData(Ct)){if(ut.hasStandardBrowserEnv||ut.hasStandardBrowserWebWorkerEnv)Hr.setContentType(void 0);else if(er.isFunction(Ct.getHeaders)){const di=Ct.getHeaders(),si=["content-type","content-length"];
vendor: 4,400 bytes, line 737
737Object.entries(di).forEach(([Pe,He])=>{si.includes(Pe.toLowerCase())&&Hr.set(Pe,He)})}}if(ut.hasStandardBrowserEnv&&(Ot&&er.isFunction(Ot)&&(Ot=Ot(Je)),Ot||Ot!==!1&&us(Je.url))){const di=Wt&&Er&&eo.read(Er);di&&Hr.set(Wt,di)}return Je},pn=typeof XMLHttpRequest<"u"&&function($e){return new Promise(function(Ct,Ot){const Wt=Nt($e);let Er=Wt.data;const Hr=as.from(Wt.headers).normalize();let{responseType:mn,onUploadProgress:di,onDownloadProgress:si}=Wt,Pe,He,ft,Le,De;function lt(){Le&&Le(),De&&De(),Wt.cancelToken&&Wt.cancelToken.unsubscribe(Pe),Wt.signal&&Wt.signal.removeEventListener("abort",Pe)}let gt=new XMLHttpRequest;gt.open(Wt.method.toUpperCase(),Wt.url,!0),gt.timeout=Wt.timeout;function Zt(){if(!gt)return;const dn=as.from("getAllResponseHeaders"in gt&>.getAllResponseHeaders()),$n={data:!mn||mn==="text"||mn==="json"?gt.responseText:gt.response,status:gt.status,statusText:gt.statusText,headers:dn,config:$e,request:gt};Ms(function(hs){Ct(hs),lt()},function(hs){Ot(hs),lt()},$n),gt=null}"onloadend"in gt?gt.onloadend=Zt:gt.onreadystatechange=function(){!gt||gt.readyState!==4||gt.status===0&&!(gt.responseURL&>.responseURL.indexOf("file:")===0)||setTimeout(Zt)},gt.onabort=function(){gt&&(Ot(new dr("Request aborted",dr.ECONNABORTED,$e,gt)),gt=null)},gt.onerror=function(vn){const $n=vn&&vn.message?vn.message:"Network Error",Ui=new dr($n,dr.ERR_NETWORK,$e,gt);Ui.event=vn||null,Ot(Ui),gt=null},gt.ontimeout=function(){let vn=Wt.timeout?"timeout of "+Wt.timeout+"ms exceeded":"timeout exceeded";const $n=Wt.transitional||Yi;Wt.timeoutErrorMessage&&(vn=Wt.timeoutErrorMessage),Ot(new dr(vn,$n.clarifyTimeoutError?dr.ETIMEDOUT:dr.ECONNABORTED,$e,gt)),gt=null},Er===void 0&&Hr.setContentType(null),"setRequestHeader"in gt&&er.forEach(Hr.toJSON(),function(vn,$n){gt.setRequestHeader($n,vn)}),er.isUndefined(Wt.withCredentials)||(gt.withCredentials=!!Wt.withCredentials),mn&&mn!=="json"&&(gt.responseType=Wt.responseType),si&&([ft,De]=Ys(si,!0),gt.addEventListener("progress",ft)),di&>.upload&&([He,Le]=Ys(di),gt.upload.addEventListener("progress",He),gt.upload.addEventListener("loadend",Le)),(Wt.cancelToken||Wt.signal)&&(Pe=dn=>{gt&&(Ot(!dn||dn.type?new Is(null,$e,gt):dn),gt.abort(),gt=null)},Wt.cancelToken&&Wt.cancelToken.subscribe(Pe),Wt.signal&&(Wt.signal.aborted?Pe():Wt.signal.addEventListener("abort",Pe)));const xn=Gs(Wt.url);if(xn&&ut.protocols.indexOf(xn)===-1){Ot(new dr("Unsupported protocol "+xn+":",dr.ERR_BAD_REQUEST,$e));return}gt.send(Er||null)})},Wi=($e,Je)=>{const{length:Ct}=$e=$e?$e.filter(Boolean):[];if(Je||Ct){let Ot=new AbortController,Wt;const Er=function(si){if(!Wt){Wt=!0,mn();const Pe=si instanceof Error?si:this.reason;Ot.abort(Pe instanceof dr?Pe:new Is(Pe instanceof Error?Pe.message:Pe))}};let Hr=Je&&setTimeout(()=>{Hr=null,Er(new dr(`timeout of ${Je}ms exceeded`,dr.ETIMEDOUT))},Je);const mn=()=>{$e&&(Hr&&clearTimeout(Hr),Hr=null,$e.forEach(si=>{si.unsubscribe?si.unsubscribe(Er):si.removeEventListener("abort",Er)}),$e=null)};$e.forEach(si=>si.addEventListener("abort",Er));const{signal:di}=Ot;return di.unsubscribe=()=>er.asap(mn),di}};const qi=function*($e,Je){let Ct=$e.byteLength;if(!Je||Ct<Je){yield $e;return}let Ot=0,Wt;for(;Ot<Ct;)Wt=Ot+Je,yield $e.slice(Ot,Wt),Ot=Wt},Li=async function*($e,Je){for await(const Ct of Mi($e))yield*qi(Ct,Je)},Mi=async function*($e){if($e[Symbol.asyncIterator]){yield*$e;return}const Je=$e.getReader();try{for(;;){const{done:Ct,value:Ot}=await Je.read();if(Ct)break;yield Ot}}finally{await Je.cancel()}},_a=($e,Je,Ct,Ot)=>{const Wt=Li($e,Je);let Er=0,Hr,mn=di=>{Hr||(Hr=!0,Ot&&Ot(di))};return new ReadableStream({async pull(di){try{const{done:si,value:Pe}=await Wt.next();if(si){mn(),di.close();return}let He=Pe.byteLength;if(Ct){let ft=Er+=He;Ct(ft)}di.enqueue(new Uint8Array(Pe))}catch(si){throw mn(si),si}},cancel(di){return mn(di),Wt.return()}},{highWaterMark:2})},io=64*1024,{isFunction:za}=er,so=(({Request:$e,Response:Je})=>({Request:$e,Response:Je}))(er.global),{ReadableStream:ys,TextEncoder:Cr}=er.global,$a=($e,...Je)=>{try{return!!$e(...Je)}catch{return!1}},ln=$e=>{$e=er.merge.call({skipUndefined:!0},so,$e);const{fetch:Je,Request:Ct,Response:Ot}=$e,Wt=Je?za(Je):typeof fetch=="function",Er=za(Ct),Hr=za(Ot);if(!Wt)return!1;const mn=Wt&&za(ys),di=Wt&&(typeof Cr=="function"?(De=>lt=>De.encode(lt))(new Cr):async De=>new Uint8Array(await new Ct(De).arrayBuffer())),si=Er&&mn&&$a(()=>{let De=!1;
vendor: 5,035 bytes, lines 737-739
737const lt=new Ct(ut.origin,{body:new ys,method:"POST",get duplex(){return De=!0,"half"}}).headers.has("Content-Type");return De&&!lt}),Pe=Hr&&mn&&$a(()=>er.isReadableStream(new Ot("").body)),He={stream:Pe&&(De=>De.body)};Wt&&["text","arrayBuffer","blob","formData","stream"].forEach(De=>{!He[De]&&(He[De]=(lt,gt)=>{let Zt=lt&<[De];if(Zt)return Zt.call(lt);throw new dr(`Response type '${De}' is not supported`,dr.ERR_NOT_SUPPORT,gt)})});const ft=async De=>{if(De==null)return 0;if(er.isBlob(De))return De.size;if(er.isSpecCompliantForm(De))return(await new Ct(ut.origin,{method:"POST",body:De}).arrayBuffer()).byteLength;if(er.isArrayBufferView(De)||er.isArrayBuffer(De))return De.byteLength;if(er.isURLSearchParams(De)&&(De=De+""),er.isString(De))return(await di(De)).byteLength},Le=async(De,lt)=>{const gt=er.toFiniteNumber(De.getContentLength());return gt??ft(lt)};return async De=>{let{url:lt,method:gt,data:Zt,signal:xn,cancelToken:dn,timeout:vn,onDownloadProgress:$n,onUploadProgress:Ui,responseType:hs,headers:Qn,withCredentials:ki="same-origin",fetchOptions:Oi}=Nt(De),Ei=Je||fetch;hs=hs?(hs+"").toLowerCase():"text";let ma=Wi([xn,dn&&dn.toAbortSignal()],vn),Fs=null;const Ha=ma&&ma.unsubscribe&&(()=>{ma.unsubscribe()});let Cs;try{if(Ui&&si&>!=="get"&>!=="head"&&(Cs=await Le(Qn,Zt))!==0){let $s=new Ct(lt,{method:"POST",body:Zt,duplex:"half"}),ra;if(er.isFormData(Zt)&&(ra=$s.headers.get("content-type"))&&Qn.setContentType(ra),$s.body){const[bs,Ia]=Ea(Cs,Ys(ia(Ui)));Zt=_a($s.body,io,bs,Ia)}}er.isString(ki)||(ki=ki?"include":"omit");const qs=Er&&"credentials"in Ct.prototype,Wa={...Oi,signal:ma,method:gt.toUpperCase(),headers:Qn.normalize().toJSON(),body:Zt,duplex:"half",credentials:qs?ki:void 0};Fs=Er&&new Ct(lt,Wa);let Oa=await(Er?Ei(Fs,Oi):Ei(lt,Wa));const Na=Pe&&(hs==="stream"||hs==="response");if(Pe&&($n||Na&&Ha)){const $s={};["status","statusText","headers"].forEach(Eu=>{$s[Eu]=Oa[Eu]});const ra=er.toFiniteNumber(Oa.headers.get("content-length")),[bs,Ia]=$n&&Ea(ra,Ys(ia($n),!0))||[];Oa=new Ot(_a(Oa.body,io,bs,()=>{Ia&&Ia(),Ha&&Ha()}),$s)}hs=hs||"text";let Qo=await He[er.findKey(He,hs)||"text"](Oa,De);return!Na&&Ha&&Ha(),await new Promise(($s,ra)=>{Ms($s,ra,{data:Qo,headers:as.from(Oa.headers),status:Oa.status,statusText:Oa.statusText,config:De,request:Fs})})}catch(qs){throw Ha&&Ha(),qs&&qs.name==="TypeError"&&/Load failed|fetch/i.test(qs.message)?Object.assign(new dr("Network Error",dr.ERR_NETWORK,De,Fs,qs&&qs.response),{cause:qs.cause||qs}):dr.from(qs,qs&&qs.code,De,Fs,qs&&qs.response)}}},va=new Map,Da=$e=>{let Je=$e&&$e.env||{};const{fetch:Ct,Request:Ot,Response:Wt}=Je,Er=[Ot,Wt,Ct];let Hr=Er.length,mn=Hr,di,si,Pe=va;for(;mn--;)di=Er[mn],si=Pe.get(di),si===void 0&&Pe.set(di,si=mn?new Map:ln(Je)),Pe=si;return si};Da();const zs={http:Y,xhr:pn,fetch:{get:Da}};er.forEach(zs,($e,Je)=>{if($e){try{Object.defineProperty($e,"name",{value:Je})}catch{}Object.defineProperty($e,"adapterName",{value:Je})}});const Ks=$e=>`- ${$e}`,Aa=$e=>er.isFunction($e)||$e===null||$e===!1;function pa($e,Je){$e=er.isArray($e)?$e:[$e];const{length:Ct}=$e;let Ot,Wt;const Er={};for(let Hr=0;Hr<Ct;Hr++){Ot=$e[Hr];let mn;if(Wt=Ot,!Aa(Ot)&&(Wt=zs[(mn=String(Ot)).toLowerCase()],Wt===void 0))throw new dr(`Unknown adapter '${mn}'`);if(Wt&&(er.isFunction(Wt)||(Wt=Wt.get(Je))))break;Er[mn||"#"+Hr]=Wt}if(!Wt){const Hr=Object.entries(Er).map(([di,si])=>`adapter ${di} `+(si===!1?"is not supported by the environment":"is not available in the build"));let mn=Ct?Hr.length>1?`since : 738`+Hr.map(Ks).join(` 739`):" "+Ks(Hr[0]):"as no adapter specified";throw new dr("There is no suitable adapter to dispatch the request "+mn,"ERR_NOT_SUPPORT")}return Wt}var Pt={getAdapter:pa,adapters:zs};function $t($e){if($e.cancelToken&&$e.cancelToken.throwIfRequested(),$e.signal&&$e.signal.aborted)throw new Is(null,$e)}function xr($e){return $t($e),$e.headers=as.from($e.headers),$e.data=rs.call($e,$e.transformRequest),["post","put","patch"].indexOf($e.method)!==-1&&$e.headers.setContentType("application/x-www-form-urlencoded",!1),Pt.getAdapter($e.adapter||Vr.adapter,$e)($e).then(function(Ot){return $t($e),Ot.data=rs.call($e,$e.transformResponse,Ot),Ot.headers=as.from(Ot.headers),Ot},function(Ot){return xa(Ot)||($t($e),Ot&&Ot.response&&(Ot.response.data=rs.call($e,$e.transformResponse,Ot.response),Ot.response.headers=as.from(Ot.response.headers))),Promise.reject(Ot)})}const $r="1.13.6",bn={};["object","boolean","number","function","string","symbol"].forEach(($e,Je)=>{bn[$e]=function(Ot){return typeof Ot===$e||"a"+(Je<1?"n ":" ")+$e}});const Yr={};bn.transitional=function(Je,Ct,Ot){function Wt(Er,Hr){return"[Axios v"+$r+"] Transitional option '"+Er+"'"+Hr+(Ot?". "+Ot:"")}return(Er,Hr,mn)=>{if(Je===!1)throw new dr(Wt(Hr," has been removed"+(Ct?" in "+Ct:"")),dr.ERR_DEPRECATED);return Ct&&!Yr[Hr]&&(Yr[Hr]=!0,console.warn(Wt(Hr," has been deprecated since v"+Ct+" and will be removed in the near future"))),Je?Je(Er,Hr,mn):!0}},bn.spelling=function(Je){return(Ct,Ot)=>(console.warn(`${Ot} is likely a misspelling of ${Je}
739`),!0)};function ge($e,Je,Ct){if(typeof $e!="object")throw new dr("options must be an object",dr.ERR_BAD_OPTION_VALUE);const Ot=Object.keys($e);let Wt=Ot.length;for(;Wt-- >0;){const Er=Ot[Wt],Hr=Je[Er];if(Hr){const mn=$e[Er],di=mn===void 0||Hr(mn,Er,$e);if(di!==!0)throw new dr("option "+Er+" must be "+di,dr.ERR_BAD_OPTION_VALUE);continue}if(Ct!==!0)throw new dr("Unknown option "+Er,dr.ERR_BAD_OPTION)}}var je={assertOptions:ge,validators:bn};const bt=je.validators;class yt{constructor(Je){this.defaults=Je||{},this.interceptors={request:new Ji,response:new Ji}}async request(Je,Ct){try{return await this._request(Je,Ct)}catch(Ot){if(Ot instanceof Error){let Wt={};Error.captureStackTrace?Error.captureStackTrace(Wt):Wt=new Error;const Er=Wt.stack?Wt.stack.replace(/^.+\n/,""):"";try{Ot.stack?Er&&!String(Ot.stack).endsWith(Er.replace(/^.+\n.+\n/,""))&&(Ot.stack+=` 740`+Er):Ot.stack=Er}catch{}}throw Ot}}_request(Je,Ct){typeof Je=="string"?(Ct=Ct||{},Ct.url=Je):Ct=Je||{},Ct=ze(this.defaults,Ct);const{transitional:Ot,paramsSerializer:Wt,headers:Er}=Ct;Ot!==void 0&&je.assertOptions(Ot,{silentJSONParsing:bt.transitional(bt.boolean),forcedJSONParsing:bt.transitional(bt.boolean),clarifyTimeoutError:bt.transitional(bt.boolean),legacyInterceptorReqResOrdering:bt.transitional(bt.boolean)},!1),Wt!=null&&(er.isFunction(Wt)?Ct.paramsSerializer={serialize:Wt}:je.assertOptions(Wt,{encode:bt.function,serialize:bt.function},!0)),Ct.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?Ct.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:Ct.allowAbsoluteUrls=!0),je.assertOptions(Ct,{baseUrl:bt.spelling("baseURL"),withXsrfToken:bt.spelling("withXSRFToken")},!0),Ct.method=(Ct.method||this.defaults.method||"get").toLowerCase();let Hr=Er&&er.merge(Er.common,Er[Ct.method]);Er&&er.forEach(["delete","get","head","post","put","patch","common"],De=>{delete Er[De]}),Ct.headers=as.concat(Hr,Er);const mn=[];let di=!0;this.interceptors.request.forEach(function(lt){if(typeof lt.runWhen=="function"&<.runWhen(Ct)===!1)return;di=di&<.synchronous;const gt=Ct.transitional||Yi;gt&>.legacyInterceptorReqResOrdering?mn.unshift(lt.fulfilled,lt.rejected):mn.push(lt.fulfilled,lt.rejected)});const si=[];this.interceptors.response.forEach(function(lt){si.push(lt.fulfilled,lt.rejected)});let Pe,He=0,ft;if(!di){const De=[xr.bind(this),void 0];for(De.unshift(...mn),De.push(...si),ft=De.length,Pe=Promise.resolve(Ct);He<ft;)Pe=Pe.then(De[He++],De[He++]);return Pe}ft=mn.length;let Le=Ct;for(;He<ft;){const De=mn[He++],lt=mn[He++];try{Le=De(Le)}catch(gt){lt.call(this,gt);break}}try{Pe=xr.call(this,Le)}catch(De){return Promise.reject(De)}for(He=0,ft=si.length;He<ft;)Pe=Pe.then(si[He++],si[He++]);return Pe}getUri(Je){Je=ze(this.defaults,Je);const Ct=js(Je.baseURL,Je.url,Je.allowAbsoluteUrls);return tn(Ct,Je.params,Je.paramsSerializer)}}er.forEach(["delete","get","head","options"],function(Je){yt.prototype[Je]=function(Ct,Ot){return this.request(ze(Ot||{},{method:Je,url:Ct,data:(Ot||{}).data}))}}),er.forEach(["post","put","patch"],function(Je){function Ct(Ot){return function(Er,Hr,mn){return this.request(ze(mn||{},{method:Je,headers:Ot?{"Content-Type":"multipart/form-data"}:{},url:Er,data:Hr}))}}yt.prototype[Je]=Ct(),yt.prototype[Je+"Form"]=Ct(!0)});var sr=yt;class pr{constructor(Je){if(typeof Je!="function")throw new TypeError("executor must be a function.");let Ct;this.promise=new Promise(function(Er){Ct=Er});const Ot=this;this.promise.then(Wt=>{if(!Ot._listeners)return;let Er=Ot._listeners.length;for(;Er-- >0;)Ot._listeners[Er](Wt);Ot._listeners=null}),this.promise.then=Wt=>{let Er;const Hr=new Promise(mn=>{Ot.subscribe(mn),Er=mn}).then(Wt);return Hr.cancel=function(){Ot.unsubscribe(Er)},Hr},Je(function(Er,Hr,mn){Ot.reason||(Ot.reason=new Is(Er,Hr,mn),Ct(Ot.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(Je){if(this.reason){Je(this.reason);return}this._listeners?this._listeners.push(Je):this._listeners=[Je]}unsubscribe(Je){if(!this._listeners)return;const Ct=this._listeners.indexOf(Je);
740Ct!==-1&&this._listeners.splice(Ct,1)}toAbortSignal(){const Je=new AbortController,Ct=Ot=>{Je.abort(Ot)};return this.subscribe(Ct),Je.signal.unsubscribe=()=>this.unsubscribe(Ct),Je.signal}static source(){let Je;return{token:new pr(function(Wt){Je=Wt}),cancel:Je}}}var hr=pr;function Xn($e){return function(Ct){return $e.apply(null,Ct)}}function Un($e){return er.isObject($e)&&$e.isAxiosError===!0}const Fi={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Fi).forEach(([$e,Je])=>{Fi[Je]=$e});var ti=Fi;function Ai($e){const Je=new sr($e),Ct=d(sr.prototype.request,Je);return er.extend(Ct,sr.prototype,Je,{allOwnKeys:!0}),er.extend(Ct,Je,null,{allOwnKeys:!0}),Ct.create=function(Wt){return Ai(ze($e,Wt))},Ct}const qn=Ai(Vr);qn.Axios=sr,qn.CanceledError=Is,qn.CancelToken=hr,qn.isCancel=xa,qn.VERSION=$r,qn.toFormData=Cn,qn.AxiosError=dr,qn.Cancel=qn.CanceledError,qn.all=function(Je){return Promise.all(Je)},qn.spread=Xn,qn.isAxiosError=Un,qn.mergeConfig=ze,qn.AxiosHeaders=as,qn.formToJSON=$e=>hi(er.isHTMLForm($e)?new FormData($e):$e),qn.getAdapter=Pt.getAdapter,qn.HttpStatusCode=ti,qn.default=qn,f.exports=qn},59163(f){function d(){return f.exports=d=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},f.exports.__esModule=!0,f.exports.default=f.exports,d.apply(null,arguments)}f.exports=d,f.exports.__esModule=!0,f.exports.default=f.exports},16188(f,d,e){"use strict";var n=e(72171);f.exports=n},67406(f,d,e){"use strict";e(74207);var n=e(99963);f.exports=n},45151(f,d,e){"use strict";e(42986);var n=e(39366);f.exports=n},86347(f,d,e){"use strict";var n=e(57790);e(18306),f.exports=n},12140(f,d,e){"use strict";var n=e(35497);e(67285),f.exports=n},57561(f,d,e){"use strict";var n=e(38074);e(78806),f.exports=n},57129(f,d,e){"use strict";var n=e(51638);e(99362),f.exports=n},92566(f,d,e){"use strict";var n=e(49417);f.exports=n},48607(f,d,e){"use strict";var n=e(35568);e(9016),f.exports=n},305(f,d,e){"use strict";var n=e(23118);e(7254),f.exports=n},66883(f,d,e){"use strict";var n=e(49864);e(41408),f.exports=n},83988(f,d,e){"use strict";var n=e(36595);e(84489),f.exports=n},78451(f,d,e){"use strict";var n=e(29096);e(12064),f.exports=n},88402(f,d,e){"use strict";var n=e(54225);e(5391),f.exports=n},50371(f,d,e){"use strict";var n=e(81252);e(23620),f.exports=n},31975(f,d,e){"use strict";var n=e(63094);e(14430),f.exports=n},94864(f,d,e){"use strict";var n=e(61443);f.exports=n},53766(f,d,e){"use strict";e(15048);var n=e(53006);f.exports=n("Array","at")},27540(f,d,e){"use strict";e(2138);var n=e(53006);f.exports=n("Array","findLastIndex")},76673(f,d,e){"use strict";e(24555);var n=e(53006);f.exports=n("Array","findLast")},3389(f,d,e){"use strict";e(41671);var n=e(53006);f.exports=n("Array","toReversed")},99914(f,d,e){"use strict";e(34633),e(50224);var n=e(53006);f.exports=n("Array","toSorted")},51455(f,d,e){"use strict";e(53901);var n=e(53006);f.exports=n("Array","toSpliced")},18335(f,d,e){"use strict";e(3693);var n=e(53006);f.exports=n("Array","with")},46216(f,d,e){"use strict";e(22704);var n=e(54678);f.exports=n.Object.hasOwn},20953(f,d,e){"use strict";
vendor: 9,099 bytes, line 740
740e(65171),e(40407);var n=e(80418),r=e(61890),a=e(54678),i=a.Promise,s=i.withResolvers;f.exports=function(){return n(s,r(this)?this:i)}},16675(f,d,e){"use strict";e(91038),e(86095);var n=e(53006);f.exports=n("Set","difference")},25849(f,d,e){"use strict";e(91038),e(58361);var n=e(53006);f.exports=n("Set","intersection")},19210(f,d,e){"use strict";e(91038),e(16628);var n=e(53006);f.exports=n("Set","isDisjointFrom")},6489(f,d,e){"use strict";e(91038),e(52361);var n=e(53006);f.exports=n("Set","isSubsetOf")},17656(f,d,e){"use strict";e(91038),e(73202);var n=e(53006);f.exports=n("Set","isSupersetOf")},9897(f,d,e){"use strict";e(91038),e(6009);var n=e(53006);f.exports=n("Set","symmetricDifference")},56469(f,d,e){"use strict";e(91038),e(81589);var n=e(53006);f.exports=n("Set","union")},52519(f,d,e){"use strict";var n=e(61890),r=e(23112),a=TypeError;f.exports=function(i){if(n(i))return i;throw new a(r(i)+" is not a function")}},53155(f,d,e){"use strict";var n=e(23524),r=e(23112),a=TypeError;f.exports=function(i){if(n(i))return i;throw new a(r(i)+" is not a constructor")}},39635(f,d,e){"use strict";var n=e(80058),r=String,a=TypeError;f.exports=function(i){if(n(i))return i;throw new a("Can't set "+r(i)+" as a prototype")}},32535(f,d,e){"use strict";var n=e(60849).has;f.exports=function(r){return n(r),r}},79428(f,d,e){"use strict";var n=e(15504),r=e(60179),a=e(16324).f,i=n("unscopables"),s=Array.prototype;s[i]===void 0&&a(s,i,{configurable:!0,value:r(null)}),f.exports=function(u){s[i][u]=!0}},60868(f,d,e){"use strict";var n=e(90384),r=TypeError;f.exports=function(a,i){if(n(i,a))return a;throw new r("Incorrect invocation")}},92728(f,d,e){"use strict";var n=e(2805),r=String,a=TypeError;f.exports=function(i){if(n(i))return i;throw new a(r(i)+" is not an object")}},12703(f,d,e){"use strict";var n=e(22132);f.exports=n(function(){if(typeof ArrayBuffer=="function"){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}})},11917(f,d,e){"use strict";var n=e(4743);f.exports=function(r,a,i){for(var s=0,u=arguments.length>2?i:n(a),l=new r(u);u>s;)l[s]=a[s++];return l}},25708(f,d,e){"use strict";var n=e(8022),r=e(8137),a=e(4743),i=function(s){return function(u,l,m){var g=n(u),h=a(g);if(h===0)return!s&&-1;var v=r(m,h),b;if(s&&l!==l){for(;h>v;)if(b=g[v++],b!==b)return!0}else for(;h>v;v++)if((s||v in g)&&g[v]===l)return s||v||0;return!s&&-1}};f.exports={includes:i(!0),indexOf:i(!1)}},91692(f,d,e){"use strict";var n=e(43599),r=e(12106),a=e(64266),i=e(4743),s=function(u){var l=u===1;return function(m,g,h){for(var v=a(m),b=r(v),T=i(b),E=n(g,h),w,C;T-- >0;)if(w=b[T],C=E(w,T,v),C)switch(u){case 0:return w;case 1:return T}return l?-1:void 0}};f.exports={findLast:s(0),findLastIndex:s(1)}},17951(f,d,e){"use strict";var n=e(22132);f.exports=function(r,a){var i=[][r];return!!i&&n(function(){i.call(null,a||function(){return 1},1)})}},21435(f,d,e){"use strict";var n=e(96411);f.exports=n([].slice)},59801(f,d,e){"use strict";var n=e(21435),r=Math.floor,a=function(i,s){var u=i.length;if(u<8)for(var l=1,m,g;l<u;){for(g=l,m=i[l];g&&s(i[g-1],m)>0;)i[g]=i[--g];g!==l++&&(i[g]=m)}else for(var h=r(u/2),v=a(n(i,0,h),s),b=a(n(i,h),s),T=v.length,E=b.length,w=0,C=0;w<T||C<E;)i[w+C]=w<T&&C<E?s(v[w],b[C])<=0?v[w++]:b[C++]:w<T?v[w++]:b[C++];return i};f.exports=a},76567(f,d,e){"use strict";var n=e(4743);f.exports=function(r,a){for(var i=n(r),s=new a(i),u=0;u<i;u++)s[u]=r[i-u-1];return s}},45181(f,d,e){"use strict";var n=e(4743),r=e(63890),a=RangeError;f.exports=function(i,s,u,l){var m=n(i),g=r(u),h=g<0?m+g:g;if(h>=m||h<0)throw new a("Incorrect index");for(var v=new s(m),b=0;b<m;b++)v[b]=b===h?l:i[b];return v}},18561(f,d,e){"use strict";var n=e(15504),r=n("iterator"),a=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){a=!0}};s[r]=function(){return this},Array.from(s,function(){throw 2})}catch{}f.exports=function(u,l){try{if(!l&&!a)return!1}catch{return!1}var m=!1;try{var g={};g[r]=function(){return{next:function(){return{done:m=!0}}}},u(g)}catch{}return m}},44263(f,d,e){"use strict";var n=e(96411),r=n({}.toString),a=n("".slice);f.exports=function(i){return a(r(i),8,-1)}},65188(f,d,e){"use strict";var n=e(27623),r=e(61890),a=e(44263),i=e(15504),s=i("toStringTag"),u=Object,l=a((function(){return arguments})())==="Arguments",m=function(g,h){try{return g[h]}catch{}};f.exports=n?a:function(g){var h,v,b;return g===void 0?"Undefined":g===null?"Null":typeof(v=m(h=u(g),s))=="string"?v:l?a(h):(b=a(h))==="Object"&&r(h.callee)?"Arguments":b}},7201(f,d,e){"use strict";var n=e(60179),r=e(50875),a=e(76378),i=e(43599),s=e(60868),u=e(11144),l=e(2351),m=e(70447),g=e(39958),h=e(62454),v=e(59743),b=e(83188).fastKey,T=e(52460),E=T.set,w=T.getterFor;f.exports={getConstructor:function(C,O,U,D){var F=C(function(q,J){s(q,j),E(q,{type:O,index:n(null),first:null,last:null,size:0}),v||(q.size=0),u(J)||l(J,q[D],{that:q,AS_ENTRIES:U})}),j=F.prototype,M=w(O),W=function(q,J,re){var he=M(q),fe=V(q,J),ae,ye;return fe?fe.value=re:(he.last=fe={index:ye=b(J,!0),key:J,value:re,previous:ae=he.last,next:null,removed:!1},he.first||(he.first=fe),ae&&(ae.next=fe),v?he.size++:q.size++,ye!=="F"&&(he.index[ye]=fe)),q},V=function(q,J){var re=M(q),he=b(J),fe;if(he!=="F")return re.index[he];for(fe=re.first;fe;fe=fe.next)if(fe.key===J)return fe};return a(j,{clear:function(){for(var J=this,re=M(J),he=re.first;he;)he.removed=!0,he.previous&&(he.previous=he.previous.next=null),he=he.next;re.first=re.last=null,re.index=n(null),v?re.size=0:J.size=0},delete:function(q){var J=this,re=M(J),he=V(J,q);if(he){var fe=he.next,ae=he.previous;delete re.index[he.index],he.removed=!0,ae&&(ae.next=fe),fe&&(fe.previous=ae),re.first===he&&(re.first=fe),re.last===he&&(re.last=ae),v?re.size--:J.size--}return!!he},forEach:function(J){for(var re=M(this),he=i(J,arguments.length>1?arguments[1]:void 0),fe;fe=fe?fe.next:re.first;)for(he(fe.value,fe.key,this);fe&&fe.removed;)fe=fe.previous},has:function(J){return!!V(this,J)}}),a(j,U?{get:function(J){var re=V(this,J);return re&&re.value},set:function(J,re){return W(this,J===0?0:J,re)}}:{add:function(J){return W(this,J=J===0?0:J,J)}}),v&&r(j,"size",{configurable:!0,get:function(){return M(this).size}}),F},setStrong:function(C,O,U){var D=O+" Iterator",F=w(O),j=w(D);m(C,O,function(M,W){E(this,{type:D,target:M,state:F(M),kind:W,last:null})},function(){for(var M=j(this),W=M.kind,V=M.last;V&&V.removed;)V=V.previous;return!M.target||!(M.last=V=V?V.next:M.state.first)?(M.target=null,g(void 0,!0)):g(W==="keys"?V.key:W==="values"?V.value:[V.key,V.value],!1)},U?"entries":"values",!U,!0),h(O)}}},35825(f,d,e){"use strict";var n=e(8971),r=e(72135),a=e(96411),i=e(81567),s=e(41055),u=e(83188),l=e(2351),m=e(60868),g=e(61890),h=e(11144),v=e(2805),b=e(22132),T=e(18561),E=e(91264),w=e(98892);f.exports=function(C,O,U){var D=C.indexOf("Map")!==-1,F=C.indexOf("Weak")!==-1,j=D?"set":"add",M=r[C],W=M&&M.prototype,V=M,q={},J=function(Ue){var We=a(W[Ue]);s(W,Ue,Ue==="add"?function(xe){return We(this,xe===0?0:xe),this}:Ue==="delete"?function(de){return F&&!v(de)?!1:We(this,de===0?0:de)}:Ue==="get"?function(xe){return F&&!v(xe)?void 0:We(this,xe===0?0:xe)}:Ue==="has"?function(xe){return F&&!v(xe)?!1:We(this,xe===0?0:xe)}:function(xe,Fe){return We(this,xe===0?0:xe,Fe),this})},re=i(C,!g(M)||!(F||W.forEach&&!b(function(){new M().entries().next()})));if(re)V=U.getConstructor(O,C,D,j),u.enable();else if(i(C,!0)){var he=new V,fe=he[j](F?{}:-0,1)!==he,ae=b(function(){he.has(1)}),ye=T(function(Ue){new M(Ue)}),ve=!F&&b(function(){for(var Ue=new M,We=5;We--;)Ue[j](We,We);return!Ue.has(-0)});ye||(V=O(function(Ue,We){m(Ue,W);var de=w(new M,Ue,V);return h(We)||l(We,de[j],{that:de,AS_ENTRIES:D}),de}),V.prototype=W,W.constructor=V),(ae||ve)&&(J("delete"),J("has"),D&&J("get")),(ve||fe)&&J(j),F&&W.clear&&delete W.clear}return q[C]=V,n({global:!0,constructor:!0,forced:V!==M},q),E(V,C),F||U.setStrong(V,C,D),V}},32483(f,d,e){"use strict";var n=e(3460),r=e(16618),a=e(4590),i=e(16324);f.exports=function(s,u,l){for(var m=r(u),g=i.f,h=a.f,v=0;v<m.length;v++){var b=m[v];!n(s,b)&&!(l&&n(l,b))&&g(s,b,h(u,b))}}},79326(f,d,e){"use strict";var n=e(22132);f.exports=!n(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})},39958(f){"use strict";f.exports=function(d,e){return{value:d,done:e}}},62178(f,d,e){"use strict";var n=e(59743),r=e(16324),a=e(8929);f.exports=n?function(i,s,u){return r.f(i,s,a(1,u))}:function(i,s,u){return i[s]=u,i}},8929(f){"use strict";f.exports=function(d,e){return{enumerable:!(d&1),configurable:!(d&2),writable:!(d&4),value:e}}},91391(f,d,e){"use strict";var n=e(59743),r=e(16324),a=e(8929);f.exports=function(i,s,u){n?r.f(i,s,a(0,u)):i[s]=u}},50875(f,d,e){"use strict";var n=e(26464),r=e(16324);f.exports=function(a,i,s){return s.get&&n(s.get,i,{getter:!0}),s.set&&n(s.set,i,{setter:!0}),r.f(a,i,s)}},41055(f,d,e){"use strict";var n=e(61890),r=e(16324),a=e(26464),i=e(73228);f.exports=function(s,u,l,m){m||(m={});var g=m.enumerable,h=m.name!==void 0?m.name:u;if(n(l)&&a(l,h,m),m.global)g?s[u]=l:i(u,l);else{try{m.unsafe?s[u]&&(g=!0):delete s[u]}catch{}
740g?s[u]=l:r.f(s,u,{value:l,enumerable:!1,configurable:!m.nonConfigurable,writable:!m.nonWritable})}return s}},76378(f,d,e){"use strict";var n=e(41055);f.exports=function(r,a,i){for(var s in a)n(r,s,a[s],i);return r}},73228(f,d,e){"use strict";var n=e(72135),r=Object.defineProperty;f.exports=function(a,i){try{r(n,a,{value:i,configurable:!0,writable:!0})}catch{n[a]=i}return i}},31471(f,d,e){"use strict";var n=e(23112),r=TypeError;f.exports=function(a,i){if(!delete a[i])throw new r("Cannot delete property "+n(i)+" of "+n(a))}},59743(f,d,e){"use strict";var n=e(22132);f.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},36880(f,d,e){"use strict";var n=e(72135),r=e(41940),a=e(47869),i=n.structuredClone,s=n.ArrayBuffer,u=n.MessageChannel,l=!1,m,g,h,v;if(a)l=function(b){i(b,{transfer:[b]})};else if(s)try{u||(m=r("worker_threads"),m&&(u=m.MessageChannel)),u&&(g=new u,h=new s(2),v=function(b){g.port1.postMessage(null,[b])},h.byteLength===2&&(v(h),h.byteLength===0&&(l=v)))}catch{}f.exports=l},39576(f,d,e){"use strict";var n=e(72135),r=e(2805),a=n.document,i=r(a)&&r(a.createElement);f.exports=function(s){return i?a.createElement(s):{}}},4880(f){"use strict";var d=TypeError,e=9007199254740991;f.exports=function(n){if(n>e)throw d("Maximum allowed index exceeded");return n}},91489(f){"use strict";f.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1}
740,InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},53006(f,d,e){"use strict";var n=e(72135),r=e(96411);f.exports=function(a,i){return r(n[a].prototype[i])}},28320(f){"use strict";f.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},35944(f,d,e){"use strict";var n=e(97762),r=n.match(/firefox\/(\d+)/i);f.exports=!!r&&+r[1]},65440(f,d,e){"use strict";var n=e(97762);f.exports=/MSIE|Trident/.test(n)},43750(f,d,e){"use strict";var n=e(97762);f.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble<"u"},46845(f,d,e){"use strict";var n=e(97762);f.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},49274(f,d,e){"use strict";var n=e(66008);f.exports=n==="NODE"},26195(f,d,e){"use strict";var n=e(97762);f.exports=/web0s(?!.*chrome)/i.test(n)},97762(f,d,e){"use strict";var n=e(72135),r=n.navigator,a=r&&r.userAgent;f.exports=a?String(a):""},12118(f,d,e){"use strict";var n=e(72135),r=e(97762),a=n.process,i=n.Deno,s=a&&a.versions||i&&i.version,u=s&&s.v8,l,m;u&&(l=u.split("."),m=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!m&&r&&(l=r.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=r.match(/Chrome\/(\d+)/),l&&(m=+l[1]))),f.exports=m},77490(f,d,e){"use strict";var n=e(97762),r=n.match(/AppleWebKit\/(\d+)\./);f.exports=!!r&&+r[1]},66008(f,d,e){"use strict";var n=e(72135),r=e(97762),a=e(44263),i=function(s){return r.slice(0,s.length)===s};f.exports=(function(){return i("Bun/")?"BUN":i("Cloudflare-Workers")?"CLOUDFLARE":i("Deno/")?"DENO":i("Node.js/")?"NODE":n.Bun&&typeof Bun.version=="string"?"BUN":n.Deno&&typeof Deno.version=="object"?"DENO":a(n.process)==="process"?"NODE":n.window&&n.document?"BROWSER":"REST"})()},62714(f,d,e){"use strict";var n=e(96411),r=Error,a=n("".replace),i=(function(l){return String(new r(l).stack)})("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(i);f.exports=function(l,m){if(u&&typeof l=="string"&&!r.prepareStackTrace)for(;m--;)l=a(l,s,"");return l}},96936(f,d,e){"use strict";var n=e(22132),r=e(8929);f.exports=!n(function(){var a=new Error("a");return"stack"in a?(Object.defineProperty(a,"stack",r(1,7)),a.stack!==7):!0})},36271(f,d,e){"use strict";var n=e(59743),r=e(22132),a=e(92728),i=e(37096),s=Error.prototype.toString,u=r(function(){if(n){var l=Object.create(Object.defineProperty({},"name",{get:function(){return this===l}}));if(s.call(l)!=="true")return!0}return s.call({message:1,name:2})!=="2: 1"||s.call({})!=="Error"});f.exports=u?function(){var m=a(this),g=i(m.name,"Error"),h=i(m.message);return g?h?g+": "+h:g:h}:s},8971(f,d,e){"use strict";var n=e(72135),r=e(4590).f,a=e(62178),i=e(41055),s=e(73228),u=e(32483),l=e(81567);f.exports=function(m,g){var h=m.target,v=m.global,b=m.stat,T,E,w,C,O,U;if(v?E=n:b?E=n[h]||s(h,{}):E=n[h]&&n[h].prototype,E)for(w in g){if(O=g[w],m.dontCallGetSet?(U=r(E,w),C=U&&U.value):C=E[w],T=l(v?w:h+(b?".":"#")+w,m.forced),!T&&C!==void 0){if(typeof O==typeof C)continue;u(O,C)}(m.sham||C&&C.sham)&&a(O,"sham",!0),i(E,w,O,m)}}},22132(f){"use strict";f.exports=function(d){try{return!!d()}catch{return!0}}},48809(f,d,e){"use strict";var n=e(22132);f.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},95360(f,d,e){"use strict";var n=e(91897),r=Function.prototype,a=r.apply,i=r.call;f.exports=typeof Reflect=="object"&&Reflect.apply||(n?i.bind(a):function(){return i.apply(a,arguments)})},43599(f,d,e){"use strict";var n=e(78241),r=e(52519),a=e(91897),i=n(n.bind);f.exports=function(s,u){return r(s),u===void 0?s:a?i(s,u):function(){return s.apply(u,arguments)}}},91897(f,d,e){"use strict";var n=e(22132);f.exports=!n(function(){var r=(function(){}).bind();return typeof r!="function"||r.hasOwnProperty("prototype")})},80418(f,d,e){"use strict";var n=e(91897),r=Function.prototype.call;f.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},537(f,d,e){"use strict";var n=e(59743),r=e(3460),a=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,s=r(a,"name"),u=s&&(function(){}).name==="something",l=s&&(!n||n&&i(a,"name").configurable);f.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},8151(f,d,e){"use strict";var n=e(96411),r=e(52519);f.exports=function(a,i,s){try{return n(r(Object.getOwnPropertyDescriptor(a,i)[s]))}catch{}}},78241(f,d,e){"use strict";var n=e(44263),r=e(96411);
vendor: 8,223 bytes, line 740
740f.exports=function(a){if(n(a)==="Function")return r(a)}},96411(f,d,e){"use strict";var n=e(91897),r=Function.prototype,a=r.call,i=n&&r.bind.bind(a,a);f.exports=n?i:function(s){return function(){return a.apply(s,arguments)}}},41940(f,d,e){"use strict";var n=e(72135),r=e(49274);f.exports=function(a){if(r){try{return n.process.getBuiltinModule(a)}catch{}try{return Function('return require("'+a+'")')()}catch{}}}},90971(f,d,e){"use strict";var n=e(72135);f.exports=function(r,a){var i=n[r],s=i&&i.prototype;return s&&s[a]}},77062(f,d,e){"use strict";var n=e(72135),r=e(61890),a=function(i){return r(i)?i:void 0};f.exports=function(i,s){return arguments.length<2?a(n[i]):n[i]&&n[i][s]}},91548(f){"use strict";f.exports=function(d){return{iterator:d,next:d.next,done:!1}}},5024(f,d,e){"use strict";var n=e(65188),r=e(63663),a=e(11144),i=e(99670),s=e(15504),u=s("iterator");f.exports=function(l){if(!a(l))return r(l,u)||r(l,"@@iterator")||i[n(l)]}},86884(f,d,e){"use strict";var n=e(80418),r=e(52519),a=e(92728),i=e(23112),s=e(5024),u=TypeError;f.exports=function(l,m){var g=arguments.length<2?s(l):m;if(r(g))return a(n(g,l));throw new u(i(l)+" is not iterable")}},63663(f,d,e){"use strict";var n=e(52519),r=e(11144);f.exports=function(a,i){var s=a[i];return r(s)?void 0:n(s)}},32500(f,d,e){"use strict";var n=e(52519),r=e(92728),a=e(80418),i=e(63890),s=e(91548),u="Invalid size",l=RangeError,m=TypeError,g=Math.max,h=function(v,b){this.set=v,this.size=g(b,0),this.has=n(v.has),this.keys=n(v.keys)};h.prototype={getIterator:function(){return s(r(a(this.keys,this.set)))},includes:function(v){return a(this.has,this.set,v)}},f.exports=function(v){r(v);var b=+v.size;if(b!==b)throw new m(u);var T=i(b);if(T<0)throw new l(u);return new h(v,T)}},72135(f){"use strict";var d=function(e){return e&&e.Math===Math&&e};f.exports=d(typeof globalThis=="object"&&globalThis)||d(typeof window=="object"&&window)||d(typeof self=="object"&&self)||d(typeof globalThis=="object"&&globalThis)||d(typeof this=="object"&&this)||(function(){return this})()||Function("return this")()},3460(f,d,e){"use strict";var n=e(96411),r=e(64266),a=n({}.hasOwnProperty);f.exports=Object.hasOwn||function(s,u){return a(r(s),u)}},69738(f){"use strict";f.exports={}},84520(f){"use strict";f.exports=function(d,e){try{arguments.length===1?console.error(d):console.error(d,e)}catch{}}},73272(f,d,e){"use strict";var n=e(77062);f.exports=n("document","documentElement")},21352(f,d,e){"use strict";var n=e(59743),r=e(22132),a=e(39576);f.exports=!n&&!r(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7})},12106(f,d,e){"use strict";var n=e(96411),r=e(22132),a=e(44263),i=Object,s=n("".split);f.exports=r(function(){return!i("z").propertyIsEnumerable(0)})?function(u){return a(u)==="String"?s(u,""):i(u)}:i},98892(f,d,e){"use strict";var n=e(61890),r=e(2805),a=e(94928);f.exports=function(i,s,u){var l,m;return a&&n(l=s.constructor)&&l!==u&&r(m=l.prototype)&&m!==u.prototype&&a(i,m),i}},27327(f,d,e){"use strict";var n=e(96411),r=e(61890),a=e(74440),i=n(Function.toString);r(a.inspectSource)||(a.inspectSource=function(s){return i(s)}),f.exports=a.inspectSource},83188(f,d,e){"use strict";var n=e(8971),r=e(96411),a=e(69738),i=e(2805),s=e(3460),u=e(16324).f,l=e(62307),m=e(46967),g=e(80629),h=e(99163),v=e(48809),b=!1,T=h("meta"),E=0,w=function(j){u(j,T,{value:{objectID:"O"+E++,weakData:{}}})},C=function(j,M){if(!i(j))return typeof j=="symbol"?j:(typeof j=="string"?"S":"P")+j;if(!s(j,T)){if(!g(j))return"F";if(!M)return"E";w(j)}return j[T].objectID},O=function(j,M){if(!s(j,T)){if(!g(j))return!0;if(!M)return!1;w(j)}return j[T].weakData},U=function(j){return v&&b&&g(j)&&!s(j,T)&&w(j),j},D=function(){F.enable=function(){},b=!0;var j=l.f,M=r([].splice),W={};W[T]=1,j(W).length&&(l.f=function(V){for(var q=j(V),J=0,re=q.length;J<re;J++)if(q[J]===T){M(q,J,1);break}return q},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:m.f}))},F=f.exports={enable:D,fastKey:C,getWeakData:O,onFreeze:U};a[T]=!0},52460(f,d,e){"use strict";var n=e(91471),r=e(72135),a=e(2805),i=e(62178),s=e(3460),u=e(74440),l=e(99938),m=e(69738),g="Object already initialized",h=r.TypeError,v=r.WeakMap,b,T,E,w=function(D){return E(D)?T(D):b(D,{})},C=function(D){return function(F){var j;if(!a(F)||(j=T(F)).type!==D)throw new h("Incompatible receiver, "+D+" required");return j}};if(n||u.state){var O=u.state||(u.state=new v);O.get=O.get,O.has=O.has,O.set=O.set,b=function(D,F){if(O.has(D))throw new h(g);return F.facade=D,O.set(D,F),F},T=function(D){return O.get(D)||{}},E=function(D){return O.has(D)}}else{var U=l("state");m[U]=!0,b=function(D,F){if(s(D,U))throw new h(g);return F.facade=D,i(D,U,F),F},T=function(D){return s(D,U)?D[U]:{}},E=function(D){return s(D,U)}}f.exports={set:b,get:T,has:E,enforce:w,getterFor:C}},77612(f,d,e){"use strict";var n=e(15504),r=e(99670),a=n("iterator"),i=Array.prototype;f.exports=function(s){return s!==void 0&&(r.Array===s||i[a]===s)}},61890(f){"use strict";var d=typeof document=="object"&&document.all;f.exports=typeof d>"u"&&d!==void 0?function(e){return typeof e=="function"||e===d}:function(e){return typeof e=="function"}},23524(f,d,e){"use strict";var n=e(96411),r=e(22132),a=e(61890),i=e(65188),s=e(77062),u=e(27327),l=function(){},m=s("Reflect","construct"),g=/^\s*(?:class|function)\b/,h=n(g.exec),v=!g.test(l),b=function(w){if(!a(w))return!1;try{return m(l,[],w),!0}catch{return!1}},T=function(w){if(!a(w))return!1;switch(i(w)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!h(g,u(w))}catch{return!0}};T.sham=!0,f.exports=!m||r(function(){var E;return b(b.call)||!b(Object)||!b(function(){E=!0})||E})?T:b},81567(f,d,e){"use strict";var n=e(22132),r=e(61890),a=/#|\.prototype\./,i=function(g,h){var v=u[s(g)];return v===m?!0:v===l?!1:r(h)?n(h):!!h},s=i.normalize=function(g){return String(g).replace(a,".").toLowerCase()},u=i.data={},l=i.NATIVE="N",m=i.POLYFILL="P";f.exports=i},11144(f){"use strict";f.exports=function(d){return d==null}},2805(f,d,e){"use strict";var n=e(61890);f.exports=function(r){return typeof r=="object"?r!==null:n(r)}},80058(f,d,e){"use strict";var n=e(2805);f.exports=function(r){return n(r)||r===null}},59960(f){"use strict";f.exports=!1},1858(f,d,e){"use strict";var n=e(77062),r=e(61890),a=e(90384),i=e(42767),s=Object;f.exports=i?function(u){return typeof u=="symbol"}:function(u){var l=n("Symbol");return r(l)&&a(l.prototype,s(u))}},7638(f,d,e){"use strict";var n=e(80418);f.exports=function(r,a,i){for(var s=i?r:r.iterator,u=r.next,l,m;!(l=n(u,s)).done;)if(m=a(l.value),m!==void 0)return m}},2351(f,d,e){"use strict";var n=e(43599),r=e(80418),a=e(92728),i=e(23112),s=e(77612),u=e(4743),l=e(90384),m=e(86884),g=e(5024),h=e(51746),v=TypeError,b=function(E,w){this.stopped=E,this.result=w},T=b.prototype;f.exports=function(E,w,C){var O=C&&C.that,U=!!(C&&C.AS_ENTRIES),D=!!(C&&C.IS_RECORD),F=!!(C&&C.IS_ITERATOR),j=!!(C&&C.INTERRUPTED),M=n(w,O),W,V,q,J,re,he,fe,ae=function(ve){return W&&h(W,"normal",ve),new b(!0,ve)},ye=function(ve){return U?(a(ve),j?M(ve[0],ve[1],ae):M(ve[0],ve[1])):j?M(ve,ae):M(ve)};if(D)W=E.iterator;else if(F)W=E;else{if(V=g(E),!V)throw new v(i(E)+" is not iterable");if(s(V)){for(q=0,J=u(E);J>q;q++)if(re=ye(E[q]),re&&l(T,re))return re;return new b(!1)}W=m(E,V)}for(he=D?E.next:W.next;!(fe=r(he,W)).done;){try{re=ye(fe.value)}catch(ve){h(W,"throw",ve)}if(typeof re=="object"&&re&&l(T,re))return re}return new b(!1)}},51746(f,d,e){"use strict";var n=e(80418),r=e(92728),a=e(63663);f.exports=function(i,s,u){var l,m;r(i);try{if(l=a(i,"return"),!l){if(s==="throw")throw u;return u}l=n(l,i)}catch(g){m=!0,l=g}if(s==="throw")throw u;if(m)throw l;return r(l),u}},83045(f,d,e){"use strict";var n=e(23364).IteratorPrototype,r=e(60179),a=e(8929),i=e(91264),s=e(99670),u=function(){return this};f.exports=function(l,m,g,h){var v=m+" Iterator";return l.prototype=r(n,{next:a(+!h,g)}),i(l,v,!1,!0),s[v]=u,l}},70447(f,d,e){"use strict";var n=e(8971),r=e(80418),a=e(59960),i=e(537),s=e(61890),u=e(83045),l=e(5084),m=e(94928),g=e(91264),h=e(62178),v=e(41055),b=e(15504),T=e(99670),E=e(23364),w=i.PROPER,C=i.CONFIGURABLE,O=E.IteratorPrototype,U=E.BUGGY_SAFARI_ITERATORS,D=b("iterator"),F="keys",j="values",M="entr
740ies",W=function(){return this};f.exports=function(V,q,J,re,he,fe,ae){u(J,q,re);var ye=function(rt){if(rt===he&&xe)return xe;if(!U&&rt&&rt in We)return We[rt];switch(rt){case F:return function(){return new J(this,rt)};case j:return function(){return new J(this,rt)};case M:return function(){return new J(this,rt)}}return function(){return new J(this)}},ve=q+" Iterator",Ue=!1,We=V.prototype,de=We[D]||We["@@iterator"]||he&&We[he],xe=!U&&de||ye(he),Fe=q==="Array"&&We.entries||de,Xe,Me,Ze;if(Fe&&(Xe=l(Fe.call(new V)),Xe!==Object.prototype&&Xe.next&&(!a&&l(Xe)!==O&&(m?m(Xe,O):s(Xe[D])||v(Xe,D,W)),g(Xe,ve,!0,!0),a&&(T[ve]=W))),w&&he===j&&de&&de.name!==j&&(!a&&C?h(We,"name",j):(Ue=!0,xe=function(){return r(de,this)})),he)if(Me={values:ye(j),keys:fe?xe:ye(F),entries:ye(M)},ae)for(Ze in Me)(U||Ue||!(Ze in We))&&v(We,Ze,Me[Ze]);else n({target:q,proto:!0,forced:U||Ue},Me);return(!a||ae)&&We[D]!==xe&&v(We,D,xe,{name:he}),T[q]=xe,Me}},23364(f,d,e){"use strict";var n=e(22132),r=e(61890),a=e(2805),i=e(60179),s=e(5084),u=e(41055),l=e(15504),m=e(59960),g=l("iterator"),h=!1,v,b,T;[].keys&&(T=[].keys(),"next"in T?(b=s(s(T)),b!==Object.prototype&&(v=b)):h=!0);var E=!a(v)||n(function(){var w={};return v[g].call(w)!==w});E?v={}:m&&(v=i(v)),r(v[g])||u(v,g,function(){return this}),f.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:h}},99670(f){"use strict";f.exports={}},4743(f,d,e){"use strict";var n=e(43913);f.exports=function(r){return n(r.length)}},26464(f,d,e){"use strict";var n=e(96411),r=e(22132),a=e(61890),i=e(3460),s=e(59743),u=e(537).CONFIGURABLE,l=e(27327),m=e(52460),g=m.enforce,h=m.get,v=String,b=Object.defineProperty,T=n("".slice),E=n("".replace),w=n([].join),C=s&&!r(function(){return b(function(){},"length",{value:8}).length!==8}),O=String(String).split("String"),U=f.exports=function(D,F,j){T(v(F),0,7)==="Symbol("&&(F="["+E(v(F),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),j&&j.getter&&(F="get "+F),j&&j.setter&&(F="set "+F),(!i(D,"name")||u&&D.name!==F)&&(s?b(D,"name",{value:F,configurable:!0}):D.name=F),C&&j&&i(j,"arity")&&D.length!==j.arity&&b(D,"length",{value:j.arity});try{j&&i(j,"constructor")&&j.constructor?s&&b(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch{}var M=g(D);return i(M,"source")||(M.source=w(O,typeof F=="string"?F:"")),D};Function.prototype.toString=U(function(){return a(this)&&h(this).source||l(this)},"toString")},52127(f,d,e){"use strict";var n=e(96411),r=Map.prototype;f.exports={Map,set:n(r.set),get:n(r.get),has:n(r.has),remove:n(r.delete),proto:r}},82384(f){"use strict";var d=Math.ceil,e=Math.floor;f.exports=Math.trunc||function(r){var a=+r;return(a>0?e:d)(a)}},4012(f,d,e){"use strict";var n=e(72135),r=e(26970),a=e(43599),i=e(136).set,s=e(59586),u=e(46845),l=e(43750),m=e(26195),g=e(49274),h=n.MutationObserver||n.WebKitMutationObserver,v=n.document,b=n.process,T=n.Promise,E=r("queueMicrotask"),w,C,O,U,D;if(!E){var F=new s,j=function(){var M,W;for(g&&(M=b.domain)&&M.exit();W=F.get();)try{W()}catch(V){throw F.head&&w(),V}M&&M.enter()};!u&&!g&&!m&&h&&v?(C=!0,O=v.createTextNode(""),new h(j).observe(O,{characterData:!0}),w=function(){O.data=C=!C}):!l&&T&&T.resolve?(U=T.resolve(void 0),U.constructor=T,D=a(U.then,U),w=function(){D(j)}):g?w=function(){b.nextTick(j)}:(i=a(i,n),w=function(){i(j)}),E=function(M){F.head||w(),F.add(M)}}f.exports=E},65910(f,d,e){"use strict";var n=e(52519),r=TypeError,a=function(i){var s,u;this.promise=new i(function(l,m){if(s!==void 0||u!==void 0)throw new r("Bad Promise constructor");s=l,u=m}),this.resolve=n(s),this.reject=n(u)};f.exports.f=function(i){return new a(i)}},37096(f,d,e){"use strict";var n=e(70616);f.exports=function(r,a){return r===void 0?arguments.length<2?"":a:n(r)}},60179(f,d,e){"use strict";var n=e(92728),r=e(24836),a=e(28320),i=e(69738),s=e(73272),u=e(39576),l=e(99938),m=">",g="<",h="prototype",v="script",b=l("IE_PROTO"),T=function(){},E=function(D){return g+v+m+D+g+"/"+v+m},w=function(D){D.write(E("")),D.close();var F=D.parentWindow.Object;return D=null,F},C=function(){var D=u("iframe"),F="java"+v+":",j;return D.style.display="none",s.appendChild(D),D.src=String(F),j=D.contentWindow.document,j.open(),j.write(E("document.F=Object")),j.close(),j.F},O,U=function(){try{O=new ActiveXObject("htmlfile")}catch{}U=typeof document<"u"?document.domain&&O?w(O):C():w(O);for(var D=a.length;D--;)delete U[h][a[D]];return U()};i[b]=!0,f.exports=Object.create||function(F,j){var M;return F!==null?(T[h]=n(F),M=new T,T[h]=null,M[b]=F):M=U(),j===void 0?M:r.f(M,j)}},24836(f,d,e){"use strict";var n=e(59743),r=e(88637),a=e(16324),i=e(92728),s=e(8022),u=e(3539);d.f=n&&!r?Object.defineProperties:function(m,g){i(m);for(var h=s(g),v=u(g),b=v.length,T=0,E;b>T;
740)a.f(m,E=v[T++],h[E]);return m}},16324(f,d,e){"use strict";var n=e(59743),r=e(21352),a=e(88637),i=e(92728),s=e(66718),u=TypeError,l=Object.defineProperty,m=Object.getOwnPropertyDescriptor,g="enumerable",h="configurable",v="writable";d.f=n?a?function(T,E,w){if(i(T),E=s(E),i(w),typeof T=="function"&&E==="prototype"&&"value"in w&&v in w&&!w[v]){var C=m(T,E);C&&C[v]&&(T[E]=w.value,w={configurable:h in w?w[h]:C[h],enumerable:g in w?w[g]:C[g],writable:!1})}return l(T,E,w)}:l:function(T,E,w){if(i(T),E=s(E),i(w),r)try{return l(T,E,w)}catch{}if("get"in w||"set"in w)throw new u("Accessors not supported");return"value"in w&&(T[E]=w.value),T}},4590(f,d,e){"use strict";var n=e(59743),r=e(80418),a=e(39174),i=e(8929),s=e(8022),u=e(66718),l=e(3460),m=e(21352),g=Object.getOwnPropertyDescriptor;d.f=n?g:function(v,b){if(v=s(v),b=u(b),m)try{return g(v,b)}catch{}if(l(v,b))return i(!r(a.f,v,b),v[b])}},46967(f,d,e){"use strict";var n=e(44263),r=e(8022),a=e(62307).f,i=e(21435),s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(l){try{return a(l)}catch{return i(s)}};f.exports.f=function(m){return s&&n(m)==="Window"?u(m):a(r(m))}},62307(f,d,e){"use strict";var n=e(86205),r=e(28320),a=r.concat("length","prototype");d.f=Object.getOwnPropertyNames||function(s){return n(s,a)}},74858(f,d){"use strict";d.f=Object.getOwnPropertySymbols},5084(f,d,e){"use strict";var n=e(3460),r=e(61890),a=e(64266),i=e(99938),s=e(79326),u=i("IE_PROTO"),l=Object,m=l.prototype;f.exports=s?l.getPrototypeOf:function(g){var h=a(g);if(n(h,u))return h[u];var v=h.constructor;return r(v)&&h instanceof v?v.prototype:h instanceof l?m:null}},80629(f,d,e){"use strict";var n=e(22132),r=e(2805),a=e(44263),i=e(12703),s=Object.isExtensible,u=n(function(){s(1)});f.exports=u||i?function(m){return!r(m)||i&&a(m)==="ArrayBuffer"?!1:s?s(m):!0}:s},90384(f,d,e){"use strict";var n=e(96411);f.exports=n({}.isPrototypeOf)},86205(f,d,e){"use strict";var n=e(96411),r=e(3460),a=e(8022),i=e(25708).indexOf,s=e(69738),u=n([].push);f.exports=function(l,m){var g=a(l),h=0,v=[],b;for(b in g)!r(s,b)&&r(g,b)&&u(v,b);for(;m.length>h;)r(g,b=m[h++])&&(~i(v,b)||u(v,b));return v}},3539(f,d,e){"use strict";var n=e(86205),r=e(28320);f.exports=Object.keys||function(i){return n(i,r)}},39174(f,d){"use strict";var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!e.call({1:2},1);d.f=r?function(i){var s=n(this,i);return!!s&&s.enumerable}:e},94928(f,d,e){"use strict";var n=e(8151),r=e(2805),a=e(93591),i=e(39635);
vendor: 9,724 bytes, line 740
740f.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var s=!1,u={},l;try{l=n(Object.prototype,"__proto__","set"),l(u,[]),s=u instanceof Array}catch{}return function(g,h){return a(g),i(h),r(g)&&(s?l(g,h):g.__proto__=h),g}})():void 0)},28038(f,d,e){"use strict";var n=e(27623),r=e(65188);f.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},42141(f,d,e){"use strict";var n=e(80418),r=e(61890),a=e(2805),i=TypeError;f.exports=function(s,u){var l,m;if(u==="string"&&r(l=s.toString)&&!a(m=n(l,s))||r(l=s.valueOf)&&!a(m=n(l,s))||u!=="string"&&r(l=s.toString)&&!a(m=n(l,s)))return m;throw new i("Can't convert object to primitive value")}},16618(f,d,e){"use strict";var n=e(77062),r=e(96411),a=e(62307),i=e(74858),s=e(92728),u=r([].concat);f.exports=n("Reflect","ownKeys")||function(m){var g=a.f(s(m)),h=i.f;return h?u(g,h(m)):g}},54678(f,d,e){"use strict";var n=e(72135);f.exports=n},15420(f){"use strict";f.exports=function(d){try{return{error:!1,value:d()}}catch(e){return{error:!0,value:e}}}},63639(f,d,e){"use strict";var n=e(72135),r=e(54815),a=e(61890),i=e(81567),s=e(27327),u=e(15504),l=e(66008),m=e(59960),g=e(12118),h=r&&r.prototype,v=u("species"),b=!1,T=a(n.PromiseRejectionEvent),E=i("Promise",function(){var w=s(r),C=w!==String(r);if(!C&&g===66||m&&!(h.catch&&h.finally))return!0;if(!g||g<51||!/native code/.test(w)){var O=new r(function(F){F(1)}),U=function(F){F(function(){},function(){})},D=O.constructor={};if(D[v]=U,b=O.then(function(){})instanceof U,!b)return!0}return!C&&(l==="BROWSER"||l==="DENO")&&!T});f.exports={CONSTRUCTOR:E,REJECTION_EVENT:T,SUBCLASSING:b}},54815(f,d,e){"use strict";var n=e(72135);f.exports=n.Promise},569(f,d,e){"use strict";var n=e(92728),r=e(2805),a=e(65910);f.exports=function(i,s){if(n(i),r(s)&&s.constructor===i)return s;var u=a.f(i),l=u.resolve;return l(s),u.promise}},42298(f,d,e){"use strict";var n=e(54815),r=e(18561),a=e(63639).CONSTRUCTOR;f.exports=a||!r(function(i){n.all(i).then(void 0,function(){})})},59586(f){"use strict";var d=function(){this.head=null,this.tail=null};d.prototype={add:function(e){var n={item:e,next:null},r=this.tail;r?r.next=n:this.head=n,this.tail=n},get:function(){var e=this.head;if(e){var n=this.head=e.next;return n===null&&(this.tail=null),e.item}}},f.exports=d},47246(f,d,e){"use strict";var n=e(92728);f.exports=function(){var r=n(this),a="";return r.hasIndices&&(a+="d"),r.global&&(a+="g"),r.ignoreCase&&(a+="i"),r.multiline&&(a+="m"),r.dotAll&&(a+="s"),r.unicode&&(a+="u"),r.unicodeSets&&(a+="v"),r.sticky&&(a+="y"),a}},93359(f,d,e){"use strict";var n=e(80418),r=e(3460),a=e(90384),i=e(47246),s=RegExp.prototype;f.exports=function(u){var l=u.flags;return l===void 0&&!("flags"in s)&&!r(u,"flags")&&a(s,u)?n(i,u):l}},93591(f,d,e){"use strict";var n=e(11144),r=TypeError;f.exports=function(a){if(n(a))throw new r("Can't call method on "+a);return a}},26970(f,d,e){"use strict";var n=e(72135),r=e(59743),a=Object.getOwnPropertyDescriptor;f.exports=function(i){if(!r)return n[i];var s=a(n,i);return s&&s.value}},93065(f,d,e){"use strict";var n=e(60849),r=e(14970),a=n.Set,i=n.add;f.exports=function(s){var u=new a;return r(s,function(l){i(u,l)}),u}},82185(f,d,e){"use strict";var n=e(32535),r=e(60849),a=e(93065),i=e(17415),s=e(32500),u=e(14970),l=e(7638),m=r.has,g=r.remove;f.exports=function(v){var b=n(this),T=s(v),E=a(b);return i(b)<=T.size?u(b,function(w){T.includes(w)&&g(E,w)}):l(T.getIterator(),function(w){m(b,w)&&g(E,w)}),E}},60849(f,d,e){"use strict";var n=e(96411),r=Set.prototype;f.exports={Set,add:n(r.add),has:n(r.has),remove:n(r.delete),proto:r}},63051(f,d,e){"use strict";var n=e(32535),r=e(60849),a=e(17415),i=e(32500),s=e(14970),u=e(7638),l=r.Set,m=r.add,g=r.has;f.exports=function(v){var b=n(this),T=i(v),E=new l;return a(b)>T.size?u(T.getIterator(),function(w){g(b,w)&&m(E,w)}):s(b,function(w){T.includes(w)&&m(E,w)}),E}},38476(f,d,e){"use strict";var n=e(32535),r=e(60849).has,a=e(17415),i=e(32500),s=e(14970),u=e(7638),l=e(51746);f.exports=function(g){var h=n(this),v=i(g);if(a(h)<=v.size)return s(h,function(T){if(v.includes(T))return!1},!0)!==!1;var b=v.getIterator();return u(b,function(T){if(r(h,T))return l(b,"normal",!1)})!==!1}},61067(f,d,e){"use strict";var n=e(32535),r=e(17415),a=e(14970),i=e(32500);f.exports=function(u){var l=n(this),m=i(u);return r(l)>m.size?!1:a(l,function(g){if(!m.includes(g))return!1},!0)!==!1}},28970(f,d,e){"use strict";var n=e(32535),r=e(60849).has,a=e(17415),i=e(32500),s=e(7638),u=e(51746);f.exports=function(m){var g=n(this),h=i(m);if(a(g)<h.size)return!1;var v=h.getIterator();return s(v,function(b){if(!r(g,b))return u(v,"normal",!1)})!==!1}},14970(f,d,e){"use strict";var n=e(96411),r=e(7638),a=e(60849),i=a.Set,s=a.proto,u=n(s.forEach),l=n(s.keys),m=l(new i).next;f.exports=function(g,h,v){return v?r({iterator:l(g),next:m},h):u(g,h)}},15005(f,d,e){"use strict";var n=e(77062),r=function(i){return{size:i,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},a=function(i){return{size:i,has:function(){return!0},keys:function(){throw new Error("e")}}};f.exports=function(i,s){var u=n("Set");try{new u()[i](r(0));try{return new u()[i](r(-1)),!1}catch{if(!s)return!0;try{return new u()[i](a(-1/0)),!1}catch{var l=new u;return l.add(1),l.add(2),s(l[i](a(1/0)))}}}catch{return!1}}},17415(f,d,e){"use strict";var n=e(8151),r=e(60849);f.exports=n(r.proto,"size","get")||function(a){return a.size}},62454(f,d,e){"use strict";var n=e(77062),r=e(50875),a=e(15504),i=e(59743),s=a("species");f.exports=function(u){var l=n(u);i&&l&&!l[s]&&r(l,s,{configurable:!0,get:function(){return this}})}},87051(f,d,e){"use strict";var n=e(32535),r=e(60849),a=e(93065),i=e(32500),s=e(7638),u=r.add,l=r.has,m=r.remove;f.exports=function(h){var v=n(this),b=i(h).getIterator(),T=a(v);return s(b,function(E){l(v,E)?m(T,E):u(T,E)}),T}},91264(f,d,e){"use strict";var n=e(16324).f,r=e(3460),a=e(15504),i=a("toStringTag");f.exports=function(s,u,l){s&&!l&&(s=s.prototype),s&&!r(s,i)&&n(s,i,{configurable:!0,value:u})}},27663(f,d,e){"use strict";var n=e(32535),r=e(60849).add,a=e(93065),i=e(32500),s=e(7638);f.exports=function(l){var m=n(this),g=i(l).getIterator(),h=a(m);return s(g,function(v){r(h,v)}),h}},99938(f,d,e){"use strict";var n=e(89824),r=e(99163),a=n("keys");f.exports=function(i){return a[i]||(a[i]=r(i))}},74440(f,d,e){"use strict";var n=e(59960),r=e(72135),a=e(73228),i="__core-js_shared__",s=f.exports=r[i]||a(i,{});(s.versions||(s.versions=[])).push({version:"3.41.0",mode:n?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"})},89824(f,d,e){"use strict";var n=e(74440);f.exports=function(r,a){return n[r]||(n[r]=a||{})}},49946(f,d,e){"use strict";var n=e(92728),r=e(53155),a=e(11144),i=e(15504),s=i("species");f.exports=function(u,l){var m=n(u).constructor,g;return m===void 0||a(g=n(m)[s])?l:r(g)}},47869(f,d,e){"use strict";var n=e(72135),r=e(22132),a=e(12118),i=e(66008),s=n.structuredClone;f.exports=!!s&&!r(function(){if(i==="DENO"&&a>92||i==="NODE"&&a>94||i==="BROWSER"&&a>97)return!1;var u=new ArrayBuffer(8),l=s(u,{transfer:[u]});return u.byteLength!==0||l.byteLength!==8})},9726(f,d,e){"use strict";var n=e(12118),r=e(22132),a=e(72135),i=a.String;f.exports=!!Object.getOwnPropertySymbols&&!r(function(){var s=Symbol("symbol detection");return!i(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&n&&n<41})},136(f,d,e){"use strict";var n=e(72135),r=e(95360),a=e(43599),i=e(61890),s=e(3460),u=e(22132),l=e(73272),m=e(21435),g=e(39576),h=e(74635),v=e(46845),b=e(49274),T=n.setImmediate,E=n.clearImmediate,w=n.process,C=n.Dispatch,O=n.Function,U=n.MessageChannel,D=n.String,F=0,j={},M="onreadystatechange",W,V,q,J;u(function(){W=n.location});var re=function(ye){if(s(j,ye)){var ve=j[ye];delete j[ye],ve()}},he=function(ye){return function(){re(ye)}},fe=function(ye){re(ye.data)},ae=function(ye){n.postMessage(D(ye),W.protocol+"//"+W.host)};(!T||!E)&&(T=function(ve){h(arguments.length,1);var Ue=i(ve)?ve:O(ve),We=m(arguments,1);return j[++F]=function(){r(Ue,void 0,We)},V(F),F},E=function(ve){delete j[ve]},b?V=function(ye){w.nextTick(he(ye))}:C&&C.now?V=function(ye){C.now(he(ye))}:U&&!v?(q=new U,J=q.port2,q.port1.onmessage=fe,V=a(J.postMessage,J)):n.addEventListener&&i(n.postMessage)&&!n.importScripts&&W&&W.protocol!=="file:"&&!u(ae)?(V=ae,n.addEventListener("message",fe,!1)):M in g("script")?V=function(ye){l.appendChild(g("script"))[M]=function(){l.removeChild(this),re(ye)}}:V=function(ye){setTimeout(he(ye),0)}),f.exports={set:T,clear:E}},8137(f,d,e){"use strict";var n=e(63890),r=Math.max,a=Math.min;f.exports=function(i,s){var u=n(i);return u<0?r(u+s,0):a(u,s)}},8022(f,d,e){"use strict";var n=e(12106),r=e(93591);f.exports=function(a){return n(r(a))}},63890(f,d,e){"use strict";var n=e(82384);f.exports=function(r){var a=+r;return a!==a||a===0?0:n(a)}},43913(f,d,e){"use strict";var n=e(63890),r=Math.min;f.exports=function(a){var i=n(a);return i>0?r(i,9007199254740991):0}},64266(f,d,e){"use strict";var n=e(93591),r=Object;f.exports=function(a){return r(n(a))}},28324(f,d,e){"use strict";var n=e(80418),r=e(2805),a=e(1858),i=e(63663),s=e(42141),u=e(15504),l=TypeError,m=u("toPrimitive");f.exports=function(g,h){if(!r(g)||a(g))return g;var v=i(g,m),b;if(v){if(h===void 0&&(h="default"),b=n(v,g,h),!r(b)||a(b))return b;throw new l("Can't convert object to primitive value")}return h===void 0&&(h="number"),s(g,h)}},66718(f,d,e){"use strict";var n=e(28324),r=e(1858);f.exports=function(a){var i=n(a,"string");return r(i)?i:i+""}},27623(f,d,e){"use strict";var n=e(15504),r=n("toStringTag"),a={};a[r]="z",f.exports=String(a)==="[object z]"},70616(f,d,e){"use strict";var n=e(65188),r=String;
vendor: 2,208 bytes, line 740
740f.exports=function(a){if(n(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return r(a)}},23112(f){"use strict";var d=String;f.exports=function(e){try{return d(e)}catch{return"Object"}}},99163(f,d,e){"use strict";var n=e(96411),r=0,a=Math.random(),i=n(1 .toString);f.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+i(++r+a,36)}},42767(f,d,e){"use strict";var n=e(9726);f.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},88637(f,d,e){"use strict";var n=e(59743),r=e(22132);f.exports=n&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},74635(f){"use strict";var d=TypeError;f.exports=function(e,n){if(e<n)throw new d("Not enough arguments");return e}},91471(f,d,e){"use strict";var n=e(72135),r=e(61890),a=n.WeakMap;f.exports=r(a)&&/native code/.test(String(a))},15504(f,d,e){"use strict";var n=e(72135),r=e(89824),a=e(3460),i=e(99163),s=e(9726),u=e(42767),l=n.Symbol,m=r("wks"),g=u?l.for||l:l&&l.withoutSetter||i;f.exports=function(h){return a(m,h)||(m[h]=s&&a(l,h)?l[h]:g("Symbol."+h)),m[h]}},15048(f,d,e){"use strict";var n=e(8971),r=e(64266),a=e(4743),i=e(63890),s=e(79428);n({target:"Array",proto:!0},{at:function(l){var m=r(this),g=a(m),h=i(l),v=h>=0?h:g+h;return v<0||v>=g?void 0:m[v]}}),s("at")},2138(f,d,e){"use strict";var n=e(8971),r=e(91692).findLastIndex,a=e(79428);n({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),a("findLastIndex")},24555(f,d,e){"use strict";var n=e(8971),r=e(91692).findLast,a=e(79428);n({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),a("findLast")},34635(f,d,e){"use strict";var n=e(8022),r=e(79428),a=e(99670),i=e(52460),s=e(16324).f,u=e(70447),l=e(39958),m=e(59960),g=e(59743),h="Array Iterator",v=i.set,b=i.getterFor(h);f.exports=u(Array,"Array",function(E,w){v(this,{type:h,target:n(E),index:0,kind:w})},function(){var E=b(this),w=E.target,C=E.index++;if(!w||C>=w.length)return E.target=null,l(void 0,!0);switch(E.kind){case"keys":return l(C,!1);case"values":return l(w[C],!1)}return l([C,w[C]],!1)},"values");var T=a.Arguments=a.Array;
vendor: 17,499 bytes, line 740
740if(r("keys"),r("values"),r("entries"),!m&&g&&T.name!=="values")try{s(T,"name",{value:"values"})}catch{}},34633(f,d,e){"use strict";var n=e(8971),r=e(96411),a=e(52519),i=e(64266),s=e(4743),u=e(31471),l=e(70616),m=e(22132),g=e(59801),h=e(17951),v=e(35944),b=e(65440),T=e(12118),E=e(77490),w=[],C=r(w.sort),O=r(w.push),U=m(function(){w.sort(void 0)}),D=m(function(){w.sort(null)}),F=h("sort"),j=!m(function(){if(T)return T<70;if(!(v&&v>3)){if(b)return!0;if(E)return E<603;var V="",q,J,re,he;for(q=65;q<76;q++){switch(J=String.fromCharCode(q),q){case 66:case 69:case 70:case 72:re=3;break;case 68:case 71:re=4;break;default:re=2}for(he=0;he<47;he++)w.push({k:J+he,v:re})}for(w.sort(function(fe,ae){return ae.v-fe.v}),he=0;he<w.length;he++)J=w[he].k.charAt(0),V.charAt(V.length-1)!==J&&(V+=J);return V!=="DGBEFHACIJK"}}),M=U||!D||!F||!j,W=function(V){return function(q,J){return J===void 0?-1:q===void 0?1:V!==void 0?+V(q,J)||0:l(q)>l(J)?1:-1}};n({target:"Array",proto:!0,forced:M},{sort:function(q){q!==void 0&&a(q);var J=i(this);if(j)return q===void 0?C(J):C(J,q);var re=[],he=s(J),fe,ae;for(ae=0;ae<he;ae++)ae in J&&O(re,J[ae]);for(g(re,W(q)),fe=s(re),ae=0;ae<fe;)J[ae]=re[ae++];for(;ae<he;)u(J,ae++);return J}})},41671(f,d,e){"use strict";var n=e(8971),r=e(76567),a=e(8022),i=e(79428),s=Array;n({target:"Array",proto:!0},{toReversed:function(){return r(a(this),s)}}),i("toReversed")},50224(f,d,e){"use strict";var n=e(8971),r=e(96411),a=e(52519),i=e(8022),s=e(11917),u=e(90971),l=e(79428),m=Array,g=r(u("Array","sort"));n({target:"Array",proto:!0},{toSorted:function(v){v!==void 0&&a(v);var b=i(this),T=s(m,b);return g(T,v)}}),l("toSorted")},53901(f,d,e){"use strict";var n=e(8971),r=e(79428),a=e(4880),i=e(4743),s=e(8137),u=e(8022),l=e(63890),m=Array,g=Math.max,h=Math.min;n({target:"Array",proto:!0},{toSpliced:function(b,T){var E=u(this),w=i(E),C=s(b,w),O=arguments.length,U=0,D,F,j,M;for(O===0?D=F=0:O===1?(D=0,F=w-C):(D=O-2,F=h(g(l(T),0),w-C)),j=a(w+D-F),M=m(j);U<C;U++)M[U]=E[U];for(;U<C+D;U++)M[U]=arguments[U-C+2];for(;U<j;U++)M[U]=E[U+F-D];return M}}),r("toSpliced")},3693(f,d,e){"use strict";var n=e(8971),r=e(45181),a=e(8022),i=Array;n({target:"Array",proto:!0},{with:function(s,u){return r(a(this),i,s,u)}})},67643(f,d,e){"use strict";var n=e(41055),r=e(36271),a=Error.prototype;a.toString!==r&&n(a,"toString",r)},7746(f,d,e){"use strict";var n=e(35825),r=e(7201);n("Map",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},r)},11196(f,d,e){"use strict";e(7746)},22704(f,d,e){"use strict";var n=e(8971),r=e(3460);n({target:"Object",stat:!0},{hasOwn:r})},26285(f,d,e){"use strict";var n=e(8971),r=e(64266),a=e(3539),i=e(22132),s=i(function(){a(1)});n({target:"Object",stat:!0,forced:s},{keys:function(l){return a(r(l))}})},17152(f,d,e){"use strict";var n=e(27623),r=e(41055),a=e(28038);n||r(Object.prototype,"toString",a,{unsafe:!0})},84606(f,d,e){"use strict";var n=e(8971),r=e(80418),a=e(52519),i=e(65910),s=e(15420),u=e(2351),l=e(42298);n({target:"Promise",stat:!0,forced:l},{all:function(g){var h=this,v=i.f(h),b=v.resolve,T=v.reject,E=s(function(){var w=a(h.resolve),C=[],O=0,U=1;u(g,function(D){var F=O++,j=!1;U++,r(w,h,D).then(function(M){j||(j=!0,C[F]=M,--U||b(C))},T)}),--U||b(C)});return E.error&&T(E.value),v.promise}})},75234(f,d,e){"use strict";var n=e(8971),r=e(59960),a=e(63639).CONSTRUCTOR,i=e(54815),s=e(77062),u=e(61890),l=e(41055),m=i&&i.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(h){return this.then(void 0,h)}}),!r&&u(i)){var g=s("Promise").prototype.catch;m.catch!==g&&l(m,"catch",g,{unsafe:!0})}},93593(f,d,e){"use strict";var n=e(8971),r=e(59960),a=e(49274),i=e(72135),s=e(80418),u=e(41055),l=e(94928),m=e(91264),g=e(62454),h=e(52519),v=e(61890),b=e(2805),T=e(60868),E=e(49946),w=e(136).set,C=e(4012),O=e(84520),U=e(15420),D=e(59586),F=e(52460),j=e(54815),M=e(63639),W=e(65910),V="Promise",q=M.CONSTRUCTOR,J=M.REJECTION_EVENT,re=M.SUBCLASSING,he=F.getterFor(V),fe=F.set,ae=j&&j.prototype,ye=j,ve=ae,Ue=i.TypeError,We=i.document,de=i.process,xe=W.f,Fe=xe,Xe=!!(We&&We.createEvent&&i.dispatchEvent),Me="unhandledrejection",Ze="rejectionhandled",rt=0,mt=1,Xt=2,jt=1,Lt=2,Ht,vr,Fr,fn,Kr=function(Mr){var Lr;return b(Mr)&&v(Lr=Mr.then)?Lr:!1},Sn=function(Mr,Lr){var un=Lr.value,hn=Lr.state===mt,rr=hn?Mr.ok:Mr.fail,Gr=Mr.resolve,er=Mr.reject,At=Mr.domain,dr,Y,ot;try{rr?(hn||(Lr.rejection===Lt&&Dr(Lr),Lr.rejection=jt),rr===!0?dr=un:(At&&At.enter(),dr=rr(un),At&&(At.exit(),ot=!0)),dr===Mr.promise?er(new Ue("Promise-chain cycle")):(Y=Kr(dr))?s(Y,dr,Gr,er):Gr(dr)):er(un)}catch(Yt){At&&!ot&&At.exit(),er(Yt)}},Fn=function(Mr,Lr){Mr.notified||(Mr.notified=!0,C(function(){for(var un=Mr.reactions,hn;hn=un.get();)Sn(hn,Mr);Mr.notified=!1,Lr&&!Mr.rejection&&st(Mr)}))},Et=function(Mr,Lr,un){var hn,rr;Xe?(hn=We.createEvent("Event"),hn.promise=Lr,hn.reason=un,hn.initEvent(Mr,!1,!0),i.dispatchEvent(hn)):hn={promise:Lr,reason:un},!J&&(rr=i["on"+Mr])?rr(hn):Mr===Me&&O("Unhandled promise rejection",un)},st=function(Mr){s(w,i,function(){var Lr=Mr.facade,un=Mr.value,hn=Wr(Mr),rr;if(hn&&(rr=U(function(){a?de.emit("unhandledRejection",un,Lr):Et(Me,Lr,un)}),Mr.rejection=a||Wr(Mr)?Lt:jt,rr.error))throw rr.value})},Wr=function(Mr){return Mr.rejection!==jt&&!Mr.parent},Dr=function(Mr){s(w,i,function(){var Lr=Mr.facade;a?de.emit("rejectionHandled",Lr):Et(Ze,Lr,Mr.value)})},Tr=function(Mr,Lr,un){return function(hn){Mr(Lr,hn,un)}},gr=function(Mr,Lr,un){Mr.done||(Mr.done=!0,un&&(Mr=un),Mr.value=Lr,Mr.state=Xt,Fn(Mr,!0))},ir=function(Mr,Lr,un){if(!Mr.done){Mr.done=!0,un&&(Mr=un);try{if(Mr.facade===Lr)throw new Ue("Promise can't be resolved itself");var hn=Kr(Lr);hn?C(function(){var rr={done:!1};try{s(hn,Lr,Tr(ir,rr,Mr),Tr(gr,rr,Mr))}catch(Gr){gr(rr,Gr,Mr)}}):(Mr.value=Lr,Mr.state=mt,Fn(Mr,!1))}catch(rr){gr({done:!1},rr,Mr)}}};if(q&&(ye=function(Lr){T(this,ve),h(Lr),s(Ht,this);var un=he(this);try{Lr(Tr(ir,un),Tr(gr,un))}catch(hn){gr(un,hn)}},ve=ye.prototype,Ht=function(Lr){fe(this,{type:V,done:!1,notified:!1,parent:!1,reactions:new D,rejection:!1,state:rt,value:null})},Ht.prototype=u(ve,"then",function(Lr,un){var hn=he(this),rr=xe(E(this,ye));return hn.parent=!0,rr.ok=v(Lr)?Lr:!0,rr.fail=v(un)&&un,rr.domain=a?de.domain:void 0,hn.state===rt?hn.reactions.add(rr):C(function(){Sn(rr,hn)}),rr.promise}),vr=function(){var Mr=new Ht,Lr=he(Mr);this.promise=Mr,this.resolve=Tr(ir,Lr),this.reject=Tr(gr,Lr)},W.f=xe=function(Mr){return Mr===ye||Mr===Fr?new vr(Mr):Fe(Mr)},!r&&v(j)&&ae!==Object.prototype)){fn=ae.then,re||u(ae,"then",function(Lr,un){var hn=this;return new ye(function(rr,Gr){s(fn,hn,rr,Gr)}).then(Lr,un)},{unsafe:!0});try{delete ae.constructor}catch{}l&&l(ae,ve)}n({global:!0,constructor:!0,wrap:!0,forced:q},{Promise:ye}),m(ye,V,!1,!0),g(V)},65171(f,d,e){"use strict";e(93593),e(84606),e(75234),e(53672),e(74942),e(69745)},53672(f,d,e){"use strict";var n=e(8971),r=e(80418),a=e(52519),i=e(65910),s=e(15420),u=e(2351),l=e(42298);n({target:"Promise",stat:!0,forced:l},{race:function(g){var h=this,v=i.f(h),b=v.reject,T=s(function(){var E=a(h.resolve);u(g,function(w){r(E,h,w).then(v.resolve,b)})});return T.error&&b(T.value),v.promise}})},74942(f,d,e){"use strict";var n=e(8971),r=e(65910),a=e(63639).CONSTRUCTOR;n({target:"Promise",stat:!0,forced:a},{reject:function(s){var u=r.f(this),l=u.reject;return l(s),u.promise}})},69745(f,d,e){"use strict";var n=e(8971),r=e(77062),a=e(59960),i=e(54815),s=e(63639).CONSTRUCTOR,u=e(569),l=r("Promise"),m=a&&!s;n({target:"Promise",stat:!0,forced:a||s},{resolve:function(h){return u(m&&this===l?i:this,h)}})},40407(f,d,e){"use strict";var n=e(8971),r=e(65910);n({target:"Promise",stat:!0},{withResolvers:function(){var i=r.f(this);return{promise:i.promise,resolve:i.resolve,reject:i.reject}}})},36200(f,d,e){"use strict";var n=e(35825),r=e(7201);n("Set",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},r)},86095(f,d,e){"use strict";var n=e(8971),r=e(82185),a=e(15005),i=!a("difference",function(s){return s.size===0});n({target:"Set",proto:!0,real:!0,forced:i},{difference:r})},58361(f,d,e){"use strict";var n=e(8971),r=e(22132),a=e(63051),i=e(15005),s=!i("intersection",function(u){return u.size===2&&u.has(1)&&u.has(2)})||r(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});n({target:"Set",proto:!0,real:!0,forced:s},{intersection:a})},16628(f,d,e){"use strict";var n=e(8971),r=e(38476),a=e(15005),i=!a("isDisjointFrom",function(s){return!s});n({target:"Set",proto:!0,real:!0,forced:i},{isDisjointFrom:r})},52361(f,d,e){"use strict";var n=e(8971),r=e(61067),a=e(15005),i=!a("isSubsetOf",function(s){return s});n({target:"Set",proto:!0,real:!0,forced:i},{isSubsetOf:r})},73202(f,d,e){"use strict";var n=e(8971),r=e(28970),a=e(15005),i=!a("isSupersetOf",function(s){return!s});n({target:"Set",proto:!0,real:!0,forced:i},{isSupersetOf:r})},91038(f,d,e){"use strict";e(36200)},6009(f,d,e){"use strict";var n=e(8971),r=e(87051),a=e(15005);n({target:"Set",proto:!0,real:!0,forced:!a("symmetricDifference")},{symmetricDifference:r})},81589(f,d,e){"use strict";var n=e(8971),r=e(27663),a=e(15005);n({target:"Set",proto:!0,real:!0,forced:!a("union")},{union:r})},74207(f,d,e){"use strict";e(2138)},42986(f,d,e){"use strict";e(24555)},18306(f,d,e){"use strict";e(41671)},67285(f,d,e){"use strict";e(50224)},78806(f,d,e){"use strict";e(53901)},99362(f,d,e){"use strict";e(3693)},9016(f,d,e){"use strict";e(40407)},7254(f,d,e){"use strict";e(86095)},41408(f,d,e){"use strict";e(58361)},84489(f,d,e){"use strict";e(16628)},12064(f,d,e){"use strict";e(52361)},5391(f,d,e){"use strict";e(73202)},23620(f,d,e){"use strict";e(6009)},14430(f,d,e){"use strict";e(81589)},4332(f,d,e){"use strict";var n=e(8971),r=e(77062),a=e(41940),i=e(22132),s=e(60179),u=e(8929),l=e(16324).f,m=e(41055),g=e(50875),h=e(3460),v=e(60868),b=e(92728),T=e(36271),E=e(37096),w=e(91489),C=e(62714),O=e(52460),U=e(59743),D=e(59960),F="DOMException",j="DATA_CLONE_ERR",M=r("Error"),W=r(F)||(function(){try{var Lt=r("MessageChannel")||a("worker_threads").MessageChannel;new Lt().port1.postMessage(new WeakMap)}catch(Ht){if(Ht.name===j&&Ht.code===25)return Ht.constructor}})(),V=W&&W.prototype,q=M.prototype,J=O.set,re=O.getterFor(F),he="stack"in new M(F),fe=function(Lt){return h(w,Lt)&&w[Lt].m?w[Lt].c:0},ae=function(){v(this,ye);var Ht=arguments.length,vr=E(Ht<1?void 0:arguments[0]),Fr=E(Ht<2?void 0:arguments[1],"Error"),fn=fe(Fr);if(J(this,{type:F,name:Fr,message:vr,code:fn}),U||(this.name=Fr,this.message=vr,this.code=fn),he){var Kr=new M(vr);Kr.name=F,l(this,"stack",u(1,C(Kr.stack,1)))}},ye=ae.prototype=s(q),ve=function(Lt){return{enumerable:!0,configurable:!0,get:Lt}},Ue=function(Lt){return ve(function(){return re(this)[Lt]})};U&&(g(ye,"code",Ue("code")),g(ye,"message",Ue("message")),g(ye,"name",Ue("name"))),l(ye,"constructor",u(1,ae));var We=i(function(){return!(new W instanceof M)}),de=We||i(function(){return q.toString!==T||String(new W(1,2))!=="2: 1"}),xe=We||i(function(){return new W(1,"DataCloneError").code!==25}),Fe=We||W[j]!==25||V[j]!==25,Xe=D?de||xe||Fe:We;n({global:!0,constructor:!0,forced:Xe},{DOMException:Xe?ae:W});var Me=r(F),Ze=Me.prototype;de&&(D||W===Me)&&m(Ze,"toString",T),xe&&U&&W===Me&&g(Ze,"code",ve(function(){return fe(b(this).name)}));for(var rt in w)if(h(w,rt)){var mt=w[rt],Xt=mt.s,jt=u(6,mt.c);h(Me,Xt)||l(Me,Xt,jt),h(Ze,Xt)||l(Ze,Xt,jt)}},38244(f,d,e){"use strict";var n=e(8971),r=e(72135),a=e(77062),i=e(8929),s=e(16324).f,u=e(3460),l=e(60868),m=e(98892),g=e(37096),h=e(91489),v=e(62714),b=e(59743),T=e(59960),E="DOMException",w=a("Error"),C=a(E),O=function(){l(this,U);var ae=arguments.length,ye=g(ae<1?void 0:arguments[0]),ve=g(ae<2?void 0:arguments[1],"Error"),Ue=new C(ye,ve),We=new w(ye);return We.name=E,s(Ue,"stack",i(1,v(We.stack,1))),m(Ue,this,O),Ue},U=O.prototype=C.prototype,D="stack"in new w(E),F="stack"in new C(1,2),j=C&&b&&Object.getOwnPropertyDescriptor(r,E),M=!!j&&!(j.writable&&j.configurable),W=D&&!M&&!F;n({global:!0,constructor:!0,forced:T||W},{DOMException:W?O:C});var V=a(E),q=V.prototype;if(q.constructor!==V){T||s(q,"constructor",i(1,V));for(var J in h)if(u(h,J)){var re=h[J],he=re.s;u(V,he)||s(V,he,i(6,re.c))}}},32804(f,d,e){"use strict";var n=e(77062),r=e(91264),a="DOMException";r(n(a),a)},4235(f,d,e){"use strict";var n=e(59960),r=e(8971),a=e(72135),i=e(77062),s=e(96411),u=e(22132),l=e(99163),m=e(61890),g=e(23524),h=e(11144),v=e(2805),b=e(1858),T=e(2351),E=e(92728),w=e(65188),C=e(3460),O=e(91391),U=e(62178),D=e(4743),F=e(74635),j=e(93359),M=e(52127),W=e(60849),V=e(14970),q=e(36880),J=e(96936),re=e(47869),he=a.Object,fe=a.Array,ae=a.Date,ye=a.Error,ve=a.TypeError,Ue=a.PerformanceMark,We=i("DOMException"),de=M.Map,xe=M.has,Fe=M.get,Xe=M.set,Me=W.Set,Ze=W.add,rt=W.has,mt=i("Object","keys"),Xt=s([].push),jt=s((!0).valueOf),Lt=s(1 .valueOf),Ht=s("".valueOf),vr=s(ae.prototype.getTime),Fr=l("structuredClone"),fn="DataCloneError",Kr="Transferring",Sn=function(At){return!u(function(){var dr=new a.Set([7]),Y=At(dr),ot=At(he(7));return Y===dr||!Y.has(7)||!v(ot)||+ot!=7})&&At},Fn=function(At,dr){return!u(function(){var Y=new dr,ot=At({a:Y,b:Y});return!(ot&&ot.a===ot.b&&ot.a instanceof dr&&ot.a.stack===Y.stack)})},Et=function(At){return!u(function(){var dr=At(new a.AggregateError([1],Fr,{cause:3}));return dr.name!=="AggregateError"||dr.errors[0]!==1||dr.message!==Fr||dr.cause!==3})},st=a.structuredClone,Wr=n||!Fn(st,ye)||!Fn(st,We)||!Et(st),Dr=!st&&Sn(function(At){return new Ue(Fr,{detail:At}).detail}),Tr=Sn(st)||Dr,gr=function(At){throw new We("Uncloneable type: "+At,fn)},ir=function(At,dr){throw new We((dr||"Cloning")+" of "+At+" cannot be properly polyfilled in this engine",fn)},Mr=function(At,dr){return Tr||ir(dr),Tr(At)},Lr=function(){var At;try{At=new a.DataTransfer}catch{try{At=new a.ClipboardEvent("").clipboardData}catch{}}return At&&At.items&&At.files?At:null},un=function(At,dr,Y){if(xe(dr,At))return Fe(dr,At);var ot=Y||w(At),Yt,it,Mt,an,Cn,Ln;if(ot==="SharedArrayBuffer")Tr?Yt=Tr(At):Yt=At;else{var In=a.DataView;!In&&!m(At.slice)&&ir("ArrayBuffer");try{if(m(At.slice)&&!At.resizable)Yt=At.slice(0);else for(it=At.byteLength,Mt=("maxByteLength"in At)?{maxByteLength:At.maxByteLength}:void 0,Yt=new ArrayBuffer(it,Mt),an=new In(At),Cn=new In(Yt),Ln=0;Ln<it;Ln++)Cn.setUint8(Ln,an.getUint8(Ln))}catch{throw new We("ArrayBuffer is detached",fn)}}return Xe(dr,At,Yt),Yt},hn=function(At,dr,Y,ot,Yt){var it=a[dr];return v(it)||ir(dr),new it(un(At.buffer,Yt),Y,ot)},rr=function(At,dr){if(b(At)&&gr("Symbol"),!v(At))return At;if(dr){if(xe(dr,At))return Fe(dr,At)}else dr=new de;var Y=w(At),ot,Yt,it,Mt,an,Cn,Ln,In;switch(Y){case"Array":it=fe(D(At));break;case"Object":it={};break;case"Map":it=new de;break;case"Set":it=new Me;break;case"RegExp":it=new RegExp(At.source,j(At));break;case"Error":switch(Yt=At.name,Yt){case"AggregateError":it=new(i(Yt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":it=new(i(Yt));break;case"CompileError":case"LinkError":case"RuntimeError":it=new(i("WebAssembly",Yt));break;default:it=new ye}break;case"DOMException":it=new We(At.message,At.name);break;case"ArrayBuffer":case"SharedArrayBuffer":it=un(At,dr,Y);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":Cn=Y==="DataView"?At.byteLength:At.length,it=hn(At,Y,At.byteOffset,Cn,dr);break;case"DOMQuad":try{it=new DOMQuad(rr(At.p1,dr),rr(At.p2,dr),rr(At.p3,dr),rr(At.p4,dr))}catch{it=Mr(At,Y)}break;case"File":if(Tr)try{it=Tr(At),w(it)!==Y&&(it=void 0)}catch{}if(!it)try{it=new File([At],At.name,At)}catch{}it||ir(Y);break;case"FileList":if(Mt=Lr(),Mt){for(an=0,Cn=D(At);an<Cn;an++)Mt.items.add(rr(At[an],dr));it=Mt.files}else it=Mr(At,Y);break;case"ImageData":try{it=new ImageData(rr(At.data,dr),At.width,At.height,{colorSpace:At.colorSpace})}catch{it=Mr(At,Y)}break;default:if(Tr)it=Tr(At);else switch(Y){case"BigInt":it=he(At.valueOf());break;case"Boolean":it=he(jt(At));break;case"Number":it=he(Lt(At));break;case"String":it=he(Ht(At));break;case"Date":it=new ae(vr(At));break;case"Blob":try{it=At.slice(0,At.size,At.type)}catch{ir(Y)}break;case"DOMPoint":case"DOMPointReadOnly":ot=a[Y];try{it=ot.fromPoint?ot.fromPoint(At):new ot(At.x,At.y,At.z,At.w)}catch{ir(Y)}break;case"DOMRect":case"DOMRectReadOnly":ot=a[Y];try{it=ot.fromRect?ot.fromRect(At):new ot(At.x,At.y,At.width,At.height)}catch{ir(Y)}break;case"DOMMatrix":case"DOMMatrixReadOnly":ot=a[Y];try{it=ot.fromMatrix?ot.fromMatrix(At):new ot(At)}catch{ir(Y)}break;case"AudioData":case"VideoFrame":m(At.clone)||ir(Y);try{it=At.clone()}catch{gr(Y)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":ir(Y);default:gr(Y)}}switch(Xe(dr,At,it),Y){case"Array":case"Object":for(Ln=mt(At),an=0,Cn=D(Ln);an<Cn;an++)In=Ln[an],O(it,In,rr(At[In],dr));break;case"Map":At.forEach(function(Si,$i){Xe(it,rr($i,dr),rr(Si,dr))});break;case"Set":At.forEach(function(Si){Ze(it,rr(Si,dr))});break;case"Error":U(it,"message",rr(At.message,dr)),C(At,"cause")&&U(it,"cause",rr(At.cause,dr)),Yt==="AggregateError"?it.errors=rr(At.errors,dr):Yt==="SuppressedError"&&(it.error=rr(At.error,dr),it.suppressed=rr(At.suppressed,dr));
740case"DOMException":J&&U(it,"stack",rr(At.stack,dr))}return it},Gr=function(At,dr){if(!v(At))throw new ve("Transfer option cannot be converted to a sequence");var Y=[];T(At,function($i){Xt(Y,E($i))});for(var ot=0,Yt=D(Y),it=new Me,Mt,an,Cn,Ln,In,Si;ot<Yt;){if(Mt=Y[ot++],an=w(Mt),an==="ArrayBuffer"?rt(it,Mt):xe(dr,Mt))throw new We("Duplicate transferable",fn);if(an==="ArrayBuffer"){Ze(it,Mt);continue}if(re)Ln=st(Mt,{transfer:[Mt]});else switch(an){case"ImageBitmap":Cn=a.OffscreenCanvas,g(Cn)||ir(an,Kr);try{In=new Cn(Mt.width,Mt.height),Si=In.getContext("bitmaprenderer"),Si.transferFromImageBitmap(Mt),Ln=In.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!m(Mt.clone)||!m(Mt.close))&&ir(an,Kr);try{Ln=Mt.clone(),Mt.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":ir(an,Kr)}if(Ln===void 0)throw new We("This object cannot be transferred: "+an,fn);Xe(dr,Mt,Ln)}return it},er=function(At){V(At,function(dr){re?Tr(dr,{transfer:[dr]}):m(dr.transfer)?dr.transfer():q?q(dr):ir("ArrayBuffer",Kr)})};r({global:!0,enumerable:!0,sham:!re,forced:Wr},{structuredClone:function(dr){var Y=F(arguments.length,1)>1&&!h(arguments[1])?E(arguments[1]):void 0,ot=Y?Y.transfer:void 0,Yt,it;ot!==void 0&&(Yt=new de,it=Gr(ot,Yt));var Mt=rr(dr,Yt);return it&&er(it),Mt}})},72171(f,d,e){"use strict";var n=e(53766);f.exports=n},99963(f,d,e){"use strict";f.exports=e(27540)},39366(f,d,e){"use strict";f.exports=e(76673)},57790(f,d,e){"use strict";var n=e(3389);f.exports=n},35497(f,d,e){"use strict";var n=e(99914);f.exports=n},38074(f,d,e){"use strict";var n=e(51455);f.exports=n},51638(f,d,e){"use strict";var n=e(18335);f.exports=n},49417(f,d,e){"use strict";var n=e(46216);f.exports=n},35568(f,d,e){"use strict";var n=e(20953);f.exports=n},23118(f,d,e){"use strict";var n=e(16675);f.exports=n},49864(f,d,e){"use strict";var n=e(25849);f.exports=n},36595(f,d,e){"use strict";var n=e(19210);f.exports=n},29096(f,d,e){"use strict";var n=e(6489);f.exports=n},54225(f,d,e){"use strict";var n=e(17656);f.exports=n},81252(f,d,e){"use strict";var n=e(9897);f.exports=n},63094(f,d,e){"use strict";var n=e(56469);f.exports=n},61443(f,d,e){"use strict";e(67643),e(34635),e(26285),e(17152),e(11196),e(91038),e(4332),e(38244),e(32804),e(4235);var n=e(54678);f.exports=n.structuredClone},25481(f,d,e){"use strict";e.d(d,{Q:()=>r});var n=e(87978),r;(function(a){a.InstanceMode="default",a.ExactOptionalPropertyTypes=!1,a.AllowArrayObject=!1,a.AllowNaN=!1,a.AllowNullVoid=!1;function i(g,h){return a.ExactOptionalPropertyTypes?h in g:g[h]!==void 0}a.IsExactOptionalProperty=i;function s(g){const h=(0,n.av)(g);return a.AllowArrayObject?h:h&&!(0,n.QS)(g)}a.IsObjectLike=s;function u(g){return s(g)&&!(g instanceof Date)&&!(g instanceof Uint8Array)}a.IsRecordLike=u;function l(g){return a.AllowNaN?(0,n.Mx)(g):Number.isFinite(g)}a.IsNumberLike=l;function m(g){const h=(0,n.R1)(g);return a.AllowNullVoid?h||g===null:h}a.IsVoidLike=m})(r||(r={}))},44035(f,d,e){"use strict";e.d(d,{i:()=>m});var n=e(47531);function r(g){return g.map(h=>l(h))}function a(g){return new Date(g.getTime())}function i(g){return new Uint8Array(g)}function s(g){return new RegExp(g.source,g.flags)}function u(g){const h={};for(const v of Object.getOwnPropertyNames(g))h[v]=l(g[v]);for(const v of Object.getOwnPropertySymbols(g))h[v]=l(g[v]);return h}function l(g){return n.QS(g)?r(g):n.XF(g)?a(g):n.G4(g)?i(g):n.__(g)?s(g):n.av(g)?u(g):g}function m(g){return l(g)}},68189(f,d,e){"use strict";e.d(d,{v:()=>h});var n=e(25481),r=e(47531);function a(v){return globalThis.Object.freeze(v).map(b=>m(b))}function i(v){return v}function s(v){return v}function u(v){return v}function l(v){const b={};for(const T of Object.getOwnPropertyNames(v))b[T]=m(v[T]);for(const T of Object.getOwnPropertySymbols(v))b[T]=m(v[T]);return globalThis.Object.freeze(b)}function m(v){return r.QS(v)?a(v):r.XF(v)?v:r.G4(v)?v:r.__(v)?v:r.av(v)?l(v):v}var g=e(44035);function h(v,b){const T=b!==void 0?{...b,...v}:v;switch(n.Q.InstanceMode){case"freeze":return m(T);case"clone":return(0,g.i)(T);default:return T}}},35783(f,d,e){"use strict";e.d(d,{i:()=>n});
740class n extends Error{constructor(a){super(a)}}},78542(f,d,e){"use strict";e.d(d,{$p:()=>U,Cz:()=>m,Df:()=>ae,Ef:()=>ve,H1:()=>h,IP:()=>Ze,Mx:()=>Ue,OD:()=>de,PN:()=>Lt,QS:()=>g,R1:()=>Ht,TC:()=>s,X$:()=>u,Y6:()=>T,Yi:()=>Et,Yq:()=>F,ZD:()=>fe,ZV:()=>E,Zx:()=>b,__:()=>Me,av:()=>We,cQ:()=>v,cZ:()=>xe,fJ:()=>J,gP:()=>re,gm:()=>mt,h4:()=>l,hg:()=>C,in:()=>Xe,jo:()=>j,my:()=>vr,nH:()=>rt,n_:()=>jt,zZ:()=>he});var n,r,a=e(47531),i=e(82795);function s(st){return a.av(st)&&st[i.hi]==="Readonly"}function u(st){return a.av(st)&&st[i.tJ]==="Optional"}function l(st){return M(st,"Any")}function m(st){return M(st,"Argument")}function g(st){return M(st,"Array")}function h(st){return M(st,"AsyncIterator")}function v(st){return M(st,"BigInt")}function b(st){return M(st,"Boolean")}function T(st){return M(st,"Computed")}function E(st){return M(st,"Constructor")}function w(st){return M(st,"Date")}function C(st){return M(st,"Function")}function O(st){return M(st,"Import")}function U(st){return M(st,"Integer")}function D(st){return n.IsObject(st)}function F(st){return M(st,"Intersect")}function j(st){return M(st,"Iterator")}function M(st,Wr){return a.av(st)&&i.b8 in st&&st[i.b8]===Wr}function W(st){return re(st)&&n.IsString(st.const)}function V(st){return re(st)&&n.IsNumber(st.const)}function q(st){return re(st)&&n.IsBoolean(st.const)}function J(st){return a.Zx(st)||a.Mx(st)||a.IP(st)}function re(st){return M(st,"Literal")}function he(st){return M(st,"MappedKey")}function fe(st){return M(st,"MappedResult")}function ae(st){return M(st,"Never")}function ye(st){return M(st,"Not")}function ve(st){return M(st,"Null")}function Ue(st){return M(st,"Number")}function We(st){return M(st,"Object")}function de(st){return M(st,"Promise")}function xe(st){return M(st,"Record")}function Fe(st){return n.IsObject(st)&&r in st&&st[r]==="Recursive"}function Xe(st){return M(st,"Ref")}function Me(st){return M(st,"RegExp")}function Ze(st){return M(st,"String")}function rt(st){return M(st,"Symbol")}function mt(st){return M(st,"TemplateLiteral")}function Xt(st){return M(st,"This")}function jt(st){return a.av(st)&&i.H7 in st}function Lt(st){return M(st,"Tuple")}function Ht(st){return M(st,"Undefined")}function vr(st){return M(st,"Union")}function Fr(st){return M(st,"Uint8Array")}function fn(st){return M(st,"Unknown")}function Kr(st){return M(st,"Unsafe")}function Sn(st){return M(st,"Void")}function Fn(st){return a.av(st)&&i.b8 in st&&a.IP(st[i.b8])}function Et(st){return l(st)||m(st)||g(st)||b(st)||v(st)||h(st)||T(st)||E(st)||w(st)||C(st)||U(st)||F(st)||j(st)||re(st)||he(st)||fe(st)||ae(st)||ye(st)||ve(st)||Ue(st)||We(st)||de(st)||xe(st)||Xe(st)||Me(st)||Ze(st)||rt(st)||mt(st)||Xt(st)||Lt(st)||Ht(st)||vr(st)||Fr(st)||fn(st)||Kr(st)||Sn(st)||Fn(st)}},16132(f,d,e){"use strict";e.d(d,{$p:()=>ve,Df:()=>jt,Ef:()=>Ht,G4:()=>hn,H1:()=>V,IP:()=>st,LV:()=>Xe,Mx:()=>vr,OD:()=>fn,PN:()=>ir,QS:()=>W,R1:()=>Mr,Wy:()=>Me,X$:()=>F,XF:()=>fe,Yq:()=>We,ZV:()=>he,Zs:()=>Fe,Zx:()=>J,__:()=>Et,av:()=>Fr,cQ:()=>q,cZ:()=>Kr,fr:()=>rr,gK:()=>Lt,gP:()=>Ze,gm:()=>Dr,h4:()=>j,hg:()=>ae,jo:()=>de,jw:()=>er,my:()=>un,nH:()=>Wr});var n,r,a,i,s=e(47531),u=e(82795);class l extends null{}const m=["Argument","Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function g(Y){try{return new RegExp(Y),!0}catch{return!1}}function h(Y){if(!s.IP(Y))return!1;for(let ot=0;ot<Y.length;ot++){const Yt=Y.charCodeAt(ot);if(Yt>=7&&Yt<=13||Yt===27||Yt===127)return!1}return!0}function v(Y){return E(Y)||dr(Y)}function b(Y){return s.R1(Y)||s.cQ(Y)}function T(Y){return s.R1(Y)||s.Mx(Y)}function E(Y){return s.R1(Y)||s.Zx(Y)}function w(Y){return s.R1(Y)||s.IP(Y)}function C(Y){return s.R1(Y)||s.IP(Y)&&h(Y)&&g(Y)}function O(Y){return s.R1(Y)||s.IP(Y)&&h(Y)}function U(Y){return s.R1(Y)||dr(Y)}function D(Y){return n.IsObject(Y)&&Y[r]==="Readonly"}function F(Y){return s.av(Y)&&Y[u.tJ]==="Optional"}function j(Y){return xe(Y,"Any")&&w(Y.$id)}function M(Y){return xe(Y,"Argument")&&s.Mx(Y.index)}function W(Y){return xe(Y,"Array")&&Y.type==="array"&&w(Y.$id)&&dr(Y.items)&&T(Y.minItems)&&T(Y.maxItems)&&E(Y.uniqueItems)&&U(Y.contains)&&T(Y.minContains)&&T(Y.maxContains)}function V(Y){return xe(Y,"AsyncIterator")&&Y.type==="AsyncIterator"&&w(Y.$id)&&dr(Y.items)}function q(Y){return xe(Y,"BigInt")&&Y.type==="bigint"&&w(Y.$id)&&b(Y.exclusiveMaximum)&&b(Y.exclusiveMinimum)&&b(Y.maximum)&&b(Y.minimum)&&b(Y.multipleOf)}function J(Y){return xe(Y,"Boolean")&&Y.type==="boolean"&&w(Y.$id)}function re(Y){return xe(Y,"Computed")&&s.IP(Y.target)&&s.QS(Y.parameters)&&Y.parameters.every(ot=>dr(ot))}function he(Y){return xe(Y,"Constructor")&&Y.type==="Constructor"&&w(Y.$id)&&s.QS(Y.parameters)&&Y.parameters.every(ot=>dr(ot))&&dr(Y.returns)}function fe(Y){return xe(Y,"Date")&&Y.type==="Date"&&w(Y.$id)&&T(Y.exclusiveMaximumTimestamp)&&T(Y.exclusiveMinimumTimestamp)&&T(Y.maximumTimestamp)&&T(Y.minimumTimestamp)&&T(Y.multipleOfTimestamp)}function ae(Y){return xe(Y,"Function")&&Y.type==="Function"&&w(Y.$id)&&s.QS(Y.parameters)&&Y.parameters.every(ot=>dr(ot))&&dr(Y.returns)}function ye(Y){return xe(Y,"Import")&&n.HasPropertyKey(Y,"$defs")&&n.IsObject(Y.$defs)&&Ue(Y.$defs)&&n.HasPropertyKey(Y,"$ref")&&n.IsString(Y.$ref)&&Y.$ref in Y.$defs}function ve(Y){return xe(Y,"Integer")&&Y.type==="integer"&&w(Y.$id)&&T(Y.exclusiveMaximum)&&T(Y.exclusiveMinimum)&&T(Y.maximum)&&T(Y.minimum)&&T(Y.multipleOf)}function Ue(Y){return s.av(Y)&&Object.entries(Y).every(([ot,Yt])=>h(ot)&&dr(Yt))}function We(Y){return xe(Y,"Intersect")&&!(s.IP(Y.type)&&Y.type!=="object")&&s.QS(Y.allOf)&&Y.allOf.every(ot=>dr(ot)&&!gr(ot))&&w(Y.type)&&(E(Y.unevaluatedProperties)||U(Y.unevaluatedProperties))&&w(Y.$id)}function de(Y){return xe(Y,"Iterator")&&Y.type==="Iterator"&&w(Y.$id)&&dr(Y.items)}function xe(Y,ot){return s.av(Y)&&u.b8 in Y&&Y[u.b8]===ot}function Fe(Y){return Ze(Y)&&s.IP(Y.const)}function Xe(Y){return Ze(Y)&&s.Mx(Y.const)}function Me(Y){return Ze(Y)&&s.Zx(Y.const)}function Ze(Y){return xe(Y,"Literal")&&w(Y.$id)&&rt(Y.const)}function rt(Y){return s.Zx(Y)||s.Mx(Y)||s.IP(Y)}function mt(Y){return xe(Y,"MappedKey")&&s.QS(Y.keys)&&Y.keys.every(ot=>s.Mx(ot)||s.IP(ot))}function Xt(Y){return xe(Y,"MappedResult")&&Ue(Y.properties)}function jt(Y){return xe(Y,"Never")&&s.av(Y.not)&&Object.getOwnPropertyNames(Y.not).length===0}function Lt(Y){return xe(Y,"Not")&&dr(Y.not)}function Ht(Y){return xe(Y,"Null")&&Y.type==="null"&&w(Y.$id)}function vr(Y){return xe(Y,"Number")&&Y.type==="number"&&w(Y.$id)&&T(Y.exclusiveMaximum)&&T(Y.exclusiveMinimum)&&T(Y.maximum)&&T(Y.minimum)&&T(Y.multipleOf)}function Fr(Y){return xe(Y,"Object")&&Y.type==="object"&&w(Y.$id)&&Ue(Y.properties)&&v(Y.additionalProperties)&&T(Y.minProperties)&&T(Y.maxPro
740perties)}function fn(Y){return xe(Y,"Promise")&&Y.type==="Promise"&&w(Y.$id)&&dr(Y.item)}function Kr(Y){return xe(Y,"Record")&&Y.type==="object"&&w(Y.$id)&&v(Y.additionalProperties)&&s.av(Y.patternProperties)&&(ot=>{const Yt=Object.getOwnPropertyNames(ot.patternProperties);return Yt.length===1&&g(Yt[0])&&s.av(ot.patternProperties)&&dr(ot.patternProperties[Yt[0]])})(Y)}function Sn(Y){return n.IsObject(Y)&&a in Y&&Y[a]==="Recursive"}function Fn(Y){return xe(Y,"Ref")&&w(Y.$id)&&s.IP(Y.$ref)}function Et(Y){return xe(Y,"RegExp")&&w(Y.$id)&&s.IP(Y.source)&&s.IP(Y.flags)&&T(Y.maxLength)&&T(Y.minLength)}function st(Y){return xe(Y,"String")&&Y.type==="string"&&w(Y.$id)&&T(Y.minLength)&&T(Y.maxLength)&&C(Y.pattern)&&O(Y.format)}function Wr(Y){return xe(Y,"Symbol")&&Y.type==="symbol"&&w(Y.$id)}function Dr(Y){return xe(Y,"TemplateLiteral")&&Y.type==="string"&&s.IP(Y.pattern)&&Y.pattern[0]==="^"&&Y.pattern[Y.pattern.length-1]==="$"}function Tr(Y){return xe(Y,"This")&&w(Y.$id)&&s.IP(Y.$ref)}function gr(Y){return s.av(Y)&&u.H7 in Y}function ir(Y){return xe(Y,"Tuple")&&Y.type==="array"&&w(Y.$id)&&s.Mx(Y.minItems)&&s.Mx(Y.maxItems)&&Y.minItems===Y.maxItems&&(s.R1(Y.items)&&s.R1(Y.additionalItems)&&Y.minItems===0||s.QS(Y.items)&&Y.items.every(ot=>dr(ot)))}function Mr(Y){return xe(Y,"Undefined")&&Y.type==="undefined"&&w(Y.$id)}function Lr(Y){return un(Y)&&Y.anyOf.every(ot=>Fe(ot)||Xe(ot))}function un(Y){return xe(Y,"Union")&&w(Y.$id)&&s.av(Y)&&s.QS(Y.anyOf)&&Y.anyOf.every(ot=>dr(ot))}function hn(Y){return xe(Y,"Uint8Array")&&Y.type==="Uint8Array"&&w(Y.$id)&&T(Y.minByteLength)&&T(Y.maxByteLength)}function rr(Y){return xe(Y,"Unknown")&&w(Y.$id)}function Gr(Y){return xe(Y,"Unsafe")}function er(Y){return xe(Y,"Void")&&Y.type==="void"&&w(Y.$id)}function At(Y){return s.av(Y)&&u.b8 in Y&&s.IP(Y[u.b8])&&!m.includes(Y[u.b8])}function dr(Y){return s.av(Y)&&(j(Y)||M(Y)||W(Y)||J(Y)||q(Y)||V(Y)||re(Y)||he(Y)||fe(Y)||ae(Y)||ve(Y)||We(Y)||de(Y)||Ze(Y)||mt(Y)||Xt(Y)||jt(Y)||Lt(Y)||Ht(Y)||vr(Y)||Fr(Y)||fn(Y)||Kr(Y)||Fn(Y)||Et(Y)||st(Y)||Wr(Y)||Dr(Y)||Tr(Y)||ir(Y)||Mr(Y)||un(Y)||hn(Y)||rr(Y)||Gr(Y)||er(Y)||At(Y))}},47531(f,d,e){"use strict";e.d(d,{Ef:()=>g,G4:()=>w,H1:()=>r,IP:()=>T,Mx:()=>h,QS:()=>a,R1:()=>C,XF:()=>u,Zx:()=>s,__:()=>b,av:()=>v,cQ:()=>i,hg:()=>l,jo:()=>m,nH:()=>E});function n(O,U){return U in O}function r(O){return v(O)&&!a(O)&&!w(O)&&Symbol.asyncIterator in O}function a(O){return Array.isArray(O)}function i(O){return typeof O=="bigint"}function s(O){return typeof O=="boolean"}function u(O){return O instanceof globalThis.Date}function l(O){return typeof O=="function"}function m(O){return v(O)&&!a(O)&&!w(O)&&Symbol.iterator in O}function g(O){return O===null}function h(O){return typeof O=="number"}function v(O){return typeof O=="object"&&O!==null}function b(O){return O instanceof globalThis.RegExp}function T(O){return typeof O=="string"}function E(O){return typeof O=="symbol"}function w(O){return O instanceof globalThis.Uint8Array}function C(O){return O===void 0}},31340(f,d,e){"use strict";e.d(d,{g:()=>h,n:()=>b});var n=e(19568),r=e(78542);function a(T){const E=[];for(const w of T)E.push(h(w));return E}function i(T){const E=a(T);return(0,n.lw)(E)}function s(T){const E=a(T);return(0,n.vC)(E)}function u(T){return T.map((E,w)=>w.toString())}function l(T){return["[number]"]}function m(T){return globalThis.Object.getOwnPropertyNames(T)}function g(T){return v?globalThis.Object.getOwnPropertyNames(T).map(w=>w[0]==="^"&&w[w.length-1]==="$"?w.slice(1,w.length-1):w):[]}function h(T){return(0,r.Yq)(T)?i(T.allOf):(0,r.my)(T)?s(T.anyOf):(0,r.PN)(T)?u(T.items??[]):(0,r.QS)(T)?l(T.items):(0,r.av)(T)?m(T.properties):(0,r.cZ)(T)?g(T.patternProperties):[]}let v=!1;function b(T){v=!0;const E=h(T);return v=!1,`^(${E.map(C=>`(${C})`).join("|")})$`}},80463(f,d,e){"use strict";e.d(d,{p:()=>a});var n=e(68189),r=e(82795);function a(i){return(0,n.v)({[r.b8]:"Never",not:{}},i)}},19568(f,d,e){"use strict";e.d(d,{lN:()=>a,lw:()=>g,oU:()=>n,vC:()=>m});function n(h,v){return h.includes(v)}function r(h,v){return h.every(b=>n(v,b))}function a(h){return[...new Set(h)]}function i(h,v){return h.filter(b=>v.includes(b))}function s(h,v){return[...h,...v]}function u(h,v){return h.filter(b=>!v.includes(b))}function l(h,v){return h.reduce((b,T)=>i(b,T),v)}function m(h){return h.length===1?h[0]:h.length>1?l(h.slice(1),h[0]):[]}function g(h){const v=[];for(const b of h)v.push(...b);return v}},82795(f,d,e){"use strict";e.d(d,{Ck:()=>i,H7:()=>n,b8:()=>s,hi:()=>r,tJ:()=>a});const n=Symbol.for("TypeBox.Transform"),r=Symbol.for("TypeBox.Readonly"),a=Symbol.for("TypeBox.Optional"),i=Symbol.for("TypeBox.Hint"),s=Symbol.for("TypeBox.Kind")},87978(f,d,e){"use strict";e.d(d,{$p:()=>fe,Ef:()=>J,G4:()=>b,H1:()=>n,IP:()=>ye,Mx:()=>he,OD:()=>s,QS:()=>V,R1:()=>q,XF:()=>u,Zx:()=>
740re,av:()=>W,cQ:()=>ae,hg:()=>ve,jo:()=>r,nH:()=>Ue});function n(de){return W(de)&&globalThis.Symbol.asyncIterator in de}function r(de){return W(de)&&globalThis.Symbol.iterator in de}function a(de){return W(de)&&(globalThis.Object.getPrototypeOf(de)===Object.prototype||globalThis.Object.getPrototypeOf(de)===null)}function i(de){return W(de)&&!V(de)&&ve(de.constructor)&&de.constructor.name!=="Object"}function s(de){return de instanceof globalThis.Promise}function u(de){return de instanceof Date&&globalThis.Number.isFinite(de.getTime())}function l(de){return de instanceof globalThis.Map}function m(de){return de instanceof globalThis.Set}function g(de){return de instanceof globalThis.RegExp}function h(de){return globalThis.ArrayBuffer.isView(de)}function v(de){return de instanceof globalThis.Int8Array}function b(de){return de instanceof globalThis.Uint8Array}function T(de){return de instanceof globalThis.Uint8ClampedArray}function E(de){return de instanceof globalThis.Int16Array}function w(de){return de instanceof globalThis.Uint16Array}function C(de){return de instanceof globalThis.Int32Array}function O(de){return de instanceof globalThis.Uint32Array}function U(de){return de instanceof globalThis.Float32Array}function D(de){return de instanceof globalThis.Float64Array}function F(de){return de instanceof globalThis.BigInt64Array}function j(de){return de instanceof globalThis.BigUint64Array}function M(de,xe){return xe in de}function W(de){return de!==null&&typeof de=="object"}function V(de){return globalThis.Array.isArray(de)&&!globalThis.ArrayBuffer.isView(de)}function q(de){return de===void 0}function J(de){return de===null}function re(de){return typeof de=="boolean"}function he(de){return typeof de=="number"}function fe(de){return globalThis.Number.isInteger(de)}function ae(de){return typeof de=="bigint"}function ye(de){return typeof de=="string"}function ve(de){return typeof de=="function"}function Ue(de){return typeof de=="symbol"}function We(de){return ae(de)||re(de)||J(de)||he(de)||ye(de)||Ue(de)||q(de)}},631(f,d,e){"use strict";e.d(d,{A:()=>g});var n=e(47546);class r{type;coordMeta;coordRange;range;constructor(b,T){if(typeof b=="object"&&(this.coordMeta=b),T&&(this.coordMeta=T,this.coordRange=T.range??T.refRange),typeof b=="string"){let E=b.trim().match(/^(?<type><[a-z]+>)(\[(?<min>-?[.\d]+),\s*(?<max>-?[.\d]+)\])?$/);if(!E)throw new TypeError(`Cannot parse ${b} as a type definition.`);this.type=E.groups.type;let{min:w,max:C}=E.groups;(w||C)&&(this.range=[+w,+C])}}get computedRange(){return this.range?this.range:this.type==="<percentage>"?this.percentageRange():this.type==="<angle>"?[0,360]:null}get unit(){return this.type==="<percentage>"?"%":this.type==="<angle>"?"deg":""}resolve(b){if(this.type==="<angle>")return b;let T=this.computedRange,E=this.coordRange;return this.type==="<percentage>"&&(E??=this.percentageRange()),(0,n._b)(T,E,b)}serialize(b,T){let E=this.type==="<percentage>"?this.percentageRange(100):this.computedRange,w=this.unit;return b=(0,n._b)(this.coordRange,E,b),(0,n.g1)(b,{unit:w,precision:T})}toString(){let b=this.type;if(this.range){let[T="",E=""]=this.range;b+=`[${T},${E}]`}return b}percentageRange(b=1){let T;return this.coordMeta&&this.coordMeta.range||this.coordRange&&this.coordRange[0]>=0?T=[0,1]:T=[-1,1],[T[0]*b,T[1]*b]}static get(b,T){return(0,n.Qs)(b,this)?b:new this(b,T)}}const a=Symbol("instance");class i{type;name;spaceCoords;coords;id;alpha;constructor(b,T=b.space){b[a]=this,this.type="function",this.name="color",Object.assign(this,b),this.space=T,this.type!=="custom"&&(this.spaceCoords=Object.values(T.coords),this.coords||(this.coords=this.spaceCoords.map(E=>{let w=["<number>","<percentage>"];return E.type==="angle"&&w.push("<angle>"),w})),this.coords=this.coords.map((E,w)=>{let C=this.spaceCoords[w];return typeof E=="string"&&(E=E.trim().split(/\s*\|\s*/)),E.map(O=>r.get(O,C))}))}serializeCoords(b,T,E){return E=b.map((w,C)=>r.get(E?.[C]??this.coords[C][0],this.spaceCoords[C])),b.map((w,C)=>E[C].serialize(w,T))}coerceCoords(b,T){return Object.entries(this.space.coords).map(([E,w],C)=>{let O=b[C];if((0,n.$I)(O)||isNaN(O))return O;let U=T[C],D=this.coords[C].find(F=>F.type==U);if(!D){let F=w.name||E;throw new TypeError(`${U??O?.raw??O} not allowed for ${F} in ${this.name}()`)}return O=D.resolve(O),D.range&&(T[C]=D.toString()),O})}canSerialize(){return this.type==="function"||this.serialize}parse(b){return null}static get(b,...T){return!b||(0,n.Qs)(b,this)?b:b[a]?b[a]:new i(b,...T)}}var s=e(47444),u=e(75064),l=e(97393);const m=75e-6;class g{constructor(b){this.id=b.id,this.name=b.name,this.base=b.base?g.get(b.base):null,this.aliases=b.aliases,this.base&&(this.fromBase=b.fromBase,this.toBase=b.toBase);let T=b.coords??this.base.coords;for(let w in T)"name"in T[w]||(T[w].name=w);this.coords=T;let E=b.white??this.base.white??"D65";this.white=(0,s.ie)(E),this.formats=b.formats??{};for(let w in this.formats){let C=this.formats[w];C.type||="function",C.name||=w}this.formats.color?.id||(this.formats.color={...this.formats.color??{},id:b.cssId||this.id}),b.gamutSpace?this.gamutSpace=b.gamutSpace==="self"?this:g.get(b.gamutSpace):this.isPolar?this.gamutSpace=this.base:this.gamutSpace=this,this.gamutSpace.isUnbounded&&(this.inGamut=(w,C)=>!0),this.referred=b.referred,Object.defineProperty(this,"path",{value:h(this).reverse(),writable:!1,enumerable:!0,configurable:!0}),u.A.run("colorspace-init-end",this)}inGamut(b,{epsilon:T=m}={}){if(!this.equals(this.gamutSpace))return b=this.to(this.gamutSpace,b),this.gamutSpace.inGamut(b,{epsilon:T});let E=Object.values(this.coords);return b.every((w,C)=>{let O=E[C];if(O.type!=="angle"&&O.range){if((0,n.$I)(w))return!0;let[U,D]=O.range;return(U===void 0||w>=U-T)&&(D===void 0||w<=D+T)}return!0})}get isUnbounded(){return Object.values(this.coords).every(b=>!("range"in b))}get cssId(){return this.formats?.color?.id||this.id}get isPolar(){for(let b in this.coords)if(this.coords[b].type==="angle")return!0;return!1}getFormat(b){if(!b)return null;b==="default"?b=Object.values(this.formats)[0]:typeof b=="string"&&(b=this.formats[b]);let T=i.get(b,this);return T!==b&&b.name in this.formats&&(this.formats[b.name]=T),T}equals(b){return b?this===b||this.id===b||this.id===b.id:!1}to(b,T){if(arguments.length===1){const U=(0,l.A)(b);[b,T]=[U.space,U.coords]}if(b=g.get(b),this.equals(b))return T;T=T.map(U=>(0,n.$I)(U)?0:U);let E=this.path,w=b.path,C,O;for(let U=0;U<E.length&&E[U].equals(w[U]);U++)C=E[U],O=U;if(!C)throw new Error(`Cannot convert between color spaces ${this} and ${b}: no connection space was found`);for(let U=E.length-1;U>O;U--)T=E[U].toBase(T);for(let U=O+1;U<w.length;U++)T=w[U].fromBase(T);return T}from(b,T){if(arguments.length===1){const E=(0,l.A)(b);[b,T]=[E.space,E.coords]}return b=g.get(b),b.to(this,T)}toString(){return`${this.name} (${this.id})`}getMinCoords(){let b=[];for(let T in this.coords){let E=this.coords[T],w=E.range||E.refRange;b.push(w?.min??0)}return b}static registry={};static get all(){return[...new Set(Object.values(g.registry))]}static register(b,T){if(arguments.length===1&&(T=arguments[0],b=T.id),T=this.get(T),this.registry[b]&&this.registry[b]!==T)throw new Error(`Duplicate color space registration: '${b}'`);if(this.registry[b]=T,arguments.length===1&&T.aliases)for(let E of T.aliases)this.register(E,T);return T}static get(b,...T){if(!b||(0,n.Qs)(b,this))return b;if((0,n.NW)(b)==="string"){let w=g.registry[b.toLowerCase()];if(!w)throw new TypeError(`No color space found with id = "${b}"`);return w}if(T.length)return g.get(...T);throw new TypeError(`${b} is not a valid color space`)}static findFormat(b,T=g.all){if(!b)return null;typeof b=="string"&&(b={name:b});for(let E of T)for(let[w,C]of Object.entries(E.formats)){C.name??=w,C.type??="function";let O=(!b.name||C.name===b.name)&&(!b.type||C.type===b.type);if(b.id){let U=C.ids||[C.id],D=Array.isArray(b.id)?b.id:[b.id];O&&=D.some(F=>U.includes(F))}if(O){let U=i.get(C,E);return U!==C&&(E.formats[C.name]=U),U}}return null}
740static resolveCoord(b,T){let E=(0,n.NW)(b),w,C;if(E==="string"?b.includes(".")?[w,C]=b.split("."):[w,C]=[,b]:Array.isArray(b)?[w,C]=b:(w=b.space,C=b.coordId),w=g.get(w),w||(w=T),!w)throw new TypeError(`Cannot resolve coordinate reference ${b}: No color space specified and relative references are not allowed here`);if(E=(0,n.NW)(C),E==="number"||E==="string"&&C>=0){let D=Object.entries(w.coords)[C];if(D)return{space:w,id:D[0],index:C,...D[1]}}w=g.get(w);let O=C.toLowerCase(),U=0;for(let D in w.coords){let F=w.coords[D];if(D.toLowerCase()===O||F.name?.toLowerCase()===O)return{space:w,id:D,index:U,...F};U++}throw new TypeError(`No "${C}" coordinate found in ${w.name}. Its coordinates are: ${Object.keys(w.coords).join(", ")}`)}static DEFAULT_FORMAT={type:"functions",name:"color"}}function h(v){let b=[v];for(let T=v;T=T.base;)b.push(T);return b}},47444(f,d,e){"use strict";e.d(d,{Ay:()=>s,FL:()=>a,ie:()=>i});var n=e(75064),r=e(86891);const a={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function i(u){return Array.isArray(u)?u:a[u]}function s(u,l,m,g={}){if(u=i(u),l=i(l),!u||!l)throw new TypeError(`Missing white point to convert ${u?"":"from"}${!u&&!l?"/":""}${l?"":"to"}`);if(u===l)return m;let h={W1:u,W2:l,XYZ:m,options:g};if(n.A.run("chromatic-adaptation-start",h),h.M||(h.W1===a.D65&&h.W2===a.D50?h.M=[[1.0479297925449969,.022946870601609652,-.05019226628920524],[.02962780877005599,.9904344267538799,-.017073799063418826],[-.009243040646204504,.015055191490298152,.7518742814281371]]:h.W1===a.D50&&h.W2===a.D65&&(h.M=[[.955473421488075,-.02309845494876471,.06325924320057072],[-.0283697093338637,1.0099953980813041,.021041441191917323],[.012314014864481998,-.020507649298898964,1.330365926242124]])),n.A.run("chromatic-adaptation-end",h),h.M)return(0,r.R)(h.XYZ,h.M);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}},46916(f,d,e){"use strict";e.d(d,{A:()=>n});const n={gamut_mapping:"css",precision:5,deltaE:"76",verbose:globalThis?.process?.env?.NODE_ENV?.toLowerCase()!=="test",warn:function(a){this.verbose&&globalThis?.console?.warn?.(a)}}},97393(f,d,e){"use strict";e.d(d,{A:()=>i});var n=e(631),r=e(47546),a=e(3891);function i(s,u){if(Array.isArray(s))return s.map(m=>i(m,u));if(!s)throw new TypeError("Empty color reference");(0,r.Kg)(s)&&(s=(0,a.Ay)(s,u));let l=s.space||s.spaceId;return typeof l=="string"&&(s.space=n.A.get(l)),s.alpha===void 0&&(s.alpha=1),s}},75064(f,d,e){"use strict";e.d(d,{A:()=>a});
740class n{add(s,u,l){if(typeof arguments[0]!="string"){for(var s in arguments[0])this.add(s,arguments[0][s],arguments[1]);return}(Array.isArray(s)?s:[s]).forEach(function(m){this[m]=this[m]||[],u&&this[m][l?"unshift":"push"](u)},this)}run(s,u){this[s]=this[s]||[],this[s].forEach(function(l){l.call(u&&u.context?u.context:u,u)})}}const a=new n},23932(f,d,e){"use strict";e.d(d,{v2:()=>pa,qg:()=>r.Ay,to:()=>ks});var n={};e.r(n),e.d(n,{contrastAPCA:()=>io,contrastDeltaPhi:()=>Aa,contrastLstar:()=>Cr,contrastMichelson:()=>za,contrastWCAG21:()=>eo,contrastWeber:()=>ys});var r=e(3891),a=e(97393),i=e(631),s=e(47546),u=e(46916),l=e(47444),m=e(72961);const g=new i.A({id:"xyz-d50",name:"XYZ D50",white:"D50",base:m.A,fromBase:Pt=>(0,l.Ay)(m.A.white,"D50",Pt),toBase:Pt=>(0,l.Ay)("D50",m.A.white,Pt)}),h=216/24389,v=24/116,b=24389/27;let T=l.FL.D50;const E=new i.A({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"Lightness"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:T,base:g,fromBase(Pt){let xr=Pt.map((ge,je)=>ge/T[je]).map(ge=>ge>h?Math.cbrt(ge):(b*ge+16)/116),$r=116*xr[1]-16,bn=500*(xr[0]-xr[1]),Yr=200*(xr[1]-xr[2]);return[$r,bn,Yr]},toBase(Pt){let[$t,xr,$r]=Pt,bn=[];return bn[1]=($t+16)/116,bn[0]=xr/500+bn[1],bn[2]=bn[1]-$r/200,[bn[0]>v?Math.pow(bn[0],3):(116*bn[0]-16)/b,Pt[0]>8?Math.pow((Pt[0]+16)/116,3):Pt[0]/b,bn[2]>v?Math.pow(bn[2],3):(116*bn[2]-16)/b].map((ge,je)=>ge*T[je])},formats:{lab:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}});var w;function C(Pt){return typeof Pt!="number"?Pt:(Pt%360+360)%360}function O(Pt,$t){let[xr,$r]=$t,bn=w.isNone(xr),Yr=w.isNone($r);if(bn&&Yr)return[xr,$r];if(bn?xr=$r:Yr&&($r=xr),Pt==="raw")return $t;xr=C(xr),$r=C($r);let ge=$r-xr;return Pt==="increasing"?ge<0&&($r+=360):Pt==="decreasing"?ge>0&&(xr+=360):Pt==="longer"?-180<ge&&ge<180&&(ge>0?xr+=360:$r+=360):Pt==="shorter"&&(ge>180?xr+=360:ge<-180&&($r+=360)),[xr,$r]}const U=new i.A({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:E,fromBase(Pt){if(this.\u03B5===void 0){let je=Object.values(this.base.coords)[1].refRange,bt=je[1]-je[0];this.\u03B5=bt/1e5}let[$t,xr,$r]=Pt,bn=Math.abs(xr)<this.\u03B5&&Math.abs($r)<this.\u03B5,Yr=bn?null:C(Math.atan2($r,xr)*180/Math.PI),ge=bn?0:Math.sqrt(xr**2+$r**2);return[$t,ge,Yr]},toBase(Pt){let[$t,xr,$r]=Pt,bn=null,Yr=null;return(0,s.$I)($r)||(xr=xr<0?0:xr,bn=xr*Math.cos($r*Math.PI/180),Yr=xr*Math.sin($r*Math.PI/180)),[$t,bn,Yr]},formats:{lch:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <angle>"]}}}),D=25**7,F=Math.PI,j=180/F,M=F/180;function W(Pt){const $t=Pt*Pt;return $t*$t*$t*Pt}function V(Pt,$t,{kL:xr=1,kC:$r=1,kH:bn=1}={}){[Pt,$t]=(0,a.A)([Pt,$t]);let[Yr,ge,je]=E.from(Pt),bt=U.from(E,[Yr,ge,je])[1],[yt,sr,pr]=E.from($t),hr=U.from(E,[yt,sr,pr])[1];bt<0&&(bt=0),hr<0&&(hr=0);let Xn=(bt+hr)/2,Un=W(Xn),Fi=.5*(1-Math.sqrt(Un/(Un+D))),ti=(1+Fi)*ge,Ai=(1+Fi)*sr,qn=Math.sqrt(ti**2+je**2),$e=Math.sqrt(Ai**2+pr**2),Je=ti===0&&je===0?0:Math.atan2(je,ti),Ct=Ai===0&&pr===0?0:Math.atan2(pr,Ai);Je<0&&(Je+=2*F),Ct<0&&(Ct+=2*F),Je*=j,Ct*=j;let Ot=yt-Yr,Wt=$e-qn,Er=Ct-Je,Hr=Je+Ct,mn=Math.abs(Er),di;qn*$e===0?di=0:mn<=180?di=Er:Er>180?di=Er-360:Er<-180?di=Er+360:u.A.warn("the unthinkable has happened");let si=2*Math.sqrt($e*qn)*Math.sin(di*M/2),Pe=(Yr+yt)/2,He=(qn+$e)/2,ft=W(He),Le;qn*$e===0?Le=Hr:mn<=180?Le=Hr/2:Hr<360?Le=(Hr+360)/2:Le=(Hr-360)/2;let De=(Pe-50)**2,lt=1+.015*De/Math.sqrt(20+De),gt=1+.045*He,Zt=1;Zt-=.17*Math.cos((Le-30)*M),Zt+=.24*Math.cos(2*Le*M),Zt+=.32*Math.cos((3*Le+6)*M),Zt-=.2*Math.cos((4*Le-63)*M);let xn=1+.015*He*Zt,dn=30*Math.exp(-1*((Le-275)/25)**2),vn=2*Math.sqrt(ft/(ft+D)),$n=-1*Math.sin(2*dn*M)*vn,Ui=(Ot/(xr*lt))**2;return Ui+=(Wt/($r*gt))**2,Ui+=(si/(bn*xn))**2,Ui+=$n*(Wt/($r*gt))*(si/(bn*xn)),Math.sqrt(Ui)}var q=e(86891);const J=[[.819022437996703,.3619062600528904,-.1288737815209879],[.0329836539323885,.9292868615863434,.0361446663506424],[.0481771893596242,.2642395317527308,.6335478284694309]],re=[[1.2268798758459243,-.5578149944602171,.2813910456659647],[-.0405757452148008,1.11228680328
7400317,-.0717110580655164],[-.0763729366746601,-.4214933324022432,1.5869240198367816]],he=[[.210454268309314,.7936177747023054,-.0040720430116193],[1.9779985324311684,-2.42859224204858,.450593709617411],[.0259040424655478,.7827717124575296,-.8086757549230774]],fe=[[1,.3963377773761749,.2158037573099136],[1,-.1055613458156586,-.0638541728258133],[1,-.0894841775298119,-1.2914855480194092]],ae=new i.A({id:"oklab",name:"Oklab",coords:{l:{refRange:[0,1],name:"Lightness"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:m.A,fromBase(Pt){let $t=(0,q.R)(Pt,J);return $t[0]=Math.cbrt($t[0]),$t[1]=Math.cbrt($t[1]),$t[2]=Math.cbrt($t[2]),(0,q.R)($t,he,$t)},toBase(Pt){let $t=(0,q.R)(Pt,fe);return $t[0]=$t[0]**3,$t[1]=$t[1]**3,$t[2]=$t[2]**3,(0,q.R)($t,re,$t)},formats:{oklab:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}});function ye(Pt,$t){[Pt,$t]=(0,a.A)([Pt,$t]);let[xr,$r,bn]=ae.from(Pt),[Yr,ge,je]=ae.from($t),bt=xr-Yr,yt=$r-ge,sr=bn-je;return Math.sqrt(bt**2+yt**2+sr**2)}const ve=75e-6;function Ue(Pt,$t,{epsilon:xr=ve}={}){Pt=(0,a.A)(Pt),$t||($t=Pt.space),$t=i.A.get($t);let $r=Pt.coords;return $t!==Pt.space&&($r=$t.from(Pt)),$t.inGamut($r,{epsilon:xr})}function We(Pt,$t){Pt=(0,a.A)(Pt);let xr=i.A.get($t,$t?.space),$r=$t?.precision,bn;return!xr||Pt.space.equals(xr)?bn=Pt.coords.slice():bn=xr.from(Pt),$r===void 0?bn:bn.map(Yr=>(0,s.QX)(Yr,$r))}function de(Pt,$t){if(Pt=(0,a.A)(Pt),$t==="alpha")return Pt.alpha??1;let{space:xr,index:$r}=i.A.resolveCoord($t,Pt.space);return We(Pt,xr)[$r]}function xe(Pt,$t,xr,$r){return Pt=(0,a.A)(Pt),Array.isArray($t)&&([$t,xr,$r]=[Pt.space,$t,xr]),$t=i.A.get($t),Pt.coords=$t===Pt.space?xr.slice():$t.to(Pt.space,xr),$r!==void 0&&(Pt.alpha=$r),Pt}xe.returns="color";function Fe(Pt,$t,xr){if(Pt=(0,a.A)(Pt),arguments.length===2&&(0,s.NW)(arguments[1])==="object"){let $r=arguments[1];for(let bn in $r)Fe(Pt,bn,$r[bn])}else if(typeof xr=="function"&&(xr=xr(de(Pt,$t))),$t==="alpha")Pt.alpha=xr;else{let{space:$r,index:bn}=i.A.resolveCoord($t,Pt.space),Yr=We(Pt,$r);Yr[bn]=xr,xe(Pt,$r,Yr)}return Pt}Fe.returns="color";function Xe(Pt){return{space:Pt.space,coords:Pt.coords.slice(),alpha:Pt.alpha}}function Me(Pt,$t,xr="lab"){xr=i.A.get(xr);let $r=xr.from(Pt),bn=xr.from($t);return Math.sqrt($r.reduce((Yr,ge,je)=>{let bt=bn[je];return(0,s.$I)(ge)||(0,s.$I)(bt)?Yr:Yr+(bt-ge)**2},0))}function Ze(Pt,$t){return Me(Pt,$t,"lab")}const mt=Math.PI/180;function Xt(Pt,$t,{l:xr=2,c:$r=1}={}){[Pt,$t]=(0,a.A)([Pt,$t]);let[bn,Yr,ge]=E.from(Pt),[,je,bt]=U.from(E,[bn,Yr,ge]),[yt,sr,pr]=E.from($t),hr=U.from(E,[yt,sr,pr])[1];je<0&&(je=0),hr<0&&(hr=0);let Xn=bn-yt,Un=je-hr,Fi=Yr-sr,ti=ge-pr,Ai=Fi**2+ti**2-Un**2,qn=.511;bn>=16&&(qn=.040975*bn/(1+.01765*bn));let $e=.0638*je/(1+.0131*je)+.638,Je;(0,s.$I)(bt)&&(bt=0),bt>=164&&bt<=345?Je=.56+Math.abs(.2*Math.cos((bt+168)*mt)):Je=.36+Math.abs(.4*Math.cos((bt+35)*mt));let Ct=Math.pow(je,4),Ot=Math.sqrt(Ct/(Ct+1900)),Wt=$e*(Ot*Je+1-Ot),Er=(Xn/(xr*qn))**2;return Er+=(Un/($r*$e))**2,Er+=Ai/Wt**2,Math.sqrt(Er)}const jt=203,Lt=new i.A({id:"xyz-abs-d65",cssId:"--xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:m.A,fromBase(Pt){return Pt.map($t=>$t*jt)},toBase(Pt){return Pt.map($t=>$t/jt)}}),Ht=1.15,vr=.66,Fr=2610/2**14,fn=2**14/2610,Kr=3424/2**12,Sn=2413/2**7,Fn=2392/2**7,Et=1.7*2523/2**5,st=2**5/(1.7*2523),Wr=-.56,Dr=16295499532821565e-27,Tr=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],gr=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],ir=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],Mr=[[1,.13860504327153927,.05804731615611883],[1,-.1386050432715393,-.058047316156118904],[1,-.09601924202631895,-.811891896056039]],Lr=new i.A({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.21,.21]},bz:{refRange:[-.21,.21]}},base:Lt,fromBase(Pt){let[$t,xr,$r]=Pt,bn=Ht*$t-(Ht-1)*$r,Yr=vr*xr-(vr-1)*$t,je=(0,q.R)([bn,Yr,$r],Tr).map(function(hr){let Xn=Kr+Sn*(0,s.kR)(hr/1e4,Fr),Un=1+Fn*(0,s.kR)(hr/1e4,Fr);return(0,s.kR)(Xn/Un,Et)}),[bt,yt,sr]=(0,q.R)(je,ir);return[(1+Wr)*bt/(1+Wr*bt)-Dr,yt,sr]},toBase(Pt){let[$t,xr,$r]=Pt,bn=($t+Dr)/(1+Wr-Wr*($t+Dr)),ge=(0,q.R)([bn,xr,$r],Mr).map(function(hr){let Xn=Kr-(0,s.kR)(hr,st),Un=Fn*(0,s.kR)(hr,st)-Sn;return 1e4*(0,s.kR)(Xn/Un,fn)}),[je,bt,yt]=(0,q.R)(ge,gr),sr=(je+(Ht-1)*yt)/Ht,pr=(bt+(vr-1)*sr)/vr;return[sr,pr,yt]},formats:{jzazbz:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}}),un=new i.A({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,.26],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Lr,fromBase:U.fromBase,toBase:U.toBase,formats:{jzczhz:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <angle>"]}}});function hn(Pt,$t){[Pt,$t]=(0,a.A)([Pt,$t]);let[xr,$r,bn]=un.from(Pt),[Yr,ge,je]=un.from($t),bt=xr-Yr,yt=$r-ge;(0,s.$I)(bn)&&(0,s.$I)(je)?(bn=0,je=0):(0,s.$I)(bn)?bn=je:(0,s.$I)(je)&&(je=bn);
740let sr=bn-je,pr=2*Math.sqrt($r*ge)*Math.sin(sr/2*(Math.PI/180));return Math.sqrt(bt**2+yt**2+pr**2)}const rr=3424/4096,Gr=2413/128,er=2392/128,At=2610/16384,dr=2523/32,Y=16384/2610,ot=32/2523,Yt=[[.3592832590121217,.6976051147779502,-.035891593232029],[-.1920808463704993,1.100476797037432,.0753748658519118],[.0070797844607479,.0748396662186362,.8433265453898765]],it=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],Mt=[[.9999999999999998,.0086090370379328,.111029625003026],[.9999999999999998,-.0086090370379328,-.1110296250030259],[.9999999999999998,.5600313357106791,-.3206271749873188]],an=[[2.0701522183894223,-1.3263473389671563,.2066510476294053],[.3647385209748072,.6805660249472273,-.0453045459220347],[-.0497472075358123,-.0492609666966131,1.1880659249923042]],Cn=new i.A({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:Lt,fromBase(Pt){let $t=(0,q.R)(Pt,Yt);return Ln($t)},toBase(Pt){let $t=In(Pt);return(0,q.R)($t,an)},formats:{ictcp:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}});function Ln(Pt){let $t=Pt.map(function(xr){let $r=rr+Gr*(xr/1e4)**At,bn=1+er*(xr/1e4)**At;return($r/bn)**dr});return(0,q.R)($t,it)}function In(Pt){return(0,q.R)(Pt,Mt).map(function($r){let bn=Math.max($r**ot-rr,0),Yr=Gr-er*$r**ot;return 1e4*(bn/Yr)**Y})}function Si(Pt,$t){[Pt,$t]=(0,a.A)([Pt,$t]);let[xr,$r,bn]=Cn.from(Pt),[Yr,ge,je]=Cn.from($t);return 720*Math.sqrt((xr-Yr)**2+.25*($r-ge)**2+(bn-je)**2)}function $i(Pt,$t){[Pt,$t]=(0,a.A)([Pt,$t]);let xr=2,[$r,bn,Yr]=ae.from(Pt),[ge,je,bt]=ae.from($t),yt=$r-ge,sr=xr*(bn-je),pr=xr*(Yr-bt);return Math.sqrt(yt**2+sr**2+pr**2)}const tn=l.FL.D65,Hi=.42,Ji=1/Hi,Yi=2*Math.PI,Ki=[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],mi=[[1.8620678550872327,-1.0112546305316843,.14918677544445175],[.38752654323613717,.6214474419314753,-.008973985167612518],[-.015841498849333856,-.03412293802851557,1.0499644368778496]],ws=[[460,451,288],[460,-891,-261],[460,-220,-6300]],Zn={dark:[.8,.525,.8],dim:[.9,.59,.9],average:[1,.69,1]},fs={h:[20.14,90,164.25,237.53,380.14],e:[.8,.7,1,1.2,.8],H:[0,100,200,300,400]},cs=180/Math.PI,vs=Math.PI/180;function wr(Pt,$t){return Pt.map($r=>{const bn=(0,s.kR)($t*Math.abs($r)*.01,Hi);return 400*(0,s.pG)(bn,$r)/(bn+27.13)})}function we(Pt,$t){const xr=100/$t*27.13**Ji;return Pt.map($r=>{const bn=Math.abs($r);return(0,s.pG)(xr*(0,s.kR)(bn/(400-bn),Ji),$r)})}function Ke(Pt){let $t=C(Pt);$t<=fs.h[0]&&($t+=360);const xr=(0,s.ah)(fs.h,$t)-1,[$r,bn]=fs.h.slice(xr,xr+2),[Yr,ge]=fs.e.slice(xr,xr+2),je=fs.H[xr],bt=($t-$r)/Yr;return je+100*bt/(bt+(bn-$t)/ge)}function ut(Pt){let $t=(Pt%400+400)%400;const xr=Math.floor(.01*$t);$t=$t%100;const[$r,bn]=fs.h.slice(xr,xr+2),[Yr,ge]=fs.e.slice(xr,xr+2);return C(($t*(ge*$r-Yr*bn)-100*$r*ge)/($t*(ge-Yr)-100*ge))}function Kt(Pt,$t,xr,$r,bn){const Yr={};Yr.discounting=bn,Yr.refWhite=Pt,Yr.surround=$r;const ge=Pt.map(ti=>ti*100);Yr.la=$t,Yr.yb=xr;const je=ge[1],bt=(0,q.R)(ge,Ki);let yt=Zn[Yr.surround];const sr=yt[0];Yr.c=yt[1],Yr.nc=yt[2];const hr=(1/(5*Yr.la+1))**4;Yr.fl=hr*Yr.la+.1*(1-hr)*(1-hr)*Math.cbrt(5*Yr.la),Yr.flRoot=Yr.fl**.25,Yr.n=Yr.yb/je,Yr.z=1.48+Math.sqrt(Yr.n),Yr.nbb=.725*Yr.n**-.2,Yr.ncb=Yr.nbb;const Xn=bn?1:Math.max(Math.min(sr*(1-1/3.6*Math.exp((-Yr.la-42)/92)),1),0);Yr.dRgb=bt.map(ti=>(0,s.GW)(1,je/ti,Xn)),Yr.dRgbInv=Yr.dRgb.map(ti=>1/ti);const Un=bt.map((ti,Ai)=>ti*Yr.dRgb[Ai]),Fi=wr(Un,Yr.fl);return Yr.aW=Yr.nbb*(2*Fi[0]+Fi[1]+.05*Fi[2]),Yr}const ar=Kt(tn,64/Math.PI*.2,20,"average",!1);function Wn(Pt,$t){if(!(Pt.J!==void 0^Pt.Q!==void 0))throw new Error("Conversion requires one and only one: 'J' or 'Q'");if(!(Pt.C!==void 0^Pt.M!==void 0^Pt.s!==void 0))throw new Error("Conversion requires one and only one: 'C', 'M' or 's'");if(!(Pt.h!==void 0^Pt.H!==void 0))throw new Error("Conversion requires one and only one: 'h' or 'H'");if(Pt.J===0||Pt.Q===0)return[0,0,0];let xr=0;Pt.h!==void 0?xr=C(Pt.h)*vs:xr=ut(Pt.H)*vs;const $r=Math.cos(xr),bn=Math.sin(xr);let Yr=0;Pt.J!==void 0?Yr=(0,s.kR)(Pt.J,1/2)*.1:Pt.Q!==void 0&&(Yr=.25*$t.c*Pt.Q/(($t.aW+4)*$t.flRoot));let ge=0;Pt.C!==void 0?ge=Pt.C/Yr:Pt.M!==void 0?ge=Pt.M/$t.flRoot/Yr:Pt.s!==void 0&&(ge=4e-4*Pt.s**2*($t.aW+4)/$t.c);const je=(0,s.kR)(ge*Math.pow(1.64-Math.pow(.29,$t.n),-.73),10/9),bt=.25*(Math.cos(xr+2)+3.8),yt=$t.aW*(0,s.kR)(Yr,2/$t.c/$t.z),sr=5e4/13*$t.nc*$t.ncb*bt,pr=yt/$t.nbb,hr=23*(pr+.305)*(0,s.Ed)(je,23*sr+je*(11*$r+108*bn)),Xn=hr*$r,Un=hr*bn,Fi=we((0,q.R)([pr,Xn,Un],ws).map(ti=>ti*1/1403),$t.fl);return(0,q.R)(Fi.map((ti,Ai)=>ti*$t.dRgbInv[Ai]),mi).map(ti=>ti/100)}function hi(Pt,$t){const xr=Pt.map($e=>$e*100),$r=wr((0,q.R)(xr,Ki).map(($e,Je)=>$e*$t.dRgb[Je]),$t.fl),bn=$r[0]+(-12*$r[1]+$r[2])/11,Yr=($r[0]+$r[1]-2*$r[2])/9,ge=(Math.atan2(Yr,bn)%Yi+Yi)%Yi,je=.25*(Math.cos(ge+2)+3.8),bt=5e4/13*$t.nc*$t.ncb*(0,s.Ed)(je*Math.sqrt(bn**2+Yr**2),$r[0]+$r[1]+1.05*$r[2]+.305),yt=(0,s.kR)(bt,.9)*Math.pow(1.64-Math.pow(.29,$t.n),.73),sr=$t.nbb*(2*$r[0]+$r[1]+.05*$r[2]),pr=(0,s.kR)(sr/$t.aW,.5*$t.c*$t.z),hr=100*(0,s.kR)(pr,2),Xn=4/$t.c*pr*($t.aW+4)*$t.flRoot,Un=yt*pr,Fi=Un*$t.flRoot,ti=C(ge*cs),Ai=Ke(ti),qn=50*(0,s.kR)($t.c*yt/($t.aW+4),
7401/2);return{J:hr,C:Un,h:ti,s:qn,Q:Xn,M:Fi,H:Ai}}const Tt=new i.A({id:"cam16-jmh",cssId:"--cam16-jmh",name:"CAM16-JMh",coords:{j:{refRange:[0,100],name:"J"},m:{refRange:[0,105],name:"Colorfulness"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:m.A,fromBase(Pt){this.\u03B5===void 0&&(this.\u03B5=Object.values(this.coords)[1].refRange[1]/1e5);const $t=hi(Pt,ar),xr=Math.abs($t.M)<this.\u03B5;return[$t.J,xr?0:$t.M,xr?null:$t.h]},toBase(Pt){return Wn({J:Pt[0],M:Pt[1],h:Pt[2]},ar)}}),qr=l.FL.D65,Vr=216/24389,Or=24389/27;function Pn(Pt){return 116*(Pt>Vr?Math.cbrt(Pt):(Or*Pt+16)/116)-16}function zr(Pt){return Pt>8?Math.pow((Pt+16)/116,3):Pt/Or}function Hn(Pt,$t){let[xr,$r,bn]=Pt,Yr=[],ge=0;if(bn===0)return[0,0,0];let je=zr(bn);bn>0?ge=.00379058511492914*bn**2+.608983189401032*bn+.9155088574762233:ge=9514440756550361e-21*bn**2+.08693057439788597*bn-21.928975842194614;const bt=2e-12,yt=15;let sr=0,pr=1/0,hr=ge;for(;sr<=yt;){Yr=Wn({J:ge,C:$r,h:xr},$t);const Xn=Math.abs(Yr[1]-je);if(Xn<pr){if(Xn<=bt)return Yr;hr=ge,pr=Xn}ge=ge-(Yr[1]-je)*ge/(2*Yr[1]),sr+=1}return Wn({J:ge,C:$r,h:xr},$t)}function fi(Pt,$t){const xr=Pn(Pt[1]);if(xr===0)return[0,0,0];const $r=hi(Pt,Ti);return[C($r.h),$r.C,xr]}const Ti=Kt(qr,200/Math.PI*zr(50),zr(50)*100,"average",!1),ss=new i.A({id:"hct",name:"HCT",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},c:{refRange:[0,145],name:"Colorfulness"},t:{refRange:[0,100],name:"Tone"}},base:m.A,fromBase(Pt){this.\u03B5===void 0&&(this.\u03B5=Object.values(this.coords)[1].refRange[1]/1e5);let $t=fi(Pt,Ti);return $t[1]<this.\u03B5&&($t[1]=0,$t[0]=null),$t},toBase(Pt){return Hn(Pt,Ti)},formats:{color:{id:"--hct",coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"]}}}),xi=180/Math.PI,ms=Math.PI/180,wi=[1,.007,.0228];function Ls(Pt){Pt[1]<0&&(Pt=ss.fromBase(ss.toBase(Pt)));const $t=Math.log(Math.max(1+wi[2]*Pt[1]*Ti.flRoot,1))/wi[2],xr=Pt[0]*ms,$r=$t*Math.cos(xr),bn=$t*Math.sin(xr);return[Pt[2],$r,bn]}function as(Pt,$t){[Pt,$t]=(0,a.A)([Pt,$t]);let[xr,$r,bn]=Ls(ss.from(Pt)),[Yr,ge,je]=Ls(ss.from($t));return Math.sqrt((xr-Yr)**2+($r-ge)**2+(bn-je)**2)}const rs={deltaE76:Ze,deltaECMC:Xt,deltaE2000:V,deltaEJz:hn,deltaEITP:Si,deltaEOK:ye,deltaEOK2:$i,deltaEHCT:as};function xa(Pt){const $t=Pt?Math.floor(Math.log10(Math.abs(Pt))):0;return Math.max(parseFloat(`1e${$t-2}`),1e-6)}const ka={hct:{method:"hct.c",jnd:2,deltaEMethod:"hct",blackWhiteClamp:{}},"hct-tonal":{method:"hct.c",jnd:0,deltaEMethod:"hct",blackWhiteClamp:{channel:"hct.t",min:0,max:100}}};function Is(Pt,{method:$t=u.A.gamut_mapping,space:xr=void 0,deltaEMethod:$r="",jnd:bn=2,blackWhiteClamp:Yr=void 0}={}){if(Pt=(0,a.A)(Pt),s.Kg(arguments[1])?xr=arguments[1]:xr||(xr=Pt.space),xr=i.A.get(xr),Ue(Pt,xr,{epsilon:0}))return Pt;let ge;if($t==="css")ge=Gs(Pt,{space:xr});else{if($t!=="clip"&&!Ue(Pt,xr)){Object.prototype.hasOwnProperty.call(ka,$t)&&({method:$t,jnd:bn,deltaEMethod:$r,blackWhiteClamp:Yr}=ka[$t]);let je=V;if($r!==""){for(let yt in rs)if("deltae"+$r.toLowerCase()===yt.toLowerCase()){je=rs[yt];break}}bn===0&&(bn=1e-16);let bt=Is(ks(Pt,xr),{method:"clip",space:xr});if(je(Pt,bt)>bn){if(Yr&&Object.keys(Yr).length===3){let qn=i.A.resolveCoord(Yr.channel),$e=de(ks(Pt,qn.space),qn.id);if(s.$I($e)&&($e=0),$e>=Yr.max)return ks({space:"xyz-d65",coords:l.FL.D65},Pt.space);if($e<=Yr.min)return ks({space:"xyz-d65",coords:[0,0,0]},Pt.space)}let yt=i.A.resolveCoord($t),sr=yt.space,pr=yt.id,hr=ks(Pt,sr);hr.coords.forEach((qn,$e)=>{s.$I(qn)&&(hr.coords[$e]=0)});let Un=(yt.range||yt.refRange)[0],Fi=xa(bn),ti=Un,Ai=de(hr,pr);for(;Ai-ti>Fi;){let qn=Xe(hr);qn=Is(qn,{space:xr,method:"clip"}),je(hr,qn)-bn<Fi?ti=de(hr,pr):Ai=de(hr,pr),Fe(hr,pr,(ti+Ai)/2)}ge=ks(hr,xr)}else ge=bt}else ge=ks(Pt,xr);if($t==="clip"||!Ue(ge,xr,{epsilon:0})){let je=Object.values(xr.coords).map(bt=>bt.range||[]);ge.coords=ge.coords.map((bt,yt)=>{let[sr,pr]=je[yt];return sr!==void 0&&(bt=Math.max(sr,bt)),pr!==void 0&&(bt=Math.min(bt,pr)),bt})}}return xr!==Pt.space&&(ge=ks(ge,Pt.space)),Pt.coords=ge.coords,Pt}Is.returns="color";const Ms={WHITE:{space:ae,coords:[1,0,0],alpha:1},BLACK:{space:ae,coords:[0,0,0],alpha:1}};function Gs(Pt,{space:$t}={}){Pt=(0,a.A)(Pt),$t||($t=Pt.space),$t=i.A.get($t);const bn=i.A.get("oklch");if($t.isUnbounded)return ks(Pt,$t);const Yr=ks(Pt,bn);let ge=Yr.coords[0];if(ge>=1){const Un=ks(Ms.WHITE,$t);return Un.alpha=Pt.alpha,ks(Un,$t)}if(ge<=0){const Un=ks(Ms.BLACK,$t);return Un.alpha=Pt.alpha,ks(Un,$t)}if(Ue(Yr,$t,{epsilon:0}))return ks(Yr,$t);function je(Un){const Fi=ks(Un,$t),ti=Object.values($t.coords);return Fi.coords=Fi.coords.map((Ai,qn)=>{if("range"in ti[qn]){const[$e,Je]=ti[qn].range;return s.qE($e,Ai,Je)}return Ai}),Fi}let bt=0,yt=Yr.coords[1],sr=!0,pr=Xe(Yr),hr=je(pr),Xn=ye(hr,pr);if(Xn<.02)return hr;for(;yt-bt>1e-4;){const Un=(bt+yt)/2;if(pr.coords[1]=Un,sr&&Ue(pr,$t,{epsilon:0}))bt=Un;else if(hr=je(pr),Xn=ye(hr,pr),Xn<.02){if(.02-Xn<1e-4)break;sr=!1,bt=Un}else yt=Un}return hr}function ks(Pt,$t,{inGamut:xr}={}){Pt=(0,a.A)(Pt),$t=i.A.get($t);let $r=$t.from(Pt),bn={space:$t,coords:$r,alpha:Pt.alpha};return xr&&(bn=Is(bn,xr===!0?void 0:xr)),bn}ks.returns="color";var ha,Ys;function Ea(Pt){return de(Pt,[m.A,"y"])}function ia(Pt,$t){ha(Pt,[Ys,"y"],$t)}function us(Pt){Object.defineProperty(Pt.prototype,"luminance",{get(){return Ea(this)},set($t){ia(this,$t)}})}function eo(Pt,$t){Pt=(0,a.A)(Pt),$t=(0,a.A)($t);let xr=Math.max(Ea(Pt),0),$r=Math.max(Ea($t),0);return $r>xr&&([xr,$r]=[$r,xr]),(xr+.05)/($r+.05)}const wa=.56,da=.57,js=.62,ce=.65,ze=.022,Nt=1.414,Pr=.1,pn=5e-4,ci=1.14,Wi=.027,qi=1.14,Li=.027;function Mi(Pt){return Pt>=ze?Pt:Pt+(ze-Pt)**Nt}function _a(Pt){let $t=Pt<0?-1:1,xr=Math.abs(Pt);return $t*Math.pow(xr,2.4)}function io(Pt,$t){$t=(0,a.A)($t),Pt=(0,a.A)(Pt);let xr,$r,bn,Yr,ge,je;$t=ks($t,"srgb"),[Yr,ge,je]=$t.coords.map(Xn=>(0,s.$I)(Xn)?0:Xn);let bt=_a(Yr)*.2126729+_a(ge)*.7151522+_a(je)*.072175;Pt=ks(Pt,"srgb"),[Yr,ge,je]=Pt.coords.map(Xn=>(0,s.$I)(Xn)?0:Xn);let yt=_a(Yr)*.2126729+_a(ge)*.7151522+_a(je)*.072175,sr=Mi(bt),pr=Mi(yt),hr=pr>sr;return Math.abs(pr-sr)<pn?$r=0:hr?(xr=pr**wa-sr**da,$r=xr*ci):(xr=pr**ce-sr**js,$r=xr*qi),Math.abs($r)<Pr?bn=0:$r>0?bn=$r-Wi:bn=$r+Wi,bn*100}function za(Pt,$t){Pt=(0,a.A)(Pt),$t=(0,a.A)($t);let xr=Math.max(Ea(Pt),0),$r=Math.max(Ea($t),0);$r>xr&&([xr,$r]=[$r,xr]);let bn=xr+$r;return bn===0?0:(xr-$r)/bn}const so=5e4;function ys(Pt,$t){Pt=(0,a.A)(Pt),$t=(0,a.A)($t);let xr=Math.max(Ea(Pt),0),$r=Math.max(Ea($t),0);return $r>xr&&([xr,$r]=[$r,xr]),$r===0?so:(xr-$r)/$r}function Cr(Pt,$t){Pt=(0,a.A)(Pt),$t=(0,a.A)($t);let xr=de(Pt,[E,"l"]),$r=de($t,[E,"l"]);return Math.abs(xr-$r)}const $a=216/24389,ln=24/116,va=24389/27;let Da=l.FL.D65;const zs=new i.A({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"Lightness"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Da,base:m.A,fromBase(Pt){let xr=Pt.map(($r,bn)=>$r/Da[bn]).map($r=>$r>$a?Math.cbrt($r):(va*$r+16)/116);return[116*xr[1]-16,500*(xr[0]-xr[1]),200*(xr[1]-xr[2])]},toBase(Pt){let $t=[];return $t[1]=(Pt[0]+16)/116,$t[0]=Pt[1]/500+$t[1],$t[2]=$t[1]-Pt[2]/200,[$t[0]>ln?Math.pow($t[0],3):(116*$t[0]-16)/va,Pt[0]>8?Math.pow((Pt[0]+16)/116,3):Pt[0]/va,$t[2]>ln?Math.pow($t[2],3):(116*$t[2]-16)/va].map(($r,bn)=>$r*Da[bn])},formats:{"lab-d65":{coords:["<number> | <percentage>","<number> | <percentage>","<number> | <percentage>"]}}}),Ks=Math.pow(5,.5)*.5+.5;function Aa(Pt,$t){Pt=(0,a.A)(Pt),$t=(0,a.A)($t);let xr=de(Pt,[zs,"l"]),$r=de($t,[zs,"l"]),bn=Math.abs(Math.pow(xr,Ks)-Math.pow($r,Ks)),Yr=Math.pow(bn,1/Ks)*Math.SQRT2-40;return Yr<7.5?0:Yr}function pa(Pt,$t,xr){(0,s.Kg)(xr)&&(xr={algorithm:xr});let{algorithm:$r,...bn}=xr||{};if(!$r){let Yr=Object.keys(n).map(ge=>ge.replace(/^contrast/,"")).join(", ");throw new TypeError(`contrast() function needs a contrast algorithm. Please specify one of: ${Yr}`)}Pt=(0,a.A)(Pt),$t=(0,a.A)($t);for(let Yr in n)if("contrast"+$r.toLowerCase()===Yr.toLowerCase())return n[Yr](Pt,$t,bn);throw new TypeError(`Unknown contrast algorithm: ${$r}`)}},86891(f,d,e){"use strict";e.d(d,{R:()=>a});function n(i,s){let u=i.length,l,m,g=!1,h=!1;Array.isArray(i[0])?l=i:(l=[i],u=l.length,g=!0),Array.isArray(s[0])?m=s:(m=s.length>0?s.map(E=>[E]):[[]],h=!0);let v=m[0].length,b=m[0].map((E,w)=>m.map(C=>C[w])),T=l.map(E=>
740b.map(w=>{let C=0;if(!Array.isArray(E)){for(let O of w)C+=E*O;return C}for(let O=0;O<E.length;O++)C+=E[O]*(w[O]||0);return C}));return u===1&&g&&(T=T[0]),v===1&&h?u===1&&g?T[0]:T.map(E=>E[0]):T}function r(i,s){return i[0]*s[0]+i[1]*s[1]+i[2]*s[2]}function a(i,s,u=[0,0,0]){const l=r(i,s[0]),m=r(i,s[1]),g=r(i,s[2]);return u[0]=l,u[1]=m,u[2]=g,u}},3891(f,d,e){"use strict";e.d(d,{Ay:()=>s});var n=e(47546),r=e(75064),a=e(631),i=e(46916);function s(h,v){let b={str:String(h)?.trim(),options:v};if(r.A.run("parse-start",b),b.color)return b.color;b.parsed=g(b.str);let T,E=b.options?b.options.parseMeta??b.options.meta:null;if(b.parsed){let w=b.parsed.name,C,O,U=b.parsed.args,D=U.map((M,W)=>b.parsed.argMeta[W]?.type);if(w==="color"){let M=U.shift();D.shift();let W=M.startsWith("--")?M.substring(2):`--${M}`,V=[M,W];if(C=a.A.findFormat({name:w,id:V,type:"function"}),!C){let q,J=M in a.A.registry?M:W;if(J in a.A.registry){let re=a.A.registry[J].formats?.color?.id;re&&(q=`Did you mean ${h.replace("color("+M,"color("+re)}?`)}throw new TypeError(`Cannot parse ${b.str}. `+(q??"Missing a plugin?"))}O=C.space,C.id.startsWith("--")&&!M.startsWith("--")&&i.A.warn(`${O.name} is a non-standard space and not currently supported in the CSS spec. Use prefixed color(${C.id}) instead of color(${M}).`),M.startsWith("--")&&!C.id.startsWith("--")&&i.A.warn(`${O.name} is a standard space and supported in the CSS spec. Use color(${C.id}) instead of prefixed color(${M}).`)}else C=a.A.findFormat({name:w,type:"function"}),O=C.space;E&&Object.assign(E,{format:C,formatId:C.name,types:D,commas:b.parsed.commas});let F=1;
740b.parsed.lastAlpha&&(F=b.parsed.args.pop(),E&&(E.alphaType=D.pop()));let j=C.coords.length;if(U.length!==j)throw new TypeError(`Expected ${j} coordinates for ${O.id} in ${b.str}), got ${U.length}`);U=C.coerceCoords(U,D),T={spaceId:O.id,coords:U,alpha:F}}else e:for(let w of a.A.all)for(let C in w.formats){let O=w.formats[C];if(O.type!=="custom"||O.test&&!O.test(b.str))continue;let U=w.getFormat(O),D=U.parse(b.str);if(D){E&&Object.assign(E,{format:U,formatId:C}),T=D;break e}}if(!T)throw new TypeError(`Could not parse ${h} as a color. Missing a plugin?`);return T.alpha=(0,n.$I)(T.alpha)?T.alpha:T.alpha===void 0?1:(0,n.qE)(0,T.alpha,1),T}const u={"%":.01,deg:1,grad:.9,rad:180/Math.PI,turn:360},l={function:/^([a-z]+)\(((?:calc\(NaN\)|.)+?)\)$/i,number:/^([-+]?(?:[0-9]*\.)?[0-9]+(e[-+]?[0-9]+)?)$/i,unitValue:RegExp(`(${Object.keys(u).join("|")})$`),singleArgument:/\/?\s*(none|NaN|calc\(NaN\)|[-+\w.]+(?:%|deg|g?rad|turn)?)/g};function m(h){let v={},b=h.match(l.unitValue)?.[0],T=v.raw=h;return b?(v.type=b==="%"?"<percentage>":"<angle>",v.unit=b,v.unitless=Number(T.slice(0,-b.length)),T=v.unitless*u[b]):l.number.test(T)?(T=Number(T),v.type="<number>"):T==="none"?T=null:T==="NaN"||T==="calc(NaN)"?(T=NaN,v.type="<number>"):v.type="<ident>",{value:T,meta:v}}function g(h){if(!h)return;h=h.trim();let v=h.match(l.function);if(v){let b=[],T=[],E=!1,w=v[1].toLowerCase(),C=v[2].replace(l.singleArgument,(O,U)=>{let{value:D,meta:F}=m(U);return(O.startsWith("/")||w!=="color"&&b.length===3)&&(E=!0),b.push(D),T.push(F),""});return{name:w,args:b,argMeta:T,lastAlpha:E,commas:C.includes(","),rawName:v[1],rawArgs:v[2]}}}},8045(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(631),r=e(40313);const a=new n.A({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:r.A,fromBase:i=>{let s=Math.max(...i),u=Math.min(...i),[l,m,g]=i,[h,v,b]=[null,0,(u+s)/2],T=s-u;if(T!==0){switch(v=b===0||b===1?0:(s-b)/Math.min(b,1-b),s){case l:h=(m-g)/T+(m<g?6:0);break;case m:h=(g-l)/T+2;break;case g:h=(l-m)/T+4}h=h*60}return v<0&&(h+=180,v=Math.abs(v)),h>=360&&(h-=360),[h,v*100,b*100]},toBase:i=>{let[s,u,l]=i;s=s%360,s<0&&(s+=360),u/=100,l/=100;function m(g){let h=(g+s/30)%12,v=u*Math.min(l,1-l);return l-v*Math.max(-1,Math.min(h-3,9-h,1))}return[m(0),m(8),m(4)]},formats:{hsl:{coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"]},hsla:{coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"],commas:!0,alpha:!0}}})},40313(f,d,e){"use strict";e.d(d,{A:()=>b});var n=e(631),r=e(86891),a=e(47444),i=e(72961);class s extends n.A{constructor(E){E.coords||(E.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),E.base||(E.base=i.A),E.toXYZ_M&&E.fromXYZ_M&&(E.toBase??=w=>{let C=(0,r.R)(w,E.toXYZ_M);return this.white!==this.base.white&&(C=(0,a.Ay)(this.white,this.base.white,C)),C},E.fromBase??=w=>(w=(0,a.Ay)(this.base.white,this.white,w),(0,r.R)(w,E.fromXYZ_M))),E.referred??="display",super(E)}}const u=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],l=[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],m=new s({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:u,fromXYZ_M:l}),g={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]};let h=Array(3).fill("<percentage> | <number>[0, 255]"),v=Array(3).fill("<number>[0, 255]");const b=new s({id:"srgb",name:"sRGB",base:m,fromBase:T=>T.map(E=>
740{let w=E<0?-1:1,C=E*w;return C>.0031308?w*(1.055*C**(1/2.4)-.055):12.92*E}),toBase:T=>T.map(E=>{let w=E<0?-1:1,C=E*w;return C<=.04045?E/12.92:w*((C+.055)/1.055)**2.4}),formats:{rgb:{coords:h},rgb_number:{name:"rgb",commas:!0,coords:v,alpha:!1},color:{},rgba:{coords:h,commas:!0,alpha:!0},rgba_number:{name:"rgba",commas:!0,coords:v},hex:{type:"custom",toGamut:!0,test:T=>/^#(([a-f0-9]{2}){3,4}|[a-f0-9]{3,4})$/i.test(T),parse(T){T.length<=5&&(T=T.replace(/[a-f0-9]/gi,"$&$&"));let E=[];return T.replace(/[a-f0-9]{2}/gi,w=>{E.push(parseInt(w,16)/255)}),{spaceId:"srgb",coords:E.slice(0,3),alpha:E.slice(3)[0]}},serialize:(T,E,{collapse:w=!0,alpha:C}={})=>{(C!==!1&&E<1||C===!0)&&T.push(E),T=T.map(D=>Math.round(D*255));let O=w&&T.every(D=>D%17===0);return"#"+T.map(D=>O?(D/17).toString(16):D.toString(16).padStart(2,"0")).join("")}},keyword:{type:"custom",test:T=>/^[a-z]+$/i.test(T),parse(T){T=T.toLowerCase();let E={spaceId:"srgb",coords:null,alpha:1};if(T==="transparent"?(E.coords=g.black,E.alpha=0):E.coords=g[T],E.coords)return E}}}})},72961(f,d,e){"use strict";e.d(d,{A:()=>r});var n=e(631);const r=new n.A({id:"xyz-d65",name:"XYZ D65",coords:{x:{refRange:[0,1],name:"X"},y:{refRange:[0,1],name:"Y"},z:{refRange:[0,1],name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]})},47546(f,d,e){"use strict";e.d(d,{$I:()=>i,Ed:()=>T,GW:()=>l,Kg:()=>n,NW:()=>r,QX:()=>u,Qs:()=>w,_b:()=>g,ah:()=>E,g1:()=>a,kR:()=>b,pG:()=>v,qE:()=>h});function n(C){return r(C)==="string"}function r(C){return(Object.prototype.toString.call(C).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function a(C,{precision:O=16,unit:U}){return i(C)?"none":(C=+u(C,O),C+(U??""))}function i(C){return C===null}function s(C){return i(C)?0:C}function u(C,O){if(C===0)return 0;let U=~~C,D=0;U&&O&&(D=~~Math.log10(Math.abs(U))+1);const F=10**(O-D);return Math.floor(C*F+.5)/F}function l(C,O,U){return isNaN(C)?O:isNaN(O)?C:C+(O-C)*U}function m(C,O,U){return(U-C)/(O-C)}function g(C,O,U){return!C||!O||C===O||C[0]===O[0]&&C[1]===O[1]||isNaN(U)||U===null?U:l(O[0],O[1],m(C[0],C[1],U))}function h(C,O,U){return Math.max(Math.min(U,O),C)}function v(C,O){return Math.sign(C)===Math.sign(O)?C:-C}function b(C,O){return v(Math.abs(C)**O,C)}function T(C,O){return O===0?0:C/O}function E(C,O,U=0,D=C.length){for(;U<D;){const F=U+D>>1;C[F]<O?U=F+1:D=F}return U}function w(C,O){if(C instanceof O)return!0;const U=O.name;for(;C;){const D=Object.getPrototypeOf(C),F=D?.constructor?.name;if(F===U)return!0;if(!F||F==="Object")return!1;C=D}return!1}},37617(f,d,e){"use strict";e.d(d,{Kq:()=>tn,Ng:()=>Si,bN:()=>Fn,d4:()=>cs,wA:()=>ws});var n=e(26372),r=e(89875),a=n.version.startsWith("19"),i=Symbol.for(a?"react.transitional.element":"react.element"),s=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),h=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),C=null,O=null,U=v,D=E;function F(wr){return typeof wr=="string"||typeof wr=="function"||wr===u||wr===m||wr===l||wr===b||wr===T||wr===C||typeof wr=="object"&&wr!==null&&(wr.$$typeof===w||wr.$$typeof===E||wr.$$typeof===h||wr.$$typeof===g||wr.$$typeof===v||wr.$$typeof===O||wr.getModuleId!==void 0)}function j(wr){if(typeof wr=="object"&&wr!==null){const{$$typeof:we}=wr;switch(we){case i:switch(wr=wr.type,wr){case u:case m:case l:case b:case T:return wr;default:switch(wr=wr&&wr.$$typeof,wr){case h:case v:case w:case E:return wr;case g:return wr;default:return we}}case s:return we}}}function M(wr){return a?j(wr)===g:j(wr)===h}function W(wr){return j(wr)===E}function V(wr){typeof console<"u"&&typeof console.error=="function"&&console.error(wr);try{throw new Error(wr)}catch{}}function q(wr,we){if(wr)(we==="mapStateToProps"||we==="mapDispatchToProps")&&(Object.prototype.hasOwnProperty.call(wr,"dependsOnOwnProps")||V(`The selector for ${we} of connect did not specify a value for dependsOnOwnProps.`));else throw new Error(`Unexpected value for ${we} in connect.`)}function J(wr,we,Ke){q(wr,"mapStateToProps"),q(we,"mapDispatchToProps"),q(Ke,"mergeProps")}function re(wr,we,Ke,ut,{areStatesEqual:Kt,areOwnPropsEqual:ar,areStatePropsEqual:Wn}){let hi=!1,Tt,qr,Vr,Or,Pn;function zr(xi,ms){return Tt=xi,qr=ms,Vr=wr(Tt,qr),Or=we(ut,qr),Pn=Ke(Vr,Or,qr),hi=!0,Pn}
vendor: 4,956 bytes, line 740
740function Hn(){return Vr=wr(Tt,qr),we.dependsOnOwnProps&&(Or=we(ut,qr)),Pn=Ke(Vr,Or,qr),Pn}function fi(){return wr.dependsOnOwnProps&&(Vr=wr(Tt,qr)),we.dependsOnOwnProps&&(Or=we(ut,qr)),Pn=Ke(Vr,Or,qr),Pn}function Ti(){const xi=wr(Tt,qr),ms=!Wn(xi,Vr);return Vr=xi,ms&&(Pn=Ke(Vr,Or,qr)),Pn}function ss(xi,ms){const wi=!ar(ms,qr),Ls=!Kt(xi,Tt,ms,qr);return Tt=xi,qr=ms,wi&&Ls?Hn():wi?fi():Ls?Ti():Pn}return function(ms,wi){return hi?ss(ms,wi):zr(ms,wi)}}function he(wr,{initMapStateToProps:we,initMapDispatchToProps:Ke,initMergeProps:ut,...Kt}){const ar=we(wr,Kt),Wn=Ke(wr,Kt),hi=ut(wr,Kt);return re(ar,Wn,hi,wr,Kt)}function fe(wr,we){const Ke={};for(const ut in wr){const Kt=wr[ut];typeof Kt=="function"&&(Ke[ut]=(...ar)=>we(Kt(...ar)))}return Ke}function ae(wr){if(typeof wr!="object"||wr===null)return!1;const we=Object.getPrototypeOf(wr);if(we===null)return!0;let Ke=we;for(;Object.getPrototypeOf(Ke)!==null;)Ke=Object.getPrototypeOf(Ke);return we===Ke}function ye(wr,we,Ke){ae(wr)||V(`${Ke}() in ${we} must return a plain object. Instead received ${wr}.`)}function ve(wr){return function(Ke){const ut=wr(Ke);function Kt(){return ut}return Kt.dependsOnOwnProps=!1,Kt}}function Ue(wr){return wr.dependsOnOwnProps?!!wr.dependsOnOwnProps:wr.length!==1}function We(wr,we){return function(ut,{displayName:Kt}){const ar=function(hi,Tt){return ar.dependsOnOwnProps?ar.mapToProps(hi,Tt):ar.mapToProps(hi,void 0)};return ar.dependsOnOwnProps=!0,ar.mapToProps=function(hi,Tt){ar.mapToProps=wr,ar.dependsOnOwnProps=Ue(wr);let qr=ar(hi,Tt);return typeof qr=="function"&&(ar.mapToProps=qr,ar.dependsOnOwnProps=Ue(qr),qr=ar(hi,Tt)),qr},ar}}function de(wr,we){return(Ke,ut)=>{throw new Error(`Invalid value of type ${typeof wr} for ${we} argument when connecting component ${ut.wrappedComponentName}.`)}}function xe(wr){return wr&&typeof wr=="object"?ve(we=>fe(wr,we)):wr?typeof wr=="function"?We(wr,"mapDispatchToProps"):de(wr,"mapDispatchToProps"):ve(we=>({dispatch:we}))}function Fe(wr){return wr?typeof wr=="function"?We(wr,"mapStateToProps"):de(wr,"mapStateToProps"):ve(()=>({}))}function Xe(wr,we,Ke){return{...Ke,...wr,...we}}function Me(wr){return function(Ke,{displayName:ut,areMergedPropsEqual:Kt}){let ar=!1,Wn;return function(Tt,qr,Vr){const Or=wr(Tt,qr,Vr);return ar?Kt(Or,Wn)||(Wn=Or):(ar=!0,Wn=Or),Wn}}}function Ze(wr){return wr?typeof wr=="function"?Me(wr):de(wr,"mergeProps"):()=>Xe}function rt(wr){wr()}function mt(){let wr=null,we=null;return{clear(){wr=null,we=null},notify(){rt(()=>{let Ke=wr;for(;Ke;)Ke.callback(),Ke=Ke.next})},get(){const Ke=[];let ut=wr;for(;ut;)Ke.push(ut),ut=ut.next;return Ke},subscribe(Ke){let ut=!0;const Kt=we={callback:Ke,next:null,prev:we};return Kt.prev?Kt.prev.next=Kt:wr=Kt,function(){!ut||wr===null||(ut=!1,Kt.next?Kt.next.prev=Kt.prev:we=Kt.prev,Kt.prev?Kt.prev.next=Kt.next:wr=Kt.next)}}}}var Xt={notify(){},get:()=>[]};function jt(wr,we){let Ke,ut=Xt,Kt=0,ar=!1;function Wn(fi){Vr();const Ti=ut.subscribe(fi);let ss=!1;return()=>{ss||(ss=!0,Ti(),Or())}}function hi(){ut.notify()}function Tt(){Hn.onStateChange&&Hn.onStateChange()}function qr(){return ar}function Vr(){Kt++,Ke||(Ke=we?we.addNestedSub(Tt):wr.subscribe(Tt),ut=mt())}function Or(){Kt--,Ke&&Kt===0&&(Ke(),Ke=void 0,ut.clear(),ut=Xt)}function Pn(){ar||(ar=!0,Vr())}function zr(){ar&&(ar=!1,Or())}const Hn={addNestedSub:Wn,notifyNestedSubs:hi,handleChangeWrapper:Tt,isSubscribed:qr,trySubscribe:Pn,tryUnsubscribe:zr,getListeners:()=>ut};return Hn}var Lt=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ht=Lt(),vr=()=>typeof navigator<"u"&&navigator.product==="ReactNative",Fr=vr(),fn=()=>Ht||Fr?n.useLayoutEffect:n.useEffect,Kr=fn();function Sn(wr,we){return wr===we?wr!==0||we!==0||1/wr===1/we:wr!==wr&&we!==we}function Fn(wr,we){if(Sn(wr,we))return!0;if(typeof wr!="object"||wr===null||typeof we!="object"||we===null)return!1;const Ke=Object.keys(wr),ut=Object.keys(we);if(Ke.length!==ut.length)return!1;for(let Kt=0;Kt<Ke.length;Kt++)if(!Object.prototype.hasOwnProperty.call(we,Ke[Kt])||!Sn(wr[Ke[Kt]],we[Ke[Kt]]))return!1;return!0}var Et={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},st={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Wr={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Dr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Tr={[U]:Wr,[D]:Dr};function gr(wr){return W(wr)?Dr:Tr[wr.$$typeof]||Et}var ir=Object.defineProperty,Mr=Object.getOwnPropertyNames,Lr=Object.getOwnPropertySymbols,un=Object.getOwnPropertyDescriptor,hn=Object.getPrototypeOf,rr=Object.prototype;function Gr(wr,we){if(typeof we!="string"){if(rr){const ar=hn(we);ar&&ar!==rr&&Gr(wr,ar)}let Ke=Mr(we);Lr&&(Ke=Ke.concat(Lr(we)));const ut=gr(wr),Kt=gr(we);for(let ar=0;ar<Ke.length;++ar){const Wn=Ke[ar];
740if(!st[Wn]&&!(Kt&&Kt[Wn])&&!(ut&&ut[Wn])){const hi=un(we,Wn);try{ir(wr,Wn,hi)}catch{}}}}return wr}var er=Symbol.for("react-redux-context"),At=typeof globalThis<"u"?globalThis:{};function dr(){if(!n.createContext)return{};const wr=At[er]??=new Map;let we=wr.get(n.createContext);return we||(we=n.createContext(null),wr.set(n.createContext,we)),we}var Y=dr(),ot=[null,null],Yt=wr=>{try{return JSON.stringify(wr)}catch{return String(wr)}};function it(wr,we,Ke){Kr(()=>wr(...we),Ke)}function Mt(wr,we,Ke,ut,Kt,ar){wr.current=ut,Ke.current=!1,Kt.current&&(Kt.current=null,ar())}function an(wr,we,Ke,ut,Kt,ar,Wn,hi,Tt,qr,Vr){if(!wr)return()=>{};let Or=!1,Pn=null;const zr=()=>{if(Or||!hi.current)return;const fi=we.getState();let Ti,ss;try{Ti=ut(fi,Kt.current)}catch(xi){ss=xi,Pn=xi}ss||(Pn=null),Ti===ar.current?Wn.current||qr():(ar.current=Ti,Tt.current=Ti,Wn.current=!0,Vr())};return Ke.onStateChange=zr,Ke.trySubscribe(),zr(),()=>{if(Or=!0,Ke.tryUnsubscribe(),Ke.onStateChange=null,Pn)throw Pn}}function Cn(wr,we){return wr===we}var Ln=!1;function In(wr,we,Ke,{pure:ut,areStatesEqual:Kt=Cn,areOwnPropsEqual:ar=Fn,areStatePropsEqual:Wn=Fn,areMergedPropsEqual:hi=Fn,forwardRef:Tt=!1,context:qr=Y}={}){const Vr=qr,Or=Fe(wr),Pn=xe(we),zr=Ze(Ke),Hn=!!wr;return Ti=>{const ss=Ti.displayName||Ti.name||"Component",xi=`Connect(${ss})`,ms={shouldHandleStateChanges:Hn,displayName:xi,wrappedComponentName:ss,WrappedComponent:Ti,initMapStateToProps:Or,initMapDispatchToProps:Pn,initMergeProps:zr,areStatesEqual:Kt,areStatePropsEqual:Wn,areOwnPropsEqual:ar,areMergedPropsEqual:hi};function wi(rs){const[xa,ka,Is]=n.useMemo(()=>{const{reactReduxForwardedRef:Mi,..._a}=rs;return[rs.context,Mi,_a]},[rs]),Ms=n.useMemo(()=>{let Mi=Vr;return xa?.Consumer,Mi},[xa,Vr]),Gs=n.useContext(Ms),ks=!!rs.store&&!!rs.store.getState&&!!rs.store.dispatch,ha=!!Gs&&!!Gs.store,Ys=ks?rs.store:Gs.store,Ea=ha?Gs.getServerState:Ys.getState,ia=n.useMemo(()=>he(Ys.dispatch,ms),[Ys]),[us,eo]=n.useMemo(()=>{if(!Hn)return ot;const Mi=jt(Ys,ks?void 0:Gs.subscription),_a=Mi.notifyNestedSubs.bind(Mi);return[Mi,_a]},[Ys,ks,Gs]),wa=n.useMemo(()=>ks?Gs:{...Gs,subscription:us},[ks,Gs,us]),da=n.useRef(void 0),js=n.useRef(Is),ce=n.useRef(void 0),ze=n.useRef(!1),Nt=n.useRef(!1),Pr=n.useRef(void 0);Kr(()=>(Nt.current=!0,()=>{Nt.current=!1}),[]);const pn=n.useMemo(()=>()=>ce.current&&Is===js.current?ce.current:ia(Ys.getState(),Is),[Ys,Is]),ci=n.useMemo(()=>_a=>us?an(Hn,Ys,us,ia,js,da,ze,Nt,ce,eo,_a):()=>{},[us]);it(Mt,[js,da,ze,Is,ce,eo]);let Wi;try{Wi=n.useSyncExternalStore(ci,pn,Ea?()=>ia(Ea(),Is):pn)}catch(Mi){throw Pr.current&&(Mi.message+=` 741The error may be correlated with this previous error: 742${Pr.current.stack} 743 744`),Mi}Kr(()=>{Pr.current=void 0,ce.current=void 0,da.current=Wi});const qi=n.useMemo(()=>n.createElement(Ti,{...Wi,ref:ka}),[ka,Ti,Wi]);return n.useMemo(()=>Hn?n.createElement(Ms.Provider,{value:wa},qi):qi,[Ms,qi,wa])}const as=n.memo(wi);if(as.WrappedComponent=Ti,as.displayName=wi.displayName=xi,Tt){const xa=n.forwardRef(function(Is,Ms){return n.createElement(as,{...Is,reactReduxForwardedRef:Ms})});return xa.displayName=xi,xa.WrappedComponent=Ti,Gr(xa,Ti)}return Gr(as,Ti)}}var Si=In;function $i(wr){const{children:we,context:Ke,serverState:ut,store:Kt}=wr,ar=n.useMemo(()=>{const Tt=jt(Kt);return{store:Kt,subscription:Tt,getServerState:ut?()=>ut:void 0}},[Kt,ut]),Wn=n.useMemo(()=>Kt.getState(),[Kt]);Kr(()=>{const{subscription:Tt}=ar;return Tt.onStateChange=Tt.notifyNestedSubs,Tt.trySubscribe(),Wn!==Kt.getState()&&Tt.notifyNestedSubs(),()=>{Tt.tryUnsubscribe(),Tt.onStateChange=void 0}},[ar,Wn]);const hi=Ke||Y;return n.createElement(hi.Provider,{value:ar},we)}var tn=$i;function Hi(wr=Y){return function(){return n.useContext(wr)}}var Ji=Hi();function Yi(wr=Y){const we=wr===Y?Ji:Hi(wr),Ke=()=>{const{store:ut}=we();return ut};return Object.assign(Ke,{withTypes:()=>Ke}),Ke}var Ki=Yi();function mi(wr=Y){const we=wr===Y?Ki:Yi(wr),Ke=()=>we().dispatch;return Object.assign(Ke,{withTypes:()=>Ke}),Ke}var ws=mi(),Zn=(wr,we)=>wr===we;function fs(wr=Y){const we=wr===Y?Ji:Hi(wr),Ke=(ut,Kt={})=>{const{equalityFn:ar=Zn}=typeof Kt=="function"?{equalityFn:Kt}:Kt,Wn=we(),{store:hi,subscription:Tt,getServerState:qr}=Wn,Vr=n.useRef(!0),Or=n.useCallback({[ut.name](zr){return ut(zr)}}[ut.name],[ut]),Pn=(0,r.useSyncExternalStoreWithSelector)(Tt.addNestedSub,hi.getState,qr||hi.get
744State,Or,ar);return n.useDebugValue(Pn),Pn};return Object.assign(Ke,{withTypes:()=>Ke}),Ke}var cs=fs(),vs=null},94036(f,d,e){"use strict";var n;e.d(d,{BV:()=>Oo,C5:()=>pc,I9:()=>Ga,N_:()=>jl,RQ:()=>Cs,Rr:()=>he,Zp:()=>Oa,g:()=>bs,k2:()=>fa,ok:()=>rf,qh:()=>Lo,zy:()=>Fs});var r,a,i,s,u,l,m,g,h,v,b=e(26372);/** 745 * react-router v7.12.0 746 * 747 * Copyright (c) Remix Software Inc. 748 * 749 * This source code is licensed under the MIT license found in the 750 * LICENSE.md file in the root directory of this source tree. 751 * 752 * @license MIT 753 */var T=k=>{throw TypeError(k)},E=(k,G,ie)=>G.has(k)||T("Cannot "+ie),w=(k,G,ie)=>(E(k,G,"read from private field"),ie?ie.call(k):G.get(k)),C=(k,G,ie)=>G.has(k)?T("Cannot add the same private member more than once"):G instanceof WeakSet?G.add(k):G.set(k,ie),O=(k=>(k.Pop="POP",k.Push="PUSH",k.Replace="REPLACE",k))(O||{}),U="popstate";function D(k={}){let{initialEntries:G=["/"],initialIndex:ie,v5Compat:be=!1}=k,Se;Se=G.map((nr,Br)=>lr(nr,typeof nr=="string"?null:nr.state,Br===0?"default":void 0));let Oe=et(ie??Se.length-1),ke="POP",Ve=null;function et(nr){return Math.min(Math.max(nr,0),Se.length-1)}function pt(){return Se[Oe]}function lr(nr,Br=null,en){let Jr=J(Se?pt().pathname:"/",nr,Br,en);return W(Jr.pathname.charAt(0)==="/",`relative pathnames are not supported in memory history: ${JSON.stringify(nr)}`),Jr}function Vt(nr){return typeof nr=="string"?nr:re(nr)}return{get index(){return Oe},get action(){return ke},get location(){return pt()},createHref:Vt,createURL(nr){return new URL(Vt(nr),"http://localhost")},encodeLocation(nr){let Br=typeof nr=="string"?he(nr):nr;return{pathname:Br.pathname||"",search:Br.search||"",hash:Br.hash||""}},push(nr,Br){ke="PUSH";let en=lr(nr,Br);Oe+=1,Se.splice(Oe,Se.length,en),be&&Ve&&Ve({action:ke,location:en,delta:1})},replace(nr,Br){ke="REPLACE";let en=lr(nr,Br);Se[Oe]=en,be&&Ve&&Ve({action:ke,location:en,delta:0})},go(nr){ke="POP";let Br=et(Oe+nr),en=Se[Br];Oe=Br,Ve&&Ve({action:ke,location:en,delta:nr})},listen(nr){return Ve=nr,()=>{Ve=null}}}}function F(k={}){function G(be,Se){let{pathname:Oe,search:ke,hash:Ve}=be.location;return J("",{pathname:Oe,search:ke,hash:Ve},Se.state&&Se.state.usr||null,Se.state&&Se.state.key||"default")}function ie(be,Se){return typeof Se=="string"?Se:re(Se)}return fe(G,ie,null,k)}function j(k={}){function G(Se,Oe){let{pathname:ke="/",search:Ve="",hash:et=""}=he(Se.location.hash.substring(1));return!ke.startsWith("/")&&!ke.startsWith(".")&&(ke="/"+ke),J("",{pathname:ke,search:Ve,hash:et},Oe.state&&Oe.state.usr||null,Oe.state&&Oe.state.key||"default")}function ie(Se,Oe){let ke=Se.document.querySelector("base"),Ve="";if(ke&&ke.getAttribute("href")){let et=Se.location.href,pt=et.indexOf("#");Ve=pt===-1?et:et.slice(0,pt)}return Ve+"#"+(typeof Oe=="string"?Oe:re(Oe))}function be(Se,Oe){W(Se.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(Oe)})`)}return fe(G,ie,be,k)}function M(k,G){if(k===!1||k===null||typeof k>"u")throw new Error(G)}function W(k,G){if(!k){typeof console<"u"&&console.warn(G);try{throw new Error(G)}catch{}}}function V(){return Math.random().toString(36).substring(2,10)}function q(k,G){return{usr:k.state,key:k.key,idx:G}}function J(k,G,ie=null,be){return{pathname:typeof k=="string"?k:k.pathname,search:"",hash:"",...typeof G=="string"?he(G):G,state:ie,key:G&&G.key||be||V()}}function re({pathname:k="/",search:G="",hash:ie=""}){return G&&G!=="?"&&(k+=G.charAt(0)==="?"?G:"?"+G),ie&&ie!=="#"&&(k+=ie.charAt(0)==="#"?ie:"#"+ie),k}function he(k){let G={};if(k){let ie=k.indexOf("#");ie>=0&&(G.hash=k.substring(ie),k=k.substring(0,ie));let be=k.indexOf("?");be>=0&&(G.search=k.substring(be),k=k.substring(0,be)),k&&(G.pathname=k)}return G}function fe(k,G,ie,be={}){let{window:Se=document.defaultView,v5Compat:Oe=!1}=be,ke=Se.history,Ve="POP",et=null,pt=lr();pt==null&&(pt=0,ke.replaceState({...ke.state,idx:pt},""));function lr(){return(ke.state||{idx:null}).idx}function Vt(){Ve="POP";let Jr=lr(),Vn=Jr==null?null:Jr-pt;pt=Jr,et&&et({action:Ve,location:en.location,delta:Vn})}function Nr(Jr,Vn){Ve="PUSH";let yn=J(en.location,Jr,Vn);ie&&ie(yn,Jr),pt=lr()+1;let ii=q(yn,pt),R=en.createHref(yn);
753try{ke.pushState(ii,"",R)}catch(K){if(K instanceof DOMException&&K.name==="DataCloneError")throw K;Se.location.assign(R)}Oe&&et&&et({action:Ve,location:en.location,delta:1})}function nr(Jr,Vn){Ve="REPLACE";let yn=J(en.location,Jr,Vn);ie&&ie(yn,Jr),pt=lr();let ii=q(yn,pt),R=en.createHref(yn);ke.replaceState(ii,"",R),Oe&&et&&et({action:Ve,location:en.location,delta:0})}function Br(Jr){return ae(Jr)}let en={get action(){return Ve},get location(){return k(Se,ke)},listen(Jr){if(et)throw new Error("A history only accepts one active listener");return Se.addEventListener(U,Vt),et=Jr,()=>{Se.removeEventListener(U,Vt),et=null}},createHref(Jr){return G(Se,Jr)},createURL:Br,encodeLocation(Jr){let Vn=Br(Jr);return{pathname:Vn.pathname,search:Vn.search,hash:Vn.hash}},push:Nr,replace:nr,go(Jr){return ke.go(Jr)}};return en}function ae(k,G=!1){let ie="http://localhost";typeof window<"u"&&(ie=window.location.origin!=="null"?window.location.origin:window.location.href),M(ie,"No window.location.(origin|href) available to create URL");let be=typeof k=="string"?k:re(k);return be=be.replace(/ $/,"%20"),!G&&be.startsWith("//")&&(be=ie+be),new URL(be,ie)}function ye(k){return{defaultValue:k}}var ve,Ue=class{constructor(k){if(C(this,ve,new Map),k)for(let[G,ie]of k)this.set(G,ie)}get(k){if(w(this,ve).has(k))return w(this,ve).get(k);if(k.defaultValue!==void 0)return k.defaultValue;throw new Error("No value found for context")}set(k,G){w(this,ve).set(k,G)}};ve=new WeakMap;var We=new Set(["lazy","caseSensitive","path","id","index","children"]);function de(k){return We.has(k)}var xe=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function Fe(k){return xe.has(k)}function Xe(k){return k.index===!0}function Me(k,G,ie=[],be={},Se=!1){return k.map((Oe,ke)=>{let Ve=[...ie,String(ke)],et=typeof Oe.id=="string"?Oe.id:Ve.join("-");if(M(Oe.index!==!0||!Oe.children,"Cannot specify children on an index route"),M(Se||!be[et],`Found a route id collision on i
753d "${et}". Route id's must be globally unique within Data Router usages`),Xe(Oe)){let pt={...Oe,id:et};return be[et]=Ze(pt,G(pt)),pt}else{let pt={...Oe,id:et,children:void 0};return be[et]=Ze(pt,G(pt)),Oe.children&&(pt.children=Me(Oe.children,G,Ve,be,Se)),pt}})}function Ze(k,G){return Object.assign(k,{...G,...typeof G.lazy=="object"&&G.lazy!=null?{lazy:{...k.lazy,...G.lazy}}:{}})}function rt(k,G,ie="/"){return mt(k,G,ie,!1)}function mt(k,G,ie,be){let Se=typeof G=="string"?he(G):G,Oe=Lr(Se.pathname||"/",ie);if(Oe==null)return null;let ke=jt(k);Ht(ke);let Ve=null;for(let et=0;Ve==null&&et<ke.length;++et){let pt=Mr(Oe);Ve=Dr(ke[et],pt,be)}return Ve}function Xt(k,G){let{route:ie,pathname:be,params:Se}=k;return{id:ie.id,pathname:be,params:Se,data:G[ie.id],loaderData:G[ie.id],handle:ie.handle}}function jt(k,G=[],ie=[],be="",Se=!1){let Oe=(ke,Ve,et=Se,pt)=>{let lr={relativePath:pt===void 0?ke.path||"":pt,caseSensitive:ke.caseSensitive===!0,childrenIndex:Ve,route:ke};if(lr.relativePath.startsWith("/")){if(!lr.relativePath.startsWith(be)&&et)return;M(lr.relativePath.startsWith(be),`Absolute route path "${lr.relativePath}" nested under path "${be}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),lr.relativePath=lr.relativePath.slice(be.length)}let Vt=Yt([be,lr.relativePath]),Nr=ie.concat(lr);ke.children&&ke.children.length>0&&(M(ke.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${Vt}".`),jt(ke.children,G,Nr,Vt,et)),!(ke.path==null&&!ke.index)&&G.push({path:Vt,score:st(Vt,ke.index),routesMeta:Nr})};return k.forEach((ke,Ve)=>{if(ke.path===""||!ke.path?.includes("?"))Oe(ke,Ve);else for(let et of Lt(ke.path))Oe(ke,Ve,!0,et)}),G}function Lt(k){let G=k.split("/");if(G.length===0)return[];let[ie,...be]=G,Se=ie.endsWith("?"),Oe=ie.replace(/\?$/,"");if(be.length===0)return Se?[Oe,""]:[Oe];let ke=Lt(be.join("/")),Ve=[];return Ve.push(...ke.map(et=>et===""?Oe:[Oe,et].join("/"))),Se&&Ve.push(...ke),Ve.map(et=>k.startsWith("/")&&et===""?"/":et)}function Ht(k){k.sort((G,ie)=>G.score!==ie.score?ie.score-G.score:Wr(G.routesMeta.map(be=>be.childrenIndex),ie.routesMeta.map(be=>be.childrenIndex)))}var vr=/^:[\w-]+$/,Fr=3,fn=2,Kr=1,Sn=10,Fn=-2,Et=k=>k==="*";function st(k,G){let ie=k.split("/"),be=ie.length;return ie.some(Et)&&(be+=Fn),G&&(be+=fn),ie.filter(Se=>!Et(Se)).reduce((Se,Oe)=>Se+(vr.test(Oe)?Fr:Oe===""?Kr:Sn),be)}function Wr(k,G){return k.length===G.length&&k.slice(0,-1).every((be,Se)=>be===G[Se])?k[k.length-1]-G[G.length-1]:0}function Dr(k,G,ie=!1){let{routesMeta:be}=k,Se={},Oe="/",ke=[];for(let Ve=0;Ve<be.length;++Ve){let et=be[Ve],pt=Ve===be.length-1,lr=Oe==="/"?G:G.slice(Oe.length)||"/",Vt=gr({path:et.relativePath,caseSensitive:et.caseSensitive,end:pt},lr),Nr=et.route;if(!Vt&&pt&&ie&&!be[be.length-1].route.index&&(Vt=gr({path:et.relativePath,caseSensitive:et.caseSensitive,end:!1},lr)),!Vt)return null;
753Object.assign(Se,Vt.params),ke.push({params:Se,pathname:Yt([Oe,Vt.pathname]),pathnameBase:it(Yt([Oe,Vt.pathnameBase])),route:Nr}),Vt.pathnameBase!=="/"&&(Oe=Yt([Oe,Vt.pathnameBase]))}return ke}function Tr(k,G={}){let ie=k;ie.endsWith("*")&&ie!=="*"&&!ie.endsWith("/*")&&(W(!1,`Route path "${ie}" will be treated as if it were "${ie.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${ie.replace(/\*$/,"/*")}".`),ie=ie.replace(/\*$/,"/*"));const be=ie.startsWith("/")?"/":"",Se=ke=>ke==null?"":typeof ke=="string"?ke:String(ke),Oe=ie.split(/\/+/).map((ke,Ve,et)=>{if(Ve===et.length-1&&ke==="*")return Se(G["*"]);const lr=ke.match(/^:([\w-]+)(\??)(.*)/);if(lr){const[,Vt,Nr,nr]=lr;let Br=G[Vt];return M(Nr==="?"||Br!=null,`Missing ":${Vt}" param`),encodeURIComponent(Se(Br))+nr}return ke.replace(/\?$/g,"")}).filter(ke=>!!ke);return be+Oe.join("/")}function gr(k,G){typeof k=="string"&&(k={path:k,caseSensitive:!1,end:!0});let[ie,be]=ir(k.path,k.caseSensitive,k.end),Se=G.match(ie);if(!Se)return null;let Oe=Se[0],ke=Oe.replace(/(.)\/+$/,"$1"),Ve=Se.slice(1);return{params:be.reduce((pt,{paramName:lr,isOptional:Vt},Nr)=>{if(lr==="*"){let Br=Ve[Nr]||"";ke=Oe.slice(0,Oe.length-Br.length).replace(/(.)\/+$/,"$1")}const nr=Ve[Nr];return Vt&&!nr?pt[lr]=void 0:pt[lr]=(nr||"").replace(/%2F/g,"/"),pt},{}),pathname:Oe,pathnameBase:ke,pattern:k}}function ir(k,G=!1,ie=!0){W(k==="*"||!k.endsWith("*")||k.endsWith("/*"),`Route path "${k}" will be treated as if it were "${k.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${k.replace(/\*$/,"/*")}".`);let be=[],Se="^"+k.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(ke,Ve,et)=>(be.push({paramName:Ve,isOptional:et!=null}),et?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return k.endsWith("*")?(be.push({paramName:"*"}),Se+=k==="*"||k==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):ie?Se+="\\/*$":k!==""&&k!=="/"&&(Se+="(?:(?=\\/|$))"),[new RegExp(Se,G?void 0:"i"),be]}function Mr(k){try{return k.split("/").map(G=>decodeURIComponent(G).replace(/\//g,"%2F")).join("/")}catch(G){return W(!1,`The URL path "${k}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${G}).`),k}}function Lr(k,G){if(G==="/")return k;if(!k.toLowerCase().startsWith(G.toLowerCase()))return null;let ie=G.endsWith("/")?G.length-1:G.length,be=k.charAt(ie);return be&&be!=="/"?null:k.slice(ie)||"/"}function un({basename:k,pathname:G}){return G==="/"?k:Yt([k,G])}var hn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,rr=k=>hn.test(k);function Gr(k,G="/"){let{pathname:ie,search:be="",hash:Se=""}=typeof k=="string"?he(k):k,Oe;if(ie)if(rr(ie))Oe=ie;else{if(ie.includes("//")){let ke=ie;ie=ie.replace(/\/\/+/g,"/"),W(!1,`Pathnames cannot have embedded double slashes - normalizing ${ke} -> ${ie}`)}ie.startsWith("/")?Oe=er(ie.substring(1),"/"):Oe=er(ie,G)}else Oe=G;return{pathname:Oe,search:Mt(be),hash:an(Se)}}function er(k,G){let ie=G.replace(/\/+$/,"").split("/");return k.split("/").forEach(Se=>{Se===".."?ie.length>1&&ie.pop():Se!=="."&&ie.push(Se)}),ie.length>1?ie.join("/"):"/"}function At(k,G,ie,be){return`Cannot include a '${k}' character in a manually specified \`to.${G}\` field [${JSON.stringify(be)}]. Please separate it out to the \`to.${ie}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function dr(k){return k.filter((G,ie)=>ie===0||G.route.path&&G.route.path.length>0)}function Y(k){let G=dr(k);return G.map((ie,be)=>be===G.length-1?ie.pathname:ie.pathnameBase)}function ot(k,G,ie,be=!1){let Se;typeof k=="string"?Se=he(k):(Se={...k},M(!Se.pathname||!Se.pathname.includes("?"),At("?","pathname","search",Se)),M(!Se.pathname||!Se.pathname.includes("#"),At("#","pathname","hash",Se)),M(!Se.search||!Se.search.includes("#"),At("#","search","hash",Se)));let Oe=k===""||Se.pathname==="",ke=Oe?"/":Se.pathname,Ve;if(ke==null)Ve=ie;else{let Vt=G.length-1;if(!be&&ke.startsWith("..")){let Nr=ke.split("/");for(;Nr[0]==="..";
753)Nr.shift(),Vt-=1;Se.pathname=Nr.join("/")}Ve=Vt>=0?G[Vt]:"/"}let et=Gr(Se,Ve),pt=ke&&ke!=="/"&&ke.endsWith("/"),lr=(Oe||ke===".")&&ie.endsWith("/");return!et.pathname.endsWith("/")&&(pt||lr)&&(et.pathname+="/"),et}var Yt=k=>k.join("/").replace(/\/\/+/g,"/"),it=k=>k.replace(/\/+$/,"").replace(/^\/*/,"/"),Mt=k=>!k||k==="?"?"":k.startsWith("?")?k:"?"+k,an=k=>!k||k==="#"?"":k.startsWith("#")?k:"#"+k,Cn=class{constructor(k,G){this.type="DataWithResponseInit",this.data=k,this.init=G||null}};function Ln(k,G){return new Cn(k,typeof G=="number"?{status:G}:G)}var In=(k,G=302)=>{let ie=G;typeof ie=="number"?ie={status:ie}:typeof ie.status>"u"&&(ie.status=302);let be=new Headers(ie.headers);return be.set("Location",k),new Response(null,{...ie,headers:be})},Si=(k,G)=>{let ie=In(k,G);return ie.headers.set("X-Remix-Reload-Document","true"),ie},$i=(k,G)=>{let ie=In(k,G);return ie.headers.set("X-Remix-Replace","true"),ie},tn=class{constructor(k,G,ie,be=!1){this.status=k,this.statusText=G||"",this.internal=be,ie instanceof Error?(this.data=ie.toString(),this.error=ie):this.data=ie}};function Hi(k){return k!=null&&typeof k.status=="number"&&typeof k.statusText=="string"&&typeof k.internal=="boolean"&&"data"in k}function Ji(k){return k.map(G=>G.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Yi=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Ki(k,G){let ie=k;if(typeof ie!="string"||!hn.test(ie))return{absoluteURL:void 0,isExternal:!1,to:ie};let be=ie,Se=!1;if(Yi)try{let Oe=new URL(window.location.href),ke=ie.startsWith("//")?new URL(Oe.protocol+ie):new URL(ie),Ve=Lr(ke.pathname,G);ke.origin===Oe.origin&&Ve!=null?ie=Ve+ke.search+ke.hash:Se=!0}catch{W(!1,`<Link to="${ie}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:be,isExternal:Se,to:ie}}var mi=Symbol("Uninstrumented");function ws(k,G){let ie={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};k.forEach(Se=>Se({id:G.id,index:G.index,path:G.path,instrument(Oe){let ke=Object.keys(ie);for(let Ve of ke)Oe[Ve]&&ie[Ve].push(Oe[Ve])}}));let be={};if(typeof G.lazy=="function"&&ie.lazy.length>0){let Se=cs(ie.lazy,G.lazy,()=>{});Se&&(be.lazy=Se)}if(typeof G.lazy=="object"){let Se=G.lazy;["middleware","loader","action"].forEach(Oe=>{let ke=Se[Oe],Ve=ie[`lazy.${Oe}`];if(typeof ke=="function"&&Ve.length>0){let et=cs(Ve,ke,()=>{});et&&(be.lazy=Object.assign(be.lazy||{},{[Oe]:et}))}})}return["loader","action"].forEach(Se=>{let Oe=G[Se];if(typeof Oe=="function"&&ie[Se].length>0){let ke=Oe[mi]??Oe,Ve=cs(ie[Se],ke,(...et)=>wr(et[0]));Ve&&(Se==="loader"&&ke.hydrate===!0&&(Ve.hydrate=!0),Ve[mi]=ke,be[Se]=Ve)}}),G.middleware&&G.middleware.length>0&&ie.middleware.length>0&&(be.middleware=G.middleware.map(Se=>{let Oe=Se[mi]??Se,ke=cs(ie.middleware,Oe,(...Ve)=>wr(Ve[0]));return ke?(ke[mi]=Oe,ke):Se})),be}function Zn(k,G){let ie={navigate:[],fetch:[]};if(G.forEach(be=>be({instrument(Se){let Oe=Object.keys(Se);for(let ke of Oe)Se[ke]&&ie[ke].push(Se[ke])}})),ie.navigate.length>0){let be=k.navigate[mi]??k.navigate,Se=cs(ie.navigate,be,(...Oe)=>{let[ke,Ve]=Oe;return{to:typeof ke=="number"||typeof ke=="string"?ke:ke?re(ke):".",...we(k,Ve??{})}});Se&&(Se[mi]=be,k.navigate=Se)}if(ie.fetch.length>0){let be=k.fetch[mi]??k.fetch,Se=cs(ie.fetch,be,(...Oe)=>{let[ke,,Ve,et]=Oe;return{href:Ve??".",fetcherKey:ke,...we(k,et??{})}});Se&&(Se[mi]=be,k.fetch=Se)}return k}function fs(k,G){let ie={request:[]};G.forEach(Se=>Se({instrument(Oe){let ke=Object.keys(Oe);for(let Ve of ke)Oe[Ve]&&ie[Ve].push(Oe[Ve])}}));let be=k;return ie.request.length>0&&(be=cs(ie.request,k,(...Se)=>{let[Oe,ke]=Se;return{request:Ke(Oe),context:ke!=null?ut(ke):ke}})),be}function cs(k,G,ie){return k.length===0?null:async(...be)=>{let Se=await vs(k,ie(...be),()=>G(...be),k.length-1);if(Se.type==="error")throw Se.value;return Se.value}}async function vs(k,G,ie,be){let Se=k[be],Oe;if(Se){let ke,Ve=async()=>(ke?console.error("You cannot call instrumented handlers more than once"):ke=vs(k,G,ie,be-1),Oe=await ke,M(Oe,"Expected a result"),Oe.type==="error"&&Oe.value instanceof Error?{status:"error",error:Oe.value}:{status:"success",error:void 0});try{await Se(Ve,G)}catch(et){console.error("An instrumentation function threw an error:",et)}ke||await Ve(),await ke}else try{Oe={type:"success",value:await ie()}}catch(ke){Oe={type:"error",value:ke}}return Oe||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function wr(k){let{request:G,context:ie,params:be,unstable_pattern:Se}=k;return{request:Ke(G),params:{...be},unstable_pattern:Se,context:ut(ie)}}function we(k,G){return{currentUrl:re(k.state.location),..."formMethod"in G?{formMethod:G.formMethod}:{},..."formEncType"in G?{formEncType:G.formEncType}:{},..."formData"in G?{formData:G.formData}:{},..."body"in G?{body:G.body}:{}}}function Ke(k){return{method:k.method,url:k.url,headers:{get:(...G)=>k.headers.get(...G)}}}function ut(k){if(ar(k)){let G={...k};return Object.freeze(G),G}else return{get:G=>k.get(G)}}var Kt=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ar(k){if(k===null||typeof k!="object")return!1;const G=Object.getPrototypeOf(k);return G===Object.prototype||G===null||Object.getOwnPropertyNames(G).sort().join("\0")===Kt}var Wn=["POST","PUT","PATCH","DELETE"],hi=new Set(Wn),Tt=["GET",...Wn],qr=new Set(Tt),Vr=new Set([301,302,303,307,308]),Or=new Set([307,308]),Pn={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},zr={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Hn={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},fi=k=>({hasErrorBoundary:!!k.hasErrorBoundary}),Ti="remix-router-transitions",ss=Symbol("ResetLoaderData");function xi(k){const G=k.window?k.window:typeof window<"u"?window:void 0,ie=typeof G<"u"&&typeof G.document<"u"&&typeof G.document.createElement<"u";M(k.routes.length>0,"You must provide a non-empty routes array to createRouter");let be=k.hydrationRouteProperties||[],Se=k.mapRouteProperties||fi,Oe=Se;if(k.unstable_instrumentations){let Sr=k.unstable_instrumentations;Oe=Zr=>
753({...Se(Zr),...ws(Sr.map(_n=>_n.route).filter(Boolean),Zr)})}let ke={},Ve=Me(k.routes,Oe,void 0,ke),et,pt=k.basename||"/";pt.startsWith("/")||(pt=`/${pt}`);let lr=k.dataStrategy||ze,Vt={...k.future},Nr=null,nr=new Set,Br=null,en=null,Jr=null,Vn=k.hydrationData!=null,yn=rt(Ve,k.history.location,pt),ii=!1,R=null,K;if(yn==null&&!k.patchRoutesOnNavigation){let Sr=Pt(404,{pathname:k.history.location.pathname}),{matches:Zr,route:_n}=pa(Ve);K=!0,yn=Zr,R={[_n.id]:Sr}}else if(yn&&!k.hydrationData&&jd(yn,Ve,k.history.location.pathname).active&&(yn=null),yn)if(yn.some(Sr=>Sr.route.lazy))K=!1;else if(!yn.some(Sr=>Is(Sr.route)))K=!0;else{let Sr=k.hydrationData?k.hydrationData.loaderData:null,Zr=k.hydrationData?k.hydrationData.errors:null;if(Zr){let _n=yn.findIndex(vi=>Zr[vi.route.id]!==void 0);K=yn.slice(0,_n+1).every(vi=>!Ms(vi.route,Sr,Zr))}else K=yn.every(_n=>!Ms(_n.route,Sr,Zr))}else{K=!1,yn=[];let Sr=jd(null,Ve,k.history.location.pathname);Sr.active&&Sr.matches&&(ii=!0,yn=Sr.matches)}let le,oe={historyAction:k.history.action,location:k.history.location,matches:yn,initialized:K,navigation:Pn,restoreScrollPosition:k.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:k.hydrationData&&k.hydrationData.loaderData||{},actionData:k.hydrationData&&k.hydrationData.actionData||null,errors:k.hydrationData&&k.hydrationData.errors||R,fetchers:new Map,blockers:new Map},Ie="POP",Ge=null,tt=!1,_t,Ut=!1,yr=new Map,Qt=null,qt=!1,br=!1,cn=new Set,gn=new Map,ai=0,Ri=-1,ps=new Map,Hs=new Set,Qs=new Map,la=new Map,ko=new Set,zi=new Map,Ns,Ta=null;function to(){if(Nr=k.history.listen(({action:Sr,location:Zr,delta:_n})=>{if(Ns){Ns(),Ns=void 0;return}W(zi.size===0||_n!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let vi=af({currentLocation:oe.location,nextLocation:Zr,historyAction:Sr});if(vi&&_n!=null){let Di=new Promise(Ci=>{Ns=Ci});k.history.go(_n*-1),Ed(vi,{state:"blocked",location:Zr,proceed(){Ed(vi,{state:"proceeding",proceed:void 0,reset:void 0,location:Zr}),Di.then(()=>k.history.go(_n))},reset(){let Ci=new Map(oe.blockers);Ci.set(vi,Hn),ao({blockers:Ci})}}),Ge?.resolve(),Ge=null;return}return au(Sr,Zr)}),ie){Hr(G,yr);let Sr=()=>mn(G,yr);G.addEventListener("pagehide",Sr),Qt=()=>G.removeEventListener("pagehide",Sr)}return oe.initialized||au("POP",oe.location,{initialHydration:!0}),le}function Tc(){Nr&&Nr(),Qt&&Qt(),nr.clear(),_t&&_t.abort(),oe.fetchers.forEach((Sr,Zr)=>Wl(Zr)),oe.blockers.forEach((Sr,Zr)=>gf(Zr))}function id(Sr){return nr.add(Sr),()=>nr.delete(Sr)}function ao(Sr,Zr={}){Sr.matches&&(Sr.matches=Sr.matches.map(Di=>{let Ci=ke[Di.route.id],ns=Di.route;return ns.element!==Ci.element||ns.errorElement!==Ci.errorElement||ns.hydrateFallbackElement!==Ci.hydrateFallbackElement?{...Di,route:Ci}:Di})),oe={...oe,...Sr};let _n=[],vi=[];oe.fetchers.forEach((Di,Ci)=>{Di.state==="idle"&&(ko.has(Ci)?_n.push(Ci):vi.push(Ci))}),ko.forEach(Di=>{!oe.fetchers.has(Di)&&!gn.has(Di)&&_n.push(Di)}),[...nr].forEach(Di=>Di(oe,{deletedFetchers:_n,newErrors:Sr.errors??null,viewTransitionOpts:Zr.viewTransitionOpts,flushSync:Zr.flushSync===!0}
753)),_n.forEach(Di=>Wl(Di)),vi.forEach(Di=>oe.fetchers.delete(Di))}function bo(Sr,Zr,{flushSync:_n}={}){let vi=oe.actionData!=null&&oe.navigation.formMethod!=null&&ti(oe.navigation.formMethod)&&oe.navigation.state==="loading"&&Sr.state?._isRedirect!==!0,Di;Zr.actionData?Object.keys(Zr.actionData).length>0?Di=Zr.actionData:Di=null:vi?Di=oe.actionData:Di=null;let Ci=Zr.loaderData?zs(oe.loaderData,Zr.loaderData,Zr.matches||[],Zr.errors):oe.loaderData,ns=oe.blockers;ns.size>0&&(ns=new Map(ns),ns.forEach((Us,Ss)=>ns.set(Ss,Hn)));let os=qt?!1:Nf(Sr,Zr.matches||oe.matches),ls=tt===!0||oe.navigation.formMethod!=null&&ti(oe.navigation.formMethod)&&Sr.state?._isRedirect!==!0;et&&(Ve=et,et=void 0),qt||Ie==="POP"||(Ie==="PUSH"?k.history.push(Sr,Sr.state):Ie==="REPLACE"&&k.history.replace(Sr,Sr.state));let ds;if(Ie==="POP"){let Us=yr.get(oe.location.pathname);Us&&Us.has(Sr.pathname)?ds={currentLocation:oe.location,nextLocation:Sr}:yr.has(Sr.pathname)&&(ds={currentLocation:Sr,nextLocation:oe.location})}else if(Ut){let Us=yr.get(oe.location.pathname);Us?Us.add(Sr.pathname):(Us=new Set([Sr.pathname]),yr.set(oe.location.pathname,Us)),ds={currentLocation:oe.location,nextLocation:Sr}}ao({...Zr,actionData:Di,loaderData:Ci,historyAction:Ie,location:Sr,initialized:!0,navigation:Pn,revalidation:"idle",restoreScrollPosition:os,preventScrollReset:ls,blockers:ns},{viewTransitionOpts:ds,flushSync:_n===!0}),Ie="POP",tt=!1,Ut=!1,qt=!1,br=!1,Ge?.resolve(),Ge=null,Ta?.resolve(),Ta=null}async function Hl(Sr,Zr){if(Ge?.resolve(),Ge=null,typeof Sr=="number"){Ge||(Ge=di());let ea=Ge.promise;return k.history.go(Sr),ea}let _n=rs(oe.location,oe.matches,pt,Sr,Zr?.fromRouteId,Zr?.relative),{path:vi,submission:Di,error:Ci}=xa(!1,_n,Zr),ns=oe.location,os=J(oe.location,vi,Zr&&Zr.state);os={...os,...k.history.encodeLocation(os)};let ls=Zr&&Zr.replace!=null?Zr.replace:void 0,ds="PUSH";ls===!0?ds="REPLACE":ls===!1||Di!=null&&ti(Di.formMethod)&&Di.formAction===oe.location.pathname+oe.location.search&&(ds="REPLACE");let Us=Zr&&"preventScrollReset"in Zr?Zr.preventScrollReset===!0:void 0,Ss=(Zr&&Zr.flushSync)===!0,Ya=af({currentLocation:ns,nextLocation:os,historyAction:ds});if(Ya){Ed(Ya,{state:"blocked",location:os,proceed(){Ed(Ya,{state:"proceeding",proceed:void 0,reset:void 0,location:os}),Hl(Sr,Zr)},reset(){let ea=new Map(oe.blockers);ea.set(Ya,Hn),ao({blockers:ea})}});return}await au(ds,os,{submission:Di,pendingError:Ci,preventScrollReset:Us,replace:Zr&&Zr.replace,enableViewTransition:Zr&&Zr.viewTransition,flushSync:Ss,callSiteDefaultShouldRevalidate:Zr&&Zr.unstable_defaultShouldRevalidate})}function sd(){Ta||(Ta=di()),od(),ao({revalidation:"loading"});let Sr=Ta.promise;return oe.navigation.state==="submitting"?Sr:oe.navigation.state==="idle"?(au(oe.historyAction,oe.location,{startUninterruptedRevalidation:!0}),Sr):(au(Ie||oe.historyAction,oe.navigation.location,{overrideNavigation:oe.navigation,enableViewTransition:Ut===!0}),Sr)}async function au(Sr,Zr,_n){_t&&_t.abort(),_t=null,Ie=Sr,qt=(_n&&_n.startUninterruptedRevalidation)===!0,Ud(oe.location,oe.matches),tt=(_n&&_n.preventScrollReset)===!0,Ut=(_n&&_n.enableViewTransition)===!0;let vi=et||Ve,Di=_n&&_n.overrideNavigation,Ci=_n?.initialHydration&&oe.matches&&oe.matches.length>0&&!ii?oe.matches:rt(vi,Zr,pt),ns=(_n&&_n.flushSync)===!0;if(Ci&&oe.initialized&&!br&&$r(oe.location,Zr)&&!(_n&&_n.submission&&ti(_n.submission.formMethod))){bo(Zr,{matches:Ci},{flushSync:ns});return}let os=jd(Ci,vi,Zr.pathname);if(os.active&&os.matches&&(Ci=os.matches),!Ci){let{error:ou,notFoundMatches:co,route:ro}=vf(Zr.pathname);bo(Zr,{matches:co,loaderData:{},errors:{[ro.id]:ou}},{flushSync:ns});return}_t=new AbortController;let ls=Cr(k.history,Zr,_t.signal,_n&&_n.submission),ds=k.getContext?await k.getContext():new Ue,Us;if(_n&&_n.pendingError)Us=[Aa(Ci).route.id,{type:"error",error:_n.pendingError}];else if(_n&&_n.submission&&ti(_n.submission.formMethod)){let ou=await xd(ls,Zr,_n.submission,Ci,ds,os.active,_n&&_n.initialHydration===!0,{replace:_n.replace,flushSync:ns});if(ou.shortCircuited)return;if(ou.pendingActionResult){let[co,ro]=ou.pendingActionResult;if(yt(ro)&&Hi(ro.error)&&ro.error.status===404){_t=null,bo(Zr,{matches:ou.matches,loaderData:{},errors:{[co]:ro.error}});return}}Ci=ou.matches||Ci,Us=ou.pendingActionResult,Di=Je(Zr,_n.submission),ns=!1,os.active=!1,ls=Cr(k.history,ls.url,ls.signal)}let{shortCircuited:Ss,matches:Ya,loaderData:ea,errors:Ou}=await Uc(ls,Zr,Ci,ds,os.active,Di,_n&&_n.submission,_n&&_n.fetcherSubmission,_n&&_n.replace,_n&&_n.initialHydration===!0,ns,Us,_n&&_n.callSiteDefaultShouldRevalidate);Ss||(_t=null,bo(Zr,{matches:Ya||Ci,...Ks(Us),loaderData:ea,errors:Ou}))}async function xd(Sr,Zr,_n,vi,Di,Ci,ns,os={}){od();let ls=Ct(Zr,_n);if(ao({navigation:ls},{flushSync:os.flushSync===!0}),Ci){let Ss=await of(vi,Zr.pathname,Sr.signal);if(Ss.type==="aborted")return{shortCircuited:!0};if(Ss.type==="error"){if(Ss.partialMatches.length===0){let{matches:ea,route:Ou}=pa(Ve);return{matches:ea,pendingActionResult:[Ou.id,{type:"error",error:Ss.error}]}}let Ya=Aa(Ss.partialMatches).route.id;return{matches:Ss.partialMatches,pendingActionResult:[Ya,{type:"error",error:Ss.error}]}}else if(Ss.matches)vi=Ss.matches;else{let{notFoundMatches:Ya,error:ea,route:Ou}=vf(Zr.pathname);return{matches:Ya,pendingActionResult:[Ou.id,{type:"error",error:ea}]}}}let ds,Us=qn(vi,Zr);if(!Us.route.action&&!Us.route.lazy)ds={type:"error",error:Pt(405,{method:Sr.method,pathname:Zr.pathname,routeId:Us.route.id})};else{let Ss=Li(Oe,ke,Sr,vi,Us,ns?[]:be,Di),Ya=await ad(Sr,Ss,Di,null);if(ds=Ya[Us.route.id],!ds){for(let ea of vi)if(Ya[ea.route.id]){ds=Ya[ea.route.id];break}}if(Sr.signal.aborted)return{shortCircuited:!0}}if(sr(ds)){let Ss;return os&&os.replace!=null?Ss=os.replace:Ss=ys(ds.response.headers.get("Location"),new URL(Sr.url),pt,k.history)===oe.location.pathname+oe.location.search,await Zu(Sr,ds,!0,{submission:_n,replace:Ss}),{shortCircuited:!0}}if(yt(ds)){let Ss=Aa(vi,Us.route.id);return(os&&os.replace)!==!0&&(Ie="PUSH"),{matches:vi,pendingActionResult:[Ss.route.id,ds,Us.route.id]}}return{matches:vi,pendingActionResult:[Us.route.id,ds]}}async function Uc(Sr,Zr,_n,vi,Di,Ci,ns,os,ls,ds,Us,Ss,Ya){let ea=Ci||Je(Zr,ns),Ou=ns||os||$e(ea),ou=!qt&&!ds;if(Di){if(ou){let mo=Cl(Ss);ao({navigation:ea,...mo!==void 0?{actionData:mo}:{}},{flushSync:Us})}let Ma=await of(_n,Zr.pathname,Sr.signal);if(Ma.type==="aborted")return{shortCircuited:!0};if(Ma.type==="error"){if(Ma.partialMatches.length===0){let{matches:ja,route:Po}=pa(Ve);return{matches:ja,loaderData:{},errors:{[Po.id]:Ma.error}}}let mo=Aa(Ma.partialMatches).route.id;return{matches:Ma.partialMatches,loaderData:{},errors:{[mo]:Ma.error}}}else if(Ma.matches)_n=Ma.matches;else{let{error:mo,notFoundMatches:ja,route:Po}=vf(Zr.pathname);return{matches:ja,loaderData:{},errors:{[Po.id]:mo}}}}let co=et||Ve,{dsMatches:ro,revalidatingFetchers:jo}=ka(Sr,vi,Oe,ke,k.history,oe,_n,Ou,Zr,ds?[]:be,ds===!0,br,cn,ko,Qs,Hs,co,pt,k.patchRoutesOnNavigation!=null,Ss,Ya);if(Ri=++ai,!k.dataStrategy&&!ro.some(Ma=>Ma.shouldLoad)&&!ro.some(Ma=>Ma.route.middleware&&Ma.route.middleware.length>0)&&jo.length===0){let Ma=Bd();return bo(Zr,{matches:_n,loaderData:{},errors:Ss&&yt(Ss[1])?{[Ss[0]]:Ss[1].error}:null,...Ks(Ss),...Ma?{fetchers:new Map(oe.fetchers)}:{}},{flushSync:Us}),{shortCircuited:!0}}if(ou){let Ma={};if(!Di){Ma.navigation=ea;let mo=Cl(Ss);mo!==void 0&&(Ma.actionData=mo)}jo.length>0&&(Ma.fetchers=pl(jo)),ao(Ma,{flushSync:Us})}
753jo.forEach(Ma=>{wc(Ma.key),Ma.controller&&gn.set(Ma.key,Ma.controller)});let zc=()=>jo.forEach(Ma=>wc(Ma.key));_t&&_t.signal.addEventListener("abort",zc);let{loaderResults:ld,fetcherResults:nn}=await Nd(ro,jo,Sr,vi);if(Sr.signal.aborted)return{shortCircuited:!0};_t&&_t.signal.removeEventListener("abort",zc),jo.forEach(Ma=>gn.delete(Ma.key));let Xo=$t(ld);if(Xo)return await Zu(Sr,Xo.result,!0,{replace:ls}),{shortCircuited:!0};if(Xo=$t(nn),Xo)return Hs.add(Xo.key),await Zu(Sr,Xo.result,!0,{replace:ls}),{shortCircuited:!0};let{loaderData:cd,errors:dd}=Da(oe,_n,ld,Ss,jo,nn);ds&&oe.errors&&(dd={...oe.errors,...dd});let Vl=Bd(),lc=Al(Ri),$o=Vl||lc||jo.length>0;return{matches:_n,loaderData:cd,errors:dd,...$o?{fetchers:new Map(oe.fetchers)}:{}}}function Cl(Sr){if(Sr&&!yt(Sr[1]))return{[Sr[0]]:Sr[1].data};if(oe.actionData)return Object.keys(oe.actionData).length===0?null:oe.actionData}function pl(Sr){return Sr.forEach(Zr=>{let _n=oe.fetchers.get(Zr.key),vi=Ot(void 0,_n?_n.data:void 0);oe.fetchers.set(Zr.key,vi)}),new Map(oe.fetchers)}async function Fu(Sr,Zr,_n,vi){wc(Sr);let Di=(vi&&vi.flushSync)===!0,Ci=et||Ve,ns=rs(oe.location,oe.matches,pt,_n,Zr,vi?.relative),os=rt(Ci,ns,pt),ls=jd(os,Ci,ns);if(ls.active&&ls.matches&&(os=ls.matches),!os){qu(Sr,Zr,Pt(404,{pathname:ns}),{flushSync:Di});return}let{path:ds,submission:Us,error:Ss}=xa(!0,ns,vi);if(Ss){qu(Sr,Zr,Ss,{flushSync:Di});return}let Ya=k.getContext?await k.getContext():new Ue,ea=(vi&&vi.preventScrollReset)===!0;if(Us&&ti(Us.formMethod)){await Bu(Sr,Zr,ds,os,Ya,ls.active,Di,ea,Us,vi&&vi.unstable_defaultShouldRevalidate);return}Qs.set(Sr,{routeId:Zr,path:ds}),await ml(Sr,Zr,ds,os,Ya,ls.active,Di,ea,Us)}async function Bu(Sr,Zr,_n,vi,Di,Ci,ns,os,ls,ds){od(),Qs.delete(Sr);let Us=oe.fetchers.get(Sr);
753gl(Sr,Wt(ls,Us),{flushSync:ns});let Ss=new AbortController,Ya=Cr(k.history,_n,Ss.signal,ls);if(Ci){let zo=await of(vi,new URL(Ya.url).pathname,Ya.signal,Sr);if(zo.type==="aborted")return;if(zo.type==="error"){qu(Sr,Zr,zo.error,{flushSync:ns});return}else if(zo.matches)vi=zo.matches;else{qu(Sr,Zr,Pt(404,{pathname:_n}),{flushSync:ns});return}}let ea=qn(vi,_n);if(!ea.route.action&&!ea.route.lazy){let zo=Pt(405,{method:ls.formMethod,pathname:_n,routeId:Zr});qu(Sr,Zr,zo,{flushSync:ns});return}gn.set(Sr,Ss);let Ou=ai,ou=Li(Oe,ke,Ya,vi,ea,be,Di),co=await ad(Ya,ou,Di,Sr),ro=co[ea.route.id];if(!ro){for(let zo of ou)if(co[zo.route.id]){ro=co[zo.route.id];break}}if(Ya.signal.aborted){gn.get(Sr)===Ss&&gn.delete(Sr);return}if(ko.has(Sr)){if(sr(ro)||yt(ro)){gl(Sr,Er(void 0));return}}else{if(sr(ro))if(gn.delete(Sr),Ri>Ou){gl(Sr,Er(void 0));return}else return Hs.add(Sr),gl(Sr,Ot(ls)),Zu(Ya,ro,!1,{fetcherSubmission:ls,preventScrollReset:os});if(yt(ro)){qu(Sr,Zr,ro.error);return}}let jo=oe.navigation.location||oe.location,zc=Cr(k.history,jo,Ss.signal),ld=et||Ve,nn=oe.navigation.state!=="idle"?rt(ld,oe.navigation.location,pt):oe.matches;M(nn,"Didn't find any matches after fetcher action");let Xo=++ai;ps.set(Sr,Xo);let cd=Ot(ls,ro.data);oe.fetchers.set(Sr,cd);let{dsMatches:dd,revalidatingFetchers:Vl}=ka(zc,Di,Oe,ke,k.history,oe,nn,ls,jo,be,!1,br,cn,ko,Qs,Hs,ld,pt,k.patchRoutesOnNavigation!=null,[ea.route.id,ro],ds);Vl.filter(zo=>zo.key!==Sr).forEach(zo=>{let vl=zo.key,Ol=oe.fetchers.get(vl),uf=Ot(void 0,Ol?Ol.data:void 0);oe.fetchers.set(vl,uf),wc(vl),zo.controller&&gn.set(vl,zo.controller)}),ao({fetchers:new Map(oe.fetchers)});let lc=()=>Vl.forEach(zo=>wc(zo.key));Ss.signal.addEventListener("abort",lc);let{loaderResults:$o,fetcherResults:Ma}=await Nd(dd,Vl,zc,Di);if(Ss.signal.aborted)return;if(Ss.signal.removeEventListener("abort",lc),ps.delete(Sr),gn.delete(Sr),Vl.forEach(zo=>gn.delete(zo.key)),oe.fetchers.has(Sr)){let zo=Er(ro.data);oe.fetchers.set(Sr,zo)}let mo=$t($o);if(mo)return Zu(zc,mo.result,!1,{preventScrollReset:os});if(mo=$t(Ma),mo)return Hs.add(mo.key),Zu(zc,mo.result,!1,{preventScrollReset:os});let{loaderData:ja,errors:Po}=Da(oe,nn,$o,void 0,Vl,Ma);Al(Xo),oe.navigation.state==="loading"&&Xo>Ri?(M(Ie,"Expected pending action"),_t&&_t.abort(),bo(oe.navigation.location,{matches:nn,loaderData:ja,errors:Po,fetchers:new Map(oe.fetchers)})):(ao({errors:Po,loaderData:zs(oe.loaderData,ja,nn,Po),fetchers:new Map(oe.fetchers)}),br=!1)}async function ml(Sr,Zr,_n,vi,Di,Ci,ns,os,ls){let ds=oe.fetchers.get(Sr);
753gl(Sr,Ot(ls,ds?ds.data:void 0),{flushSync:ns});let Us=new AbortController,Ss=Cr(k.history,_n,Us.signal);if(Ci){let ro=await of(vi,new URL(Ss.url).pathname,Ss.signal,Sr);if(ro.type==="aborted")return;if(ro.type==="error"){qu(Sr,Zr,ro.error,{flushSync:ns});return}else if(ro.matches)vi=ro.matches;else{qu(Sr,Zr,Pt(404,{pathname:_n}),{flushSync:ns});return}}let Ya=qn(vi,_n);gn.set(Sr,Us);let ea=ai,Ou=Li(Oe,ke,Ss,vi,Ya,be,Di),co=(await ad(Ss,Ou,Di,Sr))[Ya.route.id];if(gn.get(Sr)===Us&&gn.delete(Sr),!Ss.signal.aborted){if(ko.has(Sr)){gl(Sr,Er(void 0));return}if(sr(co))if(Ri>ea){gl(Sr,Er(void 0));return}else{Hs.add(Sr),await Zu(Ss,co,!1,{preventScrollReset:os});return}if(yt(co)){qu(Sr,Zr,co.error);return}gl(Sr,Er(co.data))}}async function Zu(Sr,Zr,_n,{submission:vi,fetcherSubmission:Di,preventScrollReset:Ci,replace:ns}={}){_n||(Ge?.resolve(),Ge=null),Zr.response.headers.has("X-Remix-Revalidate")&&(br=!0);let os=Zr.response.headers.get("Location");M(os,"Expected a Location header on the redirect Response"),os=ys(os,new URL(Sr.url),pt,k.history);let ls=J(oe.location,os,{_isRedirect:!0});if(ie){let Ou=!1;if(Zr.response.headers.has("X-Remix-Reload-Document"))Ou=!0;else if(rr(os)){const ou=ae(os,!0);Ou=ou.origin!==G.location.origin||Lr(ou.pathname,pt)==null}if(Ou){ns?G.location.replace(os):G.location.assign(os);return}}_t=null;let ds=ns===!0||Zr.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Us,formAction:Ss,formEncType:Ya}=oe.navigation;!vi&&!Di&&Us&&Ss&&Ya&&(vi=$e(oe.navigation));let ea=vi||Di;if(Or.has(Zr.response.status)&&ea&&ti(ea.formMethod))await au(ds,ls,{submission:{...ea,formAction:os},preventScrollReset:Ci||tt,enableViewTransition:_n?Ut:void 0});else{let Ou=Je(ls,vi);await au(ds,ls,{overrideNavigation:Ou,fetcherSubmission:Di,preventScrollReset:Ci||tt,enableViewTransition:_n?Ut:void 0})}}async function ad(Sr,Zr,_n,vi){let Di,Ci={};try{Di=await Mi(lr,Sr,Zr,vi,_n,!1)}catch(ns){return Zr.filter(os=>os.shouldLoad).forEach(os=>{Ci[os.route.id]={type:"error",error:ns}}),Ci}if(Sr.signal.aborted)return Ci;if(!ti(Sr.method))for(let ns of Zr){if(Di[ns.route.id]?.type==="error")break;!Di.hasOwnProperty(ns.route.id)&&!oe.loaderData.hasOwnProperty(ns.route.id)&&(!oe.errors||!oe.errors.hasOwnProperty(ns.route.id))&&ns.shouldCallHandler()&&(Di[ns.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${ns.route.id}`)})}for(let[ns,os]of Object.entries(Di))if(bt(os)){let ls=os.result;Ci[ns]={type:"redirect",response:so(ls,Sr,ns,Zr,pt)}}else Ci[ns]=await za(os);return Ci}async function Nd(Sr,Zr,_n,vi){let Di=ad(_n,Sr,vi,null),Ci=Promise.all(Zr.map(async ls=>{if(ls.matches&&ls.match&&ls.request&&ls.controller){let Us=(await ad(ls.request,ls.matches,vi,ls.key))[ls.match.route.id];return{[ls.key]:Us}}else return Promise.resolve({[ls.key]:{type:"error",error:Pt(404,{pathname:ls.path})}})})),ns=await Di,os=(await Ci).reduce((ls,ds)=>Object.assign(ls,ds),{});return{loaderResults:ns,fetcherResults:os}}function od(){br=!0,Qs.forEach((Sr,Zr)=>{gn.has(Zr)&&cn.add(Zr),wc(Zr)})}function gl(Sr,Zr,_n={}){oe.fetchers.set(Sr,Zr),ao({fetchers:new Map(oe.fetchers)},{flushSync:(_n&&_n.flushSync)===!0})}function qu(Sr,Zr,_n,vi={}){let Di=Aa(oe.matches,Zr);Wl(Sr),ao({errors:{[Di.route.id]:_n},fetchers:new Map(oe.fetchers)},{flushSync:(vi&&vi.flushSync)===!0})}function Fd(Sr){return la.set(Sr,(la.get(Sr)||0)+1),ko.has(Sr)&&ko.delete(Sr),oe.fetchers.get(Sr)||zr}function ud(Sr,Zr){wc(Sr,Zr?.reason),gl(Sr,Er(null))}function Wl(Sr){let Zr=oe.fetchers.get(Sr);gn.has(Sr)&&!(Zr&&Zr.state==="loading"&&ps.has(Sr))&&wc(Sr),Qs.delete(Sr),ps.delete(Sr),Hs.delete(Sr),ko.delete(Sr),cn.delete(Sr),oe.fetchers.delete(Sr)}function sf(Sr){let Zr=(la.get(Sr)||0)-1;Zr<=0?(la.delete(Sr),ko.add(Sr)):la.set(Sr,Zr),ao({fetchers:new Map(oe.fetchers)})}function wc(Sr,Zr){let _n=gn.get(Sr);_n&&(_n.abort(Zr),gn.delete(Sr))}function _c(Sr){for(let Zr of Sr){let _n=Fd(Zr),vi=Er(_n.data);oe.fetchers.set(Zr,vi)}}function Bd(){let Sr=[],Zr=!1;for(let _n of Hs){let vi=oe.fetchers.get(_n);M(vi,`Expected fetcher: ${_n}`),vi.state==="loading"&&(Hs.delete(_n),Sr.push(_n),Zr=!0)}return _c(Sr),Zr}function Al(Sr){let Zr=[];for(let[_n,vi]of ps)if(vi<Sr){let Di=oe.fetchers.get(_n);M(Di,`Expected fetcher: ${_n}`),Di.state==="loading"&&(wc(_n),ps.delete(_n),Zr.push(_n))}return _c(Zr),Zr.length>0}function jc(Sr,Zr){let _n=oe.blockers.get(Sr)||Hn;return zi.get(Sr)!==Zr&&zi.set(Sr,Zr),_n}function gf(Sr){oe.blockers.delete(Sr),zi.delete(Sr)}function Ed(Sr,Zr){let _n=oe.blockers.get(Sr)||Hn;M(_n.state==="unblocked"&&Zr.state==="blocked"||_n.state==="blocked"&&Zr.state==="blocked"||_n.state==="blocked"&&Zr.state==="proceeding"||_n.state==="blocked"&&Zr.state==="unblocked"||_n.state==="proceeding"&&Zr.state==="unblocked",`Invalid blocker state transition: ${_n.state} ->
753 ${Zr.state}`);let vi=new Map(oe.blockers);vi.set(Sr,Zr),ao({blockers:vi})}function af({currentLocation:Sr,nextLocation:Zr,historyAction:_n}){if(zi.size===0)return;zi.size>1&&W(!1,"A router only supports one blocker at a time");let vi=Array.from(zi.entries()),[Di,Ci]=vi[vi.length-1],ns=oe.blockers.get(Di);if(!(ns&&ns.state==="proceeding")&&Ci({currentLocation:Sr,nextLocation:Zr,historyAction:_n}))return Di}function vf(Sr){let Zr=Pt(404,{pathname:Sr}),_n=et||Ve,{matches:vi,route:Di}=pa(_n);return{notFoundMatches:vi,route:Di,error:Zr}}function Mf(Sr,Zr,_n){if(Br=Sr,Jr=Zr,en=_n||null,!Vn&&oe.navigation===Pn){Vn=!0;let vi=Nf(oe.location,oe.matches);vi!=null&&ao({restoreScrollPosition:vi})}return()=>{Br=null,Jr=null,en=null}}function kf(Sr,Zr){return en&&en(Sr,Zr.map(vi=>Xt(vi,oe.loaderData)))||Sr.key}function Ud(Sr,Zr){if(Br&&Jr){let _n=kf(Sr,Zr);Br[_n]=Jr()}}function Nf(Sr,Zr){if(Br){let _n=kf(Sr,Zr),vi=Br[_n];if(typeof vi=="number")return vi}return null}function jd(Sr,Zr,_n){if(k.patchRoutesOnNavigation)if(Sr){if(Object.keys(Sr[0].params).length>0)return{active:!0,matches:mt(Zr,_n,pt,!0)}}else return{active:!0,matches:mt(Zr,_n,pt,!0)||[]};return{active:!1,matches:null}}async function of(Sr,Zr,_n,vi){if(!k.patchRoutesOnNavigation)return{type:"success",matches:Sr};let Di=Sr;for(;;){let Ci=et==null,ns=et||Ve,os=ke;try{await k.patchRoutesOnNavigation({signal:_n,path:Zr,matches:Di,fetcherKey:vi,patch:(Us,Ss)=>{_n.aborted||Ys(Us,Ss,ns,os,Oe,!1)}})}catch(Us){return{type:"error",error:Us,partialMatches:Di}}finally{Ci&&!_n.aborted&&(Ve=[...Ve])}if(_n.aborted)return{type:"aborted"};let ls=rt(ns,Zr,pt),ds=null;if(ls){if(Object.keys(ls[0].params).length===0)return{type:"success",matches:ls};if(ds=mt(ns,Zr,pt,!0),!(ds&&Di.length<ds.length&&Ff(Di,ds.slice(0,Di.length))))return{type:"success",matches:ls}}if(ds||(ds=mt(ns,Zr,pt,!0)),!ds||Ff(Di,ds))return{type:"success",matches:null};Di=ds}}function Ff(Sr,Zr){return Sr.length===Zr.length&&Sr.every((_n,vi)=>_n.route.id===Zr[vi].route.id)}function ih(Sr){ke={},et=Me(Sr,Oe,void 0,ke)}function Qi(Sr,Zr,_n=!1){let vi=et==null;Ys(Sr,Zr,et||Ve,ke,Oe,_n),vi&&(Ve=[...Ve],ao({}))}return le={get basename(){return pt},get future(){return Vt},get state(){return oe},get routes(){return Ve},get window(){return G},initialize:to,subscribe:id,enableScrollRestoration:Mf,navigate:Hl,fetch:Fu,revalidate:sd,createHref:Sr=>k.history.createHref(Sr),encodeLocation:Sr=>k.history.encodeLocation(Sr),getFetcher:Fd,resetFetcher:ud,deleteFetcher:sf,dispose:Tc,getBlocker:jc,deleteBlocker:gf,patchRoutes:Qi,_internalFetchControllers:gn,_internalSetRoutes:ih,_internalSetStateDoNotUseOrYouWillBreakYourApp(Sr){ao(Sr)}},k.unstable_instrumentations&&(le=Zn(le,k.unstable_instrumentations.map(Sr=>Sr.router).filter(Boolean))),le}function ms(k,G){M(k.length>0,"You must provide a non-empty routes array to createStaticHandler");let ie={},be=(G?G.basename:null)||"/",Se=G?.mapRouteProperties||fi,Oe=Se;if(G?.unstable_instrumentations){let nr=G.unstable_instrumentations;Oe=Br=>({...Se(Br),...ws(nr.map(en=>en.route).filter(Boolean),Br)})}let ke=Me(k,Oe,void 0,ie);async function Ve(nr,{requestContext:Br,filterMatchesToLoad:en,skipLoaderErrorBubbling:Jr,skipRevalidation:Vn,dataStrategy:yn,generateMiddlewareResponse:ii}={}){let R=new URL(nr.url),K=nr.method,le=J("",re(R),null,"default"),oe=rt(ke,le,be);if(Br=Br??new Ue,!Fi(K)&&K!=="HEAD"){let Ge=Pt(405,{method:K}),{matches:tt,route:_t}=pa(ke),Ut={basename:be,location:le,matches:tt,loaderData:{},actionData:null,errors:{[_t.id]:Ge},statusCode:Ge.status,loaderHeaders:{},actionHeaders:{}};return ii?ii(()=>Promise.resolve(Ut)):Ut}else if(!oe){let Ge=Pt(404,{pathname:le.pathname}),{matches:tt,route:_t}=pa(ke),Ut={basename:be,location:le,matches:tt,loaderData:{},actionData:null,errors:{[_t.id]:Ge},statusCode:Ge.status,loaderHeaders:{},actionHeaders:{}};return ii?ii(()=>Promise.resolve(Ut)):Ut}if(ii){M(Br instanceof Ue,"When using middleware in `staticHandler.query()`, any provided `requestContext` must be an instance of `RouterContextProvider`");try{await js(oe,ie,Oe);let Ge,tt=await Nt({request:nr,unstable_pattern:Ji(oe),matches:oe,params:oe[0].params,context:Br},async()=>await ii(async(Ut,yr={})=>{let Qt=await pt(Ut,le,oe,Br,yn||null,Jr===!0,null,"filterMatchesToLoad"in yr?yr.filterMatchesToLoad??null:en??null,Vn===!0);return hr(Qt)?Qt:(Ge={location:le,basename:be,...Qt},Ge)}),async(_t,Ut)=>{if(Un(_t))return _t;if(hr(_t))try{_t=new tn(_t.status,_t.statusText,await io(_t))}catch(yr){_t=yr}if(pr(_t)&&(_t=Yr(_t)),Ge){Ut in Ge.loaderData&&(Ge.loaderData[Ut]=void 0);let yr=wi(ke,Ge,_t,Jr?Ut:Aa(oe,Ut).route.id);return ii(()=>Promise.resolve(yr))}else{let yr=Jr?Ut:Aa(oe,oe.find(qt=>qt.route.id===Ut||qt.route.loader)?.route.id||Ut).route.id,Qt={matches:oe,location:le,basename:be,loaderData:{},actionData:null,errors:{[yr]:_t},statusCode:Hi(_t)?_t.status:500,actionHeaders:{},loaderHeaders:{}};return ii(()=>Promise.resolve(Qt))}});return M(hr(tt),"Expected a response in query()"),tt}catch(Ge){if(hr(Ge))return Ge;throw Ge}}let Ie=await pt(nr,le,oe,Br,yn||null,Jr===!0,null,en||null,Vn===!0);return hr(Ie)?Ie:{location:le,basename:be,...Ie}}async function et(nr,{routeId:Br,requestContext:en,dataStrategy:Jr,generateMiddlewareResponse:Vn}={}){let yn=new URL(nr.url),ii=nr.method,R=J("",re(yn),null,"default"),K=rt(ke,R,be);if(en=en??new Ue,!Fi(ii)&&ii!=="HEAD"&&ii!=="OPTIONS")throw Pt(405,{method:ii});if(!K)throw Pt(404,{pathname:R.pathname});let le=Br?K.find(Ge=>Ge.route.id===Br):qn(K,R);if(Br&&!le)throw Pt(403,{pathname:R.pathname,routeId:Br});if(!le)throw Pt(404,{pathname:R.pathname});if(Vn)return M(en instanceof Ue,"When using middleware in `staticHandler.queryRoute()`, any provided `requestContext` must be an instance of `RouterContextProvider`"),await js(K,ie,Oe),await Nt({request:nr,unstable_pattern:Ji(K),matches:K,params:K[0].params,context:en},async()=>await Vn(async _t=>{let Ut=await pt(_t,R,K,en,Jr||null,!1,le,null,!1),yr=Ie(Ut);return hr(yr)?yr:typeof yr=="string"?new Response(yr):Response.json(yr)}),tt=>{if(pr(tt))return Promise.resolve(bn(tt));if(hr(tt))return Promise.resolve(tt);throw tt});let oe=await pt(nr,R,K,en,Jr||null,!1,le,null,!1);return Ie(oe);function Ie(Ge){if(hr(Ge))return Ge;let tt=Ge.errors?Object.values(Ge.errors)[0]:void 0;if(tt!==void 0)throw tt;if(Ge.actionData)return Object.values(Ge.actionData)[0];if(Ge.loaderData)return Object.values(Ge.loaderData)[0]}}async function pt(nr,Br,en,Jr,Vn,yn,ii,R,K){M(nr.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(ti(nr.method))return await lr(nr,en,ii||qn(en,Br),Jr,Vn,yn,ii!=null,R,K);let le=await Vt(nr,en,Jr,Vn,yn,ii,R);return hr(le)?le:{...le,actionData:null,actionHeaders:{}}}catch(le){if(je(le)&&hr(le.result)){if(le.type==="error")throw le.result;return le.result}if(Un(le))return le;throw le}}async function lr(nr,Br,en,Jr,Vn,yn,ii,R,K){let le;if(!en.route.action&&!en.route.lazy){let Ge=Pt(405,{method:nr.method,pathname:new URL(nr.url).pathname,routeId:en.route.id});if(ii)throw Ge;le={type:"error",error:Ge}}else{let Ge=Li(Oe,ie,nr,Br,en,[],Jr);le=(await Nr(nr,Ge,ii,Jr,Vn))[en.route.id],nr.signal.aborted&&Ls(nr,ii)}if(sr(le))throw new Response(null,{status:le.response.status,headers:{Location:le.response.headers.get("Location")}});if(ii){if(yt(le))throw le.error;return{matches:[en],loaderData:{},actionData:{[en.route.id]:le.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{}}}if(K)if(yt(le)){let Ge=yn?en:Aa(Br,en.route.id);
753return{statusCode:Hi(le.error)?le.error.status:le.statusCode!=null?le.statusCode:500,actionData:null,actionHeaders:{...le.headers?{[en.route.id]:le.headers}:{}},matches:Br,loaderData:{},errors:{[Ge.route.id]:le.error},loaderHeaders:{}}}else return{actionData:{[en.route.id]:le.data},actionHeaders:le.headers?{[en.route.id]:le.headers}:{},matches:Br,loaderData:{},errors:null,statusCode:le.statusCode||200,loaderHeaders:{}};let oe=new Request(nr.url,{headers:nr.headers,redirect:nr.redirect,signal:nr.signal});if(yt(le)){let Ge=yn?en:Aa(Br,en.route.id);return{...await Vt(oe,Br,Jr,Vn,yn,null,R,[Ge.route.id,le]),statusCode:Hi(le.error)?le.error.status:le.statusCode!=null?le.statusCode:500,actionData:null,actionHeaders:{...le.headers?{[en.route.id]:le.headers}:{}}}}return{...await Vt(oe,Br,Jr,Vn,yn,null,R),actionData:{[en.route.id]:le.data},...le.statusCode?{statusCode:le.statusCode}:{},actionHeaders:le.headers?{[en.route.id]:le.headers}:{}}}async function Vt(nr,Br,en,Jr,Vn,yn,ii,R){let K=yn!=null;if(K&&!yn?.route.loader&&!yn?.route.lazy)throw Pt(400,{method:nr.method,pathname:new URL(nr.url).pathname,routeId:yn?.route.id});let le;if(yn)le=Li(Oe,ie,nr,Br,yn,[],en);else{let Ge=R&&yt(R[1])?Br.findIndex(_t=>_t.route.id===R[0])-1:void 0,tt=Ji(Br);le=Br.map((_t,Ut)=>Ge!=null&&Ut>Ge?qi(Oe,ie,nr,tt,_t,[],en,!1):qi(Oe,ie,nr,tt,_t,[],en,(_t.route.loader||_t.route.lazy)!=null&&(!ii||ii(_t))))}if(!Jr&&!le.some(Ge=>Ge.shouldLoad))return{matches:Br,loaderData:{},errors:R&&yt(R[1])?{[R[0]]:R[1].error}:null,statusCode:200,loaderHeaders:{}};let oe=await Nr(nr,le,K,en,Jr);return nr.signal.aborted&&Ls(nr,K),{...va(Br,oe,R,!0,Vn),matches:Br}}async function Nr(nr,Br,en,Jr,Vn){let yn=await Mi(Vn||ce,nr,Br,null,Jr,!0),ii={};return await Promise.all(Br.map(async R=>{if(!(R.route.id in yn))return;let K=yn[R.route.id];if(bt(K)){let le=K.result;throw so(le,nr,R.route.id,Br,be)}if(en){if(hr(K.result))throw K;if(pr(K.result))throw bn(K.result)}ii[R.route.id]=await za(K)})),ii}return{dataRoutes:ke,query:Ve,queryRoute:et}}function wi(k,G,ie,be){let Se=be||G._deepestRenderedBoundaryId||k[0].id;return{...G,statusCode:Hi(ie)?ie.status:500,errors:{[Se]:ie}}}function Ls(k,G){if(k.signal.reason!==void 0)throw k.signal.reason;let ie=G?"queryRoute":"query";throw new Error(`${ie}() call aborted without an \`AbortSignal.reason\`: ${k.method} ${k.url}`)}function as(k){return k!=null&&("formData"in k&&k.formData!=null||"body"in k&&k.body!==void 0)}function rs(k,G,ie,be,Se,Oe){let ke,Ve;if(Se){ke=[];for(let pt of G)if(ke.push(pt),pt.route.id===Se){Ve=pt;break}}else ke=G,Ve=G[G.length-1];let et=ot(be||".",Y(ke),Lr(k.pathname,ie)||k.pathname,Oe==="path");if(be==null&&(et.search=k.search,et.hash=k.hash),(be==null||be===""||be===".")&&Ve){let pt=Ai(et.search);if(Ve.route.index&&!pt)et.search=et.search?et.search.replace(/^\?/,"?index&"):"?index";else if(!Ve.route.index&&pt){let lr=new URLSearchParams(et.search),Vt=lr.getAll("index");lr.delete("index"),Vt.filter(nr=>nr).forEach(nr=>lr.append("index",nr));let Nr=lr.toString();et.search=Nr?`?${Nr}`:""}}return ie!=="/"&&(et.pathname=un({basename:ie,pathname:et.pathname})),re(et)}function xa(k,G,ie){if(!ie||!as(ie))return{path:G};if(ie.formMethod&&!Fi(ie.formMethod))return{path:G,error:Pt(405,{method:ie.formMethod})};let be=()=>({path:G,error:Pt(400,{type:"invalid-body"})}),Oe=(ie.formMethod||"get").toUpperCase(),ke=xr(G);if(ie.body!==void 0){if(ie.formEncType==="text/plain"){if(!ti(Oe))return be();let Vt=typeof ie.body=="string"?ie.body:ie.body instanceof FormData||ie.body instanceof URLSearchParams?Array.from(ie.body.entries()).reduce((Nr,[nr,Br])=>`${Nr}${nr}=${Br} 754`,""):String(ie.body);return{path:G,submission:{formMethod:Oe,formAction:ke,formEncType:ie.formEncType,formData:void 0,json:void 0,text:Vt}}}else if(ie.formEncType==="application/json"){if(!ti(Oe))return be();try{let Vt=typeof ie.body=="string"?JSON.parse(ie.body):ie.body;return{path:G,submission:{formMethod:Oe,formAction:ke,formEncType:ie.formEncType,formData:void 0,json:Vt,text:void 0}}}catch{return be()}}}M(typeof FormData=="function","FormData is not available in this environment");let Ve,et;if(ie.formData)Ve=$a(ie.formData),et=ie.formData;else if(ie.body instanceof FormData)Ve=$a(ie.body),et=ie.body;else if(ie.body instanceof URLSearchParams)Ve=ie.body,et=ln(Ve);else if(ie.body==null)Ve=new URLSearchParams,et=new FormData;else try{Ve=new URLSearchParams(ie.body),et=ln(Ve)}catch{return be()}let pt={formMethod:Oe,formAction:ke,formEncType:ie&&ie.formEncType||"application/x-www-form-urlencoded",formData:et,json:void 0,text:void 0};if(ti(pt.formMethod))return{path:G,submission:pt};let lr=he(G);return k&&lr.search&&Ai(lr.search)&&Ve.append("index",""),lr.search=`?${Ve}`,{path:re(lr),submission:pt}}function ka(k,G,ie,be,Se,Oe,ke,Ve,et,pt,lr,Vt,Nr,nr,Br,en,Jr,Vn,yn,ii,R){let K=ii?yt(ii[1])?ii[1].error:ii[1].data:void 0,le=Se.createURL(Oe.location),oe=Se.createURL(et),Ie;if(lr&&Oe.errors){let qt=Object.keys(Oe.errors)[0];Ie=ke.findIndex(br=>br.route.id===qt)}else if(ii&&yt(ii[1])){let qt=ii[0];
754Ie=ke.findIndex(br=>br.route.id===qt)-1}let Ge=ii?ii[1].statusCode:void 0,tt=Ge&&Ge>=400,_t={currentUrl:le,currentParams:Oe.matches[0]?.params||{},nextUrl:oe,nextParams:ke[0].params,...Ve,actionResult:K,actionStatus:Ge},Ut=Ji(ke),yr=ke.map((qt,br)=>{let{route:cn}=qt,gn=null;if(Ie!=null&&br>Ie?gn=!1:cn.lazy?gn=!0:Is(cn)?lr?gn=Ms(cn,Oe.loaderData,Oe.errors):Gs(Oe.loaderData,Oe.matches[br],qt)&&(gn=!0):gn=!1,gn!==null)return qi(ie,be,k,Ut,qt,pt,G,gn);let ai=!1;typeof R=="boolean"?ai=R:tt?ai=!1:(Vt||le.pathname+le.search===oe.pathname+oe.search||le.search!==oe.search||ks(Oe.matches[br],qt))&&(ai=!0);let Ri={..._t,defaultShouldRevalidate:ai},ps=ha(qt,Ri);return qi(ie,be,k,Ut,qt,pt,G,ps,Ri,R)}),Qt=[];return Br.forEach((qt,br)=>{if(lr||!ke.some(la=>la.route.id===qt.routeId)||nr.has(br))return;let cn=Oe.fetchers.get(br),gn=cn&&cn.state!=="idle"&&cn.data===void 0,ai=rt(Jr,qt.path,Vn);if(!ai){if(yn&&gn)return;Qt.push({key:br,routeId:qt.routeId,path:qt.path,matches:null,match:null,request:null,controller:null});return}if(en.has(br))return;let Ri=qn(ai,qt.path),ps=new AbortController,Hs=Cr(Se,qt.path,ps.signal),Qs=null;if(Nr.has(br))Nr.delete(br),Qs=Li(ie,be,Hs,ai,Ri,pt,G);else if(gn)Vt&&(Qs=Li(ie,be,Hs,ai,Ri,pt,G));else{let la;typeof R=="boolean"?la=R:tt?la=!1:la=Vt;let ko={..._t,defaultShouldRevalidate:la};ha(Ri,ko)&&(Qs=Li(ie,be,Hs,ai,Ri,pt,G,ko))}Qs&&Qt.push({key:br,routeId:qt.routeId,path:qt.path,matches:Qs,match:Ri,request:Hs,controller:ps})}),{dsMatches:yr,revalidatingFetchers:Qt}}function Is(k){return k.loader!=null||k.middleware!=null&&k.middleware.length>0}function Ms(k,G,ie){if(k.lazy)return!0;if(!Is(k))return!1;let be=G!=null&&k.id in G,Se=ie!=null&&ie[k.id]!==void 0;return!be&&Se?!1:typeof k.loader=="function"&&k.loader.hydrate===!0?!0:!be&&!Se}function Gs(k,G,ie){let be=!G||ie.route.id!==G.route.id,Se=!k.hasOwnProperty(ie.route.id);return be||Se}function ks(k,G){let ie=k.route.path;return k.pathname!==G.pathname||ie!=null&&ie.endsWith("*")&&k.params["*"]!==G.params["*"]}function ha(k,G){if(k.route.shouldRevalidate){let ie=k.route.shouldRevalidate(G);if(typeof ie=="boolean")return ie}return G.defaultShouldRevalidate}function Ys(k,G,ie,be,Se,Oe){let ke;if(k){let pt=be[k];M(pt,`No route found to patch children into: routeId = ${k}`),pt.children||(pt.children=[]),ke=pt.children}else ke=ie;let Ve=[],et=[];if(G.forEach(pt=>{let lr=ke.find(Vt=>Ea(pt,Vt));lr?et.push({existingRoute:lr,newRoute:pt}):Ve.push(pt)}),Ve.length>0){let pt=Me(Ve,Se,[k||"_","patch",String(ke?.length||"0")],be);ke.push(...pt)}if(Oe&&et.length>0)for(let pt=0;pt<et.length;pt++){let{existingRoute:lr,newRoute:Vt}=et[pt],Nr=lr,[nr]=Me([Vt],Se,[],{},!0);Object.assign(Nr,{element:nr.element?nr.element:Nr.element,errorElement:nr.errorElement?nr.errorElement:Nr.errorElement,hydrateFallbackElement:nr.hydrateFallbackElement?nr.hydrateFallbackElement:Nr.hydrateFallbackElement})}}function Ea(k,G){return"id"in k&&"id"in G&&k.id===G.id?!0:k.index===G.index&&k.path===G.path&&k.caseSensitive===G.caseSensitive?(!k.children||k.children.length===0)&&(!G.children||G.children.length===0)?!0:k.children.every((ie,be)=>G.children?.some(Se=>Ea(ie,Se))):!1}var ia=new WeakMap,us=({key:k,route:G,manifest:ie,mapRouteProperties:be})=>{let Se=ie[G.id];if(M(Se,"No route found in manifest"),!Se.lazy||typeof Se.lazy!="object")return;let Oe=Se.lazy[k];if(!Oe)return;let ke=ia.get(Se);ke||(ke={},ia.set(Se,ke));let Ve=ke[k];if(Ve)return Ve;let et=(async()=>{let pt=de(k),Vt=Se[k]!==void 0&&k!=="hasErrorBoundary";if(pt)W(!pt,"Route property "+k+" is not a supported lazy route property. This property will be ignored."),ke[k]=Promise.resolve();else if(Vt)W(!1,`Route "${Se.id}" has a static property "${k}" defined. The lazy property will be ignored.`);else{let Nr=await Oe();Nr!=null&&(Object.assign(Se,{[k]:Nr}),Object.assign(Se,be(Se)))}typeof Se.lazy=="object"&&(Se.lazy[k]=void 0,Object.values(Se.lazy).every(Nr=>Nr===void 0)&&(Se.lazy=void 0))})();return ke[k]=et,et},eo=new WeakMap;function wa(k,G,ie,be,Se){let Oe=ie[k.id];if(M(Oe,"No route found in manifest"),!k.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof k.lazy=="function"){let lr=eo.get(Oe);if(lr)return{lazyRoutePromise:lr,lazyHandlerPromise:lr};let Vt=(async()=>{M(typeof k.lazy=="function","No lazy route function found");let Nr=await k.lazy(),nr={};for(let Br in Nr){let en=Nr[Br];
754if(en===void 0)continue;let Jr=Fe(Br),yn=Oe[Br]!==void 0&&Br!=="hasErrorBoundary";Jr?W(!Jr,"Route property "+Br+" is not a supported property to be returned from a lazy route function. This property will be ignored."):yn?W(!yn,`Route "${Oe.id}" has a static property "${Br}" defined but its lazy function is also returning a value for this property. The lazy route property "${Br}" will be ignored.`):nr[Br]=en}Object.assign(Oe,nr),Object.assign(Oe,{...be(Oe),lazy:void 0})})();return eo.set(Oe,Vt),Vt.catch(()=>{}),{lazyRoutePromise:Vt,lazyHandlerPromise:Vt}}let ke=Object.keys(k.lazy),Ve=[],et;for(let lr of ke){if(Se&&Se.includes(lr))continue;let Vt=us({key:lr,route:k,manifest:ie,mapRouteProperties:be});Vt&&(Ve.push(Vt),lr===G&&(et=Vt))}let pt=Ve.length>0?Promise.all(Ve).then(()=>{}):void 0;return pt?.catch(()=>{}),et?.catch(()=>{}),{lazyRoutePromise:pt,lazyHandlerPromise:et}}function da(k){return k!==void 0}function js(k,G,ie){let be=k.map(({route:Se})=>{if(!(typeof Se.lazy!="object"||!Se.lazy.middleware))return us({key:"middleware",route:Se,manifest:G,mapRouteProperties:ie})}).filter(da);return be.length>0?Promise.all(be):void 0}async function ce(k){let G=k.matches.filter(Se=>Se.shouldLoad),ie={};return(await Promise.all(G.map(Se=>Se.resolve()))).forEach((Se,Oe)=>{ie[G[Oe].route.id]=Se}),ie}async function ze(k){return k.matches.some(G=>G.route.middleware)?Pr(k,()=>ce(k)):ce(k)}function Nt(k,G,ie){return pn(k,G,be,hr,ie);function be(Se){return pr(Se)?bn(Se):Se}}function Pr(k,G){return pn(k,G,be=>{if(Un(be))throw be;return be},ge,ie);function ie(be,Se,Oe){if(Oe)return Promise.resolve(Object.assign(Oe.value,{[Se]:{type:"error",result:be}}));{let{matches:ke}=k,Ve=Math.min(Math.max(ke.findIndex(pt=>pt.route.id===Se),0),Math.max(ke.findIndex(pt=>pt.shouldCallHandler()),0)),et=Aa(ke,ke[Ve].route.id).route.id;return Promise.resolve({[et]:{type:"error",result:be}})}}}async function pn(k,G,ie,be,Se){let{matches:Oe,request:ke,params:Ve,context:et,unstable_pattern:pt}=k,lr=Oe.flatMap(Nr=>Nr.route.middleware?Nr.route.middleware.map(nr=>[Nr.route.id,nr]):[]);return await ci({request:ke,params:Ve,context:et,unstable_pattern:pt},lr,G,ie,be,Se)}async function ci(k,G,ie,be,Se,Oe,ke=0){let{request:Ve}=k;if(Ve.signal.aborted)throw Ve.signal.reason??new Error(`Request aborted: ${Ve.method} ${Ve.url}`);let et=G[ke];if(!et)return await ie();let[pt,lr]=et,Vt,Nr=async()=>{if(Vt)throw new Error("You may only call `next()` once per middleware");try{return Vt={value:await ci(k,G,ie,be,Se,Oe,ke+1)},Vt.value}catch(nr){return Vt={value:await Oe(nr,pt,Vt)},Vt.value}};try{let nr=await lr(k,Nr),Br=nr!=null?be(nr):void 0;return Se(Br)?Br:Vt?Br??Vt.value:(Vt={value:await Nr()},Vt.value)}catch(nr){return await Oe(nr,pt,Vt)}}function Wi(k,G,ie,be,Se){let Oe=us({key:"middleware",route:be.route,manifest:G,mapRouteProperties:k}),ke=wa(be.route,ti(ie.method)?"action":"loader",G,k,Se);return{middleware:Oe,route:ke.lazyRoutePromise,handler:ke.lazyHandlerPromise}}function qi(k,G,ie,be,Se,Oe,ke,Ve,et=null,pt){let lr=!1,Vt=Wi(k,G,ie,Se,Oe);return{...Se,_lazyPromises:Vt,shouldLoad:Ve,shouldRevalidateArgs:et,shouldCallHandler(Nr){return lr=!0,et?typeof pt=="boolean"?ha(Se,{...et,defaultShouldRevalidate:pt}):typeof Nr=="boolean"?ha(Se,{...et,defaultShouldRevalidate:Nr}):ha(Se,et):Ve},resolve(Nr){let{lazy:nr,loader:Br,middleware:en}=Se.route,Jr=lr||Ve||Nr&&!ti(ie.method)&&(nr||Br),Vn=en&&en.length>0&&!Br&&!nr;return Jr&&(ti(ie.method)||!Vn)?_a({request:ie,unstable_pattern:be,match:Se,lazyHandlerPromise:Vt?.handler,lazyRoutePromise:Vt?.route,handlerOverride:Nr,scopedContext:ke}):Promise.resolve({type:"data",result:void 0})}}}function Li(k,G,ie,be,Se,Oe,ke,Ve=null){return be.map(et=>et.route.id!==Se.route.id?{...et,shouldLoad:!1,shouldRevalidateArgs:Ve,shouldCallHandler:()=>!1,_lazyPromises:Wi(k,G,ie,et,Oe),resolve:()=>Promise.resolve({type:"data",result:void 0})}:qi(k,G,ie,Ji(be),et,Oe,ke,!0,Ve))}async function Mi(k,G,ie,be,Se,Oe){ie.some(pt=>pt._lazyPromises?.middleware)&&await Promise.all(ie.map(pt=>pt._lazyPromises?.middleware));let ke={request:G,unstable_pattern:Ji(ie),params:ie[0].params,context:Se,matches:ie},et=await k({...ke,fetcherKey:be,runClientMiddleware:Oe?()=>{throw new Error("You cannot call `runClientMiddleware()` from a static handler `dataStrategy`. Middleware is run outside of `dataStrategy` during SSR in order to bubble up the Response. You can enable middleware via the `respond` API in `query`/`queryRoute`")}:pt=>{let lr=ke;return Pr(lr,()=>pt({...lr,fetcherKey:be,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(ie.flatMap(pt=>[pt._lazyPromises?.handler,pt._lazyPromises?.route]))}catch{}return et}async function _a({request:k,unstable_pattern:G,match:ie,lazyHandlerPromise:be,lazyRoutePromise:Se,handlerOverride:Oe,scopedContext:ke}){let Ve,et,pt=ti(k.method),lr=pt?"action":"loader",Vt=Nr=>{let nr,Br=new Promise((Vn,yn)=>nr=yn);et=()=>nr(),k.signal.addEventListener("abort",et);let en=Vn=>typeof Nr!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${lr}" [routeId: ${ie.route.id}]`)):Nr({request:k,unstable_pattern:G,params:ie.params,context:ke},...Vn!==void 0?[Vn]:[]),Jr=(async()=>{try{return{type:"data",result:await(Oe?Oe(yn=>en(yn)):en())}}catch(Vn){return{type:"error",result:Vn}}})();return Promise.race([Jr,Br])};try{let Nr=pt?ie.route.action:ie.route.loader;if(be||Se)if(Nr){let nr,[Br]=await Promise.all([Vt(Nr).catch(en=>{nr=en}),be,Se]);if(nr!==void 0)throw nr;Ve=Br}else{await be;let nr=pt?ie.route.action:ie.route.loader;if(nr)[Ve]=await Promise.all([Vt(nr),Se]);else if(lr==="action"){let Br=new URL(k.url),en=Br.pathname+Br.search;throw Pt(405,{method:k.method,pathname:en,routeId:ie.route.id})}else return{type:"data",result:void 0}}else if(Nr)Ve=await Vt(Nr);else{let nr=new URL(k.url),Br=nr.pathname+nr.search;throw Pt(404,{pathname:Br})}}catch(Nr){return{type:"error",result:Nr}}finally{et&&k.signal.removeEventListener("abort",et)}return Ve}async function io(k){let G=k.headers.get("Content-Type");return G&&/\bapplication\/json\b/.test(G)?k.body==null?null:k.json():k.text()}async function za(k){let{result:G,type:ie}=k;if(hr(G)){let be;try{be=await io(G)}catch(Se){return{type:"error",error:Se}}return ie==="error"?{type:"error",error:new tn(G.status,G.statusText,be),statusCode:G.status,headers:G.headers}:{type:"data",data:be,statusCode:G.status,headers:G.headers}}return ie==="error"?pr(G)?G.data instanceof Error?{type:"error",error:G.data,statusCode:G.init?.status,headers:G.init?.headers?new Headers(G.init.headers):void 0}:{type:"error",error:Yr(G),statusCode:Hi(G)?G.status:void 0,headers:G.init?.headers?new Headers(G.init.headers):void 0}:{type:"error",error:G,statusCode:Hi(G)?G.status:void 0}:pr(G)?{type:"data",data:G.data,statusCode:G.init?.status,headers:G.init?.headers?new Headers(G.init.headers):void 0}:{type:"data",data:G}}function so(k,G,ie,be,Se){let Oe=k.headers.get("Location");if(M(Oe,"Redirects returned/thrown from loaders/actions must have a Location header"),!rr(Oe)){let ke=be.slice(0,be.findIndex(Ve=>Ve.route.id===ie)+1);Oe=rs(new URL(G.url),ke,Se,Oe),k.headers.set("Location",Oe)}return k}function ys(k,G,ie,be){let Se=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(rr(k)){let Oe=k,ke=Oe.startsWith("//")?new URL(G.protocol+Oe):new URL(Oe);if(Se.includes(ke.protocol))throw new Error("Invalid redirect location");let Ve=Lr(ke.pathname,ie)!=null;if(ke.origin===G.origin&&Ve)return ke.pathname+ke.search+ke.hash}try{let Oe=be.createURL(k);if(Se.includes(Oe.protocol))throw new Error("Invalid redirect location")}catch{}return k}function Cr(k,G,ie,be){let Se=k.createURL(xr(G)).toString(),Oe={signal:ie};if(be&&ti(be.formMethod)){let{formMethod:ke,formEncType:Ve}=be;Oe.method=ke.toUpperCase(),Ve==="application/json"?(Oe.headers=new Headers({"Content-Type":Ve}),Oe.body=JSON.stringify(be.json)):Ve==="text/plain"?Oe.body=be.text:Ve==="application/x-www-form-urlencoded"&&be.formData?Oe.body=$a(be.formData):Oe.body=be.formData}
754return new Request(Se,Oe)}function $a(k){let G=new URLSearchParams;for(let[ie,be]of k.entries())G.append(ie,typeof be=="string"?be:be.name);return G}function ln(k){let G=new FormData;for(let[ie,be]of k.entries())G.append(ie,be);return G}function va(k,G,ie,be=!1,Se=!1){let Oe={},ke=null,Ve,et=!1,pt={},lr=ie&&yt(ie[1])?ie[1].error:void 0;return k.forEach(Vt=>{if(!(Vt.route.id in G))return;let Nr=Vt.route.id,nr=G[Nr];if(M(!sr(nr),"Cannot handle redirect results in processLoaderData"),yt(nr)){let Br=nr.error;if(lr!==void 0&&(Br=lr,lr=void 0),ke=ke||{},Se)ke[Nr]=Br;else{let en=Aa(k,Nr);ke[en.route.id]==null&&(ke[en.route.id]=Br)}be||(Oe[Nr]=ss),et||(et=!0,Ve=Hi(nr.error)?nr.error.status:500),nr.headers&&(pt[Nr]=nr.headers)}else Oe[Nr]=nr.data,nr.statusCode&&nr.statusCode!==200&&!et&&(Ve=nr.statusCode),nr.headers&&(pt[Nr]=nr.headers)}),lr!==void 0&&ie&&(ke={[ie[0]]:lr},ie[2]&&(Oe[ie[2]]=void 0)),{loaderData:Oe,errors:ke,statusCode:Ve||200,loaderHeaders:pt}}function Da(k,G,ie,be,Se,Oe){let{loaderData:ke,errors:Ve}=va(G,ie,be);return Se.filter(et=>!et.matches||et.matches.some(pt=>pt.shouldLoad)).forEach(et=>{let{key:pt,match:lr,controller:Vt}=et;if(Vt&&Vt.signal.aborted)return;let Nr=Oe[pt];if(M(Nr,"Did not find corresponding fetcher result"),yt(Nr)){let nr=Aa(k.matches,lr?.route.id);Ve&&Ve[nr.route.id]||(Ve={...Ve,[nr.route.id]:Nr.error}),k.fetchers.delete(pt)}else if(sr(Nr))M(!1,"Unhandled fetcher revalidation redirect");else{let nr=Er(Nr.data);k.fetchers.set(pt,nr)}}),{loaderData:ke,errors:Ve}}function zs(k,G,ie,be){let Se=Object.entries(G).filter(([,Oe])=>Oe!==ss).reduce((Oe,[ke,Ve])=>(Oe[ke]=Ve,Oe),{});for(let Oe of ie){let ke=Oe.route.id;if(!G.hasOwnProperty(ke)&&k.hasOwnProperty(ke)&&Oe.route.loader&&(Se[ke]=k[ke]),be&&be.hasOwnProperty(ke))break}return Se}function Ks(k){return k?yt(k[1])?{actionData:{}}:{actionData:{[k[0]]:k[1].data}}:{}}function Aa(k,G){return(G?k.slice(0,k.findIndex(be=>be.route.id===G)+1):[...k]).reverse().find(be=>be.route.hasErrorBoundary===!0)||k[0]}function pa(k){let G=k.length===1?k[0]:k.find(ie=>ie.index||!ie.path||ie.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:G}],route:G}}function Pt(k,{pathname:G,routeId:ie,method:be,type:Se,message:Oe}={}){let ke="Unknown Server Error",Ve="Unknown @remix-run/router error";return k===400?(ke="Bad Request",be&&G&&ie?Ve=`You made a ${be} request to "${G}" but did not provide a \`loader\` for route "${ie}", so there is no way to handle the request.`:Se==="invalid-body"&&(Ve="Unable to encode submission body")):k===403?(ke="Forbidden",Ve=`Route "${ie}" does not match URL "${G}"`):k===404?(ke="Not Found",Ve=`No route matches URL "${G}"`):k===405&&(ke="Method Not Allowed",be&&G&&ie?Ve=`You made a ${be.toUpperCase()} request to "${G}" but did not provide an \`action\` for route "${ie}", so there is no way to handle the request.`:be&&(Ve=`Invalid request method "${be.toUpperCase()}"`)),new tn(k||500,ke,new Error(Ve),!0)}function $t(k){let G=Object.entries(k);for(let ie=G.length-1;ie>=0;ie--){let[be,Se]=G[ie];if(sr(Se))return{key:be,result:Se}}}function xr(k){let G=typeof k=="string"?he(k):k;return re({...G,hash:""})}function $r(k,G){return k.pathname!==G.pathname||k.search!==G.search?!1:k.hash===""?G.hash!=="":k.hash===G.hash?!0:G.hash!==""}function bn(k){return Response.json(k.data,k.init??void 0)}function Yr(k){return new tn(k.init?.status??500,k.init?.statusText??"Internal Server Error",k.data)}function ge(k){return k!=null&&typeof k=="object"&&Object.entries(k).every(([G,ie])=>typeof G=="string"&&je(ie))}function je(k){return k!=null&&typeof k=="object"&&"type"in k&&"result"in k&&(k.type==="data"||k.type==="error")}function bt(k){return hr(k.result)&&Vr.has(k.result.status)}function yt(k){return k.type==="error"}function sr(k){return(k&&k.type)==="redirect"}function pr(k){return typeof k=="object"&&k!=null&&"type"in k&&"data"in k&&"init"in k&&k.type==="DataWithResponseInit"}function hr(k){return k!=null&&typeof k.status=="number"&&typeof k.statusText=="string"&&typeof k.headers=="object"&&typeof k.body<"u"}function Xn(k){return Vr.has(k)}function Un(k){return hr(k)&&Xn(k.status)&&k.headers.has("Location")}function Fi(k){return qr.has(k.toUpperCase())}function ti(k){return hi.has(k.toUpperCase())}function Ai(k){return new URLSearchParams(k).getAll("index").some(G=>G==="")}function qn(k,G){let ie=typeof G=="string"?he(G).search:G.search;if(k[k.length-1].route.index&&Ai(ie||""))return k[k.length-1];let be=dr(k);return be[be.length-1]}function $e(k){let{formMethod:G,formAction:ie,formEncType:be,text:Se,formData:Oe,json:ke}=k;if(!(!G||!ie||!be)){if(Se!=null)return{formMethod:G,formAction:ie,formEncType:be,formData:void 0,json:void 0,text:Se};
754if(Oe!=null)return{formMethod:G,formAction:ie,formEncType:be,formData:Oe,json:void 0,text:void 0};if(ke!==void 0)return{formMethod:G,formAction:ie,formEncType:be,formData:void 0,json:ke,text:void 0}}}function Je(k,G){return G?{state:"loading",location:k,formMethod:G.formMethod,formAction:G.formAction,formEncType:G.formEncType,formData:G.formData,json:G.json,text:G.text}:{state:"loading",location:k,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ct(k,G){return{state:"submitting",location:k,formMethod:G.formMethod,formAction:G.formAction,formEncType:G.formEncType,formData:G.formData,json:G.json,text:G.text}}function Ot(k,G){return k?{state:"loading",formMethod:k.formMethod,formAction:k.formAction,formEncType:k.formEncType,formData:k.formData,json:k.json,text:k.text,data:G}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:G}}function Wt(k,G){return{state:"submitting",formMethod:k.formMethod,formAction:k.formAction,formEncType:k.formEncType,formData:k.formData,json:k.json,text:k.text,data:G?G.data:void 0}}function Er(k){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:k}}function Hr(k,G){try{let ie=k.sessionStorage.getItem(Ti);if(ie){let be=JSON.parse(ie);for(let[Se,Oe]of Object.entries(be||{}))Oe&&Array.isArray(Oe)&&G.set(Se,new Set(Oe||[]))}}catch{}}function mn(k,G){if(G.size>0){let ie={};for(let[be,Se]of G)ie[be]=[...Se];try{k.sessionStorage.setItem(Ti,JSON.stringify(ie))}catch(be){W(!1,`Failed to save applied view transitions in sessionStorage (${be}).`)}}}function di(){let k,G,ie=new Promise((be,Se)=>{k=async Oe=>{be(Oe);try{await ie}catch{}},G=async Oe=>{Se(Oe);try{await ie}catch{}}});return{promise:ie,resolve:k,reject:G}}var si=b.createContext(null);si.displayName="DataRouter";var Pe=b.createContext(null);Pe.displayName="DataRouterState";var He=b.createContext(!1);function ft(){return b.useContext(He)}var Le=b.createContext({isTransitioning:!1});Le.displayName="ViewTransition";var De=b.createContext(new Map);De.displayName="Fetchers";var lt=b.createContext(null);lt.displayName="Await";var gt=k=>r.createElement(lt.Provider,k),Zt=b.createContext(null);Zt.displayName="Navigation";var xn=b.createContext(null);xn.displayName="Location";var dn=b.createContext({outlet:null,matches:[],isDataRoute:!1});dn.displayName="Route";var vn=b.createContext(null);vn.displayName="RouteError";var $n=!0,Ui="REACT_ROUTER_ERROR",hs="REDIRECT",Qn="ROUTE_ERROR_RESPONSE";function ki(k){if(k.startsWith(`${Ui}:${hs}:{`))try{let G=JSON.parse(k.slice(28));if(typeof G=="object"&&G&&typeof G.status=="number"&&typeof G.statusText=="string"&&typeof G.location=="string"&&typeof G.reloadDocument=="boolean"&&typeof G.replace=="boolean")return G}catch{}}function Oi(k){if(k.startsWith(`${Ui}:${Qn}:{`))try{let G=JSON.parse(k.slice(40));if(typeof G=="object"&&G&&typeof G.status=="number"&&typeof G.statusText=="string")return new tn(G.status,G.statusText,G.data)}catch{}}function Ei(k,{relative:G}={}){M(ma(),"useHref() may be used only in the context of a <Router> component.");let{basename:ie,navigator:be}=b.useContext(Zt),{hash:Se,pathname:Oe,search:ke}=Ia(k,{relative:G}),Ve=Oe;return ie!=="/"&&(Ve=Oe==="/"?ie:Yt([ie,Oe])),be.createHref({pathname:Ve,search:ke,hash:Se})}function ma(){return b.useContext(xn)!=null}function Fs(){return M(ma(),"useLocation() may be used only in the context of a <Router> component."),b.useContext(xn).location}function Ha(){return a.useContext(xn).navigationType}function Cs(k){M(ma(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:G}=Fs();return b.useMemo(()=>gr(k,Mr(G)),[G,k])}var qs="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Wa(k){b.useContext(Zt).static||b.useLayoutEffect(k)}function Oa(){let{isDataRoute:k}=b.useContext(dn);return k?jn():Na()}function Na(){M(ma(),"useNavigate() may be used only in the context of a <Router> component.");let k=b.useContext(si),{basename:G,navigator:ie}=b.useContext(Zt),{matches:be}=b.useContext(dn),{pathname:Se}=Fs(),Oe=JSON.stringify(Y(be)),ke=b.useRef(!1);return Wa(()=>{ke.current=!0}),b.useCallback((et,pt={})=>
754{if(W(ke.current,qs),!ke.current)return;if(typeof et=="number"){ie.go(et);return}let lr=ot(et,JSON.parse(Oe),Se,pt.relative==="path");k==null&&G!=="/"&&(lr.pathname=lr.pathname==="/"?G:Yt([G,lr.pathname])),(pt.replace?ie.replace:ie.push)(lr,pt.state,pt)},[G,ie,Oe,Se,k])}var Qo=b.createContext(null);function $s(){return a.useContext(Qo)}function ra(k){let G=a.useContext(dn).outlet;return a.useMemo(()=>G&&a.createElement(Qo.Provider,{value:k},G),[G,k])}function bs(){let{matches:k}=b.useContext(dn),G=k[k.length-1];return G?G.params:{}}function Ia(k,{relative:G}={}){let{matches:ie}=b.useContext(dn),{pathname:be}=Fs(),Se=JSON.stringify(Y(ie));return b.useMemo(()=>ot(k,JSON.parse(Se),be,G==="path"),[k,Se,be,G])}function Eu(k,G){return oo(k,G)}function oo(k,G,ie,be,Se){M(ma(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:Oe}=b.useContext(Zt),{matches:ke}=b.useContext(dn),Ve=ke[ke.length-1],et=Ve?Ve.params:{},pt=Ve?Ve.pathname:"/",lr=Ve?Ve.pathnameBase:"/",Vt=Ve&&Ve.route;if($n){let yn=Vt&&Vt.path||"";is(pt,!Vt||yn.endsWith("*")||yn.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${pt}" (under <Route path="${yn}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 755 756Please change the parent <Route path="${yn}"> to <Route path="${yn==="/"?"*":`${yn}/*`}">.`)}let Nr=Fs(),nr;if(G){let yn=typeof G=="string"?he(G):G;M(lr==="/"||yn.pathname?.startsWith(lr),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${lr}" but pathname "${yn.pathname}" was given in the \`location\` prop.`),nr=yn}else nr=Nr;let Br=nr.pathname||"/",en=Br;if(lr!=="/"){let yn=lr.replace(/^\//,"").split("/");en="/"+Br.replace(/^\//,"").split("/").slice(yn.length).join("/")}let Jr=rt(k,{pathname:en});$n&&(W(Vt||Jr!=null,`No routes matched location "${nr.pathname}${nr.search}${nr.hash}" `),W(Jr==null||Jr[Jr.length-1].route.element!==void 0||Jr[Jr.length-1].route.Component!==void 0||Jr[Jr.length-1].route.lazy!==void 0,`Matched leaf route at location "${nr.pathname}${nr.search}${nr.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`));let Vn=Ce(Jr&&Jr.map(yn=>Object.assign({},yn,{params:Object.assign({},et,yn.params),pathname:Yt([lr,Oe.encodeLocation?Oe.encodeLocation(yn.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:yn.pathname]),pathnameBase:yn.pathnameBase==="/"?lr:Yt([lr,Oe.encodeLocation?Oe.encodeLocation(yn.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:yn.pathnameBase])})),ke,ie,be,Se);return G&&Vn?b.createElement(xn.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...nr},navigationType:"POP"}},Vn):Vn}function ju(){let k=Ii(),G=Hi(k)?`${k.status} ${k.statusText}`:k instanceof Error?k.message:JSON.stringify(k),ie=k instanceof Error?k.stack:null,be="rgba(200,200,200, 0.5)",Se={padding:"0.5rem",backgroundColor:be},Oe={padding:"2px 4px",backgroundColor:be},ke=null;return $n&&(console.error("Error handled by React Router default ErrorBoundary:",k),ke=b.createElement(b.Fragment,null,b.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:Oe},"ErrorBoundary")," or"," ",b.createElement("code",{style:Oe},"errorElement")," prop on your route."))),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},G),ie?b.createElement("pre",{style:Se},ie):null,ke)}var xo=b.createElement(ju,null),$=class extends b.Component{constructor(k){super(k),this.state={location:k.location,revalidation:k.revalidation,error:k.error}}static getDerivedStateFromError(k){return{error:k}}static getDerivedStateFromProps(k,G){return G.location!==k.location||G.revalidation!=="idle"&&k.revalidation==="idle"?{error:k.error,location:k.location,revalidation:k.revalidation}:{error:k.error!==void 0?k.error:G.error,location:G.location,revalidation:k.revalidation||G.revalidation}}componentDidCatch(k,G){this.props.onError?this.props.onError(k,G):console.error("React Router caught the following error during render",k)}render(){let k=this.state.error;if(this.context&&typeof k=="object"&&k&&"digest"in k&&typeof k.digest=="string"){const ie=Oi(k.digest);ie&&(k=ie)}let G=k!==void 0?b.createElement(dn.Provider,{value:this.props.routeContext},b.createElement(vn.Provider,{value:k,children:this.props.component})):this.props.children;return this.context?b.createElement(ee,{error:k},G):G}};$.contextType=He;var z=new WeakMap;function ee({children:k,error:G}){let{basename:ie}=b.useContext(Zt);if(typeof G=="object"&&G&&"digest"in G&&typeof G.digest=="string"){let be=ki(G.digest);if(be){let Se=z.get(G);if(Se)throw Se;let Oe=Ki(be.location,ie);if(Yi&&!z.get(G))if(Oe.isExternal||be.reloadDocument)window.location.href=Oe.absoluteURL||Oe.to;
756else{const ke=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(Oe.to,{replace:be.replace}));throw z.set(G,ke),ke}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${Oe.absoluteURL||Oe.to}`})}}return k}function pe({routeContext:k,match:G,children:ie}){let be=b.useContext(si);return be&&be.static&&be.staticContext&&(G.route.errorElement||G.route.ErrorBoundary)&&(be.staticContext._deepestRenderedBoundaryId=G.route.id),b.createElement(dn.Provider,{value:k},ie)}function Ce(k,G=[],ie=null,be=null,Se=null){if(k==null){if(!ie)return null;if(ie.errors)k=ie.matches;else if(G.length===0&&!ie.initialized&&ie.matches.length>0)k=ie.matches;else return null}let Oe=k,ke=ie?.errors;if(ke!=null){let lr=Oe.findIndex(Vt=>Vt.route.id&&ke?.[Vt.route.id]!==void 0);M(lr>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(ke).join(",")}`),Oe=Oe.slice(0,Math.min(Oe.length,lr+1))}let Ve=!1,et=-1;if(ie)for(let lr=0;lr<Oe.length;lr++){let Vt=Oe[lr];if((Vt.route.HydrateFallback||Vt.route.hydrateFallbackElement)&&(et=lr),Vt.route.id){let{loaderData:Nr,errors:nr}=ie,Br=Vt.route.loader&&!Nr.hasOwnProperty(Vt.route.id)&&(!nr||nr[Vt.route.id]===void 0);if(Vt.route.lazy||Br){Ve=!0,et>=0?Oe=Oe.slice(0,et+1):Oe=[Oe[0]];break}}}let pt=ie&&be?(lr,Vt)=>{be(lr,{location:ie.location,params:ie.matches?.[0]?.params??{},unstable_pattern:Ji(ie.matches),errorInfo:Vt})}:void 0;return Oe.reduceRight((lr,Vt,Nr)=>{let nr,Br=!1,en=null,Jr=null;ie&&(nr=ke&&Vt.route.id?ke[Vt.route.id]:void 0,en=Vt.route.errorElement||xo,Ve&&(et<0&&Nr===0?(is("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),Br=!0,Jr=null):et===Nr&&(Br=!0,Jr=Vt.route.hydrateFallbackElement||null)));let Vn=G.concat(Oe.slice(0,Nr+1)),yn=()=>{let ii;return nr?ii=en:Br?ii=Jr:Vt.route.Component?ii=b.createElement(Vt.route.Component,null):Vt.route.element?ii=Vt.route.element:ii=lr,b.createElement(pe,{match:Vt,routeContext:{outlet:lr,matches:Vn,isDataRoute:ie!=null},children:ii})};return ie&&(Vt.route.ErrorBoundary||Vt.route.errorElement||Nr===0)?b.createElement($,{location:ie.location,revalidation:ie.revalidation,component:en,error:nr,children:yn(),routeC
756ontext:{outlet:null,matches:Vn,isDataRoute:!0},onError:pt}):yn()},null)}function Be(k){return`${k} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function at(k){let G=b.useContext(si);return M(G,Be(k)),G}function vt(k){let G=b.useContext(Pe);return M(G,Be(k)),G}function Bt(k){let G=b.useContext(dn);return M(G,Be(k)),G}function mr(k){let G=Bt(k),ie=G.matches[G.matches.length-1];return M(ie.route.id,`${k} can only be used on routes that contain a unique "id"`),ie.route.id}function zt(){return mr("useRouteId")}function jr(){return vt("useNavigation").navigation}function Rn(){let k=at("useRevalidator"),G=vt("useRevalidator"),ie=a.useCallback(async()=>{await k.router.revalidate()},[k.router]);return a.useMemo(()=>({revalidate:ie,state:G.revalidation}),[ie,G.revalidation])}function Jn(){let{matches:k,loaderData:G}=vt("useMatches");return b.useMemo(()=>k.map(ie=>Xt(ie,G)),[k,G])}function Yn(){let k=vt("useLoaderData"),G=mr("useLoaderData");return k.loaderData[G]}function gi(k){return vt("useRouteLoaderData").loaderData[k]}function Ni(){let k=vt("useActionData"),G=mr("useLoaderData");return k.actionData?k.actionData[G]:void 0}function Ii(){let k=b.useContext(vn),G=vt("useRouteError"),ie=mr("useRouteError");return k!==void 0?k:G.errors?.[ie]}function es(){return a.useContext(lt)?._data}function ur(){return a.useContext(lt)?._error}var on=0;function kr(k){let{router:G,basename:ie}=at("useBlocker"),be=vt("useBlocker"),[Se,Oe]=a.useState(""),ke=a.useCallback(Ve=>{if(typeof k!="function")return!!k;if(ie==="/")return k(Ve);let{currentLocation:et,nextLocation:pt,historyAction:lr}=Ve;return k({currentLocation:{...et,pathname:Lr(et.pathname,ie)||et.pathname},nextLocation:{...pt,pathname:Lr(pt.pathname,ie)||pt.pathname},historyAction:lr})},[ie,k]);return a.useEffect(()=>{let Ve=String(++on);return Oe(Ve),()=>G.deleteBlocker(Ve)},[G]),a.useEffect(()=>{Se!==""&&G.getBlocker(Se,ke)},[G,Se,ke]),Se&&be.blockers.has(Se)?be.blockers.get(Se):Hn}function jn(){let{router:k}=at("useNavigate"),G=mr("useNavigate"),ie=b.useRef(!1);return Wa(()=>{ie.current=!0}),b.useCallback(async(Se,Oe={})=>{W(ie.current,qs),ie.current&&(typeof Se=="number"?await k.navigate(Se):await k.navigate(Se,{fromRouteId:G,...Oe}))},[k,G])}var ts={};function is(k,G,ie){!G&&!ts[k]&&(ts[k]=!0,W(!1,ie))}function _i(...k){const G=mr("useRoute"),ie=k[0]??G,be=vt("useRoute"),Se=be.matches.find(({route:Oe})=>Oe.id===ie);if(Se!==void 0)return{handle:Se.route.handle,loaderData:be.loaderData[ie],actionData:be.actionData?.[ie]}}var Ps={};function Do(k,G){!k&&!Ps[G]&&(Ps[G]=!0,console.warn(G))}var zu="useOptimistic",Va=(n||(n=e.t(b,2)))[zu],ol=()=>{};function Pu(k){return Va?Va(k):[k,ol]}function Eo(k){let G={hasErrorBoundary:k.hasErrorBoundary||k.ErrorBoundary!=null||k.errorElement!=null};return k.Component&&($n&&k.element&&W(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(G,{element:i.createElement(k.Component),Component:void 0})),k.HydrateFallback&&($n&&k.hydrateFallbackElement&&W(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(G,{hydrateFallbackElement:i.createElement(k.HydrateFallback),HydrateFallback:void 0})),k.ErrorBoundary&&($n&&k.errorElement&&W(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(G,{errorElement:i.createElement(k.ErrorBoundary),ErrorBoundary:void 0})),G}var sa=null;function Ru(k,G){return xi({basename:G?.basename,getContext:G?.getContext,future:G?.future,history:D({initialEntries:G?.initialEntries,initialIndex:G?.initialIndex}),hydrationData:G?.hydrationData,routes:k,hydrationRouteProperties:sa,mapRouteProperties:Eo,dataStrategy:G?.dataStrategy,patchRoutesOnNavigation:G?.patchRoutesOnNavigation,unstable_instrumentations:G?.unstable_instrumentations}).initialize()}var Ca=class{constructor(){this.status="pending",this.promise=new Promise((k,G)=>{this.resolve=ie=>{this.status==="pending"&&(this.status="resolved",k(ie))},this.reject=ie=>{this.status==="pending"&&(this.status="rejected",G(ie))}})}};function Kc({router:k,flushSync:G,onError:ie,unstable_useTransitions:be}){be=ft()||be;let[Oe,ke]=i.useState(k.state),[Ve,et]=Pu(Oe),[pt,lr]=i.useState(),[Vt,Nr]=i.useState({isTransitioning:!1}),[nr,Br]=i.useState(),[en,Jr]=i.useState(),[Vn,yn]=i.useState(),ii=i.useRef(new Map),R=i.useCallback((Ie,{deletedFetchers:Ge,newErrors:tt,flushSync:_t,viewTransitionOpts:Ut})=>{tt&&ie&&Object.values(tt).forEach(Qt=>ie(Qt,{location:Ie.location,params:Ie.matches[0]?.params??{},unstable_pattern:Ji(Ie.matches)}
756)),Ie.fetchers.forEach((Qt,qt)=>{Qt.data!==void 0&&ii.current.set(qt,Qt.data)}),Ge.forEach(Qt=>ii.current.delete(Qt)),Do(_t===!1||G!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let yr=k.window!=null&&k.window.document!=null&&typeof k.window.document.startViewTransition=="function";if(Do(Ut==null||yr,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!Ut||!yr){G&&_t?G(()=>ke(Ie)):be===!1?ke(Ie):i.startTransition(()=>{be===!0&&et(Qt=>ul(Qt,Ie)),ke(Ie)});return}if(G&&_t){G(()=>{en&&(nr?.resolve(),en.skipTransition()),Nr({isTransitioning:!0,flushSync:!0,currentLocation:Ut.currentLocation,nextLocation:Ut.nextLocation})});let Qt=k.window.document.startViewTransition(()=>{G(()=>ke(Ie))});Qt.finished.finally(()=>{G(()=>{Br(void 0),Jr(void 0),lr(void 0),Nr({isTransitioning:!1})})}),G(()=>Jr(Qt));return}en?(nr?.resolve(),en.skipTransition(),yn({state:Ie,currentLocation:Ut.currentLocation,nextLocation:Ut.nextLocation})):(lr(Ie),Nr({isTransitioning:!0,flushSync:!1,currentLocation:Ut.currentLocation,nextLocation:Ut.nextLocation}))},[k.window,G,en,nr,be,et,ie]);i.useLayoutEffect(()=>k.subscribe(R),[k,R]),i.useEffect(()=>{Vt.isTransitioning&&!Vt.flushSync&&Br(new Ca)},[Vt]),i.useEffect(()=>{if(nr&&pt&&k.window){let Ie=pt,Ge=nr.promise,tt=k.window.document.startViewTransition(async()=>{be===!1?ke(Ie):i.startTransition(()=>{be===!0&&et(_t=>ul(_t,Ie)),ke(Ie)}),await Ge});tt.finished.finally(()=>{Br(void 0),Jr(void 0),lr(void 0),Nr({isTransitioning:!1})}),Jr(tt)}},[pt,nr,k.window,be,et]),i.useEffect(()=>{nr&&pt&&Ve.location.key===pt.location.key&&nr.resolve()},[nr,en,Ve.location,pt]),i.useEffect(()=>{!Vt.isTransitioning&&Vn&&(lr(Vn.state),Nr({isTransitioning:!0,flushSync:!1,currentLocation:Vn.currentLocation,nextLocation:Vn.nextLocation}),yn(void 0))},[Vt.isTransitioning,Vn]);let K=i.useMemo(()=>({createHref:k.createHref,encodeLocation:k.encodeLocation,go:Ie=>k.navigate(Ie),push:(Ie,Ge,tt)=>k.navigate(Ie,{state:Ge,preventScrollReset:tt?.preventScrollReset}),replace:(Ie,Ge,tt)=>k.navigate(Ie,{replace:!0,state:Ge,preventScrollReset:tt?.preventScrollReset})}),[k]),le=k.basename||"/",oe=i.useMemo(()=>({router:k,navigator:K,static:!1,basename:le,onError:ie}),[k,K,le,ie]);return i.createElement(i.Fragment,null,i.createElement(si.Provider,{value:oe},i.createElement(Pe.Provider,{value:Ve},i.createElement(De.Provider,{value:ii.current},i.createElement(Le.Provider,{value:Vt},i.createElement(uo,{basename:le,location:Ve.location,navigationType:Ve.historyAction,navigator:K,unstable_useTransitions:be},i.createElement(bl,{routes:k.routes,future:k.future,state:Ve,onError:ie})))))),null)}function ul(k,G){return{...k,navigation:G.navigation.state!=="idle"?G.navigation:k.navigation,revalidation:G.revalidation!=="idle"?G.revalidation:k.revalidation,actionData:G.navigation.state!=="submitting"?G.actionData:k.actionData,fetchers:G.fetchers}}var bl=b.memo(Jo);function Jo({routes:k,future:G,state:ie,onError:be}){return oo(k,void 0,ie,be,G)}function Xc({basename:k,children:G,initialEntries:ie,initialIndex:be,unstable_useTransitions:Se}){let Oe=i.useRef();Oe.current==null&&(Oe.current=D({initialEntries:ie,initialIndex:be,v5Compat:!0}));let ke=Oe.current,[Ve,et]=i.useState({action:ke.action,location:ke.location}),pt=i.useCallback(lr=>{Se===!1?et(lr):i.startTransition(()=>et(lr))},[Se]);return i.useLayoutEffect(()=>ke.listen(pt),[ke,pt]),i.createElement(uo,{basename:k,children:G,location:Ve.location,navigationType:Ve.action,navigator:ke,unstable_useTransitions:Se})}function pc({to:k,replace:G,state:ie,relative:be}){M(ma(),"<Navigate> may be used only in the context of a <Router> component.");let{static:Se}=b.useContext(Zt);W(!Se,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:Oe}=b.useContext(dn),{pathname:ke}=Fs(),Ve=Oa(),et=ot(k,Y(Oe),ke,be==="path"),pt=JSON.stringify(et);return b.useEffect(()=>{Ve(JSON.parse(pt),{replace:G,state:ie,relative:be})},[Ve,pt,be,G,ie]),null}function Bs(k){return ra(k.context)}function Lo(k){M(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}
756function uo({basename:k="/",children:G=null,location:ie,navigationType:be="POP",navigator:Se,static:Oe=!1,unstable_useTransitions:ke}){M(!ma(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let Ve=k.replace(/^\/*/,"/"),et=b.useMemo(()=>({basename:Ve,navigator:Se,static:Oe,unstable_useTransitions:ke,future:{}}),[Ve,Se,Oe,ke]);typeof ie=="string"&&(ie=he(ie));let{pathname:pt="/",search:lr="",hash:Vt="",state:Nr=null,key:nr="default"}=ie,Br=b.useMemo(()=>{let en=Lr(pt,Ve);return en==null?null:{location:{pathname:en,search:lr,hash:Vt,state:Nr,key:nr},navigationType:be}},[Ve,pt,lr,Vt,Nr,nr,be]);return W(Br!=null,`<Router basename="${Ve}"> is not able to match the URL "${pt}${lr}${Vt}" because it does not start with the basename, so the <Router> won't render anything.`),Br==null?null:b.createElement(Zt.Provider,{value:et},b.createElement(xn.Provider,{children:G,value:Br}))}function Oo({children:k,location:G}){return Eu(ct(k),G)}function Du({children:k,errorElement:G,resolve:ie}){let be=i.useContext(si),Se=i.useContext(Pe),Oe=i.useCallback((ke,Ve)=>{be&&be.onError&&Se&&be.onError(ke,{location:Se.location,params:Se.matches[0]?.params||{},unstable_pattern:Ji(Se.matches),errorInfo:Ve})},[be,Se]);return i.createElement(se,{resolve:ie,errorElement:G,onError:Oe},i.createElement(_r,null,k))}var se=class extends b.Component{constructor(k){super(k),this.state={error:null}}static getDerivedStateFromError(k){return{error:k}}componentDidCatch(k,G){this.props.onError?this.props.onError(k,G):console.error("<Await> caught the following error during render",k,G)}render(){let{children:k,errorElement:G,resolve:ie}=this.props,be=null,Se=0;if(!(ie instanceof Promise))Se=1,be=Promise.resolve(),Object.defineProperty(be,"_tracked",{get:()=>!0}),Object.defineProperty(be,"_data",{get:()=>ie});else if(this.state.error){Se=2;let Oe=this.state.error;be=Promise.reject().catch(()=>{}),Object.defineProperty(be,"_tracked",{get:()=>!0}),Object.defineProperty(be,"_error",{get:()=>Oe})}else ie._tracked?(be=ie,Se="_error"in be?2:"_data"in be?1:0):(Se=0,Object.defineProperty(ie,"_tracked",{get:()=>!0}),be=ie.then(Oe=>Object.defineProperty(ie,"_data",{get:()=>Oe}),Oe=>{this.props.onError?.(Oe),Object.defineProperty(ie,"_error",{get:()=>Oe})}));if(Se===2&&!G)throw be._error;if(Se===2)return b.createElement(lt.Provider,{value:be,children:G});if(Se===1)return b.createElement(lt.Provider,{value:be,children:k});throw be}};function _r({children:k}){let G=es(),ie=typeof k=="function"?k(G):k;return i.createElement(i.Fragment,null,ie)}function ct(k,G=[]){let ie=[];return b.Children.forEach(k,(be,Se)=>{if(!b.isValidElement(be))return;let Oe=[...G,Se];if(be.type===b.Fragment){ie.push.apply(ie,ct(be.props.children,Oe));return}M(be.type===Lo,`[${typeof be.type=="string"?be.type:be.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),M(!be.props.index||!be.props.children,"An index route cannot have child routes.");let ke={id:be.props.id||Oe.join("-"),caseSensitive:be.props.caseSensitive,element:be.props.element,Component:be.props.Component,index:be.props.index,path:be.props.path,middleware:be.props.middleware,loader:be.props.loader,action:be.props.action,hydrateFallbackElement:be.props.hydrateFallbackElement,HydrateFallback:be.props.HydrateFallback,errorElement:be.props.errorElement,ErrorBoundary:be.props.ErrorBoundary,hasErrorBoundary:be.props.hasErrorBoundary===!0||be.props.ErrorBoundary!=null||be.props.errorElement!=null,shouldRevalidate:be.props.shouldRevalidate,handle:be.props.handle,lazy:be.props.lazy};be.props.children&&(ke.children=ct(be.props.children,Oe)),ie.push(ke)}),ie}var wt=null;function En(k){return Ce(k)}function ei(){return{params:bs(),loaderData:Yn(),actionData:Ni(),matches:Jn()}}function As({children:k}){const G=ei();return i.cloneElement(k,G)}function xs(k){return function(){const ie=ei();return i.createElement(k,ie)}}function ya(){return{params:bs(),loaderData:Yn(),actionData:Ni()}}function Zo({children:k}){const G=ya();return i.cloneElement(k,G)}function fo(k){return function(){const ie=ya();return i.createElement(k,ie)}}function Qa(){return{params:bs(),loaderData:Yn(),actionData:Ni(),error:Ii()}}function tl({children:k}){const G=Qa();return i.cloneElement(k,G)}function $u(k){return function(){const ie=Qa();return i.createElement(k,ie)}}var qo="get",Hu="application/x-www-form-urlencoded";function hu(k){return typeof HTMLElement<"u"&&k instanceof HTMLElement}function Fa(k){return hu(k)&&k.tagName.toLowerCase()==="button"}function ho(k){return hu(k)&&k.tagName.toLowerCase()==="form"}function Rl(k){return hu(k)&&k.tagName.toLowerCase()==="input"}
756function Es(k){return!!(k.metaKey||k.altKey||k.ctrlKey||k.shiftKey)}function Tu(k,G){return k.button===0&&(!G||G==="_self")&&!Es(k)}function Dl(k=""){return new URLSearchParams(typeof k=="string"||Array.isArray(k)||k instanceof URLSearchParams?k:Object.keys(k).reduce((G,ie)=>{let be=k[ie];return G.concat(Array.isArray(be)?be.map(Se=>[ie,Se]):[[ie,be]])},[]))}function Ae(k,G){let ie=Dl(k);return G&&G.forEach((be,Se)=>{ie.has(Se)||G.getAll(Se).forEach(Oe=>{ie.append(Se,Oe)})}),ie}var qe=null;function St(){if(qe===null)try{new FormData(document.createElement("form"),0),qe=!1}catch{qe=!0}return qe}var Ft=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Jt(k){return k!=null&&!Ft.has(k)?(W(!1,`"${k}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Hu}"`),null):k}function Rr(k,G){let ie,be,Se,Oe,ke;if(ho(k)){let Ve=k.getAttribute("action");be=Ve?Lr(Ve,G):null,ie=k.getAttribute("method")||qo,Se=Jt(k.getAttribute("enctype"))||Hu,Oe=new FormData(k)}else if(Fa(k)||Rl(k)&&(k.type==="submit"||k.type==="image")){let Ve=k.form;if(Ve==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let et=k.getAttribute("formaction")||Ve.getAttribute("action");if(be=et?Lr(et,G):null,ie=k.getAttribute("formmethod")||Ve.getAttribute("method")||qo,Se=Jt(k.getAttribute("formenctype"))||Jt(Ve.getAttribute("enctype"))||Hu,Oe=new FormData(Ve,k),!St()){let{name:pt,type:lr,value:Vt}=k;if(lr==="image"){let Nr=pt?`${pt}.`:"";Oe.append(`${Nr}x`,"0"),Oe.append(`${Nr}y`,"0")}else pt&&Oe.append(pt,Vt)}}else{if(hu(k))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');ie=qo,be=null,Se=Hu,ke=k}return Oe&&Se==="text/plain"&&(ke=Oe,Oe=void 0),{action:be,method:ie.toLowerCase(),encType:Se,formData:Oe,body:ke}}var On=null,Kn=null,Bi=null,ji=null,Xi=null,aa=null,Js=null,Ka="B",To="D",po="E",dt="M",Ja="N",La="P",ba="R",gs="S",eu="Y",ll="U",rl="Z",pu=class{constructor(){this.promise=new Promise((k,G)=>{this.resolve=k,this.reject=G})}};function Xl(){const k=new TextDecoder;let G="";return new TransformStream({transform(ie,be){const Se=k.decode(ie,{stream:!0}),Oe=(G+Se).split(` 757`);G=Oe.pop()||"";for(const ke of Oe)be.enqueue(ke)},flush(ie){G&&ie.enqueue(G)}})}function mu(k){const{indices:G}=this,ie=G.get(k);if(ie)return[ie];if(k===void 0)return Js;if(k===null)return Xi;if(Number.isNaN(k))return Kn;if(k===Number.POSITIVE_INFINITY)return aa;if(k===Number.NEGATIVE_INFINITY)return Bi;if(k===0&&1/k<0)return ji;const be=this.index++;return G.set(k,be),wu.call(this,k,be),be}function wu(k,G){const{deferred:ie,plugins:be,postPlugins:Se}=this,Oe=this.stringified,ke=[[k,G]];for(;ke.length>0;){const[Ve,et]=ke.pop(),pt=Vt=>Object.keys(Vt).map(Nr=>`"_${mu.call(this,Nr)}":${mu.call(this,Vt[Nr])}`).join(",");let lr=null;switch(typeof Ve){case"boolean":case"number":case"string":Oe[et]=JSON.stringify(Ve);break;case"bigint":Oe[et]=`["${Ka}","${Ve}"]`;break;case"symbol":{const Vt=Symbol.keyFor(Ve);Vt?Oe[et]=`["${eu}",${JSON.stringify(Vt)}]`:lr=new Error("Cannot encode symbol unless created with Symbol.for()");break}case"object":{if(!Ve){Oe[et]=`${Xi}`;break}const Vt=Array.isArray(Ve);let Nr=!1;if(!Vt&&be)for(const nr of be){const Br=nr(Ve);if(Array.isArray(Br)){Nr=!0;const[en,...Jr]=Br;Oe[et]=`[${JSON.stringify(en)}`,Jr.length>0&&(Oe[et]+=`,${Jr.map(Vn=>mu.call(this,Vn)).join(",")}`),Oe[et]+="]";break}}if(!Nr){let nr=Vt?"[":"{";if(Vt){for(let Br=0;Br<Ve.length;Br++)nr+=(Br?",":"")+(Br in Ve?mu.call(this,Ve[Br]):On);Oe[et]=`${nr}]`}else if(Ve instanceof Date){const Br=Ve.getTime();Oe[et]=`["${To}",${Number.isNaN(Br)?JSON.stringify("invalid"):Br}]`}else Ve instanceof URL?Oe[et]=`["${ll}",${JSON.stringify(Ve.href)}]`:Ve instanceof RegExp?Oe[et]=`["${ba}",${JSON.stringify(Ve.source)},${JSON.stringify(Ve.flags)}]`:Ve instanceof Set?Ve.size>0?Oe[et]=`["${gs}",${[...Ve].map(Br=>mu.call(this,Br)).join(",")}]`:Oe[et]=`["${gs}"]`:Ve instanceof Map?Ve.size>0?Oe[et]=`["${dt}",${[...Ve].flatMap(([Br,en])=>[mu.call(this,Br),mu.call(this,en)]).join(",")}]`:Oe[et]=`["${dt}"]`:Ve instanceof Promise?(Oe[et]=`["${La}",${et}]`,ie[et]=Ve):Ve instanceof Error?(Oe[et]=`["${po}",${JSON.stringify(Ve.message)}`,Ve.name!=="Error"&&(Oe[et]+=`,${JSON.stringify(Ve.name)}`),Oe[et]+="]"):Object.getPrototypeOf(Ve)===null?Oe[et]=`["${Ja}",{${pt(Ve)}}]`:Qc(Ve)?Oe[et]=`{${pt(Ve)}}`:lr=new Error("Cannot encode object with prototype")}break}default:{const Vt=Array.isArray(Ve);let Nr=!1;if(!Vt&&be)for(const nr of be){const Br=nr(Ve);if(Array.isArray(Br)){Nr=!0;const[en,...Jr]=Br;Oe[et]=`[${JSON.stringify(en)}`,Jr.length>0&&(Oe[et]+=`,${Jr.map(Vn=>mu.call(this,Vn)).join(",")}`),Oe[et]+="]";break}}Nr||(lr=new Error("Cannot encode function or unexpected type"))}}if(lr){let Vt=!1;if(Se)for(const Nr of Se){const nr=Nr(Ve);if(Array.isArray(nr)){Vt=!0;const[Br,...en]=nr;Oe[et]=`[${JSON.stringify(Br)}`,en.length>0&&(Oe[et]+=`,${en.map(Jr=>mu.call(this,Jr)).join(",")}`),Oe[et]+="]";break}}if(!Vt)throw lr}}}var Rc=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Qc(k){const G=Object.getPrototypeOf(k);return G===Object.prototype||G===null||Object.getOwnPropertyNames(G).sort().join("\0")===Rc}var Lu=typeof window<"u"?window:typeof globalThis<"u"?globalThis:void 0;function mc(k){const{hydrated:G,values:ie}=this;if(typeof k=="number")return Vo.call(this,k);if(!Array.isArray(k)||!k.length)throw new SyntaxError;const be=ie.length;for(const Se of k)ie.push(Se);return G.length=ie.length,Vo.call(this,be)}function Vo(k){const{hydrated:G,values:ie,deferred:be,plugins:Se}=this;let Oe;
757const ke=[[k,et=>{Oe=et}]];let Ve=[];for(;ke.length>0;){const[et,pt]=ke.pop();switch(et){case Js:pt(void 0);continue;case Xi:pt(null);continue;case Kn:pt(NaN);continue;case aa:pt(1/0);continue;case Bi:pt(-1/0);continue;case ji:pt(-0);continue}if(G[et]){pt(G[et]);continue}const lr=ie[et];if(!lr||typeof lr!="object"){G[et]=lr,pt(lr);continue}if(Array.isArray(lr))if(typeof lr[0]=="string"){const[Vt,Nr,nr]=lr;switch(Vt){case To:pt(G[et]=new Date(Nr));continue;case ll:pt(G[et]=new URL(Nr));continue;case Ka:pt(G[et]=BigInt(Nr));continue;case ba:pt(G[et]=new RegExp(Nr,nr));continue;case eu:pt(G[et]=Symbol.for(Nr));continue;case gs:const Br=new Set;G[et]=Br;for(let R=lr.length-1;R>0;R--)ke.push([lr[R],K=>{Br.add(K)}]);pt(Br);continue;case dt:const en=new Map;G[et]=en;for(let R=lr.length-2;R>0;R-=2){const K=[];ke.push([lr[R+1],le=>{K[1]=le}]),ke.push([lr[R],le=>{K[0]=le}]),Ve.push(()=>{en.set(K[0],K[1])})}pt(en);continue;case Ja:const Jr=Object.create(null);G[et]=Jr;for(const R of Object.keys(Nr).reverse()){const K=[];ke.push([Nr[R],le=>{K[1]=le}]),ke.push([Number(R.slice(1)),le=>{K[0]=le}]),Ve.push(()=>{Jr[K[0]]=K[1]})}pt(Jr);continue;case La:if(G[Nr])pt(G[et]=G[Nr]);else{const R=new pu;be[Nr]=R,pt(G[et]=R.promise)}continue;case po:const[,Vn,yn]=lr;let ii=yn&&Lu&&Lu[yn]?new Lu[yn](Vn):new Error(Vn);G[et]=ii,pt(ii);continue;case rl:pt(G[et]=G[Nr]);continue;default:if(Array.isArray(Se)){const R=[],K=lr.slice(1);for(let le=0;le<K.length;le++){const oe=K[le];ke.push([oe,Ie=>{R[le]=Ie}])}Ve.push(()=>{for(const le of Se){const oe=le(lr[0],...R);if(oe){pt(G[et]=oe.value);return}}throw new SyntaxError});continue}throw new SyntaxError}}else{const Vt=[];G[et]=Vt;for(let Nr=0;Nr<lr.length;Nr++){const nr=lr[Nr];nr!==On&&ke.push([nr,Br=>{Vt[Nr]=Br}])}pt(Vt);continue}else{const Vt={};G[et]=Vt;for(const Nr of Object.keys(lr).reverse()){const nr=[];ke.push([lr[Nr],Br=>{nr[1]=Br}]),ke.push([Number(Nr.slice(1)),Br=>{nr[0]=Br}]),Ve.push(()=>{Vt[nr[0]]=nr[1]})}pt(Vt);continue}}for(;Ve.length>0;)Ve.pop()();return Oe}async function qd(k,G){const{plugins:ie}=G??{},be=new pu,Se=k.pipeThrough(Xl()).getReader(),Oe={values:[],hydrated:[],deferred:{},plugins:ie},ke=await pd.call(Oe,Se);let Ve=be.promise;return ke.done?be.resolve():Ve=Mu.call(Oe,Se).then(be.resolve).catch(et=>{for(const pt of Object.values(Oe.deferred))pt.reject(et);be.reject(et)}),{done:Ve.then(()=>Se.closed),value:ke.value}}async function pd(k){const G=await k.read();if(!G.value)throw new SyntaxError;let ie;try{ie=JSON.parse(G.value)}catch{throw new SyntaxError}return{done:G.done,value:mc.call(this,ie)}}async function Mu(k){let G=await k.read();for(;!G.done;){if(!G.value)continue;const ie=G.value;switch(ie[0]){case La:{const be=ie.indexOf(":"),Se=Number(ie.slice(1,be)),Oe=this.deferred[Se];if(!Oe)throw new Error(`Deferred ID ${Se} not found in stream`);const ke=ie.slice(be+1);let Ve;try{Ve=JSON.parse(ke)}catch{throw new SyntaxError}const et=mc.call(this,Ve);Oe.resolve(et);break}case po:{const be=ie.indexOf(":"),Se=Number(ie.slice(1,be)),Oe=this.deferred[Se];if(!Oe)throw new Error(`Deferred ID ${Se} not found in stream`);const ke=ie.slice(be+1);let Ve;try{Ve=JSON.parse(ke)}catch{throw new SyntaxError}const et=mc.call(this,Ve);Oe.reject(et);break}default:throw new SyntaxError}G=await k.read()}}function cl(k,G){const{plugins:ie,postPlugins:be,signal:Se}=G??{},Oe={deferred:{},index:0,indices:new Map,stringified:[],plugins:ie,postPlugins:be,signal:Se},ke=new TextEncoder;let Ve=0;return new ReadableStream({async start(pt){const lr=mu.call(Oe,k);if(Array.isArray(lr))throw new Error("This should never happen");lr<0?pt.enqueue(ke.encode(`${lr} 758`)):(pt.enqueue(ke.encode(`[${Oe.stringified.join(",")}] 759`)),Ve=Oe.stringified.length-1);const Vt=new WeakSet;if(Object.keys(Oe.deferred).length){let Nr;const nr=new Promise((Br,en)=>{if(Nr=Br,Se){const Jr=()=>en(Se.reason||new Error("Signal was aborted."));Se.aborted?Jr():Se.addEventListener("abort",Vn=>{Jr()})}});for(;Object.keys(Oe.deferred).length>0;){for(const[Br,en]of Object.entries(Oe.deferred))Vt.has(en)||Vt.add(Oe.deferred[Number(Br)]=Promise.race([nr,en]).then(Jr=>{const Vn=mu.call(Oe,Jr);if(Array.isArray(Vn))pt.enqueue(ke.encode(`${La}${Br}:[["${rl}",${Vn[0]}]] 760`)),Oe.index++,Ve++;else if(Vn<0)pt.enqueue(ke.encode(`${La}${Br}:${Vn} 761`));else{const yn=Oe.stringified.slice(Ve+1).join(",");pt.enqueue(ke.encode(`${La}${Br}:[${yn}] 762`)),Ve=Oe.stringified.length-1}},Jr=>{(!Jr||typeof Jr!="object"||!(Jr instanceof Error))&&(Jr=new Error("An unknown error occurred"));const Vn=mu.call(Oe,Jr);if(Array.isArray(Vn))pt.enqueue(ke.encode(`${po}${Br}:[["${rl}",${Vn[0]}]] 763`)),Oe.index++,Ve++;else if(Vn<0)pt.enqueue(ke.encode(`${po}${Br}:${Vn} 764`));else{const yn=Oe.stringified.slice(Ve+1).join(",");pt.enqueue(ke.encode(`${po}${Br}:[${yn}] 765`)),Ve=Oe.stringified.length-1}}).finally(()=>{delete Oe.deferred[Number(Br)]}));await Promise.race(Object.values(Oe.deferred))}Nr()}await Promise.all(Object.values(Oe.deferred)),pt.close()}})}
765async function Jc(k){let G={signal:k.signal};if(k.method!=="GET"){G.method=k.method;let ie=k.headers.get("Content-Type");ie&&/\bapplication\/json\b/.test(ie)?(G.headers={"Content-Type":ie},G.body=JSON.stringify(await k.json())):ie&&/\btext\/plain\b/.test(ie)?(G.headers={"Content-Type":ie},G.body=await k.text()):ie&&/\bapplication\/x-www-form-urlencoded\b/.test(ie)?G.body=new URLSearchParams(await k.text()):G.body=await k.formData()}return G}var Wu={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},gc=/[&><\u2028\u2029]/g;function vc(k){return k.replace(gc,G=>Wu[G])}function Go(k,G){if(k===!1||k===null||typeof k>"u")throw new Error(G)}var wo=Symbol("SingleFetchRedirect"),ni=class extends null{},dl=202,gu=new Set([100,101,204,205]);function Dc({context:k,identifier:G,reader:ie,textDecoder:be,nonce:Se}){if(!k.renderMeta||!k.renderMeta.didRenderScripts)return null;k.renderMeta.streamCache||(k.renderMeta.streamCache={});let{streamCache:Oe}=k.renderMeta,ke=Oe[G];if(ke||(ke=Oe[G]=ie.read().then(lr=>{Oe[G].result={done:lr.done,value:be.decode(lr.value,{stream:!0})}}).catch(lr=>{Oe[G].error=lr})),ke.error)throw ke.error;if(ke.result===void 0)throw ke;let{done:Ve,value:et}=ke.result,pt=et?s.createElement("script",{nonce:Se,dangerouslySetInnerHTML:{__html:`window.__reactRouterContext.streamController.enqueue(${vc(JSON.stringify(et))});`}}):null;return Ve?s.createElement(s.Fragment,null,pt,s.createElement("script",{nonce:Se,dangerouslySetInnerHTML:{__html:"window.__reactRouterContext.streamController.close();"}})):s.createElement(s.Fragment,null,pt,s.createElement(s.Suspense,null,s.createElement(Dc,{context:k,identifier:G+1,reader:ie,textDecoder:be,nonce:Se})))}function Ba(k,G,ie,be,Se,Oe){let ke=tu(k,Ve=>{let et=G.routes[Ve.route.id];Go(et,"Route not found in manifest");let pt=ie[Ve.route.id];return{hasLoader:et.hasLoader,hasClientLoader:et.hasClientLoader,hasS
765houldRevalidate:!!pt?.shouldRevalidate}},vo,be,Se,Oe);return async Ve=>Ve.runClientMiddleware(ke)}function tu(k,G,ie,be,Se,Oe,ke=()=>!0){return async Ve=>{let{request:et,matches:pt,fetcherKey:lr}=Ve,Vt=k();if(et.method!=="GET")return Za(Ve,ie,Se,Oe);let Nr=pt.some(nr=>{let{hasLoader:Br,hasClientLoader:en}=G(nr);return nr.shouldCallHandler()&&Br&&!en});return!be&&!Nr?ku(Ve,G,ie,Se,Oe):lr?yc(Ve,ie,Se,Oe):Zc(Ve,Vt,G,ie,be,Se,Oe,ke)}}async function Za(k,G,ie,be){let Se=k.matches.find(Ve=>Ve.shouldCallHandler());Go(Se,"No action match found");let Oe,ke=await Se.resolve(async Ve=>await Ve(async()=>{let{data:pt,status:lr}=await G(k,ie,be,[Se.route.id]);return Oe=lr,Vu(pt,Se.route.id)}));return hr(ke.result)||Hi(ke.result)||pr(ke.result)?{[Se.route.id]:ke}:{[Se.route.id]:{type:ke.type,result:Ln(ke.result,Oe)}}}async function ku(k,G,ie,be,Se){let Oe=k.matches.filter(Ve=>Ve.shouldCallHandler()),ke={};return await Promise.all(Oe.map(Ve=>Ve.resolve(async et=>{try{let{hasClientLoader:pt}=G(Ve),lr=Ve.route.id,Vt=pt?await et(async()=>{let{data:Nr}=await ie(k,be,Se,[lr]);return Vu(Nr,lr)}):await et();ke[Ve.route.id]={type:"data",result:Vt}}catch(pt){ke[Ve.route.id]={type:"error",result:pt}}}))),ke}async function Zc(k,G,ie,be,Se,Oe,ke,Ve=()=>!0){let et=new Set,pt=!1,lr=k.matches.map(()=>Ml()),Vt=Ml(),Nr={},nr=Promise.all(k.matches.map(async(en,Jr)=>en.resolve(async Vn=>{lr[Jr].resolve();let yn=en.route.id,{hasLoader:ii,hasClientLoader:R,hasShouldRevalidate:K}=ie(en),le=!en.shouldRevalidateArgs||en.shouldRevalidateArgs.actionStatus==null||en.shouldRevalidateArgs.actionStatus<400;if(!en.shouldCallHandler(le)){pt||(pt=en.shouldRevalidateArgs!=null&&ii&&K===!0);return}if(Ve(en)&&R){ii&&(pt=!0);try{let Ie=await Vn(async()=>{let{data:Ge}=await be(k,Oe,ke,[yn]);return Vu(Ge,yn)});Nr[yn]={type:"data",result:Ie}}catch(Ie){Nr[yn]={type:"error",result:Ie}}return}ii&&et.add(yn);try{let Ie=await Vn(async()=>{let Ge=await Vt.promise;return Vu(Ge,yn)});Nr[yn]={type:"data",result:Ie}}catch(Ie){Nr[yn]={type:"error",result:Ie}}})));if(await Promise.all(lr.map(en=>en.promise)),(!G.state.initialized&&G.state.navigation.state==="idle"||et.size===0)&&!window.__reactRouterHdrActive)Vt.resolve({routes:{}});else{let en=Se&&pt&&et.size>0?[...et.keys()]:void 0;try{let Jr=await be(k,Oe,ke,en);Vt.resolve(Jr.data)}catch(Jr){Vt.reject(Jr)}}return await nr,await qc(Vt.promise,k.matches,et,Nr),Nr}async function qc(k,G,ie,be){try{let Se,Oe=await k;if("routes"in Oe){for(let ke of G)if(ke.route.id in Oe.routes){let Ve=Oe.routes[ke.route.id];if("error"in Ve){Se=Ve.error,be[ke.route.id]?.result==null&&(be[ke.route.id]={type:"error",result:Se});break}}}Se!==void 0&&Array.from(ie.values()).forEach(ke=>{be[ke].result instanceof ni&&(be[ke].result=Se)})}catch{}}async function yc(k,G,ie,be){let Se=k.matches.find(Ve=>Ve.shouldCallHandler());Go(Se,"No fetcher match found");let Oe=Se.route.id,ke=await Se.resolve(async Ve=>Ve(async()=>{let{data:et}=await G(k,ie,be,[Oe]);return Vu(et,Oe)}));return{[Se.route.id]:ke}}function ru(k){let G=k.searchParams.getAll("index");k.searchParams.delete("index");let ie=[];for(let be of G)be&&ie.push(be);for(let be of ie)k.searchParams.append("index",be);return k}function Ll(k,G,ie,be){let Se=typeof k=="string"?new URL(k,typeof window>"u"?"server://singlefetch/":window.location.origin):k;return ie?Se.pathname.endsWith("/")?Se.pathname=`${Se.pathname}_.${be}`:Se.pathname=`${Se.pathname}.${be}`:Se.pathname==="/"?Se.pathname=`_root.${be}`:G&&Lr(Se.pathname,G)==="/"?Se.pathname=`${G.replace(/\/$/,"")}/_root.${be}`:Se.pathname=`${Se.pathname.replace(/\/$/,"")}.${be}`,Se}async function vo(k,G,ie,be){let{request:Se}=k,Oe=Ll(Se.url,G,ie,"data");Se.method==="GET"&&(Oe=ru(Oe),be&&Oe.searchParams.set("_routes",be.join(",")));let ke=await fetch(Oe,await Jc(Se));if(ke.status>=400&&!ke.headers.has("X-Remix-Response"))throw new tn(ke.status,ke.statusText,await ke.text());if(ke.status===204&&ke.headers.has("X-Remix-Redirect"))return{status:dl,data:{redirect:{redirect:ke.headers.get("X-Remix-Redirect"),status:Number(ke.headers.get("X-Remix-Status")||"302"),revalidate:ke.headers.get("X-Remix-Revalidate")==="true",reload:ke.headers.get("X-Remix-Reload-Document")==="true",replace:ke.headers.get("X-Remix-Replace")==="true"}}};if(gu.has(ke.status)){let Ve={};return be&&Se.method!=="GET"&&(Ve[be[0]]={data:void 0}),{status:ke.status,data:{routes:Ve}}}Go(ke.body,"No response body to decode");try{let Ve=await Ql(ke.body,window),et;if(Se.method==="GET"){let pt=Ve.value;wo in pt?et={redirect:pt[wo]}:et={routes:pt}}else{let pt=Ve.value,lr=be?.[0];Go(lr,"No routeId found for single fetch call decoding"),"redirect"in pt?et={redirect:pt}:et={routes:{[lr]:pt}}}return{status:ke.status,data:et}}catch{throw new Error("Unable to decode turbo-stream response")}}function Ql(k,G){return qd(k,{plugins:[(ie,...be)=>{if(ie==="SanitizedError"){let[Se,Oe,ke]=be,Ve=Error;Se&&Se in G&&typeof G[Se]=="function"&&(Ve=G[Se]);let et=new Ve(Oe);return et.stack=ke,{value:et}}if(ie==="ErrorResponse"){let[Se,Oe,ke]=be;return{value:new tn(Oe,ke,Se)}}if(ie==="SingleFetchRedirect")return{value:{[wo]:be[0]}};if(ie==="SingleFetchClassInstance")return{value:be[0]};if(ie==="SingleFetchFallback")return{value:void 0}}]})}function Vu(k,G){if("redirect"in k){let{redirect:be,revalidate:Se,reload:Oe,replace:ke,status:Ve}=k.redirect;throw In(be,{status:Ve,headers:{...Se?{"X-Remix-Revalidate":"yes"}:null,...Oe?{"X-Remix-Reload-Document":"yes"}:null,...ke?{"X-Remix-Replace":"yes"}:null}})}let ie=k.routes[G];if(ie==null)throw new ni(`No result found for routeId "${G}"`);if("error"in ie)throw ie.error;if("data"in ie)return ie.data;throw new Error(`Invalid response found for routeId "${G}"`)}function Ml(){let k,G,ie=new Promise((be,Se)=>{k=async Oe=>{be(Oe);try{await ie}catch{}},G=async Oe=>{Se(Oe);try{await ie}catch{}}});return{promise:ie,resolve:k,reject:G}}async function ed(k,G){if(k.id in G)return G[k.id];try{let ie=await import(k.module);return G[k.id]=ie,ie}catch(ie){return console.error(`Error loading route module \`${k.module}\`, reloading page...`),console.error(ie),window.__reactRouterContext&&window.__reactRouterContext.
765isSpaMode,window.location.reload(),new Promise(()=>{})}}function Gu(k,G,ie){let be=k.map(Oe=>{let ke=G[Oe.route.id],Ve=ie.routes[Oe.route.id];return[Ve&&Ve.css?Ve.css.map(et=>({rel:"stylesheet",href:et})):[],ke?.links?.()||[]]}).flat(2),Se=Lc(k,ie);return gd(be,Se)}function Jl(k){return k.css?k.css.map(G=>({rel:"stylesheet",href:G})):[]}async function vu(k){if(!k.css)return;let G=Jl(k);await Promise.all(G.map(Zl))}async function _o(k,G){if(!k.css&&!G.links||!Mo())return;let ie=[];if(k.css&&ie.push(...Jl(k)),G.links&&ie.push(...G.links()),ie.length===0)return;let be=[];for(let Se of ie)!Yo(Se)&&Se.rel==="stylesheet"&&be.push({...Se,rel:"preload",as:"style"});await Promise.all(be.map(Zl))}async function Zl(k){return new Promise(G=>{if(k.media&&!window.matchMedia(k.media).matches||document.querySelector(`link[rel="stylesheet"][href="${k.href}"]`))return G();let ie=document.createElement("link");Object.assign(ie,k);function be(){document.head.contains(ie)&&document.head.removeChild(ie)}ie.onload=()=>{be(),G()},ie.onerror=()=>{be(),G()},document.head.appendChild(ie)})}function Yo(k){return k!=null&&typeof k.page=="string"}function Sl(k){return k==null?!1:k.href==null?k.rel==="preload"&&typeof k.imageSrcSet=="string"&&typeof k.imageSizes=="string":typeof k.rel=="string"&&typeof k.href=="string"}async function Yu(k,G,ie){let be=await Promise.all(k.map(async Se=>{let Oe=G.routes[Se.route.id];if(Oe){let ke=await ed(Oe,ie);return ke.links?ke.links():[]}return[]}));return gd(be.flat(1).filter(Sl).filter(Se=>Se.rel==="stylesheet"||Se.rel==="preload").map(Se=>Se.rel==="stylesheet"?{...Se,rel:"prefetch",as:"style"}:{...Se,rel:"prefetch"}))}function Ua(k,G,ie,be,Se,Oe){let ke=(et,pt)=>ie[pt]?et.route.id!==ie[pt].route.id:!0,Ve=(et,pt)=>ie[pt].pathname!==et.pathname||ie[pt].route.path?.endsWith("*")&&ie[pt].params["*"]!==et.params["*"];return Oe==="assets"?G.filter((et,pt)=>ke(et,pt)||Ve(et,pt)):Oe==="data"?G.filter((et,pt)=>{let lr=be.routes[et.route.id];if(!lr||!lr.hasLoader)return!1;if(ke(et,pt)||Ve(et,pt))return!0;if(et.route.shouldRevalidate){let Vt=et.route.shouldRevalidate({currentUrl:new URL(Se.pathname+Se.search+Se.hash,window.origin),currentParams:ie[0]?.params||{},nextUrl:new URL(k,window.origin),nextParams:et.params,defaultShouldRevalidate:!0});if(typeof Vt=="boolean")return Vt}return!0}):[]}function Lc(k,G,{includeHydrateFallback:ie}={}){return md(k.map(be=>{let Se=G.routes[be.route.id];if(!Se)return[];let Oe=[Se.module];return Se.clientActionModule&&(Oe=Oe.concat(Se.clientActionModule)),Se.clientLoaderModule&&(Oe=Oe.concat(Se.clientLoaderModule)),ie&&Se.hydrateFallbackModule&&(Oe=Oe.concat(Se.hydrateFallbackModule)),Se.imports&&(Oe=Oe.concat(Se.imports)),Oe}).flat(1))}function md(k){return[...new Set(k)]}function Mn(k){let G={},ie=Object.keys(k).sort();for(let be of ie)G[be]=k[be];return G}function gd(k,G){let ie=new Set,be=new Set(G);return k.reduce((Se,Oe)=>{if(G&&!Yo(Oe)&&Oe.as==="script"&&Oe.href&&be.has(Oe.href))return Se;let Ve=JSON.stringify(Mn(Oe));return ie.has(Ve)||(ie.add(Ve),Se.push({key:Ve,link:Oe})),Se},[])}var ql;function Mo(){if(ql!==void 0)return ql;let k=document.createElement("link");return ql=k.relList.supports("preload"),k=null,ql}function yu(){return g.createElement(Nc,{title:"Loading...",renderScripts:!0},$n?g.createElement("script",{dangerouslySetInnerHTML:{__html:` 766 console.log( 767 "\u{1F4BF} Hey developer \u{1F44B}. You can provide a way better UX than this " + 768 "when your app is loading JS modules and/or running \`clientLoader\` " + 769 "functions. Check out https://reactrouter.com/start/framework/route-module#hydratefallback " + 770 "for more information." 771 ); 772 `}}):null)}function ec(k){let G={};return Object.values(k).forEach(ie=>{if(ie){let be=ie.parentId||"";G[be]||(G[be]=[]),G[be].push(ie)}}),G}function nu(k,G,ie){let be=Mc(G),Se=G.HydrateFallback&&(!ie||k.id==="root")?G.HydrateFallback:k.id==="root"?yu:void 0,Oe=G.ErrorBoundary?G.ErrorBoundary:k.id==="root"?()=>m.createElement(ua,{error:Ii()}):void 0;return k.id==="root"&&G.Layout?{...be?{element:m.createElement(G.Layout,null,m.createElement(be,null))}:{Component:be},...Oe?{errorElement:m.createElement(G.Layout,null,m.createElement(Oe,null))}:{ErrorBoundary:Oe},...Se?{hydrateFallbackElement:m.createElement(G.Layout,null,m.createElement(Se,null))}:{HydrateFallback:Se}}:{Component:be,ErrorBoundary:Oe,HydrateFallback:Se}}function Ku(k,G,ie,be,Se="",Oe=ec(k),ke=Promise.resolve({Component:()=>null})){return(Oe[Se]||[]).map(Ve=>{let et=G[Ve.id];Go(et,"No `routeModule` available to create server routes");let pt={...nu(Ve,et,be),caseSensitive:Ve.caseSensitive,id:Ve.id,index:Ve.index,path:Ve.path,handle:et.handle,lazy:be?()=>ke:void 0,loader:Ve.hasLoader||Ve.hasClientLoader?()=>null:void 0},lr=Ku(k,G,ie,be,Ve.id,Oe,ke);return lr.length>0&&(pt.children=lr),pt})}function tc(k,G,ie,be,Se,Oe){return Io(G,ie,be,Se,Oe,"",ec(G),k)}
772function Ko(k,G){if(k==="loader"&&!G.hasLoader||k==="action"&&!G.hasAction){let be=`You are trying to call ${k==="action"?"serverAction()":"serverLoader()"} on a route that does not have a server ${k} (routeId: "${G.id}")`;throw console.error(be),new tn(400,"Bad Request",new Error(be),!0)}}function bc(k,G){let ie=k==="clientAction"?"a":"an",be=`Route "${G}" does not have ${ie} ${k}, but you are trying to submit to it. To fix this, please add ${ie} \`${k}\` function to the route`;throw console.error(be),new tn(405,"Method Not Allowed",new Error(be),!0)}function Io(k,G,ie,be,Se,Oe="",ke=ec(k),Ve){return(ke[Oe]||[]).map(et=>{let pt=G[et.id];function lr(yn){return Go(typeof yn=="function","No single fetch function available for route handler"),yn()}function Vt(yn){return et.hasLoader?lr(yn):Promise.resolve(null)}function Nr(yn){if(!et.hasAction)throw bc("action",et.id);return lr(yn)}function nr(yn){import(yn)}function Br(yn){yn.clientActionModule&&nr(yn.clientActionModule),yn.clientLoaderModule&&nr(yn.clientLoaderModule)}async function en(yn){let ii=G[et.id],R=ii?_o(et,ii):Promise.resolve();try{return yn()}finally{await R}}let Jr={id:et.id,index:et.index,path:et.path};if(pt){Object.assign(Jr,{...Jr,...nu(et,pt,Se),middleware:pt.clientMiddleware,handle:pt.handle,shouldRevalidate:qa(Jr.path,pt,et,be,Ve)});let yn=ie&&ie.loaderData&&et.id in ie.loaderData,ii=yn?ie?.loaderData?.[et.id]:void 0,R=ie&&ie.errors&&et.id in ie.errors,K=R?ie?.errors?.[et.id]:void 0,le=Ve==null&&(pt.clientLoader?.hydrate===!0||!et.hasLoader);Jr.loader=async({request:oe,params:Ie,context:Ge,unstable_pattern:tt},_t)=>{try{return await en(async()=>(Go(pt,"No `routeModule` available for critical-route loader"),pt.clientLoader?pt.clientLoader({request:oe,params:Ie,context:Ge,unstable_pattern:tt,async serverLoader(){if
772(Ko("loader",et),le){if(yn)return ii;if(R)throw K}return Vt(_t)}}):Vt(_t)))}finally{le=!1}},Jr.loader.hydrate=nl(et.id,pt.clientLoader,et.hasLoader,Se),Jr.action=({request:oe,params:Ie,context:Ge,unstable_pattern:tt},_t)=>en(async()=>{if(Go(pt,"No `routeModule` available for critical-route action"),!pt.clientAction){if(Se)throw bc("clientAction",et.id);return Nr(_t)}return pt.clientAction({request:oe,params:Ie,context:Ge,unstable_pattern:tt,async serverAction(){return Ko("action",et),Nr(_t)}})})}else{et.hasClientLoader||(Jr.loader=(R,K)=>en(()=>Vt(K))),et.hasClientAction||(Jr.action=(R,K)=>en(()=>{if(Se)throw bc("clientAction",et.id);return Nr(K)}));let yn;async function ii(){return yn?await yn:(yn=(async()=>{(et.clientLoaderModule||et.clientActionModule)&&await new Promise(K=>setTimeout(K,0));let R=_u(et,G);return Br(et),await R})(),await yn)}Jr.lazy={loader:et.hasClientLoader?async()=>{let{clientLoader:R}=et.clientLoaderModule?await import(et.clientLoaderModule):await ii();return Go(R,"No `clientLoader` export found"),(K,le)=>R({...K,async serverLoader(){return Ko("loader",et),Vt(le)}})}:void 0,action:et.hasClientAction?async()=>{let R=et.clientActionModule?import(et.clientActionModule):ii();Br(et);let{clientAction:K}=await R;return Go(K,"No `clientAction` export found"),(le,oe)=>K({...le,async serverAction(){return Ko("action",et),Nr(oe)}})}:void 0,middleware:et.hasClientMiddleware?async()=>{let{clientMiddleware:R}=et.clientMiddlewareModule?await import(et.clientMiddlewareModule):await ii();return Go(R,"No `clientMiddleware` export found"),R}:void 0,shouldRevalidate:async()=>{let R=await ii();return qa(Jr.path,R,et,be,Ve)},handle:async()=>(await ii()).handle,Component:async()=>(await ii()).Component,ErrorBoundary:et.hasErrorBoundary?async()=>(await ii()).ErrorBoundary:void 0}}let Vn=Io(k,G,ie,be,Se,et.id,ke,Ve);return Vn.length>0&&(Jr.children=Vn),Jr})}function qa(k,G,ie,be,Se){if(Se)return Sc(ie.id,G.shouldRevalidate,Se);if(!be&&ie.hasLoader&&!ie.hasClientLoader){let Oe=k?ir(k)[1].map(Ve=>Ve.paramName):[];const ke=Ve=>Oe.some(et=>Ve.currentParams[et]!==Ve.nextParams[et]);if(G.shouldRevalidate){let Ve=G.shouldRevalidate;return et=>Ve({...et,defaultShouldRevalidate:ke(et)})}else return Ve=>ke(Ve)}return G.shouldRevalidate}function Sc(k,G,ie){let be=!1;return Se=>be?G?G(Se):Se.defaultShouldRevalidate:(be=!0,ie.has(k))}async function _u(k,G){let ie=ed(k,G),be=vu(k),Se=await ie;return await Promise.all([be,_o(k,Se)]),{Component:Mc(Se),ErrorBoundary:Se.ErrorBoundary,clientMiddleware:Se.clientMiddleware,clientAction:Se.clientAction,clientLoader:Se.clientLoader,handle:Se.handle,links:Se.links,meta:Se.meta,shouldRevalidate:Se.shouldRevalidate}}function Mc(k){if(k.default==null)return;if(!(typeof k.default=="object"&&Object.keys(k.default).length===0))return k.default}function nl(k,G,ie,be){return be&&k!=="root"||G!=null&&(G.hydrate===!0||ie!==!0)}var xl=new Set,kl=1e3,Nl=new Set,rc=7680;function fl(k,G){return k.mode==="lazy"&&G===!0}function Fl({sri:k,...G},ie){let be=new Set(ie.state.matches.map(Ve=>Ve.route.id)),Se=ie.state.location.pathname.split("/").filter(Boolean),Oe=["/"];for(Se.pop();Se.length>0;)Oe.push(`/${Se.join("/")}`),Se.pop();Oe.forEach(Ve=>{let et=rt(ie.routes,Ve,ie.basename);et&&et.forEach(pt=>be.add(pt.route.id))});let ke=[...be].reduce((Ve,et)=>Object.assign(Ve,{[et]:G.routes[et]}),{});return{...G,routes:ke,sri:k?!0:void 0}}function td(k,G,ie,be,Se,Oe){if(fl(be,ie))return async({path:ke,patch:Ve,signal:et,fetcherKey:pt})=>{Nl.has(ke)||await N([ke],pt?window.location.href:ke,k,G,ie,Se,Oe,be.manifestPath,Ve,et)}}function Bl(k,G,ie,be,Se,Oe){l.useEffect(()=>{if(!fl(Se,be)||window.navigator?.connection?.saveData===!0)return;function ke(lr){let Vt=lr.tagName==="FORM"?lr.getAttribute("action"):lr.getAttribute("href");if(!Vt)return;let Nr=lr.tagName==="A"?lr.pathname:new URL(Vt,window.location.origin).pathname;Nl.has(Nr)||xl.add(Nr)}async function Ve(){document.querySelectorAll("a[data-discover], form[data-discover]").forEach(ke);let lr=Array.from(xl.keys()).filter(Vt=>Nl.has(Vt)?(xl.delete(Vt),!1):!0);if(lr.length!==0)try{await N(lr,null,G,ie,be,Oe,k.basename,Se.manifestPath,k.patchRoutes)}catch(Vt){console.error("Failed to fetch manifest patches",Vt)}}let et=Ee(Ve,100);Ve();let pt=new MutationObserver(()=>et());return pt.observe(document.documentElement,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-discover","href","action"]}),()=>pt.disconnect()},[be,Oe,G,ie,k,Se])}function Ul(k,G){let ie=k||"/__manifest";return G==null?ie:`${G}${ie}`.replace(/\/+/g,"/")}var ca="react-router-manifest-version";
772async function N(k,G,ie,be,Se,Oe,ke,Ve,et,pt){const lr=new URLSearchParams;lr.set("paths",k.sort().join(",")),lr.set("version",ie.version);let Vt=new URL(Ul(Ve,ke),window.location.origin);if(Vt.search=lr.toString(),Vt.toString().length>rc){xl.clear();return}let Nr;try{let Jr=await fetch(Vt,{signal:pt});if(Jr.ok){if(Jr.status===204&&Jr.headers.has("X-Remix-Reload-Document")){if(!G){console.warn("Detected a manifest version mismatch during eager route discovery. The next navigation/fetch to an undiscovered route will result in a new document navigation to sync up with the latest manifest.");return}try{if(sessionStorage.getItem(ca)===ie.version){console.error("Unable to discover routes due to manifest version mismatch.");return}sessionStorage.setItem(ca,ie.version)}catch{}window.location.href=G,console.warn("Detected manifest version mismatch, reloading..."),await new Promise(()=>{})}else if(Jr.status>=400)throw new Error(await Jr.text())}else throw new Error(`${Jr.status} ${Jr.statusText}`);try{sessionStorage.removeItem(ca)}catch{}Nr=await Jr.json()}catch(Jr){if(pt?.aborted)return;throw Jr}let nr=new Set(Object.keys(ie.routes)),Br=Object.values(Nr).reduce((Jr,Vn)=>(Vn&&!nr.has(Vn.id)&&(Jr[Vn.id]=Vn),Jr),{});Object.assign(ie.routes,Br),k.forEach(Jr=>te(Jr,Nl));let en=new Set;Object.values(Br).forEach(Jr=>{Jr&&(!Jr.parentId||!Br[Jr.parentId])&&en.add(Jr.parentId)}
772),en.forEach(Jr=>et(Jr||null,Io(Br,be,null,Se,Oe,Jr)))}function te(k,G){if(G.size>=kl){let ie=G.values().next().value;G.delete(ie)}G.add(k)}function Ee(k,G){let ie;return(...be)=>{window.clearTimeout(ie),ie=window.setTimeout(()=>k(...be),G)}}function Ne(){let k=b.useContext(si);return Go(k,"You must render this element inside a <DataRouterContext.Provider> element"),k}function ht(){let k=b.useContext(Pe);return Go(k,"You must render this element inside a <DataRouterStateContext.Provider> element"),k}var Ar=b.createContext(void 0);Ar.displayName="FrameworkContext";function An(){let k=b.useContext(Ar);return Go(k,"You must render this element inside a <HydratedRouter> element"),k}function Vi(k,G){let ie=b.useContext(Ar),[be,Se]=b.useState(!1),[Oe,ke]=b.useState(!1),{onFocus:Ve,onBlur:et,onMouseEnter:pt,onMouseLeave:lr,onTouchStart:Vt}=G,Nr=b.useRef(null);b.useEffect(()=>{if(k==="render"&&ke(!0),k==="viewport"){let en=Vn=>{Vn.forEach(yn=>{ke(yn.isIntersecting)})},Jr=new IntersectionObserver(en,{threshold:.5});return Nr.current&&Jr.observe(Nr.current),()=>{Jr.disconnect()}}},[k]),b.useEffect(()=>{if(be){let en=setTimeout(()=>{ke(!0)},100);return()=>{clearTimeout(en)}}},[be]);let nr=()=>{Se(!0)},Br=()=>{Se(!1),ke(!1)};return ie?k!=="intent"?[Oe,Nr,{}]:[Oe,Nr,{onFocus:_s(Ve,nr),onBlur:_s(et,Br),onMouseEnter:_s(pt,nr),onMouseLeave:_s(lr,Br),onTouchStart:_s(Vt,nr)}]:[!1,Nr,{}]}function _s(k,G){return ie=>{k&&k(ie),ie.defaultPrevented||G(ie)}}function oa(k,G,ie){if(ie&&!Nu)return[k[0]];if(G){let be=k.findIndex(Se=>G[Se.route.id]!==void 0);return k.slice(0,be+1)}return k}var yo="data-react-router-critical-css";function El({nonce:k}){let{isSpaMode:G,manifest:ie,routeModules:be,criticalCss:Se}=An(),{errors:Oe,matches:ke}=ht(),Ve=oa(ke,Oe,G),et=u.useMemo(()=>Gu(Ve,be,ie),[Ve,be,ie]);return u.createElement(u.Fragment,null,typeof Se=="string"?u.createElement("style",{[yo]:"",dangerouslySetInnerHTML:{__html:Se}}):null,typeof Se=="object"?u.createElement("link",{[yo]:"",rel:"stylesheet",href:Se.href,nonce:k}):null,et.map(({key:pt,link:lr})=>Yo(lr)?u.createElement(Xu,{key:pt,nonce:k,...lr}):u.createElement("link",{key:pt,nonce:k,...lr})))}function Xu({page:k,...G}){let{router:ie}=Ne(),be=b.useMemo(()=>rt(ie.routes,k,ie.basename),[ie.routes,k,ie.basename]);return be?b.createElement(kc,{page:k,matches:be,...G}):null}function Ld(k){let{manifest:G,routeModules:ie}=An(),[be,Se]=b.useState([]);return b.useEffect(()=>{let Oe=!1;return Yu(k,G,ie).then(ke=>{Oe||Se(ke)}),()=>{Oe=!0}},[k,G,ie]),be}function kc({page:k,matches:G,...ie}){let be=Fs(),{future:Se,manifest:Oe,routeModules:ke}=An(),{basename:Ve}=Ne(),{loaderData:et,matches:pt}=ht(),lr=b.useMemo(()=>Ua(k,G,pt,Oe,be,"data"),[k,G,pt,Oe,be]),Vt=b.useMemo(()=>Ua(k,G,pt,Oe,be,"assets"),[k,G,pt,Oe,be]),Nr=b.useMemo(()=>{if(k===be.pathname+be.search+be.hash)return[];let en=new Set,Jr=!1;if(G.forEach(yn=>{let ii=Oe.routes[yn.route.id];!ii||!ii.hasLoader||(!lr.some(R=>R.route.id===yn.route.id)&&yn.route.id in et&&ke[yn.route.id]?.shouldRevalidate||ii.hasClientLoader?Jr=!0:en.add(yn.route.id))}),en.size===0)return[];let Vn=Ll(k,Ve,Se.unstable_trailingSlashAwareDataRequests,"data");return Jr&&en.size>0&&Vn.searchParams.set("_routes",G.filter(yn=>en.has(yn.route.id)).map(yn=>yn.route.id).join(",")),[Vn.pathname+Vn.search]},[Ve,Se.unstable_trailingSlashAwareDataRequests,et,be,Oe,lr,G,k,ke]),nr=b.useMemo(()=>Lc(Vt,Oe),[Vt,Oe]),Br=Ld(Vt);return b.createElement(b.Fragment,null,Nr.map(en=>b.createElement("link",{key:en,rel:"prefetch",as:"fetch",href:en,...ie})),nr.map(en=>b.createElement("link",{key:en,rel:"modulepreload",href:en,...ie})),Br.map(({key:en,link:Jr})=>b.createElement("link",{key:en,nonce:ie.nonce,...Jr})))}function ef(){let{isSpaMode:k,routeModules:G}=An(),{errors:ie,matches:be,loaderData:Se}=ht(),Oe=Fs(),ke=oa(be,ie,k),Ve=null;ie&&(Ve=ie[ke[ke.length-1].route.id]);let et=[],pt=null,lr=[];for(let Vt=0;Vt<ke.length;Vt++){let Nr=ke[Vt],nr=Nr.route.id,Br=Se[nr],en=Nr.params,Jr=G[nr],Vn=[],yn={id:nr,data:Br,loaderData:Br,meta:[],params:Nr.params,pathname:Nr.pathname,handle:Nr.route.handle,error:Ve};if(lr[Vt]=yn,Jr?.meta?Vn=typeof Jr.meta=="function"?Jr.meta({data:Br,loaderData:Br,params:en,location:Oe,matches:lr,error:Ve}):Array.isArray(Jr.meta)?[...Jr.meta]:Jr.meta:pt&&(Vn=[...pt]),Vn=Vn||[],!Array.isArray(Vn))throw new Error("The route at "+Nr.route.path+` returns an invali
772d value. All route meta functions must return an array of meta objects. 773 774To reference the meta function API, see https://remix.run/route/meta`);yn.meta=Vn,lr[Vt]=yn,et=[...Vn],pt=et}return u.createElement(u.Fragment,null,et.flat().map(Vt=>{if(!Vt)return null;if("tagName"in Vt){let{tagName:Nr,...nr}=Vt;if(!tf(Nr))return console.warn(`A meta object uses an invalid tagName: ${Nr}. Expected either 'link' or 'meta'`),null;let Br=Nr;return u.createElement(Br,{key:JSON.stringify(nr),...nr})}if("title"in Vt)return u.createElement("title",{key:"title"},String(Vt.title));if("charset"in Vt&&(Vt.charSet??(Vt.charSet=Vt.charset),delete Vt.charset),"charSet"in Vt&&Vt.charSet!=null)return typeof Vt.charSet=="string"?u.createElement("meta",{key:"charSet",charSet:Vt.charSet}):null;if("script:ld+json"in Vt)try{let Nr=JSON.stringify(Vt["script:ld+json"]);return u.createElement("script",{key:`script:ld+json:${Nr}`,type:"application/ld+json",dangerouslySetInnerHTML:{__html:vc(Nr)}})}catch{return null}return u.createElement("meta",{key:JSON.stringify(Vt),...Vt})}))}function tf(k){return typeof k=="string"&&/^(meta|link)$/.test(k)}var Nu=!1;function Qu(){Nu=!0}function nc(k){let{manifest:G,serverHandoffString:ie,isSpaMode:be,renderMeta:Se,routeDiscovery:Oe,ssr:ke}=An(),{router:Ve,static:et,staticContext:pt}=Ne(),{matches:lr}=ht(),Vt=ft(),Nr=fl(Oe,ke);Se&&(Se.didRenderScripts=!0);let nr=oa(lr,null,be);b.useEffect(()=>{Qu()},[]);let Br=b.useMemo(()=>{if(Vt)return null;let yn=pt?`window.__reactRouterContext = ${ie};window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());`:" ",ii=et?`${G.hmr?.runtime?`import ${JSON.stringify(G.hmr.runtime)};`:""}${Nr?"":`import ${JSON.stringify(G.url)}`}; 775${nr.map((R,K)=>{let le=`route${K}`,oe=G.routes[R.route.id];Go(oe,`Route ${R.route.id} not found in manifest`);let{clientActionModule:Ie,clientLoaderModule:Ge,clientMiddlewareModule:tt,hydrateFallbackModule:_t,module:Ut}=oe,yr=[...Ie?[{module:Ie,varName:`${le}_clientAction`}]:[],...Ge?[{module:Ge,varName:`${le}_clientLoader`}]:[],...tt?[{module:tt,varName:`${le}_clientMiddleware`}]:[],..._t?[{module:_t,varName:`${le}_HydrateFallback`}]:[],{module:Ut,varName:`${le}_main`}];if(yr.length===1)return`import * as ${le} from ${JSON.stringify(Ut)};`;let Qt=yr.map(br=>`import * as ${br.varName} from "${br.module}";`).join(` 776`),qt=`const ${le} = {${yr.map(br=>`...${br.varName}`).join(",")}};`;return[Qt,qt].join(` 777`)}).join(` 778`)} 779 ${Nr?`window.__reactRouterManifest = ${JSON.stringify(Fl(G,Ve),null,2)};`:""} 780 window.__reactRouterRouteModules = {${nr.map((R,K)=>`${JSON.stringify(R.route.id)}:route${K}`).join(",")}}; 781 782import(${JSON.stringify(G.entry.module)});`:" ";return b.createElement(b.Fragment,null,b.createElement("script",{...k,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:yn},type:void 0}),b.createElement("script",{...k,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:ii},type:"module",async:!0}))},[]),en=Nu||Vt?[]:x(G.entry.imports.concat(Lc(nr,G,{includeHydrateFallback:!0}))),Jr=typeof G.sri=="object"?G.sri:{};return Do(!Vt,"The <Scripts /> element is a no-op when using RSC and can be safely removed."),Nu||Vt?null:b.createElement(b.Fragment,null,typeof G.sri=="object"?b.createElement("script",{...k,"rr-importmap":"",type:"importmap",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:JSON.stringify({integrity:Jr})}}):null,Nr?null:b.createElement("link",{rel:"modulepreload",href:G.url,crossOrigin:k.crossOrigin,integrity:Jr[G.url],suppressHydrationWarning:!0}),b.createElement("link",{rel:"modulepreload",href:G.entry.module,crossOrigin:k.crossOrigin,integrity:Jr[G.entry.module],suppressHydrationWarning:!0}),en.map(Vn=>b.createElement("link",{key:Vn,rel:"modulepreload",href:Vn,crossOrigin:k.crossOrigin,integrity:Jr[Vn],suppressHydrationWarning:!0})),Br)}function x(k){return[...new Set(k)]}function Ju(...k){return G=>{k.forEach(ie=>{typeof ie=="function"?ie(G):ie!=null&&(ie.current=G)})}}var Pi=class extends b.Component{constructor(k){super(k),this.state={error:k.error||null,location:k.location}}static getDerivedStateFromError(k){return{error:k}}static getDerivedStateFromProps(k,G){return G.location!==k.location?{error:k.error||null,location:k.location}:{error:k.error||G.error,location:G.location}}render(){return this.state.error?b.createElement(ua,{error:this.state.error,isOutsideRemixApp:!0}):this.props.children}};function ua({error:k,isOutsideRemixApp:G}){console.error(k);let ie=b.createElement("script",{dangerouslySetInnerHTML:{__html:` 783 console.log( 784 "\u{1F4BF} Hey developer \u{1F44B}. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information." 785 ); 786 `}});if(Hi(k))return b.createElement(Nc,{title:"Unhandled Thrown Response!"},b.createElement("h1",{style:{fontSize:"24px"}},k.status," ",k.statusText),$n?ie:null);let be;if(k instanceof Error)be=k;else{let Se=k==null?"Unknown Error":typeof k=="object"&&"toString"in k?k.toString():JSON.stringify(k);
786be=new Error(Se)}return b.createElement(Nc,{title:"Application Error!",isOutsideRemixApp:G},b.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),b.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},be.stack),ie)}function Nc({title:k,renderScripts:G,isOutsideRemixApp:ie,children:be}){let{routeModules:Se}=An();return Se.root?.Layout&&!ie?be:b.createElement("html",{lang:"en"},b.createElement("head",null,b.createElement("meta",{charSet:"utf-8"}),b.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),b.createElement("title",null,k)),b.createElement("body",null,b.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},be,G?b.createElement(nc,null):null)))}var ic=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{ic&&(window.__reactRouterVersion="7.12.0")}catch{}function Md(k,G){return xi({basename:G?.basename,getContext:G?.getContext,future:G?.future,history:F({window:G?.window}),hydrationData:G?.hydrationData||wn(),routes:k,mapRouteProperties:Eo,hydrationRouteProperties:sa,dataStrategy:G?.dataStrategy,patchRoutesOnNavigation:G?.patchRoutesOnNavigation,window:G?.window,unstable_instrumentations:G?.unstable_instrumentations}).initialize()}function Lf(k,G){return xi({basename:G?.basename,getContext:G?.getContext,future:G?.future,history:j({window:G?.window}),hydrationData:G?.hydrationData||wn(),routes:k,mapRouteProperties:Eo,hydrationRouteProperties:sa,dataStrategy:G?.dataStrategy,patchRoutesOnNavigation:G?.patchRoutesOnNavigation,window:G?.window,unstable_instrumentations:G?.unstable_instrumentations}).initialize()}function wn(){let k=window?.__staticRouterHydrationData;return k&&k.errors&&(k={...k,errors:Rs(k.errors)}),k}function Rs(k){if(!k)return null;let G=Object.entries(k),ie={};for(let[be,Se]of G)if(Se&&Se.__type==="RouteErrorResponse")ie[be]=new tn(Se.status,Se.statusText,Se.data,Se.internal===!0);else if(Se&&Se.__type==="Error"){if(Se.__subType){let Oe=window[Se.__subType];if(typeof Oe=="function")try{let ke=new Oe(Se.message);ke.stack="",ie[be]=ke}catch{}}if(ie[be]==null){let Oe=new Error(Se.message);Oe.stack="",ie[be]=Oe}}else ie[be]=Se;return ie}function bu({basename:k,children:G,unstable_useTransitions:ie,window:be}){let Se=h.useRef();Se.current==null&&(Se.current=F({window:be,v5Compat:!0}));let Oe=Se.current,[ke,Ve]=h.useState({action:Oe.action,location:Oe.location}),et=h.useCallback(pt=>{ie===!1?Ve(pt):h.startTransition(()=>Ve(pt))},[ie]);return h.useLayoutEffect(()=>Oe.listen(et),[Oe,et]),h.createElement(uo,{basename:k,children:G,location:ke.location,navigationType:ke.action,navigator:Oe,unstable_useTransitions:ie})}function Ga({basename:k,children:G,unstable_useTransitions:ie,window:be}){let Se=b.useRef();Se.current==null&&(Se.current=j({window:be,v5Compat:!0}));let Oe=Se.current,[ke,Ve]=b.useState({action:Oe.action,location:Oe.location}),et=b.useCallback(pt=>{ie===!1?Ve(pt):b.startTransition(()=>Ve(pt))},[ie]);return b.useLayoutEffect(()=>Oe.listen(et),[Oe,et]),b.createElement(uo,{basename:k,children:G,location:ke.location,navigationType:ke.action,navigator:Oe,unstable_useTransitions:ie})}function Xs({basename:k,children:G,history:ie,unstable_useTransitions:be}){let[Se,Oe]=b.useState({action:ie.action,location:ie.location}),ke=b.useCallback(Ve=>{be===!1?Oe(Ve):b.startTransition(()=>Oe(Ve))},[be]);return b.useLayoutEffect(()=>ie.listen(ke),[ie,ke]),b.createElement(uo,{basename:k,children:G,location:Se.location,navigationType:Se.action,navigator:ie,unstable_useTransitions:be})}Xs.displayName="unstable_HistoryRouter";var Tl=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,jl=b.forwardRef(function({onClick:G,discover:ie="render",prefetch:be="none",relative:Se,reloadDocument:Oe,replace:ke,state:Ve,target:et,to:pt,preventScrollReset:lr,viewTransition:Vt,unstable_defaultShouldRevalidate:Nr,...nr},Br){let{basename:en,unstable_useTransitions:Jr}=b.useContext(Zt),Vn=typeof pt=="string"&&Tl.test(pt),yn=Ki(pt,en);pt=yn.to;let ii=Ei(pt,{relative:Se}),[R,K,le]=Vi(be,nr),oe=$l(pt,{replace:ke,state:Ve,target:et,preventScrollReset:lr,relative:Se,viewTransition:Vt,unstable_defaultShouldRevalidate:Nr,unstable_useTransitions:Jr});function Ie(tt){G&&G(tt),tt.defaultPrevented||oe(tt)}let Ge=b.createElement("a",{...nr,...le,href:yn.absoluteURL||ii,onClick:yn.isExternal||Oe?G:Ie,ref:Ju(Br,K),target:et,"data-discover":!Vn&&ie==="render"?"true":void 0});return R&&!Vn?b.createElement(b.Fragment,null,Ge,b.createElement(Xu,{page:ii})):Ge});
786jl.displayName="Link";var fa=b.forwardRef(function({"aria-current":G="page",caseSensitive:ie=!1,className:be="",end:Se=!1,style:Oe,to:ke,viewTransition:Ve,children:et,...pt},lr){let Vt=Ia(ke,{relative:pt.relative}),Nr=Fs(),nr=b.useContext(Pe),{navigator:Br,basename:en}=b.useContext(Zt),Jr=nr!=null&&bd(Vt)&&Ve===!0,Vn=Br.encodeLocation?Br.encodeLocation(Vt).pathname:Vt.pathname,yn=Nr.pathname,ii=nr&&nr.navigation&&nr.navigation.location?nr.navigation.location.pathname:null;ie||(yn=yn.toLowerCase(),ii=ii?ii.toLowerCase():null,Vn=Vn.toLowerCase()),ii&&en&&(ii=Lr(ii,en)||ii);const R=Vn!=="/"&&Vn.endsWith("/")?Vn.length-1:Vn.length;let K=yn===Vn||!Se&&yn.startsWith(Vn)&&yn.charAt(R)==="/",le=ii!=null&&(ii===Vn||!Se&&ii.startsWith(Vn)&&ii.charAt(Vn.length)==="/"),oe={isActive:K,isPending:le,isTransitioning:Jr},Ie=K?G:void 0,Ge;typeof be=="function"?Ge=be(oe):Ge=[be,K?"active":null,le?"pending":null,Jr?"transitioning":null].filter(Boolean).join(" ");let tt=typeof Oe=="function"?Oe(oe):Oe;return b.createElement(jl,{...pt,"aria-current":Ie,className:Ge,ref:lr,style:tt,to:ke,viewTransition:Ve},typeof et=="function"?et(oe):et)});fa.displayName="NavLink";var zl=b.forwardRef(({discover:k="render",fetcherKey:G,navigate:ie,reloadDocument:be,replace:Se,state:Oe,method:ke=qo,action:Ve,onSubmit:et,relative:pt,preventScrollReset:lr,viewTransition:Vt,unstable_defaultShouldRevalidate:Nr,...nr},Br)=>{let{unstable_useTransitions:en}=b.useContext(Zt),Jr=wl(),Vn=kd(Ve,{relative:pt}),yn=ke.toLowerCase()==="get"?"get":"post",ii=typeof Ve=="string"&&Tl.test(Ve),R=K=>{if(et&&et(K),K.defaultPrevented)return;K.preventDefault();let le=K.nativeEvent.submitter,oe=le?.getAttribute("formmethod")||ke,Ie=()=>Jr(le||K.currentTarget,{fetcherKey:G,method:oe,navigate:ie,replace:Se,state:Oe,relative:pt,preventScrollReset:lr,viewTransition:Vt,unstable_defaultShouldRevalidate:Nr});en&&ie!==!1?b.startTransition(()=>Ie()):Ie()};return b.createElement("form",{ref:Br,method:yn,action:Vn,onSubmit:be?et:R,...nr,"data-discover":!ii&&k==="render"?"true":void 0})});zl.displayName="Form";function Fc({getKey:k,storageKey:G,...ie}){let be=b.useContext(Ar),{basename:Se}=b.useContext(Zt),Oe=Fs(),ke=Jn();rd({getKey:k,storageKey:G});let Ve=b.useMemo(()=>{if(!be||!k)return null;let pt=Bc(Oe,ke,Se,k);return pt!==Oe.key?pt:null},[]);if(!be||be.isSpaMode)return null;let et=((pt,lr)=>{if(!window.history.state||!window.history.state.key){let Vt=Math.random().toString(32).slice(2);window.history.replaceState({key:Vt},"")}try{let Nr=JSON.parse(sessionStorage.getItem(pt)||"{}")[lr||window.history.state.key];typeof Nr=="number"&&window.scrollTo(0,Nr)}catch(Vt){console.error(Vt),sessionStorage.removeItem(pt)}}).toString();return b.createElement("script",{...ie,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${et})(${vc(JSON.stringify(G||lo))}, ${vc(JSON.stringify(Ve))})`}})}Fc.displayName="ScrollRestoration";function sc(k){return`${k} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Cu(k){let G=b.useContext(si);return M(G,sc(k)),G}function vd(k){let G=b.useContext(Pe);return M(G,sc(k)),G}function $l(k,{target:G,replace:ie,state:be,preventScrollReset:Se,relative:Oe,viewTransition:ke,unstable_defaultShouldRevalidate:Ve,unstable_useTransitions:et}={}){let pt=Oa(),lr=Fs(),Vt=Ia(k,{relative:Oe});return b.useCallback(Nr=>{if(Tu(Nr,G)){Nr.preventDefault();let nr=ie!==void 0?ie:re(lr)===re(Vt),Br=()=>pt(k,{replace:nr,state:be,preventScrollReset:Se,relative:Oe,viewTransition:ke,unstable_defaultShouldRevalidate:Ve});et?b.startTransition(()=>Br()):Br()}},[lr,pt,Vt,ie,be,G,k,Se,Oe,ke,Ve,et])}function rf(k){W(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let G=b.useRef(Dl(k)),ie=b.useRef(!1),be=Fs(),Se=b.useMemo(()=>Ae(be.search,ie.current?null:G.current),[be.search]),Oe=Oa(),ke=b.useCallback((Ve,et)=>
786{const pt=Dl(typeof Ve=="function"?Ve(new URLSearchParams(Se)):Ve);ie.current=!0,Oe("?"+pt,et)},[Oe,Se]);return[Se,ke]}var yd=0,ac=()=>`__${String(++yd)}__`;function wl(){let{router:k}=Cu("useSubmit"),{basename:G}=b.useContext(Zt),ie=zt(),be=k.fetch,Se=k.navigate;return b.useCallback(async(Oe,ke={})=>{let{action:Ve,method:et,encType:pt,formData:lr,body:Vt}=Rr(Oe,G);if(ke.navigate===!1){let Nr=ke.fetcherKey||ac();await be(Nr,ie,ke.action||Ve,{unstable_defaultShouldRevalidate:ke.unstable_defaultShouldRevalidate,preventScrollReset:ke.preventScrollReset,formData:lr,body:Vt,formMethod:ke.method||et,formEncType:ke.encType||pt,flushSync:ke.flushSync})}else await Se(ke.action||Ve,{unstable_defaultShouldRevalidate:ke.unstable_defaultShouldRevalidate,preventScrollReset:ke.preventScrollReset,formData:lr,body:Vt,formMethod:ke.method||et,formEncType:ke.encType||pt,replace:ke.replace,state:ke.state,fromRouteId:ie,flushSync:ke.flushSync,viewTransition:ke.viewTransition})},[be,Se,G,ie])}function kd(k,{relative:G}={}){let{basename:ie}=b.useContext(Zt),be=b.useContext(dn);M(be,"useFormAction must be used inside a RouteContext");let[Se]=be.matches.slice(-1),Oe={...Ia(k||".",{relative:G})},ke=Fs();if(k==null){Oe.search=ke.search;let Ve=new URLSearchParams(Oe.search),et=Ve.getAll("index");if(et.some(lr=>lr==="")){Ve.delete("index"),et.filter(Vt=>Vt).forEach(Vt=>Ve.append("index",Vt));let lr=Ve.toString();Oe.search=lr?`?${lr}`:""}}return(!k||k===".")&&Se.route.index&&(Oe.search=Oe.search?Oe.search.replace(/^\?/,"?index&"):"?index"),ie!=="/"&&(Oe.pathname=Oe.pathname==="/"?ie:Yt([ie,Oe.pathname])),re(Oe)}function iu({key:k}={}){let{router:G}=Cu("useFetcher"),ie=vd("useFetcher"),be=h.useContext(De),Se=h.useContext(dn),Oe=Se.matches[Se.matches.length-1]?.route.id;M(be,"useFetcher must be used inside a FetchersContext"),M(Se,"useFetcher must be used inside a RouteContext"),M(Oe!=null,'useFetcher can only be used on routes that contain a unique "id"');let ke=h.useId(),[Ve,et]=h.useState(k||ke);k&&k!==Ve&&et(k);let{deleteFetcher:pt,getFetcher:lr,resetFetcher:Vt,fetch:Nr}=G;h.useEffect(()=>(lr(Ve),()=>pt(Ve)),[pt,lr,Ve]);let nr=h.useCallback(async(K,le)=>{M(Oe,"No routeId available for fetcher.load()"),await Nr(Ve,Oe,K,le)},[Ve,Oe,Nr]),Br=wl(),en=h.useCallback(async(K,le)=>{await Br(K,{...le,navigate:!1,fetcherKey:Ve})},[Ve,Br]),Jr=h.useCallback(K=>Vt(Ve,K),[Vt,Ve]),Vn=h.useMemo(()=>{let K=h.forwardRef((le,oe)=>h.createElement(zl,{...le,navigate:!1,fetcherKey:Ve,ref:oe}));return K.displayName="fetcher.Form",K},[Ve]),yn=ie.fetchers.get(Ve)||zr,ii=be.get(Ve);return h.useMemo(()=>({Form:Vn,submit:en,load:nr,reset:Jr,...yn,data:ii}),[Vn,en,nr,Jr,yn,ii])}function Au(){let k=vd("useFetchers");return Array.from(k.fetchers.entries()).map(([G,ie])=>({...ie,key:G}))}var lo="react-router-scroll-positions",Su={};function Bc(k,G,ie,be){let Se=null;return be&&(ie!=="/"?Se=be({...k,pathname:Lr(k.pathname,ie)||k.pathname},G):Se=be(k,G)),Se==null&&(Se=k.key),Se}function rd({getKey:k,storageKey:G}={}){let{router:ie}=Cu("useScrollRestoration"),{restoreScrollPosition:be,preventScrollReset:Se}=vd("useScrollRestoration"),{basename:Oe}=b.useContext(Zt),ke=Fs(),Ve=Jn(),et=jr();b.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),nd(b.useCallback(()=>{if(et.state==="idle"){let pt=Bc(ke,Ve,Oe,k);Su[pt]=window.scrollY}try{sessionStorage.setItem(G||lo,JSON.stringify(Su))}catch(pt){W(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${pt}).`)}window.history.scrollRestoration="auto"},[et.state,k,Oe,ke,Ve,G])),typeof document<"u"&&(b.useLayoutEffect(()=>{try{let pt=sessionStorage.getItem(G||lo);pt&&(Su=JSON.parse(pt))}catch{}},[G]),b.useLayoutEffect(()=>{let pt=ie?.enableScrollRestoration(Su,()=>window.scrollY,k?(lr,Vt)=>Bc(lr,Vt,Oe,k):void 0);return()=>pt&&pt()},[ie,Oe,k]),b.useLayoutEffect(()=>{if(be!==!1){if(typeof be=="number"){window.scrollTo(0,be);return}try{if(ke.hash){let pt=document.getElementById(decodeURIComponent(ke.hash.slice(1)));if(pt){pt.scrollIntoView();return}}}catch{W(!1,`"${ke.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}Se!==!0&&window.scrollTo(0,0)}},[ke,be,Se]))}function hl(k,G){let{capture:ie}=G||{};h.useEffect(()=>{let be=ie!=null?{capture:ie}:void 0;return window.addEventListener("beforeunload",k,be),()=>{window.removeEventListener("beforeunload",k,be)}},[k,ie])}
786function nd(k,G){let{capture:ie}=G||{};b.useEffect(()=>{let be=ie!=null?{capture:ie}:void 0;return window.addEventListener("pagehide",k,be),()=>{window.removeEventListener("pagehide",k,be)}},[k,ie])}function _l({when:k,message:G}){let ie=kr(k);h.useEffect(()=>{ie.state==="blocked"&&(window.confirm(G)?setTimeout(ie.proceed,0):ie.reset())},[ie,G]),h.useEffect(()=>{ie.state==="blocked"&&!k&&ie.reset()},[ie,k])}function bd(k,{relative:G}={}){let ie=b.useContext(Le);M(ie!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:be}=Cu("useViewTransitionState"),Se=Ia(k,{relative:G});if(!ie.isTransitioning)return!1;let Oe=Lr(ie.currentLocation.pathname,be)||ie.currentLocation.pathname,ke=Lr(ie.nextLocation.pathname,be)||ie.nextLocation.pathname;return gr(Se.pathname,ke)!=null||gr(Se.pathname,Oe)!=null}function il({basename:k,children:G,location:ie="/"}){typeof ie=="string"&&(ie=he(ie));let be="POP",Se={pathname:ie.pathname||"/",search:ie.search||"",hash:ie.hash||"",state:ie.state!=null?ie.state:null,key:ie.key||"default"},Oe=Uo();return v.createElement(uo,{basename:k,children:G,location:Se,navigationType:be,navigator:Oe,static:!0,unstable_useTransitions:!1})}function oc({context:k,router:G,hydrate:ie=!0,nonce:be}){M(G&&k,"You must provide `router` and `context` to <StaticRouterProvider>");let Se={router:G,navigator:Uo(),static:!0,staticContext:k,basename:k.basename||"/"},Oe=new Map,ke="";if(ie!==!1){let et={loaderData:k.loaderData,actionData:k.actionData,errors:su(k.errors)};ke=`window.__staticRouterHydrationData = JSON.parse(${vc(JSON.stringify(JSON.stringify(et)))});`}let{state:Ve}=Se.router;return v.createElement(v.Fragment,null,v.createElement(si.Provider,{value:Se},v.createElement(Pe.Provider,{value:Ve},v.createElement(De.Provider,{value:Oe},v.createElement(Le.Provider,{value:{isTransitioning:!1}},v.createElement(uo,{basename:Se.basename,location:Ve.location,navigationType:Ve.historyAction,navigator:Se.navigator,static:Se.static,unstable_useTransitions:!1},v.createElement(Bo,{routes:G.routes,future:G.future,state:Ve})))))),ke?v.createElement("script",{suppressHydrationWarning:!0,nonce:be,dangerouslySetInnerHTML:{__html:ke}}):null)}function Bo({routes:k,future:G,state:ie}){return oo(k,void 0,ie,void 0,G)}function su(k){if(!k)return null;let G=Object.entries(k),ie={};for(let[be,Se]of G)Hi(Se)?ie[be]={...Se,__type:"RouteErrorResponse"}:Se instanceof Error?ie[be]={message:Se.message,__type:"Error",...Se.name!=="Error"?{__subType:Se.name}:{}}:ie[be]=Se;return ie}function Uo(){return{createHref:uc,encodeLocation:Ec,push(k){throw new Error(`You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(k)})\` somewhere in your app.`)},replace(k){throw new Error(`You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(k)}, { replace: true })\` somewhere in your app.`)},go(k){throw new Error(`You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${k})\` somewhere in your app.`)},back(){throw new Error("You cannot use navigator.back() on the server because it is a stateless environment.")},forward(){throw new Error("You cannot use navigator.forward() on the server because it is a stateless environment.")}}}function nf(k,G){return ms(k,{...G,mapRouteProperties:Eo})}function xc(k,G,ie={}){let be={},Se=Me(k,Eo,void 0,be),Oe=G.matches.map(Ve=>{let et=be[Ve.route.id]||Ve.route;return{...Ve,route:et}}),ke=Ve=>`You cannot use router.${Ve}() on the server because it is a stateless environment`;return{get basename(){return G.basename},get future(){return{v8_middleware:!1,...ie?.future}},get state(){return{historyAction:"POP",location:G.location,matches:Oe,loaderData:G.loaderData,actionData:G.actionData,errors:G.errors,initialized:!0,navigation:Pn,restoreScrollPosition:null,preventScrollReset:!1,revalidation:"idle",fetchers:new Map,blockers:new Map}},get routes(){return Se},get window(){},initialize(){throw ke("initialize")},subscribe(){throw ke("subscribe")},enableScrollRestoration(){throw ke("enableScrollRestoration")},navigate(){throw ke("navigate")},fetch(){throw ke("fetch")},revalidate(){throw ke("revalidate")},createHref:uc,encodeLocation:Ec,getFetcher(){return zr},deleteFetcher(){throw ke("deleteFetcher")},resetFetcher(){throw ke("resetFetcher")},dispose(){throw ke("dispose")},getBlocker(){return Hn},deleteBlocker(){throw ke("deleteBlocker")},patchRoutes(){throw ke("patchRoutes")},_internalFetchControllers:new Map,_internalSetRoutes(){throw ke("_internalSetRoutes")},_internalSetStateDoNotUseOrYouWillBreakYourApp(){throw ke("_internalSetStateDoNotUseOrYouWillBreakYourApp")}}}function uc(k){return typeof k=="string"?k:re(k)}function Ec(k){let G=typeof k=="string"?k:re(k);G=G.replace(/ $/,"%20");let ie=Sd.test(G)?new URL(G):new URL(G,"http://localhost");return{pathname:ie.pathname,search:ie.search,hash:ie.hash}}var Sd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i},18398(f,d,e){"use strict";e.d(d,{HY:()=>U,Tw:()=>M,Zz:()=>j,y$:()=>T});function n(V){return`Minified Redux error #${V}; visit https://redux.js.org/Errors?code=${V} for the full message or use the non-minified dev environment for full errors. `}var r=typeof Symbol=="function"&&Symbol.observable||"@@observable",a=r,i=()=>Math.random().toString(36).substring(7).split("").join("."),s={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`},u=s;
786function l(V){if(typeof V!="object"||V===null)return!1;let q=V;for(;Object.getPrototypeOf(q)!==null;)q=Object.getPrototypeOf(q);return Object.getPrototypeOf(V)===q||Object.getPrototypeOf(V)===null}function m(V){if(V===void 0)return"undefined";if(V===null)return"null";const q=typeof V;switch(q){case"boolean":case"string":case"number":case"symbol":case"function":return q}if(Array.isArray(V))return"array";if(v(V))return"date";if(h(V))return"error";const J=g(V);switch(J){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return J}return Object.prototype.toString.call(V).slice(8,-1).toLowerCase().replace(/\s/g,"")}function g(V){return typeof V.constructor=="function"?V.constructor.name:null}function h(V){return V instanceof Error||typeof V.message=="string"&&V.constructor&&typeof V.constructor.stackTraceLimit=="number"}function v(V){return V instanceof Date?!0:typeof V.toDateString=="function"&&typeof V.getDate=="function"&&typeof V.setDate=="function"}function b(V){return typeof V}function T(V,q,J){if(typeof V!="function")throw new Error(n(2));if(typeof q=="function"&&typeof J=="function"||typeof J=="function"&&typeof arguments[3]=="function")throw new Error(n(0));if(typeof q=="function"&&typeof J>"u"&&(J=q,q=void 0),typeof J<"u"){if(typeof J!="function")throw new Error(n(1));return J(T)(V,q)}let re=V,he=q,fe=new Map,ae=fe,ye=0,ve=!1;function Ue(){ae===fe&&(ae=new Map,fe.forEach((Ze,rt)=>{ae.set(rt,Ze)}))}function We(){if(ve)throw new Error(n(3));return he}function de(Ze){if(typeof Ze!="function")throw new Error(n(4));if(ve)throw new Error(n(5));let rt=!0;Ue();const mt=ye++;return ae.set(mt,Ze),function(){if(rt){if(ve)throw new Error(n(6));rt=!1,Ue(),ae.delete(mt),fe=null}}}function xe(Ze){if(!l(Ze))throw new Error(n(7));if(typeof Ze.type>"u")throw new Error(n(8));if(typeof Ze.type!="string")throw new Error(n(17));if(ve)throw new Error(n(9));try{ve=!0,he=re(he,Ze)}finally{ve=!1}return(fe=ae).forEach(mt=>{mt()}),Ze}function Fe(Ze){if(typeof Ze!="function")throw new Error(n(10));re=Ze,xe({type:u.REPLACE})}function Xe(){const Ze=de;return{subscribe(rt){if(typeof rt!="object"||rt===null)throw new Error(n(11));function mt(){const jt=rt;jt.next&&jt.next(We())}return mt(),{unsubscribe:Ze(mt)}},[a](){return this}}}return xe({type:u.INIT}),{dispatch:xe,subscribe:de,getState:We,replaceReducer:Fe,[a]:Xe}}function E(V,q,J){return T(V,q,J)}function w(V){typeof console<"u"&&typeof console.error=="function"&&console.error(V);try{throw new Error(V)}catch{}}function C(V,q,J,re){const he=Object.keys(q),fe=J&&J.type===u.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(he.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!l(V))return`The ${fe} has unexpected type of "${b(V)}". Expected argument to be an object with the following keys: "${he.join('", "')}"`;const ae=Object.keys(V).filter(ye=>!q.hasOwnProperty(ye)&&!re[ye]);if(ae.forEach(ye=>{re[ye]=!0}),!(J&&J.type===u.REPLACE)&&ae.length>0)return`Unexpected ${ae.length>1?"keys":"key"} "${ae.join('", "')}" found in ${fe}. Expected to find one of the known reducer keys instead: "${he.join('", "')}". Unexpected keys will be ignored.`}function O(V){Object.keys(V).forEach(q=>{const J=V[q];if(typeof J(void 0,{type:u.INIT})>"u")throw new Error(n(12));if(typeof J(void 0,{type:u.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(n(13))})}function U(V){const q=Object.keys(V),J={};for(let ae=0;ae<q.length;ae++){const ye=q[ae];typeof V[ye]=="function"&&(J[ye]=V[ye])}const re=Object.keys(J);let he,fe;try{O(J)}catch(ae){fe=ae}return function(ye={},ve){if(fe)throw fe;let Ue=!1;const We={};for(let de=0;de<re.length;de++){const xe=re[de],Fe=J[xe],Xe=ye[xe],Me=Fe(Xe,ve);if(typeof Me>"u"){const Ze=ve&&ve.type;throw new Error(n(14))}We[xe]=Me,Ue=Ue||Me!==Xe}return Ue=Ue||re.length!==Object.keys(ye).length,Ue?We:ye}}function D(V,q){return function(...J){return q(V.apply(this,J))}}function F(V,q){if(typeof V=="function")return D(V,q);if(typeof V!="object"||V===null)throw new Error(n(16));const J={};for(const re in V){const he=V[re];typeof he=="function"&&(J[re]=D(he,q))}return J}function j(...V){return V.length===0?q=>q:V.length===1?V[0]:V.reduce((q,J)=>(...re)=>q(J(...re)))}function M(...V){return q=>(J,re)=>{const he=q(J,re);let fe=()=>{throw new Error(n(15))};const ae={getState:he.getState,dispatch:(ve,...Ue)=>fe(ve,...Ue)},ye=V.map(ve=>ve(ae));
786return fe=j(...ye)(he.dispatch),{...he,dispatch:fe}}}function W(V){return l(V)&&"type"in V&&typeof V.type=="string"}},33649(f,d,e){"use strict";e.d(d,{L:()=>d1});var n=e(16881),r=e(26372);function a({player:p}){r.useEffect(()=>{if(p==null)return;p.getChild("BigPlayButton")?.el()?.querySelector(".vjs-control-text")?.removeAttribute("aria-live")},[p])}function i({player:p}){const t=r.useRef(null);r.useEffect(()=>{if(p==null)return;const o=y=>{if(y.key!=="Tab"||document.fullscreenElement==null)return;const _=s(p);if(_.length===0)return;const P=p.getChild("BigPlayButton"),ue=p.el()?.classList.contains("vjs-playing")?_[0]:P??_[0],Te=_[_.length-1];if(y.shiftKey&&document.activeElement===ue?.el()){y.preventDefault(),Te?.focus();return}!y.shiftKey&&document.activeElement===Te?.el()&&(y.preventDefault(),ue?.focus())},c=()=>{document.fullscreenElement==null?p.getChild("ControlBar")?.getChild("fullscreenToggle")?.focus():t.current=document.activeElement};return document.addEventListener("keydown",o),p.on("fullscreenchange",c),()=>{document.removeEventListener("keydown",o),p.off("fullscreenchange",c)}},[p])}function s(p){const t=p.getChild("ControlBar");return t==null?[]:t.children().flatMap(c=>c.name()==="VolumePanel"?c.children().flatMap(y=>y.children()):c).filter(c=>{const y=c.el();return y!=null&&!y.classList.contains("vjs-hidden")})}function u({labelPlaybackRate:p,player:t}){r.useEffect(()=>{if(t==null)return;const c=t.getChild("ControlBar")?.getChild("PlaybackRateMenuButton");if(c==null)return;const y=c.el()?.querySelector(".vjs-control-text"),_=c.el()?.querySelector(".vjs-playback-rate-value");if(y!=null&&_!=null){const H=c.el()?.querySelector("button"),ue=()=>{const Te=p!=null&&p!==""?p:t.localize("Playback Rate"),Ye=t.playbackRate();y.textContent=`${Te} ${Ye}x`,H?.removeAttribute("aria-describedby")};t.on("ratechange",ue),t.on("languagechange",ue),y.setAttribute("aria-atomic","true"),_.setAttribute("aria-hidden","true"),H?.removeAttribute("aria-describedby")}const P=c.el();if(P!=null){const H=ue=>{if(ue.key!=="Escape"||!P.contains(document.activeElement))return;P.querySelector("button")?.getAttribute("aria-expanded")==="true"&&c?.focus()};return document.addEventListener("keydown",H,!0),()=>{document.removeEventListener("keydown",H,!0)}}},[t,p])}function l({player:p}){r.useEffect(()=>{p!=null&&(p.el()?.removeAttribute("role"),p.el()?.removeAttribute("aria-label"))},[p])}function m({player:p}){r.useEffect(()=>{if(p==null)return;p.getChild("PosterImage")?.el()?.setAttribute("aria-hidden","true")},[p])}function g({enableSeek:p,labelSeek:t,labelSeekDisabled:o,player:c}){r.useEffect(()=>{if(c==null)return;const _=c.getChild("ControlBar")?.getChild("ProgressControl")?.getChild("SeekBar");if(_==null)return;const P=_.el();if(P==null)return;const H=c.localize("Progress Bar"),ue=t!=null&&t!==""?t:H,Te=o!=null&&o!==""?o:ue,Ye=p?ue:Te;P.setAttribute("aria-label",Ye)},[p,t,o,c])}function h({player:p}){r.useEffect(()=>{if(p==null)return;p.getChild("ControlBar")?.getChild("volumePanel")?.getChild("volumeControl")?.getChild("volumeBar")?.el()?.removeAttribute("aria-live")},[p])}function v({player:p}){r.useEffect(()=>{if(p==null)return;const o=p.getChild("ControlBar")?.getChild("SubsCapsButton");if(o==null)return;const c=o.el();if(c==null)return;const y=_=>{if(_.key!=="Escape"||!c.contains(document.activeElement))return;c.querySelector("button")?.getAttribute("aria-expanded")==="true"&&o?.focus()};return document.addEventListener("keydown",y,!0),()=>{document.removeEventListener("keydown",y,!0)}},[p])}function b({enableContextMenu:p,player:t}){r.useEffect(()=>{if(t==null||p)return;const o=c=>{c.preventDefault()};return t.on("contextmenu",o),()=>{t.off("contextmenu",o)}},[t,p])}function T({children:p,player:t}){const o=r.useRef(new Map);r.useEffect(()=>{if(t==null)return;const c=E(p),y=new Set(c.map(H=>H.src));for(const[H,ue]of o.current)y.has(H)||(t.removeRemoteTextTrack(ue),o.current.delete(H));const _=t.textTracks(),P=new Set;for(const H of Array.from(_))P.add(`${H?.label??""}|${H?.language??""}`);for(const H of c){const ue=`${H.label}|${H.language}`;if(!o.current.has(H.src)&&!P.has(ue)){const Te=t.addRemoteTextTrack({kind:H.kind,label:H.label,language:H.language,src:H.src},!1);o.current.set(H.src,Te);const Ye=Te;Ye?.track!=null&&(Ye.track.mode="disabled")}}},[p,t])}function E(p){const t=[];
vendor: 22,496 bytes, lines 786-788
786return r.Children.forEach(p,o=>{if(r.isValidElement(o)&&o.type==="track"&&o.props.src!=null&&o.props.src!==""){const c=o.props.kind!=null&&o.props.kind!==""?o.props.kind:"captions",y=o.props.label??"",_=o.props.srcLang??"";t.push({kind:c,label:y,language:_,src:o.props.src})}}),t}function w(p){return r.Children.map(p,t=>r.isValidElement(t)&&t.type==="track"?null:t)}var C=e(24015),O=e.n(C),U=e(46734),D=e.n(U),F=e(15860),j=e.n(F),M=e(82837),W=e.n(M);function V(){return V=Object.assign?Object.assign.bind():function(p){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var c in o)({}).hasOwnProperty.call(o,c)&&(p[c]=o[c])}return p},V.apply(null,arguments)}var q="https://example.com",J=function(t,o){if(/^[a-z]+:/i.test(o))return o;/^data:/.test(t)&&(t=O().location&&O().location.href||"");var c=/^\/\//.test(t),y=!O().location&&!/\/\//i.test(t);t=new(O()).URL(t,O().location||q);var _=new URL(o,t);return y?_.href.slice(q.length):c?_.href.slice(_.protocol.length):_.href};const re=J;var he=(function(){function p(){this.listeners={}}var t=p.prototype;return t.on=function(c,y){this.listeners[c]||(this.listeners[c]=[]),this.listeners[c].push(y)},t.off=function(c,y){if(!this.listeners[c])return!1;var _=this.listeners[c].indexOf(y);return this.listeners[c]=this.listeners[c].slice(0),this.listeners[c].splice(_,1),_>-1},t.trigger=function(c){var y=this.listeners[c];if(y)if(arguments.length===2)for(var _=y.length,P=0;P<_;++P)y[P].call(this,arguments[1]);else for(var H=Array.prototype.slice.call(arguments,1),ue=y.length,Te=0;Te<ue;++Te)y[Te].apply(this,H)},t.dispose=function(){this.listeners={}},t.pipe=function(c){this.on("data",function(y){c.push(y)})},p})(),fe=function(t){return O().atob?O().atob(t):Buffer.from(t,"base64").toString("binary")};function ae(p){for(var t=fe(p),o=new Uint8Array(t.length),c=0;c<t.length;c++)o[c]=t.charCodeAt(c);return o}/*! @name m3u8-parser @version 7.2.0 @license Apache-2.0 */class ye extends he{constructor(){super(),this.buffer=""}push(t){let o;for(this.buffer+=t,o=this.buffer.indexOf(` 787`);o>-1;o=this.buffer.indexOf(` 788`))this.trigger("data",this.buffer.substring(0,o)),this.buffer=this.buffer.substring(o+1)}}const ve=" ",Ue=function(p){const t=/([0-9.]*)?@?([0-9.]*)?/.exec(p||""),o={};return t[1]&&(o.length=parseInt(t[1],10)),t[2]&&(o.offset=parseInt(t[2],10)),o},We=function(){const o="(?:"+"[^=]*"+")=(?:"+'"[^"]*"|[^,]*'+")";return new RegExp("(?:^|,)("+o+")")},de=function(p){const t={};if(!p)return t;const o=p.split(We());let c=o.length,y;for(;c--;)o[c]!==""&&(y=/([^=]*)=(.*)/.exec(o[c]).slice(1),y[0]=y[0].replace(/^\s+|\s+$/g,""),y[1]=y[1].replace(/^\s+|\s+$/g,""),y[1]=y[1].replace(/^['"](.*)['"]$/g,"$1"),t[y[0]]=y[1]);return t},xe=p=>{const t=p.split("x"),o={};return t[0]&&(o.width=parseInt(t[0],10)),t[1]&&(o.height=parseInt(t[1],10)),o};class Fe extends he{constructor(){super(),this.customParsers=[],this.tagMappers=[]}push(t){let o,c;if(t=t.trim(),t.length===0)return;if(t[0]!=="#"){this.trigger("data",{type:"uri",uri:t});return}this.tagMappers.reduce((_,P)=>{const H=P(t);return H===t?_:_.concat([H])},[t]).forEach(_=>{for(let P=0;P<this.customParsers.length;P++)if(this.customParsers[P].call(this,_))return;if(_.indexOf("#EXT")!==0){this.trigger("data",{type:"comment",text:_.slice(1)});return}if(_=_.replace("\r",""),o=/^#EXTM3U/.exec(_),o){this.trigger("data",{type:"tag",tagType:"m3u"});return}if(o=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(_),o){c={type:"tag",tagType:"inf"},o[1]&&(c.duration=parseFloat(o[1])),o[2]&&(c.title=o[2]),this.trigger("data",c);return}if(o=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(_),o){c={type:"tag",tagType:"targetduration"},o[1]&&(c.duration=parseInt(o[1],10)),this.trigger("data",c);return}if(o=/^#EXT-X-VERSION:([0-9.]*)?/.exec(_),o){c={type:"tag",tagType:"version"},o[1]&&(c.version=parseInt(o[1],10)),this.trigger("data",c);return}if(o=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(_),o){c={type:"tag",tagType:"media-sequence"},o[1]&&(c.number=parseInt(o[1],10)),this.trigger("data",c);return}if(o=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(_),o){c={type:"tag",tagType:"discontinuity-sequence"},o[1]&&(c.number=parseInt(o[1],10)),this.trigger("data",c);return}if(o=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(_),o){c={type:"tag",tagType:"playlist-type"},o[1]&&(c.playlistType=o[1]),this.trigger("data",c);return}if(o=/^#EXT-X-BYTERANGE:(.*)?$/.exec(_),o){c=V(Ue(o[1]),{type:"tag",tagType:"byterange"}),this.trigger("data",c);return}if(o=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(_),o){c={type:"tag",tagType:"allow-cache"},o[1]&&(c.allowed=!/NO/.test(o[1])),this.trigger("data",c);return}if(o=/^#EXT-X-MAP:(.*)$/.exec(_),o){if(c={type:"tag",tagType:"map"},o[1]){const P=de(o[1]);P.URI&&(c.uri=P.URI),P.BYTERANGE&&(c.byterange=Ue(P.BYTERANGE))}this.trigger("data",c);return}if(o=/^#EXT-X-STREAM-INF:(.*)$/.exec(_),o){c={type:"tag",tagType:"stream-inf"},o[1]&&(c.attributes=de(o[1]),c.attributes.RESOLUTION&&(c.attributes.RESOLUTION=xe(c.attributes.RESOLUTION)),c.attributes.BANDWIDTH&&(c.attributes.BANDWIDTH=parseInt(c.attributes.BANDWIDTH,10)),c.attributes["FRAME-RATE"]&&(c.attributes["FRAME-RATE"]=parseFloat(c.attributes["FRAME-RATE"])),c.attributes["PROGRAM-ID"]&&(c.attributes["PROGRAM-ID"]=parseInt(c.attributes["PROGRAM-ID"],10))),this.trigger("data",c);return}if(o=/^#EXT-X-MEDIA:(.*)$/.exec(_),o){c={type:"tag",tagType:"media"},o[1]&&(c.attributes=de(o[1])),this.trigger("data",c);return}if(o=/^#EXT-X-ENDLIST/.exec(_),o){this.trigger("data",{type:"tag",tagType:"endlist"});return}if(o=/^#EXT-X-DISCONTINUITY/.exec(_),o){this.trigger("data",{type:"tag",tagType:"discontinuity"});return}if(o=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(_),o){c={type:"tag",tagType:"program-date-time"},o[1]&&(c.dateTimeString=o[1],c.dateTimeObject=new Date(o[1])),this.trigger("data",c);return}if(o=/^#EXT-X-KEY:(.*)$/.exec(_),o){c={type:"tag",tagType:"key"},o[1]&&(c.attributes=de(o[1]),c.attributes.IV&&(c.attributes.IV.substring(0,2).toLowerCase()==="0x"&&(c.attributes.IV=c.attributes.IV.substring(2)),c.attributes.IV=c.attributes.IV.match(/.{8}/g),c.attributes.IV[0]=parseInt(c.attributes.IV[0],16),c.attributes.IV[1]=parseInt(c.attributes.IV[1],16),c.attributes.IV[2]=parseInt(c.attributes.IV[2],16),c.attributes.IV[3]=parseInt(c.attributes.IV[3],16),c.attributes.IV=new Uint32Array(c.attributes.IV))),this.trigger("data",c);return}if(o=/^#EXT-X-START:(.*)$/.exec(_),o){c={type:"tag",tagType:"start"},o[1]&&(c.attributes=de(o[1]),c.attributes["TIME-OFFSET"]=parseFloat(c.attributes["TIME-OFFSET"]),c.attributes.PRECISE=/YES/.test(c.attributes.PRECISE)),this.trigger("data",c);return}if(o=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(_),o){c={type:"tag",tagType:"cue-out-cont"},o[1]?c.data=o[1]:c.data="",this.trigger("data",c);return}if(o=/^#EXT-X-CUE-OUT:(.*)?$/.exec(_),o){c={type:"tag",tagType:"cue-out"},o[1]?c.data=o[1]:c.data="",this.trigger("data",c);return}if(o=/^#EXT-X-CUE-IN:?(.*)?$/.exec(_),o){c={type:"tag",tagType:"cue-in"},o[1]?c.data=o[1]:c.data="",this.trigger("data",c);return}if(o=/^#EXT-X-SKIP:(.*)$/.exec(_),o&&o[1]){c={type:"tag",tagType:"skip"},c.attributes=de(o[1]),c.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(c.attributes["SKIPPED-SEGMENTS"]=parseInt(c.attributes["SKIPPED-SEGMENTS"],10)),c.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(c.attributes["RECENTLY-REMOVED-DATERANGES"]=c.attributes["RECENTLY-REMOVED-DATERANGES"].split(ve)),this.trigger("data",c);return}if(o=/^#EXT-X-PART:(.*)$/.exec(_),o&&o[1]){c={type:"tag",tagType:"part"},c.attributes=de(o[1]),["DURATION"].forEach(function(P){c.attributes.hasOwnProperty(P)&&(c.attributes[P]=parseFloat(c.attributes[P]))}),["INDEPENDENT","GAP"].forEach(function(P){c.attributes.hasOwnProperty(P)&&(c.attributes[P]=/YES/.test(c.attributes[P]))}),c.attributes.hasOwnProperty("BYTERANGE")&&(c.attributes.byterange=Ue(c.attributes.BYTERANGE)),this.trigger("data",c);return}if(o=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(_),o&&o[1]){c={type:"tag",tagType:"server-control"},c.attributes=de(o[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(P){c.attributes.hasOwnProperty(P)&&(c.attributes[P]=parseFloat(c.attributes[P]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(P){c.attributes.hasOwnProperty(P)&&(c.attributes[P]=/YES/.test(c.attributes[P]))}),this.trigger("data",c);return}if(o=/^#EXT-X-PART-INF:(.*)$/.exec(_),o&&o[1]){c={type:"tag",tagType:"part-inf"},c.attributes=de(o[1]),["PART-TARGET"].forEach(function(P){c.attributes.hasOwnProperty(P)&&(c.attributes[P]=parseFloat(c.attributes[P]))}),this.trigger("data",c);return}if(o=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(_),o&&o[1]){c={type:"tag",tagType:"preload-hint"},c.attributes=de(o[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(P){if(c.attributes.hasOwnProperty(P)){c.attributes[P]=parseInt(c.attributes[P],10);const H=P==="BYTERANGE-LENGTH"?"length":"offset";c.attributes.byterange=c.attributes.byterange||{},c.attributes.byterange[H]=c.attributes[P],delete c.attributes[P]}}),this.trigger("data",c);return}if(o=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(_),o&&o[1]){c={type:"tag",tagType:"rendition-report"},c.attributes=de(o[1]),["LAST-MSN","LAST-PART"].forEach(function(P){c.attributes.hasOwnProperty(P)&&(c.attributes[P]=parseInt(c.attributes[P],10))}),this.trigger("data",c);return}if(o=/^#EXT-X-DATERANGE:(.*)$/.exec(_),o&&o[1]){c={type:"tag",tagType:"daterange"},c.attributes=de(o[1]),["ID","CLASS"].forEach(function(H){c.attributes.hasOwnProperty(H)&&(c.attributes[H]=String(c.attributes[H]))}),["START-DATE","END-DATE"].forEach(function(H){c.attributes.hasOwnProperty(H)&&(c.attributes[H]=new Date(c.attributes[H]))}),["DURATION","PLANNED-DURATION"].forEach(function(H){c.attributes.hasOwnProperty(H)&&(c.attributes[H]=parseFloat(c.attributes[H]))}),["END-ON-NEXT"].forEach(function(H){c.attributes.hasOwnProperty(H)&&(c.attributes[H]=/YES/i.test(c.attributes[H]))}),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach(function(H){c.attributes.hasOwnProperty(H)&&(c.attributes[H]=c.attributes[H].toString(16))});const P=/^X-([A-Z]+-)+[A-Z]+$/;for(const H in c.attributes){if(!P.test(H))continue;const ue=/[0-9A-Fa-f]{6}/g.test(c.attributes[H]),Te=/^\d+(\.\d+)?$/.test(c.attributes[H]);c.attributes[H]=ue?c.attributes[H].toString(16):Te?parseFloat(c.attributes[H]):String(c.attributes[H])}this.trigger("data",c);return}if(o=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(_),o){this.trigger("data",{type:"tag",tagType:"independent-segments"});return}if(o=/^#EXT-X-I-FRAMES-ONLY/.exec(_),o){this.trigger("data",{type:"tag",tagType:"i-frames-only"});return}if(o=/^#EXT-X-CONTENT-STEERING:(.*)$/.exec(_),o){c={type:"tag",tagType:"content-steering"},c.attributes=de(o[1]),this.trigger("data",c);return}if(o=/^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(_),o){c={type:"tag",tagType:"i-frame-playlist"},c.attributes=de(o[1]),c.attributes.URI&&(c.uri=c.attributes.URI),c.attributes.BANDWIDTH&&(c.attributes.BANDWIDTH=parseInt(c.attributes.BANDWIDTH,10)),c.attributes.RESOLUTION&&(c.attributes.RESOLUTION=xe(c.attributes.RESOLUTION)),c.attributes["AVERAGE-BANDWIDTH"]&&(c.attributes["AVERAGE-BANDWIDTH"]=parseInt(c.attributes["AVERAGE-BANDWIDTH"],10)),c.attributes["FRAME-RATE"]&&(c.attributes["FRAME-RATE"]=parseFloat(c.attributes["FRAME-RATE"])),this.trigger("data",c);return}if(o=/^#EXT-X-DEFINE:(.*)$/.exec(_),o){c={type:"tag",tagType:"define"},c.attributes=de(o[1]),this.trigger("data",c);return}this.trigger("data",{type:"tag",data:_.slice(4)})})}addParser({expression:t,customType:o,dataParser:c,segment:y}){typeof c!="function"&&(c=_=>_),this.customParsers.push(_=>{if(t.exec(_))return this.trigger("data",{type:"custom",data:c(_),customType:o,segment:y}),!0})}addTagMapper({expression:t,map:o}){const c=y=>t.test(y)?o(y):y;this.tagMappers.push(c)}}const Xe=p=>p.toLowerCase().replace(/-(\w)/g,t=>t[1].toUpperCase()),Me=function(p){const t={};return Object.keys(p).forEach(function(o){t[Xe(o)]=p[o]}),t},Ze=function(p){const{serverControl:t,targetDuration:o,partTargetDuration:c}=p;if(!t)return;const y="#EXT-X-SERVER-CONTROL",_="holdBack",P="partHoldBack",H=o&&o*3,ue=c&&c*2;o&&!t.hasOwnProperty(_)&&(t[_]=H,this.trigger("info",{message:`${y} defaulting HOLD-BACK to targetDuration * 3 (${H}).`})),H&&t[_]<H&&(this.trigger("warn",{message:`${y} clamping HOLD-BACK (${t[_]}) to targetDuration * 3 (${H})`}),t[_]=H),c&&!t.hasOwnProperty(P)&&(t[P]=c*3,this.trigger("info",{message:`${y} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${t[P]}).`})),c&&t[P]<ue&&(this.trigger("warn",{message:`${y} clamping PART-HOLD-BACK (${t[P]}) to partTargetDuration * 2 (${ue}).`}),t[P]=ue)};class rt extends he{constructor(t={}){super(),this.lineStream=new ye,this.parseStream=new Fe,this.lineStream.pipe(this.parseStream),this.mainDefinitions=t.mainDefinitions||{},this.params=new URL(t.uri,"https://a.com").searchParams,this.lastProgramDateTime=null;const o=this,c=[];let y={},_,P,H=!1;const ue=function(){},Te={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},Ye="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";let xt=0;this.manifest={allowCache:!0,discontinuityStarts:[],dateRanges:[],iFramePlaylists:[],segments:[]};let or=0,Ir=0;const Qr={};this.on("end",()=>{y.uri||!y.parts&&!y.preloadHints||(!y.map&&_&&(y.map=_),!y.key&&P&&(y.key=P),!y.timeline&&typeof xt=="number"&&(y.timeline=xt),this.manifest.preloadSegment=y)}),this.parseStream.on("data",function(Rt){let kn,Dn;if(o.manifest.definitions){for(const Tn in o.manifest.definitions)if(Rt.uri&&(Rt.uri=Rt.uri.replace(`{$${Tn}}`,o.manifest.definitions[Tn])),Rt.attributes)for(const rn in Rt.attributes)typeof Rt.attributes[rn]=="string"&&(Rt.attributes[rn]=Rt.attributes[rn].replace(`{$${Tn}}`,o.manifest.definitions[Tn]))}({tag(){({version(){Rt.version&&(this.manifest.version=Rt.version)},"allow-cache"(){this.manifest.allowCache=Rt.allowed,"allowed"in Rt||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){const Tn={};"length"in Rt&&(y.byterange=Tn,Tn.length=Rt.length,"offset"in Rt||(Rt.offset=or)),"offset"in Rt&&(y.byterange=Tn,Tn.offset=Rt.offset),or=Tn.offset+Tn.length},endlist(){this.manifest.endList=!0},inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),Rt.title&&(y.title=Rt.title),Rt.duration>0&&(y.duration=Rt.duration),Rt.duration===0&&(y.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=c},key(){if(!Rt.attributes){this.trigger("warn",{message:"ignoring key declaration without attribute list"});return}if(Rt.attributes.METHOD==="NONE"){P=null;return}if(!Rt.attributes.URI){this.trigger("warn",{message:"ignoring key declaration without URI"});return}if(Rt.attributes.KEYFORMAT==="com.apple.streamingkeydelivery"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:Rt.attributes};return}if(Rt.attributes.KEYFORMAT==="com.microsoft.playready"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:Rt.attributes.URI};return}if(Rt.attributes.KEYFORMAT===Ye){if(["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(Rt.attributes.METHOD)===-1){this.trigger("warn",{message:"invalid key method provided for Widevine"});return}if(Rt.attributes.METHOD==="SAMPLE-AES-CENC"&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),Rt.attributes.URI.substring(0,23)!=="data:text/plain;base64,"){this.trigger("warn",{message:"invalid key URI provided for Widevine"});return}if(!(Rt.attributes.KEYID&&Rt.attributes.KEYID.substring(0,2)==="0x")){this.trigger("warn",{message:"invalid key ID provided for Widevine"});return}this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:Rt.attributes.KEYFORMAT,keyId:Rt.attributes.KEYID.substring(2)},pssh:ae(Rt.attributes.URI.split(",")[1])};return}Rt.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),P={method:Rt.attributes.METHOD||"AES-128",uri:Rt.attributes.URI},typeof Rt.attributes.IV<"u"&&(P.iv=Rt.attributes.IV)},"media-sequence"(){if(!isFinite(Rt.number)){this.trigger("warn",{message:"ignoring invalid media sequence: "+Rt.number});return}this.manifest.mediaSequence=Rt.number},"discontinuity-sequence"(){if(!isFinite(Rt.number)){this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+Rt.number});return}this.manifest.discontinuitySequence=Rt.number,xt=Rt.number},"playlist-type"(){if(!/VOD|EVENT/.test(Rt.playlistType)){this.trigger("warn",{message:"ignoring unknown playlist type: "+Rt.playlist});return}this.manifest.playlistType=Rt.playlistType},map(){_={},Rt.uri&&(_.uri=Rt.uri),Rt.byterange&&(_.byterange=Rt.byterange),P&&(_.key=P)},"stream-inf"(){if(this.manifest.playlists=c,this.manifest.mediaGroups=this.manifest.mediaGroups||Te,!Rt.attributes){this.trigger("warn",{message:"ignoring empty stream-inf attributes"});return}y.attributes||(y.attributes={}),V(y.attributes,Rt.attributes)},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||Te,!(Rt.attributes&&Rt.attributes.TYPE&&Rt.attributes["GROUP-ID"]&&Rt.attributes.NAME)){this.trigger("warn",{message:"ignoring incomplete or missing media group"});return}const Tn=this.manifest.mediaGroups[Rt.attributes.TYPE];Tn[Rt.attributes["GROUP-ID"]]=Tn[Rt.attributes["GROUP-ID"]]||{},kn=Tn[Rt.attributes["GROUP-ID"]],Dn={default:/yes/i.test(Rt.attributes.DEFAULT)},Dn.default?Dn.autoselect=!0:Dn.autoselect=/yes/i.test(Rt.attributes.AUTOSELECT),Rt.attributes.LANGUAGE&&(Dn.language=Rt.attributes.LANGUAGE),Rt.attributes.URI&&(Dn.uri=Rt.attributes.URI),Rt.attributes["INSTREAM-ID"]&&(Dn.instreamId=Rt.attributes["INSTREAM-ID"]),Rt.attributes.CHARACTERISTICS&&(Dn.characteristics=Rt.attributes.CHARACTERISTICS),Rt.attributes.FORCED&&(Dn.forced=/yes/i.test(Rt.attributes.FORCED)),kn[Rt.attributes.NAME]=Dn},discontinuity(){xt+=1,y.discontinuity=!0,this.manifest.discontinuityStarts.push(c.length)},"program-date-time"(){typeof this.manifest.dateTimeString>"u"&&(this.manifest.dateTimeString=Rt.dateTimeString,this.manifest.dateTimeObject=Rt.dateTimeObject),y.dateTimeString=Rt.dateTimeString,y.dateTimeObject=Rt.dateTimeObject;const{lastProgramDateTime:Tn}=this;this.lastProgramDateTime=new Date(Rt.dateTimeString).getTime(),Tn===null&&this.manifest.segments.reduceRight((rn,zn)=>(zn.programDateTime=rn-zn.duration*1e3,zn.programDateTime),this.lastProgramDateTime)},targetduration(){if(!isFinite(Rt.duration)||Rt.duration<0){this.trigger("warn",{message:"ignoring invalid target duration: "+Rt.duration});return}this.manifest.targetDuration=Rt.duration,Ze.call(this,this.manifest)},start(){if(!Rt.attributes||isNaN(Rt.attributes["TIME-OFFSET"])){this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});return}this.manifest.start={timeOffset:Rt.attributes["TIME-OFFSET"],precise:Rt.attributes.PRECISE}},"cue-out"(){y.cueOut=Rt.data},"cue-out-cont"(){y.cueOutCont=Rt.data},"cue-in"(){y.cueIn=Rt.data},skip(){this.manifest.skip=Me(Rt.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",Rt.attributes,["SKIPPED-SEGMENTS"])},part(){H=!0;const Tn=this.manifest.segments.length,rn=Me(Rt.attributes);y.parts=y.parts||[],y.parts.push(rn),rn.byterange&&(rn.byterange.hasOwnProperty("offset")||(rn.byterange.offset=Ir),Ir=rn.byterange.offset+rn.byterange.length);const zn=y.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${zn} for segment #${Tn}`,Rt.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((Nn,yi)=>{Nn.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${yi} lacks required attribute(s): LAST-PART`})})},"server-control"(){const Tn=this.manifest.serverControl=Me(Rt.attributes);Tn.hasOwnProperty("canBlockReload")||(Tn.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),Ze.call(this,this.manifest),Tn.canSkipDateranges&&!Tn.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint"(){const Tn=this.manifest.segments.length,rn=Me(Rt.attributes),zn=rn.type&&rn.type==="PART";y.preloadHints=y.preloadHints||[],y.preloadHints.push(rn),rn.byterange&&(rn.byterange.hasOwnProperty("offset")||(rn.byterange.offset=zn?Ir:0,zn&&(Ir=rn.byterange.offset+rn.byterange.length)));const Nn=y.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${Nn} for segment #${Tn}`,Rt.attributes,["TYPE","URI"]),!!rn.type)for(let yi=0;yi<y.preloadHints.length-1;yi++){const Gn=y.preloadHints[yi];Gn.type&&Gn.type===rn.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${Nn} for segment #${Tn} has the same TYPE ${rn.type} as preload hint #${yi}`})}},"rendition-report"(){const Tn=Me(Rt.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(Tn);const rn=this.manifest.renditionReports.length-1,zn=["LAST-MSN","URI"];H&&zn.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${rn}`,Rt.attributes,zn)},"part-inf"(){this.manifest.partInf=Me(Rt.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",Rt.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),Ze.call(this,this.manifest)},daterange(){this.manifest.dateRanges.push(Me(Rt.attributes));const Tn=this.manifest.dateRanges.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${Tn}`,Rt.attributes,["ID","START-DATE"]);const rn=this.manifest.dateRanges[Tn];rn.endDate&&rn.startDate&&new Date(rn.endDate)<new Date(rn.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),rn.duration&&rn.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),rn.plannedDuration&&rn.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});const zn=!!rn.endOnNext;if(zn&&!rn.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT
788=YES attribute must have a CLASS attribute"}),zn&&(rn.duration||rn.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),rn.duration&&rn.endDate){const yi=rn.startDate.getTime()+rn.duration*1e3;this.manifest.dateRanges[Tn].endDate=new Date(yi)}if(!Qr[rn.id])Qr[rn.id]=rn;else{for(const yi in Qr[rn.id])if(rn[yi]&&JSON.stringify(Qr[rn.id][yi])!==JSON.stringify(rn[yi])){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes values"});break}const Nn=this.manifest.dateRanges.findIndex(yi=>yi.id===rn.id);this.manifest.dateRanges[Nn]=V(this.manifest.dateRanges[Nn],rn),Qr[rn.id]=V(Qr[rn.id],rn),this.manifest.dateRanges.pop()}},"independent-segments"(){this.manifest.independentSegments=!0},"i-frames-only"(){this.manifest.iFramesOnly=!0,this.requiredCompatibilityversion(this.manifest.version,4)},"content-steering"(){this.manifest.contentSteering=Me(Rt.attributes),this.warnOnMissingAttributes_("#EXT-X-CONTENT-STEERING",Rt.attributes,["SERVER-URI"])},define(){this.manifest.definitions=this.manifest.definitions||{};const Tn=(rn,zn)=>{if(rn in this.manifest.definitions){this.trigger("error",{message:`EXT-X-DEFINE: Duplicate name ${rn}`});return}this.manifest.definitions[rn]=zn};if("QUERYPARAM"in Rt.attributes){if("NAME"in Rt.attributes||"IMPORT"in Rt.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}const rn=this.params.get(Rt.attributes.QUERYPARAM);if(!rn){this.trigger("error",{message:`EXT-X-DEFINE: No query param ${Rt.attributes.QUERYPARAM}`});return}Tn(Rt.attributes.QUERYPARAM,decodeURIComponent(rn));return}if("NAME"in Rt.attributes){if("IMPORT"in Rt.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}if(!("VALUE"in Rt.attributes)||typeof Rt.attributes.VALUE!="string"){this.trigger("error",{message:`EXT-X-DEFINE: No value for ${Rt.attributes.NAME}`});return}Tn(Rt.attributes.NAME,Rt.attributes.VALUE);return}if("IMPORT"in Rt.attributes){if(!this.mainDefinitions[Rt.attributes.IMPORT]){this.trigger("error",{message:`EXT-X-DEFINE: No value ${Rt.attributes.IMPORT} to import, or IMPORT used on main playlist`});return}Tn(Rt.attributes.IMPORT,this.mainDefinitions[Rt.attributes.IMPORT]);return}this.trigger("error",{message:"EXT-X-DEFINE: No attribute"})},"i-frame-playlist"(){this.manifest.iFramePlaylists.push({attributes:Rt.attributes,uri:Rt.uri,timeline:xt}),this.warnOnMissingAttributes_("#EXT-X-I-FRAME-STREAM-INF",Rt.attributes,["BANDWIDTH","URI"])}}[Rt.tagType]||ue).call(o)},uri(){y.uri=Rt.uri,c.push(y),this.manifest.targetDuration&&!("duration"in y)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),y.duration=this.manifest.targetDuration),P&&(y.key=P),y.timeline=xt,_&&(y.map=_),Ir=0,this.lastProgramDateTime!==null&&(y.programDateTime=this.lastProgramDateTime,this.lastProgramDateTime+=y.duration*1e3),y={}},comment(){},custom(){Rt.segment?(y.custom=y.custom||{},y.custom[Rt.customType]=Rt.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[Rt.customType]=Rt.data)}})[Rt.type].call(o)})}requiredCompatibilityversion(t,o){(t<o||!t)&&this.trigger("warn",{message:`manifest must be at least version ${o}`})}warnOnMissingAttributes_(t,o,c){const y=[];c.forEach(function(_){o.hasOwnProperty(_)||y.push(_)}),y.length&&this.trigger("warn",{message:`${t} lacks required attribute(s): ${y.join(", ")}`})}push(t){this.lineStream.push(t)}end(){this.lineStream.push(` 789`),this.manifest.dateRanges.length&&this.lastProgramDateTime===null&&this.trigger("warn",{message:"A playlist with EXT-X-DATERANGE tag must contain atleast one EXT-X-PROGRAM-DATE-TIME tag"}),this.lastProgramDateTime=null,this.trigger("end")}addParser(t){this.parseStream.addParser(t)}addTagMapper(t){this.parseStream.addTagMapper(t)}}var mt={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},Xt=["video","audio","text"],jt=["Video","Audio","Text"],Lt=function(t){return t&&t.replace(/avc1\.(\d+)\.(\d+)/i,function(o,c,y){var _=("00"+Number(c).toString(16)).slice(-2),P=("00"+Number(y).toString(16)).slice(-2);return"avc1."+_+"00"+P})},Ht=function(t){return t.map(Lt)},vr=function(t){return t.replace(/avc1\.(\d+)\.(\d+)/i,function(o){return Ht([o])[0]})},Fr=function(t){t===void 0&&(t="");var o=t.split(","),c=[];return o.forEach(function(y){y=y.trim();var _;Xt.forEach(function(P){var H=mt[P].exec(y.toLowerCase());if(!(!H||H.length<=1)){_=P;var ue=y.substring(0,H[1].length),Te=y.replace(ue,"");c.push({type:ue,details:Te,mediaType:P})}}),_||c.push({type:y,details:"",mediaType:"unknown"})}),c},fn=function(t,o){if(!t.mediaGroups.AUDIO||!o)return null;var c=t.mediaGroups.AUDIO[o];if(!c)return null;for(var y in c){var _=c[y];if(_.default&&_.playlists)return Fr(_.playlists[0].attributes.CODECS)}return null},Kr=function(t){return t===void 0&&(t=""),mt.video.test(t.trim().toLowerCase())},Sn=function(t){return t===void 0&&(t=""),mt.audio.test(t.trim().toLowerCase())},Fn=function(t){return t===void 0&&(t=""),mt.text.test(t.trim().toLowerCase())},Et=function(t){if(!(!t||typeof t!="string")){var o=t.toLowerCase().split(",").map(function(_){return Lt(_.trim())}),c="video";o.length===1&&Sn(o[0])?c="audio":o.length===1&&Fn(o[0])&&(c="application");var y="mp4";return o.every(function(_){return mt.mp4.test(_)})?y="mp4":o.every(function(_){return mt.webm.test(_)})?y="webm":o.every(function(_){return mt.ogg.test(_)})&&(y="ogg"),c+"/"+y+';codecs="'+t+'"'}},st=function(t,o){return t===void 0&&(t=""),o===void 0&&(o=!1),O().MediaSource&&O().MediaSource.isTypeSupp
vendor: 90,055 bytes, lines 789-799
789orted&&O().MediaSource.isTypeSupported(Et(t))||o&&O().ManagedMediaSource&&O().ManagedMediaSource.isTypeSupported&&O().ManagedMediaSource.isTypeSupported(Et(t))||!1},Wr=function(t){return t===void 0&&(t=""),t.toLowerCase().split(",").every(function(o){o=o.trim();for(var c=0;c<jt.length;c++){var y=jt[c];if(mt["muxer"+y].test(o))return!0}return!1})},Dr="mp4a.40.2",Tr="avc1.4d400d",gr=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,ir=/^application\/dash\+xml/i,Mr=function(t){return gr.test(t)?"hls":ir.test(t)?"dash":t==="application/vnd.videojs.vhs+json"?"vhs-json":null},Lr=function(t,o){for(var c="";o--;)c+=t;return c},un=function(t){return t.toString(2).length},hn=function(t){return Math.ceil(un(t)/8)},rr=function(t,o,c){return c===void 0&&(c=" "),(Lr(c,o)+t.toString()).slice(-o)},Gr=function(t){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},er=function(t){return Gr(t)},At=function(t){return t instanceof Uint8Array?t:(!Array.isArray(t)&&!er(t)&&!(t instanceof ArrayBuffer)&&(typeof t!="number"||typeof t=="number"&&t!==t?t=0:t=[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},dr=function(t){t=At(t);for(var o="",c=0;c<t.length;c++)o+=rr(t[c].toString(16),2,"0");return o},Y=function(t){t=At(t);for(var o="",c=0;c<t.length;c++)o+=rr(t[c].toString(2),8,"0");return o},ot=O().BigInt||Number,Yt=[ot("0x1"),ot("0x100"),ot("0x10000"),ot("0x1000000"),ot("0x100000000"),ot("0x10000000000"),ot("0x1000000000000"),ot("0x100000000000000"),ot("0x10000000000000000")],it=(function(){var p=new Uint16Array([65484]),t=new Uint8Array(p.buffer,p.byteOffset,p.byteLength);return t[0]===255?"big":t[0]===204?"little":"unknown"})(),Mt=it==="big",an=it==="little",Cn=function(t,o){var c=o===void 0?{}:o,y=c.signed,_=y===void 0?!1:y,P=c.le,H=P===void 0?!1:P;t=At(t);var ue=H?"reduce":"reduceRight",Te=t[ue]?t[ue]:Array.prototype[ue],Ye=Te.call(t,function(or,Ir,Qr){var Rt=H?Qr:Math.abs(Qr+1-t.length);return or+ot(Ir)*Yt[Rt]},ot(0));if(_){var xt=Yt[t.length]/ot(2)-ot(1);Ye=ot(Ye),Ye>xt&&(Ye-=xt,Ye-=xt,Ye-=ot(2))}return Number(Ye)},Ln=function(t,o){var c=o===void 0?{}:o,y=c.le,_=y===void 0?!1:y;(typeof t!="bigint"&&typeof t!="number"||typeof t=="number"&&t!==t)&&(t=0),t=ot(t);for(var P=hn(t),H=new Uint8Array(new ArrayBuffer(P)),ue=0;ue<P;ue++){var Te=_?ue:Math.abs(ue+1-H.length);H[Te]=Number(t/Yt[ue]&ot(255)),t<0&&(H[Te]=Math.abs(~H[Te]),H[Te]-=ue===0?1:2)}return H},In=function(t){if(!t)return"";t=Array.prototype.slice.call(t);var o=String.fromCharCode.apply(null,At(t));try{return decodeURIComponent(escape(o))}catch{}return o},Si=function(t,o){if(typeof t!="string"&&t&&typeof t.toString=="function"&&(t=t.toString()),typeof t!="string")return new Uint8Array;o||(t=unescape(encodeURIComponent(t)));for(var c=new Uint8Array(t.length),y=0;y<t.length;y++)c[y]=t.charCodeAt(y);return c},$i=function(){for(var t=arguments.length,o=new Array(t),c=0;c<t;c++)o[c]=arguments[c];if(o=o.filter(function(H){return H&&(H.byteLength||H.length)&&typeof H!="string"}),o.length<=1)return At(o[0]);var y=o.reduce(function(H,ue,Te){return H+(ue.byteLength||ue.length)},0),_=new Uint8Array(y),P=0;return o.forEach(function(H){H=At(H),_.set(H,P),P+=H.byteLength}),_},tn=function(t,o,c){var y=c===void 0?{}:c,_=y.offset,P=_===void 0?0:_,H=y.mask,ue=H===void 0?[]:H;t=At(t),o=At(o);var Te=o.every?o.every:Array.prototype.every;return o.length&&t.length-P>=o.length&&Te.call(o,function(Ye,xt){var or=ue[xt]?ue[xt]&t[P+xt]:t[P+xt];return Ye===or})},Hi=function(t,o,c){return Uint8Array.prototype.slice?Uint8Array.prototype.slice.call(t,o,c):new Uint8Array(Array.prototype.slice.call(t,o,c))},Ji=function(t){return t.reverse?t.reverse():Array.prototype.reverse.call(t)},Yi=function(t,o,c){o.forEach(function(y){for(var _ in t.mediaGroups[y])for(var P in t.mediaGroups[y][_]){var H=t.mediaGroups[y][_][P];c(H,y,_,P)}})},Ki=e(53217);/*! @name mpd-parser @version 1.3.1 @license Apache-2.0 */var mi="1.3.1";const ws=p=>!!p&&typeof p=="object",Zn=(...p)=>p.reduce((t,o)=>(typeof o!="object"||Object.keys(o).forEach(c=>{Array.isArray(t[c])&&Array.isArray(o[c])?t[c]=t[c].concat(o[c]):ws(t[c])&&ws(o[c])?t[c]=Zn(t[c],o[c]):t[c]=o[c]}),t),{}),fs=p=>Object.keys(p).map(t=>p[t]),cs=(p,t)=>{const o=[];for(let c=p;c<t;c++)o.push(c);return o},vs=p=>p.reduce((t,o)=>t.concat(o),[]),wr=p=>{if(!p.length)return[];const t=[];for(let o=0;o<p.length;o++)t.push(p[o]);return t},we=(p,t)=>p.reduce((o,c,y)=>(c[t]&&o.push(y),o),[]),Ke=(p,t)=>fs(p.reduce((o,c)=>(c.forEach(y=>{o[t(y)]=y}),o),{}));var ut={INVALID_NUMBER_OF_PERIOD:"INVALID_NUMBER_OF_PERIOD",INVALID_NUMBER_OF_CONTENT_STEERING:"INVALID_NUMBER_OF_CONTENT_STEERING",DASH_EMPTY_MANIFEST:"DASH_EMPTY_MANIFEST",DASH_INVALID_XML:"DASH_INVALID_XML",NO_BASE_URL:"NO_BASE_URL",MISSING_SEGMENT_INFORMATION:"MISSING_SEGMENT_INFORMATION",SEGMENT_TIME_UNSPECIFIED:"SEGMENT_TIME_UNSPECIFIED",UNSUPPORTED_UTC_TIMING_SCHEME:"UNSUPPORTED_UTC_TIMING_SCHEME"};const Kt=({baseUrl:p="",source:t="",range:o="",indexRange:c=""})=>{const y={uri:t,resolvedUri:re(p||"",t)};if(o||c){const P=(o||c).split("-");let H=O().BigInt?O().BigInt(P[0]):parseInt(P[0],10),ue=O().BigInt?O().BigInt(P[1]):parseInt(P[1],10);H<Number.MAX_SAFE_INTEGER&&typeof H=="bigint"&&(H=Number(H)),ue<Number.MAX_SAFE_INTEGER&&typeof ue=="bigint"&&(ue=Number(ue));let Te;typeof ue=="bigint"||typeof H=="bigint"?Te=O().BigInt(ue)-O().BigInt(H)+O().BigInt(1):Te=ue-H+1,typeof Te=="bigint"&&Te<Number.MAX_SAFE_INTEGER&&(Te=Number(Te)),y.byterange={length:Te,offset:H}}return y},ar=p=>{let t;return typeof p.offset=="bigint"||typeof p.length=="bigint"?t=O().BigInt(p.offset)+O().BigInt(p.length)-O().BigInt(1):t=p.offset+p.length-1,`${p.offset}-${t}`},Wn=p=>(p&&typeof p!="number"&&(p=parseInt(p,10)),isNaN(p)?null:p),hi={static(p){const{duration:t,timescale:o=1,sourceDuration:c,periodDuration:y}=p,_=Wn(p.endNumber),P=t/o;return typeof _=="number"?{start:0,end:_}:typeof y=="number"?{start:0,end:y/P}:{start:0,end:c/P}},dynamic(p){const{NOW:t,clientOffset:o,availabilityStartTime:c,timescale:y=1,duration:_,periodStart:P=0,minimumUpdatePeriod:H=0,timeShiftBufferDepth:ue=1/0}=p,Te=Wn(p.endNumber),Ye=(t+o)/1e3,xt=c+P,Ir=Ye+H-xt,Qr=Math.ceil(Ir*y/_),Rt=Math.floor((Ye-xt-ue)*y/_),kn=Math.floor((Ye-xt)*y/_);return{start:Math.max(0,Rt),end:typeof Te=="number"?Te:Math.min(Qr,kn)}}},Tt=p=>t=>{const{duration:o,timescale:c=1,periodStart:y,startNumber:_=1}=p;return{number:_+t,duration:o/c,timeline:y,time:t*o}},qr=p=>{const{type:t,duration:o,timescale:c=1,periodDuration:y,sourceDuration:_}=p,{start:P,end:H}=hi[t](p),ue=cs(P,H).map(Tt(p));if(t==="static"){const Te=ue.length-1,Ye=typeof y=="number"?y:_;ue[Te].duration=Ye-o/c*Te}return ue},Vr=p=>{const{baseUrl:t,initialization:o={},sourceDuration:c,indexRange:y="",periodStart:_,presentationTime:P,number:H=0,duration:ue}=p;if(!t)throw new Error(ut.NO_BASE_URL);const Te=Kt({baseUrl:t,source:o.sourceURL,range:o.range}),Ye=Kt({baseUrl:t,source:t,indexRange:y});if(Ye.map=Te,ue){const xt=qr(p);xt.length&&(Ye.duration=xt[0].duration,Ye.timeline=xt[0].timeline)}else c&&(Ye.duration=c,Ye.timeline=_);return Ye.presentationTime=P||_,Ye.number=H,[Ye]},Or=(p,t,o)=>{const c=p.sidx.map?p.sidx.map:null,y=p.sidx.duration,_=p.timeline||0,P=p.sidx.byterange,H=P.offset+P.length,ue=t.timescale,Te=t.references.filter(kn=>kn.referenceType!==1),Ye=[],xt=p.endList?"static":"dynamic",or=p.sidx.timeline;let Ir=or,Qr=p.mediaSequence||0,Rt;typeof t.firstOffset=="bigint"?Rt=O().BigInt(H)+t.firstOffset:Rt=H+t.firstOffset;for(let kn=0;kn<Te.length;kn++){const Dn=t.references[kn],Tn=Dn.referencedSize,rn=Dn.subsegmentDuration;let zn;typeof Rt=="bigint"?zn=Rt+O().BigInt(Tn)-O().BigInt(1):zn=Rt+Tn-1;const Nn=`${Rt}-${zn}`,Gn=Vr({baseUrl:o,timescale:ue,timeline:_,periodStart:or,presentationTime:Ir,number:Qr,duration:rn,sourceDuration:y,indexRange:Nn,type:xt})[0];c&&(Gn.map=c),Ye.push(Gn),typeof Rt=="bigint"?Rt+=O().BigInt(Tn):Rt+=Tn,Ir+=rn/ue,Qr++}return p.segments=Ye,p},Pn=["AUDIO","SUBTITLES"],zr=1/60,Hn=p=>Ke(p,({timeline:t})=>t).sort((t,o)=>t.timeline>o.timeline?1:-1),fi=(p,t)=>{for(let o=0;o<p.length;o++)if(p[o].attributes.NAME===t)return p[o];return null},Ti=p=>{let t=[];return Yi(p,Pn,(o,c,y,_)=>{t=t.concat(o.playlists||[])}),t},ss=({playlist:p,mediaSequence:t})=>{p.mediaSequence=t,p.segments.forEach((o,c)=>{o.number=p.mediaSequence+c})},xi=({oldPlaylists:p,newPlaylists:t,timelineStarts:o})=>{t.forEach(c=>{c.discontinuitySequence=o.findIndex(function({timeline:ue}){return ue===c.timeline});const y=fi(p,c.attributes.NAME);if(!y||c.sidx)return;const _=c.segments[0],P=y.segments.findIndex(function(ue){return Math.abs(ue.presentationTime-_.presentationTime)<zr});if(P===-1){ss({playlist:c,mediaSequence:y.mediaSequence+y.segments.length}),c.segments[0].discontinuity=!0,c.discontinuityStarts.unshift(0),(!y.segments.length&&c.timeline>y.timeline||y.segments.length&&c.timeline>y.segments[y.segments.length-1].timeline)&&c.discontinuitySequence--;return}y.segments[P].discontinuity&&!_.discontinuity&&(_.discontinuity=!0,c.discontinuityStarts.unshift(0),c.discontinuitySequence--),ss({playlist:c,mediaSequence:y.segments[P].number})})},ms=({oldManifest:p,newManifest:t})=>{const o=p.playlists.concat(Ti(p)),c=t.playlists.concat(Ti(t));return t.timelineStarts=Hn([p.timelineStarts,t.timelineStarts]),xi({oldPlaylists:o,newPlaylists:c,timelineStarts:t.timelineStarts}),t},wi=p=>p&&p.uri+"-"+ar(p.byterange),Ls=p=>{const t=p.reduce(function(c,y){return c[y.attributes.baseUrl]||(c[y.attributes.baseUrl]=[]),c[y.attributes.baseUrl].push(y),c},{});let o=[];return Object.values(t).forEach(c=>{const y=fs(c.reduce((_,P)=>{const H=P.attributes.id+(P.attributes.lang||"");return _[H]?(P.segments&&(P.segments[0]&&(P.segments[0].discontinuity=!0),_[H].segments.push(...P.segments)),P.attributes.contentProtection&&(_[H].attributes.contentProtection=P.attributes.contentProtection)):(_[H]=P,_[H].attributes.timelineStarts=[]),_[H].attributes.timelineStarts.push({start:P.attributes.periodStart,timeline:P.attributes.periodStart}),_},{}));o=o.concat(y)}),o.map(c=>(c.discontinuityStarts=we(c.segments||[],"discontinuity"),c))},as=(p,t)=>{const o=wi(p.sidx),c=o&&t[o]&&t[o].sidx;return c&&Or(p,c,p.sidx.resolvedUri),p},rs=(p,t={})=>{if(!Object.keys(t).length)return p;for(const o in p)p[o]=as(p[o],t);return p},xa=({attributes:p,segments:t,sidx:o,mediaSequence:c,discontinuitySequence:y,discontinuityStarts:_},P)=>{const H={attributes:{NAME:p.id,BANDWIDTH:p.bandwidth,CODECS:p.codecs,"PROGRAM-ID":1},uri:"",endList:p.type==="static",timeline:p.periodStart,resolvedUri:p.baseUrl||"",targetDuration:p.duration,discontinuitySequence:y,discontinuityStarts:_,timelineStarts:p.timelineStarts,mediaSequence:c,segments:t};return p.contentProtection&&(H.contentProtection=p.contentProtection),p.serviceLocation&&(H.attributes.serviceLocation=p.serviceLocation),o&&(H.sidx=o),P&&(H.attributes.AUDIO="audio",H.attributes.SUBTITLES="subs"),H},ka=({attributes:p,segments:t,mediaSequence:o,discontinuityStarts:c,discontinuitySequence:y})=>{typeof t>"u"&&(t=[{uri:p.baseUrl,timeline:p.periodStart,resolvedUri:p.baseUrl||"",duration:p.sourceDuration,number:0}],p.duration=p.sourceDuration);const _={NAME:p.id,BANDWIDTH:p.bandwidth,"PROGRAM-ID":1};p.codecs&&(_.CODECS=p.codecs);const P={attributes:_,uri:"",endList:p.type==="static",timeline:p.periodStart,resolvedUri:p.baseUrl||"",targetDuration:p.duration,timelineStarts:p.timelineStarts,discontinuityStarts:c,discontinuitySequence:y,mediaSequence:o,segments:t};return p.serviceLocation&&(P.attributes.serviceLocation=p.serviceLocation),P},Is=(p,t={},o=!1)=>{let c;const y=p.reduce((_,P)=>{const H=P.attributes.role&&P.attributes.role.value||"",ue=P.attributes.lang||"";let Te=P.attributes.label||"main";if(ue&&!P.attributes.label){const xt=H?` (${H})`:"";Te=`${P.attributes.lang}${xt}`}_[Te]||(_[Te]={language:ue,autoselect:!0,default:H==="main",playlists:[],uri:""});const Ye=as(xa(P,o),t);return _[Te].playlists.push(Ye),typeof c>"u"&&H==="main"&&(c=P,c.default=!0),_},{});if(!c){const _=Object.keys(y)[0];y[_].default=!0}return y},Ms=(p,t={})=>p.reduce((o,c)=>{const y=c.attributes.label||c.attributes.lang||"text",_=c.attributes.lang||"und";return o[y]||(o[y]={language:_,default:!1,autoselect:!1,playlists:[],uri:""}),o[y].playlists.push(as(ka(c),t)),o},{}),Gs=p=>p.reduce((t,o)=>(o&&o.forEach(c=>{const{channel:y,language:_}=c;t[_]={autoselect:!1,default:!1,instreamId:y,language:_},c.hasOwnProperty("aspectRatio")&&(t[_].aspectRatio=c.aspectRatio),c.hasOwnProperty("easyReader")&&(t[_].easyReader=c.easyReader),c.hasOwnProperty("3D")&&(t[_]["3D"]=c["3D"])}),t),{}),ks=({attributes:p,segments:t,sidx:o,discontinuityStarts:c})=>{const y={attributes:{NAME:p.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:p.width,height:p.height},CODECS:p.codecs,BANDWIDTH:p.bandwidth,"PROGRAM-ID":1},uri:"",endList:p.type==="static",timeline:p.periodStart,resolvedUri:p.baseUrl||"",targetDuration:p.duration,discontinuityStarts:c,timelineStarts:p.timelineStarts,segments:t};return p.frameRate&&(y.attributes["FRAME-RATE"]=p.frameRate),p.contentProtection&&(y.contentProtection=p.contentProtection),p.serviceLocation&&(y.attributes.serviceLocation=p.serviceLocation),o&&(y.sidx=o),y},ha=({attributes:p})=>p.mimeType==="video/mp4"||p.mimeType==="video/webm"||p.contentType==="video",Ys=({attributes:p})=>p.mimeType==="audio/mp4"||p.mimeType==="audio/webm"||p.contentType==="audio",Ea=({attributes:p})=>p.mimeType==="text/vtt"||p.contentType==="text",ia=(p,t)=>{p.forEach(o=>{o.mediaSequence=0,o.discontinuitySequence=t.findIndex(function({timeline:c}){return c===o.timeline}),o.segments&&o.segments.forEach((c,y)=>{c.number=y})})},us=p=>p?Object.keys(p).reduce((t,o)=>{const c=p[o];return t.concat(c.playlists)},[]):[],eo=({dashPlaylists:p,locations:t,contentSteering:o,sidxMapping:c={},previousManifest:y,eventStream:_})=>{if(!p.length)return{};const{sourceDuration:P,type:H,suggestedPresentationDelay:ue,minimumUpdatePeriod:Te}=p[0].attributes,Ye=Ls(p.filter(ha)).map(ks),xt=Ls(p.filter(Ys)),or=Ls(p.filter(Ea)),Ir=p.map(zn=>zn.attributes.captionServices).filter(Boolean),Qr={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:P,playlists:rs(Ye,c)};Te>=0&&(Qr.minimumUpdatePeriod=Te*1e3),t&&(Qr.locations=t),o&&(Qr.contentSteering=o),H==="dynamic"&&(Qr.suggestedPresentationDelay=ue),_&&_.length>0&&(Qr.eventStream=_);const Rt=Qr.playlists.length===0,kn=xt.length?Is(xt,c,Rt):null,Dn=or.length?Ms(or,c):null,Tn=Ye.concat(us(kn),us(Dn)),rn=Tn.map(({timelineStarts:zn})=>zn);return Qr.timelineStarts=Hn(rn),ia(Tn,Qr.timelineStarts),kn&&(Qr.mediaGroups.AUDIO.audio=kn),Dn&&(Qr.mediaGroups.SUBTITLES.subs=Dn),Ir.length&&(Qr.mediaGroups["CLOSED-CAPTIONS"].cc=Gs(Ir)),y?ms({oldManifest:y,newManifest:Qr}):Qr},wa=(p,t,o)=>{const{NOW:c,clientOffset:y,availabilityStartTime:_,timescale:P=1,periodStart:H=0,minimumUpdatePeriod:ue=0}=p,Te=(c+y)/1e3,Ye=_+H,or=Te+ue-Ye;return Math.ceil((or*P-t)/o)},da=(p,t)=>{const{type:o,minimumUpdatePeriod:c=0,media:y="",sourceDuration:_,timescale:P=1,startNumber:H=1,periodStart:ue}=p,Te=[];let Ye=-1;for(let xt=0;xt<t.length;xt++){const or=t[xt],Ir=or.d,Qr=or.r||0,Rt=or.t||0;Ye<0&&(Ye=Rt),Rt&&Rt>Ye&&(Ye=Rt);let kn;if(Qr<0){const rn=xt+1;rn===t.length?o==="dynamic"&&c>0&&y.indexOf("$Number$")>0?kn=wa(p,Ye,Ir):kn=(_*P-Ye)/Ir:kn=(t[rn].t-Ye)/Ir}else kn=Qr+1;const Dn=H+Te.length+kn;let Tn=H+Te.length;for(;Tn<Dn;)Te.push({number:Tn,duration:Ir/P,time:Ye,timeline:ue}),Ye+=Ir,Tn++}return Te},js=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,ce=p=>(t,o,c,y)=>{if(t==="$$")return"$";if(typeof p[o]>"u")return t;const _=""+p[o];return o==="RepresentationID"||(c?y=parseInt(y,10):y=1,_.length>=y)?_:`${new Array(y-_.length+1).join("0")}${_}`},ze=(p,t)=>p.replace(js,ce(t)),Nt=(p,t)=>!p.duration&&!t?[{number:p.startNumber||1,duration:p.sourceDuration,time:0,timeline:p.periodStart}]:p.duration?qr(p):da(p,t),Pr=(p,t)=>{const o={RepresentationID:p.id,Bandwidth:p.bandwidth||0},{initialization:c={sourceURL:"",range:""}}=p,y=Kt({baseUrl:p.baseUrl,source:ze(c.sourceURL,o),range:c.range});return Nt(p,t).map(P=>{o.Number=P.number,o.Time=P.time;const H=ze(p.media||"",o),ue=p.timescale||1,Te=p.presentationTimeOffset||0,Ye=p.periodStart+(P.time-Te)/ue;return{uri:H,timeline:P.timeline,duration:P.duration,resolvedUri:re(p.baseUrl||"",H),map:y,number:P.number,presentationTime:Ye}})},pn=(p,t)=>{const{baseUrl:o,initialization:c={}}=p,y=Kt({baseUrl:o,source:c.sourceURL,range:c.range}),_=Kt({baseUrl:o,source:t.media,range:t.mediaRange});return _.map=y,_},ci=(p,t)=>{const{duration:o,segmentUrls:c=[],periodStart:y}=p;if(!o&&!t||o&&t)throw new Error(ut.SEGMENT_TIME_UNSPECIFIED);const _=c.map(ue=>pn(p,ue));let P;return o&&(P=qr(p)),t&&(P=da(p,t)),P.map((ue,Te)=>{if(_[Te]){const Ye=_[Te],xt=p.timescale||1,or=p.presentationTimeOffset||0;return Ye.timeline=ue.timeline,Ye.duration=ue.duration,Ye.number=ue.number,Ye.presentationTime=y+(ue.time-or)/xt,Ye}}).filter(ue=>ue)},Wi=({attributes:p,segmentInfo:t})=>{let o,c;t.template?(c=Pr,o=Zn(p,t.template)):t.base?(c=Vr,o=Zn(p,t.base)):t.list&&(c=ci,o=Zn(p,t.list));const y={attributes:p};if(!c)return y;const _=c(o,t.segmentTimeline);if(o.duration){const{duration:P,timescale:H=1}=o;o.duration=P/H}else _.length?o.duration=_.reduce((P,H)=>Math.max(P,Math.ceil(H.duration)),0):o.duration=0;return y.attributes=o,y.segments=_,t.base&&o.indexRange&&(y.sidx=_[0],y.segments=[]),y},qi=p=>p.map(Wi),Li=(p,t)=>wr(p.childNodes).filter(({tagName:o})=>o===t),Mi=p=>p.textContent.trim(),_a=p=>parseFloat(p.split("/").reduce((t,o)=>t/o)),io=p=>{const H=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(p);if(!H)return 0;const[ue,Te,Ye,xt,or,Ir]=H.slice(1);return parseFloat(ue||0)*31536e3+parseFloat(Te||0)*2592e3+parseFloat(Ye||0)*86400+parseFloat(xt||0)*3600+parseFloat(or||0)*60+parseFloat(Ir||0)},za=p=>(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(p)&&(p+="Z"),Date.parse(p)),so={mediaPresentationDuration(p){return io(p)},availabilityStartTime(p){return za(p)/1e3},minimumUpdatePeriod(p){return io(p)},suggestedPresentationDelay(p){return io(p)},type(p){return p},timeShiftBufferDepth(p){return io(p)},start(p){return io(p)},width(p){return parseInt(p,10)},height(p){return parseInt(p,10)},bandwidth(p){return parseInt(p,10)},frameRate(p){return _a(p)},startNumber(p){return parseInt(p,10)},timescale(p){return parseInt(p,10)},presentationTimeOffset(p){return parseInt(p,10)},duration(p){const t=parseInt(p,10);return isNaN(t)?io(p):t},d(p){return parseInt(p,10)},t(p){return parseInt(p,10)},r(p){return parseInt(p,10)},presentationTime(p){return parseInt(p,10)},DEFAULT(p){return p}},ys=p=>p&&p.attributes?wr(p.attributes).reduce((t,o)=>{const c=so[o.name]||so.DEFAULT;return t[o.name]=c(o.value),t},{}):{},Cr={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime","urn:mpeg:dash:mp4protection:2011":"mp4protection"},$a=(p,t)=>t.length?vs(p.map(function(o){return t.map(function(c){const y=Mi(c),_=re(o.baseUrl,y),P=Zn(ys(c),{baseUrl:_});return _!==y&&!P.serviceLocation&&o.serviceLocation&&(P.serviceLocation=o.serviceLocation),P})})):p,ln=p=>{const t=Li(p,"SegmentTemplate")[0],o=Li(p,"SegmentList")[0],c=o&&Li(o,"SegmentURL").map(xt=>Zn({tag:"SegmentURL"},ys(xt))),y=Li(p,"SegmentBase")[0],_=o||t,P=_&&Li(_,"SegmentTimeline")[0],H=o||y||t,ue=H&&Li(H,"Initialization")[0],Te=t&&ys(t);Te&&ue?Te.initialization=ue&&ys(ue):Te&&Te.initialization&&(Te.initialization={sourceURL:Te.initialization});const Ye={template:Te,segmentTimeline:P&&Li(P,"S").map(xt=>ys(xt)),list:o&&Zn(ys(o),{segmentUrls:c,initialization:ys(ue)}),base:y&&Zn(ys(y),{initialization:ys(ue)})};return Object.keys(Ye).forEach(xt=>{Ye[xt]||delete Ye[xt]}),Ye},va=(p,t,o)=>c=>{const y=Li(c,"BaseURL"),_=$a(t,y),P=Zn(p,ys(c)),H=ln(c);return _.map(ue=>({segmentInfo:Zn(o,H),attributes:Zn(P,ue)}))},Da=p=>p.reduce((t,o)=>{const c=ys(o);c.schemeIdUri&&(c.schemeIdUri=c.schemeIdUri.toLowerCase());const y=Cr[c.schemeIdUri];if(y){t[y]={attributes:c};const _=Li(o,"cenc:pssh")[0];if(_){const P=Mi(_);t[y].pssh=P&&ae(P)}}return t},{}),zs=p=>{if(p.schemeIdUri==="urn:scte:dash:cc:cea-608:2015")return(typeof p.value!="string"?[]:p.value.split(";")).map(o=>{let c,y;return y=o,/^CC\d=/.test(o)?[c,y]=o.split("="):/^CC\d$/.test(o)&&(c=o),{channel:c,language:y}});if(p.schemeIdUri==="urn:scte:dash:cc:cea-708:2015")return(typeof p.value!="string"?[]:p.value.split(";")).map(o=>{const c={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(o)){const[y,_=""]=o.split("=");c.channel=y,c.language=o,_.split(",").forEach(P=>{const[H,ue]=P.split(":");H==="lang"?c.language=ue:H==="er"?c.easyReader=Number(ue):H==="war"?c.aspectRatio=Number(ue):H==="3D"&&(c["3D"]=Number(ue))})}else c.language=o;return c.channel&&(c.channel="SERVICE"+c.channel),c})},Ks=p=>vs(Li(p.node,"EventStream").map(t=>{const o=ys(t),c=o.schemeIdUri;return Li(t,"Event").map(y=>{const _=ys(y),P=_.presentationTime||0,H=o.timescale||1,ue=_.duration||0,Te=P/H+p.attributes.start;return{schemeIdUri:c,value:o.value,id:_.id,start:Te,end:Te+ue/H,messageData:Mi(y)||_.messageData,contentEncoding:o.contentEncoding,presentationTimeOffset:o.presentationTimeOffset||0}})})),Aa=(p,t,o)=>c=>{const y=ys(c),_=$a(t,Li(c,"BaseURL")),P=Li(c,"Role")[0],H={role:ys(P)};let ue=Zn(p,y,H);const Te=Li(c,"Accessibility")[0],Ye=zs(ys(Te));Ye&&(ue=Zn(ue,{captionServices:Ye}));const xt=Li(c,"Label")[0];if(xt&&xt.childNodes.length){const kn=xt.childNodes[0].nodeValue.trim();ue=Zn(ue,{label:kn})}const or=Da(Li(c,"ContentProtection"));Object.keys(or).length&&(ue=Zn(ue,{contentProtection:or}));const Ir=ln(c),Qr=Li(c,"Representation"),Rt=Zn(o,Ir);return vs(Qr.map(va(ue,_,Rt)))},pa=(p,t)=>(o,c)=>{const y=$a(t,Li(o.node,"BaseURL")),_=Zn(p,{periodStart:o.attributes.start});typeof o.attributes.duration=="number"&&(_.periodDuration=o.attributes.duration);const P=Li(o.node,"AdaptationSet"),H=ln(o.node);return vs(P.map(Aa(_,y,H)))},Pt=(p,t)=>{if(p.length>1&&t({type:"warn",message:"The MPD manifest should contain no more than one ContentSteering tag"}),!p.length)return null;const o=Zn({serverURL:Mi(p[0])},ys(p[0]));return o.queryBeforeStart=o.queryBeforeStart==="true",o},$t=({attributes:p,priorPeriodAttributes:t,mpdType:o})=>typeof p.start=="number"?p.start:t&&typeof t.start=="number"&&typeof t.duration=="number"?t.start+t.duration:!t&&o==="static"?0:null,xr=(p,t={})=>{const{manifestUri:o="",NOW:c=Date.now(),clientOffset:y=0,eventHandler:_=function(){}}=t,P=Li(p,"Period");if(!P.length)throw new Error(ut.INVALID_NUMBER_OF_PERIOD);const H=Li(p,"Location"),ue=ys(p),Te=$a([{baseUrl:o}],Li(p,"BaseURL")),Ye=Li(p,"ContentSteering");ue.type=ue.type||"static",ue.sourceDuration=ue.mediaPresentationDuration||0,ue.NOW=c,ue.clientOffset=y,H.length&&(ue.locations=H.map(Mi));const xt=[];return P.forEach((or,Ir)=>{const Qr=ys(or),Rt=xt[Ir-1];Qr.start=$t({attributes:Qr,priorPeriodAttributes:Rt?Rt.attributes:null,mpdType:ue.type}),xt.push({node:or,attributes:Qr})}),{locations:ue.locations,contentSteeringInfo:Pt(Ye,_),representationInfo:vs(xt.map(pa(ue,Te))),eventStream:vs(xt.map(Ks))}},$r=p=>{if(p==="")throw new Error(ut.DASH_EMPTY_MANIFEST);const t=new Ki.DOMParser;let o,c;try{o=t.parseFromString(p,"application/xml"),c=o&&o.documentElement.tagName==="MPD"?o.documentElement:null}catch{}if(!c||c&&c.getElementsByTagName("parsererror").length>0)throw new Error(ut.DASH_INVALID_XML);return c},bn=p=>{const t=Li(p,"UTCTiming")[0];if(!t)return null;const o=ys(t);switch(o.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":o.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":o.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":o.method="DIRECT",o.value=Date.parse(o.value);break;default:throw new Error(ut.UNSUPPORTED_UTC_TIMING_SCHEME)}return o},Yr=null,ge=(p,t={})=>{const o=xr($r(p),t),c=qi(o.representationInfo);return eo({dashPlaylists:c,locations:o.locations,contentSteering:o.contentSteeringInfo,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest,eventStream:o.eventStream})},je=p=>bn($r(p));var bt=e(37963),yt=e.n(bt),sr=At([73,68,51]),pr=function(t,o){o===void 0&&(o=0),t=At(t);var c=t[o+5],y=t[o+6]<<21|t[o+7]<<14|t[o+8]<<7|t[o+9],_=(c&16)>>4;return _?y+20:y+10},hr=function p(t,o){return o===void 0&&(o=0),t=At(t),t.length-o<10||!tn(t,sr,{offset:o})?o:(o+=pr(t,o),p(t,o))},Xn,Un,Fi,ti=function(t){var o="",c=t[1]>>>3,y=t[1]&31,_=t[2]>>>7,P=(t[2]&64)>>6,H=(t[2]&32)>>5,ue=(t[2]&16)>>4,Te=(t[2]&8)>>3,Ye=(t[2]&4)>>2,xt=t[2]&3;o+=c+"."+Xn(y,2,"0"),_===0?o+="M":_===1&&(o+="H");var or;return c===2&&P?or=H?12:10:or=P?10:8,o+="."+Xn(or,2,"0"),o+="."+ue,o+="."+Te+Ye+xt,o},Ai=function(t){var o=Un(t[1]),c=Un(t[2]&252),y=Un(t[3]);return""+o+c+y},qn=function(t){var o="",c=t[1]>>6,y=t[1]&31,_=(t[1]&32)>>5,P=t.subarray(2,6),H=t.subarray(6,12),ue=t[12];c===1?o+="A":c===2?o+="B":c===3&&(o+="C"),o+=y+".";var Te=parseInt(Fi(P).split("").reverse().join(""),2);Te>255&&(Te=parseInt(Fi(P),2)),o+=Te.toString(16)+".",_===0?o+="L":o+="H",o+=ue;for(var Ye="",xt=0;xt<H.length;xt++){var or=H[xt];or&&(Ye&&(Ye+="."),Ye+=or.toString(16))}return Ye&&(o+="."+Ye),o},$e=new Uint8Array([79,112,117,115,72,101,97,100]),Je=function(t){var o=new DataView(t.buffer,t.byteOffset,t.byteLength),c=o.getUint8(0),y=c!==0,_={version:c,channels:o.getUint8(1),preSkip:o.getUint16(2,y),sampleRate:o.getUint32(4,y),outputGain:o.getUint16(8,y),channelMappingFamily:o.getUint8(10)};if(_.channelMappingFamily>0&&t.length>10){_.streamCount=o.getUint8(11),_.twoChannelStreamCount=o.getUint8(12),_.channelMapping=[];for(var P=0;P<_.channels;P++)_.channelMapping.push(o.getUint8(13+P))}return _},Ct=function(t){var o=t.channelMappingFamily<=0?11:12+t.channels,c=new DataView(new ArrayBuffer(o)),y=t.version!==0;return c.setUint8(0,t.version),c.setUint8(1,t.channels),c.setUint16(2,t.preSkip,y),c.setUint32(4,t.sampleRate,y),c.setUint16(8,t.outputGain,y),c.setUint8(10,t.channelMappingFamily),t.channelMappingFamily>0&&(c.setUint8(11,t.streamCount),t.channelMapping.foreach(function(_,P){c.setUint8(12+P,_)})),new Uint8Array(c.buffer)},Ot,Wt,Er,Hr,mn,di,si,Pe,He,ft,Le=function(t){return typeof t=="string"?Si(t):t},De=function(t){return Array.isArray(t)?t.map(function(o){return Le(o)}):[Le(t)]},lt,gt=function(t){t=At(t);for(var o=[],c=0;t.length>c;){var y=t[c],_=0,P=0;P++;var H=t[P];for(P++;H&128;)_=(H&127)<<7,H=t[P],P++;_+=H&127;for(var ue=0;ue<lt.length;ue++){var Te=lt[ue],Ye=Te.id,xt=Te.parser;if(y===Ye){o.push(xt(t.subarray(P,P+_)));break}}c+=_+P}return o};lt=[{id:3,parser:function(t){var o={tag:3,id:t[0]<<8|t[1],flags:t[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(o.flags&128&&(o.dependsOnEsId=t[o.size]<<8|t[o.size+1],o.size+=2),o.flags&64){var c=t[o.size];o.url=In(t.subarray(o.size+1,o.size+1+c)),o.size+=c}return o.flags&32&&(o.ocrEsId=t[o.size]<<8|t[o.size+1],o.size+=2),o.descriptors=gt(t.subarray(o.size))||[],o}},{id:4,parser:function(t){var o={tag:4,oti:t[0],streamType:t[1],bufferSize:t[2]<<16|t[3]<<8|t[4],maxBitrate:t[5]<<24|t[6]<<16|t[7]<<8|t[8],avgBitrate:t[9]<<24|t[10]<<16|t[11]<<8|t[12],descriptors:gt(t.subarray(13))};return o}},{id:5,parser:function(t){return{tag:5,bytes:t}}},{id:6,parser:function(t){return{tag:6,bytes:t}}}];var Zt=function p(t,o,c){c===void 0&&(c=!1),o=De(o),t=At(t);var y=[];if(!o.length)return y;for(var _=0;_<t.length;){var P=(t[_]<<24|t[_+1]<<16|t[_+2]<<8|t[_+3])>>>0,H=t.subarray(_+4,_+8);if(P===0)break;var ue=_+P;if(ue>t.length){if(c)break;ue=t.length}var Te=t.subarray(_+8,ue);tn(H,o[0])&&(o.length===1?y.push(Te):y.push.apply(y,p(Te,o.slice(1),c))),_=ue}return y},xn=function(t,o){if(o=Le(o),!o.length)return t.subarray(t.length);for(var c=0;c<t.length;){if(Ot(t.subarray(c,c+o.length),o)){var y=(t[c-4]<<24|t[c-3]<<16|t[c-2]<<8|t[c-1])>>>0,_=y>1?c+y:t.byteLength;return t.subarray(c+4,_)}c++}return t.subarray(t.length)},dn=function(t,o,c){o===void 0&&(o=4),c===void 0&&(c=function(ue){return Wt(ue)});var y=[];if(!t||!t.length)return y;for(var _=Wt(t.subarray(4,8)),P=8;_;P+=o,_--)y.push(c(t.subarray(P,P+o)));return y},vn=function(t,o){for(var c=dn(Zt(t,["stss"])[0]),y=dn(Zt(t,["stco"])[0]),_=dn(Zt(t,["stts"])[0],8,function(na){return{sampleCount:Wt(na.subarray(0,4)),sampleDelta:Wt(na.subarray(4,8))}}),P=dn(Zt(t,["stsc"])[0],12,function(na){return{firstChunk:Wt(na.subarray(0,4)),samplesPerChunk:Wt(na.subarray(4,8)),sampleDescriptionIndex:Wt(na.subarray(8,12))}}),H=Zt(t,["stsz"])[0],ue=dn(H&&H.length&&H.subarray(4)||null),Te=[],Ye=0;Ye<y.length;Ye++){for(var xt=void 0,or=0;or<P.length;or++){var Ir=P[or],Qr=Ye+1>=Ir.firstChunk&&(or+1>=P.length||Ye+1<P[or+1].firstChunk);if(Qr){xt=Ir.samplesPerChunk;break}}for(var Rt=y[Ye],kn=0;kn<xt;kn++){var Dn=ue[Te.length],Tn=!c.length;c.length&&c.indexOf(Te.length+1)!==-1&&(Tn=!0);for(var rn={keyframe:Tn,start:Rt,end:Rt+Dn},zn=0;zn<_.length;zn++){var Nn=_[zn],yi=Nn.sampleCount,Gn=Nn.sampleDelta;if(Te.length<=yi){var bi=Te.length?Te[Te.length-1].timestamp:0;rn.timestamp=bi+Gn/o*1e3,rn.duration=Gn;break}}Te.push(rn),Rt+=Dn}}return Te},$n=function(t,o){var c=Er(o.subarray(0,4));if(t.type==="video"?(t.info=t.info||{},t.info.width=o[28]<<8|o[29],t.info.height=o[30]<<8|o[31]):t.type==="audio"&&(t.info=t.info||{},t.info.channels=o[20]<<8|o[21],t.info.bitDepth=o[22]<<8|o[23],t.info.sampleRate=o[28]<<8|o[29]),c==="avc1"){var y=xn(o,"avcC");c+="."+si(y),t.info.avcC=y}else if(c==="hvc1"||c==="hev1")c+="."+Pe(xn(o,"hvcC"));else if(c==="mp4a"||c==="mp4v"){var _=xn(o,"esds"),P=gt(_.subarray(4))[0],H=P&&P.descriptors.filter(function(Tn){var rn=Tn.tag;return rn===4})[0];H?(c+="."+Hr(H.oti),H.oti===64?c+="."+(H.descriptors[0].bytes[0]>>3).toString():H.oti===32?c+="."+H.descriptors[0].bytes[4].toString():H.oti===221&&(c="vorbis")):t.type==="audio"?c+=".40.2":c+=".20.9"}else if(c==="av01")c+="."+He(xn(o,"av1C"));else if(c==="vp09"){var ue=xn(o,"vpcC"),Te=ue[0],Ye=ue[1],xt=ue[2]>>4,or=(ue[2]&15)>>1,Ir=(ue[2]&15)>>3,Qr=ue[3],Rt=ue[4],kn=ue[5];c+="."+mn(Te,2,"0"),c+="."+mn(Ye,2,"0"),c+="."+mn(xt,2,"0"),c+="."+mn(or,2,"0"),c+="."+mn(Qr,2,"0"),c+="."+mn(Rt,2,"0"),c+="."+mn(kn,2,"0"),c+="."+mn(Ir,2,"0")}else if(c==="theo")c="theora";else if(c==="spex")c="speex";else if(c===".mp3")c="mp4a.40.34";else if(c==="msVo")c="vorbis";else if(c==="Opus"){c="opus";var Dn=xn(o,"dOps");t.info.opus=ft(Dn),t.info.codecDelay=65e5}else c=c.toLowerCase();t.codec=c},Ui=function(t,o){o===void 0&&(o=!0),t=di(t);var c=Zt(t,["moov","trak"],!0),y=[];return c.forEach(function(_){var P={bytes:_},H=Zt(_,["mdia"])[0],ue=Zt(H,["hdlr"])[0],Te=Er(ue.subarray(8,12));Te==="soun"?P.type="audio":Te==="vide"?P.type="video":P.type=Te;var Ye=Zt(_,["tkhd"])[0];if(Ye){var xt=new DataView(Ye.buffer,Ye.byteOffset,Ye.byteLength),or=xt.getUint8(0);P.number=or===0?xt.getUint32(12):xt.getUint32(20)}var Ir=Zt(H,["mdhd"])[0];if(Ir){var Qr=Ir[0],Rt=Qr===0?12:20;P.timescale=(Ir[Rt]<<24|Ir[Rt+1]<<16|Ir[Rt+2]<<8|Ir[Rt+3])>>>0}for(var kn=Zt(H,["minf","stbl"])[0],Dn=Zt(kn,["stsd"])[0],Tn=Wt(Dn.subarray(4,8)),rn=8;Tn--;){var zn=Wt(Dn.subarray(rn,rn+4)),Nn=Dn.subarray(rn+4,rn+4+zn);$n(P,Nn),rn+=4+zn}o&&(P.frameTable=vn(kn,P.timescale)),y.push(P)}),y},hs=function(t){var o=Zt(t,["moov","mvhd"],!0)[0];if(!(!o||!o.length)){var c={};return o[0]===1?(c.timestampScale=Wt(o.subarray(20,24)),c.duration=Wt(o.subarray(24,32))):(c.timestampScale=Wt(o.subarray(12,16)),c.duration=Wt(o.subarray(16,20))),c.bytes=o,c}},Qn,ki,Oi,Ei,ma,Fs,Ha,Cs={EBML:At([26,69,223,163]),DocType:At([66,130]),Segment:At([24,83,128,103]),SegmentInfo:At([21,73,169,102]),Tracks:At([22,84,174,107]),Track:At([174]),TrackNumber:At([215]),DefaultDuration:At([35,227,131]),TrackEntry:At([174]),TrackType:At([131]),FlagDefault:At([136]),CodecID:At([134]),CodecPrivate:At([99,162]),VideoTrack:At([224]),AudioTrack:At([225]),Cluster:At([31,67,182,117]),Timestamp:At([231]),TimestampScale:At([42,215,177]),BlockGroup:At([160]),BlockDuration:At([155]),Block:At([161]),SimpleBlock:At([163])},qs=[128,64,32,16,8,4,2,1],Wa=function(t){for(var o=1,c=0;c<qs.length&&!(t&qs[c]);c++)o++;return o},Oa=function(t,o,c,y){c===void 0&&(c=!0),y===void 0&&(y=!1);var _=Wa(t[o]),P=t.subarray(o,o+_);return c&&(P=Array.prototype.slice.call(t,o,o+_),P[0]^=qs[_-1]),{length:_,value:Cn(P,{signed:y}),bytes:P}},Na=function p(t){return typeof t=="string"?t.match(/.{1,2}/g).map(function(o){return p(o)}):typeof t=="number"?Ln(t):t},Qo=function(t){return Array.isArray(t)?t.map(function(o){return Na(o)}):[Na(t)]},$s=function p(t,o,c){if(c>=o.length)return o.length;var y=Oa(o,c,!1);if(tn(t.bytes,y.bytes))return c;var _=Oa(o,c+y.length);return p(t,o,c+_.length+_.value+y.length)},ra=function p(t,o){o=Qo(o),t=At(t);var c=[];if(!o.length)return c;for(var y=0;y<t.length;){var _=Oa(t,y,!1),P=Oa(t,y+_.length),H=y+_.length+P.length;P.value===127&&(P.value=$s(_,t,H),P.value!==t.length&&(P.value-=H));var ue=H+P.value>t.length?t.length:H+P.value,Te=t.subarray(H,ue);tn(o[0],_.bytes)&&(o.length===1?c.push(Te):c=c.concat(p(Te,o.slice(1))));var Ye=_.length+P.length+Te.length;y+=Ye}return c},bs=function(t,o,c,y){var _;o==="group"&&(_=ra(t,[Cs.BlockDuration])[0],_&&(_=Qn(_),_=1/c*_*c/1e3),t=ra(t,[Cs.Block])[0],o="block");var P=new DataView(t.buffer,t.byteOffset,t.byteLength),H=Oa(t,0),ue=P.getInt16(H.length,!1),Te=t[H.length+2],Ye=t.subarray(H.length+3),xt=1/c*(y+ue)*c/1e3,or={duration:_,trackNumber:H.value,keyframe:o==="simple"&&Te>>7===1,invisible:(Te&8)>>3===1,lacing:(Te&6)>>1,discardable:o==="simple"&&(Te&1)===1,frames:[],pts:xt,dts:xt,timestamp:ue};if(!or.lacing)return or.frames.push(Ye),or;var Ir=Ye[0]+1,Qr=[],Rt=1;if(or.lacing===2)for(var kn=(Ye.length-Rt)/Ir,Dn=0;Dn<Ir;Dn++)Qr.push(kn);if(or.lacing===1)for(var Tn=0;Tn<Ir-1;Tn++){var rn=0;do rn+=Ye[Rt],Rt++;while(Ye[Rt-1]===255);Qr.push(rn)}if(or.lacing===3)for(var zn=0,Nn=0;Nn<Ir-1;Nn++){var yi=Nn===0?Oa(Ye,Rt):Oa(Ye,Rt,!0,!0);zn+=yi.value,Qr.push(zn),Rt+=yi.length}return Qr.forEach(function(Gn){or.frames.push(Ye.subarray(Rt,Rt+Gn)),Rt+=Gn}),or},Ia=function(t){for(var o=0,c={};o<t.length;){var y=t[o]&127,_=t[o+1],P=void 0;_===1?P=t[o+2]:P=t.subarray(o+2,o+2+_),y===1?c.profile=P:y===2?c.level=P:y===3?c.bitDepth=P:y===4?c.chromaSubsampling=P:c[y]=P,o+=2+_}return c},Eu=function(t){t=ki(t);var o=[],c=ra(t,[Cs.Segment,Cs.Tracks,Cs.Track]);return c.length||(c=ra(t,[Cs.Tracks,Cs.Track])),c.length||(c=ra(t,[Cs.Track])),c.length?(c.forEach(function(y){var _=ra(y,Cs.TrackType)[0];if(!(!_||!_.length)){if(_[0]===1)_="video";else if(_[0]===2)_="audio";else if(_[0]===17)_="subtitle";else return;var P={rawCodec:Oi(ra(y,[Cs.CodecID])[0]),type:_,codecPrivate:ra(y,[Cs.CodecPrivate])[0],number:Qn(ra(y,[Cs.TrackNumber])[0]),defaultDuration:Qn(ra(y,[Cs.DefaultDuration])[0]),default:ra(y,[Cs.FlagDefault])[0],rawData:y},H="";if(/V_MPEG4\/ISO\/AVC/.test(P.rawCodec))H="avc1."+ma(P.codecPrivate);else if(/V_MPEGH\/ISO\/HEVC/.test(P.rawCodec))H="hev1."+Fs(P.codecPrivate);else if(/V_MPEG4\/ISO\/ASP/.test(P.rawCodec))P.codecPrivate?H="mp4v.20."+P.codecPrivate[4].toString():H="mp4v.20.9";else if(/^V_THEORA/.test(P.rawCodec))H="theora";else if(/^V_VP8/.test(P.rawCodec))H="vp8";else if(/^V_VP9/.test(P.rawCodec))if(P.codecPrivate){var ue=Ia(P.codecPrivate),Te=ue.profile,Ye=ue.level,xt=ue.bitDepth,or=ue.chromaSubsampling;H="vp09.",H+=Ei(Te,2,"0")+".",H+=Ei(Ye,2,"0")+".",H+=Ei(xt,2,"0")+".",H+=""+Ei(or,2,"0");var Ir=ra(y,[224,[85,176],[85,177]])[0]||[],Qr=ra(y,[224,[85,176],[85,185]])[0]||[],Rt=ra(y,[224,[85,176],[85,186]])[0]||[],kn=ra(y,[224,[85,176],[85,187]])[0]||[];(Ir.length||Qr.length||Rt.length||kn.length)&&(H+="."+Ei(kn[0],2,"0"),H+="."+Ei(Rt[0],2,"0"),H+="."+Ei(Ir[0],2,"0"),H+="."+Ei(Qr[0],2,"0"))}else H="vp9";else/^V_AV1/.test(P.rawCodec)?H="av01."+Ha(P.codecPrivate):/A_ALAC/.test(P.rawCodec)?H="alac":/A_MPEG\/L2/.test(P.rawCodec)?H="mp2":/A_MPEG\/L3/.test(P.rawCodec)?H="mp3":/^A_AAC/.test(P.rawCodec)?P.codecPrivate?H="mp4a.40."+(P.codecPrivate[0]>>>3).toString():H="mp4a.40.2":/^A_AC3/.test(P.rawCodec)?H="ac-3":/^A_PCM/.test(P.rawCodec)?H="pcm":/^A_MS\/ACM/.test(P.rawCodec)?H="speex":/^A_EAC3/.test(P.rawCodec)?H="ec-3":/^A_VORBIS/.test(P.rawCodec)?H="vorbis":/^A_FLAC/.test(P.rawCodec)?H="flac":/^A_OPUS/.test(P.rawCodec)&&(H="opus");P.codec=H,o.push(P)}}),o.sort(function(y,_){return y.number-_.number})):o},oo=function(t,o){var c=[],y=ra(t,[Cs.Segment])[0],_=ra(y,[Cs.SegmentInfo,Cs.TimestampScale])[0];_&&_.length?_=Qn(_):_=1e6;var P=ra(y,[Cs.Cluster]);return o||(o=Eu(y)),P.forEach(function(H,ue){var Te=ra(H,[Cs.SimpleBlock]).map(function(Ir){return{type:"simple",data:Ir}}),Ye=ra(H,[Cs.BlockGroup]).map(function(Ir){return{type:"group",data:Ir}}),xt=ra(H,[Cs.Timestamp])[0]||0;xt&&xt.length&&(xt=Qn(xt));var or=Te.concat(Ye).sort(function(Ir,Qr){return Ir.data.byteOffset-Qr.data.byteOffset});or.forEach(function(Ir,Qr){var Rt=bs(Ir.data,Ir.type,_,xt);c.push(Rt)})}),{tracks:o,blocks:c}},ju=At([0,0,0,1]),xo=At([0,0,1]),$=At([0,0,3]),z=function(t){for(var o=[],c=1;c<t.length-2;)tn(t.subarray(c,c+3),$)&&(o.push(c+2),c++),c++;if(o.length===0)return t;var y=t.length-o.length,_=new Uint8Array(y),P=0;for(c=0;c<y;P++,c++)P===o[0]&&(P++,o.shift()),_[c]=t[P];return _},ee=function(t,o,c,y){y===void 0&&(y=1/0),t=At(t),c=[].concat(c);for(var _=0,P,H=0;_<t.length&&(H<y||P);){var ue=void 0;if(tn(t.subarray(_),ju)?ue=4:tn(t.subarray(_),xo)&&(ue=3),!ue){_++;continue}if(H++,P)return z(t.subarray(P,_));var Te=void 0;o==="h264"?Te=t[_+ue]&31:o==="h265"&&(Te=t[_+ue]>>1&63),c.indexOf(Te)!==-1&&(P=_+ue),_+=ue+(o==="h264"?1:2)}return t.subarray(0,0)},pe=function(t,o,c){return ee(t,"h264",o,c)},Ce=function(t,o,c){return ee(t,"h265",o,c)},Be={webm:At([119,101,98,109]),matroska:At([109,97,116,114,111,115,107,97]),flac:At([102,76,97,67]),ogg:At([79,103,103,83]),ac3:At([11,119]),riff:At([82,73,70,70]),avi:At([65,86,73]),wav:At([87,65,86,69]),"3gp":At([102,116,121,112,51,103]),mp4:At([102,116,121,112]),fmp4:At([115,116,121,112]),mov:At([102,116,121,112,113,116]),moov:At([109,111,111,118]),moof:At([109,111,111,102])},at={aac:function(t){var o=hr(t);return tn(t,[255,16],{offset:o,mask:[255,22]})},mp3:function(t){var o=hr(t);return tn(t,[255,2],{offset:o,mask:[255,6]})},webm:function(t){var o=ra(t,[Cs.EBML,Cs.DocType])[0];return tn(o,Be.webm)},mkv:function(t){var o=ra(t,[Cs.EBML,Cs.DocType])[0];return tn(o,Be.matroska)},mp4:function(t){if(at["3gp"](t)||at.mov(t))return!1;if(tn(t,Be.mp4,{offset:4})||tn(t,Be.fmp4,{offset:4})||tn(t,Be.moof,{offset:4})||tn(t,Be.moov,{offset:4}))return!0},mov:function(t){return tn(t,Be.mov,{offset:4})},"3gp":function(t){return tn(t,Be["3gp"],{offset:4})},ac3:function(t){var o=hr(t);return tn(t,Be.ac3,{offset:o})},ts:function(t){if(t.length<189&&t.length>=1)return t[0]===71;for(var o=0;o+188<t.length&&o<188;){if(t[o]===71&&t[o+188]===71)return!0;o+=1}return!1},flac:function(t){var o=hr(t);return tn(t,Be.flac,{offset:o})},ogg:function(t){return tn(t,Be.ogg)},avi:function(t){return tn(t,Be.riff)&&tn(t,Be.avi,{offset:8})},wav:function(t){return tn(t,Be.riff)&&tn(t,Be.wav,{offset:8})},h264:function(t){return pe(t,7,3).length},h265:function(t){return Ce(t,[32,33],3).length}},vt=Object.keys(at).filter(function(p){return p!=="ts"&&p!=="h264"&&p!=="h265"}).concat(["ts","h264","h265"]);vt.forEach(function(p){var t=at[p];at[p]=function(o){return t(At(o))}});var Bt=at,mr=function(t){t=At(t);for(var o=0;o<vt.length;o++){var c=vt[o];if(Bt[c](t))return c}return""},zt=function(t){return Zt(t,["moof"]).length>0},jr=e(49773);/** 790 * @license 791 * Video.js 8.23.7 <http://videojs.com/> 792 * Copyright 2010-present Video.js contributors 793 * Available under Apache License Version 2.0 794 * <https://github.com/videojs/video.js/blob/main/LICENSE> 795 * 796 * Includes vtt.js <https://github.com/mozilla/vtt.js> 797 * Available under Apache License Version 2.0 798 * <https://github.com/mozilla/vtt.js/blob/main/LICENSE> 799 */var Rn="8.23.7";const Jn={},Yn=function(p,t){return Jn[p]=Jn[p]||[],t&&(Jn[p]=Jn[p].concat(t)),Jn[p]},gi=function(p,t){Yn(p,t)},Ni=function(p,t){const o=Yn(p).indexOf(t);return o<=-1?!1:(Jn[p]=Jn[p].slice(),Jn[p].splice(o,1),!0)},Ii=function(p,t){Yn(p,[].concat(t).map(o=>{const c=(...y)=>(Ni(p,c),o(...y));return c}))},es={prefixed:!0},ur=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"]],on=ur[0];let kr;for(let p=0;p<ur.length;p++)if(ur[p][1]in D()){kr=ur[p];break}if(kr){for(let p=0;p<kr.length;p++)es[on[p]]=kr[p];es.prefixed=kr[0]!==on[0]}let jn=[];const ts=(p,t,o)=>(c,y,_)=>{const P=t.levels[y],H=new RegExp(`^(${P})$`);let ue=p;if(c!=="log"&&_.unshift(c.toUpperCase()+":"),o&&(ue=`%c${p}`,_.unshift(o)),_.unshift(ue+":"),jn){jn.push([].concat(_));const Ye=jn.length-1e3;jn.splice(0,Ye>0?Ye:0)}if(!O().console)return;let Te=O().console[c];!Te&&c==="debug"&&(Te=O().console.info||O().console.log),!(!Te||!P||!H.test(c))&&Te[Array.isArray(_)?"apply":"call"](O().console,_)};function is(p,t=":",o=""){let c="info",y;function _(...P){y("log",c,P)}return y=ts(p,_,o),_.createLogger=(P,H,ue)=>{const Te=H!==void 0?H:t,Ye=ue!==void 0?ue:o,xt=`${p} ${Te} ${P}`;return is(xt,Te,Ye)},_.createNewLogger=(P,H,ue)=>is(P,H,ue),_.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:c},_.level=P=>{if(typeof P=="string"){if(!_.levels.hasOwnProperty(P))throw new Error(`"${P}" in not a valid log level`);c=P}return c},_.history=()=>jn?[].concat(jn):[],_.history.filter=P=>(jn||[]).filter(H=>new RegExp(`.*${P}.*`).test(H[0])),_.history.clear=()=>{jn&&(jn.length=0)},_.history.disable=()=>{jn!==null&&(jn.length=0,jn=null)},_.history.enable=()=>{jn===null&&(jn=[])},_.error=(...P)=>y("error",c,P),_.warn=(...P)=>y("warn",c,P),_.debug=(...P)=>y("debug",c,P),_}const _i=is("VIDEOJS"),Ps=_i.createLogger,Do=Object.prototype.toString,zu=function(p){return Pu(p)?Object.keys(p):[]};function Va(p,t){zu(p).forEach(o=>t(p[o],o))}function ol(p,t,o=0){return zu(p).reduce((c,y)=>t(c,p[y],y),o)}function Pu(p){return!!p&&typeof p=="object"}function Eo(p){return Pu(p)&&Do.call(p)==="[object Object]"&&p.constructor===Object}function sa(...p){const t={};return p.forEach(o=>{o&&Va(o,(c,y)=>{if(!Eo(c)){t[y]=c;return}Eo(t[y])||(t[y]={}),t[y]=sa(t[y],c)})}),t}function Ru(p={}){const t=[];for(const o in p)if(p.hasOwnProperty(o)){const c=p[o];t.push(c)}return t}function Ca(p,t,o,c=!0){const y=P=>Object.defineProperty(p,t,{value:P,enumerable:!0,writable:!0}),_={configurable:!0,enumerable:!0,get(){const P=o();return y(P),P}};return c&&(_.set=y),Object.defineProperty(p,t,_)}var Kc=Object.freeze({__proto__:null,each:Va,reduce:ol,isObject:Pu,isPlain:Eo,merge:sa,values:Ru,defineLazyProperty:Ca});let ul=!1,bl=null,Jo=!1,Xc,pc=!1,Bs=!1,Lo=!1,uo=!1,Oo=null,Du=null;const se=!!(O().cast&&O().cast.framework&&O().cast.framework.CastReceiverContext);let _r=null,ct=!1,wt=!1,En=!1,ei=!1,As=!1,xs=!1,ya=!1;const Zo=!!(hu()&&("ontouchstart"in O()||O().navigator.maxTouchPoints||O().DocumentTouch&&O().document instanceof O().DocumentTouch)),fo=O().navigator&&O().navigator.userAgentData;if(fo&&fo.platform&&fo.brands&&(Jo=fo.platform==="Android",Bs=!!fo.brands.find(p=>p.brand==="Microsoft Edge"),Lo=!!fo.brands.find(p=>p.brand==="Chromium"),uo=!Bs&&Lo,Oo=Du=(fo.brands.find(p=>p.brand==="Chromium")||{}).version||null,wt=fo.platform==="Windows"),!Lo){const p=O().navigator&&O().navigator.userAgent||"";ul=/iPod/i.test(p),bl=(function(){const t=p.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null})(),Jo=/Android/i.test(p),Xc=(function(){const t=p.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;const o=t[1]&&parseFloat(t[1]),c=t[2]&&parseFloat(t[2]);return o&&c?parseFloat(t[1]+"."+t[2]):o||null})(),pc=/Firefox/i.test(p),Bs=/Edg/i.test(p),Lo=/Chrome/i.test(p)||/CriOS/i.test(p),uo=!Bs&&Lo,Oo=Du=(function(){const t=p.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null})(),_r=(function(){const t=/MSIE\s(\d+)\.\d/.exec(p);let o=t&&parseFloat(t[1]);return!o&&/Trident\/7.0/i.test(p)&&/rv:11.0/.test(p)&&(o=11),o})(),As=/Tizen/i.test(p),xs=/Web0S/i.test(p),ya=As||xs,ct=/Safari/i.test(p)&&!uo&&!Jo&&!Bs&&!ya,wt=/Windows/i.test(p),En=/iPad/i.test(p)||ct&&Zo&&!/iPhone/i.test(p),ei=/iPhone/i.test(p)&&!En}const Qa=ei||En||ul,tl=(ct||Qa)&&!uo;var $u=Object.freeze({__proto__:null,get IS_IPOD(){return ul},get IOS_VERSION(){return bl},get IS_ANDROID(){return Jo},get ANDROID_VERSION(){return Xc},get IS_FIREFOX(){return pc},get IS_EDGE(){return Bs},get IS_CHROMIUM(){return Lo},get IS_CHROME(){return uo},get CHROMIUM_VERSION(){return Oo},get CHROME_VERSION(){return Du},IS_CHROMECAST_RECEIVER:se,get IE_VERSION(){return _r},get IS_SAFARI(){return ct},get IS_WINDOWS(){return wt},get IS_IPAD(){return En},get IS_IPHONE(){return ei},get IS_TIZEN(){return As},get IS_WEBOS(){return xs},get IS_SMART_TV(){return ya},TOUCH_ENABLED:Zo,IS_IOS:Qa,IS_ANY_SAFARI:tl});function qo(p){return typeof p=="string"&&!!p.trim()}function Hu(p){if(p.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function hu(){return D()===O().document}function Fa(p){return Pu(p)&&p.nodeType===1}function ho(){try{return O().parent!==O().self}catch{return!0}}function Rl(p){return function(t,o){if(!qo(t))return D()[p](null);qo(o)&&(o=D().querySelector(o));const c=Fa(o)?o:D();return c[p]&&c[p](t)}}function Es(p="div",t={},o={},c){const y=D().createElement(p);return Object.getOwnPropertyNames(t).forEach(function(_){const P=t[_];_==="textContent"?Tu(y,P):(y[_]!==P||_==="tabIndex")&&(y[_]=P)}),Object.getOwnPropertyNames(o).forEach(function(_){y.setAttribute(_,o[_])}),c&&Ja(y,c),y}function Tu(p,t){return typeof p.textContent>"u"?p.innerText=t:p.textContent=t,p}function Dl(p,t){t.firstChild?t.insertBefore(p,t.firstChild):t.appendChild(p)}function Ae(p,t){return Hu(t),p.classList.contains(t)}function qe(p,...t){return p.classList.add(...t.reduce((o,c)=>o.concat(c.split(/\s+/)),[])),p}function St(p,...t){return p?(p.classList.remove(...t.reduce((o,c)=>o.concat(c.split(/\s+/)),[])),p):(_i.warn("removeClass was called with an element that doesn't exist"),null)}function Ft(p,t,o){return typeof o=="function"&&(o=o(p,t)),typeof o!="boolean"&&(o=void 0),t.split(/\s+/).forEach(c=>p.classList.toggle(c,o)),p}function Jt(p,t){Object.getOwnPropertyNames(t).forEach(function(o){const c=t[o];c===null||typeof c>"u"||c===!1?p.removeAttribute(o):p.setAttribute(o,c===!0?"":c)})}function Rr(p){const t={},o=["autoplay","controls","playsinline","loop","muted","default","defaultMuted"];if(p&&p.attributes&&p.attributes.length>0){const c=p.attributes;for(let y=c.length-1;y>=0;y--){const _=c[y].name;let P=c[y].value;o.includes(_)&&(P=P!==null),t[_]=P}}return t}function On(p,t){return p.getAttribute(t)}function Kn(p,t,o){p.setAttribute(t,o)}function Bi(p,t){p.removeAttribute(t)}function ji(){D().body.focus(),D().onselectstart=function(){return!1}}function Xi(){D().onselectstart=function(){return!0}}function aa(p){if(p&&p.getBoundingClientRect&&p.parentNode){const t=p.getBoundingClientRect(),o={};return["bottom","height","left","right","top","width"].forEach(c=>{t[c]!==void 0&&(o[c]=t[c])}),o.height||(o.height=parseFloat(ll(p,"height"))),o.width||(o.width=parseFloat(ll(p,"width"))),o}}function Js(p){if(!p||p&&!p.offsetParent)return{left:0,top:0,width:0,height:0};const t=p.offsetWidth,o=p.offsetHeight;let c=0,y=0;for(;p.offsetParent&&p!==D()[es.fullscreenElement];)c+=p.offsetLeft,y+=p.offsetTop,p=p.offsetParent;return{left:c,top:y,width:t,height:o}}function Ka(p,t){const o={x:0,y:0};if(Qa){let Ye=p;for(;Ye&&Ye.nodeName.toLowerCase()!=="html";){const xt=ll(Ye,"transform");if(/^matrix/.test(xt)){const or=xt.slice(7,-1).split(/,\s/).map(Number);o.x+=or[4],o.y+=or[5]}else if(/^matrix3d/.test(xt)){const or=xt.slice(9,-1).split(/,\s/).map(Number);o.x+=or[12],o.y+=or[13]}if(Ye.assignedSlot&&Ye.assignedSlot.parentElement&&O().WebKitCSSMatrix){const or=O().getComputedStyle(Ye.assignedSlot.parentElement).transform,Ir=new(O()).WebKitCSSMatrix(or);o.x+=Ir.m41,o.y+=Ir.m42}Ye=Ye.parentNode||Ye.host}}const c={},y=Js(t.target),_=Js(p),P=_.width,H=_.height;let ue=t.offsetY-(_.top-y.top),Te=t.offsetX-(_.left-y.left);return t.changedTouches&&(Te=t.changedTouches[0].pageX-_.left,ue=t.changedTouches[0].pageY+_.top,Qa&&(Te-=o.x,ue-=o.y)),c.y=1-Math.max(0,Math.min(1,ue/H)),c.x=Math.max(0,Math.min(1,Te/P)),c}function To(p){return Pu(p)&&p.nodeType===3}function po(p){for(;p.firstChild;)p.removeChild(p.firstChild);return p}function dt(p){return typeof p=="function"&&(p=p()),(Array.isArray(p)?p:[p]).map(t=>{if(typeof t=="function"&&(t=t()),Fa(t)||To(t))return t;if(typeof t=="string"&&/\S/.test(t))return D().createTextNode(t)}).filter(t=>t)}function Ja(p,t){return dt(t).forEach(o=>p.appendChild(o)),p}function La(p,t){return Ja(po(p),t)}function ba(p){return p.button===void 0&&p.buttons===void 0||p.button===0&&p.buttons===void 0||p.type==="mouseup"&&p.button===0&&p.buttons===0||p.type==="mousedown"&&p.button===0&&p.buttons===0?!0:!(p.button!==0||p.buttons!==1)}const gs=Rl("querySelector"),eu=Rl("querySelectorAll");function ll(p,t){if(!p||!t)return"";if(typeof O().getComputedStyle=="function"){let o;try{o=O().getComputedStyle(p)}catch{return""}return o?o.getPropertyValue(t)||o[t]:""}return""}function rl(p){[...D().styleSheets].forEach(t=>{try{const o=[...t.cssRules].map(y=>y.cssText).join(""),c=D().createElement("style");c.textContent=o,p.document.head.appendChild(c)}catch{const c=D().createElement("link");c.rel="stylesheet",c.type=t.type,c.media=t.media.mediaText,c.href=t.href,p.document.head.appendChild(c)}})}var pu=Object.freeze({__proto__:null,isReal:hu,isEl:Fa,isInFrame:ho,createEl:Es,textContent:Tu,prependTo:Dl,hasClass:Ae,addClass:qe,removeClass:St,toggleClass:Ft,setAttributes:Jt,getAttributes:Rr,getAttribute:On,setAttribute:Kn,removeAttribute:Bi,blockTextSelection:ji,unblockTextSelection:Xi,getBoundingClientRect:aa,findPosition:Js,getPointerPosition:Ka,isTextNode:To,emptyEl:po,normalizeContent:dt,appendContent:Ja,insertContent:La,isSingleLeftClick:ba,$:gs,$$:eu,computedStyle:ll,copyStyleSheetsToWindow:rl});let Xl=!1,mu;const wu=function(){if(mu.options.autoSetup===!1)return;const p=Array.prototype.slice.call(D().getElementsByTagName("video")),t=Array.prototype.slice.call(D().getElementsByTagName("audio")),o=Array.prototype.slice.call(D().getElementsByTagName("video-js")),c=p.concat(t,o);if(c&&c.length>0)for(let y=0,_=c.length;y<_;y++){const P=c[y];if(P&&P.getAttribute)P.player===void 0&&P.getAttribute("data-setup")!==null&&mu(P);else{Rc(1);break}}else Xl||Rc(1)};function Rc(p,t){hu()&&(t&&(mu=t),O().setTimeout(wu,p))}function Qc(){Xl=!0,O().removeEventListener("load",Qc)}hu()&&(D().readyState==="complete"?Qc():O().addEventListener("load",Qc));const Lu=function(p){const t=D().createElement("style");return t.className=p,t},mc=function(p,t){p.styleSheet?p.styleSheet.cssText=t:p.textContent=t};var Vo=new WeakMap;let pd=3;function Mu(){return pd++}function cl(p,t){if(!Vo.has(p))return;const o=Vo.get(p);o.handlers[t].length===0&&(delete o.handlers[t],p.removeEventListener?p.removeEventListener(t,o.dispatcher,!1):p.detachEvent&&p.detachEvent("on"+t,o.dispatcher)),Object.getOwnPropertyNames(o.handlers).length<=0&&(delete o.handlers,delete o.dispatcher,delete o.disabled),Object.getOwnPropertyNames(o).length===0&&Vo.delete(p)}function Jc(p,t,o,c){o.forEach(function(y){p(t,y,c)})}function Wu(p){if(p.fixed_)return p;function t(){return!0}function o(){return!1}if(!p||!p.isPropagationStopped||!p.isImmediatePropagationStopped){const c=p||O().event;p={};const y=["layerX","layerY","keyLocation","path","webkitMovementX","webkitMovementY","mozPressure","mozInputSource"];for(const _ in c)y.includes(_)||_==="returnValue"&&c.preventDefault||(p[_]=c[_]);if(p.target||(p.target=p.srcElement||D()),p.relatedTarget||(p.relatedTarget=p.fromElement===p.target?p.toElement:p.fromElement),p.preventDefault=function(){c.preventDefault&&c.preventDefault(),p.returnValue=!1,c.returnValue=!1,p.defaultPrevented=!0},p.defaultPrevented=!1,p.stopPropagation=function(){c.stopPropagation&&c.stopPropagation(),p.cancelBubble=!0,c.cancelBubble=!0,p.isPropagationStopped=t},p.isPropagationStopped=o,p.stopImmediatePropagation=function(){c.stopImmediatePropagation&&c.stopImmediatePropagation(),p.isImmediatePropagationStopped=t,p.stopPropagation()},p.isImmediatePropagationStopped=o,p.clientX!==null&&p.clientX!==void 0){const _=D().documentElement,P=D().body;p.pageX=p.clientX+(_&&_.scrollLeft||P&&P.scrollLeft||0)-(_&&_.clientLeft||P&&P.clientLeft||0),p.pageY=p.clientY+(_&&_.scrollTop||P&&P.scrollTop||0)-(_&&_.clientTop||P&&P.clientTop||0)}p.which=p.charCode||p.keyCode,p.button!==null&&p.button!==void 0&&(p.button=p.button&1?0:p.button&4?1:p.button&2?2:0)}return p.fixed_=!0,p}let gc;const vc=function(){if(typeof gc!="boolean"){gc=!1;try{const p=Object.defineProperty({},"passive",{get(){gc=!0}});O().addEventListener("test",null,p),O().removeEventListener("test",null,p)}catch{}}return gc},Go=["touchstart","touchmove"];function wo(p,t,o){if(Array.isArray(t))return Jc(wo,p,t,o);Vo.has(p)||Vo.set(p,{});const c=Vo.get(p);if(c.handlers||(c.handlers={}),c.handlers[t]||(c.handlers[t]=[]),o.guid||(o.guid=Mu()),c.handlers[t].push(o),c.dispatcher||(c.disabled=!1,c.dispatcher=function(y,_){if(c.disabled)return;y=Wu(y);const P=c.handlers[y.type];if(P){const H=P.slice(0);for(let ue=0,Te=H.length;ue<Te&&!y.isImmediatePropagationStopped();ue++)try{H[ue].call(p,y,_)}catch(Ye){_i.error(Ye)}}}),c.handlers[t].length===1)if(p.addEventListener){let y=!1;vc()&&Go.indexOf(t)>-1&&(y={passive:!0}),p.addEventListener(t,c.dispatcher,y)}else p.attachEvent&&p.attachEvent("on"+t,c.dispatcher)}function ni(p,t,o){if(!Vo.has(p))return;const c=Vo.get(p);if(!c.handlers)return;if(Array.isArray(t))return Jc(ni,p,t,o);const y=function(P,H){c.handlers[H]=[],cl(P,H)};if(t===void 0){for(const P in c.handlers)Object.prototype.hasOwnProperty.call(c.handlers||{},P)&&y(p,P);return}const _=c.handlers[t];if(_){if(!o){y(p,t);return}if(o.guid)for(let P=0;P<_.length;P++)_[P].guid===o.guid&&_.splice(P--,1);cl(p,t)}}function dl(p,t,o){const c=Vo.has(p)?Vo.get(p):{},y=p.parentNode||p.ownerDocument;if(typeof t=="string"?t={type:t,target:p}:t.target||(t.target=p),t=Wu(t),c.dispatcher&&c.dispatcher.call(p,t,o),y&&!t.isPropagationStopped()&&t.bubbles===!0)dl.call(null,y,t,o);else if(!y&&!t.defaultPrevented&&t.target&&t.target[t.type]){Vo.has(t.target)||Vo.set(t.target,{});const _=Vo.get(t.target);t.target[t.type]&&(_.disabled=!0,typeof t.target[t.type]=="function"&&t.target[t.type](),_.disabled=!1)}return!t.defaultPrevented}function gu(p,t,o){if(Array.isArray(t))return Jc(gu,p,t,o);const c=function(){ni(p,t,c),o.apply(this,arguments)};c.guid=o.guid=o.guid||Mu(),wo(p,t,c)}function Dc(p,t,o){const c=function(){ni(p,t,c),o.apply(this,arguments)};c.guid=o.guid=o.guid||Mu(),wo(p,t,c)}var Ba=Object.freeze({__proto__:null,fixEvent:Wu,on:wo,off:ni,trigger:dl,one:gu,any:Dc});const tu=30,Za=function(p,t,o){t.guid||(t.guid=Mu());const c=t.bind(p);return c.guid=o?o+"_"+t.guid:t.guid,c},ku=function(p,t){let o=O().performance.now();return function(...y){const _=O().performance.now();_-o>=t&&(p(...y),o=_)}},Zc=function(p,t,o,c=O()){let y;const _=()=>{c.clearTimeout(y),y=null},P=function(){const H=this,ue=arguments;let Te=function(){y=null,Te=null,o||p.apply(H,ue)};!y&&o&&p.apply(H,ue),c.clearTimeout(y),y=c.setTimeout(Te,t)};return P.cancel=_,P};var qc=Object.freeze({__proto__:null,UPDATE_REFRESH_INTERVAL:tu,bind_:Za,throttle:ku,debounce:Zc});let yc;class ru{on(t,o){const c=this.addEventListener;this.addEventListener=()=>{},wo(this,t,o),this.addEventListener=c}off(t,o){ni(this,t,o)}one(t,o){const c=this.addEventListener;this.addEventListener=()=>{},gu(this,t,o),this.addEventListener=c}any(t,o){const c=this.addEventListener;this.addEventListener=()=>{},Dc(this,t,o),this.addEventListener=c}trigger(t){const o=t.type||t;typeof t=="string"&&(t={type:o}),t=Wu(t),this.allowedEvents_[o]&&this["on"+o]&&this["on"+o](t),dl(this,t)}queueTrigger(t){yc||(yc=new Map);const o=t.type||t;let c=yc.get(this);c||(c=new Map,yc.set(this,c));const y=c.get(o);c.delete(o),O().clearTimeout(y);const _=O().setTimeout(()=>{c.delete(o),c.size===0&&(c=null,yc.delete(this)),this.trigger(t)},0);c.set(o,_)}}ru.prototype.allowedEvents_={},ru.prototype.addEventListener=ru.prototype.on,ru.prototype.removeEventListener=ru.prototype.off,ru.prototype.dispatchEvent=ru.prototype.trigger;const Ll=p=>typeof p.name=="function"?p.name():typeof p.name=="string"?p.name:p.name_?p.name_:p.constructor&&p.constructor.name?p.constructor.name:typeof p,vo=p=>p instanceof ru||!!p.eventBusEl_&&["on","one","off","trigger"].every(t=>typeof p[t]=="function"),Ql=(p,t)=>{vo(p)?t():(p.eventedCallbacks||(p.eventedCallbacks=[]),p.eventedCallbacks.push(t))},Vu=p=>typeof p=="string"&&/\S/.test(p)||Array.isArray(p)&&!!p.length,Ml=(p,t,o)=>{if(!p||!p.nodeName&&!vo(p))throw new Error(`Invalid target for ${Ll(t)}#${o}; must be a DOM node or evented object.`)},ed=(p,t,o)=>{if(!Vu(p))throw new Error(`Invalid event type for ${Ll(t)}#${o}; must be a non-empty string or array.`)},Gu=(p,t,o)=>{if(typeof p!="function")throw new Error(`Invalid listener for ${Ll(t)}#${o}; must be a function.`)},Jl=(p,t,o)=>{const c=t.length<3||t[0]===p||t[0]===p.eventBusEl_;let y,_,P;return c?(y=p.eventBusEl_,t.length>=3&&t.shift(),[_,P]=t):(y=t[0],_=t[1],P=t[2]),Ml(y,p,o),ed(_,p,o),Gu(P,p,o),P=Za(p,P),{isTargetingSelf:c,target:y,type:_,listener:P}},vu=(p,t,o,c)=>{Ml(p,p,t),p.nodeName?Ba[t](p,o,c):p[t](o,c)},_o={on(...p){const{isTargetingSelf:t,target:o,type:c,listener:y}=Jl(this,p,"on");if(vu(o,"on",c,y),!t){const _=()=>this.off(o,c,y);_.guid=y.guid;const P=()=>this.off("dispose",_);P.guid=y.guid,vu(this,"on","dispose",_),vu(o,"on","dispose",P)}},one(...p){const{isTargetingSelf:t,target:o,type:c,listener:y}=Jl(this,p,"one");if(t)vu(o,"one",c,y);else{const _=(...P)=>{this.off(o,c,_),y.apply(null,P)};_.guid=y.guid,vu(o,"one",c,_)}},any(...p){const{isTargetingSelf:t,target:o,type:c,listener:y}=Jl(this,p,"any");if(t)vu(o,"any",c,y);else{const _=(...P)=>{this.off(o,c,_),y.apply(null,P)};_.guid=y.guid,vu(o,"any",c,_)}},off(p,t,o){if(!p||Vu(p))ni(this.eventBusEl_,p,t);else{const c=p,y=t;Ml(c,this,"off"),ed(y,this,"off"),Gu(o,this,"off"),o=Za(this,o),this.off("dispose",o),c.nodeName?(ni(c,y,o),ni(c,"dispose",o)):vo(c)&&(c.off(y,o),c.off("dispose",o))}},trigger(p,t){Ml(this.eventBusEl_,this,"trigger");const o=p&&typeof p!="string"?p.type:p;if(!Vu(o))throw new Error(`Invalid event type for ${Ll(this)}#trigger; must be a non-empty string or object with a type key that has a non-empty value.`);return dl(this.eventBusEl_,p,t)}};function Zl(p,t={}){const{eventBusKey:o}=t;if(o){if(!p[o].nodeName)throw new Error(`The eventBusKey "${o}" does not refer to an element.`);p.eventBusEl_=p[o]}else p.eventBusEl_=Es("span",{className:"vjs-event-bus"});return Object.assign(p,_o),p.eventedCallbacks&&p.eventedCallbacks.forEach(c=>{c()}),p.on("dispose",()=>{p.off(),[p,p.el_,p.eventBusEl_].forEach(function(c){c&&Vo.has(c)&&Vo.delete(c)}),O().setTimeout(()=>{p.eventBusEl_=null},0)}),p}const Yo={state:{},setState(p){typeof p=="function"&&(p=p());let t;return Va(p,(o,c)=>{this.state[c]!==o&&(t=t||{},t[c]={from:this.state[c],to:o}),this.state[c]=o}),t&&vo(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function Sl(p,t){return Object.assign(p,Yo),p.state=Object.assign({},p.state,t),typeof p.handleStateChanged=="function"&&vo(p)&&p.on("statechanged",p.handleStateChanged),p}const Yu=function(p){return typeof p!="string"?p:p.replace(/./,t=>t.toLowerCase())},Ua=function(p){return typeof p!="string"?p:p.replace(/./,t=>t.toUpperCase())},Lc=function(p,t){return Ua(p)===Ua(t)};var md=Object.freeze({__proto__:null,toLowerCase:Yu,toTitleCase:Ua,titleCaseEquals:Lc});class Mn{constructor(t,o,c){if(!t&&this.play?this.player_=t=this:this.player_=t,this.isDisposed_=!1,this.parentComponent_=null,this.options_=sa({},this.options_),o=this.options_=sa(this.options_,o),this.id_=o.id||o.el&&o.el.id,!this.id_){const y=t&&t.id&&t.id()||"no_player";this.id_=`${y}_component_${Mu()}`}this.name_=o.name||null,o.el?this.el_=o.el:o.createEl!==!1&&(this.el_=this.createEl()),o.className&&this.el_&&o.className.split(" ").forEach(y=>this.addClass(y)),["on","off","one","any","trigger"].forEach(y=>{this[y]=void 0}),o.evented!==!1&&(Zl(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),Sl(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new Set,this.setIntervalIds_=new Set,this.rafIds_=new Set,this.namedRafs_=new Map,this.clearingTimersOnDispose_=!1,o.initChildren!==!1&&this.initChildren(),this.ready(c),o.reportTouchActivity!==!1&&this.enableTouchActivity()}dispose(t={}){if(!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(let o=this.children_.length-1;o>=0;o--)this.children_[o].dispose&&this.children_[o].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(t.restoreEl?this.el_.parentNode.replaceChild(t.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}}isDisposed(){return!!this.isDisposed_}player(){return this.player_}options(t){return t?(this.options_=sa(this.options_,t),this.options_):this.options_}el(){return this.el_}createEl(t,o,c){return Es(t,o,c)}localize(t,o,c=t){const y=this.player_.language&&this.player_.language(),_=this.player_.languages&&this.player_.languages(),P=_&&_[y],H=y&&y.split("-")[0],ue=_&&_[H];let Te=c;return P&&P[t]?Te=P[t]:ue&&ue[t]&&(Te=ue[t]),o&&(Te=Te.replace(/\{(\d+)\}/g,function(Ye,xt){const or=o[xt-1];let Ir=or;return typeof or>"u"&&(Ir=Ye),Ir})),Te}handleLanguagechange(){}contentEl(){return this.contentEl_||this.el_}id(){return this.id_}name(){return this.name_}children(){return this.children_}getChildById(t){return this.childIndex_[t]}getChild(t){if(t)return this.childNameIndex_[t]}getDescendant(...t){t=t.reduce((c,y)=>c.concat(y),[]);let o=this;for(let c=0;c<t.length;c++)if(o=o.getChild(t[c]),!o||!o.getChild)return;return o}setIcon(t,o=this.el()){if(!this.player_.options_.experimentalSvgIcons)return;const c="http://www.w3.org/2000/svg",y=Es("span",{className:"vjs-icon-placeholder vjs-svg-icon"},{"aria-hidden":"true"}),_=D().createElementNS(c,"svg");_.setAttributeNS(null,"viewBox","0 0 512 512");const P=D().createElementNS(c,"use");return _.appendChild(P),P.setAttributeNS(null,"href",`#vjs-icon-${t}`),y.appendChild(_),this.iconIsSet_?o.replaceChild(y,o.querySelector(".vjs-icon-placeholder")):o.appendChild(y),this.iconIsSet_=!0,y}addChild(t,o={},c=this.children_.length){let y,_;if(typeof t=="string"){_=Ua(t);const P=o.componentClass||_;o.name=_;const H=Mn.getComponent(P);if(!H)throw new Error(`Component ${P} does not exist`);if(typeof H!="function")return null;y=new H(this.player_||this,o)}else y=t;if(y.parentComponent_&&y.parentComponent_.removeChild(y),this.children_.splice(c,0,y),y.parentComponent_=this,typeof y.id=="function"&&(this.childIndex_[y.id()]=y),_=_||y.name&&Ua(y.name()),_&&(this.childNameIndex_[_]=y,this.childNameIndex_[Yu(_)]=y),typeof y.el=="function"&&y.el()){let P=null;this.children_[c+1]&&(this.children_[c+1].el_?P=this.children_[c+1].el_:Fa(this.children_[c+1])&&(P=this.children_[c+1])),this.contentEl().insertBefore(y.el(),P)}return y}removeChild(t){if(typeof t=="string"&&(t=this.getChild(t)),!t||!this.children_)return;let o=!1;for(let y=this.children_.length-1;y>=0;y--)if(this.children_[y]===t){o=!0,this.children_.splice(y,1);break}if(!o)return;t.parentComponent_=null,this.childIndex_[t.id()]=null,this.childNameIndex_[Ua(t.name())]=null,this.childNameIndex_[Yu(t.name())]=null;const c=t.el();c&&c.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}initChildren(){const t=this.options_.children;if(t){const o=this.options_,c=P=>{const H=P.name;let ue=P.opts;if(o[H]!==void 0&&(ue=o[H]),ue===!1)return;ue===!0&&(ue={}),ue.playerOptions=this.options_.playerOptions;const Te=this.addChild(H,ue);Te&&(this[H]=Te)};let y;const _=Mn.getComponent("Tech");Array.isArray(t)?y=t:y=Object.keys(t),y.concat(Object.keys(this.options_).filter(function(P){return!y.some(function(H){return typeof H=="string"?P===H:P===H.name})})).map(P=>{let H,ue;return typeof P=="string"?(H=P,ue=t[H]||this.options_[H]||{}):(H=P.name,ue=P),{name:H,opts:ue}}).filter(P=>{const H=Mn.getComponent(P.opts.componentClass||Ua(P.name));return H&&!_.isTech(H)}).forEach(c)}}buildCSSClass(){return""}ready(t,o=!1){if(t){if(!this.isReady_){this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(t);return}o?t.call(this):this.setTimeout(t,1)}}triggerReady(){this.isReady_=!0,this.setTimeout(function(){const t=this.readyQueue_;this.readyQueue_=[],t&&t.length>0&&t.forEach(function(o){o.call(this)},this),this.trigger("ready")},1)}$(t,o){return gs(t,o||this.contentEl())}$$(t,o){return eu(t,o||this.contentEl())}hasClass(t){return Ae(this.el_,t)}addClass(...t){qe(this.el_,...t)}removeClass(...t){St(this.el_,...t)}toggleClass(t,o){Ft(this.el_,t,o)}show(){this.removeClass("vjs-hidden")}hide(){this.addClass("vjs-hidden")}lockShowing(){this.addClass("vjs-lock-showing")}unlockShowing(){this.removeClass("vjs-lock-showing")}getAttribute(t){return On(this.el_,t)}setAttribute(t,o){Kn(this.el_,t,o)}removeAttribute(t){Bi(this.el_,t)}width(t,o){return this.dimension("width",t,o)}height(t,o){return this.dimension("height",t,o)}dimensions(t,o){this.width(t,!0),this.height(o)}dimension(t,o,c){if(o!==void 0){(o===null||o!==o)&&(o=0),(""+o).indexOf("%")!==-1||(""+o).indexOf("px")!==-1?this.el_.style[t]=o:o==="auto"?this.el_.style[t]="":this.el_.style[t]=o+"px",c||this.trigger("componentresize");return}if(!this.el_)return 0;const y=this.el_.style[t],_=y.indexOf("px");return parseInt(_!==-1?y.slice(0,_):this.el_["offset"+Ua(t)],10)}currentDimension(t){let o=0;if(t!=="width"&&t!=="height")throw new Error("currentDimension only accepts width or height value");if(o=ll(this.el_,t),o=parseFloat(o),o===0||isNaN(o)){const c=`offset${Ua(t)}`;o=this.el_[c]}return o}currentDimensions(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}}currentWidth(){return this.currentDimension("width")}currentHeight(){return this.currentDimension("height")}getPositions(){const t=this.el_.getBoundingClientRect(),o={x:t.x,y:t.y,width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left},c={x:t.left+t.width/2,y:t.top+t.height/2,width:0,height:0,top:t.top+t.height/2,right:t.left+t.width/2,bottom:t.top+t.height/2,left:t.left+t.width/2};return{boundingClientRect:o,center:c}}focus(){this.el_.focus()}blur(){this.el_.blur()}handleKeyDown(t){this.player_&&(t.key!=="Tab"&&!(this.player_.options_.playerOptions.spatialNavigation&&this.player_.options_.playerOptions.spatialNavigation.enabled)&&t.stopPropagation(),this.player_.handleKeyDown(t))}handleKeyPress(t){this.handleKeyDown(t)}emitTapEvents(){let t=0,o=null;const c=10,y=200;let _;this.on("touchstart",function(H){H.touches.length===1&&(o={pageX:H.touches[0].pageX,pageY:H.touches[0].pageY},t=O().performance.now(),_=!0)}),this.on("touchmove",function(H){if(H.touches.length>1)_=!1;else if(o){const ue=H.touches[0].pageX-o.pageX,Te=H.touches[0].pageY-o.pageY;Math.sqrt(ue*ue+Te*Te)>c&&(_=!1)}});const P=function(){_=!1};this.on("touchleave",P),this.on("touchcancel",P),this.on("touchend",function(H){o=null,_===!0&&O().performance.now()-t<y&&(H.preventDefault(),this.trigger("tap"))})}enableTouchActivity(){if(!this.player()||!this.player().reportUserActivity)return;const t=Za(this.player(),this.player().reportUserActivity);let o;this.on("touchstart",function(){t(),this.clearInterval(o),o=this.setInterval(t,250)});const c=function(y){t(),this.clearInterval(o)};this.on("touchmove",t),this.on("touchend",c),this.on("touchcancel",c)}setTimeout(t,o){var c;return t=Za(this,t),this.clearTimersOnDispose_(),c=O().setTimeout(()=>{this.setTimeoutIds_.has(c)&&this.setTimeoutIds_.delete(c),t()},o),this.setTimeoutIds_.add(c),c}clearTimeout(t){return this.setTimeoutIds_.has(t)&&(this.setTimeoutIds_.delete(t),O().clearTimeout(t)),t}setInterval(t,o){t=Za(this,t),this.clearTimersOnDispose_();const c=O().setInterval(t,o);return this.setIntervalIds_.add(c),c}clearInterval(t){return this.setIntervalIds_.has(t)&&(this.setIntervalIds_.delete(t),O().clearInterval(t)),t}requestAnimationFrame(t){this.clearTimersOnDispose_();var o;return t=Za(this,t),o=O().requestAnimationFrame(()=>{this.rafIds_.has(o)&&this.rafIds_.delete(o),t()}),this.rafIds_.add(o),o}requestNamedAnimationFrame(t,o){this.namedRafs_.has(t)&&this.cancelNamedAnimationFrame(t),this.clearTimersOnDispose_(),o=Za(this,o);const c=this.requestAnimationFrame(()=>{o(),this.namedRafs_.has(t)&&this.namedRafs_.delete(t)});return this.namedRafs_.set(t,c),t}cancelNamedAnimationFrame(t){this.namedRafs_.has(t)&&(this.cancelAnimationFrame(this.namedRafs_.get(t)),this.namedRafs_.delete(t))}cancelAnimationFrame(t){return this.rafIds_.has(t)&&(this.rafIds_.delete(t),O().cancelAnimationFrame(t)),t}clearTimersOnDispose_(){this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",()=>{[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach(([t,o])=>{this[t].forEach((c,y)=>this[o](y))}),this.clearingTimersOnDispose_=!1}))}getIsDisabled(){return!!this.el_.disabled}getIsExpresslyInert(){return this.el_.inert&&!this.el_.ownerDocument.documentElement.inert}getIsFocusable(t){return(t||this.el_).tabIndex>=0&&!(this.getIsDisabled()||this.getIsExpresslyInert())}getIsAvailableToBeFocused(t){function o(_){const P=O().getComputedStyle(_,null),H=P.getPropertyValue("visibility");return P.getPropertyValue("display")!=="none"&&!["hidden","collapse"].includes(H)}function c(_){return!(!o(_.parentElement)||!o(_)||_.style.opacity==="0"||O().getComputedStyle(_).height==="0px"||O().getComputedStyle(_).width==="0px")}function y(_){if(_.offsetWidth+_.offsetHeight+_.getBoundingClientRect().height+_.getBoundingClientRect().width===0)return!1;const P={x:_.getBoundingClientRect().left+_.offsetWidth/2,y:_.getBoundingClientRect().top+_.offsetHeight/2};if(P.x<0||P.x>(D().documentElement.clientWidth||O().innerWidth)||P.y<0||P.y>(D().documentElement.clientHeight||O().innerHeight))return!1;let H=D().elementFromPoint(P.x,P.y);for(;H;){if(H===_)return!0;if(H.parentNode)H=H.parentNode;else return!1}}return t||(t=this.el()),!!(y(t)&&c(t)&&(!t.parentElement||t.tabIndex>=0))}static registerComponent(t,o){if(typeof t!="string"||!t)throw new Error(`Illegal component name, "${t}"; must be a non-empty string.`);const c=Mn.getComponent("Tech"),y=c&&c.isTech(o),_=Mn===o||Mn.prototype.isPrototypeOf(o.prototype);if(y||!_){let H;throw y?H="techs must be registered using Tech.registerTech()":H="must be a Component subclass",new Error(`Illegal component, "${t}"; ${H}.`)}t=Ua(t),Mn.components_||(Mn.components_={});const P=Mn.getComponent("Player");if(t==="Player"&&P&&P.players){const H=P.players,ue=Object.keys(H);if(H&&ue.length>0){for(let Te=0;Te<ue.length;Te++)if(H[ue[Te]]!==null)throw new Error("Can not register Player component after player has been created.")}}return Mn.components_[t]=o,Mn.components_[Yu(t)]=o,o}static getComponent(t){if(!(!t||!Mn.components_))return Mn.components_[t]}}Mn.registerComponent("Component",Mn);function gd(p,t,o){if(typeof t!="number"||t<0||t>o)throw new Error(`Failed to execute '${p}' on 'TimeRanges': The index provided (${t}) is non-numeric or out of bounds (0-${o}).`)}function ql(p,t,o,c){return gd(p,c,o.length-1),o[c][t]}function Mo(p){let t;return p===void 0||p.length===0?t={length:0,start(){throw new Error("This TimeRanges object is empty")},end(){throw new Error("This TimeRanges object is empty")}}:t={length:p.length,start:ql.bind(null,"start",0,p),end:ql.bind(null,"end",1,p)},O().Symbol&&O().Symbol.iterator&&(t[O().Symbol.iterator]=()=>(p||[]).values()),t}function yu(p,t){return Array.isArray(p)?Mo(p):p===void 0||t===void 0?Mo():Mo([[p,t]])}const ec=function(p,t){p=p<0?0:p;let o=Math.floor(p%60),c=Math.floor(p/60%60),y=Math.floor(p/3600);const _=Math.floor(t/60%60),P=Math.floor(t/3600);return(isNaN(p)||p===1/0)&&(y=c=o="-"),y=y>0||P>0?y+":":"",c=((y||_>=10)&&c<10?"0"+c:c)+":",o=o<10?"0"+o:o,y+c+o};let nu=ec;function Ku(p){nu=p}function tc(){nu=ec}function Ko(p,t=p){return nu(p,t)}var bc=Object.freeze({__proto__:null,createTimeRanges:yu,createTimeRange:yu,setFormatTime:Ku,resetFormatTime:tc,formatTime:Ko});function Io(p,t){let o=0,c,y;if(!t)return 0;(!p||!p.length)&&(p=yu(0,0));for(let _=0;_<p.length;_++)c=p.start(_),y=p.end(_),y>t&&(y=t),o+=y-c;return o/t}function qa(p){if(p instanceof qa)return p;typeof p=="number"?this.code=p:typeof p=="string"?this.message=p:Pu(p)&&(typeof p.code=="number"&&(this.code=p.code),Object.assign(this,p)),this.message||(this.message=qa.defaultMessages[this.code]||"")}qa.prototype.code=0,qa.prototype.message="",qa.prototype.status=null,qa.prototype.metadata=null,qa.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],qa.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."},qa.MEDIA_ERR_CUSTOM=0,qa.prototype.MEDIA_ERR_CUSTOM=0,qa.MEDIA_ERR_ABORTED=1,qa.prototype.MEDIA_ERR_ABORTED=1,qa.MEDIA_ERR_NETWORK=2,qa.prototype.MEDIA_ERR_NETWORK=2,qa.MEDIA_ERR_DECODE=3,qa.prototype.MEDIA_ERR_DECODE=3,qa.MEDIA_ERR_SRC_NOT_SUPPORTED=4,qa.prototype.MEDIA_ERR_SRC_NOT_SUPPORTED=4,qa.MEDIA_ERR_ENCRYPTED=5,qa.prototype.MEDIA_ERR_ENCRYPTED=5;function Sc(p){return p!=null&&typeof p.then=="function"}function _u(p){Sc(p)&&p.then(null,t=>{})}const Mc=function(p){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((o,c,y)=>(p[c]&&(o[c]=p[c]),o),{cues:p.cues&&Array.prototype.map.call(p.cues,function(o){return{startTime:o.startTime,endTime:o.endTime,text:o.text,id:o.id}})})};var kl={textTracksToJson:function(p){const t=p.$$("track"),o=Array.prototype.map.call(t,y=>y.track);return Array.prototype.map.call(t,function(y){const _=Mc(y.track);return y.src&&(_.src=y.src),_}).concat(Array.prototype.filter.call(p.textTracks(),function(y){return o.indexOf(y)===-1}).map(Mc))},jsonToTextTracks:function(p,t){return p.forEach(function(o){const c=t.addRemoteTextTrack(o).track;!o.src&&o.cues&&o.cues.forEach(y=>c.addCue(y))}),t.textTracks()},trackToJson:Mc};const Nl="vjs-modal-dialog";class rc extends Mn{constructor(t,o){super(t,o),this.handleKeyDown_=c=>this.handleKeyDown(c),this.close_=c=>this.close(c),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=Es("div",{className:`${Nl}-content`},{role:"document"}),this.descEl_=Es("p",{className:`${Nl}-description vjs-control-text`,id:this.el().getAttribute("aria-describedby")}),Tu(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}createEl(){return super.createEl("div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":`${this.id()}_description`,"aria-hidden":"true","aria-label":this.label(),role:"dialog","aria-live":"polite"})}dispose(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,super.dispose()}buildCSSClass(){return`${Nl} vjs-hidden ${super.buildCSSClass()}`}label(){return this.localize(this.options_.label||"Modal Window")}description(){let t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t}open(){if(this.opened_){this.options_.fillAlways&&this.fill();return}const t=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}opened(t){return typeof t=="boolean"&&this[t?"open":"close"](),this.opened_}close(){if(!this.opened_)return;const t=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&t.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger({type:"modalclose",bubbles:!0}),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}closeable(t){if(typeof t=="boolean"){const o=this.closeable_=!!t;let c=this.getChild("closeButton");if(o&&!c){const y=this.contentEl_;this.contentEl_=this.el_,c=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=y,this.on(c,"close",this.close_)}!o&&c&&(this.off(c,"close",this.close_),this.removeChild(c),c.dispose())}return this.closeable_}fill(){this.fillWith(this.content())}fillWith(t){const o=this.contentEl(),c=o.parentNode,y=o.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,c.removeChild(o),this.empty(),La(o,t),this.trigger("modalfill"),y?c.insertBefore(o,y):c.appendChild(o);const _=this.getChild("closeButton");_&&c.appendChild(_.el_),this.trigger("aftermodalfill")}empty(){this.trigger("beforemodalempty"),po(this.contentEl()),this.trigger("modalempty")}content(t){return typeof t<"u"&&(this.content_=t),this.content_}conditionalFocus_(){const t=D().activeElement,o=this.player_.el_;this.previouslyActiveEl_=null,(o.contains(t)||o===t)&&(this.previouslyActiveEl_=t,this.focus())}conditionalBlur_(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)}handleKeyDown(t){if(this.trigger({type:"modalKeydown",originalEvent:t,target:this,bubbles:!0}),t.stopPropagation(),t.key==="Escape"&&this.closeable()){t.preventDefault(),this.close();return}if(t.key!=="Tab")return;const o=this.focusableEls_(),c=this.el_.querySelector(":focus");let y;for(let _=0;_<o.length;_++)if(c===o[_]){y=_;break}D().activeElement===this.el_&&(y=0),t.shiftKey&&y===0?(o[o.length-1].focus(),t.preventDefault()):!t.shiftKey&&y===o.length-1&&(o[0].focus(),t.preventDefault())}focusableEls_(){const t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,o=>(o instanceof O().HTMLAnchorElement||o instanceof O().HTMLAreaElement)&&o.hasAttribute("href")||(o instanceof O().HTMLInputElement||o instanceof O().HTMLSelectElement||o instanceof O().HTMLTextAreaElement||o instanceof O().HTMLButtonElement)&&!o.hasAttribute("disabled")||o instanceof O().HTMLIFrameElement||o instanceof O().HTMLObjectElement||o instanceof O().HTMLEmbedElement||o.hasAttribute("tabindex")&&o.getAttribute("tabindex")!==-1||o.hasAttribute("contenteditable"))}}rc.prototype.options_={pauseOnOpen:!0,temporary:!0},Mn.registerComponent("ModalDialog",rc);class fl extends ru{constructor(t=[]){super(),this.tracks_=[];for(let o=0;o<t.length;o++)this.addTrack(t[o])}get length(){return this.tracks_.length}addTrack(t){const o=this.tracks_.length;""+o in this||Object.defineProperty(this,o,{get(){return this.tracks_[o]}}),this.tracks_.indexOf(t)===-1&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack",target:this})),t.labelchange_=()=>{this.trigger({track:t,type:"labelchange",target:this})},vo(t)&&t.addEventListener("labelchange",t.labelchange_)}removeTrack(t){let o;for(let c=0,y=this.length;c<y;c++)if(this[c]===t){o=this[c],o.off&&o.off(),this.tracks_.splice(c,1);break}o&&this.trigger({track:o,type:"removetrack",target:this})}getTrackById(t){let o=null;for(let c=0,y=this.length;c<y;c++){const _=this[c];if(_.id===t){o=_;break}}return o}}fl.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"};for(const p in fl.prototype.allowedEvents_)fl.prototype["on"+p]=null;const Fl=function(p,t){for(let o=0;o<p.length;o++)!Object.keys(p[o]).length||t.id===p[o].id||(p[o].enabled=!1)};class td extends fl{constructor(t=[]){for(let o=t.length-1;o>=0;o--)if(t[o].enabled){Fl(t,t[o]);break}super(t),this.changing_=!1}addTrack(t){t.enabled&&Fl(this,t),super.addTrack(t),t.addEventListener&&(t.enabledChange_=()=>{this.changing_||(this.changing_=!0,Fl(this,t),this.changing_=!1,this.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))}removeTrack(t){super.removeTrack(t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)}}const Bl=function(p,t){for(let o=0;o<p.length;o++)!Object.keys(p[o]).length||t.id===p[o].id||(p[o].selected=!1)};class Ul extends fl{constructor(t=[]){for(let o=t.length-1;o>=0;o--)if(t[o].selected){Bl(t,t[o]);break}super(t),this.changing_=!1,Object.defineProperty(this,"selectedIndex",{get(){for(let o=0;o<this.length;o++)if(this[o].selected)return o;return-1},set(){}})}addTrack(t){t.selected&&Bl(this,t),super.addTrack(t),t.addEventListener&&(t.selectedChange_=()=>{this.changing_||(this.changing_=!0,Bl(this,t),this.changing_=!1,this.trigger("change"))},t.addEventListener("selectedchange",t.selectedChange_))}removeTrack(t){super.removeTrack(t),t.removeEventListener&&t.selectedChange_&&(t.removeEventListener("selectedchange",t.selectedChange_),t.selectedChange_=null)}}class ca extends fl{addTrack(t){super.addTrack(t),this.queueChange_||(this.queueChange_=()=>this.queueTrigger("change")),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=()=>this.trigger("selectedlanguagechange")),t.addEventListener("modechange",this.queueChange_),["metadata","chapters"].indexOf(t.kind)===-1&&t.addEventListener("modechange",this.triggerSelectedlanguagechange_)}removeTrack(t){super.removeTrack(t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))}toJSON(){return this.tracks_.map(t=>t.toJSON())}}class N{constructor(t=[]){this.trackElements_=[],Object.defineProperty(this,"length",{get(){return this.trackElements_.length}});for(let o=0,c=t.length;o<c;o++)this.addTrackElement_(t[o])}addTrackElement_(t){const o=this.trackElements_.length;""+o in this||Object.defineProperty(this,o,{get(){return this.trackElements_[o]}}),this.trackElements_.indexOf(t)===-1&&this.trackElements_.push(t)}getTrackElementByTrack_(t){let o;for(let c=0,y=this.trackElements_.length;c<y;c++)if(t===this.trackElements_[c].track){o=this.trackElements_[c];break}return o}removeTrackElement_(t){for(let o=0,c=this.trackElements_.length;o<c;o++)if(t===this.trackElements_[o]){this.trackElements_[o].track&&typeof this.trackElements_[o].track.off=="function"&&this.trackElements_[o].track.off(),typeof this.trackElements_[o].off=="function"&&this.trackElements_[o].off(),this.trackElements_.splice(o,1);break}}}class te{constructor(t){te.prototype.setCues_.call(this,t),Object.defineProperty(this,"length",{get(){return this.length_}})}setCues_(t){const o=this.length||0;let c=0;const y=t.length;this.cues_=t,this.length_=t.length;const _=function(P){""+P in this||Object.defineProperty(this,""+P,{get(){return this.cues_[P]}})};if(o<y)for(c=o;c<y;c++)_.call(this,c)}getCueById(t){let o=null;for(let c=0,y=this.length;c<y;c++){const _=this[c];if(_.id===t){o=_;break}}return o}}const Ee={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Ne={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},ht={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},Ar={disabled:"disabled",hidden:"hidden",showing:"showing"};class An extends ru{constructor(t={}){super();const o={id:t.id||"vjs_track_"+Mu(),kind:t.kind||"",language:t.language||""};let c=t.label||"";for(const y in o)Object.defineProperty(this,y,{get(){return o[y]},set(){}});Object.defineProperty(this,"label",{get(){return c},set(y){y!==c&&(c=y,this.trigger("labelchange"))}})}}const Vi=function(p){return new URL(p,D().baseURI)},_s=function(p){return new URL(p,D().baseURI).href},oa=function(p){if(typeof p=="string"){const o=p.split("?")[0].replace(/\/+$/,"").match(/\.([^.\/]+)$/);return o?o[1].toLowerCase():""}return""},yo=function(p,t=O().location){return Vi(p).origin!==t.origin};var El=Object.freeze({__proto__:null,parseUrl:Vi,getAbsoluteURL:_s,getFileExtension:oa,isCrossOrigin:yo});const Xu=function(p,t){const o=new(O()).WebVTT.Parser(O(),O().vttjs,O().WebVTT.StringDecoder()),c=[];o.oncue=function(y){t.addCue(y)},o.onparsingerror=function(y){c.push(y)},o.onflush=function(){t.trigger({type:"loadeddata",target:t})},o.parse(p),c.length>0&&(O().console&&O().console.groupCollapsed&&O().console.groupCollapsed(`Text Track parsing errors for ${t.src}`),c.forEach(y=>_i.error(y)),O().console&&O().console.groupEnd&&O().console.groupEnd()),o.flush()},Ld=function(p,t){const o={uri:p},c=yo(p);c&&(o.cors=c);const y=t.tech_.crossOrigin()==="use-credentials";y&&(o.withCredentials=y),j()(o,Za(this,function(_,P,H){if(_)return _i.error(_,P);t.loaded_=!0,typeof O().WebVTT!="function"?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],ue=>{if(ue.type==="vttjserror"){_i.error(`vttjs failed to load, stopping trying to process ${t.src}`);return}return Xu(H,t)}):Xu(H,t)}))};class kc extends An{constructor(t={}){if(!t.tech)throw new Error("A tech was not provided.");const o=sa(t,{kind:ht[t.kind]||"subtitles",language:t.language||t.srclang||""});let c=Ar[o.mode]||"disabled";const y=o.default;(o.kind==="metadata"||o.kind==="chapters")&&(c="hidden"),super(o),this.tech_=o.tech,this.cues_=[],this.activeCues_=[],this.preload_=this.tech_.preloadTextTracks!==!1;const _=new te(this.cues_),P=new te(this.activeCues_);let H=!1;this.timeupdateHandler=Za(this,function(Te={}){if(!this.tech_.isDisposed()){if(!this.tech_.isReady_){Te.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler));return}this.activeCues=this.activeCues,H&&(this.trigger("cuechange"),H=!1),Te.type!=="timeupdate"&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))}});const ue=()=>{this.stopTracking()};this.tech_.one("dispose",ue),c!=="disabled"&&this.startTracking(),Object.defineProperties(this,{default:{get(){return y},set(){}},mode:{get(){return c},set(Te){Ar[Te]&&c!==Te&&(c=Te,!this.preload_&&c!=="disabled"&&this.cues.length===0&&Ld(this.src,this),this.stopTracking(),c!=="disabled"&&this.startTracking(),this.trigger("modechange"))}},cues:{get(){return this.loaded_?_:null},set(){}},activeCues:{get(){if(!this.loaded_)return null;if(this.cues.length===0)return P;const Te=this.tech_.currentTime(),Ye=[];for(let xt=0,or=this.cues.length;xt<or;xt++){const Ir=this.cues[xt];Ir.startTime<=Te&&Ir.endTime>=Te&&Ye.push(Ir)}if(H=!1,Ye.length!==this.activeCues_.length)H=!0;else for(let xt=0;xt<Ye.length;xt++)this.activeCues_.indexOf(Ye[xt])===-1&&(H=!0);return this.activeCues_=Ye,P.setCues_(this.activeCues_),P},set(){}}}),o.src?(this.src=o.src,this.preload_||(this.loaded_=!0),(this.preload_||o.kind!=="subtitles"&&o.kind!=="captions")&&Ld(this.src,this)):this.loaded_=!0}startTracking(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler),this.tech_.on("timeupdate",this.timeupdateHandler)}stopTracking(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0),this.tech_.off("timeupdate",this.timeupdateHandler)}addCue(t){let o=t;if(!("getCueAsHTML"in o)){o=new(O()).vttjs.VTTCue(t.startTime,t.endTime,t.text);for(const y in t)y in o||(o[y]=t[y]);o.id=t.id,o.originalCue_=t}const c=this.tech_.textTracks();for(let y=0;y<c.length;y++)c[y]!==this&&c[y].removeCue(o);this.cues_.push(o),this.cues.setCues_(this.cues_)}toJSON(){return kl.trackToJson(this)}removeCue(t){let o=this.cues_.length;for(;o--;){const c=this.cues_[o];if(c===t||c.originalCue_&&c.originalCue_===t){this.cues_.splice(o,1),this.cues.setCues_(this.cues_);break}}}}kc.prototype.allowedEvents_={cuechange:"cuechange"};class ef extends An{constructor(t={}){const o=sa(t,{kind:Ne[t.kind]||""});super(o);let c=!1;Object.defineProperty(this,"enabled",{get(){return c},set(y){typeof y!="boolean"||y===c||(c=y,this.trigger("enabledchange"))}}),o.enabled&&(this.enabled=o.enabled),this.loaded_=!0}}class tf extends An{constructor(t={}){const o=sa(t,{kind:Ee[t.kind]||""});super(o);let c=!1;Object.defineProperty(this,"selected",{get(){return c},set(y){typeof y!="boolean"||y===c||(c=y,this.trigger("selectedchange"))}}),o.selected&&(this.selected=o.selected)}}class Nu extends ru{constructor(t={}){super();let o;const c=new kc(t);this.kind=c.kind,this.src=c.src,this.srclang=c.language,this.label=c.label,this.default=c.default,Object.defineProperties(this,{readyState:{get(){return o}},track:{get(){return c}}}),o=Nu.NONE,c.addEventListener("loadeddata",()=>{o=Nu.LOADED,this.trigger({type:"load",target:this})})}}Nu.prototype.allowedEvents_={load:"load"}
vendor: 4,434 bytes, line 799
799,Nu.NONE=0,Nu.LOADING=1,Nu.LOADED=2,Nu.ERROR=3;const Qu={audio:{ListClass:td,TrackClass:ef,capitalName:"Audio"},video:{ListClass:Ul,TrackClass:tf,capitalName:"Video"},text:{ListClass:ca,TrackClass:kc,capitalName:"Text"}};Object.keys(Qu).forEach(function(p){Qu[p].getterName=`${p}Tracks`,Qu[p].privateName=`${p}Tracks_`});const nc={remoteText:{ListClass:ca,TrackClass:kc,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:N,TrackClass:Nu,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},x=Object.assign({},Qu,nc);nc.names=Object.keys(nc),Qu.names=Object.keys(Qu),x.names=[].concat(nc.names).concat(Qu.names);function Ju(p,t,o,c,y={}){const _=p.textTracks();y.kind=t,o&&(y.label=o),c&&(y.language=c),y.tech=p;const P=new x.text.TrackClass(y);return _.addTrack(P),P}class Pi extends Mn{constructor(t={},o=function(){}){t.reportTouchActivity=!1,super(null,t,o),this.onDurationChange_=c=>this.onDurationChange(c),this.trackProgress_=c=>this.trackProgress(c),this.trackCurrentTime_=c=>this.trackCurrentTime(c),this.stopTrackingCurrentTime_=c=>this.stopTrackingCurrentTime(c),this.disposeSourceHandler_=c=>this.disposeSourceHandler(c),this.queuedHanders_=new Set,this.hasStarted_=!1,this.on("playing",function(){this.hasStarted_=!0}),this.on("loadstart",function(){this.hasStarted_=!1}),x.names.forEach(c=>{const y=x[c];t&&t[y.getterName]&&(this[y.privateName]=t[y.getterName])}),this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(c=>{t[`native${c}Tracks`]===!1&&(this[`featuresNative${c}Tracks`]=!1)}),t.nativeCaptions===!1||t.nativeTextTracks===!1?this.featuresNativeTextTracks=!1:(t.nativeCaptions===!0||t.nativeTextTracks===!0)&&(this.featuresNativeTextTracks=!0),this.featuresNativeTextTracks||this.emulateTextTracks(),this.preloadTextTracks=t.preloadTextTracks!==!1,this.autoRemoteTextTracks_=new x.text.ListClass,this.initTrackListeners(),t.nativeControlsForTouch||this.emitTapEvents(),this.constructor&&(this.name_=this.constructor.name||"Unknown Tech")}triggerSourceset(t){this.isReady_||this.one("ready",()=>this.setTimeout(()=>this.triggerSourceset(t),1)),this.trigger({src:t,type:"sourceset"})}manualProgressOn(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)}manualProgressOff(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)}trackProgress(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(Za(this,function(){const o=this.bufferedPercent();this.bufferedPercent_!==o&&this.trigger("progress"),this.bufferedPercent_=o,o===1&&this.stopTrackingProgress()}),500)}onDurationChange(t){this.duration_=this.duration()}buffered(){return yu(0,0)}bufferedPercent(){return Io(this.buffered(),this.duration_)}stopTrackingProgress(){this.clearInterval(this.progressInterval)}manualTimeUpdatesOn(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)}manualTimeUpdatesOff(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)}trackCurrentTime(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)}stopTrackingCurrentTime(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}dispose(){this.clearTracks(Qu.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),super.dispose()}clearTracks(t){t=[].concat(t),t.forEach(o=>{const c=this[`${o}Tracks`]()||[];let y=c.length;for(;y--;){const _=c[y];o==="text"&&this.removeRemoteTextTrack(_),c.removeTrack(_)}})}cleanupAutoTextTracks(){const t=this.autoRemoteTextTracks_||[];let o=t.length;for(;o--;){const c=t[o];this.removeRemoteTextTrack(c)}}reset(){}crossOrigin(){}setCrossOrigin(){}error(t){return t!==void 0&&(this.error_=new qa(t),this.trigger("error")),this.error_}played(){return this.hasStarted_?yu(0,0):yu()}play(){}setScrubbing(t){}scrubbing(){}setCurrentTime(t){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}
vendor: 7,384 bytes, line 799
799initTrackListeners(){Qu.names.forEach(t=>{const o=Qu[t],c=()=>{this.trigger(`${t}trackchange`)},y=this[o.getterName]();y.addEventListener("removetrack",c),y.addEventListener("addtrack",c),this.on("dispose",()=>{y.removeEventListener("removetrack",c),y.removeEventListener("addtrack",c)})})}addWebVttScript_(){if(!O().WebVTT)if(D().body.contains(this.el())){if(!this.options_["vtt.js"]&&Eo(W())&&Object.keys(W()).length>0){this.trigger("vttjsloaded");return}const t=D().createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",t.onload=()=>{this.trigger("vttjsloaded")},t.onerror=()=>{this.trigger("vttjserror")},this.on("dispose",()=>{t.onload=null,t.onerror=null}),O().WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)}emulateTextTracks(){const t=this.textTracks(),o=this.remoteTextTracks(),c=H=>t.addTrack(H.track),y=H=>t.removeTrack(H.track);o.on("addtrack",c),o.on("removetrack",y),this.addWebVttScript_();const _=()=>this.trigger("texttrackchange"),P=()=>{_();for(let H=0;H<t.length;H++){const ue=t[H];ue.removeEventListener("cuechange",_),ue.mode==="showing"&&ue.addEventListener("cuechange",_)}};P(),t.addEventListener("change",P),t.addEventListener("addtrack",P),t.addEventListener("removetrack",P),this.on("dispose",function(){o.off("addtrack",c),o.off("removetrack",y),t.removeEventListener("change",P),t.removeEventListener("addtrack",P),t.removeEventListener("removetrack",P);for(let H=0;H<t.length;H++)t[H].removeEventListener("cuechange",_)})}addTextTrack(t,o,c){if(!t)throw new Error("TextTrack kind is required but was not provided");return Ju(this,t,o,c)}createRemoteTextTrack(t){const o=sa(t,{tech:this});return new nc.remoteTextEl.TrackClass(o)}addRemoteTextTrack(t={},o){const c=this.createRemoteTextTrack(t);return typeof o!="boolean"&&(o=!1),this.remoteTextTrackEls().addTrackElement_(c),this.remoteTextTracks().addTrack(c.track),o===!1&&this.ready(()=>this.autoRemoteTextTracks_.addTrack(c.track)),c}removeRemoteTextTrack(t){const o=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(o),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)}getVideoPlaybackQuality(){return{}}requestPictureInPicture(){return Promise.reject()}disablePictureInPicture(){return!0}setDisablePictureInPicture(){}requestVideoFrameCallback(t){const o=Mu();return!this.isReady_||this.paused()?(this.queuedHanders_.add(o),this.one("playing",()=>{this.queuedHanders_.has(o)&&(this.queuedHanders_.delete(o),t())})):this.requestNamedAnimationFrame(o,t),o}cancelVideoFrameCallback(t){this.queuedHanders_.has(t)?this.queuedHanders_.delete(t):this.cancelNamedAnimationFrame(t)}setPoster(){}playsinline(){}setPlaysinline(){}overrideNativeAudioTracks(t){}overrideNativeVideoTracks(t){}canPlayType(t){return""}static canPlayType(t){return""}static canPlaySource(t,o){return Pi.canPlayType(t.type)}static isTech(t){return t.prototype instanceof Pi||t instanceof Pi||t===Pi}static registerTech(t,o){if(Pi.techs_||(Pi.techs_={}),!Pi.isTech(o))throw new Error(`Tech ${t} must be a Tech`);if(!Pi.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!Pi.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=Ua(t),Pi.techs_[t]=o,Pi.techs_[Yu(t)]=o,t!=="Tech"&&Pi.defaultTechOrder_.push(t),o}static getTech(t){if(t){if(Pi.techs_&&Pi.techs_[t])return Pi.techs_[t];if(t=Ua(t),O()&&O().videojs&&O().videojs[t])return _i.warn(`The ${t} tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)`),O().videojs[t]}}}x.names.forEach(function(p){const t=x[p];Pi.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}}),Pi.prototype.featuresVolumeControl=!0,Pi.prototype.featuresMuteControl=!0,Pi.prototype.featuresFullscreenResize=!1,Pi.prototype.featuresPlaybackRate=!1,Pi.prototype.featuresProgressEvents=!1,Pi.prototype.featuresSourceset=!1,Pi.prototype.featuresTimeupdateEvents=!1,Pi.prototype.featuresNativeTextTracks=!1,Pi.prototype.featuresVideoFrameCallback=!1,Pi.withSourceHandlers=function(p){p.registerSourceHandler=function(o,c){let y=p.sourceHandlers;y||(y=p.sourceHandlers=[]),c===void 0&&(c=y.length),y.splice(c,0,o)},p.canPlayType=function(o){const c=p.sourceHandlers||[];let y;for(let _=0;_<c.length;_++)if(y=c[_].canPlayType(o),y)return y;return""},p.selectSourceHandler=function(o,c){const y=p.sourceHandlers||[];let _;for(let P=0;P<y.length;P++)if(_=y[P].canHandleSource(o,c),_)return y[P];return null},p.canPlaySource=function(o,c){const y=p.selectSourceHandler(o,c);return y?y.canHandleSource(o,c):""},["seekable","seeking","duration"].forEach(function(o){const c=this[o];typeof c=="function"&&(this[o]=function(){return this.sourceHandler_&&this.sourceHandler_[o]?this.sourceHandler_[o].apply(this.sourceHandler_,arguments):c.apply(this,arguments)})},p.prototype),p.prototype.setSource=function(o){let c=p.selectSourceHandler(o,this.options_);c||(p.nativeSourceHandler?c=p.nativeSourceHandler:_i.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),c!==p.nativeSourceHandler&&(this.currentSource_=o),this.sourceHandler_=c.handleSource(o,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},p.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},Mn.registerComponent("Tech",Pi),Pi.registerTech("Tech",Pi),Pi.defaultTechOrder_=[];const ua={},Nc={},ic={};function Md(p,t){ua[p]=ua[p]||[],ua[p].push(t)}function Lf(p,t,o){p.setTimeout(()=>Cu(t,ua[t.type],o,p),1)}function wn(p,t){p.forEach(o=>o.setTech&&o.setTech(t))}function Rs(p,t,o){return p.reduceRight(fa(o),t[o]())}function bu(p,t,o,c){return t[o](p.reduce(fa(o),c))}function Ga(p,t,o,c=null){const y="call"+Ua(o),_=p.reduce(fa(y),c),P=_===ic,H=P?null:t[o](_);return zl(p,o,H,P),H}const Xs={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},Tl={setCurrentTime:1,setMuted:1,setVolume:1},jl={play:1,pause:1};function fa(p){return(t,o)=>t===ic?ic:o[p]?o[p](t):t}function zl(p,t,o,c){for(let y=p.length-1;y>=0;y--){const _=p[y];_[t]&&_[t](c,o)}}function Fc(p){Nc.hasOwnProperty(p.id())&&delete Nc[p.id()]}function sc(p,t){const o=Nc[p.id()];let c=null;if(o==null)return c=t(p),Nc[p.id()]=[[t,c]],c;for(let y=0;y<o.length;y++){const[_,P]=o[y];_===t&&(c=P)}return c===null&&(c=t(p),o.push([t,c])),c}function Cu(p={},t=[],o,c,y=[],_=!1){const[P,...H]=t;if(typeof P=="string")Cu(p,ua[P],o,c,y,_);else if(P){const ue=sc(c,P);if(!ue.setSource)return y.push(ue),Cu(p,H,o,c,y,_);ue.setSource(Object.assign({},p),function(Te,Ye){if(Te)return Cu(p,H,o,c,y,_);y.push(ue),Cu(Ye,p.type===Ye.type?H:ua[Ye.type],o,c,y,_)})}else H.length?Cu(p,H,o,c,y,_):_?o(p,y):Cu(p,ua["*"],o,c,y,!0)}const vd={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/d
799ash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},$l=function(p=""){const t=oa(p);return vd[t.toLowerCase()]||""},rf=(p,t)=>{if(!t)return"";if(p.cache_.source.src===t&&p.cache_.source.type)return p.cache_.source.type;const o=p.cache_.sources.filter(y=>y.src===t);if(o.length)return o[0].type;const c=p.$$("source");for(let y=0;y<c.length;y++){const _=c[y];if(_.type&&_.src&&_.src===t)return _.type}return $l(t)},yd=function(p){if(Array.isArray(p)){let t=[];p.forEach(function(o){o=yd(o),Array.isArray(o)?t=t.concat(o):Pu(o)&&t.push(o)}),p=t}else typeof p=="string"&&p.trim()?p=[ac({src:p})]:Pu(p)&&typeof p.src=="string"&&p.src&&p.src.trim()?p=[ac(p)]:p=[];return p};function ac(p){if(!p.type){const t=$l(p.src);t&&(p.type=t)}return p}var w
vendor: 17,607 bytes, lines 799-941
799l=`<svg xmlns="http://www.w3.org/2000/svg"> 800 <defs> 801 <symbol viewBox="0 0 48 48" id="vjs-icon-play"> 802 <path d="M16 10v28l22-14z"></path> 803 </symbol> 804 <symbol viewBox="0 0 48 48" id="vjs-icon-pause"> 805 <path d="M12 38h8V10h-8v28zm16-28v28h8V10h-8z"></path> 806 </symbol> 807 <symbol viewBox="0 0 48 48" id="vjs-icon-audio"> 808 <path d="M24 2C14.06 2 6 10.06 6 20v14c0 3.31 2.69 6 6 6h6V24h-8v-4c0-7.73 6.27-14 14-14s14 6.27 14 14v4h-8v16h6c3.31 0 6-2.69 6-6V20c0-9.94-8.06-18-18-18z"></path> 809 </symbol> 810 <symbol viewBox="0 0 48 48" id="vjs-icon-captions"> 811 <path d="M38 8H10c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zM22 22h-3v-1h-4v6h4v-1h3v2a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2zm14 0h-3v-1h-4v6h4v-1h3v2a2 2 0 0 1-2 2h-6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2z"></path> 812 </symbol> 813 <symbol viewBox="0 0 48 48" id="vjs-icon-subtitles"> 814 <path d="M40 8H8c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h32c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zM8 24h8v4H8v-4zm20 12H8v-4h20v4zm12 0h-8v-4h8v4zm0-8H20v-4h20v4z"></path> 815 </symbol> 816 <symbol viewBox="0 0 48 48" id="vjs-icon-fullscreen-enter"> 817 <path d="M14 28h-4v10h10v-4h-6v-6zm-4-8h4v-6h6v-4H10v10zm24 14h-6v4h10V28h-4v6zm-6-24v4h6v6h4V10H28z"></path> 818 </symbol> 819 <symbol viewBox="0 0 48 48" id="vjs-icon-fullscreen-exit"> 820 <path d="M10 32h6v6h4V28H10v4zm6-16h-6v4h10V10h-4v6zm12 22h4v-6h6v-4H28v10zm4-22v-6h-4v10h10v-4h-6z"></path> 821 </symbol> 822 <symbol viewBox="0 0 48 48" id="vjs-icon-play-circle"> 823 <path d="M20 33l12-9-12-9v18zm4-29C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16z"></path> 824 </symbol> 825 <symbol viewBox="0 0 48 48" id="vjs-icon-volume-mute"> 826 <path d="M33 24c0-3.53-2.04-6.58-5-8.05v4.42l4.91 4.91c.06-.42.09-.85.09-1.28zm5 0c0 1.88-.41 3.65-1.08 5.28l3.03 3.03C41.25 29.82 42 27 42 24c0-8.56-5.99-15.72-14-17.54v4.13c5.78 1.72 10 7.07 10 13.41zM8.55 6L6 8.55 15.45 18H6v12h8l10 10V26.55l8.51 8.51c-1.34 1.03-2.85 1.86-4.51 2.36v4.13a17.94 17.94 0 0 0 7.37-3.62L39.45 42 42 39.45l-18-18L8.55 6zM24 8l-4.18 4.18L24 16.36V8z"></path> 827 </symbol> 828 <symbol viewBox="0 0 48 48" id="vjs-icon-volume-low"> 829 <path d="M14 18v12h8l10 10V8L22 18h-8z"></path> 830 </symbol> 831 <symbol viewBox="0 0 48 48" id="vjs-icon-volume-medium"> 832 <path d="M37 24c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zm-27-6v12h8l10 10V8L18 18h-8z"></path> 833 </symbol> 834 <symbol viewBox="0 0 48 48" id="vjs-icon-volume-high"> 835 <path d="M6 18v12h8l10 10V8L14 18H6zm27 6c0-3.53-2.04-6.58-5-8.05v16.11c2.96-1.48 5-4.53 5-8.06zM28 6.46v4.13c5.78 1.72 10 7.07 10 13.41s-4.22 11.69-10 13.41v4.13c8.01-1.82 14-8.97 14-17.54S36.01 8.28 28 6.46z"></path> 836 </symbol> 837 <symbol viewBox="0 0 48 48" id="vjs-icon-spinner"> 838 <path d="M18.8 21l9.53-16.51C26.94 4.18 25.49 4 24 4c-4.8 0-9.19 1.69-12.64 4.51l7.33 12.69.11-.2zm24.28-3c-1.84-5.85-6.3-10.52-11.99-12.68L23.77 18h19.31zm.52 2H28.62l.58 1 9.53 16.5C41.99 33.94 44 29.21 44 24c0-1.37-.14-2.71-.4-4zm-26.53 4l-7.8-13.5C6.01 14.06 4 18.79 4 24c0 1.37.14 2.71.4 4h14.98l-2.31-4zM4.92 30c1.84 5.85 6.3 10.52 11.99 12.68L24.23 30H4.92zm22.54 0l-7.8 13.51c1.4.31 2.85.49 4.34.49 4.8 0 9.19-1.69 12.64-4.51L29.31 26.8 27.46 30z"></path> 839 </symbol> 840 <symbol viewBox="0 0 24 24" id="vjs-icon-hd"> 841 <path d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8 12H9.5v-2h-2v2H6V9h1.5v2.5h2V9H11v6zm2-6h4c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1h-4V9zm1.5 4.5h2v-3h-2v3z"></path> 842 </symbol> 843 <symbol viewBox="0 0 48 48" id="vjs-icon-chapters"> 844 <path d="M6 26h4v-4H6v4zm0 8h4v-4H6v4zm0-16h4v-4H6v4zm8 8h28v-4H14v4zm0 8h28v-4H14v4zm0-20v4h28v-4H14z"></path> 845 </symbol> 846 <symbol viewBox="0 0 40 40" id="vjs-icon-downloading"> 847 <path d="M18.208 36.875q-3.208-.292-5.979-1.729-2.771-1.438-4.812-3.729-2.042-2.292-3.188-5.229-1.146-2.938-1.146-6.23 0-6.583 4.334-11.416 4.333-4.834 10.833-5.5v3.166q-5.167.75-8.583 4.646Q6.25 14.75 6.25 19.958q0 5.209 3.396 9.104 3.396 3.896 8.562 4.646zM20 28.417L11.542 20l2.083-2.083 4.917 4.916v-11.25h2.916v11.25l4.875-4.916L28.417 20zm1.792 8.458v-3.167q1.833-.25 3.541-.958 1.709-.708 3.167-1.875l2.333 2.292q-1.958 1.583-4.25 2.541-2.291.959-4.791 1.167zm6.791-27.792q-1.541-1.125-3.25-1.854-1.708-.729-3.541-1.021V3.042q2.5.25 4.77 1.208 2.271.958 4.271 2.5zm4.584 21.584l-2.25-2.25q1.166-1.5 1.854-3.209.687-1.708.937-3.541h3.209q-.292 2.5-1.229 4.791-.938 2.292-2.521 4.209zm.541-12.417q-.291-1.833-.958-3.562-.667-1.73-1.833-3.188l2.375-2.208q1.541 1.916 2.458 4.208.917 2.292 1.167 4.75z"></path> 848 </symbol> 849 <symbol viewBox="0 0 48 48" id="vjs-icon-file-download"> 850 <path d="M10.8 40.55q-1.35 0-2.375-1T7.4 37.15v-7.7h3.4v7.7h26.35v-7.7h3.4v7.7q0 1.4-1 2.4t-2.4 1zM24 32.1L13.9 22.05l2.45-2.45 5.95 5.95V7.15h3.4v18.4l5.95-5.95 2.45 2.45z"></path> 851 </symbol> 852 <symbol viewBox="0 0 48 48" id="vjs-icon-file-download-done"> 853 <path d="M9.8 40.5v-3.45h28.4v3.45zm9.2-9.05L7.4 19.85l2.45-2.35L19 26.65l19.2-19.2 2.4 2.4z"></path> 854 </symbol> 855 <symbol viewBox="0 0 48 48" id="vjs-icon-file-download-off"> 856 <path d="M4.9 4.75L43.25 43.1 41 45.3l-4.75-4.75q-.05.05-.075.025-.025-.025-.075-.025H10.8q-1.35 0-2.375-1T7.4 37.15v-7.7h3.4v7.7h22.05l-7-7-1.85 1.8L13.9 21.9l1.85-1.85L2.7 7zm26.75 14.7l2.45 2.45-3.75 3.8-2.45-2.5zM25.7 7.15V21.1l-3.4-3.45V7.15z"></path> 857 </symbol> 858 <symbol viewBox="0 0 48 48" id="vjs-icon-share"> 859 <path d="M36 32.17c-1.52 0-2.89.59-3.93 1.54L17.82 25.4c.11-.45.18-.92.18-1.4s-.07-.95-.18-1.4l14.1-8.23c1.07 1 2.5 1.62 4.08 1.62 3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6c0 .48.07.95.18 1.4l-14.1 8.23c-1.07-1-2.5-1.62-4.08-1.62-3.31 0-6 2.69-6 6s2.69 6 6 6c1.58 0 3.01-.62 4.08-1.62l14.25 8.31c-.1.42-.16.86-.16 1.31A5.83 5.83 0 1 0 36 32.17z"></path> 860 </symbol> 861 <symbol viewBox="0 0 48 48" id="vjs-icon-cog"> 862 <path d="M38.86 25.95c.08-.64.14-1.29.14-1.95s-.06-1.31-.14-1.95l4.23-3.31c.38-.3.49-.84.24-1.28l-4-6.93c-.25-.43-.77-.61-1.22-.43l-4.98 2.01c-1.03-.79-2.16-1.46-3.38-1.97L29 4.84c-.09-.47-.5-.84-1-.84h-8c-.5 0-.91.37-.99.84l-.75 5.3a14.8 14.8 0 0 0-3.38 1.97L9.9 10.1a1 1 0 0 0-1.22.43l-4 6.93c-.25.43-.14.97.24 1.28l4.22 3.31C9.06 22.69 9 23.34 9 24s.06 1.31.14 1.95l-4.22 3.31c-.38.3-.49.84-.24 1.28l4 6.93c.25.43.77.61 1.22.43l4.98-2.01c1.03.79 2.16 1.46 3.38 1.97l.75 5.3c.08.47.49.84.99.84h8c.5 0 .91-.37.99-.84l.75-5.3a14.8 14.8 0 0 0 3.38-1.97l4.98 2.01a1 1 0 0 0 1.22-.43l4-6.93c.25-.43.14-.97-.24-1.28l-4.22-3.31zM24 31c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"></path> 863 </symbol> 864 <symbol viewBox="0 0 48 48" id="vjs-icon-square"> 865 <path d="M36 8H12c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4V12c0-2.21-1.79-4-4-4zm0 28H12V12h24v24z"></path> 866 </symbol> 867 <symbol viewBox="0 0 48 48" id="vjs-icon-circle"> 868 <circle cx="24" cy="24" r="20"></circle> 869 </symbol> 870 <symbol viewBox="0 0 48 48" id="vjs-icon-circle-outline"> 871 <path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16z"></path> 872 </symbol> 873 <symbol viewBox="0 0 48 48" id="vjs-icon-circle-inner-circle"> 874 <path d="M24 4C12.97 4 4 12.97 4 24s8.97 20 20 20 20-8.97 20-20S35.03 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm6-16c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6 6 2.69 6 6z"></path> 875 </symbol> 876 <symbol viewBox="0 0 48 48" id="vjs-icon-cancel"> 877 <path d="M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm10 27.17L31.17 34 24 26.83 16.83 34 14 31.17 21.17 24 14 16.83 16.83 14 24 21.17 31.17 14 34 16.83 26.83 24 34 31.17z"></path> 878 </symbol> 879 <symbol viewBox="0 0 48 48" id="vjs-icon-replay"> 880 <path d="M24 10V2L14 12l10 10v-8c6.63 0 12 5.37 12 12s-5.37 12-12 12-12-5.37-12-12H8c0 8.84 7.16 16 16 16s16-7.16 16-16-7.16-16-16-16z"></path> 881 </symbol> 882 <symbol viewBox="0 0 48 48" id="vjs-icon-repeat"> 883 <path d="M14 14h20v6l8-8-8-8v6H10v12h4v-8zm20 20H14v-6l-8 8 8 8v-6h24V26h-4v8z"></path> 884 </symbol> 885 <symbol viewBox="0 96 48 48" id="vjs-icon-replay-5"> 886 <path d="M17.689 98l-8.697 8.696 8.697 8.697 2.486-2.485-4.32-4.319h1.302c4.93 0 9.071 1.722 12.424 5.165 3.352 3.443 5.029 7.638 5.029 12.584h3.55c0-2.958-.553-5.73-1.658-8.313-1.104-2.583-2.622-4.841-4.555-6.774-1.932-1.932-4.19-3.45-6.773-4.555-2.584-1.104-5.355-1.657-8.313-1.657H15.5l4.615-4.615zm-8.08 21.659v13.861h11.357v5.008H9.609V143h12.7c.834 0 1.55-.298 2.146-.894.596-.597.895-1.31.895-2.145v-7.781c0-.835-.299-1.55-.895-2.147a2.929 2.929 0 0 0-2.147-.894h-8.227v-5.096H25.35v-4.384z"></path> 887 </symbol> 888 <symbol viewBox="0 96 48 48" id="vjs-icon-replay-10"> 889 <path d="M42.315 125.63c0-4.997-1.694-9.235-5.08-12.713-3.388-3.479-7.571-5.218-12.552-5.218h-1.315l4.363 4.363-2.51 2.51-8.787-8.786L25.221 97l2.45 2.45-4.662 4.663h1.375c2.988 0 5.788.557 8.397 1.673 2.61 1.116 4.892 2.65 6.844 4.602 1.953 1.953 3.487 4.234 4.602 6.844 1.116 2.61 1.674 5.41 1.674 8.398zM8.183 142v-19.657H3.176V117.8h9.643V142zm13.63 0c-1.156 0-2.127-.393-2.912-1.178-.778-.778-1.168-1.746-1.168-2.902v-16.04c0-1.156.393-2.127 1.178-2.912.779-.779 1.746-1.168 2.902-1.168h7.696c1.156 0 2.126.392 2.911 1.177.779.78 1.168 1.747 1.168 2.903v16.04c0 1.156-.392 2.127-1.177 2.912-.779.779-1.746 1.168-2.902 1.168zm.556-4.636h6.583v-15.02H22.37z"></path> 890 </symbol> 891 <symbol viewBox="0 96 48 48" id="vjs-icon-replay-30"> 892 <path d="M26.047 97l-8.733 8.732 8.733 8.733 2.496-2.494-4.336-4.338h1.307c4.95 0 9.108 1.73 12.474 5.187 3.367 3.458 5.051 7.668 5.051 12.635h3.565c0-2.97-.556-5.751-1.665-8.346-1.109-2.594-2.633-4.862-4.574-6.802-1.94-1.941-4.208-3.466-6.803-4.575-2.594-1.109-5.375-1.664-8.345-1.664H23.85l4.634-4.634zM2.555 117.531v4.688h10.297v5.25H5.873v4.687h6.979v5.156H2.555V142H13.36c1.061 0 1.95-.395 2.668-1.186.718-.79 1.076-1.772 1.076-2.94v-16.218c0-1.168-.358-2.149-1.076-2.94-.717-.79-1.607-1.185-2.668-1.185zm22.482.14c-1.149 0-2.11.39-2.885 1.165-.78.78-1.172 1.744-1.172 2.893v15.943c0 1.149.388 2.11 1.163 2.885.78.78 1.745 1.172 2.894 1.172h7.649c1.148 0 2.11-.388 2.884-1.163.78-.78 1.17-1.745 1.17-2.894v-15.943c0-1.15-.386-2.111-1.16-2.885-.78-.78-1.746-1.172-2.894-1.172zm.553 4.518h6.545v14.93H25.59z"></path> 893 </symbol> 894 <symbol viewBox="0 96 48 48" id="vjs-icon-forward-5"> 895 <path d="M29.508 97l-2.431 2.43 4.625 4.625h-1.364c-2.965 0-5.742.554-8.332 1.66-2.589 1.107-4.851 2.629-6.788 4.566-1.937 1.937-3.458 4.2-4.565 6.788-1.107 2.59-1.66 5.367-1.66 8.331h3.557c0-4.957 1.68-9.16 5.04-12.611 3.36-3.45 7.51-5.177 12.451-5.177h1.304l-4.326 4.33 2.49 2.49 8.715-8.716zm-9.783 21.61v13.89h11.382v5.018H19.725V142h12.727a2.93 2.93 0 0 0 2.15-.896 2.93 2.93 0 0 0 .896-2.15v-7.798c0-.837-.299-1.554-.896-2.152a2.93 2.93 0 0 0-2.15-.896h-8.245V123h11.29v-4.392z"></path> 896 </symbol> 897 <symbol viewBox="0 96 48 48" id="vjs-icon-forward-10"> 898 <path d="M23.119 97l-2.386 2.383 4.538 4.538h-1.339c-2.908 0-5.633.543-8.173 1.63-2.54 1.085-4.76 2.577-6.66 4.478-1.9 1.9-3.392 4.12-4.478 6.66-1.085 2.54-1.629 5.264-1.629 8.172h3.49c0-4.863 1.648-8.986 4.944-12.372 3.297-3.385 7.368-5.078 12.216-5.078h1.279l-4.245 4.247 2.443 2.442 8.55-8.55zm-9.52 21.45v4.42h4.871V142h4.513v-23.55zm18.136 0c-1.125 0-2.066.377-2.824 1.135-.764.764-1.148 1.709-1.148 2.834v15.612c0 1.124.38 2.066 1.139 2.824.764.764 1.708 1.145 2.833 1.145h7.489c1.125 0 2.066-.378 2.824-1.136.764-.764 1.145-1.709 1.145-2.833v-15.612c0-1.125-.378-2.067-1.136-2.825-.764-.764-1.708-1.145-2.833-1.145zm.54 4.42h6.408v14.617h-6.407z"></path> 899 </symbol> 900 <symbol viewBox="0 96 48 48" id="vjs-icon-forward-30"> 901 <path d="M25.549 97l-2.437 2.434 4.634 4.635H26.38c-2.97 0-5.753.555-8.347 1.664-2.594 1.109-4.861 2.633-6.802 4.574-1.94 1.94-3.465 4.207-4.574 6.802-1.109 2.594-1.664 5.377-1.664 8.347h3.565c0-4.967 1.683-9.178 5.05-12.636 3.366-3.458 7.525-5.187 12.475-5.187h1.307l-4.335 4.338 2.495 2.494 8.732-8.732zm-11.553 20.53v4.689h10.297v5.249h-6.978v4.688h6.978v5.156H13.996V142h10.808c1.06 0 1.948-.395 2.666-1.186.718-.79 1.077-1.771 1.077-2.94v-16.217c0-1.169-.36-2.15-1.077-2.94-.718-.79-1.605-1.186-2.666-1.186zm21.174.168c-1.149 0-2.11.389-2.884 1.163-.78.78-1.172 1.745-1.172 2.894v15.942c0 1.15.388 2.11 1.162 2.885.78.78 1.745 1.17 2.894 1.17h7.649c1.149 0 2.11-.386 2.885-1.16.78-.78 1.17-1.746 1.17-2.895v-15.942c0-1.15-.387-2.11-1.161-2.885-.78-.78-1.745-1.172-2.894-1.172zm.552 4.516h6.542v14.931h-6.542z"></path> 902 </symbol> 903 <symbol viewBox="0 0 512 512" id="vjs-icon-audio-description"> 904 <g fill-rule="evenodd"><path d="M227.29 381.351V162.993c50.38-1.017 89.108-3.028 117.631 17.126 27.374 19.342 48.734 56.965 44.89 105.325-4.067 51.155-41.335 94.139-89.776 98.475-24.085 2.155-71.972 0-71.972 0s-.84-1.352-.773-2.568m48.755-54.804c31.43 1.26 53.208-16.633 56.495-45.386 4.403-38.51-21.188-63.552-58.041-60.796v103.612c-.036 1.466.575 2.22 1.546 2.57"></path><path d="M383.78 381.328c13.336 3.71 17.387-11.06 23.215-21.408 12.722-22.571 22.294-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.51c-.587 3.874 2.226 7.315 3.865 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894"></path><path d="M425.154 381.328c13.336 3.71 17.384-11.061 23.215-21.408 12.721-22.571 22.291-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.511c-.586 3.874 2.226 7.315 3.866 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894"></path><path d="M466.26 381.328c13.337 3.71 17.385-11.061 23.216-21.408 12.722-22.571 22.292-51.594 22.445-84.774.221-47.594-18.343-82.517-35.6-106.182h-8.51c-.587 3.874 2.225 7.315 3.865 10.276 13.166 23.762 25.367 56.553 25.54 94.194.2 43.176-14.162 79.278-30.955 107.894M4.477 383.005H72.58l18.573-28.484 64.169-.135s.065 19.413.065 28.62h48.756V160.307h-58.816c-5.653 9.537-140.85 222.697-140.85 222.697zm152.667-145.282v71.158l-40.453-.27 40.453-70.888z"></path></g> 905 </symbol> 906 <symbol viewBox="0 0 48 48" id="vjs-icon-next-item"> 907 <path d="M12 36l17-12-17-12v24zm20-24v24h4V12h-4z"></path> 908 </symbol> 909 <symbol viewBox="0 0 48 48" id="vjs-icon-previous-item"> 910 <path d="M12 12h4v24h-4zm7 12l17 12V12z"></path> 911 </symbol> 912 <symbol viewBox="0 0 48 48" id="vjs-icon-shuffle"> 913 <path d="M21.17 18.34L10.83 8 8 10.83l10.34 10.34 2.83-2.83zM29 8l4.09 4.09L8 37.17 10.83 40l25.09-25.09L40 19V8H29zm.66 18.83l-2.83 2.83 6.26 6.26L29 40h11V29l-4.09 4.09-6.25-6.26z"></path> 914 </symbol> 915 <symbol viewBox="0 0 48 48" id="vjs-icon-cast"> 916 <path d="M42 6H6c-2.21 0-4 1.79-4 4v6h4v-6h36v28H28v4h14c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4zM2 36v6h6c0-3.31-2.69-6-6-6zm0-8v4c5.52 0 10 4.48 10 10h4c0-7.73-6.27-14-14-14zm0-8v4c9.94 0 18 8.06 18 18h4c0-12.15-9.85-22-22-22z"></path> 917 </symbol> 918 <symbol viewBox="0 0 48 48" id="vjs-icon-picture-in-picture-enter"> 919 <path d="M38 22H22v11.99h16V22zm8 16V9.96C46 7.76 44.2 6 42 6H6C3.8 6 2 7.76 2 9.96V38c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4zm-4 .04H6V9.94h36v28.1z"></path> 920 </symbol> 921 <symbol viewBox="0 0 22 18" id="vjs-icon-picture-in-picture-exit"> 922 <path d="M18 4H4v10h14V4zm4 12V1.98C22 .88 21.1 0 20 0H2C.9 0 0 .88 0 1.98V16c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zm-2 .02H2V1.97h18v14.05z"></path> 923 <path fill="none" d="M-1-3h24v24H-1z"></path> 924 </symbol> 925 <symbol viewBox="0 0 1792 1792" id="vjs-icon-facebook"> 926 <path d="M1343 12v264h-157q-86 0-116 36t-30 108v189h293l-39 296h-254v759H734V905H479V609h255V391q0-186 104-288.5T1115 0q147 0 228 12z"></path> 927 </symbol> 928 <symbol viewBox="0 0 1792 1792" id="vjs-icon-linkedin"> 929 <path d="M477 625v991H147V625h330zm21-306q1 73-50.5 122T312 490h-2q-82 0-132-49t-50-122q0-74 51.5-122.5T314 148t133 48.5T498 319zm1166 729v568h-329v-530q0-105-40.5-164.5T1168 862q-63 0-105.5 34.5T999 982q-11 30-11 81v553H659q2-399 2-647t-1-296l-1-48h329v144h-2q20-32 41-56t56.5-52 87-43.5T1285 602q171 0 275 113.5t104 332.5z"></path> 930 </symbol> 931 <symbol viewBox="0 0 1200 1227" id="vjs-icon-twitter"> 932 <path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z"/> 933 </symbol> 934 <symbol viewBox="0 0 1792 1792" id="vjs-icon-tumblr"> 935 <path d="M1328 1329l80 237q-23 35-111 66t-177 32q-104 2-190.5-26T787 1564t-95-106-55.5-120-16.5-118V676H452V461q72-26 129-69.5t91-90 58-102 34-99T779 12q1-5 4.5-8.5T791 0h244v424h333v252h-334v518q0 30 6.5 56t22.5 52.5 49.5 41.5 81.5 14q78-2 134-29z"></path> 936 </symbol> 937 <symbol viewBox="0 0 1792 1792" id="vjs-icon-pinterest"> 938 <path d="M1664 896q0 209-103 385.5T1281.5 1561 896 1664q-111 0-218-32 59-93 78-164 9-34 54-211 20 39 73 67.5t114 28.5q121 0 216-68.5t147-188.5 52-270q0-114-59.5-214T1180 449t-255-63q-105 0-196 29t-154.5 77-109 110.5-67 129.5T377 866q0 104 40 183t117 111q30 12 38-20 2-7 8-31t8-30q6-23-11-43-51-61-51-151 0-151 104.5-259.5T904 517q151 0 235.5 82t84.5 213q0 170-68.5 289T980 1220q-61 0-98-43.5T859 1072q8-35 26.5-93.5t30-103T927 800q0-50-27-83t-77-33q-62 0-105 57t-43 142q0 73 25 122l-99 418q-17 70-13 177-206-91-333-281T128 896q0-209 103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z"></path> 939 </symbol> 940 </defs> 941</svg>`
vendor: 11,536 bytes, line 941
941;const kd=As?10009:xs?461:8,iu={codes:{play:415,pause:19,ff:417,rw:412,back:kd},names:{415:"play",19:"pause",417:"ff",412:"rw",[kd]:"back"},isEventKey(p,t){return t=t.toLowerCase(),!!(this.names[p.keyCode]&&this.names[p.keyCode]===t)},getEventName(p){if(this.names[p.keyCode])return this.names[p.keyCode];if(this.codes[p.code]){const t=this.codes[p.code];return this.names[t]}return null}},Au=5;class lo extends ru{constructor(t){super(),this.player_=t,this.focusableComponents=[],this.isListening_=!1,this.isPaused_=!1,this.onKeyDown_=this.onKeyDown_.bind(this),this.lastFocusedComponent_=null}start(){this.isListening_||(this.player_.on("keydown",this.onKeyDown_),this.player_.on("modalKeydown",this.onKeyDown_),this.player_.on("loadedmetadata",()=>{this.focus(this.updateFocusableComponents()[0])}),this.player_.on("modalclose",()=>{this.refocusComponent()}),this.player_.on("focusin",this.handlePlayerFocus_.bind(this)),this.player_.on("focusout",this.handlePlayerBlur_.bind(this)),this.isListening_=!0,this.player_.errorDisplay&&this.player_.errorDisplay.on("aftermodalfill",()=>{this.updateFocusableComponents(),this.focusableComponents.length&&(this.focusableComponents.length>1?this.focusableComponents[1].focus():this.focusableComponents[0].focus())}))}stop(){this.player_.off("keydown",this.onKeyDown_),this.isListening_=!1}onKeyDown_(t){const o=t.originalEvent?t.originalEvent:t;if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(o.key)){if(this.isPaused_)return;o.preventDefault();const c=o.key.substring(5).toLowerCase();this.move(c)}else if(iu.isEventKey(o,"play")||iu.isEventKey(o,"pause")||iu.isEventKey(o,"ff")||iu.isEventKey(o,"rw")){o.preventDefault();const c=iu.getEventName(o);this.performMediaAction_(c)}else iu.isEventKey(o,"Back")&&t.target&&typeof t.target.closeable=="function"&&t.target.closeable()&&(o.preventDefault(),t.target.close())}performMediaAction_(t){if(this.player_)switch(t){case"play":this.player_.paused()&&this.player_.play();break;case"pause":this.player_.paused()||this.player_.pause();break;case"ff":this.userSeek_(this.player_.currentTime()+Au);break;case"rw":this.userSeek_(this.player_.currentTime()-Au);break}}userSeek_(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(t)}pause(){this.isPaused_=!0}resume(){this.isPaused_=!1}handlePlayerBlur_(t){const o=t.relatedTarget;let c=null;const y=this.getCurrentComponent(t.target);o&&(c=!!o.closest(".video-js"),o.classList.contains("vjs-text-track-settings")&&!this.isPaused_&&this.searchForTrackSelect_()),(!t.currentTarget.contains(t.relatedTarget)&&!c||!o)&&(y&&y.name()==="CloseButton"?this.refocusComponent():(this.pause(),y&&y.el()&&(this.lastFocusedComponent_=y)))}handlePlayerFocus_(){this.getCurrentComponent()&&this.getCurrentComponent().getIsFocusable()&&this.resume()}updateFocusableComponents(){const t=this.player_,o=[];function c(y){for(const _ of y)_.hasOwnProperty("el_")&&_.getIsFocusable()&&_.getIsAvailableToBeFocused(_.el())&&o.push(_),_.hasOwnProperty("children_")&&_.children_.length>0&&c(_.children_)}return t.children_.forEach(y=>{if(y.hasOwnProperty("el_"))if(y.getIsFocusable&&y.getIsAvailableToBeFocused&&y.getIsFocusable()&&y.getIsAvailableToBeFocused(y.el())){o.push(y);return}else y.hasOwnProperty("children_")&&y.children_.length>0?c(y.children_):y.hasOwnProperty("items")&&y.items.length>0?c(y.items):this.findSuitableDOMChild(y)&&o.push(y);if(y.name_==="ErrorDisplay"&&y.opened_){const _=y.el_.querySelector(".vjs-errors-ok-button-container");_&&_.querySelectorAll("button").forEach((H,ue)=>{o.push({name:()=>"ModalButton"+(ue+1),el:()=>H,getPositions:()=>{const Te=H.getBoundingClientRect(),Ye={x:Te.x,y:Te.y,width:Te.width,height:Te.height,top:Te.top,right:Te.right,bottom:Te.bottom,left:Te.left},xt={x:Te.left+Te.width/2,y:Te.top+Te.height/2,width:0,height:0,top:Te.top+Te.height/2,right:Te.left+Te.width/2,bottom:Te.top+Te.height/2,left:Te.left+Te.width/2};return{boundingClientRect:Ye,center:xt}},getIsAvailableToBeFocused:()=>!0,getIsFocusable:Te=>!0,focus:()=>H.focus()})})}}),this.focusableComponents=o,this.focusableComponents}findSuitableDOMChild(t){function o(c){if(t.getIsFocusable(c)&&t.getIsAvailableToBeFocused(c))return c;for(let y=0;y<c.children.length;y++){const _=c.children[y],P=o(_);if(P)return P}return null}return t.el()?o(t.el()):null}getCurrentComponent(t){this.updateFocusableComponents();const o=t||document.activeElement;if(this.focusableComponents.length){for(const c of this.focusableComponents)if(c.el()===o)return c}}add(t){const o=[...this.focusableComponents];t.hasOwnProperty("el_")&&t.getIsFocusable()&&t.getIsAvailableToBeFocused(t.el())&&o.push(t),this.focusableComponents=o,this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents})}remove(t){for(let o=0;o<this.focusableComponents.length;o++)if(this.focusableComponents[o].name()===t.name()){this.focusableComponents.splice(o,1),this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents});return}}clear(){this.focusableComponents.length>0&&(this.focusableComponents=[],this.trigger({type:"focusableComponentsChanged",focusableComponents:this.focusableComponents}))}move(t){const o=this.getCurrentComponent();if(!o)return;const c=o.getPositions(),y=this.focusableComponents.filter(P=>P!==o&&this.isInDirection_(c.boundingClientRect,P.getPositions().boundingClientRect,t)),_=this.findBestCandidate_(c.center,y,t);_?this.focus(_):this.trigger({type:"endOfFocusableComponents",direction:t,focusedComponent:o})}findBestCandidate_(t,o,c){let y=1/0,_=null;for(const P of o){const H=P.getPositions().center,ue=this.calculateDistance_(t,H,c);ue<y&&(y=ue,_=P)}return _}isInDirection_(t,o,c){switch(c){case"right":return o.left>=t.right;case"left":return o.right<=t.left;case"down":return o.top>=t.bottom;case"up":return o.bottom<=t.top;default:return!1}}refocusComponent(){if(this.lastFocusedComponent_){this.player_.userActive()||this.player_.userActive(!0),this.updateFocusableComponents();for(let t=0;t<this.focusableComponents.length;t++)if(this.focusableComponents[t].name()===this.lastFocusedComponent_.name()){this.focus(this.focusableComponents[t]);return}}else this.focus(this.updateFocusableComponents()[0])}focus(t){typeof t=="object"&&(t.getIsAvailableToBeFocused(t.el())?t.focus():this.findSuitableDOMChild(t)&&this.findSuitableDOMChild(t).focus())}calculateDistance_(t,o,c){const y=Math.abs(t.x-o.x),_=Math.abs(t.y-o.y);let P;switch(c){case"right":case"left":P=y+_*100;break;case"up":P=_*2+y*.5;break;case"down":P=_*5+y;break;default:P=y+_}return P}searchForTrackSelect_(){const t=this;for(const o of t.updateFocusableComponents())if(o.constructor.name==="TextTrackSelect"){t.focus(o);break}}}class Su extends Mn{constructor(t,o,c){const y=sa({createEl:!1},o);if(super(t,y,c),!o.playerOptions.sources||o.playerOptions.sources.length===0)for(let _=0,P=o.playerOptions.techOrder;_<P.length;_++){const H=Ua(P[_]);let ue=Pi.getTech(H);if(H||(ue=Mn.getComponent(H)),ue&&ue.isSupported()){t.loadTech_(H);break}}else t.src(o.playerOptions.sources)}}Mn.registerComponent("MediaLoader",Su);class Bc extends Mn{constructor(t,o){super(t,o),this.options_.controlText&&this.controlText(this.options_.controlText),this.handleMouseOver_=c=>this.handleMouseOver(c),this.handleMouseOut_=c=>this.handleMouseOut(c),this.handleClick_=c=>this.handleClick(c),this.handleKeyDown_=c=>this.handleKeyDown(c),this.emitTapEvents(),this.enable()}createEl(t="div",o={},c={}){o=Object.assign({className:this.buildCSSClass(),tabIndex:0},o),t==="button"&&_i.error(`Creating a ClickableComponent with an HTML element of ${t} is not supported; use a Button instead.`),c=Object.assign({role:"button"},c),this.tabIndex_=o.tabIndex;const y=Es(t,o,c);return this.player_.options_.experimentalSvgIcons||y.appendChild(Es("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(y),y}dispose(){this.controlTextEl_=null,super.dispose()}createControlTextEl(t){return this.controlTextEl_=Es("span",{className:"vjs-control-text"},{"aria-live":"polite"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_}controlText(t,o=this.el()){if(t===void 0)return this.controlText_||"Need Text";const c=this.localize(t);this.controlText_=t,Tu(this.controlTextEl_,c),!this.nonIconControl&&!this.player_.options_.noUITitleAttributes&&o.setAttribute("title",c)}buildCSSClass(){return`vjs-control vjs-button ${super.buildCSSClass()}`}enable(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),typeof this.tabIndex_<"u"&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))}disable(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),typeof this.tabIndex_<"u"&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)}handleLanguagechange(){this.controlText(this.controlText_)}handleClick(t){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)}handleKeyDown(t){t.key===" "||t.key==="Enter"?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):super.handleKeyDown(t)}}Mn.registerComponent("ClickableComponent",Bc);class rd extends Bc{constructor(t,o){super(t,o),this.update(),this.update_=c=>this.update(c),t.on("posterchange",this.update_)}dispose(){this.player().off("posterchange",this.update_),super.dispose()}createEl(){return Es("div",{className:"vjs-poster"})}crossOrigin(t){if(typeof t>"u")return this.$("img")?this.$("img").crossOrigin:this.player_.tech_&&this.player_.tech_.isReady_?this.player_.crossOrigin():this.player_.options_.crossOrigin||this.player_.options_.crossorigin||null;if(t!==null&&t!=="anonymous"&&t!=="use-credentials"){this.player_.log.warn(`crossOrigin must be null, "anonymous" or "use-credentials", given "${t}"`);return}this.$("img")&&(this.$("img").crossOrigin=t)}update(t){const o=this.player().poster();this.setSrc(o),o?this.show():this.hide()}setSrc(t){if(!t){this.el_.textContent="";return}this.$("img")||this.el_.appendChild(Es("picture",{className:"vjs-poster",tabIndex:-1},{},Es("img",{loading:"lazy",crossOrigin:this.crossOrigin()},{alt:""}))),this.$("img").src=t}handleClick(t){this.player_.controls()&&(this.player_.tech(!0)&&this.player_.tech(!0).focus(),this.player_.paused()?_u(this.player_.play()):this.player_.pause())}}rd.prototype.crossorigin=rd.prototype.crossOrigin,Mn.registerComponent("PosterImage",rd);const hl="#222",nd="#ccc",_l={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function bd(p,t){let o;if(p.length===4)o=p[1]+p[1]+p[2]+p[2]+p[3]+p[3];else if(p.length===7)o=p.slice(1);else throw new Error("Invalid color code provided, "+p+"; must be formatted as e.g. #f0e or #f604e2.");return"rgba("+parseInt(o.slice(0,2),16)+","+parseInt(o.slice(2,4),16)+","+parseInt(o.slice(4,6),16)+","+t+")"}function il(p,t,o){try{p.style[t]=o}catch{return}}function oc(p){return p?`${p}px`:""}
vendor: 32,117 bytes, line 941
941class Bo extends Mn{constructor(t,o,c){super(t,o,c);const y=P=>this.updateDisplay(P),_=P=>{this.updateDisplayOverlay(),this.updateDisplay(P)};t.on("loadstart",P=>this.toggleDisplay(P)),t.on("useractive",y),t.on("userinactive",y),t.on("texttrackchange",y),t.on("loadedmetadata",P=>{this.updateDisplayOverlay(),this.preselectTrack(P)}),t.ready(Za(this,function(){if(t.tech_&&t.tech_.featuresNativeTextTracks){this.hide();return}t.on("fullscreenchange",_),t.on("playerresize",_);const P=O().screen.orientation||O(),H=O().screen.orientation?"change":"orientationchange";P.addEventListener(H,_),t.on("dispose",()=>P.removeEventListener(H,_));const ue=this.options_.playerOptions.tracks||[];for(let Te=0;Te<ue.length;Te++)this.player_.addRemoteTextTrack(ue[Te],!0);this.preselectTrack()}))}preselectTrack(){const t={captions:1,subtitles:1},o=this.player_.textTracks(),c=this.player_.cache_.selectedLanguage;let y,_,P;for(let H=0;H<o.length;H++){const ue=o[H];c&&c.enabled&&c.language&&c.language===ue.language&&ue.kind in t?ue.kind===c.kind?P=ue:P||(P=ue):c&&!c.enabled?(P=null,y=null,_=null):ue.default&&(ue.kind==="descriptions"&&!y?y=ue:ue.kind in t&&!_&&(_=ue))}P?P.mode="showing":_?_.mode="showing":y&&(y.mode="showing")}toggleDisplay(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()}createEl(){return super.createEl("div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})}clearDisplay(){typeof O().WebVTT=="function"&&O().WebVTT.processCues(O(),[],this.el_)}updateDisplay(){const t=this.player_.textTracks(),o=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),o){const P=[];for(let H=0;H<t.length;++H){const ue=t[H];ue.mode==="showing"&&P.push(ue)}this.updateForTrack(P);return}let c=null,y=null,_=t.length;for(;_--;){const P=t[_];P.mode==="showing"&&(P.kind==="descriptions"?c=P:y=P)}if(y?(this.getAttribute("aria-live")!=="off"&&this.setAttribute("aria-live","off"),this.updateForTrack(y)):c&&(this.getAttribute("aria-live")!=="assertive"&&this.setAttribute("aria-live","assertive"),this.updateForTrack(c)),!(O().CSS!==void 0&&O().CSS.supports("inset","10px"))){const P=this.el_,H=P.querySelectorAll(".vjs-text-track-cue"),ue=this.player_.controlBar.el_.getBoundingClientRect().height,Te=this.player_.el_.getBoundingClientRect().height;P.style="",il(P,"position","relative"),il(P,"height",Te-ue+"px"),il(P,"top","unset"),ya?il(P,"bottom",Te+"px"):il(P,"bottom","0px"),H.length>0&&H.forEach(Ye=>{if(Ye.style.inset){const xt=Ye.style.inset.split(" ");xt.length===3&&Object.assign(Ye.style,{top:xt[0],right:xt[1],bottom:xt[2],left:"unset"})}})}}updateDisplayOverlay(){if(!this.player_.videoHeight()||!(O().CSS!==void 0&&O().CSS.supports("inset-inline: 10px")))return;const t=this.player_.currentWidth(),o=this.player_.currentHeight(),c=t/o,y=this.player_.videoWidth()/this.player_.videoHeight();let _=0,P=0;Math.abs(c-y)>.1&&(c>y?_=Math.round((t-o*y)/2):P=Math.round((o-t/y)/2)),il(this.el_,"insetInline",oc(_)),il(this.el_,"insetBlock",oc(P))}updateDisplayState(t){const o=this.player_.textTrackSettings.getValues(),c=t.activeCues;let y=c.length;for(;y--;){const _=c[y];if(!_)continue;const P=_.displayState;if(o.color&&(P.firstChild.style.color=o.color),o.textOpacity&&il(P.firstChild,"color",bd(o.color||"#fff",o.textOpacity)),o.backgroundColor&&(P.firstChild.style.backgroundColor=o.backgroundColor),o.backgroundOpacity&&il(P.firstChild,"backgroundColor",bd(o.backgroundColor||"#000",o.backgroundOpacity)),o.windowColor&&(o.windowOpacity?il(P,"backgroundColor",bd(o.windowColor,o.windowOpacity)):P.style.backgroundColor=o.windowColor),o.edgeStyle&&(o.edgeStyle==="dropshadow"?P.firstChild.style.textShadow=`2px 2px 3px ${hl}, 2px 2px 4px ${hl}, 2px 2px 5px ${hl}`:o.edgeStyle==="raised"?P.firstChild.style.textShadow=`1px 1px ${hl}, 2px 2px ${hl}, 3px 3px ${hl}`:o.edgeStyle==="depressed"?P.firstChild.style.textShadow=`1px 1px ${nd}, 0 1px ${nd}, -1px -1px ${hl}, 0 -1px ${hl}`:o.edgeStyle==="uniform"&&(P.firstChild.style.textShadow=`0 0 4px ${hl}, 0 0 4px ${hl}, 0 0 4px ${hl}, 0 0 4px ${hl}`)),o.fontPercent&&o.fontPercent!==1){const H=O().parseFloat(P.style.fontSize);P.style.fontSize=H*o.fontPercent+"px",P.style.height="auto",P.style.top="auto"}o.fontFamily&&o.fontFamily!=="default"&&(o.fontFamily==="small-caps"?P.firstChild.style.fontVariant="small-caps":P.firstChild.style.fontFamily=_l[o.fontFamily])}}updateForTrack(t){if(Array.isArray(t)||(t=[t]),typeof O().WebVTT!="function"||t.every(c=>!c.activeCues))return;const o=[];for(let c=0;c<t.length;++c){const y=t[c];for(let _=0;_<y.activeCues.length;++_)o.push(y.activeCues[_])}O().WebVTT.processCues(O(),o,this.el_);for(let c=0;c<t.length;++c){const y=t[c];for(let _=0;_<y.activeCues.length;++_){const P=y.activeCues[_].displayState;qe(P,"vjs-text-track-cue","vjs-text-track-cue-"+(y.language?y.language:c)),y.language&&Kn(P,"lang",y.language)}this.player_.textTrackSettings&&this.updateDisplayState(y)}}}Mn.registerComponent("TextTrackDisplay",Bo);class su extends Mn{createEl(){const t=this.player_.isAudio(),o=this.localize(t?"Audio Player":"Video Player"),c=Es("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[o])}),y=super.createEl("div",{className:"vjs-loading-spinner",dir:"ltr"});return y.appendChild(c),y}handleLanguagechange(){this.$(".vjs-control-text").textContent=this.localize("{1} is loading.",[this.player_.isAudio()?"Audio Player":"Video Player"])}}Mn.registerComponent("LoadingSpinner",su);class Uo extends Bc{createEl(t,o={},c={}){t="button",o=Object.assign({className:this.buildCSSClass()},o),c=Object.assign({type:"button"},c);const y=Es(t,o,c);return this.player_.options_.experimentalSvgIcons||y.appendChild(Es("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(y),y}addChild(t,o={}){const c=this.constructor.name;return _i.warn(`Adding an actionable (user controllable) child to a Button (${c}) is not supported; use a ClickableComponent instead.`),Mn.prototype.addChild.call(this,t,o)}enable(){super.enable(),this.el_.removeAttribute("disabled")}disable(){super.disable(),this.el_.setAttribute("disabled","disabled")}handleKeyDown(t){if(t.key===" "||t.key==="Enter"){t.stopPropagation();return}super.handleKeyDown(t)}}Mn.registerComponent("Button",Uo);class nf extends Uo{constructor(t,o){super(t,o),this.mouseused_=!1,this.setIcon("play"),this.on("mousedown",c=>this.handleMouseDown(c))}buildCSSClass(){return"vjs-big-play-button"}handleClick(t){const o=this.player_.play();if(t.type==="tap"||this.mouseused_&&"clientX"in t&&"clientY"in t){_u(o),this.player_.tech(!0)&&this.player_.tech(!0).focus();return}const c=this.player_.getChild("controlBar"),y=c&&c.getChild("playToggle");if(!y){this.player_.tech(!0).focus();return}const _=()=>y.focus();Sc(o)?o.then(_,()=>{}):this.setTimeout(_,1)}handleKeyDown(t){this.mouseused_=!1,super.handleKeyDown(t)}handleMouseDown(t){this.mouseused_=!0}}nf.prototype.controlText_="Play Video",Mn.registerComponent("BigPlayButton",nf);class xc extends Uo{constructor(t,o){super(t,o),this.setIcon("cancel"),this.controlText(o&&o.controlText||this.localize("Close"))}buildCSSClass(){return`vjs-close-button ${super.buildCSSClass()}`}handleClick(t){this.trigger({type:"close",bubbles:!1})}handleKeyDown(t){t.key==="Escape"?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):super.handleKeyDown(t)}}Mn.registerComponent("CloseButton",xc);class uc extends Uo{constructor(t,o={}){super(t,o),o.replay=o.replay===void 0||o.replay,this.setIcon("play"),this.on(t,"play",c=>this.handlePlay(c)),this.on(t,"pause",c=>this.handlePause(c)),o.replay&&this.on(t,"ended",c=>this.handleEnded(c))}buildCSSClass(){return`vjs-play-control ${super.buildCSSClass()}`}handleClick(t){this.player_.paused()?_u(this.player_.play()):this.player_.pause()}handleSeeked(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)}handlePlay(t){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.setIcon("pause"),this.controlText("Pause")}handlePause(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.setIcon("play"),this.controlText("Play")}handleEnded(t){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.setIcon("replay"),this.controlText("Replay"),this.one(this.player_,"seeked",o=>this.handleSeeked(o))}}uc.prototype.controlText_="Play",Mn.registerComponent("PlayToggle",uc);class Ec extends Mn{constructor(t,o){super(t,o),this.on(t,["timeupdate","ended","seeking"],c=>this.update(c)),this.updateTextNode_()}createEl(){const t=this.buildCSSClass(),o=super.createEl("div",{className:`${t} vjs-time-control vjs-control`}),c=Es("span",{className:"vjs-control-text",textContent:`${this.localize(this.labelText_)}\xA0`},{role:"presentation"});return o.appendChild(c),this.contentEl_=Es("span",{className:`${t}-display`},{role:"presentation"}),o.appendChild(this.contentEl_),o}dispose(){this.contentEl_=null,this.textNode_=null,super.dispose()}update(t){!this.player_.options_.enableSmoothSeeking&&t.type==="seeking"||this.updateContent(t)}updateTextNode_(t=0){t=Ko(t),this.formattedTime_!==t&&(this.formattedTime_=t,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",()=>{if(!this.contentEl_)return;let o=this.textNode_;o&&this.contentEl_.firstChild!==o&&(o=null,_i.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),this.textNode_=D().createTextNode(this.formattedTime_),this.textNode_&&(o?this.contentEl_.replaceChild(this.textNode_,o):this.contentEl_.appendChild(this.textNode_))}))}updateContent(t){}}Ec.prototype.labelText_="Time",Ec.prototype.controlText_="Time",Mn.registerComponent("TimeDisplay",Ec);class Sd extends Ec{buildCSSClass(){return"vjs-current-time"}updateContent(t){let o;this.player_.ended()?o=this.player_.duration():t&&t.target&&typeof t.target.pendingSeekTime=="function"&&t.target.pendingSeekTime()!==null?o=t.target.pendingSeekTime():o=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(o)}}Sd.prototype.labelText_="Current Time",Sd.prototype.controlText_="Current Time",Mn.registerComponent("CurrentTimeDisplay",Sd);class k extends Ec{constructor(t,o){super(t,o);const c=y=>this.updateContent(y);this.on(t,"durationchange",c),this.on(t,"loadstart",c),this.on(t,"loadedmetadata",c)}buildCSSClass(){return"vjs-duration"}updateContent(t){const o=this.player_.duration();this.updateTextNode_(o)}}k.prototype.labelText_="Duration",k.prototype.controlText_="Duration",Mn.registerComponent("DurationDisplay",k);class G extends Mn{createEl(){const t=super.createEl("div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),o=super.createEl("div"),c=super.createEl("span",{textContent:"/"});return o.appendChild(c),t.appendChild(o),t}}Mn.registerComponent("TimeDivider",G);class ie extends Ec{constructor(t,o){super(t,o),this.on(t,"durationchange",c=>this.updateContent(c))}buildCSSClass(){return"vjs-remaining-time"}createEl(){const t=super.createEl();return this.options_.displayNegative!==!1&&t.insertBefore(Es("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t}updateContent(t){if(typeof this.player_.duration()!="number")return;let o;this.player_.ended()?o=0:this.player_.remainingTimeDisplay?o=this.player_.remainingTimeDisplay():o=this.player_.remainingTime(),this.updateTextNode_(o)}}ie.prototype.labelText_="Remaining Time",ie.prototype.controlText_="Remaining Time",Mn.registerComponent("RemainingTimeDisplay",ie);class be extends Mn{constructor(t,o){super(t,o),this.updateShowing(),this.on(this.player(),"durationchange",c=>this.updateShowing(c))}createEl(){const t=super.createEl("div",{className:"vjs-live-control vjs-control"});return this.contentEl_=Es("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(Es("span",{className:"vjs-control-text",textContent:`${this.localize("Stream Type")}\xA0`})),this.contentEl_.appendChild(D().createTextNode(this.localize("LIVE"))),t.appendChild(this.contentEl_),t}dispose(){this.contentEl_=null,super.dispose()}updateShowing(t){this.player().duration()===1/0?this.show():this.hide()}}Mn.registerComponent("LiveDisplay",be);class Se extends Uo{constructor(t,o){super(t,o),this.updateLiveEdgeStatus(),this.player_.liveTracker&&(this.updateLiveEdgeStatusHandler_=c=>this.updateLiveEdgeStatus(c),this.on(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_))}createEl(){const t=super.createEl("button",{className:"vjs-seek-to-live-control vjs-control"});return this.setIcon("circle",t),this.textEl_=Es("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t}updateLiveEdgeStatus(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))}handleClick(){this.player_.liveTracker.seekToLiveEdge()}dispose(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,super.dispose()}}Se.prototype.controlText_="Seek to live, currently playing live",Mn.registerComponent("SeekToLive",Se);function Oe(p,t,o){return p=Number(p),Math.min(o,Math.max(t,isNaN(p)?t:p))}var ke=Object.freeze({__proto__:null,clamp:Oe});class Ve extends Mn{constructor(t,o){super(t,o),this.handleMouseDown_=c=>this.handleMouseDown(c),this.handleMouseUp_=c=>this.handleMouseUp(c),this.handleKeyDown_=c=>this.handleKeyDown(c),this.handleClick_=c=>this.handleClick(c),this.handleMouseMove_=c=>this.handleMouseMove(c),this.update_=c=>this.update(c),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.enable()}enabled(){return this.enabled_}enable(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)}disable(){if(!this.enabled())return;const t=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(t,"mousemove",this.handleMouseMove_),this.off(t,"mouseup",this.handleMouseUp_),this.off(t,"touchmove",this.handleMouseMove_),this.off(t,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}createEl(t,o={},c={}){return o.className=o.className+" vjs-slider",o=Object.assign({tabIndex:0},o),c=Object.assign({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100},c),super.createEl(t,o,c)}handleMouseDown(t){const o=this.bar.el_.ownerDocument;t.type==="mousedown"&&t.preventDefault(),t.type==="touchstart"&&!uo&&t.preventDefault(),ji(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(o,"mousemove",this.handleMouseMove_),this.on(o,"mouseup",this.handleMouseUp_),this.on(o,"touchmove",this.handleMouseMove_),this.on(o,"touchend",this.handleMouseUp_),this.handleMouseMove(t,!0)}handleMouseMove(t){}handleMouseUp(t){const o=this.bar.el_.ownerDocument;Xi(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(o,"mousemove",this.handleMouseMove_),this.off(o,"mouseup",this.handleMouseUp_),this.off(o,"touchmove",this.handleMouseMove_),this.off(o,"touchend",this.handleMouseUp_),this.update()}update(){if(!this.el_||!this.bar)return;const t=this.getProgress();return t===this.progress_||(this.progress_=t,this.requestNamedAnimationFrame("Slider#update",()=>{const o=this.vertical()?"height":"width";this.bar.el().style[o]=(t*100).toFixed(2)+"%"})),t}getProgress(){return Number(Oe(this.getPercent(),0,1).toFixed(4))}calculateDistance(t){const o=Ka(this.el_,t);return this.vertical()?o.y:o.x}handleKeyDown(t){const o=this.options_.playerOptions.spatialNavigation,c=o&&o.enabled,y=o&&o.horizontalSeek;c?y&&t.key==="ArrowLeft"||!y&&t.key==="ArrowDown"?(t.preventDefault(),t.stopPropagation(),this.stepBack()):y&&t.key==="ArrowRight"||!y&&t.key==="ArrowUp"?(t.preventDefault(),t.stopPropagation(),this.stepForward()):(this.pendingSeekTime()&&(this.pendingSeekTime(null),this.userSeek_(this.player_.currentTime())),super.handleKeyDown(t)):t.key==="ArrowLeft"||t.key==="ArrowDown"?(t.preventDefault(),t.stopPropagation(),this.stepBack()):t.key==="ArrowUp"||t.key==="ArrowRight"?(t.preventDefault(),t.stopPropagation(),this.stepForward()):super.handleKeyDown(t)}handleClick(t){t.stopPropagation(),t.preventDefault()}vertical(t){if(t===void 0)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")}}Mn.registerComponent("Slider",Ve);const et=(p,t)=>Oe(p/t*100,0,100).toFixed(2)+"%";class pt extends Mn{constructor(t,o){super(t,o),this.partEls_=[],this.on(t,"progress",c=>this.update(c))}createEl(){const t=super.createEl("div",{className:"vjs-load-progress"}),o=Es("span",{className:"vjs-control-text"}),c=Es("span",{textContent:this.localize("Loaded")}),y=D().createTextNode(": ");return this.percentageEl_=Es("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(o),o.appendChild(c),o.appendChild(y),o.appendChild(this.percentageEl_),t}dispose(){this.partEls_=null,this.percentageEl_=null,super.dispose()}update(t){this.requestNamedAnimationFrame("LoadProgressBar#update",()=>{const o=this.player_.liveTracker,c=this.player_.buffered(),y=o&&o.isLive()?o.seekableEnd():this.player_.duration(),_=this.player_.bufferedEnd(),P=this.partEls_,H=et(_,y);this.percent_!==H&&(this.el_.style.width=H,Tu(this.percentageEl_,H),this.percent_=H);for(let ue=0;ue<c.length;ue++){const Te=c.start(ue),Ye=c.end(ue);let xt=P[ue];xt||(xt=this.el_.appendChild(Es()),P[ue]=xt),!(xt.dataset.start===Te&&xt.dataset.end===Ye)&&(xt.dataset.start=Te,xt.dataset.end=Ye,xt.style.left=et(Te,_),xt.style.width=et(Ye-Te,_))}for(let ue=P.length;ue>c.length;ue--)this.el_.removeChild(P[ue-1]);P.length=c.length})}}Mn.registerComponent("LoadProgressBar",pt);class lr extends Mn{constructor(t,o){super(t,o),this.update=ku(Za(this,this.update),tu)}createEl(){return super.createEl("div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})}update(t,o,c){const y=Js(this.el_),_=aa(this.player_.el()),P=t.width*o;if(!_||!y)return;let H=t.left-_.left+P,ue=t.width-P+(_.right-t.right);ue||(ue=t.width-P,H=P);let Te=y.width/2;H<Te?Te+=Te-H:ue<Te&&(Te=ue),Te<0?Te=0:Te>y.width&&(Te=y.width),Te=Math.round(Te),this.el_.style.right=`-${Te}px`,this.write(c)}write(t){Tu(this.el_,t)}updateTime(t,o,c,y){this.requestNamedAnimationFrame("TimeTooltip#updateTime",()=>{let _;const P=this.player_.duration();if(this.player_.liveTracker&&this.player_.liveTracker.isLive()){const H=this.player_.liveTracker.liveWindow(),ue=H-o*H;_=(ue<1?"":"-")+Ko(ue,H)}else _=Ko(c,P);this.update(t,o,_),y&&y()})}}Mn.registerComponent("TimeTooltip",lr);class Vt extends Mn{constructor(t,o){super(t,o),this.setIcon("circle"),this.update=ku(Za(this,this.update),tu)}createEl(){return super.createEl("div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})}update(t,o,c){const y=this.getChild("timeTooltip");if(!y)return;const _=c&&c.target&&typeof c.target.pendingSeekTime=="function"?c.target.pendingSeekTime():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();y.updateTime(t,o,_)}}Vt.prototype.options_={children:[]},!Qa&&!Jo&&Vt.prototype.options_.children.push("timeTooltip"),Mn.registerComponent("PlayProgressBar",Vt);class Nr extends Mn{constructor(t,o){super(t,o),this.update=ku(Za(this,this.update),tu)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(t,o){const c=o*this.player_.duration();this.getChild("timeTooltip").updateTime(t,o,c,()=>{this.el_.style.left=`${t.width*o}px`})}}Nr.prototype.options_={children:["timeTooltip"]},Mn.registerComponent("MouseTimeDisplay",Nr);class nr extends Ve{constructor(t,o){o=sa(nr.prototype.options_,o),o.children=[...o.children];const c=t.options_.disableSeekWhileScrubbingOnMobile&&(Qa||Jo)||t.options_.disableSeekWhileScrubbingOnSTV;(!Qa&&!Jo||c)&&o.children.splice(1,0,"mouseTimeDisplay"),super(t,o),this.shouldDisableSeekWhileScrubbing_=c,this.pendingSeekTime_=null,this.setEventHandlers_()}setEventHandlers_(){this.update_=Za(this,this.update),this.update=ku(this.update_,tu),this.on(this.player_,["durationchange","timeupdate"],this.update),this.on(this.player_,["ended"],this.update_),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=t=>this.enableInterval_(t),this.disableIntervalHandler_=t=>this.disableInterval_(t),this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in D()&&"visibilityState"in D()&&this.on(D(),"visibilitychange",this.toggleVisibility_)}toggleVisibility_(t){D().visibilityState==="hidden"?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(t)):(!this.player_.ended()&&!this.player_.paused()&&this.enableInterval_(),this.update())}enableInterval_(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,tu))}disableInterval_(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&t&&t.type!=="ended"||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)}createEl(){return super.createEl("div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})}update(t){if(D().visibilityState==="hidden")return;const o=super.update();return this.requestNamedAnimationFrame("SeekBar#update",()=>{const c=this.player_.ended()?this.player_.duration():this.getCurrentTime_(),y=this.player_.liveTracker;let _=this.player_.duration();y&&y.isLive()&&(_=this.player_.liveTracker.liveCurrentTime()),this.percent_!==o&&(this.el_.setAttribute("aria-valuenow",(o*100).toFixed(2)),this.percent_=o),(this.currentTime_!==c||this.duration_!==_)&&(this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[Ko(c,_),Ko(_,_)],"{1} of {2}")),this.currentTime_=c,this.duration_=_),this.bar&&this.bar.update(aa(this.el()),this.getProgress(),t)}),o}userSeek_(t){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(t)}getCurrentTime_(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()}pendingSeekTime(t){if(t!==void 0)if(t!==null){const o=this.player_.duration();this.pendingSeekTime_=Math.max(0,Math.min(t,o))}else this.pendingSeekTime_=null;return this.pendingSeekTime_}getPercent(){if(this.pendingSeekTime()!==null)return this.pendingSeekTime()/this.player_.duration();const t=this.getCurrentTime_();let o;const c=this.player_.liveTracker;return c&&c.isLive()?(o=(t-c.seekableStart())/c.liveWindow(),c.atLiveEdge()&&(o=1)):o=t/this.player_.duration(),o}handleMouseDown(t){ba(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.shouldDisableSeekWhileScrubbing_||this.player_.pause(),super.handleMouseDown(t))}handleMouseMove(t,o=!1){if(!ba(t)||isNaN(this.player_.duration()))return;!o&&!this.player_.scrubbing()&&this.player_.scrubbing(!0);let c;const y=this.calculateDistance(t),_=this.player_.liveTracker;if(!_||!_.isLive())c=y*this.player_.duration(),c===this.player_.duration()&&(c=c-.1);else{if(y>=.99){_.seekToLiveEdge();return}const P=_.seekableStart(),H=_.liveCurrentTime();if(c=P+y*_.liveWindow(),c>=H&&(c=H),c<=P&&(c=P+.1),c===1/0)return}this.shouldDisableSeekWhileScrubbing_?this.pendingSeekTime(c):this.userSeek_(c),this.player_.options_.enableSmoothSeeking&&this.update()}enable(){super.enable();const t=this.getChild("mouseTimeDisplay");t&&t.show()}disable(){super.disable();const t=this.getChild("mouseTimeDisplay");t&&t.hide()}handleMouseUp(t){super.handleMouseUp(t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.pendingSeekTime()!==null&&(this.userSeek_(this.pendingSeekTime()),this.pendingSeekTime(null)),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?_u(this.player_.play()):this.update_()}handlePendingSeek_(t){this.player_.paused()||this.player_.pause();const o=this.pendingSeekTime()!==null?this.pendingSeekTime():this.player_.currentTime();this.pendingSeekTime(o+t),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}stepForward(){this.shouldDisableSeekWhileScrubbing_?this.handlePendingSeek_(this.options().stepSeconds):this.userSeek_(this.player_.currentTime()+this.options().stepSeconds)}stepBack(){this.shouldDisableSeekWhileScrubbing_?this.handlePendingSeek_(-this.options().stepSeconds):this.userSeek_(this.player_.currentTime()-this.options().stepSeconds)}handleAction(t){this.pendingSeekTime()!==null&&(this.userSeek_(this.pendingSeekTime()),this.pendingSeekTime(null)),this.player_.paused()?this.player_.play():this.player_.pause()}handleKeyDown(t){const o=this.player_.liveTracker;if(t.key===" "||t.key==="Enter")t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(t.key==="Home")t.preventDefault(),t.stopPropagation(),this.userSeek_(0);else if(t.key==="End")t.preventDefault(),t.stopPropagation(),o&&o.isLive()?this.userSeek_(o.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(t.key)){t.preventDefault(),t.stopPropagation();const c=parseInt(t.key,10)*.1;o&&o.isLive()?this.userSeek_(o.seekableStart()+o.liveWindow()*c):this.userSeek_(this.player_.duration()*c)}else t.key==="PageDown"?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()-this.options().stepSeconds*this.options().pageMultiplier)):t.key==="PageUp"?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()+this.options().stepSeconds*this.options().pageMultiplier)):super.handleKeyDown(t)}dispose(){this.disableInterval_(),this.off(this.player_,["durationchange","timeupdate"],this.update),this.off(this.player_,["ended"],this.update_),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in D()&&"visibilityState"in D()&&this.off(D(),"visibilitychange",this.toggleVisibility_),super.dispose()}}nr.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar",stepSeconds:5,pageMultiplier:12},Mn.registerComponent("SeekBar",nr);class Br extends Mn{constructor(t,o){super(t,o),this.handleMouseMove=ku(Za(this,this.handleMouseMove),tu),this.throttledHandleMouseSeek=ku(Za(this,this.handleMouseSeek),tu),this.handleMouseUpHandler_=c=>this.handleMouseUp(c),this.handleMouseDownHandler_=c=>this.handleMouseDown(c),this.enable()}createEl(){return super.createEl("div",{className:"vjs-progress-control vjs-control"})}handleMouseMove(t){const o=this.getChild("seekBar");if(!o)return;const c=o.getChild("playProgressBar"),y=o.getChild("mouseTimeDisplay");if(!c&&!y)return;const _=o.el(),P=Js(_);let H=Ka(_,t).x;H=Oe(H,0,1),y&&y.update(P,H),c&&c.update(P,o.getProgress())}handleMouseSeek(t){const o=this.getChild("seekBar");o&&o.handleMouseMove(t)}enabled(){return this.enabled_}disable(){if(this.children().forEach(t=>t.disable&&t.disable()),!!this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,["mousemove","touchmove"],this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){const t=this.getChild("seekBar");this.player_.scrubbing(!1),t.videoWasPlaying&&_u(this.player_.play())}}enable(){this.children().forEach(t=>t.enable&&t.enable()),!this.enabled()&&(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,["mousemove","touchmove"],this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)}removeListenersAddedOnMousedownAndTouchstart(){const t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseSeek),this.off(t,"touchmove",this.throttledHandleMouseSeek),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)}handleMouseDown(t){const o=this.el_.ownerDocument,c=this.getChild("seekBar");c&&c.handleMouseDown(t),this.on(o,"mousemove",this.throttledHandleMouseSeek),this.on(o,"touchmove",this.throttledHandleMouseSeek),this.on(o,"mouseup",this.handleMouseUpHandler_),this.on(o,"touchend",this.handleMouseUpHandler_)}handleMouseUp(t){const o=this.getChild("seekBar");o&&o.handleMouseUp(t),this.removeListenersAddedOnMousedownAndTouchstart()}}Br.prototype.options_={children:["seekBar"]},Mn.registerComponent("ProgressControl",Br);class en extends Uo{constructor(t,o){super(t,o),this.setIcon("picture-in-picture-enter"),this.on(t,["enterpictureinpicture","leavepictureinpicture"],c=>this.handlePictureInPictureChange(c)),this.on(t,["disablepictureinpicturechanged","loadedmetadata"],c=>this.handlePictureInPictureEnabledChange(c)),this.on(t,["loadedmetadata","audioonlymodechange","audiopostermodechange"],()=>this.handlePictureInPictureAudioModeChange()),this.disable()}buildCSSClass(){return`vjs-picture-in-picture-control vjs-hidden ${super.buildCSSClass()}`}handlePictureInPictureAudioModeChange(){if(!(this.player_.currentType().substring(0,5)==="audio"||this.player_.audioPosterMode()||this.player_.audioOnlyMode())){this.show();return}this.player_.isInPictureInPicture()&&this.player_.exitPictureInPicture(),this.hide()}handlePictureInPictureEnabledChange(){D().pictureInPictureEnabled&&this.player_.disablePictureInPicture()===!1||this.player_.options_.enableDocumentPictureInPicture&&"documentPictureInPicture"in O()?this.enable():this.disable()}handlePictureInPictureChange(t){this.player_.isInPictureInPicture()?(this.setIcon("picture-in-picture-exit"),this.controlText("Exit Picture-in-Picture")):(this.setIcon("picture-in-picture-enter"),this.controlText("Picture-in-Picture")),this.handlePictureInPictureEnabledChange()}handleClick(t){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()}show(){typeof D().exitPictureInPicture=="function"&&super.show()}}en.prototype.controlText_="Picture-in-Picture",Mn.registerComponent("PictureInPictureToggle",en);class Jr extends Uo{constructor(t,o){super(t,o),this.setIcon("fullscreen-enter"),this.on(t,"fullscreenchange",c=>this.handleFullscreenChange(c)),D()[t.fsApi_.fullscreenEnabled]===!1&&this.disable()}buildCSSClass(){return`vjs-fullscreen-control ${super.buildCSSClass()}`}handleFullscreenChange(t){this.player_.isFullscreen()?(this.controlText("Exit Fullscreen"),this.setIcon("fullscreen-exit")):(this.controlText("Fullscreen"),this.setIcon("fullscreen-enter"))}handleClick(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()}}Jr.prototype.controlText_="Fullscreen",Mn.registerComponent("FullscreenToggle",Jr);const Vn=function(p,t){t.tech_&&!t.tech_.featuresVolumeControl&&p.addClass("vjs-hidden"),p.on(t,"loadstart",function(){t.tech_.featuresVolumeControl?p.removeClass("vjs-hidden"):p.addClass("vjs-hidden")})};class yn extends Mn{createEl(){const t=super.createEl("div",{className:"vjs-volume-level"});return this.setIcon("circle",t),t.appendChild(super.createEl("span",{className:"vjs-control-text"})),t}}
vendor: 4,246 bytes, line 941
941Mn.registerComponent("VolumeLevel",yn);class ii extends Mn{constructor(t,o){super(t,o),this.update=ku(Za(this,this.update),tu)}createEl(){return super.createEl("div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})}update(t,o,c,y){if(!c){const _=aa(this.el_),P=aa(this.player_.el()),H=t.width*o;if(!P||!_)return;const ue=t.left-P.left+H,Te=t.width-H+(P.right-t.right);let Ye=_.width/2;ue<Ye?Ye+=Ye-ue:Te<Ye&&(Ye=Te),Ye<0?Ye=0:Ye>_.width&&(Ye=_.width),this.el_.style.right=`-${Ye}px`}this.write(`${y}%`)}write(t){Tu(this.el_,t)}updateVolume(t,o,c,y,_){this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",()=>{this.update(t,o,c,y.toFixed(0)),_&&_()})}}Mn.registerComponent("VolumeLevelTooltip",ii);class R extends Mn{constructor(t,o){super(t,o),this.update=ku(Za(this,this.update),tu)}createEl(){return super.createEl("div",{className:"vjs-mouse-display"})}update(t,o,c){const y=100*o;this.getChild("volumeLevelTooltip").updateVolume(t,o,c,y,()=>{c?this.el_.style.bottom=`${t.height*o}px`:this.el_.style.left=`${t.width*o}px`})}}R.prototype.options_={children:["volumeLevelTooltip"]},Mn.registerComponent("MouseVolumeLevelDisplay",R);class K extends Ve{constructor(t,o){super(t,o),this.on("slideractive",c=>this.updateLastVolume_(c)),this.on(t,"volumechange",c=>this.updateARIAAttributes(c)),t.ready(()=>this.updateARIAAttributes())}createEl(){return super.createEl("div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})}handleMouseDown(t){ba(t)&&super.handleMouseDown(t)}handleMouseMove(t){const o=this.getChild("mouseVolumeLevelDisplay");if(o){const c=this.el(),y=aa(c),_=this.vertical();let P=Ka(c,t);P=_?P.y:P.x,P=Oe(P,0,1),o.update(y,P,_)}ba(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))}checkMuted(){this.player_.muted()&&this.player_.muted(!1)}getPercent(){return this.player_.muted()?0:this.player_.volume()}stepForward(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)}stepBack(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)}updateARIAAttributes(t){const o=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",o),this.el_.setAttribute("aria-valuetext",o+"%")}volumeAsPercentage_(){return Math.round(this.player_.volume()*100)}updateLastVolume_(){const t=this.player_.volume();this.one("sliderinactive",()=>{this.player_.volume()===0&&this.player_.lastVolume_(t)})}}K.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},!Qa&&!Jo&&K.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),K.prototype.playerEvent="volumechange",Mn.registerComponent("VolumeBar",K);class le extends Mn{constructor(t,o={}){o.vertical=o.vertical||!1,(typeof o.volumeBar>"u"||Eo(o.volumeBar))&&(o.volumeBar=o.volumeBar||{},o.volumeBar.vertical=o.vertical),super(t,o),Vn(this,t),this.throttledHandleMouseMove=ku(Za(this,this.handleMouseMove),tu),this.handleMouseUpHandler_=c=>this.handleMouseUp(c),this.on("mousedown",c=>this.handleMouseDown(c)),this.on("touchstart",c=>this.handleMouseDown(c)),this.on("mousemove",c=>this.handleMouseMove(c)),this.on(this.volumeBar,["focus","slideractive"],()=>{this.volumeBar.addClass("vjs-slider-active"),this.addClass("vjs-slider-active"),this.trigger("slideractive")}),this.on(this.volumeBar,["blur","sliderinactive"],()=>{this.volumeBar.removeClass("vjs-slider-active"),this.removeClass("vjs-slider-active"),this.trigger("sliderinactive")})}createEl(){let t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),super.createEl("div",{className:`vjs-volume-control vjs-control ${t}`})}handleMouseDown(t){const o=this.el_.ownerDocument;this.on(o,"mousemove",this.throttledHandleMouseMove),this.on(o,"touchmove",this.throttledHandleMouseMove),this.on(o,"mouseup",this.handleMouseUpHandler_),this.on(o,"touchend",this.handleMouseUpHandler_)}handleMouseUp(t){const o=this.el_.ownerDocument;this.off(o,"mousemove",this.throttledHandleMouseMove),this.off(o,"touchmove",this.throttledHandleMouseMove),this.off(o,"mouseup",this.handleMouseUpHandler_),this.off(o,"touchend",this.handleMouseUpHandler_)}handleMouseMove(t){this.volumeBar.handleMouseMove(t)}}le.prototype.options_={children:["volumeBar"]}
vendor: 4,308 bytes, line 941
941,Mn.registerComponent("VolumeControl",le);const oe=function(p,t){t.tech_&&!t.tech_.featuresMuteControl&&p.addClass("vjs-hidden"),p.on(t,"loadstart",function(){t.tech_.featuresMuteControl?p.removeClass("vjs-hidden"):p.addClass("vjs-hidden")})};class Ie extends Uo{constructor(t,o){super(t,o),oe(this,t),this.on(t,["loadstart","volumechange"],c=>this.update(c))}buildCSSClass(){return`vjs-mute-control ${super.buildCSSClass()}`}handleClick(t){const o=this.player_.volume(),c=this.player_.lastVolume_();if(o===0){const y=c<.1?.1:c;this.player_.volume(y),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())}update(t){this.updateIcon_(),this.updateControlText_()}updateIcon_(){const t=this.player_.volume();let o=3;this.setIcon("volume-high"),Qa&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),t===0||this.player_.muted()?(this.setIcon("volume-mute"),o=0):t<.33?(this.setIcon("volume-low"),o=1):t<.67&&(this.setIcon("volume-medium"),o=2),St(this.el_,[0,1,2,3].reduce((c,y)=>c+`${y?" ":""}vjs-vol-${y}`,"")),qe(this.el_,`vjs-vol-${o}`)}updateControlText_(){const o=this.player_.muted()||this.player_.volume()===0?"Unmute":"Mute";this.controlText()!==o&&this.controlText(o)}}Ie.prototype.controlText_="Mute",Mn.registerComponent("MuteToggle",Ie);class Ge extends Mn{constructor(t,o={}){typeof o.inline<"u"?o.inline=o.inline:o.inline=!0,(typeof o.volumeControl>"u"||Eo(o.volumeControl))&&(o.volumeControl=o.volumeControl||{},o.volumeControl.vertical=!o.inline),super(t,o),this.handleKeyPressHandler_=c=>this.handleKeyPress(c),this.on(t,["loadstart"],c=>this.volumePanelState_(c)),this.on(this.muteToggle,"keyup",c=>this.handleKeyPress(c)),this.on(this.volumeControl,"keyup",c=>this.handleVolumeControlKeyUp(c)),this.on("keydown",c=>this.handleKeyPress(c)),this.on("mouseover",c=>this.handleMouseOver(c)),this.on("mouseout",c=>this.handleMouseOut(c)),this.on(this.volumeControl,["slideractive"],this.sliderActive_),this.on(this.volumeControl,["sliderinactive"],this.sliderInactive_)}sliderActive_(){this.addClass("vjs-slider-active")}sliderInactive_(){this.removeClass("vjs-slider-active")}volumePanelState_(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")}createEl(){let t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),super.createEl("div",{className:`vjs-volume-panel vjs-control ${t}`})}dispose(){this.handleMouseOut(),super.dispose()}handleVolumeControlKeyUp(t){t.key==="Escape"&&this.muteToggle.focus()}handleMouseOver(t){this.addClass("vjs-hover"),wo(D(),"keyup",this.handleKeyPressHandler_)}handleMouseOut(t){this.removeClass("vjs-hover"),ni(D(),"keyup",this.handleKeyPressHandler_)}handleKeyPress(t){t.key==="Escape"&&this.handleMouseOut()}}Ge.prototype.options_={children:["muteToggle","volumeControl"]},Mn.registerComponent("VolumePanel",Ge);class tt extends Uo{constructor(t,o){super(t,o),this.validOptions=[5,10,30],this.skipTime=this.getSkipForwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.setIcon(`forward-${this.skipTime}`),this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime.toLocaleString(t.language())])),this.show()):this.hide()}getSkipForwardTime(){const t=this.options_.playerOptions;return t.controlBar&&t.controlBar.skipButtons&&t.controlBar.skipButtons.forward}buildCSSClass(){return`vjs-skip-forward-${this.getSkipForwardTime()} ${super.buildCSSClass()}`}handleClick(t){if(isNaN(this.player_.duration()))return;const o=this.player_.currentTime(),c=this.player_.liveTracker,y=c&&c.isLive()?c.seekableEnd():this.player_.duration();let _;o+this.skipTime<=y?_=o+this.skipTime:_=y,this.player_.currentTime(_)}handleLanguagechange(){this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime]))}}tt.prototype.controlText_="Skip Forward",Mn.registerComponent("SkipForward",tt);class _t extends Uo{constructor(t,o){super(t,o),this.validOptions=[5,10,30],this.skipTime=this.getSkipBackwardTime(),this.skipTime&&this.validOptions.includes(this.skipTime)?(this.setIcon(`replay-${this.skipTime}`),this.controlText(this.localize("Skip backward {1}
941 seconds",[this.skipTime.toLocaleString(t.language())])),this.show()):this.hide()}getSkipBackwardTime(){const t=this.options_.playerOptions;return t.controlBar&&t.controlBar.skipButtons&&t.controlBar.skipButtons.backward}buildCSSClass(){return`vjs-skip-backward-${this.getSkipBackwardTime()} ${super.buildCSSClass()}`}handleClick(t){const o=this.player_.currentTime(),c=this.player_.liveTracker,y=c&&c.isLive()&&c.seekableStart();let _;y&&o-this.skipTime<=y?_=y:o>=this.skipTime?_=o-this.skipTime:_=0,this.player_.currentTime(_)}handleLanguagechange(){this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime]))}}_t.prototype.controlText_="Skip Backward",Mn.registerComponent("SkipBackward",_t);class Ut extends Mn{constructor(t,o){super(t,o),o&&(this.menuButton_=o.menuButton),this.focusedChild_=-1,this.on("keydown",c=>this.handleKeyDown(c)),this.boundHandleBlur_=c=>this.handleBlur(c),this.boundHandleTapClick_=c=>this.handleTapClick(c)}addEventListenerForItem(t){t instanceof Mn&&(this.on(t,"blur",this.boundHandleBlur_),this.on(t,["tap","click"],this.boundHandleTapClick_))}removeEventListenerForItem(t){t instanceof Mn&&(this.off(t,"blur",this.boundHandleBlur_),this.off(t,["tap","click"],this.boundHandleTapClick_))}removeChild(t){typeof t=="string"&&(t=this.getChild(t)),this.removeEventListenerForItem(t),super.removeChild(t)}addItem(t){const o=this.addChild(t);o&&this.addEventListenerForItem(o)}createEl(){const t=this.options_.contentElType||"ul";this.contentEl_=Es(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");const o=super.createEl("div",{append:this.contentEl_,className:"vjs-menu"});return o.appendChild(this.contentEl_),wo(o,"click",function(c){c.preventDefault(),c.stopImmediatePropagation()}),o}dispose(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,super.dispose()}handleBlur(t){const o=t.relatedTarget||D().activeElement;if(!this.children().some(c=>c.el()===o)){const c=this.menuButton_;c&&c.buttonPressed_&&o!==c.el().firstChild&&c.unpressButton()}}handleTapClick(t){if(this.menuButton_){this.menuButton_.unpressButton();const o=this.children();if(!Array.isArray(o))return;const c=o.filter(y=>y.el()===t.target)[0];if(!c)return;c.name()!=="CaptionSettingsMenuItem"&&this.menuButton_.focus()}}handleKeyDown(t){t.key==="ArrowLeft"||t.key==="ArrowDown"?(t.preventDefault(),t.stopPropagation(),this.stepForward()):(t.key==="ArrowRight"||t.key==="ArrowUp")&&(t.preventDefault(),t.stopPropagation(),this.stepBack())}stepForward(){let t=0;this.focusedChild_!==void 0&&(t=this.focusedChild_+1),this.focus(t)}stepBack(){let t=0;this.focusedChild_!==void 0&&(t=this.focusedChild_-1),this.focus(t)}focus(t=0){const o=this.children().slice();o.length&&o[0].hasClass("vjs-menu-title")&&o.shift(),o.length>0&&(t<0?t=0:t>=o.length&&(t=o.length-1),this.focusedChild_=t,o[t].el_.focus())}}Mn.registerComponent("Menu",Ut);class yr extends Mn{constructor(t,o={}){super(t,o),this.menuButton_=new Uo(t,o),this.menuButton_.controlText(this.controlText_),this.menuButton_.el_.setAttribute("aria-haspopup","true");const c=Uo.prototype.buildCSSClass();this.menuButton_.el_.className=this.buildCSSClass()+" "+c,this.menuButton_.removeClass("vjs-control"),this.addChild(this.menuButton_),this.update(),this.enabled_=!0;const y=_=>this.handleClick(_);this.handleMenuKeyUp_=_=>this.handleMenuKeyUp(_),this.on(this.menuButton_,"tap",y),this.on(this.menuButton_,"click",y),this.on(this.menuButton_,"keydown",_=>this.handleKeyDown(_)),this.on(this.menuButton_,"mouseenter",()=>{this.addClass("vjs-hover"),this.menu.show(),wo(D(),"keyup",this.handleMenuKeyUp_)}),this.on("mouseleave",_=>this.handleMouseLeave(_)),this.on("keydown",_=>this.handleSubmenuKeyDown(_))}update(){const t=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))}createMenu(){const t=new Ut(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){const o=Es("li",{className:"vjs-menu-title",textContent:Ua(this.options_.title),tabIndex:-1}),c=new Mn(this.player_,{el:o});t.addItem(c)}if(this.items=this.createItems(),this.items)for(let o=0;o<this.items.length;o++)t.addItem(this.items[o]);return t}createItems(){}createEl(){return super.createEl("div",{className:this.buildWrapperCSSClass()},{})}setIcon(t){return super.setIcon(t,this.menuButton_.el_)}buildWrapperCSSClass(){let t="vjs-menu-button";this.options_.inline===!0?t+="-inline":t+="-popup";const o=Uo.prototype.buildCSSClass();return`vjs-menu-button ${t} ${o} ${super.buildCSSClass()}`}buildCSSClass(){let t="vjs-menu-button";return this.options_.inline===!0?t+="-inline":t+="-popup",`vjs-menu-button ${t} ${super.buildCSSClass()}`}controlText(t,o=this.menuButton_.el()){return this.menuButton_.controlText(t,o)}dispose(){this.handleMouseLeave(),super.dispose()}handleClick(t){this.buttonPressed_?this.unpressButton():this.pressButton()}handleMouseLeave(t){this.removeClass("vjs-hover"),ni(D(),"keyup",this.handleMenuKeyUp_)}focus(){this.menuButton_.focus()}blur(){this.menuButton_.blur()}handleKeyDown(t){t.key==="Escape"||t.key==="Tab"?(this.buttonPressed_&&this.unpressButton(),!t.key==="Tab"&&(t.preventDefault(),this.menuButton_.focus())):(t.key==="Up"||t.key==="Down"&&!(this.player_.options_.playerOptions.spatialNavigation&&this.player_.options_.playerOptions.spatialNavigation.enabled))&&(this.buttonPressed_||(t.preventDefault(),this.pressButton()))}handleMenuKeyUp(t){(t.key==="Escape"||t.key==="Tab")&&this.removeClass("vjs-hover")}handleSubmenuKeyPress(t){this.handleSubmenuKeyDown(t)}handleSubmenuKeyDown(t){(t.key==="Escape"||t.key==="Tab")&&(this.buttonPressed_&&this.unpressButton(),!t.key==="Tab"&&(t.preventDefault(),this.menuButton_.focus()))}pressButton(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),Qa&&ho())return;this.menu.focus()}}unpressButton(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","fal
941se"))}disable(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()}enable(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()}}Mn.registerComponent("MenuButton",yr);class Qt extends yr{constructor(t,o){const c=o.tracks;if(super(t,o),this.items.length<=1&&this.hide(),!c)return;const y=Za(this,this.update);c.addEventListener("removetrack",y),c.addEventListener("addtrack",y),c.addEventListener("labelchange",y),this.player_.on("ready",y),this.player_.on("dispose",function(){c.removeEventListener("removetrack",y),c.removeEventListener("addtrack",y),c.removeEventListener("labelchange",y)})}}Mn.registerComponent("TrackButton",Qt);class qt extends Bc{constructor(t,o){super(t,o),this.selectable=o.selectable,this.isSelected_=o.selected||!1,this.multiSelectable=o.multiSelectable,this.selected(this.isSelected_),this.selectable?this.multiSelectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitemradio"):this.el_.setAttribute("role","menuitem")}createEl(t,o,c){this.nonIconControl=!0;const y=super.createEl("li",Object.assign({className:"vjs-menu-item",tabIndex:-1},o),c),_=Es("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)});return this.player_.options_.experimentalSvgIcons?y.appendChild(_):y.replaceChild(_,y.querySelector(".vjs-icon-placeholder")),y}handleKeyDown(t){["Tab","Escape","ArrowUp","ArrowLeft","ArrowRight","ArrowDown"].includes(t.key)||super.handleKeyDown(t)}handleClick(t){this.selected(!0)}selected(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))}}Mn.registerComponent("MenuItem",qt);class br extends qt{constructor(t,o){const c=o.track,y=t.textTracks();o.label=c.label||c.language||"Unknown",o.selected=c.mode==="showing",super(t,o),this.track=c,this.kinds=(o.kinds||[o.kind||this.track.kind]).filter(Boolean);const _=(...H)=>{this.handleTracksChange.apply(this,H)},P=(...H)=>{this.handleSelectedLanguageChange.apply(this,H)};if(t.on(["loadstart","texttrackchange"],_),y.addEventListener("change",_),y.addEventListener("selectedlanguagechange",P),this.on("dispose",function(){t.off(["loadstart","texttrackchange"],_),y.removeEventListener("change",_),y.removeEventListener("selectedlanguagechange",P)}),y.onchange===void 0){let H;this.on(["tap","click"],function(){if(typeof O().Event!="object")try{H=new(O()).Event("change")}catch{}H||(H=D().createEvent("Event"),H.initEvent("change",!0,!0)),y.dispatchEvent(H)})}this.handleTracksChange()}handleClick(t){const o=this.track,c=this.player_.textTracks();if(super.handleClick(t),!!c)for(let y=0;y<c.length;y++){const _=c[y];this.kinds.indexOf(_.kind)!==-1&&(_===o?_.mode!=="showing"&&(_.mode="showing"):_.mode!=="disabled"&&(_.mode="disabled"))}}handleTracksChange(t){const o=this.track.mode==="showing";o!==this.isSelected_&&this.selected(o)}handleSelectedLanguageChange(t){if(this.track.mode==="showing"){const o=this.player_.cache_.selectedLanguage;if(o&&o.enabled&&o.language===this.track.language&&o.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}}dispose(){this.track=null,super.dispose()}}Mn.registerComponent("TextTrackMenuItem",br);class cn extends br{constructor(t,o){o.track={player:t,kind:o.kind,kinds:o.kinds,default:!1,mode:"disabled"},o.kinds||(o.kinds=[o.kind]),o.label?o.track.label=o.label:o.track.label=o.kinds.join(" and ")+" off",o.selectable=!0,o.multiSelectable=!1,super(t,o)}handleTracksChange(t){const o=this.player().textTracks();let c=!0;for(let y=0,_=o.length;y<_;y++){const P=o[y];if(this.options_.kinds.indexOf(P.kind)>-1&&P.mode==="showing"){c=!1;break}}c!==this.isSelected_&&this.selected(c)}handleSelectedLanguageChange(t){const o=this.player().textTracks();let c=!0;for(let y=0,_=o.length;y<_;y++){const P=o[y];if(["captions","descriptions","subtitles"].indexOf(P.kind)>-1&&P.mode==="showing"){c=!1;break}}c&&(this.player_.cache_.selectedLanguage={enabled:!1})}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.label),super.handleLanguagechange()}}Mn.registerComponent("OffTextTrackMenuItem",cn);class gn extends Qt{constructor(t,o={}){o.tracks=t.textTracks(),super(t,o)}createItems(t=[],o=br){let c;this.label_&&(c=`${this.label_} off`),t.push(new cn(this.player_,{kinds:this.kinds_,kind:this.kind_,label:c})),this.hideThreshold_+=1;const y=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(let _=0;_<y.length;_++){const P=y[_];if(this.kinds_.indexOf(P.kind)>-1){const H=new o(this.player_,{track:P,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});H.addClass(`vjs-${P.kind}-menu-item`),t.push(H)}}return t}}Mn.registerComponent("TextTrackButton",gn);class ai extends qt{constructor(t,o){const c=o.track,y=o.cue,_=t.currentTime();o.selectable=!0,o.multiSelectable=!1,o.label=y.text,o.selected=y.startTime<=_&&_<y.endTime,super(t,o),this.track=c,this.cue=y}handleClick(t){super.handleClick(),this.player_.currentTime(this.cue.startTime)}}Mn.registerComponent("ChaptersTrackMenuItem",ai);
vendor: 9,906 bytes, line 941
941class Ri extends gn{constructor(t,o,c){super(t,o,c),this.setIcon("chapters"),this.selectCurrentItem_=()=>{this.items.forEach(y=>{y.selected(this.track_.activeCues[0]===y.cue)})}}buildCSSClass(){return`vjs-chapters-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-chapters-button ${super.buildWrapperCSSClass()}`}update(t){if(t&&t.track&&t.track.kind!=="chapters")return;const o=this.findChaptersTrack();o!==this.track_?(this.setTrack(o),super.update()):(!this.items||o&&o.cues&&o.cues.length!==this.items.length)&&super.update()}setTrack(t){if(this.track_!==t){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){const o=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);o&&o.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=t,this.track_){this.track_.mode="hidden";const o=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);o&&o.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}}findChaptersTrack(){const t=this.player_.textTracks()||[];for(let o=t.length-1;o>=0;o--){const c=t[o];if(c.kind===this.kind_)return c}}getMenuCaption(){return this.track_&&this.track_.label?this.track_.label:this.localize(Ua(this.kind_))}createMenu(){return this.options_.title=this.getMenuCaption(),super.createMenu()}createItems(){const t=[];if(!this.track_)return t;const o=this.track_.cues;if(!o)return t;for(let c=0,y=o.length;c<y;c++){const _=o[c],P=new ai(this.player_,{track:this.track_,cue:_});t.push(P)}return t}}Ri.prototype.kind_="chapters",Ri.prototype.controlText_="Chapters",Mn.registerComponent("ChaptersButton",Ri);class ps extends gn{constructor(t,o,c){super(t,o,c),this.setIcon("audio-description");const y=t.textTracks(),_=Za(this,this.handleTracksChange);y.addEventListener("change",_),this.on("dispose",function(){y.removeEventListener("change",_)})}handleTracksChange(t){const o=this.player().textTracks();let c=!1;for(let y=0,_=o.length;y<_;y++){const P=o[y];if(P.kind!==this.kind_&&P.mode==="showing"){c=!0;break}}c?this.disable():this.enable()}buildCSSClass(){return`vjs-descriptions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-descriptions-button ${super.buildWrapperCSSClass()}`}}ps.prototype.kind_="descriptions",ps.prototype.controlText_="Descriptions",Mn.registerComponent("DescriptionsButton",ps);class Hs extends gn{constructor(t,o,c){super(t,o,c),this.setIcon("subtitles")}buildCSSClass(){return`vjs-subtitles-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subtitles-button ${super.buildWrapperCSSClass()}`}}Hs.prototype.kind_="subtitles",Hs.prototype.controlText_="Subtitles",Mn.registerComponent("SubtitlesButton",Hs);class Qs extends br{constructor(t,o){o.track={player:t,kind:o.kind,label:o.kind+" settings",selectable:!1,default:!1,mode:"disabled"},o.selectable=!1,o.name="CaptionSettingsMenuItem",super(t,o),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+o.kind+" settings dialog")}handleClick(t){this.player().getChild("textTrackSettings").open()}handleLanguagechange(){this.$(".vjs-menu-item-text").textContent=this.player_.localize(this.options_.kind+" settings"),super.handleLanguagechange()}}Mn.registerComponent("CaptionSettingsMenuItem",Qs);class la extends gn{constructor(t,o,c){super(t,o,c),this.setIcon("captions")}buildCSSClass(){return`vjs-captions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-captions-button ${super.buildWrapperCSSClass()}`}createItems(){const t=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(t.push(new Qs(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),super.createItems(t)}}la.prototype.kind_="captions",la.prototype.controlText_="Captions",Mn.registerComponent("CaptionsButton",la);class ko extends br{createEl(t,o,c){const y=super.createEl(t,o,c),_=y.querySelector(".vjs-menu-item-text");return this.options_.track.kind==="captions"&&(this.player_.options_.experimentalSvgIcons?this.setIcon("captions",y):_.appendChild(Es("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),_.appendChild(Es("span",{className:"vjs-control-text",textContent:` ${this.localize("Captions")}`}))),y}}Mn.registerComponent("SubsCapsMenuItem",ko);class zi extends gn{constructor(t,o={}){super(t,o),this.label_="subtitles",this.setIcon("subtitles"),["en","en-us","en-ca","fr-ca"].indexOf(this.player_.language_)>-1&&(this.label_="captions",this.setIcon("captions")),this.menuButton_.controlText(Ua(this.label_))}buildCSSClass(){return`vjs-subs-caps-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-subs-caps-button ${super.buildWrapperCSSClass()}`}createItems(){let t=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(t.push(new Qs(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=super.createItems(t,ko),t}}zi.prototype.kinds_=["captions","subtitles"],zi.prototype.controlText_="Subtitles",Mn.registerComponent("SubsCapsButton",zi);class Ns extends qt{constructor(t,o){const c=o.track,y=t.audioTracks();o.label=c.label||c.language||"Unknown",o.selected=c.enabled,super(t,o),this.track=c,this.addClass(`vjs-${c.kind}-menu-item`);const _=(...P)=>{this.handleTracksChange.apply(this,P)};y.addEventListener("change",_),this.on("dispose",()=>{y.removeEventListener("change",_)})}createEl(t,o,c){const y=super.createEl(t,o,c),_=y.querySelector(".vjs-menu-item-text");return["main-desc","descriptions"].indexOf(this.options_.track.kind)>=0&&(_.appendChild(Es("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),_.appendChild(Es("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),y}handleClick(t){if(super.handleClick(t),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks){const o=this.player_.audioTracks();for(let c=0;c<o.length;c++){const y=o[c];y!==this.track&&(y.enabled=y===this.track)}}}handleTracksChange(t){this.selected(this.track.enabled)}}Mn.registerComponent("AudioTrackMenuItem",Ns);class Ta extends Qt{constructor(t,o={}){o.tracks=t.audioTracks(),super(t,o),this.setIcon("audio")}buildCSSClass(){return`vjs-audio-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-audio-button ${super.buildWrapperCSSClass()}`}createItems(t=[]){this.hideThreshold_=1;const o=this.player_.audioTracks();for(let c=0;c<o.length;c++){const y=o[c];t.push(new Ns(this.player_,{track:y,selectable:!0,multiSelectable:!1}))}return t}}Ta.prototype.controlText_="Audio Track",Mn.registerComponent("AudioTrackButton",Ta);class to extends qt{constructor(t,o){const c=o.rate,y=parseFloat(c,10);o.label=c,o.selected=y===t.playbackRate(),o.selectable=!0,o.multiSelectable=!1,super(t,o),this.label=c,this.rate=y,this.on(t,"ratechange",_=>this.update(_))}handleClick(t){super.handleClick(),this.player().playbackRate(this.rate)}update(t){this.selected(this.player().playbackRate()===this.rate)}}to.prototype.contentElType="button",Mn.registerComponent("PlaybackRateMenuItem",to);class Tc extends yr{constructor(t,o){super(t,o),this.menuButton_.el_.setAttribute("aria-describedby",this.labelElId_),this.updateVisibility(),this.updateLabel(),this.on(t,"loadstart",c=>this.updateVisibility(c)),this.on(t,"ratechange",c=>this.updateLabel(c)),this.on(t,"playbackrateschange",c=>this.handlePlaybackRateschange(c))}createEl(){const t=super.createEl();return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=Es("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),t.appendChild(this.labelEl_),t}dispose(){this.labelEl_=null,super.dispose()}buildCSSClass(){return`vjs-playback-rate ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-playback-rate ${super.buildWrapperCSSClass()}`}createItems(){const t=this.playbackRates(),o=[];for(let c=t.length-1;c>=0;c--)o.push(new to(this.player(),{rate:t[c]+"x"}));return o}handlePlaybackRateschange(t){this.update()}playbackRates(){const t=this.player();return t.playbackRates&&t.playbackRates()||[]}playbackRateSupported(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0}updateVisibility(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")}updateLabel(t){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")}}Tc.prototype.controlText_="Playback Rate",Mn.registerComponent("PlaybackRateMenuButton",Tc);class id extends Mn{buildCSSClass(){return`vjs-spacer ${super.buildCSSClass()}`}createEl(t="div",o={},c={}){return o.className||(o.className=this.buildCSSClass()),super.createEl(t,o,c)}}Mn.registerComponent("Spacer",id);class ao extends id{buildCSSClass(){return`vjs-custom-control-spacer ${super.buildCSSClass()}`}createEl(){return super.createEl("div",{className:this.buildCSSClass(),textContent:"\xA0"})}}Mn.registerComponent("CustomControlSpacer",ao);class bo extends Mn{createEl(){return super.createEl("div",{className:"vjs-control-bar",dir:"ltr"})}}bo.prototype.options_={children:["playToggle","skipBackward","skipForward","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","pictureInPictureToggle","fullscreenToggle"]},Mn.registerComponent("ControlBar",bo);class Hl extends rc{constructor(t,o){super(t,o),this.on(t,"error",c=>{this.open(c)})}buildCSSClass(){return`vjs-error-display ${super.buildCSSClass()}`}content(){const t=this.player().error();return t?this.localize(t.message):""}}Hl.prototype.options_=Object.assign({}
vendor: 41,934 bytes, lines 941-951
941,rc.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),Mn.registerComponent("ErrorDisplay",Hl);class sd extends Mn{constructor(t,o={}){super(t,o),this.el_.setAttribute("aria-labelledby",this.selectLabelledbyIds)}createEl(){return this.selectLabelledbyIds=[this.options_.legendId,this.options_.labelId].join(" ").trim(),Es("select",{id:this.options_.id},{},this.options_.SelectOptions.map(o=>{const c=(this.options_.labelId?this.options_.labelId:`vjs-track-option-${Mu()}`)+"-"+o[1].replace(/\W+/g,""),y=Es("option",{id:c,value:this.localize(o[0]),textContent:this.localize(o[1])});return y.setAttribute("aria-labelledby",`${this.selectLabelledbyIds} ${c}`),y}))}}Mn.registerComponent("TextTrackSelect",sd);class au extends Mn{constructor(t,o={}){super(t,o);const c=Es("legend",{textContent:this.localize(this.options_.legendText),id:this.options_.legendId});this.el().appendChild(c);const y=this.options_.selects;for(const _ of y){const P=this.options_.selectConfigs[_],H=P.className,ue=P.id.replace("%s",this.options_.id_);let Te=null;const Ye=`vjs_select_${Mu()}`;if(this.options_.type==="colors"){Te=Es("span",{className:H});const or=Es("label",{id:ue,className:"vjs-label",textContent:this.localize(P.label)});or.setAttribute("for",Ye),Te.appendChild(or)}const xt=new sd(t,{SelectOptions:P.options,legendId:this.options_.legendId,id:Ye,labelId:ue});this.addChild(xt),this.options_.type==="colors"&&(Te.appendChild(xt.el()),this.el().appendChild(Te))}}createEl(){return Es("fieldset",{className:this.options_.className})}}Mn.registerComponent("TextTrackFieldset",au);class xd extends Mn{constructor(t,o={}){super(t,o);const c=this.options_.textTrackComponentid,y=new au(t,{id_:c,legendId:`captions-text-legend-${c}`,legendText:this.localize("Text"),className:"vjs-fg vjs-track-setting",selects:this.options_.fieldSets[0],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(y);const _=new au(t,{id_:c,legendId:`captions-background-${c}`,legendText:this.localize("Text Background"),className:"vjs-bg vjs-track-setting",selects:this.options_.fieldSets[1],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(_);const P=new au(t,{id_:c,legendId:`captions-window-${c}`,legendText:this.localize("Caption Area Background"),className:"vjs-window vjs-track-setting",selects:this.options_.fieldSets[2],selectConfigs:this.options_.selectConfigs,type:"colors"});this.addChild(P)}createEl(){return Es("div",{className:"vjs-track-settings-colors"})}}Mn.registerComponent("TextTrackSettingsColors",xd);class Uc extends Mn{constructor(t,o={}){super(t,o);const c=this.options_.textTrackComponentid,y=new au(t,{id_:c,legendId:`captions-font-size-${c}`,legendText:"Font Size",className:"vjs-font-percent vjs-track-setting",selects:this.options_.fieldSets[0],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(y);const _=new au(t,{id_:c,legendId:`captions-edge-style-${c}`,legendText:this.localize("Text Edge Style"),className:"vjs-edge-style vjs-track-setting",selects:this.options_.fieldSets[1],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(_);const P=new au(t,{id_:c,legendId:`captions-font-family-${c}`,legendText:this.localize("Font Family"),className:"vjs-font-family vjs-track-setting",selects:this.options_.fieldSets[2],selectConfigs:this.options_.selectConfigs,type:"font"});this.addChild(P)}createEl(){return Es("div",{className:"vjs-track-settings-font"})}}Mn.registerComponent("TextTrackSettingsFont",Uc);class Cl extends Mn{constructor(t,o={}){super(t,o);const c=new Uo(t,{controlText:this.localize("restore all settings to the default values"),className:"vjs-default-button"});c.el().classList.remove("vjs-control","vjs-button"),c.el().textContent=this.localize("Reset"),this.addChild(c);const y=this.localize("Done"),_=new Uo(t,{controlText:y,className:"vjs-done-button"});_.el().classList.remove("vjs-control","vjs-button"),_.el().textContent=y,this.addChild(_)}createEl(){return Es("div",{className:"vjs-track-settings-controls"})}}Mn.registerComponent("TrackSettingsControls",Cl);const pl="vjs-text-track-settings",Fu=["#000","Black"],Bu=["#00F","Blue"],ml=["#0FF","Cyan"],Zu=["#0F0","Green"],ad=["#F0F","Magenta"],Nd=["#F00","Red"],od=["#FFF","White"],gl=["#FF0","Yellow"],qu=["1","Opaque"],Fd=["0.5","Semi-Transparent"],ud=["0","Transparent"],Wl={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Fu,od,Nd,Zu,Bu,gl,ad,ml],className:"vjs-bg-color"},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Opacity",options:[qu,Fd,ud],className:"vjs-bg-opacity vjs-opacity"},color:{selector:".vjs-text-color > select",id:"captions-foreground-color-%s",label:"Color",options:[od,Fu,Nd,Zu,Bu,gl,ad,ml],className:"vjs-text-color"},edgeStyle:{selector:".vjs-edge-style > select",id:"",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Drop shadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:p=>p==="1.00"?null:Number(p)},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Opacity",options:[qu,Fd],className:"vjs-text-opacity vjs-opacity"},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color",className:"vjs-window-color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Opacity",options:[ud,Fd,qu],className:"vjs-window-opacity vjs-opacity"}};Wl.windowColor.options=Wl.backgroundColor.options;function sf(p,t){if(t&&(p=t(p)),p&&p!=="none")return p}function wc(p,t){const o=p.options[p.options.selectedIndex].value;return sf(o,t)}function _c(p,t,o){if(t){for(let c=0;c<p.options.length;c++)if(sf(p.options[c].value,o)===t){p.selectedIndex=c;break}}}class Bd extends rc{constructor(t,o){o.temporary=!1,super(t,o),this.updateDisplay=this.updateDisplay.bind(this),this.fill(),this.hasBeenOpened_=this.hasBeenFilled_=!0,this.renderModalComponents(t),this.endDialog=Es("p",{className:"vjs-control-text",textContent:this.localize("End of dialog window.")}),this.el().appendChild(this.endDialog),this.setDefaults(),o.persistTextTrackSettings===void 0&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),this.bindFunctionsToSelectsAndButtons(),this.options_.persistTextTrackSettings&&this.restoreSettings()}renderModalComponents(t){const o=new xd(t,{textTrackComponentid:this.id_,selectConfigs:Wl,fieldSets:[["color","textOpacity"],["backgroundColor","backgroundOpacity"],["windowColor","windowOpacity"]]});this.addChild(o);const c=new Uc(t,{textTrackComponentid:this.id_,selectConfigs:Wl,fieldSets:[["fontPercent"],["edgeStyle"],["fontFamily"]]});this.addChild(c);const y=new Cl(t);this.addChild(y)}bindFunctionsToSelectsAndButtons(){this.on(this.$(".vjs-done-button"),["click","tap"],()=>{this.saveSettings(),this.close()}),this.on(this.$(".vjs-default-button"),["click","tap"],()=>{this.setDefaults(),this.updateDisplay()}),Va(Wl,t=>{this.on(this.$(t.selector),"change",this.updateDisplay)})}dispose(){this.endDialog=null,super.dispose()}label(){return this.localize("Caption Settings Dialog")}description(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")}buildCSSClass(){return super.buildCSSClass()+" vjs-text-track-settings"}getValues(){return ol(Wl,(t,o,c)=>{const y=wc(this.$(o.selector),o.parser);return y!==void 0&&(t[c]=y),t},{})}setValues(t){Va(Wl,(o,c)=>{_c(this.$(o.selector),t[c],o.parser)})}setDefaults(){Va(Wl,t=>{const o=t.hasOwnProperty("default")?t.default:0;this.$(t.selector).selectedIndex=o})}restoreSettings(){let t;try{t=JSON.parse(O().localStorage.getItem(pl))}catch(o){_i.warn(o)}t&&this.setValues(t)}saveSettings(){if(!this.options_.persistTextTrackSettings)return;const t=this.getValues();try{Object.keys(t).length?O().localStorage.setItem(pl,JSON.stringify(t)):O().localStorage.removeItem(pl)}catch(o){_i.warn(o)}}updateDisplay(){const t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()}handleLanguagechange(){this.fill(),this.renderModalComponents(this.player_),this.bindFunctionsToSelectsAndButtons()}}Mn.registerComponent("TextTrackSettings",Bd);class Al extends Mn{constructor(t,o){let c=o.ResizeObserver||O().ResizeObserver;o.ResizeObserver===null&&(c=!1);const y=sa({createEl:!c,reportTouchActivity:!1},o);super(t,y),this.ResizeObserver=o.ResizeObserver||O().ResizeObserver,this.loadListener_=null,this.resizeObserver_=null,this.debouncedHandler_=Zc(()=>{this.resizeHandler()},100,!1,this),c?(this.resizeObserver_=new this.ResizeObserver(this.debouncedHandler_),this.resizeObserver_.observe(t.el())):(this.loadListener_=()=>{if(!this.el_||!this.el_.contentWindow)return;const _=this.debouncedHandler_;let P=this.unloadListener_=function(){ni(this,"resize",_),ni(this,"unload",P),P=null};wo(this.el_.contentWindow,"unload",P),wo(this.el_.contentWindow,"resize",_)},this.one("load",this.loadListener_))}createEl(){return super.createEl("iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})}resizeHandler(){!this.player_||!this.player_.trigger||this.player_.trigger("playerresize")}dispose(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,super.dispose()}}Mn.registerComponent("ResizeManager",Al);const jc={trackingThreshold:20,liveTolerance:15};class gf extends Mn{constructor(t,o){const c=sa(jc,o,{createEl:!1});super(t,c),this.trackLiveHandler_=()=>this.trackLive_(),this.handlePlay_=y=>this.handlePlay(y),this.handleFirstTimeupdate_=y=>this.handleFirstTimeupdate(y),this.handleSeeked_=y=>this.handleSeeked(y),this.seekToLiveEdge_=y=>this.seekToLiveEdge(y),this.reset_(),this.on(this.player_,"durationchange",y=>this.handleDurationchange(y)),this.on(this.player_,"canplay",()=>this.toggleTracking())}trackLive_(){const t=this.player_.seekable();if(!t||!t.length)return;const o=Number(O().performance.now().toFixed(4)),c=this.lastTime_===-1?0:(o-this.lastTime_)/1e3;this.lastTime_=o,this.pastSeekEnd_=this.pastSeekEnd()+c;const y=this.liveCurrentTime(),_=this.player_.currentTime();let P=this.player_.paused()||this.seekedBehindLive_||Math.abs(y-_)>this.options_.liveTolerance;(!this.timeupdateSeen_||y===1/0)&&(P=!1),P!==this.behindLiveEdge_&&(this.behindLiveEdge_=P,this.trigger("liveedgechange"))}handleDurationchange(){this.toggleTracking()}toggleTracking(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())}startTracking(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,tu),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))}handleFirstTimeupdate(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)}handleSeeked(){const t=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&t>2,this.nextSeekedFromUser_=!1,this.trackLive_()}handlePlay(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)}reset_(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)}nextSeekedFromUser(){this.nextSeekedFromUser_=!0}stopTracking(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))}seekableEnd(){const t=this.player_.seekable(),o=[];let c=t?t.length:0;for(;c--;)o.push(t.end(c));return o.length?o.sort()[o.length-1]:1/0}seekableStart(){const t=this.player_.seekable(),o=[];let c=t?t.length:0;for(;c--;)o.push(t.start(c));return o.length?o.sort()[0]:0}liveWindow(){const t=this.liveCurrentTime();return t===1/0?0:t-this.seekableStart()}isLive(){return this.isTracking()}atLiveEdge(){return!this.behindLiveEdge()}liveCurrentTime(){return this.pastSeekEnd()+this.seekableEnd()}pastSeekEnd(){const t=this.seekableEnd();return this.lastSeekEnd_!==-1&&t!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=t,this.pastSeekEnd_}behindLiveEdge(){return this.behindLiveEdge_}isTracking(){return typeof this.trackingInterval_=="number"}seekToLiveEdge(){this.seekedBehindLive_=!1,!this.atLiveEdge()&&(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))}dispose(){this.stopTracking(),super.dispose()}}Mn.registerComponent("LiveTracker",gf);class Ed extends Mn{constructor(t,o){super(t,o),this.on("statechanged",c=>this.updateDom_()),this.updateDom_()}createEl(){return this.els={title:Es("div",{className:"vjs-title-bar-title",id:`vjs-title-bar-title-${Mu()}`}),description:Es("div",{className:"vjs-title-bar-description",id:`vjs-title-bar-description-${Mu()}`})},Es("div",{className:"vjs-title-bar"},{},Ru(this.els))}updateDom_(){const t=this.player_.tech_,o=t&&t.el_,c={title:"aria-labelledby",description:"aria-describedby"};["title","description"].forEach(y=>{const _=this.state[y],P=this.els[y],H=c[y];po(P),_&&Tu(P,_),o&&(o.removeAttribute(H),_&&o.setAttribute(H,P.id))}),this.state.title||this.state.description?this.show():this.hide()}update(t){this.setState(t)}dispose(){const t=this.player_.tech_,o=t&&t.el_;o&&(o.removeAttribute("aria-labelledby"),o.removeAttribute("aria-describedby")),super.dispose(),this.els=null}}Mn.registerComponent("TitleBar",Ed);const af={initialDisplay:4e3,position:[],takeFocus:!1};class vf extends Uo{constructor(t,o){o=sa(af,o),super(t,o),this.controlText(o.controlText),this.hide(),this.on(this.player_,["useractive","userinactive"],c=>{this.removeClass("force-display")})}buildCSSClass(){return`vjs-transient-button focus-visible ${this.options_.position.map(t=>`vjs-${t}`).join(" ")}`}createEl(){const t=Es("button",{},{type:"button",class:this.buildCSSClass()},Es("span"));return this.controlTextEl_=t.querySelector("span"),t}show(){super.show(),this.addClass("force-display"),this.options_.takeFocus&&this.el().focus({preventScroll:!0}),this.forceDisplayTimeout=this.player_.setTimeout(()=>{this.removeClass("force-display")},this.options_.initialDisplay)}hide(){this.removeClass("force-display"),super.hide()}dispose(){this.player_.clearTimeout(this.forceDisplayTimeout),super.dispose()}}Mn.registerComponent("TransientButton",vf);const Mf=p=>{const t=p.el();if(t.hasAttribute("src"))return p.triggerSourceset(t.src),!0;const o=p.$$("source"),c=[];let y="";if(!o.length)return!1;for(let _=0;_<o.length;_++){const P=o[_].src;P&&c.indexOf(P)===-1&&c.push(P)}return c.length?(c.length===1&&(y=c[0]),p.triggerSourceset(y),!0):!1},kf=Object.defineProperty({},"innerHTML",{get(){return this.cloneNode(!0).innerHTML},set(p){const t=D().createElement(this.nodeName.toLowerCase());t.innerHTML=p;const o=D().createDocumentFragment();for(;t.childNodes.length;)o.appendChild(t.childNodes[0]);return this.innerText="",O().Element.prototype.appendChild.call(this,o),this.innerHTML}}),Ud=(p,t)=>{let o={};for(let c=0;c<p.length&&(o=Object.getOwnPropertyDescriptor(p[c],t),!(o&&o.set&&o.get));c++);return o.enumerable=!0,o.configurable=!0,o},Nf=p=>Ud([p.el(),O().HTMLMediaElement.prototype,O().Element.prototype,kf],"innerHTML"),jd=function(p){const t=p.el();if(t.resetSourceWatch_)return;const o={},c=Nf(p),y=_=>(...P)=>{const H=_.apply(t,P);return Mf(p),H};["append","appendChild","insertAdjacentHTML"].forEach(_=>{t[_]&&(o[_]=t[_],t[_]=y(o[_]))}),Object.defineProperty(t,"innerHTML",sa(c,{set:y(c.set)})),t.resetSourceWatch_=()=>{t.resetSourceWatch_=null,Object.keys(o).forEach(_=>{t[_]=o[_]}),Object.defineProperty(t,"innerHTML",c)},p.one("sourceset",t.resetSourceWatch_)},of=Object.defineProperty({},"src",{get(){return this.hasAttribute("src")?_s(O().Element.prototype.getAttribute.call(this,"src")):""},set(p){return O().Element.prototype.setAttribute.call(this,"src",p),p}}),Ff=p=>Ud([p.el(),O().HTMLMediaElement.prototype,of],"src"),ih=function(p){if(!p.featuresSourceset)return;const t=p.el();if(t.resetSourceset_)return;const o=Ff(p),c=t.setAttribute,y=t.load;Object.defineProperty(t,"src",sa(o,{set:_=>{const P=o.set.call(t,_);return p.triggerSourceset(t.src),P}})),t.setAttribute=(_,P)=>{const H=c.call(t,_,P);return/src/i.test(_)&&p.triggerSourceset(t.src),H},t.load=()=>{const _=y.call(t);return Mf(p)||(p.triggerSourceset(""),jd(p)),_},t.currentSrc?p.triggerSourceset(t.currentSrc):Mf(p)||jd(p),t.resetSourceset_=()=>{t.resetSourceset_=null,t.load=y,t.setAttribute=c,Object.defineProperty(t,"src",o),t.resetSourceWatch_&&t.resetSourceWatch_()}};class Qi extends Pi{constructor(t,o){super(t,o);const c=t.source;let y=!1;if(this.featuresVideoFrameCallback=this.featuresVideoFrameCallback&&this.el_.tagName==="VIDEO",c&&(this.el_.currentSrc!==c.src||t.tag&&t.tag.initNetworkState_===3)?this.setSource(c):this.handleLateInit_(this.el_),t.enableSourceset&&this.setupSourcesetHandling_(),this.isScrubbing_=!1,this.el_.hasChildNodes()){const _=this.el_.childNodes;let P=_.length;const H=[];for(;P--;){const ue=_[P];ue.nodeName.toLowerCase()==="track"&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(ue),this.remoteTextTracks().addTrack(ue.track),this.textTracks().addTrack(ue.track),!y&&!this.el_.hasAttribute("crossorigin")&&yo(ue.src)&&(y=!0)):H.push(ue))}for(let ue=0;ue<H.length;ue++)this.el_.removeChild(H[ue])}this.proxyNativeTracks_(),this.featuresNativeTextTracks&&y&&_i.warn(`Text Tracks are being loaded from another origin but the crossorigin attribute isn't used. 942This may prevent text tracks from loading.`),this.restoreMetadataTracksInIOSNativePlayer_(),(Zo||ei)&&t.nativeControlsForTouch===!0&&this.setControls(!0),this.proxyWebkitFullscreen_(),this.triggerReady()}dispose(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),Qi.disposeMediaElement(this.el_),this.options_=null,super.dispose()}setupSourcesetHandling_(){ih(this)}restoreMetadataTracksInIOSNativePlayer_(){const t=this.textTracks();let o;const c=()=>{o=[];for(let _=0;_<t.length;_++){const P=t[_];P.kind==="metadata"&&o.push({track:P,storedMode:P.mode})}};c(),t.addEventListener("change",c),this.on("dispose",()=>t.removeEventListener("change",c));const y=()=>{for(let _=0;_<o.length;_++){const P=o[_];P.track.mode==="disabled"&&P.track.mode!==P.storedMode&&(P.track.mode=P.storedMode)}t.removeEventListener("change",y)};this.on("webkitbeginfullscreen",()=>{t.removeEventListener("change",c),t.removeEventListener("change",y),t.addEventListener("change",y)}),this.on("webkitendfullscreen",()=>{t.removeEventListener("change",c),t.addEventListener("change",c),t.removeEventListener("change",y)})}overrideNative_(t,o){if(o!==this[`featuresNative${t}Tracks`])return;const c=t.toLowerCase();this[`${c}TracksListeners_`]&&Object.keys(this[`${c}TracksListeners_`]).forEach(y=>{this.el()[`${c}Tracks`].removeEventListener(y,this[`${c}TracksListeners_`][y])}),this[`featuresNative${t}Tracks`]=!o,this[`${c}TracksListeners_`]=null,this.proxyNativeTracksForType_(c)}overrideNativeAudioTracks(t){this.overrideNative_("Audio",t)}overrideNativeVideoTracks(t){this.overrideNative_("Video",t)}proxyNativeTracksForType_(t){const o=Qu[t],c=this.el()[o.getterName],y=this[o.getterName]();if(!this[`featuresNative${o.capitalName}Tracks`]||!c||!c.addEventListener)return;const _={change:H=>{const ue={type:"change",target:y,currentTarget:y,srcElement:y};y.trigger(ue),t==="text"&&this[nc.remoteText.getterName]().trigger(ue)},addtrack(H){y.addTrack(H.track)},removetrack(H){y.removeTrack(H.track)}},P=function(){const H=[];for(let ue=0;ue<y.length;ue++){let Te=!1;for(let Ye=0;Ye<c.length;Ye++)if(c[Ye]===y[ue]){Te=!0;break}Te||H.push(y[ue])}for(;H.length;)y.removeTrack(H.shift())};this[o.getterName+"Listeners_"]=_,Object.keys(_).forEach(H=>{const ue=_[H];c.addEventListener(H,ue),this.on("dispose",Te=>c.removeEventListener(H,ue))}),this.on("loadstart",P),this.on("dispose",H=>this.off("loadstart",P))}proxyNativeTracks_(){Qu.names.forEach(t=>{this.proxyNativeTracksForType_(t)})}createEl(){let t=this.options_.tag;if(!t||!(this.options_.playerElIngest||this.movingMediaElementInDOM)){if(t){const c=t.cloneNode(!0);t.parentNode&&t.parentNode.insertBefore(c,t),Qi.disposeMediaElement(t),t=c}else{t=D().createElement("video");const c=this.options_.tag&&Rr(this.options_.tag),y=sa({},c);(!Zo||this.options_.nativeControlsForTouch!==!0)&&delete y.controls,Jt(t,Object.assign(y,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}typeof this.options_.preload<"u"&&Kn(t,"preload",this.options_.preload),this.options_.disablePictureInPicture!==void 0&&(t.disablePictureInPicture=this.options_.disablePictureInPicture);const o=["loop","muted","playsinline","autoplay"];for(let c=0;c<o.length;c++){const y=o[c],_=this.options_[y];typeof _<"u"&&(_?Kn(t,y,y):Bi(t,y),t[y]=_)}return t}handleLateInit_(t){if(t.networkState===0||t.networkState===3)return;if(t.readyState===0){let c=!1;const y=function(){c=!0};this.on("loadstart",y);const _=function(){c||this.trigger("loadstart")};this.on("loadedmetadata",_),this.ready(function(){this.off("loadstart",y),this.off("loadedmetadata",_),c||this.trigger("loadstart")});return}const o=["loadstart"];o.push("loadedmetadata"),t.readyState>=2&&o.push("loadeddata"),t.readyState>=3&&o.push("canplay"),t.readyState>=4&&o.push("canplaythrough"),this.ready(function(){o.forEach(function(c){this.trigger(c)},this)})}setScrubbing(t){this.isScrubbing_=t}scrubbing(){return this.isScrubbing_}setCurrentTime(t){try{this.isScrubbing_&&this.el_.fastSeek&&tl?this.el_.fastSeek(t):this.el_.currentTime=t}catch(o){_i(o,"Video is not ready. (Video.js)")}}duration(){if(this.el_.duration===1/0&&Jo&&uo&&this.el_.currentTime===0){const t=()=>{this.el_.currentTime>0&&(this.el_.duration===1/0&&this.trigger("durationchange"),this.off("timeupdate",t))};return this.on("timeupdate",t),NaN}return this.el_.duration||NaN}width(){return this.el_.offsetWidth}height(){return this.el_.offsetHeight}proxyWebkitFullscreen_(){if(!("webkitDisplayingFullscreen"in this.el_))return;const t=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},o=function(){"webkitPresentationMode"in this.el_&&this.el_.webkitPresentationMode!=="picture-in-picture"&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",o),this.on("dispose",()=>{this.off("webkitbeginfullscreen",o),this.off("webkitendfullscreen",t)})}supportsFullScreen(){return typeof this.el_.webkitEnterFullScreen=="function"}enterFullScreen(){const t=this.el_;if(t.paused&&t.networkState<=t.HAVE_METADATA)_u(this.el_.play()),this.setTimeout(function(){t.pause();try{t.webkitEnterFullScreen()}catch(o){this.trigger("fullscreenerror",o)}},0);else try{t.webkitEnterFullScreen()}catch(o){this.trigger("fullscreenerror",o)}}exitFullScreen(){if(!this.el_.webkitDisplayingFullscreen){this.trigger("fullscreenerror",new Error("The video is not fullscreen"));return}this.el_.webkitExitFullScreen()}requestPictureInPicture(){return this.el_.requestPictureInPicture()}requestVideoFrameCallback(t){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(t):super.requestVideoFrameCallback(t)}cancelVideoFrameCallback(t){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(t):super.cancelVideoFrameCallback(t)}src(t){if(t===void 0)return this.el_.src;this.setSrc(t)}addSourceElement(t,o){if(!t)return _i.error("Invalid source URL."),!1;const c={src:t};o&&(c.type=o);const y=Es("source",{},c);return this.el_.appendChild(y),!0}removeSourceElement(t){if(!t)return _i.error("Source URL is required to remove the source element."),!1;const o=this.el_.querySelectorAll("source");for(const c of o)if(c.src===t)return this.el_.removeChild(c),!0;return _i.warn(`No matching source element found with src: ${t}`),!1}reset(){Qi.resetMediaElement(this.el_)}currentSrc(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc}setControls(t){this.el_.controls=!!t}addTextTrack(t,o,c){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,o,c):super.addTextTrack(t,o,c)}createRemoteTextTrack(t){if(!this.featuresNativeTextTracks)return super.createRemoteTextTrack(t);const o=D().createElement("track");return t.kind&&(o.kind=t.kind),t.label&&(o.label=t.label),(t.language||t.srclang)&&(o.srclang=t.language||t.srclang),t.default&&(o.default=t.default),t.id&&(o.id=t.id),t.src&&(o.src=t.src),o}addRemoteTextTrack(t,o){const c=super.addRemoteTextTrack(t,o);return this.featuresNativeTextTracks&&this.el().appendChild(c),c}removeRemoteTextTrack(t){if(super.removeRemoteTextTrack(t),this.featuresNativeTextTracks){const o=this.$$("track");let c=o.length;for(;c--;)(t===o[c]||t===o[c].track)&&this.el().removeChild(o[c])}}getVideoPlaybackQuality(){if(typeof this.el().getVideoPlaybackQuality=="function")return this.el().getVideoPlaybackQuality();const t={};return typeof this.el().webkitDroppedFrameCount<"u"&&typeof this.el().webkitDecodedFrameCount<"u"&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),O().performance&&(t.creationTime=O().performance.now()),t}}Ca(Qi,"TEST_VID",function(){if(!hu())return;const p=D().createElement("video"),t=D().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",p.appendChild(t),p}),Qi.isSupported=function(){try{Qi.TEST_VID.volume=.5}catch{return!1}return!!(Qi.TEST_VID&&Qi.TEST_VID.canPlayType)},Qi.canPlayType=function(p){return Qi.TEST_VID.canPlayType(p)},Qi.canPlaySource=function(p,t){return Qi.canPlayType(p.type)},Qi.canControlVolume=function(){try{const p=Qi.TEST_VID.volume;Qi.TEST_VID.volume=p/2+.1;const t=p!==Qi.TEST_VID.volume;return t&&Qa?(O().setTimeout(()=>{Qi&&Qi.prototype&&(Qi.prototype.featuresVolumeControl=p!==Qi.TEST_VID.volume)}),!1):t}catch{return!1}},Qi.canMuteVolume=function(){try{const p=Qi.TEST_VID.muted;return Qi.TEST_VID.muted=!p,Qi.TEST_VID.muted?Kn(Qi.TEST_VID,"muted","muted"):Bi(Qi.TEST_VID,"muted","muted"),p!==Qi.TEST_VID.muted}catch{return!1}},Qi.canControlPlaybackRate=function(){if(Jo&&uo&&Du<58)return!1;try{const p=Qi.TEST_VID.playbackRate;return Qi.TEST_VID.playbackRate=p/2+.1,p!==Qi.TEST_VID.playbackRate}catch{return!1}},Qi.canOverrideAttributes=function(){try{const p=()=>{};Object.defineProperty(D().createElement("video"),"src",{get:p,set:p}),Object.defineProperty(D().createElement("audio"),"src",{get:p,set:p}),Object.defineProperty(D().createElement("video"),"innerHTML",{get:p,set:p}),Object.defineProperty(D().createElement("audio"),"innerHTML",{get:p,set:p})}catch{return!1}return!0},Qi.supportsNativeTextTracks=function(){return tl||Qa&&uo},Qi.supportsNativeVideoTracks=function(){return!!(Qi.TEST_VID&&Qi.TEST_VID.videoTracks)},Qi.supportsNativeAudioTracks=function(){return!!(Qi.TEST_VID&&Qi.TEST_VID.audioTracks)},Qi.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach(function([p,t]){Ca(Qi.prototype,p,()=>Qi[t](),!0)}),Qi.prototype.featuresVolumeControl=Qi.canControlVolume(),Qi.prototype.movingMediaElementInDOM=!Qa,Qi.prototype.featuresFullscreenResize=!0,Qi.prototype.featuresProgressEvents=!0,Qi.prototype.featuresTimeupdateEvents=!0,Qi.prototype.featuresVideoFrameCallback=!!(Qi.TEST_VID&&Qi.TEST_VID.requestVideoFrameCallback),Qi.disposeMediaElement=function(p){if(p){for(p.parentNode&&p.parentNode.removeChild(p);p.hasChildNodes();)p.removeChild(p.firstChild);p.removeAttribute("src"),typeof p.load=="function"&&(function(){try{p.load()}catch{}})()}},Qi.resetMediaElement=function(p){if(!p)return;const t=p.querySelectorAll("source");let o=t.length;for(;o--;)p.removeChild(t[o]);p.removeAttribute("src"),typeof p.load=="function"&&(function(){try{p.load()}catch{}})()},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(p){Qi.prototype[p]=function(){return this.el_[p]||this.el_.hasAttribute(p)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(p){Qi.prototype["set"+Ua(p)]=function(t){this.el_[p]=t,t?this.el_.setAttribute(p,p):this.el_.removeAttribute(p)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach(function(p){Qi.prototype[p]=function(){return this.el_[p]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach(function(p){Qi.prototype["set"+Ua(p)]=function(t){this.el_[p]=t}}),["pause","load","play"].forEach(function(p){Qi.prototype[p]=function(){return this.el_[p]()}}),Pi.withSourceHandlers(Qi),Qi.nativeSourceHandler={},Qi.nativeSourceHandler.canPlayType=function(p){try{return Qi.TEST_VID.canPlayType(p)}catch{return""}},Qi.nativeSourceHandler.canHandleSource=function(p,t){if(p.type)return Qi.nativeSourceHandler.canPlayType(p.type);if(p.src){const o=oa(p.src);return Qi.nativeSourceHandler.canPlayType(`video/${o}`)}return""},Qi.nativeSourceHandler.handleSource=function(p,t,o){t.setSrc(p.src)},Qi.nativeSourceHandler.dispose=function(){},Qi.registerSourceHandler(Qi.nativeSourceHandler),Pi.registerTech("Html5",Qi);const Sr=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Zr={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},_n=["tiny","xsmall","small","medium","large","xlarge","huge"],vi={};_n.forEach(p=>{const t=p.charAt(0)==="x"?`x-${p.substring(1)}`:p;vi[p]=`vjs-layout-${t}`});const Di={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0};class Ci extends Mn{constructor(t,o,c){if(t.id=t.id||o.id||`vjs_video_${Mu()}`,o=Object.assign(Ci.getTagSettings(t),o),o.initChildren=!1,o.createEl=!1,o.evented=!1,o.reportTouchActivity=!1,!o.language){const P=t.closest("[lang]");P&&(o.language=P.getAttribute("lang"))}if(super(null,o,c),this.boundDocumentFullscreenChange_=P=>this.documentFullscreenChange_(P),this.boundFullWindowOnEscKey_=P=>this.fullWindowOnEscKey(P),this.boundUpdateStyleEl_=P=>this.updateStyleEl_(P),this.boundApplyInitTime_=P=>this.applyInitTime_(P),this.boundUpdateCurrentBreakpoint_=P=>this.updateCurrentBreakpoint_(P),this.boundHandleTechClick_=P=>this.handleTechClick_(P),this.boundHandleTechDoubleClick_=P=>this.handleTechDoubleClick_(P),this.boundHandleTechTouchStart_=P=>this.handleTechTouchStart_(P),this.boundHandleTechTouchMove_=P=>this.handleTechTouchMove_(P),this.boundHandleTechTouchEnd_=P=>this.handleTechTouchEnd_(P),this.boundHandleTechTap_=P=>this.handleTechTap_(P),this.boundUpdatePlayerHeightOnAudioOnlyMode_=P=>this.updatePlayerHeightOnAudioOnlyMode_(P),this.isFullscreen_=!1,this.log=Ps(this.id_),this.fsApi_=es,this.isPosterFromTech_=!1,this.queuedCallbacks_=[],this.isReady_=!1,this.hasStarted_=!1,this.userActive_=!1,this.debugEnabled_=!1,this.audioOnlyMode_=!1,this.audioPosterMode_=!1,this.audioOnlyCache_={controlBarHeight:null,playerHeight:null,hiddenChildren:[]},!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(this.tag=t,this.tagAttributes=t&&Rr(t),this.language(this.options_.language),o.languages){const P={};Object.getOwnPropertyNames(o.languages).forEach(function(H){P[H.toLowerCase()]=o.languages[H]}),this.languages_=P}else this.languages_=Ci.prototype.options_.languages;this.resetCache_(),this.poster_=o.poster||"",this.controls_=!!o.controls,t.controls=!1,t.removeAttribute("controls"),this.changingSrc_=!1,this.playCallbacks_=[],this.playTerminatedQueue_=[],t.hasAttribute("autoplay")?this.autoplay(!0):this.autoplay(this.options_.autoplay),o.plugins&&Object.keys(o.plugins).forEach(P=>{if(typeof this[P]!="function")throw new Error(`plugin "${P}" does not exist`)}),this.scrubbing_=!1,this.el_=this.createEl(),Zl(this,{eventBusKey:"el_"}),this.fsApi_.requestFullscreen&&(wo(D(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),this.on(this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_)),this.fluid_&&this.on(["playerreset","resize"],this.boundUpdateStyleEl_);const y=sa(this.options_);if(o.plugins&&Object.keys(o.plugins).forEach(P=>{this[P](o.plugins[P])}),o.debug&&this.debug(!0),this.options_.playerOptions=y,this.middleware_=[],this.playbackRates(o.playbackRates),o.experimentalSvgIcons){const H=new(O()).DOMParser().parseFromString(wl,"image/svg+xml");if(H.querySelector("parsererror"))_i.warn("Failed to load SVG Icons. Falling back to Font Icons."),this.options_.experimentalSvgIcons=null;else{const Te=H.documentElement;Te.style.display="none",this.el_.appendChild(Te),this.addClass("vjs-svg-icons-enabled")}}this.initChildren(),this.isAudio(t.nodeName.toLowerCase()==="audio"),this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled"),this.el_.setAttribute("role","region"),this.isAudio()?this.el_.setAttribute("aria-label",this.localize("Audio Player")):this.el_.setAttribute("aria-label",this.localize("Video Player")),this.isAudio()&&this.addClass("vjs-audio"),o.spatialNavigation&&o.spatialNavigation.enabled&&(this.spatialNavigation=new lo(this),this.addClass("vjs-spatial-navigation-enabled")),Zo&&this.addClass("vjs-touch-enabled"),Qa||this.addClass("vjs-workinghover"),Ci.players[this.id_]=this;const _=Rn.split(".")[0];this.addClass(`vjs-v${_}`),this.userActive(!0),this.reportUserActivity(),this.one("play",P=>this.listenForUserActivity_(P)),this.on("keydown",P=>this.handleKeyDown(P)),this.on("languagechange",P=>this.handleLanguagechange(P)),this.breakpoints(this.options_.breakpoints),this.responsive(this.options_.responsive),this.on("ready",()=>{this.audioPosterMode(this.options_.audioPosterMode),this.audioOnlyMode(this.options_.audioOnlyMode)})}dispose(){this.trigger("dispose"),this.off("dispose"),ni(D(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),ni(D(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),Ci.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Fc(this),x.names.forEach(t=>{const o=x[t],c=this[o.getterName]();c&&c.off&&c.off()}),super.dispose({restoreEl:this.options_.restoreEl})}createEl(){let t=this.tag,o,c=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player");const y=this.tag.tagName.toLowerCase()==="video-js";c?o=this.el_=t.parentNode:y||(o=this.el_=super.createEl("div"));const _=Rr(t);if(y){for(o=this.el_=t,t=this.tag=D().createElement("video");o.children.length;)t.appendChild(o.firstChild);Ae(o,"video-js")||qe(o,"video-js"),o.appendChild(t),c=this.playerElIngest_=o,Object.keys(o).forEach(ue=>{try{t[ue]=o[ue]}catch{}})}t.setAttribute("tabindex","-1"),_.tabindex="-1",uo&&wt&&(t.setAttribute("role","application"),_.role="application"),t.removeAttribute("width"),t.removeAttribute("height"),"width"in _&&delete _.width,"height"in _&&delete _.height,Object.getOwnPropertyNames(_).forEach(function(ue){y&&ue==="class"||o.setAttribute(ue,_[ue]),y&&t.setAttribute(ue,_[ue])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=o.player=this,this.addClass("vjs-paused");const P=["IS_SMART_TV","IS_TIZEN","IS_WEBOS","IS_ANDROID","IS_IPAD","IS_IPHONE","IS_CHROMECAST_RECEIVER"].filter(ue=>$u[ue]).map(ue=>"vjs-device-"+ue.substring(3).toLowerCase().replace(/\_/g,"-"));if(this.addClass(...P),O().VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=Lu("vjs-styles-dimensions");const ue=gs(".vjs-styles-defaults"),Te=gs("head");Te.insertBefore(this.styleEl_,ue?ue.nextSibling:Te.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);const H=t.getElementsByTagName("a");for(let ue=0;ue<H.length;ue++){const Te=H.item(ue);qe(Te,"vjs-hidden"),Te.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!c&&t.parentNode.insertBefore(o,t),Dl(t,o),this.children_.unshift(t),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=o,o}crossOrigin(t){if(typeof t>"u")return this.techGet_("crossOrigin");if(t!==null&&t!=="anonymous"&&t!=="use-credentials"){_i.warn(`crossOrigin must be null, "anonymous" or "use-credentials", given "${t}"`);return}this.techCall_("setCrossOrigin",t),this.posterImage&&this.posterImage.crossOrigin(t)}width(t){return this.dimension("width",t)}height(t){return this.dimension("height",t)}dimension(t,o){const c=t+"_";if(o===void 0)return this[c]||0;if(o===""||o==="auto"){this[c]=void 0,this.updateStyleEl_();return}const y=parseFloat(o);if(isNaN(y)){_i.error(`Improper value "${o}" supplied for for ${t}`);return}this[c]=y,this.updateStyleEl_()}fluid(t){if(t===void 0)return!!this.fluid_;this.fluid_=!!t,vo(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),t?(this.addClass("vjs-fluid"),this.fill(!1),Ql(this,()=>{this.on(["playerreset","resize"],this.boundUpdateStyleEl_)})):this.removeClass("vjs-fluid"),this.updateStyleEl_()}fill(t){if(t===void 0)return!!this.fill_;this.fill_=!!t,t?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")}aspectRatio(t){if(t===void 0)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()}updateStyleEl_(){if(O().VIDEOJS_NO_DYNAMIC_STYLE===!0){const H=typeof this.width_=="number"?this.width_:this.options_.width,ue=typeof this.height_=="number"?this.height_:this.options_.height,Te=this.tech_&&this.tech_.el();Te&&(H>=0&&(Te.width=H),ue>=0&&(Te.height=ue));return}let t,o,c,y;this.aspectRatio_!==void 0&&this.aspectRatio_!=="auto"?c=this.aspectRatio_:this.videoWidth()>0?c=this.videoWidth()+":"+this.videoHeight():c="16:9";const _=c.split(":"),P=_[1]/_[0];this.width_!==void 0?t=this.width_:this.height_!==void 0?t=this.height_/P:t=this.videoWidth()||300,this.height_!==void 0?o=this.height_:o=t*P,/^[^a-zA-Z]/.test(this.id())?y="dimensions-"+this.id():y=this.id()+"-dimensions",this.addClass(y),mc(this.styleEl_,` 943 .${y} { 944 width: ${t}px; 945 height: ${o}px; 946 } 947 948 .${y}.vjs-fluid:not(.vjs-audio-only-mode) { 949 padding-top: ${P*100}%; 950 } 951 `)}loadTech_(t,o){this.tech_&&this.unloadTech_();const c=Ua(t),y=t.charAt(0).toLowerCase()+t.slice(1);c!=="Html5"&&this.tag&&(Pi.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=c,this.isReady_=!1;let _=this.autoplay();(typeof this.autoplay()=="string"||this.autoplay()===!0&&this.options_.normalizeAutoplay)&&(_=!1);const P={source:o,autoplay:_,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:`${this.id()}_${y}_api`,playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};
vendor: 2,739 bytes, line 951
951x.names.forEach(ue=>{const Te=x[ue];P[Te.getterName]=this[Te.privateName]}),Object.assign(P,this.options_[c]),Object.assign(P,this.options_[y]),Object.assign(P,this.options_[t.toLowerCase()]),this.tag&&(P.tag=this.tag),o&&o.src===this.cache_.src&&this.cache_.currentTime>0&&(P.startTime=this.cache_.currentTime);const H=Pi.getTech(t);if(!H)throw new Error(`No Tech named '${c}' exists! '${c}' should be registered using videojs.registerTech()'`);this.tech_=new H(P),this.tech_.ready(Za(this,this.handleTechReady_),!0),kl.jsonToTextTracks(this.textTracksJson_||[],this.tech_),Sr.forEach(ue=>{this.on(this.tech_,ue,Te=>this[`handleTech${Ua(ue)}_`](Te))}),Object.keys(Zr).forEach(ue=>{this.on(this.tech_,ue,Te=>{if(this.tech_.playbackRate()===0&&this.tech_.seeking()){this.queuedCallbacks_.push({callback:this[`handleTech${Zr[ue]}_`].bind(this),event:Te});return}this[`handleTech${Zr[ue]}_`](Te)})}),this.on(this.tech_,"loadstart",ue=>this.handleTechLoadStart_(ue)),this.on(this.tech_,"sourceset",ue=>this.handleTechSourceset_(ue)),this.on(this.tech_,"waiting",ue=>this.handleTechWaiting_(ue)),this.on(this.tech_,"ended",ue=>this.handleTechEnded_(ue)),this.on(this.tech_,"seeking",ue=>this.handleTechSeeking_(ue)),this.on(this.tech_,"play",ue=>this.handleTechPlay_(ue)),this.on(this.tech_,"pause",ue=>this.handleTechPause_(ue)),this.on(this.tech_,"durationchange",ue=>this.handleTechDurationChange_(ue)),this.on(this.tech_,"fullscreenchange",(ue,Te)=>this.handleTechFullscreenChange_(ue,Te)),this.on(this.tech_,"fullscreenerror",(ue,Te)=>this.handleTechFullscreenError_(ue,Te)),this.on(this.tech_,"enterpictureinpicture",ue=>this.handleTechEnterPictureInPicture_(ue)),this.on(this.tech_,"leavepictureinpicture",ue=>this.handleTechLeavePictureInPicture_(ue)),this.on(this.tech_,"error",ue=>this.handleTechError_(ue)),this.on(this.tech_,"posterchange",ue=>this.handleTechPosterChange_(ue)),this.on(this.tech_,"textdata",ue=>this.handleTechTextData_(ue)),this.on(this.tech_,"ratechange",ue=>this.handleTechRateChange_(ue)),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode!==this.el()&&(c!=="Html5"||!this.tag)&&Dl(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)}unloadTech_(){x.names.forEach(t=>{const o=x[t];this[o.privateName]=this[o.getterName]()}),this.textTracksJson_=kl.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1}tech(t){return t===void 0&&_i.warn(`Using the tech directly can be dangerous. I hope you know
951what you're doing. 952See https://github.com/videojs/video.js/issues/2617 for more info. 953`),this.tech_}version(){return{"video.js":Rn}}addTechControlsListeners_(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)}removeTechControlsListeners_(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)}handleTechReady_(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()}handleTechLoadStart_(){this.removeClass("vjs-ended","vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):this.trigger("loadstart"),this.manualAutoplay_(this.autoplay()===!0&&this.options_.normalizeAutoplay?"play":this.autoplay())}manualAutoplay_(t){if(!this.tech_||typeof t!="string")return;const o=()=>{const y=this.muted();this.muted(!0);const _=()=>{this.muted(y)};this.playTerminatedQueue_.push(_);const P=this.play();if(Sc(P))return P.catch(H=>{throw _(),new Error(`Rejection at manualAutoplay. Restoring muted value. ${H||""}`)})};let c;if(t==="any"&&!this.muted()?(c=this.play(),Sc(c)&&(c=c.catch(o))):t==="muted"&&!this.muted()?c=o():c=this.play(),!!Sc(c))return c.then(()=>{this.trigger({type:"autoplay-success",autoplay:t})}).catch(()=>{this.trigger({type:"autoplay-failure",autoplay:t})})}updateSourceCaches_(t=""){let o=t,c="";typeof o!="string"&&(o=t.src,c=t.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],o&&!c&&(c=rf(this,o)),this.cache_.source=sa({},t,{src:o,type:c});const y=this.cache_.sources.filter(ue=>ue.src&&ue.src===o),_=[],P=this.$$("source"),H=[];for(let ue=0;ue<P.length;ue++){const Te=Rr(P[ue]);_.push(Te),Te.src&&Te.src===o&&H.push(Te.src)}H.length&&!y.length?this.cache_.sources=_:y.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=o}handleTechSourceset_(t){if(!this.changingSrc_){let o=_=>this.updateSourceCaches_(_);const c=this.currentSource().src,y=t.src;c&&!/^blob:/.test(c)&&/^blob:/.test(y)&&(!this.lastSource_||this.lastSource_.tech!==y&&this.lastSource_.player!==c)&&(o=()=>{}),o(y),t.src||this.tech_.any(["sourceset","loadstart"],_=>{if(_.type==="sourceset")return;const P=this.techGet_("currentSrc");this.lastSource_.tech=P,this.updateSourceCaches_(P)})}this.lastSource_={player:this.currentSource().src,tech:t.src},this.trigger({src:t.src,type:"sourceset"})}hasStarted(t){if(t===void 0)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?this.addClass("vjs-has-started"):this.removeClass("vjs-has-started"))}handleTechPlay_(){this.removeClass("vjs-ended","vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")}handleTechRateChange_(){this.tech_.playbackRate()>0&&this.cache_.lastPlaybackRate===0&&(this.queuedCallbacks_.forEach(t=>t.callback(t.event)),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")}handleTechWaiting_(){this.addClass("vjs-waiting"),this.trigger("waiting");const t=this.currentTime(),o=()=>{t!==this.currentTime()&&(this.removeClass("vjs-waiting"),this.off("timeupdate",o))};this.on("timeupdate",o)}handleTechCanPlay_(){this.removeClass("vjs-waiting"),this.trigger("canplay")}handleTechCanPlayThrough_(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")}handleTechPlaying_(){this.removeClass("vjs-waiting"),this.trigger("playing")}handleTechSeeking_(){this.addClass("vjs-seeking"),this.trigger("seeking")}
vendor: 12,898 bytes, line 953
953handleTechSeeked_(){this.removeClass("vjs-seeking","vjs-ended"),this.trigger("seeked")}handleTechPause_(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")}handleTechEnded_(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")}handleTechDurationChange_(){this.duration(this.techGet_("duration"))}handleTechClick_(t){this.controls_&&(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.click===void 0||this.options_.userActions.click!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.click=="function"?this.options_.userActions.click.call(this,t):this.paused()?_u(this.play()):this.pause())}handleTechDoubleClick_(t){if(!this.controls_)return;Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),c=>c.contains(t.target))||(this.options_===void 0||this.options_.userActions===void 0||this.options_.userActions.doubleClick===void 0||this.options_.userActions.doubleClick!==!1)&&(this.options_!==void 0&&this.options_.userActions!==void 0&&typeof this.options_.userActions.doubleClick=="function"?this.options_.userActions.doubleClick.call(this,t):this.isInPictureInPicture()&&!D().pictureInPictureElement?this.exitPictureInPicture():this.isFullscreen()?this.exitFullscreen():this.requestFullscreen())}handleTechTap_(){this.userActive(!this.userActive())}handleTechTouchStart_(){this.userWasActive=this.userActive()}handleTechTouchMove_(){this.userWasActive&&this.reportUserActivity()}handleTechTouchEnd_(t){t.cancelable&&t.preventDefault()}toggleFullscreenClass_(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")}documentFullscreenChange_(t){const o=t.target.player;if(o&&o!==this)return;const c=this.el();let y=D()[this.fsApi_.fullscreenElement]===c;!y&&c.matches&&(y=c.matches(":"+this.fsApi_.fullscreen)),this.isFullscreen(y)}handleTechFullscreenChange_(t,o){o&&(o.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",()=>{this.removeClass("vjs-ios-native-fs")})),this.isFullscreen(o.isFullscreen))}handleTechFullscreenError_(t,o){this.trigger("fullscreenerror",o)}togglePictureInPictureClass_(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")}handleTechEnterPictureInPicture_(t){this.isInPictureInPicture(!0)}handleTechLeavePictureInPicture_(t){this.isInPictureInPicture(!1)}handleTechError_(){const t=this.tech_.error();t&&this.error(t)}handleTechTextData_(){let t=null;arguments.length>1&&(t=arguments[1]),this.trigger("textdata",t)}getCache(){return this.cache_}resetCache_(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}}techCall_(t,o){this.ready(function(){if(t in Tl)return bu(this.middleware_,this.tech_,t,o);if(t in jl)return Ga(this.middleware_,this.tech_,t,o);try{this.tech_&&this.tech_[t](o)}catch(c){throw _i(c),c}},!0)}techGet_(t){if(!(!this.tech_||!this.tech_.isReady_)){if(t in Xs)return Rs(this.middleware_,this.tech_,t);if(t in jl)return Ga(this.middleware_,this.tech_,t);try{return this.tech_[t]()}catch(o){throw this.tech_[t]===void 0?(_i(`Video.js: ${t} method not defined for ${this.techName_} playback technology.`,o),o):o.name==="TypeError"?(_i(`Video.js: ${t} unavailable on ${this.techName_} playback technology element.`,o),this.tech_.isReady_=!1,o):(_i(o),o)}}}play(){return new Promise(t=>{this.play_(t)})}play_(t=_u){this.playCallbacks_.push(t);const o=!!(!this.changingSrc_&&(this.src()||this.currentSrc())),c=!!(tl||Qa);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!o){this.waitToPlay_=P=>{this.play_()},this.one(["ready","loadstart"],this.waitToPlay_),!o&&c&&this.load();return}const y=this.techGet_("play");c&&this.hasClass("vjs-ended")&&this.resetProgressBar_(),y===null?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(y)}runPlayTerminatedQueue_(){const t=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],t.forEach(function(o){o()})}runPlayCallbacks_(t){const o=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],o.forEach(function(c){c(t)})}pause(){this.techCall_("pause")}paused(){return this.techGet_("paused")!==!1}played(){return this.techGet_("played")||yu(0,0)}scrubbing(t){if(typeof t>"u")return this.scrubbing_;this.scrubbing_=!!t,this.techCall_("setScrubbing",this.scrubbing_),t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")}currentTime(t){if(t===void 0)return this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime;if(t<0&&(t=0),!this.isReady_||this.changingSrc_||!this.tech_||!this.tech_.isReady_){this.cache_.initTime=t,this.off("canplay",this.boundApplyInitTime_),this.one("canplay",this.boundApplyInitTime_);return}this.techCall_("setCurrentTime",t),this.cache_.initTime=0,isFinite(t)&&(this.cache_.currentTime=Number(t))}applyInitTime_(){this.currentTime(this.cache_.initTime)}duration(t){if(t===void 0)return this.cache_.duration!==void 0?this.cache_.duration:NaN;t=parseFloat(t),t<0&&(t=1/0),t!==this.cache_.duration&&(this.cache_.duration=t,t===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(t)||this.trigger("durationchange"))}remainingTime(){return this.duration()-this.currentTime()}remainingTimeDisplay(){return Math.floor(this.duration())-Math.floor(this.currentTime())}buffered(){let t=this.techGet_("buffered");return(!t||!t.length)&&(t=yu(0,0)),t}seekable(){let t=this.techGet_("seekable");return(!t||!t.length)&&(t=yu(0,0)),t}seeking(){return this.techGet_("seeking")}ended(){return this.techGet_("ended")}networkState(){return this.techGet_("networkState")}readyState(){return this.techGet_("readyState")}bufferedPercent(){return Io(this.buffered(),this.duration())}bufferedEnd(){const t=this.buffered(),o=this.duration();let c=t.end(t.length-1);return c>o&&(c=o),c}volume(t){let o;if(t!==void 0){o=Math.max(0,Math.min(1,t)),this.cache_.volume=o,this.techCall_("setVolume",o),o>0&&this.lastVolume_(o);return}return o=parseFloat(this.techGet_("volume")),isNaN(o)?1:o}muted(t){if(t!==void 0){this.techCall_("setMuted",t);return}return this.techGet_("muted")||!1}defaultMuted(t){return t!==void 0&&this.techCall_("setDefaultMuted",t),this.techGet_("defaultMuted")||!1}lastVolume_(t){if(t!==void 0&&t!==0){this.cache_.lastVolume=t;return}return this.cache_.lastVolume}supportsFullScreen(){return this.techGet_("supportsFullScreen")||!1}isFullscreen(t){if(t!==void 0){const o=this.isFullscreen_;this.isFullscreen_=!!t,this.isFullscreen_!==o&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),this.toggleFullscreenClass_();return}return this.isFullscreen_}requestFullscreen(t){this.isInPictureInPicture()&&this.exitPictureInPicture();const o=this;return new Promise((c,y)=>{function _(){o.off("fullscreenerror",H),o.off("fullscreenchange",P)}function P(){_(),c()}function H(Te,Ye){_(),y(Ye)}o.one("fullscreenchange",P),o.one("fullscreenerror",H);const ue=o.requestFullscreenHelper_(t);ue&&(ue.then(_,_),ue.then(c,y))})}requestFullscreenHelper_(t){let o;if(this.fsApi_.prefixed||(o=this.options_.fullscreen&&this.options_.fullscreen.options||{},t!==void 0&&(o=t)),this.fsApi_.requestFullscreen){const c=this.el_[this.fsApi_.requestFullscreen](o);return c&&c.then(()=>this.isFullscreen(!0),()=>this.isFullscreen(!1)),c}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()}exitFullscreen(){const t=this;return new Promise((o,c)=>{function y(){t.off("fullscreenerror",P),t.off("fullscreenchange",_)}function _(){y(),o()}function P(ue,Te){y(),c(Te)}t.one("fullscreenchange",_),t.one("fullscreenerror",P);const H=t.exitFullscreenHelper_();H&&(H.then(y,y),H.then(o,c))})}exitFullscreenHelper_(){if(this.fsApi_.requestFullscreen){const t=D()[this.fsApi_.exitFullscreen]();return t&&_u(t.then(()=>this.isFullscreen(!1))),t}else this.tech_.supportsFullScreen()&&!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()}enterFullWindow(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=D().documentElement.style.overflow,wo(D(),"keydown",this.boundFullWindowOnEscKey_),D().documentElement.style.overflow="hidden",qe(D().body,"vjs-full-window"),this.trigger("enterFullWindow")}fullWindowOnEscKey(t){t.key==="Escape"&&this.isFullscreen()===!0&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())}exitFullWindow(){this.isFullscreen(!1),this.isFullWindow=!1,ni(D(),"keydown",this.boundFullWindowOnEscKey_),D().documentElement.style.overflow=this.docOrigOverflow,St(D().body,"vjs-full-window"),this.trigger("exitFullWindow")}disablePictureInPicture(t){if(t===void 0)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",t),this.options_.disablePictureInPicture=t,this.trigger("disablepictureinpicturechanged")}isInPictureInPicture(t){if(t!==void 0){this.isInPictureInPicture_=!!t,this.togglePictureInPictureClass_();return}return!!this.isInPictureInPicture_}requestPictureInPicture(){if(this.options_.enableDocumentPictureInPicture&&O().documentPictureInPicture){const t=D().createElement(this.el().tagName);return t.classList=this.el().classList,t.classList.add("vjs-pip-container"),this.posterImage&&t.appendChild(this.posterImage.el().cloneNode(!0)),this.titleBar&&t.appendChild(this.titleBar.el().cloneNode(!0)),t.appendChild(Es("p",{className:"vjs-pip-text"},{},this.localize("Playing in picture-in-picture"))),O().documentPictureInPicture.requestWindow({width:this.videoWidth(),height:this.videoHeight()}).then(o=>(rl(o),this.el_.parentNode.insertBefore(t,this.el_),o.document.body.appendChild(this.el_),o.document.body.classList.add("vjs-pip-window"),this.player_.isInPictureInPicture(!0),this.player_.trigger({type:"enterpictureinpicture",pipWindow:o}),o.addEventListener("pagehide",c=>{const y=c.target.querySelector(".video-js");t.parentNode.replaceChild(y,t),this.player_.isInPictureInPicture(!1),this.player_.trigger("leavepictureinpicture")}),o))}return"pictureInPictureEnabled"in D()&&this.disablePictureInPicture()===!1?this.techGet_("requestPictureInPicture"):Promise.reject("No PiP mode is available")}exitPictureInPicture(){if(O().documentPictureInPicture&&O().documentPictureInPicture.window)return O().documentPictureInPicture.window.close(),Promise.resolve();if("pictureInPictureEnabled"in D())return D().exitPictureInPicture()}handleKeyDown(t){const{userActions:o}=this.options_;!o||!o.hotkeys||(y=>{const _=y.tagName.toLowerCase();if(y.isContentEditable)return!0;const P=["button","checkbox","hidden","radio","reset","submit"];return _==="input"?P.indexOf(y.type)===-1:["textarea"].indexOf(_)!==-1})(this.el_.ownerDocument.activeElement)||(typeof o.hotkeys=="function"?o.hotkeys.call(this,t):this.handleHotkeys(t))}handleHotkeys(t){const o=this.options_.userActions?this.options_.userActions.hotkeys:{},{fullscreenKey:c=P=>t.key.toLowerCase()==="f",muteKey:y=P=>t.key.toLowerCase()==="m",playPauseKey:_=P=>t.key.toLowerCase()==="k"||t.key.toLowerCase()===" "}=o;if(c.call(this,t)){t.preventDefault(),t.stopPropagation();const P=Mn.getComponent("FullscreenToggle");D()[this.fsApi_.fullscreenEnabled]!==!1&&P.prototype.handleClick.call(this,t)}else y.call(this,t)?(t.preventDefault(),t.stopPropagation(),Mn.getComponent("MuteToggle").prototype.handleClick.call(this,t)):_.call(this,t)&&(t.preventDefault(),t.stopPropagation(),Mn.getComponent("PlayToggle").prototype.handleClick.call(this,t))}canPlayType(t){let o;for(let c=0,y=this.options_.techOrder;c<y.length;c++){const _=y[c];let P=Pi.getTech(_);if(P||(P=Mn.getComponent(_)),!P){_i.error(`The "${_}" tech is undefined. Skipped browser support check for that tech.`);continue}if(P.isSupported()&&(o=P.canPlayType(t),o))return o}return""}selectSource(t){const o=this.options_.techOrder.map(H=>[H,Pi.getTech(H)]).filter(([H,ue])=>ue?ue.isSupported():(_i.error(`The "${H}" tech is undefined. Skipped browser support check for that tech.`),!1)),c=function(H,ue,Te){let Ye;return H.some(xt=>ue.some(or=>{if(Ye=Te(xt,or),Ye)return!0})),Ye};let y;const _=H=>(ue,Te)=>H(Te,ue),P=([H,ue],Te)=>{if(ue.canPlaySource(Te,this.options_[H.toLowerCase()]))return{source:Te,tech:H}};return this.options_.sourceOrder?y=c(t,o,_(P)):y=c(o,t,P),y||!1}handleSrc_(t,o){if(typeof t>"u")return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();const c=yd(t);if(!c.length){this.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0);return}if(this.changingSrc_=!0,o||(this.cache_.sources=c),this.updateSourceCaches_(c[0]),Lf(this,c[
vendor: 12,437 bytes, line 953
9530],(y,_)=>{if(this.middleware_=_,o||(this.cache_.sources=c),this.updateSourceCaches_(y),this.src_(y)){if(c.length>1)return this.handleSrc_(c.slice(1));this.changingSrc_=!1,this.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0),this.triggerReady();return}wn(_,this.tech_)}),c.length>1){const y=()=>{this.error(null),this.handleSrc_(c.slice(1),!0)},_=()=>{this.off("error",y)};this.one("error",y),this.one("playing",_),this.resetRetryOnError_=()=>{this.off("error",y),this.off("playing",_)}}}src(t){return this.handleSrc_(t,!1)}src_(t){const o=this.selectSource([t]);return o?Lc(o.tech,this.techName_)?(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),this.changingSrc_=!1},!0),!1):(this.changingSrc_=!0,this.loadTech_(o.tech,o.source),this.tech_.ready(()=>{this.changingSrc_=!1}),!1):!0}addSourceElement(t,o){return this.tech_?this.tech_.addSourceElement(t,o):!1}removeSourceElement(t){return this.tech_?this.tech_.removeSourceElement(t):!1}load(){if(this.tech_&&this.tech_.vhs){this.src(this.currentSource());return}this.techCall_("load")}reset(){if(this.paused())this.doReset_();else{const t=this.play();_u(t.then(()=>this.doReset_()))}}doReset_(){this.tech_&&this.tech_.clearTracks("text"),this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),this.error(null),this.titleBar&&this.titleBar.update({title:void 0,description:void 0}),vo(this)&&this.trigger("playerreset")}resetControlBarUI_(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()}resetProgressBar_(){this.currentTime(0);const{currentTimeDisplay:t,durationDisplay:o,progressControl:c,remainingTimeDisplay:y}=this.controlBar||{},{seekBar:_}=c||{};t&&t.updateContent(),o&&o.updateContent(),y&&y.updateContent(),_&&(_.update(),_.loadProgressBar&&_.loadProgressBar.update())}resetPlaybackRate_(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()}resetVolumeBar_(){this.volume(1),this.trigger("volumechange")}currentSources(){const t=this.currentSource(),o=[];return Object.keys(t).length!==0&&o.push(t),this.cache_.sources||o}currentSource(){return this.cache_.source||{}}currentSrc(){return this.currentSource()&&this.currentSource().src||""}currentType(){return this.currentSource()&&this.currentSource().type||""}preload(t){if(t!==void 0){this.techCall_("setPreload",t),this.options_.preload=t;return}return this.techGet_("preload")}autoplay(t){if(t===void 0)return this.options_.autoplay||!1;let o;typeof t=="string"&&/(any|play|muted)/.test(t)||t===!0&&this.options_.normalizeAutoplay?(this.options_.autoplay=t,this.manualAutoplay_(typeof t=="string"?t:"play"),o=!1):t?this.options_.autoplay=!0:this.options_.autoplay=!1,o=typeof o>"u"?this.options_.autoplay:o,this.tech_&&this.techCall_("setAutoplay",o)}playsinline(t){return t!==void 0&&(this.techCall_("setPlaysinline",t),this.options_.playsinline=t),this.techGet_("playsinline")}loop(t){if(t!==void 0){this.techCall_("setLoop",t),this.options_.loop=t;return}return this.techGet_("loop")}poster(t){if(t===void 0)return this.poster_;t||(t=""),t!==this.poster_&&(this.poster_=t,this.techCall_("setPoster",t),this.isPosterFromTech_=!1,this.trigger("posterchange"))}handleTechPosterChange_(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){const t=this.tech_.poster()||"";t!==this.poster_&&(this.poster_=t,this.isPosterFromTech_=!0,this.trigger("posterchange"))}}controls(t){if(t===void 0)return!!this.controls_;t=!!t,this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))}usingNativeControls(t){if(t===void 0)return!!this.usingNativeControls_;t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))}error(t){if(t===void 0)return this.error_||null;if(Yn("beforeerror").forEach(o=>{const c=o(this,t);if(!(Pu(c)&&!Array.isArray(c)||typeof c=="string"||typeof c=="number"||c===null)){this.log.error("please return a value that MediaError expects in beforeerror hooks");return}t=c}),this.options_.suppressNotSupportedError&&t&&t.code===4){const o=function(){this.error(t)};this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],o),this.one("loadstart",function(){this.off(["click","touchstart"],o)});return}if(t===null){this.error_=null,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close();return}this.error_=new qa(t),this.addClass("vjs-error"),_i.error(`(CODE:${this.error_.code} ${qa.errorTypes[this.error_.code]})`,this.error_.message,this.error_),this.trigger("error"),Yn("error").forEach(o=>o(this,this.error_))}reportUserActivity(t){this.userActivity_=!0}userActive(t){if(t===void 0)return this.userActive_;if(t=!!t,t!==this.userActive_){if(this.userActive_=t,this.userActive_){this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive");return}this.tech_&&this.tech_.one("mousemove",function(o){o.stopPropagation(),o.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}}listenForUserActivity_(){let t,o,c;const y=Za(this,this.reportUserActivity),_=function(xt){(xt.screenX!==o||xt.screenY!==c)&&(o=xt.screenX,c=xt.screenY,y())},P=function(){y(),this.clearInterval(t),t=this.setInterval(y,250)},H=function(xt){y(),this.clearInterval(t)};this.on("mousedown",P),this.on("mousemove",_),this.on("mouseup",H),this.on("mouseleave",H);const ue=this.getChild("controlBar");ue&&!Qa&&!Jo&&(ue.on("mouseenter",function(xt){this.player().options_.inactivityTimeout!==0&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0}),ue.on("mouseleave",function(xt){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout})),this.on("keydown",y),this.on("keyup",y);let Te;const Ye=function(){if(!this.userActivity_)return;this.userActivity_=!1,this.userActive(!0),this.clearTimeout(Te);const xt=this.options_.inactivityTimeout;xt<=0||(Te=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},xt))};this.setInterval(Ye,250)}playbackRate(t){if(t!==void 0){this.techCall_("setPlaybackRate",t);return}return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1}defaultPlaybackRate(t){return t!==void 0?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1}isAudio(t){if(t!==void 0){this.isAudio_=!!t;return}return!!this.isAudio_}updatePlayerHeightOnAudioOnlyMode_(){const t=this.getChild("ControlBar");!t||this.audioOnlyCache_.controlBarHeight===t.currentHeight()||(this.audioOnlyCache_.controlBarHeight=t.currentHeight(),this.height(this.audioOnlyCache_.controlBarHeight))}enableAudioOnlyUI_(){this.addClass("vjs-audio-only-mode");const t=this.children(),o=this.getChild("ControlBar"),c=o&&o.currentHeight();t.forEach(y=>{y!==o&&y.el_&&!y.hasClass("vjs-hidden")&&(y.hide(),this.audioOnlyCache_.hiddenChildren.push(y))}),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.audioOnlyCache_.controlBarHeight=c,this.on("playerresize",this.boundUpdatePlayerHeightOnAudioOnlyMode_),this.height(c),this.trigger("audioonlymodechange")}disableAudioOnlyUI_(){this.removeClass("vjs-audio-only-mode"),this.off("playerresize",this.boundUpdatePlayerHeightOnAudioOnlyMode_),this.audioOnlyCache_.hiddenChildren.forEach(t=>t.show()),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")}audioOnlyMode(t){if(typeof t!="boolean"||t===this.audioOnlyMode_)return this.audioOnlyMode_;if(this.audioOnlyMode_=t,t){const o=[];return this.isInPictureInPicture()&&o.push(this.exitPictureInPicture()),this.isFullscreen()&&o.push(this.exitFullscreen()),this.audioPosterMode()&&o.push(this.audioPosterMode(!1)),Promise.all(o).then(()=>this.enableAudioOnlyUI_())}return Promise.resolve().then(()=>this.disableAudioOnlyUI_())}enablePosterModeUI_(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}disablePosterModeUI_(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")}audioPosterMode(t){return typeof t!="boolean"||t===this.audioPosterMode_?this.audioPosterMode_:(this.audioPosterMode_=t,t?this.audioOnlyMode()?this.audioOnlyMode(!1).then(()=>{this.enablePosterModeUI_()}):Promise.resolve().then(()=>{this.enablePosterModeUI_()}):Promise.resolve().then(()=>{this.disablePosterModeUI_()}))}addTextTrack(t,o,c){if(this.tech_)return this.tech_.addTextTrack(t,o,c)}addRemoteTextTrack(t,o){if(this.tech_)return this.tech_.addRemoteTextTrack(t,o)}removeRemoteTextTrack(t={}){let{track:o}=t;if(o||(o=t),this.tech_)return this.tech_.removeRemoteTextTrack(o)}getVideoPlaybackQuality(){return this.techGet_("getVideoPlaybackQuality")}videoWidth(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0}videoHeight(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0}language(t){if(t===void 0)return this.language_;this.language_!==String(t).toLowerCase()&&(this.language_=String(t).toLowerCase(),vo(this)&&this.trigger("languagechange"))}languages(){return sa(Ci.prototype.options_.languages,this.languages_)}toJSON(){const t=sa(this.options_),o=t.tracks;t.tracks=[];for(let c=0;c<o.length;c++){let y=o[c];y=sa(y),y.player=void 0,t.tracks[c]=y}return t}createModal(t,o){o=o||{},o.content=t||"";const c=new rc(this,o);return this.addChild(c),c.on("dispose",()=>{this.removeChild(c)}),c.open(),c}updateCurrentBreakpoint_(){if(!this.responsive())return;const t=this.currentBreakpoint(),o=this.currentWidth();for(let c=0;c<_n.length;c++){const y=_n[c],_=this.breakpoints_[y];if(o<=_){if(t===y)return;t&&this.removeClass(vi[t]),this.addClass(vi[y]),this.breakpoint_=y;break}}}removeCurrentBreakpoint_(){const t=this.currentBreakpointClass();this.breakpoint_="",t&&this.removeClass(t)}breakpoints(t){return t===void 0?Object.assign(this.breakpoints_):(this.breakpoint_="",this.breakpoints_=Object.assign({},Di,t),this.updateCurrentBreakpoint_(),Object.assign(this.breakpoints_))}responsive(t){if(t===void 0)return this.responsive_;t=!!t;const o=this.responsive_;if(t!==o)return this.responsive_=t,t?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),t}currentBreakpoint(){return this.breakpoint_}currentBreakpointClass(){return vi[this.breakpoint_]||""}loadMedia(t,o){if(!t||typeof t!="object")return;const c=this.crossOrigin();this.reset(),this.cache_.media=sa(t);const{artist:y,artwork:_,description:P,poster:H,src:ue,textTracks:Te,title:Ye}=this.cache_.media;!_&&H&&(this.cache_.media.artwork=[{src:H,type:$l(H)}]),c&&this.crossOrigin(c),ue&&this.src(ue),H&&this.poster(H),Array.isArray(Te)&&Te.forEach(xt=>this.addRemoteTextTrack(xt,!1)),this.titleBar&&this.titleBar.update({title:Ye,description:P||y||""}),this.ready(o)}getMedia(){if(!this.cache_.media){const t=this.poster(),o=this.currentSources(),c=Array.prototype.map.call(this.remoteTextTracks(),_=>({kind:_.kind,label:_.label,language:_.language,src:_.src})),y={src:o,textTracks:c};return t&&(y.poster=t,y.artwork=[{src:y.poster,type:$l(y.poster)}]),y}return sa(this.cache_.media)}static getTagSettings(t){const o={sources:[],tracks:[]},c=Rr(t),y=c["data-setup"];if(Ae(t,"vjs-fill")&&(c.fill=!0),Ae(t,"vjs-fluid")&&(c.fluid=!0),y!==null)try{Object.assign(c,JSON.parse(y||"{}"))}catch(_){_i.error("data-setup",_)}if(Object.assign(o,c),t.hasChildNodes()){const _=t.childNodes;for(let P=0,H=_.length;P<H;
vendor: 44,689 bytes, lines 953-965
953P++){const ue=_[P],Te=ue.nodeName.toLowerCase();Te==="source"?o.sources.push(Rr(ue)):Te==="track"&&o.tracks.push(Rr(ue))}}return o}debug(t){if(t===void 0)return this.debugEnabled_;t?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)}playbackRates(t){if(t===void 0)return this.cache_.playbackRates;Array.isArray(t)&&t.every(o=>typeof o=="number")&&(this.cache_.playbackRates=t,this.trigger("playbackrateschange"))}}Ci.prototype.videoTracks=()=>{},Ci.prototype.audioTracks=()=>{},Ci.prototype.textTracks=()=>{},Ci.prototype.remoteTextTracks=()=>{},Ci.prototype.remoteTextTrackEls=()=>{},x.names.forEach(function(p){const t=x[p];Ci.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}}),Ci.prototype.crossorigin=Ci.prototype.crossOrigin,Ci.players={};const ns=O().navigator;Ci.prototype.options_={techOrder:Pi.defaultTechOrder_,html5:{},enableSourceset:!0,inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","titleBar","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:ns&&(ns.languages&&ns.languages[0]||ns.userLanguage||ns.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1,spatialNavigation:{enabled:!1,horizontalSeek:!1},enableSmoothSeeking:!1,disableSeekWhileScrubbingOnMobile:!1,disableSeekWhileScrubbingOnSTV:!1},Sr.forEach(function(p){Ci.prototype[`handleTech${Ua(p)}_`]=function(){return this.trigger(p)}}),Mn.registerComponent("Player",Ci);const os="plugin",ls="activePlugins_",ds={},Us=p=>ds.hasOwnProperty(p),Ss=p=>Us(p)?ds[p]:void 0,Ya=(p,t)=>{p[ls]=p[ls]||{},p[ls][t]=!0},ea=(p,t,o)=>{const c=(o?"before":"")+"pluginsetup";p.trigger(c,t),p.trigger(c+":"+t.name,t)},Ou=function(p,t){const o=function(){ea(this,{name:p,plugin:t,instance:null},!0);const c=t.apply(this,arguments);return Ya(this,p),ea(this,{name:p,plugin:t,instance:c}),c};return Object.keys(t).forEach(function(c){o[c]=t[c]}),o},ou=(p,t)=>(t.prototype.name=p,function(...o){ea(this,{name:p,plugin:t,instance:null},!0);const c=new t(this,...o);return this[p]=()=>c,ea(this,c.getEventHash()),c});class co{constructor(t){if(this.constructor===co)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,this.log||(this.log=this.player.log.createLogger(this.name)),Zl(this),delete this.trigger,Sl(this,this.constructor.defaultState),Ya(t,this.name),this.dispose=this.dispose.bind(this),t.on("dispose",this.dispose)}version(){return this.constructor.VERSION}getEventHash(t={}){return t.name=this.name,t.plugin=this.constructor,t.instance=this,t}trigger(t,o={}){return dl(this.eventBusEl_,t,this.getEventHash(o))}handleStateChanged(t){}dispose(){const{name:t,player:o}=this;this.trigger("dispose"),this.off(),o.off("dispose",this.dispose),o[ls][t]=!1,this.player=this.state=null,o[t]=ou(t,ds[t])}static isBasic(t){const o=typeof t=="string"?Ss(t):t;return typeof o=="function"&&!co.prototype.isPrototypeOf(o.prototype)}static registerPlugin(t,o){if(typeof t!="string")throw new Error(`Illegal plugin name, "${t}", must be a string, was ${typeof t}.`);if(Us(t))_i.warn(`A plugin named "${t}" already exists. You may want to avoid re-registering plugins!`);else if(Ci.prototype.hasOwnProperty(t))throw new Error(`Illegal plugin name, "${t}", cannot share a name with an existing player method!`);if(typeof o!="function")throw new Error(`Illegal plugin for "${t}", must be a function, was ${typeof o}.`);return ds[t]=o,t!==os&&(co.isBasic(o)?Ci.prototype[t]=Ou(t,o):Ci.prototype[t]=ou(t,o)),o}static deregisterPlugin(t){if(t===os)throw new Error("Cannot de-register base plugin.");Us(t)&&(delete ds[t],delete Ci.prototype[t])}static getPlugins(t=Object.keys(ds)){let o;return t.forEach(c=>{const y=Ss(c);y&&(o=o||{},o[c]=y)}),o}static getPluginVersion(t){const o=Ss(t);return o&&o.VERSION||""}}co.getPlugin=Ss,co.BASE_PLUGIN_NAME=os,co.registerPlugin(os,co),Ci.prototype.usingPlugin=function(p){return!!this[ls]&&this[ls][p]===!0},Ci.prototype.hasPlugin=function(p){return!!Us(p)};function ro(p,t){let o=!1;return function(...c){return o||_i.warn(p),o=!0,t.apply(this,c)}}function jo(p,t,o,c){return ro(`${t} is deprecated and will be removed in ${p}.0; please use ${o} instead.`,c)}var zc={NetworkBadStatus:"networkbadstatus",NetworkRequestFailed:"networkrequestfailed",NetworkRequestAborted:"networkrequestaborted",NetworkRequestTimeout:"networkrequesttimeout",NetworkBodyParserFailed:"networkbodyparserfailed",StreamingHlsPlaylistParserError:"streaminghlsplaylistparsererror",StreamingDashManifestParserError:"streamingdashmanifestparsererror",StreamingContentSteeringParserError:"streamingcontentsteeringparsererror",StreamingVttParserError:"streamingvttparsererror",StreamingFailedToSelectNextSegment:"streamingfailedtoselectnextsegment",StreamingFailedToDecryptSegment:"streamingfailedtodecryptsegment",StreamingFailedToTransmuxSegment:"streamingfailedtotransmuxsegment",StreamingFailedToAppendSegment:"streamingfailedtoappendsegment",StreamingCodecsChangeError:"streamingcodecschangeerror"};const ld=p=>p.indexOf("#")===0?p.slice(1):p;function nn(p,t,o){let c=nn.getPlayer(p);if(c)return t&&_i.warn(`Player "${p}" is already initialised. Options will not be applied.`),o&&c.ready(o),c;const y=typeof p=="string"?gs("#"+ld(p)):p;if(!Fa(y))throw new TypeError("The element or ID supplied is not valid. (videojs)");const P=("getRootNode"in y?y.getRootNode()instanceof O().ShadowRoot:!1)?y.getRootNode():y.ownerDocument.body;(!y.ownerDocument.defaultView||!P.contains(y))&&_i.warn("The element supplied is not included in the DOM"),t=t||{},t.restoreEl===!0&&(t.restoreEl=(y.parentNode&&y.parentNode.hasAttribute&&y.parentNode.hasAttribute("data-vjs-player")?y.parentNode:y).cloneNode(!0)),Yn("beforesetup").forEach(ue=>{const Te=ue(y,sa(t));if(!Pu(Te)||Array.isArray(Te)){_i.error("please return an object in beforesetup hooks");return}t=sa(t,Te)});const H=Mn.getComponent("Player");return c=new H(y,t,o),Yn("setup").forEach(ue=>ue(c)),c}if(nn.hooks_=Jn,nn.hooks=Yn,nn.hook=gi,nn.hookOnce=Ii,nn.removeHook=Ni,O().VIDEOJS_NO_DYNAMIC_STYLE!==!0&&hu()){let p=gs(".vjs-styles-defaults");if(!p){p=Lu("vjs-styles-defaults");const t=gs("head");t&&t.insertBefore(p,t.firstChild),mc(p,` 954 .video-js { 955 width: 300px; 956 height: 150px; 957 } 958 959 .vjs-fluid:not(.vjs-audio-only-mode) { 960 padding-top: 56.25% 961 } 962 `)}}Rc(1,nn),nn.VERSION=Rn,nn.options=Ci.prototype.options_,nn.getPlayers=()=>Ci.players,nn.getPlayer=p=>{const t=Ci.players;let o;if(typeof p=="string"){const c=ld(p),y=t[c];if(y)return y;o=gs("#"+c)}else o=p;if(Fa(o)){const{player:c,playerId:y}=o;if(c||t[y])return c||t[y]}},nn.getAllPlayers=()=>Object.keys(Ci.players).map(p=>Ci.players[p]).filter(Boolean),nn.players=Ci.players,nn.getComponent=Mn.getComponent,nn.registerComponent=(p,t)=>(Pi.isTech(t)&&_i.warn(`The ${p} tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)`),Mn.registerComponent.call(Mn,p,t)),nn.getTech=Pi.getTech,nn.registerTech=Pi.registerTech,nn.use=Md,Object.defineProperty(nn,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(nn.middleware,"TERMINATOR",{value:ic,writeable:!1,enumerable:!0}),nn.browser=$u,nn.obj=Kc,nn.mergeOptions=jo(9,"videojs.mergeOptions","videojs.obj.merge",sa),nn.defineLazyProperty=jo(9,"videojs.defineLazyProperty","videojs.obj.defineLazyProperty",Ca),nn.bind=jo(9,"videojs.bind","native Function.prototype.bind",Za),nn.registerPlugin=co.registerPlugin,nn.deregisterPlugin=co.deregisterPlugin,nn.plugin=(p,t)=>(_i.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),co.registerPlugin(p,t)),nn.getPlugins=co.getPlugins,nn.getPlugin=co.getPlugin,nn.getPluginVersion=co.getPluginVersion,nn.addLanguage=function(p,t){return p=(""+p).toLowerCase(),nn.options.languages=sa(nn.options.languages,{[p]:t}),nn.options.languages[p]},nn.log=_i,nn.createLogger=Ps,nn.time=bc,nn.createTimeRange=jo(9,"videojs.createTimeRange","videojs.time.createTimeRanges",yu),nn.createTimeRanges=jo(9,"videojs.createTimeRanges","videojs.time.createTimeRanges",yu),nn.formatTime=jo(9,"videojs.formatTime","videojs.time.formatTime",Ko),nn.setFormatTime=jo(9,"videojs.setFormatTime","videojs.time.setFormatTime",Ku),nn.resetFormatTime=jo(9,"videojs.resetFormatTime","videojs.time.resetFormatTime",tc),nn.parseUrl=jo(9,"videojs.parseUrl","videojs.url.parseUrl",Vi),nn.isCrossOrigin=jo(9,"videojs.isCrossOrigin","videojs.url.isCrossOrigin",yo),nn.EventTarget=ru,nn.any=Dc,nn.on=wo,nn.one=gu,nn.off=ni,nn.trigger=dl,nn.xhr=j(),nn.TrackList=fl,nn.TextTrack=kc,nn.TextTrackList=ca,nn.AudioTrack=ef,nn.AudioTrackList=td,nn.VideoTrack=tf,nn.VideoTrackList=Ul,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(p=>{nn[p]=function(){return _i.warn(`videojs.${p}() is deprecated; use videojs.dom.${p}() instead`),pu[p].apply(null,arguments)}}),nn.computedStyle=jo(9,"videojs.computedStyle","videojs.dom.computedStyle",ll),nn.dom=pu,nn.fn=qc,nn.num=ke,nn.str=md,nn.url=El,nn.Error=zc;/*! @name videojs-contrib-quality-levels @version 4.1.0 @license Apache-2.0 */class Xo{constructor(t){let o=this;return o.id=t.id,o.label=o.id,o.width=t.width,o.height=t.height,o.bitrate=t.bandwidth,o.frameRate=t.frameRate,o.enabled_=t.enabled,Object.defineProperty(o,"enabled",{get(){return o.enabled_()},set(c){o.enabled_(c)}}),o}}class cd extends nn.EventTarget{constructor(){super();let t=this;return t.levels_=[],t.selectedIndex_=-1,Object.defineProperty(t,"selectedIndex",{get(){return t.selectedIndex_}}),Object.defineProperty(t,"length",{get(){return t.levels_.length}}),t[Symbol.iterator]=()=>t.levels_.values(),t}addQualityLevel(t){let o=this.getQualityLevelById(t.id);if(o)return o;const c=this.levels_.length;return o=new Xo(t),""+c in this||Object.defineProperty(this,c,{get(){return this.levels_[c]}}),this.levels_.push(o),this.trigger({qualityLevel:o,type:"addqualitylevel"}),o}removeQualityLevel(t){let o=null;for(let c=0,y=this.length;c<y;c++)if(this[c]===t){o=this.levels_.splice(c,1)[0],this.selectedIndex_===c?this.selectedIndex_=-1:this.selectedIndex_>c&&this.selectedIndex_--;break}return o&&this.trigger({qualityLevel:t,type:"removequalitylevel"}),o}getQualityLevelById(t){for(let o=0,c=this.length;o<c;o++){const y=this[o];if(y.id===t)return y}return null}dispose(){this.selectedIndex_=-1,this.levels_.length=0}}cd.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"};for(const p in cd.prototype.allowedEvents_)cd.prototype["on"+p]=null;var dd="4.1.0";const Vl=function(p,t){const o=p.qualityLevels,c=new cd,y=function(){c.dispose(),p.qualityLevels=o,p.off("dispose",y)};return p.on("dispose",y),p.qualityLevels=()=>c,p.qualityLevels.VERSION=dd,c},lc=function(p){return Vl(this,nn.obj.merge({},p))};nn.registerPlugin("qualityLevels",lc),lc.VERSION=dd;/*! @name @videojs/http-streaming @version 3.17.3 @license Apache-2.0 */const $o=re,Ma=(p,t)=>t&&t.responseURL&&p!==t.responseURL?t.responseURL:p,mo=p=>nn.log.debug?nn.log.debug.bind(nn,"VHS:",`${p} >`):function(){};function ja(...p){const t=nn.obj||nn;return(t.merge||t.mergeOptions).apply(t,p)}function Po(...p){const t=nn.time||nn;return(t.createTimeRanges||t.createTimeRanges).apply(t,p)}function zo(p){if(p.length===0)return"Buffered Ranges are empty";let t=`Buffered Ranges: 963`;for(let o=0;o<p.length;o++){const c=p.start(o),y=p.end(o);t+=`${c} --> ${y}. Duration (${y-c}) 964`}return t}const vl=1/30,Ol=vl*3,uf=function(p,t){const o=[];let c;if(p&&p.length)for(c=0;c<p.length;c++)t(p.start(c),p.end(c))&&o.push([p.start(c),p.end(c)]);return Po(o)},lf=function(p,t){return uf(p,function(o,c){return o-Ol<=t&&c+Ol>=t})},Bf=function(p,t){return uf(p,function(o){return o-vl>=t})},sh=function(p){if(p.length<2)return Po();const t=[];for(let o=1;o<p.length;o++){const c=p.end(o-1),y=p.start(o);t.push([c,y])}return Po(t)},Mh=function(p,t){let o=null,c=null,y=0;const _=[],P=[];if(!p||!p.length||!t||!t.length)return Po();let H=p.length;for(;H--;)_.push({time:p.start(H),type:"start"}),_.push({time:p.end(H),type:"end"});for(H=t.length;H--;)_.push({time:t.start(H),type:"start"}),_.push({time:t.end(H),type:"end"});for(_.sort(function(ue,Te){return ue.time-Te.time}),H=0;H<_.length;H++)_[H].type==="start"?(y++,y===2&&(o=_[H].time)):_[H].type==="end"&&(y--,y===1&&(c=_[H].time)),o!==null&&c!==null&&(P.push([o,c]),o=null,c=null);return Po(P)},ah=p=>{const t=[];if(!p||!p.length)return"";for(let o=0;o<p.length;o++)t.push(p.start(o)+" => "+p.end(o));return t.join(", ")},kh=function(p,t,o=1){return((p.length?p.end(p.length-1):0)-t)/o},zd=p=>{const t=[];for(let o=0;o<p.length;o++)t.push({start:p.start(o),end:p.end(o)});return t},oh=function(p,t){if(p===t)return!1;if(!p&&t||!t&&p||p.length!==t.length)return!0;for(let o=0;o<p.length;o++)if(p.start(o)!==t.start(o)||p.end(o)!==t.end(o))return!0;return!1},yf=function(p){if(!(!p||!p.length||!p.end))return p.end(p.length-1)},uh=function(p,t){let o=0;if(!p||!p.length)return o;for(let c=0;c<p.length;c++){const y=p.start(c),_=p.end(c);if(!(t>_)){if(t>y&&t<=_){o+=_-t;continue}o+=_-y}}return o},bf=(p,t)=>{if(!t.preload)return t.duration;let o=0;return(t.parts||[]).forEach(function(c){o+=c.duration}),(t.preloadHints||[]).forEach(function(c){c.type==="PART"&&(o+=p.partTargetDuration)}),o},lh=p=>(p.segments||[]).reduce((t,o,c)=>(o.parts?o.parts.forEach(function(y,_){t.push({duration:y.duration,segmentIndex:c,partIndex:_,part:y,segment:o})}):t.push({duration:o.duration,segmentIndex:c,partIndex:null,segment:o,part:null}),t),[]),Nh=p=>{const t=p.segments&&p.segments.length&&p.segments[p.segments.length-1];return t&&t.parts||[]},$d=({preloadSegment:p})=>{if(!p)return;const{parts:t,preloadHints:o}=p;let c=(o||[]).reduce((y,_)=>y+(_.type==="PART"?1:0),0);return c+=t&&t.length?t.length:0,c},ch=(p,t)=>{if(t.endList)return 0;if(p&&p.suggestedPresentationDelay)return p.suggestedPresentationDelay;const o=Nh(t).length>0;return o&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:o&&t.partTargetDuration?t.partTargetDuration*3:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?t.targetDuration*3:0},dh=function(p,t){let o=0,c=t-p.mediaSequence,y=p.segments[c];if(y){if(typeof y.start<"u")return{result:y.start,precise:!0};if(typeof y.end<"u")return{result:y.end-y.duration,precise:!0}}for(;c--;){if(y=p.segments[c],typeof y.end<"u")return{result:o+y.end,precise:!0};if(o+=bf(p,y),typeof y.start<"u")return{result:o+y.start,precise:!0}}return{result:o,precise:!1}},fh=function(p,t){let o=0,c,y=t-p.mediaSequence;for(;y<p.segments.length;y++){if(c=p.segments[y],typeof c.start<"u")return{result:c.start-o,precise:!0};if(o+=bf(p,c),typeof c.end<"u")return{result:c.end-o,precise:!0}}return{result:-1,precise:!1}},Hd=function(p,t,o){if(typeof t>"u"&&(t=p.mediaSequence+p.segments.length),t<p.mediaSequence)return 0;const c=dh(p,t);if(c.precise)return c.result;const y=fh(p,t);return y.precise?y.result:c.result+o},hh=function(p,t,o){if(!p)return 0;if(typeof o!="number"&&(o=0),typeof t>"u"){if(p.totalDuration)return p.totalDuration;if(!p.endList)return O()[1/0]}return Hd(p,t,o)},$c=function({defaultDuration:p,durationList:t,startIndex:o,endIndex:c}){let y=0;if(o>c&&([o,c]=[c,o]),o<0){for(let _=o;_<Math.min(0,c);_++)y+=p;o=0}for(let _=o;_<c;_++)y+=t[_].duration;return y},ph=function(p,t,o,c){if(!p||!p.segments)return null;if(p.endList)return hh(p);if(t===null)return null;t=t||0;let y=Hd(p,p.mediaSequence+p.segments.length,t);return o&&(c=typeof c=="number"?c:ch(null,p),y-=c),Math.max(0,y)},mh=function(p,t,o){const y=t||0;let _=ph(p,t,!0,o);return _===null?Po():(_<y&&(_=y),Po(y,_))},dp=function({playlist:p,currentTime:t,startingSegmentIndex:o,startingPartIndex:c,startTime:y,exactManifestTimings:_}){let P=t-y;const H=lh(p);let ue=0;for(let Te=0;Te<H.length;Te++){const Ye=H[Te];if(o===Ye.segmentIndex&&!(typeof c=="number"&&typeof Ye.partIndex=="number"&&c!==Ye.partIndex)){ue=Te;break}}if(P<0){if(ue>0)for(let Te=ue-1;Te>=0;Te--){const Ye=H[Te];if(P+=Ye.duration,_){if(P<0)continue}else if(P+vl<=0)continue;return{partIndex:Ye.partIndex,segmentIndex:Ye.segmentIndex,startTime:y-$c({defaultDuration:p.targetDuration,durationList:H,startIndex:ue,endIndex:Te})}}return{partIndex:H[0]&&H[0].partIndex||null,segmentIndex:H[0]&&H[0].segmentIndex||0,startTime:t}}if(ue<0){for(let Te=ue;Te<0;Te++)if(P-=p.targetDuration,P<0)return{partIndex:H[0]&&H[0].partIndex||null,segmentIndex:H[0]&&H[0].segmentIndex||0,startTime:t};ue=0}for(let Te=ue;Te<H.length;Te++){const Ye=H[Te];P-=Ye.duration;const xt=Ye.duration>vl,or=P===0,Ir=xt&&P+vl>=0;if(!((or||Ir)&&Te!==H.length-1)){if(_){if(P>0)continue}else if(P-vl>=0)continue;return{partIndex:Ye.partIndex,segmentIndex:Ye.segmentIndex,startTime:y+$c({defaultDuration:p.targetDuration,durationList:H,startIndex:ue,endIndex:Te})}}}return{segmentIndex:H[H.length-1].segmentIndex,partIndex:H[H.length-1].partIndex,startTime:t}},Td=function(p){return p.excludeUntil&&p.excludeUntil>Date.now()},Sf=function(p){return p.excludeUntil&&p.excludeUntil===1/0},xf=function(p){const t=Td(p);return!p.disabled&&!t},Fh=function(p){return p.disabled},gh=function(p){for(let t=0;t<p.segments.length;t++)if(p.segments[t].key)return!0;return!1},vh=function(p,t){return t.attributes&&t.attributes[p]},fp=function(p,t,o,c=0){return vh("BANDWIDTH",o)?(p*o.attributes.BANDWIDTH-c*8)/t:NaN},yh=(p,t)=>{if(p.playlists.length===1)return!0;const o=t.attributes.BANDWIDTH||Number.MAX_VALUE;return p.playlists.filter(c=>xf(c)?(c.attributes.BANDWIDTH||0)<o:!1).length===0},Uf=(p,t)=>!p&&!t||!p&&t||p&&!t?!1:!!(p===t||p.id&&t.id&&p.id===t.id||p.resolvedUri&&t.resolvedUri&&p.resolvedUri===t.resolvedUri||p.uri&&t.uri&&p.uri===t.uri),Bh=function(p,t){const o=p&&p.mediaGroups&&p.mediaGroups.AUDIO||{};let c=!1;for(const y in o){for(const _ in o[y])if(c=t(o[y][_]),c)break;if(c)break}return!!c},Ef=p=>{if(!p||!p.playlists||!p.playlists.length)return Bh(p,o=>o.playlists&&o.playlists.length||o.uri);for(let t=0;t<p.playlists.length;t++){const o=p.playlists[t],c=o.attributes&&o.attributes.CODECS;if(!(c&&c.split(",").every(_=>Sn(_))||Bh(p,_=>Uf(o,_))))return!1}return!0};var Il={liveEdgeDelay:ch,duration:hh,seekable:mh,getMediaInfoForTime:dp,isEnabled:xf,isDisabled:Fh,isExcluded:Td,isIncompatible:Sf,playlistEnd:ph,isAes:gh,hasAttribute:vh,estimateSegmentRequestTime:fp,isLowestEnabledRendition:yh,isAudioOnly:Ef,playlistMatch:Uf,segmentDurationWithParts:bf};const{log:Uh}=nn,Wd=(p,t)=>`${p}-${t}`,bh=(p,t,o)=>`placeholder-uri-${p}-${t}-${o}`,jh=({onwarn:p,oninfo:t,manifestString:o,customTagParsers:c=[],customTagMappers:y=[],llhls:_})=>{const P=new rt;p&&P.on("warn",p),t&&P.on("info",t),c.forEach(Te=>P.addParser(Te)),y.forEach(Te=>P.addTagMapper(Te)),P.push(o),P.end();const H=P.manifest;if(_||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach(function(Te){H.hasOwnProperty(Te)&&delete H[Te]}),H.segments&&H.segments.forEach(function(Te){["parts","preloadHints"].forEach(function(Ye){Te.hasOwnProperty(Ye)&&delete Te[Ye]})})),!H.targetDuration){let Te=10;H.segments&&H.segments.length&&(Te=H.segments.reduce((Ye,xt)=>Math.max(Ye,xt.duration),0)),p&&p({message:`manifest has no targetDuration defaulting to ${Te}`}),H.targetDuration=Te}const ue=Nh(H);if(ue.length&&!H.partTargetDuration){const Te=ue.reduce((Ye,xt)=>Math.max(Ye,xt.duration),0);p&&(p({message:`manifest has no partTargetDuration defaulting to ${Te}`}),Uh.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),H.partTargetDuration=Te}return H},cf=(p,t)=>{p.mediaGroups&&["AUDIO","SUBTITLES"].forEach(o=>{if(p.mediaGroups[o])for(const c in p.mediaGroups[o])for(const y in p.mediaGroups[o][c]){const _=p.mediaGroups[o][c][y];t(_,o,c,y)}})},zh=({playlist:p,uri:t,id:o})=>{p.id=o,p.playlistErrors_=0,t&&(p.uri=t),p.attributes=p.attributes||{}},hp=p=>{let t=p.playlists.length;for(;t--;){const o=p.playlists[t];zh({playlist:o,id:Wd(t,o.uri)}),o.resolvedUri=$o(p.uri,o.uri),p.playlists[o.id]=o,p.playlists[o.uri]=o,o.attributes.BANDWIDTH||Uh.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}},jf=p=>{cf(p,t=>{t.uri&&(t.resolvedUri=$o(p.uri,t.uri))})},pp=(p,t)=>{const o=Wd(0,t),c={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:O().location.href,resolvedUri:O().location.href,playlists:[{uri:t,id:o,resolvedUri:t,attributes:{}}]};return c.playlists[o]=c.playlists[0],c.playlists[t]=c.playlists[0],c},$h=(p,t,o=bh)=>{p.uri=t;for(let y=0;y<p.playlists.length;y++)if(!p.playlists[y].uri){const _=`placeholder-uri-${y}`;p.playlists[y].uri=_}const c=Ef(p);cf(p,(y,_,P,H)=>{if(!y.playlists||!y.playlists.length){if(c&&_==="AUDIO"&&!y.uri)for(let ue=0;ue<p.playlists.length;ue++){const Te=p.playlists[ue];if(Te.attributes&&Te.attributes.AUDIO&&Te.attributes.AUDIO===P)return}y.playlists=[V({},y)]}y.playlists.forEach(function(ue,Te){const Ye=o(_,P,H,ue),xt=Wd(Te,Ye);ue.uri?ue.resolvedUri=ue.resolvedUri||$o(p.uri,ue.uri):(ue.uri=Te===0?Ye:xt,ue.resolvedUri=ue.uri),ue.id=ue.id||xt,ue.attributes=ue.attributes||{},p.playlists[ue.id]=ue,p.playlists[ue.uri]=ue})}),hp(p),jf(p)};class Hh{constructor(){this.offset_=null,this.pendingDateRanges_=new Map,this.processedDateRanges_=new Map}setOffset(t=[]){if(this.offset_!==null||!t.length)return;const[o]=t;o.programDateTime!==void 0&&(this.offset_=o.programDateTime/1e3)}setPendingDateRanges(t=[]){if(!t.length)return;const[o]=t,c=o.startDate.getTime();this.trimProcessedDateRanges_(c),this.pendingDateRanges_=t.reduce((y,_)=>(y.set(_.id,_),y),new Map)}processDateRange(t){this.pendingDateRanges_.delete(t.id),this.processedDateRanges_.set(t.id,t)}getDateRangesToProcess(){if(this.offset_===null)return[];const t={},o=[];this.pendingDateRanges_.forEach((c,y)=>{if(!this.processedDateRanges_.has(y)&&(c.startTime=c.startDate.getTime()/1e3-this.offset_,c.processDateRange=()=>this.processDateRange(c),o.push(c),!!c.class))if(t[c.class]){const _=t[c.class].push(c);c.classListIndex=_-1}else t[c.class]=[c],c.classListIndex=0});for(const c of o){const y=t[c.class]||[];c.endDate?c.endTime=c.endDate.getTime()/1e3-this.offset_:c.endOnNext&&y[c.classListIndex+1]?c.endTime=y[c.classListIndex+1].startTime:c.duration?c.endTime=c.startTime+c.duration:c.plannedDuration?c.endTime=c.startTime+c.plannedDuration:c.endTime=c.startTime}return o}trimProcessedDateRanges_(t){new Map(this.processedDateRanges_).forEach((c,y)=>{c.startDate.getTime()<t&&this.processedDateRanges_.delete(y)})}}const Wh=22,Vd=({requestType:p,request:t,error:o,parseFailure:c})=>{const y=t.status<200||t.status>299,_=t.status>=400&&t.status<=499,P={uri:t.uri,requestType:p},H=y&&!_||c;if(o&&_)P.error=V({},o),P.errorType=nn.Error.NetworkRequestFailed;else if(t.aborted)P.errorType=nn.Error.NetworkRequestAborted;else if(t.timedout)P.errorType=nn.Error.NetworkRequestTimeout;else if(H){const ue=c?nn.Error.NetworkBodyParserFailed:nn.Error.NetworkBadStatus;P.errorType=ue,P.status=t.status,P.headers=t.headers}return P},mp=mo("CodecUtils"),Vh=function(p){const t=p.attributes||{};if(t.CODECS)return Fr(t.CODECS)},Gh=(p,t)=>{const o=t.attributes||{};return p&&p.mediaGroups&&p.mediaGroups.AUDIO&&o.AUDIO&&p.mediaGroups.AUDIO[o.AUDIO]},gp=(p,t)=>{if(!Gh(p,t))return!0;const o=t.attributes||{},c=p.mediaGroups.AUDIO[o.AUDIO];for(const y in c)if(!c[y].uri&&!c[y].playlists)return!0;return!1},Tf=function(p){const t={};return p.forEach(({mediaType:o,type:c,details:y})=>{t[o]=t[o]||[],t[o].push(Lt(`${c}${y}`))}),Object.keys(t).forEach(function(o){if(t[o].length>1){mp(`multiple ${o} codecs found as attributes: ${t[o].join(", ")}. Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs.`),t[o]=null;return}t[o]=t[o][0]}),t},Yh=function(p){let t=0;return p.audio&&t++,p.video&&t++,t},wd=function(p,t){const o=t.attributes||{},c=Tf(Vh(t)||[]);if(Gh(p,t)&&!c.audio&&!gp(p,t)){const y=Tf(fn(p,o.AUDIO)||[]);y.audio&&(c.audio=y.audio)}return c},{EventTarget:a0}=nn,Sh=(p,t)=>{if(t.endList||!t.serverControl)return p;const o={};if(t.serverControl.canBlockReload){const{preloadSegment:c}=t;let y=t.mediaSequence+t.segments.length;if(c){const _=c.parts||[],P=$d(t)-1;P>-1&&P!==_.length-1&&(o._HLS_part=P),(P>-1||_.length)&&y--}o._HLS_msn=y}if(t.serverControl&&t.serverControl.canSkipUntil&&(o._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(o).length){const c=new(O()).URL(p);["_HLS_skip","_HLS_msn","_HLS_part"].forEach(function(y){o.hasOwnProperty(y)&&c.searchParams.set(y,o[y])}),p=c.toString()}return p},Kh=(p,t)=>{if(!p)return t;const o=ja(p,t);if(p.preloadHints&&!t.preloadHints&&delete o.preloadHints,p.parts&&!t.parts)delete o.parts;else if(p.parts&&t.parts)for(let c=0;c<t.parts.length;c++)p.parts&&p.parts[c]&&(o.parts[c]=ja(p.parts[c],t.parts[c]));return!p.skipped&&t.skipped&&(o.skipped=!1),p.preload&&!t.preload&&(o.preload=!1),o},zf=(p,t,o)=>{const c=p.slice(),y=t.slice();o=o||0;const _=[];let P;for(let H=0;H<y.length;H++){const ue=c[H+o],Te=y[H];ue?(P=ue.map||P,_.push(Kh(ue,Te))):(P&&!Te.map&&(Te.map=P),_.push(Te))}return _},Gd=(p,t)=>{!p.resolvedUri&&p.uri&&(p.resolvedUri=$o(t,p.uri)),p.key&&!p.key.resolvedUri&&(p.key.resolvedUri=$o(t,p.key.uri)),p.map&&!p.map.resolvedUri&&(p.map.resolvedUri=$o(t,p.map.uri)),p.map&&p.map.key&&!p.map.key.resolvedUri&&(p.map.key.resolvedUri=$o(t,p.map.key.uri)),p.parts&&p.parts.length&&p.parts.forEach(o=>{o.resolvedUri||(o.resolvedUri=$o(t,o.uri))}),p.preloadHints&&p.preloadHints.length&&p.preloadHints.forEach(o=>{o.resolvedUri||(o.resolvedUri=$o(t,o.uri))})},$f=function(p){const t=p.segments||[],o=p.preloadSegment;if(o&&o.parts&&o.parts.length){if(o.preloadHints){for(let c=0;c<o.preloadHints.length;c++)if(o.preloadHints[c].type==="MAP")return t}o.duration=p.targetDuration,o.preload=!0,t.push(o)}return t},Hc=(p,t)=>p===t||p.segments&&t.segments&&p.segments.length===t.segments.length&&p.endList===t.endList&&p.mediaSequence===t.mediaSequence&&p.preloadSegment===t.preloadSegment,Hf=(p,t,o=Hc)=>{const c=ja(p,{}),y=c.playlists[t.id];if(!y||o(y,t))return null;t.segments=$f(t);const _=ja(y,t);if(_.preloadSegment&&!t.preloadSegment&&delete _.preloadSegment,y.segments){if(t.skip){t.segments=t.segments||[];for(let P=0;P<t.skip.skippedSegments;P++)t.segments.unshift({skipped:!0})}_.segments=zf(y.segments,t.segments,t.mediaSequence-y.mediaSequence)}_.segments.forEach(P=>{Gd(P,_.resolvedUri)});for(let P=0;P<c.playlists.length;P++)c.playlists[P].id===t.id&&(c.playlists[P]=_);return c.playlists[t.id]=_,c.playlists[t.uri]=_,cf(p,(P,H,ue,Te)=>{if(P.playlists)for(let Ye=0;Ye<P.playlists.length;Ye++)t.id===P.playlists[Ye].id&&(P.playlists[Ye]=_)}),c},df=(p,t)=>{const o=p.segments||[],c=o[o.length-1],y=c&&c.parts&&c.parts[c.parts.length-1],_=y&&y.duration||c&&c.duration;return t&&_?_*1e3:(p.partTargetDuration||p.targetDuration||10)*500},xh=(p,t,o)=>{if(!p)return;const c=[];return p.forEach(y=>{if(!y.attributes)return;const{BANDWIDTH:_,RESOLUTION:P,CODECS:H}=y.attributes;c.push({id:y.id,bandwidth:_,resolution:P,codecs:H})}),{type:t,isLive:o,renditions:c}};class ff extends a0{constructor(t,o,c={}){if(super(),!t)throw new Error("A non-empty playlist URL or object is required");this.logger_=mo("PlaylistLoader");const{withCredentials:y=!1}=c;this.src=t,this.vhs_=o,this.withCredentials=y,this.addDateRangesToTextTrack_=c.addDateRangesToTextTrack;const _=o.options_;this.customTagParsers=_&&_.customTagParsers||[],this.customTagMappers=_&&_.customTagMappers||[],this.llhls=_&&_.llhls,this.dateRangesStorage_=new Hh,this.state="HAVE_NOTHING",this.handleMediaupdatetimeout_=this.handleMediaupdatetimeout_.bind(this),this.on("mediaupdatetimeout",this.handleMediaupdatetimeout_),this.on("loadedplaylist",this.handleLoadedPlaylist_.bind(this))}handleLoadedPlaylist_(){const t=this.media();if(!t)return;this.dateRangesStorage_.setOffset(t.segments),this.dateRangesStorage_.setPendingDateRanges(t.dateRanges);const o=this.dateRangesStorage_.getDateRangesToProcess();!o.length||!this.addDateRangesToTextTrack_||this.addDateRangesToTextTrack_(o)}handleMediaupdatetimeout_(){if(this.state!=="HAVE_METADATA")return;const t=this.media();let o=$o(this.main.uri,t.uri);this.llhls&&(o=Sh(o,t)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:o,withCredentials:this.withCredentials,requestType:"hls-playlist"},(c,y)=>{if(this.request){if(c)return this.playlistRequestError(this.request,this.media(),"HAVE_METADATA");this.haveMetadata({playlistString:this.request.responseText,url:this.media().uri,id:this.media().id})}})}playlistRequestError(t,o,c){const{uri:y,id:_}=o;this.request=null,c&&(this.state=c),this.error={playlist:this.main.playlists[_],status:t.status,message:`HLS playlist request error at URL: ${y}.`,responseText:t.responseText,code:t.status>=500?4:2,metadata:Vd({requestType:t.requestType,request:t,error:t.error})},this.trigger("error")}parseManifest_({url:t,manifestString:o}){try{const c=jh({onwarn:({message:y})=>this.logger_(`m3u8-parser warn for ${t}: ${y}`),oninfo:({message:y})=>this.logger_(`m3u8-parser info for ${t}: ${y}`),manifestString:o,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,llhls:this.llhls});return!c.playlists||!c.playlists.length||this.excludeAudioOnlyVariants(c.playlists),c}catch(c){this.error=c,this.error.metadata={errorType:nn.Error.StreamingHlsPlaylistParserError,error:c}}}excludeAudioOnlyVariants(t){const o=c=>{const y=c.attributes||{},{width:_,height:P}=y.RESOLUTION||{};if(_&&P)return!0;const H=Vh(c)||[];return!!Tf(H).video};t.some(o)&&t.forEach(c=>{o(c)||(c.excludeUntil=1/0)})}haveMetadata({playlistString:t,playlistObject:o,url:c,id:y}){this.request=null,this.state="HAVE_METADATA";const _={playlistInfo:{type:"media",uri:c}};this.trigger({type:"playlistparsestart",metadata:_});const P=o||this.parseManifest_({url:c,manifestString:t});P.lastRequest=Date.now(),zh({playlist:P,uri:c,id:y});const H=Hf(this.main,P);this.targetDuration=P.partTargetDuration||P.targetDuration,this.pendingMedia_=null,H?(this.main=H,this.media_=this.main.playlists[y]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(df(this.media(),!!H)),_.parsedPlaylist=xh(this.main.playlists,_.playlistInfo.type,!this.media_.endList),this.trigger({type:"playlistparsecomplete",metadata:_}),this.trigger("loadedplaylist")}dispose(){this.trigger("dispose"),this.stopRequest(),O().clearTimeout(this.mediaUpdateTimeout),O().clearTimeout(this.finalRenditionTimeout),this.dateRangesStorage_=new Hh,this.off()}stopRequest(){if(this.request){const t=this.request;this.request=null,t.onreadystatechange=null,t.abort()}}media(t,o){if(!t)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);if(typeof t=="string"){if(!this.main.playlists[t])throw new Error("Unknown playlist URI: "+t);t=this.main.playlists[t]}if(O().clearTimeout(this.finalRenditionTimeout),o){const H=(t.partTargetDuration||t.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=O().setTimeout(this.media.bind(this,t,!1),H);return}const c=this.state,y=!this.media_||t.id!==this.media_.id,_=this.main.playlists[t.id];if(_&&_.endList||t.endList&&t.segments.length){this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=t,y&&(this.trigger("mediachanging"),c==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange"));return}if(this.updateMediaUpdateTimeout_(df(t,!0)),!y)return;if(this.state="SWITCHING_MEDIA",this.request){if(t.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=t;const P={playlistInfo:{type:"media",uri:t.uri}};this.trigger({type:"playlistrequeststart",metadata:P}),this.request=this.vhs_.xhr({uri:t.resolvedUri,withCredentials:this.withCredentials,requestType:"hls-playlist"},(H,ue)=>{if(this.request){if(t.lastRequest=Date.now(),t.resolvedUri=Ma(t.resolvedUri,ue),H)return this.playlistRequestError(this.request,t,c);this.trigger({type:"playlistrequestcomplete",metadata:P}),this.haveMetadata({playlistString:ue.responseText,url:t.uri,id:t.id}),c==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange")}})}pause(){this.mediaUpdateTimeout&&(O().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),this.state==="HAVE_NOTHING"&&(this.started=!1),this.state==="SWITCHING_MEDIA"?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MAIN_MANIFEST":this.state==="HAVE_CURRENT_METADATA"&&(this.state="HAVE_METADATA")}load(t){this.mediaUpdateTimeout&&(O().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);const o=this.media();if(t){const c=o?(o.partTargetDuration||o.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=O().setTimeout(()=>{this.mediaUpdateTimeout=null,this.load()},c);return}if(!this.started){this.start();return}o&&!o.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist")}updateMediaUpdateTimeout_(t){this.mediaUpdateTimeout&&(O().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),!(!this.media()||this.media().endList)&&(this.mediaUpdateTimeout=O().setTimeout(()=>{this.mediaUpdateTimeout=null,this.trigger("mediaupdatetimeout"),this.updateMediaUpdateTimeout_(t)},t))}start(){if(this.started=!0,typeof this.src=="object"){this.src.uri||(this.src.uri=O().location.href),this.src.resolvedUri=this.src.uri,setTimeout(()=>{this.setupInitialPlaylist(this.src)},0);return}const t={playlistInfo:{type:"multivariant",uri:this.src}};this.trigger({type:"playlistrequeststart",metadata:t}),this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials,requestType:"hls-playlist"},(o,c)=>{if(!this.request)return;if(this.request=null,o)return this.error={status:c.status,message:`HLS playlist request error at URL: ${this.src}.`,responseText:c.responseText,code:2,metadata:Vd({requestType:c.requestType,request:c,error:o})},this.state==="HAVE_NOTHING"&&(this.started=!1),this.trigger("error");this.trigger({type:"playlistrequestcomplete",metadata:t}),this.src=Ma(this.src,c),this.trigger({type:"playlistparsestart",metadata:t});const y=this.parseManifest_({manifestString:c.responseText,url:this.src});t.parsedPlaylist=xh(y.playlists,t.playlistInfo.type,!1),this.trigger({type:"playlistparsecomplete",metadata:t}),this.setupInitialPlaylist(y)})}srcUri(){return typeof this.src=="string"?this.src:this.src.uri}setupInitialPlaylist(t){if(this.state="HAVE_MAIN_MANIFEST",t.playlists){this.main=t,$h(this.main,this.srcUri()),t.playlists.forEach(c=>{c.segments=$f(c),c.segments.forEach(y=>{Gd(y,c.resolvedUri)})}),this.trigger("loadedplaylist"),this.request||this.media(this.main.playlists[0]);return}const o=this.srcUri()||O().location.href;this.main=pp(t,o),this.haveMetadata({playlistObject:t,url:o,id:this.main.playlists[0].id}),this.trigger("loadedmetadata")}updateOrDeleteClone(t,o){const c=this.main,y=t.ID;let _=c.playlists.length;for(;_--;){const P=c.playlists[_];if(P.attributes["PATHWAY-ID"]===y){const H=P.resolvedUri,ue=P.id;if(o){const Te=this.createCloneURI_(P.resolvedUri,t),Ye=Wd(y,Te),xt=this.createCloneAttributes_(y,P.attributes),or=this.createClonePlaylist_(P,Ye,t,xt);c.playlists[_]=or,c.playlists[Ye]=or,c.playlists[Te]=or}else c.playlists.splice(_,1);delete c.playlists[ue],delete c.playlists[H]}}this.updateOrDeleteCloneMedia(t,o)}updateOrDeleteCloneMedia(t,o){const c=this.main,y=t.ID;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(_=>{if(!(!c.mediaGroups[_]||!c.mediaGroups[_][y])){for(const P in c.mediaGroups[_])if(P===y){for(const H in c.mediaGroups[_][P])c.mediaGroups[_][P][H].playlists.forEach((Te,Ye)=>{const xt=c.playlists[Te.id],or=xt.id,Ir=xt.resolvedUri;delete c.playlists[or],delete c.playlists[Ir]});delete c.mediaGroups[_][P]}}}),o&&this.createClonedMediaGroups_(t)}addClonePathway(t,o={}){const c=this.main,y=c.playlists.length,_=this.createCloneURI_(o.resolvedUri,t),P=Wd(t.ID,_),H=this.createCloneAttributes_(t.ID,o.attributes),ue=this.createClonePlaylist_(o,P,t,H);c.playlists[y]=ue,c.playlists[P]=ue,c.playlists[_]=ue,this.createClonedMediaGroups_(t)}createClonedMediaGroups_(t){const o=t.ID,c=t["BASE-ID"],y=this.main;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(_=>{if(!(!y.mediaGroups[_]||y.mediaGroups[_][o]))for(const P in y.mediaGroups[_]){if(P===c)y.mediaGroups[_][o]={};else continue;for(const H in y.mediaGroups[_][P]){const ue=y.mediaGroups[_][P][H];y.mediaGroups[_][o][H]=V({},ue);const Te=y.mediaGroups[_][o][H],Ye=this.createCloneURI_(ue.resolvedUri,t);Te.resolvedUri=Ye,Te.uri=Ye,Te.playlists=[],ue.playlists.forEach((xt,or)=>{const Ir=y.playlists[xt.id],Qr=bh(_,o,H),Rt=Wd(o,Qr);if(Ir&&!y.playlists[Rt]){const kn=this.createClonePlaylist_(Ir,Rt,t),Dn=kn.resolvedUri;y.playlists[Rt]=kn,y.playlists[Dn]=kn}Te.playlists[or]=this.createClonePlaylist_(xt,Rt,t)})}}})}createClonePlaylist_(t,o,c,y){const _=this.createCloneURI_(t.resolvedUri,c),P={resolvedUri:_,uri:_,id:o};return t.segments&&(P.segments=[]),y&&(P.attributes=y),ja(t,P)}createCloneURI_(t,o){const c=new URL(t);c.hostname=o["URI-REPLACEMENT"].HOST;const y=o["URI-REPLACEMENT"].PARAMS;for(const _ of Object.keys(y))c.searchParams.set(_,y[_]);return c.href}createCloneAttributes_(t,o){const c={"PATHWAY-ID":t};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(y=>{o[y]&&(c[y]=t)}),c}getKeyIdSet(t){const o=new Set;if(!t||!t.contentProtection)return o;for(const c in t.contentProtection)if(t.contentProtection[c]&&t.contentProtection[c].attributes&&t.contentProtection[c].attributes.keyId){const y=t.contentProtection[c].attributes.keyId;o.add(y.toLowerCase())}return o}}const wf=function(p,t,o,c){const y=p.responseType==="arraybuffer"?p.response:p.responseText;!t&&y&&(p.responseTime=Date.now(),p.roundTripTime=p.responseTime-p.requestTime,p.bytesReceived=y.byteLength||y.length,p.bandwidth||(p.bandwidth=Math.floor(p.bytesReceived/p.roundTripTime*8*1e3))),o.headers&&(p.responseHeaders=o.headers),t&&t.code==="ETIMEDOUT"&&(p.timedout=!0),!t&&!p.aborted&&o.statusCode!==200&&o.statusCode!==206&&o.statusCode!==0&&(t=new Error("XHR Failed with a response of: "+(p&&(y||p.responseText)))),c(t,p)},_f=(p,t)=>{if(!p||!p.size)return;let o=t;return p.forEach(c=>{o=c(o)}),o},_d=(p,t,o,c)=>{!p||!p.size||p.forEach(y=>{y(t,o,c)})},Eh=function(){const p=function t(o,c){o=ja({timeout:45e3},o);const y=t.beforeRequest||nn.Vhs.xhr.beforeRequest,_=t._requestCallbackSet||nn.Vhs.xhr._requestCallbackSet||new Set,P=t._responseCallbackSet||nn.Vhs.xhr._responseCallbackSet;y&&typeof y=="function"&&(nn.log.warn("beforeRequest is deprecated, use onRequest instead."),_.add(y));const H=nn.Vhs.xhr.original===!0?nn.xhr:nn.Vhs.xhr,ue=_f(_,o);_.delete(y);const Te=H(ue||o,function(xt,or){return _d(P,Te,xt,or),wf(Te,xt,or,c)}),Ye=Te.abort;return Te.abort=function(){return Te.aborted=!0,Ye.apply(Te,arguments)},Te.uri=o.uri,Te.requestType=o.requestType,Te.requestTime=Date.now(),Te};return p.original=!0,p},Cf=function(p){let t;const o=p.offset;return typeof p.offset=="bigint"||typeof p.length=="bigint"?t=O().BigInt(p.offset)+O().BigInt(p.length)-O().BigInt(1):t=p.offset+p.length-1,"bytes="+o+"-"+t},Af=function(p){const t={};return p.byterange&&(t.Range=Cf(p.byterange)),t},Xh=function(p,t){return p.start(t)+"-"+p.end(t)},Th=function(p,t){const o=p.toString(16);return"00".substring(0,2-o.length)+o+(t%2?" ":"")},wh=function(p){return p>=32&&p<126?String.fromCharCode(p):"."},Wf=function(p){const t={};return Object.keys(p).forEach(o=>{const c=p[o];Gr(c)?t[o]={bytes:c.buffer,byteOffset:c.byteOffset,byteLength:c.byteLength}:t[o]=c}),t},Of=function(p){const t=p.byterange||{length:1/0,offset:0};return[t.length,t.offset,p.resolvedUri].join(",")},Vf=function(p){return p.resolvedUri},_h=p=>{const t=Array.prototype.slice.call(p),o=16;let c="",y,_;for(let P=0;P<t.length/o;P++)y=t.slice(P*o,P*o+o).map(Th).join(""),_=t.slice(P*o,P*o+o).map(wh).join(""),c+=y+" "+_+` 965`;return c};var Qh=Object.freeze({__proto__:null,createTransferableMessage:Wf,initSegmentId:Of,segmentKeyId:Vf,hexDump:_h,tagDump:({bytes:p})=>_h(p),textRanges:p=>{let t="",o;for(o=0;o<p.length;o++)t+=Xh(p,o)+" ";return t}});const Jh=.25,yp=(p,t)=>{if(!t.dateTimeObject)return null;const o=t.videoTimingInfo.transmuxerPrependedSeconds,y=t.videoTimingInfo.transmuxedPresentationStart+o,_=p-y;return new Date(t.dateTimeObject.getTime()+_*1e3)},Cc=p=>p.transmuxedPresentationEnd-p.transmuxedPresentationStart-p.transmuxerPrependedSeconds,bp=(p,t)=>{let o;try{o=new Date(p)}catch{return null}if(!t||!t.segments||t.segments.length===0)return null;let c=t.segments[0];if(o<new Date(c.dateTimeObject))return null;for(let ue=0;ue<t.segments.length-1;ue++){c=t.segments[ue];const Te=new Date(t.segments[ue+1].dateTimeObject);if(o<Te)break}const y=t.segments[t.segments.length-1],_=y.dateTimeObject,P=y.videoTimingInfo?Cc(y.videoTimingInfo):y.duration+y.duration*Jh,H=new Date(_.getTime()+P*1e3);return o>H?null:(o>new Date(_)&&(c=y),{segment:c,estimatedStart:c.videoTimingInfo?c.videoTimingInfo.transmuxedPresentationStart:Il.duration(t,t.mediaSequence+t.segments.indexOf(c)),type:c.videoTimingInfo?"accurate":"estimate"})},u0=(p,t)=>{if(!t||!t.segments||t.segments.length===0)return null;let o=0,c;for(let _=0;_<t.segments.length&&(c=t.segments[_],o=c.videoTimingInfo?c.videoTimingInfo.transmuxedPresentationEnd:o+c.duration,!(p<=o));_++);const y=t.segments[t.segments.length-1];if(y.videoTimingInfo&&y.videoTimingInfo.transmuxedPresentationEnd<p)return null;if(p>o){if(p>o+y.duration*Jh)return null;c=y}return{segment:c,estimatedStart:c.videoTimingInfo?c.videoTimingInfo.transmuxedPresentationStart:o-c.duration,type:c.videoTimingInfo?"accurate":"estimate"}},I=(p,t)=>{let o,c;try{o=new Date(p),c=new Date(t)}catch{}const y=o.getTime();return(c.getTime()-y)/1e3},B=p=>{if(!p.segments||p.segments.length===0)return!1;for(let t=0;t<p.segments.length;t++)if(!p.segments[t].dateTimeObject)return!1;return!0},Qe=({playlist:p,time:t=void 0,callback:o})=>{if(!o)throw new Error("getProgramTime: callback must be provided");if(!p||t===void 0)return o({message:"getProgramTime: playlist and time must be provided"});const c=u0(t,p);if(!c)return o({message:"valid programTime was not found"});if(c.type==="estimate")return o({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:c.estimatedStart});const y={mediaSeconds:t},_=yp(t,c.segment);return _&&(y.programDateTime=_.toISOString()),o(null,y)},fr=({programTime:p,playlist:t,retryCount:o=2,seekTo:c,pauseAfterSeek:y=!0,tech:_,callback:P})=>{if(!P)throw new Error("seekToProgramTime: callback must be provided");if(typeof p>"u"||!t||!c)return P({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!t.endList&&!_.hasStarted_)return P({message:"player must be playing a live stream to start buffering"});if(!B(t))return P({message:"programDateTime tags must be provided in the manifest "+t.resolvedUri});const H=bp(p,t);if(!H)return P({message:`${p} was not found in the stream`});const ue=H.segment,Te=I(ue.dateTimeObject,p);if(H.type==="estimate"){if(o===0)return P({message:`${p} is not buffered yet. Try again`});c(H.estimatedStart+Te),_.one("seeked",()=>{fr({programTime:p,playlist:t,retryCount:o-1,seekTo:c,pauseAfterSeek:y,tech:_,callback:P})});return}const Ye=ue.start+Te,xt=()=>P(null,_.currentTime());_.one("seeked",xt),y&&_.pause(),c(Ye)},oi=(p,t)=>{if(p.readyState===4)return t()},Zs=(p,t,o,c)=>{let y=[],_,P=!1;const H=function(xt,or,Ir,Qr){return or.abort(),P=!0,o(xt,or,Ir,Qr)},ue=function(xt,or){if(P)return;if(xt)return xt.metadata=Vd({requestType:c,request:or,error:xt}),H(xt,or,"",y);const Ir=or.responseText.substring(y&&y.byteLength||0,or.responseText.length);if(y=$i(y,Si(Ir,!0)),_=_||hr(y),y.length<10||_&&y.length<_+2)return oi(or,()=>H(xt,or,"",y));const Qr=mr(y);return Qr==="ts"&&y.length<188?oi(or,()=>H(xt,or,"",y)):!Qr&&y.length<376?oi(or,()=>H(xt,or,"",y)):H(null,or,Qr,y)},Ye=t({uri:p,beforeSend(xt){xt.overrideMimeType("text/plain;
965 charset=x-user-defined"),xt.addEventListener("progress",function({total:or,loaded:Ir}){return wf(xt,null,{statusCode:xt.status},ue)})}},function(xt,or){return wf(Ye,xt,or,ue)});return Ye},{EventTarget:ga}=nn,Gl=function(p,t){if(!Hc(p,t)||p.sidx&&t.sidx&&(p.sidx.offset!==t.sidx.offset||p.sidx.length!==t.sidx.length))return!1;if(!p.sidx&&t.sidx||p.sidx&&!t.sidx||p.segments&&!t.segments||!p.segments&&t.segments)return!1;if(!p.segments&&!t.segments)return!0;for(let o=0;o<p.segments.length;o++){const c=p.segments[o],y=t.segments[o];if(c.uri!==y.uri)return!1;if(!c.byterange&&!y.byterange)continue;const _=c.byterange,P=y.byterange;if(_&&!P||!_&&P||_.offset!==P.offset||_.length!==P.length)return!1}return!0},Sp=(p,t,o,c)=>{const y=c.attributes.NAME||o;return`placeholder-uri-${p}-${t}-${y}`},xp=({mainXml:p,srcUrl:t,clientOffset:o,sidxMapping:c,previousManifest:y})=>{const _=ge(p,{manifestUri:t,clientOffset:o,sidxMapping:c,previousManifest:y});return $h(_,t,Sp),_},Em=(p,t)=>{cf(p,(o,c,y,_)=>{(!t.mediaGroups[c][y]||!(_ in t.mediaGroups[c][y]))&&delete p.mediaGroups[c][y][_]})},Tm=(p,t,o)=>{let c=!0,y=ja(p,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts});for(let _=0;_<t.playlists.length;_++){const P=t.playlists[_];if(P.sidx){const ue=wi(P.sidx);o&&o[ue]&&o[ue].sidx&&Or(P,o[ue].sidx,P.sidx.resolvedUri)}const H=Hf(y,P,Gl);H&&(y=H,c=!1)}return cf(t,(_,P,H,ue)=>{if(_.playlists&&_.playlists.length){const Te=_.playlists[0].id,Ye=Hf(y,_.playlists[0],Gl);Ye&&(y=Ye,ue in y.mediaGroups[P][H]||(y.mediaGroups[P][H][ue]=_),y.mediaGroups[P][H][ue].playlists[0]=y.playlists[Te],c=!1)}}),Em(y,t),t.minimumUpdatePeriod!==p.minimumUpdatePeriod&&(c=!1),c?null:y},Ep=(p,t)=>(!p.map&&!t.map||!!(p.map&&t.map&&p.map.byterange.offset===t.map.byterange.offset&&p.map.byterange.length===t.map.byterange.length))&&p.uri===t.uri&&p.byterange.offset===t.byterange.offset&&p.byterange.length===t.byterange.length,l0=(p,t)=>{const o={};for(const c in p){const _=p[c].sidx;if(_){const P=wi(_);if(!t[P])break;const H=t[P].sidxInfo;Ep(H,_)&&(o[P]=t[P])}}return o},Yd=(p,t)=>{let c=l0(p.playlists,t);return cf(p,(y,_,P,H)=>{if(y.playlists&&y.playlists.length){const ue=y.playlists;c=ja(c,l0(ue,t))}}),c};class Zh extends ga{constructor(t,o,c={},y){super(),this.isPaused_=!0,this.mainPlaylistLoader_=y||this,y||(this.isMain_=!0);const{withCredentials:_=!1}=c;if(this.vhs_=o,this.withCredentials=_,this.addMetadataToTextTrack=c.addMetadataToTextTrack,!t)throw new Error("A non-empty playlist URL or object is required");this.on("minimumUpdatePeriod",()=>{this.refreshXml_()}),this.on("mediaupdatetimeout",()=>{this.refreshMedia_(this.media().id)}),this.state="HAVE_NOTHING",this.loadedPlaylists_={},this.logger_=mo("DashPlaylistLoader"),this.isMain_?(this.mainPlaylistLoader_.srcUrl=t,this.mainPlaylistLoader_.sidxMapping_={}):this.childPlaylist_=t}get isPaused(){return this.isPaused_}requestErrored_(t,o,c){if(!this.request)return!0;if(this.request=null,t)return this.error=typeof t=="object"&&!(t instanceof Error)?t:{status:o.status,message:"DASH request error at URL: "+o.uri,response:o.response,code:2,metadata:t.metadata},c&&(this.state=c),this.trigger("error"),!0}addSidxSegments_(t,o,c){const y=t.sidx&&wi(t.sidx);if(!t.sidx||!y||this.mainPlaylistLoader_.sidxMapping_[y]){O().clearTimeout(this.mediaRequest_),this.mediaRequest_=O().setTimeout(()=>c(!1),0);return}const _=Ma(t.sidx.resolvedUri),P=(ue,Te)=>{if(this.requestErrored_(ue,Te,o))return;const Ye=this.mainPlaylistLoader_.sidxMapping_,{requestType:xt}=Te;let or;try{or=yt()(At(Te.response).subarray(8))}catch(Ir){Ir.metadata=Vd({requestType:xt,request:Te,parseFailure:!0}),this.requestErrored_(Ir,Te,o);return}return Ye[y]={sidxInfo:t.sidx,sidx:or},Or(t,or,t.sidx.resolvedUri),c(!0)},H="dash-sidx";this.request=Zs(_,this.vhs_.xhr,(ue,Te,Ye,xt)=>{if(ue)return P(ue,Te);if(!Ye||Ye!=="mp4"){const Qr=Ye||"unknown";return P({status:Te.status,message:`Unsupported ${Qr} container type for sidx segment at URL: ${_}`,response:"",playlist:t,internal:!0,playlistExclusionDuration:1/0,code:2},Te)}const{offset:or,length:Ir}=t.sidx.byterange;if(xt.length>=Ir+or)return P(ue,{response:xt.subarray(or,or+Ir),status:Te.status,uri:Te.uri});this.request=this.vhs_.xhr({uri:_,responseType:"arraybuffer",requestType:"dash-sidx",headers:Af({byterange:t.sidx.byterange})},P)},H)}dispose(){this.isPaused_=!0,this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},O().clearTimeout(this.minimumUpdatePeriodTimeout_),O().clearTimeout(this.mediaRequest_),O().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.off()}hasPendingRequest(){return this.request||this.mediaRequest_}stopRequest(){if(this.request){const t=this.request;this.request=null,t.onreadystatechange=null,t.abort()}}media(t){if(!t)return this.media_;if(this.state==="HAVE_NOTHING")throw new Error("Cannot switch media playlist from "+this.state);const o=this.state;if(typeof t=="string"){if(!this.mainPlaylistLoader_.main.playlists[t])throw new Error("Unknown playlist URI: "+t);t=this.mainPlaylistLoader_.main.playlists[t]}const c=!this.media_||t.id!==this.media_.id;if(c&&this.loadedPlaylists_[t.id]&&this.loadedPlaylists_[t.id].endList){this.state="HAVE_METADATA",this.media_=t,c&&(this.trigger("mediachanging"),this.trigger("mediachange"));return}c&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(t,o,y=>{this.haveMetadata({startingState:o,playlist:t})}))}haveMetadata({startingState:t,playlist:o}){this.state="HAVE_METADATA",this.loadedPlaylists_[o.id]=o,O().clearTimeout(this.mediaRequest_),this.mediaRequest_=null,this.refreshMedia_(o.id),t==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange")}pause(){this.isPaused_=!0,this.mainPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.mainPlaylistLoader_.createMupOnMedia_),this.mainPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),O().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMain_&&(O().clearTimeout(this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_),this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_=null),this.state==="HAVE_NOTHING"&&(this.started=!1)}load(t){this.isPaused_=!1,O().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;const o=this.media();if(t){const c=o?o.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=O().setTimeout(()=>this.load(),c);return}if(!this.started){this.start();return}o&&!o.endList?(this.isMain_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist")}
vendor: 281,904 bytes, lines 965-994
965start(){if(this.started=!0,!this.isMain_){O().clearTimeout(this.mediaRequest_),this.mediaRequest_=O().setTimeout(()=>this.haveMain_(),0);return}this.requestMain_((t,o)=>{this.haveMain_(),!this.hasPendingRequest()&&!this.media_&&this.media(this.mainPlaylistLoader_.main.playlists[0])})}requestMain_(t){const o={manifestInfo:{uri:this.mainPlaylistLoader_.srcUrl}};this.trigger({type:"manifestrequeststart",metadata:o}),this.request=this.vhs_.xhr({uri:this.mainPlaylistLoader_.srcUrl,withCredentials:this.withCredentials,requestType:"dash-manifest"},(c,y)=>{if(c){const{requestType:P}=y;c.metadata=Vd({requestType:P,request:y,error:c})}if(this.requestErrored_(c,y)){this.state==="HAVE_NOTHING"&&(this.started=!1);return}this.trigger({type:"manifestrequestcomplete",metadata:o});const _=y.responseText!==this.mainPlaylistLoader_.mainXml_;if(this.mainPlaylistLoader_.mainXml_=y.responseText,y.responseHeaders&&y.responseHeaders.date?this.mainLoaded_=Date.parse(y.responseHeaders.date):this.mainLoaded_=Date.now(),this.mainPlaylistLoader_.srcUrl=Ma(this.mainPlaylistLoader_.srcUrl,y),_){this.handleMain_(),this.syncClientServerClock_(()=>t(y,_));return}return t(y,_)})}syncClientServerClock_(t){const o=je(this.mainPlaylistLoader_.mainXml_);if(o===null)return this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),t();if(o.method==="DIRECT")return this.mainPlaylistLoader_.clientOffset_=o.value-Date.now(),t();this.request=this.vhs_.xhr({uri:$o(this.mainPlaylistLoader_.srcUrl,o.value),method:o.method,withCredentials:this.withCredentials,requestType:"dash-clock-sync"},(c,y)=>{if(!this.request)return;if(c){const{requestType:P}=y;return this.error.metadata=Vd({requestType:P,request:y,error:c}),this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),t()}let _;o.method==="HEAD"?!y.responseHeaders||!y.responseHeaders.date?_=this.mainLoaded_:_=Date.parse(y.responseHeaders.date):_=Date.parse(y.responseText),this.mainPlaylistLoader_.clientOffset_=_-Date.now(),t()})}haveMain_(){this.state="HAVE_MAIN_MANIFEST",this.isMain_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)}handleMain_(){O().clearTimeout(this.mediaRequest_),this.mediaRequest_=null;const t=this.mainPlaylistLoader_.main,o={manifestInfo:{uri:this.mainPlaylistLoader_.srcUrl}};this.trigger({type:"manifestparsestart",metadata:o});let c;try{c=xp({mainXml:this.mainPlaylistLoader_.mainXml_,srcUrl:this.mainPlaylistLoader_.srcUrl,clientOffset:this.mainPlaylistLoader_.clientOffset_,sidxMapping:this.mainPlaylistLoader_.sidxMapping_,previousManifest:t})}catch(_){this.error=_,this.error.metadata={errorType:nn.Error.StreamingDashManifestParserError,error:_},this.trigger("error")}t&&(c=Tm(t,c,this.mainPlaylistLoader_.sidxMapping_)),this.mainPlaylistLoader_.main=c||t;const y=this.mainPlaylistLoader_.main.locations&&this.mainPlaylistLoader_.main.locations[0];if(y&&y!==this.mainPlaylistLoader_.srcUrl&&(this.mainPlaylistLoader_.srcUrl=y),(!t||c&&c.minimumUpdatePeriod!==t.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),this.addEventStreamToMetadataTrack_(c),c){const{duration:_,endList:P}=c,H=[];c.playlists.forEach(Te=>{H.push({id:Te.id,bandwidth:Te.attributes.BANDWIDTH,resolution:Te.attributes.RESOLUTION,codecs:Te.attributes.CODECS})});const ue={duration:_,isLive:!P,renditions:H};o.parsedManifest=ue,this.trigger({type:"manifestparsecomplete",metadata:o})}return!!c}updateMinimumUpdatePeriodTimeout_(){const t=this.mainPlaylistLoader_;t.createMupOnMedia_&&(t.off("loadedmetadata",t.createMupOnMedia_),t.createMupOnMedia_=null),t.minimumUpdatePeriodTimeout_&&(O().clearTimeout(t.minimumUpdatePeriodTimeout_),t.minimumUpdatePeriodTimeout_=null);let o=t.main&&t.main.minimumUpdatePeriod;if(o===0&&(t.media()?o=t.media().targetDuration*1e3:(t.createMupOnMedia_=t.updateMinimumUpdatePeriodTimeout_,t.one("loadedmetadata",t.createMupOnMedia_))),typeof o!="number"||o<=0){o<0&&this.logger_(`found invalid minimumUpdatePeriod of ${o}, not setting a timeout`);return}this.createMUPTimeout_(o)}createMUPTimeout_(t){const o=this.mainPlaylistLoader_;o.minimumUpdatePeriodTimeout_=O().setTimeout(()=>{o.minimumUpdatePeriodTimeout_=null,o.trigger("minimumUpdatePeriod"),o.createMUPTimeout_(t)},t)}refreshXml_(){this.requestMain_((t,o)=>{o&&(this.media_&&(this.media_=this.mainPlaylistLoader_.main.playlists[this.media_.id]),this.mainPlaylistLoader_.sidxMapping_=Yd(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.sidxMapping_),this.addSidxSegments_(this.media(),this.state,c=>{this.refreshMedia_(this.media().id)}))})}refreshMedia_(t){if(!t)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMain_&&this.handleMain_();const o=this.mainPlaylistLoader_.main.playlists,c=!this.media_||this.media_!==o[t];if(c?this.media_=o[t]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){const y=()=>{this.media().endList||(this.mediaUpdateTimeout=O().setTimeout(()=>{this.trigger("mediaupdatetimeout"),y()},df(this.media(),!!c)))};y()}this.trigger("loadedplaylist")}addEventStreamToMetadataTrack_(t){if(t&&this.mainPlaylistLoader_.main.eventStream){const o=this.mainPlaylistLoader_.main.eventStream.map(c=>({cueTime:c.start,frames:[{data:c.messageData}]}));this.addMetadataToTextTrack("EventStream",o,this.mainPlaylistLoader_.main.duration)}}getKeyIdSet(t){if(t.contentProtection){const o=new Set;for(const c in t.contentProtection){const y=t.contentProtection[c].attributes["cenc:default_KID"];y&&o.add(y.replace(/-/g,"").toLowerCase())}return o}}}var Iu={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30};const uu=p=>{const t=new Uint8Array(new ArrayBuffer(p.length));for(let o=0;o<p.length;o++)t[o]=p.charCodeAt(o);return t.buffer},lu=function(p){return p.on=p.addEventListener,p.off=p.removeEventListener,p},c0=function(p){try{return URL.createObjectURL(new Blob([p],{type:"application/javascript"}))}catch{const o=new BlobBuilder;return o.append(p),URL.createObjectURL(o.getBlob())}},d0=function(p){return function(){const t=c0(p),o=lu(new Worker(t));o.objURL=t;const c=o.terminate;return o.on=o.addEventListener,o.off=o.removeEventListener,o.terminate=function(){return URL.revokeObjectURL(t),c.call(this)},o}},f0=function(p){return`var browserWorkerPolyFill = ${lu.toString()}; 966browserWorkerPolyFill(self); 967`+p},h0=function(p){return p.toString().replace(/^function.+?{/,"").slice(0,-1)},wm=f0(h0(function(){var p=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=function(){this.init=function(){var L={};this.on=function(X,Z){L[X]||(L[X]=[]),L[X]=L[X].concat(Z)},this.off=function(X,Z){var ne;return L[X]?(ne=L[X].indexOf(Z),L[X]=L[X].slice(),L[X].splice(ne,1),ne>-1):!1},this.trigger=function(X){var Z,ne,me,Re;if(Z=L[X],!!Z)if(arguments.length===2)for(me=Z.length,ne=0;ne<me;++ne)Z[ne].call(this,arguments[1]);else{for(Re=[],ne=arguments.length,ne=1;ne<arguments.length;++ne)Re.push(arguments[ne]);for(me=Z.length,ne=0;ne<me;++ne)Z[ne].apply(this,Re)}},this.dispose=function(){L={}}}};t.prototype.pipe=function(L){return this.on("data",function(X){L.push(X)}),this.on("done",function(X){L.flush(X)}),this.on("partialdone",function(X){L.partialFlush(X)}),this.on("endedtimeline",function(X){L.endTimeline(X)}),this.on("reset",function(X){L.reset(X)}),L},t.prototype.push=function(L){this.trigger("data",L)},t.prototype.flush=function(L){this.trigger("done",L)},t.prototype.partialFlush=function(L){this.trigger("partialdone",L)},t.prototype.endTimeline=function(L){this.trigger("endedtimeline",L)},t.prototype.reset=function(L){this.trigger("reset",L)};var o=t,c=Math.pow(2,32),y=function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z;return X.getBigUint64?(Z=X.getBigUint64(0),Z<Number.MAX_SAFE_INTEGER?Number(Z):Z):X.getUint32(0)*c+X.getUint32(4)},_={getUint64:y,MAX_UINT32:c},P=_.MAX_UINT32,H,ue,Te,Ye,xt,or,Ir,Qr,Rt,kn,Dn,Tn,rn,zn,Nn,yi,Gn,bi,na,go,Ho,Co,Os,Ds,Ro,Ao,al,Kl,Id,Gc,Pd,Rd,Ph,yl,jp,zp;(function(){var L;if(Os={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},!(typeof Uint8Array>"u")){for(L in Os)Os.hasOwnProperty(L)&&(Os[L]=[L.charCodeAt(0),L.charCodeAt(1),L.charCodeAt(2),L.charCodeAt(3)]);Ds=new Uint8Array([105,115,111,109]),Ao=new Uint8Array([97,118,99,49]),Ro=new Uint8Array([0,0,0,1]),al=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),Kl=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),Id={video:al,audio:Kl},Rd=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Pd=new Uint8Array([0,0,0,0,0,0,0,0]),Ph=new Uint8Array([0,0,0,0,0,0,0,0]),yl=Ph,jp=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),zp=Ph,Gc=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}})(),H=function(L){var X=[],Z=0,ne,me,Re;for(ne=1;ne<arguments.length;ne++)X.push(arguments[ne]);for(ne=X.length;ne--;)Z+=X[ne].byteLength;for(me=new Uint8Array(Z+8),Re=new DataView(me.buffer,me.byteOffset,me.byteLength),Re.setUint32(0,me.byteLength),me.set(L,4),ne=0,Z=8;ne<X.length;ne++)me.set(X[ne],Z),Z+=X[ne].byteLength;return me},ue=function(){return H(Os.dinf,H(Os.dref,Rd))},Te=function(L){return H(Os.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,L.audioobjecttype<<3|L.samplingfrequencyindex>>>1,L.samplingfrequencyindex<<7|L.channelcount<<3,6,1,2]))},Ye=function(){return H(Os.ftyp,Ds,Ro,Ds,Ao)},yi=function(L){return H(Os.hdlr,Id[L])},xt=function(L){return H(Os.mdat,L)},Nn=function(L){var X=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,L.duration>>>24&255,L.duration>>>16&255,L.duration>>>8&255,L.duration&255,85,196,0,0]);return L.samplerate&&(X[12]=L.samplerate>>>24&255,X[13]=L.samplerate>>>16&255,X[14]=L.samplerate>>>8&255,X[15]=L.samplerate&255),H(Os.mdhd,X)},zn=function(L){return H(Os.mdia,Nn(L),yi(L.type),Ir(L))},or=function(L){return H(Os.mfhd,new Uint8Array([0,0,0,0,(L&4278190080)>>24,(L&16711680)>>16,(L&65280)>>8,L&255]))},Ir=function(L){return H(Os.minf,L.type==="video"?H(Os.vmhd,Gc):H(Os.smhd,Pd),ue(),bi(L))},Qr=function(L,X){for(var Z=[],ne=X.length;ne--;)Z[ne]=go(X[ne]);return H.apply(null,[Os.moof,or(L)].concat(Z))},Rt=function(L){for(var X=L.length,Z=[];X--;)Z[X]=Tn(L[X]);return H.apply(null,[Os.moov,Dn(4294967295)].concat(Z).concat(kn(L)))},kn=function(L){for(var X=L.length,Z=[];X--;)Z[X]=Ho(L[X]);return H.apply(null,[Os.mvex].concat(Z))},Dn=function(L){var X=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(L&4278190080)>>24,(L&16711680)>>16,(L&65280)>>8,L&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return H(Os.mvhd,X)},Gn=function(L){var X=L.samples||[],Z=new Uint8Array(4+X.length),ne,me;for(me=0;me<X.length;me++)ne=X[me].flags,Z[me+4]=ne.dependsOn<<4|ne.isDependedOn<<2|ne.hasRedundancy;return H(Os.sdtp,Z)},bi=function(L){return H(Os.stbl,na(L),H(Os.stts,zp),H(Os.stsc,yl),H(Os.stsz,jp),H(Os.stco,Ph))},(function(){var L,X;na=function(Z){return H(Os.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),Z.type==="video"?L(Z):X(Z))},L=function(Z){var ne=Z.sps||[],me=Z.pps||[],Re=[],It=[],kt,Gt;for(kt=0;kt<ne.length;kt++)Re.push((ne[kt].byteLength&65280)>>>8),Re.push(ne[kt].byteLength&255),Re=Re.concat(Array.prototype.slice.call(ne[kt]));for(kt=0;kt<me.length;kt++)It.push((me[kt].byteLength&65280)>>>8),It.push(me[kt].byteLength&255),It=It.concat(Array.prototype.slice.call(me[kt]));if(Gt=[Os.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(Z.width&65280)>>8,Z.width&255,(Z.height&65280)>>8,Z.height&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),H(Os.avcC,new Uint8Array([1,Z.profileIdc,Z.profileCompatibility,Z.levelIdc,255].concat([ne.length],Re,[me.length],It))),H(Os.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],Z.sarRatio){var tr=Z.sarRatio[0],Xr=Z.sarRatio[1];Gt.push(H(Os.pasp,new Uint8Array([(tr&4278190080)>>24,(tr&16711680)>>16,(tr&65280)>>8,tr&255,(Xr&4278190080)>>24,(Xr&16711680)>>16,(Xr&65280)>>8,Xr&255])))}return H.apply(null,Gt)},X=function(Z){return H(Os.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(Z.channelcount&65280)>>8,Z.channelcount&255,(Z.samplesize&65280)>>8,Z.samplesize&255,0,0,0,0,(Z.samplerate&65280)>>8,Z.samplerate&255,0,0]),Te(Z))}})(),rn=function(L){var X=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(L.id&4278190080)>>24,(L.id&16711680)>>16,(L.id&65280)>>8,L.id&255,0,0,0,0,(L.duration&4278190080)>>24,(L.duration&16711680)>>16,(L.duration&65280)>>8,L.duration&255,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(L.width&65280)>>8,L.width&255,0,0,(L.height&65280)>>8,L.height&255,0,0]);return H(Os.tkhd,X)},go=function(L){var X,Z,ne,me,Re,It,kt;return X=H(Os.tfhd,new Uint8Array([0,0,0,58,(L.id&4278190080)>>24,(L.id&16711680)>>16,(L.id&65280)>>8,L.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),It=Math.floor(L.baseMediaDecodeTime/P),kt=Math.floor(L.baseMediaDecodeTime%P),Z=H(Os.tfdt,new Uint8Array([1,0,0,0,It>>>24&255,It>>>16&255,It>>>8&255,It&255,kt>>>24&255,kt>>>16&255,kt>>>8&255,kt&255])),Re=92,L.type==="audio"?(ne=Co(L,Re),H(Os.traf,X,Z,ne)):(me=Gn(L),ne=Co(L,me.length+Re),H(Os.traf,X,Z,ne,me))},Tn=function(L){return L.duration=L.duration||4294967295,H(Os.trak,rn(L),zn(L))},Ho=function(L){var X=new Uint8Array([0,0,0,0,(L.id&4278190080)>>24,(L.id&16711680)>>16,(L.id&65280)>>8,L.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return L.type!=="video"&&(X[X.length-1]=0),H(Os.trex,X)},(function(){var L,X,Z;Z=function(ne,me){var Re=0,It=0,kt=0,Gt=0;return ne.length&&(ne[0].duration!==void 0&&(Re=1),ne[0].size!==void 0&&(It=2),ne[0].flags!==void 0&&(kt=4),ne[0].compositionTimeOffset!==void 0&&(Gt=8)),[0,0,Re|It|kt|Gt,1,(ne.length&4278190080)>>>24,(ne.length&16711680)>>>16,(ne.length&65280)>>>8,ne.length&255,(me&4278190080)>>>24,(me&16711680)>>>16,(me&65280)>>>8,me&255]},X=function(ne,me){var Re,It,kt,Gt,tr,Xr;for(Gt=ne.samples||[],me+=20+16*Gt.length,kt=Z(Gt,me),It=new Uint8Array(kt.length+Gt.length*16),It.set(kt),Re=kt.length,Xr=0;Xr<Gt.length;Xr++)tr=Gt[Xr],It[Re++]=(tr.duration&4278190080)>>>24,It[Re++]=(tr.duration&16711680)>>>16,It[Re++]=(tr.duration&65280)>>>8,It[Re++]=tr.duration&255,It[Re++]=(tr.size&4278190080)>>>24,It[Re++]=(tr.size&16711680)>>>16,It[Re++]=(tr.size&65280)>>>8,It[Re++]=tr.size&255,It[Re++]=tr.flags.isLeading<<2|tr.flags.dependsOn,It[Re++]=tr.flags.isDependedOn<<6|tr.flags.hasRedundancy<<4|tr.flags.paddingValue<<1|tr.flags.isNonSyncSample,It[Re++]=tr.flags.degradationPriority&61440,It[Re++]=tr.flags.degradationPriority&15,It[Re++]=(tr.compositionTimeOffset&4278190080)>>>24,It[Re++]=(tr.compositionTimeOffset&16711680)>>>16,It[Re++]=(tr.compositionTimeOffset&65280)>>>8,It[Re++]=tr.compositionTimeOffset&255;return H(Os.trun,It)},L=function(ne,me){var Re,It,kt,Gt,tr,Xr;for(Gt=ne.samples||[],me+=20+8*Gt.length,kt=Z(Gt,me),Re=new Uint8Array(kt.length+Gt.length*8),Re.set(kt),It=kt.length,Xr=0;Xr<Gt.length;Xr++)tr=Gt[Xr],Re[It++]=(tr.duration&4278190080)>>>24,Re[It++]=(tr.duration&16711680)>>>16,Re[It++]=(tr.duration&65280)>>>8,Re[It++]=tr.duration&255,Re[It++]=(tr.size&4278190080)>>>24,Re[It++]=(tr.size&16711680)>>>16,Re[It++]=(tr.size&65280)>>>8,Re[It++]=tr.size&255;return H(Os.trun,Re)},Co=function(ne,me){return ne.type==="audio"?L(ne,me):X(ne,me)}})();var G0={ftyp:Ye,mdat:xt,moof:Qr,moov:Rt,initSegment:function(L){var X=Ye(),Z=Rt(L),ne;return ne=new Uint8Array(X.byteLength+Z.byteLength),ne.set(X),ne.set(Z,X.byteLength),ne}},Y0=function(L){var X,Z,ne=[],me=[];for(me.byteLength=0,me.nalCount=0,me.duration=0,ne.byteLength=0,X=0;X<L.length;X++)Z=L[X],Z.nalUnitType==="access_unit_delimiter_rbsp"?(ne.length&&(ne.duration=Z.dts-ne.dts,me.byteLength+=ne.byteLength,me.nalCount+=ne.length,me.duration+=ne.duration,me.push(ne)),ne=[Z],ne.byteLength=Z.data.byteLength,ne.pts=Z.pts,ne.dts=Z.dts):(Z.nalUnitType==="slice_layer_without_partitioning_rbsp_idr"&&(ne.keyFrame=!0),ne.duration=Z.dts-ne.dts,ne.byteLength+=Z.data.byteLength,ne.push(Z));return me.length&&(!ne.duration||ne.duration<=0)&&(ne.duration=me[me.length-1].duration),me.byteLength+=ne.byteLength,me.nalCount+=ne.length,me.duration+=ne.duration,me.push(ne),me},K0=function(L){var X,Z,ne=[],me=[];for(ne.byteLength=0,ne.nalCount=0,ne.duration=0,ne.pts=L[0].pts,ne.dts=L[0].dts,me.byteLength=0,me.nalCount=0,me.duration=0,me.pts=L[0].pts,me.dts=L[0].dts,X=0;X<L.length;X++)Z=L[X],Z.keyFrame?(ne.length&&(me.push(ne),me.byteLength+=ne.byteLength,me.nalCount+=ne.nalCount,me.duration+=ne.duration),ne=[Z],ne.nalCount=Z.length,ne.byteLength=Z.byteLength,ne.pts=Z.pts,ne.dts=Z.dts,ne.duration=Z.duration):(ne.duration+=Z.duration,ne.nalCount+=Z.length,ne.byteLength+=Z.byteLength,ne.push(Z));return me.length&&ne.duration<=0&&(ne.duration=me[me.length-1].duration),me.byteLength+=ne.byteLength,me.nalCount+=ne.nalCount,me.duration+=ne.duration,me.push(ne),me},ap=function(L){var X;return!L[0][0].keyFrame&&L.length>1&&(X=L.shift(),L.byteLength-=X.byteLength,L.nalCount-=X.nalCount,L[0][0].dts=X.dts,L[0][0].pts=X.pts,L[0][0].duration+=X.duration),L},Mg=function(){return{size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}}},f1=function(L,X){var Z=Mg();return Z.dataOffset=X,Z.compositionTimeOffset=L.pts-L.dts,Z.duration=L.duration,Z.size=4*L.length,Z.size+=L.byteLength,L.keyFrame&&(Z.flags.dependsOn=2,Z.flags.isNonSyncSample=0),Z},fv=function(L,X){var Z,ne,me,Re,It,kt=X||0,Gt=[];for(Z=0;Z<L.length;Z++)for(Re=L[Z],ne=0;ne<Re.length;ne++)It=Re[ne],me=f1(It,kt),kt+=me.size,Gt.push(me);return Gt},hv=function(L){var X,Z,ne,me,Re,It,kt=0,Gt=L.byteLength,tr=L.nalCount,Xr=Gt+4*tr,Bn=new Uint8Array(Xr),Gi=new DataView(Bn.buffer);for(X=0;X<L.length;X++)for(me=L[X],Z=0;Z<me.length;Z++)for(Re=me[Z],ne=0;ne<Re.length;ne++)It=Re[ne],Gi.setUint32(kt,It.data.byteLength),kt+=4,Bn.set(It.data,kt),kt+=It.data.byteLength;return Bn},pv=function(L,X){var Z,ne=X||0,me=[];return Z=f1(L,ne),me.push(Z),me},mv=function(L){var X,Z,ne=0,me=L.byteLength,Re=L.length,It=me+4*Re,kt=new Uint8Array(It),Gt=new DataView(kt.buffer);for(X=0;X<L.length;X++)Z=L[X],Gt.setUint32(ne,Z.data.byteLength),ne+=4,kt.set(Z.data,ne),ne+=Z.data.byteLength;return kt},gv={groupNalsIntoFrames:Y0,groupFramesIntoGops:K0,extendFirstKeyFrame:ap,generateSampleTable:fv,concatenateNalData:hv,generateSampleTableForFrame:pv,concatenateNalDataForFrame:mv},qf=[33,16,5,32,164,27],kg=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],No=function(L){for(var X=[];L--;)X.push(0);return X},vv=function(L){return Object.keys(L).reduce(function(X,Z){return X[Z]=new Uint8Array(L[Z].reduce(function(ne,me){return ne.concat(me)},[])),X},{})},Ng,yv=function(){if(!Ng){var L={96e3:[qf,[227,64],No(154),[56]],88200:[qf,[231],No(170),[56]],64e3:[qf,[248,192],No(240),[56]],48e3:[qf,[255,192],No(268),[55,148,128],No(54),[112]],44100:[qf,[255,192],No(268),[55,163,128],No(84),[112]],32e3:[qf,[255,192],No(268),[55,234],No(226),[112]],24e3:[qf,[255,192],No(268),[55,255,128],No(268),[111,112],No(126),[224]],16e3:[qf,[255,192],No(268),[55,255,128],No(268),[111,255],No(269),[223,108],No(195),[1,192]],12e3:[kg,No(268),[3,127,248],No(268),[6,255,240],No(268),[13,255,224],No(268),[27,253,128],No(259),[56]],11025:[kg,No(268),[3,127,248],No(268),[6,255,240],No(268),[13,255,224],No(268),[27,255,192],No(268),[55,175,128],No(108),[112]],8e3:[kg,No(268),[3,121,16],No(47),[7]]};Ng=vv(L)}return Ng},Fg=9e4,Bg,Ug,X0,jg,h1,p1,m1;Bg=function(L){return L*Fg},Ug=function(L,X){return L*X},X0=function(L){return L/Fg},jg=function(L,X){return L/X},h1=function(L,X){return Bg(jg(L,X))},p1=function(L,X){return Ug(X0(L),X)},m1=function(L,X,Z){return X0(Z?L:L-X)};var du={ONE_SECOND_IN_TS:Fg,secondsToVideoTs:Bg,secondsToAudioTs:Ug,videoTsToSeconds:X0,audioTsToSeconds:jg,audioTsToVideoTs:h1,videoTsToAudioTs:p1,metadataTsToSeconds:m1},bv=yv,Q0=du,Sv=function(L){var X,Z,ne=0;for(X=0;X<L.length;X++)Z=L[X],ne+=Z.data.byteLength;return ne},xv=function(L,X,Z,ne){var me,Re=0,It=0,kt=0,Gt=0,tr,Xr,Bn;if(X.length&&(me=Q0.audioTsToVideoTs(L.baseMediaDecodeTime,L.samplerate),Re=Math.ceil(Q0.ONE_SECOND_IN_TS/(L.samplerate/1024)),Z&&ne&&(It=me-Math.max(Z,ne),kt=Math.floor(It/Re),Gt=kt*Re),!(kt<1||Gt>Q0.ONE_SECOND_IN_TS/2))){for(tr=bv()[L.samplerate],tr||(tr=X[0].data),Xr=0;Xr<kt;Xr++)Bn=X[0],X.splice(0,0,{data:tr,dts:Bn.dts-Re,pts:Bn.pts-Re});return L.baseMediaDecodeTime-=Math.floor(Q0.videoTsToAudioTs(Gt,L.samplerate)),Gt}},Ev=function(L,X,Z){return X.minSegmentDts>=Z?L:(X.minSegmentDts=1/0,L.filter(function(ne){return ne.dts>=Z?(X.minSegmentDts=Math.min(X.minSegmentDts,ne.dts),X.minSegmentPts=X.minSegmentDts,!0):!1}))},Tv=function(L){var X,Z,ne=[];for(X=0;X<L.length;X++)Z=L[X],ne.push({size:Z.data.byteLength,duration:1024});return ne},wv=function(L){var X,Z,ne=0,me=new Uint8Array(Sv(L));for(X=0;X<L.length;X++)Z=L[X],me.set(Z.data,ne),ne+=Z.data.byteLength;return me},_v={prefixWithSilence:xv,trimAdtsFramesByEarliestDts:Ev,generateSampleTable:Tv,concatenateFrameData:wv},Cv=du.ONE_SECOND_IN_TS,Av=function(L,X){typeof X.pts=="number"&&(L.timelineStartInfo.pts===void 0&&(L.timelineStartInfo.pts=X.pts),L.minSegmentPts===void 0?L.minSegmentPts=X.pts:L.minSegmentPts=Math.min(L.minSegmentPts,X.pts),L.maxSegmentPts===void 0?L.maxSegmentPts=X.pts:L.maxSegmentPts=Math.max(L.maxSegmentPts,X.pts)),typeof X.dts=="number"&&(L.timelineStartInfo.dts===void 0&&(L.timelineStartInfo.dts=X.dts),L.minSegmentDts===void 0?L.minSegmentDts=X.dts:L.minSegmentDts=Math.min(L.minSegmentDts,X.dts),L.maxSegmentDts===void 0?L.maxSegmentDts=X.dts:L.maxSegmentDts=Math.max(L.maxSegmentDts,X.dts))},Ov=function(L){delete L.minSegmentDts,delete L.maxSegmentDts,delete L.minSegmentPts,delete L.maxSegmentPts},Iv=function(L,X){var Z,ne,me=L.minSegmentDts;return X||(me-=L.timelineStartInfo.dts),Z=L.timelineStartInfo.baseMediaDecodeTime,Z+=me,Z=Math.max(0,Z),L.type==="audio"&&(ne=L.samplerate/Cv,Z*=ne,Z=Math.floor(Z)),Z},Pv={clearDtsInfo:Ov,calculateTrackBaseMediaDecodeTime:Iv,collectDtsInfo:Av},g1=4,Rv=128,Dv=function(L){for(var X=0,Z={payloadType:-1,payloadSize:0},ne=0,me=0;X<L.byteLength&&L[X]!==Rv;){for(;L[X]===255;)ne+=255,X++;for(ne+=L[X++];L[X]===255;)me+=255,X++;if(me+=L[X++],!Z.payload&&ne===g1){var Re=String.fromCharCode(L[X+3],L[X+4],L[X+5],L[X+6]);if(Re==="GA94"){Z.payloadType=ne,Z.payloadSize=me,Z.payload=L.subarray(X,X+me);break}else Z.payload=void 0}X+=me,ne=0,me=0}return Z},Lv=function(L){return L.payload[0]!==181||(L.payload[1]<<8|L.payload[2])!==49||String.fromCharCode(L.payload[3],L.payload[4],L.payload[5],L.payload[6])!=="GA94"||L.payload[7]!==3?null:L.payload.subarray(8,L.payload.length-1)},Mv=function(L,X){var Z=[],ne,me,Re,It;if(!(X[0]&64))return Z;for(me=X[0]&31,ne=0;ne<me;ne++)Re=ne*3,It={type:X[Re+2]&3,pts:L},X[Re+2]&4&&(It.ccData=X[Re+3]<<8|X[Re+4],Z.push(It));return Z},kv=function(L){for(var X=L.byteLength,Z=[],ne=1,me,Re;ne<X-2;)L[ne]===0&&L[ne+1]===0&&L[ne+2]===3?(Z.push(ne+2),ne+=2):ne++;if(Z.length===0)return L;me=X-Z.length,Re=new Uint8Array(me);var It=0;for(ne=0;ne<me;It++,ne++)It===Z[0]&&(It++,Z.shift()),Re[ne]=L[It];return Re},v1={parseSei:Dv,parseUserData:Lv,parseCaptionPackets:Mv,discardEmulationPreventionBytes:kv,USER_DATA_REGISTERED_ITU_T_T35:g1},zg=o,J0=v1,Yc=function(L){L=L||{},Yc.prototype.init.call(this),this.parse708captions_=typeof L.parse708captions=="boolean"?L.parse708captions:!0,this.captionPackets_=[],this.ccStreams_=[new xu(0,0),new xu(0,1),new xu(1,0),new xu(1,1)],this.parse708captions_&&(this.cc708Stream_=new Wo({captionServices:L.captionServices})),this.reset(),this.ccStreams_.forEach(function(X){X.on("data",this.trigger.bind(this,"data")),X.on("partialdone",this.trigger.bind(this,"partialdone")),X.on("done",this.trigger.bind(this,"done"))},this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};Yc.prototype=new zg,Yc.prototype.push=function(L){var X,Z,ne;if(L.nalUnitType==="sei_rbsp"&&(X=J0.parseSei(L.escapedRBSP),!!X.payload&&X.payloadType===J0.USER_DATA_REGISTERED_ITU_T_T35&&(Z=J0.parseUserData(X),!!Z))){if(L.dts<this.latestDts_){this.ignoreNextEqualDts_=!0;return}else if(L.dts===this.latestDts_&&this.ignoreNextEqualDts_){this.numSameDts_--,this.numSameDts_||(this.ignoreNextEqualDts_=!1);return}ne=J0.parseCaptionPackets(L.pts,Z),this.captionPackets_=this.captionPackets_.concat(ne),this.latestDts_!==L.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=L.dts}},Yc.prototype.flushCCStreams=function(L){this.ccStreams_.forEach(function(X){return L==="flush"?X.flush():X.partialFlush()},this)},Yc.prototype.flushStream=function(L){if(!this.captionPackets_.length){this.flushCCStreams(L);return}this.captionPackets_.forEach(function(X,Z){X.presortIndex=Z}),this.captionPackets_.sort(function(X,Z){return X.pts===Z.pts?X.presortIndex-Z.presortIndex:X.pts-Z.pts}),this.captionPackets_.forEach(function(X){X.type<2?this.dispatchCea608Packet(X):this.dispatchCea708Packet(X)},this),this.captionPackets_.length=0,this.flushCCStreams(L)},Yc.prototype.flush=function(){return this.flushStream("flush")},Yc.prototype.partialFlush=function(){return this.flushStream("partialFlush")},Yc.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(L){L.reset()})},Yc.prototype.dispatchCea608Packet=function(L){this.setsTextOrXDSActive(L)?this.activeCea608Channel_[L.type]=null:this.setsChannel1Active(L)?this.activeCea608Channel_[L.type]=0:this.setsChannel2Active(L)&&(this.activeCea608Channel_[L.type]=1),this.activeCea608Channel_[L.type]!==null&&this.ccStreams_[(L.type<<1)+this.activeCea608Channel_[L.type]].push(L)},Yc.prototype.setsChannel1Active=function(L){return(L.ccData&30720)===4096},Yc.prototype.setsChannel2Active=function(L){return(L.ccData&30720)===6144},Yc.prototype.setsTextOrXDSActive=function(L){return(L.ccData&28928)===256||(L.ccData&30974)===4138||(L.ccData&30974)===6186},Yc.prototype.dispatchCea708Packet=function(L){this.parse708captions_&&this.cc708Stream_.push(L)};var Nv={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},Fv=function(L){var X=Nv[L]||L;return L&4096&&L===X?"":String.fromCharCode(X)},Z0=function(L){return 32<=L&&L<=127||160<=L&&L<=255},Rf=function(L){this.windowNum=L,this.reset()};Rf.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},Rf.prototype.getText=function(){return this.rows.join(` 968`)},Rf.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},Rf.prototype.newLine=function(L){for(this.rows.length>=this.virtualRowCount&&typeof this.beforeRowOverflow=="function"&&this.beforeRowOverflow(L),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},Rf.prototype.isEmpty=function(){return this.rows.length===0?!0:this.rows.length===1?this.rows[0]==="":!1},Rf.prototype.addText=function(L){this.rows[this.rowIdx]+=L},Rf.prototype.backspace=function(){if(!this.isEmpty()){var L=this.rows[this.rowIdx];this.rows[this.rowIdx]=L.substr(0,L.length-1)}};var q0=function(L,X,Z){this.serviceNum=L,this.text="",this.currentWindow=new Rf(-1),this.windows=[],this.stream=Z,typeof X=="string"&&this.createTextDecoder(X)};q0.prototype.init=function(L,X){this.startPts=L;for(var Z=0;Z<8;Z++)this.windows[Z]=new Rf(Z),typeof X=="function"&&(this.windows[Z].beforeRowOverflow=X)},q0.prototype.setCurrentWindow=function(L){this.currentWindow=this.windows[L]},q0.prototype.createTextDecoder=function(L){if(typeof TextDecoder>"u")this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(L)}catch(X){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+L+" encoding. "+X})}};var Wo=function(L){L=L||{},Wo.prototype.init.call(this);var X=this,Z=L.captionServices||{},ne={},me;Object.keys(Z).forEach(Re=>{me=Z[Re],/^SERVICE/.test(Re)&&(ne[Re]=me.encoding)}),this.serviceEncodings=ne,this.current708Packet=null,this.services={},this.push=function(Re){Re.type===3?(X.new708Packet(),X.add708Bytes(Re)):(X.current708Packet===null&&X.new708Packet(),X.add708Bytes(Re))}};Wo.prototype=new zg,Wo.prototype.new708Packet=function(){this.current708Packet!==null&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Wo.prototype.add708Bytes=function(L){var X=L.ccData,Z=X>>>8,ne=X&255;this.current708Packet.ptsVals.push(L.pts),this.current708Packet.data.push(Z),this.current708Packet.data.push(ne)},Wo.prototype.push708Packet=function(){var L=this.current708Packet,X=L.data,Z=null,ne=null,me=0,Re=X[me++];for(L.seq=Re>>6,L.sizeCode=Re&63;me<X.length;me++)Re=X[me++],Z=Re>>5,ne=Re&31,Z===7&&ne>0&&(Re=X[me++],Z=Re),this.pushServiceBlock(Z,me,ne),ne>0&&(me+=ne-1)},Wo.prototype.pushServiceBlock=function(L,X,Z){var ne,me=X,Re=this.current708Packet.data,It=this.services[L];for(It||(It=this.initService(L,me));me<X+Z&&me<Re.length;me++)ne=Re[me],Z0(ne)?me=this.handleText(me,It):ne===24?me=this.multiByteCharacter(me,It):ne===16?me=this.extendedCommands(me,It):128<=ne&&ne<=135?me=this.setCurrentWindow(me,It):152<=ne&&ne<=159?me=this.defineWindow(me,It):ne===136?me=this.clearWindows(me,It):ne===140?me=this.deleteWindows(me,It):ne===137?me=this.displayWindows(me,It):ne===138?me=this.hideWindows(me,It):ne===139?me=this.toggleWindows(me,It):ne===151?me=this.setWindowAttributes(me,It):ne===144?me=this.setPenAttributes(me,It):ne===145?me=this.setPenColor(me,It):ne===146?me=this.setPenLocation(me,It):ne===143?It=this.reset(me,It):ne===8?It.currentWindow.backspace():ne===12?It.currentWindow.clearText():ne===13?It.currentWindow.pendingNewLine=!0:ne===14?It.currentWindow.clearText():ne===141&&me++},Wo.prototype.extendedCommands=function(L,X){var Z=this.current708Packet.data,ne=Z[++L];return Z0(ne)&&(L=this.handleText(L,X,{isExtended:!0})),L},Wo.prototype.getPts=function(L){return this.current708Packet.ptsVals[Math.floor(L/2)]},Wo.prototype.initService=function(L,X){var ne="SERVICE"+L,Z=this,ne,me;return ne in this.serviceEncodings&&(me=this.serviceEncodings[ne]),this.services[L]=new q0(L,me,Z),this.services[L].init(this.getPts(X),function(Re){Z.flushDisplayed(Re,Z.services[L])}),this.services[L]},Wo.prototype.handleText=function(L,X,Z){var ne=Z&&Z.isExtended,me=Z&&Z.isMultiByte,Re=this.current708Packet.data,It=ne?4096:0,kt=Re[L],Gt=Re[L+1],tr=X.currentWindow,Xr,Bn;function Gi(ri){return ri.map(Vs=>("0"+(Vs&255).toString(16)).slice(-2)).join("")}if(me?(Bn=[kt,Gt],L++):Bn=[kt],X.textDecoder_&&!ne)Xr=X.textDecoder_.decode(new Uint8Array(Bn));else if(me){const ri=Gi(Bn);Xr=String.fromCharCode(parseInt(ri,16))}else Xr=Fv(It|kt);return tr.pendingNewLine&&!tr.isEmpty()&&tr.newLine(this.getPts(L)),tr.pendingNewLine=!1,tr.addText(Xr),L},Wo.prototype.multiByteCharacter=function(L,X){var Z=this.current708Packet.data,ne=Z[L+1],me=Z[L+2];return Z0(ne)&&Z0(me)&&(L=this.handleText(++L,X,{isMultiByte:!0})),L},Wo.prototype.setCurrentWindow=function(L,X){var Z=this.current708Packet.data,ne=Z[L],me=ne&7;return X.setCurrentWindow(me),L},Wo.prototype.defineWindow=function(L,X){var Z=this.current708Packet.data,ne=Z[L],me=ne&7;X.setCurrentWindow(me);var Re=X.currentWindow;return ne=Z[++L],Re.visible=(ne&32)>>5,Re.rowLock=(ne&16)>>4,Re.columnLock=(ne&8)>>3,Re.priority=ne&7,ne=Z[++L],Re.relativePositioning=(ne&128)>>7,Re.anchorVertical=ne&127,ne=Z[++L],Re.anchorHorizontal=ne,ne=Z[++L],Re.anchorPoint=(ne&240)>>4,Re.rowCount=ne&15,ne=Z[++L],Re.columnCount=ne&63,ne=Z[++L],Re.windowStyle=(ne&56)>>3,Re.penStyle=ne&7,Re.virtualRowCount=Re.rowCount+1,L},Wo.prototype.setWindowAttributes=function(L,X){var Z=this.current708Packet.data,ne=Z[L],me=X.currentWindow.winAttr;return ne=Z[++L],me.fillOpacity=(ne&192)>>6,me.fillRed=(ne&48)>>4,me.fillGreen=(ne&12)>>2,me.fillBlue=ne&3,ne=Z[++L],me.borderType=(ne&192)>>6,me.borderRed=(ne&48)>>4,me.borderGreen=(ne&12)>>2,me.borderBlue=ne&3,ne=Z[++L],me.borderType+=(ne&128)>>5,me.wordWrap=(ne&64)>>6,me.printDirection=(ne&48)>>4,me.scrollDirection=(ne&12)>>2,me.justify=ne&3,ne=Z[++L],me.effectSpeed=(ne&240)>>4,me.effectDirection=(ne&12)>>2,me.displayEffect=ne&3,L},Wo.prototype.flushDisplayed=function(L,X){for(var Z=[],ne=0;ne<8;ne++)X.windows[ne].visible&&!X.windows[ne].isEmpty()&&Z.push(X.windows[ne].getText());X.endPts=L,X.text=Z.join(` 969 970`),this.pushCaption(X),X.startPts=L},Wo.prototype.pushCaption=function(L){L.text!==""&&(this.trigger("data",{startPts:L.startPts,endPts:L.endPts,text:L.text,stream:"cc708_"+L.serviceNum}),L.text="",L.startPts=L.endPts)},Wo.prototype.displayWindows=function(L,X){var Z=this.current708Packet.data,ne=Z[++L],me=this.getPts(L);this.flushDisplayed(me,X);for(var Re=0;Re<8;Re++)ne&1<<Re&&(X.windows[Re].visible=1);return L},Wo.prototype.hideWindows=function(L,X){var Z=this.current708Packet.data,ne=Z[++L],me=this.getPts(L);this.flushDisplayed(me,X);for(var Re=0;Re<8;Re++)ne&1<<Re&&(X.windows[Re].visible=0);return L},Wo.prototype.toggleWindows=function(L,X){var Z=this.current708Packet.data,ne=Z[++L],me=this.getPts(L);this.flushDisplayed(me,X);for(var Re=0;Re<8;Re++)ne&1<<Re&&(X.windows[Re].visible^=1);return L},Wo.prototype.clearWindows=function(L,X){var Z=this.current708Packet.data,ne=Z[++L],me=this.getPts(L);this.flushDisplayed(me,X);for(var Re=0;Re<8;Re++)ne&1<<Re&&X.windows[Re].clearText();return L},Wo.prototype.deleteWindows=function(L,X){var Z=this.current708Packet.data,ne=Z[++L],me=this.getPts(L);this.flushDisplayed(me,X);for(var Re=0;Re<8;Re++)ne&1<<Re&&X.windows[Re].reset();return L},Wo.prototype.setPenAttributes=function(L,X){var Z=this.current708Packet.data,ne=Z[L],me=X.currentWindow.penAttr;return ne=Z[++L],me.textTag=(ne&240)>>4,me.offset=(ne&12)>>2,me.penSize=ne&3,ne=Z[++L],me.italics=(ne&128)>>7,me.underline=(ne&64)>>6,me.edgeType=(ne&56)>>3,me.fontStyle=ne&7,L},Wo.prototype.setPenColor=function(L,X){var Z=this.current708Packet.data,ne=Z[L],me=X.currentWindow.penColor;return ne=Z[++L],me.fgOpacity=(ne&192)>>6,me.fgRed=(ne&48)>>4,me.fgGreen=(ne&12)>>2,me.fgBlue=ne&3,ne=Z[++L],me.bgOpacity=(ne&192)>>6,me.bgRed=(ne&48)>>4,me.bgGreen=(ne&12)>>2,me.bgBlue=ne&3,ne=Z[++L],me.edgeRed=(ne&48)>>4,me.edgeGreen=(ne&12)>>2,me.edgeBlue=ne&3,L},Wo.prototype.setPenLocation=function(L,X){var Z=this.current708Packet.data,ne=Z[L],me=X.currentWindow.penLoc;return X.currentWindow.pendingNewLine=!0,ne=Z[++L],me.row=ne&15,ne=Z[++L],me.column=ne&63,L},Wo.prototype.reset=function(L,X){var Z=this.getPts(L);return this.flushDisplayed(Z,X),this.initService(X.serviceNum,L)};var Bv={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},em=function(L){return L===null?"":(L=Bv[L]||L,String.fromCharCode(L))},tm=14,Uv=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Rh=function(){for(var L=[],X=tm+1;X--;)L.push({text:"",indent:0,offset:0});return L},xu=function(L,X){xu.prototype.init.call(this),this.field_=L||0,this.dataChannel_=X||0,this.name_="CC"+((this.field_<<1|this.dataChannel_)+1),this.setConstants(),this.reset(),this.push=function(Z){var ne,me,Re,It,kt;if(ne=Z.ccData&32639,ne===this.lastControlCode_){this.lastControlCode_=null;return}if((ne&61440)===4096?this.lastControlCode_=ne:ne!==this.PADDING_&&(this.lastControlCode_=null),Re=ne>>>8,It=ne&255,ne!==this.PADDING_)if(ne===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(ne===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(Z.pts),this.flushDisplayed(Z.pts),me=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=me,this.startPts_=Z.pts;else if(ne===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(Z.pts);else if(ne===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(Z.pts);else if(ne===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(Z.pts);else if(ne===this.CARRIAGE_RETURN_)this.clearFormatting(Z.pts),this.flushDisplayed(Z.pts),this.shiftRowsUp_(),this.startPts_=Z.pts;else if(ne===this.BACKSPACE_)this.mode_==="popOn"?this.nonDisplayed_[this.row_].text=this.nonDisplayed_[this.row_].text.slice(0,-1):this.displayed_[this.row_].text=this.displayed_[this.row_].text.slice(0,-1);else if(ne===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(Z.pts),this.displayed_=Rh();else if(ne===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Rh();else if(ne===this.RESUME_DIRECT_CAPTIONING_)this.mode_!=="paintOn"&&(this.flushDisplayed(Z.pts),this.displayed_=Rh()),this.mode_="paintOn",this.startPts_=Z.pts;else if(this.isSpecialCharacter(Re,It))Re=(Re&3)<<8,kt=em(Re|It),this[this.mode_](Z.pts,kt),this.column_++;else if(this.isExtCharacter(Re,It))this.mode_==="popOn"?this.nonDisplayed_[this.row_].text=this.nonDisplayed_[this.row_].text.slice(0,-1):this.displayed_[this.row_].text=this.displayed_[this.row_].text.slice(0,-1),Re=(Re&3)<<8,kt=em(Re|It),this[this.mode_](Z.pts,kt),this.column_++;else if(this.isMidRowCode(Re,It))this.clearFormatting(Z.pts),this[this.mode_](Z.pts," "),this.column_++,(It&14)===14&&this.addFormatting(Z.pts,["i"]),(It&1)===1&&this.addFormatting(Z.pts,["u"]);else if(this.isOffsetControlCode(Re,It)){const tr=It&3;this.nonDisplayed_[this.row_].offset=tr,this.column_+=tr}else if(this.isPAC(Re,It)){var Gt=Uv.indexOf(ne&7968);if(this.mode_==="rollUp"&&(Gt-this.rollUpRows_+1<0&&(Gt=this.rollUpRows_-1),this.setRollUp(Z.pts,Gt)),Gt!==this.row_&&Gt>=0&&Gt<=14&&(this.clearFormatting(Z.pts),this.row_=Gt),It&1&&this.formatting_.indexOf("u")===-1&&this.addFormatting(Z.pts,["u"]),(ne&16)===16){const tr=(ne&14)>>1;this.column_=tr*4,this.nonDisplayed_[this.row_].indent+=tr}this.isColorPAC(It)&&(It&14)===14&&this.addFormatting(Z.pts,["i"])}else this.isNormalChar(Re)&&(It===0&&(It=null),kt=em(Re),kt+=em(It),this[this.mode_](Z.pts,kt),this.column_+=kt.length)}};xu.prototype=new zg,xu.prototype.flushDisplayed=function(L){const X=ne=>{this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+ne+"."})},Z=[];this.displayed_.forEach((ne,me)=>{if(ne&&ne.text&&ne.text.length){try{ne.text=ne.text.trim()}catch{X(me)}ne.text.length&&Z.push({text:ne.text,line:me+1,position:10+Math.min(70,ne.indent*10)+ne.offset*2.5})}else ne==null&&X(me)}),Z.length&&this.trigger("data",{startPts:this.startPts_,endPts:L,content:Z,stream:this.name_})},xu.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Rh(),this.nonDisplayed_=Rh(),this.lastControlCode_=null,this.column_=0,this.row_=tm,this.rollUpRows_=2,this.formatting_=[]},xu.prototype.setConstants=function(){this.dataChannel_===0?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):this.dataChannel_===1&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=this.CONTROL_|32,this.END_OF_CAPTION_=this.CONTROL_|47,this.ROLL_UP_2_ROWS_=this.CONTROL_|37,this.ROLL_UP_3_ROWS_=this.CONTROL_|38,this.ROLL_UP_4_ROWS_=this.CONTROL_|39,this.CARRIAGE_RETURN_=this.CONTROL_|45,this.RESUME_DIRECT_CAPTIONING_=this.CONTROL_|41,this.BACKSPACE_=this.CONTROL_|33,this.ERASE_DISPLAYED_MEMORY_=this.CONTROL_|44,this.ERASE_NON_DISPLAYED_MEMORY_=this.CONTROL_|46},xu.prototype.isSpecialCharacter=function(L,X){return L===this.EXT_&&X>=48&&X<=63},xu.prototype.isExtCharacter=function(L,X){return(L===this.EXT_+1||L===this.EXT_+2)&&X>=32&&X<=63},xu.prototype.isMidRowCode=function(L,X){return L===this.EXT_&&X>=32&&X<=47},xu.prototype.isOffsetControlCode=function(L,X){return L===this.OFFSET_&&X>=33&&X<=35},xu.prototype.isPAC=function(L,X){return L>=this.BASE_&&L<this.BASE_+8&&X>=64&&X<=127},xu.prototype.isColorPAC=function(L){return L>=64&&L<=79||L>=96&&L<=127},xu.prototype.isNormalChar=function(L){return L>=32&&L<=127},xu.prototype.setRollUp=function(L,X){if(this.mode_!=="rollUp"&&(this.row_=tm,this.mode_="rollUp",this.flushDisplayed(L),this.nonDisplayed_=Rh(),this.displayed_=Rh()),X!==void 0&&X!==this.row_)for(var Z=0;Z<this.rollUpRows_;Z++)this.displayed_[X-Z]=this.displayed_[this.row_-Z],this.displayed_[this.row_-Z]={text:"",indent:0,offset:0};X===void 0&&(X=this.row_),this.topRow_=X-this.rollUpRows_+1},xu.prototype.addFormatting=function(L,X){this.formatting_=this.formatting_.concat(X);var Z=X.reduce(function(ne,me){return ne+"<"+me+">"},"");this[this.mode_](L,Z)},xu.prototype.clearFormatting=function(L){if(this.formatting_.length){var X=this.formatting_.reverse().reduce(function(Z,ne){return Z+"</"+ne+">"},"");this.formatting_=[],this[this.mode_](L,X)}},xu.prototype.popOn=function(L,X){var Z=this.nonDisplayed_[this.row_].text;Z+=X,this.nonDisplayed_[this.row_].text=Z},xu.prototype.rollUp=function(L,X){var Z=this.displayed_[this.row_].text;Z+=X,this.displayed_[this.row_].text=Z},xu.prototype.shiftRowsUp_=function(){var L;for(L=0;L<this.topRow_;L++)this.displayed_[L]={text:"",indent:0,offset:0};for(L=this.row_+1;L<tm+1;L++)this.displayed_[L]={text:"",indent:0,offset:0};for(L=this.topRow_;L<this.row_;L++)this.displayed_[L]=this.displayed_[L+1];this.displayed_[this.row_]={text:"",indent:0,offset:0}},xu.prototype.paintOn=function(L,X){var Z=this.displayed_[this.row_].text;Z+=X,this.displayed_[this.row_].text=Z};var y1={CaptionStream:Yc,Cea608Stream:xu,Cea708Stream:Wo},rm={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},jv=o,zv=8589934592,$v=4294967296,b1="shared",$g=function(L,X){var Z=1;for(L>X&&(Z=-1);Math.abs(X-L)>$v;)L+=Z*zv;return L},Hg=function(L){var X,Z;Hg.prototype.init.call(this),this.type_=L||b1,this.push=function(ne){if(ne.type==="metadata"){this.trigger("data",ne);return}this.type_!==b1&&ne.type!==this.type_||(Z===void 0&&(Z=ne.dts),ne.dts=$g(ne.dts,Z),ne.pts=$g(ne.pts,Z),X=ne.dts,this.trigger("data",ne))},this.flush=function(){Z=X,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){Z=void 0,X=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Hg.prototype=new jv;var S1={TimestampRolloverStream:Hg,handleRollover:$g},Hv=(L,X,Z)=>{if(!L)return-1;for(var ne=Z;ne<L.length;ne++)if(L[ne]===X)return ne;return-1},Wv={typedArrayIndexOf:Hv},nm=Wv.typedArrayIndexOf,im={Iso88591:0,Utf16:1,Utf16be:2,Utf8:3},x1=function(L,X,Z){var ne,me="";for(ne=X;ne<Z;ne++)me+="%"+("00"+L[ne].toString(16)).slice(-2);return me},$p=function(L,X,Z){return decodeURIComponent(x1(L,X,Z))},Hp=function(L,X,Z){return unescape(x1(L,X,Z))},Wp=function(L){return L[0]<<21|L[1]<<14|L[2]<<7|L[3]},Vp={APIC:function(L){var X=1,Z,ne,me="-->";L.data[0]===im.Utf8&&(Z=nm(L.data,0,X),!(Z<0)&&(L.mimeType=Hp(L.data,X,Z),X=Z+1,L.pictureType=L.data[X],X++,ne=nm(L.data,0,X),!(ne<0)&&(L.description=$p(L.data,X,ne),X=ne+1,L.mimeType===me?L.url=Hp(L.data,X,L.data.length):L.pictureData=L.data.subarray(X,L.data.length))))},"T*":function(L){L.data[0]===im.Utf8&&(L.value=$p(L.data,1,L.data.length).replace(/\0*$/,""),L.values=L.value.split("\0"))},TXXX:function(L){var X;L.data[0]===im.Utf8&&(X=nm(L.data,0,1),X!==-1&&(L.description=$p(L.data,1,X),L.value=$p(L.data,X+1,L.data.length).replace(/\0*$/,""),L.data=L.value))},"W*":function(L){L.url=Hp(L.data,0,L.data.length).replace(/\0.*$/,"")},WXXX:function(L){var X;L.data[0]===im.Utf8&&(X=nm(L.data,0,1),X!==-1&&(L.description=$p(L.data,1,X),L.url=Hp(L.data,X+1,L.data.length).replace(/\0.*$/,"")))},PRIV:function(L){var X;for(X=0;X<L.data.length;X++)if(L.data[X]===0){L.owner=Hp(L.data,0,X);break}L.privateData=L.data.subarray(X+1),L.data=L.privateData}},Vv=function(L){var X,Z,ne=10,me=0,Re=[];if(!(L.length<10||L[0]!==73||L[1]!==68||L[2]!==51)){me=Wp(L.subarray(6,10)),me+=10;var It=L[5]&64;It&&(ne+=4,ne+=Wp(L.subarray(10,14)),me-=Wp(L.subarray(16,20)));do{if(X=Wp(L.subarray(ne+4,ne+8)),X<1)break;Z=String.fromCharCode(L[ne],L[ne+1],L[ne+2],L[ne+3]);var kt={id:Z,data:L.subarray(ne+10,ne+X+10)};kt.key=kt.id,Vp[kt.id]?Vp[kt.id](kt):kt.id[0]==="T"?Vp["T*"](kt):kt.id[0]==="W"&&Vp["W*"](kt),Re.push(kt),ne+=10,ne+=X}while(ne<me);return Re}},E1={parseId3Frames:Vv,parseSyncSafeInteger:Wp,frameParsers:Vp},Gv=o,Yv=rm,eh=E1,sm;sm=function(L){var X={descriptor:L&&L.descriptor},Z=0,ne=[],me=0,Re;if(sm.prototype.init.call(this),this.dispatchType=Yv.METADATA_STREAM_TYPE.toString(16),X.descriptor)for(Re=0;Re<X.descriptor.length;Re++)this.dispatchType+=("00"+X.descriptor[Re].toString(16)).slice(-2);this.push=function(It){var kt,Gt,tr,Xr,Bn,Gi;if(It.type==="timed-metadata"){if(It.dataAlignmentIndicator&&(me=0,ne.length=0),ne.length===0&&(It.data.length<10||It.data[0]!==73||It.data[1]!==68||It.data[2]!==51)){this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});return}if(ne.push(It),me+=It.data.byteLength,ne.length===1&&(Z=eh.parseSyncSafeInteger(It.data.subarray(6,10)),Z+=10),!(me<Z)){for(kt={data:new Uint8Array(Z),frames:[],pts:ne[0].pts,dts:ne[0].dts},Bn=0;Bn<Z;)kt.data.set(ne[0].data.subarray(0,Z-Bn),Bn),Bn+=ne[0].data.byteLength,me-=ne[0].data.byteLength,ne.shift();Gt=10,kt.data[5]&64&&(Gt+=4,Gt+=eh.parseSyncSafeInteger(kt.data.subarray(10,14)),Z-=eh.parseSyncSafeInteger(kt.data.subarray(16,20)));do{if(tr=eh.parseSyncSafeInteger(kt.data.subarray(Gt+4,Gt+8)),tr<1){this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping remaining metadata parsing."});break}if(Gi=String.fromCharCode(kt.data[Gt],kt.data[Gt+1],kt.data[Gt+2],kt.data[Gt+3]),Xr={id:Gi,data:kt.data.subarray(Gt+10,Gt+tr+10)},Xr.key=Xr.id,eh.frameParsers[Xr.id]?eh.frameParsers[Xr.id](Xr):Xr.id[0]==="T"?eh.frameParsers["T*"](Xr):Xr.id[0]==="W"&&eh.frameParsers["W*"](Xr),Xr.owner==="com.apple.streaming.transportStreamTimestamp"){var ri=Xr.data,Vs=(ri[3]&1)<<30|ri[4]<<22|ri[5]<<14|ri[6]<<6|ri[7]>>>2;Vs*=4,Vs+=ri[7]&3,Xr.timeStamp=Vs,kt.pts===void 0&&kt.dts===void 0&&(kt.pts=Xr.timeStamp,kt.dts=Xr.timeStamp),this.trigger("timestamp",Xr)}kt.frames.push(Xr),Gt+=10,Gt+=tr}while(Gt<Z);this.trigger("data",kt)}}}},sm.prototype=new Gv;var Kv=sm,Wg=o,Vg=y1,Qd=rm,Xv=S1.TimestampRolloverStream,am,Gp,om,op=188,Gg=71;am=function(){var L=new Uint8Array(op),X=0;am.prototype.init.call(this),this.push=function(Z){var ne=0,me=op,Re;for(X?(Re=new Uint8Array(Z.byteLength+X),Re.set(L.subarray(0,X)),Re.set(Z,X),X=0):Re=Z;me<Re.byteLength;){if(Re[ne]===Gg&&Re[me]===Gg){this.trigger("data",Re.subarray(ne,me)),ne+=op,me+=op;continue}ne++,me++}ne<Re.byteLength&&(L.set(Re.subarray(ne),0),X=Re.byteLength-ne)},this.flush=function(){X===op&&L[0]===Gg&&(this.trigger("data",L),X=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){X=0,this.trigger("reset")}},am.prototype=new Wg,Gp=function(){var L,X,Z,ne;Gp.prototype.init.call(this),ne=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,L=function(me,Re){var It=0;Re.payloadUnitStartIndicator&&(It+=me[It]+1),Re.type==="pat"?X(me.subarray(It),Re):Z(me.subarray(It),Re)},X=function(me,Re){Re.section_number=me[7],Re.last_section_number=me[8],ne.pmtPid=(me[10]&31)<<8|me[11],Re.pmtPid=ne.pmtPid},Z=function(me,Re){var It,kt,Gt,tr;if(me[5]&1){for(ne.programMapTable={video:null,audio:null,"timed-metadata":{}},It=(me[1]&15)<<8|me[2],kt=3+It-4,Gt=(me[10]&15)<<8|me[11],tr=12+Gt;tr<kt;){var Xr=me[tr],Bn=(me[tr+1]&31)<<8|me[tr+2];Xr===Qd.H264_STREAM_TYPE&&ne.programMapTable.video===null?ne.programMapTable.video=Bn:Xr===Qd.ADTS_STREAM_TYPE&&ne.programMapTable.audio===null?ne.programMapTable.audio=Bn:Xr===Qd.METADATA_STREAM_TYPE&&(ne.programMapTable["timed-metadata"][Bn]=Xr),tr+=((me[tr+3]&15)<<8|me[tr+4])+5}Re.programMapTable=ne.programMapTable}},this.push=function(me){var Re={},It=4;if(Re.payloadUnitStartIndicator=!!(me[1]&64),Re.pid=me[1]&31,Re.pid<<=8,Re.pid|=me[2],(me[3]&48)>>>4>1&&(It+=me[It]+1),Re.pid===0)Re.type="pat",L(me.subarray(It),Re),this.trigger("data",Re);else if(Re.pid===this.pmtPid)for(Re.type="pmt",L(me.subarray(It),Re),this.trigger("data",Re);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else this.programMapTable===void 0?this.packetsWaitingForPmt.push([me,It,Re]):this.processPes_(me,It,Re)},this.processPes_=function(me,Re,It){It.pid===this.programMapTable.video?It.streamType=Qd.H264_STREAM_TYPE:It.pid===this.programMapTable.audio?It.streamType=Qd.ADTS_STREAM_TYPE:It.streamType=this.programMapTable["timed-metadata"][It.pid],It.type="pes",It.data=me.subarray(Re),this.trigger("data",It)}},Gp.prototype=new Wg,Gp.STREAM_TYPES={h264:27,adts:15},om=function(){var L=this,X=!1,Z={data:[],size:0},ne={data:[],size:0},me={data:[],size:0},Re,It=function(Gt,tr){var Xr;const Bn=Gt[0]<<16|Gt[1]<<8|Gt[2];tr.data=new Uint8Array,Bn===1&&(tr.packetLength=6+(Gt[4]<<8|Gt[5]),tr.dataAlignmentIndicator=(Gt[6]&4)!==0,Xr=Gt[7],Xr&192&&(tr.pts=(Gt[9]&14)<<27|(Gt[10]&255)<<20|(Gt[11]&254)<<12|(Gt[12]&255)<<5|(Gt[13]&254)>>>3,tr.pts*=4,tr.pts+=(Gt[13]&6)>>>1,tr.dts=tr.pts,Xr&64&&(tr.dts=(Gt[14]&14)<<27|(Gt[15]&255)<<20|(Gt[16]&254)<<12|(Gt[17]&255)<<5|(Gt[18]&254)>>>3,tr.dts*=4,tr.dts+=(Gt[18]&6)>>>1)),tr.data=Gt.subarray(9+Gt[8]))},kt=function(Gt,tr,Xr){var Bn=new Uint8Array(Gt.size),Gi={type:tr},ri=0,Vs=0,Sa=!1,Pl;if(!(!Gt.data.length||Gt.size<9)){for(Gi.trackId=Gt.data[0].pid,ri=0;ri<Gt.data.length;ri++)Pl=Gt.data[ri],Bn.set(Pl.data,Vs),Vs+=Pl.data.byteLength;It(Bn,Gi),Sa=tr==="video"||Gi.packetLength<=Gt.size,(Xr||Sa)&&(Gt.size=0,Gt.data.length=0),Sa&&L.trigger("data",Gi)}};om.prototype.init.call(this),this.push=function(Gt){({pat:function(){},pes:function(){var tr,Xr;switch(Gt.streamType){case Qd.H264_STREAM_TYPE:tr=Z,Xr="video";break;case Qd.ADTS_STREAM_TYPE:tr=ne,Xr="audio";break;case Qd.METADATA_STREAM_TYPE:tr=me,Xr="timed-metadata";break;default:return}Gt.payloadUnitStartIndicator&&kt(tr,Xr,!0),tr.data.push(Gt),tr.size+=Gt.data.byteLength},pmt:function(){var tr={type:"metadata",tracks:[]};Re=Gt.programMapTable,Re.video!==null&&tr.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Re.video,codec:"avc",type:"video"}),Re.audio!==null&&tr.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Re.audio,codec:"adts",type:"audio"}),X=!0,L.trigger("data",tr)}})[Gt.type]()},this.reset=function(){Z.size=0,Z.data.length=0,ne.size=0,ne.data.length=0,this.trigger("reset")},this.flushStreams_=function(){kt(Z,"video"),kt(ne,"audio"),kt(me,"timed-metadata")},this.flush=function(){if(!X&&Re){var Gt={type:"metadata",tracks:[]};Re.video!==null&&Gt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Re.video,codec:"avc",type:"video"}),Re.audio!==null&&Gt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Re.audio,codec:"adts",type:"audio"}),L.trigger("data",Gt)}X=!1,this.flushStreams_(),this.trigger("done")}},om.prototype=new Wg;var T1={PAT_PID:0,MP2T_PACKET_LENGTH:op,TransportPacketStream:am,TransportParseStream:Gp,ElementaryStream:om,TimestampRolloverStream:Xv,CaptionStream:Vg.CaptionStream,Cea608Stream:Vg.Cea608Stream,Cea708Stream:Vg.Cea708Stream,MetadataStream:Kv};for(var Yg in Qd)Qd.hasOwnProperty(Yg)&&(T1[Yg]=Qd[Yg]);var Qv=T1,Jv=o,Zv=du.ONE_SECOND_IN_TS,um,w1=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];um=function(L){var X,Z=0;um.prototype.init.call(this),this.skipWarn_=function(ne,me){this.trigger("log",{level:"warn",message:`adts skiping bytes ${ne} to ${me} in frame ${Z} outside syncword`})},this.push=function(ne){var me=0,Re,It,kt,Gt,tr;if(L||(Z=0),ne.type==="audio"){X&&X.length?(kt=X,X=new Uint8Array(kt.byteLength+ne.data.byteLength),X.set(kt),X.set(ne.data,kt.byteLength)):X=ne.data;for(var Xr;me+7<X.length;){if(X[me]!==255||(X[me+1]&246)!==240){typeof Xr!="number"&&(Xr=me),me++;continue}if(typeof Xr=="number"&&(this.skipWarn_(Xr,me),Xr=null),It=(~X[me+1]&1)*2,Re=(X[me+3]&3)<<11|X[me+4]<<3|(X[me+5]&224)>>5,Gt=((X[me+6]&3)+1)*1024,tr=Gt*Zv/w1[(X[me+2]&60)>>>2],X.byteLength-me<Re)break;this.trigger("data",{pts:ne.pts+Z*tr,dts:ne.dts+Z*tr,sampleCount:Gt,audioobjecttype:(X[me+2]>>>6&3)+1,channelcount:(X[me+2]&1)<<2|(X[me+3]&192)>>>6,samplerate:w1[(X[me+2]&60)>>>2],samplingfrequencyindex:(X[me+2]&60)>>>2,samplesize:16,data:X.subarray(me+7+It,me+Re)}),Z++,me+=Re}typeof Xr=="number"&&(this.skipWarn_(Xr,me),Xr=null),X=X.subarray(me)}},this.flush=function(){Z=0,this.trigger("done")},this.reset=function(){X=void 0,this.trigger("reset")},this.endTimeline=function(){X=void 0,this.trigger("endedtimeline")}},um.prototype=new Jv;var qv=um,_1;_1=function(L){var X=L.byteLength,Z=0,ne=0;this.length=function(){return 8*X},this.bitsAvailable=function(){return 8*X+ne},this.loadWord=function(){var me=L.byteLength-X,Re=new Uint8Array(4),It=Math.min(4,X);if(It===0)throw new Error("no bytes available");Re.set(L.subarray(me,me+It)),Z=new DataView(Re.buffer).getUint32(0),ne=It*8,X-=It},this.skipBits=function(me){var Re;ne>me?(Z<<=me,ne-=me):(me-=ne,Re=Math.floor(me/8),me-=Re*8,X-=Re,this.loadWord(),Z<<=me,ne-=me)},this.readBits=function(me){var Re=Math.min(ne,me),It=Z>>>32-Re;return ne-=Re,ne>0?Z<<=Re:X>0&&this.loadWord(),Re=me-Re,Re>0?It<<Re|this.readBits(Re):It},this.skipLeadingZeros=function(){var me;for(me=0;me<ne;++me)if((Z&2147483648>>>me)!==0)return Z<<=me,ne-=me,me;return this.loadWord(),me+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var me=this.skipLeadingZeros();return this.readBits(me+1)-1},this.readExpGolomb=function(){var me=this.readUnsignedExpGolomb();return 1&me?1+me>>>1:-1*(me>>>1)},this.readBoolean=function(){return this.readBits(1)===1},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};var ey=_1,C1=o,ty=ey,lm,Yp,A1;Yp=function(){var L=0,X,Z;Yp.prototype.init.call(this),this.push=function(ne){var me;Z?(me=new Uint8Array(Z.byteLength+ne.data.byteLength),me.set(Z),me.set(ne.data,Z.byteLength),Z=me):Z=ne.data;for(var Re=Z.byteLength;L<Re-3;L++)if(Z[L+2]===1){X=L+5;break}for(;X<Re;)switch(Z[X]){case 0:if(Z[X-1]!==0){X+=2;break}else if(Z[X-2]!==0){X++;break}L+3!==X-2&&this.trigger("data",Z.subarray(L+3,X-2));do X++;while(Z[X]!==1&&X<Re);L=X-2,X+=3;break;case 1:if(Z[X-1]!==0||Z[X-2]!==0){X+=3;break}this.trigger("data",Z.subarray(L+3,X-2)),L=X-2,X+=3;break;default:X+=3;break}Z=Z.subarray(L),X-=L,L=0},this.reset=function(){Z=null,L=0,this.trigger("reset")},this.flush=function(){Z&&Z.byteLength>3&&this.trigger("data",Z.subarray(L+3)),Z=null,L=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},Yp.prototype=new C1,A1={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},lm=function(){var L=new Yp,X,Z,ne,me,Re,It,kt;lm.prototype.init.call(this),X=this,this.push=function(Gt){Gt.type==="video"&&(Z=Gt.trackId,ne=Gt.pts,me=Gt.dts,L.push(Gt))},L.on("data",function(Gt){var tr={trackId:Z,pts:ne,dts:me,data:Gt,nalUnitTypeCode:Gt[0]&31};switch(tr.nalUnitTypeCode){case 5:tr.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:tr.nalUnitType="sei_rbsp",tr.escapedRBSP=Re(Gt.subarray(1));break;case 7:tr.nalUnitType="seq_parameter_set_rbsp",tr.escapedRBSP=Re(Gt.subarray(1)),tr.config=It(tr.escapedRBSP);break;case 8:tr.nalUnitType="pic_parameter_set_rbsp";break;case 9:tr.nalUnitType="access_unit_delimiter_rbsp";break}X.trigger("data",tr)}),L.on("done",function(){X.trigger("done")}),L.on("partialdone",function(){X.trigger("partialdone")}),L.on("reset",function(){X.trigger("reset")}),L.on("endedtimeline",function(){X.trigger("endedtimeline")}),this.flush=function(){L.flush()},this.partialFlush=function(){L.partialFlush()},this.reset=function(){L.reset()},this.endTimeline=function(){L.endTimeline()},kt=function(Gt,tr){var Xr=8,Bn=8,Gi,ri;for(Gi=0;Gi<Gt;Gi++)Bn!==0&&(ri=tr.readExpGolomb(),Bn=(Xr+ri+256)%256),Xr=Bn===0?Xr:Bn},Re=function(Gt){for(var tr=Gt.byteLength,Xr=[],Bn=1,Gi,ri;Bn<tr-2;)Gt[Bn]===0&&Gt[Bn+1]===0&&Gt[Bn+2]===3?(Xr.push(Bn+2),Bn+=2):Bn++;if(Xr.length===0)return Gt;Gi=tr-Xr.length,ri=new Uint8Array(Gi);var Vs=0;for(Bn=0;Bn<Gi;Vs++,Bn++)Vs===Xr[0]&&(Vs++,Xr.shift()),ri[Bn]=Gt[Vs];return ri},It=function(Gt){var tr=0,Xr=0,Bn=0,Gi=0,ri,Vs,Sa,Pl,hd,nh,t0,r0,n0,i0,xm,fu=[1,1],s0,Zd;if(ri=new ty(Gt),Vs=ri.readUnsignedByte(),Pl=ri.readUnsignedByte(),Sa=ri.readUnsignedByte(),ri.skipUnsignedExpGolomb(),A1[Vs]&&(hd=ri.readUnsignedExpGolomb(),hd===3&&ri.skipBits(1),ri.skipUnsignedExpGolomb(),ri.skipUnsignedExpGolomb(),ri.skipBits(1),ri.readBoolean()))for(xm=hd!==3?8:12,Zd=0;Zd<xm;Zd++)ri.readBoolean()&&(Zd<6?kt(16,ri):kt(64,ri));if(ri.skipUnsignedExpGolomb(),nh=ri.readUnsignedExpGolomb(),nh===0)ri.readUnsignedExpGolomb();else if(nh===1)for(ri.skipBits(1),ri.skipExpGolomb(),ri.skipExpGolomb(),t0=ri.readUnsignedExpGolomb(),Zd=0;Zd<t0;Zd++)ri.skipExpGolomb();if(ri.skipUnsignedExpGolomb(),ri.skipBits(1),r0=ri.readUnsignedExpGolomb(),n0=ri.readUnsignedExpGolomb(),i0=ri.readBits(1),i0===0&&ri.skipBits(1),ri.skipBits(1),ri.readBoolean()&&(tr=ri.readUnsignedExpGolomb(),Xr=ri.readUnsignedExpGolomb(),Bn=ri.readUnsignedExpGolomb(),Gi=ri.readUnsignedExpGolomb()),ri.readBoolean()&&ri.readBoolean()){switch(s0=ri.readUnsignedByte(),s0){case 1:fu=[1,1];break;case 2:fu=[12,11];break;case 3:fu=[10,11];break;case 4:fu=[16,11];break;case 5:fu=[40,33];break;case 6:fu=[24,11];break;case 7:fu=[20,11];break;case 8:fu=[32,11];break;case 9:fu=[80,33];break;case 10:fu=[18,11];break;case 11:fu=[15,11];break;case 12:fu=[64,33];break;case 13:fu=[160,99];break;case 14:fu=[4,3];break;case 15:fu=[3,2];break;case 16:fu=[2,1];break;case 255:{fu=[ri.readUnsignedByte()<<8|ri.readUnsignedByte(),ri.readUnsignedByte()<<8|ri.readUnsignedByte()];break}}fu&&fu[0]/fu[1]}return{profileIdc:Vs,levelIdc:Sa,profileCompatibility:Pl,width:(r0+1)*16-tr*2-Xr*2,height:(2-i0)*(n0+1)*16-Bn*2-Gi*2,sarRatio:fu}}},lm.prototype=new C1;var ry={H264Stream:lm,NalByteStream:Yp},ny=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],O1=function(L,X){var Z=L[X+6]<<21|L[X+7]<<14|L[X+8]<<7|L[X+9],ne=L[X+5],me=(ne&16)>>4;return Z=Z>=0?Z:0,me?Z+20:Z+10},I1=function(L,X){return L.length-X<10||L[X]!==73||L[X+1]!==68||L[X+2]!==51?X:(X+=O1(L,X),I1(L,X))},iy=function(L){var X=I1(L,0);return L.length>=X+2&&(L[X]&255)===255&&(L[X+1]&240)===240&&(L[X+1]&22)===16},P1=function(L){return L[0]<<21|L[1]<<14|L[2]<<7|L[3]},sy=function(L,X,Z){var ne,me="";for(ne=X;ne<Z;ne++)me+="%"+("00"+L[ne].toString(16)).slice(-2);return me},ay=function(L,X,Z){return unescape(sy(L,X,Z))},oy=function(L,X){var Z=(L[X+5]&224)>>5,ne=L[X+4]<<3,me=L[X+3]&6144;return me|ne|Z},uy=function(L,X){return L[X]===73&&L[X+1]===68&&L[X+2]===51?"timed-metadata":L[X]&!0&&(L[X+1]&240)===240?"audio":null},ly=function(L){for(var X=0;X+5<L.length;){if(L[X]!==255||(L[X+1]&246)!==240){X++;continue}return ny[(L[X+2]&60)>>>2]}return null},cy=function(L){var X,Z,ne,me;X=10,L[5]&64&&(X+=4,X+=P1(L.subarray(10,14)));do{if(Z=P1(L.subarray(X+4,X+8)),Z<1)return null;if(me=String.fromCharCode(L[X],L[X+1],L[X+2],L[X+3]),me==="PRIV"){ne=L.subarray(X+10,X+Z+10);for(var Re=0;Re<ne.byteLength;Re++)if(ne[Re]===0){var It=ay(ne,0,Re);if(It==="com.apple.streaming.transportStreamTimestamp"){var kt=ne.subarray(Re+1),Gt=(kt[3]&1)<<30|kt[4]<<22|kt[5]<<14|kt[6]<<6|kt[7]>>>2;return Gt*=4,Gt+=kt[7]&3,Gt}break}}X+=10,X+=Z}while(X<L.byteLength);return null},Kg={isLikelyAacData:iy,parseId3TagSize:O1,parseAdtsSize:oy,parseType:uy,parseSampleRate:ly,parseAacTimestamp:cy},dy=o,R1=Kg,cm;cm=function(){var L=new Uint8Array,X=0;cm.prototype.init.call(this),this.setTimestamp=function(Z){X=Z},this.push=function(Z){var ne=0,me=0,Re,It,kt,Gt;for(L.length?(Gt=L.length,L=new Uint8Array(Z.byteLength+Gt),L.set(L.subarray(0,Gt)),L.set(Z,Gt)):L=Z;L.length-me>=3;){if(L[me]===73&&L[me+1]===68&&L[me+2]===51){if(L.length-me<10||(ne=R1.parseId3TagSize(L,me),me+ne>L.length))break;It={type:"timed-metadata",data:L.subarray(me,me+ne)},this.trigger("data",It),me+=ne;continue}else if((L[me]&255)===255&&(L[me+1]&240)===240){if(L.length-me<7||(ne=R1.parseAdtsSize(L,me),me+ne>L.length))break;kt={type:"audio",data:L.subarray(me,me+ne),pts:X,dts:X},this.trigger("data",kt),me+=ne;continue}me++}Re=L.length-me,Re>0?L=L.subarray(me):L=new Uint8Array},this.reset=function(){L=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){L=new Uint8Array,this.trigger("endedtimeline")}},cm.prototype=new dy;var fy=cm,hy=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],py=hy,my=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],gy=my,dm=o,Kp=G0,Xp=gv,fm=_v,Jd=Pv,Df=Qv,hm=du,D1=qv,vy=ry.H264Stream,yy=fy,by=Kg.isLikelyAacData,Sy=du.ONE_SECOND_IN_TS,Xg=py,Qg=gy,Qp,up,pm,Dh,xy=function(L,X){X.stream=L,this.trigger("log",X)},L1=function(L,X){for(var Z=Object.keys(X),ne=0;ne<Z.length;ne++){var me=Z[ne];me==="headOfPipeline"||!X[me].on||X[me].on("log",xy.bind(L,me))}},M1=function(L,X){var Z;if(L.length!==X.length)return!1;for(Z=0;Z<L.length;Z++)if(L[Z]!==X[Z])return!1;return!0},Jg=function(L,X,Z,ne,me,Re){var It=Z-X,kt=ne-X,Gt=me-Z;return{start:{dts:L,pts:L+It},end:{dts:L+kt,pts:L+Gt},prependedContentDuration:Re,baseMediaDecodeTime:L}};up=function(L,X){var Z=[],ne,me=0,Re=0,It=1/0;X=X||{},ne=X.firstSequenceNumber||0,up.prototype.init.call(this),this.push=function(kt){Jd.collectDtsInfo(L,kt),L&&Xg.forEach(function(Gt){L[Gt]=kt[Gt]}),Z.push(kt)},this.setEarliestDts=function(kt){me=kt},this.setVideoBaseMediaDecodeTime=function(kt){It=kt},this.setAudioAppendStart=function(kt){Re=kt},this.flush=function(){var kt,Gt,tr,Xr,Bn,Gi,ri;if(Z.length===0){this.trigger("done","AudioSegmentStream");return}kt=fm.trimAdtsFramesByEarliestDts(Z,L,me),L.baseMediaDecodeTime=Jd.calculateTrackBaseMediaDecodeTime(L,X.keepOriginalTimestamps),ri=fm.prefixWithSilence(L,kt,Re,It),L.samples=fm.generateSampleTable(kt),tr=Kp.mdat(fm.concatenateFrameData(kt)),Z=[],Gt=Kp.moof(ne,[L]),Xr=new Uint8Array(Gt.byteLength+tr.byteLength),ne++,Xr.set(Gt),Xr.set(tr,Gt.byteLength),Jd.clearDtsInfo(L),Bn=Math.ceil(Sy*1024/L.samplerate),kt.length&&(Gi=kt.length*Bn,this.trigger("segmentTimingInfo",Jg(hm.audioTsToVideoTs(L.baseMediaDecodeTime,L.samplerate),kt[0].dts,kt[0].pts,kt[0].dts+Gi,kt[0].pts+Gi,ri||0)),this.trigger("timingInfo",{start:kt[0].pts,end:kt[0].pts+Gi})),this.trigger("data",{track:L,boxes:Xr}),this.trigger("done","AudioSegmentStream")},this.reset=function(){Jd.clearDtsInfo(L),Z=[],this.trigger("reset")}},up.prototype=new dm,Qp=function(L,X){var Z,ne=[],me=[],Re,It;X=X||{},Z=X.firstSequenceNumber||0,Qp.prototype.init.call(this),delete L.minPTS,this.gopCache_=[],this.push=function(kt){Jd.collectDtsInfo(L,kt),kt.nalUnitType==="seq_parameter_set_rbsp"&&!Re&&(Re=kt.config,L.sps=[kt.data],Qg.forEach(function(Gt){L[Gt]=Re[Gt]},this)),kt.nalUnitType==="pic_parameter_set_rbsp"&&!It&&(It=kt.data,L.pps=[kt.data]),ne.push(kt)},this.flush=function(){for(var kt,Gt,tr,Xr,Bn,Gi,ri=0,Vs,Sa;ne.length&&ne[0].nalUnitType!=="access_unit_delimiter_rbsp";)ne.shift();if(ne.length===0){this.resetStream_(),this.trigger("done","VideoSegmentStream");return}if(kt=Xp.groupNalsIntoFrames(ne),tr=Xp.groupFramesIntoGops(kt),tr[0][0].keyFrame||(Gt=this.getGopForFusion_(ne[0],L),Gt?(ri=Gt.duration,tr.unshift(Gt),tr.byteLength+=Gt.byteLength,tr.nalCount+=Gt.nalCount,tr.pts=Gt.pts,tr.dts=Gt.dts,tr.duration+=Gt.duration):tr=Xp.extendFirstKeyFrame(tr)),me.length){var Pl;if(X.alignGopsAtEnd?Pl=this.alignGopsAtEnd_(tr):Pl=this.alignGopsAtStart_(tr),!Pl){this.gopCache_.unshift({gop:tr.pop(),pps:L.pps,sps:L.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),ne=[],this.resetStream_(),this.trigger("done","VideoSegmentStream");return}Jd.clearDtsInfo(L),tr=Pl}Jd.collectDtsInfo(L,tr),L.samples=Xp.generateSampleTable(tr),Bn=Kp.mdat(Xp.concatenateNalData(tr)),L.baseMediaDecodeTime=Jd.calculateTrackBaseMediaDecodeTime(L,X.keepOriginalTimestamps),this.trigger("processedGopsInfo",tr.map(function(hd){return{pts:hd.pts,dts:hd.dts,byteLength:hd.byteLength}})),Vs=tr[0],Sa=tr[tr.length-1],this.trigger("segmentTimingInfo",Jg(L.baseMediaDecodeTime,Vs.dts,Vs.pts,Sa.dts+Sa.duration,Sa.pts+Sa.duration,ri)),this.trigger("timingInfo",{start:tr[0].pts,end:tr[tr.length-1].pts+tr[tr.length-1].duration}),this.gopCache_.unshift({gop:tr.pop(),pps:L.pps,sps:L.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),ne=[],this.trigger("baseMediaDecodeTime",L.baseMediaDecodeTime),this.trigger("timelineStartInfo",L.timelineStartInfo),Xr=Kp.moof(Z,[L]),Gi=new Uint8Array(Xr.byteLength+Bn.byteLength),Z++,Gi.set(Xr),Gi.set(Bn,Xr.byteLength),this.trigger("data",{track:L,boxes:Gi}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),ne=[],this.gopCache_.length=0,me.length=0,this.trigger("reset")},this.resetStream_=function(){Jd.clearDtsInfo(L),Re=void 0,It=void 0},this.getGopForFusion_=function(kt){var Gt=45e3,tr=1e4,Xr=1/0,Bn,Gi,ri,Vs,Sa;for(Sa=0;Sa<this.gopCache_.length;Sa++)Vs=this.gopCache_[Sa],ri=Vs.gop,!(!(L.pps&&M1(L.pps[0],Vs.pps[0]))||!(L.sps&&M1(L.sps[0],Vs.sps[0])))&&(ri.dts<L.timelineStartInfo.dts||(Bn=kt.dts-ri.dts-ri.duration,Bn>=-tr&&Bn<=Gt&&(!Gi||Xr>Bn)&&(Gi=Vs,Xr=Bn)));return Gi?Gi.gop:null},this.alignGopsAtStart_=function(kt){var Gt,tr,Xr,Bn,Gi,ri,Vs,Sa;for(Gi=kt.byteLength,ri=kt.nalCount,Vs=kt.duration,Gt=tr=0;Gt<me.length&&tr<kt.length&&(Xr=me[Gt],Bn=kt[tr],Xr.pts!==Bn.pts);){if(Bn.pts>Xr.pts){Gt++;continue}tr++,Gi-=Bn.byteLength,ri-=Bn.nalCount,Vs-=Bn.duration}return tr===0?kt:tr===kt.length?null:(Sa=kt.slice(tr),Sa.byteLength=Gi,Sa.duration=Vs,Sa.nalCount=ri,Sa.pts=Sa[0].pts,Sa.dts=Sa[0].dts,Sa)},this.alignGopsAtEnd_=function(kt){var Gt,tr,Xr,Bn,Gi,ri;for(Gt=me.length-1,tr=kt.length-1,Gi=null,ri=!1;Gt>=0&&tr>=0;){if(Xr=me[Gt],Bn=kt[tr],Xr.pts===Bn.pts){ri=!0;break}if(Xr.pts>Bn.pts){Gt--;continue}Gt===me.length-1&&(Gi=tr),tr--}if(!ri&&Gi===null)return null;var Vs;if(ri?Vs=tr:Vs=Gi,Vs===0)return kt;var Sa=kt.slice(Vs),Pl=Sa.reduce(function(hd,nh){return hd.byteLength+=nh.byteLength,hd.duration+=nh.duration,hd.nalCount+=nh.nalCount,hd},{byteLength:0,duration:0,nalCount:0});return Sa.byteLength=Pl.byteLength,Sa.duration=Pl.duration,Sa.nalCount=Pl.nalCount,Sa.pts=Sa[0].pts,Sa.dts=Sa[0].dts,Sa},this.alignGopsWith=function(kt){me=kt}},Qp.prototype=new dm,Dh=function(L,X){this.numberOfTracks=0,this.metadataStream=X,L=L||{},typeof L.remux<"u"?this.remuxTracks=!!L.remux:this.remuxTracks=!0,typeof L.keepOriginalTimestamps=="boolean"?this.keepOriginalTimestamps=L.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,Dh.prototype.init.call(this),this.push=function(Z){if(Z.content||Z.text)return this.pendingCaptions.push(Z);if(Z.frames)return this.pendingMetadata.push(Z);this.pendingTracks.push(Z.track),this.pendingBytes+=Z.boxes.byteLength,Z.track.type==="video"&&(this.videoTrack=Z.track,this.pendingBoxes.push(Z.boxes)),Z.track.type==="audio"&&(this.audioTrack=Z.track,this.pendingBoxes.unshift(Z.boxes))}},Dh.prototype=new dm,Dh.prototype.flush=function(L){var X=0,Z={captions:[],captionStreams:{},metadata:[],info:{}},ne,me,Re,It=0,kt;if(this.pendingTracks.length<this.numberOfTracks){if(L!=="VideoSegmentStream"&&L!=="AudioSegmentStream")return;if(this.remuxTracks)return;if(this.pendingTracks.length===0){this.emittedTracks++,this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0);return}}if(this.videoTrack?(It=this.videoTrack.timelineStartInfo.pts,Qg.forEach(function(Gt){Z.info[Gt]=this.videoTrack[Gt]},this)):this.audioTrack&&(It=this.audioTrack.timelineStartInfo.pts,Xg.forEach(function(Gt){Z.info[Gt]=this.audioTrack[Gt]},this)),this.videoTrack||this.audioTrack){for(this.pendingTracks.length===1?Z.type=this.pendingTracks[0].type:Z.type="combined",this.emittedTracks+=this.pendingTracks.length,Re=Kp.initSegment(this.pendingTracks),Z.initSegment=new Uint8Array(Re.byteLength),Z.initSegment.set(Re),Z.data=new Uint8Array(this.pendingBytes),kt=0;kt<this.pendingBoxes.length;kt++)Z.data.set(this.pendingBoxes[kt],X),X+=this.pendingBoxes[kt].byteLength;for(kt=0;kt<this.pendingCaptions.length;kt++)ne=this.pendingCaptions[kt],ne.startTime=hm.metadataTsToSeconds(ne.startPts,It,this.keepOriginalTimestamps),ne.endTime=hm.metadataTsToSeconds(ne.endPts,It,this.keepOriginalTimestamps),Z.captionStreams[ne.stream]=!0,Z.captions.push(ne);for(kt=0;kt<this.pendingMetadata.length;kt++)me=this.pendingMetadata[kt],me.cueTime=hm.metadataTsToSeconds(me.pts,It,this.keepOriginalTimestamps),Z.metadata.push(me);for(Z.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",Z),kt=0;kt<Z.captions.length;kt++)ne=Z.captions[kt],this.trigger("caption",ne);for(kt=0;kt<Z.metadata.length;kt++)me=Z.metadata[kt],this.trigger("id3Frame",me)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},Dh.prototype.setRemux=function(L){this.remuxTracks=L},pm=function(L){var X=this,Z=!0,ne,me;pm.prototype.init.call(this),L=L||{},this.baseMediaDecodeTime=L.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var Re={};this.transmuxPipeline_=Re,Re.type="aac",Re.metadataStream=new Df.MetadataStream,Re.aacStream=new yy,Re.audioTimestampRolloverStream=new Df.TimestampRolloverStream("audio"),Re.timedMetadataTimestampRolloverStream=new Df.TimestampRolloverStream("timed-metadata"),Re.adtsStream=new D1,Re.coalesceStream=new Dh(L,Re.metadataStream),Re.headOfPipeline=Re.aacStream,Re.aacStream.pipe(Re.audioTimestampRolloverStream).pipe(Re.adtsStream),Re.aacStream.pipe(Re.timedMetadataTimestampRolloverStream).pipe(Re.metadataStream).pipe(Re.coalesceStream),Re.metadataStream.on("timestamp",function(It){Re.aacStream.setTimestamp(It.timeStamp)}),Re.aacStream.on("data",function(It){It.type!=="timed-metadata"&&It.type!=="audio"||Re.audioSegmentStream||(me=me||{timelineStartInfo:{baseMediaDecodeTime:X.baseMediaDecodeTime},codec:"adts",type:"audio"},Re.coalesceStream.numberOfTracks++,Re.audioSegmentStream=new up(me,L),Re.audioSegmentStream.on("log",X.getLogTrigger_("audioSegmentStream")),Re.audioSegmentStream.on("timingInfo",X.trigger.bind(X,"audioTimingInfo")),Re.adtsStream.pipe(Re.audioSegmentStream).pipe(Re.coalesceStream),X.trigger("trackinfo",{hasAudio:!!me,hasVideo:!!ne}))}),Re.coalesceStream.on("data",this.trigger.bind(this,"data")),Re.coalesceStream.on("done",this.trigger.bind(this,"done")),L1(this,Re)},this.setupTsPipeline=function(){var Re={};this.transmuxPipeline_=Re,Re.type="ts",Re.metadataStream=new Df.MetadataStream,Re.packetStream=new Df.TransportPacketStream,Re.parseStream=new Df.TransportParseStream,Re.elementaryStream=new Df.ElementaryStream,Re.timestampRolloverStream=new Df.TimestampRolloverStream,Re.adtsStream=new D1,Re.h264Stream=new vy,Re.captionStream=new Df.CaptionStream(L),Re.coalesceStream=new Dh(L,Re.metadataStream),Re.headOfPipeline=Re.packetStream,Re.packetStream.pipe(Re.parseStream).pipe(Re.elementaryStream).pipe(Re.timestampRolloverStream),Re.timestampRolloverStream.pipe(Re.h264Stream),Re.timestampRolloverStream.pipe(Re.adtsStream),Re.timestampRolloverStream.pipe(Re.metadataStream).pipe(Re.coalesceStream),Re.h264Stream.pipe(Re.captionStream).pipe(Re.coalesceStream),Re.elementaryStream.on("data",function(It){var kt;if(It.type==="metadata"){for(kt=It.tracks.length;kt--;)!ne&&It.tracks[kt].type==="video"?(ne=It.tracks[kt],ne.timelineStartInfo.baseMediaDecodeTime=X.baseMediaDecodeTime):!me&&It.tracks[kt].type==="audio"&&(me=It.tracks[kt],me.timelineStartInfo.baseMediaDecodeTime=X.baseMediaDecodeTime);ne&&!Re.videoSegmentStream&&(Re.coalesceStream.numberOfTracks++,Re.videoSegmentStream=new Qp(ne,L),Re.videoSegmentStream.on("log",X.getLogTrigger_("videoSegmentStream")),Re.videoSegmentStream.on("timelineStartInfo",function(Gt){me&&!L.keepOriginalTimestamps&&(me.timelineStartInfo=Gt,Re.audioSegmentStream.setEarliestDts(Gt.dts-X.baseMediaDecodeTime))}),Re.videoSegmentStream.on("processedGopsInfo",X.trigger.bind(X,"gopInfo")),Re.videoSegmentStream.on("segmentTimingInfo",X.trigger.bind(X,"videoSegmentTimingInfo")),Re.videoSegmentStream.on("baseMediaDecodeTime",function(Gt){me&&Re.audioSegmentStream.setVideoBaseMediaDecodeTime(Gt)}),Re.videoSegmentStream.on("timingInfo",X.trigger.bind(X,"videoTimingInfo")),Re.h264Stream.pipe(Re.videoSegmentStream).pipe(Re.coalesceStream)),me&&!Re.audioSegmentStream&&(Re.coalesceStream.numberOfTracks++,Re.audioSegmentStream=new up(me,L),Re.audioSegmentStream.on("log",X.getLogTrigger_("audioSegmentStream")),Re.audioSegmentStream.on("timingInfo",X.trigger.bind(X,"audioTimingInfo")),Re.audioSegmentStream.on("segmentTimingInfo",X.trigger.bind(X,"audioSegmentTimingInfo")),Re.adtsStream.pipe(Re.audioSegmentStream).pipe(Re.coalesceStream)),X.trigger("trackinfo",{hasAudio:!!me,hasVideo:!!ne})}}),Re.coalesceStream.on("data",this.trigger.bind(this,"data")),Re.coalesceStream.on("id3Frame",function(It){It.dispatchType=Re.metadataStream.dispatchType,X.trigger("id3Frame",It)}),Re.coalesceStream.on("caption",this.trigger.bind(this,"caption")),Re.coalesceStream.on("done",this.trigger.bind(this,"done")),L1(this,Re)},this.setBaseMediaDecodeTime=function(Re){var It=this.transmuxPipeline_;L.keepOriginalTimestamps||(this.baseMediaDecodeTime=Re),me&&(me.timelineStartInfo.dts=void 0,me.timelineStartInfo.pts=void 0,Jd.clearDtsInfo(me),It.audioTimestampRolloverStream&&It.audioTimestampRolloverStream.discontinuity()),ne&&(It.videoSegmentStream&&(It.videoSegmentStream.gopCache_=[]),ne.timelineStartInfo.dts=void 0,ne.timelineStartInfo.pts=void 0,Jd.clearDtsInfo(ne),It.captionStream.reset()),It.timestampRolloverStream&&It.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(Re){me&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(Re)},this.setRemux=function(Re){var It=this.transmuxPipeline_;L.remux=Re,It&&It.coalesceStream&&It.coalesceStream.setRemux(Re)},this.alignGopsWith=function(Re){ne&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(Re)},this.getLogTrigger_=function(Re){var It=this;return function(kt){kt.stream=Re,It.trigger("log",kt)}},this.push=function(Re){if(Z){var It=by(Re);It&&this.transmuxPipeline_.type!=="aac"?this.setupAacPipeline():!It&&this.transmuxPipeline_.type!=="ts"&&this.setupTsPipeline(),Z=!1}this.transmuxPipeline_.headOfPipeline.push(Re)},this.flush=function(){Z=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},pm.prototype=new dm;var Ey={Transmuxer:pm,VideoSegmentStream:Qp,AudioSegmentStream:up,AUDIO_PROPERTIES:Xg,VIDEO_PROPERTIES:Qg,generateSegmentTimingInfo:Jg},Ty=function(L){return L>>>0},wy=function(L){return("00"+L.toString(16)).slice(-2)},mm={toUnsigned:Ty,toHexString:wy},_y=function(L){var X="";return X+=String.fromCharCode(L[0]),X+=String.fromCharCode(L[1]),X+=String.fromCharCode(L[2]),X+=String.fromCharCode(L[3]),X},Zg=_y,Cy=mm.toUnsigned,Ay=Zg,k1=function(L,X){var Z=[],ne,me,Re,It,kt;if(!X.length)return null;for(ne=0;ne<L.byteLength;)me=Cy(L[ne]<<24|L[ne+1]<<16|L[ne+2]<<8|L[ne+3]),Re=Ay(L.subarray(ne+4,ne+8)),It=me>1?ne+me:L.byteLength,Re===X[0]&&(X.length===1?Z.push(L.subarray(ne+8,It)):(kt=k1(L.subarray(ne+8,It),X.slice(1)),kt.length&&(Z=Z.concat(kt)))),ne=It;return Z},gm=k1,Oy=mm.toUnsigned,Iy=_.getUint64,Py=function(L){var X={version:L[0],flags:new Uint8Array(L.subarray(1,4))};return X.version===1?X.baseMediaDecodeTime=Iy(L.subarray(4)):X.baseMediaDecodeTime=Oy(L[4]<<24|L[5]<<16|L[6]<<8|L[7]),X},qg=Py,Ry=function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z={version:L[0],flags:new Uint8Array(L.subarray(1,4)),trackId:X.getUint32(4)},ne=Z.flags[2]&1,me=Z.flags[2]&2,Re=Z.flags[2]&8,It=Z.flags[2]&16,kt=Z.flags[2]&32,Gt=Z.flags[0]&65536,tr=Z.flags[0]&131072,Xr;return Xr=8,ne&&(Xr+=4,Z.baseDataOffset=X.getUint32(12),Xr+=4),me&&(Z.sampleDescriptionIndex=X.getUint32(Xr),Xr+=4),Re&&(Z.defaultSampleDuration=X.getUint32(Xr),Xr+=4),It&&(Z.defaultSampleSize=X.getUint32(Xr),Xr+=4),kt&&(Z.defaultSampleFlags=X.getUint32(Xr)),Gt&&(Z.durationIsEmpty=!0),!ne&&tr&&(Z.baseDataOffsetIsMoof=!0),Z},e1=Ry,N1=_.getUint64,Dy=function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z={version:L[0],flags:new Uint8Array(L.subarray(1,4)),references:[],referenceId:X.getUint32(4),timescale:X.getUint32(8)},ne=12;Z.version===0?(Z.earliestPresentationTime=X.getUint32(ne),Z.firstOffset=X.getUint32(ne+4),ne+=8):(Z.earliestPresentationTime=N1(L.subarray(ne)),Z.firstOffset=N1(L.subarray(ne+8)),ne+=16),ne+=2;var me=X.getUint16(ne);for(ne+=2;me>0;ne+=12,me--)Z.references.push({referenceType:(L[ne]&128)>>>7,referencedSize:X.getUint32(ne)&2147483647,subsegmentDuration:X.getUint32(ne+4),startsWithSap:!!(L[ne+8]&128),sapType:(L[ne+8]&112)>>>4,sapDeltaTime:X.getUint32(ne+8)&268435455});return Z},Ly=Dy,My=function(L){return{isLeading:(L[0]&12)>>>2,dependsOn:L[0]&3,isDependedOn:(L[1]&192)>>>6,hasRedundancy:(L[1]&48)>>>4,paddingValue:(L[1]&14)>>>1,isNonSyncSample:L[1]&1,degradationPriority:L[2]<<8|L[3]}},ky=My,F1=ky,Ny=function(L){var X={version:L[0],flags:new Uint8Array(L.subarray(1,4)),samples:[]},Z=new DataView(L.buffer,L.byteOffset,L.byteLength),ne=X.flags[2]&1,me=X.flags[2]&4,Re=X.flags[1]&1,It=X.flags[1]&2,kt=X.flags[1]&4,Gt=X.flags[1]&8,tr=Z.getUint32(4),Xr=8,Bn;for(ne&&(X.dataOffset=Z.getInt32(Xr),Xr+=4),me&&tr&&(Bn={flags:F1(L.subarray(Xr,Xr+4))},Xr+=4,Re&&(Bn.duration=Z.getUint32(Xr),Xr+=4),It&&(Bn.size=Z.getUint32(Xr),Xr+=4),Gt&&(X.version===1?Bn.compositionTimeOffset=Z.getInt32(Xr):Bn.compositionTimeOffset=Z.getUint32(Xr),Xr+=4),X.samples.push(Bn),tr--);tr--;)Bn={},Re&&(Bn.duration=Z.getUint32(Xr),Xr+=4),It&&(Bn.size=Z.getUint32(Xr),Xr+=4),kt&&(Bn.flags=F1(L.subarray(Xr,Xr+4)),Xr+=4),Gt&&(X.version===1?Bn.compositionTimeOffset=Z.getInt32(Xr):Bn.compositionTimeOffset=Z.getUint32(Xr),Xr+=4),X.samples.push(Bn);return X},B1=Ny,Fy=_,U1=Fy.getUint64,hc,t1,Dd=function(L){return new Date(L*1e3-20828448e5)},Jp=Zg,By=gm,Uy=function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z=[],ne,me;for(ne=0;ne+4<L.length;ne+=me){if(me=X.getUint32(ne),ne+=4,me<=0){Z.push("<span style='color:red;'>MALFORMED DATA</span>");continue}switch(L[ne]&31){case 1:Z.push("slice_layer_without_partitioning_rbsp");break;case 5:Z.push("slice_layer_without_partitioning_rbsp_idr");break;case 6:Z.push("sei_rbsp");break;case 7:Z.push("seq_parameter_set_rbsp");break;case 8:Z.push("pic_parameter_set_rbsp");break;case 9:Z.push("access_unit_delimiter_rbsp");break;default:Z.push("UNKNOWN NAL - "+L[ne]&31);break}}return Z},th={avc1:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength);return{dataReferenceIndex:X.getUint16(6),width:X.getUint16(24),height:X.getUint16(26),horizresolution:X.getUint16(28)+X.getUint16(30)/16,vertresolution:X.getUint16(32)+X.getUint16(34)/16,frameCount:X.getUint16(40),depth:X.getUint16(74),config:hc(L.subarray(78,L.byteLength))}},avcC:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z={configurationVersion:L[0],avcProfileIndication:L[1],profileCompatibility:L[2],avcLevelIndication:L[3],lengthSizeMinusOne:L[4]&3,sps:[],pps:[]},ne=L[5]&31,me,Re,It,kt;for(It=6,kt=0;kt<ne;kt++)Re=X.getUint16(It),It+=2,Z.sps.push(new Uint8Array(L.subarray(It,It+Re))),It+=Re;for(me=L[It],It++,kt=0;kt<me;kt++)Re=X.getUint16(It),It+=2,Z.pps.push(new Uint8Array(L.subarray(It,It+Re))),It+=Re;return Z},btrt:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength);return{bufferSizeDB:X.getUint32(0),maxBitrate:X.getUint32(4),avgBitrate:X.getUint32(8)}},edts:function(X){return{boxes:hc(X)}},elst:function(X){var Z=new DataView(X.buffer,X.byteOffset,X.byteLength),ne={version:Z.getUint8(0),flags:new Uint8Array(X.subarray(1,4)),edits:[]},me=Z.getUint32(4),Re;for(Re=8;me;me--)ne.version===0?(ne.edits.push({segmentDuration:Z.getUint32(Re),mediaTime:Z.getInt32(Re+4),mediaRate:Z.getUint16(Re+8)+Z.getUint16(Re+10)/(256*256)}),Re+=12):(ne.edits.push({segmentDuration:U1(X.subarray(Re)),mediaTime:U1(X.subarray(Re+8)),mediaRate:Z.getUint16(Re+16)+Z.getUint16(Re+18)/(256*256)}),Re+=20);return ne},esds:function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),esId:L[6]<<8|L[7],streamPriority:L[8]&31,decoderConfig:{objectProfileIndication:L[11],streamType:L[12]>>>2&63,bufferSize:L[13]<<16|L[14]<<8|L[15],maxBitrate:L[16]<<24|L[17]<<16|L[18]<<8|L[19],avgBitrate:L[20]<<24|L[21]<<16|L[22]<<8|L[23],decoderConfigDescriptor:{tag:L[24],length:L[25],audioObjectType:L[26]>>>3&31,samplingFrequencyIndex:(L[26]&7)<<1|L[27]>>>7&1,channelConfiguration:L[27]>>>3&15}}}},ftyp:function(L){for(var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z={majorBrand:Jp(L.subarray(0,4)),minorVersion:X.getUint32(4),compatibleBrands:[]},ne=8;ne<L.byteLength;)Z.compatibleBrands.push(Jp(L.subarray(ne,ne+4))),ne+=4;return Z},dinf:function(L){return{boxes:hc(L)}},dref:function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),dataReferences:hc(L.subarray(8))}},hdlr:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4)),handlerType:Jp(L.subarray(8,12)),name:""},ne=8;for(ne=24;ne<L.byteLength;ne++){if(L[ne]===0){ne++;break}Z.name+=String.fromCharCode(L[ne])}return Z.name=decodeURIComponent(escape(Z.name)),Z},mdat:function(L){return{byteLength:L.byteLength,nals:Uy(L)}},mdhd:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z=4,ne,me={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4)),language:""};return me.version===1?(Z+=4,me.creationTime=Dd(X.getUint32(Z)),Z+=8,me.modificationTime=Dd(X.getUint32(Z)),Z+=4,me.timescale=X.getUint32(Z),Z+=8,me.duration=X.getUint32(Z)):(me.creationTime=Dd(X.getUint32(Z)),Z+=4,me.modificationTime=Dd(X.getUint32(Z)),Z+=4,me.timescale=X.getUint32(Z),Z+=4,me.duration=X.getUint32(Z)),Z+=4,ne=X.getUint16(Z),me.language+=String.fromCharCode((ne>>10)+96),me.language+=String.fromCharCode(((ne&992)>>5)+96),me.language+=String.fromCharCode((ne&31)+96),me},mdia:function(L){return{boxes:hc(L)}},mfhd:function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),sequenceNumber:L[4]<<24|L[5]<<16|L[6]<<8|L[7]}},minf:function(L){return{boxes:hc(L)}},mp4a:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z={dataReferenceIndex:X.getUint16(6),channelcount:X.getUint16(16),samplesize:X.getUint16(18),samplerate:X.getUint16(24)+X.getUint16(26)/65536};return L.byteLength>28&&(Z.streamDescriptor=hc(L.subarray(28))[0]),Z},moof:function(L){return{boxes:hc(L)}},moov:function(L){return{boxes:hc(L)}},mvex:function(L){return{boxes:hc(L)}},mvhd:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z=4,ne={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4))};return ne.version===1?(Z+=4,ne.creationTime=Dd(X.getUint32(Z)),Z+=8,ne.modificationTime=Dd(X.getUint32(Z)),Z+=4,ne.timescale=X.getUint32(Z),Z+=8,ne.duration=X.getUint32(Z)):(ne.creationTime=Dd(X.getUint32(Z)),Z+=4,ne.modificationTime=Dd(X.getUint32(Z)),Z+=4,ne.timescale=X.getUint32(Z),Z+=4,ne.duration=X.getUint32(Z)),Z+=4,ne.rate=X.getUint16(Z)+X.getUint16(Z+2)/16,Z+=4,ne.volume=X.getUint8(Z)+X.getUint8(Z+1)/8,Z+=2,Z+=2,Z+=8,ne.matrix=new Uint32Array(L.subarray(Z,Z+36)),Z+=36,Z+=24,ne.nextTrackId=X.getUint32(Z),ne},pdin:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength);return{version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4)),rate:X.getUint32(4),initialDelay:X.getUint32(8)}},sdtp:function(L){var X={version:L[0],flags:new Uint8Array(L.subarray(1,4)),samples:[]},Z;for(Z=4;Z<L.byteLength;Z++)X.samples.push({dependsOn:(L[Z]&48)>>4,isDependedOn:(L[Z]&12)>>2,hasRedundancy:L[Z]&3});return X},sidx:Ly,smhd:function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),balance:L[4]+L[5]/256}},stbl:function(L){return{boxes:hc(L)}},ctts:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4)),compositionOffsets:[]},ne=X.getUint32(4),me;for(me=8;ne;me+=8,ne--)Z.compositionOffsets.push({sampleCount:X.getUint32(me),sampleOffset:X[Z.version===0?"getUint32":"getInt32"](me+4)});return Z},stss:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4)),syncSamples:[]},ne=X.getUint32(4),me;for(me=8;ne;me+=4,ne--)Z.syncSamples.push(X.getUint32(me));return Z},stco:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z={version:L[0],flags:new Uint8Array(L.subarray(1,4)),chunkOffsets:[]},ne=X.getUint32(4),me;for(me=8;ne;me+=4,ne--)Z.chunkOffsets.push(X.getUint32(me));return Z},stsc:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z=X.getUint32(4),ne={version:L[0],flags:new Uint8Array(L.subarray(1,4)),sampleToChunks:[]},me;for(me=8;Z;me+=12,Z--)ne.sampleToChunks.push({firstChunk:X.getUint32(me),samplesPerChunk:X.getUint32(me+4),sampleDescriptionIndex:X.getUint32(me+8)});return ne},stsd:function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),sampleDescriptions:hc(L.subarray(8))}},stsz:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z={version:L[0],flags:new Uint8Array(L.subarray(1,4)),sampleSize:X.getUint32(4),entries:[]},ne;for(ne=12;ne<L.byteLength;ne+=4)Z.entries.push(X.getUint32(ne));return Z},stts:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z={version:L[0],flags:new Uint8Array(L.subarray(1,4)),timeToSamples:[]},ne=X.getUint32(4),me;for(me=8;ne;me+=8,ne--)Z.timeToSamples.push({sampleCount:X.getUint32(me),sampleDelta:X.getUint32(me+4)});return Z},styp:function(L){return th.ftyp(L)},tfdt:qg,tfhd:e1,tkhd:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength),Z=4,ne={version:X.getUint8(0),flags:new Uint8Array(L.subarray(1,4))};return ne.version===1?(Z+=4,ne.creationTime=Dd(X.getUint32(Z)),Z+=8,ne.modificationTime=Dd(X.getUint32(Z)),Z+=4,ne.trackId=X.getUint32(Z),Z+=4,Z+=8,ne.duration=X.getUint32(Z)):(ne.creationTime=Dd(X.getUint32(Z)),Z+=4,ne.modificationTime=Dd(X.getUint32(Z)),Z+=4,ne.trackId=X.getUint32(Z),Z+=4,Z+=4,ne.duration=X.getUint32(Z)),Z+=4,Z+=8,ne.layer=X.getUint16(Z),Z+=2,ne.alternateGroup=X.getUint16(Z),Z+=2,ne.volume=X.getUint8(Z)+X.getUint8(Z+1)/8,Z+=2,Z+=2,ne.matrix=new Uint32Array(L.subarray(Z,Z+36)),Z+=36,ne.width=X.getUint16(Z)+X.getUint16(Z+2)/65536,Z+=4,ne.height=X.getUint16(Z)+X.getUint16(Z+2)/65536,ne},traf:function(L){return{boxes:hc(L)}},trak:function(L){return{boxes:hc(L)}},trex:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength);return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),trackId:X.getUint32(4),defaultSampleDescriptionIndex:X.getUint32(8),defaultSampleDuration:X.getUint32(12),defaultSampleSize:X.getUint32(16),sampleDependsOn:L[20]&3,sampleIsDependedOn:(L[21]&192)>>6,sampleHasRedundancy:(L[21]&48)>>4,samplePaddingValue:(L[21]&14)>>1,sampleIsDifferenceSample:!!(L[21]&1),sampleDegradationPriority:X.getUint16(22)}},trun:B1,"url ":function(L){return{version:L[0],flags:new Uint8Array(L.subarray(1,4))}},vmhd:function(L){var X=new DataView(L.buffer,L.byteOffset,L.byteLength);return{version:L[0],flags:new Uint8Array(L.subarray(1,4)),graphicsmode:X.getUint16(4),opcolor:new Uint16Array([X.getUint16(6),X.getUint16(8),X.getUint16(10)])}}};hc=function(L){for(var X=0,Z=[],ne,me,Re,It,kt,Gt=new ArrayBuffer(L.length),tr=new Uint8Array(Gt),Xr=0;Xr<L.length;++Xr)tr[Xr]=L[Xr];for(ne=new DataView(Gt);X<L.byteLength;)me=ne.getUint32(X),Re=Jp(L.subarray(X+4,X+8)),It=me>1?X+me:L.byteLength,kt=(th[Re]||function(Bn){return{data:Bn}})(L.subarray(X+8,It)),kt.size=me,kt.type=Re,Z.push(kt),X=It;return Z},t1=function(L,X){var Z;return X=X||0,Z=new Array(X*2+1).join(" "),L.map(function(ne,me){return Z+ne.type+` 971`+Object.keys(ne).filter(function(Re){return Re!=="type"&&Re!=="boxes"}).map(function(Re){var It=Z+" "+Re+": ",kt=ne[Re];if(kt instanceof Uint8Array||kt instanceof Uint32Array){var Gt=Array.prototype.slice.call(new Uint8Array(kt.buffer,kt.byteOffset,kt.byteLength)).map(function(tr){return" "+("00"+tr.toString(16)).slice(-2)}).join("").match(/.{1,24}/g);return Gt?Gt.length===1?It+"<"+Gt.join("").slice(1)+">":It+`< 972`+Gt.map(function(tr){return Z+" "+tr}).join(` 973`)+` 974`+Z+" >":It+"<>"}return It+JSON.stringify(kt,null,2).split(` 975`).map(function(tr,Xr){return Xr===0?tr:Z+" "+tr}).join(` 976`)}).join(` 977`)+(ne.boxes?` 978`+t1(ne.boxes,X+1):"")}).join(` 979`)};var j1={inspect:hc,textify:t1,parseType:Jp,findBox:By,parseTraf:th.traf,parseTfdt:th.tfdt,parseHdlr:th.hdlr,parseTfhd:th.tfhd,parseTrun:th.trun,parseSidx:th.sidx},jy=function(L){for(var X=0,Z=String.fromCharCode(L[X]),ne="";Z!=="\0";)ne+=Z,X++,Z=String.fromCharCode(L[X]);return ne+=Z,ne},zy={uint8ToCString:jy},vm=zy.uint8ToCString,$y=_.getUint64,Hy=function(L){var X=4,Z=L[0],ne,me,Re,It,kt,Gt,tr,Xr;if(Z===0){ne=vm(L.subarray(X)),X+=ne.length,me=vm(L.subarray(X)),X+=me.length;var Bn=new DataView(L.buffer);Re=Bn.getUint32(X),X+=4,kt=Bn.getUint32(X),X+=4,Gt=Bn.getUint32(X),X+=4,tr=Bn.getUint32(X),X+=4}else if(Z===1){var Bn=new DataView(L.buffer);Re=Bn.getUint32(X),X+=4,It=$y(L.subarray(X)),X+=8,Gt=Bn.getUint32(X),X+=4,tr=Bn.getUint32(X),X+=4,ne=vm(L.subarray(X)),X+=ne.length,me=vm(L.subarray(X)),X+=me.length}Xr=new Uint8Array(L.subarray(X,L.byteLength));var Gi={scheme_id_uri:ne,value:me,timescale:Re||1,presentation_time:It,presentation_time_delta:kt,event_duration:Gt,id:tr,message_data:Xr};return Vy(Z,Gi)?Gi:void 0},Wy=function(L,X,Z,ne){return L||L===0?L/X:ne+Z/X},Vy=function(L,X){var Z=X.scheme_id_uri!=="\0",ne=L===0&&z1(X.presentation_time_delta)&&Z,me=L===1&&z1(X.presentation_time)&&Z;return!(L>1)&&ne||me},z1=function(L){return L!==void 0||L!==null},Gy={parseEmsgBox:Hy,scaleTime:Wy},Zp;typeof window<"u"?Zp=window:typeof p<"u"?Zp=p:typeof self<"u"?Zp=self:Zp={};var $1=Zp,ym=mm.toUnsigned,qp=mm.toHexString,el=gm,lp=Zg,r1=Gy,Yy=e1,Ky=B1,Xy=qg,Qy=_.getUint64,H1,W1,V1,G1,Y1,n1,K1,i1=$1,Jy=E1.parseId3Frames;H1=function(L){var X={},Z=el(L,["moov","trak"]);return Z.reduce(function(ne,me){var Re,It,kt,Gt,tr;return Re=el(me,["tkhd"])[0],!Re||(It=Re[0],kt=It===0?12:20,Gt=ym(Re[kt]<<24|Re[kt+1]<<16|Re[kt+2]<<8|Re[kt+3]),tr=el(me,["mdia","mdhd"])[0],!tr)?null:(It=tr[0],kt=It===0?12:20,ne[Gt]=ym(tr[kt]<<24|tr[kt+1]<<16|tr[kt+2]<<8|tr[kt+3]),ne)},X)},W1=function(L,X){var Z;Z=el(X,["moof","traf"]);var ne=Z.reduce(function(me,Re){var It=el(Re,["tfhd"])[0],kt=ym(It[4]<<24|It[5]<<16|It[6]<<8|It[7]),Gt=L[kt]||9e4,tr=el(Re,["tfdt"])[0],Xr=new DataView(tr.buffer,tr.byteOffset,tr.byteLength),Bn;tr[0]===1?Bn=Qy(tr.subarray(4,12)):Bn=Xr.getUint32(4);let Gi;return typeof Bn=="bigint"?Gi=Bn/i1.BigInt(Gt):typeof Bn=="number"&&!isNaN(Bn)&&(Gi=Bn/Gt),Gi<Number.MAX_SAFE_INTEGER&&(Gi=Number(Gi)),Gi<me&&(me=Gi),me},1/0);return typeof ne=="bigint"||isFinite(ne)?ne:0},V1=function(L,X){var Z=el(X,["moof","traf"]),ne=0,me=0,Re;if(Z&&Z.length){var It=el(Z[0],["tfhd"])[0],kt=el(Z[0],["trun"])[0],Gt=el(Z[0],["tfdt"])[0];if(It){var tr=Yy(It);Re=tr.trackId}if(Gt){var Xr=Xy(Gt);ne=Xr.baseMediaDecodeTime}if(kt){var Bn=Ky(kt);Bn.samples&&Bn.samples.length&&(me=Bn.samples[0].compositionTimeOffset||0)}}var Gi=L[Re]||9e4;typeof ne=="bigint"&&(me=i1.BigInt(me),Gi=i1.BigInt(Gi));var ri=(ne+me)/Gi;return typeof ri=="bigint"&&ri<Number.MAX_SAFE_INTEGER&&(ri=Number(ri)),ri},G1=function(L){var X=el(L,["moov","trak"]),Z=[];return X.forEach(function(ne){var me=el(ne,["mdia","hdlr"]),Re=el(ne,["tkhd"]);me.forEach(function(It,kt){var Gt=lp(It.subarray(8,12)),tr=Re[kt],Xr,Bn,Gi;Gt==="vide"&&(Xr=new DataView(tr.buffer,tr.byteOffset,tr.byteLength),Bn=Xr.getUint8(0),Gi=Bn===0?Xr.getUint32(12):Xr.getUint32(20),Z.push(Gi))})}),Z},n1=function(L){var X=L[0],Z=X===0?12:20;return ym(L[Z]<<24|L[Z+1]<<16|L[Z+2]<<8|L[Z+3])},Y1=function(L){var X=el(L,["moov","trak"]),Z=[];return X.forEach(function(ne){var me={},Re=el(ne,["tkhd"])[0],It,kt;Re&&(It=new DataView(Re.buffer,Re.byteOffset,Re.byteLength),kt=It.getUint8(0),me.id=kt===0?It.getUint32(12):It.getUint32(20));var Gt=el(ne,["mdia","hdlr"])[0];if(Gt){var tr=lp(Gt.subarray(8,12));tr==="vide"?me.type="video":tr==="soun"?me.type="audio":me.type=tr}var Xr=el(ne,["mdia","minf","stbl","stsd"])[0];if(Xr){var Bn=Xr.subarray(8);me.codec=lp(Bn.subarray(4,8));var Gi=el(Bn,[me.codec])[0],ri,Vs;Gi&&(/^[asm]vc[1-9]$/i.test(me.codec)?(ri=Gi.subarray(78),Vs=lp(ri.subarray(4,8)),Vs==="avcC"&&ri.length>11?(me.codec+=".",me.codec+=qp(ri[9]),me.codec+=qp(ri[10]),me.codec+=qp(ri[11])):me.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(me.codec)?(ri=Gi.subarray(28),Vs=lp(ri.subarray(4,8)),Vs==="esds"&&ri.length>20&&ri[19]!==0?(me.codec+="."+qp(ri[19]),me.codec+="."+qp(ri[20]>>>2&63).replace(/^0/,"")):me.codec="mp4a.40.2"):me.codec=me.codec.toLowerCase())}var Sa=el(ne,["mdia","mdhd"])[0];Sa&&(me.timescale=n1(Sa)),Z.push(me)}),Z},K1=function(L,X=0){var Z=el(L,["emsg"]);return Z.map(ne=>{var me=r1.parseEmsgBox(new Uint8Array(ne)),Re=Jy(me.message_data);return{cueTime:r1.scaleTime(me.presentation_time,me.timescale,me.presentation_time_delta,X),duration:r1.scaleTime(me.event_duration,me.timescale),frames:Re}})};var e0={findBox:el,parseType:lp,timescale:H1,startTime:W1,compositionStartTime:V1,videoTrackIds:G1,tracks:Y1,getTimescaleFromMediaHeader:n1,getEmsgID3:K1};const{parseTrun:Zy}=j1,{findBox:X1}=e0;var Q1=$1,qy=function(L){var X=X1(L,["moof","traf"]),Z=X1(L,["mdat"]),ne=[];return Z.forEach(function(me,Re){var It=X[Re];ne.push({mdat:me,traf:It})}),ne},e2=function(L,X,Z){var ne=X,me=Z.defaultSampleDuration||0,Re=Z.defaultSampleSize||0,It=Z.trackId,kt=[];return L.forEach(function(Gt){var tr=Zy(Gt),Xr=tr.samples;Xr.forEach(function(Bn){Bn.duration===void 0&&(Bn.duration=me),Bn.size===void 0&&(Bn.size=Re),Bn.trackId=It,Bn.dts=ne,Bn.compositionTimeOffset===void 0&&(Bn.compositionTimeOffset=0),typeof ne=="bigint"?(Bn.pts=ne+Q1.BigInt(Bn.compositionTimeOffset),ne+=Q1.BigInt(Bn.duration)):(Bn.pts=ne+Bn.compositionTimeOffset,ne+=Bn.duration)}),kt=kt.concat(Xr)}),kt},J1={getMdatTrafPairs:qy,parseSamples:e2},t2=v1.discardEmulationPreventionBytes,r2=y1.CaptionStream,s1=gm,n2=qg,i2=e1,{getMdatTrafPairs:s2,parseSamples:a2}=J1,o2=function(L,X){for(var Z=L,ne=0;ne<X.length;ne++){var me=X[ne];if(Z<me.size)return me;Z-=me.size}return null},u2=function(L,X,Z){var ne=new DataView(L.buffer,L.byteOffset,L.byteLength),me={logs:[],seiNals:[]},Re,It,kt,Gt;for(It=0;It+4<L.length;It+=kt)if(kt=ne.getUint32(It),It+=4,!(kt<=0))switch(L[It]&31){case 6:var tr=L.subarray(It+1,It+1+kt),Xr=o2(It,X);if(Re={nalUnitType:"sei_rbsp",size:kt,data:tr,escapedRBSP:t2(tr),trackId:Z},Xr)Re.pts=Xr.pts,Re.dts=Xr.dts,Gt=Xr;else if(Gt)Re.pts=Gt.pts,Re.dts=Gt.dts;else{me.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+It+" for trackId "+Z+". See mux.js#223."});break}me.seiNals.push(Re);break}return me},l2=function(L,X){var Z={},ne=s2(L);return ne.forEach(function(me){var Re=me.mdat,It=me.traf,kt=s1(It,["tfhd"]),Gt=i2(kt[0]),tr=Gt.trackId,Xr=s1(It,["tfdt"]),Bn=Xr.length>0?n2(Xr[0]).baseMediaDecodeTime:0,Gi=s1(It,["trun"]),ri,Vs;X===tr&&Gi.length>0&&(ri=a2(Gi,Bn,Gt),Vs=u2(Re,ri,tr),Z[tr]||(Z[tr]={seiNals:[],logs:[]}),Z[tr].seiNals=Z[tr].seiNals.concat(Vs.seiNals),Z[tr].logs=Z[tr].logs.concat(Vs.logs))}),Z},c2=function(L,X,Z){var ne;if(X===null)return null;ne=l2(L,X);var me=ne[X]||{};return{seiNals:me.seiNals,logs:me.logs,timescale:Z}},d2=function(){var L=!1,X,Z,ne,me,Re,It;this.isInitialized=function(){return L},this.init=function(kt){X=new r2,L=!0,It=kt?kt.isPartial:!1,X.on("data",function(Gt){Gt.startTime=Gt.startPts/me,Gt.endTime=Gt.endPts/me,Re.captions.push(Gt),Re.captionStreams[Gt.stream]=!0}),X.on("log",function(Gt){Re.logs.push(Gt)})},this.isNewInit=function(kt,Gt){return kt&&kt.length===0||Gt&&typeof Gt=="object"&&Object.keys(Gt).length===0?!1:ne!==kt[0]||me!==Gt[ne]},this.parse=function(kt,Gt,tr){var Xr;if(this.isInitialized()){if(!Gt||!tr)return null;if(this.isNewInit(Gt,tr))ne=Gt[0],me=tr[ne];else if(ne===null||!me)return Z.push(kt),null}else return null;for(;Z.length>0;){var Bn=Z.shift();this.parse(Bn,Gt,tr)}return Xr=c2(kt,ne,me),Xr&&Xr.logs&&(Re.logs=Re.logs.concat(Xr.logs)),Xr===null||!Xr.seiNals?Re.logs.length?{logs:Re.logs,captions:[],captionStreams:[]}:null:(this.pushNals(Xr.seiNals),this.flushStream(),Re)},this.pushNals=function(kt){if(!this.isInitialized()||!kt||kt.length===0)return null;kt.forEach(function(Gt){X.push(Gt)})},this.flushStream=function(){if(!this.isInitialized())return null;It?X.partialFlush():X.flush()},this.clearParsedCaptions=function(){Re.captions=[],Re.captionStreams={},Re.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;X.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){Z=[],ne=null,me=null,Re?this.clearParsedCaptions():Re={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},f2=d2;const{parseTfdt:h2}=j1,rh=gm,{getTimescaleFromMediaHeader:p2}=e0,{parseSamples:m2,getMdatTrafPairs:g2}=J1;var Z1=function(){let L=9e4;this.init=function(X){const Z=rh(X,["moov","trak","mdia","mdhd"])[0];Z&&(L=p2(Z))},this.parseSegment=function(X){const Z=[],ne=g2(X);let me=0;return ne.forEach(function(Re){const It=Re.mdat,kt=Re.traf,Gt=rh(kt,["tfdt"])[0],tr=rh(kt,["tfhd"])[0],Xr=rh(kt,["trun"]);if(Gt&&(me=h2(Gt).baseMediaDecodeTime),Xr.length&&tr){const Bn=m2(Xr,me,tr);let Gi=0;Bn.forEach(function(ri){const Vs="utf-8",Sa=new TextDecoder(Vs),Pl=It.slice(Gi,Gi+ri.size);if(rh(Pl,["vtte"])[0]){Gi+=ri.size;return}rh(Pl,["vttc"]).forEach(function(t0){const r0=rh(t0,["payl"])[0],n0=rh(t0,["sttg"])[0],i0=ri.pts/L,xm=(ri.pts+ri.duration)/L;let fu,s0;if(r0)try{fu=Sa.decode(r0)}catch(Zd){console.error(Zd)}if(n0)try{s0=Sa.decode(n0)}catch(Zd){console.error(Zd)}ri.duration&&fu&&Z.push({cueText:fu,start:i0,end:xm,settings:s0})}),Gi+=ri.size})}}),Z}},a1=rm,q1=function(L){var X=L[1]&31;return X<<=8,X|=L[2],X},bm=function(L){return!!(L[1]&64)},Sm=function(L){var X=0;return(L[3]&48)>>>4>1&&(X+=L[4]+1),X},v2=function(L,X){var Z=q1(L);return Z===0?"pat":Z===X?"pmt":X?"pes":null},y2=function(L){var X=bm(L),Z=4+Sm(L);return X&&(Z+=L[Z]+1),(L[Z+10]&31)<<8|L[Z+11]},b2=function(L){var X={},Z=bm(L),ne=4+Sm(L);if(Z&&(ne+=L[ne]+1),!!(L[ne+5]&1)){var me,Re,It;me=(L[ne+1]&15)<<8|L[ne+2],Re=3+me-4,It=(L[ne+10]&15)<<8|L[ne+11];for(var kt=12+It;kt<Re;){var Gt=ne+kt;X[(L[Gt+1]&31)<<8|L[Gt+2]]=L[Gt],kt+=((L[Gt+3]&15)<<8|L[Gt+4])+5}return X}},S2=function(L,X){var Z=q1(L),ne=X[Z];switch(ne){case a1.H264_STREAM_TYPE:return"video";case a1.ADTS_STREAM_TYPE:return"audio";case a1.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},x2=function(L){var X=bm(L);if(!X)return null;var Z=4+Sm(L);if(Z>=L.byteLength)return null;var ne=null,me;return me=L[Z+7],me&192&&(ne={},ne.pts=(L[Z+9]&14)<<27|(L[Z+10]&255)<<20|(L[Z+11]&254)<<12|(L[Z+12]&255)<<5|(L[Z+13]&254)>>>3,ne.pts*=4,ne.pts+=(L[Z+13]&6)>>>1,ne.dts=ne.pts,me&64&&(ne.dts=(L[Z+14]&14)<<27|(L[Z+15]&255)<<20|(L[Z+16]&254)<<12|(L[Z+17]&255)<<5|(L[Z+18]&254)>>>3,ne.dts*=4,ne.dts+=(L[Z+18]&6)>>>1)),ne},o1=function(L){switch(L){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},E2=function(L){for(var X=4+Sm(L),Z=L.subarray(X),ne=0,me=0,Re=!1,It;me<Z.byteLength-3;me++)if(Z[me+2]===1){ne=me+5;break}for(;ne<Z.byteLength;)switch(Z[ne]){case 0:if(Z[ne-1]!==0){ne+=2;break}else if(Z[ne-2]!==0){ne++;break}me+3!==ne-2&&(It=o1(Z[me+3]&31),It==="slice_layer_without_partitioning_rbsp_idr"&&(Re=!0));do ne++;while(Z[ne]!==1&&ne<Z.length);me=ne-2,ne+=3;break;case 1:if(Z[ne-1]!==0||Z[ne-2]!==0){ne+=3;break}It=o1(Z[me+3]&31),It==="slice_layer_without_partitioning_rbsp_idr"&&(Re=!0),me=ne-2,ne+=3;break;default:ne+=3;break}return Z=Z.subarray(me),ne-=me,me=0,Z&&Z.byteLength>3&&(It=o1(Z[me+3]&31),It==="slice_layer_without_partitioning_rbsp_idr"&&(Re=!0)),Re},T2={parseType:v2,parsePat:y2,parsePmt:b2,parsePayloadUnitStartIndicator:bm,parsePesType:S2,parsePesTime:x2,videoPacketContainsKeyFrame:E2},ev=rm,cp=S1.handleRollover,Fo={};Fo.ts=T2,Fo.aac=Kg;var Lh=du.ONE_SECOND_IN_TS,Pc=188,mf=71,w2=function(L,X){for(var Z=0,ne=Pc,me,Re;ne<L.byteLength;){if(L[Z]===mf&&L[ne]===mf){switch(me=L.subarray(Z,ne),Re=Fo.ts.parseType(me,X.pid),Re){case"pat":X.pid=Fo.ts.parsePat(me);break;case"pmt":var It=Fo.ts.parsePmt(me);X.table=X.table||{},Object.keys(It).forEach(function(kt){X.table[kt]=It[kt]});break}Z+=Pc,ne+=Pc;continue}Z++,ne++}},tv=function(L,X,Z){for(var ne=0,me=Pc,Re,It,kt,Gt,tr,Xr=!1;me<=L.byteLength;){if(L[ne]===mf&&(L[me]===mf||me===L.byteLength)){if(Re=L.subarray(ne,me),It=Fo.ts.parseType(Re,X.pid),It==="pes"&&(kt=Fo.ts.parsePesType(Re,X.table),Gt=Fo.ts.parsePayloadUnitStartIndicator(Re),kt==="audio"&&Gt&&(tr=Fo.ts.parsePesTime(Re),tr&&(tr.type="audio",Z.audio.push(tr),Xr=!0))),Xr)break;ne+=Pc,me+=Pc;continue}ne++,me++}for(me=L.byteLength,ne=me-Pc,Xr=!1;ne>=0;){if(L[ne]===mf&&(L[me]===mf||me===L.byteLength)){if(Re=L.subarray(ne,me),It=Fo.ts.parseType(Re,X.pid),It==="pes"&&(kt=Fo.ts.parsePesType(Re,X.table),Gt=Fo.ts.parsePayloadUnitStartIndicator(Re),kt==="audio"&&Gt&&(tr=Fo.ts.parsePesTime(Re),tr&&(tr.type="audio",Z.audio.push(tr),Xr=!0))),Xr)break;ne-=Pc,me-=Pc;continue}ne--,me--}},_2=function(L,X,Z){for(var ne=0,me=Pc,Re,It,kt,Gt,tr,Xr,Bn,Gi,ri=!1,Vs={data:[],size:0};me<L.byteLength;){if(L[ne]===mf&&L[me]===mf){switch(Re=L.subarray(ne,me),It=Fo.ts.parseType(Re,X.pid),It){case"pes":if(kt=Fo.ts.parsePesType(Re,X.table),Gt=Fo.ts.parsePayloadUnitStartIndicator(Re),kt==="video"&&(Gt&&!ri&&(tr=Fo.ts.parsePesTime(Re),tr&&(tr.type="video",Z.video.push(tr),ri=!0)),!Z.firstKeyFrame)){if(Gt&&Vs.size!==0){for(Xr=new Uint8Array(Vs.size),Bn=0;Vs.data.length;)Gi=Vs.data.shift(),Xr.set(Gi,Bn),Bn+=Gi.byteLength;if(Fo.ts.videoPacketContainsKeyFrame(Xr)){var Sa=Fo.ts.parsePesTime(Xr);Sa?(Z.firstKeyFrame=Sa,Z.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}Vs.size=0}Vs.data.push(Re),Vs.size+=Re.byteLength}break}if(ri&&Z.firstKeyFrame)break;ne+=Pc,me+=Pc;continue}ne++,me++}for(me=L.byteLength,ne=me-Pc,ri=!1;ne>=0;){if(L[ne]===mf&&L[me]===mf){if(Re=L.subarray(ne,me),It=Fo.ts.parseType(Re,X.pid),It==="pes"&&(kt=Fo.ts.parsePesType(Re,X.table),Gt=Fo.ts.parsePayloadUnitStartIndicator(Re),kt==="video"&&Gt&&(tr=Fo.ts.parsePesTime(Re),tr&&(tr.type="video",Z.video.push(tr),ri=!0))),ri)break;ne-=Pc,me-=Pc;continue}ne--,me--}},C2=function(L,X){if(L.audio&&L.audio.length){var Z=X;(typeof Z>"u"||isNaN(Z))&&(Z=L.audio[0].dts),L.audio.forEach(function(Re){Re.dts=cp(Re.dts,Z),Re.pts=cp(Re.pts,Z),Re.dtsTime=Re.dts/Lh,Re.ptsTime=Re.pts/Lh})}if(L.video&&L.video.length){var ne=X;if((typeof ne>"u"||isNaN(ne))&&(ne=L.video[0].dts),L.video.forEach(function(Re){Re.dts=cp(Re.dts,ne),Re.pts=cp(Re.pts,ne),Re.dtsTime=Re.dts/Lh,Re.ptsTime=Re.pts/Lh}),L.firstKeyFrame){var me=L.firstKeyFrame;me.dts=cp(me.dts,ne),me.pts=cp(me.pts,ne),me.dtsTime=me.dts/Lh,me.ptsTime=me.pts/Lh}}},A2=function(L){for(var X=!1,Z=0,ne=null,me=null,Re=0,It=0,kt;L.length-It>=3;){var Gt=Fo.aac.parseType(L,It);switch(Gt){case"timed-metadata":if(L.length-It<10){X=!0;break}if(Re=Fo.aac.parseId3TagSize(L,It),Re>L.length){X=!0;break}me===null&&(kt=L.subarray(It,It+Re),me=Fo.aac.parseAacTimestamp(kt)),It+=Re;break;case"audio":if(L.length-It<7){X=!0;break}if(Re=Fo.aac.parseAdtsSize(L,It),Re>L.length){X=!0;break}ne===null&&(kt=L.subarray(It,It+Re),ne=Fo.aac.parseSampleRate(kt)),Z++,It+=Re;break;default:It++;break}if(X)return null}if(ne===null||me===null)return null;var tr=Lh/ne,Xr={audio:[{type:"audio",dts:me,pts:me},{type:"audio",dts:me+Z*1024*tr,pts:me+Z*1024*tr}]};return Xr},O2=function(L){var X={pid:null,table:null},Z={};w2(L,X);for(var ne in X.table)if(X.table.hasOwnProperty(ne)){var me=X.table[ne];switch(me){case ev.H264_STREAM_TYPE:Z.video=[],_2(L,X,Z),Z.video.length===0&&delete Z.video;break;case ev.ADTS_STREAM_TYPE:Z.audio=[],tv(L,X,Z),Z.audio.length===0&&delete Z.audio;break}}return Z},I2=function(L,X){var Z=Fo.aac.isLikelyAacData(L),ne;return Z?ne=A2(L):ne=O2(L),!ne||!ne.audio&&!ne.video?null:(C2(ne,X),ne)},P2={inspect:I2,parseAudioPes_:tv};const R2=function(L,X){X.on("data",function(Z){const ne=Z.initSegment;Z.initSegment={data:ne.buffer,byteOffset:ne.byteOffset,byteLength:ne.byteLength};const me=Z.data;Z.data=me.buffer,L.postMessage({action:"data",segment:Z,byteOffset:me.byteOffset,byteLength:me.byteLength},[Z.data])}),X.on("done",function(Z){L.postMessage({action:"done"})}),X.on("gopInfo",function(Z){L.postMessage({action:"gopInfo",gopInfo:Z})}),X.on("videoSegmentTimingInfo",function(Z){const ne={start:{decode:du.videoTsToSeconds(Z.start.dts),presentation:du.videoTsToSeconds(Z.start.pts)},end:{decode:du.videoTsToSeconds(Z.end.dts),presentation:du.videoTsToSeconds(Z.end.pts)},baseMediaDecodeTime:du.videoTsToSeconds(Z.baseMediaDecodeTime)};Z.prependedContentDuration&&(ne.prependedContentDuration=du.videoTsToSeconds(Z.prependedContentDuration)),L.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:ne})}),X.on("audioSegmentTimingInfo",function(Z){const ne={start:{decode:du.videoTsToSeconds(Z.start.dts),presentation:du.videoTsToSeconds(Z.start.pts)},end:{decode:du.videoTsToSeconds(Z.end.dts),presentation:du.videoTsToSeconds(Z.end.pts)},baseMediaDecodeTime:du.videoTsToSeconds(Z.baseMediaDecodeTime)};Z.prependedContentDuration&&(ne.prependedContentDuration=du.videoTsToSeconds(Z.prependedContentDuration)),L.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:ne})}),X.on("id3Frame",function(Z){L.postMessage({action:"id3Frame",id3Frame:Z})}),X.on("caption",function(Z){L.postMessage({action:"caption",caption:Z})}),X.on("trackinfo",function(Z){L.postMessage({action:"trackinfo",trackInfo:Z})}),X.on("audioTimingInfo",function(Z){L.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:du.videoTsToSeconds(Z.start),end:du.videoTsToSeconds(Z.end)}})}),X.on("videoTimingInfo",function(Z){L.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:du.videoTsToSeconds(Z.start),end:du.videoTsToSeconds(Z.end)}})}),X.on("log",function(Z){L.postMessage({action:"log",log:Z})})};class rv{constructor(X,Z){this.options=Z||{},this.self=X,this.init()}init(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Ey.Transmuxer(this.options),R2(this.self,this.transmuxer)}pushMp4Captions(X){this.captionParser||(this.captionParser=new f2,this.captionParser.init());const Z=new Uint8Array(X.data,X.byteOffset,X.byteLength),ne=this.captionParser.parse(Z,X.trackIds,X.timescales);this.self.postMessage({action:"mp4Captions",captions:ne&&ne.captions||[],logs:ne&&ne.logs||[],data:Z.buffer},[Z.buffer])}initMp4WebVttParser(X){this.webVttParser||(this.webVttParser=new Z1);const Z=new Uint8Array(X.data,X.byteOffset,X.byteLength);this.webVttParser.init(Z)}getMp4WebVttText(X){this.webVttParser||(this.webVttParser=new Z1);const Z=new Uint8Array(X.data,X.byteOffset,X.byteLength),ne=this.webVttParser.parseSegment(Z);this.self.postMessage({action:"getMp4WebVttText",mp4VttCues:ne||[],data:Z.buffer},[Z.buffer])}probeMp4StartTime({timescales:X,data:Z}){const ne=e0.startTime(X,Z);this.self.postMessage({action:"probeMp4StartTime",startTime:ne,data:Z},[Z.buffer])}probeMp4Tracks({data:X}){const Z=e0.tracks(X);this.self.postMessage({action:"probeMp4Tracks",tracks:Z,data:X},[X.buffer])}probeEmsgID3({data:X,offset:Z}){const ne=e0.getEmsgID3(X,Z);this.self.postMessage({action:"probeEmsgID3",id3Frames:ne,emsgData:X},[X.buffer])}probeTs({data:X,baseStartTime:Z}){const ne=typeof Z=="number"&&!isNaN(Z)?Z*du.ONE_SECOND_IN_TS:void 0,me=P2.inspect(X,ne);let Re=null;me&&(Re={hasVideo:me.video&&me.video.length===2||!1,hasAudio:me.audio&&me.audio.length===2||!1},Re.hasVideo&&(Re.videoStart=me.video[0].ptsTime),Re.hasAudio&&(Re.audioStart=me.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:Re,data:X},[X.buffer])}clearAllMp4Captions(){this.captionParser&&this.captionParser.clearAllCaptions()}clearParsedMp4Captions(){this.captionParser&&this.captionParser.clearParsedCaptions()}push(X){const Z=new Uint8Array(X.data,X.byteOffset,X.byteLength);this.transmuxer.push(Z)}reset(){this.transmuxer.reset()}setTimestampOffset(X){const Z=X.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(du.secondsToVideoTs(Z)))}setAudioAppendStart(X){this.transmuxer.setAudioAppendStart(Math.ceil(du.secondsToVideoTs(X.appendStart)))}setRemux(X){this.transmuxer.setRemux(X.remux)}flush(X){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})}endTimeline(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})}alignGopsWith(X){this.transmuxer.alignGopsWith(X.gopsToAlignWith.slice())}}self.onmessage=function(L){if(L.data.action==="init"&&L.data.options){this.messageHandlers=new rv(self,L.data.options);return}this.messageHandlers||(this.messageHandlers=new rv(self)),L.data&&L.data.action&&L.data.action!=="init"&&this.messageHandlers[L.data.action]&&this.messageHandlers[L.data.action](L.data)}}));var _m=d0(wm);const Cm=(p,t,o)=>{const{type:c,initSegment:y,captions:_,captionStreams:P,metadata:H,videoFrameDtsTime:ue,videoFramePtsTime:Te}=p.data.segment;t.buffer.push({captions:_,captionStreams:P,metadata:H});const Ye=p.data.segment.boxes||{data:p.data.segment.data},xt={type:c,data:new Uint8Array(Ye.data,Ye.data.byteOffset,Ye.data.byteLength),initSegment:new Uint8Array(y.data,y.byteOffset,y.byteLength)};typeof ue<"u"&&(xt.videoFrameDtsTime=ue),typeof Te<"u"&&(xt.videoFramePtsTime=Te),o(xt)},p0=({transmuxedData:p,callback:t})=>{p.buffer=[],t(p)},Ch=(p,t)=>{t.gopInfo=p.data.gopInfo},qh=p=>{const{transmuxer:t,bytes:o,audioAppendStart:c,gopsToAlignWith:y,remux:_,onData:P,onTrackInfo:H,onAudioTimingInfo:ue,onVideoTimingInfo:Te,onVideoSegmentTimingInfo:Ye,onAudioSegmentTimingInfo:xt,onId3:or,onCaptions:Ir,onDone:Qr,onEndedTimeline:Rt,onTransmuxerLog:kn,isEndOfTimeline:Dn,segment:Tn,triggerSegmentEventFn:rn}=p,zn={buffer:[]};let Nn=Dn;const yi=bi=>{t.currentTransmux===p&&(bi.data.action==="data"&&Cm(bi,zn,P),bi.data.action==="trackinfo"&&H(bi.data.trackInfo),bi.data.action==="gopInfo"&&Ch(bi,zn),bi.data.action==="audioTimingInfo"&&ue(bi.data.audioTimingInfo),bi.data.action==="videoTimingInfo"&&Te(bi.data.videoTimingInfo),bi.data.action==="videoSegmentTimingInfo"&&Ye(bi.data.videoSegmentTimingInfo),bi.data.action==="audioSegmentTimingInfo"&&xt(bi.data.audioSegmentTimingInfo),bi.data.action==="id3Frame"&&or([bi.data.id3Frame],bi.data.id3Frame.dispatchType),bi.data.action==="caption"&&Ir(bi.data.caption),bi.data.action==="endedtimeline"&&(Nn=!1,Rt()),bi.data.action==="log"&&kn(bi.data.log),bi.data.type==="transmuxed"&&(Nn||(t.onmessage=null,p0({transmuxedData:zn,callback:Qr}),m0(t))))},Gn=()=>{const bi={message:"Received an error message from the transmuxer worker",metadata:{errorType:nn.Error.StreamingFailedToTransmuxSegment,segmentInfo:Pf({segment:Tn})}};Qr(null,bi)};if(t.onmessage=yi,t.onerror=Gn,c&&t.postMessage({action:"setAudioAppendStart",appendStart:c}),Array.isArray(y)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:y}),typeof _<"u"&&t.postMessage({action:"setRemux",remux:_}),o.byteLength){const bi=o instanceof ArrayBuffer?o:o.buffer,na=o instanceof ArrayBuffer?0:o.byteOffset;rn({type:"segmenttransmuxingstart",segment:Tn}),t.postMessage({action:"push",data:bi,byteOffset:na,byteLength:o.byteLength},[bi])}Dn&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},m0=p=>{p.currentTransmux=null,p.transmuxQueue.length&&(p.currentTransmux=p.transmuxQueue.shift(),typeof p.currentTransmux=="function"?p.currentTransmux():qh(p.currentTransmux))},Tp=(p,t)=>{p.postMessage({action:t}),m0(p)},Ah=(p,t)=>{if(!t.currentTransmux){t.currentTransmux=p,Tp(t,p);return}t.transmuxQueue.push(Tp.bind(null,t,p))},Ac=p=>{Ah("reset",p)},Gf=p=>{Ah("endTimeline",p)},g0=p=>{if(!p.transmuxer.currentTransmux){p.transmuxer.currentTransmux=p,qh(p);return}p.transmuxer.transmuxQueue.push(p)};var wp={reset:Ac,endTimeline:Gf,transmux:g0,createTransmuxer:p=>{const t=new _m;t.currentTransmux=null,t.transmuxQueue=[];const o=t.terminate;return t.terminate=()=>(t.currentTransmux=null,t.transmuxQueue.length=0,o.call(t)),t.postMessage({action:"init",options:p}),t}};const Yf=function(p){const t=p.transmuxer,o=p.endAction||p.action,c=p.callback,y=V({},p,{endAction:null,transmuxer:null,callback:null}),_=P=>{P.data.action===o&&(t.removeEventListener("message",_),P.data.data&&(P.data.data=new Uint8Array(P.data.data,p.byteOffset||0,p.byteLength||P.data.data.byteLength),p.data&&(p.data=P.data.data)),c(P.data))};if(t.addEventListener("message",_),p.data){const P=p.data instanceof ArrayBuffer;y.byteOffset=P?0:p.data.byteOffset,y.byteLength=p.data.byteLength;const H=[P?p.data:p.data.buffer];t.postMessage(y,H)}else t.postMessage(y)},Cd={FAILURE:2,TIMEOUT:-101,ABORTED:-102},_p="wvtt",fd=p=>{p.forEach(t=>{t.abort()})},Pa=p=>({bandwidth:p.bandwidth,bytesReceived:p.bytesReceived||0,roundTripTime:p.roundTripTime||0}),v0=p=>{const t=p.target,c={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return c.bytesReceived=p.loaded,c.bandwidth=Math.floor(c.bytesReceived/c.roundTripTime*8*1e3),c},cc=(p,t)=>{const{requestType:o}=t,c=Vd({requestType:o,request:t,error:p});return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:Cd.TIMEOUT,xhr:t,metadata:c}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:Cd.ABORTED,xhr:t,metadata:c}:p?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Cd.FAILURE,xhr:t,metadata:c}:t.responseType==="arraybuffer"&&t.response.byteLength===0?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:Cd.FAILURE,xhr:t,metadata:c}:null},Cp=(p,t,o,c)=>(y,_)=>{const P=_.response,H=cc(y,_);if(H)return o(H,p);if(P.byteLength!==16)return o({status:_.status,message:"Invalid HLS key at URL: "+_.uri,code:Cd.FAILURE,xhr:_},p);const ue=new DataView(P),Te=new Uint32Array([ue.getUint32(0),ue.getUint32(4),ue.getUint32(8),ue.getUint32(12)]);for(let xt=0;xt<t.length;xt++)t[xt].bytes=Te;const Ye={uri:_.uri};return c({type:"segmentkeyloadcomplete",segment:p,keyInfo:Ye}),o(null,p)},Am=(p,t)=>{t===_p&&p.transmuxer.postMessage({action:"initMp4WebVttParser",data:p.map.bytes})},So=(p,t,o)=>{t===_p&&Yf({action:"getMp4WebVttText",data:p.bytes,transmuxer:p.transmuxer,callback:({data:c,mp4VttCues:y})=>{p.bytes=c,o(null,p,{mp4VttCues:y})}})},y0=(p,t)=>{const o=mr(p.map.bytes);if(o!=="mp4"){const c=p.map.resolvedUri||p.map.uri,y=o||"unknown";return t({internal:!0,message:`Found unsupported ${y} container for initialization segment at URL: ${c}`,code:Cd.FAILURE,metadata:{mediaType:y}})}Yf({action:"probeMp4Tracks",data:p.map.bytes,transmuxer:p.transmuxer,callback:({tracks:c,data:y})=>(p.map.bytes=y,c.forEach(function(_){p.map.tracks=p.map.tracks||{},!p.map.tracks[_.type]&&(p.map.tracks[_.type]=_,typeof _.id=="number"&&_.timescale&&(p.map.timescales=p.map.timescales||{},p.map.timescales[_.id]=_.timescale),_.type==="text"&&Am(p,_.codec))}),t(null))})},b0=({segment:p,finishProcessingFn:t,triggerSegmentEventFn:o})=>(c,y)=>{const _=cc(c,y);if(_)return t(_,p);const P=new Uint8Array(y.response);if(o({type:"segmentloaded",segment:p}),p.map.key)return p.map.encryptedBytes=P,t(null,p);p.map.bytes=P,y0(p,function(H){if(H)return H.xhr=y,H.status=y.status,t(H,p);t(null,p)})},ep=({segment:p,finishProcessingFn:t,responseType:o,triggerSegmentEventFn:c})=>(y,_)=>{const P=cc(y,_);if(P)return t(P,p);c({type:"segmentloaded",segment:p});const H=o==="arraybuffer"||!_.responseText?_.response:uu(_.responseText.substring(p.lastReachedChar||0));return p.stats=Pa(_),p.key?p.encryptedBytes=new Uint8Array(H):p.bytes=new Uint8Array(H),t(null,p)},Om=({segment:p,bytes:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:_,id3Fn:P,captionsFn:H,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ye,doneFn:xt,onTransmuxerLog:or,triggerSegmentEventFn:Ir})=>{const Qr=p.map&&p.map.tracks||{},Rt=!!(Qr.audio&&Qr.video);let kn=c.bind(null,p,"audio","start");const Dn=c.bind(null,p,"audio","end");let Tn=c.bind(null,p,"video","start");const rn=c.bind(null,p,"video","end"),zn=()=>g0({bytes:t,transmuxer:p.transmuxer,audioAppendStart:p.audioAppendStart,gopsToAlignWith:p.gopsToAlignWith,remux:Rt,onData:Nn=>{Nn.type=Nn.type==="combined"?"video":Nn.type,Ye(p,Nn)},onTrackInfo:Nn=>{o&&(Rt&&(Nn.isMuxed=!0),o(p,Nn))},onAudioTimingInfo:Nn=>{kn&&typeof Nn.start<"u"&&(kn(Nn.start),kn=null),Dn&&typeof Nn.end<"u"&&Dn(Nn.end)},onVideoTimingInfo:Nn=>{Tn&&typeof Nn.start<"u"&&(Tn(Nn.start),Tn=null),rn&&typeof Nn.end<"u"&&rn(Nn.end)},onVideoSegmentTimingInfo:Nn=>{const yi={pts:{start:Nn.start.presentation,end:Nn.end.presentation},dts:{start:Nn.start.decode,end:Nn.end.decode}};Ir({type:"segmenttransmuxingtiminginfoavailable",segment:p,timingInfo:yi}),y(Nn)},onAudioSegmentTimingInfo:Nn=>{const yi={pts:{start:Nn.start.pts,end:Nn.end.pts},dts:{start:Nn.start.dts,end:Nn.end.dts}};Ir({type:"segmenttransmuxingtiminginfoavailable",segment:p,timingInfo:yi}),_(Nn)},onId3:(Nn,yi)=>{P(p,Nn,yi)},onCaptions:Nn=>{H(p,[Nn])},isEndOfTimeline:ue,onEndedTimeline:()=>{Te()},onTransmuxerLog:or,onDone:(Nn,yi)=>{xt&&(Nn.type=Nn.type==="combined"?"video":Nn.type,Ir({type:"segmenttransmuxingcomplete",segment:p}),xt(yi,p,Nn))},segment:p,triggerSegmentEventFn:Ir});Yf({action:"probeTs",transmuxer:p.transmuxer,data:t,baseStartTime:p.baseStartTime,callback:Nn=>{p.bytes=t=Nn.data;const yi=Nn.result;yi&&(o(p,{hasAudio:yi.hasAudio,hasVideo:yi.hasVideo,isMuxed:Rt}),o=null),zn()}})},S0=({segment:p,bytes:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:_,id3Fn:P,captionsFn:H,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ye,doneFn:xt,onTransmuxerLog:or,triggerSegmentEventFn:Ir})=>{let Qr=new Uint8Array(t);if(zt(Qr)){p.isFmp4=!0;const{tracks:Rt}=p.map;if(Rt.text&&(!Rt.audio||!Rt.video)){Ye(p,{data:Qr,type:"text"}),So(p,Rt.text.codec,xt);return}const Dn={isFmp4:!0,hasVideo:!!Rt.video,hasAudio:!!Rt.audio};Rt.audio&&Rt.audio.codec&&Rt.audio.codec!=="enca"&&(Dn.audioCodec=Rt.audio.codec),Rt.video&&Rt.video.codec&&Rt.video.codec!=="encv"&&(Dn.videoCodec=Rt.video.codec),Rt.video&&Rt.audio&&(Dn.isMuxed=!0),o(p,Dn);const Tn=(rn,zn)=>{Ye(p,{data:Qr,type:Dn.hasAudio&&!Dn.isMuxed?"audio":"video"}),zn&&zn.length&&P(p,zn),rn&&rn.length&&H(p,rn),xt(null,p,{})};Yf({action:"probeMp4StartTime",timescales:p.map.timescales,data:Qr,transmuxer:p.transmuxer,callback:({data:rn,startTime:zn})=>{t=rn.buffer,p.bytes=Qr=rn,Dn.hasAudio&&!Dn.isMuxed&&c(p,"audio","start",zn),Dn.hasVideo&&c(p,"video","start",zn),Yf({action:"probeEmsgID3",data:Qr,transmuxer:p.transmuxer,offset:zn,callback:({emsgData:Nn,id3Frames:yi})=>{if(t=Nn.buffer,p.bytes=Qr=Nn,!Rt.video||!Nn.byteLength||!p.transmuxer){Tn(void 0,yi);return}Yf({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:p.transmuxer,data:Qr,timescales:p.map.timescales,trackIds:[Rt.video.id],callback:Gn=>{t=Gn.data.buffer,p.bytes=Qr=Gn.data,Gn.logs.forEach(function(bi){or(ja(bi,{stream:"mp4CaptionParser"}))}),Tn(Gn.captions,yi)}})}})}});return}if(!p.transmuxer){xt(null,p,{});return}if(typeof p.container>"u"&&(p.container=mr(Qr)),p.container!=="ts"&&p.container!=="aac"){o(p,{hasAudio:!1,hasVideo:!1}),xt(null,p,{});return}Om({segment:p,bytes:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:_,id3Fn:P,captionsFn:H,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ye,doneFn:xt,onTransmuxerLog:or,triggerSegmentEventFn:Ir})},x0=function({id:p,key:t,encryptedBytes:o,decryptionWorker:c,segment:y,doneFn:_},P){const H=Te=>{if(Te.data.source===p){c.removeEventListener("message",H);const Ye=Te.data.decrypted;P(new Uint8Array(Ye.bytes,Ye.byteOffset,Ye.byteLength))}};c.onerror=()=>{const Te="An error occurred in the decryption worker",Ye=Pf({segment:y}),xt={message:Te,metadata:{error:new Error(Te),errorType:nn.Error.StreamingFailedToDecryptSegment,segmentInfo:Ye,keyInfo:{uri:y.key.resolvedUri||y.map.key.resolvedUri}}};_(xt,y)},c.addEventListener("message",H);let ue;t.bytes.slice?ue=t.bytes.slice():ue=new Uint32Array(Array.prototype.slice.call(t.bytes)),c.postMessage(Wf({source:p,encrypted:o,key:ue,iv:t.iv}),[o.buffer,ue.buffer])},Im=({decryptionWorker:p,segment:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:_,id3Fn:P,captionsFn:H,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ye,doneFn:xt,onTransmuxerLog:or,triggerSegmentEventFn:Ir})=>{Ir({type:"segmentdecryptionstart"}),x0({id:t.requestId,key:t.key,encryptedBytes:t.encryptedBytes,decryptionWorker:p,segment:t,doneFn:xt},Qr=>{t.bytes=Qr,Ir({type:"segmentdecryptioncomplete",segment:t}),S0({segment:t,bytes:t.bytes,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:_,id3Fn:P,captionsFn:H,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ye,doneFn:xt,onTransmuxerLog:or,triggerSegmentEventFn:Ir})})},Pm=({activeXhrs:p,decryptionWorker:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:_,id3Fn:P,captionsFn:H,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ye,doneFn:xt,onTransmuxerLog:or,triggerSegmentEventFn:Ir})=>{let Qr=0,Rt=!1;return(kn,Dn)=>{if(!Rt){if(kn)return Rt=!0,fd(p),xt(kn,Dn);if(Qr+=1,Qr===p.length){const Tn=function(){if(Dn.encryptedBytes)return Im({decryptionWorker:t,segment:Dn,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:_,id3Fn:P,captionsFn:H,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ye,doneFn:xt,onTransmuxerLog:or,triggerSegmentEventFn:Ir});S0({segment:Dn,bytes:Dn.bytes,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:_,id3Fn:P,captionsFn:H,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ye,doneFn:xt,onTransmuxerLog:or,triggerSegmentEventFn:Ir})};if(Dn.endOfAllRequests=Date.now(),Dn.map&&Dn.map.encryptedBytes&&!Dn.map.bytes)return Ir({type:"segmentdecryptionstart",segment:Dn}),x0({decryptionWorker:t,id:Dn.requestId+"-init",encryptedBytes:Dn.map.encryptedBytes,key:Dn.map.key,segment:Dn,doneFn:xt},rn=>{Dn.map.bytes=rn,Ir({type:"segmentdecryptioncomplete",segment:Dn}),y0(Dn,zn=>{if(zn)return fd(p),xt(zn,Dn);Tn()})});Tn()}}}},Rm=({loadendState:p,abortFn:t})=>o=>{o.target.aborted&&t&&!p.calledAbortFn&&(t(),p.calledAbortFn=!0)},Dm=({segment:p,progressFn:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:_,id3Fn:P,captionsFn:H,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:Ye})=>xt=>{if(!xt.target.aborted)return p.stats=ja(p.stats,v0(xt)),!p.stats.firstBytesReceivedAt&&p.stats.bytesReceived&&(p.stats.firstBytesReceivedAt=Date.now()),t(xt,p)},Lm=({xhr:p,xhrOptions:t,decryptionWorker:o,segment:c,abortFn:y,progressFn:_,trackInfoFn:P,timingInfoFn:H,videoSegmentTimingInfoFn:ue,audioSegmentTimingInfoFn:Te,id3Fn:Ye,captionsFn:xt,isEndOfTimeline:or,endedTimelineFn:Ir,dataFn:Qr,doneFn:Rt,onTransmuxerLog:kn,triggerSegmentEventFn:Dn})=>{const Tn=[],rn=Pm({activeXhrs:Tn,decryptionWorker:o,trackInfoFn:P,timingInfoFn:H,videoSegmentTimingInfoFn:ue,audioSegmentTimingInfoFn:Te,id3Fn:Ye,captionsFn:xt,isEndOfTimeline:or,endedTimelineFn:Ir,dataFn:Qr,doneFn:Rt,onTransmuxerLog:kn,triggerSegmentEventFn:Dn});if(c.key&&!c.key.bytes){const bi=[c.key];c.map&&!c.map.bytes&&c.map.key&&c.map.key.resolvedUri===c.key.resolvedUri&&bi.push(c.map.key);const na=ja(t,{uri:c.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),go=Cp(c,bi,rn,Dn),Ho={uri:c.key.resolvedUri};Dn({type:"segmentkeyloadstart",segment:c,keyInfo:Ho});const Co=p(na,go);Tn.push(Co)}if(c.map&&!c.map.bytes){if(c.map.key&&(!c.key||c.key.resolvedUri!==c.map.key.resolvedUri)){const Co=ja(t,{uri:c.map.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),Os=Cp(c,[c.map.key],rn,Dn),Ds={uri:c.map.key.resolvedUri};Dn({type:"segmentkeyloadstart",segment:c,keyInfo:Ds});const Ro=p(Co,Os);Tn.push(Ro)}const na=ja(t,{uri:c.map.resolvedUri,responseType:"arraybuffer",headers:Af(c.map),requestType:"segment-media-initialization"}),go=b0({segment:c,finishProcessingFn:rn,triggerSegmentEventFn:Dn});Dn({type:"segmentloadstart",segment:c});const Ho=p(na,go);Tn.push(Ho)}const zn=ja(t,{uri:c.part&&c.part.resolvedUri||c.resolvedUri,responseType:"arraybuffer",headers:Af(c),requestType:"segment"}),Nn=ep({segment:c,finishProcessingFn:rn,responseType:zn.responseType,triggerSegmentEventFn:Dn});Dn({type:"segmentloadstart",segment:c});const yi=p(zn,Nn);yi.addEventListener("progress",Dm({segment:c,progressFn:_,trackInfoFn:P,timingInfoFn:H,videoSegmentTimingInfoFn:ue,audioSegmentTimingInfoFn:Te,id3Fn:Ye,captionsFn:xt,isEndOfTimeline:or,endedTimelineFn:Ir,dataFn:Qr})),Tn.push(yi);const Gn={};return Tn.forEach(bi=>{bi.addEventListener("loadend",Rm({loadendState:Gn,abortFn:y}))}),()=>fd(Tn)},tp=mo("PlaylistSelector"),E0=function(p){if(!p||!p.playlist)return;const t=p.playlist;return JSON.stringify({id:t.id,bandwidth:p.bandwidth,width:p.width,height:p.height,codecs:t.attributes&&t.attributes.CODECS||""})},Kf=function(p,t){if(!p)return"";const o=O().getComputedStyle(p);return o?o[t]:""},Xf=function(p,t){const o=p.slice();p.sort(function(c,y){const _=t(c,y);return _===0?o.indexOf(c)-o.indexOf(y):_})},Ap=function(p,t){let o,c;return p.attributes.BANDWIDTH&&(o=p.attributes.BANDWIDTH),o=o||O().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(c=t.attributes.BANDWIDTH),c=c||O().Number.MAX_VALUE,o-c},Op=function(p,t){let o,c;return p.attributes.RESOLUTION&&p.attributes.RESOLUTION.width&&(o=p.attributes.RESOLUTION.width),o=o||O().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(c=t.attributes.RESOLUTION.width),c=c||O().Number.MAX_VALUE,o===c&&p.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?p.attributes.BANDWIDTH-t.attributes.BANDWIDTH:o-c};let T0=function(p){const{main:t,bandwidth:o,playerWidth:c,playerHeight:y,playerObjectFit:_,limitRenditionByPlayerDimensions:P,playlistController:H}=p;if(!t)return;const ue={bandwidth:o,width:c,height:y,limitRenditionByPlayerDimensions:P};let Te=t.playlists;Il.isAudioOnly(t)&&(Te=H.getAudioTrackPlaylists_(),ue.audioOnly=!0);let Ye=Te.map(Gn=>{let bi;const na=Gn.attributes&&Gn.attributes.RESOLUTION&&Gn.attributes.RESOLUTION.width,go=Gn.attributes&&Gn.attributes.RESOLUTION&&Gn.attributes.RESOLUTION.height;return bi=Gn.attributes&&Gn.attributes.BANDWIDTH,bi=bi||O().Number.MAX_VALUE,{bandwidth:bi,width:na,height:go,playlist:Gn}});Xf(Ye,(Gn,bi)=>Gn.bandwidth-bi.bandwidth),Ye=Ye.filter(Gn=>!Il.isIncompatible(Gn.playlist));let xt=Ye.filter(Gn=>Il.isEnabled(Gn.playlist));xt.length||(xt=Ye.filter(Gn=>!Il.isDisabled(Gn.playlist)));const or=xt.filter(Gn=>Gn.bandwidth*Iu.BANDWIDTH_VARIANCE<o);let Ir=or[or.length-1];const Qr=or.filter(Gn=>Gn.bandwidth===Ir.bandwidth)[0];if(P===!1){const Gn=Qr||xt[0]||Ye[0];if(Gn&&Gn.playlist){let bi="sortedPlaylistReps";return Qr&&(bi="bandwidthBestRep"),xt[0]&&(bi="enabledPlaylistReps"),tp(`choosing ${E0(Gn)} using ${bi} with options`,ue),Gn.playlist}return tp("could not choose a playlist with options",ue),null}const Rt=or.filter(Gn=>Gn.width&&Gn.height);Xf(Rt,(Gn,bi)=>Gn.width-bi.width);const kn=Rt.filter(Gn=>Gn.width===c&&Gn.height===y);Ir=kn[kn.length-1];const Dn=kn.filter(Gn=>Gn.bandwidth===Ir.bandwidth)[0];let Tn,rn,zn;Dn||(Tn=Rt.filter(Gn=>_==="cover"?Gn.width>c&&Gn.height>y:Gn.width>c||Gn.height>y),rn=Tn.filter(Gn=>Gn.width===Tn[0].width&&Gn.height===Tn[0].height),Ir=rn[rn.length-1],zn=rn.filter(Gn=>Gn.bandwidth===Ir.bandwidth)[0]);let Nn;if(H.leastPixelDiffSelector){const Gn=Rt.map(bi=>(bi.pixelDiff=Math.abs(bi.width-c)+Math.abs(bi.height-y),bi));Xf(Gn,(bi,na)=>bi.pixelDiff===na.pixelDiff?na.bandwidth-bi.bandwidth:bi.pixelDiff-na.pixelDiff),Nn=Gn[0]}const yi=Nn||zn||Dn||Qr||xt[0]||Ye[0];if(yi&&yi.playlist){let Gn="sortedPlaylistReps";return Nn?Gn="leastPixelDiffRep":zn?Gn="resolutionPlusOneRep":Dn?Gn="resolutionBestRep":Qr?Gn="bandwidthBestRep":xt[0]&&(Gn="enabledPlaylistReps"),tp(`choosing ${E0(yi)} using ${Gn} with options`,ue),yi.playlist}return tp("could not choose a playlist with options",ue),null};const rp=function(){let p=this.useDevicePixelRatio&&O().devicePixelRatio||1;return isNaN(this.customPixelRatio)||(p=this.customPixelRatio),T0({main:this.playlists.main,bandwidth:this.systemBandwidth,playerWidth:parseInt(Kf(this.tech_.el(),"width"),10)*p,playerHeight:parseInt(Kf(this.tech_.el(),"height"),10)*p,playerObjectFit:this.usePlayerObjectFit?Kf(this.tech_.el(),"objectFit"):"",limitRenditionByPlayerDimensions:this.limitRenditionByPlayerDimensions,playlistController:this.playlistController_})},Mm=function(p){let t=-1,o=-1;if(p<0||p>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){let c=this.useDevicePixelRatio&&O().devicePixelRatio||1;return isNaN(this.customPixelRatio)||(c=this.customPixelRatio),t<0&&(t=this.systemBandwidth,o=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==o&&(t=p*this.systemBandwidth+(1-p)*t,o=this.systemBandwidth),T0({main:this.playlists.main,bandwidth:t,playerWidth:parseInt(Kf(this.tech_.el(),"width"),10)*c,playerHeight:parseInt(Kf(this.tech_.el(),"height"),10)*c,playerObjectFit:this.usePlayerObjectFit?Kf(this.tech_.el(),"objectFit"):"",limitRenditionByPlayerDimensions:this.limitRenditionByPlayerDimensions,playlistController:this.playlistController_})}},km=function(p){const{main:t,currentTime:o,bandwidth:c,duration:y,segmentDuration:_,timeUntilRebuffer:P,currentTimeline:H,syncController:ue}=p,Te=t.playlists.filter(Qr=>!Il.isIncompatible(Qr));let Ye=Te.filter(Il.isEnabled);Ye.length||(Ye=Te.filter(Qr=>!Il.isDisabled(Qr)));const or=Ye.filter(Il.hasAttribute.bind(null,"BANDWIDTH")).map(Qr=>{const kn=ue.getSyncPoint(Qr,y,H,o)?1:2,Tn=Il.estimateSegmentRequestTime(_,c,Qr)*kn-P;return{playlist:Qr,rebufferingImpact:Tn}}),Ir=or.filter(Qr=>Qr.rebufferingImpact<=0);return Xf(Ir,(Qr,Rt)=>Ap(Rt.playlist,Qr.playlist)),Ir.length?Ir[0]:(Xf(or,(Qr,Rt)=>Qr.rebufferingImpact-Rt.rebufferingImpact),or[0]||null)},Nm=function(){const p=this.playlists.main.playlists.filter(Il.isEnabled);return Xf(p,(o,c)=>Ap(o,c)),p.filter(o=>!!wd(this.playlists.main,o).video)[0]||null},sl=p=>{let t=0,o;return p.bytes&&(o=new Uint8Array(p.bytes),p.segments.forEach(c=>{o.set(c,t),t+=c.byteLength})),o};function Yl(p){try{return new URL(p).pathname.split("/").slice(-2).join("/")}catch{return""}}const Fm=function(p,t,o){if(!p[o]){t.trigger({type:"usage",name:"vhs-608"});let c=o;/^cc708_/.test(o)&&(c="SERVICE"+o.split("_")[1]);const y=t.textTracks().getTrackById(c);if(y)p[o]=y;else{const _=t.options_.vhs&&t.options_.vhs.captionServices||{};let P=o,H=o,ue=!1;const Te=_[c];Te&&(P=Te.label,H=Te.language,ue=Te.default),p[o]=t.addRemoteTextTrack({kind:"captions",id:c,default:ue,label:P,language:H},!1).track}}},Bm=function({inbandTextTracks:p,captionArray:t,timestampOffset:o}){if(!t)return;const c=O().WebKitDataCue||O().VTTCue;t.forEach(y=>{const _=y.stream;y.content?y.content.forEach(P=>{const H=new c(y.startTime+o,y.endTime+o,P.text);H.line=P.line,H.align="left",H.position=P.position,H.positionAlign="line-left",p[_].addCue(H)}):p[_].addCue(new c(y.startTime+o,y.endTime+o,y.text))})},Um=function(p){Object.defineProperties(p.frame,{id:{get(){return nn.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),p.value.key}},value:{get(){return nn.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),p.value.data}},privateData:{get(){return nn.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),p.value.data}}})},w0=({inbandTextTracks:p,metadataArray:t,timestampOffset:o,videoDuration:c})=>{if(!t)return;const y=O().WebKitDataCue||O().VTTCue,_=p.metadataTrack_;if(!_||(t.forEach(Ye=>{const xt=Ye.cueTime+o;typeof xt!="number"||O().isNaN(xt)||xt<0||!(xt<1/0)||!Ye.frames||!Ye.frames.length||Ye.frames.forEach(or=>{const Ir=new y(xt,xt,or.value||or.url||or.data||"");Ir.frame=or,Ir.value=or,Um(Ir),_.addCue(Ir)})}),!_.cues||!_.cues.length))return;const P=_.cues,H=[];for(let Ye=0;Ye<P.length;Ye++)P[Ye]&&H.push(P[Ye]);const ue=H.reduce((Ye,xt)=>{const or=Ye[xt.startTime]||[];return or.push(xt),Ye[xt.startTime]=or,Ye},{}),Te=Object.keys(ue).sort((Ye,xt)=>Number(Ye)-Number(xt));Te.forEach((Ye,xt)=>{const or=ue[Ye],Ir=isFinite(c)?c:Ye,Qr=Number(Te[xt+1])||Ir;or.forEach(Rt=>{Rt.endTime=Qr})})},jm={id:"ID",class:"CLASS",startDate:"START-DATE",duration:"DURATION",endDate:"END-DATE",endOnNext:"END-ON-NEXT",plannedDuration:"PLANNED-DURATION",scte35Out:"SCTE35-OUT",scte35In:"SCTE35-IN"},zm=new Set(["id","class","startDate","duration","endDate","endOnNext","startTime","endTime","processDateRange"]),$m=({inbandTextTracks:p,dateRanges:t})=>{const o=p.metadataTrack_;if(!o)return;const c=O().WebKitDataCue||O().VTTCue;t.forEach(y=>{for(const _ of Object.keys(y)){if(zm.has(_))continue;const P=new c(y.startTime,y.endTime,"");P.id=y.id,P.type="com.apple.quicktime.HLS",P.value={key:jm[_],data:y[_]},(_==="scte35Out"||_==="scte35In")&&(P.value.data=new Uint8Array(P.value.data.match(/[\da-f]{2}/gi)).buffer),o.addCue(P)}y.processDateRange()})},Ip=(p,t,o)=>{p.metadataTrack_||(p.metadataTrack_=o.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,nn.browser.IS_ANY_SAFARI||(p.metadataTrack_.inBandMetadataTrackDispatchType=t))},Oh=function(p,t,o){let c,y;if(o&&o.cues)for(c=o.cues.length;c--;)y=o.cues[c],y.startTime>=p&&y.endTime<=t&&o.removeCue(y)},Hm=function(p){const t=p.cues;if(!t)return;const o={};for(let c=t.length-1;c>=0;c--){const y=t[c],_=`${y.startTime}-${y.endTime}-${y.text}`;o[_]?p.removeCue(y):o[_]=y}},Wm=(p,t,o)=>{if(typeof t>"u"||t===null||!p.length)return[];const c=Math.ceil((t-o+3)*jr.ONE_SECOND_IN_TS);let y;for(y=0;y<p.length&&!(p[y].pts>c);y++);return p.slice(y)},_0=(p,t,o)=>{if(!t.length)return p;if(o)return t.slice();const c=t[0].pts;let y=0;for(y;y<p.length&&!(p[y].pts>=c);y++);return p.slice(0,y).concat(t)},C0=(p,t,o,c)=>{const y=Math.ceil((t-c)*jr.ONE_SECOND_IN_TS),_=Math.ceil((o-c)*jr.ONE_SECOND_IN_TS),P=p.slice();let H=p.length;for(;H--&&!(p[H].pts<=_););if(H===-1)return P;let ue=H+1;for(;ue--&&!(p[ue].pts<=y););return ue=Math.max(ue,0),P.splice(ue,H-ue+1),P},Vm=function(p,t){if(!p&&!t||!p&&t||p&&!t)return!1;if(p===t)return!0;const o=Object.keys(p).sort(),c=Object.keys(t).sort();if(o.length!==c.length)return!1;for(let y=0;y<o.length;y++){const _=o[y];if(_!==c[y]||p[_]!==t[_])return!1}return!0},Gm=function(p,t,o){t=t||[];const c=[];let y=0;for(let _=0;_<t.length;_++){const P=t[_];if(p===P.timeline&&(c.push(_),y+=P.duration,y>o))return _}return c.length===0?0:c[c.length-1]},Ih=1,Ym=500,If=p=>typeof p=="number"&&isFinite(p),np=1/60,Km=(p,t,o)=>p!=="main"||!t||!o?null:!o.hasAudio&&!o.hasVideo?"Neither audio nor video found in segment.":t.hasVideo&&!o.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&o.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null,Xm=(p,t,o)=>{let c=t-Iu.BACK_BUFFER_LENGTH;p.length&&(c=Math.max(c,p.start(0)));const y=t-o;return Math.min(y,c)},Qf=p=>{const{startOfSegment:t,duration:o,segment:c,part:y,playlist:{mediaSequence:_,id:P,segments:H=[]},mediaIndex:ue,partIndex:Te,timeline:Ye}=p,xt=H.length-1;let or="mediaIndex/partIndex increment";p.getMediaInfoForTime?or=`getMediaInfoForTime (${p.getMediaInfoForTime})`:p.isSyncRequest&&(or="getSyncSegmentCandidate (isSyncRequest)"),p.independent&&(or+=` with independent ${p.independent}`);const Ir=typeof Te=="number",Qr=p.segment.uri?"segment":"pre-segment",Rt=Ir?$d({preloadSegment:c})-1:0;return`${Qr} [${_+ue}/${_+xt}]`+(Ir?` part [${Te}/${Rt}]`:"")+` segment start/end [${c.start} => ${c.end}]`+(Ir?` part start/end [${y.start} => ${y.end}]`:"")+` startOfSegment [${t}] duration [${o}] timeline [${Ye}] selected by [${or}] playlist [${P}]`},A0=p=>`${p}TimingInfo`,O0=({segmentTimeline:p,currentTimeline:t,startOfSegment:o,buffered:c,overrideCheck:y})=>!y&&p===t?null:p<t?o:c.length?c.end(c.length-1):o,ip=({timelineChangeController:p,currentTimeline:t,segmentTimeline:o,loaderType:c,audioDisabled:y})=>{if(t===o)return!1;if(c==="audio"){const _=p.lastTimelineChange({type:"main"});return!_||_.to!==o}if(c==="main"&&y){const _=p.pendingTimelineChange({type:"audio"});return!(_&&_.to===o)}return!1},Qm=p=>{if(!p)return!1;const t=p.pendingTimelineChange({type:"audio"}),o=p.pendingTimelineChange({type:"main"}),c=t&&o,y=c&&t.to!==o.to;return!!(c&&t.from!==-1&&o.from!==-1&&y)},Jm=p=>{const t=p.timelineChangeController_.pendingTimelineChange({type:"audio"}),o=p.timelineChangeController_.pendingTimelineChange({type:"main"});return t&&o&&t.to<o.to},hf=p=>{const t=p.pendingSegment_;if(!t)return;if(ip({timelineChangeController:p.timelineChangeController_,currentTimeline:p.currentTimeline_,segmentTimeline:t.timeline,loaderType:p.loaderType_,audioDisabled:p.audioDisabled_})&&Qm(p.timelineChangeController_)){if(Jm(p)){p.timelineChangeController_.trigger("audioTimelineBehind");return}p.timelineChangeController_.trigger("fixBadTimelineChange")}},Zm=p=>{let t=0;return["video","audio"].forEach(function(o){const c=p[`${o}TimingInfo`];if(!c)return;const{start:y,end:_}=c;let P;typeof y=="bigint"||typeof _=="bigint"?P=O().BigInt(_)-O().BigInt(y):typeof y=="number"&&typeof _=="number"&&(P=_-y),typeof P<"u"&&P>t&&(t=P)}),typeof t=="bigint"&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),t},I0=({segmentDuration:p,maxDuration:t})=>p?Math.round(p)>t+vl:!1,qm=(p,t)=>{if(t!=="hls")return null;const o=Zm({audioTimingInfo:p.audioTimingInfo,videoTimingInfo:p.videoTimingInfo});if(!o)return null;const c=p.playlist.targetDuration,y=I0({segmentDuration:o,maxDuration:c*2}),_=I0({segmentDuration:o,maxDuration:c}),P=`Segment with index ${p.mediaIndex} from playlist ${p.playlist.id} has a duration of ${o} when the reported duration is ${p.duration} and the target duration is ${c}. For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1`;return y||_?{severity:y?"warn":"info",message:P}:null},Pf=({type:p,segment:t})=>{if(!t)return;const o=!!(t.key||t.map&&t.map.ke),c=!!(t.map&&!t.map.bytes),y=t.startOfSegment===void 0?t.start:t.startOfSegment;return{type:p||t.type,uri:t.resolvedUri||t.uri,start:y,duration:t.duration,isEncrypted:o,isMediaInitialization:c}};class Pp extends nn.EventTarget{constructor(t,o={}){if(super(),!t)throw new TypeError("Initialization settings are required");if(typeof t.currentTime!="function")throw new TypeError("No currentTime getter specified");if(!t.mediaSource)throw new TypeError("No MediaSource specified");this.bandwidth=t.bandwidth,this.throughput={rate:0,count:0},this.roundTrip=NaN,this.resetStats_(),this.mediaIndex=null,this.partIndex=null,this.hasPlayed_=t.hasPlayed,this.currentTime_=t.currentTime,this.seekable_=t.seekable,this.seeking_=t.seeking,this.duration_=t.duration,this.mediaSource_=t.mediaSource,this.vhs_=t.vhs,this.loaderType_=t.loaderType,this.currentMediaInfo_=void 0,this.startingMediaInfo_=void 0,this.segmentMetadataTrack_=t.segmentMetadataTrack,this.goalBufferLength_=t.goalBufferLength,this.sourceType_=t.sourceType,this.sourceUpdater_=t.sourceUpdater,this.inbandTextTracks_=t.inbandTextTracks,this.state_="INIT",this.timelineChangeController_=t.timelineChangeController,this.shouldSaveSegmentTimingInfo_=!0,this.parse708captions_=t.parse708captions,this.useDtsForTimestampOffset_=t.useDtsForTimestampOffset,this.captionServices_=t.captionServices,this.exactManifestTimings=t.exactManifestTimings,this.addMetadataToTextTrack=t.addMetadataToTextTrack,this.checkBufferTimeout_=null,this.error_=void 0,this.currentTimeline_=-1,this.shouldForceTimestampOffsetAfterResync_=!1,this.pendingSegment_=null,this.xhrOptions_=null,this.pendingSegments_=[],this.audioDisabled_=!1,this.isPendingTimestampOffset_=!1,this.gopBuffer_=[],this.timeMapping_=0,this.safeAppend_=!1,this.appendInitSegment_={audio:!0,video:!0},this.playlistOfLastInitSegment_={audio:null,video:null},this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_={id3:[],caption:[]},this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=null,this.activeInitSegmentId_=null,this.initSegments_={},this.cacheEncryptionKeys_=t.cacheEncryptionKeys,this.keyCache_={},this.decrypter_=t.decrypter,this.syncController_=t.syncController,this.syncPoint_={segmentIndex:0,time:0},this.transmuxer_=this.createTransmuxer_(),this.triggerSyncInfoUpdate_=()=>this.trigger("syncinfoupdate"),this.syncController_.on("syncinfoupdate",this.triggerSyncInfoUpdate_),this.mediaSource_.addEventListener("sourceopen",()=>{this.isEndOfStream_()||(this.ended_=!1)}),this.fetchAtBuffer_=!1,this.logger_=mo(`SegmentLoader[${this.loaderType_}]`),Object.defineProperty(this,"state",{get(){return this.state_},set(c){c!==this.state_&&(this.logger_(`${this.state_} -> ${c}`),this.state_=c,this.trigger("statechange"))}}),this.sourceUpdater_.on("ready",()=>{this.hasEnoughInfoToAppend_()?this.processCallQueue_():hf(this)}),this.sourceUpdater_.on("codecschange",c=>{this.trigger(V({type:"codecschange"},c))}),this.loaderType_==="main"&&this.timelineChangeController_.on("pendingtimelinechange",()=>{this.hasEnoughInfoToAppend_()?this.processCallQueue_():hf(this)}),this.loaderType_==="audio"&&this.timelineChangeController_.on("timelinechange",c=>{this.trigger(V({type:"timelinechange"},c)),this.hasEnoughInfoToLoad_()?this.processLoadQueue_():hf(this),this.hasEnoughInfoToAppend_()?this.processCallQueue_():hf(this)})}get mediaSequenceSync_(){return this.syncController_.getMediaSequenceSync(this.loaderType_)}createTransmuxer_(){return wp.createTransmuxer({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})}resetStats_(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0}dispose(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&O().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()}setAudio(t){this.audioDisabled_=!t,t?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())}abort(){if(this.state!=="WAITING"){this.pendingSegment_&&(this.pendingSegment_=null),this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_);return}this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()}abort_(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,O().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null}checkForAbort_(t){return this.state==="APPENDING"&&!this.pendingSegment_?(this.state="READY",!0):!this.pendingSegment_||this.pendingSegment_.requestId!==t}error(t){return typeof t<"u"&&(this.logger_("error occurred:",t),this.error_=t),this.pendingSegment_=null,this.error_}endOfStream(){this.ended_=!0,this.transmuxer_&&wp.reset(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")}buffered_(){const t=this.getMediaInfo_();if(!this.sourceUpdater_||!t)return Po();if(this.loaderType_==="main"){const{hasAudio:o,hasVideo:c,isMuxed:y}=t;if(c&&o&&!this.audioDisabled_&&!y)return this.sourceUpdater_.buffered();if(c)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()}initSegmentForMap(t,o=!1){if(!t)return null;const c=Of(t);let y=this.initSegments_[c];return o&&!y&&t.bytes&&(this.initSegments_[c]=y={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:t.bytes,tracks:t.tracks,timescales:t.timescales}),y||t}segmentKey(t,o=!1){if(!t)return null;const c=Vf(t);let y=this.keyCache_[c];this.cacheEncryptionKeys_&&o&&!y&&t.bytes&&(this.keyCache_[c]=y={resolvedUri:t.resolvedUri,bytes:t.bytes});const _={resolvedUri:(y||t).resolvedUri};return y&&(_.bytes=y.bytes),_}couldBeginLoading_(){return this.playlist_&&!this.paused()}load(){if(this.monitorBuffer_(),!!this.playlist_){if(this.state==="INIT"&&this.couldBeginLoading_())return this.init_();!this.couldBeginLoading_()||this.state!=="READY"&&this.state!=="INIT"||(this.state="READY")}}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}playlist(t,o={}){if(!t||this.playlist_&&this.playlist_.endList&&t.endList&&this.playlist_.uri===t.uri)return;const c=this.playlist_,y=this.pendingSegment_;this.playlist_=t,this.xhrOptions_=o,this.state==="INIT"&&(t.syncInfo={mediaSequence:t.mediaSequence,time:0},this.loaderType_==="main"&&this.syncController_.setDateTimeMappingForStart(t));let _=null;if(c&&(c.id?_=c.id:c.uri&&(_=c.uri)),this.logger_(`playlist update [${_} => ${t.id||t.uri}]`),this.mediaSequenceSync_&&(this.mediaSequenceSync_.update(t,this.currentTime_()),this.logger_(`Playlist update: 980currentTime: ${this.currentTime_()} 981bufferedEnd: ${yf(this.buffered_())} 982`,this.mediaSequenceSync_.diagnostics)),this.trigger("syncinfoupdate"),this.state==="INIT"&&this.couldBeginLoading_())return this.init_();if(!c||c.uri!==t.uri){this.mediaIndex!==null&&(!t.endList&&typeof t.partTargetDuration=="number"?this.resetLoader():this.resyncLoader()),this.currentMediaInfo_=void 0,this.trigger("playlistupdate");return}const P=t.mediaSequence-c.mediaSequence;if(this.logger_(`live window shift [${P}]`),this.mediaIndex!==null)if(this.mediaIndex-=P,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{const H=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!H.parts||!H.parts.length||!H.parts[this.partIndex])){const ue=this.mediaIndex;this.logger_(`currently processing part (index ${this.partIndex}) no longer exists.`),this.resetLoader(),this.mediaIndex=ue}}y&&(y.mediaIndex-=P,y.mediaIndex<0?(y.mediaIndex=null,y.partIndex=null):(y.mediaIndex>=0&&(y.segment=t.segments[y.mediaIndex]),y.partIndex>=0&&y.segment.parts&&(y.part=y.segment.parts[y.partIndex]))),this.syncController_.saveExpiredSegmentInfo(c,t)}pause(){this.checkBufferTimeout_&&(O().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}paused(){return this.checkBufferTimeout_===null}resetEverything(t){this.ended_=!1,this.activeInitSegmentId_=null,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,t),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))}resetLoader(){this.fetchAtBuffer_=!1,this.mediaSequenceSync_&&this.mediaSequenceSync_.resetAppendedStatus(),this.resyncLoader()}resyncLoader(){this.transmuxer_&&wp.reset(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1;const t=this.currentMediaInfo_&&this.currentMediaInfo_.isFmp4;this.sourceType_==="hls"&&!t&&(this.shouldForceTimestampOffsetAfterResync_=!0),this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}remove(t,o,c=()=>{},y=!1){if(o===1/0&&(o=this.duration_()),o<=t){this.logger_("skipping remove because end ${end} is <= start ${start}");return}if(!this.sourceUpdater_||!this.getMediaInfo_()){this.logger_("skipping remove because no source updater or starting media info");return}let _=1;const P=()=>{_--,_===0&&c()};(y||!this.audioDisabled_)&&(_++,this.sourceUpdater_.removeAudio(t,o,P)),(y||this.loaderType_==="main")&&(this.gopBuffer_=C0(this.gopBuffer_,t,o,this.timeMapping_),_++,this.sourceUpdater_.removeVideo(t,o,P));for(const H in this.inbandTextTracks_)Oh(t,o,this.inbandTextTracks_[H]);Oh(t,o,this.segmentMetadataTrack_),P()}monitorBuffer_(){this.checkBufferTimeout_&&O().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=O().setTimeout(this.monitorBufferTick_.bind(this),1)}monitorBufferTick_(){this.state==="READY"&&this.fillBuffer_(),this.checkBufferTimeout_&&O().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=O().setTimeout(this.monitorBufferTick_.bind(this),Ym)}fillBuffer_(){if(this.sourceUpdater_.updating())return;const t=this.chooseNextRequest_();if(!t)return;const o={segmentInfo:Pf({type:this.loaderType_,segment:t})};this.trigger({type:"segmentselected",metadata:o}),typeof t.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:t.timeline})),this.loadSegment_(t)}isEndOfStream_(t=this.mediaIndex,o=this.playlist_,c=this.partIndex){if(!o||!this.mediaSource_)return!1;const y=typeof t=="number"&&o.segments[t],_=t+1===o.segments.length,P=!y||!y.parts||c+1===y.parts.length;return o.endList&&this.mediaSource_.readyState==="open"&&_&&P}chooseNextRequest_(){const t=this.buffered_(),o=yf(t)||0,c=uh(t,this.currentTime_()),y=!this.hasPlayed_()&&c>=1,_=c>=this.goalBufferLength_(),P=this.playlist_.segments;if(!P.length||y||_)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_(),this.loaderType_);const H={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:!this.syncPoint_};if(H.isSyncRequest)H.mediaIndex=Gm(this.currentTimeline_,P,o),this.logger_(`choose next request. Can not find sync point. Fallback to media Index: ${H.mediaIndex}`);else if(this.mediaIndex!==null){const or=P[this.mediaIndex],Ir=typeof this.partIndex=="number"?this.partIndex:-1;H.startOfSegment=or.end?or.end:o,or.parts&&or.parts[Ir+1]?(H.mediaIndex=this.mediaIndex,H.partIndex=Ir+1):H.mediaIndex=this.mediaIndex+1}else{let or,Ir,Qr;const Rt=this.fetchAtBuffer_?o:this.currentTime_();if(this.mediaSequenceSync_&&this.logger_(`chooseNextRequest_ request after Quality Switch: 983For TargetTime: ${Rt}. 984CurrentTime: ${this.currentTime_()} 985BufferedEnd: ${o} 986Fetch At Buffer: ${this.fetchAtBuffer_} 987`,this.mediaSequenceSync_.diagnostics),this.mediaSequenceSync_&&this.mediaSequenceSync_.isReliable){const kn=this.getSyncInfoFromMediaSequenceSync_(Rt);if(!kn){const Dn="No sync info found while using media sequence sync";return this.error({message:Dn,metadata:{errorType:nn.Error.StreamingFailedToSelectNextSegment,error:new Error(Dn)}}),this.logger_("chooseNextRequest_ - no sync info found using media sequence sync"),null}this.logger_(`chooseNextRequest_ mediaSequence syncInfo (${kn.start} --> ${kn.end})`),or=kn.segmentIndex,Ir=kn.partIndex,Qr=kn.start}else{this.logger_("chooseNextRequest_ - fallback to a regular segment selection algorithm, based on a syncPoint.");const kn=Il.getMediaInfoForTime({exactManifestTimings:this.exactManifestTimings,playlist:this.playlist_,currentTime:Rt,startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time});or=kn.segmentIndex,Ir=kn.partIndex,Qr=kn.startTime}H.getMediaInfoForTime=this.fetchAtBuffer_?`bufferedEnd ${Rt}`:`currentTime ${Rt}`,H.mediaIndex=or,H.startOfSegment=Qr,H.partIndex=Ir,this.logger_(`choose next request. Playlist switched and we have a sync point. Media Index: ${H.mediaIndex} `)}const ue=P[H.mediaIndex];let Te=ue&&typeof H.partIndex=="number"&&ue.parts&&ue.parts[H.partIndex];if(!ue||typeof H.partIndex=="number"&&!Te)return null;typeof H.partIndex!="number"&&ue.parts&&(H.partIndex=0,Te=ue.parts[0]);const Ye=this.vhs_.playlists&&this.vhs_.playlists.main&&this.vhs_.playlists.main.independentSegments||this.playlist_.independentSegments;if(!c&&Te&&!Ye&&!Te.independent)if(H.partIndex===0){const or=P[H.mediaIndex-1],Ir=or.parts&&or.parts.length&&or.parts[or.parts.length-1];Ir&&Ir.independent&&(H.mediaIndex-=1,H.partIndex=or.parts.length-1,H.independent="previous segment")}else ue.parts[H.partIndex-1].independent&&(H.partIndex-=1,H.independent="previous part");const xt=this.mediaSource_&&this.mediaSource_.readyState==="ended";return H.mediaIndex>=P.length-1&&xt&&!this.seeking_()?null:(this.shouldForceTimestampOffsetAfterResync_&&(this.shouldForceTimestampOffsetAfterResync_=!1,H.forceTimestampOffset=!0,this.logger_("choose next request. Force timestamp offset after loader resync")),this.generateSegmentInfo_(H))}getSyncInfoFromMediaSequenceSync_(t){if(!this.mediaSequenceSync_)return null;const o=Math.max(t,this.mediaSequenceSync_.start);t!==o&&this.logger_(`getSyncInfoFromMediaSequenceSync_. Pulled target time from ${t} to ${o}`);const c=this.mediaSequenceSync_.getSyncInfoForTime(o);if(!c)return null;if(!c.isAppended)return c;const y=this.mediaSequenceSync_.getSyncInfoForTime(c.end);return y?(y.isAppended&&this.logger_("getSyncInfoFromMediaSequenceSync_: We encounter unexpected scenario where next media sequence sync info is also appended!"),y):null}generateSegmentInfo_(t){const{independent:o,playlist:c,mediaIndex:y,startOfSegment:_,isSyncRequest:P,partIndex:H,forceTimestampOffset:ue,getMediaInfoForTime:Te}=t,Ye=c.segments[y],xt=typeof H=="number"&&Ye.parts[H],or={requestId:"segment-loader-"+Math.random(),uri:xt&&xt.resolvedUri||Ye.resolvedUri,mediaIndex:y,partIndex:xt?H:null,isSyncRequest:P,startOfSegment:_,playlist:c,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:Ye.timeline,duration:xt&&xt.duration||Ye.duration,segment:Ye,part:xt,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:Te,independent:o},Ir=typeof ue<"u"?ue:this.isPendingTimestampOffset_;or.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:Ye.timeline,currentTimeline:this.currentTimeline_,startOfSegment:_,buffered:this.buffered_(),overrideCheck:Ir});const Qr=yf(this.sourceUpdater_.audioBuffered());return typeof Qr=="number"&&(or.audioAppendStart=Qr-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(or.gopsToAlignWith=Wm(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),or}timestampOffsetForSegment_(t){return O0(t)}earlyAbortWhenNeeded_(t){if(this.vhs_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH||Date.now()-(t.firstBytesReceivedAt||Date.now())<1e3)return;const o=this.currentTime_(),c=t.bandwidth,y=this.pendingSegment_.duration,_=Il.estimateSegmentRequestTime(y,c,this.playlist_,t.bytesReceived),P=kh(this.buffered_(),o,this.vhs_.tech_.playbackRate())-1;if(_<=P)return;const H=km({main:this.vhs_.playlists.main,currentTime:o,bandwidth:c,duration:this.duration_(),segmentDuration:y,timeUntilRebuffer:P,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(!H)return;const Te=_-P-H.rebufferingImpact;let Ye=.5;P<=vl&&(Ye=1),!(!H.playlist||H.playlist.uri===this.playlist_.uri||Te<Ye)&&(this.bandwidth=H.playlist.attributes.BANDWIDTH*Iu.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}handleAbort_(t){this.logger_(`Aborting ${Qf(t)}`),this.mediaRequestsAborted+=1}handleProgress_(t,o){this.earlyAbortWhenNeeded_(o.stats),!this.checkForAbort_(o.requestId)&&this.trigger("progress")}handleTrackInfo_(t,o){const{hasAudio:c,hasVideo:y}=o,_={segmentInfo:Pf({type:this.loaderType_,segment:t}),trackInfo:{hasAudio:c,hasVideo:y}};this.trigger({type:"segmenttransmuxingtrackinfoavailable",metadata:_}),this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId)&&(this.checkForIllegalMediaSwitch(o)||(o=o||{},Vm(this.currentMediaInfo_,o)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=o,this.currentMediaInfo_=o,this.logger_("trackinfo update",o),this.trigger("trackinfo")),!this.checkForAbort_(t.requestId)&&(this.pendingSegment_.trackInfo=o,this.hasEnoughInfoToAppend_()?this.processCallQueue_():hf(this))))}handleTimingInfo_(t,o,c,y){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;const _=this.pendingSegment_,P=A0(o);_[P]=_[P]||{},_[P][c]=y,this.logger_(`timinginfo: ${o} - ${c} - ${y}`),this.hasEnoughInfoToAppend_()?this.processCallQueue_():hf(this)}handleCaptions_(t,o){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;if(o.length===0){this.logger_("SegmentLoader received no captions from a caption event");return}if(!this.pendingSegment_.hasAppendedData_){this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,t,o));return}const y=this.sourceUpdater_.videoTimestampOffset()===null?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),_={};o.forEach(P=>{_[P.stream]=_[P.stream]||{startTime:1/0,captions:[],endTime:0};const H=_[P.stream];H.startTime=Math.min(H.startTime,P.startTime+y),H.endTime=Math.max(H.endTime,P.endTime+y),H.captions.push(P)}),Object.keys(_).forEach(P=>{const{startTime:H,endTime:ue,captions:Te}=_[P],Ye=this.inbandTextTracks_;this.logger_(`adding cues from ${H} -> ${ue} for ${P}`),Fm(Ye,this.vhs_.tech_,P),Oh(H,ue,Ye[P]),Bm({captionArray:Te,inbandTextTracks:Ye,timestampOffset:y})}),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}handleId3_(t,o,c){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;if(!this.pendingSegment_.hasAppendedData_){this.metadataQueue_.id3.push(this.handleId3_.bind(this,t,o,c));return}this.addMetadataToTextTrack(c,o,this.duration_())}processMetadataQueue_(){this.metadataQueue_.id3.forEach(t=>t()),this.metadataQueue_.caption.forEach(t=>t()),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]}processCallQueue_(){const t=this.callQueue_;this.callQueue_=[],t.forEach(o=>o())}processLoadQueue_(){const t=this.loadQueue_;this.loadQueue_=[],t.forEach(o=>o())}hasEnoughInfoToLoad_(){if(this.loaderType_!=="audio")return!0;const t=this.pendingSegment_;return t?this.getCurrentMediaInfo_()?!ip({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}):!0:!1}getCurrentMediaInfo_(t=this.pendingSegment_){return t&&t.trackInfo||this.currentMediaInfo_}getMediaInfo_(t=this.pendingSegment_){return this.getCurrentMediaInfo_(t)||this.startingMediaInfo_}getPendingSegmentPlaylist(){return this.pendingSegment_?this.pendingSegment_.playlist:null}hasEnoughInfoToAppend_(){if(!this.sourceUpdater_.ready()||this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;const t=this.pendingSegment_,o=this.getCurrentMediaInfo_();if(!t||!o)return!1;const{hasAudio:c,hasVideo:y,isMuxed:_}=o;return!(y&&!t.videoTimingInfo||c&&!this.audioDisabled_&&!_&&!t.audioTimingInfo||ip({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:t.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))}handleData_(t,o){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;if(this.callQueue_.length||!this.hasEnoughInfoToAppend_()){hf(this),this.callQueue_.push(this.handleData_.bind(this,t,o));return}const c=this.pendingSegment_;if(this.setTimeMapping_(c.timeline),this.updateMediaSecondsLoaded_(c.part||c.segment),this.mediaSource_.readyState!=="closed"){if(t.map&&(t.map=this.initSegmentForMap(t.map,!0),c.segment.map=t.map),t.key&&this.segmentKey(t.key,!0),c.isFmp4=t.isFmp4,c.timingInfo=c.timingInfo||{},c.isFmp4)this.trigger("fmp4"),c.timingInfo.start=c[A0(o.type)].start;else{const y=this.getCurrentMediaInfo_(),_=this.loaderType_==="main"&&y&&y.hasVideo;let P;_&&(P=c.videoTimingInfo.start),c.timingInfo.start=this.trueSegmentStart_({currentStart:c.timingInfo.start,playlist:c.playlist,mediaIndex:c.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:_,firstVideoFrameTimeForData:P,videoTimingInfo:c.videoTimingInfo,audioTimingInfo:c.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(c,o.type),this.updateSourceBufferTimestampOffset_(c),c.isSyncRequest){this.updateTimingInfoEnd_(c),this.syncController_.saveSegmentTimingInfo({segmentInfo:c,shouldSaveTimelineMapping:this.loaderType_==="main"});const y=this.chooseNextRequest_();if(y.mediaIndex!==c.mediaIndex||y.partIndex!==c.partIndex){this.logger_("sync segment was incorrect, not appending");return}this.logger_("sync segment was correct, appending")}c.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(c,o)}}updateAppendInitSegmentStatus(t,o){this.loaderType_==="main"&&typeof t.timestampOffset=="number"&&!t.changedTimestampOffset&&(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[o]!==t.playlist&&(this.appendInitSegment_[o]=!0)}getInitSegmentAndUpdateState_({type:t,initSegment:o,map:c,playlist:y}){if(c){const _=Of(c);if(this.activeInitSegmentId_===_)return null;o=this.initSegmentForMap(c,!0).bytes,this.activeInitSegmentId_=_}return o&&this.appendInitSegment_[t]?(this.playlistOfLastInitSegment_[t]=y,this.appendInitSegment_[t]=!1,this.activeInitSegmentId_=null,o):null}handleQuotaExceededError_({segmentInfo:t,type:o,bytes:c},y){const _=this.sourceUpdater_.audioBuffered(),P=this.sourceUpdater_.videoBuffered();_.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+zd(_).join(", ")),P.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+zd(P).join(", "));const H=_.length?_.start(0):0,ue=_.length?_.end(_.length-1):0,Te=P.length?P.start(0):0,Ye=P.length?P.end(P.length-1):0;if(ue-H<=Ih&&Ye-Te<=Ih){this.logger_(`On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: ${c.byteLength}, audio buffer: ${zd(_).join(", ")}, video buffer: ${zd(P).join(", ")}, `),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),this.trigger("error");return}this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:t,type:o,bytes:c}));const or=this.currentTime_()-Ih;this.logger_(`On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to ${or}`),this.remove(0,or,()=>{this.logger_(`On QUOTA_EXCEEDED_ERR, retrying append in ${Ih}s`),this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=O().setTimeout(()=>{this.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),this.quotaExceededErrorRetryTimeout_=null,this.processCallQueue_()},Ih*1e3)},!0)}handleAppendError_({segmentInfo:t,type:o,bytes:c},y){if(y){if(y.code===Wh){this.handleQuotaExceededError_({segmentInfo:t,type:o,bytes:c});return}this.logger_("Received non QUOTA_EXCEEDED_ERR on append",y),this.error({message:`${o} append of ${c.length}b failed for segment #${t.mediaIndex} in playlist ${t.playlist.id}`,metadata:{errorType:nn.Error.StreamingFailedToAppendSegment}}),this.trigger("appenderror")}}appendToSourceBuffer_({segmentInfo:t,type:o,initSegment:c,data:y,bytes:_}){if(!_){const H=[y];let ue=y.byteLength;c&&(H.unshift(c),ue+=c.byteLength),_=sl({bytes:ue,segments:H})}const P={segmentInfo:Pf({type:this.loaderType_,segment:t})};this.trigger({type:"segmentappendstart",metadata:P}),this.sourceUpdater_.appendBuffer({segmentInfo:t,type:o,bytes:_},this.handleAppendError_.bind(this,{segmentInfo:t,type:o,bytes:_}))}handleSegmentTimingInfo_(t,o,c){if(!this.pendingSegment_||o!==this.pendingSegment_.requestId)return;const y=this.pendingSegment_.segment,_=`${t}TimingInfo`;y[_]||(y[_]={}),y[_].transmuxerPrependedSeconds=c.prependedContentDuration||0,y[_].transmuxedPresentationStart=c.start.presentation,y[_].transmuxedDecodeStart=c.start.decode,y[_].transmuxedPresentationEnd=c.end.presentation,y[_].transmuxedDecodeEnd=c.end.decode,y[_].baseMediaDecodeTime=c.baseMediaDecodeTime}appendData_(t,o){const{type:c,data:y}=o;if(!y||!y.byteLength||c==="audio"&&this.audioDisabled_)return;const _=this.getInitSegmentAndUpdateState_({type:c,initSegment:o.initSegment,playlist:t.playlist,map:t.isFmp4?t.segment.map:null});this.appendToSourceBuffer_({segmentInfo:t,type:c,initSegment:_,data:y})}loadSegment_(t){if(this.state="WAITING",this.pendingSegment_=t,this.trimBackBuffer_(t),typeof t.timestampOffset=="number"&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),!this.hasEnoughInfoToLoad_()){hf(this),this.loadQueue_.push(()=>{const o=V({},t,{forceTimestampOffset:!0});V(t,this.generateSegmentInfo_(o)),this.isPendingTimestampOffset_=!1,this.updateTransmuxerAndRequestSegment_(t)});return}this.updateTransmuxerAndRequestSegment_(t)}updateTransmuxerAndRequestSegment_(t){this.shouldUpdateTransmuxerTimestampOffset_(t.timestampOffset)&&(this.gopBuffer_.length=0,t.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:t.timestampOffset}));const o=this.createSimplifiedSegmentObj_(t),c=this.isEndOfStream_(t.mediaIndex,t.playlist,t.partIndex),y=this.mediaIndex!==null,_=t.timeline!==this.currentTimeline_&&t.timeline>0,P=c||y&&_;this.logger_(`Requesting 988${Yl(t.uri)} 989${Qf(t)}`),o.map&&!o.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),t.abortRequests=Lm({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:o,abortFn:this.handleAbort_.bind(this,t),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",t.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",t.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:P,endedTimelineFn:()=>{this.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:({message:H,level:ue,stream:Te})=>{this.logger_(`${Qf(t)} logged from transmuxer stream ${Te} as a ${ue}: ${H}`)},triggerSegmentEventFn:({type:H,segment:ue,keyInfo:Te,trackInfo:Ye,timingInfo:xt})=>{const Ir={segmentInfo:Pf({segment:ue})};Te&&(Ir.keyInfo=Te),Ye&&(Ir.trackInfo=Ye),xt&&(Ir.timingInfo=xt),this.trigger({type:H,metadata:Ir})}})}trimBackBuffer_(t){const o=Xm(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);o>0&&this.remove(0,o)}createSimplifiedSegmentObj_(t){const o=t.segment,c=t.part,y=t.segment.key||t.segment.map&&t.segment.map.key,_=t.segment.map&&!t.segment.map.bytes,P={resolvedUri:c?c.resolvedUri:o.resolvedUri,byterange:c?c.byterange:o.byterange,requestId:t.requestId,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith,part:t.part,type:this.loaderType_,start:t.startOfSegment,duration:t.duration,isEncrypted:y,isMediaInitialization:_},H=t.playlist.segments[t.mediaIndex-1];if(H&&H.timeline===o.timeline&&(H.videoTimingInfo?P.baseStartTime=H.videoTimingInfo.transmuxedDecodeEnd:H.audioTimingInfo&&(P.baseStartTime=H.audioTimingInfo.transmuxedDecodeEnd)),o.key){const ue=o.key.iv||new Uint32Array([0,0,0,t.mediaIndex+t.playlist.mediaSequence]);P.key=this.segmentKey(o.key),P.key.iv=ue}return o.map&&(P.map=this.initSegmentForMap(o.map)),P}saveTransferStats_(t){this.mediaRequests+=1,t&&(this.mediaBytesTransferred+=t.bytesReceived,this.mediaTransferDuration+=t.roundTripTime)}saveBandwidthRelatedStats_(t,o){if(this.pendingSegment_.byteLength=o.bytesReceived,t<np){this.logger_(`Ignoring segment's bandwidth because its duration of ${t} is less than the min to record ${np}`);return}const c={bandwidthInfo:{from:this.bandwidth,to:o.bandwidth}};this.trigger({type:"bandwidthupdated",metadata:c}),this.bandwidth=o.bandwidth,this.roundTrip=o.roundTripTime}handleTimeout_(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate"),this.trigger("timeout")}segmentRequestFinished_(t,o,c){if(this.callQueue_.length){this.callQueue_.push(this.segmentRequestFinished_.bind(this,t,o,c));return}if(this.saveTransferStats_(o.stats),!this.pendingSegment_||o.requestId!==this.pendingSegment_.requestId)return;if(t){if(this.pendingSegment_=null,this.state="READY",t.code===Cd.ABORTED)return;if(this.pause(),t.code===Cd.TIMEOUT){this.handleTimeout_();return}this.mediaRequestsErrored+=1,this.error(t),this.trigger("error");return}const y=this.pendingSegment_;this.saveBandwidthRelatedStats_(y.duration,o.stats),y.endOfAllRequests=o.endOfAllRequests,c.gopInfo&&(this.gopBuffer_=_0(this.gopBuffer_,c.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(y)}setTimeMapping_(t){const o=this.syncController_.mappingForTimeline(t);o!==null&&(this.timeMapping_=o)}updateMediaSecondsLoaded_(t){typeof t.start=="number"&&typeof t.end=="number"?this.mediaSecondsLoaded+=t.end-t.start:this.mediaSecondsLoaded+=t.duration}shouldUpdateTransmuxerTimestampOffset_(t){return t===null?!1:this.loaderType_==="main"&&t!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&t!==this.sourceUpdater_.audioTimestampOffset()}trueSegmentStart_({currentStart:t,playlist:o,mediaIndex:c,firstVideoFrameTimeForData:y,currentVideoTimestampOffset:_,useVideoTimingInfo:P,videoTimingInfo:H,audioTimingInfo:ue}){if(typeof t<"u")return t;if(!P)return ue.start;const Te=o.segments[c-1];return c===0||!Te||typeof Te.start>"u"||Te.end!==y+_?y:H.start}waitForAppendsToComplete_(t){const o=this.getCurrentMediaInfo_(t);if(!o){this.error({message:"No starting media returned, likely due to an unsupported media format.",playlistExclusionDuration:1/0}),this.trigger("error");return}const{hasAudio:c,hasVideo:y,isMuxed:_}=o,P=this.loaderType_==="main"&&y,H=!this.audioDisabled_&&c&&!_;if(t.waitingOnAppends=0,!t.hasAppendedData_){!t.timingInfo&&typeof t.timestampOffset=="number"&&(this.isPendingTimestampOffset_=!0),t.timingInfo={start:0},t.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(t),this.processMetadataQueue_()),this.checkAppendsDone_(t);return}P&&t.waitingOnAppends++,H&&t.waitingOnAppends++,P&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,t)),H&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,t))}checkAppendsDone_(t){this.checkForAbort_(t.requestId)||(t.waitingOnAppends--,t.waitingOnAppends===0&&this.handleAppendsDone_())}checkForIllegalMediaSwitch(t){const o=Km(this.loaderType_,this.getCurrentMediaInfo_(),t);return o?(this.error({message:o,playlistExclusionDuration:1/0}),this.trigger("error"),!0):!1}updateSourceBufferTimestampOffset_(t){if(t.timestampOffset===null||typeof t.timingInfo.start!="number"||t.changedTimestampOffset||this.loaderType_!=="main")return;let o=!1;t.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:t.segment.videoTimingInfo,audioTimingInfo:t.segment.audioTimingInfo,timingInfo:t.timingInfo}),t.changedTimestampOffset=!0,t.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(t.timestampOffset),o=!0),t.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(t.timestampOffset),o=!0),o&&this.trigger("timestampoffset")}getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:t,audioTimingInfo:o,timingInfo:c}){return this.useDtsForTimestampOffset_?t&&typeof t.transmuxedDecodeStart=="number"?t.transmuxedDecodeStart:o&&typeof o.transmuxedDecodeStart=="number"?o.transmuxedDecodeStart:c.start:c.start}updateTimingInfoEnd_(t){t.timingInfo=t.timingInfo||{};const o=this.getMediaInfo_(),y=this.loaderType_==="main"&&o&&o.hasVideo&&t.videoTimingInfo?t.videoTimingInfo:t.audioTimingInfo;y&&(t.timingInfo.end=typeof y.end=="number"?y.end:y.start+t.duration)}handleAppendsDone_(){if(this.pendingSegment_){const ue={segmentInfo:Pf({type:this.loaderType_,segment:this.pendingSegment_})};this.trigger({type:"appendsdone",metadata:ue})}if(!this.pendingSegment_){this.state="READY",this.paused()||this.monitorBuffer_();return}const t=this.pendingSegment_;t.part&&t.part.syncInfo?t.part.syncInfo.markAppended():t.segment.syncInfo&&t.segment.syncInfo.markAppended(),this.updateTimingInfoEnd_(t),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:t,shouldSaveTimelineMapping:this.loaderType_==="main"});const o=qm(t,this.sourceType_);if(o&&(o.severity==="warn"?nn.log.warn(o.message):this.logger_(o.message)),this.recordThroughput_(t),this.pendingSegment_=null,this.state="READY",t.isSyncRequest&&(this.trigger("syncinfoupdate"),!t.hasAppendedData_)){this.logger_(`Throwing away un-appended sync request ${Qf(t)}`);return}this.logger_(`Appended ${Qf(t)}`),this.addSegmentMetadataCue_(t),this.fetchAtBuffer_=!0,this.currentTimeline_!==t.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:t.timeline}),this.loaderType_==="main"&&!this.audioDisabled_&&this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:t.timeline})),this.currentTimeline_=t.timeline,this.trigger("syncinfoupdate");const c=t.segment,y=t.part,_=c.end&&this.currentTime_()-c.end>t.playlist.targetDuration*3,P=y&&y.end&&this.currentTime_()-y.end>t.playlist.partTargetDuration*3;if(_||P){this.logger_(`bad ${_?"segment":"part"} ${Qf(t)}`),this.resetEverything();return}this.mediaIndex!==null&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=t.mediaIndex,this.partIndex=t.partIndex,this.isEndOfStream_(t.mediaIndex,t.playlist,t.partIndex)&&this.endOfStream(),this.trigger("appended"),t.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}recordThroughput_(t){if(t.duration<np){this.logger_(`Ignoring segment's throughput because its duration of ${t.duration} is less than the min to record ${np}`);return}const o=this.throughput.rate,c=Date.now()-t.endOfAllRequests+1,y=Math.floor(t.byteLength/c*8*1e3);this.throughput.rate+=(y-o)/++this.throughput.count}addSegmentMetadataCue_(t){if(!this.segmentMetadataTrack_)return;const o=t.segment,c=o.start,y=o.end;if(!If(c)||!If(y))return;Oh(c,y,this.segmentMetadataTrack_);const _=O().WebKitDataCue||O().VTTCue,P={custom:o.custom,dateTimeObject:o.dateTimeObject,dateTimeString:o.dateTimeString,programDateTime:o.programDateTime,bandwidth:t.playlist.attributes.BANDWIDTH,resolution:t.playlist.attributes.RESOLUTION,codecs:t.playlist.attributes.CODECS,byteLength:t.byteLength,uri:t.uri,timeline:t.timeline,playlist:t.playlist.id,start:c,end:y},H=JSON.stringify(P),ue=new _(c,y,H);ue.value=P,this.segmentMetadataTrack_.addCue(ue)}}function Kd(){}const P0=function(p){return typeof p!="string"?p:p.replace(/./,t=>t.toUpperCase())},eg=["video","audio"],Rp=(p,t)=>{const o=t[`${p}Buffer`];return o&&o.updating||t.queuePending[p]},tg=(p,t)=>{for(let o=0;o<t.length;o++){const c=t[o];if(c.type==="mediaSource")return null;if(c.type===p)return o}return null},Jf=(p,t)=>{if(t.queue.length===0)return;let o=0,c=t.queue[o];if(c.type==="mediaSource"){!t.updating()&&t.mediaSource.readyState!=="closed"&&(t.queue.shift(),c.action(t),c.doneFn&&c.doneFn(),Jf("audio",t),Jf("video",t));return}if(p!=="mediaSource"&&!(!t.ready()||t.mediaSource.readyState==="closed"||Rp(p,t))){if(c.type!==p){if(o=tg(p,t.queue),o===null)return;c=t.queue[o]}if(t.queue.splice(o,1),t.queuePending[p]=c,c.action(p,t),!c.doneFn){t.queuePending[p]=null,Jf(p,t);return}}},R0=(p,t)=>{const o=t[`${p}Buffer`],c=P0(p);o&&(o.removeEventListener("updateend",t[`on${c}UpdateEnd_`]),o.removeEventListener("error",t[`on${c}Error_`]),t.codecs[p]=null,t[`${p}Buffer`]=null)},Ad=(p,t)=>p&&t&&Array.prototype.indexOf.call(p.sourceBuffers,t)!==-1,Oc={appendBuffer:(p,t,o)=>(c,y)=>{const _=y[`${c}Buffer`];if(Ad(y.mediaSource,_)){y.logger_(`Appending segment ${t.mediaIndex}'s ${p.length} bytes to ${c}Buffer`);try{_.appendBuffer(p)}catch(P){y.logger_(`Error with code ${P.code} `+(P.code===Wh?"(QUOTA_EXCEEDED_ERR) ":"")+`when appending segment ${t.mediaIndex} to ${c}Buffer`),y.queuePending[c]=null,o(P)}}},remove:(p,t)=>(o,c)=>{const y=c[`${o}Buffer`];if(Ad(c.mediaSource,y)){c.logger_(`Removing ${p} to ${t} from ${o}Buffer`);try{y.remove(p,t)}catch{c.logger_(`Remove ${p} to ${t} from ${o}Buffer failed`)}}},timestampOffset:p=>(t,o)=>{const c=o[`${t}Buffer`];Ad(o.mediaSource,c)&&(o.logger_(`Setting ${t}timestampOffset to ${p}`),c.timestampOffset=p)},callback:p=>(t,o)=>{p()},endOfStream:p=>t=>{if(t.mediaSource.readyState==="open"){t.logger_(`Calling mediaSource endOfStream(${p||""})`);try{t.mediaSource.endOfStream(p)}catch(o){nn.log.warn("Failed to call media source endOfStream",o)}}},duration:p=>t=>{t.logger_(`Setting mediaSource duration to ${p}`);try{t.mediaSource.duration=p}catch(o){nn.log.warn("Failed to set media source duration",o)}},abort:()=>(p,t)=>{if(t.mediaSource.readyState!=="open")return;const o=t[`${p}Buffer`];if(Ad(t.mediaSource,o)){t.logger_(`calling abort on ${p}Buffer`);try{o.abort()}catch(c){nn.log.warn(`Failed to abort on ${p}Buffer`,c)}}},addSourceBuffer:(p,t)=>o=>{const c=P0(p),y=Et(t);o.logger_(`Adding ${p}Buffer with codec ${t} to mediaSource`);const _=o.mediaSource.addSourceBuffer(y);_.addEventListener("updateend",o[`on${c}UpdateEnd_`]),_.addEventListener("error",o[`on${c}Error_`]),o.codecs[p]=t,o[`${p}Buffer`]=_},removeSourceBuffer:p=>t=>{const o=t[`${p}Buffer`];if(R0(p,t),!!Ad(t.mediaSource,o)){t.logger_(`Removing ${p}Buffer with codec ${t.codecs[p]} from mediaSource`);try{t.mediaSource.removeSourceBuffer(o)}catch(c){nn.log.warn(`Failed to removeSourceBuffer ${p}Buffer`,c)}}},changeType:p=>(t,o)=>{const c=o[`${t}Buffer`],y=Et(p);if(!Ad(o.mediaSource,c))return;const _=p.substring(0,p.indexOf(".")),P=o.codecs[t];if(P.substring(0,P.indexOf("."))===_)return;const ue={codecsChangeInfo:{from:P,to:p}};o.trigger({type:"codecschange",metadata:ue}),o.logger_(`changing ${t}Buffer codec from ${P} to ${p}`);try{c.changeType(y),o.codecs[t]=p}catch(Te){ue.errorType=nn.Error.StreamingCodecsChangeError,ue.error=Te,Te.metadata=ue,o.error_=Te,o.trigger("error"),nn.log.warn(`Failed to changeType on ${t}Buffer`,Te)}}},Ic=({type:p,sourceUpdater:t,action:o,doneFn:c,name:y})=>{t.queue.push({type:p,action:o,doneFn:c,name:y}),Jf(p,t)},D0=(p,t)=>o=>{const c=t[`${p}Buffered`](),y=zo(c);if(t.logger_(`received "updateend" event for ${p} Source Buffer: `,y),t.queuePending[p]){const _=t.queuePending[p].doneFn;t.queuePending[p]=null,_&&_(t[`${p}Error_`])}Jf(p,t)};class L0 extends nn.EventTarget{constructor(t){super(),this.mediaSource=t,this.sourceopenListener_=()=>Jf("mediaSource",this),this.mediaSource.addEventListener("sourceopen",this.sourceopenListener_),this.logger_=mo("SourceUpdater"),this.audioTimestampOffset_=0,this.videoTimestampOffset_=0,this.queue=[],this.queuePending={audio:null,video:null},this.delayedAudioAppendQueue_=[],this.videoAppendQueued_=!1,this.codecs={},this.onVideoUpdateEnd_=D0("video",this),this.onAudioUpdateEnd_=D0("audio",this),this.onVideoError_=o=>{this.videoError_=o},this.onAudioError_=o=>{this.audioError_=o},this.createdSourceBuffers_=!1,this.initializedEme_=!1,this.triggeredReady_=!1}initializedEme(){this.initializedEme_=!0,this.triggerReady()}hasCreatedSourceBuffers(){return this.createdSourceBuffers_}hasInitializedAnyEme(){return this.initializedEme_}ready(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()}createSourceBuffers(t){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(t),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())}triggerReady(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))}addSourceBuffer(t,o){Ic({type:"mediaSource",sourceUpdater:this,action:Oc.addSourceBuffer(t,o),name:"addSourceBuffer"})}abort(t){Ic({type:t,sourceUpdater:this,action:Oc.abort(t),name:"abort"})}removeSourceBuffer(t){if(!this.canRemoveSourceBuffer()){nn.log.error("removeSourceBuffer is not supported!");return}Ic({type:"mediaSource",sourceUpdater:this,action:Oc.removeSourceBuffer(t),name:"removeSourceBuffer"})}canRemoveSourceBuffer(){return!nn.browser.IS_FIREFOX&&O().MediaSource&&O().MediaSource.prototype&&typeof O().MediaSource.prototype.removeSourceBuffer=="function"}static canChangeType(){return O().SourceBuffer&&O().SourceBuffer.prototype&&typeof O().SourceBuffer.prototype.changeType=="function"}canChangeType(){return this.constructor.canChangeType()}changeType(t,o){if(!this.canChangeType()){nn.log.error("changeType is not supported!");return}Ic({type:t,sourceUpdater:this,action:Oc.changeType(o),name:"changeType"})}addOrChangeSourceBuffers(t){if(!t||typeof t!="object"||Object.keys(t).length===0)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(t).forEach(o=>{const c=t[o];if(!this.hasCreatedSourceBuffers())return this.addSourceBuffer(o,c);this.canChangeType()&&this.changeType(o,c)})}appendBuffer(t,o){const{segmentInfo:c,type:y,bytes:_}=t;if(this.processedAppend_=!0,y==="audio"&&this.videoBuffer&&!this.videoAppendQueued_){this.delayedAudioAppendQueue_.push([t,o]),this.logger_(`delayed audio append of ${_.length} until video append`);return}const P=o;if(Ic({type:y,sourceUpdater:this,action:Oc.appendBuffer(_,c||{mediaIndex:-1},P),doneFn:o,name:"appendBuffer"}),y==="video"){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;const H=this.delayedAudioAppendQueue_.slice();this.logger_(`queuing delayed audio ${H.length} appendBuffers`),this.delayedAudioAppendQueue_.length=0,H.forEach(ue=>{this.appendBuffer.apply(this,ue)})}}audioBuffered(){return Ad(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:Po()}videoBuffered(){return Ad(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:Po()}buffered(){const t=Ad(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,o=Ad(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return o&&!t?this.audioBuffered():t&&!o?this.videoBuffered():Mh(this.audioBuffered(),this.videoBuffered())}setDuration(t,o=Kd){Ic({type:"mediaSource",sourceUpdater:this,action:Oc.duration(t),name:"duration",doneFn:o})}endOfStream(t=null,o=Kd){typeof t!="string"&&(t=void 0),Ic({type:"mediaSource",sourceUpdater:this,action:Oc.endOfStream(t),name:"endOfStream",doneFn:o})}removeAudio(t,o,c=Kd){if(!this.audioBuffered().length||this.audioBuffered().end(0)===0){c();return}Ic({type:"audio",sourceUpdater:this,action:Oc.remove(t,o),doneFn:c,name:"remove"})}removeVideo(t,o,c=Kd){if(!this.videoBuffered().length||this.videoBuffered().end(0)===0){c();return}Ic({type:"video",sourceUpdater:this,action:Oc.remove(t,o),doneFn:c,name:"remove"})}updating(){return!!(Rp("audio",this)||Rp("video",this))}audioTimestampOffset(t){return typeof t<"u"&&this.audioBuffer&&this.audioTimestampOffset_!==t&&(Ic({type:"audio",sourceUpdater:this,action:Oc.timestampOffset(t),name:"timestampOffset"}),this.audioTimestampOffset_=t),this.audioTimestampOffset_}videoTimestampOffset(t){return typeof t<"u"&&this.videoBuffer&&this.videoTimestampOffset_!==t&&(Ic({type:"video",sourceUpdater:this,action:Oc.timestampOffset(t),name:"timestampOffset"}),this.videoTimestampOffset_=t),this.videoTimestampOffset_}audioQueueCallback(t){this.audioBuffer&&Ic({type:"audio",sourceUpdater:this,action:Oc.callback(t),name:"callback"})}videoQueueCallback(t){this.videoBuffer&&Ic({type:"video",sourceUpdater:this,action:Oc.callback(t),name:"callback"})}dispose(){this.trigger("dispose"),eg.forEach(t=>{this.abort(t),this.canRemoveSourceBuffer()?this.removeSourceBuffer(t):this[`${t}QueueCallback`](()=>R0(t,this))}),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()}}const M0=p=>decodeURIComponent(escape(String.fromCharCode.apply(null,p))),rg=p=>{const t=new Uint8Array(p);return Array.from(t).map(o=>o.toString(16).padStart(2,"0")).join("")},k0=new Uint8Array(` 990 991`.split("").map(p=>p.charCodeAt(0)));class ng extends Error{constructor(){super("Trying to parse received VTT cues, but there is no WebVTT. Make sure vtt.js is loaded.")}}class ig extends Pp{constructor(t,o={}){super(t,o),this.mediaSource_=null,this.subtitlesTrack_=null,this.featuresNativeTextTracks_=t.featuresNativeTextTracks,this.loadVttJs=t.loadVttJs,this.shouldSaveSegmentTimingInfo_=!1}buffered_(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return Po();const t=this.subtitlesTrack_.cues,o=t[0].startTime,c=t[t.length-1].startTime;return Po([[o,c]])}initSegmentForMap(t,o=!1){if(!t)return null;const c=Of(t);let y=this.initSegments_[c];if(o&&!y&&t.bytes){const _=k0.byteLength+t.bytes.byteLength,P=new Uint8Array(_);P.set(t.bytes),P.set(k0,t.bytes.byteLength),this.initSegments_[c]=y={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:P}}return y||t}couldBeginLoading_(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()}init_(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}track(t){return typeof t>"u"?this.subtitlesTrack_:(this.subtitlesTrack_=t,this.state==="INIT"&&this.couldBeginLoading_()&&this.init_(),this.subtitlesTrack_)}remove(t,o){Oh(t,o,this.subtitlesTrack_)}fillBuffer_(){const t=this.chooseNextRequest_();if(t){if(this.syncController_.timestampOffsetForTimeline(t.timeline)===null){const o=()=>{this.state="READY",this.paused()||this.monitorBuffer_()};this.syncController_.one("timestampoffset",o),this.state="WAITING_ON_TIMELINE";return}this.loadSegment_(t)}}timestampOffsetForSegment_(){return null}chooseNextRequest_(){return this.skipEmptySegments_(super.chooseNextRequest_())}skipEmptySegments_(t){for(;t&&t.segment.empty;){if(t.mediaIndex+1>=t.playlist.segments.length){t=null;break}t=this.generateSegmentInfo_({playlist:t.playlist,mediaIndex:t.mediaIndex+1,startOfSegment:t.startOfSegment+t.duration,isSyncRequest:t.isSyncRequest})}return t}stopForError(t){this.error(t),this.state="READY",this.pause(),this.trigger("error")}segmentRequestFinished_(t,o,c){if(!this.subtitlesTrack_){this.state="READY";return}if(this.saveTransferStats_(o.stats),!this.pendingSegment_){this.state="READY",this.mediaRequestsAborted+=1;return}if(t){t.code===Cd.TIMEOUT&&this.handleTimeout_(),t.code===Cd.ABORTED?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,this.stopForError(t);return}const y=this.pendingSegment_,_=c.mp4VttCues&&c.mp4VttCues.length;_&&(y.mp4VttCues=c.mp4VttCues),this.saveBandwidthRelatedStats_(y.duration,o.stats),o.key&&this.segmentKey(o.key,!0),this.state="APPENDING",this.trigger("appending");const P=y.segment;if(P.map&&(P.map.bytes=o.map.bytes),y.bytes=o.bytes,typeof O().WebVTT!="function"&&typeof this.loadVttJs=="function"){this.state="WAITING_ON_VTTJS",this.loadVttJs().then(()=>this.segmentRequestFinished_(t,o,c),()=>this.stopForError({message:"Error loading vtt.js"}));return}P.requested=!0;try{this.parseVTTCues_(y)}catch(H){this.stopForError({message:H.message,metadata:{errorType:nn.Error.StreamingVttParserError,error:H}});return}if(_||this.updateTimeMapping_(y,this.syncController_.timelines[y.timeline],this.playlist_),y.cues.length?y.timingInfo={start:y.cues[0].startTime,end:y.cues[y.cues.length-1].endTime}:y.timingInfo={start:y.startOfSegment,end:y.startOfSegment+y.duration},y.isSyncRequest){this.trigger("syncinfoupdate"),this.pendingSegment_=null,this.state="READY";return}y.byteLength=y.bytes.byteLength,this.mediaSecondsLoaded+=P.duration,y.cues.forEach(H=>{this.subtitlesTrack_.addCue(this.featuresNativeTextTracks_?new(O()).VTTCue(H.startTime,H.endTime,H.text):H)}),Hm(this.subtitlesTrack_),this.handleAppendsDone_()}handleData_(t,o){const c=t&&t.type==="vtt",y=o&&o.type==="text";c&&y&&super.handleData_(t,o)}updateTimingInfoEnd_(){}parseMp4VttCues_(t){const o=this.sourceUpdater_.videoTimestampOffset()===null?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();t.mp4VttCues.forEach(c=>{const y=c.start+o,_=c.end+o,P=new(O()).VTTCue(y,_,c.cueText);c.settings&&c.settings.split(" ").forEach(H=>{const ue=H.split(":"),Te=ue[0],Ye=ue[1];P[Te]=isNaN(Ye)?Ye:Number(Ye)}),t.cues.push(P)})}parseVTTCues_(t){let o,c=!1;if(typeof O().WebVTT!="function")throw new ng;if(t.cues=[],t.timestampmap={MPEGTS:0,LOCAL:0},t.mp4VttCues){this.parseMp4VttCues_(t);return}typeof O().TextDecoder=="function"?o=new(O()).TextDecoder("utf8"):(o=O().WebVTT.StringDecoder(),c=!0);const y=new(O()).WebVTT.Parser(O(),O().vttjs,o);if(y.oncue=t.cues.push.bind(t.cues),y.ontimestampmap=P=>{t.timestampmap=P},y.onparsingerror=P=>{nn.log.warn("Error encountered when parsing cues: "+P.message)},t.segment.map){let P=t.segment.map.bytes;c&&(P=M0(P)),y.parse(P)}let _=t.bytes;c&&(_=M0(_)),y.parse(_),y.flush()}updateTimeMapping_(t,o,c){const y=t.segment;if(!o)return;if(!t.cues.length){y.empty=!0;return}const{MPEGTS:_,LOCAL:P}=t.timestampmap,ue=_/jr.ONE_SECOND_IN_TS-P+o.mapping;if(t.cues.forEach(Te=>{const Ye=Te.endTime-Te.startTime,xt=this.handleRollover_(Te.startTime+ue,o.time);Te.startTime=Math.max(xt,0),Te.endTime=Math.max(xt+Ye,0)}),!c.syncInfo){const Te=t.cues[0].startTime,Ye=t.cues[t.cues.length-1].startTime;c.syncInfo={mediaSequence:c.mediaSequence+t.mediaIndex,time:Math.min(Te,Ye-y.duration)}}}handleRollover_(t,o){if(o===null)return t;let c=t*jr.ONE_SECOND_IN_TS;const y=o*jr.ONE_SECOND_IN_TS;let _;for(y<c?_=-8589934592:_=8589934592;Math.abs(c-y)>4294967296;)c+=_;return c/jr.ONE_SECOND_IN_TS}}const Dp=function(p,t){const o=p.cues;for(let c=0;c<o.length;c++){const y=o[c];if(t>=y.adStartTime&&t<=y.adEndTime)return y}return null},N0=function(p,t,o=0){if(!p.segments)return;let c=o,y;for(let _=0;_<p.segments.length;_++){const P=p.segments[_];if(y||(y=Dp(t,c+P.duration/2)),y){if("cueIn"in P){y.endTime=c,y.adEndTime=c,c+=P.duration,y=null;continue}if(c<y.endTime){c+=P.duration;continue}y.endTime+=P.duration}else if("cueOut"in P&&(y=new(O()).VTTCue(c,c+P.duration,P.cueOut),y.adStartTime=c,y.adEndTime=c+parseFloat(P.cueOut),t.addCue(y)),"cueOutCont"in P){const[H,ue]=P.cueOutCont.split("/").map(parseFloat);y=new(O()).VTTCue(c,c+P.duration,""),y.adStartTime=c-H,y.adEndTime=y.adStartTime+ue,t.addCue(y)}c+=P.duration}};class Lp{constructor({start:t,end:o,segmentIndex:c,partIndex:y=null,appended:_=!1}){this.start_=t,this.end_=o,this.segmentIndex_=c,this.partIndex_=y,this.appended_=_}isInRange(t){return t>=this.start&&t<this.end}markAppended(){this.appended_=!0}resetAppendedStatus(){this.appended_=!1}get isAppended(){return this.appended_}get start(){return this.start_}get end(){return this.end_}get segmentIndex(){return this.segmentIndex_}get partIndex(){return this.partIndex_}}class sg{constructor(t,o=[]){this.segmentSyncInfo_=t,this.partsSyncInfo_=o}get segmentSyncInfo(){return this.segmentSyncInfo_}get partsSyncInfo(){return this.partsSyncInfo_}get hasPartsSyncInfo(){return this.partsSyncInfo_.length>0}resetAppendStatus(){this.segmentSyncInfo_.resetAppendedStatus(),this.partsSyncInfo_.forEach(t=>t.resetAppendedStatus())}}class F0{constructor(){this.storage_=new Map,this.diagnostics_="",this.isReliable_=!1,this.start_=-1/0,this.end_=1/0}get start(){return this.start_}get end(){return this.end_}get diagnostics(){return this.diagnostics_}get isReliable(){return this.isReliable_}resetAppendedStatus(){this.storage_.forEach(t=>t.resetAppendStatus())}update(t,o){const{mediaSequence:c,segments:y}=t;if(this.isReliable_=this.isReliablePlaylist_(c,y),!!this.isReliable_)return this.updateStorage_(y,c,this.calculateBaseTime_(c,y,o))}getSyncInfoForTime(t){for(const{segmentSyncInfo:o,partsSyncInfo:c}of this.storage_.values())if(c.length){for(const y of c)if(y.isInRange(t))return y}else if(o.isInRange(t))return o;return null}getSyncInfoForMediaSequence(t){return this.storage_.get(t)}updateStorage_(t,o,c){const y=new Map;let _=` 992`,P=c,H=o;this.start_=P,t.forEach((ue,Te)=>{const Ye=this.storage_.get(H),xt=P,or=xt+ue.duration,Ir=!!(Ye&&Ye.segmentSyncInfo&&Ye.segmentSyncInfo.isAppended),Qr=new Lp({start:xt,end:or,appended:Ir,segmentIndex:Te});ue.syncInfo=Qr;let Rt=P;const kn=(ue.parts||[]).map((Dn,Tn)=>{const rn=Rt,zn=Rt+Dn.duration,Nn=!!(Ye&&Ye.partsSyncInfo&&Ye.partsSyncInfo[Tn]&&Ye.partsSyncInfo[Tn].isAppended),yi=new Lp({start:rn,end:zn,appended:Nn,segmentIndex:Te,partIndex:Tn});return Rt=zn,_+=`Media Sequence: ${H}.${Tn} | Range: ${rn} --> ${zn} | Appended: ${Nn} 993`,Dn.syncInfo=yi,yi});y.set(H,new sg(Qr,kn)),_+=`${Yl(ue.resolvedUri)} | Media Sequence: ${H} | Range: ${xt} --> ${or} | Appended: ${Ir} 994`,H++,P=or}),this.end_=P,this.storage_=y,this.diagnostics_=_}calculateBaseTime_(t,o,c){if(!this.storage_.size)return 0;if(this.storage_.has(t))return this.storage_.get(t).segmentSyncInfo.start;const y=Math.min(...this.storage_.keys());if(t<y){const _=y-t;let P=this.storage_.get(y).segmentSyncInfo.start;for(let H=0;H<_;H++){const ue=o[H];P-=ue.duration}return P}return c}isReliablePlaylist_(t,o){return t!=null&&Array.isArray(o)&&o.length}}class B0 extends F0{constructor(t){super(),this.parent_=t}calculateBaseTime_(t,o,c){if(!this.storage_.size){const y=this.parent_.getSyncInfoForMediaSequence(t);return y?y.segmentSyncInfo.start:0}return super.calculateBaseTime_(t,o,c)}}const Mp=86400,kp=[{name:"VOD",run:(p,t,o,c,y)=>o!==1/0?{time:0,segmentIndex:0,partIndex:null}:null},{name:"MediaSequence",run:(p,t,o,c,y,_)=>{const P=p.getMediaSequenceSync(_);if(!P||!P.isReliable)return null;const H=P.getSyncInfoForTime(y);return H?{time:H.start,partIndex:H.partIndex,segmentIndex:H.segmentIndex}:null}},{name:"ProgramDateTime",run:(p,t,o,c,y)=>{if(!Object.keys(p.timelineToDatetimeMappings).length)return null;let _=null,P=null;const H=lh(t);y=y||0;for(let ue=0;ue<H.length;ue++){const Te=t.endList||y===0?ue:H.length-(ue+1),Ye=H[Te],xt=Ye.segment,or=p.timelineToDatetimeMappings[xt.timeline];if(!or||!xt.dateTimeObject)continue;let Qr=xt.dateTimeObject.getTime()/1e3+or;if(xt.parts&&typeof Ye.partIndex=="number")for(let kn=0;kn<Ye.partIndex;kn++)Qr+=xt.parts[kn].duration;const Rt=Math.abs(y-Qr);if(P!==null&&(Rt===0||P<Rt))break;P=Rt,_={time:Qr,segmentIndex:Ye.segmentIndex,partIndex:Ye.partIndex}}return _}},{name:"Segment",run:(p,t,o,c,y)=>{let _=null,P=null;y=y||0;const H=lh(t);for(let ue=0;ue<H.length;ue++){const Te=t.endList||y===0?ue:H.length-(ue+1),Ye=H[Te],xt=Ye.segment,or=Ye.part&&Ye.part.start||xt&&xt.start;if(xt.timeline===c&&typeof or<"u"){const Ir=Math.abs(y-or);if(P!==null&&P<Ir)break;(!_||P===null||P>=Ir)&&(P=Ir,_={time:or,segmentIndex:Ye.segmentIndex,partIndex:Ye.partIndex})}}return _}},{name:"Discontinuity",run:(p,t,o,c,y)=>{let _=null;if(y=y||0,t.discontinuityStarts&&t.discontinuityStarts.length){let P=null;for(let H=0;H<t.discontinuityStarts.length;H++){const ue=t.discontinuityStarts[H],Te=t.discontinuitySequence+H+1,Ye=p.discontinuities[Te];if(Ye){const xt=Math.abs(y-Ye.time);if(P!==null&&P<xt)break;(!_||P===null||P>=xt)&&(P=xt,_={time:Ye.time,segmentIndex:ue,partIndex:null})}}}return _}},{name:"Playlist",run:(p,t,o,c,y)=>t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}];class ag extends nn.EventTarget{constructor(t={}){super(),this.timelines=[],this.discontinuities=[],this.timelineToDatetimeMappings={};const o=new F0,c=new B0(o),y=new B0(o);this.mediaSequenceStorage_={main:o,audio:c,vtt:y},this.logger_=mo("SyncController")}getMediaSequenceSync(t){return this.mediaSequenceStorage_[t]||null}getSyncPoint(t,o,c,y,_){if(o!==1/0)return kp.find(({name:ue})=>ue==="VOD").run(this,t,o);const P=this.runStrategies_(t,o,c,y,_);if(!P.length)return null;for(const H of P){const{syncPoint:ue,strategy:Te}=H,{segmentIndex:Ye,time:xt}=ue;if(Ye<0)continue;const or=t.segments[Ye],Ir=xt,Qr=Ir+or.duration;if(this.logger_(`Strategy: ${Te}. Current time: ${y}. selected segment: ${Ye}. Time: [${Ir} -> ${Qr}]}`),y>=Ir&&y<Qr)return this.logger_("Found sync point with exact match: ",ue),ue}return this.selectSyncPoint_(P,{key:"time",value:y})}getExpiredTime(t,o){if(!t||!t.segments)return null;const c=this.runStrategies_(t,o,t.discontinuitySequence,0);if(!c.length)return null;const y=this.selectSyncPoint_(c,{key:"segmentIndex",value:0});return y.segmentIndex>0&&(y.time*=-1),Math.abs(y.time+$c({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:y.segmentIndex,endIndex:0}))}runStrategies_(t,o,c,y,_){const P=[];for(let H=0;H<kp.length;H++){const ue=kp[H],Te=ue.run(this,t,o,c,y,_);Te&&(Te.strategy=ue.name,P.push({strategy:ue.name,syncPoint:Te}))}return P}selectSyncPoint_(t,o){let c=t[0].syncPoint,y=Math.abs(t[0].syncPoint[o.key]-o.value),_=t[0].strategy;for(let P=1;P<t.length;P++){const H=Math.abs(t[P].syncPoint[o.key]-o.value);H<y&&(y=H,c=t[P].syncPoint,_=t[P].strategy)}return this.logger_(`syncPoint for [${o.key}: ${o.value}] chosen with strategy [${_}]: [time:${c.time}, segmentIndex:${c.segmentIndex}`+(typeof c.partIndex=="number"?`,partIndex:${c.partIndex}`:"")+"]"),c}saveExpiredSegmentInfo(t,o){const c=o.mediaSequence-t.mediaSequence;if(c>Mp){nn.log.warn(`Not saving expired segment info. Media sequence gap ${c} is too large.`);return}for(let y=c-1;y>=0;y--){const _=t.segments[y];if(_&&typeof _.start<"u"){o.syncInfo={mediaSequence:t.mediaSequence+y,time:_.start},this.logger_(`playlist refresh sync: [time:${o.syncInfo.time}, mediaSequence: ${o.syncInfo.mediaSequence}]`),this.trigger("syncinfoupdate");break}}}setDateTimeMappingForStart(t){if(this.timelineToDatetimeMappings={},t.segments&&t.segments.length&&t.segments[0].dateTimeObject){const o=t.segments[0],c=o.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[o.timeline]=-c}}saveSegmentTimingInfo({segmentInfo:t,shouldSaveTimelineMapping:o}){const c=this.calculateSegmentTimeMapping_(t,t.timingInfo,o),y=t.segment;c&&(this.saveDiscontinuitySyncInfo_(t),t.playlist.syncInfo||(t.playlist.syncInfo={mediaSequence:t.playlist.mediaSequence+t.mediaIndex,time:y.start}));const _=y.dateTimeObject;y.discontinuity&&o&&_&&(this.timelineToDatetimeMappings[y.timeline]=-(_.getTime()/1e3))}timestampOffsetForTimeline(t){return typeof this.timelines[t]>"u"?null:this.timelines[t].time}mappingForTimeline(t){return typeof this.timelines[t]>"u"?null:this.timelines[t].mapping}calculateSegmentTimeMapping_(t,o,c){const y=t.segment,_=t.part;let P=this.timelines[t.timeline],H,ue;if(typeof t.timestampOffset=="number")P={time:t.startOfSegment,mapping:t.startOfSegment-o.start},c&&(this.timelines[t.timeline]=P,this.trigger("timestampoffset"),this.logger_(`time mapping for timeline ${t.timeline}: [time: ${P.time}] [mapping: ${P.mapping}]`)),H=t.startOfSegment,ue=o.end+P.mapping;else if(P)H=o.start+P.mapping,ue=o.end+P.mapping;else return!1;return _&&(_.start=H,_.end=ue),(!y.start||H<y.start)&&(y.start=H),y.end=ue,!0}saveDiscontinuitySyncInfo_(t){const o=t.playlist,c=t.segment;if(c.discontinuity)this.discontinuities[c.timeline]={time:c.start,accuracy:0};else if(o.discontinuityStarts&&o.discontinuityStarts.length)for(let y=0;y<o.discontinuityStarts.length;y++){const _=o.discontinuityStarts[y],P=o.discontinuitySequence+y+1,H=_-t.mediaIndex,ue=Math.abs(H);if(!this.discontinuities[P]||this.discontinuities[P].accuracy>ue){let Te;H<0?Te=c.start-$c({defaultDuration:o.targetDuration,durationList:o.segments,startIndex:t.mediaIndex,endIndex:_}):Te=c.end+$c({defaultDuration:o.targetDuration,durationList:o.segments,startIndex:t.mediaIndex+1,endIndex:_}),this.discontinuities[P]={time:Te,accuracy:ue}}}}dispose(){this.trigger("dispose"),this.off()}}class og extends nn.EventTarget{constructor(){super(),this.pendingTimelineChanges_={},this.lastTimelineChanges_={}}clearPendingTimelineChange(t){this.pendingTimelineChanges_[t]=null,this.trigger("pendingtimelinechange")}pendingTimelineChange({type:t,from:o,to:c}){return typeof o=="number"&&typeof c=="number"&&(this.pendingTimelineChanges_[t]={type:t,from:o,to:c},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[t]}lastTimelineChange({type:t,from:o,to:c}){if(typeof o=="number"&&typeof c=="number"){this.lastTimelineChanges_[t]={type:t,from:o,to:c},delete this.pendingTimelineChanges_[t];const y={timelineChangeInfo:{from:o,to:c}};this.trigger({type:"timelinechange",metadata:y})}return this.lastTimelineChanges_[t]}dispose(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()}}const dc=f0(h0(function(){var p=(function(){function Rt(){this.listeners={}}var kn=Rt.prototype;return kn.on=function(Tn,rn){this.listeners[Tn]||(this.listeners[Tn]=[]),this.listeners[Tn].push(rn)},kn.off=function(Tn,rn){if(!this.listeners[Tn])return!1;var zn=this.listeners[Tn].indexOf(rn);return this.listeners[Tn]=this.listeners[Tn].slice(0),this.listeners[Tn].splice(zn,1),zn>-1},kn.trigger=function(Tn){var rn=this.listeners[Tn];if(rn)if(arguments.length===2)for(var zn=rn.length,Nn=0;Nn<zn;++Nn)rn[Nn].call(this,arguments[1]);else for(var yi=Array.prototype.slice.call(arguments,1),Gn=rn.length,bi=0;bi<Gn;++bi)rn[bi].apply(this,yi)},kn.dispose=function(){this.listeners={}},kn.pipe=function(Tn){this.on("data",function(rn){Tn.push(rn)})},Rt})();/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */function t(Rt){return Rt.subarray(0,Rt.byteLength-Rt[Rt.byteLength-1])}/*! @name aes-decrypter @version 4.0.2 @license Apache-2.0 */const o=function(){const Rt=[[[],[],[],[],[]],[[],[],[],[],[]]],kn=Rt[0],Dn=Rt[1],Tn=kn[4],rn=Dn[4];let zn,Nn,yi;const Gn=[],bi=[];let na,go,Ho,Co,Os,Ds;for(zn=0;zn<256;zn++)bi[(Gn[zn]=zn<<1^(zn>>7)*283)^zn]=zn;for(Nn=yi=0;!Tn[Nn];Nn^=na||1,yi=bi[yi]||1)for(Co=yi^yi<<1^yi<<2^yi<<3^yi<<4,Co=Co>>8^Co&255^99,Tn[Nn]=Co,rn[Co]=Nn,Ho=Gn[go=Gn[na=Gn[Nn]]],Ds=Ho*16843009^go*65537^na*257^Nn*16843008,Os=Gn[Co]*257^Co*16843008,zn=0;zn<4;zn++)kn[zn][Nn]=Os=Os<<24^Os>>>8,Dn[zn][Co]=Ds=Ds<<24^Ds>>>8;for(zn=0;zn<5;zn++)kn[zn]=kn[zn].slice(0),Dn[zn]=Dn[zn].slice(0);return Rt};let c=null;class y{constructor(kn){c||(c=o()),this._tables=[[c[0][0].slice(),c[0][1].slice(),c[0][2].slice(),c[0][3].slice(),c[0][4].slice()],[c[1][0].slice(),c[1][1].slice(),c[1][2].slice(),c[1][3].slice(),c[1][4].slice()]];let Dn,Tn,rn;const zn=this._tables[0][4],Nn=this._tables[1],yi=kn.length;let Gn=1;if(yi!==4&&yi!==6&&yi!==8)throw new Error("Invalid aes key size");const bi=kn.slice(0),na=[];for(this._key=[bi,na],Dn=yi;Dn<4*yi+28;Dn++)rn=bi[Dn-1],(Dn%yi===0||yi===8&&Dn%yi===4)&&(rn=zn[rn>>>24]<<24^zn[rn>>16&255]<<16^zn[rn>>8&255]<<8^zn[rn&255],Dn%yi===0&&(rn=rn<<8^rn>>>24^Gn<<24,Gn=Gn<<1^(Gn>>7)*283)),bi[Dn]=bi[Dn-yi]^rn;for(Tn=0;Dn;Tn++,Dn--)rn=bi[Tn&3?Dn:Dn-4],Dn<=4||Tn<4?na[Tn]=rn:na[Tn]=Nn[0][zn[rn>>>24]]^Nn[1][zn[rn>>16&255]]^Nn[2][zn[rn>>8&255]]^Nn[3][zn[rn&255]]}decrypt(kn,Dn,Tn,rn,zn,Nn){const yi=this._key[1];let Gn=kn^yi[0],bi=rn^yi[1],na=Tn^yi[2],go=Dn^yi[3],Ho,Co,Os;const Ds=yi.length/4-2;let Ro,Ao=4;const al=this._tables[1],Kl=al[0],Id=al[1],Gc=al[2],Pd=al[3],Rd=al[4];for(Ro=0;Ro<Ds;Ro++)Ho=Kl[Gn>>>24]^Id[bi>>16&255]^Gc[na>>8&255]^Pd[go&255]^yi[Ao],Co=Kl[bi>>>24]^Id[na>>16&255]^Gc[go>>8&255]^Pd[Gn&255]^yi[Ao+1],Os=Kl[na>>>24]^Id[go>>16&255]^Gc[Gn>>8&255]^Pd[bi&255]^yi[Ao+2],go=Kl[go>>>24]^Id[Gn>>16&255]^Gc[bi>>8&255]^Pd[na&255]^yi[Ao+3],Ao+=4,Gn=Ho,bi=Co,na=Os;for(Ro=0;Ro<4;Ro++)zn[(3&-Ro)+Nn]=Rd[Gn>>>24]<<24^Rd[bi>>16&255]<<16^Rd[na>>8&255]<<8^Rd[go&255]^yi[Ao++],Ho=Gn,Gn=bi,bi=na,na=go,go=Ho}}class _ extends p{constructor(){super(p),this.jobs=[],this.delay=1,this.timeout_=null}processJob_(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null}push(kn){this.jobs.push(kn),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))}}const P=function(Rt){return Rt<<24|(Rt&65280)<<8|(Rt&16711680)>>8|Rt>>>24},H=function(Rt,kn,Dn){const Tn=new Int32Array(Rt.buffer,Rt.byteOffset,Rt.byteLength>>2),rn=new y(Array.prototype.slice.call(kn)),zn=new Uint8Array(Rt.byteLength),Nn=new Int32Array(zn.buffer);let yi,Gn,bi,na,go,Ho,Co,Os,Ds;for(yi=Dn[0],Gn=Dn[1],bi=Dn[2],na=Dn[3],Ds=0;Ds<Tn.length;Ds+=4)go=P(Tn[Ds]),Ho=P(Tn[Ds+1]),Co=P(Tn[Ds+2]),Os=P(Tn[Ds+3]),rn.decrypt(go,Ho,Co,Os,Nn,Ds),Nn[Ds]=P(Nn[Ds]^yi),Nn[Ds+1]=P(Nn[Ds+1]^Gn),Nn[Ds+2]=P(Nn[Ds+2]^bi),Nn[Ds+3]=P(Nn[Ds+3]^na),yi=go,Gn=Ho,bi=Co,na=Os;return zn};class ue{constructor(kn,Dn,Tn,rn){const zn=ue.STEP,Nn=new Int32Array(kn.buffer),yi=new Uint8Array(kn.byteLength);let Gn=0;for(this.asyncStream_=new _,this.asyncStream_.push(this.decryptChunk_(Nn.subarray(Gn,Gn+zn),Dn,Tn,yi)),Gn=zn;Gn<Nn.length;Gn+=zn)Tn=new Uint32Array([P(Nn[Gn-4]),P(Nn[Gn-3]),P(Nn[Gn-2]),P(Nn[Gn-1])]),this.asyncStream_.push(this.decryptChunk_(Nn.subarray(Gn,Gn+zn),Dn,Tn,yi));this.asyncStream_.push(function(){rn(null,t(yi))})}static get STEP(){return 32e3}decryptChunk_(kn,Dn,Tn,rn){return function(){const zn=H(kn,Dn,Tn);rn.set(zn,kn.byteOffset)}}}var Te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},Ye;typeof window<"u"?Ye=window:typeof Te<"u"?Ye=Te:typeof self<"u"?Ye=self:Ye={};var xt=Ye,or=function(kn){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(kn):kn&&kn.buffer instanceof ArrayBuffer},Ir=xt.BigInt||Number;Ir("0x1"),Ir("0x100"),Ir("0x10000"),Ir("0x1000000"),Ir("0x100000000"),Ir("0x10000000000"),Ir("0x1000000000000"),Ir("0x100000000000000"),Ir("0x10000000000000000"),(function(){var Rt=new Uint16Array([65484]),kn=new Uint8Array(Rt.buffer,Rt.byteOffset,Rt.byteLength);return kn[0]===255?"big":kn[0]===204?"little":"unknown"})();const Qr=function(Rt){const kn={};return Object.keys(Rt).forEach(Dn=>{const Tn=Rt[Dn];or(Tn)?kn[Dn]={bytes:Tn.buffer,byteOffset:Tn.byteOffset,byteLength:Tn.byteLength}:kn[Dn]=Tn}),kn};self.onmessage=function(Rt){const kn=Rt.data,Dn=new Uint8Array(kn.encrypted.bytes,kn.encrypted.byteOffset,kn.encrypted.byteLength),Tn=new Uint32Array(kn.key.bytes,kn.key.byteOffset,kn.key.byteLength/4),rn=new Uint32Array(kn.iv.bytes,kn.iv.byteOffset,kn.iv.byteLength/4);new ue(Dn,Tn,rn,function(zn,Nn){self.postMessage(Qr({source:kn.source,decrypted:Nn}),[Nn.buffer])})}}));var Np=d0(dc);const ug=p=>{let t=p.default?"main":"alternative";return p.characteristics&&p.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},U0=(p,t)=>{p.abort(),p.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},Fp=(p,t)=>{t.activePlaylistLoader=p,p.load()},lg=(p,t)=>()=>{const{segmentLoaders:{[p]:o,main:c},mediaTypes:{[p]:y}}=t,_=y.activeTrack(),P=y.getActiveGroup(),H=y.activePlaylistLoader,ue=y.lastGroup_;if(!(P&&ue&&P.id===ue.id)&&(y.lastGroup_=P,y.lastTrack_=_,U0(o,y),!(!P||P.isMainPlaylist))){if(!P.playlistLoader){H&&c.resetEverything();return}o.resyncLoader(),Fp(P.playlistLoader,y)}},Bp=(p,t)=>()=>{const{segmentLoaders:{[p]:o},mediaTypes:{[p]:c}}=t;c.lastGroup_=null,o.abort(),o.pause()},cg=(p,t)=>()=>{const{mainPlaylistLoader:o,segmentLoaders:{[p]:c,main:y},mediaTypes:{[p]:_}}=t,P=_.activeTrack(),H=_.getActiveGroup(),ue=_.activePlaylistLoader,Te=_.lastTrack_;if(!(Te&&P&&Te.id===P.id)&&(_.lastGroup_=H,_.lastTrack_=P,U0(c,_),!!H)){if(H.isMainPlaylist){if(!P||!Te||P.id===Te.id)return;const Ye=t.vhs.playlistController_,xt=Ye.selectPlaylist();if(Ye.media()===xt)return;_.logger_(`track change. Switching main audio from ${Te.id} to ${P.id}`),o.pause(),y.resetEverything(),Ye.fastQualityChange_(xt);return}if(p==="AUDIO"){if(!H.playlistLoader){y.setAudio(!0),y.resetEverything();return}c.setAudio(!0),y.setAudio(!1)}if(ue===H.playlistLoader){Fp(H.playlistLoader,_);return}c.track&&c.track(P),c.resetEverything(),Fp(H.playlistLoader,_)}},Zf={AUDIO:(p,t)=>()=>{const{mediaTypes:{[p]:o},excludePlaylist:c}=t,y=o.activeTrack(),_=o.activeGroup(),P=(_.filter(ue=>ue.default)[0]||_[0]).id,H=o.tracks[P];if(y===H){c({error:{message:"Problem encountered loading the default audio track."}});return}nn.log.warn("Problem encountered loading the alternate audio track.Switching back to default.");for(const ue in o.tracks)o.tracks[ue].enabled=o.tracks[ue]===H;o.onTrackChanged()},SUBTITLES:(p,t)=>()=>{const{mediaTypes:{[p]:o}}=t;nn.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track.");const c=o.activeTrack();c&&(c.mode="disabled"),o.onTrackChanged()}},j0={AUDIO:(p,t,o)=>{if(!t)return;const{tech:c,requestOptions:y,segmentLoaders:{[p]:_}}=o;t.on("loadedmetadata",()=>{const P=t.media();_.playlist(P,y),(!c.paused()||P.endList&&c.preload()!=="none")&&_.load()}),t.on("loadedplaylist",()=>{_.playlist(t.media(),y),c.paused()||_.load()}),t.on("error",Zf[p](p,o))},SUBTITLES:(p,t,o)=>{const{tech:c,requestOptions:y,segmentLoaders:{[p]:_},mediaTypes:{[p]:P}}=o;t.on("loadedmetadata",()=>{const H=t.media();_.playlist(H,y),_.track(P.activeTrack()),(!c.paused()||H.endList&&c.preload()!=="none")&&_.load()}),t.on("loadedplaylist",()=>{_.playlist(t.media(),y),c.paused()||_.load()}),t.on("error",Zf[p](p,o))}},dg={AUDIO:(p,t)=>{const{vhs:o,sourceType:c,segmentLoaders:{[p]:y},requestOptions:_,main:{mediaGroups:P},mediaTypes:{[p]:{groups:H,tracks:ue,logger_:Te}},mainPlaylistLoader:Ye}=t,xt=Ef(Ye.main);(!P[p]||Object.keys(P[p]).length===0)&&(P[p]={main:{default:{default:!0}}},xt&&(P[p].main.default.playlists=Ye.main.playlists));for(const or in P[p]){H[or]||(H[or]=[]);for(const Ir in P[p][or]){let Qr=P[p][or][Ir],Rt;if(xt?(Te(`AUDIO group '${or}' label '${Ir}' is a main playlist`),Qr.isMainPlaylist=!0,Rt=null):c==="vhs-json"&&Qr.playlists?Rt=new ff(Qr.playlists[0],o,_):Qr.resolvedUri?Rt=new ff(Qr.resolvedUri,o,_):Qr.playlists&&c==="dash"?Rt=new Zh(Qr.playlists[0],o,_,Ye):Rt=null,Qr=ja({id:Ir,playlistLoader:Rt},Qr),j0[p](p,Qr.playlistLoader,t),H[or].push(Qr),typeof ue[Ir]>"u"){const kn=new nn.AudioTrack({id:Ir,kind:ug(Qr),enabled:!1,language:Qr.language,default:Qr.default,label:Ir});ue[Ir]=kn}}}y.on("error",Zf[p](p,t))},SUBTITLES:(p,t)=>{const{tech:o,vhs:c,sourceType:y,segmentLoaders:{[p]:_},requestOptions:P,main:{mediaGroups:H},mediaTypes:{[p]:{groups:ue,tracks:Te}},mainPlaylistLoader:Ye}=t;for(const xt in H[p]){ue[xt]||(ue[xt]=[]);for(const or in H[p][xt]){if(!c.options_.useForcedSubtitles&&H[p][xt][or].forced)continue;let Ir=H[p][xt][or],Qr;if(y==="hls")Qr=new ff(Ir.resolvedUri,c,P);else if(y==="dash"){if(!Ir.playlists.filter(kn=>kn.excludeUntil!==1/0).length)return;Qr=new Zh(Ir.playlists[0],c,P,Ye)}else y==="vhs-json"&&(Qr=new ff(Ir.playlists?Ir.playlists[0]:Ir.resolvedUri,c,P));if(Ir=ja({id:or,playlistLoader:Qr},Ir),j0[p](p,Ir.playlistLoader,t),ue[xt].push(Ir),typeof Te[or]>"u"){const Rt=o.addRemoteTextTrack({id:or,kind:"subtitles",default:Ir.default&&Ir.autoselect,language:Ir.language,label:or},!1).track;Te[or]=Rt}}}_.on("error",Zf[p](p,t))},"CLOSED-CAPTIONS":(p,t)=>{const{tech:o,main:{mediaGroups:c},mediaTypes:{[p]:{groups:y,tracks:_}}}=t;for(const P in c[p]){y[P]||(y[P]=[]);for(const H in c[p][P]){const ue=c[p][P][H];if(!/^(?:CC|SERVICE)/.test(ue.instreamId))continue;const Te=o.options_.vhs&&o.options_.vhs.captionServices||{};let Ye={label:H,language:ue.language,instreamId:ue.instreamId,default:ue.default&&ue.autoselect};if(Te[Ye.instreamId]&&(Ye=ja(Ye,Te[Ye.instreamId])),Ye.default===void 0&&delete Ye.default,y[P].push(ja({id:H},ue)),typeof _[H]>"u"){const xt=o.addRemoteTextTrack({id:Ye.instreamId,kind:"captions",default:Ye.default,language:Ye.language,label:Ye.label},!1).track;_[H]=xt}}}}},z0=(p,t)=>{for(let o=0;o<p.length;o++)if(Uf(t,p[o])||p[o].playlists&&z0(p[o].playlists,t))return!0;return!1},fg=(p,t)=>o=>{const{mainPlaylistLoader:c,mediaTypes:{[p]:{groups:y}}}=t,_=c.media();if(!_)return null;let P=null;_.attributes[p]&&(P=y[_.attributes[p]]);const H=Object.keys(y);if(!P)if(p==="AUDIO"&&H.length>1&&Ef(t.main))for(let ue=0;ue<H.length;ue++){const Te=y[H[ue]];if(z0(Te,_)){P=Te;break}}else y.main?P=y.main:H.length===1&&(P=y[H[0]]);return typeof o>"u"?P:o===null||!P?null:P.filter(ue=>ue.id===o.id)[0]||null},$0={AUDIO:(p,t)=>()=>{const{mediaTypes:{[p]:{tracks:o}}}=t;for(const c in o)if(o[c].enabled)return o[c];return null},SUBTITLES:(p,t)=>()=>{const{mediaTypes:{[p]:{tracks:o}}}=t;for(const c in o)if(o[c].mode==="showing"||o[c].mode==="hidden")return o[c];return null}},hg=(p,{mediaTypes:t})=>()=>{const o=t[p].activeTrack();return o?t[p].activeGroup(o):null},pg=p=>{["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(Te=>{dg[Te](Te,p)});const{mediaTypes:t,mainPlaylistLoader:o,tech:c,vhs:y,segmentLoaders:{["AUDIO"]:_,main:P}}=p;["AUDIO","SUBTITLES"].forEach(Te=>{t[Te].activeGroup=fg(Te,p),t[Te].activeTrack=$0[Te](Te,p),t[Te].onGroupChanged=lg(Te,p),t[Te].onGroupChanging=Bp(Te,p),t[Te].onTrackChanged=cg(Te,p),t[Te].getActiveGroup=hg(Te,p)});const H=t.AUDIO.activeGroup();if(H){const Te=(H.filter(xt=>xt.default)[0]||H[0]).id;t.AUDIO.tracks[Te].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged(),t.AUDIO.getActiveGroup().playlistLoader?(P.setAudio(!1),_.setAudio(!0)):P.setAudio(!0)}o.on("mediachange",()=>{["AUDIO","SUBTITLES"].forEach(Te=>t[Te].onGroupChanged())}),o.on("mediachanging",()=>{["AUDIO","SUBTITLES"].forEach(Te=>t[Te].onGroupChanging())});const ue=()=>{t.AUDIO.onTrackChanged(),c.trigger({type:"usage",name:"vhs-audio-change"})};c.audioTracks().addEventListener("change",ue),c.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),y.on("dispose",()=>{c.audioTracks().removeEventListener("change",ue),c.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)}),c.clearTracks("audio");for(const Te in t.AUDIO.tracks)c.audioTracks().addTrack(t.AUDIO.tracks[Te])},mg=()=>{const p={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(t=>{p[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:Kd,activeTrack:Kd,getActiveGroup:Kd,onGroupChanged:Kd,onTrackChanged:Kd,lastTrack_:null,logger_:mo(`MediaGroups[${t}]`)}}),p};class sp{constructor(){this.priority_=[],this.pathwayClones_=new Map}set version(t){t===1&&(this.version_=t)}set ttl(t){this.ttl_=t||300}set reloadUri(t){t&&(this.reloadUri_=$o(this.reloadUri_,t))}set priority(t){t&&t.length&&(this.priority_=t)}set pathwayClones(t){t&&t.length&&(this.pathwayClones_=new Map(t.map(o=>[o.ID,o])))}get version(){return this.version_}get ttl(){return this.ttl_}get reloadUri(){return this.reloadUri_}get priority(){return this.priority_}get pathwayClones(){return this.pathwayClones_}}class Up extends nn.EventTarget{constructor(t,o){super(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=!1,this.availablePathways_=new Set,this.steeringManifest=new sp,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.currentPathwayClones=new Map,this.nextPathwayClones=new Map,this.excludedSteeringManifestURLs=new Set,this.logger_=mo("Content Steering"),this.xhr_=t,this.getBandwidth_=o}assignTagProperties(t,o){this.manifestType_=o.serverUri?"HLS":"DASH";const c=o.serverUri||o.serverURL;if(!c){this.logger_(`steering manifest URL is ${c}, cannot request steering manifest.`),this.trigger("error");return}if(c.startsWith("data:")){this.decodeDataUriManifest_(c.substring(c.indexOf(",")+1));return}this.steeringManifest.reloadUri=$o(t,c),this.defaultPathway=o.pathwayId||o.defaultServiceLocation,this.queryBeforeStart=o.queryBeforeStart,this.proxyServerUrl_=o.proxyServerURL,this.defaultPathway&&!this.queryBeforeStart&&this.trigger("content-steering")}requestSteeringManifest(t){const o=this.steeringManifest.reloadUri;if(!o)return;const c=t?o:this.getRequestURI(o);if(!c){this.logger_("No valid content steering manifest URIs. Stopping content steering."),this.trigger("error"),this.dispose();return}const y={contentSteeringInfo:{uri:c}};this.trigger({type:"contentsteeringloadstart",metadata:y}),this.request_=this.xhr_({uri:c,requestType:"content-steering-manifest"},(_,P)=>{if(_){if(P.status===410){this.logger_(`manifest request 410 ${_}.`),this.logger_(`There will be no more content steering requests to ${c} this session.`),this.excludedSteeringManifestURLs.add(c);return}if(P.status===429){const Te=P.responseHeaders["retry-after"];this.logger_(`manifest request 429 ${_}.`),this.logger_(`content steering will retry in ${Te} seconds.`),this.startTTLTimeout_(parseInt(Te,10));return}this.logger_(`manifest failed to load ${_}.`),this.startTTLTimeout_();return}this.trigger({type:"contentsteeringloadcomplete",metadata:y});let H;try{H=JSON.parse(this.request_.responseText)}catch(Te){const Ye={errorType:nn.Error.StreamingContentSteeringParserError,error:Te};this.trigger({type:"error",metadata:Ye})}this.assignSteeringProperties_(H);const ue={contentSteeringInfo:y.contentSteeringInfo,contentSteeringManifest:{version:this.steeringManifest.version,reloadUri:this.steeringManifest.reloadUri,priority:this.steeringManifest.priority}};this.trigger({type:"contentsteeringparsed",metadata:ue}),this.startTTLTimeout_()})}setProxyServerUrl_(t){const o=new(O()).URL(t),c=new(O()).URL(this.proxyServerUrl_);return c.searchParams.set("url",encodeURI(o.toString())),this.setSteeringParams_(c.toString())}decodeDataUriManifest_(t){const o=JSON.parse(O().atob(t));this.assignSteeringProperties_(o)}setSteeringParams_(t){const o=new(O()).URL(t),c=this.getPathway(),y=this.getBandwidth_();if(c){const _=`_${this.manifestType_}_pathway`;o.searchParams.set(_,c)}if(y){const _=`_${this.manifestType_}_throughput`;o.searchParams.set(_,y)}return o.toString()}assignSteeringProperties_(t){if(this.steeringManifest.version=t.VERSION,!this.steeringManifest.version){this.logger_(`manifest version is ${t.VERSION}, which is not supported.`),this.trigger("error");return}this.steeringManifest.ttl=t.TTL,this.steeringManifest.reloadUri=t["RELOAD-URI"],this.steeringManifest.priority=t["PATHWAY-PRIORITY"]||t["SERVICE-LOCATION-PRIORITY"],this.steeringManifest.pathwayClones=t["PATHWAY-CLONES"],this.nextPathwayClones=this.steeringManifest.pathwayClones,this.availablePathways_.size||(this.logger_("There are no available pathways for content steering. Ending content steering."),this.trigger("error"),this.dispose());const c=(y=>{for(const _ of y)if(this.availablePathways_.has(_))return _;return[...this.availablePathways_][0]})(this.steeringManifest.priority);this.currentPathway!==c&&(this.currentPathway=c,this.trigger("content-steering"))}getPathway(){return this.currentPathway||this.defaultPathway}getRequestURI(t){if(!t)return null;const o=y=>this.excludedSteeringManifestURLs.has(y);if(this.proxyServerUrl_){const y=this.setProxyServerUrl_(t);if(!o(y))return y}const c=this.setSteeringParams_(t);return o(c)?null:c}startTTLTimeout_(t=this.steeringManifest.ttl){const o=t*1e3;this.ttlTimeout_=O().setTimeout(()=>{this.requestSteeringManifest()},o)}clearTTLTimeout_(){O().clearTimeout(this.ttlTimeout_),this.ttlTimeout_=null}abort(){this.request_&&this.request_.abort(),this.request_=null}dispose(){this.off("content-steering"),this.off("error"),this.abort(),this.clearTTLTimeout_(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=null,this.proxyServerUrl_=null,this.manifestType_=null,this.ttlTimeout_=null,this.request_=null,this.excludedSteeringManifestURLs=new Set,this.availablePathways_=new Set,this.steeringManifest=new sp}addAvailablePathway(t){t&&this.availablePathways_.add(t)}clearAvailablePathways(){this.availablePathways_.clear()}excludePathway(t){return this.availablePathways_.delete(t)}didDASHTagChange(t,o){return!o&&this.steeringManifest.reloadUri||o&&($o(t,o.serverURL)!==this.steeringManifest.reloadUri||o.defaultServiceLocation!==this.defaultPathway||o.queryBeforeStart!==this.queryBeforeStart||o.proxyServerURL!==this.proxyServerUrl_)}getAvailablePathways(){return this.availablePathways_}}const gg=(p,t)=>{let o=null;return(...c)=>{clearTimeout(o),o=setTimeout(()=>{p.apply(null,c)},t)}},vg=10;let Xd;const yg=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],bg=function(p){return this.audioSegmentLoader_[p]+this.mainSegmentLoader_[p]},Sg=function({currentPlaylist:p,buffered:t,currentTime:o,nextPlaylist:c,bufferLowWaterLine:y,bufferHighWaterLine:_,duration:P,bufferBasedABR:H,log:ue}){if(!c)return nn.log.warn("We received no playlist to switch to. Please check your stream."),!1;const Te=`allowing switch ${p&&p.id||"null"} -> ${c.id}`;if(!p)return ue(`${Te} as current playlist is not set`),!0;if(c.id===p.id)return!1;const Ye=!!lf(t,o).length;if(!p.endList)return!Ye&&typeof p.partTargetDuration=="number"?(ue(`not ${Te} as current playlist is live llhls, but currentTime isn't in buffered.`),!1):(ue(`${Te} as current playlist is live`),!0);const xt=uh(t,o),or=H?Iu.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Iu.MAX_BUFFER_LOW_WATER_LINE;if(P<or)return ue(`${Te} as duration < max low water line (${P} < ${or})`),!0;const Ir=c.attributes.BANDWIDTH,Qr=p.attributes.BANDWIDTH;if(Ir<Qr&&(!H||xt<_)){let Rt=`${Te} as next bandwidth < current bandwidth (${Ir} < ${Qr})`;return H&&(Rt+=` and forwardBuffer < bufferHighWaterLine (${xt} < ${_})`),ue(Rt),!0}if((!H||Ir>Qr)&&xt>=y){let Rt=`${Te} as forwardBuffer >= bufferLowWaterLine (${xt} >= ${y})`;return H&&(Rt+=` and next bandwidth > current bandwidth (${Ir} > ${Qr})`),ue(Rt),!0}return ue(`not ${Te} as no switching criteria met`),!1};class xg extends nn.EventTarget{constructor(t){super(),this.fastQualityChange_=gg(this.fastQualityChange_.bind(this),100);const{src:o,withCredentials:c,tech:y,bandwidth:_,externVhs:P,useCueTags:H,playlistExclusionDuration:ue,enableLowInitialPlaylist:Te,sourceType:Ye,cacheEncryptionKeys:xt,bufferBasedABR:or,leastPixelDiffSelector:Ir,captionServices:Qr,experimentalUseMMS:Rt}=t;if(!o)throw new Error("A non-empty playlist URL or JSON manifest string is required");let{maxPlaylistRetries:kn}=t;(kn===null||typeof kn>"u")&&(kn=1/0),Xd=P,this.bufferBasedABR=!!or,this.leastPixelDiffSelector=!!Ir,this.withCredentials=c,this.tech_=y,this.vhs_=y.vhs,this.player_=t.player_,this.sourceType_=Ye,this.useCueTags_=H,this.playlistExclusionDuration=ue,this.maxPlaylistRetries=kn,this.enableLowInitialPlaylist=Te,this.usingManagedMediaSource_=!1,this.useCueTags_&&(this.cueTagsTrack_=this.tech_.addTextTrack("metadata","ad-cues"),this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),this.requestOptions_={withCredentials:c,maxPlaylistRetries:kn,timeout:null},this.on("error",this.pauseLoading),this.mediaTypes_=mg(),Rt&&O().ManagedMediaSource?(this.tech_.el_.disableRemotePlayback=!0,this.mediaSource=new(O()).ManagedMediaSource,this.usingManagedMediaSource_=!0,nn.log("Using ManagedMediaSource")):O().MediaSource&&(this.mediaSource=new(O()).MediaSource),this.handleDurationChange_=this.handleDurationChange_.bind(this),this.handleSourceOpen_=this.handleSourceOpen_.bind(this),this.handleSourceEnded_=this.handleSourceEnded_.bind(this),this.load=this.load.bind(this),this.pause=this.pause.bind(this),this.mediaSource.addEventListener("durationchange",this.handleDurationChange_),this.mediaSource.addEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.addEventListener("sourceended",this.handleSourceEnded_),this.mediaSource.addEventListener("startstreaming",this.load),this.mediaSource.addEventListener("endstreaming",this.pause),this.seekable_=Po(),this.hasPlayed_=!1,this.syncController_=new ag(t),this.segmentMetadataTrack_=y.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,this.segmentMetadataTrack_.mode="hidden",this.decrypter_=new Np,this.sourceUpdater_=new L0(this.mediaSource),this.inbandTextTracks_={},this.timelineChangeController_=new og,this.keyStatusMap_=new Map;const Dn={vhs:this.vhs_,parse708captions:t.parse708captions,useDtsForTimestampOffset:t.useDtsForTimestampOffset,captionServices:Qr,mediaSource:this.mediaSource,currentTime:this.tech_.currentTime.bind(this.tech_),seekable:()=>this.seekable(),seeking:()=>this.tech_.seeking(),duration:()=>this.duration(),hasPlayed:()=>this.hasPlayed_,goalBufferLength:()=>this.goalBufferLength(),bandwidth:_,syncController:this.syncController_,decrypter:this.decrypter_,sourceType:this.sourceType_,inbandTextTracks:this.inbandTextTracks_,cacheEncryptionKeys:xt,sourceUpdater:this.sourceUpdater_,timelineChangeController:this.timelineChangeController_,exactManifestTimings:t.exactManifestTimings,addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)};this.mainPlaylistLoader_=this.sourceType_==="dash"?new Zh(o,this.vhs_,ja(this.requestOptions_,{addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)})):new ff(o,this.vhs_,ja(this.requestOptions_,{addDateRangesToTextTrack:this.addDateRangesToTextTrack_.bind(this)})),this.setupMainPlaylistLoaderListeners_(),this.mainSegmentLoader_=new Pp(ja(Dn,{segmentMetadataTrack:this.segmentMetadataTrack_,loaderType:"main"}),t),this.audioSegmentLoader_=new Pp(ja(Dn,{loaderType:"audio"}),t),this.subtitleSegmentLoader_=new ig(ja(Dn,{loaderType:"vtt",featuresNativeTextTracks:this.tech_.featuresNativeTextTracks,loadVttJs:()=>new Promise((zn,Nn)=>{function yi(){y.off("vttjserror",Gn),zn()}function Gn(){y.off("vttjsloaded",yi),Nn()}y.one("vttjsloaded",yi),y.one("vttjserror",Gn),y.addWebVttScript_()})}),t);const Tn=()=>this.mainSegmentLoader_.bandwidth;this.contentSteeringController_=new Up(this.vhs_.xhr,Tn),this.setupSegmentLoaderListeners_(),this.bufferBasedABR&&(this.mainPlaylistLoader_.one("loadedplaylist",()=>this.startABRTimer_()),this.tech_.on("pause",()=>this.stopABRTimer_()),this.tech_.on("play",()=>this.startABRTimer_())),yg.forEach(zn=>{this[zn+"_"]=bg.bind(this,zn)}),this.logger_=mo("pc"),this.triggeredFmp4Usage=!1,this.tech_.preload()==="none"?(this.loadOnPlay_=()=>{this.loadOnPlay_=null,this.mainPlaylistLoader_.load()},this.tech_.one("play",this.loadOnPlay_)):this.mainPlaylistLoader_.load(),this.timeToLoadedData__=-1,this.mainAppendsToLoadedData__=-1,this.audioAppendsToLoadedData__=-1;const rn=this.tech_.preload()==="none"?"play":"loadstart";this.tech_.one(rn,()=>{const zn=Date.now();this.tech_.one("loadeddata",()=>{this.timeToLoadedData__=Date.now()-zn,this.mainAppendsToLoadedData__=this.mainSegmentLoader_.mediaAppends,this.audioAppendsToLoadedData__=this.audioSegmentLoader_.mediaAppends})})}mainAppendsToLoadedData_(){return this.mainAppendsToLoadedData__}audioAppendsToLoadedData_(){return this.audioAppendsToLoadedData__}appendsToLoadedData_(){const t=this.mainAppendsToLoadedData_(),o=this.audioAppendsToLoadedData_();return t===-1||o===-1?-1:t+o}timeToLoadedData_(){return this.timeToLoadedData__}checkABR_(t="abr"){const o=this.selectPlaylist();o&&this.shouldSwitchToMedia_(o)&&this.switchMedia_(o,t)}switchMedia_(t,o,c){const y=this.media(),_=y&&(y.id||y.uri),P=t&&(t.id||t.uri);if(_&&_!==P){this.logger_(`switch media ${_} -> ${P} from ${o}`);const H={renditionInfo:{id:P,bandwidth:t.attributes.BANDWIDTH,resolution:t.attributes.RESOLUTION,codecs:t.attributes.CODECS},cause:o};this.trigger({type:"renditionselected",metadata:H}),this.tech_.trigger({type:"usage",name:`vhs-rendition-change-${o}`})}this.mainPlaylistLoader_.media(t,c)}switchMediaForDASHContentSteering_(){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(t=>{const o=this.mediaTypes_[t],c=o?o.activeGroup():null,y=this.contentSteeringController_.getPathway();if(c&&y){const P=(c.length?c[0].playlists:c.playlists).filter(H=>H.attributes.serviceLocation===y);P.length&&this.mediaTypes_[t].activePlaylistLoader.media(P[0])}})}startABRTimer_(){this.stopABRTimer_(),this.abrTimer_=O().setInterval(()=>this.checkABR_(),250)}stopABRTimer_(){this.tech_.scrubbing&&this.tech_.scrubbing()||(O().clearInterval(this.abrTimer_),this.abrTimer_=null)}getAudioTrackPlaylists_(){const t=this.main(),o=t&&t.playlists||[];if(!t||!t.mediaGroups||!t.mediaGroups.AUDIO)return o;const c=t.mediaGroups.AUDIO,y=Object.keys(c);let _;if(Object.keys(this.mediaTypes_.AUDIO.groups).length)_=this.mediaTypes_.AUDIO.activeTrack();else{const H=c.main||y.length&&c[y[0]];for(const ue in H)if(H[ue].default){_={label:ue};break}}if(!_)return o;const P=[];for(const H in c)if(c[H][_.label]){const ue=c[H][_.label];if(ue.playlists&&ue.playlists.length)P.push.apply(P,ue.playlists);else if(ue.uri)P.push(ue);else if(t.playlists.length)for(let Te=0;Te<t.playlists.length;Te++){const Ye=t.playlists[Te];Ye.attributes&&Ye.attributes.AUDIO&&Ye.attributes.AUDIO===H&&P.push(Ye)}}return P.length?P:o}setupMainPlaylistLoaderListeners_(){this.mainPlaylistLoader_.on("loadedmetadata",()=>{const o=this.mainPlaylistLoader_.media(),c=o.targetDuration*1.5*1e3;yh(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=c,o.endList&&this.tech_.preload()!=="none"&&(this.mainSegmentLoader_.playlist(o,this.requestOptions_),this.mainSegmentLoader_.load()),pg({sourceType:this.sourceType_,segmentLoaders:{AUDIO:this.audioSegmentLoader_,SUBTITLES:this.subtitleSegmentLoader_,main:this.mainSegmentLoader_},tech:this.tech_,requestOptions:this.requestOptions_,mainPlaylistLoader:this.mainPlaylistLoader_,vhs:this.vhs_,main:this.main(),mediaTypes:this.mediaTypes_,excludePlaylist:this.excludePlaylist.bind(this)}),this.triggerPresenceUsage_(this.main(),o),this.setupFirstPlay(),!this.mediaTypes_.AUDIO.activePlaylistLoader||this.mediaTypes_.AUDIO.activePlaylistLoader.media()?this.trigger("selectedinitialmedia"):this.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",()=>{this.trigger("selectedinitialmedia")})}),this.mainPlaylistLoader_.on("loadedplaylist",()=>{this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_);let o=this.mainPlaylistLoader_.media();if(!o){this.attachContentSteeringListeners_(),this.initContentSteeringController_(),this.excludeUnsupportedVariants_();let c;if(this.enableLowInitialPlaylist&&(c=this.selectInitialPlaylist()),c||(c=this.selectPlaylist()),!c||!this.shouldSwitchToMedia_(c)||(this.initialMedia_=c,this.switchMedia_(this.initialMedia_,"initial"),!(this.sourceType_==="vhs-json"&&this.initialMedia_.segments)))return;o=this.initialMedia_}this.handleUpdatedMediaPlaylist(o)}),this.mainPlaylistLoader_.on("error",()=>{const o=this.mainPlaylistLoader_.error;this.excludePlaylist({playlistToExclude:o.playlist,error:o})}),this.mainPlaylistLoader_.on("mediachanging",()=>{this.mainSegmentLoader_.abort(),this.mainSegmentLoader_.pause()}),this.mainPlaylistLoader_.on("mediachange",()=>{const o=this.mainPlaylistLoader_.media(),c=o.targetDuration*1.5*1e3;yh(this.mainPlaylistLoader_.main,this.mainPlaylistLoader_.media())?this.requestOptions_.timeout=0:this.requestOptions_.timeout=c,this.sourceType_==="dash"&&this.mainPlaylistLoader_.isPaused&&this.mainPlaylistLoader_.load(),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(o,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_?this.runFastQualitySwitch_():this.mainSegmentLoader_.load(),this.tech_.trigger({type:"mediachange",bubbles:!0})}),this.mainPlaylistLoader_.on("playlistunchanged",()=>{const o=this.mainPlaylistLoader_.media();if(o.lastExcludeReason_==="playlist-unchanged")return;this.stuckAtPlaylistEnd_(o)&&(this.excludePlaylist({error:{message:"Playlist no longer updating.",reason:"playlist-unchanged"}}),this.tech_.trigger("playliststuck"))}),this.mainPlaylistLoader_.on("renditiondisabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"})}),this.mainPlaylistLoader_.on("renditionenabled",()=>{this.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"})}),["manifestrequeststart","manifestrequestcomplete","manifestparsestart","manifestparsecomplete","playlistrequeststart","playlistrequestcomplete","playlistparsestart","playlistparsecomplete","renditiondisabled","renditionenabled"].forEach(o=>{this.mainPlaylistLoader_.on(o,c=>{this.player_.trigger(V({},c))})})}handleUpdatedMediaPlaylist(t){this.useCueTags_&&this.updateAdCues_(t),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.playlist(t,this.requestOptions_),this.waitingForFastQualityPlaylistReceived_&&this.runFastQualitySwitch_(),this.updateDuration(!t.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())}triggerPresenceUsage_(t,o){const c=t.mediaGroups||{};let y=!0;const _=Object.keys(c.AUDIO);for(const P in c.AUDIO)for(const H in c.AUDIO[P])c.AUDIO[P][H].uri||(y=!1);y&&this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),Object.keys(c.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),Xd.Playlist.isAes(o)&&this.tech_.trigger({type:"usage",name:"vhs-aes"}),_.length&&Object.keys(c.AUDIO[_[0]]).length>1&&this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"})}shouldSwitchToMedia_(t){const o=this.mainPlaylistLoader_.media()||this.mainPlaylistLoader_.pendingMedia_,c=this.tech_.currentTime(),y=this.bufferLowWaterLine(),_=this.bufferHighWaterLine(),P=this.tech_.buffered();return Sg({buffered:P,currentTime:c,currentPlaylist:o,nextPlaylist:t,bufferLowWaterLine:y,bufferHighWaterLine:_,duration:this.duration(),bufferBasedABR:this.bufferBasedABR,log:this.logger_})}setupSegmentLoaderListeners_(){this.mainSegmentLoader_.on("bandwidthupdate",()=>{this.checkABR_("bandwidthupdate"),this.tech_.trigger("bandwidthupdate")}),this.mainSegmentLoader_.on("timeout",()=>{this.bufferBasedABR&&this.mainSegmentLoader_.load()}),this.bufferBasedABR||this.mainSegmentLoader_.on("progress",()=>{this.trigger("progress")}),this.mainSegmentLoader_.on("error",()=>{const c=this.mainSegmentLoader_.error();this.excludePlaylist({playlistToExclude:c.playlist,error:c})}),this.mainSegmentLoader_.on("appenderror",()=>{this.error=this.mainSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on("timestampoffset",()=>{this.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"})}),this.audioSegmentLoader_.on("syncinfoupdate",()=>{this.onSyncInfoUpdate_()}),this.audioSegmentLoader_.on("appenderror",()=>{this.error=this.audioSegmentLoader_.error_,this.trigger("error")}),this.mainSegmentLoader_.on("ended",()=>{this.logger_("main segment loader ended"),this.onEndOfStream()}),this.timelineChangeController_.on("audioTimelineBehind",()=>{const c=this.audioSegmentLoader_.pendingSegment_;if(!c||!c.segment||!c.segment.syncInfo)return;const y=c.segment.syncInfo.end+.01;this.tech_.setCurrentTime(y)}),this.timelineChangeController_.on("fixBadTimelineChange",()=>{this.logger_("Fix bad timeline change. Restarting al segment loaders..."),this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}),this.mainSegmentLoader_.on("earlyabort",c=>{this.bufferBasedABR||(this.delegateLoaders_("all",["abort"]),this.excludePlaylist({error:{message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},playlistExclusionDuration:vg}))});const t=()=>{if(!this.sourceUpdater_.hasCreatedSourceBuffers())return this.tryToCreateSourceBuffers_();const c=this.getCodecsOrExclude_();c&&this.sourceUpdater_.addOrChangeSourceBuffers(c)};this.mainSegmentLoader_.on("trackinfo",t),this.audioSegmentLoader_.on("trackinfo",t),this.mainSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("fmp4",()=>{this.triggeredFmp4Usage||(this.tech_.trigger({type:"usage",name:"vhs-fmp4"}),this.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("ended",()=>{this.logger_("audioSegmentLoader ended"),this.onEndOfStream()}),["segmentselected","segmentloadstart","segmentloaded","segmentkeyloadstart","segmentkeyloadcomplete","segmentdecryptionstart","segmentdecryptioncomplete","segmenttransmuxingstart","segmenttransmuxingcomplete","segmenttransmuxingtrackinfoavailable","segmenttransmuxingtiminginfoavailable","segmentappendstart","appendsdone","bandwidthupdated","timelinechange","codecschange"].forEach(c=>{this.mainSegmentLoader_.on(c,y=>{this.player_.trigger(V({},y))}),this.audioSegmentLoader_.on(c,y=>{this.player_.trigger(V({},y))}),this.subtitleSegmentLoader_.on(c,y=>{this.player_.trigger(V({},y))})})}mediaSecondsLoaded_(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}load(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}pause(){this.mainSegmentLoader_.pause(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.pause(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.pause()}fastQualityChange_(t=this.selectPlaylist()){if(t&&t===this.mainPlaylistLoader_.media()){this.logger_("skipping fastQualityChange because new media is same as old");return}this.switchMedia_(t,"fast-quality"),this.waitingForFastQualityPlaylistReceived_=!0}runFastQualitySwitch_(){this.waitingForFastQualityPlaylistReceived_=!1,this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}play(){if(this.setupFirstPlay())return;this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();const t=this.tech_.seekable();if(this.tech_.duration()===1/0&&this.tech_.currentTime()<t.start(0))return this.tech_.setCurrentTime(t.end(t.length-1))}setupFirstPlay(){const t=this.mainPlaylistLoader_.media();if(!t||this.tech_.paused()||this.hasPlayed_)return!1;if(!t.endList||t.start){const o=this.seekable();if(!o.length)return!1;const c=o.end(0);let y=c;if(t.start){const _=t.start.timeOffset;if(_<0){const P=this.mainPlaylistLoader_.main,H=Xd.Playlist.liveEdgeDelay(P,t),ue=c+H;y=Math.max(Math.min(ue+_,c),o.start(0))}else y=Math.min(c,_)}this.trigger("firstplay"),this.tech_.setCurrentTime(y)}return this.hasPlayed_=!0,this.load(),!0}handleSourceOpen_(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){const t=this.tech_.play();typeof t<"u"&&typeof t.then=="function"&&t.then(null,o=>{})}this.trigger("sourceopen")}handleSourceEnded_(){if(!this.inbandTextTracks_.metadataTrack_)return;const t=this.inbandTextTracks_.metadataTrack_.cues;if(!t||!t.length)return;const o=this.duration();t[t.length-1].endTime=isNaN(o)||Math.abs(o)===1/0?Number.MAX_VALUE:o}handleDurationChange_(){this.tech_.trigger("durationchange")}onEndOfStream(){let t=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){const o=this.mainSegmentLoader_.getCurrentMediaInfo_();!o||o.hasVideo?t=t&&this.audioSegmentLoader_.ended_:t=this.audioSegmentLoader_.ended_}t&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())}stuckAtPlaylistEnd_(t){if(!this.seekable().length)return!1;const c=this.syncController_.getExpiredTime(t,this.duration());if(c===null)return!1;const y=Xd.Playlist.playlistEnd(t,c),_=this.tech_.currentTime(),P=this.tech_.buffered();if(!P.length)return y-_<=Ol;const H=P.end(P.length-1);return H-_<=Ol&&y-H<=Ol}excludePlaylist({playlistToExclude:t=this.mainPlaylistLoader_.media(),error:o={},playlistExclusionDuration:c}){if(t=t||this.mainPlaylistLoader_.media(),c=c||o.playlistExclusionDuration||this.playlistExclusionDuration,!t){this.error=o,this.mediaSource.readyState!=="open"?this.trigger("error"):this.sourceUpdater_.endOfStream("network");return}t.playlistErrors_++;const y=this.mainPlaylistLoader_.main.playlists,_=y.filter(xf),P=_.length===1&&_[0]===t;if(y.length===1&&c!==1/0)return nn.log.warn(`Problem encountered with playlist ${t.id}. Trying again since it is the only playlist.`),this.tech_.trigger("retryplaylist"),this.mainPlaylistLoader_.load(P);if(P){if(this.main().contentSteering){const Qr=this.pathwayAttribute_(t),Rt=this.contentSteeringController_.steeringManifest.ttl*1e3;this.contentSteeringController_.excludePathway(Qr),this.excludeThenChangePathway_(),setTimeout(()=>{this.contentSteeringController_.addAvailablePathway(Qr)},Rt);return}let Ir=!1;y.forEach(Qr=>{if(Qr===t)return;const Rt=Qr.excludeUntil;typeof Rt<"u"&&Rt!==1/0&&(Ir=!0,delete Qr.excludeUntil)}),Ir&&(nn.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}let H;t.playlistErrors_>this.maxPlaylistRetries?H=1/0:H=Date.now()+c*1e3,t.excludeUntil=H,o.reason&&(t.lastExcludeReason_=o.reason),this.tech_.trigger("excludeplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-excluded"});const ue=this.selectPlaylist();if(!ue){this.error="Playback cannot continue. No available working or supported playlists.",this.trigger("error");return}const Te=o.internal?this.logger_:nn.log.warn,Ye=o.message?" "+o.message:"";Te(`${o.internal?"Internal problem":"Problem"} encountered with playlist ${t.id}.${Ye} Switching to playlist ${ue.id}.`),ue.attributes.AUDIO!==t.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),ue.attributes.SUBTITLES!==t.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);const xt=ue.targetDuration/2*1e3||5*1e3,or=typeof ue.lastRequest=="number"&&Date.now()-ue.lastRequest<=xt;return this.switchMedia_(ue,"exclude",P||or)}pauseLoading(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()}delegateLoaders_(t,o){const c=[],y=t==="all";(y||t==="main")&&c.push(this.mainPlaylistLoader_);const _=[];(y||t==="audio")&&_.push("AUDIO"),(y||t==="subtitle")&&(_.push("CLOSED-CAPTIONS"),_.push("SUBTITLES")),_.forEach(P=>{const H=this.mediaTypes_[P]&&this.mediaTypes_[P].activePlaylistLoader;H&&c.push(H)}),["main","audio","subtitle"].forEach(P=>{const H=this[`${P}SegmentLoader_`];H&&(t===P||t==="all")&&c.push(H)}),c.forEach(P=>o.forEach(H=>{typeof P[H]=="function"&&P[H]()}))}setCurrentTime(t){const o=lf(this.tech_.buffered(),t);if(!(this.mainPlaylistLoader_&&this.mainPlaylistLoader_.media())||!this.mainPlaylistLoader_.media().segments)return 0;if(o&&o.length)return t;this.mainSegmentLoader_.pause(),this.mainSegmentLoader_.resetEverything(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.pause(),this.audioSegmentLoader_.resetEverything()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.pause(),this.subtitleSegmentLoader_.resetEverything()),this.load()}duration(){if(!this.mainPlaylistLoader_)return 0;const t=this.mainPlaylistLoader_.media();return t?t.endList?this.mediaSource?this.mediaSource.duration:Xd.Playlist.duration(t):1/0:0}seekable(){return this.seekable_}getSeekableRange_(t,o){const c=t.media();if(!c)return null;const y=this.syncController_.getMediaSequenceSync(o);if(y&&y.isReliable){const H=y.start,ue=y.end;if(!isFinite(H)||!isFinite(ue))return null;const Te=Xd.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,c),Ye=Math.max(H,ue-Te);return Po([[H,Ye]])}const _=this.syncController_.getExpiredTime(c,this.duration());if(_===null)return null;const P=Xd.Playlist.seekable(c,_,Xd.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,c));return P.length?P:null}computeFinalSeekable_(t,o){if(!o)return t;const c=t.start(0),y=t.end(0),_=o.start(0),P=o.end(0);return _>y||c>P?t:Po([[Math.max(c,_),Math.min(y,P)]])}onSyncInfoUpdate_(){if(!this.mainPlaylistLoader_)return;const t=this.getSeekableRange_(this.mainPlaylistLoader_,"main");if(!t)return;let o;if(this.mediaTypes_.AUDIO.activePlaylistLoader&&(o=this.getSeekableRange_(this.mediaTypes_.AUDIO.activePlaylistLoader,"audio"),!o))return;const c=this.seekable_;if(this.seekable_=this.computeFinalSeekable_(t,o),!this.seekable_||c&&c.length&&this.seekable_.length&&c.start(0)===this.seekable_.start(0)&&c.end(0)===this.seekable_.end(0))return;this.logger_(`seekable updated [${ah(this.seekable_)}]`);const y={seekableRanges:this.seekable_};this.trigger({type:"seekablerangeschanged",metadata:y}),this.tech_.trigger("seekablechanged")}updateDuration(t){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),this.mediaSource.readyState!=="open"){this.updateDuration_=this.updateDuration.bind(this,t),this.mediaSource.addEventListener("sourceopen",this.updateDuration_);return}if(t){const y=this.seekable();if(!y.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<y.end(y.length-1))&&this.sourceUpdater_.setDuration(y.end(y.length-1));return}const o=this.tech_.buffered();let c=Xd.Playlist.duration(this.mainPlaylistLoader_.media());o.length>0&&(c=Math.max(c,o.end(o.length-1))),this.mediaSource.duration!==c&&this.sourceUpdater_.setDuration(c)}dispose(){this.trigger("dispose"),this.decrypter_.terminate(),this.mainPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.contentSteeringController_.dispose(),this.keyStatusMap_.clear(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach(t=>{const o=this.mediaTypes_[t].groups;for(const c in o)o[c].forEach(y=>{y.playlistLoader&&y.playlistLoader.dispose()})}),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()}main(){return this.mainPlaylistLoader_.main}media(){return this.mainPlaylistLoader_.media()||this.initialMedia_}areMediaTypesKnown_(){const t=!!this.mediaTypes_.AUDIO.activePlaylistLoader,o=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),c=t?!!this.audioSegmentLoader_.getCurrentMediaInfo_():!0;return!(!o||!c)}getCodecsOrExclude_(){const t={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}},o=this.mainSegmentLoader_.getPendingSegmentPlaylist()||this.media();t.video=t.main;const c=wd(this.main(),o),y={},_=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(t.main.hasVideo&&(y.video=c.video||t.main.videoCodec||Tr),t.main.isMuxed&&(y.video+=`,${c.audio||t.main.audioCodec||Dr}`),(t.main.hasAudio&&!t.main.isMuxed||t.audio.hasAudio||_)&&(y.audio=c.audio||t.main.audioCodec||t.audio.audioCodec||Dr,t.audio.isFmp4=t.main.hasAudio&&!t.main.isMuxed?t.main.isFmp4:t.audio.isFmp4),!y.audio&&!y.video){this.excludePlaylist({playlistToExclude:o,error:{message:"Could not determine codecs for playlist."},playlistExclusionDuration:1/0});return}const P=(Te,Ye)=>Te?st(Ye,this.usingManagedMediaSource_):Wr(Ye),H={};let ue;if(["video","audio"].forEach(function(Te){if(y.hasOwnProperty(Te)&&!P(t[Te].isFmp4,y[Te])){const Ye=t[Te].isFmp4?"browser":"muxer";H[Ye]=H[Ye]||[],H[Ye].push(y[Te]),Te==="audio"&&(ue=Ye)}}),_&&ue&&o.attributes.AUDIO){const Te=o.attributes.AUDIO;this.main().playlists.forEach(Ye=>{(Ye.attributes&&Ye.attributes.AUDIO)===Te&&Ye!==o&&(Ye.excludeUntil=1/0)}),this.logger_(`excluding audio group ${Te} as ${ue} does not support codec(s): "${y.audio}"`)}if(Object.keys(H).length){const Te=Object.keys(H).reduce((Ye,xt)=>(Ye&&(Ye+=", "),Ye+=`${xt} does not support codec(s): "${H[xt].join(",")}"`,Ye),"")+".";this.excludePlaylist({playlistToExclude:o,error:{internal:!0,message:Te},playlistExclusionDuration:1/0});return}if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){const Te=[];if(["video","audio"].forEach(Ye=>{const xt=(Fr(this.sourceUpdater_.codecs[Ye]||"")[0]||{}).type,or=(Fr(y[Ye]||"")[0]||{}).type;xt&&or&&xt.toLowerCase()!==or.toLowerCase()&&Te.push(`"${this.sourceUpdater_.codecs[Ye]}" -> "${y[Ye]}"`)}),Te.length){this.excludePlaylist({playlistToExclude:o,error:{message:`Codec switching not supported: ${Te.join(", ")}.`,internal:!0},playlistExclusionDuration:1/0});return}}return y}tryToCreateSourceBuffers_(){if(this.mediaSource.readyState!=="open"||this.sourceUpdater_.hasCreatedSourceBuffers()||!this.areMediaTypesKnown_())return;const t=this.getCodecsOrExclude_();if(!t)return;this.sourceUpdater_.createSourceBuffers(t);const o=[t.video,t.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(o)}excludeUnsupportedVariants_(){const t=this.main().playlists,o=[];Object.keys(t).forEach(c=>{const y=t[c];if(o.indexOf(y.id)!==-1)return;o.push(y.id);const _=wd(this.main,y),P=[];_.audio&&!Wr(_.audio)&&!st(_.audio,this.usingManagedMediaSource_)&&P.push(`audio codec ${_.audio}`),_.video&&!Wr(_.video)&&!st(_.video,this.usingManagedMediaSource_)&&P.push(`video codec ${_.video}`),_.text&&_.text==="stpp.ttml.im1t"&&P.push(`text codec ${_.text}`),P.length&&(y.excludeUntil=1/0,this.logger_(`excluding ${y.id} for unsupported: ${P.join(", ")}`))})}excludeIncompatibleVariants_(t){const o=[],c=this.main().playlists,y=Tf(Fr(t)),_=Yh(y),P=y.video&&Fr(y.video)[0]||null,H=y.audio&&Fr(y.audio)[0]||null;Object.keys(c).forEach(ue=>{const Te=c[ue];if(o.indexOf(Te.id)!==-1||Te.excludeUntil===1/0)return;o.push(Te.id);const Ye=[],xt=wd(this.mainPlaylistLoader_.main,Te),or=Yh(xt);if(!(!xt.audio&&!xt.video)){if(or!==_&&Ye.push(`codec count "${or}" !== "${_}"`),!this.sourceUpdater_.canChangeType()){const Ir=xt.video&&Fr(xt.video)[0]||null,Qr=xt.audio&&Fr(xt.audio)[0]||null;Ir&&P&&Ir.type.toLowerCase()!==P.type.toLowerCase()&&Ye.push(`video codec "${Ir.type}" !== "${P.type}"`),Qr&&H&&Qr.type.toLowerCase()!==H.type.toLowerCase()&&Ye.push(`audio codec "${Qr.type}" !== "${H.type}"`)}Ye.length&&(Te.excludeUntil=1/0,this.logger_(`excluding ${Te.id}: ${Ye.join(" && ")}`))}})}updateAdCues_(t){let o=0;const c=this.seekable();c.length&&(o=c.start(0)),N0(t,this.cueTagsTrack_,o)}goalBufferLength(){const t=this.tech_.currentTime(),o=Iu.GOAL_BUFFER_LENGTH,c=Iu.GOAL_BUFFER_LENGTH_RATE,y=Math.max(o,Iu.MAX_GOAL_BUFFER_LENGTH);return Math.min(o+t*c,y)}bufferLowWaterLine(){const t=this.tech_.currentTime(),o=Iu.BUFFER_LOW_WATER_LINE,c=Iu.BUFFER_LOW_WATER_LINE_RATE,y=Math.max(o,Iu.MAX_BUFFER_LOW_WATER_LINE),_=Math.max(o,Iu.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(o+t*c,this.bufferBasedABR?_:y)}bufferHighWaterLine(){return Iu.BUFFER_HIGH_WATER_LINE}addDateRangesToTextTrack_(t){Ip(this.inbandTextTracks_,"com.apple.streaming",this.tech_),$m({inbandTextTracks:this.inbandTextTracks_,dateRanges:t})}addMetadataToTextTrack(t,o,c){const y=this.sourceUpdater_.videoBuffer?this.sourceUpdater_.videoTimestampOffset():this.sourceUpdater_.audioTimestampOffset();Ip(this.inbandTextTracks_,t,this.tech_),w0({inbandTextTracks:this.inbandTextTracks_,metadataArray:o,timestampOffset:y,videoDuration:c})}pathwayAttribute_(t){return t.attributes["PATHWAY-ID"]||t.attributes.serviceLocation}initContentSteeringController_(){const t=this.main();if(t.contentSteering){for(const o of t.playlists)this.contentSteeringController_.addAvailablePathway(this.pathwayAttribute_(o));if(this.contentSteeringController_.assignTagProperties(t.uri,t.contentSteering),this.contentSteeringController_.queryBeforeStart){this.contentSteeringController_.requestSteeringManifest(!0);return}this.tech_.one("canplay",()=>{this.contentSteeringController_.requestSteeringManifest()})}}resetContentSteeringController_(){this.contentSteeringController_.clearAvailablePathways(),this.contentSteeringController_.dispose(),this.initContentSteeringController_()}attachContentSteeringListeners_(){this.contentSteeringController_.on("content-steering",this.excludeThenChangePathway_.bind(this)),["contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"].forEach(o=>{this.contentSteeringController_.on(o,c=>{this.trigger(V({},c))})}),this.sourceType_==="dash"&&this.mainPlaylistLoader_.on("loadedplaylist",()=>{const o=this.main();(this.contentSteeringController_.didDASHTagChange(o.uri,o.contentSteering)||(()=>{const _=this.contentSteeringController_.getAvailablePathways(),P=[];for(const H of o.playlists){const ue=H.attributes.serviceLocation;if(ue&&(P.push(ue),!_.has(ue)))return!0}return!!(!P.length&&_.size)})())&&this.resetContentSteeringController_()})}excludeThenChangePathway_(){const t=this.contentSteeringController_.getPathway();if(!t)return;this.handlePathwayClones_();const c=this.main().playlists,y=new Set;let _=!1;Object.keys(c).forEach(P=>{const H=c[P],ue=this.pathwayAttribute_(H),Te=ue&&t!==ue;H.excludeUntil===1/0&&H.lastExcludeReason_==="content-steering"&&!Te&&(delete H.excludeUntil,delete H.lastExcludeReason_,_=!0);const xt=!H.excludeUntil&&H.excludeUntil!==1/0;!y.has(H.id)&&Te&&xt&&(y.add(H.id),H.excludeUntil=1/0,H.lastExcludeReason_="content-steering",this.logger_(`excluding ${H.id} for ${H.lastExcludeReason_}`))}),this.contentSteeringController_.manifestType_==="DASH"&&Object.keys(this.mediaTypes_).forEach(P=>{const H=this.mediaTypes_[P];if(H.activePlaylistLoader){const ue=H.activePlaylistLoader.media_;ue&&ue.attributes.serviceLocation!==t&&(_=!0)}}),_&&this.changeSegmentPathway_()}handlePathwayClones_(){const o=this.main().playlists,c=this.contentSteeringController_.currentPathwayClones,y=this.contentSteeringController_.nextPathwayClones;if(c&&c.size||y&&y.size){for(const[P,H]of c.entries())y.get(P)||(this.mainPlaylistLoader_.updateOrDeleteClone(H),this.contentSteeringController_.excludePathway(P));for(const[P,H]of y.entries()){const ue=c.get(P);if(!ue){o.filter(Ye=>Ye.attributes["PATHWAY-ID"]===H["BASE-ID"]).forEach(Ye=>{this.mainPlaylistLoader_.addClonePathway(H,Ye)}),this.contentSteeringController_.addAvailablePathway(P);continue}this.equalPathwayClones_(ue,H)||(this.mainPlaylistLoader_.updateOrDeleteClone(H,!0),this.contentSteeringController_.addAvailablePathway(P))}this.contentSteeringController_.currentPathwayClones=new Map(JSON.parse(JSON.stringify([...y])))}}equalPathwayClones_(t,o){if(t["BASE-ID"]!==o["BASE-ID"]||t.ID!==o.ID||t["URI-REPLACEMENT"].HOST!==o["URI-REPLACEMENT"].HOST)return!1;const c=t["URI-REPLACEMENT"].PARAMS,y=o["URI-REPLACEMENT"].PARAMS;for(const _ in c)if(c[_]!==y[_])return!1;for(const _ in y)if(c[_]!==y[_])return!1;return!0}changeSegmentPathway_(){const t=this.selectPlaylist();this.pauseLoading(),this.contentSteeringController_.manifestType_==="DASH"&&this.switchMediaForDASHContentSteering_(),this.switchMedia_(t,"content-steering")}excludeNonUsablePlaylistsByKeyId_(){if(!this.mainPlaylistLoader_||!this.mainPlaylistLoader_.main)return;let t=0;const o="non-usable";this.mainPlaylistLoader_.main.playlists.forEach(c=>{const y=this.mainPlaylistLoader_.getKeyIdSet(c);!y||!y.size||y.forEach(_=>{const P="usable",H=this.keyStatusMap_.has(_)&&this.keyStatusMap_.get(_)===P,ue=c.lastExcludeReason_===o&&c.excludeUntil===1/0;H?H&&ue&&(delete c.excludeUntil,delete c.lastExcludeReason_,this.logger_(`enabling playlist ${c.id} because key ID ${_} is ${P}`)):(c.excludeUntil!==1/0&&c.lastExcludeReason_!==o&&(c.excludeUntil=1/0,c.lastExcludeReason_=o,this.logger_(`excluding playlist ${c.id} because the key ID ${_} doesn't exist in the keyStatusMap or is not ${P}`)),t++)})}),t>=this.mainPlaylistLoader_.main.playlists.length&&this.mainPlaylistLoader_.main.playlists.forEach(c=>{const y=c&&c.attributes&&c.attributes.RESOLUTION&&c.attributes.RESOLUTION.height<720,_=c.excludeUntil===1/0&&c.lastExcludeReason_===o;y&&_&&(delete c.excludeUntil,nn.log.warn(`enabling non-HD playlist ${c.id} because all playlists were excluded due to ${o} key IDs`))})}addKeyStatus_(t,o){const _=(typeof t=="string"?t:rg(t)).slice(0,32).toLowerCase();this.logger_(`KeyStatus '${o}' with key ID ${_} added to the keyStatusMap`),this.keyStatusMap_.set(_,o)}updatePlaylistByKeyStatus(t,o){this.addKeyStatus_(t,o),this.waitingForFastQualityPlaylistReceived_||this.excludeNonUsableThenChangePlaylist_(),this.mainPlaylistLoader_.off("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this)),this.mainPlaylistLoader_.on("loadedplaylist",this.excludeNonUsableThenChangePlaylist_.bind(this))}excludeNonUsableThenChangePlaylist_(){this.excludeNonUsablePlaylistsByKeyId_(),this.fastQualityChange_()}}const Eg=(p,t,o)=>c=>{const y=p.main.playlists[t],_=Sf(y),P=xf(y);if(typeof c>"u")return P;c?delete y.disabled:y.disabled=!0;const H={renditionInfo:{id:t,bandwidth:y.attributes.BANDWIDTH,resolution:y.attributes.RESOLUTION,codecs:y.attributes.CODECS},cause:"fast-quality"};return c!==P&&!_&&(c?(o(y),p.trigger({type:"renditionenabled",metadata:H})):p.trigger({type:"renditiondisabled",metadata:H})),c};class Tg{constructor(t,o,c){const{playlistController_:y}=t,_=y.fastQualityChange_.bind(y);if(o.attributes){const P=o.attributes.RESOLUTION;this.width=P&&P.width,this.height=P&&P.height,this.bandwidth=o.attributes.BANDWIDTH,this.frameRate=o.attributes["FRAME-RATE"]}this.codecs=wd(y.main(),o),this.playlist=o,this.id=c,this.enabled=Eg(t.playlists,o.id,_)}}const wg=function(p){p.representations=()=>{const t=p.playlistController_.main(),o=Ef(t)?p.playlistController_.getAudioTrackPlaylists_():t.playlists;return o?o.filter(c=>!Sf(c)).map((c,y)=>new Tg(p,c,c.id)):[]}},H0=["seeking","seeked","pause","playing","error"];class _g extends nn.EventTarget{constructor(t){super(),this.playlistController_=t.playlistController,this.tech_=t.tech,this.seekable=t.seekable,this.allowSeeksWithinUnsafeLiveWindow=t.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=t.liveRangeSafeTimeDelta,this.media=t.media,this.playedRanges_=[],this.consecutiveUpdates=0,this.lastRecordedTime=null,this.checkCurrentTimeTimeout_=null,this.logger_=mo("PlaybackWatcher"),this.logger_("initialize");const o=()=>this.monitorCurrentTime_(),c=()=>this.monitorCurrentTime_(),y=()=>this.techWaiting_(),_=()=>this.resetTimeUpdate_(),P=this.playlistController_,H=["main","subtitle","audio"],ue={};H.forEach(Ye=>{ue[Ye]={reset:()=>this.resetSegmentDownloads_(Ye),updateend:()=>this.checkSegmentDownloads_(Ye)},P[`${Ye}SegmentLoader_`].on("appendsdone",ue[Ye].updateend),P[`${Ye}SegmentLoader_`].on("playlistupdate",ue[Ye].reset),this.tech_.on(["seeked","seeking"],ue[Ye].reset)});const Te=Ye=>{["main","audio"].forEach(xt=>{P[`${xt}SegmentLoader_`][Ye]("appended",this.seekingAppendCheck_)})};this.seekingAppendCheck_=()=>{this.fixesBadSeeks_()&&(this.consecutiveUpdates=0,this.lastRecordedTime=this.tech_.currentTime(),Te("off"))},this.clearSeekingAppendCheck_=()=>Te("off"),this.watchForBadSeeking_=()=>{this.clearSeekingAppendCheck_(),Te("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",y),this.tech_.on(H0,_),this.tech_.on("canplay",c),this.tech_.one("play",o),this.dispose=()=>{this.clearSeekingAppendCheck_(),this.logger_("dispose"),this.tech_.off("waiting",y),this.tech_.off(H0,_),this.tech_.off("canplay",c),this.tech_.off("play",o),this.tech_.off("seeking",this.watchForBadSeeking_),this.tech_.off("seeked",this.clearSeekingAppendCheck_),H.forEach(Ye=>{P[`${Ye}SegmentLoader_`].off("appendsdone",ue[Ye].updateend),P[`${Ye}SegmentLoader_`].off("playlistupdate",ue[Ye].reset),this.tech_.off(["seeked","seeking"],ue[Ye].reset)}),this.checkCurrentTimeTimeout_&&O().clearTimeout(this.checkCurrentTimeTimeout_),this.resetTimeUpdate_()}}monitorCurrentTime_(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&O().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=O().setTimeout(this.monitorCurrentTime_.bind(this),250)}resetSegmentDownloads_(t){const o=this.playlistController_[`${t}SegmentLoader_`];this[`${t}StalledDownloads_`]>0&&this.logger_(`resetting possible stalled download count for ${t} loader`),this[`${t}StalledDownloads_`]=0,this[`${t}Buffered_`]=o.buffered_()}checkSegmentDownloads_(t){const o=this.playlistController_,c=o[`${t}SegmentLoader_`],y=c.buffered_(),_=oh(this[`${t}Buffered_`],y);if(this[`${t}Buffered_`]=y,_){const P={bufferedRanges:y};o.trigger({type:"bufferedrangeschanged",metadata:P}),this.resetSegmentDownloads_(t);return}this[`${t}StalledDownloads_`]++,this.logger_(`found #${this[`${t}StalledDownloads_`]} ${t} appends that did not increase buffer (possible stalled download)`,{playlistId:c.playlist_&&c.playlist_.id,buffered:zd(y)}),!(this[`${t}StalledDownloads_`]<10)&&(this.logger_(`${t} loader stalled download exclusion`),this.resetSegmentDownloads_(t),this.tech_.trigger({type:"usage",name:`vhs-${t}-download-exclusion`}),t!=="subtitle"&&o.excludePlaylist({error:{message:`Excessive ${t} segment downloading detected.`},playlistExclusionDuration:1/0}))}checkCurrentTime_(){if(this.tech_.paused()||this.tech_.seeking())return;const t=this.tech_.currentTime(),o=this.tech_.buffered();if(this.lastRecordedTime===t&&(!o.length||t+Ol>=o.end(o.length-1)))return this.techWaiting_();if(this.consecutiveUpdates>=5&&t===this.lastRecordedTime)this.consecutiveUpdates++,this.waiting_();else if(t===this.lastRecordedTime)this.consecutiveUpdates++;else{this.playedRanges_.push(Po([this.lastRecordedTime,t]));const c={playedRanges:this.playedRanges_};this.playlistController_.trigger({type:"playedrangeschanged",metadata:c}),this.consecutiveUpdates=0,this.lastRecordedTime=t}}resetTimeUpdate_(){this.consecutiveUpdates=0}fixesBadSeeks_(){if(!this.tech_.seeking())return!1;const o=this.seekable(),c=this.tech_.currentTime(),y=this.afterSeekableWindow_(o,c,this.media(),this.allowSeeksWithinUnsafeLiveWindow);let _;if(y&&(_=o.end(o.length-1)),this.beforeSeekableWindow_(o,c)){const Qr=o.start(0);_=Qr+(Qr===o.end(0)?0:Ol)}if(typeof _<"u")return this.logger_(`Trying to seek outside of seekable at time ${c} with seekable range ${ah(o)}. Seeking to ${_}.`),this.tech_.setCurrentTime(_),!0;const P=this.playlistController_.sourceUpdater_,H=this.tech_.buffered(),ue=P.audioBuffer?P.audioBuffered():null,Te=P.videoBuffer?P.videoBuffered():null,Ye=this.media(),xt=Ye.partTargetDuration?Ye.partTargetDuration:(Ye.targetDuration-vl)*2,or=[ue,Te];for(let Qr=0;Qr<or.length;Qr++){if(!or[Qr])continue;if(uh(or[Qr],c)<xt)return!1}const Ir=Bf(H,c);return Ir.length===0?!1:(_=Ir.start(0)+Ol,this.logger_(`Buffered region starts (${Ir.start(0)}) just beyond seek point (${c}). Seeking to ${_}.`),this.tech_.setCurrentTime(_),!0)}waiting_(){if(this.techWaiting_())return;const t=this.tech_.currentTime(),o=this.tech_.buffered(),c=lf(o,t);if(c.length&&t+3<=c.end(0)){this.resetTimeUpdate_(),this.tech_.setCurrentTime(t),this.logger_(`Stopped at ${t} while inside a buffered region [${c.start(0)} -> ${c.end(0)}]. Attempting to resume playback by seeking to the current time.`),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"});return}}techWaiting_(){const t=this.seekable(),o=this.tech_.currentTime();if(this.tech_.seeking())return!0;if(this.beforeSeekableWindow_(t,o)){const H=t.end(t.length-1);return this.logger_(`Fell out of live window at time ${o}. Seeking to live point (seekable end) ${H}`),this.resetTimeUpdate_(),this.tech_.setCurrentTime(H),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),!0}const c=this.tech_.vhs.playlistController_.sourceUpdater_,y=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:c.audioBuffered(),videoBuffered:c.videoBuffered(),currentTime:o}))return this.resetTimeUpdate_(),this.tech_.setCurrentTime(o),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),!0;const P=Bf(y,o);return P.length>0?(this.logger_(`Stopped at ${o} and seeking to ${P.start(0)}`),this.resetTimeUpdate_(),this.skipTheGap_(o),!0):!1}afterSeekableWindow_(t,o,c,y=!1){if(!t.length)return!1;let _=t.end(t.length-1)+Ol;const P=!c.endList,H=typeof c.partTargetDuration=="number";return P&&(H||y)&&(_=t.end(t.length-1)+c.targetDuration*3),o>_}beforeSeekableWindow_(t,o){return!!(t.length&&t.start(0)>0&&o<t.start(0)-this.liveRangeSafeTimeDelta)}videoUnderflow_({videoBuffered:t,audioBuffered:o,currentTime:c}){if(!t)return;let y;if(t.length&&o.length){const _=lf(t,c-3),P=lf(t,c),H=lf(o,c);H.length&&!P.length&&_.length&&(y={start:_.end(0),end:H.end(0)})}else Bf(t,c).length||(y=this.gapFromVideoUnderflow_(t,c));return y?(this.logger_(`Encountered a gap in video from ${y.start} to ${y.end}. Seeking to current time ${c}`),!0):!1}skipTheGap_(t){const o=this.tech_.buffered(),c=this.tech_.currentTime(),y=Bf(o,c);if(this.resetTimeUpdate_(),y.length===0||c!==t)return;this.logger_("skipTheGap_:","currentTime:",c,"scheduled currentTime:",t,"nextRange start:",y.start(0)),this.tech_.setCurrentTime(y.start(0)+vl);const _={gapInfo:{from:c,to:y.start(0)}};this.playlistController_.trigger({type:"gapjumped",metadata:_}),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"})}gapFromVideoUnderflow_(t,o){const c=sh(t);for(let y=0;y<c.length;y++){const _=c.start(y),P=c.end(y);if(o-_<4&&o-_>2)return{start:_,end:P}}return null}}const Cg={errorInterval:30,getSource(p){const o=this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource();return p(o)}},W0=function(p,t){let o=0,c=0;const y=ja(Cg,t);p.ready(()=>{p.trigger({type:"usage",name:"vhs-error-reload-initialized"})});const _=function(){c&&p.currentTime(c)},P=function(Ye){Ye!=null&&(c=p.duration()!==1/0&&p.currentTime()||0,p.one("loadedmetadata",_),p.src(Ye),p.trigger({type:"usage",name:"vhs-error-reload"}),p.play())},H=function(){if(Date.now()-o<y.errorInterval*1e3){p.trigger({type:"usage",name:"vhs-error-reload-canceled"});return}if(!y.getSource||typeof y.getSource!="function"){nn.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!");return}return o=Date.now(),y.getSource.call(p,P)},ue=function(){p.off("loadedmetadata",_),p.off("error",H),p.off("dispose",ue)},Te=function(Ye){ue(),W0(p,Ye)};p.on("error",H),p.on("dispose",ue),p.reloadSourceOnError=Te},Ag=function(p){W0(this,p)};var V0="3.17.3",Og="7.1.0",Ig="1.3.1",Pg="7.2.0",Rg="4.0.2";const cu={PlaylistLoader:ff,Playlist:Il,utils:Qh,STANDARD_PLAYLIST_SELECTOR:rp,INITIAL_PLAYLIST_SELECTOR:Nm,lastBandwidthSelector:rp,movingAverageBandwidthSelector:Mm,comparePlaylistBandwidth:Ap,comparePlaylistResolution:Op,xhr:Eh()};Object.keys(Iu).forEach(p=>{Object.defineProperty(cu,p,{get(){return nn.log.warn(`using Vhs.${p} is UNSAFE be sure you know what you are doing`),Iu[p]},set(t){if(nn.log.warn(`using Vhs.${p} is UNSAFE be sure you know what you are doing`),typeof t!="number"||t<0){nn.log.warn(`value of Vhs.${p} must be greater than or equal to 0`);return}Iu[p]=t}})});const S="videojs-vhs",A=function(p,t){const o=t.media();let c=-1;for(let y=0;y<p.length;y++)if(p[y].id===o.id){c=y;break}p.selectedIndex_=c,p.trigger({selectedIndex:c,type:"change"})},Q=function(p,t){t.representations().forEach(o=>{p.addQualityLevel(o)}),A(p,t.playlists)};cu.canPlaySource=function(){return nn.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const _e=(p,t,o)=>{if(!p)return p;let c={};t&&t.attributes&&t.attributes.CODECS&&(c=Tf(Fr(t.attributes.CODECS))),o&&o.attributes&&o.attributes.CODECS&&(c.audio=o.attributes.CODECS);const y=Et(c.video),_=Et(c.audio),P={};for(const H in p)P[H]={},_&&(P[H].audioContentType=_),y&&(P[H].videoContentType=y),t.contentProtection&&t.contentProtection[H]&&t.contentProtection[H].pssh&&(P[H].pssh=t.contentProtection[H].pssh),typeof p[H]=="string"&&(P[H].url=p[H]);return ja(p,P)},nt=(p,t)=>p.reduce((o,c)=>{if(!c.contentProtection)return o;const y=t.reduce((_,P)=>{const H=c.contentProtection[P];return H&&H.pssh&&(_[P]={pssh:H.pssh}),_},{});return Object.keys(y).length&&o.push(y),o},[]),Dt=({player:p,sourceKeySystems:t,audioMedia:o,mainPlaylists:c})=>{if(!p.eme.initializeMediaKeys)return Promise.resolve();const y=o?c.concat([o]):c,_=nt(y,Object.keys(t)),P=[],H=[];return _.forEach(ue=>{H.push(new Promise((Te,Ye)=>{p.tech_.one("keysessioncreated",Te)})),P.push(new Promise((Te,Ye)=>{p.eme.initializeMediaKeys({keySystems:ue},xt=>{if(xt){Ye(xt);return}Te()})}))}),Promise.race([Promise.all(P),Promise.race(H)])},cr=({player:p,sourceKeySystems:t,media:o,audioMedia:c})=>{const y=_e(t,o,c);return y?(p.currentSource().keySystems=y,y&&!p.eme?(nn.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1):!0):!1},Ur=()=>{if(!O().localStorage)return null;const p=O().localStorage.getItem(S);if(!p)return null;try{return JSON.parse(p)}catch{return null}},sn=p=>{if(!O().localStorage)return!1;let t=Ur();t=t?ja(t,p):p;try{O().localStorage.setItem(S,JSON.stringify(t))}catch{return!1}return t},ui=p=>p.toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")===0?JSON.parse(p.substring(p.indexOf(",")+1)):p,li=(p,t)=>{p._requestCallbackSet||(p._requestCallbackSet=new Set),p._requestCallbackSet.add(t)},pi=(p,t)=>{p._responseCallbackSet||(p._responseCallbackSet=new Set),p._responseCallbackSet.add(t)},Zi=(p,t)=>{p._requestCallbackSet&&(p._requestCallbackSet.delete(t),p._requestCallbackSet.size||delete p._requestCallbackSet)},Ts=(p,t)=>{p._responseCallbackSet&&(p._responseCallbackSet.delete(t),p._responseCallbackSet.size||delete p._responseCallbackSet)};cu.supportsNativeHls=(function(){if(!D()||!D().createElement)return!1;const p=D().createElement("video");return nn.getTech("Html5").isSupported()?["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some(function(o){return/maybe|probably/i.test(p.canPlayType(o))}):!1})(),cu.supportsNativeDash=(function(){return!D()||!D().createElement||!nn.getTech("Html5").isSupported()?!1:/maybe|probably/i.test(D().createElement("video").canPlayType("application/dash+xml"))})(),cu.supportsTypeNatively=p=>p==="hls"?cu.supportsNativeHls:p==="dash"?cu.supportsNativeDash:!1,cu.isSupported=function(){return nn.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")},cu.xhr.onRequest=function(p){li(cu.xhr,p)},cu.xhr.onResponse=function(p){pi(cu.xhr,p)},cu.xhr.offRequest=function(p){Zi(cu.xhr,p)},cu.xhr.offResponse=function(p){Ts(cu.xhr,p)};const ta=nn.getComponent("Component");class Ra extends ta{constructor(t,o,c){if(super(o,c.vhs),typeof c.initialBandwidth=="number"&&(this.options_.bandwidth=c.initialBandwidth),this.logger_=mo("VhsHandler"),o.options_&&o.options_.playerId){const y=nn.getPlayer(o.options_.playerId);this.player_=y}if(this.tech_=o,this.source_=t,this.stats={},this.ignoreNextSeekingEvent_=!1,this.setOptions_(),this.options_.overrideNative&&o.overrideNativeAudioTracks&&o.overrideNativeVideoTracks)o.overrideNativeAudioTracks(!0),o.overrideNativeVideoTracks(!0);else if(this.options_.overrideNative&&(o.featuresNativeVideoTracks||o.featuresNativeAudioTracks))throw new Error("Overriding native VHS requires emulated tracks. See https://git.io/vMpjB");this.on(D(),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],y=>{const _=D().fullscreenElement||D().webkitFullscreenElement||D().mozFullScreenElement||D().msFullscreenElement;_&&_.contains(this.tech_.el())?this.playlistController_.fastQualityChange_():this.playlistController_.checkABR_()}),this.on(this.tech_,"seeking",function(){if(this.ignoreNextSeekingEvent_){this.ignoreNextSeekingEvent_=!1;return}this.setCurrentTime(this.tech_.currentTime())}),this.on(this.tech_,"error",function(){this.tech_.error()&&this.playlistController_&&this.playlistController_.pauseLoading()}),this.on(this.tech_,"play",this.play)}setOptions_(t={}){if(this.options_=ja(this.options_,t),this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions!==!1,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.usePlayerObjectFit=this.options_.usePlayerObjectFit||!1,this.options_.useBandwidthFromLocalStorage=typeof this.source_.useBandwidthFromLocalStorage<"u"?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useForcedSubtitles=this.options_.useForcedSubtitles||!1,this.options_.useNetworkInformationApi=typeof this.options_.useNetworkInformationApi<"u"?this.options_.useNetworkInformationApi:!0,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,this.options_.llhls=this.options_.llhls!==!1,this.options_.bufferBasedABR=this.options_.bufferBasedABR||!1,typeof this.options_.playlistExclusionDuration!="number"&&(this.options_.playlistExclusionDuration=60),typeof this.options_.bandwidth!="number"&&this.options_.useBandwidthFromLocalStorage){const c=Ur();c&&c.bandwidth&&(this.options_.bandwidth=c.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"})),c&&c.throughput&&(this.options_.throughput=c.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}))}typeof this.options_.bandwidth!="number"&&(this.options_.bandwidth=Iu.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Iu.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","usePlayerObjectFit","customPixelRatio","limitRenditionByPlayerDimensions","bandwidth","customTagParsers","customTagMappers","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","bufferBasedABR","liveRangeSafeTimeDelta","llhls","useForcedSubtitles","useNetworkInformationApi","useDtsForTimestampOffset","exactManifestTimings","leastPixelDiffSelector"].forEach(c=>{typeof this.source_[c]<"u"&&(this.options_[c]=this.source_[c])}),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio,this.usePlayerObjectFit=this.options_.usePlayerObjectFit;const o=this.options_.customPixelRatio;typeof o=="number"&&o>=0&&(this.customPixelRatio=o)}setOptions(t={}){this.setOptions_(t)}src(t,o){if(!t)return;this.setOptions_(),this.options_.src=ui(this.source_.src),this.options_.tech=this.tech_,this.options_.externVhs=cu,this.options_.sourceType=Mr(o),this.options_.seekTo=_=>{this.tech_.setCurrentTime(_)},this.options_.player_=this.player_,this.playlistController_=new xg(this.options_);const c=ja({liveRangeSafeTimeDelta:Ol},this.options_,{seekable:()=>this.seekable(),media:()=>this.playlistController_.media(),playlistController:this.playlistController_});this.playbackWatcher_=new _g(c),this.attachStreamingEventListeners_(),this.playlistController_.on("error",()=>{const _=nn.players[this.tech_.options_.playerId];let P=this.playlistController_.error;typeof P=="object"&&!P.code?P.code=3:typeof P=="string"&&(P={message:P,code:3}),_.error(P)});const y=this.options_.bufferBasedABR?cu.movingAverageBandwidthSelector(.55):cu.STANDARD_PLAYLIST_SELECTOR;this.playlistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):y.bind(this),this.playlistController_.selectInitialPlaylist=cu.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.playlistController_.mainPlaylistLoader_,this.mediaSource=this.playlistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get(){return this.playlistController_.selectPlaylist},set(_){this.playlistController_.selectPlaylist=_.bind(this)}},throughput:{get(){return this.playlistController_.mainSegmentLoader_.throughput.rate},set(_){this.playlistController_.mainSegmentLoader_.throughput.rate=_,this.playlistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get(){let _=this.playlistController_.mainSegmentLoader_.bandwidth;const P=O().navigator.connection||O().navigator.mozConnection||O().navigator.webkitConnection,H=1e7;if(this.options_.useNetworkInformationApi&&P){const ue=P.downlink*1e3*1e3;ue>=H&&_>=H?_=Math.max(_,ue):_=ue}return _},set(_){this.playlistController_.mainSegmentLoader_.bandwidth=_,this.playlistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get(){const _=1/(this.bandwidth||1);let P;return this.throughput>0?P=1/this.throughput:P=0,Math.floor(1/(_+P))},set(){nn.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:()=>this.bandwidth||0,enumerable:!0},mediaRequests:{get:()=>this.playlistController_.mediaRequests_()||0,enumerable:!0},mediaRequestsAborted:{get:()=>this.playlistController_.mediaRequestsAborted_()||0,enumerable:!0},mediaRequestsTimedout:{get:()=>this.playlistController_.mediaRequestsTimedout_()||0,enumerable:!0},mediaRequestsErrored:{get:()=>this.playlistController_.mediaRequestsErrored_()||0,enumerable:!0},mediaTransferDuration:{get:()=>this.playlistController_.mediaTransferDuration_()||0,enumerable:!0},mediaBytesTransferred:{get:()=>this.playlistController_.mediaBytesTransferred_()||0,enumerable:!0},mediaSecondsLoaded:{get:()=>this.playlistController_.mediaSecondsLoaded_()||0,enumerable:!0},mediaAppends:{get:()=>this.playlistController_.mediaAppends_()||0,enumerable:!0},mainAppendsToLoadedData:{get:()=>this.playlistController_.mainAppendsToLoadedData_()||0,enumerable:!0},audioAppendsToLoadedData:{get:()=>this.playlistController_.audioAppendsToLoadedData_()||0,enumerable:!0},appendsToLoadedData:{get:()=>this.playlistController_.appendsToLoadedData_()||0,enumerable:!0},timeToLoadedData:{get:()=>this.playlistController_.timeToLoadedData_()||0,enumerable:!0},buffered:{get:()=>zd(this.tech_.buffered()),enumerable:!0},currentTime:{get:()=>this.tech_.currentTime(),enumerable:!0},currentSource:{get:()=>this.tech_.currentSource_,enumerable:!0},currentTech:{get:()=>this.tech_.name_,enumerable:!0},duration:{get:()=>this.tech_.duration(),enumerable:!0},main:{get:()=>this.playlists.main,enumerable:!0},playerDimensions:{get:()=>this.tech_.currentDimensions(),enumerable:!0},seekable:{get:()=>zd(this.tech_.seekable()),enumerable:!0},timestamp:{get:()=>Date.now(),enumerable:!0},videoPlaybackQuality:{get:()=>this.tech_.getVideoPlaybackQuality(),enumerable:!0}}),this.tech_.one("canplay",this.playlistController_.setupFirstPlay.bind(this.playlistController_)),this.tech_.on("bandwidthupdate",()=>{this.options_.useBandwidthFromLocalStorage&&sn({bandwidth:this.bandwidth,throughput:Math.round(this.throughput)})}),this.playlistController_.on("selectedinitialmedia",()=>{wg(this)}),this.playlistController_.sourceUpdater_.on("createdsourcebuffers",()=>{this.setupEme_()}),this.on(this.playlistController_,"progress",function(){this.tech_.trigger("progress")}),this.on(this.playlistController_,"firstplay",function(){this.ignoreNextSeekingEvent_=!0}),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=O().URL.createObjectURL(this.playlistController_.mediaSource),(nn.browser.IS_ANY_SAFARI||nn.browser.IS_IOS)&&this.options_.overrideNative&&this.options_.sourceType==="hls"&&typeof this.tech_.addSourceElement=="function"?(this.tech_.addSourceElement(this.mediaSourceUrl_),this.tech_.addSourceElement(this.source_.src)):this.tech_.src(this.mediaSourceUrl_))}createKeySessions_(){const t=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),Dt({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:t&&t.media(),mainPlaylists:this.playlists.main.playlists}).then(()=>{this.logger_("created EME key session"),this.playlistController_.sourceUpdater_.initializedEme()}).catch(o=>{this.logger_("error while creating EME key session",o),this.player_.error({message:"Failed to initialize media ke
994ys for EME",code:3})})}handleWaitingForKey_(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()}setupEme_(){const t=this.playlistController_.mediaTypes_.AUDIO.activePlaylistLoader,o=cr({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:t&&t.media()});if(this.player_.tech_.on("keystatuschange",c=>{this.playlistController_.updatePlaylistByKeyStatus(c.keyId,c.status)}),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),!o){this.playlistController_.sourceUpdater_.initializedEme();return}this.createKeySessions_()}setupQualityLevels_(){const t=nn.players[this.tech_.options_.playerId];!t||!t.qualityLevels||this.qualityLevels_||(this.qualityLevels_=t.qualityLevels(),this.playlistController_.on("selectedinitialmedia",()=>{Q(this.qualityLevels_,this)}),this.playlists.on("mediachange",()=>{A(this.qualityLevels_,this.playlists)}))}static version(){return{"@videojs/http-streaming":V0,"mux.js":Og,"mpd-parser":Ig,"m3u8-parser":Pg,"aes-decrypter":Rg}}version(){return this.constructor.version()}canChangeType(){return L0.canChangeType()}play(){this.playlistController_.play()}setCurrentTime(t){this.playlistController_.setCurrentTime(t)}duration(){return this.playlistController_.duration()}seekable(){return this.playlistController_.seekable()}dispose(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.playlistController_&&this.playlistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.mediaSourceUrl_&&O().URL.revokeObjectURL&&(O().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),super.dispose()}convertToProgramTime(t,o){return Qe({playlist:this.playlistController_.media(),time:t,callback:o})}seekToProgramTime(t,o,c=!0,y=2){return fr({programTime:t,playlist:this.playlistController_.media(),retryCount:y,pauseAfterSeek:c,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:o})}setupXhrHooks_(){this.xhr.onRequest=t=>{li(this.xhr,t)},this.xhr.onResponse=t=>{pi(this.xhr,t)},this.xhr.offRequest=t=>{Zi(this.xhr,t)},this.xhr.offResponse=t=>{Ts(this.xhr,t)},this.player_.trigger("xhr-hooks-ready")}attachStreamingEventListeners_(){const t=["seekablerangeschanged","bufferedrangeschanged","contentsteeringloadstart","contentsteeringloadcomplete","contentsteeringparsed"],o=["gapjumped","playedrangeschanged"];t.forEach(c=>{this.playlistController_.on(c,y=>{this.player_.trigger(V({},y))})}),o.forEach(c=>{this.playbackWatcher_.on(c,y=>{this.player_.trigger(V({},y))})})}}const Ws={name:"videojs-http-streaming",VERSION:V0,canHandleSource(p,t={}){const o=ja(nn.options,t);return!o.vhs.experimentalUseMMS&&!st("avc1.4d400d,mp4a.40.2",!1)?!1:Ws.canPlayType(p.type,o)},handleSource(p,t,o={}){const c=ja(nn.options,o);return t.vhs=new Ra(p,t,c),t.vhs.xhr=Eh(),t.vhs.setupXhrHooks_(),t.vhs.src(p.src,p.type),t.vhs},canPlayType(p,t){const o=Mr(p);if(!o)return"";const c=Ws.getOverrideNative(t);return!cu.supportsTypeNatively(o)||c?"maybe":""},getOverrideNative(p={}){const{vhs:t={}}=p,o=!(nn.browser.IS_ANY_SAFARI||nn.browser.IS_IOS),{overrideNative:c=o}=t;return c}};st("avc1.4d400d,mp4a.40.2",!0)&&nn.getTech("Html5").registerSourceHandler(Ws,0),nn.VhsHandler=Ra,nn.VhsSourceHandler=Ws,nn.Vhs=cu,nn.use||nn.registerComponent("Vhs",cu),nn.options.vhs=nn.options.vhs||{},(!nn.getPlugin||!nn.getPlugin("reloadSourceOnError"))&&nn.registerPlugin("reloadSourceOnError",Ag);const l1={ar:JSON.parse('{"Play":"\u062A\u0634\u063A\u064A\u0644","Pause":"\u0625\u064A\u0642\u0627\u0641","Current Time":"\u0627\u0644\u0648\u0642\u062A \u0627\u0644\u062D\u0627\u0644\u064A","Duration":"\u0627\u0644\u0645\u062F\u0629","Remaining Time":"\u0627\u0644\u0648\u0642\u062A \u0627\u0644\u0645\u062A\u0628\u0642\u064A","Stream Type":"\u0646\u0648\u0639 \u0627\u0644\u062A\u064A\u0627\u0631","LIVE":"\u0645\u0628\u0627\u0634\u0631","Loaded":"\u062A\u0645 \u0627\u0644\u062A\u062D\u0645\u064A\u0644","Progress":"\u0627\u0644\u062A\u0642\u062F\u0645","Fullscreen":"\u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629","Exit Fullscreen":"\u062A\u0639\u0637\u064A\u0644 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629","Mute":"\u0643\u062A\u0645","Unmute":"\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0643\u062A\u0645","Playback Rate":"\u
9940633\u0631\u0639\u0629 \u0627\u0644\u062A\u0634\u063A\u064A\u0644","Subtitles":"\u0627\u0644\u062A\u0631\u062C\u0645\u0629","subtitles off":"\u0625\u064A\u0642\u0627\u0641 \u0627\u0644\u062A\u0631\u062C\u0645\u0629","Captions":"\u0627\u0644\u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629","captions off":"\u0625\u064A\u0642\u0627\u0641 \u0627\u0644\u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629","Chapters":"\u0627\u0644\u0641\u0635\u0648\u0644","You aborted the media playback":"\u0644\u0642\u062F \u0623\u0644\u063A\u064A\u062A \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648","A network error caused the media download to fail part-way.":"\u062A\u0633\u0628\u0628 \u062E\u0637\u0623 \u0641\u064A \u0627\u0644\u0634\u0628\u0643\u0629 \u0628\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0628\u0627\u0644\u0643\u0627\u0645\u0644.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"\u0644\u0627 \u064A\u0645\u0643\u0646 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0628\u0633\u0628\u0628 \u0641\u0634\u0644 \u0641\u064A \u0627\u0644\u062E\u0627\u062F\u0645 \u0623\u0648 \u0627\u0644\u0634\u0628\u0643\u0629 \u060C \u0623\u0648 \u0628\u0633\u0628\u0628 \u0639\u062F\u0645 \u0625\u0645\u0643\u0627\u0646\u064A\u0629 \u0642\u0631\u0627\u0621\u0629 \u062A\u0646\u0633\u064A\u0642 \u0627\u0644\u0641\u064A\u062F\u064A\u0648.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"\u062A\u0645 \u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0628\u0633\u0628\u0628 \u0639\u062F\u0645 \u0635\u0644\u0627\u062D\u064A\u0629 \u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0623\u0648 \u0644\u0623\u0646 \u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u064A\u0633\u062A\u062E\u062F\u0645 \u0645\u064A\u0632\u0627\u062A \u063A\u064A\u0631 \u0645\u062F\u0639\u0648\u0645\u0629 \u0645\u0646 \u0645\u062A\u0635\u0641\u062D\u0643.","No compatible source was found for this media.":"\u0641\u0634\u0644 \u0627\u0644\u0639\u062B\u0648\u0631 \u0639\u0644\u0649 \u0623\u064A \u0645\u0635\u062F\u0631 \u0645\u062A\u0648\u0627\u0641\u0642 \u0645\u0639 \u0647\u0630\u0627 \u0627\u0644\u0641\u064A\u062F\u064A\u0648.","Play Video":"\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648","Close":"\u0623\u063A\u0644\u0642","Modal Window":"\u0627\u0644\u0646\u0627\u0641\u0630\u0629","This is a modal window":"\u0647\u0630\u0647 \u0646\u0627\u0641\u0630\u0629","This modal can be closed by pressing the Escape key or activating the close button.":"\u064A\u0645\u0643\u0646 \u063A\u0644\u0642 \u0647\u0630\u0647 \u0627\u0644\u0646\u0627\u0641\u0630\u0629 \u0639\u0646 \u0637\u0631\u064A\u0642 \u0627\u0644\u0636\u063A\u0637 \u0639\u0644\u0649 \u0632\u0631 \u0627\u0644\u062E\u0631\u0648\u062C \u0623\u0648 \u062A\u0641\u0639\u064A\u0644 \u0632\u0631 \u0627\u0644\u0625\u063A\u0644\u0627\u0642",", opens captions settings dialog":", \u062A\u0641\u062A\u062D \u0646\u0627\u0641\u0630\u0629 \u062E\u064A\u0627\u0631\u0627\u062A \u0627\u0644\u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629",", opens subtitles settings dialog":", \u062A\u0641\u062A\u062D \u0646\u0627\u0641\u0630\u0629 \u062E\u064A\u0627\u0631\u0627\u062A \u0627\u0644\u062A\u0631\u062C\u0645\u0629",", selected":", \u0645\u062E\u062A\u0627\u0631","Audio Player":"\u0645\u0634\u063A\u0644 \u0627\u0644\u0635\u0648\u062A","Video Player":"\u0645\u0634\u063A\u0644 \u0627\u0644\u0641\u064A\u062F\u064A\u0648","Replay":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0634\u063A\u064A\u0644","Seek to live, currently behind live":"\u0627\u0644\u0630\u0647\u0627\u0628 \u0625\u0644\u0649 \u0646\u0642\u0637\u0629 \u0627\u0644\u0628\u062B \u0627\u0644\u0645\u0628\u0627\u0634\u0631\u060C \u0645\u062A\u0623\u062E\u0631 \u0639\u0646 \u0627\u0644\u0628\u062B \u0627\u0644\u0645\u0628\u0627\u0634\u0631 \u062D\u0627\u0644\u064A\u064B\u0627","Seek to live, currently playing live":"\u0627\u0644\u0630\u0647\u0627\u0628 \u0625\u0644\u0649 \u0646\u0642\u0637\u0629 \u0627\u0644\u0628\u062B \u0627\u0644\u0645\u0628\u0627\u0634\u0631\u060C \u0627\u0644\u0628\u062B \u0627\u0644\u0645\u0628\u0627\u0634\u0631 \u0642\u064A\u062F \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u062D\u0627\u0644\u064A\u064B\u0627","Progress Bar":"\u0634\u0631\u064A\u0637 \u0627\u0644\u062A\u0642\u062F\u0645","progress bar timing: currentTime={1} duration={2}":"{1} \u0645\u0646 {2}","Descriptions":"\u0627\u0644\u0648\u0635\u0641","descriptions off":"\u0625\u062E\u0641\u0627\u0621 \u0627\u0644\u0648\u0635\u0641","Audio Track":"\u0627\u0644\u0645\u0633\u0627\u0631 \u0627\u0644\u0635\u0648\u062A\u064A","Volume Level":"\u0645\u0633\u062A\u0648\u0649 \u0627\u0644\u0635\u0648\u062A","The media is encrypted and we do not have the keys to decrypt it."
994:"\u0627\u0644\u0648\u0633\u0627\u0626\u0637 \u0645\u0634\u0641\u0631\u0629 \u0648\u0644\u064A\u0633 \u0644\u062F\u064A\u0646\u0627 \u0627\u0644\u0631\u0645\u0648\u0632 \u0627\u0644\u0644\u0627\u0632\u0645\u0629 \u0644\u0641\u0643 \u0634\u0641\u0631\u062A\u0647\u0627.","Close Modal Dialog":"\u0625\u063A\u0644\u0627\u0642 \u0645\u0631\u0628\u0639 \u0627\u0644\u062D\u0648\u0627\u0631 \u0627\u0644\u0645\u0634\u0631\u0648\u0637",", opens descriptions settings dialog":"\u060C \u064A\u0641\u062A\u062D \u0646\u0627\u0641\u0630\u0629 \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0648\u0635\u0641","captions settings":"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062A\u0639\u0644\u064A\u0642\u0627\u062A \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629","subtitles settings":"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062A\u0631\u062C\u0645\u0627\u062A","descriptions settings":"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0648\u0635\u0641","Text":"\u0627\u0644\u0646\u0635","White":"\u0623\u0628\u064A\u0636","Black":"\u0623\u0633\u0648\u062F","Red":"\u0623\u062D\u0645\u0631","Green":"\u0623\u062E\u0636\u0631","Blue":"\u
9940623\u0632\u0631\u0642","Yellow":"\u0623\u0635\u0641\u0631","Magenta":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","Cyan":"\u0623\u0632\u0631\u0642 \u0633\u0645\u0627\u0648\u064A","Background":"\u0627\u0644\u062E\u0644\u0641\u064A\u0629","Window":"\u0646\u0627\u0641\u0630\u0629","Transparent":"\u0634\u0641\u0627\u0641","Semi-Transparent":"\u0646\u0635\u0641 \u0634\u0641\u0627\u0641","Opaque":"\u0645\u0639\u062A\u0645","Font Size":"\u062D\u062C\u0645 \u0627\u0644\u062E\u0637","Text Edge Style":"\u0646\u0645\u0637 \u062D\u0648\u0627\u0641 \u0627\u0644\u0646\u0635","None":"\u0644\u0627 \u0634\u064A\u0621","Raised":"\u0628\u0627\u0631\u0632","Depressed":"\u0645\u0646\u062E\u0641\u0636","Uniform":"\u0645\u0646\u062A\u0638\u0645","Drop shadow":"\u0627\u0644\u0638\u0644","Font Family":"\u0639\u0627\u0626\u0644\u0629 \u0627\u0644\u062E\u0637\u0648\u0637","Proportional Sans-Serif":"Proportional Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportional Serif","Monospace Serif":"Monospace Serif","Casual":"Casual","Script":"Script","Small Caps":"Small Caps","Reset":"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0636\u0628\u0637","restore all settings to the default values":"\u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0643\u0644 \u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0625\u0644\u0649 \u0627\u0644\u0642\u064A\u0645 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A\u0629","Done":"\u062A\u0645","Caption Settings Dialog":"\u0646\u0627\u0641\u0630\u0629 \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062A\u0639\u0644\u064A\u0642\u0627\u062A \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629","Beginning of dialog window. Escape will cancel and close the window.":"\u0628\u062F\u0627\u064A\u0629 \u0627\u0644\u0646\u0627\u0641\u0630\u0629. \u0627\u0644\u0636\u063A\u0637 \u0639\u0644\u0649 \u0632\u0631 \\"Escape\\" \u0633\u064A\u0624\u062F\u064A \u0625\u0644\u0649 \u0627\u0644\u0625\u0644\u063A\u0627\u0621 \u0648\u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u0646\u0627\u0641\u0630\u0629.","End of dialog window.":".\u0646\u0647\u0627\u064A\u0629 \u0627\u0644\u0646\u0627\u0641\u0630\u0629","{1} is loading.":"{1} \u0642\u064A\u062F \u0627\u0644\u062A\u062D\u0645\u064A\u0644.","Exit Picture-in-Picture":"\u0627\u0644\u062E\u0631\u0648\u062C \u0645\u0646 \u0648\u0636\u0639 \u0635\u0648\u0631\u0629 \u062F\u0627\u062E\u0644 \u0635\u0648\u0631\u0629","Picture-in-Picture":"\u0635\u0648\u0631\u0629 \u062F\u0627\u062E\u0644 \u0635\u0648\u0631\u0629","No content":"\u0644\u0627 \u064A\u0648\u062C\u062F \u0645\u062D\u062A\u0648\u0649","Color":"\u0627\u0644\u0644\u0648\u0646","Opacity":"\u0645\u0639\u062F\u0644 \u0627\u0644\u0634\u0641\u0627\u0641\u064A\u0629","Text Background":"\u062E\u0644\u0641\u064A\u0629 \u0627\u0644\u0646\u0635","Caption Area Background":"\u062E\u0644\u0641\u064A\u0629 \u0645\u0646\u0637\u0642\u0629 \u0627\u0644\u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u062A\u0648\u0636\u064A\u062D\u064A\u0629","Playing in Picture-in-Picture":"\u0635\u0648\u0631\u0629 \u062F\u0627\u062E\u0644 \u0635\u0648\u0631\u0629 \u0642\u064A\u062F \u0627\u0644\u062A\u0634\u063A\u064A\u0644","Skip forward {1} seconds":"\u0627\u0644\u062A\u062E\u0637\u064A \u0644\u0644\u0623\u0645\u0627\u0645 {1}","Skip backward {1} seconds":"\u0627\u0644\u0631\u062C\u0648\u0639 \u0644\u0644\u062E\u0644\u0641 {1}"}
994'),cs:JSON.parse('{"Audio Player":"Audio P\u0159ehrava\u010D","Video Player":"Video P\u0159ehrava\u010D","Play":"P\u0159ehr\xE1t","Pause":"Pozastavit","Replay":"P\u0159ehr\xE1t znovu","Current Time":"Aktu\xE1ln\xED \u010Das","Duration":"Doba trv\xE1n\xED","Remaining Time":"Zb\xFDvaj\xEDc\xED \u010Das","Stream Type":"Typ streamu","LIVE":"\u017DIV\u011A","Loaded":"Na\u010Dteno","Progress":"Stav","Progress Bar":"Ukazatel pr\u016Fb\u011Bhu","progress bar timing: currentTime={1} duration={2}":"{1} z {2}","Fullscreen":"Cel\xE1 obrazovka","Exit Fullscreen":"B\u011B\u017En\xE9 zobrazen\xED","Mute":"Ztlumit","Unmute":"Zru\u0161it ztlumen\xED","Playback Rate":"Rychlost p\u0159ehr\xE1v\xE1n\xED","Subtitles":"Titulky","subtitles off":"Bez titulk\u016F","Captions":"Popisky","captions off":"Popisky vypnut\xE9","Chapters":"Kapitoly","Descriptions":"Popisy","descriptions off":"Bez popis\u016F","Audio Track":"Zvukov\xE1 stopa","Volume Level":"Hlasitost","You aborted the media playback":"P\u0159ehr\xE1v\xE1n\xED videa bylo p\u0159eru\u0161eno.","A network error caused the media download to fail part-way.":"Video nemohlo b\xFDt na\u010Dteno kv\u016Fli chyb\u011B v s\xEDti.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Video nemohlo b\xFDt na\u010Dteno, bu\u010F kv\u016Fli chyb\u011B serveru, s\xEDt\u011B nebo proto, \u017Ee dan\xFD form\xE1t nen\xED podporov\xE1n.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"V\xE1\u0161 prohl\xED\u017Ee\u010D nepodporuje tento form\xE1t videa.","No compatible source was found for this media.":"Nevalidn\xED zadan\xFD zdroj videa.","The media is encrypted and we do not have the keys to decrypt it.":"Chyba p\u0159i de\u0161ifrov\xE1n\xED videa.","Play Video":"P\u0159ehr\xE1t video","Close":"Zav\u0159it","Close Modal Dialog":"Zav\u0159\xEDt okno","Modal Window":"Mod\xE1ln\xED okno","This is a modal window":"Toto je mod\xE1ln\xED okno","This modal can be closed by pressing the Escape key or activating the close button.":"Toto okno se d\xE1 zav\u0159\xEDt k\u0159\xED\u017Ekem nebo kl\xE1vesou Esc.",", opens captions settings dialog":", otev\u0159\xEDt okno pro nastaven\xED popisk\u016F",", opens subtitles settings dialog":", otev\u0159\xEDt okno pro nastaven\xED titulk\u016F",", opens descriptions settings dialog":", otev\u0159e okno pro nastaven\xED popisk\u016F pro nevidom\xE9",", selected":", vybr\xE1no","captions settings":"nastaven\xED popisk\u016F","subtitles settings":"nastaven\xED titulk\u016F","descriptions settings":"nastaven\xED popisk\u016F pro nevidom\xE9","Text":"Titulky","White":"B\xEDl\xE9","Black":"\u010Cern\xE9","Red":"\u010Cerven\xE9","Green":"Zelen\xE9","Blue":"Modr\xE9","Yellow":"\u017Dlut\xE9","Magenta":"Fialov\xE9","Cyan":"Azurov\xE9","Background":"Pozad\xED titulk\u016F","Window":"Okno","Transparent":"Pr\u016Fhledn\xE9","Semi-Transparent":"Polopr\u016Fhledn\xE9","Opaque":"Nepr\u016Fhledn\xE9","Font Size":"Velikost p\xEDsma","Text Edge Style":"Okraje p\xEDsma","None":"Bez okraje","Raised":"Zv\xFD\u0161en\xFD","Depressed":"Propadl\xFD","Uniform":"Rovnom\u011Brn\xFD","Drop shadow":"St\xEDnovan\xFD","Font Family":"Rodina p\xEDsma","Proportional Sans-Serif":"Proporcion\xE1ln\xED bezpatkov\xE9","Monospace Sans-Serif":"Monospace bezpatkov\xE9","Proportional Serif":"Proporcion\xE1ln\xED patkov\xE9","Monospace Serif":"Monospace patkov\xE9","Casual":"Hrav\xE9","Script":"Ru\u010Dn\u011B psan\xE9","Small Caps":"Mal\xE9 kapit\xE1lky","Reset":"Obnovit","restore all settings to the default values":"Vr\xE1tit nastaven\xED do v\xFDchoz\xEDho stavu","Done":"Hotovo","Caption Settings Dialog":"Okno s nastaven\xEDm titulk\u016F","Beginning of dialog window. Escape will cancel and close the window.":"Za\u010D\xE1tek dialogov\xE9ho okna. Kl\xE1vesa Esc okno zav\u0159e.","End of dialog window.":"Konec dialogov\xE9ho okna.","{1} is loading.":"{1} se na\u010D\xEDt\xE1."}'),de:JSON.parse('{"Play":"Wiedergabe","Pause":"Pause","Replay":"Erneut abspielen","Current Time":"Aktueller Zeitpunkt","Duration":"Dauer","Remaining Time":"Verbleibende Zeit","Stream Type":"Streamtyp","LIVE":"LIVE","Loaded":"Geladen","Progress":"Status","Fullscreen":"Vollbild","Exit Fullscreen":"Vollbildmodus beenden","Mute":"Stumm schalten","Unmute":"Ton einschalten","Playback Rate":"Wiedergabegeschwindigkeit","Subtitles":"Untertitel","subtitles off":"Untertitel aus","Captions":"Untertitel","captions off":"Untertitel aus","Chapters":"Kapitel","You aborted the media playback":"Sie haben die Videowiedergabe abgebrochen.","A network error caused the media download to fail part-way.":"Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterst\xFCtzt wird.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Die Videowiedergabe wurde entweder wegen eines Problems mit einem besch\xE4digten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterst\xFCtzt werden, abgebrochen.","No compatible source was found for this media.":"F\xFCr dieses Video wurde keine kompatible Quelle gefunden.","Play Video":"Video abspielen","Close":"Schlie\xDFen","Modal Window":"Modales Fenster","This is a modal window":"Dies ist ein modales Fenster","This modal can be closed by pressing the Escape key or activating the close button.":"Durch Dr\xFCcken der Esc-Taste bzw. Bet\xE4tigung der Schaltfl\xE4che \\"Schlie\xDFen\\" wird dieses modale Fenster geschlossen.",", opens captions settings dialog":", \xF6ffnet Einstellungen f\xFCr Untertitel",", opens subtitles settings dialog":", \xF6ffnet Einstellungen f\xFCr Untertitel",", selected":", ausgew\xE4hlt","captions settings":"Untertiteleinstellungen","subtitles settings":"Untertiteleinstellungen","de
994scriptions settings":"Einstellungen f\xFCr Beschreibungen","Close Modal Dialog":"Modales Fenster schlie\xDFen","Descriptions":"Beschreibungen","descriptions off":"Beschreibungen aus","The media is encrypted and we do not have the keys to decrypt it.":"Die Entschl\xFCsselungsschl\xFCssel f\xFCr den verschl\xFCsselten Medieninhalt sind nicht verf\xFCgbar.",", opens descriptions settings dialog":", \xF6ffnet Einstellungen f\xFCr Beschreibungen","Audio Track":"Tonspur","Text":"Schrift","White":"Wei\xDF","Black":"Schwarz","Red":"Rot","Green":"Gr\xFCn","Blue":"Blau","Yellow":"Gelb","Magenta":"Magenta","Cyan":"T\xFCrkis","Background":"Hintergrund","Window":"Fenster","Transparent":"Durchsichtig","Semi-Transparent":"Halbdurchsichtig","Opaque":"Undurchsichtig","Font Size":"Schriftgr\xF6\xDFe","Text Edge Style":"Textkantenstil","None":"Kein","Raised":"Erhoben","Depressed":"Gedr\xFCckt","Uniform":"Uniform","Drop shadow":"Schlagschatten","Font Family":"Schriftfamilie","Proportional Sans-Serif":"Proportionale Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportionale Serif","Monospace Serif":"Monospace Serif","Casual":"Zwanglos","Script":"Schreibschrift","Small Caps":"Small-Caps","Reset":"Zur\xFCcksetzen","restore all settings to the default values":"Alle Einstellungen auf die Standardwerte zur\xFCcksetzen","Done":"Fertig","Caption Settings Dialog":"Einstellungsdialog f\xFCr Untertitel","Beginning of dialog window. Escape will cancel and close the window.":"Anfang des Dialogfensters. Esc bricht ab und schlie\xDFt das Fenster.","End of dialog window.":"Ende des Dialogfensters.","Audio Player":"Audio-Player","Video Player":"Video-Player","Progress Bar":"Fortschrittsbalken","progress bar timing: currentTime={1} duration={2}":"{1} von {2}","Volume Level":"Lautst\xE4rke","{1} is loading.":"{1} wird geladen.","Seek to live, currently behind live":"Zur Live-\xDCbertragung wechseln. Aktuell wird es nicht live abgespielt.","Seek to live, currently playing live":"Zur Live-\xDCbertragung wechseln. Es wird aktuell live abgespielt.","Exit Picture-in-Picture":"Bild-im-Bild-Modus beenden","Picture-in-Picture":"Bild-im-Bild-Modus","No content":"Kein Inhalt","Color":"Farbe","Opacity":"Deckkraft","Text Background":"Texthintergrund","Caption Area Background":"Hintergrund des Untertitelbereichs","Playing in Picture-in-Picture":"Wird im Bild-im-Bild-Modus wiedergegeben","Skip forward {1} seconds":"{1} Sekunden vorw\xE4rts","Skip backward {1} seconds":"{1} Sekunden zur\xFCck"}'),en:JSON.parse('{"Audio Player":"Audio Player","Video Player":"Video Player","Play":"Play","Pause":"Pause","Replay":"Replay","Current Time":"Current Time","Duration":"Duration","Remaining Time":"Remaining Time","Stream Type":"Stream Type","LIVE":"LIVE","Seek to live, currently behind live":"Seek to live, currently behind live","Seek to live, currently playing live":"Seek to live, currently playing live","Loaded":"Loaded","Progress":"Progress","Progress Bar":"Progress Bar","progress bar timing: currentTime={1} duration={2}":"{1} of {2}","Fullscreen":"Fullscreen","Exit Fullscreen":"Exit Fullscreen","Mute":"Mute","Unmute":"Unmute","Playback Rate":"Playback Rate","Subtitles":"Subtitles","subtitles off":"subtitles off","Captions":"Captions","captions off":"captions off","Chapters":"Chapters","Descriptions":"Descriptions","descriptions off":"descriptions off","Audio Track":"Audio Track","Volume Level":"Volume Level","You aborted the media playback":"You aborted the media playback","A network error caused the media download to fail part-way.":"A network error caused the media download to fail part-way.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"The media could not be loaded, either because the server or network failed or because the format is not supported.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.","No compatible source was found for this media.":"No compatible source was found for this media.","The media is encrypted and we do not have the keys to decrypt it."
994:"The media is encrypted and we do not have the keys to decrypt it.","Play Video":"Play Video","Close":"Close","Close Modal Dialog":"Close Modal Dialog","Modal Window":"Modal Window","This is a modal window":"This is a modal window","This modal can be closed by pressing the Escape key or activating the close button.":"This modal can be closed by pressing the Escape key or activating the close button.",", opens captions settings dialog":", opens captions settings dialog",", opens subtitles settings dialog":", opens subtitles settings dialog",", opens descriptions settings dialog":", opens descriptions settings dialog",", selected":", selected","captions settings":"captions settings","subtitles settings":"subtitles settings","descriptions settings":"descriptions settings","Text":"Text","White":"White","Black":"Black","Red":"Red","Green":"Green","Blue":"Blue","Yellow":"Yellow","Magenta":"Magenta","Cyan":"Cyan","Background":"Background","Window":"Window","Transparent":"Transparent","Semi-Transparent":"Semi-Transparent","Opaque":"Opaque","Font Size":"Font Size","Text Edge Style":"Text Edge Style","None":"None","Raised":"Raised","Depressed":"Depressed","Uniform":"Uniform","Drop shadow":"Drop shadow","Font Family":"Font Family","Proportional Sans-Serif":"Proportional Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportional Serif","Monospace Serif":"Monospace Serif","Casual":"Casual","Script":"Script","Small Caps":"Small Caps","Reset":"Reset","restore all settings to the default values":"restore all settings to the default values","Done":"Done","Caption Settings Dialog":"Caption Settings Dialog","Beginning of dialog window. Escape will cancel and close the window.":"Beginning of dialog window. Escape will cancel and close the window.","End of dialog window.":"End of dialog window.","{1} is loading.":"{1} is loading.","Exit Picture-in-Picture":"Exit Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture","No content":"No content","Color":"Color","Opacity":"Opacity","Text Background":"Text Background","Caption Area Background":"Caption Area Background","Playing in Picture-in-Picture":"Playing in Picture-in-Picture","Skip backward {1} seconds":"Skip backward {1} seconds","Skip forward {1} seconds":"Skip forward {1} seconds"}'),es:JSON.parse('{"Play":"Reproducir","Play Video":"Reproducir V\xEDdeo","Pause":"Pausa","Current Time":"Tiempo reproducido","Duration":"Duraci\xF3n total","Remaining Time":"Tiempo restante","Stream Type":"Tipo de secuencia","LIVE":"DIRECTO","Loaded":"Cargado","Progress":"Progreso","Fullscreen":"Pantalla completa","Exit Fullscreen":"Pantalla no completa","Mute":"Desactivar el sonido","Unmute":"Activar el sonido","Playback Rate":"Velocidad de reproducci\xF3n","Subtitles":"Subt\xEDtulos","subtitles off":"Subt\xEDtulos desactivados","Captions":"Subt\xEDtulos especiales","captions off":"Subt\xEDtulos especiales desactivados","Chapters":"Cap\xEDtulos","You aborted the media playback":"Ha interrumpido la reproducci\xF3n del v\xEDdeo.","A network error caused the media download to fail part-way.":"Un error de red ha interrumpido la descarga del v\xEDdeo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"No se ha podido cargar el v\xEDdeo debido a un fallo de red o del servidor o porque el formato es incompatible.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La reproducci\xF3n de v\xEDdeo se ha interrumpido por un problema de corrupci\xF3n de datos o porque el v\xEDdeo precisa funciones que su navegador no ofrece.","No compatible source was found for this media.":"No se ha encontrado ninguna fuente compatible con este v\xEDdeo.","Audio Player":"Reproductor de audio","Video Player":"Reproductor de video","Replay":"Volver a reproducir","Seek to live, currently behind live":"Buscar en vivo, actualmente demorado con respecto a la transmisi\xF3n en vivo","Seek to live, currently playing live":"Buscar en vivo, actualmente reproduciendo en vivo","Progress Bar":"Barra de progreso","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Descriptions":"Descripciones","descriptions off":"descripciones desactivadas","Audio Track":"Pista de audio","Volume Level":"Nivel de volumen","The media is encrypted and we do not have the keys to decrypt it."
994:"El material audiovisual est\xE1 cifrado y no tenemos las claves para descifrarlo.","Close":"Cerrar","Modal Window":"Ventana modal","This is a modal window":"Esta es una ventana modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta ventana modal puede cerrarse presionando la tecla Escape o activando el bot\xF3n de cierre.",", opens captions settings dialog":", abre el di\xE1logo de configuraci\xF3n de leyendas",", opens subtitles settings dialog":", abre el di\xE1logo de configuraci\xF3n de subt\xEDtulos",", selected":", seleccionado","Close Modal Dialog":"Cierra cuadro de di\xE1logo modal",", opens descriptions settings dialog":", abre el di\xE1logo de configuraci\xF3n de las descripciones","captions settings":"configuraci\xF3n de leyendas","subtitles settings":"configuraci\xF3n de subt\xEDtulos","descriptions settings":"configuraci\xF3n de descripciones","Text":"Texto","White":"Blanco","Black":"Negro","Red":"Rojo","Green":"Verde","Blue":"Azul","Yellow":"Amarillo","Magenta":"Magenta","Cyan":"Cian","Background":"Fondo","Window":"Ventana","Transparent":"Transparente","Semi-Transparent":"Semitransparente","Opaque":"Opaca","Font Size":"Tama\xF1o de fuente","Text Edge Style":"Estilo de borde del texto","None":"Ninguno","Raised":"En relieve","Depressed":"Hundido","Uniform":"Uniforme","Drop shadow":"Sombra paralela","Font Family":"Familia de fuente","Proportional Sans-Serif":"Sans-Serif proporcional","Monospace Sans-Serif":"Sans-Serif monoespacio","Proportional Serif":"Serif proporcional","Monospace Serif":"Serif monoespacio","Casual":"Informal","Script":"Cursiva","Small Caps":"Min\xFAsculas","Reset":"Restablecer","restore all settings to the default values":"restablece todas las configuraciones a los valores predeterminados","Done":"Listo","Caption Settings Dialog":"Di\xE1logo de configuraci\xF3n de leyendas","Beginning of dialog window. Escape will cancel and close the window.":"Comienzo de la ventana de di\xE1logo. La tecla Escape cancelar\xE1 la operaci\xF3n y cerrar\xE1 la ventana.","End of dialog window.":"Final de la ventana de di\xE1logo.","{1} is loading.":"{1} se est\xE1 cargando.","Exit Picture-in-Picture":"Salir de imagen sobre imagen","Picture-in-Picture":"Imagen sobre imagen","No content":"Sin contenido","Color":"Color","Opacity":"Opacidad","Text Background":"Fondo del texto","Caption Area Background":"Fondo del \xE1rea de subt\xEDtulos","Skip forward {1} seconds":"Avanza {1} segundos","Skip backward {1} seconds":"Retrocede {1} segundos"}'),fr:JSON.parse(`{"Audio Player":"Lecteur audio","Video Player":"Lecteur vid\xE9o","Play":"Lecture","Pause":"Pause","Replay":"Revoir","Current Time":"Temps actuel","Duration":"Dur\xE9e","Remaining Time":"Temps restant","Stream Type":"Type de flux","LIVE":"EN DIRECT","Seek to live, currently behind live":"Rechercher le direct, actuellement apr\xE8s le direct","Seek to live, currently playing live":"Rechercher le direct, le direct actuellement en cours de lecture","Loaded":"Charg\xE9","Progress":"Progression","Progress Bar":"Barre de progression","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Fullscreen":"Plein \xE9cran","Exit Fullscreen":"Fen\xEAtr\xE9","Mute":"Mettre en sourdine","Unmute":"Activer le son","Playback Rate":"Vitesse de lecture","Subtitles":"Sous-titres","subtitles off":"Sous-titres d\xE9sactiv\xE9s","Captions":"Sous-titres transcrits","captions off":"Sous-titres transcrits d\xE9sactiv\xE9s","Chapters":"Chapitres","Descriptions":"Descriptions","descriptions off":"descriptions d\xE9sactiv\xE9es","Audio Track":"Piste audio","Volume Level":"Niveau de volume","You aborted the media playback":"Vous avez interrompu la lecture de la vid\xE9o.","A network error caused the media download to fail part-way.":"Une erreur de r\xE9seau a interrompu le t\xE9l\xE9chargement de la vid\xE9o.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Cette vid\xE9o n'a pas pu \xEAtre charg\xE9e, soit parce que le serveur ou le r\xE9seau a \xE9chou\xE9 ou parce que le format n'est pas reconnu.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La lecture de la vid\xE9o a \xE9t\xE9 interrompue \xE0 cause d'un probl\xE8me de corruption ou parce que la vid\xE9o utilise des fonctionnalit\xE9s non prises en charge par votre navigateur.","No compatible source was found for this media.":"Aucune source compatible n'a \xE9t\xE9 trouv\xE9e pour cette vid\xE9o.","The media is encrypted and we do not have the keys to decrypt it."
994:"Le m\xE9dia est chiffr\xE9 et nous n'avons pas les cl\xE9s pour le d\xE9chiffrer.","Play Video":"Lire la vid\xE9o","Close":"Fermer","Close Modal Dialog":"Fermer la bo\xEEte de dialogue modale","Modal Window":"Fen\xEAtre modale","This is a modal window":"Ceci est une fen\xEAtre modale","This modal can be closed by pressing the Escape key or activating the close button.":"Ce modal peut \xEAtre ferm\xE9 en appuyant sur la touche \xC9chap ou activer le bouton de fermeture.",", opens captions settings dialog":", ouvrir les param\xE8tres des sous-titres transcrits",", opens subtitles settings dialog":", ouvrir les param\xE8tres des sous-titres",", opens descriptions settings dialog":", ouvrir les param\xE8tres des descriptions",", selected":", s\xE9lectionn\xE9","captions settings":"Param\xE8tres des sous-titres transcrits","subtitles settings":"Param\xE8tres des sous-titres","descriptions settings":"Param\xE8tres des descriptions","Text":"Texte","White":"Blanc","Black":"Noir","Red":"Rouge","Green":"Vert","Blue":"Bleu","Yellow":"Jaune","Magenta":"Magenta","Cyan":"Cyan","Background":"Arri\xE8re-plan","Window":"Fen\xEAtre","Transparent":"Transparent","Semi-Transparent":"Semi-transparent","Opaque":"Opaque","Font Size":"Taille des caract\xE8res","Text Edge Style":"Style des contours du texte","None":"Aucun","Raised":"\xC9lev\xE9","Depressed":"Enfonc\xE9","Uniform":"Uniforme","Drop shadow":"Ombre port\xE9e","Font Family":"Famille de polices","Proportional Sans-Serif":"Polices \xE0 chasse variable sans empattement (Proportional Sans-Serif)","Monospace Sans-Serif":"Polices \xE0 chasse fixe sans empattement (Monospace Sans-Serif)","Proportional Serif":"Polices \xE0 chasse variable avec empattement (Proportional Serif)","Monospace Serif":"Polices \xE0 chasse fixe avec empattement (Monospace Serif)","Casual":"Manuscrite","Script":"Scripte","Small Caps":"Petites capitales","Reset":"R\xE9initialiser","restore all settings to the default values":"Restaurer tous les param\xE8tres aux valeurs par d\xE9faut","Done":"Termin\xE9","Caption Settings Dialog":"Bo\xEEte de dialogue des param\xE8tres des sous-titres transcrits","Beginning of dialog window. Escape will cancel and close the window.":"D\xE9but de la fen\xEAtre de dialogue. La touche d'\xE9chappement annulera et fermera la fen\xEAtre.","End of dialog window.":"Fin de la fen\xEAtre de dialogue.","Exit Picture-in-Picture":"Quitter le mode image dans l'image","Picture-in-Picture":"Image dans l'image","{1} is loading.":"{1} en cours de chargement.","No content":"Aucun contenu","Color":"Couleur","Opacity":"Opacit\xE9","Text Background":"Arri\xE8re-plan du texte","Caption Area Background":"Arri\xE8re-plan de la zone de sous-titre","Skip backward {1} seconds":"Reculer de {1} secondes","Skip forward {1} seconds":"Avancer de {1} secondes"}`),it:JSON.parse('{"Audio Player":"Lettore audio","Video Player":"Lettore video","Play":"Play","Pause":"Pausa","Replay":"Replay","Current Time":"Orario attuale","Duration":"Durata","Remaining Time":"Tempo rimanente","Stream Type":"Tipo di streaming","LIVE":"LIVE","Loaded":"Caricato","Progress":"Stato","Progress Bar":"Barra di avanzamento","progress bar timing: currentTime={1} duration={2}":"{1} di {2}","Fullscreen":"Schermo intero","Exit Fullscreen":"Chiudi Schermo intero","Mute":"Disattiva l\u2019audio","Unmute":"Attiva l\u2019audio","Playback Rate":"Velocit\xE0 di riproduzione","Subtitles":"Sottotitoli","subtitles off":"Senza sottotitoli","Captions":"Didascalie","captions off":"Senza didascalie","Chapters":"Capitolo","Descriptions":"Descrizioni","descriptions off":"Descrizioni disattivate","Audio Track":"Traccia audio","Volume Level":"Livello del volume","You aborted the media playback":"La riproduzione del contenuto multimediale \xE8 stata interrotta.","A network error caused the media download to fail part-way.":"Il download del contenuto multimediale \xE8 stato interrotto a causa di un problema rete.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Il contenuto multimediale non pu\xF2 essere caricato a causa di un errore nel server o nella rete o perch\xE9 il formato non viene supportato.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La riproduzione del contenuto multimediale \xE8 stata interrotta a causa di un file danneggiato o per l\u2019utilizzo di impostazioni non supportate dal browser.","No compatible source was found for this media.":"Non ci sono fonti compatibili per questo contenuto multimediale.","The media is encrypted and we do not have the keys to decrypt it."
994:"Il contenuto multimediale \xE8 criptato e non disponiamo delle chiavi per decifrarlo.","Play Video":"Riproduci il video","Close":"Chiudi","Close Modal Dialog":"Chiudi la finestra di dialogo","Modal Window":"Finestra di dialogo","This is a modal window":"Questa \xE8 una finestra di dialogo","This modal can be closed by pressing the Escape key or activating the close button.":"Questa finestra di dialogo pu\xF2 essere chiusa premendo sul tasto Esc o attivando il pulsante di chiusura.",", opens captions settings dialog":", aprire le impostazioni delle didascalie",", opens subtitles settings dialog":", aprire le impostazioni dei sottotitoli",", opens descriptions settings dialog":", aprire le impostazioni delle descrizioni",", selected":", selezionato","captions settings":"Impostazioni didascalie","subtitles settings":"Impostazioni sottotitoli","descriptions settings":"Impostazioni descrizioni","Text":"Testo","White":"Bianco","Black":"Nero","Red":"Rosso","Green":"Verde","Blue":"Blu","Yellow":"Giallo","Magenta":"Magenta","Cyan":"Ciano","Background":"Sfondo","Window":"Finestra","Transparent":"Trasparente","Semi-Transparent":"Semi-Trasparente","Opaque":"Opaco","Font Size":"Dimensione dei caratteri","Text Edge Style":"Stile dei bordi del testo","None":"Nessuno","Uniform":"Uniforme","Drop shadow":"Ombra","Font Family":"Carattere","Proportional Sans-Serif":"Sans-Serif proporzionale","Monospace Sans-Serif":"Sans-Serif monospaziato","Proportional Serif":"Serif proporzionale","Monospace Serif":"Serif monospaziato","Small Caps":"Maiuscoletto","Reset":"Reinizializza","restore all settings to the default values":"Ripristina i valori predefiniti per tutti i parametri","Done":"Fatto","Caption Settings Dialog":"Finestra di dialogo dei parametri della trascrizione dei sottotitoli","Beginning of dialog window. Escape will cancel and close the window.":"Inizio della finestra di dialogo. Il tasto Esc annuller\xE0 l\u2019operazione e chiuder\xE0 la finestra.","End of dialog window.":"Fine della finestra di dialogo.","{1} is loading.":"{1} in fase di caricamento.","Exit Picture-in-Picture":"Esci dalla modalit\xE0 Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture","Color":"Colore","Opacity":"Opacit\xE0","Text Background":"Sfondo testo","Caption Area Background":"Sfondo area sottotitoli","Skip forward {1} seconds":"Avanti {1} secondi","Skip backward {1} seconds":"Indietro {1} secondi"}'),ja:JSON.parse('{"Audio Player":"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D7\u30EC\u30A4\u30E4\u30FC","Video Player":"\u30D3\u30C7\u30AA\u30D7\u30EC\u30A4\u30E4\u30FC","Play":"\u518D\u751F","Pause":"\u4E00\u6642\u505C\u6B62","Replay":"\u3082\u3046\u4E00\u5EA6\u898B\u308B","Current Time":"\u73FE\u5728\u306E\u6642\u9593","Duration":"\u9577\u3055","Remaining Time":"\u6B8B\u308A\u306E\u6642\u9593","Stream Type":"\u30B9\u30C8\u30EA\u30FC\u30E0\u306E\u7A2E\u985E","LIVE":"\u30E9\u30A4\u30D6","Seek to live, currently behind live":"\u30E9\u30A4\u30D6\u307E\u3067\u518D\u751F\u4F4D\u7F6E\u3092\u6307\u5B9A\u3001\u73FE\u5728\u30E9\u30A4\u30D6\u304C\u9045\u308C\u3066\u3044\u307E\u3059\u3002","Seek to live, currently playing live":"\u30E9\u30A4\u30D6\u307E\u3067\u518D\u751F\u4F4D\u7F6E\u3092\u6307\u5B9A\u3001\u73FE\u5728\u30E9\u30A4\u30D6\u4E2D\u3002","Loaded":"\u30ED\u30FC\u30C9\u6E08\u307F","Progress":"\u9032\u884C\u72B6\u6CC1","Progress Bar":"\u30B7\u30FC\u30AF\u30D0\u30FC","progress bar timing: currentTime={1} duration={2}":"{2}\u306E{1}","Fullscreen":"\u30D5\u30EB\u30B9\u30AF\u30EA\u30FC\u30F3","Exit Fullscreen":"\u30D5\u30EB\u30B9\u30AF\u30EA\u30FC\u30F3\u4EE5\u5916","Mute":"\u30DF\u30E5\u30FC\u30C8","Unmute":"\u30B5\u30A6\u30F3\u30C9\u3092\u30AA\u30F3","Playback Rate":"\u518D\u751F\u30EC\u30FC\u30C8","Subtitles":"\u30B5\u30D6\u30BF\u30A4\u30C8\u30EB","subtitles off":"\u30B5\u30D6\u30BF\u30A4\u30C8\u30EB \u30AA\u30D5","Captions":"\u30AD\u30E3\u30D7\u30B7\u30E7\u30F3","captions off":"\u30AD\u30E3\u30D7\u30B7\u30E7\u30F3 \u30AA\u30D5","Chapters":"\u30C1\u30E3\u30D7\u30BF\u30FC","Descriptions":"\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3","descriptions off":"\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3\u30AA\u30D5","Audio Track":"\u97F3\u58F0\u30C8\u30E9\u30C3\u30AF","Volume Level":"\u30DC\u30EA\u30E5\u30FC\u30E0\u30EC\u30D9\u30EB","You aborted the media playback":"\u52D5\u753B\u518D\u751F\u3092\u4E2D\u6B62\u3057\u307E\u3057\u305F","A network error caused the media download to fail part-way.":"\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF \u30A8\u30E9\u30FC\u306B\u3088\u308A\u52D5\u753B\u306E\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u304C\u9014\u4E2D\u3067\u5931\u6557\u3057\u307E\u3057\u305F","The media could not be loaded, either because the server or network failed or because the format is not supported.":"\u30B5\u30FC\u30D0\u30FC\u307E\u305F\u306F\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u306E\u30A8\u30E9\u30FC\u3001\u307E\u305F\u306F\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u306A\u3044\u305F\u3081\u3001\u52D5\u753B\u3092\u30ED\u30FC\u30C9\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"\u7834\u640D\u306E\u554F\u984C\u3001\u307E\u305F\u306F\u304A\u4F7F\u3044\u306E\u30D6\u30E9\u30A6\u30B6\u304C\u30B5\u30DD\u30FC\u30C8\u3057\u3066\u3044\u306A\u3044\u6A5F\u80FD\u304C\u52D5\u753B\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u305F\u305F\u3081\u3001\u52D5\u753B\u306E\u518D\u751F\u304C\u4E2D\u6B62\u3055\u308C\u307E\u3057\u305F","No compatible source was found for this media.":"\u3053\u306E\u52D5\u753B\u306B\u5BFE\u3057\u3066\u4E92\u63DB\u6027\u306E\u3042\u308B\u30BD\u30FC\u30B9\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F","The media is encrypted and we do not have the keys to decrypt it."
994:"\u30E1\u30C7\u30A3\u30A2\u306F\u6697\u53F7\u5316\u3055\u308C\u3066\u304A\u308A\u3001\u89E3\u8AAD\u3059\u308B\u305F\u3081\u306E\u30AD\u30FC\u304C\u3042\u308A\u307E\u305B\u3093\u3002","Play Video":"\u30D3\u30C7\u30AA\u3092\u518D\u751F\u3059\u308B","Close":"\u9589\u3058\u308B","Close Modal Dialog":"\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9\u3092\u9589\u3058\u308B","Modal Window":"\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9","This is a modal window":"\u3053\u308C\u306F\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9\u3067\u3059","This modal can be closed by pressing the Escape key or activating the close button.":"\u3053\u306E\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9\u306F\u3001Esc\u30AD\u30FC\u3092\u62BC\u3059\u304B\u3001\u9589\u3058\u308B\u30DC\u30BF\u30F3\u3092\u62BC\u3057\u3066\u9589\u3058\u308B\u3053\u3068\u304C\u3067\u304D\u307E",", opens captions settings dialog":", \u66F8\u304D\u8D77\u3053\u3057\u5B57\u5E55\u306E\u8A2D\u5B9A\u3092\u958B\u304F",", opens subtitles settings dialog":", \u5B57\u5E55\u306E\u8A2D\u5B9A\u3092\u958B\u304F",", opens descriptions settings dialog":", \u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3\u306E\u8A2D\u5B9A\u3092\u958B\u304F",", selected":", \u9078\u629E\u6E08\u307F","captions settings":"\u66F8\u304D\u8D77\u3053\u3057\u5B57\u5E55\u306E\u8A2D\u5B9A","subtitles settings":"\u5B57\u5E55\u306E\u8A2D\u5B9A","descriptions settings":"\u30C7\u30A3\u30B9\u30AF\u30EA\u30D7\u30B7\u30E7\u30F3\u306E\u8A2D\u5B9A","Text":"\u30C6\u30AD\u30B9\u30C8","White":"\u767D","Black":"\u9ED2","Red":"\u8D64","Green":"\u7DD1","Blue":"\u9752","Yellow":"\u9EC4","Magenta":"\u8D64\u7D2B","Cyan":"\u30B7\u30A2\u30F3","Background":"\u80CC\u666F","Window":"\u30A6\u30A3\u30F3\u30C9\u30A6","Transparent":"\u900F\u660E","Semi-Transparent":"\u534A\u900F\u660E","Opaque":"\u4E0D\u900F\u660E","Font Size":"\u6587\u5B57\u30B5\u30A4\u30BA","Text Edge Style":"\u30C6\u30AD\u30B9\u30C8\u306E\u30A2\u30A6\u30C8\u30E9\u30A4\u30F3\u306E\u30B9\u30BF\u30A4\u30EB","None":"\u306A\u3057","Raised":"\u6D6E\u304D\u51FA\u3057","Depressed":"\u6D6E\u304D\u5F6B\u308A","Uniform":"\u5747\u4E00","Drop shadow":"\u5F71\u4ED8\u304D","Font Family":"\u30D5\u30A9\u30F3\u30C8\u306E\u7A2E\u985E","Proportional Sans-Serif":"\u30BB\u30EA\u30D5\u306A\u3057\u53EF\u5909\u5E45\u30D5\u30A9\u30F3\u30C8","Monospace Sans-Serif":"\u30BB\u30EA\u30D5\u306A\u3057\u7B49\u5E45\u30D5\u30A9\u30F3\u30C8","Proportional Serif":"\u30BB\u30EA\u30D5\u3042\u308A\u53EF\u5909\u5E45\u30D5\u30A9\u30F3\u30C8","Monospace Serif":"\u30BB\u30EA\u30D5\u3042\u308A\u7B49\u5E45\u30D5\u30A9\u30F3\u30C8","Casual":"\u30AB\u30B8\u30E5\u30A2\u30EB","Script":"\u30B9\u30AF\u30EA\u30D7\u30C8","Small Caps":"\u30B9\u30E2\u30FC\u30EB\u30AD\u30E3\u30D4\u30BF\u30EB","Reset":"\u30EA\u30BB\u30C3\u30C8","restore all settings to the default values":"\u3059\u3079\u3066\u306E\u8A2D\u5B9A\u3092\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u306B\u623B\u3059","Done":"\u7D42\u4E86","Caption Settings Dialog":"\u66F8\u304D\u8D77\u3053\u3057\u5B57\u5E55\u8A2D\u5B9A\u30C0\u30A4\u30A2\u30ED\u30B0","Beginning of dialog window. Escape will cancel and close the window.":"\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9\u306E\u958B\u59CB\u3002Esc\u30AD\u30FC\u3067\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u3066\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u9589\u3058\u307E\u3059\u3002","End of dialog window.":"\u30C0\u30A4\u30A2\u30ED\u30B0\u30DC\u30C3\u30AF\u30B9\u306E\u7D42\u4E86","{1} is loading.":"{1}\u306F\u8AAD\u307F\u8FBC\u307F\u4E2D\u3067\u3059\u3002","Exit Picture-in-Picture":"\u30D4\u30AF\u30C1\u30E3\u30FC\u30A4\u30F3\u30D4\u30AF\u30C1\u30E3\u30FC\u6A5F\u80FD\u306E\u7D42\u4E86","Picture-in-Picture":"\u30D4\u30AF\u30C1\u30E3\u30FC\u30A4\u30F3\u30D4\u30AF\u30C1\u30E3\u30FC","No content":"\u30B3\u30F3\u30C6\u30F3\u30C4\u306A\u3057","Color":"\u8272","Opacity":"\u4E0D\u900F\u660E\u5EA6","Text Background":"\u30C6\u30AD\u30B9\u30C8\u80CC\u666F","Caption Area Background":"\u30AD\u30E3\u30D7\u30B7\u30E7\u30F3\u9818\u57DF\u80CC\u666F","Skip forward {1} seconds":"{1}\u79D2\u9032\u3080","Skip backward {1} seconds":"{1}\u79D2\u623B\u308B"}'),nl:JSON.parse('{"Audio Player":"Audiospeler","Video Player":"
994Videospeler","Play":"Afspelen","Pause":"Pauzeren","Replay":"Opnieuw afspelen","Current Time":"Huidige tijd","Duration":"Tijdsduur","Remaining Time":"Resterende tijd","Stream Type":"Streamtype","LIVE":"LIVE","Seek to live, currently behind live":"Zoek naar live, momenteel achter op live","Seek to live, currently playing live":"Zoek naar live, momenteel live","Loaded":"Geladen","Progress":"Voortgang","Progress Bar":"Voortgangsbalk","progress bar timing: currentTime={1} duration={2}":"{1} van {2}","Fullscreen":"Volledig scherm","Exit Fullscreen":"Volledig scherm uit","Mute":"Dempen","Unmute":"Dempen uit","Playback Rate":"Afspeelsnelheid","Subtitles":"Ondertiteling","subtitles off":"ondertiteling uit","Captions":"Ondertiteling (CC)","captions off":"ondertiteling (CC) uit","Chapters":"Hoofdstukken","Descriptions":"Beschrijvingen","descriptions off":"beschrijvingen uit","Audio Track":"Audiospoor","Volume Level":"Volume","You aborted the media playback":"U heeft het afspelen van de media afgebroken","A network error caused the media download to fail part-way.":"Een netwerkfout heeft ervoor gezorgd dat het downloaden van de media is mislukt.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"De media kon niet worden geladen, doordat de server of het netwerk faalde of doordat het formaat niet wordt ondersteund.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Het afspelen van de media werd afgebroken vanwege een corruptieprobleem of omdat de uw browser de gebruikte mediafuncties niet ondersteund.","No compatible source was found for this media.":"Er is geen geschikte bron gevonden voor dit medium.","The media is encrypted and we do not have the keys to decrypt it.":"De media is gecodeerd en we hebben niet de sleutels om het te decoderen.","Play Video":"Video afspelen","Close":"Sluiten","Close Modal Dialog":"Extra venster sluiten","Modal Window":"Extra venster","This is a modal window":"Dit is een extra venster","This modal can be closed by pressing the Escape key or activating the close button.":"Dit venster kan worden gesloten door op de Escape-toets te drukken of door de sluit-knop te activeren.",", opens captions settings dialog":", opent instellingen venster voor ondertitelingen",", opens subtitles settings dialog":", opent instellingen venster voor ondertitelingen",", opens descriptions settings dialog":", opent instellingen venster voor beschrijvingen",", selected":", geselecteerd","captions settings":"ondertiteling instellingen","subtitles settings":"ondertiteling instellingen","descriptions settings":"beschrijvingen instellingen","Text":"Tekst","White":"Wit","Black":"Zwart","Red":"Rood","Green":"Groen","Blue":"Blauw","Yellow":"Geel","Magenta":"Magenta","Cyan":"Cyaan","Background":"Achtergrond","Window":"Venster","Transparent":"Transparant","Semi-Transparent":"Semi-transparant","Opaque":"Ondoorzichtig","Font Size":"Lettergrootte","Text Edge Style":"Stijl tekstrand","None":"Geen","Raised":"Verhoogd","Depressed":"Ingedrukt","Uniform":"Uniform","Drop shadow":"Schaduw","Font Family":"Lettertype","Proportional Sans-Serif":"Proportioneel sans-serif","Monospace Sans-Serif":"Monospace sans-serif","Proportional Serif":"Proportioneel serif","Monospace Serif":"Monospace serif","Casual":"Informeel","Script":"Script","Small Caps":"Kleine Hoofdletters","Reset":"Herstellen","restore all settings to the default values":"alle instellingen herstellen naar de standaardwaarden","Done":"Gereed","Caption Settings Dialog":"Venster voor bijschriften-instellingen","Beginning of dialog window. Escape will cancel and close the window.":"Begin van dialoogvenster. Escape zal annuleren en het venster sluiten.","End of dialog window.":"Einde van dialoogvenster.","{1} is loading.":"{1} wordt geladen.","Exit Picture-in-Picture":"Picture-in-Picture uit","Picture-in-Picture":"Picture-in-Picture","No content":"Geen inhoud","Color":"Kleur","Opacity":"Transparantie","Text Background":"Tekst Achtergrond","Caption Area Backgroun
994d":"Achtergrond voor Ondertiteling","Skip forward {1} seconds":"{1} seconden vooruit","Skip backward {1} seconds":"{1} seconden terug"}'),pl:JSON.parse('{"Audio Player":"Odtwarzacz audio","Video Player":"Odtwarzacz wideo","Play":"Odtw\xF3rz","Pause":"Wstrzymaj","Replay":"Odtw\xF3rz ponownie","Current Time":"Aktualny czas","Duration":"Czas trwania","Remaining Time":"Pozosta\u0142y czas","Stream Type":"Typ strumienia","LIVE":"NA \u017BYWO","Seek to live, currently behind live":"Przejd\u017A do transmisji na \u017Cywo, obecnie trwa odtwarzanie z archiwum","Seek to live, currently playing live":"Przejd\u017C do transmisji na \u017Cywo, obecnie trwa odtwarzanie na \u017Cywo","Loaded":"Za\u0142adowany","Progress":"Status","Progress Bar":"Pasek post\u0119pu","progress bar timing: currentTime={1} duration={2}":"{1} z {2}","Fullscreen":"Pe\u0142ny ekran","Exit Fullscreen":"Pe\u0142ny ekran niedost\u0119pny","Mute":"Wycisz","Unmute":"Wy\u0142\u0105cz wyciszenie","Playback Rate":"Pr\u0119dko\u015B\u0107 odtwarzania","Subtitles":"Napisy","subtitles off":"Napisy wy\u0142\u0105czone","Captions":"Transkrypcja","captions off":"Transkrypcja wy\u0142\u0105czona","Chapters":"Rozdzia\u0142y","Descriptions":"Opisy","descriptions off":"Opisy wy\u0142\u0105czone","Audio Track":"\u015Acie\u017Cka audio","Volume Level":"Poziom g\u0142o\u015Bno\u015Bci","You aborted the media playback":"Odtwarzanie zosta\u0142o przerwane","A network error caused the media download to fail part-way.":"B\u0142\u0105d sieci spowodowa\u0142 cz\u0119\u015Bciowe niepowodzenie pobierania materia\u0142u wideo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Materia\u0142 wideo nie mo\u017Ce zosta\u0107 za\u0142adowany, poniewa\u017C wyst\u0105pi\u0142 problem z serwerem lub sieci\u0105 albo format materia\u0142u wideo nie jest obs\u0142ugiwany","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Odtwarzanie materia\u0142u wideo zosta\u0142o przerwane z powodu uszkodzonego pliku wideo lub z powodu u\u017Cycia funkcji multimedi\xF3w nieobs\u0142ugiwanych przez Twoj\u0105 przegl\u0105dark\u0119.","No compatible source was found for this media.":"Nie znaleziono kompatybilnego \u017Ar\xF3d\u0142a dla tego typu materia\u0142u wideo.","The media is encrypted and we do not have the keys to decrypt it.":"Materia\u0142 jest zaszyfrowany, a nie mamy kluczy do jego odszyfrowania.","Play Video":"Odtw\xF3rz wideo","Close":"Zamknij","Close Modal Dialog":"Zamknij okno modalne","Modal Window":"Okno modalne","This is a modal window":"To jest okno modalne","This modal can be closed by pressing the Escape key or activating the close button.":"To okno modalne mo\u017Cesz zamkn\u0105\u0107, naciskaj\u0105c klawisz Escape albo wybieraj\u0105c przycisk Zamknij.",", opens captions settings dialog":", otwiera okno dialogowe ustawie\u0144 transkrypcji",", opens subtitles settings dialog":", otwiera okno dialogowe napis\xF3w",", opens descriptions settings dialog":", otwiera okno dialogowe opis\xF3w",", selected":", zaznaczone","captions settings":"ustawienia transkrypcji","subtitles settings":"ustawienia napis\xF3w","descriptions settings":"ustawienia opis\xF3w","Text":"Tekst","White":"Bia\u0142y","Black":"Czarny","Red":"Czerwony","Green":"Zielony","Blue":"Niebieski","Yellow":"\u017B\xF3\u0142ty","Magenta":"Karmazynowy","Cyan":"Cyjanowy","Background":"T\u0142o","Window":"Okno","Transparent":"Przezroczysty","Semi-Transparent":"P\xF3\u0142przezroczysty","Opaque":"Nieprzezroczysty","Font Size":"Rozmiar czcionki","Text Edge Style":"Styl kraw\u0119dzi tekstu","None":"Brak","Raised":"Podniesiony","Depressed":"Obni\u017Cony","Uniform":"R\xF3wnomierny","Dropshadow":"Cie\u0144","Font Family":"Kr\xF3j czcionki","Proportional Sans-Serif":"Bezszeryfowa, proporcjonalna","Monospace Sans-Serif":"Bezszeryfowa, sta\u0142a odleg\u0142o\u015B\u0107 znak\xF3w","Proportional Serif":"Szeryfowa, proporcjonalna","Monospace Serif":"Szeryfowa, sta\u0142a odleg\u0142o\u015B\u0107 znak\xF3w","Casual":"Casual","Script":"Script","Small Caps":"Kapitaliki","Reset":"Ustawienia domy\u015Blne","restore all settings to the default values":"zresetuj wszystkie ustawienia do domy\u015Blnych warto\u015Bci","Done":"Gotowe","Caption Settings Dialog":"Okno dialogowe ustawie\u0144 transkrypcji","Beginning of dialog window. Escape will cancel and close the window.":"Pocz\u0105tek okna dialogowego. Klawisz Escape anuluje i zamyka okno.","End of dialog window.":"Koniec okna dialogowego.","{1} is loading.":"Wczytywanie pliku {1}.","Exit Picture-in-Picture":"Wyjd\u017A z trybu obraz w obrazie","Picture-in-Picture":"Obraz w obrazie","No content":"Brak zawarto\u015Bci"}'),"pt-BR":JSON.parse('{"Audio Player":"Reprodutor de \xE1udio","Video Player":"Reprodutor de v\xEDdeo","Play":"Tocar","Pause":"Pausar","Replay":"Tocar novamente","Current Time":"Tempo","Duration":"Dura\xE7\xE3o","Remaining Time":"Tempo Restante","Stream Type":"Tipo de Stream","LIVE":"AO
994VIVO","Loaded":"Carregado","Progress":"Progresso","Progress Bar":"Barra de progresso","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Fullscreen":"Tela Cheia","Exit Fullscreen":"Tela Normal","Mute":"Mudo","Unmute":"Ativar o som","Playback Rate":"Velocidade","Subtitles":"Legendas","subtitles off":"Sem Legendas","Captions":"Anota\xE7\xF5es","captions off":"Sem Anota\xE7\xF5es","Chapters":"Cap\xEDtulos","Descriptions":"Descri\xE7\xF5es","descriptions off":"sem descri\xE7\xF5es","Audio Track":"Faixa de \xE1udio","Volume Level":"N\xEDvel de volume","You aborted the media playback":"Voc\xEA parou a execu\xE7\xE3o do v\xEDdeo.","A network error caused the media download to fail part-way.":"Um erro na rede causou falha durante o download da m\xEDdia.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"A m\xEDdia n\xE3o pode ser carregada, por uma falha de rede ou servidor ou o formato n\xE3o \xE9 suportado.","No compatible source was found for this media.":"Nenhuma fonte foi encontrada para esta m\xEDdia.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"A reprodu\xE7\xE3o foi interrompida devido \xE0 um problema de m\xEDdia corrompida ou porque a m\xEDdia utiliza fun\xE7\xF5es que seu navegador n\xE3o suporta.","The media is encrypted and we do not have the keys to decrypt it.":"A m\xEDdia est\xE1 criptografada e n\xE3o temos as chaves para descriptografar.","Play Video":"Tocar V\xEDdeo","Close":"Fechar","Close Modal Dialog":"Fechar Di\xE1logo Modal","Modal Window":"Janela Modal","This is a modal window":"Isso \xE9 uma janela-modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta janela pode ser fechada pressionando a tecla de Escape.",", opens captions settings dialog":", abre as configura\xE7\xF5es de legendas de coment\xE1rios",", opens subtitles settings dialog":", abre as configura\xE7\xF5es de legendas",", opens descriptions settings dialog":", abre as configura\xE7\xF5es",", selected":", selecionada","captions settings":"configura\xE7\xF5es de legendas de coment\xE1rios","subtitles settings":"configura\xE7\xF5es de legendas","descriptions settings":"configura\xE7\xF5es das descri\xE7\xF5es","Text":"Texto","White":"Branco","Black":"Preto","Red":"Vermelho","Green":"Verde","Blue":"Azul","Yellow":"Amarelo","Magenta":"Magenta","Cyan":"Ciano","Background":"Plano-de-Fundo","Window":"Janela","Transparent":"Transparente","Semi-Transparent":"Semi-Transparente","Opaque":"Opaco","Font Size":"Tamanho da Fonte","Text Edge Style":"Estilo da Borda","None":"Nenhum","Raised":"Elevado","Depressed":"Acachapado","Uniform":"Uniforme","Drop shadow":"Sombra de proje\xE7\xE3o","Font Family":"Fam\xEDlia da Fonte","Proportional Sans-Serif":"Sans-Serif(Sem serifa) Proporcional","Monospace Sans-Serif":"Sans-Serif(Sem serifa) Monoespa\xE7ada","Proportional Serif":"Serifa Proporcional","Monospace Serif":"Serifa Monoespa\xE7ada","Casual":"Casual","Script":"Script","Small Caps":"Mai\xFAsculas Pequenas","Reset":"Redefinir","restore all settings to the default values":"restaurar todas as configura\xE7\xF5es aos valores padr\xE3o","Done":"Salvar","Caption Settings Dialog":"Ca\xEDxa-de-Di\xE1logo das configura\xE7\xF5es de Legendas","Beginning of dialog window. Escape will cancel and close the window.":"Iniciando a Janela-de-Di\xE1logo. Pressionar Escape ir\xE1 cancelar e fechar a janela.","End of dialog window.":"Fim da Janela-de-Di\xE1logo","{1} is loading.":"{1} est\xE1 carregando.","Exit Picture-in-Picture":"Sair de Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture"}'),"pt-PT":JSON.parse('{"Play":"Reproduzir","Pause":"Parar","Replay":"Reiniciar","Current Time":"Tempo Atual","Duration":"Dura\xE7\xE3o","Remaining Time":"Tempo Restante","Stream Type":"Tipo de Stream","LIVE":"EM DIRETO","Loaded":"Carregado","Progress":"Progresso","Fullscreen":"Ecr\xE3 inteiro","Exit Fullscreen":"Ecr\xE3 normal","Mute":"Desativar som","Unmute":"Ativar som","Playback Rate":"Velocidade de reprodu\xE7\xE3o","Subtitles":"Legendas","subtitles off":"desativar legendas","Captions":"Anota\xE7\xF5es","captions off":"desativar anota\xE7\xF5es","Chapters":"Cap\xEDtulos","Close Mod
994al Dialog":"Fechar Janela Modal","Descriptions":"Descri\xE7\xF5es","descriptions off":"desativar descri\xE7\xF5es","Audio Track":"Faixa \xC1udio","You aborted the media playback":"Parou a reprodu\xE7\xE3o do v\xEDdeo.","A network error caused the media download to fail part-way.":"Um erro na rede fez o v\xEDdeo falhar parcialmente.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"O v\xEDdeo n\xE3o pode ser carregado, ou porque houve um problema na rede ou no servidor, ou porque formato do v\xEDdeo n\xE3o \xE9 compat\xEDvel.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"A reprodu\xE7\xE3o foi interrompida por um problema com o v\xEDdeo ou porque o formato n\xE3o \xE9 compat\xEDvel com o seu navegador.","No compatible source was found for this media.":"N\xE3o foi encontrada uma fonte de v\xEDdeo compat\xEDvel.","The media is encrypted and we do not have the keys to decrypt it.":"O v\xEDdeo est\xE1 encriptado e n\xE3o h\xE1 uma chave para o desencriptar.","Play Video":"Reproduzir V\xEDdeo","Close":"Fechar","Modal Window":"Janela Modal","This is a modal window":"Isto \xE9 uma janela modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta modal pode ser fechada pressionando a tecla ESC ou ativando o bot\xE3o de fechar.",", opens captions settings dialog":", abre janela com defini\xE7\xF5es de legendas",", opens subtitles settings dialog":", abre janela com defini\xE7\xF5es de legendas",", opens descriptions settings dialog":", abre janela com defini\xE7\xF5es de descri\xE7\xF5es",", selected":", seleccionado","Skip backward {1} seconds":"Recuar de {1} segundos","Skip forward {1} seconds":"Avan\xE7ar de {1} segundos"}'),sk:JSON.parse('{"Audio Player":"Zvukov\xFD prehr\xE1va\u010D","Video Player":"Video prehr\xE1va\u010D","Play":"Prehra\u0165","Pause":"Pozastavi\u0165","Replay":"Prehra\u0165 znova","Current Time":"Aktu\xE1lny \u010Das","Duration":"\u010Cas trvania","Remaining Time":"Zost\xE1vaj\xFAci \u010Das","Stream Type":"Typ stopy","LIVE":"NA\u017DIVO","Loaded":"Na\u010D\xEDtan\xE9","Progress":"Priebeh","Progress Bar":"Ukazovate\u013E priebehu","progress bar timing: currentTime={1} duration={2}":"\u010Dasovanie ukazovate\u013Ea priebehu: currentTime={1} duration={2}","Fullscreen":"Re\u017Eim celej obrazovky","Exit Fullscreen":"Re\u017Eim norm\xE1lnej obrazovky","Mute":"Stlmi\u0165","Unmute":"Zru\u0161i\u0165 stlmenie","Playback Rate":"R\xFDchlos\u0165 prehr\xE1vania","Subtitles":"Titulky","subtitles off":"titulky vypnut\xE9","Captions":"Popisky","captions off":"popisky vypnut\xE9","Chapters":"Kapitoly","Descriptions":"Opisy","descriptions off":"opisy vypnut\xE9","Audio Track":"Zvukov\xE1 stopa","Volume Level":"\xDArove\u0148 hlasitosti","You aborted the media playback":"Preru\u0161ili ste prehr\xE1vanie","A network error caused the media download to fail part-way.":"S\u0165ahovanie s\xFAboru bolo zru\u0161en\xE9 pre chybu na sieti.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"S\xFAbor sa nepodarilo na\u010D\xEDta\u0165 pre chybu servera, sie\u0165ov\xE9ho pripojenia, alebo je form\xE1t s\xFAboru nepodporovan\xFD.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Prehr\xE1vanie s\xFAboru bolo preru\u0161en\xE9 pre po\u0161koden\xE9 d\xE1ta, alebo s\xFAbor pou\u017E\xEDva vlastnosti, ktor\xE9 v\xE1\u0161 prehliada\u010D nepodporuje.","No compatible source was found for this media.":"Nebol n\xE1jden\xFD \u017Eiaden kompatibiln\xFD zdroj pre tento s\xFAbor.","The media is encrypted and we do not have the keys to decrypt it.":"S\xFAbor je za\u0161ifrovan\xFD a nie je k dispoz\xEDcii k\u013E\xFA\u010D na roz\u0161ifrovanie.","Play Video":"Prehra\u0165 video","Close":"Zatvori\u0165","Close Modal Dialog":"Zatvori\u0165 mod\xE1lne okno","Modal Window":"Mod\xE1lne okno","This is a modal window":"Toto je mod\xE1lne okno","This modal can be closed by pressing the Escape key or activating the close button.":"Toto mod\xE1lne okno je mo\u017En\xE9 zatvori\u0165 stla\u010Den\xEDm kl\xE1vesy Escape, alebo aktivovan\xEDm tla\u010Didla na zatvorenie.",", opens captions settings dialog":", otvor\xED okno nastaven\xED popiskov",", opens subtitles settings dialog":", otvor\xED okno nastaven\xED titulkov",", opens descriptions settings dialog":", otvor\xED okno nastaven\xED opisov",", selected":", ozna\u010Den\xE9","captions settings":"nastavenia popiskov","subtitles settings":"nastavenia titulkov","descriptions settings":"nastavenia opisov","Text":"Text","White":"Biela","Black":"\u010Cierna","Red":"\u010Cerven\xE1","Green":"Zelen\xE1","Blue":"Modr\xE1","Yellow":"\u017Dlt\xE1","Magenta":"Ru\u017Eov\xE1","Cyan":"Tyrkysov\xE1","Backgroun
994d":"Pozadie","Window":"Okno","Transparent":"Priesvitn\xE9","Semi-Transparent":"Polopriesvitn\xE9","Opaque":"Pln\xE9","Font Size":"Ve\u013Ekos\u0165 p\xEDsma","Text Edge Style":"Typ okrajov p\xEDsma","None":"\u017Diadne","Raised":"Zv\xFD\u0161en\xE9","Depressed":"Zn\xED\u017Een\xE9","Uniform":"Pravideln\xE9","Dropshadow":"S tie\u0148om","Font Family":"Typ p\xEDsma","Proportional Sans-Serif":"Propor\u010Dn\xE9 bezp\xE4tkov\xE9","Monospace Sans-Serif":"Pravideln\xE9, bezp\xE4tkov\xE9","Proportional Serif":"Propor\u010Dn\xE9 p\xE4tkov\xE9","Monospace Serif":"Pravideln\xE9 p\xE4tkov\xE9","Casual":"Be\u017En\xE9","Script":"P\xEDsan\xE9","Small Caps":"Mal\xE9 kapit\xE1lky","Reset":"Resetova\u0165","restore all settings to the default values":"v\u0161etky nastavenia na z\xE1kladn\xE9 hodnoty","Done":"Hotovo","Caption Settings Dialog":"Okno nastaven\xED popiskov","Beginning of dialog window. Escape will cancel and close the window.":"Za\u010Diatok okna. Kl\xE1vesa Escape zru\u0161\xED a zavrie okno.","End of dialog window.":"Koniec okna.","{1} is loading.":"{1} sa na\u010D\xEDta."}'),tr:JSON.parse('{"Audio Player":"Ses Oynat\u0131c\u0131s\u0131","Video Player":"Video Oynat\u0131c\u0131s\u0131","Play":"Oynat","Pause":"Duraklat","Replay":"Yeniden Oynat","Current Time":"S\xFCre","Duration":"Toplam S\xFCre","Remaining Time":"Kalan S\xFCre","Stream Type":"Yay\u0131n Tipi","LIVE":"CANLI","Seek to live, currently behind live":"Canl\u0131ya git, \u
994015Fu anda canl\u0131n\u0131n gerisinde","Seek to live, currently playing live":"Canl\u0131ya git, \u015Fu anda canl\u0131 oynuyor","Loaded":"Y\xFCklendi","Progress":"Y\xFCkleniyor","Progress Bar":"\u0130lerleme \xC7ubu\u011Fu","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","Fullscreen":"Tam Ekran","Exit Fullscreen":"Tam Ekrandan \xC7\u0131k","Mute":"Sessiz","Unmute":"Sesi A\xE7","Playback Rate":"Oynatma H\u0131z\u0131","Subtitles":"Altyaz\u0131lar","subtitles off":"Altyaz\u0131 Kapal\u0131","Captions":"Altyaz\u0131lar","captions off":"Altyaz\u0131 Kapal\u0131","Chapters":"B\xF6l\xFCmler","Close Modal Dialog":"Etkile\u015Fim Penceresini Kapat","Descriptions":"A\xE7\u0131klamalar","descriptions off":"a\xE7\u0131klamalar kapal\u0131","Audio Track":"Ses Par\xE7as\u0131","Volume Level":"Ses D\xFCzeyi","You aborted the media playback":"Medyay\u0131 oynatmay\u0131 iptal ettiniz","A network error caused the media download to fail part-way.":"Medya indirme i\u015Fleminin k\u0131smen ba\u015Far\u0131s\u0131z olmas\u0131na neden olan bir a\u011F sorunu olu\u015Ftu.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Sunucu veya a\u011F hatas\u0131ndan ya da bi\xE7im desteklenmedi\u011Finden medya y\xFCklenemedi.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Medya oynatma, bir bozulma sorunu nedeniyle veya medya, taray\u0131c\u0131n\u0131z\u0131n desteklemedi\u011Fi \xF6zellikleri kulland\u0131\u011F\u0131 i\xE7in durduruldu.","No compatible source was found for this media.":"Bu medya i\xE7in uyumlu bir kaynak bulunamad\u0131.","The media is encrypted and we do not have the keys to decrypt it.":"Medya, \u015Fifrelenmi\u015F bir kaynaktan geliyor ve oynatmak i\xE7in gerekli anahtar bulunamad\u0131.","Play Video":"Videoyu Oynat","Close":"Kapat","Modal Window":"Etkile\u015Fim Penceresi","This is a modal window":"Bu bir etkile\u015Fim penceresidir","This modal can be closed by pressing the Escape key or activating the close button.":"Bu etkile\u015Fim penceresi ESC tu\u015Funa basarak ya da kapat butonuna t\u0131klanarak kapat\u0131labilir.",", opens captions settings dialog":", altyaz\u0131 ayarlar\u0131 men\xFCs\xFCn\xFC a\xE7ar",", opens subtitles settings dialog":", altyaz\u0131 ayarlar\u0131 men\xFCs\xFCn\xFC a\xE7ar",", opens descriptions settings dialog":", a\xE7\u0131klama ayarlar\u0131 men\xFCs\xFCn\xFC a\xE7ar",", selected":", se\xE7ildi","captions settings":"altyaz\u0131 ayarlar\u0131","subtitles settings":"altyaz\u0131 ayarlar\u0131","descriptions settings":"a\xE7\u0131klama ayarlar\u0131","Text":"Metin","White":"Beyaz","Black":"Siyah","Red":"K\u0131rm\u0131z\u0131","Green":"Ye\u015Fil","Blue":"Mavi","Yellow":"Sar\u0131","Magenta":"Macenta","Cyan":"A\xE7\u0131k Mavi (Camg\xF6be\u011Fi)","Background":"Arka plan","Window":"Pencere","Transparent":"Saydam","Semi-Transparent":"Yar\u0131-Saydam","Opaque":"Mat","Font Size":"Metin Boyutu","Text Edge Style":"Metin Kenar Stili","None":"Hi\xE7biri","Raised":"Kabar\u0131k","Depressed":"Yass\u0131","Uniform":"D\xFCz","Drop shadow":"G\xF6lgeli","Font Family":"Yaz\u0131 Tipi","Proportional Sans-Serif":"Orant\u0131l\u0131 Sans-Serif","Monospace Sans-Serif":"E\u015Faral\u0131kl\u0131 Sans-Serif","Proportional Serif":"Orant\u0131l\u0131 Serif","Monospace Serif":"E\u015Faral\u0131kl\u0131 Serif","Casual":"G\xFCndelik","Script":"El Yaz\u0131s\u0131","Small Caps":"K\xFC\xE7\xFCk Boyutlu B\xFCy\xFCk Harfli","Reset":"S\u0131f\u0131rla","restore all settings to the default values":"t\xFCm ayarlar\u0131 varsay\u0131lan de\u011Ferlere geri y\xFCkler","Done":"Tamam","Caption Settings Dialog":"Altyaz\u0131 Ayarlar\u0131 Men\xFCs\xFC","Beginning of dialog window. Escape will cancel and close the window.":"Etkile\u015Fim penceresinin ba\u015Flang\u0131c\u0131. ESC tu\u015Fu i\u015Flemi iptal edip pencereyi kapatacakt\u0131r.","End of dialog window.":"Etkile\u015Fim penceresinin sonu.","{1} is loading.":"{1} y\xFCkleniyor.","Exit Picture-in-Picture":"Mini oynat\u0131c\u0131dan \xE7\u0131k","Picture-in-Picture":"Mini oynat\u0131c\u0131","No content":"\u0130\xE7erik yok"}'),"zh-CN":JSON.parse('{"Play":"\u64AD\u653E","Pause":"\u6682\u505C","Current Time":"\u5F53\u524D\u65F6\u95F4","Duration":"\u65F6\u957F","Remaining Time":"\u5269\u4F59\u65F6\u95F4","Stream Type":"\u5A92\u4F53\u6D41\u7C7B\u578B","LIVE":"\u76F4\u64AD","Loa
994ded":"\u52A0\u8F7D\u5B8C\u6210","Progress":"\u8FDB\u5EA6","Fullscreen":"\u5168\u5C4F","Exit Fullscreen":"\u9000\u51FA\u5168\u5C4F","Picture-in-Picture":"\u753B\u4E2D\u753B","Exit Picture-in-Picture":"\u9000\u51FA\u753B\u4E2D\u753B","Mute":"\u9759\u97F3","Unmute":"\u5F00\u542F\u97F3\u6548","Playback Rate":"\u64AD\u653E\u901F\u5EA6","Subtitles":"\u5B57\u5E55","subtitles off":"\u5173\u95ED\u5B57\u5E55","Captions":"\u5185\u5D4C\u5B57\u5E55","captions off":"\u5173\u95ED\u5185\u5D4C\u5B57\u5E55","Chapters":"\u8282\u76EE\u6BB5\u843D","Close Modal Dialog":"\u5173\u95ED\u5F39\u7A97","Descriptions":"\u63CF\u8FF0","descriptions off":"\u5173\u95ED\u63CF\u8FF0","Audio Track":"\u97F3\u8F68","You aborted the media playback":"\u89C6\u9891\u64AD\u653E\u88AB\u7EC8\u6B62","A network error caused the media download to fail part-way.":"\u7F51\u7EDC\u9519\u8BEF\u5BFC\u81F4\u89C6\u9891\u4E0B\u8F7D\u4E2D\u9014\u5931\u8D25\u3002","The media could not be loaded, either because the server or network failed or because the format is not supported.":"\u89C6\u9891\u56E0\u683C\u5F0F\u4E0D\u652F\u6301\u6216\u8005\u670D\u52A1\u5668\u6216\u7F51\u7EDC\u7684\u95EE\u9898\u65E0\u6CD5\u52A0\u8F7D\u3002","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"\u7531\u4E8E\u89C6\u9891\u6587\u4EF6\u635F\u574F\u6216\u662F\u8BE5\u89C6\u9891\u4F7F\u7528\u4E86\u4F60\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u7684\u529F\u80FD\uFF0C\u64AD\u653E\u7EC8\u6B62\u3002","No compatible source was found for this media.":"\u65E0\u6CD5\u627E\u5230\u6B64\u89C6\u9891\u517C\u5BB9\u7684\u6E90\u3002","The media is encrypted and we do not have the keys to decrypt it.":"\u89C6\u9891\u5DF2\u52A0\u5BC6\uFF0C\u65E0\u6CD5\u89E3\u5BC6\u3002","Play Video":"\u64AD\u653E\u89C6\u9891","Close":"\u5173\u95ED","Modal Window":"\u5F39\u7A97","This is a modal window":"\u8FD9\u662F\u4E00\u4E2A\u5F39\u7A97","This modal can be closed by pressing the Escape key or activating the close button.":"\u53EF\u4EE5\u6309ESC\u6309\u952E\u6216\u542F\u7528\u5173\u95ED\u6309\u94AE\u6765\u5173\u95ED\u6B64\u5F39\u7A97\u3002",", opens captions settings dialog":", \u5F00\u542F\u6807\u9898\u8BBE\u7F6E\u5F39\u7A97",", opens subtitles settings dialog":", \u5F00\u542F\u5B57\u5E55\u8BBE\u7F6E\u5F39\u7A97",", opens descriptions settings dialog":", \u5F00\u542F\u63CF\u8FF0\u8BBE\u7F6E\u5F39\u7A97",", selected":", \u9009\u62E9","captions settings":"\u5B57\u5E55\u8BBE\u5B9A","Audio Player":"\u97F3\u9891\u64AD\u653E\u5668","Video Player":"\u89C6\u9891\u64AD\u653E\u5668","Replay":"\u91CD\u65B0\u64AD\u653E","Progress Bar":"\u8FDB\u5EA6\u6761","Volume Level":"\u97F3\u91CF","subtitles settings":"\u5B57\u5E55\u8BBE\u5B9A","descriptions settings":"\u63CF\u8FF0\u8BBE\u5B9A","Text":"\u6587\u5B57","White":"\u767D","Black":"\u9ED1","Red":"\u7EA2","Green":"\u7EFF","Blue":"\u84DD","Yellow":"\u9EC4","Magenta":"\u7D2B\u7EA2","Cyan":"\u9752","Background":"\u80CC\u666F","Window":"\u7A97\u53E3","Transparent":"\u900F\u660E","Semi-Transparent":"\u534A\u900F\u660E","Opaque":"\u4E0D\u900F\u660E","Font Size":"\u5B57\u4F53\u5C3A\u5BF8","Text Edge Style":"\u5B57\u4F53\u8FB9\u7F18\u6837\u5F0F","None":"\u65E0","Raised":"\u6D6E\u96D5","Depressed":"\u538B\u4F4E","Uniform":"\u5747\u5300","Dropshadow":"\u4E0B\u9634\u5F71","Font Family":"\u5B57\u4F53\u5E93","Proportional Sans-Serif":"\u6BD4\u4F8B\u65E0\u7EC6\u4F53","Monospace Sans-Serif":"\u5355\u95F4\u9694\u65E0\u7EC6\u4F53","Proportional Serif":"\u6BD4\u4F8B\u7EC6\u4F53","Monospace Serif":"\u5355\u95F4\u9694\u7EC6\u4F53","Casual":"\u8212\u9002","Script":"\u624B\u5199\u4F53","Small Caps":"\u5C0F\u578B\u5927\u5199\u5B57\u4F53","Reset":"\u91CD\u7F6E","restore all settings to the default values":"\u6062\u590D\u5168\u90E8\u8BBE\u5B9A\u81F3\u9884\u8BBE\u503C","Done":"\u5B8C\u6210","Caption Settings Dialog":"\u5B57\u5E55\u8BBE\u5B9A\u7A97\u53E3","Beginning of dialog window. Escape will cancel and close the window.":"\u6253\u5F00\u5BF9\u8BDD\u7A97\u53E3\u3002Escape\u952E\u5C06\u53D6\u6D88\u5E76\u5173\u95ED\u5BF9\u8BDD\u7A97\u53E3","End of dialog window.":"\u7ED3\u675F\u5BF9\u8BDD\u7A97\u53E3","Seek to live, currently behind live":"\u5C1D\u8BD5\u76F4\u64AD\uFF0C\u5F53\u524D\u4E3A\u5EF6\u65F6\u64AD\u653E","Seek to live, currently playing live":"\u5C1D\u8BD5\u76F4\u64AD\uFF0C\u5F53\u524D\u4E3A\u5B9E\u65F6\u64AD\u653E","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","{1} is loading.":"\u6B63\u5728\u52A0\u8F7D {1}\u3002","No content":"\u65E0\u5185\u5BB9","Color":"\u989C\u8272","Opacity":"\u4E0D\u900F\u660E\u5EA6","Text Backgroun
994d":"\u6587\u672C\u80CC\u666F","Caption Area Background":"\u5B57\u5E55\u533A\u57DF\u80CC\u666F","Skip forward {1} seconds":"\u5FEB\u8FDB {1} \u79D2","Skip backward {1} seconds":"\u5FEB\u9000 {1} \u79D2"}'),"zh-TW":JSON.parse('{"Play":"\u64AD\u653E","Pause":"\u66AB\u505C","Current Time":"\u76EE\u524D\u6642\u9593","Duration":"\u7E3D\u5171\u6642\u9593","Remaining Time":"\u5269\u9918\u6642\u9593","Stream Type":"\u4E32\u6D41\u985E\u578B","LIVE":"\u76F4\u64AD","Loaded":"\u8F09\u5165\u5B8C\u7562","Progress":"\u9032\u5EA6","Fullscreen":"\u5168\u87A2\u5E55","Exit Fullscreen":"\u9000\u51FA\u5168\u87A2\u5E55","Mute":"\u975C\u97F3","Unmute":"\u958B\u555F\u97F3\u6548","Playback Rate":" \u64AD\u653E\u901F\u7387","Subtitles":"\u5B57\u5E55","subtitles off":"\u95DC\u9589\u5B57\u5E55","Captions":"\u5167\u5D4C\u5B57\u5E55","captions off":"\u95DC\u9589\u5167\u5D4C\u5B57\u5E55","Chapters":"\u7AE0\u7BC0","Close Modal Dialog":"\u95DC\u9589\u5C0D\u8A71\u6846","Descriptions":"\u63CF\u8FF0","descriptions off":"\u95DC\u9589\u63CF\u8FF0","Audio Track":"\u97F3\u8ECC","You aborted the media playback":"\u5F71\u7247\u64AD\u653E\u5DF2\u7D42\u6B62","A network error caused the media download to fail part-way.":"\u7DB2\u8DEF\u932F\u8AA4\u5C0E\u81F4\u5F71\u7247\u4E0B\u8F09\u5931\u6557\u3002","The media could not be loaded, either because the server or network failed or because the format is not supported.":"\u56E0\u683C\u5F0F\u4E0D\u652F\u63F4\u3001\u4F3A\u670D\u5668\u6216\u7DB2\u8DEF\u7684\u554F\u984C\u7121\u6CD5\u8F09\u5165\u5A92\u9AD4\u3002","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"\u7531\u65BC\u5F71\u7247\u6A94\u6848\u640D\u6BC0\u6216\u662F\u8A72\u5F71\u7247\u4F7F\u7528\u4E86\u60A8\u7684\u700F\u89BD\u5668\u4E0D\u652F\u63F4\u7684\u529F\u80FD\uFF0C\u5DF2\u7D42\u6B62\u64AD\u653E\u5A92\u9AD4\u3002","No compatible source was found for this media.":"\u7121\u6CD5\u627E\u5230\u76F8\u5BB9\u6B64\u5A92\u9AD4\u7684\u4F86\u6E90\u3002","The media is encrypted and we do not have the keys to decrypt it.":"\u5A92\u9AD4\u5DF2\u52A0\u5BC6\uFF0C\u7121\u6CD5\u89E3\u5BC6\u3002","Play Video":"\u64AD\u653E\u5F71\u7247","Close":"\u95DC\u9589","Modal Window":"\u5F37\u5236\u56DE\u61C9\u8996\u7A97","This is a modal window":"\u6B64\u70BA\u5F37\u5236\u56DE\u61C9\u8996\u7A97","This modal can be closed by pressing the Escape key or activating the close button.":"\u53EF\u4EE5\u6309ESC\u6309\u9375\u6216\u95DC\u9589\u6309\u9215\u4F86\u95DC\u9589\u6B64\u8996\u7A97\u3002",", opens captions settings dialog":", \u958B\u555F\u6A19\u984C\u8A2D\u5B9A\u5C0D\u8A71\u6846",", opens subtitles settings dialog":", \u958B\u555F\u5B57\u5E55\u8A2D\u5B9A\u5C0D\u8A71\u6846",", opens descriptions settings dialog":", \u958B\u555F\u63CF\u8FF0\u8A2D\u5B9A\u5C0D\u8A71\u6846",", selected":", \u9078\u64C7","captions settings":"\u5B57\u5E55\u8A2D\u5B9A","Audio Player":"\u97F3\u8A0A\u64AD\u653E\u5668","Video Player":"\u8996\u8A0A\u64AD\u653E\u5668","Replay":"\u91CD\u64AD","Progress Bar":"\u9032\u5EA6\u5217","Volume Level":"\u97F3\u91CF","subtitles settings":"\u5B57\u5E55\u8A2D\u5B9A","descriptions settings":"\u63CF\u8FF0\u8A2D\u5B9A","Text":"\u6587\u5B57","White":"\u767D","Black":"\u9ED1","Red":"\u7D05","Green":"\u7DA0","Blue":"\u85CD","Yellow":"\u9EC3","Magenta":"\u7D2B\u7D05","Cyan":"\u9752","Background":"\u80CC\u666F","Window":"\u8996\u7A97","Transparent":"\u900F\u660E","Semi-Transparent":"\u534A\u900F\u660E","Opaque":"\u4E0D\u900F\u660E","Font Size":"\u5B57\u578B\u5C3A\u5BF8","Text Edge Style":"\u5B57\u578B\u908A\u7DE3\u6A23\u5F0F","None":"\u7121","Raised":"\u6D6E\u96D5","Depressed":"\u58D3\u4F4E","Uniform":"\u5747\u52FB","Drop shadow":"\u4E0B\u9670\u5F71","Font Family":"\u5B57\u578B\u7CFB\u5217","Proportional Sans-Serif":"\u8ABF\u548C\u9593\u8DDD\u7121\u896F\u7DDA\u5B57\u578B","Monospace Sans-Serif":"\u7B49\u5BEC\u7121\u896F\u7DDA\u5B57\u578B","Proportional Serif":"\u8ABF\u548C\u9593\u8DDD\u896F\u7DDA\u5B57\u578B","Monospace Serif":"\u7B49\u5BEC\u896F\u7DDA\u5B57\u578B","Casual":"\u8F15\u4FBF\u7684","Script":"\u624B\u5BEB\u9AD4","Small Caps":"\u5C0F\u578B\u5927\u5BEB\u5B57\u9AD4","Reset":"\u91CD\u7F6E","restore all settings to the default values":"\u6062\u5FA9\u5168\u90E8\u8A2D\u5B9A\u81F3\u9810\u8A2D\u503C","Done":"\u5B8C\u6210","Caption Settings Dialog":"\u5B57\u5E55\u8A2D\u5B9A\u5C0D\u8A71\u6846","Beginning of dialog window. Escape will cancel and close the window.":"\u958B\u59CB\u5C0D\u8A71\u8996\u7A97\u3002\u96E2\u958B\u6703\u53D6\u6D88\u4E26\u95DC\u9589\u8996\u7A97","End of dialog window.":"\u7D50\u675F\u5C0D\u8A71\u8996\u7A97","Seek to live, currently behind live":"\u5FEB\u8F49\u81F3\u76F4\u64AD\uFF0C\u76EE\u524D\u70BA\u7A0D\u65E9\u756B\u9762","Seek to live, currently playing live":"\u5FEB\u8F49\u81F3\u76F4\u64AD\uFF0C\u76EE\u524D\u70BA\u73FE\u5834\u756B\u9762","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","{1} is loading.":"{1} \u6B63\u5728\u8F09\u5165\u3002","Exit Picture-in-Picture":"\u96E2\u958B\u5B50\u6BCD\u756B\u9762","Playing in Picture-in-Picture":"\u5728\u5B50\u6BCD\u756B\u9762\u4E2D\u64AD\u653E","Picture-in-Picture":"\u5B50\u6BCD\u756B\u9762","No content":"\u6C92\u6709\u5167\u5BB9","Color":"\u984F\u8272","Opacity":"\u4E0D\u900F\u660E\u5EA6","Text Backgroun
994d":"\u6587\u5B57\u80CC\u666F","Caption Area Background":"\u5B57\u5E55\u5340\u57DF\u80CC\u666F","Skip forward {1} seconds":"\u5FEB\u8F49 {1} \u79D2","Skip backward {1} seconds":"\u5012\u8F49 {1} \u79D2"}')};function nv(p){return p in l1}function iv(p){return l1[p]}function sv({labelCaptions:p,labelCaptionsOff:t,labelCurrentTime:o,labelDuration:c,labelExitFullscreen:y,labelExitPictureInPicture:_,labelFullscreen:P,labelMute:H,labelPause:ue,labelPictureInPicture:Te,labelPlay:Ye,labelPlayVideo:xt,labelPlaybackRate:or,labelRemainingTime:Ir,labelSeek:Qr,labelUnmute:Rt,labelVolume:kn,language:Dn,player:Tn}){(0,r.useEffect)(()=>{if(Tn==null)return;const rn=Dn!=null&&Dn!==""?Dn:"en",zn=Object.fromEntries(Object.entries({Captions:p,"captions off":t,"Current Time":o,Duration:c,"Exit Fullscreen":y,"Exit Picture-in-Picture":_,Fullscreen:P,Mute:H,Pause:ue,"Picture-in-Picture":Te,Play:Ye,"Play Video":xt,"Playback Rate":or,"Progress Bar":Qr,"Remaining Time":Ir,Unmute:Rt,"Volume Level":kn}).filter(([,go])=>go!=null)),yi={...nv(rn)?iv(rn):{},...zn};Object.keys(yi).length>0&&nn.addLanguage(rn,yi),Tn.language(rn),Tn.trigger("languagechange");const Gn=Tn.getChild("ControlBar"),bi=[{name:"CurrentTimeDisplay",label:o,key:"Current Time"},{name:"DurationDisplay",label:c,key:"Duration"},{name:"RemainingTimeDisplay",label:Ir,key:"Remaining Time"}];for(const{name:go,label:Ho,key:Co}of bi){const Ds=Gn?.getChild(go)?.el()?.querySelector(".vjs-control-text");if(Ds!=null){const Ro=Ho!=null&&Ho!==""?Ho:Tn.localize(Co);Ds.textContent=`${Ro}\xA0`}}const na=kn!=null&&kn!==""?kn:Tn.localize("Volume Level");Gn?.getChild("volumePanel")?.getChild("volumeControl")?.getChild("volumeBar")?.el()?.setAttribute("aria-label",na)},[p,t,o,c,y,_,P,H,ue,Te,Ye,xt,or,Ir,Qr,Rt,kn,Dn,Tn])}function av({player:p}){r.useEffect(()=>{if(p==null)return;const t=p.getChild("ControlBar"),o=c1(t,"PlaybackRateMenuButton"),c=c1(t,"SubsCapsButton");return()=>{o?.(),c?.()}},[p])}function c1(p,t){const c=p?.getChild(t)?.el()?.querySelector("button");if(c==null)return null;const y=_=>{if(_.key!=="ArrowUp"&&_.key!=="ArrowDown")return;c.getAttribute("aria-expanded")==="true"||(_.preventDefault(),_.stopPropagation(),c.click())};return c.addEventListener("keydown",y),()=>{c.removeEventListener("keydown",y)}}function ov({onPause:p,onPlay:t,player:o}){r.useEffect(()=>{if(o==null)return;const c=()=>{t?.()},y=()=>{p?.()};return o.on("play",c),o.on("pause",y),()=>{o.off("play",c),o.off("pause",y)}},[o,t,p])}function uv({enablePlaybackSpeed:p,onLoad:t,options:o,playbackRates:c,preload:y,videoRef:_}){const P=r.useRef(null),[H,ue]=r.useState(!1);return r.useEffect(()=>{const Te=_.current;if(Te==null||P.current!=null)return;P.current=nn(Te,o,function(){ue(!0)});const Ye=P.current,xt=()=>{t?.()};return Ye.one("loadedmetadata",xt),()=>{P.current!=null&&!P.current.isDisposed()&&(Ye.off("loadedmetadata",xt),P.current.dispose(),P.current=null),ue(!1)}},[]),r.useEffect(()=>{const Te=P.current;Te==null||Te.isDisposed()||(y!=null&&Te.preload(y),Te.playbackRates(p?c:[]))},[H,p,c,y]),H?P.current:null}function lv({enableSeek:p,onPlayheadSave:t,onTimeUpdate:o,player:c,playheadSaveInterval:y,timeUpdateInterval:_}){const P=r.useRef(0),H=r.useRef(0),ue=r.useRef(-1/0),Te=r.useRef(-1/0),Ye=r.useRef(0),xt=r.useRef(0),or=r.useRef(void 0),Ir=r.useRef(o),Qr=r.useRef(t);r.useEffect(()=>{Ir.current=o,Qr.current=t});const Rt=r.useCallback(rn=>{if(c==null)return;const zn=c.duration()??0,Nn=Math.max(0,Math.min(rn,zn));Nn>P.current&&(P.current=Nn),H.current=Nn,Ye.current=Nn,xt.current=zn,c.hasStarted()?c.currentTime(Nn):(c.play()?.catch(()=>{}),c.currentTime(Nn),c.pause())},[c]),kn=r.useCallback(rn=>{if(c==null)return;const Nn=(c.duration()??0)*Math.max(0,Math.min(rn,100))/100;Rt(Nn)},[c,Rt]),Dn=r.useCallback(()=>{c?.play()?.catch(()=>{})},[c]),Tn=r.useCallback(()=>{c?.pause()},[c]);return r.useEffect(()=>{if(c==null)return;let rn=null,zn,Nn;const yi=()=>{rn!=null&&(rn.classList.add("show-denied"),clearTimeout(or.current),or.current=setTimeout(()=>{rn?.classList.remove("show-denied"),or.current=void 0},1200))};if(!p){const Ds=c.getChild("ControlBar")?.getChild("ProgressControl");if(Nn=Ds?.getChild("SeekBar"),rn=document.createElement("div"),rn.setAttribute("aria-hidden","true"),rn.className="video-seek-denied-icon",Ds?.el()?.appendChild(rn),Nn?.handleMouseMove!=null){const Ao=Nn;zn=Ao.handleMouseMove.bind(Ao),Ao.handleMouseMove=al=>{const Kl=c.duration()??0;if(Kl===0){zn?.(al);return}const Id=Ao.calculateDistance(al)*Kl,Gc=P.current;if(Id>Gc){const Pd=Gc===Kl?Gc-.1:Gc;c.currentTime(Pd),yi()}else zn?.(al)}}}const Gn=()=>
994{if(c==null||c.isDisposed())return;const Ds=c.currentTime()??0,Ro=c.duration()??0;if(Ye.current=Ds,xt.current=Ro,!c.seeking()&&c.scrubbing()!==!0&&(H.current=Ds,Ds>P.current&&(P.current=Ds),!c.paused()&&or.current!==void 0&&(clearTimeout(or.current),or.current=void 0,rn?.classList.remove("show-denied"))),Ir.current!=null&&Ro>0&&_>0){const Ao=Ds*1e3;if(Ao-ue.current>=_){ue.current=Ao;const Kl=c.ended()?100:Ds/Ro*100;Ir.current({currentTime:Ds,percentComplete:Kl})}}if(Qr.current!=null&&Ro>0&&y>0&&!c.paused()&&!c.seeking()){const Ao=Ds*1e3;if(Ao-Te.current>=y){Te.current=Ao;const Kl=c.ended()?100:Ds/Ro*100;Qr.current(Math.round(Kl))}}},bi=()=>{if(Ir.current==null)return;const Ds=c!=null&&!c.isDisposed(),Ro=Ds?c.currentTime()??0:Ye.current,Ao=Ds?c.duration()??0:xt.current;if(Ao>0){const al=Ds&&c.ended()?100:Ro/Ao*100;Ir.current({currentTime:Ro,percentComplete:al})}},na=()=>{if(Qr.current==null)return;const Ds=c!=null&&!c.isDisposed(),Ro=Ds?c.currentTime()??0:Ye.current,Ao=Ds?c.duration()??0:xt.current;if(Ao>0){const al=Ds&&c.ended()?100:Ro/Ao*100;Qr.current(Math.round(al))}},go=()=>{if(c==null||c.isDisposed())return;const Ds=c.currentTime()??0,Ro=Ds-H.current;!p&&Ro>.01&&Ds>P.current&&(c.paused()||c.pause(),c.currentTime(P.current),H.current=P.current,yi())},Ho=()=>{const Ds=c?.currentTime()??0;ue.current=Ds*1e3,bi(),na()},Co=()=>{bi(),na()},Os=()=>{bi(),na(),Ye.current=xt.current,H.current=0};return c.on("timeupdate",Gn),c.on("seeking",go),c.on("seeked",Ho),c.on("pause",Co),c.on("ended",Os),()=>{na(),bi(),clearTimeout(or.current),Nn!=null&&zn!=null&&(Nn.handleMouseMove=zn),rn?.remove(),c.isDisposed()||(c.off("timeupdate",Gn),c.off("seeking",go),c.off("seeked",Ho),c.off("pause",Co),c.off("ended",Os))}},[p,y,c,_]),{pause:Tn,play:Dn,seekToPercent:kn,seekToTime:Rt}}function cv({player:p}){r.useEffect(()=>{if(p==null)return;const t=()=>{p?.getChild("PosterImage")?.show(),p?.getChild("BigPlayButton")?.show(),p?.currentTime(0)};return p.on("ended",t),()=>{p.off("ended",t)}},[p])}function dv({player:p,videoRef:t}){return r.useCallback(()=>{const o=t.current;if(p==null||o==null)throw new Error("Video player not initialized");const c=document.createElement("canvas"),y=c.getContext("2d"),_=p.videoHeight(),P=p.videoWidth();return c.width=P,c.height=_,y?.drawImage(o,0,0,P,_),c.toDataURL("image/png")},[p,t])}const Lg={controls:!0,controlBar:{children:["playToggle","timeDivider","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","pictureInPictureToggle","fullscreenToggle","volumePanel"],remainingTimeDisplay:!0,volumePanel:{inline:!0}},playbackRates:[.5,.75,1,1.25,1.5,1.75,2],preload:"auto",textTrackSettings:!1},d1=r.forwardRef(({crossOrigin:p,enableContextMenu:t=!1,enablePlaybackSpeed:o=!0,enableSeek:c=!0,inert:y,labelCaptions:_,labelCaptionsOff:P,labelContainer:H,labelCurrentTime:ue,labelDuration:Te,labelExitFullscreen:Ye,labelExitPictureInPicture:xt,labelFullscreen:or,labelMute:Ir,labelPause:Qr,labelPictureInPicture:Rt,labelPlay:kn,labelPlayVideo:Dn,labelPlaybackRate:Tn,labelRemainingTime:rn,labelSeek:zn,labelSeekDisabled:Nn,labelUnmute:yi,labelVolume:Gn,language:bi="en",onLoad:na,onPause:go,onPlay:Ho,onPlayheadSave:Co,onTimeUpdate:Os,playheadSaveInterval:Ds=15e3,poster:Ro,preload:Ao,style:al,timeUpdateInterval:Kl=1e3,children:Id},Gc)=>{const Pd=r.useRef(null),Rd=r.useRef(null),Ph=r.useMemo(()=>{const ap={};return o||(ap.playbackRates=[]),Ao!=null&&(ap.preload=Ao),document.pictureInPictureEnabled||(ap.controlBar={...Lg.controlBar,children:Lg.controlBar.children.filter(Mg=>Mg!=="pictureInPictureToggle")}),{...Lg,...ap}},[o,Ao]),yl=uv({enablePlaybackSpeed:o,onLoad:na,options:Ph,playbackRates:Ph.playbackRates??[],preload:Ao,videoRef:Rd}),jp=dv({player:yl,videoRef:Rd}),{pause:zp,play:G0,seekToTime:Y0,seekToPercent:K0}=lv({enableSeek:c,onPlayheadSave:Co,onTimeUpdate:Os,player:yl,playheadSaveInterval:Ds,timeUpdateInterval:Kl});return sv({labelCaptions:_,labelCaptionsOff:P,labelCurrentTime:ue,labelDuration:Te,labelExitFullscreen:Ye,labelExitPictureInPicture:xt,labelFullscreen:or,labelMute:Ir,labelPause:Qr,labelPictureInPicture:Rt,labelPlay:kn,labelPlayVideo:Dn,labelPlaybackRate:Tn,labelRemainingTime:rn,labelSeek:zn,labelUnmute:yi,labelVolume:Gn,language:bi,player:yl}),cv({player:yl}),ov({onPlay:Ho,onPause:go,player:yl}),b({enableContextMenu:t,player:yl}),av({player:yl}),T({children:Id,player:yl,videoRef:Rd}),l({player:yl}),a({player:yl}),u({labelPlaybackRate:Tn,player:yl}),v({player:yl}),h({player:yl}),i({player:yl}),m({player:yl}),g({enableSeek:c,labelSeek:zn,labelSeekDisabled:Nn,player:yl}),r.useImperativeHandle(Gc,()=>({containerElement:Pd.current,pause:zp,play:G0,seekToPercent:K0,seekToTime:Y0,snapshot:jp}),[zp,G0,K0,Y0,jp]),(0,n.jsx)("div",{"aria-label":H,className:"video-container",ref:Pd,role:"group",style:al,...y!==void 0&&{inert:y},children:(0,n.jsx)("video",{className:"video-js vjs-default-skin",crossOrigin:p,poster:Ro,ref:Rd,children:w(Id)})})});d1.displayName="VideoPlayer"},70706(f,d,e){"use strict";e.d(d,{eBw:()=>vh,k_s:()=>Ve,aOL:()=>ke,u33:()=>Vt,cAr:()=>Nr,mrj:()=>le,BlA:()=>Sr,eKG:()=>_n,d9Z:()=>Di,$Wv:()=>ns,_D9:()=>yn,vSk:()=>ld,n8i:()=>cd,WHl:()=>fp,CXD:()=>Ol,Hck:()=>uf,m91:()=>Mh,_FT:()=>ah,PbZ:()=>ro,B3m:()=>yf,thO:()=>bf,Y0:()=>
994ch,Qzd:()=>dh,ylx:()=>fh,ZfR:()=>hh,HL2:()=>$c,GAO:()=>ph,evW:()=>mh,j7p:()=>xf,fQW:()=>Fh,$zI:()=>gh,lYD:()=>jh,Tot:()=>cf,aeh:()=>wd,AGQ:()=>zl,iYA:()=>Lf,Wo_:()=>Pi,D2B:()=>Kh,gCZ:()=>Sh,Nke:()=>Cc,JxH:()=>$f,aCm:()=>Qh,YEc:()=>ie,hJT:()=>su,sMs:()=>Uo,Mik:()=>Ed,b2U:()=>bp,j0T:()=>vp,J6u:()=>Cf,qMG:()=>Th,GYN:()=>Wf,Mb1:()=>Vf,npW:()=>_h,Z6u:()=>Nc,lVo:()=>jl});var n={};e.r(n),e.d(n,{Any:()=>i,Argument:()=>s,Array:()=>u,AsyncIterator:()=>l,Awaited:()=>W,BigInt:()=>V,Boolean:()=>q,Capitalize:()=>On,Composite:()=>ss,Const:()=>ce,Constructor:()=>ze,ConstructorParameters:()=>Nt,Date:()=>xi,Enum:()=>Pr,Exclude:()=>z,Extends:()=>zt,Extract:()=>Ni,Function:()=>ms,Index:()=>hi,InstanceType:()=>Ii,Instantiate:()=>As,Integer:()=>xs,Intersect:()=>b,Iterator:()=>Xi,KeyOf:()=>La,Literal:()=>wi,Lowercase:()=>Bi,Mapped:()=>Qc,Module:()=>An,Never:()=>g.p,Not:()=>Vi,Null:()=>Ls,Number:()=>pn,Object:()=>Or,Omit:()=>dl,Optional:()=>de,Parameters:()=>_s,Partial:()=>Yu,Pick:()=>Vu,Promise:()=>ba,Readonly:()=>ha,ReadonlyOptional:()=>on,Record:()=>sa,Recursive:()=>yo,Ref:()=>C,RegExp:()=>El,Required:()=>nu,Rest:()=>Ld,ReturnType:()=>kc,String:()=>ci,Symbol:()=>as,TemplateLiteral:()=>hu,Transform:()=>Nu,Tuple:()=>rs,Uint8Array:()=>Ea,Uncapitalize:()=>Kn,Undefined:()=>Ys,Union:()=>E,Unknown:()=>ia,Unsafe:()=>Qu,Uppercase:()=>ji,Void:()=>nc});var r=e(68189),a=e(82795);function i(I){return(0,r.v)({[a.b8]:"Any"},I)}function s(I){return(0,r.v)({[a.b8]:"Argument",index:I})}function u(I,B){return(0,r.v)({[a.b8]:"Array",type:"array",items:I},B)}function l(I,B){return(0,r.v)({[a.b8]:"AsyncIterator",type:"AsyncIterator",items:I},B)}function m(I,B,Qe){return(0,r.v)({[a.b8]:"Computed",target:I,parameters:B},Qe)}var g=e(80463),h=e(78542);function v(I,B={}){const Qe=I.every(oi=>(0,h.av)(oi)),fr=(0,h.Yi)(B.unevaluatedProperties)?{unevaluatedProperties:B.unevaluatedProperties}:{};return(0,r.v)(B.unevaluatedProperties===!1||(0,h.Yi)(B.unevaluatedProperties)||Qe?{...fr,[a.b8]:"Intersect",type:"object",allOf:I}:{...fr,[a.b8]:"Intersect",allOf:I},B)}function b(I,B){if(I.length===1)return(0,r.v)(I[0],B);if(I.length===0)return(0,g.p)(B);if(I.some(Qe=>(0,h.n_)(Qe)))throw new Error("Cannot intersect transform types");return v(I,B)}function T(I,B){return(0,r.v)({[a.b8]:"Union",anyOf:I},B)}function E(I,B){return I.length===0?(0,g.p)(B):I.length===1?(0,r.v)(I[0],B):T(I,B)}var w=e(35783);function C(...I){const[B,Qe]=typeof I[0]=="string"?[I[0],I[1]]:[I[0].$id,I[1]];if(typeof B!="string")throw new w.i("Ref: $ref must be a string");return(0,r.v)({[a.b8]:"Ref",$ref:B},Qe)}function O(I,B){return m("Awaited",[m(I,B)])}function U(I){return m("Awaited",[C(I)])}function D(I){return b(M(I))}function F(I){return E(M(I))}function j(I){return W(I)}function M(I){return I.map(B=>W(B))}function W(I,B){return(0,r.v)((0,h.Y6)(I)?O(I.target,I.parameters):(0,h.Yq)(I)?D(I.allOf):(0,h.my)(I)?F(I.anyOf):(0,h.OD)(I)?j(I.item):(0,h.in)(I)?U(I.$ref):I,B)}function V(I){return(0,r.v)({[a.b8]:"BigInt",type:"bigint"},I)}function q(I){return(0,r.v)({[a.b8]:"Boolean",type:"boolean"},I)}function J(I,B){const{[B]:Qe,...fr}=I;return fr}function re(I,B){return B.reduce((Qe,fr)=>J(Qe,fr),I)}function he(I){return(0,r.v)({[a.b8]:"MappedResult",properties:I})}function fe(I,B){const Qe={};for(const fr of globalThis.Object.getOwnPropertyNames(I))Qe[fr]=de(I[fr],B);return Qe}function ae(I,B){return fe(I.properties,B)}function ye(I,B){const Qe=ae(I,B);return he(Qe)}function ve(I){return(0,r.v)(re(I,[a.tJ]))}function Ue(I){return(0,r.v)({...I,[a.tJ]:"Optional"})}function We(I,B){return B===!1?ve(I):Ue(I)}function de(I,B){const Qe=B??!0;return(0,h.ZD)(I)?ye(I,Qe):We(I,Qe)}function xe(I){return I.every(B=>(0,h.X$)(B))}function Fe(I){return re(I,[a.tJ])}function Xe(I){return I.map(B=>(0,h.X$)(B)?Fe(B):B)}function Me(I,B){return xe(I)?de(v(Xe(I),B)):v(Xe(I),B)}function Ze(I,B={}){if(I.length===1)return(0,r.v)(I[0],B);if(I.length===0)return(0,g.p)(B);if(I.some(Qe=>(0,h.n_)(Qe)))throw new Error("Cannot intersect transform types");return Me(I,B)}function rt(I){return I.some(B=>(0,h.X$)(B))}function mt(I){return I.map(B=>
994(0,h.X$)(B)?Xt(B):B)}function Xt(I){return re(I,[a.tJ])}function jt(I,B){return rt(I)?de(T(mt(I),B)):T(mt(I),B)}function Lt(I,B){return I.length===1?(0,r.v)(I[0],B):I.length===0?(0,g.p)(B):jt(I,B)}class Ht extends w.i{}function vr(I){return I.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function Fr(I,B,Qe){return I[B]===Qe&&I.charCodeAt(B-1)!==92}function fn(I,B){return Fr(I,B,"(")}function Kr(I,B){return Fr(I,B,")")}function Sn(I,B){return Fr(I,B,"|")}function Fn(I){if(!(fn(I,0)&&Kr(I,I.length-1)))return!1;let B=0;for(let Qe=0;Qe<I.length;Qe++)if(fn(I,Qe)&&(B+=1),Kr(I,Qe)&&(B-=1),B===0&&Qe!==I.length-1)return!1;return!0}function Et(I){return I.slice(1,I.length-1)}function st(I){let B=0;for(let Qe=0;Qe<I.length;Qe++)if(fn(I,Qe)&&(B+=1),Kr(I,Qe)&&(B-=1),Sn(I,Qe)&&B===0)return!0;return!1}function Wr(I){for(let B=0;B<I.length;B++)if(fn(I,B))return!0;return!1}function Dr(I){let[B,Qe]=[0,0];const fr=[];for(let Zs=0;Zs<I.length;Zs++)if(fn(I,Zs)&&(B+=1),Kr(I,Zs)&&(B-=1),Sn(I,Zs)&&B===0){const ga=I.slice(Qe,Zs);ga.length>0&&fr.push(gr(ga)),Qe=Zs+1}const oi=I.slice(Qe);return oi.length>0&&fr.push(gr(oi)),fr.length===0?{type:"const",const:""}:fr.length===1?fr[0]:{type:"or",expr:fr}}function Tr(I){function B(oi,Zs){if(!fn(oi,Zs))throw new Ht("TemplateLiteralParser: Index must point to open parens");let ga=0;for(let Gl=Zs;Gl<oi.length;
994Gl++)if(fn(oi,Gl)&&(ga+=1),Kr(oi,Gl)&&(ga-=1),ga===0)return[Zs,Gl];throw new Ht("TemplateLiteralParser: Unclosed group parens in expression")}function Qe(oi,Zs){for(let ga=Zs;ga<oi.length;ga++)if(fn(oi,ga))return[Zs,ga];return[Zs,oi.length]}const fr=[];for(let oi=0;oi<I.length;oi++)if(fn(I,oi)){const[Zs,ga]=B(I,oi),Gl=I.slice(Zs,ga+1);fr.push(gr(Gl)),oi=ga}else{const[Zs,ga]=Qe(I,oi),Gl=I.slice(Zs,ga);Gl.length>0&&fr.push(gr(Gl)),oi=ga-1}return fr.length===0?{type:"const",const:""}:fr.length===1?fr[0]:{type:"and",expr:fr}}function gr(I){return Fn(I)?gr(Et(I)):st(I)?Dr(I):Wr(I)?Tr(I):{type:"const",const:vr(I)}}function ir(I){return gr(I.slice(1,I.length-1))}class Mr extends w.i{}function Lr(I){return I.type==="or"&&I.expr.length===2&&I.expr[0].type==="const"&&I.expr[0].const==="0"&&I.expr[1].type==="const"&&I.expr[1].const==="[1-9][0-9]*"}function un(I){return I.type==="or"&&I.expr.length===2&&I.expr[0].type==="const"&&I.expr[0].const==="true"&&I.expr[1].type==="const"&&I.expr[1].const==="false"}function hn(I){return I.type==="const"&&I.const===".*"}function rr(I){return Lr(I)||hn(I)?!1:un(I)?!0:I.type==="and"?I.expr.every(B=>rr(B)):I.type==="or"?I.expr.every(B=>rr(B)):I.type==="const"?!0:(()=>{throw new Mr("Unknown expression type")})()}function Gr(I){const B=ir(I.pattern);return rr(B)}class er extends w.i{}function*At(I){if(I.length===1)return yield*I[0];for(const B of I[0])for(const Qe of At(I.slice(1)))yield`${B}${Qe}`}function*dr(I){return yield*At(I.expr.map(B=>[...Yt(B)]))}function*Y(I){for(const B of I.expr)yield*Yt(B)}function*ot(I){return yield I.const}function*Yt(I){return I.type==="and"?yield*dr(I):I.type==="or"?yield*Y(I):I.type==="const"?yield*ot(I):(()=>{throw new er("Unknown expression")})()}function it(I){const B=ir(I.pattern);return rr(B)?[...Yt(B)]:[]}function Mt(I){return it(I).map(Qe=>Qe.toString())}function an(I){const B=[];for(const Qe of I)B.push(...Ln(Qe));return B}function Cn(I){return[I.toString()]}function Ln(I){return[...new Set((0,h.gm)(I)?Mt(I):(0,h.my)(I)?an(I.anyOf):(0,h.gP)(I)?Cn(I.const):(0,h.Mx)(I)?["[number]"]:(0,h.$p)(I)?["[number]"]:[])]}var In=e(44035);function Si(I,B,Qe){return{[B]:hi(I,[B],(0,In.i)(Qe))}}function $i(I,B,Qe){return B.reduce((fr,oi)=>({...fr,...Si(I,oi,Qe)}),{})}function tn(I,B,Qe){return $i(I,B.keys,Qe)}function Hi(I,B,Qe){const fr=tn(I,B,Qe);return he(fr)}function Ji(I,B,Qe){const fr={};for(const oi of Object.getOwnPropertyNames(B))fr[oi]=hi(I,Ln(B[oi]),Qe);return fr}function Yi(I,B,Qe){return Ji(I,B.properties,Qe)}function Ki(I,B,Qe){const fr=Yi(I,B,Qe);return he(fr)}var mi;function ws(I,B){return I.map(Qe=>ut(Qe,B))}function Zn(I){return I.filter(B=>!(0,h.Df)(B))}function fs(I,B){return Ze(Zn(ws(I,B)))}function cs(I){return I.some(B=>(0,h.Df)(B))?[]:I}function vs(I,B){return Lt(cs(ws(I,B)))}function wr(I,B){return B in I?I[B]:B==="[number]"?Lt(I):(0,g.p)()}function we(I,B){return B==="[number]"?I:(0,g.p)()}function Ke(I,B){return B in I?I[B]:(0,g.p)()}function ut(I,B){return(0,h.Yq)(I)?fs(I.allOf,B):(0,h.my)(I)?vs(I.anyOf,B):(0,h.PN)(I)?wr(I.items??[],B):(0,h.QS)(I)?we(I.items,B):(0,h.av)(I)?Ke(I.properties,B):(0,g.p)()}function Kt(I,B){return B.map(Qe=>ut(I,Qe))}function ar(I,B){return Lt(Kt(I,B))}function Wn(I,B){return mi("Index",[I,B])}function hi(I,B,Qe){if((0,h.in)(I)||(0,h.in)(B)){const fr="Index types using Ref parameters require both Type and Key to be of TSchema";if(!(0,h.Yi)(I)||!(0,h.Yi)(B))throw new w.i(fr);return m("Index",[I,B])}return(0,h.ZD)(B)?Ki(I,B,Qe):(0,h.zZ)(B)?Hi(I,B,Qe):(0,r.v)((0,h.Yi)(B)?ar(I,Ln(B)):ar(I,B),Qe)}var Tt=e(31340);function qr(I){return globalThis.Object.keys(I).filter(B=>!(0,h.X$)(I[B]))}function Vr(I,B){const Qe=qr(I),fr=Qe.length>0?{[a.b8]:"Object",type:"object",required:Qe,properties:I}:{[a.b8]:"Object",type:"object",properties:I};return(0,r.v)(fr,B)}var Or=Vr,Pn=e(19568);function zr(I){const B=[];for(const Qe of I)B.push(...(0,Tt.g)(Qe));return(0,Pn.lN)(B)}function Hn(I){return I.filter(B=>!(0,h.Df)(B))}function fi(I,B){const Qe=[];for(const fr of I)Qe.push(...Kt(fr,[B]));return Hn(Qe)}function Ti(I,B){const Qe={};for(const fr of B)Qe[fr]=Ze(fi(I,fr));return Qe}function ss(I,B){const Qe=zr(I),fr=Ti(I,Qe);return Or(fr,B)}function xi(I){return(0,r.v)({[a.b8]:"Date",type:"Date"},I)}function ms(I,B,Qe){return(0,r.v)({[a.b8]:"Function",type:"Function",parameters:I,returns:B},Qe)}function wi(I,B){return(0,r.v)({[a.b8]:"Literal",const:I,type:typeof I},B)}function Ls(I){return(0,r.v)({[a.b8]:"Null",type:"null"},I)}function as(I){return(0,r.v)({[a.b8]:"Symbol",type:"symbol"},I)}function rs(I,B){return(0,r.v)(I.length>0?{[a.b8]:"Tuple",type:"array",items:I,additionalItems:!1,minItems:I.length,maxItems:I.length}:{[a.b8]:"Tuple",type:"array",minItems:I.length,maxItems:I.length},B)}function xa(I,B){const Qe={};for(const fr of globalThis.Object.getOwnPropertyNames(I))Qe[fr]=ha(I[fr],B);return Qe}function ka(I,B){return xa(I.properties,B)}function Is(I,B){const Qe=ka(I,B);return he(Qe)}function Ms(I){return(0,r.v)(re(I,[a.hi]))}function Gs(I){return(0,r.v)({...I,[a.hi]:"Readonly"})}function ks(I,B){return B===!1?Ms(I):Gs(I)}function ha(I,B){const Qe=B??!0;return(0,h.ZD)(I)?Is(I,Qe):ks(I,Qe)}function Ys(I){return(0,r.v)({[a.b8]:"Undefined",type:"undefined"},I)}function Ea(I){return(0,r.v)({[a.b8]:"Uint8Array",type:"Uint8Array"},I)}function ia(I){return(0,r.v)({[a.b8]:"Unknown"},I)}var us=e(47531);function eo(I){return I.map(B=>js(B,!1))}function wa(I){const B={};for(const Qe of globalThis.Object.getOwnPropertyNames(I))B[Qe]=ha(js(I[Qe],!1));return B}function da(I,B){return B===!0?I:ha(I)}
994function js(I,B){return(0,us.H1)(I)||(0,us.jo)(I)?da(i(),B):(0,us.QS)(I)?ha(rs(eo(I))):(0,us.G4)(I)?Ea():(0,us.XF)(I)?xi():(0,us.av)(I)?da(Or(wa(I)),B):(0,us.hg)(I)?da(ms([],ia()),B):(0,us.R1)(I)?Ys():(0,us.Ef)(I)?Ls():(0,us.nH)(I)?as():(0,us.cQ)(I)?V():(0,us.Mx)(I)||(0,us.Zx)(I)||(0,us.IP)(I)?wi(I):Or({})}function ce(I,B){return(0,r.v)(js(I,!0),B)}function ze(I,B,Qe){return(0,r.v)({[a.b8]:"Constructor",type:"Constructor",parameters:I,returns:B},Qe)}function Nt(I,B){return h.ZV(I)?rs(I.parameters,B):(0,g.p)(B)}function Pr(I,B){if((0,us.R1)(I))throw new Error("Enum undefined or empty");const Qe=globalThis.Object.getOwnPropertyNames(I).filter(Zs=>isNaN(Zs)).map(Zs=>I[Zs]),oi=[...new Set(Qe)].map(Zs=>wi(Zs));return E(oi,{...B,[a.Ck]:"Enum"})}function pn(I){return(0,r.v)({[a.b8]:"Number",type:"number"},I)}function ci(I){return(0,r.v)({[a.b8]:"String",type:"string"},I)}function Wi(I){const Qe=it(I).map(fr=>wi(fr));return Lt(Qe)}const qi="(true|false)",Li="(0|[1-9][0-9]*)",Mi="(.*)",_a="(?!.*)",io=null,za=`^${Li}$`,so=`^${Mi}$`,ys=`^${_a}$`;var Cr=e(16132);class $a extends w.i{}var ln;(function(I){I[I.Union=0]="Union",I[I.True=1]="True",I[I.False=2]="False"})(ln||(ln={}));function va(I){return I===ln.False?I:ln.True}function Da(I){throw new $a(I)}function zs(I){return Cr.Df(I)||Cr.Yq(I)||Cr.my(I)||Cr.fr(I)||Cr.h4(I)}function Ks(I,B){return Cr.Df(B)?Fi(I,B):Cr.Yq(B)?pr(I,B):Cr.my(B)?Wa(I,B):Cr.fr(B)?Na(I,B):Cr.h4(B)?Aa(I,B):Da("StructuralRight")}function Aa(I,B){return ln.True}function pa(I,B){return Cr.Yq(B)?pr(I,B):Cr.my(B)&&B.anyOf.some(Qe=>Cr.h4(Qe)||Cr.fr(Qe))?ln.True:Cr.my(B)?ln.Union:Cr.fr(B)||Cr.h4(B)?ln.True:ln.Union}function Pt(I,B){return Cr.fr(I)?ln.False:Cr.h4(I)?ln.Union:Cr.Df(I)?ln.True:ln.False}function $t(I,B){return Cr.av(B)&&Le(B)?ln.True:zs(B)?Ks(I,B):Cr.QS(B)?va(bs(I.items,B.items)):ln.False}function xr(I,B){return zs(B)?Ks(I,B):Cr.H1(B)?va(bs(I.items,B.items)):ln.False}function $r(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?$n(I,B):Cr.cQ(B)?ln.True:ln.False}function bn(I,B){return Cr.Wy(I)||Cr.Zx(I)?ln.True:ln.False}function Yr(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?$n(I,B):Cr.Zx(B)?ln.True:ln.False}function ge(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.ZV(B)?I.parameters.length>B.parameters.length?ln.False:I.parameters.every((Qe,fr)=>va(bs(B.parameters[fr],Qe))===ln.True)?va(bs(I.returns,B.returns)):ln.False:ln.False}function je(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?$n(I,B):Cr.XF(B)?ln.True:ln.False}function bt(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.hg(B)?I.parameters.length>B.parameters.length?ln.False:I.parameters.every((Qe,fr)=>va(bs(B.parameters[fr],Qe))===ln.True)?va(bs(I.returns,B.returns)):ln.False:ln.False}function yt(I,B){return Cr.gP(I)&&us.Mx(I.const)||Cr.Mx(I)||Cr.$p(I)?ln.True:ln.False}function sr(I,B){return Cr.$p(B)||Cr.Mx(B)?ln.True:zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?$n(I,B):ln.False}function pr(I,B){return B.allOf.every(Qe=>bs(I,Qe)===ln.True)?ln.True:ln.False}function hr(I,B){return I.allOf.some(Qe=>bs(Qe,B)===ln.True)?ln.True:ln.False}function Xn(I,B){return zs(B)?Ks(I,B):Cr.jo(B)?va(bs(I.items,B.items)):ln.False}function Un(I,B){return Cr.gP(B)&&B.const===I.const?ln.True:zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?$n(I,B):Cr.IP(B)?Qn(I,B):Cr.Mx(B)?Je(I,B):Cr.$p(B)?yt(I,B):Cr.Zx(B)?bn(I,B):ln.False}function Fi(I,B){return ln.False}function ti(I,B){return ln.True}function Ai(I){let[B,Qe]=[I,0];for(;Cr.gK(B);)B=B.not,Qe+=1;return Qe%2===0?B:ia()}function qn(I,B){return Cr.gK(I)?bs(Ai(I),B):Cr.gK(B)?bs(I,Ai(B)):Da("Invalid fallthrough for Not")}function $e(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?$n(I,B):Cr.Ef(B)?ln.True:ln.False}function Je(I,B){return Cr.LV(I)||Cr.Mx(I)||Cr.$p(I)?ln.True:ln.False}function Ct(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?$n(I,B):Cr.$p(B)||Cr.Mx(B)?ln.True:ln.False}function Ot(I,B){return Object.getOwnPropertyNames(I.properties).length===B}function Wt(I){return Le(I)}function Er(I){return Ot(I,0)||Ot(I,1)&&"description"in I.properties&&Cr.my(I.properties.description)&&I.properties.description.anyOf.length===2&&(Cr.IP(I.properties.description.anyOf[0])&&Cr.R1(I.properties.description.anyOf[1])||Cr.IP(I.properties.description.anyOf[1])&&Cr.R1(I.properties.description.anyOf[0]))}function Hr(I){return Ot(I,0)}function mn(I){return Ot(I,0)}function di(I){return Ot(I,0)}function si(I){return Ot(I,0)}function Pe(I){return Le(I)}function He(I){const B=pn();return Ot(I,0)||Ot(I,1)&&"length"in I.properties&&va(bs(I.properties.length,B))===ln.True}function ft(I){return Ot(I,0)}function Le(I){const B=pn();return Ot(I,0)||Ot(I,1)&&"length"in I.properties&&va(bs(I.properties.length,B))===ln.True}function De(I){const B=ms([i()],i());return Ot(I,0)||Ot(I,1)&&"then"in I.properties&&va(bs(I.properties.then,B))===ln.True}
994function lt(I,B){return bs(I,B)===ln.False||Cr.X$(I)&&!Cr.X$(B)?ln.False:ln.True}function gt(I,B){return Cr.fr(I)?ln.False:Cr.h4(I)?ln.Union:Cr.Df(I)||Cr.Zs(I)&&Wt(B)||Cr.LV(I)&&Hr(B)||Cr.Wy(I)&&mn(B)||Cr.nH(I)&&Er(B)||Cr.cQ(I)&&di(B)||Cr.IP(I)&&Wt(B)||Cr.nH(I)&&Er(B)||Cr.Mx(I)&&Hr(B)||Cr.$p(I)&&Hr(B)||Cr.Zx(I)&&mn(B)||Cr.G4(I)&&Pe(B)||Cr.XF(I)&&si(B)||Cr.ZV(I)&&ft(B)||Cr.hg(I)&&He(B)?ln.True:Cr.cZ(I)&&Cr.IP(dn(I))?B[a.Ck]==="Record"?ln.True:ln.False:Cr.cZ(I)&&Cr.Mx(dn(I))&&Ot(B,0)?ln.True:ln.False}function Zt(I,B){return zs(B)?Ks(I,B):Cr.cZ(B)?$n(I,B):Cr.av(B)?(()=>{for(const Qe of Object.getOwnPropertyNames(B.properties)){if(!(Qe in I.properties)&&!Cr.X$(B.properties[Qe]))return ln.False;if(Cr.X$(B.properties[Qe]))return ln.True;if(lt(I.properties[Qe],B.properties[Qe])===ln.False)return ln.False}return ln.True})():ln.False}function xn(I,B){return zs(B)?Ks(I,B):Cr.av(B)&&De(B)?ln.True:Cr.OD(B)?va(bs(I.item,B.item)):ln.False}function dn(I){return za in I.patternProperties?pn():so in I.patternProperties?ci():Da("Unknown record key pattern")}function vn(I){return za in I.patternProperties?I.patternProperties[za]:so in I.patternProperties?I.patternProperties[so]:Da("Unable to get record value schema")}function $n(I,B){const[Qe,fr]=[dn(B),vn(B)];return Cr.Zs(I)&&Cr.Mx(Qe)&&va(bs(I,fr))===ln.True?ln.True:Cr.G4(I)&&Cr.Mx(Qe)||Cr.IP(I)&&Cr.Mx(Qe)||Cr.QS(I)&&Cr.Mx(Qe)?bs(I,fr):Cr.av(I)?(()=>{for(const oi of Object.getOwnPropertyNames(I.properties))if(lt(fr,I.properties[oi])===ln.False)return ln.False;return ln.True})():ln.False}function Ui(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?bs(vn(I),vn(B)):ln.False}function hs(I,B){const Qe=Cr.__(I)?ci():I,fr=Cr.__(B)?ci():B;return bs(Qe,fr)}function Qn(I,B){return Cr.gP(I)&&us.IP(I.const)||Cr.IP(I)?ln.True:ln.False}function ki(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?$n(I,B):Cr.IP(B)?ln.True:ln.False}function Oi(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?$n(I,B):Cr.nH(B)?ln.True:ln.False}function Ei(I,B){return Cr.gm(I)?bs(Wi(I),B):Cr.gm(B)?bs(I,Wi(B)):Da("Invalid fallthrough for TemplateLiteral")}function ma(I,B){return Cr.QS(B)&&I.items!==void 0&&I.items.every(Qe=>bs(Qe,B.items)===ln.True)}function Fs(I,B){return Cr.Df(I)?ln.True:Cr.fr(I)?ln.False:Cr.h4(I)?ln.Union:ln.False}function Ha(I,B){return zs(B)?Ks(I,B):Cr.av(B)&&Le(B)||Cr.QS(B)&&ma(I,B)?ln.True:Cr.PN(B)?us.R1(I.items)&&!us.R1(B.items)||!us.R1(I.items)&&us.R1(B.items)?ln.False:us.R1(I.items)&&!us.R1(B.items)||I.items.every((Qe,fr)=>bs(Qe,B.items[fr])===ln.True)?ln.True:ln.False:ln.False}function Cs(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?$n(I,B):Cr.G4(B)?ln.True:ln.False}function qs(I,B){return zs(B)?Ks(I,B):Cr.av(B)?gt(I,B):Cr.cZ(B)?$n(I,B):Cr.jw(B)?$s(I,B):Cr.R1(B)?ln.True:ln.False}function Wa(I,B){return B.anyOf.some(Qe=>bs(I,Qe)===ln.True)?ln.True:ln.False}function Oa(I,B){return I.anyOf.every(Qe=>bs(Qe,B)===ln.True)?ln.True:ln.False}function Na(I,B){return ln.True}function Qo(I,B){return Cr.Df(B)?Fi(I,B):Cr.Yq(B)?pr(I,B):Cr.my(B)?Wa(I,B):Cr.h4(B)?Aa(I,B):Cr.IP(B)?Qn(I,B):Cr.Mx(B)?Je(I,B):Cr.$p(B)?yt(I,B):Cr.Zx(B)?bn(I,B):Cr.QS(B)?Pt(I,B):Cr.PN(B)?Fs(I,B):Cr.av(B)?gt(I,B):Cr.fr(B)?ln.True:ln.False}function $s(I,B){return Cr.R1(I)||Cr.R1(I)?ln.True:ln.False}function ra(I,B){return Cr.Yq(B)?pr(I,B):Cr.my(B)?Wa(I,B):Cr.fr(B)?Na(I,B):Cr.h4(B)?Aa(I,B):Cr.av(B)?gt(I,B):Cr.jw(B)?ln.True:ln.False}function bs(I,B){return Cr.gm(I)||Cr.gm(B)?Ei(I,B):Cr.__(I)||Cr.__(B)?hs(I,B):Cr.gK(I)||Cr.gK(B)?qn(I,B):Cr.h4(I)?pa(I,B):Cr.QS(I)?$t(I,B):Cr.cQ(I)?$r(I,B):Cr.Zx(I)?Yr(I,B):Cr.H1(I)?xr(I,B):Cr.ZV(I)?ge(I,B):Cr.XF(I)?je(I,B):Cr.hg(I)?bt(I,B):Cr.$p(I)?sr(I,B):Cr.Yq(I)?hr(I,B):Cr.jo(I)?Xn(I,B):Cr.gP(I)?Un(I,B):Cr.Df(I)?ti(I,B):Cr.Ef(I)?$e(I,B):Cr.Mx(I)?Ct(I,B):Cr.av(I)?Zt(I,B):Cr.cZ(I)?Ui(I,B):Cr.IP(I)?ki(I,B):Cr.nH(I)?Oi(I,B):Cr.PN(I)?Ha(I,B):Cr.OD(I)?xn(I,B):Cr.G4(I)?Cs(I,B):Cr.R1(I)?qs(I,B):Cr.my(I)?Oa(I,B):Cr.fr(I)?Qo(I,B):Cr.jw(I)?ra(I,B):Da(`Unknown left type operand '${I[a.b8]}'`)}function Ia(I,B){return bs(I,B)}function Eu(I,B){const Qe={};for(const fr of globalThis.Object.getOwnPropertyNames(I))Qe[fr]=z(I[fr],B);return Qe}function oo(I,B){return Eu(I.properties,B)}function ju(I,B){const Qe=oo(I,B);return he(Qe)}function xo(I,B){return z(Wi(I),B)}function $(I,B){const Qe=I.filter(fr=>Ia(fr,B)===ln.False);return Qe.length===1?Qe[0]:E(Qe)}function z(I,B,Qe={}
994){return(0,h.gm)(I)?(0,r.v)(xo(I,B),Qe):(0,h.ZD)(I)?(0,r.v)(ju(I,B),Qe):(0,r.v)((0,h.my)(I)?$(I.anyOf,B):Ia(I,B)!==ln.False?(0,g.p)():I,Qe)}function ee(I,B,Qe,fr,oi){return{[I]:zt(wi(I),B,Qe,fr,(0,In.i)(oi))}}function pe(I,B,Qe,fr,oi){return I.reduce((Zs,ga)=>({...Zs,...ee(ga,B,Qe,fr,oi)}),{})}function Ce(I,B,Qe,fr,oi){return pe(I.keys,B,Qe,fr,oi)}function Be(I,B,Qe,fr,oi){const Zs=Ce(I,B,Qe,fr,oi);return he(Zs)}function at(I,B,Qe,fr,oi){const Zs={};for(const ga of globalThis.Object.getOwnPropertyNames(I))Zs[ga]=zt(I[ga],B,Qe,fr,(0,In.i)(oi));return Zs}function vt(I,B,Qe,fr,oi){return at(I.properties,B,Qe,fr,oi)}function Bt(I,B,Qe,fr,oi){const Zs=vt(I,B,Qe,fr,oi);return he(Zs)}function mr(I,B,Qe,fr){const oi=Ia(I,B);return oi===ln.Union?E([Qe,fr]):oi===ln.True?Qe:fr}function zt(I,B,Qe,fr,oi){return(0,h.ZD)(I)?Bt(I,B,Qe,fr,oi):(0,h.zZ)(I)?(0,r.v)(Be(I,B,Qe,fr,oi)):(0,r.v)(mr(I,B,Qe,fr),oi)}function jr(I,B){const Qe={};for(const fr of globalThis.Object.getOwnPropertyNames(I))Qe[fr]=Ni(I[fr],B);return Qe}function Rn(I,B){return jr(I.properties,B)}function Jn(I,B){const Qe=Rn(I,B);return he(Qe)}function Yn(I,B){return Ni(Wi(I),B)}function gi(I,B){const Qe=I.filter(fr=>Ia(fr,B)!==ln.False);return Qe.length===1?Qe[0]:E(Qe)}function Ni(I,B,Qe){return(0,h.gm)(I)?(0,r.v)(Yn(I,B),Qe):(0,h.ZD)(I)?(0,r.v)(Jn(I,B),Qe):(0,r.v)((0,h.my)(I)?gi(I.anyOf,B):Ia(I,B)!==ln.False?I:(0,g.p)(),Qe)}function Ii(I,B){return h.ZV(I)?(0,r.v)(I.returns,B):(0,g.p)(B)}function es(I){return I.map(B=>ur(B))}function ur(I,B){return B===void 0?(0,In.i)(I):(0,In.i)({...B,...I})}function on(I){return ha(de(I))}function kr(I,B,Qe){return(0,r.v)({[a.b8]:"Record",type:"object",patternProperties:{[I]:B}},Qe)}function jn(I,B,Qe){const fr={};for(const oi of I)fr[oi]=B;return Or(fr,{...Qe,[a.Ck]:"Record"})}function ts(I,B,Qe){return Gr(I)?jn(Ln(I),B,Qe):kr(I.pattern,B,Qe)}function is(I,B,Qe){return jn(Ln(E(I)),B,Qe)}function _i(I,B,Qe){return jn([I.toString()],B,Qe)}function Ps(I,B,Qe){return kr(I.source,B,Qe)}function Do(I,B,Qe){const fr=(0,us.R1)(I.pattern)?so:I.pattern;return kr(fr,B,Qe)}function zu(I,B,Qe){return kr(so,B,Qe)}function Va(I,B,Qe){return kr(ys,B,Qe)}function ol(I,B,Qe){return Or({true:B,false:B},Qe)}function Pu(I,B,Qe){return kr(za,B,Qe)}function Eo(I,B,Qe){return kr(za,B,Qe)}function sa(I,B,Qe={}){return(0,h.my)(I)?is(I.anyOf,B,Qe):(0,h.gm)(I)?ts(I,B,Qe):(0,h.gP)(I)?_i(I.const,B,Qe):(0,h.Zx)(I)?ol(I,B,Qe):(0,h.$p)(I)?Pu(I,B,Qe):(0,h.Mx)(I)?Eo(I,B,Qe):(0,h.__)(I)?Ps(I,B,Qe):(0,h.IP)(I)?Do(I,B,Qe):(0,h.h4)(I)?zu(I,B,Qe):(0,h.Df)(I)?Va(I,B,Qe):(0,g.p)(Qe)}function Ru(I){return globalThis.Object.getOwnPropertyNames(I.patternProperties)[0]}function Ca(I){const B=Ru(I);return B===so?ci():B===za?pn():ci({pattern:B})}function Kc(I){return I.patternProperties[Ru(I)]}function ul(I,B){return B.parameters=En(I,B.parameters),B.returns=ei(I,B.returns),B}function bl(I,B){return B.parameters=En(I,B.parameters),B.returns=ei(I,B.returns),B}function Jo(I,B){return B.allOf=En(I,B.allOf),B}function Xc(I,B){return B.anyOf=En(I,B.anyOf),B}function pc(I,B){return us.R1(B.items)||(B.items=En(I,B.items)),B}function Bs(I,B){return B.items=ei(I,B.items),B}function Lo(I,B){return B.items=ei(I,B.items),B}function uo(I,B){return B.items=ei(I,B.items),B}function Oo(I,B){return B.item=ei(I,B.item),B}function Du(I,B){const Qe=wt(I,B.properties);return{...B,...Or(Qe)}}function se(I,B){const Qe=ei(I,Ca(B)),fr=ei(I,Kc(B)),oi=sa(Qe,fr);return{...B,...oi}}function _r(I,B){return B.index in I?I[B.index]:ia()}function ct(I,B){const Qe=h.TC(B),fr=h.X$(B),oi=ei(I,B);return Qe&&fr?on(oi):Qe&&!fr?ha(oi):!Qe&&fr?de(oi):oi}function wt(I,B){return globalThis.Object.getOwnPropertyNames(B).reduce((Qe,fr)=>({...Qe,[fr]:ct(I,B[fr])}),{})}function En(I,B){return B.map(Qe=>ei(I,Qe))}function ei(I,B){return h.ZV(B)?ul(I,B):h.hg(B)?bl(I,B):h.Yq(B)?Jo(I,B):h.my(B)?Xc(I,B):h.PN(B)?pc(I,B):h.QS(B)?Bs(I,B):h.H1(B)?Lo(I,B):h.jo(B)?uo(I,B):h.OD(B)?Oo(I,B):h.av(B)?Du(I,B):h.cZ(B)?se(I,B):h.Cz(B)?_r(I,B):B}function As(I,B){return ei(B,ur(I))}function xs(I){return(0,r.v)({[a.b8]:"Integer",type:"integer"},I)}function*ya(I){const B=I.trim().replace(/"|'/g,"");return B==="boolean"?yield q():B==="number"?yield pn():B==="bigint"?yield V():B==="str
994ing"?yield ci():yield(()=>{const Qe=B.split("|").map(fr=>wi(fr.trim()));return Qe.length===0?(0,g.p)():Qe.length===1?Qe[0]:Lt(Qe)})()}function*Zo(I){if(I[1]!=="{"){const B=wi("$"),Qe=fo(I.slice(1));return yield*[B,...Qe]}for(let B=2;B<I.length;B++)if(I[B]==="}"){const Qe=ya(I.slice(2,B)),fr=fo(I.slice(B+1));return yield*[...Qe,...fr]}yield wi(I)}function*fo(I){for(let B=0;B<I.length;B++)if(I[B]==="$"){const Qe=wi(I.slice(0,B)),fr=Zo(I.slice(B));return yield*[Qe,...fr]}yield wi(I)}function Qa(I){return[...fo(I)]}class tl extends w.i{}function $u(I){return I.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function qo(I,B){return(0,h.gm)(I)?I.pattern.slice(1,I.pattern.length-1):(0,h.my)(I)?`(${I.anyOf.map(Qe=>qo(Qe,B)).join("|")})`:(0,h.Mx)(I)?`${B}${Li}`:(0,h.$p)(I)?`${B}${Li}`:(0,h.cQ)(I)?`${B}${Li}`:(0,h.IP)(I)?`${B}${Mi}`:(0,h.gP)(I)?`${B}${$u(I.const.toString())}`:(0,h.Zx)(I)?`${B}${qi}`:(()=>{throw new tl(`Unexpected Kind '${I[a.b8]}'`)})()}function Hu(I){return`^${I.map(B=>qo(B,"")).join("")}$`}function hu(I,B){const Qe=(0,us.IP)(I)?Hu(Qa(I)):Hu(I);return(0,r.v)({[a.b8]:"TemplateLiteral",type:"string",pattern:Qe},B)}function Fa(I,B,Qe){return{[I]:Rr(wi(I),B,(0,In.i)(Qe))}}function ho(I,B,Qe){return I.reduce((oi,Zs)=>({...oi,...Fa(Zs,B,Qe)}),{})}function Rl(I,B,Qe){return ho(I.keys,B,Qe)}function Es(I,B,Qe){const fr=Rl(I,B,Qe);return he(fr)}function Tu(I){const[B,Qe]=[I.slice(0,1),I.slice(1)];return[B.toLowerCase(),Qe].join("")}function Dl(I){const[B,Qe]=[I.slice(0,1),I.slice(1)];return[B.toUpperCase(),Qe].join("")}function Ae(I){return I.toUpperCase()}function qe(I){return I.toLowerCase()}function St(I,B,Qe){const fr=ir(I.pattern);if(!rr(fr))return{...I,pattern:Ft(I.pattern,B)};const ga=[...Yt(fr)].map(xp=>wi(xp)),Gl=Jt(ga,B),Sp=E(Gl);return hu([Sp],Qe)}function Ft(I,B){return typeof I=="string"?B==="Uncapitalize"?Tu(I):B==="Capitalize"?Dl(I):B==="Uppercase"?Ae(I):B==="Lowercase"?qe(I):I:I.toString()}function Jt(I,B){return I.map(Qe=>Rr(Qe,B))}function Rr(I,B,Qe={}){return(0,h.zZ)(I)?Es(I,B,Qe):(0,h.gm)(I)?St(I,B,Qe):(0,h.my)(I)?E(Jt(I.anyOf,B),Qe):(0,h.gP)(I)?wi(Ft(I.const,B),Qe):(0,r.v)(I,Qe)}function On(I,B={}){return Rr(I,"Capitalize",B)}function Kn(I,B={}){return Rr(I,"Uncapitalize",B)}function Bi(I,B={}){return Rr(I,"Lowercase",B)}function ji(I,B={}){return Rr(I,"Uppercase",B)}function Xi(I,B){return(0,r.v)({[a.b8]:"Iterator",type:"Iterator",items:I},B)}function aa(I,B){const Qe={};for(const fr of globalThis.Object.getOwnPropertyNames(I))Qe[fr]=La(I[fr],(0,In.i)(B));return Qe}function Js(I,B){return aa(I.properties,B)}function Ka(I,B){const Qe=Js(I,B);return he(Qe)}function To(I,B){return m("KeyOf",[m(I,B)])}function po(I){return m("KeyOf",[C(I)])}function dt(I,B){const Qe=(0,Tt.g)(I),fr=Ja(Qe),oi=Lt(fr);return(0,r.v)(oi,B)}function Ja(I){return I.map(B=>B==="[number]"?pn():wi(B))}function La(I,B){return(0,h.Y6)(I)?To(I.target,I.parameters):(0,h.in)(I)?po(I.$ref):(0,h.ZD)(I)?Ka(I,B):dt(I,B)}function ba(I,B){return(0,r.v)({[a.b8]:"Promise",type:"Promise",item:I},B)}function gs(I,B){return I in B?wu(I,B[I]):he(B)}function eu(I){return{[I]:wi(I)}}function ll(I){const B={};for(const Qe of I)B[Qe]=wi(Qe);return B}function rl(I,B){return(0,Pn.oU)(B,I)?eu(I):ll(B)}function pu(I,B){const Qe=rl(I,B);return gs(I,Qe)}function Xl(I,B){return B.map(Qe=>wu(I,Qe))}function mu(I,B){const Qe={};for(const fr of globalThis.Object.getOwnPropertyNames(B))Qe[fr]=wu(I,B[fr]);return Qe}function wu(I,B){const Qe={...B};return(0,h.X$)(B)?de(wu(I,re(B,[a.tJ]))):(0,h.TC)(B)?ha(wu(I,re(B,[a.hi]))):(0,h.ZD)(B)?gs(I,B.properties):(0,h.zZ)(B)?pu(I,B.keys):(0,h.ZV)(B)?ze(Xl(I,B.parameters),wu(I,B.returns),Qe):(0,h.hg)(B)?ms(Xl(I,B.parameters),wu(I,B.returns),Qe):(0,h.H1)(B)?l(wu(I,B.items),Qe):(0,h.jo)(B)?Xi(wu(I,B.items),Qe):(0,h.Yq)(B)?b(Xl(I,B.allOf),Qe):(0,h.my)(B)?E(Xl(I,B.anyOf),Qe):(0,h.PN)(B)?rs(Xl(I,B.items??[]),Qe):(0,h.av)(B)?Or(mu(I,B.properties),Qe):(0,h.QS)(B)?u(wu(I,B.items),Qe):(0,h.OD)(B)?ba(wu(I,B.item),Qe):B}function Rc(I,B){const Qe={};for(const fr of I)Qe[fr]=wu(fr,B);return Qe}function Qc(I,B,Qe){const fr=(0,h.Yi)(I)?Ln(I):I,oi=B({[a.b8]:"MappedKey",keys:fr}),Zs=Rc(fr,oi);return Or(Zs,Qe)}function Lu(I,B,Qe){return{[B]:dl(I,[B],(0,In.i)(Qe))}}function mc(I,B,Qe){return B.reduce((fr,oi)=>({...fr,...Lu(I,oi,Qe)}),{})}function Vo(I,B,Qe){return mc(I,B.keys,Qe)}function qd(I,B,Qe){const fr=Vo(I,B,Qe);return he(fr)}function pd(I,B,Qe){const fr={};for(const oi of globalThis.Object.getOwnPropertyNames(I))fr[oi]=dl(I[oi],B,(0,In.i)(Qe));return fr}function Mu(I,B,Qe){return pd(I.properties,B,Qe)}function cl(I,B,Qe){const fr=Mu(I,B,Qe);return he(fr)}
994function Jc(I,B){return I.map(Qe=>ni(Qe,B))}function Wu(I,B){return I.map(Qe=>ni(Qe,B))}function gc(I,B){const{[B]:Qe,...fr}=I;return fr}function vc(I,B){return B.reduce((Qe,fr)=>gc(Qe,fr),I)}function Go(I,B,Qe){const fr=re(I,[a.H7,"$id","required","properties"]),oi=vc(Qe,B);return Or(oi,fr)}function wo(I){const B=I.reduce((Qe,fr)=>(0,h.fJ)(fr)?[...Qe,wi(fr)]:Qe,[]);return E(B)}function ni(I,B){return(0,h.Yq)(I)?b(Jc(I.allOf,B)):(0,h.my)(I)?E(Wu(I.anyOf,B)):(0,h.av)(I)?Go(I,B,I.properties):Or({})}function dl(I,B,Qe){const fr=(0,us.QS)(B)?wo(B):B,oi=(0,h.Yi)(B)?Ln(B):B,Zs=(0,h.in)(I),ga=(0,h.in)(B);return(0,h.ZD)(I)?cl(I,oi,Qe):(0,h.zZ)(B)?qd(I,B,Qe):Zs&&ga?m("Omit",[I,fr],Qe):!Zs&&ga?m("Omit",[I,fr],Qe):Zs&&!ga?m("Omit",[I,fr],Qe):(0,r.v)({...ni(I,oi),...Qe})}function gu(I,B,Qe){return{[B]:Vu(I,[B],(0,In.i)(Qe))}}function Dc(I,B,Qe){return B.reduce((fr,oi)=>({...fr,...gu(I,oi,Qe)}),{})}function Ba(I,B,Qe){return Dc(I,B.keys,Qe)}function tu(I,B,Qe){const fr=Ba(I,B,Qe);return he(fr)}function Za(I,B,Qe){const fr={};for(const oi of globalThis.Object.getOwnPropertyNames(I))fr[oi]=Vu(I[oi],B,(0,In.i)(Qe));return fr}function ku(I,B,Qe){return Za(I.properties,B,Qe)}function Zc(I,B,Qe){const fr=ku(I,B,Qe);return he(fr)}function qc(I,B){return I.map(Qe=>Ql(Qe,B))}function yc(I,B){return I.map(Qe=>Ql(Qe,B))}function ru(I,B){const Qe={};for(const fr of B)fr in I&&(Qe[fr]=I[fr]);return Qe}function Ll(I,B,Qe){const fr=re(I,[a.H7,"$id","required","properties"]),oi=ru(Qe,B);return Or(oi,fr)}function vo(I){const B=I.reduce((Qe,fr)=>(0,h.fJ)(fr)?[...Qe,wi(fr)]:Qe,[]);return E(B)}function Ql(I,B){return(0,h.Yq)(I)?b(qc(I.allOf,B)):(0,h.my)(I)?E(yc(I.anyOf,B)):(0,h.av)(I)?Ll(I,B,I.properties):Or({})}function Vu(I,B,Qe){const fr=(0,us.QS)(B)?vo(B):B,oi=(0,h.Yi)(B)?Ln(B):B,Zs=(0,h.in)(I),ga=(0,h.in)(B);return(0,h.ZD)(I)?Zc(I,oi,Qe):(0,h.zZ)(B)?tu(I,B,Qe):Zs&&ga?m("Pick",[I,fr],Qe):!Zs&&ga?m("Pick",[I,fr],Qe):Zs&&!ga?m("Pick",[I,fr],Qe):(0,r.v)({...Ql(I,oi),...Qe})}function Ml(I,B){const Qe={};for(const fr of globalThis.Object.getOwnPropertyNames(I))Qe[fr]=Yu(I[fr],(0,In.i)(B));return Qe}function ed(I,B){return Ml(I.properties,B)}function Gu(I,B){const Qe=ed(I,B);return he(Qe)}function Jl(I,B){return m("Partial",[m(I,B)])}function vu(I){return m("Partial",[C(I)])}function _o(I){const B={};for(const Qe of globalThis.Object.getOwnPropertyNames(I))B[Qe]=de(I[Qe]);return B}function Zl(I,B){const Qe=re(I,[a.H7,"$id","required","properties"]),fr=_o(B);return Or(fr,Qe)}function Yo(I){return I.map(B=>Sl(B))}function Sl(I){return h.Y6(I)?Jl(I.target,I.parameters):h.in(I)?vu(I.$ref):h.Yq(I)?b(Yo(I.allOf)):h.my(I)?E(Yo(I.anyOf)):h.av(I)?Zl(I,I.properties):h.cQ(I)||h.Zx(I)||h.$p(I)||h.gP(I)||h.Ef(I)||h.Mx(I)||h.IP(I)||h.nH(I)||h.R1(I)?I:Or({})}function Yu(I,B){return h.ZD(I)?Gu(I,B):(0,r.v)({...Sl(I),...B})}function Ua(I,B){const Qe={};for(const fr of globalThis.Object.getOwnPropertyNames(I))Qe[fr]=nu(I[fr],B);return Qe}function Lc(I,B){return Ua(I.properties,B)}function md(I,B){const Qe=Lc(I,B);return he(Qe)}function Mn(I,B){return m("Required",[m(I,B)])}function gd(I){return m("Required",[C(I)])}function ql(I){const B={};for(const Qe of globalThis.Object.getOwnPropertyNames(I))B[Qe]=re(I[Qe],[a.tJ]);return B}function Mo(I,B){const Qe=re(I,[a.H7,"$id","required","properties"]),fr=ql(B);return Or(fr,Qe)}function yu(I){return I.map(B=>ec(B))}function ec(I){return h.Y6(I)?Mn(I.target,I.parameters):h.in(I)?gd(I.$ref):h.Yq(I)?b(yu(I.allOf)):h.my(I)?E(yu(I.anyOf)):h.av(I)?Mo(I,I.properties):h.cQ(I)||h.Zx(I)||h.$p(I)||h.gP(I)||h.Ef(I)||h.Mx(I)||h.IP(I)||h.nH(I)||h.R1(I)?I:Or({})}function nu(I,B){return h.ZD(I)?md(I,B):(0,r.v)({...ec(I),...B})}function Ku(I,B){return B.map(Qe=>h.in(Qe)?tc(I,Qe.$ref):Ee(I,Qe))}function tc(I,B){return B in I?h.in(I[B])?tc(I,I[B].$ref):Ee(I,I[B]):(0,g.p)()}function Ko(I){return W(I[0])}function bc(I){return hi(I[0],I[1])}function Io(I){return La(I[0])}function qa(I){return Yu(I[0])}function Sc(I){return dl(I[0],I[1])}function _u(I){return Vu(I[0],I[1])}function Mc(I){return nu(I[0])}function nl(I,B,Qe){const fr=Ku(I,Qe);return B==="Awaited"?Ko(fr):B==="Index"?bc(fr):B==="KeyOf"?Io(fr):B==="Parti
994al"?qa(fr):B==="Omit"?Sc(fr):B==="Pick"?_u(fr):B==="Required"?Mc(fr):(0,g.p)()}function xl(I,B){return u(Ee(I,B))}function kl(I,B){return l(Ee(I,B))}function Nl(I,B,Qe){return ze(te(I,B),Ee(I,Qe))}function rc(I,B,Qe){return ms(te(I,B),Ee(I,Qe))}function fl(I,B){return b(te(I,B))}function Fl(I,B){return Xi(Ee(I,B))}function td(I,B){return Or(globalThis.Object.keys(B).reduce((Qe,fr)=>({...Qe,[fr]:Ee(I,B[fr])}),{}))}function Bl(I,B){const[Qe,fr]=[Ee(I,Kc(B)),Ru(B)],oi=ur(B);return oi.patternProperties[fr]=Qe,oi}function Ul(I,B){return h.in(B)?{...tc(I,B.$ref),[a.H7]:B[a.H7]}:B}function ca(I,B){return rs(te(I,B))}function N(I,B){return E(te(I,B))}function te(I,B){return B.map(Qe=>Ee(I,Qe))}function Ee(I,B){return h.X$(B)?(0,r.v)(Ee(I,re(B,[a.tJ])),B):h.TC(B)?(0,r.v)(Ee(I,re(B,[a.hi])),B):h.n_(B)?(0,r.v)(Ul(I,B),B):h.QS(B)?(0,r.v)(xl(I,B.items),B):h.H1(B)?(0,r.v)(kl(I,B.items),B):h.Y6(B)?(0,r.v)(nl(I,B.target,B.parameters)):h.ZV(B)?(0,r.v)(Nl(I,B.parameters,B.returns),B):h.hg(B)?(0,r.v)(rc(I,B.parameters,B.returns),B):h.Yq(B)?(0,r.v)(fl(I,B.allOf),B):h.jo(B)?(0,r.v)(Fl(I,B.items),B):h.av(B)?(0,r.v)(td(I,B.properties),B):h.cZ(B)?(0,r.v)(Bl(I,B)):h.PN(B)?(0,r.v)(ca(I,B.items||[]),B):h.my(B)?(0,r.v)(N(I,B.anyOf),B):B}function Ne(I,B){return B in I?Ee(I,I[B]):(0,g.p)()}function ht(I){return globalThis.Object.getOwnPropertyNames(I).reduce((B,Qe)=>({...B,[Qe]:Ne(I,Qe)}),{})}class Ar{constructor(B){const Qe=ht(B),fr=this.WithIdentifiers(Qe);this.$defs=fr}Import(B,Qe){const fr={...this.$defs,[B]:(0,r.v)(this.$defs[B],Qe)};return(0,r.v)({[a.b8]:"Import",$defs:fr,$ref:B})}WithIdentifiers(B){return globalThis.Object.getOwnPropertyNames(B).reduce((Qe,fr)=>({...Qe,[fr]:{...B[fr],$id:fr}}),{})}}function An(I){return new Ar(I)}function Vi(I,B){return(0,r.v)({[a.b8]:"Not",not:I},B)}function _s(I,B){return h.hg(I)?rs(I.parameters,B):(0,g.p)()}let oa=0;function yo(I,B={}){(0,us.R1)(B.$id)&&(B.$id=`T${oa++}`);const Qe=ur(I({[a.b8]:"This",$ref:`${B.$id}`}));return Qe.$id=B.$id,(0,r.v)({[a.Ck]:"Recursive",...Qe},B)}function El(I,B){const Qe=(0,us.IP)(I)?new globalThis.RegExp(I):I;return(0,r.v)({[a.b8]:"RegExp",type:"RegExp",source:Qe.source,flags:Qe.flags},B)}function Xu(I){return(0,h.Yq)(I)?I.allOf:(0,h.my)(I)?I.anyOf:(0,h.PN)(I)?I.items??[]:[]}function Ld(I){return Xu(I)}function kc(I,B){return h.hg(I)?(0,r.v)(I.returns,B):(0,g.p)(B)}class ef{constructor(B){this.schema=B}Decode(B){return new tf(this.schema,B)}}class tf{constructor(B,Qe){this.schema=B,this.decode=Qe}EncodeTransform(B,Qe){const Zs={Encode:ga=>Qe[a.H7].Encode(B(ga)),Decode:ga=>this.decode(Qe[a.H7].Decode(ga))};return{...Qe,[a.H7]:Zs}}EncodeSchema(B,Qe){const fr={Decode:this.decode,Encode:B};return{...Qe,[a.H7]:fr}}Encode(B){return(0,h.n_)(this.schema)?this.EncodeTransform(B,this.schema):this.EncodeSchema(B,this.schema)}}function Nu(I){return new ef(I)}function Qu(I={}){return(0,r.v)({[a.b8]:I[a.b8]??"Unsafe"},I)}function nc(I){return(0,r.v)({[a.b8]:"Void",type:"void"},I)}const x=n,Ju=x.Union([x.Literal("top"),x.Literal("bottom")],{$id:"AudioPosition"}),Pi=x.Object({l10nId:x.String()},{$id:"L10n"});function ua(I,B,Qe,fr){return{...x.Union([I,Pi],{$id:fr}),contentType:B,title:"Localized",order:Qe??0}}const Nc=I=>I.title==="Localized",ic="nullable";function Md(I){return x.Union([I,x.Null()],{[ic]:!0})}function Lf(I){return Cr.my(I)&&I[ic]===!0}function wn(I){return x.Optional(Md(I))}function Rs(I,B){return x.Mapped(x.KeyOf(I),Qe=>wn(x.Index(I,Qe)),{$id:B})}function bu(){return x.Union([x.Number(),x.String()])}function Ga(I=0,B){return ua(x.String({...B}),"plain",I)}function Xs(I=0,B){return ua(x.String({...B}),"rich",I)}function Tl(){return x.Union([x.Date(),x.String()])}const jl="discriminating";function fa(I,B,Qe){return x.Union(B,{[jl]:I,$id:Qe})}function zl(I){if(!Cr.my(I)||!(jl in I))return!1;const B=I[jl];return Array.isArray(B)&&B.every(Qe=>typeof Qe=="string")}const Fc=x.Tuple([],{deprecated:!0}),sc=x.Union([x.Literal(1),x.Literal(2),x.Literal(3),x.Literal(4),x.Literal(5),x.Literal(6)],{$id:"HeadingLevel"}),Cu=x.Union([x.Literal("ACCENT"),x.Literal("BLACK"),x.Literal("COLOR"),x.Literal("DARK"),x.Literal("GRAY"),x.Literal("IMAGE"),x.Literal("LIGHT"),x.Literal("TINT")],{$id:"Backgroun
994dType"}),vd=x.Union([x.Literal("WHITE"),x.Literal("TRANSPARENT")],{$id:"CardMode"}),$l=x.Union([x.Literal("AUTO"),x.Literal("BLACK"),x.Literal("LIGHT"),x.Literal("DARK")],{$id:"TextColor"}),rf=x.Union([x.Number({minimum:0,maximum:30}),x.String()],{$id:"CornerRadius"}),yd=Rs(x.Object({accentColor:x.String(),backgroundColor:x.String(),backgroundType:Cu,cardMode:vd,cornerRadius:rf,customBackgroundColorContrast:$l,customPaddingBottom:bu(),customPaddingLinked:x.Boolean(),customPaddingTop:bu(),entranceAnimation:x.Boolean(),markerColorContrast:$l,paddingBottom:bu(),paddingLinked:x.Boolean(),paddingTop:bu(),snippetColorContrast:$l,v:x.Union([x.Literal(1),x.Literal(2)])}),"BlockSettings"),ac=x.Object({translationOverride:x.Optional(x.Boolean())},{$id:"TranslationOverride"}),wl=x.Object({type:wn(x.String()),key:wn(x.String()),src:wn(x.String()),thumbnail:wn(x.String()),thumbnailKey:wn(x.String()),originalUrl:wn(x.String()),overlayColor:wn(x.String()),alpha:wn(bu()),crushedKey:wn(x.String()),useCrushedKey:wn(x.Boolean()),alt:wn(x.String()),fillWidth:wn(x.Boolean()),trackingContext:wn(x.String()),trackingId:wn(x.Union([x.String(),x.Number()])),align:wn(x.Union([x.Literal("left"),x.Literal("center"),x.Literal("right")])),sourcedFrom:wn(x.Union([x.Literal("DEFAULT"),x.Literal("USER"),x.Literal("LIBRARY"),x.Literal("AI")]))}),kd=x.Object({style:wn(x.String()),prompt:x.String(),orientation:wn(x.Union([x.Literal("landscape"),x.Literal("square"),x.Literal("portrait")])),modelId:wn(x.String()),fromContent:wn(x.Object({id:x.Union([x.String(),x.Number()]),type:x.String()}))},{$id:"AIGeneratedMediaSettings"}),iu=x.Composite([wl,x.Object({isSquare:wn(x.Boolean()),originalImage:wn(wl),dimensions:wn(x.Object({height:wn(x.Integer()),left:wn(x.Integer()),originalHeight:wn(x.Integer()),originalWidth:wn(x.Integer()),top:wn(x.Integer()),width:wn(x.Integer())})),aiImageGenSettings:wn(kd),link:wn(x.Object({type:x.Union([x.Literal("url"),x.Literal("lesson")]),destination:x.String()}))}),ac],{$id:"MediaImage"}),Au=x.Object({image:iu},{$id:"MediaImageRecord"}),lo=x.Object({id:x.Union([x.String(),x.Number()]),settings:yd,background:x.Optional(x.Partial(x.Object({media:ua(x.Partial(Au),"mediaRecord")}))),metadata:x.Optional(x.Partial(x.Object({createdVia:x.String()}))),globalBlockId:x.Optional(x.String())},{$id:"BlockBase"}),Su=x.Composite([lo,x.Object({type:x.Literal("interactive")})],{$id:"BlockInteractiveBase"}),Bc=x.Object({id:x.String(),key:x.Optional(x.String()),code:x.String(),name:x.Optional(x.String()),filename:x.String(),url:x.Optional(x.String()),isAiGenerated:x.Optional(x.Boolean())},{$id:"Caption"}),rd=x.Partial(x.Object({text:x.String(),model:x.String(),voiceName:x.String(),stability:x.Number(),similarity:x.Number(),styleExaggeration:x.Number(),speakerBoost:x.Boolean(),l10nAutoGenStatus:x.Optional(x.String())},{description:"Settings for AI audio generation."})),hl=x.Object({type:x.Optional(x.Literal("audio")),inputKey:x.Optional(x.String({description:"Full path in S3 before transcode"})),key:x.Optional(x.String({description:"Full path in S3 after transcode. Use in tandem with the cdn host to resolve the asset"})),duration:x.Optional(x.Number({minimum:0})),originalUrl:x.Optional(x.String({description:"Name of the file that was uploaded"})),pause:x.Optional(x.Boolean()),transcript:wn(x.String({description:"Generated transcript from the uploaded source"})),transcodeId:x.Optional(x.String({description:"Job ID in AWS when performing the transcode"})),aiAudioSettings:x.Optional(rd),sourceType:x.Optional(x.Union([x.Literal("upload-audio"),x.Literal("record-audio"),x.Literal("ai-audio")],{description:"Where the audio originated"}))}),nd=x.Composite([hl,ac],{$id:"MediaAudio"}),_l=x.Object({audio:nd},{$id:"MediaAudioRecord"}),bd=wn(x.Union([x.Literal("link"),x.Literal("photo"),x.Literal("video"),x.Literal("iframe"),x.Literal("rich")])),il=x.Composite([x.Object({type:x.Optional(x.Union([x.Literal("embed"),...bd.anyOf])),embedType:bd,src:x.String(),originalUrl:wn(x.Union([x.String(),x.Null()])),provider:wn(x.Union([x.String(),x.Null()])),providerUrl:wn(x.Union([x.String(),x.Null()])),thumbnail:wn(x.Union([x.String(),x.Null()])),favicon:wn(x.Union([x.String(),x.Null()])),title:wn(x.Union([x.String(),x.Null()])),description:wn(x.Union([x.String(),x.Null()])),useRelativePath:wn(x.Boolean()),pause:wn(x.Boolean())}),ac],{$id:"MediaEmbed"}),oc=x.Object({embed:il},{$id:"MediaEmbedRecord"}),Bo=x.Object({src:wn(x.String()),srcName:wn(x.String())},{$id:"MediaSandbox"}
994),su=x.Object({sandbox:Bo},{$id:"MediaSandboxRecord"}),Uo=x.Partial(x.Object({type:x.Optional(x.Literal("storyline")),src:x.String(),title:x.String(),thumbnail:x.Optional(x.String()),processing:x.Optional(x.Boolean()),contentPrefix:x.String(),meta:x.Partial(x.Object({title:x.String(),version:x.String(),course_id:x.String(),thumbnail:x.String(),stage:x.Object({width:x.Number(),height:x.Number()}),player:x.Partial(x.Object({name:x.String(),width:x.Number(),height:x.Number()})),scenes:x.Array(x.Object({title:x.String()})),slides:x.Array(x.Object({id:x.String(),title:x.String(),scene_index:x.String()}))}))}),{$id:"MediaStoryline"}),nf=x.Object({storyline:Uo},{$id:"MediaStorylineRecord"}),xc=x.Union([x.Composite([x.Object({type:x.Optional(x.Literal("video")),key:x.String(),url:x.Optional(x.String()),src:x.Optional(x.String()),poster:x.Optional(x.String()),duration:x.Optional(x.Number({minimum:0})),inputKey:x.Optional(x.String()),thumbnail:x.Optional(x.String()),captionUID:x.Optional(x.String()),originalUrl:x.Optional(x.String()),transcodeId:x.Optional(x.String()),pause:x.Optional(x.Boolean()),captions:x.Optional(x.Array(Bc)),subtitle:x.Optional(x.String()),aiImageGenSettings:wn(kd)}),ac]),x.Object({isCancelled:x.Literal(!0)})],{$id:"MediaVideo"}),uc=x.Object({video:xc},{$id:"MediaVideoRecord"}),Ec=x.Union([nd,il,iu,xc,Bo,Uo],{$id:"Media"}),Sd=x.Object({audio:x.Optional(nd),video:x.Optional(xc),image:x.Optional(iu)},{$id:"MediaAIAvatarRecord"}),k=x.Composite([x.Object({originalUrl:x.String(),size:x.Integer(),src:x.Optional(x.String()),type:x.Optional(x.Literal("attachment")),key:x.Optional(x.String()),filename:x.Optional(x.String()),mimeType:x.Optional(x.String())}),ac],{$id:"MediaAttachment"}),G=x.Object({attachment:k},{$id:"MediaAttachmentRecord"}),ie=x.Partial(x.Composite([G,_l,oc,Au,su,nf,uc].map(I=>x.Mapped(x.KeyOf(I),B=>x.Intersect([x.Omit(x.Index(I,B),["type"]),x.Partial(x.Pick(x.Index(I,B),["type"]))])))),{$id:"MediaRecord"}),be=x.Object({disableZoom:x.Optional(x.Boolean()),fullEmbed:x.Optional(x.Boolean()),showMetaData:x.Optional(x.Boolean())},{$id:"MediaSettings"}),Se=x.Object({id:x.Union([x.String(),x.Number()])},{$id:"BlockItemBase"}),Oe=x.Composite([Se,x.Object({title:Ga(0),description:x.Optional(Xs(1)),media:x.Optional(x.Union([Fc,ua(ie,"mediaRecord")])),settings:x.Optional(x.Object({disableZoom:x.Optional(x.Boolean()),fullEmbed:x.Optional(x.Boolean())}))})],{$id:"BlockItemAccordion"}),ke=x.Composite([Su,x.Object({family:x.Literal("interactive"),variant:x.Literal("accordion"),items:x.Array(Oe),settings:Rs(x.Object({headingLevel:sc,zoomOnClick:x.Boolean(),accordionBehavior:x.Union([x.Literal("keepOpen"),x.Literal("onlyOne")]),audioPosition:Ju}))})],{$id:"BlockAccordion"}),Ve=x.Composite([Su,x.Object({family:x.Literal("ai-scenario"),variant:x.Literal("ai-scenario"),scenarioId:x.String(),items:x.Optional(x.Tuple([]))})],{$id:"BlockAIScenario"}),et=x.Union([x.Literal("AUTO"),x.Literal("BLACK"),x.Literal("LIGHT"),x.Literal("DARK")],{$id:"ColorContrast"}),pt=x.Composite([Se,x.Object({type:x.Union([x.Literal(""),x.Literal("link"),x.Literal("relative-url"),x.Literal("email"),x.Literal("exit-course"),x.Literal("lesson")]),label:Ga(1),description:Xs(0),destination:x.Optional(ua(x.String(),"buttonDestination",2))})],{$id:"BlockItemButton"}),lr=Rs(x.Object({buttonAlignment:x.Union([x.Literal("left"),x.Literal("center"),x.Literal("right")]),buttonColor:x.String(),buttonColorContrast:et,buttonRadius:bu(),buttonShowDescription:x.Boolean(),buttonSpacing:bu(),buttonStyle:x.Literal("rounded"),buttonWidth:bu(),customButtonWidth:x.Number()})),Vt=x.Composite([Su,x.Object({family:x.Literal("buttons"),variant:x.Literal("button"),items:x.Optional(x.Array(pt)),settings:lr})],{$id:"BlockButton"}),Nr=x.Composite([Su,x.Object({family:x.Literal("buttons"),variant:x.Literal("button stack"),items:x.Array(pt),settings:lr})],{$id:"BlockButtonStack"}),nr=x.Object({type:x.Optional(x.Union([x.Literal("image"),x.Literal("fullimage"),x.Literal("description")])),description:x.Optional(Xs()),media:x.Optional(ua(x.Partial(x.Composite([_l,Au])),"mediaRecord"))}),Br=x.Composite([Se,x.Object({back:nr,front:nr})],{$id:"BlockItemCard"}),en=x.Literal("flashcard"),Jr=x.Union([x.Literal("0"),x.Literal("1"),x.Literal("2")],{$id:"FlashcardSize"});function Vn(I){return x.Composite([Su,x.Object({family:en,variant:x.Literal(I),items:x.Array(Br),settings:Rs(x.Object({showHint:x.Boolean(),flashcardSize:Jr}))})])}const yn=fa(["variant"],[Vn("flashcard"),Vn("stack")],"BlockFlashcard"),ii=x.Composite([Se,x.Object({color:x.String(),type:Ga(),value:x.String()})],{$id:"BlockItemChart"});function R(I){return x.Composite([lo,x.Object({type:x.Literal("chart"),family:x.Literal("chart"),variant:x.Literal(I),items:x.Array(ii),title:Xs(0),itemsLabel:Ga(2),valuesLabel:Ga(1),settings:Rs(x.Object({headingLevel:sc,valueType:x.Union([x.Literal("numeric"),x.Literal("percentage")])}))})])}function K(I){return x.Composite([R(I),x.Object({settings:Rs(x.Object({chartColor:x.String(),lineCurve:x.Union([x.Literal("linear"),x.Literal("natural")])}
994))})])}const le=fa(["variant"],[K("bar"),K("line"),R("pie")],"BlockChart"),oe=x.Composite([Se,x.Object({title:Ga(0),buttonColor:x.Union([x.Literal("brand"),x.Literal("gray"),x.Literal("black")]),completeHint:Ga(1)})],{$id:"BlockItemContinue"}),Ie=fa(["type"],[x.Composite([oe,x.Object({type:x.Literal("")})]),x.Composite([oe,x.Object({type:x.Literal("completeBlock")})]),x.Composite([oe,x.Object({type:x.Literal("completeAll")})])],"BlockItemContinue"),Ge=x.Object({id:x.Union([x.String(),x.Number()]),correct:x.Optional(x.Boolean())}),tt=x.Composite([Ge,x.Object({title:x.Optional(Ga(1))})],{$id:"BlockItemKnowledgeCheckAnswerPlain"}),_t=x.Composite([Ge,x.Object({title:x.Optional(Xs(1))})],{$id:"BlockItemKnowledgeCheckAnswerRich"}),Ut=x.Union([x.Literal("ANY"),x.Literal("CORRECT_INCORRECT"),x.Literal("CHOICE")],{$id:"BlockKnowledgeCheckFeedbackType"}),yr=x.Composite([Se,x.Object({title:Xs(0),media:x.Optional(ua(ie,"mediaRecord")),settings:x.Optional(be),isCaseSensitive:x.Optional(x.Boolean())})],{$id:"BlockItemKnowledgeCheckBase"});function Qt(I,B){const Qe=I?_t:tt;let fr;switch(B){case"ANY":fr=x.Object({feedbackType:x.Optional(x.Union([x.Literal(B),x.Literal("")])),feedback:x.Optional(Xs(1)),answers:x.Array(Qe)});break;case"CORRECT_INCORRECT":fr=x.Object({feedbackType:x.Literal(B),feedbackCorrect:x.Optional(Xs(2)),feedbackIncorrect:x.Optional(Xs(3)),answers:x.Array(Qe)});break;case"CHOICE":fr=x.Object({feedbackType:x.Literal(B),answers:x.Array(x.Composite([Qe,x.Object({feedback:x.Optional(x.Optional(Xs(2)))})]))});break}return x.Composite([yr,fr])}const qt=x.Object({type:x.Literal("FILL_IN_THE_BLANK")}),br=x.Union([x.Composite([qt,Qt(!1,"ANY")]),x.Composite([qt,Qt(!1,"CORRECT_INCORRECT")])],{$id:"BlockItemFillIn"}),cn=x.Composite([Se,x.Object({srcdoc:x.Optional(ua(x.Optional(x.String()),"codeSrcDoc")),media:x.Optional(ua(x.Optional(su),"codeMedia"))})],{$id:"BlockItemHTML"}),gn=x.Composite([Se,x.Object({caption:x.Optional(Xs(1)),media:x.Optional(ua(x.Partial(x.Composite([_l,Au])),"mediaRecord"))})],{$id:"BlockItemImageWithCaption"}),ai=x.Composite([Se,gn,x.Object({paragraph:x.Optional(Xs(2))})],{$id:"BlockItemImageTextAside"}),Ri=x.Union([gn,ai],{$id:"BlockItemImage"});function ps(I){return x.Composite([x.Omit(Qt(!1,I),["answers"]),x.Object({type:x.Literal("MATCHING"),answers:x.Array(x.Composite([tt,x.Object({matchTitle:x.Optional(Ga(1))})]))})])}const Hs=x.Union([ps("ANY"),ps("CORRECT_INCORRECT")],{$id:"BlockItemMatching"}),Qs=x.Object({type:x.Optional(x.Literal("MULTIPLE_CHOICE"))}),la=fa(["type","feedbackType"],[x.Composite([Qs,Qt(!0,"ANY")]),x.Composite([Qs,Qt(!0,"CORRECT_INCORRECT")]),x.Composite([Qs,Qt(!0,"CHOICE")])],"BlockItemMultipleChoice"),ko=x.Object({type:x.Literal("MULTIPLE_RESPONSE"),correct:x.Optional(x.String()),corrects:x.Optional(x.Array(x.String()))}),zi=x.Union([x.Composite([ko,Qt(!0,"ANY")]),x.Composite([ko,Qt(!0,"CORRECT_INCORRECT")])],{$id:"BlockItemMultipleResponse"}),Ns=fa(["type","feedbackType"],[Hs,la,zi,br],"QuestionBankQuestion"),Ta=x.Composite([Se,x.Object({type:x.Literal("DRAW_FROM_QUESTION_BANK"),questionBankId:x.Optional(x.String()),questionBankTitle:x.Optional(x.String()),questionBankUpdatedAt:x.Optional(x.String()),drawCount:x.Optional(x.Number()),questions:x.Optional(x.Array(Ns))})],{$id:"BlockItemQuestionBank"}),to=fa(["type","feedbackType"],[Hs,la,zi,Ta,br],"BlockItemKnowledgeCheck"),Tc=x.Composite([Se,x.Object({x:ua(bu(),"coordinate"),y:ua(bu(),"coordinate"),icon:x.String(),title:Ga(1),isActive:x.Boolean(),description:Xs(2),media:x.Optional(ua(ie,"mediaRecord"))})],{$id:"BlockItemLabeledGraphic"}),id=x.Composite([Se,x.Object({paragraph:x.Optional(Xs()),number:wn(x.Union([x.String(),x.Number()]))})],{$id:"BlockItemList"}),ao=x.Composite([Se,x.Object({isHidden:x.Boolean(),title:Ga(0),description:wn(Xs(1)),media:x.Optional(x.Union([ua(ie,"mediaRecord"),Fc])),type:x.Union([x.Literal("intro"),x.Literal("summary"),x.Literal("step")]),settings:x.Optional(x.Union([x.Partial(x.Object({showMetaData:x.Boolean()})),Fc]))})],{$id:"BlockItemProcess"}),bo=x.Composite([Se,x.Object({name:Xs(1),avatar:x.Object({media:ua(x.Partial(Au),"mediaRecord")}),paragraph:Xs(0),background:x.Optional(x.Object({media:ua(x.Partial(Au),"mediaRecord")}))})],{$id:"BlockItemQuote"}
994),Hl=x.Union([x.Literal("next"),x.Literal("slide"),x.Literal("end")]),sd=x.Object({scene:x.String(),slide:x.String()}),au=x.Object({id:x.String(),alt:x.Optional(Ga(2)),goTo:Hl,action:x.Union([x.Literal("continue"),x.Literal("tryAgain")]),emotion:x.String(),feedback:Md(Xs(1)),nextSlide:wn(sd),description:wn(Xs(0))}),xd=x.Object({id:x.String(),alt:x.Optional(Ga(2)),title:Md(Ga(0)),goTo:Hl,type:x.Union([x.Literal("dialogue"),x.Literal("text")]),emotion:x.String(),media:x.Optional(ua(x.Partial(_l),"mediaRecord")),nextSlide:wn(sd),responses:x.Array(au),description:wn(Xs(1)),hasCharacter:x.Boolean()}),Uc=x.Composite([iu,x.Object({id:x.String(),filters:x.Array(x.Object({name:x.String(),value:x.String()}))})]),Cl=x.Partial(x.Object({media:ua(Au,"mediaRecord")})),pl=x.Partial(x.Object({id:x.String(),name:x.String(),src:x.String(),poses:x.Record(x.String(),Uc)})),Fu=x.Composite([Se,x.Object({title:Ga(),background:Cl,character:pl,slides:x.Array(xd),slidesHaveCharacterByDefault:x.Optional(x.Boolean()),blurBackground:x.Optional(x.Boolean())})],{$id:"BlockItemScenario"}),Bu=x.Composite([Se,x.Object({title:Ga(),pileId:x.Union([x.String(),x.Number()])})],{$id:"BlockItemSorting"}),ml=x.Union([x.Object({}),x.Composite([Se,x.Object({paragraph:x.Optional(Xs())})])],{$id:"BlockItemStatement"}),Zu=x.Composite([Se,Rs(x.Object({media:ua(nf,"storyline")}))],{$id:"BlockItemStoryline"}),ad=x.Composite([Se,x.Object({title:x.Optional(Ga(0)),description:x.Optional(Xs(1)),media:x.Optional(x.Union([Fc,x.Optional(ua(ie,"mediaRecord"))])),settings:x.Optional(x.Object({disableZoom:x.Optional(x.Boolean()),fullEmbed:x.Optional(x.Boolean())}))})],{$id:"BlockItemTabs"}),Nd=x.Composite([Se,x.Object({media:x.Optional(ua(Au,"mediaRecord"))})]),od=x.Union([x.Object({}),x.Composite([Nd,x.Object({heading:wn(Xs(0))})])],{$id:"BlockItemTextHeading"}),gl=x.Union([x.Object({}),x.Composite([Nd,x.Object({paragraph:wn(Xs(1))})])],{$id:"BlockItemTextParagraph"}),qu=x.Union([x.Object({}),x.Composite([Se,x.Object({heading:wn(Xs(0)),paragraph:wn(Xs(1))})])],{$id:"BlockItemTextHeadingParagraph"}),Fd=x.Union([od,gl,qu],{$id:"BlockItemText"}),ud=x.Composite([Se,x.Object({date:x.Optional(Ga(0)),title:Ga(1),description:Xs(2),media:x.Optional(ua(ie,"mediaRecord")),settings:x.Optional(be)})],{$id:"BlockItemTimeline"}),Wl=x.Union([Oe,pt,Br,Ie,br,cn,Ri,to,Tc,id,Hs,la,zi,ao,Ta,bo,Fu,Bu,ml,Zu,ad,Fd,ud],{$id:"BlockItem"}),sf=x.Composite([Se,x.Object({caption:x.Optional(Xs()),code:x.String()})],{$id:"BlockItemCode",deprecated:!0}),wc=x.Composite([Se,x.Object({caption:x.Optional(Xs()),code:x.String()})],{$id:"BlockItemCodeSnippet"});function _c(I,B){const Qe=ua(I,"mediaRecord",0);return x.Composite([Se,x.Object({media:Qe})],{$id:B})}function Bd(I,B){return x.Composite([I,x.Object({caption:x.Optional(Xs(1))})],{$id:B})}const Al=_c(G,"BlockItemAttachment"),jc=Bd(_c(_l),"BlockItemAudio"),gf=x.Composite([_c(oc),x.Object({settings:x.Optional(x.Object({showMetaData:x.Optional(x.Boolean())}))})],{$id:"BlockItemEmbed"}),Ed=x.Object({customVideo:x.Optional(x.Partial(xc)),video:x.Optional(x.Partial(xc))},{$id:"MediaVideoOrCustomVideoRecord"}),af=x.Composite([Bd(_c(Ed)),x.Object({partnerContentId:x.Optional(x.String())})],{$id:"BlockItemVideo"}),vf=Bd(_c(Sd),"BlockItemAIAvatar"),Mf=x.Union([Al,jc,gf,af],{$id:"BlockItemMultimedia"}),kf=x.Composite([Se,x.Object({step:x.Optional(Ga(0)),title:Xs(1),description:Xs(2),media:x.Optional(ua(ie,"mediaRecord")),settings:x.Optional(be)})],{$id:"BlockItemStep"}),Ud=x.Composite([Se,x.Object({title:Xs(0),question:Xs(0),isRequired:x.Optional(x.Boolean())})]),Nf=x.Composite([Ud,x.Object({maxLength:x.Optional(x.Number()),questionType:x.Literal("SHORT_RESPONSE")})],{$id:"BlockItemSurveyShortResponse"}),jd=x.Composite([Ud,x.Object({maxLength:x.Optional(x.Number()),questionType:x.Literal("LONG_RESPONSE")})],{$id:"BlockItemSurveyLongResponse"}),of=x.Composite([Ud,x.Object({questionType:x.Literal("RATING")})],{$id:"BlockItemSurveyRating"}),Ff=x.Composite([Ud,x.Object({questionType:x.Literal("LINEAR_SCALE"),scaleMax:x.Number(),startLabel:x.Optional(x.String()),endLabel:x.Optional(x.String())})],{$id:"BlockItemSurveyLinearScale"}),ih=fa(["questionType"],[Nf,jd,of,Ff],"BlockItemSurvey");function Qi(I){return x.Composite([lo,x.Object({type:x.Literal(I),family:x.Literal(I),variant:x.Literal("co
994de"),items:x.Tuple([sf]),settings:Rs(x.Object({language:x.String(),snippetBackgroundColor:x.String(),snippetColorContrast:et,theme:x.String(),useAdvancedEditor:x.Boolean(),wrapWords:x.Boolean()}))})],{deprecated:!0})}const Sr=fa(["type","family"],[Qi("text"),Qi("multimedia")],"BlockCode");function Zr(I){return x.Composite([lo,x.Object({type:x.Literal(I),family:x.Literal(I),variant:x.Literal("code"),items:x.Tuple([sf]),settings:Rs(x.Object({language:x.String(),snippetBackgroundColor:x.String(),snippetColorContrast:et,theme:x.String(),useAdvancedEditor:x.Boolean(),wrapWords:x.Boolean()}))})])}const _n=fa(["type","family"],[Zr("text"),Zr("multimedia")],"BlockCodeSnippet"),vi=Rs(x.Object({continueColor:x.String(),continueColorContrast:et,continueRadius:bu(),continueWidth:bu()})),Di=x.Composite([lo,x.Object({type:x.Literal("divider"),family:x.Literal("continue"),variant:x.Literal("continue"),items:x.Tuple([Ie]),settings:vi})],{$id:"BlockContinue"});function Ci(I){const B={type:x.Literal("divider"),family:x.Literal("divider"),variant:x.Literal(I),items:x.Optional(x.Union([x.Tuple([]),x.Tuple([Ie])]))};return I==="numbered divider"?x.Composite([lo,x.Object({...B,settings:Rs(x.Object({restartNumbering:x.Boolean(),restartNumberingValue:x.Number()}))})]):x.Composite([lo,x.Object(B)])}const ns=fa(["variant"],[Ci("divider"),Ci("numbered divider"),Ci("spacing divider")],"BlockDivider"),os=x.Union([x.Literal("0"),x.Literal("1"),x.Literal("2")],{$id:"MediaWidth"}),ls=x.Intersect([x.Number({minimum:0,maximum:30})],{$id:"MediaCornerRadius"});function ds(I,B,Qe){return x.Composite([lo,x.Object({type:x.Literal("multimedia"),family:x.Literal("multimedia"),variant:x.Literal(I),items:x.Array(B,{minItems:1})})],Qe!==void 0?{$id:Qe}:{})}const Us=ds("attachment",Al,"BlockAttachment"),Ss=x.Intersect([ds("audio",jc),x.Object({settings:Rs(x.Object({forwardSeekRestricted:x.Boolean()}))})],{$id:"BlockAudio"}),Ya=x.Composite([ds("embed",gf),x.Object({settings:Rs(x.Object({showBorder:x.Boolean(),mediaWidth:os}))})],{$id:"BlockEmbed"}),ea=x.Composite([ds("video",af),x.Object({settings:Rs(x.Object({forwardSeekRestricted:x.Boolean(),mediaWidth:os,mediaCornerRadius:ls,showTranscript:x.Boolean()}))})],{$id:"BlockVideo"}),Ou=x.Composite([lo,x.Object({type:x.Literal("multimedia"),family:x.Literal("multimedia"),variant:x.Literal("custom video"),items:x.Array(af,{minItems:1}),settings:Rs(x.Object({forwardSeekRestricted:x.Boolean(),mediaWidth:os,mediaCornerRadius:ls,showTranscript:x.Boolean()}))})],{$id:"BlockCustomVideo"}),ou=x.Composite([ds("ai_avatar",vf),x.Object({metadata:x.Optional(x.Partial(x.Object({characterId:x.String(),imageEditPrompt:x.String(),generationError:x.Boolean()})))})],{$id:"BlockAIAvatar"}),co=x.Composite([ds("step",kf),x.Object({settings:Rs(x.Object({headingLevel:sc,zoomOnClick:x.Boolean(),audioPosition:Ju}))})],{$id:"BlockStep"}),ro=fa(["variant"],[Us,Ss,Ya,ea,Ou,ou,co],"BlockMultimedia"),jo=x.Composite([lo,x.Object({type:x.Literal("html"),family:x.Literal("html"),settings:Rs(x.Object({autoResize:x.Boolean(),hasCustomCompletion:x.Boolean(),height:x.Number(),width:os})),items:x.Tuple([cn])})]);function zc(I){return x.Composite([jo,x.Object({variant:x.Literal(I)})])}const ld=fa(["variant"],[zc("inline"),zc("cdn")],"BlockHTML"),nn=x.Object({type:x.Literal("image"),settings:Rs(x.Object({opacity:bu(),opacityColor:x.String(),zoomOnClick:x.Boolean(),imagePosition:x.Union([x.Literal("left"),x.Literal("right")]),imageSize:x.Union([x.Literal("small"),x.Literal("medium"),x.Literal("large")]),mediaCornerRadius:ls}))});function Xo(I,B,Qe){return x.Composite([lo,nn,x.Object({family:x.Literal(I),variant:x.Literal(B)}),x.Object({items:x.Array(Qe)})])}const cd=fa(["family","variant"],[Xo("image","hero",gn),Xo("image","full",gn),Xo("image","text aside",ai),Xo("image","text overlay",gn),Xo("image","banner",gn),Xo("gallery","centered",gn),Xo("gallery","two column",gn),Xo("gallery","three column",gn),Xo("gallery","four column",gn)],"BlockImage"),dd=x.Union([x.Literal("freezeFirst"),x.Literal("freezeSecond")],{$id:"ColumnBehavior"}),Vl=x.Composite([lo,x.Object({type:x.Literal("knowledgeCheck"),family:x.Literal("knowledgeCheck")})]),lc=x.Object({columnBehavior:x.Optional(dd),correctAnswerColor:x.String(),correctAnswerColorContrast:et,hideRetryOnCorrectAnswer:x.Boolean(),incorrectAnswerColor:x.String(),incorrectAnswerColorContrast:et,knowledgeCheckWidth:x.Integer({minimum:0}),requireCorrectAnswer:x.Boolean(),retryCount:x.Integer(),revealCorrectAnswers:x.Boolean()}),$o=fa(["type","feedbackType"],[Hs,la,zi,br],"BlockItemKnowledgeCheckWithoutQuestionBank"),Ma=x.Composite([Vl,x.Object({variant:x.Literal("draw from question bank"),items:x.Tuple([Ta]),settings:Rs(lc)})],{$id:"BlockKnowledgeCheckQuestionBank"}),mo=x.Composite([Vl,x.Object({variant:x.Literal("fillin"),items:x.Tuple([$o]),settings:Rs(lc)})],{$id:"BlockKnowledgeCheckFillIn"}),ja=x.Composite([Vl,x.Object({variant:x.Literal("matching"),items:x.Tuple([$o]),settings:Rs(lc)})],{$id:"BlockKnowledgeCheckMatching"}),Po=x.Composite([Vl,x.Object({variant:x.Literal("multiple choice"),items:x.Tuple([$o]),settings:Rs(lc)})],{$id:"BlockKnowledgeCheckMultipleChoice"}),zo=x.Composite([Vl,x.Object({variant:x.Literal("multiple response"),items:x.Tuple([$o]),settings:Rs(lc)})],{$id:"BlockKnowledgeCheckMultipleResponse"}),vl=x.Composite([lo,x.Object({type:x.Literal("interactive"),family:x.Literal("knowledge"),variant:x.Literal("knowledge"),items:x.Tuple([$o]),settings:Rs(lc)})],{$id:"BlockKnowledge"}
994),Ol=fa(["type","family","variant"],[Ma,mo,ja,Po,zo,vl],"BlockKnowledgeCheck"),uf=x.Composite([Su,x.Object({family:x.Literal("interactive-fullscreen"),variant:x.Literal("labeledgraphic"),items:x.Array(Tc),media:ua(Au,"mediaRecord"),settings:Rs(x.Object({markerColor:x.String(),markerColorContrast:et,zoomOnClick:x.Boolean(),mediaWidth:x.Union([x.Literal("0"),x.Literal("1"),x.Literal("2")]),audioPosition:Ju}))})],{$id:"BlockLabeledGraphic"}),lf=x.Literal("list"),Bf=x.Literal("list");function sh(I){return x.Composite([lo,x.Object({type:lf,family:Bf,variant:x.Literal(I),items:x.Array(id),settings:Rs(x.Object({audioPosition:Ju,bulletPadding:x.Integer({minimum:0}),listItemColor:x.String(),listItemColorContrast:et,listWidth:x.Integer({minimum:0})})),media:x.Optional(ua(x.Partial(_l),"mediaRecord"))})])}const Mh=fa(["variant"],[sh("bulleted"),sh("checkboxes"),sh("numbered")],"BlockList"),ah=x.Composite([lo,x.Object({type:x.Literal("custom"),family:x.Literal("mondrian"),variant:x.Literal("mondrian"),items:x.Optional(x.Tuple([])),blockumentId:x.Optional(x.String()),settings:Rs(x.Object({contentWidth:bu()}))})],{$id:"BlockMondrian"});function kh(I){return x.Composite([x.Omit(lo,["settings"]),x.Partial(x.Pick(lo,["settings"])),x.Object({type:x.Literal(I),family:x.Literal(I),variant:x.Literal(I),items:x.Optional(x.Tuple([]))})])}const zd=x.Composite([kh("pending"),x.Object({pendingItemId:x.Optional(x.Union([x.String(),x.Number()]))})]),oh=kh("spacer"),yf=fa(["type","family","variant"],[zd,oh],"BlockPlaceholder"),uh=Rs(x.Object({headingLevel:sc,showStepLabel:x.Boolean(),stepLabel:Ga(),zoomOnClick:x.Boolean(),audioPosition:Ju})),bf=x.Composite([Su,x.Object({family:x.Literal("interactive-fullscreen"),variant:x.Literal("process"),items:x.Array(ao),settings:uh})],{$id:"BlockProcess"}),lh=x.Literal("quote"),Nh=x.Literal("quote");function $d(I){return x.Composite([lo,x.Object({type:lh,family:Nh,variant:x.Literal(I),items:x.Array(bo),settings:Rs(x.Object({audioPosition:Ju,avatar:x.Boolean(),avatarSize:x.Number({minimum:0}),divider:x.Boolean(),dividerSize:x.Integer({minimum:0}),quoteIcon:x.Boolean(),quotePadding:x.Integer({minimum:0}),quoteWidth:x.Integer({minimum:0}),quotesInline:x.Boolean(),showBorder:x.Boolean(),quoteAlignment:x.Union([x.Literal("left"),x.Literal("center"),x.Literal("right")])}))})])}const ch=fa(["variant"],[$d("a"),$d("b"),$d("background"),$d("c"),$d("carousel"),$d("d")],"BlockQuote"),dh=x.Composite([Su,x.Object({family:x.Literal("interactive-fullscreen"),variant:x.Literal("scenario"),items:x.Array(Fu),settings:Rs(x.Object({headingLevel:sc}))})],{$id:"BlockScenario"}),fh=x.Composite([Su,x.Object({family:x.Literal("interactive-fullscreen"),variant:x.Literal("sorting"),items:x.Array(Bu),piles:x.Array(x.Object({id:x.Union([x.String(),x.Number()]),title:Ga()}))})],{$id:"BlockSorting"});function Hd(I){return x.Composite([lo,x.Object({type:x.Literal("text"),family:x.Literal("impact"),variant:x.Literal(I),items:x.Array(ml),media:x.Optional(ua(x.Partial(x.Composite([_l])),"mediaRecord")),settings:Rs(x.Object({audioPosition:Ju,divider:x.Boolean(),dividerPadding:x.Number({minimum:0}),dividerSize:x.Number({minimum:0}),noteColor:x.String(),noteColorContrast:et,noteIcon:x.Boolean(),noteIconColor:x.String(),noteSize:x.Union([x.Literal("sm"),x.Literal("med"),x.Literal("lg")]),statementWidth:x.Integer({minimum:0})}))})])}const hh=fa(["variant"],[Hd("a"),Hd("b"),Hd("c"),Hd("d"),Hd("note")],"BlockStatement"),$c=x.Composite([lo,x.Object({type:x.Literal("interactive"),family:x.Literal("360"),variant:x.Literal("storyline"),items:x.Tuple([Zu]),settings:Rs(x.Object({mediaWidth:x.Union([x.Literal("0"),x.Literal("1"),x.Literal("2")]),mediaCornerRadius:ls}))})],{$id:"BlockStoryline"}),ph=x.Composite([lo,x.Object({title:Xs(0),type:x.Literal("interactive"),family:x.Literal("survey"),variant:x.Literal("survey"),items:x.Array(ih)})],{$id:"BlockSurvey"}),mh=x.Composite([Su,x.Object({family:x.Literal("interactive"),variant:x.Literal("tabs"),items:x.Array(ad),settings:Rs(x.Object({zoomOnClick:x.Boolean(),audioPosition:Ju}))})],{$id:"BlockTabs"}),dp=x.Object({type:x.Literal("text"),family:x.Literal("text"),media:x.Optional(ua(x.Partial(_l),"mediaRecord"))});function Td(I,B,Qe){return x.Composite([lo,dp,x.Object({variant:x.Literal(I),items:x.Array(Qe),settings:Rs(x.Composite([x.Object({audioPosition:Ju,cellPadding:x.Number({minimum:0}),textPadding:x.Number({minimum:0})}),x.Object({[B]:x.Integer({minimum:0})})]))})])}function Sf(I){return x.Composite([Td(I,"textWidth",gl),x.Object({settings:Rs(x.Object({audioPosition:Ju,images:x.Boolean(),zoomOnClick:x.Boolean()}))})])}const xf=fa(["variant"],[Td("paragraph","textWidth",gl),Td("heading","textWidth",od),Td("subheading","textWidth",od),Td("heading paragraph","textWidth",qu),Td("subheading paragraph","textWidth",qu),Td("table","tableWidth",gl),Sf("two column"),Sf("three column"),Sf("four column"),Qi("text"),Zr("text")],"BlockText"),Fh=x.Composite([lo,x.Object({type:x.Literal("textToVideo"),family:x.Literal("textToVideo"),variant:x.Literal("textToVideo"),items:x.Array(Se)})],{$id:"BlockTextToVideo",deprecated:!0}),gh=x.Composite([Su,x.Object({family:x.Literal("interactive-fullscreen"),variant:x.Literal("timeline"),items:x.Array(ud),settings:Rs(x.Object({headingLevel:sc,zoomOnClick:x.Boolean(),audioPosition:Ju}))})],{$id:"BlockTimeline"}
994),vh=fa(["type","family","variant"],[ke,Ve,Nr,Vt,le,Sr,_n,Di,ns,ld,yn,cd,Ol,uf,Mh,ah,ro,ph,bf,ch,dh,fh,yf,hh,$c,mh,Fh,xf,gh],"Block"),fp=fa(["type","family","variant"],[ke,Vt,Nr,yn,uf,bf,dh,fh,$c,mh,gh],"BlockInteractive"),yh=x.Optional(x.Record(x.String(),x.Unknown())),Uf=x.Array(x.Union([x.String(),x.Integer(),x.Record(x.String(),x.Union([x.String(),x.Number()]))]),{$id:"ChangePath"}),Bh=x.Object({type:x.Literal("update"),oldValue:x.Unknown(),newValue:x.Unknown()},{$id:"UpdateCommand"}),Ef=x.Object({type:x.Literal("add"),newValue:x.Unknown(),meta:yh},{$id:"AddCommand"}),Il=x.Object({type:x.Literal("delete"),oldValue:x.Unknown()},{$id:"DeleteCommand"}),Uh=x.Object({type:x.Literal("move"),from:Uf},{$id:"MoveCommand"}),Wd=x.Object({type:x.Literal("append"),newValue:x.Unknown()},{$id:"AppendCommand"}),bh=x.Union([Bh,Ef,Il,Uh,Wd],{$id:"Command"}),jh=x.Object({id:x.String(),path:Uf,proposedAt:x.String(),proposedBy:x.String(),source:x.Optional(x.Union([x.String(),x.Null()])),locale:x.Optional(x.Union([x.String(),x.Null()])),command:bh},{$id:"Change"}),cf=x.Array(jh,{$id:"Changeset",minItems:1}),zh=x.Union([x.Literal("ACCENT"),x.Literal("CENTERED"),x.Literal("CENTERED_ACCENT_TINT"),x.Literal("CENTERED_OVERLAY"),x.Literal("CENTERED_IMAGE"),x.Literal("IMAGE"),x.Literal("LEFT"),x.Literal("LEFT_OVERLAY"),x.Literal("SPLIT_LEFT"),x.Literal("SPLIT_LEFT_IMAGE"),x.Literal("SPLIT_RIGHT"),x.Literal("SPLIT_RIGHT_IMAGE"),x.Literal("TWO_THIRDS_LEFT_IMAGE"),x.Literal("TWO_THIRDS_RIGHT_IMAGE"),x.Literal("WHITE"),x.Literal("VIDEO")],{$id:"CoverPageLayout"}),hp=x.Union([x.Literal("LARGE"),x.Literal("MEDIUM"),x.Literal("SMALL")],{$id:"LessonHeaderSize"}),jf=x.Union([x.Literal("CONTINOUS"),x.Literal("STEPPED")],{$id:"BlockNavigation"}),pp=x.Union([x.Literal("COMPACT"),x.Literal("OVERLAY"),x.Literal("SIDEBAR")],{$id:"Navigation"}),$h=x.Union([x.Literal("ACCENT"),x.Literal("DARK"),x.Literal("DARK_ACCENT"),x.Literal("DARK_IMAGE"),x.Literal("GRAY"),x.Literal("IMAGE"),x.Literal("LIGHT"),x.Literal("LIGHT_ACCENT"),x.Literal("LIGHT_IMAGE"),x.Literal("TINT")],{$id:"NavigationStyle"}),Hh=x.Union([x.Literal("THEME_DEFAULT"),x.Literal("CIRCULAR_FILL"),x.Literal("INCOMPLETE_COMPLETE")],{$id:"ProgressIndicatorStyle"}),Wh=x.Union([x.Literal("ACCENT"),x.Literal("DARK"),x.Literal("LIGHT"),x.Literal("TINT")],{$id:"ButtonScheme"}),Vd=x.Union([x.Literal("FULL"),x.Literal("FLOATING"),x.Literal("FLOATING_FULL")],{$id:"ButtonNavigationStyle"}),mp=x.Union([x.Literal("ROUNDED"),x.Literal("SQUARED")],{$id:"ButtonInlineStyle"}),Vh=x.Union([x.Literal("ROUNDED"),x.Literal("SQUARED")],{$id:"BlockCorners"}),Gh=x.Union([x.Literal("ACCENT"),x.Literal("BLACK"),x.Literal("COLOR"),x.Literal("DARK"),x.Literal("GRAY"),x.Literal("IMAGE"),x.Literal("LIGHT"),x.Literal("TINT")],{$id:"LessonHeaderStyle"}),gp=x.Union([x.Literal("ACCENT"),x.Literal("DARK"),x.Literal("LIGHT")],{$id:"LessonHeaderImageColor"}),Tf=x.Union([x.Literal("ACCENT"),x.Literal("DARK"),x.Literal("LIGHT")],{$id:"CoverImageColor"}),Yh=x.Object({themeId:x.String(),accentContrast:wn(et),allowSearch:x.Boolean(),animateBlockEntrance:x.Boolean(),blockCorners:Vh,blockNavigationType:wn(jf),blockPaddingBottom:x.Integer({minimum:0,deprecated:!0}),blockPaddingTop:x.Integer({minimum:0,deprecated:!0}),blockBackgroundColor:wn(x.String()),blockBackgroundColorContrast:wn(et),blockBackgroundType:wn(Cu),blockContinueCompleteHint:wn(x.String()),blockContinueCompletionType:wn(x.String()),blockContinueLabel:wn(x.String()),blockPaddingEnd:wn(x.Number({minimum:0})),blockPaddingStart:wn(x.Number({minimum:0})),blockTextBackgroundColor:wn(x.String()),blockTextBackgroundColorContrast:wn(et),blockTextBackgroundType:wn(Cu),blockTextBodyFontSize:wn(x.Number({minimum:1})),blockTextHeadingFontSize:wn(x.Number({minimum:1})),blockTextPaddingEnd:wn(x.Number({minimum:0})),blockTextPaddingStart:wn(x.Number({minimum:0})),blockTextSubheadingFontSize:wn(x.Number({minimum:1})),buttonInlineStyle:mp,buttonNavigationStyle:Vd,buttonScheme:Wh,colorAccent:x.String(),compactShowLessonCount:x.Boolean(),coverImage:x.String(),coverImageAlpha:x.Integer({minimum:0,maximum:100}),coverImageColor:wn(Tf),coverImageDefault:wn(x.String()),coverPageType:zh,customColorLessonHeaderContrast:wn(et),enableVideoPlaybackSpeed:wn(x.Boolean()),hideCoverPage:wn(x.Boolean()),hideLessonHeaders:wn(x.Boolean()),lessonHeaderColor:wn(x.String()),lessonHeaderImage:x.String(),lessonHeaderImageAlpha:x.Number({minimum:0,maximum:1}),lessonHeaderImageColor:gp,lessonHeaderSize:hp,lessonHeaderStyle:Gh,markLessonsComplete:wn(x.Boolean()),navigation:x.Boolean(),navigationRestricted:x.Boolean(),navigationSectionsExpanded:wn(x.Boolean()),navigationStyle:$h,navigationType:pp,progressIndicatorStyle:wn(Hh),showAuthor:x.Boolean(),showLessonCount:x.Boolean(),showNavigationButtons:x.Boolean(),showStartButton:wn(x.Boolean()),sidebarStartsOpen:x.Boolean(),bodyTypefaceId:wn(x.String()),headingTypefaceId:wn(x.String()),uiTypefaceId:wn(x.String()),colors:wn(x.Array(x.String(),{minItems:6,maxItems:6}))},{$id:"CourseTheme"}
994),wd=x.Object({id:x.Union([x.String(),x.Number()]),originalId:wn(x.String()),author:wn(x.String()),selectedAuthorId:x.String(),color:x.String(),title:Ga(0),isShareDisabled:wn(x.Boolean()),sharePassword:x.String(),description:Xs(1),copyOf:wn(x.String()),order:x.String(),media:ua(ie,"mediaRecord"),lessons:x.Array(x.String()),jobs:x.Array(x.String()),labelSetId:x.String(),deleted:x.Boolean(),createdAt:Tl(),updatedAt:Tl(),markComplete:x.Boolean(),isDefault:x.Boolean(),ready:x.Boolean(),reviewId:x.String(),exportSettings:x.Record(x.String(),x.Any()),headingTypefaceId:wn(x.String()),bodyTypefaceId:wn(x.String()),uiTypefaceId:wn(x.String()),otherTypefaceIds:wn(x.Array(x.String())),tenantId:wn(x.String()),showLessonCount:x.Boolean(),showNavigationButtons:x.Boolean(),allowSearch:x.Boolean(),animateBlockEntrance:x.Boolean(),transferredAt:wn(Tl()),allowCopy:x.Boolean(),enableVideoPlaybackSpeed:x.Boolean(),jobType:wn(x.String()),partnerContentId:wn(x.String()),theme:wn(Yh),type:wn(x.Literal("onePage")),features:x.Record(x.String(),x.Boolean()),mondrian:wn(x.Unknown()),locale:wn(x.Union([x.String(),x.Null()])),sourceCourseLocaleId:x.Optional(x.Union([x.String(),x.Number(),x.Null()])),experiments:x.Optional(x.Union([x.Record(x.String(),x.Unknown()),x.Null()])),navigationMode:x.Union([x.Literal("restricted"),x.Literal("free")]),fonts:x.Optional(x.Object({ui:x.Record(x.Literal("font"),x.String()),body:x.Record(x.Literal("font"),x.String()),headings:x.Record(x.Literal("font"),x.String())})),coverImage:x.Optional(x.Partial(x.Object({alpha:wn(x.Integer({minimum:0,maximum:100})),displaySidebar:x.Boolean(),media:ua(Au,"mediaRecord",0)}))),sidebarMode:x.Union([x.Literal("closed"),x.Literal("open"),x.Literal("hidden")]),cardImage:x.Optional(x.Partial(x.Object({media:Au}))),blockBackgroundImage:x.Optional(x.Partial(x.Object({media:ua(x.Partial(Au),"mediaRecord")}))),lessonHeaderImage:x.Optional(x.Partial(x.Object({alpha:wn(x.Number({minimum:0,maximum:1})),media:ua(x.Partial(Au),"mediaRecord",0),overlayColor:x.Optional(x.Union([x.Literal("LIGHT"),x.Literal("DARK"),x.Literal("ACCENT")]))}))),overlayNavigationImage:wn(x.Object({alpha:wn(x.Number({minimum:0,maximum:1})),media:ua(Au,"mediaRecord")},{deprecated:!0})),lmsOptions:x.Optional(x.Object({enableExitCourse:x.Boolean(),disableCoverPage:
994x.Boolean()})),settings:x.Optional(Rs(x.Object({startWithAI:x.Boolean(),isAIConceptToCourse:x.Boolean(),aiTutorEnabled:x.Boolean()}))),defaultLocaleId:wn(x.String()),metadata:x.Optional(x.Partial(x.Object({createdVia:x.String()})))},{$id:"Course"}),a0=x.Object({default:x.Boolean(),id:x.Union([x.String(),x.Number()]),key:x.String(),name:x.String(),style:x.String(),weight:x.String()},{$id:"Font"}),Sh=x.Object({a11yAnswerLive:x.String(),a11yAuthorPrefix:x.String(),a11yBlockChartAxisX:x.String(),a11yBlockChartAxisY:x.String(),a11yBlockChartBar:x.String(),a11yBlockChartInstructions:x.String(),a11yBlockChartLine:x.String(),a11yBlockChartPie:x.String(),a11yBlockChartPreposition:x.String(),a11yBlockCode:x.String(),a11yBlockCodeSnippet:x.String(),a11yBlockEmbed:x.String(),a11yBlockFlashcardBack:x.String(),a11yBlockFlashcardFront:x.String(),a11yBlockFlashcardGrid:x.String(),a11yBlockFlashcardStack:x.String(),a11yBlockFlashcardStackRoleDescription:x.String(),a11yBlockFlashcardStackSlideControls:x.String(),a11yBlockFlashcardStackSlideControlsGoToNext:x.String(),a11yBlockFlashcardStackSlideControlsGoToPrevious:x.String(),a11yBlockFlashcardStackSlideControlsGoToSlide:x.String(),a11yBlockFlashcardStackSlidePreposition:x.String(),a11yBlockFlashcardStackSlideRoleDescription:x.String(),a11yBlockImageCarousel:x.String(),a11yBlockImageCarouselRoleDescription:x.String(),a11yBlockImageCarouselSlideControls:x.String(),a11yBlockImageCarouselSlideControlsGoToNext:x.String(),a11yBlockImageCarouselSlideControlsGoToPrevious:x.String(),a11yBlockImageCarouselSlideControlsGoToSlide:x.String(),a11yBlockImageCarouselSlidePreposition:x.String(),a11yBlockImageCarouselSlideRoleDescription:x.String(),a11yBlockKnowledgeCheck:x.String(),a11yBlockKnowledgeCheckFIB:x.String(),a11yBlockKnowledgeCheckM:x.String(),a11yBlockKnowledgeCheckMC:x.String(),a11yBlockKnowledgeCheckMR:x.String(),a11yBlockQuoteCarousel:x.String(),a11yBlockQuoteCarouselRoleDescription:x.String(),a11yBlockQuoteCarouselSlideControls:x.String(),a11yBlockQuoteCarouselSlideControlsGoToNext:x.String(),a11yBlockQuoteCarouselSlideControlsGoToPrevious:x.String(),a11yBlockQuoteCarouselSlideControlsGoToSlide:x.String(),a11yBlockQuoteCarouselSlidePreposition:x.String(),a11yBlockQuoteCarouselSlideRoleDescription:x.String(),a11yBlockProcessCarousel:x.String(),a11yBlockProcessRoleDescription:x.String(),a11yBlockProcessSlideControls:x.String(),a11yBlockProcessSlideControlsGoToNext:x.String(),a11yBlockProcessSlideControlsGoToPrevious:x.String(),a11yBlockProcessSlideControlsGoToSlide:x.String(),a11yBlockProcessSlideControlsIntroduction:x.String(),a11yBlockProcessSlideControlsSummary:x.String(),a11yBlockProcessSlidePreposition:x.String(),a11yBlockProcessSlideRoleDescription:x.String(),a11yBlockStoryline:x.String(),a11yBlockTimeline:x.String(),a11yCarouselNext:x.String(),a11yCarouselPrevious:x.String(),a11yCertificateDownloadFailed:x.String(),a11yCorrectLive:x.String(),a11yCoverCourseCompleted:x.String(),a11yCoverCourseLength:x.String(),a11yCoverRequirementComplete:x.String(),a11yCoverRequirementFailed:x.String(),a11yCoverRequirementIncomplete:x.String(),a11yExcelIcon:x.String(),a11yFileIcon:x.String(),a11yGroupAudioPlayer:x.String(),a11yGroupScenario:x.String(),a11yGroupVideoPlayer:x.String(),a11yLabeledGraphicBlock:x.String(),a11yLabeledGraphicButtonMarker:x.String(),a11yLabeledGraphicIconArrowDown:x.String(),a11yLabeledGraphicIconArrowDownLeft:x.String(),a11yLabeledGraphicIconArrowDownRight:x.String(),a11yLabeledGraphicIconArrowLeft:x.String(),a11yLabeledGraphicIconArrowRight:x.String(),a11yLabeledGraphicIconArrowUp:x.String(),a11yLabeledGraphicIconArrowUpLeft:x.String(),a11yLabeledGraphicIconArrowUpRight:x.String(),a11yLabeledGraphicIconCheck:x.String(),a11yLabeledGraphicIconDot:x.String(),a11yLabeledGraphicIconHeart:x.String(),a11yLabeledGraphicIconInformation:x.String(),a11yLabeledGraphicIconPin:x.String(),a11yLabeledGraphicIconPlus:x.String(),a11yLabeledGraphicIconQuestion:x.String(),a11yLabeledGraphicIconX:x.String(),a11yLabeledGraphicUnviewed:x.String(),a11yLabeledGraphicViewed:x.String(),a11yMatchingColumn1:x.String(),a11yMatchingColumn2:x.String(),a11yMatchingItemMatchWith:x.String(),a11yMatchingItemMatchedWith:x.String(),a11yMatchingItemPrompt:x.Optional(x.String()),a11yMatchingItemSelectableItem:x.String(),a11yMatchingItemShowLess:x.String(),a11yMatchingItemShowMore:x.String(),a11yMediaCaptions:x.String(),a11yMediaCaptionsOff:x.String(),a11yMediaCurrentTime:x.String(),a11yMediaDuration:x.String(),a11yMediaExitFullscreen:x.String(),a11yMediaExitPictureInPicture:x.String(),a11yMediaFullscreen:x.String(),a11yMediaMute:x.String(),a11yMediaPause:x.String(),a11yMediaPictureInPicture:x.String(),a11yMediaPlay:x.String(),a11yMediaPlayVideo:x.String(),a11yMediaPlaybackRate:x.String(),a11yMediaRemainingTime:x.String(),a11yMediaSeek:x.String(),a11yMediaSeekDisabled:x.String(),a11yMediaUnmute:x.String(),a11yMediaVolume:x.String(),a11yNavigationMenuClose:x.String(),a11yNavigationMenuOpen:x.String(),a11yNoticeLinkNewTab:x.String(),a11yPageMarker:x.String(),a11yPDFIcon:x.String(),a11yPPTIcon:x.String(),a11yProgressSummaryRequirementCompleted:x.String(),a11yProgressSummaryRequirementNotCompleted:x.String(),a11yQuizFailed:x.String(),a11yQuizFeedback:x.String(),a11yQuizPassed:x.String(),a11yQuizReviewCorrectlyChecked:x.String(),a11yQuizReviewCorrectlySelected:x.String(),a11yQuizReviewCorrectlyUnchecked:x.String(),a11yQuizReviewCorrectlyUnselected:x.String(),a11yQuizReviewIncorrectlyChecked:x.String(),a11yQuizReviewIncorrectlySelected:x.String(),a11yQuizReviewIncorrectlyUnchecked:x.String(),a11yQuizReviewIncorrectlyUnselected:x.String(),a11yReg
994ionMainLesson:x.String(),a11yRegionMainOverview:x.String(),a11yRegionNavLesson:x.String(),a11yRegionNavOverview:x.String(),a11yRestrictedNav:x.String(),a11yRTFIcon:x.String(),a11ySearchClose:x.String(),a11ySearchInput:x.String(),a11ySearchOpen:x.String(),a11yStatusAdditionalContent:x.String(),a11yStatusContinued:x.String(),a11yUnzoomImage:x.String(),a11yWordIcon:x.String(),a11yZipIcon:x.String(),a11yZoomImage:x.String(),audioShowTranscript:x.String(),audioHideTranscript:x.String(),audioTranscript:x.String(),audioNoTranscriptAvailable:x.String(),audioPlaySpeed:x.String(),audioExpandPlayer:x.String(),audioCollapsePlayer:x.String(),blocksClickToFlip:x.String(),blocksPreposition:x.String(),certificateDownload:x.String(),certificateDownloadInProgress:x.String(),certificateRetryDownload:x.String(),courseCompletionOverdue:x.String(),courseExit:x.String(),courseFinish:x.String(),courseHome:x.String(),courseResume:x.String(),courseSkipToLesson:x.String(),courseStart:x.String(),coverCompleteAllLessons:x.String(),coverCompleted:x.String(),coverCompleteLessonsName:x.String(),coverCompleteLessonsPreposition:x.String(),coverCompleteLessonsInCourse:x.String(),coverCourseRequirements:x.String(),coverHour:x.String(),coverHours:x.String(),coverLesson:x.String(),coverLessons:x.String(),coverMinute:x.String(),coverMinutes:x.String(),coverNoAttemptsRemaining:x.String(),coverPublished:x.String(),coverQuizScoreOf:x.String(),coverQuizPercentOrHigher:x.String(),curtainLoading:x.String(),curtainOffline:x.String(),curtainOfflineReconnecting:x.String(),curtainSessionTimedOut:x.String(),curtainSessionTimedOutRefresh:x.String(),curtainSessionTimedOutRestart:x.String(),curtainSomethingWrong:x.String(),curtainSomethingWrongRefresh:x.String(),curtainSomethingWrongTryAgain:x.String(),embedLinkGroup:x.String(),embedPlayerGroup:x.String(),embedReadMore:x.String(),embedViewOn:x.String(),exitMessage:x.String(),knowledgeCheckCorrectAnswerRequiredBlock:x.String(),knowledgeCheckCorrectAnswerRequiredNav:x.String(),knowledgeCheckMaxRetriesReached:x.String(),knowledgeCheckRetriesAttemptsRemaining:x.String(),labeledGraphicMarkerLabel:x.String(),lessonComplete:x.String(),lessonName:x.String(),lessonPreposition:x.String(),lessonRestricted:x.String(),noResults:x.String(),numberedDividerGroup:x.String(),overviewPageTitleSuffix:x.String(),pauseButtonLabel:x.String(),playButtonLabel:x.String(),processComplete:x.String(),processLandmark:x.String(),processLessonName:x.String(),processNextStep:x.String(),processStart:x.String(),processStartAgain:x.String(),processStepName:x.String(),processStepPreposition:x.String(),processSwipe:x.String(),progressPieClickToComplete:x.String(),progressPieClickToReset:x.String(),progressPieCompleted:x.String(),progressPieQuizFailed:x.String(),progressPieUnstarted:x.String(),progressSummary:x.String(),progressSummaryBackToLearning:x.String(),progressSummaryCompleted:x.String(),progressSummaryCongratulations:x.String(),progressSummaryNextUp:x.String(),progressSummaryNoTitle:x.String(),progressSummaryPercentComplete:x.String(),progressSummaryRequirementsMet:x.String(),progressSummaryStartOver:x.String(),quizAcceptableResponses:x.String(),quizAnswerPlaceholder:x.String(),quizContinue:x.String(),quizCorrect:x.String(),quizIncorrect:x.String(),quizNext:x.String(),quizPassing:x.String(),quizQuestion:x.String(),quizRequireAnswer:x.String(),quizRequirePassingScore:x.String(),quizRestart:x.String(),quizResults:x.String(),quizScore:x.String(),quizStart:x.String(),quizSubmit:x.String(),quizTakeAgain:x.String(),quizTimerElapsed:x.String(),quizTimerExpired:x.String(),quizTimerExpiredAction:x.String(),quizTimerExpiredMessage:x.String(),quizTimerHide:x.String(),quizTimerLimit:x.String(),quizTimerMinute:x.String(),quizTimerMinutePlural:x.String(),quizTimerRemaining:x.String(),quizTimerShow:x.String(),result:x.String(),results:x.String(),salutation:x.String(),scenarioComplete:x.String(),scenarioContinue:x.String(),scenarioStartOver:x.String(),scenarioTryAgain:x.String(),search:x.String(),seekSliderLabel:x.String(),sortingCardsCorrect:x.String(),sortingLandmark:x.String(),sortingReplay:x.String()},{$id:"Labels"}),Kh=x.Object({author:x.Optional(x.String()),createdAt:x.String(),defaultId:x.Optional(x.Number()),defaultSet:x.Boolean(),deleted:x.Boolean(),id:x.String(),iso639Co
994de:x.String(),labels:Sh,name:x.String(),transferredAt:x.Optional(x.String()),updatedAt:x.String()},{$id:"LabelSet"}),zf=Rs(x.Object({isGeneratingAIContent:x.Boolean(),isRequiredForCompletion:wn(x.Boolean())},{$id:"LessonBaseSettings"})),Gd=x.Object({author:x.String(),courseId:x.String(),createdAt:Tl(),deleted:x.Boolean(),description:Xs(1),id:x.Union([x.String(),x.Number()]),media:ie,piles:x.Array(x.Any()),ready:x.Boolean(),title:Ga(0),updatedAt:Tl(),duplicatedFromId:wn(x.String()),headerImage:wn(iu),icon:wn(x.Union([x.Literal("Article"),x.Literal("Interaction"),x.Literal("Quiz"),x.Literal("Video")])),isPartnerContentAuthor:wn(x.Boolean()),lastUpdatedBy:wn(x.String()),originalId:wn(x.String()),position:wn(x.Integer()),selectedAuthorId:wn(x.String()),transferredAt:wn(Tl()),sourceLessonLocaleId:wn(x.Union([x.String(),x.Number(),x.Null()])),settings:wn(zf),metadata:x.Optional(x.Partial(x.Object({createdVia:x.String()})))},{$id:"LessonBase"}),$f=x.Composite([Gd,x.Object({type:x.Literal("blocks"),items:x.Array(vh)})],{$id:"LessonBlocks"});function Hc(I){return x.Composite([Gd,x.Object({type:x.Literal(I),items:x.Array(x.Object({id:x.Union([x.String(),x.Number()])}))})])}const Hf=x.Union([Hc("map"),Hc("process"),Hc("timeline"),Hc("sorting"),Hc("screencast"),Hc("slidecast"),Hc("video"),Hc("embed")],{$id:"LegacyLesson"}),df=x.Object({id:x.Union([x.String(),x.Number()]),title:x.Optional(Xs(1))},{$id:"QuizItemAnswerRich"}),xh=x.Object({id:x.Union([x.String(),x.Number()]),title:x.Optional(Ga(1))},{$id:"QuizItemAnswerPlain"}),ff=x.Object({},{$id:"QuizItemSettings"}),wf=x.Union([x.Literal("ANY"),x.Literal("CORRECT_INCORRECT"),x.Literal("CHOICE")],{$id:"QuizItemFeedbackType"}),_f=x.Object({id:x.Union([x.String(),x.Number()]),title:Xs(0),media:x.Optional(ua(ie,"mediaRecord")),settings:x.Optional(ff),metadata:x.Optional(x.Partial(x.Object({createdVia:x.String()})))},{$id:"QuizItemBase"});function _d(I,B){const Qe=I?df:xh;let fr;switch(B){case"ANY":fr=x.Object({feedbackType:x.Optional(x.Union([x.Literal(B),x.Literal("")])),feedback:x.Optional(Xs(3)),answers:x.Array(Qe)});break;case"CORRECT_INCORRECT":fr=x.Object({feedbackType:x.Literal(B),feedbackCorrect:x.Optional(Xs(3)),feedbackIncorrect:x.Optional(Xs(4)),answers:x.Array(Qe)});break;case"CHOICE":fr=x.Object({feedbackType:x.Literal(B),answers:x.Array(x.Composite([Qe,x.Object({feedback:x.Optional(Xs(2))})]))});break}return x.Composite([_f,fr])}const Eh=x.Object({type:x.Literal("FILL_IN_THE_BLANK"),settings:x.Optional(x.Object({isCaseSensitive:x.Optional(x.Boolean())}))}),Cf=x.Union([x.Composite([Eh,_d(!1,"ANY")]),x.Composite([Eh,_d(!1,"CORRECT_INCORRECT")])],{$id:"QuizItemFillin"}),Af=x.Object({type:x.Literal("MATCHING"),settings:x.Optional(x.Object({columnBehavior:x.Optional(dd)}))});function Xh(I){return x.Composite([x.Omit(_d(!1,I),["answers"]),x.Object({answers:x.Array(x.Composite([xh,x.Object({matchTitle:x.Optional(Ga(1))})]))})])}const Th=x.Union([x.Composite([Af,Xh("ANY")]),x.Composite([Af,Xh("CORRECT_INCORRECT")])],{$id:"QuizItemMatching"}),wh=x.Object({type:x.Optional(x.Literal("MULTIPLE_CHOICE")),correct:x.Optional(x.Index(df,["id"])),corrects:x.Optional(x.Array(x.Index(df,["id"])))}),Wf=x.Union([x.Composite([wh,_d(!0,"ANY")]),x.Composite([wh,_d(!0,"CORRECT_INCORRECT")]),x.Composite([wh,_d(!0,"CHOICE")])],{$id:"QuizItemMultipleChoice"}),Of=x.Object({type:x.Literal("MULTIPLE_RESPONSE"),corrects:x.Optional(x.Array(x.Index(df,["id"])))}),Vf=x.Union([x.Composite([Of,_d(!0,"ANY")]),x.Composite([Of,_d(!0,"CORRECT_INCORRECT")])],{$id:"QuizItemMultipleResponse"}),_h=x.Composite([x.Pick(_f,["id","metadata"]),x.Object({title:x.Optional(x.String()),type:x.Literal("DRAW_FROM_QUESTION_BANK"),questionBankId:x.String(),questionBankTitle:x.Optional(x.String()),questionBankUpdatedAt:x.Optional(x.String()),drawCount:x.Optional(x.Number()),questions:x.Array(fa(["type","feedbackType"],[Cf,Vf,Wf,Th]))})],{$id:"QuizItemQuestionBank"}),vp=fa(["type","feedbackType"],[Cf,Vf,Wf,_h,Th],"QuizItem"),o0=x.Composite([zf,x.Object({asLesson:wn(x.Boolean()),continueType:wn(x.Union([x.Literal(""),x.Literal("continue")])),correctAnswerColor:wn(x.String()),correctAnswerColorContrast:wn(et),incorrectAnswerColor:wn(x.String()),incorrectAnswerColorContrast:wn(et),passingScore:wn(bu()),passToContinue:wn(x.Boolean()),randomizeQuestionOrder:wn(x.Boolean()),retryCount:wn(bu()),revealAnswers:wn(x.Union([x.Literal(!0),x.Literal("all"),x.Literal("none"),x.Literal("incorrect")])),shuffleAnswerChoices:wn(x.Boolean()),skipLessonsIfPassed:wn(x.Boolean()),skipToLessonId:wn(x.String()),timer:wn(x.Boolean()),timerDisplay:wn(x.Union([x.Literal("SUMMARY"),x.Literal("REMAINING"),x.Literal("ELAPSED"),x.Literal("ELAPSED_TOTAL"),x.Literal("HIDE_TIMER")])),timerDuration:wn(bu())})],{$id:"LessonQuizSettings"}),Qh=x.Composite([Gd,x.Object({type:x.Literal("quiz"),items:x.Array(vp),settings:wn(o0)})],{$id:"LessonQuiz"}),Jh=x.Composite([Gd,x.Object({type:x.Literal("section"),items:x.Tuple([])})],{$id:"LessonSection"}),yp=x.Composite([Gd,x.Object({type:x.Null(),items:x.Tuple([])})],{$id:"LessonUntyped"}),Cc=fa(["type"],[$f,Jh,Qh,yp,Hf],"Lesson"),bp=x.Object({authorId:x.String(),deleted:x.Boolean(),folderId:x.Union([x.String(),x.Null()]),id:x.String(),lastEditedBy:x.String(),questions:x.Array(to),title:Ga(),updatedAt:x.String(),version:x.Literal(1)},{$id:"QuestionBank"}
994),u0=x.Object({id:x.String(),author:wn(x.String()),name:x.String(),createdAt:Tl(),default:x.Boolean(),deleted:x.Boolean(),fonts:x.Array(x.Object({id:x.String(),type:x.String(),style:x.String(),key:x.String(),original:wn(x.String())}))},{$id:"Typeface"})},8653(f,d,e){"use strict";e.d(d,{TJ:()=>M,re:()=>O,Ce:()=>V,v9:()=>vs});var n={};e.r(n),e.d(n,{JsonPatchError:()=>Xe,_areEquals:()=>Fr,applyOperation:()=>Xt,applyPatch:()=>jt,applyReducer:()=>Lt,deepClone:()=>Me,getValueByPointer:()=>mt,validate:()=>vr,validator:()=>Ht});var r={};e.r(r),e.d(r,{compare:()=>ir,generate:()=>Tr,observe:()=>Dr,unobserve:()=>Wr});var a=e(71402);function i(ge){return ge!=null&&typeof ge=="object"&&!s(ge)}function s(ge){return Array.isArray(ge)}function u(ge){if(!i(ge)||!("id"in ge))return!1;const je=typeof ge.id;return je==="string"||je==="number"}function l(ge,je){return je.some(bt=>u(bt)&&bt.id===ge)}class m extends Error{}function g(ge,je){return i(je)?Object.entries(ge).every(([bt,yt])=>je[bt]===yt):!1}function h(ge,je,bt){try{return{type:"accepted",result:v(ge,je,bt)}}catch(yt){if(yt instanceof b){const sr=ge.slice(0,ge.length-yt.path.length+1);return{type:"discarded",reason:`Could not resolve path "${JSON.stringify(sr)}"`}}if(yt instanceof m)return{type:"discarded",reason:yt.message};throw yt}}function v(ge,je,bt){const[yt,...sr]=ge;if(yt==null)return bt(je);if(typeof yt=="number"&&s(je)&&yt<je.length){const pr=v(sr,je[yt],bt);return[...je.slice(0,yt),pr,...je.slice(yt+1)]}if(typeof yt=="string"&&i(je)&&yt in je){const pr=v(sr,je[yt],bt);return{...je,[yt]:pr}}if(i(yt)&&s(je)){const pr=je.findIndex(hr=>g(yt,hr));if(pr!==-1){const hr=v(sr,je[pr],bt);return[...je.slice(0,pr),hr,...je.slice(pr+1)]}}throw new b(ge)}class b extends Error{path;constructor(je){super(),this.path=je}}function T(ge,je,bt){const yt=ge.slice(0,-1),sr=ge.at(-1);return sr==null?{type:"discarded",reason:"Path cannot be empty when adding an item"}:h(yt,bt,pr=>{if(s(pr)&&u(je.newValue)&&l(je.newValue.id,pr))throw new m(`Cannot append, id "${je.newValue.id}" already exists`);if(typeof sr=="number"&&s(pr)){const hr=Math.max(0,Math.min(pr.length,sr));return[...pr.slice(0,hr),je.newValue,...pr.slice(hr)]}if(typeof sr=="string"&&i(pr))return{...pr,[sr]:je.newValue};if(i(sr)&&s(pr)){const hr=pr.findIndex(Xn=>g(sr,Xn));if(hr!==-1)return[...pr.slice(0,hr),je.newValue,...pr.slice(hr)]}throw new m(`Could not resolve path "${JSON.stringify(ge)}"`)})}function E(ge,je,bt){return h(ge,bt,yt=>{if(!s(yt))throw new m("Can only append arrays");if(u(je.newValue)&&l(je.newValue.id,yt))throw new m(`Cannot append, id "${je.newValue.id}" already exists`);return[...yt,je.newValue]})}function w(ge,je,bt){const yt=ge.slice(0,-1),sr=ge.at(-1);return sr==null?{type:"discarded",reason:"Path cannot be empty when adding an item"}:h(yt,bt,pr=>{if(typeof sr=="number"&&s(pr)&&sr<pr.length)return[...pr.slice(0,sr),...pr.slice(sr+1)];if(typeof sr=="string"&&i(pr)&&sr in pr){const{[sr]:hr,...Xn}=pr;return Xn}if(i(sr)&&s(pr)){const hr=pr.findIndex(Xn=>g(sr,Xn));if(hr!==-1)return[...pr.slice(0,hr),...pr.slice(hr+1)]}throw new m(`Could not resolve path "${JSON.stringify(ge)}"`)})}function C(ge,je,bt){const yt=ge.slice(0,-1),sr=ge.at(-1),pr=je.from.at(-1);return sr==null||pr==null?{type:"discarded",reason:"Cannot move an empty path"}:a(yt,je.from.slice(0,-1))?typeof sr=="string"||typeof pr=="string"?{type:"discarded",reason:"Can only move array items"}:h(yt,bt,hr=>{if(!s(hr))throw new m("Can only move array items");const Xn=i(pr)?hr.findIndex(qn=>g(pr,qn)):pr;if(Xn===-1||Xn>=hr.length)throw new m(`Could not resolve path "${JSON.stringify(je.from)}"`);const Un=i(sr)?hr.findIndex(qn=>g(sr,qn)):sr;if(Un===-1)throw new m(`Could not resolve path "${JSON.stringify(ge)}"`);const Fi=Math.max(0,Math.min(hr.length,Un));if(Xn===Fi)throw new m(`Cannot move to the same target "${JSON.stringify(ge)}"`);const ti=hr.slice(),[Ai]=ti.splice(Xn,1);return ti.splice(Un,0,Ai),ti}):{type:"discarded",reason:"Cannot move array item outside of its array"}}function O(...ge){const[je,bt,yt,sr]=ge.length===4?ge:[[],...ge];return je.length>0?a(je,bt.slice(0,je.length))?O(bt.slice(je.length),yt,sr):{type:"discarded",reason:"Path does not begin with given prefix"}:h(bt,sr,()=>yt)}function U(ge,je,bt){return O(ge,je.newValue,bt)}function D(ge,je,bt){switch(je.type){case"add":return T(ge,je,bt);case"append":return E(ge,je,bt);case"delete":return w(ge,je,bt);case"move":return C(ge,je,bt);case"update":return U(ge,je,bt);default:return{type:"discarded",reason:`Command type "${je.type}" not supported`}}}const F=["allowCopy","author","bodyTypefaceId","createdAt","deleted","experiments","exportSettings","headingTypefaceId","id","jobs","labelSetId","originalId","partnerContentId","ready","reviewId","selectedAuthorId","sourceCourseLocaleId","tenantId","transferredAt","type","uiTypefaceId","updatedAt"],j=["author","courseId","createdAt","deleted","duplicatedFromId","id","lastUpdatedBy","originalId","ready","sourceLessonLocaleId","transferredAt","updatedAt"];function M(ge,je,bt){let yt=bt;const sr=new Array,pr=new Array;for(const hr of je){const[Xn]=hr.path;if(Xn==="course"){const[,ti]=hr.path,Ai=typeof ti=="string"&&F.find(qn=>qn===ti);if(typeof Ai=="string"){pr.push({change:hr,reason:`Forbidden course property "${Ai}"`});continue}}else if(Xn==="lessons"){const[,,ti]=hr.path,Ai=typeof ti=="string"&&j.find(qn=>qn===ti);if(typeof Ai=="string"){pr.push({change:hr,reason:`Forbidden lesson property "${Ai}"`});continue}}if(!a(ge,hr.path.slice(0,ge.length))){pr.push({change:hr,reason:"Path does not begin with given prefix"});continue}let Un=hr.command;if(hr.command.type==="move"){if(!a(ge,hr.command.from.slice(0,ge.length))){pr.push({change:hr,reason:"Cannot move outside of prefix"});continue}Un={...hr.command,from:hr.command.from.slice(ge.length)}}const Fi=D(hr.path.slice(ge.length),Un,yt);switch(Fi.type){case"accepted":yt=Fi.result,sr.push(hr);break;case"discarded":pr.push({change:hr,reason:Fi.reason});break}}return{result:yt,accepted:sr,discarded:pr}}function W(ge){return typeof ge=="object"?ge.id:void 0}function V(ge){const[je]=ge;if(je==="course")return{type:"course"};if(je==="lessons"){const[,bt,yt,sr]=ge,pr=W(bt);if(pr!=null){const hr=yt==="items"?W(sr):void 0,Xn=ge.findIndex(ti=>ti==="captions"),Un=ge.findIndex(ti=>ti==="answers"),Fi=Un!==-1?W(ge[Un+1]):void 0;if(Xn!==-1){const ti=W(ge[Xn+1]);if(ti!=null)return{type:"caption",lessonId:pr,itemId:hr,captionId:ti.toString()}}return{type:"lesson",lessonId:pr,itemId:hr,answerId:Fi}}}if(je==="l10n"&&ge[1]==="translations"){const bt=ge[2],yt=ge[3],sr=ge.findIndex(pr=>pr==="captions");
vendor: 9,568 bytes, lines 994-1003
994if(sr!==-1){const pr=W(ge[sr+1]);if(pr!=null)return{type:"caption",captionId:pr.toString(),locale:bt,l10nId:yt}}return{type:"translation",locale:bt,l10nId:yt}}return null}/*! 995 * https://github.com/Starcounter-Jack/JSON-Patch 996 * (c) 2017-2022 Joachim Wester 997 * MIT licensed 998 */var q=(function(){var ge=function(je,bt){return ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(yt,sr){yt.__proto__=sr}||function(yt,sr){for(var pr in sr)sr.hasOwnProperty(pr)&&(yt[pr]=sr[pr])},ge(je,bt)};return function(je,bt){ge(je,bt);function yt(){this.constructor=je}je.prototype=bt===null?Object.create(bt):(yt.prototype=bt.prototype,new yt)}})(),J=Object.prototype.hasOwnProperty;function re(ge,je){return J.call(ge,je)}function he(ge){if(Array.isArray(ge)){for(var je=new Array(ge.length),bt=0;bt<je.length;bt++)je[bt]=""+bt;return je}if(Object.keys)return Object.keys(ge);var yt=[];for(var sr in ge)re(ge,sr)&&yt.push(sr);return yt}function fe(ge){switch(typeof ge){case"object":return JSON.parse(JSON.stringify(ge));case"undefined":return null;default:return ge}}function ae(ge){for(var je=0,bt=ge.length,yt;je<bt;){if(yt=ge.charCodeAt(je),yt>=48&&yt<=57){je++;continue}return!1}return!0}function ye(ge){return ge.indexOf("/")===-1&&ge.indexOf("~")===-1?ge:ge.replace(/~/g,"~0").replace(/\//g,"~1")}function ve(ge){return ge.replace(/~1/g,"/").replace(/~0/g,"~")}function Ue(ge,je){var bt;for(var yt in ge)if(re(ge,yt)){if(ge[yt]===je)return ye(yt)+"/";if(typeof ge[yt]=="object"&&(bt=Ue(ge[yt],je),bt!=""))return ye(yt)+"/"+bt}return""}function We(ge,je){if(ge===je)return"/";var bt=Ue(ge,je);if(bt==="")throw new Error("Object not found in root");return"/"+bt}function de(ge){if(ge===void 0)return!0;if(ge){if(Array.isArray(ge)){for(var je=0,bt=ge.length;je<bt;je++)if(de(ge[je]))return!0}else if(typeof ge=="object"){for(var yt=he(ge),sr=yt.length,pr=0;pr<sr;pr++)if(de(ge[yt[pr]]))return!0}}return!1}function xe(ge,je){var bt=[ge];for(var yt in je){var sr=typeof je[yt]=="object"?JSON.stringify(je[yt],null,2):je[yt];typeof sr<"u"&&bt.push(yt+": "+sr)}return bt.join(` 999`)}var Fe=(function(ge){q(je,ge);function je(bt,yt,sr,pr,hr){var Xn=this.constructor,Un=ge.call(this,xe(bt,{name:yt,index:sr,operation:pr,tree:hr}))||this;return Un.name=yt,Un.index=sr,Un.operation=pr,Un.tree=hr,Object.setPrototypeOf(Un,Xn.prototype),Un.message=xe(bt,{name:yt,index:sr,operation:pr,tree:hr}),Un}return je})(Error),Xe=Fe,Me=fe,Ze={add:function(ge,je,bt){return ge[je]=this.value,{newDocument:bt}},remove:function(ge,je,bt){var yt=ge[je];return delete ge[je],{newDocument:bt,removed:yt}},replace:function(ge,je,bt){var yt=ge[je];return ge[je]=this.value,{newDocument:bt,removed:yt}},move:function(ge,je,bt){var yt=mt(bt,this.path);yt&&(yt=fe(yt));var sr=Xt(bt,{op:"remove",path:this.from}).removed;return Xt(bt,{op:"add",path:this.path,value:sr}),{newDocument:bt,removed:yt}},copy:function(ge,je,bt){var yt=mt(bt,this.from);return Xt(bt,{op:"add",path:this.path,value:fe(yt)}),{newDocument:bt}},test:function(ge,je,bt){return{newDocument:bt,test:Fr(ge[je],this.value)}},_get:function(ge,je,bt){return this.value=ge[je],{newDocument:bt}}},rt={add:function(ge,je,bt){return ae(je)?ge.splice(je,0,this.value):ge[je]=this.value,{newDocument:bt,index:je}},remove:function(ge,je,bt){var yt=ge.splice(je,1);return{newDocument:bt,removed:yt[0]}},replace:function(ge,je,bt){var yt=ge[je];return ge[je]=this.value,{newDocument:bt,removed:yt}},move:Ze.move,copy:Ze.copy,test:Ze.test,_get:Ze._get};function mt(ge,je){if(je=="")return ge;var bt={op:"_get",path:je};return Xt(ge,bt),bt.value}function Xt(ge,je,bt,yt,sr,pr){if(bt===void 0&&(bt=!1),yt===void 0&&(yt=!0),sr===void 0&&(sr=!0),pr===void 0&&(pr=0),bt&&(typeof bt=="function"?bt(je,0,ge,je.path):Ht(je,0)),je.path===""){var hr={newDocument:ge};if(je.op==="add")return hr.newDocument=je.value,hr;if(je.op==="replace")return hr.newDocument=je.value,hr.removed=ge,hr;if(je.op==="move"||je.op==="copy")return hr.newDocument=mt(ge,je.from),je.op==="move"&&(hr.removed=ge),hr;if(je.op==="test"){if(hr.test=Fr(ge,je.value),hr.test===!1)throw new Xe("Test operation failed","TEST_OPERATION_FAILED",pr,je,ge);return hr.newDocument=ge,hr}else{if(je.op==="remove")return hr.removed=ge,hr.newDocument=null,hr;if(je.op==="_get")return je.value=ge,hr;if(bt)throw new Xe("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",pr,je,ge);return hr}}else{yt||(ge=fe(ge));var Xn=je.path||"",Un=Xn.split("/"),Fi=ge,ti=1,Ai=Un.length,qn=void 0,$e=void 0,Je=void 0;for(typeof bt=="function"?Je=bt:Je=Ht;;){if($e=Un[ti],$e&&$e.indexOf("~")!=-1&&($e=ve($e)),sr&&($e=="__proto__"||$e=="prototype"&&ti>0&&Un[ti-1]=="constructor"))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(bt&&qn===void 0&&(Fi[$e]===void 0?qn=Un.slice(0,ti).join("/"):ti==Ai-1&&(qn=je.path),qn!==void 0&&Je(je,0,ge,qn)),ti++,Array.isArray(Fi)){if($e==="-")$e=Fi.length;else{if(bt&&!ae($e))throw new Xe("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",pr,je,ge);ae($e)&&($e=~~$e)}if(ti>=Ai){if(bt&&je.op==="add"&&$e>Fi.length)throw new Xe("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",pr,je,ge);var hr=rt[je.op].call(je,Fi,$e,ge);if(hr.test===!1)throw new Xe("Test operation failed","TEST_OPERATION_FAILED",pr,je,ge);return hr}}else if(ti>=Ai){var hr=Ze[je.op].call(je,Fi,$e,ge);if(hr.test===!1)throw new Xe("Test operation failed","TEST_OPERATION_FAILED",pr,je,ge);return hr}if(Fi=Fi[$e],bt&&ti<Ai&&(!Fi||typeof Fi!="object"))throw new Xe("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",pr,je,ge)}}}function jt(ge,je,bt,yt,sr){if(yt===void 0&&(yt=!0),sr===void 0&&(sr=!0),bt&&!Array.isArray(je))throw new Xe("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");yt||(ge=fe(ge));for(var pr=new Array(je.length),hr=0,Xn=je.length;hr<Xn;hr++)pr[hr]=Xt(ge,je[hr],bt,!0,sr,hr),ge=pr[hr].newDocument;return pr.newDocument=ge,pr}function Lt(ge,je,bt){var yt=Xt(ge,je);if(yt.test===!1)throw new Xe("Test operation failed","TEST_OPERATION_FAILED",bt,je,ge);return yt.newDocument}function Ht(ge,je,bt,yt){if(typeof ge!="object"||ge===null||Array.isArray(ge))throw new Xe("Operation is not an object","OPERATION_NOT_AN_OBJECT",je,ge,bt);if(Ze[ge.op]){if(typeof ge.path!="string")throw new Xe("Operation `path` property is not a string","OPERATION_PATH_INVALID",je,ge,bt);if(ge.path.indexOf("/")!==0&&ge.path.length>0)throw new Xe('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",je,ge,bt);if((ge.op==="move"||ge.op==="copy")&&typeof ge.from!="string")throw new Xe("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",je,ge,bt);if((ge.op==="add"||ge.op==="replace"||ge.op==="test")&&ge.value===void 0)throw new Xe("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",je,ge,bt);if((ge.op==="add"||ge.op==="replace"||ge.op==="test")&&de(ge.value))throw new Xe("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",je,ge,bt);if(bt){if(ge.op=="add"){var sr=ge.path.split("/").length,pr=yt.split("/").length;if(sr!==pr+1&&sr!==pr)throw new Xe("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",je,ge,bt)}else if(ge.op==="replace"||ge.op==="remove"||ge.op==="_get"){if(ge.path!==yt)throw new Xe("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",je,ge,bt)}else if(ge.op==="move"||ge.op==="copy"){var hr={op:"_get",path:ge.from,value:void 0},Xn=vr([hr],bt);if(Xn&&Xn.name==="OPERATION_PATH_UNRESOLVABLE")throw new Xe("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",je,ge,bt)}}}else throw new Xe("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",je,ge,bt)}function vr(ge,je,bt){try{if(!Array.isArray(ge))throw new Xe("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(je)jt(fe(je),fe(ge),bt||!0);else{bt=bt||Ht;for(var yt=0;yt<ge.length;yt++)bt(ge[yt],yt,je,void 0)}}catch(sr){if(sr instanceof Xe)return sr;throw sr}}function Fr(ge,je){if(ge===je)return!0;if(ge&&je&&typeof ge=="object"&&typeof je=="object"){var bt=Array.isArray(ge),yt=Array.isArray(je),sr,pr,hr;if(bt&&yt){if(pr=ge.length,pr!=je.length)return!1;for(sr=pr;sr--!==0;)if(!Fr(ge[sr],je[sr]))return!1;return!0}if(bt!=yt)return!1;var Xn=Object.keys(ge);if(pr=Xn.length,pr!==Object.keys(je).length)return!1;for(sr=pr;sr--!==0;)if(!je.hasOwnProperty(Xn[sr]))return!1;for(sr=pr;sr--!==0;)if(hr=Xn[sr],!Fr(ge[hr],je[hr]))return!1;return!0}return ge!==ge&&je!==je}/*! 1000 * https://github.com/Starcounter-Jack/JSON-Patch 1001 * (c) 2017-2021 Joachim Wester 1002 * MIT license 1003 */var fn=new WeakMap,Kr=(function(){function ge(je){this.observers=new Map,this.obj=je}return ge})(),Sn=(function(){function ge(je,bt){this.callback=je,this.observer=bt}return ge})();function Fn(ge){return fn.get(ge)}function Et(ge,je){return ge.observers.get(je)}function st(ge,je){ge.observers.delete(je.callback)}function Wr(ge,je){je.unobserve()}function Dr(ge,je){var bt=[],yt,sr=Fn(ge);
1003if(!sr)sr=new Kr(ge),fn.set(ge,sr);else{var pr=Et(sr,je);yt=pr&&pr.observer}if(yt)return yt;if(yt={},sr.value=fe(ge),je){yt.callback=je,yt.next=null;var hr=function(){Tr(yt)},Xn=function(){clearTimeout(yt.next),yt.next=setTimeout(hr)};typeof window<"u"&&(window.addEventListener("mouseup",Xn),window.addEventListener("keyup",Xn),window.addEventListener("mousedown",Xn),window.addEventListener("keydown",Xn),window.addEventListener("change",Xn))}return yt.patches=bt,yt.object=ge,yt.unobserve=function(){Tr(yt),clearTimeout(yt.next),st(sr,yt),typeof window<"u"&&(window.removeEventListener("mouseup",Xn),window.removeEventListener("keyup",Xn),window.removeEventListener("mousedown",Xn),window.removeEventListener("keydown",Xn),window.removeEventListener("change",Xn))},sr.observers.set(je,new Sn(je,yt)),yt}function Tr(ge,je){je===void 0&&(je=!1);var bt=fn.get(ge.object);gr(bt.value,ge.object,ge.patches,"",je),ge.patches.length&&jt(bt.value,ge.patches);var yt=ge.patches;return yt.length>0&&(ge.patches=[],ge.callback&&ge.callback(yt)),yt}function gr(ge,je,bt,yt,sr){if(je!==ge){typeof je.toJSON=="function"&&(je=je.toJSON());for(var pr=he(je),hr=he(ge),Xn=!1,Un=!1,Fi=hr.length-1;Fi>=0;Fi--){var ti=hr[Fi],Ai=ge[ti];if(re(je,ti)&&!(je[ti]===void 0&&Ai!==void 0&&Array.isArray(je)===!1)){var qn=je[ti];typeof Ai=="object"&&Ai!=null&&typeof qn=="object"&&qn!=null&&Array.isArray(Ai)===Array.isArray(qn)?gr(Ai,qn,bt,yt+"/"+ye(ti),sr):Ai!==qn&&(Xn=!0,sr&&bt.push({op:"test",path:yt+"/"+ye(ti),value:fe(Ai)}),bt.push({op:"replace",path:yt+"/"+ye(ti),value:fe(qn)}))}else Array.isArray(ge)===Array.isArray(je)?(sr&&bt.push({op:"test",path:yt+"/"+ye(ti),value:fe(Ai)}),bt.push({op:"remove",path:yt+"/"+ye(ti)}),Un=!0):(sr&&bt.push({op:"test",path:yt,value:ge}),bt.push({op:"replace",path:yt,value:je}),Xn=!0)}if(!(!Un&&pr.length==hr.length))for(var Fi=0;Fi<pr.length;Fi++){var ti=pr[Fi];!re(ge,ti)&&je[ti]!==void 0&&bt.push({op:"add",path:yt+"/"+ye(ti),value:fe(je[ti])})}}}function ir(ge,je,bt){bt===void 0&&(bt=!1);var yt=[];return gr(ge,je,yt,"",bt),yt}const Mr=Object.assign({},n,r,{JsonPatchError:Fe,deepClone:fe,escapePathComponent:ye,unescapePathComponent:ve});var Lr,un,hn;function rr(ge,je){const[bt,...yt]=ge;if(bt==null)return je;if(typeof bt=="number"&&Lr(je)&&bt<je.length||typeof bt=="string"&&un(je)&&bt in je)return rr(yt,je[bt]);if(un(bt)&&Lr(je)){const sr=je.findIndex(pr=>hn(bt,pr));if(sr!==-1)return rr(yt,je[sr])}throw new Gr(ge)}class Gr extends Error{path;constructor(je){super(),this.path=je}}var er,At,dr,Y,ot;function*Yt(ge,je){const bt=structuredClone(ge),yt=er(ge,je,{similarity:it});for(const sr of yt){const pr=Mt(sr.path,bt),hr=pr.at(-1),Xn=hr!=null?ot(pr.slice(0,-1),bt):void 0,Un=Cn(pr,bt);switch(sr.op){case"replace":yield{path:Un,command:{type:"update",oldValue:ot(pr,bt),newValue:sr.value}};break;case"add":typeof hr=="number"&&dr(Xn)&&hr>=Xn.length?yield{path:Un.slice(0,-1),command:{type:"append",newValue:sr.value}}:yield{path:Un,command:{type:"add",newValue:sr.value}};break;case"remove":yield{path:Un,command:{type:"delete",oldValue:ot(pr,bt)}};break;case"move":yield{path:Un,command:{type:"move",from:Cn(Mt(sr.from,bt),bt)}};break}At.applyOperation(bt,sr)}}function it(ge,je){return Y(ge)&&Y(je)?ge.id===je.id?1:0:ge===je?1:0}function Mt(ge,je){return ge===""?[]:Array.from(an(ge.substring(1).split("/"),je))}function*an(ge,je){const[bt,...yt]=ge;if(bt==null)return;const sr=bt.replaceAll("~0","~").replaceAll("~1","/"),pr=dr(je)?Number(sr):sr;yield pr,yield*an(yt,je[pr])}function Cn(ge,je){const[bt,...yt]=ge;if(bt==null)return[];if(je==null||typeof je!="object")throw new Error(`cannot convert ${JSON.stringify(ge)} to change path`);return[typeof bt=="number"&&dr(je)&&Y(je[bt])?{id:je[bt].id}:bt,...Cn(yt,je[bt])]}var Ln=e(70706),In,Si,$i;function tn(ge,je,bt,yt){const[sr,...pr]=bt;if(je.length>0)return Si(je,bt.slice(0,je.length))?tn(ge,[],bt.slice(je.length),yt):null;if(sr==null)return In.Check(ge,yt)?yt:null;if(yt==null||typeof yt!="object")return null;if(typeof sr=="string")return tn(ge,je,pr,yt[sr]);if(!Array.isArray(yt))return null;if(typeof sr=="number"&&sr>=0&&sr<yt.length)return tn(ge,je,pr,yt[sr]);const hr=yt.findIndex(Xn=>$i(sr,Xn));return hr===-1?null:tn(ge,je,pr,yt[hr])}var Hi,Ji,Yi;function Ki(ge,je,bt){const yt=je.findIndex(Xn=>Xn==="captions");
1003if(yt===-1||Yi(je[yt+1])==null)return null;const pr=je.slice(0,yt+2),hr=Ji(Hi,ge,pr,bt);return hr==null?null:{path:pr,result:hr}}const mi=ge=>typeof ge=="object"&&ge!==null&&!Array.isArray(ge),ws=ge=>mi(ge)&&"l10nId"in ge&&typeof ge.l10nId=="string",Zn=ge=>mi(ge)&&"id"in ge&&typeof ge.id=="string"&&ge.id;function fs(ge,je){return ge.flatMap((bt,yt)=>{const sr=Zn(bt),pr=sr!==!1?{id:sr}:yt;return vs(bt,[...je,pr])})}function cs(ge,je){return Object.keys(ge).flatMap(bt=>vs(ge[bt],[...je,bt]))}function vs(ge,je=[]){return Array.isArray(ge)?fs(ge,je):mi(ge)?ws(ge)?[{l10nId:ge.l10nId,path:je}]:cs(ge,je):[]}var wr=e(27060),we=e(16132),Ke=e(82795);const ut=qr(Vr(Ln.aeh,"$.course")),Kt=qr(Vr(Ln.Nke,"$.lessons")),ar="$.lessons[?(@.type=='blocks')].items[?(@.type=='custom'&&@.family=='mondrian'&&@.variant=='mondrian'&&@.blockumentId)].blockumentId",Wn=qr(Vr(Ln.Nke,"$")),hi=qr(Vr(Ln.eBw,"$")),Tt=qr(Vr(Ln.j0T,"$"));function qr(ge){const je=Array.from(ge).reduce((bt,yt)=>(yt.pathExpression in bt||(bt[yt.pathExpression]=yt),bt),{});return Object.values(je)}function*Vr(ge,je=""){if(ge!==void 0&&(0,Ln.Z6u)(ge)){yield{pathExpression:je,type:ge.contentType,order:ge.order};return}if(we.QS(ge)&&(yield*Vr(ge.items,`${je}[*]`)),we.av(ge))for(const[bt,yt]of Object.entries(ge.properties))yield*Vr(yt,`${je}.${bt}`);if(we.cZ(ge))for(const[,bt]of Object.entries(ge.patternProperties))yield*Vr(bt,je);if(we.PN(ge)&&ge.items!=null)for(let bt=0;bt<ge.items.length;bt++)yield*Vr(ge.items[bt],`${je}[${bt}]`);if(we.Yq(ge))for(const[,bt]of Object.entries(ge.allOf))yield*Vr(bt,je);if(we.my(ge))if((0,Ln.AGQ)(ge)){const bt=ge[Ln.lVo],yt=zr(ge);for(const sr of yt){const pr=Hn(sr);if(pr===null)continue;const hr=Pn(pr,bt),Xn=je.replace(/\[(?:\*|\d+)\]$/,"");yield*Vr(sr,`${Xn}${hr}`)}}else for(const bt of ge.anyOf)yield*Vr(bt,je)}function Or(ge,je){if(ge!=null&&we.X$(ge)){const{[Ke.tJ]:bt,...yt}=ge;return`(!@.${je}||${Or(yt,je)})`}return we.gP(ge)?typeof ge.const=="string"?`@.${je}=='${ge.const}'`:`@.${je}==${ge.const}`:we.Ef(ge)?`@.${je}==null`:we.R1(ge)?`!@.${je}`:we.my(ge)?`(${ge.anyOf.map(yt=>Or(yt,je)).filter(Boolean).join("||")})`:!1}function Pn(ge,je){return`[?(${je.map(yt=>{const sr=ge[yt];return Or(sr,yt)}).filter(Boolean).join("&&")})]`}function zr(ge){return ge.anyOf.flatMap(je=>we.my(je)?zr(je):[je])}function Hn(ge){return we.av(ge)?ge.properties:we.Yq(ge)?ge.allOf.reduce((je,bt)=>{if(je===null)return null;const yt=Hn(bt);return yt===null?null:Object.assign(je,yt)},{}):null}var fi,Ti,ss,xi,ms,wi,Ls;const as=(ge,je=0)=>ge.reduce((bt,yt)=>{const sr=yt.sortPath[je]??"";return bt[sr]??=[],bt[sr].push(yt),bt},{}),rs=(ge,je=0)=>{const bt=as(ge,je);return Object.keys(bt).length===1&&bt[""]!==void 0?ge:Object.keys(bt).toSorted((yt,sr)=>yt.localeCompare(sr,void 0,{numeric:!0})).flatMap(yt=>bt[yt]!==void 0?rs(bt[yt],je+1):[])};function xa(ge,je){return ge.map((yt,sr)=>{if(typeof yt=="number"){const pr=fi.value(je,fi.stringify(ge.slice(0,sr+1)));return pr?.id!==void 0?{id:pr.id}:yt}return yt}).slice(1)}const ka=ge=>{switch(ge.type){case"rich":case"plain":case"buttonDestination":case"codeSrcDoc":return ge;case"mediaRecord":return ge;case"coordinate":return ge;case"storyline":return ge;case"codeMedia":return ge;case"mondrianPlaceholder":return ge}};function Is(ge,je,bt,yt){const sr=je.flatMap(({pathExpression:hr,type:Xn,order:Un})=>fi.nodes(ge,hr).flatMap(({value:Fi,path:ti})=>{const Ai=ka({content:Fi,path:xa(ti,ge),pathExpression:hr,type:Xn});return Ai===void 0||!yt&&Xn==="mondrianPlaceholder"?[]:{...Ai,sortPath:[...ti.slice(0,-1),Un],jsonPath:ti}}));return(bt?rs(sr,1):sr).map(({sortPath:hr,jsonPath:Xn,...Un})=>Un)}const Ms=(ge,je,bt)=>Is([ge],je,bt,!1).map(({path:[,...yt],...sr})=>({...sr,path:yt})),Gs=(ge,je=!1)=>Is(ge,Ti,je,!1),ks=(ge,je=!1)=>Is(ge,ss,je,!1),ha=(ge,je=!1)=>Ms(ge,xi,je),Ys=(ge,je=!1)=>Ms(ge,ms,je),Ea=(ge,je=!1)=>Ms(ge,wi,je),ia=(ge,je=!1)=>Is(ge,[...ss,{pathExpression:Ls,type:"mondrianPlaceholder",order:0}],je,!0);var us=e(75815),eo,wa,da;function js(ge){const je=da.Create(eo);je.id=wa(),je.variant=ge?.variant??"flashcard";const yt=(ge?.items??[]).map(sr=>({...sr,id:wa()}));return je.items=yt,je}var ce,ze,Nt,Pr;function pn(ge){const je=Pr.Create(ce);je.id=Nt(),je.variant=ge?.variant??"bulleted";const yt=(ge?.items??[]).map((sr,pr)=>{const hr=Pr.Create(ze);return hr.id=Nt(),hr.paragraph=sr,hr.number=ge?.variant==="numbered"?(pr+1).toString():void 0,hr});return je.items=yt,je}var ci,Wi,qi;function Li(ge){const je=qi.Create(ci);je.id=Wi(),je.variant=ge.variant;const bt={id:Wi(),heading:ge.heading,paragraph:ge.paragraph};return je.items=[bt],je}var Mi=e(49094),_a;function io(ge,je,bt){return _a(ge)?je==null?void 0:bt?.[je]?.[ge.l10nId]:ge}function za(ge,je){return _a(ge)?je==null?{}:Object.entries(je).reduce((bt,[yt,sr])=>(ge.l10nId in sr&&(bt[yt]=sr[ge.l10nId]),bt),{}):{"":ge}}var so,ys,Cr,$a,ln,va,Da;const zs=null,Ks=ge=>ge.type==="imageLink"&&typeof ge.value=="object"&&ge.value!==null&&"type"in ge.value&&"destination"in ge.value,Aa=ge=>(ge.type==="lessonId"||ge.type==="richText")&&typeof ge.value=="string";function*pa(ge){for(const[je,bt]of zs){const yt=ys.nodes(ge,bt);for(const{value:sr,path:pr}of yt){if(je==="richText"&&!/data-link-type=["']lesson["']/.test(String(sr)))continue;const hr={type:je,path:ys.stringify(pr),value:sr};(Ks(hr)||Aa(hr))&&(yield hr)}}}function Pt(ge,je){const bt=pa(ge),yt=structuredClone(ge),sr=je===void 0;for(const{path:pr,value:hr,type:Xn}
1003of bt)switch(Xn){case"lessonId":{const Un=je?.[hr]??"";ys.value(yt,pr,Un);break}case"imageLink":if(sr)ys.value(yt,pr,void 0);else{const Un=je[hr.destination]??"";ys.value(yt,pr+".destination",Un)}break;case"richText":{const Un=sr?va(hr):Da(hr,je);ys.value(yt,pr,Un);break}}return yt}function $t(ge,je,bt,yt){const sr=ge.map(je);return Pt(sr,yt).map((hr,Xn)=>bt(hr,ge[Xn]))}const xr=(ge,je,bt)=>{const yt=ge.filter(pr=>!so(pr.content)&&(pr.type==="rich"||pr.type==="buttonDestination"||pr.type==="mediaRecord"));return Pt(yt,bt).reduce((pr,hr)=>{const{path:Xn,content:Un}=hr,Fi=Cr(Xn,Un,pr);return Fi.type==="accepted"?Fi.result:pr},je)};function $r(ge,je){const{course:bt}=xr($a({course:ge}),{course:ge},je);return bt}function bn(ge,je){const{lessons:bt}=xr(ln({lessons:ge}),{lessons:ge},je);return bt}function Yr(ge,je,bt){const[yt]=bn([{type:ge,items:je.map(pr=>pr.item)}],bt),{items:sr}=yt??{items:[]};return je.map((pr,hr)=>({...pr,item:sr[hr]}))}},49094(f,d,e){"use strict";e.d(d,{HX:()=>yt,uW:()=>Jo});var n=e(70706),r=e(25481),a=e(35783),i=e(82795),s=e(87978);class u extends a.i{constructor(_r){super(`Unable to dereference schema with $id '${_r.$ref}'`),this.schema=_r}}function l(se,_r){const ct=_r.find(wt=>wt.$id===se.$ref);if(ct===void 0)throw new u(se);return g(ct,_r)}function m(se,_r){return!(0,s.IP)(se.$id)||_r.some(ct=>ct.$id===se.$id)||_r.push(se),_r}function g(se,_r){return se[i.b8]==="This"||se[i.b8]==="Ref"?l(se,_r):se}class h extends a.i{constructor(_r){super("Unable to hash value"),this.value=_r}}var v;(function(se){se[se.Undefined=0]="Undefined",se[se.Null=1]="Null",se[se.Boolean=2]="Boolean",se[se.Number=3]="Number",se[se.String=4]="String",se[se.Object=5]="Object",se[se.Array=6]="Array",se[se.Date=7]="Date",se[se.Uint8Array=8]="Uint8Array",se[se.Symbol=9]="Symbol",se[se.BigInt=10]="BigInt"})(v||(v={}));let b=BigInt("14695981039346656037");const[T,E]=[BigInt("1099511628211"),BigInt("18446744073709551616")],w=Array.from({length:256}).map((se,_r)=>BigInt(_r)),C=new Float64Array(1),O=new DataView(C.buffer),U=new Uint8Array(C.buffer);function*D(se){const _r=se===0?1:Math.ceil(Math.floor(Math.log2(se)+1)/8);for(let ct=0;ct<_r;ct++)yield se>>8*(_r-1-ct)&255}function F(se){ve(v.Array);for(const _r of se)ye(_r)}function j(se){ve(v.Boolean),ve(se?1:0)}function M(se){ve(v.BigInt),O.setBigInt64(0,se);for(const _r of U)ve(_r)}function W(se){ve(v.Date),ye(se.getTime())}function V(se){ve(v.Null)}function q(se){ve(v.Number),O.setFloat64(0,se);for(const _r of U)ve(_r)}function J(se){ve(v.Object);for(const _r of globalThis.Object.getOwnPropertyNames(se).sort())ye(_r),ye(se[_r])}function re(se){ve(v.String);for(let _r=0;_r<se.length;_r++)for(const ct of D(se.charCodeAt(_r)))ve(ct)}function he(se){ve(v.Symbol),ye(se.description)}function fe(se){ve(v.Uint8Array);for(let _r=0;_r<se.length;_r++)ve(se[_r])}function ae(se){return ve(v.Undefined)}function ye(se){if((0,s.QS)(se))return F(se);if((0,s.Zx)(se))return j(se);if((0,s.cQ)(se))return M(se);if((0,s.XF)(se))return W(se);if((0,s.Ef)(se))return V(se);if((0,s.Mx)(se))return q(se);if((0,s.av)(se))return J(se);if((0,s.IP)(se))return re(se);if((0,s.nH)(se))return he(se);if((0,s.G4)(se))return fe(se);if((0,s.R1)(se))return ae(se);throw new h(se)}function ve(se){b=b^w[se],b=b*T%E}function Ue(se){return b=BigInt("14695981039346656037"),ye(se),b}var We=e(31340);function de(se){return se.allOf.every(_r=>Xe(_r))}function xe(se){return se.anyOf.some(_r=>Xe(_r))}function Fe(se){return!Xe(se.not)}function Xe(se){return se[i.b8]==="Intersect"?de(se):se[i.b8]==="Union"?xe(se):se[i.b8]==="Not"?Fe(se):se[i.b8]==="Undefined"}const Me=new Map;function Ze(){return new Map(Me)}function rt(){return Me.clear()}function mt(se){return Me.delete(se)}function Xt(se){return Me.has(se)}function jt(se,_r){Me.set(se,_r)}function Lt(se){return Me.get(se)}const Ht=new Map;function vr(){return new Map(Ht)}function Fr(){return Ht.clear()}function fn(se){return Ht.delete(se)}function Kr(se){return Ht.has(se)}function Sn(se,_r){Ht.set(se,_r)}function Fn(se){return Ht.get(se)}var Et=e(80463),st=e(78542);class Wr extends a.i{constructor(_r){super("Unknown type"),this.schema=_r}}function Dr(se){return se[i.b8]==="Any"||se[i.b8]==="Unknown"}function Tr(se){return se!==void 0}function gr(se,_r,ct){return!0}function ir(se,_r,ct){return!0}function Mr(se,_r,ct){if(!(0,s.QS)(ct)||Tr(se.minItems)&&!(ct.length>=se.minItems)||Tr(se.maxItems)&&!(ct.length<=se.maxItems))return!1;for(const ei of ct)if(!we(se.items,_r,ei))return!1;if(se.uniqueItems===!0&&!(function(){const ei=new Set;for(const As of ct){const xs=Ue(As);if(ei.has(xs))return!1;ei.add(xs)}return!0})())return!1;if(!(Tr(se.contains)||(0,s.Mx)(se.minContains)||(0,s.Mx)(se.maxContains)))return!0;const wt=Tr(se.contains)?se.contains:(0,Et.p)(),En=ct.reduce((ei,As)=>we(wt,_r,As)?ei+1:ei,0);return!(En===0||(0,s.Mx)(se.minContains)&&En<se.minContains||(0,s.Mx)(se.maxContains)&&En>se.maxContains)}function Lr(se,_r,ct){return(0,s.H1)(ct)}function un(se,_r,ct){return!(!(0,s.cQ)(ct)||Tr(se.exclusiveMaximum)&&!(ct<se.exclusiveMaximum)||Tr(se.exclusiveMinimum)&&!(ct>se.exclusiveMinimum)||Tr(se.maximum)&&!(ct<=se.maximum)||Tr(se.minimum)&&!(ct>=se.minimum)||Tr(se.multipleOf)&&ct%se.multipleOf!==BigInt(0))}function hn(se,_r,ct){return(0,s.Zx)(ct)}function rr(se,_r,ct){return we(se.returns,_r,ct.prototype)}function Gr(se,_r,ct){return!(!(0,s.XF)(ct)||Tr(se.exclusiveMaximumTimestamp)&&!(ct.getTime()<se.exclusiveMaximumTimestamp)||Tr(se.exclusiveMinimumTimestamp)&&!(ct.getTime()>se.exclusiveMinimumTimestamp)||Tr(se.maximumTimestamp)&&!(ct.getTime()<=se.maximumTimestamp)||Tr(se.minimumTimestamp)&&!(ct.getTime()>=se.minimumTimestamp)||Tr(se.multipleOfTimestamp)&&ct.getTime()%se.multipleOfTimestamp!==0)}function er(se,_r,ct){return(0,s.hg)(ct)}function At(se,_r,ct){const wt=globalThis.Object.values(se.$defs),En=se.$defs[se.$ref];return we(En,[..._r,...wt],ct)}function dr(se,_r,ct){return!(!(0,s.$p)(ct)||Tr(se.exclusiveMaximum)&&!(ct<se.exclusiveMaximum)||Tr(se.exclusiveMinimum)&&!(ct>se.exclusiveMinimum)||Tr(se.maximum)&&!(ct<=se.maximum)||Tr(se.minimum)&&!(ct>=se.minimum)||Tr(se.multipleOf)&&ct%se.multipleOf!==0)}function Y(se,_r,ct){const wt=se.allOf.every(En=>we(En,_r,ct));if(se.unevaluatedProperties===!1){const En=new RegExp((0,We.n)(se)),ei=Object.getOwnPropertyNames(ct).every(As=>En.test(As));return wt&&ei}else if((0,st.Yi)(se.unevaluatedProperties)){const En=new RegExp((0,We.n)(se)),ei=Object.getOwnPropertyNames(ct).every(As=>En.test(As)||we(se.unevaluatedProperties,_r,ct[As]));return wt&&ei}else return wt}function ot(se,_r,ct){return(0,s.jo)(ct)}function Yt(se,_r,ct){return ct===se.const}function it(se,_r,ct){return!1}function Mt(se,_r,ct){return!we(se.not,_r,ct)}function an(se,_r,ct){return(0,s.Ef)(ct)}function Cn(se,_r,ct){return!(!r.Q.IsNumberLike(ct)||Tr(se.exclusiveMaximum)&&!(ct<se.exclusiveMaximum)||Tr(se.exclusiveMinimum)&&!(ct>se.exclusiveMinimum)||Tr(se.minimum)&&!(ct>=se.minimum)||Tr(se.maximum)&&!(ct<=se.maximum)||Tr(se.multipleOf)&&ct%se.multipleOf!==0)}function Ln(se,_r,ct){if(!r.Q.IsObjectLike(ct)||Tr(se.minProperties)&&!(Object.getOwnPropertyNames(ct).length>
1003=se.minProperties)||Tr(se.maxProperties)&&!(Object.getOwnPropertyNames(ct).length<=se.maxProperties))return!1;const wt=Object.getOwnPropertyNames(se.properties);for(const En of wt){const ei=se.properties[En];if(se.required&&se.required.includes(En)){if(!we(ei,_r,ct[En])||(Xe(ei)||Dr(ei))&&!(En in ct))return!1}else if(r.Q.IsExactOptionalProperty(ct,En)&&!we(ei,_r,ct[En]))return!1}if(se.additionalProperties===!1){const En=Object.getOwnPropertyNames(ct);return se.required&&se.required.length===wt.length&&En.length===wt.length?!0:En.every(ei=>wt.includes(ei))}else return typeof se.additionalProperties=="object"?Object.getOwnPropertyNames(ct).every(ei=>wt.includes(ei)||we(se.additionalProperties,_r,ct[ei])):!0}function In(se,_r,ct){return(0,s.OD)(ct)}function Si(se,_r,ct){if(!r.Q.IsRecordLike(ct)||Tr(se.minProperties)&&!(Object.getOwnPropertyNames(ct).length>=se.minProperties)||Tr(se.maxProperties)&&!(Object.getOwnPropertyNames(ct).length<=se.maxProperties))return!1;const[wt,En]=Object.entries(se.patternProperties)[0],ei=new RegExp(wt),As=Object.entries(ct).every(([Zo,fo])=>ei.test(Zo)?we(En,_r,fo):!0),xs=typeof se.additionalProperties=="object"?Object.entries(ct).every(([Zo,fo])=>ei.test(Zo)?!0:we(se.additionalProperties,_r,fo)):!0,ya=se.additionalProperties===!1?Object.getOwnPropertyNames(ct).every(Zo=>ei.test(Zo)):!0;return As&&xs&&ya}function $i(se,_r,ct){return we(g(se,_r),_r,ct)}function tn(se,_r,ct){const wt=new RegExp(se.source,se.flags);return Tr(se.minLength)&&!(ct.length>=se.minLength)||Tr(se.maxLength)&&!(ct.length<=se.maxLength)?!1:wt.test(ct)}function Hi(se,_r,ct){return!(0,s.IP)(ct)||Tr(se.minLength)&&!(ct.length>=se.minLength)||Tr(se.maxLength)&&!(ct.length<=se.maxLength)||Tr(se.pattern)&&!new RegExp(se.pattern).test(ct)?!1:Tr(se.format)?Xt(se.format)?Lt(se.format)(ct):!1:!0}function Ji(se,_r,ct){return(0,s.nH)(ct)}function Yi(se,_r,ct){return(0,s.IP)(ct)&&new RegExp(se.pattern).test(ct)}function Ki(se,_r,ct){return we(g(se,_r),_r,ct)}function mi(se,_r,ct){if(!(0,s.QS)(ct)||se.items===void 0&&ct.length!==0||ct.length!==se.maxItems)return!1;if(!se.items)return!0;for(let wt=0;wt<se.items.length;wt++)if(!we(se.items[wt],_r,ct[wt]))return!1;return!0}function ws(se,_r,ct){return(0,s.R1)(ct)}function Zn(se,_r,ct){return se.anyOf.some(wt=>we(wt,_r,ct))}function fs(se,_r,ct){return!(!(0,s.G4)(ct)||Tr(se.maxByteLength)&&!(ct.length<=se.maxByteLength)||Tr(se.minByteLength)&&!(ct.length>=se.minByteLength))}function cs(se,_r,ct){return!0}function vs(se,_r,ct){return r.Q.IsVoidLike(ct)}function wr(se,_r,ct){return Kr(se[i.b8])?Fn(se[i.b8])(se,ct):!1}function we(se,_r,ct){const wt=Tr(se.$id)?m(se,_r):_r,En=se;switch(En[i.b8]){case"Any":return gr(En,wt,ct);case"Argument":return ir(En,wt,ct);case"Array":return Mr(En,wt,ct);case"AsyncIterator":return Lr(En,wt,ct);case"BigInt":return un(En,wt,ct);case"Boolean":return hn(En,wt,ct);case"Constructor":return rr(En,wt,ct);case"Date":return Gr(En,wt,ct);case"Function":return er(En,wt,ct);case"Import":return At(En,wt,ct);case"Integer":return dr(En,wt,ct);case"Intersect":return Y(En,wt,ct);case"Iterator":return ot(En,wt,ct);case"Literal":return Yt(En,wt,ct);case"Never":return it(En,wt,ct);case"Not":return Mt(En,wt,ct);case"Null":return an(En,wt,ct);case"Number":return Cn(En,wt,ct);case"Object":return Ln(En,wt,ct);case"Promise":return In(En,wt,ct);case"Record":return Si(En,wt,ct);case"Ref":return $i(En,wt,ct);case"RegExp":return tn(En,wt,ct);case"String":return Hi(En,wt,ct);case"Symbol":return Ji(En,wt,ct);case"TemplateLiteral":return Yi(En,wt,ct);case"This":return Ki(En,wt,ct);case"Tuple":return mi(En,wt,ct);case"Undefined":return ws(En,wt,ct);case"Union":return Zn(En,wt,ct);case"Uint8Array":return fs(En,wt,ct);case"Unknown":return cs(En,wt,ct);case"Void":return vs(En,wt,ct);default:if(!Kr(En[i.b8]))throw new Wr(En);return wr(En,wt,ct)}}function Ke(...se){return se.length===3?we(se[0],se[1],se[2]):we(se[0],[],se[1])}var ut=e(16132);function Kt(se){switch(se.errorType){case Tt.ArrayContains:return"Expected array to contain at least one matching value";case Tt.ArrayMaxContains:return`Expected array to contain no more than ${se.schema.maxContains} matching values`;case Tt.ArrayMinContains:return`Expected array to contain at least ${se.schema.minContains} matching values`;case Tt.ArrayMaxItems:return`Expected array length to be less or equal to ${se.schema.maxItems}`;case Tt.ArrayMinItems:return`Expected array length to be greater or equal to ${se.schema.minItems}`;case Tt.ArrayUniqueItems:return"Expected array elements to be unique";case Tt.Array:return"Expected array";case Tt.AsyncIterator:return"Expected AsyncIterator";case Tt.BigIntExclusiveMaximum:return`Expected bigint to be less than ${se.schema.exclusiveMaximum}`;case Tt.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${se.schema.exclusiveMinimum}`;case Tt.BigIntMaximum:return`Expected bigint to be less or equal to ${se.schema.maximum}`;case Tt.BigIntMinimum:return`Expected bigint to be greater or equal to ${se.schema.minimum}`;case Tt.BigIntMultipleOf:return`Expected bigint to be a multiple of ${se.schema.multipleOf}`;case Tt.BigInt:return"Expected bigint";case Tt.Boolean:return"Expected boolean";case Tt.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${se.schema.exclusiveMinimumTimestamp}`;case Tt.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${se.schema.exclusiveMaximumTimestamp}`;case Tt.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${se.schema.minimumTimestamp}`;case Tt.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${se.schema.maximumTimestamp}`;case Tt.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${se.schema.multipleOfTimestamp}`;case Tt.Date:return"Expected Date";case Tt.Function:return"Expected function";case Tt.IntegerExclusiveMaximum:return`Expected integer to be less than ${se.schema.exclusiveMaximum}`;case Tt.IntegerExclusiveMinimum:return`Expected integer to be greater than ${se.schema.exclusiveMinimum}`;case Tt.IntegerMaximum:return`Expected integer to be less or equal to ${se.schema.maximum}`;case Tt.IntegerMinimum:return`Expected integer to be greater or equal to ${se.schema.minimum}`;case Tt.IntegerMultipleOf:return`Expected integer to be a multiple of ${se.schema.multipleOf}`;case Tt.Integer:return"Expected integer";case Tt.IntersectUnevaluatedProperties:return"Unexpected property";case Tt.Intersect:return"Expected all values to match";case Tt.Iterator:return"Expected Iterator";case Tt.Literal:return`Expected ${typeof se.schema.const=="string"?`'${se.schema.const}'`:se.schema.const}`;case Tt.Never:return"Never";case Tt.Not:return"Value should not match";case Tt.Null:return"Expected null";case Tt.NumberExclusiveMaximum:return`Expected number to be less than ${se.schema.exclusiveMaximum}`;case Tt.NumberExclusiveMinimum:return`Expected number to be greater than ${se.schema.exclusiveMinimum}`;case Tt.NumberMaximum:return`Expected number to be less or equal to ${se.schema.maximum}`;case Tt.NumberMinimum:return`Expected number to be greater or equal to ${se.schema.minimum}`;case Tt.NumberMultipleOf:return`Expected number to be a multiple of ${se.schema.multipleOf}`;case Tt.Number:return"Expected number";case Tt.Object:return"Expected object";case Tt.ObjectAdditionalProperties:return"Unexpected property";case Tt.ObjectMaxProperties:return`Expected object to have no more than ${se.schema.maxProperties} properties`;case Tt.ObjectMinProperties:return`Expected object to have at least ${se.schema.minProperties} properties`;case Tt.ObjectRequiredProperty:return"Expected required property";case Tt.Promise:return"Expected Promise";case Tt.RegExp:return"Expected string to match regular expression";case Tt.StringFormatUnknown:return`Unknown format '${se.schema.format}'`;case Tt.StringFormat:return`Expected string to match '${se.schema.format}' format`;case Tt.StringMaxLength:return`Expected string length less or equal to ${se.schema.maxLength}`;case Tt.StringMinLength:return`Expected string length greater or equal to ${se.schema.minLength}`;case Tt.StringPattern:return`Expected string to match '${se.schema.pattern}'`;case Tt.String:return"Expected string";case Tt.Symbol:return"Expected symbol";case Tt.TupleLength:return`Expected tuple to have ${se.schema.maxItems||0} elements`;case Tt.Tuple:return"Expected tuple";
1003case Tt.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${se.schema.maxByteLength}`;case Tt.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${se.schema.minByteLength}`;case Tt.Uint8Array:return"Expected Uint8Array";case Tt.Undefined:return"Expected undefined";case Tt.Union:return"Expected union value";case Tt.Void:return"Expected void";case Tt.Kind:return`Expected kind '${se.schema[i.b8]}'`;default:return"Unknown error type"}}let ar=Kt;function Wn(se){ar=se}function hi(){return ar}var Tt;(function(se){se[se.ArrayContains=0]="ArrayContains",se[se.ArrayMaxContains=1]="ArrayMaxContains",se[se.ArrayMaxItems=2]="ArrayMaxItems",se[se.ArrayMinContains=3]="ArrayMinContains",se[se.ArrayMinItems=4]="ArrayMinItems",se[se.ArrayUniqueItems=5]="ArrayUniqueItems",se[se.Array=6]="Array",se[se.AsyncIterator=7]="AsyncIterator",se[se.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",se[se.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",se[se.BigIntMaximum=10]="BigIntMaximum",se[se.BigIntMinimum=11]="BigIntMinimum",se[se.BigIntMultipleOf=12]="BigIntMultipleOf",se[se.BigInt=13]="BigInt",se[se.Boolean=14]="Boolean",se[se.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",se[se.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",se[se.DateMaximumTimestamp=17]="DateMaximumTimestamp",se[se.DateMinimumTimestamp=18]="DateMinimumTimestamp",se[se.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",se[se.Date=20]="Date",se[se.Function=21]="Function",se[se.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",se[se.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",se[se.IntegerMaximum=24]="IntegerMaximum",se[se.IntegerMinimum=25]="IntegerMinimum",se[se.IntegerMultipleOf=26]="IntegerMultipleOf",se[se.Integer=27]="Integer",se[se.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",se[se.Intersect=29]="Intersect",se[se.Iterator=30]="Iterator",se[se.Kind=31]="Kind",se[se.Literal=32]="Literal",se[se.Never=33]="Never",se[se.Not=34]="Not",se[se.Null=35]="Null",se[se.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",se[se.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",se[se.NumberMaximum=38]="NumberMaximum",se[se.NumberMinimum=39]="NumberMinimum",se[se.NumberMultipleOf=40]="NumberMultipleOf",se[se.Number=41]="Number",se[se.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",se[se.ObjectMaxProperties=43]="ObjectMaxProperties",se[se.ObjectMinProperties=44]="Ob
1003jectMinProperties",se[se.ObjectRequiredProperty=45]="ObjectRequiredProperty",se[se.Object=46]="Object",se[se.Promise=47]="Promise",se[se.RegExp=48]="RegExp",se[se.StringFormatUnknown=49]="StringFormatUnknown",se[se.StringFormat=50]="StringFormat",se[se.StringMaxLength=51]="StringMaxLength",se[se.StringMinLength=52]="StringMinLength",se[se.StringPattern=53]="StringPattern",se[se.String=54]="String",se[se.Symbol=55]="Symbol",se[se.TupleLength=56]="TupleLength",se[se.Tuple=57]="Tuple",se[se.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",se[se.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",se[se.Uint8Array=60]="Uint8Array",se[se.Undefined=61]="Undefined",se[se.Union=62]="Union",se[se.Void=63]="Void"})(Tt||(Tt={}));class qr extends a.i{constructor(_r){super("Unknown type"),this.schema=_r}}function Vr(se){return se.replace(/~/g,"~0").replace(/\//g,"~1")}function Or(se){return se!==void 0}class Pn{constructor(_r){this.iterator=_r}[Symbol.iterator](){return this.iterator}First(){const _r=this.iterator.next();return _r.done?void 0:_r.value}}function zr(se,_r,ct,wt,En=[]){return{type:se,schema:_r,path:ct,value:wt,message:hi()({errorType:se,path:ct,schema:_r,value:wt,errors:En}),errors:En}}function*Hn(se,_r,ct,wt){}function*fi(se,_r,ct,wt){}function*Ti(se,_r,ct,wt){if(!(0,s.QS)(wt))return yield zr(Tt.Array,se,ct,wt);Or(se.minItems)&&!(wt.length>=se.minItems)&&(yield zr(Tt.ArrayMinItems,se,ct,wt)),Or(se.maxItems)&&!(wt.length<=se.maxItems)&&(yield zr(Tt.ArrayMaxItems,se,ct,wt));for(let As=0;As<wt.length;As++)yield*Mi(se.items,_r,`${ct}/${As}`,wt[As]);if(se.uniqueItems===!0&&!(function(){const As=new Set;for(const xs of wt){const ya=Ue(xs);if(As.has(ya))return!1;As.add(ya)}return!0})()&&(yield zr(Tt.ArrayUniqueItems,se,ct,wt)),!(Or(se.contains)||Or(se.minContains)||Or(se.maxContains)))return;const En=Or(se.contains)?se.contains:(0,Et.p)(),ei=wt.reduce((As,xs,ya)=>Mi(En,_r,`${ct}${ya}`,xs).next().done===!0?As+1:As,0);ei===0&&(yield zr(Tt.ArrayContains,se,ct,wt)),(0,s.Mx)(se.minContains)&&ei<se.minContains&&(yield zr(Tt.ArrayMinContains,se,ct,wt)),(0,s.Mx)(se.maxContains)&&ei>se.maxContains&&(yield zr(Tt.ArrayMaxContains,se,ct,wt))}function*ss(se,_r,ct,wt){(0,s.H1)(wt)||(yield zr(Tt.AsyncIterator,se,ct,
vendor: 8,080 bytes, line 1003
1003wt))}function*xi(se,_r,ct,wt){if(!(0,s.cQ)(wt))return yield zr(Tt.BigInt,se,ct,wt);Or(se.exclusiveMaximum)&&!(wt<se.exclusiveMaximum)&&(yield zr(Tt.BigIntExclusiveMaximum,se,ct,wt)),Or(se.exclusiveMinimum)&&!(wt>se.exclusiveMinimum)&&(yield zr(Tt.BigIntExclusiveMinimum,se,ct,wt)),Or(se.maximum)&&!(wt<=se.maximum)&&(yield zr(Tt.BigIntMaximum,se,ct,wt)),Or(se.minimum)&&!(wt>=se.minimum)&&(yield zr(Tt.BigIntMinimum,se,ct,wt)),Or(se.multipleOf)&&wt%se.multipleOf!==BigInt(0)&&(yield zr(Tt.BigIntMultipleOf,se,ct,wt))}function*ms(se,_r,ct,wt){(0,s.Zx)(wt)||(yield zr(Tt.Boolean,se,ct,wt))}function*wi(se,_r,ct,wt){yield*Mi(se.returns,_r,ct,wt.prototype)}function*Ls(se,_r,ct,wt){if(!(0,s.XF)(wt))return yield zr(Tt.Date,se,ct,wt);Or(se.exclusiveMaximumTimestamp)&&!(wt.getTime()<se.exclusiveMaximumTimestamp)&&(yield zr(Tt.DateExclusiveMaximumTimestamp,se,ct,wt)),Or(se.exclusiveMinimumTimestamp)&&!(wt.getTime()>se.exclusiveMinimumTimestamp)&&(yield zr(Tt.DateExclusiveMinimumTimestamp,se,ct,wt)),Or(se.maximumTimestamp)&&!(wt.getTime()<=se.maximumTimestamp)&&(yield zr(Tt.DateMaximumTimestamp,se,ct,wt)),Or(se.minimumTimestamp)&&!(wt.getTime()>=se.minimumTimestamp)&&(yield zr(Tt.DateMinimumTimestamp,se,ct,wt)),Or(se.multipleOfTimestamp)&&wt.getTime()%se.multipleOfTimestamp!==0&&(yield zr(Tt.DateMultipleOfTimestamp,se,ct,wt))}function*as(se,_r,ct,wt){(0,s.hg)(wt)||(yield zr(Tt.Function,se,ct,wt))}function*rs(se,_r,ct,wt){const En=globalThis.Object.values(se.$defs),ei=se.$defs[se.$ref];yield*Mi(ei,[..._r,...En],ct,wt)}function*xa(se,_r,ct,wt){if(!(0,s.$p)(wt))return yield zr(Tt.Integer,se,ct,wt);Or(se.exclusiveMaximum)&&!(wt<se.exclusiveMaximum)&&(yield zr(Tt.IntegerExclusiveMaximum,se,ct,wt)),Or(se.exclusiveMinimum)&&!(wt>se.exclusiveMinimum)&&(yield zr(Tt.IntegerExclusiveMinimum,se,ct,wt)),Or(se.maximum)&&!(wt<=se.maximum)&&(yield zr(Tt.IntegerMaximum,se,ct,wt)),Or(se.minimum)&&!(wt>=se.minimum)&&(yield zr(Tt.IntegerMinimum,se,ct,wt)),Or(se.multipleOf)&&wt%se.multipleOf!==0&&(yield zr(Tt.IntegerMultipleOf,se,ct,wt))}function*ka(se,_r,ct,wt){let En=!1;for(const ei of se.allOf)for(const As of Mi(ei,_r,ct,wt))En=!0,yield As;if(En)return yield zr(Tt.Intersect,se,ct,wt);if(se.unevaluatedProperties===!1){const ei=new RegExp((0,We.n)(se));for(const As of Object.getOwnPropertyNames(wt))ei.test(As)||(yield zr(Tt.IntersectUnevaluatedProperties,se,`${ct}/${As}`,wt))}if(typeof se.unevaluatedProperties=="object"){const ei=new RegExp((0,We.n)(se));for(const As of Object.getOwnPropertyNames(wt))if(!ei.test(As)){const xs=Mi(se.unevaluatedProperties,_r,`${ct}/${As}`,wt[As]).next();xs.done||(yield xs.value)}}}function*Is(se,_r,ct,wt){(0,s.jo)(wt)||(yield zr(Tt.Iterator,se,ct,wt))}function*Ms(se,_r,ct,wt){wt!==se.const&&(yield zr(Tt.Literal,se,ct,wt))}function*Gs(se,_r,ct,wt){yield zr(Tt.Never,se,ct,wt)}function*ks(se,_r,ct,wt){Mi(se.not,_r,ct,wt).next().done===!0&&(yield zr(Tt.Not,se,ct,wt))}function*ha(se,_r,ct,wt){(0,s.Ef)(wt)||(yield zr(Tt.Null,se,ct,wt))}function*Ys(se,_r,ct,wt){if(!r.Q.IsNumberLike(wt))return yield zr(Tt.Number,se,ct,wt);Or(se.exclusiveMaximum)&&!(wt<se.exclusiveMaximum)&&(yield zr(Tt.NumberExclusiveMaximum,se,ct,wt)),Or(se.exclusiveMinimum)&&!(wt>se.exclusiveMinimum)&&(yield zr(Tt.NumberExclusiveMinimum,se,ct,wt)),Or(se.maximum)&&!(wt<=se.maximum)&&(yield zr(Tt.NumberMaximum,se,ct,wt)),Or(se.minimum)&&!(wt>=se.minimum)&&(yield zr(Tt.NumberMinimum,se,ct,wt)),Or(se.multipleOf)&&wt%se.multipleOf!==0&&(yield zr(Tt.NumberMultipleOf,se,ct,wt))}function*Ea(se,_r,ct,wt){if(!r.Q.IsObjectLike(wt))return yield zr(Tt.Object,se,ct,wt);Or(se.minProperties)&&!(Object.getOwnPropertyNames(wt).length>=se.minProperties)&&(yield zr(Tt.ObjectMinProperties,se,ct,wt)),Or(se.maxProperties)&&!(Object.getOwnPropertyNames(wt).length<=se.maxProperties)&&(yield zr(Tt.ObjectMaxProperties,se,ct,wt));const En=Array.isArray(se.required)?se.required:[],ei=Object.getOwnPropertyNames(se.properties),As=Object.getOwnPropertyNames(wt);for(const xs of En)As.includes(xs)||(yield zr(Tt.ObjectRequiredProperty,se.properties[xs],`${ct}/${Vr(xs)}`,void 0));if(se.additionalProperties===!1)for(const xs of As)ei.includes(xs)||(yield zr(Tt.ObjectAdditionalProperties,se,`${ct}/${Vr(xs)}`,wt[xs]));if(typeof se.additionalProperties=="object")for(const xs of As)ei.includes(xs)||(yield*Mi(se.additionalProperties,_r,`${ct}/${Vr(xs)}`,wt[xs]));for(const xs of ei){const ya=se.properties[xs];se.required&&se.required.includes(xs)?(yield*Mi(ya,_r,`${ct}/${Vr(xs)}`,wt[xs]),Xe(se)&&!(xs in wt)&&(yield zr(Tt.ObjectRequiredProperty,ya,`${ct}/${Vr(xs)}`,void 0))):r.Q.IsExactOptionalProperty(wt,xs)&&(yield*Mi(ya,_r,`${ct}/${Vr(xs)}`,wt[xs]))}}function*ia(se,_r,ct,wt){(0,s.OD)(wt)||(yield zr(Tt.Promise,se,ct,wt))}function*us(se,_r,ct,wt){if(!r.Q.IsRecordLike(wt))return yield zr(Tt.Object,se,ct,wt);Or(se.minProperties)&&!(Object.getOwnPropertyNames(wt).length>=se.minProperties)&&(yield zr(Tt.ObjectMinProperties,se,ct,wt)),Or(se.maxProperties)&&!(Object.getOwnPropertyNames(wt).length<=se.maxProperties)&&(yield zr(Tt.ObjectMaxProperties,se,ct,wt));const[En,ei]=Object.entries(se.patternProperties)[0],As=new RegExp(En);for(const[xs,ya]of Object.entries(wt))As.test(xs)&&(yield*Mi(ei,_r,`${ct}/${Vr(xs)}`,ya));if(typeof se.additionalProperties=="object")for(const[xs,ya]of Object.entries(wt))As.test(xs)||(yield*Mi(se.additionalProperties,_r,`${ct}/${Vr(xs)}`,ya));if(se.additionalProperties===!1){for(const[xs,ya]of Object.entries(wt))if(!As.test(xs))return yield zr(Tt.ObjectAdditionalProperties,se,`${ct}/${Vr(xs)}`,ya)}}function*eo(se,_r,ct,wt){yield*Mi(g(se,_r),_r,ct,wt)}function*wa(se,_r,ct,wt){if(!(0,s.IP)(wt))return yield zr(Tt.String,se,ct,wt);if(Or(se.minLength)&&!(wt.length>=se.minLength)&&(yield zr(Tt.StringMinLength,se,ct,wt)),Or(se.maxLength)&&!(wt.length<=se.maxLength)&&(yield zr(Tt.StringMaxLength,se,ct,wt)),!new RegExp(se.source,se.flags).test(wt))return yield zr(Tt.RegExp,se,ct,wt)}function*da(se,_r,ct,wt){if(!(0,s.IP)(wt))return yield zr(Tt.String,se,ct,wt);Or(se.minLength)&&!(wt.length>=se.minLength)&&(yield zr(Tt.StringMinLength,se,ct,wt)),Or(se.maxLength)&&!(wt.length<=se.maxLength)&&(yield zr(Tt.StringMaxLength,se,ct,wt)),(0,s.IP)(se.pattern)&&(new RegExp(se.pattern).test(wt)||(yield zr(Tt.StringPattern,se,ct,wt))),(0,s.IP)(se.format)&&(Xt(se.format)?Lt(se.format)(wt)||(yield zr(Tt.StringFormat,se,ct,wt)):yield zr(Tt.StringFormatUnknown,se,ct,wt))}function*js(se,_r,ct,wt){(0,s.nH)(wt)||(yield zr(Tt.Symbol,se,ct,wt))}function*ce(se,_r,ct,wt){if(!(0,s.IP)(wt))return yield zr(Tt.String,se,ct,wt);new RegExp(se.pattern).test(wt)||(yield zr(Tt.StringPattern,se,ct,wt))}function*ze(se,_r,ct,wt){yield*Mi(g(se,_r),_r,ct,wt)}function*Nt(se,_r,ct,wt){if(!(0,s.QS)(wt))return yield zr(Tt.Tuple,se,ct,wt);if(se.items===void 0&&wt.length!==0)return yield zr(Tt.TupleLength,se,ct,wt);if(wt.length!==se.maxItems)return yield zr(Tt.TupleLength,se,ct,wt);if(se.items)for(let En=0;En<se.items.length;En++)yield*Mi(se.items[En],_r,`${ct}/${En}`,wt[En])}function*Pr(se,_r,ct,wt){(0,s.R1)(wt)||(yield zr(Tt.Undefined,se,ct,wt))}function*pn(se,_r,ct,wt){if(Ke(se,_r,wt))return;const En=se.anyOf.map(ei=>new Pn(Mi(ei,_r,ct,wt)));yield zr(Tt.Union,se,ct,wt,En)}function*ci(se,_r,ct,wt){if(!(0,s.G4)(wt))return yield zr(Tt.Uint8Array,se,ct,wt);Or(se.maxByteLength)&&!(wt.length<=se.maxByteLength)&&(yield zr(Tt.Uint8ArrayMaxByteLength,se,ct,wt)),Or(se.minByteLength)&&!(wt.length>=se.minByteLength)&&(yield zr(Tt.Uint8ArrayMinByteLength,se,ct,wt))}function*Wi(se,_r,ct,wt){}function*qi(se,_r,ct,wt){r.Q.IsVoidLike(wt)||(yield zr(Tt.Void,se,ct,wt))}function*Li(se,_r,ct,wt){Fn(se[i.b8])(se,wt)||(yield zr(Tt.Kind,se,ct,wt))}function*Mi(se,_r,ct,wt){const En=Or(se.$id)?[..._r,se]:_r,ei=se;switch(ei[i.b8]){case"Any":return yield*Hn(ei,En,ct,wt);case"Argument":return yield*fi(ei,En,ct,wt);case"Array":return yield*Ti(ei,En,ct,wt);case"AsyncIterator":return yield*ss(ei,En,ct,wt);case"BigInt":return yield*xi(ei,En,ct,wt);case"Boolean":return yield*ms(ei,En,ct,wt);case"Constructor":return yield*wi(ei,En,ct,wt);case"Date":return yield*Ls(ei,En,ct,wt);
1003case"Function":return yield*as(ei,En,ct,wt);case"Import":return yield*rs(ei,En,ct,wt);case"Integer":return yield*xa(ei,En,ct,wt);case"Intersect":return yield*ka(ei,En,ct,wt);case"Iterator":return yield*Is(ei,En,ct,wt);case"Literal":return yield*Ms(ei,En,ct,wt);case"Never":return yield*Gs(ei,En,ct,wt);case"Not":return yield*ks(ei,En,ct,wt);case"Null":return yield*ha(ei,En,ct,wt);case"Number":return yield*Ys(ei,En,ct,wt);case"Object":return yield*Ea(ei,En,ct,wt);case"Promise":return yield*ia(ei,En,ct,wt);case"Record":return yield*us(ei,En,ct,wt);case"Ref":return yield*eo(ei,En,ct,wt);case"RegExp":return yield*wa(ei,En,ct,wt);case"String":return yield*da(ei,En,ct,wt);case"Symbol":return yield*js(ei,En,ct,wt);case"TemplateLiteral":return yield*ce(ei,En,ct,wt);case"This":return yield*ze(ei,En,ct,wt);case"Tuple":return yield*Nt(ei,En,ct,wt);case"Undefined":return yield*Pr(ei,En,ct,wt);case"Union":return yield*pn(ei,En,ct,wt);case"Uint8Array":return yield*ci(ei,En,ct,wt);case"Unknown":return yield*Wi(ei,En,ct,wt);case"Void":return yield*qi(ei,En,ct,wt);default:if(!Kr(ei[i.b8]))throw new qr(se);return yield*Li(ei,En,ct,wt)}}function _a(...se){const _r=se.length===3?Mi(se[0],se[1],"",se[2]):Mi(se[0],[],"",se[1]);return new Pn(_r)}var io,za,so=function(se,_r,ct,wt,En){if(wt==="m")throw new TypeError("Private method is not writable");if(wt==="a"&&!En)throw new TypeError("Private accessor was defined without a setter");if(typeof _r=="function"?se!==_r||!En:!_r.has(se))throw new TypeError("Cannot write private member to an object whose class did not declare it");return wt==="a"?En.call(se,ct):En?En.value=ct:_r.set(se,ct),ct},ys=function(se,_r,ct,wt){if(ct==="a"&&!wt)throw new TypeError("Private accessor was defined without a getter");if(typeof _r=="function"?se!==_r||!wt:!_r.has(se))throw new TypeError("Cannot read private member from an object whose class did not declare it");return ct==="m"?wt:ct==="a"?wt.call(se):wt?wt.value:_r.get(se)},Cr,$a,ln;class va extends a.i{constructor(_r){const ct=_r.First();super(ct===void 0?"Invalid Value":ct.message),Cr.add(this),$a.set(this,void 0),so(this,$a,_r,"f"),this.error=ct}Errors(){return new Pn(ys(this,Cr,"m",ln).call(this))}}$a=new WeakMap,Cr=new WeakSet,ln=function*(){this.error&&(yield this.error),yield*ys(this,$a,"f")};function Da(se,_r,ct){if(!za(se,_r,ct))throw new va(io(se,_r,ct))}function zs(...se){return se.length===3?Da(se[0],se[1],se[2]):Da(se[0],[],se[1])}class Ks extends va{constructor(_r){super(_r),this.error!=null&&(this.message=this.error.path===""?this.error.message:`${this.error.path.substring(1)} - ${this.error.message}`)}}function Aa(se,_r){if(!Ke(se,_r))throw new Ks(new Pn(pa(se,_r)))}function*pa(se,_r){for(const ct of _a(se,_r)){const wt=ct.schema;(0,n.AGQ)(wt)?yield*Pt({...ct,schema:wt}):(0,n.iYA)(wt)?yield*bn(ct.path,pa(wt.anyOf[0],ct.value)):yield ct}}function*Pt(se){const{path:_r,schema:ct,value:wt}=se;if(!$t(wt)){yield se;return}const En=ct[n.lVo];let ei=xr(ct),As=!1;const xs=new Map(ei.map(ya=>[ya,$r(ya)]));for(const ya of En){const Zo=new Array;let fo=!1;for(const Qa of ei){const $u=xs.get(Qa)?.[ya];fo||=$u!=null&&ut.X$($u),ut.gP($u)&&($u.const===wt[ya]||fo&&wt[ya]===void 0)&&Zo.push(Qa)}ei=Zo,wt[ya]==null&&!fo&&(yield{type:Tt.Union,schema:ct,value:wt,path:_r,message:`Could not satisfy discriminated union, missing property "${ya}"`,errors:[]},As=!0)}if(!As){if(ei.length!==1){yield{type:Tt.Union,schema:ct,value:wt,path:_r,message:`Could not satisfy discriminated union, no match for properties ${En.map(ya=>`"${ya}: ${String(wt[ya])}"`).join(", ")}`,errors:[]};return}yield*bn(_r,pa(ei[0],wt))}}function $t(se){return se!=null&&typeof se=="object"}function xr(se){return se.anyOf.flatMap(_r=>ut.my(_r)?xr(_r):[_r])}function $r(se){return ut.av(se)?se.properties:ut.Yq(se)?se.allOf.reduce((_r,ct)=>{if(_r===null)return null;const wt=$r(ct);return wt===null?null:Object.assign(_r,wt)},{}):null}function*bn(se,_r){for(const ct of _r)yield{...ct,path:se+ct.path}}function Yr(se){return(_r=>Ke(se,_r))}function ge(se){return _r=>{Aa(se,_r)}}const je=Yr(n.aeh),bt=ge(n.aeh),yt=se=>!!se.defaultLocaleId,sr=se=>!yt(se),pr=Yr(n.Nke),hr=ge(n.Nke),Xn=Yr(n.JxH),Un=ge(n.JxH),Fi=Yr(n.aCm),ti=ge(n.aCm),Ai=Yr(n.eBw),qn=ge(n.eBw),$e=Yr(n.aOL),Je=ge(n.aOL),Ct=Yr(n.k_s),Ot=ge(n.k_s),Wt=Yr(n.u33),Er=ge(n.u33),Hr=Yr(n.cAr),mn=ge(n.cAr),di=Yr(n._D9),si=ge(n._D9),Pe=Yr(n.mrj),He=ge(n.mrj),ft=Yr(n.BlA),Le=ge(n.BlA),De=Yr(n.eKG),lt=ge(n.eKG),gt=Yr(n.vSk),Zt=ge(n.vSk),xn=Yr(n.d9Z),dn=ge(n.d9Z),vn=Yr(n.$Wv),$n=ge(n.$Wv),Ui=Yr(n.n8i),hs=ge(n.n8i),Qn=Yr(n.WHl),ki=ge(n.WHl),Oi=Yr(n.CXD),Ei=ge(n.CXD),ma=Yr(n.Hck),Fs=ge(n.Hck),Ha=Yr(n.m91),
1003Cs=ge(n.m91),qs=Yr(n._FT),Wa=ge(n._FT),Oa=Yr(n.PbZ),Na=ge(n.PbZ),Qo=Yr(n.B3m),$s=ge(n.B3m),ra=Yr(n.thO),bs=ge(n.thO),Ia=Yr(n.GAO),Eu=ge(n.GAO),oo=Yr(n.Y0),ju=ge(n.Y0),xo=Yr(n.Qzd),$=ge(n.Qzd),z=Yr(n.ylx),ee=ge(n.ylx),pe=Yr(n.ZfR),Ce=ge(n.ZfR),Be=Yr(n.HL2),at=ge(n.HL2),vt=Yr(n.sMs),Bt=ge(n.sMs),mr=Yr(n.evW),zt=ge(n.evW),jr=Yr(n.j7p),Rn=ge(n.j7p),Jn=Yr(n.fQW),Yn=ge(n.fQW),gi=Yr(n.$zI),Ni=ge(n.$zI),Ii=Yr(n.j0T),es=ge(n.j0T),ur=Yr(n.J6u),on=ge(n.J6u),kr=Yr(n.qMG),jn=ge(n.qMG),ts=Yr(n.GYN),is=ge(n.GYN),_i=Yr(n.Mb1),Ps=ge(n.Mb1),Do=Yr(n.npW),zu=ge(n.npW),Va=Yr(n.b2U),ol=ge(n.b2U),Pu=Yr(n.gCZ),Eo=ge(n.gCZ),sa=Yr(n.D2B),Ru=ge(n.D2B),Ca=Yr(n.lYD),Kc=ge(n.lYD),ul=Yr(n.Tot),bl=ge(n.Tot),Jo=Yr(n.Wo_),Xc=ge(n.Wo_),pc=Yr(n.YEc),Bs=ge(n.YEc),Lo=Yr(n.Mik),uo=ge(n.Mik),Oo=Yr(n.hJT),Du=ge(n.hJT)},32229(f,d,e){"use strict";e.d(d,{A:()=>n});function n(){return n=Object.assign?Object.assign.bind():function(r){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])}return r},n.apply(this,arguments)}},47885(f,d,e){"use strict";e.d(d,{A:()=>r});
vendor: 4,704 bytes, line 1003
1003function n(a,i){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,l){return u.__proto__=l,u},n(a,i)}function r(a,i){a.prototype=Object.create(i.prototype),a.prototype.constructor=a,n(a,i)}},17812(f,d,e){"use strict";e.d(d,{A:()=>n});function n(r,a){if(r==null)return{};var i={};for(var s in r)if(Object.prototype.hasOwnProperty.call(r,s)){if(a.indexOf(s)>=0)continue;i[s]=r[s]}return i}},54051(f,d,e){"use strict";e.d(d,{FZ:()=>s});var n=e(89560);const{Axios:r,AxiosError:a,CanceledError:i,isCancel:s,CancelToken:u,VERSION:l,all:m,Cancel:g,isAxiosError:h,spread:v,toFormData:b,AxiosHeaders:T,HttpStatusCode:E,formToJSON:w,getAdapter:C,mergeConfig:O}=n.A},89560(f,d,e){"use strict";e.d(d,{A:()=>si});var n={};e.r(n),e.d(n,{hasBrowserEnv:()=>Ke,hasStandardBrowserEnv:()=>Kt,hasStandardBrowserWebWorkerEnv:()=>ar,navigator:()=>ut,origin:()=>Wn});function r(Pe,He){return function(){return Pe.apply(He,arguments)}}const{toString:a}=Object.prototype,{getPrototypeOf:i}=Object,{iterator:s,toStringTag:u}=Symbol,l=(Pe=>He=>{const ft=a.call(He);return Pe[ft]||(Pe[ft]=ft.slice(8,-1).toLowerCase())})(Object.create(null)),m=Pe=>(Pe=Pe.toLowerCase(),He=>l(He)===Pe),g=Pe=>He=>typeof He===Pe,{isArray:h}=Array,v=g("undefined");function b(Pe){return Pe!==null&&!v(Pe)&&Pe.constructor!==null&&!v(Pe.constructor)&&C(Pe.constructor.isBuffer)&&Pe.constructor.isBuffer(Pe)}const T=m("ArrayBuffer");function E(Pe){let He;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?He=ArrayBuffer.isView(Pe):He=Pe&&Pe.buffer&&T(Pe.buffer),He}const w=g("string"),C=g("function"),O=g("number"),U=Pe=>Pe!==null&&typeof Pe=="object",D=Pe=>Pe===!0||Pe===!1,F=Pe=>{if(l(Pe)!=="object")return!1;const He=i(Pe);return(He===null||He===Object.prototype||Object.getPrototypeOf(He)===null)&&!(u in Pe)&&!(s in Pe)},j=Pe=>{if(!U(Pe)||b(Pe))return!1;try{return Object.keys(Pe).length===0&&Object.getPrototypeOf(Pe)===Object.prototype}catch{return!1}},M=m("Date"),W=m("File"),V=Pe=>!!(Pe&&typeof Pe.uri<"u"),q=Pe=>Pe&&typeof Pe.getParts<"u",J=m("Blob"),re=m("FileList"),he=Pe=>U(Pe)&&C(Pe.pipe);function fe(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const ae=fe(),ye=typeof ae.FormData<"u"?ae.FormData:void 0,ve=Pe=>{let He;return Pe&&(ye&&Pe instanceof ye||C(Pe.append)&&((He=l(Pe))==="formdata"||He==="object"&&C(Pe.toString)&&Pe.toString()==="[object FormData]"))},Ue=m("URLSearchParams"),[We,de,xe,Fe]=["ReadableStream","Request","Response","Headers"].map(m),Xe=Pe=>Pe.trim?Pe.trim():Pe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Me(Pe,He,{allOwnKeys:ft=!1}={}){if(Pe===null||typeof Pe>"u")return;let Le,De;if(typeof Pe!="object"&&(Pe=[Pe]),h(Pe))for(Le=0,De=Pe.length;Le<De;Le++)He.call(null,Pe[Le],Le,Pe);else{if(b(Pe))return;const lt=ft?Object.getOwnPropertyNames(Pe):Object.keys(Pe),gt=lt.length;let Zt;for(Le=0;Le<gt;Le++)Zt=lt[Le],He.call(null,Pe[Zt],Zt,Pe)}}function Ze(Pe,He){if(b(Pe))return null;He=He.toLowerCase();const ft=Object.keys(Pe);let Le=ft.length,De;for(;Le-- >0;)if(De=ft[Le],He===De.toLowerCase())return De;return null}const rt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:globalThis,mt=Pe=>!v(Pe)&&Pe!==rt;function Xt(){const{caseless:Pe,skipUndefined:He}=mt(this)&&this||{},ft={},Le=(De,lt)=>{if(lt==="__proto__"||lt==="constructor"||lt==="prototype")return;const gt=Pe&&Ze(ft,lt)||lt;F(ft[gt])&&F(De)?ft[gt]=Xt(ft[gt],De):F(De)?ft[gt]=Xt({},De):h(De)?ft[gt]=De.slice():(!He||!v(De))&&(ft[gt]=De)};for(let De=0,lt=arguments.length;De<lt;De++)arguments[De]&&Me(arguments[De],Le);return ft}const jt=(Pe,He,ft,{allOwnKeys:Le}={})=>(Me(He,(De,lt)=>{ft&&C(De)?Object.defineProperty(Pe,lt,{value:r(De,ft),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(Pe,lt,{value:De,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:Le}),Pe),Lt=Pe=>(Pe.charCodeAt(0)===65279&&(Pe=Pe.slice(1)),Pe),Ht=(Pe,He,ft,Le)=>{Pe.prototype=Object.create(He.prototype,Le),Object.defineProperty(Pe.prototype,"constructor",{value:Pe,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(Pe,"super",{value:He.prototype}),ft&&Object.assign(Pe.prototype,ft)},vr=(Pe,He,ft,Le)=>{let De,lt,gt;const Zt={};if(He=He||{},Pe==null)return He;do{for(De=Object.getOwnPropertyNames(Pe),lt=De.length;lt-- >0;)gt=De[lt],(!Le||Le(gt,Pe,He))&&!Zt[gt]&&(He[gt]=Pe[gt],Zt[gt]=!0);Pe=ft!==!1&&i(Pe)}while(Pe&&(!ft||ft(Pe,He))&&Pe!==Object.prototype);return He},Fr=(Pe,He,ft)=>{Pe=String(Pe),(ft===void 0||ft>Pe.length)&&(ft=Pe.length),ft-=He.length;const Le=Pe.indexOf(He,ft);return Le!==-1&&Le===ft},fn=Pe=>{if(!Pe)return null;if(h(Pe))return Pe;let He=Pe.length;if(!O(He))return null;
vendor: 9,332 bytes, line 1003
1003const ft=new Array(He);for(;He-- >0;)ft[He]=Pe[He];return ft},Kr=(Pe=>He=>Pe&&He instanceof Pe)(typeof Uint8Array<"u"&&i(Uint8Array)),Sn=(Pe,He)=>{const Le=(Pe&&Pe[s]).call(Pe);let De;for(;(De=Le.next())&&!De.done;){const lt=De.value;He.call(Pe,lt[0],lt[1])}},Fn=(Pe,He)=>{let ft;const Le=[];for(;(ft=Pe.exec(He))!==null;)Le.push(ft);return Le},Et=m("HTMLFormElement"),st=Pe=>Pe.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(ft,Le,De){return Le.toUpperCase()+De}),Wr=(({hasOwnProperty:Pe})=>(He,ft)=>Pe.call(He,ft))(Object.prototype),Dr=m("RegExp"),Tr=(Pe,He)=>{const ft=Object.getOwnPropertyDescriptors(Pe),Le={};Me(ft,(De,lt)=>{let gt;(gt=He(De,lt,Pe))!==!1&&(Le[lt]=gt||De)}),Object.defineProperties(Pe,Le)},gr=Pe=>{Tr(Pe,(He,ft)=>{if(C(Pe)&&["arguments","caller","callee"].indexOf(ft)!==-1)return!1;const Le=Pe[ft];if(C(Le)){if(He.enumerable=!1,"writable"in He){He.writable=!1;return}He.set||(He.set=()=>{throw Error("Can not rewrite read-only method '"+ft+"'")})}})},ir=(Pe,He)=>{const ft={},Le=De=>{De.forEach(lt=>{ft[lt]=!0})};return h(Pe)?Le(Pe):Le(String(Pe).split(He)),ft},Mr=()=>{},Lr=(Pe,He)=>Pe!=null&&Number.isFinite(Pe=+Pe)?Pe:He;function un(Pe){return!!(Pe&&C(Pe.append)&&Pe[u]==="FormData"&&Pe[s])}const hn=Pe=>{const He=new Array(10),ft=(Le,De)=>{if(U(Le)){if(He.indexOf(Le)>=0)return;if(b(Le))return Le;if(!("toJSON"in Le)){He[De]=Le;const lt=h(Le)?[]:{};return Me(Le,(gt,Zt)=>{const xn=ft(gt,De+1);!v(xn)&&(lt[Zt]=xn)}),He[De]=void 0,lt}}return Le};return ft(Pe,0)},rr=m("AsyncFunction"),Gr=Pe=>Pe&&(U(Pe)||C(Pe))&&C(Pe.then)&&C(Pe.catch),er=((Pe,He)=>Pe?setImmediate:He?((ft,Le)=>(rt.addEventListener("message",({source:De,data:lt})=>{De===rt&<===ft&&Le.length&&Le.shift()()},!1),De=>{Le.push(De),rt.postMessage(ft,"*")}))(`axios@${Math.random()}`,[]):ft=>setTimeout(ft))(typeof setImmediate=="function",C(rt.postMessage)),At=typeof queueMicrotask<"u"?queueMicrotask.bind(rt):typeof process<"u"&&process.nextTick||er,Y={isArray:h,isArrayBuffer:T,isBuffer:b,isFormData:ve,isArrayBufferView:E,isString:w,isNumber:O,isBoolean:D,isObject:U,isPlainObject:F,isEmptyObject:j,isReadableStream:We,isRequest:de,isResponse:xe,isHeaders:Fe,isUndefined:v,isDate:M,isFile:W,isReactNativeBlob:V,isReactNative:q,isBlob:J,isRegExp:Dr,isFunction:C,isStream:he,isURLSearchParams:Ue,isTypedArray:Kr,isFileList:re,forEach:Me,merge:Xt,extend:jt,trim:Xe,stripBOM:Lt,inherits:Ht,toFlatObject:vr,kindOf:l,kindOfTest:m,endsWith:Fr,toArray:fn,forEachEntry:Sn,matchAll:Fn,isHTMLForm:Et,hasOwnProperty:Wr,hasOwnProp:Wr,reduceDescriptors:Tr,freezeMethods:gr,toObjectSet:ir,toCamelCase:st,noop:Mr,toFiniteNumber:Lr,findKey:Ze,global:rt,isContextDefined:mt,isSpecCompliantForm:un,toJSONObject:hn,isAsyncFn:rr,isThenable:Gr,setImmediate:er,asap:At,isIterable:Pe=>Pe!=null&&C(Pe[s])};class ot extends Error{static from(He,ft,Le,De,lt,gt){const Zt=new ot(He.message,ft||He.code,Le,De,lt);return Zt.cause=He,Zt.name=He.name,He.status!=null&&Zt.status==null&&(Zt.status=He.status),gt&&Object.assign(Zt,gt),Zt}constructor(He,ft,Le,De,lt){super(He),Object.defineProperty(this,"message",{value:He,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,ft&&(this.code=ft),Le&&(this.config=Le),De&&(this.request=De),lt&&(this.response=lt,this.status=lt.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y.toJSONObject(this.config),code:this.code,status:this.status}}}ot.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",ot.ERR_BAD_OPTION="ERR_BAD_OPTION",ot.ECONNABORTED="ECONNABORTED",ot.ETIMEDOUT="ETIMEDOUT",ot.ERR_NETWORK="ERR_NETWORK",ot.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",ot.ERR_DEPRECATED="ERR_DEPRECATED",ot.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",ot.ERR_BAD_REQUEST="ERR_BAD_REQUEST",ot.ERR_CANCELED="ERR_CANCELED",ot.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",ot.ERR_INVALID_URL="ERR_INVALID_URL";const Yt=ot,it=null;function Mt(Pe){return Y.isPlainObject(Pe)||Y.isArray(Pe)}function an(Pe){return Y.endsWith(Pe,"[]")?Pe.slice(0,-2):Pe}function Cn(Pe,He,ft){return Pe?Pe.concat(He).map(function(De,lt){return De=an(De),!ft&<?"["+De+"]":De}).join(ft?".":""):He}function Ln(Pe){return Y.isArray(Pe)&&!Pe.some(Mt)}const In=Y.toFlatObject(Y,{},null,function(He){return/^is[A-Z]/.test(He)});function Si(Pe,He,ft){if(!Y.isObject(Pe))throw new TypeError("target must be an object");He=He||new(it||FormData),ft=Y.toFlatObject(ft,{metaTokens:!0,dots:!1,indexes:!1},!1,function(ki,Oi){return!Y.isUndefined(Oi[ki])});const Le=ft.metaTokens,De=ft.visitor||vn,lt=ft.dots,gt=ft.indexes,xn=(ft.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(He);if(!Y.isFunction(De))throw new TypeError("visitor must be a function");function dn(Qn){if(Qn===null)return"";if(Y.isDate(Qn))return Qn.toISOString();if(Y.isBoolean(Qn))return Qn.toString();if(!xn&&Y.isBlob(Qn))throw new Yt("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(Qn)||Y.isTypedArray(Qn)?xn&&typeof Blob=="function"?new Blob([Qn]):Buffer.from(Qn):Qn}function vn(Qn,ki,Oi){let Ei=Qn;if(Y.isReactNative(He)&&Y.isReactNativeBlob(Qn))return He.append(Cn(Oi,ki,lt),dn(Qn)),!1;if(Qn&&!Oi&&typeof Qn=="object"){if(Y.endsWith(ki,"{}"))ki=Le?ki:ki.slice(0,-2),Qn=JSON.stringify(Qn);else if(Y.isArray(Qn)&&Ln(Qn)||(Y.isFileList(Qn)||Y.endsWith(ki,"[]"))&&(Ei=Y.toArray(Qn)))return ki=an(ki),Ei.forEach(function(Fs,Ha){!(Y.isUndefined(Fs)||Fs===null)&&He.append(gt===!0?Cn([ki],Ha,lt):gt===null?ki:ki+"[]",dn(Fs))}),!1}return Mt(Qn)?!0:(He.append(Cn(Oi,ki,lt),dn(Qn)),!1)}const $n=[],Ui=Object.assign(In,{defaultVisitor:vn,convertValue:dn,isVisitable:Mt});function hs(Qn,ki){if(!Y.isUndefined(Qn)){if($n.indexOf(Qn)!==-1)throw Error("Circular reference detected in "+ki.join("."));$n.push(Qn),Y.forEach(Qn,function(Ei,ma){(!(Y.isUndefined(Ei)||Ei===null)&&De.call(He,Ei,Y.isString(ma)?ma.trim():ma,ki,Ui))===!0&&hs(Ei,ki?ki.concat(ma):[ma])}),$n.pop()}}if(!Y.isObject(Pe))throw new TypeError("data must be an object");return hs(Pe),He}const $i=Si;function tn(Pe){const He={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(Pe).replace(/[!'()~]|%20|%00/g,function(Le){return He[Le]})}function Hi(Pe,He){this._pairs=[],Pe&&$i(Pe,this,He)}const Ji=Hi.prototype;Ji.append=function(He,ft){this._pairs.push([He,ft])},Ji.toString=function(He){const ft=He?function(Le){return He.call(this,Le,tn)}:tn;return this._pairs.map(function(De){return ft(De[0])+"="+ft(De[1])},"").join("&")};const Yi=Hi;function Ki(Pe){return encodeURIComponent(Pe).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function mi(Pe,He,ft){if(!He)return Pe;const Le=ft&&ft.encode||Ki,De=Y.isFunction(ft)?{serialize:ft}:ft,lt=De&&De.serialize;let gt;if(lt?gt=lt(He,De):gt=Y.isURLSearchParams(He)?He.toString():new Yi(He,De).toString(Le),gt){const Zt=Pe.indexOf("#");Zt!==-1&&(Pe=Pe.slice(0,Zt)),Pe+=(Pe.indexOf("?")===-1?"?":"&")+gt}return Pe}class ws{constructor(){this.handlers=[]}use(He,ft,Le){return this.handlers.push({fulfilled:He,rejected:ft,synchronous:Le?Le.synchronous:!1,runWhen:Le?Le.runWhen:null}),this.handlers.length-1}eject(He){this.handlers[He]&&(this.handlers[He]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(He){Y.forEach(this.handlers,function(Le){Le!==null&&He(Le)})}}const Zn=ws,fs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},we={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Yi,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Ke=typeof window<"u"&&typeof document<"u",ut=typeof navigator=="object"&&navigator||void 0,Kt=Ke&&(!ut||["ReactNative","NativeScript","NS"].indexOf(ut.product)<0),ar=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Wn=Ke&&window.location.href||"http://localhost",hi={...n,...we};function Tt(Pe,He){return $i(Pe,new hi.classes.URLSearchParams,{visitor:function(ft,Le,De,lt){return hi.isNode&&Y.isBuffer(ft)?(this.append(Le,ft.toString("base64")),!1):lt.defaultVisitor.apply(this,arguments)},...He})}function qr(Pe){return Y.matchAll(/\w+|\[(\w*)]/g,Pe).map(He=>He[0]==="[]"?"":He[1]||He[0])}function Vr(Pe){const He={},ft=Object.keys(Pe);let Le;const De=ft.length;let lt;for(Le=0;Le<De;Le++)lt=ft[Le],He[lt]=Pe[lt];return He}function Or(Pe){function He(ft,Le,De,lt){let gt=ft[lt++];if(gt==="__proto__")return!0;const Zt=Number.isFinite(+gt),xn=lt>=ft.length;return gt=!gt&&Y.isArray(De)?De.length:gt,xn?(Y.hasOwnProp(De,gt)?De[gt]=[De[gt],Le]:De[gt]=Le,!Zt):((!De[gt]||!Y.isObject(De[gt]))&&(De[gt]=[]),He(ft,Le,De[gt],lt)&&Y.isArray(De[gt])&&(De[gt]=Vr(De[gt])),!Zt)}if(Y.isFormData(Pe)&&Y.isFunction(Pe.entries)){const ft={};return Y.forEachEntry(Pe,(Le,De)=>{He(qr(Le),De,ft,0)}),ft}return null}const Pn=Or;function zr(Pe,He,ft){if(Y.isString(Pe))try{return(He||JSON.parse)(Pe),Y.trim(Pe)}catch(Le){if(Le.name!=="SyntaxError")throw Le}return(ft||JSON.stringify)(Pe)}const Hn={transitional:fs,adapter:["xhr","http","fetch"],transformRequest:[function(He,ft){const Le=ft.getContentType()||"",De=Le.indexOf("application/json")>-1,lt=Y.isObject(He);
vendor: 5,741 bytes, lines 1003-1005
1003if(lt&&Y.isHTMLForm(He)&&(He=new FormData(He)),Y.isFormData(He))return De?JSON.stringify(Pn(He)):He;if(Y.isArrayBuffer(He)||Y.isBuffer(He)||Y.isStream(He)||Y.isFile(He)||Y.isBlob(He)||Y.isReadableStream(He))return He;if(Y.isArrayBufferView(He))return He.buffer;if(Y.isURLSearchParams(He))return ft.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),He.toString();let Zt;if(lt){if(Le.indexOf("application/x-www-form-urlencoded")>-1)return Tt(He,this.formSerializer).toString();if((Zt=Y.isFileList(He))||Le.indexOf("multipart/form-data")>-1){const xn=this.env&&this.env.FormData;return $i(Zt?{"files[]":He}:He,xn&&new xn,this.formSerializer)}}return lt||De?(ft.setContentType("application/json",!1),zr(He)):He}],transformResponse:[function(He){const ft=this.transitional||Hn.transitional,Le=ft&&ft.forcedJSONParsing,De=this.responseType==="json";if(Y.isResponse(He)||Y.isReadableStream(He))return He;if(He&&Y.isString(He)&&(Le&&!this.responseType||De)){const gt=!(ft&&ft.silentJSONParsing)&&De;try{return JSON.parse(He,this.parseReviver)}catch(Zt){if(gt)throw Zt.name==="SyntaxError"?Yt.from(Zt,Yt.ERR_BAD_RESPONSE,this,null,this.response):Zt}}return He}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:hi.classes.FormData,Blob:hi.classes.Blob},validateStatus:function(He){return He>=200&&He<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],Pe=>{Hn.headers[Pe]={}});const fi=Hn,Ti=Y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ss=(Pe=>{const He={};let ft,Le,De;return Pe&&Pe.split(` 1004`).forEach(function(gt){De=gt.indexOf(":"),ft=gt.substring(0,De).trim().toLowerCase(),Le=gt.substring(De+1).trim(),!(!ft||He[ft]&&Ti[ft])&&(ft==="set-cookie"?He[ft]?He[ft].push(Le):He[ft]=[Le]:He[ft]=He[ft]?He[ft]+", "+Le:Le)}),He}),xi=Symbol("internals");function ms(Pe){return Pe&&String(Pe).trim().toLowerCase()}function wi(Pe){return Pe===!1||Pe==null?Pe:Y.isArray(Pe)?Pe.map(wi):String(Pe)}function Ls(Pe){const He=Object.create(null),ft=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let Le;for(;Le=ft.exec(Pe);)He[Le[1]]=Le[2];return He}const as=Pe=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(Pe.trim());function rs(Pe,He,ft,Le,De){if(Y.isFunction(Le))return Le.call(this,He,ft);if(De&&(He=ft),!!Y.isString(He)){if(Y.isString(Le))return He.indexOf(Le)!==-1;if(Y.isRegExp(Le))return Le.test(He)}}function xa(Pe){return Pe.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(He,ft,Le)=>ft.toUpperCase()+Le)}function ka(Pe,He){const ft=Y.toCamelCase(" "+He);["get","set","has"].forEach(Le=>{Object.defineProperty(Pe,Le+ft,{value:function(De,lt,gt){return this[Le].call(this,He,De,lt,gt)},configurable:!0})})}class Is{constructor(He){He&&this.set(He)}set(He,ft,Le){const De=this;function lt(Zt,xn,dn){const vn=ms(xn);if(!vn)throw new Error("header name must be a non-empty string");const $n=Y.findKey(De,vn);(!$n||De[$n]===void 0||dn===!0||dn===void 0&&De[$n]!==!1)&&(De[$n||xn]=wi(Zt))}const gt=(Zt,xn)=>Y.forEach(Zt,(dn,vn)=>lt(dn,vn,xn));if(Y.isPlainObject(He)||He instanceof this.constructor)gt(He,ft);else if(Y.isString(He)&&(He=He.trim())&&!as(He))gt(ss(He),ft);else if(Y.isObject(He)&&Y.isIterable(He)){let Zt={},xn,dn;for(const vn of He){if(!Y.isArray(vn))throw TypeError("Object iterator must return a key-value pair");Zt[dn=vn[0]]=(xn=Zt[dn])?Y.isArray(xn)?[...xn,vn[1]]:[xn,vn[1]]:vn[1]}gt(Zt,ft)}else He!=null&<(ft,He,Le);return this}get(He,ft){if(He=ms(He),He){const Le=Y.findKey(this,He);if(Le){const De=this[Le];if(!ft)return De;if(ft===!0)return Ls(De);if(Y.isFunction(ft))return ft.call(this,De,Le);if(Y.isRegExp(ft))return ft.exec(De);throw new TypeError("parser must be boolean|regexp|function")}}}has(He,ft){if(He=ms(He),He){const Le=Y.findKey(this,He);return!!(Le&&this[Le]!==void 0&&(!ft||rs(this,this[Le],Le,ft)))}return!1}delete(He,ft){const Le=this;let De=!1;function lt(gt){if(gt=ms(gt),gt){const Zt=Y.findKey(Le,gt);Zt&&(!ft||rs(Le,Le[Zt],Zt,ft))&&(delete Le[Zt],De=!0)}}return Y.isArray(He)?He.forEach(lt):lt(He),De}clear(He){const ft=Object.keys(this);let Le=ft.length,De=!1;for(;Le--;){const lt=ft[Le];(!He||rs(this,this[lt],lt,He,!0))&&(delete this[lt],De=!0)}return De}normalize(He){const ft=this,Le={};return Y.forEach(this,(De,lt)=>{const gt=Y.findKey(Le,lt);if(gt){ft[gt]=wi(De),delete ft[lt];return}const Zt=He?xa(lt):String(lt).trim();Zt!==lt&&delete ft[lt],ft[Zt]=wi(De),Le[Zt]=!0}),this}concat(...He){return this.constructor.concat(this,...He)}toJSON(He){const ft=Object.create(null);return Y.forEach(this,(Le,De)=>{Le!=null&&Le!==!1&&(ft[De]=He&&Y.isArray(Le)?Le.join(", "):Le)}),ft}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([He,ft])=>He+": "+ft).join(` 1005`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(He){return He instanceof this?He:new this(He)}static concat(He,...ft){const Le=new this(He);return ft.forEach(De=>Le.set(De)),Le}static accessor(He){const Le=(this[xi]=this[xi]={accessors:{}}).accessors,De=this.prototype;function lt(gt){const Zt=ms(gt);Le[Zt]||(ka(De,gt),Le[Zt]=!0)}return Y.isArray(He)?He.forEach(lt):lt(He),this}}Is.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(Is.prototype,({value:Pe},He)=>{let ft=He[0].toUpperCase()+He.slice(1);return{get:()=>Pe,set(Le){this[ft]=Le}}}),Y.freezeMethods(Is);const Ms=Is;
vendor: 4,656 bytes, line 1005
1005function Gs(Pe,He){const ft=this||fi,Le=He||ft,De=Ms.from(Le.headers);let lt=Le.data;return Y.forEach(Pe,function(Zt){lt=Zt.call(ft,lt,De.normalize(),He?He.status:void 0)}),De.normalize(),lt}function ks(Pe){return!!(Pe&&Pe.__CANCEL__)}class ha extends Yt{constructor(He,ft,Le){super(He??"canceled",Yt.ERR_CANCELED,ft,Le),this.name="CanceledError",this.__CANCEL__=!0}}const Ys=ha;function Ea(Pe,He,ft){const Le=ft.config.validateStatus;!ft.status||!Le||Le(ft.status)?Pe(ft):He(new Yt("Request failed with status code "+ft.status,[Yt.ERR_BAD_REQUEST,Yt.ERR_BAD_RESPONSE][Math.floor(ft.status/100)-4],ft.config,ft.request,ft))}function ia(Pe){const He=/^([-+\w]{1,25})(:?\/\/|:)/.exec(Pe);return He&&He[1]||""}function us(Pe,He){Pe=Pe||10;const ft=new Array(Pe),Le=new Array(Pe);let De=0,lt=0,gt;return He=He!==void 0?He:1e3,function(xn){const dn=Date.now(),vn=Le[lt];gt||(gt=dn),ft[De]=xn,Le[De]=dn;let $n=lt,Ui=0;for(;$n!==De;)Ui+=ft[$n++],$n=$n%Pe;if(De=(De+1)%Pe,De===lt&&(lt=(lt+1)%Pe),dn-gt<He)return;const hs=vn&&dn-vn;return hs?Math.round(Ui*1e3/hs):void 0}}const eo=us;function wa(Pe,He){let ft=0,Le=1e3/He,De,lt;const gt=(dn,vn=Date.now())=>{ft=vn,De=null,lt&&(clearTimeout(lt),lt=null),Pe(...dn)};return[(...dn)=>{const vn=Date.now(),$n=vn-ft;$n>=Le?gt(dn,vn):(De=dn,lt||(lt=setTimeout(()=>{lt=null,gt(De)},Le-$n)))},()=>De&>(De)]}const da=wa,js=(Pe,He,ft=3)=>{let Le=0;const De=eo(50,250);return da(lt=>{const gt=lt.loaded,Zt=lt.lengthComputable?lt.total:void 0,xn=gt-Le,dn=De(xn),vn=gt<=Zt;Le=gt;const $n={loaded:gt,total:Zt,progress:Zt?gt/Zt:void 0,bytes:xn,rate:dn||void 0,estimated:dn&&Zt&&vn?(Zt-gt)/dn:void 0,event:lt,lengthComputable:Zt!=null,[He?"download":"upload"]:!0};Pe($n)},ft)},ce=(Pe,He)=>{const ft=Pe!=null;return[Le=>He[0]({lengthComputable:ft,total:Pe,loaded:Le}),He[1]]},ze=Pe=>(...He)=>Y.asap(()=>Pe(...He)),Nt=hi.hasStandardBrowserEnv?((Pe,He)=>ft=>(ft=new URL(ft,hi.origin),Pe.protocol===ft.protocol&&Pe.host===ft.host&&(He||Pe.port===ft.port)))(new URL(hi.origin),hi.navigator&&/(msie|trident)/i.test(hi.navigator.userAgent)):()=>!0,Pr=hi.hasStandardBrowserEnv?{write(Pe,He,ft,Le,De,lt,gt){if(typeof document>"u")return;const Zt=[`${Pe}=${encodeURIComponent(He)}`];Y.isNumber(ft)&&Zt.push(`expires=${new Date(ft).toUTCString()}`),Y.isString(Le)&&Zt.push(`path=${Le}`),Y.isString(De)&&Zt.push(`domain=${De}`),lt===!0&&Zt.push("secure"),Y.isString(gt)&&Zt.push(`SameSite=${gt}`),document.cookie=Zt.join("; ")},read(Pe){if(typeof document>"u")return null;const He=document.cookie.match(new RegExp("(?:^|; )"+Pe+"=([^;]*)"));return He?decodeURIComponent(He[1]):null},remove(Pe){this.write(Pe,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function pn(Pe){return typeof Pe!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Pe)}function ci(Pe,He){return He?Pe.replace(/\/?\/$/,"")+"/"+He.replace(/^\/+/,""):Pe}function Wi(Pe,He,ft){let Le=!pn(He);return Pe&&(Le||ft==!1)?ci(Pe,He):He}const qi=Pe=>Pe instanceof Ms?{...Pe}:Pe;function Li(Pe,He){He=He||{};const ft={};function Le(dn,vn,$n,Ui){return Y.isPlainObject(dn)&&Y.isPlainObject(vn)?Y.merge.call({caseless:Ui},dn,vn):Y.isPlainObject(vn)?Y.merge({},vn):Y.isArray(vn)?vn.slice():vn}function De(dn,vn,$n,Ui){if(Y.isUndefined(vn)){if(!Y.isUndefined(dn))return Le(void 0,dn,$n,Ui)}else return Le(dn,vn,$n,Ui)}function lt(dn,vn){if(!Y.isUndefined(vn))return Le(void 0,vn)}function gt(dn,vn){if(Y.isUndefined(vn)){if(!Y.isUndefined(dn))return Le(void 0,dn)}else return Le(void 0,vn)}function Zt(dn,vn,$n){if($n in He)return Le(dn,vn);if($n in Pe)return Le(void 0,dn)}const xn={url:lt,method:lt,data:lt,baseURL:gt,transformRequest:gt,transformResponse:gt,paramsSerializer:gt,timeout:gt,timeoutMessage:gt,withCredentials:gt,withXSRFToken:gt,adapter:gt,responseType:gt,xsrfCookieName:gt,xsrfHeaderName:gt,onUploadProgress:gt,onDownloadProgress:gt,decompress:gt,maxContentLength:gt,maxBodyLength:gt,beforeRedirect:gt,transport:gt,httpAgent:gt,httpsAgent:gt,cancelToken:gt,socketPath:gt,responseEncoding:gt,validateStatus:Zt,headers:(dn,vn,$n)=>De(qi(dn),qi(vn),$n,!0)};return Y.forEach(Object.keys({...Pe,...He}),function(vn){if(vn==="__proto__"||vn==="constructor"||vn==="prototype")return;const $n=Y.hasOwnProp(xn,vn)?xn[vn]:De,Ui=$n(Pe[vn],He[vn],vn);Y.isUndefined(Ui)&&$n!==Zt||(ft[vn]=Ui)}),ft}const Mi=(Pe=>{const He=Li({},Pe);let{data:ft,withXSRFToken:Le,xsrfHeaderName:De,xsrfCookieName:lt,headers:gt,auth:Zt}=He;if(He.headers=gt=Ms.from(gt),He.url=mi(Wi(He.baseURL,He.url,He.allowAbsoluteUrls),Pe.params,Pe.paramsSerializer),Zt&>.set("Authorization","Basic "+btoa((Zt.username||"")+":"+(Zt.password?unescape(encodeURIComponent(Zt.password)):""))),Y.is
vendor: 4,512 bytes, line 1005
1005FormData(ft)){if(hi.hasStandardBrowserEnv||hi.hasStandardBrowserWebWorkerEnv)gt.setContentType(void 0);else if(Y.isFunction(ft.getHeaders)){const xn=ft.getHeaders(),dn=["content-type","content-length"];Object.entries(xn).forEach(([vn,$n])=>{dn.includes(vn.toLowerCase())&>.set(vn,$n)})}}if(hi.hasStandardBrowserEnv&&(Le&&Y.isFunction(Le)&&(Le=Le(He)),Le||Le!==!1&&Nt(He.url))){const xn=De&<&&Pr.read(lt);xn&>.set(De,xn)}return He}),io=typeof XMLHttpRequest<"u"&&function(Pe){return new Promise(function(ft,Le){const De=Mi(Pe);let lt=De.data;const gt=Ms.from(De.headers).normalize();let{responseType:Zt,onUploadProgress:xn,onDownloadProgress:dn}=De,vn,$n,Ui,hs,Qn;function ki(){hs&&hs(),Qn&&Qn(),De.cancelToken&&De.cancelToken.unsubscribe(vn),De.signal&&De.signal.removeEventListener("abort",vn)}let Oi=new XMLHttpRequest;Oi.open(De.method.toUpperCase(),De.url,!0),Oi.timeout=De.timeout;function Ei(){if(!Oi)return;const Fs=Ms.from("getAllResponseHeaders"in Oi&&Oi.getAllResponseHeaders()),Cs={data:!Zt||Zt==="text"||Zt==="json"?Oi.responseText:Oi.response,status:Oi.status,statusText:Oi.statusText,headers:Fs,config:Pe,request:Oi};Ea(function(Wa){ft(Wa),ki()},function(Wa){Le(Wa),ki()},Cs),Oi=null}"onloadend"in Oi?Oi.onloadend=Ei:Oi.onreadystatechange=function(){!Oi||Oi.readyState!==4||Oi.status===0&&!(Oi.responseURL&&Oi.responseURL.indexOf("file:")===0)||setTimeout(Ei)},Oi.onabort=function(){Oi&&(Le(new Yt("Request aborted",Yt.ECONNABORTED,Pe,Oi)),Oi=null)},Oi.onerror=function(Ha){const Cs=Ha&&Ha.message?Ha.message:"Network Error",qs=new Yt(Cs,Yt.ERR_NETWORK,Pe,Oi);qs.event=Ha||null,Le(qs),Oi=null},Oi.ontimeout=function(){let Ha=De.timeout?"timeout of "+De.timeout+"ms exceeded":"timeout exceeded";const Cs=De.transitional||fs;De.timeoutErrorMessage&&(Ha=De.timeoutErrorMessage),Le(new Yt(Ha,Cs.clarifyTimeoutError?Yt.ETIMEDOUT:Yt.ECONNABORTED,Pe,Oi)),Oi=null},lt===void 0&>.setContentType(null),"setRequestHeader"in Oi&&Y.forEach(gt.toJSON(),function(Ha,Cs){Oi.setRequestHeader(Cs,Ha)}),Y.isUndefined(De.withCredentials)||(Oi.withCredentials=!!De.withCredentials),Zt&&Zt!=="json"&&(Oi.responseType=De.responseType),dn&&([Ui,Qn]=js(dn,!0),Oi.addEventListener("progress",Ui)),xn&&Oi.upload&&([$n,hs]=js(xn),Oi.upload.addEventListener("progress",$n),Oi.upload.addEventListener("loadend",hs)),(De.cancelToken||De.signal)&&(vn=Fs=>{Oi&&(Le(!Fs||Fs.type?new Ys(null,Pe,Oi):Fs),Oi.abort(),Oi=null)},De.cancelToken&&De.cancelToken.subscribe(vn),De.signal&&(De.signal.aborted?vn():De.signal.addEventListener("abort",vn)));const ma=ia(De.url);if(ma&&hi.protocols.indexOf(ma)===-1){Le(new Yt("Unsupported protocol "+ma+":",Yt.ERR_BAD_REQUEST,Pe));return}Oi.send(lt||null)})},so=(Pe,He)=>{const{length:ft}=Pe=Pe?Pe.filter(Boolean):[];if(He||ft){let Le=new AbortController,De;const lt=function(dn){if(!De){De=!0,Zt();const vn=dn instanceof Error?dn:this.reason;Le.abort(vn instanceof Yt?vn:new Ys(vn instanceof Error?vn.message:vn))}};let gt=He&&setTimeout(()=>{gt=null,lt(new Yt(`timeout of ${He}ms exceeded`,Yt.ETIMEDOUT))},He);const Zt=()=>{Pe&&(gt&&clearTimeout(gt),gt=null,Pe.forEach(dn=>{dn.unsubscribe?dn.unsubscribe(lt):dn.removeEventListener("abort",lt)}),Pe=null)};Pe.forEach(dn=>dn.addEventListener("abort",lt));const{signal:xn}=Le;return xn.unsubscribe=()=>Y.asap(Zt),xn}},ys=function*(Pe,He){let ft=Pe.byteLength;if(!He||ft<He){yield Pe;return}let Le=0,De;for(;Le<ft;)De=Le+He,yield Pe.slice(Le,De),Le=De},Cr=async function*(Pe,He){for await(const ft of $a(Pe))yield*ys(ft,He)},$a=async function*(Pe){if(Pe[Symbol.asyncIterator]){yield*Pe;return}const He=Pe.getReader();try{for(;;){const{done:ft,value:Le}=await He.read();if(ft)break;yield Le}}finally{await He.cancel()}},ln=(Pe,He,ft,Le)=>{const De=Cr(Pe,He);let lt=0,gt,Zt=xn=>{gt||(gt=!0,Le&&Le(xn))};return new ReadableStream({async pull(xn){try{const{done:dn,value:vn}=await De.next();if(dn){Zt(),xn.close();return}let $n=vn.byteLength;if(ft){let Ui=lt+=$n;ft(Ui)}xn.enqueue(new Uint8Array(vn))}catch(dn){throw Zt(dn),dn}},cancel(xn){return Zt(xn),De.return()}},{highWaterMark:2})},va=64*1024,{isFunction:Da}=Y,zs=(({Request:Pe,Response:He})=>({Request:Pe,Response:He}))(Y.global),{ReadableStream:Ks,TextEncoder:Aa}=Y.global,pa=(Pe,...He)=>{try{return!!Pe(...He)}catch{return!1}},Pt=Pe=>{Pe=Y.merge.call({skipUndefined:!0},zs,Pe);const{fetch:He,Request:ft,Response:Le}=Pe,De=He?Da(He):typeof fetch=="function",lt=Da(ft),gt=Da(Le);if(!De)return!1;const Zt=De&&Da(Ks),xn=De&&(typeof Aa=="function"?(Qn=>ki=>Qn.encode(ki))(new Aa):async Qn=>
vendor: 9,689 bytes, lines 1005-1008
1005new Uint8Array(await new ft(Qn).arrayBuffer())),dn=lt&&Zt&&pa(()=>{let Qn=!1;const ki=new ft(hi.origin,{body:new Ks,method:"POST",get duplex(){return Qn=!0,"half"}}).headers.has("Content-Type");return Qn&&!ki}),vn=gt&&Zt&&pa(()=>Y.isReadableStream(new Le("").body)),$n={stream:vn&&(Qn=>Qn.body)};De&&["text","arrayBuffer","blob","formData","stream"].forEach(Qn=>{!$n[Qn]&&($n[Qn]=(ki,Oi)=>{let Ei=ki&&ki[Qn];if(Ei)return Ei.call(ki);throw new Yt(`Response type '${Qn}' is not supported`,Yt.ERR_NOT_SUPPORT,Oi)})});const Ui=async Qn=>{if(Qn==null)return 0;if(Y.isBlob(Qn))return Qn.size;if(Y.isSpecCompliantForm(Qn))return(await new ft(hi.origin,{method:"POST",body:Qn}).arrayBuffer()).byteLength;if(Y.isArrayBufferView(Qn)||Y.isArrayBuffer(Qn))return Qn.byteLength;if(Y.isURLSearchParams(Qn)&&(Qn=Qn+""),Y.isString(Qn))return(await xn(Qn)).byteLength},hs=async(Qn,ki)=>{const Oi=Y.toFiniteNumber(Qn.getContentLength());return Oi??Ui(ki)};return async Qn=>{let{url:ki,method:Oi,data:Ei,signal:ma,cancelToken:Fs,timeout:Ha,onDownloadProgress:Cs,onUploadProgress:qs,responseType:Wa,headers:Oa,withCredentials:Na="same-origin",fetchOptions:Qo}=Mi(Qn),$s=He||fetch;Wa=Wa?(Wa+"").toLowerCase():"text";let ra=so([ma,Fs&&Fs.toAbortSignal()],Ha),bs=null;const Ia=ra&&ra.unsubscribe&&(()=>{ra.unsubscribe()});let Eu;try{if(qs&&dn&&Oi!=="get"&&Oi!=="head"&&(Eu=await hs(Oa,Ei))!==0){let ee=new ft(ki,{method:"POST",body:Ei,duplex:"half"}),pe;if(Y.isFormData(Ei)&&(pe=ee.headers.get("content-type"))&&Oa.setContentType(pe),ee.body){const[Ce,Be]=ce(Eu,js(ze(qs)));Ei=ln(ee.body,va,Ce,Be)}}Y.isString(Na)||(Na=Na?"include":"omit");const oo=lt&&"credentials"in ft.prototype,ju={...Qo,signal:ra,method:Oi.toUpperCase(),headers:Oa.normalize().toJSON(),body:Ei,duplex:"half",credentials:oo?Na:void 0};bs=lt&&new ft(ki,ju);let xo=await(lt?$s(bs,Qo):$s(ki,ju));const $=vn&&(Wa==="stream"||Wa==="response");if(vn&&(Cs||$&&Ia)){const ee={};["status","statusText","headers"].forEach(at=>{ee[at]=xo[at]});const pe=Y.toFiniteNumber(xo.headers.get("content-length")),[Ce,Be]=Cs&&ce(pe,js(ze(Cs),!0))||[];xo=new Le(ln(xo.body,va,Ce,()=>{Be&&Be(),Ia&&Ia()}),ee)}Wa=Wa||"text";let z=await $n[Y.findKey($n,Wa)||"text"](xo,Qn);return!$&&Ia&&Ia(),await new Promise((ee,pe)=>{Ea(ee,pe,{data:z,headers:Ms.from(xo.headers),status:xo.status,statusText:xo.statusText,config:Qn,request:bs})})}catch(oo){throw Ia&&Ia(),oo&&oo.name==="TypeError"&&/Load failed|fetch/i.test(oo.message)?Object.assign(new Yt("Network Error",Yt.ERR_NETWORK,Qn,bs,oo&&oo.response),{cause:oo.cause||oo}):Yt.from(oo,oo&&oo.code,Qn,bs,oo&&oo.response)}}},$t=new Map,xr=Pe=>{let He=Pe&&Pe.env||{};const{fetch:ft,Request:Le,Response:De}=He,lt=[Le,De,ft];let gt=lt.length,Zt=gt,xn,dn,vn=$t;for(;Zt--;)xn=lt[Zt],dn=vn.get(xn),dn===void 0&&vn.set(xn,dn=Zt?new Map:Pt(He)),vn=dn;return dn},$r=xr(),bn=null,Yr={http:it,xhr:io,fetch:{get:xr}};Y.forEach(Yr,(Pe,He)=>{if(Pe){try{Object.defineProperty(Pe,"name",{value:He})}catch{}Object.defineProperty(Pe,"adapterName",{value:He})}});const ge=Pe=>`- ${Pe}`,je=Pe=>Y.isFunction(Pe)||Pe===null||Pe===!1;function bt(Pe,He){Pe=Y.isArray(Pe)?Pe:[Pe];const{length:ft}=Pe;let Le,De;const lt={};for(let gt=0;gt<ft;gt++){Le=Pe[gt];let Zt;if(De=Le,!je(Le)&&(De=Yr[(Zt=String(Le)).toLowerCase()],De===void 0))throw new Yt(`Unknown adapter '${Zt}'`);if(De&&(Y.isFunction(De)||(De=De.get(He))))break;lt[Zt||"#"+gt]=De}if(!De){const gt=Object.entries(lt).map(([xn,dn])=>`adapter ${xn} `+(dn===!1?"is not supported by the environment":"is not available in the build"));let Zt=ft?gt.length>1?`since : 1006`+gt.map(ge).join(` 1007`):" "+ge(gt[0]):"as no adapter specified";throw new Yt("There is no suitable adapter to dispatch the request "+Zt,"ERR_NOT_SUPPORT")}return De}const yt={getAdapter:bt,adapters:Yr};function sr(Pe){if(Pe.cancelToken&&Pe.cancelToken.throwIfRequested(),Pe.signal&&Pe.signal.aborted)throw new Ys(null,Pe)}function pr(Pe){return sr(Pe),Pe.headers=Ms.from(Pe.headers),Pe.data=Gs.call(Pe,Pe.transformRequest),["post","put","patch"].indexOf(Pe.method)!==-1&&Pe.headers.setContentType("application/x-www-form-urlencoded",!1),yt.getAdapter(Pe.adapter||fi.adapter,Pe)(Pe).then(function(Le){return sr(Pe),Le.data=Gs.call(Pe,Pe.transformResponse,Le),Le.headers=Ms.from(Le.headers),Le},function(Le){return ks(Le)||(sr(Pe),Le&&Le.response&&(Le.response.data=Gs.call(Pe,Pe.transformResponse,Le.response),Le.response.headers=Ms.from(Le.response.headers))),Promise.reject(Le)})}const hr="1.13.6",Xn={};["object","boolean","number","function","string","symbol"].forEach((Pe,He)=>{Xn[Pe]=function(Le){return typeof Le===Pe||"a"+(He<1?"n ":" ")+Pe}});const Un={};Xn.transitional=function(He,ft,Le){function De(lt,gt){return"[Axios v"+hr+"] Transitional option '"+lt+"'"+gt+(Le?". "+Le:"")}return(lt,gt,Zt)=>{if(He===!1)throw new Yt(De(gt," has been removed"+(ft?" in "+ft:"")),Yt.ERR_DEPRECATED);return ft&&!Un[gt]&&(Un[gt]=!0,console.warn(De(gt," has been deprecated since v"+ft+" and will be removed in the near future"))),He?He(lt,gt,Zt):!0}},Xn.spelling=function(He){return(ft,Le)=>(console.warn(`${Le} is likely a misspelling of ${He}`),!0)};function Fi(Pe,He,ft){if(typeof Pe!="object")throw new Yt("options must be an object",Yt.ERR_BAD_OPTION_VALUE);const Le=Object.keys(Pe);let De=Le.length;for(;De-- >0;){const lt=Le[De],gt=He[lt];if(gt){const Zt=Pe[lt],xn=Zt===void 0||gt(Zt,lt,Pe);if(xn!==!0)throw new Yt("option "+lt+" must be "+xn,Yt.ERR_BAD_OPTION_VALUE);continue}if(ft!==!0)throw new Yt("Unknown option "+lt,Yt.ERR_BAD_OPTION)}}const ti={assertOptions:Fi,validators:Xn},Ai=ti.validators;class qn{constructor(He){this.defaults=He||{},this.interceptors={request:new Zn,response:new Zn}}async request(He,ft){try{return await this._request(He,ft)}catch(Le){if(Le instanceof Error){let De={};Error.captureStackTrace?Error.captureStackTrace(De):De=new Error;const lt=De.stack?De.stack.replace(/^.+\n/,""):"";try{Le.stack?lt&&!String(Le.stack).endsWith(lt.replace(/^.+\n.+\n/,""))&&(Le.stack+=` 1008`+lt):Le.stack=lt}catch{}}throw Le}}_request(He,ft){typeof He=="string"?(ft=ft||{},ft.url=He):ft=He||{},ft=Li(this.defaults,ft);const{transitional:Le,paramsSerializer:De,headers:lt}=ft;Le!==void 0&&ti.assertOptions(Le,{silentJSONParsing:Ai.transitional(Ai.boolean),forcedJSONParsing:Ai.transitional(Ai.boolean),clarifyTimeoutError:Ai.transitional(Ai.boolean),legacyInterceptorReqResOrdering:Ai.transitional(Ai.boolean)},!1),De!=null&&(Y.isFunction(De)?ft.paramsSerializer={serialize:De}:ti.assertOptions(De,{encode:Ai.function,serialize:Ai.function},!0)),ft.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?ft.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:ft.allowAbsoluteUrls=!0),ti.assertOptions(ft,{baseUrl:Ai.spelling("baseURL"),withXsrfToken:Ai.spelling("withXSRFToken")},!0),ft.method=(ft.method||this.defaults.method||"get").toLowerCase();let gt=lt&&Y.merge(lt.common,lt[ft.method]);lt&&Y.forEach(["delete","get","head","post","put","patch","common"],Qn=>{delete lt[Qn]}),ft.headers=Ms.concat(gt,lt);const Zt=[];let xn=!0;this.interceptors.request.forEach(function(ki){if(typeof ki.runWhen=="function"&&ki.runWhen(ft)===!1)return;xn=xn&&ki.synchronous;const Oi=ft.transitional||fs;Oi&&Oi.legacyInterceptorReqResOrdering?Zt.unshift(ki.fulfilled,ki.rejected):Zt.push(ki.fulfilled,ki.rejected)});const dn=[];this.interceptors.response.forEach(function(ki){dn.push(ki.fulfilled,ki.rejected)});let vn,$n=0,Ui;if(!xn){const Qn=[pr.bind(this),void 0];for(Qn.unshift(...Zt),Qn.push(...dn),Ui=Qn.length,vn=Promise.resolve(ft);$n<Ui;)vn=vn.then(Qn[$n++],Qn[$n++]);return vn}Ui=Zt.length;let hs=ft;for(;$n<Ui;){const Qn=Zt[$n++],ki=Zt[$n++];try{hs=Qn(hs)}catch(Oi){ki.call(this,Oi);break}}try{vn=pr.call(this,hs)}catch(Qn){return Promise.reject(Qn)}for($n=0,Ui=dn.length;$n<Ui;)vn=vn.then(dn[$n++],dn[$n++]);return vn}getUri(He){He=Li(this.defaults,He);const ft=Wi(He.baseURL,He.url,He.allowAbsoluteUrls);return mi(ft,He.params,He.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(He){qn.prototype[He]=function(ft,Le){return this.request(Li(Le||{},{method:He,url:ft,data:(Le||{}).data}))}}),Y.forEach(["post","put","patch"],function(He){function ft(Le){return function(lt,gt,Zt){return this.request(Li(Zt||{},{method:He,headers:Le?{"Content-Type":"multipart/form-data"}:{},url:lt,data:gt}))}}qn.prototype[He]=ft(),qn.prototype[He+"Form"]=ft(!0)});const $e=qn;class Je{constructor(He){if(typeof He!="function")throw new TypeError("executor must be a function.");let ft;this.promise=new Promise(function(lt){ft=lt});const Le=this;this.promise.then(De=>{if(!Le._listeners)return;let lt=Le._listeners.length;for(;lt-- >0;)Le._listeners[lt](De);Le._listeners=null}),this.promise.then=De=>{let lt;const gt=new Promise(Zt=>{Le.subscribe(Zt),lt=Zt}).then(De);return gt.cancel=function(){Le.unsubscribe(lt)},gt},He(function(lt,gt,Zt){Le.reason||(Le.reason=new Ys(lt,gt,Zt),ft(Le.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(He){if(this.reason){He(this.reason);return}this._listeners?this._listeners.push(He):this._listeners=[He]}unsubscribe(He){if(!this._listeners)return;const ft=this._listeners.indexOf(He);ft!==-1&&this._listeners.splice(ft,1)}toAbortSignal(){const He=new AbortController,ft=Le=>{He.abort(Le)};return this.subscribe(ft),He.signal.unsubscribe=()=>this.unsubscribe(ft),He.signal}static source(){let He;return{token:new Je(function(De){He=De}),cancel:He}}}const Ct=Je;function Ot(Pe){return function(ft){return Pe.apply(null,ft)}}function Wt(Pe){return Y.isObject(Pe)&&Pe.isAxiosError===!0}const Er={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
1008setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Er).forEach(([Pe,He])=>{Er[He]=Pe});const Hr=Er;function mn(Pe){const He=new $e(Pe),ft=r($e.prototype.request,He);return Y.extend(ft,$e.prototype,He,{allOwnKeys:!0}),Y.extend(ft,He,null,{allOwnKeys:!0}),ft.create=function(De){return mn(Li(Pe,De))},ft}const di=mn(fi);di.Axios=$e,di.CanceledError=Ys,di.CancelToken=Ct,di.isCancel=ks,di.VERSION=hr,di.toFormData=$i,di.AxiosError=Yt,di.Cancel=di.CanceledError,di.all=function(He){return Promise.all(He)},di.spread=Ot,di.isAxiosError=Wt,di.mergeConfig=Li,di.AxiosHeaders=Ms,di.formToJSON=Pe=>Pn(Y.isHTMLForm(Pe)?new FormData(Pe):Pe),di.getAdapter=yt.getAdapter,di.HttpStatusCode=Hr,di.default=di;const si=di},31818(f,d,e){"use strict";e.d(d,{i:()=>he});var n=e(26372),r=e(45869);function a(){return n.createElement("svg",{"aria-hidden":"true","data-rmiz-btn-unzoom-icon":!0,fill:"currentColor",focusable:"false",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M 14.144531 1.148438 L 9 6.292969 L 9 3 L 8 3 L 8 8 L 13 8 L 13 7 L 9.707031 7 L 14.855469 1.851563 Z M 8 8 L 3 8 L 3 9 L 6.292969 9 L 1.148438 14.144531 L 1.851563 14.855469 L 7 9.707031 L 7 13 L 8 13 Z"}))}function i(){return n.createElement("svg",{"aria-hidden":"true","data-rmiz-btn-zoom-icon":!0,fill:"currentColor",focusable:"false",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M 9 1 L 9 2 L 12.292969 2 L 2 12.292969 L 2 9 L 1 9 L 1 14 L 6 14 L 6 13 L 2.707031 13 L 13 2.707031 L 13 6 L 14 6 L 14 1 Z"}))}const s=(fe,ae)=>fe===ae?.tagName?.toUpperCase?.(),u=fe=>s("DIV",fe)||s("SPAN",fe),l=fe=>s("IMG",fe),m=fe=>fe.complete&&fe.naturalHeight!==0,g=fe=>s("SVG",fe),h=({height:fe,offset:ae,width:ye})=>Math.min((window.innerWidth-ae*2)/ye,(window.innerHeight-ae*2)/fe),v=({containerHeight:fe,containerWidth:ae,offset:ye,targetHeight:ve,targetWidth:Ue})=>{const We=h({height:ve,offset:ye,width:Ue}),de=Ue>ve?Ue/ae:ve/fe;return We>1?de:We*de},b=({containerHeight:fe,containerWidth:ae,hasScalableSrc:ye,offset:ve,targetHeight:Ue,targetWidth:We})=>!fe||!ae?1:!ye&&Ue&&We?v({containerHeight:fe,containerWidth:ae,offset:ve,targetHeight:Ue,targetWidth:We}):h({height:fe,offset:ve,width:ae}),T=/url(?:\(['"]?)(.*?)(?:['"]?\))/,E=fe=>{if(fe){if(l(fe))return fe.currentSrc;if(u(fe)){const ae=window.getComputedStyle(fe).backgroundImage;if(ae)return T.exec(ae)?.[1]}}},w=fe=>{if(fe)return l(fe)?fe.alt??void 0:fe.getAttribute("aria-label")??void 0},C=({containerHeight:fe,containerLeft:ae,containerTop:ye,containerWidth:ve,hasScalableSrc:Ue,offset:We,targetHeight:de,targetWidth:xe})=>{const Fe=b({containerHeight:fe,containerWidth:ve,hasScalableSrc:Ue,offset:We,targetHeight:de,targetWidth:xe});return{top:ye,left:ae,width:ve*Fe,height:fe*Fe,transform:`translate(0,0) scale(${1/Fe})`}},O=({position:fe,relativeNum:ae})=>{const ye=parseFloat(fe);return fe.endsWith("%")?ae*ye/100:ye},U=({containerHeight:fe,containerLeft:ae,containerTop:ye,containerWidth:ve,hasScalableSrc:Ue,objectFit:We,objectPosition:de,offset:xe,targetHeight:Fe,targetWidth:Xe})=>
1008{if(We==="scale-down"&&(Xe<=ve&&Fe<=fe?We="none":We="contain"),We==="cover"||We==="contain"){const Me=ve/Xe,Ze=fe/Fe,rt=We==="cover"?Math.max(Me,Ze):Math.min(Me,Ze),[mt="50%",Xt="50%"]=de.split(" "),jt=O({position:mt,relativeNum:ve-Xe*rt}),Lt=O({position:Xt,relativeNum:fe-Fe*rt}),Ht=b({containerHeight:Fe*rt,containerWidth:Xe*rt,hasScalableSrc:Ue,offset:xe,targetHeight:Fe,targetWidth:Xe});return{top:ye+Lt,left:ae+jt,width:Xe*rt*Ht,height:Fe*rt*Ht,transform:`translate(0,0) scale(${1/Ht})`}}else if(We==="none"){const[Me="50%",Ze="50%"]=de.split(" "),rt=O({position:Me,relativeNum:ve-Xe}),mt=O({position:Ze,relativeNum:fe-Fe}),Xt=b({containerHeight:Fe,containerWidth:Xe,hasScalableSrc:Ue,offset:xe,targetHeight:Fe,targetWidth:Xe});return{top:ye+mt,left:ae+rt,width:Xe*Xt,height:Fe*Xt,transform:`translate(0,0) scale(${1/Xt})`}}else if(We==="fill"){const Me=ve/Xe,Ze=fe/Fe,rt=Math.max(Me,Ze),mt=b({containerHeight:Fe*rt,containerWidth:Xe*rt,hasScalableSrc:Ue,offset:xe,targetHeight:Fe,targetWidth:Xe});return{width:ve*mt,height:fe*mt,transform:`translate(0,0) scale(${1/mt})`}}else return{}},D=({backgroundPosition:fe,backgroundSize:ae,containerHeight:ye,containerLeft:ve,containerTop:Ue,containerWidth:We,hasScalableSrc:de,offset:xe,targetHeight:Fe,targetWidth:Xe})=>{if(ae==="cover"||ae==="contain"){const Me=We/Xe,Ze=ye/Fe,rt=ae==="cover"?Math.max(Me,Ze):Math.min(Me,Ze),[mt="50%",Xt="50%"]=fe.split(" "),jt=O({position:mt,relativeNum:We-Xe*rt}),Lt=O({position:Xt,relativeNum:ye-Fe*rt}),Ht=b({containerHeight:Fe*rt,containerWidth:Xe*rt,hasScalableSrc:de,offset:xe,targetHeight:Fe,targetWidth:Xe});return{top:Ue+Lt,left:ve+jt,width:Xe*rt*Ht,height:Fe*rt*Ht,transform:`translate(0,0) scale(${1/Ht})`}}else if(ae==="auto"){const[Me="50%",Ze="50%"]=fe.split(" "),rt=O({position:Me,relativeNum:We-Xe}),mt=O({position:Ze,relativeNum:ye-Fe}),Xt=b({containerHeight:Fe,containerWidth:Xe,hasScalableSrc:de,offset:xe,targetHeight:Fe,targetWidth:Xe});return{top:Ue+mt,left:ve+rt,width:Xe*Xt,height:Fe*Xt,transform:`translate(0,0) scale(${1/Xt})`}}else{const[Me="50%",Ze="50%"]=ae.split(" "),rt=O({position:Me,relativeNum:We}),mt=O({position:Ze,relativeNum:ye}),Xt=rt/Xe,jt=mt/Fe,Lt=Math.min(Xt,jt),[Ht="50%",vr="50%"]=fe.split(" "),Fr=O({position:Ht,relativeNum:We-Xe*Lt}),fn=O({position:vr,relativeNum:ye-Fe*Lt}),Kr=b({containerHeight:Fe*Lt,containerWidth:Xe*Lt,hasScalableSrc:de,offset:xe,targetHeight:Fe,targetWidth:Xe});return{top:Ue+fn,left:ve+Fr,width:Xe*Lt*Kr,height:Fe*Lt*Kr,transform:`translate(0,0) scale(${1/Kr})`}}},F=/\.svg$/i,j=({hasZoomImg:fe,imgSrc:ae,isSvg:ye,isZoomed:ve,loadedImgEl:Ue,offset:We,shouldRefresh:de,targetEl:xe})=>{const Fe=ye||ae?.slice?.(0,18)==="data:image/svg+xml"||fe||!!(ae&&F.test(ae)),Xe=xe.getBoundingClientRect(),Me=window.getComputedStyle(xe),Ze=Ue!=null&&u(xe),rt=Ue!=null&&!Ze,mt=C({containerHeight:Xe.height,containerLeft:Xe.left,containerTop:Xe.top,containerWidth:Xe.width,hasScalableSrc:Fe,offset:We,targetHeight:Ue?.naturalHeight||Xe.height,targetWidth:Ue?.naturalWidth||Xe.width}),Xt=rt?U({containerHeight:Xe.height,containerLeft:Xe.left,containerTop:Xe.top,containerWidth:Xe.width,hasScalableSrc:Fe,objectFit:Me.objectFit,objectPosition:Me.objectPosition,offset:We,targetHeight:Ue?.naturalHeight||Xe.height,targetWidth:Ue?.naturalWidth||Xe.width}):void 0,jt=Ze?D({backgroundPosition:Me.backgroundPosition,backgroundSize:Me.backgroundSize,containerHeight:Xe.height,containerLeft:Xe.left,containerTop:Xe.top,containerWidth:Xe.width,hasScalableSrc:Fe,offset:We,targetHeight:Ue?.naturalHeight||Xe.height,targetWidth:Ue?.naturalWidth||Xe.width}):void 0,Lt=Object.assign({},mt??{},Xt??{},jt??{});if(ve){const Ht=window.innerWidth/2,vr=window.innerHeight/2,Fr=parseFloat(String(Lt.left||0))+parseFloat(String(Lt.width||0))/2,fn=parseFloat(String(Lt.top||0))+parseFloat(String(Lt.height||0))/2,Kr=Ht-Fr,Sn=vr-fn;de&&(Lt.transitionDuration="0.01ms"),Lt.transform=`translate(${Kr}px,${Sn}px) scale(1)`}return Lt},M=fe=>{if(!fe)return{};if(g(fe)){const ae=fe.parentElement,ye=fe.getBoundingClientRect();if(ae){const ve=ae.getBoundingClientRect();return{height:ye.height,left:ve.left-ye.left,top:ve.top-ye.top,width:ye.width}}else return{height:ye.height,left:ye.left,width:ye.width,top:ye.top}}else return{height:fe.offsetHeight,left:fe.offsetLeft,width:fe.offsetWidth,top:fe.offsetTop}},W=fe=>{const ae="-zoom",ye=["clip-path","fill","mask","marker-start","marker-mid","marker-end"],ve=new Map;if(fe.hasAttribute("id")){const Ue=fe.id,We=Ue+ae;ve.set(Ue,We),fe.id=We}fe.querySelectorAll("[id]").forEach(Ue=>{const We=Ue.id,de=We+ae;ve.set(We,de),Ue.id=de}),ve.forEach((Ue,We)=>{const de=`url(#${We})`,xe=`url(#${Ue})`,Fe=ye.map(Xe=>`[${Xe}="${de}"]`).join(", ");fe.querySelectorAll(Fe).forEach(Xe=>{ye.forEach(Me=>{Xe.getAttribute(Me)===de&&Xe.setAttribute(Me,xe)})})}),fe.querySelectorAll("style").forEach(Ue=>{ve.forEach((We,de)=>{Ue.textContent&&(Ue.textContent=Ue.textContent.replaceAll(`#${de}`,`#${We}`))})})},V=["img","svg",'[role="img"]',"[data-zoom]"].map(fe=>`${fe}:not([aria-hidden="true"])`).join(","),q={overflow:"",width:""};function J(fe){return n.createElement(re,{...fe})}class re extends n.Component{constructor(){super(...arguments),this.state={id:"",isZoomImgLoaded:!1,loadedImgEl:void 0,modalState:"UNLOADED",shouldRefresh:!1,styleGhost:{}},this.refContent=n.createRef(),this.refDialog=n.createRef(),this.refModalContent=n.createRef(),this.refModalImg=n.createRef(),this.refWrap=n.
1008createRef(),this.imgEl=null,this.isScaling=!1,this.prevBodyAttrs=q,this.styleModalImg={},this.handleModalStateChange=ae=>{const{modalState:ye}=this.state;ae!=="LOADING"&&ye==="LOADING"?(this.loadZoomImg(),window.addEventListener("resize",this.handleResize,{passive:!0}),window.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),window.addEventListener("touchmove",this.handleTouchMove,{passive:!0}),window.addEventListener("touchend",this.handleTouchEnd,{passive:!0}),window.addEventListener("touchcancel",this.handleTouchCancel,{passive:!0}),document.addEventListener("keydown",this.handleKeyDown,!0)):ae!=="LOADED"&&ye==="LOADED"?window.addEventListener("wheel",this.handleWheel,{passive:!0}):ae!=="UNLOADING"&&ye==="UNLOADING"?(this.ensureImgTransitionEnd(),window.removeEventListener("wheel",this.handleWheel),window.removeEventListener("touchstart",this.handleTouchStart),window.removeEventListener("touchmove",this.handleTouchMove),window.removeEventListener("touchend",this.handleTouchEnd),window.removeEventListener("touchcancel",this.handleTouchCancel),document.removeEventListener("keydown",this.handleKeyDown,!0)):ae!=="UNLOADED"&&ye==="UNLOADED"&&(this.bodyScrollEnable(),window.removeEventListener("resize",this.handleResize),this.refModalImg.current?.removeEventListener?.("transitionend",this.handleImgTransitionEnd),this.refDialog.current?.close?.())},this.getDialogContainer=()=>{let ae=document.querySelector("[data-rmiz-portal]");return ae==null&&(ae=document.createElement("div"),ae.setAttribute("data-rmiz-portal",""),document.body.appendChild(ae)),ae},this.setId=()=>{const ae=()=>Math.random().toString(16).slice(-4);this.setState({id:ae()+ae()+ae()})},this.setAndTrackImg=()=>{const ae=this.refContent.current;ae&&(this.imgEl=ae.querySelector(V),this.imgEl?(this.contentNotFoundChangeObserver?.disconnect?.(),this.imgEl.addEventListener("load",this.handleImgLoad),this.imgEl.addEventListener("click",this.handleZoom),this.state.loadedImgEl||this.handleImgLoad(),this.imgElResizeObserver=new ResizeObserver(ye=>{const ve=ye[0];ve?.target&&(this.imgEl=ve.target,this.setState({styleGhost:M(this.imgEl)}))}),this.imgElResizeObserver.observe(this.imgEl),this.contentChangeObserver||(this.contentChangeObserver=new MutationObserver(()=>{this.setState({styleGhost:M(this.imgEl)})}),this.contentChangeObserver.observe(ae,{attributes:!0,childList:!0,subtree:!0}))):this.contentNotFoundChangeObserver||(this.contentNotFoundChangeObserver=new MutationObserver(this.setAndTrackImg),this.contentNotFoundChangeObserver.observe(ae,{childList:!0,subtree:!0})))},this.handleIfZoomChanged=ae=>{const{isZoomed:ye}=this.props;!ae&&ye?this.zoom():ae&&!ye&&this.unzoom()},this.handleImgLoad=()=>{const ae=E(this.imgEl);if(!ae)return;const ye=new Image;l(this.imgEl)&&(ye.sizes=this.imgEl.sizes,ye.srcset=this.imgEl.srcset,ye.crossOrigin=this.imgEl.crossOrigin),ye.src=ae;const ve=()=>{this.setState({loadedImgEl:ye,styleGhost:M(this.imgEl)})};ye.decode().then(ve).catch(()=>{if(m(ye)){ve();return}ye.onload=ve})},this.handleZoom=ae=>{!this.props.isDisabled&&this.hasImage()&&this.props.onZoomChange?.(!0,{event:ae})},this.handleUnzoom=ae=>{this.props.isDisabled||this.props.onZoomChange?.(!1,{event:ae})},this.handleBtnUnzoomClick=ae=>{ae.preventDefault(),ae.stopPropagation(),this.handleUnzoom(ae)},this.handleDialogCancel=ae=>{ae.preventDefault()},this.handleDialogClick=ae=>{(ae.target===this.refModalContent.current||ae.target===this.refModalImg.current)&&(ae.stopPropagation(),this.handleUnzoom(ae))},this.handleDialogClose=ae=>{ae.stopPropagation(),this.handleUnzoom(ae)},this.handleKeyDown=ae=>{(ae.key==="Escape"||ae.keyCode===27)&&(ae.preventDefault(),ae.stopPropagation(),this.handleUnzoom(ae))},this.handleWheel=ae=>{ae.ctrlKey||(ae.stopPropagation(),queueMicrotask(()=>{this.handleUnzoom(ae)}))},this.handleTouchStart=ae=>{if(ae.touches.length>1){this.isScaling=!0;return}ae.changedTouches.length===1&&ae.changedTouches[0]&&(this.touchYStart=ae.changedTouches[0].screenY)},this.handleTouchMove=ae=>{const ye=window.visualViewport?.scale??1;if(this.props.canSwipeToUnzoom&&!this.isScaling&&ye<=1&&this.touchYStart!=null&&ae.changedTouches[0]){this.touchYEnd=ae.changedTouches[0].screenY;const ve=Math.max(this.touchYStart,this.touchYEnd),Ue=Math.min(this.touchYStart,this.touchYEnd);Math.abs(ve-Ue)>this.props.swipeToUnzoomThreshold&&(this.touchYStart=void 0,this.touchYEnd=void 0,this.handleUnzoom(ae))}},this.handleTouchEnd=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleTouchCancel=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleResize=()=>{this.setState({shouldRefresh:!0})},this.hasImage=()=>this.imgEl&&(this.state.loadedImgEl||g(this.imgEl))&&window.getComputedStyle(this.imgEl).display!=="none",this.zoom=()=>{this.bodyScrollDisable(),this.refDialog.current?.showModal?.(),this.refModalImg.current?.addEventListener?.("transitionend",this.handleImgTransitionEnd),this.setState({modalState:"LOADING"})},this.unzoom=()=>{this.setState({modalState:"UNLOADING"})},this.handleImgTransitionEnd=()=>{clearTimeout(this.timeoutTransitionEnd),this.state.modalState==="LOADING"?this.setState({modalState:"LOADED"}):this.state.modalState==="UNLOADING"&&this.setState({shouldRefresh:!1,modalState:"UNLOADED"})},this.ensureImgTransitionEnd=()=>
1008{if(this.refModalImg.current){const ae=window.getComputedStyle(this.refModalImg.current).transitionDuration,ye=parseFloat(ae);if(ye){const ve=ye*(ae.endsWith("ms")?1:1e3)+50;this.timeoutTransitionEnd=setTimeout(this.handleImgTransitionEnd,ve)}}},this.bodyScrollDisable=()=>{this.prevBodyAttrs={overflow:document.body.style.overflow,width:document.body.style.width};const ae=document.body.clientWidth;document.body.style.overflow="hidden",document.body.style.width=`${ae}px`},this.bodyScrollEnable=()=>{document.body.style.width=this.prevBodyAttrs.width,document.body.style.overflow=this.prevBodyAttrs.overflow,this.prevBodyAttrs=q},this.loadZoomImg=()=>{const{props:{zoomImg:ae}}=this,ye=ae?.src;if(ye){const ve=new Image;ve.sizes=ae?.sizes??"",ve.srcset=ae?.srcSet??"",ve.crossOrigin=ae?.crossOrigin??void 0,ve.src=ye;const Ue=()=>{this.setState({isZoomImgLoaded:!0})};ve.decode().then(Ue).catch(()=>{if(m(ve)){Ue();return}ve.onload=Ue})}},this.UNSAFE_handleSvg=()=>{const{imgEl:ae,refModalImg:ye,styleModalImg:ve}=this;if(g(ae)){const Ue=ae.cloneNode(!0);W(Ue),Ue.style.width=`${ve.width||0}px`,Ue.style.height=`${ve.height||0}px`,Ue.addEventListener("click",this.handleUnzoom),ye.current?.firstChild?.remove?.(),ye.current?.appendChild?.(Ue)}}}render(){const{handleBtnUnzoomClick:ae,handleDialogCancel:ye,handleDialogClick:ve,handleDialogClose:Ue,handleUnzoom:We,handleZoom:de,imgEl:xe,props:{a11yNameButtonUnzoom:Fe,a11yNameButtonZoom:Xe,children:Me,classDialog:Ze,IconUnzoom:rt,IconZoom:mt,isZoomed:Xt,wrapElement:jt,ZoomContent:Lt,zoomImg:Ht,zoomMargin:vr},refContent:Fr,refDialog:fn,refModalContent:Kr,refModalImg:Sn,refWrap:Fn,state:{id:Et,isZoomImgLoaded:st,loadedImgEl:Wr,modalState:Dr,shouldRefresh:Tr,styleGhost:gr}}=this,ir=`rmiz-modal-${Et}`,Mr=`rmiz-modal-img-${Et}`,Lr=u(xe),un=l(xe),hn=g(xe),rr=w(xe),Gr=E(xe),er=un?xe.sizes:void 0,At=un?xe.srcset:void 0,dr=un?xe.crossOrigin:void 0,Y=!!Ht?.src,ot=this.hasImage(),Yt=rr?`${Xe}: ${rr}`:Xe,it=Dr==="LOADING"||Dr==="LOADED",Mt=ot?"found":"not-found",an=Dr==="UNLOADED"||Dr==="UNLOADING"?"hidden":"visible",Cn={visibility:Dr==="UNLOADED"?"visible":"hidden"};this.styleModalImg=ot?j({hasZoomImg:Y,imgSrc:Gr,isSvg:hn,isZoomed:Xt&&it,loadedImgEl:Wr,offset:vr,shouldRefresh:Tr,targetEl:xe}):{};let Ln=null;if(ot){const In=un||Lr?n.createElement("img",{alt:rr,crossOrigin:dr,sizes:er,src:Gr,srcSet:At,...st&&Dr==="LOADED"?Ht:{},"data-rmiz-modal-img":"",height:this.styleModalImg.height||void 0,id:Mr,ref:Sn,style:this.styleModalImg,width:this.styleModalImg.width||void 0}):hn?n.createElement("div",{"data-rmiz-modal-img":!0,ref:Sn,style:this.styleModalImg}):null,Si=n.createElement("button",{"aria-label":Fe,"data-rmiz-btn-unzoom":"",onClick:ae,type:"button"},n.createElement(rt,null));Ln=Lt?n.createElement(Lt,{buttonUnzoom:Si,modalState:Dr,img:In,isZoomImgLoaded:st,onUnzoom:We}):n.createElement(n.Fragment,null,In,Si)}return n.createElement(jt,{"aria-owns":ir,"data-rmiz":"",ref:Fn},n.createElement(jt,{"data-rmiz-content":Mt,ref:Fr,style:Cn},Me),ot&&n.createElement(jt,{"data-rmiz-ghost":"",style:gr},n.createElement("button",{"aria-label":Yt,"data-rmiz-btn-zoom":"",onClick:de,type:"button"},n.createElement(mt,null))),ot&&r.createPortal(n.createElement("dialog",{"aria-labelledby":Mr,"aria-modal":"true",className:Ze,"data-rmiz-modal":"",id:ir,onClick:ve,onClose:Ue,onCancel:ye,ref:fn,role:"dialog"},n.createElement("div",{"data-rmiz-modal-overlay":an}),n.createElement("div",{"data-rmiz-modal-content":"",ref:Kr},Ln)),this.getDialogContainer()))}componentDidMount(){this.setId(),this.setAndTrackImg(),this.handleImgLoad(),this.UNSAFE_handleSvg()}componentWillUnmount(){this.state.modalState!=="UNLOADED"&&this.bodyScrollEnable(),this.contentChangeObserver?.disconnect?.(),this.contentNotFoundChangeObserver?.disconnect?.(),this.imgElResizeObserver?.disconnect?.(),this.imgEl?.removeEventListener?.("load",this.handleImgLoad),this.imgEl?.removeEventListener?.("click",this.handleZoom),this.refModalImg.current?.removeEventListener?.("transitionend",this.handleImgTransitionEnd),window.removeEventListener("wheel",this.handleWheel),window.removeEventListener("touchstart",this.handleTouchStart),window.removeEventListener("touchmove",this.handleTouchMove),window.removeEventListener("touchend",this.handleTouchEnd),window.removeEventListener("touchcancel",this.handleTouchCancel),window.removeEventListener("resize",this.handleResize),document.removeEventListener("keydown",this.handleKeyDown,!0)}
1008componentDidUpdate(ae,ye){this.handleModalStateChange(ye.modalState),this.UNSAFE_handleSvg(),this.handleIfZoomChanged(ae.isZoomed)}}re.defaultProps={a11yNameButtonUnzoom:"Minimize image",a11yNameButtonZoom:"Expand image",canSwipeToUnzoom:!0,IconUnzoom:a,IconZoom:i,isDisabled:!1,swipeToUnzoomThreshold:10,wrapElement:"div",zoomMargin:0};function he({onZoomChange:fe,...ae}){const[ye,ve]=n.useState(!1),Ue=n.useCallback((We,{event:de})=>{ve(We),fe?.(We,{event:de})},[fe]);return n.createElement(J,{...ae,isZoomed:ye,onZoomChange:Ue})}}}]);
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.