UNPKG

@getontime/cli

Version:

Time keeping for live events

10 lines 108 kB
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`f14ad0099eab1969fdd065b56af5fdd3cf530de6`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e2a48a0d-e8b7-4e32-91c6-1865a85f203d`,e._sentryDebugIdIdentifier=`sentry-dbid-e2a48a0d-e8b7-4e32-91c6-1865a85f203d`)}catch{}})();import{a as e,i as t,n,t as r}from"./jsx-runtime-BNC90REB.js";var i=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(){}};function a(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function o(e,t,n){a(e,t),t.set(e,n)}function s(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function c(e,t,n){return e.set(s(e,t),n),n}function l(e,t){return e.get(s(e,t))}var u,d,f,p=new(u=new WeakMap,d=new WeakMap,f=new WeakMap,class extends i{constructor(){super(),o(this,u,void 0),o(this,d,void 0),o(this,f,void 0),c(f,this,e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}})}onSubscribe(){l(d,this)||this.setEventListener(l(f,this))}onUnsubscribe(){this.hasListeners()||(l(d,this)?.call(this),c(d,this,void 0))}setEventListener(e){c(f,this,e),l(d,this)?.call(this),c(d,this,e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()}))}setFocused(e){l(u,this)!==e&&(c(u,this,e),this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof l(u,this)==`boolean`?l(u,this):globalThis.document?.visibilityState!==`hidden`}}),m,h,g={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},_=new(m=new WeakMap,h=new WeakMap,class{constructor(){o(this,m,g),o(this,h,!1)}setTimeoutProvider(e){c(m,this,e)}setTimeout(e,t){return l(m,this).setTimeout(e,t)}clearTimeout(e){l(m,this).clearTimeout(e)}setInterval(e,t){return l(m,this).setInterval(e,t)}clearInterval(e){l(m,this).clearInterval(e)}});function v(e){setTimeout(e,0)}var ee=typeof window>`u`||`Deno`in globalThis;function y(){}function b(e,t){return typeof e==`function`?e(t):e}function x(e){return typeof e==`number`&&e>=0&&e!==1/0}function S(e,t){return Math.max(e+(t||0)-Date.now(),0)}function C(e,t){return typeof e==`function`?e(t):e}function w(e,t){return typeof e==`function`?e(t):e}function te(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==re(o,t.options))return!1}else if(!T(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function ne(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ie(t.options.mutationKey)!==ie(a))return!1}else if(!T(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function re(e,t){return(t?.queryKeyHashFn||ie)(e)}function ie(e){return JSON.stringify(e,(e,t)=>ae(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function T(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>T(e[n],t[n])):!1}var E=Object.prototype.hasOwnProperty;function D(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=k(e)&&k(t);if(!r&&!(ae(e)&&ae(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:E.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=D(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function O(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function k(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ae(e){if(!oe(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!oe(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function oe(e){return Object.prototype.toString.call(e)===`[object Object]`}function se(e){return new Promise(t=>{_.setTimeout(t,e)})}function A(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:D(e,t)}function ce(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function le(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var j=Symbol();function ue(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===j?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function de(e,t){return typeof e==`function`?e(...t):!!e}function fe(e,t,n){let r=!1,i;return Object.defineProperty(e,`signal`,{enumerable:!0,get:()=>(i??(i=t()),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var pe=(()=>{let e=()=>ee;return{isServer(){return e()},setIsServer(t){e=t}}})();function me(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var he=v;function ge(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=he,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var _e=ge(),ve,ye,be,xe=new(ve=new WeakMap,ye=new WeakMap,be=new WeakMap,class extends i{constructor(){super(),o(this,ve,!0),o(this,ye,void 0),o(this,be,void 0),c(be,this,e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}})}onSubscribe(){l(ye,this)||this.setEventListener(l(be,this))}onUnsubscribe(){this.hasListeners()||(l(ye,this)?.call(this),c(ye,this,void 0))}setEventListener(e){c(be,this,e),l(ye,this)?.call(this),c(ye,this,e(this.setOnline.bind(this)))}setOnline(e){l(ve,this)!==e&&(c(ve,this,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return l(ve,this)}});function Se(e){return Math.min(1e3*2**e,3e4)}function Ce(e){return(e??`online`)===`online`?xe.isOnline():!0}var we=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Te(e){let t=!1,n=0,r,i=me(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new we(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>p.isFocused()&&(e.networkMode===`always`||xe.isOnline())&&e.canRun(),u=()=>Ce(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},m=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),h=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(pe.isServer()?0:3),o=e.retryDelay??Se,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),se(s).then(()=>l()?void 0:m()).then(()=>{t?f(r):h()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?h():m().then(h),i)}}var Ee,De=(Ee=new WeakMap,class{constructor(){o(this,Ee,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),x(this.gcTime)&&c(Ee,this,_.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(pe.isServer()?1/0:300*1e3))}clearGcTimeout(){l(Ee,this)!==void 0&&(_.clearTimeout(l(Ee,this)),c(Ee,this,void 0))}});function Oe(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{fe(e,()=>t.signal,()=>n=!0)},u=ue(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?le:ce;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?Ae:ke,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:ke(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function ke(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Ae(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function je(e,t){a(e,t),t.add(e)}var Me,Ne,Pe,M,Fe,N,Ie,Le,P,Re=(Me=new WeakMap,Ne=new WeakMap,Pe=new WeakMap,M=new WeakMap,Fe=new WeakMap,N=new WeakMap,Ie=new WeakMap,Le=new WeakMap,P=new WeakSet,class extends De{constructor(e){super(),je(this,P),o(this,Me,void 0),o(this,Ne,void 0),o(this,Pe,void 0),o(this,M,void 0),o(this,Fe,void 0),o(this,N,void 0),o(this,Ie,void 0),o(this,Le,void 0),c(Le,this,!1),c(Ie,this,e.defaultOptions),this.setOptions(e.options),this.observers=[],c(Fe,this,e.client),c(M,this,l(Fe,this).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,c(Ne,this,He(this.options)),this.state=e.state??l(Ne,this),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return l(Me,this)}get promise(){return l(N,this)?.promise}setOptions(e){if(this.options={...l(Ie,this),...e},e?._type&&c(Me,this,e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=He(this.options);e.data!==void 0&&(this.setState(Ve(e.data,e.dataUpdatedAt)),c(Ne,this,e))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&l(M,this).remove(this)}setData(e,t){let n=A(this.state.data,e,this.options);return s(P,this,F).call(this,{data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){s(P,this,F).call(this,{type:`setState`,state:e})}cancel(e){let t=l(N,this)?.promise;return l(N,this)?.cancel(e),t?t.then(y).catch(y):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return l(Ne,this)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>w(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===j||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>C(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:!S(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),l(N,this)?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),l(N,this)?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),l(M,this).notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(l(N,this)&&(l(Le,this)||s(P,this,ze).call(this)?l(N,this).cancel({revert:!0}):l(N,this).cancelRetry()),this.scheduleGc()),l(M,this).notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||s(P,this,F).call(this,{type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&l(N,this)?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(l(N,this))return l(N,this).continueRetry(),l(N,this).promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,`signal`,{enumerable:!0,get:()=>(c(Le,this,!0),n.signal)})},i=()=>{let e=ue(this.options,t),n=(()=>{let e={client:l(Fe,this),queryKey:this.queryKey,meta:this.meta};return r(e),e})();return c(Le,this,!1),this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:l(Fe,this),state:this.state,fetchFn:i};return r(e),e})();(l(Me,this)===`infinite`?Oe(this.options.pages):this.options.behavior)?.onFetch(a,this),c(Pe,this,this.state),(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&s(P,this,F).call(this,{type:`fetch`,meta:a.fetchOptions?.meta}),c(N,this,Te({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof we&&e.revert&&this.setState({...l(Pe,this),fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{s(P,this,F).call(this,{type:`failed`,failureCount:e,error:t})},onPause:()=>{s(P,this,F).call(this,{type:`pause`})},onContinue:()=>{s(P,this,F).call(this,{type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}));try{let e=await l(N,this).start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),l(M,this).config.onSuccess?.(e,this),l(M,this).config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof we){if(e.silent)return l(N,this).promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw s(P,this,F).call(this,{type:`error`,error:e}),l(M,this).config.onError?.(e,this),l(M,this).config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}});function ze(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}function F(e){this.state=(t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Be(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...Ve(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return c(Pe,this,e.manual?n:void 0),n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}})(this.state),_e.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),l(M,this).notify({query:this,type:`updated`,action:e})})}function Be(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ce(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function Ve(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function He(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var I,L,Ue,R,We,Ge,z,B,Ke,qe,Je,Ye,Xe,V,Ze,H,Qe=(I=new WeakMap,L=new WeakMap,Ue=new WeakMap,R=new WeakMap,We=new WeakMap,Ge=new WeakMap,z=new WeakMap,B=new WeakMap,Ke=new WeakMap,qe=new WeakMap,Je=new WeakMap,Ye=new WeakMap,Xe=new WeakMap,V=new WeakMap,Ze=new WeakMap,H=new WeakSet,class extends i{constructor(e,t){super(),je(this,H),o(this,I,void 0),o(this,L,void 0),o(this,Ue,void 0),o(this,R,void 0),o(this,We,void 0),o(this,Ge,void 0),o(this,z,void 0),o(this,B,void 0),o(this,Ke,void 0),o(this,qe,void 0),o(this,Je,void 0),o(this,Ye,void 0),o(this,Xe,void 0),o(this,V,void 0),o(this,Ze,new Set),this.options=t,c(I,this,e),c(B,this,null),c(z,this,me()),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(l(L,this).addObserver(this),lt(l(L,this),this.options)?s(H,this,$e).call(this):this.updateResult(),s(H,this,rt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ut(l(L,this),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ut(l(L,this),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,s(H,this,it).call(this),s(H,this,at).call(this),l(L,this).removeObserver(this)}setOptions(e){let t=this.options,n=l(L,this);if(this.options=l(I,this).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof w(this.options.enabled,l(L,this))!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);s(H,this,ot).call(this),l(L,this).setOptions(this.options),t._defaulted&&!O(this.options,t)&&l(I,this).getQueryCache().notify({type:`observerOptionsUpdated`,query:l(L,this),observer:this});let r=this.hasListeners();r&&dt(l(L,this),n,this.options,t)&&s(H,this,$e).call(this),this.updateResult(),r&&(l(L,this)!==n||w(this.options.enabled,l(L,this))!==w(t.enabled,l(L,this))||C(this.options.staleTime,l(L,this))!==C(t.staleTime,l(L,this)))&&s(H,this,et).call(this);let i=s(H,this,tt).call(this);r&&(l(L,this)!==n||w(this.options.enabled,l(L,this))!==w(t.enabled,l(L,this))||i!==l(V,this))&&s(H,this,nt).call(this,i)}getOptimisticResult(e){let t=l(I,this).getQueryCache().build(l(I,this),e),n=this.createResult(t,e);return pt(this,n)&&(c(R,this,n),c(Ge,this,this.options),c(We,this,l(L,this).state)),n}getCurrentResult(){return l(R,this)}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&l(z,this).status===`pending`&&l(z,this).reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){l(Ze,this).add(e)}getCurrentQuery(){return l(L,this)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=l(I,this).defaultQueryOptions(e),n=l(I,this).getQueryCache().build(l(I,this),t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return s(H,this,$e).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),l(R,this)))}createResult(e,t){let n=l(L,this),r=this.options,i=l(R,this),a=l(We,this),o=l(Ge,this),s=e===n?l(Ue,this):e.state,{state:u}=e,d={...u},f=!1,p;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&lt(e,t),o=i&&dt(e,n,t,r);(a||o)&&(d={...d,...Be(u.data,e.options)}),t._optimisticResults===`isRestoring`&&(d.fetchStatus=`idle`)}let{error:m,errorUpdatedAt:h,status:g}=d;p=d.data;let _=!1;if(t.placeholderData!==void 0&&p===void 0&&g===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,_=!0):e=typeof t.placeholderData==`function`?t.placeholderData(l(Je,this)?.state.data,l(Je,this)):t.placeholderData,e!==void 0&&(g=`success`,p=A(i?.data,e,t),f=!0)}if(t.select&&p!==void 0&&!_)if(i&&p===a?.data&&t.select===l(Ke,this))p=l(qe,this);else try{c(Ke,this,t.select),p=t.select(p),p=A(i?.data,p,t),c(qe,this,p),c(B,this,null)}catch(e){c(B,this,e)}l(B,this)&&(m=l(B,this),p=l(qe,this),h=Date.now(),g=`error`);let v=d.fetchStatus===`fetching`,ee=g===`pending`,y=g===`error`,b=ee&&v,x=p!==void 0,S={status:g,fetchStatus:d.fetchStatus,isPending:ee,isSuccess:g===`success`,isError:y,isInitialLoading:b,isLoading:b,data:p,dataUpdatedAt:d.dataUpdatedAt,error:m,errorUpdatedAt:h,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:d.dataUpdateCount>s.dataUpdateCount||d.errorUpdateCount>s.errorUpdateCount,isFetching:v,isRefetching:v&&!ee,isLoadingError:y&&!x,isPaused:d.fetchStatus===`paused`,isPlaceholderData:f,isRefetchError:y&&x,isStale:ft(e,t),refetch:this.refetch,promise:l(z,this),isEnabled:w(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=S.data!==void 0,r=S.status===`error`&&!t,i=e=>{r?e.reject(S.error):t&&e.resolve(S.data)},a=()=>{i(c(z,this,S.promise=me()))},o=l(z,this);switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||S.data!==o.value)&&a();break;case`rejected`:(!r||S.error!==o.reason)&&a();break}}return S}updateResult(){let e=l(R,this),t=this.createResult(l(L,this),this.options);c(We,this,l(L,this).state),c(Ge,this,this.options),l(We,this).data!==void 0&&c(Je,this,l(L,this)),!O(t,e)&&(c(R,this,t),s(H,this,st).call(this,{listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!l(Ze,this).size)return!0;let r=new Set(n??l(Ze,this));return this.options.throwOnError&&r.add(`error`),Object.keys(l(R,this)).some(t=>{let n=t;return l(R,this)[n]!==e[n]&&r.has(n)})})()}))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&s(H,this,rt).call(this)}});function $e(e){s(H,this,ot).call(this);let t=l(L,this).fetch(this.options,e);return e?.throwOnError||(t=t.catch(y)),t}function et(){s(H,this,it).call(this);let e=C(this.options.staleTime,l(L,this));if(pe.isServer()||l(R,this).isStale||!x(e))return;let t=S(l(R,this).dataUpdatedAt,e)+1;c(Ye,this,_.setTimeout(()=>{l(R,this).isStale||this.updateResult()},t))}function tt(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(l(L,this)):this.options.refetchInterval)??!1}function nt(e){s(H,this,at).call(this),c(V,this,e),!(pe.isServer()||w(this.options.enabled,l(L,this))===!1||!x(l(V,this))||l(V,this)===0)&&c(Xe,this,_.setInterval(()=>{(this.options.refetchIntervalInBackground||p.isFocused())&&s(H,this,$e).call(this)},l(V,this)))}function rt(){s(H,this,et).call(this),s(H,this,nt).call(this,s(H,this,tt).call(this))}function it(){l(Ye,this)!==void 0&&(_.clearTimeout(l(Ye,this)),c(Ye,this,void 0))}function at(){l(Xe,this)!==void 0&&(_.clearInterval(l(Xe,this)),c(Xe,this,void 0))}function ot(){let e=l(I,this).getQueryCache().build(l(I,this),this.options);if(e===l(L,this))return;let t=l(L,this);c(L,this,e),c(Ue,this,e.state),this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}function st(e){_e.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(l(R,this))}),l(I,this).getQueryCache().notify({query:l(L,this),type:`observerResultsUpdated`})})}function ct(e,t){return w(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&w(t.retryOnMount,e)===!1)}function lt(e,t){return ct(e,t)||e.state.data!==void 0&&ut(e,t,t.refetchOnMount)}function ut(e,t,n){if(w(t.enabled,e)!==!1&&C(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&ft(e,t)}return!1}function dt(e,t,n,r){return(e!==t||w(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&ft(e,n)}function ft(e,t){return w(t.enabled,e)!==!1&&e.isStaleByTime(C(t.staleTime,e))}function pt(e,t){return!O(e.getCurrentResult(),t)}var U=e(n(),1),mt=r(),ht=U.createContext(void 0),gt=e=>{let t=U.useContext(ht);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},_t=({client:e,children:t})=>(U.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,mt.jsx)(ht.Provider,{value:e,children:t})),vt=U.createContext(!1),yt=()=>U.useContext(vt);vt.Provider;function bt(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var xt=U.createContext(bt()),St=()=>U.useContext(xt),Ct=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?de(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},wt=e=>{U.useEffect(()=>{e.clearReset()},[e])},Tt=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||de(n,[e.error,r])),Et=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},Dt=(e,t)=>e.isLoading&&e.isFetching&&!t,Ot=(e,t)=>e?.suspense&&t.isPending,kt=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function At(e,t,n){let r=yt(),i=St(),a=gt(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash),c=e.subscribed!==!1;o._optimisticResults=r?`isRestoring`:c?`optimistic`:void 0,Et(o),Ct(o,i,s),wt(i);let l=!a.getQueryCache().get(o.queryHash),[u]=U.useState(()=>new t(a,o)),d=u.getOptimisticResult(o),f=!r&&c;if(U.useSyncExternalStore(U.useCallback(e=>{let t=f?u.subscribe(_e.batchCalls(e)):y;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),U.useEffect(()=>{u.setOptions(o)},[o,u]),Ot(o,d))throw kt(o,u,i);if(Tt({result:d,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw d.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,d),o.experimental_prefetchInRender&&!pe.isServer()&&Dt(d,r)&&(l?kt(o,u,i):s?.promise)?.catch(y).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?d:u.trackResult(d)}function jt(e,t){return At(e,Qe,t)}function Mt(e,t){return function(){return e.apply(t,arguments)}}var{toString:Nt}=Object.prototype,{getPrototypeOf:Pt}=Object,{iterator:Ft,toStringTag:It}=Symbol,Lt=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Rt=(e,t)=>{let n=e,r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),Lt(n,t))return!0;n=Pt(n)}return!1},zt=(e,t)=>e!=null&&Rt(e,t)?e[t]:void 0,Bt=(e=>t=>{let n=Nt.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),W=e=>(e=e.toLowerCase(),t=>Bt(t)===e),Vt=e=>t=>typeof t===e,{isArray:G}=Array,Ht=Vt(`undefined`);function Ut(e){return e!==null&&!Ht(e)&&e.constructor!==null&&!Ht(e.constructor)&&K(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var Wt=W(`ArrayBuffer`);function Gt(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Wt(e.buffer),t}var Kt=Vt(`string`),K=Vt(`function`),qt=Vt(`number`),Jt=e=>typeof e==`object`&&!!e,Yt=e=>e===!0||e===!1,Xt=e=>{if(!Jt(e))return!1;let t=Pt(e);return(t===null||t===Object.prototype||Pt(t)===null)&&!Rt(e,It)&&!Rt(e,Ft)},Zt=e=>{if(!Jt(e)||Ut(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Qt=W(`Date`),$t=W(`File`),en=e=>!!(e&&e.uri!==void 0),tn=e=>e&&e.getParts!==void 0,nn=W(`Blob`),rn=W(`FileList`),an=e=>Jt(e)&&K(e.pipe);function on(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var sn=on(),cn=sn.FormData===void 0?void 0:sn.FormData,ln=e=>{if(!e)return!1;if(cn&&e instanceof cn)return!0;let t=Pt(e);if(!t||t===Object.prototype||!K(e.append))return!1;let n=Bt(e);return n===`formdata`||n===`object`&&K(e.toString)&&e.toString()===`[object FormData]`},un=W(`URLSearchParams`),[dn,fn,pn,mn]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(W),hn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function gn(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),G(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(Ut(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function _n(e,t){if(Ut(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}var vn=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,yn=e=>!Ht(e)&&e!==vn;function bn(...e){let{caseless:t,skipUndefined:n}=yn(this)&&this||{},r={},i=(e,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=t&&typeof i==`string`&&_n(r,i)||i,o=Lt(r,a)?r[a]:void 0;Xt(o)&&Xt(e)?r[a]=bn(o,e):Xt(e)?r[a]=bn({},e):G(e)?r[a]=e.slice():(!n||!Ht(e))&&(r[a]=e)};for(let t=0,n=e.length;t<n;t++){let n=e[t];if(!n||Ut(n)||(gn(n,i),typeof n!=`object`||G(n)))continue;let r=Object.getOwnPropertySymbols(n);for(let e=0;e<r.length;e++){let t=r[e];Mn.call(n,t)&&i(n[t],t)}}return r}var xn=(e,t,n,{allOwnKeys:r}={})=>(gn(t,(t,r)=>{n&&K(t)?Object.defineProperty(e,r,{__proto__:null,value:Mt(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),Sn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Cn=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,`constructor`,{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,`super`,{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},wn=(e,t,n,r)=>{let i,a,o,s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Pt(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Tn=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},En=e=>{if(!e)return null;if(G(e))return e;let t=e.length;if(!qt(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},Dn=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&Pt(Uint8Array)),On=(e,t)=>{let n=(e&&e[Ft]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},kn=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},An=W(`HTMLFormElement`),jn=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),{propertyIsEnumerable:Mn}=Object.prototype,Nn=W(`RegExp`),Pn=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};gn(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},Fn=e=>{Pn(e,(t,n)=>{if(K(e)&&[`arguments`,`caller`,`callee`].includes(n))return!1;let r=e[n];if(K(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)})}})},In=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return G(e)?r(e):r(String(e).split(t)),n},Ln=()=>{},Rn=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function zn(e){return!!(e&&K(e.append)&&e[It]===`FormData`&&e[Ft])}var Bn=e=>{let t=new WeakSet,n=e=>{if(Jt(e)){if(t.has(e))return;if(Ut(e))return e;if(!(`toJSON`in e)){t.add(e);let r=G(e)?[]:{};return gn(e,(e,t)=>{let i=n(e);!Ht(i)&&(r[t]=i)}),t.delete(e),r}}return e};return n(e)},Vn=W(`AsyncFunction`),Hn=e=>e&&(Jt(e)||K(e))&&K(e.then)&&K(e.catch),Un=((e,t)=>e?setImmediate:t?((e,t)=>(vn.addEventListener(`message`,({source:n,data:r})=>{n===vn&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),vn.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,K(vn.postMessage)),Wn=typeof queueMicrotask<`u`?queueMicrotask.bind(vn):typeof process<`u`&&process.nextTick||Un,Gn=e=>e!=null&&K(e[Ft]),q={isArray:G,isArrayBuffer:Wt,isBuffer:Ut,isFormData:ln,isArrayBufferView:Gt,isString:Kt,isNumber:qt,isBoolean:Yt,isObject:Jt,isPlainObject:Xt,isEmptyObject:Zt,isReadableStream:dn,isRequest:fn,isResponse:pn,isHeaders:mn,isUndefined:Ht,isDate:Qt,isFile:$t,isReactNativeBlob:en,isReactNative:tn,isBlob:nn,isRegExp:Nn,isFunction:K,isStream:an,isURLSearchParams:un,isTypedArray:Dn,isFileList:rn,forEach:gn,merge:bn,extend:xn,trim:hn,stripBOM:Sn,inherits:Cn,toFlatObject:wn,kindOf:Bt,kindOfTest:W,endsWith:Tn,toArray:En,forEachEntry:On,matchAll:kn,isHTMLForm:An,hasOwnProperty:Lt,hasOwnProp:Lt,hasOwnInPrototypeChain:Rt,getSafeProp:zt,reduceDescriptors:Pn,freezeMethods:Fn,toObjectSet:In,toCamelCase:jn,noop:Ln,toFiniteNumber:Rn,findKey:_n,global:vn,isContextDefined:yn,isSpecCompliantForm:zn,toJSONObject:Bn,isAsyncFn:Vn,isThenable:Hn,setImmediate:Un,asap:Wn,isIterable:Gn,isSafeIterable:e=>e!=null&&Rt(e,Ft)&&Gn(e)},Kn=q.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),qn=e=>{let t={},n,r,i;return e&&e.split(`
`).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!(!n||t[n]&&Kn[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t};function Jn(e){let t=0,n=e.length;for(;t<n;){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;n>t;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}var Yn=RegExp(`[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+`,`g`),Xn=RegExp(`[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+`,`g`);function Zn(e,t){return q.isArray(e)?e.map(e=>Zn(e,t)):Jn(String(e).replace(t,``))}var Qn=e=>Zn(e,Yn),$n=e=>Zn(e,Xn);function er(e){let t=Object.create(null);return q.forEach(e.toJSON(),(e,n)=>{t[n]=$n(e)}),t}var tr=Symbol(`internals`);function nr(e){return e&&String(e).trim().toLowerCase()}function rr(e){return e===!1||e==null?e:q.isArray(e)?e.map(rr):Qn(String(e))}function ir(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var ar=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function or(e,t,n,r,i){if(q.isFunction(r))return r.call(this,t,n);if(i&&(t=n),q.isString(t)){if(q.isString(r))return t.indexOf(r)!==-1;if(q.isRegExp(r))return r.test(t)}}function sr(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function cr(e,t){let n=q.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var J=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=nr(t);if(!i)return;let a=q.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=rr(e))}let a=(e,t)=>q.forEach(e,(e,n)=>i(e,n,t));if(q.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(q.isString(e)&&(e=e.trim())&&!ar(e))a(qn(e),t);else if(q.isObject(e)&&q.isSafeIterable(e)){let n=Object.create(null),r,i;for(let t of e){if(!q.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);i=t[0],q.hasOwnProp(n,i)?(r=n[i],n[i]=q.isArray(r)?[...r,t[1]]:[r,t[1]]):n[i]=t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=nr(e),e){let n=q.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return ir(e);if(q.isFunction(t))return t.call(this,e,n);if(q.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=nr(e),e){let n=q.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||or(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=nr(e),e){let i=q.findKey(n,e);i&&(!t||or(n,n[i],i,t))&&(delete n[i],r=!0)}}return q.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||or(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return q.forEach(this,(r,i)=>{let a=q.findKey(n,i);if(a){t[a]=rr(r),delete t[i];return}let o=e?sr(i):String(i).trim();o!==i&&delete t[i],t[o]=rr(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return q.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&q.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(`
`)}getSetCookie(){return this.get(`set-cookie`)||[]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[tr]=this[tr]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=nr(e);t[r]||(cr(n,e),t[r]=!0)}return q.isArray(e)?e.forEach(r):r(e),this}};J.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),q.reduceDescriptors(J.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),q.freezeMethods(J);var lr=`[REDACTED ****]`;function ur(e){if(q.hasOwnProp(e,`toJSON`))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(q.hasOwnProp(t,`toJSON`))return!0;t=Object.getPrototypeOf(t)}return!1}function dr(e,t){let n=new Set(t.map(e=>String(e).toLowerCase())),r=[],i=e=>{if(typeof e!=`object`||!e||q.isBuffer(e))return e;if(r.indexOf(e)!==-1)return;e instanceof J&&(e=e.toJSON()),r.push(e);let t;if(q.isArray(e))t=[],e.forEach((e,n)=>{let r=i(e);q.isUndefined(r)||(t[n]=r)});else{if(!q.isPlainObject(e)&&ur(e))return r.pop(),e;t=Object.create(null);for(let[r,a]of Object.entries(e)){let e=n.has(r.toLowerCase())?lr:i(a);q.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return i(e)}var Y=class e extends Error{static from(t,n,r,i,a,o){let s=new e(t.message,n||t.code,r,i,a);return s.cause=t,s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,`message`,{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){let e=this.config,t=e&&q.hasOwnProp(e,`redact`)?e.redact:void 0,n=q.isArray(t)&&t.length>0?dr(e,t):q.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};Y.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,Y.ERR_BAD_OPTION=`ERR_BAD_OPTION`,Y.ECONNABORTED=`ECONNABORTED`,Y.ETIMEDOUT=`ETIMEDOUT`,Y.ECONNREFUSED=`ECONNREFUSED`,Y.ERR_NETWORK=`ERR_NETWORK`,Y.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,Y.ERR_DEPRECATED=`ERR_DEPRECATED`,Y.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,Y.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,Y.ERR_CANCELED=`ERR_CANCELED`,Y.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,Y.ERR_INVALID_URL=`ERR_INVALID_URL`,Y.ERR_FORM_DATA_DEPTH_EXCEEDED=`ERR_FORM_DATA_DEPTH_EXCEEDED`;function fr(e){return q.isPlainObject(e)||q.isArray(e)}function pr(e){return q.endsWith(e,`[]`)?e.slice(0,-2):e}function mr(e,t,n){return e?e.concat(t).map(function(e,t){return e=pr(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function hr(e){return q.isArray(e)&&!e.some(fr)}var gr=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function _r(e,t,n){if(!q.isObject(e))throw TypeError(`target must be an object`);t=t||new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!q.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||m,a=n.dots,o=n.indexes,s=n.Blob||typeof Blob<`u`&&Blob,c=n.maxDepth===void 0?100:n.maxDepth,l=s&&q.isSpecCompliantForm(t),u=[];if(!q.isFunction(i))throw TypeError(`visitor must be a function`);function d(e){if(e===null)return``;if(q.isDate(e))return e.toISOString();if(q.isBoolean(e))return e.toString();if(!l&&q.isBlob(e))throw new Y(`Blob is not supported. Use a Buffer instead.`);return q.isArrayBuffer(e)||q.isTypedArray(e)?l&&typeof Blob==`function`?new Blob([e]):Buffer.from(e):e}function f(e){if(e>c)throw new Y(`Object is too deeply nested (`+e+` levels). Max depth: `+c,Y.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,t){if(c===1/0)return JSON.stringify(e);let n=[];return JSON.stringify(e,function(e,r){if(!q.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),f(t+n.length-1),r})}function m(e,n,i){let s=e;if(q.isReactNative(t)&&q.isReactNativeBlob(e))return t.append(mr(i,n,a),d(e)),!1;if(e&&!i&&typeof e==`object`){if(q.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=p(e,1);else if(q.isArray(e)&&hr(e)||(q.isFileList(e)||q.endsWith(n,`[]`))&&(s=q.toArray(e)))return n=pr(n),s.forEach(function(e,r){!(q.isUndefined(e)||e===null)&&t.append(o===!0?mr([n],r,a):o===null?n:n+`[]`,d(e))}),!1}return fr(e)?!0:(t.append(mr(i,n,a),d(e)),!1)}let h=Object.assign(gr,{defaultVisitor:m,convertValue:d,isVisitable:fr});function g(e,n,r=0){if(!q.isUndefined(e)){if(f(r),u.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));u.push(e),q.forEach(e,function(e,a){(!(q.isUndefined(e)||e===null)&&i.call(t,e,q.isString(a)?a.trim():a,n,h))===!0&&g(e,n?n.concat(a):[a],r+1)}),u.pop()}}if(!q.isObject(e))throw TypeError(`data must be an object`);return g(e),t}function vr(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function yr(e,t){this._pairs=[],e&&_r(e,this,t)}var br=yr.prototype;br.append=function(e,t){this._pairs.push([e,t])},br.toString=function(e){let t=e?function(t){return e.call(this,t,vr)}:vr;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function xr(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function Sr(e,t,n){if(!t)return e;let r=q.isFunction(n)?{serialize:n}:n,i=q.getSafeProp(r,`encode`)||xr,a=q.getSafeProp(r,`serialize`),o;if(o=a?a(t,r):q.isURLSearchParams(t)?t.toString():new yr(t,r).toString(i),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var Cr=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,function(t){t!==null&&e(t)})}},wr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Tr={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:yr,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},Er=t({hasBrowserEnv:()=>Dr,hasStandardBrowserEnv:()=>kr,hasStandardBrowserWebWorkerEnv:()=>Ar,navigator:()=>Or,origin:()=>jr}),Dr=typeof window<`u`&&typeof document<`u`,Or=typeof navigator==`object`&&navigator||void 0,kr=Dr&&(!Or||[`ReactNative`,`NativeScript`,`NS`].indexOf(Or.product)<0),Ar=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,jr=Dr&&window.location.href||`http://localhost`,X={...Er,...Tr};function Mr(e,t){return _r(e,new X.classes.URLSearchParams,{visitor:function(e,t,n,r){return X.isNode&&q.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}var Nr=100;function Pr(e){if(e>Nr)throw new Y(`FormData field is too deeply nested (`+e+` levels). Max depth: `+Nr,Y.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Fr(e){let t=[],n=/\w+|\[(\w*)]/g,r;for(;(r=n.exec(e))!==null;)Pr(t.length),t.push(r[0]===`[]`?``:r[1]||r[0]);return t}function Ir(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function Lr(e){function t(e,n,r,i){Pr(i);let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&q.isArray(r)?r.length:a,s?(q.hasOwnProp(r,a)?r[a]=q.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o):((!q.hasOwnProp(r,a)||!q.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&q.isArray(r[a])&&(r[a]=Ir(r[a])),!o)}if(q.isFormData(e)&&q.isFunction(e.entries)){let n={};return q.forEachEntry(e,(e,r)=>{t(Fr(e),r,n,0)}),n}return null}var Rr=(e,t)=>e!=null&&q.hasOwnProp(e,t)?e[t]:void 0;function zr(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var Br={transitional:wr,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=q.isObject(e);if(i&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return r?JSON.stringify(Lr(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){let t=Rr(this,`formSerializer`);if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return Mr(e,t).toString();if((a=q.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let n=Rr(this,`env`),r=n&&n.FormData;return _r(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType(`application/json`,!1),zr(e)):e}],transformResponse:[function(e){let t=Rr(this,`transitional`)||Br.transitional,n=t&&t.forcedJSONParsing,r=Rr(this,`responseType`),i=r===`json`;if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!r||i)){let n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,Rr(this,`parseReviver`))}catch(e){if(n)throw e.name===`SyntaxError`?Y.from(e,Y.ERR_BAD_RESPONSE,this,null,Rr(this,`response`)):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:X.classes.FormData,Blob:X.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`],e=>{Br.headers[e]={}});function Vr(e,t){let n=this||Br,r=t||n,i=J.from(r.headers),a=r.data;return q.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Hr(e){return!!(e&&e.__CANCEL__)}var Ur=class extends Y{constructor(e,t,n){super(e??`canceled`,Y.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function Wr(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Y(`Request failed with status code `+n.status,n.status>=400&&n.status<500?Y.ERR_BAD_REQUEST:Y.ERR_BAD_RESPONSE,n.config,n.request,n))}function Gr(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||``}function Kr(e,t){e=e||10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||(o=c),n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}function qr(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&(clearTimeout(a),a=null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||(a=setTimeout(()=>{a=null,o(i)},r-s)))},()=>i&&o(i)]}var Jr=(e,t,n=3)=>{let r=0,i=Kr(50,250);return qr(n=>{if(!n||typeof n.loaded!=`number`)return;let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=o==null?a:Math.min(a,o),c=Math.max(0,s-r),l=i(c);r=Math.max(r,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o?(o-s)/l:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},Yr=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Xr=e=>(...t)=>q.asap(()=>e(...t)),Zr=X.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,X.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(X.origin),X.navigator&&/(msie|trident)/i.test(X.navigator.userAgent)):()=>!0,Qr=X.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];q.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),q.isString(r)&&s.push(`path=${r}`),q.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),q.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.split(`;`);for(let n=0;n<t.length;n++){let r=t[n].replace(/^\s+/,``),i=r.indexOf(`=`);if(i!==-1&&r.slice(0,i)===e)return decodeURIComponent(r.slice(i+1))}return null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};function $r(e){return typeof e==`string`?/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e):!1}function ei(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}var ti=/^https?:(?!\/\/)/i,ni=/[\t\n\r]/g;function ri(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function ii(e){return ri(e).replace(ni,``)}function ai(e,t){if(typeof e==`string`&&ti.test(ii(e)))throw new Y(`Invalid URL: missing "//" after protocol`,Y.ERR_INVALID_URL,t)}function oi(e,t,n,r){ai(t,r);let i=!$r(t);return e&&(i||n===!1)?(ai(e,r),ei(e,t)):t}var si=e=>e instanceof J?{...e}:e;function ci(e,t){t=t||{};let n=Object.create(null);Object.defineProperty(n,`hasOwnProperty`,{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(e,t,n,r){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:r},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function i(e,t,n,i){if(!q.isUndefined(t))return r(e,t,n,i);if(!q.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!q.isUndefined(t))return r(void 0,t)}function o(e,t){if(!q.isUndefined(t))return r(void 0,t);if(!q.isUndefined(e))return r(void 0,e)}function s(n){let r=q.hasOwnProp(t,`transitional`)?t.transitional:void 0;if(!q.isUndefined(r))if(q.isPlainObject(r)){if(q.hasOwnProp(r,n))return r[n]}else return;let i=q.hasOwnProp(e,`transitional`)?e.transitional:void 0;if(q.isPlainObject(i)&&q.hasOwnProp(i,n))return i[n]}function c(n,i,a){if(q.hasOwnProp(t,a))return r(n,i);if(q.hasOwnProp(e,a))return r(void 0,n)}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:c,headers:(e,t,n)=>i(si(e),si(t),n,!0)};return q.forEach(Object.keys({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=q.hasOwnProp(l,r)?l[r]:i,o=a(q.hasOwnProp(e,r)?e[r]:void 0,q.hasOwnProp(t,r)?t[r]:void 0,r);q.isUndefined(o)&&a!==c||(n[r]=o)}),q.hasOwnProp(t,`validateStatus`)&&q.isUndefined(t.validateStatus)&&s(`validateStatusUndefinedResolves`)===!1&&(q.hasOwnProp(e,`validateStatus`)?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}var li=[`content-type`,`content-length`];function ui(e,t,n){if(n!==`content-only`){e.set(t);return}Object.entries(t).forEach(([t,n])=>{li.includes(t.toLowerCase())&&e.set(t,n)})}var di=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));function fi(e){let t=ci({},e),n=e=>q.hasOwnProp(t,e)?t[e]:void 0,r=n(`data`),i=n(`withXSRFToken`),a=n(`xsrfHeaderName`),o=n(`xsrfCookieName`),s=n(`headers`),c=n(`auth`),l=n(`baseURL`),u=n(`allowAbsoluteUrls`),d=n(`url`);if(t.headers=s=J.from(s),t.url=Sr(oi(l,d,u,t),n(`params`),n(`paramsSerializer`)),c){let e=q.getSafeProp(c,`username`)||``,t=q.getSafeProp(c,`password`)||``;s.set(`Authorization`,`Basic `+btoa(e+`:`+(t?di(t):``)))}if(q.isFormData(r)&&(X.hasStandardBrowserEnv||X.hasStandardBrowserWebWorkerEnv||q.isReactNative(r)?s.setContentType(void 0):q.isFunction(r.getHeaders)&&ui(s,r.getHeaders(),n(`formDataHeaderPolicy`))),X.hasStandardBrowserEnv&&(q.isFunction(i)&&(i=i(t)),i===!0||i==null&&Zr(t.url))){let e=a&&o&&Qr.read(o);e&&s.set(a,e)}return t}var pi=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=fi(e),i=r.data,a=J.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p;function m(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;let r=J.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());Wr(function(e){t(e),m()},function(e){n(e),m()},{data:!o||o===`text`||o===`json`?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}`onloadend`in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.startsWith(`file:`))||setTimeout(g)},h.onabort=function(){h&&(n(new Y(`Request aborted`,Y.ECONNABORTED,e,h)),m(),h=null)},h.onerror=function(t){let r=new Y(t&&t.message?t.message:`Network Error`,Y.ERR_NETWORK,e,h);r.event=t||null,n(r),m(),h=null},h.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||wr;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Y(t,i.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,h)),m(),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&q.forEach(er(a),function(e,t){h.setRequestHeader(t,e)}),q.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=Jr(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=Jr(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&(n(!t||t.type?new Ur(null,e,h):t),h.abort(),m(),h=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let _=Gr(r.url);if(_&&!X.protocols.includes(_)){n(new Y(`Unsupported protocol `+_+`:`,Y.ERR_BAD_REQUEST,e));return}h.send(i||null)})},mi=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let n=new AbortController,r=!1,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof Y?t:new Ur(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new Y(`timeout of ${t}ms exceeded`,Y.ETIMEDOUT))},t),o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),e=null)};e.forEach(e=>e.addEventListener(`abort`,i));let{signal:s}=n;return s.unsubscribe=()=>q.asap(o),s},hi=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},gi=async function*(e,t){for await(let n of _i(e))yield*hi(n,t)},_i=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},vi=(e,t,n,r)=>{let i=gi(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},yi=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,bi=(e,t,n)=>t+2<n&&yi(e.charCodeAt(t+1))&&yi(e.charCodeAt(t+2));function xi(e){if(!e||typeof e!=`string`||!e.startsWith(`data:`))return 0;let t=e.indexOf(`,`);if(t<0)return 0;let n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length,t=r.length;for(let n=0;n<t;n++)if(r.charCodeAt(n)===37&&n+2<t){let t=r.charCodeAt(n+1),i=r.charCodeAt(n+2);yi(t)&&yi(i)&&(e-=2,n+=2)}let n=0,i=t-1,a=e=>e>=2&&r.charCodeAt(e-2)===37&&r.charCodeAt(e-1)===51&&(r.charCodeAt(e)===68||r.charCodeAt(e)===100);i>=0&&(r.charCodeAt(i)===61?(n++,i--):a(i)&&(n++,i-=3)),n===1&&i>=0&&(r.charCodeAt(i)===61||a(i))&&n++;let o=Math.floor(e/4)*3-(n||0);return o>0?o:0}let i=0;for(let e=0,t=r.length;e<t;e++){let n=r.charCodeAt(e);if(n===37&&bi(r,e,t))i+=1,e+=2;else if(n<128)i+=1;else if(n<2048)i+=2;else if(n>=55296&&n<=56319&&e+1<t){let t=r.charCodeAt(e+1);t>=56320&&t<=57343?(i+=4,e++):i+=3}else i+=3}return i}var Si=`1.18.0`,Ci=64*1024,{isFunction:wi}=q,Ti=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),Ei=e=>{if(!q.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Di=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Oi=e=>{let t=e.indexOf(`://`),n=e;return t!==-1&&(n=n.slice(t+3)),n.includes(`@`)||n.includes(`:`)},ki=e=>{let t=q.global!==void 0&&q.global!==null?q.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=q.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:a,Response:o}=e,s=i?wi(i):typeof fetch==`function`,c=wi(a),l=wi(o);if(!s)return!1;let u=s&&wi(n),d=s&&(typeof r==`function`?(e=>t=>e.encode(t))(new r):async e=>new Uint8Array(await new a(e).arrayBuffer())),f=c&&u&&Di(()=>{let e=!1,t=new a(X.origin,{body:new n,method:`POST`,get duplex(){return e=!0,`half`}}),r=t.headers.has(`Content-Type`);return t.body!=null&&t.body.cancel(),e&&!r}),p=l&&u&&Di(()=>q.isReadableStream(new o(``).body)),m={stream:p&&(e=>e.body)};s&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Y(`Response type '${e}' is not supported`,Y.ERR_NOT_SUPPORT,n)})});let h=async e=>{if(e==null)return 0;if(q.isBlob(e))return e.size;if(q.isSpecCompliantForm(e))return(await new a(X.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(q.isArrayBufferView(e)||q.isArrayBuffer(e))return e.byteLength;if(q.isURLSearchParams(e)&&(e+=``),q.isString(e))return(await d(e)).byteLength},g=async(e,t)=>q.toFiniteNumber(e.getContentLength())??h(t);return async e=>{let{url:t,method:n,data:s,signal:l,cancelToken:d,timeout:_,onDownloadProgress:v,onUploadProgress:ee,responseType:y,headers:b,withCredentials:x=`same-origin`,fetchOptions:S,maxContentLength:C,maxBodyLength:w}=fi(e),te=q.isNumber(C)&&C>-1,ne=q.isNumber(w)&&w>-1,re=t=>q.hasOwnProp(e,t)?e[t]:void 0,ie=i||fetch;y=y?(y+``).toLowerCase():`text`;let T=mi([l,d&&d.toAbortSignal()],_),E=null,D=T&&T.unsubscribe&&(()=>{T.unsubscribe()}),O,k=null,ae=()=>new Y(`Request body larger than maxBodyLength limit`,Y.ERR_BAD_REQUEST,e,E);try{let i,l=re(`auth`);if(l&&(i={username:q.getSafeProp(l,`username`)||``,password:q.getSafeProp(l,`password`)||``}),Oi(t)){let e=new URL(t,X.origin);!i&&(e.username||e.password)&&(i={username:Ei(e.username),password:Ei(e.password)}),(e.username||e.password)&&(e.username=``,e.password=``,t=e.href)}if(i&&(b.delete(`authorization`),b.set(`Authorization`,`Basic `+btoa(Ti((i.username||``)+`:`+(i.password||``))))),te&&typeof t==`string`&&t.startsWith(`data:`)&&xi(t)>C)throw new Y(`maxContentLength size of `+C+` exceeded`,Y.ERR_BAD_RESPONSE,e,E);if(ne&&n!==`get`&&n!==`head`){let e=await h(s);if(typeof e==`number`&&isFinite(e)&&(O=e,e>w))throw ae()}let d=ne&&(q.isReadableStream(s)||q.isStream(s)),_=(e,t,n)=>vi(e,Ci,e=>{if(ne&&e>w)throw k=ae();t&&t(e)},n);if(f&&n!==`get`&&n!==`head`&&(ee||d)){if(O=O??await g(b,s),O!==0||d){let e=new a(t,{method:`POST`,body:s,duplex:`half`}),n;if(q.isFormData(s)&&(n=e.headers.get(`content-type`))&&b.setContentType(n),e.body){let[t,n]=ee&&Yr(O,Jr(Xr(ee)))||[];s=_(e.body,t,n)}}}else if(d&&!c&&u&&n!==`get`&&n!==`head`)s=_(s);else if(d&&c&&!f&&n!==`get`&&n!==`head`)throw new Y(`Stream request bodies are not supported by the current fetch implementation`,Y.ERR_NOT_SUPPORT,e,E);q.isString(x)||(x=x?`include`:`omit`);let oe=c&&`credentials`in a.prototype;if(q.isFormData(s)){let e=b.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&b.delete(`content-type`)}b.set(`User-Agent`,`axios/`+Si,!1);let se={...S,signal:T,method:n.toUpperCase(),headers:er(b.normalize()),body:s,duplex:`half`,credentials:oe?x:void 0};E=c&&new a(t,se);let A=await(c?ie(E,S):ie(t,se)),ce=J.from(A.headers);if(te){let t=q.toFiniteNumber(ce.getContentLength());if(t!=null&&t>C)throw new Y(`maxContentLength size of `+C+` exceeded`,Y.ERR_BAD_RESPONSE,e,E)}let le=p&&(y===`stream`||y===`response`);if(p&&A.body&&(v||te||le&&D)){let t={};[`status`,`statusText`,`headers`].forEach(e=>{t[e]=A[e]});let n=q.toFiniteNumber(ce.getContentLength()),[r,i]=v&&Yr(n,Jr(Xr(v),!0))||[],a=0;A=new o(vi(A.body,Ci,t=>{if(te&&(a=t,a>C))throw new Y(`maxContentLength size of `+C+` exceeded`,Y.ERR_BAD_RESPONSE,e,E);r&&r(t)},()=>{i&&i(),D&&D()}),t)}y=y||`text`;let j=await m[q.findKey(m,y)||`text`](A,e);if(te&&!p&&!le){let t;if(j!=null&&(typeof j.byteLength==`number`?t=j.byteLength:typeof j.size==`number`?t=j.size:typeof j==`string`&&(t=typeof r==`function`?new r().encode(j).byteLength:j.length)),typeof t==`number`&&t>C)throw new Y(`maxContentLength size of `+C+` exceeded`,Y.ERR_BAD_RESPONSE,e,E)}return!le&&D&&D(),await new Promise((t,n)=>{Wr(t,n,{data:j,headers:J.from(A.headers),status:A.status,statusText:A.statusText,config:e,request:E})})}catch(t){if(D&&D(),T&&T.aborted&&T.reason instanceof Y){let n=T.reason;throw n.config=e,E&&(n.request=E),t!==n&&(n.cause=t),n}throw k?(E&&!k.request&&(k.request=E),k):t instanceof Y?(E&&!t.request&&(t.request=E),t):t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)?Object.assign(new Y(`Network Error`,Y.ERR_NETWORK,e,E,t&&t.response),{cause:t.cause||t}):Y.from(t,t&&t.code,e,E,t&&t.response)}}},Ai=new Map,ji=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=Ai;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:ki(t)),l=c;return c};ji();var Mi={http:null,xhr:pi,fetch:{get:ji}};q.forEach(Mi,(e,t)=>{if(e){try{Object.defineProperty(e,`name`,{__proto__:null,value:t})}catch{}Object.defineProperty(e,`adapterName`,{__proto__:null,value:t})}});var Ni=e=>`- ${e}`,Pi=e=>q.isFunction(e)||e===null||e===!1;function Fi(e,t){e=q.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!Pi(r)&&(i=Mi[(n=String(r)).toLowerCase()],i===void 0))throw new Y(`Unknown adapter '${n}'`);if(i&&(q.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new Y(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since :
`+e.map(Ni).join(`
`):` `+Ni(e[0]):`as no adapter specified`),`ERR_NOT_SUPPORT`)}return i}var Ii={getAdapter:Fi,adapters:Mi};function Li(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ur(null,e)}function Ri(e){return Li(e),e.headers=J.from(e.headers),e.data=Vr.call(e,e.transformRequest),[`post`,`put`,`patch`].indexOf(e.method)!==-1&&e.headers.setContentType(`application/x-www-form-urlencoded`,!1),Ii.getAdapter(e.adapter||Br.adapter,e)(e).then(function(t){Li(e),e.response=t;try{t.data=Vr.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=J.from(t.headers),t},function(t){if(!Hr(t)&&(Li(e),t&&t.response)){e.response=t.response;try{t.response.data=Vr.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=J.from(t.response.headers)}return Promise.reject(t)})}var zi={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{zi[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var Bi={};zi.transitional=function(e,t,n){function r(e,t){return`[Axios v`+Si+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new Y(r(i,` has been removed`+(t?` in `+t:``)),Y.ERR_DEPRECATED);return t&&!Bi[i]&&(Bi[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),e?e(n,i,a):!0}},zi.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function Vi(e,t,n){if(typeof e!=`object`)throw new Y(`options must be an object`,Y.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let a=r[i],o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new Y(`option `+a+` must be `+n,Y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Y(`Unknown option `+a,Y.ERR_BAD_OPTION)}}var Hi={assertOptions:Vi,validators:zi},Z=Hi.validators,Ui=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Cr,response:new Cr}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=(()=>{if(!t.stack)return``;let e=t.stack.indexOf(`
`);return e===-1?``:t.stack.slice(e+1)})();try{if(!e.stack)e.stack=n;else if(n){let t=n.indexOf(`
`),r=t===-1?-1:n.indexOf(`
`,t+1),i=r===-1?``:n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+=`
`+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t=t||{},t.url=e):t=e||{},t=ci(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&Hi.assertOptions(n,{silentJSONParsing:Z.transitional(Z.boolean),forcedJSONParsing:Z.transitional(Z.boolean),clarifyTimeoutError:Z.transitional(Z.boolean),legacyInterceptorReqResOrdering:Z.transitional(Z.boolean),advertiseZstdAcceptEncoding:Z.transitional(Z.boolean),validateStatusUndefinedResolves:Z.transitional(Z.boolean)},!1),r!=null&&(q.isFunction(r)?t.paramsSerializer={serialize:r}:Hi.assertOptions(r,{encode:Z.function,serialize:Z.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),Hi.assertOptions(t,{baseUrl:Z.spelling(`baseURL`),withXsrfToken:Z.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&q.merge(i.common,i[t.method]);i&&q.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`,`common`],e=>{delete i[e]}),t.headers=J.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s=s&&e.synchronous;let n=t.transitional||wr;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[Ri.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=Ri.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=ci(this.defaults,e),Sr(oi(e.baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}};q.forEach([`delete`,`get`,`head`,`options`],function(e){Ui.prototype[e]=function(t,n){return this.request(ci(n||{},{method:e,url:t,data:n&&q.hasOwnProp(n,`data`)?n.data:void 0}))}}),q.forEach([`post`,`put`,`patch`,`query`],function(e){function t(t){return function(n,r,i){return this.request(ci(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}Ui.prototype[e]=t(),e!==`query`&&(Ui.prototype[e+`Form`]=t(!0))});var Wi=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new Ur(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function Gi(e){return function(t){return e.apply(null,t)}}function Ki(e){return q.isObject(e)&&e.isAxiosError===!0}var qi={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(qi).forEach(([e,t])=>{qi[t]=e});function Ji(e){let t=new Ui(e),n=Mt(Ui.prototype.request,t);return q.extend(n,Ui.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Ji(ci(e,t))},n}var Q=Ji(Br);Q.Axios=Ui,Q.CanceledError=Ur,Q.CancelToken=Wi,Q.isCancel=Hr,Q.VERSION=Si,Q.toFormData=_r,Q.AxiosError=Y,Q.Cancel=Q.CanceledError,Q.all=function(e){return Promise.all(e)},Q.spread=Gi,Q.isAxiosError=Ki,Q.mergeConfig=ci,Q.AxiosHeaders=J,Q.formToJSON=e=>Lr(q.isHTMLForm(e)?new FormData(e):e),Q.getAdapter=Ii.getAdapter,Q.HttpStatusCode=qi,Q.default=Q;var Yi={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Xi=U.createContext&&U.createContext(Yi),Zi=[`attr`,`size`,`title`];function Qi(e,t){if(e==null)return{};var n,r,i=$i(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $i(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function ea(){return ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ea.apply(null,arguments)}function ta(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function na(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ta(Object(n),!0).forEach(function(t){ra(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ta(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ra(e,t,n){return(t=ia(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ia(e){var t=aa(e,`string`);return typeof t==`symbol`?t:t+``}function aa(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function oa(e){return e&&e.map((e,t)=>U.createElement(e.tag,na({key:t},e.attr),oa(e.child)))}function $(e){return t=>U.createElement(sa,ea({attr:na({},e.attr)},t),oa(e.child))}function sa(e){var t=t=>{var{attr:n,size:r,title:i}=e,a=Qi(e,Zi),o=r||t.size||`1em`,s;return t.className&&(s=t.className),e.className&&(s=(s?s+` `:``)+e.className),U.createElement(`svg`,ea({stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`},t.attr,n,a,{className:s,style:na(na({color:e.color||t.color},t.style),e.style),height:o,width:o,xmlns:`http://www.w3.org/2000/svg`}),i&&U.createElement(`title`,null,i),e.children)};return Xi===void 0?t(Yi):U.createElement(Xi.Consumer,null,e=>t(e))}function ca(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M449.07 399.08 278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17zm-198.6-1.83a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm21.72-201.15-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7z`},child:[]}]})(e)}function la(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M85.57 446.25h340.86a32 32 0 0 0 28.17-47.17L284.18 82.58c-12.09-22.44-44.27-22.44-56.36 0L57.4 399.08a32 32 0 0 0 28.17 47.17z`},child:[]},{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`m250.26 195.39 5.74 122 5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 5.95z`},child:[]},{tag:`path`,attr:{d:`M256 397.25a20 20 0 1 1 20-20 20 20 0 0 1-20 20z`},child:[]}]})(e)}function ua(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`48`,d:`M200.66 352H144a96 96 0 0 1 0-192h55.41m113.18 0H368a96 96 0 0 1 0 192h-56.66`},child:[]}]})(e)}function da(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,d:`M296 64h-80a7.91 7.91 0 0 0-8 8v24h96V72a7.91 7.91 0 0 0-8-8z`},child:[]},{tag:`path`,attr:{d:`M432 96h-96V72a40 40 0 0 0-40-40h-80a40 40 0 0 0-40 40v24H80a16 16 0 0 0 0 32h17l19 304.92c1.42 26.85 22 47.08 48 47.08h184c26.13 0 46.3-19.78 48-47l19-305h17a16 16 0 0 0 0-32zM192.57 416H192a16 16 0 0 1-16-15.43l-8-224a16 16 0 1 1 32-1.14l8 224A16 16 0 0 1 192.57 416zM272 400a16 16 0 0 1-32 0V176a16 16 0 0 1 32 0zm32-304h-96V72a7.91 7.91 0 0 1 8-8h80a7.91 7.91 0 0 1 8 8zm32 304.57A16 16 0 0 1 320 416h-.58A16 16 0 0 1 304 399.43l8-224a16 16 0 1 1 32 1.14z`},child:[]}]})(e)}function fa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`rect`,attr:{width:`448`,height:`80`,x:`32`,y:`48`,rx:`32`,ry:`32`},child:[]},{tag:`path`,attr:{d:`M74.45 160a8 8 0 0 0-8 8.83l26.31 252.56a1.5 1.5 0 0 0 0 .22A48 48 0 0 0 140.45 464h231.09a48 48 0 0 0 47.67-42.39v-.21l26.27-252.57a8 8 0 0 0-8-8.83zm248.86 180.69a16 16 0 1 1-22.63 22.62L256 318.63l-44.69 44.68a16 16 0 0 1-22.63-22.62L233.37 296l-44.69-44.69a16 16 0 0 1 22.63-22.62L256 273.37l44.68-44.68a16 16 0 0 1 22.63 22.62L278.62 296z`},child:[]}]})(e)}function pa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M256 48C141.13 48 48 141.13 48 256s93.13 208 208 208 208-93.13 208-208S370.87 48 256 48zm96 240h-96a16 16 0 0 1-16-16V128a16 16 0 0 1 32 0v128h80a16 16 0 0 1 0 32z`},child:[]}]})(e)}function ma(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M464 208 352 96 240 208m112-94.87V416M48 304l112 112 112-112m-112 94V96`},child:[]}]})(e)}function ha(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M392 432H120a40 40 0 0 1-40-40V120a40 40 0 0 1 40-40h272a40 40 0 0 1 40 40v272a40 40 0 0 1-40 40z`},child:[]}]})(e)}function ga(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M336 176 225.2 304 176 255.8`},child:[]},{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M463.1 112.37C373.68 96.33 336.71 84.45 256 48c-80.71 36.45-117.68 48.33-207.1 64.37C32.7 369.13 240.58 457.79 256 464c15.42-6.21 223.3-94.87 207.1-351.63z`},child:[]}]})(e)}function _a(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M262.29 192.31a64 64 0 1 0 57.4 57.4 64.13 64.13 0 0 0-57.4-57.4zM416.39 256a154.34 154.34 0 0 1-1.53 20.79l45.21 35.46a10.81 10.81 0 0 1 2.45 13.75l-42.77 74a10.81 10.81 0 0 1-13.14 4.59l-44.9-18.08a16.11 16.11 0 0 0-15.17 1.75A164.48 164.48 0 0 1 325 400.8a15.94 15.94 0 0 0-8.82 12.14l-6.73 47.89a11.08 11.08 0 0 1-10.68 9.17h-85.54a11.11 11.11 0 0 1-10.69-8.87l-6.72-47.82a16.07 16.07 0 0 0-9-12.22 155.3 155.3 0 0 1-21.46-12.57 16 16 0 0 0-15.11-1.71l-44.89 18.07a10.81 10.81 0 0 1-13.14-4.58l-42.77-74a10.8 10.8 0 0 1 2.45-13.75l38.21-30a16.05 16.05 0 0 0 6-14.08c-.36-4.17-.58-8.33-.58-12.5s.21-8.27.58-12.35a16 16 0 0 0-6.07-13.94l-38.19-30A10.81 10.81 0 0 1 49.48 186l42.77-74a10.81 10.81 0 0 1 13.14-4.59l44.9 18.08a16.11 16.11 0 0 0 15.17-1.75A164.48 164.48 0 0 1 187 111.2a15.94 15.94 0 0 0 8.82-12.14l6.73-47.89A11.08 11.08 0 0 1 213.23 42h85.54a11.11 11.11 0 0 1 10.69 8.87l6.72 47.82a16.07 16.07 0 0 0 9 12.22 155.3 155.3 0 0 1 21.46 12.57 16 16 0 0 0 15.11 1.71l44.89-18.07a10.81 10.81 0 0 1 13.14 4.58l42.77 74a10.8 10.8 0 0 1-2.45 13.75l-38.21 30a16.05 16.05 0 0 0-6.05 14.08c.33 4.14.55 8.3.55 12.47z`},child:[]}]})(e)}function va(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M456.69 421.39 362.6 327.3a173.81 173.81 0 0 0 34.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 0 0 327.3 362.6l94.09 94.09a25 25 0 0 0 35.3-35.3zM97.92 222.72a124.8 124.8 0 1 1 124.8 124.8 124.95 124.95 0 0 1-124.8-124.8z`},child:[]}]})(e)}function ya(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M380.93 57.37A32 32 0 0 0 358.3 48H94.22A46.21 46.21 0 0 0 48 94.22v323.56A46.21 46.21 0 0 0 94.22 464h323.56A46.36 46.36 0 0 0 464 417.78V153.7a32 32 0 0 0-9.37-22.63zM256 416a64 64 0 1 1 64-64 63.92 63.92 0 0 1-64 64zm48-224H112a16 16 0 0 1-16-16v-64a16 16 0 0 1 16-16h192a16 16 0 0 1 16 16v64a16 16 0 0 1-16 16z`},child:[]}]})(e)}function ba(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`44`,d:`M118 304h276m-276-96h276`},child:[]}]})(e)}function xa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M400 256H112`},child:[]}]})(e)}function Sa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm80 224H176a16 16 0 0 1 0-32h160a16 16 0 0 1 0 32z`},child:[]}]})(e)}function Ca(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeMiterlimit:`10`,strokeWidth:`32`,d:`M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z`},child:[]},{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M336 256H176`},child:[]}]})(e)}function wa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeMiterlimit:`10`,strokeWidth:`32`,d:`m400 148-21.12-24.57A191.43 191.43 0 0 0 240 64C134 64 48 150 48 256s86 192 192 192a192.09 192.09 0 0 0 181.07-128`},child:[]},{tag:`path`,attr:{d:`M464 97.42V208a16 16 0 0 1-16 16H337.42c-14.26 0-21.4-17.23-11.32-27.31L436.69 86.1C446.77 76 464 83.16 464 97.42z`},child:[]}]})(e)}function Ta(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M133 440a35.37 35.37 0 0 1-17.5-4.67c-12-6.8-19.46-20-19.46-34.33V111c0-14.37 7.46-27.53 19.46-34.33a35.13 35.13 0 0 1 35.77.45l247.85 148.36a36 36 0 0 1 0 61l-247.89 148.4A35.5 35.5 0 0 1 133 440z`},child:[]}]})(e)}function Ea(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M400 64a16 16 0 0 0-16 16v136.43L151.23 77.11a35.13 35.13 0 0 0-35.77-.44C103.46 83.47 96 96.63 96 111v290c0 14.37 7.46 27.53 19.46 34.33a35.14 35.14 0 0 0 35.77-.45L384 295.57V432a16 16 0 0 0 32 0V80a16 16 0 0 0-16-16z`},child:[]}]})(e)}function Da(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M112 64a16 16 0 0 1 16 16v136.43L360.77 77.11a35.13 35.13 0 0 1 35.77-.44c12 6.8 19.46 20 19.46 34.33v290c0 14.37-7.46 27.53-19.46 34.33a35.14 35.14 0 0 1-35.77-.45L128 295.57V432a16 16 0 0 1-32 0V80a16 16 0 0 1 16-16z`},child:[]}]})(e)}function Oa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`m481.29 229.47-188.87-113a30.54 30.54 0 0 0-31.09-.39 33.74 33.74 0 0 0-16.76 29.47v79.05L63.85 116.44a30.54 30.54 0 0 0-31.09-.39A33.74 33.74 0 0 0 16 145.52v221A33.74 33.74 0 0 0 32.76 396a30.54 30.54 0 0 0 31.09-.39L244.57 287.4v79.08A33.74 33.74 0 0 0 261.33 396a30.54 30.54 0 0 0 31.09-.39l188.87-113a31.27 31.27 0 0 0 0-53z`},child:[]}]})(e)}function ka(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`44`,d:`M358.62 129.28 86.49 402.08 70 442l39.92-16.49 272.8-272.13-24.1-24.1zm54.45-54.44-11.79 11.78 24.1 24.1 11.79-11.79a16.51 16.51 0 0 0 0-23.34l-.75-.75a16.51 16.51 0 0 0-23.35 0z`},child:[]}]})(e)}function Aa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M364.13 125.25 87 403l-23 45 44.99-23 277.76-277.13-22.62-22.62zm56.56-56.56-22.62 22.62 22.62 22.63 22.62-22.63a16 16 0 0 0 0-22.62h0a16 16 0 0 0-22.62 0z`},child:[]}]})(e)}function ja(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M208 432h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16zm144 0h-48a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h48a16 16 0 0 1 16 16v320a16 16 0 0 1-16 16z`},child:[]}]})(e)}function Ma(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M64 144h226.75a48 48 0 0 0 90.5 0H448a16 16 0 0 0 0-32h-66.75a48 48 0 0 0-90.5 0H64a16 16 0 0 0 0 32zm384 224h-66.75a48 48 0 0 0-90.5 0H64a16 16 0 0 0 0 32h226.75a48 48 0 0 0 90.5 0H448a16 16 0 0 0 0-32zm0-128H221.25a48 48 0 0 0-90.5 0H64a16 16 0 0 0 0 32h66.75a48 48 0 0 0 90.5 0H448a16 16 0 0 0 0-32z`},child:[]}]})(e)}function Na(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M384 224v184a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V168a40 40 0 0 1 40-40h167.48M336 64h112v112M224 288 440 72`},child:[]}]})(e)}function Pa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M336 112a80 80 0 0 0-160 0v96`},child:[]},{tag:`rect`,attr:{width:`320`,height:`272`,x:`96`,y:`208`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,rx:`48`,ry:`48`},child:[]}]})(e)}function Fa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M368 192h-16v-80a96 96 0 1 0-192 0v80h-16a64.07 64.07 0 0 0-64 64v176a64.07 64.07 0 0 0 64 64h224a64.07 64.07 0 0 0 64-64V256a64.07 64.07 0 0 0-64-64zm-48 0H192v-80a64 64 0 1 1 128 0z`},child:[]}]})(e)}function Ia(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M336 208v-95a80 80 0 0 0-160 0v95`},child:[]},{tag:`rect`,attr:{width:`320`,height:`272`,x:`96`,y:`208`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,rx:`48`,ry:`48`},child:[]}]})(e)}function La(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`48`,d:`M256 96V56m0 400v-40m0-304a144 144 0 1 0 144 144 144 144 0 0 0-144-144zm160 144h40m-400 0h40`},child:[]}]})(e)}function Ra(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`48`,d:`M160 144h288M160 256h288M160 368h288`},child:[]},{tag:`circle`,attr:{cx:`80`,cy:`144`,r:`16`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`},child:[]},{tag:`circle`,attr:{cx:`80`,cy:`256`,r:`16`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`},child:[]},{tag:`circle`,attr:{cx:`80`,cy:`368`,r:`16`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`},child:[]}]})(e)}function za(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`48`,d:`M200.66 352H144a96 96 0 0 1 0-192h55.41m113.18 0H368a96 96 0 0 1 0 192h-56.66m-142.27-96h175.86`},child:[]}]})(e)}function Ba(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 1 1-26 26 26 26 0 0 1 26-26zm48 226h-88a16 16 0 0 1 0-32h28v-88h-16a16 16 0 0 1 0-32h32a16 16 0 0 1 16 16v104h28a16 16 0 0 1 0 32z`},child:[]}]})(e)}function Va(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeMiterlimit:`10`,strokeWidth:`32`,d:`M256 80a176 176 0 1 0 176 176A176 176 0 0 0 256 80z`},child:[]},{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeMiterlimit:`10`,strokeWidth:`28`,d:`M200 202.29s.84-17.5 19.57-32.57C230.68 160.77 244 158.18 256 158c10.93-.14 20.69 1.67 26.53 4.45 10 4.76 29.47 16.38 29.47 41.09 0 26-17 37.81-36.37 50.8S251 281.43 251 296`},child:[]},{tag:`circle`,attr:{cx:`250`,cy:`348`,r:`20`},child:[]}]})(e)}function Ha(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M496 152a56 56 0 0 0-56-56H220.11a23.89 23.89 0 0 1-13.31-4L179 73.41A55.77 55.77 0 0 0 147.89 64H72a56 56 0 0 0-56 56v48a8 8 0 0 0 8 8h464a8 8 0 0 0 8-8zM16 392a56 56 0 0 0 56 56h368a56 56 0 0 0 56-56V216a8 8 0 0 0-8-8H24a8 8 0 0 0-8 8z`},child:[]}]})(e)}function Ua(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M64 192v-72a40 40 0 0 1 40-40h75.89a40 40 0 0 1 22.19 6.72l27.84 18.56a40 40 0 0 0 22.19 6.72H408a40 40 0 0 1 40 40v40`},child:[]},{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M479.9 226.55 463.68 392a40 40 0 0 1-39.93 40H88.25a40 40 0 0 1-39.93-40L32.1 226.55A32 32 0 0 1 64 192h384.1a32 32 0 0 1 31.8 34.55z`},child:[]}]})(e)}function Wa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M194.82 496a18.36 18.36 0 0 1-18.1-21.53v-.11L204.83 320H96a16 16 0 0 1-12.44-26.06L302.73 23a18.45 18.45 0 0 1 32.8 13.71c0 .3-.08.59-.13.89L307.19 192H416a16 16 0 0 1 12.44 26.06L209.24 489a18.45 18.45 0 0 1-14.42 7z`},child:[]}]})(e)}function Ga(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M461.05 51a65 65 0 0 0-45.71-19h-.76a61.81 61.81 0 0 0-44.36 19.25 12.81 12.81 0 0 0-1.07 1.25l-54 69.76c-5.62 7.1-12.74 8.68-16.78 4.64l-1.9-1.9a48 48 0 0 0-67.92 67.92l9.91 9.91a2 2 0 0 1 0 2.83L58.7 385.38C54 390.05 46.9 399.85 38.85 431c-4.06 15.71-6.51 29.66-6.61 30.24A16 16 0 0 0 48 480a15.68 15.68 0 0 0 2.64-.22c.58-.1 14.44-2.43 30.13-6.44 31.07-7.94 41.05-15.24 45.85-20l179.77-179.79a2 2 0 0 1 2.82 0l9.92 9.92a48 48 0 0 0 67.92-67.93l-1.59-1.54c-5-5-2.52-12.11 4.32-17.14l69.75-53.94a17.82 17.82 0 0 0 1.47-1.32 63.2 63.2 0 0 0 19-45A63.88 63.88 0 0 0 461.05 51zM250.78 283.9c-2.92 2.92-16.18 7.92-23.39.71s-2.24-20.42.69-23.35l33-33a2 2 0 0 1 2.83 0l19.84 19.83a2 2 0 0 1 0 2.83z`},child:[]}]})(e)}function Ka(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`circle`,attr:{cx:`256`,cy:`256`,r:`64`},child:[]},{tag:`path`,attr:{d:`M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 0 0-.1-34.76zM256 352a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96z`},child:[]}]})(e)}function qa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z`},child:[]},{tag:`circle`,attr:{cx:`256`,cy:`256`,r:`80`,fill:`none`,strokeMiterlimit:`10`,strokeWidth:`32`},child:[]}]})(e)}function Ja(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448zm-176.34-64c-41.49 0-81.5-12.28-118.92-36.5-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58 2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1 204.8 204.8 0 0 1-51.16 6.47zm235.18-145.4c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83 2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1 192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37 34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16 310.72 310.72 0 0 1-64.12 72.73 2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13 343.49 343.49 0 0 0 68.64-78.48 32.2 32.2 0 0 0-.1-34.78z`},child:[]},{tag:`path`,attr:{d:`M256 160a95.88 95.88 0 0 0-21.37 2.4 2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160zm-90.22 73.66a2 2 0 0 0-3.38 1 96 96 0 0 0 115 115 2 2 0 0 0 1-3.38z`},child:[]}]})(e)}function Ya(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M432 320v112H320m101.8-10.23L304 304M80 192V80h112M90.2 90.23 208 208M320 80h112v112M421.77 90.2 304 208M192 432H80V320m10.23 101.8L208 304`},child:[]}]})(e)}function Xa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M432 320v112H320m101.8-10.23L304 304M80 192V80h112M90.2 90.23 208 208M320 80h112v112M421.77 90.2 304 208M192 432H80V320m10.23 101.8L208 304`},child:[]}]})(e)}function Za(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`circle`,attr:{cx:`256`,cy:`256`,r:`48`},child:[]},{tag:`circle`,attr:{cx:`416`,cy:`256`,r:`48`},child:[]},{tag:`circle`,attr:{cx:`96`,cy:`256`,r:`48`},child:[]}]})(e)}function Qa(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`circle`,attr:{cx:`256`,cy:`256`,r:`192`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`},child:[]}]})(e)}function $a(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`rect`,attr:{width:`336`,height:`336`,x:`128`,y:`128`,fill:`none`,strokeLinejoin:`round`,strokeWidth:`32`,rx:`57`,ry:`57`},child:[]},{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`m383.5 128 .5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24m168-168v160m80-80H216`},child:[]}]})(e)}function eo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40`},child:[]},{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`m176 272 80 80 80-80M256 48v288`},child:[]}]})(e)}function to(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M416 221.25V416a48 48 0 0 1-48 48H144a48 48 0 0 1-48-48V96a48 48 0 0 1 48-48h98.75a32 32 0 0 1 22.62 9.37l141.26 141.26a32 32 0 0 1 9.37 22.62z`},child:[]},{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M256 56v120a32 32 0 0 0 32 32h120`},child:[]}]})(e)}function no(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M408 480H184a72 72 0 0 1-72-72V184a72 72 0 0 1 72-72h224a72 72 0 0 1 72 72v224a72 72 0 0 1-72 72z`},child:[]},{tag:`path`,attr:{d:`M160 80h235.88A72.12 72.12 0 0 0 328 32H104a72 72 0 0 0-72 72v224a72.12 72.12 0 0 0 48 67.88V160a80 80 0 0 1 80-80z`},child:[]}]})(e)}function ro(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`rect`,attr:{width:`336`,height:`336`,x:`128`,y:`128`,fill:`none`,strokeLinejoin:`round`,strokeWidth:`32`,rx:`57`,ry:`57`},child:[]},{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`m383.5 128 .5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24`},child:[]}]})(e)}function io(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M304 416V304h112m-101.8 10.23L432 432M208 96v112H96m101.8-10.23L80 80m336 128H304V96m10.23 101.8L432 80M96 304h112v112m-10.23-101.8L80 432`},child:[]}]})(e)}function ao(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8-69 0-113.44 45.79-128 91.2-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56`},child:[]},{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`m320 255.79-64-64-64 64m64 192.42V207.79`},child:[]}]})(e)}function oo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M400 240c-8.89-89.54-71-144-144-144-69 0-113.44 48.2-128 96-60 6-112 43.59-112 112 0 66 54 112 120 112h260c55 0 100-27.44 100-88 0-59.82-53-85.76-96-88z`},child:[]}]})(e)}function so(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M320 336h76c55 0 100-21.21 100-75.6s-53-73.47-96-75.6C391.11 99.74 329 48 256 48c-69 0-113.44 45.79-128 91.2-60 5.7-112 35.88-112 98.4S70 336 136 336h56m0 64.1 64 63.9 64-63.9M256 224v224.03`},child:[]}]})(e)}function co(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z`},child:[]}]})(e)}function lo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M368 368 144 144m224 0L144 368`},child:[]}]})(e)}function uo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`48`,d:`m112 328 144-144 144 144`},child:[]}]})(e)}function fo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`48`,d:`m112 184 144 144 144-144`},child:[]}]})(e)}function po(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M416 128 192 384l-96-96`},child:[]}]})(e)}function mo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M464 128 240 384l-96-96m0 96-96-96m320-160L232 284`},child:[]}]})(e)}function ho(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0 1 24.5 20.58z`},child:[]}]})(e)}function go(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M256 160c16-63.16 76.43-95.41 208-96a15.94 15.94 0 0 1 16 16v288a16 16 0 0 1-16 16c-128 0-177.45 25.81-208 64-30.37-38-80-64-208-64-9.88 0-16-8.05-16-17.93V80a15.94 15.94 0 0 1 16-16c131.57.59 192 32.84 208 96zm0 0v288`},child:[]}]})(e)}function _o(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`circle`,attr:{cx:`256`,cy:`256`,r:`200`,fill:`none`,strokeMiterlimit:`10`,strokeWidth:`48`},child:[]},{tag:`path`,attr:{strokeMiterlimit:`10`,strokeWidth:`48`,d:`m114.58 114.58 282.84 282.84`},child:[]}]})(e)}function vo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`48`,d:`m112 244 144-144 144 144M256 120v292`},child:[]}]})(e)}function yo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`48`,d:`m112 244 144-144 144 144M256 120v292`},child:[]}]})(e)}function bo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`48`,d:`m268 112 144 144-144 144m124-144H100`},child:[]}]})(e)}function xo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`48`,d:`m112 268 144 144 144-144M256 392V100`},child:[]}]})(e)}function So(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`48`,d:`M244 400 100 256l144-144M120 256h292`},child:[]}]})(e)}function Co(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M104 160a56 56 0 1 1 56-56 56.06 56.06 0 0 1-56 56zm152 0a56 56 0 1 1 56-56 56.06 56.06 0 0 1-56 56zm152 0a56 56 0 1 1 56-56 56.06 56.06 0 0 1-56 56zM104 312a56 56 0 1 1 56-56 56.06 56.06 0 0 1-56 56zm152 0a56 56 0 1 1 56-56 56.06 56.06 0 0 1-56 56zm152 0a56 56 0 1 1 56-56 56.06 56.06 0 0 1-56 56zM104 464a56 56 0 1 1 56-56 56.06 56.06 0 0 1-56 56zm152 0a56 56 0 1 1 56-56 56.06 56.06 0 0 1-56 56zm152 0a56 56 0 1 1 56-56 56.06 56.06 0 0 1-56 56z`},child:[]}]})(e)}function wo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{d:`M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm0 319.91a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm21.72-201.15-5.74 122a16 16 0 0 1-32 0l-5.74-121.94v-.05a21.74 21.74 0 1 1 43.44 0z`},child:[]}]})(e)}function To(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeMiterlimit:`10`,strokeWidth:`32`,d:`M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z`},child:[]},{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M250.26 166.05 256 288l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 6z`},child:[]},{tag:`path`,attr:{d:`M256 367.91a20 20 0 1 1 20-20 20 20 0 0 1-20 20z`},child:[]}]})(e)}function Eo(e){return $({tag:`svg`,attr:{viewBox:`0 0 512 512`},child:[{tag:`path`,attr:{fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`32`,d:`M256 112v288m144-144H112`},child:[]}]})(e)}var Do=e=>/^#((?:[a-f\d]{1}){3,4})$/i.test(e)||/^#((?:[a-f\d]{2}){3,4})$/i.test(e);function Oo(e,t,n=.5){let r=n,i=1-r;return{red:Math.round(e.red*r+t.red*i),green:Math.round(e.green*r+t.green*i),blue:Math.round(e.blue*r+t.blue*i),alpha:1}}function ko(e){let t=Math.round(e.alpha*255).toString(16).padStart(2,`0`),n=e.red.toString(16).padStart(2,`0`),r=e.green.toString(16).padStart(2,`0`),i=e.blue.toString(16).padStart(2,`0`);return`#`+n+r+i+t}function Ao(e){if(e.startsWith(`#`))return jo(e);let t=e.toLocaleLowerCase();return t in No?jo(No[t]):null}function jo(e){if(!Do(e))return null;let t=e.toLocaleLowerCase();t=t.replace(/^#/,``);let n=1;if(t.length===8){let e=t.slice(6,8);n=parseInt(e,16)/255,t=t.slice(0,6)}if(t.length===4){let e=t.slice(3,4).repeat(2);n=parseInt(e,16)/255,t=t.slice(0,3)}t.length===3&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);let r=parseInt(t,16),i=r>>16,a=r>>8&255,o=r&255;return isNaN(i)||isNaN(a)||isNaN(o)||isNaN(n)?null:{red:i,green:a,blue:o,alpha:n}}function Mo(e){return(e.red*299+e.green*587+e.blue*114)/1e3>=128}var No={aliceblue:`#f0f8ff`,antiquewhite:`#faebd7`,aqua:`#00ffff`,aquamarine:`#7fffd4`,azure:`#f0ffff`,beige:`#f5f5dc`,bisque:`#ffe4c4`,black:`#000000`,blanchedalmond:`#ffebcd`,blue:`#0000ff`,blueviolet:`#8a2be2`,brown:`#a52a2a`,burlywood:`#deb887`,cadetblue:`#5f9ea0`,chartreuse:`#7fff00`,chocolate:`#d2691e`,coral:`#ff7f50`,cornflowerblue:`#6495ed`,cornsilk:`#fff8dc`,crimson:`#dc143c`,cyan:`#00ffff`,darkblue:`#00008b`,darkcyan:`#008b8b`,darkgoldenrod:`#b8860b`,darkgray:`#a9a9a9`,darkgreen:`#006400`,darkgrey:`#a9a9a9`,darkkhaki:`#bdb76b`,darkmagenta:`#8b008b`,darkolivegreen:`#556b2f`,darkorange:`#ff8c00`,darkorchid:`#9932cc`,darkred:`#8b0000`,darksalmon:`#e9967a`,darkseagreen:`#8fbc8f`,darkslateblue:`#483d8b`,darkslategray:`#2f4f4f`,darkslategrey:`#2f4f4f`,darkturquoise:`#00ced1`,darkviolet:`#9400d3`,deeppink:`#ff1493`,deepskyblue:`#00bfff`,dimgray:`#696969`,dimgrey:`#696969`,dodgerblue:`#1e90ff`,firebrick:`#b22222`,floralwhite:`#fffaf0`,forestgreen:`#228b22`,fuchsia:`#ff00ff`,gainsboro:`#dcdcdc`,ghostwhite:`#f8f8ff`,goldenrod:`#daa520`,gold:`#ffd700`,gray:`#808080`,green:`#008000`,greenyellow:`#adff2f`,grey:`#808080`,honeydew:`#f0fff0`,hotpink:`#ff69b4`,indianred:`#cd5c5c`,indigo:`#4b0082`,ivory:`#fffff0`,khaki:`#f0e68c`,lavenderblush:`#fff0f5`,lavender:`#e6e6fa`,lawngreen:`#7cfc00`,lemonchiffon:`#fffacd`,lightblue:`#add8e6`,lightcoral:`#f08080`,lightcyan:`#e0ffff`,lightgoldenrodyellow:`#fafad2`,lightgray:`#d3d3d3`,lightgreen:`#90ee90`,lightgrey:`#d3d3d3`,lightpink:`#ffb6c1`,lightsalmon:`#ffa07a`,lightseagreen:`#20b2aa`,lightskyblue:`#87cefa`,lightslategray:`#778899`,lightslategrey:`#778899`,lightsteelblue:`#b0c4de`,lightyellow:`#ffffe0`,lime:`#00ff00`,limegreen:`#32cd32`,linen:`#faf0e6`,magenta:`#ff00ff`,maroon:`#800000`,mediumaquamarine:`#66cdaa`,mediumblue:`#0000cd`,mediumorchid:`#ba55d3`,mediumpurple:`#9370db`,mediumseagreen:`#3cb371`,mediumslateblue:`#7b68ee`,mediumspringgreen:`#00fa9a`,mediumturquoise:`#48d1cc`,mediumvioletred:`#c71585`,midnightblue:`#191970`,mintcream:`#f5fffa`,mistyrose:`#ffe4e1`,moccasin:`#ffe4b5`,navajowhite:`#ffdead`,navy:`#000080`,oldlace:`#fdf5e6`,olive:`#808000`,olivedrab:`#6b8e23`,orange:`#ffa500`,orangered:`#ff4500`,orchid:`#da70d6`,palegoldenrod:`#eee8aa`,palegreen:`#98fb98`,paleturquoise:`#afeeee`,palevioletred:`#db7093`,papayawhip:`#ffefd5`,peachpuff:`#ffdab9`,peru:`#cd853f`,pink:`#ffc0cb`,plum:`#dda0dd`,powderblue:`#b0e0e6`,purple:`#800080`,rebeccapurple:`#663399`,red:`#ff0000`,rosybrown:`#bc8f8f`,royalblue:`#4169e1`,saddlebrown:`#8b4513`,salmon:`#fa8072`,sandybrown:`#f4a460`,seagreen:`#2e8b57`,seashell:`#fff5ee`,sienna:`#a0522d`,silver:`#c0c0c0`,skyblue:`#87ceeb`,slateblue:`#6a5acd`,slategray:`#708090`,slategrey:`#708090`,snow:`#fffafa`,springgreen:`#00ff7f`,steelblue:`#4682b4`,tan:`#d2b48c`,teal:`#008080`,thistle:`#d8bfd8`,tomato:`#ff6347`,turquoise:`#40e0d0`,violet:`#ee82ee`,wheat:`#f5deb3`,white:`#ffffff`,whitesmoke:`#f5f5f5`,yellow:`#ffff00`,yellowgreen:`#9acd3`},Po={red:26,green:26,blue:26,alpha:1},Fo=e=>{if(!e)return{backgroundColor:`#1a1a1a`,color:`#fffffa`};let t=Ao(e);if(!t)return{backgroundColor:`#1a1a1a`,color:`#fffffa`};let n=Oo(Po,t,1-t.alpha),r=Mo(n)?`black`:`#fffffa`;return{backgroundColor:ko(n),color:r}},Io=e=>e.filter(Boolean).join(` `),Lo=`––:––:––`,Ro=`––:––`;function zo(e,t){let n=Ao(e);return n?(n.alpha=t,ko(n)):e}var Bo=`4.13.0-beta.1`,Vo=`https://www.github.com/cpvalente/ontime`,Ho=`https://api.github.com/repos/cpvalente/ontime/releases/latest`,Uo=`https://www.getontime.no`,Wo=`https://discord.com/invite/eje3CSUEXm`,Go=`https://www.reddit.com/r/ontimeapp/`,Ko=`https://www.youtube.com/@ontimeapp`,qo=`https://docs.getontime.no`,Jo=`https://docs.getontime.no/features/custom-fields/`,Yo=`https://github.com/sponsors/cpvalente`,Xo=`https://buymeacoffee.com/cpvalente`,Zo=Bo,Qo=window.location.hostname,$o=Qo===`localhost`||Qo===`127.0.0.1`,es=document.querySelector(`base`)?.hasAttribute(`data-is-cloud`),ts=`ontouchstart`in window||navigator.maxTouchPoints>0,ns=document.fullscreenEnabled,rs=ss(),is=os(`http`,``),as=os(`ws`,`ws`);function os(e,t){let n=new URL(window.location.origin);e===`ws`&&(n.protocol=window.location.protocol===`https:`?`wss`:`ws`),n.pathname=rs?`${rs}/${t}`:t;let r=n.toString();return r.endsWith(`/`)?r.slice(0,-1):r}function ss(){let e=document.querySelector(`base`)?.getAttribute(`href`)??``;return e.endsWith(`/`)?e.slice(0,-1):e}var cs=us(),ls=()=>new URLSearchParams(window.location.search).get(`n`)===`1`;function us(){let e=document.cookie.split(`; `).find(e=>e.startsWith(`token=`));if(e)try{let{scope:t}=JSON.parse(e.split(`=`)[1]);return t}catch{return`rw`}return`rw`}var ds=[`appinfo`],fs=[`appSettings`],ps=[`appServerPort`],ms=[`appVersion`],hs=[`automation`],gs=[`customFields`],_s=[`customViews`],vs=[`project`],ys=[`projectList`],bs=[`projectRundowns`],xs=[`rundown`],Ss=[`rundown`,`current`],Cs=e=>[`rundown`,e],ws=[`runtimeStore`],Ts=[`urlpresets`],Es=[`viewSettings`],Ds=[`cssOverride`],Os=[`clientList`],ks=[`report`],As=[`translation`],js=`${is}/data`,Ms=`user`,Ns=`translations/translations.json`,Ps=`${is}/${Ms}/logo`,Fs=`${is}/${Ms}/${Ns}`;export{wo as $,wa as $t,qo as A,ne as An,Ja as At,ns as B,c as Bn,La as Bt,Ps as C,De as Cn,eo as Ct,Xo as D,b as Dn,Ya as Dt,rs as E,_e as En,Za as Et,es as F,O as Fn,Ua as Ft,zo as G,Ma as Gt,as as H,o as Hn,Ia as Ht,ts as I,de as In,Va as It,Lo as J,Aa as Jt,Io as K,ja as Kt,is as L,j as Ln,Ba as Lt,Yo as M,y as Mn,Ga as Mt,Vo as N,T as Nn,Wa as Nt,Jo as O,ie as On,Xa as Ot,$o as P,C as Pn,Ha as Pt,Eo as Q,Ea as Qt,cs as R,p as Rn,za as Rt,Cs as S,je as Sn,to as St,Zo as T,xe as Tn,Qa as Tt,Ko as U,i as Un,Pa as Ut,Uo as V,s as Vn,Fa as Vt,Bo as W,Na as Wt,ko as X,Oa as Xt,Ro as Y,Ta as Yt,Ao as Z,Da as Zt,As as _,Q as _n,oo as _t,hs as a,va as an,vo as at,js as b,gt as bn,no as bt,Ss as c,ha as cn,go as ct,vs as d,da as dn,mo as dt,xa as en,To as et,ys as f,fa as fn,fo as ft,ws as g,$ as gn,so as gt,xs as h,la as hn,lo as ht,ms as i,ya as in,bo as it,ls as j,te as jn,qa as jt,Wo as k,re as kn,Ka as kt,gs as l,ma as ln,po as lt,ks as m,ca as mn,co as mt,ps as n,Ca as nn,So as nt,Os as o,_a as on,yo as ot,bs as p,ua as pn,uo as pt,Fo as q,ka as qt,fs as r,ba as rn,xo as rt,Ds as s,ga as sn,_o as st,ds as t,Sa as tn,Co as tt,_s as u,pa as un,ho as ut,Ts as v,jt as vn,ao as vt,Ho as w,Te as wn,$a as wt,Fs as x,Re as xn,ro as xt,Es as y,_t as yn,io as yt,Go as z,l as zn,Ra as zt};
//# sourceMappingURL=constants-8b9Q9Bj6.js.map