PageSourceSearch

https://1whnva.com/resources/v1/app/assets/logger-BOxpBNGt.js

js 1whnva.com collected 2026-10-08 05:55:49 UTC 264,298 bytes, 33 lines download raw bytes

vendor: 34,471 bytes, line 1
1import{isRef as Ie,unref as Zs,hasInjectionContext as wt,inject as Fe,ref as Te,nextTick as ht,computed as j,shallowReactive as cy,reactive as St,watch as W,onScopeDispose as fn,shallowReadonly as We,readonly as eu,toRefs as sp,effectScope as Xt,markRaw as up,isReactive as tu,toRaw as Ut,getCurrentScope as hn,toRef as Re,onMounted as ru,getCurrentInstance as mr,customRef as nu,shallowRef as B,toValue as F,onUnmounted as ly,provide as au,watchEffect as iu,onUpdated as fy,defineComponent as dt,createTextVNode as dn,createApp as hy,openBlock as dy,createElementBlock as vy,normalizeClass as py,renderSlot as my}from"vue";import{createRouter as gy,createWebHistory as yy}from"vue-router";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();const by="modulepreload",Ey=function(e){return"/resources/v1/app/"+e},nc={},cp=function(t,r,n){let a=Promise.resolve();if(r&&r.length>0){let u=function(c){return Promise.all(c.map(l=>Promise.resolve(l).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=o?.nonce||o?.getAttribute("nonce");a=u(r.map(c=>{if(c=Ey(c),c in nc)return;nc[c]=!0;const l=c.endsWith(".css"),f=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":by,l||(d.as="script"),d.crossOrigin="",d.href=c,s&&d.setAttribute("nonce",s),document.head.appendChild(d),l)return new Promise((h,v)=>{d.addEventListener("load",h),d.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})};var gr=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Sy=class extends gr{#e;#t;#r;constructor(){super(),this.#r=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},ou=new Sy,Py={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},wy=class{#e=Py;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Ct=new wy;function Ty(e){setTimeout(e,0)}var lp=typeof window>"u"||"Deno"in globalThis;function je(){}function Ry(e,t){return typeof e=="function"?e(t):e}function ws(e){return typeof e=="number"&&e>=0&&e!==1/0}function fp(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Et(e,t){return typeof e=="function"?e(t):e}function Ue(e,t){return typeof e=="function"?e(t):e}function ac(e,t){const{type:r="all",exact:n,fetchStatus:a,predicate:i,queryKey:o,stale:s}=e;if(o){if(n){if(t.queryHash!==su(o,t.options))return!1}else if(!pr(t.queryKey,o))return!1}if(r!=="all"){const u=t.isActive();if(r==="active"&&!u||r==="inactive"&&u)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||a&&a!==t.state.fetchStatus||i&&!i(t))}function ic(e,t){const{exact:r,status:n,predicate:a,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(vr(t.options.mutationKey)!==vr(i))return!1}else if(!pr(t.options.mutationKey,i))return!1}return!(n&&t.state.status!==n||a&&!a(t))}function su(e,t){return(t?.queryKeyHashFn||vr)(e)}function vr(e){return JSON.stringify(e,(t,r)=>Rs(r)?Object.keys(r).sort().reduce((n,a)=>(n[a]=r[a],n),{}):r)}function pr(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>pr(e[r],t[r])):!1}var Iy=Object.prototype.hasOwnProperty;function hp(e,t,r=0){if(e===t)return e;if(r>500)return t;const n=oc(e)&&oc(t);if(!n&&!(Rs(e)&&Rs(t)))return t;const i=(n?e:Object.keys(e)).length,o=n?t:Object.keys(t),s=o.length,u=n?new Array(s):{};let c=0;for(let l=0;l<s;l++){const f=n?l:o[l],d=e[f],h=t[f];if(d===h){u[f]=d,(n?l<i:Iy.call(e,f))&&c++;continue}if(d===null||h===null||typeof d!="object"||typeof h!="object"){u[f]=h;continue}const v=hp(d,h,r+1);u[f]=v,v===d&&c++}return i===s&&c===i?e:u}function Ts(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function oc(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Rs(e){if(!sc(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!sc(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function sc(e){return Object.prototype.toString.call(e)==="[object Object]"}function Oy(e){return new Promise(t=>{Ct.setTimeout(t,e)})}function Is(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?hp(e,t):t}function aI(e){return e}function _y(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function Cy(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var uu=Symbol();function dp(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===uu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function uc(e,t){return typeof e=="function"?e(...t):!!e}function Ay(e,t,r){let n=!1,a;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(a??=t(),n||(n=!0,a.aborted?r():a.addEventListener("abort",r,{once:!0})),a)}),e}var en=(()=>{let e=()=>lp;return{isServer(){return e()},setIsServer(t){e=t}}})();function Os(){let e,t;const r=new Promise((a,i)=>{e=a,t=i});r.status="pending",r.catch(()=>{});function n(a){Object.assign(r,a),delete r.resolve,delete r.reject}return r.resolve=a=>{n({status:"fulfilled",value:a}),e(a)},r.reject=a=>{n({status:"rejected",reason:a}),t(a)},r}var xy=Ty;function ky(){let e=[],t=0,r=s=>{s()},n=s=>{s()},a=xy;const i=s=>{t?e.push(s):a(()=>{r(s)})},o=()=>{const s=e;e=[],s.length&&a(()=>{n(()=>{s.forEach(u=>{r(u)})})})};return{batch:s=>{let u;t++;try{u=s()}finally{t--,t||o()}return u},batchCalls:s=>(...u)=>{i(()=>{s(...u)})},schedule:i,setNotifyFunction:s=>{r=s},setBatchNotifyFunction:s=>{n=s},setScheduler:s=>{a=s}}}var we=ky(),Fy=class extends gr{#e=!0;#t;#r;constructor(){super(),this.#r=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(r=>{r(e)}))}isOnline(){return this.#e}},tn=new Fy;function Ly(e){return Math.min(1e3*2**e,3e4)}function vp(e){return(e??"online")==="online"?tn.isOnline():!0}var _s=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function pp(e){let t=!1,r=0,n;const a=Os(),i=()=>a.status!=="pending",o=p=>{if(!i()){const m=new _s(p);d(m),e.onCancel?.(m)}},s=()=>{t=!0},u=()=>{t=!1},c=()=>ou.isFocused()&&(e.networkMode==="always"||tn.isOnline())&&e.canRun(),l=()=>vp(e.networkMode)&&e.canRun(),f=p=>{i()||(n?.(),a.resolve(p))},d=p=>{i()||(n?.(),a.reject(p))},h=()=>new Promise(p=>{n=m=>{(i()||c())&&p(m)},e.onPause?.()}).then(()=>{n=void 0,i()||e.onContinue?.()}),v=()=>{if(i())return;let p;const m=r===0?e.initialPromise:void 0;try{p=m??e.fn()}catch(y){p=Promise.reject(y)}Promise.resolve(p).then(f).catch(y=>{if(i())return;const g=e.retry??(en.isServer()?0:3),E=e.retryDelay??Ly,b=typeof E=="function"?E(r,y):E,S=g===!0||typeof g=="number"&&r<g||typeof g=="function"&&g(r,y);if(t||!S){d(y);return}r++,e.onFail?.(r,y),Oy(b).then(()=>c()?void 0:h()).then(()=>{t?d(y):v()})})};return{promise:a,status:()=>a.status,cancel:o,continue:()=>(n?.(),a),cancelRetry:s,continueRetry:u,canStart:l,start:()=>(l()?v():h().then(v),a)}}var mp=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ws(this.gcTime)&&(this.#e=Ct.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(en.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e&&(Ct.clearTimeout(this.#e),this.#e=void 0)}},Ny=class extends mp{#e;#t;#r;#a;#n;#o;#i;constructor(e){super(),this.#i=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#r=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=lc(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#n?.promise}setOptions(e){if(this.options={...this.#o,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=lc(this.options);t.data!==void 0&&(this.setState(cc(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,t){const r=Is(this.state.data,e,this.options);return this.#u({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#u({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#n?.promise;return this.#n?.cancel(e),t?t.then(je).catch(je):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Ue(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===uu||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Et(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!fp(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#n&&(this.#i||this.#s()?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#s(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#u({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#n?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(e&&this.setOptions(e),!this.options.queryFn){const s=this.observers.find(u=>u.options.queryFn);s&&this.setOptions(s.options)}const r=new AbortController,n=s=>{Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(this.#i=!0,r.signal)})},a=()=>{const s=dp(this.options,t),c=(()=>{const l={client:this.#a,queryKey:this.queryKey,meta:this.meta};return n(l),l})();return this.#i=!1,this.options.persister?this.options.persister(s,c,this):s(c)},o=(()=>{const s={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:a};return n(s),s})();this.options.behavior?.onFetch(o,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#u({type:"fetch",meta:o.fetchOptions?.meta}),this.#n=pp({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:s=>{s instanceof _s&&s.revert&&this.setState({...this.#t,fetchStatus:"idle"}),r.abort()},onFail:(s,u)=>{this.#u({type:"failed",failureCount:s,error:u})},onPause:()=>{this.#u({type:"pause"})},onContinue:()=>{this.#u({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const s=await this.#n.start();if(s===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(s),this.#r.config.onSuccess?.(s,this),this.#r.config.onSettled?.(s,this.state.error,this),s}catch(s){if(s instanceof _s){if(s.silent)return this.#n.promise;if(s.revert){if(this.state.data===void 0)throw s;return this.state.data}}throw this.#u({type:"error",error:s}),this.#r.config.onError?.(s,this),this.#r.config.onSettled?.(this.state.data,s,this),s}finally{this.scheduleGc()}}#u(e){const t=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...gp(r.data,this.options),fetchMeta:e.meta??null};case"success":const n={...r,...cc(e.data,e.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?n:void 0,n;case"error":const a=e.error;return{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=t(this.state),we.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function gp(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:vp(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function cc(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function lc(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Dy=class extends gr{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#i=Os(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#r=void 0;#a=void 0;#n;#o;#i;#s;#u;#d;#v;#l;#f;#c;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),fc(this.#t,this.options)?this.#h():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Cs(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Cs(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#E(),this.#S(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,r=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ue(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#P(),this.#t.setOptions(this.options),t._defaulted&&!Ts(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const n=this.hasListeners();n&&hc(this.#t,r,this.options,t)&&this.#h(),this.updateResult(),n&&(this.#t!==r||Ue(this.options.enabled,this.#t)!==Ue(t.enabled,this.#t)||Et(this.options.staleTime,this.#t)!==Et(t.staleTime,this.#t))&&this.#m();const a=this.#g();n&&(this.#t!==r||Ue(this.options.enabled,this.#t)!==Ue(t.enabled,this.#t)||a!==this.#c)&&this.#y(a)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),r=this.createResult(t,e);return qy(this,r)&&(this.#a=r,this.#o=this.options,this.#n=this.#t.state),r}getCurrentResult(){return this.#a}trackResult(e,t){return new Proxy(e,{get:(r,n)=>(this.trackProp(n),t?.(n),n==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#i.status==="pending"&&this.#i.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(r,n))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),r=this.#e.getQueryCache().build(this.#e,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#h(e){this.#P();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(je)),t}#m(){this.#E();const e=Et(this.options.staleTime,this.#t);if(en.isServer()||this.#a.isStale||!ws(e))return;const r=fp(this.#a.dataUpdatedAt,e)+1;this.#l=Ct.setTimeout(()=>{this.#a.isStale||this.updateResult()},r)}#g(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(e){this.#S(),this.#c=e,!(en.isServer()||Ue(this.options.enabled,this.#t)===!1||!ws(this.#c)||this.#c===0)&&(this.#f=Ct.setInterval(()=>{(this.options.refetchIntervalInBackground||ou.isFocused())&&this.#h()},this.#c))}#b(){this.#m(),this.#y(this.#g())}#E(){this.#l&&(Ct.clearTimeout(this.#l),this.#l=void 0)}#S(){this.#f&&(Ct.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){const r=this.#t,n=this.options,a=this.#a,i=this.#n,o=this.#o,u=e!==r?e.state:this.#r,{state:c}=e;let l={...c},f=!1,d;if(t._optimisticResults){const I=this.hasListeners(),P=!I&&fc(e,t),C=I&&hc(e,r,t,n);(P||C)&&(l={...l,...gp(c.data,e.options)}),t._optimisticResults==="isRestoring"&&(l.fetchStatus="idle")}let{error:h,errorUpdatedAt:v,status:p}=l;d=l.data;let m=!1;if(t.placeholderData!==void 0&&d===void 0&&p==="pending"){let I;a?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(I=a.data,m=!0):I=typeof t.placeholderData=="function"?t.placeholderData(this.#v?.state.data,this.#v):t.placeholderData,I!==void 0&&(p="success",d=Is(a?.data,I,t),f=!0)}if(t.select&&d!==void 0&&!m)if(a&&d===i?.data&&t.select===this.#u)d=this.#d;else try{this.#u=t.select,d=t.select(d),d=Is(a?.data,d,t),this.#d=d,this.#s=null}catch(I){this.#s=I}this.#s&&(h=this.#s,d=this.#d,v=Date.now(),p="error");const y=l.fetchStatus==="fetching",g=p==="pending",E=p==="error",b=g&&y,S=d!==void 0,_={status:p,fetchStatus:l.fetchStatus,isPending:g,isSuccess:p==="success",isError:E,isInitialLoading:b,isLoading:b,data:d,dataUpdatedAt:l.dataUpdatedAt,error:h,errorUpdatedAt:v,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>u.dataUpdateCount||l.errorUpdateCount>u.errorUpdateCount,isFetching:y,isRefetching:y&&!g,isLoadingError:E&&!S,isPaused:l.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:E&&S,isStale:cu(e,t),refetch:this.refetch,promise:this.#i,isEnabled:Ue(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const I=_.data!==void 0,P=_.status==="error"&&!I,C=T=>{P?T.reject(_.error):I&&T.resolve(_.data)},A=()=>{const T=this.#i=_.promise=Os();C(T)},L=this.#i;switch(L.status){case"pending":e.queryHash===r.queryHash&&C(L);break;case"fulfilled":(P||_.data!==L.value)&&A();break;case"rejected":(!P||_.error!==L.reason)&&A();break}}return _}updateResult(){const e=this.#a,t=this.createResult(this.#t,this.options);if(this.#n=this.#t.state,this.#o=this.options,this.#n.data!==void 0&&(this.#v=this.#t),Ts(t,e))return;this.#a=t;const r=()=>{if(!e)return!0;const{notifyOnChangeProps:n}=this.options,a=typeof n=="function"?n():n;if(a==="all"||!a&&!this.#p.size)return!0;const i=new Set(a??this.#p);return this.options.throwOnError&&i.add("error"),Object.keys(this.#a).some(o=>{const s=o;return this.#a[s]!==e[s]&&i.has(s)})};this.#w({listeners:r()})}#P(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#r=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#w(e){we.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#a)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function My(e,t){return Ue(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function fc(e,t){return My(e,t)||e.state.data!==void 0&&Cs(e,t,t.refetchOnMount)}function Cs(e,t,r){if(Ue(t.enabled,e)!==!1&&Et(t.staleTime,e)!=="static"){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&cu(e,t)}return!1}function hc(e,t,r,n){return(e!==t||Ue(n.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&cu(e,r)}function cu(e,t){return Ue(t.enabled,e)!==!1&&e.isStaleByTime(Et(t.staleTime,e))}function qy(e,t){return!Ts(e.getCurrentResult(),t)}function dc(e){return{onFetch:(t,r)=>{const n=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},u=0;const c=async()=>{let l=!1;const f=v=>{Ay(v,()=>t.signal,()=>l=!0)},d=dp(t.options,t.fetchOptions),h=async(v,p,m)=>{if(l)return Promise.reject();if(p==null&&v.pages.length)return Promise.resolve(v);const g=(()=>{const R={client:t.client,queryKey:t.queryKey,pageParam:p,direction:m?"backward":"forward",meta:t.options.meta};return f(R),R})(),E=await d(g),{maxPages:b}=t.options,S=m?Cy:_y;return{pages:S(v.pages,E,b),pageParams:S(v.pageParams,p,b)}};if(a&&i.length){const v=a==="backward",p=v?yp:As,m={pages:i,pageParams:o},y=p(n,m);s=await h(m,y,v)}else{const v=e??i.length;do{const p=u===0?o[0]??n.initialPageParam:As(n,s);if(u>0&&p==null)break;s=await h(s,p),u++}while(u<v)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=c}}}function As(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function yp(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}function iI(e,t){return t?As(e,t)!=null:!1}function oI(e,t){return!t||!e.getPreviousPageParam?!1:yp(e,t)!=null}var By=class extends mp{#e;#t;#r;#a;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#r=e.mutationCache,this.#t=[],this.state=e.state||jy(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#r.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#n({type:"continue"})},r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=pp({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(i,o)=>{this.#n({type:"failed",failureCount:i,error:o})},onPause:()=>{this.#n({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)});const n=this.state.status==="pending",a=!this.#a.canStart();try{if(n)t();else{this.#n({type:"pending",variables:e,isPaused:a}),this.#r.config.onMutate&&await this.#r.config.onMutate(e,this,r);const o=await this.options.onMutate?.(e,r);o!==this.state.context&&this.#n({type:"pending",context:o,variables:e,isPaused:a})}const i=await this.#a.start();return await this.#r.config.onSuccess?.(i,e,this.state.context,this,r),await this.options.onSuccess?.(i,e,this.state.context,r),await this.#r.config.onSettled?.(i,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(i,null,e,this.state.context,r),this.#n({type:"success",data:i}),i}catch(i){try{await this.#r.config.onError?.(i,e,this.state.context,this,r)}catch(o){Promise.reject(o)}try{await this.options.onError?.(i,e,this.state.context,r)}catch(o){Promise.reject(o)}try{await this.#r.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,r)}catch(o){Promise.reject(o)}try{await this.options.onSettled?.(void 0,i,e,this.state.context,r)}catch(o){Promise.reject(o)}throw this.#n({type:"error",error:i}),i}finally{this.#r.runNext(this)}}#n(e){const t=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),we.batch(()=>{this.#t.forEach(r=>{r.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function jy(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var bp=class extends gr{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#r=0}#e;#t;#r;build(t,r,n){const a=new By({client:t,mutationCache:this,mutationId:++this.#r,options:t.defaultMutationOptions(r),state:n});return this.add(a),a}add(t){this.#e.add(t);const r=Dr(t);if(typeof r=="string"){const n=this.#t.get(r);n?n.push(t):this.#t.set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const r=Dr(t);if(typeof r=="string"){const n=this.#t.get(r);if(n)if(n.length>1){const a=n.indexOf(t);a!==-1&&n.splice(a,1)}else n[0]===t&&this.#t.delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=Dr(t);if(typeof r=="string"){const a=this.#t.get(r)?.find(i=>i.state.status==="pending");return!a||a===t}else return!0}runNext(t){const r=Dr(t);return typeof r=="string"?this.#t.get(r)?.find(a=>a!==t&&a.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){we.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const r={exact:!0,...t};return this.getAll().find(n=>ic(r,n))}findAll(t={}){return this.getAll().filter(r=>ic(t,r))}notify(t){we.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return we.batch(()=>Promise.all(t.map(r=>r.continue().catch(je))))}};function Dr(e){return e.options.scope?.id}var Ep=class extends gr{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,r,n){const a=r.queryKey,i=r.queryHash??su(a,r);let o=this.get(i);return o||(o=new Ny({client:t,queryKey:a,queryHash:i,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(a)}),this.add(o)),o}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=this.#e.get(t.queryHash);r&&(t.destroy(),r===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){we.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const r={exact:!0,...t};return this.getAll().find(n=>ac(r,n))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(n=>ac(t,n)):r}notify(t){we.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){we.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){we.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Uy=class{#e;#t;#r;#a;#n;#o;#i;#s;constructor(t={}){this.#e=t.queryCache||new Ep,this.#t=t.mutationCache||new bp,this.#r=t.defaultOptions||{},this.#a=new Map,this.#n=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#i=ou.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=tn.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#i?.(),this.#i=void 0,this.#s?.(),this.#s=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const r=this.defaultQueryOptions({queryKey:t});return this.#e.get(r.queryHash)?.state.data}ensureQueryData(t){const r=this.defaultQueryOptions(t),n=this.#e.build(this,r),a=n.state.data;return a===void 0?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime(Et(r.staleTime,n))&&this.prefetchQuery(r),Promise.resolve(a))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:r,state:n})=>{const a=n.data;return[r,a]})}setQueryData(t,r,n){const a=this.defaultQueryOptions({queryKey:t}),o=this.#e.get(a.queryHash)?.state.data,s=Ry(r,o);if(s!==void 0)return this.#e.build(this,a).setData(s,{...n,manual:!0})}setQueriesData(t,r,n){return we.batch(()=>this.#e.findAll(t).map(({queryKey:a})=>[a,this.setQueryData(a,r,n)]))}getQueryState(t){const r=this.defaultQueryOptions({queryKey:t});return this.#e.get(r.queryHash)?.state}removeQueries(t){const r=this.#e;we.batch(()=>{r.findAll(t).forEach(n=>{r.remove(n)})})}resetQueries(t,r){const n=this.#e;return we.batch(()=>(n.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...t},r)))}cancelQueries(t,r={}){const n={revert:!0,...r},a=we.batch(()=>this.#e.findAll(t).map(i=>i.cancel(n)));return Promise.all(a).then(je).catch(je)}invalidateQueries(t,r={}){return we.batch(()=>(this.#e.findAll(t).forEach(n=>{n.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},r)))}refetchQueries(t,r={}){const n={...r,cancelRefetch:r.cancelRefetch??!0},a=we.batch(()=>this.#e.findAll(t).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(je)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(a).then(je)}fetchQuery(t){const r=this.defaultQueryOptions(t);r.retry===void 0&&(r.retry=!1);const n=this.#e.build(this,r);return n.isStaleByTime(Et(r.staleTime,n))?n.fetch(r):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(je).catch(je)}fetchInfiniteQuery(t){return t.behavior=dc(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(je).catch(je)}ensureInfiniteQueryData(t){return t.behavior=dc(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return tn.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#r}setDefaultOptions(t){this.#r=t}setQueryDefaults(t,r){this.#a.set(vr(t),{queryKey:t,defaultOptions:r})}getQueryDefaults(t){const r=[...this.#a.values()],n={};return r.forEach(a=>{pr(t,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(t,r){this.#n.set(vr(t),{mutationKey:t,defaultOptions:r})}getMutationDefaults(t){const r=[...this.#n.values()],n={};return r.forEach(a=>{pr(t,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;const r={...this.#r.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return r.queryHash||(r.queryHash=su(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===uu&&(r.enabled=!1),r}defaultMutationOptions(t){return t?._defaulted?t:{...this.#r.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Hy="VUE_QUERY_CLIENT";function Sp(e){const t=e?`:${e}`:"";return`${Hy}${t}`}function vc(e,t){Object.keys(e).forEach(r=>{e[r]=t[r]})}function xs(e,t,r="",n=0){if(t){const a=t(e,r,n);if(a===void 0&&Ie(e)||a!==void 0)return a}if(Array.isArray(e))return e.map((a,i)=>xs(a,t,String(i),n+1));if(typeof e=="object"&&$y(e)){const a=Object.entries(e).map(([i,o])=>[i,xs(o,t,i,n+1)]);return Object.fromEntries(a)}return e}function Gy(e,t){return xs(e,t)}function K(e,t=!1){return Gy(e,(r,n,a)=>
1{if(a===1&&n==="queryKey")return K(r,!0);if(t&&Vy(r))return K(r(),t);if(Ie(r))return K(Zs(r),t)})}function $y(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Vy(e){return typeof e=="function"}function Ky(e=""){if(!wt())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=Sp(e),r=Fe(t);if(!r)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return r}var Wy=class extends Ep{find(e){return super.find(K(e))}findAll(e={}){return super.findAll(K(e))}},Qy=class extends bp{find(e){return super.find(K(e))}findAll(e={}){return super.findAll(K(e))}},zy=class extends Uy{constructor(e={}){const t={defaultOptions:e.defaultOptions,queryCache:e.queryCache||new Wy,mutationCache:e.mutationCache||new Qy};super(t),this.isRestoring=Te(!1)}isFetching(e={}){return super.isFetching(K(e))}isMutating(e={}){return super.isMutating(K(e))}getQueryData(e){return super.getQueryData(K(e))}ensureQueryData(e){return super.ensureQueryData(K(e))}getQueriesData(e){return super.getQueriesData(K(e))}setQueryData(e,t,r={}){return super.setQueryData(K(e),t,K(r))}setQueriesData(e,t,r={}){return super.setQueriesData(K(e),t,K(r))}getQueryState(e){return super.getQueryState(K(e))}removeQueries(e={}){return super.removeQueries(K(e))}resetQueries(e={},t={}){return super.resetQueries(K(e),K(t))}cancelQueries(e={},t={}){return super.cancelQueries(K(e),K(t))}invalidateQueries(e={},t={}){const r=K(e),n=K(t);if(super.invalidateQueries({...r,refetchType:"none"},n),r.refetchType==="none")return Promise.resolve();const a={...r,type:r.refetchType??r.type??"active"};return ht().then(()=>super.refetchQueries(a,n))}refetchQueries(e={},t={}){return super.refetchQueries(K(e),K(t))}fetchQuery(e){return super.fetchQuery(K(e))}prefetchQuery(e){return super.prefetchQuery(K(e))}fetchInfiniteQuery(e){return super.fetchInfiniteQuery(K(e))}prefetchInfiniteQuery(e){return super.prefetchInfiniteQuery(K(e))}setDefaultOptions(e){super.setDefaultOptions(K(e))}setQueryDefaults(e,t){super.setQueryDefaults(K(e),K(t))}getQueryDefaults(e){return super.getQueryDefaults(K(e))}setMutationDefaults(e,t){super.setMutationDefaults(K(e),K(t))}getMutationDefaults(e){return super.getMutationDefaults(K(e))}},lI={install:(e,t={})=>{const r=Sp(t.queryClientKey);let n;if("queryClient"in t&&t.queryClient)n=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;n=new zy(o)}lp||n.mount();let a=()=>{};if(t.clientPersister){n.isRestoring&&(n.isRestoring.value=!0);const[o,s]=t.clientPersister(n);a=o,s.then(()=>{n.isRestoring&&(n.isRestoring.value=!1),t.clientPersisterOnSuccess?.(n)})}const i=()=>{n.unmount(),a()};if(e.onUnmount)e.onUnmount(i);else{const o=e.unmount;e.unmount=function(){i(),o()}}e.provide(r,n)}};function fI(e){return e}function Xy(e,t,r){const n=Ky(),a=j(()=>{let h=t;typeof h=="function"&&(h=h());const v=K(h);typeof v.enabled=="function"&&(v.enabled=v.enabled());const p=n.defaultQueryOptions(v);return p._optimisticResults=n.isRestoring?.value?"isRestoring":"optimistic",p}),i=new e(n,a.value),o=a.value.shallow?cy(i.getCurrentResult()):St(i.getCurrentResult());let s=()=>{};n.isRestoring&&W(n.isRestoring,h=>{h||(s(),s=i.subscribe(v=>{vc(o,v)}))},{immediate:!0});const u=()=>{i.setOptions(a.value),vc(o,i.getCurrentResult())};W(a,u),fn(()=>{s()});const c=(...h)=>(u(),o.refetch(...h)),l=()=>new Promise((h,v)=>{let p=()=>{};const m=()=>{if(a.value.enabled!==!1){i.setOptions(a.value);const y=i.getOptimisticResult(a.value);y.isStale?(p(),i.fetchOptimistic(a.value).then(h,g=>{uc(a.value.throwOnError,[g,i.getCurrentQuery()])?v(g):h(i.getCurrentResult())})):(p(),h(y))}};m(),p=W(a,m)});W(()=>o.error,h=>{if(o.isError&&!o.isFetching&&uc(a.value.throwOnError,[h,i.getCurrentQuery()]))throw h});const f=a.value.shallow?We(o):eu(o),d=sp(f);for(const h in o)typeof o[h]=="function"&&(d[h]=o[h]);return d.suspense=l,d.refetch=c,d}function vn(e,t){return Xy(Dy,e)}let lu;const pn=e=>lu=e,Yy=()=>wt()&&Fe(fu)||lu,fu=Symbol();function ks(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var cr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(cr||(cr={}));function hI(){const e=Xt(!0),t=e.run(()=>Te({}));let r=[],n=[];const a=up({install(i){pn(a),a._a=i,i.provide(fu,a),i.config.globalProperties.$pinia=a,n.forEac
1h(o=>r.push(o)),n=[]},use(i){return this._a?r.push(i):n.push(i),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return a}const Pp=()=>{};function pc(e,t,r,n=Pp){e.add(t);const a=()=>{e.delete(t)&&n()};return!r&&hn()&&fn(a),a}function Nt(e,...t){e.forEach(r=>{r(...t)})}const Jy=e=>e(),mc=Symbol(),Fn=Symbol();function Fs(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,n)=>e.set(n,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],a=e[r];ks(a)&&ks(n)&&e.hasOwnProperty(r)&&!Ie(n)&&!tu(n)?e[r]=Fs(a,n):e[r]=n}return e}const Zy=Symbol();function eb(e){return!ks(e)||!Object.prototype.hasOwnProperty.call(e,Zy)}const{assign:bt}=Object;function tb(e){return!!(Ie(e)&&e.effect)}function rb(e,t,r,n){const{state:a,actions:i,getters:o}=t,s=r.state.value[e];let u;function c(){s||(r.state.value[e]=a?a():{});const l=sp(r.state.value[e]);return bt(l,i,Object.keys(o||{}).reduce((f,d)=>(f[d]=up(j(()=>{pn(r);const h=r._s.get(e);return o[d].call(h,h)})),f),{}))}return u=wp(e,c,t,r,n,!0),u}function wp(e,t,r={},n,a,i){let o;const s=bt({actions:{}},r),u={deep:!0};let c,l,f=new Set,d=new Set,h;const v=n.state.value[e];!i&&!v&&(n.state.value[e]={}),Te({});let p;function m(I){let P;c=l=!1,typeof I=="function"?(I(n.state.value[e]),P={type:cr.patchFunction,storeId:e,events:h}):(Fs(n.state.value[e],I),P={type:cr.patchObject,payload:I,storeId:e,events:h});const C=p=Symbol();ht().then(()=>{p===C&&(c=!0)}),l=!0,Nt(f,P,n.state.value[e])}const y=i?function(){const{state:P}=r,C=P?P():{};this.$patch(A=>{bt(A,C)})}:Pp;function g(){o.stop(),f.clear(),d.clear(),n._s.delete(e)}const E=(I,P="")=>{if(mc in I)return I[Fn]=P,I;const C=function(){pn(n);const A=Array.from(arguments),L=new Set,T=new Set;function w(N){L.add(N)}function x(N){T.add(N)}Nt(d,{args:A,name:C[Fn],store:S,after:w,onError:x});let k;try{k=I.apply(this&&this.$id===e?this:S,A)}catch(N){throw Nt(T,N),N}return k instanceof Promise?k.then(N=>(Nt(L,N),N)).catch(N=>(Nt(T,N),Promise.reject(N))):(Nt(L,k),k)};return C[mc]=!0,C[Fn]=P,C},b={_p:n,$id:e,$onAction:pc.bind(null,d),$patch:m,$reset:y,$subscribe(I,P={}){const C=pc(f,I,P.detached,()=>A()),A=o.run(()=>W(()=>n.state.value[e],L=>{(P.flush==="sync"?l:c)&&I({storeId:e,type:cr.direct,events:h},L)},bt({},u,P)));return C},$dispose:g},S=St(b);n._s.set(e,S);const _=(n._a&&n._a.runWithContext||Jy)(()=>n._e.run(()=>(o=Xt()).run(()=>t({action:E}))));for(const I in _){const P=_[I];if(Ie(P)&&!tb(P)||tu(P))i||(v&&eb(P)&&(Ie(P)?P.value=v[I]:Fs(P,v[I])),n.state.value[e][I]=P);else if(typeof P=="function"){const C=E(P,I);_[I]=C,s.actions[I]=P}}return bt(S,_),bt(Ut(S),_),Object.defineProperty(S,"$state",{get:()=>n.state.value[e],set:I=>{m(P=>{bt(P,I)})}}),n._p.forEach(I=>{bt(S,o.run(()=>I({store:S,app:n._a,pinia:n,options:s})))}),v&&i&&r.hydrate&&r.hydrate(S.$state,v),c=!0,l=!0,S}function nb(e,t,r){let n;const a=typeof t=="function";n=a?r:t;function i(o,s){const u=wt();return o=o||(u?Fe(fu,null):null),o&&pn(o),o=lu,o._s.has(e)||(a?wp(e,t,n,o):rb(e,n,o)),o._s.get(e)}return i.$id=e,i}function dI(e){const t=Ut(e),r={};for(const n in t){const a=t[n];a.effect?r[n]=j({get:()=>e[n],set(i){e[n]=i}}):(Ie(a)||tu(a))&&(r[n]=Re(e,n))}return r}var gc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vI(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function pI(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var a=!1;try{a=this instanceof n}catch{}return a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var yc={},bc={},or,Ec;function Z(){if(Ec)return or;Ec=1;var e=function(t){return t&&t.Math===Math&&t};return or=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof gc=="object"&&gc)||e(typeof or=="object"&&or)||(function(){return this})()||Function("return this")(),or}var Ln={},Nn,Sc;function ne(){return Sc||(Sc=1,Nn=function(e){try{return!!e()}catch{return!0}}),Nn}var Dn,Pc;function Oe(){if(Pc)return Dn;Pc=1;var e=ne();return Dn=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}}
1)[1]!==7}),Dn}var Mn,wc;function mn(){if(wc)return Mn;wc=1;var e=ne();return Mn=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),Mn}var qn,Tc;function Me(){if(Tc)return qn;Tc=1;var e=mn(),t=Function.prototype.call;return qn=e?t.bind(t):function(){return t.apply(t,arguments)},qn}var Bn={},Rc;function ab(){if(Rc)return Bn;Rc=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);return Bn.f=r?function(a){var i=t(this,a);return!!i&&i.enumerable}:e,Bn}var jn,Ic;function xt(){return Ic||(Ic=1,jn=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),jn}var Un,Oc;function ce(){if(Oc)return Un;Oc=1;var e=mn(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return Un=e?n:function(a){return function(){return r.apply(a,arguments)}},Un}var Hn,_c;function Yt(){if(_c)return Hn;_c=1;var e=ce(),t=e({}.toString),r=e("".slice);return Hn=function(n){return r(t(n),8,-1)},Hn}var Gn,Cc;function Tp(){if(Cc)return Gn;Cc=1;var e=ce(),t=ne(),r=Yt(),n=Object,a=e("".split);return Gn=t(function(){return!n("z").propertyIsEnumerable(0)})?function(i){return r(i)==="String"?a(i,""):n(i)}:n,Gn}var $n,Ac;function kt(){return Ac||(Ac=1,$n=function(e){return e==null}),$n}var Vn,xc;function hu(){if(xc)return Vn;xc=1;var e=kt(),t=TypeError;return Vn=function(r){if(e(r))throw new t("Can't call method on "+r);return r},Vn}var Kn,kc;function pt(){if(kc)return Kn;kc=1;var e=Tp(),t=hu();return Kn=function(r){return e(t(r))},Kn}var Wn,Fc;function le(){if(Fc)return Wn;Fc=1;var e=typeof document=="object"&&document.all;return Wn=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},Wn}var Qn,Lc;function xe(){if(Lc)return Qn;Lc=1;var e=le();return Qn=function(t){return typeof t=="object"?t!==null:e(t)},Qn}var zn,Nc;function Qe(){if(Nc)return zn;Nc=1;var e=Z(),t=le(),r=function(n){return t(n)?n:void 0};return zn=function(n,a){return arguments.length<2?r(e[n]):e[n]&&e[n][a]},zn}var Xn,Dc;function gn(){if(Dc)return Xn;Dc=1;var e=ce();return Xn=e({}.isPrototypeOf),Xn}var Yn,Mc;function Tt(){if(Mc)return Yn;Mc=1;var e=Z(),t=e.navigator,r=t&&t.userAgent;return Yn=r?String(r):"",Yn}var Jn,qc;function yn(){if(qc)return Jn;qc=1;var e=Z(),t=Tt(),r=e.process,n=e.Deno,a=r&&r.versions||n&&n.version,i=a&&a.v8,o,s;return i&&(o=i.split("."),s=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!s&&t&&(o=t.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=t.match(/Chrome\/(\d+)/),o&&(s=+o[1]))),Jn=s,Jn}var Zn,Bc;function Rp(){if(Bc)return Zn;Bc=1;var e=yn(),t=ne(),r=Z(),n=r.String;return Zn=!!Object.getOwnPropertySymbols&&!t(function(){var a=Symbol("symbol detection");return!n(a)||!(Object(a)instanceof Symbol)||!Symbol.sham&&e&&e<41}),Zn}var ea,jc;function Ip(){if(jc)return ea;jc=1;var e=Rp();return ea=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ea}var ta,Uc;function du(){if(Uc)return ta;Uc=1;var e=Qe(),t=le(),r=gn(),n=Ip(),a=Object;return ta=n?function(i){return typeof i=="symbol"}:function(i){var o=e("Symbol");return t(o)&&r(o.prototype,a(i))},ta}var ra,Hc;function yr(){if(Hc)return ra;Hc=1;var e=String;return ra=function(t){try{return e(t)}catch{return"Object"}},ra}var na,Gc;function ot(){if(Gc)return na;Gc=1;var e=le(),t=yr(),r=TypeError;return na=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},na}var aa,$c;function vu(){if($c)return aa;$c=1;var e=ot(),t=kt();return aa=function(r,n){var a=r[n];return t(a)?void 0:e(a)},aa}var ia,Vc;function ib(){if(Vc)return ia;Vc=1;var e=Me(),t=le(),r=xe(),n=TypeError;return ia=function(a,i){var o,s;if(i==="string"&&t(o=a.toString)&&!r(s=e(o,a))||t(o=a.valueOf)&&!r(s=e(o,a))||i!=="string"&&t(o=a.toString)&&!r(s=e(o,a)))return s;throw new n("Can't convert object to primitive value")},ia}var oa={exports:{}},sa,Kc;function ze(){return Kc||(Kc=1,sa=!1),sa}var ua,Wc;function pu(){if(Wc)return ua;Wc=1;var e=Z(),t=Object.defineProperty;return ua=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch{e[r]=n}return n},ua}var Qc;function mu(){if(Qc)return oa.exports;Qc=1;
1var e=ze(),t=Z(),r=pu(),n="__core-js_shared__",a=oa.exports=t[n]||r(n,{});return(a.versions||(a.versions=[])).push({version:"3.49.0",mode:e?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),oa.exports}var ca,zc;function Op(){if(zc)return ca;zc=1;var e=mu();return ca=function(t,r){return e[t]||(e[t]=r||{})},ca}var la,Xc;function Jt(){if(Xc)return la;Xc=1;var e=hu(),t=Object;return la=function(r){return t(e(r))},la}var fa,Yc;function _e(){if(Yc)return fa;Yc=1;var e=ce(),t=Jt(),r=e({}.hasOwnProperty);return fa=Object.hasOwn||function(a,i){return r(t(a),i)},fa}var ha,Jc;function bn(){if(Jc)return ha;Jc=1;var e=ce(),t=0,r=Math.random(),n=e(1.1.toString);return ha=function(a){return"Symbol("+(a===void 0?"":a)+")_"+n(++t+r,36)},ha}var da,Zc;function qe(){if(Zc)return da;Zc=1;var e=Z(),t=Op(),r=_e(),n=bn(),a=Rp(),i=Ip(),o=e.Symbol,s=t("wks"),u=i?o.for||o:o&&o.withoutSetter||n;return da=function(c){return r(s,c)||(s[c]=a&&r(o,c)?o[c]:u("Symbol."+c)),s[c]},da}var va,el;function ob(){if(el)return va;el=1;var e=Me(),t=xe(),r=du(),n=vu(),a=ib(),i=qe(),o=TypeError,s=i("toPrimitive");return va=function(u,c){if(!t(u)||r(u))return u;var l=n(u,s),f;if(l){if(c===void 0&&(c="default"),f=e(l,u,c),!t(f)||r(f))return f;throw new o("Can't convert object to primitive value")}return c===void 0&&(c="number"),a(u,c)},va}var pa,tl;function _p(){if(tl)return pa;tl=1;var e=ob(),t=du();return pa=function(r){var n=e(r,"string");return t(n)?n:n+""},pa}var ma,rl;function gu(){if(rl)return ma;rl=1;var e=Z(),t=xe(),r=e.document,n=t(r)&&t(r.createElement);return ma=function(a){return n?r.createElement(a):{}},ma}var ga,nl;function Cp(){if(nl)return ga;nl=1;var e=Oe(),t=ne(),r=gu();return ga=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),ga}var al;function Ap(){if(al)return Ln;al=1;var e=Oe(),t=Me(),r=ab(),n=xt(),a=pt(),i=_p(),o=_e(),s=Cp(),u=Object.getOwnPropertyDescriptor;return Ln.f=e?u:function(l,f){if(l=a(l),f=i(f),s)try{return u(l,f)}catch{}if(o(l,f))return n(!t(r.f,l,f),l[f])},Ln}var ya={},ba,il;function xp(){if(il)return ba;il=1;var e=Oe(),t=ne();return ba=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),ba}var Ea,ol;function Be(){if(ol)return Ea;ol=1;var e=xe(),t=String,r=TypeError;return Ea=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},Ea}var sl;function Ge(){if(sl)return ya;sl=1;var e=Oe(),t=Cp(),r=xp(),n=Be(),a=_p(),i=TypeError,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",l="writable";return ya.f=e?r?function(d,h,v){if(n(d),h=a(h),n(v),typeof d=="function"&&h==="prototype"&&"value"in v&&l in v&&!v[l]){var p=s(d,h);p&&p[l]&&(d[h]=v.value,v={configurable:c in v?v[c]:p[c],enumerable:u in v?v[u]:p[u],writable:!1})}return o(d,h,v)}:o:function(d,h,v){if(n(d),h=a(h),n(v),t)try{return o(d,h,v)}catch{}if("get"in v||"set"in v)throw new i("Accessors not supported");return"value"in v&&(d[h]=v.value),d},ya}var Sa,ul;function En(){if(ul)return Sa;ul=1;var e=Oe(),t=Ge(),r=xt();return Sa=e?function(n,a,i){return t.f(n,a,r(1,i))}:function(n,a,i){return n[a]=i,n},Sa}var Pa={exports:{}},wa,cl;function kp(){if(cl)return wa;cl=1;var e=Oe(),t=_e(),r=Function.prototype,n=e&&Object.getOwnPropertyDescriptor,a=t(r,"name"),i=a&&(function(){}).name==="something",o=a&&(!e||e&&n(r,"name").configurable);return wa={EXISTS:a,PROPER:i,CONFIGURABLE:o},wa}var Ta,ll;function yu(){if(ll)return Ta;ll=1;var e=ce(),t=le(),r=mu(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(a){return n(a)}),Ta=r.inspectSource,Ta}var Ra,fl;function sb(){if(fl)return Ra;fl=1;var e=Z(),t=le(),r=e.WeakMap;return Ra=t(r)&&/native code/.test(String(r)),Ra}var Ia,hl;function bu(){if(hl)return Ia;hl=1;var e=Op(),t=bn(),r=e("keys");return Ia=function(n){return r[n]||(r[n]=t(n))},Ia}var Oa,dl;function Sn(){return dl||(dl=1,Oa={}),Oa}var _a,vl;function br(){if(vl)return _a;vl=1;var e=sb(),t=Z(),r=xe(),n=En(),a=_e(),i=mu(),o=bu(),s=Sn(),u="Object already initialized",c=t.TypeError,l=t.WeakMap,f,d,h,v=function(g){return h(g)?d(g):f(g,{})},p=function(g){return function(E){var b;if(!r(E)||(b=d(E)).type!==g)throw new c("Incompatible receiver, "+g+" required");return b}};if(e||i.state){var m=i.state||(i.state=new l);m.get=m.get,m.has=m.has,m.set=m.set,f=function(g,E){if(m.has(g))throw new c(u);return E.facade=g,m.set(g,E),E},d=function(g){return m.get(g)||{}},h=function(g){return m.has(g)}}else{var y=o("state");s[y]=!0,f=function(g,E){if(a(g,y))throw new c(u);return E.facade=g,n(g,y,E),E},d=function(g){return a(g,y)?g[y]:{}},h=function(g){return a(g,y)}}return _a={set:f,get:d,has:h,enforce:v,getterFor:p},_a}var pl;function Fp(){if(pl)return Pa.exports;pl=1;var e=ce(),t=ne(),r=le(),n=_e(),a=Oe(),i=kp().CONFIGURABLE,o=yu(),s=br(),u=s.enforce,c=s.get,l=String,f=Object.defineProperty,d=e("".slice),h=e("".replace),v=e([].join),p=a&&!t(function(){return f(function(){},"length",{value:8}).length!==8}),m=String(String).split("String"),y=Pa.exports=function(g,E,b){d(l(E),0,7)==="Symbol("&&(E="["+h(l(E),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),b&&b.getter&&(E="get "+E),b&&b.setter&&(E="set "+E),(!n(g,"name")||i&&g.name!==E)&&(a?f(g,"name",{value:E,configurable:!0}):g.name=E),p&&b&&n(b,"arity")&&g.length!==b.arity&&f(g,"length",{value:b.arity});try{b&&n(b,"constructor")&&b.constructor?a&&f(g,"prototype",{writable:!1}):g.prototype&&(g.prototype=void 0)}catch{}var S=u(g);return n(S,"source")||(S.source=v(m,typeof E=="string"?E:"")),g};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||o(this)},"toString"),Pa.exports}var Ca,ml;function st(){if(ml)return Ca;ml=1;var e=le(),t=Ge(),r=Fp(),n=pu();return Ca=function(a,i,o,s){s||(s={});var u=s.enumerable,c=s.name!==void 0?s.name:i;if(e(o)&&r(o,c,s),s.global)u?a[i]=o:n(i,o);else{try{s.unsafe?a[i]&&(u=!0):delete a[i]}catch{}
1u?a[i]=o:t.f(a,i,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return a},Ca}var Aa={},xa,gl;function ub(){if(gl)return xa;gl=1;var e=Math.ceil,t=Math.floor;return xa=Math.trunc||function(n){var a=+n;return(a>0?t:e)(a)},xa}var ka,yl;function Pn(){if(yl)return ka;yl=1;var e=ub();return ka=function(t){var r=+t;return r!==r||r===0?0:e(r)},ka}var Fa,bl;function Lp(){if(bl)return Fa;bl=1;var e=Pn(),t=Math.max,r=Math.min;return Fa=function(n,a){var i=e(n);return i<0?t(i+a,0):r(i,a)},Fa}var La,El;function cb(){if(El)return La;El=1;var e=Pn(),t=Math.min;return La=function(r){var n=e(r);return n>0?t(n,9007199254740991):0},La}var Na,Sl;function mt(){if(Sl)return Na;Sl=1;var e=cb();return Na=function(t){return e(t.length)},Na}var Da,Pl;function lb(){if(Pl)return Da;Pl=1;var e=pt(),t=Lp(),r=mt(),n=function(a){return function(i,o,s){var u=e(i),c=r(u);if(c===0)return!a&&-1;var l=t(s,c),f;if(a&&o!==o){for(;c>l;)if(f=u[l++],f!==f)return!0}else for(;c>l;l++)if((a||l in u)&&u[l]===o)return a||l||0;return!a&&-1}};return Da={includes:n(!0),indexOf:n(!1)},Da}var Ma,wl;function Np(){if(wl)return Ma;wl=1;var e=ce(),t=_e(),r=pt(),n=lb().indexOf,a=Sn(),i=e([].push);return Ma=function(o,s){var u=r(o),c=0,l=[],f;for(f in u)!t(a,f)&&t(u,f)&&i(l,f);for(;s.length>c;)t(u,f=s[c++])&&(~n(l,f)||i(l,f));return l},Ma}var qa,Tl;function Eu(){return Tl||(Tl=1,qa=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),qa}var Rl;function Su(){if(Rl)return Aa;Rl=1;var e=Np(),t=Eu(),r=t.concat("length","prototype");return Aa.f=Object.getOwnPropertyNames||function(a){return e(a,r)},Aa}var Ba={},Il;function fb(){return Il||(Il=1,Ba.f=Object.getOwnPropertySymbols),Ba}var ja,Ol;function hb(){if(Ol)return ja;Ol=1;var e=Qe(),t=ce(),r=Su(),n=fb(),a=Be(),i=t([].concat);return ja=e("Reflect","ownKeys")||function(s){var u=r.f(a(s)),c=n.f;return c?i(u,c(s)):u},ja}var Ua,_l;function db(){if(_l)return Ua;_l=1;var e=_e(),t=hb(),r=Ap(),n=Ge();return Ua=function(a,i,o){for(var s=t(i),u=n.f,c=r.f,l=0;l<s.length;l++){var f=s[l];!e(a,f)&&!(o&&e(o,f))&&u(a,f,c(i,f))}},Ua}var Ha,Cl;function Pu(){if(Cl)return Ha;Cl=1;var e=ne(),t=le(),r=/#|\.prototype\./,n=function(u,c){var l=i[a(u)];return l===s?!0:l===o?!1:t(c)?e(c):!!c},a=n.normalize=function(u){return String(u).replace(r,".").toLowerCase()},i=n.data={},o=n.NATIVE="N",s=n.POLYFILL="P";return Ha=n,Ha}var Ga,Al;function fe(){if(Al)return Ga;Al=1;var e=Z(),t=Ap().f,r=En(),n=st(),a=pu(),i=db(),o=Pu();return Ga=function(s,u){var c=s.target,l=s.global,f=s.stat,d,h,v,p,m,y;if(l?h=e:f?h=e[c]||a(c,{}):h=e[c]&&e[c].prototype,h)for(v in u){if(m=u[v],s.dontCallGetSet?(y=t(h,v),p=y&&y.value):p=h[v],d=o(l?v:c+(f?".":"#")+v,s.forced),!d&&p!==void 0){if(typeof m==typeof p)continue;i(m,p)}(s.sham||p&&p.sham)&&r(m,"sham",!0),n(h,v,m,s)}},Ga}var $a,xl;function wu(){if(xl)return $a;xl=1;var e=Z(),t=Tt(),r=Yt(),n=function(a){return t.slice(0,a.length)===a};return $a=(function(){return n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":e.Bun&&typeof Bun.version=="string"?"BUN":e.Deno&&typeof Deno.version=="object"?"DENO":r(e.process)==="process"?"NODE":e.window&&e.document?"BROWSER":"REST"})(),$a}var Va,kl;function wn(){if(kl)return Va;kl=1;var e=wu();return Va=e==="NODE",Va}var Ka,Fl;function Tn(){if(Fl)return Ka;Fl=1;var e=Z();return Ka=e,Ka}var Wa,Ll;function vb(){if(Ll)return Wa;Ll=1;var e=ce(),t=ot();return Wa=function(r,n,a){try{return e(t(Object.getOwnPropertyDescriptor(r,n)[a]))}catch{}},Wa}var Qa,Nl;function pb(){if(Nl)return Qa;Nl=1;var e=xe();return Qa=function(t){return e(t)||t===null},Qa}var za,Dl;function mb(){if(Dl)return za;Dl=1;var e=pb(),t=String,r=TypeError;return za=function(n){if(e(n))return n;throw new r("Can't set "+t(n)+" as a prototype")},za}var Xa,Ml;function Tu(){if(Ml)return Xa;Ml=1;var e=vb(),t=xe(),r=hu(),n=mb();return Xa=Object.setPrototypeOf||("__proto__"in{}?(function(){var a=!1,i={},o;try{o=e(Object.prototype,"__proto__","set"),o(i,[]),a=i instanceof Array}catch{}return function(u,c){return r(u),n(c),t(u)&&(a?o(u,c):u.__proto__=c),u}})():void 0),Xa}var Ya,ql;function Er(){if(ql)return Ya;ql=1;var e=Ge().f,t=_e(),r=qe(),n=r("toStringTag");
1return Ya=function(a,i,o){a&&!o&&(a=a.prototype),a&&!t(a,n)&&e(a,n,{configurable:!0,value:i})},Ya}var Ja,Bl;function Ru(){if(Bl)return Ja;Bl=1;var e=Fp(),t=Ge();return Ja=function(r,n,a){return a.get&&e(a.get,n,{getter:!0}),a.set&&e(a.set,n,{setter:!0}),t.f(r,n,a)},Ja}var Za,jl;function Dp(){if(jl)return Za;jl=1;var e=Qe(),t=Ru(),r=qe(),n=Oe(),a=r("species");return Za=function(i){var o=e(i);n&&o&&!o[a]&&t(o,a,{configurable:!0,get:function(){return this}})},Za}var ei,Ul;function Sr(){if(Ul)return ei;Ul=1;var e=gn(),t=TypeError;return ei=function(r,n){if(e(n,r))return r;throw new t("Incorrect invocation")},ei}var ti,Hl;function Iu(){if(Hl)return ti;Hl=1;var e=qe(),t=e("toStringTag"),r={};return r[t]="z",ti=String(r)==="[object z]",ti}var ri,Gl;function Pr(){if(Gl)return ri;Gl=1;var e=Iu(),t=le(),r=Yt(),n=qe(),a=n("toStringTag"),i=Object,o=r((function(){return arguments})())==="Arguments",s=function(u,c){try{return u[c]}catch{}};return ri=e?r:function(u){var c,l,f;return u===void 0?"Undefined":u===null?"Null":typeof(l=s(c=i(u),a))=="string"?l:o?r(c):(f=r(c))==="Object"&&t(c.callee)?"Arguments":f},ri}var ni,$l;function Mp(){if($l)return ni;$l=1;var e=ce(),t=ne(),r=le(),n=Pr(),a=Qe(),i=yu(),o=function(){},s=a("Reflect","construct"),u=/^\s*(?:class|function)\b/,c=e(u.exec),l=!u.test(o),f=function(v){if(!r(v))return!1;try{return s(o,[],v),!0}catch{return!1}},d=function(v){if(!r(v))return!1;switch(n(v)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(u,i(v))}catch{return!0}};return d.sham=!0,ni=!s||t(function(){var h;return f(f.call)||!f(Object)||!f(function(){h=!0})||h})?d:f,ni}var ai,Vl;function gb(){if(Vl)return ai;Vl=1;var e=Mp(),t=yr(),r=TypeError;return ai=function(n){if(e(n))return n;throw new r(t(n)+" is not a constructor")},ai}var ii,Kl;function yb(){if(Kl)return ii;Kl=1;var e=Be(),t=gb(),r=kt(),n=qe(),a=n("species");return ii=function(i,o){var s=e(i).constructor,u;return s===void 0||r(u=e(s)[a])?o:t(u)},ii}var oi,Wl;function bb(){if(Wl)return oi;Wl=1;var e=mn(),t=Function.prototype,r=t.apply,n=t.call;return oi=typeof Reflect=="object"&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)}),oi}var si,Ql;function Eb(){if(Ql)return si;Ql=1;var e=Yt(),t=ce();return si=function(r){if(e(r)==="Function")return t(r)},si}var ui,zl;function wr(){if(zl)return ui;zl=1;var e=Eb(),t=ot(),r=mn(),n=e(e.bind);return ui=function(a,i){return t(a),i===void 0?a:r?n(a,i):function(){return a.apply(i,arguments)}},ui}var ci,Xl;function qp(){if(Xl)return ci;Xl=1;var e=Qe();return ci=e("document","documentElement"),ci}var li,Yl;function Ou(){if(Yl)return li;Yl=1;var e=ce();return li=e([].slice),li}var fi,Jl;function Bp(){if(Jl)return fi;Jl=1;var e=TypeError;return fi=function(t,r){if(t<r)throw new e("Not enough arguments");return t},fi}var hi,Zl;function jp(){if(Zl)return hi;Zl=1;var e=Tt();return hi=/ipad|iphone|ipod/i.test(e)&&/applewebkit/i.test(e),hi}var di,ef;function Up(){if(ef)return di;ef=1;var e=Z(),t=bb(),r=wr(),n=le(),a=_e(),i=ne(),o=qp(),s=Ou(),u=gu(),c=Bp(),l=jp(),f=wn(),d=e.setImmediate,h=e.clearImmediate,v=e.process,p=e.Dispatch,m=e.Function,y=e.MessageChannel,g=e.String,E=0,b={},S="onreadystatechange",R,_,I,P;i(function(){R=e.location});var C=function(w){if(a(b,w)){var x=b[w];delete b[w],x()}},A=function(w){return function(){C(w)}},L=function(w){C(w.data)},T=function(w){e.postMessage(g(w),R.protocol+"//"+R.host)};return(!d||!h)&&(d=function(x){c(arguments.length,1);var k=n(x)?x:m(x),N=s(arguments,1);return b[++E]=function(){t(k,void 0,N)},_(E),E},h=function(x){delete b[x]},f?_=function(w){v.nextTick(A(w))}:p&&p.now?_=function(w){p.now(A(w))}:y&&!l?(I=new y,P=I.port2,I.port1.onmessage=L,_=r(P.postMessage,P)):e.addEventListener&&n(e.postMessage)&&!e.importScripts&&R&&R.protocol!=="file:"&&!i(T)?(_=T,e.addEventListener("message",L,!1)):S in u("script")?_=function(w){o.appendChild(u("script"))[S]=function(){o.removeChild(this),C(w)}}:_=function(w){setTimeout(A(w),0)}),di={set:d,clear:h},di}var vi,tf;function Sb(){if(tf)return vi;tf=1;var e=Z(),t=Oe(),r=Object.getOwnPropertyDescriptor;return vi=function(n){if(!t)return e[n];var a=r(e,n);return a&&a.value},vi}var pi,rf;function Hp(){if(rf)return pi;rf=1;var e=function(){this.head=null,this.tail=null};return e.prototype={add:function(t){var r={item:t,next:null},n=this.tail;n?n.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t){var r=this.head=t.next;return r===null&&(this.tail=null),t.item}}},pi=e,pi}var mi,nf;function Pb(){if(nf)return mi;nf=1;var e=Tt();return mi=/ipad|iphone|ipod/i.test(e)&&typeof Pebble<"u",mi}var gi,af;function wb(){if(af)return gi;af=1;var e=Tt();return gi=/web0s(?!.*chrome)/i.test(e),gi}var yi,of;function Tb(){if(of)return yi;of=1;var e=Z(),t=Sb(),r=wr(),n=Up().set,a=Hp(),i=jp(),o=Pb(),s=wb(),u=wn(),c=e.MutationObserver||e.WebKitMutationObserver,l=e.document,f=e.process,d=e.Promise,h=t("queueMicrotask"),v,p,m,y,g;if(!h){var E=new a,b=function(){var S,R;for(u&&(S=f.domain)&&S.exit();R=E.get();)try{R()}catch(_){throw E.head&&v(),_}S&&S.enter()};!i&&!u&&!s&&c&&l?(p=!0,m=l.createTextNode(""),new c(b).observe(m,{characterData:!0}
1),v=function(){m.data=p=!p}):!o&&d&&d.resolve?(y=d.resolve(void 0),y.constructor=d,g=r(y.then,y),v=function(){g(b)}):u?v=function(){f.nextTick(b)}:(n=r(n,e),v=function(){n(b)}),h=function(S){E.head||v(),E.add(S)}}return yi=h,yi}var bi,sf;function Rb(){return sf||(sf=1,bi=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}),bi}var Ei,uf;function _u(){return uf||(uf=1,Ei=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}),Ei}var Si,cf;function Tr(){if(cf)return Si;cf=1;var e=Z();return Si=e.Promise,Si}var Pi,lf;function Rr(){if(lf)return Pi;lf=1;var e=Z(),t=Tr(),r=le(),n=Pu(),a=yu(),i=qe(),o=wu(),s=ze(),u=yn(),c=t&&t.prototype,l=i("species"),f=!1,d=r(e.PromiseRejectionEvent),h=n("Promise",function(){var v=a(t),p=v!==String(t);if(!p&&u===66||s&&!(c.catch&&c.finally))return!0;if(!u||u<51||!/native code/.test(v)){var m=new t(function(E){E(1)}),y=function(E){E(function(){},function(){})},g=m.constructor={};if(g[l]=y,f=m.then(function(){})instanceof y,!f)return!0}return!p&&(o==="BROWSER"||o==="DENO")&&!d});return Pi={CONSTRUCTOR:h,REJECTION_EVENT:d,SUBCLASSING:f},Pi}var wi={},ff;function Zt(){if(ff)return wi;ff=1;var e=ot(),t=TypeError,r=function(n){var a,i;this.promise=new n(function(o,s){if(a!==void 0||i!==void 0)throw new t("Bad Promise constructor");a=o,i=s}),this.resolve=e(a),this.reject=e(i)};return wi.f=function(n){return new r(n)},wi}var hf;function Ib(){if(hf)return bc;hf=1;var e=fe(),t=ze(),r=wn(),n=Z(),a=Tn(),i=Me(),o=st(),s=Tu(),u=Er(),c=Dp(),l=ot(),f=le(),d=xe(),h=Sr(),v=yb(),p=Up().set,m=Tb(),y=Rb(),g=_u(),E=Hp(),b=br(),S=Tr(),R=Rr(),_=Zt(),I="Promise",P=R.CONSTRUCTOR,C=R.REJECTION_EVENT,A=R.SUBCLASSING,L=b.getterFor(I),T=b.set,w=S&&S.prototype,x=S,k=w,N=n.TypeError,V=n.document,$=n.process,ge=_.f,he=ge,ye=!!(V&&V.createEvent&&n.dispatchEvent),Ce="unhandledrejection",be="rejectionhandled",Xe=0,ct=1,Lt=2,Ee=1,$e=2,Ye,Je,Ve,Ze,nr=function(D){var G;return d(D)&&f(G=D.then)?G:!1},ar=function(D,G){var J=G.value,H=G.state===ct,ee=H?D.ok:D.fail,yt=D.resolve,O=D.reject,M=D.domain,U,z,te;try{ee?(H||(G.rejection===$e&&tt(G),G.rejection=Ee),ee===!0?U=J:(M&&M.enter(),U=ee(J),M&&(M.exit(),te=!0)),U===D.promise?O(new N("Promise-chain cycle")):(z=nr(U))?i(z,U,yt,O):yt(U)):O(J)}catch(q){M&&!te&&M.exit(),O(q)}},Lr=function(D,G){D.notified||(D.notified=!0,m(function(){for(var J=D.reactions,H;H=J.get();)ar(H,D);D.notified=!1,G&&!D.rejection&&kn(D)}))},et=function(D,G,J){var H,ee;ye?(H=V.createEvent("Event"),H.promise=G,H.reason=J,H.initEvent(D,!1,!0),n.dispatchEvent(H)):H={promise:G,reason:J},!C&&(ee=n["on"+D])?ee(H):D===Ce&&y("Unhandled promise rejection",J)},kn=function(D){i(p,n,function(){var G=D.facade,J=D.value,H=Nr(D),ee;if(H&&(ee=g(function(){r?$.emit("unhandledRejection",J,G):et(Ce,G,J)}),D.rejection=r||Nr(D)?$e:Ee,ee.error))throw ee.value})},Nr=function(D){return D.rejection!==Ee&&!D.parent},tt=function(D){i(p,n,function(){var G=D.facade;r?$.emit("rejectionHandled",G):et(be,G,D.value)})},rt=function(D,G,J){return function(H){D(G,H,J)}},de=function(D,G,J){D.done||(D.done=!0,J&&(D=J),D.value=G,D.state=Lt,Lr(D,!0))},It=function(D,G,J){if(!D.done){D.done=!0,J&&(D=J);try{if(D.facade===G)throw new N("Promise can't be resolved itself");var H=nr(G);H?m(function(){var ee={done:!1};try{i(H,G,rt(It,ee,D),rt(de,ee,D))}catch(yt){de(ee,yt,D)}}):(D.value=G,D.state=ct,Lr(D,!1))}catch(ee){de({done:!1},ee,D)}}};if(P&&(x=function(G){h(this,k),l(G),i(Ye,this);var J=L(this);try{G(rt(It,J),rt(de,J))}catch(H){de(J,H)}},k=x.prototype,Ye=function(G){T(this,{type:I,done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:Xe,value:null})},Ye.prototype=o(k,"then",function(G,J){var H=L(this),ee=ge(v(this,x));return H.parent=!0,ee.ok=f(G)?G:!0,ee.fail=f(J)&&J,ee.domain=r?$.domain:void 0,H.state===Xe?H.reactions.add(ee):m(function(){ar(ee,H)}),ee.promise}),Je=function(){var D=new Ye,G=L(D);this.promise=D,this.resolve=rt(It,G),this.reject=rt(de,G)},_.f=ge=function(D){return D===x||D===Ve?new Je(D):he(D)},!t&&f(S)&&w!==Object.prototype)){Ze=w.then,A||o(w,"then",function(G,J){var H=this;return new x(function(ee,yt){i(Ze,H,ee,yt)}).then(G,J)},{unsafe:!0});try{delete w.constructor}catch{}s&&s(w,k)}return e({global:!0,constructor:!0,wrap:!0,forced:P},{Promise:x}),Ve=a.Promise,u(x,I,!1,!0),c(I),bc}var df={},Ti,vf;function Ir(){return vf||(vf=1,Ti={}),Ti}var Ri,pf;function Ob(){if(pf)return Ri;pf=1;var e=qe(),t=Ir(),r=e("iterator"),n=Array.prototype;return Ri=function(a){return a!==void 0&&(t.Array===a||n[r]===a)},Ri}var Ii,mf;function Gp(){if(mf)return Ii;mf=1;var e=Pr(),t=vu(),r=kt(),n=Ir(),a=qe(),i=a("iterator");
1return Ii=function(o){if(!r(o))return t(o,i)||t(o,"@@iterator")||n[e(o)]},Ii}var Oi,gf;function _b(){if(gf)return Oi;gf=1;var e=Me(),t=ot(),r=Be(),n=yr(),a=Gp(),i=TypeError;return Oi=function(o,s){var u=arguments.length<2?a(o):s;if(t(u))return r(e(u,o));throw new i(n(o)+" is not iterable")},Oi}var _i,yf;function Cb(){if(yf)return _i;yf=1;var e=Me(),t=Be(),r=vu();return _i=function(n,a,i){var o,s;t(n);try{if(o=r(n,"return"),!o){if(a==="throw")throw i;return i}o=e(o,n)}catch(u){s=!0,o=u}if(a==="throw")throw i;if(s)throw o;return t(o),i},_i}var Ci,bf;function Or(){if(bf)return Ci;bf=1;var e=wr(),t=Me(),r=Be(),n=yr(),a=Ob(),i=mt(),o=gn(),s=_b(),u=Gp(),c=Cb(),l=TypeError,f=function(h,v){this.stopped=h,this.result=v},d=f.prototype;return Ci=function(h,v,p){var m=p&&p.that,y=!!(p&&p.AS_ENTRIES),g=!!(p&&p.IS_RECORD),E=!!(p&&p.IS_ITERATOR),b=!!(p&&p.INTERRUPTED),S=e(v,m),R,_,I,P,C,A,L,T=function(k){var N=R;return R=void 0,N&&c(N,"normal"),new f(!0,k)},w=function(k){return y?(r(k),b?S(k[0],k[1],T):S(k[0],k[1])):b?S(k,T):S(k)};if(g)R=h.iterator;else if(E)R=h;else{if(_=u(h),!_)throw new l(n(h)+" is not iterable");if(a(_)){for(I=0,P=i(h);P>I;I++)if(C=w(h[I]),C&&o(d,C))return C;return new f(!1)}R=s(h,_)}for(A=g?h.next:R.next;!(L=t(A,R)).done;){var x=L.value;try{C=w(x)}catch(k){if(R)c(R,"throw",k);else throw k}if(typeof C=="object"&&C&&o(d,C))return C}return new f(!1)},Ci}var Ai,Ef;function $p(){if(Ef)return Ai;Ef=1;var e=qe(),t=e("iterator"),r=!1;try{var n=0,a={next:function(){return{done:!!n++}},return:function(){r=!0}};a[t]=function(){return this},Array.from(a,function(){throw 2})}catch{}return Ai=function(i,o){try{if(!o&&!r)return!1}catch{return!1}var s=!1;try{var u={};u[t]=function(){return{next:function(){return{done:s=!0}}}},i(u)}catch{}return s},Ai}var xi,Sf;function Vp(){if(Sf)return xi;Sf=1;var e=Tr(),t=$p(),r=Rr().CONSTRUCTOR;return xi=r||!t(function(n){e.all(n).then(void 0,function(){})}),xi}var Pf;function Ab(){if(Pf)return df;Pf=1;var e=fe(),t=Me(),r=ot(),n=Zt(),a=_u(),i=Or(),o=Vp();return e({target:"Promise",stat:!0,forced:o},{all:function(u){var c=this,l=n.f(c),f=l.resolve,d=l.reject,h=a(function(){var v=r(c.resolve),p=[],m=0,y=1;i(u,function(g){var E=m++,b=!1;y++,t(v,c,g).then(function(S){b||(b=!0,p[E]=S,--y||f(p))},d)}),--y||f(p)});return h.error&&d(h.value),l.promise}}),df}var wf={},Tf;function xb(){if(Tf)return wf;Tf=1;var e=fe(),t=ze(),r=Rr().CONSTRUCTOR,n=Tr(),a=Qe(),i=le(),o=st(),s=n&&n.prototype;if(e({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(c){return this.then(void 0,c)}}),!t&&i(n)){var u=a("Promise").prototype.catch;s.catch!==u&&o(s,"catch",u,{unsafe:!0})}return wf}var Rf={},If;function kb(){if(If)return Rf;If=1;var e=fe(),t=Me(),r=ot(),n=Zt(),a=_u(),i=Or(),o=Vp();return e({target:"Promise",stat:!0,forced:o},{race:function(u){var c=this,l=n.f(c),f=l.reject,d=a(function(){var h=r(c.resolve);i(u,function(v){t(h,c,v).then(l.resolve,f)})});return d.error&&f(d.value),l.promise}}),Rf}var Of={},_f;function Fb(){if(_f)return Of;_f=1;var e=fe(),t=Zt(),r=Rr().CONSTRUCTOR;return e({target:"Promise",stat:!0,forced:r},{reject:function(a){var i=t.f(this),o=i.reject;return o(a),i.promise}}),Of}var Cf={},ki,Af;function Lb(){if(Af)return ki;Af=1;var e=Be(),t=xe(),r=Zt();return ki=function(n,a){if(e(n),t(a)&&a.constructor===n)return a;var i=r.f(n),o=i.resolve;return o(a),i.promise},ki}var xf;function Nb(){if(xf)return Cf;xf=1;var e=fe(),t=Qe(),r=ze(),n=Tr(),a=Rr().CONSTRUCTOR,i=Lb(),o=t("Promise"),s=r&&!a;return e({target:"Promise",stat:!0,forced:r||a},{resolve:function(c){return i(s&&this===o?n:this,c)}}),Cf}var kf;function Db(){return kf||(kf=1,Ib(),Ab(),xb(),kb(),Fb(),Nb()),yc}var Ff={},Lf;function Kp(){if(Lf)return Ff;Lf=1;var e=fe(),t=Zt();return e({target:"Promise",stat:!0},{withResolvers:function(){var n=t.f(this);return{promise:n.promise,resolve:n.resolve,reject:n.reject}}}),Ff}var Fi,Nf;function Mb(){if(Nf)return Fi;Nf=1,Db(),Kp();var e=Me(),t=le(),r=Tn(),n=r.Promise,a=n.withResolvers;return Fi=function(){return e(a,t(this)?this:n)},Fi}var Li,Df;function qb(){if(Df)return Li;Df=1;var e=Mb();return Li=e,Li}var Mf={},qf;function Bb(){return qf||(qf=1,Kp()),Mf}var Ni,Bf;function jb(){if(Bf)return Ni;Bf=1;var e=qb();return Bb(),Ni=e,Ni}jb();var jf={},Di,Uf;function Wp(){if(Uf)return Di;Uf=1;var e=Pr(),t=String;return Di=function(r){if(e(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return t(r)},Di}var Mi,Hf;function Cu(){if(Hf)return Mi;Hf=1;var e=Wp();return Mi=function(t,r){return t===void 0?arguments.length<2?"":r:e(t)},Mi}var qi,Gf;function Qp(){if(Gf)return qi;Gf=1;var e=Oe(),t=ne(),r=Be(),n=Cu(),a=Error.prototype.toString,i=t(function(){if(e){var o=Object.create(Object.defineProperty({},"name",{get:function(){return this===o}}));if(a.call(o)!=="true")return!0}return a.call({message:1,name:2})!=="2: 1"||a.call({})!=="Error"});return qi=i?function(){var s=r(this),u=n(s.name,"Error"),c=n(s.message);return u?c?u+": "+c:u:c}:a,qi}var $f;function Ub(){if($f)return jf;$f=1;var e=st(),t=Qp(),r=Error.prototype;return r.toString!==t&&e(r,"toString",t),jf}var Bi={},ji,Vf;function zp(){if(Vf)return ji;Vf=1;var e=Np(),t=Eu();return ji=Object.keys||function(n){return e(n,t)},ji}var Kf;function Hb(){if(Kf)return Bi;Kf=1;var e=Oe(),t=xp(),r=Ge(),n=Be(),a=pt(),i=zp();return Bi.f=e&&!t?Object.defineProperties:function(s,u){n(s);for(var c=a(u),l=i(u),f=l.length,d=0,h;f>d;)r.f(s,h=l[d++],c[h]);return s},Bi}var Ui,Wf;function _r(){if(Wf)return Ui;Wf=1;var e=Be(),t=Hb(),r=Eu(),n=Sn(),a=qp(),i=gu(),o=bu(),s=">",u="<",c="prototype",l="script",f=o("IE_PROTO"),d=function(){},h=function(g){return u+l+s+g+u+"/"+l+s},v=function(g){g.write(h("")),g.close();var E=g.parentWindow.Object;return g=null,E},p=function(){var g=i("iframe"),E="java"+l+":",b;return g.style.display="none",a.appendChild(g),g.src=String(E),b=g.contentWindow.document,b.open(),b.write(h("document.F=Object")),b.close(),b.F}
1,m,y=function(){try{m=new ActiveXObject("htmlfile")}catch{}y=typeof document<"u"?document.domain&&m?v(m):p():v(m);for(var g=r.length;g--;)delete y[c][r[g]];return y()};return n[f]=!0,Ui=Object.create||function(E,b){var S;return E!==null?(d[c]=e(E),S=new d,d[c]=null,S[f]=E):S=y(),b===void 0?S:t.f(S,b)},Ui}var Hi,Qf;function Ft(){if(Qf)return Hi;Qf=1;var e=qe(),t=_r(),r=Ge().f,n=e("unscopables"),a=Array.prototype;return a[n]===void 0&&r(a,n,{configurable:!0,value:t(null)}),Hi=function(i){a[n][i]=!0},Hi}var Gi,zf;function Gb(){if(zf)return Gi;zf=1;var e=ne();return Gi=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Gi}var $i,Xf;function Xp(){if(Xf)return $i;Xf=1;var e=_e(),t=le(),r=Jt(),n=bu(),a=Gb(),i=n("IE_PROTO"),o=Object,s=o.prototype;return $i=a?o.getPrototypeOf:function(u){var c=r(u);if(e(c,i))return c[i];var l=c.constructor;return t(l)&&c instanceof l?l.prototype:c instanceof o?s:null},$i}var Vi,Yf;function Yp(){if(Yf)return Vi;Yf=1;var e=ne(),t=le(),r=xe(),n=_r(),a=Xp(),i=st(),o=qe(),s=ze(),u=o("iterator"),c=!1,l,f,d;[].keys&&(d=[].keys(),"next"in d?(f=a(a(d)),f!==Object.prototype&&(l=f)):c=!0);var h=!r(l)||e(function(){var v={};return l[u].call(v)!==v});return h?l={}:s&&(l=n(l)),t(l[u])||i(l,u,function(){return this}),Vi={IteratorPrototype:l,BUGGY_SAFARI_ITERATORS:c},Vi}var Ki,Jf;function $b(){if(Jf)return Ki;Jf=1;var e=Yp().IteratorPrototype,t=_r(),r=xt(),n=Er(),a=Ir(),i=function(){return this};return Ki=function(o,s,u,c){var l=s+" Iterator";return o.prototype=t(e,{next:r(+!c,u)}),n(o,l,!1,!0),a[l]=i,o},Ki}var Wi,Zf;function Jp(){if(Zf)return Wi;Zf=1;var e=fe(),t=Me(),r=ze(),n=kp(),a=le(),i=$b(),o=Xp(),s=Tu(),u=Er(),c=En(),l=st(),f=qe(),d=Ir(),h=Yp(),v=n.PROPER,p=n.CONFIGURABLE,m=h.IteratorPrototype,y=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),E="keys",b="values",S="entries",R=function(){return this};return Wi=function(_,I,P,C,A,L,T){i(P,I,C);var w=function(be){if(be===A&&$)return $;if(!y&&be&&be in N)return N[be];switch(be){case E:return function(){return new P(this,be)};case b:return function(){return new P(this,be)};case S:return function(){return new P(this,be)}}return function(){return new P(this)}},x=I+" Iterator",k=!1,N=_.prototype,V=N[g]||N["@@iterator"]||A&&N[A],$=!y&&V||w(A),ge=I==="Array"&&N.entries||V,he,ye,Ce;if(ge&&(he=o(ge.call(new _)),he!==Object.prototype&&he.next&&(!r&&o(he)!==m&&(s?s(he,m):a(he[g])||l(he,g,R)),u(he,x,!0,!0),r&&(d[x]=R))),v&&A===b&&V&&V.name!==b&&(!r&&p?c(N,"name",b):(k=!0,$=function(){return t(V,this)})),A)if(ye={values:w(b),keys:L?$:w(E),entries:w(S)},T)for(Ce in ye)(y||k||!(Ce in N))&&l(N,Ce,ye[Ce]);else e({target:I,proto:!0,forced:y||k},ye);return(!r||T)&&N[g]!==$&&l(N,g,$,{name:A}),d[I]=$,ye},Wi}var Qi,eh;function Zp(){return eh||(eh=1,Qi=function(e,t){return{value:e,done:t}}),Qi}var zi,th;function Vb(){if(th)return zi;th=1;var e=pt(),t=Ft(),r=Ir(),n=br(),a=Ge().f,i=Jp(),o=Zp(),s=ze(),u=Oe(),c="Array Iterator",l=n.set,f=n.getterFor(c);zi=i(Array,"Array",function(h,v){l(this,{type:c,target:e(h),index:0,kind:v})},function(){var h=f(this),v=h.target,p=h.index++;if(!v||p>=v.length)return h.target=null,o(void 0,!0);switch(h.kind){case"keys":return o(p,!1);case"values":return o(v[p],!1)}return o([p,v[p]],!1)},"values");var d=r.Arguments=r.Array;if(t("keys"),t("values"),t("entries"),!s&&u&&d.name!=="values")try{a(d,"name",{value:"values"})}catch{}return zi}var rh={},nh;function Kb(){if(nh)return rh;nh=1;var e=fe(),t=Jt(),r=zp(),n=ne(),a=n(function(){r(1)});return e({target:"Object",stat:!0,forced:a},{keys:function(o){return r(t(o))}}),rh}var ah={},Xi,ih;function Wb(){if(ih)return Xi;ih=1;var e=Iu(),t=Pr();return Xi=e?{}.toString:function(){return"[object "+t(this)+"]"},Xi}var oh;function Qb(){if(oh)return ah;oh=1;var e=Iu(),t=st(),r=Wb();return e||t(Object.prototype,"toString",r,{unsafe:!0}),ah}var sh={},uh={},Yi={exports:{}},Ji={},ch;function zb(){if(ch)return Ji;ch=1;var e=Yt(),t=pt(),r=Su().f,n=Ou(),a=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(o){try{return r(o)}catch{return n(a)}};return Ji.f=function(s){return a&&e(s)==="Window"?i(s):r(t(s))},Ji}var Zi,lh;function Xb(){if(lh)return Zi;lh=1;var e=ne();return Zi=e(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),Zi}var eo,fh;
vendor: 4,240 bytes, line 1
1function Yb(){if(fh)return eo;fh=1;var e=ne(),t=xe(),r=Yt(),n=Xb(),a=Object.isExtensible,i=e(function(){});return eo=i||n?function(s){return!t(s)||n&&r(s)==="ArrayBuffer"?!1:a?a(s):!0}:a,eo}var to,hh;function Jb(){if(hh)return to;hh=1;var e=ne();return to=!e(function(){return Object.isExtensible(Object.preventExtensions({}))}),to}var dh;function em(){if(dh)return Yi.exports;dh=1;var e=fe(),t=ce(),r=Sn(),n=xe(),a=_e(),i=Ge().f,o=Su(),s=zb(),u=Yb(),c=bn(),l=Jb(),f=!1,d=c("meta"),h=0,v=function(b){i(b,d,{value:{objectID:"O"+h++,weakData:{}}})},p=function(b,S){if(!n(b))return typeof b=="symbol"?b:(typeof b=="string"?"S":"P")+b;if(!a(b,d)){if(!u(b))return"F";if(!S)return"E";v(b)}return b[d].objectID},m=function(b,S){if(!a(b,d)){if(!u(b))return!0;if(!S)return!1;v(b)}return b[d].weakData},y=function(b){return l&&f&&u(b)&&!a(b,d)&&v(b),b},g=function(){E.enable=function(){},f=!0;var b=o.f,S=t([].splice),R={};R[d]=1,b(R).length&&(o.f=function(_){for(var I=b(_),P=0,C=I.length;P<C;P++)if(I[P]===d){S(I,P,1);break}return I},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:s.f}))},E=Yi.exports={enable:g,fastKey:p,getWeakData:m,onFreeze:y};return r[d]=!0,Yi.exports}var ro,vh;function tm(){if(vh)return ro;vh=1;var e=le(),t=xe(),r=Tu();return ro=function(n,a,i){var o,s;return r&&e(o=a.constructor)&&o!==i&&t(s=o.prototype)&&s!==i.prototype&&r(n,s),n},ro}var no,ph;function rm(){if(ph)return no;ph=1;var e=fe(),t=Z(),r=ce(),n=Pu(),a=st(),i=em(),o=Or(),s=Sr(),u=le(),c=kt(),l=xe(),f=ne(),d=$p(),h=Er(),v=tm();return no=function(p,m,y){var g=p.indexOf("Map")!==-1,E=p.indexOf("Weak")!==-1,b=g?"set":"add",S=t[p],R=S&&S.prototype,_=S,I={},P=function(k){var N=r(R[k]);a(R,k,k==="add"?function($){return N(this,$===0?0:$),this}:k==="delete"?function(V){return E&&!l(V)?!1:N(this,V===0?0:V)}:k==="get"?function($){return E&&!l($)?void 0:N(this,$===0?0:$)}:k==="has"?function($){return E&&!l($)?!1:N(this,$===0?0:$)}:function($,ge){return N(this,$===0?0:$,ge),this})},C=n(p,!u(S)||!(E||R.forEach&&!f(function(){new S().entries().next()})));if(C)_=y.getConstructor(m,p,g,b),i.enable();else if(n(p,!0)){var A=new _,L=A[b](E?{}:-0,1)!==A,T=f(function(){A.has(1)}),w=d(function(k){new S(k)}),x=!E&&f(function(){for(var k=new S,N=5;N--;)k[b](N,N);return!k.has(-0)});w||(_=m(function(k,N){s(k,R);var V=v(new S,k,_);return c(N)||o(N,V[b],{that:V,AS_ENTRIES:g}),V}),_.prototype=R,R.constructor=_),(T||x)&&(P("delete"),P("has"),g&&P("get")),(x||L)&&P(b),E&&R.clear&&delete R.clear}return I[p]=_,e({global:!0,constructor:!0,forced:_!==S},I),h(_,p),E||y.setStrong(_,p,g),_},no}var ao,mh;function Zb(){if(mh)return ao;mh=1;var e=st();return ao=function(t,r,n){for(var a in r)e(t,a,r[a],n);return t},ao}var io,gh;function nm(){if(gh)return io;gh=1;var e=_r(),t=Ru(),r=Zb(),n=wr(),a=Sr(),i=kt(),o=Or(),s=Jp(),u=Zp(),c=Dp(),l=Oe(),f=em().fastKey,d=br(),h=d.set,v=d.getterFor;return io={getConstructor:function(p,m,y,g){var E=p(function(I,P){a(I,b),h(I,{type:m,index:e(null),first:null,last:null,size:0}),l||(I.size=0),i(P)||o(P,I[g],{that:I,AS_ENTRIES:y})}),b=E.prototype,S=v(m),R=function(I,P,C){var A=S(I),L=_(I,P),T,w;return L?L.value=C:(A.last=L={index:w=f(P,!0),key:P,value:C,previous:T=A.last,next:null,removed:!1},A.first||(A.first=L),T&&(T.next=L),l?A.size++:I.size++,w!=="F"&&(A.index[w]=L)),I},_=function(I,P){var C=S(I),A=f(P),L;if(A!=="F")return C.index[A];for(L=C.first;L;L=L.next)if(L.key===P)return L};return r(b,{clear:function(){for(var P=this,C=S(P),A=C.first;A;)A.removed=!0,A.previous&&(A.previous=A.previous.next=null),A=A.next;C.first=C.last=null,C.index=e(null),l?C.size=0:P.size=0},delete:function(I){var P=this,C=S(P),A=_(P,I);if(A){var L=A.next,T=A.previous;delete C.index[A.index],A.removed=!0,T&&(T.next=L),L&&(L.previous=T),C.first===A&&(C.first=L),C.last===A&&(C.last=T),l?C.size--:P.size--}return!!A},forEach:function(P){for(var C=S(this),A=n(P,arguments.length>1?arguments[1]:void 0),L;L=L?L.next:C.first;)for(A(L.value,L.key,this);L&&L.removed;)L=L.previous},has:function(P){return!!_(this,P)}}),r(b,y?{get:function(P){var C=_(this,P);return C&&C.value},set:function(P,C){return R(this,P===0?0:P,C)}}:{add:function(P){return R(this,P=P===0?0:P,P)}}),l&&t(b,"size",{configurable:!0,get:function(){return S(this).size}}
1),E},setStrong:function(p,m,y){var g=m+" Iterator",E=v(m),b=v(g);s(p,m,function(S,R){h(this,{type:g,target:S,state:E(S),kind:R,last:null})},function(){for(var S=b(this),R=S.kind,_=S.last;_&&_.removed;)_=_.previous;return!S.target||!(S.last=_=_?_.next:S.state.first)?(S.target=null,u(void 0,!0)):u(R==="keys"?_.key:R==="values"?_.value:[_.key,_.value],!1)},y?"entries":"values",!y,!0),c(m)}},io}var yh;function eE(){if(yh)return uh;yh=1;var e=rm(),t=nm();return e("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),uh}var bh;function tE(){return bh||(bh=1,eE()),sh}var Eh={},Sh={},Ph;function rE(){if(Ph)return Sh;Ph=1;var e=rm(),t=nm();return e("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),Sh}var wh;function nE(){return wh||(wh=1,rE()),Eh}var Th={},oo,Rh;function am(){if(Rh)return oo;Rh=1;var e=Z(),t=wn();return oo=function(r){if(t){try{return e.process.getBuiltinModule(r)}catch{}try{return Function('return require("'+r+'")')()}catch{}}},oo}var so,Ih;function im(){return Ih||(Ih=1,so={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1}
1,InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}),so}var uo,Oh;function om(){if(Oh)return uo;Oh=1;var e=ce(),t=Error,r=e("".replace),n=(function(o){return String(new t(o).stack)})("zxcasd"),a=/\n\s*at [^:]*:[^\n]*/,i=a.test(n);return uo=function(o,s){if(i&&typeof o=="string"&&!t.prepareStackTrace)for(;s--;)o=r(o,a,"");return o},uo}var _h;function aE(){if(_h)return Th;_h=1;var e=fe(),t=Qe(),r=am(),n=ne(),a=_r(),i=xt(),o=Ge().f,s=st(),u=Ru(),c=_e(),l=Sr(),f=Be(),d=Qp(),h=Cu(),v=im(),p=om(),m=br(),y=Oe(),g=ze(),E="DOMException",b="DATA_CLONE_ERR",S=t("Error"),R=t(E)||(function(){try{var Ee=t("MessageChannel")||r("worker_threads").MessageChannel;new Ee().port1.postMessage(new WeakMap)}catch($e){if($e.name===b&&$e.code===25)return $e.constructor}})(),_=R&&R.prototype,I=S.prototype,P=m.set,C=m.getterFor(E),A="stack"in new S(E),L=function(Ee){return c(v,Ee)&&v[Ee].m?v[Ee].c:0},T=function(){l(this,w);var $e=arguments.length,Ye=h($e<1?void 0:arguments[0]),Je=h($e<2?void 0:arguments[1],"Error"),Ve=L(Je);if(P(this,{type:E,name:Je,message:Ye,code:Ve}),y||(this.name=Je,this.message=Ye,this.code=Ve),A){var Ze=new S(Ye);Ze.name=E,o(this,"stack",i(1,p(Ze.stack,1)))}},w=T.prototype=a(I),x=function(Ee){return{enumerable:!0,configurable:!0,get:Ee}},k=function(Ee){return x(function(){return C(this)[Ee]})};y&&(u(w,"code",k("code")),u(w,"message",k("message")),u(w,"name",k("name"))),o(w,"constructor",i(1,T));var N=n(function(){return!(new R instanceof S)}),V=N||n(function(){return I.toString!==d||String(new R(1,2))!=="2: 1"}),$=N||n(function(){return new R(1,"DataCloneError").code!==25}),ge=N||R[b]!==25||_[b]!==25,he=g?V||$||ge:N;e({global:!0,constructor:!0,forced:he},{DOMException:he?T:R});var ye=t(E),Ce=ye.prototype;V&&(g||R===ye)&&s(Ce,"toString",d),$&&y&&R===ye&&u(Ce,"code",x(function(){return L(f(this).name)}));for(var be in v)if(c(v,be)){var Xe=v[be],ct=Xe.s,Lt=i(6,Xe.c);c(ye,ct)||o(ye,ct,Lt),c(Ce,ct)||o(Ce,ct,Lt)}return Th}var Ch={},Ah;function iE(){if(Ah)return Ch;Ah=1;var e=fe(),t=Z(),r=Qe(),n=xt(),a=Ge().f,i=_e(),o=Sr(),s=tm(),u=Cu(),c=im(),l=om(),f=Oe(),d=ze(),h="DOMException",v=r("Error"),p=r(h),m=function(){o(this,y);var T=arguments.length,w=u(T<1?void 0:arguments[0]),x=u(T<2?void 0:arguments[1],"Error"),k=new p(w,x),N=new v(w);return N.name=h,a(k,"stack",n(1,l(N.stack,1))),s(k,this,m),k},y=m.prototype=p.prototype,g="stack"in new v(h),E="stack"in new p(1,2),b=p&&f&&Object.getOwnPropertyDescriptor(t,h),S=!!b&&!(b.writable&&b.configurable),R=g&&!S&&!E;e({global:!0,constructor:!0,forced:d||R},{DOMException:R?m:p});var _=r(h),I=_.prototype;if(I.constructor!==_){d||a(I,"constructor",n(1,_));for(var P in c)if(i(c,P)){var C=c[P],A=C.s;i(_,A)||a(_,A,n(6,C.c))}}return Ch}var xh={},kh;function oE(){if(kh)return xh;kh=1;var e=Qe(),t=Er(),r="DOMException";return t(e(r),r),xh}var Fh={},co,Lh;function Au(){if(Lh)return co;Lh=1;var e=Oe(),t=Ge(),r=xt();return co=function(n,a,i){e?t.f(n,a,r(0,i)):n[a]=i},co}var lo,Nh;function sE(){if(Nh)return lo;Nh=1;var e=Z(),t=ne(),r=e.RegExp,n=!t(function(){var a=!0;try{r(".","d")}catch{a=!1}var i={},o="",s=a?"dgimsy":"gimsy",u=function(d,h){Object.defineProperty(i,d,{get:function(){return o+=h,!0}})},c={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};a&&(c.hasIndices="d");for(var l in c)u(l,c[l]);var f=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(i);return f!==s||o!==s});return lo={correct:n},lo}var fo,Dh;function uE(){if(Dh)return fo;Dh=1;var e=Be();return fo=function(){var t=e(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},fo}var ho,Mh;function cE(){if(Mh)return ho;Mh=1;var e=Me(),t=_e(),r=gn(),n=sE(),a=uE(),i=RegExp.prototype;return ho=n.correct?function(o){return o.flags}:function(o){return!n.correct&&r(i,o)&&!t(o,"flags")?e(a,o):o.flags},ho}var vo,qh;function lE(){if(qh)return vo;qh=1;var e=ce(),t=Map.prototype;return vo={Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t},vo}var po,Bh;
1function sm(){if(Bh)return po;Bh=1;var e=ce(),t=Set.prototype;return po={Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t},po}var mo,jh;function fE(){if(jh)return mo;jh=1;var e=Me();return mo=function(t,r,n){for(var a=n?t:t.iterator,i=t.next,o,s;!(o=e(i,a)).done;)if(s=r(o.value),s!==void 0)return s},mo}var go,Uh;function hE(){if(Uh)return go;Uh=1;var e=ce(),t=fE(),r=sm(),n=r.Set,a=r.proto,i=e(a.forEach),o=e(a.keys),s=o(new n).next;return go=function(u,c,l){return l?t({iterator:o(u),next:s},c):i(u,c)},go}var yo,Hh;function um(){if(Hh)return yo;Hh=1;var e=Z(),t=ne(),r=yn(),n=wu(),a=e.structuredClone;return yo=!!a&&!t(function(){if(n==="DENO"&&r>92||n==="NODE"&&r>94||n==="BROWSER"&&r>97)return!1;var i=new ArrayBuffer(8),o=a(i,{transfer:[i]});return i.byteLength!==0||o.byteLength!==8}),yo}var bo,Gh;function dE(){if(Gh)return bo;Gh=1;var e=Z(),t=am(),r=um(),n=e.structuredClone,a=e.ArrayBuffer,i=e.MessageChannel,o=!1,s,u,c,l;if(r)o=function(f){n(f,{transfer:[f]})};else if(a)try{i||(s=t("worker_threads"),s&&(i=s.MessageChannel)),i&&(u=new i,c=new a(2),l=function(f){u.port1.postMessage(null,[f])},c.byteLength===2&&(l(c),c.byteLength===0&&(o=l)))}catch{}return bo=o,bo}var Eo,$h;function vE(){if($h)return Eo;$h=1;var e=ne(),t=xt();return Eo=!e(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",t(1,7)),r.stack!==7):!0}),Eo}var Vh;function pE(){if(Vh)return Fh;Vh=1;var e=ze(),t=fe(),r=Z(),n=Qe(),a=ce(),i=ne(),o=bn(),s=le(),u=Mp(),c=kt(),l=xe(),f=du(),d=Or(),h=Be(),v=Pr(),p=_e(),m=Au(),y=En(),g=mt(),E=Bp(),b=cE(),S=lE(),R=sm(),_=hE(),I=dE(),P=vE(),C=um(),A=r.Object,L=r.Array,T=r.Date,w=r.Error,x=r.TypeError,k=r.PerformanceMark,N=n("DOMException"),V=S.Map,$=S.has,ge=S.get,he=S.set,ye=R.Set,Ce=R.add,be=R.has,Xe=n("Object","keys"),ct=a([].push),Lt=a((!0).valueOf),Ee=a(1.1.valueOf),$e=a("".valueOf),Ye=a(T.prototype.getTime),Je=o("structuredClone"),Ve="DataCloneError",Ze="Transferring",nr=function(O){return!i(function(){var M=new r.Set([7]),U=O(M),z=O(A(7));return U===M||!U.has(7)||!l(z)||+z!=7})&&O},ar=function(O,M){return!i(function(){var U=new M,z=O({a:U,b:U});return!(z&&z.a===z.b&&z.a instanceof M&&z.a.stack===U.stack)})},Lr=function(O){return!i(function(){var M=O(new r.AggregateError([1],Je,{cause:3}));return M.name!=="AggregateError"||M.errors[0]!==1||M.message!==Je||M.cause!==3})},et=r.structuredClone,kn=e||!ar(et,w)||!ar(et,N)||!Lr(et),Nr=!et&&nr(function(O){return new k(Je,{detail:O}).detail}),tt=nr(et)||Nr,rt=function(O){throw new N("Uncloneable type: "+O,Ve)},de=function(O,M){throw new N((M||"Cloning")+" of "+O+" cannot be properly polyfilled in this engine",Ve)},It=function(O,M){return tt||de(M),tt(O)},D=function(){var O;try{O=new r.DataTransfer}catch{try{O=new r.ClipboardEvent("").clipboardData}catch{}}return O&&O.items&&O.files?O:null},G=function(O,M,U){if($(M,O))return ge(M,O);var z=U||v(O),te,q,re,ve,Le,Se;if(z==="SharedArrayBuffer")tt?te=tt(O):te=O;else{var Ke=r.DataView;!Ke&&!s(O.slice)&&de("ArrayBuffer");try{if(s(O.slice)&&!O.resizable)te=O.slice(0);else for(q=O.byteLength,re=("maxByteLength"in O)?{maxByteLength:O.maxByteLength}:void 0,te=new ArrayBuffer(q,re),ve=new Ke(O),Le=new Ke(te),Se=0;Se<q;Se++)Le.setUint8(Se,ve.getUint8(Se))}catch{throw new N("ArrayBuffer is detached",Ve)}}return he(M,O,te),te},J=function(O,M,U,z,te){var q=r[M];return l(q)||de(M),new q(G(O.buffer,te),U,z)},H=function(O,M){if(f(O)&&rt("Symbol"),!l(O))return O;if(M){if($(M,O))return ge(M,O)}else M=new V;var U=v(O),z,te,q,re,ve,Le,Se,Ke;switch(U){case"Array":q=L(g(O));break;case"Object":q={};break;case"Map":q=new V;break;case"Set":q=new ye;break;case"RegExp":q=new RegExp(O.source,b(O));break;case"Error":switch(te=O.name,te){case"AggregateError":q=new(n(te))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":q=new(n(te));break;case"CompileError":case"LinkError":case"RuntimeError":q=new(n("WebAssembly",te));break;default:q=new w}break;case"DOMException":q=new N(O.message,O.name);break;case"ArrayBuffer":case"SharedArrayBuffer":q=G(O,M,U);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":Le=U==="DataView"?O.byteLength:O.length,q=J(O,U,O.byteOffset,Le,M);break;case"DOMQuad":try{q=new DOMQuad(H(O.p1,M),H(O.p2,M),H(O.p3,M),H(O.p4,M))}catch{q=It(O,U)}break;case"File":if(tt)try{q=tt(O),v(q)!==U&&(q=void 0)}catch{}if(!q)try{q=new File([O],O.name,O)}catch{}q||de(U);break;case"FileList":if(re=D(),re){for(ve=0,Le=g(O);ve<Le;ve++)re.items.add(H(O[ve],M));q=re.files}else q=It(O,U);break;case"ImageData":try{q=new ImageData(H(O.data,M),O.width,O.height,{colorSpace:O.colorSpace})}catch{q=It(O,U)}break;default:if(tt)q=tt(O);else switch(U){case"BigInt":q=A(O.valueOf());break;case"Boolean":q=A(Lt(O));break;case"Number":q=A(Ee(O));break;case"String":q=A($e(O));break;case"Date":q=new T(Ye(O));break;case"Blob":try{q=O.slice(0,O.size,O.type)}catch{de(U)}break;case"DOMPoint":case"DOMPointReadOnly":z=r[U];try{q=z.fromPoint?z.fromPoint(O):new z(O.x,O.y,O.z,O.w)}catch{de(U)}break;case"DOMRect":case"DOMRectReadOnly":z=r[U];try{q=z.fromRect?z.fromRect(O):new z(O.x,O.y,O.width,O.height)}catch{de(U)}break;case"DOMMatrix":case"DOMMatrixReadOnly":z=r[U];try{q=z.fromMatrix?z.fromMatrix(O):new z(O)}catch{de(U)}break;case"AudioData":case"VideoFrame":s(O.clone)||de(U);try{q=O.clone()}catch{rt(U)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":de(U);default:rt(U)}}switch(he(M,O,q),U){case"Array":case"Object":for(Se=Xe(O),ve=0,Le=g(Se);ve<Le;ve++)Ke=Se[ve],m(q,Ke,H(O[Ke],M));break;case"Map":O.forEach(function(Pe,ir){he(q,H(ir,M),H(Pe,M))});break;case"Set":O.forEach(function(Pe){Ce(q,H(Pe,M))});break;case"Error":y(q,"message",H(O.message,M)),p(O,"cause")&&y(q,"cause",H(O.cause,M)),te==="AggregateError"?q.errors=H(O.errors,M):te==="SuppressedError"&&(q.error=H(O.error,M),q.suppressed=H(O.suppressed,M));case"DOMException":P&&y(q,"stack",H(O.stack,M))}return q},ee=function(O,M){if(!l(O))throw new x("Transfer option cannot be converted to a sequence");var U=[];d(O,function(ir){ct(U,h(ir))});for(var z=0,te=g(U),q=new ye,re,ve,Le,Se,Ke,Pe;z<te;){if(re=U[z++],ve=v(re),Se=void 0,ve==="ArrayBuffer"?be(q,re):$(M,re))throw new N("Duplicate transferable",Ve);if(ve==="ArrayBuffer"){Ce(q,re);continue}if(C)Se=et(re,{transfer:[re]});else switch(ve){case"ImageBitmap":Le=r.OffscreenCanvas,u(Le)||de(ve,Ze);try{Ke=new Le(re.width,re.height),Pe=Ke.getContext("bitmaprenderer"),Pe.transferFromImageBitmap(re),Se=Ke.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!s(re.clone)||!s(re.close))&&de(ve,Ze);try{Se=re.clone(),re.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":de(ve,Ze)}if(Se===void 0)throw new N("This object cannot be transferred: "+ve,Ve);he(M,re,Se)}return q},yt=function(O){_(O,function(M){C?et(M,{transfer:[M]}):s(M.transfer)?M.transfer():I?I(M):de("ArrayBuffer",Ze)})};return t({global:!0,enumerable:!0,sham:!C,forced:kn},{structuredClone:function(M){var U=E(arguments.length,1)>1&&!c(arguments[1])?h(arguments[1]):void 0,z=U?U.transfer:void 0,te,q;z!==void 0&&(te=new V,q=ee(z,te));var re=H(M,te);return q&&yt(q),re}}),Fh}var So,Kh;function mE(){if(Kh)return So;Kh=1,Ub(),Vb(),Kb(),Qb(),tE(),nE(),aE(),iE(),oE(),pE();var e=Tn();return So=e.structuredClone,So}var Po,Wh;function gE(){if(Wh)return Po;Wh=1;var e=mE();return Po=e,Po}gE();var Qh={},zh;function cm(){if(zh)return Qh;zh=1;
1var e=fe(),t=Jt(),r=mt(),n=Pn(),a=Ft();return e({target:"Array",proto:!0},{at:function(o){var s=t(this),u=r(s),c=n(o),l=c>=0?c:u+c;return l<0||l>=u?void 0:s[l]}}),a("at"),Qh}var wo,Xh;function er(){if(Xh)return wo;Xh=1;var e=Z(),t=ce();return wo=function(r,n){return t(e[r].prototype[n])},wo}var To,Yh;function yE(){if(Yh)return To;Yh=1,cm();var e=er();return To=e("Array","at"),To}var Ro,Jh;function bE(){if(Jh)return Ro;Jh=1;var e=yE();return Ro=e,Ro}var Io,Zh;function EE(){if(Zh)return Io;Zh=1;var e=bE();return Io=e,Io}var ed={},td;function SE(){return td||(td=1,cm()),ed}var Oo,rd;function PE(){if(rd)return Oo;rd=1;var e=EE();return SE(),Oo=e,Oo}var _o,nd;function wE(){return nd||(nd=1,_o=PE()),_o}wE();var ad={},id={},Co,od;function lm(){if(od)return Co;od=1;var e=wr(),t=Tp(),r=Jt(),n=mt(),a=function(i){var o=i===1;return function(s,u,c){for(var l=r(s),f=t(l),d=n(f),h=e(u,c),v,p;d-- >0;)if(v=f[d],p=h(v,d,l),p)switch(i){case 0:return v;case 1:return d}return o?-1:void 0}};return Co={findLast:a(0),findLastIndex:a(1)},Co}var sd;function fm(){if(sd)return id;sd=1;var e=fe(),t=lm().findLastIndex,r=Ft();return e({target:"Array",proto:!0},{findLastIndex:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),r("findLastIndex"),id}var ud;function TE(){return ud||(ud=1,fm()),ad}var Ao,cd;function RE(){if(cd)return Ao;cd=1,fm();var e=er();return Ao=e("Array","findLastIndex"),Ao}var xo,ld;function IE(){return ld||(ld=1,xo=RE()),xo}var ko,fd;function OE(){if(fd)return ko;fd=1,TE();var e=IE();return ko=e,ko}var Fo,hd;function _E(){if(hd)return Fo;hd=1;var e=OE();return Fo=e,Fo}var Lo,dd;function CE(){return dd||(dd=1,Lo=_E()),Lo}CE();var vd={},pd={},md;function hm(){if(md)return pd;md=1;var e=fe(),t=lm().findLast,r=Ft();return e({target:"Array",proto:!0},{findLast:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),r("findLast"),pd}var gd;function AE(){return gd||(gd=1,hm()),vd}var No,yd;function xE(){if(yd)return No;yd=1,hm();var e=er();return No=e("Array","findLast"),No}var Do,bd;function kE(){return bd||(bd=1,Do=xE()),Do}var Mo,Ed;function FE(){if(Ed)return Mo;Ed=1,AE();var e=kE();return Mo=e,Mo}var qo,Sd;function LE(){if(Sd)return qo;Sd=1;var e=FE();return qo=e,qo}var Bo,Pd;function NE(){return Pd||(Pd=1,Bo=LE()),Bo}NE();var wd={},Td;function dm(){if(Td)return wd;Td=1;var e=fe(),t=mt(),r=pt(),n=Au(),a=Ft(),i=Array;return e({target:"Array",proto:!0},{toReversed:function(){for(var s=r(this),u=t(s),c=new i(u),l=0;l<u;l++)n(c,l,s[u-l-1]);return c}}),a("toReversed"),wd}var jo,Rd;function DE(){if(Rd)return jo;Rd=1,dm();var e=er();return jo=e("Array","toReversed"),jo}var Uo,Id;function ME(){if(Id)return Uo;Id=1;var e=DE();return Uo=e,Uo}var Od={},_d;function qE(){return _d||(_d=1,dm()),Od}var Ho,Cd;function BE(){if(Cd)return Ho;Cd=1;var e=ME();return qE(),Ho=e,Ho}var Go,Ad;function jE(){if(Ad)return Go;Ad=1;var e=BE();return Go=e,Go}var $o,xd;function UE(){return xd||(xd=1,$o=jE()),$o}UE();var kd={},Vo,Fd;function HE(){if(Fd)return Vo;Fd=1;var e=yr(),t=TypeError;return Vo=function(r,n){if(!delete r[n])throw new t("Cannot delete property "+e(n)+" of "+e(r))},Vo}var Ko,Ld;function GE(){if(Ld)return Ko;Ld=1;var e=Ou(),t=Math.floor,r=function(n,a){var i=n.length;if(i<8)for(var o=1,s,u;o<i;){for(u=o,s=n[o];u&&a(n[u-1],s)>0;)n[u]=n[--u];u!==o++&&(n[u]=s)}else for(var c=t(i/2),l=r(e(n,0,c),a),f=r(e(n,c),a),d=l.length,h=f.length,v=0,p=0;v<d||p<h;)n[v+p]=v<d&&p<h?a(l[v],f[p])<=0?l[v++]:f[p++]:v<d?l[v++]:f[p++];return n};return Ko=r,Ko}var Wo,Nd;function $E(){if(Nd)return Wo;Nd=1;var e=ne();return Wo=function(t,r){var n=[][t];return!!n&&e(function(){n.call(null,r||function(){return 1},1)})},Wo}var Qo,Dd;function VE(){if(Dd)return Qo;Dd=1;var e=Tt(),t=e.match(/firefox\/(\d+)/i);return Qo=!!t&&+t[1],Qo}var zo,Md;function KE(){if(Md)return zo;Md=1;var e=Tt();return zo=/MSIE|Trident/.test(e),zo}var Xo,qd;function WE(){if(qd)return Xo;qd=1;var e=Tt(),t=e.match(/AppleWebKit\/(\d+)\./);return Xo=!!t&&+t[1],Xo}var Bd;function QE(){if(Bd)return kd;Bd=1;var e=fe(),t=ce(),r=ot(),n=Jt(),a=mt(),i=HE(),o=Wp(),s=ne(),u=GE(),c=$E(),l=VE(),f=KE(),d=yn(),h=WE(),v=[],p=t(v.sort),m=t(v.push),y=s(function(){v.sort(void 0)}),g=s(function(){v.sort(null)}),E=c("sort"),b=!s(function(){if(d)return d<70;if(!(l&&l>3)){if(f)return!0;
1if(h)return h<603;var _="",I,P,C,A;for(I=65;I<76;I++){switch(P=String.fromCharCode(I),I){case 66:case 69:case 70:case 72:C=3;break;case 68:case 71:C=4;break;default:C=2}for(A=0;A<47;A++)v.push({k:P+A,v:C})}for(v.sort(function(L,T){return T.v-L.v}),A=0;A<v.length;A++)P=v[A].k.charAt(0),_.charAt(_.length-1)!==P&&(_+=P);return _!=="DGBEFHACIJK"}}),S=y||!g||!E||!b,R=function(_){return function(I,P){if(P===void 0)return-1;if(I===void 0)return 1;if(_!==void 0)return+_(I,P)||0;var C=o(I),A=o(P);return C===A?0:C>A?1:-1}};return e({target:"Array",proto:!0,forced:S},{sort:function(I){I!==void 0&&r(I);var P=n(this);if(b)return I===void 0?p(P):p(P,I);var C=[],A=a(P),L,T;for(T=0;T<A;T++)T in P&&m(C,P[T]);for(u(C,R(I)),L=a(C),T=0;T<L;)P[T]=C[T++];for(;T<A;)i(P,T++);return P}}),kd}var jd={},Yo,Ud;function zE(){if(Ud)return Yo;Ud=1;var e=mt();return Yo=function(t,r,n){for(var a=0,i=arguments.length>2?n:e(r),o=new t(i);i>a;)o[a]=r[a++];return o},Yo}var Jo,Hd;function XE(){if(Hd)return Jo;Hd=1;var e=Z();return Jo=function(t,r){var n=e[t],a=n&&n.prototype;return a&&a[r]},Jo}var Gd;function vm(){if(Gd)return jd;Gd=1;var e=fe(),t=ce(),r=ot(),n=pt(),a=zE(),i=XE(),o=Ft(),s=Array,u=t(i("Array","sort"));return e({target:"Array",proto:!0},{toSorted:function(l){l!==void 0&&r(l);var f=n(this),d=a(s,f);return u(d,l)}}),o("toSorted"),jd}var Zo,$d;function YE(){if($d)return Zo;$d=1,QE(),vm();var e=er();return Zo=e("Array","toSorted"),Zo}var es,Vd;function JE(){if(Vd)return es;Vd=1;var e=YE();return es=e,es}var Kd={},Wd;function ZE(){return Wd||(Wd=1,vm()),Kd}var ts,Qd;function eS(){if(Qd)return ts;Qd=1;var e=JE();return ZE(),ts=e,ts}var rs,zd;function tS(){if(zd)return rs;zd=1;var e=eS();return rs=e,rs}var ns,Xd;function rS(){return Xd||(Xd=1,ns=tS()),ns}rS();var Yd={},as,Jd;function nS(){if(Jd)return as;Jd=1;var e=TypeError,t=9007199254740991;return as=function(r){if(r>t)throw new e("Maximum allowed index exceeded");return r},as}var Zd;function pm(){if(Zd)return Yd;Zd=1;var e=fe(),t=Ft(),r=nS(),n=mt(),a=Lp(),i=pt(),o=Pn(),s=Au(),u=Array,c=Math.max,l=Math.min;return e({target:"Array",proto:!0},{toSpliced:function(d,h){var v=i(this),p=n(v),m=a(d,p),y=arguments.length,g=0,E,b,S,R;for(y===0?E=b=0:y===1?(E=0,b=p-m):(E=y-2,b=l(c(o(h),0),p-m)),S=r(p+E-b),R=u(S);g<m;g++)s(R,g,v[g]);for(;g<m+E;g++)s(R,g,arguments[g-m+2]);for(;g<S;g++)s(R,g,v[g+b-E]);return R}}),t("toSpliced"),Yd}var is,ev;function aS(){if(ev)return is;ev=1,pm();var e=er();return is=e("Array","toSpliced"),is}var os,tv;function iS(){if(tv)return os;tv=1;var e=aS();return os=e,os}var rv={},nv;function oS(){return nv||(nv=1,pm()),rv}var ss,av;function sS(){if(av)return ss;av=1;var e=iS();return oS(),ss=e,ss}var us,iv;function uS(){if(iv)return us;iv=1;var e=sS();return us=e,us}var cs,ov;function cS(){return ov||(ov=1,cs=uS()),cs}cS();var sv={},uv;function mm(){if(uv)return sv;uv=1;var e=fe(),t=_e();return e({target:"Object",stat:!0},{hasOwn:t}),sv}var ls,cv;function lS(){if(cv)return ls;cv=1,mm();var e=Tn();return ls=e.Object.hasOwn,ls}var fs,lv;function fS(){if(lv)return fs;lv=1;var e=lS();return fs=e,fs}var hs,fv;function hS(){if(fv)return hs;fv=1;var e=fS();return hs=e,hs}var hv={},dv;function dS(){return dv||(dv=1,mm()),hv}var ds,vv;function vS(){if(vv)return ds;vv=1;var e=hS();return dS(),ds=e,ds}var vs,pv;function pS(){return pv||(pv=1,vs=vS()),vs}pS();function mS(e){const t=e.match(/Version\/(\d+)(?:\.(\d+))?(?:\.(\d+))?/);return{major:t?.[1]?Number(t[1]):void 0,minor:t?.[2]?Number(t[2]):void 0,patch:t?.[3]?Number(t[3]):void 0}}function gS(e){const t=/iPad|iPhone|iPod/.test(e),r=/Version\/[\d.]+.*Safari/.test(e),n=mS(e);return{isIOS:t,isSafari:r,version:n}}function yS(e){return e.major!==26?!1:e.minor===void 0||e.minor===0}window.ios26Fix={enable:()=>{localStorage.removeItem("WA::ios26Fix::disabled")},disable:()=>{localStorage.setItem("WA::ios26Fix::disabled","true")}};function bS(){Object.defineProperty(window,"scrollX",{get(){return 0},configurable:!0}),Object.defineProperty(window,"scrollY",{get(){return document.body.scrollTop},configurable:!0}),window.scrollTo=function(e,t){typeof e=="object"?document.body.scrollTo(e):document.body.scrollTo({top:t,left:e})}}function ES(){const e=document.createElement("style");e.id="ios-safari-26-browser-fix",e.textContent=`
2    html { overflow: hidden; height: 100%; }
3    body { overflow: auto; height: 100%; }
4    #root { padding-bottom: 0 !important; }
5  `,document.head.append(e)}function mv(e){const t=window.getComputedStyle(e);return t.display!=="none"&&t.visibility!=="hidden"}function Ls(e,t){if(!e.sheet||e.sheet.cssRules.length<2)return;const r=e.sheet.cssRules[1];!r||r.selectorText!=="body"||(r.style.height=t?"calc(100% + var(--tabbar-new-size-height) + 2px)":"unset")}function Ns(e,t,r){r.observer&&(r.observer.disconnect(),r.observer=void 0),r.observer=new MutationObserver(()=>{Ls(t,mv(e))}),r.observer.observe(e,{attributes:!0,attributeFilter:["style","class"]}),Ls(t,mv(e))}function gm(e){e.addEventListener("touchmove",t=>{t.preventDefault(),t.stopPropagation()},{passive:!1})}
5function SS(e,t){return function(n){for(const a of n)a.removedNodes.forEach(i=>{i instanceof HTMLElement&&i.dataset.elementId==="tabbar"&&(Ls(e,!1),t.observer&&(t.observer.disconnect(),t.observer=void 0))}),a.addedNodes.forEach(i=>{if(i instanceof HTMLElement&&i.dataset.elementId==="tabbar"){Ns(i,e,t);return}if(i instanceof HTMLElement){const o=i.querySelector('[data-element-id="tabbar"]');o&&(Ns(o,e,t),gm(o))}})}}function PS(){const e=document.createElement("style");e.id="ios-safari-26-pwa-fix",e.textContent=`
6    html {
7      overflow-y: scroll;
8      overflow-x: hidden;
9      height: 100%;
10      background-color: var(--color-background-base-primary);
11      overscroll-behavior: none;
12    }
13    body {
14      display: flex;
15      flex-direction: column;
16      height: calc(100% + var(--tabbar-new-size-height) + 2px);
17      margin: 0;
18      padding: 0;
19      overscroll-behavior-y: none;
20    }
21    #root {
22      flex: 1;
23      padding-bottom: 0 !important;
24    }
25    #root > div:not([id]):not([class]) {
26      padding-bottom: var(--tabbar-new-size-height) !important;
27    }
28  `,document.head.append(e),document.addEventListener("focusin",a=>{(a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement)&&setTimeout(()=>{document.documentElement.scrollTo(0,0)},100)});const t={observer:void 0};new MutationObserver(SS(e,t)).observe(document.body,{childList:!0,subtree:!0});const n=document.querySelector('[data-element-id="tabbar"]');n&&(Ns(n,e,t),gm(n))}function wS(){if(localStorage.getItem("WA::ios26Fix::disabled"))return;const e=gS(navigator.userAgent);if(!e.isIOS||!e.isSafari||!yS(e.version))return;bS(),window.matchMedia("(display-mode: standalone)").matches?PS():ES()}"inert"in HTMLElement.prototype||cp(()=>__retry_dynamic_loader__(()=>import("./inert.esm-Csojlcgx.js")).then(e=>e.i),[]);wS();function TS(e,t,r={}){let n,a,i,o=!0;const s=()=>{o=!0,i()};W(e,s,{flush:"sync",...r});const u=typeof t=="function"?t:t.get,c=typeof t=="function"?void 0:t.set,l=nu((f,d)=>(a=f,i=d,{get(){return o&&(n=u(n),o=!1),a(),n},set(h){c?.(h)}}));return l.trigger=s,l}function mI(e={}){function t(o){return typeof o=="function"}const r=t(e)?{mounted:e,updated:e}:e,{mounted:n,unmounted:a}=r;if(!t(n))return e;const i=new WeakMap;return{...r,mounted(o,s,u,c){var l;const f=(l=i.get(o))!==null&&l!==void 0?l:Xt();i.set(o,f),f.run(()=>{n?.(o,s,u,c)})},unmounted(o,s,u,c){var l;(l=i.get(o))===null||l===void 0||l.stop(),i.delete(o),t(a)&&a(o,s,u,c)}}}function He(e,t){return hn()?(fn(e,t),!0):!1}function gI(){const e=new Set,t=i=>{e.delete(i)};return{on:i=>{e.add(i);const o=()=>t(i);return He(o),{off:o}},off:t,trigger:(...i)=>Promise.all(Array.from(e).map(o=>o(...i))),clear:()=>{e.clear()}}}function yI(e){let t=!1,r;const n=Xt(!0);return((...a)=>(t||(r=n.run(()=>e(...a)),t=!0),r))}const Ht=new WeakMap,ym=(...e)=>{var t;const r=e[0],n=(t=mr())===null||t===void 0?void 0:t.proxy,a=n??hn();if(a==null&&!wt())throw new Error("injectLocal must be called in setup");return a&&Ht.has(a)&&r in Ht.get(a)?Ht.get(a)[r]:Fe(...e)};function RS(e,t){var r;const n=(r=mr())===null||r===void 0?void 0:r.proxy,a=n??hn();if(a==null)throw new Error("provideLocal must be called in setup");Ht.has(a)||Ht.set(a,Object.create(null));const i=Ht.get(a);return i[e]=t,au(e,t)}function bI(e,t){const r=Symbol(e.name||"InjectionState"),n=void 0;return[(...o)=>{const s=e(...o);return RS(r,s),s},()=>ym(r,n)]}const Pt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const bm=e=>e!=null,IS=Object.prototype.toString,OS=e=>IS.call(e)==="[object Object]",gv=()=>+Date.now(),me=()=>{};function Em(...e){if(e.length!==1)return Re(...e);const t=e[0];return typeof t=="function"?eu(nu(()=>({get:t,set:me}))):Te(t)}function xu(e,t){function r(...n){return new Promise((a,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(a).catch(i)})}return r}const Sm=e=>e();function Pm(e,t={}){let r,n,a=me;const i=u=>{clearTimeout(u),a(),a=me};let o;return u=>{const c=F(e),l=F(t.maxWait);return r&&i(r),c<=0||l!==void 0&&l<=0?(n&&(i(n),n=void 0),Promise.resolve(u())):new Promise((f,d)=>{a=t.rejectOnCancel?d:f,o=u,l&&!n&&(n=setTimeout(()=>{r&&i(r),n=void 0,f(o())},l)),r=setTimeout(()=>{n&&i(n),n=void 0,f(u())},c)})}}function _S(...e){let t=0,r,n=!0,a=me,i,o,s,u,c;!Ie(e[0])&&typeof e[0]=="object"?{delay:o,trailing:s=!0,leading:u=!0,rejectOnCancel:c=!1}=e[0]:[o,s=!0,u=!0,c=!1]=e;const l=()=>{r&&(clearTimeout(r),r=void 0,a(),a=me)};return d=>{const h=F(o),v=Date.now()-t,p=()=>i=d();return l(),h<=0?(t=Date.now(),p()):(v>h?(t=Date.now(),(u||!n)&&p()):s&&(i=new Promise((m,y)=>{a=c?y:m,r=setTimeout(()=>{t=Date.now(),n=!0,m(p()),l()},Math.max(0,h-v))})),!u&&!r&&(r=setTimeout(()=>n=!0,h)),n=!1,i)}}function CS(e=Sm,t={}){const{initialState:r="active"}=t,n=Em(r==="active");function a(){n.value=!1}function i(){n.value=!0}const o=(...s)=>{n.value&&e(...s)};return{isActive:We(n),pause:a,resume:i,eventFilter:o}}function yv(e,t=!1,r="Timeout"){return new Promise((n,a)=>{t?setTimeout(a,e,r):setTimeout(n,e)})}function EI(e){return e}function AS(e){let t;function r(){return t||(t=e()),t}return r.reset=async()=>{const n=t;t=void 0,n&&await n},r}function xS(e,t){var r;if(typeof e=="number")return e+t;
28const n=((r=e.match(/^-?\d+\.?\d*/))===null||r===void 0?void 0:r[0])||"",a=e.slice(n.length),i=Number.parseFloat(n)+t;return Number.isNaN(i)?e:i+a}function lr(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function At(e){return Array.isArray(e)?e:[e]}function kS(e){const t=Object.create(null);return(r=>t[r]||(t[r]=e(r)))}const FS=/-(\w)/g,LS=kS(e=>e.replace(FS,(t,r)=>r?r.toUpperCase():""));function wm(e){return mr()}function Rn(e){if(!Pt)return e;let t=0,r,n;const a=()=>{t-=1,n&&t<=0&&(n.stop(),r=void 0,n=void 0)};return((...i)=>(t+=1,n||(n=Xt(!0),r=n.run(()=>e(...i))),He(a),r))}function NS(e,t){if(typeof Symbol<"u"){const r={...e};return Object.defineProperty(r,Symbol.iterator,{enumerable:!1,value(){let n=0;return{next:()=>({value:t[n++],done:n>t.length})}}}),r}else return Object.assign([...t],e)}function DS(e){return Ie(e)?St(new Proxy({},{get(t,r,n){return Zs(Reflect.get(e.value,r,n))},set(t,r,n){return Ie(e.value[r])&&!Ie(n)?e.value[r].value=n:e.value[r]=n,!0},deleteProperty(t,r){return Reflect.deleteProperty(e.value,r)},has(t,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):St(e)}function SI(e){return DS(j(e))}function MS(e,t=1e4){return nu((r,n)=>{let a=F(e),i;const o=()=>setTimeout(()=>{a=F(e),n()},F(t));return He(()=>{clearTimeout(i)}),{get(){return r(),a},set(s){a=s,n(),clearTimeout(i),i=o()}}})}const PI=MS;function ku(e,t=200,r={}){return xu(Pm(t,r),e)}function wI(e,t=200,r={}){const n=Te(F(e)),a=ku(()=>{n.value=e.value},t,r);return W(e,()=>a()),We(n)}function qS(e,t=200,r=!1,n=!0,a=!1){return xu(_S(t,r,n,a),e)}function Tm(e,t,r={}){const{eventFilter:n=Sm,...a}=r;return W(e,xu(n,t),a)}function Ds(e,t,r={}){const{eventFilter:n,initialState:a="active",...i}=r,{eventFilter:o,pause:s,resume:u,isActive:c}=CS(n,{initialState:a});return{stop:Tm(e,t,{...i,eventFilter:o}),pause:s,resume:u,isActive:c}}function TI(e,t,...[r]){const{flush:n="sync",deep:a=!1,immediate:i=!0,direction:o="both",transform:s={}}=r||{},u=[],c="ltr"in s&&s.ltr||(d=>d),l="rtl"in s&&s.rtl||(d=>d);return(o==="both"||o==="ltr")&&u.push(Ds(e,d=>{u.forEach(h=>h.pause()),t.value=c(d),u.forEach(h=>h.resume())},{flush:n,deep:a,immediate:i})),(o==="both"||o==="rtl")&&u.push(Ds(t,d=>{u.forEach(h=>h.pause()),e.value=l(d),u.forEach(h=>h.resume())},{flush:n,deep:a,immediate:i})),()=>{u.forEach(d=>d.stop())}}function RI(e,t,r={}){const{flush:n="sync",deep:a=!1,immediate:i=!0}=r,o=At(t);return W(e,s=>o.forEach(u=>u.value=s),{flush:n,deep:a,immediate:i})}function gt(e,t=!0,r){wm()?ru(e,r):t?e():ht(e)}function BS(e,t){wm()&&ly(e,t)}function Ms(e,t=!1){function r(f,{flush:d="sync",deep:h=!1,timeout:v,throwOnTimeout:p}={}){let m=null;const y=[new Promise(g=>{m=W(e,E=>{f(E)!==t&&(m?m():ht(()=>m?.()),g(E))},{flush:d,deep:h,immediate:!0})})];return v!=null&&y.push(yv(v,p).then(()=>F(e)).finally(()=>m?.())),Promise.race(y)}function n(f,d){if(!Ie(f))return r(E=>E===f,d);const{flush:h="sync",deep:v=!1,timeout:p,throwOnTimeout:m}=d??{};let y=null;const g=[new Promise(E=>{y=W([e,f],([b,S])=>{t!==(b===S)&&(y?y():ht(()=>y?.()),E(b))},{flush:h,deep:v,immediate:!0})})];return p!=null&&g.push(yv(p,m).then(()=>F(e)).finally(()=>(y?.(),F(e)))),Promise.race(g)}function a(f){return r(d=>!!d,f)}function i(f){return n(null,f)}function o(f){return n(void 0,f)}function s(f){return r(Number.isNaN,f)}function u(f,d){return r(h=>{const v=Array.from(h);return v.includes(f)||v.includes(F(f))},d)}function c(f){return l(1,f)}function l(f=1,d){let h=-1;return r(()=>(h+=1,h>=f),d)}return Array.isArray(F(e))?{toMatch:r,toContains:u,changed:c,changedTimes:l,get not(){return Ms(e,!t)}}:{toMatch:r,toBe:n,toBeTruthy:a,toBeNull:i,toBeNaN:s,toBeUndefined:o,changed:c,changedTimes:l,get not(){return Ms(e,!t)}}}function II(e){return Ms(e)}function OI(e,t,...r){const n=(a,i,o)=>t(F(a),F(i),o);return j(()=>{const a=F(e);return r.length?a.reduce(n,typeof r[0]=="function"?F(r[0]()):F(r[0])):a.reduce(n)})}function Fu(e,t=1e3,r={}){const{immediate:n=!0,immediateCallback:a=!1}=r;let i=null;const o=B(!1);function s(){i&&(clearInterval(i),i=null)}function u(){o.value=!1,s()}function c(){const l=F(t);l<=0||(o.value=!0,a&&e(),s(),o.value&&(i=setInterval(e,l)))}return n&&Pt&&c(),(Ie(t)||typeof t=="function")&&He(W(t,()=>{o.value&&Pt&&c()})),He(u),{isActive:We(o),pause:u,resume:c}}function _I(e=1e3,t={}){const{controls:r=!1,immediate:n=!0,callback:a}=t,i=B(0),o=()=>i.value+=1,s=()=>{i.value=0},u=Fu(a?()=>{o(),a(i.value)}:o,e,{immediate:n});return r?{counter:We(i),reset:s,...u}:We(i)}function Rm(e,t,r={}){const{immediate:n=!0,immediateCallback:a=!1}=r,i=B(!1);let o;function s(){o&&(clearTimeout(o),o=void 0)}function u(){i.value=!1,s()}function c(...l){a&&e(),s(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=void 0,e(...l)}
28,F(t))}return n&&(i.value=!0,Pt&&c()),He(u),{isPending:We(i),start:c,stop:u}}function CI(e=1e3,t={}){const{controls:r=!1,callback:n}=t,a=Rm(n??me,e,t),i=j(()=>!a.isPending.value);return r?{ready:i,...a}:i}function AI(e=!1,t={}){const{truthyValue:r=!0,falsyValue:n=!1}=t,a=Ie(e),i=B(e);function o(s){if(arguments.length)return i.value=s,i.value;{const u=F(r);return i.value=i.value===u?F(n):u,i.value}}return a?o:[i,o]}function xI(e,t,r){let n=[...typeof e=="function"?e():Array.isArray(e)?e:F(e)];return W(e,(a,i,o)=>{const s=Array.from({length:n.length}),u=[];for(const l of a){let f=!1;for(let d=0;d<n.length;d++)if(!s[d]&&l===n[d]){s[d]=!0,f=!0;break}f||u.push(l)}const c=n.filter((l,f)=>!s[f]);t(a,n,u,c,o),n=[...a]},r)}function kI(e,t,r={}){const{debounce:n=0,maxWait:a=void 0,...i}=r;return Tm(e,t,{...i,eventFilter:Pm(n,{maxWait:a})})}function FI(e,t,r){return W(e,t,{...r,deep:!0})}function Im(e,t,r){return W(e,t,{...r,immediate:!0})}function jS(e,t,r){return W(e,t,{...r,once:!0})}function US(e,t,r){const n=W(e,(a,i,o)=>{a&&(r?.once&&ht(()=>n()),t(a,i,o))},{...r,once:!1});return n}function LI(e,t,r){var n;let a;Ie(r)?a={evaluating:r}:a=r||{};const{lazy:i=!1,flush:o="sync",evaluating:s=void 0,shallow:u=!0,onError:c=(n=globalThis.reportError)!==null&&n!==void 0?n:me}=a,l=B(!i),f=u?B(t):Te(t);let d=0;return iu(async h=>{if(!l.value)return;d++;const v=d;let p=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const m=await e(y=>{h(()=>{s&&(s.value=!1),p||y()})});v===d&&(f.value=m)}catch(m){c(m)}finally{s&&v===d&&(s.value=!1),p=!0}},{flush:o}),i?j(()=>(l.value=!0,f.value)):f}function NI(e={}){const{inheritAttrs:t=!0,name:r="ReusableTemplate"}=e,n=B(),a=dt({name:`${r}.define`,setup(o,{slots:s}){return()=>{n.value=s.default}}}),i=dt({inheritAttrs:t,name:`${r}.reuse`,props:e.props,setup(o,{attrs:s,slots:u}){return()=>{var c;if(!n.value)throw new Error("[VueUse] Failed to find the definition of reusable template");const l=(c=n.value)===null||c===void 0?void 0:c.call(n,{...e.props==null?HS(s):o,$slots:u});return t&&l?.length===1?l[0]:l}}});return NS({define:a,reuse:i},[a,i])}function HS(e){const t={};for(const r in e)t[LS(r)]=e[r];return t}const ie=Pt?window:void 0,Om=Pt?window.document:void 0,Lu=Pt?window.navigator:void 0;function oe(e){var t;const r=F(e);return(t=r?.$el)!==null&&t!==void 0?t:r}function ue(...e){const t=(n,a,i,o)=>(n.addEventListener(a,i,o),()=>n.removeEventListener(a,i,o)),r=j(()=>{const n=At(F(e[0])).filter(a=>a!=null);return n.every(a=>typeof a!="string")?n:void 0});return Im(()=>{var n,a;return[(n=(a=r.value)===null||a===void 0?void 0:a.map(i=>oe(i)))!==null&&n!==void 0?n:[ie].filter(i=>i!=null),At(F(r.value?e[1]:e[0])),At(Zs(r.value?e[2]:e[1])),F(r.value?e[3]:e[2])]},([n,a,i,o],s,u)=>{if(!n?.length||!a?.length||!i?.length)return;const c=OS(o)?{...o}:o,l=n.flatMap(f=>a.flatMap(d=>i.map(h=>t(f,d,h,c))));u(()=>{l.forEach(f=>f())})},{flush:"post"})}function DI(e,t,r={}){const{window:n=ie,ignore:a=[],capture:i=!0,detectIframe:o=!1,controls:s=!1}=r;if(!n)return s?{stop:me,cancel:me,trigger:me}:me;let u=!0;const c=m=>F(a).some(y=>{if(typeof y=="string")return Array.from(n.document.querySelectorAll(y)).some(g=>g===m.target||m.composedPath().includes(g));{const g=oe(y);return g&&(m.target===g||m.composedPath().includes(g))}});function l(m){const y=F(m);return y&&y.$.subTree.shapeFlag===16}function f(m,y){const g=F(m),E=g.$.subTree&&g.$.subTree.children;return E==null||!Array.isArray(E)?!1:E.some(b=>b.el===y.target||y.composedPath().includes(b.el))}const d=m=>{const y=oe(e);if(m.target!=null&&!(!(y instanceof Element)&&l(e)&&f(e,m))&&!(!y||y===m.target||m.composedPath().includes(y))){if("detail"in m&&m.detail===0&&(u=!c(m)),!u){u=!0;return}t(m)}};let h=!1;const v=[ue(n,"click",m=>{h||(h=!0,setTimeout(()=>{h=!1},0),d(m))},{passive:!0,capture:i}),ue(n,"pointerdown",m=>{const y=oe(e);u=!c(m)&&!!(y&&!m.composedPath().includes(y))},{passive:!0}),o&&ue(n,"blur",m=>{setTimeout(()=>{const y=oe(e);let g=n.document.activeElement;for(;g?.shadowRoot;)g=g.shadowRoot.activeElement;g?.tagName==="IFRAME"&&!y?.contains(n.document.activeElement)&&t(m)},0)},{passive:!0}
28)].filter(Boolean),p=()=>v.forEach(m=>m());return s?{stop:p,cancel:()=>{u=!1},trigger:m=>{u=!0,d(m),u=!1}}:p}function GS(){const e=B(!1),t=mr();return t&&ru(()=>{e.value=!0},t),e}function Rt(e){const t=GS();return j(()=>(t.value,!!e()))}function Cr(e,t,r={}){const{window:n=ie,...a}=r;let i;const o=Rt(()=>n&&"MutationObserver"in n),s=()=>{i&&(i.disconnect(),i=void 0)},u=W(j(()=>{const f=At(F(e)).map(oe).filter(bm);return new Set(f)}),f=>{s(),o.value&&f.size&&(i=new MutationObserver(t),f.forEach(d=>i.observe(d,a)))},{immediate:!0,flush:"post"}),c=()=>i?.takeRecords(),l=()=>{u(),s()};return He(l),{isSupported:o,stop:l,takeRecords:c}}function $S(e,t,r={}){const{window:n=ie,document:a=n?.document,flush:i="sync"}=r;if(!n||!a)return me;let o;const s=l=>{o?.(),o=l},u=iu(()=>{const l=oe(e);if(l){const{stop:f}=Cr(a,d=>{d.map(h=>[...h.removedNodes]).flat().some(h=>h===l||h.contains(l))&&t(d)},{window:n,childList:!0,subtree:!0});s(f)}},{flush:i}),c=()=>{u(),s()};return He(c),c}function rn(e,t={}){const{immediate:r=!0,fpsLimit:n=null,window:a=ie,once:i=!1}=t,o=B(!1),s=j(()=>{const h=F(n);return h?1e3/h:null});let u=0,c=null;function l(h){if(!o.value||!a)return;u||(u=h);const v=h-u;if(s.value&&v<s.value){c=a.requestAnimationFrame(l);return}if(u=h,e({delta:v,timestamp:h}),i){o.value=!1,c=null;return}c=a.requestAnimationFrame(l)}function f(){!o.value&&a&&(o.value=!0,u=0,c=a.requestAnimationFrame(l))}function d(){o.value=!1,c!=null&&a&&(a.cancelAnimationFrame(c),c=null)}return r&&f(),He(d),{isActive:We(o),pause:d,resume:f}}const VS=Symbol("vueuse-ssr-width");function _m(){const e=wt()?ym(VS,null):null;return typeof e=="number"?e:void 0}function Mt(e,t={}){const{window:r=ie,ssrWidth:n=_m()}=t,a=Rt(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),i=B(typeof n=="number"),o=B(),s=B(!1),u=c=>{s.value=c.matches};return iu(()=>{if(i.value){i.value=!a.value,s.value=F(e).split(",").some(c=>{const l=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(f||d);return f&&h&&(h=n>=lr(f[1])),d&&h&&(h=n<=lr(d[1])),l?!h:h});return}a.value&&(o.value=r.matchMedia(F(e)),s.value=o.value.matches)}),ue(o,"change",u,{passive:!0}),j(()=>s.value)}function KS(e,t={}){function r(h,v){let p=F(e[F(h)]);return v!=null&&(p=xS(p,v)),typeof p=="number"&&(p=`${p}px`),p}const{window:n=ie,strategy:a="min-width",ssrWidth:i=_m()}=t,o=typeof i=="number",s=o?B(!1):{value:!0};o&&gt(()=>s.value=!!n);function u(h,v){return!s.value&&o?h==="min"?i>=lr(v):i<=lr(v):n?n.matchMedia(`(${h}-width: ${v})`).matches:!1}const c=h=>Mt(()=>`(min-width: ${r(h)})`,t),l=h=>Mt(()=>`(max-width: ${r(h)})`,t),f=Object.keys(e).reduce((h,v)=>(Object.defineProperty(h,v,{get:()=>a==="min-width"?c(v):l(v),enumerable:!0,configurable:!0}),h),{});function d(){const h=Object.keys(e).map(v=>[v,f[v],lr(r(v))]).sort((v,p)=>v[2]-p[2]);return j(()=>h.filter(([,v])=>v.value).map(([v])=>v))}return Object.assign(f,{greaterOrEqual:c,smallerOrEqual:l,greater(h){return Mt(()=>`(min-width: ${r(h,.1)})`,t)},smaller(h){return Mt(()=>`(max-width: ${r(h,-.1)})`,t)},between(h,v){return Mt(()=>`(min-width: ${r(h)}) and (max-width: ${r(v,-.1)})`,t)},isGreater(h){return u("min",r(h,.1))},isGreaterOrEqual(h){return u("min",r(h))},isSmaller(h){return u("max",r(h,-.1))},isSmallerOrEqual(h){return u("max",r(h))},isInBetween(h,v){return u("min",r(h))&&u("max",r(v,-.1))},current:d,active(){const h=d();return j(()=>h.value.length===0?"":h.value.at(a==="min-width"?-1:0))}})}function bv(e,t={}){const{controls:r=!1,navigator:n=Lu}=t,a=Rt(()=>n&&"permissions"in n),i=B(),o=typeof e=="string"?{name:e}:e,s=B(),u=()=>{var l,f;s.value=(l=(f=i.value)===null||f===void 0?void 0:f.state)!==null&&l!==void 0?l:"prompt"};ue(i,"change",u,{passive:!0});const c=AS(async()=>{if(a.value){if(!i.value)try{i.value=await n.permissions.query(o)}catch{i.value=void 0}finally{u()}if(r)return Ut(i.value)}});return c(),r?{state:s,isSupported:a,query:c}:s}function MI(e={}){const{navigator:t=Lu,read:r=!1,source:n,copiedDuring:a=1500,legacy:i=!1}=e,o=Rt(()=>t&&"clipboard"in t),s=bv("clipboard-read"),u=bv("clipboard-write"),c=j(()=>o.value||i),l=B(""),f=B(!1),d=B(!1),h=Rm(()=>f.value=!1,a,{immediate:!1});let v=0;async function p(){let S=!(o.value&&b(s.value));if(!S)try{l.value=await t.clipboard.readText()}catch{S=!0}S&&(l.value=E())}c.value&&r&&ue(["copy","cut"],p,{passive:!0});async function m(S){const R=S??F(n);if(c.value&&R!=null){d.value=!0;let _=!(o.value&&b(u.value));if(!_)try{const I=y(R);await t.clipboard.write([I])}catch{_=!0}
28if(_)if(typeof R=="string")l.value=R,g(R);else{const I=++v,P=await R();P!=null&&I===v&&(l.value=P,g(P))}f.value=!0,h.start(),d.value=!1}}function y(S){return typeof S=="string"?(l.value=S,new ClipboardItem({"text/plain":S})):new ClipboardItem({"text/plain":S().then((R="")=>(l.value=R,new Blob([R],{type:"text/plain"})))})}function g(S){const R=document.createElement("textarea");R.value=S,R.style.position="absolute",R.style.opacity="0",R.setAttribute("readonly",""),document.body.appendChild(R),R.select(),document.execCommand("copy"),R.remove()}function E(){var S,R,_;return(S=(R=document)===null||R===void 0||(_=R.getSelection)===null||_===void 0||(_=_.call(R))===null||_===void 0?void 0:_.toString())!==null&&S!==void 0?S:""}function b(S){return S==="granted"||S==="prompt"}return{copyPending:We(d),isSupported:c,text:We(l),copied:We(f),copy:m}}const Mr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},qr="__vueuse_ssr_handlers__",WS=QS();function QS(){return qr in Mr||(Mr[qr]=Mr[qr]||{}),Mr[qr]}function zS(e,t){return WS[e]||t}function XS(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const YS={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ev="vueuse-storage";function Cm(e,t,r,n={}){var a;const{flush:i="pre",deep:o=!0,listenToStorageChanges:s=!0,writeDefaults:u=!0,mergeDefaults:c=!1,shallow:l,window:f=ie,eventFilter:d,onError:h=w=>{console.error(w)},initOnMounted:v}=n,p=(l?B:Te)(typeof t=="function"?t():t),m=j(()=>F(e));if(!r)try{r=zS("getDefaultStorage",()=>ie?.localStorage)()}catch(w){h(w)}if(!r)return p;const y=F(t),g=XS(y),E=(a=n.serializer)!==null&&a!==void 0?a:YS[g],{pause:b,resume:S}=Ds(p,w=>C(w),{flush:i,deep:o,eventFilter:d});W(m,()=>L(),{flush:i});let R=!1;const _=w=>{v&&!R||L(w)},I=w=>{v&&!R||T(w)};f&&s&&(r instanceof Storage?ue(f,"storage",_,{passive:!0}):ue(f,Ev,I)),v?gt(()=>{R=!0,L()}):L();function P(w,x){if(f){const k={key:m.value,oldValue:w,newValue:x,storageArea:r};f.dispatchEvent(r instanceof Storage?new StorageEvent("storage",k):new CustomEvent(Ev,{detail:k}))}}function C(w){try{const x=r.getItem(m.value);if(w==null)P(x,null),r.removeItem(m.value);
28else{const k=E.write(w);x!==k&&(r.setItem(m.value,k),P(x,k))}}catch(x){h(x)}}function A(w){const x=w?w.newValue:r.getItem(m.value);if(x==null)return u&&y!=null&&r.setItem(m.value,E.write(y)),y;if(!w&&c){const k=E.read(x);return typeof c=="function"?c(k,y):g==="object"&&!Array.isArray(k)?{...y,...k}:k}else return typeof x!="string"?x:E.read(x)}function L(w){if(!(w&&w.storageArea!==r)){if(w&&w.key==null){p.value=y;return}if(!(w&&w.key!==m.value)){b();try{const x=E.write(p.value);(w===void 0||w?.newValue!==x)&&(p.value=A(w))}catch(x){h(x)}finally{w?ht(S):S()}}}}function T(w){L(w.detail)}return p}function Br(e,t,r={}){const{window:n=ie,initialValue:a,observe:i=!1}=r,o=B(a),s=j(()=>{var c;return oe(t)||(n==null||(c=n.document)===null||c===void 0?void 0:c.documentElement)});function u(){const c=F(e),l=F(s);if(l&&n&&c){var f;o.value=((f=n.getComputedStyle(l).getPropertyValue(c))===null||f===void 0?void 0:f.trim())||o.value||a}}return i&&Cr(s,u,{attributeFilter:["style","class"],window:n}),W([s,()=>F(e)],(c,l)=>{l[0]&&l[1]&&l[0].style.removeProperty(l[1]),u()},{immediate:!0}),W([o,s],([c,l])=>{const f=F(e);l?.style&&f&&(c==null?l.style.removeProperty(f):l.style.setProperty(f,c))},{immediate:!0}),o}function JS(e){const t=mr(),r=TS(()=>null,()=>t.proxy.$el);return fy(r.trigger),ru(r.trigger),r}function qI(e={}){const{document:t=Om}=e;if(!t)return B("visible");const r=B(t.visibilityState);return ue(t,"visibilitychange",()=>{r.value=t.visibilityState},{passive:!0}),r}function Am(e,t,r={}){const{window:n=ie,...a}=r;let i;const o=Rt(()=>n&&"ResizeObserver"in n),s=()=>{i&&(i.disconnect(),i=void 0)},u=W(j(()=>{const l=F(e);return Array.isArray(l)?l.map(f=>oe(f)):[oe(l)]}),l=>{if(s(),o.value&&n){i=new ResizeObserver(t);for(const f of l)f&&i.observe(f,a)}},{immediate:!0,flush:"post"}),c=()=>{s(),u()};return He(c),{isSupported:o,stop:c}}function BI(e,t={}){const{reset:r=!0,windowResize:n=!0,windowScroll:a=!0,immediate:i=!0,updateTiming:o="sync"}=t,s=B(0),u=B(0),c=B(0),l=B(0),f=B(0),d=B(0),h=B(0),v=B(0);function p(){const y=oe(e);if(!y){r&&(s.value=0,u.value=0,c.value=0,l.value=0,f.value=0,d.value=0,h.value=0,v.value=0);return}const g=y.getBoundingClientRect();s.value=g.height,u.value=g.bottom,c.value=g.left,l.value=g.right,f.value=g.top,d.value=g.width,h.value=g.x,v.value=g.y}function m(){o==="sync"?p():o==="next-frame"&&requestAnimationFrame(()=>p())}return Am(e,m),W(()=>oe(e),y=>!y&&m()),Cr(e,m,{attributeFilter:["style","class"]}),a&&ue("scroll",m,{capture:!0,passive:!0}),n&&ue("resize",m,{passive:!0}),gt(()=>{i&&m()}),{height:s,bottom:u,left:c,right:l,top:f,width:d,x:h,y:v,update:m}}function jI(e,t={}){const{delayEnter:r=0,delayLeave:n=0,triggerOnRemoval:a=!1,window:i=ie}=t,o=B(!1);let s;const u=c=>{const l=c?r:n;s&&(clearTimeout(s),s=void 0),l?s=setTimeout(()=>o.value=c,l):o.value=c};return i&&(ue(e,"mouseenter",()=>u(!0),{passive:!0}),ue(e,"mouseleave",()=>u(!1),{passive:!0}),a&&$S(j(()=>oe(e)),()=>u(!1))),o}function UI(e,t={width:0,height:0},r={}){const{window:n=ie,box:a="content-box"}=r,i=j(()=>{var f;return(f=oe(e))===null||f===void 0||(f=f.namespaceURI)===null||f===void 0?void 0:f.includes("svg")}),o=B(t.width),s=B(t.height),{stop:u}=Am(e,([f])=>{const d=a==="border-box"?f.borderBoxSize:a==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(n&&i.value){const h=oe(e);if(h){const v=h.getBoundingClientRect();o.value=v.width,s.value=v.height}}else if(d){const h=At(d);o.value=h.reduce((v,{inlineSize:p})=>v+p,0),s.value=h.reduce((v,{blockSize:p})=>v+p,0)}else o.value=f.contentRect.width,s.value=f.contentRect.height},r);gt(()=>{const f=oe(e);f&&(o.value="offsetWidth"in f?f.offsetWidth:t.width,s.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=W(()=>oe(e),f=>{o.value=f?t.width:0,s.value=f?t.height:0});function l(){u(),c()}return{width:o,height:s,stop:l}}function ZS(e,t,r={}){const{root:n,rootMargin:a,threshold:i=0,window:o=ie,immediate:s=!0}=r,u=Rt(()=>o&&"IntersectionObserver"in o),c=j(()=>At(F(e)).map(oe).filter(bm));let l=me;const f=B(s),d=u.value?W(()=>[c.value,oe(n),F(a),f.value],([v,p,m])=>{if(l(),!f.value||!v.length)return;const y=new IntersectionObserver(t,{root:oe(p),rootMargin:m,threshold:i});v.forEach(g=>g&&y.observe(g)),l=()=>{y.disconnect(),l=me}},{immediate:s,flush:"post"}):me,h=()=>{l(),d(),f.value=!1};return He(h),{isSupported:u,isActive:f,pause(){l(),f.value=!1},resume(){f.value=!0},stop:h}}function e0(e,t={}){const{window:r=ie,scrollTarget:n,threshold:a=0,rootMargin:i,once:o=!1,initialValue:s=!1}=t,u=B(s),c=ZS(e,l=>{let f=u.value,d=0;for(const h of l)h.time>=d&&(d=h.time,f=h.isIntersecting);u.value=f,o&&jS(u,()=>{c.stop()})},{root:n,window:r,threshold:a,rootMargin:i});return t.controls?{...c,isVisible:u}:u}function HI(e,t={}){const{initialValue:r=!1,focusVisible:n=!1,preventScroll:a=!1}=t,i=B(!1),o=j(()=>oe(e)),s={passive:!0};ue(o,"focus",c=>{var l,f;(!n||!((l=(f=c.target).matches)===null||l===void 0)&&l.call(f,":focus-visible"))&&(i.value=!0)},s),ue(o,"blur",()=>i.value=!1,s);const u=j({get:()=>i.value,set(c){var l,f;!c&&i.value?(l=o.value)===null||l===void 0||l.blur():c&&!i.value&&((f=o.value)===null||f===void 0||f.focus({preventScroll:a}))}});return W(o,()=>{u.value=r},{immediate:!0,flush:"post"}),{focused:u}}function Qr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Sv=1;function xm(e,t={}){const{throttle:r=0,idle:n=200,onStop:a=me,onScroll:i=me,offset:o={left:0,right:0,top:0,bottom:0},observe:s={mutation:!1},eventListenerOptions:u={capture:!1,passive:!0},behavior:c="auto",window:l=ie,onError:f=P=>{console.error(P)}}=t,d=typeof s=="boolean"?{mutation:s}:s,h=B(0),v=B(0),p=j({get(){return h.value},set(P){y(P,void 0)}}),m=j({get(){return v.value},set(P){y(void 0,P)}});function y(P,C){var A,L,T,w;if(!l)return;const x=F(e);if(!x)return;(A=x instanceof Document?l.document.body:x)===null||A===void 0||A.scrollTo({top:(L=F(C))!==null&&L!==void 0?L:m.value,left:(T=F(P))!==null&&T!==void 0?T:p.value,behavior:F(c)});const k=(x==null||(w=x.document)===null||w===void 0?void 0:w.documentElement)||x?.documentElement||x;p!=null&&(h.value=k.scrollLeft),m!=null&&(v.value=k.scrollTop)}const g=B(!1),E=St({left:!0,right:!1,top:!0,bottom:!1}),b=St({left:!1,right:!1,top:!1,bottom:!1}),S=P=>{g.value&&(g.value=!1,b.left=!1,b.right=!1,b.top=!1,b.bottom=!1,a(P))},R=ku(S,r+n),_=P=>{var C;if(!l)return;const A=(P==null||(C=P.document)===null||C===void 0?void 0:C.documentElement)||P?.documentElement||oe(P),{display:L,flexDirection:T,direction:w}=l.getComputedStyle(A),x=w==="rtl"?-1:1,k=A.scrollLeft;b.left=k<h.value,b.right=k>h.value;const N=Math.abs(k*x)<=(o.left||0),V=Math.abs(k*x)+A.clientWidth>=A.scrollWidth-(o.right||0)-Sv;
28L==="flex"&&T==="row-reverse"?(E.left=V,E.right=N):(E.left=N,E.right=V),h.value=k;let $=A.scrollTop;P===l.document&&!$&&($=l.document.body.scrollTop),b.top=$<v.value,b.bottom=$>v.value;const ge=Math.abs($)<=(o.top||0),he=Math.abs($)+A.clientHeight>=A.scrollHeight-(o.bottom||0)-Sv;L==="flex"&&T==="column-reverse"?(E.top=he,E.bottom=ge):(E.top=ge,E.bottom=he),v.value=$},I=P=>{var C;l&&(_((C=P.target.documentElement)!==null&&C!==void 0?C:P.target),g.value=!0,R(P),i(P))};return ue(e,"scroll",r?qS(I,r,!0,!1):I,u),gt(()=>{try{const P=F(e);if(!P)return;_(P)}catch(P){f(P)}}),d?.mutation&&e!=null&&e!==l&&e!==document&&Cr(e,()=>{const P=F(e);P&&_(P)},{attributes:!0,childList:!0,subtree:!0}),ue(e,"scrollend",S,u),{x:p,y:m,isScrolling:g,arrivedState:E,directions:b,measure(){const P=F(e);l&&P&&_(P)}}}function GI(e,t,r={}){var n;const{direction:a="bottom",interval:i=100,canLoadMore:o=()=>!0}=r,s=St(xm(e,{...r,offset:{[a]:(n=r.distance)!==null&&n!==void 0?n:0,...r.offset}})),u=B(),c=j(()=>!!u.value),l=j(()=>Qr(F(e))),f=e0(l),d=j(()=>l.value?o(l.value):!1);function h(){if(s.measure(),!l.value||!f.value||!d.value||u.value)return;const{scrollHeight:v,clientHeight:p,scrollWidth:m,clientWidth:y}=l.value,g=a==="bottom"||a==="top"?v<=p:m<=y;(s.arrivedState[a]||g)&&(u.value=Promise.all([t(s),new Promise(E=>setTimeout(E,i))]).finally(()=>{u.value=null,ht(()=>h())}))}return BS(W(()=>[s.arrivedState[a],f.value,d.value],h,{immediate:!0,flush:"post"})),{isLoading:c,reset(){ht(()=>h())}}}function $I(e,t,r={}){const{window:n=ie}=r;return Cm(e,t,n?.localStorage,r)}function t0(e){if("interval"in e||"immediate"in e){const{interval:t="requestAnimationFrame",immediate:r=!0}=e;return t==="requestAnimationFrame"?n=>rn(n,{immediate:r}):n=>Fu(n,t,e)}return rn}function VI(e={}){const{controls:t=!1,scheduler:r=t0(e)}=e,n=B(new Date),i=r(()=>n.value=new Date);return t?{now:n,...i}:n}function KI(e={}){const{window:t=ie}=e,r=Rt(()=>t&&"screen"in t&&"orientation"in t.screen),n=r.value?t.screen.orientation:{},a=B(n.type),i=B(n.angle||0);return r.value&&ue(t,"orientationchange",()=>{a.value=n.type,i.value=n.angle},{passive:!0}),{isSupported:r,orientation:a,angle:i,lockOrientation:u=>r.value&&typeof n.lock=="function"?n.lock(u):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{r.value&&typeof n.unlock=="function"&&n.unlock()}}}function WI(e=JS()){const t=B(),r=()=>{const n=oe(e);n&&(t.value=n.parentElement)};return gt(r),W(()=>F(e),r),t}const Pv="--vueuse-safe-area-top",wv="--vueuse-safe-area-right",Tv="--vueuse-safe-area-bottom",Rv="--vueuse-safe-area-left";function QI(){const e=B(""),t=B(""),r=B(""),n=B("");if(Pt){const i=Br(Pv),o=Br(wv),s=Br(Tv),u=Br(Rv);i.value="env(safe-area-inset-top, 0px)",o.value="env(safe-area-inset-right, 0px)",s.value="env(safe-area-inset-bottom, 0px)",u.value="env(safe-area-inset-left, 0px)",gt(a),ue("resize",ku(a),{passive:!0})}function a(){e.value=jr(Pv),t.value=jr(wv),r.value=jr(Tv),n.value=jr(Rv)}return{top:e,right:t,bottom:r,left:n,update:a}}function jr(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}const ps=new WeakMap;function zI(e,t=!1){const r=B(t);let n="";W(Em(e),o=>{const s=Qr(F(o));if(s){const u=s;if(ps.get(u)||ps.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(n=u.style.overflow),u.style.overflow==="hidden")return r.value=!0;if(r.value)return u.style.overflow="hidden"}},{immediate:!0});const a=()=>{const o=Qr(F(e));!o||r.value||(o.style.overflow="hidden",r.value=!0)},i=()=>{const o=Qr(F(e));!o||!r.value||(o.style.overflow=n,ps.delete(o),r.value=!1)};return He(i),j({get(){return r.value},set(o){o?a():i()}})}function XI(e,t,r={}){const{window:n=ie}=r;return Cm(e,t,n?.sessionStorage,r)}function YI(e={},t={}){const{navigator:r=Lu}=t,n=r,a=Rt(()=>n&&"canShare"in n);return{isSupported:a,share:async(o={})=>{if(a.value){const s={...F(e),...F(o)};let u=!1;if(n.canShare&&(u=n.canShare(s)),u)return n.share(s)}}}}function JI(e={}){const{document:t=Om,selector:r="html",observe:n=!1,initialValue:a="ltr"}=e;function i(){var s,u;return(s=t==null||(u=t.querySelector(r))===null||u===void 0?void 0:u.getAttribute("dir"))!==null&&s!==void 0?s:a}const o=B(i());return gt(()=>
28o.value=i()),n&&t&&Cr(t.querySelector(r),()=>o.value=i(),{attributes:!0}),j({get(){return o.value},set(s){var u,c;o.value=s,t&&(o.value?(u=t.querySelector(r))===null||u===void 0||u.setAttribute("dir",o.value):(c=t.querySelector(r))===null||c===void 0||c.removeAttribute("dir"))}})}function r0(e){if("interval"in e||"immediate"in e){const{interval:t="requestAnimationFrame",immediate:r=!0}=e;return t==="requestAnimationFrame"?n=>rn(n,{immediate:r}):n=>Fu(n,t,{immediate:r})}return rn}function ZI(e={}){const{controls:t=!1,offset:r=0,scheduler:n=r0(e),callback:a}=e,i=B(gv()+r),o=()=>i.value=gv()+r,s=n(a?()=>{o(),a(i.value)}:o);return t?{timestamp:i,...s}:i}function eO(e={}){const{window:t=ie}=e;if(!t)return B(!1);const r=B(t.document.hasFocus()),n={passive:!0};return ue(t,"blur",()=>{r.value=!1},n),ue(t,"focus",()=>{r.value=!0},n),r}function tO(e={}){const{window:t=ie,...r}=e;return xm(t,r)}function rO(e={}){const{window:t=ie,initialWidth:r=Number.POSITIVE_INFINITY,initialHeight:n=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:i=!0,type:o="inner"}=e,s=B(r),u=B(n),c=()=>{if(t)if(o==="outer")s.value=t.outerWidth,u.value=t.outerHeight;else if(o==="visual"&&t.visualViewport){const{width:f,height:d,scale:h}=t.visualViewport;s.value=Math.round(f*h),u.value=Math.round(d*h)}else i?(s.value=t.innerWidth,u.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight)};c(),gt(c);const l={passive:!0};return ue("resize",c,l),t&&o==="visual"&&t.visualViewport&&ue(t.visualViewport,"resize",c,l),a&&W(Mt("(orientation: portrait)"),()=>c()),{width:s,height:u}}const nO="CDP_GAMIFICATION_BONUS",aO="CDP_GAMIFICATION_BOOST",iO="CDP_GAMIFICATION_LOYALTY",oO="ROUTE",sO="CASINO",zr="WLP",uO="BILLING",cO="BETTING",lO="SEO",fO="WLAUNCH",hO="PARTNERS",dO="PLAY_CHAT",vO="UNDEFINED";function*Ar(e){let t=1;for(;;){const n=2**Math.min(t,30)*1e3,a=Math.min(n,e),i=.75+Math.random()*.5;yield a*i,t+=1}}async function*pO(e){const t=Ar(e);for(;;)yield new Promise(r=>{setTimeout(r,t.next().value)})}const n0=async()=>{const e=window.navigation;if(!e?.canGoBack)return!1;const{committed:t,finished:r}=e.back();r?.catch(()=>{});try{return await t,!0}catch{return!1}},a0=e=>new Promise(t=>setTimeout(t,e)),Ur=()=>{},mO=e=>e==null,i0=e=>typeof e=="number"&&!Number.isNaN(e),gO=e=>[e].flat(),yO=(e,t)=>e?t.reduce((r,n)=>(Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]),r),{}):{},bO=(e,t)=>e?!t||t.length===0?e:t.reduce((r,n)=>(delete r[n],r),{...e}):{},o0=(e,t,r)=>function(...a){const i=r?r(...a):JSON.stringify({args:a});return i in e||(e[i]=t(...a)),e[i]},ut=(e,t={})=>o0({},e,t.key),Hr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Iv=(e,...t)=>{if(t.length===0)return e;const r=t.shift();if(Hr(e)&&Hr(r))for(const n of Object.keys(r)){const a=r[n];Hr(e[n])&&Hr(a)?(e[n]||(e[n]={}),Iv(e[n],a)):e[n]=a}return Iv(e,...t)},EO=e=>typeof e=="string"&&e.length>0,SO=e=>btoa(String.fromCodePoint(...new Uint8Array(e))).replaceAll("+","-").replaceAll("/","_").replaceAll("=",""),PO=e=>{let t;if(typeof e=="string"){const r=new TextEncoder().encode(e);t=btoa(String.fromCharCode(...r))}else{const r=JSON.stringify(e);t=btoa(r)}return t.replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")},s0=e=>e.replaceAll("-","+").replaceAll("_","/").padEnd(e.length+(4-e.length%4)%4,"="),wO=e=>{const t=s0(e);return atob(t)},km=e=>{if(e!==void 0)try{const t=new Intl.Locale(e),r=t.maximize();return r.script===void 0||r.region===void 0?void 0:t}catch{}};var qs=(e=>(e.IOS="ios",e.ANDROID="android",e.MACOS="macos",e.WINDOWS="windows",e.OTHER="other",e))(qs||{});const xr=ut((e=globalThis.window?.navigator.userAgent,t=globalThis.navigator?.maxTouchPoints)=>/iPad|iPhone|iPod/.test(e)||/Macintosh/.test(e)&&t>1?"ios":/Macintosh/.test(e)?"macos":/Android/.test(e)?"android":/Win/.test(e)?"windows":"other"),TO=(e=globalThis.window?.navigator.userAgent)=>{const t=xr(e);return t==="ios"||t==="macos"},Fm=ut(()=>!!globalThis.window?.isApk),u0=ut((e=globalThis.window?.navigator.userAgent)=>/Version\/[\d.]+.*Safari/.test(e)),RO=ut((e=globalThis.window?.navigator.userAgent)=>/firefox/i.test(e)),Lm=ut((e=globalThis.window?.navigator.userAgent)=>xr(e)==="ios"||u0()),IO=ut((e=globalThis.window?.navigator.userAgent)=>{const t=[{regExp:/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w.]+);)/i,name:"facebook"},{regExp:/(chromium|instagram|snapchat)[ /]([\w.-]+)/i,name:"instagram"}];for(const{regExp:r,name:n}of t)if(r.test(e))return n}),c0={"10.0":"Windows 10","6.3":"Windows 8.1","6.2":"Windows 8","6.1":"Windows 7"},Gr=e=>e?e.slice(1).find(Boolean):void 0,Nm={windows:e=>{const t=Gr(e.match(/Windows NT ([\d.]+)/i));return t?c0[t]??`Windows NT ${t}`:"Windows"},macos:e=>{const t=Gr(e.match(/Mac OS X ([\d_.]+)/i));return t?`macOS ${t.replaceAll("_",".")}`:"macOS"},ios:e=>{const t=Gr(e.match(/OS ([\d_]+) like Mac OS X|iPhone OS ([\d_]+)|CPU OS ([\d_]+)/i));return t?`iOS ${t.replaceAll("_",".")}`:"iOS"},android:e=>{const t=Gr(e.match(/Android\s+([\d.]+)/i));return t?`Android ${t}`:"Android"},other:e=>/Linux/i.test(e)?"Linux":/CrOS/i.test(e)?"Chrome OS":Lm(e)?"WebKit-based":"Other"},OO=ut((e=globalThis.window?.navigator.userAgent)=>{if(Fm())return"Android (APK)";const t=xr(e),r=Nm[t];if(r){const a=r(e);
28if(a)return a}if(t==="other"){if(/Linux/i.test(e))return"Linux";if(/CrOS/i.test(e))return"Chrome OS";if(Lm(e))return"WebKit-based"}const n=String(t);return n.charAt(0).toUpperCase()+n.slice(1)}),l0=ut((e=globalThis.window?.navigator.userAgent)=>{const[,t,r,n]=e?.match(/Version\/(\d+)(?:\.(\d+))?(?:\.(\d+))?/)??[];return{major:t===void 0?void 0:Number(t),minor:r===void 0?void 0:Number(r),patch:n===void 0?void 0:Number(n)}}),_O=ut((e=globalThis.window?.navigator.userAgent??"")=>{if(xr(e)!=="ios")return!1;const t=Nm.ios?.(e),r=Number.parseInt(t?.match(/iOS (\d+)/)?.[1]??"",10),n=l0(e).major??Number.NaN;return Math.max(Number.isNaN(r)?0:r,Number.isNaN(n)?0:n)>=26}),f0=ut(()=>window.matchMedia("(display-mode: standalone)").matches||window.matchMedia("(display-mode: minimal-ui)").matches),h0=()=>{const e=xr();return e===qs.IOS||e===qs.ANDROID?`pwa-${e}`:"pwa-desktop"};function $r(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)n!=="__proto__"&&(e[n]=r[n])}return e}var d0={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Bs(e,t){function r(a,i,o){if(!(typeof document>"u")){o=$r({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var u in o)o[u]&&(s+="; "+u,o[u]!==!0&&(s+="="+o[u].split(";")[0]));return document.cookie=a+"="+e.write(i,a)+s}}function n(a){if(!(typeof document>"u"||arguments.length&&!a)){for(var i=document.cookie?document.cookie.split("; "):[],o={},s=0;s<i.length;s++){var u=i[s].split("="),c=u.slice(1).join("=");try{var l=decodeURIComponent(u[0]);if(l in o||(o[l]=e.read(c,l)),a===l)break}catch{}}return a?o[a]:o}}return Object.create({set:r,get:n,remove:function(a,i){r(a,"",$r({},i,{expires:-1}))},withAttributes:function(a){return Bs(this.converter,$r({},this.attributes,a))},withConverter:function(a){return Bs($r({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Gt=Bs(d0,{path:"/"});const v0=()=>new URL(window.location.href).searchParams.get("tg_bot"),p0=()=>new Intl.DateTimeFormat().resolvedOptions().timeZone,m0=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];let Ov;const g0=()=>(Ov??=m0.reduce((e,t)=>{const r=new Intl.Locale(`und-${t}`),n=r.getTimeZones?.()??r.timeZones??[];for(const a of n)e[a]=t;return e},{}),Ov),y0=e=>{const t=p0();return e?.[t]??g0()[t]},b0=async e=>{try{return[!0,await e,void 0]}catch(t){return[!1,void 0,t]}},E0="@experiment",S0="exposure";class Nu{#e;#t;#r=new Set;constructor({chain:t,logger:r}){this.#e=t,this.#t=r}static getLogEventData=t=>{const r="eventProperties"in t,n="payload"in t;if(r){const{eventProperties:a,...i}=t;return a?{...i,...a}:i}if(n){const{payload:a,...i}=t;return a?{...i,...a}:i}return t};setUserId=t=>{for(const r of this.#e)r.setUserId(t)};send=t=>{this.#t?.info("[analytics]",Nu.getLogEventData(t));for(const r of this.#e)r.send(t)};sendExposure=({name:t,group:r})=>{this.#r.has(t)||(this.#r.add(t),this.send({eventCat:E0,eventName:S0,eventProperties:{experiment_key:t,experiment_group:r}}))}}
28const Dm=Symbol("analytics"),CO={install(e,{chain:t,logger:r,userId:n}){const a=new Nu({chain:t,logger:r});Im(()=>F(n),i=>{a.setUserId(i)}),e.provide(Dm,a)}},AO=()=>{const e=Fe(Dm);if(!e)throw new Error("It appears the AnalyticsPlugin is missing. Make sure to install it.");return e};function P0(){const e={};return{off(t,r){e[t]=e[t]?.filter(n=>n!==r)??[]},on(t,r){return e[t]??=[],e[t]?.push(r),()=>{this.off(t,r)}},emit(...[t,r]){for(const n of e[t]??[])n(r)}}}var In=P0(),xO=(e,t)=>In.on(e,t),Mm="partner_key",qm="visit_domain",Bm="sub_ids",jm="click_id",Um="visitor-id",js="pjwt",Hm="pjwt.isToken",Du="referralCode",Gm="hashTs",$m="referralCodeTs",Vm="should_restore_hash",Km="session_partner_key",Wm="session_visit_domain",Qm="session_sub_ids",zm="session_click_id",Xm="session_referralCode",Mu="castId",_v="partner_key",qu="flat_landing",kr=typeof window<"u",w0={expires:31},T0=/^sub([1-9]|1[0-9])$/i,pe=e=>{if(kr)try{return Gt.get(e)||window.internalPartnerData?.[e]}catch{return window.internalPartnerData?.[e]}},Cv=e=>{if(!e)return;const t=Number(e);return Number.isFinite(t)?t:void 0},Bu=()=>({hashTs:Cv(pe(Gm)),referralCodeTs:Cv(pe($m))}),Ym=()=>({partnerKey:pe(Km),visitDomain:pe(Wm),subIds:pe(Qm),clickId:pe(zm),referralCode:pe(Xm)}),kO=()=>{const{hashTs:e,referralCodeTs:t}=Bu();return{referralCode:pe(Du),attributes:{hashTs:e,referralCodeTs:t}}},Us=e=>e.hostname.replace(/^www\./,""),ju=()=>{const e=pe(Bm),t=pe(Mm),r=pe(qm),n=pe(jm),a=pe(Um);if(t||r||n)return{visit_domain:r,sub_ids:e,clickId:n,visitorId:a,partner_key:t}},Uu=()=>{if(!kr)return{};try{return ju()||{visit_domain:Us(window.location)}}catch{return{visit_domain:Us(window.location)}}},Jm=()=>pe("referer")||document.referrer,Hu=()=>{const e=pe(Du);if(e)return{referralCode:e}},Zm=()=>Hu(),R0=async()=>{try{const{visitorId:e}=await(await cp(()=>__retry_dynamic_loader__(()=>import("./fp.esm-DYqmbkBQ.js")),[]).then(t=>t.load())).get();return e}catch{return Date.now().toString()}},I0=e=>{const t=Object.entries(e).map(([r,n])=>{const a=r.charAt(0).toUpperCase()+r.slice(1),i=n||void 0;return[`new${a}`,i]});return Object.fromEntries(t)},O0=async e=>{try{const t=new URL(`https://${e.routerDomain}/api/v1/product-visits`),r=Uu(),n=Zm(),a=Ym(),{hashTs:i,referralCodeTs:o}=Bu(),s=e.ffLastCookie?e.currentPartner?.sub_ids:e.currentPartner?.sub_ids||r.sub_ids,u=Object.fromEntries(new URLSearchParams(s).entries()),c=Object.fromEntries(new URLSearchParams(a.subIds).entries()),l=await R0(),f=e.ffLastCookie?e.currentPartner?.partner_key:e.currentPartner?.partner_key||r.partner_key,d=e.ffLastCookie?e.currentReferralProgram?.referralCode:e.currentReferralProgram?.referralCode||n?.referralCode,h={visitDomain:r.visit_domain,partnerHash:f,clickId:e.currentPartner?.clickId||r.clickId,visitorId:r.visitorId,referralCode:d,...u},v={partnerHash:a.partnerKey,clickId:a.clickId,referralCode:a.referralCode,...c},p={href:e.location.href,pageType:e.pageType,landingId:e.landingId,unique:e.unique,referer:Jm(),hashTs:i,referralCodeTs:o,...h,...I0(v)},m=await fetch(t,{method:"POST",body:JSON.stringify(p),credentials:"include",headers:{"Content-Type":"application/json","X-Unique-Key":l}});return m.ok?m.json():void 0}catch(t){console.log(t),In.emit("error",{error:t})}},Gu=e=>({cookie:{name:jm,value:e||""},sessionCookie:{name:zm,value:e||""},replaceParam:[Mu,void 0]}),_0=e=>Gu(new URLSearchParams(e.search).get(Mu)),C0=e=>({value:e?e==="true":void 0,replaceParam:[qu,void 0]}),A0=e=>C0(new URLSearchParams(e.search).get(qu)),Bt=(e,t)=>
28({cookie:{name:Mm,value:e||""},sessionCookie:{name:Km,value:e||""},replace:t}),x0=e=>{const t=new URLSearchParams(e.search);for(const r of[{regexp:/(?:\/_)([a-z0-9]{1,9})(?=[^\w]|$)/,keyGroupIdx:1},{regexp:/#(?!tgWebAppData|tgAuthResult)([a-z0-9]+)/i,keyGroupIdx:1}]){const n=r.regexp.exec(e.href);if(n&&n[r.keyGroupIdx]){const a=(""+n[r.keyGroupIdx]).trim(),i=n[1];return Bt(a,i==="p"?void 0:n[0])}}if(t.has("p"))return Bt(t.get("p"));if(t.has("partner_key")){const r=t.get(_v);return Bt(r,`${_v}=${r}`)}return Bt()},k0=e=>({replaceParam:["rc",void 0]}),F0=e=>k0(new URLSearchParams(e.search).get("rc")),eg=e=>({cookie:{name:Du,value:e||""},sessionCookie:{name:Xm,value:e||""}}),L0=e=>eg(new URLSearchParams(e.search).get("r")),On=e=>{const t=[];for(const[r,n]of e)if(T0.test(r)&&n){const a=encodeURIComponent(n);t.push([r,a])}return t},_n=e=>e.map(t=>t.join("=")).join("&"),$u=e=>({cookie:{name:Bm,value:e||""},sessionCookie:{name:Qm,value:e||""}}),N0=e=>$u(_n(On([...new URLSearchParams(e.search)]))),D0=e=>{if(!e)return;const t=/~([^_]+)_(.*?)(?=(?:_~|$))/g,r={};let n;for(;(n=t.exec(e))!==null;)r[n[1]]=n[2];return r},M0=e=>{const t=new URLSearchParams(e.search).get(js),r=D0(t);if(r)return{subIds:$u(_n(On(Object.entries(r)))),partnerKey:Bt(r.h),clickId:Gu(r.castId),isToken:tg(!!t)}},tg=e=>({cookie:e?{name:Hm,value:`${e}`}:void 0}),rg=e=>({cookie:{name:qm,value:e||""},sessionCookie:{name:Wm,value:e||""}}),q0=e=>rg(Us(e)),B0=e=>{const t=q0(e),r=A0(e),n=M0(e),a={visitDomain:t,flatLanding:r,rc:F0(e),referralCode:L0(e)};if(n)return{...a,...n};const i=N0(e),o=x0(e),s=_0(e);return{...a,subIds:i,partnerKey:o,clickId:s,isToken:tg()}},ng=()=>pe(Vm)!=="false",j0=e=>({cookie:{name:Vm,value:typeof e=="boolean"?`${e}`:""}}),Hs=(e,t)=>{if(!(!e||!kr))if(window.internalPartnerData||(window.internalPartnerData={}),t?.removableEmptyValue&&!e.value)ag(e);else{if(!e.value)return;try{Gt.set(e.name,e.value,w0)}catch{}window.internalPartnerData[e.name]=e.value,console.info("Saved partner info",e.name,e.value)}},ag=e=>{if(!(!e||!kr)){try{Gt.remove(e.name)}catch{}delete window.internalPartnerData[e.name]}},ft=(e,t)=>{for(const r of e)Hs(r,t)},ig=e=>({cookie:{name:Gm,value:typeof e=="number"?`${e}`:""}}),og=e=>({cookie:{name:$m,value:typeof e=="number"?`${e}`:""}}),U0=({data:e,paramsFromUrl:t})=>{const r=("partnerKey"in t?t.partnerKey.cookie?.value:"")||"",n=t.referralCode.cookie?.value||"",a=e.currentPartner?.partner_key||"",i=e.currentReferralProgram?.referralCode||"",o=r!==a||n!==i,s=Date.now();return{hashTs:o&&r?s:e.hashTs,referralCodeTs:o&&n?s:e.referralCodeTs}},sg=({data:e,paramsFromUrl:t})=>{const{hashTs:r,referralCodeTs:n}=U0({data:e,paramsFromUrl:t});ft([ig(r).cookie,og(n).cookie],{removableEmptyValue:e.ffLastCookie})},H0=e=>({cookie:{name:Um,value:e||""}}),G0=()=>{const e=window.AndroidBridge?.getAffParams?.();if(e)try{return JSON.parse(e)}catch{return}},$0=e=>{if(!kr||window.internalPartnerData)return;window.internalPartnerData={};const t=G0();if(t){t.partnerKey&&(window.internalPartnerData.partner_key=t.partnerKey),t.subIds&&(window.internalPartnerData.sub_ids=_n(Object.entries(t.subIds))),t.clickId&&(window.internalPartnerData.click_id=t.clickId),t.hashTs&&(window.internalPartnerData.hashTs=String(t.hashTs)),t.referralCodeTs&&(window.internalPartnerData.referralCodeTs=String(t.referralCodeTs));return}e?.isApk&&(e?.initData?.partnerKey&&(window.internalPartnerData.partner_key=e?.initData?.partnerKey),e?.initData?.visitDomain&&(window.internalPartnerData.visit_domain=e?.initData?.visitDomain),e?.initData?.subIds&&(window.internalPartnerData.sub_ids=e?.initData?.subIds),e?.initData?.clickId&&(window.internalPartnerData.click_id=e?.initData?.clickId))},V0=({location:e},t)=>{const r=[t.partnerKey],n=[t.clickId,t.flatLanding,t.rc],a=r.reduce((o,s)=>!o||!s||!s.replace?o:e.href.replace(s.replace,""),e.href),i=new URL(a);for(const o of n){if(!o?.replaceParam)continue;const[s,u]=o.replaceParam;if(!u){i.searchParams.delete(s);continue}i.searchParams.set(s,u)}return t.partnerKey?.cookie?.value&&i.searchParams.set("p",t.partnerKey.cookie.value),i},K0=e=>{const t=e.filter(([r,n])=>!!n).map(r=>r.join("_")).join("_~");if(t)return`~${t}`},FO=()=>{const e=ju(),t=Hu(),r=ng();if(!(e||t))return;const n=[...new URLSearchParams(e?.sub_ids).entries()],a=ug({partnerKey:r&&e?.partner_key||"",referralCode:t?.referralCode||"",subIds:n});return Object.fromEntries(a.entries())},ug=e=>{const t=pe(Hm);let r=[[qu,""],[Mu,""],["rc",""],["r",e.referralCode]];if(t){const n=K0([["h",e.partnerKey||""],...e.subIds]);r.push([js,n||""],["p",""],...e.subIds.map(([a])=>[a,""]))}else r.push(["p",e.partnerKey||""],[js,""],...e.subIds);return new URLSearchParams(r)},cg=e=>{const t=On(Object.entries(e));return ug({partnerKey:e.shouldRestoreHash&&e.partnerHash||"",referralCode:e.referralCode||"",subIds:t})},W0=({data:e,paramsFromUrl:t})=>{const r=V0(e,t),n=Object.fromEntries(new URLSearchParams(e?.currentPartner?.sub_ids).entries());return lg(r,cg({partnerHash:e?.currentPartner?.partner_key,referralCode:e?.currentReferralProgram?.referralCode,shouldRestoreHash:e.shouldRestoreHash,...n}))},lg=(e,t)=>
28{const r=new URL(e);for(const[n,a]of t.entries())a?r.searchParams.set(n,a):r.searchParams.delete(n);return r},Q0=e=>{const t=Uu(),r=Zm();return{landing_id:e.landingId,page_type:e.pageType,unique:e.unique,visit_domain:t.visit_domain,partner_key:t.partner_key,sub_ids:t.sub_ids,click_id:t.clickId,visitor_id:t.visitorId,referralCode:r?.referralCode}},z0=e=>{const t=new URL("/api/v1/ms-affiliate-links/linkVisit",e.remoteUrl||window.location.toString()),r=JSON.stringify({href:e.location.href,referer:Jm(),...Q0(e)}),n=new Blob([r],{type:"application/json"});navigator.sendBeacon(t,n)},X0=({data:e,paramsFromUrl:t})=>{const{subIds:r,visitDomain:n,partnerKey:a,clickId:i,isToken:o,referralCode:s}=t;e.currentReferralProgram||ft([s.cookie]),e.currentPartner||ft([a.cookie,n.cookie,o.cookie]),ft([r.cookie,i.cookie]),ft([a.sessionCookie,n.sessionCookie,r.sessionCookie,i.sessionCookie,s.sessionCookie]),sg({data:e,paramsFromUrl:t})},Y0=({data:e,paramsFromUrl:t})=>{const{subIds:r,visitDomain:n,partnerKey:a,clickId:i,isToken:o,referralCode:s}=t;ft([s.cookie]),ft([a.cookie,n.cookie,o.cookie]),Hs(r.cookie,{removableEmptyValue:!!a.cookie?.value}),!a.cookie?.value&&!e.currentPartner?.sub_ids&&ag(r.cookie),Hs(i.cookie),ft([a.sessionCookie,n.sessionCookie,r.sessionCookie,i.sessionCookie,s.sessionCookie],{removableEmptyValue:!0}),sg({data:e,paramsFromUrl:t})},J0=e=>{const t={...e?.location||window.location};return e?.isApk&&e?.domain?new URL(t.pathname+t.search+t.hash,`https://${e.domain}`):t},Av={routerDomain:"flowmetric.life",patchUrl:!0,ffLastCookie:!0},Z0=e=>{const t=ju(),r=Hu(),n=ng(),{hashTs:a,referralCodeTs:i}=Bu();return{...Av,...e,location:J0(e),routerDomain:e?.routerDomain||Av.routerDomain,unique:!t,currentPartner:t,currentReferralProgram:r,shouldRestoreHash:n,hashTs:a,referralCodeTs:i}},eP=async(e,t)=>{let r=t.searchParams;try{const n=await O0(e);if(n){r=cg({...n,shouldRestoreHash:n.shouldRestoreHash??e.shouldRestoreHash}),console.log("<--------->");const a=_n(On(Object.entries(n)));ft([Bt(n.partnerHash).cookie,rg(n.visitDomain).cookie,Gu(n.clickId).cookie,H0(n.visitorId).cookie,$u(a).cookie,eg(n.referralCode).cookie,j0(n.shouldRestoreHash).cookie,ig(n.hashTs).cookie,og(n.referralCodeTs).cookie],{removableEmptyValue:e.ffLastCookie})}return z0(e),{searchParams:r}}catch(n){return In.emit("error",{error:n}),{searchParams:r}}},LO=e=>{$0(e);const t=Z0(e),r=B0(t.location);r.flatLanding.value&&(t.unique=!1),t.ffLastCookie?Y0({data:t,paramsFromUrl:r}):X0({data:t,paramsFromUrl:r});const n=W0({data:t,paramsFromUrl:r}),a=eP(t,n),i=()=>a;return t.patchUrl&&(async()=>{const{searchParams:o}=await i(),s=lg(n,o);window.history.pushState({},"",s),In.emit("historyStatePushed",{url:s})})(),{preparedUrl:new URL(n),suspense:i}},NO=async(e={})=>{try{const t=Ym(),r={domain:t.visitDomain,partnerHash:t.partnerKey,subs:t.subIds,...e},n=await fetch("/api/v1/ms-affiliate-links/coreAuthVisit",{method:"POST",body:JSON.stringify(r),headers:{"Content-Type":"application/json"}});return n.ok?n.json():void 0}catch(t){console.log(t)}};const tP=e=>e.length===3;class fg{get config(){return this.#e}#e;constructor(t=new Map){this.#e=t}getConfig(t){if(!this.#e.has(t))return{};const{decimals:r}=this.#e.get(t);return{maximumFractionDigits:r,minimumFractionDigits:r}}getLocalizedCode(t,r,n="symbol"){const i=this.#e.get(r);if(!tP(r)&&i===void 0)return r;if(i!==void 0){if(n==="symbol"&&i.symbol){const u=new Intl.Locale(t).minimize().toString();return i.symbol[u]??i.symbol.default}return n==="narrowSymbol"?i.narrowSymbol:r}const o=new Intl.NumberFormat(t,{currency:r,currencyDisplay:n,style:"currency"}).formatToParts(0),{value:s}=o.find(u=>u.type==="currency");return s}supports(t){return this.#e.has(t)}}const rP="XTS",nP=e=>e.length===3;let jt=new fg;const aP=()=>class extends Intl.NumberFormat{#e;get#t(){const t=this.resolvedOptions();if(t.style!=="currency")throw new RangeError(void 0);return jt.getLocalizedCode(t.locale,t.currency,t.currencyDisplay)}constructor(t,r){r?.style==="currency"&&r.currency;let n=structuredClone(r??{});for(const a of Object.keys(n))n[a]===void 0&&delete n[a];if(r?.style==="currency"){const a=r.currency;!nP(a)&&jt.supports(a),jt.supports(a)&&(n={...jt.getConfig(a),...n,currency:rP},r.minimumFractionDigits!==void 0&&r.maximumFractionDigits===void 0&&r.minimumFractionDigits>n.maximumFractionDigits?n.maximumFractionDigits=r.minimumFractionDigits:r.maximumFractionDigits!==void 0&&r.minimumFractionDigits===void 0&&r.maximumFractionDigits<n.minimumFractionDigits&&(n.minimumFractionDigits=r.maximumFractionDigits)),a==="KGS"&&(n.currencyDisplay="code")}super(t,n),this.#e=r?.currency}format(t){return this.formatToParts(t).map(r=>r.value).join("")}formatToParts(t){return this.resolvedOptions().style==="currency"?super.formatToParts(t).map(n=>(n.type==="currency"&&(n.value=this.#t),n)):super.formatToParts(t)}resolvedOptions(){const t=super.resolvedOptions();return t.style==="currency"&&(t.currency=this.#e),t}};let nn=class Xr extends function(){}{static set __customCurrencies(t){jt=new fg(t)}static get __customCurrencies(){return jt.config}static#e;constructor(t,r){return super(),Xr.#e===void 0&&(Xr.#e=aP()),new Xr.#e(t,r)}};const hg=Intl.DateTimeFormat,iP=Intl.PluralRules,oP=Intl.RelativeTimeFormat;class sP{constructor(t){this.capacity=t}#e=new Map;delete(t){return this.#e.delete(t)}get(t){if(!this.#e.has(t))return;const r=this.#e.get(t);return this.#e.delete(t),this.#e.set(t,r),r}has(t){return this.#e.has(t)}set(t,r){if(this.#e.has(t))return this.#e.delete(t),this.#e.set(t,r),this;if(this.#e.size>=this.capacity){const n=this.#e.keys().next().value;this.#e.delete(n)}return this.#e.set(t,r),this}}const Vr=new WeakMap;let uP=0;function Gs(e){const t=typeof e,r=e&&e.constructor,n=r===Date;if(Object(e)===e&&!n&&r!=RegExp){let a=Vr.get(e);if(a)return a;a=++uP+"~",Vr.set(e,a);let i;if(r===Array){for(a="@",i=0;i<e.length;i++)a+=Gs(e[i])+",";Vr.set(e,a)}else if(r===Object){a="#";const o=Object.keys(e).sort();for(;(i=o.pop())!==void 0;)e[i]!==void 0&&(a+=i+":"+Gs(e[i])+",");Vr.set(e,a)}return a}return n?e.toJSON():t==="symbol"?e.toString():t==="string"?JSON.stringify(e):""+e}const Cn=(e,t)=>{const r={...e};for(const n of t)delete r[n];return r},dg=Symbol();function tr(){if(!wt())throw new Error("Intl hooks can only be used inside setup() function or functions that support injection context.");return Fe(dg,void 0)??{}}const cP=(e,t,r)=>j(()=>{const n=Gs(F(e));return r.has(n)||r.set(n,t(F(e))),r.get(n)}),vg=20,xv=new sP(vg);function lP(){const{formattersCacheSize:e}=tr();return W(()=>e?.value,t=>{const r=t??vg;xv.capacity=r},{immediate:!0}),xv}function Vu(e,t,r){const n=lP();return cP(()=>[e,t()],([a,i])=>r(a,i),n)}const pg=(e,t)=>
28{const{locale:r,numberFormatOptions:n}=tr();return Vu(nn,()=>[F(e)??r?.value,(n??(a=>a))(F(t)??{})],(a,[i,o])=>new a(i,o))},fP=(e,t,r)=>{const{currency:n}=tr(),a=j(()=>({...F(r),currency:F(t)??n?.value,style:"currency"}));return pg(e,a)},MO=dt({props:["localeMatcher","currency","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","currencyDisplay","locale","value"],setup(e,{slots:t}){const r=j(()=>Cn(e,["locale","value","currency"])),n=fP(()=>e.locale,()=>e.currency,r);return()=>t.default===void 0?dn(n.value.format(e.value)):t.default({get parts(){return n.value.formatToParts(e.value)},get value(){return n.value.format(e.value)}})},slots:Object}),hP=(e,t)=>{const{dateTimeFormatOptions:r,locale:n}=tr();return Vu(hg,()=>[F(e)??n?.value,(r??(a=>a))(F(t)??{})],(a,[i,o])=>new a(i,o))},qO=dt({props:["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","calendar","dayPeriod","numberingSystem","dateStyle","timeStyle","hourCycle","fractionalSecondDigits","locale","value"],setup(e,{slots:t}){const r=j(()=>Cn(e,["locale","value"])),n=hP(()=>e.locale,r);return()=>t.default===void 0?dn(n.value.format(e.value)):t.default({get parts(){return n.value.formatToParts(e.value)},get value(){return n.value.format(e.value)}})},slots:Object}),BO=dt({props:["localeMatcher","currency","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","currencyDisplay","locale","kind","value"],setup(e,{slots:t}){const r=j(()=>({...Cn(e,["locale","kind","value"]),style:e.kind})),n=pg(()=>e.locale,r);return()=>t.default===void 0?dn(n.value.format(e.value)):t.default({get parts(){return n.value.formatToParts(e.value)},get value(){return n.value.format(e.value)}})},slots:Object}),dP=(e,t)=>
28{const{locale:r,relativeTimeFormatOptions:n}=tr();return Vu(oP,()=>[F(e)??r?.value,(n??(a=>a))(F(t)??{})],(a,[i,o])=>new a(i,o))};dt({props:["localeMatcher","numberingSystem","style","numeric","locale","value","unit"],setup(e,{slots:t}){const r=j(()=>Cn(e,["locale","value"])),n=dP(()=>e.locale,r);return()=>t.default===void 0?dn(n.value.format(e.value,e.unit)):t.default({get parts(){return n.value.formatToParts(e.value,e.unit)},get value(){return n.value.format(e.value,e.unit)}})},slots:Object});const jO=()=>{const{formattersCacheSize:e,locale:t,...r}=tr();return r},vP={install:(e,t)=>{W(()=>F(t.customCurrencies),r=>{nn.__customCurrencies!==r&&(nn.__customCurrencies=r)},{flush:"sync",immediate:!0}),e.provide(dg,{currency:Re(()=>F(t.currency)),customCurrencies:Re(()=>F(t.customCurrencies)),dateTimeFormatOptions:t.dateTimeFormatOptions,formattersCacheSize:Re(()=>F(t.formattersCacheSize)),locale:Re(()=>F(t.locale)),numberFormatOptions:t.numberFormatOptions,relativeTimeFormatOptions:t.relativeTimeFormatOptions})}};function UO(e){return e.filter(t=>t.type!=="currency").map(t=>t.value).join("").trim()}function pP(e,t,r){return e.filter(n=>t.every(a=>!r(n,a)))}function kv(e){return[...new Set(e)]}function Fv(e,t){const r=new Map;for(let n=0;n<e.length;n++){const a=e[n],i=t(a,n,e);r.has(i)||r.set(i,a)}return Array.from(r.values())}const Lv=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||(function(){return this})();function mP(){}function Nv(e){return typeof Lv.Buffer<"u"&&Lv.Buffer.isBuffer(e)}function Dv(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function Mv(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const gP="[object RegExp]",yP="[object String]",bP="[object Number]",EP="[object Boolean]",SP="[object Symbol]",PP="[object Date]",wP="[object Map]",TP="[object Set]",RP="[object Array]",IP="[object Function]",OP="[object ArrayBuffer]",ms="[object Object]",_P="[object Error]",CP="[object DataView]",AP="[object Uint8Array]",xP="[object Uint8ClampedArray]",kP="[object Uint16Array]",FP="[object Uint32Array]",LP="[object BigUint64Array]",NP="[object Int8Array]",DP="[object Int16Array]",MP="[object Int32Array]",qP="[object BigInt64Array]",BP="[object Float32Array]",jP="[object Float64Array]";function qv(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function Fr(e,t){const r={...e};for(let n=0;n<t.length;n++){const a=t[n];delete r[a]}return r}function UP(e,t){const r={},n=Object.keys(e);for(let a=0;a<n.length;a++){const i=n[a],o=e[i];t(o,i)||(r[i]=o)}return r}function HP(e,t){const r={};for(let n=0;n<t.length;n++){const a=t[n];Object.hasOwn(e,a)&&(r[a]=e[a])}return r}function GP(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function $P(e,t,r){return sr(e,t,void 0,void 0,void 0,void 0,r)}function sr(e,t,r,n,a,i,o){const s=o(e,t,r,n,a,i);if(s!==void 0)return s;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return fr(e,t,i,o)}return fr(e,t,i,o)}function fr(e,t,r,n){if(Object.is(e,t))return!0;let a=Mv(e),i=Mv(t);if(a==="[object Arguments]"&&(a=ms),i==="[object Arguments]"&&(i=ms),a!==i)return!1;switch(a){case yP:return e.toString()===t.toString();case bP:return GP(e.valueOf(),t.valueOf());case EP:case PP:case SP:return Object.is(e.valueOf(),t.valueOf());case gP:return e.source===t.source&&e.flags===t.flags;case IP:return e===t}r=r??new Map;const o=r.get(e),s=r.get(t);if(o!=null&&s!=null)return o===t;r.set(e,t),r.set(t,e);try{switch(a){case wP:if(e.size!==t.size)return!1;for(const[u,c]of e.entries())if(!t.has(u)||!sr(c,t.get(u),u,e,t,r,n))return!1;return!0;case TP:{if(e.size!==t.size)return!1;const u=Array.from(e.values()),c=Array.from(t.values());for(let l=0;l<u.length;l++){const f=u[l],d=c.findIndex(h=>sr(f,h,void 0,e,t,r,n));if(d===-1)return!1;c.splice(d,1)}return!0}case RP:case AP:case xP:case kP:case FP:case LP:case NP:case DP:case MP:case qP:case BP:case jP:if(Nv(e)!==Nv(t)||e.length!==t.length)return!1;for(let u=0;u<e.length;u++)if(!sr(e[u],t[u],u,e,t,r,n))return!1;return!0;case OP:return e.byteLength!==t.byteLength?!1:fr(new Uint8Array(e),new Uint8Array(t),r,n);case CP:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:fr(new Uint8Array(e),new Uint8Array(t),r,n);case _P:return e.name===t.name&&e.message===t.message;case ms:{if(!(fr(e.constructor,t.constructor,r,n)||qv(e)&&qv(t)))return!1;const u=[...Object.keys(e),...Dv(e)],c=[...Object.keys(t),...Dv(t)];if(u.length!==c.length)return!1;for(let l=0;l<u.length;l++){const f=u[l],d=e[f];if(!Object.hasOwn(t,f))return!1;const h=t[f];if(!sr(d,h,f,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}function VP(e,t){return $P(e,t,mP)}const $t=new WeakMap,Yr=new WeakMap,an={current:[]};let gs=!1,hr=0;const ur=new Set,Kr=new Map;function mg(e){const t=Array.from(e).sort((r,n)=>r instanceof Vt&&r.options.deps.includes(n)?1:n instanceof Vt&&n.options.deps.includes(r)?-1:0);for(const r of t){if(an.current.includes(r))continue;an.current.push(r),r.recompute();const n=Yr.get(r);if(n)for(const a of n){const i=$t.get(a);i&&mg(i)}}}function KP(e){const t={prevVal:e.prevState,currentVal:e.state};for(const r of e.listeners)r(t)}function WP(e){const t={prevVal:e.prevState,currentVal:e.state};for(const r of e.listeners)r(t)}function gg(e){if(hr>0&&!Kr.has(e)&&Kr.set(e,e.prevState),ur.add(e),!(hr>0)&&!gs)try{for(gs=!0;ur.size>0;){const t=Array.from(ur);ur.clear();for(const r of t){const n=Kr.get(r)??r.prevState;r.prevState=n,KP(r)}for(const r of t){const n=$t.get(r);
28n&&(an.current.push(r),mg(n))}for(const r of t){const n=$t.get(r);if(n)for(const a of n)WP(a)}}}finally{gs=!1,an.current=[],Kr.clear()}}function Dt(e){hr++;try{e()}finally{if(hr--,hr===0){const t=ur.values().next().value;t&&gg(t)}}}function QP(e){return typeof e=="function"}class vt{constructor(t,r){this.listeners=new Set,this.subscribe=n=>{var a,i;this.listeners.add(n);const o=(i=(a=this.options)==null?void 0:a.onSubscribe)==null?void 0:i.call(a,n,this);return()=>{this.listeners.delete(n),o?.()}},this.prevState=t,this.state=t,this.options=r}setState(t){var r,n,a;this.prevState=this.state,(r=this.options)!=null&&r.updateFn?this.state=this.options.updateFn(this.prevState)(t):QP(t)?this.state=t(this.prevState):this.state=t,(a=(n=this.options)==null?void 0:n.onUpdate)==null||a.call(n),gg(this)}}class Vt{constructor(t){this.listeners=new Set,this._subscriptions=[],this.lastSeenDepValues=[],this.getDepVals=()=>{const r=this.options.deps.length,n=new Array(r),a=new Array(r);for(let i=0;i<r;i++){const o=this.options.deps[i];n[i]=o.prevState,a[i]=o.state}return this.lastSeenDepValues=a,{prevDepVals:n,currDepVals:a,prevVal:this.prevState??void 0}},this.recompute=()=>{var r,n;this.prevState=this.state;const a=this.getDepVals();this.state=this.options.fn(a),(n=(r=this.options).onUpdate)==null||n.call(r)},this.checkIfRecalculationNeededDeeply=()=>{for(const i of this.options.deps)i instanceof Vt&&i.checkIfRecalculationNeededDeeply();let r=!1;const n=this.lastSeenDepValues,{currDepVals:a}=this.getDepVals();for(let i=0;i<a.length;i++)if(a[i]!==n[i]){r=!0;break}r&&this.recompute()},this.mount=()=>(this.registerOnGraph(),this.checkIfRecalculationNeededDeeply(),()=>{this.unregisterFromGraph();for(const r of this._subscriptions)r()}),this.subscribe=r=>{var n,a;this.listeners.add(r);const i=(a=(n=this.options).onSubscribe)==null?void 0:a.call(n,r,this);return()=>{this.listeners.delete(r),i?.()}},this.options=t,this.state=t.fn({prevDepVals:void 0,prevVal:void 0,currDepVals:this.getDepVals().currDepVals})}registerOnGraph(t=this.options.deps){for(const r of t)if(r instanceof Vt)r.registerOnGraph(),this.registerOnGraph(r.options.deps);else if(r instanceof vt){let n=$t.get(r);n||(n=new Set,$t.set(r,n)),n.add(this);let a=Yr.get(this);a||(a=new Set,Yr.set(this,a)),a.add(r)}}unregisterFromGraph(t=this.options.deps){for(const r of t)if(r instanceof Vt)this.unregisterFromGraph(r.options.deps);else if(r instanceof vt){const n=$t.get(r);n&&n.delete(this);const a=Yr.get(this);a&&a.delete(r)}}}var $s=function(e,t){return $s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},$s(e,t)};function An(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");$s(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Y=function(){return Y=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Y.apply(this,arguments)};function zP(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function HO(e,t,r,n){function a(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function s(l){try{c(n.next(l))}catch(f){o(f)}}function u(l){try{c(n.throw(l))}catch(f){o(f)}}function c(l){l.done?i(l.value):a(l.value).then(s,u)}c((n=n.apply(e,t||[])).next())})}function GO(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(c){return function(l){return u([c,l])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,a&&(i=c[0]&2?a.return:c[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,c[1])).done)return i;switch(a=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,a=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(l){c=[6,l],a=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function $O(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);
28if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function VO(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(s){o={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return i}function lt(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function De(e,t){var r=t&&t.cache?t.cache:rw,n=t&&t.serializer?t.serializer:ew,a=t&&t.strategy?t.strategy:JP;return a(e,{cache:r,serializer:n})}function XP(e){return e==null||typeof e=="number"||typeof e=="boolean"}function YP(e,t,r,n){var a=XP(n)?n:r(n),i=t.get(a);return typeof i>"u"&&(i=e.call(this,n),t.set(a,i)),i}function yg(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),i=t.get(a);return typeof i>"u"&&(i=e.apply(this,n),t.set(a,i)),i}function bg(e,t,r,n,a){return r.bind(t,e,n,a)}function JP(e,t){var r=e.length===1?YP:yg;return bg(e,this,r,t.cache.create(),t.serializer)}function ZP(e,t){return bg(e,this,yg,t.cache.create(),t.serializer)}var ew=function(){return JSON.stringify(arguments)},tw=(function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e})(),rw={create:function(){return new tw}},nt={variadic:ZP},Q;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(Q||(Q={}));var ae;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(ae||(ae={}));var Wt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Wt||(Wt={}));function Bv(e){return e.type===ae.literal}function nw(e){return e.type===ae.argument}function Eg(e){return e.type===ae.number}function Sg(e){return e.type===ae.date}function Pg(e){return e.type===ae.time}function wg(e){return e.type===ae.select}function Tg(e){return e.type===ae.plural}function aw(e){return e.type===ae.pound}function Rg(e){return e.type===ae.tag}function Ig(e){return!!(e&&typeof e=="object"&&e.type===Wt.number)}function Vs(e){return!!(e&&typeof e=="object"&&e.type===Wt.dateTime)}var Og=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,iw=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function ow(e){var t={};return e.replace(iw,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var sw=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function uw(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(sw).filter(function(d){return d.length>0}),r=[],n=0,a=t;n<a.length;n++){var i=a[n],o=i.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var s=o[0],u=o.slice(1),c=0,l=u;c<l.length;c++){var f=l[c];if(f.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:u})}return r}function cw(e){return e.replace(/^(.*?)-/,"")}var jv=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,_g=/^(@+)?(\+|#+)?[rs]?$/g,lw=/(\*)(0+)|(#+)(0+)|(0+)/g,Cg=/^(0+)$/;function Uv(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(_g,function(r,n,a){return typeof a!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):a==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof a=="str
28ing"?a.length:0)),""}),t}function Ag(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function fw(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Cg.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Hv(e){var t={},r=Ag(e);return r||t}function hw(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=cw(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Y(Y(Y({},t),{notation:"scientific"}),a.options.reduce(function(u,c){return Y(Y({},u),Hv(c))},{}));continue;case"engineering":t=Y(Y(Y({},t),{notation:"engineering"}),a.options.reduce(function(u,c){return Y(Y({},u),Hv(c))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(lw,function(u,c,l,f,d,h){if(c)t.minimumIntegerDigits=l.length;else{if(f&&d)throw new Error("We currently do not support maximum integer digits");if(h)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Cg.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(jv.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(jv,function(u,c,l,f,d,h){return l==="*"?t.minimumFractionDigits=c.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:d&&h?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+h.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var i=a.options[0];i==="w"?t=Y(Y({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=Y(Y({},t),Uv(i)));continue}if(_g.test(a.stem)){t=Y(Y({},t),Uv(a.stem));continue}var o=Ag(a.stem);o&&(t=Y(Y({},t),o));var s=fw(a.stem);s&&(t=Y(Y({},t),s))}return t}var Wr={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
vendor: 15,844 bytes, line 28
28:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function dw(e,t){for(var r="",n=0;n<e.length;n++){var a=e.charAt(n);if(a==="j"){for(var i=0;n+1<e.length&&e.charAt(n+1)===a;)i++,n++;var o=1+(i&1),s=i<2?1:3+(i>>1),u="a",c=vw(t);for((c=="H"||c=="k")&&(s=0);s-- >0;)r+=u;for(;o-- >0;)r=c+r}else a==="J"?r+="H":r+=a}return r}function vw(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var a=Wr[n||""]||Wr[r||""]||Wr["".concat(r,"-001")]||Wr["001"];return a[0]}var ys,pw=new RegExp("^".concat(Og.source,"*")),mw=new RegExp("".concat(Og.source,"*$"));function X(e,t){return{start:e,end:t}}var gw=!!String.prototype.startsWith&&"_a".startsWith("a",1),yw=!!String.fromCodePoint,bw=!!Object.fromEntries,Ew=!!String.prototype.codePointAt,Sw=!!String.prototype.trimStart,Pw=!!String.prototype.trimEnd,ww=!!Number.isSafeInteger,Tw=ww?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ks=!0;try{var Rw=kg("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ks=((ys=Rw.exec("a"))===null||ys===void 0?void 0:ys[0])==="a"}catch{Ks=!1}var Gv=gw?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ws=yw?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,i=0,o;a>i;){if(o=t[i++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},$v=bw?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var i=a[n],o=i[0],s=i[1];r[o]=s}return r},xg=Ew?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var a=t.charCodeAt(r),i;return a<55296||a>56319||r+1===n||(i=t.charCodeAt(r+1))<56320||i>57343?a:(a-55296<<10)+(i-56320)+65536}},Iw=Sw?function(t){return t.trimStart()}:function(t){return t.replace(pw,"")},Ow=Pw?function(t){return t.trimEnd()}:function(t){return t.replace(mw,"")};function kg(e,t){return new RegExp(e,t)}var Qs;if(Ks){var Vv=kg("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Qs=function(t,r){var n;Vv.lastIndex=r;var a=Vv.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else Qs=function(t,r){for(var n=[];;){var a=xg(t,r);if(a===void 0||Fg(a)||xw(a))break;n.push(a),r+=a>=65536?2:1}return Ws.apply(void 0,n)};var _w=(function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var a=[];!this.isEOF();){var i=this.char();if(i===123){var o=this.parseArgument(t,n);if(o.err)return o;a.push(o.val)}else{if(i===125&&t>0)break;if(i===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),a.push({type:ae.pound,location:X(s,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(Q.UNMATCHED_CLOSING_TAG,X(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&zs(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;a.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;a.push(o.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ae.literal,value:"<".concat(a,"/>"),location:X(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,r,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!zs(this.char()))return this.error(Q.INVALID_TAG,X(s,this.clonePosition()));var u=this.clonePosition(),c=this.parseTagName();return a!==c?this.error(Q.UNMATCHED_CLOSING_TAG,X(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ae.tag,value:a,children:o,location:X(n,this.clonePosition())},err:null}:this.error(Q.INVALID_TAG,X(s,this.clonePosition())))}else return this.error(Q.UNCLOSED_TAG,X(n,this.clonePosition()))}else return this.error(Q.INVALID_TAG,X(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Aw(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),a="";;){var i=this.tryParseQuote(r);if(i){a+=i;continue}var o=this.tryParseUnquoted(t,r);if(o){a+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){a+=s;continue}break}var u=X(n,this.clonePosition());return{val:{type:ae.literal,value:a,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Cw(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Ws.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Ws(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Q.EXPECT_ARGUMENT_CLOSING_BRACE,X(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Q.EMPTY_ARGUMENT,X(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(Q.MALFORMED_ARGUMENT,X(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Q.EXPECT_ARGUMENT_CLOSING_BRACE,X(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ae.argument,value:a,location:X(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Q.EXPECT_ARGUMENT_CLOSING_BRACE,X(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(Q.MALFORMED_ARGUMENT,X(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Qs(this.message,r),a=r+n.length;this.bumpTo(a);var i=this.clonePosition(),o=X(t,i);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,a){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(Q.EXPECT_ARGUMENT_TYPE,X(o,u));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var d=Ow(f.val);if(d.length===0)return this.error(Q.EXPECT_ARGUMENT_STYLE,X(this.clonePosition(),this.clonePosition()));var h=X(l,this.clonePosition());c={style:d,styleLocation:h}}var v=this.tryParseArgumentClose(a);if(v.err)return v;var p=X(a,this.clonePosition());if(c&&Gv(c?.style,"::",0)){var m=Iw(c.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(m,c.styleLocation);return f.err?f:{val:{type:ae.number,value:n,location:p,style:f.val},err:null}}else{if(m.length===0)return this.error(Q.EXPECT_DATE_TIME_SKELETON,p);var y=m;this.locale&&(y=dw(m,this.locale));var d={type:Wt.dateTime,pattern:y,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?ow(y):{}},g=s==="date"?ae.date:ae.time;return{val:{type:g,value:n,location:p,style:d},err:null}}}return{val:{type:s==="number"?ae.number:s==="date"?ae.date:ae.time,value:n,location:p,style:(i=c?.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Q.EXPECT_SELECT_ARGUMENT_OPTIONS,X(E,Y({},E)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),S=0;if(s!=="select"&&b.value==="offset"){if(!this.bumpIf(":"))return this.error(Q.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,X(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(Q.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Q.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),b=this.parseIdentifierIfPossible(),S=f.val}var R=this.tryParsePluralOrSelectOptions(t,s,r,b);if(R.err)return R;var v=this.tryParseArgumentClose(a);if(v.err)return v;var _=X(a,this.clonePosition());return s==="select"?{val:{type:ae.select,value:n,options:$v(R.val),location:_},err:null}:{val:{type:ae.plural,value:n,options:$v(R.val),offset:S,pluralType:s==="plural"?"cardinal":"ordinal",location:_},err:null}}default:return this.error(Q.INVALID_ARGUMENT_TYPE,X(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(Q.EXPECT_ARGUMENT_CLOSING_BRACE,X(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Q.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,X(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=uw(t)}catch{return this.error(Q.INVALID_NUMBER_SKELETON,r)}return{val:{type:Wt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?hw(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var i,o=!1,s=[],u=new Set,c=a.value,l=a.location;;){if(c.length===0){var f=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(Q.EXPECT_PLURAL_ARGUMENT_SELECTOR,Q.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=X(f,this.clonePosition()),c=this.message.slice(f.offset,this.offset())}else break}if(u.has(c))return this.error(r==="select"?Q.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Q.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);c==="other"&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?Q.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Q.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,X(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,r,n);if(v.err)return v;var p=this.tryParseArgumentClose(h);if(p.err)return p;s.push([c,{value:v.val,location:X(h,this.clonePosition())}]),u.add(c),this.bumpSpace(),i=this.parseIdentifierIfPossible(),c=i.value,l=i.location}return s.length===0?this.error(r==="select"?Q.EXPECT_SELECT_ARGUMENT_SELECTOR:Q.EXPECT_PLURAL_ARGUMENT_SELECTOR,X(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Q.MISSING_OTHER_CLAUSE,X(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,o=o*10+(s-48),this.bump();else break}var u=X(a,this.clonePosition());return i?(o*=n,Tw(o)?{val:o,err:null}:this.error(r,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=xg(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Gv(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;
vendor: 10,255 bytes, lines 28-30
28if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Fg(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e})();function zs(e){return e>=97&&e<=122||e>=65&&e<=90}function Cw(e){return zs(e)||e===47}function Aw(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Fg(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function xw(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Xs(e){e.forEach(function(t){if(delete t.location,wg(t)||Tg(t))for(var r in t.options)delete t.options[r].location,Xs(t.options[r].value);else Eg(t)&&Ig(t.style)||(Sg(t)||Pg(t))&&Vs(t.style)?delete t.style.location:Rg(t)&&Xs(t.children)})}function kw(e,t){t===void 0&&(t={}),t=Y({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new _w(e,t).parse();if(r.err){var n=SyntaxError(Q[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Xs(r.val),r.val}var Qt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Qt||(Qt={}));var xn=(function(e){An(t,e);function t(r,n,a){var i=e.call(this,r)||this;return i.code=n,i.originalMessage=a,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t})(Error),Kv=(function(e){An(t,e);function t(r,n,a,i){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Qt.INVALID_VALUE,i)||this}return t})(xn),Fw=(function(e){An(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Qt.INVALID_VALUE,a)||this}return t})(xn),Lw=(function(e){An(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Qt.MISSING_VALUE,n)||this}return t})(xn),Ae;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Ae||(Ae={}));function Nw(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==Ae.literal||r.type!==Ae.literal?t.push(r):n.value+=r.value,t},[])}function Dw(e){return typeof e=="function"}function Jr(e,t,r,n,a,i,o){if(e.length===1&&Bv(e[0]))return[{type:Ae.literal,value:e[0].value}];for(var s=[],u=0,c=e;u<c.length;u++){var l=c[u];if(Bv(l)){s.push({type:Ae.literal,value:l.value});continue}if(aw(l)){typeof i=="number"&&s.push({type:Ae.literal,value:r.getNumberFormat(t).format(i)});continue}var f=l.value;if(!(a&&f in a))throw new Lw(f,o);var d=a[f];if(nw(l)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),s.push({type:typeof d=="string"?Ae.literal:Ae.object,value:d});continue}if(Sg(l)){var h=typeof l.style=="string"?n.date[l.style]:Vs(l.style)?l.style.parsedOptions:void 0;s.push({type:Ae.literal,value:r.getDateTimeFormat(t,h).format(d)});continue}if(Pg(l)){var h=typeof l.style=="string"?n.time[l.style]:Vs(l.style)?l.style.parsedOptions:n.time.medium;s.push({type:Ae.literal,value:r.getDateTimeFormat(t,h).format(d)});continue}if(Eg(l)){var h=typeof l.style=="string"?n.number[l.style]:Ig(l.style)?l.style.parsedOptions:void 0;h&&h.scale&&(d=d*(h.scale||1)),s.push({type:Ae.literal,value:r.getNumberFormat(t,h).format(d)});continue}if(Rg(l)){var v=l.children,p=l.value,m=a[p];if(!Dw(m))throw new Fw(p,"function",o);var y=Jr(v,t,r,n,a,i),g=m(y.map(function(S){return S.value}));Array.isArray(g)||(g=[g]),s.push.apply(s,g.map(function(S){return{type:typeof S=="string"?Ae.literal:Ae.object,value:S}}))}if(wg(l)){var E=l.options[d]||l.options.other;if(!E)throw new Kv(l.value,d,Object.keys(l.options),o);s.push.apply(s,Jr(E.value,t,r,n,a));continue}if(Tg(l)){var E=l.options["=".concat(d)];if(!E){if(!Intl.PluralRules)throw new xn(`Intl.PluralRules is not available in this environment.
29Try polyfilling it using "@formatjs/intl-pluralrules"
30`,Qt.MISSING_INTL_API,o);var b=r.getPluralRules(t,{type:l.pluralType}).select(d-(l.offset||0));E=l.options[b]||l.options.other}if(!E)throw new Kv(l.value,d,Object.keys(l.options),o);s.push.apply(s,Jr(E.value,t,r,n,a,d-(l.offset||0)));continue}}return Nw(s)}function Mw(e,t){return t?Y(Y(Y({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=Y(Y({},e[n]),t[n]||{}),r},{})):e}function qw(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Mw(e[n],t[n]),r},Y({},e)):e}function bs(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Bw(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:De(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,lt([void 0],r,!1)))},{cache:bs(e.number),strategy:nt.variadic}),getDateTimeFormat:De(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,lt([void 0],r,!1)))},{cache:bs(e.dateTime),strategy:nt.variadic}),getPluralRules:De(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,lt([void 0],r,!1)))},{cache:bs(e.pluralRules),strategy:nt.variadic})}}var Ku=(function(){function e(t,r,n,a){r===void 0&&(r=e.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var c=i.formatToParts(u);if(c.length===1)return c[0].value;var l=c.reduce(function(f,d){return!f.length||d.type!==Ae.literal||typeof f[f.length-1]!="string"?f.push(d.value):f[f.length-1]+=d.value,f},[]);return l.length<=1?l[0]||"":l},this.formatToParts=function(u){return Jr(i.ast,i.locales,i.formatters,i.formats,u,void 0,i.message)},this.resolvedOptions=function(){var u;return{locale:((u=i.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=a||{};o.formatters;var s=zP(o,["formatters"]);this.ast=e.__parse(t,Y(Y({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=qw(e.formats,n),this.formatters=a&&a.formatters||Bw(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}
30,enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=kw,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e})();function Lg(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ot(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function jw(e){e===void 0&&(e=Lg());var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,a=De(function(){for(var s,u=[],c=0;c<arguments.length;c++)u[c]=arguments[c];return new((s=Intl.DateTimeFormat).bind.apply(s,lt([void 0],u,!1)))},{cache:Ot(e.dateTime),strategy:nt.variadic}),i=De(function(){for(var s,u=[],c=0;c<arguments.length;c++)u[c]=arguments[c];return new((s=Intl.NumberFormat).bind.apply(s,lt([void 0],u,!1)))},{cache:Ot(e.number),strategy:nt.variadic}),o=De(function(){for(var s,u=[],c=0;c<arguments.length;c++)u[c]=arguments[c];return new((s=Intl.PluralRules).bind.apply(s,lt([void 0],u,!1)))},{cache:Ot(e.pluralRules),strategy:nt.variadic});return{getDateTimeFormat:a,getNumberFormat:i,getMessageFormat:De(function(s,u,c,l){return new Ku(s,u,c,Y({formatters:{getNumberFormat:i,getDateTimeFormat:a,getPluralRules:o}},l||{}))},{cache:Ot(e.message),strategy:nt.variadic}),getRelativeTimeFormat:De(function(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];return new(t.bind.apply(t,lt([void 0],s,!1)))},{cache:Ot(e.relativeTime),strategy:nt.variadic}),getPluralRules:o,getListFormat:De(function(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];return new(r.bind.apply(r,lt([void 0],s,!1)))},{cache:Ot(e.list),strategy:nt.variadic}),getDisplayNames:De(function(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u];return new(n.bind.apply(n,lt([void 0],s,!1)))},{cache:Ot(e.displayNames),strategy:nt.variadic})}}function se(e,t){const r=`${e.application}/${e.package}/${e.language}`;return t?`${r}/${t}`:r}function rr(e){const t=e.split("/");return{application:t[0],language:t[1],package:t[2]}}function on(e,t,r){const n=Object.keys(e.state).filter(i=>rr(i)[t]===r);return HP(e.state,n)}function ke(e,t,r){e.setState(n=>UP(n,(a,i)=>rr(i)[t]===r))}function Uw(){const e=new vt({});return{deletePackageEntityPromise:l=>{e.setState(f=>Fr(f,[se(l)]))},deletePendingPromisesForApplication:l=>{ke(e,"application",l)},deletePendingPromisesForLanguage:l=>{ke(e,"language",l)},getPackageEntityPromise:l=>e.state[se(l)],getPendingPackageEntities:()=>Object.keys(e.state).map(l=>rr(l)),getPendingPromises:()=>Object.values(e.state),getPendingPromisesForApplication:l=>{const f=on(e,"application",l);return Object.values(f)},getPendingPromisesForLanguage:l=>{const f=on(e,"language",l);return Object.values(f)},setPackageEntityPromise:(l,f)=>{e.setState(d=>({...d,[se(l)]:f}))},store:e}}function Hw(){const e=new vt({});return{deleteErrorsForApplication:s=>{ke(e,"application",s)},deleteErrorsForLanguage:s=>{ke(e,"language",s)},deletePackageEntityError:s=>{e.setState(u=>Fr(u,[se(s)]))},getAllExistingPackageEntities:()=>Object.keys(e.state).map(s=>rr(s)),getPackageEntityError:s=>e.state[se(s)],setPackageEntityError:(s,u)=>{e.setState(c=>({...c,[se(s)]:u}))},store:e}}function Gw(){const e=new vt({});return{deletePackageEntityKeyGetter:s=>{e.setState(u=>Fr(u,[se(s)]))},deletePackageEntityKeyGettersForApplication:s=>{ke(e,"application",s)},deletePackageEntityKeyGettersForLanguage:s=>{ke(e,"language",s)},getAllExistingPackageEntities:()=>Object.keys(e.state).map(s=>rr(s)),getPackageEntityKeyGetter:s=>e.state[se(s)],setPackageEntityKeyGetter:(s,u)=>{e.setState(c=>({...c,[se(s)]:u}))},store:e}}function $w(){const e=new vt({});return{deleteAbortControllersForApplication:c=>{ke(e,"application",c)},deleteAbortControllersForLanguage:c=>{ke(e,"language",c)},deletePackageEntityAbortController:c=>{e.setState(l=>Fr(l,[se(c)]))},getAbortControllersForApplication:c=>{const l=on(e,"application",c);return Object.values(l)},getAbortControllersForLanguage:c=>{const l=on(e,"language",c);return Object.values(l)},getAllAbortControllers:()=>Object.values(e.state),getPackageEntityAbortController:c=>e.state[se(c)],setPackageEntityAbortController:(c,l)=>{e.setState(f=>({...f,[se(c)]:l}))},store:e}}function Vw(){const e=new vt({});return{deleteIntlPackageGettersForApplication:i=>{ke(e,"application",i)},deleteIntlPackageGettersForLanguage:i=>{ke(e,"language",i)},getIntlPackageGetter:i=>e.state[se(i)],setIntlPackageGetter:(i,o)=>{e.setState(s=>({...s,[se(i)]:o}))},store:e}}function Kw(){const e=new vt({});return{deletePackageEntitiesFormatters:s=>{e.setState(u=>Fr(u,s))},deletePackageEntityFormatterForApplication:s=>{ke(e,"application",s)},deletePackageEntityFormatterForLanguage:s=>{ke(e,"language",s)},getPackageEntityFormatterForTemplateKey:(s,u)=>e.state[se(s,u)],getPackageEntityFormattersTemplateKeys:s=>Object.keys(e.state).filter(c=>
30VP(rr(c),s)),setPackageEntityFormatterForTemplateKey:(s,u,c)=>{e.setState(l=>({...l,[se(s,u)]:c}))},store:e}}function Ww(){const e=new vt({});return{addUsedPackageEntity:o=>{const s=se(o);e.state[s]||e.setState(u=>({...u,[s]:o}))},deleteUsedPackageEntitiesForApplication:o=>{ke(e,"application",o)},deleteUsedPackageEntitiesForLanguage:o=>{ke(e,"language",o)},getUsedPackageEntities:()=>Object.values(e.state),hasUsedPackageEntity:o=>e.state[se(o)]!==void 0,store:e}}function Qw(e){const t=$w(),r=Uw(),n=Hw(),a=Gw(),i=Kw(),o=Vw(),s=Ww();return{addUsedPackageEntity:T=>{s.addUsedPackageEntity(T)},clearStoresListeners:()=>{t.store.listeners.clear(),r.store.listeners.clear(),n.store.listeners.clear(),a.store.listeners.clear(),i.store.listeners.clear(),o.store.listeners.clear(),s.store.listeners.clear()},deletePackageEntitiesForApplication:T=>{Dt(()=>{t.deleteAbortControllersForApplication(T),r.deletePendingPromisesForApplication(T),n.deleteErrorsForApplication(T),a.deletePackageEntityKeyGettersForApplication(T),i.deletePackageEntityFormatterForApplication(T),o.deleteIntlPackageGettersForApplication(T),s.deleteUsedPackageEntitiesForApplication(T)})},deletePackageEntitiesForLanguage:T=>{Dt(()=>{t.deleteAbortControllersForLanguage(T),r.deletePendingPromisesForLanguage(T),n.deleteErrorsForLanguage(T),a.deletePackageEntityKeyGettersForLanguage(T),i.deletePackageEntityFormatterForLanguage(T),o.deleteIntlPackageGettersForLanguage(T),s.deleteUsedPackageEntitiesForLanguage(T)})},deletePackageEntityAbortController:T=>{t.deletePackageEntityAbortController(T)},getAbortControllersForApplication:T=>t.getAbortControllersForApplication(T),getAbortControllersForLanguage:T=>t.getAbortControllersForLanguage(T),getAllAbortControllers:()=>t.getAllAbortControllers(),getAllExistingPackageEntities:()=>{const T=a.getAllExistingPackageEntities(),w=n.getAllExistingPackageEntities();return Fv([...T,...w],k=>se(k))},getAllPendingPromises:()=>r.getPendingPromises(),getPackageEntitiesForRefetch:()=>{const T=n.getAllExistingPackageEntities(),w=a.getAllExistingPackageEntities(),x=r.getPendingPackageEntities(),k=Fv([...w,...T],V=>se(V));return pP(k,x,(V,$)=>se(V)===se($))},getPackageEntityState:T=>{const w=n.getPackageEntityError(T),x=a.getPackageEntityKeyGetter(T),k=o.getIntlPackageGetter(T);if(!(!w&&!x)){let N;if(k){const V=e.intlPackageGetterResolver.getIntlPackageGetter({packageEntity:T,packageEntityErrorStore:n,packageEntityFormattersStore:i,packageEntityKeyGetterStore:a});o.setIntlPackageGetter(T,V),N={error:w,intlGetter:V}}else N={error:w,intlGetter:k};return N}},getPendingPackageEntityPromise:T=>r.getPackageEntityPromise(T),getPendingPromisesForApplication:T=>r.getPendingPromisesForApplication(T),getPendingPromisesForLanguage:T=>r.getPendingPromisesForLanguage(T),getStores:()=>({intlPackageGetterStore:o.store,packageEntityAbortControllerStore:t.store,packageEntityErrorStore:n.store,packageEntityFormattersStore:i.store,packageEntityKeyGetterStore:a.store,pendingPackageEntityStore:r.store,usedPackageEntitiesStore:s.store}),preparePackageEntityForResolve:T=>{n.getPackageEntityError(T)&&n.deletePackageEntityError(T)},setPackageEntityAbortController:(T,w)=>{t.setPackageEntityAbortController(T,w)},setPackageEntityStateAfterErrorResolve:(T,w)=>{const x=e.intlPackageGetterResolver.getIntlPackageGetter({packageEntity:T,packageEntityErrorStore:n,packageEntityFormattersStore:i,packageEntityKeyGetterStore:a});Dt(()=>{t.deletePackageEntityAbortController(T),r.deletePackageEntityPromise(T),n.setPackageEntityError(T,w),o.setIntlPackageGetter(T,x)})},setPackageEntityStateAfterSuccessResolve:(T,w,x)=>{if(x){const N=i.getPackageEntityFormattersTemplateKeys(T);Dt(()=>{i.deletePackageEntitiesFormatters(N)})}Dt(()=>{a.setPackageEntityKeyGetter(T,w)});const k=e.intlPackageGetterResolver.getIntlPackageGetter({packageEntity:T,packageEntityErrorStore:n,packageEntityFormattersStore:i,packageEntityKeyGetterStore:a});Dt(()=>{t.deletePackageEntityAbortController(T),r.deletePackageEntityPromise(T),n.deletePackageEntityError(T),o.setIntlPackageGetter(T,k)})},setPendingPackageEntityPromise:(T,w)=>{r.setPackageEntityPromise(T,w)}}}
30class Es extends Error{name="PackageEntityNotFoundInStoreError";constructor(){super("Package entity not found in store")}}function zw(e){const t=(s,u)=>()=>{const c=e.packageEntityStateOrchestrator.getPackageEntityState(s);c?u.resolve(c.intlGetter):u.reject(new Es)},r=(s,u)=>()=>{const c=e.packageEntityStateOrchestrator.getPackageEntityState(s);c?u.reject(c.error):u.reject(new Es)};return{cancelRequests:()=>{const s=e.packageEntityStateOrchestrator.getAllAbortControllers(),u=e.packageEntityStateOrchestrator.getAllPendingPromises();for(const c of s)c.abort();for(const c of u)c.reject()},cancelRequestsForApplication:s=>{const u=e.packageEntityStateOrchestrator.getAbortControllersForApplication(s),c=e.packageEntityStateOrchestrator.getPendingPromisesForApplication(s);for(const l of u)l.abort();for(const l of c)l.reject()},cancelRequestsForLanguage:s=>{const u=e.packageEntityStateOrchestrator.getAbortControllersForLanguage(s),c=e.packageEntityStateOrchestrator.getPendingPromisesForLanguage(s);for(const l of u)l.abort();for(const l of c)l.reject()},resolvePackageEntity:(s,u)=>{e.packageEntityStateOrchestrator.preparePackageEntityForResolve(s);const c=e.packageEntityRepository.getPackageEntityKeyGetter(s,u);if(!(c instanceof Promise)){const f=e.packageEntityStateOrchestrator.getPackageEntityState(s);if(!f?.intlGetter)throw new Es;return{intlGetter:f.intlGetter,sync:!0}}const l=Promise.withResolvers();return e.packageEntityStateOrchestrator.setPendingPackageEntityPromise(s,l),c.then(t(s,l)).catch(r(s,l)),{promise:l.promise,sync:!1}}}}function Xw(e){return{getPackageEntityKeyGetter:(r,n)=>{const a={application:r.application,language:r.language,package:r.package},i=new AbortController,o=e.httpClient.request({isRefetching:n,payload:a,signal:i.signal});return o instanceof Promise?(e.packageEntityStateOrchestrator.setPackageEntityAbortController(r,i),o.then(u=>(e.packageEntityStateOrchestrator.setPackageEntityStateAfterSuccessResolve(r,u,n),u)).catch(u=>{throw e.packageEntityStateOrchestrator.setPackageEntityStateAfterErrorResolve(r,u),u}).finally(()=>{e.packageEntityStateOrchestrator.deletePackageEntityAbortController(r)})):(e.packageEntityStateOrchestrator.setPackageEntityStateAfterSuccessResolve(r,o,n),o)}}}
30class Ss extends Error{application;kind;language;name="LocalizationTemplateFormatError";packageName;templateKey;constructor(t){const r=t.templateKey===void 0?"":`, template key "${t.templateKey}"`,n=t.kind==="primaryTemplate"?"Localized template":"Fallback template";super(`${n} failed to parse or format (application "${t.application}", package "${t.packageName}", language "${t.language}"${r})`,{cause:t.cause}),this.kind=t.kind,this.application=t.application,this.packageName=t.packageName,this.language=t.language,this.templateKey=t.templateKey}}class Yw extends Error{name="TemplateKeyNotFoundError";constructor(t,r,n,a){super(`Template key "${a}" not found for application "${t}", package "${r}", language "${n}"`)}}function Jw(e){return{getIntlPackageGetter:({packageEntity:r,packageEntityErrorStore:n,packageEntityFormattersStore:a,packageEntityKeyGetterStore:i})=>{const o=(c,l,f,d)=>{try{const h=e.parsingStrategy.createFormatter(c,r.language),v=h.format(l);return f!==void 0&&a.setPackageEntityFormatterForTemplateKey(r,f,h),v}catch(h){return n.setPackageEntityError(r,new Ss({application:r.application,cause:h,kind:"fallbackTemplate",language:r.language,packageName:r.package,templateKey:d})),c}},s=(c,l,f,d,h)=>{const v=h?.fallback;try{const p=l??e.parsingStrategy.createFormatter(c,r.language),m=p.format(d);return l||a.setPackageEntityFormatterForTemplateKey(r,f,p),m}catch(p){return n.setPackageEntityError(r,new Ss({application:r.application,cause:p,kind:"primaryTemplate",language:r.language,packageName:r.package,templateKey:f})),v===void 0?f:o(v,d,f,f)}};return new Proxy({},{get(c,l){if(!(typeof l!="string"||l==="then"||l==="catch"))return(f,d)=>{const h=l,v=f??{};try{const m=i.getPackageEntityKeyGetter(r)?.(h);if(m===void 0)return d?.fallback===void 0?(n.setPackageEntityError(r,new Yw(r.application,r.package,r.language,h)),h):(d.fallbackWarn&&console.warn(`${r.application} ${r.package} ${r.language} template key ${h} not found`),o(d.fallback,v,void 0,h));const y=a.getPackageEntityFormatterForTemplateKey(r,h);return s(m,y,h,v,d)}catch(p){return n.setPackageEntityError(r,new Ss({application:r.application,cause:p,kind:"primaryTemplate",language:r.language,packageName:r.package,templateKey:h})),d?.fallback??h}}}})}}}function Ng(e){const t=e.httpClient,r=e.parsingStrategy,n=Jw({parsingStrategy:r}),a=Qw({intlPackageGetterResolver:n}),i=Xw({httpClient:t,packageEntityStateOrchestrator:a}),o=zw({packageEntityRepository:i,packageEntityStateOrchestrator:a});return{deletePackageEntitiesForApplication:m=>{o.cancelRequestsForApplication(m),a.deletePackageEntitiesForApplication(m)},deletePackageEntitiesForLanguage:m=>{o.cancelRequestsForLanguage(m),a.deletePackageEntitiesForLanguage(m)},destroy:()=>{a.clearStoresListeners(),o.cancelRequests()},getPackageEntity:async(m,y,g)=>{const E={application:m,language:g,package:y};a.addUsedPackageEntity(E);const b=a.getPendingPackageEntityPromise(E),S=a.getPackageEntityState(E);if(b)return b.promise;if(S)if(S.error){const _=o.resolvePackageEntity(E,!1);return _.sync?_.intlGetter:_.promise}else return S.intlGetter;const R=o.resolvePackageEntity(E,!1);return R.sync?R.intlGetter:R.promise},getStoredApplications:()=>{const y=a.getAllExistingPackageEntities().map(g=>g.application);return kv(y)},getStoredLanguages:()=>{const y=a.getAllExistingPackageEntities().map(g=>g.language);return kv(y)},getStoredPackageEntities:()=>a.getAllExistingPackageEntities(),getStores:()=>a.getStores(),refetch:async(m,y,g)=>{if(m&&y&&g){const E={application:m,language:g,package:y},b=a.getPendingPackageEntityPromise(E);if(b)await b.promise;else{const S=o.resolvePackageEntity(E,!0);S.sync||await S.promise}}else{const E=a.getPackageEntitiesForRefetch(),b=[];for(const S of E){const R=o.resolvePackageEntity(S,!0);R.sync||b.push(R.promise)}await Promise.all(b)}}}}const Zw="__ONE_TRANSLATIONS__",eT=typeof window>"u";function tT(e){eT||(window[Zw]=e)}function rT(){const e=Lg(),t=jw(e);return{createFormatter:(n,a)=>new Ku(n,a,void 0,{formatters:t,ignoreTag:!0})}}class Dg extends Error{name="NoInjectionContextError";constructor(){super("The hook cannot be used outside of a component")}}const Mg="__ONE_TRANSLATIONS_CLIENT__",qg="__ONE_TRANSLATIONS_LANGUAGE__";
30class nT extends Error{name="ClientNotFoundError";constructor(){super("Client not found. Make sure you have enabled the plugin")}}function aT(){if(!wt())throw new Dg;const e=Fe(Mg);if(!e)throw new nT;return e}function Ps({currentPackageEntityError:e,currentPackageEntityIntlGetter:t}){return e?"error":t?"loaded":"idle"}const Wv=new Proxy({},{get(){return()=>""},getOwnPropertyDescriptor(){},has(){return!1},ownKeys(){return[]}});function iT(){if(!wt())throw new Dg;return Fe(qg)}function oT(e){function t(r,n){const a=aT(),i=a.getStores(),o=iT(),s=n?.fetch??"immediate",u=j(()=>n?.overridedLangauge??o.value),c=j(()=>se({application:e,language:u.value,package:r})),l=i.packageEntityErrorStore.state[c.value],f=i.intlPackageGetterStore.state[c.value],d=l!==void 0||f!==void 0,h=B(f??Wv),v=Te(l),p=Te(Ps({currentPackageEntityError:l,currentPackageEntityIntlGetter:f})),m=j(()=>p.value==="loading"||p.value==="refetching"),y=j(()=>p.value==="idle"||p.value==="loading"),g=j(()=>p.value==="error"),E=j(()=>p.value==="loaded"),b=Te(Promise.withResolvers()),S=Te(d?"resolved":"pending");b.value.promise.catch(()=>{}),d&&b.value.resolve();const R=()=>{S.value!=="pending"&&(b.value=Promise.withResolvers(),S.value="pending",b.value.promise.catch(()=>{}))},_=()=>{const w=c.value,x=i.packageEntityErrorStore.state[w],k=i.intlPackageGetterStore.state[w];v.value=x,p.value=Ps({currentPackageEntityError:x,currentPackageEntityIntlGetter:k})},I=i.intlPackageGetterStore.subscribe(w=>{const x=c.value;w.prevVal[x]!==w.currentVal[x]&&(w.currentVal[x]!==void 0&&(h.value=w.currentVal[x]),_())}),P=i.packageEntityErrorStore.subscribe(w=>{const x=c.value;w.prevVal[x]!==w.currentVal[x]&&_()}),C=()=>{R();const w=b.value,x=u.value;p.value="loading",a.getPackageEntity(e,r,x).then(()=>{x===u.value&&(_(),S.value==="pending"&&b.value===w&&(b.value.resolve(),S.value="resolved"))}).catch(k=>{x===u.value&&(p.value="error",S.value==="pending"&&b.value===w&&(b.value.reject(k),S.value="rejected"))})},A=()=>{const w=p.value;return w!=="loading"&&w!=="refetching"&&C(),b.value.promise},L=()=>{R();const w=b.value,x=u.value;p.value="refetching",a.refetch(e,r,x).then(()=>{x===u.value&&(_(),S.value==="pending"&&b.value===w&&(b.value.resolve(),S.value="resolved"))}).catch(k=>{x===u.value&&(p.value="error",S.value==="pending"&&b.value===w&&(b.value.reject(k),S.value="rejected"))})},T=()=>b.value.promise;return!d&&s==="immediate"&&C(),W(u,()=>{const w=i.packageEntityErrorStore.state[c.value],x=i.intlPackageGetterStore.state[c.value],k=w!==void 0||x!==void 0;x!==void 0?h.value=x:w===void 0&&(h.value=Wv),v.value=w,p.value=Ps({currentPackageEntityError:w,currentPackageEntityIntlGetter:x}),k?(R(),b.value.resolve(),S.value="resolved"):s==="immediate"?C():R()}),fn(()=>{I(),P()}),{error:v,isError:g,isLoaded:E,isLoading:m,isPending:y,load:A,messages:h,refetch:L,state:p,suspense:T}}return t}const sT={install(e,t){let r=null;"client"in t?r=t.client:r=Ng(t.options),tT(r);const n=Ie(t.language)?t.language:Te(t.language);e.provide(Mg,r),e.provide(qg,n),W(n,(a,i)=>{r.deletePackageEntitiesForLanguage(i)})}},uT=()=>"";new Proxy({},{get:()=>uT,set:()=>!1});const cT={"az-Latn-AZ":"az-AZ","uz-Latn-UZ":"uz-UZ","zh-Hans-CN":"zh-CN"};Object.fromEntries(Object.entries(cT).map(([e,t])=>[t,e]));const lT=new Set(["ar","ur"]),Bg=e=>{const{language:t}=new Intl.Locale(e);return lT.has(t)?"rtl":"ltr"},sn=Symbol();dt((e,{slots:t})=>{const r=Fe(sn),n={locale:Re(()=>e.locale),override:Re(()=>e.override??r?.override.value),buildMessage:e.buildMessage};return au(sn,n),()=>t.default?.({locale:n.locale.value,override:n.override.value,dir:Bg(n.locale.value)})},{props:["locale","override"]});const fT={install:(e,t)=>{e.provide(sn,{locale:Re(()=>F(t.locale)),override:Re(()=>F(t.override)),buildMessage:t.buildMessage})}},jg={extend:()=>jg,log:Ur,info:Ur,warn:Ur,error:Ur},at=window._onelog??jg;class KO{currentUserId=window.INITIAL_DATA.uid;send(t){let r={};const n={},i=Uu()?.partner_key;"eventProperties"in t&&t.eventProperties?r=t.eventProperties:"payload"in t&&t.payload&&(r=t.payload),i&&(n.partner_key=i),r.user_id?n.userId=r.user_id:this.currentUserId&&(n.userId=this.currentUserId);const o={name:`${t.eventCat}_${t.eventName}`,eventCat:t.eventCat,eventType:t.eventName,eventData:r||{},eventContext:n};window._onelogActivity.info(o)}setUserId(t){this.currentUserId=t}}const hT={timeout:5e3,retryCount:3},Ug="/api/translations/v1/{application}/{package}/{locale}.json?v={version}",Hg="frontend",Gg="tms",dT=(e,t,r,n)=>{at.warn({category:Gg,stream:e.owner,name:"tms_fetch_failure",message:"[tms] TMS fetch failed after all retries",params:[e.pkg,e.language,t,r,n??""]})},vT=(e,t)=>
30{at.warn({category:Gg,stream:e.owner,name:"tms_volume_unused",message:"[tms] TMS volume loaded but never used",params:[e.pkg,e.language,e.scope,t]})},dr=new Map,$g=(e,t,r)=>`${e}.${r}@${t}`,pT=(e,t,r,n,a,i)=>{if(!a||a<=0||n.length===0)return;const o=$g(e,t,r);if(dr.has(o))return;const s=`${e}.${r}`,u={used:!1,timer:setTimeout(()=>{u.used||vT({pkg:s,language:t,scope:e,owner:i},a),dr.delete(o)},a)};dr.set(o,u)},mT=(e,t,r)=>{if(dr.size===0)return;const n=dr.get($g(e,t,r));n&&(n.used=!0)},gT=(e,t,r,n,a,i)=>{let o=[],s;return j(()=>{const u=r.value,c=`${u}/${n}`,l=t.get(c),f=l??o;l&&l.length>0&&(o=l);const d=e.value;d&&!a.value&&(s=d);const h=s??d;let v=!1;return new Proxy(h??{},{get(p,m){if(m==="then"||m==="catch")return;v||(mT(i,u,n),v=!0);const y=h?.[m];return y||((E,b)=>b?.fallback??m)},ownKeys(){return[...f]},has(p,m){return typeof m=="string"&&f.includes(m)},getOwnPropertyDescriptor(p,m){if(!(typeof m!="string"||!f.includes(m)))return{configurable:!0,enumerable:!0}}})})},yT=e=>{const{tmsOptions:t,keysCache:r}=e,n=oT(t.application);return(a,i)=>{const o=`${t.scope}.${a}`,s=i?.loading?{fetch:i.loading}:void 0,{isLoading:u,isPending:c,suspense:l,load:f,messages:d}=n(o,s),h=Fe(sn);if(h===void 0)throw new Error("[TMS] I18nContext is missing. Install i18n plugin first.");const v=j(()=>h.locale.value.baseName),p=gT(d,r,v,a,c,t.scope);let m=!1;return i?.loading==="manual"&&W(v,()=>{m&&f()}),[p,{isPending:u,suspense:()=>l(),load:()=>(m=!0,f())}]}},Kt=new Map,bT=e=>{const t=Kt.get(e)||[];for(const r of t)r.abort();Kt.delete(e)},ET=(e,t)=>{Kt.has(e)||Kt.set(e,[]),Kt.get(e)?.push(t)},ST=(e,t)=>{const r=Kt.get(e);if(r){const n=r.indexOf(t);n!==-1&&r.splice(n,1)}},Wu=e=>e,PT=5,wT=e=>typeof e=="string"||i0(e),TT=e=>Array.isArray(e)&&e.length===PT&&e.every(t=>wT(t)),RT=new Set,IT=e=>{let t=e.defaultParams;for(const r of RT){let n;try{n=r({...e,defaultParams:t})}catch(a){console.warn("[error-params-transformer] transformer threw, falling back to defaults:",a);continue}if(!(n==null||n===t)){if(TT(n)){t=n;continue}console.warn("[error-params-transformer] expected 5 params (strings/numbers), received:",n)}}return t},Qv=e=>e?e instanceof Headers||Array.isArray(e)?Object.fromEntries(e):{...e}:{},Ys=(e,t)=>{const r={...e,...t};return r.headers={...Qv(e.headers),...Qv(t.headers)},r};class Vg extends Error{constructor(t){super("Failed to fetch",{cause:t})}}class Qu extends Error{status;response;constructor(t,r){super(),this.status=t,this.response=r}}class OT extends Qu{data;constructor(t,r){super(t),this.data=r}}const it={url:(e,t,r={})=>{const n=Object.entries(r),a=n.length>0?"?"+new URLSearchParams(n).toString():"";return`${e}${t}${a}`},body:e=>e===void 0?null:JSON.stringify(e),headers:()=>({"Content-Type":"application/json"}),fetch:async(e,t,r,{headers:n,body:a,query:i},o={},s=fetch,u)=>{const c=it.url(e,t,i),{onResponse:l,skipErrorEnvelope:f,...d}=o,h=Ys({method:r,headers:n,body:it.body(a)},d),[v,p,m]=await b0(s(c,h));if(!v)throw new Vg(m);l?.(p);const y=await p.json().catch(()=>p.statusText);if(!(f===!0&&p.ok)&&y instanceof Object&&"error"in y&&y.error!==!1)throw new OT(p.status,y.error);if(!p.ok)throw new Qu(p.status,JSON.stringify(y));return u(y)}},_T=(e,t)=>e.replaceAll("{application}",t.application).replaceAll("{package}",t.package).replaceAll("{locale}",t.locale).replaceAll("{version}",t.version),CT=(async(e,t,r,n)=>{const a=_T(t.urlTemplate,{application:t.application,package:t.package,locale:t.locale,version:globalThis.window?.buildConfig?.branch??""});return await it.fetch(e,a,"GET",{headers:it.headers(),query:{}},{...r,skipErrorEnvelope:!0},n,Wu)}),AT=[["etag","etag"],["date","date"],["last-modified","last_modified"],["cache-control","cache_control"],["age","age"],["cf-cache-status","cf_cache_status"]],xT=e=>{const t={};for(const[r,n]of AT){const a=e.headers.get(r);a!==null&&(t[n]=a)}return t},kT={urlTemplate:Ug},FT=async(e,t,r,n=Hg,a,i,o=kT)=>{const{timeout:s,retryCount:u}=r,c=performance.now(),l=Ar(s);let f,d,h=0,v;const p=m=>{v=xT(m)};for(let m=0;m<u;m++){if(a?.aborted)return{data:void 0,status:void 0,duration:performance.now()-c,lastAttemptDuration:h,attemptCount:m,responseHeaders:v};const y=performance.now();try{const g=new AbortController,E=setTimeout(()=>{g.abort()},s);a&&a.addEventListener("abort",()=>{g.abort()},{once:!0});const b=await CT("",{locale:t,package:e,application:n,urlTemplate:o.urlTemplate},{signal:g.signal,onResponse:p},i);return clearTimeout(E),h=performance.now()-y,typeof b!="object"||!b?{data:void 0,status:200,duration:performance.now()-c,lastAttemptDuration:h,attemptCount:m+1,responseBody:String(b).slice(0,500),responseHeaders:v}:{data:b,status:200,duration:performance.now()-c,lastAttemptDuration:h,attemptCount:m+1,responseHeaders:v}}catch(g){if(h=performance.now()-y,a?.aborted)return{data:void 0,status:void 0,duration:performance.now()-c,lastAttemptDuration:h,attemptCount:m+1,responseHeaders:v};d=g,g instanceof Qu?f=g.status:g instanceof Vg&&(f=void 0),m>=u-1||await a0(l.next().value)}}return{data:void 0,status:f,duration:performance.now()-c,lastAttemptDuration:h,attemptCount:u,error:d,responseHeaders:v}},un=new Map;let qt=hT;const WO=e=>{e&&(qt=e)};let Kg;const LT=e=>{Kg=e},NT=(e,t)=>{un.set(e,{keysCache:new Map,application:t.application,owner:t.owner})},DT=e=>{const t=un.get(e);if(!t)throw new Error(`[TMS] Scope "${e}" not registered. Call registerTranslations first.`);return t.keysCache},MT=(e,t,r)=>{e.has(t)||e.set(t,Object.keys(r))},qT=()=>({async request(e){const{package:t,language:r}=e.payload,n=t.indexOf(".");if(n===-1)throw new Error(`[TMS] Invalid package format: "${t}". Expected "scope.volumeName"`);const a=t.slice(0,n),i=t.slice(n+1),o=un.get(a);if(!o)throw new Error(`[TMS] Scope "${a}" not registered. Available scopes: ${[...un.keys()].join(", ")||"none"}`);const s=`${r}/${i}`,u=new AbortController;ET(r,u);try{const c=await FT(t,r,{timeout:qt.timeout??5e3,retryCount:qt.retryCount??3},o.application,e.signal??u.signal,Kg,{urlTemplate:qt.urlTemplate??Ug});if(c.data){const{data:l}=c;return MT(o.keysCache,s,l),qt.unusedTrackingExcludedPackages?.includes(t)||pT(a,r,i,o.keysCache.get(s)??[],qt.trackUnusedTimeout,o.owner),f=>l[f]}return dT({pkg:t,language:r,scope:a,owner:o.owner},c.duration,c.attemptCount,c.status),()=>{}}finally{ST(r,u)}}}),BT=e=>{const{scope:t,owner:r,application:n=Hg}=e;NT(t,{application:n,owner:r});const a=DT(t);return{useTranslations:yT({tmsOptions:{application:n,scope:t,owner:r},keysCache:a})}},zv=e=>typeof e=="string"?e:e.baseName,jT={install(e,t){t.fetchFn&&LT(t.fetchFn),e.use(sT,{client:Ng({httpClient:qT(),parsingStrategy:rT()}),language:j(()=>zv(t.language.value))}),W(t.language,(r,n)=>{n&&bT(zv(n))})}},Xv={},UT=e=>new Promise((t,r)=>{const n=document.createElement("link");n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n.addEventListener("load",()=>{n.setAttribute("is-loaded","true"),t()}),n.addEventListener("error",()=>{r(new Error(`Failed to load CSS: ${e}`))}),document.head.append(n)}),Wg=(e,t)=>{const r=Xv[e]||1;if(r>t.maxRetries){t.onCssFailure&&t.onCssFailure(e);return}t.onRetry&&t.onRetry(e,r);const n=t.initialInterval*Math.pow(1.25,r);setTimeout(()=>{UT(e).then(()=>{t.onCssRetrySuccess&&t.onCssRetrySuccess(e,r)}).catch(()=>{Xv[e]=r+1,Wg(e,t)})},n)},HT=e=>{const t=document.querySelectorAll('link[rel="stylesheet"]:not([is-loaded])');for(const r of t){const n=r.href;if(!n)return;let a=!1;try{const i=r.sheet;i==null?a=!0:i.cssRules,r.setAttribute("is-loaded","true")}catch{a||(r.remove(),Wg(n,e))}}},GT=/import\(["']([^)]+)['"]\)/,Js={},Zr={},Ne={offlineMessage:"No internet connection",disableCssRetry:!1,maxRetries:5,initialInterval:500},$T=e=>{Ne.offlineCallback&&Ne.offlineCallback(),e(new Error(Ne.offlineMessage))},VT=async(e,t)=>{const r=await __retry_dynamic_loader__(()=>import(t));return Js[e]=r,Zr[e]=1,r},KT=async e=>Js[e]?Js[e]:new Promise((t,r)=>{let n=0;if(Zr[e])return;const a=async o=>{if(n++,Zr[e]=n,n>Ne.maxRetries)throw Ne.onDynamicImportFailure&&Ne.onDynamicImportFailure(e),Zr[e]=1,o;Ne.onRetry&&Ne.onRetry(e,n);const s=Ne.initialInterval*Math.pow(1.25,n);setTimeout(i,s)},i=async()=>
30{if(!window.navigator.onLine){$T(r);return}const o=e.includes("?")?e+"&c="+n:e+"?c="+n,s=n===0?e:o;try{const u=await VT(e,s);t(u),Ne.onDynamicImportRetrySuccess&&n>0&&Ne.onDynamicImportRetrySuccess(e,n)}catch(u){a(u).catch(r)}};i()}),WT=e=>{let t;try{const n=e.toString().match(GT);n?.[1]&&(t=n[1])}catch{return}return t},QT=e=>(Object.assign(Ne,e),Ne),QO=(e={})=>{const t=QT(e);e.disableCssRetry||HT(t),window.__retry_dynamic_loader__=r=>new Promise((n,a)=>{const i=WT(r);i==null?r().then(n).catch(a):KT(i).then(n).catch(a)})},cn=Symbol(),Qg=()=>Fe(cn);dt({props:["locale","subdivisionLocaleId","timezoneLocaleId","entrypoint","fetchFn","queryConfig"],setup(e,{slots:t}){const r=Fe(cn);return au(cn,{locale:Re(()=>e.locale??r?.locale.value),subdivisionLocaleId:e.subdivisionLocaleId??r?.subdivisionLocaleId,timezoneLocaleId:Re(()=>e.timezoneLocaleId??r?.timezoneLocaleId.value),entrypoint:e.entrypoint??r?.entrypoint,fetchFn:e.fetchFn??r?.fetchFn,queryConfig:Re(()=>e.queryConfig??F(r?.queryConfig)??{})}),()=>t.default?.()}});const zT={install:(e,t)=>{e.provide(cn,{locale:Re(()=>F(t.locale)),subdivisionLocaleId:t.subdivisionLocaleId,timezoneLocaleId:Re(()=>F(t.timezoneLocaleId)),entrypoint:t.entrypoint,fetchFn:t.fetchFn,queryConfig:Re(()=>F(t.queryConfig)??{})})}},zt={UNIQ:"dC5seS9pTXUyWQ==",for:(e,t,r)=>[zt.UNIQ,e,t,r],metaOf:e=>e[1],scopeOf:e=>e[2],nameOf:e=>e[3],matcher:({scope:e,meta:t})=>{const r=[zt.UNIQ];return t!==void 0&&r.push(t),e!==void 0&&r.push(e),r}},XT=[zt.UNIQ,"__user_auth_status__"],YT=Rn(()=>{const{data:e}=vn({enabled:!1,queryKey:XT,initialData:!1});return eu(e)}),JT={"hi-Latn":"hien"},zg=(e,t)=>{const r=(e??t?.locale.value??new Intl.Locale("und").maximize()).language,n=(e??t?.locale.value??new Intl.Locale("und").maximize()).script,a=n?`-${n}`:"";return JT[`${r}${a}`]??r},Xg=(e,t,r)=>r?.timezoneCountryAware&&t?.timezoneLocaleId.value?t.timezoneLocaleId.value:r?.countrySubdivisionAware&&t?.subdivisionLocaleId?t.subdivisionLocaleId:e??0,Yg=(e,t)=>e?.entrypoint??t?.entrypoint??"",Jg=(e,t)=>e?.fetchFn??t?.fetchFn,zu=(e,t,r)=>{const n=Qg(),a=n?.queryConfig.value?.[r]??{},i=d=>()=>zg(F(d),n),o=(d,h)=>()=>Xg(F(d),n,h),s=d=>Yg(d,n),u=d=>Jg(d,n),c=(d,{signal:h})=>({signal:h,...d?.fetchOptions}),l=d=>d;return{options:{...t,...a},resolveLang:i,resolveLocaleId:o,resolveEntrypoint:s,resolveFetchFn:u,resolveFetchOptions:c,resolveArguments:l}},Xu=(e,t)=>{const r={...t};if(e.authorization==="required"){const n=YT();r.enabled=j(()=>(F(t?.enabled)??!0)&&n.value)}return{options:r}},zO=(e,t)=>{const r=Qg();return{options:t,resolveLang:u=>zg(u,r),resolveLocaleId:(u,c)=>Xg(u,r,c),resolveEntrypoint:u=>Yg(u,r),resolveFetchFn:u=>Jg(u,r),resolveFetchOptions:u=>u?.fetchOptions}},ZT="frontend/get-region",Zg="/web/v1/geo",Yu={authorization:"optional",tailoring:"none"},eR=async(e,t,r,n)=>await it.fetch(e,Zg,"GET",{headers:it.headers()},r,n,Wu),Ju="config",Zu=4,tR=zt.for(Yu,Ju,ZT),rR=Ar(3e4),nR={staleTime:Number.POSITIVE_INFINITY,refetchInterval:Number.POSITIVE_INFINITY,refetchOnWindowFocus:!1,refetchOnMount:!1,retryDelay:()=>rR.next().value,retry:e=>e<Zu},aR=(e,t)=>{const r=zu(Yu,{...nR,...e},Zg);return{...r.options,queryKey:[...tR],queryFn:n=>eR(r.resolveEntrypoint(t),void 0,r.resolveFetchOptions(t,n),r.resolveFetchFn(t))}},XO=(e,t)=>{const r=Xu(Yu,e);return vn(aR(r.options,t))},iR="frontend/get-locale-info",ey="/fss/socials",ec={authorization:"optional",tailoring:"none"},oR=async(e,t,r,n)=>await it.fetch(e,ey,"GET",{headers:it.headers(),...t.h?{query:{h:t.h}}:{}},r,n,Wu),sR=zt.for(ec,Ju,iR),uR=Ar(3e4),cR={staleTime:Number.POSITIVE_INFINITY,refetchInterval:Number.POSITIVE_INFINITY,refetchOnWindowFocus:!1,refetchOnMount:!1,retryDelay:()=>uR.next().value,retry:e=>e<Zu},lR=(e,t,r)=>{const n=zu(ec,{...cR,...t},ey);return{...n.options,queryKey:[...sR,{locale:n.resolveLang(e.locale),h:e.h}],queryFn:a=>oR(n.resolveEntrypoint(r),n.resolveArguments(a.queryKey[4]),n.resolveFetchOptions(r,a),n.resolveFetchFn(r)),select:a=>{const i=a.socials.map(o=>({brand:o.socialType,title:o.title,link:o.link}));return{phones:a.phones,socials:i}}}},YO=(e,t,r)=>{const n=Xu(ec,t);return vn(lR(e,n.options,r))},fR="frontend/get-template-service-config",hR="/web/v1/sdui",ty=`${window.INITIAL_DATA?.sduiConfig?.path??hR}/templates/by-types`,tc={authorization:"optional",tailoring:"none"},Yv=e=>e?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,r[0]])):{},dR=e=>e?Object.fromEntries(Object.entries(e).map(([t,r])=>{const n=r[0];return[t,n?.disabled===!0?void 0:n?.params]})):{},vR=async(e,t,r,n)=>it.fetch(e,ty,"GET",{headers:it.headers(),query:{...t.alias?{}:window.INITIAL_DATA?.sduiConfig?.hash?{h:window.INITIAL_DATA?.sduiConfig?.hash}:{id:window.INITIAL_DATA?.traceId},country:t.country,...t.subdivision?{subdivision:t.subdivision}:{},...t.alias?{alias:t.alias}
30:{},...t.ab?{ab:t.ab}:{}}},r,n,a=>({pages:Yv(a.pages),options:dR(a.options),shared:Yv(a.shared)})),pR=zt.for(tc,Ju,fR),mR=Ar(3e4),gR={retryDelay:()=>mR.next().value,retry:e=>e<Zu},yR=(e,t,r)=>{const n=zu(tc,{...gR,...t},ty);return{...n.options,queryKey:[...pR,{alias:e.alias,country:e.country,subdivision:e.subdivision,ab:e.ab}],queryFn:async a=>vR(n.resolveEntrypoint(r),n.resolveArguments(a.queryKey[4]),n.resolveFetchOptions(r,a),n.resolveFetchFn(r))}},bR=(e,t,r)=>{const n=Xu(tc,t);return vn(yR(e,n.options,r))},{useTranslations:ER}=BT({scope:"common",owner:zr}),SR=()=>{const e=Te(),t=Te();let r=0;return{pagePreviewRaw:e,pagePreviewVersion:t,setPagePreview:a=>{e.value=a,a?(r+=1,t.value=r):t.value=void 0}}};function Jv(e,t,r){const n=a=>{if(typeof a=="string")return t[a]?.(r)||a;if(typeof a!="object"||a===null)return a;if(Array.isArray(a))return a.map(o=>n(o));const i={};for(const o of Object.keys(a)){const s=a[o];o==="meta"?i[o]=s:typeof s=="string"?i[o]=t[s]?.(r)||s:typeof s=="object"&&s!==null?i[o]=n(s):i[o]=s}return i};return n(structuredClone(e))}const PR=nb("config",()=>{const[e,{suspense:t}]=ER("config"),a=new URLSearchParams(location.search).get("ts-alias")??void 0??void 0,{data:i,suspense:o}=bR({alias:a,country:window.INITIAL_DATA?.country,subdivision:window.INITIAL_DATA?.subdivision,ab:window.INITIAL_DATA?.ab?.encoded}),s=Te({});US(()=>i.value&&e.value,()=>{const d=Ut(i.value);Object.keys(e.value).length===0&&(s.value=d),s.value=Jv(d,e.value,{brand:d.options.moduleGeneral.brand,tokenBrand:d.options.moduleLandingTokenSale?.tokenBrand})});const{pagePreviewRaw:u,pagePreviewVersion:c,setPagePreview:l}=SR(),f=j(()=>{if(!u.value||!i.value||!e.value)return;const d=Ut(i.value);return Jv(Ut(u.value),e.value,{brand:d.options.moduleGeneral.brand,tokenBrand:d.options.moduleLandingTokenSale?.tokenBrand})});return{isReady:()=>Promise.all([o(),t()]),config:s,pagePreview:f,pagePreviewVersion:c,setPagePreview:l}}),JO=3,ZO=e=>Math.min(1e3*2**e,3e4),e_=e=>{const t={},r=hy(e,t),n=(o,s)=>{const u=t[o];t[o]=(...c)=>{u?.(...c),s(...c)}},a=Xt();return{app:r,addAppEventListener:n,runInAppContext:o=>r.runWithContext(()=>a.run(o)),appProps:t}},wR=e=>{const t=new Map;for(const r of e)r.decimals===void 0||!r.narrowSymbol||!r.symbol||t.set(r.code,{decimals:r.decimals,narrowSymbol:r.narrowSymbol,symbol:{default:r.symbol}});return t},ry=e=>{const t={...e};return e.numberingSystem===void 0&&(t.numberingSystem="latn"),e.style==="currency"&&e.roundingMode===void 0&&(t.roundingMode="floor"),t},ny=e=>{const t={...e,calendar:"gregory"};return e.numberingSystem===void 0&&(t.numberingSystem="latn"),t},t_=({app:e,locale:t,currencyDisplayModels:r})=>{const n=j(()=>wR(F(r)??[]));e.use(vP,{locale:t,currency:"USD",numberFormatOptions:ry,dateTimeFormatOptions:ny,customCurrencies:n})},r_=({app:e,locale:t})=>{const r={},n={ignoreTag:!0,formatters:{getNumberFormat:De((a,i)=>new nn(a,ry(i??{}))),getDateTimeFormat:De((a,i)=>new hg(a,ny(i??{}))),getPluralRules:De((a,i)=>new iP(a,i))}};e.use(fT,{locale:t,buildMessage:(a,i,o,s)=>{const u=`${a}/${o}`,c=r[u]??=new Ku(o,a,void 0,n);try{return c.format(s)}catch(l){return setTimeout(()=>{throw l}),""}}})},TR="Traceparent";function _t(){return window.__otelState||(window.__otelState={}),window.__otelState}const ln={getTraceId(){const e=_t();return e.operationTraceId??e.traceId},getOperationTraceId(){return _t().operationTraceId},setTraceId(e){_t().traceId=e},setContext(e){_t().operationTraceId=e.traceId},clearContext(){_t().operationTraceId=void 0},runWithTraceId(e,t){const r=_t(),n=r.operationTraceId;r.operationTraceId=e;try{return t()}finally{r.operationTraceId=n}}},RR=16,IR=8,Zv=new Uint8Array(RR),ep=new Uint8Array(IR),OR=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function tp(e){for(let t=0;t<e.length;t++)e[t]=Math.random()*256>>>0;for(let t=0;t<e.length;t++)if(e[t]>0)return;e[e.length-1]=1}function rp(e){let t="";for(let r=0;r<e.length;r++)t+=OR[e[r]];return t}class _R{generateTraceId(){return tp(Zv),rp(Zv)}generateSpanId(){return tp(ep),rp(ep)}}const ay=new _R;function rc(){return ay.generateTraceId()}function CR(){return ay.generateSpanId()}const AR="page-view-id";function xR(){const e=_t();return e.pageViewId||(e.pageViewId=ln.getTraceId()??rc()),e.pageViewId}function kR(e=rc(),t=!1){const n="0"+(t?"1":"0"),a=CR(),i=Object.create(null);return i[TR]=`00-${e}-${a}-${n}`,i[AR]=xR(),i}const FR="CLOUDFLARE_UNKNOWN",LR=(e,t)=>{if(e.headers.get("cf-mitigated")==="challenge")return"CLOUDFLARE_CHALLENGE";const r=t.toLowerCase();if(r.includes("cloudflare ray id:")||r.includes("ray id:"))return e.status>499&&e.status<600?`CLOUDFLARE_${e.status}`:t.includes("Sorry, you have been blocked")?"CLOUDFLARE_BLOCK":"CLOUDFLARE_UNKNOWN"},NR=()=>{const e=v0(),t={};return f0()&&(t.pwa=h0()),Fm()&&(t.isMobileApp="true"),e&&(t.platform=e),t},np="/api",n_="wa-4599-timezone-locale-id",DR=()=>{const{country:e,countryToLocaleId:t}=window.INITIAL_DATA;if(!t)return;const r=y0();if(!(!r||r===e))return t[r]},MR=(e,t)=>{if(!t&&e.status===200)return"EMPTY_RESPONSE";const r=LR(e,t);return r||(e.status===502||t.toLowerCase().includes("502 bad gateway")?"BAD_GATEWAY":"OTHER")},ap=e=>e>=400,qR=(e,t,r,n,a)=>{const i=t.headers.get("content-length")??"",o=t.statusText,s=MR(t,r),[u,c,l,f]=[e,t.status,n,s],d=ap(t.status)?[u,c,l]:void 0,h=IT({url:e,status:t.status,duration:n,traceId:a,body:r,defaultParams:d}),v=ap(t.status)||t.ok&&s!=="OTHER";!v&&!h||ln.runWithTraceId(a,()=>{v&&(s==="EMPTY_RESPONSE"?at.error({category:"api",name:"empty_response",params:[u,c,l,i,o]}):r.startsWith("<")?at.error({category:"api",name:"not_json_response",params:[u,c,l,f,o],message:["OTHER",FR].includes(s)?r:void 0}):!r.startsWith("{")&&!r.startsWith("[")&&at.error({category:"api",name:"not_json_response",params:[u,c,l,f,o],message:r.slice(0,500)})),h&&at.error({category:"api",name:"error_response",params:h,message:r})})},BR=async(e,t,r,n)=>{try{const a=await t.text();qR(e,t,a,r,n)}catch{}},jR=e=>e instanceof URL?e.toString():e instanceof Request?e.url:e,a_=({app:e,locale:t,queryConfig:r,forbiddenEndpoints:n,timezoneLocaleIdEnabled:a=!1})=>{const i=NR(),o=async(s,u)=>{const c=jR(s),l=new URL(c,document.location.origin).pathname;if(F(n)?.[l]===!0)return Response.error();const d=F(t).baseName,h=ln.getOperationTraceId()??rc(),v={...i,...kR(h),"Accept-Language":d,"X-Origin":window.location.host};let p=u;if(s instanceof Request){for(const[b,S]of Object.entries(v))s.headers.set(b,S);u?.headers!==void 0&&(p=Ys(u,{headers:v}))}else p=Ys(u??{},{headers:v});const m=Date.now(),y=await fetch(s,p),g=(Date.now()-m)/1e3,E=(()=>{try{return new URL(y.url).pathname.replaceAll(/\/\d+/g,"/{param}").replace(/\/api\/v1\/seotext.+/,"/api/v1/seotext").replace(/\/api\/translations\/v1\/.+/,"/api/translations/v1")}catch{return y.url}})();return ln.runWithTraceId(h,()=>{const b=[E,g,y.status];at.info({category:"api",name:"request",params:b})}),BR(E,y.clone(),g,h),y};return e.use(zT,{entrypoint:np,locale:t,subdivisionLocaleId:window.INITIAL_DATA.subdivisionLocaleId,timezoneLocaleId:j(()=>F(a)?DR():void 0),fetchFn:o,queryConfig:r}),{fetchFn:o,entrypoint:np}},i_=({app:e,locale:t,fetchFn:r})=>{e.use(jT,{language:t,fetchFn:r})},iy=Symbol("ui-kit"),UR={install(e,t){e.provide(iy,t)}},o_=()=>{const e=Fe(iy);if(!e)throw new Error("It appears the UIKitPlugin is missing. Make sure to install it.");return e},oy=Symbol("breakpoints"),HR={install:(e,t)=>
30{e.provide(oy,KS(t.breakpoints))}},sy=()=>Fe(oy,()=>{throw new Error("It appears the BreakpointsPlugin is missing. Make sure to install it.")},!0),GR=()=>sy().smaller("desktop-small"),s_=Rn(GR),$R=()=>sy().greaterOrEqual("desktop-small"),u_=Rn($R),VR=(e,t)=>{const r=e.__vccOpts||e;for(const[n,a]of t)r[n]=a;return r},KR=dt({__name:"color-scheme",props:{name:{}},setup(e){return(t,r)=>(dy(),vy("div",{class:py([t.$style.root,`colorScheme-${e.name}`])},[my(t.$slots,"default")],2))}}),WR="color-scheme_root-jGMem",QR={root:WR},zR={$style:QR},c_=VR(KR,[["__cssModules",zR]]),XR={mobile:0,tablet:768,"desktop-small":1024,"desktop-medium":1440,"desktop-large":1920},uy="fallback-route",YR=()=>{window.history.state===null&&window.history.replaceState({back:null,current:window.location.href,forward:null,position:window.history.length-1,replaced:!0,scroll:null},"")},JR=e=>{const t=yy(e);if(!e)return t;const r=n=>n==="/"?"":n;return new Proxy(t,{get(n,a,i){return a==="push"?(o,s)=>{n.push(r(o),s)}:a==="replace"?(o,s)=>{n.replace(r(o),s)}:Reflect.get(n,a,i)}})},l_=e=>{let t;YR();const r=gy({history:JR(e),routes:[{name:uy,path:"/:catchAll(.+)",redirect:"/"}],scrollBehavior(s,u,c){if(s.name!==u.name)return c||{top:0}}}),n=r.resolve.bind(r);r.resolve=(s,u)=>{try{return n(s,u)}catch(c){const l=c instanceof Error?c:new Error(String(c));return at.error({category:"router",name:"resolve_unknown_route",message:`${l.message}
31${l.stack}`,stream:zr}),n({path:"/unknown"},u)}};function a(s){return u=>{const c=typeof u=="object"&&"name"in u?u.name:void 0;return typeof c=="string"&&!r.hasRoute(c)?(at.error({category:"router",name:"navigate_unknown_route",message:`Unknown route: ${JSON.stringify(u)}`,stream:zr}),Promise.resolve()):s(u).catch(l=>{at.error({category:"router",name:"navigation_error",message:`${l.message}
32${l.stack}`,stream:zr})})}}return r.push=a(r.push.bind(r)),r.replace=a(r.replace.bind(r)),{router:r,goBack:async()=>{if(!(t?.()||await n0()))return window.history.state?.back?void r.go(-1):r.replace({path:"/"})},setupGoBackMiddleware:s=>{t=s}}},f_=({app:e,router:t,locale:r,messagesUIkit:n,customization:a,imgproxy:i,currentRoutePath:o,showScrollbar:s,logo:u,assets:c,staticSrc:l})=>{s&&window.document.documentElement.classList.add("showScrollbar");const f=d=>{if(t===void 0)return;const h=d.composedPath().find(v=>v instanceof HTMLAnchorElement);if(h instanceof HTMLAnchorElement){const{href:v,target:p}=h,m=new URL(v);if(m.hostname===document.location.hostname&&["","_self"].includes(p)){const E=m.pathname.split("/")[1];km(E)?.minimize().baseName===F(r).minimize().baseName&&(m.pathname=m.pathname.replace(`/${E}`,""));const S={path:m.pathname,query:Object.fromEntries(m.searchParams.entries()),hash:m.hash},{matched:R}=t.resolve(S);R.length>0&&R[0]?.name!==uy&&(d.preventDefault(),t.push(S))}}};e.use(HR,{breakpoints:XR}),e.use(UR,{messages:n,customization:a,imgproxy:i,cdnUrl:"/resources/v1/app/",currentRoutePath:o,logo:u,assets:c,staticSrc:l,handleCustomHtmlClick:f})},ip="project_locale",ZR="user_set_locale",op=()=>{const e=location.pathname.split("/")[1];return km(e)},eI=(e,t,r,n)=>n?r?e.replace(/^\/[\w-]+/,"")||"/":e:r?e.replace(/^\/[\w-]+/,`/${t}`):`/${t}${e==="/"?"":e}`,h_=Rn(()=>{const e=Te(new Intl.Locale("en-001")),t=Yy(),r=(i,o)=>{e.value=o,Gt.set(ip,i,{expires:365});const s=document.querySelector("html");s.lang=i,s.dir=Bg(o)},n=(i,o=0,s=!1)=>{const u=new Intl.Locale(i);if(s){r(i,u);return}Gt.set(ZR,"1",{expires:365});const c=op(),f=PR(t).config.options.moduleGeneral.languages.exclusiveRootLang,d=c!==void 0;if(!d&&!f){r(i,u);return}setTimeout(()=>{const h=new URL(location.href),v=u.minimize().baseName,p=v==="en-001"?"en":v,m=!!f&&f===v;m&&Gt.set(ip,i,{expires:365}),h.pathname=eI(h.pathname,p,d,m),window.location.href=h.toString()},o)};return St({locale:e,setLocale:n,init:({locale:i})=>{n(i,0,!0);const s=op()?.minimize().baseName;if((s==="en"?"en-001":s)!==e.value.minimize().baseName)return;const c=location.pathname.split("/")[1];if(c&&s&&c!==s){const l=new URL(location.href);l.pathname=l.pathname.replace(c,s),window.history.replaceState(void 0,"",l.toString())}return`/${s}`}})});class tI{#e;#t;constructor({enabled:t,prefix:r}={}){this.#e=t??!1,this.#t=r??""}setEnabled(t){this.#e=t}#r(...t){this.#e&&console.log(...t)}info(...t){this.#r("\x1B[94m[info]",this.#t,...t)}error(...t){console.log("\x1B[31m[error]",this.#t,...t)}success(...t){this.#r("\x1B[32m[success]",this.#t,...t)}}const d_=new tI({enabled:!0});export{Gt as $,CO as A,it as B,_s as C,qO as D,E0 as E,Vg as F,An as G,GO as H,sn as I,VO as J,zt as K,dg as L,zP as M,nn as N,qs as O,lt as P,zy as Q,JO as R,Ju as S,n_ as T,ZR as U,lI as V,KO as W,$O as X,cp as Y,VR as Z,Y as _,OT as a,me as a$,SO as a0,PI as a1,XR as a2,NO as a3,K as a4,gc as a5,LI as a6,e_ as a7,mI as a8,gI as a9,p0 as aA,LO as aB,iI as aC,oI as aD,vr as aE,EI as aF,dc as aG,ym as aH,Fm as aI,Pt as aJ,RO as aK,_O as aL,mO as aM,EO as aN,i0 as aO,f0 as aP,u0 as aQ,Lm as aR,aI as aS,d_ as aT,ac as aU,ut as aV,Iv as aW,Ys as aX,n0 as aY,Wu as aZ,Ur as a_,yI as aa,bI as ab,hI as ac,N
32I as ad,l_ as ae,Rn as af,nb as ag,pO as ah,wO as ai,pI as aj,y0 as ak,vI as al,jy as am,OO as an,NR as ao,TO as ap,zO as aq,xr as ar,Uu as as,FO as at,kO as au,h0 as av,zu as aw,UO as ax,l0 as ay,IO as az,c_ as b,YO as b$,we as b0,bO as b1,xO as b2,DI as b3,yO as b4,r_ as b5,t_ as b6,a_ as b7,i_ as b8,f_ as b9,OI as bA,Xy as bB,sy as bC,KS as bD,MI as bE,PR as bF,Br as bG,fP as bH,JS as bI,hP as bJ,ku as bK,qI as bL,BI as bM,jI as bN,UI as bO,e0 as bP,ue as bQ,HI as bR,GI as bS,ZS as bT,_I as bU,Fu as bV,u_ as bW,s_ as bX,jO as bY,h_ as bZ,$I as b_,yv as ba,RS as bb,fI as bc,SI as bd,MS as be,wI as bf,hp as bg,QO as bh,pn as bi,WO as bj,BT as bk,Ts as bl,uc as bm,a0 as bn,dI as bo,TI as bp,RI as bq,gO as br,PO as bs,Em as bt,He as bu,km as bv,oe as bw,II as bx,vc as by,AO as bz,tI as c,Mt as c0,GS as c1,Cr as c2,VI as c3,pg as c4,WI as c5,vn as c6,Ky as c7,Xu as c8,rn as c9,US as cA,XO as ca,dP as cb,Am as cc,KI as cd,QI as ce,xm as cf,zI as cg,XI as ch,YI as ci,JI as cj,qS as ck,CI as cl,Rm as cm,ZI as cn,AI as co,ER as cp,o_ as cq,eO as cr,tO as cs,rO as ct,XT as cu,xI as cv,kI as cw,FI as cx,Im as cy,jS as cz,MO as d,hg as e,BO as f,Dy as g,ZO as h,cO as i,uO as j,sO as k,nO as l,aO as m,iO as n,hO as o,dO as p,oO as q,lO as r,vO as s,fO as t,zr as u,Qu as v,at as w,YS as x,gr as y,HO as z};
33(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".color-scheme_root-jGMem{display:contents}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();

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