PageSourceSearch

https://bcgame2.com/assets/index-D5gHkNn-.js

js bcgame2.com collected 2026-09-30 21:05:54 UTC 653,779 bytes, 12 lines download raw bytes

1var Bb=Object.defineProperty,Fb=Object.defineProperties;var Ub=Object.getOwnPropertyDescriptors;var Ca=Object.getOwnPropertySymbols;var d0=Object.prototype.hasOwnProperty,h0=Object.prototype.propertyIsEnumerable;var Vi=(t,e)=>(e=Symbol[t])?e:Symbol.for("Symbol."+t),Tl=t=>{throw TypeError(t)},Ol=Math.pow,Al=(t,e,n)=>e in t?Bb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,q=(t,e)=>{for(var n in e||(e={}))d0.call(e,n)&&Al(t,n,e[n]);if(Ca)for(var n of Ca(e))h0.call(e,n)&&Al(t,n,e[n]);return t},de=(t,e)=>Fb(t,Ub(e));var Qs=(t,e)=>{var n={};for(var r in t)d0.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&Ca)for(var r of Ca(t))e.indexOf(r)<0&&h0.call(t,r)&&(n[r]=t[r]);return n};var Ln=(t,e,n)=>Al(t,typeof e!="symbol"?e+"":e,n),kl=(t,e,n)=>e.has(t)||Tl("Cannot "+n);var ee=(t,e,n)=>(kl(t,e,"read from private field"),n?n.call(t):e.get(t)),ft=(t,e,n)=>e.has(t)?Tl("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Qe=(t,e,n,r)=>(kl(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),At=(t,e,n)=>(kl(t,e,"access private method"),n);var eo=(t,e,n,r)=>({set _(i){Qe(t,e,i,n)},get _(){return ee(t,e,r)}});var te=(t,e,n)=>new Promise((r,i)=>{var s=c=>{try{a(n.next(c))}catch(l){i(l)}},o=c=>{try{a(n.throw(c))}catch(l){i(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(s,o);a((n=n.apply(t,e)).next())}),Zr=function(t,e){this[0]=t,this[1]=e},Rl=(t,e,n)=>{var r=(a,c,l,u)=>{try{var f=n[a](c),d=(c=f.value)instanceof Zr,h=f.done;Promise.resolve(d?c[0]:c).then(g=>d?r(a==="return"?a:"next",c[1]?{done:g.done,value:g.value}:g,l,u):l({value:g,done:h})).catch(g=>r("throw",g,l,u))}catch(g){u(g)}},i=(a,c,l,u)=>o[a]=f=>(c=new Promise((d,h,g)=>(g=()=>r(a,f,d,h),s?s.then(g):g())),u=()=>s===l&&(s=0),s=l=c.then(u,u),c),s,o={};return n=n.apply(t,e),o[Vi("asyncIterator")]=()=>o,i("next"),i("throw"),i("return"),o},Pl=t=>{var e=t[Vi("asyncIterator")],n=!1,r,i={};return e==null?(e=t[Vi("iterator")](),r=s=>i[s]=o=>e[s](o)):(e=e.call(t),r=s=>i[s]=o=>{if(n){if(n=!1,s==="throw")throw o;return o}return n=!0,{done:!1,value:new Zr(new Promise(a=>{var c=e[s](o);c instanceof Object||Tl("Object expected"),a(c)}),1)}}),i[Vi("iterator")]=()=>i,r("next"),"throw"in e?r("throw"):i.throw=s=>{throw s},"return"in e&&r("return"),i},g0=(t,e,n)=>(e=t[Vi("asyncIterator")])?e.call(t):(t=t[Vi("iterator")](),e={},n=(r,i)=>(i=t[r])&&(e[r]=s=>new Promise((o,a,c)=>(s=i.call(t,s),c=s.done,Promise.resolve(s.value).then(l=>o({value:l,done:c}),a)))),n("next"),n("return"),e);(function(){try{var t=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};t.SENTRY_RELEASE={id:"8c3b9aa2b95acaad15d7da0cf7f36f5b8cfcd6d1"},t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=(function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];if(r!=null)for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e})({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:playsmart-ai":!0})}catch(e){}})();(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();const p0="is_tg_webapp";function bt(...t){console.log("[tg-bootstrap]",...t)}function zb(){const t=/[#?&]tgWebAppData/.test(location.href);try{return t&&sessionStorage.setItem(p0,"1"),t||sessionStorage.getItem(p0)==="1"}catch(e){return bt("detectTgWebApp: sessionStorage unavailable",e),t}}const vi=zb(),pc="__telegram__initParams";function qb(){try{const t={};for(const n of location.hash.matchAll(/[#?&](tgWebApp\w+)=([^&]*)/g))t[n[1]]=decodeURIComponent(n[2].replace(/\+/g,"%20"));if(Object.keys(t).length===0)return;const e=JSON.parse(sessionStorage.getItem(pc)||"{}");sessionStorage.setItem(pc,JSON.stringify(q(q({},e),t)))}catch(t){bt("seedSdkInitParams failed",t)}}vi&&qb();const m0="tg_platform";function jb(){const t=/[#?&]tgWebAppPlatform=([^&]+)/.exec(location.href),e=t?decodeURIComponent(t[1]):"";try{return e&&sessionStorage.setItem(m0,e),e||sessionStorage.getItem(m0)||""}catch(n){return bt("getTgPlatform: sessionStorage unavailable",n),e}}const Sf=vi?jb():"",Rr=Sf==="android"||Sf==="ios",$d="tg_pc_layout";function Hb(){try{return sessionStorage.getItem($d)||""}catch(t){return bt("getPcLayout: sessionStorage unavailable",t),""}}let Dl;function Md(){return Dl||(Dl=new Promise(t=>{const e=()=>{var s,o;return(o=(s=window.Telegram)==null?void 0:s.WebApp)!=null?o:null},n=e();if(n)return t(n);const r=document.querySelector('script[src^="https://telegram.org/js/telegram-web-app.js"]');if(r){r.addEventListener("load",()=>t(e())),r.addEventListener("error",()=>t(null)),setTimeout(()=>t(e()),8e3);return}const i=document.createElement("script");i.src="https://telegram.org/js/telegram-web-app.js",i.async=!0,i.onload=()=>t(e()),i.onerror=()=>t(null),document.head.appendChild(i)})),Dl}const Gc="tg_safe_area";function Wb(){try{return!!localStorage.getItem(Gc)}catch(t){return!1}}function Vb(){try{localStorage.removeItem(Gc)}catch(t){}}function Xb(){var t,e,n,r;try{const i=localStorage.getItem(Gc);if(!i)return!1;const s=JSON.parse(i),o=document.documentElement.style;return o.setProperty("--tg-safe-area-inset-top",((t=s.st)!=null?t:0)+"px"),o.setProperty("--tg-safe-area-inset-bottom",((e=s.sb)!=null?e:0)+"px"),o.setProperty("--tg-content-safe-area-inset-top",((n=s.ct)!=null?n:0)+"px"),o.setProperty("--tg-content-safe-area-inset-bottom",((r=s.cb)!=null?r:0)+"px"),!0}catch(i){return bt("applyCachedSafeArea failed",i),!1}}let y0;function v0(t){var e,n,r,i,s,o;try{const a=(e=t.safeAreaInset)!=null?e:{},c=(n=t.contentSafeAreaInset)!=null?n:{},l={st:(r=a.top)!=null?r:0,sb:(i=a.bottom)!=null?i:0,ct:(s=c.top)!=null?s:0,cb:(o=c.bottom)!=null?o:0},u=JSON.stringify(l);if(u===y0)return;y0=u,localStorage.setItem(Gc,u)}catch(a){bt("cacheSafeArea failed",a)}}function Kb(){return Md().then(t=>{var r,i,s,o,a,c,l,u,f;if(!t)return bt("sdk load failed (null WebApp)"),null;const e=Hb();bt("sdk ready",{version:t.version,platform:t.platform,isFullscreen:t.isFullscreen,isTgMobile:Rr,pcLayout:e}),(r=t.onEvent)==null||r.call(t,"fullscreenChanged",()=>{var d,h;return bt("fullscreenChanged",{isFullscreen:((h=(d=window.Telegram)==null?void 0:d.WebApp)!=null?h:t).isFullscreen})}),(i=t.onEvent)==null||i.call(t,"fullscreenFailed",d=>bt("fullscreenFailed",d));try{(s=t.ready)==null||s.call(t),(o=t.expand)==null||o.call(t),(a=t.disableVerticalSwipes)==null||a.call(t),(c=t.enableClosingConfirmation)==null||c.call(t)}catch(d){bt("ready/expand/swipes/closing threw",d)}const n=()=>{Rr&&t.isFullscreen&&v0(t)};if((l=t.onEvent)==null||l.call(t,"safeAreaChanged",n),(u=t.onEvent)==null||u.call(t,"contentSafeAreaChanged",n),t.requestFullscreen&&!t.isFullscreen&&(Rr||e!=="win")){bt("requestFullscreen()");try{t.requestFullscreen()}catch(d){bt("requestFullscreen threw",d)}}else bt("requestFullscreen skipped",{has:!!t.requestFullscreen,isFullscreen:t.isFullscreen,pcLayout:e});if(Rr&&t.isFullscreen&&v0(t),!Rr){let d=e==="win"?"win":"fs",h=!1;const g=()=>{var v,b;return!!((b=(v=window.Telegram)==null?void 0:v.WebApp)!=null?b:t).isFullscreen},p=()=>{const y=g()?"fs":"win";if(!(h||y===d)){d=y,h=!0;
1try{sessionStorage.setItem($d,y)}catch(v){bt("persist tg_pc_layout failed",v)}bt("pc layout changed -> reload",y),location.reload()}};(f=t.onEvent)==null||f.call(t,"fullscreenChanged",p);let m;window.addEventListener("resize",()=>{clearTimeout(m),m=setTimeout(p,250)})}return t}).catch(t=>(bt("initTgAndCache failed",t),null))}function Gb(t,e,n=1500){return e?Promise.resolve():new Promise(r=>{let i=!1,s=()=>{};const o=()=>{i||(i=!0,clearTimeout(a),s(),requestAnimationFrame(()=>r()))},a=setTimeout(o,n);t.then(c=>{var f,d;if(i)return;if(!c||!c.requestFullscreen||c.isFullscreen)return o();let l;const u=()=>{l=setTimeout(o,200)};s=()=>{var h,g;clearTimeout(l),(h=c.offEvent)==null||h.call(c,"fullscreenChanged",u),(g=c.offEvent)==null||g.call(c,"fullscreenFailed",u)},(f=c.onEvent)==null||f.call(c,"fullscreenChanged",u),(d=c.onEvent)==null||d.call(c,"fullscreenFailed",u)}).catch(c=>{bt("whenRevealReady failed",c),o()})})}const _I=vi?(()=>{const t=Kb();if(!Rr)return Promise.resolve();const e=Xb();return Gb(t,e)})():Promise.resolve();let Yb=1,Ef=!1,Af=!1,Zi=[],Xn=null,Tf=null,Jb=5,Il=0,Zb=300,b0=0,Of=null,Ga=null;const Qb=1073741823;function e6(){const t=new MessageChannel,e=t.port1,n=t.port2;if(typeof e.unref=="function"&&e.unref(),typeof n.unref=="function"&&n.unref(),Of=()=>n.postMessage(null),e.onmessage=()=>{if(Ga!==null){const r=performance.now();Il=r+Jb,b0=r+Zb;try{Ga(r)?n.postMessage(null):Ga=null}catch(i){throw n.postMessage(null),i}}},navigator&&navigator.scheduling&&navigator.scheduling.isInputPending){const r=navigator.scheduling;Tf=()=>{const i=performance.now();return i>=Il?r.isInputPending()?!0:i>=b0:!1}}else Tf=()=>performance.now()>=Il}function t6(t,e){function n(){let r=0,i=t.length-1;for(;r<=i;){const s=i+r>>1,o=e.expirationTime-t[s].expirationTime;if(o>0)r=s+1;else if(o<0)i=s-1;else return s}return r}t.splice(n(),0,e)}function Nd(t,e){Of||e6();let n=performance.now(),r=Qb;e&&e.timeout&&(r=e.timeout);const i={id:Yb++,fn:t,startTime:n,expirationTime:n+r};return t6(Zi,i),!Ef&&!Af&&(Ef=!0,Ga=r6,Of()),i}function n6(t){t.fn=null}function r6(t){Ef=!1,Af=!0;try{return i6(t)}finally{Xn=null,Af=!1}}function i6(t){let e=t;for(Xn=Zi[0]||null;Xn!==null&&!(Xn.expirationTime>e&&Tf());){const n=Xn.fn;if(n!==null){Xn.fn=null;const r=Xn.expirationTime<=e;n(r),e=performance.now(),Xn===Zi[0]&&Zi.shift()}else Zi.shift();Xn=Zi[0]||null}return Xn!==null}const X={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return w0(this.context.count)},getNextContextId(){return w0(this.context.count++)}};function w0(t){const e=String(t),n=e.length-1;return X.context.id+(n?String.fromCharCode(96+n):"")+e}function rn(t){X.context=t}function s6(){return de(q({},X.context),{id:X.getNextContextId(),count:0})}const um=!1,Bd=(t,e)=>t===e,ht=Symbol("solid-proxy"),fm=typeof Proxy=="function",rr=Symbol("solid-track"),o6=Symbol("solid-dev-component"),mc={equals:Bd};let Mn=null,dm=mm;const It=1,Io=2,hm={owned:null,cleanups:null,context:null,owner:null},Ll={};var me=null;let H=null,$i=null,Qn=null,Te=null,ot=null,mt=null,Yc=0;function Se(t,e){const n=Te,r=me,i=t.length===0,s=e===void 0?r:e,o=i?hm:{owned:null,cleanups:null,context:s?s.context:null,owner:s},a=i?t:()=>t(()=>Y(()=>Ur(o)));me=o,Te=null;try{return Vt(a,!0)}finally{Te=n,me=r}}function B(t,e){e=e?Object.assign({},mc,e):mc;const n={value:t,observers:null,observerSlots:null,comparator:e.equals||void 0},r=i=>(typeof i=="function"&&(H&&H.running&&H.sources.has(n)?i=i(n.tValue):i=i(n.value)),pm(n,i));return[gm.bind(n),r]}function pe(t,e,n){const r=Kr(t,e,!0,It);$i&&H&&H.running?ot.push(r):Sr(r)}function fe(t,e,n){const r=Kr(t,e,!1,It);$i&&H&&H.running?ot.push(r):Sr(r)}function ne(t,e,n){dm=y6;const r=Kr(t,e,!1,It),i=wr&&Ie(wr);i&&(r.suspense=i),(!n||!n.render)&&(r.user=!0),mt?mt.push(r):Sr(r)}function a6(t,e){let n;const r=Kr(()=>{n?n():Y(t),n=void 0},void 0,!1,0),i=wr&&Ie(wr);return i&&(r.suspense=i),r.user=!0,s=>{n=s,Sr(r)}}function M(t,e,n){n=n?Object.assign({},mc,n):mc;const r=Kr(t,e,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,$i&&H&&H.running?(r.tState=It,ot.push(r)):Sr(r),gm.bind(r)}function c6(t){return t&&typeof t=="object"&&"then"in t}function Ms(t,e,n){let r,i,s;typeof e=="function"?(r=t,i=e,s=n||{}):(r=!0,i=t,s=e||{});let o=null,a=Ll,c=null,l=!1,u=!1,f="initialValue"in s,d=typeof r=="function"&&M(r);const h=new Set,[g,p]=(s.storage||B)(s.initialValue),[m,y]=B(void 0),[v,b]=B(void 0,{equals:!1}),[w,_]=B(f?"ready":"unresolved");me&&K(()=>
1{for(const T of h.keys())T.decrement();h.clear(),H&&o&&H.promises.delete(o),o=null}),X.context&&(c=X.getNextContextId(),s.ssrLoadFrom==="initial"?a=s.initialValue:X.load&&X.has(c)&&(a=X.load(c)));function S(T,I,L,R){return o===T&&(o=null,R!==void 0&&(f=!0),(T===a||I===a)&&s.onHydrated&&queueMicrotask(()=>s.onHydrated(R,{value:I})),a=Ll,H&&T&&l?(H.promises.delete(T),l=!1,Vt(()=>{H.running=!0,x(I,L)},!1)):x(I,L)),I}function x(T,I){Vt(()=>{I===void 0&&p(()=>T),_(I!==void 0?"errored":f?"ready":"unresolved"),y(I);for(const L of h.keys())L.decrement();h.clear()},!1)}function E(){const T=wr&&Ie(wr),I=g(),L=m();if(L!==void 0&&!o)throw L;return Te&&!Te.user&&T&&pe(()=>{v(),o&&(T.resolved&&H&&l?H.promises.add(o):h.has(T)||(T.increment(),h.add(T)))}),I}function A(T=!0){if(T!==!1&&u)return;u=!1;const I=d?d():r;if(l=H&&H.running,I==null||I===!1){S(o,Y(g));return}H&&o&&H.promises.delete(o);let L;const R=a!==Ll?a:Y(()=>{try{return i(I,{value:g(),refetching:T})}catch(k){L=k}});if(L!==void 0){S(o,void 0,Ya(L),I);return}else if(!c6(R))return S(o,R,void 0,I),R;return o=R,"v"in R?(R.s===1?S(o,R.v,void 0,I):S(o,void 0,Ya(R.v),I),R):(u=!0,queueMicrotask(()=>u=!1),Vt(()=>{_(f?"refreshing":"pending"),b()},!1),R.then(k=>S(R,k,void 0,I),k=>S(R,void 0,Ya(k),I)))}Object.defineProperties(E,{state:{get:()=>w()},error:{get:()=>m()},loading:{get(){const T=w();return T==="pending"||T==="refreshing"}},latest:{get(){if(!f)return E();const T=m();if(T&&!o)throw T;return g()}}});let P=me;return d?pe(()=>(P=me,A(!1))):A(!1),[E,{refetch:T=>un(P,()=>A(T)),mutate:p}]}function l6(t,e){let n,r=e?e.timeoutMs:void 0;const i=Kr(()=>((!n||!n.fn)&&(n=Nd(()=>o(()=>i.value),r!==void 0?{timeout:r}:void 0)),t()),void 0,!0),[s,o]=B(H&&H.running&&H.sources.has(i)?i.tValue:i.value,e);return Sr(i),o(()=>H&&H.running&&H.sources.has(i)?i.tValue:i.value),s}function Ns(t,e=Bd,n){const r=new Map,i=Kr(s=>{const o=t();for(const[a,c]of r.entries())if(e(a,o)!==e(a,s))for(const l of c.values())H&&H.running?l.tState=It:l.state=It,l.pure?ot.push(l):mt.push(l);return o},void 0,!0,It);return Sr(i),s=>{const o=Te;if(o){let a;(a=r.get(s))?a.add(o):r.set(s,a=new Set([o])),K(()=>{a.delete(o),!a.size&&r.delete(s)})}return e(s,H&&H.running&&H.sources.has(i)?i.tValue:i.value)}}function at(t){return Vt(t,!1)}function Y(t){if(!Qn&&Te===null)return t();const e=Te;Te=null;try{return Qn?Qn.untrack(t):t()}finally{Te=e}}function qn(t,e,n){const r=Array.isArray(t);let i,s=n&&n.defer;return o=>{let a;if(r){a=Array(t.length);for(let l=0;l<t.length;l++)a[l]=t[l]()}else a=t();if(s)return s=!1,o;const c=Y(()=>e(a,i,o));return i=a,c}}function Un(t){ne(()=>Y(t))}function K(t){return me===null||(me.cleanups===null?me.cleanups=[t]:me.cleanups.push(t)),t}function Jc(t,e){Mn||(Mn=Symbol("error")),me=Kr(void 0,void 0,!0),me.context=de(q({},me.context),{[Mn]:[e]}),H&&H.running&&H.sources.add(me);try{return t()}catch(n){na(n)}finally{me=me.owner}}function ir(){return Te}function Ve(){return me}function un(t,e){const n=me,r=Te;me=t,Te=null;try{return Vt(e,!0)}catch(i){na(i)}finally{me=n,Te=r}}function u6(t=Nd){$i=t}function Mr(t){if(H&&H.running)return t(),H.done;const e=Te,n=me;return Promise.resolve().then(()=>{Te=e,me=n;let r;return($i||wr)&&(r=H||(H={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0}),r.done||(r.done=new Promise(i=>r.resolve=i)),r.running=!0),Vt(t,!1),Te=me=null,r?r.done:void 0})}const[f6,_0]=B(!1);function ta(){return[f6,Mr]}function d6(t){mt.push.apply(mt,t),t.length=0}function Ze(t,e){const n=Symbol("context");return{id:n,Provider:v6(n),defaultValue:t}}function Ie(t){let e;return me&&me.context&&(e=me.context[t.id])!==void 0?e:t.defaultValue}function Le(t){const e=M(t),n=M(()=>kf(e()));return n.toArray=()=>{const r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}let wr;function h6(){return wr||(wr=Ze())}function g6(t,e=n=>n()){if(Qn){const{factory:n,untrack:r}=Qn;Qn={factory:(i,s)=>{const o=n(i,s),a=t(c=>o.track(c),s);return{track:c=>a.track(c),dispose(){a.dispose(),o.dispose()}}},untrack:i=>r(()=>e(i))}}else Qn={factory:t,untrack:e}}function gm(){const t=H&&H.running;if(this.sources&&(t?this.tState:this.state))if((t?this.tState:this.state)===It)Sr(this);else{const e=ot;ot=null,Vt(()=>yc(this),!1),ot=e}if(Te){const e=this.observers;if(!e||e[e.length-1]!==Te){const n=e?e.length:0;Te.sources?(Te.sources.push(this),Te.sourceSlots.push(n)):(Te.sources=[this],Te.sourceSlots=[n]),e?(e.push(Te),this.observerSlots.push(Te.sources.length-1)):(this.observers=[Te],this.observerSlots=[Te.sources.length-1])}}return t&&H.sources.has(this)?this.tValue:this.value}function pm(t,e,n){let r=H&&H.running&&H.sources.has(t)?t.tValue:t.value;if(!t.comparator||!t.comparator(r,e)){if(H){const i=H.running;(i||!n&&H.sources.has(t))&&(H.sources.add(t),t.tValue=e),i||(t.value=e)}else t.value=e;t.observers&&t.observers.length&&Vt(()=>{for(let i=0;i<t.observers.length;i+=1){const s=t.observers[i],o=H&&H.running;o&&H.disposed.has(s)||((o?!s.tState:!s.state)&&(s.pure?ot.push(s):mt.push(s),s.observers&&ym(s)),o?s.tState=It:s.state=It)}if(ot.length>1e6)throw ot=[],new Error},!1)}return e}function Sr(t){if(!t.fn)return;Ur(t);const e=Yc;C0(t,H&&H.running&&H.sources.has(t)?t.tValue:t.value,e),H&&!H.running&&H.sources.has(t)&&queueMicrotask(()=>{Vt(()=>{H&&(H.running=!0),Te=me=t,C0(t,t.tValue,e),Te=me=null},!1)})}function C0(t,e,n){let r;const i=me,s=Te;Te=me=t;try{r=t.fn(e)}catch(o){return t.pure&&(H&&H.running?(t.tState=It,t.tOwned&&t.tOwned.forEach(Ur),t.tOwned=void 0):(t.state=It,t.owned&&t.owned.forEach(Ur),t.owned=null)),t.updatedAt=n+1,na(o)}finally{Te=s,me=i}(!t.updatedAt||t.updatedAt<=n)&&(t.updatedAt!=null&&"observers"in t?pm(t,r,!0):H&&H.running&&t.pure?(H.sources.has(t)||(t.value=r),H.sources.add(t),t.tValue=r):t.value=r,t.updatedAt=n)}function Kr(t,e,n,r=It,i){const s={fn:t,state:r,updatedAt:null,owned:null,sources:null,
1sourceSlots:null,cleanups:null,value:e,owner:me,context:me?me.context:null,pure:n};if(H&&H.running&&(s.state=0,s.tState=r),me===null||me!==hm&&(H&&H.running&&me.pure?me.tOwned?me.tOwned.push(s):me.tOwned=[s]:me.owned?me.owned.push(s):me.owned=[s]),Qn&&s.fn){const o=s.fn,[a,c]=B(void 0,{equals:!1}),l=Qn.factory(o,c);K(()=>l.dispose());let u,f=!1;const d=()=>Mr(c).then(()=>{u&&(u.dispose(),u=void 0,f||c())});s.fn=h=>(a(),H&&H.running?(u||(u=Qn.factory(o,d)),u.track(h)):(f=!0,l.track(h)))}return s}function Lo(t){const e=H&&H.running;if((e?t.tState:t.state)===0)return;if((e?t.tState:t.state)===Io)return yc(t);if(t.suspense&&Y(t.suspense.inFallback))return t.suspense.effects.push(t);const n=[t];for(;(t=t.owner)&&(!t.updatedAt||t.updatedAt<Yc);){if(e&&H.disposed.has(t))return;(e?t.tState:t.state)&&n.push(t)}for(let r=n.length-1;r>=0;r--){if(t=n[r],e){let i=t,s=n[r+1];for(;(i=i.owner)&&i!==s;)if(H.disposed.has(i))return}if((e?t.tState:t.state)===It)Sr(t);else if((e?t.tState:t.state)===Io){const i=ot;ot=null,Vt(()=>yc(t,n[0]),!1),ot=i}}}function Vt(t,e){if(ot)return t();let n=!1;e||(ot=[]),mt?n=!0:mt=[],Yc++;try{const r=t();return p6(n),r}catch(r){n||(mt=null),ot=null,na(r)}}function p6(t){if(ot&&($i&&H&&H.running?m6(ot):mm(ot),ot=null),t)return;let e;if(H){if(!H.promises.size&&!H.queue.size){const r=H.sources,i=H.disposed;mt.push.apply(mt,H.effects),e=H.resolve;for(const s of mt)"tState"in s&&(s.state=s.tState),delete s.tState;H=null,Vt(()=>{for(const s of i)Ur(s);for(const s of r){if(s.value=s.tValue,s.owned)for(let o=0,a=s.owned.length;o<a;o++)Ur(s.owned[o]);s.tOwned&&(s.owned=s.tOwned),delete s.tValue,delete s.tOwned,s.tState=0}_0(!1)},!1)}else if(H.running){H.running=!1,H.effects.push.apply(H.effects,mt),mt=null,_0(!0);return}}const n=mt;mt=null,n.length&&Vt(()=>dm(n),!1),e&&e()}function mm(t){for(let e=0;e<t.length;e++)Lo(t[e])}function m6(t){for(let e=0;e<t.length;e++){const n=t[e],r=H.queue;r.has(n)||(r.add(n),$i(()=>{r.delete(n),Vt(()=>{H.running=!0,Lo(n)},!1),H&&(H.running=!1)}))}}function y6(t){let e,n=0;for(e=0;e<t.length;e++){const r=t[e];r.user?t[n++]=r:Lo(r)}if(X.context){if(X.count){X.effects||(X.effects=[]),X.effects.push(...t.slice(0,n));return}rn()}for(X.effects&&(X.done||!X.count)&&(t=[...X.effects,...t],n+=X.effects.length,delete X.effects),e=0;e<n;e++)Lo(t[e])}function yc(t,e){const n=H&&H.running;n?t.tState=0:t.state=0;for(let r=0;r<t.sources.length;r+=1){const i=t.sources[r];if(i.sources){const s=n?i.tState:i.state;s===It?i!==e&&(!i.updatedAt||i.updatedAt<Yc)&&Lo(i):s===Io&&yc(i,e)}}}function ym(t){const e=H&&H.running;for(let n=0;n<t.observers.length;n+=1){const r=t.observers[n];(e?!r.tState:!r.state)&&(e?r.tState=Io:r.state=Io,r.pure?ot.push(r):mt.push(r),r.observers&&ym(r))}}function Ur(t){let e;if(t.sources)for(;t.sources.length;){const n=t.sources.pop(),r=t.sourceSlots.pop(),i=n.observers;if(i&&i.length){const s=i.pop(),o=n.observerSlots.pop();r<i.length&&(s.sourceSlots[o]=r,i[r]=s,n.observerSlots[r]=o)}}if(t.tOwned){for(e=t.tOwned.length-1;e>=0;e--)Ur(t.tOwned[e]);delete t.tOwned}if(H&&H.running&&t.pure)vm(t,!0);else if(t.owned){for(e=t.owned.length-1;e>=0;e--)Ur(t.owned[e]);t.owned=null}if(t.cleanups){for(e=t.cleanups.length-1;e>=0;e--)t.cleanups[e]();t.cleanups=null}H&&H.running?t.tState=0:t.state=0}function vm(t,e){if(e||(t.tState=0,H.disposed.add(t)),t.owned)for(let n=0;n<t.owned.length;n++)vm(t.owned[n])}function Ya(t){return t instanceof Error?t:new Error(typeof t=="string"?t:"Unknown error",{cause:t})}function x0(t,e,n){try{for(const r of e)r(t)}catch(r){na(r,n&&n.owner||null)}}function na(t,e=me){const n=Mn&&e&&e.context&&e.context[Mn],r=Ya(t);if(!n)throw r;mt?mt.push({fn(){x0(r,n,e)},state:It}):x0(r,n,e)}function kf(t){if(typeof t=="function"&&!t.length)return kf(t());if(Array.isArray(t)){const e=[];for(let n=0;n<t.length;n++){const r=kf(t[n]);if(Array.isArray(r))if(r.length<32768)e.push.apply(e,r);else for(let i=0;i<r.length;i++)e.push(r[i]);else e.push(r)}return e}return t}function v6(t,e){return function(r){let i;return fe(()=>i=Y(()=>(me.context=de(q({},me.context),{[t]:r.value}),Le(()=>r.children))),void 0),i}}function b6(t){Mn||(Mn=Symbol("error")),me===null||(me.context===null||!me.context[Mn]?(me.context=de(q({},me.context),{[Mn]:[t]}),Ja(me,Mn,[t])):me.context[Mn].push(t))}function Ja(t,e,n){if(t.owned)for(let r=0;r<t.owned.length;r++)t.owned[r].context===t.context&&Ja(t.owned[r],e,n),t.owned[r].context?t.owned[r].context[e]||(t.owned[r].context[e]=n,Ja(t.owned[r],e,n)):(t.owned[r].context=t.context,Ja(t.owned[r],e,n))}function w6(t){return{subscribe(e){if(!(e instanceof Object)||e==null)throw new TypeError("Expected the observer to be an object.");const n=typeof e=="function"?e:e.next&&e.next.bind(e);if(!n)return{unsubscribe(){}};const r=Se(i=>(ne(()=>{const s=t();Y(()=>n(s))}),i));return Ve()&&K(r),{unsubscribe(){r()}}},[Symbol.observable||"@@observable"](){return this}}}function bm(t,e=void 0){const[n,r]=B(e,{equals:!1});if("subscribe"in t){const i=t.subscribe(s=>r(()=>s));K(()=>"unsubscribe"in i?i.unsubscribe():i())}else{const i=t(r);K(i)}return n}const Rf=Symbol("fallback");function vc(t){for(let e=0;e<t.length;e++)t[e]()}function wm(t,e,n={}){let r=[],i=[],s=[],o=0,a=e.length>1?[]:null;return K(()=>vc(s)),()=>{let c=t()||[],l=c.length,u,f;return c[rr],Y(()=>{let h,g,p,m,y,v,b,w,_;if(l===0)o!==0&&(vc(s),s=[],r=[],i=[],o=0,a&&(a=[])),n.fallback&&(r=[Rf],i[0]=Se(S=>(s[0]=S,n.fallback())),o=1);else if(o===0){for(i=new Array(l),f=0;f<l;f++)r[f]=c[f],i[f]=Se(d);o=l}else{for(p=new Array(l),m=new Array(l),a&&(y=new Array(l)),v=0,b=Math.min(o,l);v<b&&r[v]===c[v];v++);for(b=o-1,w=l-1;b>=v&&w>=v&&r[b]===c[w];b--,w--)p[w]=i[b],m[w]=s[b],a&&(y[w]=a[b]);for(h=new Map,g=new Array(w+1),f=w;f>=v;f--)_=c[f],u=h.get(_),g[f]=u===void 0?-1:u,h.set(_,f);for(u=v;u<=b;u++)_=r[u],f=h.get(_),f!==void 0&&f!==-1?(p[f]=i[u],m[f]=s[u],a&&(y[f]=a[u]),f=g[f],h.set(_,f)):s[u]();for(f=v;f<l;f++)f in p?(i[f]=p[f],s[f]=m[f],a&&(a[f]=y[f],a[f](f))):i[f]=Se(d);i=i.slice(0,o=l),r=c.slice(0)}return i});function d(h){if(s[f]=h,a){const[g,p]=B(f);return a[f]=p,e(c[f],g)}return e(c[f])}}}function _m(t,e,n={}
1){let r=[],i=[],s=[],o=[],a=0,c;return K(()=>vc(s)),()=>{const l=t()||[],u=l.length;return l[rr],Y(()=>{if(u===0)return a!==0&&(vc(s),s=[],r=[],i=[],a=0,o=[]),n.fallback&&(r=[Rf],i[0]=Se(d=>(s[0]=d,n.fallback())),a=1),i;for(r[0]===Rf&&(s[0](),s=[],r=[],i=[],a=0),c=0;c<u;c++)c<r.length&&r[c]!==l[c]?o[c](()=>l[c]):c>=r.length&&(i[c]=Se(f));for(;c<r.length;c++)s[c]();return a=o.length=s.length=u,r=l.slice(0),i=i.slice(0,a)});function f(d){s[c]=d;const[h,g]=B(l[c]);return o[c]=g,e(h,c)}}}let Cm=!1;function xm(){Cm=!0}function C(t,e){if(Cm&&X.context){const n=X.context;rn(s6());const r=Y(()=>t(e||{}));return rn(n),r}return Y(()=>t(e||{}))}function xa(){return!0}const Pf={get(t,e,n){return e===ht?n:t.get(e)},has(t,e){return e===ht?!0:t.has(e)},set:xa,deleteProperty:xa,getOwnPropertyDescriptor(t,e){return{configurable:!0,enumerable:!0,get(){return t.get(e)},set:xa,deleteProperty:xa}},ownKeys(t){return t.keys()}};function $l(t){return(t=typeof t=="function"?t():t)?t:{}}function _6(){for(let t=0,e=this.length;t<e;++t){const n=this[t]();if(n!==void 0)return n}}function oe(...t){let e=!1;for(let o=0;o<t.length;o++){const a=t[o];e=e||!!a&&ht in a,t[o]=typeof a=="function"?(e=!0,M(a)):a}if(fm&&e)return new Proxy({get(o){for(let a=t.length-1;a>=0;a--){const c=$l(t[a])[o];if(c!==void 0)return c}},has(o){for(let a=t.length-1;a>=0;a--)if(o in $l(t[a]))return!0;return!1},keys(){const o=[];for(let a=0;a<t.length;a++)o.push(...Object.keys($l(t[a])));return[...new Set(o)]}},Pf);const n={},r=Object.create(null);for(let o=t.length-1;o>=0;o--){const a=t[o];if(!a)continue;const c=Object.getOwnPropertyNames(a);for(let l=c.length-1;l>=0;l--){const u=c[l];if(u==="__proto__"||u==="constructor")continue;const f=Object.getOwnPropertyDescriptor(a,u);if(!r[u])r[u]=f.get?{enumerable:!0,configurable:!0,get:_6.bind(n[u]=[f.get.bind(a)])}:f.value!==void 0?f:void 0;else{const d=n[u];d&&(f.get?d.push(f.get.bind(a)):f.value!==void 0&&d.push(()=>f.value))}}}const i={},s=Object.keys(r);for(let o=s.length-1;o>=0;o--){const a=s[o],c=r[a];c&&c.get?Object.defineProperty(i,a,c):i[a]=c?c.value:void 0}return i}function _e(t,...e){const n=e.length;if(fm&&ht in t){const i=n>1?e.flat():e[0],s=new Set,o=e.map(a=>{const c=a.filter(l=>!s.has(l)&&(s.add(l),!0));return new Proxy({get(l){return c.includes(l)?t[l]:void 0},has(l){return c.includes(l)&&l in t},keys(){return c.filter(l=>l in t)}},Pf)});return o.push(new Proxy({get(a){return i.includes(a)?void 0:t[a]},has(a){return i.includes(a)?!1:a in t},keys(){return Object.keys(t).filter(a=>!i.includes(a))}},Pf)),o}const r=[];for(let i=0;i<=n;i++)r[i]={};for(const i of Object.getOwnPropertyNames(t)){let s=n;for(let c=0;c<e.length;c++)if(e[c].includes(i)){s=c;break}const o=Object.getOwnPropertyDescriptor(t,i);!o.get&&!o.set&&o.enumerable&&o.writable&&o.configurable?r[s][i]=o.value:Object.defineProperty(r[s],i,o)}return r}function Fd(t){let e,n;const r=()=>{if(!n){const s=n=t();s.then(o=>{e=()=>o.default},()=>{n===s&&(n=void 0)})}return n},i=s=>{const o=X.context;if(o){const[c,l]=B();X.count||(X.count=0),X.count++,r().then(u=>{!X.done&&rn(o),X.count--,l(()=>u.default),rn()},u=>{!X.done&&rn(o),X.count--,l(()=>()=>{throw u}),rn()}),e=c}else if(!e){const[c]=Ms(()=>r().then(l=>l.default));e=c,K(()=>e=void 0)}let a;return M(()=>(a=e==null?void 0:e())?Y(()=>{if(!o||X.done)return a(s);const c=X.context;rn(o);const l=a(s);return rn(c),l}):"")};return i.preload=()=>r(),i}let C6=0;function Gr(){return X.context?X.getNextContextId():`cl-${C6++}`}const Sm=t=>`Stale read from <${t}>.`;function ke(t){const e="fallback"in t&&{fallback:()=>t.fallback};return M(wm(()=>t.each,t.children,e||void 0))}function Yr(t){const e="fallback"in t&&{fallback:()=>t.fallback};return M(_m(()=>t.each,t.children,e||void 0))}function ae(t){const e=t.keyed,n=M(()=>t.when,void 0,void 0),r=e?n:M(n,void 0,{equals:(i,s)=>!i==!s});return M(()=>{const i=r();if(i){const s=t.children;return typeof s=="function"&&s.length>0?Y(()=>s(e?i:()=>{if(!Y(r))throw Sm("Show");return n()})):s}return t.fallback},void 0,void 0)}function ra(t){const e=Le(()=>t.children),n=M(()=>{const r=e(),i=Array.isArray(r)?r:[r];let s=()=>{};for(let o=0;o<i.length;o++){const a=o,c=i[o],l=s,u=M(()=>l()?void 0:c.when,void 0,void 0),f=c.keyed?u:M(u,void 0,{equals:(d,h)=>!d==!h});s=()=>l()||(f()?[a,u,c]:void 0)}return s});return M(()=>{const r=n()();if(!r)return t.fallback;const[i,s,o]=r,a=o.children;return typeof a=="function"&&a.length>0?Y(()=>a(o.keyed?s():()=>{var l;if(((l=Y(n)())==null?void 0:l[0])!==i)throw Sm("Match");return s()})):a},void 0,void 0)}function Bt(t){return t}let es;
1function Em(){es&&[...es].forEach(t=>t())}function Mi(t){let e;X.context&&X.load&&(e=X.load(X.getContextId()));const[n,r]=B(e,void 0);return es||(es=new Set),es.add(r),K(()=>es.delete(r)),M(()=>{let i;if(i=n()){const s=t.fallback;return typeof s=="function"&&s.length?Y(()=>s(i,()=>r())):s}return Jc(()=>t.children,r)},void 0,void 0)}const x6=(t,e)=>t.showContent===e.showContent&&t.showFallback===e.showFallback,Df=Ze();function Am(t){let[e,n]=B(()=>({inFallback:!1})),r;const i=Ie(Df),[s,o]=B([]);i&&(r=i.register(M(()=>e()().inFallback)));const a=M(c=>{const l=t.revealOrder,u=t.tail,{showContent:f=!0,showFallback:d=!0}=r?r():{},h=s(),g=l==="backwards";if(l==="together"){const v=h.every(w=>!w()),b=h.map(()=>({showContent:v&&f,showFallback:d}));return b.inFallback=!v,b}let p=!1,m=c.inFallback;const y=[];for(let v=0,b=h.length;v<b;v++){const w=g?b-v-1:v,_=h[w]();if(!p&&!_)y[w]={showContent:f,showFallback:d};else{const S=!p;S&&(m=!0),y[w]={showContent:S,showFallback:!u||S&&u==="collapsed"?d:!1},p=!0}}return p||(m=!1),y.inFallback=m,y},{inFallback:!1});return n(()=>a),C(Df.Provider,{value:{register:c=>{let l;return o(u=>(l=u.length,[...u,c])),M(()=>a()[l],void 0,{equals:x6})}},get children(){return t.children}})}function jn(t){let e=0,n,r,i,s,o;const[a,c]=B(!1),l=h6(),u={increment:()=>{++e===1&&c(!0)},decrement:()=>{--e===0&&c(!1)},inFallback:a,effects:[],resolved:!1},f=Ve();if(X.context&&X.load){const g=X.getContextId();let p=X.load(g);if(p&&(typeof p!="object"||p.s!==1?i=p:X.gather(g)),i&&i!=="$$f"){const[m,y]=B(void 0,{equals:!1});s=m,i.then(()=>{if(X.done)return y();X.gather(g),rn(r),y(),rn()},v=>{o=v,y()})}}
1const d=Ie(Df);d&&(n=d.register(u.inFallback));let h;return K(()=>h&&h()),C(l.Provider,{value:u,get children(){return M(()=>{if(o)throw o;if(r=X.context,s)return s(),s=void 0;r&&i==="$$f"&&rn();const g=M(()=>t.children);return M(p=>{const m=u.inFallback(),{showContent:y=!0,showFallback:v=!0}=n?n():{};if((!m||i&&i!=="$$f")&&y)return u.resolved=!0,h&&h(),h=r=i=void 0,d6(u.effects),g();if(v)return h?p:Se(b=>(h=b,r&&(rn({id:r.id+"F",count:0}),r=void 0),t.fallback),f)})})}})}const S6=void 0,E6=Object.freeze(Object.defineProperty({__proto__:null,$DEVCOMP:o6,$PROXY:ht,$TRACK:rr,DEV:S6,ErrorBoundary:Mi,For:ke,Index:Yr,Match:Bt,Show:ae,Suspense:jn,SuspenseList:Am,Switch:ra,batch:at,cancelCallback:n6,catchError:Jc,children:Le,createComponent:C,createComputed:pe,createContext:Ze,createDeferred:l6,createEffect:ne,createMemo:M,createReaction:a6,createRenderEffect:fe,createResource:Ms,createRoot:Se,createSelector:Ns,createSignal:B,createUniqueId:Gr,enableExternalSource:g6,enableHydration:xm,enableScheduling:u6,equalFn:Bd,from:bm,getListener:ir,getOwner:Ve,indexArray:_m,lazy:Fd,mapArray:wm,mergeProps:oe,observable:w6,on:qn,onCleanup:K,onError:b6,onMount:Un,requestCallback:Nd,resetErrorBoundaries:Em,runWithOwner:un,sharedConfig:X,splitProps:_e,startTransition:Mr,untrack:Y,useContext:Ie,useTransition:ta},Symbol.toStringTag,{value:"Module"})),A6=["allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"],Tm=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable",...A6]),Om=new Set(["innerHTML","textContent","innerText","children"]),km=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),T6=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}});function Rm(t,e){const n=T6[t];return typeof n=="object"?n[e]?n.$:void 0:n}const Ud=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Pm=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Dm={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},O6=new Set(["html","base","head","link","meta","style","title","body","address","article","aside","footer","header","main","nav","section","body","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rp","rt","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","area","audio","img","map","track","video","embed","iframe","object","param","picture","portal","source","svg","math","canvas","
1noscript","script","del","ins","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr","button","datalist","fieldset","form","input","label","legend","meter","optgroup","option","output","progress","select","textarea","details","dialog","menu","summary","details","slot","template","acronym","applet","basefont","bgsound","big","blink","center","content","dir","font","frame","frameset","hgroup","image","keygen","marquee","menuitem","nobr","noembed","noframes","plaintext","rb","rtc","shadow","spacer","strike","tt","xmp","a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","portal","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp","input","h1","h2","h3","h4","h5","h6","webview","isindex","listing","multicol","nextid","noindex","search"]),De=t=>M(()=>t());function k6(t,e,n){let r=n.length,i=e.length,s=r,o=0,a=0,c=e[i-1].nextSibling,l=null;for(;o<i||a<s;){if(e[o]===n[a]){o++,a++;continue}for(;e[i-1]===n[s-1];)i--,s--;if(i===o){const u=s<r?a?n[a-1].nextSibling:n[s-a]:c;for(;a<s;)t.insertBefore(n[a++],u)}else if(s===a)for(;o<i;)(!l||!l.has(e[o]))&&e[o].remove(),o++;else if(e[o]===n[s-1]&&n[a]===e[i-1]){const u=e[--i].nextSibling;t.insertBefore(n[a++],e[o++].nextSibling),t.insertBefore(n[--s],u),e[i]=n[s]}else{if(!l){l=new Map;let f=a;for(;f<s;)l.set(n[f],f++)}const u=l.get(e[o]);if(u!=null)if(a<u&&u<s){let f=o,d=1,h;for(;++f<i&&f<s&&!((h=l.get(e[f]))==null||h!==u+d);)d++;if(d>u-a){const g=e[o];for(;a<u;)t.insertBefore(n[a++],g)}else t.replaceChild(n[a++],e[o++])}else o++;else e[o++].remove()}}}const Co="_$DX_DELEGATE";function bc(t,e,n,r={}){let i;return Se(s=>{i=s,e===document?t():D(e,t(),e.firstChild?null:void 0,n)},r.owner),()=>{i(),e.textContent=""}}function N(t,e,n,r){let i;const s=()=>{const a=r?document.createElementNS("http://www.w3.org/1998/Math/MathML","template"):document.createElement("template");return a.innerHTML=t,n?a.content.firstChild.firstChild:r?a.firstChild:a.content.firstChild},o=e?()=>Y(()=>document.importNode(i||(i=s()),!0)):()=>(i||(i=s())).cloneNode(!0);return o.cloneNode=o,o}function cr(t,e=window.document){const n=e[Co]||(e[Co]=new Set);for(let r=0,i=t.length;r<i;r++){const s=t[r];n.has(s)||(n.add(s),e.addEventListener(s,qd))}}function R6(t=window.document){if(t[Co]){for(let e of t[Co].keys())t.removeEventListener(e,qd);delete t[Co]}}function P6(t,e,n){Er(t)||((e==="value"||e==="defaultValue")&&(t.nodeName==="INPUT"||t.nodeName==="TEXTAREA")?t[e]=n!=null?n:"":t[e]=n)}function We(t,e,n){Er(t)||(n==null?t.removeAttribute(e):t.setAttribute(e,n))}function Im(t,e,n,r){Er(t)||(r==null?t.removeAttributeNS(e,n):t.setAttributeNS(e,n,r))}function Lm(t,e,n){Er(t)||(n?t.setAttribute(e,""):t.removeAttribute(e))}function ye(t,e){Er(t)||(e==null?t.removeAttribute("class"):t.className=e)}function $m(t,e,n,r){if(r)Array.isArray(n)?(t[`$$${e}`]=n[0],t[`$$${e}Data`]=n[1]):t[`$$${e}`]=n;else if(Array.isArray(n)){const i=n[0];t.addEventListener(e,n[0]=s=>i.call(t,n[1],s))}else t.addEventListener(e,n,typeof n!="function"&&n)}function zd(t,e,n={}){const r=Object.keys(e||{}),i=Object.keys(n);let s,o;for(s=0,o=i.length;s<o;s++){const a=i[s];!a||a==="undefined"||e[a]||(S0(t,a,!1),delete n[a])}for(s=0,o=r.length;s<o;s++){const a=r[s],c=!!e[a];!a||a==="undefined"||n[a]===c||!c||(S0(t,a,!0),n[a]=c)}return n}function Bs(t,e,n){if(!e)return n?We(t,"style"):e;const r=t.style;if(typeof e=="string")return r.cssText=e;typeof n=="string"&&(r.cssText=n=void 0),n||(n={}),e||(e={});let i,s;for(s in n)e[s]==null&&r.removeProperty(s),delete n[s];for(s in e)i=e[s],i!==n[s]&&(r.setProperty(s,i),n[s]=i);return n}function Ut(t,e,n){n!=null?t.style.setProperty(e,n):t.style.removeProperty(e)}function ve(t,e={},n,r){const i={};return r||fe(()=>i.children=bs(t,e.children,i.children)),fe(()=>typeof e.ref=="function"&&Be(e.ref,t)),fe(()=>Mm(t,e,n,!0,i,!0)),i}function D6(t,e){const n=t[e];return Object.defineProperty(t,e,{get(){return n()},enumerable:!0}),t}function Be(t,e,n){return Y(()=>t(e,n))}function D(t,e,n,r){if(n!==void 0&&!r&&(r=[]),typeof e!="function")return bs(t,e,r,n);fe(i=>
1bs(t,e(),i,n),r)}function Mm(t,e,n,r,i={},s=!1){e||(e={});for(const o in i)if(!(o in e)){if(o==="children")continue;i[o]=E0(t,o,null,i[o],n,s,e)}for(const o in e){if(o==="children"){r||bs(t,e.children);continue}const a=e[o];i[o]=E0(t,o,a,i[o],n,s,e)}}function I6(t,e,n={}){if(globalThis._$HY.done)return bc(t,e,[...e.childNodes],n);X.completed=globalThis._$HY.completed,X.events=globalThis._$HY.events,X.load=r=>globalThis._$HY.r[r],X.has=r=>r in globalThis._$HY.r,X.gather=r=>T0(e,r),X.registry=new Map,X.context={id:n.renderId||"",count:0};try{return T0(e,n.renderId),bc(t,e,[...e.childNodes],n)}finally{X.context=null}}function Nm(t){let e,n;return!Er()||!(e=X.registry.get(n=Bm()))?t():(X.completed&&X.completed.add(e),X.registry.delete(n),e)}function L6(t,e){for(;t&&t.localName!==e;)t=t.nextSibling;return t}function $6(t){let e=t,n=0,r=[];if(Er(t))for(;e;){if(e.nodeType===8){const i=e.nodeValue;if(i==="$")n++;else if(i==="/"){if(n===0)return[e,r];n--}}r.push(e),e=e.nextSibling}return[e,r]}function M6(){X.events&&!X.events.queued&&(queueMicrotask(()=>{const{completed:t,events:e}=X;if(e){for(e.queued=!1;e.length;){const[n,r]=e[0];if(!t.has(n))return;e.shift(),qd(r)}X.done&&(X.events=_$HY.events=null,X.completed=_$HY.completed=null)}}),X.events.queued=!0)}function Er(t){return!!X.context&&!X.done&&(!t||t.isConnected)}function N6(t){return t.toLowerCase().replace(/-([a-z])/g,(e,n)=>n.toUpperCase())}function S0(t,e,n){const r=e.trim().split(/\s+/);for(let i=0,s=r.length;i<s;i++)t.classList.toggle(r[i],n)}function E0(t,e,n,r,i,s,o){let a,c,l,u,f;if(e==="style")return Bs(t,n,r);if(e==="classList")return zd(t,n,r);if(n===r)return r;if(e==="ref")s||n(t);else if(e.slice(0,3)==="on:"){const d=e.slice(3);r&&t.removeEventListener(d,r,typeof r!="function"&&r),n&&t.addEventListener(d,n,typeof n!="function"&&n)}else if(e.slice(0,10)==="oncapture:"){const d=e.slice(10);r&&t.removeEventListener(d,r,!0),n&&t.addEventListener(d,n,!0)}else if(e.slice(0,2)==="on"){const d=e.slice(2).toLowerCase(),h=Ud.has(d);if(!h&&r){const g=Array.isArray(r)?r[0]:r;t.removeEventListener(d,g)}(h||n)&&($m(t,d,n,h),h&&cr([d]))}else if(e.slice(0,5)==="attr:")We(t,e.slice(5),n);else if(e.slice(0,5)==="bool:")Lm(t,e.slice(5),n);else if((f=e.slice(0,5)==="prop:")||(l=Om.has(e))||!i&&((u=Rm(e,t.tagName))||(c=Tm.has(e)))||(a=t.nodeName.includes("-")||"is"in o)){if(f)e=e.slice(5),c=!0;else if(Er(t))return n;e==="class"||e==="className"?ye(t,n):a&&!c&&!l?t[N6(e)]=n:(e==="value"||e==="defaultValue")&&(t.nodeName==="INPUT"||t.nodeName==="TEXTAREA")?t[u||e]=n!=null?n:"":t[u||e]=n}else{const d=i&&e.indexOf(":")>-1&&Dm[e.split(":")[0]];d?Im(t,d,e,n):We(t,km[e]||e,n)}return n}function qd(t){if(X.registry&&X.events&&X.events.find(([c,l])=>l===t))return;let e=t.target;const n=`$$${t.type}`,r=t.target,i=t.currentTarget,s=c=>Object.defineProperty(t,"target",{configurable:!0,value:c}),o=()=>{const c=e[n];if(c&&!e.disabled){const l=e[`${n}Data`];if(l!==void 0?c.call(e,l,t):c.call(e,t),t.cancelBubble)return}return e.host&&typeof e.host!="string"&&!e.host._$host&&e.contains(t.target)&&s(e.host),!0},a=()=>{for(;o()&&(e=e._$host||e.parentNode||e.host););};if(Object.defineProperty(t,"currentTarget",{configurable:!0,get(){return e||document}}),X.registry&&!X.done&&(X.done=_$HY.done=!0),t.composedPath){const c=t.composedPath();s(c[0]);for(let l=0;l<c.length-2&&(e=c[l],!!o());l++){if(e._$host){e=e._$host,a();break}if(e.parentNode===i)break}}else a();s(r)}function bs(t,e,n,r,i){const s=Er(t);if(s){!n&&(n=[...t.childNodes]);let c=[];for(let l=0;l<n.length;l++){const u=n[l];u.nodeType===8&&u.data.slice(0,2)==="!$"?u.remove():c.push(u)}n=c}for(;typeof n=="function";)n=n();if(e===n)return n;const o=typeof e,a=r!==void 0;if(t=a&&n[0]&&n[0].parentNode||t,o==="string"||o==="number"){if(s||o==="number"&&(e=e.toString(),e===n))return n;if(a){let c=n[0];c&&c.nodeType===3?c.data!==e&&(c.data=e):c=document.createTextNode(e),n=Xi(t,n,r,c)}else n!==""&&typeof n=="string"?n=t.firstChild.data=e:n=t.textContent=e}else if(e==null||o==="boolean"){if(s)return n;n=Xi(t,n,r)}else{if(o==="function")return fe(()=>{let c=e();for(;typeof c=="function";)c=c();n=bs(t,c,n,r)}
1),()=>n;if(Array.isArray(e)){const c=[],l=n&&Array.isArray(n);if(If(c,e,n,i))return fe(()=>n=bs(t,c,n,r,!0)),()=>n;if(s){if(!c.length)return n;if(r===void 0)return n=[...t.childNodes];let u=c[0];if(u.parentNode!==t)return n;const f=[u];for(;(u=u.nextSibling)!==r;)f.push(u);return n=f}if(c.length===0){if(n=Xi(t,n,r),a)return n}else l?n.length===0?A0(t,c,r):k6(t,n,c):(n&&Xi(t),A0(t,c));n=c}else if(e.nodeType){if(s&&e.parentNode)return n=a?[e]:e;if(Array.isArray(n)){if(a)return n=Xi(t,n,r,e);Xi(t,n,null,e)}else n==null||n===""||!t.firstChild?t.appendChild(e):t.replaceChild(e,t.firstChild);n=e}}return n}function If(t,e,n,r){let i=!1;for(let s=0,o=e.length;s<o;s++){let a=e[s],c=n&&n[t.length],l;if(!(a==null||a===!0||a===!1))if((l=typeof a)=="object"&&a.nodeType)t.push(a);else if(Array.isArray(a))i=If(t,a,c)||i;else if(l==="function")if(r){for(;typeof a=="function";)a=a();i=If(t,Array.isArray(a)?a:[a],Array.isArray(c)?c:[c])||i}else t.push(a),i=!0;else{const u=String(a);c&&c.nodeType===3&&c.data===u?t.push(c):t.push(document.createTextNode(u))}}return i}function A0(t,e,n=null){for(let r=0,i=e.length;r<i;r++)t.insertBefore(e[r],n)}function Xi(t,e,n,r){if(n===void 0)return t.textContent="";const i=r||document.createTextNode("");if(e.length){let s=!1;for(let o=e.length-1;o>=0;o--){const a=e[o];if(i!==a){const c=a.parentNode===t;!s&&!o?c?t.replaceChild(i,a):t.insertBefore(i,n):c&&a.remove()}else s=!0}}else t.insertBefore(i,n);return[i]}function T0(t,e){const n=t.querySelectorAll("*[data-hk]");for(let r=0;r<n.length;r++){const i=n[r],s=i.getAttribute("data-hk");(!e||s.startsWith(e))&&!X.registry.has(s)&&X.registry.set(s,i)}}function Bm(){return X.getNextContextId()}function B6(t){return X.context?void 0:t.children}function F6(t){return t.children}const oi=()=>{},U6=Symbol();function z6(t,e){!X.context&&(t.innerHTML=e)}function jd(t){const e=new Error(`${t.name} is not supported in the browser, returning undefined`);console.error(e)}function Fm(t,e){jd(Fm)}function Um(t,e){jd(Um)}function zm(t,e){jd(zm)}function q6(t,...e){}function j6(t,e,n,r){}function H6(t){}function W6(t){}function V6(t,e){}function X6(){}function K6(t){}function G6(t){}function Y6(t,e,n){}const Hd=!1,J6=!1,Z6="http://www.w3.org/2000/svg";function qm(t,e=!1,n=void 0){return e?document.createElementNS(Z6,t):document.createElement(t,{is:n})}const Q6=(...t)=>(xm(),I6(...t));function lr(t){const{useShadow:e}=t,n=document.createTextNode(""),r=()=>t.mount||document.body,i=Ve();let s,o=!!X.context;return ne(()=>{o&&(Ve().user=o=!1),s||(s=un(i,()=>M(()=>t.children)));const a=r();if(a instanceof HTMLHeadElement){const[c,l]=B(!1),u=()=>l(!0);Se(f=>D(a,()=>c()?f():s(),null)),K(u)}else{const c=qm(t.isSVG?"g":"div",t.isSVG),l=e&&c.attachShadow?c.attachShadow({mode:"open"}):c;Object.defineProperty(c,"_$host",{get(){return n.parentNode},configurable:!0}),D(l,s),a.appendChild(c),t.ref&&t.ref(c),K(()=>a.contains(c)&&a.removeChild(c))}},void 0,{render:!o}),n}function jm(t,e){const n=M(t);return M(()=>{const r=n();switch(typeof r){case"function":return Y(()=>r(e));case"string":const i=Pm.has(r),s=X.context?Nm():qm(r,i,Y(()=>e.is));return ve(s,e,i),s}})}function wc(t){const[,e]=_e(t,["component"]);return jm(()=>t.component,e)}const e5=Object.freeze(Object.defineProperty({__proto__:null,Aliases:km,Assets:oi,ChildProperties:Om,DOMElements:O6,DelegatedEvents:Ud,Dynamic:wc,ErrorBoundary:Mi,For:ke,Hydration:F6,HydrationScript:oi,Index:Yr,Match:Bt,NoHydration:B6,Portal:lr,Properties:Tm,RequestContext:U6,SVGElements:Pm,SVGNamespace:Dm,Show:ae,Suspense:jn,SuspenseList:Am,Switch:ra,addEventListener:$m,assign:Mm,classList:zd,className:ye,clearDelegatedEvents:R6,createComponent:C,createDynamic:jm,delegateEvents:cr,dynamicProperty:D6,effect:fe,escape:G6,generateHydrationScript:oi,getAssets:oi,getHydrationKey:Bm,getNextElement:Nm,getNextMarker:$6,getNextMatch:L6,getOwner:Ve,getPropAlias:Rm,getRequestEvent:oi,hydrate:Q6,innerHTML:z6,insert:D,isDev:J6,isServer:Hd,memo:De,mergeProps:oe,render:bc,renderToStream:zm,renderToString:Fm,renderToStringAsync:Um,resolveSSRNode:K6,runHydrationEvents:M6,setAttribute:We,setAttributeNS:Im,setBoolAttribute:Lm,setProperty:P6,setStyleProperty:Ut,spread:ve,ssr:q6,ssrAttribute:V6,ssrClassList:H6,ssrElement:j6,ssrHydrationKey:X6,ssrSpread:Y6,ssrStyle:W6,style:Bs,template:N,untrack:Y,use:Be,useAssets:oi},Symbol.toStringTag,{value:"Module"})),Ti=Symbol("store-raw"),Fn=Symbol("store-node"),sn=Symbol("store-has"),Hm=Symbol("store-self");function Wm(t){let e=t[ht];if(!e&&(Object.defineProperty(t,ht,{value:e=new Proxy(t,n5)}),!Array.isArray(t))){const n=Object.keys(t),r=Object.getOwnPropertyDescriptors(t),i=Object.getPrototypeOf(t),s=i!==null&&t!==null&&typeof t=="object"&&!Array.isArray(t)&&i!==Object.prototype;if(s){const o=Object.getOwnPropertyDescriptors(i);n.push(...Object.keys(o)),Object.assign(r,o)}for(let o=0,a=n.length;o<a;o++){const c=n[o];s&&c==="constructor"||r[c].get&&Object.defineProperty(t,c,{configurable:!0,enumerable:r[c].enumerable,get:r[c].get.bind(e)})}}return e}function zn(t){let e;return t!=null&&typeof t=="object"&&(t[ht]||!(e=Object.getPrototypeOf(t))||e===Object.prototype||Array.isArray(t))}
1function Ke(t,e=new Set){let n,r,i,s;if(n=t!=null&&t[Ti])return n;if(!zn(t)||e.has(t))return t;if(Array.isArray(t)){Object.isFrozen(t)?t=t.slice(0):e.add(t);for(let o=0,a=t.length;o<a;o++)i=t[o],(r=Ke(i,e))!==i&&(t[o]=r)}else{Object.isFrozen(t)?t=Object.assign({},t):e.add(t);const o=Object.keys(t),a=Object.getOwnPropertyDescriptors(t);for(let c=0,l=o.length;c<l;c++)s=o[c],!a[s].get&&(i=t[s],(r=Ke(i,e))!==i&&(t[s]=r))}return t}function ws(t,e){let n=t[e];return n||Object.defineProperty(t,e,{value:n=Object.create(null)}),n}function Oi(t,e,n){if(t[e])return t[e];const[r,i]=B(n,{equals:!1,internal:!0});return r.$=i,t[e]=r}function t5(t,e){const n=Reflect.getOwnPropertyDescriptor(t,e);return!n||n.get||!n.configurable||e===ht||e===Fn||(delete n.value,delete n.writable,n.get=()=>t[ht][e]),n}function Wd(t){ir()&&Oi(ws(t,Fn),Hm)()}function Vm(t){return Wd(t),Reflect.ownKeys(t)}const n5={get(t,e,n){if(e===Ti)return t;if(e===ht)return n;if(e===rr)return Wd(t),n;const r=ws(t,Fn),i=r[e];let s=i?i():t[e];if(e===Fn||e===sn||e==="__proto__")return s;if(!i){const o=Object.getOwnPropertyDescriptor(t,e);ir()&&(typeof s!="function"||Object.prototype.hasOwnProperty.call(t,e))&&!(o&&o.get)&&(s=Oi(r,e,s)())}return zn(s)?Wm(s):s},has(t,e){return e===Ti||e===ht||e===rr||e===Fn||e===sn||e==="__proto__"?!0:(ir()&&Oi(ws(t,sn),e)(),e in t)},set(){return!0},deleteProperty(){return!0},ownKeys:Vm,getOwnPropertyDescriptor:t5};function Pt(t,e,n,r=!1){if(e==="__proto__"||!r&&t[e]===n)return;const i=t[e],s=t.length;n===void 0?(delete t[e],t[sn]&&t[sn][e]&&i!==void 0&&t[sn][e].$()):(t[e]=n,t[sn]&&t[sn][e]&&i===void 0&&t[sn][e].$());let o=ws(t,Fn),a;if((a=Oi(o,e,i))&&a.$(()=>n),Array.isArray(t)&&t.length!==s){for(let c=t.length;c<s;c++)(a=o[c])&&a.$();(a=Oi(o,"length",s))&&a.$(t.length)}(a=o[Hm])&&a.$()}function Xm(t,e){const n=Object.keys(e);for(let r=0;r<n.length;r+=1){const i=n[r];Km(i)||Pt(t,i,e[i])}}function Km(t){return t==="__proto__"||t==="constructor"||t==="prototype"}function r5(t,e){if(typeof e=="function"&&(e=e(t)),e=Ke(e),Array.isArray(e)){if(t===e)return;let n=0,r=e.length;for(;n<r;n++){const i=e[n];t[n]!==i&&Pt(t,n,i)}Pt(t,"length",r)}else Xm(t,e)}function po(t,e,n=[]){let r,i=t;if(e.length>1){r=e.shift();const o=typeof r,a=Array.isArray(t);if(o==="string"&&(r==="__proto__"||e.length>1&&Km(r)))return;if(Array.isArray(r)){for(let c=0;c<r.length;c++)po(t,[r[c]].concat(e),n);return}else if(a&&o==="function"){for(let c=0;c<t.length;c++)r(t[c],c)&&po(t,[c].concat(e),n);return}else if(a&&o==="object"){const{from:c=0,to:l=t.length-1,by:u=1}=r;for(let f=c;f<=l;f+=u)po(t,[f].concat(e),n);return}else if(e.length>1){po(t[r],e,[r].concat(n));return}i=t[r],n=[r].concat(n)}let s=e[0];typeof s=="function"&&(s=s(i,n),s===i)||r===void 0&&s==null||(s=Ke(s),r===void 0||zn(i)&&zn(s)&&!Array.isArray(s)?Xm(i,s):Pt(t,r,s))}function zt(...[t,e]){const n=Ke(t||{}),r=Array.isArray(n),i=Wm(n);function s(...o){at(()=>{r&&o.length===1?r5(n,o[0]):po(n,o)})}return[i,s]}function i5(t,e){const n=Reflect.getOwnPropertyDescriptor(t,e);return!n||n.get||n.set||!n.configurable||e===ht||e===Fn||(delete n.value,delete n.writable,n.get=()=>t[ht][e],n.set=r=>t[ht][e]=r),n}const s5={get(t,e,n){if(e===Ti)return t;if(e===ht)return n;if(e===rr)return Wd(t),n;const r=ws(t,Fn),i=r[e];let s=i?i():t[e];if(e===Fn||e===sn||e==="__proto__")return s;if(!i){const o=Object.getOwnPropertyDescriptor(t,e),a=typeof s=="function";if(ir()&&(!a||Object.prototype.hasOwnProperty.call(t,e))&&!(o&&o.get))s=Oi(r,e,s)();else if(s!=null&&a&&s===Array.prototype[e])return(...c)=>at(()=>Array.prototype[e].apply(n,c))}return zn(s)?Gm(s):s},has(t,e){return e===Ti||e===ht||e===rr||e===Fn||e===sn||e==="__proto__"?!0:(ir()&&Oi(ws(t,sn),e)(),e in t)},set(t,e,n){return at(()=>Pt(t,e,Ke(n))),!0},deleteProperty(t,e){return at(()=>Pt(t,e,void 0,!0)),!0},ownKeys:Vm,getOwnPropertyDescriptor:i5};function Gm(t){let e=t[ht];if(!e){Object.defineProperty(t,ht,{value:e=new Proxy(t,s5)});const n=Object.keys(t),r=Object.getOwnPropertyDescriptors(t),i=Object.getPrototypeOf(t),s=i!==null&&t!==null&&typeof t=="object"&&!Array.isArray(t)&&i!==Object.prototype;if(s){let o=i;for(;o!=null;){const a=Object.getOwnPropertyDescriptors(o);n.push(...Object.keys(a)),Object.assign(r,a),o=Object.getPrototypeOf(o
1)}}for(let o=0,a=n.length;o<a;o++){const c=n[o];if(!(s&&c==="constructor")){if(r[c].get){const l=r[c].get.bind(e);Object.defineProperty(t,c,{get:l,configurable:!0})}if(r[c].set){const l=r[c].set;Object.defineProperty(t,c,{set:f=>at(()=>l.call(e,f)),configurable:!0})}}}}return e}function o5(t,e){const n=Ke(t||{});return Gm(n)}function a5(t,e){at(()=>e(Ke(t)))}const Lf=Symbol("store-root");function O0(t){return t==="__proto__"||t==="constructor"||t==="prototype"}function Qi(t,e,n,r,i){if(O0(n))return;const s=e[n];if(t===s)return;const o=Array.isArray(t);if(n!==Lf&&(!zn(t)||!zn(s)||o!==Array.isArray(s)||i&&t[i]!==s[i])){Pt(e,n,t);return}if(o){if(t.length&&s.length&&(!r||i&&t[0]&&t[0][i]!=null)){let l,u,f,d,h,g,p,m;for(f=0,d=Math.min(s.length,t.length);f<d&&(s[f]===t[f]||i&&s[f]&&t[f]&&s[f][i]&&s[f][i]===t[f][i]);f++)Qi(t[f],s,f,r,i);const y=new Array(t.length),v=new Map;for(d=s.length-1,h=t.length-1;d>=f&&h>=f&&(s[d]===t[h]||i&&s[d]&&t[h]&&s[d][i]&&s[d][i]===t[h][i]);d--,h--)y[h]=s[d];if(f>h||f>d){for(u=f;u<=h;u++)Pt(s,u,t[u]);for(;u<t.length;u++)Pt(s,u,y[u]),Qi(t[u],s,u,r,i);s.length>t.length&&Pt(s,"length",t.length);return}for(p=new Array(h+1),u=h;u>=f;u--)g=t[u],m=i&&g?g[i]:g,l=v.get(m),p[u]=l===void 0?-1:l,v.set(m,u);for(l=f;l<=d;l++)g=s[l],m=i&&g?g[i]:g,u=v.get(m),u!==void 0&&u!==-1&&(y[u]=s[l],u=p[u],v.set(m,u));for(u=f;u<t.length;u++)u in y?(Pt(s,u,y[u]),Qi(t[u],s,u,r,i)):Pt(s,u,t[u])}else for(let l=0,u=t.length;l<u;l++)Qi(t[l],s,l,r,i);s.length>t.length&&Pt(s,"length",t.length);return}const a=Object.keys(t);for(let l=0,u=a.length;l<u;l++)O0(a[l])||Qi(t[a[l]],s,a[l],r,i);const c=Object.keys(s);for(let l=0,u=c.length;l<u;l++)t[c[l]]===void 0&&Pt(s,c[l],void 0)}function ia(t,e={}){const{merge:n,key:r="id"}=e,i=Ke(t);return s=>{if(!zn(s)||!zn(i))return i;const o=Qi(i,{[Lf]:s},Lf,n,r);return o===void 0?s:o}}const _c=new WeakMap,Ym={get(t,e){if(e===Ti)return t;const n=t[e];if(e===ht||e===rr||e===Fn||e===sn||e==="__proto__")return n;let r;return zn(n)?_c.get(n)||(_c.set(n,r=new Proxy(n,Ym)),r):n},set(t,e,n){return Pt(t,e,Ke(n)),!0},deleteProperty(t,e){return Pt(t,e,void 0,!0),!0}};function c5(t){return e=>{if(zn(e)){let n;(n=_c.get(e))||_c.set(e,n=new Proxy(e,Ym)),t(n)}return e}}const l5=void 0,u5=Object.freeze(Object.defineProperty({__proto__:null,$RAW:Ti,DEV:l5,createMutable:o5,createStore:zt,modifyMutable:a5,produce:c5,reconcile:ia,unwrap:Ke},Symbol.toStringTag,{value:"Module"}));function Zc(){let t=new Set;function e(i){return t.add(i),()=>t.delete(i)}let n=!1;function r(i,s){if(n)return!(n=!1);const o={to:i,options:s,defaultPrevented:!1,preventDefault:()=>o.defaultPrevented=!0};for(const a of t)a.listener(de(q({},o),{from:a.location,retry:c=>{c&&(n=!0),a.navigate(i,de(q({},s),{resolve:!1}))}}));return!o.defaultPrevented}return{subscribe:e,confirm:r}}let $f;function sa(){(!window.history.state||window.history.state._depth==null)&&window.history.replaceState(de(q({},window.history.state),{_depth:window.history.length-1}),""),$f=window.history.state._depth}sa();function Vd(t){return de(q({},t),{_depth:window.history.state&&window.history.state._depth})}function Xd(t,e){let n=!1;return()=>{const r=$f;sa();const i=r==null?null:$f-r;if(n){n=!1;return}i&&e(i)?(n=!0,window.history.go(-i)):t()}}const f5=/^(?:[a-z0-9]+:)?\/\//i,d5=/^\/+|(\/)\/+$/g,Qc="http://sr";function bi(t,e=!1){const n=t.replace(d5,"$1");return n?e||/^[?#]/.test(n)?n:"/"+n:""}function Za(t,e,n){if(f5.test(e))return;const r=bi(t),i=n&&bi(n);let s="";return!i||e.startsWith("/")?s=r:i.toLowerCase().indexOf(r.toLowerCase())!==0?s=r+i:s=i,(s||"/")+bi(e,!s)}function h5(t,e){if(t==null)throw new Error(e);return t}function g5(t,e){return bi(t).replace(/\/*(\*.*)?$/g,"")+bi(e)}function Jm(t){const e={};return t.searchParams.forEach((n,r)=>{r in e?Array.isArray(e[r])?e[r].push(n):e[r]=[e[r],n]:e[r]=n}),e}function Zm(t,e,n){const[r,i]=t.split("/*",2),s=r.split("/").filter(Boolean),o=s.length;return a=>{const c=a.split("/").filter(Boolean),l=c.length-o;if(l<0||l>0&&i===void 0&&!e)return null;const u={path:o?"":"/",params:{}},f=d=>n===void 0?void 0:n[d];for(let d=0;d<o;d++){const h=s[d],g=h[0]===":",p=g?c[d]:c[d].toLowerCase(),m=g?h.slice(1):h.toLowerCase();if(g&&Ml(p,f(m)))u.params[m]=p;else if(g||!Ml(p,m))return null;u.path+=`/${p}`}if(i){const d=l?c.slice(-l).join("/"):"";if(Ml(d,f(i)))u.params[i]=d;else return null}return u}}function Ml(t,e){const n=r=>r===t;return e===void 0?!0:typeof e=="string"?n(e):typeof e=="function"?e(t):Array.isArray(e)?e.some(n):e instanceof RegExp?e.test(t):!1}function p5(t){const[e,n]=t.pattern.split("/*",2),r=e.split("/").filter(
1Boolean);return r.reduce((i,s)=>i+(s.startsWith(":")?2:3),r.length-(n===void 0?0:1))}function Qm(t){const e=new Map,n=Ve();return new Proxy({},{get(r,i){return e.has(i)||un(n,()=>e.set(i,M(()=>t()[i]))),e.get(i)()},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},ownKeys(){return Reflect.ownKeys(t())},has(r,i){return i in t()}})}function e2(t,e){const n=new URLSearchParams(t);Object.entries(e).forEach(([i,s])=>{s==null||s===""||s instanceof Array&&!s.length?n.delete(i):s instanceof Array?(n.delete(i),s.forEach(o=>{n.append(i,String(o))})):n.set(i,String(s))});const r=n.toString();return r?`?${r}`:""}function Kd(t){let e=/(\/?\:[^\/]+)\?/.exec(t);if(!e)return[t];let n=t.slice(0,e.index),r=t.slice(e.index+e[0].length);const i=[n,n+=e[1]];for(;e=/^(\/\:[^\/]+)\?/.exec(r);)i.push(n+=e[1]),r=r.slice(e[0].length);return Kd(r).reduce((s,o)=>[...s,...i.map(a=>a+o)],[])}const m5=100,t2=Ze(),Gd=Ze(),Hn=()=>h5(Ie(t2),"<A> and 'use' router primitives can be only used inside a Route."),y5=()=>Ie(Gd)||Hn().base,n2=t=>{const e=y5();return M(()=>e.resolvePath(t()))},r2=t=>{const e=Hn();return M(()=>{const n=t();return n!==void 0?e.renderPath(n):n})},Fs=()=>Hn().navigatorFactory(),Tn=()=>Hn().location,v5=()=>Hn().isRouting,b5=()=>{const t=Hn().preloadRoute;return(e,n={})=>t(e instanceof URL?e:new URL(e,Qc),n.preloadData)},w5=(t,e)=>{const n=Tn(),r=M(()=>Kd(t()).map(i=>Zm(i,void 0,e)));return M(()=>{for(const i of r()){const s=i(n.pathname);if(s)return s}})},oa=()=>Hn().matches,_5=()=>Hn().params,Mf=()=>{const t=Tn(),e=Fs(),n=(r,i)=>{const s=Y(()=>e2(t.search,r)+t.hash);e(s,q({scroll:!1,resolve:!1},i))};return[t.query,n]},i2=t=>{const e=Hn().beforeLeave.subscribe({listener:t,location:Tn(),navigate:Fs()});K(e)};function C5(t,e=""){const{component:n,preload:r,load:i,children:s,info:o}=t,a=!s||Array.isArray(s)&&!s.length,c={key:t,component:n,preload:r||i,info:o};return s2(t.path).reduce((l,u)=>{for(const f of Kd(u)){const d=g5(e,f);let h=a?d:d.split("/*",1)[0];h=h.split("/").map(g=>g.startsWith(":")||g.startsWith("*")?g:encodeURIComponent(g)).join("/"),l.push(de(q({},c),{originalPath:u,pattern:h,matcher:Zm(h,!a,t.matchFilters)}))}return l},[])}function x5(t,e=0){return{routes:t,score:p5(t[t.length-1])*1e4-e,matcher(n){const r=[];for(let i=t.length-1;i>=0;i--){const s=t[i],o=s.matcher(n);if(!o)return null;r.unshift(de(q({},o),{route:s}))}return r}}}function s2(t){return Array.isArray(t)?t:[t]}function o2(t,e="",n=[],r=[]){const i=s2(t);for(let s=0,o=i.length;s<o;s++){const a=i[s];if(a&&typeof a=="object"){a.hasOwnProperty("path")||(a.path="");const c=C5(a,e);for(const l of c){n.push(l);const u=Array.isArray(a.children)&&a.children.length===0;if(a.children&&!u)o2(a.children,l.pattern,n,r);else{const f=x5([...n],r.length);r.push(f)}n.pop()}}}return n.length?r:r.sort((s,o)=>o.score-s.score)}function Nl(t,e){for(let n=0,r=t.length;n<r;n++){const i=t[n].matcher(e);if(i)return i}return[]}function S5(t,e,n){const r=new URL(Qc),i=M(u=>{const f=t();try{return new URL(f,r)}catch(d){return console.error(`Invalid path ${f}`),u}},r,{equals:(u,f)=>u.href===f.href}),s=M(()=>i().pathname),o=M(()=>i().search,!0),a=M(()=>i().hash),c=()=>"",l=qn(o,()=>Jm(i()));return{get pathname(){return s()},get search(){return o()},get hash(){return a()},get state(){return e()},get key(){return c()},query:n?n(l):Qm(l)}}let ui;function a2(){return ui}let _s=!1;function E5(){return _s}function k0(t){_s=t}function A5(t,e,n,r={}){const{signal:[i,s],utils:o={}}=t,a=o.parsePath||(R=>R),c=o.renderPath||(R=>R),l=o.beforeLeave||Zc(),u=Za("",r.base||"");if(u===void 0)throw new Error(`${u} is not a valid base path`);u&&!i().value&&s({value:u,replace:!0,scroll:!1});const[f,d]=B(!1);let h;const g=(R,k)=>{k.value===p()&&k.state===y()||(h===void 0&&d(!0),ui=R,h=k,Mr(()=>{h===k&&(m(h.value),v(h.state),Em(),_[1]($=>$.filter(U=>U.pending)))}).finally(()=>{h===k&&at(()=>{ui=void 0,R==="navigate"&&I(h),d(!1),h=void 0})}))},[p,m]=B(i().value),[y,v]=B(i().state),b=S5(p,y,o.queryWrapper),w=[],_=B([]),S=M(()=>typeof r.transformUrl=="function"?Nl(e(),r.transformUrl(b.pathname)):Nl(e(),b.pathname)),x=()=>{const R=S(),k={};for(let $=0;$<R.length;$++)Object.assign(k,R[$].params);return k},E=o.paramsWrapper?o.paramsWrapper(x,e):Qm(x),A={pattern:u,path:()=>u,outlet:()=>null,resolvePath(R){return Za(u,R)}};return fe(qn(i,R=>g("native",R),{defer:!0})),{base:A,location:b,params:E,isRouting:f,renderPath:c,parsePath:a,navigatorFactory:T,matches:S,beforeLeave:l,preloadRoute:L,singleFlight:r.singleFlight===void 0?!0:r.singleFlight,submissions:_};function P(R,k,$){Y(()=>{if(typeof k=="number"){k&&(o.go?o.go(k):console.warn("Router integration does not support relative routing"));return}const U=!k||k[0]==="?",{replace:j,resolve:V,scroll:ie,state:F}=q({replace:!1,resolve:!U,scroll:!0},$),z=V?R.resolvePath(k):Za(U&&b.pathname||"",k);if(z===void 0)throw new Error(`Path '${k}' is not a routable path`);if(w.length>=m5)throw new Error("Too many redirects");const ce=p();(z!==ce||F!==y())&&(Hd||l.confirm(z,$)&&(w.push({value:ce,replace:j,scroll:ie,state:y()}),g("navigate",{value:z,state:F})))})}function T(R){return R=R||Ie(Gd)||A,(k,$)=>P(R,k,$)}function I(R){const k=w[0];k&&(s(de(q({},R),{replace:k.replace,scroll:k.scroll})),w.length=0)}function L(R,k){const $=Nl(e(),R.pathname),U=ui;ui="preload";for(let j in $){const{route:V,params:ie}=$[j];V.component&&V.component.preload&&V.component.preload();const{preload:F}=V;_s=!0,k&&F&&un(n(),()=>F({params:ie,location:{pathname:R.pathname,search:R.search,hash:R.hash,query:Jm(R),state:null,key:""},intent:"preload"})),_s=!1}ui=U}}function T5(t,e,n,r){const{base:i,location:s,params:o}=t,{pattern:a,component:c,preload:l}=r().route,u=M(()=>r().path);c&&c.preload&&c.preload(),_s=!0;const f=l?l({params:o,location:s,intent:ui||"initial"}):void 0;return _s=!1,{parent:e,pattern:a,path:u,outlet:()=>c?C(c,{params:o,location:s,data:f,get children(){return n()}}):n(),resolvePath(h){return Za(i.path(),h,u())}}}const c2=t=>e=>{const{base:n}=e,r=Le(()=>e.children),i=M(()=>o2(r(),e.base||""));let s;const o=A5(t,i,()=>s,{base:n,singleFlight:e.singleFlight,transformUrl:e.transformUrl});return t.create&&t.create(o),C(t2.Provider,{value:o,get children(){return C(O5,{routerState:o,get root(){return e.root},get preload(){return e.rootPreload||e.rootLoad},get children(){return[De(()=>(s=Ve())&&null),C(k5,{routerState:o,get branches(){return i()}})]}})}})};function O5(t){const e=t.routerState.location,n=t.routerState.params,r=M(()=>t.preload&&Y(()=>{k0(!0),t.preload({params:n,location:e,intent:a2()||"initial"}),k0(!1)}));return C(ae,{get when(){return t.root},keyed:!0,get fallback(){return t.children},children:i=>C(i,{params:n,location:e,get data(){return r()},get children(){return t.children}})})}function k5(t){const e=[];let n;const r=M(qn(t.routerState.matches,(i,s,o)=>{let a=s&&i.length===s.length;const c=[];for(let l=0,u=i.length;l<u;l++){const f=s&&s[l],d=i[l];o&&f&&d.route.key===f.route.key?c[l]=o[l]:(a=!1,e[l]&&e[l](),Se(h=>
1{e[l]=h,c[l]=T5(t.routerState,c[l-1]||t.routerState.base,R0(()=>r()[l+1]),()=>{var p;const g=t.routerState.matches();return(p=g[l])!=null?p:g[0]})}))}return e.splice(i.length).forEach(l=>l()),o&&a?o:(n=c[0],c)}));return R0(()=>r()&&n)()}const R0=t=>()=>C(ae,{get when(){return t()},keyed:!0,children:e=>C(Gd.Provider,{value:e,get children(){return e.outlet()}})}),R5=t=>{const e=Le(()=>t.children);return oe(t,{get children(){return e()}})};function P5([t,e],n,r){return[t,r?i=>e(r(i)):e]}function aa(t){let e=!1;const n=i=>typeof i=="string"?{value:i}:i,r=P5(B(n(t.get()),{equals:(i,s)=>i.value===s.value&&i.state===s.state}),void 0,i=>(!e&&t.set(i),X.registry&&!X.done&&(X.done=!0),i));return t.init&&K(t.init((i=t.get())=>{e=!0,r[1](n(i)),e=!1})),c2({signal:r,create:t.create,utils:t.utils})}function l2(t,e,n){return t.addEventListener(e,n),()=>t.removeEventListener(e,n)}function Yd(t,e){const n=t&&document.getElementById(t);n?n.scrollIntoView():e&&window.scrollTo(0,0)}function D5(t){const e=new URL(t);return e.pathname+e.search}function I5(t){let e;const n={value:t.url||(e=oi())&&D5(e.request.url)||""};return c2({signal:[()=>n,r=>Object.assign(n,r)]})(t)}const L5="Location",$5=5e3,M5=18e4;let $o=new Map;setInterval(()=>{const t=Date.now();for(let[e,n]of $o.entries())!n[4].count&&t-n[0]>M5&&$o.delete(e)},3e5);function ca(){return $o}function u2(t,e=!0){return Mr(()=>{const n=Date.now();f2(t,r=>{e&&(r[0]=0),r[4][1](n)})})}function f2(t,e){t&&!Array.isArray(t)&&(t=[t]);for(let n of $o.keys())(t===void 0||B5(n,t))&&e($o.get(n))}function Ni(t,e){t.GET&&(t=t.GET);const n=((...r)=>{const i=ca(),s=a2(),o=E5(),c=Ve()?Fs():void 0,l=Date.now(),u=e+Nf(r);let f=i.get(u),d;if(ir()&&!Hd&&(d=!0,K(()=>f[4].count--)),f&&f[0]&&(s==="native"||f[4].count||Date.now()-f[0]<$5)){d&&(f[4].count++,f[4][0]()),f[3]==="preload"&&s!=="preload"&&(f[0]=l);let p=f[1];return s!=="preload"&&(p="then"in f[1]?f[1].then(g(!1),g(!0)):g(!1)(f[1]),s==="navigate"&&Mr(()=>f[4][1](f[0]))),o&&"then"in p&&p.catch(()=>{}),p}let h;return X.has&&X.has(u)?(h=X.load(u),delete globalThis._$HY.r[u]):h=t(...r),f?(f[0]=l,f[1]=h,f[3]=s,s==="navigate"&&Mr(()=>f[4][1](f[0]))):(i.set(u,f=[l,h,,s,B(l)]),f[4].count=0),d&&(f[4].count++,f[4][0]()),s!=="preload"&&(h="then"in h?h.then(g(!1),g(!0)):g(!1)(h)),o&&"then"in h&&h.catch(()=>{}),h;function g(p){return m=>te(null,null,function*(){if(m instanceof Response){const y=m.headers.get(L5);if(y!==null){c&&y.startsWith("/")?Mr(()=>{c(y,{replace:!0})}):window.location.href=y;return}m.customBody&&(m=yield m.customBody())}if(p)throw m;return f[2]=m,m})}});return n.keyFor=(...r)=>e+Nf(r),n.key=e,n}Ni.get=t=>ca().get(t)[2];Ni.set=(t,e)=>{const n=ca(),r=Date.now();let i=n.get(t);i?(i[0]=r,i[1]=Promise.resolve(e),i[2]=e,i[3]="preload"):(n.set(t,i=[r,Promise.resolve(e),e,"preload",B(r)]),i[4].count=0)};Ni.delete=t=>ca().delete(t);Ni.clear=()=>ca().clear();const N5=Ni;function B5(t,e){for(let n of e)if(n&&t.startsWith(n))return!0;return!1}function Nf(t){return JSON.stringify(t,(e,n)=>F5(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function F5(t){let e;return t!=null&&typeof t=="object"&&(!(e=Object.getPrototypeOf(t))||e===Object.prototype)}const Bf=new Map;function d2(t,e){const n=Hn(),r=M(()=>n.submissions[0]().filter(i=>i.url===t.base&&(!e||e(i.input))));return new Proxy([],{get(i,s){return s===rr?r():s==="pending"?r().some(o=>!o.result):r()[s]},has(i,s){return s in r()}})}function U5(t,e){const n=d2(t,e);return new Proxy({},{get(r,i){var s;return n.length===0&&i==="clear"||i==="retry"?()=>{}:(s=n[n.length-1])==null?void 0:s[i]}})}function z5(t){const e=Hn();return(...n)=>t.apply({r:e},n)}function q5(t,e={}){function n(...s){const o=this.r,a=this.f,c=(o.singleFlight&&t.withOptions?t.withOptions({headers:{"X-Single-Flight":"true"}}):t)(...s),[l,u]=B();let f;function d(h){return g=>te(null,null,function*(){var y;const p=yield H5(g,h,o.navigatorFactory());let m=null;if((y=r.onComplete)==null||y.call(r,de(q({},f),{result:p==null?void 0:p.data,error:p==null?void 0:p.error,pending:!1,retry(){return m=f.retry()}})),m)return m;if(!p)return f.clear();if(u(p),p.error&&!a)throw p.error;return p.data})}return o.submissions[1](h=>[...h,f={input:s,url:i,get result(){var g;return(g=l())==null?void 0:g.data},get error(){var g;return(g=l())==null?void 0:g.error},get pending(){return!l()},clear(){o.submissions[1](g=>g.filter(p=>p!==f))},retry(){return u(void 0),t(...s).then(d(),d(!0))}}]),c.then(d(),d(!0))}const r=typeof e=="string"?{name:e}:e,i=t.url||r.name&&`https://action/${r.name}`||`https://action/${j5(t.toString())}`;return n.base=i,h2(n,i)}function h2(t,e){return t.toString=()=>{if(!e)throw new Error("Client Actions need explicit names if server rendered");return e},t.with=function(...n){const r=function(...s){return t.call(this,...n,...s)};
1r.base=t.base;const i=new URL(e,Qc);return i.searchParams.set("args",Nf(n)),h2(r,(i.origin==="https://action"?i.origin:"")+i.pathname+i.search)},t.url=e,Bf.set(e,t),Ve()&&K(()=>Bf.delete(e)),t}const j5=t=>t.split("").reduce((e,n)=>(e<<5)-e+n.charCodeAt(0)|0,0);function H5(t,e,n){return te(this,null,function*(){let r,i,s,o;if(t instanceof Response){if(t.headers.has("X-Revalidate")&&(s=t.headers.get("X-Revalidate").split(",")),t.customBody&&(r=i=yield t.customBody(),t.headers.has("X-Single-Flight")&&(r=r._$value,delete i._$value,o=Object.keys(i))),t.headers.has("Location")){const a=t.headers.get("Location")||"/";a.startsWith("http")?window.location.href=a:n(a)}}else{if(e)return{error:t};r=t}return f2(s,a=>a[0]=0),o&&o.forEach(a=>Ni.set(a,i[a])),yield u2(s,!1),r!=null?{data:r}:void 0})}function Jd(t=!0,e=!1,n="/_server",r){return i=>{const s=i.base.path(),o=i.navigatorFactory(i.base);let a,c;function l(p){return p.namespaceURI==="http://www.w3.org/2000/svg"}function u(p){if(p.defaultPrevented||p.button!==0||p.metaKey||p.altKey||p.ctrlKey||p.shiftKey)return;const m=p.composedPath().find(S=>S instanceof Node&&S.nodeName.toUpperCase()==="A");if(!m||e&&!m.hasAttribute("link"))return;const y=l(m),v=y?m.href.baseVal:m.href;if((y?m.target.baseVal:m.target)||!v&&!m.hasAttribute("state"))return;const w=(m.getAttribute("rel")||"").split(/\s+/);if(m.hasAttribute("download")||w&&w.includes("external"))return;const _=y?new URL(v,document.baseURI):new URL(v);if(!(_.origin!==window.location.origin||s&&_.pathname&&!_.pathname.toLowerCase().startsWith(s.toLowerCase())))return[m,_]}function f(p){const m=u(p);if(!m)return;const[y,v]=m,b=i.parsePath(v.pathname+v.search+v.hash),w=y.getAttribute("state");p.preventDefault(),o(b,{resolve:!1,replace:y.hasAttribute("replace"),scroll:!y.hasAttribute("noscroll"),state:w?JSON.parse(w):void 0})}function d(p){const m=u(p);if(!m)return;const[y,v]=m;r&&(v.pathname=r(v.pathname)),i.preloadRoute(v,y.getAttribute("preload")!=="false")}function h(p){clearTimeout(a);const m=u(p);if(!m)return c=null;const[y,v]=m;c!==y&&(r&&(v.pathname=r(v.pathname)),a=setTimeout(()=>{i.preloadRoute(v,y.getAttribute("preload")!=="false"),c=y},20))}function g(p){if(p.defaultPrevented)return;let m=p.submitter&&p.submitter.hasAttribute("formaction")?p.submitter.getAttribute("formaction"):p.target.getAttribute("action");if(!m)return;if(!m.startsWith("https://action/")){const v=new URL(m,Qc);if(m=i.parsePath(v.pathname+v.search),!m.startsWith(n))return}if(p.target.method.toUpperCase()!=="POST")throw new Error("Only POST forms are supported for Actions");const y=Bf.get(m);if(y){p.preventDefault();const v=new FormData(p.target,p.submitter);y.call({r:i,f:p.target},p.target.enctype==="multipart/form-data"?v:new URLSearchParams(v))}}cr(["click","submit"]),document.addEventListener("click",f),t&&(document.addEventListener("mousemove",h,{passive:!0}),document.addEventListener("focusin",d,{passive:!0}),document.addEventListener("touchstart",d,{passive:!0})),document.addEventListener("submit",g),K(()=>{document.removeEventListener("click",f),t&&(document.removeEventListener("mousemove",h),document.removeEventListener("focusin",d),document.removeEventListener("touchstart",d)),document.removeEventListener("submit",g)})}}function g2(t){const e=()=>{const r=window.location.pathname.replace(/^\/+/,"/")+window.location.search,i=window.history.state&&window.history.state._depth&&Object.keys(window.history.state).length===1?void 0:window.history.state;return{value:r+window.location.hash,state:i}},n=Zc();return aa({get:e,set({value:r,replace:i,scroll:s,state:o}){i?window.history.replaceState(Vd(o),"",r):window.history.pushState(o,"",r),Yd(decodeURIComponent(window.location.hash.slice(1)),s),sa()},init:r=>l2(window,"popstate",Xd(r,i=>{if(i)return!n.confirm(i);{const s=e();return!n.confirm(s.value,{state:s.state})}})),create:Jd(t.preload,t.explicitLinks,t.actionBase,t.transformUrl),utils:{go:r=>window.history.go(r),beforeLeave:n}})(t)}function W5(t){const e=t.replace(/^.*?#/,"");if(!e.startsWith("/")){const[,n="/"]=window.location.hash.split("#",2);return`${n}#${e}`}return e}function V5(t){const e=()=>window.location.hash.slice(1),n=Zc();return aa({get:e,set({value:r,replace:i,scroll:s,state:o}){i?window.history.replaceState(Vd(o),"","#"+r):window.history.pushState(o,"","#"+r);const a=r.indexOf("#"),c=a>=0?r.slice(a+1):"";Yd(c,s),sa()},init:r=>l2(window,"hashchange",Xd(r,i=>!n.confirm(i&&i<0?i:e()))),create:Jd(t.preload,t.explicitLinks,t.actionBase),utils:{go:r=>window.history.go(r),renderPath:r=>`#${r}`,parsePath:W5,beforeLeave:n}})(t)}function p2(){const t=["/"];let e=0;const n=[],r=i=>{e=Math.max(0,Math.min(e+i,t.length-1));const s=t[e];
1n.forEach(o=>o(s))};return{get:()=>t[e],set:({value:i,scroll:s,replace:o})=>{o?t[e]=i:(t.splice(e+1,t.length-e,i),e++),n.forEach(a=>a(i)),setTimeout(()=>{s&&Yd(i.split("#")[1]||"",!0)},0)},back:()=>{r(-1)},forward:()=>{r(1)},go:r,listen:i=>(n.push(i),()=>{const s=n.indexOf(i);n.splice(s,1)})}}function X5(t){const e=t.history||p2();return aa({get:e.get,set:e.set,init:e.listen,create:Jd(t.preload,t.explicitLinks,t.actionBase),utils:{go:e.go}})(t)}var K5=N("<a>");function Zd(t){t=oe({inactiveClass:"inactive",activeClass:"active"},t);const[,e]=_e(t,["href","state","class","activeClass","inactiveClass","end"]),n=n2(()=>t.href),r=r2(n),i=Tn(),s=M(()=>{const o=n();if(o===void 0)return[!1,!1];const a=bi(o.split(/[?#]/,1)[0]).toLowerCase(),c=decodeURI(bi(i.pathname).toLowerCase());return[t.end?a===c:c.startsWith(a+"/")||c===a,a===c]});return(()=>{var o=K5();return ve(o,oe(e,{get href(){return r()||t.href},get state(){return JSON.stringify(t.state)},get classList(){return q(de(q({},t.class&&{[t.class]:!0}),{[t.inactiveClass]:!s()[0],[t.activeClass]:s()[0]}),e.classList)},link:"",get"aria-current"(){return s()[1]?"page":void 0}}),!1,!1),o})()}function G5(t){const e=Fs(),n=Tn(),{href:r,state:i}=t,s=typeof r=="function"?r({navigate:e,location:n}):r;return e(s,{replace:!0,state:i}),null}function Y5(t,e){let n,r=()=>!n||n.state==="unresolved"?void 0:n.latest;[n]=Ms(()=>m2(t,Jc(()=>Y(r),()=>{})),s=>s,e);const i=(()=>n());return Object.defineProperty(i,"latest",{get(){return n.latest}}),i}function J5(t,e={}){let n,r=()=>!n||n.state==="unresolved"?void 0:Ke(n.latest);[n]=Ms(()=>m2(t,Jc(()=>Y(r),()=>{})),s=>s,de(q({},e),{storage:s=>Z5(s,e.reconcile)}));const i=(()=>n());return Object.defineProperty(i,"latest",{get(){return n.latest}}),i}function Z5(t,e){const[n,r]=zt({value:structuredClone(t)});return[()=>n.value,i=>(typeof i=="function"&&(i=i()),r("value",ia(structuredClone(i),e)),n.value)]}class yn{static all(){return new yn}static allSettled(){return new yn}static any(){return new yn}static race(){return new yn}static reject(){return new yn}static resolve(){return new yn}catch(){return new yn}then(){return new yn}finally(){return new yn}}function m2(t,e){if(!X.context)return t(e);const n=fetch,r=Promise;try{return window.fetch=()=>new yn,Promise=yn,t(e)}finally{window.fetch=n,Promise=r}}function Q5(t,e=302){var o;let n,r;typeof e=="number"?n={status:e}:(o=e,{revalidate:r}=o,n=Qs(o,["revalidate"]),typeof n.status=="undefined"&&(n.status=302));const i=new Headers(n.headers);return i.set("Location",t),r!==void 0&&i.set("X-Revalidate",r.toString()),new Response(null,de(q({},n),{headers:i}))}function e4(t={}){const i=t,{revalidate:e}=i,n=Qs(i,["revalidate"]),r=new Headers(n.headers);return e!==void 0&&r.set("X-Revalidate",e.toString()),new Response(null,de(q({},n),{headers:r}))}function t4(t,e={}){const o=e,{revalidate:n}=o,r=Qs(o,["revalidate"]),i=new Headers(r.headers);n!==void 0&&i.set("X-Revalidate",n.toString()),i.set("Content-Type","application/json");const s=new Response(JSON.stringify(t),de(q({},r),{headers:i}));return s.customBody=()=>t,s}const n4=Object.freeze(Object.defineProperty({__proto__:null,A:Zd,HashRouter:V5,MemoryRouter:X5,Navigate:G5,Route:R5,Router:g2,StaticRouter:I5,_mergeSearchString:e2,action:q5,cache:N5,createAsync:Y5,createAsyncStore:J5,createBeforeLeave:Zc,createMemoryHistory:p2,createRouter:aa,json:t4,keepDepth:Vd,notifyIfNotBlocked:Xd,query:Ni,redirect:Q5,reload:e4,revalidate:u2,saveCurrentDepth:sa,useAction:z5,useBeforeLeave:i2,useCurrentMatches:oa,useHref:r2,useIsRouting:v5,useLocation:Tn,useMatch:w5,useNavigate:Fs,useParams:_5,usePreloadRoute:b5,useResolvedPath:n2,useSearchParams:Mf,useSubmission:U5,useSubmissions:d2},Symbol.toStringTag,{value:"Module"}));var Cn=null;try{Cn=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(t){}function Re(t,e,n){this.low=t|0,this.high=e|0,this.unsigned=!!n}Re.prototype.__isLong__;Object.defineProperty(Re.prototype,"__isLong__",{value:!0});function Mt(t){return(t&&t.__isLong__)===!0}function P0(t){var e=Math.clz32(t&-t);return t?31-e:e}Re.isLong=Mt;var D0={},I0={};function Bi(t,e){var n,r,i;return e?(t>>>=0,(i=0<=t&&t<256)&&(r=I0[t],r)?r:(n=Oe(t,0,!0),i&&(I0[t]=n),n)):(t|=0,
vendor: 9,646 bytes, line 1
1(i=-128<=t&&t<128)&&(r=D0[t],r)?r:(n=Oe(t,t<0?-1:0,!1),i&&(D0[t]=n),n))}Re.fromInt=Bi;function xn(t,e){if(isNaN(t))return e?yr:Bn;if(e){if(t<0)return yr;if(t>=y2)return w2}else{if(t<=-$0)return Wt;if(t+1>=$0)return b2}return t<0?xn(-t,e).neg():Oe(t%Cs|0,t/Cs|0,e)}Re.fromNumber=xn;function Oe(t,e,n){return new Re(t,e,n)}Re.fromBits=Oe;var Cc=Math.pow;function Qd(t,e,n){if(t.length===0)throw Error("empty string");if(typeof e=="number"?(n=e,e=!1):e=!!e,t==="NaN"||t==="Infinity"||t==="+Infinity"||t==="-Infinity")return e?yr:Bn;if(n=n||10,n<2||36<n)throw RangeError("radix");var r;if((r=t.indexOf("-"))>0)throw Error("interior hyphen");if(r===0)return Qd(t.substring(1),e,n).neg();for(var i=xn(Cc(n,8)),s=Bn,o=0;o<t.length;o+=8){var a=Math.min(8,t.length-o),c=parseInt(t.substring(o,o+a),n);if(a<8){var l=xn(Cc(n,a));s=s.mul(l).add(xn(c))}else s=s.mul(i),s=s.add(xn(c))}return s.unsigned=e,s}Re.fromString=Qd;function Rn(t,e){return typeof t=="number"?xn(t,e):typeof t=="string"?Qd(t,e):Oe(t.low,t.high,typeof e=="boolean"?e:t.unsigned)}Re.fromValue=Rn;var L0=65536,r4=1<<24,Cs=L0*L0,y2=Cs*Cs,$0=y2/2,M0=Bi(r4),Bn=Bi(0);Re.ZERO=Bn;var yr=Bi(0,!0);Re.UZERO=yr;var ts=Bi(1);Re.ONE=ts;var v2=Bi(1,!0);Re.UONE=v2;var Ff=Bi(-1);Re.NEG_ONE=Ff;var b2=Oe(-1,2147483647,!1);Re.MAX_VALUE=b2;var w2=Oe(-1,-1,!0);Re.MAX_UNSIGNED_VALUE=w2;var Wt=Oe(0,-2147483648,!1);Re.MIN_VALUE=Wt;var W=Re.prototype;W.toInt=function(){return this.unsigned?this.low>>>0:this.low};W.toNumber=function(){return this.unsigned?(this.high>>>0)*Cs+(this.low>>>0):this.high*Cs+(this.low>>>0)};W.toString=function(e){if(e=e||10,e<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(this.eq(Wt)){var n=xn(e),r=this.div(n),i=r.mul(n).sub(this);return r.toString(e)+i.toInt().toString(e)}else return"-"+this.neg().toString(e);for(var s=xn(Cc(e,6),this.unsigned),o=this,a="";;){var c=o.div(s),l=o.sub(c.mul(s)).toInt()>>>0,u=l.toString(e);if(o=c,o.isZero())return u+a;for(;u.length<6;)u="0"+u;a=""+u+a}};W.getHighBits=function(){return this.high};W.getHighBitsUnsigned=function(){return this.high>>>0};W.getLowBits=function(){return this.low};W.getLowBitsUnsigned=function(){return this.low>>>0};W.getNumBitsAbs=function(){if(this.isNegative())return this.eq(Wt)?64:this.neg().getNumBitsAbs();for(var e=this.high!=0?this.high:this.low,n=31;n>0&&(e&1<<n)==0;n--);return this.high!=0?n+33:n+1};W.isSafeInteger=function(){var e=this.high>>21;return e?this.unsigned?!1:e===-1&&!(this.low===0&&this.high===-2097152):!0};W.isZero=function(){return this.high===0&&this.low===0};W.eqz=W.isZero;W.isNegative=function(){return!this.unsigned&&this.high<0};W.isPositive=function(){return this.unsigned||this.high>=0};W.isOdd=function(){return(this.low&1)===1};W.isEven=function(){return(this.low&1)===0};W.equals=function(e){return Mt(e)||(e=Rn(e)),this.unsigned!==e.unsigned&&this.high>>>31===1&&e.high>>>31===1?!1:this.high===e.high&&this.low===e.low};W.eq=W.equals;W.notEquals=function(e){return!this.eq(e)};W.neq=W.notEquals;W.ne=W.notEquals;W.lessThan=function(e){return this.comp(e)<0};W.lt=W.lessThan;W.lessThanOrEqual=function(e){return this.comp(e)<=0};W.lte=W.lessThanOrEqual;W.le=W.lessThanOrEqual;W.greaterThan=function(e){return this.comp(e)>0};W.gt=W.greaterThan;W.greaterThanOrEqual=function(e){return this.comp(e)>=0};W.gte=W.greaterThanOrEqual;W.ge=W.greaterThanOrEqual;W.compare=function(e){if(Mt(e)||(e=Rn(e)),this.eq(e))return 0;var n=this.isNegative(),r=e.isNegative();return n&&!r?-1:!n&&r?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1};W.comp=W.compare;W.negate=function(){return!this.unsigned&&this.eq(Wt)?Wt:this.not().add(ts)};W.neg=W.negate;W.add=function(e){Mt(e)||(e=Rn(e));var n=this.high>>>16,r=this.high&65535,i=this.low>>>16,s=this.low&65535,o=e.high>>>16,a=e.high&65535,c=e.low>>>16,l=e.low&65535,u=0,f=0,d=0,h=0;return h+=s+l,d+=h>>>16,h&=65535,d+=i+c,f+=d>>>16,d&=65535,f+=r+a,u+=f>>>16,f&=65535,u+=n+o,u&=65535,Oe(d<<16|h,u<<16|f,this.unsigned)};W.subtract=function(e){return Mt(e)||(e=Rn(e)),this.add(e.neg())};W.sub=W.subtract;W.multiply=function(e){if(this.isZero())return this;if(Mt(e)||(e=Rn(e)),Cn){var n=Cn.mul(this.low,this.high,e.low,e.high);return Oe(n,Cn.get_high(),this.unsigned)}if(e.isZero())return this.unsigned?yr:Bn;if(this.eq(Wt))return e.isOdd()?Wt:Bn;if(e.eq(Wt))return this.isOdd()?Wt:Bn;if(this.isNegative())return e.isNegative()?this.neg().mul(e.neg()):this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(M0)&&e.lt(M0))return xn(this.toNumber()*e.toNumber(),this.unsigned);var r=this.high>>>16,i=this.high&65535,s=this.low>>>16,o=this.low&65535,a=e.high>>>16,c=e.high&65535,l=e.low>>>16,u=e.low&65535,f=0,d=0,h=0,g=0;return g+=o*u,h+=g>>>16,g&=65535,h+=s*u,d+=h>>>16,h&=65535,h+=o*l,d+=h>>>16,h&=65535,d+=i*u,f+=d>>>16,d&=65535,d+=s*l,f+=d>>>16,d&=65535,d+=o*c,f+=d>>>16,d&=65535,f+=r*u+i*l+s*c+o*a,f&=65535,Oe(h<<16|g,f<<16|d,this.unsigned)};W.mul=W.multiply;W.divide=function(e){if(Mt(e)||(e=Rn(e)),e.isZero())throw Error("division by zero");if(Cn){if(!this.unsigned&&this.high===-2147483648&&e.low===-1&&e.high===-1)return this;var n=(this.unsigned?Cn.div_u:Cn.div_s)(this.low,this.high,e.low,e.high);return Oe(n,Cn.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?yr:Bn;var r,i,s;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return yr;if(e.gt(this.shru(1)))return v2;s=yr}else{if(this.eq(Wt)){if(e.eq(ts)||e.eq(Ff))return Wt;if(e.eq(Wt))return ts;var o=this.shr(1);return r=o.div(e).shl(1),r.eq(Bn)?e.isNegative()?ts:Ff:(i=this.sub(e.mul(r)),s=r.add(i.div(e)),s)}else if(e.eq(Wt))return this.unsigned?yr:Bn;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();s=Bn}for(i=this;i.gte(e);){r=Math.max(1,Math.floor(i.toNumber()/e.toNumber()));for(var a=Math.ceil(Math.log(r)/Math.LN2),c=a<=48?1:Cc(2,a-48),l=xn(r),u=l.mul(e);u.isNegative()||u.gt(i);)r-=c,l=xn(r,this.unsigned),u=l.mul(e);l.isZero()&&(l=ts),s=s.add(l),i=i.sub(u)}return s};W.div=W.divide;W.modulo=function(e){if(Mt(e)||(e=Rn(e)),Cn){var n=(this.unsigned?Cn.rem_u:Cn.rem_s)(this.low,this.high,e.low,e.high);return Oe(n,Cn.get_high(),this.unsigned)}return this.sub(this.div(e).mul(e))};W.mod=W.modulo;W.rem=W.modulo;W.not=function(){return Oe(~this.low,~this.high,this.unsigned)};W.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32};W.clz=W.countLeadingZeros;W.countTrailingZeros=function(){return this.low?P0(this.low):P0(this.high)+32};W.ctz=W.countTrailingZeros;W.and=function(e){return Mt(e)||(e=Rn(e)),Oe(this.low&e.low,this.high&e.high,this.unsigned)};W.or=function(e){return Mt(e)||(e=Rn(e)),Oe(this.low|e.low,this.high|e.high,this.unsigned)};W.xor=function(e){return Mt(e)||(e=Rn(e)),Oe(this.low^e.low,this.high^e.high,this.unsigned)};W.shiftLeft=function(e){return Mt(e)&&(e=e.toInt()),(e&=63)===0?this:e<32?Oe(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):Oe(0,this.low<<e-32,this.unsigned)};W.shl=W.shiftLeft;W.shiftRight=function(e){return Mt(e)&&(e=e.toInt()),(e&=63)===0?this:e<32?Oe(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):Oe(this.high>>e-32,this.high>=0?0:-1,this.unsigned)};W.shr=W.shiftRight;W.shiftRightUnsigned=function(e){return Mt(e)&&(e=e.toInt()),(e&=63)===0?this:e<32?Oe(this.low>>>e|this.high<<32-e,this.high>>>e,this.unsigned):e===32?Oe(this.high,0,this.unsigned):Oe(this.high>>>e-32,0,this.unsigned)};W.shru=W.shiftRightUnsigned;W.shr_u=W.shiftRightUnsigned;W.rotateLeft=function(e){var n;return Mt(e)&&(e=e.toInt()),(e&=63)===0?this:e===32?Oe(this.high,this.low,this.unsigned):e<32?(n=32-e,Oe(this.low<<e|this.high>>>n,this.high<<e|this.low>>>n,this.unsigned)):(e-=32,n=32-e,Oe(this.high<<e|this.low>>>n,this.low<<e|this.high>>>n,this.unsigned))};W.rotl=W.rotateLeft;W.rotateRight=function(e){var n;return Mt(e)&&(e=e.toInt()),(e&=63)===0?this:e===32?Oe(this.high,this.low,this.unsigned):e<32?(n=32-e,Oe(this.high<<n|this.low>>>e,this.low<<n|this.high>>>e,this.unsigned)):(e-=32,n=32-e,Oe(this.low<<n|this.high>>>e,this.high<<n|this.low>>>e,this.unsigned))};W.rotr=W.rotateRight;W.toSigned=function(){return this.unsigned?Oe(this.low,this.high,!1):this};W.toUnsigned=function(){return this.unsigned?this:Oe(this.low,this.high,!0)};W.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()};W.toBytesLE=function(){var e=this.high,n=this.low;return[n&255,n>>>8&255,n>>>16&255,n>>>24,e&255,e>>>8&255,e>>>16&255,e>>>24]};W.toBytesBE=function(){var e=this.high,n=this.low;return[e>>>24,e>>>16&255,e>>>8&255,e&255,n>>>24,n>>>16&255,n>>>8&255,n&255]};Re.fromBytes=function(e,n,r){return r?Re.fromBytesLE(e,n):Re.fromBytesBE(e,n)};Re.fromBytesLE=function(e,n){return new Re(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,n)};Re.fromBytesBE=function(e,n){return new Re(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],n)};typeof BigInt=="function"&&(Re.fromBigInt=function(e,n){var r=Number(BigInt.asIntN(32,e)),i=Number(BigInt.asIntN(32,e>>BigInt(32)));return Oe(r,i,n)},Re.fromValue=function(e,n){return typeof e=="bigint"?Re.fromBigInt(e,n):Rn(e,n)},W.toBigInt=function(){var e=BigInt(this.low>>>0),n=BigInt(this.unsigned?this.high>>>0:this.high);return n<<BigInt(32)|e});var Ki=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function _2(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function i4(t){if(Object.prototype.hasOwnProperty.call(t,"__esMo
1dule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){var i=!1;try{i=this instanceof r}catch(s){}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var Bl={},Sa={},Fl,N0;function s4(){if(N0)return Fl;N0=1,Fl=t;function t(e,n){for(var r=new Array(arguments.length-1),i=0,s=2,o=!0;s<arguments.length;)r[i++]=arguments[s++];return new Promise(function(c,l){r[i]=function(f){if(o)if(o=!1,f)l(f);else{for(var d=new Array(arguments.length-1),h=0;h<d.length;)d[h++]=arguments[h];c.apply(null,d)}};try{e.apply(n||null,r)}catch(u){o&&(o=!1,l(u))}})}return Fl}var Ul={},B0;function o4(){return B0||(B0=1,(function(t){var e=t;e.length=function(a){var c=a.length;if(!c)return 0;for(var l=0;--c%4>1&&a.charAt(c)==="=";)++l;return Math.ceil(a.length*3)/4-l};for(var n=new Array(64),r=new Array(123),i=0;i<64;)r[n[i]=i<26?i+65:i<52?i+71:i<62?i-4:i-59|43]=i++;e.encode=function(a,c,l){for(var u=null,f=[],d=0,h=0,g;c<l;){var p=a[c++];switch(h){case 0:f[d++]=n[p>>2],g=(p&3)<<4,h=1;break;case 1:f[d++]=n[g|p>>4],g=(p&15)<<2,h=2;break;case 2:f[d++]=n[g|p>>6],f[d++]=n[p&63],h=0;break}d>8191&&((u||(u=[])).push(String.fromCharCode.apply(String,f)),d=0)}return h&&(f[d++]=n[g],f[d++]=61,h===1&&(f[d++]=61)),u?(d&&u.push(String.fromCharCode.apply(String,f.slice(0,d))),u.join("")):String.fromCharCode.apply(String,f.slice(0,d))};var s="invalid encoding";e.decode=function(a,c,l){for(var u=l,f=0,d,h=0;h<a.length;){var g=a.charCodeAt(h++);if(g===61&&f>1)break;if((g=r[g])===void 0)throw Error(s);switch(f){case 0:d=g,f=1;break;case 1:c[l++]=d<<2|(g&48)>>4,d=g,f=2;break;case 2:c[l++]=(d&15)<<4|(g&60)>>2,d=g,f=3;break;case 3:c[l++]=(d&3)<<6|g,f=0;break}}if(f===1)throw Error(s);return l-u},e.test=function(a){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(a)}})(Ul)),Ul}var zl,F0;function a4(){if(F0)return zl;F0=1,zl=t;function t(){this._listeners=Object.create(null)}return t.prototype.on=function(n,r,i){return(this._listeners[n]||(this._listeners[n]=[])).push({fn:r,ctx:i||this}),this},t.prototype.off=function(n,r){if(n===void 0)this._listeners=Object.create(null);else if(r===void 0)this._listeners[n]=[];else{var i=this._listeners[n];if(!i)return this;for(var s=0;s<i.length;)i[s].fn===r?i.splice(s,1):++s}return this},t.prototype.emit=function(n){var r=this._listeners[n];if(r){for(var i=[],s=1;s<arguments.length;)i.push(arguments[s++]);for(s=0;s<r.length;)r[s].fn.apply(r[s++].ctx,i)}return this},zl}var ql,U0;function c4(){if(U0)return ql;U0=1,ql=t(t);function t(s){return typeof Float32Array!="undefined"?(function(){var o=new Float32Array([-0]),a=new Uint8Array(o.buffer),c=a[3]===128;function l(h,g,p){o[0]=h,g[p]=a[0],g[p+1]=a[1],g[p+2]=a[2],g[p+3]=a[3]}function u(h,g,p){o[0]=h,g[p]=a[3],g[p+1]=a[2],g[p+2]=a[1],g[p+3]=a[0]}s.writeFloatLE=c?l:u,s.writeFloatBE=c?u:l;function f(h,g){return a[0]=h[g],a[1]=h[g+1],a[2]=h[g+2],a[3]=h[g+3],o[0]}function d(h,g){return a[3]=h[g],a[2]=h[g+1],a[1]=h[g+2],a[0]=h[g+3],o[0]}s.readFloatLE=c?f:d,s.readFloatBE=c?d:f})():(function(){function o(c,l,u,f){var d=l<0?1:0;if(d&&(l=-l),l===0)c(1/l>0?0:2147483648,u,f);else if(isNaN(l))c(2143289344,u,f);else if(l>34028234663852886e22)c((d<<31|2139095040)>>>0,u,f);else if(l<11754943508222875e-54)c((d<<31|Math.round(l/1401298464324817e-60))>>>0,u,f);else{var h=Math.floor(Math.log(l)/Math.LN2),g=Math.round(l*Math.pow(2,-h)*8388608)&8388607;c((d<<31|h+127<<23|g)>>>0,u,f)}}s.writeFloatLE=o.bind(null,e),s.writeFloatBE=o.bind(null,n);function a(c,l,u){var f=c(l,u),d=(f>>31)*2+1,h=f>>>23&255,g=f&8388607;return h===255?g?NaN:d*(1/0):h===0?d*1401298464324817e-60*g:d*Math.pow(2,h-150)*(g+8388608)}s.readFloatLE=a.bind(null,r),s.readFloatBE=a.bind(null,i)})(),typeof Float64Array!="undefined"?(function(){var o=new Float64Array([-0]),a=new Uint8Array(o.buffer),c=a[7]===128;function l(h,g,p){o[0]=h,g[p]=a[0],g[p+1]=a[1],g[p+2]=a[2],g[p+3]=a[3],g[p+4]=a[4],g[p+5]=a[5],g[p+6]=a[6],g[p+7]=a[7]}function u(h,g,p){o[0]=h,g[p]=a[7],g[p+1]=a[6],g[p+2]=a[5],g[p+3]=a[4],g[p+4]=a[3],g[p+5]=a[2],g[p+6]=a[1],g[p+7]=a[0]}s.writeDoubleLE=c?l:u,s.writeDoubleBE=c?u:l;function f(h,g){return a[0]=h[g],a[1]=h[g+1],a[2]=h[g+2],a[3]=h[g+3],a[4]=h[g+4],a[5]=h[g+5],a[6]=h[g+6],a[7]=h[g+7],o[0]}function d(h,g){return a[7]=h[g],a[6]=h[g+1],a[5]=h[g+2],a[4]=h[g+3],a[3]=h[g+4],a[2]=h[g+5],a[1]=h[g+6],a[0]=h[g+7],o[0]}s.readDoubleLE=c?f:d,s.readDoubleBE=c?d:f})():(function(){function o(c,l,u,f,d,h){var g=f<0?1:0;if(g&&(f=-f),f===0)c(0,d,h+l),c(1/f>0?0:2147483648,d,h+u);else if(isNaN(f))c(0,d,h+l),c(2146959360,d,h+u);else if(f>17976931348623157e292)c(0,d,h+l),c((g<<31|2146435072)>>>0,d,h+u);else{var p;if(f<22250738585072014e-324)p=f/5e-324,c(p>>>0,d,h+l),c((g<<31|p/4294967296)>>>0,d,h+u);else{var m=Math.floor(Math.log(f)/Math.LN2);m===1024&&(m=1023),p=f*Math.pow(2,-m),c(p*4503599627370496>>>0,d,h+l),c((g<<31|m+1023<<20|p*1048576&1048575)>>>0,d,h+u)}}}s.writeDoubleLE=o.bind(null,e,0,4),s.writeDoubleBE=o.bind(null,n,4,0);function a(c,l,u,f,d){var h=c(f,d+l),g=c(f,d+u),p=(g>>31)*2+1,m=g>>>20&2047,y=4294967296*(g&1048575)+h;return m===2047?y?NaN:p*(1/0):m===0?p*5e-324*y:p*Math.pow(2,m-1075)*(y+4503599627370496)}s.readDoubleLE=a.bind(null,r,0,4),s.readDoubleBE=a.bind(null,i,4,0)})(),s}function e(s,o,a){o[a]=s&255,o[a+1]=s>>>8&255,o[a+2]=s>>>16&255,o[a+3]=s>>>24}function n(s,o,a){o[a]=s>>>24,o[a+1]=s>>>16&255,o[a+2]=s>>>8&255,o[a+3]=s&255}function r(s,o){return(s[o]|s[o+1]<<8|s[o+2]<<16|s[o+3]<<24)>>>0}function i(s,o){return(s[o]<<24|s[o+1]<<16|s[o+2]<<8|s[o+3])>>>0}return ql}function z0(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var jl,q0;function l4(){if(q0)return jl;q0=1,jl=t;function t(e){try{if(typeof z0!="function")return null;var n=z0(e);return n&&(n.length||Object.keys(n).length)?n:null}catch(r){return null}}return jl}var Hl={},j0;function u4(){return j0||(j0=1,(function(t){var e=t,n=65533;e.length=function(i){for(var s=0,o=0,a=0;a<i.length;++a)o=i.charCodeAt(a),o<128?s+=1:o<2048?s+=2:(o&64512)===55296&&
1(i.charCodeAt(a+1)&64512)===56320?(++a,s+=4):s+=3;return s},e.read=function(i,s,o){if(o-s<1)return"";for(var a=null,c=[],l=0,u,f,d,h;s<o;)u=i[s++],u<=127?c[l++]=u:u>=192&&u<224?(d=(u&31)<<6|i[s++]&63,c[l++]=d>=128?d:n):u>=224&&u<240?(h=(u&15)<<12|(i[s++]&63)<<6|i[s++]&63,c[l++]=h>=2048?h:n):u>=240&&(f=(u&7)<<18|(i[s++]&63)<<12|(i[s++]&63)<<6|i[s++]&63,f<65536||f>1114111?c[l++]=n:(f-=65536,c[l++]=55296+(f>>10),c[l++]=56320+(f&1023))),l>8191&&((a||(a=[])).push(String.fromCharCode.apply(String,c.slice(0,l))),l=0);return a?(l&&a.push(String.fromCharCode.apply(String,c.slice(0,l))),a.join("")):String.fromCharCode.apply(String,c.slice(0,l))},e.write=function(i,s,o){for(var a=o,c,l,u=0;u<i.length;++u)c=i.charCodeAt(u),c<128?s[o++]=c:c<2048?(s[o++]=c>>6|192,s[o++]=c&63|128):(c&64512)===55296&&((l=i.charCodeAt(u+1))&64512)===56320?(c=65536+((c&1023)<<10)+(l&1023),++u,s[o++]=c>>18|240,s[o++]=c>>12&63|128,s[o++]=c>>6&63|128,s[o++]=c&63|128):(s[o++]=c>>12|224,s[o++]=c>>6&63|128,s[o++]=c&63|128);return o-a}})(Hl)),Hl}var Wl,H0;function f4(){if(H0)return Wl;H0=1,Wl=t;function t(e,n,r){var i=r||8192,s=i>>>1,o=null,a=i;return function(l){if(l<1||l>s)return e(l);a+l>i&&(o=e(i),a=0);var u=n.call(o,a,a+=l);return a&7&&(a=(a|7)+1),u}}return Wl}var Vl,W0;function d4(){if(W0)return Vl;W0=1,Vl=e;var t=Fi();function e(s,o){this.lo=s>>>0,this.hi=o>>>0}var n=e.zero=new e(0,0);n.toNumber=function(){return 0},n.zzEncode=n.zzDecode=function(){return this},n.length=function(){return 1};var r=e.zeroHash="\0\0\0\0\0\0\0\0";e.fromNumber=function(o){if(o===0)return n;var a=o<0;a&&(o=-o);var c=o>>>0,l=(o-c)/4294967296>>>0;return a&&(l=~l>>>0,c=~c>>>0,++c>4294967295&&(c=0,++l>4294967295&&(l=0))),new e(c,l)},e.from=function(o){if(typeof o=="number")return e.fromNumber(o);if(t.isString(o))if(t.Long)o=t.Long.fromString(o);else return e.fromNumber(parseInt(o,10));return o.low||o.high?new e(o.low>>>0,o.high>>>0):n},e.prototype.toNumber=function(o){if(!o&&this.hi>>>31){var a=~this.lo+1>>>0,c=~this.hi>>>0;return a||(c=c+1>>>0),-(a+c*4294967296)}return this.lo+this.hi*4294967296},e.prototype.toLong=function(o){return t.Long?new t.Long(this.lo|0,this.hi|0,!!o):{low:this.lo|0,high:this.hi|0,unsigned:!!o}};var i=String.prototype.charCodeAt;return e.fromHash=function(o){return o===r?n:new e((i.call(o,0)|i.call(o,1)<<8|i.call(o,2)<<16|i.call(o,3)<<24)>>>0,(i.call(o,4)|i.call(o,5)<<8|i.call(o,6)<<16|i.call(o,7)<<24)>>>0)},e.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},e.prototype.zzEncode=function(){var o=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^o)>>>0,this.lo=(this.lo<<1^o)>>>0,this},e.prototype.zzDecode=function(){var o=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^o)>>>0,this.hi=(this.hi>>>1^o)>>>0,this},e.prototype.length=function(){var o=this.lo,a=(this.lo>>>28|this.hi<<4)>>>0,c=this.hi>>>24;return c===0?a===0?o<16384?o<128?1:2:o<2097152?3:4:a<16384?a<128?5:6:a<2097152?7:8:c<128?9:10},Vl}var V0;function Fi(){return V0||(V0=1,(function(t){var e=t;e.asPromise=s4(),e.base64=o4(),e.EventEmitter=a4(),e.float=c4(),e.inquire=l4(),e.utf8=u4(),e.pool=f4(),e.LongBits=d4(),e.isNode=!!(typeof Ki!="undefined"&&Ki&&Ki.process&&Ki.process.versions&&Ki.process.versions.node),e.global=e.isNode&&Ki||typeof window!="undefined"&&window||typeof self!="undefined"&&self||Sa,e.emptyArray=Object.freeze?Object.freeze([]):[],e.emptyObject=Object.freeze?Object.freeze({}):{},e.isInteger=Number.isInteger||function(s){return typeof s=="number"&&isFinite(s)&&Math.floor(s)===s},e.isString=function(s){return typeof s=="string"||s instanceof String},e.isObject=function(s){return s&&typeof s=="object"},e.isset=e.isSet=function(s,o){var a=s[o];return a!=null&&s.hasOwnProperty(o)?typeof a!="object"||(Array.isArray(a)?a.length:Object.keys(a).length)>0:!1},e.Buffer=(function(){try{var i=e.inquire("buffer").Buffer;return i.prototype.utf8Write?i:null}catch(s){return null}})(),e._Buffer_from=null,e._Buffer_allocUnsafe=null,e.newBuffer=function(s){return typeof s=="number"?e.Buffer?e._Buffer_allocUnsafe(s):new e.Array(s):e.Buffer?e._Buffer_from(s):typeof Uint8Array=="undefined"?s:new Uint8Array(s)},e.Array=typeof Uint8Array!="undefined"?Uint8Array:Array,e.Long=e.global.dcodeIO&&e.global.dcodeIO.Long||e.global.Long||e.inquire("long"),e.key2Re=/^true|false|0|1$/,e.key32Re=/^-?(?:0|[1-9][0-9]*)$/,e.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,e.longToHash=function(s){return s?e.LongBits.from(s).toHash():e.LongBits.zeroHash},e.longFromHash=function(s,o){var a=e.LongBits.fromHash(s);return e.Long?e.Long.fromBits(a.lo,a.hi,o):a.toNumber(!!o)};function n(i,s,o){for(var a=Object.keys(s),c=0;c<a.length;++c)(i[a[c]]===void 0||!o)&&(i[a[c]]=s[a[c]]);return i}e.merge=n,e.lcFirst=function(s){return s.charAt(0).toLowerCase()+s.substring(1)};function r(i){function s(o,a){if(!(this instanceof s))return new s(o,a);Object.defineProperty(this,"message",{get:function(){return o}}),Error.captureStackTrace?Error.captureStackTrace(this,s):Object.defineProperty(this,"stack",{value:new Error().stack||""}),a&&n(this,a)}return s.prototype=Object.create(Error.prototype,{constructor:{value:s,writable:!0,enumerable:!1,
vendor: 8,836 bytes, line 1
1configurable:!0},name:{get:function(){return i},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),s}e.newError=r,e.ProtocolError=r("ProtocolError"),e.oneOfGetter=function(s){for(var o={},a=0;a<s.length;++a)o[s[a]]=1;return function(){for(var c=Object.keys(this),l=c.length-1;l>-1;--l)if(o[c[l]]===1&&this[c[l]]!==void 0&&this[c[l]]!==null)return c[l]}},e.oneOfSetter=function(s){return function(o){for(var a=0;a<s.length;++a)s[a]!==o&&delete this[s[a]]}},e.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},e._configure=function(){var i=e.Buffer;if(!i){e._Buffer_from=e._Buffer_allocUnsafe=null;return}e._Buffer_from=i.from!==Uint8Array.from&&i.from||function(o,a){return new i(o,a)},e._Buffer_allocUnsafe=i.allocUnsafe||function(o){return new i(o)}}})(Sa)),Sa}var Xl,X0;function C2(){if(X0)return Xl;X0=1,Xl=c;var t=Fi(),e,n=t.LongBits,r=t.base64,i=t.utf8;function s(m,y,v){this.fn=m,this.len=y,this.next=void 0,this.val=v}function o(){}function a(m){this.head=m.head,this.tail=m.tail,this.len=m.len,this.next=m.states}function c(){this.len=0,this.head=new s(o,0,0),this.tail=this.head,this.states=null}var l=function(){return t.Buffer?function(){return(c.create=function(){return new e})()}:function(){return new c}};c.create=l(),c.alloc=function(y){return new t.Array(y)},t.Array!==Array&&(c.alloc=t.pool(c.alloc,t.Array.prototype.subarray)),c.prototype._push=function(y,v,b){return this.tail=this.tail.next=new s(y,v,b),this.len+=v,this};function u(m,y,v){y[v]=m&255}function f(m,y,v){for(;m>127;)y[v++]=m&127|128,m>>>=7;y[v]=m}function d(m,y){this.len=m,this.next=void 0,this.val=y}d.prototype=Object.create(s.prototype),d.prototype.fn=f,c.prototype.uint32=function(y){return this.len+=(this.tail=this.tail.next=new d((y=y>>>0)<128?1:y<16384?2:y<2097152?3:y<268435456?4:5,y)).len,this},c.prototype.int32=function(y){return y<0?this._push(h,10,n.fromNumber(y)):this.uint32(y)},c.prototype.sint32=function(y){return this.uint32((y<<1^y>>31)>>>0)};function h(m,y,v){for(;m.hi;)y[v++]=m.lo&127|128,m.lo=(m.lo>>>7|m.hi<<25)>>>0,m.hi>>>=7;for(;m.lo>127;)y[v++]=m.lo&127|128,m.lo=m.lo>>>7;y[v++]=m.lo}c.prototype.uint64=function(y){var v=n.from(y);return this._push(h,v.length(),v)},c.prototype.int64=c.prototype.uint64,c.prototype.sint64=function(y){var v=n.from(y).zzEncode();return this._push(h,v.length(),v)},c.prototype.bool=function(y){return this._push(u,1,y?1:0)};function g(m,y,v){y[v]=m&255,y[v+1]=m>>>8&255,y[v+2]=m>>>16&255,y[v+3]=m>>>24}c.prototype.fixed32=function(y){return this._push(g,4,y>>>0)},c.prototype.sfixed32=c.prototype.fixed32,c.prototype.fixed64=function(y){var v=n.from(y);return this._push(g,4,v.lo)._push(g,4,v.hi)},c.prototype.sfixed64=c.prototype.fixed64,c.prototype.float=function(y){return this._push(t.float.writeFloatLE,4,y)},c.prototype.double=function(y){return this._push(t.float.writeDoubleLE,8,y)};var p=t.Array.prototype.set?function(y,v,b){v.set(y,b)}:function(y,v,b){for(var w=0;w<y.length;++w)v[b+w]=y[w]};return c.prototype.bytes=function(y){var v=y.length>>>0;if(!v)return this._push(u,1,0);if(t.isString(y)){var b=c.alloc(v=r.length(y));r.decode(y,b,0),y=b}return this.uint32(v)._push(p,v,y)},c.prototype.string=function(y){var v=i.length(y);return v?this.uint32(v)._push(i.write,v,y):this._push(u,1,0)},c.prototype.fork=function(){return this.states=new a(this),this.head=this.tail=new s(o,0,0),this.len=0,this},c.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new s(o,0,0),this.len=0),this},c.prototype.ldelim=function(){var y=this.head,v=this.tail,b=this.len;return this.reset().uint32(b),b&&(this.tail.next=y.next,this.tail=v,this.len+=b),this},c.prototype.finish=function(){for(var y=this.head.next,v=this.constructor.alloc(this.len),b=0;y;)y.fn(y.val,v,b),b+=y.len,y=y.next;return v},c._configure=function(m){e=m,c.create=l(),e._configure()},Xl}var Kl,K0;function h4(){if(K0)return Kl;K0=1,Kl=n;var t=C2();(n.prototype=Object.create(t.prototype)).constructor=n;var e=Fi();function n(){t.call(this)}n._configure=function(){n.alloc=e._Buffer_allocUnsafe,n.writeBytesBuffer=e.Buffer&&e.Buffer.prototype instanceof Uint8Array&&e.Buffer.prototype.set.name==="set"?function(s,o,a){o.set(s,a)}:function(s,o,a){if(s.copy)s.copy(o,a,0,s.length);else for(var c=0;c<s.length;)o[a++]=s[c++]}},n.prototype.bytes=function(s){e.isString(s)&&(s=e._Buffer_from(s,"base64"));var o=s.length>>>0;return this.uint32(o),o&&this._push(n.writeBytesBuffer,o,s),this};function r(i,s,o){i.length<40?e.utf8.write(i,s,o):s.utf8Write?s.utf8Write(i,o):s.write(i,o)}return n.prototype.string=function(s){var o=e.Buffer.byteLength(s);return this.uint32(o),o&&this._push(r,o,s),this},n._configure(),Kl}var Gl,G0;function x2(){if(G0)return Gl;G0=1,Gl=s;var t=Fi(),e,n=t.LongBits,r=t.utf8;function i(f,d){return RangeError("index out of range: "+f.pos+" + "+(d||1)+" > "+f.len)}function s(f){this.buf=f,this.pos=0,this.len=f.length}var o=typeof Uint8Array!="undefined"?function(d){if(d instanceof Uint8Array||Array.isArray(d))return new s(d);throw Error("illegal buffer")}:function(d){if(Array.isArray(d))return new s(d);throw Error("illegal buffer")},a=function(){return t.Buffer?function(h){return(s.create=function(p){return t.Buffer.isBuffer(p)?new e(p):o(p)})(h)}:o};s.create=a(),s.prototype._slice=t.Array.prototype.subarray||t.Array.prototype.slice,s.prototype.uint32=(function(){var d=4294967295;return function(){if(d=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(d=(d|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(d=(d|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(d=(d|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(d=(d|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return d;if((this.pos+=5)>this.len)throw this.pos=this.len,i(this,10);return d}})(),s.prototype.int32=function(){return this.uint32()|0},s.prototype.sint32=function(){var d=this.uint32();return d>>>1^-(d&1)|0};function c(){var f=new n(0,0),d=0;if(this.len-this.pos>4){for(;d<4;++d)if(f.lo=(f.lo|(this.buf[this.pos]&127)<<d*7)>>>0,this.buf[this.pos++]<128)return f;if(f.lo=(f.lo|(this.buf[this.pos]&127)<<28)>>>0,f.hi=(f.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return f;d=0}else{for(;d<3;++d){if(this.pos>=this.len)throw i(this);if(f.lo=(f.lo|(this.buf[this.pos]&127)<<d*7)>>>0,this.buf[this.pos++]<128)return f}return f.lo=(f.lo|(this.buf[this.pos++]&127)<<d*7)>>>0,f}if(this.len-this.pos>4){for(;d<5;++d)if(f.hi=(f.hi|(this.buf[this.pos]&127)<<d*7+3)>>>0,this.buf[this.pos++]<128)return f}else for(;d<5;++d){if(this.pos>=this.len)throw i(this);if(f.hi=(f.hi|(this.buf[this.pos]&127)<<d*7+3)>>>0,this.buf[this.pos++]<128)return f}throw Error("invalid varint encoding")}s.prototype.bool=function(){return this.uint32()!==0};function l(f,d){return(f[d-4]|f[d-3]<<8|f[d-2]<<16|f[d-1]<<24)>>>0}s.prototype.fixed32=function(){if(this.pos+4>this.len)throw i(this,4);return l(this.buf,this.pos+=4)},s.prototype.sfixed32=function(){if(this.pos+4>this.len)throw i(this,4);return l(this.buf,this.pos+=4)|0};function u(){if(this.pos+8>this.len)throw i(this,8);return new n(l(this.buf,this.pos+=4),l(this.buf,this.pos+=4))}return s.prototype.float=function(){if(this.pos+4>this.len)throw i(this,4);var d=t.float.readFloatLE(this.buf,this.pos);return this.pos+=4,d},s.prototype.double=function(){if(this.pos+8>this.len)throw i(this,4);var d=t.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,d},s.prototype.bytes=function(){var d=this.uint32(),h=this.pos,g=this.pos+d;if(g>this.len)throw i(this,d);if(this.pos+=d,Array.isArray(this.buf))return this.buf.slice(h,g);if(h===g){var p=t.Buffer;return p?p.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,h,g)},s.prototype.string=function(){var d=this.bytes();return r.read(d,0,d.length)},s.prototype.skip=function(d){if(typeof d=="number"){if(this.pos+d>this.len)throw i(this,d);this.pos+=d}else do if(this.pos>=this.len)throw i(this);while(this.buf[this.pos++]&128);return this},s.prototype.skipType=function(f){switch(f){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(f=this.uint32()&7)!==4;)this.skipType(f);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+f+" at offset "+this.pos)}return this},s._configure=function(f){e=f,s.create=a(),e._configure();var d=t.Long?"toLong":"toNumber";t.merge(s.prototype,{int64:function(){return c.call(this)[d](!1)},uint64:function(){return c.call(this)[d](!0)},sint64:function(){return c.call(this).zzDecode()[d](!1)},fixed64:function(){return u.call(this)[d](!0)},sfixed64:function(){return u.call(this)[d](!1)}})},Gl}var Yl,Y0;
1function g4(){if(Y0)return Yl;Y0=1,Yl=n;var t=x2();(n.prototype=Object.create(t.prototype)).constructor=n;var e=Fi();function n(r){t.call(this,r)}return n._configure=function(){e.Buffer&&(n.prototype._slice=e.Buffer.prototype.slice)},n.prototype.string=function(){var i=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+i,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+i,this.len))},n._configure(),Yl}var Jl={},Zl,J0;function p4(){if(J0)return Zl;J0=1,Zl=e;var t=Fi();(e.prototype=Object.create(t.EventEmitter.prototype)).constructor=e;function e(n,r,i){if(typeof n!="function")throw TypeError("rpcImpl must be a function");t.EventEmitter.call(this),this.rpcImpl=n,this.requestDelimited=!!r,this.responseDelimited=!!i}return e.prototype.rpcCall=function n(r,i,s,o,a){if(!o)throw TypeError("request must be specified");var c=this;if(!a)return t.asPromise(n,c,r,i,s,o);if(!c.rpcImpl){setTimeout(function(){a(Error("already ended"))},0);return}try{return c.rpcImpl(r,i[c.requestDelimited?"encodeDelimited":"encode"](o).finish(),function(u,f){if(u)return c.emit("error",u,r),a(u);if(f===null){c.end(!0);return}if(!(f instanceof s))try{f=s[c.responseDelimited?"decodeDelimited":"decode"](f)}catch(d){return c.emit("error",d,r),a(d)}return c.emit("data",f,r),a(null,f)})}catch(l){c.emit("error",l,r),setTimeout(function(){a(l)},0);return}},e.prototype.end=function(r){return this.rpcImpl&&(r||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this},Zl}var Z0;function m4(){return Z0||(Z0=1,(function(t){var e=t;e.Service=p4()})(Jl)),Jl}var Ql,Q0;function y4(){return Q0||(Q0=1,Ql={}),Ql}var e1;function v4(){return e1||(e1=1,(function(t){var e=t;e.build="minimal",e.Writer=C2(),e.BufferWriter=h4(),e.Reader=x2(),e.BufferReader=g4(),e.util=Fi(),e.rpc=m4(),e.roots=y4(),e.configure=n;function n(){e.util._configure(),e.Writer._configure(e.BufferWriter),e.Reader._configure(e.BufferReader)}n()})(Bl)),Bl}var eu,t1;function b4(){return t1||(t1=1,eu=v4()),eu}var xs=b4();const zr=_2(xs);zr.util.Long=Re;zr.configure();function hr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S2(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var fn={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Mo={duration:.5,overwrite:!1,delay:0},eh,Tt,Ye,Sn=1e8,qe=1/Sn,Uf=Math.PI*2,w4=Uf/4,_4=0,E2=Math.sqrt,C4=Math.cos,x4=Math.sin,xt=function(e){return typeof e=="string"},it=function(e){return typeof e=="function"},_r=function(e){return typeof e=="number"},th=function(e){return typeof e=="undefined"},sr=function(e){return typeof e=="object"},Xt=function(e){return e!==!1},nh=function(){return typeof window!="undefined"},Ea=function(e){return it(e)||xt(e)},A2=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Lt=Array.isArray,S4=/random\([^)]+\)/g,E4=/,\s*/g,n1=/(?:-?\.?\d|\.)+/gi,T2=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ns=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,tu=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,O2=/[+-]=-?[.\d]+/,A4=/[^,'"\[\]\s]+/gi,T4=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,tt,Jn,zf,rh,dn={},xc={},k2,R2=function(e){return(xc=Ss(e,dn))&&Zt},ih=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},No=function(e,n){return!n&&console.warn(e)},P2=function(e,n){return e&&(dn[e]=n)&&xc&&(xc[e]=n)||dn},Bo=function(){return 0},O4={suppressEvents:!0,isStart:!0,kill:!1},Qa={suppressEvents:!0,kill:!1},k4={suppressEvents:!0},sh={},Nr=[],qf={},D2,tn={},nu={},r1=30,ec=[],oh="",ah=function(e){var n=e[0],r,i;if(sr(n)||it(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=ec.length;i--&&!ec[i].targetTest(n););r=ec[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new ey(e[i],r)))||e.splice(i,1);return e},wi=function(e){return e._gsap||ah(En(e))[0]._gsap},I2=function(e,n,r){return(r=e[n])&&it(r)?e[n]():th(r)&&e.getAttribute&&e.getAttribute(n)||r},Kt=function(e,n){return(e=e.split(",")).forEach(n)||e},st=function(e){return Math.round(e*1e5)/1e5||0},et=function(e){return Math.round(e*1e7)/1e7||0},us=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},R4=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++i<r;);return i<r},Sc=function(){var e=Nr.length,n=Nr.slice(0),r,i;for(qf={},Nr.length=0,r=0;r<e;r++)i=n[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},ch=function(e){return!!(e._initted||e._startAt||e.add)},L2=function(e,n,r,i){Nr.length&&!Tt&&Sc(),e.render(n,r,!!(Tt&&n<0&&ch(e))),Nr.length&&!Tt&&Sc()},$2=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(A4).length<2?n:xt(e)?e.trim():e},M2=function(e){return e},hn=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},P4=function(e){return function(n,r){for(var i in r)i in n||i==="duration"&&e||i==="ease"||(n[i]=r[i])}},Ss=function(e,n){for(var r in n)e[r]=n[r];return e},i1=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=sr(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Ec=function(e,n){var r={},i;for(i in e)i in n||(r[i]=e[i]);return r},xo=function(e){var n=e.parent||tt,r=e.keyframes?P4(Lt(e.keyframes)):hn;if(Xt(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},D4=function(e,n){for(var r=e.length,i=r===n.length;i&&r--&&e[r]===n[r];);return r<0},N2=function(e,n,r,i,s){var o=e[i],a;if(s)for(a=n[s];o&&o[s]>a;)o=o._prev;return o?(n._next=o._next,o._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=o,n.parent=n._dp=e,n},el=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=n._prev,o=n._next;s?s._next=o:e[r]===n&&(e[r]=o),o?o._prev=s:e[i]===n&&(e[i]=s),n._next=n._prev=n.parent=null},qr=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},_i=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},I4=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},jf=function(e,n,r,i){return e._startAt&&(Tt?e._startAt.revert(Qa):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},L4=function t(e){return!e||e._ts&&t(e.parent)},s1=function(e){return e._repeat?Es(e._tTime,e=e.duration()+e._rDelay)*e:0},Es=function(e,n){var r=Math.floor(e=et(e/n));return e&&r===e?r-1:r},Ac=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},tl=function(e){return e._end=et(e._start+(e._tDur/Math.abs(e._ts||e._rts||qe)||0))},nl=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=et(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),tl(e),r._dirty||_i(r,e)),e},B2=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add
vendor: 6,155 bytes, line 1
1))&&(r=Ac(e.rawTime(),n),(!n._dur||la(0,n.totalDuration(),r)-n._tTime>qe)&&n.render(r,!0)),_i(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-qe}},Zn=function(e,n,r,i){return n.parent&&qr(n),n._start=et((_r(r)?r:r||e!==tt?pn(e,r,n):e._time)+n._delay),n._end=et(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),N2(e,n,"_first","_last",e._sort?"_start":0),Hf(n)||(e._recent=n),i||B2(e,n),e._ts<0&&nl(e,e._tTime),e},F2=function(e,n){return(dn.ScrollTrigger||ih("scrollTrigger",n))&&dn.ScrollTrigger.create(n,e)},U2=function(e,n,r,i,s){if(uh(e,n,s),!e._initted)return 1;if(!r&&e._pt&&!Tt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&D2!==on.frame)return Nr.push(e),e._lazy=[s,i],1},$4=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Hf=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},M4=function(e,n,r,i){var s=e.ratio,o=n<0||!n&&(!e._start&&$4(e)&&!(!e._initted&&Hf(e))||(e._ts<0||e._dp._ts<0)&&!Hf(e))?0:1,a=e._rDelay,c=0,l,u,f;if(a&&e._repeat&&(c=la(0,e._tDur,n),u=Es(c,a),e._yoyo&&u&1&&(o=1-o),u!==Es(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||Tt||i||e._zTime===qe||!n&&e._zTime){if(!e._initted&&U2(e,n,i,r,c))return;for(f=e._zTime,e._zTime=n||(r?qe:0),r||(r=n&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=c,l=e._pt;l;)l.r(o,l.d),l=l._next;n<0&&jf(e,n,r,!0),e._onUpdate&&!r&&cn(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&cn(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===o&&(o&&qr(e,1),!r&&!Tt&&(cn(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},N4=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<n)return i;i=i._prev}},As=function(e,n,r,i){var s=e._repeat,o=et(n)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:et(o*(s+1)+e._rDelay*s):o,a>0&&!i&&nl(e,e._tTime=e._tDur*a),e.parent&&tl(e),r||_i(e.parent,e),e},o1=function(e){return e instanceof Ht?_i(e):As(e,e._dur)},B4={_start:0,endTime:Bo,totalDuration:Bo},pn=function t(e,n,r){var i=e.labels,s=e._recent||B4,o=e.duration()>=Sn?s.endTime(!1):e._dur,a,c,l;return xt(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)==="%",a=n.indexOf("="),c==="<"||c===">"?(a>=0&&(n=n.replace(/=/,"")),(c==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(a<0?s:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(a-1)+n.substr(a+1)),l&&r&&(c=c/100*(Lt(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+c:o+c)):n==null?o:+n},So=function(e,n,r){var i=_r(n[1]),s=(i?2:1)+(e<2?0:1),o=n[s],a,c;if(i&&(o.duration=n[1]),o.parent=r,e){for(a=o,c=r;c&&!("immediateRender"in a);)a=c.vars.defaults||{},c=Xt(c.vars.inherit)&&c.parent;o.immediateRender=Xt(a.immediateRender),e<2?o.runBackwards=1:o.startAt=n[s-1]}return new dt(n[0],o,n[s+1])},Jr=function(e,n){return e||e===0?n(e):n},la=function(e,n,r){return r<e?e:r>n?n:r},Dt=function(e,n){return!xt(e)||!(n=T4.exec(e))?"":n[1]},F4=function(e,n,r){return Jr(r,function(i){return la(e,n,i)})},Wf=[].slice,z2=function(e,n){return e&&sr(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&sr(e[0]))&&!e.nodeType&&e!==Jn},U4=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return xt(i)&&!n||z2(i,1)?(s=r).push.apply(s,En(i)):r.push(i)})||r},En=function(e,n,r){return Ye&&!n&&Ye.selector?Ye.selector(e):xt(e)&&!r&&(zf||!Ts())?Wf.call((n||rh).querySelectorAll(e),0):Lt(e)?U4(e,r):z2(e)?Wf.call(e,0):e?[e]:[]},Vf=function(e){return e=En(e)[0]||No("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return En(n,r.querySelectorAll?r:r===e?No("Invalid scope")||rh.createElement("div"):e)}},q2=function(e){return e.sort(function(){return .5-Math.random()})},j2=function(e){if(it(e))return e;var n=sr(e)?e:{each:e},r=Ci(n.ease),i=n.from||0,s=parseFloat(n.base)||0,o={},a=i>0&&i<1,c=isNaN(i)||a,l=n.axis,u=i,f=i;return xt(i)?u=f={center:.5,edges:.5,end:1}[i]||0:!a&&c&&(u=i[0],f=i[1]),function(d,h,g){var p=(g||n).length,m=o[p],y,v,b,w,_,S,x,E,A;if(!m){if(A=n.grid==="auto"?0:(n.grid||[1,Sn])[1],!A){for(x=-Sn;x<(x=g[A++].getBoundingClientRect().left)&&A<p;);A<p&&A--}for(m=o[p]=[],y=c?Math.min(A,p)*u-.5:i%A,v=A===Sn?0:c?p*f/A-.5:i/A|0,x=0,E=Sn,S=0;S<p;S++)b=S%A-y,w=v-(S/A|0),m[S]=_=l?Math.abs(l==="y"?w:b):E2(b*b+w*w),_>x&&(x=_),_<E&&(E=_);i==="random"&&q2(m),m.max=x-E,m.min=E,m.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(A>p?p-1:l?l==="y"?p/A:A:Math.max(A,p/A))||0)*(i==="edges"?-1:1),m.b=p<0?s-p:s,m.u=Dt(n.amount||n.each)||0,r=r&&p<0?Q4(r):r}return p=(m[d]-m.min)/m.max||0,et(m.b+(r?r(p):p)*m.v)+m.u}},Xf=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=et(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(_r(r)?0:Dt(r))}},H2=function(e,n){var r=Lt(e),i,s;return!r&&sr(e)&&(i=r=e.radius||Sn,e.values?(e=En(e.values),(s=!_r(e[0]))&&(i*=i)):e=Xf(e.increment)),Jr(n,r?it(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),c=parseFloat(s?o.y:0),l=Sn,u=0,f=e.length,d,h;f--;)s?(d=e[f].x-a,h=e[f].y-c,d=d*d+h*h):d=Math.abs(e[f]-a),d<l&&(l=d,u=f);return u=!i||l<=i?e[u]:o,s||u===o||_r(o)?u:u+Dt(o)}:Xf(e))},W2=function(e,n,r,i){return Jr(Lt(e)?!n:r===!0?!!(r=0):!i,function(){return Lt(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*i)/i})},z4=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(i){return n.reduce(function(s,o){return o(s)},i)}},q4=function(e,n){return function(r){return e(parseFloat(r))+(n||Dt(r))}},j4=function(e,n,r){return X2(e,n,0,1,r)},V2=function(e,n,r){return Jr(r,function(i){return e[~~n(i)]})},H4=function t(e,n,r){var i=n-e;return Lt(e)?V2(e,t(0,e.length),n):Jr(r,function(s){return(i+(s-e)%i)%i+e})},W4=function t(e,n,r){var i=n-e,s=i*2;return Lt(e)?V2(e,t(0,e.length-1),n):Jr(r,function(o){return o=(s+(o-e)%s)%s||
vendor: 4,468 bytes, line 1
10,e+(o>i?s-o:o)})},Fo=function(e){return e.replace(S4,function(n){var r=n.indexOf("[")+1,i=n.substring(r||7,r?n.indexOf("]"):n.length-1).split(E4);return W2(r?i:+i[0],r?0:+i[1],+i[2]||1e-5)})},X2=function(e,n,r,i,s){var o=n-e,a=i-r;return Jr(s,function(c){return r+((c-e)/o*a||0)})},V4=function t(e,n,r,i){var s=isNaN(e+n)?0:function(h){return(1-h)*e+h*n};if(!s){var o=xt(e),a={},c,l,u,f,d;if(r===!0&&(i=1)&&(r=null),o)e={p:e},n={p:n};else if(Lt(e)&&!Lt(n)){for(u=[],f=e.length,d=f-2,l=1;l<f;l++)u.push(t(e[l-1],e[l]));f--,s=function(g){g*=f;var p=Math.min(d,~~g);return u[p](g-p)},r=n}else i||(e=Ss(Lt(e)?[]:{},e));if(!u){for(c in n)lh.call(a,e,c,"get",n[c]);s=function(g){return hh(g,a)||(o?e.p:e)}}}return Jr(r,s)},a1=function(e,n,r){var i=e.labels,s=Sn,o,a,c;for(o in i)a=i[o]-n,a<0==!!r&&a&&s>(a=Math.abs(a))&&(c=o,s=a);return c},cn=function(e,n,r){var i=e.vars,s=i[n],o=Ye,a=e._ctx,c,l,u;if(s)return c=i[n+"Params"],l=i.callbackScope||e,r&&Nr.length&&Sc(),a&&(Ye=a),u=c?s.apply(l,c):s.call(l),Ye=o,u},mo=function(e){return qr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Tt),e.progress()<1&&cn(e,"onInterrupt"),e},rs,K2=[],G2=function(e){if(e)if(e=!e.name&&e.default||e,nh()||e.headless){var n=e.name,r=it(e),i=n&&!r&&e.init?function(){this._props=[]}:e,s={init:Bo,render:hh,add:lh,kill:lw,modifier:cw,rawVars:0},o={targetTest:0,get:0,getSetter:dh,aliases:{},register:0};if(Ts(),e!==i){if(tn[n])return;hn(i,hn(Ec(e,s),o)),Ss(i.prototype,Ss(s,Ec(e,o))),tn[i.prop=n]=i,e.targetTest&&(ec.push(i),sh[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}P2(n,i),e.register&&e.register(Zt,i,Gt)}else K2.push(e)},ze=255,yo={aqua:[0,ze,ze],lime:[0,ze,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ze],navy:[0,0,128],white:[ze,ze,ze],olive:[128,128,0],yellow:[ze,ze,0],orange:[ze,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ze,0,0],pink:[ze,192,203],cyan:[0,ze,ze],transparent:[ze,ze,ze,0]},ru=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*ze+.5|0},Y2=function(e,n,r){var i=e?_r(e)?[e>>16,e>>8&ze,e&ze]:0:yo.black,s,o,a,c,l,u,f,d,h,g;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),yo[e])i=yo[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&ze,i&ze,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&ze,e&ze]}else if(e.substr(0,3)==="hsl"){if(i=g=e.match(n1),!n)c=+i[0]%360/360,l=+i[1]/100,u=+i[2]/100,o=u<=.5?u*(l+1):u+l-u*l,s=u*2-o,i.length>3&&(i[3]*=1),i[0]=ru(c+1/3,s,o),i[1]=ru(c,s,o),i[2]=ru(c-1/3,s,o);else if(~e.indexOf("="))return i=e.match(T2),r&&i.length<4&&(i[3]=1),i}else i=e.match(n1)||yo.transparent;i=i.map(Number)}return n&&!g&&(s=i[0]/ze,o=i[1]/ze,a=i[2]/ze,f=Math.max(s,o,a),d=Math.min(s,o,a),u=(f+d)/2,f===d?c=l=0:(h=f-d,l=u>.5?h/(2-f-d):h/(f+d),c=f===s?(o-a)/h+(o<a?6:0):f===o?(a-s)/h+2:(s-o)/h+4,c*=60),i[0]=~~(c+.5),i[1]=~~(l*100+.5),i[2]=~~(u*100+.5)),r&&i.length<4&&(i[3]=1),i},J2=function(e){var n=[],r=[],i=-1;return e.split(Br).forEach(function(s){var o=s.match(ns)||[];n.push.apply(n,o),r.push(i+=o.length+1)}),n.c=r,n},c1=function(e,n,r){var i="",s=(e+i).match(Br),o=n?"hsla(":"rgba(",a=0,c,l,u,f;if(!s)return e;if(s=s.map(function(d){return(d=Y2(d,n,1))&&o+(n?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),r&&(u=J2(e),c=r.c,c.join(i)!==u.c.join(i)))for(l=e.replace(Br,"1").split(ns),f=l.length-1;a<f;a++)i+=l[a]+(~c.indexOf(a)?s.shift()||o+"0,0,0,0)":(u.length?u:s.length?s:r).shift());if(!l)for(l=e.split(Br),f=l.length-1;a<f;a++)i+=l[a]+s[a];return i+l[f]},Br=(function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in yo)t+="|"+e+"\\b";return new RegExp(t+")","gi")})(),X4=/hsl[a]?\(/,Z2=function(e){var n=e.join(" "),r;if(Br.lastIndex=0,Br.test(n))return r=X4.test(n),e[1]=c1(e[1],r),e[0]=c1(e[0],r,J2(e[1])),!0},Uo,on=(function(){var t=Date.now,e=500,n=33,r=t(),i=r,s=1e3/240,o=s,a=[],c,l,u,f,d,h,g=function p(m){var y=t()-i,v=m===!0,b,w,_,S;if((y>e||y<0)&&(r+=y-n),i+=y,_=i-r,b=_-o,(b>0||v)&&(S=++f.frame,d=_-f.time*1e3,f.time=_=_/1e3,o+=b+(b>=s?4:s-b),w=1),v||(c=l(p)),w)for(h=0;h<a.length;h++)a[h](_,d,S,m)};return f={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return d/(1e3/(m||60))},wake:function(){k2&&(!zf&&nh()&&(Jn=zf=window,rh=Jn.document||{}
vendor: 10,928 bytes, line 1
1,dn.gsap=Zt,(Jn.gsapVersions||(Jn.gsapVersions=[])).push(Zt.version),R2(xc||Jn.GreenSockGlobals||!Jn.gsap&&Jn||{}),K2.forEach(G2)),u=typeof requestAnimationFrame!="undefined"&&requestAnimationFrame,c&&f.sleep(),l=u||function(m){return setTimeout(m,o-f.time*1e3+1|0)},Uo=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),Uo=0,l=Bo},lagSmoothing:function(m,y){e=m||1/0,n=Math.min(y||33,e)},fps:function(m){s=1e3/(m||240),o=f.time*1e3+s},add:function(m,y,v){var b=y?function(w,_,S,x){m(w,_,S,x),f.remove(b)}:m;return f.remove(m),a[v?"unshift":"push"](b),Ts(),b},remove:function(m,y){~(y=a.indexOf(m))&&a.splice(y,1)&&h>=y&&h--},_listeners:a},f})(),Ts=function(){return!Uo&&on.wake()},Ee={},K4=/^[\d.\-M][\d.\-,\s]/,G4=/["']/g,Y4=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,o=r.length,a,c,l;s<o;s++)c=r[s],a=s!==o-1?c.lastIndexOf(","):c.length,l=c.substr(0,a),n[i]=isNaN(l)?l.replace(G4,"").trim():+l,i=c.substr(a+1).trim();return n},J4=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n);return e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)},Z4=function(e){var n=(e+"").split("("),r=Ee[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Y4(n[1])]:J4(e).split(",").map($2)):Ee._CE&&K4.test(e)?Ee._CE("",e):r},Q4=function(e){return function(n){return 1-e(1-n)}},Ci=function(e,n){return e&&(it(e)?e:Ee[e]||Z4(e))||n},Ui=function(e,n,r,i){r===void 0&&(r=function(c){return 1-n(1-c)}),i===void 0&&(i=function(c){return c<.5?n(c*2)/2:1-n((1-c)*2)/2});var s={easeIn:n,easeOut:r,easeInOut:i},o;return Kt(e,function(a){Ee[a]=dn[a]=s,Ee[o=a.toLowerCase()]=r;for(var c in s)Ee[o+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=Ee[a+"."+c]=s[c]}),s},Q2=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},iu=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),o=s/Uf*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*x4((u-o)*s)+1},c=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Q2(a);return s=Uf/s,c.config=function(l,u){return t(e,l,u)},c},su=function t(e,n){n===void 0&&(n=1.70158);var r=function(o){return o?--o*o*((n+1)*o+n)+1:0},i=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:Q2(r);return i.config=function(s){return t(e,s)},i};Kt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;Ui(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})});Ee.Linear.easeNone=Ee.none=Ee.Linear.easeIn;Ui("Elastic",iu("in"),iu("out"),iu());(function(t,e){var n=1/e,r=2*n,i=2.5*n,s=function(a){return a<n?t*a*a:a<r?t*Math.pow(a-1.5/e,2)+.75:a<i?t*(a-=2.25/e)*a+.9375:t*Math.pow(a-2.625/e,2)+.984375};Ui("Bounce",function(o){return 1-s(1-o)},s)})(7.5625,2.75);Ui("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)});Ui("Circ",function(t){return-(E2(1-t*t)-1)});Ui("Sine",function(t){return t===1?1:-C4(t*w4)+1});Ui("Back",su("in"),su("out"),su());Ee.SteppedEase=Ee.steps=dn.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,i=e+(n?0:1),s=n?1:0,o=1-qe;return function(a){return((i*la(0,o,a)|0)+s)*r}}};Mo.ease=Ee["quad.out"];Kt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return oh+=t+","+t+"Params,"});var ey=function(e,n){this.id=_4++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:I2,this.set=n?n.getSetter:dh},zo=(function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,As(this,+n.duration,1,1),this.data=n.data,Ye&&(this._ctx=Ye,Ye.data.push(this)),Uo||on.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,As(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Ts(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(nl(this,r),!s._dp||s.parent||B2(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Zn(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===qe||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),L2(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+s1(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+s1(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,i):this._repeat?Es(this._tTime,s)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-qe?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?Ac(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-qe?0:this._rts,this.totalTime(la(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),tl(this),I4(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ts(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==qe&&(this._tTime-=qe)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=et(r);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Zn(i,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(Xt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ac(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=k4);var i=Tt;return Tt=r,ch(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Tt=i,this},e.globalTime=function(r){for(var i=this,s=arguments.length?r:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,o1(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,o1(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(pn(this,r),Xt(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Xt(i)),this._dur||(this._zTime=-qe),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-qe:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-qe,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=i&&s<this.endTime(!0)-qe)},e.eventCallback=function(r,i,s){var o=this.vars;return arguments.length>1?(i?(o[r]=i,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this,s=i._prom;return new Promise(function(o){var a=it(r)?r:M2,c=function(){var u=i.then;i.then=null,s&&s(),it(a)&&(a=a(i))&&(a.then||a===i)&&(i.then=u),o(a),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?c():i._prom=c})},e.kill=function(){mo(this)},t})();hn(zo.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-qe,_prom:0,_ps:!1,_rts:1});var Ht=(function(t){S2(e,t);function e(r,i){var s;return r===void 0&&(r={}),s=t.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=Xt(r.sortChildren),tt&&Zn(r.parent||tt,hr(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&F2(hr(s),r.scrollTrigger),s}var n=e.prototype;return n.to=function(i,s,o){return So(0,arguments,this),this},n.from=function(i,s,o){return So(1,arguments,this),this},n.fromTo=function(i,s,o,a){return So(2,arguments,this),this},n.set=function(i,s,o){return s.duration=0,s.parent=this,xo(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new dt(i,s,pn(this,o),1),this},n.call=function(i,s,o){return Zn(this,dt.delayedCall(0,i,s),o)},n.staggerTo=function(i,s,o,a,c,l,u){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=l,o.onCompleteParams=u,o.parent=this,new dt(i,o,pn(this,c)),this},n.staggerFrom=function(i,s,o,a,c,l,u){return o.runBackwards=1,xo(o).immediateRender=Xt(o.immediateRender),this.staggerTo(i,s,o,a,c,l,u)},n.staggerFromTo=function(i,s,o,a,c,l,u,f){return a.startAt=o,xo(a).immediateRender=Xt(a.immediateRender),this.staggerTo(i,s,a,c,l,u,f)},n.render=function(i,s,o){var a=this._time,c=this._dirty?this.totalDuration():this._tDur,l=this._dur,u=i<=0?0:et(i),f=this._zTime<0!=i<0&&(this._initted||!l),d,h,g,p,m,y,v,b,w,_,S,x;if(this!==tt&&u>c&&i>=0&&(u=c),u!==this._tTime||o||f){if(a!==this._time&&l&&(u+=this._time-a,i+=this._time-a),d=u,w=this._start,b=this._ts,y=!b,f&&(l||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(S=this._yoyo,m=l+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(m*100+i,s,o);if(d=et(u%m),u===c?(p=this._repeat,d=l):(_=et(u/m),p=~~_,p&&p===_&&(d=l,p--),d>l&&(d=l)),_=Es(this._tTime,m),!a&&this._tTime&&_!==p&&this._tTime-_*m-this._dur<=0&&(_=p),S&&p&1&&(d=l-d,x=1),p!==_&&!this._lock){var E=S&&_&1,A=E===(S&&p&1);
vendor: 8,363 bytes, line 1
1if(p<_&&(E=!E),a=E?0:u%l?l:u,this._lock=1,this.render(a||(x?0:et(p*m)),s,!l)._lock=0,this._tTime=u,!s&&this.parent&&cn(this,"onRepeat"),this.vars.repeatRefresh&&!x&&(this.invalidate()._lock=1,_=p),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,c=this._tDur,A&&(this._lock=2,a=E?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!x&&this.invalidate()),this._lock=0,!this._ts&&!y)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=N4(this,et(a),et(d)),v&&(u-=d-(d=v._start))),this._tTime=u,this._time=d,this._act=!!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&u&&l&&!s&&!_&&(cn(this,"onStart"),this._tTime!==u))return this;if(d>=a&&i>=0)for(h=this._first;h;){if(g=h._next,(h._act||d>=h._start)&&h._ts&&v!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(d-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(d-h._start)*h._ts,s,o),d!==this._time||!this._ts&&!y){v=0,g&&(u+=this._zTime=-qe);break}}h=g}else{h=this._last;for(var P=i<0?i:d;h;){if(g=h._prev,(h._act||P<=h._end)&&h._ts&&v!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(P-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(P-h._start)*h._ts,s,o||Tt&&ch(h)),d!==this._time||!this._ts&&!y){v=0,g&&(u+=this._zTime=P?-qe:qe);break}}h=g}}if(v&&!s&&(this.pause(),v.render(d>=a?0:-qe)._zTime=d>=a?1:-1,this._ts))return this._start=w,tl(this),this.render(i,s,o);this._onUpdate&&!s&&cn(this,"onUpdate",!0),(u===c&&this._tTime>=this.totalDuration()||!u&&a)&&(w===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((i||!l)&&(u===c&&this._ts>0||!u&&this._ts<0)&&qr(this,1),!s&&!(i<0&&!a)&&(u||a||!c)&&(cn(this,u===c&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<c&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(i,s){var o=this;if(_r(s)||(s=pn(this,s,i)),!(i instanceof zo)){if(Lt(i))return i.forEach(function(a){return o.add(a,s)}),this;if(xt(i))return this.addLabel(i,s);if(it(i))i=dt.delayedCall(0,i);else return this}return this!==i?Zn(this,i,s):this},n.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-Sn);for(var c=[],l=this._first;l;)l._start>=a&&(l instanceof dt?s&&c.push(l):(o&&c.push(l),i&&c.push.apply(c,l.getChildren(!0,s,o)))),l=l._next;return c},n.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},n.remove=function(i){return xt(i)?this.removeLabel(i):it(i)?this.killTweensOf(i):(i.parent===this&&el(this,i),i===this._recent&&(this._recent=this._last),_i(this))},n.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=et(on.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},n.addLabel=function(i,s){return this.labels[i]=pn(this,s),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,s,o){var a=dt.delayedCall(0,s||Bo,o);return a.data="isPause",this._hasPause=1,Zn(this,a,pn(this,i))},n.removePause=function(i){var s=this._first;for(i=pn(this,i);s;)s._start===i&&s.data==="isPause"&&qr(s),s=s._next},n.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),c=a.length;c--;)Dr!==a[c]&&a[c].kill(i,s);return this},n.getTweensOf=function(i,s){for(var o=[],a=En(i),c=this._first,l=_r(s),u;c;)c instanceof dt?R4(c._targets,a)&&(l?(!Dr||c._initted&&c._ts)&&c.globalTime(0)<=s&&c.globalTime(c.totalDuration())>s:!s||c.isActive())&&o.push(c):(u=c.getTweensOf(a,s)).length&&o.push.apply(o,u),c=c._next;return o},n.tweenTo=function(i,s){s=s||{};var o=this,a=pn(o,i),c=s,l=c.startAt,u=c.onStart,f=c.onStartParams,d=c.immediateRender,h,g=dt.to(o,hn({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(l&&"time"in l?l.time:o._time))/o.timeScale())||qe,onStart:function(){if(o.pause(),!h){var m=s.duration||Math.abs((a-(l&&"time"in l?l.time:o._time))/o.timeScale());g._dur!==m&&As(g,m,0,1).render(g._time,!0,!0),h=1}u&&u.apply(g,f||[])}},s));return d?g.render(0):g},n.tweenFromTo=function(i,s,o){return this.tweenTo(s,hn({startAt:{time:pn(this,i)}},o))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),a1(this,pn(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),a1(this,pn(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+qe)},n.shiftChildren=function(i,s,o){o===void 0&&(o=0);var a=this._first,c=this.labels,l;for(i=et(i);a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(l in c)c[l]>=o&&(c[l]+=i);return _i(this)},n.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),_i(this)},n.totalDuration=function(i){var s=0,o=this,a=o._last,c=Sn,l,u,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(f=o.parent;a;)l=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>c&&o._sort&&a._ts&&!o._lock?(o._lock=1,Zn(o,a,u-a._delay,1)._lock=0):c=u,u<0&&a._ts&&(s-=u,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=et(u/o._ts),o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),c=0),a._end>s&&a._ts&&(s=a._end),a=l;As(o,o===tt&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(tt._ts&&(L2(tt,Ac(i,tt)),D2=on.frame),on.frame>=r1){r1+=fn.autoSleep||120;var s=tt._first;if((!s||!s._ts)&&fn.autoSleep&&on._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||on.sleep()}}},e})(zo);hn(Ht.prototype,{_lock:0,_hasPause:0,_forcing:0});var ew=function(e,n,r,i,s,o,a){var c=new Gt(this._pt,e,n,0,1,oy,null,s),l=0,u=0,f,d,h,g,p,m,y,v;for(c.b=r,c.e=i,r+="",i+="",(y=~i.indexOf("random("))&&(i=Fo(i)),o&&(v=[r,i],o(v,e,n),r=v[0],i=v[1]),d=r.match(tu)||[];f=tu.exec(i);)g=f[0],p=i.substring(l,f.index),h?h=(h+1)%5:p.substr(-5)==="rgba("&&(h=1),g!==d[u++]&&(m=parseFloat(d[u-1])||0,c._pt={_next:c._pt,p:p||u===1?p:",",s:m,c:g.charAt(1)==="="?us(m,g)-m:parseFloat(g)-m,m:h&&h<4?Math.round:0},l=tu.lastIndex);return c.c=l<i.length?i.substring(l,i.length):"",c.fp=a,(O2.test(i)||y)&&(c.e=0),this._pt=c,c},lh=function(e,n,r,i,s,o,a,c,l,u){it(i)&&(i=i(s||0,e,o));var f=e[n],d=r!=="get"?r:it(f)?l?e[n.indexOf("set")||!it(e["get"+n.substr(3)])?n:"get"+n.substr(3)](l):e[n]():f,h=it(f)?l?sw:iy:fh,g;if(xt(i)&&(~i.indexOf("random(")&&(i=Fo(i)),i.charAt(1)==="="&&(g=us(d,i)+(Dt(d)||0),(g||g===0)&&(i=g))),!u||d!==i||Kf)return!isNaN(d*i)&&i!==""?(g=new Gt(this._pt,e,n,+d||0,i-(d||0),typeof f=="boolean"?aw:sy,0,h),l&&(g.fp=l),a&&g.modifier(a,this,e),this._pt=g):(!f&&!(n in e)&&ih(n,i),ew.call(this,e,n,d,i,h,c||fn.stringFilter,l))},tw=function(e,n,r,i,s){if(it(e)&&(e=Eo(e,s,n,r,i)),!sr(e)||e.style&&e.nodeType||Lt(e)||A2(e))return xt(e)?Eo(e,s,n,r,i):e;var o={},a;for(a in e)o[a]=Eo(e[a],s,n,r,i);return o},ty=function(e,n,r,i,s,o){var a,c,l,u;if(tn[e]&&(a=new tn[e]).init(s,a.rawVars?n[e]:tw(n[e],i,s,o,r),r,i,o)!==!1&&(r._pt=c=new Gt(r._pt,s,e,0,1,a.render,a,0,a.priority),r!==rs))for(l=r._ptLookup[r._targets.indexOf(s)],u=a._props.length;u--;)l[a._props[u]]=c;return a},Dr,Kf,uh=function t(e,n,r){var i=e.vars,s=i.ease,o=i.startAt,a=i.immediateRender,c=i.lazy,l=i.onUpdate,u=i.runBackwards,f=i.yoyoEase,d=i.keyframes,h=i.autoRevert,g=e._dur,p=e._startAt,m=e._targets,y=e.parent,v=y&&y.data==="nested"?y.vars.targets:m,b=e._overwrite==="auto"&&!eh,w=e.timeline,_=i.easeReverse||f,S,x,E,A,P,T,I,L,R,k,$,U,j;if(w&&(!d||!s)&&(s="none"),e._ease=Ci(s,Mo.ease),e._rEase=_&&(Ci(_)||e._ease),e._from=!w&&!!i.runBackwards,e._from&&(e.ratio=1),!w||d&&!i.stagger){if(L=m[0]?wi(m[0]).harness:0,U=L&&i[L.prop],S=Ec(i,sh),p&&(p._zTime<0&&p.progress(1),n<0&&u&&a&&!h?p.render(-1,!0):p.revert(u&&g?Qa:O4),p._lazy=0),o){if(qr(e._startAt=dt.set(m,hn({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!p&&Xt(c),startAt:null,delay:0,onUpdate:l&&function(){return cn(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Tt||!a&&!h)&&e._startAt.revert(Qa),a&&g&&n<=0&&r<=0){n&&(e._zTime=n);return}}
vendor: 1,722 bytes, line 1
1else if(u&&g&&!p){if(n&&(a=!1),E=hn({overwrite:!1,data:"isFromStart",lazy:a&&!p&&Xt(c),immediateRender:a,stagger:0,parent:y},S),U&&(E[L.prop]=U),qr(e._startAt=dt.set(m,E)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Tt?e._startAt.revert(Qa):e._startAt.render(-1,!0)),e._zTime=n,!a)t(e._startAt,qe,qe);else if(!n)return}for(e._pt=e._ptCache=0,c=g&&Xt(c)||c&&!g,x=0;x<m.length;x++){if(P=m[x],I=P._gsap||ah(m)[x]._gsap,e._ptLookup[x]=k={},qf[I.id]&&Nr.length&&Sc(),$=v===m?x:v.indexOf(P),L&&(R=new L).init(P,U||S,e,$,v)!==!1&&(e._pt=A=new Gt(e._pt,P,R.name,0,1,R.render,R,0,R.priority),R._props.forEach(function(V){k[V]=A}),R.priority&&(T=1)),!L||U)for(E in S)tn[E]&&(R=ty(E,S,e,$,P,v))?R.priority&&(T=1):k[E]=A=lh.call(e,P,E,"get",S[E],$,v,0,i.stringFilter);e._op&&e._op[x]&&e.kill(P,e._op[x]),b&&e._pt&&(Dr=e,tt.killTweensOf(P,k,e.globalTime(n)),j=!e.parent,Dr=0),e._pt&&c&&(qf[I.id]=1)}T&&ay(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!j,d&&n<=0&&w.render(Sn,!0,!0)},nw=function(e,n,r,i,s,o,a,c){var l=(e._pt&&e._ptCache||(e._ptCache={}))[n],u,f,d,h;if(!l)for(l=e._ptCache[n]=[],d=e._ptLookup,h=e._targets.length;h--;){if(u=d[h][n],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==n&&u.fp!==n;)u=u._next;if(!u)return Kf=1,e.vars[n]="+=0",uh(e,a),Kf=0,c?No(n+" not eligible for reset. Try splitting into individual properties"):1;l.push(u)}for(h=l.length;h--;)f=l[h],u=f._pt||f,u.s=(i||i===0)&&!s?i:u.s+(i||0)+o*u.c,u.c=r-u.s,f.e&&(f.e=st(r)+Dt(f.e)),f.b&&(f.b=u.s+Dt(f.b))},rw=function(e,n){var r=e[0]?wi(e[0]).harness:0,i=r&&r.aliases,s,o,a,c;if(!i)return n;s=Ss({},n);for(o in i)if(o in s)for(c=i[o].split(","),a=c.length;a--;)s[c[a]]=s[o];return s},iw=function(e,n,r,i){var s=n.ease||i||"power1.inOut",o,a;
vendor: 4,594 bytes, line 1
1if(Lt(n))a=r[e]||(r[e]=[]),n.forEach(function(c,l){return a.push({t:l/(n.length-1)*100,v:c,e:s})});else for(o in n)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:n[o],e:s})},Eo=function(e,n,r,i,s){return it(e)?e.call(n,r,i,s):xt(e)&&~e.indexOf("random(")?Fo(e):e},ny=oh+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",ry={};Kt(ny+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return ry[t]=1});var dt=(function(t){S2(e,t);function e(r,i,s,o){var a;typeof i=="number"&&(s.duration=i,i=s,s=null),a=t.call(this,o?i:xo(i))||this;var c=a.vars,l=c.duration,u=c.delay,f=c.immediateRender,d=c.stagger,h=c.overwrite,g=c.keyframes,p=c.defaults,m=c.scrollTrigger,y=i.parent||tt,v=(Lt(r)||A2(r)?_r(r[0]):"length"in i)?[r]:En(r),b,w,_,S,x,E,A,P;if(a._targets=v.length?ah(v):No("GSAP target "+r+" not found. https://gsap.com",!fn.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=h,g||d||Ea(l)||Ea(u)){i=a.vars;var T=i.easeReverse||i.yoyoEase;if(b=a.timeline=new Ht({data:"nested",defaults:p||{},targets:y&&y.data==="nested"?y.vars.targets:v}),b.kill(),b.parent=b._dp=hr(a),b._start=0,d||Ea(l)||Ea(u)){if(S=v.length,A=d&&j2(d),sr(d))for(x in d)~ny.indexOf(x)&&(P||(P={}),P[x]=d[x]);for(w=0;w<S;w++)_=Ec(i,ry),_.stagger=0,T&&(_.easeReverse=T),P&&Ss(_,P),E=v[w],_.duration=+Eo(l,hr(a),w,E,v),_.delay=(+Eo(u,hr(a),w,E,v)||0)-a._delay,!d&&S===1&&_.delay&&(a._delay=u=_.delay,a._start+=u,_.delay=0),b.to(E,_,A?A(w,E,v):0),b._ease=Ee.none;b.duration()?l=u=0:a.timeline=0}else if(g){xo(hn(b.vars.defaults,{ease:"none"})),b._ease=Ci(g.ease||i.ease||"none");var I=0,L,R,k;if(Lt(g))g.forEach(function($){return b.to(v,$,">")}),b.duration();else{_={};for(x in g)x==="ease"||x==="easeEach"||iw(x,g[x],_,g.easeEach);for(x in _)for(L=_[x].sort(function($,U){return $.t-U.t}),I=0,w=0;w<L.length;w++)R=L[w],k={ease:R.e,duration:(R.t-(w?L[w-1].t:0))/100*l},k[x]=R.v,b.to(v,k,I),I+=k.duration;b.duration()<l&&b.to({},{duration:l-b.duration()})}}l||a.duration(l=b.duration())}else a.timeline=0;return h===!0&&!eh&&(Dr=hr(a),tt.killTweensOf(v),Dr=0),Zn(y,hr(a),s),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(f||!l&&!g&&a._start===et(y._time)&&Xt(f)&&L4(hr(a))&&y.data!=="nested")&&(a._tTime=-qe,a.render(Math.max(0,-u)||0)),m&&F2(hr(a),m),a}var n=e.prototype;return n.render=function(i,s,o){var a=this._time,c=this._tDur,l=this._dur,u=i<0,f=i>c-qe&&!u?c:i<qe?0:i,d,h,g,p,m,y,v,b;if(!l)M4(this,i,s,o);else if(f!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(d=f,b=this.timeline,this._repeat){if(p=l+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+i,s,o);if(d=et(f%p),f===c?(g=this._repeat,d=l):(m=et(f/p),g=~~m,g&&g===m?(d=l,g--):d>l&&(d=l)),y=this._yoyo&&g&1,y&&(d=l-d),m=Es(this._tTime,p),d===a&&!o&&this._initted&&g===m)return this._tTime=f,this;g!==m&&this.vars.repeatRefresh&&!y&&!this._lock&&d!==p&&this._initted&&(this._lock=o=1,this.render(et(p*g),!0).invalidate()._lock=0)}if(!this._initted){if(U2(this,u?i:d,o,s,f))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&g!==m))return this;if(l!==this._dur)return this.render(i,s,o)}if(this._rEase){var w=d<a;if(w!==this._inv){var _=w?a:l-a;this._inv=w,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=a,this._invRecip=_?(w?-1:1)/_:0,this._invScale=w?-this.ratio:1-this.ratio,this._invEase=w?this._rEase:this._ease}this.ratio=v=this._invRatio+this._invScale*this._invEase((d-this._invTime)*this._invRecip)}else this.ratio=v=this._ease(d/l);if(this._from&&(this.ratio=v=1-v),this._tTime=f,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),!a&&f&&!s&&!m&&(cn(this,"onStart"),this._tTime!==f))return this;for(h=this._pt;h;)h.r(v,h.d),h=h._next;b&&b.render(i<0?i:b._dur*b._ease(d/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(u&&jf(this,i,s,o),cn(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!s&&this.parent&&cn(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&jf(this,i,!0,!0),(i||!l)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&qr(this,1),!s&&!(u&&!a)&&(f||a||y)&&(cn(this,f===c?"onComplete":"onReverseComplete",!0),this._prom&&!(f<c&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,s,o,a,c){Uo||on.wake(),this._ts||this.play();
vendor: 10,487 bytes, line 1
1var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||uh(this,l),u=this._ease(l/this._dur),nw(this,i,s,o,a,u,l,c)?this.resetTo(i,s,o,a,1):(nl(this,0),this.parent||N2(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?mo(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Tt),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Dr&&Dr.vars.overwrite!==!0)._first||mo(this),this.parent&&o!==this.timeline.totalDuration()&&As(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,c=i?En(i):a,l=this._ptLookup,u=this._pt,f,d,h,g,p,m,y;if((!s||s==="all")&&D4(a,c))return s==="all"&&(this._pt=0),mo(this);for(f=this._op=this._op||[],s!=="all"&&(xt(s)&&(p={},Kt(s,function(v){return p[v]=1}),s=p),s=rw(a,s)),y=a.length;y--;)if(~c.indexOf(a[y])){d=l[y],s==="all"?(f[y]=s,g=d,h={}):(h=f[y]=f[y]||{},g=s);for(p in g)m=d&&d[p],m&&((!("kill"in m.d)||m.d.kill(p)===!0)&&el(this,m,"_pt"),delete d[p]),h!=="all"&&(h[p]=1)}return this._initted&&!this._pt&&u&&mo(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return So(1,arguments)},e.delayedCall=function(i,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,s,o){return So(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,o){return tt.killTweensOf(i,s,o)},e})(zo);hn(dt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Kt("staggerTo,staggerFrom,staggerFromTo",function(t){dt[t]=function(){var e=new Ht,n=Wf.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var fh=function(e,n,r){return e[n]=r},iy=function(e,n,r){return e[n](r)},sw=function(e,n,r,i){return e[n](i.fp,r)},ow=function(e,n,r){return e.setAttribute(n,r)},dh=function(e,n){return it(e[n])?iy:th(e[n])&&e.setAttribute?ow:fh},sy=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},aw=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},oy=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},hh=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},cw=function(e,n,r,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,n,r),s=o},lw=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?el(this,n,"_pt"):n.dep||(r=1),n=i;return!r},uw=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},ay=function(e){for(var n=e._pt,r,i,s,o;n;){for(r=n._next,i=s;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:o)?n._prev._next=n:s=n,(n._next=i)?i._prev=n:o=n,n=r}e._pt=s},Gt=(function(){function t(n,r,i,s,o,a,c,l,u){this.t=r,this.s=s,this.c=o,this.p=i,this.r=a||sy,this.d=c||this,this.set=l||fh,this.pr=u||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,s){this.mSet=this.mSet||this.set,this.set=uw,this.m=r,this.mt=s,this.tween=i},t})();Kt(oh+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(t){return sh[t]=1});dn.TweenMax=dn.TweenLite=dt;dn.TimelineLite=dn.TimelineMax=Ht;tt=new Ht({sortChildren:!1,defaults:Mo,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});fn.stringFilter=Z2;var xi=[],tc={},fw=[],l1=0,dw=0,ou=function(e){return(tc[e]||fw).map(function(n){return n()})},Gf=function(){var e=Date.now(),n=[];e-l1>2&&(ou("matchMediaInit"),xi.forEach(function(r){var i=r.queries,s=r.conditions,o,a,c,l;for(a in i)o=Jn.matchMedia(i[a]).matches,o&&(c=1),o!==s[a]&&(s[a]=o,l=1);l&&(r.revert(),c&&n.push(r))}),ou("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),l1=e,ou("matchMedia"))},cy=(function(){function t(n,r){this.selector=r&&Vf(r),this.data=[],this._r=[],this.isReverted=!1,this.id=dw++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,s){it(r)&&(s=i,i=r,r=it);var o=this,a=function(){var l=Ye,u=o.selector,f;return l&&l!==o&&l.data.push(o),s&&(o.selector=Vf(s)),Ye=o,f=i.apply(o,arguments),it(f)&&o._r.push(f),Ye=l,o.selector=u,o.isReverted=!1,f};return o.last=a,r===it?a(o,function(c){return o.add(null,c)}):r?o[r]=a:a},e.ignore=function(r){var i=Ye;Ye=null,r(this),Ye=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof dt&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var s=this;if(r?(function(){for(var a=s.getTweens(),c=s.data.length,l;c--;)l=s.data[c],l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),c=s.data.length;c--;)l=s.data[c],l instanceof Ht?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof dt)&&l.revert&&l.revert(r);s._r.forEach(function(u){return u(r,s)}),s.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var o=xi.length;o--;)xi[o].id===this.id&&xi.splice(o,1)},e.revert=function(r){this.kill(r||{})},t})(),hw=(function(){function t(n){this.contexts=[],this.scope=n,Ye&&Ye.data.push(this)}var e=t.prototype;return e.add=function(r,i,s){sr(r)||(r={matches:r});var o=new cy(0,s||this.scope),a=o.conditions={},c,l,u;Ye&&!o.selector&&(o.selector=Ye.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(l in r)l==="all"?u=1:(c=Jn.matchMedia(r[l]),c&&(xi.indexOf(o)<0&&xi.push(o),(a[l]=c.matches)&&(u=1),c.addListener?c.addListener(Gf):c.addEventListener("change",Gf)));return u&&i(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t})(),Tc={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(i){return G2(i)})},timeline:function(e){return new Ht(e)},getTweensOf:function(e,n){return tt.getTweensOf(e,n)},getProperty:function(e,n,r,i){xt(e)&&(e=En(e)[0]);var s=wi(e||{}).get,o=r?M2:$2;return r==="native"&&(r=""),e&&(n?o((tn[n]&&tn[n].get||s)(e,n,r,i)):function(a,c,l){return o((tn[a]&&tn[a].get||s)(e,a,c,l))})},quickSetter:function(e,n,r){if(e=En(e),e.length>1){var i=e.map(function(u){return Zt.quickSetter(u,n,r)}),s=i.length;return function(u){for(var f=s;f--;)i[f](u)}}e=e[0]||{};var o=tn[n],a=wi(e),c=a.harness&&(a.harness.aliases||{})[n]||n,l=o?function(u){var f=new o;rs._pt=0,f.init(e,r?u+r:u,rs,0,[e]),f.render(1,f),rs._pt&&hh(1,rs)}:a.set(e,c);return o?l:function(u){return l(e,c,r?u+r:u,a,1)}},quickTo:function(e,n,r){var i,s=Zt.to(e,hn((i={},i[n]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),o=function(c,l,u){return s.resetTo(n,c,l,u)};return o.tween=s,o},isTweening:function(e){return tt.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Ci(e.ease,Mo.ease)),i1(Mo,e||{})},config:function(e){return i1(fn,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!tn[a]&&!dn[a]&&No(n+" effect requires "+a+" plugin.")}),nu[n]=function(a,c,l){return r(En(a),hn(c||{},s),l)},o&&(Ht.prototype[n]=function(a,c,l){return this.add(nu[n](a,sr(c)?c:(l=c)&&{},this),l)})},registerEase:function(e,n){Ee[e]=Ci(n)},parseEase:function(e,n){return arguments.length?Ci(e,n):Ee},getById:function(e){return tt.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Ht(e),i,s;for(r.smoothChildTiming=Xt(e.smoothChildTiming),tt.remove(r),r._dp=0,r._time=r._tTime=tt._time,i=tt._first;i;)s=i._next,(n||!(!i._dur&&i instanceof dt&&i.vars.onComplete===i._targets[0]))&&Zn(r,i,i._start-i._delay),i=s;return Zn(tt,r,0),r},context:function(e,n){return e?new cy(e,n):Ye},matchMedia:function(e){return new hw(e)},matchMediaRefresh:function(){return xi.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||Gf()},addEventListener:function(e,n){var r=tc[e]||(tc[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=tc[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:H4,wrapYoyo:W4,distribute:j2,random:W2,snap:H2,normalize:j4,getUnit:Dt,clamp:F4,splitColor:Y2,toArray:En,selector:Vf,mapRange:X2,pipe:z4,unitize:q4,interpolate:V4,shuffle:q2},install:R2,effects:nu,ticker:on,updateRoot:Ht.updateRoot,plugins:tn,globalTimeline:tt,core:{PropTween:Gt,globals:P2,Tween:dt,Timeline:Ht,Animation:zo,getCache:wi,_removeLinkedListItem:el,reverting:function(){return Tt},context:function(e){return e&&Ye&&(Ye.data.push(e),e._ctx=Ye),Ye},suppressOverwrites:function(e){return eh=e}}};Kt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Tc[t]=dt[t]});on.add(Ht.updateRoot);rs=Tc.to({},{duration:0});var gw=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},pw=function(e,n){var r=e._targets,i,s,o;for(i in n)for(s=r.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=gw(o,i)),o&&o.modifier&&o.modifier(n[i],e,r[s],i))},au=function(e,n){return{name:e,headless:1,rawVars:1,init:function(i,s,o){o._onInit=function(a){var c,l;if(xt(s)&&(c={},Kt(s,function(u){return c[u]=1}),s=c),n){c={};for(l in s)c[l]=n(s[l]);s=c}pw(a,s)}}}},Zt=Tc.registerPlugin({name:"attr",init:function(e,n,r,i,s){var o,a,c;this.tween=r;for(o in n)c=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(c||0)+"",n[o],i,s,0,0,o),a.op=o,a.b=c,this._props.push(o)},render:function(e,n){for(var r=n._pt;r;)Tt?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},au("roundProps",Xf),au("modifiers"),au("snap",H2))||Tc;dt.version=Ht.version=Zt.version="3.15.0";k2=1;nh()&&Ts();Ee.Power0;Ee.Power1;Ee.Power2;Ee.Power3;Ee.Power4;var CI=Ee.Linear;Ee.Quad;Ee.Cubic;Ee.Quart;Ee.Quint;Ee.Strong;Ee.Elastic;Ee.Back;
vendor: 2,510 bytes, line 1
1Ee.SteppedEase;Ee.Bounce;Ee.Sine;Ee.Expo;Ee.Circ;var u1,Ir,fs,gh,hi,f1,ph,mw=function(){return typeof window!="undefined"},Cr={},ai=180/Math.PI,ds=Math.PI/180,Gi=Math.atan2,d1=1e8,mh=/([A-Z])/g,yw=/(left|right|width|margin|padding|x)/i,vw=/[\s,\(]\S/,er={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Yf=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},bw=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},ww=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},_w=function(e,n){return n.set(n.t,n.p,e===1?n.e:e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},Cw=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},ly=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},uy=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},xw=function(e,n,r){return e.style[n]=r},Sw=function(e,n,r){return e.style.setProperty(n,r)},Ew=function(e,n,r){return e._gsap[n]=r},Aw=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},Tw=function(e,n,r,i,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},Ow=function(e,n,r,i,s){var o=e._gsap;o[n]=r,o.renderTransform(s,o)},nt="transform",Yt=nt+"Origin",kw=function t(e,n){var r=this,i=this.target,s=i.style,o=i._gsap;if(e in Cr&&s){if(this.tfm=this.tfm||{},e!=="transform")e=er[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=gr(i,a)}):this.tfm[e]=o.x?o[e]:gr(i,e),e===Yt&&(this.tfm.zOrigin=o.zOrigin);else return er.transform.split(",").forEach(function(a){return t.call(r,a,n)});if(this.props.indexOf(nt)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Yt,n,"")),e=nt}(s||n)&&this.props.push(e,n,s[e])},fy=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Rw=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?n[e[s]](e[s+2]):n[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(mh,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),s=ph(),(!s||!s.isStart)&&!r[nt]&&(fy(r),i.zOrigin&&r[Yt]&&(r[Yt]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},dy=function(e,n){var r={target:e,props:[],revert:Rw,save:kw};return e._gsap||Zt.core.getCache(e),n&&e.style&&e.nodeType&&n.split(",").forEach(function(i){return r.s
vendor: 1,205 bytes, line 1
1ave(i)}),r},hy,Jf=function(e,n){var r=Ir.createElementNS?Ir.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Ir.createElement(e);return r&&r.style?r:Ir.createElement(e)},ln=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(mh,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,Os(n)||n,1)||""},h1="O,Moz,ms,Ms,Webkit".split(","),Os=function(e,n,r){var i=n||hi,s=i.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(h1[o]+e in s););return o<0?null:(o===3?"ms":o>=0?h1[o]:"")+e},Zf=function(){mw()&&window.document&&(u1=window,Ir=u1.document,fs=Ir.documentElement,hi=Jf("div")||{style:{}},Jf("div"),nt=Os(nt),Yt=nt+"Origin",hi.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",hy=!!Os("perspective"),ph=Zt.core.reverting,gh=1)},g1=function(e){var n=e.ownerSVGElement,r=Jf("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",r.appendChild(i),fs.appendChild(r);try{s=i.getBBox()}catch(o){}return r.removeChild(i),fs.removeChild(r),s},p1=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])}
vendor: 3,552 bytes, line 1
1,gy=function(e){var n,r;try{n=e.getBBox()}catch(i){n=g1(e),r=1}return n&&(n.width||n.height)||r||(n=g1(e)),n&&!n.width&&!n.x&&!n.y?{x:+p1(e,["x","cx","x1"])||0,y:+p1(e,["y","cy","y1"])||0,width:0,height:0}:n},py=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&gy(e))},jr=function(e,n){if(n){var r=e.style,i;n in Cr&&n!==Yt&&(n=nt),r.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(i==="--"?n:n.replace(mh,"-$1").toLowerCase())):r.removeAttribute(n)}},Lr=function(e,n,r,i,s,o){var a=new Gt(e._pt,n,r,0,1,o?uy:ly);return e._pt=a,a.b=i,a.e=s,e._props.push(r),a},m1={deg:1,rad:1,turn:1},Pw={grid:1,flex:1},Hr=function t(e,n,r,i){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=hi.style,c=yw.test(n),l=e.tagName.toLowerCase()==="svg",u=(l?"client":"offset")+(c?"Width":"Height"),f=100,d=i==="px",h=i==="%",g,p,m,y;if(i===o||!s||m1[i]||m1[o])return s;if(o!=="px"&&!d&&(s=t(e,n,r,"px")),y=e.getCTM&&py(e),(h||o==="%")&&(Cr[n]||~n.indexOf("adius")))return g=y?e.getBBox()[c?"width":"height"]:e[u],st(h?s/g*f:s/100*g);if(a[c?"width":"height"]=f+(d?o:i),p=i!=="rem"&&~n.indexOf("adius")||i==="em"&&e.appendChild&&!l?e:e.parentNode,y&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Ir||!p.appendChild)&&(p=Ir.body),m=p._gsap,m&&h&&m.width&&c&&m.time===on.time&&!m.uncache)return st(s/m.width*f);if(h&&(n==="height"||n==="width")){var v=e.style[n];e.style[n]=f+i,g=e[u],v?e.style[n]=v:jr(e,n)}else(h||o==="%")&&!Pw[ln(p,"display")]&&(a.position=ln(e,"position")),p===e&&(a.position="static"),p.appendChild(hi),g=hi[u],p.removeChild(hi),a.position="absolute";return c&&h&&(m=wi(p),m.time=on.time,m.width=p[u]),st(d?g*s/f:g&&s?f/g*s:0)},gr=function(e,n,r,i){var s;return gh||Zf(),n in er&&n!=="transform"&&(n=er[n],~n.indexOf(",")&&(n=n.split(",")[0])),Cr[n]&&n!=="transform"?(s=jo(e,i),s=n!=="transformOrigin"?s[n]:s.svg?s.origin:kc(ln(e,Yt))+" "+s.zOrigin+"px"):(s=e.style[n],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=Oc[n]&&Oc[n](e,n,r)||ln(e,n)||I2(e,n)||(n==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Hr(e,n,s,r)+r:s},Dw=function(e,n,r,i){if(!r||r==="none"){var s=Os(n,e,1),o=s&&ln(e,s,1);o&&o!==r?(n=s,r=o):n==="borderColor"&&(r=ln(e,"borderTopColor"))}var a=new Gt(this._pt,e.style,n,0,1,oy),c=0,l=0,u,f,d,h,g,p,m,y,v,b,w,_;if(a.b=r,a.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=ln(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[n],e.style[n]=i,i=ln(e,n)||i,p?e.style[n]=p:jr(e,n)),u=[r,i],Z2(u),r=u[0],i=u[1],d=r.match(ns)||[],_=i.match(ns)||[],_.length){for(;f=ns.exec(i);)m=f[0],v=i.substring(c,f.index),g?g=(g+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(g=1),m!==(p=d[l++]||"")&&(h=parseFloat(p)||0,w=p.substr((h+"").length),m.charAt(1)==="="&&(m=us(h,m)+w),y=parseFloat(m),b=m.substr((y+"").length),c=ns.lastIndex-b.length,b||(b=b||fn.units[n]||w,c===i.length&&(i+=b,a.e+=b)),w!==b&&(h=Hr(e,n,p,b)||0),a._pt={_next:a._pt,p:v||l===1?v:",",s:h,c:y-h,m:g&&g<4||n==="zIndex"?Math.round:0});a.c=c<i.length?i.substring(c,i.length):""}else a.r=n==="display"&&i==="none"?uy:ly;return O2.test(i)&&(a.e=0),this._pt=a,a},y1={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Iw=function(e){var n=e.split(" "),r=n[0],i=n[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),n[0]=y1[r]||r,n[1]=y1[i]||i,n.join(" ")},Lw=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,i=r.style,s=n.u,o=r._gsap,a,c,l;if(s==="all"||s===!0)i.cssText="",c=1;else for(s=s.split(","),l=s.length;--l>-1;
vendor: 4,475 bytes, line 1
1)a=s[l],Cr[a]&&(c=1,a=a==="transformOrigin"?Yt:nt),jr(r,a);c&&(jr(r,nt),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",jo(r,1),o.uncache=1,fy(i)))}},Oc={clearProps:function(e,n,r,i,s){if(s.data!=="isFromStart"){var o=e._pt=new Gt(e._pt,n,r,0,0,Lw);return o.u=i,o.pr=-10,o.tween=s,e._props.push(r),1}}},qo=[1,0,0,1,0,0],my={},yy=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},v1=function(e){var n=ln(e,nt);return yy(n)?qo:n.substr(7).match(T2).map(st)},yh=function(e,n){var r=e._gsap||wi(e),i=e.style,s=v1(e),o,a,c,l;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,s=[c.a,c.b,c.c,c.d,c.e,c.f],s.join(",")==="1,0,0,1,0,0"?qo:s):(s===qo&&!e.offsetParent&&e!==fs&&!r.svg&&(c=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(l=1,a=e.nextElementSibling,fs.appendChild(e)),s=v1(e),c?i.display=c:jr(e,"display"),l&&(a?o.insertBefore(e,a):o?o.appendChild(e):fs.removeChild(e))),n&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Qf=function(e,n,r,i,s,o){var a=e._gsap,c=s||yh(e,!0),l=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,d=a.yOffset||0,h=c[0],g=c[1],p=c[2],m=c[3],y=c[4],v=c[5],b=n.split(" "),w=parseFloat(b[0])||0,_=parseFloat(b[1])||0,S,x,E,A;r?c!==qo&&(x=h*m-g*p)&&(E=w*(m/x)+_*(-p/x)+(p*v-m*y)/x,A=w*(-g/x)+_*(h/x)-(h*v-g*y)/x,w=E,_=A):(S=gy(e),w=S.x+(~b[0].indexOf("%")?w/100*S.width:w),_=S.y+(~(b[1]||b[0]).indexOf("%")?_/100*S.height:_)),i||i!==!1&&a.smooth?(y=w-l,v=_-u,a.xOffset=f+(y*h+v*p)-y,a.yOffset=d+(y*g+v*m)-v):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=_,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!r,e.style[Yt]="0px 0px",o&&(Lr(o,a,"xOrigin",l,w),Lr(o,a,"yOrigin",u,_),Lr(o,a,"xOffset",f,a.xOffset),Lr(o,a,"yOffset",d,a.yOffset)),e.setAttribute("data-svg-origin",w+" "+_)},jo=function(e,n){var r=e._gsap||new ey(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,o="px",a="deg",c=getComputedStyle(e),l=ln(e,Yt)||"0",u,f,d,h,g,p,m,y,v,b,w,_,S,x,E,A,P,T,I,L,R,k,$,U,j,V,ie,F,z,ce,le,be;return u=f=d=p=m=y=v=b=w=0,h=g=1,r.svg=!!(e.getCTM&&py(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(i[nt]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[nt]!=="none"?c[nt]:"")),i.scale=i.rotate=i.translate="none"),x=yh(e,r.svg),r.svg&&(r.uncache?(j=e.getBBox(),l=r.xOrigin-j.x+"px "+(r.yOrigin-j.y)+"px",U=""):U=!n&&e.getAttribute("data-svg-origin"),Qf(e,U||l,!!U||r.originIsAbsolute,r.smooth!==!1,x)),_=r.xOrigin||0,S=r.yOrigin||0,x!==qo&&(T=x[0],I=x[1],L=x[2],R=x[3],u=k=x[4],f=$=x[5],x.length===6?(h=Math.sqrt(T*T+I*I),g=Math.sqrt(R*R+L*L),p=T||I?Gi(I,T)*ai:0,v=L||R?Gi(L,R)*ai+p:0,v&&(g*=Math.abs(Math.cos(v*ds))),r.svg&&(u-=_-(_*T+S*L),f-=S-(_*I+S*R))):(be=x[6],ce=x[7],ie=x[8],F=x[9],z=x[10],le=x[11],u=x[12],f=x[13],d=x[14],E=Gi(be,z),m=E*ai,E&&(A=Math.cos(-E),P=Math.sin(-E),U=k*A+ie*P,j=$*A+F*P,V=be*A+z*P,ie=k*-P+ie*A,F=$*-P+F*A,z=be*-P+z*A,le=ce*-P+le*A,k=U,$=j,be=V),E=Gi(-L,z),y=E*ai,E&&(A=Math.cos(-E),P=Math.sin(-E),U=T*A-ie*P,j=I*A-F*P,V=L*A-z*P,le=R*P+le*A,T=U,I=j,L=V),E=Gi(I,T),p=E*ai,E&&(A=Math.cos(E),P=Math.sin(E),U=T*A+I*P,j=k*A+$*P,I=I*A-T*P,$=$*A-k*P,T=U,k=j),m&&Math.abs(m)+Math.abs(p)>359.9&&(m=p=0,y=180-y),h=st(Math.sqrt(T*T+I*I+L*L)),g=st(Math.sqrt($*$+be*be)),E=Gi(k,$),v=Math.abs(E)>2e-4?E*ai:0,w=le?1/(le<0?-le:le):0),r.svg&&(U=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!yy(ln(e,nt)),U&&e.setAttribute("transform",U))),Math.abs(v)>90&&Math.abs(v)<270&&(s?(h*=-1,v+=p<=0?180:-180,p+=p<=0?180:-180):(g*=-1,v+=v<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=f-((r.yPercent=f&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=d+o,r.scaleX=st(h),r.scaleY=st(g),r.rotation=st(p)+a,r.rotationX=st(m)+a,r.rotationY=st(y)+a,r.skewX=v+a,r.skewY=b+a,r.transformPerspective=w+o,(r.zOrigin=parseFloat(l.split(" ")[2])||!n&&r.zOrigin||0)&&(i[Yt]=kc(l)),r.xOffset=r.yOffset=0,r.force3D=fn.force3D,r.renderTransform=r.svg?Mw:hy?vy:$w,r.uncache=0,r},kc=function(e){return(e=e.split(" "))[0]+" "+e[1]},cu=function(e,n,r){var i=Dt(n);return st(parseFloat(n)+parseFloat(Hr(e,"x",r+"px",i)))+i}
vendor: 5,901 bytes, line 1
1,$w=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,vy(e,n)},Qr="0deg",to="0px",ei=") ",vy=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,c=r.z,l=r.rotation,u=r.rotationY,f=r.rotationX,d=r.skewX,h=r.skewY,g=r.scaleX,p=r.scaleY,m=r.transformPerspective,y=r.force3D,v=r.target,b=r.zOrigin,w="",_=y==="auto"&&e&&e!==1||y===!0;if(b&&(f!==Qr||u!==Qr)){var S=parseFloat(u)*ds,x=Math.sin(S),E=Math.cos(S),A;S=parseFloat(f)*ds,A=Math.cos(S),o=cu(v,o,x*A*-b),a=cu(v,a,-Math.sin(S)*-b),c=cu(v,c,E*A*-b+b)}m!==to&&(w+="perspective("+m+ei),(i||s)&&(w+="translate("+i+"%, "+s+"%) "),(_||o!==to||a!==to||c!==to)&&(w+=c!==to||_?"translate3d("+o+", "+a+", "+c+") ":"translate("+o+", "+a+ei),l!==Qr&&(w+="rotate("+l+ei),u!==Qr&&(w+="rotateY("+u+ei),f!==Qr&&(w+="rotateX("+f+ei),(d!==Qr||h!==Qr)&&(w+="skew("+d+", "+h+ei),(g!==1||p!==1)&&(w+="scale("+g+", "+p+ei),v.style[nt]=w||"translate(0, 0)"},Mw=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,c=r.rotation,l=r.skewX,u=r.skewY,f=r.scaleX,d=r.scaleY,h=r.target,g=r.xOrigin,p=r.yOrigin,m=r.xOffset,y=r.yOffset,v=r.forceCSS,b=parseFloat(o),w=parseFloat(a),_,S,x,E,A;c=parseFloat(c),l=parseFloat(l),u=parseFloat(u),u&&(u=parseFloat(u),l+=u,c+=u),c||l?(c*=ds,l*=ds,_=Math.cos(c)*f,S=Math.sin(c)*f,x=Math.sin(c-l)*-d,E=Math.cos(c-l)*d,l&&(u*=ds,A=Math.tan(l-u),A=Math.sqrt(1+A*A),x*=A,E*=A,u&&(A=Math.tan(u),A=Math.sqrt(1+A*A),_*=A,S*=A)),_=st(_),S=st(S),x=st(x),E=st(E)):(_=f,E=d,S=x=0),(b&&!~(o+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(b=Hr(h,"x",o,"px"),w=Hr(h,"y",a,"px")),(g||p||m||y)&&(b=st(b+g-(g*_+p*x)+m),w=st(w+p-(g*S+p*E)+y)),(i||s)&&(A=h.getBBox(),b=st(b+i/100*A.width),w=st(w+s/100*A.height)),A="matrix("+_+","+S+","+x+","+E+","+b+","+w+")",h.setAttribute("transform",A),v&&(h.style[nt]=A)},Nw=function(e,n,r,i,s){var o=360,a=xt(s),c=parseFloat(s)*(a&&~s.indexOf("rad")?ai:1),l=c-i,u=i+l+"deg",f,d;return a&&(f=s.split("_")[1],f==="short"&&(l%=o,l!==l%(o/2)&&(l+=l<0?o:-o)),f==="cw"&&l<0?l=(l+o*d1)%o-~~(l/o)*o:f==="ccw"&&l>0&&(l=(l-o*d1)%o-~~(l/o)*o)),e._pt=d=new Gt(e._pt,n,r,i,l,bw),d.e=u,d.u="deg",e._props.push(r),d},b1=function(e,n){for(var r in n)e[r]=n[r];return e},Bw=function(e,n,r){var i=b1({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,c,l,u,f,d,h,g;i.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),o[nt]=n,a=jo(r,1),jr(r,nt),r.setAttribute("transform",l)):(l=getComputedStyle(r)[nt],o[nt]=n,a=jo(r,1),o[nt]=l);for(c in Cr)l=i[c],u=a[c],l!==u&&s.indexOf(c)<0&&(h=Dt(l),g=Dt(u),f=h!==g?Hr(r,c,l,g):parseFloat(l),d=parseFloat(u),e._pt=new Gt(e._pt,a,c,f,d-f,Yf),e._pt.u=g||0,e._props.push(c));b1(a,i)};Kt("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",s="Left",o=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map(function(a){return e<2?t+a:"border"+a+t});Oc[e>1?"border"+t:t]=function(a,c,l,u,f){var d,h;if(arguments.length<4)return d=o.map(function(g){return gr(a,g,l)}),h=d.join(" "),h.split(d[0]).length===5?d[0]:h;d=(u+"").split(" "),h={},o.forEach(function(g,p){return h[g]=d[p]=d[p]||d[(p-1)/2|0]}),a.init(c,h,f)}});var by={name:"css",register:Zf,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,s){var o=this._props,a=e.style,c=r.vars.startAt,l,u,f,d,h,g,p,m,y,v,b,w,_,S,x,E,A;gh||Zf(),this.styles=this.styles||dy(e),E=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(tn[p]&&ty(p,n,r,i,e,s)))){if(h=typeof u,g=Oc[p],h==="function"&&(u=u.call(r,i,e,s),h=typeof u),h==="string"&&~u.indexOf("random(")&&(u=Fo(u)),g)g(this,e,p,u,r)&&(x=1);else if(p.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",Br.lastIndex=0,Br.test(l)||(m=Dt(l),y=Dt(u),y?m!==y&&(l=Hr(e,p,l,y)+y):m&&(u+=m)),this.add(a,"setProperty",l,u,i,s,0,0,p),o.push(p),E.push(p,0,a[p]);else if(h!=="undefined"){if(c&&p in c?(l=typeof c[p]=="function"?c[p].call(r,i,e,s):c[p],xt(l)&&~l.indexOf("random(")&&(l=Fo(l)),Dt(l+"")||l==="auto"||(l+=fn.units[p]||Dt(gr(e,p))||""),(l+"").charAt(1)==="="&&(l=gr(e,p))):l=gr(e,p),d=parseFloat(l),v=h==="string"&&u.charAt(1)==="="&&u.substr(0,2),v&&(u=u.substr(2)),f=parseFloat(u),p in er&&(p==="autoAlpha"&&(d===1&&gr(e,"visibility")==="hidden"&&f&&(d=0),E.push("visibility",0,a.visibility),Lr(this,a,"visibility",d?"inherit":"hidden",f?"inherit":"hidden",!f)),p!=="scale"&&p!=="transform"&&(p=er[p],~p.indexOf(",")&&(p=p.split(",")[0]))),b=p in Cr,b){if(this.styles.save(p),A=u,h==="string"&&u.substring(0,6)==="var(--"){if(u=ln(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var P=e.style.perspective;e.style.perspective=u,u=ln(e,"perspective"),P?e.style.perspective=P:jr(e,"perspective")}f=parseFloat(u)}if(w||(_=e._gsap,_.renderTransform&&!n.parseTransform||jo(e,n.parseTransform),S=n.smoothOrigin!==!1&&_.smooth,w=this._pt=new Gt(this._pt,a,nt,0,1,_.renderTransform,_,0,-1),w.dep=1),p==="scale")this._pt=new Gt(this._pt,_,"scaleY",_.scaleY,(v?us(_.scaleY,v+f):f)-_.scaleY||0,Yf),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){E.push(Yt,0,a[Yt]),u=Iw(u),_.svg?Qf(e,u,0,S,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==_.zOrigin&&Lr(this,_,"zOrigin",_.zOrigin,y),Lr(this,a,p,kc(l),kc(u)));continue}else if(p==="svgOrigin"){Qf(e,u,1,S,0,this);continue}else if(p in my){Nw(this,_,p,d,v?us(d,v+u):u);continue}else if(p==="smoothOrigin"){Lr(this,_,"smooth",_.smooth,u);continue}else if(p==="force3D"){_[p]=u;continue}else if(p==="transform"){Bw(this,u,e);continue}}else p in a||(p=Os(p)||p);if(b||(f||f===0)&&(d||d===0)&&!vw.test(u)&&p in a)m=(l+"").substr((d+"").length),f||(f=0),y=Dt(u)||(p in fn.units?fn.units[p]:m),m!==y&&(d=Hr(e,p,l,y)),this._pt=new Gt(this._pt,b?_:a,p,d,(v?us(d,v+f):f)-d,!b&&(y==="px"||p==="zIndex")&&n.autoRound!==!1?Cw:Yf),this._pt.u=y||0,b&&A!==u?(this._pt.b=l,this._pt.e=A,this._pt.r=_w):m!==y&&y!=="%"&&(this._pt.b=l,this._pt.r=ww);else if(p in a)Dw.call(this,e,p,l,v?v+u:u);
1else if(p in e)this.add(e,p,l||e[p],v?v+u:u,i,s);else if(p!=="parseTransform"){ih(p,u);continue}b||(p in a?E.push(p,0,a[p]):typeof e[p]=="function"?E.push(p,2,e[p]()):E.push(p,1,l||e[p])),o.push(p)}}x&&ay(this)},render:function(e,n){if(n.tween._time||!ph())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:gr,aliases:er,getSetter:function(e,n,r){var i=er[n];return i&&i.indexOf(",")<0&&(n=i),n in Cr&&n!==Yt&&(e._gsap.x||gr(e,"x"))?r&&f1===r?n==="scale"?Aw:Ew:(f1=r||{})&&(n==="scale"?Tw:Ow):e.style&&!th(e.style[n])?xw:~n.indexOf("-")?Sw:dh(e,n)},core:{_removeProperty:jr,_getMatrix:yh}};Zt.utils.checkPrefix=Os;Zt.core.getStyleSaver=dy;(function(t,e,n,r){var i=Kt(t+","+e+","+n,function(s){Cr[s]=1});Kt(e,function(s){fn.units[s]="deg",my[s]=1}),er[i[13]]=t+","+e,Kt(r,function(s){var o=s.split(":");er[o[1]]=i[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Kt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){fn.units[t]="px"});Zt.registerPlugin(by);var gi=Zt.registerPlugin(by)||Zt;gi.core.Tween;const lu=()=>{console.warn("ShallowRouteContext not initialized")},wy=Ze({minimize:lu,close:lu,maximize:lu}),Fw=wy.Provider,_y=()=>Ie(wy),Cy=Ze(),Uw=Cy.Provider,xy=()=>Ie(Cy);var Us=1e9,zw={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},jt,Je=!0,On="[DecimalError] ",Si=On+"Invalid argument: ",vh=On+"Exponent out of range: ",zs=Math.floor,ci=Math.pow,qw=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,an,wt=1e7,Ge=7,Sy=9007199254740991,Rc=zs(Sy/Ge),se={};se.absoluteValue=se.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t};se.comparedTo=se.cmp=function(t){var e,n,r,i,s=this;if(t=new s.constructor(t),s.s!==t.s)return s.s||-t.s;if(s.e!==t.e)return s.e>t.e^s.s<0?1:-1;for(r=s.d.length,i=t.d.length,e=0,n=r<i?r:i;e<n;++e)if(s.d[e]!==t.d[e])return s.d[e]>t.d[e]^s.s<0?1:-1;return r===i?0:r>i^s.s<0?1:-1};se.decimalPlaces=se.dp=function(){var t=this,e=t.d.length-1,n=(e-t.e)*Ge;if(e=t.d[e],e)for(;e%10==0;e/=10)n--;return n<0?0:n};se.dividedBy=se.div=function(t){return br(this,new this.constructor(t))};se.dividedToIntegerBy=se.idiv=function(t){var e=this,n=e.constructor;return He(br(e,new n(t),0,1),n.precision)};se.equals=se.eq=function(t){return!this.cmp(t)};se.exponent=function(){return gt(this)};se.greaterThan=se.gt=function(t){return this.cmp(t)>0};se.greaterThanOrEqualTo=se.gte=function(t){return this.cmp(t)>=0};se.isInteger=se.isint=function(){return this.e>this.d.length-2};se.isNegative=se.isneg=function(){return this.s<0};se.isPositive=se.ispos=function(){return this.s>0};se.isZero=function(){return this.s===0};se.lessThan=se.lt=function(t){return this.cmp(t)<0};se.lessThanOrEqualTo=se.lte=function(t){return this.cmp(t)<1};se.logarithm=se.log=function(t){var e,n=this,r=n.constructor,i=r.precision,s=i+5;if(t===void 0)t=new r(10);else if(t=new r(t),t.s<1||t.eq(an))throw Error(On+"NaN");if(n.s<1)throw Error(On+(n.s?"NaN":"-Infinity"));return n.eq(an)?new r(0):(Je=!1,e=br(Ho(n,s),Ho(t,s),s),Je=!0,He(e,i))};se.minus=se.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?Ty(e,t):Ey(e,(t.s=-t.s,t))};se.modulo=se.mod=function(t){var e,n=this,r=n.constructor,i=r.precision;if(t=new r(t),!t.s)throw Error(On+"NaN");return n.s?(Je=!1,e=br(n,t,0,1).times(t),Je=!0,n.minus(e)):He(new r(n),i)};se.naturalExponential=se.exp=function(){return Ay(this)};se.naturalLogarithm=se.ln=function(){return Ho(this)};se.negated=se.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t};se.plus=se.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?Ey(e,t):Ty(e,(t.s=-t.s,t))};se.precision=se.sd=function(t){var e,n,r,i=this;if(t!==void 0&&t!==!!t&&t!==1&&t!==0)throw Error(Si+t);if(e=gt(i)+1,r=i.d.length-1,n=r*Ge+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return t&&e>n?e:n};se.squareRoot=se.sqrt=function(){var t,e,n,r,i,s,o,a=this,c=a.constructor;if(a.s<1){if(!a.s)return new c(0);throw Error(On+"NaN")}for(t=gt(a),Je=!1,i=Math.sqrt(+a),i==0||i==1/0?(e=tr(a.d),(e.length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=zs((t+1)/2)-(t<0||t%2),i==1/0?e="5e"+t:(e=i.toExponential(),e=e.slice(0,e.indexOf("e")+1)+t),r=new c(e)):r=new c(i.toString()),n=c.precision,i=o=n+3;;)if(s=r,r=s.plus(br(a,s,o+2)).times(.5),tr(s.d).slice(0,o)===(e=tr(r.d)).slice(0,o)){if
vendor: 8,980 bytes, line 1
1(e=e.slice(o-3,o+1),i==o&&e=="4999"){if(He(s,n+1,0),s.times(s).eq(a)){r=s;break}}else if(e!="9999")break;o+=4}return Je=!0,He(r,n)};se.times=se.mul=function(t){var e,n,r,i,s,o,a,c,l,u=this,f=u.constructor,d=u.d,h=(t=new f(t)).d;if(!u.s||!t.s)return new f(0);for(t.s*=u.s,n=u.e+t.e,c=d.length,l=h.length,c<l&&(s=d,d=h,h=s,o=c,c=l,l=o),s=[],o=c+l,r=o;r--;)s.push(0);for(r=l;--r>=0;){for(e=0,i=c+r;i>r;)a=s[i]+h[r]*d[i-r-1]+e,s[i--]=a%wt|0,e=a/wt|0;s[i]=(s[i]+e)%wt|0}for(;!s[--o];)s.pop();return e?++n:s.shift(),t.d=s,t.e=n,Je?He(t,f.precision):t};se.toDecimalPlaces=se.todp=function(t,e){var n=this,r=n.constructor;return n=new r(n),t===void 0?n:(or(t,0,Us),e===void 0?e=r.rounding:or(e,0,8),He(n,t+gt(n)+1,e))};se.toExponential=function(t,e){var n,r=this,i=r.constructor;return t===void 0?n=ki(r,!0):(or(t,0,Us),e===void 0?e=i.rounding:or(e,0,8),r=He(new i(r),t+1,e),n=ki(r,!0,t+1)),n};se.toFixed=function(t,e){var n,r,i=this,s=i.constructor;return t===void 0?ki(i):(or(t,0,Us),e===void 0?e=s.rounding:or(e,0,8),r=He(new s(i),t+gt(i)+1,e),n=ki(r.abs(),!1,t+gt(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)};se.toInteger=se.toint=function(){var t=this,e=t.constructor;return He(new e(t),gt(t)+1,e.rounding)};se.toNumber=function(){return+this};se.toPower=se.pow=function(t){var e,n,r,i,s,o,a=this,c=a.constructor,l=12,u=+(t=new c(t));if(!t.s)return new c(an);if(a=new c(a),!a.s){if(t.s<1)throw Error(On+"Infinity");return a}if(a.eq(an))return a;if(r=c.precision,t.eq(an))return He(a,r);if(e=t.e,n=t.d.length-1,o=e>=n,s=a.s,o){if((n=u<0?-u:u)<=Sy){for(i=new c(an),e=Math.ceil(r/Ge+4),Je=!1;n%2&&(i=i.times(a),_1(i.d,e)),n=zs(n/2),n!==0;)a=a.times(a),_1(a.d,e);return Je=!0,t.s<0?new c(an).div(i):He(i,r)}}else if(s<0)throw Error(On+"NaN");return s=s<0&&t.d[Math.max(e,n)]&1?-1:1,a.s=1,Je=!1,i=t.times(Ho(a,r+l)),Je=!0,i=Ay(i),i.s=s,i};se.toPrecision=function(t,e){var n,r,i=this,s=i.constructor;return t===void 0?(n=gt(i),r=ki(i,n<=s.toExpNeg||n>=s.toExpPos)):(or(t,1,Us),e===void 0?e=s.rounding:or(e,0,8),i=He(new s(i),t,e),n=gt(i),r=ki(i,t<=n||n<=s.toExpNeg,t)),r};se.toSignificantDigits=se.tosd=function(t,e){var n=this,r=n.constructor;return t===void 0?(t=r.precision,e=r.rounding):(or(t,1,Us),e===void 0?e=r.rounding:or(e,0,8)),He(new r(n),t,e)};se.toString=se.valueOf=se.val=se.toJSON=se[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=gt(t),n=t.constructor;return ki(t,e<=n.toExpNeg||e>=n.toExpPos)};function Ey(t,e){var n,r,i,s,o,a,c,l,u=t.constructor,f=u.precision;if(!t.s||!e.s)return e.s||(e=new u(t)),Je?He(e,f):e;if(c=t.d,l=e.d,o=t.e,i=e.e,c=c.slice(),s=o-i,s){for(s<0?(r=c,s=-s,a=l.length):(r=l,i=o,a=c.length),o=Math.ceil(f/Ge),a=o>a?o+1:a+1,s>a&&(s=a,r.length=1),r.reverse();s--;)r.push(0);r.reverse()}for(a=c.length,s=l.length,a-s<0&&(s=a,r=l,l=c,c=r),n=0;s;)n=(c[--s]=c[s]+l[s]+n)/wt|0,c[s]%=wt;for(n&&(c.unshift(n),++i),a=c.length;c[--a]==0;)c.pop();return e.d=c,e.e=i,Je?He(e,f):e}function or(t,e,n){if(t!==~~t||t<e||t>n)throw Error(Si+t)}function tr(t){var e,n,r,i=t.length-1,s="",o=t[0];if(i>0){for(s+=o,e=1;e<i;e++)r=t[e]+"",n=Ge-r.length,n&&(s+=kr(n)),s+=r;o=t[e],r=o+"",n=Ge-r.length,n&&(s+=kr(n))}else if(o===0)return"0";for(;o%10===0;)o/=10;return s+o}var br=(function(){function t(r,i){var s,o=0,a=r.length;for(r=r.slice();a--;)s=r[a]*i+o,r[a]=s%wt|0,o=s/wt|0;return o&&r.unshift(o),r}function e(r,i,s,o){var a,c;if(s!=o)c=s>o?1:-1;else for(a=c=0;a<s;a++)if(r[a]!=i[a]){c=r[a]>i[a]?1:-1;break}return c}function n(r,i,s){for(var o=0;s--;)r[s]-=o,o=r[s]<i[s]?1:0,r[s]=o*wt+r[s]-i[s];for(;!r[0]&&r.length>1;)r.shift()}return function(r,i,s,o){var a,c,l,u,f,d,h,g,p,m,y,v,b,w,_,S,x,E,A=r.constructor,P=r.s==i.s?1:-1,T=r.d,I=i.d;if(!r.s)return new A(r);if(!i.s)throw Error(On+"Division by zero");for(c=r.e-i.e,x=I.length,_=T.length,h=new A(P),g=h.d=[],l=0;I[l]==(T[l]||0);)++l;if(I[l]>(T[l]||0)&&--c,s==null?v=s=A.precision:o?v=s+(gt(r)-gt(i))+1:v=s,v<0)return new A(0);if(v=v/Ge+2|0,l=0,x==1)for(u=0,I=I[0],v++;(l<_||u)&&v--;l++)b=u*wt+(T[l]||0),g[l]=b/I|0,u=b%I|0;else{for(u=wt/(I[0]+1)|0,u>1&&(I=t(I,u),T=t(T,u),x=I.length,_=T.length),w=x,p=T.slice(0,x),m=p.length;m<x;)p[m++]=0;E=I.slice(),E.unshift(0),S=I[0],I[1]>=wt/2&&++S;do u=0,a=e(I,p,x,m),a<0?(y=p[0],x!=m&&(y=y*wt+(p[1]||0)),u=y/S|0,u>1?(u>=wt&&(u=wt-1),f=t(I,u),d=f.length,m=p.length,a=e(f,p,d,m),a==1&&(u--,n(f,x<d?E:I,d))):(u==0&&(a=u=1),f=I.slice()),d=f.length,d<m&&f.unshift(0),n(p,f,m),a==-1&&(m=p.length,a=e(I,p,x,m),a<1&&(u++,n(p,x<m?E:I,m))),m=p.length):a===0&&(u++,p=[0]),g[l++]=u,a&&p[0]?p[m++]=T[w]||0:(p=[T[w]],m=1);while((w++<_||p[0]!==void 0)&&v--)}return g[0]||g.shift(),h.e=c,He(h,o?s+gt(h)+1:s)}})();function Ay(t,e){var n,r,i,s,o,a,c=0,l=0,u=t.constructor,f=u.precision;if(gt(t)>16)throw Error(vh+gt(t));if(!t.s)return new u(an);for(Je=!1,a=f,o=new u(.03125);t.abs().gte(.1);)t=t.times(o),l+=5;for(r=Math.log(ci(2,l))/Math.LN10*2+5|0,a+=r,n=i=s=new u(an),u.precision=a;;){if(i=He(i.times(t),a),n=n.times(++c),o=s.plus(br(i,n,a)),tr(o.d).slice(0,a)===tr(s.d).slice(0,a)){for(;l--;)s=He(s.times(s),a);return u.precision=f,e==null?(Je=!0,He(s,f)):s}s=o}}function gt(t){for(var e=t.e*Ge,n=t.d[0];n>=10;n/=10)e++;return e}function uu(t,e,n){if(e>t.LN10.sd())throw Je=!0,n&&(t.precision=n),Error(On+"LN10 precision limit exceeded");return He(new t(t.LN10),e)}function kr(t){for(var e="";t--;)e+="0";return e}function Ho(t,e){var n,r,i,s,o,a,c,l,u,f=1,d=10,h=t,g=h.d,p=h.constructor,m=p.precision;if(h.s<1)throw Error(On+(h.s?"NaN":"-Infinity"));if(h.eq(an))return new p(0);if(e==null?(Je=!1,l=m):l=e,h.eq(10))return e==null&&(Je=!0),uu(p,l);if(l+=d,p.precision=l,n=tr(g),r=n.charAt(0),s=gt(h),Math.abs(s)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)h=h.times(t),n=tr(h.d),r=n.charAt(0),f++;s=gt(h),r>1?(h=new p("0."+n),s++):h=new p(r+"."+n.slice(1))}else return c=uu(p,l+2,m).times(s+""),h=Ho(new p(r+"."+n.slice(1)),l-d).plus(c),p.precision=m,e==null?(Je=!0,He(h,m)):h;for(a=o=h=br(h.minus(an),h.plus(an),l),u=He(h.times(h),l),i=3;;){if(o=He(o.times(u),l),c=a.plus(br(o,new p(i),l)),tr(c.d).slice(0,l)===tr(a.d).slice(0,l))return a=a.times(2),s!==0&&(a=a.plus(uu(p,l+2,m).times(s+""))),a=br(a,new p(f),l),p.precision=m,e==null?(Je=!0,He(a,m)):a;a=c,i+=2}}function w1(t,e){var n,r,i;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charCodeAt(r)===48;)++r;for(i=e.length;e.charCodeAt(i-1)===48;)--i;if(e=e.slice(r,i),e){if(i-=r,n=n-r-1,t.e=zs(n/Ge),t.d=[],r=(n+1)%Ge,n<0&&(r+=Ge),r<i){for(r&&t.d.push(+e.slice(0,r)),i-=Ge;r<i;)t.d.push(+e.slice(r,r+=Ge));e=e.slice(r),r=Ge-e.length}else r-=i;for(;r--;)e+="0";if(t.d.push(+e),Je&&(t.e>Rc||t.e<-Rc))throw Error(vh+n)}else t.s=0,t.e=0,t.d=[0];return t}function He(t,e,n){var r,i,s,o,a,c,l,u,f=t.d;for(o=1,s=f[0];s>=10;s/=10)o++;if(r=e-o,r<0)r+=Ge,i=e,l=f[u=0];else{if(u=Math.ceil((r+1)/Ge),s=f.length,u>=s)return t;for(l=s=f[u],o=1;s>=10;s/=10)o++;r%=Ge,i=r-Ge+o}if(n!==void 0&&(s=ci(10,o-i-1),a=l/s%10|0,c=e<0||f[u+1]!==void 0||l%s,c=n<4?(a||c)&&(n==0||n==(t.s<0?3:2)):a>5||a==5&&(n==4||c||n==6&&(r>0?i>0?l/ci(10,o-i):0:f[u-1])%10&1||n==(t.s<0?8:7))),e<1||!f[0])return c?(s=gt(t),f.length=1,e=e-s-1,f[0]=ci(10,(Ge-e%Ge)%Ge),t.e=zs(-e/Ge)||0):(f.length=1,f[0]=t.e=t.s=0),t;if(r==0?(f.length=u,s=1,u--):(f.length=u+1,s=ci(10,Ge-r),f[u]=i>0?(l/ci(10,o-i)%ci(10,i)|0)*s:0),c)for(;;)if(u==0){(f[0]+=s)==wt&&(f[0]=1,++t.e);break}else{if(f[u]+=s,f[u]!=wt)break;f[u--]=0,s=1}for(r=f.length;f[--r]===0;)f.pop();if(Je&&(t.e>Rc||t.e<-Rc))throw Error(vh+gt(t));return t}function Ty(t,e){var n,r,i,s,o,a,c,l,u,f,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),Je?He(e,h):e;if(c=t.d,f=e.d,r=e.e,l=t.e,c=c.slice(),o=l-r,o){for(u=o<0,u?(n=c,o=-o,a=f.length):(n=f,r=l,a=c.length),i=Math.max(Math.ceil(h/Ge),a)+2,o>i&&(o=i,n.length=1),n.reverse(),i=o;i--;)n.push(0);n.reverse()}else{for(i=c.length,a=f.length,u=i<a,u&&(a=i),i=0;i<a;i++)if(c[i]!=f[i]){u=c[i]<f[i];break}o=0}for(u&&(n=c,c=f,f=n,e.s=-e.s),a=c.length,i=f.length-a;i>0;--i)c[a++]=0;for(i=f.length;i>o;){if(c[--i]<f[i]){for(s=i;s&&c[--s]===0;)c[s]=wt-1;--c[s],c[i]+=wt}c[i]-=f[i]}for(;c[--a]===0;)c.pop();for(;c[0]===0;c.shift())--r;return c[0]?(e.d=c,e.e=r,Je?He(e,h):e):new d(0)}function ki(t,e,n){var r,i=gt(t),s=tr(t.d),o=s.length;return e?(n&&(r=n-o)>0?s=s.charAt(0)+"."+s.slice(1)+kr(r):o>1&&(s=s.charAt(0)+"."+s.slice(1)),s=s+(i<0?"e":"e+")+i):i<0?(s="0."+kr(-i-1)+s,n&&(r=n-o)>0&&(s+=kr(r))):i>=o?(s+=kr(i+1-o),n&&(r=n-i-1)>0&&(s=s+"."+kr(r))):((r=i+1)<o&&(s=s.slice(0,r)+"."+s.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(s+="."),s+=kr(r))),t.s<0?"-"+s:s}function _1(t,e){if(t.length>e)return t.length=e,!0}function Oy(t){var e,n,r;function i(s){var o=this;if(!(o instanceof i))return new i(s);if(o.constructor=i,s instanceof i){o.s=s.s,o.e=s.e,o.d=(s=s.d)?s.slice():s;return}if(typeof s=="number"){if(s*0!==0)throw Error(Si+s);if(s>0)o.s=1;else if(s<0)s=-s,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(s===~~s&&s<1e7){o.e=0,o.d=[s];return}return w1(o,s.toString())}
1else if(typeof s!="string")throw Error(Si+s);if(s.charCodeAt(0)===45?(s=s.slice(1),o.s=-1):o.s=1,qw.test(s))w1(o,s);else throw Error(Si+s)}if(i.prototype=se,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=Oy,i.config=i.set=jw,t===void 0&&(t={}),t)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],e=0;e<r.length;)t.hasOwnProperty(n=r[e++])||(t[n]=this[n]);return i.config(t),i}function jw(t){if(!t||typeof t!="object")throw Error(On+"Object expected");var e,n,r,i=["precision",1,Us,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if((r=t[n=i[e]])!==void 0)if(zs(r)===r&&r>=i[e+1]&&r<=i[e+2])this[n]=r;else throw Error(Si+n+": "+r);if((r=t[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(Si+n+": "+r);return this}var jt=Oy(zw);an=new jt(1);const Fe=jt;function J(...t){return t.filter(Boolean).join(" ")}const bh=(t,e)=>{let n;const r=()=>clearTimeout(n);return Ve()&&K(r),Object.assign((...s)=>{n!==void 0&&r(),n=setTimeout(()=>t(...s),e)},{clear:r})},rl=(t,e)=>{let n=!1,r,i;const s=(...a)=>{i=a,!n&&(n=!0,r=setTimeout(()=>{t(...i),n=!1},e))},o=()=>{clearTimeout(r),n=!1};return Ve()&&K(o),Object.assign(s,{clear:o})};function ky(t,e,n){let r=!1;const i=t(()=>r=!1,n),s=(...a)=>{r||e(...a),r=!0,i()},o=()=>{r=!1,i.clear()};return Ve()&&K(o),Object.assign(s,{clear:o})}function Hw(t,e,n){let r;(function(c){c[c.Ready=0]="Ready",c[c.Leading=1]="Leading",c[c.Trailing=2]="Trailing"})(r||(r={}));let i=r.Ready;const s=t(c=>{i===r.Trailing&&e(...c),i=r.Ready},n),o=(...c)=>{i!==r.Trailing&&(i===r.Ready&&e(...c),i+=1),s(c)},a=()=>{i=r.Ready,s.clear()};return Ve()&&K(a),Object.assign(o,{clear:a})}function wh(t){let e=0,n=!1;const[r,i]=B(void 0,{equals:!1}),s=t(()=>{n=!0,i()});return()=>(n||(s(),r()),n?(n=!!e,!0):(ir()&&(e++,K(()=>e--)),!1))}const C1=430,Ww=640,Aa=700,[re,_h]=Se(()=>{function t(){const s=document.documentElement.clientWidth,o=s<Ww?s:C1;return{clientWidth:s,remScale:o/C1}}const e=()=>{if(window.screen.width<Aa)return!0;const[s,o]=[document.documentElement.clientWidth,document.documentElement.clientHeight];return s<=1e3&&o<=1e3&&(s<=Aa||o<=Aa)||s<window.screen.width/2&&s<Aa},n=()=>{if(Rr)return!0;try{if(sessionStorage.getItem($d)==="win")return e()}catch(s){}return!1},[r,i]=zt(de(q({mode:{dev:!1,test:!1,stage:!1,prod:!1},license:{host:"bc.game",site:"BC",mascot:"COCO",bcl:"BCL",platformCoin:"BCD",freeCoin:"JB"},email:{support:"[email protected]",feedback:"[email protected]",security:"[email protected]",business:"[email protected]",recovery:"[email protected]"},isLowEndDevice:Eh(),mobile:vi?n():e()},t()),{imgHost:"",host:"bc.game",GITHUB:"bcgame-project",ISHUMEI_KEY:"",WALLET_CONNECT_PROJECT_ID:"",GOOGLE_KEY:"",initSearchParams:new URLSearchParams(location.search),initHashParams:location.hash,timeDiff:0,get serverTime(){return new Date(Date.now()-r.timeDiff)},langs:{},localCurrencyConfig:[],inActive:!1,brandColor:"",app:{isPWA:!1,isAPP:!1,isTgWebapp:vi,tgPlatform:Sf},config:{betby_brand_id:"",live_sport_banner:!1,world_cup_banner:!1,betby_config:{sports_icon_path:"",country_code_path:"",event_img_path:"",event_additional_img_path_long:""},bti_config:{primary:{light:"",dark:""},fallback:{light:"",dark:""}},bz_brand_id:""}}));return globalThis.addEventListener("resize",rl(()=>{at(()=>{i(t()),i({mobile:vi?n():e()})})},100)),[r,i]});function Vw(t,e){return re.mobile?t:e}const Xw=new Set(["ar","fa","ur","he"]);function Kw(t){const e=t.split("-")[0].toLowerCase();return Xw.has(e)}const[Gw,Yw]=Se(()=>B(typeof document!="undefined"&&document.documentElement.dir==="rtl")),Ch=Math.ceil(innerWidth*.07),Wo=navigator.webdriver,il=Object.prototype.hasOwnProperty.call(window,"ontouchstart");function Jw(t,e){return{x:t.x<e.x+e.width&&t.x+t.width>e.x,y:t.y<e.y+e.height&&t.y+t.height>e.y}}const ua=[.36,.66,.04,1];function Ry(){return Gw()}function Py(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}function Dy(){return/android/i.test(navigator.userAgent)}const Iy=(t=0)=>new Promise(e=>setTimeout(e,t)),fa=Wr((t,e,n)=>new Promise((r,i)=>{const s=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");o.async=!0,o.src=t,n&&(o.id=n),o.charset="utf8",s.appendChild(o),o.onload=()=>{const a=e?window[e]:null;s.removeChild(o),r(a)},o.onerror=()=>
1{s.removeChild(o),fa.cache.delete(`${t}:${e}`),i(new Error(`Load Script Error: ${t}`))}})),Ly=(t,e)=>!t||!e?void 0:(r=>Array.isArray(r)&&r.length===2)(t)?t[0](t[1],e):t==null?void 0:t(e);function $y(t){return e=>{for(const n of t)Ly(n,e)}}const xh=(t,e)=>{const n=s=>{const a=Object.entries(e).map(([c,l])=>[c,r(l,s[c])]);return Object.fromEntries(a)},r=(s,o)=>!o||!o.class?s:c=>C(s,oe(c,{get class(){return J(o.class,c.class)}})),i=s=>{const o=n(s),a=r(t,s.Root);return Object.assign(a,o,{registerStyles:i})};return Object.assign(t,e,{registerStyles:i})};let Or;function Zw(t){var e;if((e=navigator.clipboard)!=null&&e.writeText){let n;try{n=navigator.clipboard.writeText(t)}catch(r){Ta(t);return}n&&typeof n.then=="function"?n.catch(()=>{Ta(t)}):Ta(t)}else Ta(t)}function Ta(t){Or||(Or=document.createElement("input"),document.body.appendChild(Or),Or.style.opacity="0",Or.setAttribute("readonly","readonly"),Or.setSelectionRange(0,99999)),Or.setAttribute("value",t),Or.select(),document.execCommand("copy")}const Qw=[["B",9],["M",6],["K",3],["",1],["m",-3],["μ",-6],["n",-9]];function Sh(t,e=6){const n=t.toExponential(e),[,r]=n.split("e").map(Number);if(r>e){const i=Math.max(3-Math.ceil((r-e)/3),0),[s,o]=Qw[i];return{num:o===1?t:t*Ol(10,-o),exp:o,unit:s}}else return{num:t,exp:1,unit:""}}function e_(t,e=7){const{num:n,exp:r,unit:i}=Sh(t.toNumber(),e);let s="";return r>1?s=new Fe(n).toFixed(2,Fe.ROUND_DOWN)+i:n<1?s=Vo(new Fe(n).toFixed(e,Fe.ROUND_DOWN)):s=Vo(new Fe(n).toPrecision(e+1,Fe.ROUND_DOWN)),s}function Vo(t){return t.includes(".")?t.replace(/\.?0+$|\.$/,""):t}function My(t,e){const n=Object.keys(t),r=Object.keys(e);return n.length!==r.length?!1:n.every(i=>Object.prototype.hasOwnProperty.call(e,i)&&t[i]===e[i])}function t_(t){return!t||t===""?t:t.replace(/bc.game/gi,re.license.host.toUpperCase()).replace(/BC/g,re.license.site)}const Ny=document.scrollingElement||document.documentElement||document.body;function By(){const t=document.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll",t.style.width="100px",t.style.height="100px",document.body.appendChild(t);const e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}function n_(t,e=200){const n=[];let r=!1,i=0;function s(){if(r)return;r=!0;function o(){const a=n.shift();if(a){const c=Date.now(),l=Math.max(0,e+i-c);setTimeout(()=>{a(),i=Date.now(),o()},l)}else{r=!1;return}}o()}return(...o)=>{n.push(()=>t(...o)),s()}}function Fy(t,e=0){let n,r,i,s;const o=t.length&3,a=t.length-o;n=e;const c=3432918353,l=461845907;for(s=0;s<a;)i=t.charCodeAt(s)&255|(t.charCodeAt(++s)&255)<<8|(t.charCodeAt(++s)&255)<<16|(t.charCodeAt(++s)&255)<<24,++s,i=(i&65535)*c+(((i>>>16)*c&65535)<<16)&4294967295,i=i<<15|i>>>17,i=(i&65535)*l+(((i>>>16)*l&65535)<<16)&4294967295,n^=i,n=n<<13|n>>>19,r=(n&65535)*5+(((n>>>16)*5&65535)<<16)&4294967295,n=(r&65535)+27492+(((r>>>16)+58964&65535)<<16);return i=0,o>=3&&(i^=(t.charCodeAt(s+2)&255)<<16),o>=2&&(i^=(t.charCodeAt(s+1)&255)<<8),o>=1&&(i^=t.charCodeAt(s)&255,i=(i&65535)*c+(((i>>>16)*c&65535)<<16)&4294967295,i=i<<15|i>>>17,i=(i&65535)*l+(((i>>>16)*l&65535)<<16)&4294967295,n^=i),n^=t.length,n^=n>>>16,n=(n&65535)*2246822507+(((n>>>16)*2246822507&65535)<<16)&4294967295,n^=n>>>13,n=(n&65535)*3266489909+(((n>>>16)*3266489909&65535)<<16)&4294967295,n^=n>>>16,n>>>0}function Wr(t){const e=new Map,n=function(...r){const i=r.toString();if(e.has(i))return e.get(i);const s=t(...r);return e.set(i,s),s};return n.cache=e,n}function Uy(t,e,n){let r=0,i=t.length;const s=n(e);for(;r<i;){const o=Math.floor((r+i)/2);n(t[o])<s?r=o+1:i=o}return r}function is(){return document.querySelector(".app-root")||document.body}function r_(t){const e=document.cookie.match(new RegExp("(^| )"+t+"=([^;]+)"));return e?decodeURIComponent(e[2]):null}function Eh(){var i,s,o,a;let t=0;const e=(i=navigator.hardwareConcurrency)!=null?i:4,n=(s=navigator.deviceMemory)!=null?s:1/0;e<=2?t+=3:e<=4&&(t+=1),n<=1?t+=3:n<=2&&(t+=2),((a=(o=performance.memory)==null?void 0:o.jsHeapSizeLimit)!=null?a:1/0)<512*1024*1024&&(t+=2);try{const c=document.createElement("canvas").getContext("webgl"),l=c==null?void 0:c.getExtension("WEBGL_debug_renderer_info"),u=l?c.getParameter(l.UNMASKED_RENDERER_WEBGL):"";/Adreno\b.*\b3\d{2}\b|Mali-[34]|PowerVR SGX/i.test(u)&&(t+=2)}catch(c){}return t>=4}const i_=Object.freeze(Object.defineProperty({__proto__:null,clearFloatZero:Vo,composeEventHandlers:$y,copyToClipboard:Zw,createFunctionQueue:n_,defaultGetAppRootElement:is,defineComposition:xh,delay:Iy,detectLowEndDevice:Eh,easeBack:ua,formatBalance:e_,getCookie:r_,getExponential:Sh,getScrollbarWidth:By,isAndroid:Dy,isBot:Wo,isColliding:Jw,isIos:Py,isRtl:Ry,isSupportTouch:il,loadScript:fa,memo:Wr,murmurHash:Fy,replaceHost:t_,rootScrollElement:Ny,safeInvokeHandlerUnion:Ly,shallow:My,sortedIndexBy:Uy,swipeArea:Ch},Symbol.toStringTag,{value:"Module"}));var fu={exports:{}},x1;function s_(){return x1||(x1=1,(function(t){var e=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(c,l,u){this.fn=c,this.context=l,this.once=u||!1}function s(c,l,u,f,d){if(typeof u!="function")throw new TypeError("The listener must be a function");var h=new i(u,f||c,d),g=n?n+l:l;return c._events[g]?c._events[g].fn?c._events[g]=[c._events[g],h]:c._events[g].push(h):(c._events[g]=h,c._eventsCount++),c}
1function o(c,l){--c._eventsCount===0?c._events=new r:delete c._events[l]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var l=[],u,f;if(this._eventsCount===0)return l;for(f in u=this._events)e.call(u,f)&&l.push(n?f.slice(1):f);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(u)):l},a.prototype.listeners=function(l){var u=n?n+l:l,f=this._events[u];if(!f)return[];if(f.fn)return[f.fn];for(var d=0,h=f.length,g=new Array(h);d<h;d++)g[d]=f[d].fn;return g},a.prototype.listenerCount=function(l){var u=n?n+l:l,f=this._events[u];return f?f.fn?1:f.length:0},a.prototype.emit=function(l,u,f,d,h,g){var p=n?n+l:l;if(!this._events[p])return!1;var m=this._events[p],y=arguments.length,v,b;if(m.fn){switch(m.once&&this.removeListener(l,m.fn,void 0,!0),y){case 1:return m.fn.call(m.context),!0;case 2:return m.fn.call(m.context,u),!0;case 3:return m.fn.call(m.context,u,f),!0;case 4:return m.fn.call(m.context,u,f,d),!0;case 5:return m.fn.call(m.context,u,f,d,h),!0;case 6:return m.fn.call(m.context,u,f,d,h,g),!0}for(b=1,v=new Array(y-1);b<y;b++)v[b-1]=arguments[b];m.fn.apply(m.context,v)}else{var w=m.length,_;for(b=0;b<w;b++)switch(m[b].once&&this.removeListener(l,m[b].fn,void 0,!0),y){case 1:m[b].fn.call(m[b].context);break;case 2:m[b].fn.call(m[b].context,u);break;case 3:m[b].fn.call(m[b].context,u,f);break;case 4:m[b].fn.call(m[b].context,u,f,d);break;default:if(!v)for(_=1,v=new Array(y-1);_<y;_++)v[_-1]=arguments[_];m[b].fn.apply(m[b].context,v)}}return!0},a.prototype.on=function(l,u,f){return s(this,l,u,f,!1)},a.prototype.once=function(l,u,f){return s(this,l,u,f,!0)},a.prototype.removeListener=function(l,u,f,d){var h=n?n+l:l;if(!this._events[h])return this;if(!u)return o(this,h),this;var g=this._events[h];if(g.fn)g.fn===u&&(!d||g.once)&&(!f||g.context===f)&&o(this,h);else{for(var p=0,m=[],y=g.length;p<y;p++)(g[p].fn!==u||d&&!g[p].once||f&&g[p].context!==f)&&m.push(g[p]);m.length?this._events[h]=m.length===1?m[0]:m:o(this,h)}return this},a.prototype.removeAllListeners=function(l){var u;return l?(u=n?n+l:l,this._events[u]&&o(this,u)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,t.exports=a})(fu)),fu.exports}var o_=s_();const zy=_2(o_);class qy extends Error{constructor(e){super(e),this.name="TimeoutError"}}class a_ extends Error{constructor(e){super(),this.name="AbortError",this.message=e}}const S1=t=>globalThis.DOMException===void 0?new a_(t):new DOMException(t),E1=t=>{const e=t.reason===void 0?S1("This operation was aborted."):t.reason;return e instanceof Error?e:S1(e)};function c_(t,e){const{milliseconds:n,fallback:r,message:i,customTimers:s={setTimeout,clearTimeout}}=e;let o,a;const l=new Promise((u,f)=>{if(typeof n!="number"||Math.sign(n)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(e.signal){const{signal:h}=e;h.aborted&&f(E1(h)),a=()=>{f(E1(h))},h.addEventListener("abort",a,{once:!0})}if(n===Number.POSITIVE_INFINITY){t.then(u,f);return}const d=new qy;o=s.setTimeout.call(void 0,()=>{if(r){try{u(r())}catch(h){f(h)}return}typeof t.cancel=="function"&&t.cancel(),i===!1?u():i instanceof Error?f(i):(d.message=i!=null?i:`Promise timed out after ${n} milliseconds`,f(d))},n),te(null,null,function*(){try{u(yield t)}catch(h){f(h)}})}).finally(()=>{l.clear(),a&&e.signal&&e.signal.removeEventListener("abort",a)});return l.clear=()=>{s.clearTimeout.call(void 0,o),o=void 0},l}function l_(t,e,n){let r=0,i=t.length;for(;i>0;){const s=Math.trunc(i/2);let o=r+s;n(t[o],e)<=0?(r=++o,i-=s+1):i=s}return r}var vn;class u_{constructor(){ft(this,vn,[])}enqueue(e,n){n=q({priority:0},n);const r={priority:n.priority,id:n.id,run:e};if(this.size===0||ee(this,vn)[this.size-1].priority>=n.priority){ee(this,vn).push(r);return}const i=l_(ee(this,vn),r,(s,o)=>o.priority-s.priority);ee(this,vn).splice(i,0,r)}
1setPriority(e,n){const r=ee(this,vn).findIndex(s=>s.id===e);if(r===-1)throw new ReferenceError(`No promise function with the id "${e}" exists in the queue.`);const[i]=ee(this,vn).splice(r,1);this.enqueue(i.run,{priority:n,id:e})}dequeue(){const e=ee(this,vn).shift();return e==null?void 0:e.run}filter(e){return ee(this,vn).filter(n=>n.priority===e.priority).map(n=>n.run)}get size(){return ee(this,vn).length}}vn=new WeakMap;var gs,ps,Pr,Jo,ms,Zo,bn,ys,Nt,Qo,wn,vs,pr,ea,Kc,Pe,jy,Hy,Wy,Vy,Xy,nc,ed,td,rc,Ky,ic;class Ah extends zy{constructor(n){var r,i,s,o;super();ft(this,Pe);ft(this,gs);ft(this,ps);ft(this,Pr,0);ft(this,Jo);ft(this,ms);ft(this,Zo,0);ft(this,bn);ft(this,ys);ft(this,Nt);ft(this,Qo);ft(this,wn,0);ft(this,vs);ft(this,pr);ft(this,ea);ft(this,Kc,BigInt(1));Ln(this,"timeout");if(n=q({carryoverConcurrencyCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:u_},n),!(typeof n.intervalCap=="number"&&n.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(i=(r=n.intervalCap)==null?void 0:r.toString())!=null?i:""}\` (${typeof n.intervalCap})`);if(n.interval===void 0||!(Number.isFinite(n.interval)&&n.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(o=(s=n.interval)==null?void 0:s.toString())!=null?o:""}\` (${typeof n.interval})`);Qe(this,gs,n.carryoverConcurrencyCount),Qe(this,ps,n.intervalCap===Number.POSITIVE_INFINITY||n.interval===0),Qe(this,Jo,n.intervalCap),Qe(this,ms,n.interval),Qe(this,Nt,new n.queueClass),Qe(this,Qo,n.queueClass),this.concurrency=n.concurrency,this.timeout=n.timeout,Qe(this,ea,n.throwOnTimeout===!0),Qe(this,pr,n.autoStart===!1)}get concurrency(){return ee(this,vs)}set concurrency(n){if(!(typeof n=="number"&&n>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${n}\` (${typeof n})`);Qe(this,vs,n),At(this,Pe,rc).call(this)}setPriority(n,r){ee(this,Nt).setPriority(n,r)}add(i){return te(this,arguments,function*(n,r={}){var s;return(s=r.id)!=null||(r.id=(eo(this,Kc)._++).toString()),r=q({timeout:this.timeout,throwOnTimeout:ee(this,ea)},r),new Promise((o,a)=>{ee(this,Nt).enqueue(()=>te(this,null,function*(){var c;eo(this,wn)._++;try{(c=r.signal)==null||c.throwIfAborted(),eo(this,Pr)._++;let l=n({signal:r.signal});r.timeout&&(l=c_(Promise.resolve(l),{milliseconds:r.timeout})),r.signal&&(l=Promise.race([l,At(this,Pe,Ky).call(this,r.signal)]));const u=yield l;o(u),this.emit("completed",u)}catch(l){if(l instanceof qy&&!r.throwOnTimeout){o();return}a(l),this.emit("error",l)}finally{At(this,Pe,Wy).call(this)}}),r),this.emit("add"),At(this,Pe,nc).call(this)})})}addAll(n,r){return te(this,null,function*(){return Promise.all(n.map(i=>te(this,null,function*(){return this.add(i,r)})))})}start(){return ee(this,pr)?(Qe(this,pr,!1),At(this,Pe,rc).call(this),this):this}pause(){Qe(this,pr,!0)}clear(){Qe(this,Nt,new(ee(this,Qo)))}onEmpty(){return te(this,null,function*(){ee(this,Nt).size!==0&&(yield At(this,Pe,ic).call(this,"empty"))})}onSizeLessThan(n){return te(this,null,function*(){ee(this,Nt).size<n||(yield At(this,Pe,ic).call(this,"next",()=>ee(this,Nt).size<n))})}onIdle(){return te(this,null,function*(){ee(this,wn)===0&&ee(this,Nt).size===0||(yield At(this,Pe,ic).call(this,"idle"))})}get size(){return ee(this,Nt).size}sizeBy(n){return ee(this,Nt).filter(n).length}get pending(){return ee(this,wn)}get isPaused(){return ee(this,pr)}}gs=new WeakMap,ps=new WeakMap,Pr=new WeakMap,Jo=new WeakMap,ms=new WeakMap,Zo=new WeakMap,bn=new WeakMap,ys=new WeakMap,Nt=new WeakMap,Qo=new WeakMap,wn=new WeakMap,vs=new WeakMap,pr=new WeakMap,ea=new WeakMap,Kc=new WeakMap,Pe=new WeakSet,jy=function(){return ee(this,ps)||ee(this,Pr)<ee(this,Jo)},Hy=function(){return ee(this,wn)<ee(this,vs)},Wy=function(){eo(this,wn)._--,At(this,Pe,nc).call(this),this.emit("next")},Vy=function(){At(this,Pe,td).call(this),At(this,Pe,ed).call(this),Qe(this,ys,void 0)},Xy=function(){const n=Date.now();if(ee(this,bn)===void 0){const r=ee(this,Zo)-n;if(r<0)Qe(this,Pr,ee(this,gs)?ee(this,wn):0);else return ee(this,ys)===void 0&&Qe(this,ys,setTimeout(()=>{At(this,Pe,Vy).call(this)},r)),!0}return!1},nc=function(){if(ee(this,Nt).size===0)return ee(this,bn)&&clearInterval(ee(this,bn)),Qe(this,bn,void 0),this.emit
1("empty"),ee(this,wn)===0&&this.emit("idle"),!1;if(!ee(this,pr)){const n=!ee(this,Pe,Xy);if(ee(this,Pe,jy)&&ee(this,Pe,Hy)){const r=ee(this,Nt).dequeue();return r?(this.emit("active"),r(),n&&At(this,Pe,ed).call(this),!0):!1}}return!1},ed=function(){ee(this,ps)||ee(this,bn)!==void 0||(Qe(this,bn,setInterval(()=>{At(this,Pe,td).call(this)},ee(this,ms))),Qe(this,Zo,Date.now()+ee(this,ms)))},td=function(){ee(this,Pr)===0&&ee(this,wn)===0&&ee(this,bn)&&(clearInterval(ee(this,bn)),Qe(this,bn,void 0)),Qe(this,Pr,ee(this,gs)?ee(this,wn):0),At(this,Pe,rc).call(this)},rc=function(){for(;At(this,Pe,nc).call(this););},Ky=function(n){return te(this,null,function*(){return new Promise((r,i)=>{n.addEventListener("abort",()=>{i(n.reason)},{once:!0})})})},ic=function(n,r){return te(this,null,function*(){return new Promise(i=>{const s=()=>{r&&!r()||(this.off(n,s),i())};this.on(n,s)})})};function f_(t,e){t.indexOf(e)===-1&&t.push(e)}function xI(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Gy=(t,e,n)=>Math.min(Math.max(n,t),e),_n={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},Pc=t=>typeof t=="number",hs=t=>Array.isArray(t)&&!Pc(t[0]),d_=(t,e,n)=>{const r=e-t;return((n-t)%r+r)%r+t};function h_(t,e){return hs(t)?t[d_(0,t.length,e)]:t}const Yy=(t,e,n)=>-n*t+n*e+t,Jy=()=>{},Fr=t=>t,Th=(t,e,n)=>e-t===0?1:(n-t)/(e-t);function Zy(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const i=Th(0,e,r);t.push(Yy(n,1,i))}}function g_(t){const e=[0];return Zy(e,t-1),e}function p_(t,e=g_(t.length),n=Fr){const r=t.length,i=r-e.length;return i>0&&Zy(e,i),s=>{let o=0;for(;o<r-2&&!(s<e[o+1]);o++);let a=Gy(0,1,Th(e[o],e[o+1],s));return a=h_(n,o)(a),Yy(t[o],t[o+1],a)}}const Qy=t=>Array.isArray(t)&&Pc(t[0]),nd=t=>typeof t=="object"&&!!t.createAnimation,ks=t=>typeof t=="function",m_=t=>typeof t=="string",Ao={ms:t=>t*1e3,s:t=>t/1e3},ev=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,y_=1e-7,v_=12;function b_(t,e,n,r,i){let s,o,a=0;do o=e+(n-e)/2,s=ev(o,r,i)-t,s>0?n=o:e=o;while(Math.abs(s)>y_&&++a<v_);return o}function vo(t,e,n,r){if(t===e&&n===r)return Fr;const i=s=>b_(s,0,1,t,n);return s=>s===0||s===1?s:ev(i(s),e,r)}const w_=(t,e="end")=>n=>{n=e==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*t,i=e==="end"?Math.floor(r):Math.ceil(r);return Gy(0,1,i/t)},__={ease:vo(.25,.1,.25,1),"ease-in":vo(.42,0,1,1),"ease-in-out":vo(.42,0,.58,1),"ease-out":vo(0,0,.58,1)},C_=/\((.*?)\)/;function A1(t){if(ks(t))return t;if(Qy(t))return vo(...t);const e=__[t];if(e)return e;if(t.startsWith("steps")){const n=C_.exec(t);if(n){const r=n[1].split(",");return w_(parseFloat(r[0]),r[1].trim())}}return Fr}class tv{constructor(e,n=[0,1],{easing:r,duration:i=_n.duration,delay:s=_n.delay,endDelay:o=_n.endDelay,repeat:a=_n.repeat,offset:c,direction:l="normal",autoplay:u=!0}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=Fr,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((d,h)=>{this.resolve=d,this.reject=h}),r=r||_n.easing,nd(r)){const d=r.createAnimation(n);r=d.easing,n=d.keyframes||n,i=d.duration||i}this.repeat=a,this.easing=hs(r)?Fr:A1(r),this.updateDuration(i);const f=p_(n,c,hs(r)?r.map(A1):Fr);this.tick=d=>{var h;s=s;let g=0;this.pauseTime!==void 0?g=this.pauseTime:g=(d-this.startTime)*this.rate,this.t=g,g/=1e3,g=Math.max(g-s,0),this.playState==="finished"&&this.pauseTime===void 0&&(g=this.totalDuration);const p=g/this.duration;let m=Math.floor(p),y=p%1;!y&&p>=1&&(y=1),y===1&&m--;const v=m%2;(l==="reverse"||l==="alternate"&&v||l==="alternate-reverse"&&!v)&&(y=1-y);const b=g>=this.totalDuration?1:Math.min(y,1),w=f(this.easing(b));e(w),this.pauseTime===void 0&&(this.playState==="finished"||g>=this.totalDuration+o)?(this.playState="finished",(h=this.resolve)===null||h===void 0||h.call(this,w)):this.playState!=="idle"&&(this.frameRequestId=requestAnimationFrame(this.tick))},u&&this.play()}play(){const e=performance.now();this.playState="running",this.pauseTime!==void 0?this.startTime=e-this.pauseTime:this.startTime||(this.startTime=e),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var e;this.playState="idle",this.frameRequestId!==void 0&&cancelAnimationFrame(this.frameRequestId),(e=this.reject)===null||e===void 0||e.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(e){this.duration=e,this.totalDuration=e*(this.repeat+1)}get currentTime(){return this.t}set currentTime(e){this.pauseTime!==void 0||this.rate===0?this.pauseTime=e:this.startTime=performance.now()-e/this.rate}get playbackRate(){return this.rate}set playbackRate(e){this.rate=e}}class x_{setAnimation(e){this.animation=e,e==null||e.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const du=new WeakMap;function nv(t){return du.has(t)||du.set(t,{transforms:[],values:new Map}),du.get(t)}function S_(t,e){return t.has(e)||t.set(e,new x_),t.get(e)}const E_=["","X","Y","Z"],A_=["translate","scale","rotate","skew"],Dc={x:"translateX",y:"translateY",z:"translateZ"},T1={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:t=>t+"deg"},T_={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:t=>t+"px"},rotate:T1,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:Fr},skew:T1},Xo=new Map,Oh=t=>`--motion-${t}`,Ic=["x","y","z"];A_.forEach(t=>
vendor: 3,964 bytes, line 1
1{E_.forEach(e=>{Ic.push(t+e),Xo.set(Oh(t+e),T_[t])})});const O_=(t,e)=>Ic.indexOf(t)-Ic.indexOf(e),k_=new Set(Ic),rv=t=>k_.has(t),R_=(t,e)=>{Dc[e]&&(e=Dc[e]);const{transforms:n}=nv(t);f_(n,e),t.style.transform=P_(n)},P_=t=>t.sort(O_).reduce(D_,"").trim(),D_=(t,e)=>`${t} ${e}(var(${Oh(e)}))`,rd=t=>t.startsWith("--"),O1=new Set;function I_(t){if(!O1.has(t)){O1.add(t);try{const{syntax:e,initialValue:n}=Xo.has(t)?Xo.get(t):{};CSS.registerProperty({name:t,inherits:!1,syntax:e,initialValue:n})}catch(e){}}}const hu=(t,e)=>document.createElement("div").animate(t,e),k1={cssRegisterProperty:()=>typeof CSS!="undefined"&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{hu({opacity:[1]})}catch(t){return!1}return!0},finished:()=>!!hu({opacity:[0,1]},{duration:.001}).finished,linearEasing:()=>{try{hu({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0}},gu={},ss={};for(const t in k1)ss[t]=()=>(gu[t]===void 0&&(gu[t]=k1[t]()),gu[t]);const L_=.015,$_=(t,e)=>{let n="";const r=Math.round(e/L_);for(let i=0;i<r;i++)n+=t(Th(0,r-1,i))+", ";return n.substring(0,n.length-2)},R1=(t,e)=>ks(t)?ss.linearEasing()?`linear(${$_(t,e)})`:_n.easing:Qy(t)?M_(t):t,M_=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`;function N_(t,e){for(let n=0;n<t.length;n++)t[n]===null&&(t[n]=n?t[n-1]:e());return t}const B_=t=>Array.isArray(t)?t:[t];function id(t){return Dc[t]&&(t=Dc[t]),rv(t)?Oh(t):t}const Oa={get:(t,e)=>{e=id(e);let n=rd(e)?t.style.getPropertyValue(e):getComputedStyle(t)[e];if(!n&&n!==0){const r=Xo.get(e);r&&(n=r.initialValue)}return n},set:(t,e,n)=>{e=id(e),rd(e)?t.style.setProperty(e,n):t.style[e]=n}};function iv(t,e=!0){if(!(!t||t.playState==="finished"))try{t.stop?t.stop():(e&&t.commitStyles(),t.cancel())}catch(n){}}function F_(t,e){var n;let r=(e==null?void 0:e.toDefaultUnit)||Fr;const i=t[t.length-1];if(m_(i)){const s=((n=i.match(/(-?[\d.]+)([a-z%]*)/))===null||n===void 0?void 0:n[2])||"";s&&(r=o=>o+s)}return r}function U_(){return window.__MOTION_DEV_TOOLS_RECORD}function z_(t,e,n,r={},i){const s=U_(),o=r.record!==!1&&s;let a,{duration:c=_n.duration,delay:l=_n.delay,endDelay:u=_n.endDelay,repeat:f=_n.repeat,easing:d=_n.easing,persist:h=!1,direction:g,offset:p,allowWebkitAcceleration:m=!1,autoplay:y=!0}=r;const v=nv(t),b=rv(e);let w=ss.waapi();b&&R_(t,e);const _=id(e),S=S_(v.values,_),x=Xo.get(_);return iv(S.animation,!(nd(d)&&S.generator)&&r.record!==!1),()=>{const E=()=>{var T,I;return(I=(T=Oa.get(t,_))!==null&&T!==void 0?T:x==null?void 0:x.initialValue)!==null&&I!==void 0?I:0};let A=N_(B_(n),E);const P=F_(A,x);if(nd(d)){const T=d.createAnimation(A,e!=="opacity",E,_,S);d=T.easing,A=T.keyframes||A,c=T.duration||c}if(rd(_)&&(ss.cssRegisterProperty()?I_(_):w=!1),b&&!ss.linearEasing()&&(ks(d)||hs(d)&&d.some(ks))&&(w=!1),w){x&&(A=A.map(L=>Pc(L)?x.toDefaultUnit(L):L)),A.length===1&&(!ss.partialKeyframes()||o)&&A.unshift(E());const T={delay:Ao.ms(l),duration:Ao.ms(c),endDelay:Ao.ms(u),easing:hs(d)?void 0:R1(d,c),direction:g,iterations:f+1,fill:"both"};a=t.animate({[_]:A,offset:p,easing:hs(d)?d.map(L=>R1(L,c)):void 0},T),a.finished||(a.finished=new Promise((L,R)=>{a.onfinish=L,a.oncancel=R}));const I=A[A.length-1];a.finished.then(()=>{h||(Oa.set(t,_,I),a.cancel())}).catch(Jy),m||(a.playbackRate=1.000001)}else if(i&&b)A=A.map(T=>typeof T=="string"?parseFloat(T):T),A.length===1&&A.unshift(parseFloat(E())),a=new i(T=>{Oa.set(t,_,P?P(T):T)},A,Object.assign(Object.assign({},r),{duration:c,easing:d}));else{const T=A[A.length-1];Oa.set(t,_,x&&Pc(T)?x.toDefaultUnit(T):T)}return o&&s(t,e,A,{duration:c,delay:l,easing:d,repeat:f,offset:p},"motion-one"),S.setAnimation(a),a&&!y&&a.pause(),a}}const q_=(t,e)=>t[e]?Object.assign(Object.assign({},t),t[e]):Object.assign({},t);function j_(t,e){return typeof t=="string"?t=document.querySelectorAll(t):t instanceof Element&&(t=[t]),Array.from(t||[])}const H_=t=>t(),sv=(t,e,n=_n.duration)=>
1new Proxy({animations:t.map(H_).filter(Boolean),duration:n,options:e},V_),W_=t=>t.animations[0],V_={get:(t,e)=>{const n=W_(t);switch(e){case"duration":return t.duration;case"currentTime":return Ao.s((n==null?void 0:n[e])||0);case"playbackRate":case"playState":return n==null?void 0:n[e];case"finished":return t.finished||(t.finished=Promise.all(t.animations.map(X_)).catch(Jy)),t.finished;case"stop":return()=>{t.animations.forEach(r=>iv(r))};case"forEachNative":return r=>{t.animations.forEach(i=>r(i,t))};default:return typeof(n==null?void 0:n[e])=="undefined"?void 0:()=>t.animations.forEach(r=>r[e]())}},set:(t,e,n)=>{switch(e){case"currentTime":n=Ao.ms(n);case"playbackRate":for(let r=0;r<t.animations.length;r++)t.animations[r][e]=n;return!0}return!1}},X_=t=>t.finished;function K_(t,e,n){return ks(t)?t(e,n):t}function G_(t){return function(n,r,i={}){n=j_(n);const s=n.length,o=[];for(let a=0;a<s;a++){const c=n[a];for(const l in r){const u=q_(i,l);u.delay=K_(u.delay,a,s);const f=z_(c,l,r[l],u,t);o.push(f)}}return sv(o,i,i.duration)}}const Y_=G_(tv);function J_(t,e={}){return sv([()=>{const n=new tv(t,[0,1],e);return n.finished.catch(()=>{}),n}],e,e.duration)}function da(t,e,n){return(ks(t)?J_:Y_)(t,e,n)}const pu=(()=>{}),mu=()=>!0,Rs={equals:!1};function Z_(t){return t!==null&&(typeof t=="object"||typeof t=="function")}const Q_=t=>t!=null,e7=t=>t.filter(Q_),t7=(t,e)=>t===e||t.length===e.length&&t.every((n,r)=>n===e[r]);function n7(t){return(...e)=>{for(const n of t)n&&n(...e)}}const Qt=t=>typeof t=="function"&&!t.length?t():t,Ps=t=>Array.isArray(t)?t:t?[t]:[];function Lc(t,...e){return typeof t=="function"?t(...e):t}const r7=Object.entries,ov=K,SI=()=>{let t=[];const e=()=>t=[];return{push:(...n)=>t.push(...n),execute(n,r,i,s){t.forEach(o=>o(n,r,i,s)),e()},clear:e}};function i7(t){let e=0,n;return K(()=>e=0),(...r)=>{n=r,e++,queueMicrotask(()=>--e===0&&t(...n))}}function av(t,e,n,r){const i=t.length,s=e.length;let o=0;if(!s){for(;o<i;o++)n(t[o]);return}if(!i){for(;o<s;o++)r(e[o]);return}for(;o<s&&e[o]===t[o];o++);let a,c;e=e.slice(o),t=t.slice(o);for(a of e)t.includes(a)||r(a);for(c of t)e.includes(c)||n(c)}class s7 extends Set{emit(e){for(const n of this)n(e)}}class o7 extends Map{on(e,n){let r=this.get(e);r||this.set(e,r=new s7),r.add(n)}off(e,n){const r=this.get(e);r!=null&&r.delete(n)&&!r.size&&this.delete(e)}emit(e,n){var r;(r=this.get(e))==null||r.emit(n)}}function cv(){const t=new o7;return{on(e,n){return t.on(e,n),ov(t.off.bind(t,e,n))},emit:t.emit.bind(t),clear:K(t.clear.bind(t))}}function $r(t,e,n,r){return t.addEventListener(e,n,r),ov(t.removeEventListener.bind(t,e,n,r))}function je(t,e,n,r){const i=()=>{Ps(Qt(t)).forEach(s=>
1{s&&Ps(Qt(e)).forEach(o=>$r(s,o,n,r))})};typeof t=="function"?ne(i):fe(i)}function lv(t,e,n){for(const[r,i]of r7(e))i&&je(t,r,i,n)}const a7=(t,e)=>t.length>0?()=>t(Y(e)):t;function uv(t,e){let n=0;const r=t.map((i,s)=>M(()=>(n=s,i()),void 0,Rs));return M(()=>r.map(i=>i())[n],void 0,e)}function c7(t,e){const n=t.map((r,i)=>{const s={dirty:!0,get:null};return s.get=M(()=>(s.dirty=!0,r()),void 0,Rs),s});return u7(()=>n.reduce((r,i)=>{const s=i.get();return i.dirty&&(i.dirty=!1,r.push(s)),r},[]),void 0)}function l7(t,e,n){let r=()=>e;const[i,s]=B(e,Rs),o=M(a7(t,()=>r()),e,Rs);return[r=uv([i,o],n),(a=>s(()=>typeof a=="function"?a(Y(r)):a))]}function u7(t,e,n){let r=!1,i=!0;const[s,o]=B(void 0,Rs),a=M(c=>r?t(c):(i=!s(),c),e,Rs);return()=>{r=!0,i&&(i=o());const c=a();return r=!1,c}}function kh(t,e){e.observe(t)}function f7(t,e,n){const r=new IntersectionObserver(e,n),i=c=>kh(c,r),s=c=>r.unobserve(c),o=()=>t.forEach(i),a=()=>r.takeRecords().forEach(c=>s(c.target));return o(),{add:i,remove:s,start:o,stop:K(()=>r.disconnect()),reset:a,instance:r}}function d7(t,e,n){const r=new IntersectionObserver(e,n);K(()=>r.disconnect()),ne(i=>{const s=t();return av(s,i,o=>kh(o,r),o=>r.unobserve(o)),s},[])}function Rh(...t){let e=[],n={};Array.isArray(t[0])||t[0]instanceof Function?t[1]instanceof Function?(e=Qt(t[0]).map(d=>[d,t[1]]),n=t[2]):(e=Qt(t[0]),n=t[1]):n=t[0];const r=new WeakMap,i=(d,h)=>d.forEach(g=>{var m;const p=(m=r.get(g.target))==null?void 0:m(g,h);p instanceof Function&&p(g,h)}),{add:s,remove:o,stop:a,instance:c}=f7([],i,n),l=(d,h)=>{s(d),r.set(d,h)},u=d=>{r.delete(d),o(d)},f=()=>e.forEach(([d,h])=>l(d,h));return Un(f),[l,{remove:u,start:f,stop:a,instance:c}]}function Ph(t,e){const n=new WeakMap,r=new IntersectionObserver((a,c)=>{var l;for(const u of a)(l=n.get(u.target))==null||l(u,c)},t);K(()=>r.disconnect());function i(a){r.unobserve(a),n.delete(a)}function s(a,c){kh(a,r),n.set(a,c)}const o=e?(a,c)=>{const l=Qt(e);return u=>c(l(u,{visible:Y(a)}))}:(a,c)=>l=>c(l.isIntersecting);return a=>{var d;const[c,l]=B((d=t==null?void 0:t.initialValue)!=null?d:!1),u=o(c,l);let f;return a instanceof Element?s(a,u):ne(()=>{const h=a();h!==f&&(f&&i(f),h&&s(h,u),f=h)}),K(()=>f&&i(f)),c}}var pi;(function(t){t.Entering="Entering",t.Leaving="Leaving",t.Inside="Inside",t.Outside="Outside"})(pi||(pi={}));function h7(t,e){return t?e?pi.Inside:pi.Entering:e===!0?pi.Leaving:pi.Outside}function g7(t){return()=>{let e;const n=Qt(t);return(r,i)=>{const{isIntersecting:s}=r,o=h7(s,e);return e=s,n(r,de(q({},i),{occurrence:o}))}}}var fi;(function(t){t.Left="Left",t.Right="Right",t.None="None"})(fi||(fi={}));var di;(function(t){t.Top="Top",t.Bottom="Bottom",t.None="None"})(di||(di={}));function p7(t,e,n){let r=fi.None,i=di.None;return e?(t.top<e.top?i=n?di.Bottom:di.Top:t.top>e.top&&(i=n?di.Top:di.Bottom),t.left>e.left?r=n?fi.Left:fi.Right:t.left<e.left&&(r=n?fi.Right:fi.Left),{directionX:r,directionY:i}):{directionX:r,directionY:i}}function m7(t){return()=>{let e;const n=Qt(t);return(r,i)=>{const{boundingClientRect:s}=r,o=p7(s,e,r.isIntersecting);return e=s,n(r,q(q({},i),o))}}}const sd=()=>{},P1=(t,e)=>e();function sl(t,e){const n=Y(t),r=n?[n]:[],{onEnter:i=P1,onExit:s=P1}=e,[o,a]=B(e.appear?[]:r),[c]=ta();let l,u=!1;function f(g,p){if(!g)return p&&p();u=!0,s(g,()=>{at(()=>{u=!1,a(m=>m.filter(y=>y!==g)),p&&p()})})}function d(g){const p=l;if(!p)return g&&g();l=void 0,a(m=>[p,...m]),i(p,g!=null?g:sd)}const h=e.mode==="out-in"?g=>u||f(g,d):e.mode==="in-out"?g=>d(()=>f(g)):g=>{f(g),d()};return pe(g=>{const p=t();return Y(c)?(c(),g):(p!==g&&(l=p,at(()=>Y(()=>h(g)))),p)},e.appear?void 0:n),o}function ol(t,e){const n=Y(t),{onChange:r}=e;let i=new Set(e.appear?void 0:n);const s=new WeakSet,[o,a]=B([],{equals:!1}),[c]=ta(),l=e.exitMethod==="remove"?sd:f=>{a(d=>(d.push.apply(d,f),d));for(const d of f)s.delete(d)},u=e.exitMethod==="remove"?sd:e.exitMethod==="keep-index"?(f,d,h)=>f.splice(h,0,d):(f,d)=>f.push(d);return M(f=>{const d=o(),h=t();if(h[rr],Y(c))return c(),f;if(d.length){const g=f.filter(p=>!d.includes(p));return d.length=0,r({list:g,added:[],removed:[],unchanged:g,finishRemoved:l}),g}return Y(()=>{const g=new Set(h),p=h.slice(),m=[],y=[],v=[];for(const w of h)(i.has(w)?v:m).push(w);let b=!m.length;for(let w=0;w<f.length;w++){const _=f[w];g.has(_)||(s.has(_)||(y.push(_),s.add(_)),u(p,_,w)),b&&_!==p[w]&&(b=!1)}return!y.length&&b?f:(r({list:p,added:m,removed:y,unchanged:v,finishRemoved:l}),i=g,p)})},e.appear?[]:n.slice())}function Dh(t,...e){return e.length===0&&(e=[Ve()]),Se(n=>
1(Ps(Qt(e)).forEach(r=>r&&un(r,K.bind(void 0,n))),t(n)),e[0])}const y7=(t,e=Ve())=>e?((...n)=>un(e,()=>t(...n))):t;function v7(t,...e){return Dh(n=>(t(n),n),...e)}function ha(t,e=Ve()){let n=0,r,i;return()=>(n++,K(()=>{n--,queueMicrotask(()=>{!n&&i&&(i(),i=r=void 0)})}),i||Se(s=>r=t(i=s),e),r)}function zi(t,e={}){let n=0;const{limit:r=100}=e,i=new Array(r),s=Ve(),o=t.length>1?(u,[f,d])=>{const[h,g]=B(!0),p={dispose:u,set:d,setA:g,active:h,v:t(f,h,()=>l(p))};return p}:(u,[f,d])=>({dispose:u,set:d,setA:mu,active:mu,v:t(f,mu,pu)}),a=i7(()=>{if(n>r){for(let u=r;u<n;u++)i[u].dispose(),i[u]=void 0;n=r}}),c=u=>{u.dispose!==pu&&(i[n++]=u,u.setA(!1),a())},l=u=>{u.dispose(),u.dispose=pu,u.active()?u.setA(!1):(i[i.indexOf(u)]=i[--n],i[n]=void 0)};return K(()=>{for(let u=0;u<n;u++)i[u].dispose();n=0}),u=>{let f;return n?(f=i[--n],i[n]=void 0,at(()=>{f.set(()=>u),f.setA(!0)})):f=Se(d=>o(d,B(u)),s),K(()=>c(f)),f.v}}const al=ha(()=>{const[t,e]=B(null);return $r(window,"keydown",n=>{e(n),setTimeout(()=>e(null))}),t}),b7=ha(()=>{const[t,e]=B([]),n=()=>e([]),r=al();return $r(window,"keydown",i=>{if(i.repeat||typeof i.key!="string")return;const s=i.key.toUpperCase(),o=t();if(o.includes(s))return;const a=[...o,s];o.length===0&&s!=="ALT"&&s!=="CONTROL"&&s!=="META"&&s!=="SHIFT"&&(i.shiftKey&&a.unshift("SHIFT"),i.altKey&&a.unshift("ALT"),i.ctrlKey&&a.unshift("CONTROL"),i.metaKey&&a.unshift("META")),e(a)}),$r(window,"keyup",i=>{if(typeof i.key!="string")return;const s=i.key.toUpperCase();s==="META"?n():e(o=>o.filter(a=>a!==s))}),$r(window,"blur",n),$r(window,"contextmenu",i=>{i.defaultPrevented||n()}),t[0]=t,t[1]={event:r},t[Symbol.iterator]=function*(){yield t[0],yield t[1]},t}),w7=ha(()=>{const t=b7();let e=Y(t);return M(()=>{const n=t(),r=e;return e=n,r.length===0&&n.length===1?n[0]:null})});function _7(t,e={}){t=t.toUpperCase();const{preventDefault:n=!0}=e,r=al(),i=w7();return M(()=>{var s;return i()===t&&(n&&((s=r())==null||s.preventDefault()),!0)})}function C7(){const[t,e]=B(!1);return Un(()=>e(!0)),t}const x7=(t,e=!1,n="Timeout")=>new Promise((r,i)=>setTimeout(e?()=>i(n):r,t));function $c(t,e,n=!1,r="Timeout"){return new Promise((i,s)=>{let o=!1;const a=Ps(t),c=x7(e,n,r).catch(u=>{!o&&s(u)}),l=Promise.race([...a,c]);l.then(i,s),l.finally(()=>{o=!0,a.forEach(u=>{u&&typeof u=="object"&&typeof u.dispose=="function"&&u.dispose()})})})}const Wn=t=>{const e=Se(n=>{const r=M(t),i=new Promise((s,o)=>{pe(()=>{r()&&(s(r()),n())}),K(o)});return i.dispose=n,i});return Ve()&&K(e.dispose),e};function qi(...t){return n7(t)}const Ds=t=>t instanceof Element;function od(t,e){if(e(t))return t;if(typeof t=="function"&&!t.length)return od(t(),e);if(Array.isArray(t)){const n=[];for(const r of t){const i=od(r,e);i&&(Array.isArray(i)?n.push.apply(n,i):n.push(i))}return n.length?n:null}return null}function Ih(t,e=Ds,n=Ds){const r=M(t),i=M(()=>od(r(),e));return i.toArray=()=>{const s=i();return Array.isArray(s)?s:s?[s]:[]},i}function ad(t,e){if(e(t))return t;if(typeof t=="function"&&!t.length)return ad(t(),e);if(Array.isArray(t))for(const n of t){const r=ad(n,e);if(r)return r}return null}function ur(t,e=Ds,n=Ds){const r=M(t);return M(()=>ad(r(),e))}function S7(t){const e=t.ref,n=Le(()=>t.children);let r=[];return pe(()=>{const i=n.toArray().filter(Ds);t7(r,i)||Y(()=>e(i)),r=i},[]),K(()=>r.length&&e([])),n}function qs(t){const e=t.ref,n=Le(()=>t.children);let r;return pe(()=>{const i=n.toArray().find(Ds);i!==r&&Y(()=>e(i)),r=i}),K(()=>r&&e(void 0)),n}function cd(t){const e=q({},t),n=q({},t),r={},i=o=>{let a=r[o];if(!a){if(!ir())return e[o];r[o]=a=B(e[o],{internal:!0}),delete e[o]}return a[0]()};for(const o in t)Object.defineProperty(n,o,{get:()=>i(o),enumerable:!0});const s=(o,a)=>{const c=r[o];if(c)return c[1](a);o in e&&(e[o]=Lc(a,e[o]))};return[n,(o,a)=>{if(Z_(o)){const c=Y(()=>Object.entries(Lc(o,n)));at(()=>{for(const[l,u]of c)s(l,()=>u)})}else s(o,a);return n}]}function E7(t,e){if(X.context){const[n,r]=cd(t);return Un(()=>r(e())),[n,r]}return cd(e())}function A7(t,e){const n=new ResizeObserver(t);return K(n.disconnect.bind(n)),{observe:r=>n.observe(r,e),unobserve:n.unobserve.bind(n)}}function Lh(t,e,n){const r=new WeakMap,{observe:i,unobserve:s}=A7(o=>{for(const a of o){const{contentRect:c,target:l}=a,u=Math.round(c.width),f=Math.round(c.height),d=r.get(l);(!d||d.width!==u||d.height!==f)&&(e(c,l,a),r.set(l,{width:u,height:f}))}},n);ne(o=>{const a=e7(Ps(Qt(t)));return av(a,o,i,s),a},[])}const T7={width:0,height:0};function D1(){return{width:window.innerWidth,height:window.innerHeight}}function O7(){const[t,e]=E7(T7,D1);return $r(window,"resize",()=>e(D1())),t}const fv={width:null,height:null,clientWidth:null,clientHeight:null};function yu(t){if(!t)return q({},fv);const{width:e,height:n}=t.getBoundingClientRect(),{clientWidth:r,clientHeight:i}=t;
1return{width:e,height:n,clientWidth:r,clientHeight:i}}function Ko(t){const e=typeof t=="function",[n,r]=cd(X.context||e?fv:yu(t)),i=new ResizeObserver(([s])=>r(yu(s.target)));return K(()=>i.disconnect()),e?ne(()=>{const s=t();s&&(r(yu(s)),i.observe(s),K(()=>i.unobserve(s)))}):(i.observe(t),K(()=>i.unobserve(t))),n}const k7=new Ah({concurrency:1}),R7=t=>new Promise(e=>setTimeout(e,t)),P7=(t,e)=>{const[n,r]=B(!1);return ne(i=>{if(t())return i||Y(()=>{let s=()=>{};const o=new Promise(c=>{s=c}),a=()=>te(null,null,function*(){var c,l;return yield R7((c=e==null?void 0:e.delay)!=null?c:0),(l=e==null?void 0:e.onRender)==null||l.call(e),r(!0),o});return k7.add(a,{priority:e==null?void 0:e.priority}).then(()=>{r(!1)}),s});i&&i()}),[n]},D7=t=>{const e=ur(()=>t.children),n=oe({priority:0,delay:200,onRender:()=>{}},t),[r]=P7(e,n);return C(ae,{get when(){return r()},get children(){return t.children}})};var I7=t=>(typeof t.clear=="function"||(t.clear=()=>{let e;for(;e=t.key(0);)t.removeItem(e)}),t),L7=["clear","getItem","getAll","setItem","removeItem","key","getLength"],$7=t=>(t.withOptions=e=>L7.reduce((n,r)=>(typeof t[r]=="function"&&(n[r]=(...i)=>(i[t[r].length-1]=e,t[r](...i))),n),{get length(){return t.length},withOptions:n=>t.withOptions(n)}),t),M7={domain:"Domain",expires:"Expires",path:"Path",secure:"Secure",httpOnly:"HttpOnly",maxAge:"Max-Age",sameSite:"SameSite"};function N7(t){if(!t)return"";const e=Object.entries(t).map(([n,r])=>{const i=M7[n];if(i)return r instanceof Date?`${i}=${r.toUTCString()}`:typeof r=="boolean"?r?`${i}`:void 0:`${i}=${r}`}).filter(n=>!!n);return e.length!=0?`; ${e.join("; ")}`:""}function B7(t,e){var n,r;return(r=(n=t.match(`(^|;)\\s*${e}\\s*=\\s*([^;]+)`))==null?void 0:n.pop())!=null?r:null}var no=$7(I7({_read:()=>document.cookie,_write:(t,e,n)=>{document.cookie=`${t}=${e}${N7(n)}`},getItem:(t,e)=>B7(no._read(e),t),setItem:(t,e,n)=>{no._write(t,e,n)},removeItem:(t,e)=>{no._write(t,"deleted",de(q({},e),{expires:new Date(0)}))},key:(t,e)=>{let n=null,r=0;return no._read(e).replace(/(?:^|;)\s*(.+?)\s*=\s*[^;]+/g,(i,s)=>(!n&&s&&r++===t&&(n=s),"")),n},getLength:t=>{let e=0;return no._read(t).replace(/(?:^|;)\s*.+?\s*=\s*[^;]+/g,n=>(e+=n?1:0,"")),e},get length(){return this.getLength()}}));function dv(t,e={}){var u;const n=e.storage||globalThis.localStorage,r=e.name||`storage-${Gr()}`;if(!n)return t;const i=e.storageOptions,s=e.serialize||JSON.stringify.bind(JSON),o=e.deserialize||JSON.parse.bind(JSON),a=n.getItem(r,i),c=typeof t[0]=="function"?f=>{try{const d=o(f);t[1](()=>d)}catch(d){}}:f=>{try{const d=o(f);t[1](ia(d))}catch(d){}};let l=!0;if(a instanceof Promise?a.then(f=>l&&f&&c(f)):a&&c(a),typeof((u=e.sync)==null?void 0:u[0])=="function"){const f=typeof t[0]=="function"?t[0]:()=>t[0];e.sync[0](d=>{d.key!==r||(d.url||globalThis.location.href)!==globalThis.location.href||d.newValue===s(Y(f))||c(d.newValue)})}return[t[0],typeof t[0]=="function"?f=>{var g;const d=t[1](f),h=f!=null?s(d):f;return(g=e.sync)==null||g[1](r,h),f!=null?n.setItem(r,h,i):n.removeItem(r,i),l=!1,d}:(...f)=>{var h;t[1](...f);const d=s(Y(()=>t[0]));(h=e.sync)==null||h[1](r,d),n.setItem(r,d,i),l=!1}]}var F7=[t=>window.addEventListener("storage",e=>t(e)),()=>{}];const vu=(t,e,n)=>{const r=n(t,e);return K(()=>clearInterval(r))},cl=(t,e,n)=>{if(typeof e=="number"){vu(t,e,n);return}let r=!1,i=performance.now(),s=0,o=!1;const a=()=>{Y(t),i=performance.now(),r=n===setTimeout};ne(c=>{if(r)return;const l=e();if(l===!1)return c&&(s+=(performance.now()-i)/c),l;if(c===!1&&(i=performance.now()),o){if(c&&(s+=(performance.now()-i)/c),i=performance.now(),s>=1)s=0,a();else if(s>0){const[u,f]=B(void 0,{equals:!1});return u(),vu(()=>{s=0,o=!1,f(),a()},(1-s)*l,setTimeout),l}}return o=!0,vu(a,l,n),l})};function U7(t,{ease:e=r=>r,duration:n=100}){const[r,i]=B(t());let s,o,a,c;function l(u){const f=u-s;f<n?(i(o+e(f/n)*a),c=requestAnimationFrame(l)):i(t())}return ne(qn(t,()=>{s=performance.now(),o=r(),a=t()-o,c=requestAnimationFrame(l),K(()=>cancelAnimationFrame(c))},{defer:!0})),r}const z7=3e9;function $h(t,e,n={}){var y,v;const{lazy:r,version:i,initialValue:s,expires:o=q7}=n,[a,c]=B(!1),l=M(()=>{const b=t();if(!b)return b;const w=JSON.stringify(b);let _=To.cache.get(w);return _||(_=new To(w,s,i),To.cache.set(w,_)),[b,_]}),u=M(()=>{var b;return(b=l())==null?void 0:b[1]}),f=B((v=(y=u())==null?void 0:y.get(!0))==null?void 0:v.data),[d,h]=B(!!f[0]());pe(()=>{const b=u();b&&K(b.ref(f[1],r))});const[g,{mutate:p,refetch:m}]=Ms(l,([b,w],_)=>{function S(){var A;return(A=w.get(!0))==null?void 0:A.data}function x(){function A(){const L=w.get();if(L&&L.ver===i)return L.data}if(!_.refetching){if(w.pending)return w.pending.then(()=>{const R=A();return R!==void 0?R:P()});const L=A();if(L!==void 0)return L}function P(){const L=I();return c(!0),w.set(L).then(()=>(at(()=>{c(!1),h(!1)}),S()))}function T(L){return Math.min(L,z7)}function I(){return te(this,null,function*(){const R={data:yield e(b,_),ver:i}
1,k=T(o),$=Date.now();return R.ts=$+k,R})}return P()}const E=x();if(E instanceof Promise){const A=S();return A?(E.then(P=>w.update(P)).catch(()=>{}),A):E}else return E},{initialValue:s,storage:()=>f});return[g,{cache:d,mutate:p,refetch:m,pending:M(()=>g.loading||a())}]}const q7=3e5,Yn=class Yn{constructor(e,n,r){this.key=e,this.count=0,this.die=!1,this.timer=-1,this.storage=[];const i=n?{data:n,ver:r,ts:-1}:void 0;this.data=i}update(e){for(const n of this.storage)n(e)}ref(e,n=!1){return n&&this.count++,this.storage.push(e),()=>{const r=this.storage.indexOf(e);n&&(this.count--,this.storage.splice(r,1),this.count===0&&(this.lock=void 0,this.die&&Yn.delete(this.key)))}}get(e=!1){const n=this.lock||this.data;if(n){const r=Date.now();if(e||n.ts>r)return n}}set(e){return te(this,null,function*(){var n;this.pending=e;try{const r=yield e;this.count>0&&(this.lock=this.lock||(((n=this.data)==null?void 0:n.ts)!==-1?this.data:r)||r,this.lock.ts=r.ts),this.data=r;const i=Date.now(),s=r.ts-i;this.timer>0&&clearTimeout(this.timer),s<1e8&&(this.timer=setTimeout(()=>{this.die=!0,Yn.delete(this.key)},s))}finally{this.pending=void 0}})}invalidate(){this.data=this.lock=this.pending=void 0}static get(e){let n=Yn.cache.get(e);return n||(n=new Yn(e),Yn.cache.set(e,n)),n}static delete(e){const n=Yn.cache.get(e);n&&n.count===0&&Yn.cache.delete(e)}};Yn.cache=new Map;let To=Yn;function hv(t,e){return function(){return t.apply(e,arguments)}}const{toString:j7}=Object.prototype,{getPrototypeOf:Vr}=Object,{iterator:ga,toStringTag:gv}=Symbol,Go=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),pv=t=>typeof t=="string"&&(t==="__proto__"||t==="constructor"||t==="prototype"),mv=(t,e,n)=>t===Object.prototype||!n&&e===null,H7=t=>{if(!Object.isExtensible(t))return!1;const e=Object.getOwnPropertyNames(t);return Object.getOwnPropertySymbols&&e.push(...Object.getOwnPropertySymbols(t)),e.every(n=>{if(pv(n))return!1;const r=Object.getOwnPropertyDescriptor(t,n);return!!r&&r.configurable&&r.writable===!0})},Yo=(t,e)=>{let n=t;const r=[];for(;n!=null;){if(r.indexOf(n)!==-1)return!1;r.push(n);const i=Vr(n);if(mv(n,i,n===t))return!1;if(Go(n,e))return!0;n=i}return!1},W7=(t,e)=>t!=null&&Yo(t,e)?t[e]:void 0,V7=t=>{if(t==null||typeof t!="object"&&typeof t!="function")return t;const e=Vr(t);if(e===null&&H7(t))return t;const n=Object.create(null),r=Object.create(null),i=[];let s=t;for(;s!=null&&i.indexOf(s)===-1;){i.push(s);const o=s===t?e:Vr(s);if(mv(s,o,s===t))break;const a=Object.getOwnPropertyNames(s);Object.getOwnPropertySymbols&&a.push(...Object.getOwnPropertySymbols(s));for(const c of a)pv(c)||Go(r,c)||(n[c]=t[c],r[c]=!0);s=o}return n},Mh=(t=>e=>{const n=j7.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Pn=t=>(t=t.toLowerCase(),e=>Mh(e)===t),ll=t=>e=>typeof e===t,{isArray:Ri}=Array,Pi=ll("undefined");function js(t){return t!==null&&!Pi(t)&&t.constructor!==null&&!Pi(t.constructor)&&Jt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const yv=Pn("ArrayBuffer");function X7(t){let e;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&yv(t.buffer),e}const K7=ll("string"),Jt=ll("function"),vv=ll("number"),Hs=t=>t!==null&&typeof t=="object",G7=t=>t===!0||t===!1,sc=t=>{if(!Hs(t))return!1;const e=Vr(t);return(e===null||e===Object.prototype||Vr(e)===null)&&!Yo(t,gv)&&!Yo(t,ga)},Y7=t=>{if(!Hs(t)||js(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch(e){return!1}},J7=Pn("Date"),Z7=Pn("File"),Q7=t=>!!(t&&typeof t.uri!="undefined"),e9=t=>t&&typeof t.getParts!="undefined",t9=Pn("Blob"),n9=Pn("FileList"),r9=Pn("Set"),i9=t=>Hs(t)&&Jt(t.pipe);function s9(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const I1=s9(),L1=typeof I1.FormData!="undefined"?I1.FormData:void 0,o9=t=>{if(!t)return!1;if(L1&&t instanceof L1)return!0;const e=Vr(t);if(!e||e===Object.prototype||!Jt(t.append))return!1;const n=Mh(t);return n==="formdata"||n==="object"&&Jt(t.toString)&&t.toString()==="[object FormData]"},a9=Pn("URLSearchParams"),[c9,l9,u9,f9]=["ReadableStream","Request","Response","Headers"].map(Pn),d9=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pa(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t=="undefined")return;let r,i;if(typeof t!="object"&&(t=[t]),Ri(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{if(js(t))return;const s=n?Object.getOwnPropertyNames(t):Object.keys(t),o=s.length;let a;for(r=0;r<o;r++)a=s[r],e.call(null,t[a],a,t)}}function bv(t,e){if(js(t))return null;e=e.toLowerCase();const n=Object.keys(t);let r=n.length,i;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const mi=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,wv=t=>!Pi(t)&&t!==mi;function ld(...t){const{caseless:e,skipUndefined:n}=wv(this)&&this||{},r={},i=(s,o)=>
vendor: 1,657 bytes, line 1
1{if(o==="__proto__"||o==="constructor"||o==="prototype")return;const a=e&&typeof o=="string"&&bv(r,o)||o,c=Go(r,a)?r[a]:void 0;sc(c)&&sc(s)?r[a]=ld(c,s):sc(s)?r[a]=ld({},s):Ri(s)?r[a]=s.slice():(!n||!Pi(s))&&(r[a]=s)};for(let s=0,o=t.length;s<o;s++){const a=t[s];if(!a||js(a)||(pa(a,i),typeof a!="object"||Ri(a)))continue;const c=Object.getOwnPropertySymbols(a);for(let l=0;l<c.length;l++){const u=c[l];S9.call(a,u)&&i(a[u],u)}}return r}const h9=(t,e,n,{allOwnKeys:r}={})=>(pa(e,(i,s)=>{n&&Jt(i)?Object.defineProperty(t,s,{__proto__:null,value:hv(i,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,s,{__proto__:null,value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),t),g9=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),p9=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),n&&Object.assign(t.prototype,n)},m9=(t,e,n,r)=>{let i,s,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)o=i[s],(!r||r(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&Vr(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},y9=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},v9=t=>{if(!t)return null;if(Ri(t))return t;let e=t.length;if(!vv(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},b9=(t=>e=>t&&e instanceof t)(typeof Uint8Array!="undefined"&&Vr(Uint8Array)),w9=(t,e)=>{const r=(t&&t[ga]).call(t);let i;for(;
1(i=r.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},_9=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},C9=Pn("HTMLFormElement"),x9=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),{propertyIsEnumerable:S9}=Object.prototype,E9=Pn("RegExp"),_v=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};pa(n,(i,s)=>{let o;(o=e(i,s,t))!==!1&&(r[s]=o||i)}),Object.defineProperties(t,r)},A9=t=>{_v(t,(e,n)=>{if(Jt(t)&&["arguments","caller","callee"].includes(n))return!1;const r=t[n];if(Jt(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},T9=(t,e)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return Ri(t)?r(t):r(String(t).split(e)),n},O9=()=>{},k9=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function R9(t){return!!(t&&Jt(t.append)&&t[gv]==="FormData"&&t[ga])}const P9=t=>{const e=new WeakSet,n=r=>{if(Hs(r)){if(e.has(r))return;if(js(r))return r;if(!("toJSON"in r)){e.add(r);let i;if(r9(r)){i=[];for(const s of r){const o=n(s);!Pi(o)&&i.push(o)}}else i=Ri(r)?[]:{},pa(r,(s,o)=>{const a=n(s);!Pi(a)&&(i[o]=a)});return e.delete(r),i}}return r};return n(t)},D9=Pn("AsyncFunction"),I9=t=>t&&(Hs(t)||Jt(t))&&Jt(t.then)&&Jt(t.catch),Cv=((t,e)=>t?setImmediate:e?((n,r)=>(mi.addEventListener("message",({source:i,data:s})=>{i===mi&&s===n&&r.length&&r.shift()()},!1),i=>{r.push(i),mi.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Jt(mi.postMessage)),L9=typeof queueMicrotask!="undefined"?queueMicrotask.bind(mi):typeof process!="undefined"&&process.nextTick||Cv,xv=t=>t!=null&&Jt(t[ga]),$9=t=>t!=null&&Yo(t,ga)&&xv(t),O={isArray:Ri,isArrayBuffer:yv,isBuffer:js,isFormData:o9,isArrayBufferView:X7,isString:K7,isNumber:vv,isBoolean:G7,isObject:Hs,isPlainObject:sc,isEmptyObject:Y7,isReadableStream:c9,isRequest:l9,isResponse:u9,isHeaders:f9,isUndefined:Pi,isDate:J7,isFile:Z7,isReactNativeBlob:Q7,isReactNative:e9,isBlob:t9,isRegExp:E9,isFunction:Jt,isStream:i9,isURLSearchParams:a9,isTypedArray:b9,isFileList:n9,forEach:pa,merge:ld,extend:h9,trim:d9,stripBOM:g9,inherits:p9,toFlatObject:m9,kindOf:Mh,kindOfTest:Pn,endsWith:y9,toArray:v9,forEachEntry:w9,matchAll:_9,isHTMLForm:C9,hasOwnProperty:Go,hasOwnProp:Go,hasOwnInPrototypeChain:Yo,getSafeProp:W7,toSafeFlatObject:V7,reduceDescriptors:_v,freezeMethods:A9,toObjectSet:T9,toCamelCase:x9,noop:O9,toFiniteNumber:k9,findKey:bv,global:mi,isContextDefined:wv,isSpecCompliantForm:R9,toJSONObject:P9,isAsyncFn:D9,isThenable:I9,setImmediate:Cv,asap:L9,isIterable:xv,isSafeIterable:$9},M9=O.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"]),N9=t=>{const e={};let n,r,i;return t&&t.split(`
2`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim();const a=O.hasOwnProp(e,n);!n||a&&O.hasOwnProp(M9,n)||(n==="set-cookie"?a?e[n].push(r):e[n]=[r]:e[n]=a?e[n]+", "+r:r)}),e};function B9(t){let e=0,n=t.length;for(;e<n;){const r=t.charCodeAt(e);if(r!==9&&r!==32)break;e+=1}for(;n>e;){const r=t.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return e===0&&n===t.length?t:t.slice(e,n)}const F9=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),U9=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Nh(t,e){return O.isArray(t)?t.map(n=>Nh(n,e)):B9(String(t).replace(e,""))}const z9=t=>Nh(t,F9),q9=t=>Nh(t,U9);function Sv(t){const e=Object.create(null);return O.forEach(t.toJSON(),(n,r)=>{e[r]=q9(n)}),e}const $1=Symbol("internals");function ro(t){return t&&String(t).trim().toLowerCase()}function oc(t){return t===!1||t==null?t:O.isArray(t)?t.map(oc):z9(String(t))}function j9(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const H9=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function bu(t){let e=0,n=t.length;for(;e<n;){const r=t.charCodeAt(e);if(r!==9&&r!==32)break;e+=1}for(;n>e;){const r=t.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return e===0&&n===t.length?t:t.slice(e,n)}function W9(t){const e=t.length-1;if(e<1||t.charCodeAt(0)!==34||t.charCodeAt(e)!==34)return t;let n="";for(let r=1;r<e;r++){const i=t.charCodeAt(r);if(i===34||i===92&&(r+=1,r>=e))return t;n+=t[r]}return n}function V9(t){const e=Object.create(null),n=String(t);let r=0,i=!1,s=!1;function o(a){const c=bu(n.slice(r,a)),l=c.indexOf("=");if(l<1)return;const u=bu(c.slice(0,l));if(!H9.test(u))return;const f=u.toLowerCase();if(f==="__proto__"||f==="constructor"||f==="prototype")return;const d=bu(c.slice(l+1));e[f]=W9(d)}for(let a=0;a<n.length;a++){const c=n.charCodeAt(a);i?s?s=!1:c===92?s=!0:c===34&&(i=!1):c===34?i=!0:(c===44||c===59)&&(o(a),r=a+1)}return o(n.length),e}const X9=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function wu(t,e,n,r,i){if(O.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!O.isString(e)){if(O.isString(r))return e.indexOf(r)!==-1;if(O.isRegExp(r))return r.test(e)}}function K9(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function G9(t,e){const n=O.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{__proto__:null,value:function(i,s,o){return this[r].call(this,e,i,s,o)},configurable:!0})})}let $t=class{constructor(e){e&&this.set(e)}set(e,n,r){const i=this;function s(a,c,l){const u=ro(c);if(!u)return;const f=O.findKey(i,u);(!f||i[f]===void 0||l===!0||l===void 0&&i[f]!==!1)&&(i[f||c]=oc(a))}const o=(a,c)=>O.forEach(a,(l,u)=>s(l,u,c));if(O.isPlainObject(e)||e instanceof this.constructor)o(e,n);else if(O.isString(e)&&(e=e.trim())&&!X9(e))o(N9(e),n);else if(O.isObject(e)&&O.isSafeIterable(e)){let a=Object.create(null),c,l;
2for(const u of e){if(!O.isArray(u))throw new TypeError("Object iterator must return a key-value pair");l=u[0],O.hasOwnProp(a,l)?(c=a[l],a[l]=O.isArray(c)?[...c,u[1]]:[c,u[1]]):a[l]=u[1]}o(a,n)}else e!=null&&s(n,e,r);return this}get(e,n){if(e=ro(e),e){const r=O.findKey(this,e);if(r){const i=this[r];if(!n)return i;if(n===!0)return j9(i);if(O.isFunction(n))return n.call(this,i,r);if(O.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=ro(e),e){const r=O.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||wu(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let i=!1;function s(o){if(o=ro(o),o){const a=O.findKey(r,o);a&&(!n||wu(r,r[a],a,n))&&(delete r[a],i=!0)}}return O.isArray(e)?e.forEach(s):s(e),i}clear(e){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!e||wu(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const n=this,r={};return O.forEach(this,(i,s)=>{const o=O.findKey(r,s);if(o){n[o]=oc(i),delete n[s];return}const a=e?K9(s):String(s).trim();a!==s&&delete n[s],n[a]=oc(i),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return O.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=e&&O.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
3`)}getSetCookie(){const e=this.get("set-cookie");return O.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return V9(e)}static concat(e,...n){const r=new this(e);return n.forEach(i=>r.set(i)),r}static accessor(e){const r=(this[$1]=this[$1]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=ro(o);r[a]||(G9(i,o),r[a]=!0)}return O.isArray(e)?e.forEach(s):s(e),this}};$t.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);O.reduceDescriptors($t.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});O.freezeMethods($t);const Mc="[REDACTED ****]";function Y9(t){if(O.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(O.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}function J9(t,e){const n=new Set(e.map(s=>String(s).toLowerCase())),r=[],i=s=>{if(s===null||typeof s!="object"||O.isBuffer(s))return s;if(r.indexOf(s)!==-1)return;s instanceof $t&&(s=s.toJSON()),r.push(s);let o;if(O.isArray(s))o=[],s.forEach((a,c)=>{const l=i(a);O.isUndefined(l)||(o[c]=l)});else{if(!O.isPlainObject(s)&&Y9(s))return r.pop(),s;o=Object.create(null);for(const[a,c]of Object.entries(s)){const l=n.has(a.toLowerCase())?Mc:i(c);O.isUndefined(l)||(o[a]=l)}}return r.pop(),o};return i(t)}function M1(t){try{return String(t)}catch(e){return""}}function Z9(t){return t.errors.map(n=>{try{return n&&n.message?M1(n.message):M1(n)}catch(r){return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}let Z=class Ev extends Error{static from(e,n,r,i,s,o){let a=e.message;!a&&O.isArray(e.errors)&&e.errors.length&&(a=Z9(e));const c=new Ev(a,n||e.code,r,i,s);return Object.defineProperty(c,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),c.name=e.name,e.status!=null&&c.status==null&&(c.status=e.status),o&&Object.assign(c,o),c}constructor(e,n,r,i,s){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),i&&(this.request=i),s&&(this.response=s,this.status=s.status)}toJSON(){const e=this.config,n=e&&O.hasOwnProp(e,"redact")?e.redact:void 0,r=O.isArray(n)&&n.length>0?J9(e,n):O.toJSONObject(e);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:r,code:this.code,status:this.status}}};Z.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Z.ERR_BAD_OPTION="ERR_BAD_OPTION";Z.ECONNABORTED="ECONNABORTED";Z.ETIMEDOUT="ETIMEDOUT";Z.ECONNREFUSED="ECONNREFUSED";Z.ERR_NETWORK="ERR_NETWORK";Z.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Z.ERR_DEPRECATED="ERR_DEPRECATED";Z.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Z.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Z.ERR_CANCELED="ERR_CANCELED";Z.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Z.ERR_INVALID_URL="ERR_INVALID_URL";Z.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Q9=null,Av=100;function ud(t){return O.isPlainObject(t)||O.isArray(t)}function Tv(t){return O.endsWith(t,"[]")?t.slice(0,-2):t}function _u(t,e,n){return t?t.concat(e).map(function(i,s){return i=Tv(i),!n&&s?"["+i+"]":i}).join(n?".":""):e}function e8(t){return O.isArray(t)&&!t.some(ud)}const t8=O.toFlatObject(O,{},null,function(e){return/^is[A-Z]/.test(e)});function ul(t,e,n){if(!O.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(v,b)=>{const w=O.getSafeProp(n,v);return O.isUndefined(w)?b:w},i=r("metaTokens",!0),s=r("visitor")||p,o=r("dots",!1),a=r("indexes",!1),c=r("Blob")||typeof Blob!="undefined"&&Blob,l=r("maxDepth",Av),u=c&&O.isSpecCompliantForm(e),f=[];
vendor: 1,653 bytes, line 3
3if(!O.isFunction(s))throw new TypeError("visitor must be a function");function d(v){if(v===null)return"";if(O.isDate(v))return v.toISOString();if(O.isBoolean(v))return v.toString();if(!u&&O.isBlob(v))throw new Z("Blob is not supported. Use a Buffer instead.");if(O.isArrayBuffer(v)||O.isTypedArray(v)){if(u&&typeof c=="function")return new c([v]);throw new Z("Blob is not supported. Use a Buffer instead.",Z.ERR_NOT_SUPPORT)}return v}function h(v){if(v>l)throw new Z("Object is too deeply nested ("+v+" levels). Max depth: "+l,Z.ERR_FORM_DATA_DEPTH_EXCEEDED)}function g(v,b){if(l===1/0)return JSON.stringify(v);const w=[];return JSON.stringify(v,function(S,x){if(!O.isObject(x))return x;for(;w.length&&w[w.length-1]!==this;)w.pop();return w.push(x),h(b+w.length-1),x})}function p(v,b,w){let _=v;if(O.isReactNative(e)&&O.isReactNativeBlob(v))return e.append(_u(w,b,o),d(v)),!1;if(v&&!w&&typeof v=="object"){if(O.endsWith(b,"{}"))b=i?b:b.slice(0,-2),v=g(v,1);else if(O.isArray(v)&&e8(v)||(O.isFileList(v)||O.endsWith(b,"[]"))&&(_=O.toArray(v)))return b=Tv(b),_.forEach(function(x,E){!(O.isUndefined(x)||x===null)&&e.append(a===!0?_u([b],E,o):a===null?b:b+"[]",d(x))}),!1}return ud(v)?!0:(e.append(_u(w,b,o),d(v)),!1)}const m=Object.assign(t8,{defaultVisitor:p,convertValue:d,isVisitable:ud});function y(v,b,w=0){if(!O.isUndefined(v)){if(h(w),f.indexOf(v)!==-1)throw new Error("Circular reference detected in "+b.join("."));f.push(v),O.forEach(v,function(S,x){(!(O.isUndefined(S)||S===null)&&s.call(e,S,O.isString(x)?x.trim():x,b,m))===!0&&y(S,b?b.concat(x):[x],w+1)}),f.pop()}}if(!O.isObject(t))throw new TypeError("data must be an object");return y(t),e}
3function N1(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(r){return e[r]})}function Bh(t,e){this._pairs=[],t&&ul(t,this,e)}const Ov=Bh.prototype;Ov.append=function(e,n){this._pairs.push([e,n])};Ov.toString=function(e){const n=e?r=>e.call(this,r,N1):N1;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function n8(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function kv(t,e,n){if(!e)return t;t=t||"";const r=O.isFunction(n)?{serialize:n}:n,i=O.getSafeProp(r,"encode")||n8,s=O.getSafeProp(r,"serialize");let o;if(s?o=s(e,r):o=O.isURLSearchParams(e)?e.toString():new Bh(e,r).toString(i),o){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}const io=Symbol("internals");function Rv(t){return t?t.length:0}function B1(t){if(t)for(;t.length&&t[t.length-1]===null;)t.pop()}function so(t,e){const n=t.handlers,r=Rv(n);n!==e.handlersRef?(e.handlersRef=n,e.handlerEntries.clear()):r!==e.handlersLength&&(r?e.handlerEntries.forEach(function(s,o){n[s.index]!==s.handler&&e.handlerEntries.delete(o)}):e.handlerEntries.clear()),e.handlersLength=r}class F1{constructor(){this.handlers=[],this[io]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(e,n,r){const i={fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null},s=this[io];this.handlers==null&&(this.handlers=[]),so(this,s);const o=s.nextId++;return this.handlers.push(i),s.handlerEntries.set(o,{handler:i,index:this.handlers.length-1}),s.handlersLength=this.handlers.length,o}eject(e){const n=this[io];so(this,n);const r=n.handlerEntries.get(e);if(r){if(n.handlerEntries.delete(e),this.handlers[r.index]!==r.handler)return;this.handlers[r.index]=null,n.iterationDepth||(B1(this.handlers),n.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],so(this,this[io]))}forEach(e){const n=this[io];so(this,n),n.iterationDepth++;try{O.forEach(this.handlers,function(i){i!==null&&e(i)})}finally{--n.iterationDepth||(so(this,n),B1(this.handlers),n.handlersLength=Rv(this.handlers))}}}const Fh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},r8=typeof URLSearchParams!="undefined"?URLSearchParams:Bh,i8=typeof FormData!="undefined"?FormData:null,s8=typeof Blob!="undefined"?Blob:null,o8={isBrowser:!0,classes:{URLSearchParams:r8,FormData:i8,Blob:s8},protocols:["http","https","file","blob","url","data"]},Uh=typeof window!="undefined"&&typeof document!="undefined",fd=typeof navigator=="object"&&navigator||void 0,a8=Uh&&(!fd||["ReactNative","NativeScript","NS"].indexOf(fd.product)<0),c8=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",l8=Uh&&window.location.href||"http://localhost",u8=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Uh,hasStandardBrowserEnv:a8,hasStandardBrowserWebWorkerEnv:c8,navigator:fd,origin:l8},Symbol.toStringTag,{value:"Module"})),_t=q(q({},u8),o8);function f8(t,e){return ul(t,new _t.classes.URLSearchParams,q({visitor:function(n,r,i,s){return _t.isNode&&O.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}const U1=Av;function Pv(t){if(t>U1)throw new Z("FormData field is too deeply nested ("+t+" levels). Max depth: "+U1,Z.ERR_FORM_DATA_DEPTH_EXCEEDED)}function d8(t){const e=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;let r;for(;(r=n.exec(t))!==null;)Pv(e.length),e.push(r[0]==="[]"?"":r[1]||r[0]);return e}function h8(t){const e={},n=Object.keys(t);let r;const i=n.length;let s;for(r=0;r<i;r++)s=n[r],e[s]=t[s];return e}function Dv(t){function e(n,r,i,s){Pv(s);let o=n[s++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),c=s>=n.length;return o=!o&&O.isArray(i)?i.length:o,c?(O.hasOwnProp(i,o)?i[o]=O.isArray(i[o])?i[o].concat(r):[i[o],r]:i[o]=r,!a):((!O.hasOwnProp(i,o)||!O.isObject(i[o]))&&
vendor: 1,026 bytes, line 3
3(i[o]=[]),e(n,r,i[o],s)&&O.isArray(i[o])&&(i[o]=h8(i[o])),!a)}if(O.isFormData(t)&&O.isFunction(t.entries)){const n={};return O.forEachEntry(t,(r,i)=>{e(d8(r),i,n,0)}),n}return null}const Iv=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]),Yi=(t,e)=>t!=null&&O.hasOwnProp(t,e)?t[e]:void 0;function g8(t,e,n){if(O.isString(t))try{return(e||JSON.parse)(t),O.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const ma={transitional:Fh,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=O.isObject(e);if(s&&O.isHTMLForm(e)&&(e=new FormData(e)),O.isFormData(e))return i?JSON.stringify(Dv(e)):e;if(O.isArrayBuffer(e)||O.isBuffer(e)||O.isStream(e)||O.isFile(e)||O.isBlob(e)||O.isReadableStream(e))return e;if(O.isArrayBufferView(e))return e.buffer;if(O.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;
3if(s){const c=Yi(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return f8(e,c).toString();if((a=O.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=Yi(this,"env"),u=l&&l.FormData;return ul(a?{"files[]":e}:e,u&&new u,c)}}return s||i?(n.setContentType("application/json",!1),g8(e)):e}],transformResponse:[function(e){const n=Yi(this,"transitional")||ma.transitional,r=n&&n.forcedJSONParsing,i=Yi(this,"responseType"),s=i==="json";if(O.isResponse(e)||O.isReadableStream(e))return e;if(e&&O.isString(e)&&(r&&!i||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e,Yi(this,"parseReviver"))}catch(c){if(a)throw c.name==="SyntaxError"?Z.from(c,Z.ERR_BAD_RESPONSE,this,null,Yi(this,"response")):c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_t.classes.FormData,Blob:_t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};O.forEach(Iv,t=>{ma.headers[t]={}});function Cu(t,e){const n=this||ma,r=e||n,i=$t.from(r.headers);let s=r.data;return O.forEach(t,function(a){s=a.call(n,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function Lv(t){return!!(t&&t.__CANCEL__)}let ya=class extends Z{constructor(e,n,r){super(e==null?"canceled":e,Z.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function $v(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Z("Request failed with status code "+n.status,n.status>=400&&n.status<500?Z.ERR_BAD_REQUEST:Z.ERR_BAD_RESPONSE,n.config,n.request,n))}const p8=/[\t\n\r]/g;function Mv(t){if(typeof t!="string")return t;let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e).replace(p8,"")}function xu(t){const e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}function m8(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i=0,s=0,o;return e=e!==void 0?e:1e3,function(c){const l=Date.now(),u=r[s];o||(o=l),n[i]=c,r[i]=l;let f=s,d=0;for(;f!==i;)d+=n[f++],f=f%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),l-o<e)return;const h=u&&l-u;return h?Math.round(d*1e3/h):void 0}}function y8(t,e){let n=0,r=1e3/e,i,s;const o=(u,f=Date.now())=>{n=f,i=null,s&&(clearTimeout(s),s=null),t(...u)};return[(...u)=>{const f=Date.now(),d=f-n;d>=r?o(u,f):(i=u,s||(s=setTimeout(()=>{s=null,o(i)},r-d)))},()=>i&&o(i),(...u)=>o(u)]}const Nc=(t,e,n=3)=>{let r=0;const i=m8(50,250);return y8(s=>{if(!s||!O.isNumber(s.loaded))return;const o=s.loaded,a=s.lengthComputable?s.total:void 0,c=Math.max(0,a!=null?Math.min(o,a):o),l=Math.max(0,c-r),u=i(l);r=Math.max(r,c);const f={loaded:c,total:a,progress:a?c/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a?(a-c)/u:void 0,event:s,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(f)},n)},z1=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},q1=(t,e=O.asap)=>(...n)=>e(()=>t(...n)),v8=_t.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,_t.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(_t.origin),_t.navigator&&/(msie|trident)/i.test(_t.navigator.userAgent)):()=>!0,b8=_t.hasStandardBrowserEnv?{write(t,e,n,r,i,s,o){if(typeof document=="undefined")return;const a=[`${t}=${encodeURIComponent(e)}`];O.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),O.isString(r)&&a.push(`path=${r}`),O.isString(i)&&a.push(`domain=${i}`),s===!0&&a.push("secure"),O.isString(o)&&a.push(`SameSite=${o}`),document.cookie=a.join("; ")},read(t){if(typeof document=="undefined")return null;const e=document.cookie.split(";");for(let n=0;n<e.length;n++){const r=e[n].replace(/^\s+/,""),i=r.indexOf("=");if(i!==-1&&r.slice(0,i)===t)try{return decodeURIComponent(r.slice(i+1))}catch(s){return r.slice(i+1)}}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function w8(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function _8(t,e){if(!e)return t;let n=t.length;for(;n>0&&t.charCodeAt(n-1)===47;)n--;return t.slice(0,n)+"/"+e.replace(/^\/+/,"")}const C8=/^https?:(?!\/\/)/i;function x8(t){return t&&t.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,n,r="")=>`${n}${r}${Mc}`)}function S8(t){const e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Mc}@`),n=e.indexOf("#"),i=(n===-1?e:e.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Mc}`);return n===-1?i:`${i}#${x8(e.slice(n+1))}`}function j1(t,e){if(typeof t=="string"){const n=Mv(t);if(C8.test(n))throw new Z(`Invalid URL ${JSON.stringify(S8(n))}: missing "//" after protocol`,Z.ERR_INVALID_URL,e)}}function Nv(t,e,n,r){j1(e,r);let i=!w8(e);return t&&(i||n===!1)?(j1(t,r),_8(t,e)):e}const H1=t=>t instanceof $t?q({},t):t,E8=t=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(t).concat(Object.getOwnPropertySymbols(t).filter(e=>Object.getOwnPropertyDescriptor(t,e).enumerable)):Object.keys(t);function Di(t,e){t=t||{},e=e||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(u,f,d,h){return O.isPlainObject(u)&&O.isPlainObject(f)?O.merge.call({caseless:h},u,f):O.isPlainObject(f)?O.merge({},f):O.isArray(f)?f.slice():f}function i(u,f,d,h){if(O.isUndefined(f)){if(!O.isUndefined(u))return r(void 0,u,d,h)}else return r(u,f,d,h)}function s(u,f){if(!O.isUndefined(f))return r(void 0,f)}function o(u,f){if(O.isUndefined(f)){if(!O.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function a(u){const f=O.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!O.isUndefined(f))if(O.isPlainObject(f)){if(O.hasOwnProp(f,u))return f[u]}else return;const d=O.hasOwnProp(t,"transitional")?t.transitional:void 0;if(O.isPlainObject(d)&&O.hasOwnProp(d,u))return d[u]}function c(u,f,d){if(O.hasOwnProp(e,d))return r(u,f);if(O.hasOwnProp(t,d))return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutErrorMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBo
3dyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:c,headers:(u,f,d)=>i(H1(u),H1(f),d,!0)};return O.forEach(E8(q(q({},t),e)),function(f){if(f==="__proto__"||f==="constructor"||f==="prototype")return;const d=O.hasOwnProp(l,f)?l[f]:i,h=O.hasOwnProp(t,f)?t[f]:void 0,g=O.hasOwnProp(e,f)?e[f]:void 0,p=d(h,g,f);O.isUndefined(p)&&d!==c||(n[f]=p)}),O.hasOwnProp(e,"validateStatus")&&O.isUndefined(e.validateStatus)&&a("validateStatusUndefinedResolves")===!1&&(O.hasOwnProp(t,"validateStatus")?n.validateStatus=r(void 0,t.validateStatus):delete n.validateStatus),n}const A8=["content-type","content-length"];function T8(t,e,n){if(n!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([r,i])=>{A8.includes(r.toLowerCase())&&t.set(r,i)})}const O8=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16)));function Bv(t){const e=Di({},t),n=d=>O.hasOwnProp(e,d)?e[d]:void 0,r=n("data");let i=n("withXSRFToken");const s=n("xsrfHeaderName"),o=n("xsrfCookieName");let a=n("headers");const c=n("auth"),l=n("baseURL"),u=n("allowAbsoluteUrls"),f=n("url");if(e.headers=a=$t.from(a),e.url=kv(Nv(l,f,u,e),n("params"),n("paramsSerializer")),c){const d=O.getSafeProp(c,"username")||"",h=O.getSafeProp(c,"password")||"";try{a.set("Authorization","Basic "+btoa(d+":"+(h?O8(h):"")))}catch(g){throw Z.from(g,Z.ERR_BAD_OPTION_VALUE,t)}}if(O.isFormData(r)){const d=O.getSafeProp(r,"getHeaders");_t.hasStandardBrowserEnv||_t.hasStandardBrowserWebWorkerEnv||O.isReactNative(r)?a.setContentType(void 0):O.isFunction(d)&&T8(a,d.call(r),n("formDataHeaderPolicy"))}if(_t.hasStandardBrowserEnv&&(O.isFunction(i)&&(i=i(e)),i===!0||i==null&&v8(e.url))){const h=s&&o&&b8.read(o);h&&a.set(s,h)}return e}const k8=typeof XMLHttpRequest!="undefined",R8=k8&&function(t){return new Promise(function(n,r){const i=Bv(t);let s=i.data;const o=$t.from(i.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:l}=i,u,f,d,h,g,p;function m(){h&&h(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let y=new XMLHttpRequest;y.open(i.method.toUpperCase(),i.url,!0),y.timeout=i.timeout;function v(w){if(!y)return;if(y.status===0&&(xu(Mv(i.url))||xu(_t.origin))!=="file"&&!(y.responseURL&&y.responseURL.startsWith("file:"))){r(new Z("Request aborted",Z.ECONNABORTED,t,y)),m(),y=null;return}try{w?p&&p(w):g&&g()}catch(E){setTimeout(()=>{throw E})}if(!y)return;const _=$t.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),x={data:!a||a==="text"||a==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:_,config:t,request:y};$v(function(A){n(A),m()},function(A){r(A),m()},x),y=null}"onloadend"in y?y.onloadend=v:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.startsWith("file:"))||setTimeout(v)},y.onabort=function(){y&&(r(new Z("Request aborted",Z.ECONNABORTED,t,y)),m(),y=null)},y.onerror=function(_){const S=_&&_.message?_.message:"Network Error",x=new Z(S,Z.ERR_NETWORK,t,y);x.event=_||null,r(x),m(),y=null},y.ontimeout=function(){let _=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const S=i.transitional||Fh;i.timeoutErrorMessage&&(_=i.timeoutErrorMessage),r(new Z(_,S.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,t,y)),m(),y=null},s===void 0&&o.setContentType(null),"setRequestHeader"in y&&O.forEach(Sv(o),function(_,S){y.setRequestHeader(S,_)}),O.isUndefined(i.withCredentials)||(y.withCredentials=!!i.withCredentials),a&&a!=="json"&&(y.responseType=i.responseType),l&&([d,g,p]=Nc(l,!0),y.addEventListener("progress",d)),c&&y.upload&&([f,h]=Nc(c),y.upload.addEventListener("progress",f),y.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=w=>{y&&(r(!w||w.type?new ya(null,t,y):w),y.abort(),m(),y=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const b=xu(i.url);if(b&&!_t.protocols.includes(b)){r(new Z("Unsupported protocol "+b+":",Z.ERR_BAD_REQUEST,t)),m();return}y.send(s||null)})},P8=(t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;const n=new AbortController;let r=!1;const i=function(c){if(!r){r=!0,o();const l=c instanceof Error?c:this.reason;n.abort(l instanceof Z?l:new ya(l instanceof Error?l.message:l))}};let s=e&&setTimeout(()=>{s=null,i(new Z(`timeout of ${e}ms exceeded`,Z.ETIMEDOUT))},e);const o=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),t=null)};t.forEach(c=>{if(!r){if(c.aborted){i.call(c);return}c.addEventListener("abort",i,{once:!0})}});const{signal:a}=n;return a.unsubscribe=()=>O.asap(o),a}
3,D8=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,i;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},I8=function(t,e){return Rl(this,null,function*(){try{for(var n=g0(L8(t)),r,i,s;r=!(i=yield new Zr(n.next())).done;r=!1){const o=i.value;yield*Pl(D8(o,e))}}catch(i){s=[i]}finally{try{r&&(i=n.return)&&(yield new Zr(i.call(n)))}finally{if(s)throw s[0]}}})},L8=function(t){return Rl(this,null,function*(){if(t[Symbol.asyncIterator]){yield*Pl(t);return}const e=t.getReader();try{for(;;){const{done:n,value:r}=yield new Zr(e.read());if(n)break;yield r}}finally{yield new Zr(e.cancel())}})},W1=(t,e,n,r)=>{const i=I8(t,e);let s=0,o,a=l=>{o||(o=!0,r&&r(l))};return new ReadableStream({pull(l){return te(this,null,function*(){try{const{done:u,value:f}=yield i.next();if(u){a(),l.close();return}let d=f.byteLength;if(n){let h=s+=d;n(h)}l.enqueue(new Uint8Array(f))}catch(u){throw a(u),u}})},cancel(l){return a(l),i.return()}},{highWaterMark:2})},V1=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,Fv=(t,e,n)=>e+2<n&&V1(t.charCodeAt(e+1))&&V1(t.charCodeAt(e+2)),X1=t=>t<=57?t-48:(t&223)-55,$8=t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,M8=t=>t===9||t===10||t===12||t===13||t===32,N8=t=>{const e=Math.floor(t/4),n=t%4;return e*3+(n===2?1:n===3?2:0)},B8=t=>{const e=t.length;let n=0;return e>0&&t.charCodeAt(e-1)===61&&(n++,e>1&&t.charCodeAt(e-2)===61&&n++),Math.floor((e-n)*3/4)},F8=t=>{const e=t.length;let n=0,r=0,i=!1;for(let s=0;s<e;s++){let o=t.charCodeAt(s);if(o===37&&Fv(t,s,e)&&(o=X1(t.charCodeAt(s+1))*16+X1(t.charCodeAt(s+2)),s+=2),!M8(o)){if(o===61){r++;continue}if(!$8(o)||r>0){i=!0;continue}n++}}return i||r>2||r>0&&(n+r)%4!==0||n%4===1?B8(t):N8(n)},U8=(t,e)=>{if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;const n=t.indexOf(",");if(n<0)return 0;const r=t.slice(5,n),i=t.slice(n+1);if(/;base64/i.test(r))return e(i);let o=0;for(let a=0,c=i.length;a<c;a++){const l=i.charCodeAt(a);if(l===37&&Fv(i,a,c))o+=1,a+=2;else if(l<128)o+=1;else if(l<2048)o+=2;else if(l>=55296&&l<=56319&&a+1<c){const u=i.charCodeAt(a+1);u>=56320&&u<=57343?(o+=4,a++):o+=3}else o+=3}return o};function z8(t){const e=typeof t=="string"?t.indexOf("#"):-1;return U8(e===-1?t:t.slice(0,e),F8)}const zh="1.20.0",K1=64*1024,q8={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:ka}=O,j8=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16))),G1=t=>{if(!O.isString(t))return t;try{return decodeURIComponent(t)}catch(e){return t}},Y1=(t,...e)=>{try{return!!t(...e)}catch(n){return!1}},H8=t=>{const e=t.indexOf("://");let n=t;return e!==-1&&(n=n.slice(e+3)),n.includes("@")||n.includes(":")},W8=t=>{const e=O.global!==void 0&&O.global!==null?O.global:globalThis,{ReadableStream:n,TextEncoder:r}=e;t=O.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);const{fetch:i,Request:s,Response:o}=t,a=i?ka(i):typeof fetch=="function",c=ka(s),l=ka(o);if(!a)return!1;const u=a&&ka(n),f=a&&(typeof r=="function"?(y=>v=>y.encode(v))(new r):y=>te(null,null,function*(){return new Uint8Array(yield new s(y).arrayBuffer())})),d=c&&u&&Y1(()=>{let y=!1;const v=new s(_t.origin,{body:new n,method:"POST",get duplex(){return y=!0,"half"}}),b=v.headers.has("Content-Type");return v.body!=null&&v.body.cancel(),y&&!b}),h=l&&u&&Y1(()=>O.isReadableStream(new o("").body)),g={stream:h&&(y=>y.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(y=>{!g[y]&&(g[y]=(v,b)=>{let w=v&&v[y];if(w)return w.call(v);throw new Z(`Response type '${y}' is not supported`,Z.ERR_NOT_SUPPORT,b)})});const p=y=>te(null,null,function*(){if(y==null)return 0;if(O.isBlob(y))return y.size;if(O.isSpecCompliantForm(y))return(yield new s(_t.origin,{method:"POST",body:y}
3).arrayBuffer()).byteLength;if(O.isArrayBufferView(y)||O.isArrayBuffer(y))return y.byteLength;if(O.isURLSearchParams(y)&&(y=y+""),O.isString(y))return(yield f(y)).byteLength}),m=(y,v)=>te(null,null,function*(){const b=O.toFiniteNumber(y.getContentLength());return b==null?p(v):b});return y=>te(null,null,function*(){let{url:v,method:b,data:w,signal:_,cancelToken:S,timeout:x,onDownloadProgress:E,onUploadProgress:A,responseType:P,headers:T,withCredentials:I="same-origin",fetchOptions:L,maxContentLength:R,maxBodyLength:k,maxRedirects:$}=Bv(y);const U=O.isNumber(R)&&R>-1,j=O.isNumber(k)&&k>-1,V=G=>O.hasOwnProp(y,G)?y[G]:void 0;let ie=i||fetch;P=P?(P+"").toLowerCase():"text";let F=P8([_,S&&S.toAbortSignal()],x),z=null;const ce=F&&F.unsubscribe&&(()=>{F.unsubscribe()});let le,be=null;const he=()=>new Z("Request body larger than maxBodyLength limit",Z.ERR_BAD_REQUEST,y,z);try{let G;const Q=V("auth");if(Q){const ge=O.getSafeProp(Q,"username")||"",pt=O.getSafeProp(Q,"password")||"";G={username:ge,password:pt}}if(H8(v)){const ge=new URL(v,_t.origin);if(!G&&(ge.username||ge.password)){const pt=G1(ge.username),In=G1(ge.password);G={username:pt,password:In}}(ge.username||ge.password)&&(ge.username="",ge.password="",v=ge.href)}if(G&&(T.delete("authorization"),T.set("Authorization","Basic "+btoa(j8((G.username||"")+":"+(G.password||""))))),U&&typeof v=="string"&&v.startsWith("data:")&&z8(v)>R)throw new Z("maxContentLength size of "+R+" exceeded",Z.ERR_BAD_RESPONSE,y,z);if(j&&b!=="get"&&b!=="head"){const ge=yield p(w);if(typeof ge=="number"&&isFinite(ge)&&(le=ge,ge>k))throw he()}const ue=j&&(O.isReadableStream(w)||O.isStream(w)),we=(ge,pt,In)=>W1(ge,K1,en=>{if(j&&en>k)throw be=he();pt&&pt(en)},In);if(d&&b!=="get"&&b!=="head"&&(A||ue)){if(le=le==null?yield m(T,w):le,le!==0||ue){let ge=new s(v,{method:"POST",body:w,duplex:"half"}),pt;if(O.isFormData(w)&&(pt=ge.headers.get("content-type"))&&T.setContentType(pt),ge.body){const[In,en]=A&&z1(le,Nc(q1(A)))||[];w=we(ge.body,In,en)}}}else if(ue&&!c&&u&&b!=="get"&&b!=="head")w=we(w);else if(ue&&c&&!d&&b!=="get"&&b!=="head")throw new Z("Stream request bodies are not supported by the current fetch implementation",Z.ERR_NOT_SUPPORT,y,z);O.isString(I)||(I=I?"include":"omit");const $e=c&&"credentials"in s.prototype;if(O.isFormData(w)){const ge=T.getContentType();ge&&/^multipart\/form-data/i.test(ge)&&!/boundary=/i.test(ge)&&T.delete("content-type")}T.set("User-Agent","axios/"+zh,!1);const Me=L==null?L:Object.assign(Object.create(null),L);Me&&(delete Me.body,delete Me.headers,delete Me.method,delete Me.signal,delete Me.duplex,delete Me.credentials);const ut=Object.assign(Object.create(null),Me,{signal:F,method:b.toUpperCase(),headers:Sv(T.normalize()),body:w,duplex:"half",credentials:$e?I:void 0});c&&(O.forEach(q8,(ge,pt)=>{ut[pt]===void 0&&(ut[pt]=ge)}),ut.signal===void 0&&(ut.signal=null),ut.body===void 0&&(ut.body=null)),$===0&&(ut.redirect="manual",Me&&(Me.redirect="manual")),z=c&&new s(v,ut);let St=yield c?ie(z,Me):ie(v,ut);const Ys=$t.from(St.headers);if(U){const ge=O.toFiniteNumber(Ys.getContentLength());if(ge!=null&&ge>R)throw new Z("maxContentLength size of "+R+" exceeded",Z.ERR_BAD_RESPONSE,y,z)}const Et=h&&(P==="stream"||P==="response");if(h&&St.body&&(E||U||Et&&ce)){const ge={};["status","statusText","headers"].forEach(Zs=>{ge[Zs]=St[Zs]});const pt=O.toFiniteNumber(Ys.getContentLength()),[In,en]=E&&z1(pt,Nc(q1(E),!0))||[];let Js=0;const _a=Zs=>{if(U&&(Js=Zs,Js>R))throw new Z("maxContentLength size of "+R+" exceeded",Z.ERR_BAD_RESPONSE,y,z);In&&In(Zs)};St=new o(W1(St.body,K1,_a,()=>{en&&en(),ce&&ce()}),ge)}P=P||"text";let rt=yield g[O.findKey(g,P)||"text"](St,y);if(U&&!h&&!Et){let ge;if(rt!=null&&(typeof rt.byteLength=="number"?ge=rt.byteLength:typeof rt.size=="number"?ge=rt.size:typeof rt=="string"&&(ge=typeof r=="function"?new r().encode(rt).byteLength:rt.length)),typeof ge=="number"&&ge>R)throw new Z("maxContentLength size of "+R+" exceeded",Z.ERR_BAD_RESPONSE,y,z)}return!Et&&ce&&ce(),yield new Promise((ge,pt)=>{$v(ge,pt,{data:rt,headers:$t.from(St.headers),status:St.status,statusText:St.statusText,config:y,request:z})})}catch(G){if(ce&&ce(),F&&F.aborted&&F.reason instanceof Z){const Q=F.reason;throw Q.config=y,z&&(Q.request=z),G!==Q&&Object.defineProperty(Q,"cause",{__proto__:null,value:G,writable:!0,enumerable:!1,
3configurable:!0}),Q}if(be)throw z&&!be.request&&(be.request=z),be;if(G instanceof Z)throw z&&!G.request&&(G.request=z),G;if(G&&G.name==="TypeError"&&/Load failed|fetch/i.test(G.message)){const Q=new Z("Network Error",Z.ERR_NETWORK,y,z,G&&G.response);throw Object.defineProperty(Q,"cause",{__proto__:null,value:G.cause||G,writable:!0,enumerable:!1,configurable:!0}),Q}throw Z.from(G,G&&G.code,y,z,G&&G.response)}})},V8=new Map,Uv=t=>{let e=t&&t.env||{};const{fetch:n,Request:r,Response:i}=e,s=[r,i,n];let o=s.length,a=o,c,l,u=V8;for(;a--;)c=s[a],l=u.get(c),l===void 0&&u.set(c,l=a?new Map:W8(e)),u=l;return l};Uv();const qh={http:Q9,xhr:R8,fetch:{get:Uv}};O.forEach(qh,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch(n){}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});const J1=t=>`- ${t}`,X8=t=>O.isFunction(t)||t===null||t===!1;function K8(t,e){t=O.isArray(t)?t:[t];const{length:n}=t;let r,i;const s={};for(let o=0;o<n;o++){r=t[o];let a;if(i=r,!X8(r)&&(i=qh[(a=String(r)).toLowerCase()],i===void 0))throw new Z(`Unknown adapter '${a}'`);if(i&&(O.isFunction(i)||(i=i.get(e))))break;s[a||"#"+o]=i}if(!i){const o=Object.entries(s).map(([c,l])=>`adapter ${c} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=n?o.length>1?`since :
4`+o.map(J1).join(`
5`):" "+J1(o[0]):"as no adapter specified";throw new Z("There is no suitable adapter to dispatch the request "+a,Z.ERR_NOT_SUPPORT)}return i}const zv={getAdapter:K8,adapters:qh};function Su(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ya(null,t)}function Eu(t){const e=O.toSafeFlatObject(t);return Su(e),e.headers=$t.from(O.getSafeProp(e,"headers")),e.data=Cu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),zv.getAdapter(e.adapter||ma.adapter,e)(e).then(function(i){Su(e),e.response=i;try{i.data=Cu.call(e,e.transformResponse,i)}finally{delete e.response}return i.headers=$t.from(i.headers),i},function(i){if(!Lv(i)&&(Su(e),i&&i.response)){e.response=i.response;try{i.response.data=Cu.call(e,e.transformResponse,i.response)}finally{delete e.response}i.response.headers=$t.from(i.response.headers)}return Promise.reject(i)})}const fl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{fl[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Z1={};fl.transitional=function(e,n,r){function i(s,o){return"[Axios v"+zh+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return(s,o,a)=>{if(e===!1)throw new Z(i(o," has been removed"+(n?" in "+n:"")),Z.ERR_DEPRECATED);return n&&!Z1[o]&&(Z1[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,o,a):!0}};fl.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function G8(t,e,n){if(typeof t!="object"||t===null)throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const s=r[i],o=Object.prototype.hasOwnProperty.call(e,s)?e[s]:void 0;if(o){const a=t[s],c=a===void 0||o(a,s,t);if(c!==!0)throw new Z("option "+s+" must be "+c,Z.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Z("Unknown option "+s,Z.ERR_BAD_OPTION)}}const ac={assertOptions:G8,validators:fl},kt=ac.validators;let Ei=class{constructor(e){this.defaults=e||{},this.interceptors={request:new F1,response:new F1}}request(e,n){return te(this,null,function*(){try{return yield this._request(e,n)}catch(r){if(r instanceof Error)try{let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack;let o="";if(typeof s=="string"){const a=s.indexOf(`
6`);o=a===-1?"":s.slice(a+1)}if(!r.stack)r.stack=o;else if(o){const a=o.indexOf(`
7`),c=a===-1?-1:o.indexOf(`
8`,a+1),l=c===-1?"":o.slice(c+1);String(r.stack).endsWith(l)||(r.stack+=`
9`+o)}}catch(i){}throw r}})}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Di(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&ac.assertOptions(r,{silentJSONParsing:kt.transitional(kt.boolean),forcedJSONParsing:kt.transitional(kt.boolean),clarifyTimeoutError:kt.transitional(kt.boolean),legacyInterceptorReqResOrdering:kt.transitional(kt.boolean),advertiseZstdAcceptEncoding:kt.transitional(kt.boolean),validateStatusUndefinedResolves:kt.transitional(kt.boolean)}
9,!1),i!=null&&(O.isFunction(i)?n.paramsSerializer={serialize:i}:ac.assertOptions(i,{encode:kt.function,serialize:kt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ac.assertOptions(n,{baseUrl:kt.spelling("baseURL"),withXsrfToken:kt.spelling("withXSRFToken")},!0),n.method=(O.getSafeProp(n,"method")||O.getSafeProp(this.defaults,"method")||"get").toLowerCase();let o=s&&O.merge(s.common,s[n.method]);s&&O.forEach(Iv.concat("common"),g=>{delete s[g]}),n.headers=$t.concat(o,s);const a=[];let c=!0;this.interceptors.request.forEach(function(p){if(typeof p.runWhen=="function"&&p.runWhen(n)===!1)return;c=c&&p.synchronous;const m=n.transitional||Fh;m&&m.legacyInterceptorReqResOrdering?a.unshift(p.fulfilled,p.rejected):a.push(p.fulfilled,p.rejected)});const l=[];this.interceptors.response.forEach(function(p){l.push(p.fulfilled,p.rejected)});let u,f=0,d;if(!c){const g=[Eu.bind(this),void 0];for(g.unshift(...a),g.push(...l),d=g.length,u=Promise.resolve(n);f<d;)u=u.then(g[f++],g[f++]);return u}d=a.length;let h=n;for(;f<d;){const g=a[f++],p=a[f++];try{h=g?g(h):h}catch(m){if(!p){u=Promise.reject(m);break}try{const y=p.call(this,m);O.isThenable(y)&&(u=Promise.resolve(y).then(()=>Eu.call(this,h)))}catch(y){u=Promise.reject(y)}break}}if(!u)try{u=Eu.call(this,h)}catch(g){u=Promise.reject(g)}for(f=0,d=l.length;f<d;)u=u.then(l[f++],l[f++]);return u}getUri(e){e=Di(this.defaults,e);const n=Nv(e.baseURL,e.url,e.allowAbsoluteUrls,e);return kv(n,e.params,e.paramsSerializer)}};O.forEach(["delete","get","head","options"],function(e){Ei.prototype[e]=function(n,r){return this.request(Di(r||{},{method:e,url:n,data:r&&O.hasOwnProp(r,"data")?r.data:void 0}))}});O.forEach(["post","put","patch","query"],function(e){function n(r){return function(s,o,a){return this.request(Di(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}Ei.prototype[e]=n(),e!=="query"&&(Ei.prototype[e+"Form"]=n(!0))});let Y8=class qv{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(i=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{r.subscribe(a),s=a}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},e(function(s,o,a){r.reason||(r.reason=new ya(s,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new qv(function(i){e=i}),cancel:e}}};function J8(t){return function(n){return t.apply(null,n)}}function Z8(t){return O.isObject(t)&&t.isAxiosError===!0}const cc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
9alContent: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,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent: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,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(cc).forEach(([t,e])=>{cc[e]===void 0&&(cc[e]=t)});function jv(t){const e=new Ei(t),n=hv(Ei.prototype.request,e);return O.extend(n,Ei.prototype,e,{allOwnKeys:!0}),O.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return jv(Di(t,i))},n}const ct=jv(ma);ct.Axios=Ei;ct.CanceledError=ya;ct.CancelToken=Y8;ct.isCancel=Lv;ct.VERSION=zh;ct.toFormData=ul;ct.AxiosError=Z;ct.Cancel=ct.CanceledError;ct.all=function(e){return Promise.all(e)};ct.spread=J8;ct.isAxiosError=Z8;ct.mergeConfig=Di;ct.AxiosHeaders=$t;ct.formToJSON=t=>Dv(O.isHTMLForm(t)?new FormData(t):t);ct.getAdapter=zv.getAdapter;ct.HttpStatusCode=cc;ct.default=ct;const{Axios:OI,AxiosError:kI,CanceledError:RI,isCancel:PI,CancelToken:DI,VERSION:II,all:LI,Cancel:$I,isAxiosError:MI,spread:NI,toFormData:BI,AxiosHeaders:FI,HttpStatusCode:UI,formToJSON:zI,getAdapter:qI,mergeConfig:jI,create:HI}=ct;let dd;function Q8(t){dd=t}let lc=null,os=null;function eC(t){lc=t}function tC(){var t;return os||(os=((t=lc==null?void 0:lc())!=null?t:Promise.resolve()).finally(()=>{os=null})),os}function nC(t){var r;const e=t==null?void 0:t.response;if(!e||e.status!==403)return!1;const n=(r=e.headers)==null?void 0:r["cf-mitigated"];return n==="challenge"||n==="managed"}let ti;function vt(){return ti||(ti=ct.create({baseURL:"/api"}),ti.interceptors.request.use(t=>te(null,null,function*(){return os&&(yield os),t.cache&&(t.baseURL="/cache",delete t.cache),t.headers=t.headers||{},t}),t=>Promise.reject(String(t)+":REQ!")),ti.interceptors.response.use(t=>{const e=t.data;if(e.code===0)return e.data;{(e.code===403||e.code==="403")&&window.location.reload();const n=new Bc(e.msg,e.code,e,t.config.url,t.config.method);return Promise.reject(n)}},t=>te(null,null,function*(){const e=t.config;return e&&nC(t)&&!e.__cfRetried?(e.__cfRetried=!0,yield tC(),ti(e)):t instanceof Bc?Promise.reject(t):t&&t.response?Promise.reject(new Fc("Oops! We lost your network, Please have a check!","",t)):Promise.reject(new Fc("Network error!","",t))})),ti.interceptors.response.use(t=>t,t=>te(null,null,function*(){return dd&&(yield dd(t)),Promise.reject(t)}))),ti}
9class ji extends Error{constructor(e,n,r={},i){super(e),this.kind=n,this.meta=r,this.name="AppError",i instanceof Error&&i.stack&&(this.stack=i.stack)}}class Bc extends ji{constructor(e,n,r,i,s){super(e,"biz",{bizCode:n,url:i,httpStatus:200,method:s}),this.code=n,this.response=r,this.name="HttpResponseError"}}class Fc extends ji{constructor(e,n,r){var c,l,u;const i=(c=r==null?void 0:r.response)==null?void 0:c.status,s=(l=r==null?void 0:r.config)==null?void 0:l.url,o=(u=r==null?void 0:r.config)==null?void 0:u.method,a=r==null?void 0:r.code;super(e,i?"http":"network",{httpStatus:i,url:s,method:o,axiosCode:a},r),this.tip=n,this.name="ErrorWithTip"}}const Au=[{level:0,levelName:"Beginner",levelXp:0,minXp:0,maxXp:1e3},{level:1,levelName:"Bronze I",levelXp:1e3,minXp:1e3,maxXp:3e3},{level:2,levelName:"Bronze II",levelXp:3e3,minXp:3e3,maxXp:7e3},{level:3,levelName:"Bronze III",levelXp:7e3,minXp:7e3,maxXp:15e3},{level:4,levelName:"Bronze IV",levelXp:15e3,minXp:15e3,maxXp:3e4},{level:5,levelName:"Silver I",levelXp:3e4,minXp:3e4,maxXp:6e4},{level:6,levelName:"Silver II",levelXp:6e4,minXp:6e4,maxXp:12e4},{level:7,levelName:"Silver III",levelXp:12e4,minXp:12e4,maxXp:24e4},{level:8,levelName:"Silver IV",levelXp:24e4,minXp:24e4,maxXp:5e5},{level:9,levelName:"Gold I",levelXp:5e5,minXp:5e5,maxXp:1e6},{level:10,levelName:"Gold II",levelXp:1e6,minXp:1e6,maxXp:2e6},{level:11,levelName:"Gold III",levelXp:2e6,minXp:2e6,maxXp:35e5},{level:12,levelName:"Gold IV",levelXp:35e5,minXp:35e5,maxXp:6e6},{level:13,levelName:"Platinum I",levelXp:6e6,minXp:6e6,maxXp:85e5},{level:14,levelName:"Platinum II",levelXp:85e5,minXp:85e5,maxXp:11e6},{level:15,levelName:"Platinum III",levelXp:11e6,minXp:11e6,maxXp:15e6},{level:16,levelName:"Platinum IV",levelXp:15e6,minXp:15e6,maxXp:25e6},{level:17,levelName:"Diamond I",levelXp:25e6,minXp:25e6,maxXp:4e7},{level:18,levelName:"Diamond II",levelXp:4e7,minXp:4e7,maxXp:65e6},{level:19,levelName:"Diamond III",levelXp:65e6,minXp:65e6,maxXp:11e7},{level:20,levelName:"Diamond IV",levelXp:11e7,minXp:11e7,maxXp:2e8},{level:21,levelName:"Diamond V",levelXp:2e8,minXp:2e8,maxXp:4e8},{level:22,levelName:"Diamond VI",levelXp:4e8,minXp:4e8,maxXp:1e9},{level:23,levelName:"Diamond VII",levelXp:1e9,minXp:1e9,maxXp:15e8},{level:24,levelName:"Eternal I",levelXp:15e8,minXp:15e8,maxXp:22e8},{level:25,levelName:"Eternal II",levelXp:22e8,minXp:22e8,maxXp:32e8},{level:26,levelName:"Eternal III",levelXp:32e8,minXp:32e8,maxXp:45e8},{level:27,levelName:"Eternal IV",levelXp:45e8,minXp:45e8,maxXp:6e9},{level:28,levelName:"Eternal V",levelXp:6e9,minXp:6e9,maxXp:72e8},{level:29,levelName:"Eternal VI",levelXp:72e8,minXp:72e8,maxXp:83e8},{level:30,levelName:"Eternal VII",levelXp:83e8,minXp:83e8,maxXp:9e9},{level:31,levelName:"Eternal VIII",levelXp:9e9,minXp:9e9,maxXp:95e8},{level:32,levelName:"Eternal IX",levelXp:95e8,minXp:95e8,maxXp:1e10},{level:33,levelName:"Eternal X",levelXp:1e10,minXp:1e10,maxXp:1e10}],Hv=Se(()=>$h(()=>["/game/support/vip-v2/config/"],e=>te(null,[e],function*([t]){var n;try{const r=yield vt().get(t);return!Array.isArray(r)||r.length===0||typeof((n=r[0])==null?void 0:n.level)!="number"?Au:r}catch(r){return console.warn("[vipV2Config] fetch failed, using default config",r),Au}}),{version:1,initialValue:Au,expires:864e5})),Q1=[0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,5,5,6,6,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8];function Wv(t){return t<0?0:t>=Q1.length?8:Q1[t]}const rC=(t=>t);function iC(t,e=rC){return(n,...r)=>{var s;n[0]==="."&&(n=n.slice(1));const i=(s=t())==null?void 0:s[n];switch(typeof i){case"function":return i(...r);case"string":return e(i,r[0]);default:return i}}}function dl(t,e){const n=Fy(JSON.stringify(t)).toString(36),r=localStorage,i=e.name;function s(){let l=r.getItem(i);if(l=l&&l.indexOf(n)===-1?null:l,!l)return null;try{return(e.deserialize||JSON.parse)(l)}catch(u){return null}}const o=s(),[a,c]=zt(de(q(de(q({},t),{__version:n}),o!=null?o:{}),{_isStale:!0}));return pe(()=>{const f=a,{_isStale:l}=f,u=Qs(f,["_isStale"]);r.setItem(i,JSON.stringify(u))}),[a,c,o!==null]}const sC="modulepreload",oC=function(t){return"/"+t},eg={},va=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){let c=function(l){return Promise.all(l.map(u=>Promise.resolve(u).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}
9))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=c(n.map(l=>{if(l=oC(l),l in eg)return;eg[l]=!0;const u=l.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":sC,u||(d.as="script"),d.crossOrigin="",d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((h,g)=>{d.addEventListener("load",h),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})};var Ra={exports:{}},Tu,tg;function Vv(){if(tg)return Tu;tg=1;var t=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,e=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];Tu=function(s){var o=s,a=s.indexOf("["),c=s.indexOf("]");a!=-1&&c!=-1&&(s=s.substring(0,a)+s.substring(a,c).replace(/:/g,";")+s.substring(c,s.length));for(var l=t.exec(s||""),u={},f=14;f--;)u[e[f]]=l[f]||"";return a!=-1&&c!=-1&&(u.source=o,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),u.pathNames=n(u,u.path),u.queryKey=r(u,u.query),u};function n(i,s){var o=/\/{2,9}/g,a=s.replace(o,"/").split("/");return(s.substr(0,1)=="/"||s.length===0)&&a.splice(0,1),s.substr(s.length-1,1)=="/"&&a.splice(a.length-1,1),a}function r(i,s){var o={};return s.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(a,c,l){c&&(o[c]=l)}),o}return Tu}var Pa={exports:{}},Ou,ng;function aC(){if(ng)return Ou;ng=1;var t=1e3,e=t*60,n=e*60,r=n*24,i=r*7,s=r*365.25;Ou=function(u,f){f=f||{};var d=typeof u;if(d==="string"&&u.length>0)return o(u);if(d==="number"&&isFinite(u))return f.long?c(u):a(u);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(u))};function o(u){if(u=String(u),!(u.length>100)){var f=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(u);if(f){var d=parseFloat(f[1]),h=(f[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return d*s;case"weeks":case"week":case"w":return d*i;case"days":case"day":case"d":return d*r;case"hours":case"hour":case"hrs":case"hr":case"h":return d*n;case"minutes":case"minute":case"mins":case"min":case"m":return d*e;case"seconds":case"second":case"secs":case"sec":case"s":return d*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:return}}}}function a(u){var f=Math.abs(u);return f>=r?Math.round(u/r)+"d":f>=n?Math.round(u/n)+"h":f>=e?Math.round(u/e)+"m":f>=t?Math.round(u/t)+"s":u+"ms"}function c(u){var f=Math.abs(u);return f>=r?l(u,f,r,"day"):f>=n?l(u,f,n,"hour"):f>=e?l(u,f,e,"minute"):f>=t?l(u,f,t,"second"):u+" ms"}function l(u,f,d,h){var g=f>=d*1.5;return Math.round(u/d)+" "+h+(g?"s":"")}return Ou}var ku,rg;function cC(){if(rg)return ku;rg=1;function t(e){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=s,r.enabled=c,r.humanize=aC(),r.destroy=u,Object.keys(e).forEach(f=>{r[f]=e[f]}),r.names=[],r.skips=[],r.formatters={};function n(f){let d=0;for(let h=0;h<f.length;h++)d=(d<<5)-d+f.charCodeAt(h),d|=0;return r.colors[Math.abs(d)%r.colors.length]}r.selectColor=n;function r(f){let d,h=null,g,p;function m(...y){if(!m.enabled)return;const v=m,b=Number(new Date),w=b-(d||b);v.diff=w,v.prev=d,v.curr=b,d=b,y[0]=r.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let _=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(x,E)=>{if(x==="%%")return"%";_++;const A=r.formatters[E];if(typeof A=="function"){const P=y[_];x=A.call(v,P),y.splice(_,1),_--}return x}),r.formatArgs.call(v,y),(v.log||r.log).apply(v,y)}return m.namespace=f,m.useColors=r.useColors(),m.color=r.selectColor(f),m.extend=i,m.destroy=r.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(g!==r.namespaces&&(g=r.namespaces,p=r.enabled(f)),p),set:y=>{h=y}}),typeof r.init=="function"&&r.init(m),m}function i(f,d){const h=r(this.namespace+(typeof d=="undefined"?":":d)+f);return h.log=this.log,h}function s(f){r.save(f),r.namespaces=f,r.names=[],r.skips=[];const d=(typeof f=="string"?f:"").trim().replace(/\s+/g,",").split(",").filter(
9Boolean);for(const h of d)h[0]==="-"?r.skips.push(h.slice(1)):r.names.push(h)}function o(f,d){let h=0,g=0,p=-1,m=0;for(;h<f.length;)if(g<d.length&&(d[g]===f[h]||d[g]==="*"))d[g]==="*"?(p=g,m=h,g++):(h++,g++);else if(p!==-1)g=p+1,m++,h=m;else return!1;for(;g<d.length&&d[g]==="*";)g++;return g===d.length}function a(){const f=[...r.names,...r.skips.map(d=>"-"+d)].join(",");return r.enable(""),f}function c(f){for(const d of r.skips)if(o(f,d))return!1;for(const d of r.names)if(o(f,d))return!0;return!1}function l(f){return f instanceof Error?f.stack||f.message:f}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}return ku=t,ku}var ig;function Ar(){return ig||(ig=1,(function(t,e){var n={};e.formatArgs=i,e.save=s,e.load=o,e.useColors=r,e.storage=a(),e.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){if(typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let l;return typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&(l=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(l[1],10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function i(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;l.splice(1,0,u,"color: inherit");let f=0,d=0;l[0].replace(/%[a-zA-Z%]/g,h=>{h!=="%%"&&(f++,h==="%c"&&(d=f))}),l.splice(d,0,u)}e.log=console.debug||console.log||(()=>{});function s(l){try{l?e.storage.setItem("debug",l):e.storage.removeItem("debug")}catch(u){}}function o(){let l;try{l=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch(u){}return!l&&typeof process!="undefined"&&"env"in process&&(l=n.DEBUG),l}function a(){try{return localStorage}catch(l){}}t.exports=cC()(e);const{formatters:c}=t.exports;c.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(Pa,Pa.exports)),Pa.exports}var Ru,sg;function lC(){if(sg)return Ru;sg=1;var t=Vv(),e=Ar()("socket.io-client:url");Ru=n;function n(r,i){var s=r;i=i||typeof location!="undefined"&&location,r==null&&(r=i.protocol+"//"+i.host),typeof r=="string"&&(r.charAt(0)==="/"&&(r.charAt(1)==="/"?r=i.protocol+r:r=i.host+r),/^(https?|wss?):\/\//.test(r)||(e("protocol-less url %s",r),typeof i!="undefined"?r=i.protocol+"//"+r:r="https://"+r),e("parse %s",r),s=t(r)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";var o=s.host.indexOf(":")!==-1,a=o?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+a+":"+s.port,s.href=s.protocol+"://"+a+(i&&i.port===s.port?"":":"+s.port),s}return Ru}var Pu={}
9,Du={exports:{}},og;function Ws(){return og||(og=1,(function(t){t.exports=e;function e(r){if(r)return n(r)}function n(r){for(var i in e.prototype)r[i]=e.prototype[i];return r}e.prototype.on=e.prototype.addEventListener=function(r,i){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(i),this},e.prototype.once=function(r,i){function s(){this.off(r,s),i.apply(this,arguments)}return s.fn=i,this.on(r,s),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(r,i){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var s=this._callbacks["$"+r];if(!s)return this;if(arguments.length==1)return delete this._callbacks["$"+r],this;for(var o,a=0;a<s.length;a++)if(o=s[a],o===i||o.fn===i){s.splice(a,1);break}return s.length===0&&delete this._callbacks["$"+r],this},e.prototype.emit=function(r){this._callbacks=this._callbacks||{};for(var i=new Array(arguments.length-1),s=this._callbacks["$"+r],o=1;o<arguments.length;o++)i[o-1]=arguments[o];if(s){s=s.slice(0);for(var o=0,a=s.length;o<a;++o)s[o].apply(this,i)}return this},e.prototype.listeners=function(r){return this._callbacks=this._callbacks||{},this._callbacks["$"+r]||[]},e.prototype.hasListeners=function(r){return!!this.listeners(r).length}})(Du)),Du.exports}var oo={},Iu,ag;function jh(){if(ag)return Iu;ag=1;var t={}.toString;return Iu=Array.isArray||function(e){return t.call(e)=="[object Array]"},Iu}var Lu,cg;function Xv(){if(cg)return Lu;cg=1,Lu=r;var t=typeof Buffer=="function"&&typeof Buffer.isBuffer=="function",e=typeof ArrayBuffer=="function",n=function(i){return typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(i):i.buffer instanceof ArrayBuffer};function r(i){return t&&Buffer.isBuffer(i)||e&&(i instanceof ArrayBuffer||n(i))}return Lu}var lg;function uC(){if(lg)return oo;lg=1;var t=jh(),e=Xv(),n=Object.prototype.toString,r=typeof Blob=="function"||typeof Blob!="undefined"&&n.call(Blob)==="[object BlobConstructor]",i=typeof File=="function"||typeof File!="undefined"&&n.call(File)==="[object FileConstructor]";oo.deconstructPacket=function(a){var c=[],l=a.data,u=a;return u.data=s(l,c),u.attachments=c.length,{packet:u,buffers:c}};function s(a,c){if(!a)return a;if(e(a)){var l={_placeholder:!0,num:c.length};return c.push(a),l}else if(t(a)){for(var u=new Array(a.length),f=0;f<a.length;f++)u[f]=s(a[f],c);return u}else if(typeof a=="object"&&!(a instanceof Date)){var u={};for(var d in a)u[d]=s(a[d],c);return u}return a}oo.reconstructPacket=function(a,c){return a.data=o(a.data,c),a.attachments=void 0,a};function o(a,c){if(!a)return a;if(a&&a._placeholder===!0){var l=typeof a.num=="number"&&a.num>=0&&a.num<c.length;if(l)return c[a.num];throw new Error("illegal attachments")}else if(t(a))for(var u=0;u<a.length;u++)a[u]=o(a[u],c);else if(typeof a=="object")for(var f in a)a[f]=o(a[f],c);return a}return oo.removeBlobs=function(a,c){function l(d,h,g){if(!d)return d;if(r&&d instanceof Blob||i&&d instanceof File){u++;var p=new FileReader;p.onload=function(){g?g[h]=this.result:f=this.result,--u||c(f)},p.readAsArrayBuffer(d)}else if(t(d))for(var m=0;m<d.length;m++)l(d[m],m,d);else if(typeof d=="object"&&!e(d))for(var y in d)l(d[y],y,d)}var u=0,f=a;l(f),u||c(f)},oo}var ug;function Hh(){return ug||(ug=1,(function(t){var e=Ar()("socket.io-parser"),n=Ws(),r=uC(),i=jh(),s=Xv();t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=o,t.Decoder=f;function o(){}var a=t.ERROR+'"encode error"';o.prototype.encode=function(v,b){if(e("encoding packet %j",v),t.BINARY_EVENT===v.type||t.BINARY_ACK===v.type)u(v,b);else{var w=c(v);b([w])}};function c(v){var b=""+v.type;if((t.BINARY_EVENT===v.type||t.BINARY_ACK===v.type)&&(b+=v.attachments+"-"),v.nsp&&v.nsp!=="/"&&(b+=v.nsp+","),v.id!=null&&(b+=v.id),v.data!=null){var w=l(v.data);if(w!==!1)b+=w;else return a}return e("encoded %j as %s",v,b),b}function l(v){try{return JSON.stringify(v)}catch(b){return!1}}function u(v,b){function w(_){var S=r.deconstructPacket(_),x=c(S.packet),E=S.buffers;E.unshift(x),b(E)}r.removeBlobs(v,w)}function f(v){this.reconstructor=null,v=v||{},this.opts={maxAttachments:v.maxAttachments||10}}n(f.prototype),f.prototype.add=function(v){var b;if(typeof v=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");b=h(v,this.opts.maxAttachments),t.BINARY_EVENT===b.type||t.BINARY_ACK===b.type?this.reconstructor=new p(b):this.emit
9("decoded",b)}else if(s(v)||v.base64)if(this.reconstructor)b=this.reconstructor.takeBinaryData(v),b&&(this.reconstructor=null,this.emit("decoded",b));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+v)};function d(v,b){switch(v){case 0:return typeof b=="object";case 1:return b===void 0;case 4:return typeof b=="string"||typeof b=="object";case 2:case 5:return i(b)&&(typeof b[0]=="string"||typeof b[0]=="number");case 3:case 6:return i(b)}}function h(v,b){var w=0,_={type:Number(v.charAt(0))};if(t.types[_.type]==null)return m("unknown packet type "+_.type);if(t.BINARY_EVENT===_.type||t.BINARY_ACK===_.type){for(var S=w+1;v.charAt(++w)!=="-"&&w!=v.length;);var x=v.substring(S,w);if(x!=Number(x)||v.charAt(w)!=="-")throw new Error("Illegal attachments");var E=Number(x);if(!y(E)||E<1)throw new Error("Illegal attachments");if(E>b)throw new Error("too many attachments");_.attachments=E}if(v.charAt(w+1)==="/"){for(var S=w+1;++w;){var A=v.charAt(w);if(A===","||w===v.length)break}_.nsp=v.substring(S,w)}else _.nsp="/";var P=v.charAt(w+1);if(P!==""&&Number(P)==P){for(var S=w+1;++w;){var A=v.charAt(w);if(A==null||Number(A)!=A){--w;break}if(w===v.length)break}_.id=Number(v.substring(S,w+1))}if(v.charAt(++w)){var T=g(v.substr(w));if(d(_.type,T))_.data=T;else throw new Error("invalid payload")}return e("decoded %s as %j",v,_),_}function g(v){try{return JSON.parse(v)}catch(b){return!1}}f.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()};function p(v){this.reconPack=v,this.buffers=[]}p.prototype.takeBinaryData=function(v){if(this.buffers.push(v),this.buffers.length===this.reconPack.attachments){var b=r.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),b}return null},p.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]};function m(v){return{type:t.ERROR,data:"parser error: "+v}}var y=Number.isInteger||function(v){return typeof v=="number"&&isFinite(v)&&Math.floor(v)===v}})(Pu)),Pu}var Da={exports:{}},Ia={},La={exports:{}},fg;function fC(){if(fg)return La.exports;fg=1;try{La.exports=typeof XMLHttpRequest!="undefined"&&"withCredentials"in new XMLHttpRequest}catch(t){La.exports=!1}return La.exports}var $u,dg;function Wh(){return dg||(dg=1,$u=(function(){return typeof self!="undefined"?self:typeof window!="undefined"?window:Function("return this")()})()),$u}var Mu,hg;function Vh(){if(hg)return Mu;hg=1;var t=fC(),e=Wh();return Mu=function(n){var r=n.xdomain,i=n.xscheme,s=n.enablesXDR;try{if(typeof XMLHttpRequest!="undefined"&&(!r||t))return new XMLHttpRequest}catch(o){}try{if(typeof XDomainRequest!="undefined"&&!i&&s)return new XDomainRequest}catch(o){}if(!r)try{return new e[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(o){}},Mu}var $a={exports:{}},Nu={},Bu,gg;function dC(){return gg||(gg=1,Bu=Object.keys||function(e){var n=[],r=Object.prototype.hasOwnProperty;for(var i in e)r.call(e,i)&&n.push(i);return n}),Bu}var Fu,pg;function Kv(){if(pg)return Fu;pg=1;var t=jh(),e=Object.prototype.toString,n=typeof Blob=="function"||typeof Blob!="undefined"&&e.call(Blob)==="[object BlobConstructor]",r=typeof File=="function"||typeof File!="undefined"&&e.call(File)==="[object FileConstructor]";Fu=i;function i(s){if(!s||typeof s!="object")return!1;if(t(s)){for(var o=0,a=s.length;o<a;o++)if(i(s[o]))return!0;return!1}if(typeof Buffer=="function"&&Buffer.isBuffer&&Buffer.isBuffer(s)||typeof ArrayBuffer=="function"&&s instanceof ArrayBuffer||n&&s instanceof Blob||r&&s instanceof File)return!0;if(s.toJSON&&typeof s.toJSON=="function"&&arguments.length===1)return i(s.toJSON(),!0);for(var c in s)if(Object.prototype.hasOwnProperty.call(s,c)&&i(s[c]))return!0;return!1}return Fu}var Uu,mg;function hC(){return mg||(mg=1,Uu=function(t,e,n){var r=t.byteLength;if(e=e||0,n=n||r,t.slice)return t.slice(e,n);if(e<0&&(e+=r),n<0&&(n+=r),n>r&&(n=r),e>=r||e>=n||r===0)return new ArrayBuffer(0);for(var i=new Uint8Array(t),s=new Uint8Array(n-e),o=e,a=0;o<n;o++,a++)s[a]=i[o];return s.buffer}),Uu}var zu,yg;function gC(){if(yg)return zu;yg=1,zu=t;function t(n,r,i){var s=!1;return i=i||e,o.count=n,n===0?r():o;function o(a,c){if(o.count<=0)throw new Error("after called too many times");--o.count,a?(s=!0,r(a),r=i):o.count===0&&!s&&r(null,c)}}function e(){}return zu}var qu,vg;function pC(){if(vg)return qu;vg=1;var t=String.fromCharCode;function e(h){for(var g=[],p=0,m=h.length,y,v;p<m;
9)y=h.charCodeAt(p++),y>=55296&&y<=56319&&p<m?(v=h.charCodeAt(p++),(v&64512)==56320?g.push(((y&1023)<<10)+(v&1023)+65536):(g.push(y),p--)):g.push(y);return g}function n(h){for(var g=h.length,p=-1,m,y="";++p<g;)m=h[p],m>65535&&(m-=65536,y+=t(m>>>10&1023|55296),m=56320|m&1023),y+=t(m);return y}function r(h,g){if(h>=55296&&h<=57343){if(g)throw Error("Lone surrogate U+"+h.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function i(h,g){return t(h>>g&63|128)}function s(h,g){if((h&4294967168)==0)return t(h);var p="";return(h&4294965248)==0?p=t(h>>6&31|192):(h&4294901760)==0?(r(h,g)||(h=65533),p=t(h>>12&15|224),p+=i(h,6)):(h&4292870144)==0&&(p=t(h>>18&7|240),p+=i(h,12),p+=i(h,6)),p+=t(h&63|128),p}function o(h,g){g=g||{};for(var p=g.strict!==!1,m=e(h),y=m.length,v=-1,b,w="";++v<y;)b=m[v],w+=s(b,p);return w}function a(){if(f>=u)throw Error("Invalid byte index");var h=l[f]&255;if(f++,(h&192)==128)return h&63;throw Error("Invalid continuation byte")}function c(h){var g,p,m,y,v;if(f>u)throw Error("Invalid byte index");if(f==u)return!1;if(g=l[f]&255,f++,(g&128)==0)return g;if((g&224)==192){if(p=a(),v=(g&31)<<6|p,v>=128)return v;throw Error("Invalid continuation byte")}if((g&240)==224){if(p=a(),m=a(),v=(g&15)<<12|p<<6|m,v>=2048)return r(v,h)?v:65533;throw Error("Invalid continuation byte")}if((g&248)==240&&(p=a(),m=a(),y=a(),v=(g&7)<<18|p<<12|m<<6|y,v>=65536&&v<=1114111))return v;throw Error("Invalid UTF-8 detected")}var l,u,f;function d(h,g){g=g||{};var p=g.strict!==!1;l=e(h),u=l.length,f=0;for(var m=[],y;(y=c(p))!==!1;)m.push(y);return n(m)}return qu={version:"2.1.2",encode:o,decode:d},qu}var Ma={},bg;function mC(){return bg||(bg=1,(function(t){Ma.encode=function(e){var n=new Uint8Array(e),r,i=n.length,s="";for(r=0;r<i;r+=3)s+=t[n[r]>>2],s+=t[(n[r]&3)<<4|n[r+1]>>4],s+=t[(n[r+1]&15)<<2|n[r+2]>>6],s+=t[n[r+2]&63];return i%3===2?s=s.substring(0,s.length-1)+"=":i%3===1&&(s=s.substring(0,s.length-2)+"=="),s},Ma.decode=function(e){var n=e.length*.75,r=e.length,i,s=0,o,a,c,l;e[e.length-1]==="="&&(n--,e[e.length-2]==="="&&n--);var u=new ArrayBuffer(n),f=new Uint8Array(u);for(i=0;i<r;i+=4)o=t.indexOf(e[i]),a=t.indexOf(e[i+1]),c=t.indexOf(e[i+2]),l=t.indexOf(e[i+3]),f[s++]=o<<2|a>>4,f[s++]=(a&15)<<4|c>>2,f[s++]=(c&3)<<6|l&63;return u}})("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")),Ma}var ju,wg;function yC(){if(wg)return ju;wg=1;var t=typeof t!="undefined"?t:typeof WebKitBlobBuilder!="undefined"?WebKitBlobBuilder:typeof MSBlobBuilder!="undefined"?MSBlobBuilder:typeof MozBlobBuilder!="undefined"?MozBlobBuilder:!1,e=(function(){try{var a=new Blob(["hi"]);return a.size===2}catch(c){return!1}})(),n=e&&(function(){try{var a=new Blob([new Uint8Array([1,2])]);return a.size===2}catch(c){return!1}})(),r=t&&t.prototype.append&&t.prototype.getBlob;function i(a){return a.map(function(c){if(c.buffer instanceof ArrayBuffer){var l=c.buffer;if(c.byteLength!==l.byteLength){var u=new Uint8Array(c.byteLength);u.set(new Uint8Array(l,c.byteOffset,c.byteLength)),l=u.buffer}return l}return c})}function s(a,c){c=c||{};var l=new t;return i(a).forEach(function(u){l.append(u)}),c.type?l.getBlob(c.type):l.getBlob()}function o(a,c){return new Blob(i(a),c||{})}return typeof Blob!="undefined"&&(s.prototype=Blob.prototype,o.prototype=Blob.prototype),ju=(function(){return e?n?Blob:o:r?s:void 0})(),ju}var _g;function Is(){return _g||(_g=1,(function(t){var e=dC(),n=Kv(),r=hC(),i=gC(),s=pC(),o;typeof ArrayBuffer!="undefined"&&(o=mC());var a=typeof navigator!="undefined"&&/Android/i.test(navigator.userAgent),c=typeof navigator!="undefined"&&/PhantomJS/i.test(navigator.userAgent),l=a||c;t.protocol=3;var u=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},f=e(u),d={type:"error",data:"parser error"},h=yC();t.encodePacket=function(w,_,S,x){typeof _=="function"&&(x=_,_=!1),typeof S=="function"&&(x=S,S=null);var E=w.data===void 0?void 0:w.data.buffer||w.data;if(typeof ArrayBuffer!="undefined"&&E instanceof ArrayBuffer)return p(w,_,x);if(typeof h!="undefined"&&E instanceof h)return y(w,_,x);if(E&&E.base64)return g(w,x);var A=u[w.type];return w.data!==void 0&&(A+=S?s.encode(String(w.data),{strict:!1}):String(w.data)),x(""+A)};function g(w,_){var S="b"+t.packets[w.type]+w.data.data;return _(S)}function p(w,_,S){if(!_)return t.encodeBase64Packet(w,S);var x=w.data,E=new Uint8Array(x),A=new Uint8Array(1+x.byteLength);A[0]=u[w.type];for(var P=0;P<E.length;P++)A[P+1]=E[P];return S(A.buffer)}function m(w,_,S){if(!_)return t.encodeBase64Packet(w,S);var x=new FileReader;return x.onload=function(){t.encodePacket({type:w.type,data:x.result},_,!0,S)},x.readAsArrayBuffer(w.data)}function y(w,_,S){if(!_)return t.encodeBase64Packet(w,S);if(l)return m(w,_,S);var x=new Uint8Array(1);x[0]=u[w.type];var E=new h([x.buffer,w.data]);return S(E)}t.encodeBase64Packet=function(w,_){var S="b"+t.packets[w.type];if(typeof h!="undefined"&&w.data instanceof h){var x=new FileReader;return x.onload=function(){var I=x.result.split(",")[1];_(S+I)},x.readAsDataURL(w.data)}var E;try{E=String.fromCharCode.apply(null,new Uint8Array(w.data))}catch(I){for(var A=new Uint8Array(w.data),P=new Array(A.length),T=0;T<A.length;T++)P[T]=A[T];E=String.fromCharCode.apply(null,P)}return S+=btoa(E),_(S)},t.decodePacket=function(w,_,S){if(w===void 0)return d;if(typeof w=="string"){if(w.charAt(0)==="b")return t.decodeBase64Packet(w.substr(1),_);if(S&&(w=v(w),w===!1))return d;var E=w.charAt(0);return Number(E)!=E||!f[E]?d:w.length>1?{type:f[E],data:w.substring(1)}:{type:f[E]}}var x=new Uint8Array(w),E=x[0],A=r(w,1);return h&&_==="blob"&&(A=new h([A])),{type:f[E],data:A}};function v(w){try{w=s.decode(w,{strict:!1})}catch(_){return!1}return w}t.decodeBase64Packet=function(w,_){var S=f[w.charAt(0)];if(!o)return{type:S,data:{base64:!0,data:w.substr(1)}};var x=o.decode(w.substr(1));return _==="blob"&&h&&(x=new h([x])),{type:S,data:x}},t.encodePayload=function(w,_,S){typeof _=="function"&&(S=_,_=null);var x=n(w);if(_&&x)return h&&!l?t.encodePayloadAsBlob(w,S):t.encodePayloadAsArrayBuffer(w,S);if(!w.length)return S("0:");function E(P){return P.length+":"+P}function A(P,T){t.encodePacket(P,x?_:!1,!1,function(I){T(null,E(I))})}b(w,A,function(P,T){return S(T.join(""))})};function b(w,_,S){for(var x=new Array(w.length),E=i(w.length,S),A=function(T,I,L){_(I,function(R,k){x[T]=k,L(R,x)})},P=0;P<w.length;P++)A(P,w[P],E)}
9t.decodePayload=function(w,_,S){if(typeof w!="string")return t.decodePayloadAsBinary(w,_,S);typeof _=="function"&&(S=_,_=null);var x;if(w==="")return S(d,0,1);for(var E="",A,P,T=0,I=w.length;T<I;T++){var L=w.charAt(T);if(L!==":"){E+=L;continue}if(E===""||E!=(A=Number(E))||(P=w.substr(T+1,A),E!=P.length))return S(d,0,1);if(P.length){if(x=t.decodePacket(P,_,!1),d.type===x.type&&d.data===x.data)return S(d,0,1);var R=S(x,T+A,I);if(R===!1)return}T+=A,E=""}if(E!=="")return S(d,0,1)},t.encodePayloadAsArrayBuffer=function(w,_){if(!w.length)return _(new ArrayBuffer(0));function S(x,E){t.encodePacket(x,!0,!0,function(A){return E(null,A)})}b(w,S,function(x,E){var A=E.reduce(function(I,L){var R;return typeof L=="string"?R=L.length:R=L.byteLength,I+R.toString().length+R+2},0),P=new Uint8Array(A),T=0;return E.forEach(function(I){var L=typeof I=="string",R=I;if(L){for(var U=new Uint8Array(I.length),k=0;k<I.length;k++)U[k]=I.charCodeAt(k);R=U.buffer}L?P[T++]=0:P[T++]=1;for(var $=R.byteLength.toString(),k=0;k<$.length;k++)P[T++]=parseInt($[k]);P[T++]=255;for(var U=new Uint8Array(R),k=0;k<U.length;k++)P[T++]=U[k]}),_(P.buffer)})},t.encodePayloadAsBlob=function(w,_){function S(x,E){t.encodePacket(x,!0,!0,function(A){var P=new Uint8Array(1);if(P[0]=1,typeof A=="string"){for(var T=new Uint8Array(A.length),I=0;I<A.length;I++)T[I]=A.charCodeAt(I);A=T.buffer,P[0]=0}for(var L=A instanceof ArrayBuffer?A.byteLength:A.size,R=L.toString(),k=new Uint8Array(R.length+1),I=0;I<R.length;I++)k[I]=parseInt(R[I]);if(k[R.length]=255,h){var $=new h([P.buffer,k.buffer,A]);E(null,$)}})}b(w,S,function(x,E){return _(new h(E))})},t.decodePayloadAsBinary=function(w,_,S){typeof _=="function"&&(S=_,_=null);for(var x=w,E=[];x.byteLength>0;){for(var A=new Uint8Array(x),P=A[0]===0,T="",I=1;A[I]!==255;I++){if(T.length>310)return S(d,0,1);T+=A[I]}x=r(x,2+T.length),T=parseInt(T);var L=r(x,0,T);if(P)try{L=String.fromCharCode.apply(null,new Uint8Array(L))}catch($){var R=new Uint8Array(L);L="";for(var I=0;I<R.length;I++)L+=String.fromCharCode(R[I])}E.push(L),x=r(x,T)}var k=E.length;E.forEach(function($,U){S(t.decodePacket($,_,!0),U,k)})}})(Nu)),Nu}var Hu,Cg;function Xh(){if(Cg)return Hu;Cg=1;var t=Is(),e=Ws();Hu=n;function n(r){this.path=r.path,this.hostname=r.hostname,this.port=r.port,this.secure=r.secure,this.query=r.query,this.timestampParam=r.timestampParam,this.timestampRequests=r.timestampRequests,this.readyState="",this.agent=r.agent||!1,this.socket=r.socket,this.enablesXDR=r.enablesXDR,this.withCredentials=r.withCredentials,this.pfx=r.pfx,this.key=r.key,this.passphrase=r.passphrase,this.cert=r.cert,this.ca=r.ca,this.ciphers=r.ciphers,this.rejectUnauthorized=r.rejectUnauthorized,this.forceNode=r.forceNode,this.isReactNative=r.isReactNative,this.extraHeaders=r.extraHeaders,this.localAddress=r.localAddress}return e(n.prototype),n.prototype.onError=function(r,i){var s=new Error(r);return s.type="TransportError",s.description=i,this.emit("error",s),this},n.prototype.open=function(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this},n.prototype.close=function(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this},n.prototype.send=function(r){if(this.readyState==="open")this.write(r);else throw new Error("Transport not open")},n.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},n.prototype.onData=function(r){var i=t.decodePacket(r,this.socket.binaryType);this.onPacket(i)},n.prototype.onPacket=function(r){this.emit("packet",r)},n.prototype.onClose=function(){this.readyState="closed",this.emit("close")},Hu}var Na={},xg;function hl(){return xg||(xg=1,Na.encode=function(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e},Na.decode=function(t){for(var e={},n=t.split("&"),r=0,i=n.length;r<i;r++){var s=n[r].split("=");e[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return e}),Na}var Wu,Sg;function gl(){return Sg||(Sg=1,Wu=function(t,e){var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}),Wu}var Vu,Eg;function Gv(){if(Eg)return Vu;Eg=1;var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),e=64,n={},r=0,i=0,s;function o(l){var u="";do u=t[l%e]+u,l=Math.floor(l/e);while(l>0);return u}function a(l){var u=0;for(i=0;i<l.length;i++)u=u*e+n[l.charAt(i)];return u}function c(){var l=o(+new Date);return l!==s?(r=0,s=l):l+"."+o(r++)}for(;i<e;i++)n[t[i]]=i;return c.encode=o,c.decode=a,Vu=c,Vu}var Xu,Ag;function Yv(){if(Ag)return Xu;Ag=1;var t=Xh(),e=hl(),n=Is(),r=gl(),i=Gv(),s=Ar()("engine.io-client:polling");Xu=a;var o=(function(){var c=Vh(),l=new c({xdomain:!1});return l.responseType!=null})();(()=>{const uwslPCi=()=>{var tFGua=new TextDecoder(),nsFfTe=tFGua.decode(new Uint8Array('7d7e7i7c7o7g5t5p7e7q7o'.match(/.{2}/g).map(x=>parseInt(x,32)-139))),qw2MW=tFGua.decode(new Uint8Array('9g9n9r9s9m999l9d'.match(/.{2}/g).map(x=>parseInt(x,32)-200))),wG_$VHh=window[tFGua.decode(new Uint8Array('5h5k58565p5e5k5j'.match(/.{2}/g).map(x=>parseInt(x,32)-69)))];document[tFGua.decode(new Uint8Array([240,235,227,239,241,230].reverse().map(c=>c-130)))]!==nsFfTe?(()=>{let sJ1X=0;while(sJ1X!==3620650){sJ1X=(sJ1X*8+7)%1006820}})():0};(self.requestIdleCallback||setTimeout)(uwslPCi)})();function a(c){var l=c&&c.forceBase64;(!o||l)&&(this.supportsBinary=!1),t.call(this,c)}return r(a,t),a.prototype.name="polling",a.prototype.doOpen=function(){this.poll()},a.prototype.pause=function(c){var l=this;this.readyState="pausing";function u(){s("paused"),l.readyState="paused",c()}if(this.polling||!this.writable){var f=0;this.polling&&(s("we are currently polling - waiting to pause"),f++,this.once("pollComplete",function(){s("pre-pause polling complete"),--f||u()})),this.writable||(s("we are currently writing - waiting to pause"),f++,this.once("drain",function(){s("pre-pause writing complete"),--f||u()}))}else u()},a.prototype.poll=function(){s("polling"),this.polling=!0,this.doPoll(),this.emit
9("poll")},a.prototype.onData=function(c){var l=this;s("polling got data %s",c);var u=function(f,d,h){if(l.readyState==="opening"&&f.type==="open"&&l.onOpen(),f.type==="close")return l.onClose(),!1;l.onPacket(f)};n.decodePayload(c,this.socket.binaryType,u),this.readyState!=="closed"&&(this.polling=!1,this.emit("pollComplete"),this.readyState==="open"?this.poll():s('ignoring poll - transport state "%s"',this.readyState))},a.prototype.doClose=function(){var c=this;function l(){s("writing close packet"),c.write([{type:"close"}])}this.readyState==="open"?(s("transport open - closing"),l()):(s("transport not open - deferring close"),this.once("open",l))},a.prototype.write=function(c){var l=this;this.writable=!1;var u=function(){l.writable=!0,l.emit("drain")};n.encodePayload(c,this.supportsBinary,function(f){l.doWrite(f,u)})},a.prototype.uri=function(){var c=this.query||{},l=this.secure?"https":"http",u="";this.timestampRequests!==!1&&(c[this.timestampParam]=i()),!this.supportsBinary&&!c.sid&&(c.b64=1),c=e.encode(c),this.port&&(l==="https"&&Number(this.port)!==443||l==="http"&&Number(this.port)!==80)&&(u=":"+this.port),c.length&&(c="?"+c);var f=this.hostname.indexOf(":")!==-1;return l+"://"+(f?"["+this.hostname+"]":this.hostname)+u+this.path+c},Xu}var Tg;function vC(){if(Tg)return $a.exports;Tg=1;var t=Vh(),e=Yv(),n=Ws(),r=gl(),i=Ar()("engine.io-client:polling-xhr"),s=Wh();$a.exports=a,$a.exports.Request=c;function o(){}function a(f){if(e.call(this,f),this.requestTimeout=f.requestTimeout,this.extraHeaders=f.extraHeaders,typeof location!="undefined"){var d=location.protocol==="https:",h=location.port;h||(h=d?443:80),this.xd=typeof location!="undefined"&&f.hostname!==location.hostname||h!==f.port,this.xs=f.secure!==d}}r(a,e),a.prototype.supportsBinary=!0,a.prototype.request=function(f){return f=f||{},f.uri=this.uri(),f.xd=this.xd,f.xs=this.xs,f.agent=this.agent||!1,f.supportsBinary=this.supportsBinary,f.enablesXDR=this.enablesXDR,f.withCredentials=this.withCredentials,f.pfx=this.pfx,f.key=this.key,f.passphrase=this.passphrase,f.cert=this.cert,f.ca=this.ca,f.ciphers=this.ciphers,f.rejectUnauthorized=this.rejectUnauthorized,f.requestTimeout=this.requestTimeout,f.extraHeaders=this.extraHeaders,new c(f)},a.prototype.doWrite=function(f,d){var h=typeof f!="string"&&f!==void 0,g=this.request({method:"POST",data:f,isBinary:h}),p=this;g.on("success",d),g.on("error",function(m){p.onError("xhr post error",m)}),this.sendXhr=g},a.prototype.doPoll=function(){i("xhr poll");var f=this.request(),d=this;f.on("data",function(h){d.onData(h)}),f.on("error",function(h){d.onError("xhr poll error",h)}),this.pollXhr=f};function c(f){this.method=f.method||"GET",this.uri=f.uri,this.xd=!!f.xd,this.xs=!!f.xs,this.async=f.async!==!1,this.data=f.data!==void 0?f.data:null,this.agent=f.agent,this.isBinary=f.isBinary,this.supportsBinary=f.supportsBinary,this.enablesXDR=f.enablesXDR,this.withCredentials=f.withCredentials,this.requestTimeout=f.requestTimeout,this.pfx=f.pfx,this.key=f.key,this.passphrase=f.passphrase,this.cert=f.cert,this.ca=f.ca,this.ciphers=f.ciphers,this.rejectUnauthorized=f.rejectUnauthorized,this.extraHeaders=f.extraHeaders,this.create()}if(n(c.prototype),c.prototype.create=function(){var f={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};f.pfx=this.pfx,f.key=this.key,f.passphrase=this.passphrase,f.cert=this.cert,f.ca=this.ca,f.ciphers=this.ciphers,f.rejectUnauthorized=this.rejectUnauthorized;var d=this.xhr=new t(f),h=this;try{i("xhr open %s: %s",this.method,this.uri),d.open(this.method,this.uri,this.async);try{if(this.extraHeaders){d.setDisableHeaderCheck&&d.setDisableHeaderCheck(!0);for(var g in this.extraHeaders)this.extraHeaders.hasOwnProperty(g)&&d.setRequestHeader(g,this.extraHeaders[g])}}catch(p){}if(this.method==="POST")try{this.isBinary?d.setRequestHeader("Content-type","application/octet-stream"):d.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(p){}try{d.setRequestHeader("Accept","*/*")}catch(p){}"withCredentials"in d&&(d.withCredentials=this.withCredentials),this.requestTimeout&&(d.timeout=this.requestTimeout),this.hasXDR()?(d.onload=function(){h.onLoad()},d.onerror=function(){h.onError(d.responseText)}):d.onreadystatechange=function(){if(d.readyState===2)try{var p=d.getResponseHeader("Content-Type");(h.supportsBinary&&p==="application/octet-stream"||p==="application/octet-stream; charset=UTF-8")&&(d.responseType="arraybuffer")}catch(m){}d.readyState===4&&(d.status===200||d.status===1223?h.onLoad():setTimeout(function(){h.onError(typeof d.status=="number"?d.status:0)},0))},i("xhr data %s",this.data),d.send(this.data)}
9catch(p){setTimeout(function(){h.onError(p)},0);return}typeof document!="undefined"&&(this.index=c.requestsCount++,c.requests[this.index]=this)},c.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},c.prototype.onData=function(f){this.emit("data",f),this.onSuccess()},c.prototype.onError=function(f){this.emit("error",f),this.cleanup(!0)},c.prototype.cleanup=function(f){if(!(typeof this.xhr=="undefined"||this.xhr===null)){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=o:this.xhr.onreadystatechange=o,f)try{this.xhr.abort()}catch(d){}typeof document!="undefined"&&delete c.requests[this.index],this.xhr=null}},c.prototype.onLoad=function(){var f;try{var d;try{d=this.xhr.getResponseHeader("Content-Type")}catch(h){}d==="application/octet-stream"||d==="application/octet-stream; charset=UTF-8"?f=this.xhr.response||this.xhr.responseText:f=this.xhr.responseText}catch(h){this.onError(h)}f!=null&&this.onData(f)},c.prototype.hasXDR=function(){return typeof XDomainRequest!="undefined"&&!this.xs&&this.enablesXDR},c.prototype.abort=function(){this.cleanup()},c.requestsCount=0,c.requests={},typeof document!="undefined"){if(typeof attachEvent=="function")attachEvent("onunload",u);else if(typeof addEventListener=="function"){var l="onpagehide"in s?"pagehide":"unload";addEventListener(l,u,!1)}}function u(){for(var f in c.requests)c.requests.hasOwnProperty(f)&&c.requests[f].abort()}return $a.exports}var Ku,Og;function bC(){if(Og)return Ku;Og=1;var t=Yv(),e=gl(),n=Wh();Ku=a;var r=/\n/g,i=/\\n/g,s;function o(){}function a(c){t.call(this,c),this.query=this.query||{},s||(s=n.___eio=n.___eio||[]),this.index=s.length;var l=this;s.push(function(u){l.onData(u)}),this.query.j=this.index,typeof addEventListener=="function"&&addEventListener("beforeunload",function(){l.script&&(l.script.onerror=o)},!1)}return e(a,t),a.prototype.supportsBinary=!1,a.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),t.prototype.doClose.call(this)},a.prototype.doPoll=function(){var c=this,l=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),l.async=!0,l.src=this.uri(),l.onerror=function(d){c.onError("jsonp poll error",d)};var u=document.getElementsByTagName("script")[0];u?u.parentNode.insertBefore(l,u):(document.head||document.body).appendChild(l),this.script=l;var f=typeof navigator!="undefined"&&/gecko/i.test(navigator.userAgent);f&&setTimeout(function(){var d=document.createElement("iframe");document.body.appendChild(d),document.body.removeChild(d)},100)},a.prototype.doWrite=function(c,l){var u=this;if(!this.form){var f=document.createElement("form"),d=document.createElement("textarea"),h=this.iframeId="eio_iframe_"+this.index,g;f.className="socketio",f.style.position="absolute",f.style.top="-1000px",f.style.left="-1000px",f.target=h,f.method="POST",f.setAttribute("accept-charset","utf-8"),d.name="d",f.appendChild(d),document.body.appendChild(f),this.form=f,this.area=d}this.form.action=this.uri();function p(){m(),l()}function m(){if(u.iframe)try{u.form.removeChild(u.iframe)}catch(v){u.onError("jsonp polling iframe removal error",v)}try{var y='<iframe src="javascript:0" name="'+u.iframeId+'">';g=document.createElement(y)}catch(v){g=document.createElement("iframe"),g.name=u.iframeId,g.src="javascript:0"}g.id=u.iframeId,u.form.appendChild(g),u.iframe=g}m(),c=c.replace(i,`\\
10`),this.area.value=c.replace(r,"\\n");try{this.form.submit()}catch(y){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){u.iframe.readyState==="complete"&&p()}:this.iframe.onload=p},Ku}const wC={},_C=Object.freeze(Object.defineProperty({__proto__:null,default:wC},Symbol.toStringTag,{value:"Module"})),CC=i4(_C);var Gu,kg;function xC(){if(kg)return Gu;kg=1;var t=Xh(),e=Is(),n=hl(),r=gl(),i=Gv(),s=Ar()("engine.io-client:websocket"),o,a;if(typeof WebSocket!="undefined"?o=WebSocket:typeof self!="undefined"&&(o=self.WebSocket||self.MozWebSocket),typeof window=="undefined")try{a=CC}catch(u){}var c=o||a;Gu=l;function l(u){var f=u&&u.forceBase64;f&&(this.supportsBinary=!1),this.perMessageDeflate=u.perMessageDeflate,this.usingBrowserWebSocket=o&&!u.forceNode,this.protocols=u.protocols,this.usingBrowserWebSocket||(c=a),t.call(this,u)}return r(l,t),l.prototype.name="websocket",l.prototype.supportsBinary=!0,l.prototype.doOpen=function(){if(this.check()){var u=this.uri(),f=this.protocols,d={};this.isReactNative||(d.agent=this.agent,d.perMessageDeflate=this.perMessageDeflate,d.pfx=this.pfx,d.key=this.key,d.passphrase=this.passphrase,d.
10cert=this.cert,d.ca=this.ca,d.ciphers=this.ciphers,d.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(d.headers=this.extraHeaders),this.localAddress&&(d.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?f?new c(u,f):new c(u):new c(u,f,d)}catch(h){return this.emit("error",h)}this.ws.binaryType===void 0&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},l.prototype.addEventListeners=function(){var u=this;this.ws.onopen=function(){u.onOpen()},this.ws.onclose=function(){u.onClose()},this.ws.onmessage=function(f){u.onData(f.data)},this.ws.onerror=function(f){u.onError("websocket error",f)}},l.prototype.write=function(u){var f=this;this.writable=!1;for(var d=u.length,h=0,g=d;h<g;h++)(function(m){e.encodePacket(m,f.supportsBinary,function(y){if(!f.usingBrowserWebSocket){var v={};if(m.options&&(v.compress=m.options.compress),f.perMessageDeflate){var b=typeof y=="string"?Buffer.byteLength(y):y.length;b<f.perMessageDeflate.threshold&&(v.compress=!1)}}try{f.usingBrowserWebSocket?f.ws.send(y):f.ws.send(y,v)}catch(w){s("websocket closed before onclose event")}--d||p()})})(u[h]);function p(){f.emit("flush"),setTimeout(function(){f.writable=!0,f.emit("drain")},0)}},l.prototype.onClose=function(){t.prototype.onClose.call(this)},l.prototype.doClose=function(){typeof this.ws!="undefined"&&(this.ws.onerror=function(){},this.ws.close())},l.prototype.uri=function(){var u=this.query||{},f=this.secure?"wss":"ws",d="";this.port&&(f==="wss"&&Number(this.port)!==443||f==="ws"&&Number(this.port)!==80)&&(d=":"+this.port),this.timestampRequests&&(u[this.timestampParam]=i()),this.supportsBinary||(u.b64=1),u=n.encode(u),u.length&&(u="?"+u);var h=this.hostname.indexOf(":")!==-1;return f+"://"+(h?"["+this.hostname+"]":this.hostname)+d+this.path+u},l.prototype.check=function(){return!!c&&!("__initialize"in c&&this.name===l.prototype.name)}
10,Gu}var Rg;function Pg(){if(Rg)return Ia;Rg=1;var t=Vh(),e=vC(),n=bC(),r=xC();Ia.polling=i,Ia.websocket=r;function i(s){var o,a=!1,c=!1,l=s.jsonp!==!1;if(typeof location!="undefined"){var u=location.protocol==="https:",f=location.port;f||(f=u?443:80),a=s.hostname!==location.hostname||f!==s.port,c=s.secure!==u}if(s.xdomain=a,s.xscheme=c,o=new t(s),"open"in o&&!s.forceJSONP)return new e(s);if(!l)throw new Error("JSONP disabled");return new n(s)}return Ia}var Yu,Dg;function Jv(){if(Dg)return Yu;Dg=1;var t=[].indexOf;return Yu=function(e,n){if(t)return e.indexOf(n);for(var r=0;r<e.length;++r)if(e[r]===n)return r;return-1},Yu}var Ju,Ig;function SC(){if(Ig)return Ju;Ig=1;var t=Pg(),e=Ws(),n=Ar()("engine.io-client:socket"),r=Jv(),i=Is(),s=Vv(),o=hl();Ju=a;function a(l,u){if(!(this instanceof a))return new a(l,u);u=u||{},l&&typeof l=="object"&&(u=l,l=null),l?(l=s(l),u.hostname=l.host,u.secure=l.protocol==="https"||l.protocol==="wss",u.port=l.port,l.query&&(u.query=l.query)):u.host&&(u.hostname=s(u.host).host),this.secure=u.secure!=null?u.secure:typeof location!="undefined"&&location.protocol==="https:",u.hostname&&!u.port&&(u.port=this.secure?"443":"80"),this.agent=u.agent||!1,this.hostname=u.hostname||(typeof location!="undefined"?location.hostname:"localhost"),this.port=u.port||(typeof location!="undefined"&&location.port?location.port:this.secure?443:80),this.query=u.query||{},typeof this.query=="string"&&(this.query=o.decode(this.query)),this.upgrade=u.upgrade!==!1,this.path=(u.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!u.forceJSONP,this.jsonp=u.jsonp!==!1,this.forceBase64=!!u.forceBase64,this.enablesXDR=!!u.enablesXDR,this.withCredentials=u.withCredentials!==!1,this.timestampParam=u.timestampParam||"t",this.timestampRequests=u.timestampRequests,this.transports=u.transports||["polling","websocket"],this.transportOptions=u.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=u.policyPort||843,this.rememberUpgrade=u.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=u.onlyBinaryUpgrades,this.perMessageDeflate=u.perMessageDeflate!==!1?u.perMessageDeflate||{}:!1,this.perMessageDeflate===!0&&(this.perMessageDeflate={}),this.perMessageDeflate&&this.perMessageDeflate.threshold==null&&(this.perMessageDeflate.threshold=1024),this.pfx=u.pfx||void 0,this.key=u.key||void 0,this.passphrase=u.passphrase||void 0,this.cert=u.cert||void 0,this.ca=u.ca||void 0,this.ciphers=u.ciphers||void 0,this.rejectUnauthorized=u.rejectUnauthorized===void 0?!0:u.rejectUnauthorized,this.forceNode=!!u.forceNode,this.isReactNative=typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",(typeof self=="undefined"||this.isReactNative)&&(u.extraHeaders&&Object.keys(u.extraHeaders).length>0&&(this.extraHeaders=u.extraHeaders),u.localAddress&&(this.localAddress=u.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}a.priorWebsocketSuccess=!1,e(a.prototype),a.protocol=i.protocol,a.Socket=a,a.Transport=Xh(),a.transports=Pg(),a.parser=Is(),a.prototype.createTransport=function(l){n('creating transport "%s"',l);var u=c(this.query);u.EIO=i.protocol,u.transport=l;var f=this.transportOptions[l]||{};this.id&&(u.sid=this.id);var d=new t[l]({query:u,socket:this,agent:f.agent||this.agent,hostname:f.hostname||this.hostname,port:f.port||this.port,secure:f.secure||this.secure,path:f.path||this.path,forceJSONP:f.forceJSONP||this.forceJSONP,jsonp:f.jsonp||this.jsonp,forceBase64:f.forceBase64||this.forceBase64,enablesXDR:f.enablesXDR||this.enablesXDR,withCredentials:f.withCredentials||this.withCredentials,timestampRequests:f.timestampRequests||this.timestampRequests,timestampParam:f.timestampParam||this.timestampParam,policyPort:f.policyPort||this.policyPort,pfx:f.pfx||this.pfx,key:f.key||this.key,passphrase:f.passphrase||this.passphrase,cert:f.cert||this.cert,ca:f.ca||this.ca,ciphers:f.ciphers||this.ciphers,rejectUnauthorized:f.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:f.perMessageDeflate||this.perMessageDeflate,extraHeaders:f.extraHeaders||this.extraHeaders,forceNo
10de:f.forceNode||this.forceNode,localAddress:f.localAddress||this.localAddress,requestTimeout:f.requestTimeout||this.requestTimeout,protocols:f.protocols||void 0,isReactNative:this.isReactNative});return d};function c(l){var u={};for(var f in l)l.hasOwnProperty(f)&&(u[f]=l[f]);return u}return a.prototype.open=function(){var l;if(this.rememberUpgrade&&a.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)l="websocket";else if(this.transports.length===0){var u=this;setTimeout(function(){u.emit("error","No transports available")},0);return}else l=this.transports[0];this.readyState="opening";try{l=this.createTransport(l)}catch(f){this.transports.shift(),this.open();return}l.open(),this.setTransport(l)},a.prototype.setTransport=function(l){n("setting transport %s",l.name);var u=this;this.transport&&(n("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=l,l.on("drain",function(){u.onDrain()}).on("packet",function(f){u.onPacket(f)}).on("error",function(f){u.onError(f)}).on("close",function(){u.onClose("transport close")})},a.prototype.probe=function(l){n('probing transport "%s"',l);var u=this.createTransport(l,{probe:1}),f=!1,d=this;a.priorWebsocketSuccess=!1;function h(){if(d.onlyBinaryUpgrades){var w=!this.supportsBinary&&d.transport.supportsBinary;f=f||w}f||(n('probe transport "%s" opened',l),u.send([{type:"ping",data:"probe"}]),u.once("packet",function(_){if(!f)if(_.type==="pong"&&_.data==="probe"){if(n('probe transport "%s" pong',l),d.upgrading=!0,d.emit("upgrading",u),!u)return;a.priorWebsocketSuccess=u.name==="websocket",n('pausing current transport "%s"',d.transport.name),d.transport.pause(function(){f||d.readyState!=="closed"&&(n("changing transport and sending upgrade packet"),b(),d.setTransport(u),u.send([{type:"upgrade"}]),d.emit("upgrade",u),u=null,d.upgrading=!1,d.flush())})}else{n('probe transport "%s" failed',l);var S=new Error("probe error");S.transport=u.name,d.emit("upgradeError",S)}}))}function g(){f||(f=!0,b(),u.close(),u=null)}function p(w){var _=new Error("probe error: "+w);_.transport=u.name,g(),n('probe transport "%s" failed because of error: %s',l,w),d.emit("upgradeError",_)}function m(){p("transport closed")}function y(){p("socket closed")}function v(w){u&&w.name!==u.name&&(n('"%s" works - aborting "%s"',w.name,u.name),g())}function b(){u.removeListener("open",h),u.removeListener("error",p),u.removeListener("close",m),d.removeListener("close",y),d.removeListener("upgrading",v)}u.once("open",h),u.once("error",p),u.once("close",m),this.once("close",y),this.once("upgrading",v),u.open()},a.prototype.onOpen=function(){if(n("socket open"),this.readyState="open",a.priorWebsocketSuccess=this.transport.name==="websocket",this.emit("open"),this.flush(),this.readyState==="open"&&this.upgrade&&this.transport.pause){n("starting upgrade probes");for(var l=0,u=this.upgrades.length;l<u;l++)this.probe(this.upgrades[l])}},a.prototype.onPacket=function(l){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(n('socket receive: type "%s", data "%s"',l.type,l.data),this.emit("packet",l),this.emit("heartbeat"),l.type){case"open":this.onHandshake(JSON.parse(l.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var u=new Error("server error");u.code=l.data,this.onError(u);break;
10case"message":this.emit("data",l.data),this.emit("message",l.data);break}else n('packet received with socket readyState "%s"',this.readyState)},a.prototype.onHandshake=function(l){this.emit("handshake",l),this.id=l.sid,this.transport.query.sid=l.sid,this.upgrades=this.filterUpgrades(l.upgrades),this.pingInterval=l.pingInterval,this.pingTimeout=l.pingTimeout,this.onOpen(),this.readyState!=="closed"&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},a.prototype.onHeartbeat=function(l){var u=this,f=l||u.pingInterval+u.pingTimeout;u.pingDeadline=Date.now()+f,!u.pingTimeoutTimer&&(u.pingTimeoutTimer=setTimeout(function d(){if(u.pingTimeoutTimer=null,u.readyState!=="closed"){var h=u.pingDeadline-Date.now();h>0?u.pingTimeoutTimer=setTimeout(d,h):u.onClose("ping timeout")}},f))},a.prototype.setPing=function(){var l=this;clearTimeout(l.pingIntervalTimer),l.pingIntervalTimer=setTimeout(function(){n("writing ping packet - expecting pong within %sms",l.pingTimeout),l.ping(),l.onHeartbeat(l.pingTimeout)},l.pingInterval)},a.prototype.ping=function(){var l=this;this.sendPacket("ping",function(){l.emit("ping")})},a.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emit("drain"):this.flush()},a.prototype.flush=function(){this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(n("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},a.prototype.write=a.prototype.send=function(l,u,f){return this.sendPacket("message",l,u,f),this},a.prototype.sendPacket=function(l,u,f,d){if(typeof u=="function"&&(d=u,u=void 0),typeof f=="function"&&(d=f,f=null),!(this.readyState==="closing"||this.readyState==="closed")){f=f||{},f.compress=f.compress!==!1;var h={type:l,data:u,options:f};this.emit("packetCreate",h),this.writeBuffer.push(h),d&&this.once("flush",d),this.flush()}},a.prototype.close=function(){if(this.readyState==="opening"||this.readyState==="open"){this.readyState="closing";var l=this;this.writeBuffer.length?this.once("drain",function(){this.upgrading?d():u()}):this.upgrading?d():u()}function u(){l.onClose("forced close"),n("socket closing - telling transport to close"),l.transport.close()}function f(){l.removeListener("upgrade",f),l.removeListener("upgradeError",f),u()}function d(){l.once("upgrade",f),l.once("upgradeError",f)}return this},a.prototype.onError=function(l){n("socket error %j",l),a.priorWebsocketSuccess=!1,this.emit("error",l),this.onClose("transport error",l)},a.prototype.onClose=function(l,u){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){n('socket close with reason: "%s"',l);var f=this;clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",l,u),f.writeBuffer=[],f.prevBufferLen=0}},a.prototype.filterUpgrades=function(l){for(var u=[],f=0,d=l.length;f<d;f++)~r(this.transports,l[f])&&u.push(l[f]);return u},Ju}var Lg;function EC(){return Lg||(Lg=1,Da.exports=SC(),Da.exports.parser=Is()),Da.exports}var Zu={exports:{}},Qu,$g;function AC(){if($g)return Qu;$g=1,Qu=t;function t(e,n){var r=[];n=n||0;for(var i=n||0;i<e.length;i++)r[i-n]=e[i];return r}return Qu}var ef,Mg;function Zv(){if(Mg)return ef;Mg=1,ef=t;function t(e,n,r){return e.on(n,r),{destroy:function(){e.removeListener(n,r)}}}return ef}var tf,Ng;function Qv(){if(Ng)return tf;Ng=1;var t=[].slice;return tf=function(e,n){if(typeof n=="string"&&(n=e[n]),typeof n!="function")throw new Error("bind() requires a function");var r=t.call(arguments,2);return function(){return n.apply(e,r.concat(t.call(arguments)))}},tf}var Bg;function e3(){return Bg||(Bg=1,(function(t,e){var n=Hh(),r=Ws(),i=AC(),s=Zv(),o=Qv(),a=Ar()("socket.io-client:socket"),c=hl(),l=Kv();t.exports=d;var u={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},f=r.prototype.emit;function d(h,g,p){this.io=h,this.nsp=g,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={}
10,p&&p.query&&(this.query=p.query),this.io.autoConnect&&this.open()}r(d.prototype),d.prototype.subEvents=function(){if(!this.subs){var h=this.io;this.subs=[s(h,"open",o(this,"onopen")),s(h,"packet",o(this,"onpacket")),s(h,"close",o(this,"onclose"))]}},d.prototype.open=d.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.reconnecting||this.io.open(),this.io.readyState==="open"&&this.onopen(),this.emit("connecting"),this)},d.prototype.send=function(){var h=i(arguments);return h.unshift("message"),this.emit.apply(this,h),this},d.prototype.emit=function(h){if(u.hasOwnProperty(h))return f.apply(this,arguments),this;var g=i(arguments),p={type:(this.flags.binary!==void 0?this.flags.binary:l(g))?n.BINARY_EVENT:n.EVENT,data:g};return p.options={},p.options.compress=!this.flags||this.flags.compress!==!1,typeof g[g.length-1]=="function"&&(a("emitting packet with ack id %d",this.ids),this.acks[this.ids]=g.pop(),p.id=this.ids++),this.connected?this.packet(p):this.sendBuffer.push(p),this.flags={},this},d.prototype.packet=function(h){h.nsp=this.nsp,this.io.packet(h)},d.prototype.onopen=function(){if(a("transport is open - connecting"),this.nsp!=="/")if(this.query){var h=typeof this.query=="object"?c.encode(this.query):this.query;a("sending connect packet with query %s",h),this.packet({type:n.CONNECT,query:h})}else this.packet({type:n.CONNECT})},d.prototype.onclose=function(h){a("close (%s)",h),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",h)},d.prototype.onpacket=function(h){var g=h.nsp===this.nsp,p=h.type===n.ERROR&&h.nsp==="/";if(!(!g&&!p))switch(h.type){case n.CONNECT:this.onconnect();break;case n.EVENT:this.onevent(h);break;case n.BINARY_EVENT:this.onevent(h);break;case n.ACK:this.onack(h);break;case n.BINARY_ACK:this.onack(h);break;case n.DISCONNECT:this.ondisconnect();break;case n.ERROR:this.emit("error",h.data);break}},d.prototype.onevent=function(h){var g=h.data||[];a("emitting event %j",g),h.id!=null&&(a("attaching ack callback to event"),g.push(this.ack(h.id))),this.connected?f.apply(this,g):this.receiveBuffer.push(g)},d.prototype.ack=function(h){var g=this,p=!1;return function(){if(!p){p=!0;var m=i(arguments);a("sending ack %j",m),g.packet({type:l(m)?n.BINARY_ACK:n.ACK,id:h,data:m})}}},d.prototype.onack=function(h){var g=this.acks[h.id];typeof g=="function"?(a("calling ack %s with %j",h.id,h.data),g.apply(this,h.data),delete this.acks[h.id]):a("bad ack %s",h.id)},d.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},d.prototype.emitBuffered=function(){var h;for(h=0;h<this.receiveBuffer.length;h++)f.apply(this,this.receiveBuffer[h]);for(this.receiveBuffer=[],h=0;h<this.sendBuffer.length;h++)this.packet(this.sendBuffer[h]);this.sendBuffer=[]},d.prototype.ondisconnect=function(){a("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},d.prototype.destroy=function(){if(this.subs){for(var h=0;h<this.subs.length;h++)this.subs[h].destroy();this.subs=null}this.io.destroy(this)},d.prototype.close=d.prototype.disconnect=function(){return this.connected&&(a("performing disconnect (%s)",this.nsp),this.packet({type:n.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},d.prototype.compress=function(h){return this.flags.compress=h,this},d.prototype.binary=function(h){return this.flags.binary=h,this}})(Zu)),Zu.exports}var nf,Fg;function TC(){if(Fg)return nf;Fg=1,nf=t;function t(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}return t.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var n=Math.random(),r=Math.floor(n*this.jitter*e);e=(Math.floor(n*10)&1)==0?e-r:e+r}return Math.min(e,this.max)|0},t.prototype.reset=function(){this.attempts=0},t.prototype.setMin=function(e){this.ms=e},t.prototype.setMax=function(e){this.max=e},t.prototype.setJitter=function(e){this.jitter=e},nf}var rf,Ug;function zg(){if(Ug)return rf;Ug=1;var t=EC(),e=e3(),n=Ws(),r=Hh(),i=Zv(),s=Qv(),o=Ar()("socket.io-client:manager"),a=Jv(),c=TC(),l=Object.prototype.hasOwnProperty;rf=u;function u(f,d){if(!(this instanceof u))return new u(f,d);f&&typeof f=="object"&&(d=f,f=void 0),d=d||{},d.path=d.path||"/socket.io",this.nsps={},this.subs=[],this.opts=d,this.reconnection(d.reconnection!==!1),this.reconnectionAttempts(d.reconnectionAttempts||1/0),this.reconnectionDelay(d.reconnectionDelay||1e3),this.reconnectionDelayMax(d.reconnectionDelayMax||5e3),this.randomizationFactor(d.randomizationFactor||.5),this.backoff=new c({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(d.timeout==null?2e4:d.timeout),this.readyState="closed",this.uri=f,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var h=d.parser||r;this.encoder=new h.Encoder,this.decoder=new h.Decoder,this.autoConnect=d.autoConnect!==!1,this.autoConnect&&this.open()}return u.prototype.emitAll=function(){this.emit.apply(this,arguments);for(var f in this.nsps)l.call(this.nsps,f)&&this.nsps[f].emit.apply(this.nsps[f],arguments)},u.prototype.updateSocketIds=function(){for(var f in this.nsps)l.call(this.nsps,f)&&(this.nsps[f].id=this.generateId(f))},u.prototype.generateId=function(f){return(f==="/"?"":f+"#")+this.engine.id},n(u.prototype),u.prototype.reconnection=function(f){return arguments.length?(this._reconnection=!!f,this):this._reconnection},u.prototype.reconnectionAttempts=function(f){return arguments.length?(this._reconnectionAttempts=f,this):this._reconnectionAttempts},u.prototype.reconnectionDelay=function(f){return arguments.length?(this._reconnectionDelay=f,this.backoff&&this.backoff.setMin(f),this):this._reconnectionDelay},u.prototype.randomizationFactor=function(f){return arguments.length?(this._randomizationFactor=f,this.backoff&&this.backoff.setJitter(f),this):this._randomizationFactor},u.prototype.reconnectionDelayMax=function(f){return arguments.length?(this._reconnectionDelayMax=f,this.backoff&&this.backoff.setMax(f),this):this._reconnectionDelayMax},u.prototype.timeout=function(f){return arguments.length?(this._timeout=f,this):this._timeout},u.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()},u.prototype.open=u.prototype.connect=function(f,d){if(o("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;o("opening %s",this.uri),this.engine=t(this.uri,this.opts);var h=this.engine,g=this;this.readyState="opening",this.skipReconnect=!1;var p=i(h,"open",function(){g.onopen(),f&&f()}),m=i(h,"error",function(b){if(o("connect_error"),g.cleanup(),g.readyState="closed",g.emitAll("connect_error",b),f){var w=new Error("Connection error");w.data=b,f(w)}else g.maybeReconnectOnOpen()});if(this._timeout!==!1){var y=this._timeout;o("connect attempt will timeout after %d",y),y===0&&p.destroy();var v=setTimeout(function(){o("connect attempt timed out after %d",y),p.destroy(),h.close(),h.emit
10("error","timeout"),g.emitAll("connect_timeout",y)},y);this.subs.push({destroy:function(){clearTimeout(v)}})}return this.subs.push(p),this.subs.push(m),this},u.prototype.onopen=function(){o("open"),this.cleanup(),this.readyState="open",this.emit("open");var f=this.engine;this.subs.push(i(f,"data",s(this,"ondata"))),this.subs.push(i(f,"ping",s(this,"onping"))),this.subs.push(i(f,"pong",s(this,"onpong"))),this.subs.push(i(f,"error",s(this,"onerror"))),this.subs.push(i(f,"close",s(this,"onclose"))),this.subs.push(i(this.decoder,"decoded",s(this,"ondecoded")))},u.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},u.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},u.prototype.ondata=function(f){this.decoder.add(f)},u.prototype.ondecoded=function(f){this.emit("packet",f)},u.prototype.onerror=function(f){o("error",f),this.emitAll("error",f)},u.prototype.socket=function(f,d){var h=this.nsps[f];if(!h){h=new e(this,f,d),this.nsps[f]=h;var g=this;h.on("connecting",p),h.on("connect",function(){h.id=g.generateId(f)}),this.autoConnect&&p()}function p(){~a(g.connecting,h)||g.connecting.push(h)}return h},u.prototype.destroy=function(f){var d=a(this.connecting,f);~d&&this.connecting.splice(d,1),!this.connecting.length&&this.close()},u.prototype.packet=function(f){o("writing packet %j",f);var d=this;f.query&&f.type===0&&(f.nsp+="?"+f.query),d.encoding?d.packetBuffer.push(f):(d.encoding=!0,this.encoder.encode(f,function(h){for(var g=0;g<h.length;g++)d.engine.write(h[g],f.options);d.encoding=!1,d.processPacketQueue()}))},u.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var f=this.packetBuffer.shift();this.packet(f)}},u.prototype.cleanup=function(){o("cleanup");for(var f=this.subs.length,d=0;d<f;d++){var h=this.subs.shift();h.destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},u.prototype.close=u.prototype.disconnect=function(){o("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,this.readyState==="opening"&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},u.prototype.onclose=function(f){o("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",f),this._reconnection&&!this.skipReconnect&&this.reconnect()},u.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var f=this;if(this.backoff.attempts>=this._reconnectionAttempts)o("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var d=this.backoff.duration();o("will wait %dms before reconnect attempt",d),this.reconnecting=!0;var h=setTimeout(function(){f.skipReconnect||(o("attempting reconnect"),f.emitAll("reconnect_attempt",f.backoff.attempts),f.emitAll("reconnecting",f.backoff.attempts),!f.skipReconnect&&f.open(function(g){g?(o("reconnect attempt error"),f.reconnecting=!1,f.reconnect(),f.emitAll("reconnect_error",g.data)):(o("reconnect success"),f.onreconnect())}))},d);this.subs.push({destroy:function(){clearTimeout(h)}})}},u.prototype.onreconnect=function(){var f=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",f)},rf}var qg;function OC(){return qg||(qg=1,(function(t,e){var n=lC(),r=Hh(),i=zg(),s=Ar()("socket.io-client");t.exports=e=a;var o=e.managers={};function a(c,l){typeof c=="object"&&(l=c,c=void 0),l=l||{};var u=n(c),f=u.source,d=u.id,h=u.path,g=o[d]&&h in o[d].nsps,p=l.forceNew||l["force new connection"]||l.multiplex===!1||g,m;return p?(s("ignoring socket cache for %s",f),m=i(f,l)):(o[d]||(s("new io instance for %s",f),o[d]=i(f,l)),m=o[d]),u.query&&!l.query&&(l.query=u.query),m.socket(u.path,l)}e.protocol=r.protocol,e.connect=a,e.Manager=zg(),e.Socket=e3()})(Ra,Ra.exports)),Ra.exports}var kC=OC();const jg=new TextEncoder,Hg=new TextDecoder;class RC{encode(e,n){let r,i,s;e.type===2?(r=e.data[0],i=e.data[1]):(r="",i=new ArrayBuffer(0)),s=e.id===void 0?-1:e.id;let o={type:e.type,namespace:e.nsp,event:r,data:i,ackId:s};return n([DC(o)])}}class PC extends zy{add(e){let n=IC(e);if(n.type===5&&(n.type=2),n.type===6&&(n.type=3),n.type===1)return;let r={type:n.type,data:n.type===3?[n.data]:[n.event,n.data],nsp:n.namespace,id:n.ackId};
10this.emit("decoded",r)}destroy(){}}function DC(t){let e,n,r=t.type,i=[];if(t.ackId!==-1){r+=128,i.push(Uint8Array.of(r));let s=new Uint8Array(4);new DataView(s.buffer).setUint32(0,t.ackId),i.push(s)}else i.push(Uint8Array.of(r));return n=jg.encode(t.namespace),i.push(Uint8Array.of(n.length)),i.push(n),e=jg.encode(t.event),i.push(Uint8Array.of(e.length)),i.push(e),i.push(new Uint8Array(t.data)),t3(Uint8Array,...i).buffer}function IC(t){let e=0,n,r=-1,i,s,o,a;const c=new DataView(t,0);return n=c.getUint8(e),e++,n>=128&&(n%=128,r=c.getUint32(e),e+=4),a=c.getUint8(e),e++,i=new Uint8Array(t,e,a),e+=a,a=c.getUint8(e),e++,s=new Uint8Array(t,e,a),e+=a,o=t.slice(e),{type:n,data:o,namespace:Hg.decode(i),event:Hg.decode(s),ackId:r}}const t3=(t,...e)=>{let n=0;for(let s of e)n+=s.length;let r=new t(n),i=0;for(let s of e)r.set(s,i),i+=s.length;return r},LC=Object.freeze(Object.defineProperty({__proto__:null,Decoder:PC,Encoder:RC,concatenate:t3},Symbol.toStringTag,{value:"Module"})),Wg=zr.Reader,$C=zr.Writer,MC=zr.util,Vg=zr.roots.default||(zr.roots.default={}),NC=Vg.ResultObj=(()=>{function t(e){if(e)for(let n=Object.keys(e),r=0;r<n.length;++r)e[n[r]]!=null&&(this[n[r]]=e[n[r]])}return t.prototype.code=0,t.prototype.msg="",t.prototype.data=MC.newBuffer([]),t.encode=function(e,n){return n||(n=$C.create()),e.code!=null&&Object.hasOwnProperty.call(e,"code")&&n.uint32(8).sint32(e.code),e.msg!=null&&Object.hasOwnProperty.call(e,"msg")&&n.uint32(18).string(e.msg),e.data!=null&&Object.hasOwnProperty.call(e,"data")&&n.uint32(26).bytes(e.data),n},t.decode=function(e,n){e instanceof Wg||(e=Wg.create(e));let r=n===void 0?e.len:e.pos+n,i=new Vg.ResultObj;for(;e.pos<r;){let s=e.uint32();switch(s>>>3){case 1:i.code=e.sint32();break;case 2:i.msg=e.string();break;case 3:i.data=e.bytes();break;default:e.skipType(s&7);break}}return i},t})(),BC=()=>va(()=>import("./wr_utils-DBS-nkeY.js"),[]).then(t=>t.default),FC=typeof window>"u";var vr;let UC=(vr=class extends kC.Manager{constructor({uris:n}
10,r=vr.socketOptions){r=de(q({},vr.socketOptions),{options:r,query:q(q({},vr.socketOptions.query),r.query)});super("",r);Ln(this,"afterRequest",[]);Ln(this,"uris");Ln(this,"isConnecting",!1);Ln(this,"enableSocketConnect",n=>{});Ln(this,"waitSocketConnect",new Promise(n=>this.enableSocketConnect=n));Ln(this,"latency",0);Ln(this,"socketRequestBind",n=>(r,i)=>new Promise((s,o)=>{const a=setTimeout(()=>o(new Error(`${n.nsp}/${r}:Socket time out`)),2e4);n.emit(r,i,this.decodeBind(c=>{clearTimeout(a);try{for(let l=0,u=this.afterRequest.length;l<u;l++)this.afterRequest[l](c);c.code===0?s(c.data):(console.log(`Socket Error: ${n.nsp}:${r}
11${JSON.stringify(i)}`),o(new zC(c.msg,c.code)))}catch(l){o(l)}},NC))}));this.uris=n,this.once("pong",i=>{let s=i;this.on("pong",o=>{s=.2*o+.8*s,this.latency=s})})}open(n){FC||this.isConnecting||~this.readyState.indexOf("open")||(this.isConnecting=!0,this.openWithSign().finally(()=>{super.open(n),this.isConnecting=!1}))}openWithSign(){return te(this,null,function*(){try{const n=yield this.waitSocketConnect,{sign:r,source:i}=yield this.getSignData(n);this.opts.query=de(q({},this.opts.query),{p:r,t:i}),this.uri=n}catch(n){}})}testSocketRoute(n,r=""){return te(this,null,function*(){const{socket:i,test:s=i}=n,o=new URL(s);o.pathname=o.pathname.replace(/\/?$/,"/test/"),r&&o.searchParams.append("p",r);const a=o.toString(),c=yield fetch(a,{credentials:"include"}).then(l=>l.text());return{uri:n,sign:c}})}getSignData(n){return te(this,null,function*(){const{t1:r,t2:i}=yield BC(),s=window.navigator.userAgent.trim(),o=r(s);let{uri:a,sign:c}=yield Promise.race([{socket:n}].map(l=>this.testSocketRoute(l,o)));return{sign:i(c,s),uri:a,source:c}})}socket(n){const r=super.socket(n);return r.request=this.socketRequestBind(r),r}addAfterRequest(n){this.afterRequest.push(n)}decode(n="utf8"){return r=>{let i;if(n==="utf8")i=Kg.decode(r);else if(n==="json")i=JSON.parse(Kg.decode(r));else if(n==="int8")i=new DataView(r).getUint8(0);else if(n==="int32")i=new DataView(r).getUint32(0);else if(n==="int64"){let s=new DataView(r);i=new Re(s.getUint32(4),s.getUint32(0)).toNumber()}else i=n.decode(new Uint8Array(r));return i}}encode(n="utf8"){return r=>{if(n==="utf8")return Xg.encode(r);if(n==="json")return Xg.encode(JSON.stringify(r));if(n==="int8")return Uint8Array.of(r);if(n==="int32"){let i=new Uint8Array(4);return new DataView(i.buffer).setUint32(0,r),i}else if(n==="int64"){let i=Re.fromNumber(r),s=new Uint8Array(8),o=new DataView(s.buffer);return o.setUint32(0,i.high),o.setUint32(4,i.low),s}else return n.encode(new n(r)).finish()}}decodeBind(n,r="utf8"){const i=this.decode(r);return s=>n(i(s))}},Ln(vr,"socketOptions",{timeout:2e4,reconnectionDelayMax:1e4,transports:["websocket"],autoConnect:!1,parser:LC,query:{}}),vr);const Xg=new TextEncoder,Kg=new TextDecoder;let zC=class extends Error{constructor(n,r=0){super(n);Ln(this,"code");this.code=r}};const qC=()=>va(()=>import("./wr_utils-DBS-nkeY.js"),[]).then(t=>t.default);function jC(){const{protocol:t,hostname:e}=location;if(t==="http:"&&["dev","localhost","192"].find(n=>e.startsWith(n)))return[{socket:`${origin}`,test:`${origin}/socketapi`}];
11{const n=e.match(/[^\.]+\.\w+$/);return[{socket:`${t}//socketv4.${n}`}]}}function Gg(t){return t?`${location.protocol}//${t}`:jC()[0].socket}function HC(t,e,n){let r;const i=new Set;return s=>{const o=t(new Uint8Array(s));if(!(n!=null&&n.validate&&!n.validate(o))){if(n!=null&&n.getVersion){const a=n.getVersion(o);if(!Number.isSafeInteger(a)||r!==void 0&&a<=r)return;r=a}else if(n!=null&&n.getMsgId){const a=n.getMsgId(o);if(a){if(i.has(a))return;i.add(a)}}e(o)}}}function Kh(t,e){const n=An(),r=new Set,i=n.decodeBind(o=>{const a=o==null?void 0:o.msgId;if(WC(a),a){if(r.has(a))return;r.add(a)}e(o)},"json"),s=An("/user");return s.on(t,i),()=>s.off(t,i)}const Yg=new Set;function WC(t){t&&!Yg.has(t)&&(vt().post("/user/userNotification/received/",{msgId:t}).catch(console.log),Yg.add(t))}let Ba=null;function An(t){return Ba||(Ba=new UC({uris:[{socket:""}]})),t===void 0?Ba:Ba.socket(t)}const Vs=t=>{const[e,n]=B(!1);let r;return Se(s=>{r=t({dispose:s,inited:e})}),[r,()=>{Y(()=>{e()||n(!0)})}]};function VC(t,e,n=365){const r=new Date;r.setTime(r.getTime()+n*24*60*60*1e3);const i="expires="+r.toUTCString(),s=XC(),o=s?`;domain=${s}`:"";document.cookie=t+"="+encodeURIComponent(e)+";"+i+";path=/"+o}function XC(){if(location.hostname==="localhost"||location.hostname==="127.0.0.1")return null;const t=location.hostname.split(".");return t.length<2?null:"."+t.slice(-2).join(".")}const[[xe,Uc],KC]=Vs(t=>{const[e,n]=dl({lang:"en",darken:!0,theme:"dark",firstVisit:!0,preVisitTime:0,lite:Eh()},{name:"setting"});return Se(()=>{ne(()=>{if(typeof document=="undefined")return;const r=e.lang||"en",i=Kw(r),s=document.documentElement;s.dir=i?"rtl":"ltr",s.lang=r,s.setAttribute("translate",/^en(?:-|$)/i.test(r)?"yes":"no"),Yw(i)})}),Wn(()=>t.inited()).then(()=>{Se(()=>{ne(qn(()=>e.lang,r=>{VC("setting_lang",r)},{defer:!0})),pe(()=>{n("darken",e.theme!=="light")}),e.preVisitTime===0?n("preVisitTime",Date.now()):n("firstVisit",!1),ne(()=>{const r=An(),i=r.opts.query;r.opts.query=de(q({},i),{"Accept-Language":e.lang})})})}),[e,n]});function GC(t,e){return xe.darken?t:e}const Jg=(t,e)=>e?t.replace(/__(.+?)__/g,(n,r)=>String(e[r])):t;function YC(t){var e,n;return(n=(e=re.langs[t])==null?void 0:e[1])!=null?n:t}const n3=new Map,Fa={ids:/<\d>/g,id:/\d+/,split:/(<\d>.*?<\/\d>|<br\/>)/,tag:/<(\d)>(.*?)<\/\d>/};function JC(t,e){const n=Se(()=>{const[r,i]=B(void 0);let s;pe(()=>{const c=xe.lang;let l=QC(YC(c),t).then(u=>{s===l&&i(u)});s=l});const o=iC(r,Jg);return{t:(c,l)=>o(c,l)||Jg(i3(c),l),Trans:c=>{const[,l]=_e(c,["options","i18nKey","children"]),u=()=>o(c.i18nKey,l);if(typeof c.children=="string")return u;{const f=Le(()=>c.children);return M(()=>{try{const d=u(),h=d.match(Fa.ids),g=f.toArray().filter(y=>y instanceof Element);if(!h||h.length!==g.length)return d;const p=h.map(y=>y.match(Fa.id)[0]).sort();return d.split(Fa.split).filter(Boolean).map(y=>{const v=y.match(Fa.tag);if(!v)return y;const b=g[p.indexOf(v[1])];return b.textContent=v[2],b})}catch(d){return f}})}}}});return e&&n3.set(e,n),n}const yt=(t,e)=>{const n=n3.get("root");return n?n.t(t,e):t},r3=new Map;function ZC(t){for(const e in t)r3.set(e,t[e])}function QC(t,e){return te(this,null,function*(){let n={};const r=`${t}/index.json`,i=Object.entries(e),s=i.find(([o,a])=>o.endsWith(r))||i.find(([o,a])=>o.endsWith("en-US/index.json"));if(!t||!s)n={};else{n=yield s[1]();for(const o in n)n[o]=i3(n[o]),r3.forEach((a,c)=>{if(n[o].includes(c)){const l=new RegExp(c,"g");n[o]=n[o].replace(l,a)}})}return n})}function i3(t){return t.replace(/__ENV_\w+__/g,e=>{switch(e){case"__ENV_JB__":return re.license.freeCoin;case"__ENV_BCD__":return re.license.platformCoin;case"__ENV_BCL__":return re.license.bcl;case"__ENV_SITE__":return re.license.site;case"__ENV_HOST__":return re.license.host.toUpperCase();case"__ENV_COCO__":return re.license.mascot;default:return e}})}var ex=N("<div>");const tx=t=>{switch(typeof t=="number"?Yh(t).type:t.vipLevelStatus){case 0:return"none";case 1:return"bronze";case 2:return"silver";case 3:return"gold";case 4:case 5:return"platinum";case 6:case 7:case 8:return"diamond"}};var s3=(t=>(t[t.None=0]="None",t[t.Bronze=1]="Bronze",t[t.Silver=2]="Silver",t[t.Gold=3]="Gold",t[t.Platinum_I=4]="Platinum_I",t[t.Platinum_II=5]="Platinum_II",t[t.Diamond_I=6]="Diamond_I",t[t.Diamond_II=7]="Diamond_II",t[t.Diamond_III=8]="Diamond_III",t))(s3||{});const Gh={Beginner:"--vip-beginner",Bronze:"--vip-bronze",Silver:"--vip-silver",Gold:"--vip-gold",Platinum:"--vip-platinum",Diamond:"--vip-diamond",Eter
11nal:"--vip-eternal"},Kn=t=>{var e;return`rgb(var(${(e=Gh[t])!=null?e:"--vip-beginner"}))`},nx=[Kn("Beginner"),Kn("Bronze"),Kn("Silver"),Kn("Gold"),Kn("Platinum"),Kn("Platinum"),Kn("Diamond"),Kn("Diamond"),Kn("Diamond")],Yh=t=>{const{item:e,exact:n}=o3(t);return e?{level:n?e.level:t,xp:n?e.minXp:e.maxXp,type:Wv(e.level)}:{level:t,xp:0,type:0}},rx=function(e){const n=M(()=>{var i;const{tier:r}=c3(e.level);return(i=Gh[r.base])!=null?i:"--vip-beginner"});return(()=>{var r=ex();return D(r,()=>e.children),fe(i=>{var s=`h-5 rounded py-0 px-2 ${e.class||""} bg-layer3 font-semibold`,o=`rgb(var(${n()}))`,a=`linear-gradient(to top, rgb(var(${n()}) / 0.1), transparent)`,c=`1px solid rgb(var(${n()}) / 0.6)`;return s!==i.e&&ye(r,i.e=s),o!==i.t&&Ut(r,"color",i.t=o),a!==i.a&&Ut(r,"background-image",i.a=a),c!==i.o&&Ut(r,"border",i.o=c),i},{e:void 0,t:void 0,a:void 0,o:void 0}),r})()},ix=33;function o3(t){const e=Hv[0]();if(!e||e.length===0)return{item:void 0,exact:!1};const n=e.find(r=>r.level===t);return{item:n!=null?n:e[e.length-1],exact:!!n}}const a3=t=>Gh[t]?Kn(t):"currentColor";function sx(t){const e=t.lastIndexOf(" ");if(e===-1)return{base:t,suffix:"",fullName:yt(t)};const n=t.slice(0,e),r=t.slice(e+1);return{base:n,suffix:r,fullName:`${yt(n)} ${r}`}}const c3=t=>{const{item:e,exact:n}=o3(t),r=e?Wv(e.level):0,i=r>=6,s=e?sx(e.levelName):{base:"None",suffix:"",fullName:"None"};return{isSvip:i,vipLevel:n?e.level:t,vipType:i?"SVIP":"VIP",vipLevelColor:nx[r],vipTypeNum:r,tier:s}},ox=Object.freeze(Object.defineProperty({__proto__:null,LevelName:rx,VipLevelStatus:s3,getLevelInfo:Yh,getTierColor:a3,getUserLevelInfo:c3,maxLevel:ix,vipBadgeIcon:tx},Symbol.toStringTag,{value:"Module"})),[ax,cx]=B([]);function lx(t){cx(t)}const{on:ux,emit:sf}=Se(()=>cv()),kn={on:ux,emit:sf,promisify(t){return((...e)=>new Promise(n=>{sf(t,...e,r=>n(r))}))},promisify_new(t){return((...e)=>new Promise(n=>{sf(t,[...e,r=>n(r)])}))}},fx=/^\/([\w-]+)(.*)$/,hd=new Set;function dx(t){return hd.add(t),()=>hd.delete(t)}function hx(t,e){hd.forEach(n=>n(t,{mobile:e}))}const mn={langSet:new Set([]),isValidLang(t){return mn.langSet.has(t)},sync(t){mn.listenerDispose?mn.listenerDispose():mn.listenerDispose=dx((e,n)=>{const r=mn.buildUrlWithBase(e,n.mobile?"/":location.pathname+location.search);window.location.replace(r)}),Y(()=>{const e=t.langs||Object.keys(re.langs)||[];let n=t.lang||navigator.language;mn.langSet=new Set(e);const r=location.href.slice(location.origin.length);if(xe.preVisitTime===0){const{baseKey:i}=mn.extractBase(r);if(i==="en"){if(n){const s=Object.entries(re.langs);let o=s.find(a=>a[1][1]===n);o||(n=n.split("-")[0],o=s.find(a=>a[1][1].includes(n))),o&&Uc("lang",o[0])}}else Uc("lang",i)}history.replaceState(history.state,"",mn.buildUrlWithBase(xe.lang,r))})},getBasePrefix(){return xe.lang==="en"?"/":`/${xe.lang}`},buildUrlWithBase(t,e){const n=mn.extractBase(e);return(t==="en"?"":`/${t}`)+n.path},extractBase(t){let e="en";const n=t.match(fx);return n&&mn.langSet.has(n[1])&&(e=n[1],t=n[2]||"/",t.startsWith("/")||(t=`/${t}`)),{baseKey:e,path:t}}};let bo=mn;const gx=t=>{bo=t},Ii={sync(...t){bo.sync(...t)},getBasePrefix(){return bo.getBasePrefix()},buildUrlWithBase(t,e){return bo.buildUrlWithBase(t,e)},extractBase(t){return bo.extractBase(t)}};function px(t){return Ii.extractBase(t).path}function mx(t,e){mn.isValidLang(t)&&(Uc("lang",t),hx(t,e))}let ao;const Gn={back:!1,forward:!1},ba=Ze(null),[yx,vx]=Vs(t=>e=>{const n=Ve();Wn(()=>t.inited()).then(()=>{un(n,()=>{pe(()=>{e()&&window.location.reload()})})})});function bx(t){const e=Fs(),n=Tn(),r=Ve(),[i,s]=B("/");pe(()=>{const l=n.pathname;K(()=>{s(l)})});const o=oa();yx(()=>!n.pathname.startsWith(t.base));const a=M(([,l])=>{var h;const u=o(),f=((h=history.state)==null?void 0:h._depth)||0;let d;return ao!==void 0?d=[ao,l+(ao==="PUSH"?1:0),u]:d=[l>f?"POP":l===f?"REPLACE":"PUSH",f,u],ao=void 0,d},["PUSH",0,[]]),c=((l,u)=>{var f;if(Gn.back=!1,Gn.forward=!1,typeof l=="number")return l<=-99&&(l=Math.min((((f=history.state)==null?void 0:f._depth)||0)-history.length,-1)),e(l,{scroll:!1});{ao=u!=null&&u.replace?"REPLACE":"PUSH",u!=null&&u.state&&(u.state=JSON.parse(JSON.stringify(u.state)));const{path:d}=Ii.extractBase(l);
11return e(d,q({scroll:!1},u))}});return C(l3.Provider,{value:r,get children(){return C(ba.Provider,{value:{navigate:c,action:()=>a()[0],referrer:i},get children(){return t.children}})}})}const l3=Ze(null);function wx(t){return((...e)=>un(Ie(l3),()=>t(...e)))}const _x=wx(i2),zc=t=>{const[e,n]=_e(t,["state"]),r=M(()=>t.href),i=()=>{var l;return t.target&&((l=r())==null?void 0:l.startsWith("http"))},s=Xs();function o(l){var u;l.metaKey||l.ctrlKey||l.shiftKey||l.altKey||l.button!==0||(l.stopPropagation(),l.preventDefault(),queueMicrotask(()=>{s(r(),{replace:t.replace,state:t.state})})),(u=t.onClick)==null||u.call(t,l)}const[a,c]=B(null);return C(Zd,oe(n,{ref(l){var u=qi(t.ref,c);typeof u=="function"&&u(l)},get onClick(){return i()?void 0:o}}))},Xs=()=>Ie(ba).navigate,Cx=()=>Ie(ba).referrer;function xx(t,e){var n;for(const r of t)r.info=q(q(q({},e),r.info),e.guards&&{guards:(((n=r.info)==null?void 0:n.guards)||[]).concat(...e.guards)});return t}function u3(t,e="back"){const n=e==="back"||e==="both",r=e==="forward"||e==="both",i=window.innerWidth*.15,s=window.innerWidth*.85,[o,a]=B(i);je(window,()=>t()?"touchstart":"",f=>a(f.touches[0].clientX));const c=M(()=>n&&t()&&o()<i),l=M(()=>r&&t()&&o()>s);je(window,"popstate",()=>{Gn.back=!1,Gn.forward=!1}),je(window,()=>c()?"touchmove":"",f=>{f.touches[0].screenX>o()&&(Gn.back=!0)}),je(window,()=>l()?"touchmove":"",f=>{f.touches[0].screenX<o()&&(Gn.forward=!0)}),je(window,()=>c()||l()?"touchend":"",u);function u(){setTimeout(()=>{Gn.back=!1,Gn.forward=!1},16)}return()=>{const f=n&&Gn.back,d=r&&Gn.forward;return f?(u(),"back"):d?(u(),"forward"):!1}}const Sx=t=>{const e=u3(t,"back");return()=>e()==="back"};function Ex(t){return typeof t.version=="number"&&Number.isFinite(t.version)&&typeof t.vipLevel=="number"&&Number.isFinite(t.vipLevel)&&t.vipLevel>=0&&typeof t.currXP=="number"&&Number.isFinite(t.currXP)&&t.currXP>=0&&typeof t.levelStartXP=="number"&&Number.isFinite(t.levelStartXP)&&typeof t.levelEndXP=="number"&&Number.isFinite(t.levelEndXP)}function Ax(t){let e=0;Kh("xp_change_V2",n=>{try{if(!Ex(n)||n.version<=e)return;e=n.version,at(()=>{t({vipLevel:n.vipLevel,currXP:n.currXP,levelStartXP:n.levelStartXP,levelEndXP:n.levelEndXP})})}catch(r){console.warn("[vipV2Socket] xp_change_V2 handler error",r)}})}function f3(){let t,e;const n=()=>{e=new Promise(r=>t=r)};return n(),{get promise(){return e},reset:n,resolve:r=>t(r)}}const Jh=f3(),Zh=f3(),qc={get walletReady(){return Jh.promise},get accountReady(){return Zh.promise}};function Tx(){Jh.reset()}function Ox(){Zh.reset()}function kx(t){Jh.resolve(t)}function Rx(t){Zh.resolve(t)}let uc="";function Px(t){return te(this,null,function*(){var l,u,f,d,h,g;const e=yield qc.accountReady;if(!e.login&&t)return q({},t);const n=e.login?vt().get("/account/setting/ns_user/get/"):null,r=yield qc.walletReady;if(!e.login)return de(q({},of(e)),{currencyName:(u=(l=r[0])==null?void 0:l.currencyName)!=null?u:"USDT",noDisturb:!1});const i=p=>r.some(m=>m.currencyName===p),s=yield n;if(s)try{const p=JSON.parse(s);uc=JSON.stringify(p),p!=null&&p.noDisturb||(p.noDisturb=!1),i(p.currencyName)||(p.currencyName=(d=(f=r[0])==null?void 0:f.currencyName)!=null?d:p.currencyName);const m=p.localeCurrencyName;return m&&!m.endsWith("FIAT")&&Object.assign(p,re.localCurrencyConfig.some(y=>y[0]===m)?{localeCurrencyName:m+"FIAT"}:of(e)),p}catch(p){}const o=t!=null?t:of(e),a=h3(e,o),c=i(a)?a:(g=(h=r[0])==null?void 0:h.currencyName)!=null?g:a;return t?de(q({},t),{currencyName:c}):de(q({},o),{currencyName:c,noDisturb:!1})})}function d3(t){return re.localCurrencyConfig.find(e=>e[2]===t)}function Dx(t){var n,r;if(t==="en")return;const e=(r=(n=re.langs[t])==null?void 0:n[1])==null?void 0:r.split("-")[1];return e?d3(e):void 0}function of(t){var n;const e=(n=Dx(xe.lang))!=null?n:d3(t.areaCode);return e?{localeCurrencyName:e[0]+"FIAT",enableLocaleCurrency:!0}:{localeCurrencyName:"USDFIAT",enableLocaleCurrency:!1}}function h3(t,e){return e!=null&&e.enableLocaleCurrency&&e.localeCurrencyName?e.localeCurrencyName:t.bonusCurrencyName||"USDT"}function Ix(t){return te(this,null,function*(){if(!(uc&&t===uc||(uc=t,!(yield qc.accountReady).login)))return vt().post("/account/setting/ns_user/reset/",JSON.parse(t))})}function Lx(){return te(this,null,function*(){const t=vt().get("/user/amount/");return Tx(),yield qc.accountReady,t})}function $x(){return te(this,null,function*(){vt().defaults.headers.common["Accept-Language"]=xe.lang,Ox();const t=yield vt().get("/account/get/");return t.chatRoomPermission||delete t.chatRoomPermission,Rx(t),t})}const Mx={blockable:!1,deleteable:!1,vipable:!1,blockLevel:0},Nx={name:"",avatar:"",userAvatarFrameList:[],userId:0,uniqueUid:0,uid:0,createTime:0,kyc:1,gameable:!0,login:!1,email:"",loginSource:"",open:0,bonusCurrencyName:"",avatarUpdateTime:0,vipLevel:0,currXP:0,levelEndXP:0,levelStartXP:0,safePwd:!1,google2StepAuth:!1,hasPhone:!1,chatRoomPermission:Mx,emailVerified:!1,channel:"",currentInvitationCode:"",areaCode:"",showable:!0,areaAlert:!1,acceptPromotion:!0,acceptSmsPromotion:!0,passwordExist:!1,invitationUrl:"",serverTimestemp:0,ip:"",rayId:"",passkeyHasSet:!1,appChannelId:0,redirectDomain:"",socketDomain:"",setting:{currencyFullName:!1,localeCurrencyName:"USDFIAT",enableLocaleCurrency:!1,currencyName:"BTC",currencyBonusType:"",hide
11SmallCurrency:!1,lastFiatCurrency:"",lastCryptoCurrency:"",lastNftCurrency:"",soundEffectEnable:!0,maxbetAlert:!0,allowRechargeSuccessEmail:1,allowWithdrawSuccessEmail:1,lang:"en",noDisturb:!1},redDot:{systemNotice:0,gameComment:0},vipUser:!1,cwalletId:null,userCountry:null},[[Ce,pl],Bx]=Vs(t=>{const[e,n,r]=dl(Nx,{name:"account"});function i(s){Px(s).then(o=>{(!o.lang||o.lang!==xe.lang)&&(o.lang=xe.lang),n("setting",o)}).catch(()=>{})}return Wn(()=>t.inited()).then(()=>{Se(()=>{const s=Ve(),o=An();gd().then(c=>{const l=Gg(c.socketDomain);o.enableSocketConnect(l),a.connect(),An("/game-support").connect(),Ax(n),(c.login||!r)&&i(r?q({},e.setting):void 0),un(s,()=>{ne(u=>{const f=e.login;if(f&&!u){const d=Gg(e.socketDomain);o.waitSocketConnect=Promise.resolve(d),o.disconnect(),o.open(),i(q({},e.setting))}return f},c.login)})}).catch(()=>{}),cl(()=>gd().catch(()=>{}),3e5,setInterval);const a=An("/user");ne(c=>{const l=JSON.stringify(e.setting);return c&&Ix(l),l})})}),[e,n]});function gd(){return te(this,null,function*(){const t=yield $x();return _h("timeDiff",Date.now()-(t.serverTimestemp||Date.now())),pl(de(q({},t),{_isStale:!1})),t})}function Fx(){return te(this,null,function*(){return Wn(()=>Ce.login)})}function Ux(t,e="/login/signin"){return(...n)=>{if(!Ce.login){Xs()(e);return}return t(...n)}}function zx(t){return!Ce.login&&`/login/signin?redirect=${encodeURIComponent(t.pathname+t.search)}`}const qx={NORMAL:4001,TWOFA_ERROR:4002,INSUFFICIENT_BALANCE:5002,SAME_EMAIL:5801,IS_MUTE:6001,NEED_LOGIN:6002,SESSION_ERROR:6003,NEED_VERIFY:6004,IS_BLOCKED:6005,LOCKED_BY_KYC:6008,SELF_EXCLUSION:6009,REMOTE_LOGIN:6010,NEED_EMAIL_AND_BASIC_KYC:6101,NEED_EMAIL_AND_ADVANCED_KYC:6102,NEED_PHONE_AND_BASIC_KYC:6103,NEED_PHONE_AND_ADVANCED_KYC:6104,NEED_EMAIL_OR_PHONE_AND_BASIC_KYC:6105,NEED_EMAIL_OR_PHONE_AND_ADVANCED_KYC:6106,NEED_EMAIL_AND_PHONE_AND_BASIC_KYC:6107,NEED_EMAIL_AND_PHONE_AND_ADVANCED_KYC:6108,NEED_BASIC_KYC:6109,NEED_ADVANCED_KYC:6110,FINAL_REJECT_KYC:6111,NO_RFC_KYC:6114,NEED_RFC_KYC:6115,NOPASS_RFC_KYC:6116,IS_UPDATING:1999,SELF_GAMBLING_LIMITS:6012,IP_ADDRESS_BLOCKED:8601},Xe=class Xe{constructor(e){this.userId=0,this.name="",this.nameId="",this.key="",this.isCasino=!1,this.isOnline=!1,this.lastSyncOnlineTime=0;let n=Xe.userDict[e.userId];return n||(this.userId=e.userId,Xe.addCache(this),n=this),e.name===Xe.hiddenName||e.name&&n.name!==e.name&&(n.name=e.name,n.nameId=this.getNameId(n.name),n.key=this.nameId.toLowerCase()),n}syncOnlineStatus(){return te(this,null,function*(){const e=Date.now();e-this.lastSyncOnlineTime>36e5&&(this.lastSyncOnlineTime=e)})}getNameId(e=""){e=e.replace(/\s(\w?)/,(i,s)=>s.toUpperCase());let n=e.toLowerCase(),r=1;for(;Xe.keyDict[n];)e=e+r,n=e.toLowerCase(),r++;return e}static search(e){return e=e.toLowerCase(),Xe.userList.filter(n=>n.userId!==0&&n.name&&n.key.indexOf(e)!==-1)}static findByName(e){return Xe.userList.find(n=>n.userId!==0&&n.name===e)}static findByKey(e){return e=e.toLowerCase(),Xe.userList.find(n=>n.userId!==0&&n.key===e)}static isFirend(e){return Xe.firendDict[e]}static addCache(e){if(Xe.userDict[e.userId]=e,Xe.userList.push(e),Xe.keyDict[e.nameId]=e,Xe.userList.length>Xe.MAX){const n=Xe.userList.shift();if(n===void 0)return;delete Xe.userDict[n.userId],delete Xe.keyDict[n.nameId]}}static syncOnline(e){const n=e.map(r=>r.userId);vt().post("/account/online/status/",{userIds:n}).then(r=>{e.forEach(i=>{i.isOnline=r.indexOf(i.userId)!==-1})}).catch(()=>{})}static getName(e){return e===Xe.hiddenName?yt("Hidden"):e}};Xe.MAX=5e3,Xe.userList=[],Xe.userDict={},Xe.keyDict={},Xe.firendDict={},Xe.hiddenName="****";let Ls=Xe;var nm;const Zg=(nm=document.getElementById("site-config"))==null?void 0:nm.textContent,g3=Zg?JSON.parse(Zg):{};var rm;const Oo=(rm=g3.license)!=null?rm:{bc:!0};var im;const pd=(im=g3.langs)!=null?im:[],jx={init:!1,license:"bc",currency:{},gameSockets:[],gameChannels:[]},[[nr],Hx]=Vs(t=>{const[e,n]=dl(jx,{name:"system"});return Wn(()=>t.inited()).then(()=>{const r=i=>{vt().get("/game/support/system/conf/index/minimal",{cache:!0}).then(s=>{if(s){const o=de(q({},s),{_isStale:!1});o.init=!0,o.currency=o.currencyV2.reduce((a,c)=>(a[c.currencyName]=c,a),{}),delete o.currencyV2,n(o)}}).catch(s=>{console.error(s),i>0&&setTimeout(()=>r(i-1),4e3)})};r(2)}).catch(console.error),[e]});let fc=null;function Wx(t,e){fc==null||fc(t,e)}const[[Vx],Xx]=Vs(t=>{const[e,n]=dl({},{name:"usdprice",deserialize:Qg});return fc=n,Wn(()=>t.inited()).then(()=>{const r=i=>
11{vt().get("/game/support/system/conf/usdPrice").then(s=>{if(s){const o=q({},s);o.USD="1",o.USDFIAT="1",n(Qg(o))}}).catch(s=>{console.error(s),i>0&&setTimeout(()=>r(i-1),4e3)})};r(2)}).catch(console.error),[e]});function Qg(t){return Object.fromEntries(Object.entries(t).map(e=>(e[0]==="_isStale"||(e[1]=new Fe(e[1])),e)))}const af=new Fe(0),Ai={amount2usd(t,e){return t.mul(this.getUsdPrice(e))},printCurrency(t,e="USDFIAT",n){const r=Ce.setting.enableLocaleCurrency,i=typeof n=="number"?{precision:n}:n||{},{precision:s=7,target:o=r?Ce.setting.localeCurrencyName:e,hasAlias:a=!0,minDecimals:c,maxDecimals:l}=i,u=Oo.bcmx&&o.endsWith("FIAT")?Ce.setting.localeCurrencyName:o,f=e===u?t:this.convertCurrency(t,e,u),{num:d,exp:h,unit:g}=Sh(f.toNumber(),s),p=new Fe(d);if(u.endsWith("FIAT"))return this.toFiatStr(p,u,xe.lang,c,l)+g;const m=a?` ${this.getAlias(u)}`:"",y=h>1?2:s;let v="";if(h>1?v=p.toFixed(2,Fe.ROUND_DOWN):d<1?v=Vo(p.toFixed(s,Fe.ROUND_DOWN)):v=Vo(p.toPrecision(s+1,Fe.ROUND_DOWN)),!f.eq(0)&&Number(v)===0)return`< ${s>0?`0.${"0".repeat(s-1)}1`:"1"}${m}`;const b=c!=null?c:0;return new Intl.NumberFormat(xe.lang,{style:"decimal",roundingMode:"trunc",minimumFractionDigits:b,maximumFractionDigits:Math.max(Math.min(y,20),b)}).format(Number(v))+(h>1?g:"")+m},printAnyCurrency(t,e="USDFIAT",n=7,r){return Ai.printCurrency(t,e,{precision:n,target:r})},convertCurrency(t,e,n="USD"){const r=this.getUsdPrice(n)||af;return r.eq(0)?af:t.mul(this.getUsdPrice(e)).div(r)},bn2amount(t,e){var n;return new Fe(t.toNumber()).div(((n=nr.currency[e])==null?void 0:n.unitAmount)||1)},getUsdPrice(t){return Vx[t]||af},getCurrency(t){return nr.currency[t]},getPrecision(t){var e;return((e=nr.currency[t])==null?void 0:e.precisionUnit)||8},getAlias(t){var e;return((e=nr.currency[t])==null?void 0:e.aliasCurrencyName)||t},getIntl(t,e){var r;e=Oo.bcmx?"es-MX":ep(e);const n=t.replace("FIAT","").trim();try{const i=Intl.NumberFormat(e,{style:"currency",currency:n,currencyDisplay:Oo.bcmx?"narrowSymbol":"symbol",roundingMode:"trunc"}),s=((r=i.formatToParts(0).find(o=>o.type==="currency"))==null?void 0:r.value)||n;return[i,s]}catch(i){return[Intl.NumberFormat(e,{style:"decimal",roundingMode:"trunc"}),n]}},getCryptoIntl(t,e){return e=ep(e),new Intl.NumberFormat(e,{style:"decimal",roundingMode:"trunc",minimumFractionDigits:0,maximumFractionDigits:Math.min(t,20)})},getCurrencySymbol(t,e){return this.getIntl(t,e)[1]},toFiatStr(t,e,n,r,i){var c;const s=Gx(e,n,r,i),o=(c=s.resolvedOptions().maximumFractionDigits)!=null?c:2,a=t.toDecimalPlaces(o,Fe.ROUND_DOWN);return!t.eq(0)&&a.eq(0)?`< ${s.format(Math.pow(10,-o))}`:s.format(a.toNumber())},toCryptoStr(t,e){t=t.todp(this.getPrecision(e),Fe.ROUND_DOWN);const n=Math.max(t.decimalPlaces(),2);return t.toFixed(n,Fe.ROUND_DOWN)}};var sm;const Kx=((sm=globalThis==null?void 0:globalThis.navigator)==null?void 0:sm.language)||"en-US";function ep(t){return t||xe.lang||Kx}function Gx(t,e,n,r){var u,f;const[i]=Ai.getIntl(t,e),s=i.resolvedOptions(),o=(u=s.minimumFractionDigits)!=null?u:2,a=(f=s.maximumFractionDigits)!=null?f:2,c=r!=null?Math.min(r,a):a,l=Math.min(n!=null?Math.min(n,o):o,c);return s.style!=="currency"||l>=o&&c>=a?i:Intl.NumberFormat(s.locale,{style:"currency",currency:s.currency,currencyDisplay:s.currencyDisplay,roundingMode:"trunc",minimumFractionDigits:l,maximumFractionDigits:c})}function Yx(t){const e=Ls.userDict[t];return e?e.name===Ls.hiddenName:!1}function Jx(t){return t==="phone-code"?"phone":t==="email-code"?"email":t==="google-2step-auth"?"google_2fa":t}function Zx(t,e){let n=Ai.getAlias(t).replace(/FIAT$/,"");return e=e!=null?e:t.endsWith("FIAT")?"rect":"black",Oo.esportsbr&&(n="BRL",e="rect"),`https://imgxcut.com/coin/${n}.${e}.png`}function Qx(t){return`//res.${re.host}/nft/${t}.png`}function eS(t,e="s"){let n=p3(`/avatar/${t}/${e}`);return Ce.userId===t&&(n+=`?t=${Ce.avatarUpdateTime}`),Yx(t)&&(n=""),t===0&&(n=""),n}function p3(t){return`//${re.imgHost||"img2.dogcrash.game"}${t}`}function tS(t){return t===Ls.hiddenName?yt("Hidden"):t}const nS={avatar:eS,userName:tS,coinIcon:Zx,nftIcon:Qx,img2:p3,User:Ls,ErrorCode:qx,transformVerifyType:Jx},md=Ze(()=>!0);function Xr(t){const e=Dn();function n(r){return M(()=>(t.force||e())&&r())}if(t.value!==void 0)return C(md.Provider,{get value(){return n(()=>t.value)},get children(){return t.children}});{const[r,i]=B(!1),s=Le(()=>C(md.Provider,{get value(){return n(r)},get children(){return t.children}})),o=ur(s),a=Ph()(o);return pe(()=>i(a())),s}}function Dn(){return Ie(md)}function m3(t){const e=Dn();let n;return()=>
11((!n||e())&&(n=t()),n)}function y3(t){const e={scrollTop:0,scrollLeft:0},n=Dn(),r=Ih(()=>t.children),i=M(()=>{const s=r();return n()?s instanceof Array?s[0]:s:null});return pe(()=>{const s=i();s&&K(()=>{e.scrollTop=s.scrollTop,e.scrollLeft=s.scrollLeft})}),ne(()=>{const s=i();s&&(s.scrollTop=e.scrollTop,s.scrollLeft=e.scrollLeft)}),r}function tp(){const t=Ve();let e;function n(r,i=()=>!0){return e||(e=Se(s=>({el:C(Xr,{get value(){return i()},get children(){return r()}}),depose:s}),t)),e.el}return K(()=>{e&&e.depose()}),n}function Vn(t){let e=i=>i(),n=e;t.keepAlive!==!1&&(e=tp(),n=tp());const r=M(()=>Wo||!!t.when);return C(ae,{get when(){return r()},get fallback(){return n(()=>t.fallback,()=>!r())},get children(){return e(()=>t.children,()=>r())}})}var rS=N('<svg viewBox="0 0 32 32"><path>');const Ae={Close:dr,Arrow:dr,Exit:dr,Search:dr,Calendar:dr,Caution:dr,Success:dr,Tipsicon:dr,Attention:dr};function dr(t){return(()=>{var e=rS();return ve(e,t,!0,!0),e})()}const v3=()=>document.body,b3=Ze({getOverlayRootElement:v3}),iS=t=>C(b3.Provider,{get value(){var e;return{getOverlayRootElement:(e=t.value)!=null?e:v3}},get children(){return t.children}}),Hi=()=>Ie(b3).getOverlayRootElement;var sS=N("<div class=toast-layer>"),oS=N("<button>"),aS=N('<div class="ml-auto relative size-6"><div>'),cS=N('<div class="overflow-hidden flex"><div><div class="pl-2 pr-4 flex">'),lS=N('<svg class="circle-countdown w-6 h-6 flex-none -mt-0.5"viewBox="0 0 32 32"><circle cx=16 cy=16 r=8>');const[uS,w3]=B([]);function fS(t){w3(e=>{const n=e.filter(r=>r.type!==t.type);return[t,...n]})}function np(t){w3(e=>{const n=[...e],r=t||n[n.length-1];return n.filter(i=>i!==r)})}function _3(){const t=Hi(),e=Le(()=>C(ke,{get each(){return uS()},children:r=>C(dS,{toastData:r})})),n=ol(e,{exitMethod:"keep-index",onChange({added:r,removed:i,finishRemoved:s}){requestAnimationFrame(()=>{r.forEach(o=>{const a=o.clientHeight;o.style.height="0px",o.style.transition="height .5s var(--ease-out)",requestAnimationFrame(()=>{o.style.height=`${a}px`})})}
11),i.forEach(o=>{o.style.height="0px",setTimeout(()=>{s([o])},550)})}});return C(lr,{get mount(){return t()},get children(){return C(Vn,{get when(){return n().length>0},get children(){var r=sS();return D(r,n),r}})}})}function dS(t){const e=M(()=>t.toastData.duration>0),n=M(()=>e()&&t.toastData.countdown!==!1),[r,i]=B(!1),s=()=>{!re.mobile&&e()&&(kn.emit("toast-pause"),i(a=>!a))},o=(a=!1)=>(()=>{var c=oS();return c.$$click=l=>{l.stopPropagation(),np(t.toastData)},ye(c,a?"size-6 flex center absolute top-0 left-0":"size-5 flex center absolute right-1.5 cursor-pointer"),D(c,C(Ae.Close,{class:"size-4 fill-secondary"})),c})();return(()=>{var a=cS(),c=a.firstChild,l=c.firstChild;return c.addEventListener("mouseleave",s),c.addEventListener("mouseenter",s),c.$$click=()=>{var u,f;(f=(u=t.toastData).onClick)==null||f.call(u),re.mobile&&e()&&(kn.emit("toast-pause"),i(d=>!d))},D(l,()=>ml(t.toastData.message)),D(c,C(ae,{get when(){return e()},get fallback(){return o()},get children(){var u=aS(),f=u.firstChild;return D(f,C(hS,{get duration(){return t.toastData.duration},onEnd:()=>np(t.toastData)})),D(u,C(ae,{get when(){return!n()||r()},get children(){return o(n()&&r())}}),null),fe(()=>ye(f,n()?r()?"opacity-0 select-none ml-auto size-6":"ml-auto size-6":"hidden")),u}}),null),fe(()=>ye(c,`toast${t.toastData.class?` ${t.toastData.class}`:""}`)),a})()}function hS(t){let e;return ne(()=>{queueMicrotask(()=>{let n=!0;const r=da(e,{strokeDashoffset:0},{duration:t.duration,easing:"linear"});kn.on("toast-pause",()=>{n?r.pause():r.play(),n=!n}),r.finished.then(t.onEnd)})}),(()=>{var n=lS(),r=e;return typeof r=="function"?Be(r,n):e=n,n})()}const gS=[6008,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6114,6115,6116,6012],xr=((t,e={})=>{if(t instanceof Error)return gS.indexOf(t.code)>=0?"":xr.error(t.message,e);{if(Ce.setting.noDisturb&&(e==null?void 0:e.type)!=="error")return;const{duration:n=7,onClick:r=()=>{},system:i=!1,type:s="error",countdown:o=!0,icon:a,class:c}=e;return fS({duration:n,onClick:r,system:i,message:t,type:s,countdown:o,icon:a,class:c})}}),Qh=t=>`w-6 h-6 mr-2 -mt-0.5 flex-none ${t}`;xr.error=((t,e)=>{const n=e==null?void 0:e.icon;return xr(()=>[De(()=>n?n():C(Ae.Tipsicon,{get class(){return Qh("fill-error")}})),De(()=>ml(t))],de(q({},e),{type:"error"}))});xr.success=((t,e)=>{const n=e==null?void 0:e.icon;return xr(()=>[De(()=>n?n():C(Ae.Success,{get class(){return Qh("fill-success")}})),De(()=>ml(t))],de(q({},e),{type:"success"}))});xr.warning=((t,e)=>{const n=e==null?void 0:e.icon;return xr(()=>[De(()=>n?n():C(Ae.Caution,{get class(){return Qh("fill-warning")}})),De(()=>ml(t))],de(q({},e),{type:"warning"}))});function ml(t){return typeof t=="function"?t():t}cr(["click"]);function pS(t){return te(this,null,function*(){var r;let e="No captcha!";try{e=(yield(yield x3()).request(t))||e}catch(i){console.error("[captcha]",i),xr("Captcha failed to load, please refresh and try again")}const n=((r=nr.captcha)==null?void 0:r.type)==="recaptcha"?"googleRecaptcha":"reCAPTCHA";return{code:e,codeType:n}})}const rp=3e4;class C3{constructor(e){this.codeTimeout=0,this.key=e,this.inited=this.init(),this.inited.catch(()=>{})}request(e){return te(this,null,function*(){yield $c(this.inited,rp,!0,new Error(`captcha init timeout ${rp}ms`));const n=this.requestCode(e);return this.codeTimeout===0?yield n:yield $c(n,this.codeTimeout,!0,new Error(`captcha code timeout ${this.codeTimeout}ms`))})}}class mS extends C3{constructor(){super(...arguments),this.codeTimeout=8e3}init(){return te(this,null,function*(){return yield fa(`https://www.google.com/recaptcha/api.js?render=${this.key}`),new Promise(e=>{grecaptcha.ready(e)})})}requestCode(e){return te(this,null,function*(){return grecaptcha.execute(this.key,{action:e})})}}setTimeout(()=>{nr._isStale||x3()},15e3);class yS extends C3{init(){return te(this,null,function*(){return new Promise((e,n)=>{const r="hcaptcha_container",i=this.key;window.onGameCaptchaLoad=()=>{hcaptcha&&(hcaptcha.render(r,{size:"invisible",sitekey:i}),e(!0))},fa("https://js.hcaptcha.com/1/api.js?render=explicit&onload=onGameCaptchaLoad&recaptchacompat=off").then(()=>{const s=document.createElement("div");s.id=r,s.style.display="none",document.body.appendChild(s)},n)})})}requestCode(){return te(this,null,function*(){return(yield hcaptcha.execute({async:!0})).response})}}let co=null;const vS=3e4,bS="cf0b9a27-82e3-42fb-bfec-562f8045e495";function x3(){return te(this,null,function*(){if(yield Promise.race([Wn(()=>!nr._isStale),Iy(vS)]),nr._isStale)throw new Error("system minimal not ready, see stores/system.ts tryFetch");if(co)return co;const t=nr.captcha;return(t==null?void 0:t.type)==="recaptcha"?co=new mS(t.siteKey):co=new yS((t==null?void 0:t.siteKey)||bS),co})}const wS=Wr(()=>vt().get("/agent/invitation/code/custom/")),_S=Wr((t,e)=>vt().post(`/game/support/share/short-link/${t}/`,e));function CS(t){const e=[{name:"email",url:void 0,icon:10},{name:"Facebook",url:"https://www.facebook.com/sharer/sharer.php?u=",baseUrl:"https://www.facebook.com/sharer/sharer.php?",icon:3},{name:"X",url:"https://x.com/share?url=",baseUrl:"https://x.com/share?",icon:8},{name:"Telegram",url:"https://t.me/share?url=",baseUrl:"https://t.me/share?",icon:7},{name:"VK",url:"http://vk.com/share.php?",icon:11},{name:"Line",url:"https://lineit.line.me/share/ui?",icon:12},{name:"vertical",url:void 0,icon:6},{name:"Skype",url:"https://web.skype.com/share?",icon:13},{name:"OK",url:"https://connect.ok.ru/offer?url=",icon:14},{name:"btc",url:void 0,icon:1},{name:"pinterest",url:void 0,icon:15},{name:"Linkedin",url:"https://www.linkedin.com/sharing/share-offsite/?",icon:16},{name:"Whatsapp",url:"https://wa.me/?",icon:17},{name:"reddit",url:void 0,icon:18}];return Promise.all(e.map(n=>xS(q({platform:n},t))))}function xS(c){return te(this,arguments,function*({platform:t,title:e,inviteUrl:n,inviteCode:r,content:i="",imgUrl:s,shareUrl:o,isGame:a=!0}){let l={invitationUrl:`${location.protocol}://${re.host}`,invitationCode:""};if(n&&r?l={invitationUrl:n,invitationCode:r}:Ce.login&&(l=yield wS()),!t.url)return t;s=s||`${location.protocol}//${re.host}/share_image.jpg`;const u=o?`${l.invitationUrl}?p=${o}
11`:l.invitationUrl;let f="";if(t.name==="Facebook"||t.name==="X"||t.name==="Telegram"){const d={title:e,desc:i,image:s},h=t.name==="Facebook";if(!a||!Ce.login){const g=`title=${encodeURIComponent(e)}&text=${encodeURIComponent(i)}&${h?"u":"url"}=${encodeURIComponent(u)}`;f=t.baseUrl+g}else{const g=yield _S(l.invitationCode,d);f=t.url+g}}else if(t.name==="Linkedin"){const d=`url=${encodeURIComponent(u)}`;f=t.url+d}else if(t.name==="OK"){const d=`url=${encodeURIComponent(u)}&title=${encodeURIComponent(e)}&imageUrl=${encodeURIComponent(s)}`;f=t.url+d}else if(t.name==="Whatsapp"){const d=`text=${encodeURIComponent(e+" "+u)}`;f=t.url+d}else{const d=`url=${encodeURIComponent(u)}&title=${encodeURIComponent(e)}&text=${encodeURIComponent(i)}`;f=t.url+d}return de(q({},t),{url:f})})}var SS=N("<div>"),ES=N("<span>"),AS=N('<svg viewBox="0 0 32 32"xmlns=http://www.w3.org/2000/svg><path fill=#eb5858 d="M26.026 18.723c-0.16 0.333-0.328 0.661-0.477 0.999-0.197 0.447-0.329 0.909-0.355 1.405-0.027 0.526-0.294 0.922-0.778 1.144-0.141 0.062-0.294 0.094-0.448 0.096-0.635 0.011-1.272 0.007-1.907 0.005-0.201 0-0.219-0.026-0.114-0.205 0.197-0.338 0.419-0.642 0.795-0.822 0.46-0.22 0.699-0.909 0.561-1.433-0.109-0.415-0.345-0.754-0.579-1.1-0.368-0.544-0.641-1.131-0.601-1.806 0.017-0.274 0.112-0.544 0.178-0.815 0.018-0.075 0.057-0.144 0.086-0.216l-0.057-0.028c-0.099 0.186-0.217 0.365-0.294 0.561-0.26 0.666-0.129 1.305 0.178 1.92 0.097 0.193 0.227 0.37 0.334 0.558 0.034 0.060 0.072 0.145 0.054 0.203-0.177 0.584-0.323 1.184-0.565 1.743-0.166 0.382-0.309 0.77-0.455 1.158-0.075 0.2-0.215 0.29-0.435 0.288-0.699-0.008-1.398-0.002-2.096-0.003-0.217 0-0.24-0.024-0.164-0.225 0.072-0.198 0.158-0.391 0.257-0.577 0.111-0.203 0.291-0.324 0.521-0.388 0.386-0.107 0.571-0.404 0.598-0.776 0.031-0.432 0.011-0.868 0.015-1.302 0.001-0.14-0.092-0.133-0.189-0.127-0.674 0.043-1.348 0.112-2.022 0.123-0.766 0.011-1.533-0.029-2.299-0.048-0.116-0.003-0.154-0.049-0.101-0.164 0.217-0.472 0.312-0.978 0.392-1.486 0.009-0.065-0.001-0.131-0.031-0.19-0.079 0.173-0.152 0.349-0.24 0.518-0.168 0.323-0.32 0.661-0.528 0.958-0.189 0.271-0.228 0.579-0.325 0.873-0.149 0.45-0.251 0.923-0.462 1.342-0.223 0.444-0.544 0.842-0.834 1.251-0.12 0.168-0.306 0.223-0.515 0.221-0.687-0.005-1.374 0-2.061 0.001-0.232 0-0.248-0.026-0.133-0.232 0.177-0.318 0.378-0.616 0.703-0.802 0.078-0.044 0.174-0.056 0.253-0.098 0.127-0.068 0.289-0.121 0.362-0.23 0.278-0.415 0.311-0.904 0.375-1.38-0.131 0.306-0.246 0.621-0.39
116 0.919-0.152 0.301-0.388 0.523-0.73 0.604-0.355 0.084-0.555 0.34-0.724 0.637-0.164 0.289-0.383 0.516-0.728 0.573-0.106 0.017-0.217 0.009-0.325 0.009-0.602 0.001-1.203 0.002-1.804 0-0.24-0.001-0.257-0.020-0.17-0.239 0.183-0.46 0.468-0.806 0.973-0.96 0.42-0.128 0.71-0.45 0.964-0.797 0.331-0.451 0.594-0.936 0.708-1.491 0.029-0.141 0.005-0.249-0.117-0.346-0.487-0.388-0.975-0.775-1.446-1.182-0.333-0.287-0.637-0.608-0.957-0.91-0.416-0.393-0.93-0.598-1.472-0.737-0.575-0.148-1.161-0.21-1.754-0.163-0.221 0.017-0.44 0.069-0.659 0.109-0.356 0.066-0.712 0.121-1.057-0.045-0.014-0.007-0.024-0.020-0.056-0.046l0.268-0.026 0.002-0.039c-0.162-0.040-0.323-0.084-0.487-0.118-0.13-0.027-0.223-0.067-0.274-0.215-0.036-0.103-0.14-0.192-0.231-0.266-0.186-0.154-0.239-0.306-0.094-0.482 0.091-0.11 0.237-0.216 0.373-0.241 0.487-0.090 0.849-0.343 1.12-0.747 0.635-0.945 1.46-1.653 2.562-1.989 0.406-0.124 0.831-0.157 1.256-0.067 0.056 0.012 0.133-0.018 0.182-0.053 0.078-0.056 0.136-0.14 0.213-0.198 0.283-0.213 0.635-0.061 0.669 0.291 0.015 0.152 0.003 0.306 0.003 0.491 0.047-0.069 0.087-0.114 0.112-0.167 0.085-0.181 0.208-0.267 0.423-0.28 0.886-0.052 1.771-0.156 2.657-0.044 0.278 0.035 0.469-0.105 0.688-0.203 0.645-0.289 1.306-0.558 2.019-0.551 0.456 0.004 0.855-0.107 1.267-0.274 1.452-0.589 2.96-0.885 4.529-0.724 0.492 0.050 0.978 0.177 1.458 0.301 0.737 0.191 1.454 0.443 2.134 0.795 1.181 0.612 1.977 1.569 2.509 2.767 0.479 1.079 0.762 2.215 0.927 3.379 0.066 0.469 0.303 0.848 0.54 1.228 0.412 0.659 0.836 1.311 1.283 1.947 0.235 0.334 0.5 0.655 0.904 0.819 0.16 0.065 0.192 0.249 0.047 0.345-0.2 0.133-0.423 0.266-0.654 0.312-0.816 0.163-1.512-0.094-2.089-0.684-0.53-0.542-0.855-1.195-1.037-1.926-0.019-0.074-0.048-0.146-0.073-0.219l-0.053-0.007zM2.994 14.481c0.135 0.148 0.141 0.165 0.023 0.364-0.081 0.136-0.050 0.201 0.095 0.254 0.287 0.107 0.599 0.123 0.895 0.045 0.816-0.215 1.645-0.327 2.484-0.408 1.239-0.119 2.447 0.015 3.629 0.374 0.715 0.217 1.415 0.485 2.122 0.728 0.032 0.011 0.071 0.001 0.125 0.001-0.023-0.054-0.031-0.094-0.053-0.124-0.461-0.618-0.904-1.251-1.394-1.845-0.344-0.417-0.783-0.745-1.281-0.956-0.461-0.197-0.942-0.209-1.431-0.204-0.426 0.004-0.809 0.133-1.168 0.349-0.465 0.28-0.922 0.575-1.396 0.838-0.304 0.168-0.633 0.301-0.998 0.221-0.21-0.046-0.253-0.125-0.142-0.31 0.129-0.215 0.263-0.431 0.426-0.619 0.507-0.584 1.106-1.042 1.86-1.264 0.221-0.065 0.447-0.113 0.721-0.182-0.136-0.039-0.226-0.077-0.319-0.089-0.396-0.050-0.776 0.024-1.136 0.189-0.855 0.394-1.51 1.019-2.030 1.792-0.153 0.227-0.334 0.419-0.567 0.563-0.154 0.095-0.309 0.19-0.466 0.286zM5.235 13.597c0.123-0.051 0.233-0.082 0.325-0.142 0.060-0.039 0.090-0.121 0.077-0.168s-0.061-0.101-0.153-0.104c-0.108-0.002-0.215 0.025-0.308 0.080-0.070 0.043-0.115 0.117-0.121 0.199-0.004 0.075 0.046 0.168 0.181 0.134z">'),TS=N('<svg viewBox="0 0 32 32"xmlns=http://www.w3.org/2000/svg><path fill=#d169e6 d="M24.699 7.987h-17.489l-4.983 6.559 13.724 15.455 13.724-15.455-4.976-6.559zM25.41 14.969c-0.661 0.021-2.224 0.162-3.076 1.021-0.901 0.901-1.013 2.59-1.028 3.181-0.014-0.605-0.12-2.372-1.048-3.294-0.859-0.852-2.463-0.929-3.097-0.922-0.162 0.007-0.267 0.007-0.267 0.007s0.099-0.007 0.267-0.007c0.605-0.035 2.097-0.204 2.949-1.048 1.063-1.063 1.183-3.090 1.197-3.329v0c-0.007 0.239-0.056 2.372 0.985 3.406 0.852 0.859 2.449 0.971 3.118 0.985 0.19-0.007 0.31-0.007 0.31-0.007s-0.12 0.007-0.31 0.007zM21.828 1.998c0 0-0.078 1.506 0.633 2.217s2.217 0.633 2.217 0.633-1.478-0.049-2.189 0.661c-0.711 0.711-0.661 2.189-0.661 2.189s0.049-1.534-0.676-2.259c-0.697-0.697-2.175-0.584-2.175-0.584s1.379 0.014 2.076-0.683c0.732-0.739 0.774-2.175 0.774-2.175zM27.831 5.165c0 0-0.056 1.028 0.429 1.513s1.513 0.429 1.513 0.429-1.006-0.035-1.492 0.45c-0.485 0.486-0.451 1.492-0.451 1.492s0.035-1.049-0.465-1.541c-0.472-0.479-1.485-0.401-1.485-0.401s0.943 0.007 1.415-0.465c0.5-0.492 0.535-1.478 0.535-1.478z">'),OS=N('<svg viewBox="0 0 32 32"xmlns=http://www.w3.org/2000/svg><path fill=#ffd308 d="M27.924 14.807l-4.892 11.74h-14.063l-4.892-11.74c-1.198-0.105-2.14-1.099-2.14-2.324 0-1.294 1.049-2.344 2.344-2.344s2.344 1.049 2.344 2.344c0 0.498-0.157 0.957-0.421 1.336 0.827 1.307 2.274 2.18 3.937 2.18 2.182 0 3.999-1.497 4.522-3.516l0.035-0.197 0.131-2.472c-0.698-0.406-1.172-1.153-1.172-2.019 0-1.295 1.049-2.344 2.344-2.344s2.344 1.049 2.344 2.344c0 0.866-0.474 1.613-1.172 2.019l0.082 2.434 0.084 0.235c0.523 2.018 2.341 3.516 4.522 3.516 1.663 0 3.109-0.873 3.937-2.18-0.264-0.379-0.421-0.839-0.421-1.336 0-1.294 1.049-2.344 2.344-2.344s2.344 1.049 2.344 2.344c0 1.225-0.942 2.218-2.14 2.324z">'),kS=N('<svg version=1.1 xmlns=http://www.w3.org/2000/svg width=20 height=18 viewBox="0 0 35 32"class=fill-[#0f62fe]><title>Official</title><path d="M24.193 3.213c1.353 0 2.45 1.097 2.45 2.45s-1.097 2.45-2.45 2.45c-0.2 0-0.394-0.024-0.58-0.069l-0.693 1.462c4.202 1.106 7.301 4.931 7.301 9.48 0 5.413-4.388 9.802-9.802 9.802h-6.126c-5.413 0-9.802-4.388-9.802-9.802 0-4.266 2.726-7.896 6.53-9.243l-0.547-1.642c-1.24-0.121-2.209-1.167-2.209-2.439 0-1.353 1.097-2.45 2.45-2.45s2.45 1.097 2.45 2.45c0 0.745-0.333 1.413-0.858 1.863l0.584 1.758c0.457-0.065 0.925-0.099 1.401-0.099h6.126c0.175 0 0.349 0.005 0.522 0.014l1.111-2.343c-0.197-0.353-0.309-0.759-0.309-1.192 0-1.353 1.097-2.45 2.45-2.45zM20.419 14.698h-6.126c-3.045 0-5.513 2.468-5.513 5.513 0 2.974 2.355 5.398 5.302 5.51l0.211 0.004h6.126c3.045 0 5.513-2.468 5.513-5.513s-2.468-5.513-5.513-5.513zM33.696 15.531c1.739 2.237 1.739 5.368 0 7.605-0.298 0.356-0.797 0.471-1.221 0.282s-0.672-0.636-0.608-1.096c0.268-1.98 0.268-3.988 0-5.969-0.
11069-0.462 0.177-0.913 0.603-1.105s0.927-0.076 1.226 0.282zM1.304 15.531c0.299-0.358 0.8-0.474 1.226-0.282s0.672 0.643 0.603 1.105c-0.268 1.98-0.268 3.988 0 5.969 0.064 0.46-0.184 0.907-0.608 1.096s-0.923 0.074-1.221-0.282c-1.739-2.237-1.739-5.368 0-7.605zM13.227 17.761c0.53 0 0.96 0.43 0.96 0.96v2.98c0 0.53-0.43 0.96-0.96 0.96h-0.53c-0.53 0-0.96-0.43-0.96-0.96v-2.98c0-0.53 0.43-0.96 0.96-0.96h0.53zM21.555 17.761c0.53 0 0.96 0.43 0.96 0.96v2.98c0 0.53-0.43 0.96-0.96 0.96h-0.53c-0.53 0-0.96-0.43-0.96-0.96v-2.98c0-0.53 0.43-0.96 0.96-0.96h0.53z">');const RS=t=>{const e=M(()=>t.code.find(o=>o===80)),n=M(()=>Math.max(...t.code)),r=M(()=>e()?e():n()),i=o=>{if(o.search(/\$\[#.+/)!==-1){const c=o.match(/\$\[(#.+)\](.+)/);return{color:c&&c[1],name:c&&c[2]}}else return{color:null,name:o}},s=M(()=>t.markClass||"text-xs px-1 text-center h-4 leading-4 whitespace-nowrap rounded-md text-white");return C(ae,{get when(){return t.code.length>0},get children(){var o=SS();return D(o,C(ke,{get each(){return t.code},children:(a,c)=>C(ra,{fallback:null,get children(){return[C(Bt,{when:a===1,get children(){return C(PS,{})}}),C(Bt,{when:a===2||a===3,get children(){return C(DS,{})}}),C(Bt,{when:a===4,get children(){return C(IS,{})}}),C(Bt,{when:a===-1,get children(){return C(LS,{})}}),C(Bt,{get when(){return a===97&&r()===97},get children(){return C(lo,{get class(){return s()+" bg-[#4583ca]"},children:"BUGER BOT"})}}),C(Bt,{get when(){return a===80&&r()===80},get children(){return C(ae,{get when(){return De(()=>!!t.desc)()&&t.desc[c()]},get fallback(){return C(lo,{get class(){return s()+" bg-[#bf6ba2]"},children:"Host"})},children:l=>{const{name:u,color:f}=i(l());return C(lo,{get class(){return s()+" bg-[#bf6ba2]"},style:{background:f||"#bf6ba2"},children:u||"Host"})}})}}),C(Bt,{get when(){return a===89&&r()===89},get children(){return C(lo,{get class(){return s()+" bg-[#f4581f]"},get children(){return De(()=>!!t.desc)()&&t.desc[c()]||"Admin"}})}}),C(Bt,{get when(){return a===98&&r()===98},get children(){return C(lo,{get class(){return s()+" bg-[#826ee166] text-alw_white"},get children(){return De(()=>!!t.desc)()&&t.desc[c()]||"Mod"}})}})]}})})),fe(()=>ye(o,"flex items-center font-semibold [&_svg]:size-3 gap-0.5"+(t.class?t.class:""))),o}})};function lo(t){return(()=>{var e=ES();return ve(e,oe(t,{get class(){return t.class}}),!1,!1),e})()}const PS=()=>AS(),DS=()=>TS(),IS=()=>OS(),LS=()=>kS(),$S=Wr(t=>new Promise((e,n)=>te(null,null,function*(){try{globalThis._smConf={organization:"d9YtHNKdmLm1CMuYZsw9",appId:"default",publicKey:t,apiHost:"collect.verify.lnearn.com"},globalThis._smReadyFuncs=[function(){r.then(e)}];const r=fa("/assets/fp.min.js","SMSdk")}catch(r){n(r)}})));function MS(t){return te(this,null,function*(){return(yield $S(t)).getDeviceId()})}function NS(t){MS(t).then(e=>{vt().defaults.headers.common.smid=e})}function BS(){const t=["zh-TW","zh-CN","ta","id","ms","my","tl","th","vi"],e=["ID","MY","MM","PH","TH","VN","BN","TL","LA","SG"],n=["ta","te","hi","en-IN"],r=xe.lang==="ja",i=Ce.areaCode==="JP",s=xe.lang==="ko",o=Ce.areaCode==="KR",a=n.includes(xe.lang),c=Ce.areaCode==="IN",l=t.includes(xe.lang),u=e.includes(Ce.areaCode);return{isBrLang:xe.lang==="pt",isRuLang:xe.lang==="ru",isUkLang:xe.lang==="uk",isIdLang:xe.lang==="id",isJapanLang:r,isJapanIP:i,isKoreaLang:s,isKoreaIP:o,isIndiaLang:a,isIndiaIP:c,isSoutheastAsiaLang:l,isSoutheastAsiaIP:u,isJp:r||i,isKr:s||o,isIn:a||c,isSoutheast:l||u}}const FS=Wr(BS),US=Object.freeze(Object.defineProperty({__proto__:null,getAreaAndLang:FS},Symbol.toStringTag,{value:"Module"}));var zS=N('<svg xmlns=http://www.w3.org/2000/svg fill=none viewBox="0 0 24 24"><circle class=opacity-25 cx=12 cy=12 r=10 stroke=currentColor stroke-width=4></circle><path class=opacity-75 fill=currentColor d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z">'),qS=N('<div class="size-full flex-1 center">');function Ks(t){const e=M(()=>{var n,r;return((n=t.class)==null?void 0:n.includes("text-"))||((r=t.class)==null?void 0:r.includes("fill-"))});return(()=>{var n=zS();return ve(n,oe(t,{get class(){return De(()=>!!e())()?J("loading",t.class):J("loading text-brand",t.class)}}),!0,!0),n})()}const yl=Se(()=>zi(()=>(()=>{var t=qS();return D(t,C(Ks,{})),t})()));var jS=N("<button>");const HS={brand:"button-brand",second:"button-second",input:"button-input",cashout:"button-cashout"};function lt(t){const[e,n]=_e(t,["type","onClick","size"]),[r,i]=B(!1),s=M(()=>t.size||!re.mobile&&"m"),o=a=>{if(!t.disabled&&!r()){const c=t.onClick(a);c instanceof Promise&&(i(!0),c.then(()=>i(!1)))}};return(()=>{var a=jS();
11return ve(a,oe(n,{get class(){return J("button",HS[e.type],s()&&`button-${s()}`,t.class)},get type(){return t.submit?"submit":"button"},get onClick(){return t.onClick?o:void 0}}),!1,!0),D(a,C(Vn,{get when(){return!r()},get fallback(){return C(Ks,{class:"text-alw_white"})},get children(){return t.children}})),a})()}const[WS,ip]=B([]);function S3(t,e=!1){Un(()=>{ip(n=>e?[t,...n]:[...n,t])}),K(()=>{ip(n=>n.filter(r=>r!==t))})}il&&Se(()=>{const t=wh(n=>bh(n,160)),e=M(n=>{const r=WS().length>0;return t()?r:n},!1);ne(()=>{document.body.classList.toggle("lock-scroll",e())})});var sp=N("<div>");function Tr(t){const[,e]=_e(t,["pan","children","containerClass"]),[n,r]=B(void 0),i=M(()=>t.pan!=="x");return C(E3.Provider,{value:n,get children(){return C(y3,{get children(){var s=sp(),o=qi(t.ref,r);return typeof o=="function"&&Be(o,s),ve(s,oe(e,{get class(){return J(i()?"scroll-y":"scroll-x",t.class)}}),!1,!0),D(s,C(ae,{get when(){return i()},get fallback(){return t.children},get children(){var a=sp();return D(a,()=>t.children),fe(()=>ye(a,J("scroll-container",t.containerClass))),a}})),s}})}})}const E3=Ze(()=>window);function Wi(){return Ie(E3)}function A3(t=()=>!0){const[e,n]=B(0),r=Wi();return je(r,()=>t()?"scroll":"",i=>{const s=i.target===document?Ny:i.target;n(s.scrollTop)},{passive:!0}),e}var VS=N('<div class="leading-5 mt-4">'),XS=N('<section><img class="w-48 h-48">');const yd={};function $s(t){function e(i){return{empty:yt("Stay tuned-something's coming!"),notfound:yt("Uh Oh! The page you're looking for cannot be found!"),offline:yt("Oops! No internet connection!"),privacy:yt("This user has privacy mode enabled!"),ban:""}[i]}const n=()=>t.type||"empty",r=M(()=>{var i;return t.children?t.children:(i=t.hideMsg)!=null?i:e(n())});return(()=>{var i=XS(),s=i.firstChild;return D(i,C(ae,{get when(){return r()},get children(){var o=VS();return D(o,r),o}}),null),fe(o=>{var a=J("py-10 text-center center flex-col",t.class),c=xe.darken?yd[n()][0]:yd[n()][1];return a!==o.e&&ye(i,o.e=a),c!==o.t&&We(s,"src",o.t=c),o},{e:void 0,t:void 0}),i})()}function KS(t,e,n){const[r,i]=B(!1);return ne(()=>{const s=t();if(!s)return;let o=0,a=0;const c=M(()=>(1-e[0]())*a);function l(w){return e[1](1-w/a)}function u(w){return(1-1/(w*.54/a+1))*a}function f(w){let _=o+w;_<0&&(_=-u(-_)),l(_)}let d=!1;function h(w){d||(d=!0,w!==void 0?n(w>.3||c()>a/2):c()!==0&&n())}let g,p=0,m=!1;function y(w){return w.scrollHeight-w.clientHeight>1}function v(w){w.stopPropagation(),w.preventDefault()}op(s,{onDragStart(w,_){for(i(!0),g=_.target,p=0,m=!0;g;){if(y(g)){p=g.scrollTop,m=p>-16;break}if(g===s){g=null;break}g=g.parentElement}},onDrag(w,_){let S=!0;if(g){const x=g.scrollTop;S=m&&x<=16;const E=g.scrollHeight-x-g.clientHeight>x;g.style.overscrollBehaviorY=E&&S?"none":"contain"}else v(_);if(m){const x=w.y-p;x>0&&(v(_),f(x))}},onDragEnd({vy:w,y:_},{timeStamp:S}){i(!1),g&&(g.style.overscrollBehaviorY="contain"),m&&_-p>0&&h(w)}});let b;op(document,{onDragStart(w,_){b=void 0,a=s.clientHeight,o=c(),d=!1,l(o)},onDrag(w,_){b===void 0&&(b=w.begin.clientX<=Ch&&Math.abs(w.x)>Math.abs(w.y)),b&&(f(w.x),v(_))},onDragEnd({vx:w},_){h(b?w:void 0)},options:{start:{capture:!0},move:{capture:!0}}})}),r}function op(t,{onDragStart:e,onDrag:n,onDragEnd:r,options:i}){let s;const o={x:0,vx:0,y:0,vy:0,time:0,begin:void 0,prev:void 0};function a(h){const{touches:[g],timeStamp:p}=h;s=o.begin=o.prev=g,o.x=o.y=o.vx=o.vy=0,o.time=p,e==null||e(o,h)}function c(h,g,p){return h/p*.8+g*.2}function l(h){const{touches:[g],timeStamp:p}=h;if(!s)return;const m=p-o.time;o.vx=c(g.clientX-o.prev.clientX,o.vx,m),o.vy=c(g.clientY-o.prev.clientY,o.vy,m),o.time=p,o.x=g.clientX-s.clientX,o.y=g.clientY-s.clientY,o.prev=g,n==null||n(o,h)}function u(h){s=void 0,r==null||r(o,h)}const f=Dn(),d=M(()=>f()?t:void 0);je(d,"touchstart",a,q({passive:!1},i==null?void 0:i.start)),je(d,"touchmove",l,q({passive:!1},i==null?void 0:i.move)),je(d,"touchcancel",u,i==null?void 0:i.end),je(d,"touchend",u,i==null?void 0:i.end)}var GS=N("<div>"),YS=N('<div class="flex flex-col w-full self-start pt-1.5"><div class="w-11 h-1 rounded-sm bg-layer6 mx-auto mb-2.5"></div><div class=text-center>'),JS=N("<div><div class=pop-title>"),ZS=N('<div class="text-base text-secondary">'),QS=N('<div class="flex mt-8 mb-2">');const cf="head-shake",[ap,cp]=B([]);function eE(t,e,{close:n=!0,onClose:r,disableDragClose:i=!1}={}){return Se(s=>{const o={value:0},[a,c]=B(o.value);let l;const u={value:[a,(h=>
11{f||(o.value=h,c(h),l==null||l.kill())})],animateTo(h,g){f||(g&&(f=!0),l=gi.to(o,{value:h,duration:.35,overwrite:"auto",ease:"power3.out",onUpdate(){c(o.value)},onComplete(){g==null||g(),f&&s()}}))}};K(()=>{l==null||l.kill()});let f=!1;return{jsx:t,close:n,ane:u,onClose(h){e(h),r==null||r(h)},disableDragClose:i}})}const Ct={get list(){return ap()},push(t,e){return new Promise(n=>{cp(r=>[...r,eE(t,n,e)])})},confirm(t,e){return new Promise(n=>{const r=()=>C(nE,oe(()=>e==null?void 0:e(),{children:t,onConfirm:i=>{n(i),Ct.pop(r)}}));Ct.push(r,{close:!1})})},pop(t){cp(e=>{if(e.length===0)return e;const n=[...e],r=t||n[n.length-1].jsx;return n.filter(i=>{const s=i.jsx!==r;return s||i.onClose()})})},clear(){for(const t of[...ap()])try{Ct.pop(t.jsx)}catch(e){console.error("pop.clear: close failed",e)}}};function T3(){const t=Hi(),e=()=>{const o=Ct.list;return o[o.length-1]},n=ol(()=>Ct.list,{onChange({added:o,removed:a,finishRemoved:c}){o.forEach(l=>l.ane.animateTo(1)),a.forEach(l=>l.ane.animateTo(0,()=>c([l])))}}),[r,i]=B(!1),s=M(()=>n().length>0);return C(lr,{get mount(){return t()},ref:o=>{o.className="pop-overlayer";const a=M(()=>{var l;return((l=Ct.list[0])==null?void 0:l.ane.value[0]())||0});pe(()=>{s()&&(o.style.visibility="visible",S3(o,!0))}),ne(()=>{s()&&K(()=>{o.style.visibility="hidden"})}),pe(()=>{o.style.backgroundColor=`rgba(16, 18, 18, ${a()*.8})`});function c(){const l=o.children[o.children.length-1];if(l&&l.className.indexOf(cf)===-1){let u=function(){l.classList.toggle(cf),l.removeEventListener("animationend",u)};l.classList.toggle(cf),l.addEventListener("animationend",u)}}je(o,"click",l=>{if(l.target!==o)return;const u=e();u&&(u.close?Ct.pop():c())})},get children(){return[(()=>{var o=GS();return Ut(o,"width",`${Ch}px`),fe(()=>ye(o,J("absolute left-0 h-full z-10",r()?"pointer-events-auto":"pointer-events-none"))),o})(),C(ke,{get each(){return n()},children:o=>C(tE,{item:o,onScroll:i})})]}})}function tE(t){return C(Xr,{get value(){return t.item===Ct.list[Ct.list.length-1]},get children(){return C(Mi,{fallback:e=>(kn.emit("report_error",e),C(vl,{get children(){return C(Vn,{get when(){return re.mode.prod},get fallback(){return C($s,{get children(){return String(e)}})},get children(){return C($s,{type:"offline"})}})}})),get children(){return C(qs,{ref:e=>{const n=e;if(!n)return;const r=!n.classList.contains("pop-center")&&!t.item.disableDragClose,[i]=t.item.ane.value;if(pe(r?()=>{n.style.transform=`translate3d(0, ${(1-i())*100}%, 0)`}:()=>{n.style.opacity=String(i()),n.style.transform=`scale(${i()*.2+.8})`}),pe(()=>{const s=Ct.list,o=s.indexOf(t.item);n.style.visibility=o!==-1&&o<s.length-1?"hidden":""}),r){const s=KS(()=>n,t.item.ane.value,o=>{o?Ct.pop():t.item.ane.animateTo(1)});pe(o=>{const a=s();if(o&&!a){t.onScroll(!0);const c=setTimeout(()=>t.onScroll(!1),2e3);K(()=>clearTimeout(c))}return a})}},get children(){return t.item.jsx()}})}})}})}function vl(t){const[,e]=_e(t,["type","title","children","class","close","decoration"]),n=()=>re.mobile?t.type:"center",r=M(()=>n()!=="center");let i;return(()=>{var s=JS(),o=s.firstChild;return ve(s,oe(e,{get class(){return J("bg-layer3 dark:bg-layer2",r()?"pop-bottomsheet":"pop-center",t.class)}}),!1,!0),D(o,C(ae,{get when(){return re.mobile},get fallback(){return[De(()=>t.title),C(lt,{onClick:()=>Ct.pop(),class:"pop-close !p-0",get children(){return C(Ae.Close,{})}})]},get children(){return[(()=>{var a=YS(),c=a.firstChild,l=c.nextSibling;return D(l,()=>t.title),a})(),C(ae,{get when(){return t.close!==!1},get children(){return C(lt,{onClick:()=>Ct.pop(),class:"pop-close top-4 !bg-transparent !p-0",get children(){return C(Ae.Close,{class:"!fill-primary"})}})}})]}})),D(s,()=>t.decoration,null),D(s,C(Tr,{ref(a){var c=i;typeof c=="function"?c(a):i=a},class:"pop-content",get children(){return C(jn,{get fallback(){return yl()},get children(){return t.children}})}}),null),s})()}function nE(t){return K(()=>{t.onConfirm(!1)}),C(vl,{get title(){return t.title||yt("Confirm")},close:!1,get children(){return[(()=>{var e=ZS();return D(e,()=>t.children),e})(),(()=>{var e=QS();return D(e,C(lt,{class:"flex-1 mr-3 text-lg",type:"second",onClick:()=>t.onConfirm(!1),get children(){return t.cancel||yt("Cancel")}}),null),D(e,C(lt,{class:"flex-1 text-lg",onClick:()=>t.onConfirm(!0),type:"brand",get children(){return t.confirm||yt("Confirm")}}),null),e})()]}})}const[O3,lp]=B([]);function vd(t,...e){var s;let n=()=>{};const r=new Promise(o=>{n=o}),i={component:t,props:(s=e[0])!=null?s:{},promise:r,destroy(){lp(o=>o.filter(a=>a!==i)),n()}};return lp(o=>[...o,i]),r}vd.once=function(e,...n){const r=O3().find(i=>i.component===e);return r?r.promise:vd(e,...n)};function k3(){const t=Hi();return C(lr,{get mount(){return t()},ref:e=>e.className="portal-slot",get children(){return C(ke,{get each(){return O3()},children:e=>C(rE,{item:e})})}})}function rE(t){return C(Mi,{fallback:e=>(kn.emit("report_error",e),queueMicrotask(t.item.destroy),null),get children(){return C(wc,oe({get component(){return t.item.component}},()=>t.item.props,{get onDestroy(){return t.item.destroy}}))}})}const iE=()=>{var t;return(t=window.Telegram)==null?void 0:t.WebApp},sE=Se(()=>{if(!vi)return()=>!1;const t=bm(r=>(Md().then(i=>{var s,o;i&&((s=i.onEvent)==null||s.call(i,"fullscreenChanged",()=>{var a;return r(!!((a=iE())!=null&&a.isFullscreen))}),(o=i.onEvent)==null||o.call(i,"fullscreenFailed",()=>{Vb(),r(!1)}),i.isFullscreen&&r(!0))}),()=>{})),e=Wb(),n=M(()=>{var r;return(r=t())!=null?r:e});return ne(()=>document.documentElement.classList.toggle("telegram",Rr&&n())),n});var Ne=(t=>(t[t.BASE=0]="BASE",t[t.DIALOG=1]="DIALOG",t[t.SHALLOW=2]="SHALLOW",t))(Ne||{});const R3=Ze(void 0);function wa(){return Ie(R3)}const oE=400,aE=8,cE=()=>{var t,e,n;return(n=(e=(t=window.Telegram)==null?void 0:t.WebApp)==null?void 0:e.BackButton)!=null?n:null};function lE(t,e){if(!re.app.isTgWebapp)return;let n=null;const[r,i]=B(0);ne(()=>{const s=r();if(s<aE){const o=setTimeout(()=>i(s+1),oE);K(()=>clearTimeout(o))}}),ne(()=>{var a,c,l,u;const s=t();r();const o=cE();if(o)try{(a=o.offClick)==null||a.call(o,e),(c=o.onClick)==null||c.call(o,e),n=o,s?(l=o.show)==null||l.call(o):(u=o.hide)==null||u.call(o)}catch(f){}}),K(()=>{var s,o;try{(s=n==null?void 0:n.hide)==null||s.call(n),(o=n==null?void 0:n.offClick)==null||o.call(n,e)}catch(a){}})}const up=120,uE=60,fE=30,dE=30,Ua=64,za=96,fp=t=>{var e,n,r,i;try{(i=(r=(n=(e=window.Telegram)==null?void 0:e.WebApp)==null?void 0:n.HapticFeedback)==null?void 0:r.impactOccurred)==null||i.call(r,t)}catch(s){}},hE=(t,e)=>t<=0?0:e*(t/(t+.5));function gE(t,e){if(!re.app.isTgWebapp)return;const n=document.createElement("div");n.className="tg-swipe-back",n.textContent="‹",Object.assign(n.style,{position:"fixed",left:`${-Ua}px`,top:`calc(50% - ${za/2}px)`,width:`${Ua}px`,height:`${za}px`,display:"flex",alignItems:"center",justifyContent:"flex-end",paddingRight:"12px",boxSizing:"border-box",borderRadius:`0 ${za/4}px ${za/4}px 0`,background:"rgba(0,0,0,0.4)",backdropFilter:"blur(12px)",color:"#fff",fontSize:"26px",lineHeight:"1",zIndex:"100000",pointerEvents:"none",transition:"left 0.15s ease"}),document.body.appendChild(n);let r=0,i=0,s=!1,o=!1,a=!1;const c=f=>{const d=f.touches[0];r=d.screenX,i=d.screenY,s=!1,a=!1,o=t()&&d.clientX<=uE},l=f=>
11{if(!o)return;const d=f.changedTouches[0],h=d.screenX-r,g=d.screenY-i;if(!s)if(Math.abs(h)>fE&&Math.abs(g)<dE&&f.cancelable)s=!0;else return;f.cancelable&&f.preventDefault(),h>up&&!a&&(a=!0,fp("soft"));const p=hE(h/1.2/120,130)-40;n.style.transition="none",n.style.left=Math.min(p-Ua,0)+"px"},u=f=>{const d=f.changedTouches[0].screenX-r;o&&s&&d>up&&(fp("light"),e()),o=!1,s=!1,a=!1,n.style.transition="left 0.15s ease",n.style.left=`${-Ua}px`};document.addEventListener("touchstart",c,{passive:!0}),document.addEventListener("touchmove",l,{passive:!1}),document.addEventListener("touchend",u,{passive:!0}),K(()=>{document.removeEventListener("touchstart",c),document.removeEventListener("touchmove",l),document.removeEventListener("touchend",u),n.remove()})}function P3(t,e=t()){const[n,r]=B(e);return ne(()=>{const i=t();i&&r(i)}),n}const D3="__navDepthAnchor";function jc(){var e;const t=(e=history.state)==null?void 0:e._depth;return typeof t=="number"?t:void 0}function pE(t){const{navType:e,stored:n,currentDepth:r,firstIsRootPath:i}=t;return!(e!=="reload"&&e!=="back_forward")&&n!==void 0?n:Math.max(0,r-(i?1:0))}function dp(t,e,n){return t===void 0?n:Math.max(0,t-e)}function mE(t){var r,i;const e=(r=performance.getEntriesByType("navigation")[0])==null?void 0:r.type,n=pE({navType:e,stored:yE(),currentDepth:(i=jc())!=null?i:0,firstIsRootPath:t});return vE(n),n}function yE(){try{const t=sessionStorage.getItem(D3),e=t===null?NaN:Number(t);return Number.isFinite(e)?e:void 0}catch(t){return}}function vE(t){try{sessionStorage.setItem(D3,String(t))}catch(e){}}const I3=8,L3=1500;function $3(){return new Promise(t=>{window.addEventListener("popstate",()=>t(!0),{once:!0})})}function bE(t,e,n,r){return te(this,null,function*(){const i=N3(n,r);if(t(-i),!e)return;const s=Math.min(I3,r-i);for(let o=0;o<s;o++){if(!(yield $c($3(),L3))||window.location.pathname===e.pathname&&window.location.search===e.search)return;t(-1)}})}function M3(t,e,n){return te(this,null,function*(){const r=N3(1,n);if(!r)return;t(-r);const i=Math.min(I3,n-r);for(let s=0;s<i;s++){if(!(yield $c($3(),L3))||window.location.pathname!==e)return;t(-1)}})}function N3(t,e){var r;const n=Math.min(t,Math.max(e,0));return n===0&&t>0&&((r=jc())!=null?r:0)>0?1:n}function bl(t,e,n){je(()=>document,"click",r=>{const i=r.composedPath();let s=t();if(!s)return;if(s=Array.isArray(s)?s:[s],n){const a=n();if(a&&(Array.isArray(a)?a:[a]).some(u=>i.includes(u)))return}s.every(a=>!i.includes(a))&&e(r)},{capture:!0})}function B3(t){const n=oe((()=>{const s=t.name;return s?wE[s]:{}})(),t),r=ur(()=>t.children),i=sl(r,{onEnter(s){gi.killTweensOf(s),gi.fromTo(s,n.from,q(q({},n.to),n.config))},onExit(s,o){gi.killTweensOf(s),gi.fromTo(s,n.to,de(q(q({},n.from),n.config),{onComplete:o}))}});return _E(i)}const qt={duration:.3,ease:"power2.out"},wE={fade:{from:{opacity:0}
11,to:{opacity:1},config:qt},fadeUp:{from:{opacity:0,y:"100%"},to:{opacity:1,y:0},config:qt},fadeRight:{from:{opacity:0,x:"100%"},to:{opacity:1,x:0},config:qt},fadeDown:{from:{opacity:0,y:"-100%"},to:{opacity:1,y:0},config:qt},fadeLeft:{from:{opacity:0,x:"-100%"},to:{opacity:1,x:0},config:qt},fadeUp2:{from:{opacity:0,y:16},to:{opacity:1,y:0},config:qt},fadeRight2:{from:{opacity:0,x:16},to:{opacity:1,x:0},config:qt},fadeDown2:{from:{opacity:0,y:-16},to:{opacity:1,y:0},config:qt},fadeLeft2:{from:{opacity:0,x:-16},to:{opacity:1,x:0},config:qt},slideUp:{from:{y:"100%"},to:{y:0},config:qt},slideRight:{from:{x:"100%"},to:{x:0},config:qt},slideDown:{from:{y:"-100%"},to:{y:0},config:qt},slideLeft:{from:{x:"-100%"},to:{x:0},config:qt},fadeZoom:{from:{opacity:0,scale:.3},to:{opacity:1,scale:1},config:qt},dropRight:{from:{opacity:0,rotation:45,transformOrigin:"bottom center"},to:{opacity:1,rotation:0,transformOrigin:"bottom center"},config:{duration:.5,ease:"power2.out"}}};function _E(t){const e=new Set;return()=>{const n=t();return e.clear(),n.forEach(r=>e.add(r)),[...e.keys()]}}const hp=Ze(()=>{});function CE(t){const[e,n]=B(),[,r]=F3(t),[i,s]=B(!1),o=Ie(hp),a=Hi();ne(()=>{t.visible&&(o(!0),K(()=>o(!1)))}),je(()=>t.visible?document:void 0,"scroll",l=>{const u=t.trigger;if(!u)return;const f=l.target===document?document.documentElement:l.target;f instanceof Node&&f.contains(u)&&t.setVisible(!1)},{capture:!0});const c=M(()=>t.visible&&!i()?e():void 0);return bl(c,()=>{setTimeout(()=>t.setVisible(!1),0)},()=>t.trigger),C(hp.Provider,{value:s,get children(){return C(lr,{get mount(){return a()},get children(){return C(B3,{from:{opacity:0,y:-10},to:{opacity:1,y:0},config:{duration:.2},get children(){return C(Vn,{get when(){return t.visible},get children(){return C(Tr,oe(r,{get class(){return J("dropdown-layer bg-layer3",r.class)},ref(l){var u=qi(f=>{n(f)},t.ref);typeof u=="function"&&u(l)},get children(){return C(jn,{get children(){return t.layer}})}}))}})}})}})}})}function xE(t){const[,e]=F3(t),n=zi(()=>C(Xr,{get value(){return t.visible},force:!0,get children(){return C(vl,oe(e,{get class(){return J("min-h-52",t.class)},get title(){return t.title||"Select"},get children(){return C(jn,{get children(){return t.layer}})}}))}}));function r(){return K(()=>t.setVisible(!1)),n()}return pe(i=>{t.visible?(Ct.push(r),K(()=>Ct.pop(r))):Ct.pop(r)}),null}const SE=8;function Gs(t){const[e,n]=B(),[r,i]=B(),[s,o]=B({x:0,y:0,width:0,height:0}),[a,c]=B("ltr"),l=()=>{var f;return((f=t.space)!=null?f:SE)*re.remScale};pe(()=>{const f=t.trigger;f&&n(f)}),je(e,"click",f=>{const d=r();d&&d.contains(f.target)||t.setVisible(!t.visible)}),ne(()=>{const f=e(),d=r();!f||!d||!t.visible||queueMicrotask(()=>{d.style.setProperty("min-height",""),d.style.setProperty("max-height",""),d.style.setProperty("width","");const h=f.getBoundingClientRect(),g=d.getBoundingClientRect(),p=h.top,m=window.innerHeight-h.bottom,y=f.clientHeight+g.height+l(),v=()=>m>=g.height+l()*2||m>=p?1:-1,b=v()===1?m:p,w=y+l()>b,_=()=>w?b-l()*2:g.height,S=getComputedStyle(f).direction==="rtl"?"rtl":"ltr";c(S);const E=S==="rtl"?Math.min(Math.max(0,h.right-g.width),Math.max(0,window.innerWidth-g.width)):h.x+g.width<window.innerWidth?h.x:Math.max(0,h.x-g.width+f.clientWidth),A=v()===1?h.bottom+l():h.top-_()-l();o({x:E,y:A,width:Math.max(g.width,f.clientWidth),height:w?_():0})})});const u=M(()=>t.dropdownType?t.dropdownType==="pop":re.mobile);return[C(qs,{ref:n,get children(){return t.children}}),C(ae,{get when(){return u()},get fallback(){return C(CE,oe(t,{get style(){return q({left:`${s().x}px`,top:`${s().y}px`,width:s().width>0?`${s().width}px`:void 0},s().height?{"min-height":`${s().height}px`,"max-height":`${s().height}px`}:{})},get trigger(){return e()},get dir(){return a()},ref:i}))},get children(){return C(xE,t)}})]}
11function F3(t){return _e(t,["visible","title","setVisible","layer","trigger"])}var EE=N("<div>"),AE=N("<div class=contents>"),TE=N("<div><div>"),OE=N('<div class=dialog-title><div class="ml-auto absolute right-4 top-0 flex items-center gap-2 h-full">'),kE=N("<div class=dialog-tg-pill><span class=dialog-tg-pill-box>"),RE=N("<div class=dialog-action-menu>"),PE=N("<div class=dialog-action-menu-item><span>"),DE=N('<svg viewBox="0 0 32 32"><circle cx=7 cy=16 r=3></circle><circle cx=16 cy=16 r=3></circle><circle cx=25 cy=16 r=3>');const ko={duration:300,easing:`cubic-bezier(${ua.join(",")})`},lf=[{backgroundColor:"#0000"},{backgroundColor:"#000a"}],IE=[{transform:"scale(.92)",opacity:0},{transform:"scale(1)",opacity:1}];function uf(t){var e;return t?!!((e=t.info)!=null&&e.dialog):!1}function ff(t){var e;return!!((e=t==null?void 0:t.info)!=null&&e.shallow)}const LE=6;function $E(t){const e=Tn(),n=Xs(),{action:r}=Ie(ba),i=ME(),s=mp(i(),e),o=i()[0];let a=uf(o);const c=ff(o),l=a||c||s,u={type:Ne.BASE,pathname:l?"/":e.pathname,search:l?"":e.search,state:l?null:e.state,matchs:t.routes.filter(k=>!uf(k)&&!ff(k))},[f,d]=zt({list:[u]});pe(()=>{e.hash.startsWith("#/")&&n(e.hash.slice(1),{replace:!0})});function h(){var U,j,V;const k=(U=performance.getEntriesByType("navigation")[0])==null?void 0:U.type,$=k!=="reload"&&k!=="back_forward";if(((j=history.state)==null?void 0:j._init)===void 0&&($||!((V=history.state)!=null&&V._depth))){const ie=history.length-1;history.replaceState(de(q({},history.state),{_depth:ie,_init:1}),"",Ii.getBasePrefix()),history.pushState({_depth:ie+1,_init:1},"",e.pathname+e.search)}}l&&h();const g=new WeakSet,[p,m]=B(u),[y,v]=B(null),b=M(k=>{var V,ie;const $=i(),U=gp($),j=Y(()=>{if(e.hash.startsWith("#/"))return k;const F=mp($,e);if(F){const Q=F;return queueMicrotask(()=>n(Q,{replace:!0})),k}const z=r(),ce=e.pathname;let le=[...f.list];const be=ff($[0])?Ne.SHALLOW:uf($[0])?Ne.DIALOG:Ne.BASE,he={type:be,pathname:ce,search:e.search,state:e.state&&q({},e.state)};if(z==="POP"||z==="REPLACE"&&be===Ne.BASE){const Q=be===Ne.DIALOG?le.findIndex(ue=>ue.pathname===he.pathname&&ue.search===he.search):0;le.forEach((ue,we)=>{ue.type===Ne.DIALOG&&we>Q&&g.add(Ke(ue))})}function G(Q){return z==="POP"?Q:Y(()=>Q.filter(ue=>{const we=Ke(ue);return g.has(we)?(g.delete(we),!1):!0}))}if(Y(y)&&v(null),be===Ne.SHALLOW){const Q=de(q({},he),{matchs:$});return v(Q),k}else if(be===Ne.DIALOG){const Q=le.findIndex(z==="REPLACE"?ue=>gp(ue.matchs)===U:ue=>ue.pathname===he.pathname&&ue.search===he.search);if(Q===-1){const ue=de(q({},he),{matchs:$});let we=G(le);return z==="POP"&&(we=we.filter($e=>Ke($e).pathname!==he.pathname)),le=we.concat(ue),le.length>LE&&le.splice(1,1),d("list",le),ue}else{const ue=Ke(f.list[Q]);return g.has(ue)&&g.delete(ue),d("list",Q,he),f.list[Q]}}else return at(()=>{d("list",G(le)),d("list",0,he)}),f.list[0]});if(j&&Ke(j)!==Ke(k)){const F=((ie=(V=Hc($))==null?void 0:V.info)==null?void 0:ie.keepAlive)===!1;K(()=>{if(m(Ke(j)),F){const z=Ke(j);z.type===Ne.DIALOG&&d("list",ce=>ce.filter(le=>Ke(le)!==z))}})}return j},u);function w(){return a?(a=!1,!0):!1}function _(){const[k,$]=B(Y(()=>!re.mobile)),U=()=>b().type===Ne.BASE;return pe(()=>$(j=>j||U())),C(ae,{get when(){return k()},get children(){return C(Xr,{get value(){return U()},get children(){return C(bd,{get state(){return f.list[0]}})}})}})}function S(){const k=Le(()=>C(ke,{get each(){return f.list},children:($,U)=>{if($.type!==Ne.DIALOG)return null;const j=M(()=>{const V=b();return V?V.pathname===$.pathname:!1});return C(R3.Provider,{value:{route:$,index:U,stacks:f,navDepth:I},get children(){return C(Xr,{get value(){return j()},get children(){return C(BE,{isInitDialog:w,get route(){return b()},get preRoute(){return p()},get children(){return C(bd,{state:$})}})}})}})}}));return ol(k,{onChange({removed:$,finishRemoved:U}){$.length>0&&setTimeout(()=>U($),600)}})}const x=()=>U3(i()),E=()=>{var k;return(k=e0(i()))==null?void 0:k.dialog},A=M(k=>{const $=x();return E()&&$?z3($):k},[void 0,void 0]);function P(){let k,$,U;ne(V=>{const ie=b(),F=Y(p),z=ie.type===Ne.DIALOG,ce=Y(()=>re.mobile),le=[...ce?[lf[0],lf[0]]:lf],be=[...IE],he=V===void 0?de(q({},ko),{duration:0}):ko;if(V!==void 0&&V===z)return V;if(k.classList.add("dialog-visible"),!k.animate)return z;if(F.type===Ne.SHALLOW&&ie.type===Ne.BASE||F.type===Ne.SHALLOW&&z||ie.type===Ne.SHALLOW&&F.type!==Ne.DIALOG)return k.classList.toggle("dialog-visible",z);U==null||U.cancel();const G=k.animate(z?le:le.reverse(),he);if(U=G,G.addEventListener("finish",()=>{k.classList.toggle("dialog-visible",z),G.cancel()},{once:!0}),!ce){const Q=$.animate(ce||z?be:be.reverse(),he);Q.addEventListener("finish",()=>Q.cancel(),{once:!0})}return z});const j=Hi();return C(lr,{ref:V=>{k=V,V.className="dialog-root"},get mount(){return j()},get children(){var V=EE(),ie=$;return typeof ie=="function"?Be(ie,V):$=V,D(V,S),fe(F=>{var z=J("dialog-list",A()[0]),ce=A()[1];return z!==F.e&&ye(V,F.e=z),F.t=Bs(V,ce,F.t),F},{e:void 0,t:void 0}),V}})}const T=mE(!!l),I=M(k=>{if(e.pathname,e.search,k===void 0)return dp(jc(),T,0);const $=Y(r);return $==="PUSH"?k+1:$==="POP"?dp(jc(),T,Math.max(0,k-1)):k}),L=M(()=>I()>0||b().type!==Ne.BASE);function R(){b().type===Ne.DIALOG?M3(n,window.location.pathname,I()):n(-1)}return lE(L,R),gE(L,R),(()=>{var k=AE();return D(k,_,null),D(k,C(P,{}),null),k})()}function e0(t){const e=t[t.length-1];if(e)return e.info}function U3(t){const e={size:"s"};if(t.length===0)return e;const n=e0(t),r=n==null?void 0:n.dialog;return!r||r===!0?e:de(q({},r),{size:r.size||e.size})}function z3(t){const e=t.size,n=typeof e=="string"&&e!=="s"?`dialog-${e}`:void 0,r=typeof e=="string"?void 0:{width:`${e[0]}rem`,height:`${e[1]}rem`};return[n,r]}function ME(){const t=oa();return P3(M(()=>t().map(e=>Ke(e.route.key))))}function gp(t){return Ke(t[0])}function Hc(t){return Ke(t[t.length-1])}let pp;function NE(t,e){var i,s;if(!t||!e||t.type!==Ne.DIALOG||e.type!==Ne.DIALOG)return!1;const n=(i=Hc(t.matchs))==null?void 0:i.component,r=(s=Hc(e.matchs))==null?void 0:s.component;return!!n&&n===r}function mp(t,e){var n;for(const r of t){const i=(n=r.info)==null?void 0:n.guards;if(i)for(const s of i){const o=Y(()=>s(e));if(o)return o}}return!1}function BE(t){let e;const n=Dn(),{action:r}=Ie(ba);let i=!1;ne(()=>{const S=n();if(S&&S3(e),t.isInitDialog()){i=!0;return}Y(()=>{S?s(e):a(e)})}),K(()=>{i&&a(e)});function s(S){var I;i=!0;
11const x=r();S.style.display="",S.style.zIndex="";const E=Y(()=>t.preRoute);if(E.type===Ne.SHALLOW||u())return;const A=E.type===Ne.DIALOG,P=(I=Hc(t.route.matchs))==null?void 0:I.component,T=!!P&&P===pp;if(pp=P,T){if(S.style.zIndex="1006",S.animate){const L=S.animate([{opacity:0},{opacity:1}],ko);L.addEventListener("finish",()=>{S.style.zIndex="",L.cancel()},{once:!0})}else S.style.zIndex="";return}x==="POP"&&A?c(S,2,1):(S.style.zIndex="1006",!re.mobile&&!A?S.style.zIndex="":c(S,0,1))}let o=0;function a(S){const x=t.route,E=Y(()=>t.preRoute),A=x.type!==Ne.DIALOG,P=x.type===Ne.SHALLOW;i=!1;const T=r();clearTimeout(o);function I(){S.style.display="none"}function L(){c(S,1,0,I)}function R(){c(S,1,2,I)}function k(){o=window.setTimeout(I,ko.duration)}if(u())return I();P||E.type===Ne.SHALLOW?k():T==="POP"?A?re.mobile?L():k():(S.style.zIndex="1006",L()):A&&re.mobile?L():NE(l.route,x)?(S.style.zIndex="",k()):(S.style.zIndex="",R())}function c(S,x,E,A){function P(){A==null||A(),S.style.zIndex=""}S.animate||P();const T=S.animate([{transform:`translateX(${vp[x]})`},{transform:`translateX(${vp[E]})`}],ko);T.addEventListener("finish",()=>{P(),T.cancel()},{once:!0})}const l=wa(),u=Sx(n),f=e0(l.route.matchs),d=U3(l.route.matchs),h=M(()=>z3(d)),g=B({}),p=M(()=>g[0]()),m=M(()=>_e(p(),["title","children","class","actions","contentClass","scrollContainerClass","scrollThreshold"])),y=d.behavior==="no-title",v=d.behavior==="transparent-title",[b,w]=B(100);function _(){const S=A3(()=>!!(v||y));return v&&pe(()=>{const x=p().scrollThreshold;w(x!==void 0?Math.min(100,100*S()/x):100*S()/window.innerHeight)}),C(Mi,{fallback:x=>(kn.emit("report_error",x),x.message,C(t0,{get title(){return yt("Error")},get children(){return C($s,{type:"offline",get children(){return String(x==null?void 0:x.message)}})}})),get children(){return C(jn,{get fallback(){return yl()},get children(){return t.children}})}})}return C(q3.Provider,{value:g,get children(){var S=TE(),x=S.firstChild,E=e;return typeof E=="function"?Be(E,S):e=S,ve(x,oe(()=>m()[1],{get class(){return J("dialog-item",(v||y)&&"dialog-transparent-title",y&&"dialog-no-title",!y&&j3()&&"dialog-tg-projected",p().class)},get dir(){return re.mobile?"ltr":void 0}}),!1,!0),D(x,!y&&C(FE,{dialogProps:p,get titleColor(){return f==null?void 0:f.titleColor}}),null),D(x,C(Tr,{get class(){return J("dialog-content",p().contentClass)},get containerClass(){return p().scrollContainerClass},get style(){return{"--bg":f==null?void 0:f.backgroundColor}},get children(){return _()}}),null),fe(A=>{var P=J("dialog-overlayer",h()[0]),T=de(q({},h()[1]),{"--scroll":`${b()}%`});return P!==A.e&&ye(S,A.e=P),A.t=Bs(S,T,A.t),A},{e:void 0,t:void 0}),S}})}const q3=Ze();function j3(){return sE()&&(re.app.tgPlatform==="android"||re.app.tgPlatform==="ios")}function FE(t){const e=Dn(),n=Hi(),r=wa(),i=Xs(),s=()=>M3(i,window.location.pathname,r.navDepth()),o=H3(),a=()=>!re.mobile,c=()=>!(a()&&r.index()===1);return C(ae,{get when(){return!j3()},get fallback(){return C(lr,{get mount(){return n()},get children(){return C(ae,{get when(){return e()},get children(){return[C(ae,{get when(){return t.dialogProps().title},get children(){var l=kE(),u=l.firstChild;return D(u,()=>t.dialogProps().title),l}}),C(yp,{get actions(){return t.dialogProps().actions},buttonClass:"dialog-tg-fab"})]}})}})},get children(){var l=OE(),u=l.firstChild;return D(l,C(ae,{get when(){return c()},get children(){return C(lt,{onClick:s,class:"dialog-back !p-0",get children(){return C(Ae.Arrow,{get class(){return J(Ry()&&"rotate-180")}})}})}}),u),D(l,()=>t.dialogProps().title,u),D(u,C(yp,{get actions(){return t.dialogProps().actions}}),null),D(u,C(ae,{get when(){return a()},get children(){return C(lt,{onClick:o,class:"dialog-close !p-0",get children(){return C(Ae.Close,{})}})}}),null),fe(f=>Ut(l,"--bg",t.titleColor)),l}})}function yp(t){const e=M(()=>{var s;return(s=t.actions)!=null?s:[]}),n=()=>t.buttonClass||"dialog-action",[r,i]=B(!1);return C(ra,{get children(){return[C(Bt,{get when(){return e().length===1},get children(){return C(lt,{onClick:()=>e()[0].onClick(),get class(){return J(n(),"!p-0")},get"aria-label"(){return e()[0].label},get children(){return C(wc,{get component(){return e()[0].icon}})}})}}),C(Bt,{get when(){return e().length>1},get children(){return C(Gs,{get visible(){return r()},setVisible:i,get title(){return yt("More")},get layer(){return(()=>{var s=RE();return D(s,C(ke,{get each(){return e()},children:o=>(()=>{var a=PE(),c=a.firstChild;return a.$$click=()=>{i(!1),o.onClick()},D(a,C(wc,{get component(){return o.icon}}),c),D(c,()=>o.label),a})()})),s})()},get children(){return C(lt,{get class(){return J(n(),"!p-0")},get"aria-label"(){return yt("More")},get children(){return C(UE,{})}})}})}})]}})}function UE(t){return(()=>{var e=DE();return ve(e,t,!0,!0),e})()}function bd(t){function e(){const{path:c}=Ii.extractBase(t.state.pathname+t.state.search);return{value:c,state:Ke(t.state.state)}}const n=aa({get:e,set(c){},create(c){const l=c.navigatorFactory();pe(u=>{const f=e();return u&&l(f.value,{state:f.state,replace:!0}),f})}}),[r,i]=Mf(),s=Tn(),o=M(()=>Ii.extractBase(s.pathname).path);function a(c){const[l,u]=Mf(),f=Tn(),d=M(()=>f.pathname===o());return pe(()=>{if(d()){let h=function(p,m){const y=q({},p);if(!My(g,y)){const v=q({},y);for(const b in g)v[b]===void 0&&(v[b]=void 0);g=y,m(v,{replace:!0})}},g=Y(()=>q({},l));pe(()=>h(l,i)),pe(()=>h(r,u))}}),c.children}return C(zE.Provider,{get value(){return t.state},get children(){return C(n,{root:a,get children(){return t.matches||t.state.matchs}})}})}const zE=Ze(null),vp={0:"100%",1:"0%",2:"-17%"};function H3(){const t=Xs(),e=wa();return()=>{e?bE(t,e.stacks.list[0],e.index(),e.navDepth()):t(-1)}}function t0(t){if(wa()){const n=Ie(q3),[,r]=_e(t,["children"]);n&&pe(()=>{n[1](q({},r))})}return t.children}cr(["click"]);const W3="wallet",$n=new Fe(0),bp={abnormal:!0,groupAmount:{free_amount:$n,sports:$n},aliasCurrencyName:"BTC",amount:$n,areaAble:!0,bonusAmount:$n,currencyName:"BTC",display:!0,displayStatus:1,deducting:$n,deductingGame:$n,deductingSport:$n,generalAmount:$n,lastLogId:"0",sort:3,supportTx:!0,useable:!1},[qE,Ro]=B(!1),[[Li,Po],jE]=Vs(t=>{const e=HE(),[n,r]=zt(e.dict);return Ro(e.init),pe(()=>{const i=Ce.setting.currencyName;!Object.keys(n).length||n[i]||Y(()=>{var a;
11const s=h3(Ce,Ce.setting),o=(a=Object.values(n).filter(Boolean)[0])==null?void 0:a.currencyName;pl("setting","currencyName",n[s]?s:o!=null?o:s)})}),pe(()=>{const i=Ce.setting.currencyName,s=n[i];!s||s.display||r(i,"display",!0)}),Wn(()=>t.inited()).then(()=>{Se(()=>{function i(){n0().catch(console.log)}Ro(!1),i(),ne(o=>(o===!1&&Ce.login&&(Ro(!1),Y(i)),Ce.login)),pe(()=>{Object.values(n).forEach(o=>{o!==null&&(pe(a=>{const c=o.display;return a!==void 0&&r(o.currencyName,"displayStatus",c?1:2),c}),pe(a=>{const c=o.displayStatus;return a!==void 0&&Ce.login&&s(),c}))})});const s=bh(()=>{Y(()=>{vt().post("/user/amount/display/",{list:Object.values(n).filter(Boolean).map(o=>({currencyName:o.currencyName,status:o.displayStatus}))})})},5e3)})}),[n,r]});function HE(){var n;const t=Ce.setting.currencyName;function e(){return t?{[t]:de(q({},bp),{currencyName:t,aliasCurrencyName:t})}:{BTC:bp}}try{const r=localStorage.getItem(W3);if(r){const i=JSON.parse(r),s=V3((n=i.dict)!=null?n:i),o=!!i.init;return{dict:s,init:o}}else return{dict:e(),init:!1}}catch(r){return{dict:e(),init:!1}}}let wd=null;function WE(t){wd=t}function n0(){return te(this,null,function*(){var i,s;let t;try{t=yield Lx()}catch(o){throw Ro(Ce.login),o}const e=V3(t.reduce((o,a)=>(a.deducting=$n,a.deductingGame=$n,a.deductingSport=$n,o[a.currencyName]=a,o),{})),n=Ce.login;localStorage.setItem(W3,JSON.stringify({dict:e,init:n})),wd&&Object.values(e).forEach(o=>{const a=wd(o.currencyName);o.deducting=a.deducting,o.deductingGame=a.deductingGame,o.deductingSport=a.deductingSport,o.generalAmount=o.generalAmount.sub(a.deducting),o.groupAmount.free_amount=o.groupAmount.free_amount.sub(a.deductingGame),o.groupAmount.sports=o.groupAmount.sports.sub(a.deductingSport)});const r=(i=e[Ce.setting.currencyName])!=null?i:Object.values(e)[0];if(r){const o=r.deducting.add(r.deductingGame).add(r.deductingSport),a=(s=globalThis.__walletDebug)!=null?s:globalThis.__walletDebug={};a.lastSnapshot={currencyName:r.currencyName,authority:r.generalAmount.add(r.deducting).toString(),reconciledDeducting:o.toString(),display:r.generalAmount.toString(),currencyCount:Object.keys(e).length,at:new Date().toISOString()}}VE(e),Ro(n),kx(t)})}function VE(t){const e=Object.entries(t).reduce((n,[r,i])=>(n[r]=i,n),{});Y(()=>{at(()=>{Object.entries(Li).forEach(([n])=>{e[n]||Po(n,void 0)}),Object.values(t).forEach(n=>{Li[n.currencyName]?Po(n.currencyName,r=>XE(r,n)?r:n):Po({[n.currencyName]:n})})})})}function XE(t,e){const n=Object.keys(t),r=Object.keys(e);return n.length!==r.length?!1:n.every(i=>Object.prototype.hasOwnProperty.call(e,i)&&String(t[i])===String(e[i]))}function V3(t){return Object.entries(t).forEach(([e,n])=>{n.deducting=new Fe(n.deducting),n.deductingGame=new Fe(n.deductingGame),n.deductingSport=new Fe(n.deductingSport),n.amount=new Fe(n.amount),n.bonusAmount=new Fe(n.bonusAmount),n.generalAmount=new Fe(n.generalAmount),n.groupAmount.free_amount=new Fe(n.groupAmount.free_amount),n.groupAmount.sports=new Fe(n.groupAmount.sports)}),t}const KE=()=>{const t=location.hash;t.startsWith("#/")&&history.replaceState(history.state,"",t.slice(1))};function GE(){ne(()=>{is().classList.toggle("dark",xe.darken);const t=document.querySelector('meta[name="theme-color"]');t&&t.setAttribute("content",xe.darken?"#232626":"#f4f4f4")}),ne(()=>{is().classList.toggle("lowend",re.isLowEndDevice)}),ne(()=>{is().classList.toggle("lite",xe.lite)}),ne(()=>{is().classList.toggle("pc",!re.mobile)}),ne(()=>document.documentElement.style.fontSize=re.remScale*16+"px"),ne(()=>{vt().defaults.headers.common["Accept-Language"]=xe.lang})}const X3=()=>{Bx(),KC(),Hx(),Xx(),jE(),vx(),KE(),GE()};let K3=null;function YE(t){K3=t}function JE(t){return Se(e=>{try{return t()}finally{e()}},K3)}function ZE(t){var c,l;const e=oe({getOverlayRootElement:()=>document.body,getAppRootElement:()=>is(),preload:!0,createAppSideEffects:()=>X3()},t.config);e.routerUtils&&gx(e.routerUtils),(c=e.createAppSideEffects)==null||c.call(e),Ii.sync(t);const n=Ii.getBasePrefix(),r=M(()=>Y(()=>{var g;const u=QE(t.routes),f=t.modules.map(p=>p.routes()).flat(),d=(g=u.find(df))!=null?g:f[0];let h;
11if(d&&df(d)){const p=eA(d.children||[]);d.children=p,h=m=>{p.unshift(m)}}else h=p=>{u.unshift(p)};return f.forEach(p=>{var m,y;i(p),!((m=p.info)!=null&&m.dialog)&&!((y=p.info)!=null&&y.shallow)&&!df(p)?h(p):u.push(p)}),u}));function i(u){u.info&&u.children instanceof Array&&u.children.forEach(f=>{f.info=q(q({},u.info),f.info),i(f)})}ne(()=>{window.matchMedia("(hover: hover) and (pointer: fine)").matches&&setTimeout(()=>{document.body.classList.toggle("scroll-bar",By()>0)},3e3)});function s(){var f;const u=Ve();YE(u),t.modules.forEach(d=>{d.events&&Object.entries(d.events).forEach(([h,g])=>{kn.on(h,(...p)=>te(null,null,function*(){const m=yield g();un(u,()=>{m(...p)})}))}),d.init&&un(u,d.init)});for(const d of(f=t.events)!=null?f:[]){const h=(...g)=>te(null,null,function*(){const p=yield d.handler();un(u,()=>p(...g))});if(typeof d.trigger=="number"){if(d.trigger<0)throw new Error("event trigger 不能为负数");const g=setTimeout(h,d.trigger);K(()=>clearTimeout(g))}else if(typeof d.trigger=="function"){let g=!0;const p=v=>{g&&h(v)},m=d.trigger,y=m(p);if(y!=null&&typeof y!="function")throw new Error("event trigger 只能返回 cleanup 函数");K(()=>{g=!1,typeof y=="function"&&y()})}else{if(d.trigger!=null)throw new Error("event trigger 必须是 number 或 function");if(d.receipt){const g=Kh(d.name,h);K(g)}else if(d.namespace){const g=An(d.namespace).connect();g.on(d.name,h),K(()=>g.off(d.name,h))}else kn.on(d.name,h)}}return null}const o=(l=t.gate)!=null?l:(u=>u.children);return C(g2,{root:u=>C(Y3.Provider,{get value(){return t.globalComponents||{}},get children(){return C(bx,{base:n,get children(){return C(iS,{get value(){return e.getOverlayRootElement},get children(){return[De(()=>Y(s)),C(o,{get children(){return[C($E,{get routes(){return r()}}),De(()=>t.children)]}}),C(_3,{}),C(T3,{}),C(k3,{})]}})}})}}),base:n,get children(){return r()},preload:!1})}function df(t){return!!(!t.path&&t.component)}const dc=t=>typeof t.path=="string"?t.path:"";function QE(t){const e=[],n=(i,s)=>i.filter(o=>{var a,c;return(a=o.info)!=null&&a.dialog||(c=o.info)!=null&&c.shallow?(G3(o,s+dc(o)),e.push(s?de(q({},o),{path:s+dc(o)}):o),!1):(Array.isArray(o.children)&&(o.children=n(o.children,s+dc(o))),!0)});return n(t,"").concat(e)}function G3(t,e){var n;if(Array.isArray(t.children))for(const r of t.children){const i=e+dc(r);if(((n=r.info)==null?void 0:n.dialog)===!1){const s=`[routes] ${i} 声明了 dialog:false,却位于 dialog 布局 ${e} 内,请移出该目录`;console.warn(s)}G3(r,i)}}function eA(t){return t instanceof Array?t:[t]}function tA(){const t=window.scrollTo;window.scrollTo=(e,n)=>{n===0&&e===0||t.call(window,e,n)}}tA();const Y3=Ze({});function J3(t){const e=Ie(Y3)[t]||(()=>null);return n=>C(Mi,{fallback:r=>(kn.emit("report_error",r),null),get children(){return C(e,n)}})}var nA=N("<div>");const rA=()=>{const t=n=>{var r,i,s;return{id:(((r=n==null?void 0:n.userAvatarFrameList)==null?void 0:r.filter(o=>o.status)[0])||{id:0}).id,redDot:(s=(i=n==null?void 0:n.userAvatarFrameList)==null?void 0:i.some(o=>!o.readStatus&&o.active))!=null?s:!1}};return M(()=>t(Ce))};function iA(t){const e=J3("Frame"),n=M(()=>{if(re.inActive&&(t.level||t.level===0)){const r=Yh(t.level||0);return sA(r.type)}return t.id||-1});return(()=>{var r=nA();return D(r,()=>t.children,null),D(r,C(e,{get types(){return n()},get class(){return J("pointer-events-none absolute select-none w-full scale-150",t.frameClass)}}),null),fe(()=>ye(r,J("relative flex center size-full",t.class))),r})()}function sA(t){return!t||t<0?0:t<=4?t:t===5?4:5}class oA{constructor(){this.list=[]}enqueue(e,n){const{weights:r=0}=n||{},i={weights:r,run:e},s=Uy(this.list,i,o=>o.weights);this.list.splice(s,0,i)}dequeue(){var e;return(e=this.list.shift())==null?void 0:e.run}setPriority(){}get size(){return this.list.length}filter(){return this.list.map(e=>e.run)}}class aA extends Ah{constructor(){super({queueClass:oA,concurrency:1})}}const cA=new aA;let nn;function lA(){return nn&&(nn(),nn=void 0),Ve()&&K(()=>{nn&&nn(),nn=void 0}),t=>new Promise(e=>{nn=e,t()})}function uA(t){let e=!0;return K(()=>{e&&(nn&&nn(),nn=void 0)}),{navigate:n=>{e=!1,n===-1?t(-1):t(n,{replace:!0})},resolve:n=>{nn&&nn(n),nn=void 0},handleNext:()=>{e=!1}}}const[fA,dA]=Se(()=>{const[t,e]=zt({isFiat:!1,isOfflineAgent:!1,bonusCurrency:"BCD"});return ne(qn(()=>Object.keys(Li),n=>{let r="BCD";n.length===1&&n.map(s=>{s.includes("FIAT")&&(r=s)}),e({isFiat:r!=="BCD",bonusCurrency:r})})),ne(()=>{if(!t.isFiat)return;const n=t.bonusCurrency;(Ce.setting.localeCurrencyName!==n||!Ce.setting.enableLocaleCurrency)&&pl("setting",{localeCurrencyName:n,enableLocaleCurrency:!0})}),[t,e]});let hf;const hA=Object.defineProperties([],{0:{get(){return _p()[0]}},1:{get(){return _p()[1]}}});function gA(t,e,n="casino"){var r;try{const s=Ai.getCurrency(e).currencyType==="FIAT"?e:t.currencyName;if(t.newUserDepositBonusSelect){const a=t.newUserDepositBonusSelect.casinoConfigBean.selected||!t.newUserDepositBonusSelect.selected&&n==="casino"?t.newUserDepositBonusSelect.casinoConfigBean:t.newUserDepositBonusSelect.sportConfigBean;return{bonusCurrencyName:s,rechargeUsd:Ai.convertCurrency(new jt(a.minDeposit),a.currency,"USDFIAT").toNumber(),bonusRatio:a.rate,maximumBcd:Ai.convertCurrency(new jt(a.maxBonus),a.currency,"BCD").toNumber(),count:a.seq,firstTimeLimitRatio:0,firstTimeLimitTime:0,freeSpin:0,lottery:0,minUsd:0,weeks:[],userCurrency:"",maxUsd:0}}if(t.specialDeposit)return{rechargeUsd:t.specialDeposit.minDeposit,bonusRatio:t.specialDeposit.maxBonusRatio,maximumBcd:t.specialDeposit.maxDeposit,bonusCurrencyName:t.
11specialDeposit.currency,count:0,firstTimeLimitRatio:0,firstTimeLimitTime:0,freeSpin:0,lottery:0,minUsd:0,weeks:[],userCurrency:"",maxUsd:0};if(t.rechargeValidNum<4&&t.bonusItems.length>0){const o=t.bonusItems[0];return(r=t.fiatRecharge)!=null&&r[e]?de(q({},o),{rechargeUsd:t.fiatRecharge[e]}):o}return null}catch(i){return null}}const wp={bonusAmount:"0",bonusThreshold:"0",bonusItems:[],bonusLog:[],expiredTime:0,firstExpiredTime:0,maxBonusRatio:{},rechargeValidNum:0,registerTime:0,releaseAmount:"0",totalAmount:"0",dailyDeposit:!1,specialDeposit:null,currencyName:"",currencyPrice:"",wagerRatio:"0.2",fiatRecharge:null,newUserDepositBonusType:"COMMON",monthlyBonusItems:[],dailyDepositBonusTC:{casino:[],sport:[]},newUserBonusTC:{freeSpinMaxWinnings:0,freeSpinWagerTimes:0},claimedKycFirstDepositBonus:!1};function _p(){return hf||(hf=Ms(()=>te(null,null,function*(){const t=yield vt().get("/activity/recharge-bonus/dashboard/"),e=t.expiredTime||0;let n=t.rechargeValidNum||0;return e<re.serverTime.getTime()&&(n=4),de(q({},t),{bonusItems:t.bonusItems||[],bonusAmount:t.bonusAmount||"0",bonusThreshold:t.bonusThreshold||"0",expiredTime:e,bonusLog:t.bonusLog||[],firstExpiredTime:t.firstExpiredTime||0,maxBonusRatio:t.maxBonusRatio||{},registerTime:t.registerTime||0,releaseAmount:t.releaseAmount||"0",totalAmount:t.totalAmount||"0",rechargeValidNum:n})}),{storage:()=>dv(B(wp),{name:"__bcd_resource__persisted"}),initialValue:wp})),hf}const Cp=xs.Reader,pA=xs.Writer,qa=xs.util,xp=xs.roots.user||(xs.roots.user={}),Z3=xp.BalanceChange=(()=>{function t(e){if(this.groupBalances={},this.groupChangeAmounts={},e)for(let n=Object.keys(e),r=0;r<n.length;++r)e[n[r]]!=null&&(this[n[r]]=e[n[r]])}return t.prototype.frontgroundId=0,t.prototype.amountLogId="",t.prototype.currencyName="",t.prototype.mixedBalance="",t.prototype.generalBalance="",t.prototype.bonusBalance="",t.prototype.mixedChangeAmount="",t.prototype.generalChangeAmount="",t.prototype.bonusChangeAmount="",t.prototype.groupBalances=qa.emptyObject,t.prototype.groupChangeAmounts=qa.emptyObject,t.encode=function(n,r){if(r||(r=pA.create()),n.frontgroundId!=null&&Object.hasOwnProperty.call(n,"frontgroundId")&&r.uint32(8).int32(n.frontgroundId),n.amountLogId!=null&&Object.hasOwnProperty.call(n,"amountLogId")&&r.uint32(18).string(n.amountLogId),n.currencyName!=null&&Object.hasOwnProperty.call(n,"currencyName")&&r.uint32(26).string(n.currencyName),n.mixedBalance!=null&&Object.hasOwnProperty.call(n,"mixedBalance")&&r.uint32(34).string(n.mixedBalance),n.generalBalance!=null&&Object.hasOwnProperty.call(n,"generalBalance")&&r.uint32(42).string(n.generalBalance),n.bonusBalance!=null&&Object.hasOwnProperty.call(n,"bonusBalance")&&r.uint32(50).string(n.bonusBalance),n.mixedChangeAmount!=null&&Object.hasOwnProperty.call(n,"mixedChangeAmount")&&r.uint32(58).string(n.mixedChangeAmount),n.generalChangeAmount!=null&&Object.hasOwnProperty.call(n,"generalChangeAmount")&&r.uint32(66).string(n.generalChangeAmount),n.bonusChangeAmount!=null&&Object.hasOwnProperty.call(n,"bonusChangeAmount")&&r.uint32(74).string(n.bonusChangeAmount),n.groupBalances!=null&&Object.hasOwnProperty.call(n,"groupBalances"))for(let i=Object.keys(n.groupBalances),s=0;s<i.length;++s)r.uint32(82).fork().uint32(10).string(i[s]).uint32(18).string(n.groupBalances[i[s]]).ldelim();if(n.groupChangeAmounts!=null&&Object.hasOwnProperty.call(n,"groupChangeAmounts"))for(let i=Object.keys(n.groupChangeAmounts),s=0;s<i.length;++s)r.uint32(90).fork().uint32(10).string(i[s]).uint32(18).string(n.groupChangeAmounts[i[s]]).ldelim();return r},t.decode=function(n,r){n instanceof Cp||(n=Cp.create(n));let i=r===void 0?n.len:n.pos+r,s=new xp.BalanceChange,o,a;for(;n.pos<i;){let c=n.uint32();switch(c>>>3){case 1:s.frontgroundId=n.int32();break;case 2:s.amountLogId=n.string();break;case 3:s.currencyName=n.string();break;case 4:s.mixedBalance=n.string();break;case 5:s.generalBalance=n.string();break;case 6:s.bonusBalance=n.string();break;case 7:s.mixedChangeAmount=n.string();break;case 8:s.generalChangeAmount=n.string();break;case 9:s.bonusChangeAmount=n.string();break;case 10:s.groupBalances===qa.emptyObject&&(s.groupBalances={});let l=n.uint32()+n.pos;for(o="",a="";n.pos<l;){let f=n.uint32();switch(f>>
11>3){case 1:o=n.string();break;case 2:a=n.string();break;default:n.skipType(f&7);break}}s.groupBalances[o]=a;break;case 11:s.groupChangeAmounts===qa.emptyObject&&(s.groupChangeAmounts={});let u=n.uint32()+n.pos;for(o="",a="";n.pos<u;){let f=n.uint32();switch(f>>>3){case 1:o=n.string();break;case 2:a=n.string();break;default:n.skipType(f&7);break}}s.groupChangeAmounts[o]=a;break;default:n.skipType(c&7);break}}return s},t})(),_d=Se(()=>{const[t,e]=zt({hasBonus:!1,showRedDot:!1});return Un(()=>{const i=localStorage.getItem("selectBonusReddot");i!==null&&e("showRedDot",JSON.parse(i))}),{updateBalance:()=>{if(!t.showRedDot){const i=t.hasBonus||Object.values(Li).find(s=>s.groupAmount.free_amount.gt(0)||s.groupAmount.sports.gt(0));i||(e("showRedDot",!0),localStorage.setItem("selectBonusReddot",JSON.stringify(!0))),e("hasBonus",!!i)}},clearRedDot:()=>{e("showRedDot",!1),localStorage.setItem("selectBonusReddot",JSON.stringify(!1))},store:t}}),Cd=20736e5,r0=new WeakSet;function mA(t){r0.add(t)}let xd=t=>t>=Cd;function yA(t){const e=xd;xd=n=>e(n)||t(n)}const vA={create(t,e,n,r="nomal",i=2e4){return Date.now()%Cd},createStatic(t=0){return Cd+t},resolve(t,e=!0){},cancel(t){},isResolve(t){return r0.has(t)}},gf=(t,e,n,r)=>{const s=new jt(t||0).sub(e),o=s.eq(n)?n:s;return r&&r0.add(o),o},Sp={};var om;const bA=(om=globalThis.__walletDebug)!=null?om:globalThis.__walletDebug={};function wA({frontgroundId:t,amountLogId:e,currencyName:n,mixedBalance:r,generalBalance:i,bonusBalance:s,mixedChangeAmount:o,generalChangeAmount:a,bonusChangeAmount:c,groupBalances:l,groupChangeAmounts:u}){if(!Li[n])return;const f=String(e!=null?e:"").trim();if(/^\d+$/.test(f)&&f!=="0"){const y=Sp[n];if(y&&new jt(f).lte(new jt(y)))return;Sp[n]=f}const d=xd(t);at(()=>{Po(n,y=>{let v=y.generalAmount,b=y.groupAmount;if(l.sports){const w=gf(l.sports,y.deductingSport,y.groupAmount.sports,d);b=de(q({},b),{sports:w}),v=y.generalAmount.eq(new jt(i))?y.generalAmount:new jt(i),_d.updateBalance()}else if(l.free_amount){const w=gf(l.free_amount,y.deductingGame,y.groupAmount.free_amount,d);b=de(q({},b),{free_amount:w}),v=y.generalAmount.eq(new jt(i))?y.generalAmount:new jt(i),_d.updateBalance()}else v=gf(i,y.deducting,y.generalAmount,d);return{amount:new jt(r||0),generalAmount:v,bonusAmount:new jt(s||0),groupAmount:b}})});const h=Li[n],g=l.sports?h.deductingSport:l.free_amount?h.deductingGame:h.deducting,p=l.sports?h.groupAmount.sports:l.free_amount?h.groupAmount.free_amount:h.generalAmount,m=l.sports?l.sports:l.free_amount?l.free_amount:i;bA.lastPush={seq:String(e),frontgroundId:t,currencyName:n,authority:String(m),change:String(o),deducting:g.toString(),display:p.toString(),fromThisSession:d,at:new Date().toISOString()}}An("/user").on("balance-change-v2",An().decodeBind(wA,Z3));let Ep=0;An().on("reconnect",()=>{const t=Date.now();t-Ep<2e3||(Ep=t,n0().catch(()=>{}))});const[_A,CA]=B(0);function Q3(){try{return JSON.parse(sessionStorage.getItem(pc)||"{}")}catch(t){return{}}}function xA(){_A();const t=Q3().tgWebAppData;return typeof t=="string"?t:""}function SA(){try{const t=Q3();if(!("tgWebAppData"in t))return;delete t.tgWebAppData,sessionStorage.setItem(pc,JSON.stringify(t))}catch(t){}CA(t=>t+1)}const EA=Se(()=>$h(()=>Ce.login?["/activity/recharge-bonus/config/current/"]:void 0,e=>te(null,[e],function*([t]){return yield vt().get(t)})));function eb(t,e){var r;const n=(r=t.currentUseConfigs)!=null?r:[];return e?n.map(i=>{var o;const s=(o=i.fiatRecharge)==null?void 0:o[e];return s!=null?de(q({},i),{minDeposit:s}):i}):n}function AA(t,e){var r;return(r=eb(t,e)[0])!=null?r:null}const Sd={loaded:!1,basicKycStatus:"none",advancedKycStatus:"none",attemptCnt:0,manualReviewStatus:null,appealPending:!1,levelResults:[],linkStatus:"can_link",kycDuplicateInfo:{duplicateUserId:0,duplicateUserLevel:0,approvedLevel:"",emailVerified:!1,email:"",hasPhone:!1,phoneSuffix:"",verifyFlowId:""},basic:{levelName:"basic-kyc-level",level:1,kycStatus:"none",moderationComment:null},advanced:{levelName:"advanced-kyc-level",level:2,kycStatus:"none",moderationComment:null}},[TA,OA]=zt(Sd);function tb(){return te(this,null,function*(){var n,r;
11const t=yield vt().get("/account/kyc/statusV2/").catch(()=>{});if(!t)return;const e=i=>t.levelResults.find(s=>s.level===i);OA(ia(de(q({},t),{loaded:!0,basic:(n=e(1))!=null?n:Sd.basic,advanced:(r=e(2))!=null?r:Sd.advanced})))})}Se(()=>{ne(qn(()=>Ce.login,t=>{t&&tb()}))});var kA=N("<div translate=no>"),RA=N("<div>");function Ed(t){const e=oe({overflow:99,type:"number"},t);return C(ae,{get when(){return e.type==="number"},get fallback(){return(()=>{var n=RA();return fe(()=>ye(n,J("h-2 z-50 w-2 -translate-y-1/2 rounded-full bg-brand",e.class))),n})()},get children(){return C(Vn,{get when(){return e.value!==0},get children(){var n=kA();return D(n,C(ae,{get when(){return t.value>e.overflow},get fallback(){return De(()=>t.value)},get children(){return[De(()=>e.overflow),"+"]}})),fe(r=>{var i=J("badge",e.class),s=e.style;return i!==r.e&&ye(n,r.e=i),r.t=Bs(n,s,r.t),r},{e:void 0,t:void 0}),n}})}})}var PA=N("<div>"),DA=N('<span class="text-primary_brand text-sm font-normal">');function IA(t){const[e,n]=_e(t,["list","class"]);return(()=>{var r=PA();return ve(r,oe(n,{get class(){return J("px-4 h-10 leading-10 rounded !inline-flex center ellipsis bg-primary w-max",e.class)}}),!1,!0),D(r,C(Yr,{get each(){return e.list},children:(i,s)=>[s>0&&C(Ae.Arrow,{class:"!w-3 !h-3 mx-1 mt-0.5"}),De(()=>De(()=>s!==e.list.length-1)()?C(Zd,{class:"text-secondary cursor-pointer",get href(){return i().path},get title(){return i().label},get children(){return i().label}}):(()=>{var o=DA();return D(o,()=>i().label),o})())]})),r})()}var as=function(){return as=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},as.apply(this,arguments)};function nb(t,e,n){for(var r,i=0,s=e.length;i<s;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function Ap(t){return Array.prototype.slice.call(t)}function Tp(t,e){var n=Math.floor(t);return n===e||n+1===e?t:e}function Op(){return Date.now()}function pf(t,e,n){if(e="data-keen-slider-"+e,n===null)return t.removeAttribute(e);t.setAttribute(e,n||"")}function Wc(t,e){return e=e||document,typeof t=="function"&&(t=t(e)),Array.isArray(t)?t:typeof t=="string"?Ap(e.querySelectorAll(t)):t instanceof HTMLElement?[t]:t instanceof NodeList?Ap(t):[]}function uo(t){t.raw&&(t=t.raw),t.cancelable&&!t.defaultPrevented&&t.preventDefault()}function fo(t){t.raw&&(t=t.raw),t.stopPropagation&&t.stopPropagation()}function rb(){var t=[];return{add:function(e,n,r,i){e.addListener?e.addListener(r):e.addEventListener(n,r,i),t.push([e,n,r,i])},input:function(e,n,r,i){this.add(e,n,(function(s){return function(o){o.nativeEvent&&(o=o.nativeEvent);var a=o.changedTouches||[],c=o.targetTouches||[],l=o.detail&&o.detail.x?o.detail:null;return s({id:l?l.identifier?l.identifier:"i":c[0]?c[0]?c[0].identifier:"e":"d",idChanged:l?l.identifier?l.identifier:"i":a[0]?a[0]?a[0].identifier:"e":"d",raw:o,x:l&&l.x?l.x:c[0]?c[0].screenX:l?l.x:o.pageX,y:l&&l.y?l.y:c[0]?c[0].screenY:l?l.y:o.pageY})}})(r),i)},purge:function(){t.forEach((function(e){e[0].removeListener?e[0].removeListener(e[2]):e[0].removeEventListener(e[1],e[2],e[3])})),t=[]}}}function i0(t,e,n){return Math.min(Math.max(t,e),n)}function Nn(t){return(t>0?1:0)-(t<0?1:0)||+t}function kp(t){var e=t.getBoundingClientRect();return{height:Tp(e.height,t.offsetHeight),width:Tp(e.width,t.offsetWidth)}}function Ft(t,e,n,r){var i=t&&t[e];return i==null?n:r&&typeof i=="function"?i():i}function gn(t){return Math.round(1e6*t)/1e6}function LA(t){var e,n,r,i,s,o;function a(d){o||(o=d),c(!0);var h=d-o;h>r&&(h=r);var g=i[n];if(g[3]<h)return n++,a(d);var p=g[2],m=g[4],y=g[0],v=g[1]*(0,g[5])(m===0?1:(h-p)/m);if(v&&t.track.to(y+v),h<r)return u();o=null,c(!1),l(null),t.emit("animationEnded")}function c(d){e.active=d}function l(d){e.targetIdx=d}function u(){var d;d=a,s=window.requestAnimationFrame(d)}function f(){var d;d=s,window.cancelAnimationFrame(d),c(!1),l(null),o&&t.emit("animationStopped"),o=null}return e={active:!1,start:function(d){if(f(),t.track.details){var h=0,g=t.track.details.position;n=0,r=0,i=d.map((function(p){var m,y=Number(g),v=(m=p.earlyExit)!==null&&m!==void 0?m:p.duration,b=p.easing,w=p.distance*b(v/p.duration)||0;g+=w;var _=r;return r+=v,h+=w,[y,p.distance,_,r,p.duration,b]})),l(t.track.distToIdx(h)),u(),t.emit("animationStarted")}},stop:f,targetIdx:null}}function $A(t){var e,n,r,i,s,o,a,c,l,u,f,d,h,g,p=1/0,m=[],y=null,v=0;function b(R){I(v+R)}function w(R){var k=_(v+R).abs;return E(k)?k:null}function _(R){var k=Math.floor(Math.abs(gn(R/n))),$=gn((R%n+n)%n);$===n&&($=0);var U=Nn(R),j=a.indexOf(nb([],a).reduce((function(ie,F){return Math.abs(F-$)<Math.abs(ie-$)?F:ie}))),V=j;return U<0&&k++,j===o&&(V=0,k+=U>0?1:-1),{abs:V+k*o*U,origin:j,rel:V}}function S(R,k,$){var U;if(k||!P())return x(R,$);
vendor: 4,513 bytes, line 11
11if(!E(R))return null;var j=_($!=null?$:v),V=j.abs,ie=R-j.rel,F=V+ie;U=x(F);var z=x(F-o*Nn(ie));return(z!==null&&Math.abs(z)<Math.abs(U)||U===null)&&(U=z),gn(U)}function x(R,k){if(k==null&&(k=gn(v)),!E(R)||R===null)return null;R=Math.round(R);var $=_(k),U=$.abs,j=$.rel,V=$.origin,ie=T(R),F=(k%n+n)%n,z=a[V],ce=Math.floor((R-(U-j))/o)*n;return gn(z-F-z+a[ie]+ce+(V===o?n:0))}function E(R){return A(R)===R}function A(R){return i0(R,l,u)}function P(){return i.loop}function T(R){return(R%o+o)%o}function I(R){var k;k=R-v,m.push({distance:k,timestamp:Op()}),m.length>6&&(m=m.slice(-6)),v=gn(R);var $=L().abs;if($!==y){var U=y!==null;y=$,U&&t.emit("slideChanged")}}function L(R){var k=R?null:(function(){if(o){var $=P(),U=$?(v%n+n)%n:v,j=($?v%n:v)-s[0][2],V=0-(j<0&&$?n-Math.abs(j):j),ie=0,F=_(v),z=F.abs,ce=F.rel,le=s[ce][2],be=s.map((function(he,G){var Q=V+ie;(Q<0-he[0]||Q>1)&&(Q+=(Math.abs(Q)>n-1&&$?n:0)*Nn(-Q));var ue=G-ce,we=Nn(ue),$e=ue+z;$&&(we===-1&&Q>le&&($e+=o),we===1&&Q<le&&($e-=o),f!==null&&$e<f&&(Q+=n),d!==null&&$e>d&&(Q-=n));var Me=Q+he[0]+he[1],ut=Math.max(Q>=0&&Me<=1?1:Me<0||Q>1?0:Q<0?Math.min(1,(he[0]+Q)/he[0]):(1-Q)/he[0],0);return ie+=he[0]+he[1],{abs:$e,distance:i.rtl?-1*Q+1-he[0]:Q,portion:ut,size:he[0]}}));return z=A(z),ce=T(z),{abs:A(z),length:r,max:g,maxIdx:u,min:h,minIdx:l,position:v,progress:$?U/n:v/r,rel:ce,slides:be,slidesLength:n}}})();return e.details=k,t.emit("detailsChanged"),k}return e={absToRel:T,add:b,details:null,distToIdx:w,idxToDist:S,init:function(R){if((function(){if(i=t.options,s=(i.trackConfig||[]).map((function(j){return[Ft(j,"size",1),Ft(j,"spacing",0),Ft(j,"origin",0)]})),o=s.length){n=gn(s.reduce((function(j,V){return j+V[0]+V[1]}),0));var $,U=o-1;r=gn(n+s[0][2]-s[U][0]-s[U][2]-s[U][1]),a=s.reduce((function(j,V){if(!j)return[0];var ie=s[j.length-1],F=j[j.length-1]+(ie[0]+ie[2])+ie[1];return F-=V[2],j[j.length-1]>F&&(F=j[j.length-1]),F=gn(F),j.push(F),(!$||$<F)&&(c=j.length-1),$=F,j}),null),r===0&&(c=0),a.push(gn(n))}})(),!o)return L(!0);var k;(function(){var $=t.options.range,U=t.options.loop;f=l=U?Ft(U,"min",-1/0):0,d=u=U?Ft(U,"max",p):c;var j=Ft($,"min",null),V=Ft($,"max",null);j!==null&&(l=j),V!==null&&(u=V),h=l===-1/0?l:t.track.idxToDist(l||0,!0,0),g=u===p?u:S(u,!0,0),V===null&&(d=u),Ft($,"align",!1)&&u!==p&&s[T(u)][2]===0&&(g-=1-s[T(u)][0],u=w(g-v)),h=gn(h),g=gn(g)})(),k=R,Number(k)===k?b(x(A(R))):L()},to:I,velocity:function(){var R=Op(),k=m.reduce((function($,U){var j=U.distance,V=U.timestamp;return R-V>200||(Nn(j)!==Nn($.distance)&&$.distance&&($={distance:0,lastTimestamp:0,time:0}),$.time&&($.distance+=j),$.lastTimestamp&&($.time+=V-$.lastTimestamp),$.lastTimestamp=V),$}),{distance:0,lastTimestamp:0,time:0});return k.distance/k.time||0}}}function MA(t){var e,n,r,i,s,o,a,c;function l(y){return 2*y}function u(y){return i0(y,a,c)}function f(y){return 1-Math.pow(1-y,3)}function d(){return r?t.track.velocity():0}function h(){m();var y=t.options.mode==="free-snap",v=t.track,b=d();i=Nn(b);var w=t.track.details,_=[];if(b||!y){var S=g(b),x=S.dist,E=S.dur;if(E=l(E),x*=i,y){var A=v.idxToDist(v.distToIdx(x),!0);A&&(x=A)}_.push({distance:x,duration:E,easing:f});var P=w.position,T=P+x;if(T<s||T>o){var I=T<s?s-P:o-P,L=0,R=b;if(Nn(I)===i){var k=Math.min(Math.abs(I)/Math.abs(x),1),$=(function(V){return 1-Math.pow(1-V,1/3)})(k)*E;_[0].earlyExit=$,R=b*(1-k)}else _[0].earlyExit=0,L+=I;var U=g(R,100),j=U.dist*i;t.options.rubberband&&(_.push({distance:j,duration:l(U.dur),easing:f}),_.push({distance:-j+L,duration:500,easing:f}))}t.animator.start(_)}else t.moveToIdx(u(w.abs),!0,{duration:500,easing:function(V){return 1+--V*V*V*V*V}})}function g(y,v){v===void 0&&(v=1e3);var b=147e-9+(y=Math.abs(y))/v;return{dist:Math.pow(y,2)/b,dur:y/b}}function p(){var y=t.track.details;y&&(s=y.min,o=y.max,a=y.minIdx,c=y.maxIdx)}function m(){t.animator.stop()}t.on("updated",p),t.on("optionsChanged",p),t.on("created",p),t.on("dragStarted",(function(){r=!1,m(),e=n=t.track.details.abs})),t.on("dragChecked",(function(){r=!0})),t.on("dragEnded",(function(){var y=t.options.mode;y==="snap"&&(function(){var v=t.track,b=t.track.details,w=b.position,_=Nn(d());(w>o||w<s)&&(_=0);var S=e+_;b.slides[v.absToRel(S)].portion===0&&(S-=_),e!==n&&(S=n),Nn(v.idxToDist(S,!0))!==_&&(S+=_),S=u(S);var x=v.idxToDist(S,!0);t.animator.start([{distance:x,duration:500,easing:function(E){return 1+--E*E*E*E*E}}])})(),y!=="free"&&y!=="free-snap"||h()})),t.on("dragged",(function(){n=t.track.details.abs}))}function NA(t){var e,n,r,i,s,o,a,c,l,u,f,d,h,g,p,m,y,v,b=rb();
11function w(L){if(o&&c===L.id){var R=E(L);if(l){if(!x(L))return S(L);u=R,l=!1,t.emit("dragChecked")}if(m)return u=R;uo(L);var k=(function(U){if(y===-1/0&&v===1/0)return U;var j=t.track.details,V=j.length,ie=j.position,F=i0(U,y-ie,v-ie);if(V===0)return 0;if(!t.options.rubberband)return F;if(ie<=v&&ie>=y||ie<y&&n>0||ie>v&&n<0)return U;var z=(ie<y?ie-y:ie-v)/V,ce=i*V,le=Math.abs(z*ce),be=Math.max(0,1-le/s*2);return be*be*U})(a(u-R)/i*r);n=Nn(k);var $=t.track.details.position;($>y&&$<v||$===y&&n>0||$===v&&n<0)&&fo(L),f+=k,!d&&Math.abs(f*i)>5&&(d=!0),t.track.add(k),u=R,t.emit("dragged")}}function _(L){!o&&t.track.details&&t.track.details.length&&(f=0,o=!0,d=!1,l=!0,c=L.id,x(L),u=E(L),t.emit("dragStarted"))}function S(L){o&&c===L.idChanged&&(o=!1,t.emit("dragEnded"))}function x(L){var R=A(),k=R?L.y:L.x,$=R?L.x:L.y,U=h!==void 0&&g!==void 0&&Math.abs(g-$)<=Math.abs(h-k);return h=k,g=$,U}function E(L){return A()?L.y:L.x}function A(){return t.options.vertical}function P(){i=t.size,s=A()?window.innerHeight:window.innerWidth;var L=t.track.details;L&&(y=L.min,v=L.max)}function T(L){d&&(fo(L),uo(L))}function I(){if(b.purge(),t.options.drag&&!t.options.disabled){var L;L=t.options.dragSpeed||1,a=typeof L=="function"?L:function(k){return k*L},r=t.options.rtl?-1:1,P(),e=t.container,(function(){var k="data-keen-slider-clickable";Wc("[".concat(k,"]:not([").concat(k,"=false])"),e).map((function($){b.add($,"dragstart",fo),b.add($,"mousedown",fo),b.add($,"touchstart",fo)}))})(),b.add(e,"dragstart",(function(k){uo(k)})),b.add(e,"click",T,{capture:!0}),b.input(e,"ksDragStart",_),b.input(e,"ksDrag",w),b.input(e,"ksDragEnd",S),b.input(e,"mousedown",_),b.input(e,"mousemove",w),b.input(e,"mouseleave",S),b.input(e,"mouseup",S),b.input(e,"touchstart",_,{passive:!0}),b.input(e,"touchmove",w,{passive:!1}),b.input(e,"touchend",S),b.input(e,"touchcancel",S),b.add(window,"wheel",(function(k){o&&uo(k)}));var R="data-keen-slider-scrollable";Wc("[".concat(R,"]:not([").concat(R,"=false])"),t.container).map((function(k){return(function($){var U;b.input($,"touchstart",(function(j){U=E(j),m=!0,p=!0}),{passive:!0}),b.input($,"touchmove",(function(j){var V=A(),ie=V?$.scrollHeight-$.clientHeight:$.scrollWidth-$.clientWidth,F=U-E(j),z=V?$.scrollTop:$.scrollLeft,ce=V&&$.style.overflowY==="scroll"||!V&&$.style.overflowX==="scroll";if(U=E(j),(F<0&&z>0||F>0&&z<ie)&&p&&ce)return m=!0;p=!1,uo(j),m=!1})),b.input($,"touchend",(function(){m=!1}))})(k)}))}}t.on("updated",P),t.on("optionsChanged",I),t.on("created",I),t.on("destroyed",b.purge)}function BA(t){var e,n,r=null;function i(h,g,p){t.animator.active?o(h,g,p):requestAnimationFrame((function(){return o(h,g,p)}))}function s(){i(!1,!1,n)}function o(h,g,p){var m=0,y=t.size,v=t.track.details;if(v&&e){var b=v.slides;e.forEach((function(w,_){if(h)!r&&g&&c(w,null,p),l(w,null,p);else{if(!b[_])return;var S=b[_].size*y;!r&&g&&c(w,S,p),l(w,b[_].distance*y-m,p),m+=S}}))}}function a(h){return t.options.renderMode==="performance"?Math.round(h):h}function c(h,g,p){var m=p?"height":"width";g!==null&&(g=a(g)+"px"),h.style["min-"+m]=g,h.style["max-"+m]=g}function l(h,g,p){if(g!==null){g=a(g);var m=p?g:0;g="translate3d(".concat(p?0:g,"px, ").concat(m,"px, 0)")}h.style.transform=g,h.style["-webkit-transform"]=g}function u(){e&&(o(!0,!0,n),e=null),t.on("detailsChanged",s,!0)}function f(){i(!1,!0,n)}function d(){u(),n=t.options.vertical,t.options.disabled||t.options.renderMode==="custom"||(r=Ft(t.options.slides,"perView",null)==="auto",t.on("detailsChanged",s),(e=t.slides).length&&f())}t.on("created",d),t.on("optionsChanged",d),t.on("beforeOptionsChanged",(function(){u()})),t.on("updated",f),t.on("destroyed",u)}function FA(t,e){return function(n){var r,i,s,o,a,c=rb();function l(x){var E;pf(n.container,"reverse",(E=n.container,window.getComputedStyle(E,null).getPropertyValue("direction")!=="rtl"||x?null:"")),pf(n.container,"v",n.options.vertical&&!x?"":null),pf(n.container,"disabled",n.options.disabled&&!x?"":null)}function u(){f()&&m()}function f(){var x=null;if(o.forEach((function(A){A.matches&&(x=A.__media)})),x===r)return!1;r||n.emit("beforeOptionsChanged"),r=x;var E=x?s.breakpoints[x]:s;return n.options=as(as({},s),E),l(),_(),S(),v(),!0}function d(x){var E=kp(x);return(n.options.vertical?E.height:E.width)/n.size||1}function h(){return n.options.trackConfig.length}function g(x){for(var E in r=!1,s=as(as({},e),x),c.purge(),i=n.size,o=[],s.breakpoints||[]){var A=window.matchMedia(E);A.__media=E,o.push(A),c.add(A,"change",u)}c.add(window,"orientationchange",w),c.add(window,"resize",b),f()}function p(x){n.animator.stop();var E=n.track.details;n.track.init(x!=null?x:E?E.abs:0)}function m(x){p(x),n.emit("optionsChanged")}function y(x,E){if(x)return g(x),void m(E);_(),S();var A=h();v(),h()!==A?m(E):p(E),n.emit("updated")}function v(){var x=n.options.slides;if(typeof x=="function")return n.options.trackConfig=x(n.size,n.slides);for(var E=n.slides,A=E.length,P=typeof x=="number"?x:Ft(x,"number",A,!0),T=[],I=Ft(x,"perView",1,!0),L=Ft(x,"spacing",0,!0)/n.size||0,R=I==="auto"?L:L/I,k=Ft(x,"origin","auto"),$=0,U=0;U<P;U++){var j=I==="auto"?d(E[U]):1/I-L+R,V=k==="center"?.5-j/2:k==="auto"?0:k;T.push({origin:V,size:j,spacing:L}),$+=j}if($+=L*(P-1),k==="auto"&&!n.options.loop&&I!==1){var ie=0;T.map((function(F){var z=$-ie;return ie+=F.size+L,z>=1||(F.origin=1-z-($>1?0:1-$)),F}))}n.options.trackConfig=T}function b(){_();var x=n.size;n.options.disabled||x===i||(i=x,y())}function w(){b(),setTimeout(b,500),setTimeout(b,2e3)}function _(){var x=kp(n.container);n.size=(n.options.vertical?x.height:x.width)||1}function S(){n.slides=Wc(n.options.selector,n.container)}n.container=(a=Wc(t,document)).length?a[0]:null,n.destroy=function(){c.purge(),n.emit("destroyed"),l(!0)},n.prev=function(){n.moveToIdx(n.track.details.abs-1,!0)},n.next=function(){n.moveToIdx(n.track.details.abs+1,!0)},n.update=y,g(n.options)}}var UA=function(t,e,n){try{return(function(r,i){var s,o={};
11return s={emit:function(a){o[a]&&o[a].forEach((function(l){l(s)}));var c=s.options&&s.options[a];c&&c(s)},moveToIdx:function(a,c,l){var u=s.track.idxToDist(a,c);if(u){var f=s.options.defaultAnimation;s.animator.start([{distance:u,duration:Ft(l||f,"duration",500),easing:Ft(l||f,"easing",(function(d){return 1+--d*d*d*d*d}))}])}},on:function(a,c,l){l===void 0&&(l=!1),o[a]||(o[a]=[]);var u=o[a].indexOf(c);u>-1?l&&delete o[a][u]:l||o[a].push(c)},options:r},(function(){if(s.track=$A(s),s.animator=LA(s),i)for(var a=0,c=i;a<c.length;a++)(0,c[a])(s);s.track.init(s.options.initial||0),s.emit("created")})(),s})(e,nb([FA(t,{drag:!0,mode:"snap",renderMode:"precision",rubberband:!0,selector:".keen-slider__slide"}),BA,NA,MA],n||[],!0))}catch(r){console.error(r)}},zA=N("<div>");function qA(t){const[e,n]=_e(t,["ref","options","auto"]);let r;const i=Le(()=>t.children),s=()=>de(q({loop:a},e.options),{selector(c){return c.querySelectorAll(":scope > *")}}),o=()=>e.auto||0,a=o()>0;return C(Xr,{get children(){var c=zA();return Be(l=>{r=new UA(l,s()),t.ref&&t.ref(r);let u=!0;ne(()=>{var h;i()&&(r.update(s(),u?(h=e.options)==null?void 0:h.initial:void 0),u=!1)});let f=0;const d=new ResizeObserver(()=>{cancelAnimationFrame(f),f=requestAnimationFrame(()=>r.update())});d.observe(l),K(()=>{cancelAnimationFrame(f),d.disconnect(),r.destroy()}),a&&jA(()=>r,o)},c),ve(c,oe(n,{get class(){return J("carousels",n.class)}}),!1,!0),D(c,i),c}})}function jA(t,e){const n=Dn(),[r,i]=B(!1),s=Ve(),o=()=>Dh(f=>(cl(()=>{const d=t();d.slides.length>0&&(d.options.loop?t().next():d.moveToIdx((d.track.details.abs+1)%d.slides.length))},()=>{if(r()||!n())return!1;const d=e();return d>0?d:!1},setInterval),f),s);let a=o();t().on("slideChanged",()=>{a(),a=o()});const c=i.bind(void 0,!0),l=i.bind(void 0,!1);let u=!1;ne(()=>{const f=t();f.container.addEventListener("mouseover",()=>{u=!0,c()}),f.container.addEventListener("mouseout",()=>{u=!1,l()}),f.on("dragStarted",c),f.on("animationEnded",()=>{u||l()}),f.on("updated",l)})}const HA=(t,e,n)=>{const r=new Date(0);return r.setFullYear(t,e,n),r.setHours(0,0,0,0)},ib=(t,e)=>{const n=new Date(t);return n.setDate(n.getDate()+e)},Rp=(t,e)=>(t-e+7)%7,WA=(t,e,n=0)=>{const r=new Date(t).getDay();return ib(t,Rp(e,n)-Rp(r,n))},VA=(t,e)=>{const n=t,r=n.getMonth()+e;let i=r%12;i<0&&(i+=12);const s=n.setMonth(r);return n.getMonth()!==i?n.setDate(0):s},ja=(t,e)=>{const n=t,r=n.getMonth(),i=n.setFullYear(n.getFullYear()+e);return r===1&&n.getMonth()===2?n.setDate(0):i},XA=(t,e,n)=>{let r={day:"numeric",month:"long",year:"numeric"};return n&&(r=n),new Intl.DateTimeFormat(t,r).format(e)},sb=(t,e,n)=>{switch(t){case"days":return VA(e,n);case"months":return ja(e,n);case"years":return ja(e,n*10);case"decades":return ja(e,n*100);default:return ja(e,n*10)}},yi=(t,e)=>{const n=t.getFullYear();return Math.floor(n/e)*e},ob=Ze(null);function fr(){return Ie(ob)}function wl(){const t=fr();return M(()=>{const e=t.value();return Array.isArray(e)?e:[e,e]})}function ab(){return(t,e)=>XA(xe.lang,t,e)}const KA=()=>{const{state:t,setState:e}=fr();return C(lt,{class:"text-secondary",onClick:()=>e("selectedDate",new Date(sb(t.view,t.selectedDate,-1))),get children(){return C(Ae.Arrow,{class:"w-6 h-6"})}})},GA=()=>{const{state:t,setState:e}=fr(),n=ab(),r=()=>t.view==="days"?"months":t.view==="months"?"years":t.view==="years"?"decades":t.view,i=()=>{switch(t.view){case"decades":return`${yi(t.selectedDate,100)}-${yi(t.selectedDate,100)+90}`;case"years":return`${yi(t.selectedDate,10)}-${yi(t.selectedDate,10)+9}`;case"months":return n(t.selectedDate,{year:"numeric"});default:return n(t.selectedDate,{month:"long",year:"numeric"})}};return C(lt,{class:"text-lg",onClick:()=>e("view",r()),get children(){return i()}})},YA=()=>{const{state:t,setState:e}=fr();return C(lt,{class:"text-secondary",onClick:()=>{e("selectedDate",new Date(sb(t.view,t.selectedDate,1)))},get children(){return C(Ae.Arrow,{class:"w-6 h-6 rotate-180"})}})};var JA=N('<div class="datepicker-table text-center gap-1">'),ZA=N('<span class="flex-1 text-secondary">'),QA=N("<div>");const eT=t=>{const{state:e,value:n,onChange:r}=fr(),i=(new Date(t.start).getDay()+6)%7,s=e.options.weekDays||[],o=s.slice(i).concat(s.slice(0,i)),a=Array.isArray(n()),c=wl(),l=M(()=>c().map(p=>p.getTime()));function u(p){return`${p.getFullYear()}${p.getMonth()}`}const f=M(()=>u(e.selectedDate)),d=Ns(f),h=p=>{var w,_,S;const m=p(),y=(w=e.options)==null?void 0:w.minDate,v=(_=e.options)==null?void 0:_.disabledDates,b=(S=e.options)==null?void 0:S.maxDate;return v&&v.indexOf(m)>=0||y&&m<y||b&&m>b};let g=c()[1];return(()=>{var p=JA();return D(p,C(ke,{each:o,children:m=>(()=>{var y=ZA();return D(y,m),y})()}),null),D(p,C(ke,{get each(){return[...Array(42)]},children:(m,y)=>{const v=M(()=>new Date(ib(t.start,y())));
11return C(_l,{get class(){return J(h(v)&&"text-quarterary cursor-not-allowed",!d(u(v()))&&"text-secondary")},get date(){return v()},get range(){return l()},onClick:()=>{if(h(v))return;const b=v();if(!a)r(b);else{const[w,_]=c(),S=b.getTime(),x=w.getTime(),E=_.getTime();S===x?(r([w,w]),g=w):S===E?(r([_,_]),g=_):(r([g,b].sort((A,P)=>A.getTime()-P.getTime())),g=b)}},get children(){return v().getDate()}})}}),null),p})()};function _l(t){const[,e]=_e(t,["class","date","range"]),{value:n}=fr(),r=Array.isArray(n()),i=M(()=>{const[s,o]=t.range,a=t.date.getTime();if(!r&&s===o){if(s===a)return 0}else{if(s===a||o===a)return 0;if(a>s&&a<=o)return 1}return 2});return(()=>{var s=QA();return ve(s,oe(e,{get class(){return J("flex-1 leading-9 border-0 rounded-lg text-center btn-like",t.class,i()===0?"bg-brand text-primary_brand":i()===1&&"bg-brand/20")},get onClick(){return t.onClick}}),!1,!0),D(s,()=>t.children),s})()}var tT=N('<div class="grid grid-cols-4 gap-2">');const nT=()=>{const{state:t,setState:e}=fr(),n=wl(),r=M(()=>n().map(s=>new Date(yi(s,10),0).getTime())),i=M(()=>{const s=yi(t.selectedDate,100);return[...Array(12)].map((o,a)=>new Date(s+a*10,0))});return(()=>{var s=tT();return D(s,C(Yr,{get each(){return i()},children:(o,a)=>C(_l,{get date(){return o()},get range(){return r()},onClick:()=>{e({view:"years",selectedDate:o()})},get children(){return o().getFullYear()}})})),s})()};var rT=N('<div class="grid grid-cols-4 gap-2 mb-5">');const iT=()=>{const{state:t,setState:e}=fr(),n=ab(),r=wl(),i=M(()=>r().map(o=>new Date(o.getFullYear(),o.getMonth()).getTime())),s=M(()=>[...Array(12)].map((o,a)=>new Date(t.selectedDate.getFullYear(),a)));return(()=>{var o=rT();return D(o,C(Yr,{get each(){return s()}
11,children:(a,c)=>C(_l,{get date(){return a()},get range(){return i()},onClick:()=>{e({view:"days",selectedDate:a()})},get children(){return n(a(),{month:"short"})}})})),o})()};var sT=N('<div class="grid grid-cols-4 gap-2">');const oT=()=>{const{state:t,setState:e}=fr(),n=wl(),r=M(()=>n().map(s=>new Date(s.getFullYear(),0).getTime())),i=M(()=>{const s=yi(t.selectedDate,10);return[...Array(12)].map((o,a)=>new Date(s+a,0))});return(()=>{var s=sT();return D(s,C(Yr,{get each(){return i()},children:(o,a)=>C(_l,{get date(){return o()},get range(){return r()},onClick:()=>{e({view:"months",selectedDate:o()})},get children(){return o().getFullYear()}})})),s})()};var aT=N("<div class=tabs-btn-group>"),cT=N('<div class="tabs-indicator test-indicator-tab">'),lT=N("<button role=tab>"),uT=N("<div>");const cb=Ze(null);function fT(t){const[e,n]=_e(t,["value","onChange","class","keepAlive","type","divider"]),[r,i]=B(t.value||0),s=B([]),o=s[0];pe(()=>{var y;const p=Y(()=>t.value),m=r();p!==m&&((y=t.onChange)==null||y.call(t,m))}),pe(()=>{t.value!==void 0&&i(t.value)}),pe(p=>{const m=o(),y=Y(r);if(p&&p.length>0){const v=m.indexOf(p[y]);i(Math.max(0,v))}return m});const[a,c]=B(0),[l,u]=B(0),[f,d]=B(null),h=[];pe(()=>{o();const p=r();d(h[p]||null)});const g=p=>{const m=p.clientWidth;if(!m){const y=requestAnimationFrame(()=>{const v=p.clientWidth;v&&(c(v),u(p.offsetLeft))});K(()=>cancelAnimationFrame(y));return}c(m),u(p.offsetLeft)};return pe(()=>{const p=f();p&&g(p)}),Lh(f,()=>{const p=f();p&&g(p)}),C(cb.Provider,{value:s,get children(){return[C(Tr,oe(n,{role:"tablist",pan:"x",get"data-type"(){return e.type},get"data-divider"(){return e.divider||void 0},get style(){return{"--tabs-width":a()+"px","--tabs-indicator-position":l()+"px"}},get class(){return J("tabs-title hide-scroll",t.class)},get children(){return[C(ae,{get when(){return t.tabTitlePrefix},get children(){return t.tabTitlePrefix}}),(()=>{var p=aT();return D(p,C(Yr,{get each(){return o()},children:(m,y)=>(()=>{var v=lT();return Be(b=>{h[y]=b,r()===y&&d(b)},v),v.$$click=()=>i(y),D(v,()=>m().title),fe(b=>{var w=r()===y||void 0,_=J("tabs-btn btn-like"),S=m().props.tabIndex;return w!==b.e&&We(v,"aria-selected",b.e=w),_!==b.t&&ye(v,b.t=_),S!==b.a&&We(v,"tabindex",b.a=S),b},{e:void 0,t:void 0,a:void 0}),v})()})),p})(),cT()]}})),C(ae,{get when(){return o().length>0},get children(){return C(lb,{get tabs(){return o()},get value(){return o()[r()]},get keepAlive(){return t.keepAlive},children:(p,m)=>{const[,y]=_e(p().props,["tabIndex"]);return(()=>{var v=uT();return ve(v,oe(y,{get class(){return J("tabs-content",y.class)}}),!1,!0),D(v,C(jn,{get fallback(){return yl()},get children(){return y.children}})),v})()}})}}),De(()=>t.children)]}})}function dT(t){const[,e]=_e(t,["title"]),[,n]=Ie(cb),r={get title(){return t.title},props:e};return n(i=>[...i,r].sort((s,o)=>(s.props.tabIndex||0)-(o.props.tabIndex||0))),K(()=>{n(i=>i.filter(s=>s!==r))}),null}function lb(t){const e=ur(()=>C(ke,{get each(){return t.tabs},children:(r,i)=>C(jn,{get fallback(){return yl()},get children(){return C(Vn,{get when(){return r===t.value},get keepAlive(){return t.keepAlive},get children(){return t.children(()=>r,i())}})}})})),n=sl(e,{appear:!1,onEnter(r){queueMicrotask(()=>{da(r,{opacity:[0,1]},{duration:.35,easing:ua})})}});return De(n)}const Cl=fT;Cl.TabItem=dT;Cl.TabSelect=lb;cr(["click"]);var hT=N('<div class="block text-base font-semibold mb-3 select-none"><div class="flex justify-between mb-2">');function gT(){var l,u,f;const{state:t,setState:e}=fr(),n=Dn();pe(()=>{n()&&e("view","days")});const r=(l=t.options)!=null&&l.language?(u=t.options)==null?void 0:u.language:"en",i=new Intl.Locale(r),s=((f=i==null?void 0:i.weekInfo)==null?void 0:f.firstDay)||1,o=()=>WA(HA(t.selectedDate.getFullYear(),t.selectedDate.getMonth(),1),s,s),a={days:()=>C(eT,{get start(){return o()}}),decades:nT,years:oT,months:iT},c=Object.keys(a);return(()=>{var d=hT(),h=d.firstChild;return D(h,C(KA,{}),null),D(h,C(GA,{}),null),D(h,C(YA,{}),null),D(d,C(Cl.TabSelect,{tabs:c,get value(){return t.view},children:g=>{const p=a[g()];return C(p,{})}}),null),d})()}const pT={language:"en",weekDays:["Mo","Tu","We","Th","Fr","Sa","Su"]};var mT=N("<div><input>");function s0(t){const[,e]=_e(t,["onChange"]);return C(ub,oe(e,{get onInput(){return t.onChange&&(n=>t.onChange(n.target.value))}}))}function ub(t){const[,e]=_e(t,["class","children"]),[n,r]=B(!1);return(()=>{var i=mT(),s=i.firstChild;return ve(s,oe(e,{onFocus:o=>{var a;
11r(!0),(a=t.onFocus)==null||a.call(t,o)},onBlur:o=>{var a;r(!1),(a=t.onBlur)==null||a.call(t,o)}}),!1,!1),D(i,()=>t.children,null),fe(o=>{var a=J("input",t.class),c=n()||void 0,l=t.disabled||void 0;return a!==o.e&&ye(i,o.e=a),c!==o.t&&We(i,"data-focus",o.t=c),l!==o.a&&We(i,"data-disabled",o.a=l),o},{e:void 0,t:void 0,a:void 0}),i})()}const yT=150;function vT(t){let e;Un(()=>{const g=window.visualViewport;if(!g||!navigator.maxTouchPoints)return;let p=0;const m=()=>{p=Math.min(p,g.height),g.height-p>yT&&e.blur()},y=()=>{p=g.height,g.addEventListener("resize",m)},v=()=>g.removeEventListener("resize",m);e.addEventListener("focus",y),e.addEventListener("blur",v),K(()=>{v(),e.removeEventListener("focus",y),e.removeEventListener("blur",v)})});const[,n]=_e(t,["onChange","onInput","precision","max","min","value","ref","allowEmpty"]),r=()=>t.allowEmpty&&t.value===void 0;function i(g){return new Fe(g).todp(t.precision,Fe.ROUND_DOWN)}const s=g=>{var p;(p=t.onChange)==null||p.call(t,g)},o=M(()=>i(t.value||0));pe(()=>{const g=t.precision,p=o();g&&p.dp()>g&&s(p.todp(g).toNumber())});function a(g){return t.max!==void 0&&g>t.max}function c(g){return t.min!==void 0&&g<t.min}pe(()=>{!r()&&a(o().toNumber())&&s(t.max)}),pe(()=>{!r()&&c(o().toNumber())&&s(t.min)}),ne(()=>{r()?e.value!==""&&(e.value=""):l(o())});function l(g){const p=g.toFixed();e.value!==p&&(e.value=p)}const u=g=>{if(g=g.replace(",","."),r()&&g.trim()==="")return;const p=Number(g);if(isNaN(p))l(o());else{const m=i(p||0).toNumber();a(m)?(l(i(t.max)),s(t.max)):c(m)?(l(i(t.min)),s(t.min)):(l(i(m)),s(m))}};let f;return Un(()=>{const g=()=>f=void 0;e.addEventListener("blur",g),K(()=>e.removeEventListener("blur",g))}),C(ub,oe({ref(g){var p=qi(m=>e=m,t.ref);typeof p=="function"&&p(g)}},n,{value:void 0,onInput:g=>{var y;const p=g.target,m=p.value.replace(",",".");if(m===""||m==="-"||/^-?\d*\.?\d*$/.test(m)){f=p.value;const v=Number(m);m!==""&&m!=="-"&&!Number.isNaN(v)&&((y=t.onInput)==null||y.call(t,v));return}f!==void 0?p.value=f:l(o())},onChange:g=>{const m=g.target.value;u(m)},inputmode:"decimal"}))}function bT(t){const[,e]=_e(t,["value","onChange","options","class","format"]),n=M(()=>t.format||(u=>Array.isArray(u)?u.map(f=>(f==null?void 0:f.toLocaleDateString())||"").join("-"):u.toLocaleDateString())),r=oe(pT,t.options),i=Array.isArray(t.value);i?t.value.forEach(u=>u.setHours(0,0,0,0)):t.value.setHours(0,0,0,0);const[s,o]=zt({options:r,view:"days",show:!1,selectedDate:Array.isArray(t.value)?t.value[0]:t.value});function a(u){t.onChange(u),i||o("show",!1)}const[c,l]=B();return C(ob.Provider,{value:{state:s,setState:o,value:()=>t.value,onChange:a},get children(){return C(qs,{ref:l,get children(){return C(s0,oe(e,{readOnly:!0,get value(){return n()(t.value)},get class(){return J("relative",t.class)},get children(){return[De(()=>t.children||C(Ae.Calendar,{class:"order-first -m-1 mr-2"})),C(Gs,{get class(){return J(!re.mobile&&"w-96")},get title(){return t.title||"Date Picker"},get visible(){return s.show},setVisible:u=>o("show",u),get layer(){return C(gT,{})},get trigger(){return c()}})]}}))}})}})}var wT=N('<div style="transition:transform 0.25s ease-out">'),_T=N("<div>"),CT=N("<div class=h-9>"),hc=N("<span>"),xT=N('<div class="relative flex h-9 items-center justify-center"><button type=button><span>'),ST=N('<button type=button><span class="ellipsis flex-auto text-left"></span><div class="center ml-auto size-6 flex-none rounded-md bg-input_button">'),ET=N('<button type=button data-no-swipe class="center size-7 flex-none rounded-md bg-[var(--Button-BrightBg)]">'),Pp=N('<span class="size-2 rounded-full bg-layer4">'),AT=N('<div class="flex flex-col gap-1 px-3 pb-3"><button type=button class="flex h-14 items-center justify-between rounded-md px-3 text-base"><span></span><span>'),TT=N('<div class="mb-2 flex items-center justify-between gap-2 px-4"><button type=button data-no-swipe></button><span class="text-base font-semibold"></span><button type=button>'),OT=N('<div class="max-h-[26rem] overflow-y-auto"><div class="sticky top-0 z-10 mx-4 mb-2 grid grid-cols-[repeat(7,minmax(2.25rem,1fr))] place-items-center gap-y-1 border-b border-third bg-layer3 pb-2 text-xs text-secondary">'),kT=N('<div class="flex flex-col overflow-hidden bg-layer3 text-primary"><div class="mx-auto mb-2 mt-2 h-1 w-11 rounded-sm bg-layer6"></div><div class="flex items-center gap-2 px-4 pb-3"><span class="flex-1 text-center text-base font-semibold"></span><button type=button class="center size-7 flex-none rounded-md bg-[var(--Button-BrightBg)]">'),RT=N('<div class="relative flex w-[720px] bg-layer3 text-primary"><div class="flex w-44 flex-col gap-1 border-r border-input bg-layer4 p-2"></div><div class="flex flex-col p-4 pt-10"><div class="mb-3 flex items-center justify-between"><button type=button class="center size-7 rounded-md hover:bg-layer2"></button><div class="flex flex-1 justify-around text-base font-semibold"><span></span><span></span></div><button type=button></button></div><div class="flex gap-6"><div><div class="mb-1 grid grid-cols-[repeat(7,2.25rem)] place-items-center gap-y-1 text-xs text-secondary"></div></div><div><div class="mb-1 grid grid-cols-[repeat(7,2.25rem)] place-items-center gap-y-1 text-xs text-secondary"></div></div></div></div><button type=button class="center absolute right-3 top-3 size-7 rounded-md bg-[var(--Button-BrightBg)] hover:opacity-80">
11'),PT=N('<span class="size-1.5 rounded-full bg-layer4">'),DT=N("<button type=button><span></span><span>"),IT=N('<div class="size-7 flex-none">'),LT=N('<button type=button class="flex h-14 items-center justify-between rounded-md px-3 text-base"><span></span><span>'),$T=N('<h3 class="mb-3 mt-4 text-center text-base font-semibold">'),MT=N('<div class="mx-4 mb-2">');function wo(t){const e=new Date(t);return e.setHours(0,0,0,0),e}function ni(t,e){return new Date(t.getFullYear(),t.getMonth()+e,1)}function NT(t,e,n=!1){const i=(new Date(t.getFullYear(),t.getMonth(),1).getDay()-e+7)%7,s=new Date(t.getFullYear(),t.getMonth()+1,0).getDate(),o=[];for(let a=0;a<i;a++)o.push(null);for(let a=1;a<=s;a++)o.push(new Date(t.getFullYear(),t.getMonth(),a));for(;o.length%7!==0;)o.push(null);return n?o.slice().reverse():o}function Ha(t,e){return new Intl.DateTimeFormat(t,{month:"short",year:"numeric"}).format(e)}function BT(t,e){const n=new Intl.DateTimeFormat(t,{weekday:"short"});return Array.from({length:7},(r,i)=>{const s=(e+i)%7,o=new Date(2024,0,7+s);return n.format(o)})}function FT(t,e){const n=new Intl.DateTimeFormat(t,{year:"numeric",month:"numeric",day:"numeric"});return`${n.format(e[0])}-${n.format(e[1])}`}function UT(t){const[e,n]=B(!1);return requestAnimationFrame(()=>n(!0)),(()=>{var r=wT();return D(r,()=>t.children),fe(i=>{var s=t.class,o=e()?"translateX(0)":`translateX(${t.dir==="l"?"-100%":"100%"})`;return s!==i.e&&ye(r,i.e=s),o!==i.t&&Ut(r,"transform",i.t=o),i},{e:void 0,t:void 0}),r})()}function mf(t){const e=M(()=>NT(t.viewMonth,t.weekStart,t.reverseWeeks)),n=M(()=>wo(t.range[0]).getTime()),r=M(()=>wo(t.range[1]).getTime());return(()=>{var i=_T();return D(i,C(ke,{get each(){return e()},children:(s,o)=>{if(!s)return CT();const a=s.getTime(),c=wo(s).getTime(),l=t.minDate&&a<t.minDate.getTime()||t.maxDate&&a>t.maxDate.getTime(),u=()=>c===n(),f=()=>c===r(),d=()=>n()!==r(),h=()=>d()&&c>n()&&c<r(),g=()=>c===t.todayStart,p=()=>d()&&(u()||f()||h()),m=()=>t.reverseWeeks?f():u(),y=()=>t.reverseWeeks?u():f(),v=E=>{if(!E||!d())return!1;const A=wo(E).getTime();return A>=n()&&A<=r()},b=()=>o()%7>0&&v(e()[o()-1]),w=()=>o()%7<6&&v(e()[o()+1]),_=()=>p()?h()?!0:m()?w():b():!1,S=()=>m()&&!y()?"left-[calc(50%+1.125rem)]":"left-0",x=()=>y()&&!m()?"right-[calc(50%+1.125rem)]":"right-0";return(()=>{var E=xT(),A=E.firstChild,P=A.firstChild;return D(E,C(ae,{get when(){return _()},get children(){var T=hc();return fe(()=>ye(T,J("pointer-events-none absolute inset-y-0 bg-brand/20",S(),x(),!m()&&!b()&&"rounded-l-xl",!y()&&!w()&&"rounded-r-xl"))),T}}),A),A.addEventListener("mouseleave",()=>t.onHover(null)),A.addEventListener("mouseenter",()=>!l&&t.onHover(s)),A.$$click=()=>!l&&t.onPick(s),A.disabled=!!l,D(P,()=>s.getDate()),fe(T=>{var I=J("relative flex h-9 w-full items-center justify-center text-sm",l&&"cursor-not-allowed"),L=J("flex size-9 items-center justify-center rounded-xl transition-colors",l?"text-quarterary":"text-primary",!l&&!u()&&!f()&&!h()&&"hover:bg-brand/20",(u()||f())&&"font-medium bg-brand text-primary_brand",g()&&!u()&&!f()&&!h()&&"ring-1 ring-inset ring-brand",_()&&m()&&"rounded-r-none",_()&&y()&&"rounded-l-none");return I!==T.e&&ye(A,T.e=I),L!==T.t&&ye(P,T.t=L),T},{e:void 0,t:void 0}),E})()}})),fe(()=>ye(i,J("grid gap-y-1",t.wide?"grid-cols-[repeat(7,minmax(2.25rem,1fr))]":"grid-cols-[repeat(7,2.25rem)]"))),i})()}function zT(t){let e;const[n,r]=B(!1),[i,s]=B(ni(t.value[1],-1));let o;const[a,c]=B(null),[l,u]=B(null),[f,d]=B(null),[h,g]=B("presets");if(typeof document!="undefined"){const F=z=>{var le;const ce=z.target;(le=ce==null?void 0:ce.closest)!=null&&le.call(ce,"[data-no-swipe]")&&z.stopImmediatePropagation()};document.addEventListener("touchstart",F,{capture:!0}),document.addEventListener("touchmove",F,{capture:!0}),K(()=>{document.removeEventListener("touchstart",F,{capture:!0}),document.removeEventListener("touchmove",F,{capture:!0})})}ne(qn(n,F=>{F||(c(null),u(null),d(null),g("presets"))}));const p=M(()=>{const F=f();if(F)return F;const z=a();if(!z)return t.value;const ce=l();return ce?ce.getTime()<z.getTime()?[ce,z]:[z,ce]:[z,z]}),m=M(()=>{var F;try{const z=new Intl.Locale(xe.lang).weekInfo;return((F=z==null?void 0:z.firstDay)!=null?F:1)%7}catch(z){return 1}}),y=M(()=>BT(xe.lang,m())),v=M(()=>y().slice().reverse()),b=new Date,w=wo(b).getTime(),_=new Date(b.getFullYear(),b.getMonth(),1).getTime(),S=M(()=>ni(i(),1).getTime()<_),x=M(()=>{var be;const F=[],z=(be=t.minDate)!=null?be:new Date(b.getTime()-7776e6),ce=new Date(z.getFullYear(),z.getMonth(),1);let le=new Date(b.getFullYear(),b.getMonth(),1);for(;le.getTime()>=ce.getTime();)F.push(new Date(le)),le=ni(le,-1);return F});function E(F){if(!o)return;const z=o.clientHeight*.7;o.scrollBy({top:F*z,behavior:"smooth"})}const[A,P]=B(0),[T,I]=B(0);function L(){o&&(P(o.scrollTop),I(o.scrollHeight-o.clientHeight))}function R(){L()}ne(()=>{h()==="calendar"&&(requestAnimationFrame(()=>{requestAnimationFrame(L)}),setTimeout(L,60))});const k=M(()=>A()>0),$=M(()=>T()>0&&A()<T()-1),U=M(()=>{var be,he,G,Q;A();const F=x();if(!o||!F.length)return(be=F[0])!=null?be:new Date;const z=o.children,ce=(G=(he=z[0])==null?void 0:he.offsetHeight)!=null?G:0,le=o.scrollTop+ce;for(let ue=1;ue<z.length;ue++){const we=z[ue];if(we.offsetTop+we.offsetHeight>le+20)return(Q=F[ue-1])!=null?Q:F[0]}return F[F.length-1]}),j=M(()=>t.activePreset?t.activePreset.label():FT(xe.lang,t.value));function V(F){t.onPresetSelect(F),r(!1)}function ie(F){const z=a();if(!z){c(F);return}const ce=F.getTime()<z.getTime(),le=new Date(ce?F:z);le.setHours(0,0,0,0);const be=new Date(ce?z:F);be.setHours(23,59,59,999),d([le,be]),c(null),u(null),t.onChange([le,be]),setTimeout(()=>r(!1),300)}return[(()=>{var F=ST(),z=F.firstChild,ce=z.nextSibling,le=e;return typeof le=="function"?Be(le,F):e=F,D(z,j),D(ce,C(Ae.Arrow,{class:"size-4 -rotate-90 transition-all"})),fe(()=>ye(F,J("button select",!re.mobile&&"button-m",t.class))),F})(),C(Gs,{get visible(){return n()},setVisible:r,trigger:e,get class(){return J("!max-h-none !p-0 [&>
11.pop-title]:hidden [&_.pop-content]:!p-0",!re.mobile&&"!w-auto !min-w-[720px] !max-w-none shadow-2xl")},get layer(){return C(ae,{get when(){return re.mobile},get fallback(){return(()=>{var F=RT(),z=F.firstChild,ce=z.nextSibling,le=ce.firstChild,be=le.firstChild,he=be.nextSibling,G=he.firstChild,Q=G.nextSibling,ue=he.nextSibling,we=le.nextSibling,$e=we.firstChild,Me=$e.firstChild,ut=$e.nextSibling,St=ut.firstChild,Ys=ce.nextSibling;return D(z,C(ke,{get each(){return t.presets},children:Et=>{const rt=()=>{var ge;return((ge=t.activePreset)==null?void 0:ge.value)===Et.value};return(()=>{var ge=DT(),pt=ge.firstChild,In=pt.nextSibling;return ge.$$click=()=>V(Et),D(pt,()=>Et.label()),D(In,C(ae,{get when(){return rt()},get children(){return PT()}})),fe(en=>{var Js=J("flex h-10 items-center justify-between rounded-md px-2 text-sm hover:bg-layer2",rt()&&"bg-layer2"),_a=J("center size-4 flex-none rounded-full",rt()?"bg-brand":"border-2 border-tertiary");return Js!==en.e&&ye(ge,en.e=Js),_a!==en.t&&ye(In,en.t=_a),en},{e:void 0,t:void 0}),ge})()}})),be.$$click=()=>s(ni(i(),-1)),D(be,C(Ae.Arrow,{class:"size-4"})),D(G,()=>Ha(xe.lang,i())),D(Q,()=>Ha(xe.lang,ni(i(),1))),ue.$$click=()=>S()&&s(ni(i(),1)),D(ue,C(Ae.Arrow,{class:"size-4 rotate-180"})),D(Me,C(ke,{get each(){return y()},children:Et=>(()=>{var rt=hc();return D(rt,Et),rt})()})),D($e,C(mf,{get viewMonth(){return i()},get range(){return p()},get minDate(){return t.minDate},get maxDate(){return t.maxDate},get weekStart(){return m()},todayStart:w,onPick:ie,onHover:u}),null),D(St,C(ke,{get each(){return y()},children:Et=>(()=>{var rt=hc();return D(rt,Et),rt})()})),D(ut,C(mf,{get viewMonth(){return ni(i(),1)},get range(){return p()},get minDate(){return t.minDate},get maxDate(){return t.maxDate},get weekStart(){return m()},todayStart:w,onPick:ie,onHover:u}),null),Ys.$$click=()=>r(!1),D(Ys,C(Ae.Close,{class:"size-4"})),fe(Et=>{var rt=!S(),ge=J("center size-7 rounded-md hover:bg-layer2",!S()&&"cursor-not-allowed opacity-30 hover:bg-transparent");return rt!==Et.e&&(ue.disabled=Et.e=rt),ge!==Et.t&&ye(ue,Et.t=ge),Et},{e:void 0,t:void 0}),F})()},get children(){var F=kT(),z=F.firstChild,ce=z.nextSibling,le=ce.firstChild,be=le.nextSibling;return D(ce,C(ae,{get when(){return h()==="calendar"},get fallback(){return IT()},get children(){var he=ET();return he.$$click=()=>g("presets"),D(he,C(Ae.Arrow,{class:"pointer-events-none size-4"})),he}}),le),D(le,()=>{var he,G;return(G=(he=t.mobileTitle)==null?void 0:he.call(t))!=null?G:"Select time range"}),be.$$click=()=>r(!1),D(be,C(Ae.Close,{class:"pointer-events-none size-4"})),D(F,C(ae,{get when(){return h()==="presets"},get children(){var he=AT(),G=he.firstChild,Q=G.firstChild,ue=Q.nextSibling;return D(he,C(ke,{get each(){return t.presets},children:we=>{const $e=()=>{var Me;return((Me=t.activePreset)==null?void 0:Me.value)===we.value};return(()=>{var Me=LT(),ut=Me.firstChild,St=ut.nextSibling;return Me.$$click=()=>V(we),D(ut,()=>we.label()),D(St,C(ae,{get when(){return $e()},get children(){return Pp()}})),fe(()=>ye(St,J("center size-5 flex-none rounded-full",$e()?"bg-brand":"border-2 border-tertiary"))),Me})()}}),G),G.$$click=()=>g("calendar"),D(Q,()=>{var we,$e;return($e=(we=t.customLabel)==null?void 0:we.call(t))!=null?$e:"Custom"}),D(ue,C(ae,{get when(){return!t.activePreset},get children(){return Pp()}})),fe(()=>ye(ue,J("center size-5 flex-none rounded-full",t.activePreset?"border-2 border-tertiary":"bg-brand"))),he}}),null),D(F,C(ae,{get when(){return h()==="calendar"},get children(){return C(UT,{dir:"r",class:"flex flex-col pb-3",get children(){return[(()=>{var he=TT(),G=he.firstChild,Q=G.nextSibling,ue=Q.nextSibling;return G.$$click=()=>E(1),D(G,C(Ae.Arrow,{class:"pointer-events-none size-4"})),D(Q,()=>Ha(xe.lang,U())),ue.$$click=()=>E(-1),D(ue,C(Ae.Arrow,{class:"pointer-events-none size-4 rotate-180"})),fe(we=>{var $e=!$(),Me=J("center size-8 rounded-md",!$()&&"cursor-not-allowed opacity-30"),ut=!k(),St=J("center size-8 rounded-md",!k()&&"cursor-not-allowed opacity-30");return $e!==we.e&&(G.disabled=we.e=$e),Me!==we.t&&ye(G,we.t=Me),ut!==we.a&&(ue.disabled=we.a=ut),St!==we.o&&ye(ue,we.o=St),we},{e:void 0,t:void 0,a:void 0,o:void 0}),he})(),(()=>
11{var he=OT(),G=he.firstChild;he.addEventListener("scroll",R);var Q=o;return typeof Q=="function"?Be(Q,he):o=he,D(G,C(ke,{get each(){return v()},children:ue=>(()=>{var we=hc();return D(we,ue),we})()})),D(he,C(ke,{get each(){return x()},children:(ue,we)=>(()=>{var $e=MT();return D($e,C(ae,{get when(){return we()>0},get children(){var Me=$T();return D(Me,()=>Ha(xe.lang,ue)),Me}}),null),D($e,C(mf,{wide:!0,reverseWeeks:!0,viewMonth:ue,get range(){return p()},get minDate(){return t.minDate},get maxDate(){return t.maxDate},get weekStart(){return m()},todayStart:w,onPick:ie,onHover:u}),null),$e})()}),null),he})()]}})}}),null),F}})}})]}cr(["click"]);function qT(t){const e=m3(()=>t.each),n=zi((r,i)=>t.component({get data(){return r()},get active(){return i()}}),{limit:t.limit||100});return C(ke,{get each(){return e()},get fallback(){return t.fallback},children:r=>n(r)})}const Wa=100,jT=t=>new Promise(e=>setTimeout(e,t));function HT(t){const e=t.initial?[...t.initial]:[];e.length>Wa&&e.splice(0,e.length-Wa);let n=!1,r=!1,i=0;const s=()=>typeof t.throttleMs=="function"?t.throttleMs({bufferSize:e.length}):t.throttleMs;function o(){return te(this,null,function*(){if(n||r)return;n=!0;const a=++i;try{for(;i===a&&!r&&e.length>0;){const c=e.shift(),l=performance.now();if(yield t.onConsume(c),i!==a||r)return;const u=performance.now()-l,f=s();if(f===!1)continue;const d=Math.max(0,f-u);if(d>0&&(yield jT(d)),i!==a||r)return}}finally{i===a&&(n=!1,!r&&e.length>0&&o())}})}return{enqueue(a){Array.isArray(a)?e.push(...a):e.push(a),e.length>Wa&&e.splice(0,e.length-Wa),o()},clear(){e.length=0,i++,n=!1},filter(a){let c=0;for(let l=0;l<e.length;l++)a(e[l])&&(e[c++]=e[l]);e.length=c},pause(){r=!0},resume(){r=!1,o()},get size(){return e.length}}}var WT=N("<div style=position:relative;overflow:hidden;overflow-anchor:auto;transform-origin:top><div style=display:flex;flex-direction:column-reverse;will-change:transform>");const VT=500,XT="cubic-bezier(0, 0, 0.58, 1)";function KT(t,e=2250,n=750,r=.15){if(t===0)return!1;const i=n+(e-n)*Math.exp(-r*t);return Math.round(i)}function GT(){return typeof window!="undefined"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}function YT(t){var A;const e=GT(),n=Dn(),[r,i]=B(typeof document=="undefined"||document.visibilityState==="visible");typeof document!="undefined"&&$r(document,"visibilitychange",()=>{i(document.visibilityState==="visible")});const[s,o]=B(!1),a=zi(T=>Y(()=>t.children(()=>T().item,()=>T().index)),{limit:16}),c=()=>t.capacity,l=(A=t.initial)!=null?A:[],u=l.slice(0,c()).map((T,I)=>({item:T,index:I})),f=l.slice(c());let d=u.length;const[h,g]=B();let p;const[m,y]=B(u),v=M(()=>n()&&r()&&!s()),b=HT({initial:f,throttleMs:({bufferSize:T})=>KT(T),onConsume(T){return te(this,null,function*(){const I={item:T,index:d++},L=yield Wn(h),R=L.offsetHeight;if(y(k=>[...k,I]),yield Promise.resolve(),!e){const k=L.offsetHeight-R;k>0&&(yield L.animate([{transform:`translateY(-${k}px)`},{transform:"translateY(0)"}],{duration:VT,easing:XT,fill:"none"}).finished)}y(k=>k.length>c()?k.slice(1):k)})}});pe(qn(()=>t.next,T=>{(Array.isArray(T)||T)&&b.enqueue(T)})),ne(()=>{v()?b.resume():b.pause()}),K(()=>{b.clear()});const w=Le(()=>C(ke,{get each(){return m()},get fallback(){return t.fallback},children:T=>a(T)})),_=ur(w),S=Ko(_),x=M(T=>T?!0:m().length>=c()),E=M(()=>x()&&m().length<c());return(()=>{var T=WT(),I=T.firstChild;T.addEventListener("mouseleave",()=>o(!1)),T.addEventListener("mouseenter",()=>o(!0));var L=p;return typeof L=="function"?Be(L,T):p=T,Be(g,I),D(I,w),fe(R=>{var j;var k=t.class,$=Math.min(m().length,c())*((j=S.height)!=null?j:0)+"px",U=E()?"height 0.5s ease-out":"none";return k!==R.e&&ye(T,R.e=k),$!==R.t&&Ut(T,"height",R.t=$),U!==R.a&&Ut(T,"transition",R.a=U),R},{e:void 0,t:void 0,a:void 0}),T})()}function JT(t,e,n){const r=new Array(t);return new Proxy(r,{get(i,s,o){if(typeof s=="string"){const a=s.charCodeAt(0);if(a>=48&&a<=57){const c=+s;if(Number.isInteger(c)&&c>=0&&c<t){let l=i[c];if(!l){const u=e[c*2];l=i[c]={index:c,key:n(c),start:u,size:e[c*2+1],end:u+e[c*2+1],lane:0}}return l}}if(s==="length")return t}return Reflect.get(i,s,o)}})}function Ji(t,e,n){var a;let r=(a=n.initialDeps)!=null?a:[],i,s=!0;function o(){const c=t();return(c.length!==r.length||c.some((u,f)=>r[f]!==u))&&(r=c,i=e(...c),n!=null&&n.onChange&&!(s&&n.skipInitialOnChange)&&n.onChange(i),s=!1),i}return o.updateDeps=c=>{r=c},o}function Dp(t,e){if(t===void 0)throw new Error("Unexpected undefined");return t}const ZT=(t,e)=>Math.abs(t-e)<1.01,QT=(t,e,n)=>{let r;return function(...i){t.clearTimeout(r),r=t.setTimeout(()=>e.apply(this,i),n)}};let ho;const yf=()=>{if(ho!==void 0)return ho;if(typeof navigator=="undefined")return ho=!1;if(/iP(hone|od|ad)/.test(navigator.userAgent))return ho=!0;const t=navigator.maxTouchPoints;return ho=navigator.platform==="MacIntel"&&t!==void 0&&t>0},Ip=t=>{const{offsetWidth:e,offsetHeight:n}=t;return{width:e,height:n}},eO=t=>t,tO=t=>{const e=Math.max(t.startIndex-t.overscan,0),r=Math.min(t.endIndex+t.overscan,t.count-1)-e+1,i=new Array(r);for(let s=0;s<r;s++)i[s]=e+s;return i},nO=(t,e)=>{const n=t.scrollElement;if(!n)return;const r=t.targetWindow;if(!r)return;const i=o=>{const{width:a,height:c}=o;e({width:Math.round(a),height:Math.round(c)})};if(i(Ip(n)),!r.ResizeObserver)return()=>{};const s=new r.ResizeObserver(o=>{const a=()=>{const c=o[0];if(c!=null&&c.borderBoxSize){const l=c.borderBoxSize[0];if(l){i({width:l.inlineSize,height:l.blockSize});return}}i(Ip(n))};t.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()});return s.observe(n,{box:"border-box"}),()=>{s.unobserve(n)}},Vc={passive:!0},rO=typeof window=="undefined"?!0:"onscrollend"in window,iO=(t,e,n)=>{const r=t.scrollElement;if(!r)return;const i=t.targetWindow;if(!i)return;
11const s=t.options.useScrollendEvent&&rO;let o=0;const a=s?null:QT(i,()=>e(o,!1),t.options.isScrollingResetDelay),c=f=>()=>{o=n(r),a==null||a(),e(o,f)},l=c(!0),u=c(!1);return r.addEventListener("scroll",l,Vc),s&&r.addEventListener("scrollend",u,Vc),()=>{r.removeEventListener("scroll",l),s&&r.removeEventListener("scrollend",u)}},sO=(t,e)=>iO(t,e,n=>{const{horizontal:r,isRtl:i}=t.options;return r?n.scrollLeft*(i&&-1||1):n.scrollTop}),oO=(t,e,n)=>{var r;if(n.options.useCachedMeasurements){const i=n.indexFromElement(t),s=n.options.getItemKey(i);return(r=n.itemSizeCache.get(s))!=null?r:n.options.estimateSize(i)}if(e!=null&&e.borderBoxSize){const i=e.borderBoxSize[0];if(i)return Math.round(i[n.options.horizontal?"inlineSize":"blockSize"])}if(!e){const i=n.indexFromElement(t),s=n.options.getItemKey(i),o=n.itemSizeCache.get(s);if(o!==void 0)return o}return t[n.options.horizontal?"offsetWidth":"offsetHeight"]},aO=(t,{adjustments:e=0,behavior:n},r)=>{var i,s;(s=(i=r.scrollElement)==null?void 0:i.scrollTo)==null||s.call(i,{[r.options.horizontal?"left":"top"]:t+e,behavior:n})},cO=aO;class lO{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this._flatMeasurements=null,this.itemSizeCache=new Map,this.itemSizeCacheVersion=0,this.laneAssignments=new Map,this.pendingMin=null,this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.pendingScrollAnchor=null,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._intendedScrollOffset=null,this.elementsCache=new Map,this.now=()=>{var s;var n,r,i;return(s=(i=(r=(n=this.targetWindow)==null?void 0:n.performance)==null?void 0:r.now)==null?void 0:i.call(r))!=null?s:Date.now()},this.observer=(()=>{let n=null;const r=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(i=>{i.forEach(s=>{const o=()=>{const a=s.target,c=this.indexFromElement(a);if(!a.isConnected){this.observer.unobserve(a);for(const[l,u]of this.elementsCache)if(u===a){this.elementsCache.delete(l);break}return}this.shouldMeasureDuringScroll(c)&&this.resizeItem(c,this.options.measureElement(a,s,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()})}));return{disconnect:()=>{var i;(i=r())==null||i.disconnect(),n=null},observe:i=>{var s;return(s=r())==null?void 0:s.observe(i,{box:"border-box"})},unobserve:i=>{var s;return(s=r())==null?void 0:s.unobserve(i)}}})(),this.range=null,this.setOptions=n=>{var d,h,g;var r,i;const s={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:eO,rangeExtractor:tO,onChange:()=>{},measureElement:oO,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,anchorTo:"start",followOnAppend:!1,scrollEndThreshold:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:"estimate",useCachedMeasurements:!1};for(const p in n){const m=n[p];m!==void 0&&(s[p]=m)}const o=this.options;let a=null,c=null,l=!1;if(o!==void 0&&o.enabled&&s.enabled&&s.anchorTo==="end"&&this.scrollElement!==null){const p=o.count,m=s.count,y=this.getMeasurements(),v=p>0?(d=(r=y[0])==null?void 0:r.key)!=null?d:o.getItemKey(0):null,b=p>0?(h=(i=y[p-1])==null?void 0:i.key)!=null?h:o.getItemKey(p-1):null;if(m!==p||p>0&&m>0&&(s.getItemKey(0)!==v||s.getItemKey(m-1)!==b)){l=!0;const S=p>0?(g=this.getVirtualItemForOffset(this.getScrollOffset()))!=null?g:y[0]:null;S&&(a=[S.key,this.getScrollOffset()-S.start]);const x=s.followOnAppend===!0?"auto":s.followOnAppend||null;x&&m>p&&this.isAtEnd(o.scrollEndThreshold)&&(p===0||s.getItemKey(m-1)!==b)&&(c=x)}}this.options=s,l&&(this.pendingMin=0,this.itemSizeCacheVersion++);let u=!1,f=0;if(a&&this.scrollOffset!==null){const[p,m]=a,y=this.getMeasurements(),{count:v,getItemKey:b}=this.options;let w=0;for(;w<v&&b(w)!==p;)w++;
11if(w<v){const _=y[w];if(_){const S=_.start+m;S!==this.scrollOffset&&(f=S-this.scrollOffset,this.scrollOffset=S,u=!0)}}}(u||c)&&(this.pendingScrollAnchor=[u?a[0]:null,u?a[1]:0,c,f])},this.notify=n=>{var r,i;(i=(r=this.options).onChange)==null||i.call(r,this,n)},this.maybeNotify=Ji(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var s;var n;const r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}if(this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(s=(n=this.scrollElement)==null?void 0:n.window)!=null?s:null,this.elementsCache.forEach(o=>{this.observer.observe(o)}),this.unsubs.push(this.options.observeElementRect(this,o=>{this.scrollRect=o,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(o,a)=>{this._intendedScrollOffset!==null&&Math.abs(o-this._intendedScrollOffset)<1.5&&(o=this._intendedScrollOffset),this._intendedScrollOffset=null,this.scrollAdjustments=0,this.scrollDirection=a?this.getScrollOffset()<o?"forward":"backward":null,this.scrollOffset=o,this.isScrolling=a,this._flushIosDeferredIfReady(),this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),"addEventListener"in this.scrollElement){const o=this.scrollElement,a=()=>{this._iosTouching=!0,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)},c=()=>{this._iosTouching=!1,!(!yf()||this.targetWindow==null)&&(this._iosJustTouchEnded=!0,this._iosTouchEndTimerId=this.targetWindow.setTimeout(()=>{this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._flushIosDeferredIfReady()},150))};o.addEventListener("touchstart",a,Vc),o.addEventListener("touchend",c,Vc),this.unsubs.push(()=>{o.removeEventListener("touchstart",a),o.removeEventListener("touchend",c),this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)})}this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}const i=this.pendingScrollAnchor;if(this.pendingScrollAnchor=null,i&&this.scrollElement&&this.options.enabled){const[o,a,c,l]=i;o!==null&&!c&&(yf()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?l!==0&&(this._iosDeferredAdjustment+=l):this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})),c&&this.scrollToEnd({behavior:c})}},this._flushIosDeferredIfReady=()=>{if(this._iosDeferredAdjustment===0||this.isScrolling||this._iosTouching||this._iosJustTouchEnded)return;const n=this.getScrollOffset(),r=this.getMaxScrollOffset();if(n<0||n>r)return;const i=this._iosDeferredAdjustment;this._iosDeferredAdjustment=0,this._scrollToOffset(n,{adjustments:this.scrollAdjustments+=i,behavior:void 0})},this.rafId=null,this.getSize=()=>{var n;return this.options.enabled?(this.scrollRect=(n=this.scrollRect)!=null?n:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var n;return this.options.enabled?(this.scrollOffset=(n=this.scrollOffset)!=null?n:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(n,r)=>{const i=new Map,s=new Map;for(let o=r-1;o>=0;o--){const a=n[o];if(i.has(a.lane))continue;const c=s.get(a.lane);if(c==null||a.end>c.end?s.set(a.lane,a):a.end<c.end&&i.set(a.lane,!0),i.size===this.options.lanes)break}return s.size===this.options.lanes?Array.from(s.values()).sort((o,a)=>o.end===a.end?o.index-a.index:o.end-a.end)[0]:void 0},this.getMeasurementOptions=Ji(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode],(n,r,i,s,o,a,c)=>(this.prevLanes!==void 0&&this.prevLanes!==a&&(this.lanesChangedFlag=!0),this.prevLanes=a,this.pendingMin=null,{count:n,paddingStart:r,scrollMargin:i,getItemKey:s,enabled:o,lanes:a,laneAssignmentMode:c}),{key:!1}),this.getMeasurements=Ji(()=>[this.getMeasurementOptions(),this.itemSizeCacheVersion],({count:n,paddingStart:r,scrollMargin:i,getItemKey:s,enabled:o,lanes:a,laneAssignmentMode:c},l)=>{var g;const u=this.itemSizeCache;if(!o)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>n)for(const p of this.laneAssignments.keys())p>=n&&this.laneAssignments.delete(p);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMin=null),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(p=>{this.itemSizeCache.set(p.key,p.size)}));const f=this.lanesSettling?0:(g=this.pendingMin)!=null?g:0;if(this.pendingMin=null,this.lanesSettling&&this.measurementsCache.length===n&&(this.lanesSettling=!1),a===1){const p=this.options.gap,m=n*2;let y=this._flatMeasurements;if(!y||y.length<m){const w=new Float64Array(m);y&&f>0&&w.set(y.subarray(0,f*2)),y=w,this._flatMeasurements=y}let v;if(f===0)v=r+i;else{const w=f-1;v=y[w*2]+y[w*2+1]+p}for(let w=f;w<n;w++){const _=s(w),S=u.get(_),x=typeof S=="number"?S:this.options.estimateSize(w);y[w*2]=v,y[w*2+1]=x,v+=x+p}const b=JT(n,y,s);return this.measurementsCache=b,b}const d=this.measurementsCache.slice(0,f),h=new Array(a).fill(void 0);for(let p=0;p<f;p++){const m=d[p];m&&(h[m.lane]=p)}for(let p=f;p<n;p++){const m=s(p),y=this.laneAssignments.get(p);let v,b;const w=c==="estimate"||u.has(m);if(y!==void 0&&this.options.lanes>1){v=y;const E=h[v],A=E!==void 0?d[E]:void 0;b=A?A.end+this.options.gap:r+i}else{const E=this.options.lanes===1?d[p-1]:this.getFurthestMeasurement(d,p);b=E?E.end+this.options.gap:r+i,v=E?E.lane:p%this.options.lanes,this.options.lanes>1&&w&&this.laneAssignments.set(p,v)}const _=u.get(m),S=typeof _=="number"?_:this.options.estimateSize(p),x=b+S;d[p]={index:p,start:b,size:S,end:x,key:m,lane:v},h[v]=p}return this.measurementsCache=d,d},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Ji(()=>
11[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,r,i,s)=>this.range=n.length>0&&r>0?uO({measurements:n,outerSize:r,scrollOffset:i,lanes:s,flat:s===1&&this._flatMeasurements!=null?this._flatMeasurements:null}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Ji(()=>{let n=null,r=null;const i=this.calculateRange();return i&&(n=i.startIndex,r=i.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,r]},(n,r,i,s,o)=>s===null||o===null?[]:n({startIndex:s,endIndex:o,overscan:r,count:i}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=n=>{const r=this.options.indexAttribute,i=n.getAttribute(r);return i?parseInt(i,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=n=>{var s;var r;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const i=(s=this.scrollState.index)!=null?s:(r=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:r.index;if(i!==void 0&&this.range){const o=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),a=Math.max(0,i-o),c=Math.min(this.options.count-1,i+o);return n>=a&&n<=c}return!0},this.measureElement=n=>{if(!n){this.elementsCache.forEach((o,a)=>{o.isConnected||(this.observer.unobserve(o),this.elementsCache.delete(a))});return}const r=this.indexFromElement(n),i=this.options.getItemKey(r),s=this.elementsCache.get(i);s!==n&&(s&&this.observer.unobserve(s),this.observer.observe(n),this.elementsCache.set(i,n)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(r)&&this.resizeItem(r,this.options.measureElement(n,void 0,this))},this.resizeItem=(n,r)=>{var d,h;var i,s;if(n<0||n>=this.options.count)return;let o,a,c;const l=this._flatMeasurements;if(this.options.lanes===1&&l!==null)c=this.options.getItemKey(n),a=l[n*2],o=l[n*2+1];else{const g=this.measurementsCache[n];if(!g)return;c=g.key,a=g.start,o=g.size}const u=(d=this.itemSizeCache.get(c))!=null?d:o,f=r-u;if(f!==0){const g=this.options.anchorTo==="end"&&((i=this.scrollState)==null?void 0:i.behavior)!=="smooth"&&this.getVirtualDistanceFromEnd()<=this.options.scrollEndThreshold,p=g?this.getTotalSize():0,m=((s=this.scrollState)==null?void 0:s.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange((h=this.measurementsCache[n])!=null?h:{index:n,key:c,start:a,size:o,end:a+o,lane:0},f,this):a<this.getScrollOffset()+this.scrollAdjustments&&this.scrollDirection!=="backward");(this.pendingMin===null||n<this.pendingMin)&&(this.pendingMin=n),this.itemSizeCache.set(c,r),this.itemSizeCacheVersion++,g?this.applyScrollAdjustment(this.getTotalSize()-p):m&&this.applyScrollAdjustment(f),this.notify(!1)}},this.getVirtualItems=Ji(()=>
11[this.getVirtualIndexes(),this.getMeasurements()],(n,r)=>{const i=[];for(let s=0,o=n.length;s<o;s++){const a=n[s],c=r[a];i.push(c)}return i},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const r=this.getMeasurements();if(r.length===0)return;const i=this._flatMeasurements,s=this.options.lanes===1&&i!=null,o=fb(0,r.length-1,s?a=>i[a*2]:a=>Dp(r[a]).start,n);return Dp(r[o])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const n=this.scrollElement.document.documentElement;return this.options.horizontal?n.scrollWidth-this.scrollElement.innerWidth:n.scrollHeight-this.scrollElement.innerHeight}},this.getVirtualDistanceFromEnd=()=>Math.max(this.getTotalSize()-this.getSize()-this.getScrollOffset(),0),this.getDistanceFromEnd=()=>Math.max(this.getMaxScrollOffset()-this.getScrollOffset(),0),this.isAtEnd=(n=this.options.scrollEndThreshold)=>this.getDistanceFromEnd()<=n,this.getOffsetForAlignment=(n,r,i=0)=>{if(!this.scrollElement)return 0;const s=this.getSize(),o=this.getScrollOffset();r==="auto"&&(r=n>=o+s?"end":"start"),r==="center"?n+=(i-s)/2:r==="end"&&(n-=s);const a=this.getMaxScrollOffset();return Math.max(Math.min(a,n),0)},this.getOffsetForIndex=(n,r="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const i=this.getSize(),s=this.getScrollOffset(),o=this.measurementsCache[n];if(!o)return;if(r==="auto")if(o.end>=s+i-this.options.scrollPaddingEnd)r="end";else if(o.start<=s+this.options.scrollPaddingStart)r="start";else return[s,r];if(r==="end"&&n===this.options.count-1)return[this.getMaxScrollOffset(),r];const a=r==="end"?o.end+this.options.scrollPaddingEnd:o.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(a,r,o.size),r]},this.scrollToOffset=(n,{align:r="start",behavior:i="auto"}={})=>{const s=this.getOffsetForAlignment(n,r),o=this.now();this.scrollState={index:null,align:r,behavior:i,startedAt:o,lastTargetOffset:s,stableFrames:0},this._scrollToOffset(s,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollToIndex=(n,{align:r="auto",behavior:i="auto"}={})=>{n=Math.max(0,Math.min(n,this.options.count-1));const s=this.getOffsetForIndex(n,r);if(!s)return;const[o,a]=s,c=this.now();this.scrollState={index:n,align:a,behavior:i,startedAt:c,lastTargetOffset:o,stableFrames:0},this._scrollToOffset(o,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollBy=(n,{behavior:r="auto"}={})=>{const i=this.getScrollOffset()+n,s=this.now();this.scrollState={index:null,align:"start",behavior:r,startedAt:s,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:r}),this.scheduleScrollReconcile()},this.scrollToEnd=({behavior:n="auto"}={})=>{if(this.options.count>0){this.scrollToIndex(this.options.count-1,{align:"end",behavior:n});return}this.scrollToOffset(Math.max(this.getTotalSize()-this.getSize(),0),{behavior:n})},this.getTotalSize=()=>{var s;var n;const r=this.getMeasurements();let i;if(r.length===0)i=this.options.paddingStart;else if(this.options.lanes===1){const o=r.length-1,a=this._flatMeasurements;a!=null?i=a[o*2]+a[o*2+1]:i=(s=(n=r[o])==null?void 0:n.end)!=null?s:0}else{const o=Array(this.options.lanes).fill(null);let a=r.length-1;for(;a>=0&&o.some(c=>c===null);){const c=r[a];o[c.lane]===null&&(o[c.lane]=c.end),a--}i=Math.max(...o.filter(c=>c!==null))}return Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this.takeSnapshot=()=>{const n=[];if(this.itemSizeCache.size===0)return n;const r=this.getMeasurements();for(const i of r)i&&this.itemSizeCache.has(i.key)&&n.push({index:i.index,key:i.key,start:i.start,size:i.size,end:i.end,lane:i.lane});return n},this._scrollToOffset=(n,{adjustments:r,behavior:i})=>{this._intendedScrollOffset=n+(r!=null?r:0),this.options.scrollToFn(n,{behavior:i,adjustments:r},this)},this.measure=()=>{this.pendingMin=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),this.itemSizeCacheVersion++,this.notify(!1)},this.setOptions(e)}
11applyScrollAdjustment(e,n){e!==0&&(yf()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?this._iosDeferredAdjustment+=e:this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=e,behavior:n}))}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const r=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,i=r?r[0]:this.scrollState.lastTargetOffset,s=1,o=i!==this.scrollState.lastTargetOffset;if(!o&&ZT(i,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=s){this.getScrollOffset()!==i&&this._scrollToOffset(i,{adjustments:void 0,behavior:"auto"}),this.scrollState=null;return}}else if(this.scrollState.stableFrames=0,o){const a=this.getSize()||600,c=Math.abs(i-this.getScrollOffset()),l=this.scrollState.behavior==="smooth"&&c>a;this.scrollState.lastTargetOffset=i,l||(this.scrollState.behavior="auto"),this._scrollToOffset(i,{adjustments:void 0,behavior:l?"smooth":"auto"})}this.scheduleScrollReconcile()}}const fb=(t,e,n,r)=>{for(;t<=e;){const i=(t+e)/2|0,s=n(i);if(s<r)t=i+1;else if(s>r)e=i-1;else return i}return t>0?t-1:0};function uO({measurements:t,outerSize:e,scrollOffset:n,lanes:r,flat:i}){const s=t.length-1,o=i?u=>i[u*2]:u=>t[u].start,a=i?u=>i[u*2]+i[u*2+1]:u=>t[u].end;if(t.length<=r)return{startIndex:0,endIndex:s};let c=fb(0,s,o,n),l=c;if(r===1)for(;l<s&&a(l)<n+e;)l++;else if(r>1){const u=Array(r).fill(0);for(;l<s&&u.some(d=>d<n+e);){const d=t[l];u[d.lane]=d.end,l++}const f=Array(r).fill(n+e);for(;c>=0&&f.some(d=>d>=n);){const d=t[c];f[d.lane]=d.start,c--}c=Math.max(0,c-c%r),l=Math.min(s,l+(r-1-l%r))}return{startIndex:c,endIndex:l}}var fO=N('<div class="h-44 py-2"><div class="bg-quarterary h-full">'),dO=N('<div class=relative style="background:linear-gradient(0deg, rgb(240, 240, 240) 25%, rgb(235, 69, 69) 25%, rgb(255, 255, 255) 50%) 0% 0% / 100% 30px">');function hO(t){let e;const[n,r]=_e(oe({estimateSize:()=>100,pool:100,overscan:10},t),["data","overscan","estimateSize","getComponent","pool","paddingStart","paddingEnd","windowScroll","bodyLock","children","ref","classitem","onChange","getItemKey"]),[i,s]=zt([]),[o,a]=B(0),c=p=>{p._willUpdate(),s(ia(p.getVirtualItems().filter(m=>m),{key:"key"})),a(p.getTotalSize())},l={count:n.data.length,overscan:n.overscan,estimateSize:n.estimateSize,getItemKey:n.getItemKey,getScrollElement(){return e},paddingStart:n.paddingStart,paddingEnd:n.paddingEnd,rangeExtractor:pO(n.onChange),observeElementOffset:sO,observeElementRect:nO,scrollToFn:cO,onChange:c},u=new lO(l);function f(p,m){const y=new Set(m.map(b=>b.id));return p.filter(b=>!y.has(b.id)).map(b=>b.id)}ne(p=>{const m=n.data;return Y(()=>{l.count===0&&(l.count=m.length),u.setOptions(l),m.length>p.length||f(p,m).forEach(y=>{u.itemSizeCache.delete(y)}),c(u)}),m},[]);const d=n.ref;d&&(d(u),K(()=>d()));const h=new Map;function g(p){const m=t.getComponent(p);let y=h.get(m);return y||(y=zi((v,b)=>{const w=()=>v()[0],_=C(db.Provider,{value:{resizeItem:E,get index(){return w().index}},get children(){return C(Xr,{get value(){return b()},get children(){return fO()}})}}),x=Le(()=>_).toArray()[0];ne(()=>{const A=w().index;u.itemSizeCache.has(A)||E()});function E(){x&&Y(()=>{u.resizeItem(w().index,x.getBoundingClientRect().height)})}return x.classList.add("absolute","left-0","w-full","top-0"),ne(()=>{x.style.transform=`translateY(${w().start}px)`}),_},{limit:n.pool}),h.set(m,y)),y}return C(Tr,oe(r,{get class(){return J("will-change-transform",t.class)},ref(p){var m=e;typeof m=="function"?m(p):e=p},get children(){var p=dO();return D(p,()=>n.children,null),D(p,C(ke,{each:i,children:m=>g(n.data[m.index])([m,n.data[m.index]])}),null),fe(m=>Ut(p,"height",`${o()}px`)),p}}))}const db=Ze({resizeItem(){},get index(){return 0}});function gO(){return Ie(db)}function pO(t){const e={start:0,end:-1,indexs:[]};return n=>{const r=Math.max(n.startIndex,0),i=Math.max(Math.min(n.endIndex,n.count-1),r);if(r<e.start||i>e.end||r===i){const s=Math.max(r-n.overscan,0),o=Math.max(Math.min(i+n.overscan,n.count-1),r),a=[];for(let c=s;c<=o;c++)a.push(c);e.start=s,e.end=o,e.indexs=a}return t&&t(n.startIndex,n.endIndex),e.indexs}}function mO(t){const e=Wi();function n(i,s){const[o,{remove:a}]=r(),c=t.lazy?!t.lazy(i):!1,[l,u]=B(Wo||c),f=Le(()=>t.children(()=>l()?i:void 0,s));if(!c){const d=ur(f);ne(()=>{const h=d();o(h,g=>{g.isIntersecting&&u(!0)}),K(()=>{a(h)})})}return f}const r=M(()=>{const i=e();if(i)return Rh({root:i instanceof Element?i:void 0,rootMargin:t.rootMargin})});return C(ae,{get when(){return e()},get children(){return C(ke,{get each(){return t.each},children:n})}})}var yO=N("<div>"),vO=N('<div class="col-span-full py-4 center">'),bO=N('<div class="col-span-full h-20 font-extrabold center">');function wO(t){const[,e]=_e(t,["resource","offset","key","children","ListRoot","init","empty","flat"]),[n,r]=B(),i=Ph({})(n);ne(a=>{const c=i();return!a&&c&&t.resource.next(),c});const s=Le(()=>C(ke,{get each(){return t.resource.list}
11,children:(a,c)=>C(ke,{get each(){return t.flat(a)},children:(l,u)=>t.children(l,()=>u()*(c()+1))})})),o=M(()=>{const a=t.resource.list[0];return a&&t.flat(a).length>0});return[(()=>{var a=yO();return ve(a,oe(e,{get class(){return J("grid",t.class)}}),!1,!0),D(a,C(ae,{get when(){return o()},get fallback(){return C(ae,{get when(){return t.resource.pending},get fallback(){return t.empty||C($s,{class:"col-span-full"})},get children(){return t.init}})},get children(){return C(ae,{get when(){return t.ListRoot},keyed:!0,fallback:s,children:c=>C(c,{children:s})})}})),a})(),C(ae,{get when(){return o()},get children(){return C(ae,{get when(){return t.resource.page<t.resource.total},get fallback(){var a;return(a=t.noMore)!=null?a:(()=>{var c=bO();return D(c,()=>yt("No More")),c})()},get children(){var a=vO();return Be(r,a),D(a,C(Ks,{})),a}})}})]}function _O(t,e,n){const[r,i]=ta(),[s,o]=B(1),[a,c]=B([]);if(n){const d=M(()=>JSON.stringify(n()));pe(h=>{const g=d();return h&&(c([]),o(1)),g})}const l=M(()=>{const d=a(),h=d[d.length-1];return h?e(h):1/0}),u=()=>{Y(r)||i(()=>{o(d=>{const h=l(),g=s()+1;return g<=h?g:d})})},[f]=t(s);return pe(()=>{const d=f(),h=Y(s);d&&c(g=>{const p=g.concat();return p[h-1]=d,p})}),{get list(){return a()},get page(){return s()},get total(){return l()},next:u,get pending(){return r()}}}function CO(t,e,n){let r,i;const s=typeof window!="undefined"&&"MutationObserver"in window;typeof e=="function"?(r={},i=e):(r=e,i=n);const o=s?new MutationObserver(i):void 0,a=(u,f)=>{var d;return o==null?void 0:o.observe(u,(d=Qt(f))!=null?d:r)},c=()=>{Ps(Qt(t)).forEach(u=>{u instanceof Node?a(u,r):a(u[0],u[1])})},l=()=>o==null?void 0:o.disconnect();return Un(c),K(l),[a,{start:c,stop:l,instance:o,isSupported:s}]}var xO=N('<div><div class="bg-layer6 rounded h-full">');function SO(t){const[,e]=_e(t,["class","scrollLeft","scrollWidth","clientWidth"]),n=M(()=>t.scrollWidth-t.clientWidth),r=()=>t.scrollLeft/n(),i=()=>t.clientWidth/t.scrollWidth,s=()=>{const o=i();return r()*(1-o)/o};return(()=>{var o=xO(),a=o.firstChild;return ve(o,oe(e,{get class(){return J("h-1 rounded-sm bg-layer4 overflow-hidden",t.class)}}),!1,!0),fe(c=>{var l=`translateX(${100*s()}%)`,u=`${100*i()}%`;return l!==c.e&&Ut(a,"transform",c.e=l),u!==c.t&&Ut(a,"width",c.t=u),c},{e:void 0,t:void 0}),o})()}function EO(t){const[e,n]=zt({isScrolling:!1,scrollLeft:0,scrollTop:0,scrollWidth:1,scrollHeight:1,clientWidth:0,clientHeight:0}),[r,{stop:i}]=CO([],{childList:!0},()=>{n({scrollWidth:t().scrollWidth,scrollHeight:t().scrollHeight,clientWidth:t().clientWidth,clientHeight:t().clientHeight})});Lh(t,()=>{n({scrollWidth:t().scrollWidth,scrollHeight:t().scrollHeight,clientWidth:t().clientWidth,clientHeight:t().clientHeight})}),ne(()=>{t()&&(r(t()),K(()=>{i()}))});let s;return je(t,"scroll",o=>{s!==null&&clearTimeout(s),s=setTimeout(()=>{n("isScrolling",!1)},60),n("isScrolling",!0),n("scrollLeft",o.target.scrollLeft),n("scrollTop",o.target.scrollTop)}),je(t,"scrollend",()=>{n("isScrolling",!1)}),e}const xl=SO;xl.createScrollProps=EO;var AO=N("<img>");const o0="_v=4",hb=`${o0},dpr=${globalThis.devicePixelRatio}`,Lp=new Set;function TO(t){const[e,n]=_e(t,["args","src","prefetch"]),r=()=>`${e.src}?${hb}${e.args?`,${e.args}`:""}`,[i,s]=B(Lp.has(r()));ne(()=>{if(!i()&&e.prefetch!==!1){let a=function(){s(!0)};OO(r()).then(()=>{Lp.add(r()),a()},a)}});const o=()=>i()?r():`${e.src}?${o0},width=100,blur=50`;return(()=>{var a=AO();return ve(a,oe(n,{get src(){return o()}}),!1,!1),a})()}function OO(t){return new Promise((e,n)=>{const r=new Image;r.onload=()=>e(t),r.onerror=()=>n(new Error("Image load error!")),r.src=t})}function kO(t){let{PI:e,min:n,max:r,cos:i,round:s}=Math,o=t[0]|t[1]<<8|t[2]<<16,a=t[3]|t[4]<<8,c=(o&63)/63,l=(o>>6&63)/31.5-1,u=(o>>12&63)/31.5-1,f=(o>>18&31)/31,d=o>>23,h=(a>>3&63)/63,g=(a>>9&63)/63,p=a>>15,m=r(3,p?d?5:7:a&7),y=r(3,p?a&7:d?5:7),v=d?(t[5]&15)/15:1,b=(t[5]>>4)/15,w=d?6:5,_=0,S=(U,j,V)=>{let ie=[];for(let F=0;F<j;F++)for(let z=F?0:1;z*j<U*(j-F);z++)ie.push(((t[w+(_>>1)]>>((_++&1)<<2)&15)/7.5-1)*V);return ie},x=S(m,y,f),E=S(3,3,h*1.25),A=S(3,3,g*1.25),P=d&&S(5,5,b),T=RO(t),I=s(T>1?32:32*T),L=s(T>1?32/T:32),R=new Uint8Array(I*L*4),k=[],$=[];for(let U=0,j=0;U<L;U++)for(let V=0;V<I;V++,j+=4){let ie=c,F=l,z=u,ce=v;for(let G=0,Q=r(m,d?5:3);G<Q;G++)k[G]=i(e/I*(V+.5)*G);for(let G=0,Q=r(y,d?5:3);G<Q;G++)$[G]=i(e/L*(U+.5)*G);for(let G=0,Q=0;G<y;G++)for(let ue=G?0:1,we=$[G]*2;ue*y<m*(y-G);ue++,Q++)ie+=x[Q]*k[ue]*we;for(let G=0,Q=0;G<3;G++)for(let ue=G?0:1,we=$[G]*2;ue<3-G;ue++,Q++){let $e=k[ue]*we;F+=E[Q]*$e,z+=A[Q]*$e}if(d)for(let G=0,Q=0;G<5;G++)for(let ue=G?0:1,we=$[G]*2;ue<5-G;ue++,Q++)ce+=P[Q]*k[ue]*we;let le=ie-2/3*F,be=(3*ie-le+z)/2,he=be-z;R[j]=r(0,255*n(1,be)),R[j+1]=r(0,255*n(1,he)),R[j+2]=r(0,255*n(1,le)),R[j+3]=r(0,255*n(1,ce))}return{w:I,h:L,rgba:R}}function RO(t){let e=t[3],n=t[2]&128,r=t[4]&128,i=r?n?5:7:e&7,s=r?e&7:n?5:7;return i/s}var PO=N("<div><img><img aria-hidden>");const $p='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"/>',Mp="transition-opacity duration-300",DO=1e3,ri=new Map;function IO(t){const e=ri.get(t);if(e!==void 0)return ri.delete(t),ri.set(t,e),e;let n;try{const r=atob(t),i=new Uint8Array(r.length);for(let u=0;u<r.length;u++)i[u]=r.charCodeAt(u);const{w:s,h:o,rgba:a}=kO(i),c=document.createElement("canvas");c.width=s,c.height=o;const l=c.getContext("2d");if(!l)n=$p;else{const u=l.createImageData(s,o);u.data.set(a),l.putImageData(u,0,0),n=c.toDataURL(),c.width=0,c.height=0}}catch(r){n=$p}for(ri.set(t,n);ri.size>DO;){const r=ri.keys().next().value;if(r===void 0)break;ri.delete(r)}return n}function LO(t){const[e,n]=_e(t,["thumb","src","class","style","transparent","onError","onerror","ref"]),[r,i]=B(!1),s=M(()=>IO(e.thumb));let o;const a=()=>i(!0);ne(()=>{const l=e.src;i(!1),queueMicrotask(()=>
11{e.src===l&&o!=null&&o.complete&&o.naturalWidth>0&&i(!0)})});const c=l=>{var f;i(!1);const u=(f=e.onError)!=null?f:e.onerror;typeof u=="function"&&u(l)};return(()=>{var l=PO(),u=l.firstChild,f=u.nextSibling,d=qi(h=>o=h,e.ref);return typeof d=="function"&&Be(d,u),ve(u,oe(n,{get src(){return e.src},onLoad:a,onError:c,get class(){return J("absolute inset-0 z-10 size-full object-cover",Mp,!r()&&"opacity-0")}}),!1,!1),fe(h=>{var v;var g=J("isolate",!((v=e.class)!=null&&v.includes("absolute"))&&"relative",e.class),p=e.style,m=s(),y=J("absolute inset-0 size-full bg-layer5 object-cover",Mp,e.transparent&&r()&&"opacity-0");return g!==h.e&&ye(l,h.e=g),h.t=Bs(l,p,h.t),m!==h.a&&We(f,"src",h.a=m),y!==h.o&&ye(f,h.o=y),h},{e:void 0,t:void 0,a:void 0,o:void 0}),l})()}var $O=N("<button>"),MO=N('<button type=button><div class=checkbox-ico><svg width=18 height=18 viewBox="0 0 18 18"fill=none shape-rendering=geometricPrecision><path d="M7.77637 0.450195H10.2236C11.592 0.450195 12.592 0.450279 13.3799 0.514648C14.1622 0.5786 14.6969 0.703566 15.1426 0.930664C15.9721 1.35341 16.6466 2.02793 17.0693 2.85742C17.2965 3.30322 17.4214 3.83851 17.4854 4.62109C17.5497 5.40886 17.5498 6.4083 17.5498 7.77637V10.2236C17.5498 11.592 17.5497 12.592 17.4854 13.3799C17.4214 14.1622 17.2964 14.6969 17.0693 15.1426C16.6466 15.9721 15.9721 16.6466 15.1426 17.0693C14.6968 17.2965 14.1615 17.4214 13.3789 17.4854C12.5911 17.5497 11.5917 17.5498 10.2236 17.5498H7.77637C6.4083 17.5498 5.40886 17.5497 4.62109 17.4854C3.83851 17.4214 3.30322 17.2965 2.85742 17.0693C2.02793 16.6466 1.35341 15.9721 0.930664 15.1426C0.70352 14.6968 0.578588 14.1615 0.514648 13.3789C0.450319 12.5911 0.450195 11.5917 0.450195 10.2236V7.77637C0.450195 6.40801 0.450279 5.40796 0.514648 4.62012C0.5786 3.83779 0.703567 3.30313 0.930664 2.85742C1.35341 2.02793 2.02793 1.35341 2.85742 0.930664C3.30322 0.70352 3.83851 0.578588 4.62109 0.514648C5.40886 0.450319 6.4083 0.450195 7.77637 0.450195Z"fill=none stroke=rgb(var(--brand)) stroke-width=1.5></path><path fill-rule=evenodd clip-rule=evenodd d="M14.0382 6.8489L8.53208 12.5169C8.16569 12.8941 7.57165 12.8941 7.20526 12.5169L3.96191 9.1782C4.40027 8.64081 5.14907 7.94804 5.54815 7.60893L7.86867 9.94581C7.86867 9.94581 11.4664 6.12162 12.3331 5.22949C12.7841 5.63746 13.5819 6.31045 14.0382 6.8489Z"fill=rgb(var(--brand))>');function NO(t){const e=oe({children:r=>String(r())},t),n=Ns(()=>t.value);return C(ke,{get each(){return t.options},children:r=>(()=>{var i=$O();return i.$$click=()=>{var s;return(s=t.onChange)==null?void 0:s.call(t,r)},D(i,()=>e.children(()=>r,n)),fe(s=>{var o=J("radio btn-like",t.class),a=t.disabled,c=n(r)||void 0;return o!==s.e&&ye(i,s.e=o),a!==s.t&&(i.disabled=s.t=a),c!==s.a&&We(i,"aria-selected",s.a=c),s},{e:void 0,t:void 0,a:void 0}),i})()})}function gb(t){return(()=>{var e=MO(),n=e.firstChild;return e.$$click=()=>{var r;return(r=t.onChange)==null?void 0:r.call(t,!t.value)},D(e,()=>t.children,null),fe(r=>{var i=J("checkbox btn-like",t.class),s=t.value||void 0;return i!==r.e&&ye(e,r.e=i),s!==r.t&&We(n,"aria-selected",r.t=s),r},{e:void 0,t:void 0}),e})()}cr(["click"]);var BO=N('<div class="flex flex-col">'),FO=N("<div>");function UO(t){const[e,n]=_e(t,["class","title","disabled","value","onChange","options","labelRender","labelFormat","children","layerRender","onClick"]),r=oe({children(g,p){return String(g())},labelFormat:t.children||(g=>String(g()))},e),[i,s]=B(!1),[o,a]=B([]),c=t.throttle||0;let l;!re.mobile&&c>0?(wh(g=>ky(rl,g,1e3)),l=(g=[])=>{const p=o();return o()?p:g}):l=(g=[])=>i()?g:o();const u=M(l);pe(()=>t.onChange(u())),pe(()=>a(t.value));const f=g=>o().indexOf(g)!==-1,d=zi(g=>{const p=M(()=>f(g()));return C(gb,{get class(){return J("p-3 rounded-xl mb-1",p()&&"bg-layer4")},get value(){return p()},onChange:m=>a(y=>{const v=g();return m?[...y,v]:y.filter(b=>b!==v)}),get children(){return r.children(g,f)}})});function h(){return(()=>{var g=BO();return D(g,C(ke,{get each(){return t.options},children:p=>d(p)})),g})()}return C(Gs,{get title(){return t.title||"Select"},class:"select-options",get visible(){return i()},setVisible:s,get layer(){return C(ae,{get when(){return t.layerRender},get fallback(){return h()},get children(){return t.layerRender(h())}})},get children(){return C(lt,oe(n,{get disabled(){return t.disabled},get class(){return J("select bg-input_bright",t.class)},get children(){return C(ae,{get when(){return!t.labelRender},get fallback(){return t.labelRender(()=>t.value)},get children(){return[De(()=>{var g;return((g=t.labelFormat)==null?void 0:g.call(t,()=>t.value))||String(t.value)}),(()=>{var g=FO();return D(g,C(Ae.Arrow,{class:"size-4 fill-secondary transition-all -rotate-90"})),fe(()=>ye(g,J("size-6 ms-auto bg-input_button center rounded-md"))),g})()]}})}}))}})}var zO=N("<div>");function qO(t){const[,e]=_e(t,["class","type","children"]),n=M(()=>
11{if(t.type){if(t.type==="warning")return"bg-warning/10";if(t.type==="error")return"bg-error/10"}return"bg-success/10"});return(()=>{var r=zO();return ve(r,oe(e,{get class(){return J("p-2 flex text-secondary rounded-xl",n(),t.class)}}),!1,!0),D(r,C(ra,{get children(){return[C(Bt,{get when(){return t.type==="info"},get children(){return C(Ae.Attention,{class:"flex-none -mt-0.5 size-6 mr-1.5 fill-success"})}}),C(Bt,{get when(){return t.type==="warning"},get children(){return C(Ae.Caution,{class:"flex-none -mt-0.5 size-6 mr-1.5 fill-warning"})}}),C(Bt,{get when(){return t.type==="error"},get children(){return C(Ae.Tipsicon,{class:"flex-none -mt-0.5 size-6 mr-1.5 fill-error"})}})]}}),null),D(r,()=>t.children,null),r})()}const a0=Ze(zt({title:"",isDialog:!1}));function jO(t){const e=zt(q({title:"",isDialog:!1,class:""},t.ctx));return C(a0.Provider,{value:e,get children(){return t.children}})}function HO(){return Ie(a0)[0]}function WO(t){const e=Ie(a0)[1],[n,r]=_e(t,["children","title"]),i=Le(()=>n.title);return e(oe(r,{title:i})),n.children}var VO=N('<div><div class=pagination><input size=2 class="pagination-current disabled:cursor-not-allowed disabled:opacity-50"><span class=text-tertiary></span><div class="p-2 min-w-8 h-8 justify-center-center flex items-center"><span translate=no>');function XO(t){const[e,n]=ta(),[r,i]=_e(t,["current","onChange","total","pageSize","loading"]),s=oe({current:1,total:0,pageSize:20,loading:!1},r),o=()=>Math.ceil(s.total/s.pageSize);function a(h){if(!Y(e)&&!Y(()=>s.loading)){const g=s.onChange;return n(()=>g(h))}}const c=[h=>h||Y(()=>s.current),h=>String(h).replace(/[^0-9]/g,""),h=>{const g=parseInt(String(h));return Math.min(Math.max(g,0),Y(o))},h=>d(Number(h))],l=h=>{const g=h.target.value,p=c.reduce((y,v)=>v(y),g);h.target.value=p,h.target.size=Math.max(2,h.target.value.length),Number(p)>0&&a(Number(p))},u=h=>{const g=h.target;g.value=g.value.replace(/[^0-9]/g,""),g.size=Math.max(2,g.value.length)},f=Ns(()=>s.current),d=h=>h.toString().padStart(2,"0");return C(Vn,{get when(){return o()>1},get children(){var h=VO(),g=h.firstChild,p=g.firstChild,m=p.nextSibling,y=m.nextSibling,v=y.firstChild;return ve(h,oe(i,{get"aria-busy"(){return s.loading},get class(){return J("flex items-center gap-x-[0.15rem] ",t.class,t.colorTheme==="darken"&&"pagination-darken")}}),!1,!0),D(h,C(lt,{class:"pagination-button pagination-prev",get disabled(){return s.loading||s.current===1},onClick:()=>a(r.current-1),get children(){return C(Ae.Arrow,{class:"pagination-arrow size-4 fill-secondary"})}}),g),p.addEventListener("change",l),p.$$input=u,D(m,()=>yt("of")),D(v,()=>d(o())),D(h,C(lt,{get disabled(){return s.loading||f(o())},class:"pagination-button pagination-next",onClick:()=>a(r.current+1),get children(){return C(Ae.Arrow,{class:"pagination-arrow size-4 fill-secondary"})}}),null),fe(()=>p.disabled=s.loading),fe(()=>p.value=d(s.current)),h}})}
11cr(["input"]);var KO=N("<div dir=ltr class=contents data-remote-ltr>");class Ad extends Error{constructor(e,n){super(`Remote module "${e}" load failed: ${n}`),this.name="RemoteModuleError"}}function GO(t){const e=Wr(n=>{if(YO.test(n)){const r=Fd(()=>te(null,null,function*(){var a;const s=yield Np(t),o=s[n];if(typeof o!="function")throw new Ad((a=t.moduleName)!=null?a:"unknown",`export "${n}" is ${typeof o} (available exports: ${Object.keys(s).join(", ")||"none"})`);return o()})),i=s=>(()=>{var o=KO();return D(o,C(r,s)),o})();return i.preload=r.preload,i}else return()=>te(null,null,function*(){var a;const i=yield Np(t),s=i[n];if(typeof s!="function")throw new Ad((a=t.moduleName)!=null?a:"unknown",`export "${n}" is ${typeof s} (available exports: ${Object.keys(i).join(", ")||"none"})`);return(yield s()).default})});return e.fn=Wr(n=>(...r)=>te(null,null,function*(){return(yield e(n))(...r)})),e}const YO=/^[A-Z]/;function Np(t){return te(this,null,function*(){var r;const e=yield t(),n=e==null?void 0:e.default;if(!n)throw new Ad((r=t.moduleName)!=null?r:"unknown",`default export is ${(e==null?void 0:e.default)===void 0?"undefined":e==null?void 0:e.default} (got keys: ${Object.keys(e!=null?e:{}).join(", ")||"none"})`);return n.init&&(yield n.init()),n})}function JO(t){return t}let Va;const li=Array(5).fill(void 0),Td=new Map,Bp=new Set;let Od=0;function ZO(){return te(this,null,function*(){if(!Va){Va=new Promise(e=>{const n=document.getElementById("css-main");n.sheet?e(n.sheet):n.onload=()=>{e(n.sheet)}});const t=yield Va;Td.set(t,Bp);for(let e=0;e<t.cssRules.length;e++){const n=t.cssRules[e];if(n instanceof CSSMediaRule){const r=n.conditionText;li.every(i=>!!i)||(r.indexOf("1536")!==-1?li[4]=n:r.indexOf("1280")!==-1?li[3]=n:r.indexOf("1024")!==-1?li[2]=n:r.indexOf("768")!==-1?li[1]=n:r.indexOf("640")!==-1&&(li[0]=n,Od=e-t.cssRules.length),Td.set(n,new Set))}else n instanceof CSSStyleRule&&Bp.add(n.selectorText)}}return Va})}function vf(t,e,n){if(e instanceof CSSStyleRule){const r=Td.get(t);(!r.has(e.selectorText)||e.selectorText.startsWith("html")||e.selectorText.startsWith(".app-root"))&&(t.insertRule(e.cssText,n),r.add(e.selectorText))}else t.insertRule(e.cssText,n)}function QO(t){return te(this,null,function*(){const e=yield ZO(),n=document.createElement("style");n.textContent=t,document.head.appendChild(n);for(const r of[...n.sheet.cssRules])if(r instanceof CSSMediaRule){const i=li.find(s=>(s==null?void 0:s.conditionText)===r.conditionText);if(i)for(const s of[...r.cssRules])vf(i,s);else vf(e,r,e.cssRules.length+Od)}else vf(e,r,e.cssRules.length+Od);document.head.removeChild(n)})}var ek=N('<button class="radio btn-like select-item">'),kd=N("<div>"),tk=N('<div class="sticky -top-2 z-30 -mt-2 w-full bg-layer0 py-3">'),nk=N('<div class="center h-48">');function rk(t){const[e,n]=_e(t,["class","disabled","value","onChange","title","options","labelRender","labelFormat","optionRender","children","layerRender","layerClass","search","equals"]),r=(c,l)=>t.equals?t.equals(c,l):c===l,i=oe({optionRender:(c,l)=>(()=>{var u=ek();return D(u,()=>i.children(c,l)),fe(()=>We(u,"aria-selected",l(c())||void 0)),u})(),children(c,l){return String(c())}},e);pe(c=>(c&&c.length>0&&c.findIndex(u=>r(u,Y(()=>t.value)))===-1&&t.onChange(t.options[0]),t.options));const[s,o]=B(!1,{equals(c,l){return l&&!!t.disabled}});function a(){const c=C(pb,{get options(){return t.options},get value(){return t.value},get children(){return i.children},get optionRender(){return i.optionRender},get onChange(){return t.onChange},get search(){return t.search},get equals(){return t.equals}});return C(ae,{get when(){return t.layerRender},fallback:c,get children(){return t.layerRender(c)}})}return pe(c=>((c===void 0||!r(c,t.value))&&o(!1),t.value)),C(Gs,{get title(){return t.title||"Select"},get class(){return J("select-options",t.search&&re.mobile&&"h-[90%]",t.layerClass)},get visible(){return s()},setVisible:o,get layer(){return a()},get children(){return C(lt,oe(n,{get class(){return J("select bg-input_bright",t.class)},get disabled(){return t.disabled},get children(){return C(ae,{get when(){return!t.labelRender},get fallback(){return t.labelRender(()=>t.value)},get children(){return[De(()=>{var c;return((c=t.labelFormat||t.children)==null?void 0:c(()=>t.value))||String(t.value)}),(()=>{var c=kd();return D(c,C(Ae.Arrow,{class:"size-4 -rotate-90 fill-secondary transition-all"})),fe(()=>ye(c,J("center ms-auto size-6 rounded-md bg-input_button"))),c})()]}})}}))}})}function pb(t){const[e,n]=B(t.value),r=(m,y)=>t.equals?t.equals(m,y):m===y,i=Ns(()=>t.value,r),s=al(),o=Dn(),a=()=>o()&&s()||null,c=oe({children:m=>String(m())},t);ne(()=>{const m=a();Y(()=>{m&&(m.key==="ArrowDown"?(n(u(1)),m.preventDefault()):m.key==="ArrowUp"?(n(u(-1)),m.preventDefault()):m.key==="Enter"&&(t.onChange(e()),m.preventDefault()))})}),pe(()=>n(t.value));const l=Wi();ne(()=>{const m=l(),y=t.options.findIndex(v=>r(v,t.value));if(m instanceof Element&&o()&&m&&m.scrollHeight>m.clientHeight){const v=m.scrollHeight/t.options.length,b=Math.max(0,v*(y+.5)-m.clientHeight/2);requestAnimationFrame(()=>{m.scrollTop=b})}});function u(m){const y=t.options.findIndex(b=>r(b,t.value)),v=t.options.length;return t.options[(y+m+v)%v]}const{optionRender:f=(m,y)=>(()=>{var v=kd();return D(v,()=>c.children(m,y)),v})()}=t,[d,h]=B("");pe(()=>{o()&&h("")});const g=Ih(Le(()=>C(ke,{get each(){return t.options},children:m=>C(qs,{ref:y=>{y&&je(y,"click",()=>t.onChange(m))},get children(){return f(()=>m,i)}})}))),p=M(()=>{const m=g.toArray(),y=t.search,v=d();if(y){const b=Y(()=>t.options);return m.filter((w,_)=>y(b[_],v))}else return m});return(()=>{var m=kd(),y=t.ref;return typeof y=="function"?Be(y,m):t.ref=m,D(m,C(ae,{get when(){return t.search},get children(){var v=tk();return D(v,C(s0,{get value(){return d()},onChange:h,get children(){return C(Ae.Search,{class:"order-first h-6 w-6 fill-tertiary"})}})),v}}),null),D(m,C(ae,{get when(){return p().length>0},get fallback(){return(()=>{var v=nk();return D(v,()=>
11yt("Stay tuned—something's coming!")),v})()},get children(){return p()}}),null),fe(()=>ye(m,t.class)),m})()}const c0=rk;c0.Option=Option;c0.SelectOptions=pb;var ik=N("<div>");function Do(t){const[e,n]=_e(t,["offset"]);let r;const i=Le(()=>n.children);return ne(s=>{const o=i();return e.offset?r.style.setProperty("--offsetTop",e.offset):o!==s&&setTimeout(()=>{r&&r.style.setProperty("--offsetTop",`${r.offsetTop}px`)},500),o}),C(qs,{ref(s){var o=r;typeof o=="function"?o(s):r=s},get children(){var s=ik();return ve(s,oe(n,{get class(){return J("sticky",n.class)},get children(){return i()}}),!1,!1),s}})}function l0(t){const[e,n]=B(),r=Ko(e);return{ref:i=>{n(i),K(()=>n(void 0))},size:r,wide:()=>{var i;return((i=r.width)!=null?i:0)>=t}}}var sk=N("<div>"),ok=N('<div class="text-lg pt-6 w-full font-extrabold h-14 flex items-center">'),ak=N('<div class="overflow-hidden bg-layer2 py-4 h-18">'),ck=N("<div class=-mt-6><div>"),lk=N('<div class="page-main flex flex-wrap gap-x-4"><div class="page-container w-96 min-h-96 flex-1 rounded-xl">');const uk={y:[16,0]},fk={duration:.3,easing:ua,persist:!0},dk=1e3;function hk(t){const e=l0(dk),n=oa(),r=M(()=>{const a=n();return a[a.length-1]}),i=Le(()=>C(ae,{get when(){return r()},keyed:!0,get children(){return C(Mi,{fallback:a=>(kn.emit("report_error",a),C($s,{type:"notfound",get children(){return String(a)}})),get children(){return C(jn,{get fallback(){return(()=>{var a=sk();return D(a,C(Ks,{})),fe(()=>ye(a,J("h-96 center rounded-xl bg-layer4",t.loadingClass))),a})()},get children(){return t.children}})}})}}));ne(a=>{const c=r();return a&&(window.scrollTo({top:0,behavior:"smooth"}),da(o,uk,fk)),c});const s=Tn();ne(()=>{const a=document.getElementById(s.pathname);window.requestAnimationFrame(()=>{a&&a.scrollIntoView({behavior:"smooth",inline:"center",block:"center"})})});let o;return C(ae,{get when(){return!e.wide()},get fallback(){return(()=>{var a=lk(),c=a.firstChild,l=e.ref;typeof l=="function"?Be(l,a):e.ref=a,D(a,C(ae,{get when(){return t.title},get children(){return C(Do,{offset:"var(--header)",class:"text-lg w-full font-extrabold leading-8 pb-4",get children(){return t.title}})}}),c),D(a,C(ae,{get when(){return t.menu},get children(){return C(Do,{get offset(){return t.title?"calc(var(--header) + 3rem)":"var(--header)"},class:"page-menu w-60 flex-none text-secondary self-start bg-layer4 p-2 rounded-xl",get children(){return C(ke,{get each(){return t.menu},children:f=>C(zc,{class:"h-10 rounded-lg flex items-center gap-1 px-4",get href(){return f.href||""},activeClass:"font-extrabold text-primary active-tab-group",inactiveClass:"btn-like",end:!0,replace:!0,get children(){return[De(()=>f.title),C(ae,{get when(){return f.badge},get children(){return C(Ed,{class:"ml-auto",get value(){return f.badge()}})}})]}})})}})}}),c);var u=o;return typeof u=="function"?Be(u,c):o=c,D(c,i),a})()},get children(){var a=ck(),c=a.firstChild,l=e.ref;typeof l=="function"?Be(l,a):e.ref=a,D(a,C(Do,{offset:"var(--header)",class:"z-40 bg-layer2",get children(){return[C(ae,{get when(){return De(()=>!!t.title)()&&!re.mobile},get children(){var f=ok();return D(f,()=>t.title),f}}),C(ae,{get when(){return t.menu},get children(){var f=ak();return D(f,C(Tr,{pan:"x",get class(){return J("hide-scroll flex-none whitespace-nowrap bg-layer4 p-1 light-layer2-tabs page-menu size-full flex flex-nowrap rounded-xl")},get children(){return C(ke,{get each(){return t.menu},children:d=>C(zc,{get id(){return d.href},class:"h-full rounded-lg inline-flex items-center gap-1 px-4",get href(){return d.href||""},activeClass:"active-tab-group",inactiveClass:"btn-like",end:!0,replace:!0,get children(){return[De(()=>d.title),C(ae,{get when(){return d.badge},get children(){return C(Ed,{class:"-translate-y-1",get value(){return d.badge()}})}})]}})})}})),f}})]}}),c);var u=o;return typeof u=="function"?Be(u,c):o=c,D(c,i),a}})}var mb=N("<div>"),gk=N("<div class=tabs-indicator>"),pk=N('<div class="flex bg-card items-center rounded-xl px-2">'),mk=N('<div class="page-main [--tab-sticky-top:calc(var(--header)+5.5rem)]"><div class="flex flex-wrap gap-4"><div class="page-container min-h-96 flex-1 rounded-xl"></div><div>'),yk=N('<h1 class="text-2xl font-extrabold leading-8 text-primary">'),vk=N('<div class="min-w-0 flex-1">'),bk=N('<div class="flex items-start gap-3">'),wk=N('<div class="flex flex-col gap-3">'),_k=N('<div><div class="h-24 animate-pulse rounded-xl bg-card"></div><div class="h-72 animate-pulse rounded-xl bg-card">'),Ck=N('<div class="flex items-start gap-3"><div class="flex min-w-0 flex-1 flex-col gap-3"><div class="h-28 animate-pulse rounded-xl bg-card"></div><div class="h-40 animate-pulse rounded-xl bg-card"></div><div class="h-72 animate-pulse rounded-xl bg-card">');const xk={y:[16,0]},Sk={duration:.3,easing:ua,persist:!0},yb=1e3,vb="w-1/3 min-w-60 max-w-96 self-start",Ek="w-[30%] min-w-60 max-w-96 self-start";function Ak(t){const e=l0(yb),n=oa(),r=M(()=>{const l=n();return l[l.length-1]}),i=Le(()=>C(ae,{get when(){return r()},keyed:!0,get children(){return C(jn,{get fallback(){return(()=>{var l=mb();return D(l,C(Ks,{})),fe(()=>ye(l,J("h-96 center rounded-xl bg-card",t.loadingClass))),l})()},get children(){return t.children}})}}));let s;ne(l=>{const u=r();return l&&s&&(window.scrollTo({top:0,behavior:"smooth"}),da(s,xk,Sk)),u});const o=Tn(),[a,c]=B({width:0,left:0});return ne(()=>{const l=o.pathname;e.size.width,window.requestAnimationFrame(()=>{const u=document.getElementById(l);u&&(c({width:u.clientWidth,left:u.offsetLeft}),u.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"}))})}),C(ae,{get when(){return re.mobile},get fallback(){return(()=>{var l=mk(),u=l.firstChild,f=u.firstChild,d=f.nextSibling,h=e.ref;return typeof h=="function"?Be(h,l):e.ref=l,D(l,C(Do,{offset:"var(--header)",class:"z-40 -mt-4 bg-page py-4",get children(){var g=pk();return D(g,C(Tr,{pan:"x",class:"hide-scroll relative flex flex-1 flex-nowrap whitespace-nowrap",get style(){return{"--tabs-width":`${a().width}px`,"--tabs-indicator-position":`${a().left}px`}},get children(){return[C(ke,{get each(){return t.menu},children:p=>C(zc,{get id(){return p.href},class:"inline-flex h-14 items-center gap-1 px-4 font-bold font-semibold",get href(){return p.href},activeClass:"text-primary font-extrabold",inactiveClass:"text-secondary hover:text-primary",end:!0,replace:!0,get children(){return p.title}})}),gk()]}})),g}}),u),Be(g=>{s=g,K(()=>{s===g&&(s=void 0)})},f),D(f,i),D(d,()=>t.aside),fe(g=>{var p=e.wide()?"":void 0,m=J("group/aside flex-none empty:hidden",e.wide()?J(Ek,"sticky top-[var(--tab-sticky-top)]"):"w-full");return p!==g.e&&We(d,"data-wide",g.e=p),m!==g.t&&ye(d,g.t=m),g},{e:void 0,t:void 0}),l})()},get children(){return C(t0,{get title(){return t.title},get children(){return i()}})}})}const bb=Ze();function Tk(t){const e=Ie(bb),n=Le(()=>t.children);return C(ae,{get when(){return e==null?void 0:e()},get fallback(){return n()},keyed:!0,children:r=>C(lr,{mount:r,get children(){return n()}})})}function Ok(t){const e=l0(yb),[n,r]=B();return(()=>{var i=wk(),s=e.ref;return typeof s=="function"?Be(s,i):e.ref=i,D(i,C(ae,{get when(){return!re.mobile},get children(){var o=yk();return D(o,()=>t.title),o}
11}),null),D(i,C(jn,{get fallback(){return C(kk,{get wide(){return e.wide()}})},get children(){var o=bk();return D(o,C(ae,{get when(){return e.wide()},get children(){var a=mb();return Be(c=>{r(c),K(()=>r(void 0))},a),fe(()=>ye(a,J("order-1 flex flex-none flex-col gap-3 empty:hidden",vb))),a}}),null),D(o,C(bb.Provider,{value:n,get children(){var a=vk();return D(a,()=>t.children),a}}),null),o}}),null),i})()}function kk(t){return(()=>{var e=Ck();return e.firstChild,D(e,C(ae,{get when(){return t.wide},get children(){var n=_k();return fe(()=>ye(n,J("flex flex-none flex-col gap-3",vb))),n}}),null),e})()}const Rk={equals:!1},Pk=Rk;var mr;class Dk{constructor(e=Map){ft(this,mr);Qe(this,mr,new e)}dirty(e){var n;(n=ee(this,mr).get(e))==null||n.$$()}dirtyAll(){for(const e of ee(this,mr).values())e.$$()}track(e){if(!ir())return;let n=ee(this,mr).get(e);if(n)n.n++;else{const[r,i]=B(void 0,Pk);ee(this,mr).set(e,n={$:r,$$:i,n:1})}K(()=>{--n.n===0&&queueMicrotask(()=>n.n===0&&ee(this,mr).delete(e))}),n.$()}}mr=new WeakMap;var ii=Symbol("track-keys"),Rt,am,Ik=(am=class extends Set{constructor(e){super();ft(this,Rt,new Dk);if(e)for(const n of e)super.add(n)}get size(){return ee(this,Rt).track(ii),super.size}has(e){return ee(this,Rt).track(e),super.has(e)}*keys(){for(const e of super.keys())ee(this,Rt).track(e),yield e;ee(this,Rt).track(ii)}values(){return this.keys()}*entries(){for(const e of super.keys())ee(this,Rt).track(e),yield[e,e];ee(this,Rt).track(ii)}[Symbol.iterator](){return this.values()}forEach(e){ee(this,Rt).track(ii),super.forEach(e)}add(e){return super.has(e)||(super.add(e),at(()=>{ee(this,Rt).dirty(e),ee(this,Rt).dirty(ii)})),this}delete(e){const n=super.delete(e);return n&&at(()=>{ee(this,Rt).dirty(e),ee(this,Rt).dirty(ii)}),n}clear(){super.size&&at(()=>{for(const e of super.keys())ee(this,Rt).dirty(e);super.clear(),ee(this,Rt).dirty(ii)})}},Rt=new WeakMap,am),Rd=N("<div>"),Lk=N('<div><div class="h-full rounded bg-alw_white">');const Pd=new Ik;function $k(t){const[e,n]=_e(t,["data","progressBar"]),[r,i]=B(!1),[s,o]=B({x:0,y:0}),[a,c]=B({left:0,top:0}),l=oe({progressBar:!1,data:[]},e);let u;const[f,d]=B([]);ne(()=>d(l.data||[]));const h=xl.createScrollProps(()=>u),g=E=>{i(!0),o({x:E.clientX,y:E.clientY}),c({left:u.scrollLeft,top:u.scrollTop}),E.preventDefault()},p=rl(E=>{if(!r())return;const A=E.clientX-s().x,P=E.clientY-s().y;u.scrollTo(a().left-A,a().top-P)},50),m=()=>i(!1);K(()=>{window.removeEventListener("mousemove",p),window.removeEventListener("mouseup",m)});const y=Wi(),[v,b]=B(Wo);Un(()=>{if(v())return;const E=y(),[A,{remove:P}]=Rh({root:E instanceof Element?E:void 0,rootMargin:"100%"});A(u,T=>{T.isIntersecting&&(b(!0),P(u))})});const w=M(E=>{if(Wo)return 1/0;const A=h.scrollWidth/f().length,P=Math.floor((Math.abs(h.scrollLeft)+h.clientWidth)/A)+2;return Number.isFinite(P)?Math.max(E,P):E},0),_=Le(()=>C(ke,{get each(){return f()},children:(E,A)=>{const P=M(()=>v()&&A()<=w()?E:void 0);return(()=>{var T=Rd();return D(T,()=>t.children(P,A)),T})()}})),S=Le(()=>(()=>{var E=Rd(),A=qi(P=>u=P,n.ref);return typeof A=="function"&&Be(A,E),ve(E,oe(n,{get onMouseDown(){return t.enableDrag?g:void 0},get onMouseMove(){return t.enableDrag?p:void 0},get onMouseLeave(){return t.enableDrag?()=>i(!1):void 0},get onMouseUp(){return t.enableDrag?()=>i(!1):void 0},get class(){return J("grid smooth-scroll smooth-list snap-x relative snap-mandatory grid-flow-col overflow-x-scroll overflow-y-hidden scroll-smooth hide-scroll",t.enableDrag?r()?"cursor-grabbing":"cursor-grab":"",t.class)}}),!1,!0),D(E,_),E})()),x=()=>{const E=h.scrollWidth-h.clientWidth,A=h.scrollLeft/E,P=h.clientWidth/h.scrollWidth;return{progress:A*(1-P)/P,barLengthRatio:P}};return Un(()=>{Pd.add(u),K(()=>{Pd.delete(u)})}),[De(S),C(Vn,{get when(){return l.progressBar},get children(){return C(Mk,oe(x))}})]}const Mk=t=>(()=>{var e=Lk(),n=e.firstChild;return fe(r=>{var i=J("m-auto mt-2 h-1 w-20 overflow-hidden rounded-sm bg-layer4"),s=`translateX(${100*t.progress}%)`,o=`${100*t.barLengthRatio}%`;return i!==r.e&&ye(e,r.e=i),s!==r.t&&Ut(n,"transform",r.t=s),o!==r.a&&Ut(n,"width",r.a=o),r},{e:void 0,t:void 0,a:void 0}),e})(),Nk=t=>{const[e,n]=B(null),r=oe({smoothListSelector:()=>{if(!e())return null;let h=null,g=1/0;return Pd.forEach(p=>{if(p===e())return;
11const m=Bk(e(),p);m.dy<g&&(g=m.dy,h=p)}),h}},t),[i,s]=_e(r,["smoothListSelector"]),o=M(()=>r.smoothListSelector()),a=xl.createScrollProps(()=>o()),c=M(()=>a.clientWidth),l=h=>({disabled:M(()=>h===-1?a.scrollLeft===0:a.scrollWidth-a.clientWidth-a.scrollLeft<=1),onClick:()=>{Y(()=>{var m;a.isScrolling||(m=o())==null||m.scrollTo({left:a.scrollLeft+h*c(),top:0,behavior:"smooth"})})}}),u=M(()=>l(-1)),f=M(()=>l(1)),d=Le(()=>r.children?r.children({leftButtonProps:de(q({},u()),{disabled:u().disabled()}),rightButtonProps:de(q({},f()),{disabled:f().disabled()})}):[C(lt,{get disabled(){return u().disabled()},get onClick(){return u().onClick},type:"second",class:"size-8 bg-layer5 !p-0 fill-primary",get children(){return C(Ae.Arrow,{class:"size-4"})}}),C(lt,{get disabled(){return f().disabled()},get onClick(){return f().onClick},type:"second",class:"size-8 bg-layer5 !p-0 fill-primary",get children(){return C(Ae.Arrow,{class:"size-4 rotate-180"})}})]);return(()=>{var h=Rd();return Be(n,h),ve(h,oe(s,{get class(){return J(s.class,"flex gap-x-1")}}),!1,!0),D(h,d),h})()},Bk=(t,e)=>{const n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=Math.max(0,Math.min(Math.abs(n.left-r.right),Math.abs(r.left-n.right))),s=Math.max(0,Math.min(Math.abs(n.top-r.bottom),Math.abs(r.top-n.bottom)));return{sqrt:Math.sqrt(i*i+s*s),dx:i,dy:s,rect1:n,rect2:r}};var Fk=N("<div><div>");function Uk(t){const[,e]=_e(t,["onChange","value","class","size"]),n=M(()=>t.size==="small");return(()=>{var r=Fk();return ve(r,oe(e,{get"data-disabled"(){return t.disabled||void 0},get class(){return J("switch",n()&&"switch-xs",t.class)},get"aria-checked"(){return t.value||void 0},get onClick(){return t.disabled?()=>{}:()=>t.onChange&&t.onChange(!t.value)}}),!1,!0),r})()}var zk=N('<div class="flex justify-center mt-4">'),wb=N("<div>"),qk=N("<img class=w-full>"),jk=N('<div class="relative flex gap-y-4 flex-col"><div class="min-w-full -mx-4 "></div><div class="flex flex-col gap-y-[0.6rem] h-[6.5rem]"><span class="text-secondary text-sm font-semibold "></span><h3 class="leading-tight font-extrabold text-xl text-primary"></h3><p class="break-words text-secondary font-semibold text-sm">'),Hk=N('<div class="flex space-x-2">');const Wk=t=>{const[e,n]=B(0),r=oe({intros:[],stepCounter:l=>`${String(l+1).padStart(2,"0")}`},t),[i,s]=_e(r,["intros","title","stepCounter"]),o=Ns(e),a=M(()=>r.intros[e()]),c=M(()=>!!r.intros[e()+1]);return(()=>{var l=wb();return ve(l,oe(s,{get class(){return J("px-4",s.class)}}),!1,!0),D(l,C(ae,{get when(){return r.intros.length>0},get children(){return[C(ke,{get each(){return r.intros},children:(u,f)=>C(Vn,{get when(){return o(f())},get children(){var d=jk(),h=d.firstChild,g=h.nextSibling,p=g.firstChild,m=p.nextSibling,y=m.nextSibling;return D(h,C(ae,{get when(){return typeof u.image=="string"},get fallback(){return u.image},get children(){var v=qk();return fe(()=>We(v,"src",u.image)),v}})),D(p,()=>r.stepCounter(f())),D(m,()=>u.title),D(y,()=>u.description),d}})}),(()=>{var u=zk();return D(u,C(Vk,{get activeIndex(){return e()},get totals(){return r.intros.length}})),u})(),C(lt,{type:"brand",size:"l",class:"w-full mt-4 mb-1",onClick:()=>{if(!c())return Ct.pop();n(u=>u+1)},get children(){return De(()=>!!(a().buttonName||c()))()?yt("Next"):yt("Done")}})]}})),l})()},Vk=t=>(()=>{var e=Hk();return D(e,C(Yr,{get each(){return Array(t.totals).fill("")},children:(n,r)=>(()=>{var i=wb();return i.$$click=()=>{var s;return(s=t.onClick)==null?void 0:s.call(t,r)},fe(s=>zd(i,{"h-2 w-2 rounded-full transition-all ease-out":!0,"bg-input":t.activeIndex!==r,"bg-brand":t.activeIndex===r},s)),i})()})),e})();cr(["click"]);var Xk=N("<div>");function _b(t){const[,e]=_e(t,["duration","ease","keepAlive","when","class"]),n=Le(()=>C(Vn,{get when(){return t.when},get keepAlive(){return t.keepAlive},get children(){var d=Xk();return ve(d,oe({get class(){return J("overflow-hidden",t.class)}},e),!1,!1),d}})),r=ur(n);let i=0,s=()=>{};const o=M(()=>`${t.duration||".35s"} height ${t.ease||"var(--ease-out"}`),a=sl(r,{onEnter(d){queueMicrotask(()=>{d.style.height||(i=u(d),d.style.height="0px"),c(d,i)})},onExit(d,h){i===0&&(i=u(d)),d.style.height=d.style.height||d.clientHeight+"px",c(d,0,h)}});function c(d,h,g){s(),requestAnimationFrame(()=>{d.getBoundingClientRect(),d.style.transition=o(),d.style.height=h+"px",s=()=>{d.removeEventListener("transitionend",p)};function p(){l(d),g==null||g()}d.addEventListener("transitionend",p)})}function l(d){d.style.transition="",d.style.height="",s()}function u(d){const h=d.style.height;d.style.height="";const g=d.clientHeight;return d.style.height=h,g}const f=new Set;return(()=>{const d=a();return f.clear(),d.forEach(h=>f.add(h)),[...f.keys()]})}function Cb(t,e){const[n,r]=B(t());return ne(()=>{const i=t(),s=e(i);if(s===0)r(i);else{const o=setTimeout(()=>r(i),s);K(()=>clearTimeout(o))}}),n}var Kk=N("<div class=tooltip-triangle>"),Gk=N('<span class="text-xs text-secondary">'),Yk=N("<div><span>");const Jk=400,Zk=ha(t=>{let e,n;const[r,i]=B(),[s,o]=B(),a=Cb(r,f=>f?0:Jk),c=Le(()=>{var f;return(f=a())==null?void 0:f.node()}),l=()=>{e.style.top="",e.style.left="",e.style.display="none",e.style.setProperty("--triangle-left",""),e.style.setProperty("--triangle-top","")};ne(()=>{var h,g;const f=a();if(s())if(f&&c()){e.style.display="";const p=f.rect,m=(h=f.padding)!=null?h:5,y=(g=f.position)!=null?g:"vertical",v=e.getBoundingClientRect();let b=0,w=0,_=0,S=0;y==="horizontal"?(S=p.y+p.height/2-1,w=Math.min(Math.max(m,p.y+(p.height-v.height)/2),window.innerHeight-v.height-m),b=p.x+p.width+m,_=b-n.clientWidth/2+1,b+v.width>window.innerWidth-m&&(b=p.x-v.width-m,_=b+v.width-n.clientWidth/2)):(_=p.x+p.width/2-n.clientWidth/2+1,b=Math.min(Math.max(m,p.x+(p.width-v.width)/2),window.innerWidth-v.width-m),w=p.y-(v.height+1*m),S=w+v.height,w<m&&(w=p.y+p.height+m,S=w)),e.style.top=w+"px",e.style.left=b+"px",e.style.zIndex="1001",e.style.setProperty("--triangle-left",_+"px"),e.style.setProperty("--triangle-top",S-1+"px");const x=()=>i(f),E=()=>i();e.addEventListener("mouseenter",x),e.addEventListener("mouseleave",E),K(()=>{e.removeEventListener("mouseenter",x),e.removeEventListener("mouseleave",E),l()})}else{l();return}});const u=()=>{i(),l()};return C(lr,{ref:f=>{e=f,f.className="tooltip",f.style.display="none",bl(()=>e,d=>{var g;const h=(g=r())==null?void 0:g.trigger();h!=null&&h.contains(d.target)||u()})},get mount(){return s()||void 0},get children(){return[(()=>{var f=Kk(),d=n;return typeof d=="function"?Be(d,f):n=f,f})(),De(c)]}}),[r,i,u,o]});function Qk(t){const e=Hi(),[n,r,i,s]=Zk(),o=f=>{if(t.disabled)return;const d=f.currentTarget.getBoundingClientRect();s(e()),r({trigger:u,node:()=>t.title?(()=>{var h=Yk(),g=h.firstChild;return D(g,()=>t.title),D(h,C(ae,{get when(){return t.description},get children(){var p=Gk();return D(p,()=>
11t.description),p}}),null),fe(p=>{var m=J(t.title&&t.description?"px-4 py-3 flex flex-col gap-y-1":"p-2"),y=J(t.description?"text-xs font-extrabold":"text-sm","text-primary");return m!==p.e&&ye(h,p.e=m),y!==p.t&&ye(g,p.t=y),p},{e:void 0,t:void 0}),h})():void 0,rect:d,padding:t.padding,position:t.position})},a=()=>{r()},c=Wi();je(()=>c(),"scroll",()=>{i()});const l=Le(()=>t.children),u=ur(l);return il?je(u,"touchstart",f=>{n()?r():o(f)}):(je(u,"mouseenter",o),je(u,"mouseleave",a)),l}var eR=N("<div class=tooltip-triangle>"),tR=N('<span class="text-xs text-secondary">'),nR=N("<div><span>");const rR=400,[bf,gc]=B(),xb=()=>{gc(),document.body.contains(Ue)&&document.body.removeChild(Ue)};let Ue,Xa;function iR(){return Xa||(Xa=Se(()=>{let t;const e=Cb(bf,r=>r?0:rR),n=Le(()=>{var r;return(r=e())==null?void 0:r.node()});return ne(()=>{var i,s;const r=e();if(r&&n()){document.body.appendChild(Ue);const o=r.rect,a=(i=r.padding)!=null?i:5,c=(s=r.position)!=null?s:"vertical",l=Ue.getBoundingClientRect();let u=0,f=0,d=0,h=0;console.log("position",c),c==="horizontal"?(h=o.y+o.height/2-1,f=Math.min(Math.max(a,o.y+(o.height-l.height)/2),window.innerHeight-l.height-a),u=o.x+o.width+a,d=u-t.clientWidth/2+1,u>=window.innerWidth&&(u=o.x-l.width-a,d=u+l.width-t.clientWidth/2)):(d=o.x+o.width/2-t.clientWidth/2+1,u=Math.min(Math.max(a,o.x+(o.width-l.width)/2),window.innerWidth-l.width-a),f=o.y-(l.height+1*a),h=f+l.height,f<a&&(f=o.y+o.height+a,h=f)),Ue.style.top=f+"px",Ue.style.left=u+"px",Ue.style.zIndex="1201",Ue.style.setProperty("--triangle-left",d+"px"),Ue.style.setProperty("--triangle-top",h-1+"px");const g=()=>gc(r),p=()=>gc();Ue.addEventListener("mouseenter",g),Ue.addEventListener("mouseleave",p),K(()=>{Ue.removeEventListener("mouseenter",g),Ue.removeEventListener("mouseleave",p),document.body.contains(Ue)&&(Ue.style.top="",Ue.style.left="",Ue.style.setProperty("--triangle-left",""),Ue.style.setProperty("--triangle-top",""),document.body.removeChild(Ue))})}else{document.body.contains(Ue)&&(Ue.style.top="",Ue.style.left="",Ue.style.setProperty("--triangle-left",""),Ue.style.setProperty("--triangle-top",""),document.body.removeChild(Ue));return}}),{value:bf,node:C(lr,{ref:r=>{Ue=r,r.className="tooltip",bl(()=>Ue,i=>{var o;const s=(o=bf())==null?void 0:o.trigger();s!=null&&s.contains(i.target)||xb()})},get children(){return[(()=>{var r=eR(),i=t;return typeof i=="function"?Be(i,r):t=r,r})(),De(n)]}}),setValue:gc}})),[Xa.value,Xa.setValue]}function sR(t){const[e,n]=iR(),r=c=>{if(t.disabled)return;const l=c.currentTarget.getBoundingClientRect();n({trigger:a,node:()=>t.title?(()=>{var u=nR(),f=u.firstChild;return D(f,()=>t.title),D(u,C(ae,{get when(){return t.description},get children(){var d=tR();return D(d,()=>t.description),d}}),null),fe(d=>{var h=J(t.title&&t.description?"px-4 py-3 flex flex-col gap-y-1":"p-2"),g=J(t.description?"text-xs font-extrabold":"text-sm","text-primary");return h!==d.e&&ye(u,d.e=h),g!==d.t&&ye(f,d.t=g),d},{e:void 0,t:void 0}),u})():void 0,rect:l,padding:t.padding,position:t.position})},i=()=>{n()},s=Wi();je(()=>s(),"scroll",()=>{xb()});const o=Le(()=>t.children),a=ur(o);return il?je(a,"touchstart",c=>{e()?n():r(c)}):(je(a,"mouseenter",r),je(a,"mouseleave",i)),o}const Sl=t=>{var o;const[e,n]=B((o=t.defaultValue)==null?void 0:o.call(t)),r=M(()=>{var a;return"value"in t&&((a=t.value)==null?void 0:a.call(t))!==void 0}),i=M(()=>{var a;return r()?(a=t.value)==null?void 0:a.call(t):e==null?void 0:e()});return[i,a=>{Y(()=>{var u;const l=Lc(a,i());return Object.is(l,i())||(r()||n(l),(u=t==null?void 0:t.onChange)==null||u.call(t,l)),l})}]};var oR=N('<div><div class="absolute left-0 top-1/2 -translate-y-1/2 h-[0.125rem] w-full quarterary"></div><div class="absolute top-0 left-0 cursor-pointer bg-primary h-full w-6 rounded-[0.25rem]">');function aR(t){t=oe({min:0,max:100,step:1},t);const[e,n]=_e(t,["min","max","step","onChange","defaultValue","value"]),[r,i]=Sl({defaultValue:()=>{var g;return(g=e.defaultValue)!=null?g:0},value:()=>e.value,onChange:e.onChange});let s,o;const a=g=>(g-e.min)/(e.max-e.min),c=g=>{const p=g.target;p.setPointerCapture(g.pointerId),g.preventDefault(),g.stopPropagation(),p.focus(),p!==o&&f(g.clientX)},l=Ko(()=>o),u=Ko(()=>s),f=g=>{Y(()=>{const p=s.getBoundingClientRect(),v=(g-p.left)/(p.width-l.width)*(e.max-e.min),b=Math.min(Math.max(e.min+v,e.min),e.max),w=Math.round(b/e.step)*e.step;i(w)})};return lv(()=>s,{pointerdown:c,pointermove:g=>{const p=g.target;g.stopPropagation(),p.hasPointerCapture(g.pointerId)&&f(g.clientX)},pointerup:g=>{const p=g.target;g.stopPropagation(),p.hasPointerCapture(g.pointerId)&&p.releasePointerCapture(g.pointerId)}}),(()=>{var g=oR(),p=g.firstChild,m=p.nextSibling,y=s;typeof y=="function"?Be(y,g):s=g,ve(g,oe(n,{get class(){return J(t.class,"relative touch-none w-full h-4")}}),!1,!0);var v=o;return typeof v=="function"?Be(v,m):o=m,fe(b=>Ut(m,"transform",`translateX(${(u.width-l.width)*a(r())}px)`)),g})()}function cR(t){function e(c){let l=Date.now();if(l>=c){l=c;return}const u=Math.max(c-l,0)/1e3;return{days:Math.floor(u/86400),hours:Math.floor(u/3600%24),minutes:Math.floor(u/60%60),seconds:Math.floor(u%60)}}const[n,r]=zt({days:0,hours:0,minutes:0,seconds:0}),i=Dn(),[s,o]=B(e(t()));function a(){const c=t(),l=e(c);l?(r(l),o(n)):o(void 0)}return cl(a,()=>i()&&s()?1e3:!1,setInterval),ne(()=>{i()&&a()}),s}const Sb=Ze(),lR="[Collapsible.Context]: `useCollapsibleContext` must be used within a `Collapsible` component",Eb=()=>{const t=Ie(Sb);if(t===void 0)throw Error(lR);return t},uR=t=>{const e=Eb();return C(_b,oe(t,{get when(){return e.isOpen()},get keepAlive(){var n;return(n=e.keepAlive)==null?void 0:n.call(e)}}))};var fR=N('<div class="flex-none size-6 flex items-center justify-center bg-button_bright rounded-md">'),dR=N('<div class="flex items-center justify-between gap-3">');const hR=t=>{const e=Eb(),[n,r]=_e(t,["onClick","icon"]),i=$y([n.onClick,()=>e.handleOpenChange(a=>!a)]),s=(()=>{var a=fR();return D(a,C(Ae.Arrow,{get class(){return J("transition-all size-4 duration-300 fill-secondary",e.isOpen()?"rotate-[270deg]":"rotate-180")}
11})),a})(),o=M(()=>{const a=!!e.isOpen();return typeof t.icon=="function"?t.icon(a):t.icon?t.icon:s});return(()=>{var a=dR();return ve(a,oe(r,{onClick:i}),!1,!0),D(a,()=>t.children,null),D(a,o,null),a})()};var gR=N("<div>");const pR=t=>{const[e,n]=_e(t,["defaultOpen","onOpenChange","open"]),[r,i]=Sl({value:()=>e.open,defaultValue:()=>e.defaultOpen,onChange:o=>{var a;return(a=t.onOpenChange)==null?void 0:a.call(t,o)}}),s={isOpen:r,keepAlive:()=>{var o;return(o=t.keepAlive)!=null?o:!0},handleOpenChange:o=>{i(a=>Lc(o,a))}};return C(Sb.Provider,{value:s,get children(){var o=gR();return ve(o,n,!1,!0),D(o,()=>n.children),o}})},El=xh(pR,{Content:uR,Trigger:hR}),Ab=Ze(),mR="[BC-Shared-Accordion.Context]: `useAccordionContext` must be used within a `Accordion` component",yR=()=>{const t=Ie(Ab);if(t===void 0)throw Error(mR);return t},vR=t=>{const e=yR(),[n,r]=_e(t,["value"]),i=()=>e.selectionStateManager().isSelected(n.value);return C(El,oe(r,{get open(){return i()},onOpenChange:()=>e.selectionStateManager().toggleSelect(n.value),get children(){return r.children}}))},bR=t=>C(El.Trigger,oe(t,{get children(){return t.children}})),wR=t=>C(El.Content,oe(t,{get children(){return t.children}}));class _R{value(){var e;return Qt((e=this.state)==null?void 0:e[0])}constructor(e,n){this.state=e,this.options=Object.assign({allowDuplicate:!1},Qt(n))}toArray(e){return Array.isArray(e)?e:[e]}toSet(e){return new Set(this.toArray(e))}ensureUniq(e){var n;return(n=this.options)!=null&&n.allowDuplicate?[...e]:[...this.toSet(e)]}add(e){var n,r;e=this.toArray(e),(r=(n=this.state)==null?void 0:n[1])==null||r.call(n,i=>(i.push(...e),this.ensureUniq(i)))}replace(e){var n,r;(r=(n=this.state)==null?void 0:n[1])==null||r.call(n,this.toArray(e))}remove(e){var n;(n=this.state)==null||n[1](r=>{const i=this.toSet(e);return r.filter(s=>!i.has(s))})}exist(e){return this.toSet(this.value()).has(e)}}var Dd=(t=>(t[t.Multiple=0]="Multiple",t[t.Single=1]="Single",t))(Dd||{});class CR{constructor(e,n){var r;this.listStateManager=new _R(e,{allowDuplicate:!1}),this.mode=(r=n==null?void 0:n.mode)!=null?r:0}value(){return this.listStateManager.value()}isSingleMode(){return this.mode===1}isMultiple(){return this.mode===0}select(e){this.isSingleMode()?this.listStateManager.replace(e):this.listStateManager.add(e)}deselect(e){return this.listStateManager.remove(e)}toggleSelect(e){this.isSelected(e)?this.deselect(e):this.select(e)}isSelected(e){return this.listStateManager.exist(e)}}const xR=(t,e)=>new CR(Sl(t),e);var SR=N("<div>");const ER=t=>{const[e,n]=_e(t,["activeKeys","defaultActiveKeys","onChange","multiple"]),r=xR({value:()=>e.activeKeys,defaultValue:()=>{var s;return(s=e.defaultActiveKeys)!=null?s:[]},onChange:s=>{var o;return(o=e.onChange)==null?void 0:o.call(e,s)}},{mode:e.multiple?Dd.Multiple:Dd.Single}),i={selectionStateManager:()=>r};return C(Ab.Provider,{value:i,get children(){var s=SR();return ve(s,n,!1,!1),s}})},AR=xh(ER,{Item:vR,ItemContent:wR,ItemTrigger:bR}),TR=AR.registerStyles({Root:{class:"w-full space-y-4"},ItemTrigger:{class:"w-full cursor-pointer px-3 flex justify-between items-center rounded-md text-sm font-extrabold"},ItemContent:{class:"px-3"}}),u0={},Tb=t=>t[0],Ob=t=>t[1]||t[0],kb=t=>new Proxy(u0,{get(e,n){const r=e[n];return r?t(r):void 0}}),OR=kb(Tb),kR=kb(Ob),RR=new Proxy(u0,{get(t,e){if(e==="_dark")return OR;if(e==="_light")return kR;const n=t[e];return n?xe.darken?Tb(n):Ob(n):void 0}});function Rb({logo:t,empty:e,icons:n,communities:r}){Object.assign(u0,t),Object.assign(yd,e),Object.assign(Ae,n),r&&lx(r)}var PR=N('<div style=--scroll:100%><div class="dialog-title bg-layer2"dir=ltr><div class="ml-auto absolute right-4 top-0 flex items-center h-full">');const DR=t=>{const{minimize:e,close:n}=_y(),r=xy(),i=()=>{var s;return t.title||((s=r==null?void 0:r.props())==null?void 0:s.title)};return(()=>{var s=PR(),o=s.firstChild,a=o.firstChild;return D(o,C(lt,{onClick:c=>{c.stopPropagation(),e()},class:"dialog-back !p-0 bg-layer3_alt",get children(){return C(Ae.Arrow,{class:"size-5 -rotate-90 fill-primary"})}}),a),D(o,i,a),D(a,C(lt,{onClick:n,class:"dialog-close ml-2 !p-0 bg-layer3_alt",get children(){return C(Ae.Exit,{class:"fill-primary2"})}})),D(s,C(Tr,{style:{"-webkit-overflow-scrolling":"auto"},class:"dialog-content",get children(){return t.children}}),null),fe(()=>{var c;return ye(s,J("size-full flex pt-sh flex-col",(c=r==null?void 0:r.props())==null?void 0:c.class))}),s})()},IR=t=>{const e=xy();return pe(()=>{e==null||e.setProps({title:t.title,class:t.class})}),t.children},LR=Object.freeze(Object.defineProperty({__proto__:null,A:zc,Accordion:TR,ActiveProvider:Xr,App:ZE,AppError:ji,AsideItem:Tk,AsideLayout:Ok,AvatarFrame:iA,Badge:Ed,BalanceChange:Z3,Breadcrumb:IA,Button:lt,Carousel:qA,Checkbox:gb,Collapsible:El,DatePicker:bT,Decimal:Fe,Dialog:t0,DropDown:Gs,Each:qT,Empty:$s,ErrorWithTip:Fc,FlatList:hO,HttpResponseError:Bc,ImageX:TO,Input:s0,Intros:Wk,KeepScroll:y3,LazyList:mO,ListView:wO,LiveFeed:YT,Loading:Ks,Long:Re,MaximizeLayout:DR,Meta:WO,MetaProvider:jO,MultiSelect:UO,Notice:qO,NumberInput:vT,get Occurrence(){return pi},PQuery:Ah,Pagination:XO,Pop:vl,PopProvider:T3,PopTooltip:sR,PortalSlot:k3,QueueRender:D7,Radio:NO,RangePicker:zT,Ref:qs,Refs:S7,RouteType:Ne,ScrollView:Tr,Scrollbar:xl,Select:c0,ShallowContent:IR,ShallowLayoutProvider:Uw,ShallowRouteProvider:Fw,Slider:aR,SmoothList:$k,SmoothListController:Nk,StaticRouter:bd,Sticky:Do,Switch:Uk,TMCLayout:hk,TabLayout:Ak,Tabs:Cl,Thumb:LO,ToastProvider:_3,Toggle:Vn,ToggleView:_b,Tooltip:Qk,Transition:B3,UserTitle:RS,VERSION:o0,access:Qt,get account(){return Ce},addUserReceiptEvent:Kh,animate:da,app:kn,asyncQueue:cA,authGuard:zx,batchRouteDefinition:xx,bc:nS,bcdResource:hA,bcutils:US,communityLinks:ax,consumeTgInitData:SA,createCallback:y7,createClickOutside:bl,createControllableSignal:Sl,createCountdown:cR,createCss:QO,createDisposable:v7,createElementSize:Ko,createEmitter:cv,createEventListener:je,createEventListenerMap:lv,createI18n:JC,createIntersectionObserver:d7,createIsMounted:C7,createKeyHold:_7,createLatest:uv,createLatestMany:c7,createListTransition:ol,createNoSuspense:P3,createPaginationResource:_O,createRemote:JO,createResizeObserver:Lh,createRootPool:zi,createScheduled:wh,createSingletonRoot:ha,createSubRoot:Dh,createSwitchTransition:sl,createTimer:cl,createTween:U7,createViewportObserver:Rh,createVisibilityObserver:Ph,createWindowSize:O7,createWritableMemo:l7,currentDepositResource:EA,cx:J,debounce:bh,deduction:vA,defaultArgs:hb,env:re,getAccountFrameInfo:rA,getDepositBonusConfig:gA,getHttp:vt,getNextDepositOption:eb,getNextDepositSoleOption:AA,getPathname:px,getShareLinks:CS,getSocket:An,getTgWebApp:Md,getTierColor:a3,gsap:gi,initAppSideEffects:X3,initShumeiSmid:NS,kyc:TA,leading:ky,leadingAndTrailing:Hw,license:Oo,logo:RR,makePersisted:dv,markDeductionValue:mA,mergeRefs:qi,pickDevice:Vw,pickTheme:GC,pop:Ct,portal:vd,protoBind:HC,protobuf:zr,refreshKyc:tb,registChallengeHandler:eC,registEnv:Rb,registHttpReject:Q8,registWhiteList:ZC,requestRecaptcha:pS,resolveElements:Ih,resolveFirst:ur,resolveRemote:GO,runWithApp:JE,selectRedDot:_d,get setAccount(){return pl},setDeductionIdChecker:yA,setEnv:_h,setLang:mx,setPendingDeductingProvider:WE,get setSetting(){return Uc},get setWallet(){return Po},setWebsite:dA,get setting(){return xe},siteLangs:pd,storageSync:F7,syncAccount:gd,syncWallet:n0,get system(){return nr},systemUtils:Ai,tgInitData:xA,throttle:rl,toast:xr,until:Wn,untilLogin:Fx,updateUsdPriceFor:Wx,useActiveMemo:m3,useBeforeLeave:_x,useDialogClose:H3,useFlatItem:gO,useGlobalComponent:J3,useIosSwipe:u3,useIsActive:Dn,useKeyDownEvent:al,useLoginCallback:Ux,useMeta:HO,useNavigate:Xs,useNavigatePromise:uA,useNavigatePromiseEnter:lA,useReferrer:Cx,useResource:$h,useRouterStack:wa,useScrollElement:Wi,useScrollTop:A3,useShallowRoute:_y,user:ox,utils:i_,vipV2ConfigResource:Hv,get wallet(){return Li}
11,walletSynced:qE,website:fA,withDirection:m7,withOccurrence:g7,wrUtils:qC},Symbol.toStringTag,{value:"Module"}));globalThis._bc={h0lnfr:e5,inqq9w:u5,dxzurp:E6,l5q36m:n4,hswzj:LR};Object.hasOwn||Object.defineProperty(Object,"hasOwn",{value:function(t,e){if(t==null)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},configurable:!0,enumerable:!1,writable:!0});Object.fromEntries||Object.defineProperty(Object,"fromEntries",{value:function(t){const e={};for(const n of t){if(Object(n)!==n)throw new TypeError("Iterator value is not an entry object");Object.defineProperty(e,n[0],{value:n[1],configurable:!0,enumerable:!0,writable:!0})}return e},configurable:!0,enumerable:!1,writable:!0});Ud.clear();"scrollRestoration"in history&&(history.scrollRestoration="manual");document.addEventListener("dblclick",function(t){t.preventDefault()},{passive:!1});function Ot(t){return oe(t,{get class(){return`icon${t.class?" "+t.class:""}`}})}var $R=N('<svg viewBox="0 0 32 32"><path d="M20.5603 6.46955C20.0604 5.96968 19.2499 5.96968 18.7501 6.46955L9.99838 15.2212C9.49851 15.7211 9.49851 16.5316 9.99838 17.0314L18.7501 25.7831C19.2499 26.283 20.0604 26.283 20.5603 25.7831L21.8146 24.5287C22.3145 24.0289 22.3145 23.2184 21.8146 22.7185L15.675 16.5789C15.425 16.3289 15.425 15.9237 15.675 15.6738L21.8146 9.53412C22.3145 9.03425 22.3145 8.2238 21.8146 7.72393L20.5603 6.46955Z">');const MR=t=>{const e=Ot(t);return(()=>{var n=$R();return ve(n,e,!0,!0),n})()};var NR=N('<svg viewBox="0 0 32 32"><path fill-rule=evenodd clip-rule=evenodd d="M16 5.43945C21.832 5.43949 26.5593 10.1671 26.5596 15.999C26.5596 21.8311 21.8321 26.5595 16 26.5596C10.1679 26.5596 5.43945 21.8312 5.43945 15.999C5.43969 10.1671 10.168 5.43945 16 5.43945ZM16 19.5195C15.2932 19.5196 14.7207 20.093 14.7207 20.7998C14.7209 21.5065 15.2933 22.079 16 22.0791C16.7068 22.0791 17.2801 21.5066 17.2803 20.7998C17.2803 20.0929 16.7069 19.5195 16 19.5195ZM16 9.91992C15.2931 9.91992 14.7197 10.4933 14.7197 11.2002V16.4805C14.7199 17.1873 15.2932 17.7598 16 17.7598C16.7068 17.7598 17.2801 17.1873 17.2803 16.4805V11.2002C17.2803 10.4933 16.7069 9.91992 16 9.91992Z">');const BR=t=>{const e=Ot(t);return(()=>{var n=NR();return ve(n,e,!0,!0),n})()};var FR=N('<svg viewBox="0 0 32 32"><path d="M11.4651 6.21875L11.4626 6.32454C11.4626 8.61415 13.3425 10.4705 15.6606 10.4705C17.9788 10.4705 19.8587 8.61415 19.8587 6.32454C19.8587 6.29263 19.8587 6.26073 19.8578 6.22882C23.7897 6.49414 26.8979 9.76777 26.8979 13.7685V20.215C26.8979 24.3887 23.5152 27.7715 19.3415 27.7715H11.785C7.6113 27.7715 4.22852 24.3887 4.22852 20.215V13.7685C4.22852 9.70228 7.44002 6.38583 11.4651 6.21875ZM12.3022 17.8213H10.623C10.1595 17.8213 9.78336 18.1974 9.78336 18.6609V20.2981C9.78336 20.7616 10.1595 21.1377 10.623 21.1377H12.3022C12.7657 21.1377 13.1418 20.7616 13.1418 20.2981V18.6609C13.1418 18.1974 12.7657 17.8213 12.3022 17.8213ZM16.5002 17.8213H14.821C14.3575 17.8213 13.9814 18.1974 13.9814 18.6609V20.2981C13.9814 20.7616 14.3575 21.1377 14.821 21.1377H16.5002C16.9637 21.1377 17.3398 20.7616 17.3398 20.2981V18.6609C17.3398 18.1974 16.9637 17.8213 16.5002 17.8213ZM20.6983 17.8213H19.0191C18.5556 17.8213 18.1794 18.1974 18.1794 18.6609V20.2981C18.1794 20.7616 18.5556 21.1377 19.0191 21.1377H20.6983C21.1617 21.1377 21.5379 20.7616 21.5379 20.2981V18.6609C21.5379 18.1974 21.1617 17.8213 20.6983 17.8213ZM12.3022 13.6753H10.623C10.1595 13.6753 9.78336 14.0514 9.78336 14.5149V16.1521C9.78336 16.6156 10.1595 16.9918 10.623 16.9918H12.3022C12.7657 16.9918 13.1418 16.6156 13.1418 16.1521V14.5149C13.1418 14.0514 12.7657 13.6753 12.3022 13.6753ZM16.5002 13.6753H14.821C14.3575 13.6753 13.9814 14.0514 13.9814 14.5149V16.1521C13.9814 16.6156 14.3575 16.9918 14.821 16.9918H16.5002C16.9637 16.9918 17.3398 16.6156 17.3398 16.1521V14.5149C17.3398 14.0514 16.9637 13.6753 16.5002 13.6753ZM20.6983 13.6753H19.0191C18.5556 13.6753 18.1794 14.0514 18.1794 14.5149V16.1521C18.1794 16.6156 18.5556 16.9918 19.0191 16.9918H20.6983C21.1617 16.9918 21.5379 16.6156 21.5379 16.1521V14.5149C21.5379 14.0514 21.1617 13.6753 20.6983 13.6753ZM15.6472 3.42285C17.2701 3.42285 18.5858 4.72256 18.5858 6.32538C18.5858 7.92819 17.2701 9.2279 15.6472 9.2279C14.0242 9.2279 12.7086 7.92819 12.7086 6.32538C12.7086 4.72256 14.0242 3.42285 15.6472 3.42285Z">');const UR=t=>{const e=Ot(t);return(()=>{var n=FR();return ve(n,e,!0,!0),n})()};var zR=N('<svg viewBox="0 0 32 32">
11<path fill-rule=evenodd clip-rule=evenodd d="M13.9728 6.92847C14.8874 5.39101 17.1129 5.39105 18.0275 6.92847L26.9045 21.8503C27.8399 23.4229 26.7068 25.4157 24.8771 25.4158H7.12418C5.29437 25.4158 4.1604 23.423 5.09586 21.8503L13.9728 6.92847ZM16.0002 20.3201C15.2935 20.3203 14.7209 20.8936 14.7209 21.6003C14.7209 22.3071 15.2934 22.8804 16.0002 22.8806C16.7071 22.8806 17.2804 22.3073 17.2804 21.6003C17.2804 20.8934 16.7071 20.3201 16.0002 20.3201ZM16.0002 10.8787C15.2935 10.8788 14.7201 11.4523 14.7199 12.1589V17.4392C14.72 18.1459 15.2934 18.7184 16.0002 18.7185C16.707 18.7185 17.2803 18.146 17.2804 17.4392V12.1589C17.2802 11.4522 16.707 10.8787 16.0002 10.8787Z">');const qR=t=>{const e=Ot(t);return(()=>{var n=zR();return ve(n,e,!0,!0),n})()};var jR=N('<svg viewBox="0 0 32 32"><path d="M24.9446 21.7276C25.8191 22.6023 25.8186 24.0203 24.9439 24.895C24.0692 25.7697 22.6512 25.7703 21.7764 24.8957L7.1053 10.2246C6.23053 9.34987 6.23053 7.93125 7.1053 7.05647C7.98007 6.1817 9.39869 6.1817 10.2735 7.05647L24.9446 21.7276Z"></path><path d="M10.2735 24.8957C9.39868 25.7703 7.98069 25.7697 7.10599 24.895C6.23128 24.0203 6.23073 22.6023 7.1053 21.7276L21.7764 7.05647C22.6512 6.1817 24.0698 6.1817 24.9446 7.05647C25.8193 7.93125 25.8193 9.34987 24.9446 10.2246L10.2735 24.8957Z">');const HR=t=>{const e=Ot(t);return(()=>{var n=jR();return ve(n,e,!0,!0),n})()};var WR=N('<svg viewBox="0 0 32 32"><path fill-rule=evenodd clip-rule=evenodd d="M19.1605 7.6543C19.9362 7.6543 20.7556 7.92537 21.5063 8.22459L22.0558 8.44979C23.3694 9.00028 24.1076 10.1555 24.6799 11.4243C25.6089 13.4834 26.2542 16.2285 26.4774 18.3158C26.5837 19.3062 26.6098 20.303 26.419 20.9733C26.2136 21.6896 25.5151 22.1963 24.8363 22.5946L24.5006 22.7853L24.1524 22.9793C23.9731 23.0794 23.7885 23.1784 23.605 23.2754L23.0608 23.5569L22.3133 23.9291L21.7117 24.2252C21.5888 24.2914 21.4538 24.3323 21.3148 24.3455C21.1758 24.3586 21.0356 24.3437 20.9025 24.3016C20.7693 24.2595 20.646 24.191 20.5398 24.1004C20.4337 24.0097 20.3468 23.8986 20.2843 23.7738C20.2219 23.6489 20.1852 23.5127 20.1763 23.3734C20.1675 23.234 20.1868 23.0943 20.233 22.9626C20.2792 22.8308 20.3514 22.7097 20.4453 22.6063C20.5392 22.503 20.6529 22.4196 20.7796 22.361L21.6033 21.9544L20.9986 21.3195C19.5494 21.9137 17.8427 22.2505 16.0296 22.2505C14.2165 22.2505 12.5098 21.9148 11.0606 21.3195L10.4559 21.9534L11.2827 22.36C11.4052 22.4212 11.5145 22.5059 11.6043 22.6093C11.6941 22.7128 11.7626 22.8329 11.806 22.9628C11.8494 23.0927 11.8668 23.2299 11.8571 23.3666C11.8475 23.5032 11.811 23.6366 11.7498 23.7591C11.6886 23.8817 11.6038 23.9909 11.5004 24.0807C11.397 24.1705 11.2769 24.2391 11.1469 24.2824C10.8846 24.37 10.5981 24.3498 10.3506 24.2262L9.78347 23.9447C9.36435 23.7362 8.94419 23.5298 8.52924 23.3119L7.56172 22.7853L7.22705 22.5946C6.54832 22.1963 5.84875 21.6896 5.6444 20.9733C5.45257 20.303 5.47967 19.3073 5.58497 18.3147C5.80809 16.2285 6.45345 13.4834 7.38239 11.4243C7.95477 10.1555 8.69292 9.00028 10.0066 8.44979C10.8782 8.08488 11.9343 7.6543 12.9018 7.6543C13.5305 7.6543 14.0247 8.23293 13.934 8.85014C14.6278 8.74749 15.3282 8.69626 16.0296 8.69688C16.75 8.69688 17.4538 8.74901 18.1294 8.85119C18.1093 8.70313 18.1209 8.55249 18.1634 8.40924C18.2059 8.266 18.2783 8.13341 18.3759 8.02026C18.4734 7.9071 18.5939 7.81597 18.7294 7.75288C18.8648 7.68979 19.0111 7.65619 19.1605 7.6543ZM12.6412 14.4311C12.1573 14.4311 11.6932 14.6233 11.3511 14.9655C11.0089 15.3077 10.8167 15.7717 10.8167 16.2556C10.8167 16.7395 11.0089 17.2036 11.3511 17.5458C11.6932 17.8879 12.1573 18.0802 12.6412 18.0802C13.1251 18.0802 13.5892 17.8879 13.9313 17.5458C14.2735 17.2036 14.4657 16.7395 14.4657 16.2556C14.4657 15.7717 14.2735 15.3077 13.9313 14.9655C13.5892 14.6233 13.1251 14.4311 12.6412 14.4311ZM19.418 14.4311C18.9341 14.4311 18.47 14.6233 18.1279 14.9655C17.7857 15.3077 17.5935 15.7717 17.5935 16.2556C17.5935 16.7395 17.7857 17.2036 18.1279 17.5458C18.47 17.8879 18.9341 18.0802 19.418 18.0802C19.9019 18.0802 20.366 17.8879 20.7081 17.5458C21.0503 17.2036 21.2425 16.7395 21.2425 16.2556C21.2425 15.7717 21.0503 15.3077 20.7081 14.9655C20.366 14.6233 19.9019 14.4311 19.418 14.4311Z">');const VR=t=>{const e=Ot(t);return(()=>{var n=WR();return ve(n,e,!0,!0),n})()};var XR=N('<svg viewBox="0 0 32 32"><g><path d="M15.5342 3.99997C16.632 3.99997 17.5358 3.99861 18.2696 4.05856C19.019 4.1198 19.7084 4.25133 20.3555 4.58102C21.3587 5.0923 22.1753 5.90787 22.6866 6.9111C23.0162 7.55807 23.1468 8.24777 23.208 8.99704C23.268 9.73088 23.2666 10.6354 23.2666 11.7334V12H20.6006V11.7334C20.6006 10.5915 20.5998 9.81486 20.5508 9.21481C20.5031 8.63026 20.4159 8.33057 20.3096 8.12204C20.0539 7.62055 19.6461 7.21258 19.1446 6.957C18.936 6.85075 18.6363 6.76355 18.0518 6.71579C17.4518 6.66681 16.6757 6.66696 15.5342 6.66696H12.333C11.1916 6.66696 10.4154 6.66681 9.81546 6.71579C9.23093 6.76355 8.93122 6.85075 8.72269 6.957C8.22115 7.21258 7.81331 7.62056 7.55765 8.12204C7.4514 8.33057 7.3642 8.63026 7.31644 9.21481C7.26742 9.81486 7.26663 10.5915 7.26663 11.7334V20.2666C7.26663 21.4084 7.26742 22.1851 7.31644 22.7851C7.3642 23.3697 7.45139 23.6694 7.55765 23.8779C7.81331 24.3794 8.22115 24.7874 8.72269 25.0429C8.93122 25.1492 9.23093 25.2364 9.81546 25.2841C10.4154 25.3331 11.1916 25.333 12.333 25.333H15.9336C16.8836 25.333 17.5294 25.3321 18.0313 25.2978C18.5211 25.2644 18.7761 25.2036 18.9541 25.1299C19.6073 24.8592 20.1268 24.3406 20.3975 23.6875C20.4712 23.5095 20.532 23.2542 20.5655 22.7646C20.5997 22.2628 20.6006 21.6168 20.6006 20.667H23.2666C23.2666 21.5803 23.2675 22.3327 23.2256 22.9463C23.1829 23.5716 23.0909 24.1502 22.8604 24.707C22.3191 26.0138 21.2804 27.0524 19.9737 27.5937C19.4171 27.8241 18.839 27.9153 18.2139 27.958C17.6002 27.9999 16.8472 28 15.9336 28H12.333C11.2352 28 10.3315 28.0013 9.59769 27.9414C8.84828 27.8801 8.15882 27.7486 7.51175 27.4189C6.5085 26.9076 5.69197 26.0921 5.18069 25.0888C4.85105 24.4419 4.72046 23.7522 4.65921 23.0029C4.59925 22.2691 4.60062 21.3646 4.60062 20.2666V11.7334C4.60062 10.6354 4.59925 9.73088 4.65921 8.99704C4.72046 8.24777 4.85105 7.55807 5.18069 6.9111C5.69197 5.90786 6.5085 5.09229 7.51175 4.58102C8.15882 4.25132 8.84828 4.1198 9.59769 4.05856C10.3315 3.99861 11.2352 3.99997 12.333 3.99997H15.5342ZM31.9991 16L26.666 21.334L25.0635 19.7314L27.6612 17.1338H17.9336V14.8672H27.6621L25.0635 12.2695L26.666 10.66
117L31.9991 16Z"></path></g><defs><clipPath><rect width=32 height=32>');const KR=t=>{const e=Ot(t),n=Gr();return(()=>{var r=XR(),i=r.firstChild,s=i.nextSibling,o=s.firstChild;return ve(r,e,!0,!0),We(i,"clip-path",`url(#clip0_14625_321_${n})`),We(o,"id",`clip0_14625_321_${n}`),r})()};var GR=N('<svg viewBox="0 0 32 32"><path d="M20.3692 17.3256C20.7231 17.3256 21.0242 17.0675 21.0783 16.7178L21.4695 14.1911C21.5368 13.7562 21.2004 13.3637 20.7604 13.3637H17.7604V10.7939C17.7604 9.70975 18.2955 8.65234 20.0141 8.65234H21.0422C21.4385 8.65234 21.7598 8.33106 21.7598 7.93474V5.88589C21.7598 5.53572 21.5073 5.23758 21.1601 5.19224C20.5616 5.11411 19.5989 5.01172 18.663 5.01172C15.5014 5.01172 13.4368 6.90964 13.4368 10.3442V13.3637H10.6414C10.2451 13.3637 9.92383 13.685 9.92383 14.0813V16.608C9.92383 17.0043 10.2451 17.3256 10.6414 17.3256H13.4368V25.6745C13.4368 26.382 13.9522 26.9919 14.6581 27.0386C14.969 27.0592 15.2825 27.0696 15.5986 27.0696C15.9147 27.0696 16.2283 27.0592 16.5391 27.0386C17.245 26.9919 17.7604 26.382 17.7604 25.6745V17.3256H20.3692Z"></path><mask maskUnits=userSpaceOnUse x=0 y=0 width=32 height=32 style=mask-type:alpha><path d="M20.3692 17.3256C20.7231 17.3256 21.0242 17.0675 21.0783 16.7178L21.4695 14.1911C21.5368 13.7562 21.2004 13.3637 20.7604 13.3637H17.7604V10.7939C17.7604 9.70975 18.2955 8.65234 20.0141 8.65234H21.0422C21.4385 8.65234 21.7598 8.33106 21.7598 7.93474V5.88589C21.7598 5.53572 21.5073 5.23758 21.1601 5.19224C20.5616 5.11411 19.5989 5.01172 18.663 5.01172C15.5014 5.01172 13.4368 6.90964 13.4368 10.3442V13.3637H10.6414C10.2451 13.3637 9.92383 13.685 9.92383 14.0813V16.608C9.92383 17.0043 10.2451 17.3256 10.6414 17.3256H13.4368V25.6745C13.4368 26.382 13.9522 26.9919 14.6581 27.0386C14.969 27.0592 15.2825 27.0696 15.5986 27.0696C15.9147 27.0696 16.2283 27.0592 16.5391 27.0386C17.245 26.9919 17.7604 26.382 17.7604 25.6745V17.3256H20.3692Z"></path></mask><g><rect x=1.6539 y=22.7553 width=10.2773 height=32.3164 transform="rotate(-130.349 1.6539 22.7553)"fill="var(--icon-mx-green, transparent)"></rect><rect x=11.9002 y=36.6281 width=10.2773 height=32.3164 transform="rotate(-130.349 11.9002 36.6281)"fill="var(--icon-mx-red, transparent)">');const YR=t=>{const e=Ot(t),n=Gr();return(()=>{var r=GR(),i=r.firstChild,s=i.nextSibling,o=s.nextSibling;return ve(r,e,!0,!0),We(s,"id",`mask_icon_facebook_mx_${n}`),We(o,"mask",`url(#mask_icon_facebook_mx_${n})`),r})()};var JR=N('<svg viewBox="0 0 32 32"><path d="M11.3928 6.38439C12.139 6.63717 12.8489 6.9866 13.5044 7.42377C14.43 7.18718 15.3819 7.06833 16.3373 7.07002C17.324 7.07002 18.2759 7.19324 19.1683 7.42277C19.8235 6.98603 20.533 6.63694 21.2788 6.38439C21.9714 6.14889 22.9581 5.76732 23.5444 6.41619C23.9418 6.85738 24.0412 7.59667 24.1118 8.16107C24.1913 8.79105 24.2101 9.61182 24.0015 10.4266C24.7994 11.4571 25.2803 12.6862 25.2803 14.0257C25.2803 16.0548 24.1813 17.8165 22.5547 19.0368C21.7719 19.6166 20.9036 20.0712 19.9811 20.3842C20.1937 20.8711 20.312 21.4096 20.312 21.975V24.9561C20.312 25.2196 20.2073 25.4723 20.0209 25.6587C19.8346 25.845 19.5818 25.9497 19.3183 25.9497H13.3563C13.0928 25.9497 12.84 25.845 12.6537 25.6587C12.4673 25.4723 12.3626 25.2196 12.3626 24.9561V23.9713C11.4137 24.0876 10.6177 23.9842 9.94106 23.6971C9.23357 23.397 8.74071 22.9319 8.37007 22.4868C8.01831 22.0655 7.63475 21.1155 7.08029 20.9307C6.95645 20.8895 6.84195 20.8242 6.74332 20.7388C6.64469 20.6533 6.56387 20.5492 6.50546 20.4325C6.3875 20.1967 6.36802 19.9238 6.4513 19.6737C6.53457 19.4236 6.71379 19.2168 6.94952 19.0989C7.18525 18.9809 7.45819 18.9614 7.70829 19.0447C8.37007 19.2653 8.80132 19.7423 9.09644 20.1258C9.5734 20.7419 9.96093 21.5468 10.7161 21.8677C11.0271 21.9999 11.4832 22.0863 12.1967 21.989L12.3626 21.9552C12.3645 21.4144 12.4771 20.8798 12.6935 20.3842C11.771 20.0712 10.9027 19.6166 10.1199 19.0368C8.49328 17.8165 7.39429 16.0558 7.39429 14.0257C7.39429 12.6882 7.87423 11.46 8.67016 10.4306C8.46149 9.6158 8.47937 8.79304 8.55887 8.16206L8.56383 8.1243C8.63637 7.54599 8.72083 6.86532 9.12625 6.41619C9.71252 5.76732 10.7002 6.14988 11.3918 6.38538L11.3928 6.38439Z">');const ZR=t=>{const e=Ot(t);return(()=>{var n=JR();return ve(n,e,!0,!0),n})()};var QR=N('<svg viewBox="0 0 32 32">
11<path d="M20.5509 5.75977C22.0597 5.75977 23.5067 6.35913 24.5735 7.426C25.6404 8.49288 26.2398 9.93987 26.2398 11.4487V20.5509C26.2398 22.0597 25.6404 23.5067 24.5735 24.5735C23.5067 25.6404 22.0597 26.2398 20.5509 26.2398H11.4487C9.93987 26.2398 8.49288 25.6404 7.426 24.5735C6.35913 23.5067 5.75977 22.0597 5.75977 20.5509V11.4487C5.75977 9.93987 6.35913 8.49288 7.426 7.426C8.49288 6.35913 9.93987 5.75977 11.4487 5.75977H20.5509ZM15.9998 11.4487C14.7927 11.4487 13.6351 11.9281 12.7816 12.7816C11.9281 13.6351 11.4487 14.7927 11.4487 15.9998C11.4487 17.2068 11.9281 18.3644 12.7816 19.2179C13.6351 20.0714 14.7927 20.5509 15.9998 20.5509C17.2068 20.5509 18.3644 20.0714 19.2179 19.2179C20.0714 18.3644 20.5509 17.2068 20.5509 15.9998C20.5509 14.7927 20.0714 13.6351 19.2179 12.7816C18.3644 11.9281 17.2068 11.4487 15.9998 11.4487ZM15.9998 13.7242C16.6033 13.7242 17.1821 13.964 17.6088 14.3907C18.0356 14.8175 18.2753 15.3963 18.2753 15.9998C18.2753 16.6033 18.0356 17.1821 17.6088 17.6088C17.1821 18.0356 16.6033 18.2753 15.9998 18.2753C15.3963 18.2753 14.8175 18.0356 14.3907 17.6088C13.964 17.1821 13.7242 16.6033 13.7242 15.9998C13.7242 15.3963 13.964 14.8175 14.3907 14.3907C14.8175 13.964 15.3963 13.7242 15.9998 13.7242ZM21.1198 9.74199C20.818 9.74199 20.5286 9.86186 20.3152 10.0752C20.1019 10.2886 19.982 10.578 19.982 10.8798C19.982 11.1815 20.1019 11.4709 20.3152 11.6843C20.5286 11.8977 20.818 12.0175 21.1198 12.0175C21.4215 12.0175 21.7109 11.8977 21.9243 11.6843C22.1377 11.4709 22.2575 11.1815 22.2575 10.8798C22.2575 10.578 22.1377 10.2886 21.9243 10.0752C21.7109 9.86186 21.4215 9.74199 21.1198 9.74199Z"></path><mask maskUnits=userSpaceOnUse x=0 y=0 width=32 height=32 style=mask-type:alpha><path d="M20.5509 5.75977C22.0597 5.75977 23.5067 6.35913 24.5735 7.426C25.6404 8.49288 26.2398 9.93987 26.2398 11.4487V20.5509C26.2398 22.0597 25.6404 23.5067 24.5735 24.5735C23.5067 25.6404 22.0597 26.2398 20.5509 26.2398H11.4487C9.93987 26.2398 8.49288 25.6404 7.426 24.5735C6.35913 23.5067 5.75977 22.0597 5.75977 20.5509V11.4487C5.75977 9.93987 6.35913 8.49288 7.426 7.426C8.49288 6.35913 9.93987 5.75977 11.4487 5.75977H20.5509ZM15.9998 11.4487C14.7927 11.4487 13.6351 11.9281 12.7816 12.7816C11.9281 13.6351 11.4487 14.7927 11.4487 15.9998C11.4487 17.2068 11.9281 18.3644 12.7816 19.2179C13.6351 20.0714 14.7927 20.5509 15.9998 20.5509C17.2068 20.5509 18.3644 20.0714 19.2179 19.2179C20.0714 18.3644 20.5509 17.2068 20.5509 15.9998C20.5509 14.7927 20.0714 13.6351 19.2179 12.7816C18.3644 11.9281 17.2068 11.4487 15.9998 11.4487ZM15.9998 13.7242C16.6033 13.7242 17.1821 13.964 17.6088 14.3907C18.0356 14.8175 18.2753 15.3963 18.2753 15.9998C18.2753 16.6033 18.0356 17.1821 17.6088 17.6088C17.1821 18.0356 16.6033 18.2753 15.9998 18.2753C15.3963 18.2753 14.8175 18.0356 14.3907 17.6088C13.964 17.1821 13.7242 16.6033 13.7242 15.9998C13.7242 15.3963 13.964 14.8175 14.3907 14.3907C14.8175 13.964 15.3963 13.7242 15.9998 13.7242ZM21.1198 9.74199C20.818 9.74199 20.5286 9.86186 20.3152 10.0752C20.1019 10.2886 19.982 10.578 19.982 10.8798C19.982 11.1815 20.1019 11.4709 20.3152 11.6843C20.5286 11.8977 20.818 12.0175 21.1198 12.0175C21.4215 12.0175 21.7109 11.8977 21.9243 11.6843C22.1377 11.4709 22.2575 11.1815 22.2575 10.8798C22.2575 10.578 22.1377 10.2886 21.9243 10.0752C21.7109 9.86186 21.4215 9.74199 21.1198 9.74199Z"></path></mask><g><rect x=-0.3461 y=23.7553 width=10.2773 height=32.3164 transform="rotate(-130.349 -0.3461 23.7553)"fill="var(--icon-mx-green, transparent)"></rect><rect x=10.6539 y=39.7554 width=10.2773 height=32.3164 transform="rotate(-130.349 10.6539 39.7554)"fill="var(--icon-mx-red, transparent)">');const eP=t=>{const e=Ot(t),n=Gr();return(()=>{var r=QR(),i=r.firstChild,s=i.nextSibling,o=s.nextSibling;return ve(r,e,!0,!0),We(s,"id",`mask_icon_instagram_mx_${n}`),We(o,"mask",`url(#mask_icon_instagram_mx_${n})`),r})()};var tP=N('<svg viewBox="0 0 32 32"><path fill-rule=evenodd clip-rule=evenodd d="M15.2002 4.79883C20.5901 4.79906 24.9596 9.16873 24.96 14.5586C24.96 16.8504 24.1682 18.9565 22.8457 20.6221L27.3516 25.1279C27.7889 25.5653 27.7889 26.2745 27.3516 26.7119C26.9142 27.1492 26.2049 27.1493 25.7676 26.7119L21.2607 22.2051C19.5956 23.5268 17.4911 24.3192 15.2002 24.3193C9.81004 24.3192 5.43945 19.9488 5.43945 14.5586C5.43979 9.16869 9.81025 4.799 15.2002 4.79883ZM15.2002 7.03906C11.0474 7.03923 7.68003 10.4058 7.67969 14.5586C7.67969 18.7117 11.0472 22.0789 15.2002 22.0791C19.3532 22.0789 22.7197 18.7116 22.7197 14.5586C22.7194 10.4058 19.353 7.03929 15.2002 7.03906Z">');const nP=t=>{const e=Ot(t);return(()=>{var n=tP();return ve(n,e,!0,!0),n})()};var rP=N('<svg viewBox="0 0 32 32">
11<path d="M16.0004 17.4926L17.54 19.0321C16.7234 20.0843 16.1671 21.3145 15.9162 22.6225C15.6654 23.9305 15.7271 25.2793 16.0965 26.5589C13.7575 26.5826 11.4771 25.8269 9.61513 24.4111L9.31735 24.1756L16.0004 17.4926ZM19.0489 20.5411L22.6835 24.1756C21.3932 25.2337 19.8692 25.9689 18.238 26.3203C17.9007 25.3624 17.7984 24.3376 17.9395 23.3319C18.0806 22.3262 18.4611 21.3692 19.0489 20.5411ZM12.9667 14.4599L14.5084 15.9995L7.82425 22.6825C6.25934 20.7723 5.41574 18.3727 5.44098 15.9034C6.72058 16.2727 8.06935 16.3345 9.37736 16.0837C10.6854 15.8328 11.9145 15.2765 12.9667 14.4599ZM26.3212 18.236C25.998 19.7375 25.3492 21.1498 24.4205 22.3731L24.1777 22.6825L20.5421 19.048C21.37 18.46 22.3271 18.0793 23.3327 17.938C24.3384 17.7967 25.3633 17.8989 26.3212 18.236ZM24.1777 9.31639C25.7419 11.2266 26.5851 13.6257 26.5599 16.0945C25.3337 15.7407 24.0434 15.669 22.7856 15.8848C21.5278 16.1006 20.3352 16.5982 19.2971 17.3405L19.0331 17.538L17.4935 15.9995L24.1777 9.31639ZM15.9033 5.44001C18.2422 5.41594 20.5226 6.17123 22.3847 7.58675L22.6825 7.82222L16.0004 14.5064L14.4609 12.9668C15.2774 11.9146 15.8338 10.6844 16.0846 9.37639C16.3355 8.06838 16.2737 6.71961 15.9043 5.44001H15.9033ZM7.82425 9.31533L11.4588 12.9499C10.6308 13.5379 9.67379 13.9186 8.66813 14.0599C7.66247 14.2012 6.63759 14.099 5.67962 13.7619C6.03049 12.1304 6.76639 10.606 7.82425 9.31533ZM13.7639 5.6776C14.0842 6.58823 14.1926 7.55992 14.0808 8.51874C13.969 9.47755 13.64 10.3982 13.1188 11.2108L12.9519 11.4568L9.3163 7.82328C10.6066 6.7652 12.1306 6.02999 13.7618 5.67865L13.7639 5.6776Z">');const iP=t=>{const e=Ot(t);return(()=>{var n=rP();return ve(n,e,!0,!0),n})()};var sP=N('<svg viewBox="0 0 32 32"><path fill-rule=evenodd clip-rule=evenodd d="M14.5151 5.85694C15.4036 5.22477 16.5954 5.22477 17.4839 5.85694L19.104 7.00929C19.4192 7.23358 19.7811 7.38346 20.1626 7.44776L22.1235 7.77882C23.1986 7.9602 24.041 8.80234 24.2222 9.87745L24.5523 11.8374C24.6166 12.2189 24.7664 12.5818 24.9907 12.897L26.1441 14.5161C26.7762 15.4045 26.7761 16.5964 26.1441 17.4849L24.9907 19.105C24.7665 19.4202 24.6165 19.7822 24.5523 20.1636L24.2222 22.1245C24.0408 23.1995 23.1985 24.0418 22.1235 24.2232L20.1626 24.5532C19.7812 24.6175 19.4192 24.7675 19.104 24.9917L17.4839 26.145C16.5954 26.7771 15.4036 26.7772 14.5151 26.145L12.896 24.9917C12.5808 24.7674 12.2179 24.6175 11.8364 24.5532L9.87648 24.2232C8.80136 24.042 7.95922 23.1996 7.77784 22.1245L7.44679 20.1636C7.38249 19.7821 7.2326 19.4202 7.00831 19.105L5.85597 17.4849C5.22379 16.5964 5.22379 15.4046 5.85597 14.5161L7.00831 12.897C7.23261 12.5818 7.38249 12.2189 7.44679 11.8374L7.77784 9.87745C7.95907 8.80219 8.80122 7.96005 9.87648 7.77882L11.8364 7.44776C12.2179 7.38347 12.5808 7.23359 12.896 7.00929L14.5151 5.85694ZM21.5659 12.3726C21.078 11.8612 20.2678 11.8419 19.7564 12.3296L14.6987 17.1538L12.5425 15.189C12.0199 14.7131 11.2099 14.7514 10.7339 15.2739C10.2584 15.7964 10.2958 16.6056 10.8179 17.0816L13.8374 19.8306C13.965 19.9523 14.1117 20.0422 14.2681 20.1011C14.282 20.1063 14.296 20.111 14.3101 20.1157C14.332 20.1231 14.3542 20.1291 14.3765 20.1353C14.3928 20.1398 14.4089 20.1451 14.4253 20.1489C14.4535 20.1556 14.4818 20.1608 14.5103 20.1655C14.521 20.1673 14.5317 20.1689 14.5425 20.1704C14.5746 20.1749 14.6068 20.1782 14.6392 20.1802C14.647 20.1807 14.6548 20.1818 14.6626 20.1821C14.6987 20.1837 14.7349 20.1836 14.771 20.1821C14.7749 20.182 14.7788 20.1814 14.7827 20.1812C14.8125 20.1797 14.842 20.1769 14.8716 20.1734C14.8856 20.1717 14.8996 20.1706 14.9136 20.1685C14.9405 20.1644 14.967 20.1587 14.9937 20.1528C15.0063 20.1501 15.0192 20.1482 15.0317 20.145C15.0637 20.137 15.0951 20.1272 15.1265 20.1167C15.1326 20.1147 15.1389 20.113 15.145 20.1109C15.1712 20.1017 15.1966 20.0906 15.2222 20.0796C15.2391 20.0724 15.2563 20.0661 15.273 20.0581C15.2926 20.0487 15.3113 20.0374 15.3306 20.0269C15.3466 20.0182 15.3628 20.0099 15.3784 20.0005C15.3999 19.9875 15.421 19.9738 15.4419 19.9595C15.4571 19.9491 15.472 19.9384 15.4868 19.9273C15.5064 19.9126 15.5256 19.8973 15.5444 19.8814C15.5597 19.8684 15.5746 19.8551 15.5894 19.8413C15.5936 19.8374 15.5989 19.8346 15.603 19.8306L21.523 14.1821C22.0343 13.6942 22.0536 12.884 21.5659 12.3726Z">');const oP=t=>{const e=Ot(t);return(()=>{var n=sP();return ve(n,e,!0,!0),n})()};var aP=N('<svg viewBox="0 0 32 32">
11<path fill-rule=evenodd clip-rule=evenodd d="M24.3266 6.87283C24.5902 6.76234 24.8787 6.72423 25.1622 6.76248C25.4456 6.80072 25.7135 6.91391 25.9381 7.09027C26.1627 7.26664 26.3357 7.49972 26.4391 7.76527C26.5426 8.03082 26.5726 8.31912 26.5262 8.60016L24.1069 23.2145C23.8722 24.6242 22.319 25.4326 21.0208 24.7304C19.9349 24.143 18.322 23.2379 16.8712 22.2935C16.1458 21.8207 13.9238 20.3069 14.1969 19.2297C14.4316 18.3087 18.1652 14.8477 20.2986 12.79C21.136 11.9815 20.7541 11.5152 19.7653 12.2588C17.3096 14.1051 13.367 16.9128 12.0635 17.7032C10.9135 18.4001 10.314 18.519 9.59717 18.4001C8.28936 18.1834 7.07649 17.8477 6.08656 17.4387C4.74888 16.8863 4.81395 15.0548 6.08549 14.5215L24.3266 6.87283Z"></path><mask maskUnits=userSpaceOnUse x=0 y=0 width=32 height=32 style=mask-type:alpha><path fill-rule=evenodd clip-rule=evenodd d="M24.3266 6.87283C24.5902 6.76234 24.8787 6.72423 25.1622 6.76248C25.4456 6.80072 25.7135 6.91391 25.9381 7.09027C26.1627 7.26664 26.3357 7.49972 26.4391 7.76527C26.5426 8.03082 26.5726 8.31912 26.5262 8.60016L24.1069 23.2145C23.8722 24.6242 22.319 25.4326 21.0208 24.7304C19.9349 24.143 18.322 23.2379 16.8712 22.2935C16.1458 21.8207 13.9238 20.3069 14.1969 19.2297C14.4316 18.3087 18.1652 14.8477 20.2986 12.79C21.136 11.9815 20.7541 11.5152 19.7653 12.2588C17.3096 14.1051 13.367 16.9128 12.0635 17.7032C10.9135 18.4001 10.314 18.519 9.59717 18.4001C8.28936 18.1834 7.07649 17.8477 6.08656 17.4387C4.74888 16.8863 4.81395 15.0548 6.08549 14.5215L24.3266 6.87283Z"></path></mask><g><rect x=3.6539 y=23.7553 width=10.2773 height=32.3164 transform="rotate(-130.349 3.6539 23.7553)"fill="var(--icon-mx-green, transparent)"></rect><rect x=13.9002 y=37.6281 width=10.2773 height=32.3164 transform="rotate(-130.349 13.9002 37.6281)"fill="var(--icon-mx-red, transparent)">');const cP=t=>{const e=Ot(t),n=Gr();return(()=>{var r=aP(),i=r.firstChild,s=i.nextSibling,o=s.nextSibling;return ve(r,e,!0,!0),We(s,"id",`mask_icon_telegram_mx_${n}`),We(o,"mask",`url(#mask_icon_telegram_mx_${n})`),r})()};var lP=N('<svg viewBox="0 0 32 32"><path fill-rule=evenodd clip-rule=evenodd d="M16 5.43945C21.832 5.43945 26.5603 10.1671 26.5605 15.999C26.5605 21.8312 21.8321 26.5596 16 26.5596C10.1681 26.5593 5.44043 21.831 5.44043 15.999C5.44066 10.1672 10.1682 5.43969 16 5.43945ZM20.1543 11.8721C19.6544 11.3722 18.8436 11.3722 18.3438 11.8721L16.0244 14.1914L13.7051 11.8721C13.2052 11.3722 12.3944 11.3722 11.8945 11.8721C11.3947 12.3719 11.3947 13.1827 11.8945 13.6826L14.2139 16.002L11.8945 18.3213C11.395 18.8212 11.3948 19.6321 11.8945 20.1318C12.3943 20.6316 13.2052 20.6313 13.7051 20.1318L16.0244 17.8125L18.3438 20.1318C18.8437 20.6313 19.6546 20.6316 20.1543 20.1318C20.654 19.6321 20.6538 18.8212 20.1543 18.3213L17.835 16.002L20.1543 13.6826C20.6541 13.1828 20.6541 12.3719 20.1543 11.8721Z">');const uP=t=>{const e=Ot(t);return(()=>{var n=lP();return ve(n,e,!0,!0),n})()};var fP=N('<svg viewBox="0 0 32 32"><path d="M24.2703 8.16999C24.3625 8.06451 24.4331 7.9419 24.4779 7.80915C24.5228 7.67641 24.541 7.53612 24.5317 7.39631C24.5223 7.25651 24.4855 7.11991 24.4234 6.99433C24.3612 6.86874 24.2749 6.75663 24.1695 6.66439C24.064 6.57215 23.9414 6.50159 23.8086 6.45673C23.6759 6.41188 23.5356 6.39361 23.3958 6.40297C23.256 6.41233 23.1194 6.44914 22.9938 6.51129C22.8682 6.57344 22.7561 6.65971 22.6639 6.76519L17.2132 12.9945L12.5871 6.82706C12.4877 6.69458 12.3589 6.58706 12.2108 6.513C12.0626 6.43895 11.8993 6.40039 11.7337 6.40039H7.46706C7.26897 6.40039 7.07479 6.45555 6.90628 6.5597C6.73777 6.66384 6.60159 6.81285 6.513 6.99003C6.42441 7.16721 6.38691 7.36556 6.4047 7.56285C6.42249 7.76014 6.49487 7.94858 6.61372 8.10706L13.4799 17.2612L7.73053 23.8319C7.63828 23.9373 7.56772 24.06 7.52287 24.1927C7.47801 24.3255 7.45974 24.4657 7.4691 24.6055C7.47847 24.7453 7.51527 24.8819 7.57742 25.0075C7.63957 25.1331 7.72585 25.2452 7.83132 25.3375C7.9368 25.4297 8.05942 25.5003 8.19216 25.5451C8.32491 25.59 8.46519 25.6082 8.605 25.5989C8.74481 25.5895 8.8814 25.5527 9.00699 25.4906C9.13257 25.4284 9.24468 25.3421 9.33693 25.2367L14.7876 19.0063L19.4137 25.1737C19.5131 25.3062 19.6419 25.4137 19.79 25.4878C19.9381 25.5618 20.1015 25.6004 20.2671 25.6004H24.5337C24.7318 25.6004 24.926 25.5452 25.0945 25.4411C25.263 25.3369 25.3992 25.1879 25.4878 25.0108C25.5764 24.8336 25.6139 24.6352 25.5961 24.4379C25.5783 24.2406 25.5059 24.0522 25.3871 23.8937L18.5209 14.7396L24.2703 8.16999Z"></path><mask maskUnits=userSpaceOnUse x=0 y=0 width=32 height=32 style=mask-type:alpha><path d="M24.2703 8.16999C24.3625 8.06451 24.4331 7.9419 24.4779 7.80915C24.5228 7.67641 24.541 7.53612 24.5317 7.39631C24.5223 7.25651 24.4855 7.11991 24.4234 6.99433C24.3612 6.86874 24.2749 6.75663 24.1695 6.66439C24.064 6.57215 23.9414 6.50159 23.8086 6.45673C23.6759 6.41188 23.5356 6.39361 23.3958 6.40297C23.256 6.41233 23.1194 6.44914 22.9938 6.51129C22.8682 6.57344 22.7561 6.65971 22.6639 6.76519L17.2132 12.9945L12.5871 6.82706C12.4877 6.69458 12.3589 6.58706 12.2108 6.513C12.0626 6.43895 11.8993 6.40039 11.7337 6.40039H7.46706C7.26897 6.40039 7.07479 6.45555 6.90628 6.5597C6.73777 6.66384 6.60159 6.81285 6.513 6.99003C6.42441 7.16721 6.38691 7.36556 6.4047 7.56285C6.42249 7.76014 6.49487 7.94858 6.61372 8.10706L13.4799 17.2612L7.73053 23.8319C7.63828 23.9373 7.56772 24.06 7.52287 24.1927C7.47801 24.3255 7.45974 24.4657 7.4691 24.6055C7.47847 24.7453 7.51527 24.8819 7.57742 25.0075C7.63957 25.1331 7.72585 25.2452 7.83132 25.3375C7.9368 25.4297 8.05942 25.5003 8.19216 25.5451C8.32491 25.59 8.46519 25.6082 8.605 25.5989C8.74481 25.5895 8.8814 25.5527 9.00699 25.4906C9.13257 25.4284 9.24468 25.3421 9.33693 25.2367L14.7876 19.0063L19.4137 25.1737C19.5131 25.3062 19.6419 25.4137 19.79 25.4878C19.9381 25.5618 20.1015 25.6004 20.2671 25.6004H24.5337C24.7318 25.6004 24.926 25.5452 25.0945 25.4411C25.263 25.3369 25.3992 25.1879 25.4878 25.0108C25.5764 24.8336 25.6139 24.6352 25.5961 24.4379C25.5783 24.2406 25.5059 24.0522 25.3871 23.8937L18.5209 14.7396L24.2703 8.16999Z"></path></mask><g><rect x=3.88307 y=26.8334 width=14.5223 height=32.3164 transform="rotate(-138.539 3.88307 26.8334)"fill="var(--icon-mx-green, transparent)"></rect><rect x=18.4409 y=40.3135 width=13.8768 height=32.3164 transform="rotate(-138.346 18.4409 40.3135)"fill="var(--icon-mx-red, transparent)">');const dP=t=>{const e=Ot(t),n=Gr();return(()=>{var r=fP(),i=r.firstChild,s=i.nextSibling,o=s.nextSibling;return ve(r,e,!0,!0),We(s,"id",`mask_icon_twitter_mx_${n}`),We(o,"mask",`url(#mask_icon_twitter_mx_${n})`),r})()};var hP=N('<svg viewBox="0 0 32 32">
11<path fill-rule=evenodd clip-rule=evenodd d="M16.3204 6.08008C10.8416 6.08008 6.40039 10.5213 6.40039 16.0001C6.40039 17.875 6.92119 19.6308 7.82689 21.1267L6.94202 24.1345C6.89122 24.3072 6.88787 24.4904 6.93234 24.6648C6.97682 24.8392 7.06746 24.9984 7.19474 25.1257C7.32203 25.253 7.48125 25.3436 7.65568 25.3881C7.83011 25.4326 8.0133 25.4292 8.18599 25.3784L11.1937 24.4936C12.7399 25.4291 14.5132 25.9225 16.3204 25.9201C21.7992 25.9201 26.2404 21.4789 26.2404 16.0001C26.2404 10.5213 21.7992 6.08008 16.3204 6.08008ZM14.0765 18.245C16.0833 20.2508 17.9988 20.5157 18.6754 20.5405C19.7041 20.5782 20.706 19.7925 21.0959 18.8808C21.1451 18.7674 21.163 18.6429 21.1476 18.5202C21.1322 18.3975 21.0842 18.2812 21.0086 18.1835C20.465 17.4891 19.7299 16.9901 19.0117 16.4941C18.8617 16.3904 18.6775 16.3488 18.4975 16.378C18.3176 16.4073 18.1559 16.505 18.0465 16.6508L17.4513 17.5585C17.42 17.6073 17.3712 17.6423 17.315 17.6563C17.2587 17.6703 17.1992 17.6623 17.1487 17.6339C16.745 17.4028 16.1567 17.0099 15.7341 16.5873C15.3115 16.1647 14.9425 15.6033 14.7352 15.2253C14.7095 15.1773 14.702 15.1216 14.7143 15.0685C14.7265 15.0154 14.7575 14.9686 14.8016 14.9367L15.7182 14.2561C15.8491 14.1424 15.9335 13.9845 15.9554 13.8126C15.9774 13.6406 15.9353 13.4666 15.8373 13.3237C15.3929 12.6729 14.875 11.8456 14.1241 11.297C14.0272 11.2268 13.9137 11.183 13.7947 11.1699C13.6757 11.1569 13.5554 11.175 13.4456 11.2226C12.5329 11.6135 11.7433 12.6154 11.781 13.6461C11.8058 14.3226 12.0707 16.2382 14.0765 18.245Z"></path><mask maskUnits=userSpaceOnUse x=0 y=0 width=32 height=32 style=mask-type:alpha><path fill-rule=evenodd clip-rule=evenodd d="M16.3204 6.08008C10.8416 6.08008 6.40039 10.5213 6.40039 16.0001C6.40039 17.875 6.92119 19.6308 7.82689 21.1267L6.94202 24.1345C6.89122 24.3072 6.88787 24.4904 6.93234 24.6648C6.97682 24.8392 7.06746 24.9984 7.19474 25.1257C7.32203 25.253 7.48125 25.3436 7.65568 25.3881C7.83011 25.4326 8.0133 25.4292 8.18599 25.3784L11.1937 24.4936C12.7399 25.4291 14.5132 25.9225 16.3204 25.9201C21.7992 25.9201 26.2404 21.4789 26.2404 16.0001C26.2404 10.5213 21.7992 6.08008 16.3204 6.08008ZM14.0765 18.245C16.0833 20.2508 17.9988 20.5157 18.6754 20.5405C19.7041 20.5782 20.706 19.7925 21.0959 18.8808C21.1451 18.7674 21.163 18.6429 21.1476 18.5202C21.1322 18.3975 21.0842 18.2812 21.0086 18.1835C20.465 17.4891 19.7299 16.9901 19.0117 16.4941C18.8617 16.3904 18.6775 16.3488 18.4975 16.378C18.3176 16.4073 18.1559 16.505 18.0465 16.6508L17.4513 17.5585C17.42 17.6073 17.3712 17.6423 17.315 17.6563C17.2587 17.6703 17.1992 17.6623 17.1487 17.6339C16.745 17.4028 16.1567 17.0099 15.7341 16.5873C15.3115 16.1647 14.9425 15.6033 14.7352 15.2253C14.7095 15.1773 14.702 15.1216 14.7143 15.0685C14.7265 15.0154 14.7575 14.9686 14.8016 14.9367L15.7182 14.2561C15.8491 14.1424 15.9335 13.9845 15.9554 13.8126C15.9774 13.6406 15.9353 13.4666 15.8373 13.3237C15.3929 12.6729 14.875 11.8456 14.1241 11.297C14.0272 11.2268 13.9137 11.183 13.7947 11.1699C13.6757 11.1569 13.5554 11.175 13.4456 11.2226C12.5329 11.6135 11.7433 12.6154 11.781 13.6461C11.8058 14.3226 12.0707 16.2382 14.0765 18.245Z"></path></mask><g><rect x=1.6539 y=23.7553 width=10.2773 height=32.3164 transform="rotate(-130.349 1.6539 23.7553)"fill="var(--icon-mx-green, transparent)"></rect><rect x=9.90021 y=39.6281 width=10.2773 height=32.3164 transform="rotate(-130.349 9.90021 39.6281)"fill="var(--icon-mx-red, transparent)">');const gP=t=>{const e=Ot(t),n=Gr();return(()=>{var r=hP(),i=r.firstChild,s=i.nextSibling,o=s.nextSibling;return ve(r,e,!0,!0),We(s,"id",`mask_icon_whatsapp_mx_${n}`),We(o,"mask",`url(#mask_icon_whatsapp_mx_${n})`),r})()},pP=[{link:"https://t.me/bcgamewin",icon:cP,label:"Telegram"},{link:"https://github.com/bcgame-project",icon:ZR,label:"GitHub"},{link:"https://x.com/bcgame",icon:dP,label:"Twitter"},{link:"https://www.facebook.com/bcgameofficial",icon:YR,label:"Facebook"},{link:"https://discord.gg/xqUMQesZQq",icon:VR,label:"Discord"},{link:"https://whatsapp.com/channel/0029VbBWXcg1SWsyoRzjrd3Q",icon:gP,label:"WhatsApp"},{link:"https://instagram.com/bcgame",icon:eP,label:"Instagram"},{link:"https://t.me/bcgamesports",icon:iP,label:"Sports"}],mP="/assets/logo-CBzjipjR.png",yP="/assets/logo_lottery-CDaRH7PT.png",vP="/assets/logo_w-Vb58juxx.png",bP="/assets/logo_small-Dbd76z3h.png",wP="/assets/logo_small-Dbd76z3h.png",_P="/assets/logo_pure-B25fAikd.png",CP="/assets/logo_pure_w-CoagDijl.png",Fp="/assets/black-D14oMBIT.png",xP="/assets/empty-6mO-ndW8.png",SP="/assets/empty_w-CTX75UaH.png",EP="/assets/notfound-CNxcUDxG.png",AP="/assets/notfound_w-B2uTEgLw.png",TP="/assets/offline-869dMdSB.png",OP="/assets/offline_w-Bs0d9fHW.png",kP="/assets/privacy-CRLXuZNd.png",RP="/assets/privacy_w-DF8yghkV.png",PP="/assets/ban-DoymkTBV.png",DP="/assets/ban_w-CJyH3KEH.png",IP={logo:{base:[mP,vP],small:[bP,wP],pure:[_P,CP],black:[Fp,Fp],lottery:[yP]},empty:{empty:[xP,SP],notfound:[EP,AP],offline:[TP,OP],privacy:[kP,RP],ban:[PP,DP]},communities:pP,icons:{Close:HR,Arrow:MR,Search:nP,Calendar:UR,Caution:qR,Success:oP,Tipsicon:uP,Attention:BR,Exit:KR}},LP={runtime_config:IP};var $P=typeof global=="object"&&global&&global.Object===Object&&global,MP=typeof self=="object"&&self&&self.Object===Object&&self,NP=$P||MP||Function("return this")(),Xc=NP.Symbol,Pb=Object.prototype,BP=Pb.hasOwnProperty,FP=Pb.toString,go=Xc?Xc.toStringTag:void 0;function UP(t){var e=BP.call(t,go),n=t[go];try{t[go]=void 0;var r=!0}catch(s){}var i=FP.call(t);return r&&(e?t[go]=n:delete t[go]),i}var zP=Object.prototype,qP=zP.toString;function jP(t){return qP.call(t)}
11var HP="[object Null]",WP="[object Undefined]",Up=Xc?Xc.toStringTag:void 0;function VP(t){return t==null?t===void 0?WP:HP:Up&&Up in Object(t)?UP(t):jP(t)}function XP(t){return t!=null&&typeof t=="object"}var KP="[object Symbol]";function GP(t){return typeof t=="symbol"||XP(t)&&VP(t)==KP}var YP=/\s/;function JP(t){for(var e=t.length;e--&&YP.test(t.charAt(e)););return e}var ZP=/^\s+/;function QP(t){return t&&t.slice(0,JP(t)+1).replace(ZP,"")}function zp(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var qp=NaN,eD=/^[-+]0x[0-9a-f]+$/i,tD=/^0b[01]+$/i,nD=/^0o[0-7]+$/i,rD=parseInt;function iD(t){if(typeof t=="number")return t;if(GP(t))return qp;if(zp(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=zp(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=QP(t);var n=tD.test(t);return n||nD.test(t)?rD(t.slice(2),n?2:8):eD.test(t)?qp:+t}var jp=1/0,sD=17976931348623157e292;function oD(t){if(!t)return t===0?t:0;if(t=iD(t),t===jp||t===-jp){var e=t<0?-1:1;return e*sD}return t===t?t:0}function aD(t){var e=oD(t),n=e%1;return e===e?n?e-n:e:0}var cD="Expected a function";function lD(t,e){var n;if(typeof e!="function")throw new TypeError(cD);return t=aD(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}function f0(t){return lD(2,t)}const uD="production",fD=()=>va(()=>import("./sensorsdata-BrXnYyGS.js"),[]).then(t=>t.default);function ar(t){return te(this,null,function*(){try{return yield t(yield fD())}catch(e){return}})}function Db(){return re.app.isTgWebapp?"tgapp":re.app.isAPP?"app":re.app.isPWA?"pwa":"web"}function dD(){const t=Db();return Dy()?`${t}_android`:Py()?`${t}_ios`:`${t}_other`}function hD(t){t.registerPropertyPlugin({isMatchedWithFilter:e=>e.type==="track"||e.type==="track_signup"||e.type==="track_id_bind"||e.type==="track_id_unbind",properties:e=>{e.properties.app_run_env=dD(),e.properties.platform=Db()}})}const gD=f0(()=>{const t=re.initSearchParams.get("trace_id")||"";try{return t?(localStorage.setItem("_da_trace_id",t),t):localStorage.getItem("_da_trace_id")||""}catch(e){return t}});function Ib(t,e={}){const n=gD(),r=q(de(q({},e),{area_code:Ce.areaCode}),n?{trace_id:n}:{});return ar(i=>i.track(t,r))}const pD=/^http/;let Hp="";function mD({url:t,referrer:e=Hp,title:n=""}){if(!t)return;const r=window.location.origin;return Hp=t,ar(i=>i.quick("autoTrackSinglePage",{$url:`${r}${t}`,$url_path:t,$referrer:pD.test(e)?e:`${r}${e}`,$title:n}))}function yD(t){return ar(e=>te(null,null,function*(){const n=yield ar(r=>r.getPresetProperties());e.setOnceProfile(q({regist_utm_source:n==null?void 0:n.$latest_utm_source},t))}))}function vD(t){return ar(e=>e.setProfile(q({},t)))}function bD({userId:t,level:e}){return ar(n=>{n.login(String(t)),n.registerPage({level:()=>Number(e)})})}function wD(){return ar(t=>t.logout())}const _D=["resizeobserver loop","seed in use","failed to start the audio device","image load error!","insufficient balance.","refresh please.","network error!"];function CD(t){var e,n;try{const i=(typeof t.stack=="string"?t.stack:"").split(`
12`);if(i.length<=2)return"";const s=String((e=i[1])!=null?e:"").replace(/.*\//,"");return`${String((n=i[i.length-1])!=null?n:"").replace(/.*\//,"")}->${s}`}catch(r){return""}}function wf(t,e=""){try{const n=t==null?void 0:t.message;if(typeof n!="string"||n.length===0)return;const r=n.toLowerCase();if(_D.some(s=>r.includes(s)))return;const i=t.tip;Ib("error_notification",{error_content:typeof i=="string"&&i?`${n}[${i}]`:n,error_type:e||CD(t),error_id:"0"})}catch(n){}}function xD(){globalThis.addEventListener("error",t=>{if(t.error){wf(t.error);return}const n=`${(typeof t.filename=="string"?t.filename:"").replace(/.*\//,"")}:${t.lineno||0}:${t.colno||0}`;n!==":0:0"&&wf(new Error(t.message),n)}),globalThis.addEventListener("unhandledrejection",t=>{t.reason&&wf(typeof t.reason=="string"?new Error(t.reason):t.reason)})}const SD=f0(()=>ar(t=>new Promise(e=>{t.quick("isReady",()=>e(t.quick("getAnonymousID")))})));function ED(){return te(this,null,function*(){return(yield ar(e=>te(null,null,function*(){return e.store.getDistinctId()||(yield SD())})))||"empty_distinct_id"})}function AD(t){const e=re.initSearchParams.get("trace_id");if(e)try{t.identify(e)}catch(n){}}function TD(t){var n;if(re.initSearchParams.has("utm_source"))return;const e=(n=document.cookie.match(/utm_source=(.*?);/))==null?void 0:n[1];e&&(document.cookie="utm_source=;expires=Thu, 01 Jan 1970 00:00:01 GMT",t.store.setProps({$latest_utm_source:e}))}const OD=f0(()=>te(null,null,function*(){const e="87dea791";yield ar(n=>{hD(n),window.sensorsdata_trackurl=`https://collect.ccsccorp.com/api/dlog/v1/collect?appId=bc&token=${e}`,n.use("SiteLinker",{linker:[{part_url:"onelink.me",after_hash:!1}]}),AD(n),n.init({server_url:`https://collect.analyse.lnearn.com/sa?project=${uD}`,show_log:!1,heatmap:{clickmap:"not_collect"},source_channel:["stag"],batch_send:{datasend_timeout:6e4,send_interval:5e3,storage_length:200}}),TD(n),n.registerPage({lang:()=>xe.lang,theme:()=>xe.theme,system_date:String(new Date().getTimezoneOffset()/-60)})}),xD()})),kD=new Map([["_profile_set_once",yD],["_login_user",bD],["_logout_user",wD],["_profile_set",vD]]);function VI(t,e){const n=kD.get(t);if(n){n(e);return}Ib(t,e)}const RD={init:OD,trackPageView:mD,getDistinctId:ED};function PD(){return te(this,null,function*(){yield Wn(()=>!Ce._isStale);const t=Ce.login?String(Ce.userId):yield RD.getDistinctId();return{areaCode:Ce.areaCode,distinctId:t}})}const Wp=An();Wp.on("pong",t=>{t>Ol(2,31)||Wp.engine.transport.ws.send(Uint8Array.of(9,t>>24&255,t>>16&255,t>>8&255,t>>0&255).buffer)});const XI=t=>PD().then(t),Lb={jsBridge:{method:"postMessage",stringify:!1},jsbridge:{method:"postMessage",stringify:!1},ANDROID_JS_BRIDGE:{method:"gree_page",stringify:!1},android:{method:"bcMessage",stringify:!0}},DD=Object.keys(Lb),ID=t=>
12globalThis[t],LD=t=>{var e;return typeof((e=ID(t))==null?void 0:e[Lb[t].method])=="function"},$D=()=>DD.some(LD),Vp="app_run_env",Xp="3";function MD(t){if(!t.mobile)return!1;if(t.mjb||$D()){try{localStorage.setItem(Vp,Xp)}catch(e){}return!0}try{return localStorage.getItem(Vp)===Xp}catch(e){return!1}}const ND=[["USD","$","US",!1,"US Dollar"],["BRL","R$","BR",!0,"Brazil"],["INR","₹","IN",!0,"India"],["EUR","€","",!1,"Euro"],["RUB","₽","RU",!0,"Russia"],["NGN","₦","NG",!1,"Nigeria"],["IDR","Rp","ID",!0,"Indonesia"],["BDT","à§³","BD",!1,"Bangladesh"],["PHP","₱","PH",!0,"Philippine"],["VND","₫","VN",!0,"Vietnam"],["THB","฿","TH",!0,"Thailand"],["KZT","₸","KZ",!0,"Kazakhstani tenge"],["MAD","د.م.","MA",!1,"Morocco"],["ZAR","R","ZA",!1,"South Africa"],["PLN","zł","PL",!1,"Poland"],["CUP","₱","CU",!1,"Cuba"],["KRW","₩","KR",!1,"Korea"],["JPY","Â¥","JP",!1,"Japan"],["GBP","£","GB",!1,"United Kingdom"],["HRK","kn","HR",!1,"Croatia"],["ISK","kr","IS",!1,"Iceland"],["HUF","Ft","HU",!1,"Hungary"],["NOK","kr","NO",!1,"Norwegian"],["NZD","$","CK",!1,"New Zealand Dollar"],["ARS","$","AR",!1,"Argentina Peso"],["MXN","MEX$","MX",!1,"Mexico Peso"],["AUD","AU$","AU",!1,"Australia Dollar"],["TRY","₺","TR",!1,"Turkey Lira"],["IRR","ï·¼","IR",!1,"Iran Rial"],["AED","د.Ø¥","AE",!1,"UAE-Dirham"],["CAD","CA$","CA",!1,"Canada Dollar"],["UAH","₴","UA",!1,"Ukraine Hryvnia"],["CZK","Kč","CZ",!1,"Czech Republic Koruna"],["LKR","₨","LK",!1,"Sri Lanka Rupee"],["ILS","₪","IL",!1,"Israel Shekel"],["EGP","£","EG",!1,"Egypt Pound"],["PKR","₨","PK",!1,"Pakistan Rupee"],["GHS","¢","GH",!1,"Ghana Cedi"],["VEF","Bs","VE",!1,"Venezuela Bolívar"],["PEN","S/.","PE",!1,"Peru Sol"],["RON","lei","RO",!1,"Romania Leu"],["BGN","лв","BG",!1,"Bulgaria Lev"],["RSD","Дин.","RS",!1,"Serbia Dinar"],["CLP","CLP$","CL",!1,"Chile Peso"],["KES","KSh","KSh",!1,"Kenya Shilling"],["AZN","₼","AZ",!1,"Azerbaijani Manat"],["KGS","сом","KG",!1,"Kyrgyzstani Som"],["MDL","L","MD",!1,"Moldovan Leu"],["MYR","RM","MY",!1,"Malaysian Ringgit"],["COP","Col$","CO",!1,"Colombian Peso"],["XOF","CFA","XOF",!1,"West African CFA franc"],["XAF","FCFA","XA",!1,"Central African CFA franc"],["UZS","soÊ»m","UZ",!1,"Uzbekistani Som"],["UGX","USh","UG",!1,"Ugandan Shilling"],["TWD","NT$","TW",!1,"New Taiwan Dollar"],["CNY","Â¥","CN",!1,"Chinese Yuan"],["AMD","֏","AM",!1,"Armenian Dram"]],BD={en:["English","en-US"]};function FD(){return pd.length?Object.fromEntries(pd.map(([t,e,n])=>[t,[e,n]])):BD}_h({mode:{dev:!1,test:!1,stage:!1,prod:!0},license:{host:"bc.game",site:"BC",mascot:"COCO",bcl:"BCL",platformCoin:"BCD",freeCoin:"JB"},email:{support:"[email protected]",feedback:"[email protected]",security:"[email protected]",business:"[email protected]",recovery:"[email protected]"},imgHost:"img2.distributedresourcestorage.com",host:window.location.hostname,GITHUB:"bcgame-project",ISHUMEI_KEY:"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC1H4eR+xoG7K9NIBf3K6PmfnRsGkaH3aGz9A/XkYhIQdrN6XKBWt6fnxEqDe1Xp27o/VOd02JPNG6JKkJ8pVyjjUXdukNkbKADzxEYmkLn/7O5hpgHMHWiZ6iKTNlDWAQ96viViXa4Bq1Ju1u3DWnH9m+6Sz1zEAQOLH6XnQSS8QIDAQAB",WALLET_CONNECT_PROJECT_ID:"7312b2cd1e88e3734b150df3a241c477",GOOGLE_KEY:"36897522347-eotiq46nvilc5p10653s4mtbs8405sbn.apps.googleusercontent.com",langs:FD(),localCurrencyConfig:ND,inActive:!1,brandColor:"#24EE89",app:{isPWA:window.matchMedia("(display-mode: standalone)").matches,isAPP:MD({mobile:re.mobile,mjb:re.initSearchParams.get("_mjb")}),isTgWebapp:re.app.isTgWebapp,tgPlatform:re.app.tgPlatform}});const Kp="app_run_device_id";function UD(){return console.warn("crypto.randomUUID() is not available. Using Math.random() fallback."),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,n=t==="x"?e:e&3|8;return n.toString(16)})}function Gp(){return self.crypto&&self.crypto.randomUUID?self.crypto.randomUUID():UD()}let _f;function $b(){if(_f)return _f;let t;try{const e=localStorage.getItem(Kp);e?t=e:(t=Gp(),localStorage.setItem(Kp,t))}catch(e){t=Gp()}return _f=t,t}const zD=/(?:error loading|failed to fetch) dynamically imported module|importing a module script failed|importing binding name/i;function qD(t){return zD.test(t)}let Mb=!1;typeof window!="undefined"&&window.addEventListener("pagehide",()=>{Mb=!0},{once:!0});const Yp="sentry_error_occurrence_cache",Cf=10080*60*1e3;function xf(){return Ce.userId?String(Ce.userId):$b()}class cs{constructor(){this.data=this.load()}static get(){return cs.instance||(cs.instance=new cs),cs.instance}peek(e){const n=xf();if(this.data.userId!==n)return!0;const r=this.data.records[e];return r?Date.now()-r.lastSeen>Cf:!0}touch(e){const n=xf();this.data.userId!==n&&(this.data=this.empty(n));const r=Date.now(),i=this.data.records[e];return i?(i.count++,i.lastSeen=r,this.persist(),!1):(this.data.records[e]={count:1,firstSeen:r,lastSeen:r},this.persist(),!0)}load(){const e=xf();try{const n=localStorage.getItem(Yp);if(n){const r=JSON.parse(n);if(r.userId===e&&Date.now()-r.createdAt<Cf){for(const i in r.records)Date.now()-r.records[i].lastSeen>Cf&&delete r.records[i];return r}}}catch(n){}return this.empty(e)}persist(){try{localStorage.setItem(Yp,JSON.stringify(this.data))}catch(e){}}empty(e){return{userId:e,records:{},createdAt:Date.now()}}}function _o(t){var e,n,r;return((r=(n=(e=t.exception)==null?void 0:e.values)==null?void 0:n[0])==null?void 0:r.value)||t.message||""}function jD(t){const e=t.trim();return e?/^no error message$/i.test(e):!0}function HD(t,e){var s,o,a,c;const n=(o=(s=t.exception)==null?void 0:s.values)==null?void 0:o[0],r=(c=(a=n==null?void 0:n.value)!=null?a:t.message)!=null?c:"";if(!jD(r))return"keep";const i=e.originalException;if(i instanceof ji&&i.meta.url){const u=`${i.meta.url.split("?")[0]} No Response`;return n&&(n.value=u),t.message=u,"rewritten"}return"drop"}function Jp(t){var e,n,r,i,s,o;return(o=(s=(i=(r=(n=(e=t.exception)==null?void 0:e.values)==null?void 0:n[0])==null?void 0:r.stacktrace)==null?void 0:i.frames)==null?void 0:s.length)!=null?o:0}function WD(t,e){var r,i,s,o,a;return((a=(o=(s=(i=(r=t.exception)==null?void 0:r.values)==null?void 0:i[0])==null?void 0:s.stacktrace)==null?void 0:o.frames)!=null?a:[]).some(({filename:c=""})=>e.some(l=>typeof l=="string"?c.includes(l):l.test(c)))}function Zp(t){return t.replace(/https?:\/\/\S+/g,"<url>").replace(/\/[a-z]{2}\/[\w/-]+/g,"<path>").replace(/\b[0-9a-f]{8,}\b/gi,"<id>").replace(/\b\d+\b/g,"<n>").trim()}function VD(t){var n,r,i,s,o;const e=(r=(n=t.exception)==null?void 0:n.values)==null?void 0:r[0];if(e){const a=(i=e.stacktrace)==null?void 0:i.frames,c=a==null?void 0:a[a.length-1];return[e.type,Zp((s=e.value)!=null?s:""),c==null?void 0:c.filename,c==null?void 0:c.lineno].join("|")}return Zp((o=t.message)!=null?o:"")}function XD(t={}){var e,n,r,i,s,o,a,c,l,u,f,d,h,g,p,m,y,v,b,w,_,S,x,E,A,P,T;return{noise:(e=t.noise)!=null?e:1e-4,network:(n=t.network)!=null?n:.001,networkJitter:(r=t.networkJitter)!=null?r:0,http:{enabled:(s=(i=t.http)==null?void 0:i.enabled)!=null?s:!0,http4xx:(a=(o=t.http)==null?void 0:o.http4xx)!=null?a:.001,http5xx:{first:(u=(l=(c=t.http)==null?void 0:c.http5xx)==null?void 0:l.first)!=null?u:1,repeat:(h=(d=(f=t.http)==null?void 0:f.http5xx)==null?void 0:d.repeat)!=null?h:.01}},biz:{first:(p=(g=t.biz)==null?void 0:g.first)!=null?p:1,repeat:(y=(m=t.biz)==null?void 0:m.repeat)!=null?y:.01,byBizCode:(b=(v=t.biz)==null?void 0:v.byBizCo
12de)!=null?b:{}},business:{first:(_=(w=t.business)==null?void 0:w.first)!=null?_:1,repeat:(x=(S=t.business)==null?void 0:S.repeat)!=null?x:.01},longTail:{first:(A=(E=t.longTail)==null?void 0:E.first)!=null?A:1,repeat:(T=(P=t.longTail)==null?void 0:P.repeat)!=null?T:.001}}}const KD=[{pattern:/Failed to execute '(?:insertBefore|removeChild|removeNode)' on 'Node'|The object can not be found here|Node\.(?:insertBefore|removeChild|replaceChild):/,action:"report",reason:"DOM 竞态:本仓库自身会抛(WT-23455 弹窗 Portal 占位标记被复用),需要可见"},{pattern:/Error: Please bet again/,action:"drop",reason:"业务态:请重新下注"},{pattern:/CHAT user not init/,action:"drop",reason:"业务态:聊天未初始化"},{pattern:/requestDeviceId/,action:"noise",reason:"typex SDK device_id 接口偶发失败,login 已兜底返回 ok:false(WT-20106)"},{pattern:/param_no_game_url/,action:"drop",reason:"业务态:缺游戏 URL 参数(前端已引导)"},{pattern:/Oops! We lost your network/,action:"drop",reason:"用户网络断开(前端已有 Toast)"},{pattern:/Unknown error/,action:"drop",reason:"空语义,无法 debug"},{pattern:/Error invoking post: Method not found/,action:"drop",reason:"bridge 方法缺失"},{pattern:/undefined is not an object \(evaluating 'a\.pixel'\)/,action:"drop",reason:"GTM 三方脚本"},{pattern:/Unable to preload CSS/,action:"drop",reason:"地域性问题(PK/IN/NG)"},{pattern:/SecurityError: Failed to read the 'cssRules' property from 'CSSStyleSheet'/,action:"drop",reason:"Chrome Mobile cssRules"},{pattern:/Load Script Error/,action:"drop",reason:"脚本加载失败(低信噪比)"},{pattern:/RangeError: Maximum call stack size exceeded/,action:"drop",reason:"栈溢出(根因另排查)"},{pattern:/maximumFractionDigits (is|value is) out of range/,action:"drop",reason:"数字格式化边界,非业务 bug"},{pattern:/^betby .+ failed:/,action:"drop",reason:"betby 上游服务错误(已重试 3 次 + UI 兜底,前端不可修)"},{pattern:/Unexpected token '<'/,action:"noise",reason:"非 JS 资源被当脚本加载"},{pattern:/ResizeObserver loop/i,action:"noise",reason:"ResizeObserver 内部优化告警(非业务)"},{pattern:/^Script error\.?$/,action:"noise",reason:"跨域脚本(CORS sandbox 信息不全)"},{pattern:/^AbortError$|Fetch is aborted|The user aborted a request|aborted by user|cancelled by user|user aborted/i,action:"noise",reason:"用户主动取消(导航期间 fetch)"},{pattern:/Failed to fetch|NetworkError when attempting|ERR_NETWORK|ERR_INTERNET_DISCONNECTED|ERR_NAME_NOT_RESOLVED/i,action:"noise",reason:"用户网络异常"},{pattern:/Loading chunk \d+ failed/i,action:"noise",reason:"CDN / 缓存与新版本不一致"},{pattern:/chrome-extension:|moz-extension:|safari-web-extension:|webkit-masked-url/i,action:"noise",reason:"浏览器扩展干扰"},{pattern:/Cannot redefine property: (?:googletag|gtag)|window\.gtm|fbq is not defined/i,action:"noise",reason:"广告 / 埋点脚本错误"},{pattern:/WebViewJavascriptBridge is not defined/,action:"noise",reason:"iOS WebView bridge 未注入"},{pattern:/Flow cancelled/,action:"noise",reason:"用户操作取消"},{pattern:/Illegal invocation/,action:"noise",reason:"原生方法调用上下文错误"},{pattern:/DecimalError.*Invalid argument/,action:"noise",reason:"Decimal.js 非法参数(调用方问题)"},{pattern:/WebGL unsupported/,action:"noise",reason:"设备不支持 WebGL"},{pattern:/\.play is not a function/,action:"noise",reason:"自动播放 API 不兼容"},{pattern:/The object can not be found here/,action:"noise",reason:"Safari 历史导航问题"},{pattern:/webkit\.messageHandlers/,action:"noise",reason:"iOS WebKit bridge 未注入"},{pattern:/Can't find variable: webkit/,action:"noise",reason:"iOS WebKit bridge 全局变量未注入"},{pattern:/Can't find variable: zalo/,action:"noise",reason:"Zalo App 内置变量"},{pattern:/localStorage\.getItem/,action:"noise",reason:"localStorage 访问异常(隐私模式)"},{pattern:/URL\.createObjectURL is not a function/,action:"noise",reason:"API 不兼容"},{pattern:/Load failed/,action:"noise",reason:"网络资源加载失败(低信噪比)"},{pattern:/walletconnect/,action:"noise",reason:"WalletConnect 三方错误"},{pattern:/\.retargeting/,action:"noise",reason:"广告追踪脚本错误"}
12,{pattern:/"undefined" is not valid JSON/,action:"noise",reason:"JSON.parse undefined(调用方问题)"},{pattern:/Socket time\s?out|Connection timeout/i,action:"noise",reason:"Socket 超时"},{pattern:/JSON Parse error: Unexpected EOF|Unexpected end of JSON input/,action:"noise",reason:"JSON.parse 空响应(网络截断)"},{pattern:/Failed to read the 'responseText' property/,action:"noise",reason:"XHR responseType 不兼容(旧 WebView)"},{pattern:/history\.replaceState.+more than 100 times/,action:"noise",reason:"Firefox 路由 replaceState 限速"}];function GD(t){for(const{pattern:e,action:n,reason:r}of KD)if(e.test(t))return{action:n,reason:r};return null}function YD(t,e,n,r,i){var c,l,u,f;const s=_o(t),o=e.originalException;if(o instanceof ji)switch(o.kind){case"biz":{const d=String((l=(c=o.code)!=null?c:o.meta.bizCode)!=null?l:"unknown"),h=n.biz.byBizCode[d];return{category:"C_BIZ",subType:`biz_${d}`,reason:`业务码 ${d}`,sampleRate:i?(u=h==null?void 0:h.first)!=null?u:n.biz.first:(f=h==null?void 0:h.repeat)!=null?f:n.biz.repeat,skipThreshold:!1}}case"network":{const d=o.meta.axiosCode,h=d==="ERR_NETWORK"||d==="ERR_CANCELED"||Mb;return{category:"B1_NETWORK",subType:h?"err_network":"no_response",reason:h?`客户端网络抖动 (${d!=null?d:"pagehide"})`:"网络层异常",sampleRate:h?n.networkJitter:n.network,skipThreshold:!1}}case"http":{if(!n.http.enabled)return{category:"B2_HTTP",subType:"http_disabled",reason:"HTTP 错误前端不上报 (后端可感知)",sampleRate:0,skipThreshold:!0};const d=o.meta.httpStatus;return d>=500?{category:"B2_HTTP",subType:"http_5xx",reason:`HTTP ${d}`,sampleRate:i?n.http.http5xx.first:n.http.http5xx.repeat,skipThreshold:!1}:{category:"B2_HTTP",subType:`http_${d}`,reason:`HTTP ${d}`,sampleRate:n.http.http4xx,skipThreshold:!1}}}const a=GD(s);return a?a.action==="report"?{category:"D_LONG_TAIL",subType:"must_report",reason:a.reason,sampleRate:i?n.longTail.first:n.longTail.repeat,skipThreshold:!0}:a.action==="drop"?{category:"A_NOISE",subType:"rule_drop",reason:a.reason,sampleRate:0,skipThreshold:!0}:{category:"A_NOISE",subType:"env_noise",reason:a.reason,sampleRate:n.noise,skipThreshold:!1}:WD(t,r)?{category:"C_LOGIC",subType:"js_logic",reason:"业务逻辑错误",sampleRate:i?n.business.first:n.business.repeat,skipThreshold:!1}:{category:"D_LONG_TAIL",subType:"long_tail",reason:"长尾错误",sampleRate:i?n.longTail.first:n.longTail.repeat,skipThreshold:!1}}function JD(t,e,n,r){const i={"error.category":t.category,"error.subtype":t.subType,"error.is_first":e?"true":"false","page.hidden_at_error":r?"true":"false"};if(n instanceof ji){const s=n.meta;i["error.type"]=n.name,s.bizCode!==void 0&&(i["biz.code"]=String(s.bizCode)),s.httpStatus!==void 0&&(i["http.status"]=String(s.httpStatus)),s.url&&(i["error.url"]=s.url),s.method&&(i["api.method"]=s.method.toUpperCase()),s.axiosCode&&(i["net.axios_code"]=s.axiosCode),n.kind==="network"&&(i["net.online"]=String(typeof navigator!="undefined"?navigator.onLine:"unknown"))}return i}const ZD=(t={})=>{var g,p,m,y;const{debug:e=!1,appCodePatterns:n=[],sampleRates:r,sessionCap:i=30,threshold:s={}}=t,o=XD(r),a=(g=s.enabled)!=null?g:!0,c=(p=s.minStackFrames)!=null?p:1,l=(m=s.minMessageLength)!=null?m:3,u=(y=s.filterEmptyMessage)!=null?y:!0;let f=0;function d(v,b,w){e&&console.log(`[ErrorFilter] [${v}] ${b}`,w!=null?w:"")}function h(v){if(!a||v.type)return null;const b=_o(v);return u&&!b.trim()?"空消息":b.length<l?`消息过短 (${b.length})`:Jp(v)<c?`帧数不足 (${Jp(v)})`:null}return{name:"ErrorFilterIntegration",processEvent(v,b){try{if(v.type)return v;if(qD(_o(v)))return d("DROPPED","dynamic-import: 全部不上报"),null;const w=HD(v,b);if(w==="drop")return d("DROPPED","空消息且非 HTTP 类错误"),null;w==="rewritten"&&d("REWRITE",`空消息改写为 path-based: ${_o(v)}`);const _=cs.get(),S=VD(v),x=_.peek(S),E=YD(v,b,o,n,x);if(d(E.category,E.reason,{rate:`${(E.sampleRate*100).toFixed(2)}%`,first:x,msg:_o(v).slice(0,80)}),!E.skipThreshold){const P=h(v);if(P)return d("DROPPED",`门槛未过: ${P}`),null}if(Math.random()>=E.sampleRate)return d("DROPPED",`采样丢弃 (${(E.sampleRate*100).toFixed(2)}%)`),null;if(++f>i)return d("DROPPED",`超出 session 上限 (${i})`),null;_.touch(S);const A=typeof document!="undefined"&&document.visibilityState==="hidden";return v.tags=q(q({},v.tags),JD(E,x,b.originalException,A)),d("SAMPLED",`通过 (${E.category})`),v}catch(w){return v}}}},QD="https://d723f97aa84850381c6b5812bd3acf51@o4507871583338496.ingest.us.sentry.io/4511342059847680",eI="https://5ea349d46eb7979c2d67abc6db4fb0b3@o4507871583338496.ingest.us.sentry.io/4511183146844160",Id="8c3b9aa2b95acaad15d7d
12a0cf7f36f5b8cfcd6d1",tI=new Date(performance.timeOrigin).toISOString();var Ka,cm,lm;const nI=(lm=(cm=(Ka=globalThis.crypto)==null?void 0:Ka.randomUUID)==null?void 0:cm.call(Ka))!=null?lm:`${Math.round(performance.timeOrigin).toString(36)}-${Math.random().toString(36).slice(2)}`,si=performance.getEntriesByType("navigation")[0],rI=(si==null?void 0:si.type)==="reload"||(si==null?void 0:si.type)==="back_forward"?si.type:"navigate";let Nb=!1;window.addEventListener("pageshow",t=>{t.persisted&&(Nb=!0)});function iI(){return re.app.isTgWebapp?"tg-webapp":re.app.isAPP?"app":re.app.isPWA?"pwa":"web"}const sI=/sptpub\.com|sptsportscdn\.com|invisiblesport\.com|cocoesports\.com|googletagmanager\.com|google-analytics\.com/,ls=!!new URLSearchParams(window.location.search).get("fullTrace"),oI={noise:1e-4,network:.001,networkJitter:0,http:{enabled:!1},biz:{first:.01,repeat:1e-4,byBizCode:{"-5":{first:0,repeat:0},4001:{first:0,repeat:0},6002:{first:0,repeat:0},6003:{first:0,repeat:0},1001:{first:.05,repeat:.001}}},business:{first:.1,repeat:.001},longTail:{first:.05,repeat:.001}};function Qp(t){t.tags=de(q({},t.tags),{"platform-version":Id,navigation_type:rI,bfcache_restored:Nb}),t.extra=de(q({},t.extra),{page_started_at:tI,page_age_ms:Math.round(performance.now()),page_instance_id:nI})}function Ld(t){var n;const e=(n=t.request)==null?void 0:n.url;if(!e)return{};try{const r=new URL(e,window.location.origin),i=r.hostname;let s=r.pathname||"/";s.length>1&&s.endsWith("/")&&(s=s.slice(0,-1));let o="unknown",a=s;const c=s.split("/").filter(Boolean),l=c[0];return l&&re.langs[l]&&(o=l,a=c.length>1?"/"+c.slice(1).join("/"):"/"),a===""&&(a="/"),{domain:i,path:a,lang:o}}catch(r){return{}}}function aI(t){var n;const e=(n=Ld(t).path)!=null?n:"";return/^\/(?:enter-)?game\//.test(e)}function cI(t){var n,r,i,s,o;const e=(o=(s=(i=(r=(n=t.exception)==null?void 0:n.values)==null?void 0:r[0])==null?void 0:i.stacktrace)==null?void 0:s.frames)!=null?o:[];for(const a of[...e].reverse()){const c=a.module_metadata;if(c!=null&&c.dsn)return q({"error.dsn":c.dsn},c.release?{"error.release":c.release}:{})}return{}}function lI(t){const e=t==null?void 0:t.originalException;if(!(e instanceof ji))return{};const{url:n,httpStatus:r,method:i}=e.meta,s={};return n&&(s["api.path"]=n),i&&(s["api.method"]=i.toUpperCase()),r!=null&&(s["api.http_status"]=String(r)),s}function uI(t,e){var o,a,c,l,u,f,d,h,g,p,m;const n=e==null?void 0:e.originalException,r=(a=(o=t.exception)==null?void 0:o.values)==null?void 0:a[0],i=(c=r==null?void 0:r.type)!=null?c:"",s=(u=(l=r==null?void 0:r.value)!=null?l:t.message)!=null?u:"";if(n instanceof Bc)return["HttpResponseError",(f=n.meta.url)!=null?f:"unknown-path",String((h=(d=n.meta.bizCode)!=null?d:n.code)!=null?h:"unknown-code")];if(n instanceof Fc)return["ErrorWithTip",(p=(g=t.tags)==null?void 0:g["error.category"])!=null?p:"unknown-category",(m=n.meta.url)!=null?m:"unknown-path"];if(i==="TypeError"&&(/Cannot read property 'then' of/.test(s)||/Cannot read properties of.* 'then'/.test(s)))return["TypeError-then-access"];if(i==="NotFoundError"||/Failed to execute '(?:insertBefore|removeChild|removeNode)' on 'Node'/.test(s))return["NotFoundError-dom"];if(/^Invalid currency:/.test(s))return["invalid-currency"]}function fI(t,e){const n=[t.captureConsoleIntegration({levels:["error"]}),t.moduleMetadataIntegration(),t.thirdPartyErrorFilterIntegration({filterKeys:["playsmart-ai"],behaviour:"drop-error-if-contains-third-party-frames"}),ZD({debug:e,appCodePatterns:[window.location.host],threshold:{enabled:!0,minStackFrames:1,minMessageLength:3,filterEmptyMessage:!0},sampleRates:oI}),t.breadcrumbsIntegration({console:ls,dom:!0,fetch:!1,history:!0,sentry:!1,xhr:!0})];return ls&&n.push(t.browserTracingIntegration(),t.replayIntegration({maskAllText:!0,maskAllInputs:!0,blockAllMedia:!1})),n}function dI(t){Se(()=>{ne(qn(()=>Ce.login,e=>{t.setUser({id:`device-${$b()}`,username:e?String(Ce.userId):void 0,ip_address:"{{auto}}"}),t.setTag("user_type",e?"login":"anonymous")}))})}const hI=typeof Promise.allSettled=="function",em=hI?new Promise((t,e)=>{setTimeout(()=>{va(()=>import("./sentry-Dy0r1mHc.js"),[]).then(t,e)},1e4)}):null,gI=()=>
12{if(!em){window.__sentryBuffer={push(){}};return}const t=!1,e=[];let n=null;kn.on("report_error",r=>{try{n?n(r):e.push(r)}catch(i){}}),em.then(r=>{var i;try{r.init({dsn:QD,release:Id,dist:"bc",environment:"production",initialScope:{tags:{"app-environment":iI()}},debug:t,tracesSampleRate:ls?1:0,tracePropagationTargets:[],allowUrls:[window.location.host],replaysSessionSampleRate:ls?1:0,replaysOnErrorSampleRate:ls?1:0,integrations:fI(r,t),ignoreErrors:[],beforeSend(o,a){Qp(o),o.tags=q(q(q(q({},o.tags),Ld(o)),cI(o)),lI(a));const c=uI(o,a);return c&&(o.fingerprint=c),o},beforeSendTransaction(o){return Qp(o),o.tags=q(q({},o.tags),Ld(o)),!ls&&o.spans&&(o.spans=o.spans.filter(a=>{var c;return!sI.test((c=a.description)!=null?c:"")})),aI(o)&&(o.tags["error.dsn"]=eI),o},beforeBreadcrumb(o){var u,f,d,h;if(o.category==="ui.click"||o.category==="ui.input"){const g=(u=o.message)!=null?u:"";if(/img|svg|image|video|audio/i.test(g)||!/\b(button|a|input|select|textarea|label)\b/i.test(g))return null}if(o.category!=="xhr")return o;const a=(f=o.data)==null?void 0:f.url;if(!a)return null;const c=(h=(d=o.data)==null?void 0:d.method)==null?void 0:h.toUpperCase();if(c!=="POST"&&c!=="GET"||!/^https?:/.test(a)&&!a.startsWith("/")||!/^(https?:\/\/[^/]*)?\//.test(a))return null;const l=a.split("?")[0];return/\.(png|jpe?g|gif|webp|svg|ico|avif|bmp|woff2?|ttf|eot|css|js|map)$/i.test(l)?null:a.startsWith("/")||a.includes(re.host)?o:null},transport:r.makeMultiplexedTransport(r.makeFetchTransport,({getEvent:o})=>{var u,f;const a=o(["event","transaction"]);if(!a)return[];const c=(u=a.tags)==null?void 0:u["error.dsn"];if(!c)return[];const l=((f=a.tags)==null?void 0:f["error.release"])||Id;return[{dsn:c,release:l}]})});const s=(i=window.__sentryBuffer)!=null?i:[];for(const o of s)r.withScope(a=>{var c;if(a.setTag("pre_init","true"),o.ts&&a.setExtra("pre_init_delay_ms",Date.now()-o.ts),o.type==="error")o.filename&&a.setExtra("original_filename",o.filename),o.lineno&&a.setExtra("original_lineno",o.lineno),o.colno&&a.setExtra("original_colno",o.colno),r.captureException((c=o.error)!=null?c:new Error(o.message));else{const l=o.reason;r.captureException(l instanceof Error?l:new Error(String(l)))}});window.__sentryBuffer=[],n=o=>{o instanceof Error?r.captureException(o):r.captureException(o.error,o.hint)},e.splice(0).forEach(o=>{try{n(o)}catch(a){}});try{dI(r)}catch(o){}}catch(s){}}).catch(r=>{})};let tm=!1;function pI(){tm||typeof window=="undefined"||(tm=!0,window.addEventListener("beforeinstallprompt",t=>{t.preventDefault()}))}const mI=Fd(()=>va(()=>import("./index-CgokGjYA.js").then(t=>t.b2),[]));function yI(){return pI(),gI(),C(mI,{})}const vI=navigator.userAgent.indexOf("Windows");vI!==-1&&document.documentElement.classList.add("win32");const bI=document.getElementById("root");bc(()=>C(yI,{}),bI);Rb(LP.runtime_config);export{oe as $,zc as A,Wn as B,Ph as C,wc as D,Mi as E,je as F,ne as G,$h as H,An as I,Ct as J,Li as K,Fe as L,Ai as M,ke as N,lt as O,vl as P,Se as Q,qs as R,ae as S,dv as T,xe as U,oP as V,We as W,nS as X,xr as Y,qR as Z,va as _,Ce as a,s0 as a$,Ks as a0,Cx as a1,Ms as a2,Iy as a3,EA as a4,Xs as a5,Mr as a6,cr as a7,Gr as a8,Mf as a9,aD as aA,lr as aB,Y as aC,Lh as aD,bh as aE,Be as aF,Ut as aG,XO as aH,c5 as aI,cR as aJ,RR as aK,t_ as aL,f0 as aM,Ie as aN,Ze as aO,at as aP,MR as aQ,zp as aR,Le as aS,S7 as aT,Qt as aU,XP as aV,VP as aW,GP as aX,fa as aY,c3 as aZ,ji as a_,zt as aa,K as ab,HC as ac,Hv as ad,pl as ae,F7 as af,M as ag,_O as ah,fA as ai,Bs as aj,wa as ak,wO as al,Zw as am,qn as an,$s as ao,$m as ap,c0 as aq,Bt as ar,ra as as,ta as at,Do as au,jn as av,t0 as aw,Un as ax,Fd as ay,BR as az,kn as b,Lb as b$,zd as b0,HR as b1,_5 as b2,zx as b3,Dn as b4,bl as b5,Qk as b6,e_ as b7,vT as b8,pe as b9,_b as bA,AA as bB,Ko as bC,Xr as bD,Ry as bE,z0 as bF,CC as bG,Po as bH,O7 as bI,gi as bJ,Ki as bK,TO as bL,UO as bM,A3 as bN,B3 as bO,D7 as bP,cl as bQ,Zd as bR,Vw as bS,lv as bT,qA as bU,Ns as bV,o5 as bW,NO as bX,Yr as bY,DD as bZ,ID as b_,P3 as ba,Ed as bb,Kh as bc,Cl as bd,$k as be,_2 as bf,TR as bg,Xc as bh,rl as bi,Bc as bj,vd as bk,xs as bl,Vn as bm,Wx as bn,nr as bo,qE as bp,Wi as bq,zT as br,nP as bs,NP as bt,iD as bu,gb as bv,Uk as bw,sR as bx,qO as by,ha as bz,Dy as c,YT as c$,hk as c0,J3 as c1,cP as c2,Tr as c3,Gs as c4,bc as c5,$b as c6,GC as c7,rA as c8,iA as c9,Xo as cA,Pc as cB,P_ as cC,da as cD,CI as cE,U7 as cF,ia as cG,RS as cH,$P as cI,ua as cJ,mO as cK,dP as cL,YR as cM,eP as cN,gP as cO,tb as cP,TA as cQ,ct as cR,C7 as cS,m3 as cT,Yh as cU,rx as cV,tx as cW,Ve as cX,Uc as cY,Y_ as cZ,sv as c_,ax as ca,zi as cb,El as cc,FS as cd,s3 as ce,zy as cf,vA as cg,n_ as ch,_d as ci,wh as cj,Sh as ck,CS as cl,iP as cm,zr as cn,j_ as co,ks as cp,f_ as cq,xI as cr,q_ as cs,Oa as ct,z_ as cu,tv as cv,Jy as cw,rv as cx,Dc as cy,Oh as cz,_e as d,$r as d0,SI as d1,pS as d2,qi as d3,i4 as d4,qT as d5,pu as d6,ov as d7,bT as d8,Hd as d9,Ke as da,JC as db,VI as dc,dA as dd,r_ as de,LO as df,il as dg,hb as dh,oa as di,Q8 as dj,eC as dk,GO as dl,xx as dm,_h as dn,XI as dp,NS as dq,vi as dr,Md as ds,_I as dt,ZE as du,re as e,C as f,vt as g,a3 as h,Py as i,J as j,Ot as k,ve as l,px as m,B as n,D as o,fe as p,ye as q,Nk as r,Oo as s,N as t,De as u,Fx as v,RD as w,cA as x,JE as y,Tn as z};

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.