conductor-remote 1.108.0 → 1.108.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,59 @@
1
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))l(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const c of o.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&l(c)}).observe(document,{childList:!0,subtree:!0});function a(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function l(s){if(s.ep)return;s.ep=!0;const o=a(s);fetch(s.href,o)}})();function rs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var v2={exports:{}},Mi={};var S8;function Fg(){if(S8)return Mi;S8=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(l,s,o){var c=null;if(o!==void 0&&(c=""+o),s.key!==void 0&&(c=""+s.key),"key"in s){o={};for(var d in s)d!=="key"&&(o[d]=s[d])}else o=s;return s=o.ref,{$$typeof:e,type:l,key:c,ref:s!==void 0?s:null,props:o}}return Mi.Fragment=t,Mi.jsx=a,Mi.jsxs=a,Mi}var M8;function Sg(){return M8||(M8=1,v2.exports=Fg()),v2.exports}var x=Sg(),ls=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(){}},Mg=class extends ls{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},$u=new Mg,Ng={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},_g=class{#e=Ng;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Nr=new _g;function jg(e){setTimeout(e,0)}var Tg=typeof window>"u"||"Deno"in globalThis;function X0(){}function zg(e,t){return typeof e=="function"?e(t):e}function ou(e){return typeof e=="number"&&e>=0&&e!==1/0}function s6(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ar(e,t){return typeof e=="function"?e(t):e}function xn(e,t){return typeof e=="function"?e(t):e}function N8(e,t){const{type:a="all",exact:l,fetchStatus:s,predicate:o,queryKey:c,stale:d}=e;if(c){if(l){if(t.queryHash!==qu(c,t.options))return!1}else if(!Qi(t.queryKey,c))return!1}if(a!=="all"){const f=t.isActive();if(a==="active"&&!f||a==="inactive"&&f)return!1}return!(typeof d=="boolean"&&t.isStale()!==d||s&&s!==t.state.fetchStatus||o&&!o(t))}function _8(e,t){const{exact:a,status:l,predicate:s,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(a){if(qi(t.options.mutationKey)!==qi(o))return!1}else if(!Qi(t.options.mutationKey,o))return!1}return!(l&&t.state.status!==l||s&&!s(t))}function qu(e,t){return(t?.queryKeyHashFn||qi)(e)}function qi(e){return JSON.stringify(e,(t,a)=>uu(a)?Object.keys(a).sort().reduce((l,s)=>(l[s]=a[s],l),{}):a)}function Qi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(a=>Qi(e[a],t[a])):!1}var Rg=Object.prototype.hasOwnProperty;function o6(e,t,a=0){if(e===t)return e;if(a>500)return t;const l=j8(e)&&j8(t);if(!l&&!(uu(e)&&uu(t)))return t;const o=(l?e:Object.keys(e)).length,c=l?t:Object.keys(t),d=c.length,f=l?new Array(d):{};let h=0;for(let m=0;m<d;m++){const p=l?m:c[m],y=e[p],b=t[p];if(y===b){f[p]=y,(l?m<o:Rg.call(e,p))&&h++;continue}if(y===null||b===null||typeof y!="object"||typeof b!="object"){f[p]=b;continue}const v=o6(y,b,a+1);f[p]=v,v===y&&h++}return o===d&&h===o?e:f}function cu(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const a in e)if(e[a]!==t[a])return!1;return!0}function j8(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function uu(e){if(!T8(e))return!1;const t=e.constructor;if(t===void 0)return!0;const a=t.prototype;return!(!T8(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function T8(e){return Object.prototype.toString.call(e)==="[object Object]"}function Og(e){return new Promise(t=>{Nr.setTimeout(t,e)})}function xu(e,t,a){return typeof a.structuralSharing=="function"?a.structuralSharing(e,t):a.structuralSharing!==!1?o6(e,t):t}function Lg(e){return e}function Pg(e,t,a=0){const l=[...e,t];return a&&l.length>a?l.slice(1):l}function Gg(e,t,a=0){const l=[t,...e];return a&&l.length>a?l.slice(0,-1):l}var Qu=Symbol();function c6(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Qu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function u6(e,t){return typeof e=="function"?e(...t):!!e}function Hg(e,t,a){let l=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=t(),l||(l=!0,s.aborted?a():s.addEventListener("abort",a,{once:!0})),s)}),e}var Yi=(()=>{let e=()=>Tg;return{isServer(){return e()},setIsServer(t){e=t}}})();function du(){let e,t;const a=new Promise((s,o)=>{e=s,t=o});a.status="pending",a.catch(()=>{});function l(s){Object.assign(a,s),delete a.resolve,delete a.reject}return a.resolve=s=>{l({status:"fulfilled",value:s}),e(s)},a.reject=s=>{l({status:"rejected",reason:s}),t(s)},a}var Vg=jg;function Ig(){let e=[],t=0,a=d=>{d()},l=d=>{d()},s=Vg;const o=d=>{t?e.push(d):s(()=>{a(d)})},c=()=>{const d=e;e=[],d.length&&s(()=>{l(()=>{d.forEach(f=>{a(f)})})})};return{batch:d=>{let f;t++;try{f=d()}finally{t--,t||c()}return f},batchCalls:d=>(...f)=>{o(()=>{d(...f)})},schedule:o,setNotifyFunction:d=>{a=d},setBatchNotifyFunction:d=>{l=d},setScheduler:d=>{s=d}}}var N0=Ig(),Ug=class extends ls{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(a=>{a(e)}))}isOnline(){return this.#e}},W1=new Ug;function Zg(e){return Math.min(1e3*2**e,3e4)}function x6(e){return(e??"online")==="online"?W1.isOnline():!0}var fu=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function d6(e){let t=!1,a=0,l;const s=du(),o=()=>s.status!=="pending",c=k=>{if(!o()){const C=new fu(k);y(C),e.onCancel?.(C)}},d=()=>{t=!0},f=()=>{t=!1},h=()=>$u.isFocused()&&(e.networkMode==="always"||W1.isOnline())&&e.canRun(),m=()=>x6(e.networkMode)&&e.canRun(),p=k=>{o()||(l?.(),s.resolve(k))},y=k=>{o()||(l?.(),s.reject(k))},b=()=>new Promise(k=>{l=C=>{(o()||h())&&k(C)},e.onPause?.()}).then(()=>{l=void 0,o()||e.onContinue?.()}),v=()=>{if(o())return;let k;const C=a===0?e.initialPromise:void 0;try{k=C??e.fn()}catch(A){k=Promise.reject(A)}Promise.resolve(k).then(p).catch(A=>{if(o())return;const F=e.retry??(Yi.isServer()?0:3),M=e.retryDelay??Zg,N=typeof M=="function"?M(a,A):M,S=F===!0||typeof F=="number"&&a<F||typeof F=="function"&&F(a,A);if(t||!S){y(A);return}a++,e.onFail?.(a,A),Og(N).then(()=>h()?void 0:b()).then(()=>{t?y(A):v()})})};return{promise:s,status:()=>s.status,cancel:c,continue:()=>(l?.(),s),cancelRetry:d,continueRetry:f,canStart:m,start:()=>(m()?v():b().then(v),s)}}var f6=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ou(this.gcTime)&&(this.#e=Nr.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Yi.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(Nr.clearTimeout(this.#e),this.#e=void 0)}};function $g(e){return{onFetch:(t,a)=>{const l=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,o=t.state.data?.pages||[],c=t.state.data?.pageParams||[];let d={pages:[],pageParams:[]},f=0;const h=async()=>{let m=!1;const p=v=>{Hg(v,()=>t.signal,()=>m=!0)},y=c6(t.options,t.fetchOptions),b=async(v,k,C)=>{if(m)return Promise.reject(t.signal.reason);if(k==null&&v.pages.length)return Promise.resolve(v);const F=(()=>{const D={client:t.client,queryKey:t.queryKey,pageParam:k,direction:C?"backward":"forward",meta:t.options.meta};return p(D),D})(),M=await y(F),{maxPages:N}=t.options,S=C?Gg:Pg;return{pages:S(v.pages,M,N),pageParams:S(v.pageParams,k,N)}};if(s&&o.length){const v=s==="backward",k=v?qg:z8,C={pages:o,pageParams:c},A=k(l,C);d=await b(C,A,v)}else{const v=e??o.length;do{const k=f===0?c[0]??l.initialPageParam:z8(l,d);if(f>0&&k==null)break;d=await b(d,k),f++}while(f<v)}return d};t.options.persister?t.fetchFn=()=>t.options.persister?.(h,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},a):t.fetchFn=h}}}function z8(e,{pages:t,pageParams:a}){const l=t.length-1;return t.length>0?e.getNextPageParam(t[l],t,a[l],a):void 0}function qg(e,{pages:t,pageParams:a}){return t.length>0?e.getPreviousPageParam?.(t[0],t,a[0],a):void 0}var Qg=class extends f6{#e;#t;#n;#a;#l;#r;#s;#i;constructor(e){super(),this.#i=!1,this.#s=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#l=e.client,this.#a=this.#l.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=O8(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#s,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=O8(this.options);t.data!==void 0&&(this.setState(R8(t.data,t.dataUpdatedAt)),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#a.remove(this)}setData(e,t){const a=xu(this.state.data,e,this.options);return this.#o({data:a,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),a}setState(e){this.#o({type:"setState",state:e})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(X0).catch(X0):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>xn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Qu||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>ar(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:!s6(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#a.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#i||this.#u()?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#a.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const a=new AbortController,l=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#i=!0,a.signal)})},s=()=>{const f=c6(this.options,t),m=(()=>{const p={client:this.#l,queryKey:this.queryKey,meta:this.meta};return l(p),p})();return this.#i=!1,this.options.persister?this.options.persister(f,m,this):f(m)},c=(()=>{const f={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:s};return l(f),f})();(this.#e==="infinite"?$g(this.options.pages):this.options.behavior)?.onFetch(c,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#o({type:"fetch",meta:c.fetchOptions?.meta}),this.#r=d6({initialPromise:t?.initialPromise,fn:c.fetchFn,onCancel:f=>{f instanceof fu&&f.revert&&this.setState({...this.#n,fetchStatus:"idle"}),a.abort()},onFail:(f,h)=>{this.#o({type:"failed",failureCount:f,error:h})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{const f=await this.#r.start();if(f===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(f),this.#a.config.onSuccess?.(f,this),this.#a.config.onSettled?.(f,this.state.error,this),f}catch(f){if(f instanceof fu){if(f.silent)return this.#r.promise;if(f.revert){if(this.state.data===void 0)throw f;return this.state.data}}throw this.#o({type:"error",error:f}),this.#a.config.onError?.(f,this),this.#a.config.onSettled?.(this.state.data,f,this),f}finally{this.scheduleGc()}}#o(e){const t=a=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...h6(a.data,this.options),fetchMeta:e.meta??null};case"success":const l={...a,...R8(e.data,e.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?l:void 0,l;case"error":const s=e.error;return{...a,error:s,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=t(this.state),N0.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#a.notify({query:this,type:"updated",action:e})})}};function h6(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:x6(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function R8(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function O8(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,a=t!==void 0,l=a?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:a?l??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}var Yg=class extends ls{constructor(e,t){super(),this.options=t,this.#e=e,this.#i=null,this.#s=du(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#a=void 0;#l;#r;#s;#i;#u;#o;#h;#x;#d;#c;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),L8(this.#t,this.options)?this.#f():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return hu(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return hu(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#v(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,a=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof xn(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#C(),this.#t.setOptions(this.options),t._defaulted&&!cu(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const l=this.hasListeners();l&&P8(this.#t,a,this.options,t)&&this.#f(),this.updateResult(),l&&(this.#t!==a||xn(this.options.enabled,this.#t)!==xn(t.enabled,this.#t)||ar(this.options.staleTime,this.#t)!==ar(t.staleTime,this.#t))&&this.#m();const s=this.#g();l&&(this.#t!==a||xn(this.options.enabled,this.#t)!==xn(t.enabled,this.#t)||s!==this.#c)&&this.#E(s)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(t,e);return Xg(this,a)&&(this.#a=a,this.#r=this.options,this.#l=this.#t.state),a}getCurrentResult(){return this.#a}trackResult(e,t){return new Proxy(e,{get:(a,l)=>(this.trackProp(l),t?.(l),l==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#s.status==="pending"&&this.#s.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(a,l))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),a=this.#e.getQueryCache().build(this.#e,t);return a.fetch().then(()=>this.createResult(a,t))}fetch(e){return this.#f({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#f(e){this.#C();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(X0)),t}#m(){this.#b();const e=ar(this.options.staleTime,this.#t);if(Yi.isServer()||this.#a.isStale||!ou(e))return;const a=s6(this.#a.dataUpdatedAt,e)+1;this.#x=Nr.setTimeout(()=>{this.#a.isStale||this.updateResult()},a)}#g(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#E(e){this.#v(),this.#c=e,!(Yi.isServer()||xn(this.options.enabled,this.#t)===!1||!ou(this.#c)||this.#c===0)&&(this.#d=Nr.setInterval(()=>{(this.options.refetchIntervalInBackground||$u.isFocused())&&this.#f()},this.#c))}#y(){this.#m(),this.#E(this.#g())}#b(){this.#x!==void 0&&(Nr.clearTimeout(this.#x),this.#x=void 0)}#v(){this.#d!==void 0&&(Nr.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){const a=this.#t,l=this.options,s=this.#a,o=this.#l,c=this.#r,f=e!==a?e.state:this.#n,{state:h}=e;let m={...h},p=!1,y;if(t._optimisticResults){const O=this.hasListeners(),P=!O&&L8(e,t),T=O&&P8(e,a,t,l);(P||T)&&(m={...m,...h6(h.data,e.options)}),t._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:b,errorUpdatedAt:v,status:k}=m;y=m.data;let C=!1;if(t.placeholderData!==void 0&&y===void 0&&k==="pending"){let O;s?.isPlaceholderData&&t.placeholderData===c?.placeholderData?(O=s.data,C=!0):O=typeof t.placeholderData=="function"?t.placeholderData(this.#h?.state.data,this.#h):t.placeholderData,O!==void 0&&(k="success",y=xu(s?.data,O,t),p=!0)}if(t.select&&y!==void 0&&!C)if(s&&y===o?.data&&t.select===this.#u)y=this.#o;else try{this.#u=t.select,y=t.select(y),y=xu(s?.data,y,t),this.#o=y,this.#i=null}catch(O){this.#i=O}this.#i&&(b=this.#i,y=this.#o,v=Date.now(),k="error");const A=m.fetchStatus==="fetching",F=k==="pending",M=k==="error",N=F&&A,S=y!==void 0,R={status:k,fetchStatus:m.fetchStatus,isPending:F,isSuccess:k==="success",isError:M,isInitialLoading:N,isLoading:N,data:y,dataUpdatedAt:m.dataUpdatedAt,error:b,errorUpdatedAt:v,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:m.dataUpdateCount>f.dataUpdateCount||m.errorUpdateCount>f.errorUpdateCount,isFetching:A,isRefetching:A&&!F,isLoadingError:M&&!S,isPaused:m.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:M&&S,isStale:Yu(e,t),refetch:this.refetch,promise:this.#s,isEnabled:xn(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const O=R.data!==void 0,P=R.status==="error"&&!O,T=re=>{P?re.reject(R.error):O&&re.resolve(R.data)},V=()=>{const re=this.#s=R.promise=du();T(re)},Z=this.#s;switch(Z.status){case"pending":e.queryHash===a.queryHash&&T(Z);break;case"fulfilled":(P||R.data!==Z.value)&&V();break;case"rejected":(!P||R.error!==Z.reason)&&V();break}}return R}updateResult(){const e=this.#a,t=this.createResult(this.#t,this.options);if(this.#l=this.#t.state,this.#r=this.options,this.#l.data!==void 0&&(this.#h=this.#t),cu(t,e))return;this.#a=t;const a=()=>{if(!e)return!0;const{notifyOnChangeProps:l}=this.options,s=typeof l=="function"?l():l;if(s==="all"||!s&&!this.#p.size)return!0;const o=new Set(s??this.#p);return this.options.throwOnError&&o.add("error"),Object.keys(this.#a).some(c=>{const d=c;return this.#a[d]!==e[d]&&o.has(d)})};this.#k({listeners:a()})}#C(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#k(e){N0.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#a)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function Kg(e,t){return xn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&xn(t.retryOnMount,e)===!1)}function L8(e,t){return Kg(e,t)||e.state.data!==void 0&&hu(e,t,t.refetchOnMount)}function hu(e,t,a){if(xn(t.enabled,e)!==!1&&ar(t.staleTime,e)!=="static"){const l=typeof a=="function"?a(e):a;return l==="always"||l!==!1&&Yu(e,t)}return!1}function P8(e,t,a,l){return(e!==t||xn(l.enabled,e)===!1)&&(!a.suspense||e.state.status!=="error")&&Yu(e,a)}function Yu(e,t){return xn(t.enabled,e)!==!1&&e.isStaleByTime(ar(t.staleTime,e))}function Xg(e,t){return!cu(e.getCurrentResult(),t)}var Wg=class extends f6{#e;#t;#n;#a;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Jg(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#l({type:"continue"})},a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=d6({fn:()=>this.options.mutationFn?this.options.mutationFn(e,a):Promise.reject(new Error("No mutationFn found")),onFail:(o,c)=>{this.#l({type:"failed",failureCount:o,error:c})},onPause:()=>{this.#l({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const l=this.state.status==="pending",s=!this.#a.canStart();try{if(l)t();else{this.#l({type:"pending",variables:e,isPaused:s}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,a);const c=await this.options.onMutate?.(e,a);c!==this.state.context&&this.#l({type:"pending",context:c,variables:e,isPaused:s})}const o=await this.#a.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,a),await this.options.onSuccess?.(o,e,this.state.context,a),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(o,null,e,this.state.context,a),this.#l({type:"success",data:o}),o}catch(o){try{await this.#n.config.onError?.(o,e,this.state.context,this,a)}catch(c){Promise.reject(c)}try{await this.options.onError?.(o,e,this.state.context,a)}catch(c){Promise.reject(c)}try{await this.#n.config.onSettled?.(void 0,o,this.state.variables,this.state.context,this,a)}catch(c){Promise.reject(c)}try{await this.options.onSettled?.(void 0,o,e,this.state.context,a)}catch(c){Promise.reject(c)}throw this.#l({type:"error",error:o}),o}finally{this.#n.runNext(this)}}#l(e){const t=a=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),N0.batch(()=>{this.#t.forEach(a=>{a.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function Jg(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var eE=class extends ls{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,a){const l=new Wg({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:a});return this.add(l),l}add(e){this.#e.add(e);const t=F1(e);if(typeof t=="string"){const a=this.#t.get(t);a?a.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=F1(e);if(typeof t=="string"){const a=this.#t.get(t);if(a)if(a.length>1){const l=a.indexOf(e);l!==-1&&a.splice(l,1)}else a[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=F1(e);if(typeof t=="string"){const l=this.#t.get(t)?.find(s=>s.state.status==="pending");return!l||l===e}else return!0}runNext(e){const t=F1(e);return typeof t=="string"?this.#t.get(t)?.find(l=>l!==e&&l.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){N0.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(a=>_8(t,a))}findAll(e={}){return this.getAll().filter(t=>_8(e,t))}notify(e){N0.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return N0.batch(()=>Promise.all(e.map(t=>t.continue().catch(X0))))}};function F1(e){return e.options.scope?.id}var tE=class extends ls{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,a){const l=t.queryKey,s=t.queryHash??qu(l,t);let o=this.get(s);return o||(o=new Qg({client:e,queryKey:l,queryHash:s,options:e.defaultQueryOptions(t),state:a,defaultOptions:e.getQueryDefaults(l)}),this.add(o)),o}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){N0.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(a=>N8(t,a))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(a=>N8(e,a)):t}notify(e){N0.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){N0.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){N0.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},nE=class{#e;#t;#n;#a;#l;#r;#s;#i;constructor(e={}){this.#e=e.queryCache||new tE,this.#t=e.mutationCache||new eE,this.#n=e.defaultOptions||{},this.#a=new Map,this.#l=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#s=$u.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=W1.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#s?.(),this.#s=void 0,this.#i?.(),this.#i=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),a=this.#e.build(this,t),l=a.state.data;return l===void 0?this.fetchQuery(e):(e.revalidateIfStale&&a.isStaleByTime(ar(t.staleTime,a))&&this.prefetchQuery(t),Promise.resolve(l))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:a})=>{const l=a.data;return[t,l]})}setQueryData(e,t,a){const l=this.defaultQueryOptions({queryKey:e}),o=this.#e.get(l.queryHash)?.state.data,c=zg(t,o);if(c!==void 0)return this.#e.build(this,l).setData(c,{...a,manual:!0})}setQueriesData(e,t,a){return N0.batch(()=>this.#e.findAll(e).map(({queryKey:l})=>[l,this.setQueryData(l,t,a)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;N0.batch(()=>{t.findAll(e).forEach(a=>{t.remove(a)})})}resetQueries(e,t){const a=this.#e;return N0.batch(()=>(a.findAll(e).forEach(l=>{l.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const a={revert:!0,...t},l=N0.batch(()=>this.#e.findAll(e).map(s=>s.cancel(a)));return Promise.all(l).then(X0).catch(X0)}invalidateQueries(e,t={}){return N0.batch(()=>(this.#e.findAll(e).forEach(a=>{a.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const a={...t,cancelRefetch:t.cancelRefetch??!0},l=N0.batch(()=>this.#e.findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let o=s.fetch(void 0,a);return a.throwOnError||(o=o.catch(X0)),s.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(l).then(X0)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const a=this.#e.build(this,t);return a.isStaleByTime(ar(t.staleTime,a))?a.fetch(t):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(X0).catch(X0)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(X0).catch(X0)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return W1.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#a.set(qi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#a.values()],a={};return t.forEach(l=>{Qi(e,l.queryKey)&&Object.assign(a,l.defaultOptions)}),a}setMutationDefaults(e,t){this.#l.set(qi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#l.values()],a={};return t.forEach(l=>{Qi(e,l.mutationKey)&&Object.assign(a,l.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=qu(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Qu&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},C2={exports:{}},We={};var G8;function aE(){if(G8)return We;G8=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),y=Symbol.iterator;function b(L){return L===null||typeof L!="object"?null:(L=y&&L[y]||L["@@iterator"],typeof L=="function"?L:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,C={};function A(L,$,z){this.props=L,this.context=$,this.refs=C,this.updater=z||v}A.prototype.isReactComponent={},A.prototype.setState=function(L,$){if(typeof L!="object"&&typeof L!="function"&&L!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,L,$,"setState")},A.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function F(){}F.prototype=A.prototype;function M(L,$,z){this.props=L,this.context=$,this.refs=C,this.updater=z||v}var N=M.prototype=new F;N.constructor=M,k(N,A.prototype),N.isPureReactComponent=!0;var S=Array.isArray;function D(){}var R={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function P(L,$,z){var ie=z.ref;return{$$typeof:e,type:L,key:$,ref:ie!==void 0?ie:null,props:z}}function T(L,$){return P(L.type,$,L.props)}function V(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function Z(L){var $={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(z){return $[z]})}var re=/\/+/g;function ee(L,$){return typeof L=="object"&&L!==null&&L.key!=null?Z(""+L.key):$.toString(36)}function Q(L){switch(L.status){case"fulfilled":return L.value;case"rejected":throw L.reason;default:switch(typeof L.status=="string"?L.then(D,D):(L.status="pending",L.then(function($){L.status==="pending"&&(L.status="fulfilled",L.value=$)},function($){L.status==="pending"&&(L.status="rejected",L.reason=$)})),L.status){case"fulfilled":return L.value;case"rejected":throw L.reason}}throw L}function G(L,$,z,ie,be){var X=typeof L;(X==="undefined"||X==="boolean")&&(L=null);var me=!1;if(L===null)me=!0;else switch(X){case"bigint":case"string":case"number":me=!0;break;case"object":switch(L.$$typeof){case e:case t:me=!0;break;case m:return me=L._init,G(me(L._payload),$,z,ie,be)}}if(me)return be=be(L),me=ie===""?"."+ee(L,0):ie,S(be)?(z="",me!=null&&(z=me.replace(re,"$&/")+"/"),G(be,$,z,"",function(tt){return tt})):be!=null&&(V(be)&&(be=T(be,z+(be.key==null||L&&L.key===be.key?"":(""+be.key).replace(re,"$&/")+"/")+me)),$.push(be)),1;me=0;var He=ie===""?".":ie+":";if(S(L))for(var Be=0;Be<L.length;Be++)ie=L[Be],X=He+ee(ie,Be),me+=G(ie,$,z,X,be);else if(Be=b(L),typeof Be=="function")for(L=Be.call(L),Be=0;!(ie=L.next()).done;)ie=ie.value,X=He+ee(ie,Be++),me+=G(ie,$,z,X,be);else if(X==="object"){if(typeof L.then=="function")return G(Q(L),$,z,ie,be);throw $=String(L),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}return me}function Y(L,$,z){if(L==null)return L;var ie=[],be=0;return G(L,ie,"","",function(X){return $.call(z,X,be++)}),ie}function le(L){if(L._status===-1){var $=L._result;$=$(),$.then(function(z){(L._status===0||L._status===-1)&&(L._status=1,L._result=z)},function(z){(L._status===0||L._status===-1)&&(L._status=2,L._result=z)}),L._status===-1&&(L._status=0,L._result=$)}if(L._status===1)return L._result.default;throw L._result}var xe=typeof reportError=="function"?reportError:function(L){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var $=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof L=="object"&&L!==null&&typeof L.message=="string"?String(L.message):String(L),error:L});if(!window.dispatchEvent($))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",L);return}console.error(L)},j={map:Y,forEach:function(L,$,z){Y(L,function(){$.apply(this,arguments)},z)},count:function(L){var $=0;return Y(L,function(){$++}),$},toArray:function(L){return Y(L,function($){return $})||[]},only:function(L){if(!V(L))throw Error("React.Children.only expected to receive a single React element child.");return L}};return We.Activity=p,We.Children=j,We.Component=A,We.Fragment=a,We.Profiler=s,We.PureComponent=M,We.StrictMode=l,We.Suspense=f,We.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=R,We.__COMPILER_RUNTIME={__proto__:null,c:function(L){return R.H.useMemoCache(L)}},We.cache=function(L){return function(){return L.apply(null,arguments)}},We.cacheSignal=function(){return null},We.cloneElement=function(L,$,z){if(L==null)throw Error("The argument must be a React element, but you passed "+L+".");var ie=k({},L.props),be=L.key;if($!=null)for(X in $.key!==void 0&&(be=""+$.key),$)!O.call($,X)||X==="key"||X==="__self"||X==="__source"||X==="ref"&&$.ref===void 0||(ie[X]=$[X]);var X=arguments.length-2;if(X===1)ie.children=z;else if(1<X){for(var me=Array(X),He=0;He<X;He++)me[He]=arguments[He+2];ie.children=me}return P(L.type,be,ie)},We.createContext=function(L){return L={$$typeof:c,_currentValue:L,_currentValue2:L,_threadCount:0,Provider:null,Consumer:null},L.Provider=L,L.Consumer={$$typeof:o,_context:L},L},We.createElement=function(L,$,z){var ie,be={},X=null;if($!=null)for(ie in $.key!==void 0&&(X=""+$.key),$)O.call($,ie)&&ie!=="key"&&ie!=="__self"&&ie!=="__source"&&(be[ie]=$[ie]);var me=arguments.length-2;if(me===1)be.children=z;else if(1<me){for(var He=Array(me),Be=0;Be<me;Be++)He[Be]=arguments[Be+2];be.children=He}if(L&&L.defaultProps)for(ie in me=L.defaultProps,me)be[ie]===void 0&&(be[ie]=me[ie]);return P(L,X,be)},We.createRef=function(){return{current:null}},We.forwardRef=function(L){return{$$typeof:d,render:L}},We.isValidElement=V,We.lazy=function(L){return{$$typeof:m,_payload:{_status:-1,_result:L},_init:le}},We.memo=function(L,$){return{$$typeof:h,type:L,compare:$===void 0?null:$}},We.startTransition=function(L){var $=R.T,z={};R.T=z;try{var ie=L(),be=R.S;be!==null&&be(z,ie),typeof ie=="object"&&ie!==null&&typeof ie.then=="function"&&ie.then(D,xe)}catch(X){xe(X)}finally{$!==null&&z.types!==null&&($.types=z.types),R.T=$}},We.unstable_useCacheRefresh=function(){return R.H.useCacheRefresh()},We.use=function(L){return R.H.use(L)},We.useActionState=function(L,$,z){return R.H.useActionState(L,$,z)},We.useCallback=function(L,$){return R.H.useCallback(L,$)},We.useContext=function(L){return R.H.useContext(L)},We.useDebugValue=function(){},We.useDeferredValue=function(L,$){return R.H.useDeferredValue(L,$)},We.useEffect=function(L,$){return R.H.useEffect(L,$)},We.useEffectEvent=function(L){return R.H.useEffectEvent(L)},We.useId=function(){return R.H.useId()},We.useImperativeHandle=function(L,$,z){return R.H.useImperativeHandle(L,$,z)},We.useInsertionEffect=function(L,$){return R.H.useInsertionEffect(L,$)},We.useLayoutEffect=function(L,$){return R.H.useLayoutEffect(L,$)},We.useMemo=function(L,$){return R.H.useMemo(L,$)},We.useOptimistic=function(L,$){return R.H.useOptimistic(L,$)},We.useReducer=function(L,$,z){return R.H.useReducer(L,$,z)},We.useRef=function(L){return R.H.useRef(L)},We.useState=function(L){return R.H.useState(L)},We.useSyncExternalStore=function(L,$,z){return R.H.useSyncExternalStore(L,$,z)},We.useTransition=function(){return R.H.useTransition()},We.version="19.2.7",We}var H8;function Ku(){return H8||(H8=1,C2.exports=aE()),C2.exports}var w=Ku();const S1=rs(w);var p6=w.createContext(void 0),O0=e=>{const t=w.useContext(p6);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},rE=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),x.jsx(p6.Provider,{value:e,children:t})),m6=w.createContext(!1),lE=()=>w.useContext(m6);m6.Provider;function iE(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var sE=w.createContext(iE()),oE=()=>w.useContext(sE),cE=(e,t,a)=>{const l=a?.state.error&&typeof e.throwOnError=="function"?u6(e.throwOnError,[a.state.error,a]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||l)&&(t.isReset()||(e.retryOnMount=!1))},uE=e=>{w.useEffect(()=>{e.clearReset()},[e])},xE=({result:e,errorResetBoundary:t,throwOnError:a,query:l,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&l&&(s&&e.data===void 0||u6(a,[e.error,l])),dE=e=>{if(e.suspense){const a=s=>s==="static"?s:Math.max(s??1e3,1e3),l=e.staleTime;e.staleTime=typeof l=="function"?(...s)=>a(l(...s)):a(l),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},fE=(e,t)=>e.isLoading&&e.isFetching&&!t,hE=(e,t)=>e?.suspense&&t.isPending,V8=(e,t,a)=>t.fetchOptimistic(e).catch(()=>{a.clearReset()});function pE(e,t,a){const l=lE(),s=oE(),o=O0(),c=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(c);const d=o.getQueryCache().get(c.queryHash),f=e.subscribed!==!1;c._optimisticResults=l?"isRestoring":f?"optimistic":void 0,dE(c),cE(c,s,d),uE(s);const h=!o.getQueryCache().get(c.queryHash),[m]=w.useState(()=>new t(o,c)),p=m.getOptimisticResult(c),y=!l&&f;if(w.useSyncExternalStore(w.useCallback(b=>{const v=y?m.subscribe(N0.batchCalls(b)):X0;return m.updateResult(),v},[m,y]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),w.useEffect(()=>{m.setOptions(c)},[c,m]),hE(c,p))throw V8(c,m,s);if(xE({result:p,errorResetBoundary:s,throwOnError:c.throwOnError,query:d,suspense:c.suspense}))throw p.error;return o.getDefaultOptions().queries?._experimental_afterQuery?.(c,p),c.experimental_prefetchInRender&&!Yi.isServer()&&fE(p,l)&&(h?V8(c,m,s):d?.promise)?.catch(X0).finally(()=>{m.updateResult()}),c.notifyOnChangeProps?p:m.trackResult(p)}function h0(e,t){return pE(e,Yg)}var k2={exports:{}},Ni={},A2={exports:{}},B2={};var I8;function mE(){return I8||(I8=1,(function(e){function t(G,Y){var le=G.length;G.push(Y);e:for(;0<le;){var xe=le-1>>>1,j=G[xe];if(0<s(j,Y))G[xe]=Y,G[le]=j,le=xe;else break e}}function a(G){return G.length===0?null:G[0]}function l(G){if(G.length===0)return null;var Y=G[0],le=G.pop();if(le!==Y){G[0]=le;e:for(var xe=0,j=G.length,L=j>>>1;xe<L;){var $=2*(xe+1)-1,z=G[$],ie=$+1,be=G[ie];if(0>s(z,le))ie<j&&0>s(be,z)?(G[xe]=be,G[ie]=le,xe=ie):(G[xe]=z,G[$]=le,xe=$);else if(ie<j&&0>s(be,le))G[xe]=be,G[ie]=le,xe=ie;else break e}}return Y}function s(G,Y){var le=G.sortIndex-Y.sortIndex;return le!==0?le:G.id-Y.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],h=[],m=1,p=null,y=3,b=!1,v=!1,k=!1,C=!1,A=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function N(G){for(var Y=a(h);Y!==null;){if(Y.callback===null)l(h);else if(Y.startTime<=G)l(h),Y.sortIndex=Y.expirationTime,t(f,Y);else break;Y=a(h)}}function S(G){if(k=!1,N(G),!v)if(a(f)!==null)v=!0,D||(D=!0,Z());else{var Y=a(h);Y!==null&&Q(S,Y.startTime-G)}}var D=!1,R=-1,O=5,P=-1;function T(){return C?!0:!(e.unstable_now()-P<O)}function V(){if(C=!1,D){var G=e.unstable_now();P=G;var Y=!0;try{e:{v=!1,k&&(k=!1,F(R),R=-1),b=!0;var le=y;try{t:{for(N(G),p=a(f);p!==null&&!(p.expirationTime>G&&T());){var xe=p.callback;if(typeof xe=="function"){p.callback=null,y=p.priorityLevel;var j=xe(p.expirationTime<=G);if(G=e.unstable_now(),typeof j=="function"){p.callback=j,N(G),Y=!0;break t}p===a(f)&&l(f),N(G)}else l(f);p=a(f)}if(p!==null)Y=!0;else{var L=a(h);L!==null&&Q(S,L.startTime-G),Y=!1}}break e}finally{p=null,y=le,b=!1}Y=void 0}}finally{Y?Z():D=!1}}}var Z;if(typeof M=="function")Z=function(){M(V)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,ee=re.port2;re.port1.onmessage=V,Z=function(){ee.postMessage(null)}}else Z=function(){A(V,0)};function Q(G,Y){R=A(function(){G(e.unstable_now())},Y)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(G){G.callback=null},e.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<G?Math.floor(1e3/G):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(G){switch(y){case 1:case 2:case 3:var Y=3;break;default:Y=y}var le=y;y=Y;try{return G()}finally{y=le}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(G,Y){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var le=y;y=G;try{return Y()}finally{y=le}},e.unstable_scheduleCallback=function(G,Y,le){var xe=e.unstable_now();switch(typeof le=="object"&&le!==null?(le=le.delay,le=typeof le=="number"&&0<le?xe+le:xe):le=xe,G){case 1:var j=-1;break;case 2:j=250;break;case 5:j=1073741823;break;case 4:j=1e4;break;default:j=5e3}return j=le+j,G={id:m++,callback:Y,priorityLevel:G,startTime:le,expirationTime:j,sortIndex:-1},le>xe?(G.sortIndex=le,t(h,G),a(f)===null&&G===a(h)&&(k?(F(R),R=-1):k=!0,Q(S,le-xe))):(G.sortIndex=j,t(f,G),v||b||(v=!0,D||(D=!0,Z()))),G},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(G){var Y=y;return function(){var le=y;y=Y;try{return G.apply(this,arguments)}finally{y=le}}}})(B2)),B2}var U8;function gE(){return U8||(U8=1,A2.exports=mE()),A2.exports}var w2={exports:{}},z0={};var Z8;function EE(){if(Z8)return z0;Z8=1;var e=Ku();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)h+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var l={d:{f:a,r:function(){throw Error(t(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal");function o(f,h,m){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:p==null?null:""+p,children:f,containerInfo:h,implementation:m}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return z0.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,z0.createPortal=function(f,h){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return o(f,h,null,m)},z0.flushSync=function(f){var h=c.T,m=l.p;try{if(c.T=null,l.p=2,f)return f()}finally{c.T=h,l.p=m,l.d.f()}},z0.preconnect=function(f,h){typeof f=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,l.d.C(f,h))},z0.prefetchDNS=function(f){typeof f=="string"&&l.d.D(f)},z0.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var m=h.as,p=d(m,h.crossOrigin),y=typeof h.integrity=="string"?h.integrity:void 0,b=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;m==="style"?l.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:p,integrity:y,fetchPriority:b}):m==="script"&&l.d.X(f,{crossOrigin:p,integrity:y,fetchPriority:b,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},z0.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var m=d(h.as,h.crossOrigin);l.d.M(f,{crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&l.d.M(f)},z0.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var m=h.as,p=d(m,h.crossOrigin);l.d.L(f,m,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},z0.preloadModule=function(f,h){if(typeof f=="string")if(h){var m=d(h.as,h.crossOrigin);l.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else l.d.m(f)},z0.requestFormReset=function(f){l.d.r(f)},z0.unstable_batchedUpdates=function(f,h){return f(h)},z0.useFormState=function(f,h,m){return c.H.useFormState(f,h,m)},z0.useFormStatus=function(){return c.H.useHostTransitionStatus()},z0.version="19.2.7",z0}var $8;function g6(){if($8)return w2.exports;$8=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),w2.exports=EE(),w2.exports}var q8;function yE(){if(q8)return Ni;q8=1;var e=gE(),t=Ku(),a=g6();function l(n){var r="https://react.dev/errors/"+n;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)r+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function o(n){var r=n,i=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,(r.flags&4098)!==0&&(i=r.return),n=r.return;while(n)}return r.tag===3?i:null}function c(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function d(n){if(n.tag===31){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function f(n){if(o(n)!==n)throw Error(l(188))}function h(n){var r=n.alternate;if(!r){if(r=o(n),r===null)throw Error(l(188));return r!==n?null:n}for(var i=n,u=r;;){var g=i.return;if(g===null)break;var E=g.alternate;if(E===null){if(u=g.return,u!==null){i=u;continue}break}if(g.child===E.child){for(E=g.child;E;){if(E===i)return f(g),n;if(E===u)return f(g),r;E=E.sibling}throw Error(l(188))}if(i.return!==u.return)i=g,u=E;else{for(var B=!1,_=g.child;_;){if(_===i){B=!0,i=g,u=E;break}if(_===u){B=!0,u=g,i=E;break}_=_.sibling}if(!B){for(_=E.child;_;){if(_===i){B=!0,i=E,u=g;break}if(_===u){B=!0,u=E,i=g;break}_=_.sibling}if(!B)throw Error(l(189))}}if(i.alternate!==u)throw Error(l(190))}if(i.tag!==3)throw Error(l(188));return i.stateNode.current===i?n:r}function m(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n;for(n=n.child;n!==null;){if(r=m(n),r!==null)return r;n=n.sibling}return null}var p=Object.assign,y=Symbol.for("react.element"),b=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),M=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),P=Symbol.for("react.activity"),T=Symbol.for("react.memo_cache_sentinel"),V=Symbol.iterator;function Z(n){return n===null||typeof n!="object"?null:(n=V&&n[V]||n["@@iterator"],typeof n=="function"?n:null)}var re=Symbol.for("react.client.reference");function ee(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===re?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case k:return"Fragment";case A:return"Profiler";case C:return"StrictMode";case S:return"Suspense";case D:return"SuspenseList";case P:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case v:return"Portal";case M:return n.displayName||"Context";case F:return(n._context.displayName||"Context")+".Consumer";case N:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case R:return r=n.displayName||null,r!==null?r:ee(n.type)||"Memo";case O:r=n._payload,n=n._init;try{return ee(n(r))}catch{}}return null}var Q=Array.isArray,G=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le={pending:!1,data:null,method:null,action:null},xe=[],j=-1;function L(n){return{current:n}}function $(n){0>j||(n.current=xe[j],xe[j]=null,j--)}function z(n,r){j++,xe[j]=n.current,n.current=r}var ie=L(null),be=L(null),X=L(null),me=L(null);function He(n,r){switch(z(X,r),z(be,n),z(ie,null),r.nodeType){case 9:case 11:n=(n=r.documentElement)&&(n=n.namespaceURI)?W5(n):0;break;default:if(n=r.tagName,r=r.namespaceURI)r=W5(r),n=J5(r,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}$(ie),z(ie,n)}function Be(){$(ie),$(be),$(X)}function tt(n){n.memoizedState!==null&&z(me,n);var r=ie.current,i=J5(r,n.type);r!==i&&(z(be,n),z(ie,i))}function ct(n){be.current===n&&($(ie),$(be)),me.current===n&&($(me),wi._currentValue=le)}var De,_t;function Fe(n){if(De===void 0)try{throw Error()}catch(i){var r=i.stack.trim().match(/\n( *(at )?)/);De=r&&r[1]||"",_t=-1<i.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+De+n+_t}var ne=!1;function Oe(n,r){if(!n||ne)return"";ne=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(r){var fe=function(){throw Error()};if(Object.defineProperty(fe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(fe,[])}catch(oe){var ae=oe}Reflect.construct(n,[],fe)}else{try{fe.call()}catch(oe){ae=oe}n.call(fe.prototype)}}else{try{throw Error()}catch(oe){ae=oe}(fe=n())&&typeof fe.catch=="function"&&fe.catch(function(){})}}catch(oe){if(oe&&ae&&typeof oe.stack=="string")return[oe.stack,ae.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var E=u.DetermineComponentFrameRoot(),B=E[0],_=E[1];if(B&&_){var H=B.split(`
4
+ `),te=_.split(`
5
+ `);for(g=u=0;u<H.length&&!H[u].includes("DetermineComponentFrameRoot");)u++;for(;g<te.length&&!te[g].includes("DetermineComponentFrameRoot");)g++;if(u===H.length||g===te.length)for(u=H.length-1,g=te.length-1;1<=u&&0<=g&&H[u]!==te[g];)g--;for(;1<=u&&0<=g;u--,g--)if(H[u]!==te[g]){if(u!==1||g!==1)do if(u--,g--,0>g||H[u]!==te[g]){var ce=`
6
+ `+H[u].replace(" at new "," at ");return n.displayName&&ce.includes("<anonymous>")&&(ce=ce.replace("<anonymous>",n.displayName)),ce}while(1<=u&&0<=g);break}}}finally{ne=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?Fe(i):""}function rt(n,r){switch(n.tag){case 26:case 27:case 5:return Fe(n.type);case 16:return Fe("Lazy");case 13:return n.child!==r&&r!==null?Fe("Suspense Fallback"):Fe("Suspense");case 19:return Fe("SuspenseList");case 0:case 15:return Oe(n.type,!1);case 11:return Oe(n.type.render,!1);case 1:return Oe(n.type,!0);case 31:return Fe("Activity");default:return""}}function Ct(n){try{var r="",i=null;do r+=rt(n,i),i=n,n=n.return;while(n);return r}catch(u){return`
7
+ Error generating stack: `+u.message+`
8
+ `+u.stack}}var Et=Object.prototype.hasOwnProperty,p0=e.unstable_scheduleCallback,nt=e.unstable_cancelCallback,b0=e.unstable_shouldYield,ge=e.unstable_requestPaint,Me=e.unstable_now,A0=e.unstable_getCurrentPriorityLevel,se=e.unstable_ImmediatePriority,W=e.unstable_UserBlockingPriority,Ne=e.unstable_NormalPriority,Ze=e.unstable_LowPriority,Ke=e.unstable_IdlePriority,Kt=e.log,v0=e.unstable_setDisableYieldValue,Wt=null,Dt=null;function C0(n){if(typeof Kt=="function"&&v0(n),Dt&&typeof Dt.setStrictMode=="function")try{Dt.setStrictMode(Wt,n)}catch{}}var kt=Math.clz32?Math.clz32:Xn,mn=Math.log,l0=Math.LN2;function Xn(n){return n>>>=0,n===0?32:31-(mn(n)/l0|0)|0}var Gn=256,Wn=262144,Jn=4194304;function j0(n){var r=n&42;if(r!==0)return r;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function I(n,r,i){var u=n.pendingLanes;if(u===0)return 0;var g=0,E=n.suspendedLanes,B=n.pingedLanes;n=n.warmLanes;var _=u&134217727;return _!==0?(u=_&~E,u!==0?g=j0(u):(B&=_,B!==0?g=j0(B):i||(i=_&~n,i!==0&&(g=j0(i))))):(_=u&~E,_!==0?g=j0(_):B!==0?g=j0(B):i||(i=u&~n,i!==0&&(g=j0(i)))),g===0?0:r!==0&&r!==g&&(r&E)===0&&(E=g&-g,i=r&-r,E>=i||E===32&&(i&4194048)!==0)?r:g}function ue(n,r){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&r)===0}function Ae(n,r){switch(n){case 1:case 2:case 4:case 8:case 64:return r+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Qe(){var n=Jn;return Jn<<=1,(Jn&62914560)===0&&(Jn=4194304),n}function jt(n){for(var r=[],i=0;31>i;i++)r.push(n);return r}function At(n,r){n.pendingLanes|=r,r!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Re(n,r,i,u,g,E){var B=n.pendingLanes;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=i,n.entangledLanes&=i,n.errorRecoveryDisabledLanes&=i,n.shellSuspendCounter=0;var _=n.entanglements,H=n.expirationTimes,te=n.hiddenUpdates;for(i=B&~i;0<i;){var ce=31-kt(i),fe=1<<ce;_[ce]=0,H[ce]=-1;var ae=te[ce];if(ae!==null)for(te[ce]=null,ce=0;ce<ae.length;ce++){var oe=ae[ce];oe!==null&&(oe.lane&=-536870913)}i&=~fe}u!==0&&Se(n,u,0),E!==0&&g===0&&n.tag!==0&&(n.suspendedLanes|=E&~(B&~r))}function Se(n,r,i){n.pendingLanes|=r,n.suspendedLanes&=~r;var u=31-kt(r);n.entangledLanes|=r,n.entanglements[u]=n.entanglements[u]|1073741824|i&261930}function Ue(n,r){var i=n.entangledLanes|=r;for(n=n.entanglements;i;){var u=31-kt(i),g=1<<u;g&r|n[u]&r&&(n[u]|=r),i&=~g}}function Qt(n,r){var i=r&-r;return i=(i&42)!==0?1:Tt(i),(i&(n.suspendedLanes|r))!==0?0:i}function Tt(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function jn(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Ee(){var n=Y.p;return n!==0?n:(n=window.event,n===void 0?32:C8(n.type))}function t0(n,r){var i=Y.p;try{return Y.p=n,r()}finally{Y.p=i}}var B0=Math.random().toString(36).slice(2),lt="__reactFiber$"+B0,i0="__reactProps$"+B0,Hn="__reactContainer$"+B0,m0="__reactEvents$"+B0,sr="__reactListeners$"+B0,Hr="__reactHandles$"+B0,hs="__reactResources$"+B0,or="__reactMarker$"+B0;function Ll(n){delete n[lt],delete n[i0],delete n[m0],delete n[sr],delete n[Hr]}function P0(n){var r=n[lt];if(r)return r;for(var i=n.parentNode;i;){if(r=i[Hn]||i[lt]){if(i=r.alternate,r.child!==null||i!==null&&i.child!==null)for(n=i8(n);n!==null;){if(i=n[lt])return i;n=i8(n)}return r}n=i,i=n.parentNode}return null}function ea(n){if(n=n[lt]||n[Hn]){var r=n.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return n}return null}function Da(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n.stateNode;throw Error(l(33))}function Fa(n){var r=n[hs];return r||(r=n[hs]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function s0(n){n[or]=!0}var ps=new Set,cr={};function ta(n,r){ye(n,r),ye(n+"Capture",r)}function ye(n,r){for(cr[n]=r,n=0;n<r.length;n++)ps.add(r[n])}var Ve=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ot={},Ft={};function n0(n){return Et.call(Ft,n)?!0:Et.call(ot,n)?!1:Ve.test(n)?Ft[n]=!0:(ot[n]=!0,!1)}function T0(n,r,i){if(n0(r))if(i===null)n.removeAttribute(r);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(r);return;case"boolean":var u=r.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){n.removeAttribute(r);return}}n.setAttribute(r,""+i)}}function en(n,r,i){if(i===null)n.removeAttribute(r);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttribute(r,""+i)}}function V0(n,r,i,u){if(u===null)n.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttributeNS(r,i,""+u)}}function Vt(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function tn(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function ms(n,r,i){var u=Object.getOwnPropertyDescriptor(n.constructor.prototype,r);if(!n.hasOwnProperty(r)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var g=u.get,E=u.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return g.call(this)},set:function(B){i=""+B,E.call(this,B)}}),Object.defineProperty(n,r,{enumerable:u.enumerable}),{getValue:function(){return i},setValue:function(B){i=""+B},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Vr(n){if(!n._valueTracker){var r=tn(n)?"checked":"value";n._valueTracker=ms(n,r,""+n[r])}}function Pl(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var i=r.getValue(),u="";return n&&(u=tn(n)?n.checked?"true":"false":n.value),n=u,n!==i?(r.setValue(n),!0):!1}function Ir(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var bo=/[\n"\\]/g;function I0(n){return n.replace(bo,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function Gl(n,r,i,u,g,E,B,_){n.name="",B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?n.type=B:n.removeAttribute("type"),r!=null?B==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=""+Vt(r)):n.value!==""+Vt(r)&&(n.value=""+Vt(r)):B!=="submit"&&B!=="reset"||n.removeAttribute("value"),r!=null?Ur(n,B,Vt(r)):i!=null?Ur(n,B,Vt(i)):u!=null&&n.removeAttribute("value"),g==null&&E!=null&&(n.defaultChecked=!!E),g!=null&&(n.checked=g&&typeof g!="function"&&typeof g!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?n.name=""+Vt(_):n.removeAttribute("name")}function ur(n,r,i,u,g,E,B,_){if(E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(n.type=E),r!=null||i!=null){if(!(E!=="submit"&&E!=="reset"||r!=null)){Vr(n);return}i=i!=null?""+Vt(i):"",r=r!=null?""+Vt(r):i,_||r===n.value||(n.value=r),n.defaultValue=r}u=u??g,u=typeof u!="function"&&typeof u!="symbol"&&!!u,n.checked=_?n.checked:!!u,n.defaultChecked=!!u,B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"&&(n.name=B),Vr(n)}function Ur(n,r,i){r==="number"&&Ir(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function w0(n,r,i,u){if(n=n.options,r){r={};for(var g=0;g<i.length;g++)r["$"+i[g]]=!0;for(i=0;i<n.length;i++)g=r.hasOwnProperty("$"+n[i].value),n[i].selected!==g&&(n[i].selected=g),g&&u&&(n[i].defaultSelected=!0)}else{for(i=""+Vt(i),r=null,g=0;g<n.length;g++){if(n[g].value===i){n[g].selected=!0,u&&(n[g].defaultSelected=!0);return}r!==null||n[g].disabled||(r=n[g])}r!==null&&(r.selected=!0)}}function gs(n,r,i){if(r!=null&&(r=""+Vt(r),r!==n.value&&(n.value=r),i==null)){n.defaultValue!==r&&(n.defaultValue=r);return}n.defaultValue=i!=null?""+Vt(i):""}function Zr(n,r,i,u){if(r==null){if(u!=null){if(i!=null)throw Error(l(92));if(Q(u)){if(1<u.length)throw Error(l(93));u=u[0]}i=u}i==null&&(i=""),r=i}i=Vt(r),n.defaultValue=i,u=n.textContent,u===i&&u!==""&&u!==null&&(n.value=u),Vr(n)}function Ye(n,r){if(r){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=r;return}}n.textContent=r}var Es=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function o0(n,r,i){var u=r.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?u?n.setProperty(r,""):r==="float"?n.cssFloat="":n[r]="":u?n.setProperty(r,i):typeof i!="number"||i===0||Es.has(r)?r==="float"?n.cssFloat=i:n[r]=(""+i).trim():n[r]=i+"px"}function St(n,r,i){if(r!=null&&typeof r!="object")throw Error(l(62));if(n=n.style,i!=null){for(var u in i)!i.hasOwnProperty(u)||r!=null&&r.hasOwnProperty(u)||(u.indexOf("--")===0?n.setProperty(u,""):u==="float"?n.cssFloat="":n[u]="");for(var g in r)u=r[g],r.hasOwnProperty(g)&&i[g]!==u&&o0(n,g,u)}else for(var E in r)r.hasOwnProperty(E)&&o0(n,E,r[E])}function Sa(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var na=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Hl=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ma(n){return Hl.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function ke(){}var Le=null;function Je(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var ft=null,Xt=null;function gn(n){var r=ea(n);if(r&&(n=r.stateNode)){var i=n[i0]||null;e:switch(n=r.stateNode,r.type){case"input":if(Gl(n,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),r=i.name,i.type==="radio"&&r!=null){for(i=n;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+I0(""+r)+'"][type="radio"]'),r=0;r<i.length;r++){var u=i[r];if(u!==n&&u.form===n.form){var g=u[i0]||null;if(!g)throw Error(l(90));Gl(u,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(r=0;r<i.length;r++)u=i[r],u.form===n.form&&Pl(u)}break e;case"textarea":gs(n,i.value,i.defaultValue);break e;case"select":r=i.value,r!=null&&w0(n,!!i.multiple,r,!1)}}}var Vl=!1;function ys(n,r,i){if(Vl)return n(r,i);Vl=!0;try{var u=n(r);return u}finally{if(Vl=!1,(ft!==null||Xt!==null)&&(i1(),ft&&(r=ft,n=Xt,Xt=ft=null,gn(r),n)))for(r=0;r<n.length;r++)gn(n[r])}}function Il(n,r){var i=n.stateNode;if(i===null)return null;var u=i[i0]||null;if(u===null)return null;i=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;break e;default:n=!1}if(n)return null;if(i&&typeof i!="function")throw Error(l(231,r,typeof i));return i}var aa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vo=!1;if(aa)try{var Ul={};Object.defineProperty(Ul,"passive",{get:function(){vo=!0}}),window.addEventListener("test",Ul,Ul),window.removeEventListener("test",Ul,Ul)}catch{vo=!1}var Na=null,Co=null,bs=null;function Jx(){if(bs)return bs;var n,r=Co,i=r.length,u,g="value"in Na?Na.value:Na.textContent,E=g.length;for(n=0;n<i&&r[n]===g[n];n++);var B=i-n;for(u=1;u<=B&&r[i-u]===g[E-u];u++);return bs=g.slice(n,1<u?1-u:void 0)}function vs(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function Cs(){return!0}function ed(){return!1}function U0(n){function r(i,u,g,E,B){this._reactName=i,this._targetInst=g,this.type=u,this.nativeEvent=E,this.target=B,this.currentTarget=null;for(var _ in n)n.hasOwnProperty(_)&&(i=n[_],this[_]=i?i(E):E[_]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?Cs:ed,this.isPropagationStopped=ed,this}return p(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Cs)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Cs)},persist:function(){},isPersistent:Cs}),r}var xr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ks=U0(xr),Zl=p({},xr,{view:0,detail:0}),wp=U0(Zl),ko,Ao,$l,As=p({},Zl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wo,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==$l&&($l&&n.type==="mousemove"?(ko=n.screenX-$l.screenX,Ao=n.screenY-$l.screenY):Ao=ko=0,$l=n),ko)},movementY:function(n){return"movementY"in n?n.movementY:Ao}}),td=U0(As),Dp=p({},As,{dataTransfer:0}),Fp=U0(Dp),Sp=p({},Zl,{relatedTarget:0}),Bo=U0(Sp),Mp=p({},xr,{animationName:0,elapsedTime:0,pseudoElement:0}),Np=U0(Mp),_p=p({},xr,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),jp=U0(_p),Tp=p({},xr,{data:0}),nd=U0(Tp),zp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Rp={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Op={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Lp(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=Op[n])?!!r[n]:!1}function wo(){return Lp}var Pp=p({},Zl,{key:function(n){if(n.key){var r=zp[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=vs(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Rp[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wo,charCode:function(n){return n.type==="keypress"?vs(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?vs(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Gp=U0(Pp),Hp=p({},As,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ad=U0(Hp),Vp=p({},Zl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wo}),Ip=U0(Vp),Up=p({},xr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zp=U0(Up),$p=p({},As,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),qp=U0($p),Qp=p({},xr,{newState:0,oldState:0}),Yp=U0(Qp),Kp=[9,13,27,32],Do=aa&&"CompositionEvent"in window,ql=null;aa&&"documentMode"in document&&(ql=document.documentMode);var Xp=aa&&"TextEvent"in window&&!ql,rd=aa&&(!Do||ql&&8<ql&&11>=ql),ld=" ",id=!1;function sd(n,r){switch(n){case"keyup":return Kp.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function od(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var $r=!1;function Wp(n,r){switch(n){case"compositionend":return od(r);case"keypress":return r.which!==32?null:(id=!0,ld);case"textInput":return n=r.data,n===ld&&id?null:n;default:return null}}function Jp(n,r){if($r)return n==="compositionend"||!Do&&sd(n,r)?(n=Jx(),bs=Co=Na=null,$r=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return rd&&r.locale!=="ko"?null:r.data;default:return null}}var em={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function cd(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!em[n.type]:r==="textarea"}function ud(n,r,i,u){ft?Xt?Xt.push(u):Xt=[u]:ft=u,r=f1(r,"onChange"),0<r.length&&(i=new ks("onChange","change",null,i,u),n.push({event:i,listeners:r}))}var Ql=null,Yl=null;function tm(n){$5(n,0)}function Bs(n){var r=Da(n);if(Pl(r))return n}function xd(n,r){if(n==="change")return r}var dd=!1;if(aa){var Fo;if(aa){var So="oninput"in document;if(!So){var fd=document.createElement("div");fd.setAttribute("oninput","return;"),So=typeof fd.oninput=="function"}Fo=So}else Fo=!1;dd=Fo&&(!document.documentMode||9<document.documentMode)}function hd(){Ql&&(Ql.detachEvent("onpropertychange",pd),Yl=Ql=null)}function pd(n){if(n.propertyName==="value"&&Bs(Yl)){var r=[];ud(r,Yl,n,Je(n)),ys(tm,r)}}function nm(n,r,i){n==="focusin"?(hd(),Ql=r,Yl=i,Ql.attachEvent("onpropertychange",pd)):n==="focusout"&&hd()}function am(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Bs(Yl)}function rm(n,r){if(n==="click")return Bs(r)}function lm(n,r){if(n==="input"||n==="change")return Bs(r)}function im(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var nn=typeof Object.is=="function"?Object.is:im;function Kl(n,r){if(nn(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var i=Object.keys(n),u=Object.keys(r);if(i.length!==u.length)return!1;for(u=0;u<i.length;u++){var g=i[u];if(!Et.call(r,g)||!nn(n[g],r[g]))return!1}return!0}function md(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function gd(n,r){var i=md(n);n=0;for(var u;i;){if(i.nodeType===3){if(u=n+i.textContent.length,n<=r&&u>=r)return{node:i,offset:r-n};n=u}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=md(i)}}function Ed(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?Ed(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function yd(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var r=Ir(n.document);r instanceof n.HTMLIFrameElement;){try{var i=typeof r.contentWindow.location.href=="string"}catch{i=!1}if(i)n=r.contentWindow;else break;r=Ir(n.document)}return r}function Mo(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}var sm=aa&&"documentMode"in document&&11>=document.documentMode,qr=null,No=null,Xl=null,_o=!1;function bd(n,r,i){var u=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;_o||qr==null||qr!==Ir(u)||(u=qr,"selectionStart"in u&&Mo(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Xl&&Kl(Xl,u)||(Xl=u,u=f1(No,"onSelect"),0<u.length&&(r=new ks("onSelect","select",null,r,i),n.push({event:r,listeners:u}),r.target=qr)))}function dr(n,r){var i={};return i[n.toLowerCase()]=r.toLowerCase(),i["Webkit"+n]="webkit"+r,i["Moz"+n]="moz"+r,i}var Qr={animationend:dr("Animation","AnimationEnd"),animationiteration:dr("Animation","AnimationIteration"),animationstart:dr("Animation","AnimationStart"),transitionrun:dr("Transition","TransitionRun"),transitionstart:dr("Transition","TransitionStart"),transitioncancel:dr("Transition","TransitionCancel"),transitionend:dr("Transition","TransitionEnd")},jo={},vd={};aa&&(vd=document.createElement("div").style,"AnimationEvent"in window||(delete Qr.animationend.animation,delete Qr.animationiteration.animation,delete Qr.animationstart.animation),"TransitionEvent"in window||delete Qr.transitionend.transition);function fr(n){if(jo[n])return jo[n];if(!Qr[n])return n;var r=Qr[n],i;for(i in r)if(r.hasOwnProperty(i)&&i in vd)return jo[n]=r[i];return n}var Cd=fr("animationend"),kd=fr("animationiteration"),Ad=fr("animationstart"),om=fr("transitionrun"),cm=fr("transitionstart"),um=fr("transitioncancel"),Bd=fr("transitionend"),wd=new Map,To="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");To.push("scrollEnd");function Tn(n,r){wd.set(n,r),ta(r,[n])}var ws=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},En=[],Yr=0,zo=0;function Ds(){for(var n=Yr,r=zo=Yr=0;r<n;){var i=En[r];En[r++]=null;var u=En[r];En[r++]=null;var g=En[r];En[r++]=null;var E=En[r];if(En[r++]=null,u!==null&&g!==null){var B=u.pending;B===null?g.next=g:(g.next=B.next,B.next=g),u.pending=g}E!==0&&Dd(i,g,E)}}function Fs(n,r,i,u){En[Yr++]=n,En[Yr++]=r,En[Yr++]=i,En[Yr++]=u,zo|=u,n.lanes|=u,n=n.alternate,n!==null&&(n.lanes|=u)}function Ro(n,r,i,u){return Fs(n,r,i,u),Ss(n)}function hr(n,r){return Fs(n,null,null,r),Ss(n)}function Dd(n,r,i){n.lanes|=i;var u=n.alternate;u!==null&&(u.lanes|=i);for(var g=!1,E=n.return;E!==null;)E.childLanes|=i,u=E.alternate,u!==null&&(u.childLanes|=i),E.tag===22&&(n=E.stateNode,n===null||n._visibility&1||(g=!0)),n=E,E=E.return;return n.tag===3?(E=n.stateNode,g&&r!==null&&(g=31-kt(i),n=E.hiddenUpdates,u=n[g],u===null?n[g]=[r]:u.push(r),r.lane=i|536870912),E):null}function Ss(n){if(50<yi)throw yi=0,Zc=null,Error(l(185));for(var r=n.return;r!==null;)n=r,r=n.return;return n.tag===3?n.stateNode:null}var Kr={};function xm(n,r,i,u){this.tag=n,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function an(n,r,i,u){return new xm(n,r,i,u)}function Oo(n){return n=n.prototype,!(!n||!n.isReactComponent)}function ra(n,r){var i=n.alternate;return i===null?(i=an(n.tag,r,n.key,n.mode),i.elementType=n.elementType,i.type=n.type,i.stateNode=n.stateNode,i.alternate=n,n.alternate=i):(i.pendingProps=r,i.type=n.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=n.flags&65011712,i.childLanes=n.childLanes,i.lanes=n.lanes,i.child=n.child,i.memoizedProps=n.memoizedProps,i.memoizedState=n.memoizedState,i.updateQueue=n.updateQueue,r=n.dependencies,i.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},i.sibling=n.sibling,i.index=n.index,i.ref=n.ref,i.refCleanup=n.refCleanup,i}function Fd(n,r){n.flags&=65011714;var i=n.alternate;return i===null?(n.childLanes=0,n.lanes=r,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=i.childLanes,n.lanes=i.lanes,n.child=i.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=i.memoizedProps,n.memoizedState=i.memoizedState,n.updateQueue=i.updateQueue,n.type=i.type,r=i.dependencies,n.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),n}function Ms(n,r,i,u,g,E){var B=0;if(u=n,typeof n=="function")Oo(n)&&(B=1);else if(typeof n=="string")B=mg(n,i,ie.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case P:return n=an(31,i,r,g),n.elementType=P,n.lanes=E,n;case k:return pr(i.children,g,E,r);case C:B=8,g|=24;break;case A:return n=an(12,i,r,g|2),n.elementType=A,n.lanes=E,n;case S:return n=an(13,i,r,g),n.elementType=S,n.lanes=E,n;case D:return n=an(19,i,r,g),n.elementType=D,n.lanes=E,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case M:B=10;break e;case F:B=9;break e;case N:B=11;break e;case R:B=14;break e;case O:B=16,u=null;break e}B=29,i=Error(l(130,n===null?"null":typeof n,"")),u=null}return r=an(B,i,r,g),r.elementType=n,r.type=u,r.lanes=E,r}function pr(n,r,i,u){return n=an(7,n,u,r),n.lanes=i,n}function Lo(n,r,i){return n=an(6,n,null,r),n.lanes=i,n}function Sd(n){var r=an(18,null,null,0);return r.stateNode=n,r}function Po(n,r,i){return r=an(4,n.children!==null?n.children:[],n.key,r),r.lanes=i,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}var Md=new WeakMap;function yn(n,r){if(typeof n=="object"&&n!==null){var i=Md.get(n);return i!==void 0?i:(r={value:n,source:r,stack:Ct(r)},Md.set(n,r),r)}return{value:n,source:r,stack:Ct(r)}}var Xr=[],Wr=0,Ns=null,Wl=0,bn=[],vn=0,_a=null,Vn=1,In="";function la(n,r){Xr[Wr++]=Wl,Xr[Wr++]=Ns,Ns=n,Wl=r}function Nd(n,r,i){bn[vn++]=Vn,bn[vn++]=In,bn[vn++]=_a,_a=n;var u=Vn;n=In;var g=32-kt(u)-1;u&=~(1<<g),i+=1;var E=32-kt(r)+g;if(30<E){var B=g-g%5;E=(u&(1<<B)-1).toString(32),u>>=B,g-=B,Vn=1<<32-kt(r)+g|i<<g|u,In=E+n}else Vn=1<<E|i<<g|u,In=n}function Go(n){n.return!==null&&(la(n,1),Nd(n,1,0))}function Ho(n){for(;n===Ns;)Ns=Xr[--Wr],Xr[Wr]=null,Wl=Xr[--Wr],Xr[Wr]=null;for(;n===_a;)_a=bn[--vn],bn[vn]=null,In=bn[--vn],bn[vn]=null,Vn=bn[--vn],bn[vn]=null}function _d(n,r){bn[vn++]=Vn,bn[vn++]=In,bn[vn++]=_a,Vn=r.id,In=r.overflow,_a=n}var D0=null,Ut=null,mt=!1,ja=null,Cn=!1,Vo=Error(l(519));function Ta(n){var r=Error(l(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Jl(yn(r,n)),Vo}function jd(n){var r=n.stateNode,i=n.type,u=n.memoizedProps;switch(r[lt]=n,r[i0]=u,i){case"dialog":xt("cancel",r),xt("close",r);break;case"iframe":case"object":case"embed":xt("load",r);break;case"video":case"audio":for(i=0;i<vi.length;i++)xt(vi[i],r);break;case"source":xt("error",r);break;case"img":case"image":case"link":xt("error",r),xt("load",r);break;case"details":xt("toggle",r);break;case"input":xt("invalid",r),ur(r,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":xt("invalid",r);break;case"textarea":xt("invalid",r),Zr(r,u.value,u.defaultValue,u.children)}i=u.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||r.textContent===""+i||u.suppressHydrationWarning===!0||K5(r.textContent,i)?(u.popover!=null&&(xt("beforetoggle",r),xt("toggle",r)),u.onScroll!=null&&xt("scroll",r),u.onScrollEnd!=null&&xt("scrollend",r),u.onClick!=null&&(r.onclick=ke),r=!0):r=!1,r||Ta(n,!0)}function Td(n){for(D0=n.return;D0;)switch(D0.tag){case 5:case 31:case 13:Cn=!1;return;case 27:case 3:Cn=!0;return;default:D0=D0.return}}function Jr(n){if(n!==D0)return!1;if(!mt)return Td(n),mt=!0,!1;var r=n.tag,i;if((i=r!==3&&r!==27)&&((i=r===5)&&(i=n.type,i=!(i!=="form"&&i!=="button")||i2(n.type,n.memoizedProps)),i=!i),i&&Ut&&Ta(n),Td(n),r===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(l(317));Ut=l8(n)}else if(r===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(l(317));Ut=l8(n)}else r===27?(r=Ut,Qa(n.type)?(n=x2,x2=null,Ut=n):Ut=r):Ut=D0?An(n.stateNode.nextSibling):null;return!0}function mr(){Ut=D0=null,mt=!1}function Io(){var n=ja;return n!==null&&(Q0===null?Q0=n:Q0.push.apply(Q0,n),ja=null),n}function Jl(n){ja===null?ja=[n]:ja.push(n)}var Uo=L(null),gr=null,ia=null;function za(n,r,i){z(Uo,r._currentValue),r._currentValue=i}function sa(n){n._currentValue=Uo.current,$(Uo)}function Zo(n,r,i){for(;n!==null;){var u=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),n===i)break;n=n.return}}function $o(n,r,i,u){var g=n.child;for(g!==null&&(g.return=n);g!==null;){var E=g.dependencies;if(E!==null){var B=g.child;E=E.firstContext;e:for(;E!==null;){var _=E;E=g;for(var H=0;H<r.length;H++)if(_.context===r[H]){E.lanes|=i,_=E.alternate,_!==null&&(_.lanes|=i),Zo(E.return,i,n),u||(B=null);break e}E=_.next}}else if(g.tag===18){if(B=g.return,B===null)throw Error(l(341));B.lanes|=i,E=B.alternate,E!==null&&(E.lanes|=i),Zo(B,i,n),B=null}else B=g.child;if(B!==null)B.return=g;else for(B=g;B!==null;){if(B===n){B=null;break}if(g=B.sibling,g!==null){g.return=B.return,B=g;break}B=B.return}g=B}}function el(n,r,i,u){n=null;for(var g=r,E=!1;g!==null;){if(!E){if((g.flags&524288)!==0)E=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var B=g.alternate;if(B===null)throw Error(l(387));if(B=B.memoizedProps,B!==null){var _=g.type;nn(g.pendingProps.value,B.value)||(n!==null?n.push(_):n=[_])}}else if(g===me.current){if(B=g.alternate,B===null)throw Error(l(387));B.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(n!==null?n.push(wi):n=[wi])}g=g.return}n!==null&&$o(r,n,i,u),r.flags|=262144}function _s(n){for(n=n.firstContext;n!==null;){if(!nn(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Er(n){gr=n,ia=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function F0(n){return zd(gr,n)}function js(n,r){return gr===null&&Er(n),zd(n,r)}function zd(n,r){var i=r._currentValue;if(r={context:r,memoizedValue:i,next:null},ia===null){if(n===null)throw Error(l(308));ia=r,n.dependencies={lanes:0,firstContext:r},n.flags|=524288}else ia=ia.next=r;return i}var dm=typeof AbortController<"u"?AbortController:function(){var n=[],r=this.signal={aborted:!1,addEventListener:function(i,u){n.push(u)}};this.abort=function(){r.aborted=!0,n.forEach(function(i){return i()})}},fm=e.unstable_scheduleCallback,hm=e.unstable_NormalPriority,c0={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function qo(){return{controller:new dm,data:new Map,refCount:0}}function ei(n){n.refCount--,n.refCount===0&&fm(hm,function(){n.controller.abort()})}var ti=null,Qo=0,tl=0,nl=null;function pm(n,r){if(ti===null){var i=ti=[];Qo=0,tl=Xc(),nl={status:"pending",value:void 0,then:function(u){i.push(u)}}}return Qo++,r.then(Rd,Rd),r}function Rd(){if(--Qo===0&&ti!==null){nl!==null&&(nl.status="fulfilled");var n=ti;ti=null,tl=0,nl=null;for(var r=0;r<n.length;r++)(0,n[r])()}}function mm(n,r){var i=[],u={status:"pending",value:null,reason:null,then:function(g){i.push(g)}};return n.then(function(){u.status="fulfilled",u.value=r;for(var g=0;g<i.length;g++)(0,i[g])(r)},function(g){for(u.status="rejected",u.reason=g,g=0;g<i.length;g++)(0,i[g])(void 0)}),u}var Od=G.S;G.S=function(n,r){b5=Me(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&pm(n,r),Od!==null&&Od(n,r)};var yr=L(null);function Yo(){var n=yr.current;return n!==null?n:Pt.pooledCache}function Ts(n,r){r===null?z(yr,yr.current):z(yr,r.pool)}function Ld(){var n=Yo();return n===null?null:{parent:c0._currentValue,pool:n}}var al=Error(l(460)),Ko=Error(l(474)),zs=Error(l(542)),Rs={then:function(){}};function Pd(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Gd(n,r,i){switch(i=n[i],i===void 0?n.push(r):i!==r&&(r.then(ke,ke),r=i),r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,Vd(n),n;default:if(typeof r.status=="string")r.then(ke,ke);else{if(n=Pt,n!==null&&100<n.shellSuspendCounter)throw Error(l(482));n=r,n.status="pending",n.then(function(u){if(r.status==="pending"){var g=r;g.status="fulfilled",g.value=u}},function(u){if(r.status==="pending"){var g=r;g.status="rejected",g.reason=u}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,Vd(n),n}throw vr=r,al}}function br(n){try{var r=n._init;return r(n._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(vr=i,al):i}}var vr=null;function Hd(){if(vr===null)throw Error(l(459));var n=vr;return vr=null,n}function Vd(n){if(n===al||n===zs)throw Error(l(483))}var rl=null,ni=0;function Os(n){var r=ni;return ni+=1,rl===null&&(rl=[]),Gd(rl,n,r)}function ai(n,r){r=r.props.ref,n.ref=r!==void 0?r:null}function Ls(n,r){throw r.$$typeof===y?Error(l(525)):(n=Object.prototype.toString.call(r),Error(l(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n)))}function Id(n){function r(K,q){if(n){var J=K.deletions;J===null?(K.deletions=[q],K.flags|=16):J.push(q)}}function i(K,q){if(!n)return null;for(;q!==null;)r(K,q),q=q.sibling;return null}function u(K){for(var q=new Map;K!==null;)K.key!==null?q.set(K.key,K):q.set(K.index,K),K=K.sibling;return q}function g(K,q){return K=ra(K,q),K.index=0,K.sibling=null,K}function E(K,q,J){return K.index=J,n?(J=K.alternate,J!==null?(J=J.index,J<q?(K.flags|=67108866,q):J):(K.flags|=67108866,q)):(K.flags|=1048576,q)}function B(K){return n&&K.alternate===null&&(K.flags|=67108866),K}function _(K,q,J,de){return q===null||q.tag!==6?(q=Lo(J,K.mode,de),q.return=K,q):(q=g(q,J),q.return=K,q)}function H(K,q,J,de){var Ie=J.type;return Ie===k?ce(K,q,J.props.children,de,J.key):q!==null&&(q.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===O&&br(Ie)===q.type)?(q=g(q,J.props),ai(q,J),q.return=K,q):(q=Ms(J.type,J.key,J.props,null,K.mode,de),ai(q,J),q.return=K,q)}function te(K,q,J,de){return q===null||q.tag!==4||q.stateNode.containerInfo!==J.containerInfo||q.stateNode.implementation!==J.implementation?(q=Po(J,K.mode,de),q.return=K,q):(q=g(q,J.children||[]),q.return=K,q)}function ce(K,q,J,de,Ie){return q===null||q.tag!==7?(q=pr(J,K.mode,de,Ie),q.return=K,q):(q=g(q,J),q.return=K,q)}function fe(K,q,J){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return q=Lo(""+q,K.mode,J),q.return=K,q;if(typeof q=="object"&&q!==null){switch(q.$$typeof){case b:return J=Ms(q.type,q.key,q.props,null,K.mode,J),ai(J,q),J.return=K,J;case v:return q=Po(q,K.mode,J),q.return=K,q;case O:return q=br(q),fe(K,q,J)}if(Q(q)||Z(q))return q=pr(q,K.mode,J,null),q.return=K,q;if(typeof q.then=="function")return fe(K,Os(q),J);if(q.$$typeof===M)return fe(K,js(K,q),J);Ls(K,q)}return null}function ae(K,q,J,de){var Ie=q!==null?q.key:null;if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return Ie!==null?null:_(K,q,""+J,de);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case b:return J.key===Ie?H(K,q,J,de):null;case v:return J.key===Ie?te(K,q,J,de):null;case O:return J=br(J),ae(K,q,J,de)}if(Q(J)||Z(J))return Ie!==null?null:ce(K,q,J,de,null);if(typeof J.then=="function")return ae(K,q,Os(J),de);if(J.$$typeof===M)return ae(K,q,js(K,J),de);Ls(K,J)}return null}function oe(K,q,J,de,Ie){if(typeof de=="string"&&de!==""||typeof de=="number"||typeof de=="bigint")return K=K.get(J)||null,_(q,K,""+de,Ie);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case b:return K=K.get(de.key===null?J:de.key)||null,H(q,K,de,Ie);case v:return K=K.get(de.key===null?J:de.key)||null,te(q,K,de,Ie);case O:return de=br(de),oe(K,q,J,de,Ie)}if(Q(de)||Z(de))return K=K.get(J)||null,ce(q,K,de,Ie,null);if(typeof de.then=="function")return oe(K,q,J,Os(de),Ie);if(de.$$typeof===M)return oe(K,q,J,js(q,de),Ie);Ls(q,de)}return null}function ze(K,q,J,de){for(var Ie=null,yt=null,Ge=q,at=q=0,pt=null;Ge!==null&&at<J.length;at++){Ge.index>at?(pt=Ge,Ge=null):pt=Ge.sibling;var bt=ae(K,Ge,J[at],de);if(bt===null){Ge===null&&(Ge=pt);break}n&&Ge&&bt.alternate===null&&r(K,Ge),q=E(bt,q,at),yt===null?Ie=bt:yt.sibling=bt,yt=bt,Ge=pt}if(at===J.length)return i(K,Ge),mt&&la(K,at),Ie;if(Ge===null){for(;at<J.length;at++)Ge=fe(K,J[at],de),Ge!==null&&(q=E(Ge,q,at),yt===null?Ie=Ge:yt.sibling=Ge,yt=Ge);return mt&&la(K,at),Ie}for(Ge=u(Ge);at<J.length;at++)pt=oe(Ge,K,at,J[at],de),pt!==null&&(n&&pt.alternate!==null&&Ge.delete(pt.key===null?at:pt.key),q=E(pt,q,at),yt===null?Ie=pt:yt.sibling=pt,yt=pt);return n&&Ge.forEach(function(Ja){return r(K,Ja)}),mt&&la(K,at),Ie}function qe(K,q,J,de){if(J==null)throw Error(l(151));for(var Ie=null,yt=null,Ge=q,at=q=0,pt=null,bt=J.next();Ge!==null&&!bt.done;at++,bt=J.next()){Ge.index>at?(pt=Ge,Ge=null):pt=Ge.sibling;var Ja=ae(K,Ge,bt.value,de);if(Ja===null){Ge===null&&(Ge=pt);break}n&&Ge&&Ja.alternate===null&&r(K,Ge),q=E(Ja,q,at),yt===null?Ie=Ja:yt.sibling=Ja,yt=Ja,Ge=pt}if(bt.done)return i(K,Ge),mt&&la(K,at),Ie;if(Ge===null){for(;!bt.done;at++,bt=J.next())bt=fe(K,bt.value,de),bt!==null&&(q=E(bt,q,at),yt===null?Ie=bt:yt.sibling=bt,yt=bt);return mt&&la(K,at),Ie}for(Ge=u(Ge);!bt.done;at++,bt=J.next())bt=oe(Ge,K,at,bt.value,de),bt!==null&&(n&&bt.alternate!==null&&Ge.delete(bt.key===null?at:bt.key),q=E(bt,q,at),yt===null?Ie=bt:yt.sibling=bt,yt=bt);return n&&Ge.forEach(function(Dg){return r(K,Dg)}),mt&&la(K,at),Ie}function Ot(K,q,J,de){if(typeof J=="object"&&J!==null&&J.type===k&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case b:e:{for(var Ie=J.key;q!==null;){if(q.key===Ie){if(Ie=J.type,Ie===k){if(q.tag===7){i(K,q.sibling),de=g(q,J.props.children),de.return=K,K=de;break e}}else if(q.elementType===Ie||typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===O&&br(Ie)===q.type){i(K,q.sibling),de=g(q,J.props),ai(de,J),de.return=K,K=de;break e}i(K,q);break}else r(K,q);q=q.sibling}J.type===k?(de=pr(J.props.children,K.mode,de,J.key),de.return=K,K=de):(de=Ms(J.type,J.key,J.props,null,K.mode,de),ai(de,J),de.return=K,K=de)}return B(K);case v:e:{for(Ie=J.key;q!==null;){if(q.key===Ie)if(q.tag===4&&q.stateNode.containerInfo===J.containerInfo&&q.stateNode.implementation===J.implementation){i(K,q.sibling),de=g(q,J.children||[]),de.return=K,K=de;break e}else{i(K,q);break}else r(K,q);q=q.sibling}de=Po(J,K.mode,de),de.return=K,K=de}return B(K);case O:return J=br(J),Ot(K,q,J,de)}if(Q(J))return ze(K,q,J,de);if(Z(J)){if(Ie=Z(J),typeof Ie!="function")throw Error(l(150));return J=Ie.call(J),qe(K,q,J,de)}if(typeof J.then=="function")return Ot(K,q,Os(J),de);if(J.$$typeof===M)return Ot(K,q,js(K,J),de);Ls(K,J)}return typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint"?(J=""+J,q!==null&&q.tag===6?(i(K,q.sibling),de=g(q,J),de.return=K,K=de):(i(K,q),de=Lo(J,K.mode,de),de.return=K,K=de),B(K)):i(K,q)}return function(K,q,J,de){try{ni=0;var Ie=Ot(K,q,J,de);return rl=null,Ie}catch(Ge){if(Ge===al||Ge===zs)throw Ge;var yt=an(29,Ge,null,K.mode);return yt.lanes=de,yt.return=K,yt}}}var Cr=Id(!0),Ud=Id(!1),Ra=!1;function Xo(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Wo(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Oa(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function La(n,r,i){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,(Bt&2)!==0){var g=u.pending;return g===null?r.next=r:(r.next=g.next,g.next=r),u.pending=r,r=Ss(n),Dd(n,null,i),r}return Fs(n,u,r,i),Ss(n)}function ri(n,r,i){if(r=r.updateQueue,r!==null&&(r=r.shared,(i&4194048)!==0)){var u=r.lanes;u&=n.pendingLanes,i|=u,r.lanes=i,Ue(n,i)}}function Jo(n,r){var i=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,i===u)){var g=null,E=null;if(i=i.firstBaseUpdate,i!==null){do{var B={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};E===null?g=E=B:E=E.next=B,i=i.next}while(i!==null);E===null?g=E=r:E=E.next=r}else g=E=r;i={baseState:u.baseState,firstBaseUpdate:g,lastBaseUpdate:E,shared:u.shared,callbacks:u.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=r:n.next=r,i.lastBaseUpdate=r}var ec=!1;function li(){if(ec){var n=nl;if(n!==null)throw n}}function ii(n,r,i,u){ec=!1;var g=n.updateQueue;Ra=!1;var E=g.firstBaseUpdate,B=g.lastBaseUpdate,_=g.shared.pending;if(_!==null){g.shared.pending=null;var H=_,te=H.next;H.next=null,B===null?E=te:B.next=te,B=H;var ce=n.alternate;ce!==null&&(ce=ce.updateQueue,_=ce.lastBaseUpdate,_!==B&&(_===null?ce.firstBaseUpdate=te:_.next=te,ce.lastBaseUpdate=H))}if(E!==null){var fe=g.baseState;B=0,ce=te=H=null,_=E;do{var ae=_.lane&-536870913,oe=ae!==_.lane;if(oe?(ht&ae)===ae:(u&ae)===ae){ae!==0&&ae===tl&&(ec=!0),ce!==null&&(ce=ce.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var ze=n,qe=_;ae=r;var Ot=i;switch(qe.tag){case 1:if(ze=qe.payload,typeof ze=="function"){fe=ze.call(Ot,fe,ae);break e}fe=ze;break e;case 3:ze.flags=ze.flags&-65537|128;case 0:if(ze=qe.payload,ae=typeof ze=="function"?ze.call(Ot,fe,ae):ze,ae==null)break e;fe=p({},fe,ae);break e;case 2:Ra=!0}}ae=_.callback,ae!==null&&(n.flags|=64,oe&&(n.flags|=8192),oe=g.callbacks,oe===null?g.callbacks=[ae]:oe.push(ae))}else oe={lane:ae,tag:_.tag,payload:_.payload,callback:_.callback,next:null},ce===null?(te=ce=oe,H=fe):ce=ce.next=oe,B|=ae;if(_=_.next,_===null){if(_=g.shared.pending,_===null)break;oe=_,_=oe.next,oe.next=null,g.lastBaseUpdate=oe,g.shared.pending=null}}while(!0);ce===null&&(H=fe),g.baseState=H,g.firstBaseUpdate=te,g.lastBaseUpdate=ce,E===null&&(g.shared.lanes=0),Ia|=B,n.lanes=B,n.memoizedState=fe}}function Zd(n,r){if(typeof n!="function")throw Error(l(191,n));n.call(r)}function $d(n,r){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;n<i.length;n++)Zd(i[n],r)}var ll=L(null),Ps=L(0);function qd(n,r){n=ma,z(Ps,n),z(ll,r),ma=n|r.baseLanes}function tc(){z(Ps,ma),z(ll,ll.current)}function nc(){ma=Ps.current,$(ll),$(Ps)}var rn=L(null),kn=null;function Pa(n){var r=n.alternate;z(a0,a0.current&1),z(rn,n),kn===null&&(r===null||ll.current!==null||r.memoizedState!==null)&&(kn=n)}function ac(n){z(a0,a0.current),z(rn,n),kn===null&&(kn=n)}function Qd(n){n.tag===22?(z(a0,a0.current),z(rn,n),kn===null&&(kn=n)):Ga()}function Ga(){z(a0,a0.current),z(rn,rn.current)}function ln(n){$(rn),kn===n&&(kn=null),$(a0)}var a0=L(0);function Gs(n){for(var r=n;r!==null;){if(r.tag===13){var i=r.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||c2(i)||u2(i)))return r}else if(r.tag===19&&(r.memoizedProps.revealOrder==="forwards"||r.memoizedProps.revealOrder==="backwards"||r.memoizedProps.revealOrder==="unstable_legacy-backwards"||r.memoizedProps.revealOrder==="together")){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var oa=0,et=null,zt=null,u0=null,Hs=!1,il=!1,kr=!1,Vs=0,si=0,sl=null,gm=0;function Jt(){throw Error(l(321))}function rc(n,r){if(r===null)return!1;for(var i=0;i<r.length&&i<n.length;i++)if(!nn(n[i],r[i]))return!1;return!0}function lc(n,r,i,u,g,E){return oa=E,et=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,G.H=n===null||n.memoizedState===null?N3:bc,kr=!1,E=i(u,g),kr=!1,il&&(E=Kd(r,i,u,g)),Yd(n),E}function Yd(n){G.H=ui;var r=zt!==null&&zt.next!==null;if(oa=0,u0=zt=et=null,Hs=!1,si=0,sl=null,r)throw Error(l(300));n===null||x0||(n=n.dependencies,n!==null&&_s(n)&&(x0=!0))}function Kd(n,r,i,u){et=n;var g=0;do{if(il&&(sl=null),si=0,il=!1,25<=g)throw Error(l(301));if(g+=1,u0=zt=null,n.updateQueue!=null){var E=n.updateQueue;E.lastEffect=null,E.events=null,E.stores=null,E.memoCache!=null&&(E.memoCache.index=0)}G.H=_3,E=r(i,u)}while(il);return E}function Em(){var n=G.H,r=n.useState()[0];return r=typeof r.then=="function"?oi(r):r,n=n.useState()[0],(zt!==null?zt.memoizedState:null)!==n&&(et.flags|=1024),r}function ic(){var n=Vs!==0;return Vs=0,n}function sc(n,r,i){r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~i}function oc(n){if(Hs){for(n=n.memoizedState;n!==null;){var r=n.queue;r!==null&&(r.pending=null),n=n.next}Hs=!1}oa=0,u0=zt=et=null,il=!1,si=Vs=0,sl=null}function G0(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return u0===null?et.memoizedState=u0=n:u0=u0.next=n,u0}function r0(){if(zt===null){var n=et.alternate;n=n!==null?n.memoizedState:null}else n=zt.next;var r=u0===null?et.memoizedState:u0.next;if(r!==null)u0=r,zt=n;else{if(n===null)throw et.alternate===null?Error(l(467)):Error(l(310));zt=n,n={memoizedState:zt.memoizedState,baseState:zt.baseState,baseQueue:zt.baseQueue,queue:zt.queue,next:null},u0===null?et.memoizedState=u0=n:u0=u0.next=n}return u0}function Is(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function oi(n){var r=si;return si+=1,sl===null&&(sl=[]),n=Gd(sl,n,r),r=et,(u0===null?r.memoizedState:u0.next)===null&&(r=r.alternate,G.H=r===null||r.memoizedState===null?N3:bc),n}function Us(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return oi(n);if(n.$$typeof===M)return F0(n)}throw Error(l(438,String(n)))}function cc(n){var r=null,i=et.updateQueue;if(i!==null&&(r=i.memoCache),r==null){var u=et.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(r={data:u.data.map(function(g){return g.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),i===null&&(i=Is(),et.updateQueue=i),i.memoCache=r,i=r.data[r.index],i===void 0)for(i=r.data[r.index]=Array(n),u=0;u<n;u++)i[u]=T;return r.index++,i}function ca(n,r){return typeof r=="function"?r(n):r}function Zs(n){var r=r0();return uc(r,zt,n)}function uc(n,r,i){var u=n.queue;if(u===null)throw Error(l(311));u.lastRenderedReducer=i;var g=n.baseQueue,E=u.pending;if(E!==null){if(g!==null){var B=g.next;g.next=E.next,E.next=B}r.baseQueue=g=E,u.pending=null}if(E=n.baseState,g===null)n.memoizedState=E;else{r=g.next;var _=B=null,H=null,te=r,ce=!1;do{var fe=te.lane&-536870913;if(fe!==te.lane?(ht&fe)===fe:(oa&fe)===fe){var ae=te.revertLane;if(ae===0)H!==null&&(H=H.next={lane:0,revertLane:0,gesture:null,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null}),fe===tl&&(ce=!0);else if((oa&ae)===ae){te=te.next,ae===tl&&(ce=!0);continue}else fe={lane:0,revertLane:te.revertLane,gesture:null,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null},H===null?(_=H=fe,B=E):H=H.next=fe,et.lanes|=ae,Ia|=ae;fe=te.action,kr&&i(E,fe),E=te.hasEagerState?te.eagerState:i(E,fe)}else ae={lane:fe,revertLane:te.revertLane,gesture:te.gesture,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null},H===null?(_=H=ae,B=E):H=H.next=ae,et.lanes|=fe,Ia|=fe;te=te.next}while(te!==null&&te!==r);if(H===null?B=E:H.next=_,!nn(E,n.memoizedState)&&(x0=!0,ce&&(i=nl,i!==null)))throw i;n.memoizedState=E,n.baseState=B,n.baseQueue=H,u.lastRenderedState=E}return g===null&&(u.lanes=0),[n.memoizedState,u.dispatch]}function xc(n){var r=r0(),i=r.queue;if(i===null)throw Error(l(311));i.lastRenderedReducer=n;var u=i.dispatch,g=i.pending,E=r.memoizedState;if(g!==null){i.pending=null;var B=g=g.next;do E=n(E,B.action),B=B.next;while(B!==g);nn(E,r.memoizedState)||(x0=!0),r.memoizedState=E,r.baseQueue===null&&(r.baseState=E),i.lastRenderedState=E}return[E,u]}function Xd(n,r,i){var u=et,g=r0(),E=mt;if(E){if(i===void 0)throw Error(l(407));i=i()}else i=r();var B=!nn((zt||g).memoizedState,i);if(B&&(g.memoizedState=i,x0=!0),g=g.queue,hc(e3.bind(null,u,g,n),[n]),g.getSnapshot!==r||B||u0!==null&&u0.memoizedState.tag&1){if(u.flags|=2048,ol(9,{destroy:void 0},Jd.bind(null,u,g,i,r),null),Pt===null)throw Error(l(349));E||(oa&127)!==0||Wd(u,r,i)}return i}function Wd(n,r,i){n.flags|=16384,n={getSnapshot:r,value:i},r=et.updateQueue,r===null?(r=Is(),et.updateQueue=r,r.stores=[n]):(i=r.stores,i===null?r.stores=[n]:i.push(n))}function Jd(n,r,i,u){r.value=i,r.getSnapshot=u,t3(r)&&n3(n)}function e3(n,r,i){return i(function(){t3(r)&&n3(n)})}function t3(n){var r=n.getSnapshot;n=n.value;try{var i=r();return!nn(n,i)}catch{return!0}}function n3(n){var r=hr(n,2);r!==null&&Y0(r,n,2)}function dc(n){var r=G0();if(typeof n=="function"){var i=n;if(n=i(),kr){C0(!0);try{i()}finally{C0(!1)}}}return r.memoizedState=r.baseState=n,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:n},r}function a3(n,r,i,u){return n.baseState=i,uc(n,zt,typeof u=="function"?u:ca)}function ym(n,r,i,u,g){if(Qs(n))throw Error(l(485));if(n=r.action,n!==null){var E={payload:g,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(B){E.listeners.push(B)}};G.T!==null?i(!0):E.isTransition=!1,u(E),i=r.pending,i===null?(E.next=r.pending=E,r3(r,E)):(E.next=i.next,r.pending=i.next=E)}}function r3(n,r){var i=r.action,u=r.payload,g=n.state;if(r.isTransition){var E=G.T,B={};G.T=B;try{var _=i(g,u),H=G.S;H!==null&&H(B,_),l3(n,r,_)}catch(te){fc(n,r,te)}finally{E!==null&&B.types!==null&&(E.types=B.types),G.T=E}}else try{E=i(g,u),l3(n,r,E)}catch(te){fc(n,r,te)}}function l3(n,r,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(u){i3(n,r,u)},function(u){return fc(n,r,u)}):i3(n,r,i)}function i3(n,r,i){r.status="fulfilled",r.value=i,s3(r),n.state=i,r=n.pending,r!==null&&(i=r.next,i===r?n.pending=null:(i=i.next,r.next=i,r3(n,i)))}function fc(n,r,i){var u=n.pending;if(n.pending=null,u!==null){u=u.next;do r.status="rejected",r.reason=i,s3(r),r=r.next;while(r!==u)}n.action=null}function s3(n){n=n.listeners;for(var r=0;r<n.length;r++)(0,n[r])()}function o3(n,r){return r}function c3(n,r){if(mt){var i=Pt.formState;if(i!==null){e:{var u=et;if(mt){if(Ut){t:{for(var g=Ut,E=Cn;g.nodeType!==8;){if(!E){g=null;break t}if(g=An(g.nextSibling),g===null){g=null;break t}}E=g.data,g=E==="F!"||E==="F"?g:null}if(g){Ut=An(g.nextSibling),u=g.data==="F!";break e}}Ta(u)}u=!1}u&&(r=i[0])}}return i=G0(),i.memoizedState=i.baseState=r,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o3,lastRenderedState:r},i.queue=u,i=F3.bind(null,et,u),u.dispatch=i,u=dc(!1),E=yc.bind(null,et,!1,u.queue),u=G0(),g={state:r,dispatch:null,action:n,pending:null},u.queue=g,i=ym.bind(null,et,g,E,i),g.dispatch=i,u.memoizedState=n,[r,i,!1]}function u3(n){var r=r0();return x3(r,zt,n)}function x3(n,r,i){if(r=uc(n,r,o3)[0],n=Zs(ca)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var u=oi(r)}catch(B){throw B===al?zs:B}else u=r;r=r0();var g=r.queue,E=g.dispatch;return i!==r.memoizedState&&(et.flags|=2048,ol(9,{destroy:void 0},bm.bind(null,g,i),null)),[u,E,n]}function bm(n,r){n.action=r}function d3(n){var r=r0(),i=zt;if(i!==null)return x3(r,i,n);r0(),r=r.memoizedState,i=r0();var u=i.queue.dispatch;return i.memoizedState=n,[r,u,!1]}function ol(n,r,i,u){return n={tag:n,create:i,deps:u,inst:r,next:null},r=et.updateQueue,r===null&&(r=Is(),et.updateQueue=r),i=r.lastEffect,i===null?r.lastEffect=n.next=n:(u=i.next,i.next=n,n.next=u,r.lastEffect=n),n}function f3(){return r0().memoizedState}function $s(n,r,i,u){var g=G0();et.flags|=n,g.memoizedState=ol(1|r,{destroy:void 0},i,u===void 0?null:u)}function qs(n,r,i,u){var g=r0();u=u===void 0?null:u;var E=g.memoizedState.inst;zt!==null&&u!==null&&rc(u,zt.memoizedState.deps)?g.memoizedState=ol(r,E,i,u):(et.flags|=n,g.memoizedState=ol(1|r,E,i,u))}function h3(n,r){$s(8390656,8,n,r)}function hc(n,r){qs(2048,8,n,r)}function vm(n){et.flags|=4;var r=et.updateQueue;if(r===null)r=Is(),et.updateQueue=r,r.events=[n];else{var i=r.events;i===null?r.events=[n]:i.push(n)}}function p3(n){var r=r0().memoizedState;return vm({ref:r,nextImpl:n}),function(){if((Bt&2)!==0)throw Error(l(440));return r.impl.apply(void 0,arguments)}}function m3(n,r){return qs(4,2,n,r)}function g3(n,r){return qs(4,4,n,r)}function E3(n,r){if(typeof r=="function"){n=n();var i=r(n);return function(){typeof i=="function"?i():r(null)}}if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function y3(n,r,i){i=i!=null?i.concat([n]):null,qs(4,4,E3.bind(null,r,n),i)}function pc(){}function b3(n,r){var i=r0();r=r===void 0?null:r;var u=i.memoizedState;return r!==null&&rc(r,u[1])?u[0]:(i.memoizedState=[n,r],n)}function v3(n,r){var i=r0();r=r===void 0?null:r;var u=i.memoizedState;if(r!==null&&rc(r,u[1]))return u[0];if(u=n(),kr){C0(!0);try{n()}finally{C0(!1)}}return i.memoizedState=[u,r],u}function mc(n,r,i){return i===void 0||(oa&1073741824)!==0&&(ht&261930)===0?n.memoizedState=r:(n.memoizedState=i,n=C5(),et.lanes|=n,Ia|=n,i)}function C3(n,r,i,u){return nn(i,r)?i:ll.current!==null?(n=mc(n,i,u),nn(n,r)||(x0=!0),n):(oa&42)===0||(oa&1073741824)!==0&&(ht&261930)===0?(x0=!0,n.memoizedState=i):(n=C5(),et.lanes|=n,Ia|=n,r)}function k3(n,r,i,u,g){var E=Y.p;Y.p=E!==0&&8>E?E:8;var B=G.T,_={};G.T=_,yc(n,!1,r,i);try{var H=g(),te=G.S;if(te!==null&&te(_,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var ce=mm(H,u);ci(n,r,ce,cn(n))}else ci(n,r,u,cn(n))}catch(fe){ci(n,r,{then:function(){},status:"rejected",reason:fe},cn())}finally{Y.p=E,B!==null&&_.types!==null&&(B.types=_.types),G.T=B}}function Cm(){}function gc(n,r,i,u){if(n.tag!==5)throw Error(l(476));var g=A3(n).queue;k3(n,g,r,le,i===null?Cm:function(){return B3(n),i(u)})}function A3(n){var r=n.memoizedState;if(r!==null)return r;r={memoizedState:le,baseState:le,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:le},next:null};var i={};return r.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:i},next:null},n.memoizedState=r,n=n.alternate,n!==null&&(n.memoizedState=r),r}function B3(n){var r=A3(n);r.next===null&&(r=n.alternate.memoizedState),ci(n,r.next.queue,{},cn())}function Ec(){return F0(wi)}function w3(){return r0().memoizedState}function D3(){return r0().memoizedState}function km(n){for(var r=n.return;r!==null;){switch(r.tag){case 24:case 3:var i=cn();n=Oa(i);var u=La(r,n,i);u!==null&&(Y0(u,r,i),ri(u,r,i)),r={cache:qo()},n.payload=r;return}r=r.return}}function Am(n,r,i){var u=cn();i={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Qs(n)?S3(r,i):(i=Ro(n,r,i,u),i!==null&&(Y0(i,n,u),M3(i,r,u)))}function F3(n,r,i){var u=cn();ci(n,r,i,u)}function ci(n,r,i,u){var g={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Qs(n))S3(r,g);else{var E=n.alternate;if(n.lanes===0&&(E===null||E.lanes===0)&&(E=r.lastRenderedReducer,E!==null))try{var B=r.lastRenderedState,_=E(B,i);if(g.hasEagerState=!0,g.eagerState=_,nn(_,B))return Fs(n,r,g,0),Pt===null&&Ds(),!1}catch{}if(i=Ro(n,r,g,u),i!==null)return Y0(i,n,u),M3(i,r,u),!0}return!1}function yc(n,r,i,u){if(u={lane:2,revertLane:Xc(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Qs(n)){if(r)throw Error(l(479))}else r=Ro(n,i,u,2),r!==null&&Y0(r,n,2)}function Qs(n){var r=n.alternate;return n===et||r!==null&&r===et}function S3(n,r){il=Hs=!0;var i=n.pending;i===null?r.next=r:(r.next=i.next,i.next=r),n.pending=r}function M3(n,r,i){if((i&4194048)!==0){var u=r.lanes;u&=n.pendingLanes,i|=u,r.lanes=i,Ue(n,i)}}var ui={readContext:F0,use:Us,useCallback:Jt,useContext:Jt,useEffect:Jt,useImperativeHandle:Jt,useLayoutEffect:Jt,useInsertionEffect:Jt,useMemo:Jt,useReducer:Jt,useRef:Jt,useState:Jt,useDebugValue:Jt,useDeferredValue:Jt,useTransition:Jt,useSyncExternalStore:Jt,useId:Jt,useHostTransitionStatus:Jt,useFormState:Jt,useActionState:Jt,useOptimistic:Jt,useMemoCache:Jt,useCacheRefresh:Jt};ui.useEffectEvent=Jt;var N3={readContext:F0,use:Us,useCallback:function(n,r){return G0().memoizedState=[n,r===void 0?null:r],n},useContext:F0,useEffect:h3,useImperativeHandle:function(n,r,i){i=i!=null?i.concat([n]):null,$s(4194308,4,E3.bind(null,r,n),i)},useLayoutEffect:function(n,r){return $s(4194308,4,n,r)},useInsertionEffect:function(n,r){$s(4,2,n,r)},useMemo:function(n,r){var i=G0();r=r===void 0?null:r;var u=n();if(kr){C0(!0);try{n()}finally{C0(!1)}}return i.memoizedState=[u,r],u},useReducer:function(n,r,i){var u=G0();if(i!==void 0){var g=i(r);if(kr){C0(!0);try{i(r)}finally{C0(!1)}}}else g=r;return u.memoizedState=u.baseState=g,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:g},u.queue=n,n=n.dispatch=Am.bind(null,et,n),[u.memoizedState,n]},useRef:function(n){var r=G0();return n={current:n},r.memoizedState=n},useState:function(n){n=dc(n);var r=n.queue,i=F3.bind(null,et,r);return r.dispatch=i,[n.memoizedState,i]},useDebugValue:pc,useDeferredValue:function(n,r){var i=G0();return mc(i,n,r)},useTransition:function(){var n=dc(!1);return n=k3.bind(null,et,n.queue,!0,!1),G0().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,r,i){var u=et,g=G0();if(mt){if(i===void 0)throw Error(l(407));i=i()}else{if(i=r(),Pt===null)throw Error(l(349));(ht&127)!==0||Wd(u,r,i)}g.memoizedState=i;var E={value:i,getSnapshot:r};return g.queue=E,h3(e3.bind(null,u,E,n),[n]),u.flags|=2048,ol(9,{destroy:void 0},Jd.bind(null,u,E,i,r),null),i},useId:function(){var n=G0(),r=Pt.identifierPrefix;if(mt){var i=In,u=Vn;i=(u&~(1<<32-kt(u)-1)).toString(32)+i,r="_"+r+"R_"+i,i=Vs++,0<i&&(r+="H"+i.toString(32)),r+="_"}else i=gm++,r="_"+r+"r_"+i.toString(32)+"_";return n.memoizedState=r},useHostTransitionStatus:Ec,useFormState:c3,useActionState:c3,useOptimistic:function(n){var r=G0();r.memoizedState=r.baseState=n;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=i,r=yc.bind(null,et,!0,i),i.dispatch=r,[n,r]},useMemoCache:cc,useCacheRefresh:function(){return G0().memoizedState=km.bind(null,et)},useEffectEvent:function(n){var r=G0(),i={impl:n};return r.memoizedState=i,function(){if((Bt&2)!==0)throw Error(l(440));return i.impl.apply(void 0,arguments)}}},bc={readContext:F0,use:Us,useCallback:b3,useContext:F0,useEffect:hc,useImperativeHandle:y3,useInsertionEffect:m3,useLayoutEffect:g3,useMemo:v3,useReducer:Zs,useRef:f3,useState:function(){return Zs(ca)},useDebugValue:pc,useDeferredValue:function(n,r){var i=r0();return C3(i,zt.memoizedState,n,r)},useTransition:function(){var n=Zs(ca)[0],r=r0().memoizedState;return[typeof n=="boolean"?n:oi(n),r]},useSyncExternalStore:Xd,useId:w3,useHostTransitionStatus:Ec,useFormState:u3,useActionState:u3,useOptimistic:function(n,r){var i=r0();return a3(i,zt,n,r)},useMemoCache:cc,useCacheRefresh:D3};bc.useEffectEvent=p3;var _3={readContext:F0,use:Us,useCallback:b3,useContext:F0,useEffect:hc,useImperativeHandle:y3,useInsertionEffect:m3,useLayoutEffect:g3,useMemo:v3,useReducer:xc,useRef:f3,useState:function(){return xc(ca)},useDebugValue:pc,useDeferredValue:function(n,r){var i=r0();return zt===null?mc(i,n,r):C3(i,zt.memoizedState,n,r)},useTransition:function(){var n=xc(ca)[0],r=r0().memoizedState;return[typeof n=="boolean"?n:oi(n),r]},useSyncExternalStore:Xd,useId:w3,useHostTransitionStatus:Ec,useFormState:d3,useActionState:d3,useOptimistic:function(n,r){var i=r0();return zt!==null?a3(i,zt,n,r):(i.baseState=n,[n,i.queue.dispatch])},useMemoCache:cc,useCacheRefresh:D3};_3.useEffectEvent=p3;function vc(n,r,i,u){r=n.memoizedState,i=i(u,r),i=i==null?r:p({},r,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var Cc={enqueueSetState:function(n,r,i){n=n._reactInternals;var u=cn(),g=Oa(u);g.payload=r,i!=null&&(g.callback=i),r=La(n,g,u),r!==null&&(Y0(r,n,u),ri(r,n,u))},enqueueReplaceState:function(n,r,i){n=n._reactInternals;var u=cn(),g=Oa(u);g.tag=1,g.payload=r,i!=null&&(g.callback=i),r=La(n,g,u),r!==null&&(Y0(r,n,u),ri(r,n,u))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var i=cn(),u=Oa(i);u.tag=2,r!=null&&(u.callback=r),r=La(n,u,i),r!==null&&(Y0(r,n,i),ri(r,n,i))}};function j3(n,r,i,u,g,E,B){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,E,B):r.prototype&&r.prototype.isPureReactComponent?!Kl(i,u)||!Kl(g,E):!0}function T3(n,r,i,u){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(i,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(i,u),r.state!==n&&Cc.enqueueReplaceState(r,r.state,null)}function Ar(n,r){var i=r;if("ref"in r){i={};for(var u in r)u!=="ref"&&(i[u]=r[u])}if(n=n.defaultProps){i===r&&(i=p({},i));for(var g in n)i[g]===void 0&&(i[g]=n[g])}return i}function z3(n){ws(n)}function R3(n){console.error(n)}function O3(n){ws(n)}function Ys(n,r){try{var i=n.onUncaughtError;i(r.value,{componentStack:r.stack})}catch(u){setTimeout(function(){throw u})}}function L3(n,r,i){try{var u=n.onCaughtError;u(i.value,{componentStack:i.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function kc(n,r,i){return i=Oa(i),i.tag=3,i.payload={element:null},i.callback=function(){Ys(n,r)},i}function P3(n){return n=Oa(n),n.tag=3,n}function G3(n,r,i,u){var g=i.type.getDerivedStateFromError;if(typeof g=="function"){var E=u.value;n.payload=function(){return g(E)},n.callback=function(){L3(r,i,u)}}var B=i.stateNode;B!==null&&typeof B.componentDidCatch=="function"&&(n.callback=function(){L3(r,i,u),typeof g!="function"&&(Ua===null?Ua=new Set([this]):Ua.add(this));var _=u.stack;this.componentDidCatch(u.value,{componentStack:_!==null?_:""})})}function Bm(n,r,i,u,g){if(i.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(r=i.alternate,r!==null&&el(r,i,g,!0),i=rn.current,i!==null){switch(i.tag){case 31:case 13:return kn===null?s1():i.alternate===null&&e0===0&&(e0=3),i.flags&=-257,i.flags|=65536,i.lanes=g,u===Rs?i.flags|=16384:(r=i.updateQueue,r===null?i.updateQueue=new Set([u]):r.add(u),Qc(n,u,g)),!1;case 22:return i.flags|=65536,u===Rs?i.flags|=16384:(r=i.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([u])},i.updateQueue=r):(i=r.retryQueue,i===null?r.retryQueue=new Set([u]):i.add(u)),Qc(n,u,g)),!1}throw Error(l(435,i.tag))}return Qc(n,u,g),s1(),!1}if(mt)return r=rn.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=g,u!==Vo&&(n=Error(l(422),{cause:u}),Jl(yn(n,i)))):(u!==Vo&&(r=Error(l(423),{cause:u}),Jl(yn(r,i))),n=n.current.alternate,n.flags|=65536,g&=-g,n.lanes|=g,u=yn(u,i),g=kc(n.stateNode,u,g),Jo(n,g),e0!==4&&(e0=2)),!1;var E=Error(l(520),{cause:u});if(E=yn(E,i),Ei===null?Ei=[E]:Ei.push(E),e0!==4&&(e0=2),r===null)return!0;u=yn(u,i),i=r;do{switch(i.tag){case 3:return i.flags|=65536,n=g&-g,i.lanes|=n,n=kc(i.stateNode,u,n),Jo(i,n),!1;case 1:if(r=i.type,E=i.stateNode,(i.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||E!==null&&typeof E.componentDidCatch=="function"&&(Ua===null||!Ua.has(E))))return i.flags|=65536,g&=-g,i.lanes|=g,g=P3(g),G3(g,n,i,u),Jo(i,g),!1}i=i.return}while(i!==null);return!1}var Ac=Error(l(461)),x0=!1;function S0(n,r,i,u){r.child=n===null?Ud(r,null,i,u):Cr(r,n.child,i,u)}function H3(n,r,i,u,g){i=i.render;var E=r.ref;if("ref"in u){var B={};for(var _ in u)_!=="ref"&&(B[_]=u[_])}else B=u;return Er(r),u=lc(n,r,i,B,E,g),_=ic(),n!==null&&!x0?(sc(n,r,g),ua(n,r,g)):(mt&&_&&Go(r),r.flags|=1,S0(n,r,u,g),r.child)}function V3(n,r,i,u,g){if(n===null){var E=i.type;return typeof E=="function"&&!Oo(E)&&E.defaultProps===void 0&&i.compare===null?(r.tag=15,r.type=E,I3(n,r,E,u,g)):(n=Ms(i.type,null,u,r,r.mode,g),n.ref=r.ref,n.return=r,r.child=n)}if(E=n.child,!_c(n,g)){var B=E.memoizedProps;if(i=i.compare,i=i!==null?i:Kl,i(B,u)&&n.ref===r.ref)return ua(n,r,g)}return r.flags|=1,n=ra(E,u),n.ref=r.ref,n.return=r,r.child=n}function I3(n,r,i,u,g){if(n!==null){var E=n.memoizedProps;if(Kl(E,u)&&n.ref===r.ref)if(x0=!1,r.pendingProps=u=E,_c(n,g))(n.flags&131072)!==0&&(x0=!0);else return r.lanes=n.lanes,ua(n,r,g)}return Bc(n,r,i,u,g)}function U3(n,r,i,u){var g=u.children,E=n!==null?n.memoizedState:null;if(n===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((r.flags&128)!==0){if(E=E!==null?E.baseLanes|i:i,n!==null){for(u=r.child=n.child,g=0;u!==null;)g=g|u.lanes|u.childLanes,u=u.sibling;u=g&~E}else u=0,r.child=null;return Z3(n,r,E,i,u)}if((i&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},n!==null&&Ts(r,E!==null?E.cachePool:null),E!==null?qd(r,E):tc(),Qd(r);else return u=r.lanes=536870912,Z3(n,r,E!==null?E.baseLanes|i:i,i,u)}else E!==null?(Ts(r,E.cachePool),qd(r,E),Ga(),r.memoizedState=null):(n!==null&&Ts(r,null),tc(),Ga());return S0(n,r,g,i),r.child}function xi(n,r){return n!==null&&n.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function Z3(n,r,i,u,g){var E=Yo();return E=E===null?null:{parent:c0._currentValue,pool:E},r.memoizedState={baseLanes:i,cachePool:E},n!==null&&Ts(r,null),tc(),Qd(r),n!==null&&el(n,r,u,!0),r.childLanes=g,null}function Ks(n,r){return r=Ws({mode:r.mode,children:r.children},n.mode),r.ref=n.ref,n.child=r,r.return=n,r}function $3(n,r,i){return Cr(r,n.child,null,i),n=Ks(r,r.pendingProps),n.flags|=2,ln(r),r.memoizedState=null,n}function wm(n,r,i){var u=r.pendingProps,g=(r.flags&128)!==0;if(r.flags&=-129,n===null){if(mt){if(u.mode==="hidden")return n=Ks(r,u),r.lanes=536870912,xi(null,n);if(ac(r),(n=Ut)?(n=r8(n,Cn),n=n!==null&&n.data==="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:_a!==null?{id:Vn,overflow:In}:null,retryLane:536870912,hydrationErrors:null},i=Sd(n),i.return=r,r.child=i,D0=r,Ut=null)):n=null,n===null)throw Ta(r);return r.lanes=536870912,null}return Ks(r,u)}var E=n.memoizedState;if(E!==null){var B=E.dehydrated;if(ac(r),g)if(r.flags&256)r.flags&=-257,r=$3(n,r,i);else if(r.memoizedState!==null)r.child=n.child,r.flags|=128,r=null;else throw Error(l(558));else if(x0||el(n,r,i,!1),g=(i&n.childLanes)!==0,x0||g){if(u=Pt,u!==null&&(B=Qt(u,i),B!==0&&B!==E.retryLane))throw E.retryLane=B,hr(n,B),Y0(u,n,B),Ac;s1(),r=$3(n,r,i)}else n=E.treeContext,Ut=An(B.nextSibling),D0=r,mt=!0,ja=null,Cn=!1,n!==null&&_d(r,n),r=Ks(r,u),r.flags|=4096;return r}return n=ra(n.child,{mode:u.mode,children:u.children}),n.ref=r.ref,r.child=n,n.return=r,n}function Xs(n,r){var i=r.ref;if(i===null)n!==null&&n.ref!==null&&(r.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(l(284));(n===null||n.ref!==i)&&(r.flags|=4194816)}}function Bc(n,r,i,u,g){return Er(r),i=lc(n,r,i,u,void 0,g),u=ic(),n!==null&&!x0?(sc(n,r,g),ua(n,r,g)):(mt&&u&&Go(r),r.flags|=1,S0(n,r,i,g),r.child)}function q3(n,r,i,u,g,E){return Er(r),r.updateQueue=null,i=Kd(r,u,i,g),Yd(n),u=ic(),n!==null&&!x0?(sc(n,r,E),ua(n,r,E)):(mt&&u&&Go(r),r.flags|=1,S0(n,r,i,E),r.child)}function Q3(n,r,i,u,g){if(Er(r),r.stateNode===null){var E=Kr,B=i.contextType;typeof B=="object"&&B!==null&&(E=F0(B)),E=new i(u,E),r.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,E.updater=Cc,r.stateNode=E,E._reactInternals=r,E=r.stateNode,E.props=u,E.state=r.memoizedState,E.refs={},Xo(r),B=i.contextType,E.context=typeof B=="object"&&B!==null?F0(B):Kr,E.state=r.memoizedState,B=i.getDerivedStateFromProps,typeof B=="function"&&(vc(r,i,B,u),E.state=r.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof E.getSnapshotBeforeUpdate=="function"||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(B=E.state,typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount(),B!==E.state&&Cc.enqueueReplaceState(E,E.state,null),ii(r,u,E,g),li(),E.state=r.memoizedState),typeof E.componentDidMount=="function"&&(r.flags|=4194308),u=!0}else if(n===null){E=r.stateNode;var _=r.memoizedProps,H=Ar(i,_);E.props=H;var te=E.context,ce=i.contextType;B=Kr,typeof ce=="object"&&ce!==null&&(B=F0(ce));var fe=i.getDerivedStateFromProps;ce=typeof fe=="function"||typeof E.getSnapshotBeforeUpdate=="function",_=r.pendingProps!==_,ce||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(_||te!==B)&&T3(r,E,u,B),Ra=!1;var ae=r.memoizedState;E.state=ae,ii(r,u,E,g),li(),te=r.memoizedState,_||ae!==te||Ra?(typeof fe=="function"&&(vc(r,i,fe,u),te=r.memoizedState),(H=Ra||j3(r,i,H,u,ae,te,B))?(ce||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(r.flags|=4194308)):(typeof E.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=te),E.props=u,E.state=te,E.context=B,u=H):(typeof E.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{E=r.stateNode,Wo(n,r),B=r.memoizedProps,ce=Ar(i,B),E.props=ce,fe=r.pendingProps,ae=E.context,te=i.contextType,H=Kr,typeof te=="object"&&te!==null&&(H=F0(te)),_=i.getDerivedStateFromProps,(te=typeof _=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(B!==fe||ae!==H)&&T3(r,E,u,H),Ra=!1,ae=r.memoizedState,E.state=ae,ii(r,u,E,g),li();var oe=r.memoizedState;B!==fe||ae!==oe||Ra||n!==null&&n.dependencies!==null&&_s(n.dependencies)?(typeof _=="function"&&(vc(r,i,_,u),oe=r.memoizedState),(ce=Ra||j3(r,i,ce,u,ae,oe,H)||n!==null&&n.dependencies!==null&&_s(n.dependencies))?(te||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(u,oe,H),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(u,oe,H)),typeof E.componentDidUpdate=="function"&&(r.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof E.componentDidUpdate!="function"||B===n.memoizedProps&&ae===n.memoizedState||(r.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||B===n.memoizedProps&&ae===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=oe),E.props=u,E.state=oe,E.context=H,u=ce):(typeof E.componentDidUpdate!="function"||B===n.memoizedProps&&ae===n.memoizedState||(r.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||B===n.memoizedProps&&ae===n.memoizedState||(r.flags|=1024),u=!1)}return E=u,Xs(n,r),u=(r.flags&128)!==0,E||u?(E=r.stateNode,i=u&&typeof i.getDerivedStateFromError!="function"?null:E.render(),r.flags|=1,n!==null&&u?(r.child=Cr(r,n.child,null,g),r.child=Cr(r,null,i,g)):S0(n,r,i,g),r.memoizedState=E.state,n=r.child):n=ua(n,r,g),n}function Y3(n,r,i,u){return mr(),r.flags|=256,S0(n,r,i,u),r.child}var wc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Dc(n){return{baseLanes:n,cachePool:Ld()}}function Fc(n,r,i){return n=n!==null?n.childLanes&~i:0,r&&(n|=on),n}function K3(n,r,i){var u=r.pendingProps,g=!1,E=(r.flags&128)!==0,B;if((B=E)||(B=n!==null&&n.memoizedState===null?!1:(a0.current&2)!==0),B&&(g=!0,r.flags&=-129),B=(r.flags&32)!==0,r.flags&=-33,n===null){if(mt){if(g?Pa(r):Ga(),(n=Ut)?(n=r8(n,Cn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:_a!==null?{id:Vn,overflow:In}:null,retryLane:536870912,hydrationErrors:null},i=Sd(n),i.return=r,r.child=i,D0=r,Ut=null)):n=null,n===null)throw Ta(r);return u2(n)?r.lanes=32:r.lanes=536870912,null}var _=u.children;return u=u.fallback,g?(Ga(),g=r.mode,_=Ws({mode:"hidden",children:_},g),u=pr(u,g,i,null),_.return=r,u.return=r,_.sibling=u,r.child=_,u=r.child,u.memoizedState=Dc(i),u.childLanes=Fc(n,B,i),r.memoizedState=wc,xi(null,u)):(Pa(r),Sc(r,_))}var H=n.memoizedState;if(H!==null&&(_=H.dehydrated,_!==null)){if(E)r.flags&256?(Pa(r),r.flags&=-257,r=Mc(n,r,i)):r.memoizedState!==null?(Ga(),r.child=n.child,r.flags|=128,r=null):(Ga(),_=u.fallback,g=r.mode,u=Ws({mode:"visible",children:u.children},g),_=pr(_,g,i,null),_.flags|=2,u.return=r,_.return=r,u.sibling=_,r.child=u,Cr(r,n.child,null,i),u=r.child,u.memoizedState=Dc(i),u.childLanes=Fc(n,B,i),r.memoizedState=wc,r=xi(null,u));else if(Pa(r),u2(_)){if(B=_.nextSibling&&_.nextSibling.dataset,B)var te=B.dgst;B=te,u=Error(l(419)),u.stack="",u.digest=B,Jl({value:u,source:null,stack:null}),r=Mc(n,r,i)}else if(x0||el(n,r,i,!1),B=(i&n.childLanes)!==0,x0||B){if(B=Pt,B!==null&&(u=Qt(B,i),u!==0&&u!==H.retryLane))throw H.retryLane=u,hr(n,u),Y0(B,n,u),Ac;c2(_)||s1(),r=Mc(n,r,i)}else c2(_)?(r.flags|=192,r.child=n.child,r=null):(n=H.treeContext,Ut=An(_.nextSibling),D0=r,mt=!0,ja=null,Cn=!1,n!==null&&_d(r,n),r=Sc(r,u.children),r.flags|=4096);return r}return g?(Ga(),_=u.fallback,g=r.mode,H=n.child,te=H.sibling,u=ra(H,{mode:"hidden",children:u.children}),u.subtreeFlags=H.subtreeFlags&65011712,te!==null?_=ra(te,_):(_=pr(_,g,i,null),_.flags|=2),_.return=r,u.return=r,u.sibling=_,r.child=u,xi(null,u),u=r.child,_=n.child.memoizedState,_===null?_=Dc(i):(g=_.cachePool,g!==null?(H=c0._currentValue,g=g.parent!==H?{parent:H,pool:H}:g):g=Ld(),_={baseLanes:_.baseLanes|i,cachePool:g}),u.memoizedState=_,u.childLanes=Fc(n,B,i),r.memoizedState=wc,xi(n.child,u)):(Pa(r),i=n.child,n=i.sibling,i=ra(i,{mode:"visible",children:u.children}),i.return=r,i.sibling=null,n!==null&&(B=r.deletions,B===null?(r.deletions=[n],r.flags|=16):B.push(n)),r.child=i,r.memoizedState=null,i)}function Sc(n,r){return r=Ws({mode:"visible",children:r},n.mode),r.return=n,n.child=r}function Ws(n,r){return n=an(22,n,null,r),n.lanes=0,n}function Mc(n,r,i){return Cr(r,n.child,null,i),n=Sc(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function X3(n,r,i){n.lanes|=r;var u=n.alternate;u!==null&&(u.lanes|=r),Zo(n.return,r,i)}function Nc(n,r,i,u,g,E){var B=n.memoizedState;B===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:g,treeForkCount:E}:(B.isBackwards=r,B.rendering=null,B.renderingStartTime=0,B.last=u,B.tail=i,B.tailMode=g,B.treeForkCount=E)}function W3(n,r,i){var u=r.pendingProps,g=u.revealOrder,E=u.tail;u=u.children;var B=a0.current,_=(B&2)!==0;if(_?(B=B&1|2,r.flags|=128):B&=1,z(a0,B),S0(n,r,u,i),u=mt?Wl:0,!_&&n!==null&&(n.flags&128)!==0)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&X3(n,i,r);else if(n.tag===19)X3(n,i,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(g){case"forwards":for(i=r.child,g=null;i!==null;)n=i.alternate,n!==null&&Gs(n)===null&&(g=i),i=i.sibling;i=g,i===null?(g=r.child,r.child=null):(g=i.sibling,i.sibling=null),Nc(r,!1,g,i,E,u);break;case"backwards":case"unstable_legacy-backwards":for(i=null,g=r.child,r.child=null;g!==null;){if(n=g.alternate,n!==null&&Gs(n)===null){r.child=g;break}n=g.sibling,g.sibling=i,i=g,g=n}Nc(r,!0,i,null,E,u);break;case"together":Nc(r,!1,null,null,void 0,u);break;default:r.memoizedState=null}return r.child}function ua(n,r,i){if(n!==null&&(r.dependencies=n.dependencies),Ia|=r.lanes,(i&r.childLanes)===0)if(n!==null){if(el(n,r,i,!1),(i&r.childLanes)===0)return null}else return null;if(n!==null&&r.child!==n.child)throw Error(l(153));if(r.child!==null){for(n=r.child,i=ra(n,n.pendingProps),r.child=i,i.return=r;n.sibling!==null;)n=n.sibling,i=i.sibling=ra(n,n.pendingProps),i.return=r;i.sibling=null}return r.child}function _c(n,r){return(n.lanes&r)!==0?!0:(n=n.dependencies,!!(n!==null&&_s(n)))}function Dm(n,r,i){switch(r.tag){case 3:He(r,r.stateNode.containerInfo),za(r,c0,n.memoizedState.cache),mr();break;case 27:case 5:tt(r);break;case 4:He(r,r.stateNode.containerInfo);break;case 10:za(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,ac(r),null;break;case 13:var u=r.memoizedState;if(u!==null)return u.dehydrated!==null?(Pa(r),r.flags|=128,null):(i&r.child.childLanes)!==0?K3(n,r,i):(Pa(r),n=ua(n,r,i),n!==null?n.sibling:null);Pa(r);break;case 19:var g=(n.flags&128)!==0;if(u=(i&r.childLanes)!==0,u||(el(n,r,i,!1),u=(i&r.childLanes)!==0),g){if(u)return W3(n,r,i);r.flags|=128}if(g=r.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),z(a0,a0.current),u)break;return null;case 22:return r.lanes=0,U3(n,r,i,r.pendingProps);case 24:za(r,c0,n.memoizedState.cache)}return ua(n,r,i)}function J3(n,r,i){if(n!==null)if(n.memoizedProps!==r.pendingProps)x0=!0;else{if(!_c(n,i)&&(r.flags&128)===0)return x0=!1,Dm(n,r,i);x0=(n.flags&131072)!==0}else x0=!1,mt&&(r.flags&1048576)!==0&&Nd(r,Wl,r.index);switch(r.lanes=0,r.tag){case 16:e:{var u=r.pendingProps;if(n=br(r.elementType),r.type=n,typeof n=="function")Oo(n)?(u=Ar(n,u),r.tag=1,r=Q3(null,r,n,u,i)):(r.tag=0,r=Bc(null,r,n,u,i));else{if(n!=null){var g=n.$$typeof;if(g===N){r.tag=11,r=H3(null,r,n,u,i);break e}else if(g===R){r.tag=14,r=V3(null,r,n,u,i);break e}}throw r=ee(n)||n,Error(l(306,r,""))}}return r;case 0:return Bc(n,r,r.type,r.pendingProps,i);case 1:return u=r.type,g=Ar(u,r.pendingProps),Q3(n,r,u,g,i);case 3:e:{if(He(r,r.stateNode.containerInfo),n===null)throw Error(l(387));u=r.pendingProps;var E=r.memoizedState;g=E.element,Wo(n,r),ii(r,u,null,i);var B=r.memoizedState;if(u=B.cache,za(r,c0,u),u!==E.cache&&$o(r,[c0],i,!0),li(),u=B.element,E.isDehydrated)if(E={element:u,isDehydrated:!1,cache:B.cache},r.updateQueue.baseState=E,r.memoizedState=E,r.flags&256){r=Y3(n,r,u,i);break e}else if(u!==g){g=yn(Error(l(424)),r),Jl(g),r=Y3(n,r,u,i);break e}else for(n=r.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,Ut=An(n.firstChild),D0=r,mt=!0,ja=null,Cn=!0,i=Ud(r,null,u,i),r.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(mr(),u===g){r=ua(n,r,i);break e}S0(n,r,u,i)}r=r.child}return r;case 26:return Xs(n,r),n===null?(i=u8(r.type,null,r.pendingProps,null))?r.memoizedState=i:mt||(i=r.type,n=r.pendingProps,u=h1(X.current).createElement(i),u[lt]=r,u[i0]=n,M0(u,i,n),s0(u),r.stateNode=u):r.memoizedState=u8(r.type,n.memoizedProps,r.pendingProps,n.memoizedState),null;case 27:return tt(r),n===null&&mt&&(u=r.stateNode=s8(r.type,r.pendingProps,X.current),D0=r,Cn=!0,g=Ut,Qa(r.type)?(x2=g,Ut=An(u.firstChild)):Ut=g),S0(n,r,r.pendingProps.children,i),Xs(n,r),n===null&&(r.flags|=4194304),r.child;case 5:return n===null&&mt&&((g=u=Ut)&&(u=ag(u,r.type,r.pendingProps,Cn),u!==null?(r.stateNode=u,D0=r,Ut=An(u.firstChild),Cn=!1,g=!0):g=!1),g||Ta(r)),tt(r),g=r.type,E=r.pendingProps,B=n!==null?n.memoizedProps:null,u=E.children,i2(g,E)?u=null:B!==null&&i2(g,B)&&(r.flags|=32),r.memoizedState!==null&&(g=lc(n,r,Em,null,null,i),wi._currentValue=g),Xs(n,r),S0(n,r,u,i),r.child;case 6:return n===null&&mt&&((n=i=Ut)&&(i=rg(i,r.pendingProps,Cn),i!==null?(r.stateNode=i,D0=r,Ut=null,n=!0):n=!1),n||Ta(r)),null;case 13:return K3(n,r,i);case 4:return He(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=Cr(r,null,u,i):S0(n,r,u,i),r.child;case 11:return H3(n,r,r.type,r.pendingProps,i);case 7:return S0(n,r,r.pendingProps,i),r.child;case 8:return S0(n,r,r.pendingProps.children,i),r.child;case 12:return S0(n,r,r.pendingProps.children,i),r.child;case 10:return u=r.pendingProps,za(r,r.type,u.value),S0(n,r,u.children,i),r.child;case 9:return g=r.type._context,u=r.pendingProps.children,Er(r),g=F0(g),u=u(g),r.flags|=1,S0(n,r,u,i),r.child;case 14:return V3(n,r,r.type,r.pendingProps,i);case 15:return I3(n,r,r.type,r.pendingProps,i);case 19:return W3(n,r,i);case 31:return wm(n,r,i);case 22:return U3(n,r,i,r.pendingProps);case 24:return Er(r),u=F0(c0),n===null?(g=Yo(),g===null&&(g=Pt,E=qo(),g.pooledCache=E,E.refCount++,E!==null&&(g.pooledCacheLanes|=i),g=E),r.memoizedState={parent:u,cache:g},Xo(r),za(r,c0,g)):((n.lanes&i)!==0&&(Wo(n,r),ii(r,null,null,i),li()),g=n.memoizedState,E=r.memoizedState,g.parent!==u?(g={parent:u,cache:u},r.memoizedState=g,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=g),za(r,c0,u)):(u=E.cache,za(r,c0,u),u!==g.cache&&$o(r,[c0],i,!0))),S0(n,r,r.pendingProps.children,i),r.child;case 29:throw r.pendingProps}throw Error(l(156,r.tag))}function xa(n){n.flags|=4}function jc(n,r,i,u,g){if((r=(n.mode&32)!==0)&&(r=!1),r){if(n.flags|=16777216,(g&335544128)===g)if(n.stateNode.complete)n.flags|=8192;else if(w5())n.flags|=8192;else throw vr=Rs,Ko}else n.flags&=-16777217}function e5(n,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!p8(r))if(w5())n.flags|=8192;else throw vr=Rs,Ko}function Js(n,r){r!==null&&(n.flags|=4),n.flags&16384&&(r=n.tag!==22?Qe():536870912,n.lanes|=r,dl|=r)}function di(n,r){if(!mt)switch(n.tailMode){case"hidden":r=n.tail;for(var i=null;r!==null;)r.alternate!==null&&(i=r),r=r.sibling;i===null?n.tail=null:i.sibling=null;break;case"collapsed":i=n.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function Zt(n){var r=n.alternate!==null&&n.alternate.child===n.child,i=0,u=0;if(r)for(var g=n.child;g!==null;)i|=g.lanes|g.childLanes,u|=g.subtreeFlags&65011712,u|=g.flags&65011712,g.return=n,g=g.sibling;else for(g=n.child;g!==null;)i|=g.lanes|g.childLanes,u|=g.subtreeFlags,u|=g.flags,g.return=n,g=g.sibling;return n.subtreeFlags|=u,n.childLanes=i,r}function Fm(n,r,i){var u=r.pendingProps;switch(Ho(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zt(r),null;case 1:return Zt(r),null;case 3:return i=r.stateNode,u=null,n!==null&&(u=n.memoizedState.cache),r.memoizedState.cache!==u&&(r.flags|=2048),sa(c0),Be(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(Jr(r)?xa(r):n===null||n.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Io())),Zt(r),null;case 26:var g=r.type,E=r.memoizedState;return n===null?(xa(r),E!==null?(Zt(r),e5(r,E)):(Zt(r),jc(r,g,null,u,i))):E?E!==n.memoizedState?(xa(r),Zt(r),e5(r,E)):(Zt(r),r.flags&=-16777217):(n=n.memoizedProps,n!==u&&xa(r),Zt(r),jc(r,g,n,u,i)),null;case 27:if(ct(r),i=X.current,g=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==u&&xa(r);else{if(!u){if(r.stateNode===null)throw Error(l(166));return Zt(r),null}n=ie.current,Jr(r)?jd(r):(n=s8(g,u,i),r.stateNode=n,xa(r))}return Zt(r),null;case 5:if(ct(r),g=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==u&&xa(r);else{if(!u){if(r.stateNode===null)throw Error(l(166));return Zt(r),null}if(E=ie.current,Jr(r))jd(r);else{var B=h1(X.current);switch(E){case 1:E=B.createElementNS("http://www.w3.org/2000/svg",g);break;case 2:E=B.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;default:switch(g){case"svg":E=B.createElementNS("http://www.w3.org/2000/svg",g);break;case"math":E=B.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;case"script":E=B.createElement("div"),E.innerHTML="<script><\/script>",E=E.removeChild(E.firstChild);break;case"select":E=typeof u.is=="string"?B.createElement("select",{is:u.is}):B.createElement("select"),u.multiple?E.multiple=!0:u.size&&(E.size=u.size);break;default:E=typeof u.is=="string"?B.createElement(g,{is:u.is}):B.createElement(g)}}E[lt]=r,E[i0]=u;e:for(B=r.child;B!==null;){if(B.tag===5||B.tag===6)E.appendChild(B.stateNode);else if(B.tag!==4&&B.tag!==27&&B.child!==null){B.child.return=B,B=B.child;continue}if(B===r)break e;for(;B.sibling===null;){if(B.return===null||B.return===r)break e;B=B.return}B.sibling.return=B.return,B=B.sibling}r.stateNode=E;e:switch(M0(E,g,u),g){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&xa(r)}}return Zt(r),jc(r,r.type,n===null?null:n.memoizedProps,r.pendingProps,i),null;case 6:if(n&&r.stateNode!=null)n.memoizedProps!==u&&xa(r);else{if(typeof u!="string"&&r.stateNode===null)throw Error(l(166));if(n=X.current,Jr(r)){if(n=r.stateNode,i=r.memoizedProps,u=null,g=D0,g!==null)switch(g.tag){case 27:case 5:u=g.memoizedProps}n[lt]=r,n=!!(n.nodeValue===i||u!==null&&u.suppressHydrationWarning===!0||K5(n.nodeValue,i)),n||Ta(r,!0)}else n=h1(n).createTextNode(u),n[lt]=r,r.stateNode=n}return Zt(r),null;case 31:if(i=r.memoizedState,n===null||n.memoizedState!==null){if(u=Jr(r),i!==null){if(n===null){if(!u)throw Error(l(318));if(n=r.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(l(557));n[lt]=r}else mr(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Zt(r),n=!1}else i=Io(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=i),n=!0;if(!n)return r.flags&256?(ln(r),r):(ln(r),null);if((r.flags&128)!==0)throw Error(l(558))}return Zt(r),null;case 13:if(u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(g=Jr(r),u!==null&&u.dehydrated!==null){if(n===null){if(!g)throw Error(l(318));if(g=r.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(l(317));g[lt]=r}else mr(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;Zt(r),g=!1}else g=Io(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=g),g=!0;if(!g)return r.flags&256?(ln(r),r):(ln(r),null)}return ln(r),(r.flags&128)!==0?(r.lanes=i,r):(i=u!==null,n=n!==null&&n.memoizedState!==null,i&&(u=r.child,g=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(g=u.alternate.memoizedState.cachePool.pool),E=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(E=u.memoizedState.cachePool.pool),E!==g&&(u.flags|=2048)),i!==n&&i&&(r.child.flags|=8192),Js(r,r.updateQueue),Zt(r),null);case 4:return Be(),n===null&&t2(r.stateNode.containerInfo),Zt(r),null;case 10:return sa(r.type),Zt(r),null;case 19:if($(a0),u=r.memoizedState,u===null)return Zt(r),null;if(g=(r.flags&128)!==0,E=u.rendering,E===null)if(g)di(u,!1);else{if(e0!==0||n!==null&&(n.flags&128)!==0)for(n=r.child;n!==null;){if(E=Gs(n),E!==null){for(r.flags|=128,di(u,!1),n=E.updateQueue,r.updateQueue=n,Js(r,n),r.subtreeFlags=0,n=i,i=r.child;i!==null;)Fd(i,n),i=i.sibling;return z(a0,a0.current&1|2),mt&&la(r,u.treeForkCount),r.child}n=n.sibling}u.tail!==null&&Me()>r1&&(r.flags|=128,g=!0,di(u,!1),r.lanes=4194304)}else{if(!g)if(n=Gs(E),n!==null){if(r.flags|=128,g=!0,n=n.updateQueue,r.updateQueue=n,Js(r,n),di(u,!0),u.tail===null&&u.tailMode==="hidden"&&!E.alternate&&!mt)return Zt(r),null}else 2*Me()-u.renderingStartTime>r1&&i!==536870912&&(r.flags|=128,g=!0,di(u,!1),r.lanes=4194304);u.isBackwards?(E.sibling=r.child,r.child=E):(n=u.last,n!==null?n.sibling=E:r.child=E,u.last=E)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=Me(),n.sibling=null,i=a0.current,z(a0,g?i&1|2:i&1),mt&&la(r,u.treeForkCount),n):(Zt(r),null);case 22:case 23:return ln(r),nc(),u=r.memoizedState!==null,n!==null?n.memoizedState!==null!==u&&(r.flags|=8192):u&&(r.flags|=8192),u?(i&536870912)!==0&&(r.flags&128)===0&&(Zt(r),r.subtreeFlags&6&&(r.flags|=8192)):Zt(r),i=r.updateQueue,i!==null&&Js(r,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),u=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),u!==i&&(r.flags|=2048),n!==null&&$(yr),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),r.memoizedState.cache!==i&&(r.flags|=2048),sa(c0),Zt(r),null;case 25:return null;case 30:return null}throw Error(l(156,r.tag))}function Sm(n,r){switch(Ho(r),r.tag){case 1:return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return sa(c0),Be(),n=r.flags,(n&65536)!==0&&(n&128)===0?(r.flags=n&-65537|128,r):null;case 26:case 27:case 5:return ct(r),null;case 31:if(r.memoizedState!==null){if(ln(r),r.alternate===null)throw Error(l(340));mr()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 13:if(ln(r),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(l(340));mr()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return $(a0),null;case 4:return Be(),null;case 10:return sa(r.type),null;case 22:case 23:return ln(r),nc(),n!==null&&$(yr),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 24:return sa(c0),null;case 25:return null;default:return null}}function t5(n,r){switch(Ho(r),r.tag){case 3:sa(c0),Be();break;case 26:case 27:case 5:ct(r);break;case 4:Be();break;case 31:r.memoizedState!==null&&ln(r);break;case 13:ln(r);break;case 19:$(a0);break;case 10:sa(r.type);break;case 22:case 23:ln(r),nc(),n!==null&&$(yr);break;case 24:sa(c0)}}function fi(n,r){try{var i=r.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var g=u.next;i=g;do{if((i.tag&n)===n){u=void 0;var E=i.create,B=i.inst;u=E(),B.destroy=u}i=i.next}while(i!==g)}}catch(_){Nt(r,r.return,_)}}function Ha(n,r,i){try{var u=r.updateQueue,g=u!==null?u.lastEffect:null;if(g!==null){var E=g.next;u=E;do{if((u.tag&n)===n){var B=u.inst,_=B.destroy;if(_!==void 0){B.destroy=void 0,g=r;var H=i,te=_;try{te()}catch(ce){Nt(g,H,ce)}}}u=u.next}while(u!==E)}}catch(ce){Nt(r,r.return,ce)}}function n5(n){var r=n.updateQueue;if(r!==null){var i=n.stateNode;try{$d(r,i)}catch(u){Nt(n,n.return,u)}}}function a5(n,r,i){i.props=Ar(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(u){Nt(n,r,u)}}function hi(n,r){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var u=n.stateNode;break;case 30:u=n.stateNode;break;default:u=n.stateNode}typeof i=="function"?n.refCleanup=i(u):i.current=u}}catch(g){Nt(n,r,g)}}function Un(n,r){var i=n.ref,u=n.refCleanup;if(i!==null)if(typeof u=="function")try{u()}catch(g){Nt(n,r,g)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(g){Nt(n,r,g)}else i.current=null}function r5(n){var r=n.type,i=n.memoizedProps,u=n.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":i.autoFocus&&u.focus();break e;case"img":i.src?u.src=i.src:i.srcSet&&(u.srcset=i.srcSet)}}catch(g){Nt(n,n.return,g)}}function Tc(n,r,i){try{var u=n.stateNode;Xm(u,n.type,i,r),u[i0]=r}catch(g){Nt(n,n.return,g)}}function l5(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Qa(n.type)||n.tag===4}function zc(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||l5(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Qa(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Rc(n,r,i){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(n,r):(r=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,r.appendChild(n),i=i._reactRootContainer,i!=null||r.onclick!==null||(r.onclick=ke));else if(u!==4&&(u===27&&Qa(n.type)&&(i=n.stateNode,r=null),n=n.child,n!==null))for(Rc(n,r,i),n=n.sibling;n!==null;)Rc(n,r,i),n=n.sibling}function e1(n,r,i){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?i.insertBefore(n,r):i.appendChild(n);else if(u!==4&&(u===27&&Qa(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(e1(n,r,i),n=n.sibling;n!==null;)e1(n,r,i),n=n.sibling}function i5(n){var r=n.stateNode,i=n.memoizedProps;try{for(var u=n.type,g=r.attributes;g.length;)r.removeAttributeNode(g[0]);M0(r,u,i),r[lt]=n,r[i0]=i}catch(E){Nt(n,n.return,E)}}var da=!1,d0=!1,Oc=!1,s5=typeof WeakSet=="function"?WeakSet:Set,k0=null;function Mm(n,r){if(n=n.containerInfo,r2=v1,n=yd(n),Mo(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else e:{i=(i=n.ownerDocument)&&i.defaultView||window;var u=i.getSelection&&i.getSelection();if(u&&u.rangeCount!==0){i=u.anchorNode;var g=u.anchorOffset,E=u.focusNode;u=u.focusOffset;try{i.nodeType,E.nodeType}catch{i=null;break e}var B=0,_=-1,H=-1,te=0,ce=0,fe=n,ae=null;t:for(;;){for(var oe;fe!==i||g!==0&&fe.nodeType!==3||(_=B+g),fe!==E||u!==0&&fe.nodeType!==3||(H=B+u),fe.nodeType===3&&(B+=fe.nodeValue.length),(oe=fe.firstChild)!==null;)ae=fe,fe=oe;for(;;){if(fe===n)break t;if(ae===i&&++te===g&&(_=B),ae===E&&++ce===u&&(H=B),(oe=fe.nextSibling)!==null)break;fe=ae,ae=fe.parentNode}fe=oe}i=_===-1||H===-1?null:{start:_,end:H}}else i=null}i=i||{start:0,end:0}}else i=null;for(l2={focusedElem:n,selectionRange:i},v1=!1,k0=r;k0!==null;)if(r=k0,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,k0=n;else for(;k0!==null;){switch(r=k0,E=r.alternate,n=r.flags,r.tag){case 0:if((n&4)!==0&&(n=r.updateQueue,n=n!==null?n.events:null,n!==null))for(i=0;i<n.length;i++)g=n[i],g.ref.impl=g.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&E!==null){n=void 0,i=r,g=E.memoizedProps,E=E.memoizedState,u=i.stateNode;try{var ze=Ar(i.type,g);n=u.getSnapshotBeforeUpdate(ze,E),u.__reactInternalSnapshotBeforeUpdate=n}catch(qe){Nt(i,i.return,qe)}}break;case 3:if((n&1024)!==0){if(n=r.stateNode.containerInfo,i=n.nodeType,i===9)o2(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":o2(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(l(163))}if(n=r.sibling,n!==null){n.return=r.return,k0=n;break}k0=r.return}}function o5(n,r,i){var u=i.flags;switch(i.tag){case 0:case 11:case 15:ha(n,i),u&4&&fi(5,i);break;case 1:if(ha(n,i),u&4)if(n=i.stateNode,r===null)try{n.componentDidMount()}catch(B){Nt(i,i.return,B)}else{var g=Ar(i.type,r.memoizedProps);r=r.memoizedState;try{n.componentDidUpdate(g,r,n.__reactInternalSnapshotBeforeUpdate)}catch(B){Nt(i,i.return,B)}}u&64&&n5(i),u&512&&hi(i,i.return);break;case 3:if(ha(n,i),u&64&&(n=i.updateQueue,n!==null)){if(r=null,i.child!==null)switch(i.child.tag){case 27:case 5:r=i.child.stateNode;break;case 1:r=i.child.stateNode}try{$d(n,r)}catch(B){Nt(i,i.return,B)}}break;case 27:r===null&&u&4&&i5(i);case 26:case 5:ha(n,i),r===null&&u&4&&r5(i),u&512&&hi(i,i.return);break;case 12:ha(n,i);break;case 31:ha(n,i),u&4&&x5(n,i);break;case 13:ha(n,i),u&4&&d5(n,i),u&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(i=Pm.bind(null,i),lg(n,i))));break;case 22:if(u=i.memoizedState!==null||da,!u){r=r!==null&&r.memoizedState!==null||d0,g=da;var E=d0;da=u,(d0=r)&&!E?pa(n,i,(i.subtreeFlags&8772)!==0):ha(n,i),da=g,d0=E}break;case 30:break;default:ha(n,i)}}function c5(n){var r=n.alternate;r!==null&&(n.alternate=null,c5(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&Ll(r)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Yt=null,Z0=!1;function fa(n,r,i){for(i=i.child;i!==null;)u5(n,r,i),i=i.sibling}function u5(n,r,i){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(Wt,i)}catch{}switch(i.tag){case 26:d0||Un(i,r),fa(n,r,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:d0||Un(i,r);var u=Yt,g=Z0;Qa(i.type)&&(Yt=i.stateNode,Z0=!1),fa(n,r,i),ki(i.stateNode),Yt=u,Z0=g;break;case 5:d0||Un(i,r);case 6:if(u=Yt,g=Z0,Yt=null,fa(n,r,i),Yt=u,Z0=g,Yt!==null)if(Z0)try{(Yt.nodeType===9?Yt.body:Yt.nodeName==="HTML"?Yt.ownerDocument.body:Yt).removeChild(i.stateNode)}catch(E){Nt(i,r,E)}else try{Yt.removeChild(i.stateNode)}catch(E){Nt(i,r,E)}break;case 18:Yt!==null&&(Z0?(n=Yt,n8(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),bl(n)):n8(Yt,i.stateNode));break;case 4:u=Yt,g=Z0,Yt=i.stateNode.containerInfo,Z0=!0,fa(n,r,i),Yt=u,Z0=g;break;case 0:case 11:case 14:case 15:Ha(2,i,r),d0||Ha(4,i,r),fa(n,r,i);break;case 1:d0||(Un(i,r),u=i.stateNode,typeof u.componentWillUnmount=="function"&&a5(i,r,u)),fa(n,r,i);break;case 21:fa(n,r,i);break;case 22:d0=(u=d0)||i.memoizedState!==null,fa(n,r,i),d0=u;break;default:fa(n,r,i)}}function x5(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{bl(n)}catch(i){Nt(r,r.return,i)}}}function d5(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{bl(n)}catch(i){Nt(r,r.return,i)}}function Nm(n){switch(n.tag){case 31:case 13:case 19:var r=n.stateNode;return r===null&&(r=n.stateNode=new s5),r;case 22:return n=n.stateNode,r=n._retryCache,r===null&&(r=n._retryCache=new s5),r;default:throw Error(l(435,n.tag))}}function t1(n,r){var i=Nm(n);r.forEach(function(u){if(!i.has(u)){i.add(u);var g=Gm.bind(null,n,u);u.then(g,g)}})}function $0(n,r){var i=r.deletions;if(i!==null)for(var u=0;u<i.length;u++){var g=i[u],E=n,B=r,_=B;e:for(;_!==null;){switch(_.tag){case 27:if(Qa(_.type)){Yt=_.stateNode,Z0=!1;break e}break;case 5:Yt=_.stateNode,Z0=!1;break e;case 3:case 4:Yt=_.stateNode.containerInfo,Z0=!0;break e}_=_.return}if(Yt===null)throw Error(l(160));u5(E,B,g),Yt=null,Z0=!1,E=g.alternate,E!==null&&(E.return=null),g.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)f5(r,n),r=r.sibling}var zn=null;function f5(n,r){var i=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:$0(r,n),q0(n),u&4&&(Ha(3,n,n.return),fi(3,n),Ha(5,n,n.return));break;case 1:$0(r,n),q0(n),u&512&&(d0||i===null||Un(i,i.return)),u&64&&da&&(n=n.updateQueue,n!==null&&(u=n.callbacks,u!==null&&(i=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=i===null?u:i.concat(u))));break;case 26:var g=zn;if($0(r,n),q0(n),u&512&&(d0||i===null||Un(i,i.return)),u&4){var E=i!==null?i.memoizedState:null;if(u=n.memoizedState,i===null)if(u===null)if(n.stateNode===null){e:{u=n.type,i=n.memoizedProps,g=g.ownerDocument||g;t:switch(u){case"title":E=g.getElementsByTagName("title")[0],(!E||E[or]||E[lt]||E.namespaceURI==="http://www.w3.org/2000/svg"||E.hasAttribute("itemprop"))&&(E=g.createElement(u),g.head.insertBefore(E,g.querySelector("head > title"))),M0(E,u,i),E[lt]=n,s0(E),u=E;break e;case"link":var B=f8("link","href",g).get(u+(i.href||""));if(B){for(var _=0;_<B.length;_++)if(E=B[_],E.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&E.getAttribute("rel")===(i.rel==null?null:i.rel)&&E.getAttribute("title")===(i.title==null?null:i.title)&&E.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){B.splice(_,1);break t}}E=g.createElement(u),M0(E,u,i),g.head.appendChild(E);break;case"meta":if(B=f8("meta","content",g).get(u+(i.content||""))){for(_=0;_<B.length;_++)if(E=B[_],E.getAttribute("content")===(i.content==null?null:""+i.content)&&E.getAttribute("name")===(i.name==null?null:i.name)&&E.getAttribute("property")===(i.property==null?null:i.property)&&E.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&E.getAttribute("charset")===(i.charSet==null?null:i.charSet)){B.splice(_,1);break t}}E=g.createElement(u),M0(E,u,i),g.head.appendChild(E);break;default:throw Error(l(468,u))}E[lt]=n,s0(E),u=E}n.stateNode=u}else h8(g,n.type,n.stateNode);else n.stateNode=d8(g,u,n.memoizedProps);else E!==u?(E===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):E.count--,u===null?h8(g,n.type,n.stateNode):d8(g,u,n.memoizedProps)):u===null&&n.stateNode!==null&&Tc(n,n.memoizedProps,i.memoizedProps)}break;case 27:$0(r,n),q0(n),u&512&&(d0||i===null||Un(i,i.return)),i!==null&&u&4&&Tc(n,n.memoizedProps,i.memoizedProps);break;case 5:if($0(r,n),q0(n),u&512&&(d0||i===null||Un(i,i.return)),n.flags&32){g=n.stateNode;try{Ye(g,"")}catch(ze){Nt(n,n.return,ze)}}u&4&&n.stateNode!=null&&(g=n.memoizedProps,Tc(n,g,i!==null?i.memoizedProps:g)),u&1024&&(Oc=!0);break;case 6:if($0(r,n),q0(n),u&4){if(n.stateNode===null)throw Error(l(162));u=n.memoizedProps,i=n.stateNode;try{i.nodeValue=u}catch(ze){Nt(n,n.return,ze)}}break;case 3:if(g1=null,g=zn,zn=p1(r.containerInfo),$0(r,n),zn=g,q0(n),u&4&&i!==null&&i.memoizedState.isDehydrated)try{bl(r.containerInfo)}catch(ze){Nt(n,n.return,ze)}Oc&&(Oc=!1,h5(n));break;case 4:u=zn,zn=p1(n.stateNode.containerInfo),$0(r,n),q0(n),zn=u;break;case 12:$0(r,n),q0(n);break;case 31:$0(r,n),q0(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,t1(n,u)));break;case 13:$0(r,n),q0(n),n.child.flags&8192&&n.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(a1=Me()),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,t1(n,u)));break;case 22:g=n.memoizedState!==null;var H=i!==null&&i.memoizedState!==null,te=da,ce=d0;if(da=te||g,d0=ce||H,$0(r,n),d0=ce,da=te,q0(n),u&8192)e:for(r=n.stateNode,r._visibility=g?r._visibility&-2:r._visibility|1,g&&(i===null||H||da||d0||Br(n)),i=null,r=n;;){if(r.tag===5||r.tag===26){if(i===null){H=i=r;try{if(E=H.stateNode,g)B=E.style,typeof B.setProperty=="function"?B.setProperty("display","none","important"):B.display="none";else{_=H.stateNode;var fe=H.memoizedProps.style,ae=fe!=null&&fe.hasOwnProperty("display")?fe.display:null;_.style.display=ae==null||typeof ae=="boolean"?"":(""+ae).trim()}}catch(ze){Nt(H,H.return,ze)}}}else if(r.tag===6){if(i===null){H=r;try{H.stateNode.nodeValue=g?"":H.memoizedProps}catch(ze){Nt(H,H.return,ze)}}}else if(r.tag===18){if(i===null){H=r;try{var oe=H.stateNode;g?a8(oe,!0):a8(H.stateNode,!1)}catch(ze){Nt(H,H.return,ze)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===n)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;i===r&&(i=null),r=r.return}i===r&&(i=null),r.sibling.return=r.return,r=r.sibling}u&4&&(u=n.updateQueue,u!==null&&(i=u.retryQueue,i!==null&&(u.retryQueue=null,t1(n,i))));break;case 19:$0(r,n),q0(n),u&4&&(u=n.updateQueue,u!==null&&(n.updateQueue=null,t1(n,u)));break;case 30:break;case 21:break;default:$0(r,n),q0(n)}}function q0(n){var r=n.flags;if(r&2){try{for(var i,u=n.return;u!==null;){if(l5(u)){i=u;break}u=u.return}if(i==null)throw Error(l(160));switch(i.tag){case 27:var g=i.stateNode,E=zc(n);e1(n,E,g);break;case 5:var B=i.stateNode;i.flags&32&&(Ye(B,""),i.flags&=-33);var _=zc(n);e1(n,_,B);break;case 3:case 4:var H=i.stateNode.containerInfo,te=zc(n);Rc(n,te,H);break;default:throw Error(l(161))}}catch(ce){Nt(n,n.return,ce)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function h5(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var r=n;h5(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),n=n.sibling}}function ha(n,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)o5(n,r.alternate,r),r=r.sibling}function Br(n){for(n=n.child;n!==null;){var r=n;switch(r.tag){case 0:case 11:case 14:case 15:Ha(4,r,r.return),Br(r);break;case 1:Un(r,r.return);var i=r.stateNode;typeof i.componentWillUnmount=="function"&&a5(r,r.return,i),Br(r);break;case 27:ki(r.stateNode);case 26:case 5:Un(r,r.return),Br(r);break;case 22:r.memoizedState===null&&Br(r);break;case 30:Br(r);break;default:Br(r)}n=n.sibling}}function pa(n,r,i){for(i=i&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var u=r.alternate,g=n,E=r,B=E.flags;switch(E.tag){case 0:case 11:case 15:pa(g,E,i),fi(4,E);break;case 1:if(pa(g,E,i),u=E,g=u.stateNode,typeof g.componentDidMount=="function")try{g.componentDidMount()}catch(te){Nt(u,u.return,te)}if(u=E,g=u.updateQueue,g!==null){var _=u.stateNode;try{var H=g.shared.hiddenCallbacks;if(H!==null)for(g.shared.hiddenCallbacks=null,g=0;g<H.length;g++)Zd(H[g],_)}catch(te){Nt(u,u.return,te)}}i&&B&64&&n5(E),hi(E,E.return);break;case 27:i5(E);case 26:case 5:pa(g,E,i),i&&u===null&&B&4&&r5(E),hi(E,E.return);break;case 12:pa(g,E,i);break;case 31:pa(g,E,i),i&&B&4&&x5(g,E);break;case 13:pa(g,E,i),i&&B&4&&d5(g,E);break;case 22:E.memoizedState===null&&pa(g,E,i),hi(E,E.return);break;case 30:break;default:pa(g,E,i)}r=r.sibling}}function Lc(n,r){var i=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),n=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(n=r.memoizedState.cachePool.pool),n!==i&&(n!=null&&n.refCount++,i!=null&&ei(i))}function Pc(n,r){n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&ei(n))}function Rn(n,r,i,u){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)p5(n,r,i,u),r=r.sibling}function p5(n,r,i,u){var g=r.flags;switch(r.tag){case 0:case 11:case 15:Rn(n,r,i,u),g&2048&&fi(9,r);break;case 1:Rn(n,r,i,u);break;case 3:Rn(n,r,i,u),g&2048&&(n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&ei(n)));break;case 12:if(g&2048){Rn(n,r,i,u),n=r.stateNode;try{var E=r.memoizedProps,B=E.id,_=E.onPostCommit;typeof _=="function"&&_(B,r.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(H){Nt(r,r.return,H)}}else Rn(n,r,i,u);break;case 31:Rn(n,r,i,u);break;case 13:Rn(n,r,i,u);break;case 23:break;case 22:E=r.stateNode,B=r.alternate,r.memoizedState!==null?E._visibility&2?Rn(n,r,i,u):pi(n,r):E._visibility&2?Rn(n,r,i,u):(E._visibility|=2,cl(n,r,i,u,(r.subtreeFlags&10256)!==0||!1)),g&2048&&Lc(B,r);break;case 24:Rn(n,r,i,u),g&2048&&Pc(r.alternate,r);break;default:Rn(n,r,i,u)}}function cl(n,r,i,u,g){for(g=g&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var E=n,B=r,_=i,H=u,te=B.flags;switch(B.tag){case 0:case 11:case 15:cl(E,B,_,H,g),fi(8,B);break;case 23:break;case 22:var ce=B.stateNode;B.memoizedState!==null?ce._visibility&2?cl(E,B,_,H,g):pi(E,B):(ce._visibility|=2,cl(E,B,_,H,g)),g&&te&2048&&Lc(B.alternate,B);break;case 24:cl(E,B,_,H,g),g&&te&2048&&Pc(B.alternate,B);break;default:cl(E,B,_,H,g)}r=r.sibling}}function pi(n,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var i=n,u=r,g=u.flags;switch(u.tag){case 22:pi(i,u),g&2048&&Lc(u.alternate,u);break;case 24:pi(i,u),g&2048&&Pc(u.alternate,u);break;default:pi(i,u)}r=r.sibling}}var mi=8192;function ul(n,r,i){if(n.subtreeFlags&mi)for(n=n.child;n!==null;)m5(n,r,i),n=n.sibling}function m5(n,r,i){switch(n.tag){case 26:ul(n,r,i),n.flags&mi&&n.memoizedState!==null&&gg(i,zn,n.memoizedState,n.memoizedProps);break;case 5:ul(n,r,i);break;case 3:case 4:var u=zn;zn=p1(n.stateNode.containerInfo),ul(n,r,i),zn=u;break;case 22:n.memoizedState===null&&(u=n.alternate,u!==null&&u.memoizedState!==null?(u=mi,mi=16777216,ul(n,r,i),mi=u):ul(n,r,i));break;default:ul(n,r,i)}}function g5(n){var r=n.alternate;if(r!==null&&(n=r.child,n!==null)){r.child=null;do r=n.sibling,n.sibling=null,n=r;while(n!==null)}}function gi(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var i=0;i<r.length;i++){var u=r[i];k0=u,y5(u,n)}g5(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)E5(n),n=n.sibling}function E5(n){switch(n.tag){case 0:case 11:case 15:gi(n),n.flags&2048&&Ha(9,n,n.return);break;case 3:gi(n);break;case 12:gi(n);break;case 22:var r=n.stateNode;n.memoizedState!==null&&r._visibility&2&&(n.return===null||n.return.tag!==13)?(r._visibility&=-3,n1(n)):gi(n);break;default:gi(n)}}function n1(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var i=0;i<r.length;i++){var u=r[i];k0=u,y5(u,n)}g5(n)}for(n=n.child;n!==null;){switch(r=n,r.tag){case 0:case 11:case 15:Ha(8,r,r.return),n1(r);break;case 22:i=r.stateNode,i._visibility&2&&(i._visibility&=-3,n1(r));break;default:n1(r)}n=n.sibling}}function y5(n,r){for(;k0!==null;){var i=k0;switch(i.tag){case 0:case 11:case 15:Ha(8,i,r);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var u=i.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:ei(i.memoizedState.cache)}if(u=i.child,u!==null)u.return=i,k0=u;else e:for(i=n;k0!==null;){u=k0;var g=u.sibling,E=u.return;if(c5(u),u===i){k0=null;break e}if(g!==null){g.return=E,k0=g;break e}k0=E}}}var _m={getCacheForType:function(n){var r=F0(c0),i=r.data.get(n);return i===void 0&&(i=n(),r.data.set(n,i)),i},cacheSignal:function(){return F0(c0).controller.signal}},jm=typeof WeakMap=="function"?WeakMap:Map,Bt=0,Pt=null,ut=null,ht=0,Mt=0,sn=null,Va=!1,xl=!1,Gc=!1,ma=0,e0=0,Ia=0,wr=0,Hc=0,on=0,dl=0,Ei=null,Q0=null,Vc=!1,a1=0,b5=0,r1=1/0,l1=null,Ua=null,g0=0,Za=null,fl=null,ga=0,Ic=0,Uc=null,v5=null,yi=0,Zc=null;function cn(){return(Bt&2)!==0&&ht!==0?ht&-ht:G.T!==null?Xc():Ee()}function C5(){if(on===0)if((ht&536870912)===0||mt){var n=Wn;Wn<<=1,(Wn&3932160)===0&&(Wn=262144),on=n}else on=536870912;return n=rn.current,n!==null&&(n.flags|=32),on}function Y0(n,r,i){(n===Pt&&(Mt===2||Mt===9)||n.cancelPendingCommit!==null)&&(hl(n,0),$a(n,ht,on,!1)),At(n,i),((Bt&2)===0||n!==Pt)&&(n===Pt&&((Bt&2)===0&&(wr|=i),e0===4&&$a(n,ht,on,!1)),Zn(n))}function k5(n,r,i){if((Bt&6)!==0)throw Error(l(327));var u=!i&&(r&127)===0&&(r&n.expiredLanes)===0||ue(n,r),g=u?Rm(n,r):qc(n,r,!0),E=u;do{if(g===0){xl&&!u&&$a(n,r,0,!1);break}else{if(i=n.current.alternate,E&&!Tm(i)){g=qc(n,r,!1),E=!1;continue}if(g===2){if(E=r,n.errorRecoveryDisabledLanes&E)var B=0;else B=n.pendingLanes&-536870913,B=B!==0?B:B&536870912?536870912:0;if(B!==0){r=B;e:{var _=n;g=Ei;var H=_.current.memoizedState.isDehydrated;if(H&&(hl(_,B).flags|=256),B=qc(_,B,!1),B!==2){if(Gc&&!H){_.errorRecoveryDisabledLanes|=E,wr|=E,g=4;break e}E=Q0,Q0=g,E!==null&&(Q0===null?Q0=E:Q0.push.apply(Q0,E))}g=B}if(E=!1,g!==2)continue}}if(g===1){hl(n,0),$a(n,r,0,!0);break}e:{switch(u=n,E=g,E){case 0:case 1:throw Error(l(345));case 4:if((r&4194048)!==r)break;case 6:$a(u,r,on,!Va);break e;case 2:Q0=null;break;case 3:case 5:break;default:throw Error(l(329))}if((r&62914560)===r&&(g=a1+300-Me(),10<g)){if($a(u,r,on,!Va),I(u,0,!0)!==0)break e;ga=r,u.timeoutHandle=e8(A5.bind(null,u,i,Q0,l1,Vc,r,on,wr,dl,Va,E,"Throttled",-0,0),g);break e}A5(u,i,Q0,l1,Vc,r,on,wr,dl,Va,E,null,-0,0)}}break}while(!0);Zn(n)}function A5(n,r,i,u,g,E,B,_,H,te,ce,fe,ae,oe){if(n.timeoutHandle=-1,fe=r.subtreeFlags,fe&8192||(fe&16785408)===16785408){fe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ke},m5(r,E,fe);var ze=(E&62914560)===E?a1-Me():(E&4194048)===E?b5-Me():0;if(ze=Eg(fe,ze),ze!==null){ga=E,n.cancelPendingCommit=ze(_5.bind(null,n,r,E,i,u,g,B,_,H,ce,fe,null,ae,oe)),$a(n,E,B,!te);return}}_5(n,r,E,i,u,g,B,_,H)}function Tm(n){for(var r=n;;){var i=r.tag;if((i===0||i===11||i===15)&&r.flags&16384&&(i=r.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var u=0;u<i.length;u++){var g=i[u],E=g.getSnapshot;g=g.value;try{if(!nn(E(),g))return!1}catch{return!1}}if(i=r.child,r.subtreeFlags&16384&&i!==null)i.return=r,r=i;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function $a(n,r,i,u){r&=~Hc,r&=~wr,n.suspendedLanes|=r,n.pingedLanes&=~r,u&&(n.warmLanes|=r),u=n.expirationTimes;for(var g=r;0<g;){var E=31-kt(g),B=1<<E;u[E]=-1,g&=~B}i!==0&&Se(n,i,r)}function i1(){return(Bt&6)===0?(bi(0),!1):!0}function $c(){if(ut!==null){if(Mt===0)var n=ut.return;else n=ut,ia=gr=null,oc(n),rl=null,ni=0,n=ut;for(;n!==null;)t5(n.alternate,n),n=n.return;ut=null}}function hl(n,r){var i=n.timeoutHandle;i!==-1&&(n.timeoutHandle=-1,eg(i)),i=n.cancelPendingCommit,i!==null&&(n.cancelPendingCommit=null,i()),ga=0,$c(),Pt=n,ut=i=ra(n.current,null),ht=r,Mt=0,sn=null,Va=!1,xl=ue(n,r),Gc=!1,dl=on=Hc=wr=Ia=e0=0,Q0=Ei=null,Vc=!1,(r&8)!==0&&(r|=r&32);var u=n.entangledLanes;if(u!==0)for(n=n.entanglements,u&=r;0<u;){var g=31-kt(u),E=1<<g;r|=n[g],u&=~E}return ma=r,Ds(),i}function B5(n,r){et=null,G.H=ui,r===al||r===zs?(r=Hd(),Mt=3):r===Ko?(r=Hd(),Mt=4):Mt=r===Ac?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,sn=r,ut===null&&(e0=1,Ys(n,yn(r,n.current)))}function w5(){var n=rn.current;return n===null?!0:(ht&4194048)===ht?kn===null:(ht&62914560)===ht||(ht&536870912)!==0?n===kn:!1}function D5(){var n=G.H;return G.H=ui,n===null?ui:n}function F5(){var n=G.A;return G.A=_m,n}function s1(){e0=4,Va||(ht&4194048)!==ht&&rn.current!==null||(xl=!0),(Ia&134217727)===0&&(wr&134217727)===0||Pt===null||$a(Pt,ht,on,!1)}function qc(n,r,i){var u=Bt;Bt|=2;var g=D5(),E=F5();(Pt!==n||ht!==r)&&(l1=null,hl(n,r)),r=!1;var B=e0;e:do try{if(Mt!==0&&ut!==null){var _=ut,H=sn;switch(Mt){case 8:$c(),B=6;break e;case 3:case 2:case 9:case 6:rn.current===null&&(r=!0);var te=Mt;if(Mt=0,sn=null,pl(n,_,H,te),i&&xl){B=0;break e}break;default:te=Mt,Mt=0,sn=null,pl(n,_,H,te)}}zm(),B=e0;break}catch(ce){B5(n,ce)}while(!0);return r&&n.shellSuspendCounter++,ia=gr=null,Bt=u,G.H=g,G.A=E,ut===null&&(Pt=null,ht=0,Ds()),B}function zm(){for(;ut!==null;)S5(ut)}function Rm(n,r){var i=Bt;Bt|=2;var u=D5(),g=F5();Pt!==n||ht!==r?(l1=null,r1=Me()+500,hl(n,r)):xl=ue(n,r);e:do try{if(Mt!==0&&ut!==null){r=ut;var E=sn;t:switch(Mt){case 1:Mt=0,sn=null,pl(n,r,E,1);break;case 2:case 9:if(Pd(E)){Mt=0,sn=null,M5(r);break}r=function(){Mt!==2&&Mt!==9||Pt!==n||(Mt=7),Zn(n)},E.then(r,r);break e;case 3:Mt=7;break e;case 4:Mt=5;break e;case 7:Pd(E)?(Mt=0,sn=null,M5(r)):(Mt=0,sn=null,pl(n,r,E,7));break;case 5:var B=null;switch(ut.tag){case 26:B=ut.memoizedState;case 5:case 27:var _=ut;if(B?p8(B):_.stateNode.complete){Mt=0,sn=null;var H=_.sibling;if(H!==null)ut=H;else{var te=_.return;te!==null?(ut=te,o1(te)):ut=null}break t}}Mt=0,sn=null,pl(n,r,E,5);break;case 6:Mt=0,sn=null,pl(n,r,E,6);break;case 8:$c(),e0=6;break e;default:throw Error(l(462))}}Om();break}catch(ce){B5(n,ce)}while(!0);return ia=gr=null,G.H=u,G.A=g,Bt=i,ut!==null?0:(Pt=null,ht=0,Ds(),e0)}function Om(){for(;ut!==null&&!b0();)S5(ut)}function S5(n){var r=J3(n.alternate,n,ma);n.memoizedProps=n.pendingProps,r===null?o1(n):ut=r}function M5(n){var r=n,i=r.alternate;switch(r.tag){case 15:case 0:r=q3(i,r,r.pendingProps,r.type,void 0,ht);break;case 11:r=q3(i,r,r.pendingProps,r.type.render,r.ref,ht);break;case 5:oc(r);default:t5(i,r),r=ut=Fd(r,ma),r=J3(i,r,ma)}n.memoizedProps=n.pendingProps,r===null?o1(n):ut=r}function pl(n,r,i,u){ia=gr=null,oc(r),rl=null,ni=0;var g=r.return;try{if(Bm(n,g,r,i,ht)){e0=1,Ys(n,yn(i,n.current)),ut=null;return}}catch(E){if(g!==null)throw ut=g,E;e0=1,Ys(n,yn(i,n.current)),ut=null;return}r.flags&32768?(mt||u===1?n=!0:xl||(ht&536870912)!==0?n=!1:(Va=n=!0,(u===2||u===9||u===3||u===6)&&(u=rn.current,u!==null&&u.tag===13&&(u.flags|=16384))),N5(r,n)):o1(r)}function o1(n){var r=n;do{if((r.flags&32768)!==0){N5(r,Va);return}n=r.return;var i=Fm(r.alternate,r,ma);if(i!==null){ut=i;return}if(r=r.sibling,r!==null){ut=r;return}ut=r=n}while(r!==null);e0===0&&(e0=5)}function N5(n,r){do{var i=Sm(n.alternate,n);if(i!==null){i.flags&=32767,ut=i;return}if(i=n.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!r&&(n=n.sibling,n!==null)){ut=n;return}ut=n=i}while(n!==null);e0=6,ut=null}function _5(n,r,i,u,g,E,B,_,H){n.cancelPendingCommit=null;do c1();while(g0!==0);if((Bt&6)!==0)throw Error(l(327));if(r!==null){if(r===n.current)throw Error(l(177));if(E=r.lanes|r.childLanes,E|=zo,Re(n,i,E,B,_,H),n===Pt&&(ut=Pt=null,ht=0),fl=r,Za=n,ga=i,Ic=E,Uc=g,v5=u,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,Hm(Ne,function(){return O5(),null})):(n.callbackNode=null,n.callbackPriority=0),u=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||u){u=G.T,G.T=null,g=Y.p,Y.p=2,B=Bt,Bt|=4;try{Mm(n,r,i)}finally{Bt=B,Y.p=g,G.T=u}}g0=1,j5(),T5(),z5()}}function j5(){if(g0===1){g0=0;var n=Za,r=fl,i=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||i){i=G.T,G.T=null;var u=Y.p;Y.p=2;var g=Bt;Bt|=4;try{f5(r,n);var E=l2,B=yd(n.containerInfo),_=E.focusedElem,H=E.selectionRange;if(B!==_&&_&&_.ownerDocument&&Ed(_.ownerDocument.documentElement,_)){if(H!==null&&Mo(_)){var te=H.start,ce=H.end;if(ce===void 0&&(ce=te),"selectionStart"in _)_.selectionStart=te,_.selectionEnd=Math.min(ce,_.value.length);else{var fe=_.ownerDocument||document,ae=fe&&fe.defaultView||window;if(ae.getSelection){var oe=ae.getSelection(),ze=_.textContent.length,qe=Math.min(H.start,ze),Ot=H.end===void 0?qe:Math.min(H.end,ze);!oe.extend&&qe>Ot&&(B=Ot,Ot=qe,qe=B);var K=gd(_,qe),q=gd(_,Ot);if(K&&q&&(oe.rangeCount!==1||oe.anchorNode!==K.node||oe.anchorOffset!==K.offset||oe.focusNode!==q.node||oe.focusOffset!==q.offset)){var J=fe.createRange();J.setStart(K.node,K.offset),oe.removeAllRanges(),qe>Ot?(oe.addRange(J),oe.extend(q.node,q.offset)):(J.setEnd(q.node,q.offset),oe.addRange(J))}}}}for(fe=[],oe=_;oe=oe.parentNode;)oe.nodeType===1&&fe.push({element:oe,left:oe.scrollLeft,top:oe.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<fe.length;_++){var de=fe[_];de.element.scrollLeft=de.left,de.element.scrollTop=de.top}}v1=!!r2,l2=r2=null}finally{Bt=g,Y.p=u,G.T=i}}n.current=r,g0=2}}function T5(){if(g0===2){g0=0;var n=Za,r=fl,i=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||i){i=G.T,G.T=null;var u=Y.p;Y.p=2;var g=Bt;Bt|=4;try{o5(n,r.alternate,r)}finally{Bt=g,Y.p=u,G.T=i}}g0=3}}function z5(){if(g0===4||g0===3){g0=0,ge();var n=Za,r=fl,i=ga,u=v5;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?g0=5:(g0=0,fl=Za=null,R5(n,n.pendingLanes));var g=n.pendingLanes;if(g===0&&(Ua=null),jn(i),r=r.stateNode,Dt&&typeof Dt.onCommitFiberRoot=="function")try{Dt.onCommitFiberRoot(Wt,r,void 0,(r.current.flags&128)===128)}catch{}if(u!==null){r=G.T,g=Y.p,Y.p=2,G.T=null;try{for(var E=n.onRecoverableError,B=0;B<u.length;B++){var _=u[B];E(_.value,{componentStack:_.stack})}}finally{G.T=r,Y.p=g}}(ga&3)!==0&&c1(),Zn(n),g=n.pendingLanes,(i&261930)!==0&&(g&42)!==0?n===Zc?yi++:(yi=0,Zc=n):yi=0,bi(0)}}function R5(n,r){(n.pooledCacheLanes&=r)===0&&(r=n.pooledCache,r!=null&&(n.pooledCache=null,ei(r)))}function c1(){return j5(),T5(),z5(),O5()}function O5(){if(g0!==5)return!1;var n=Za,r=Ic;Ic=0;var i=jn(ga),u=G.T,g=Y.p;try{Y.p=32>i?32:i,G.T=null,i=Uc,Uc=null;var E=Za,B=ga;if(g0=0,fl=Za=null,ga=0,(Bt&6)!==0)throw Error(l(331));var _=Bt;if(Bt|=4,E5(E.current),p5(E,E.current,B,i),Bt=_,bi(0,!1),Dt&&typeof Dt.onPostCommitFiberRoot=="function")try{Dt.onPostCommitFiberRoot(Wt,E)}catch{}return!0}finally{Y.p=g,G.T=u,R5(n,r)}}function L5(n,r,i){r=yn(i,r),r=kc(n.stateNode,r,2),n=La(n,r,2),n!==null&&(At(n,2),Zn(n))}function Nt(n,r,i){if(n.tag===3)L5(n,n,i);else for(;r!==null;){if(r.tag===3){L5(r,n,i);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Ua===null||!Ua.has(u))){n=yn(i,n),i=P3(2),u=La(r,i,2),u!==null&&(G3(i,u,r,n),At(u,2),Zn(u));break}}r=r.return}}function Qc(n,r,i){var u=n.pingCache;if(u===null){u=n.pingCache=new jm;var g=new Set;u.set(r,g)}else g=u.get(r),g===void 0&&(g=new Set,u.set(r,g));g.has(i)||(Gc=!0,g.add(i),n=Lm.bind(null,n,r,i),r.then(n,n))}function Lm(n,r,i){var u=n.pingCache;u!==null&&u.delete(r),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,Pt===n&&(ht&i)===i&&(e0===4||e0===3&&(ht&62914560)===ht&&300>Me()-a1?(Bt&2)===0&&hl(n,0):Hc|=i,dl===ht&&(dl=0)),Zn(n)}function P5(n,r){r===0&&(r=Qe()),n=hr(n,r),n!==null&&(At(n,r),Zn(n))}function Pm(n){var r=n.memoizedState,i=0;r!==null&&(i=r.retryLane),P5(n,i)}function Gm(n,r){var i=0;switch(n.tag){case 31:case 13:var u=n.stateNode,g=n.memoizedState;g!==null&&(i=g.retryLane);break;case 19:u=n.stateNode;break;case 22:u=n.stateNode._retryCache;break;default:throw Error(l(314))}u!==null&&u.delete(r),P5(n,i)}function Hm(n,r){return p0(n,r)}var u1=null,ml=null,Yc=!1,x1=!1,Kc=!1,qa=0;function Zn(n){n!==ml&&n.next===null&&(ml===null?u1=ml=n:ml=ml.next=n),x1=!0,Yc||(Yc=!0,Im())}function bi(n,r){if(!Kc&&x1){Kc=!0;do for(var i=!1,u=u1;u!==null;){if(n!==0){var g=u.pendingLanes;if(g===0)var E=0;else{var B=u.suspendedLanes,_=u.pingedLanes;E=(1<<31-kt(42|n)+1)-1,E&=g&~(B&~_),E=E&201326741?E&201326741|1:E?E|2:0}E!==0&&(i=!0,I5(u,E))}else E=ht,E=I(u,u===Pt?E:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(E&3)===0||ue(u,E)||(i=!0,I5(u,E));u=u.next}while(i);Kc=!1}}function Vm(){G5()}function G5(){x1=Yc=!1;var n=0;qa!==0&&Jm()&&(n=qa);for(var r=Me(),i=null,u=u1;u!==null;){var g=u.next,E=H5(u,r);E===0?(u.next=null,i===null?u1=g:i.next=g,g===null&&(ml=i)):(i=u,(n!==0||(E&3)!==0)&&(x1=!0)),u=g}g0!==0&&g0!==5||bi(n),qa!==0&&(qa=0)}function H5(n,r){for(var i=n.suspendedLanes,u=n.pingedLanes,g=n.expirationTimes,E=n.pendingLanes&-62914561;0<E;){var B=31-kt(E),_=1<<B,H=g[B];H===-1?((_&i)===0||(_&u)!==0)&&(g[B]=Ae(_,r)):H<=r&&(n.expiredLanes|=_),E&=~_}if(r=Pt,i=ht,i=I(n,n===r?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u=n.callbackNode,i===0||n===r&&(Mt===2||Mt===9)||n.cancelPendingCommit!==null)return u!==null&&u!==null&&nt(u),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||ue(n,i)){if(r=i&-i,r===n.callbackPriority)return r;switch(u!==null&&nt(u),jn(i)){case 2:case 8:i=W;break;case 32:i=Ne;break;case 268435456:i=Ke;break;default:i=Ne}return u=V5.bind(null,n),i=p0(i,u),n.callbackPriority=r,n.callbackNode=i,r}return u!==null&&u!==null&&nt(u),n.callbackPriority=2,n.callbackNode=null,2}function V5(n,r){if(g0!==0&&g0!==5)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(c1()&&n.callbackNode!==i)return null;var u=ht;return u=I(n,n===Pt?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),u===0?null:(k5(n,u,r),H5(n,Me()),n.callbackNode!=null&&n.callbackNode===i?V5.bind(null,n):null)}function I5(n,r){if(c1())return null;k5(n,r,!0)}function Im(){tg(function(){(Bt&6)!==0?p0(se,Vm):G5()})}function Xc(){if(qa===0){var n=tl;n===0&&(n=Gn,Gn<<=1,(Gn&261888)===0&&(Gn=256)),qa=n}return qa}function U5(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Ma(""+n)}function Z5(n,r){var i=r.ownerDocument.createElement("input");return i.name=r.name,i.value=r.value,n.id&&i.setAttribute("form",n.id),r.parentNode.insertBefore(i,r),n=new FormData(n),i.parentNode.removeChild(i),n}function Um(n,r,i,u,g){if(r==="submit"&&i&&i.stateNode===g){var E=U5((g[i0]||null).action),B=u.submitter;B&&(r=(r=B[i0]||null)?U5(r.formAction):B.getAttribute("formAction"),r!==null&&(E=r,B=null));var _=new ks("action","action",null,u,g);n.push({event:_,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(qa!==0){var H=B?Z5(g,B):new FormData(g);gc(i,{pending:!0,data:H,method:g.method,action:E},null,H)}}else typeof E=="function"&&(_.preventDefault(),H=B?Z5(g,B):new FormData(g),gc(i,{pending:!0,data:H,method:g.method,action:E},E,H))},currentTarget:g}]})}}for(var Wc=0;Wc<To.length;Wc++){var Jc=To[Wc],Zm=Jc.toLowerCase(),$m=Jc[0].toUpperCase()+Jc.slice(1);Tn(Zm,"on"+$m)}Tn(Cd,"onAnimationEnd"),Tn(kd,"onAnimationIteration"),Tn(Ad,"onAnimationStart"),Tn("dblclick","onDoubleClick"),Tn("focusin","onFocus"),Tn("focusout","onBlur"),Tn(om,"onTransitionRun"),Tn(cm,"onTransitionStart"),Tn(um,"onTransitionCancel"),Tn(Bd,"onTransitionEnd"),ye("onMouseEnter",["mouseout","mouseover"]),ye("onMouseLeave",["mouseout","mouseover"]),ye("onPointerEnter",["pointerout","pointerover"]),ye("onPointerLeave",["pointerout","pointerover"]),ta("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ta("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ta("onBeforeInput",["compositionend","keypress","textInput","paste"]),ta("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ta("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ta("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),qm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(vi));function $5(n,r){r=(r&4)!==0;for(var i=0;i<n.length;i++){var u=n[i],g=u.event;u=u.listeners;e:{var E=void 0;if(r)for(var B=u.length-1;0<=B;B--){var _=u[B],H=_.instance,te=_.currentTarget;if(_=_.listener,H!==E&&g.isPropagationStopped())break e;E=_,g.currentTarget=te;try{E(g)}catch(ce){ws(ce)}g.currentTarget=null,E=H}else for(B=0;B<u.length;B++){if(_=u[B],H=_.instance,te=_.currentTarget,_=_.listener,H!==E&&g.isPropagationStopped())break e;E=_,g.currentTarget=te;try{E(g)}catch(ce){ws(ce)}g.currentTarget=null,E=H}}}}function xt(n,r){var i=r[m0];i===void 0&&(i=r[m0]=new Set);var u=n+"__bubble";i.has(u)||(q5(r,n,2,!1),i.add(u))}function e2(n,r,i){var u=0;r&&(u|=4),q5(i,n,u,r)}var d1="_reactListening"+Math.random().toString(36).slice(2);function t2(n){if(!n[d1]){n[d1]=!0,ps.forEach(function(i){i!=="selectionchange"&&(qm.has(i)||e2(i,!1,n),e2(i,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[d1]||(r[d1]=!0,e2("selectionchange",!1,r))}}function q5(n,r,i,u){switch(C8(r)){case 2:var g=vg;break;case 8:g=Cg;break;default:g=m2}i=g.bind(null,r,i,n),g=void 0,!vo||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(g=!0),u?g!==void 0?n.addEventListener(r,i,{capture:!0,passive:g}):n.addEventListener(r,i,!0):g!==void 0?n.addEventListener(r,i,{passive:g}):n.addEventListener(r,i,!1)}function n2(n,r,i,u,g){var E=u;if((r&1)===0&&(r&2)===0&&u!==null)e:for(;;){if(u===null)return;var B=u.tag;if(B===3||B===4){var _=u.stateNode.containerInfo;if(_===g)break;if(B===4)for(B=u.return;B!==null;){var H=B.tag;if((H===3||H===4)&&B.stateNode.containerInfo===g)return;B=B.return}for(;_!==null;){if(B=P0(_),B===null)return;if(H=B.tag,H===5||H===6||H===26||H===27){u=E=B;continue e}_=_.parentNode}}u=u.return}ys(function(){var te=E,ce=Je(i),fe=[];e:{var ae=wd.get(n);if(ae!==void 0){var oe=ks,ze=n;switch(n){case"keypress":if(vs(i)===0)break e;case"keydown":case"keyup":oe=Gp;break;case"focusin":ze="focus",oe=Bo;break;case"focusout":ze="blur",oe=Bo;break;case"beforeblur":case"afterblur":oe=Bo;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":oe=td;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=Fp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=Ip;break;case Cd:case kd:case Ad:oe=Np;break;case Bd:oe=Zp;break;case"scroll":case"scrollend":oe=wp;break;case"wheel":oe=qp;break;case"copy":case"cut":case"paste":oe=jp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=ad;break;case"toggle":case"beforetoggle":oe=Yp}var qe=(r&4)!==0,Ot=!qe&&(n==="scroll"||n==="scrollend"),K=qe?ae!==null?ae+"Capture":null:ae;qe=[];for(var q=te,J;q!==null;){var de=q;if(J=de.stateNode,de=de.tag,de!==5&&de!==26&&de!==27||J===null||K===null||(de=Il(q,K),de!=null&&qe.push(Ci(q,de,J))),Ot)break;q=q.return}0<qe.length&&(ae=new oe(ae,ze,null,i,ce),fe.push({event:ae,listeners:qe}))}}if((r&7)===0){e:{if(ae=n==="mouseover"||n==="pointerover",oe=n==="mouseout"||n==="pointerout",ae&&i!==Le&&(ze=i.relatedTarget||i.fromElement)&&(P0(ze)||ze[Hn]))break e;if((oe||ae)&&(ae=ce.window===ce?ce:(ae=ce.ownerDocument)?ae.defaultView||ae.parentWindow:window,oe?(ze=i.relatedTarget||i.toElement,oe=te,ze=ze?P0(ze):null,ze!==null&&(Ot=o(ze),qe=ze.tag,ze!==Ot||qe!==5&&qe!==27&&qe!==6)&&(ze=null)):(oe=null,ze=te),oe!==ze)){if(qe=td,de="onMouseLeave",K="onMouseEnter",q="mouse",(n==="pointerout"||n==="pointerover")&&(qe=ad,de="onPointerLeave",K="onPointerEnter",q="pointer"),Ot=oe==null?ae:Da(oe),J=ze==null?ae:Da(ze),ae=new qe(de,q+"leave",oe,i,ce),ae.target=Ot,ae.relatedTarget=J,de=null,P0(ce)===te&&(qe=new qe(K,q+"enter",ze,i,ce),qe.target=J,qe.relatedTarget=Ot,de=qe),Ot=de,oe&&ze)t:{for(qe=Qm,K=oe,q=ze,J=0,de=K;de;de=qe(de))J++;de=0;for(var Ie=q;Ie;Ie=qe(Ie))de++;for(;0<J-de;)K=qe(K),J--;for(;0<de-J;)q=qe(q),de--;for(;J--;){if(K===q||q!==null&&K===q.alternate){qe=K;break t}K=qe(K),q=qe(q)}qe=null}else qe=null;oe!==null&&Q5(fe,ae,oe,qe,!1),ze!==null&&Ot!==null&&Q5(fe,Ot,ze,qe,!0)}}e:{if(ae=te?Da(te):window,oe=ae.nodeName&&ae.nodeName.toLowerCase(),oe==="select"||oe==="input"&&ae.type==="file")var yt=xd;else if(cd(ae))if(dd)yt=lm;else{yt=am;var Ge=nm}else oe=ae.nodeName,!oe||oe.toLowerCase()!=="input"||ae.type!=="checkbox"&&ae.type!=="radio"?te&&Sa(te.elementType)&&(yt=xd):yt=rm;if(yt&&(yt=yt(n,te))){ud(fe,yt,i,ce);break e}Ge&&Ge(n,ae,te),n==="focusout"&&te&&ae.type==="number"&&te.memoizedProps.value!=null&&Ur(ae,"number",ae.value)}switch(Ge=te?Da(te):window,n){case"focusin":(cd(Ge)||Ge.contentEditable==="true")&&(qr=Ge,No=te,Xl=null);break;case"focusout":Xl=No=qr=null;break;case"mousedown":_o=!0;break;case"contextmenu":case"mouseup":case"dragend":_o=!1,bd(fe,i,ce);break;case"selectionchange":if(sm)break;case"keydown":case"keyup":bd(fe,i,ce)}var at;if(Do)e:{switch(n){case"compositionstart":var pt="onCompositionStart";break e;case"compositionend":pt="onCompositionEnd";break e;case"compositionupdate":pt="onCompositionUpdate";break e}pt=void 0}else $r?sd(n,i)&&(pt="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(pt="onCompositionStart");pt&&(rd&&i.locale!=="ko"&&($r||pt!=="onCompositionStart"?pt==="onCompositionEnd"&&$r&&(at=Jx()):(Na=ce,Co="value"in Na?Na.value:Na.textContent,$r=!0)),Ge=f1(te,pt),0<Ge.length&&(pt=new nd(pt,n,null,i,ce),fe.push({event:pt,listeners:Ge}),at?pt.data=at:(at=od(i),at!==null&&(pt.data=at)))),(at=Xp?Wp(n,i):Jp(n,i))&&(pt=f1(te,"onBeforeInput"),0<pt.length&&(Ge=new nd("onBeforeInput","beforeinput",null,i,ce),fe.push({event:Ge,listeners:pt}),Ge.data=at)),Um(fe,n,te,i,ce)}$5(fe,r)})}function Ci(n,r,i){return{instance:n,listener:r,currentTarget:i}}function f1(n,r){for(var i=r+"Capture",u=[];n!==null;){var g=n,E=g.stateNode;if(g=g.tag,g!==5&&g!==26&&g!==27||E===null||(g=Il(n,i),g!=null&&u.unshift(Ci(n,g,E)),g=Il(n,r),g!=null&&u.push(Ci(n,g,E))),n.tag===3)return u;n=n.return}return[]}function Qm(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Q5(n,r,i,u,g){for(var E=r._reactName,B=[];i!==null&&i!==u;){var _=i,H=_.alternate,te=_.stateNode;if(_=_.tag,H!==null&&H===u)break;_!==5&&_!==26&&_!==27||te===null||(H=te,g?(te=Il(i,E),te!=null&&B.unshift(Ci(i,te,H))):g||(te=Il(i,E),te!=null&&B.push(Ci(i,te,H)))),i=i.return}B.length!==0&&n.push({event:r,listeners:B})}var Ym=/\r\n?/g,Km=/\u0000|\uFFFD/g;function Y5(n){return(typeof n=="string"?n:""+n).replace(Ym,`
9
+ `).replace(Km,"")}function K5(n,r){return r=Y5(r),Y5(n)===r}function Rt(n,r,i,u,g,E){switch(i){case"children":typeof u=="string"?r==="body"||r==="textarea"&&u===""||Ye(n,u):(typeof u=="number"||typeof u=="bigint")&&r!=="body"&&Ye(n,""+u);break;case"className":en(n,"class",u);break;case"tabIndex":en(n,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":en(n,i,u);break;case"style":St(n,u,E);break;case"data":if(r!=="object"){en(n,"data",u);break}case"src":case"href":if(u===""&&(r!=="a"||i!=="href")){n.removeAttribute(i);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(i);break}u=Ma(""+u),n.setAttribute(i,u);break;case"action":case"formAction":if(typeof u=="function"){n.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof E=="function"&&(i==="formAction"?(r!=="input"&&Rt(n,r,"name",g.name,g,null),Rt(n,r,"formEncType",g.formEncType,g,null),Rt(n,r,"formMethod",g.formMethod,g,null),Rt(n,r,"formTarget",g.formTarget,g,null)):(Rt(n,r,"encType",g.encType,g,null),Rt(n,r,"method",g.method,g,null),Rt(n,r,"target",g.target,g,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){n.removeAttribute(i);break}u=Ma(""+u),n.setAttribute(i,u);break;case"onClick":u!=null&&(n.onclick=ke);break;case"onScroll":u!=null&&xt("scroll",n);break;case"onScrollEnd":u!=null&&xt("scrollend",n);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(l(61));if(i=u.__html,i!=null){if(g.children!=null)throw Error(l(60));n.innerHTML=i}}break;case"multiple":n.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":n.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){n.removeAttribute("xlink:href");break}i=Ma(""+u),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(i,""+u):n.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":u===!0?n.setAttribute(i,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?n.setAttribute(i,u):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?n.setAttribute(i,u):n.removeAttribute(i);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?n.removeAttribute(i):n.setAttribute(i,u);break;case"popover":xt("beforetoggle",n),xt("toggle",n),T0(n,"popover",u);break;case"xlinkActuate":V0(n,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":V0(n,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":V0(n,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":V0(n,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":V0(n,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":V0(n,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":V0(n,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":V0(n,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":V0(n,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":T0(n,"is",u);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=na.get(i)||i,T0(n,i,u))}}function a2(n,r,i,u,g,E){switch(i){case"style":St(n,u,E);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(l(61));if(i=u.__html,i!=null){if(g.children!=null)throw Error(l(60));n.innerHTML=i}}break;case"children":typeof u=="string"?Ye(n,u):(typeof u=="number"||typeof u=="bigint")&&Ye(n,""+u);break;case"onScroll":u!=null&&xt("scroll",n);break;case"onScrollEnd":u!=null&&xt("scrollend",n);break;case"onClick":u!=null&&(n.onclick=ke);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!cr.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(g=i.endsWith("Capture"),r=i.slice(2,g?i.length-7:void 0),E=n[i0]||null,E=E!=null?E[i]:null,typeof E=="function"&&n.removeEventListener(r,E,g),typeof u=="function")){typeof E!="function"&&E!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(r,u,g);break e}i in n?n[i]=u:u===!0?n.setAttribute(i,""):T0(n,i,u)}}}function M0(n,r,i){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":xt("error",n),xt("load",n);var u=!1,g=!1,E;for(E in i)if(i.hasOwnProperty(E)){var B=i[E];if(B!=null)switch(E){case"src":u=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,r));default:Rt(n,r,E,B,i,null)}}g&&Rt(n,r,"srcSet",i.srcSet,i,null),u&&Rt(n,r,"src",i.src,i,null);return;case"input":xt("invalid",n);var _=E=B=g=null,H=null,te=null;for(u in i)if(i.hasOwnProperty(u)){var ce=i[u];if(ce!=null)switch(u){case"name":g=ce;break;case"type":B=ce;break;case"checked":H=ce;break;case"defaultChecked":te=ce;break;case"value":E=ce;break;case"defaultValue":_=ce;break;case"children":case"dangerouslySetInnerHTML":if(ce!=null)throw Error(l(137,r));break;default:Rt(n,r,u,ce,i,null)}}ur(n,E,_,H,te,B,g,!1);return;case"select":xt("invalid",n),u=B=E=null;for(g in i)if(i.hasOwnProperty(g)&&(_=i[g],_!=null))switch(g){case"value":E=_;break;case"defaultValue":B=_;break;case"multiple":u=_;default:Rt(n,r,g,_,i,null)}r=E,i=B,n.multiple=!!u,r!=null?w0(n,!!u,r,!1):i!=null&&w0(n,!!u,i,!0);return;case"textarea":xt("invalid",n),E=g=u=null;for(B in i)if(i.hasOwnProperty(B)&&(_=i[B],_!=null))switch(B){case"value":u=_;break;case"defaultValue":g=_;break;case"children":E=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(l(91));break;default:Rt(n,r,B,_,i,null)}Zr(n,u,g,E);return;case"option":for(H in i)i.hasOwnProperty(H)&&(u=i[H],u!=null)&&(H==="selected"?n.selected=u&&typeof u!="function"&&typeof u!="symbol":Rt(n,r,H,u,i,null));return;case"dialog":xt("beforetoggle",n),xt("toggle",n),xt("cancel",n),xt("close",n);break;case"iframe":case"object":xt("load",n);break;case"video":case"audio":for(u=0;u<vi.length;u++)xt(vi[u],n);break;case"image":xt("error",n),xt("load",n);break;case"details":xt("toggle",n);break;case"embed":case"source":case"link":xt("error",n),xt("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(te in i)if(i.hasOwnProperty(te)&&(u=i[te],u!=null))switch(te){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,r));default:Rt(n,r,te,u,i,null)}return;default:if(Sa(r)){for(ce in i)i.hasOwnProperty(ce)&&(u=i[ce],u!==void 0&&a2(n,r,ce,u,i,void 0));return}}for(_ in i)i.hasOwnProperty(_)&&(u=i[_],u!=null&&Rt(n,r,_,u,i,null))}function Xm(n,r,i,u){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,E=null,B=null,_=null,H=null,te=null,ce=null;for(oe in i){var fe=i[oe];if(i.hasOwnProperty(oe)&&fe!=null)switch(oe){case"checked":break;case"value":break;case"defaultValue":H=fe;default:u.hasOwnProperty(oe)||Rt(n,r,oe,null,u,fe)}}for(var ae in u){var oe=u[ae];if(fe=i[ae],u.hasOwnProperty(ae)&&(oe!=null||fe!=null))switch(ae){case"type":E=oe;break;case"name":g=oe;break;case"checked":te=oe;break;case"defaultChecked":ce=oe;break;case"value":B=oe;break;case"defaultValue":_=oe;break;case"children":case"dangerouslySetInnerHTML":if(oe!=null)throw Error(l(137,r));break;default:oe!==fe&&Rt(n,r,ae,oe,u,fe)}}Gl(n,B,_,H,te,ce,E,g);return;case"select":oe=B=_=ae=null;for(E in i)if(H=i[E],i.hasOwnProperty(E)&&H!=null)switch(E){case"value":break;case"multiple":oe=H;default:u.hasOwnProperty(E)||Rt(n,r,E,null,u,H)}for(g in u)if(E=u[g],H=i[g],u.hasOwnProperty(g)&&(E!=null||H!=null))switch(g){case"value":ae=E;break;case"defaultValue":_=E;break;case"multiple":B=E;default:E!==H&&Rt(n,r,g,E,u,H)}r=_,i=B,u=oe,ae!=null?w0(n,!!i,ae,!1):!!u!=!!i&&(r!=null?w0(n,!!i,r,!0):w0(n,!!i,i?[]:"",!1));return;case"textarea":oe=ae=null;for(_ in i)if(g=i[_],i.hasOwnProperty(_)&&g!=null&&!u.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Rt(n,r,_,null,u,g)}for(B in u)if(g=u[B],E=i[B],u.hasOwnProperty(B)&&(g!=null||E!=null))switch(B){case"value":ae=g;break;case"defaultValue":oe=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(l(91));break;default:g!==E&&Rt(n,r,B,g,u,E)}gs(n,ae,oe);return;case"option":for(var ze in i)ae=i[ze],i.hasOwnProperty(ze)&&ae!=null&&!u.hasOwnProperty(ze)&&(ze==="selected"?n.selected=!1:Rt(n,r,ze,null,u,ae));for(H in u)ae=u[H],oe=i[H],u.hasOwnProperty(H)&&ae!==oe&&(ae!=null||oe!=null)&&(H==="selected"?n.selected=ae&&typeof ae!="function"&&typeof ae!="symbol":Rt(n,r,H,ae,u,oe));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var qe in i)ae=i[qe],i.hasOwnProperty(qe)&&ae!=null&&!u.hasOwnProperty(qe)&&Rt(n,r,qe,null,u,ae);for(te in u)if(ae=u[te],oe=i[te],u.hasOwnProperty(te)&&ae!==oe&&(ae!=null||oe!=null))switch(te){case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(l(137,r));break;default:Rt(n,r,te,ae,u,oe)}return;default:if(Sa(r)){for(var Ot in i)ae=i[Ot],i.hasOwnProperty(Ot)&&ae!==void 0&&!u.hasOwnProperty(Ot)&&a2(n,r,Ot,void 0,u,ae);for(ce in u)ae=u[ce],oe=i[ce],!u.hasOwnProperty(ce)||ae===oe||ae===void 0&&oe===void 0||a2(n,r,ce,ae,u,oe);return}}for(var K in i)ae=i[K],i.hasOwnProperty(K)&&ae!=null&&!u.hasOwnProperty(K)&&Rt(n,r,K,null,u,ae);for(fe in u)ae=u[fe],oe=i[fe],!u.hasOwnProperty(fe)||ae===oe||ae==null&&oe==null||Rt(n,r,fe,ae,u,oe)}function X5(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Wm(){if(typeof performance.getEntriesByType=="function"){for(var n=0,r=0,i=performance.getEntriesByType("resource"),u=0;u<i.length;u++){var g=i[u],E=g.transferSize,B=g.initiatorType,_=g.duration;if(E&&_&&X5(B)){for(B=0,_=g.responseEnd,u+=1;u<i.length;u++){var H=i[u],te=H.startTime;if(te>_)break;var ce=H.transferSize,fe=H.initiatorType;ce&&X5(fe)&&(H=H.responseEnd,B+=ce*(H<_?1:(_-te)/(H-te)))}if(--u,r+=8*(E+B)/(g.duration/1e3),n++,10<n)break}}if(0<n)return r/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var r2=null,l2=null;function h1(n){return n.nodeType===9?n:n.ownerDocument}function W5(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function J5(n,r){if(n===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&r==="foreignObject"?0:n}function i2(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var s2=null;function Jm(){var n=window.event;return n&&n.type==="popstate"?n===s2?!1:(s2=n,!0):(s2=null,!1)}var e8=typeof setTimeout=="function"?setTimeout:void 0,eg=typeof clearTimeout=="function"?clearTimeout:void 0,t8=typeof Promise=="function"?Promise:void 0,tg=typeof queueMicrotask=="function"?queueMicrotask:typeof t8<"u"?function(n){return t8.resolve(null).then(n).catch(ng)}:e8;function ng(n){setTimeout(function(){throw n})}function Qa(n){return n==="head"}function n8(n,r){var i=r,u=0;do{var g=i.nextSibling;if(n.removeChild(i),g&&g.nodeType===8)if(i=g.data,i==="/$"||i==="/&"){if(u===0){n.removeChild(g),bl(r);return}u--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")u++;else if(i==="html")ki(n.ownerDocument.documentElement);else if(i==="head"){i=n.ownerDocument.head,ki(i);for(var E=i.firstChild;E;){var B=E.nextSibling,_=E.nodeName;E[or]||_==="SCRIPT"||_==="STYLE"||_==="LINK"&&E.rel.toLowerCase()==="stylesheet"||i.removeChild(E),E=B}}else i==="body"&&ki(n.ownerDocument.body);i=g}while(i);bl(r)}function a8(n,r){var i=n;n=0;do{var u=i.nextSibling;if(i.nodeType===1?r?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(r?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),u&&u.nodeType===8)if(i=u.data,i==="/$"){if(n===0)break;n--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||n++;i=u}while(i)}function o2(n){var r=n.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var i=r;switch(r=r.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":o2(i),Ll(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function ag(n,r,i,u){for(;n.nodeType===1;){var g=i;if(n.nodeName.toLowerCase()!==r.toLowerCase()){if(!u&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(u){if(!n[or])switch(r){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(E=n.getAttribute("rel"),E==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(E!==g.rel||n.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||n.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||n.getAttribute("title")!==(g.title==null?null:g.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(E=n.getAttribute("src"),(E!==(g.src==null?null:g.src)||n.getAttribute("type")!==(g.type==null?null:g.type)||n.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&E&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(r==="input"&&n.type==="hidden"){var E=g.name==null?null:""+g.name;if(g.type==="hidden"&&n.getAttribute("name")===E)return n}else return n;if(n=An(n.nextSibling),n===null)break}return null}function rg(n,r,i){if(r==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!i||(n=An(n.nextSibling),n===null))return null;return n}function r8(n,r){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=An(n.nextSibling),n===null))return null;return n}function c2(n){return n.data==="$?"||n.data==="$~"}function u2(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function lg(n,r){var i=n.ownerDocument;if(n.data==="$~")n._reactRetry=r;else if(n.data!=="$?"||i.readyState!=="loading")r();else{var u=function(){r(),i.removeEventListener("DOMContentLoaded",u)};i.addEventListener("DOMContentLoaded",u),n._reactRetry=u}}function An(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"||r==="F!"||r==="F")break;if(r==="/$"||r==="/&")return null}}return n}var x2=null;function l8(n){n=n.nextSibling;for(var r=0;n;){if(n.nodeType===8){var i=n.data;if(i==="/$"||i==="/&"){if(r===0)return An(n.nextSibling);r--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||r++}n=n.nextSibling}return null}function i8(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var i=n.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(r===0)return n;r--}else i!=="/$"&&i!=="/&"||r++}n=n.previousSibling}return null}function s8(n,r,i){switch(r=h1(i),n){case"html":if(n=r.documentElement,!n)throw Error(l(452));return n;case"head":if(n=r.head,!n)throw Error(l(453));return n;case"body":if(n=r.body,!n)throw Error(l(454));return n;default:throw Error(l(451))}}function ki(n){for(var r=n.attributes;r.length;)n.removeAttributeNode(r[0]);Ll(n)}var Bn=new Map,o8=new Set;function p1(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var Ea=Y.d;Y.d={f:ig,r:sg,D:og,C:cg,L:ug,m:xg,X:fg,S:dg,M:hg};function ig(){var n=Ea.f(),r=i1();return n||r}function sg(n){var r=ea(n);r!==null&&r.tag===5&&r.type==="form"?B3(r):Ea.r(n)}var gl=typeof document>"u"?null:document;function c8(n,r,i){var u=gl;if(u&&typeof r=="string"&&r){var g=I0(r);g='link[rel="'+n+'"][href="'+g+'"]',typeof i=="string"&&(g+='[crossorigin="'+i+'"]'),o8.has(g)||(o8.add(g),n={rel:n,crossOrigin:i,href:r},u.querySelector(g)===null&&(r=u.createElement("link"),M0(r,"link",n),s0(r),u.head.appendChild(r)))}}function og(n){Ea.D(n),c8("dns-prefetch",n,null)}function cg(n,r){Ea.C(n,r),c8("preconnect",n,r)}function ug(n,r,i){Ea.L(n,r,i);var u=gl;if(u&&n&&r){var g='link[rel="preload"][as="'+I0(r)+'"]';r==="image"&&i&&i.imageSrcSet?(g+='[imagesrcset="'+I0(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(g+='[imagesizes="'+I0(i.imageSizes)+'"]')):g+='[href="'+I0(n)+'"]';var E=g;switch(r){case"style":E=El(n);break;case"script":E=yl(n)}Bn.has(E)||(n=p({rel:"preload",href:r==="image"&&i&&i.imageSrcSet?void 0:n,as:r},i),Bn.set(E,n),u.querySelector(g)!==null||r==="style"&&u.querySelector(Ai(E))||r==="script"&&u.querySelector(Bi(E))||(r=u.createElement("link"),M0(r,"link",n),s0(r),u.head.appendChild(r)))}}function xg(n,r){Ea.m(n,r);var i=gl;if(i&&n){var u=r&&typeof r.as=="string"?r.as:"script",g='link[rel="modulepreload"][as="'+I0(u)+'"][href="'+I0(n)+'"]',E=g;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":E=yl(n)}if(!Bn.has(E)&&(n=p({rel:"modulepreload",href:n},r),Bn.set(E,n),i.querySelector(g)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Bi(E)))return}u=i.createElement("link"),M0(u,"link",n),s0(u),i.head.appendChild(u)}}}function dg(n,r,i){Ea.S(n,r,i);var u=gl;if(u&&n){var g=Fa(u).hoistableStyles,E=El(n);r=r||"default";var B=g.get(E);if(!B){var _={loading:0,preload:null};if(B=u.querySelector(Ai(E)))_.loading=5;else{n=p({rel:"stylesheet",href:n,"data-precedence":r},i),(i=Bn.get(E))&&d2(n,i);var H=B=u.createElement("link");s0(H),M0(H,"link",n),H._p=new Promise(function(te,ce){H.onload=te,H.onerror=ce}),H.addEventListener("load",function(){_.loading|=1}),H.addEventListener("error",function(){_.loading|=2}),_.loading|=4,m1(B,r,u)}B={type:"stylesheet",instance:B,count:1,state:_},g.set(E,B)}}}function fg(n,r){Ea.X(n,r);var i=gl;if(i&&n){var u=Fa(i).hoistableScripts,g=yl(n),E=u.get(g);E||(E=i.querySelector(Bi(g)),E||(n=p({src:n,async:!0},r),(r=Bn.get(g))&&f2(n,r),E=i.createElement("script"),s0(E),M0(E,"link",n),i.head.appendChild(E)),E={type:"script",instance:E,count:1,state:null},u.set(g,E))}}function hg(n,r){Ea.M(n,r);var i=gl;if(i&&n){var u=Fa(i).hoistableScripts,g=yl(n),E=u.get(g);E||(E=i.querySelector(Bi(g)),E||(n=p({src:n,async:!0,type:"module"},r),(r=Bn.get(g))&&f2(n,r),E=i.createElement("script"),s0(E),M0(E,"link",n),i.head.appendChild(E)),E={type:"script",instance:E,count:1,state:null},u.set(g,E))}}function u8(n,r,i,u){var g=(g=X.current)?p1(g):null;if(!g)throw Error(l(446));switch(n){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(r=El(i.href),i=Fa(g).hoistableStyles,u=i.get(r),u||(u={type:"style",instance:null,count:0,state:null},i.set(r,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=El(i.href);var E=Fa(g).hoistableStyles,B=E.get(n);if(B||(g=g.ownerDocument||g,B={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},E.set(n,B),(E=g.querySelector(Ai(n)))&&!E._p&&(B.instance=E,B.state.loading=5),Bn.has(n)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Bn.set(n,i),E||pg(g,n,i,B.state))),r&&u===null)throw Error(l(528,""));return B}if(r&&u!==null)throw Error(l(529,""));return null;case"script":return r=i.async,i=i.src,typeof i=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=yl(i),i=Fa(g).hoistableScripts,u=i.get(r),u||(u={type:"script",instance:null,count:0,state:null},i.set(r,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,n))}}function El(n){return'href="'+I0(n)+'"'}function Ai(n){return'link[rel="stylesheet"]['+n+"]"}function x8(n){return p({},n,{"data-precedence":n.precedence,precedence:null})}function pg(n,r,i,u){n.querySelector('link[rel="preload"][as="style"]['+r+"]")?u.loading=1:(r=n.createElement("link"),u.preload=r,r.addEventListener("load",function(){return u.loading|=1}),r.addEventListener("error",function(){return u.loading|=2}),M0(r,"link",i),s0(r),n.head.appendChild(r))}function yl(n){return'[src="'+I0(n)+'"]'}function Bi(n){return"script[async]"+n}function d8(n,r,i){if(r.count++,r.instance===null)switch(r.type){case"style":var u=n.querySelector('style[data-href~="'+I0(i.href)+'"]');if(u)return r.instance=u,s0(u),u;var g=p({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return u=(n.ownerDocument||n).createElement("style"),s0(u),M0(u,"style",g),m1(u,i.precedence,n),r.instance=u;case"stylesheet":g=El(i.href);var E=n.querySelector(Ai(g));if(E)return r.state.loading|=4,r.instance=E,s0(E),E;u=x8(i),(g=Bn.get(g))&&d2(u,g),E=(n.ownerDocument||n).createElement("link"),s0(E);var B=E;return B._p=new Promise(function(_,H){B.onload=_,B.onerror=H}),M0(E,"link",u),r.state.loading|=4,m1(E,i.precedence,n),r.instance=E;case"script":return E=yl(i.src),(g=n.querySelector(Bi(E)))?(r.instance=g,s0(g),g):(u=i,(g=Bn.get(E))&&(u=p({},i),f2(u,g)),n=n.ownerDocument||n,g=n.createElement("script"),s0(g),M0(g,"link",u),n.head.appendChild(g),r.instance=g);case"void":return null;default:throw Error(l(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(u=r.instance,r.state.loading|=4,m1(u,i.precedence,n));return r.instance}function m1(n,r,i){for(var u=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=u.length?u[u.length-1]:null,E=g,B=0;B<u.length;B++){var _=u[B];if(_.dataset.precedence===r)E=_;else if(E!==g)break}E?E.parentNode.insertBefore(n,E.nextSibling):(r=i.nodeType===9?i.head:i,r.insertBefore(n,r.firstChild))}function d2(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.title==null&&(n.title=r.title)}function f2(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.integrity==null&&(n.integrity=r.integrity)}var g1=null;function f8(n,r,i){if(g1===null){var u=new Map,g=g1=new Map;g.set(i,u)}else g=g1,u=g.get(i),u||(u=new Map,g.set(i,u));if(u.has(n))return u;for(u.set(n,null),i=i.getElementsByTagName(n),g=0;g<i.length;g++){var E=i[g];if(!(E[or]||E[lt]||n==="link"&&E.getAttribute("rel")==="stylesheet")&&E.namespaceURI!=="http://www.w3.org/2000/svg"){var B=E.getAttribute(r)||"";B=n+B;var _=u.get(B);_?_.push(E):u.set(B,[E])}}return u}function h8(n,r,i){n=n.ownerDocument||n,n.head.insertBefore(i,r==="title"?n.querySelector("head > title"):null)}function mg(n,r,i){if(i===1||r.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;return r.rel==="stylesheet"?(n=r.disabled,typeof r.precedence=="string"&&n==null):!0;case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function p8(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function gg(n,r,i,u){if(i.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var g=El(u.href),E=r.querySelector(Ai(g));if(E){r=E._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(n.count++,n=E1.bind(n),r.then(n,n)),i.state.loading|=4,i.instance=E,s0(E);return}E=r.ownerDocument||r,u=x8(u),(g=Bn.get(g))&&d2(u,g),E=E.createElement("link"),s0(E);var B=E;B._p=new Promise(function(_,H){B.onload=_,B.onerror=H}),M0(E,"link",u),i.instance=E}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(i,r),(r=i.state.preload)&&(i.state.loading&3)===0&&(n.count++,i=E1.bind(n),r.addEventListener("load",i),r.addEventListener("error",i))}}var h2=0;function Eg(n,r){return n.stylesheets&&n.count===0&&b1(n,n.stylesheets),0<n.count||0<n.imgCount?function(i){var u=setTimeout(function(){if(n.stylesheets&&b1(n,n.stylesheets),n.unsuspend){var E=n.unsuspend;n.unsuspend=null,E()}},6e4+r);0<n.imgBytes&&h2===0&&(h2=62500*Wm());var g=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&b1(n,n.stylesheets),n.unsuspend)){var E=n.unsuspend;n.unsuspend=null,E()}},(n.imgBytes>h2?50:800)+r);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(u),clearTimeout(g)}}:null}function E1(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)b1(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var y1=null;function b1(n,r){n.stylesheets=null,n.unsuspend!==null&&(n.count++,y1=new Map,r.forEach(yg,n),y1=null,E1.call(n))}function yg(n,r){if(!(r.state.loading&4)){var i=y1.get(n);if(i)var u=i.get(null);else{i=new Map,y1.set(n,i);for(var g=n.querySelectorAll("link[data-precedence],style[data-precedence]"),E=0;E<g.length;E++){var B=g[E];(B.nodeName==="LINK"||B.getAttribute("media")!=="not all")&&(i.set(B.dataset.precedence,B),u=B)}u&&i.set(null,u)}g=r.instance,B=g.getAttribute("data-precedence"),E=i.get(B)||u,E===u&&i.set(null,g),i.set(B,g),this.count++,u=E1.bind(this),g.addEventListener("load",u),g.addEventListener("error",u),E?E.parentNode.insertBefore(g,E.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(g,n.firstChild)),r.state.loading|=4}}var wi={$$typeof:M,Provider:null,Consumer:null,_currentValue:le,_currentValue2:le,_threadCount:0};function bg(n,r,i,u,g,E,B,_,H){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=jt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jt(0),this.hiddenUpdates=jt(null),this.identifierPrefix=u,this.onUncaughtError=g,this.onCaughtError=E,this.onRecoverableError=B,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=H,this.incompleteTransitions=new Map}function m8(n,r,i,u,g,E,B,_,H,te,ce,fe){return n=new bg(n,r,i,B,H,te,ce,fe,_),r=1,E===!0&&(r|=24),E=an(3,null,null,r),n.current=E,E.stateNode=n,r=qo(),r.refCount++,n.pooledCache=r,r.refCount++,E.memoizedState={element:u,isDehydrated:i,cache:r},Xo(E),n}function g8(n){return n?(n=Kr,n):Kr}function E8(n,r,i,u,g,E){g=g8(g),u.context===null?u.context=g:u.pendingContext=g,u=Oa(r),u.payload={element:i},E=E===void 0?null:E,E!==null&&(u.callback=E),i=La(n,u,r),i!==null&&(Y0(i,n,r),ri(i,n,r))}function y8(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<r?i:r}}function p2(n,r){y8(n,r),(n=n.alternate)&&y8(n,r)}function b8(n){if(n.tag===13||n.tag===31){var r=hr(n,67108864);r!==null&&Y0(r,n,67108864),p2(n,67108864)}}function v8(n){if(n.tag===13||n.tag===31){var r=cn();r=Tt(r);var i=hr(n,r);i!==null&&Y0(i,n,r),p2(n,r)}}var v1=!0;function vg(n,r,i,u){var g=G.T;G.T=null;var E=Y.p;try{Y.p=2,m2(n,r,i,u)}finally{Y.p=E,G.T=g}}function Cg(n,r,i,u){var g=G.T;G.T=null;var E=Y.p;try{Y.p=8,m2(n,r,i,u)}finally{Y.p=E,G.T=g}}function m2(n,r,i,u){if(v1){var g=g2(u);if(g===null)n2(n,r,u,C1,i),k8(n,u);else if(Ag(g,n,r,i,u))u.stopPropagation();else if(k8(n,u),r&4&&-1<kg.indexOf(n)){for(;g!==null;){var E=ea(g);if(E!==null)switch(E.tag){case 3:if(E=E.stateNode,E.current.memoizedState.isDehydrated){var B=j0(E.pendingLanes);if(B!==0){var _=E;for(_.pendingLanes|=2,_.entangledLanes|=2;B;){var H=1<<31-kt(B);_.entanglements[1]|=H,B&=~H}Zn(E),(Bt&6)===0&&(r1=Me()+500,bi(0))}}break;case 31:case 13:_=hr(E,2),_!==null&&Y0(_,E,2),i1(),p2(E,2)}if(E=g2(u),E===null&&n2(n,r,u,C1,i),E===g)break;g=E}g!==null&&u.stopPropagation()}else n2(n,r,u,null,i)}}function g2(n){return n=Je(n),E2(n)}var C1=null;function E2(n){if(C1=null,n=P0(n),n!==null){var r=o(n);if(r===null)n=null;else{var i=r.tag;if(i===13){if(n=c(r),n!==null)return n;n=null}else if(i===31){if(n=d(r),n!==null)return n;n=null}else if(i===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null)}}return C1=n,null}function C8(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(A0()){case se:return 2;case W:return 8;case Ne:case Ze:return 32;case Ke:return 268435456;default:return 32}default:return 32}}var y2=!1,Ya=null,Ka=null,Xa=null,Di=new Map,Fi=new Map,Wa=[],kg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function k8(n,r){switch(n){case"focusin":case"focusout":Ya=null;break;case"dragenter":case"dragleave":Ka=null;break;case"mouseover":case"mouseout":Xa=null;break;case"pointerover":case"pointerout":Di.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fi.delete(r.pointerId)}}function Si(n,r,i,u,g,E){return n===null||n.nativeEvent!==E?(n={blockedOn:r,domEventName:i,eventSystemFlags:u,nativeEvent:E,targetContainers:[g]},r!==null&&(r=ea(r),r!==null&&b8(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,g!==null&&r.indexOf(g)===-1&&r.push(g),n)}function Ag(n,r,i,u,g){switch(r){case"focusin":return Ya=Si(Ya,n,r,i,u,g),!0;case"dragenter":return Ka=Si(Ka,n,r,i,u,g),!0;case"mouseover":return Xa=Si(Xa,n,r,i,u,g),!0;case"pointerover":var E=g.pointerId;return Di.set(E,Si(Di.get(E)||null,n,r,i,u,g)),!0;case"gotpointercapture":return E=g.pointerId,Fi.set(E,Si(Fi.get(E)||null,n,r,i,u,g)),!0}return!1}function A8(n){var r=P0(n.target);if(r!==null){var i=o(r);if(i!==null){if(r=i.tag,r===13){if(r=c(i),r!==null){n.blockedOn=r,t0(n.priority,function(){v8(i)});return}}else if(r===31){if(r=d(i),r!==null){n.blockedOn=r,t0(n.priority,function(){v8(i)});return}}else if(r===3&&i.stateNode.current.memoizedState.isDehydrated){n.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}n.blockedOn=null}function k1(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var i=g2(n.nativeEvent);if(i===null){i=n.nativeEvent;var u=new i.constructor(i.type,i);Le=u,i.target.dispatchEvent(u),Le=null}else return r=ea(i),r!==null&&b8(r),n.blockedOn=i,!1;r.shift()}return!0}function B8(n,r,i){k1(n)&&i.delete(r)}function Bg(){y2=!1,Ya!==null&&k1(Ya)&&(Ya=null),Ka!==null&&k1(Ka)&&(Ka=null),Xa!==null&&k1(Xa)&&(Xa=null),Di.forEach(B8),Fi.forEach(B8)}function A1(n,r){n.blockedOn===r&&(n.blockedOn=null,y2||(y2=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Bg)))}var B1=null;function w8(n){B1!==n&&(B1=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){B1===n&&(B1=null);for(var r=0;r<n.length;r+=3){var i=n[r],u=n[r+1],g=n[r+2];if(typeof u!="function"){if(E2(u||i)===null)continue;break}var E=ea(i);E!==null&&(n.splice(r,3),r-=3,gc(E,{pending:!0,data:g,method:i.method,action:u},u,g))}}))}function bl(n){function r(H){return A1(H,n)}Ya!==null&&A1(Ya,n),Ka!==null&&A1(Ka,n),Xa!==null&&A1(Xa,n),Di.forEach(r),Fi.forEach(r);for(var i=0;i<Wa.length;i++){var u=Wa[i];u.blockedOn===n&&(u.blockedOn=null)}for(;0<Wa.length&&(i=Wa[0],i.blockedOn===null);)A8(i),i.blockedOn===null&&Wa.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(u=0;u<i.length;u+=3){var g=i[u],E=i[u+1],B=g[i0]||null;if(typeof E=="function")B||w8(i);else if(B){var _=null;if(E&&E.hasAttribute("formAction")){if(g=E,B=E[i0]||null)_=B.formAction;else if(E2(g)!==null)continue}else _=B.action;typeof _=="function"?i[u+1]=_:(i.splice(u,3),u-=3),w8(i)}}}function D8(){function n(E){E.canIntercept&&E.info==="react-transition"&&E.intercept({handler:function(){return new Promise(function(B){return g=B})},focusReset:"manual",scroll:"manual"})}function r(){g!==null&&(g(),g=null),u||setTimeout(i,20)}function i(){if(!u&&!navigation.transition){var E=navigation.currentEntry;E&&E.url!=null&&navigation.navigate(E.url,{state:E.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,g=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(i,100),function(){u=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),g!==null&&(g(),g=null)}}}function b2(n){this._internalRoot=n}w1.prototype.render=b2.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(l(409));var i=r.current,u=cn();E8(i,u,n,r,null,null)},w1.prototype.unmount=b2.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;E8(n.current,2,null,n,null,null),i1(),r[Hn]=null}};function w1(n){this._internalRoot=n}w1.prototype.unstable_scheduleHydration=function(n){if(n){var r=Ee();n={blockedOn:null,target:n,priority:r};for(var i=0;i<Wa.length&&r!==0&&r<Wa[i].priority;i++);Wa.splice(i,0,n),i===0&&A8(n)}};var F8=t.version;if(F8!=="19.2.7")throw Error(l(527,F8,"19.2.7"));Y.findDOMNode=function(n){var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(l(188)):(n=Object.keys(n).join(","),Error(l(268,n)));return n=h(r),n=n!==null?m(n):null,n=n===null?null:n.stateNode,n};var wg={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var D1=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!D1.isDisabled&&D1.supportsFiber)try{Wt=D1.inject(wg),Dt=D1}catch{}}return Ni.createRoot=function(n,r){if(!s(n))throw Error(l(299));var i=!1,u="",g=z3,E=R3,B=O3;return r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onUncaughtError!==void 0&&(g=r.onUncaughtError),r.onCaughtError!==void 0&&(E=r.onCaughtError),r.onRecoverableError!==void 0&&(B=r.onRecoverableError)),r=m8(n,1,!1,null,null,i,u,null,g,E,B,D8),n[Hn]=r.current,t2(n),new b2(r)},Ni.hydrateRoot=function(n,r,i){if(!s(n))throw Error(l(299));var u=!1,g="",E=z3,B=R3,_=O3,H=null;return i!=null&&(i.unstable_strictMode===!0&&(u=!0),i.identifierPrefix!==void 0&&(g=i.identifierPrefix),i.onUncaughtError!==void 0&&(E=i.onUncaughtError),i.onCaughtError!==void 0&&(B=i.onCaughtError),i.onRecoverableError!==void 0&&(_=i.onRecoverableError),i.formState!==void 0&&(H=i.formState)),r=m8(n,1,!0,r,i??null,u,g,H,E,B,_,D8),r.context=g8(null),i=r.current,u=cn(),u=Tt(u),g=Oa(u),g.callback=null,La(i,g,u),i=u,r.current.lanes=i,At(r,i),Zn(r),n[Hn]=r.current,t2(n),new w1(r)},Ni.version="19.2.7",Ni}var Q8;function bE(){if(Q8)return k2.exports;Q8=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),k2.exports=yE(),k2.exports}var vE=bE();var Xu=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,E6=/^[\\/]{2}/;function CE(e,t){return t+e.replace(/\\/g,"/")}var Y8="popstate";function K8(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function kE(e={}){function t(l,s){let o=s.state?.masked,{pathname:c,search:d,hash:f}=o||l.location;return pu("",{pathname:c,search:d,hash:f},s.state&&s.state.usr||null,s.state&&s.state.key||"default",o?{pathname:l.location.pathname,search:l.location.search,hash:l.location.hash}:void 0)}function a(l,s){return typeof s=="string"?s:Ki(s)}return BE(t,a,null,e)}function qt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Sn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function AE(){return Math.random().toString(36).substring(2,10)}function X8(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function pu(e,t,a=null,l,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Nl(t):t,state:a,key:t&&t.key||l||AE(),mask:s}}function Ki({pathname:e="/",search:t="",hash:a=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),a&&a!=="#"&&(e+=a.charAt(0)==="#"?a:"#"+a),e}function Nl(e){let t={};if(e){let a=e.indexOf("#");a>=0&&(t.hash=e.substring(a),e=e.substring(0,a));let l=e.indexOf("?");l>=0&&(t.search=e.substring(l),e=e.substring(0,l)),e&&(t.pathname=e)}return t}function BE(e,t,a,l={}){let{window:s=document.defaultView,v5Compat:o=!1}=l,c=s.history,d="POP",f=null,h=m();h==null&&(h=0,c.replaceState({...c.state,idx:h},""));function m(){return(c.state||{idx:null}).idx}function p(){d="POP";let C=m(),A=C==null?null:C-h;h=C,f&&f({action:d,location:k.location,delta:A})}function y(C,A){d="PUSH";let F=K8(C)?C:pu(k.location,C,A);h=m()+1;let M=X8(F,h),N=k.createHref(F.mask||F);try{c.pushState(M,"",N)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;s.location.assign(N)}o&&f&&f({action:d,location:k.location,delta:1})}function b(C,A){d="REPLACE";let F=K8(C)?C:pu(k.location,C,A);h=m();let M=X8(F,h),N=k.createHref(F.mask||F);c.replaceState(M,"",N),o&&f&&f({action:d,location:k.location,delta:0})}function v(C){return wE(s,C)}let k={get action(){return d},get location(){return e(s,c)},listen(C){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(Y8,p),f=C,()=>{s.removeEventListener(Y8,p),f=null}},createHref(C){return t(s,C)},createURL:v,encodeLocation(C){let A=v(C);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:y,replace:b,go(C){return c.go(C)}};return k}function wE(e,t,a=!1){let l="http://localhost";e&&(l=e.location.origin!=="null"?e.location.origin:e.location.href),qt(l,"No window.location.(origin|href) available to create URL");let s=typeof t=="string"?t:Ki(t);return s=s.replace(/ $/,"%20"),!a&&E6.test(s)&&(s=l+s),new URL(s,l)}function y6(e,t,a="/"){return DE(e,t,a,!1)}function DE(e,t,a,l,s){let o=typeof t=="string"?Nl(t):t,c=Ca(o.pathname||"/",a);if(c==null)return null;let d=FE(e),f=null,h=A6(c);for(let m=0;f==null&&m<d.length;++m)f=LE(d[m],h,l);return f}function FE(e){let t=b6(e);return SE(t),t}function b6(e,t=[],a=[],l="",s=!1){let o=(c,d,f=s,h)=>{let m={relativePath:h===void 0?c.path||"":h,caseSensitive:c.caseSensitive===!0,childrenIndex:d,route:c};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(l)&&f)return;qt(m.relativePath.startsWith(l),`Absolute route path "${m.relativePath}" nested under path "${l}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(l.length)}let p=Ln([l,m.relativePath]),y=a.concat(m);c.children&&c.children.length>0&&(qt(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),b6(c.children,t,y,p,f)),!(c.path==null&&!c.index)&&t.push({path:p,score:RE(p,c.index),routesMeta:y.map((b,v)=>{let[k,C]=k6(b.relativePath,b.caseSensitive,v===y.length-1);return{...b,matcher:k,compiledParams:C}})})};return e.forEach((c,d)=>{if(c.path===""||!c.path?.includes("?"))o(c,d);else for(let f of v6(c.path))o(c,d,!0,f)}),t}function v6(e){let t=e.split("/");if(t.length===0)return[];let[a,...l]=t,s=a.endsWith("?"),o=a.replace(/\?$/,"");if(l.length===0)return s?[o,""]:[o];let c=v6(l.join("/")),d=[];return d.push(...c.map(f=>f===""?o:[o,f].join("/"))),s&&d.push(...c),d.map(f=>e.startsWith("/")&&f===""?"/":f)}function SE(e){e.sort((t,a)=>t.score!==a.score?a.score-t.score:OE(t.routesMeta.map(l=>l.childrenIndex),a.routesMeta.map(l=>l.childrenIndex)))}var ME=/^:[\w-]+$/,NE=3,_E=2,jE=1,TE=10,zE=-2,W8=e=>e==="*";function RE(e,t){let a=e.split("/"),l=a.length;return a.some(W8)&&(l+=zE),t&&(l+=_E),a.filter(s=>!W8(s)).reduce((s,o)=>s+(ME.test(o)?NE:o===""?jE:TE),l)}function OE(e,t){return e.length===t.length&&e.slice(0,-1).every((l,s)=>l===t[s])?e[e.length-1]-t[t.length-1]:0}function LE(e,t,a=!1){let{routesMeta:l}=e,s={},o="/",c=[];for(let d=0;d<l.length;++d){let f=l[d],h=d===l.length-1,m=o==="/"?t:t.slice(o.length)||"/",p={path:f.relativePath,caseSensitive:f.caseSensitive,end:h},y=f.matcher&&f.compiledParams?C6(p,m,f.matcher,f.compiledParams):Xi(p,m),b=f.route;if(!y&&h&&a&&!l[l.length-1].route.index&&(y=Xi({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},m)),!y)return null;Object.assign(s,y.params),c.push({params:s,pathname:Ln([o,y.pathname]),pathnameBase:HE(Ln([o,y.pathnameBase])),route:b}),y.pathnameBase!=="/"&&(o=Ln([o,y.pathnameBase]))}return c}function Xi(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[a,l]=k6(e.path,e.caseSensitive,e.end);return C6(e,t,a,l)}function C6(e,t,a,l){let s=t.match(a);if(!s)return null;let o=s[0],c=o.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:l.reduce((h,{paramName:m,isOptional:p},y)=>{if(m==="*"){let v=d[y]||"";c=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const b=d[y];return p&&!b?h[m]=void 0:h[m]=(b||"").replace(/%2F/g,"/"),h},{}),pathname:o,pathnameBase:c,pattern:e}}function k6(e,t=!1,a=!0){Sn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let l=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,f,h,m)=>{if(l.push({paramName:d,isOptional:f!=null}),f){let p=m.charAt(h+c.length);return p&&p!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(l.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),l]}function A6(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Sn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ca(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let a=t.endsWith("/")?t.length-1:t.length,l=e.charAt(a);return l&&l!=="/"?null:e.slice(a)||"/"}function PE(e,t="/"){let{pathname:a,search:l="",hash:s=""}=typeof e=="string"?Nl(e):e,o;return a?(a=B6(a),a.startsWith("/")?o=J8(a.substring(1),"/"):o=J8(a,t)):o=t,{pathname:o,search:VE(l),hash:IE(s)}}function J8(e,t){let a=J1(t).split("/");return e.split("/").forEach(s=>{s===".."?a.length>1&&a.pop():s!=="."&&a.push(s)}),a.length>1?a.join("/"):"/"}function D2(e,t,a,l){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(l)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function GE(e){return e.filter((t,a)=>a===0||t.route.path&&t.route.path.length>0)}function Wu(e){let t=GE(e);return t.map((a,l)=>l===t.length-1?a.pathname:a.pathnameBase)}function so(e,t,a,l=!1){let s;typeof e=="string"?s=Nl(e):(s={...e},qt(!s.pathname||!s.pathname.includes("?"),D2("?","pathname","search",s)),qt(!s.pathname||!s.pathname.includes("#"),D2("#","pathname","hash",s)),qt(!s.search||!s.search.includes("#"),D2("#","search","hash",s)));let o=e===""||s.pathname==="",c=o?"/":s.pathname,d;if(c==null)d=a;else{let p=t.length-1;if(!l&&c.startsWith("..")){let y=c.split("/");for(;y[0]==="..";)y.shift(),p-=1;s.pathname=y.join("/")}d=p>=0?t[p]:"/"}let f=PE(s,d),h=c&&c!=="/"&&c.endsWith("/"),m=(o||c===".")&&a.endsWith("/");return!f.pathname.endsWith("/")&&(h||m)&&(f.pathname+="/"),f}var B6=e=>e.replace(/[\\/]{2,}/g,"/"),Ln=e=>B6(e.join("/")),J1=e=>e.replace(/\/+$/,""),HE=e=>J1(e).replace(/^\/*/,"/"),VE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,IE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,UE=class{constructor(e,t,a,l=!1){this.status=e,this.statusText=t||"",this.internal=l,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function ZE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function $E(e){let t=e.map(a=>a.route.path).filter(Boolean);return Ln(t)||"/"}var w6=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function D6(e,t){let a=e;if(typeof a!="string"||!Xu.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let l=a,s=!1;if(w6)try{let o=new URL(window.location.href),c=E6.test(a)?new URL(CE(a,o.protocol)):new URL(a),d=Ca(c.pathname,t);c.origin===o.origin&&d!=null?a=d+c.search+c.hash:s=!0}catch{Sn(!1,`<Link to="${a}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:l,isExternal:s,to:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var F6=["POST","PUT","PATCH","DELETE"];new Set(F6);var qE=["GET",...F6];new Set(qE);var QE=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function YE(e){try{return QE.includes(new URL(e).protocol)}catch{return!1}}var _l=w.createContext(null);_l.displayName="DataRouter";var oo=w.createContext(null);oo.displayName="DataRouterState";var S6=w.createContext(!1);function KE(){return w.useContext(S6)}var M6=w.createContext({isTransitioning:!1});M6.displayName="ViewTransition";var XE=w.createContext(new Map);XE.displayName="Fetchers";var WE=w.createContext(null);WE.displayName="Await";var pn=w.createContext(null);pn.displayName="Navigation";var is=w.createContext(null);is.displayName="Location";var Mn=w.createContext({outlet:null,matches:[],isDataRoute:!1});Mn.displayName="Route";var Ju=w.createContext(null);Ju.displayName="RouteError";var N6="REACT_ROUTER_ERROR",JE="REDIRECT",ey="ROUTE_ERROR_RESPONSE";function ty(e){if(e.startsWith(`${N6}:${JE}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function ny(e){if(e.startsWith(`${N6}:${ey}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new UE(t.status,t.statusText,t.data)}catch{}}function ay(e,{relative:t}={}){qt(Rr(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:l}=w.useContext(pn),{hash:s,pathname:o,search:c}=ss(e,{relative:t}),d=o;return a!=="/"&&(d=o==="/"?a:Ln([a,o])),l.createHref({pathname:d,search:c,hash:s})}function Rr(){return w.useContext(is)!=null}function Nn(){return qt(Rr(),"useLocation() may be used only in the context of a <Router> component."),w.useContext(is).location}function ry(e){qt(Rr(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:t}=Nn();return w.useMemo(()=>Xi(e,A6(t)),[t,e])}var _6="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function j6(e){w.useContext(pn).static||w.useLayoutEffect(e)}function Or(){let{isDataRoute:e}=w.useContext(Mn);return e?by():ly()}function ly(){qt(Rr(),"useNavigate() may be used only in the context of a <Router> component.");let e=w.useContext(_l),{basename:t,navigator:a}=w.useContext(pn),{matches:l}=w.useContext(Mn),{pathname:s}=Nn(),o=JSON.stringify(Wu(l)),c=w.useRef(!1);return j6(()=>{c.current=!0}),w.useCallback((f,h={})=>{if(Sn(c.current,_6),!c.current)return;if(typeof f=="number"){a.go(f);return}let m=so(f,JSON.parse(o),s,h.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:Ln([t,m.pathname])),(h.replace?a.replace:a.push)(m,h.state,h)},[t,a,o,s,e])}var iy=w.createContext(null);function sy(e){let t=w.useContext(Mn).outlet;return w.useMemo(()=>t&&w.createElement(iy.Provider,{value:e},t),[t,e])}function oy(){let{matches:e}=w.useContext(Mn);return e[e.length-1]?.params??{}}function ss(e,{relative:t}={}){let{matches:a}=w.useContext(Mn),{pathname:l}=Nn(),s=JSON.stringify(Wu(a));return w.useMemo(()=>so(e,JSON.parse(s),l,t==="path"),[e,s,l,t])}function cy(e,t){return T6(e,t)}function T6(e,t,a){qt(Rr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l}=w.useContext(pn),{matches:s}=w.useContext(Mn),o=s[s.length-1],c=o?o.params:{},d=o?o.pathname:"/",f=o?o.pathnameBase:"/",h=o&&o.route;{let C=h&&h.path||"";R6(d,!h||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${C}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
10
+
11
+ Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}/*`}">.`)}let m=Nn(),p;if(t){let C=typeof t=="string"?Nl(t):t;qt(f==="/"||C.pathname?.startsWith(f),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${C.pathname}" was given in the \`location\` prop.`),p=C}else p=m;let y=p.pathname||"/",b=y;if(f!=="/"){let C=f.replace(/^\//,"").split("/");b="/"+y.replace(/^\//,"").split("/").slice(C.length).join("/")}let v=a&&a.state.matches.length?a.state.matches.map(C=>Object.assign(C,{route:a.manifest[C.route.id]||C.route})):y6(e,{pathname:b});Sn(h||v!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),Sn(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let k=hy(v&&v.map(C=>Object.assign({},C,{params:Object.assign({},c,C.params),pathname:Ln([f,l.encodeLocation?l.encodeLocation(C.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?f:Ln([f,l.encodeLocation?l.encodeLocation(C.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),s,a);return t&&k?w.createElement(is.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...p},navigationType:"POP"}},k):k}function uy(){let e=yy(),t=ZE(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,l="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:l},o={padding:"2px 4px",backgroundColor:l},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=w.createElement(w.Fragment,null,w.createElement("p",null,"💿 Hey developer 👋"),w.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",w.createElement("code",{style:o},"ErrorBoundary")," or"," ",w.createElement("code",{style:o},"errorElement")," prop on your route.")),w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),a?w.createElement("pre",{style:s},a):null,c)}var xy=w.createElement(uy,null),z6=class extends w.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const a=ny(e.digest);a&&(e=a)}let t=e!==void 0?w.createElement(Mn.Provider,{value:this.props.routeContext},w.createElement(Ju.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?w.createElement(dy,{error:e},t):t}};z6.contextType=S6;var F2=new WeakMap;function dy({children:e,error:t}){let{basename:a}=w.useContext(pn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let l=ty(t.digest);if(l){let s=F2.get(t);if(s)throw s;let o=D6(l.location,a),c=o.absoluteURL||o.to;if(YE(c))throw new Error("Invalid redirect location");if(w6&&!F2.get(t))if(o.isExternal||l.reloadDocument)window.location.href=c;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:l.replace}));throw F2.set(t,d),d}return w.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c}`})}}return e}function fy({routeContext:e,match:t,children:a}){let l=w.useContext(_l);return l&&l.static&&l.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=t.route.id),w.createElement(Mn.Provider,{value:e},a)}function hy(e,t=[],a){let l=a?.state;if(e==null){if(!l)return null;if(l.errors)e=l.matches;else if(t.length===0&&!l.initialized&&l.matches.length>0)e=l.matches;else return null}let s=e,o=l?.errors;if(o!=null){let m=s.findIndex(p=>p.route.id&&o?.[p.route.id]!==void 0);qt(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),s=s.slice(0,Math.min(s.length,m+1))}let c=!1,d=-1;if(a&&l){c=l.renderFallback;for(let m=0;m<s.length;m++){let p=s[m];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(d=m),p.route.id){let{loaderData:y,errors:b}=l,v=p.route.loader&&!y.hasOwnProperty(p.route.id)&&(!b||b[p.route.id]===void 0);if(p.route.lazy||v){a.isStatic&&(c=!0),d>=0?s=s.slice(0,d+1):s=[s[0]];break}}}}let f=a?.onError,h=l&&f?(m,p)=>{f(m,{location:l.location,params:l.matches?.[0]?.params??{},pattern:$E(l.matches),errorInfo:p})}:void 0;return s.reduceRight((m,p,y)=>{let b,v=!1,k=null,C=null;l&&(b=o&&p.route.id?o[p.route.id]:void 0,k=p.route.errorElement||xy,c&&(d<0&&y===0?(R6("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),v=!0,C=null):d===y&&(v=!0,C=p.route.hydrateFallbackElement||null)));let A=t.concat(s.slice(0,y+1)),F=()=>{let M;return b?M=k:v?M=C:p.route.Component?M=w.createElement(p.route.Component,null):p.route.element?M=p.route.element:M=m,w.createElement(fy,{match:p,routeContext:{outlet:m,matches:A,isDataRoute:l!=null},children:M})};return l&&(p.route.ErrorBoundary||p.route.errorElement||y===0)?w.createElement(z6,{location:l.location,revalidation:l.revalidation,component:k,error:b,children:F(),routeContext:{outlet:null,matches:A,isDataRoute:!0},onError:h}):F()},null)}function ex(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function py(e){let t=w.useContext(_l);return qt(t,ex(e)),t}function my(e){let t=w.useContext(oo);return qt(t,ex(e)),t}function gy(e){let t=w.useContext(Mn);return qt(t,ex(e)),t}function tx(e){let t=gy(e),a=t.matches[t.matches.length-1];return qt(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function Ey(){return tx("useRouteId")}function yy(){let e=w.useContext(Ju),t=my("useRouteError"),a=tx("useRouteError");return e!==void 0?e:t.errors?.[a]}function by(){let{router:e}=py("useNavigate"),t=tx("useNavigate"),a=w.useRef(!1);return j6(()=>{a.current=!0}),w.useCallback(async(s,o={})=>{Sn(a.current,_6),a.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:t,...o}))},[e,t])}var e4={};function R6(e,t,a){!t&&!e4[e]&&(e4[e]=!0,Sn(!1,a))}w.memo(vy);function vy({routes:e,manifest:t,future:a,state:l,isStatic:s,onError:o}){return T6(e,void 0,{manifest:t,state:l,isStatic:s,onError:o})}function Cy({to:e,replace:t,state:a,relative:l}){qt(Rr(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=w.useContext(pn);Sn(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:o}=w.useContext(Mn),{pathname:c}=Nn(),d=Or(),f=so(e,Wu(o),c,l==="path"),h=JSON.stringify(f);return w.useEffect(()=>{d(JSON.parse(h),{replace:t,state:a,relative:l})},[d,h,l,t,a]),null}function ky(e){return sy(e.context)}function Vi(e){qt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Ay({basename:e="/",children:t=null,location:a,navigationType:l="POP",navigator:s,static:o=!1,useTransitions:c}){qt(!Rr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),f=w.useMemo(()=>({basename:d,navigator:s,static:o,useTransitions:c,future:{}}),[d,s,o,c]);typeof a=="string"&&(a=Nl(a));let{pathname:h="/",search:m="",hash:p="",state:y=null,key:b="default",mask:v}=a,k=w.useMemo(()=>{let C=Ca(h,d);return C==null?null:{location:{pathname:C,search:m,hash:p,state:y,key:b,mask:v},navigationType:l}},[d,h,m,p,y,b,l,v]);return Sn(k!=null,`<Router basename="${d}"> is not able to match the URL "${h}${m}${p}" because it does not start with the basename, so the <Router> won't render anything.`),k==null?null:w.createElement(pn.Provider,{value:f},w.createElement(is.Provider,{children:t,value:k}))}function By({children:e,location:t}){return cy(mu(e),t)}function mu(e,t=[]){let a=[];return w.Children.forEach(e,(l,s)=>{if(!w.isValidElement(l))return;let o=[...t,s];if(l.type===w.Fragment){a.push.apply(a,mu(l.props.children,o));return}qt(l.type===Vi,`[${typeof l.type=="string"?l.type:l.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),qt(!l.props.index||!l.props.children,"An index route cannot have child routes.");let c={id:l.props.id||o.join("-"),caseSensitive:l.props.caseSensitive,element:l.props.element,Component:l.props.Component,index:l.props.index,path:l.props.path,middleware:l.props.middleware,loader:l.props.loader,action:l.props.action,hydrateFallbackElement:l.props.hydrateFallbackElement,HydrateFallback:l.props.HydrateFallback,errorElement:l.props.errorElement,ErrorBoundary:l.props.ErrorBoundary,hasErrorBoundary:l.props.hasErrorBoundary===!0||l.props.ErrorBoundary!=null||l.props.errorElement!=null,shouldRevalidate:l.props.shouldRevalidate,handle:l.props.handle,lazy:l.props.lazy};l.props.children&&(c.children=mu(l.props.children,o)),a.push(c)}),a}var Z1="get",$1="application/x-www-form-urlencoded";function co(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function wy(e){return co(e)&&e.tagName.toLowerCase()==="button"}function Dy(e){return co(e)&&e.tagName.toLowerCase()==="form"}function Fy(e){return co(e)&&e.tagName.toLowerCase()==="input"}function Sy(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function My(e,t){return e.button===0&&(!t||t==="_self")&&!Sy(e)}function gu(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,a)=>{let l=e[a];return t.concat(Array.isArray(l)?l.map(s=>[a,s]):[[a,l]])},[]))}function Ny(e,t){let a=gu(e);return t&&t.forEach((l,s)=>{a.has(s)||t.getAll(s).forEach(o=>{a.append(s,o)})}),a}var M1=null;function _y(){if(M1===null)try{new FormData(document.createElement("form"),0),M1=!1}catch{M1=!0}return M1}var jy=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function S2(e){return e!=null&&!jy.has(e)?(Sn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${$1}"`),null):e}function Ty(e,t){let a,l,s,o,c;if(Dy(e)){let d=e.getAttribute("action");l=d?Ca(d,t):null,a=e.getAttribute("method")||Z1,s=S2(e.getAttribute("enctype"))||$1,o=new FormData(e)}else if(wy(e)||Fy(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||d.getAttribute("action");if(l=f?Ca(f,t):null,a=e.getAttribute("formmethod")||d.getAttribute("method")||Z1,s=S2(e.getAttribute("formenctype"))||S2(d.getAttribute("enctype"))||$1,o=new FormData(d,e),!_y()){let{name:h,type:m,value:p}=e;if(m==="image"){let y=h?`${h}.`:"";o.append(`${y}x`,"0"),o.append(`${y}y`,"0")}else h&&o.append(h,p)}}else{if(co(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=Z1,l=null,s=$1,c=e}return o&&s==="text/plain"&&(c=o,o=void 0),{action:l,method:a.toLowerCase(),encType:s,formData:o,body:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function nx(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function O6(e,t,a,l){let s=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return a?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${l}`:s.pathname=`${s.pathname}.${l}`:s.pathname==="/"?s.pathname=`_root.${l}`:t&&Ca(s.pathname,t)==="/"?s.pathname=`${J1(t)}/_root.${l}`:s.pathname=`${J1(s.pathname)}.${l}`,s}async function zy(e,t){if(e.id in t)return t[e.id];try{let a=await import(e.module);return t[e.id]=a,a}catch(a){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Ry(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Oy(e,t,a){let l=await Promise.all(e.map(async s=>{let o=t.routes[s.route.id];if(o){let c=await zy(o,a);return c.links?c.links():[]}return[]}));return Hy(l.flat(1).filter(Ry).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function t4(e,t,a,l,s,o){let c=(f,h)=>a[h]?f.route.id!==a[h].route.id:!0,d=(f,h)=>a[h].pathname!==f.pathname||a[h].route.path?.endsWith("*")&&a[h].params["*"]!==f.params["*"];return o==="assets"?t.filter((f,h)=>c(f,h)||d(f,h)):o==="data"?t.filter((f,h)=>{let m=l.routes[f.route.id];if(!m||!m.hasLoader)return!1;if(c(f,h)||d(f,h))return!0;if(f.route.shouldRevalidate){let p=f.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof p=="boolean")return p}return!0}):[]}function Ly(e,t,{includeHydrateFallback:a}={}){return Py(e.map(l=>{let s=t.routes[l.route.id];if(!s)return[];let o=[s.module];return s.clientActionModule&&(o=o.concat(s.clientActionModule)),s.clientLoaderModule&&(o=o.concat(s.clientLoaderModule)),a&&s.hydrateFallbackModule&&(o=o.concat(s.hydrateFallbackModule)),s.imports&&(o=o.concat(s.imports)),o}).flat(1))}function Py(e){return[...new Set(e)]}function Gy(e){let t={},a=Object.keys(e).sort();for(let l of a)t[l]=e[l];return t}function Hy(e,t){let a=new Set;return new Set(t),e.reduce((l,s)=>{let o=JSON.stringify(Gy(s));return a.has(o)||(a.add(o),l.push({key:o,link:s})),l},[])}function ax(){let e=w.useContext(_l);return nx(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Vy(){let e=w.useContext(oo);return nx(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var rx=w.createContext(void 0);rx.displayName="FrameworkContext";function uo(){let e=w.useContext(rx);return nx(e,"You must render this element inside a <HydratedRouter> element"),e}function Iy(e,t){let a=w.useContext(rx),[l,s]=w.useState(!1),[o,c]=w.useState(!1),{onFocus:d,onBlur:f,onMouseEnter:h,onMouseLeave:m,onTouchStart:p}=t,y=w.useRef(null);w.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let k=A=>{A.forEach(F=>{c(F.isIntersecting)})},C=new IntersectionObserver(k,{threshold:.5});return y.current&&C.observe(y.current),()=>{C.disconnect()}}},[e]),w.useEffect(()=>{if(l){let k=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(k)}}},[l]);let b=()=>{s(!0)},v=()=>{s(!1),c(!1)};return a?e!=="intent"?[o,y,{}]:[o,y,{onFocus:_i(d,b),onBlur:_i(f,v),onMouseEnter:_i(h,b),onMouseLeave:_i(m,v),onTouchStart:_i(p,b)}]:[!1,y,{}]}function _i(e,t){return a=>{e&&e(a),a.defaultPrevented||t(a)}}function Uy({page:e,...t}){let a=KE(),{nonce:l}=uo(),{router:s}=ax(),o=w.useMemo(()=>y6(s.routes,e,s.basename),[s.routes,e,s.basename]);return o?(t.nonce==null&&l&&(t={...t,nonce:l}),a?w.createElement($y,{page:e,matches:o,...t}):w.createElement(qy,{page:e,matches:o,...t})):null}function Zy(e){let{manifest:t,routeModules:a}=uo(),[l,s]=w.useState([]);return w.useEffect(()=>{let o=!1;return Oy(e,t,a).then(c=>{o||s(c)}),()=>{o=!0}},[e,t,a]),l}function $y({page:e,matches:t,...a}){let l=Nn(),{future:s}=uo(),{basename:o}=ax(),c=w.useMemo(()=>{if(e===l.pathname+l.search+l.hash)return[];let d=O6(e,o,s.v8_trailingSlashAwareDataRequests,"rsc"),f=!1,h=[];for(let m of t)typeof m.route.shouldRevalidate=="function"?f=!0:h.push(m.route.id);return f&&h.length>0&&d.searchParams.set("_routes",h.join(",")),[d.pathname+d.search]},[o,s.v8_trailingSlashAwareDataRequests,e,l,t]);return w.createElement(w.Fragment,null,c.map(d=>w.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...a})))}function qy({page:e,matches:t,...a}){let l=Nn(),{future:s,manifest:o,routeModules:c}=uo(),{basename:d}=ax(),{loaderData:f,matches:h}=Vy(),m=w.useMemo(()=>t4(e,t,h,o,l,"data"),[e,t,h,o,l]),p=w.useMemo(()=>t4(e,t,h,o,l,"assets"),[e,t,h,o,l]),y=w.useMemo(()=>{if(e===l.pathname+l.search+l.hash)return[];let k=new Set,C=!1;if(t.forEach(F=>{let M=o.routes[F.route.id];!M||!M.hasLoader||(!m.some(N=>N.route.id===F.route.id)&&F.route.id in f&&c[F.route.id]?.shouldRevalidate||M.hasClientLoader?C=!0:k.add(F.route.id))}),k.size===0)return[];let A=O6(e,d,s.v8_trailingSlashAwareDataRequests,"data");return C&&k.size>0&&A.searchParams.set("_routes",t.filter(F=>k.has(F.route.id)).map(F=>F.route.id).join(",")),[A.pathname+A.search]},[d,s.v8_trailingSlashAwareDataRequests,f,l,o,m,t,e,c]),b=w.useMemo(()=>Ly(p,o),[p,o]),v=Zy(p);return w.createElement(w.Fragment,null,y.map(k=>w.createElement("link",{key:k,rel:"prefetch",as:"fetch",href:k,...a})),b.map(k=>w.createElement("link",{key:k,rel:"modulepreload",href:k,...a})),v.map(({key:k,link:C})=>w.createElement("link",{key:k,nonce:a.nonce,...C,crossOrigin:C.crossOrigin??a.crossOrigin})))}function Qy(...e){return t=>{e.forEach(a=>{typeof a=="function"?a(t):a!=null&&(a.current=t)})}}var Yy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Yy&&(window.__reactRouterVersion="7.18.1")}catch{}function Ky({basename:e,children:t,useTransitions:a,window:l}){let s=w.useRef();s.current==null&&(s.current=kE({window:l,v5Compat:!0}));let o=s.current,[c,d]=w.useState({action:o.action,location:o.location}),f=w.useCallback(h=>{a===!1?d(h):w.startTransition(()=>d(h))},[a]);return w.useLayoutEffect(()=>o.listen(f),[o,f]),w.createElement(Ay,{basename:e,children:t,location:c.location,navigationType:c.action,navigator:o,useTransitions:a})}var L6=w.forwardRef(function({onClick:t,discover:a="render",prefetch:l="none",relative:s,reloadDocument:o,replace:c,mask:d,state:f,target:h,to:m,preventScrollReset:p,viewTransition:y,defaultShouldRevalidate:b,...v},k){let{basename:C,navigator:A,useTransitions:F}=w.useContext(pn),M=typeof m=="string"&&Xu.test(m),N=D6(m,C);m=N.to;let S=ay(m,{relative:s}),D=Nn(),R=null;if(d){let Q=so(d,[],D.mask?D.mask.pathname:"/",!0);C!=="/"&&(Q.pathname=Q.pathname==="/"?C:Ln([C,Q.pathname])),R=A.createHref(Q)}let[O,P,T]=Iy(l,v),V=eb(m,{replace:c,mask:d,state:f,target:h,preventScrollReset:p,relative:s,viewTransition:y,defaultShouldRevalidate:b,useTransitions:F});function Z(Q){t&&t(Q),Q.defaultPrevented||V(Q)}let re=!(N.isExternal||o),ee=w.createElement("a",{...v,...T,href:(re?R:void 0)||N.absoluteURL||S,onClick:re?Z:t,ref:Qy(k,P),target:h,"data-discover":!M&&a==="render"?"true":void 0});return O&&!M?w.createElement(w.Fragment,null,ee,w.createElement(Uy,{page:S})):ee});L6.displayName="Link";var Xy=w.forwardRef(function({"aria-current":t="page",caseSensitive:a=!1,className:l="",end:s=!1,style:o,to:c,viewTransition:d,children:f,...h},m){let p=ss(c,{relative:h.relative}),y=Nn(),b=w.useContext(oo),{navigator:v,basename:k}=w.useContext(pn),C=b!=null&&lb(p)&&d===!0,A=v.encodeLocation?v.encodeLocation(p).pathname:p.pathname,F=y.pathname,M=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;a||(F=F.toLowerCase(),M=M?M.toLowerCase():null,A=A.toLowerCase()),M&&k&&(M=Ca(M,k)||M);const N=A!=="/"&&A.endsWith("/")?A.length-1:A.length;let S=F===A||!s&&F.startsWith(A)&&F.charAt(N)==="/",D=M!=null&&(M===A||!s&&M.startsWith(A)&&M.charAt(A.length)==="/"),R={isActive:S,isPending:D,isTransitioning:C},O=S?t:void 0,P;typeof l=="function"?P=l(R):P=[l,S?"active":null,D?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let T=typeof o=="function"?o(R):o;return w.createElement(L6,{...h,"aria-current":O,className:P,ref:m,style:T,to:c,viewTransition:d},typeof f=="function"?f(R):f)});Xy.displayName="NavLink";var Wy=w.forwardRef(({discover:e="render",fetcherKey:t,navigate:a,reloadDocument:l,replace:s,state:o,method:c=Z1,action:d,onSubmit:f,relative:h,preventScrollReset:m,viewTransition:p,defaultShouldRevalidate:y,...b},v)=>{let{useTransitions:k}=w.useContext(pn),C=ab(),A=rb(d,{relative:h}),F=c.toLowerCase()==="get"?"get":"post",M=typeof d=="string"&&Xu.test(d),N=S=>{if(f&&f(S),S.defaultPrevented)return;S.preventDefault();let D=S.nativeEvent.submitter,R=D?.getAttribute("formmethod")||c,O=()=>C(D||S.currentTarget,{fetcherKey:t,method:R,navigate:a,replace:s,state:o,relative:h,preventScrollReset:m,viewTransition:p,defaultShouldRevalidate:y});k&&a!==!1?w.startTransition(()=>O()):O()};return w.createElement("form",{ref:v,method:F,action:A,onSubmit:l?f:N,...b,"data-discover":!M&&e==="render"?"true":void 0})});Wy.displayName="Form";function Jy(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function P6(e){let t=w.useContext(_l);return qt(t,Jy(e)),t}function eb(e,{target:t,replace:a,mask:l,state:s,preventScrollReset:o,relative:c,viewTransition:d,defaultShouldRevalidate:f,useTransitions:h}={}){let m=Or(),p=Nn(),y=ss(e,{relative:c});return w.useCallback(b=>{if(My(b,t)){b.preventDefault();let v=a!==void 0?a:Ki(p)===Ki(y),k=()=>m(e,{replace:v,mask:l,state:s,preventScrollReset:o,relative:c,viewTransition:d,defaultShouldRevalidate:f});h?w.startTransition(()=>k()):k()}},[p,m,y,a,l,s,t,e,o,c,d,f,h])}function G6(e){Sn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=w.useRef(gu(e)),a=w.useRef(!1),l=Nn(),s=w.useMemo(()=>Ny(l.search,a.current?null:t.current),[l.search]),o=Or(),c=w.useCallback((d,f)=>{const h=gu(typeof d=="function"?d(new URLSearchParams(s)):d);a.current=!0,o("?"+h,f)},[o,s]);return[s,c]}var tb=0,nb=()=>`__${String(++tb)}__`;function ab(){let{router:e}=P6("useSubmit"),{basename:t}=w.useContext(pn),a=Ey(),l=e.fetch,s=e.navigate;return w.useCallback(async(o,c={})=>{let{action:d,method:f,encType:h,formData:m,body:p}=Ty(o,t);if(c.navigate===!1){let y=c.fetcherKey||nb();await l(y,a,c.action||d,{defaultShouldRevalidate:c.defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:m,body:p,formMethod:c.method||f,formEncType:c.encType||h,flushSync:c.flushSync})}else await s(c.action||d,{defaultShouldRevalidate:c.defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:m,body:p,formMethod:c.method||f,formEncType:c.encType||h,replace:c.replace,state:c.state,fromRouteId:a,flushSync:c.flushSync,viewTransition:c.viewTransition})},[l,s,t,a])}function rb(e,{relative:t}={}){let{basename:a}=w.useContext(pn),l=w.useContext(Mn);qt(l,"useFormAction must be used inside a RouteContext");let[s]=l.matches.slice(-1),o={...ss(e||".",{relative:t})},c=Nn();if(e==null){o.search=c.search;let d=new URLSearchParams(o.search),f=d.getAll("index");if(f.some(m=>m==="")){d.delete("index"),f.filter(p=>p).forEach(p=>d.append("index",p));let m=d.toString();o.search=m?`?${m}`:""}}return(!e||e===".")&&s.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(o.pathname=o.pathname==="/"?a:Ln([a,o.pathname])),Ki(o)}function lb(e,{relative:t}={}){let a=w.useContext(M6);qt(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:l}=P6("useViewTransitionState"),s=ss(e,{relative:t});if(!a.isTransitioning)return!1;let o=Ca(a.currentLocation.pathname,l)||a.currentLocation.pathname,c=Ca(a.nextLocation.pathname,l)||a.nextLocation.pathname;return Xi(s.pathname,c)!=null||Xi(s.pathname,o)!=null}const H6=(...e)=>e.filter((t,a,l)=>!!t&&t.trim()!==""&&l.indexOf(t)===a).join(" ").trim();const ib=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const sb=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,l)=>l?l.toUpperCase():a.toLowerCase());const n4=e=>{const t=sb(e);return t.charAt(0).toUpperCase()+t.slice(1)};var ob={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const cb=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};const ub=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:s="",children:o,iconNode:c,...d},f)=>w.createElement("svg",{ref:f,...ob,width:t,height:t,stroke:e,strokeWidth:l?Number(a)*24/Number(t):a,className:H6("lucide",s),...!o&&!cb(d)&&{"aria-hidden":"true"},...d},[...c.map(([h,m])=>w.createElement(h,m)),...Array.isArray(o)?o:[o]]));const U=(e,t)=>{const a=w.forwardRef(({className:l,...s},o)=>w.createElement(ub,{ref:o,iconNode:t,className:H6(`lucide-${ib(n4(e))}`,`lucide-${e}`,l),...s}));return a.displayName=n4(e),a};const xb=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],db=U("activity",xb);const fb=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],hb=U("anchor",fb);const pb=[["path",{d:"M12 6.528V3a1 1 0 0 1 1-1h0",key:"11qiee"}],["path",{d:"M18.237 21A15 15 0 0 0 22 11a6 6 0 0 0-10-4.472A6 6 0 0 0 2 11a15.1 15.1 0 0 0 3.763 10 3 3 0 0 0 3.648.648 5.5 5.5 0 0 1 5.178 0A3 3 0 0 0 18.237 21",key:"110c12"}]],mb=U("apple",pb);const gb=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"m9.5 17 5-5",key:"nakeu6"}],["path",{d:"m9.5 12 5 5",key:"1hccrj"}]],Eb=U("archive-x",gb);const yb=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],lx=U("archive",yb);const bb=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],V6=U("arrow-left",bb);const vb=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Cb=U("arrow-right",vb);const kb=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],Ab=U("arrow-up-right",kb);const Bb=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],wb=U("arrow-up",Bb);const Db=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],Fb=U("atom",Db);const Sb=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Mb=U("award",Sb);const Nb=[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]],_b=U("banknote",Nb);const jb=[["path",{d:"M 22 14 L 22 10",key:"nqc4tb"}],["rect",{x:"2",y:"6",width:"16",height:"12",rx:"2",key:"13zb55"}]],Tb=U("battery",jb);const zb=[["path",{d:"M17 11h1a3 3 0 0 1 0 6h-1",key:"1yp76v"}],["path",{d:"M9 12v6",key:"1u1cab"}],["path",{d:"M13 12v6",key:"1sugkk"}],["path",{d:"M14 7.5c-1 0-1.44.5-3 .5s-2-.5-3-.5-1.72.5-2.5.5a2.5 2.5 0 0 1 0-5c.78 0 1.57.5 2.5.5S9.44 2 11 2s2 1.5 3 1.5 1.72-.5 2.5-.5a2.5 2.5 0 0 1 0 5c-.78 0-1.5-.5-2.5-.5Z",key:"1510fo"}],["path",{d:"M5 8v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"19jb7n"}]],Rb=U("beer",zb);const Ob=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],I6=U("bell",Ob);const Lb=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],Pb=U("bike",Lb);const Gb=[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]],Hb=U("bird",Gb);const Vb=[["path",{d:"m7 7 10 10-5 5V2l5 5L7 17",key:"1q5490"}]],Ib=U("bluetooth",Vb);const Ub=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Zb=U("book-open",Ub);const $b=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],qb=U("book",$b);const Qb=[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]],Yb=U("bookmark",Qb);const Kb=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],U6=U("bot",Kb);const Xb=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],Wb=U("box",Xb);const Jb=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],ev=U("brain",Jb);const tv=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],nv=U("briefcase",tv);const av=[["path",{d:"m11 10 3 3",key:"fzmg1i"}],["path",{d:"M6.5 21A3.5 3.5 0 1 0 3 17.5a2.62 2.62 0 0 1-.708 1.792A1 1 0 0 0 3 21z",key:"p4q2r7"}],["path",{d:"M9.969 17.031 21.378 5.624a1 1 0 0 0-3.002-3.002L6.967 14.031",key:"wy6l02"}]],rv=U("brush",av);const lv=[["path",{d:"M10 19.655A6 6 0 0 1 6 14v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 3.97",key:"1gnv52"}],["path",{d:"M14 15.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997a1 1 0 0 1-1.517-.86z",key:"1weqy9"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],iv=U("bug-play",lv);const sv=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],ov=U("bug",sv);const cv=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],uv=U("building-2",cv);const xv=[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]],dv=U("building",xv);const fv=[["path",{d:"M20 21v-8a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8",key:"1w3rig"}],["path",{d:"M4 16s.5-1 2-1 2.5 2 4 2 2.5-2 4-2 2.5 2 4 2 2-1 2-1",key:"n2jgmb"}],["path",{d:"M2 21h20",key:"1nyx9w"}],["path",{d:"M7 8v3",key:"1qtyvj"}],["path",{d:"M12 8v3",key:"hwp4zt"}],["path",{d:"M17 8v3",key:"1i6e5u"}],["path",{d:"M7 4h.01",key:"1bh4kh"}],["path",{d:"M12 4h.01",key:"1ujb9j"}],["path",{d:"M17 4h.01",key:"1upcoc"}]],hv=U("cake",fv);const pv=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],mv=U("calendar",pv);const gv=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],Ev=U("camera",gv);const yv=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],bv=U("car",yv);const vv=[["path",{d:"M2.27 21.7s9.87-3.5 12.73-6.36a4.5 4.5 0 0 0-6.36-6.37C5.77 11.84 2.27 21.7 2.27 21.7zM8.64 14l-2.05-2.04M15.34 15l-2.46-2.46",key:"rfqxbe"}],["path",{d:"M22 9s-1.33-2-3.5-2C16.86 7 15 9 15 9s1.33 2 3.5 2S22 9 22 9z",key:"6b25w4"}],["path",{d:"M15 2s-2 1.33-2 3.5S15 9 15 9s2-1.84 2-3.5C17 3.33 15 2 15 2z",key:"fn65lo"}]],Cv=U("carrot",vv);const kv=[["path",{d:"M12 5c.67 0 1.35.09 2 .26 1.78-2 5.03-2.84 6.42-2.26 1.4.58-.42 7-.42 7 .57 1.07 1 2.24 1 3.44C21 17.9 16.97 21 12 21s-9-3-9-7.56c0-1.25.5-2.4 1-3.44 0 0-1.89-6.42-.5-7 1.39-.58 4.72.23 6.5 2.23A9.04 9.04 0 0 1 12 5Z",key:"x6xyqk"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M11.25 16.25h1.5L12 17l-.75-.75Z",key:"12kq1m"}]],Av=U("cat",kv);const Bv=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 16h8",key:"srdodz"}],["path",{d:"M7 11h12",key:"127s9w"}],["path",{d:"M7 6h3",key:"w9rmul"}]],wv=U("chart-bar",Bv);const Dv=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],Fv=U("chart-line",Dv);const Sv=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],Mv=U("chart-pie",Sv);const Nv=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ka=U("check",Nv);const _v=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Ba=U("chevron-down",_v);const jv=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Tv=U("chevron-left",jv);const zv=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Z6=U("chevron-right",zv);const Rv=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Ov=U("chevron-up",Rv);const Lv=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],$6=U("circle-check",Lv);const Pv=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Gv=U("circle-x",Pv);const Hv=[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]],Vv=U("clapperboard",Hv);const Iv=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],q6=U("clock",Iv);const Uv=[["path",{d:"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057",key:"1uxyv8"}],["path",{d:"M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78",key:"99tcn7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Zv=U("cloud-off",Uv);const $v=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],qv=U("cloud-upload",$v);const Qv=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],Yv=U("cloud",Qv);const Kv=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],Xv=U("code-xml",Kv);const Wv=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],Jv=U("code",Wv);const eC=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],tC=U("coffee",eC);const nC=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],aC=U("cog",nC);const rC=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],lC=U("compass",rC);const iC=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],ix=U("copy",iC);const sC=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],oC=U("cpu",sC);const cC=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],uC=U("credit-card",cC);const xC=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],dC=U("crown",xC);const fC=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],hC=U("database",fC);const pC=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],mC=U("dna",pC);const gC=[["path",{d:"M11.25 16.25h1.5L12 17z",key:"w7jh35"}],["path",{d:"M16 14v.5",key:"1lajdz"}],["path",{d:"M4.42 11.247A13.152 13.152 0 0 0 4 14.556C4 18.728 7.582 21 12 21s8-2.272 8-6.444a11.702 11.702 0 0 0-.493-3.309",key:"u7s9ue"}],["path",{d:"M8 14v.5",key:"1nzgdb"}],["path",{d:"M8.5 8.5c-.384 1.05-1.083 2.028-2.344 2.5-1.931.722-3.576-.297-3.656-1-.113-.994 1.177-6.53 4-7 1.923-.321 3.651.845 3.651 2.235A7.497 7.497 0 0 1 14 5.277c0-1.39 1.844-2.598 3.767-2.277 2.823.47 4.113 6.006 4 7-.08.703-1.725 1.722-3.656 1-1.261-.472-1.855-1.45-2.239-2.5",key:"v8hric"}]],EC=U("dog",gC);const yC=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],bC=U("dollar-sign",yC);const vC=[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]],CC=U("dumbbell",vC);const kC=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],AC=U("earth",kC);const BC=[["path",{d:"M12 2C8 2 4 8 4 14a8 8 0 0 0 16 0c0-6-4-12-8-12",key:"1le142"}]],wC=U("egg",BC);const DC=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],FC=U("external-link",DC);const SC=[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],MC=U("factory",SC);const NC=[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]],_C=U("feather",NC);const jC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],TC=U("file-code",jC);const zC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]],Q6=U("file-diff",zC);const RC=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],OC=U("file",RC);const LC=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],PC=U("film",LC);const GC=[["path",{d:"M6.5 12c.94-3.46 4.94-6 8.5-6 3.56 0 6.06 2.54 7 6-.94 3.47-3.44 6-7 6s-7.56-2.53-8.5-6Z",key:"15baut"}],["path",{d:"M18 12v.5",key:"18hhni"}],["path",{d:"M16 17.93a9.77 9.77 0 0 1 0-11.86",key:"16dt7o"}],["path",{d:"M7 10.67C7 8 5.58 5.97 2.73 5.5c-1 1.5-1 5 .23 6.5-1.24 1.5-1.24 5-.23 6.5C5.58 18.03 7 16 7 13.33",key:"l9di03"}],["path",{d:"M10.46 7.26C10.2 5.88 9.17 4.24 8 3h5.8a2 2 0 0 1 1.98 1.67l.23 1.4",key:"1kjonw"}],["path",{d:"m16.01 17.93-.23 1.4A2 2 0 0 1 13.8 21H9.5a5.96 5.96 0 0 0 1.49-3.98",key:"1zlm23"}]],HC=U("fish",GC);const VC=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],IC=U("flag",VC);const UC=[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],ZC=U("flame",UC);const $C=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],qC=U("flask-conical",$C);const QC=[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]],YC=U("folder-tree",QC);const KC=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],XC=U("folder",KC);const WC=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],JC=U("funnel",WC);const ek=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],tk=U("gamepad-2",ek);const nk=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],ak=U("gauge",nk);const rk=[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]],lk=U("gem",rk);const ik=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],sk=U("gift",ik);const ok=[["path",{d:"M6 3v12",key:"qpgusn"}],["path",{d:"M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"1d02ji"}],["path",{d:"M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"chk6ph"}],["path",{d:"M15 6a9 9 0 0 0-9 9",key:"or332x"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]],ck=U("git-branch-plus",ok);const uk=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],xk=U("git-branch",uk);const dk=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],Y6=U("git-fork",dk);const fk=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],K6=U("git-merge",fk);const hk=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],pk=U("github",hk);const mk=[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]],gk=U("glasses",mk);const Ek=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],yk=U("globe",Ek);const bk=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],vk=U("graduation-cap",bk);const Ck=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],kk=U("grid-3x3",Ck);const Ak=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]],Bk=U("hammer",Ak);const wk=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],Dk=U("headphones",wk);const Fk=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]],Sk=U("heart-pulse",Fk);const Mk=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],Nk=U("heart",Mk);const _k=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]],sx=U("hourglass",_k);const jk=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Tk=U("house",jk);const zk=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Rk=U("image",zk);const Ok=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Lk=U("info",Ok);const Pk=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],Gk=U("key",Pk);const Hk=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],Vk=U("laptop",Hk);const Ik=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],Uk=U("layers",Ik);const Zk=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],$k=U("layout-grid",Zk);const qk=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],Qk=U("leaf",qk);const Yk=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Kk=U("lightbulb",Yk);const Xk=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],Wk=U("link",Xk);const Jk=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],X6=U("list",Jk);const eA=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],_0=U("loader-circle",eA);const tA=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],nA=U("lock",tA);const aA=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],rA=U("log-out",aA);const lA=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],iA=U("mail",lA);const sA=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],oA=U("map-pin",sA);const cA=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],W6=U("map",cA);const uA=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M12 11v11",key:"ur9y6a"}],["path",{d:"m19 3-7 8-7-8Z",key:"1sgpiw"}]],xA=U("martini",uA);const dA=[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]],fA=U("medal",dA);const hA=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],pA=U("message-circle",hA);const mA=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],gA=U("message-square",mA);const EA=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33",key:"1gzdoj"}],["path",{d:"M16.95 16.95A7 7 0 0 1 5 12v-2",key:"cqa7eg"}],["path",{d:"M18.89 13.23A7 7 0 0 0 19 12v-2",key:"16hl24"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12",key:"r2i35w"}]],yA=U("mic-off",EA);const bA=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],J6=U("mic",bA);const vA=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],CA=U("microscope",vA);const kA=[["path",{d:"M5 12h14",key:"1ays0h"}]],AA=U("minus",kA);const BA=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],wA=U("monitor",BA);const DA=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],FA=U("moon",DA);const SA=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],MA=U("music",SA);const NA=[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]],_A=U("orbit",NA);const jA=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],TA=U("package",jA);const zA=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],RA=U("paintbrush",zA);const OA=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],LA=U("panel-left",OA);const PA=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],ox=U("paperclip",PA);const GA=[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]],HA=U("paw-print",GA);const VA=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],IA=U("pen",VA);const UA=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],ZA=U("pencil",UA);const $A=[["path",{d:"M13 2a9 9 0 0 1 9 9",key:"1itnx2"}],["path",{d:"M13 6a5 5 0 0 1 5 5",key:"11nki7"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],q1=U("phone-call",$A);const qA=[["path",{d:"M10.1 13.9a14 14 0 0 0 3.732 2.668 1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-12.728-5.272",key:"1wngk7"}],["path",{d:"M22 2 2 22",key:"y4kqgn"}],["path",{d:"M4.76 13.582A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 .244.473",key:"10hv5p"}]],QA=U("phone-off",qA);const YA=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],KA=U("phone",YA);const XA=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],WA=U("pill",XA);const JA=[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]],eB=U("pipette",JA);const tB=[["path",{d:"m12 14-1 1",key:"11onhr"}],["path",{d:"m13.75 18.25-1.25 1.42",key:"1yisr3"}],["path",{d:"M17.775 5.654a15.68 15.68 0 0 0-12.121 12.12",key:"1qtqk6"}],["path",{d:"M18.8 9.3a1 1 0 0 0 2.1 7.7",key:"fbbbr2"}],["path",{d:"M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z",key:"1hyfdd"}]],nB=U("pizza",tB);const aB=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],rB=U("plane",aB);const lB=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Eu=U("play",lB);const iB=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]],sB=U("plug",iB);const oB=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],cx=U("plus",oB);const cB=[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]],uB=U("power",cB);const xB=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],dB=U("puzzle",xB);const fB=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],e9=U("qr-code",fB);const hB=[["path",{d:"M13 16a3 3 0 0 1 2.24 5",key:"1epib5"}],["path",{d:"M18 12h.01",key:"yjnet6"}],["path",{d:"M18 21h-8a4 4 0 0 1-4-4 7 7 0 0 1 7-7h.2L9.6 6.4a1 1 0 1 1 2.8-2.8L15.8 7h.2c3.3 0 6 2.7 6 6v1a2 2 0 0 1-2 2h-1a3 3 0 0 0-3 3",key:"ue9ozu"}],["path",{d:"M20 8.54V4a2 2 0 1 0-4 0v3",key:"49iql8"}],["path",{d:"M7.612 12.524a3 3 0 1 0-1.6 4.3",key:"1e33i0"}]],pB=U("rabbit",hB);const mB=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],gB=U("radio",mB);const EB=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],os=U("refresh-cw",EB);const yB=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],bB=U("rocket",yB);const vB=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],t9=U("rotate-ccw",vB);const CB=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],kB=U("salad",CB);const AB=[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]],BB=U("ruler",AB);const wB=[["path",{d:"m13.5 6.5-3.148-3.148a1.205 1.205 0 0 0-1.704 0L6.352 5.648a1.205 1.205 0 0 0 0 1.704L9.5 10.5",key:"dzhfyz"}],["path",{d:"M16.5 7.5 19 5",key:"1ltcjm"}],["path",{d:"m17.5 10.5 3.148 3.148a1.205 1.205 0 0 1 0 1.704l-2.296 2.296a1.205 1.205 0 0 1-1.704 0L13.5 14.5",key:"nfoymv"}],["path",{d:"M9 21a6 6 0 0 0-6-6",key:"1iajcf"}],["path",{d:"M9.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l4.296-4.296a1.205 1.205 0 0 0 0-1.704l-2.296-2.296a1.205 1.205 0 0 0-1.704 0z",key:"nv9zqy"}]],DB=U("satellite",wB);const FB=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],SB=U("save",FB);const MB=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],NB=U("scissors",MB);const _B=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],n9=U("search",_B);const jB=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],TB=U("send",jB);const zB=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],RB=U("server",zB);const OB=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],LB=U("settings",OB);const PB=[["path",{d:"M14 11a2 2 0 1 1-4 0 4 4 0 0 1 8 0 6 6 0 0 1-12 0 8 8 0 0 1 16 0 10 10 0 1 1-20 0 11.93 11.93 0 0 1 2.42-7.22 2 2 0 1 1 3.16 2.44",key:"1cn552"}]],GB=U("shell",PB);const HB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],a9=U("shield-check",HB);const VB=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],IB=U("shield",VB);const UB=[["path",{d:"M12 10.189V14",key:"1p8cqu"}],["path",{d:"M12 2v3",key:"qbqxhf"}],["path",{d:"M19 13V7a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v6",key:"qpkstq"}],["path",{d:"M19.38 20A11.6 11.6 0 0 0 21 14l-8.188-3.639a2 2 0 0 0-1.624 0L3 14a11.6 11.6 0 0 0 2.81 7.76",key:"7tigtc"}],["path",{d:"M2 21c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1924j5"}]],ZB=U("ship",UB);const $B=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],qB=U("shopping-bag",$B);const QB=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],YB=U("shopping-cart",QB);const KB=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],XB=U("sliders-horizontal",KB);const WB=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],JB=U("smartphone",WB);const ew=[["path",{d:"M2 13a6 6 0 1 0 12 0 4 4 0 1 0-8 0 2 2 0 0 0 4 0",key:"hneq2s"}],["circle",{cx:"10",cy:"13",r:"8",key:"194lz3"}],["path",{d:"M2 21h12c4.4 0 8-3.6 8-8V7a2 2 0 1 0-4 0v6",key:"ixqyt7"}],["path",{d:"M18 3 19.1 5.2",key:"9tjm43"}],["path",{d:"M22 3 20.9 5.2",key:"j3odrs"}]],tw=U("snail",ew);const nw=[["path",{d:"m10 20-1.25-2.5L6 18",key:"18frcb"}],["path",{d:"M10 4 8.75 6.5 6 6",key:"7mghy3"}],["path",{d:"m14 20 1.25-2.5L18 18",key:"1chtki"}],["path",{d:"m14 4 1.25 2.5L18 6",key:"1b4wsy"}],["path",{d:"m17 21-3-6h-4",key:"15hhxa"}],["path",{d:"m17 3-3 6 1.5 3",key:"11697g"}],["path",{d:"M2 12h6.5L10 9",key:"kv9z4n"}],["path",{d:"m20 10-1.5 2 1.5 2",key:"1swlpi"}],["path",{d:"M22 12h-6.5L14 15",key:"1mxi28"}],["path",{d:"m4 10 1.5 2L4 14",key:"k9enpj"}],["path",{d:"m7 21 3-6-1.5-3",key:"j8hb9u"}],["path",{d:"m7 3 3 6h4",key:"1otusx"}]],aw=U("snowflake",nw);const rw=[["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M19.5 12 22 6",key:"shfsr5"}],["path",{d:"M16.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.73 1.62",key:"rpc6vp"}],["path",{d:"M11.25 3c.27.1.8.53.74 1.36-.05.83-.93 1.2-.98 2.02-.06.78.33 1.24.72 1.62",key:"1lf63m"}],["path",{d:"M6.25 3c.27.1.8.53.75 1.36-.06.83-.93 1.2-1 2.02-.05.78.34 1.24.74 1.62",key:"97tijn"}]],lw=U("soup",rw);const iw=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],sw=U("sparkles",iw);const ow=[["path",{d:"M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3",key:"139s4v"}],["path",{d:"M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4",key:"1dlkgp"}],["path",{d:"M5 21h14",key:"11awu3"}]],cw=U("sprout",ow);const uw=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],r9=U("square",uw);const xw=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],yu=U("star",xw);const dw=[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]],fw=U("stethoscope",dw);const hw=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],pw=U("store",hw);const mw=[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715",key:"xlf6rm"}],["path",{d:"M16 12a4 4 0 0 0-4-4",key:"6vsxu"}],["path",{d:"m19 5-1.256 1.256",key:"1yg6a6"}],["path",{d:"M20 12h2",key:"1q8mjw"}]],gw=U("sun-moon",mw);const Ew=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],l9=U("sun",Ew);const yw=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],bw=U("tag",yw);const vw=[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]],Cw=U("tags",vw);const kw=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Aw=U("target",kw);const Bw=[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]],ww=U("telescope",Bw);const Dw=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Fw=U("terminal",Dw);const Sw=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],Mw=U("ticket",Sw);const Nw=[["path",{d:"M8 3.1V7a4 4 0 0 0 8 0V3.1",key:"1v71zp"}],["path",{d:"m9 15-1-1",key:"1yrq24"}],["path",{d:"m15 15 1-1",key:"1t0d6s"}],["path",{d:"M9 19c-2.8 0-5-2.2-5-5v-4a8 8 0 0 1 16 0v4c0 2.8-2.2 5-5 5Z",key:"1p0hjs"}],["path",{d:"m8 19-2 3",key:"13i0xs"}],["path",{d:"m16 19 2 3",key:"xo31yx"}]],_w=U("train-front",Nw);const jw=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Tw=U("trash-2",jw);const zw=[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]],Rw=U("tree-pine",zw);const Ow=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Lw=U("trending-up",Ow);const Pw=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Lr=U("triangle-alert",Pw);const Gw=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],Hw=U("trophy",Gw);const Vw=[["path",{d:"m12 10 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a8 8 0 1 0-16 0v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3l2-4h4Z",key:"1lbbv7"}],["path",{d:"M4.82 7.9 8 10",key:"m9wose"}],["path",{d:"M15.18 7.9 12 10",key:"p8dp2u"}],["path",{d:"M16.93 10H20a2 2 0 0 1 0 4H2",key:"12nsm7"}]],Iw=U("turtle",Vw);const Uw=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Zw=U("user",Uw);const $w=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],qw=U("users",$w);const Qw=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],Yw=U("utensils",Qw);const Kw=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],Xw=U("video",Kw);const Ww=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],Jw=U("wallet",Ww);const eD=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],a4=U("wand-sparkles",eD);const tD=[["path",{d:"M18 21V10a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v11",key:"pb2vm6"}],["path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 1.132-1.803l7.95-3.974a2 2 0 0 1 1.837 0l7.948 3.974A2 2 0 0 1 22 8z",key:"doq5xv"}],["path",{d:"M6 13h12",key:"yf64js"}],["path",{d:"M6 17h12",key:"1jwigz"}]],nD=U("warehouse",tD);const aD=[["path",{d:"m10.586 5.414-5.172 5.172",key:"4mc350"}],["path",{d:"m18.586 13.414-5.172 5.172",key:"8c96vv"}],["path",{d:"M6 12h12",key:"8npq4p"}],["circle",{cx:"12",cy:"20",r:"2",key:"144qzu"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}],["circle",{cx:"20",cy:"12",r:"2",key:"1xzzfp"}],["circle",{cx:"4",cy:"12",r:"2",key:"1hvhnz"}]],rD=U("waypoints",aD);const lD=[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]],iD=U("wheat",lD);const sD=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],ux=U("wifi-off",sD);const oD=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],i9=U("wifi",oD);const cD=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]],uD=U("wine",cD);const xD=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],cs=U("workflow",xD);const dD=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],fD=U("wrench",dD);const hD=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],y0=U("x",hD);const pD=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],xx=U("zap",pD);function r4(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Lt(e,t){return{method:e,pattern:t,path:()=>t}}function it(e,t){const[a,l]=t.split(/:[a-zA-Z]+/);if(l===void 0)throw new Error(`route ${t} declares no :param`);return{method:e,pattern:t,path:s=>`${a}${encodeURIComponent(s)}${l}`,re:new RegExp(`^${r4(a)}([^/]+)${r4(l)}$`)}}const pe={state:Lt("GET","/api/state"),search:Lt("GET","/api/search"),repos:Lt("GET","/api/repos"),modelCatalog:Lt("GET","/api/models"),modelDefaults:Lt("GET","/api/models/defaults"),updateModelDefaults:Lt("PATCH","/api/models/defaults"),planUsage:Lt("GET","/api/usage"),voiceTicket:Lt("POST","/api/voice/ticket"),voiceCall:Lt("POST","/api/voice/calls"),voiceCallReady:it("POST","/api/voice/calls/:callId/ready"),voiceCallEnd:it("DELETE","/api/voice/calls/:callId"),repoIcon:it("GET","/api/repos/:repo/icon"),localImage:it("GET","/api/local-images/:path"),filePreview:it("GET","/api/files/:reference"),toolImage:it("GET","/api/tool-images/:reference"),stageAttachment:Lt("POST","/api/attachments"),discardStagedAttachment:it("DELETE","/api/attachments/:attachmentId"),logs:Lt("GET","/api/logs"),restartConductor:Lt("POST","/api/conductor/restart"),settings:Lt("GET","/api/settings"),updateSettings:Lt("PATCH","/api/settings"),prefs:Lt("GET","/api/prefs"),updatePrefs:Lt("PATCH","/api/prefs"),armNoSleep:Lt("POST","/api/nosleep"),disarmNoSleep:Lt("DELETE","/api/nosleep"),push:Lt("GET","/api/push"),pushSubscribe:Lt("POST","/api/push/subscribe"),pushUnsubscribe:Lt("POST","/api/push/unsubscribe"),pushTest:Lt("POST","/api/push/test"),roles:Lt("GET","/api/roles"),updateRoles:Lt("PATCH","/api/roles"),delegations:Lt("GET","/api/delegations"),dismissDelegation:it("DELETE","/api/delegations/:delegationId"),workflows:Lt("POST","/api/workflows"),workflow:it("DELETE","/api/workflows/:workflowId"),workflowDelegation:it("POST","/api/workflows/:workflowId/delegations"),workflowRetry:it("POST","/api/workflows/:workflowId/retry"),workflowAdopt:it("POST","/api/workflows/:workflowId/adopt"),workflowReplay:it("POST","/api/workflows/:workflowId/replay"),workflowComplete:it("POST","/api/workflows/:workflowId/complete"),confirmUiStable:Lt("POST","/api/ui-quarantine/confirm"),createWorkspace:Lt("POST","/api/workspaces"),workspace:it("GET","/api/workspaces/:workspaceId"),sessions:it("GET","/api/workspaces/:workspaceId/sessions"),newChat:it("POST","/api/workspaces/:workspaceId/sessions"),diff:it("GET","/api/workspaces/:workspaceId/diff"),fileDiff:it("GET","/api/workspaces/:workspaceId/diff/file"),workspaceFiles:it("GET","/api/workspaces/:workspaceId/files"),merge:it("POST","/api/workspaces/:workspaceId/merge"),continueWorkspace:it("POST","/api/workspaces/:workspaceId/continue"),workspaceStatus:it("POST","/api/workspaces/:workspaceId/status"),archiveWorkspace:it("POST","/api/workspaces/:workspaceId/archive"),devServer:it("GET","/api/workspaces/:workspaceId/dev-server"),startDevServer:it("POST","/api/workspaces/:workspaceId/dev-server"),stopDevServer:it("DELETE","/api/workspaces/:workspaceId/dev-server"),dismissFirstPrompt:it("DELETE","/api/workspaces/:workspaceId/prompt"),messages:it("GET","/api/sessions/:sessionId/messages"),context:it("GET","/api/sessions/:sessionId/context"),models:it("GET","/api/sessions/:sessionId/models"),defaultModel:it("POST","/api/sessions/:sessionId/default-model"),agent:it("POST","/api/sessions/:sessionId/agent"),stop:it("POST","/api/sessions/:sessionId/stop"),closeChat:it("DELETE","/api/sessions/:sessionId"),sendPrompt:it("POST","/api/sessions/:sessionId/prompt"),uploadAttachment:it("POST","/api/sessions/:sessionId/attachments"),splitChat:it("POST","/api/sessions/:sessionId/split"),delegateTask:it("POST","/api/sessions/:sessionId/delegate"),dismissParkedPrompt:it("DELETE","/api/sessions/:sessionId/prompt")};function mD(e){const t=/^(\d+)(s|m|h)?$/.exec(e.trim());if(!t)return null;const a=Number(t[1]),l=t[2]??"s",s=a*(l==="h"?3600:l==="m"?60:1);return Number.isSafeInteger(s)?s:null}const gD="## Workflow objective";function ED(e){const t=e??"",l=(t.includes("/")?t.slice(t.indexOf("/")+1):t).replace(/[-_]/g," ").trim();return l?l[0].toUpperCase()+l.slice(1):""}function Qn(e){return e.workspace_name||e.pr_title||ED(e.branch)||e.directory_name||e.id.slice(0,8)}function yD(e){return e.toLowerCase().match(/[\p{L}\p{N}_]+/gu)??[]}function W0(e){const t=/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}(?:\.\d+)?$/.test(e);return Date.parse(t?`${e.replace(" ","T")}Z`:e)}function Fl(e){return e.endsWith(" NEW")?e.slice(0,-4):e}function bu(e){return Fl(e).replace(/^opencode-/i,"")}function s9(e){return e?e.replace(/^claude-/,"").replace(/-\d{8}$/,"").replace(/-latest$/,""):""}const vu=e=>e.toLowerCase().replace(/[^a-z0-9]/g,""),l4=e=>vu(e.replace(/[\s\-_]\d+[mk]$/i,""));function bD(e){const t=[];for(const a of e){const l=t[t.length-1];l!==void 0&&/^\d+$/.test(a)&&/^\d[\d.]*$/.test(l)?t[t.length-1]=`${l}.${a}`:t.push(a)}return t}function vD(e){const t=bD(e.split("-")),a=l=>l?l.toLowerCase()==="1m"?"1M":l[0].toUpperCase()+l.slice(1):"";return t[0]==="gpt"&&t[1]?[t[1],...t.slice(2).map(a)].join(" "):/^(opus|sonnet|haiku|fable)$/.test(t[0]??"")?t.map(a).join(" "):e}function o9(e,t=[]){const a=s9(e);if(!a)return"";const l=a.split("/").pop()??a,s=l.split(":").pop()??l,o=vu(s);if(o){const c=t.find(f=>vu(f)===o);if(c)return c;const d=t.filter(f=>l4(f)===l4(s));if(d.length===1)return d[0]}return vD(s)}function c9(e){const t=Fl(e).trim().toLowerCase();if(t.startsWith("anthropic/"))return"Anthropic";if(t.startsWith("openai/"))return"OpenAI";if(t.startsWith("cursor/"))return"Cursor";if(/^(claude|fable|haiku|opus|sonnet)(?:[\s-]|$)/.test(t))return"Anthropic";if(/^(?:auto|gpt|o[1-9]|\d)(?:[\s.-]|$)/.test(t))return"OpenAI";if(/^(composer|grok)(?:[\s-]|$)/.test(t))return"Cursor";if(/^opencode(?:-go)?\//.test(t))return"OpenCode";const a=t.indexOf("/");return a>0?t.slice(0,a):"Other"}function jl(e){const t=c9(e);if(t==="Anthropic")return"claude";if(t==="OpenAI")return"codex";if(t==="Cursor")return"cursor";if(t==="OpenCode")return"acp"}function dx(e){return e==="claude"||e==="codex"}function fx(e){return e==="claude"||e==="codex"}function u9(e,t){const a=Fl(e);return t.some(l=>l.models.some(s=>Fl(s)===a))}function hx(e){let t=null;for(const a of e){if(!a.models.some(o=>Fl(o).trim())||a.snapshotAt===null)continue;const l=a.snapshotAt??a.updatedAt,s=t?t.snapshotAt??t.updatedAt:-1;(!t||l>=s)&&(t=a)}return t}function CD(e){const t=new Map;for(const a of e){const l=Fl(a).trim();if(!l)continue;const s=c9(l),o=t.get(s)??[];o.includes(l)||o.push(l),t.set(s,o)}return[...t].map(([a,l])=>({label:a,models:l.sort((s,o)=>s.localeCompare(o))})).sort((a,l)=>a.label.localeCompare(l.label))}function x9(e,t){if(typeof e=="string"&&e.trim())return e;if(e&&typeof e=="object"){const a=e.message;if(typeof a=="string"&&a.trim())return a}return t}const kD="",AD="",d9=["marin","cedar","alloy","ash","ballad","coral","echo","sage","shimmer","verse"],BD=["auto","no","en"];function wD(e){return typeof e=="string"&&d9.includes(e)}function DD(e){return typeof e=="string"&&BD.includes(e)}const i4=".context/attachments/";function FD(e){const t=[];let a=0;for(;a<e.length;){const l=e.indexOf("@⟦",a);if(l<0)break;const s=e.indexOf("⟧(",l+2);if(s<0||/[\r\n]/.test(e.slice(l,s))){a=l+2;continue}const o=e.slice(l+2,s),c=s+2;let d=c,f=!1;for(;!f&&(d=e.indexOf(")",d),!(d<0));){const h=e.slice(c,d);try{const m=decodeURIComponent(h),p=m.startsWith(i4)?m.slice(i4.length):"",y=p.indexOf("/"),b=y<0?"":p.slice(0,y),v=y<0?"":p.slice(y+1);if(/^[A-Za-z0-9]{6}$/.test(b)&&v===o&&!v.includes("/")){t.push({start:l,end:d+1,name:o,path:m}),a=d+1,f=!0;continue}}catch{}d+=1}f||(a=l+2)}return t}const SD=new Set([".bash",".c",".cc",".cpp",".css",".go",".h",".hpp",".html",".java",".js",".json",".jsx",".md",".mjs",".mts",".php",".py",".rb",".rs",".scss",".sh",".sql",".svg",".swift",".toml",".ts",".tsx",".txt",".yaml",".yml"]),MD=new Set([".avif",".gif",".jpeg",".jpg",".png",".webp"]);function f9(e){const t=e.slice(e.lastIndexOf("/")+1),a=t.lastIndexOf(".");return a===-1?null:t.slice(a).toLowerCase()}function px(e){const t=f9(e);return t!==null&&SD.has(t)}function h9(e){const t=f9(e);return t!==null&&MD.has(t)}function s4(e){return e.role==="tool"&&!e.tool&&e.output!==void 0}const ND="The Mac is locked";function Tr(e){return(e??"").includes(ND)}const _D="x-relay-device",Wi="conductor-remote-token";function jD(){const t=new URLSearchParams(location.hash.slice(1)).get("token");return t&&(localStorage.setItem(Wi,t),history.replaceState(null,"",location.pathname+location.search)),localStorage.getItem(Wi)}function mx(){return localStorage.getItem(Wi)}function TD(){localStorage.removeItem(Wi)}function zD(e){localStorage.setItem(Wi,e)}function RD(e){const t=e.trim();if(!t)return null;const a=t.match(/token=([^&\s]+)/);return a?decodeURIComponent(a[1]):/\s/.test(t)?null:t}class dn extends Error{constructor(t,a){super(t),this.status=a}status}const p9=6e3,It=45e3,OD=75e3,LD=75e3,o4=75e3,PD=75e3;async function Pe(e,t={},a=p9,l){const s=mx();let o;try{o=await fetch(e,{...t,signal:AbortSignal.timeout(a),headers:{authorization:`Bearer ${s??""}`,"content-type":"application/json","x-client-timeout-ms":String(a),...t.headers}})}catch(c){throw c instanceof DOMException&&c.name==="TimeoutError"?new dn("Request timed out",0):c}if(!o.ok){const c=await o.json().catch(()=>({}));throw new dn(x9(c.error,`HTTP ${o.status}`),o.status)}if(l!==void 0&&o.status!==l)throw new dn(`Expected HTTP ${l}, received ${o.status}`,o.status);return o.json()}async function c4(e,t){const a=mx();let l;try{l=await fetch(e,{method:"POST",body:t,signal:AbortSignal.timeout(It),headers:{authorization:`Bearer ${a??""}`,"content-type":t.type||"application/octet-stream","x-attachment-name":encodeURIComponent(t.name),"x-client-timeout-ms":String(It)}})}catch(s){throw s instanceof DOMException&&s.name==="TimeoutError"?new dn("Upload timed out",0):s}if(!l.ok){const s=await l.json().catch(()=>({}));throw new dn(x9(s.error,`HTTP ${l.status}`),l.status)}return l.json()}const M2=new Map;async function GD(e){const t=mx(),a=await fetch(e,{headers:{authorization:`Bearer ${t??""}`},signal:AbortSignal.timeout(p9)});if(!a.ok)throw new dn(`HTTP ${a.status}`,a.status);return URL.createObjectURL(await a.blob())}function N2(e){let t=M2.get(e);return t||(t=GD(e),t.catch(()=>M2.delete(e)),M2.set(e,t)),t}const we={state:()=>Pe(pe.state.path()),voiceTicket:()=>Pe(pe.voiceTicket.path(),{method:pe.voiceTicket.method}),voiceCall:(e,t,a)=>Pe(pe.voiceCall.path(),{method:pe.voiceCall.method,body:JSON.stringify({sdp:e,voice:t,language:a})},It),voiceCallReady:e=>Pe(pe.voiceCallReady.path(e),{method:pe.voiceCallReady.method},It),voiceCallEnd:e=>Pe(pe.voiceCallEnd.path(e),{method:pe.voiceCallEnd.method},It),repoIcon:e=>N2(pe.repoIcon.path(e)),localImage:e=>N2(pe.localImage.path(e)),toolImage:e=>N2(pe.toolImage.path(e)),filePreview:e=>Pe(pe.filePreview.path(e)),stageAttachment:e=>c4(pe.stageAttachment.path(),e),discardStagedAttachment:e=>Pe(pe.discardStagedAttachment.path(e),{method:pe.discardStagedAttachment.method}),workspace:e=>Pe(pe.workspace.path(e)),sessions:e=>Pe(pe.sessions.path(e)),messages:(e,t,a)=>Pe(`${pe.messages.path(e)}?after=${t}`,{headers:a?{[_D]:a}:{}}),contextBreakdown:e=>Pe(pe.context.path(e)),uploadAttachment:(e,t,a)=>c4(`${pe.uploadAttachment.path(e)}?workspaceId=${encodeURIComponent(t)}`,a),diff:e=>Pe(pe.diff.path(e)),fileDiff:(e,t)=>Pe(`${pe.fileDiff.path(e)}?path=${encodeURIComponent(t)}`),workspaceFiles:e=>Pe(pe.workspaceFiles.path(e)),sendPrompt:(e,t,a,l,s,o)=>Pe(pe.sendPrompt.path(e),{method:pe.sendPrompt.method,body:JSON.stringify({text:t,workspaceId:a,agent:l,clientId:s,queue:o})},LD),startWorkflow:e=>Pe(pe.workflows.path(),{method:pe.workflows.method,body:JSON.stringify(e)},It,202),retryWorkflow:(e,t)=>Pe(pe.workflowRetry.path(e),{method:pe.workflowRetry.method,body:JSON.stringify(t)},It),adoptWorkflow:(e,t)=>Pe(pe.workflowAdopt.path(e),{method:pe.workflowAdopt.method,body:JSON.stringify(t)},It),replayWorkflow:(e,t)=>Pe(pe.workflowReplay.path(e),{method:pe.workflowReplay.method,body:JSON.stringify(t)},It),completeWorkflow:(e,t)=>Pe(pe.workflowComplete.path(e),{method:pe.workflowComplete.method,body:JSON.stringify(t)},It),cancelWorkflow:(e,t)=>{const a=new URLSearchParams({clientId:t.clientId});return Pe(`${pe.workflow.path(e)}?${a}`,{method:pe.workflow.method},It)},confirmUiStable:e=>Pe(pe.confirmUiStable.path(),{method:pe.confirmUiStable.method,body:JSON.stringify(e)},It),stop:(e,t)=>Pe(pe.stop.path(e),{method:pe.stop.method,body:JSON.stringify({workspaceId:t})},It),closeChat:(e,t,a=!1)=>Pe(pe.closeChat.path(e),{method:pe.closeChat.method,body:JSON.stringify({workspaceId:t,closeRunning:a})},It),newChat:e=>Pe(pe.newChat.path(e),{method:pe.newChat.method},It),splitChat:(e,t,a,l,s,o,c="chat")=>Pe(pe.splitChat.path(e),{method:pe.splitChat.method,body:JSON.stringify({workspaceId:t,includeThinking:a,includeTools:l,throughRowid:s,onlyRowid:o,destination:c})},It),repos:()=>Pe(pe.repos.path()),modelCatalog:()=>Pe(pe.modelCatalog.path()),modelDefaults:()=>Pe(pe.modelDefaults.path()),patchModelDefaults:e=>Pe(pe.updateModelDefaults.path(),{method:pe.updateModelDefaults.method,body:JSON.stringify(e)}),planUsage:(e=!1)=>Pe(`${pe.planUsage.path()}${e?"?refresh=1":""}`,{},15e3),roles:()=>Pe(pe.roles.path()),updateRoles:e=>Pe(pe.updateRoles.path(),{method:pe.updateRoles.method,body:JSON.stringify(e)}),delegations:e=>Pe(`${pe.delegations.path()}${e?`?workspaceId=${encodeURIComponent(e)}`:""}`),delegateTask:(e,t)=>Pe(pe.delegateTask.path(e),{method:pe.delegateTask.method,body:JSON.stringify(t)}),dismissDelegation:e=>Pe(pe.dismissDelegation.path(e),{method:pe.dismissDelegation.method}),search:(e,t=[],a=!0)=>{const l=new URLSearchParams({q:e});for(const s of t)l.append("repo",s);return a||l.set("archived","0"),Pe(`${pe.search.path()}?${l}`)},dismissPrompt:e=>Pe(pe.dismissFirstPrompt.path(e),{method:pe.dismissFirstPrompt.method}),dismissParked:e=>Pe(pe.dismissParkedPrompt.path(e),{method:pe.dismissParkedPrompt.method}),createWorkspace:e=>Pe(pe.createWorkspace.path(),{method:pe.createWorkspace.method,body:JSON.stringify(e)},It),setAgent:(e,t,a)=>Pe(pe.agent.path(e),{method:pe.agent.method,body:JSON.stringify({...t,workspaceId:a})},It),models:(e,t)=>Pe(`${pe.models.path(e)}?workspaceId=${encodeURIComponent(t)}`,{},It),setDefaultModel:(e,t,a)=>Pe(pe.defaultModel.path(e),{method:pe.defaultModel.method,body:JSON.stringify({model:t,workspaceId:a})},It),logs:(e,t=300)=>Pe(`${pe.logs.path()}?limit=${t}${e?`&file=${encodeURIComponent(e)}`:""}`),push:()=>Pe(pe.push.path()),pushSubscribe:(e,t)=>Pe(pe.pushSubscribe.path(),{method:pe.pushSubscribe.method,body:JSON.stringify({subscription:e,label:t})}),pushUnsubscribe:e=>Pe(pe.pushUnsubscribe.path(),{method:pe.pushUnsubscribe.method,body:JSON.stringify({endpoint:e})}),pushTest:e=>Pe(pe.pushTest.path(),{method:pe.pushTest.method,body:JSON.stringify({id:e})},It),merge:e=>Pe(pe.merge.path(e),{method:pe.merge.method},It),continueWorkspace:(e,t)=>Pe(pe.continueWorkspace.path(e),{method:pe.continueWorkspace.method,body:JSON.stringify({sessionId:t})},OD),setStatus:(e,t)=>Pe(pe.workspaceStatus.path(e),{method:pe.workspaceStatus.method,body:JSON.stringify({status:t})},It),archive:(e,t=!1)=>Pe(pe.archiveWorkspace.path(e),{method:pe.archiveWorkspace.method,body:JSON.stringify({stopAgents:t})},It),devServer:e=>Pe(pe.devServer.path(e)),startDevServer:(e,t)=>Pe(pe.startDevServer.path(e),{method:pe.startDevServer.method,body:t?JSON.stringify({runConfigId:t}):void 0},o4),stopDevServer:e=>Pe(pe.stopDevServer.path(e),{method:pe.stopDevServer.method},o4),settings:()=>Pe(pe.settings.path()),patchSettings:e=>Pe(pe.updateSettings.path(),{method:pe.updateSettings.method,body:JSON.stringify(e)}),prefs:()=>Pe(pe.prefs.path()),patchPrefs:(e,t=!1)=>Pe(pe.updatePrefs.path(),{method:pe.updatePrefs.method,body:JSON.stringify(e),keepalive:t}),armNoSleep:e=>Pe(pe.armNoSleep.path(),{method:pe.armNoSleep.method,body:JSON.stringify({seconds:e})},It),disarmNoSleep:()=>Pe(pe.disarmNoSleep.path(),{method:pe.disarmNoSleep.method},It),restartConductor:(e=!1)=>Pe(pe.restartConductor.path(),{method:pe.restartConductor.method,body:JSON.stringify({stopAgents:e})},PD)},Cu="conductor-remote-pending",ku="conductor-remote-workflow-attempts",xo=20,HD=1440*60*1e3;function m9(e,t){return t.kind==="new_workspace"?JSON.stringify(["new_workspace",t.repo,t.sendImmediately,e]):JSON.stringify(["existing_session",t.workspaceId,t.sessionId,e])}function VD(e){const t=e;return!!t&&typeof t.key=="string"&&typeof t.fingerprint=="string"&&typeof t.clientId=="string"&&typeof t.createdAt=="number"}function ID(){try{const e=JSON.parse(localStorage.getItem(ku)??"[]");return Array.isArray(e)?Object.fromEntries(e.filter(VD).slice(-xo).map(t=>[t.key,t])):{}}catch{return{}}}function u4(e){try{const t=Object.values(e).sort((a,l)=>a.createdAt-l.createdAt).slice(-xo);t.length?localStorage.setItem(ku,JSON.stringify(t)):localStorage.removeItem(ku)}catch{}}function g9(e,t=[],a=!1){let l=a;const s=new Set;for(const o of e){if(s.add(o.text.trim()),o.status==="error")return"failed";o.status==="sending"&&(l=!0)}for(const o of t)if(!s.has(o.text.trim())){if(o.status==="failed")return"failed";o.status==="waiting"&&(l=!0)}return l?"sending":null}const x4=e=>e.status==="sending"||!!e.interrupted;function d4(e,t){const a=e.text.trim(),l=t.trim();return e.workflow?l.endsWith(`${gD}
12
+
13
+ ${a}`):l===a}function UD(e){const t=e;return!!t&&typeof t.id=="string"&&typeof t.sessionId=="string"&&typeof t.workspaceId=="string"&&typeof t.text=="string"&&typeof t.createdAt=="number"&&(t.workflow===void 0||typeof t.workflow=="boolean")&&(t.status==="sending"||t.status==="error")}const ZD=e=>e.status==="sending"?{...e,status:"error",interrupted:!0,error:"Never confirmed — the app reloaded"}:e;function $D(){try{const e=JSON.parse(localStorage.getItem(Cu)??"[]");if(!Array.isArray(e))return[];const t=Date.now()-HD;return e.filter(UD).filter(a=>a.createdAt>t).slice(-xo).map(ZD)}catch{return[]}}function qD(e){try{const t=e.slice(-xo);t.length?localStorage.setItem(Cu,JSON.stringify(t)):localStorage.removeItem(Cu)}catch{}}const N1="conductor-remote-agent:",_1="conductor-remote-draft:",ya="new-workspace",f4="conductor-remote-read",E9=(e,t,a)=>(e[t]??"")<a;function QD(e,t){return(e.unread_sessions??[]).filter(a=>E9(t,a.id,a.at)).length}function YD(e,t){return!!e.unread_count&&E9(t,e.id,e.updated_at)}const h4="conductor-remote-prefs-v1";function Dn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function Au(e){const t=Dn(e);if(!t)return{};const a={};return typeof t.model=="string"&&(a.model=t.model),typeof t.effort=="string"&&(a.effort=t.effort),typeof t.plan=="boolean"&&(a.plan=t.plan),typeof t.fast=="boolean"&&(a.fast=t.fast),a}function Al(e){return Object.keys(e).length>0}function KD(e){const t=Dn(e);return!t||typeof t.name!="string"||typeof t.path!="string"||typeof t.token!="string"||!Number.isSafeInteger(Number(t.bytes))||Number(t.bytes)<0||t.stageId!==void 0&&typeof t.stageId!="string"?null:{name:t.name,path:t.path,bytes:Number(t.bytes),token:t.token,...t.stageId?{stageId:t.stageId}:{}}}function y9(e){if(!Array.isArray(e))return[];const t=new Set;return e.flatMap(a=>{const l=KD(a);return!l||t.has(l.path)?[]:(t.add(l.path),[l])})}function p4(e){const t=Dn(e);if(!t)return null;const a=Number(t.updatedAt);return!Number.isSafeInteger(a)||a<0?null:t.deleted===!0?{text:"",agent:{},attachments:[],updatedAt:a,deleted:!0}:typeof t.text!="string"?null:{text:t.text,agent:Au(t.agent),attachments:y9(t.attachments),updatedAt:a,deleted:!1}}function b9(e,t){return e.model===t.model&&e.effort===t.effort&&e.plan===t.plan&&e.fast===t.fast}function XD(e,t){return e.text===t.text&&e.updatedAt===t.updatedAt&&e.deleted===t.deleted&&b9(e.agent,t.agent)&&e.attachments.length===t.attachments.length&&e.attachments.every((a,l)=>{const s=t.attachments[l];return a.name===s?.name&&a.path===s.path&&a.bytes===s.bytes&&a.token===s.token&&a.stageId===s.stageId})}function vl(e,t,a,l){return e||Al(t)||a.length?{text:e,agent:{...t},attachments:y9(a),updatedAt:l,deleted:!1}:{text:"",agent:{},attachments:[],updatedAt:l,deleted:!0}}class WD{storage;prefs;clock;generation=0;touched=new Set;listeners=new Set;constructor(t){this.storage=t;const a=this.readRawDrafts(),l=this.readRawAgents(),s=this.readMetadata(),o=s?.drafts??{};if(this.clock=Math.max(Date.now(),...Object.values(o).map(c=>c.updatedAt)),s){const c={...o};for(const d of new Set([...Object.keys(o),...Object.keys(a),...Object.keys(l)])){const f=vl(a[d]??"",l[d]??{},[],o[d]?.updatedAt??0),h=o[d];!(h&&!h.deleted&&h.attachments.length>0&&!h.text&&!Al(h.agent)&&f.deleted)&&(!h||h.text!==f.text||h.deleted!==f.deleted||!b9(h.agent,f.agent))&&(c[d]=vl(f.text,f.agent,[],this.tick()),this.touched.add(d))}this.prefs={readMarks:this.readRawMarks(),drafts:c}}else{const c={};for(const d of new Set([...Object.keys(a),...Object.keys(l)]))c[d]=vl(a[d]??"",l[d]??{},[],0);this.prefs={readMarks:this.readRawMarks(),drafts:c}}this.persistAll()}snapshot(){return{readMarks:{...this.prefs.readMarks},drafts:Object.fromEntries(Object.entries(this.prefs.drafts).map(([t,a])=>[t,{...a,agent:{...a.agent},attachments:a.attachments.map(l=>({...l}))}]))}}project(){const t={},a={},l={};for(const[s,o]of Object.entries(this.prefs.drafts))o.deleted||(t[s]=o.text,Al(o.agent)&&(a[s]={...o.agent}),o.attachments.length&&(l[s]=o.attachments.map(c=>({...c}))));return{drafts:t,agentDrafts:a,draftAttachments:l,readMarks:{...this.prefs.readMarks}}}currentGeneration(){return this.generation}setDraft(t,a,l){return this.setLocal(t,a,l,this.prefs.drafts[t]?.attachments??[]),this.project()}setAgent(t,a,l){return this.setLocal(t,l,a,this.prefs.drafts[t]?.attachments??[]),this.project()}setAttachments(t,a,l,s){return this.setLocal(t,l,s,a),this.project()}setContent(t,a,l,s){return this.setLocal(t,a,l,s),this.project()}moveDraft(t,a){const l=this.prefs.drafts[t],s=this.prefs.drafts[a];return!l||l.deleted||t===a||s&&!s.deleted?this.project():(this.prefs.drafts[t]=vl("",{},[],this.tick()),this.prefs.drafts[a]=vl(l.text,l.agent,l.attachments,this.tick()),this.touched.add(t),this.touched.add(a),this.changed(),this.project())}markRead(t,a){return(this.prefs.readMarks[t]??"")>=a?this.project():(this.prefs.readMarks[t]=a,this.changed(),this.project())}merge(t,a){const l=Dn(Dn(t)?.drafts),s=this.cleanPrefs(t);for(const d of Object.values(s.drafts))this.clock=Math.max(this.clock,d.updatedAt);let o=!1,c=!1;for(const[d,f]of Object.entries(s.readMarks))(this.prefs.readMarks[d]??"")>=f||(this.prefs.readMarks[d]=f,o=!0);for(const[d,f]of Object.entries(this.prefs.readMarks))(s.readMarks[d]??"")<f&&(c=!0);for(const d of new Set([...Object.keys(this.prefs.drafts),...Object.keys(s.drafts)])){const f=this.prefs.drafts[d],h=s.drafts[d],m=Dn(l?.[d]);if(f&&h&&!h.deleted&&m&&!Object.hasOwn(m,"attachments")&&(h.attachments=f.attachments.map(b=>({...b}))),!f&&h){this.prefs.drafts[d]=h,o=!0;continue}if(f&&!h){c=!0;continue}if(!(f&&h)||XD(f,h))continue;const p=a===d&&(this.touched.has(d)||!f.deleted&&(f.text.length>0||Al(f.agent)||f.attachments.length>0)),y=h.updatedAt>f.updatedAt||h.updatedAt===f.updatedAt&&(h.deleted||!f.deleted);if(y&&!p){this.prefs.drafts[d]=h,o=!0;continue}y&&(f.updatedAt=this.tick(h.updatedAt),o=!0),c=!0}return o&&this.persistAll(),{state:this.project(),needsUpload:c}}subscribe(t){return this.listeners.add(t),()=>this.listeners.delete(t)}requestFlush(){for(const t of this.listeners)t(!0)}setLocal(t,a,l,s){this.prefs.drafts[t]=vl(a,Au(l),s,this.tick()),this.touched.add(t),this.changed()}changed(){this.generation+=1,this.persistAll();for(const t of this.listeners)t(!1)}tick(t=0){return this.clock=Math.max(Date.now(),this.clock+1,t+1),this.clock}cleanPrefs(t){const a=Dn(t),l={};for(const[o,c]of Object.entries(Dn(a?.readMarks)??{}))typeof c=="string"&&(l[o]=c);const s={};for(const[o,c]of Object.entries(Dn(a?.drafts)??{})){const d=p4(c);d&&(s[o]=d)}return{readMarks:l,drafts:s}}readMetadata(){try{const t=Dn(JSON.parse(this.storage.getItem(h4)??"null"));if(t?.version!==1)return null;const a={};for(const[l,s]of Object.entries(Dn(t.drafts)??{})){const o=p4(s);o&&(a[l]=o)}return{drafts:a}}catch{return null}}readRawDrafts(){const t={};try{for(let a=0;a<this.storage.length;a++){const l=this.storage.key(a);if(!l?.startsWith(_1))continue;const s=this.storage.getItem(l);s&&(t[l.slice(_1.length)]=s)}}catch{}return t}readRawAgents(){const t={};try{for(let a=0;a<this.storage.length;a++){const l=this.storage.key(a);if(!l?.startsWith(N1))continue;const s=this.storage.getItem(l);if(!s)continue;const o=Au(JSON.parse(s));Al(o)&&(t[l.slice(N1.length)]=o)}}catch{}return t}readRawMarks(){try{const t=Dn(JSON.parse(this.storage.getItem(f4)??"{}"));return t?Object.fromEntries(Object.entries(t).filter(a=>typeof a[1]=="string")):{}}catch{return{}}}persistAll(){try{for(const[t,a]of Object.entries(this.prefs.drafts))!a.deleted&&a.text?this.storage.setItem(_1+t,a.text):this.storage.removeItem(_1+t),!a.deleted&&Al(a.agent)?this.storage.setItem(N1+t,JSON.stringify(a.agent)):this.storage.removeItem(N1+t);this.storage.setItem(f4,JSON.stringify(this.prefs.readMarks)),this.storage.setItem(h4,JSON.stringify({version:1,drafts:this.prefs.drafts}))}catch{}}}let _2=null;function _n(){return _2||(_2=new WD(localStorage)),_2}const JD=()=>_n().project(),eF=()=>_n().snapshot(),m4=()=>_n().currentGeneration(),tF=(e,t,a)=>_n().setDraft(e,t,a),g4=(e,t,a)=>_n().setAgent(e,t,a),E4=(e,t,a,l)=>_n().setAttachments(e,t,a,l),nF=(e,t,a,l)=>_n().setContent(e,t,a,l),aF=(e,t)=>_n().moveDraft(e,t),rF=(e,t)=>_n().markRead(e,t),lF=(e,t)=>_n().merge(e,t),iF=e=>_n().subscribe(e),Bu=()=>_n().requestFlush();function sF(){return/iP(hone|ad|od)/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function v9(){return window.matchMedia("(display-mode: standalone)").matches||navigator.standalone===!0}function C9(){return window.isSecureContext?"serviceWorker"in navigator?!("PushManager"in window)||!("Notification"in window)?sF()&&!v9()?"needs-install":"unsupported":"ok":"unsupported":"insecure"}function k9(){const e=navigator.userAgent,t=/iPhone/.test(e)?"iPhone":/iPad/.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?"iPad":/Android/.test(e)?"Android":/Mac OS X/.test(e)?"Mac":/Windows/.test(e)?"Windows":"Browser";return v9()?t:`${t} (browser)`}function oF(e){const t=e+"=".repeat((4-e.length%4)%4),a=atob(t.replace(/-/g,"+").replace(/_/g,"/")),l=new Uint8Array(a.length);for(let s=0;s<a.length;s++)l[s]=a.charCodeAt(s);return l}function cF(e){let t="";for(const a of new Uint8Array(e))t+=String.fromCharCode(a);return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function gx(){if(!("serviceWorker"in navigator))return null;const e=await navigator.serviceWorker.getRegistration();return e||Promise.race([navigator.serviceWorker.ready,new Promise(t=>setTimeout(()=>t(null),5e3))])}async function uF(e){const t=await gx();if(typeof t?.getNotifications=="function")try{for(const a of await t.getNotifications({tag:e}))a.close()}catch{}}async function A9(){return await(await gx())?.pushManager.getSubscription()??null}function xF(e,t){const a=e.options.applicationServerKey;return!!a&&cF(a)===t}async function B9(e){const t=await gx();if(!t)throw new Error("the app’s service worker isn’t running yet — reload and try again");return t.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:oF(e)})}function w9(e){const t=e.toJSON(),a=t.keys??{};if(!t.endpoint||!a.p256dh||!a.auth)throw new Error("the browser returned an incomplete subscription");return{endpoint:t.endpoint,keys:{p256dh:a.p256dh,auth:a.auth}}}async function dF(e){let t=await A9();if(t&&!xF(t,e)&&(await t.unsubscribe().catch(()=>{}),t=Notification.permission==="granted"?await B9(e):null),!t)return null;const a=await we.pushSubscribe(w9(t),k9());return{id:a.id??null,devices:a.devices.length}}function eo(){const e=window.getSelection();return!!e&&!e.isCollapsed&&e.toString().length>0}const j1=28;function fF(e,t){const a=window.getSelection();if(!a||a.isCollapsed||!a.rangeCount)return!1;for(const l of a.getRangeAt(0).getClientRects())if(e>=l.left-j1&&e<=l.right+j1&&t>=l.top-j1&&t<=l.bottom+j1)return!0;return!1}function hF(e,t){const a=t.filter(o=>s4(o)&&o.toolUseId);if(!a.length)return[...e,...t];const l=[...e,...t.filter(o=>!s4(o))],s=new Map;l.forEach((o,c)=>{o.tool&&o.toolUseId&&!s.has(o.toolUseId)&&s.set(o.toolUseId,c)});for(const o of a){const c=o.toolUseId?s.get(o.toolUseId):void 0;if(c===void 0){o.error&&l.push(o);continue}const d=l[c];l[c]={...d,output:o.output,diff:o.diff,images:o.images,error:o.error??d.error}}return l}function pF(e,t){if(!t.length)return[...e];const a=new Set(e.map(l=>l.id));return[...e,...t.filter(l=>!a.has(l.id))]}const y4=e=>{let t;const a=new Set,l=(h,m)=>{const p=typeof h=="function"?h(t):h;if(!Object.is(p,t)){const y=t;t=m??(typeof p!="object"||p===null)?p:Object.assign({},t,p),a.forEach(b=>b(t,y))}},s=()=>t,d={setState:l,getState:s,getInitialState:()=>f,subscribe:h=>(a.add(h),()=>a.delete(h))},f=t=e(l,s,d);return d},mF=(e=>e?y4(e):y4),gF=e=>e;function EF(e,t=gF){const a=S1.useSyncExternalStore(e.subscribe,S1.useCallback(()=>t(e.getState()),[e,t]),S1.useCallback(()=>t(e.getInitialState()),[e,t]));return S1.useDebugValue(a),a}const b4=e=>{const t=mF(e),a=l=>EF(t,l);return Object.assign(a,t),a},yF=(e=>e?b4(e):b4),bF=1e4;function vF(e,t=Date.now()){return Math.max(0,(e??t)+bF-t)}function CF({total:e,shown:t,hidden:a,repoFiltered:l}){if(e)return!l&&!a?`${e} active`:[`${t} of ${e}`,a?`${a} hidden`:null].filter(Boolean).join(" · ")}const Sl={mode:"all"};function kF(e,t){if(e&&typeof e=="object"&&"mode"in e){if(e.mode==="all")return Sl;if(e.mode==="selected"&&"repos"in e&&Array.isArray(e.repos))return{mode:"selected",repos:e.repos.filter(l=>typeof l=="string")}}const a=Array.isArray(t)?t.filter(l=>typeof l=="string"):typeof t=="string"?[t]:[];return a.length?{mode:"selected",repos:a}:Sl}function Ex(e){return e.mode==="selected"?e.repos:[]}function AF(){return{mode:"selected",repos:[]}}function wu(e,t){return e.mode==="all"||e.repos.includes(t)}function BF(e,t,a){const l=t.mode==="all"?[...e]:t.repos,s=l.includes(a)?l.filter(o=>o!==a):[...l,a];return e.length>0&&e.every(o=>s.includes(o))?Sl:{mode:"selected",repos:s}}let Cl=null;const T1=JD(),Du=15e3,D9="conductor-remote-view",F9="conductor-remote-last-new-workspace-repo",v4={groupBy:"status",repoSelection:Sl,sortBy:"updated",showDiffs:!0,showFolders:!0,hideMerged:!1,hideDone:!1,collapsed:[]};function C4(e){const t={};return e.model!==void 0&&(t.model=e.model),e.effort!==void 0&&(t.effort=e.effort),e.plan!==void 0&&(t.plan=e.plan),e.fast!==void 0&&(t.fast=e.fast),t}function wF(){try{const{repo:e,repos:t,repoSelection:a,...l}=JSON.parse(localStorage.getItem(D9)??"{}"),s=kF(a,t??e);return{...v4,...l,repoSelection:s}}catch{return v4}}function DF(){try{return localStorage.getItem(F9)??""}catch{return""}}const Ce=yF((e,t)=>{const a=s=>{localStorage.setItem(D9,JSON.stringify(s)),e({view:s})},l=s=>{qD(s),e({pending:s})};return{token:jD(),online:!0,lastSyncAt:null,update:null,workingHints:{},pending:$D(),workflowClientAttempts:ID(),drafts:T1.drafts,draftAttachments:T1.draftAttachments,agentDrafts:T1.agentDrafts,readMarks:T1.readMarks,focusedDraft:null,push:{deviceId:null,devices:0},sidebarOpen:!location.pathname.startsWith("/w/"),lastNewWorkspaceRepo:DF(),view:wF(),setToken:s=>{s?zD(s):TD(),e({token:s})},setOnline:s=>{if(s){Cl&&clearTimeout(Cl),Cl=null,e({online:s,lastSyncAt:Date.now()});return}if(!t().online||Cl)return;const o=vF(t().lastSyncAt);if(o===0){e({online:!1});return}Cl=setTimeout(()=>{Cl=null,e({online:!1})},o)},setUpdate:s=>e({update:s}),markWorking:s=>e({workingHints:{...t().workingHints,[s]:Date.now()}}),clearWorking:s=>{const{[s]:o,...c}=t().workingHints;e({workingHints:c})},addPending:s=>l([...t().pending.filter(o=>o.id!==s.id),{...s,status:"sending",error:void 0,createdAt:Date.now()}]),failPending:(s,o)=>l(t().pending.map(c=>c.id===s?{...c,status:"error",error:o}:c)),removePending:s=>l(t().pending.filter(o=>o.id!==s)),workflowClientId:(s,o)=>{const c=t().workflowClientAttempts[s];if(c?.fingerprint===o)return c.clientId;const d={...t().workflowClientAttempts,[s]:{key:s,fingerprint:o,clientId:crypto.randomUUID(),createdAt:Date.now()}};return u4(d),e({workflowClientAttempts:d}),d[s].clientId},finishWorkflowAttempt:(s,o)=>{const c=t().workflowClientAttempts[s];if(!c||c.clientId!==o)return;const{[s]:d,...f}=t().workflowClientAttempts;u4(f),e({workflowClientAttempts:f})},setDraft:(s,o)=>{const c=tF(s,o,t().agentDrafts[s]??{});e({drafts:c.drafts,agentDrafts:c.agentDrafts,draftAttachments:c.draftAttachments})},addDraftAttachment:(s,o)=>{const c=t().draftAttachments[s]??[];if(c.some(f=>f.path===o.path))return;const d=E4(s,[...c,o],t().drafts[s]??"",t().agentDrafts[s]??{});e({drafts:d.drafts,agentDrafts:d.agentDrafts,draftAttachments:d.draftAttachments})},removeDraftAttachment:(s,o)=>{const c=t().draftAttachments[s]??[],d=c.filter(h=>h.path!==o);if(d.length===c.length)return;const f=E4(s,d,t().drafts[s]??"",t().agentDrafts[s]??{});e({drafts:f.drafts,agentDrafts:f.agentDrafts,draftAttachments:f.draftAttachments})},clearDraftContent:s=>{const o=nF(s,"",t().agentDrafts[s]??{},[]);e({drafts:o.drafts,agentDrafts:o.agentDrafts,draftAttachments:o.draftAttachments})},moveDraft:(s,o)=>{const c=t().drafts,f=c[s]!==void 0||t().agentDrafts[s]!==void 0||t().draftAttachments[s]!==void 0,h=c[o]!==void 0||t().agentDrafts[o]!==void 0||t().draftAttachments[o]!==void 0;if(!f||s===o||h)return;const m=aF(s,o);e({drafts:m.drafts,agentDrafts:m.agentDrafts,draftAttachments:m.draftAttachments})},markRead:(s,o)=>{(t().readMarks[s]??"")>=o||e({readMarks:rF(s,o).readMarks})},stageAgent:(s,o)=>{const c=C4({...t().agentDrafts[s],...o}),d=g4(s,c,t().drafts[s]??"");e({drafts:d.drafts,agentDrafts:d.agentDrafts,draftAttachments:d.draftAttachments})},clearAgentDraft:(s,o)=>{const c=t().agentDrafts[s];if(!c)return;const d=C4({model:c.model===o.model?void 0:c.model,effort:c.effort===o.effort?void 0:c.effort,plan:c.plan===o.plan?void 0:c.plan,fast:c.fast===o.fast?void 0:c.fast}),f=g4(s,d,t().drafts[s]??"");e({drafts:f.drafts,agentDrafts:f.agentDrafts,draftAttachments:f.draftAttachments})},applySyncedPrefs:s=>e({drafts:s.drafts,agentDrafts:s.agentDrafts,draftAttachments:s.draftAttachments,readMarks:s.readMarks}),setFocusedDraft:s=>e({focusedDraft:s}),setPush:s=>e({push:s}),setSidebarOpen:s=>e({sidebarOpen:s}),setLastNewWorkspaceRepo:s=>{try{localStorage.setItem(F9,s)}catch{}e({lastNewWorkspaceRepo:s})},setView:s=>a({...t().view,...s}),toggleGroup:s=>{const{collapsed:o}=t().view;a({...t().view,collapsed:o.includes(s)?o.filter(c=>c!==s):[...o,s]})}}});function FF(e){const t=Ce(s=>s.setSidebarOpen),a=Ce(s=>s.sidebarOpen),l=w.useRef(a);l.current=a,w.useEffect(()=>{const s=e.current;s&&(s.style.transition="",s.style.transform="")},[a,e]),w.useEffect(()=>{const c=window.matchMedia("(min-width: 768px)"),d=()=>e.current;let f=!1,h=!1,m=!1,p=!1,y=0,b=0,v=0,k=0;const C=R=>{const O=d();O&&(O.style.transition="none",O.style.transform=`translateX(${R}px)`,k=R)},A=()=>{const R=d();R&&(R.style.transition="",R.style.transform="")},F=R=>{for(let O=R;O;O=O.parentElement)if(O.scrollLeft>0)return!0;return!1},M=()=>{f&&(f=!1,A())},N=R=>{if(M(),c.matches||R.touches.length!==1)return;const O=R.touches[0];if(l.current){const P=d()?.getBoundingClientRect().right??0;if(O.clientX>P)return}else if(O.clientX>44||F(R.target))return;fF(O.clientX,O.clientY)||(f=!0,h=!1,m=!1,p=eo(),y=O.clientX,b=O.clientY,v=d()?.offsetWidth??0)},S=R=>{if(!f||m)return;if(!p&&eo()){m=!0;return}const O=R.touches[0],P=O.clientX-y,T=O.clientY-b;if(!h){if(Math.abs(T)>Math.abs(P)&&Math.abs(T)>8){m=!0;return}if(Math.abs(P)<6)return;h=!0}R.preventDefault();const V=l.current?0:-v;C(Math.max(-v,Math.min(0,V+P)))},D=()=>{if(!f)return;if(f=!1,!h||m)return A();const R=v?(k+v)/v:0;A(),t(R>.4)};return window.addEventListener("touchstart",N,{passive:!0}),window.addEventListener("touchmove",S,{passive:!1}),window.addEventListener("touchend",D),window.addEventListener("touchcancel",D),document.addEventListener("visibilitychange",M),()=>{window.removeEventListener("touchstart",N),window.removeEventListener("touchmove",S),window.removeEventListener("touchend",D),window.removeEventListener("touchcancel",D),document.removeEventListener("visibilitychange",M)}},[e,t])}const k4='input, textarea, [contenteditable]:not([contenteditable="false"])';function SF(){w.useEffect(()=>{const e=window.visualViewport;if(!e)return;const t=document.documentElement;(matchMedia("(display-mode: standalone)").matches||navigator.standalone)&&t.setAttribute("data-standalone","");let a=0,l;const s=()=>{t.style.removeProperty("--app-height"),t.removeAttribute("data-keyboard")},o=m=>{m&&!l?l=setInterval(c,300):!m&&l&&(clearInterval(l),l=void 0)},c=()=>{const m=document.activeElement,p=m instanceof HTMLElement&&m.matches(k4),y=e.scale>1.01;!p||y?(!y&&window.innerHeight-e.height<120&&(a=e.height),s()):(a||window.innerHeight)-e.height>40?(t.style.setProperty("--app-height",`${Math.round(e.height+e.offsetTop)}px`),t.setAttribute("data-keyboard","")):s(),o(p||t.hasAttribute("data-keyboard")),window.scrollY!==0&&window.scrollTo(0,0)};let d;const f=()=>{c(),clearTimeout(d),d=setTimeout(c,350)},h=()=>{if(document.visibilityState==="hidden"){const m=document.activeElement;m instanceof HTMLElement&&m.matches(k4)&&m.blur(),s(),o(!1)}else f()};return c(),e.addEventListener("resize",c),e.addEventListener("scroll",c),window.addEventListener("pageshow",f),document.addEventListener("visibilitychange",h),document.addEventListener("focusin",f),document.addEventListener("focusout",f),()=>{clearTimeout(d),o(!1),e.removeEventListener("resize",c),e.removeEventListener("scroll",c),window.removeEventListener("pageshow",f),document.removeEventListener("visibilitychange",h),document.removeEventListener("focusin",f),document.removeEventListener("focusout",f),s()}},[])}function Tl(){const e=Ce(a=>a.setOnline),t=Ce(a=>a.setToken);return w.useCallback((a,l)=>{e(a),l instanceof dn&&l.status===401&&t(null)},[e,t])}function yx(){const e=Tl(),t=Ce(l=>l.setUpdate),a=h0({queryKey:["state"],queryFn:()=>we.state(),refetchInterval:2500});return w.useEffect(()=>{a.isSuccess&&(e(!0),t(a.data.update??null)),a.isError&&e(!1,a.error)},[a.isSuccess,a.isError,a.error,a.data,e,t]),a}function S9(e,t){e.setQueryData(["state"],a=>{if(!a)return a;const l=[...(a.workflows??[]).filter(o=>o.id!==t.id),t],s=a.workspaces.map(o=>o.id===t.workspaceId?{...o,workflow:t}:o);return{...a,workflows:l,workspaces:s}})}function M9(){const e=O0();return w.useCallback(async t=>{const a=await we.startWorkflow(t);return S9(e,a.workflow),e.invalidateQueries({queryKey:["state"]}),a},[e])}function MF(){const e=O0(),t=Ce(s=>s.workflowClientId),a=Ce(s=>s.finishWorkflowAttempt),l=w.useCallback(async(s,o)=>{const c=t(s,s),d=await o(c);return a(s,c),S9(e,d.workflow),e.invalidateQueries({queryKey:["state"]}),d.workflow},[e,t,a]);return w.useMemo(()=>({retry:s=>l(`retry:${s.id}:${s.adoption?.actionId??s.updatedAt}`,o=>we.retryWorkflow(s.id,{clientId:o})),adopt:(s,o)=>{const c=s.adoption?.actionId;return c?l(`adopt:${s.id}:${c}:${o.id}`,d=>we.adoptWorkflow(s.id,{clientId:d,actionId:c,...s.adoption?.kind==="workspace"?{workspaceId:o.id}:{sessionId:o.id}})):Promise.reject(new Error("This Workflow has no action to adopt."))},replay:s=>{const o=s.adoption?.actionId;return o?l(`replay:${s.id}:${o}`,c=>we.replayWorkflow(s.id,{clientId:c,actionId:o,confirmDuplicateRisk:!0})):Promise.reject(new Error("This Workflow has no ambiguous action to replay."))},complete:s=>l(`complete:${s.id}`,o=>we.completeWorkflow(s.id,{clientId:o})),cancel:s=>l(`cancel:${s.id}`,o=>we.cancelWorkflow(s.id,{clientId:o}))}),[l])}function A4(e){return JSON.stringify([e.createdAt,e.actionId??"",e.effectId??"",e.reason])}function NF(){const e=O0(),t=Ce(l=>l.workflowClientId),a=Ce(l=>l.finishWorkflowAttempt);return w.useCallback(async l=>{const s="confirm-ui-stable",o=A4(l),c=t(s,o),d=await we.confirmUiStable({clientId:c,confirmStable:!0,createdAt:l.createdAt,...l.actionId?{actionId:l.actionId}:{},...l.effectId?{effectId:l.effectId}:{}});return a(s,c),e.setQueryData(["state"],f=>!f?.uiQuarantine||A4(f.uiQuarantine)!==o?f:{...f,uiQuarantine:void 0}),e.invalidateQueries({queryKey:["state"]}),d},[e,t,a])}function _F(){const e=Tl();w.useEffect(()=>{let l=!0,s=!1,o=!1,c=!1,d=null;const f=k=>{const C=lF(k,Ce.getState().focusedDraft);Ce.getState().applySyncedPrefs(C.state),C.needsUpload&&m(!1)},h=async(k,C=!1)=>{if(!l)return;if(s){o||=k,c||=C;return}s=!0;const A=m4();try{const F=k?await we.patchPrefs(eF(),C):await we.prefs();if(!l)return;e(!0),f(F.prefs),m4()!==A&&m(!1)}catch(F){if(!l)return;F instanceof dn&&F.status===404||e(!1,F)}finally{if(s=!1,l&&o){const F=c;o=!1,c=!1,h(!0,F)}}};function m(k,C=!1){d&&clearTimeout(d),d=null,k?h(!0,C):d=setTimeout(()=>{h(!0)},700)}const p=iF(k=>m(k)),y=setInterval(()=>{h(!1)},15e3),b=()=>{document.visibilityState==="hidden"?m(!0,!0):h(!1)},v=()=>m(!0);return document.addEventListener("visibilitychange",b),window.addEventListener("online",v),h(!0),()=>{l=!1,d&&clearTimeout(d),clearInterval(y),p(),document.removeEventListener("visibilitychange",b),window.removeEventListener("online",v)}},[e])}function N9(){return h0({queryKey:["repos"],queryFn:()=>we.repos(),staleTime:6e4})}function jF(e,t){const[a,l]=w.useState(e);return w.useEffect(()=>{const s=setTimeout(()=>l(e),t);return()=>clearTimeout(s)},[e,t]),a}function TF(e,t=[],a=!0){const l=e.trim();return h0({queryKey:["search",l,t,a],queryFn:()=>we.search(l,t,a),enabled:l.length>=2,staleTime:3e4,placeholderData:Lg})}function zF(e,t){const a=Tl(),l=h0({queryKey:["workspace",e],queryFn:()=>we.workspace(e),enabled:t&&!!e,staleTime:Number.POSITIVE_INFINITY,retry:(s,o)=>!(o instanceof dn&&o.status===404)&&s<1});return w.useEffect(()=>{l.isError&&!(l.error instanceof dn&&l.error.status===404)&&a(!1,l.error)},[l.isError,l.error,a]),l}function _9(e,t=!0){const a=Tl(),l=h0({queryKey:["sessions",e],queryFn:()=>we.sessions(e),enabled:!!e,refetchInterval:t?2e3:!1});return w.useEffect(()=>{l.isError&&a(!1,l.error)},[l.isError,l.error,a]),l}function RF(e,t,a=!1){return h0({queryKey:["workspaceFiles",e],queryFn:()=>we.workspaceFiles(e),enabled:t&&!!e,staleTime:12e4,refetchInterval:a?5e3:!1,retry:!1})}function OF(e){return h0({queryKey:["dev-server",e],queryFn:()=>we.devServer(e),enabled:!!e,refetchInterval:2500})}function LF(e,t){const a=Tl(),l=h0({queryKey:["diff",e],queryFn:()=>we.diff(e),enabled:t&&!!e,refetchInterval:5e3});return w.useEffect(()=>{l.isError&&a(!1,l.error)},[l.isError,l.error,a]),l}function PF(e,t,a){return h0({queryKey:["fileDiff",e,t],queryFn:()=>we.fileDiff(e,t),enabled:a&&!!e&&!!t,refetchInterval:5e3,retry:!1})}function GF(e,t){return h0({queryKey:["filePreview",e],queryFn:()=>we.filePreview(e),enabled:t&&!!e,refetchInterval:5e3,retry:!1})}function HF(e){return h0({queryKey:["repoIcon",e],queryFn:()=>we.repoIcon(e),enabled:!!e,staleTime:Number.POSITIVE_INFINITY,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function VF(e,t){return h0({queryKey:["logs",e],queryFn:()=>we.logs(e),enabled:t,refetchInterval:3e3,retry:!1})}function fo(){return h0({queryKey:["model-catalog"],queryFn:we.modelCatalog,staleTime:6e4,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function j9(){return h0({queryKey:["model-defaults"],queryFn:we.modelDefaults,staleTime:0,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function IF(e){return h0({queryKey:["plan-usage"],queryFn:()=>we.planUsage(),enabled:e,staleTime:6e4,gcTime:Number.POSITIVE_INFINITY,retry:!1})}function T9(e,t=!0,a){return h0({queryKey:["context-breakdown",e,a??null],queryFn:()=>we.contextBreakdown(e),enabled:t&&!!e,staleTime:0,retry:!1})}function z9(e=!0){return h0({queryKey:["roles"],queryFn:we.roles,enabled:e,staleTime:3e4,retry:!1})}const j2=["planning","exploration","implementation"];function R9(e=!0){const t=z9(e),a=t.data?j2.find(o=>!t.data.roles[o]):void 0,l=t.data?.issues.find(o=>j2.some(c=>c===o.role)),s=t.isError?"Could not load delegated roles.":t.data?.warning??(a?`Workflow needs a configured ${a} role.`:l?.error.message);return{roles:t,planningRole:t.data?.roles.planning,problem:s,ready:j2.every(o=>!!t.data?.roles[o])&&!s}}function UF(e,t,a){const l=e?.agent_type??"claude",s=O0();return h0({queryKey:["models",l],queryFn:async()=>{const o=await we.models(e.id,t);if(!o.ok||!o.models?.length)throw new Error(o.error??"could not read the model list");return await s.invalidateQueries({queryKey:["model-catalog"]}),o},enabled:a&&!!e,staleTime:0,gcTime:Number.POSITIVE_INFINITY,retry:!1})}const ZF=(e,t)=>e.length===t.length&&e.every((a,l)=>a.id===t[l].id&&a.text===t[l].text);function $F(e,t=!0){const a=Tl(),[l,s]=w.useState({entries:[],queued:[],loading:!0,error:null}),o=w.useRef(0),c=Ce(h=>h.push.deviceId),d=w.useRef(c);return d.current=c,w.useEffect(()=>{if(!e){s({entries:[],queued:[],loading:!1,error:null});return}o.current=0,s({entries:[],queued:[],loading:!0,error:null});let h=!0,m=!1;const p=async()=>{if(!m){m=!0;try{const b=document.visibilityState==="visible"?d.current:null,{entries:v,queued:k=[],cursor:C}=await we.messages(e,o.current,b);if(!h)return;a(!0),o.current=C,s(A=>{const F=v.length?hF(A.entries,v):A.entries,M=ZF(A.queued,k);return F===A.entries&&M&&!A.loading&&!A.error?A:{entries:F,queued:M?A.queued:k,loading:!1,error:null}})}catch(b){if(!h)return;a(!1,b),s(v=>({...v,loading:!1,error:b instanceof Error?b.message:String(b)}))}finally{m=!1}}};p();const y=t?setInterval(p,1e3):void 0;return()=>{h=!1,y&&clearInterval(y)}},[e,t,a]),{entries:w.useMemo(()=>pF(l.entries,l.queued),[l.entries,l.queued]),loading:l.loading,error:l.error}}function O9(){const e=O0(),t=M9(),a=Ce(m=>m.addPending),l=Ce(m=>m.failPending),s=Ce(m=>m.removePending),o=Ce(m=>m.markWorking),c=Ce(m=>m.clearAgentDraft),d=Ce(m=>m.clearDraftContent),f=Ce(m=>m.workflowClientId),h=Ce(m=>m.finishWorkflowAttempt);return w.useCallback(async m=>{const p=m.text.trim();if(!p)return!1;const{sessionId:y,workspaceId:b}=m,v={kind:"existing_session",workspaceId:b,sessionId:y},k=`workflow:existing:${b}:${y}`,C=m.id??(m.workflow?f(k,m9(p,v)):crypto.randomUUID());a({id:C,sessionId:y,workspaceId:b,text:p,queue:m.queue,workflow:m.workflow});try{const A=Ce.getState().agentDrafts[y],F=!m.workflow&&A&&Object.keys(A).length?A:void 0;if(m.workflow){if(await t({clientId:C,objective:p,target:v}),d(y),h(k,C),A){const N=Object.fromEntries(Object.entries(A).filter(([S])=>S!=="plan"));Object.keys(N).length&&c(y,N)}return s(C),e.invalidateQueries({queryKey:["sessions",b]}),!0}const M=await we.sendPrompt(y,p,b,F,C,m.queue);if(M.ok||M.parked){const N=F;return N&&(c(y,N),e.invalidateQueries({queryKey:["sessions",b]})),M.ok&&o(y),e.invalidateQueries({queryKey:["state"]}),setTimeout(()=>s(C),4e3),!0}l(C,M.error||"Send failed")}catch(A){l(C,A instanceof Error?A.message:String(A))}return!1},[a,l,s,o,c,d,e,t,f,h])}function L9(e){return h0({queryKey:["push"],queryFn:()=>we.push(),enabled:e,staleTime:3e4})}function qF(){const[e]=w.useState(C9),t=Ce(s=>s.setPush),{data:a}=L9(e==="ok"),l=a?.publicKey;w.useEffect(()=>{if(e!=="ok"||!l)return;let s=!0;return dF(l).then(o=>{s&&t({deviceId:o?.id??null,devices:o?.devices??0})}).catch(()=>{}),()=>{s=!1}},[e,l,t])}function QF(){const[e]=w.useState(C9),[t,a]=w.useState(()=>"Notification"in window?Notification.permission:"unsupported"),[l,s]=w.useState(!1),[o,c]=w.useState(null),{deviceId:d,devices:f}=Ce(k=>k.push),h=Ce(k=>k.setPush),m=L9(e==="ok"),p=m.data?.publicKey,y=w.useCallback(async()=>{s(!0),c(null);try{const k=await Notification.requestPermission();if(a(k),k!=="granted"){c(k==="denied"?"Notifications are blocked for this app — allow them in your device settings, then try again.":"Notification permission wasn’t granted.");return}const C=p??(await we.push()).publicKey,A=await B9(C),F=await we.pushSubscribe(w9(A),k9());h({deviceId:F.id??null,devices:F.devices.length})}catch(k){c(k instanceof Error?k.message:String(k))}finally{s(!1)}},[p,h]),b=w.useCallback(async()=>{s(!0),c(null);try{const k=await A9();let C=0;k&&(C=(await we.pushUnsubscribe(k.endpoint).catch(()=>null))?.devices.length??0,await k.unsubscribe()),h({deviceId:null,devices:C})}catch(k){c(k instanceof Error?k.message:String(k))}finally{s(!1)}},[h]),v=w.useCallback(async()=>{if(d){s(!0),c(null);try{const k=await we.pushTest(d);k.ok||c(k.error??"The push service rejected it.")}catch(k){c(k instanceof Error?k.message:String(k))}finally{s(!1)}}},[d]);return{support:e,permission:t,enabled:!!d,relayDisabled:m.data?.enabled===!1,busy:l,error:o,devices:f,enable:y,disable:b,test:v}}const YF="push-route",B4="/__push-route",KF=12e4;async function w4(){if(!("caches"in window))return null;try{const e=await caches.open(YF),t=await e.match(B4);if(!t)return null;await e.delete(B4);const{url:a,ts:l}=await t.json();return typeof a!="string"||!a.startsWith("/")||typeof l!="number"||Date.now()-l>KF?null:a}catch{return null}}function XF(){const e=Or();w.useEffect(()=>{let t=!0;const a=()=>{w4().then(o=>{t&&o&&e(o)})},l=o=>{const c=o.data;c?.type==="push-navigate"&&typeof c.url=="string"&&c.url.startsWith("/")&&(w4(),e(c.url))},s=()=>{document.visibilityState==="visible"&&a()};return"serviceWorker"in navigator&&navigator.serviceWorker.addEventListener("message",l),document.addEventListener("visibilitychange",s),a(),()=>{t=!1,"serviceWorker"in navigator&&navigator.serviceWorker.removeEventListener("message",l),document.removeEventListener("visibilitychange",s)}},[e])}function WF(e,t){w.useEffect(()=>{if(!e)return;const a=()=>{document.visibilityState==="visible"&&uF(e)};return a(),document.addEventListener("visibilitychange",a),()=>document.removeEventListener("visibilitychange",a)},[e,t])}function P9(e){var t,a,l="";if(typeof e=="string"||typeof e=="number")l+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(a=P9(e[t]))&&(l&&(l+=" "),l+=a)}else for(a in e)e[a]&&(l&&(l+=" "),l+=a);return l}function JF(){for(var e,t,a=0,l="",s=arguments.length;a<s;a++)(e=arguments[a])&&(t=P9(e))&&(l&&(l+=" "),l+=t);return l}const eS=(e,t)=>{const a=new Array(e.length+t.length);for(let l=0;l<e.length;l++)a[l]=e[l];for(let l=0;l<t.length;l++)a[e.length+l]=t[l];return a},tS=(e,t)=>({classGroupId:e,validator:t}),G9=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),to="-",D4=[],nS="arbitrary..",aS=e=>{const t=lS(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:l}=e;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return rS(c);const d=c.split(to),f=d[0]===""&&d.length>1?1:0;return H9(d,f,t)},getConflictingClassGroupIds:(c,d)=>{if(d){const f=l[c],h=a[c];return f?h?eS(h,f):f:h||D4}return a[c]||D4}}},H9=(e,t,a)=>{if(e.length-t===0)return a.classGroupId;const s=e[t],o=a.nextPart.get(s);if(o){const h=H9(e,t+1,o);if(h)return h}const c=a.validators;if(c===null)return;const d=t===0?e.join(to):e.slice(t).join(to),f=c.length;for(let h=0;h<f;h++){const m=c[h];if(m.validator(d))return m.classGroupId}},rS=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),a=t.indexOf(":"),l=t.slice(0,a);return l?nS+l:void 0})(),lS=e=>{const{theme:t,classGroups:a}=e;return iS(a,t)},iS=(e,t)=>{const a=G9();for(const l in e){const s=e[l];bx(s,a,l,t)}return a},bx=(e,t,a,l)=>{const s=e.length;for(let o=0;o<s;o++){const c=e[o];sS(c,t,a,l)}},sS=(e,t,a,l)=>{if(typeof e=="string"){oS(e,t,a);return}if(typeof e=="function"){cS(e,t,a,l);return}uS(e,t,a,l)},oS=(e,t,a)=>{const l=e===""?t:V9(t,e);l.classGroupId=a},cS=(e,t,a,l)=>{if(xS(e)){bx(e(l),t,a,l);return}t.validators===null&&(t.validators=[]),t.validators.push(tS(a,e))},uS=(e,t,a,l)=>{const s=Object.entries(e),o=s.length;for(let c=0;c<o;c++){const[d,f]=s[c];bx(f,V9(t,d),a,l)}},V9=(e,t)=>{let a=e;const l=t.split(to),s=l.length;for(let o=0;o<s;o++){const c=l[o];let d=a.nextPart.get(c);d||(d=G9(),a.nextPart.set(c,d)),a=d}return a},xS=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,dS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=Object.create(null),l=Object.create(null);const s=(o,c)=>{a[o]=c,t++,t>e&&(t=0,l=a,a=Object.create(null))};return{get(o){let c=a[o];if(c!==void 0)return c;if((c=l[o])!==void 0)return s(o,c),c},set(o,c){o in a?a[o]=c:s(o,c)}}},Fu="!",F4=":",fS=[],S4=(e,t,a,l,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:l,isExternal:s}),hS=e=>{const{prefix:t,experimentalParseClassName:a}=e;let l=s=>{const o=[];let c=0,d=0,f=0,h;const m=s.length;for(let k=0;k<m;k++){const C=s[k];if(c===0&&d===0){if(C===F4){o.push(s.slice(f,k)),f=k+1;continue}if(C==="/"){h=k;continue}}C==="["?c++:C==="]"?c--:C==="("?d++:C===")"&&d--}const p=o.length===0?s:s.slice(f);let y=p,b=!1;p.endsWith(Fu)?(y=p.slice(0,-1),b=!0):p.startsWith(Fu)&&(y=p.slice(1),b=!0);const v=h&&h>f?h-f:void 0;return S4(o,b,y,v)};if(t){const s=t+F4,o=l;l=c=>c.startsWith(s)?o(c.slice(s.length)):S4(fS,!1,c,void 0,!0)}if(a){const s=l;l=o=>a({className:o,parseClassName:s})}return l},pS=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((a,l)=>{t.set(a,1e6+l)}),a=>{const l=[];let s=[];for(let o=0;o<a.length;o++){const c=a[o],d=c[0]==="[",f=t.has(c);d||f?(s.length>0&&(s.sort(),l.push(...s),s=[]),l.push(c)):s.push(c)}return s.length>0&&(s.sort(),l.push(...s)),l}},mS=e=>({cache:dS(e.cacheSize),parseClassName:hS(e),sortModifiers:pS(e),postfixLookupClassGroupIds:gS(e),...aS(e)}),gS=e=>{const t=Object.create(null),a=e.postfixLookupClassGroups;if(a)for(let l=0;l<a.length;l++)t[a[l]]=!0;return t},ES=/\s+/,yS=(e,t)=>{const{parseClassName:a,getClassGroupId:l,getConflictingClassGroupIds:s,sortModifiers:o,postfixLookupClassGroupIds:c}=t,d=[],f=e.trim().split(ES);let h="";for(let m=f.length-1;m>=0;m-=1){const p=f[m],{isExternal:y,modifiers:b,hasImportantModifier:v,baseClassName:k,maybePostfixModifierPosition:C}=a(p);if(y){h=p+(h.length>0?" "+h:h);continue}let A=!!C,F;if(A){const R=k.substring(0,C);F=l(R);const O=F&&c[F]?l(k):void 0;O&&O!==F&&(F=O,A=!1)}else F=l(k);if(!F){if(!A){h=p+(h.length>0?" "+h:h);continue}if(F=l(k),!F){h=p+(h.length>0?" "+h:h);continue}A=!1}const M=b.length===0?"":b.length===1?b[0]:o(b).join(":"),N=v?M+Fu:M,S=N+F;if(d.indexOf(S)>-1)continue;d.push(S);const D=s(F,A);for(let R=0;R<D.length;++R){const O=D[R];d.push(N+O)}h=p+(h.length>0?" "+h:h)}return h},bS=(...e)=>{let t=0,a,l,s="";for(;t<e.length;)(a=e[t++])&&(l=I9(a))&&(s&&(s+=" "),s+=l);return s},I9=e=>{if(typeof e=="string")return e;let t,a="";for(let l=0;l<e.length;l++)e[l]&&(t=I9(e[l]))&&(a&&(a+=" "),a+=t);return a},vS=(e,...t)=>{let a,l,s,o;const c=f=>{const h=t.reduce((m,p)=>p(m),e());return a=mS(h),l=a.cache.get,s=a.cache.set,o=d,d(f)},d=f=>{const h=l(f);if(h)return h;const m=yS(f,a);return s(f,m),m};return o=c,(...f)=>o(bS(...f))},CS=[],E0=e=>{const t=a=>a[e]||CS;return t.isThemeGetter=!0,t},U9=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Z9=/^\((?:(\w[\w-]*):)?(.+)\)$/i,kS=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,AS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,BS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,wS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,DS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,FS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,er=e=>kS.test(e),st=e=>!!e&&!Number.isNaN(Number(e)),$n=e=>!!e&&Number.isInteger(Number(e)),T2=e=>e.endsWith("%")&&st(e.slice(0,-1)),ba=e=>AS.test(e),$9=()=>!0,SS=e=>BS.test(e)&&!wS.test(e),vx=()=>!1,MS=e=>DS.test(e),NS=e=>FS.test(e),_S=e=>!je(e)&&!Te(e),jS=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),TS=e=>lr(e,Y9,vx),je=e=>U9.test(e),Dr=e=>lr(e,K9,SS),M4=e=>lr(e,VS,st),zS=e=>lr(e,W9,$9),RS=e=>lr(e,X9,vx),N4=e=>lr(e,q9,vx),OS=e=>lr(e,Q9,NS),z1=e=>lr(e,J9,MS),Te=e=>Z9.test(e),ji=e=>Pr(e,K9),LS=e=>Pr(e,X9),_4=e=>Pr(e,q9),PS=e=>Pr(e,Y9),GS=e=>Pr(e,Q9),R1=e=>Pr(e,J9,!0),HS=e=>Pr(e,W9,!0),lr=(e,t,a)=>{const l=U9.exec(e);return l?l[1]?t(l[1]):a(l[2]):!1},Pr=(e,t,a=!1)=>{const l=Z9.exec(e);return l?l[1]?t(l[1]):a:!1},q9=e=>e==="position"||e==="percentage",Q9=e=>e==="image"||e==="url",Y9=e=>e==="length"||e==="size"||e==="bg-size",K9=e=>e==="length",VS=e=>e==="number",X9=e=>e==="family-name",W9=e=>e==="number"||e==="weight",J9=e=>e==="shadow",IS=()=>{const e=E0("color"),t=E0("font"),a=E0("text"),l=E0("font-weight"),s=E0("tracking"),o=E0("leading"),c=E0("breakpoint"),d=E0("container"),f=E0("spacing"),h=E0("radius"),m=E0("shadow"),p=E0("inset-shadow"),y=E0("text-shadow"),b=E0("drop-shadow"),v=E0("blur"),k=E0("perspective"),C=E0("aspect"),A=E0("ease"),F=E0("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],S=()=>[...N(),Te,je],D=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],O=()=>[Te,je,f],P=()=>[er,"full","auto",...O()],T=()=>[$n,"none","subgrid",Te,je],V=()=>["auto",{span:["full",$n,Te,je]},$n,Te,je],Z=()=>[$n,"auto",Te,je],re=()=>["auto","min","max","fr",Te,je],ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Q=()=>["start","end","center","stretch","center-safe","end-safe"],G=()=>["auto",...O()],Y=()=>[er,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],le=()=>[er,"screen","full","dvw","lvw","svw","min","max","fit",...O()],xe=()=>[er,"screen","full","lh","dvh","lvh","svh","min","max","fit",...O()],j=()=>[e,Te,je],L=()=>[...N(),_4,N4,{position:[Te,je]}],$=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",PS,TS,{size:[Te,je]}],ie=()=>[T2,ji,Dr],be=()=>["","none","full",h,Te,je],X=()=>["",st,ji,Dr],me=()=>["solid","dashed","dotted","double"],He=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Be=()=>[st,T2,_4,N4],tt=()=>["","none",v,Te,je],ct=()=>["none",st,Te,je],De=()=>["none",st,Te,je],_t=()=>[st,Te,je],Fe=()=>[er,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ba],breakpoint:[ba],color:[$9],container:[ba],"drop-shadow":[ba],ease:["in","out","in-out"],font:[_S],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ba],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ba],shadow:[ba],spacing:["px",st],text:[ba],"text-shadow":[ba],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",er,je,Te,C]}],container:["container"],"container-type":[{"@container":["","normal","size",Te,je]}],"container-named":[jS],columns:[{columns:[st,je,Te,d]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:S()}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{"inset-s":P(),start:P()}],end:[{"inset-e":P(),end:P()}],"inset-bs":[{"inset-bs":P()}],"inset-be":[{"inset-be":P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[$n,"auto",Te,je]}],basis:[{basis:[er,"full","auto",d,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[st,er,"auto","initial","none",je]}],grow:[{grow:["",st,Te,je]}],shrink:[{shrink:["",st,Te,je]}],order:[{order:[$n,"first","last","none",Te,je]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":re()}],"auto-rows":[{"auto-rows":re()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...ee(),"normal"]}],"justify-items":[{"justify-items":[...Q(),"normal"]}],"justify-self":[{"justify-self":["auto",...Q()]}],"align-content":[{content:["normal",...ee()]}],"align-items":[{items:[...Q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Q(),{baseline:["","last"]}]}],"place-content":[{"place-content":ee()}],"place-items":[{"place-items":[...Q(),"baseline"]}],"place-self":[{"place-self":["auto",...Q()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pbs:[{pbs:O()}],pbe:[{pbe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:G()}],mx:[{mx:G()}],my:[{my:G()}],ms:[{ms:G()}],me:[{me:G()}],mbs:[{mbs:G()}],mbe:[{mbe:G()}],mt:[{mt:G()}],mr:[{mr:G()}],mb:[{mb:G()}],ml:[{ml:G()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],"inline-size":[{inline:["auto",...le()]}],"min-inline-size":[{"min-inline":["auto",...le()]}],"max-inline-size":[{"max-inline":["none",...le()]}],"block-size":[{block:["auto",...xe()]}],"min-block-size":[{"min-block":["auto",...xe()]}],"max-block-size":[{"max-block":["none",...xe()]}],w:[{w:[d,"screen",...Y()]}],"min-w":[{"min-w":[d,"screen","none",...Y()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[c]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",a,ji,Dr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[l,HS,zS]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",T2,je]}],"font-family":[{font:[LS,RS,t]}],"font-features":[{"font-features":[je]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,Te,je]}],"line-clamp":[{"line-clamp":[st,"none",Te,M4]}],leading:[{leading:[o,...O()]}],"list-image":[{"list-image":["none",Te,je]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Te,je]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[st,"from-font","auto",Te,Dr]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[st,"auto",Te,je]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"tab-size":[{tab:[$n,Te,je]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Te,je]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Te,je]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:$()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},$n,Te,je],radial:["",Te,je],conic:[$n,Te,je]},GS,OS]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:be()}],"rounded-s":[{"rounded-s":be()}],"rounded-e":[{"rounded-e":be()}],"rounded-t":[{"rounded-t":be()}],"rounded-r":[{"rounded-r":be()}],"rounded-b":[{"rounded-b":be()}],"rounded-l":[{"rounded-l":be()}],"rounded-ss":[{"rounded-ss":be()}],"rounded-se":[{"rounded-se":be()}],"rounded-ee":[{"rounded-ee":be()}],"rounded-es":[{"rounded-es":be()}],"rounded-tl":[{"rounded-tl":be()}],"rounded-tr":[{"rounded-tr":be()}],"rounded-br":[{"rounded-br":be()}],"rounded-bl":[{"rounded-bl":be()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-bs":[{"border-bs":j()}],"border-color-be":[{"border-be":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[st,Te,je]}],"outline-w":[{outline:["",st,ji,Dr]}],"outline-color":[{outline:j()}],shadow:[{shadow:["","none",m,R1,z1]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":["none",p,R1,z1]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[st,Dr]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":["none",y,R1,z1]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[st,Te,je]}],"mix-blend":[{"mix-blend":[...He(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":He()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[st]}],"mask-image-linear-from-pos":[{"mask-linear-from":Be()}],"mask-image-linear-to-pos":[{"mask-linear-to":Be()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":Be()}],"mask-image-t-to-pos":[{"mask-t-to":Be()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":Be()}],"mask-image-r-to-pos":[{"mask-r-to":Be()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":Be()}],"mask-image-b-to-pos":[{"mask-b-to":Be()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":Be()}],"mask-image-l-to-pos":[{"mask-l-to":Be()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":Be()}],"mask-image-x-to-pos":[{"mask-x-to":Be()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":Be()}],"mask-image-y-to-pos":[{"mask-y-to":Be()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[Te,je]}],"mask-image-radial-from-pos":[{"mask-radial-from":Be()}],"mask-image-radial-to-pos":[{"mask-radial-to":Be()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":N()}],"mask-image-conic-pos":[{"mask-conic":[st]}],"mask-image-conic-from-pos":[{"mask-conic-from":Be()}],"mask-image-conic-to-pos":[{"mask-conic-to":Be()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:$()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Te,je]}],filter:[{filter:["","none",Te,je]}],blur:[{blur:tt()}],brightness:[{brightness:[st,Te,je]}],contrast:[{contrast:[st,Te,je]}],"drop-shadow":[{"drop-shadow":["","none",b,R1,z1]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:["",st,Te,je]}],"hue-rotate":[{"hue-rotate":[st,Te,je]}],invert:[{invert:["",st,Te,je]}],saturate:[{saturate:[st,Te,je]}],sepia:[{sepia:["",st,Te,je]}],"backdrop-filter":[{"backdrop-filter":["","none",Te,je]}],"backdrop-blur":[{"backdrop-blur":tt()}],"backdrop-brightness":[{"backdrop-brightness":[st,Te,je]}],"backdrop-contrast":[{"backdrop-contrast":[st,Te,je]}],"backdrop-grayscale":[{"backdrop-grayscale":["",st,Te,je]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[st,Te,je]}],"backdrop-invert":[{"backdrop-invert":["",st,Te,je]}],"backdrop-opacity":[{"backdrop-opacity":[st,Te,je]}],"backdrop-saturate":[{"backdrop-saturate":[st,Te,je]}],"backdrop-sepia":[{"backdrop-sepia":["",st,Te,je]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Te,je]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[st,"initial",Te,je]}],ease:[{ease:["linear","initial",A,Te,je]}],delay:[{delay:[st,Te,je]}],animate:[{animate:["none",F,Te,je]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,Te,je]}],"perspective-origin":[{"perspective-origin":S()}],rotate:[{rotate:ct()}],"rotate-x":[{"rotate-x":ct()}],"rotate-y":[{"rotate-y":ct()}],"rotate-z":[{"rotate-z":ct()}],scale:[{scale:De()}],"scale-x":[{"scale-x":De()}],"scale-y":[{"scale-y":De()}],"scale-z":[{"scale-z":De()}],"scale-3d":["scale-3d"],skew:[{skew:_t()}],"skew-x":[{"skew-x":_t()}],"skew-y":[{"skew-y":_t()}],transform:[{transform:[Te,je,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Fe()}],"translate-x":[{"translate-x":Fe()}],"translate-y":[{"translate-y":Fe()}],"translate-z":[{"translate-z":Fe()}],"translate-none":["translate-none"],zoom:[{zoom:[$n,Te,je]}],accent:[{accent:j()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:j()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Te,je]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":j()}],"scrollbar-track-color":[{"scrollbar-track":j()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mbs":[{"scroll-mbs":O()}],"scroll-mbe":[{"scroll-mbe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pbs":[{"scroll-pbs":O()}],"scroll-pbe":[{"scroll-pbe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Te,je]}],fill:[{fill:["none",...j()]}],"stroke-w":[{stroke:[st,ji,Dr,M4]}],stroke:[{stroke:["none",...j()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},US=vS(IS);function he(...e){return US(JF(e))}const ZS="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eClaude%3c/title%3e%3cpath%20d='M4.709%2015.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0%2011.784l.055-.352.48-.321.686.06%201.52.103%202.278.158%201.652.097%202.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686%201.908%201.476%202.491%201.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97%202.97%200%2001-.104-.729L6.283.134%206.696%200l.996.134.42.364.62%201.414%201.002%202.229%201.555%203.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286%201.851-.559%202.903-.364%201.942h.212l.243-.242.985-1.306%201.652-2.064.73-.82.85-.904.547-.431h1.033l.76%201.129-.34%201.166-1.064%201.347-.881%201.142-1.264%201.7-.79%201.36.073.11.188-.02%202.856-.606%201.543-.28%201.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061%201.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093%201.068%202.006%201.81%202.509%202.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649%202.345%203.521.122%201.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674%207.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434%201.967-2.18%202.945-1.726%201.845-.414.164-.717-.37.067-.662.401-.589%202.388-3.036%201.44-1.882.93-1.086-.006-.158h-.055L4.132%2018.56l-1.13.146-.487-.456.061-.746.231-.243%201.908-1.312-.006.006z'%3e%3c/path%3e%3c/svg%3e",$S="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eCursor%3c/title%3e%3cpath%20d='M22.106%205.68L12.5.135a.998.998%200%2000-.998%200L1.893%205.68a.84.84%200%2000-.419.726v11.186c0%20.3.16.577.42.727l9.607%205.547a.999.999%200%2000.998%200l9.608-5.547a.84.84%200%2000.42-.727V6.407a.84.84%200%2000-.42-.726zm-.603%201.176L12.228%2022.92c-.063.108-.228.064-.228-.061V12.34a.59.59%200%2000-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264%200%20.428.286.296.514z'%3e%3c/path%3e%3c/svg%3e",qS="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenAI%3c/title%3e%3cpath%20d='M9.205%208.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357%201.356-.523%202.117-.523%202.854%200%204.662%202.212%204.662%204.566%200%20.167%200%20.357-.024.547l-4.71-2.759a.797.797%200%2000-.856%200l-5.97%203.473zm10.609%208.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473%201.95-1.118a.433.433%200%2001.476%200l4.543%202.617c1.309.76%202.189%202.378%202.189%203.948%200%201.808-1.07%203.473-2.76%204.163zM7.802%2012.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545%201.95-4.472%204.591-4.472%201%200%201.927.333%202.712.928L8.23%205.067c-.285.166-.428.404-.428.737v6.898zM12%2015.128l-2.795-1.57v-3.33L12%208.658l2.795%201.57v3.33L12%2015.128zm1.796%207.23c-1%200-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974%201.142c.167.095.238.238.238.428v5.233c0%202.545-1.974%204.472-4.614%204.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482%204.482%200%20014.21%206.327v5.423c0%20.333.143.571.428.738l5.947%203.449-1.95%201.118a.432.432%200%2001-.476%200zm-.262%203.9c-2.688%200-4.662-2.021-4.662-4.519%200-.19.024-.38.047-.57l4.686%202.71c.286.167.571.167.856%200l5.97-3.448v2.26c0%20.19-.07.333-.237.428l-4.543%202.616c-.619.357-1.356.523-2.117.523zm5.899%202.83a5.947%205.947%200%20005.827-4.756C22.287%2018.339%2024%2015.84%2024%2013.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498%200-3.401-2.759-5.947-5.946-5.947-.642%200-1.26.095-1.88.31A5.962%205.962%200%200010.205%200a5.947%205.947%200%2000-5.827%204.757C1.713%205.447%200%207.945%200%2010.49c0%201.666.713%203.283%201.998%204.448-.119.5-.19%201-.19%201.499%200%203.401%202.759%205.946%205.946%205.946.642%200%201.26-.095%201.88-.309a5.96%205.96%200%20004.162%201.713z'%3e%3c/path%3e%3c/svg%3e",QS="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20height='1em'%20style='flex:none;line-height:1'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eopencode%3c/title%3e%3cpath%20d='M16%206H8v12h8V6zm4%2016H4V2h16v20z'%3e%3c/path%3e%3c/svg%3e",Ji={none:"None",low:"Low",medium:"Medium",high:"High",xhigh:"Extra high",max:"Max",ultracode:"Ultracode"},_r=["low","medium","high","xhigh","max","ultracode"];function e7(e){return _r[(_r.indexOf(e??"")+1)%_r.length]}function us(e,t){const a=t?.toLowerCase()??"";if(/^(?:anthropic\/|claude|fable|haiku|opus|sonnet)/.test(a))return"claude";if(/^(?:openai\/|gpt|o[1-9]|\d)/.test(a))return"openai";if(/^(?:cursor\/|composer|grok)/.test(a))return"cursor";if(/^opencode(?:-go)?\//.test(a))return"opencode";const l=e?.toLowerCase();if(l==="claude"||l==="anthropic")return"claude";if(l==="codex"||l==="openai")return"openai";if(l==="cursor")return"cursor";if(l==="acp"||l==="opencode")return"opencode"}function Cx(e,t){return us(e,t)==="claude"}function kx(e,t){const a=us(e,t);return a==="claude"||a==="openai"}function Ax(e,t){const a=us(e,t);return a==="claude"||a==="openai"}function YS(e,t){const a=us(null,e),l=a==="claude"?t?.claude:a==="openai"?t?.codex:void 0;return l&&_r.includes(l)?l:void 0}function KS(e,t){const a=e7(e);if(!(a===t||!t&&e===_r.at(-1)))return a}const XS={claude:ZS,cursor:$S,openai:qS,opencode:QS},WS={claude:"#D97757",openai:"var(--color-provider-openai)"};function zl({agentType:e,model:t,className:a}){const l=us(e,t);if(!l)return x.jsx(U6,{"aria-hidden":"true",className:a});const s=XS[l];return x.jsx("span",{"aria-hidden":"true",className:he("inline-block shrink-0 bg-current",a),style:{color:WS[l],WebkitMaskImage:`url("${s}")`,maskImage:`url("${s}")`,WebkitMaskPosition:"center",maskPosition:"center",WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskSize:"contain",maskSize:"contain"}})}const JS=[5,7,9,11,13,15],eM={low:1,medium:2,high:3,xhigh:4,max:5,ultracode:6};function t7({effort:e,className:t}){const a=eM[e]??0;return x.jsx("span",{"aria-hidden":"true",className:he("flex h-[15px] shrink-0 items-end gap-[1.5px]",t),children:JS.map((l,s)=>x.jsx("span",{className:he("w-0.5 rounded-full bg-current transition-opacity",s<a?"opacity-100":"opacity-20"),style:{height:l}},l))})}var Yn=g6();function tM(e,t){const a=t||{};return(e[e.length-1]===""?[...e,""]:e).join((a.padRight?" ":"")+","+(a.padLeft===!1?"":" ")).trim()}const nM=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,aM=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,rM={};function j4(e,t){return(rM.jsx?aM:nM).test(e)}const lM=/[ \t\n\f\r]/g;function iM(e){return typeof e=="object"?e.type==="text"?T4(e.value):!1:T4(e)}function T4(e){return e.replace(lM,"")===""}class xs{constructor(t,a,l){this.normal=a,this.property=t,l&&(this.space=l)}}xs.prototype.normal={};xs.prototype.property={};xs.prototype.space=void 0;function n7(e,t){const a={},l={};for(const s of e)Object.assign(a,s.property),Object.assign(l,s.normal);return new xs(a,l,t)}function Su(e){return e.toLowerCase()}class J0{constructor(t,a){this.attribute=a,this.property=t}}J0.prototype.attribute="";J0.prototype.booleanish=!1;J0.prototype.boolean=!1;J0.prototype.commaOrSpaceSeparated=!1;J0.prototype.commaSeparated=!1;J0.prototype.defined=!1;J0.prototype.mustUseProperty=!1;J0.prototype.number=!1;J0.prototype.overloadedBoolean=!1;J0.prototype.property="";J0.prototype.spaceSeparated=!1;J0.prototype.space=void 0;let sM=0;const Xe=Gr(),f0=Gr(),Mu=Gr(),ve=Gr(),Gt=Gr(),jr=Gr(),un=Gr();function Gr(){return 2**++sM}const Nu=Object.freeze(Object.defineProperty({__proto__:null,boolean:Xe,booleanish:f0,commaOrSpaceSeparated:un,commaSeparated:jr,number:ve,overloadedBoolean:Mu,spaceSeparated:Gt},Symbol.toStringTag,{value:"Module"})),z2=Object.keys(Nu);class Bx extends J0{constructor(t,a,l,s){let o=-1;if(super(t,a),z4(this,"space",s),typeof l=="number")for(;++o<z2.length;){const c=z2[o];z4(this,z2[o],(l&Nu[c])===Nu[c])}}}Bx.prototype.defined=!0;function z4(e,t,a){a&&(e[t]=a)}function Rl(e){const t={},a={};for(const[l,s]of Object.entries(e.properties)){const o=new Bx(l,e.transform(e.attributes||{},l),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(o.mustUseProperty=!0),t[l]=o,a[Su(l)]=l,a[Su(o.attribute)]=l}return new xs(t,a,e.space)}const a7=Rl({properties:{ariaActiveDescendant:null,ariaAtomic:f0,ariaAutoComplete:null,ariaBusy:f0,ariaChecked:f0,ariaColCount:ve,ariaColIndex:ve,ariaColSpan:ve,ariaControls:Gt,ariaCurrent:null,ariaDescribedBy:Gt,ariaDetails:null,ariaDisabled:f0,ariaDropEffect:Gt,ariaErrorMessage:null,ariaExpanded:f0,ariaFlowTo:Gt,ariaGrabbed:f0,ariaHasPopup:null,ariaHidden:f0,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Gt,ariaLevel:ve,ariaLive:null,ariaModal:f0,ariaMultiLine:f0,ariaMultiSelectable:f0,ariaOrientation:null,ariaOwns:Gt,ariaPlaceholder:null,ariaPosInSet:ve,ariaPressed:f0,ariaReadOnly:f0,ariaRelevant:null,ariaRequired:f0,ariaRoleDescription:Gt,ariaRowCount:ve,ariaRowIndex:ve,ariaRowSpan:ve,ariaSelected:f0,ariaSetSize:ve,ariaSort:null,ariaValueMax:ve,ariaValueMin:ve,ariaValueNow:ve,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function r7(e,t){return t in e?e[t]:t}function l7(e,t){return r7(e,t.toLowerCase())}const oM=Rl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:jr,acceptCharset:Gt,accessKey:Gt,action:null,allow:null,allowFullScreen:Xe,allowPaymentRequest:Xe,allowUserMedia:Xe,alpha:Xe,alt:null,as:null,async:Xe,autoCapitalize:null,autoComplete:Gt,autoFocus:Xe,autoPlay:Xe,blocking:Gt,capture:null,charSet:null,checked:Xe,cite:null,className:Gt,closedBy:null,colorSpace:null,cols:ve,colSpan:ve,command:null,commandFor:null,content:null,contentEditable:f0,controls:Xe,controlsList:Gt,coords:ve|jr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Xe,defer:Xe,dir:null,dirName:null,disabled:Xe,download:Mu,draggable:f0,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Xe,formTarget:null,headers:Gt,height:ve,hidden:Mu,high:ve,href:null,hrefLang:null,htmlFor:Gt,httpEquiv:Gt,id:null,imageSizes:null,imageSrcSet:null,inert:Xe,inputMode:null,integrity:null,is:null,isMap:Xe,itemId:null,itemProp:Gt,itemRef:Gt,itemScope:Xe,itemType:Gt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Xe,low:ve,manifest:null,max:null,maxLength:ve,media:null,method:null,min:null,minLength:ve,multiple:Xe,muted:Xe,name:null,nonce:null,noModule:Xe,noValidate:Xe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Xe,optimum:ve,pattern:null,ping:Gt,placeholder:null,playsInline:Xe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Xe,referrerPolicy:null,rel:Gt,required:Xe,reversed:Xe,rows:ve,rowSpan:ve,sandbox:Gt,scope:null,scoped:Xe,seamless:Xe,selected:Xe,shadowRootClonable:Xe,shadowRootCustomElementRegistry:Xe,shadowRootDelegatesFocus:Xe,shadowRootMode:null,shadowRootSerializable:Xe,shape:null,size:ve,sizes:null,slot:null,span:ve,spellCheck:f0,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ve,step:null,style:null,tabIndex:ve,target:null,title:null,translate:null,type:null,typeMustMatch:Xe,useMap:null,value:f0,width:ve,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Gt,axis:null,background:null,bgColor:null,border:ve,borderColor:null,bottomMargin:ve,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Xe,declare:Xe,event:null,face:null,frame:null,frameBorder:null,hSpace:ve,leftMargin:ve,link:null,longDesc:null,lowSrc:null,marginHeight:ve,marginWidth:ve,noResize:Xe,noHref:Xe,noShade:Xe,noWrap:Xe,object:null,profile:null,prompt:null,rev:null,rightMargin:ve,rules:null,scheme:null,scrolling:f0,standby:null,summary:null,text:null,topMargin:ve,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ve,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Xe,disablePictureInPicture:Xe,disableRemotePlayback:Xe,exportParts:jr,part:Gt,prefix:null,property:null,results:ve,security:null,unselectable:null},space:"html",transform:l7}),cM=Rl({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:un,accentHeight:ve,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ve,amplitude:ve,arabicForm:null,ascent:ve,attributeName:null,attributeType:null,azimuth:ve,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ve,by:null,calcMode:null,capHeight:ve,className:Gt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ve,diffuseConstant:ve,direction:null,display:null,dur:null,divisor:ve,dominantBaseline:null,download:Xe,dx:null,dy:null,edgeMode:null,editable:null,elevation:ve,enableBackground:null,end:null,event:null,exponent:ve,externalResourcesRequired:null,fill:null,fillOpacity:ve,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:jr,g2:jr,glyphName:jr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ve,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ve,horizOriginX:ve,horizOriginY:ve,id:null,ideographic:ve,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ve,k:ve,k1:ve,k2:ve,k3:ve,k4:ve,kernelMatrix:un,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ve,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ve,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ve,overlineThickness:ve,paintOrder:null,panose1:null,path:null,pathLength:ve,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Gt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ve,pointsAtY:ve,pointsAtZ:ve,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:un,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:un,rev:un,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:un,requiredFeatures:un,requiredFonts:un,requiredFormats:un,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ve,specularExponent:ve,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ve,strikethroughThickness:ve,string:null,stroke:null,strokeDashArray:un,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ve,strokeOpacity:ve,strokeWidth:null,style:null,surfaceScale:ve,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:un,tabIndex:ve,tableValues:null,target:null,targetX:ve,targetY:ve,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:un,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ve,underlineThickness:ve,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ve,values:null,vAlphabetic:ve,vMathematical:ve,vectorEffect:null,vHanging:ve,vIdeographic:ve,version:null,vertAdvY:ve,vertOriginX:ve,vertOriginY:ve,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ve,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:r7}),i7=Rl({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),s7=Rl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:l7}),o7=Rl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),uM={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},xM=/[A-Z]/g,R4=/-[a-z]/g,dM=/^data[-\w.:]+$/i;function fM(e,t){const a=Su(t);let l=t,s=J0;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&a.slice(0,4)==="data"&&dM.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(R4,pM);l="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!R4.test(o)){let c=o.replace(xM,hM);c.charAt(0)!=="-"&&(c="-"+c),t="data"+c}}s=Bx}return new s(l,t)}function hM(e){return"-"+e.toLowerCase()}function pM(e){return e.charAt(1).toUpperCase()}const mM=n7([a7,oM,i7,s7,o7],"html"),wx=n7([a7,cM,i7,s7,o7],"svg");function gM(e){return e.join(" ").trim()}var kl={},R2,O4;function EM(){if(O4)return R2;O4=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,a=/^\s*/,l=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,d=/^\s+|\s+$/g,f=`
14
+ `,h="/",m="*",p="",y="comment",b="declaration";function v(C,A){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];A=A||{};var F=1,M=1;function N(ee){var Q=ee.match(t);Q&&(F+=Q.length);var G=ee.lastIndexOf(f);M=~G?ee.length-G:M+ee.length}function S(){var ee={line:F,column:M};return function(Q){return Q.position=new D(ee),P(),Q}}function D(ee){this.start=ee,this.end={line:F,column:M},this.source=A.source}D.prototype.content=C;function R(ee){var Q=new Error(A.source+":"+F+":"+M+": "+ee);if(Q.reason=ee,Q.filename=A.source,Q.line=F,Q.column=M,Q.source=C,!A.silent)throw Q}function O(ee){var Q=ee.exec(C);if(Q){var G=Q[0];return N(G),C=C.slice(G.length),Q}}function P(){O(a)}function T(ee){var Q;for(ee=ee||[];Q=V();)Q!==!1&&ee.push(Q);return ee}function V(){var ee=S();if(!(h!=C.charAt(0)||m!=C.charAt(1))){for(var Q=2;p!=C.charAt(Q)&&(m!=C.charAt(Q)||h!=C.charAt(Q+1));)++Q;if(Q+=2,p===C.charAt(Q-1))return R("End of comment missing");var G=C.slice(2,Q-2);return M+=2,N(G),C=C.slice(Q),M+=2,ee({type:y,comment:G})}}function Z(){var ee=S(),Q=O(l);if(Q){if(V(),!O(s))return R("property missing ':'");var G=O(o),Y=ee({type:b,property:k(Q[0].replace(e,p)),value:G?k(G[0].replace(e,p)):p});return O(c),Y}}function re(){var ee=[];T(ee);for(var Q;Q=Z();)Q!==!1&&(ee.push(Q),T(ee));return ee}return P(),re()}function k(C){return C?C.replace(d,p):p}return R2=v,R2}var L4;function yM(){if(L4)return kl;L4=1;var e=kl&&kl.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(kl,"__esModule",{value:!0}),kl.default=a;const t=e(EM());function a(l,s){let o=null;if(!l||typeof l!="string")return o;const c=(0,t.default)(l),d=typeof s=="function";return c.forEach(f=>{if(f.type!=="declaration")return;const{property:h,value:m}=f;d?s(h,m,f):m&&(o=o||{},o[h]=m)}),o}return kl}var Ti={},P4;function bM(){if(P4)return Ti;P4=1,Object.defineProperty(Ti,"__esModule",{value:!0}),Ti.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,a=/^[^-]+$/,l=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,o=function(h){return!h||a.test(h)||e.test(h)},c=function(h,m){return m.toUpperCase()},d=function(h,m){return"".concat(m,"-")},f=function(h,m){return m===void 0&&(m={}),o(h)?h:(h=h.toLowerCase(),m.reactCompat?h=h.replace(s,d):h=h.replace(l,d),h.replace(t,c))};return Ti.camelCase=f,Ti}var zi,G4;function vM(){if(G4)return zi;G4=1;var e=zi&&zi.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},t=e(yM()),a=bM();function l(s,o){var c={};return!s||typeof s!="string"||(0,t.default)(s,function(d,f){d&&f&&(c[(0,a.camelCase)(d,o)]=f)}),c}return l.default=l,zi=l,zi}var CM=vM();const kM=rs(CM),c7=u7("end"),Dx=u7("start");function u7(e){return t;function t(a){const l=a&&a.position&&a.position[e]||{};if(typeof l.line=="number"&&l.line>0&&typeof l.column=="number"&&l.column>0)return{line:l.line,column:l.column,offset:typeof l.offset=="number"&&l.offset>-1?l.offset:void 0}}}function AM(e){const t=Dx(e),a=c7(e);if(t&&a)return{start:t,end:a}}function Ui(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?H4(e.position):"start"in e||"end"in e?H4(e):"line"in e||"column"in e?_u(e):""}function _u(e){return V4(e&&e.line)+":"+V4(e&&e.column)}function H4(e){return _u(e&&e.start)+"-"+_u(e&&e.end)}function V4(e){return e&&typeof e=="number"?e:1}class L0 extends Error{constructor(t,a,l){super(),typeof a=="string"&&(l=a,a=void 0);let s="",o={},c=!1;if(a&&("line"in a&&"column"in a?o={place:a}:"start"in a&&"end"in a?o={place:a}:"type"in a?o={ancestors:[a],place:a.position}:o={...a}),typeof t=="string"?s=t:!o.cause&&t&&(c=!0,s=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof l=="string"){const f=l.indexOf(":");f===-1?o.ruleId=l:(o.source=l.slice(0,f),o.ruleId=l.slice(f+1))}if(!o.place&&o.ancestors&&o.ancestors){const f=o.ancestors[o.ancestors.length-1];f&&(o.place=f.position)}const d=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=d?d.line:void 0,this.name=Ui(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=c&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}L0.prototype.file="";L0.prototype.name="";L0.prototype.reason="";L0.prototype.message="";L0.prototype.stack="";L0.prototype.column=void 0;L0.prototype.line=void 0;L0.prototype.ancestors=void 0;L0.prototype.cause=void 0;L0.prototype.fatal=void 0;L0.prototype.place=void 0;L0.prototype.ruleId=void 0;L0.prototype.source=void 0;const Fx={}.hasOwnProperty,BM=new Map,wM=/[A-Z]/g,DM=new Set(["table","tbody","thead","tfoot","tr"]),FM=new Set(["td","th"]),x7="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function SM(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const a=t.filePath||void 0;let l;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");l=OM(a,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");l=RM(a,t.jsx,t.jsxs)}const s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:l,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?wx:mM,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=d7(s,e,void 0);return o&&typeof o!="string"?o:s.create(e,s.Fragment,{children:o||void 0},void 0)}function d7(e,t,a){if(t.type==="element")return MM(e,t,a);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return NM(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return jM(e,t,a);if(t.type==="mdxjsEsm")return _M(e,t);if(t.type==="root")return TM(e,t,a);if(t.type==="text")return zM(e,t)}function MM(e,t,a){const l=e.schema;let s=l;t.tagName.toLowerCase()==="svg"&&l.space==="html"&&(s=wx,e.schema=s),e.ancestors.push(t);const o=h7(e,t.tagName,!1),c=LM(e,t);let d=Mx(e,t);return DM.has(t.tagName)&&(d=d.filter(function(f){return typeof f=="string"?!iM(f):!0})),f7(e,c,o,t),Sx(c,d),e.ancestors.pop(),e.schema=l,e.create(t,o,c,a)}function NM(e,t){if(t.data&&t.data.estree&&e.evaluater){const l=t.data.estree.body[0];return l.type,e.evaluater.evaluateExpression(l.expression)}es(e,t.position)}function _M(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);es(e,t.position)}function jM(e,t,a){const l=e.schema;let s=l;t.name==="svg"&&l.space==="html"&&(s=wx,e.schema=s),e.ancestors.push(t);const o=t.name===null?e.Fragment:h7(e,t.name,!0),c=PM(e,t),d=Mx(e,t);return f7(e,c,o,t),Sx(c,d),e.ancestors.pop(),e.schema=l,e.create(t,o,c,a)}function TM(e,t,a){const l={};return Sx(l,Mx(e,t)),e.create(t,e.Fragment,l,a)}function zM(e,t){return t.value}function f7(e,t,a,l){typeof a!="string"&&a!==e.Fragment&&e.passNode&&(t.node=l)}function Sx(e,t){if(t.length>0){const a=t.length>1?t:t[0];a&&(e.children=a)}}function RM(e,t,a){return l;function l(s,o,c,d){const h=Array.isArray(c.children)?a:t;return d?h(o,c,d):h(o,c)}}function OM(e,t){return a;function a(l,s,o,c){const d=Array.isArray(o.children),f=Dx(l);return t(s,o,c,d,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function LM(e,t){const a={};let l,s;for(s in t.properties)if(s!=="children"&&Fx.call(t.properties,s)){const o=GM(e,s,t.properties[s]);if(o){const[c,d]=o;e.tableCellAlignToStyle&&c==="align"&&typeof d=="string"&&FM.has(t.tagName)?l=d:a[c]=d}}if(l){const o=a.style||(a.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=l}return a}function PM(e,t){const a={};for(const l of t.attributes)if(l.type==="mdxJsxExpressionAttribute")if(l.data&&l.data.estree&&e.evaluater){const o=l.data.estree.body[0];o.type;const c=o.expression;c.type;const d=c.properties[0];d.type,Object.assign(a,e.evaluater.evaluateExpression(d.argument))}else es(e,t.position);else{const s=l.name;let o;if(l.value&&typeof l.value=="object")if(l.value.data&&l.value.data.estree&&e.evaluater){const d=l.value.data.estree.body[0];d.type,o=e.evaluater.evaluateExpression(d.expression)}else es(e,t.position);else o=l.value===null?!0:l.value;a[s]=o}return a}function Mx(e,t){const a=[];let l=-1;const s=e.passKeys?new Map:BM;for(;++l<t.children.length;){const o=t.children[l];let c;if(e.passKeys){const f=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(f){const h=s.get(f)||0;c=f+"-"+h,s.set(f,h+1)}}const d=d7(e,o,c);d!==void 0&&a.push(d)}return a}function GM(e,t,a){const l=fM(e.schema,t);if(!(a==null||typeof a=="number"&&Number.isNaN(a))){if(Array.isArray(a)&&(a=l.commaSeparated?tM(a):gM(a)),l.property==="style"){let s=typeof a=="object"?a:HM(e,String(a));return e.stylePropertyNameCase==="css"&&(s=VM(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&l.space?uM[l.property]||l.property:l.attribute,a]}}function HM(e,t){try{return kM(t,{reactCompat:!0})}catch(a){if(e.ignoreInvalidStyle)return{};const l=a,s=new L0("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:l,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=x7+"#cannot-parse-style-attribute",s}}function h7(e,t,a){let l;if(!a)l={type:"Literal",value:t};else if(t.includes(".")){const s=t.split(".");let o=-1,c;for(;++o<s.length;){const d=j4(s[o])?{type:"Identifier",name:s[o]}:{type:"Literal",value:s[o]};c=c?{type:"MemberExpression",object:c,property:d,computed:!!(o&&d.type==="Literal"),optional:!1}:d}l=c}else l=j4(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(l.type==="Literal"){const s=l.value;return Fx.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(l);es(e)}function es(e,t){const a=new L0("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=x7+"#cannot-handle-mdx-estrees-without-createevaluater",a}function VM(e){const t={};let a;for(a in e)Fx.call(e,a)&&(t[IM(a)]=e[a]);return t}function IM(e){let t=e.replace(wM,UM);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function UM(e){return"-"+e.toLowerCase()}const O2={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},ZM={};function Nx(e,t){const a=ZM,l=typeof a.includeImageAlt=="boolean"?a.includeImageAlt:!0,s=typeof a.includeHtml=="boolean"?a.includeHtml:!0;return p7(e,l,s)}function p7(e,t,a){if($M(e)){if("value"in e)return e.type==="html"&&!a?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return I4(e.children,t,a)}return Array.isArray(e)?I4(e,t,a):""}function I4(e,t,a){const l=[];let s=-1;for(;++s<e.length;)l[s]=p7(e[s],t,a);return l.join("")}function $M(e){return!!(e&&typeof e=="object")}const U4=document.createElement("i");function _x(e){const t="&"+e+";";U4.innerHTML=t;const a=U4.textContent;return a.charCodeAt(a.length-1)===59&&e!=="semi"||a===t?!1:a}function fn(e,t,a,l){const s=e.length;let o=0,c;if(t<0?t=-t>s?0:s+t:t=t>s?s:t,a=a>0?a:0,l.length<1e4)c=Array.from(l),c.unshift(t,a),e.splice(...c);else for(a&&e.splice(t,a);o<l.length;)c=l.slice(o,o+1e4),c.unshift(t,0),e.splice(...c),o+=1e4,t+=1e4}function Fn(e,t){return e.length>0?(fn(e,e.length,0,t),e):t}const Z4={}.hasOwnProperty;function m7(e){const t={};let a=-1;for(;++a<e.length;)qM(t,e[a]);return t}function qM(e,t){let a;for(a in t){const s=(Z4.call(e,a)?e[a]:void 0)||(e[a]={}),o=t[a];let c;if(o)for(c in o){Z4.call(s,c)||(s[c]=[]);const d=o[c];QM(s[c],Array.isArray(d)?d:d?[d]:[])}}}function QM(e,t){let a=-1;const l=[];for(;++a<t.length;)(t[a].add==="after"?e:l).push(t[a]);fn(e,0,0,l)}function g7(e,t){const a=Number.parseInt(e,t);return a<9||a===11||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||(a&65535)===65535||(a&65535)===65534||a>1114111?"�":String.fromCodePoint(a)}function Pn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const H0=ir(/[A-Za-z]/),R0=ir(/[\dA-Za-z]/),YM=ir(/[#-'*+\--9=?A-Z^-~]/);function no(e){return e!==null&&(e<32||e===127)}const ju=ir(/\d/),KM=ir(/[\dA-Fa-f]/),XM=ir(/[!-/:-@[-`{-~]/);function $e(e){return e!==null&&e<-2}function Ht(e){return e!==null&&(e<0||e===32)}function dt(e){return e===-2||e===-1||e===32}const ho=ir(new RegExp("\\p{P}|\\p{S}","u")),zr=ir(/\s/);function ir(e){return t;function t(a){return a!==null&&a>-1&&e.test(String.fromCharCode(a))}}function Ol(e){const t=[];let a=-1,l=0,s=0;for(;++a<e.length;){const o=e.charCodeAt(a);let c="";if(o===37&&R0(e.charCodeAt(a+1))&&R0(e.charCodeAt(a+2)))s=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(c=String.fromCharCode(o));else if(o>55295&&o<57344){const d=e.charCodeAt(a+1);o<56320&&d>56319&&d<57344?(c=String.fromCharCode(o,d),s=1):c="�"}else c=String.fromCharCode(o);c&&(t.push(e.slice(l,a),encodeURIComponent(c)),l=a+s+1,c=""),s&&(a+=s,s=0)}return t.join("")+e.slice(l)}function gt(e,t,a,l){const s=l?l-1:Number.POSITIVE_INFINITY;let o=0;return c;function c(f){return dt(f)?(e.enter(a),d(f)):t(f)}function d(f){return dt(f)&&o++<s?(e.consume(f),d):(e.exit(a),t(f))}}const WM={tokenize:JM};function JM(e){const t=e.attempt(this.parser.constructs.contentInitial,l,s);let a;return t;function l(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),gt(e,t,"linePrefix")}function s(d){return e.enter("paragraph"),o(d)}function o(d){const f=e.enter("chunkText",{contentType:"text",previous:a});return a&&(a.next=f),a=f,c(d)}function c(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}return $e(d)?(e.consume(d),e.exit("chunkText"),o):(e.consume(d),c)}}const eN={tokenize:tN},$4={tokenize:nN};function tN(e){const t=this,a=[];let l=0,s,o,c;return d;function d(M){if(l<a.length){const N=a[l];return t.containerState=N[1],e.attempt(N[0].continuation,f,h)(M)}return h(M)}function f(M){if(l++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,s&&F();const N=t.events.length;let S=N,D;for(;S--;)if(t.events[S][0]==="exit"&&t.events[S][1].type==="chunkFlow"){D=t.events[S][1].end;break}A(l);let R=N;for(;R<t.events.length;)t.events[R][1].end={...D},R++;return fn(t.events,S+1,0,t.events.slice(N)),t.events.length=R,h(M)}return d(M)}function h(M){if(l===a.length){if(!s)return y(M);if(s.currentConstruct&&s.currentConstruct.concrete)return v(M);t.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return t.containerState={},e.check($4,m,p)(M)}function m(M){return s&&F(),A(l),y(M)}function p(M){return t.parser.lazy[t.now().line]=l!==a.length,c=t.now().offset,v(M)}function y(M){return t.containerState={},e.attempt($4,b,v)(M)}function b(M){return l++,a.push([t.currentConstruct,t.containerState]),y(M)}function v(M){if(M===null){s&&F(),A(0),e.consume(M);return}return s=s||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:o}),k(M)}function k(M){if(M===null){C(e.exit("chunkFlow"),!0),A(0),e.consume(M);return}return $e(M)?(e.consume(M),C(e.exit("chunkFlow")),l=0,t.interrupt=void 0,d):(e.consume(M),k)}function C(M,N){const S=t.sliceStream(M);if(N&&S.push(null),M.previous=o,o&&(o.next=M),o=M,s.defineSkip(M.start),s.write(S),t.parser.lazy[M.start.line]){let D=s.events.length;for(;D--;)if(s.events[D][1].start.offset<c&&(!s.events[D][1].end||s.events[D][1].end.offset>c))return;const R=t.events.length;let O=R,P,T;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){if(P){T=t.events[O][1].end;break}P=!0}for(A(l),D=R;D<t.events.length;)t.events[D][1].end={...T},D++;fn(t.events,O+1,0,t.events.slice(R)),t.events.length=D}}function A(M){let N=a.length;for(;N-- >M;){const S=a[N];t.containerState=S[1],S[0].exit.call(t,e)}a.length=M}function F(){s.write([null]),o=void 0,s=void 0,t.containerState._closeFlow=void 0}}function nN(e,t,a){return gt(e,e.attempt(this.parser.constructs.document,t,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ml(e){if(e===null||Ht(e)||zr(e))return 1;if(ho(e))return 2}function po(e,t,a){const l=[];let s=-1;for(;++s<e.length;){const o=e[s].resolveAll;o&&!l.includes(o)&&(t=o(t,a),l.push(o))}return t}const Tu={name:"attention",resolveAll:aN,tokenize:rN};function aN(e,t){let a=-1,l,s,o,c,d,f,h,m;for(;++a<e.length;)if(e[a][0]==="enter"&&e[a][1].type==="attentionSequence"&&e[a][1]._close){for(l=a;l--;)if(e[l][0]==="exit"&&e[l][1].type==="attentionSequence"&&e[l][1]._open&&t.sliceSerialize(e[l][1]).charCodeAt(0)===t.sliceSerialize(e[a][1]).charCodeAt(0)){if((e[l][1]._close||e[a][1]._open)&&(e[a][1].end.offset-e[a][1].start.offset)%3&&!((e[l][1].end.offset-e[l][1].start.offset+e[a][1].end.offset-e[a][1].start.offset)%3))continue;f=e[l][1].end.offset-e[l][1].start.offset>1&&e[a][1].end.offset-e[a][1].start.offset>1?2:1;const p={...e[l][1].end},y={...e[a][1].start};q4(p,-f),q4(y,f),c={type:f>1?"strongSequence":"emphasisSequence",start:p,end:{...e[l][1].end}},d={type:f>1?"strongSequence":"emphasisSequence",start:{...e[a][1].start},end:y},o={type:f>1?"strongText":"emphasisText",start:{...e[l][1].end},end:{...e[a][1].start}},s={type:f>1?"strong":"emphasis",start:{...c.start},end:{...d.end}},e[l][1].end={...c.start},e[a][1].start={...d.end},h=[],e[l][1].end.offset-e[l][1].start.offset&&(h=Fn(h,[["enter",e[l][1],t],["exit",e[l][1],t]])),h=Fn(h,[["enter",s,t],["enter",c,t],["exit",c,t],["enter",o,t]]),h=Fn(h,po(t.parser.constructs.insideSpan.null,e.slice(l+1,a),t)),h=Fn(h,[["exit",o,t],["enter",d,t],["exit",d,t],["exit",s,t]]),e[a][1].end.offset-e[a][1].start.offset?(m=2,h=Fn(h,[["enter",e[a][1],t],["exit",e[a][1],t]])):m=0,fn(e,l-1,a-l+3,h),a=l+h.length-m-2;break}}for(a=-1;++a<e.length;)e[a][1].type==="attentionSequence"&&(e[a][1].type="data");return e}function rN(e,t){const a=this.parser.constructs.attentionMarkers.null,l=this.previous,s=Ml(l);let o;return c;function c(f){return o=f,e.enter("attentionSequence"),d(f)}function d(f){if(f===o)return e.consume(f),d;const h=e.exit("attentionSequence"),m=Ml(f),p=!m||m===2&&s||a.includes(f),y=!s||s===2&&m||a.includes(l);return h._open=!!(o===42?p:p&&(s||!y)),h._close=!!(o===42?y:y&&(m||!p)),t(f)}}function q4(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const lN={name:"autolink",tokenize:iN};function iN(e,t,a){let l=0;return s;function s(b){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(b){return H0(b)?(e.consume(b),c):b===64?a(b):h(b)}function c(b){return b===43||b===45||b===46||R0(b)?(l=1,d(b)):h(b)}function d(b){return b===58?(e.consume(b),l=0,f):(b===43||b===45||b===46||R0(b))&&l++<32?(e.consume(b),d):(l=0,h(b))}function f(b){return b===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):b===null||b===32||b===60||no(b)?a(b):(e.consume(b),f)}function h(b){return b===64?(e.consume(b),m):YM(b)?(e.consume(b),h):a(b)}function m(b){return R0(b)?p(b):a(b)}function p(b){return b===46?(e.consume(b),l=0,m):b===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):y(b)}function y(b){if((b===45||R0(b))&&l++<63){const v=b===45?y:p;return e.consume(b),v}return a(b)}}const ds={partial:!0,tokenize:sN};function sN(e,t,a){return l;function l(o){return dt(o)?gt(e,s,"linePrefix")(o):s(o)}function s(o){return o===null||$e(o)?t(o):a(o)}}const E7={continuation:{tokenize:cN},exit:uN,name:"blockQuote",tokenize:oN};function oN(e,t,a){const l=this;return s;function s(c){if(c===62){const d=l.containerState;return d.open||(e.enter("blockQuote",{_container:!0}),d.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(c),e.exit("blockQuoteMarker"),o}return a(c)}function o(c){return dt(c)?(e.enter("blockQuotePrefixWhitespace"),e.consume(c),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(c))}}function cN(e,t,a){const l=this;return s;function s(c){return dt(c)?gt(e,o,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c):o(c)}function o(c){return e.attempt(E7,t,a)(c)}}function uN(e){e.exit("blockQuote")}const y7={name:"characterEscape",tokenize:xN};function xN(e,t,a){return l;function l(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),s}function s(o){return XM(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):a(o)}}const b7={name:"characterReference",tokenize:dN};function dN(e,t,a){const l=this;let s=0,o,c;return d;function d(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),f}function f(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),o=31,c=R0,m(p))}function h(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,c=KM,m):(e.enter("characterReferenceValue"),o=7,c=ju,m(p))}function m(p){if(p===59&&s){const y=e.exit("characterReferenceValue");return c===R0&&!_x(l.sliceSerialize(y))?a(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return c(p)&&s++<o?(e.consume(p),m):a(p)}}const Q4={partial:!0,tokenize:hN},Y4={concrete:!0,name:"codeFenced",tokenize:fN};function fN(e,t,a){const l=this,s={partial:!0,tokenize:S};let o=0,c=0,d;return f;function f(D){return h(D)}function h(D){const R=l.events[l.events.length-1];return o=R&&R[1].type==="linePrefix"?R[2].sliceSerialize(R[1],!0).length:0,d=D,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(D)}function m(D){return D===d?(c++,e.consume(D),m):c<3?a(D):(e.exit("codeFencedFenceSequence"),dt(D)?gt(e,p,"whitespace")(D):p(D))}function p(D){return D===null||$e(D)?(e.exit("codeFencedFence"),l.interrupt?t(D):e.check(Q4,k,N)(D)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),y(D))}function y(D){return D===null||$e(D)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(D)):dt(D)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),gt(e,b,"whitespace")(D)):D===96&&D===d?a(D):(e.consume(D),y)}function b(D){return D===null||$e(D)?p(D):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),v(D))}function v(D){return D===null||$e(D)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(D)):D===96&&D===d?a(D):(e.consume(D),v)}function k(D){return e.attempt(s,N,C)(D)}function C(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),A}function A(D){return o>0&&dt(D)?gt(e,F,"linePrefix",o+1)(D):F(D)}function F(D){return D===null||$e(D)?e.check(Q4,k,N)(D):(e.enter("codeFlowValue"),M(D))}function M(D){return D===null||$e(D)?(e.exit("codeFlowValue"),F(D)):(e.consume(D),M)}function N(D){return e.exit("codeFenced"),t(D)}function S(D,R,O){let P=0;return T;function T(Q){return D.enter("lineEnding"),D.consume(Q),D.exit("lineEnding"),V}function V(Q){return D.enter("codeFencedFence"),dt(Q)?gt(D,Z,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):Z(Q)}function Z(Q){return Q===d?(D.enter("codeFencedFenceSequence"),re(Q)):O(Q)}function re(Q){return Q===d?(P++,D.consume(Q),re):P>=c?(D.exit("codeFencedFenceSequence"),dt(Q)?gt(D,ee,"whitespace")(Q):ee(Q)):O(Q)}function ee(Q){return Q===null||$e(Q)?(D.exit("codeFencedFence"),R(Q)):O(Q)}}}function hN(e,t,a){const l=this;return s;function s(c){return c===null?a(c):(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),o)}function o(c){return l.parser.lazy[l.now().line]?a(c):t(c)}}const L2={name:"codeIndented",tokenize:mN},pN={partial:!0,tokenize:gN};function mN(e,t,a){const l=this;return s;function s(h){return e.enter("codeIndented"),gt(e,o,"linePrefix",5)(h)}function o(h){const m=l.events[l.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?c(h):a(h)}function c(h){return h===null?f(h):$e(h)?e.attempt(pN,c,f)(h):(e.enter("codeFlowValue"),d(h))}function d(h){return h===null||$e(h)?(e.exit("codeFlowValue"),c(h)):(e.consume(h),d)}function f(h){return e.exit("codeIndented"),t(h)}}function gN(e,t,a){const l=this;return s;function s(c){return l.parser.lazy[l.now().line]?a(c):$e(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),s):gt(e,o,"linePrefix",5)(c)}function o(c){const d=l.events[l.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(c):$e(c)?s(c):a(c)}}const EN={name:"codeText",previous:bN,resolve:yN,tokenize:vN};function yN(e){let t=e.length-4,a=3,l,s;if((e[a][1].type==="lineEnding"||e[a][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(l=a;++l<t;)if(e[l][1].type==="codeTextData"){e[a][1].type="codeTextPadding",e[t][1].type="codeTextPadding",a+=2,t-=2;break}}for(l=a-1,t++;++l<=t;)s===void 0?l!==t&&e[l][1].type!=="lineEnding"&&(s=l):(l===t||e[l][1].type==="lineEnding")&&(e[s][1].type="codeTextData",l!==s+2&&(e[s][1].end=e[l-1][1].end,e.splice(s+2,l-s-2),t-=l-s-2,l=s+2),s=void 0);return e}function bN(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function vN(e,t,a){let l=0,s,o;return c;function c(p){return e.enter("codeText"),e.enter("codeTextSequence"),d(p)}function d(p){return p===96?(e.consume(p),l++,d):(e.exit("codeTextSequence"),f(p))}function f(p){return p===null?a(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),f):p===96?(o=e.enter("codeTextSequence"),s=0,m(p)):$e(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(p))}function h(p){return p===null||p===32||p===96||$e(p)?(e.exit("codeTextData"),f(p)):(e.consume(p),h)}function m(p){return p===96?(e.consume(p),s++,m):s===l?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(o.type="codeTextData",h(p))}}class CN{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,a){const l=a??Number.POSITIVE_INFINITY;return l<this.left.length?this.left.slice(t,l):t>this.left.length?this.right.slice(this.right.length-l+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-l+this.left.length).reverse())}splice(t,a,l){const s=a||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return l&&Ri(this.left,l),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Ri(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ri(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const a=this.left.splice(t,Number.POSITIVE_INFINITY);Ri(this.right,a.reverse())}else{const a=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ri(this.left,a.reverse())}}}function Ri(e,t){let a=0;if(t.length<1e4)e.push(...t);else for(;a<t.length;)e.push(...t.slice(a,a+1e4)),a+=1e4}function v7(e){const t={};let a=-1,l,s,o,c,d,f,h;const m=new CN(e);for(;++a<m.length;){for(;a in t;)a=t[a];if(l=m.get(a),a&&l[1].type==="chunkFlow"&&m.get(a-1)[1].type==="listItemPrefix"&&(f=l[1]._tokenizer.events,o=0,o<f.length&&f[o][1].type==="lineEndingBlank"&&(o+=2),o<f.length&&f[o][1].type==="content"))for(;++o<f.length&&f[o][1].type!=="content";)f[o][1].type==="chunkText"&&(f[o][1]._isInFirstContentOfListItem=!0,o++);if(l[0]==="enter")l[1].contentType&&(Object.assign(t,kN(m,a)),a=t[a],h=!0);else if(l[1]._container){for(o=a,s=void 0;o--;)if(c=m.get(o),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank")c[0]==="enter"&&(s&&(m.get(s)[1].type="lineEndingBlank"),c[1].type="lineEnding",s=o);else if(!(c[1].type==="linePrefix"||c[1].type==="listItemIndent"))break;s&&(l[1].end={...m.get(s)[1].start},d=m.slice(s,a),d.unshift(l),m.splice(s,a-s+1,d))}}return fn(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!h}function kN(e,t){const a=e.get(t)[1],l=e.get(t)[2];let s=t-1;const o=[];let c=a._tokenizer;c||(c=l.parser[a.contentType](a.start),a._contentTypeTextTrailing&&(c._contentTypeTextTrailing=!0));const d=c.events,f=[],h={};let m,p,y=-1,b=a,v=0,k=0;const C=[k];for(;b;){for(;e.get(++s)[1]!==b;);o.push(s),b._tokenizer||(m=l.sliceStream(b),b.next||m.push(null),p&&c.defineSkip(b.start),b._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(m),b._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),p=b,b=b.next}for(b=a;++y<d.length;)d[y][0]==="exit"&&d[y-1][0]==="enter"&&d[y][1].type===d[y-1][1].type&&d[y][1].start.line!==d[y][1].end.line&&(k=y+1,C.push(k),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(c.events=[],b?(b._tokenizer=void 0,b.previous=void 0):C.pop(),y=C.length;y--;){const A=d.slice(C[y],C[y+1]),F=o.pop();f.push([F,F+A.length-1]),e.splice(F,2,A)}for(f.reverse(),y=-1;++y<f.length;)h[v+f[y][0]]=v+f[y][1],v+=f[y][1]-f[y][0]-1;return h}const AN={resolve:wN,tokenize:DN},BN={partial:!0,tokenize:FN};function wN(e){return v7(e),e}function DN(e,t){let a;return l;function l(d){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){return d===null?o(d):$e(d)?e.check(BN,c,o)(d):(e.consume(d),s)}function o(d){return e.exit("chunkContent"),e.exit("content"),t(d)}function c(d){return e.consume(d),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,s}}function FN(e,t,a){const l=this;return s;function s(c){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),gt(e,o,"linePrefix")}function o(c){if(c===null||$e(c))return a(c);const d=l.events[l.events.length-1];return!l.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(c):e.interrupt(l.parser.constructs.flow,a,t)(c)}}function C7(e,t,a,l,s,o,c,d,f){const h=f||Number.POSITIVE_INFINITY;let m=0;return p;function p(A){return A===60?(e.enter(l),e.enter(s),e.enter(o),e.consume(A),e.exit(o),y):A===null||A===32||A===41||no(A)?a(A):(e.enter(l),e.enter(c),e.enter(d),e.enter("chunkString",{contentType:"string"}),k(A))}function y(A){return A===62?(e.enter(o),e.consume(A),e.exit(o),e.exit(s),e.exit(l),t):(e.enter(d),e.enter("chunkString",{contentType:"string"}),b(A))}function b(A){return A===62?(e.exit("chunkString"),e.exit(d),y(A)):A===null||A===60||$e(A)?a(A):(e.consume(A),A===92?v:b)}function v(A){return A===60||A===62||A===92?(e.consume(A),b):b(A)}function k(A){return!m&&(A===null||A===41||Ht(A))?(e.exit("chunkString"),e.exit(d),e.exit(c),e.exit(l),t(A)):m<h&&A===40?(e.consume(A),m++,k):A===41?(e.consume(A),m--,k):A===null||A===32||A===40||no(A)?a(A):(e.consume(A),A===92?C:k)}function C(A){return A===40||A===41||A===92?(e.consume(A),k):k(A)}}function k7(e,t,a,l,s,o){const c=this;let d=0,f;return h;function h(b){return e.enter(l),e.enter(s),e.consume(b),e.exit(s),e.enter(o),m}function m(b){return d>999||b===null||b===91||b===93&&!f||b===94&&!d&&"_hiddenFootnoteSupport"in c.parser.constructs?a(b):b===93?(e.exit(o),e.enter(s),e.consume(b),e.exit(s),e.exit(l),t):$e(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===null||b===91||b===93||$e(b)||d++>999?(e.exit("chunkString"),m(b)):(e.consume(b),f||(f=!dt(b)),b===92?y:p)}function y(b){return b===91||b===92||b===93?(e.consume(b),d++,p):p(b)}}function A7(e,t,a,l,s,o){let c;return d;function d(y){return y===34||y===39||y===40?(e.enter(l),e.enter(s),e.consume(y),e.exit(s),c=y===40?41:y,f):a(y)}function f(y){return y===c?(e.enter(s),e.consume(y),e.exit(s),e.exit(l),t):(e.enter(o),h(y))}function h(y){return y===c?(e.exit(o),f(c)):y===null?a(y):$e(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),gt(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===c||y===null||$e(y)?(e.exit("chunkString"),h(y)):(e.consume(y),y===92?p:m)}function p(y){return y===c||y===92?(e.consume(y),m):m(y)}}function Zi(e,t){let a;return l;function l(s){return $e(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a=!0,l):dt(s)?gt(e,l,a?"linePrefix":"lineSuffix")(s):t(s)}}const SN={name:"definition",tokenize:NN},MN={partial:!0,tokenize:_N};function NN(e,t,a){const l=this;let s;return o;function o(b){return e.enter("definition"),c(b)}function c(b){return k7.call(l,e,d,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function d(b){return s=Pn(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)),b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),f):a(b)}function f(b){return Ht(b)?Zi(e,h)(b):h(b)}function h(b){return C7(e,m,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function m(b){return e.attempt(MN,p,p)(b)}function p(b){return dt(b)?gt(e,y,"whitespace")(b):y(b)}function y(b){return b===null||$e(b)?(e.exit("definition"),l.parser.defined.push(s),t(b)):a(b)}}function _N(e,t,a){return l;function l(d){return Ht(d)?Zi(e,s)(d):a(d)}function s(d){return A7(e,o,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function o(d){return dt(d)?gt(e,c,"whitespace")(d):c(d)}function c(d){return d===null||$e(d)?t(d):a(d)}}const jN={name:"hardBreakEscape",tokenize:TN};function TN(e,t,a){return l;function l(o){return e.enter("hardBreakEscape"),e.consume(o),s}function s(o){return $e(o)?(e.exit("hardBreakEscape"),t(o)):a(o)}}const zN={name:"headingAtx",resolve:RN,tokenize:ON};function RN(e,t){let a=e.length-2,l=3,s,o;return e[l][1].type==="whitespace"&&(l+=2),a-2>l&&e[a][1].type==="whitespace"&&(a-=2),e[a][1].type==="atxHeadingSequence"&&(l===a-1||a-4>l&&e[a-2][1].type==="whitespace")&&(a-=l+1===a?2:4),a>l&&(s={type:"atxHeadingText",start:e[l][1].start,end:e[a][1].end},o={type:"chunkText",start:e[l][1].start,end:e[a][1].end,contentType:"text"},fn(e,l,a-l+1,[["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t]])),e}function ON(e,t,a){let l=0;return s;function s(m){return e.enter("atxHeading"),o(m)}function o(m){return e.enter("atxHeadingSequence"),c(m)}function c(m){return m===35&&l++<6?(e.consume(m),c):m===null||Ht(m)?(e.exit("atxHeadingSequence"),d(m)):a(m)}function d(m){return m===35?(e.enter("atxHeadingSequence"),f(m)):m===null||$e(m)?(e.exit("atxHeading"),t(m)):dt(m)?gt(e,d,"whitespace")(m):(e.enter("atxHeadingText"),h(m))}function f(m){return m===35?(e.consume(m),f):(e.exit("atxHeadingSequence"),d(m))}function h(m){return m===null||m===35||Ht(m)?(e.exit("atxHeadingText"),d(m)):(e.consume(m),h)}}const LN=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],K4=["pre","script","style","textarea"],PN={concrete:!0,name:"htmlFlow",resolveTo:VN,tokenize:IN},GN={partial:!0,tokenize:ZN},HN={partial:!0,tokenize:UN};function VN(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function IN(e,t,a){const l=this;let s,o,c,d,f;return h;function h(z){return m(z)}function m(z){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(z),p}function p(z){return z===33?(e.consume(z),y):z===47?(e.consume(z),o=!0,k):z===63?(e.consume(z),s=3,l.interrupt?t:j):H0(z)?(e.consume(z),c=String.fromCharCode(z),C):a(z)}function y(z){return z===45?(e.consume(z),s=2,b):z===91?(e.consume(z),s=5,d=0,v):H0(z)?(e.consume(z),s=4,l.interrupt?t:j):a(z)}function b(z){return z===45?(e.consume(z),l.interrupt?t:j):a(z)}function v(z){const ie="CDATA[";return z===ie.charCodeAt(d++)?(e.consume(z),d===ie.length?l.interrupt?t:Z:v):a(z)}function k(z){return H0(z)?(e.consume(z),c=String.fromCharCode(z),C):a(z)}function C(z){if(z===null||z===47||z===62||Ht(z)){const ie=z===47,be=c.toLowerCase();return!ie&&!o&&K4.includes(be)?(s=1,l.interrupt?t(z):Z(z)):LN.includes(c.toLowerCase())?(s=6,ie?(e.consume(z),A):l.interrupt?t(z):Z(z)):(s=7,l.interrupt&&!l.parser.lazy[l.now().line]?a(z):o?F(z):M(z))}return z===45||R0(z)?(e.consume(z),c+=String.fromCharCode(z),C):a(z)}function A(z){return z===62?(e.consume(z),l.interrupt?t:Z):a(z)}function F(z){return dt(z)?(e.consume(z),F):T(z)}function M(z){return z===47?(e.consume(z),T):z===58||z===95||H0(z)?(e.consume(z),N):dt(z)?(e.consume(z),M):T(z)}function N(z){return z===45||z===46||z===58||z===95||R0(z)?(e.consume(z),N):S(z)}function S(z){return z===61?(e.consume(z),D):dt(z)?(e.consume(z),S):M(z)}function D(z){return z===null||z===60||z===61||z===62||z===96?a(z):z===34||z===39?(e.consume(z),f=z,R):dt(z)?(e.consume(z),D):O(z)}function R(z){return z===f?(e.consume(z),f=null,P):z===null||$e(z)?a(z):(e.consume(z),R)}function O(z){return z===null||z===34||z===39||z===47||z===60||z===61||z===62||z===96||Ht(z)?S(z):(e.consume(z),O)}function P(z){return z===47||z===62||dt(z)?M(z):a(z)}function T(z){return z===62?(e.consume(z),V):a(z)}function V(z){return z===null||$e(z)?Z(z):dt(z)?(e.consume(z),V):a(z)}function Z(z){return z===45&&s===2?(e.consume(z),G):z===60&&s===1?(e.consume(z),Y):z===62&&s===4?(e.consume(z),L):z===63&&s===3?(e.consume(z),j):z===93&&s===5?(e.consume(z),xe):$e(z)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(GN,$,re)(z)):z===null||$e(z)?(e.exit("htmlFlowData"),re(z)):(e.consume(z),Z)}function re(z){return e.check(HN,ee,$)(z)}function ee(z){return e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),Q}function Q(z){return z===null||$e(z)?re(z):(e.enter("htmlFlowData"),Z(z))}function G(z){return z===45?(e.consume(z),j):Z(z)}function Y(z){return z===47?(e.consume(z),c="",le):Z(z)}function le(z){if(z===62){const ie=c.toLowerCase();return K4.includes(ie)?(e.consume(z),L):Z(z)}return H0(z)&&c.length<8?(e.consume(z),c+=String.fromCharCode(z),le):Z(z)}function xe(z){return z===93?(e.consume(z),j):Z(z)}function j(z){return z===62?(e.consume(z),L):z===45&&s===2?(e.consume(z),j):Z(z)}function L(z){return z===null||$e(z)?(e.exit("htmlFlowData"),$(z)):(e.consume(z),L)}function $(z){return e.exit("htmlFlow"),t(z)}}function UN(e,t,a){const l=this;return s;function s(c){return $e(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),o):a(c)}function o(c){return l.parser.lazy[l.now().line]?a(c):t(c)}}function ZN(e,t,a){return l;function l(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(ds,t,a)}}const $N={name:"htmlText",tokenize:qN};function qN(e,t,a){const l=this;let s,o,c;return d;function d(j){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(j),f}function f(j){return j===33?(e.consume(j),h):j===47?(e.consume(j),S):j===63?(e.consume(j),M):H0(j)?(e.consume(j),O):a(j)}function h(j){return j===45?(e.consume(j),m):j===91?(e.consume(j),o=0,v):H0(j)?(e.consume(j),F):a(j)}function m(j){return j===45?(e.consume(j),b):a(j)}function p(j){return j===null?a(j):j===45?(e.consume(j),y):$e(j)?(c=p,Y(j)):(e.consume(j),p)}function y(j){return j===45?(e.consume(j),b):p(j)}function b(j){return j===62?G(j):j===45?y(j):p(j)}function v(j){const L="CDATA[";return j===L.charCodeAt(o++)?(e.consume(j),o===L.length?k:v):a(j)}function k(j){return j===null?a(j):j===93?(e.consume(j),C):$e(j)?(c=k,Y(j)):(e.consume(j),k)}function C(j){return j===93?(e.consume(j),A):k(j)}function A(j){return j===62?G(j):j===93?(e.consume(j),A):k(j)}function F(j){return j===null||j===62?G(j):$e(j)?(c=F,Y(j)):(e.consume(j),F)}function M(j){return j===null?a(j):j===63?(e.consume(j),N):$e(j)?(c=M,Y(j)):(e.consume(j),M)}function N(j){return j===62?G(j):M(j)}function S(j){return H0(j)?(e.consume(j),D):a(j)}function D(j){return j===45||R0(j)?(e.consume(j),D):R(j)}function R(j){return $e(j)?(c=R,Y(j)):dt(j)?(e.consume(j),R):G(j)}function O(j){return j===45||R0(j)?(e.consume(j),O):j===47||j===62||Ht(j)?P(j):a(j)}function P(j){return j===47?(e.consume(j),G):j===58||j===95||H0(j)?(e.consume(j),T):$e(j)?(c=P,Y(j)):dt(j)?(e.consume(j),P):G(j)}function T(j){return j===45||j===46||j===58||j===95||R0(j)?(e.consume(j),T):V(j)}function V(j){return j===61?(e.consume(j),Z):$e(j)?(c=V,Y(j)):dt(j)?(e.consume(j),V):P(j)}function Z(j){return j===null||j===60||j===61||j===62||j===96?a(j):j===34||j===39?(e.consume(j),s=j,re):$e(j)?(c=Z,Y(j)):dt(j)?(e.consume(j),Z):(e.consume(j),ee)}function re(j){return j===s?(e.consume(j),s=void 0,Q):j===null?a(j):$e(j)?(c=re,Y(j)):(e.consume(j),re)}function ee(j){return j===null||j===34||j===39||j===60||j===61||j===96?a(j):j===47||j===62||Ht(j)?P(j):(e.consume(j),ee)}function Q(j){return j===47||j===62||Ht(j)?P(j):a(j)}function G(j){return j===62?(e.consume(j),e.exit("htmlTextData"),e.exit("htmlText"),t):a(j)}function Y(j){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),le}function le(j){return dt(j)?gt(e,xe,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):xe(j)}function xe(j){return e.enter("htmlTextData"),c(j)}}const jx={name:"labelEnd",resolveAll:XN,resolveTo:WN,tokenize:JN},QN={tokenize:e_},YN={tokenize:t_},KN={tokenize:n_};function XN(e){let t=-1;const a=[];for(;++t<e.length;){const l=e[t][1];if(a.push(e[t]),l.type==="labelImage"||l.type==="labelLink"||l.type==="labelEnd"){const s=l.type==="labelImage"?4:2;l.type="data",t+=s}}return e.length!==a.length&&fn(e,0,e.length,a),e}function WN(e,t){let a=e.length,l=0,s,o,c,d;for(;a--;)if(s=e[a][1],o){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[a][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(c){if(e[a][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(o=a,s.type!=="labelLink")){l=2;break}}else s.type==="labelEnd"&&(c=a);const f={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[o][1].start},end:{...e[c][1].end}},m={type:"labelText",start:{...e[o+l+2][1].end},end:{...e[c-2][1].start}};return d=[["enter",f,t],["enter",h,t]],d=Fn(d,e.slice(o+1,o+l+3)),d=Fn(d,[["enter",m,t]]),d=Fn(d,po(t.parser.constructs.insideSpan.null,e.slice(o+l+4,c-3),t)),d=Fn(d,[["exit",m,t],e[c-2],e[c-1],["exit",h,t]]),d=Fn(d,e.slice(c+1)),d=Fn(d,[["exit",f,t]]),fn(e,o,e.length,d),e}function JN(e,t,a){const l=this;let s=l.events.length,o,c;for(;s--;)if((l.events[s][1].type==="labelImage"||l.events[s][1].type==="labelLink")&&!l.events[s][1]._balanced){o=l.events[s][1];break}return d;function d(y){return o?o._inactive?p(y):(c=l.parser.defined.includes(Pn(l.sliceSerialize({start:o.end,end:l.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(y),e.exit("labelMarker"),e.exit("labelEnd"),f):a(y)}function f(y){return y===40?e.attempt(QN,m,c?m:p)(y):y===91?e.attempt(YN,m,c?h:p)(y):c?m(y):p(y)}function h(y){return e.attempt(KN,m,p)(y)}function m(y){return t(y)}function p(y){return o._balanced=!0,a(y)}}function e_(e,t,a){return l;function l(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),s}function s(p){return Ht(p)?Zi(e,o)(p):o(p)}function o(p){return p===41?m(p):C7(e,c,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function c(p){return Ht(p)?Zi(e,f)(p):m(p)}function d(p){return a(p)}function f(p){return p===34||p===39||p===40?A7(e,h,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):m(p)}function h(p){return Ht(p)?Zi(e,m)(p):m(p)}function m(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):a(p)}}function t_(e,t,a){const l=this;return s;function s(d){return k7.call(l,e,o,c,"reference","referenceMarker","referenceString")(d)}function o(d){return l.parser.defined.includes(Pn(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)))?t(d):a(d)}function c(d){return a(d)}}function n_(e,t,a){return l;function l(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),s}function s(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):a(o)}}const a_={name:"labelStartImage",resolveAll:jx.resolveAll,tokenize:r_};function r_(e,t,a){const l=this;return s;function s(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),o}function o(d){return d===91?(e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),c):a(d)}function c(d){return d===94&&"_hiddenFootnoteSupport"in l.parser.constructs?a(d):t(d)}}const l_={name:"labelStartLink",resolveAll:jx.resolveAll,tokenize:i_};function i_(e,t,a){const l=this;return s;function s(c){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelLink"),o}function o(c){return c===94&&"_hiddenFootnoteSupport"in l.parser.constructs?a(c):t(c)}}const P2={name:"lineEnding",tokenize:s_};function s_(e,t){return a;function a(l){return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),gt(e,t,"linePrefix")}}const Q1={name:"thematicBreak",tokenize:o_};function o_(e,t,a){let l=0,s;return o;function o(h){return e.enter("thematicBreak"),c(h)}function c(h){return s=h,d(h)}function d(h){return h===s?(e.enter("thematicBreakSequence"),f(h)):l>=3&&(h===null||$e(h))?(e.exit("thematicBreak"),t(h)):a(h)}function f(h){return h===s?(e.consume(h),l++,f):(e.exit("thematicBreakSequence"),dt(h)?gt(e,d,"whitespace")(h):d(h))}}const K0={continuation:{tokenize:d_},exit:h_,name:"list",tokenize:x_},c_={partial:!0,tokenize:p_},u_={partial:!0,tokenize:f_};function x_(e,t,a){const l=this,s=l.events[l.events.length-1];let o=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,c=0;return d;function d(b){const v=l.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(v==="listUnordered"?!l.containerState.marker||b===l.containerState.marker:ju(b)){if(l.containerState.type||(l.containerState.type=v,e.enter(v,{_container:!0})),v==="listUnordered")return e.enter("listItemPrefix"),b===42||b===45?e.check(Q1,a,h)(b):h(b);if(!l.interrupt||b===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(b)}return a(b)}function f(b){return ju(b)&&++c<10?(e.consume(b),f):(!l.interrupt||c<2)&&(l.containerState.marker?b===l.containerState.marker:b===41||b===46)?(e.exit("listItemValue"),h(b)):a(b)}function h(b){return e.enter("listItemMarker"),e.consume(b),e.exit("listItemMarker"),l.containerState.marker=l.containerState.marker||b,e.check(ds,l.interrupt?a:m,e.attempt(c_,y,p))}function m(b){return l.containerState.initialBlankLine=!0,o++,y(b)}function p(b){return dt(b)?(e.enter("listItemPrefixWhitespace"),e.consume(b),e.exit("listItemPrefixWhitespace"),y):a(b)}function y(b){return l.containerState.size=o+l.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(b)}}function d_(e,t,a){const l=this;return l.containerState._closeFlow=void 0,e.check(ds,s,o);function s(d){return l.containerState.furtherBlankLines=l.containerState.furtherBlankLines||l.containerState.initialBlankLine,gt(e,t,"listItemIndent",l.containerState.size+1)(d)}function o(d){return l.containerState.furtherBlankLines||!dt(d)?(l.containerState.furtherBlankLines=void 0,l.containerState.initialBlankLine=void 0,c(d)):(l.containerState.furtherBlankLines=void 0,l.containerState.initialBlankLine=void 0,e.attempt(u_,t,c)(d))}function c(d){return l.containerState._closeFlow=!0,l.interrupt=void 0,gt(e,e.attempt(K0,t,a),"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function f_(e,t,a){const l=this;return gt(e,s,"listItemIndent",l.containerState.size+1);function s(o){const c=l.events[l.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===l.containerState.size?t(o):a(o)}}function h_(e){e.exit(this.containerState.type)}function p_(e,t,a){const l=this;return gt(e,s,"listItemPrefixWhitespace",l.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(o){const c=l.events[l.events.length-1];return!dt(o)&&c&&c[1].type==="listItemPrefixWhitespace"?t(o):a(o)}}const X4={name:"setextUnderline",resolveTo:m_,tokenize:g_};function m_(e,t){let a=e.length,l,s,o;for(;a--;)if(e[a][0]==="enter"){if(e[a][1].type==="content"){l=a;break}e[a][1].type==="paragraph"&&(s=a)}else e[a][1].type==="content"&&e.splice(a,1),!o&&e[a][1].type==="definition"&&(o=a);const c={type:"setextHeading",start:{...e[l][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",o?(e.splice(s,0,["enter",c,t]),e.splice(o+1,0,["exit",e[l][1],t]),e[l][1].end={...e[o][1].end}):e[l][1]=c,e.push(["exit",c,t]),e}function g_(e,t,a){const l=this;let s;return o;function o(h){let m=l.events.length,p;for(;m--;)if(l.events[m][1].type!=="lineEnding"&&l.events[m][1].type!=="linePrefix"&&l.events[m][1].type!=="content"){p=l.events[m][1].type==="paragraph";break}return!l.parser.lazy[l.now().line]&&(l.interrupt||p)?(e.enter("setextHeadingLine"),s=h,c(h)):a(h)}function c(h){return e.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===s?(e.consume(h),d):(e.exit("setextHeadingLineSequence"),dt(h)?gt(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||$e(h)?(e.exit("setextHeadingLine"),t(h)):a(h)}}const E_={tokenize:y_};function y_(e){const t=this,a=e.attempt(ds,l,e.attempt(this.parser.constructs.flowInitial,s,gt(e,e.attempt(this.parser.constructs.flow,s,e.attempt(AN,s)),"linePrefix")));return a;function l(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,a}function s(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,a}}const b_={resolveAll:w7()},v_=B7("string"),C_=B7("text");function B7(e){return{resolveAll:w7(e==="text"?k_:void 0),tokenize:t};function t(a){const l=this,s=this.parser.constructs[e],o=a.attempt(s,c,d);return c;function c(m){return h(m)?o(m):d(m)}function d(m){if(m===null){a.consume(m);return}return a.enter("data"),a.consume(m),f}function f(m){return h(m)?(a.exit("data"),o(m)):(a.consume(m),f)}function h(m){if(m===null)return!0;const p=s[m];let y=-1;if(p)for(;++y<p.length;){const b=p[y];if(!b.previous||b.previous.call(l,l.previous))return!0}return!1}}}function w7(e){return t;function t(a,l){let s=-1,o;for(;++s<=a.length;)o===void 0?a[s]&&a[s][1].type==="data"&&(o=s,s++):(!a[s]||a[s][1].type!=="data")&&(s!==o+2&&(a[o][1].end=a[s-1][1].end,a.splice(o+2,s-o-2),s=o+2),o=void 0);return e?e(a,l):a}}function k_(e,t){let a=0;for(;++a<=e.length;)if((a===e.length||e[a][1].type==="lineEnding")&&e[a-1][1].type==="data"){const l=e[a-1][1],s=t.sliceStream(l);let o=s.length,c=-1,d=0,f;for(;o--;){const h=s[o];if(typeof h=="string"){for(c=h.length;h.charCodeAt(c-1)===32;)d++,c--;if(c)break;c=-1}else if(h===-2)f=!0,d++;else if(h!==-1){o++;break}}if(t._contentTypeTextTrailing&&a===e.length&&(d=0),d){const h={type:a===e.length||f||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?c:l.start._bufferIndex+c,_index:l.start._index+o,line:l.end.line,column:l.end.column-d,offset:l.end.offset-d},end:{...l.end}};l.end={...h.start},l.start.offset===l.end.offset?Object.assign(l,h):(e.splice(a,0,["enter",h,t],["exit",h,t]),a+=2)}a++}return e}const A_={42:K0,43:K0,45:K0,48:K0,49:K0,50:K0,51:K0,52:K0,53:K0,54:K0,55:K0,56:K0,57:K0,62:E7},B_={91:SN},w_={[-2]:L2,[-1]:L2,32:L2},D_={35:zN,42:Q1,45:[X4,Q1],60:PN,61:X4,95:Q1,96:Y4,126:Y4},F_={38:b7,92:y7},S_={[-5]:P2,[-4]:P2,[-3]:P2,33:a_,38:b7,42:Tu,60:[lN,$N],91:l_,92:[jN,y7],93:jx,95:Tu,96:EN},M_={null:[Tu,b_]},N_={null:[42,95]},__={null:[]},j_=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:N_,contentInitial:B_,disable:__,document:A_,flow:D_,flowInitial:w_,insideSpan:M_,string:F_,text:S_},Symbol.toStringTag,{value:"Module"}));function T_(e,t,a){let l={_bufferIndex:-1,_index:0,line:a&&a.line||1,column:a&&a.column||1,offset:a&&a.offset||0};const s={},o=[];let c=[],d=[];const f={attempt:R(S),check:R(D),consume:F,enter:M,exit:N,interrupt:R(D,{interrupt:!0})},h={code:null,containerState:{},defineSkip:k,events:[],now:v,parser:e,previous:null,sliceSerialize:y,sliceStream:b,write:p};let m=t.tokenize.call(h,f);return t.resolveAll&&o.push(t),h;function p(V){return c=Fn(c,V),C(),c[c.length-1]!==null?[]:(O(t,0),h.events=po(o,h.events,h),h.events)}function y(V,Z){return R_(b(V),Z)}function b(V){return z_(c,V)}function v(){const{_bufferIndex:V,_index:Z,line:re,column:ee,offset:Q}=l;return{_bufferIndex:V,_index:Z,line:re,column:ee,offset:Q}}function k(V){s[V.line]=V.column,T()}function C(){let V;for(;l._index<c.length;){const Z=c[l._index];if(typeof Z=="string")for(V=l._index,l._bufferIndex<0&&(l._bufferIndex=0);l._index===V&&l._bufferIndex<Z.length;)A(Z.charCodeAt(l._bufferIndex));else A(Z)}}function A(V){m=m(V)}function F(V){$e(V)?(l.line++,l.column=1,l.offset+=V===-3?2:1,T()):V!==-1&&(l.column++,l.offset++),l._bufferIndex<0?l._index++:(l._bufferIndex++,l._bufferIndex===c[l._index].length&&(l._bufferIndex=-1,l._index++)),h.previous=V}function M(V,Z){const re=Z||{};return re.type=V,re.start=v(),h.events.push(["enter",re,h]),d.push(re),re}function N(V){const Z=d.pop();return Z.end=v(),h.events.push(["exit",Z,h]),Z}function S(V,Z){O(V,Z.from)}function D(V,Z){Z.restore()}function R(V,Z){return re;function re(ee,Q,G){let Y,le,xe,j;return Array.isArray(ee)?$(ee):"tokenize"in ee?$([ee]):L(ee);function L(X){return me;function me(He){const Be=He!==null&&X[He],tt=He!==null&&X.null,ct=[...Array.isArray(Be)?Be:Be?[Be]:[],...Array.isArray(tt)?tt:tt?[tt]:[]];return $(ct)(He)}}function $(X){return Y=X,le=0,X.length===0?G:z(X[le])}function z(X){return me;function me(He){return j=P(),xe=X,X.partial||(h.currentConstruct=X),X.name&&h.parser.constructs.disable.null.includes(X.name)?be():X.tokenize.call(Z?Object.assign(Object.create(h),Z):h,f,ie,be)(He)}}function ie(X){return V(xe,j),Q}function be(X){return j.restore(),++le<Y.length?z(Y[le]):G}}}function O(V,Z){V.resolveAll&&!o.includes(V)&&o.push(V),V.resolve&&fn(h.events,Z,h.events.length-Z,V.resolve(h.events.slice(Z),h)),V.resolveTo&&(h.events=V.resolveTo(h.events,h))}function P(){const V=v(),Z=h.previous,re=h.currentConstruct,ee=h.events.length,Q=Array.from(d);return{from:ee,restore:G};function G(){l=V,h.previous=Z,h.currentConstruct=re,h.events.length=ee,d=Q,T()}}function T(){l.line in s&&l.column<2&&(l.column=s[l.line],l.offset+=s[l.line]-1)}}function z_(e,t){const a=t.start._index,l=t.start._bufferIndex,s=t.end._index,o=t.end._bufferIndex;let c;if(a===s)c=[e[a].slice(l,o)];else{if(c=e.slice(a,s),l>-1){const d=c[0];typeof d=="string"?c[0]=d.slice(l):c.shift()}o>0&&c.push(e[s].slice(0,o))}return c}function R_(e,t){let a=-1;const l=[];let s;for(;++a<e.length;){const o=e[a];let c;if(typeof o=="string")c=o;else switch(o){case-5:{c="\r";break}case-4:{c=`
15
+ `;break}case-3:{c=`\r
16
+ `;break}case-2:{c=t?" ":" ";break}case-1:{if(!t&&s)continue;c=" ";break}default:c=String.fromCharCode(o)}s=o===-2,l.push(c)}return l.join("")}function O_(e){const l={constructs:m7([j_,...(e||{}).extensions||[]]),content:s(WM),defined:[],document:s(eN),flow:s(E_),lazy:{},string:s(v_),text:s(C_)};return l;function s(o){return c;function c(d){return T_(l,o,d)}}}function L_(e){for(;!v7(e););return e}const W4=/[\0\t\n\r]/g;function P_(){let e=1,t="",a=!0,l;return s;function s(o,c,d){const f=[];let h,m,p,y,b;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(c||void 0).decode(o)),p=0,t="",a&&(o.charCodeAt(0)===65279&&p++,a=void 0);p<o.length;){if(W4.lastIndex=p,h=W4.exec(o),y=h&&h.index!==void 0?h.index:o.length,b=o.charCodeAt(y),!h){t=o.slice(p);break}if(b===10&&p===y&&l)f.push(-3),l=void 0;else switch(l&&(f.push(-5),l=void 0),p<y&&(f.push(o.slice(p,y)),e+=y-p),b){case 0:{f.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,f.push(-2);e++<m;)f.push(-1);break}case 10:{f.push(-4),e=1;break}default:l=!0,e=1}p=y+1}return d&&(l&&f.push(-5),t&&f.push(t),f.push(null)),f}}const G_=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function H_(e){return e.replace(G_,V_)}function V_(e,t,a){if(t)return t;if(a.charCodeAt(0)===35){const s=a.charCodeAt(1),o=s===120||s===88;return g7(a.slice(o?2:1),o?16:10)}return _x(a)||e}const D7={}.hasOwnProperty;function I_(e,t,a){return t&&typeof t=="object"&&(a=t,t=void 0),U_(a)(L_(O_(a).document().write(P_()(e,t,!0))))}function U_(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Et),autolinkProtocol:P,autolinkEmail:P,atxHeading:o(ne),blockQuote:o(tt),characterEscape:P,characterReference:P,codeFenced:o(ct),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:o(ct,c),codeText:o(De,c),codeTextData:P,data:P,codeFlowValue:P,definition:o(_t),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:o(Fe),hardBreakEscape:o(Oe),hardBreakTrailing:o(Oe),htmlFlow:o(rt,c),htmlFlowData:P,htmlText:o(rt,c),htmlTextData:P,image:o(Ct),label:c,link:o(Et),listItem:o(nt),listItemValue:y,listOrdered:o(p0,p),listUnordered:o(p0),paragraph:o(b0),reference:z,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:o(ne),strong:o(ge),thematicBreak:o(A0)},exit:{atxHeading:f(),atxHeadingSequence:S,autolink:f(),autolinkEmail:Be,autolinkProtocol:He,blockQuote:f(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:be,characterReferenceMarkerNumeric:be,characterReferenceValue:X,characterReference:me,codeFenced:f(C),codeFencedFence:k,codeFencedFenceInfo:b,codeFencedFenceMeta:v,codeFlowValue:T,codeIndented:f(A),codeText:f(Q),codeTextData:T,data:T,definition:f(),definitionDestinationString:N,definitionLabelString:F,definitionTitleString:M,emphasis:f(),hardBreakEscape:f(Z),hardBreakTrailing:f(Z),htmlFlow:f(re),htmlFlowData:T,htmlText:f(ee),htmlTextData:T,image:f(Y),label:xe,labelText:le,lineEnding:V,link:f(G),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:ie,resourceDestinationString:j,resourceTitleString:L,resource:$,setextHeading:f(O),setextHeadingLineSequence:R,setextHeadingText:D,strong:f(),thematicBreak:f()}};F7(t,(e||{}).mdastExtensions||[]);const a={};return l;function l(se){let W={type:"root",children:[]};const Ne={stack:[W],tokenStack:[],config:t,enter:d,exit:h,buffer:c,resume:m,data:a},Ze=[];let Ke=-1;for(;++Ke<se.length;)if(se[Ke][1].type==="listOrdered"||se[Ke][1].type==="listUnordered")if(se[Ke][0]==="enter")Ze.push(Ke);else{const Kt=Ze.pop();Ke=s(se,Kt,Ke)}for(Ke=-1;++Ke<se.length;){const Kt=t[se[Ke][0]];D7.call(Kt,se[Ke][1].type)&&Kt[se[Ke][1].type].call(Object.assign({sliceSerialize:se[Ke][2].sliceSerialize},Ne),se[Ke][1])}if(Ne.tokenStack.length>0){const Kt=Ne.tokenStack[Ne.tokenStack.length-1];(Kt[1]||J4).call(Ne,void 0,Kt[0])}for(W.position={start:tr(se.length>0?se[0][1].start:{line:1,column:1,offset:0}),end:tr(se.length>0?se[se.length-2][1].end:{line:1,column:1,offset:0})},Ke=-1;++Ke<t.transforms.length;)W=t.transforms[Ke](W)||W;return W}function s(se,W,Ne){let Ze=W-1,Ke=-1,Kt=!1,v0,Wt,Dt,C0;for(;++Ze<=Ne;){const kt=se[Ze];switch(kt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{kt[0]==="enter"?Ke++:Ke--,C0=void 0;break}case"lineEndingBlank":{kt[0]==="enter"&&(v0&&!C0&&!Ke&&!Dt&&(Dt=Ze),C0=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:C0=void 0}if(!Ke&&kt[0]==="enter"&&kt[1].type==="listItemPrefix"||Ke===-1&&kt[0]==="exit"&&(kt[1].type==="listUnordered"||kt[1].type==="listOrdered")){if(v0){let mn=Ze;for(Wt=void 0;mn--;){const l0=se[mn];if(l0[1].type==="lineEnding"||l0[1].type==="lineEndingBlank"){if(l0[0]==="exit")continue;Wt&&(se[Wt][1].type="lineEndingBlank",Kt=!0),l0[1].type="lineEnding",Wt=mn}else if(!(l0[1].type==="linePrefix"||l0[1].type==="blockQuotePrefix"||l0[1].type==="blockQuotePrefixWhitespace"||l0[1].type==="blockQuoteMarker"||l0[1].type==="listItemIndent"))break}Dt&&(!Wt||Dt<Wt)&&(v0._spread=!0),v0.end=Object.assign({},Wt?se[Wt][1].start:kt[1].end),se.splice(Wt||Ze,0,["exit",v0,kt[2]]),Ze++,Ne++}if(kt[1].type==="listItemPrefix"){const mn={type:"listItem",_spread:!1,start:Object.assign({},kt[1].start),end:void 0};v0=mn,se.splice(Ze,0,["enter",mn,kt[2]]),Ze++,Ne++,Dt=void 0,C0=!0}}}return se[W][1]._spread=Kt,Ne}function o(se,W){return Ne;function Ne(Ze){d.call(this,se(Ze),Ze),W&&W.call(this,Ze)}}function c(){this.stack.push({type:"fragment",children:[]})}function d(se,W,Ne){this.stack[this.stack.length-1].children.push(se),this.stack.push(se),this.tokenStack.push([W,Ne||void 0]),se.position={start:tr(W.start),end:void 0}}function f(se){return W;function W(Ne){se&&se.call(this,Ne),h.call(this,Ne)}}function h(se,W){const Ne=this.stack.pop(),Ze=this.tokenStack.pop();if(Ze)Ze[0].type!==se.type&&(W?W.call(this,se,Ze[0]):(Ze[1]||J4).call(this,se,Ze[0]));else throw new Error("Cannot close `"+se.type+"` ("+Ui({start:se.start,end:se.end})+"): it’s not open");Ne.position.end=tr(se.end)}function m(){return Nx(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function y(se){if(this.data.expectingFirstListItemValue){const W=this.stack[this.stack.length-2];W.start=Number.parseInt(this.sliceSerialize(se),10),this.data.expectingFirstListItemValue=void 0}}function b(){const se=this.resume(),W=this.stack[this.stack.length-1];W.lang=se}function v(){const se=this.resume(),W=this.stack[this.stack.length-1];W.meta=se}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const se=this.resume(),W=this.stack[this.stack.length-1];W.value=se.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const se=this.resume(),W=this.stack[this.stack.length-1];W.value=se.replace(/(\r?\n|\r)$/g,"")}function F(se){const W=this.resume(),Ne=this.stack[this.stack.length-1];Ne.label=W,Ne.identifier=Pn(this.sliceSerialize(se)).toLowerCase()}function M(){const se=this.resume(),W=this.stack[this.stack.length-1];W.title=se}function N(){const se=this.resume(),W=this.stack[this.stack.length-1];W.url=se}function S(se){const W=this.stack[this.stack.length-1];if(!W.depth){const Ne=this.sliceSerialize(se).length;W.depth=Ne}}function D(){this.data.setextHeadingSlurpLineEnding=!0}function R(se){const W=this.stack[this.stack.length-1];W.depth=this.sliceSerialize(se).codePointAt(0)===61?1:2}function O(){this.data.setextHeadingSlurpLineEnding=void 0}function P(se){const Ne=this.stack[this.stack.length-1].children;let Ze=Ne[Ne.length-1];(!Ze||Ze.type!=="text")&&(Ze=Me(),Ze.position={start:tr(se.start),end:void 0},Ne.push(Ze)),this.stack.push(Ze)}function T(se){const W=this.stack.pop();W.value+=this.sliceSerialize(se),W.position.end=tr(se.end)}function V(se){const W=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ne=W.children[W.children.length-1];Ne.position.end=tr(se.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(W.type)&&(P.call(this,se),T.call(this,se))}function Z(){this.data.atHardBreak=!0}function re(){const se=this.resume(),W=this.stack[this.stack.length-1];W.value=se}function ee(){const se=this.resume(),W=this.stack[this.stack.length-1];W.value=se}function Q(){const se=this.resume(),W=this.stack[this.stack.length-1];W.value=se}function G(){const se=this.stack[this.stack.length-1];if(this.data.inReference){const W=this.data.referenceType||"shortcut";se.type+="Reference",se.referenceType=W,delete se.url,delete se.title}else delete se.identifier,delete se.label;this.data.referenceType=void 0}function Y(){const se=this.stack[this.stack.length-1];if(this.data.inReference){const W=this.data.referenceType||"shortcut";se.type+="Reference",se.referenceType=W,delete se.url,delete se.title}else delete se.identifier,delete se.label;this.data.referenceType=void 0}function le(se){const W=this.sliceSerialize(se),Ne=this.stack[this.stack.length-2];Ne.label=H_(W),Ne.identifier=Pn(W).toLowerCase()}function xe(){const se=this.stack[this.stack.length-1],W=this.resume(),Ne=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ne.type==="link"){const Ze=se.children;Ne.children=Ze}else Ne.alt=W}function j(){const se=this.resume(),W=this.stack[this.stack.length-1];W.url=se}function L(){const se=this.resume(),W=this.stack[this.stack.length-1];W.title=se}function $(){this.data.inReference=void 0}function z(){this.data.referenceType="collapsed"}function ie(se){const W=this.resume(),Ne=this.stack[this.stack.length-1];Ne.label=W,Ne.identifier=Pn(this.sliceSerialize(se)).toLowerCase(),this.data.referenceType="full"}function be(se){this.data.characterReferenceType=se.type}function X(se){const W=this.sliceSerialize(se),Ne=this.data.characterReferenceType;let Ze;Ne?(Ze=g7(W,Ne==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ze=_x(W);const Ke=this.stack[this.stack.length-1];Ke.value+=Ze}function me(se){const W=this.stack.pop();W.position.end=tr(se.end)}function He(se){T.call(this,se);const W=this.stack[this.stack.length-1];W.url=this.sliceSerialize(se)}function Be(se){T.call(this,se);const W=this.stack[this.stack.length-1];W.url="mailto:"+this.sliceSerialize(se)}function tt(){return{type:"blockquote",children:[]}}function ct(){return{type:"code",lang:null,meta:null,value:""}}function De(){return{type:"inlineCode",value:""}}function _t(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Fe(){return{type:"emphasis",children:[]}}function ne(){return{type:"heading",depth:0,children:[]}}function Oe(){return{type:"break"}}function rt(){return{type:"html",value:""}}function Ct(){return{type:"image",title:null,url:"",alt:null}}function Et(){return{type:"link",title:null,url:"",children:[]}}function p0(se){return{type:"list",ordered:se.type==="listOrdered",start:null,spread:se._spread,children:[]}}function nt(se){return{type:"listItem",spread:se._spread,checked:null,children:[]}}function b0(){return{type:"paragraph",children:[]}}function ge(){return{type:"strong",children:[]}}function Me(){return{type:"text",value:""}}function A0(){return{type:"thematicBreak"}}}function tr(e){return{line:e.line,column:e.column,offset:e.offset}}function F7(e,t){let a=-1;for(;++a<t.length;){const l=t[a];Array.isArray(l)?F7(e,l):Z_(e,l)}}function Z_(e,t){let a;for(a in t)if(D7.call(t,a))switch(a){case"canContainEols":{const l=t[a];l&&e[a].push(...l);break}case"transforms":{const l=t[a];l&&e[a].push(...l);break}case"enter":case"exit":{const l=t[a];l&&Object.assign(e[a],l);break}}}function J4(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ui({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ui({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ui({start:t.start,end:t.end})+") is still open")}function $_(e){const t=this;t.parser=a;function a(l){return I_(l,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function q_(e,t){const a={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,a),e.applyData(t,a)}function Q_(e,t){const a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,a),[e.applyData(t,a),{type:"text",value:`
17
+ `}]}function Y_(e,t){const a=t.value?t.value+`
18
+ `:"",l={},s=t.lang?t.lang.split(/\s+/):[];s.length>0&&(l.className=["language-"+s[0]]);let o={type:"element",tagName:"code",properties:l,children:[{type:"text",value:a}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function K_(e,t){const a={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function X_(e,t){const a={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function W_(e,t){const a=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",l=String(t.identifier).toUpperCase(),s=Ol(l.toLowerCase()),o=e.footnoteOrder.indexOf(l);let c,d=e.footnoteCounts.get(l);d===void 0?(d=0,e.footnoteOrder.push(l),c=e.footnoteOrder.length):c=o+1,d+=1,e.footnoteCounts.set(l,d);const f={type:"element",tagName:"a",properties:{href:"#"+a+"fn-"+s,id:a+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};e.patch(t,f);const h={type:"element",tagName:"sup",properties:{},children:[f]};return e.patch(t,h),e.applyData(t,h)}function J_(e,t){const a={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function ej(e,t){if(e.options.allowDangerousHtml){const a={type:"raw",value:t.value};return e.patch(t,a),e.applyData(t,a)}}function S7(e,t){const a=t.referenceType;let l="]";if(a==="collapsed"?l+="[]":a==="full"&&(l+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+l}];const s=e.all(t),o=s[0];o&&o.type==="text"?o.value="["+o.value:s.unshift({type:"text",value:"["});const c=s[s.length-1];return c&&c.type==="text"?c.value+=l:s.push({type:"text",value:l}),s}function tj(e,t){const a=String(t.identifier).toUpperCase(),l=e.definitionById.get(a);if(!l)return S7(e,t);const s={src:Ol(l.url||""),alt:t.alt};l.title!==null&&l.title!==void 0&&(s.title=l.title);const o={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,o),e.applyData(t,o)}function nj(e,t){const a={src:Ol(t.url)};t.alt!==null&&t.alt!==void 0&&(a.alt=t.alt),t.title!==null&&t.title!==void 0&&(a.title=t.title);const l={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,l),e.applyData(t,l)}function aj(e,t){const a={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,a);const l={type:"element",tagName:"code",properties:{},children:[a]};return e.patch(t,l),e.applyData(t,l)}function rj(e,t){const a=String(t.identifier).toUpperCase(),l=e.definitionById.get(a);if(!l)return S7(e,t);const s={href:Ol(l.url||"")};l.title!==null&&l.title!==void 0&&(s.title=l.title);const o={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function lj(e,t){const a={href:Ol(t.url)};t.title!==null&&t.title!==void 0&&(a.title=t.title);const l={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function ij(e,t,a){const l=e.all(t),s=a?sj(a):M7(t),o={},c=[];if(typeof t.checked=="boolean"){const m=l[0];let p;m&&m.type==="element"&&m.tagName==="p"?p=m:(p={type:"element",tagName:"p",properties:{},children:[]},l.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let d=-1;for(;++d<l.length;){const m=l[d];(s||d!==0||m.type!=="element"||m.tagName!=="p")&&c.push({type:"text",value:`
19
+ `}),m.type==="element"&&m.tagName==="p"&&!s?c.push(...m.children):c.push(m)}const f=l[l.length-1];f&&(s||f.type!=="element"||f.tagName!=="p")&&c.push({type:"text",value:`
20
+ `});const h={type:"element",tagName:"li",properties:o,children:c};return e.patch(t,h),e.applyData(t,h)}function sj(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const a=e.children;let l=-1;for(;!t&&++l<a.length;)t=M7(a[l])}return t}function M7(e){const t=e.spread;return t??e.children.length>1}function oj(e,t){const a={},l=e.all(t);let s=-1;for(typeof t.start=="number"&&t.start!==1&&(a.start=t.start);++s<l.length;){const c=l[s];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:a,children:e.wrap(l,!0)};return e.patch(t,o),e.applyData(t,o)}function cj(e,t){const a={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function uj(e,t){const a={type:"root",children:e.wrap(e.all(t))};return e.patch(t,a),e.applyData(t,a)}function xj(e,t){const a={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function dj(e,t){const a=e.all(t),l=a.shift(),s=[];if(l){const c={type:"element",tagName:"thead",properties:{},children:e.wrap([l],!0)};e.patch(t.children[0],c),s.push(c)}if(a.length>0){const c={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},d=Dx(t.children[1]),f=c7(t.children[t.children.length-1]);d&&f&&(c.position={start:d,end:f}),s.push(c)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,o),e.applyData(t,o)}function fj(e,t,a){const l=a?a.children:void 0,o=(l?l.indexOf(t):1)===0?"th":"td",c=a&&a.type==="table"?a.align:void 0,d=c?c.length:t.children.length;let f=-1;const h=[];for(;++f<d;){const p=t.children[f],y={},b=c?c[f]:void 0;b&&(y.align=b);let v={type:"element",tagName:o,properties:y,children:[]};p&&(v.children=e.all(p),e.patch(p,v),v=e.applyData(p,v)),h.push(v)}const m={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,m),e.applyData(t,m)}function hj(e,t){const a={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}const ef=9,tf=32;function pj(e){const t=String(e),a=/\r?\n|\r/g;let l=a.exec(t),s=0;const o=[];for(;l;)o.push(nf(t.slice(s,l.index),s>0,!0),l[0]),s=l.index+l[0].length,l=a.exec(t);return o.push(nf(t.slice(s),s>0,!1)),o.join("")}function nf(e,t,a){let l=0,s=e.length;if(t){let o=e.codePointAt(l);for(;o===ef||o===tf;)l++,o=e.codePointAt(l)}if(a){let o=e.codePointAt(s-1);for(;o===ef||o===tf;)s--,o=e.codePointAt(s-1)}return s>l?e.slice(l,s):""}function mj(e,t){const a={type:"text",value:pj(String(t.value))};return e.patch(t,a),e.applyData(t,a)}function gj(e,t){const a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,a),e.applyData(t,a)}const Ej={blockquote:q_,break:Q_,code:Y_,delete:K_,emphasis:X_,footnoteReference:W_,heading:J_,html:ej,imageReference:tj,image:nj,inlineCode:aj,linkReference:rj,link:lj,listItem:ij,list:oj,paragraph:cj,root:uj,strong:xj,table:dj,tableCell:hj,tableRow:fj,text:mj,thematicBreak:gj,toml:O1,yaml:O1,definition:O1,footnoteDefinition:O1};function O1(){}const N7=-1,mo=0,$i=1,ao=2,Tx=3,zx=4,Rx=5,Ox=6,_7=7,j7=8,T7=typeof self=="object"?self:globalThis,af=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new T7[e](t)},yj=(e,t)=>{const a=(s,o)=>(e.set(o,s),s),l=s=>{if(e.has(s))return e.get(s);const[o,c]=t[s];switch(o){case mo:case N7:return a(c,s);case $i:{const d=a([],s);for(const f of c)d.push(l(f));return d}case ao:{const d=a({},s);for(const[f,h]of c)d[l(f)]=l(h);return d}case Tx:return a(new Date(c),s);case zx:{const{source:d,flags:f}=c;return a(new RegExp(d,f),s)}case Rx:{const d=a(new Map,s);for(const[f,h]of c)d.set(l(f),l(h));return d}case Ox:{const d=a(new Set,s);for(const f of c)d.add(l(f));return d}case _7:{const{name:d,message:f}=c;return a(typeof T7[d]=="function"?af(d,f):new Error(f),s)}case j7:return a(BigInt(c),s);case"BigInt":return a(Object(BigInt(c)),s);case"ArrayBuffer":return a(new Uint8Array(c).buffer,c);case"DataView":{const{buffer:d}=new Uint8Array(c);return a(new DataView(d),c)}}return a(af(o,c),s)};return l},rf=e=>yj(new Map,e)(0),Mr="",{toString:bj}={},{keys:vj}=Object,Oi=e=>{const t=typeof e;if(t!=="object"||!e)return[mo,t];const a=bj.call(e).slice(8,-1);switch(a){case"Array":return[$i,Mr];case"Object":return[ao,Mr];case"Date":return[Tx,Mr];case"RegExp":return[zx,Mr];case"Map":return[Rx,Mr];case"Set":return[Ox,Mr];case"DataView":return[$i,a]}return a.includes("Array")?[$i,a]:e instanceof Error?[_7,e.name||"Error"]:[ao,a]},L1=([e,t])=>e===mo&&(t==="function"||t==="symbol"),Cj=(e,t,a,l)=>{const s=(c,d)=>{const f=l.push(c)-1;return a.set(d,f),f},o=c=>{if(a.has(c))return a.get(c);let[d,f]=Oi(c);switch(d){case mo:{let m=c;switch(f){case"bigint":d=j7,m=c.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);m=null;break;case"undefined":return s([N7],c)}return s([d,m],c)}case $i:{if(f){let y=c;return f==="DataView"?y=new Uint8Array(c.buffer):f==="ArrayBuffer"&&(y=new Uint8Array(c)),s([f,[...y]],c)}const m=[],p=s([d,m],c);for(const y of c)m.push(o(y));return p}case ao:{if(f)switch(f){case"BigInt":return s([f,c.toString()],c);case"Boolean":case"Number":case"String":return s([f,c.valueOf()],c)}if(t&&"toJSON"in c)return o(c.toJSON());const m=[],p=s([d,m],c);for(const y of vj(c))(e||!L1(Oi(c[y])))&&m.push([o(y),o(c[y])]);return p}case Tx:return s([d,isNaN(c.getTime())?Mr:c.toISOString()],c);case zx:{const{source:m,flags:p}=c;return s([d,{source:m,flags:p}],c)}case Rx:{const m=[],p=s([d,m],c);for(const[y,b]of c)(e||!(L1(Oi(y))||L1(Oi(b))))&&m.push([o(y),o(b)]);return p}case Ox:{const m=[],p=s([d,m],c);for(const y of c)(e||!L1(Oi(y)))&&m.push(o(y));return p}}const{message:h}=c;return s([d,{name:f,message:h}],c)};return o},lf=(e,{json:t,lossy:a}={})=>{const l=[];return Cj(!(t||a),!!t,new Map,l)(e),l},ro=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?rf(lf(e,t)):structuredClone(e):(e,t)=>rf(lf(e,t));function kj(e,t){const a=[{type:"text",value:"↩"}];return t>1&&a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),a}function Aj(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Bj(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||kj,l=e.options.footnoteBackLabel||Aj,s=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",c=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let f=-1;for(;++f<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[f]);if(!h)continue;const m=e.all(h),p=String(h.identifier).toUpperCase(),y=Ol(p.toLowerCase());let b=0;const v=[],k=e.footnoteCounts.get(p);for(;k!==void 0&&++b<=k;){v.length>0&&v.push({type:"text",value:" "});let F=typeof a=="string"?a:a(f,b);typeof F=="string"&&(F={type:"text",value:F}),v.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+y+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof l=="string"?l:l(f,b),className:["data-footnote-backref"]},children:Array.isArray(F)?F:[F]})}const C=m[m.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const F=C.children[C.children.length-1];F&&F.type==="text"?F.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...v)}else m.push(...v);const A={type:"element",tagName:"li",properties:{id:t+"fn-"+y},children:e.wrap(m,!0)};e.patch(h,A),d.push(A)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...ro(c),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
21
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:`
22
+ `}]}}const go=(function(e){if(e==null)return Sj;if(typeof e=="function")return Eo(e);if(typeof e=="object")return Array.isArray(e)?wj(e):Dj(e);if(typeof e=="string")return Fj(e);throw new Error("Expected function, string, or object as test")});function wj(e){const t=[];let a=-1;for(;++a<e.length;)t[a]=go(e[a]);return Eo(l);function l(...s){let o=-1;for(;++o<t.length;)if(t[o].apply(this,s))return!0;return!1}}function Dj(e){const t=e;return Eo(a);function a(l){const s=l;let o;for(o in e)if(s[o]!==t[o])return!1;return!0}}function Fj(e){return Eo(t);function t(a){return a&&a.type===e}}function Eo(e){return t;function t(a,l,s){return!!(Mj(a)&&e.call(this,a,typeof l=="number"?l:void 0,s||void 0))}}function Sj(){return!0}function Mj(e){return e!==null&&typeof e=="object"&&"type"in e}const z7=[],Nj=!0,zu=!1,_j="skip";function R7(e,t,a,l){let s;typeof t=="function"&&typeof a!="function"?(l=a,a=t):s=t;const o=go(s),c=l?-1:1;d(e,void 0,[])();function d(f,h,m){const p=f&&typeof f=="object"?f:{};if(typeof p.type=="string"){const b=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(y,"name",{value:"node ("+(f.type+(b?"<"+b+">":""))+")"})}return y;function y(){let b=z7,v,k,C;if((!t||o(f,h,m[m.length-1]||void 0))&&(b=jj(a(f,m)),b[0]===zu))return b;if("children"in f&&f.children){const A=f;if(A.children&&b[0]!==_j)for(k=(l?A.children.length:-1)+c,C=m.concat(A);k>-1&&k<A.children.length;){const F=A.children[k];if(v=d(F,k,C)(),v[0]===zu)return v;k=typeof v[1]=="number"?v[1]:k+c}}return b}}}function jj(e){return Array.isArray(e)?e:typeof e=="number"?[Nj,e]:e==null?z7:[e]}function Lx(e,t,a,l){let s,o,c;typeof t=="function"&&typeof a!="function"?(o=void 0,c=t,s=a):(o=t,c=a,s=l),R7(e,o,d,s);function d(f,h){const m=h[h.length-1],p=m?m.children.indexOf(f):void 0;return c(f,p,m)}}const Ru={}.hasOwnProperty,Tj={};function zj(e,t){const a=t||Tj,l=new Map,s=new Map,o=new Map,c={...Ej,...a.handlers},d={all:h,applyData:Oj,definitionById:l,footnoteById:s,footnoteCounts:o,footnoteOrder:[],handlers:c,one:f,options:a,patch:Rj,wrap:Pj};return Lx(e,function(m){if(m.type==="definition"||m.type==="footnoteDefinition"){const p=m.type==="definition"?l:s,y=String(m.identifier).toUpperCase();p.has(y)||p.set(y,m)}}),d;function f(m,p){const y=m.type,b=d.handlers[y];if(Ru.call(d.handlers,y)&&b)return b(d,m,p);if(d.options.passThrough&&d.options.passThrough.includes(y)){if("children"in m){const{children:k,...C}=m,A=ro(C);return A.children=d.all(m),A}return ro(m)}return(d.options.unknownHandler||Lj)(d,m,p)}function h(m){const p=[];if("children"in m){const y=m.children;let b=-1;for(;++b<y.length;){const v=d.one(y[b],m);if(v){if(b&&y[b-1].type==="break"&&(!Array.isArray(v)&&v.type==="text"&&(v.value=sf(v.value)),!Array.isArray(v)&&v.type==="element")){const k=v.children[0];k&&k.type==="text"&&(k.value=sf(k.value))}Array.isArray(v)?p.push(...v):p.push(v)}}}return p}}function Rj(e,t){e.position&&(t.position=AM(e))}function Oj(e,t){let a=t;if(e&&e.data){const l=e.data.hName,s=e.data.hChildren,o=e.data.hProperties;if(typeof l=="string")if(a.type==="element")a.tagName=l;else{const c="children"in a?a.children:[a];a={type:"element",tagName:l,properties:{},children:c}}a.type==="element"&&o&&Object.assign(a.properties,ro(o)),"children"in a&&a.children&&s!==null&&s!==void 0&&(a.children=s)}return a}function Lj(e,t){const a=t.data||{},l="value"in t&&!(Ru.call(a,"hProperties")||Ru.call(a,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function Pj(e,t){const a=[];let l=-1;for(t&&a.push({type:"text",value:`
23
+ `});++l<e.length;)l&&a.push({type:"text",value:`
24
+ `}),a.push(e[l]);return t&&e.length>0&&a.push({type:"text",value:`
25
+ `}),a}function sf(e){let t=0,a=e.charCodeAt(t);for(;a===9||a===32;)t++,a=e.charCodeAt(t);return e.slice(t)}function of(e,t){const a=zj(e,t),l=a.one(e,void 0),s=Bj(a),o=Array.isArray(l)?{type:"root",children:l}:l||{type:"root",children:[]};return s&&o.children.push({type:"text",value:`
26
+ `},s),o}function Gj(e,t){return e&&"run"in e?async function(a,l){const s=of(a,{file:l,...t});await e.run(s,l)}:function(a,l){return of(a,{file:l,...e||t})}}function cf(e){if(e)throw e}var G2,uf;function Hj(){if(uf)return G2;uf=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},o=function(h){if(!h||t.call(h)!=="[object Object]")return!1;var m=e.call(h,"constructor"),p=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!m&&!p)return!1;var y;for(y in h);return typeof y>"u"||e.call(h,y)},c=function(h,m){a&&m.name==="__proto__"?a(h,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):h[m.name]=m.newValue},d=function(h,m){if(m==="__proto__")if(e.call(h,m)){if(l)return l(h,m).value}else return;return h[m]};return G2=function f(){var h,m,p,y,b,v,k=arguments[0],C=1,A=arguments.length,F=!1;for(typeof k=="boolean"&&(F=k,k=arguments[1]||{},C=2),(k==null||typeof k!="object"&&typeof k!="function")&&(k={});C<A;++C)if(h=arguments[C],h!=null)for(m in h)p=d(k,m),y=d(h,m),k!==y&&(F&&y&&(o(y)||(b=s(y)))?(b?(b=!1,v=p&&s(p)?p:[]):v=p&&o(p)?p:{},c(k,{name:m,newValue:f(F,v,y)})):typeof y<"u"&&c(k,{name:m,newValue:y}));return k},G2}var Vj=Hj();const H2=rs(Vj);function Ou(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ij(){const e=[],t={run:a,use:l};return t;function a(...s){let o=-1;const c=s.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);d(null,...s);function d(f,...h){const m=e[++o];let p=-1;if(f){c(f);return}for(;++p<s.length;)(h[p]===null||h[p]===void 0)&&(h[p]=s[p]);s=h,m?Uj(m,d)(...h):c(null,...h)}}function l(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),t}}function Uj(e,t){let a;return l;function l(...c){const d=e.length>c.length;let f;d&&c.push(s);try{f=e.apply(this,c)}catch(h){const m=h;if(d&&a)throw m;return s(m)}d||(f&&f.then&&typeof f.then=="function"?f.then(o,s):f instanceof Error?s(f):o(f))}function s(c,...d){a||(a=!0,t(c,...d))}function o(c){s(null,c)}}const qn={basename:Zj,dirname:$j,extname:qj,join:Qj,sep:"/"};function Zj(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');fs(e);let a=0,l=-1,s=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(o){a=s+1;break}}else l<0&&(o=!0,l=s+1);return l<0?"":e.slice(a,l)}if(t===e)return"";let c=-1,d=t.length-1;for(;s--;)if(e.codePointAt(s)===47){if(o){a=s+1;break}}else c<0&&(o=!0,c=s+1),d>-1&&(e.codePointAt(s)===t.codePointAt(d--)?d<0&&(l=s):(d=-1,l=c));return a===l?l=c:l<0&&(l=e.length),e.slice(a,l)}function $j(e){if(fs(e),e.length===0)return".";let t=-1,a=e.length,l;for(;--a;)if(e.codePointAt(a)===47){if(l){t=a;break}}else l||(l=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function qj(e){fs(e);let t=e.length,a=-1,l=0,s=-1,o=0,c;for(;t--;){const d=e.codePointAt(t);if(d===47){if(c){l=t+1;break}continue}a<0&&(c=!0,a=t+1),d===46?s<0?s=t:o!==1&&(o=1):s>-1&&(o=-1)}return s<0||a<0||o===0||o===1&&s===a-1&&s===l+1?"":e.slice(s,a)}function Qj(...e){let t=-1,a;for(;++t<e.length;)fs(e[t]),e[t]&&(a=a===void 0?e[t]:a+"/"+e[t]);return a===void 0?".":Yj(a)}function Yj(e){fs(e);const t=e.codePointAt(0)===47;let a=Kj(e,!t);return a.length===0&&!t&&(a="."),a.length>0&&e.codePointAt(e.length-1)===47&&(a+="/"),t?"/"+a:a}function Kj(e,t){let a="",l=0,s=-1,o=0,c=-1,d,f;for(;++c<=e.length;){if(c<e.length)d=e.codePointAt(c);else{if(d===47)break;d=47}if(d===47){if(!(s===c-1||o===1))if(s!==c-1&&o===2){if(a.length<2||l!==2||a.codePointAt(a.length-1)!==46||a.codePointAt(a.length-2)!==46){if(a.length>2){if(f=a.lastIndexOf("/"),f!==a.length-1){f<0?(a="",l=0):(a=a.slice(0,f),l=a.length-1-a.lastIndexOf("/")),s=c,o=0;continue}}else if(a.length>0){a="",l=0,s=c,o=0;continue}}t&&(a=a.length>0?a+"/..":"..",l=2)}else a.length>0?a+="/"+e.slice(s+1,c):a=e.slice(s+1,c),l=c-s-1;s=c,o=0}else d===46&&o>-1?o++:o=-1}return a}function fs(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Xj={cwd:Wj};function Wj(){return"/"}function Lu(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Jj(e){if(typeof e=="string")e=new URL(e);else if(!Lu(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return eT(e)}function eT(e){if(e.hostname!==""){const l=new TypeError('File URL host must be "localhost" or empty on darwin');throw l.code="ERR_INVALID_FILE_URL_HOST",l}const t=e.pathname;let a=-1;for(;++a<t.length;)if(t.codePointAt(a)===37&&t.codePointAt(a+1)===50){const l=t.codePointAt(a+2);if(l===70||l===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(t)}const V2=["history","path","basename","stem","extname","dirname"];class O7{constructor(t){let a;t?Lu(t)?a={path:t}:typeof t=="string"||tT(t)?a={value:t}:a=t:a={},this.cwd="cwd"in a?"":Xj.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let l=-1;for(;++l<V2.length;){const o=V2[l];o in a&&a[o]!==void 0&&a[o]!==null&&(this[o]=o==="history"?[...a[o]]:a[o])}let s;for(s in a)V2.includes(s)||(this[s]=a[s])}get basename(){return typeof this.path=="string"?qn.basename(this.path):void 0}set basename(t){U2(t,"basename"),I2(t,"basename"),this.path=qn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?qn.dirname(this.path):void 0}set dirname(t){xf(this.basename,"dirname"),this.path=qn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?qn.extname(this.path):void 0}set extname(t){if(I2(t,"extname"),xf(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=qn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Lu(t)&&(t=Jj(t)),U2(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?qn.basename(this.path,this.extname):void 0}set stem(t){U2(t,"stem"),I2(t,"stem"),this.path=qn.join(this.dirname||"",t+(this.extname||""))}fail(t,a,l){const s=this.message(t,a,l);throw s.fatal=!0,s}info(t,a,l){const s=this.message(t,a,l);return s.fatal=void 0,s}message(t,a,l){const s=new L0(t,a,l);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function I2(e,t){if(e&&e.includes(qn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+qn.sep+"`")}function U2(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function xf(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function tT(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const nT=(function(e){const l=this.constructor.prototype,s=l[e],o=function(){return s.apply(o,arguments)};return Object.setPrototypeOf(o,l),o}),aT={}.hasOwnProperty;class Px extends nT{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Ij()}copy(){const t=new Px;let a=-1;for(;++a<this.attachers.length;){const l=this.attachers[a];t.use(...l)}return t.data(H2(!0,{},this.namespace)),t}data(t,a){return typeof t=="string"?arguments.length===2?(q2("data",this.frozen),this.namespace[t]=a,this):aT.call(this.namespace,t)&&this.namespace[t]||void 0:t?(q2("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[a,...l]=this.attachers[this.freezeIndex];if(l[0]===!1)continue;l[0]===!0&&(l[0]=void 0);const s=a.call(t,...l);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const a=P1(t),l=this.parser||this.Parser;return Z2("parse",l),l(String(a),a)}process(t,a){const l=this;return this.freeze(),Z2("process",this.parser||this.Parser),$2("process",this.compiler||this.Compiler),a?s(void 0,a):new Promise(s);function s(o,c){const d=P1(t),f=l.parse(d);l.run(f,d,function(m,p,y){if(m||!p||!y)return h(m);const b=p,v=l.stringify(b,y);iT(v)?y.value=v:y.result=v,h(m,y)});function h(m,p){m||!p?c(m):o?o(p):a(void 0,p)}}}processSync(t){let a=!1,l;return this.freeze(),Z2("processSync",this.parser||this.Parser),$2("processSync",this.compiler||this.Compiler),this.process(t,s),ff("processSync","process",a),l;function s(o,c){a=!0,cf(o),l=c}}run(t,a,l){df(t),this.freeze();const s=this.transformers;return!l&&typeof a=="function"&&(l=a,a=void 0),l?o(void 0,l):new Promise(o);function o(c,d){const f=P1(a);s.run(t,f,h);function h(m,p,y){const b=p||t;m?d(m):c?c(b):l(void 0,b,y)}}}runSync(t,a){let l=!1,s;return this.run(t,a,o),ff("runSync","run",l),s;function o(c,d){cf(c),s=d,l=!0}}stringify(t,a){this.freeze();const l=P1(a),s=this.compiler||this.Compiler;return $2("stringify",s),df(t),s(t,l)}use(t,...a){const l=this.attachers,s=this.namespace;if(q2("use",this.frozen),t!=null)if(typeof t=="function")f(t,a);else if(typeof t=="object")Array.isArray(t)?d(t):c(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[m,...p]=h;f(m,p)}else c(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function c(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(h.plugins),h.settings&&(s.settings=H2(!0,s.settings,h.settings))}function d(h){let m=-1;if(h!=null)if(Array.isArray(h))for(;++m<h.length;){const p=h[m];o(p)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,m){let p=-1,y=-1;for(;++p<l.length;)if(l[p][0]===h){y=p;break}if(y===-1)l.push([h,...m]);else if(m.length>0){let[b,...v]=m;const k=l[y][1];Ou(k)&&Ou(b)&&(b=H2(!0,k,b)),l[y]=[h,b,...v]}}}}const rT=new Px().freeze();function Z2(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function $2(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function q2(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function df(e){if(!Ou(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ff(e,t,a){if(!a)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function P1(e){return lT(e)?e:new O7(e)}function lT(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function iT(e){return typeof e=="string"||sT(e)}function sT(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const oT="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",hf=[],pf={allowDangerousHtml:!0},cT=/^(https?|ircs?|mailto|xmpp)$/i,uT=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function xT(e){const t=dT(e),a=fT(e);return hT(t.runSync(t.parse(a),a),e)}function dT(e){const t=e.rehypePlugins||hf,a=e.remarkPlugins||hf,l=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...pf}:pf;return rT().use($_).use(a).use(Gj,l).use(t)}function fT(e){const t=e.children||"",a=new O7;return typeof t=="string"&&(a.value=t),a}function hT(e,t){const a=t.allowedElements,l=t.allowElement,s=t.components,o=t.disallowedElements,c=t.skipHtml,d=t.unwrapDisallowed,f=t.urlTransform||pT;for(const m of uT)Object.hasOwn(t,m.from)&&(""+m.from+(m.to?"use `"+m.to+"` instead":"remove it")+oT+m.id,void 0);return Lx(e,h),SM(e,{Fragment:x.Fragment,components:s,ignoreInvalidStyle:!0,jsx:x.jsx,jsxs:x.jsxs,passKeys:!0,passNode:!0});function h(m,p,y){if(m.type==="raw"&&y&&typeof p=="number")return c?y.children.splice(p,1):y.children[p]={type:"text",value:m.value},p;if(m.type==="element"){let b;for(b in O2)if(Object.hasOwn(O2,b)&&Object.hasOwn(m.properties,b)){const v=m.properties[b],k=O2[b];(k===null||k.includes(m.tagName))&&(m.properties[b]=f(String(v||""),b,m))}}if(m.type==="element"){let b=a?!a.includes(m.tagName):o?o.includes(m.tagName):!1;if(!b&&l&&typeof p=="number"&&(b=!l(m,p,y)),b&&y&&typeof p=="number")return d&&m.children?y.children.splice(p,1,...m.children):y.children.splice(p,1),p}}}function pT(e){const t=e.indexOf(":"),a=e.indexOf("?"),l=e.indexOf("#"),s=e.indexOf("/");return t===-1||s!==-1&&t>s||a!==-1&&t>a||l!==-1&&t>l||cT.test(e.slice(0,t))?e:""}function mT(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function L7(e,t,a){const s=go((a||{}).ignore||[]),o=gT(t);let c=-1;for(;++c<o.length;)R7(e,"text",d);function d(h,m){let p=-1,y;for(;++p<m.length;){const b=m[p],v=y?y.children:void 0;if(s(b,v?v.indexOf(b):void 0,y))return;y=b}if(y)return f(h,m)}function f(h,m){const p=m[m.length-1],y=o[c][0],b=o[c][1];let v=0;const C=p.children.indexOf(h);let A=!1,F=[];y.lastIndex=0;let M=y.exec(h.value);for(;M;){const N=M.index,S={index:M.index,input:M.input,stack:[...m,h]};let D=b(...M,S);if(typeof D=="string"&&(D=D.length>0?{type:"text",value:D}:void 0),D===!1?y.lastIndex=N+1:(v!==N&&F.push({type:"text",value:h.value.slice(v,N)}),Array.isArray(D)?F.push(...D):D&&F.push(D),v=N+M[0].length,A=!0),!y.global)break;M=y.exec(h.value)}return A?(v<h.value.length&&F.push({type:"text",value:h.value.slice(v)}),p.children.splice(C,1,...F)):F=[h],C+F.length}}function gT(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const a=!e[0]||Array.isArray(e[0])?e:[e];let l=-1;for(;++l<a.length;){const s=a[l];t.push([ET(s[0]),yT(s[1])])}return t}function ET(e){return typeof e=="string"?new RegExp(mT(e),"g"):e}function yT(e){return typeof e=="function"?e:function(){return e}}function bT(e){L7(e,[/\r?\n|\r/g,vT])}function vT(){return{type:"break"}}function CT(){return function(e){bT(e)}}function mf(e,t){const a=String(e);if(typeof t!="string")throw new TypeError("Expected character");let l=0,s=a.indexOf(t);for(;s!==-1;)l++,s=a.indexOf(t,s+t.length);return l}const Q2="phrasing",Y2=["autolink","link","image","label"];function kT(){return{transforms:[MT],enter:{literalAutolink:BT,literalAutolinkEmail:K2,literalAutolinkHttp:K2,literalAutolinkWww:K2},exit:{literalAutolink:ST,literalAutolinkEmail:FT,literalAutolinkHttp:wT,literalAutolinkWww:DT}}}function AT(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Q2,notInConstruct:Y2},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Q2,notInConstruct:Y2},{character:":",before:"[ps]",after:"\\/",inConstruct:Q2,notInConstruct:Y2}]}}function BT(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function K2(e){this.config.enter.autolinkProtocol.call(this,e)}function wT(e){this.config.exit.autolinkProtocol.call(this,e)}function DT(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function FT(e){this.config.exit.autolinkEmail.call(this,e)}function ST(e){this.exit(e)}function MT(e){L7(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,NT],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),_T]],{ignore:["link","linkReference"]})}function NT(e,t,a,l,s){let o="";if(!P7(s)||(/^w/i.test(t)&&(a=t+a,t="",o="http://"),!jT(a)))return!1;const c=TT(a+l);if(!c[0])return!1;const d={type:"link",title:null,url:o+t+c[0],children:[{type:"text",value:t+c[0]}]};return c[1]?[d,{type:"text",value:c[1]}]:d}function _T(e,t,a,l){return!P7(l,!0)||/[-\d_]$/.test(a)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+a,children:[{type:"text",value:t+"@"+a}]}}function jT(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function TT(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let a=t[0],l=a.indexOf(")");const s=mf(e,"(");let o=mf(e,")");for(;l!==-1&&s>o;)e+=a.slice(0,l+1),a=a.slice(l+1),l=a.indexOf(")"),o++;return[e,a]}function P7(e,t){const a=e.input.charCodeAt(e.index-1);return(e.index===0||zr(a)||ho(a))&&(!t||a!==47)}G7.peek=IT;function zT(){this.buffer()}function RT(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function OT(){this.buffer()}function LT(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function PT(e){const t=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=Pn(this.sliceSerialize(e)).toLowerCase(),a.label=t}function GT(e){this.exit(e)}function HT(e){const t=this.resume(),a=this.stack[this.stack.length-1];a.type,a.identifier=Pn(this.sliceSerialize(e)).toLowerCase(),a.label=t}function VT(e){this.exit(e)}function IT(){return"["}function G7(e,t,a,l){const s=a.createTracker(l);let o=s.move("[^");const c=a.enter("footnoteReference"),d=a.enter("reference");return o+=s.move(a.safe(a.associationId(e),{after:"]",before:o})),d(),c(),o+=s.move("]"),o}function UT(){return{enter:{gfmFootnoteCallString:zT,gfmFootnoteCall:RT,gfmFootnoteDefinitionLabelString:OT,gfmFootnoteDefinition:LT},exit:{gfmFootnoteCallString:PT,gfmFootnoteCall:GT,gfmFootnoteDefinitionLabelString:HT,gfmFootnoteDefinition:VT}}}function ZT(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:a,footnoteReference:G7},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function a(l,s,o,c){const d=o.createTracker(c);let f=d.move("[^");const h=o.enter("footnoteDefinition"),m=o.enter("label");return f+=d.move(o.safe(o.associationId(l),{before:f,after:"]"})),m(),f+=d.move("]:"),l.children&&l.children.length>0&&(d.shift(4),f+=d.move((t?`
27
+ `:" ")+o.indentLines(o.containerFlow(l,d.current()),t?H7:$T))),h(),f}}function $T(e,t,a){return t===0?e:H7(e,t,a)}function H7(e,t,a){return(a?"":" ")+e}const qT=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];V7.peek=WT;function QT(){return{canContainEols:["delete"],enter:{strikethrough:KT},exit:{strikethrough:XT}}}function YT(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:qT}],handlers:{delete:V7}}}function KT(e){this.enter({type:"delete",children:[]},e)}function XT(e){this.exit(e)}function V7(e,t,a,l){const s=a.createTracker(l),o=a.enter("strikethrough");let c=s.move("~~");return c+=a.containerPhrasing(e,{...s.current(),before:c,after:"~"}),c+=s.move("~~"),o(),c}function WT(){return"~"}function JT(e){return e.length}function ez(e,t){const a=t||{},l=(a.align||[]).concat(),s=a.stringLength||JT,o=[],c=[],d=[],f=[];let h=0,m=-1;for(;++m<e.length;){const k=[],C=[];let A=-1;for(e[m].length>h&&(h=e[m].length);++A<e[m].length;){const F=tz(e[m][A]);if(a.alignDelimiters!==!1){const M=s(F);C[A]=M,(f[A]===void 0||M>f[A])&&(f[A]=M)}k.push(F)}c[m]=k,d[m]=C}let p=-1;if(typeof l=="object"&&"length"in l)for(;++p<h;)o[p]=gf(l[p]);else{const k=gf(l);for(;++p<h;)o[p]=k}p=-1;const y=[],b=[];for(;++p<h;){const k=o[p];let C="",A="";k===99?(C=":",A=":"):k===108?C=":":k===114&&(A=":");let F=a.alignDelimiters===!1?1:Math.max(1,f[p]-C.length-A.length);const M=C+"-".repeat(F)+A;a.alignDelimiters!==!1&&(F=C.length+F+A.length,F>f[p]&&(f[p]=F),b[p]=F),y[p]=M}c.splice(1,0,y),d.splice(1,0,b),m=-1;const v=[];for(;++m<c.length;){const k=c[m],C=d[m];p=-1;const A=[];for(;++p<h;){const F=k[p]||"";let M="",N="";if(a.alignDelimiters!==!1){const S=f[p]-(C[p]||0),D=o[p];D===114?M=" ".repeat(S):D===99?S%2?(M=" ".repeat(S/2+.5),N=" ".repeat(S/2-.5)):(M=" ".repeat(S/2),N=M):N=" ".repeat(S)}a.delimiterStart!==!1&&!p&&A.push("|"),a.padding!==!1&&!(a.alignDelimiters===!1&&F==="")&&(a.delimiterStart!==!1||p)&&A.push(" "),a.alignDelimiters!==!1&&A.push(M),A.push(F),a.alignDelimiters!==!1&&A.push(N),a.padding!==!1&&A.push(" "),(a.delimiterEnd!==!1||p!==h-1)&&A.push("|")}v.push(a.delimiterEnd===!1?A.join("").replace(/ +$/,""):A.join(""))}return v.join(`
28
+ `)}function tz(e){return e==null?"":String(e)}function gf(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function nz(e,t,a,l){const s=a.enter("blockquote"),o=a.createTracker(l);o.move("> "),o.shift(2);const c=a.indentLines(a.containerFlow(e,o.current()),az);return s(),c}function az(e,t,a){return">"+(a?"":" ")+e}function rz(e,t){return Ef(e,t.inConstruct,!0)&&!Ef(e,t.notInConstruct,!1)}function Ef(e,t,a){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return a;let l=-1;for(;++l<t.length;)if(e.includes(t[l]))return!0;return!1}function yf(e,t,a,l){let s=-1;for(;++s<a.unsafe.length;)if(a.unsafe[s].character===`
29
+ `&&rz(a.stack,a.unsafe[s]))return/[ \t]/.test(l.before)?"":" ";return`\\
30
+ `}function lz(e,t){const a=String(e);let l=a.indexOf(t),s=l,o=0,c=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;l!==-1;)l===s?++o>c&&(c=o):o=1,s=l+t.length,l=a.indexOf(t,s);return c}function iz(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function sz(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function oz(e,t,a,l){const s=sz(a),o=e.value||"",c=s==="`"?"GraveAccent":"Tilde";if(iz(e,a)){const p=a.enter("codeIndented"),y=a.indentLines(o,cz);return p(),y}const d=a.createTracker(l),f=s.repeat(Math.max(lz(o,s)+1,3)),h=a.enter("codeFenced");let m=d.move(f);if(e.lang){const p=a.enter(`codeFencedLang${c}`);m+=d.move(a.safe(e.lang,{before:m,after:" ",encode:["`"],...d.current()})),p()}if(e.lang&&e.meta){const p=a.enter(`codeFencedMeta${c}`);m+=d.move(" "),m+=d.move(a.safe(e.meta,{before:m,after:`
31
+ `,encode:["`"],...d.current()})),p()}return m+=d.move(`
32
+ `),o&&(m+=d.move(o+`
33
+ `)),m+=d.move(f),h(),m}function cz(e,t,a){return(a?"":" ")+e}function Gx(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function uz(e,t,a,l){const s=Gx(a),o=s==='"'?"Quote":"Apostrophe",c=a.enter("definition");let d=a.enter("label");const f=a.createTracker(l);let h=f.move("[");return h+=f.move(a.safe(a.associationId(e),{before:h,after:"]",...f.current()})),h+=f.move("]: "),d(),!e.url||/[\0- \u007F]/.test(e.url)?(d=a.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(a.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(d=a.enter("destinationRaw"),h+=f.move(a.safe(e.url,{before:h,after:e.title?" ":`
34
+ `,...f.current()}))),d(),e.title&&(d=a.enter(`title${o}`),h+=f.move(" "+s),h+=f.move(a.safe(e.title,{before:h,after:s,...f.current()})),h+=f.move(s),d()),c(),h}function xz(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function ts(e){return"&#x"+e.toString(16).toUpperCase()+";"}function lo(e,t,a){const l=Ml(e),s=Ml(t);return l===void 0?s===void 0?a==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:l===1?s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}I7.peek=dz;function I7(e,t,a,l){const s=xz(a),o=a.enter("emphasis"),c=a.createTracker(l),d=c.move(s);let f=c.move(a.containerPhrasing(e,{after:s,before:d,...c.current()}));const h=f.charCodeAt(0),m=lo(l.before.charCodeAt(l.before.length-1),h,s);m.inside&&(f=ts(h)+f.slice(1));const p=f.charCodeAt(f.length-1),y=lo(l.after.charCodeAt(0),p,s);y.inside&&(f=f.slice(0,-1)+ts(p));const b=c.move(s);return o(),a.attentionEncodeSurroundingInfo={after:y.outside,before:m.outside},d+f+b}function dz(e,t,a){return a.options.emphasis||"*"}function fz(e,t){let a=!1;return Lx(e,function(l){if("value"in l&&/\r?\n|\r/.test(l.value)||l.type==="break")return a=!0,zu}),!!((!e.depth||e.depth<3)&&Nx(e)&&(t.options.setext||a))}function hz(e,t,a,l){const s=Math.max(Math.min(6,e.depth||1),1),o=a.createTracker(l);if(fz(e,a)){const m=a.enter("headingSetext"),p=a.enter("phrasing"),y=a.containerPhrasing(e,{...o.current(),before:`
35
+ `,after:`
36
+ `});return p(),m(),y+`
37
+ `+(s===1?"=":"-").repeat(y.length-(Math.max(y.lastIndexOf("\r"),y.lastIndexOf(`
38
+ `))+1))}const c="#".repeat(s),d=a.enter("headingAtx"),f=a.enter("phrasing");o.move(c+" ");let h=a.containerPhrasing(e,{before:"# ",after:`
39
+ `,...o.current()});return/^[\t ]/.test(h)&&(h=ts(h.charCodeAt(0))+h.slice(1)),h=h?c+" "+h:c,a.options.closeAtx&&(h+=" "+c),f(),d(),h}U7.peek=pz;function U7(e){return e.value||""}function pz(){return"<"}Z7.peek=mz;function Z7(e,t,a,l){const s=Gx(a),o=s==='"'?"Quote":"Apostrophe",c=a.enter("image");let d=a.enter("label");const f=a.createTracker(l);let h=f.move("![");return h+=f.move(a.safe(e.alt,{before:h,after:"]",...f.current()})),h+=f.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=a.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(a.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(d=a.enter("destinationRaw"),h+=f.move(a.safe(e.url,{before:h,after:e.title?" ":")",...f.current()}))),d(),e.title&&(d=a.enter(`title${o}`),h+=f.move(" "+s),h+=f.move(a.safe(e.title,{before:h,after:s,...f.current()})),h+=f.move(s),d()),h+=f.move(")"),c(),h}function mz(){return"!"}$7.peek=gz;function $7(e,t,a,l){const s=e.referenceType,o=a.enter("imageReference");let c=a.enter("label");const d=a.createTracker(l);let f=d.move("![");const h=a.safe(e.alt,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),c();const m=a.stack;a.stack=[],c=a.enter("reference");const p=a.safe(a.associationId(e),{before:f,after:"]",...d.current()});return c(),a.stack=m,o(),s==="full"||!h||h!==p?f+=d.move(p+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function gz(){return"!"}q7.peek=Ez;function q7(e,t,a){let l=e.value||"",s="`",o=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(l);)s+="`";for(/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^`|`$/.test(l))&&(l=" "+l+" ");++o<a.unsafe.length;){const c=a.unsafe[o],d=a.compilePattern(c);let f;if(c.atBreak)for(;f=d.exec(l);){let h=f.index;l.charCodeAt(h)===10&&l.charCodeAt(h-1)===13&&h--,l=l.slice(0,h)+" "+l.slice(f.index+1)}}return s+l+s}function Ez(){return"`"}function Q7(e,t){const a=Nx(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(a===e.url||"mailto:"+a===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Y7.peek=yz;function Y7(e,t,a,l){const s=Gx(a),o=s==='"'?"Quote":"Apostrophe",c=a.createTracker(l);let d,f;if(Q7(e,a)){const m=a.stack;a.stack=[],d=a.enter("autolink");let p=c.move("<");return p+=c.move(a.containerPhrasing(e,{before:p,after:">",...c.current()})),p+=c.move(">"),d(),a.stack=m,p}d=a.enter("link"),f=a.enter("label");let h=c.move("[");return h+=c.move(a.containerPhrasing(e,{before:h,after:"](",...c.current()})),h+=c.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=a.enter("destinationLiteral"),h+=c.move("<"),h+=c.move(a.safe(e.url,{before:h,after:">",...c.current()})),h+=c.move(">")):(f=a.enter("destinationRaw"),h+=c.move(a.safe(e.url,{before:h,after:e.title?" ":")",...c.current()}))),f(),e.title&&(f=a.enter(`title${o}`),h+=c.move(" "+s),h+=c.move(a.safe(e.title,{before:h,after:s,...c.current()})),h+=c.move(s),f()),h+=c.move(")"),d(),h}function yz(e,t,a){return Q7(e,a)?"<":"["}K7.peek=bz;function K7(e,t,a,l){const s=e.referenceType,o=a.enter("linkReference");let c=a.enter("label");const d=a.createTracker(l);let f=d.move("[");const h=a.containerPhrasing(e,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),c();const m=a.stack;a.stack=[],c=a.enter("reference");const p=a.safe(a.associationId(e),{before:f,after:"]",...d.current()});return c(),a.stack=m,o(),s==="full"||!h||h!==p?f+=d.move(p+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function bz(){return"["}function Hx(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function vz(e){const t=Hx(e),a=e.options.bulletOther;if(!a)return t==="*"?"-":"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(a===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+a+"`) to be different");return a}function Cz(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function X7(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function kz(e,t,a,l){const s=a.enter("list"),o=a.bulletCurrent;let c=e.ordered?Cz(a):Hx(a);const d=e.ordered?c==="."?")":".":vz(a);let f=t&&a.bulletLastUsed?c===a.bulletLastUsed:!1;if(!e.ordered){const m=e.children?e.children[0]:void 0;if((c==="*"||c==="-")&&m&&(!m.children||!m.children[0])&&a.stack[a.stack.length-1]==="list"&&a.stack[a.stack.length-2]==="listItem"&&a.stack[a.stack.length-3]==="list"&&a.stack[a.stack.length-4]==="listItem"&&a.indexStack[a.indexStack.length-1]===0&&a.indexStack[a.indexStack.length-2]===0&&a.indexStack[a.indexStack.length-3]===0&&(f=!0),X7(a)===c&&m){let p=-1;for(;++p<e.children.length;){const y=e.children[p];if(y&&y.type==="listItem"&&y.children&&y.children[0]&&y.children[0].type==="thematicBreak"){f=!0;break}}}}f&&(c=d),a.bulletCurrent=c;const h=a.containerFlow(e,l);return a.bulletLastUsed=c,a.bulletCurrent=o,s(),h}function Az(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Bz(e,t,a,l){const s=Az(a);let o=a.bulletCurrent||Hx(a);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(a.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let c=o.length+1;(s==="tab"||s==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(c=Math.ceil(c/4)*4);const d=a.createTracker(l);d.move(o+" ".repeat(c-o.length)),d.shift(c);const f=a.enter("listItem"),h=a.indentLines(a.containerFlow(e,d.current()),m);return f(),h;function m(p,y,b){return y?(b?"":" ".repeat(c))+p:(b?o:o+" ".repeat(c-o.length))+p}}function wz(e,t,a,l){const s=a.enter("paragraph"),o=a.enter("phrasing"),c=a.containerPhrasing(e,l);return o(),s(),c}const Dz=go(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Fz(e,t,a,l){return(e.children.some(function(c){return Dz(c)})?a.containerPhrasing:a.containerFlow).call(a,e,l)}function Sz(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}W7.peek=Mz;function W7(e,t,a,l){const s=Sz(a),o=a.enter("strong"),c=a.createTracker(l),d=c.move(s+s);let f=c.move(a.containerPhrasing(e,{after:s,before:d,...c.current()}));const h=f.charCodeAt(0),m=lo(l.before.charCodeAt(l.before.length-1),h,s);m.inside&&(f=ts(h)+f.slice(1));const p=f.charCodeAt(f.length-1),y=lo(l.after.charCodeAt(0),p,s);y.inside&&(f=f.slice(0,-1)+ts(p));const b=c.move(s+s);return o(),a.attentionEncodeSurroundingInfo={after:y.outside,before:m.outside},d+f+b}function Mz(e,t,a){return a.options.strong||"*"}function Nz(e,t,a,l){return a.safe(e.value,l)}function _z(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function jz(e,t,a){const l=(X7(a)+(a.options.ruleSpaces?" ":"")).repeat(_z(a));return a.options.ruleSpaces?l.slice(0,-1):l}const J7={blockquote:nz,break:yf,code:oz,definition:uz,emphasis:I7,hardBreak:yf,heading:hz,html:U7,image:Z7,imageReference:$7,inlineCode:q7,link:Y7,linkReference:K7,list:kz,listItem:Bz,paragraph:wz,root:Fz,strong:W7,text:Nz,thematicBreak:jz};function Tz(){return{enter:{table:zz,tableData:bf,tableHeader:bf,tableRow:Oz},exit:{codeText:Lz,table:Rz,tableData:X2,tableHeader:X2,tableRow:X2}}}function zz(e){const t=e._align;this.enter({type:"table",align:t.map(function(a){return a==="none"?null:a}),children:[]},e),this.data.inTable=!0}function Rz(e){this.exit(e),this.data.inTable=void 0}function Oz(e){this.enter({type:"tableRow",children:[]},e)}function X2(e){this.exit(e)}function bf(e){this.enter({type:"tableCell",children:[]},e)}function Lz(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Pz));const a=this.stack[this.stack.length-1];a.type,a.value=t,this.exit(e)}function Pz(e,t){return t==="|"?t:e}function Gz(e){const t=e||{},a=t.tableCellPadding,l=t.tablePipeAlign,s=t.stringLength,o=a?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
40
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:y,table:c,tableCell:f,tableRow:d}};function c(b,v,k,C){return h(m(b,k,C),b.align)}function d(b,v,k,C){const A=p(b,k,C),F=h([A]);return F.slice(0,F.indexOf(`
41
+ `))}function f(b,v,k,C){const A=k.enter("tableCell"),F=k.enter("phrasing"),M=k.containerPhrasing(b,{...C,before:o,after:o});return F(),A(),M}function h(b,v){return ez(b,{align:v,alignDelimiters:l,padding:a,stringLength:s})}function m(b,v,k){const C=b.children;let A=-1;const F=[],M=v.enter("table");for(;++A<C.length;)F[A]=p(C[A],v,k);return M(),F}function p(b,v,k){const C=b.children;let A=-1;const F=[],M=v.enter("tableRow");for(;++A<C.length;)F[A]=f(C[A],b,v,k);return M(),F}function y(b,v,k){let C=J7.inlineCode(b,v,k);return k.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function Hz(){return{exit:{taskListCheckValueChecked:vf,taskListCheckValueUnchecked:vf,paragraph:Iz}}}function Vz(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Uz}}}function vf(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Iz(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const a=this.stack[this.stack.length-1];a.type;const l=a.children[0];if(l&&l.type==="text"){const s=t.children;let o=-1,c;for(;++o<s.length;){const d=s[o];if(d.type==="paragraph"){c=d;break}}c===a&&(l.value=l.value.slice(1),l.value.length===0?a.children.shift():a.position&&l.position&&typeof l.position.start.offset=="number"&&(l.position.start.column++,l.position.start.offset++,a.position.start=Object.assign({},l.position.start)))}}this.exit(e)}function Uz(e,t,a,l){const s=e.children[0],o=typeof e.checked=="boolean"&&s&&s.type==="paragraph",c="["+(e.checked?"x":" ")+"] ",d=a.createTracker(l);o&&d.move(c);let f=J7.listItem(e,t,a,{...l,...d.current()});return o&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),f;function h(m){return m+c}}function Zz(){return[kT(),UT(),QT(),Tz(),Hz()]}function $z(e){return{extensions:[AT(),ZT(e),YT(),Gz(e),Vz()]}}const qz={tokenize:Jz,partial:!0},eh={tokenize:eR,partial:!0},th={tokenize:tR,partial:!0},nh={tokenize:nR,partial:!0},Qz={tokenize:aR,partial:!0},ah={name:"wwwAutolink",tokenize:Xz,previous:lh},rh={name:"protocolAutolink",tokenize:Wz,previous:ih},wa={name:"emailAutolink",tokenize:Kz,previous:sh},Kn={};function Yz(){return{text:Kn}}let Fr=48;for(;Fr<123;)Kn[Fr]=wa,Fr++,Fr===58?Fr=65:Fr===91&&(Fr=97);Kn[43]=wa;Kn[45]=wa;Kn[46]=wa;Kn[95]=wa;Kn[72]=[wa,rh];Kn[104]=[wa,rh];Kn[87]=[wa,ah];Kn[119]=[wa,ah];function Kz(e,t,a){const l=this;let s,o;return c;function c(p){return!Pu(p)||!sh.call(l,l.previous)||Vx(l.events)?a(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(p))}function d(p){return Pu(p)?(e.consume(p),d):p===64?(e.consume(p),f):a(p)}function f(p){return p===46?e.check(Qz,m,h)(p):p===45||p===95||R0(p)?(o=!0,e.consume(p),f):m(p)}function h(p){return e.consume(p),s=!0,f}function m(p){return o&&s&&H0(l.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):a(p)}}function Xz(e,t,a){const l=this;return s;function s(c){return c!==87&&c!==119||!lh.call(l,l.previous)||Vx(l.events)?a(c):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(qz,e.attempt(eh,e.attempt(th,o),a),a)(c))}function o(c){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(c)}}function Wz(e,t,a){const l=this;let s="",o=!1;return c;function c(p){return(p===72||p===104)&&ih.call(l,l.previous)&&!Vx(l.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),s+=String.fromCodePoint(p),e.consume(p),d):a(p)}function d(p){if(H0(p)&&s.length<5)return s+=String.fromCodePoint(p),e.consume(p),d;if(p===58){const y=s.toLowerCase();if(y==="http"||y==="https")return e.consume(p),f}return a(p)}function f(p){return p===47?(e.consume(p),o?h:(o=!0,f)):a(p)}function h(p){return p===null||no(p)||Ht(p)||zr(p)||ho(p)?a(p):e.attempt(eh,e.attempt(th,m),a)(p)}function m(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function Jz(e,t,a){let l=0;return s;function s(c){return(c===87||c===119)&&l<3?(l++,e.consume(c),s):c===46&&l===3?(e.consume(c),o):a(c)}function o(c){return c===null?a(c):t(c)}}function eR(e,t,a){let l,s,o;return c;function c(h){return h===46||h===95?e.check(nh,f,d)(h):h===null||Ht(h)||zr(h)||h!==45&&ho(h)?f(h):(o=!0,e.consume(h),c)}function d(h){return h===95?l=!0:(s=l,l=void 0),e.consume(h),c}function f(h){return s||l||!o?a(h):t(h)}}function tR(e,t){let a=0,l=0;return s;function s(c){return c===40?(a++,e.consume(c),s):c===41&&l<a?o(c):c===33||c===34||c===38||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===60||c===63||c===93||c===95||c===126?e.check(nh,t,o)(c):c===null||Ht(c)||zr(c)?t(c):(e.consume(c),s)}function o(c){return c===41&&l++,e.consume(c),s}}function nR(e,t,a){return l;function l(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(e.consume(d),l):d===38?(e.consume(d),o):d===93?(e.consume(d),s):d===60||d===null||Ht(d)||zr(d)?t(d):a(d)}function s(d){return d===null||d===40||d===91||Ht(d)||zr(d)?t(d):l(d)}function o(d){return H0(d)?c(d):a(d)}function c(d){return d===59?(e.consume(d),l):H0(d)?(e.consume(d),c):a(d)}}function aR(e,t,a){return l;function l(o){return e.consume(o),s}function s(o){return R0(o)?a(o):t(o)}}function lh(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ht(e)}function ih(e){return!H0(e)}function sh(e){return!(e===47||Pu(e))}function Pu(e){return e===43||e===45||e===46||e===95||R0(e)}function Vx(e){let t=e.length,a=!1;for(;t--;){const l=e[t][1];if((l.type==="labelLink"||l.type==="labelImage")&&!l._balanced){a=!0;break}if(l._gfmAutolinkLiteralWalkedInto){a=!1;break}}return e.length>0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}const rR={tokenize:dR,partial:!0};function lR(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:cR,continuation:{tokenize:uR},exit:xR}},text:{91:{name:"gfmFootnoteCall",tokenize:oR},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:iR,resolveTo:sR}}}}function iR(e,t,a){const l=this;let s=l.events.length;const o=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]);let c;for(;s--;){const f=l.events[s][1];if(f.type==="labelImage"){c=f;break}if(f.type==="gfmFootnoteCall"||f.type==="labelLink"||f.type==="label"||f.type==="image"||f.type==="link")break}return d;function d(f){if(!c||!c._balanced)return a(f);const h=Pn(l.sliceSerialize({start:c.end,end:l.now()}));return h.codePointAt(0)!==94||!o.includes(h.slice(1))?a(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),t(f))}}function sR(e,t){let a=e.length;for(;a--;)if(e[a][1].type==="labelImage"&&e[a][0]==="enter"){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";const l={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},c={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},d=[e[a+1],e[a+2],["enter",l,t],e[a+3],e[a+4],["enter",s,t],["exit",s,t],["enter",o,t],["enter",c,t],["exit",c,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",l,t]];return e.splice(a,e.length-a+1,...d),e}function oR(e,t,a){const l=this,s=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]);let o=0,c;return d;function d(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),f}function f(p){return p!==94?a(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(p){if(o>999||p===93&&!c||p===null||p===91||Ht(p))return a(p);if(p===93){e.exit("chunkString");const y=e.exit("gfmFootnoteCallString");return s.includes(Pn(l.sliceSerialize(y)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):a(p)}return Ht(p)||(c=!0),o++,e.consume(p),p===92?m:h}function m(p){return p===91||p===92||p===93?(e.consume(p),o++,h):h(p)}}function cR(e,t,a){const l=this,s=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]);let o,c=0,d;return f;function f(v){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(v){return v===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",m):a(v)}function m(v){if(c>999||v===93&&!d||v===null||v===91||Ht(v))return a(v);if(v===93){e.exit("chunkString");const k=e.exit("gfmFootnoteDefinitionLabelString");return o=Pn(l.sliceSerialize(k)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),y}return Ht(v)||(d=!0),c++,e.consume(v),v===92?p:m}function p(v){return v===91||v===92||v===93?(e.consume(v),c++,m):m(v)}function y(v){return v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),s.includes(o)||s.push(o),gt(e,b,"gfmFootnoteDefinitionWhitespace")):a(v)}function b(v){return t(v)}}function uR(e,t,a){return e.check(ds,t,e.attempt(rR,t,a))}function xR(e){e.exit("gfmFootnoteDefinition")}function dR(e,t,a){const l=this;return gt(e,s,"gfmFootnoteDefinitionIndent",5);function s(o){const c=l.events[l.events.length-1];return c&&c[1].type==="gfmFootnoteDefinitionIndent"&&c[2].sliceSerialize(c[1],!0).length===4?t(o):a(o)}}function fR(e){let a=(e||{}).singleTilde;const l={name:"strikethrough",tokenize:o,resolveAll:s};return a==null&&(a=!0),{text:{126:l},insideSpan:{null:[l]},attentionMarkers:{null:[126]}};function s(c,d){let f=-1;for(;++f<c.length;)if(c[f][0]==="enter"&&c[f][1].type==="strikethroughSequenceTemporary"&&c[f][1]._close){let h=f;for(;h--;)if(c[h][0]==="exit"&&c[h][1].type==="strikethroughSequenceTemporary"&&c[h][1]._open&&c[f][1].end.offset-c[f][1].start.offset===c[h][1].end.offset-c[h][1].start.offset){c[f][1].type="strikethroughSequence",c[h][1].type="strikethroughSequence";const m={type:"strikethrough",start:Object.assign({},c[h][1].start),end:Object.assign({},c[f][1].end)},p={type:"strikethroughText",start:Object.assign({},c[h][1].end),end:Object.assign({},c[f][1].start)},y=[["enter",m,d],["enter",c[h][1],d],["exit",c[h][1],d],["enter",p,d]],b=d.parser.constructs.insideSpan.null;b&&fn(y,y.length,0,po(b,c.slice(h+1,f),d)),fn(y,y.length,0,[["exit",p,d],["enter",c[f][1],d],["exit",c[f][1],d],["exit",m,d]]),fn(c,h-1,f-h+3,y),f=h+y.length-2;break}}for(f=-1;++f<c.length;)c[f][1].type==="strikethroughSequenceTemporary"&&(c[f][1].type="data");return c}function o(c,d,f){const h=this.previous,m=this.events;let p=0;return y;function y(v){return h===126&&m[m.length-1][1].type!=="characterEscape"?f(v):(c.enter("strikethroughSequenceTemporary"),b(v))}function b(v){const k=Ml(h);if(v===126)return p>1?f(v):(c.consume(v),p++,b);if(p<2&&!a)return f(v);const C=c.exit("strikethroughSequenceTemporary"),A=Ml(v);return C._open=!A||A===2&&!!k,C._close=!k||k===2&&!!A,d(v)}}}class hR{constructor(){this.map=[]}add(t,a,l){pR(this,t,a,l)}consume(t){if(this.map.sort(function(o,c){return o[0]-c[0]}),this.map.length===0)return;let a=this.map.length;const l=[];for(;a>0;)a-=1,l.push(t.slice(this.map[a][0]+this.map[a][1]),this.map[a][2]),t.length=this.map[a][0];l.push(t.slice()),t.length=0;let s=l.pop();for(;s;){for(const o of s)t.push(o);s=l.pop()}this.map.length=0}}function pR(e,t,a,l){let s=0;if(!(a===0&&l.length===0)){for(;s<e.map.length;){if(e.map[s][0]===t){e.map[s][1]+=a,e.map[s][2].push(...l);return}s+=1}e.map.push([t,a,l])}}function mR(e,t){let a=!1;const l=[];for(;t<e.length;){const s=e[t];if(a){if(s[0]==="enter")s[1].type==="tableContent"&&l.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const o=l.length-1;l[o]=l[o]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(a=!0);t+=1}return l}function gR(){return{flow:{null:{name:"table",tokenize:ER,resolveAll:yR}}}}function ER(e,t,a){const l=this;let s=0,o=0,c;return d;function d(T){let V=l.events.length-1;for(;V>-1;){const ee=l.events[V][1].type;if(ee==="lineEnding"||ee==="linePrefix")V--;else break}const Z=V>-1?l.events[V][1].type:null,re=Z==="tableHead"||Z==="tableRow"?D:f;return re===D&&l.parser.lazy[l.now().line]?a(T):re(T)}function f(T){return e.enter("tableHead"),e.enter("tableRow"),h(T)}function h(T){return T===124||(c=!0,o+=1),m(T)}function m(T){return T===null?a(T):$e(T)?o>1?(o=0,l.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),b):a(T):dt(T)?gt(e,m,"whitespace")(T):(o+=1,c&&(c=!1,s+=1),T===124?(e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),c=!0,m):(e.enter("data"),p(T)))}function p(T){return T===null||T===124||Ht(T)?(e.exit("data"),m(T)):(e.consume(T),T===92?y:p)}function y(T){return T===92||T===124?(e.consume(T),p):p(T)}function b(T){return l.interrupt=!1,l.parser.lazy[l.now().line]?a(T):(e.enter("tableDelimiterRow"),c=!1,dt(T)?gt(e,v,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):v(T))}function v(T){return T===45||T===58?C(T):T===124?(c=!0,e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),k):S(T)}function k(T){return dt(T)?gt(e,C,"whitespace")(T):C(T)}function C(T){return T===58?(o+=1,c=!0,e.enter("tableDelimiterMarker"),e.consume(T),e.exit("tableDelimiterMarker"),A):T===45?(o+=1,A(T)):T===null||$e(T)?N(T):S(T)}function A(T){return T===45?(e.enter("tableDelimiterFiller"),F(T)):S(T)}function F(T){return T===45?(e.consume(T),F):T===58?(c=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(T),e.exit("tableDelimiterMarker"),M):(e.exit("tableDelimiterFiller"),M(T))}function M(T){return dt(T)?gt(e,N,"whitespace")(T):N(T)}function N(T){return T===124?v(T):T===null||$e(T)?!c||s!==o?S(T):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(T)):S(T)}function S(T){return a(T)}function D(T){return e.enter("tableRow"),R(T)}function R(T){return T===124?(e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),R):T===null||$e(T)?(e.exit("tableRow"),t(T)):dt(T)?gt(e,R,"whitespace")(T):(e.enter("data"),O(T))}function O(T){return T===null||T===124||Ht(T)?(e.exit("data"),R(T)):(e.consume(T),T===92?P:O)}function P(T){return T===92||T===124?(e.consume(T),O):O(T)}}function yR(e,t){let a=-1,l=!0,s=0,o=[0,0,0,0],c=[0,0,0,0],d=!1,f=0,h,m,p;const y=new hR;for(;++a<e.length;){const b=e[a],v=b[1];b[0]==="enter"?v.type==="tableHead"?(d=!1,f!==0&&(Cf(y,t,f,h,m),m=void 0,f=0),h={type:"table",start:Object.assign({},v.start),end:Object.assign({},v.end)},y.add(a,0,[["enter",h,t]])):v.type==="tableRow"||v.type==="tableDelimiterRow"?(l=!0,p=void 0,o=[0,0,0,0],c=[0,a+1,0,0],d&&(d=!1,m={type:"tableBody",start:Object.assign({},v.start),end:Object.assign({},v.end)},y.add(a,0,[["enter",m,t]])),s=v.type==="tableDelimiterRow"?2:m?3:1):s&&(v.type==="data"||v.type==="tableDelimiterMarker"||v.type==="tableDelimiterFiller")?(l=!1,c[2]===0&&(o[1]!==0&&(c[0]=c[1],p=G1(y,t,o,s,void 0,p),o=[0,0,0,0]),c[2]=a)):v.type==="tableCellDivider"&&(l?l=!1:(o[1]!==0&&(c[0]=c[1],p=G1(y,t,o,s,void 0,p)),o=c,c=[o[1],a,0,0])):v.type==="tableHead"?(d=!0,f=a):v.type==="tableRow"||v.type==="tableDelimiterRow"?(f=a,o[1]!==0?(c[0]=c[1],p=G1(y,t,o,s,a,p)):c[1]!==0&&(p=G1(y,t,c,s,a,p)),s=0):s&&(v.type==="data"||v.type==="tableDelimiterMarker"||v.type==="tableDelimiterFiller")&&(c[3]=a)}for(f!==0&&Cf(y,t,f,h,m),y.consume(t.events),a=-1;++a<t.events.length;){const b=t.events[a];b[0]==="enter"&&b[1].type==="table"&&(b[1]._align=mR(t.events,a))}return e}function G1(e,t,a,l,s,o){const c=l===1?"tableHeader":l===2?"tableDelimiter":"tableData",d="tableContent";a[0]!==0&&(o.end=Object.assign({},Bl(t.events,a[0])),e.add(a[0],0,[["exit",o,t]]));const f=Bl(t.events,a[1]);if(o={type:c,start:Object.assign({},f),end:Object.assign({},f)},e.add(a[1],0,[["enter",o,t]]),a[2]!==0){const h=Bl(t.events,a[2]),m=Bl(t.events,a[3]),p={type:d,start:Object.assign({},h),end:Object.assign({},m)};if(e.add(a[2],0,[["enter",p,t]]),l!==2){const y=t.events[a[2]],b=t.events[a[3]];if(y[1].end=Object.assign({},b[1].end),y[1].type="chunkText",y[1].contentType="text",a[3]>a[2]+1){const v=a[2]+1,k=a[3]-a[2]-1;e.add(v,k,[])}}e.add(a[3]+1,0,[["exit",p,t]])}return s!==void 0&&(o.end=Object.assign({},Bl(t.events,s)),e.add(s,0,[["exit",o,t]]),o=void 0),o}function Cf(e,t,a,l,s){const o=[],c=Bl(t.events,a);s&&(s.end=Object.assign({},c),o.push(["exit",s,t])),l.end=Object.assign({},c),o.push(["exit",l,t]),e.add(a+1,0,o)}function Bl(e,t){const a=e[t],l=a[0]==="enter"?"start":"end";return a[1][l]}const bR={name:"tasklistCheck",tokenize:CR};function vR(){return{text:{91:bR}}}function CR(e,t,a){const l=this;return s;function s(f){return l.previous!==null||!l._gfmTasklistFirstContentOfListItem?a(f):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),o)}function o(f){return Ht(f)?(e.enter("taskListCheckValueUnchecked"),e.consume(f),e.exit("taskListCheckValueUnchecked"),c):f===88||f===120?(e.enter("taskListCheckValueChecked"),e.consume(f),e.exit("taskListCheckValueChecked"),c):a(f)}function c(f){return f===93?(e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),d):a(f)}function d(f){return $e(f)?t(f):dt(f)?e.check({tokenize:kR},t,a)(f):a(f)}}function kR(e,t,a){return gt(e,l,"whitespace");function l(s){return s===null?a(s):t(s)}}function AR(e){return m7([Yz(),lR(),fR(e),gR(),vR()])}const BR={};function wR(e){const t=this,a=e||BR,l=t.data(),s=l.micromarkExtensions||(l.micromarkExtensions=[]),o=l.fromMarkdownExtensions||(l.fromMarkdownExtensions=[]),c=l.toMarkdownExtensions||(l.toMarkdownExtensions=[]);s.push(AR(a)),o.push(Zz()),c.push($z(a))}const DR=200,oh=1e3;function FR(e,t){if(!e||e.length>oh)return null;let a;try{a=decodeURIComponent(e)}catch{return null}if(!h9(a)||a.includes("\0")||/^[a-z][a-z\d+.-]*:/i.test(a)||a.startsWith("//")||a.split("/").includes(".."))return null;if(a.startsWith("/")||a.startsWith("~/"))return a;const l=a.replace(/^(?:\.\/)+/,"");return l?t?`${t}/${l}`:l:null}function SR(e,t){if(!e||e.length>oh||e.includes("\0")||!/^\.context\/attachments\/[A-Za-z0-9]{6}\/[^/]+$/.test(e))return null;const a=h9(e)?"image":px(e)?"source":null;return a?{reference:t?`${t}/${e}`:e,kind:a}:null}function ch(e,t){const a=new Map;for(const l of t??[]){const s=l.slice(l.lastIndexOf("/")+1),o=a.get(s);o?o.push(l):a.set(s,[l])}return l=>{const s=MR(l);if(!s)return null;const{path:o,location:c}=s;if(o.startsWith("/")||o.startsWith("~/"))return o+c;if(!e)return null;const d=NR(a,o);return d?`${e}/${d}${c}`:null}}function MR(e){if(!e||e.length>DR||/\s/.test(e)||e.includes("://"))return null;const t=e.match(/:([1-9]\d*)(?::\d+)?$/),a=t?t[0]:"",l=t?e.slice(0,-a.length):e;return l.startsWith("../")||l.includes("/../")?null:px(l)?{path:l.startsWith("./")?l.slice(2):l,location:a}:null}function NR(e,t){const a=t.slice(t.lastIndexOf("/")+1),l=e.get(a);if(!l)return null;const s=l.filter(o=>o===t||o.endsWith(`/${t}`));return s.length===1?s[0]:null}const yo=w.createContext(null),_R=yo.Provider,jR=ch(null,void 0);function uh(e){const t=w.useContext(yo)?.resolveMention??jR;return e===null?null:t(e)}function xh(e){return FR(e,w.useContext(yo)?.worktree??null)}function TR(e){return SR(e,w.useContext(yo)?.worktree??null)}function zR(e){const t=e.regex,a={},l={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},l]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),c={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},d={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,s]};s.contains.push(d);const f={match:/\\"/},h={className:"string",begin:/'/,end:/'/},m={match:/\\'/},p={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,a]},y=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],b=e.SHEBANG({binary:`(${y.join("|")})`,relevance:10}),v={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},k=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],C=["true","false"],A={match:/(\/[a-z._-]+)+/},F=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],M=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],N=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],S=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:k,literal:C,built_in:[...F,...M,"set","shopt",...N,...S]},contains:[b,e.SHEBANG(),v,p,o,c,A,d,f,h,m,a]}}const RR=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,4}(-[0-9A-Fa-f][0-9A-Fa-f]{0,4})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),OR=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],LR=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],PR=[...OR,...LR],GR=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),HR=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),VR=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),IR=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function UR(e){const t=e.regex,a=RR(e),l={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},s="and or not only",o=/@-?\w[\w]*(-\w+)*/,c="[a-zA-Z-][a-zA-Z0-9_-]*",d=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[a.BLOCK_COMMENT,l,a.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+c,relevance:0},a.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+HR.join("|")+")"},{begin:":(:)?("+VR.join("|")+")"}]},a.CSS_VARIABLE,{className:"attribute",begin:"\\b("+IR.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[a.BLOCK_COMMENT,a.HEXCOLOR,a.IMPORTANT,a.CSS_NUMBER_MODE,a.UNICODE_RANGE,...d,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...d,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},a.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:o},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:s,attribute:GR.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...d,a.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+PR.join("|")+")\\b"}]}}function ZR(e){const t=e.regex,a={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},l=e.COMMENT();l.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const s={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},c={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},d={begin:/\[/,end:/\]/,contains:[l,o,s,c,a,"self"],relevance:0},f=/[A-Za-z0-9_-]+/,h=/"(\\"|[^"])*"/,m=/'[^']*'/,p=t.either(f,h,m),y=t.concat(p,"(\\s*\\.\\s*",p,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[l,{className:"section",begin:/\[+/,end:/\]+/},{begin:y,className:"attr",starts:{end:/$/,contains:[l,d,o,s,c,a]}}]}}const kf="[A-Za-z$_][0-9A-Za-z$_]*",$R=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],qR=["true","false","null","undefined","NaN","Infinity"],dh=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],fh=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],hh=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],QR=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],YR=[].concat(hh,dh,fh);function KR(e){const t=e.regex,a=(le,{after:xe})=>{const j="</"+le[0].slice(1);return le.input.indexOf(j,xe)!==-1},l=kf,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(le,xe)=>{const j=le[0].length+le.index,L=le.input[j];if(L==="<"||L===","){xe.ignoreMatch();return}L===">"&&(a(le,{after:j})||xe.ignoreMatch());let $;const z=le.input.substring(j);if($=z.match(/^\s*=/)){xe.ignoreMatch();return}if(($=z.match(/^\s+extends\s+/))&&$.index===0){xe.ignoreMatch();return}}},d={$pattern:kf,keyword:$R,literal:qR,built_in:YR,"variable.language":QR},f="[0-9](_?[0-9])*",h=`\\.(${f})`,m="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:`(\\b(${m})((${h})|\\.)?|(${h}))[eE][+-]?(${f})\\b`},{begin:`\\b(${m})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},b={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},v={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"css"}},k={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},C={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,y]},F={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:l+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},M=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,v,k,C,{match:/\$\d+/},p];y.contains=M.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(M)});const N=[].concat(F,y.contains),S=N.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat(N)}]),D={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:S},R={variants:[{match:[/class/,/\s+/,l,/\s+/,/extends/,/\s+/,t.concat(l,"(",t.concat(/\./,l),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,l],scope:{1:"keyword",3:"title.class"}}]},O={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...dh,...fh]}},P={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,l,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},V={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Z(le){return t.concat("(?!",le.join("|"),")")}const re={match:t.concat(/\b/,Z([...hh,"super","import","await"].map(le=>`${le}\\s*\\(`)),l,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},ee={begin:t.concat(/\./,t.lookahead(t.concat(l,/(?![0-9A-Za-z$_(])/))),end:l,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Q={match:[/get|set/,/\s+/,l,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},G="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",Y={match:[/const|var|let/,/\s+/,l,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(G)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:S,CLASS_REFERENCE:O},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),P,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,v,k,C,F,{match:/\$\d+/},p,O,{scope:"attr",match:l+t.lookahead(":"),relevance:0},Y,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,e.REGEXP_MODE,{className:"function",begin:G,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:S}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},T,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,e.inherit(e.TITLE_MODE,{begin:l,className:"title.function"})]},{match:/\.\.\./,relevance:0},ee,{match:"\\$"+l,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},re,V,R,Q,{match:/\$[(.]/}]}}const XR="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",WR={scope:"number",match:XR,relevance:0};function JR(e){const t={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},l=["true","false","null"],s={scope:"literal",beginKeywords:l.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:l},contains:[t,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,WR,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function eO(e){const t=e.regex,a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},l={begin:"^[-\\*]{3,}",end:"$"},s={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},o={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},c={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},d=/[A-Za-z][A-Za-z0-9+.-]*/,f={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,d,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},h={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},m={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},p=e.inherit(h,{contains:[]}),y=e.inherit(m,{contains:[]});h.contains.push(y),m.contains.push(p);let b=[a,f];return[h,m,p,y].forEach(A=>{A.contains=A.contains.concat(b)}),b=b.concat(h,m),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:b},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:b}]}]},a,o,h,m,{className:"quote",begin:"^>\\s+",contains:b,end:"$"},s,l,f,c,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function tO(e){const t=e.regex,a=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),l=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],d={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:l,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},f={className:"meta",begin:/^(>>>|\.\.\.) /},h={className:"subst",begin:/\{/,end:/\}/,keywords:d,illegal:/#/},m={begin:/\{\{/,relevance:0},p={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,f],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,f],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,f,m,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,f,m,h]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,m,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,m,h]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},y="[0-9](_?[0-9])*",b=`(\\b(${y}))?\\.(${y})|\\b(${y})\\.`,v=`\\b|${l.join("|")}`,k={className:"number",relevance:0,variants:[{begin:`(\\b(${y})|(${b}))[eE][+-]?(${y})[jJ]?(?=${v})`},{begin:`(${b})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${v})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${v})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${v})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${v})`},{begin:`\\b(${y})[jJ](?=${v})`}]},C={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:d,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},A={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:["self",f,k,p,e.HASH_COMMENT_MODE]}]};return h.contains=[p,k,f],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:d,illegal:/(<\/|\?)|=>/,contains:[f,k,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},p,C,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[A]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[k,A,p]}]}}function nO(e){const t=e.regex,a=e.COMMENT("--","$"),l={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},s={begin:/"/,end:/"/,contains:[{match:/""/}]},o=["true","false","unknown"],c=["double precision","large object","with timezone","without timezone"],d=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],f=["add","asc","collation","desc","final","first","last","view"],h=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],m=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],p=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],y=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],b=m,v=[...h,...f].filter(S=>!m.includes(S)),k={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},C={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},A={match:t.concat(/\b/,t.either(...b),/\s*\(/),relevance:0,keywords:{built_in:b}};function F(S){return t.concat(/\b/,t.either(...S.map(D=>D.replace(/\s+/,"\\s+"))),/\b/)}const M={scope:"keyword",match:F(y),relevance:0};function N(S,{exceptions:D,when:R}={}){const O=R;return D=D||[],S.map(P=>P.match(/\|\d+$/)||D.includes(P)?P:O(P)?`${P}|0`:P)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:N(v,{when:S=>S.length<3}),literal:o,type:d,built_in:p},contains:[{scope:"type",match:F(c)},M,A,k,l,s,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,C]}}const io="[A-Za-z$_][0-9A-Za-z$_]*",ph=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],mh=["true","false","null","undefined","NaN","Infinity"],gh=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Eh=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],yh=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],bh=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],vh=[].concat(yh,gh,Eh);function aO(e){const t=e.regex,a=(le,{after:xe})=>{const j="</"+le[0].slice(1);return le.input.indexOf(j,xe)!==-1},l=io,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(le,xe)=>{const j=le[0].length+le.index,L=le.input[j];if(L==="<"||L===","){xe.ignoreMatch();return}L===">"&&(a(le,{after:j})||xe.ignoreMatch());let $;const z=le.input.substring(j);if($=z.match(/^\s*=/)){xe.ignoreMatch();return}if(($=z.match(/^\s+extends\s+/))&&$.index===0){xe.ignoreMatch();return}}},d={$pattern:io,keyword:ph,literal:mh,built_in:vh,"variable.language":bh},f="[0-9](_?[0-9])*",h=`\\.(${f})`,m="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:`(\\b(${m})((${h})|\\.)?|(${h}))[eE][+-]?(${f})\\b`},{begin:`\\b(${m})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},b={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},v={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"css"}},k={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},C={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,y]},F={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:l+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},M=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,v,k,C,{match:/\$\d+/},p];y.contains=M.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(M)});const N=[].concat(F,y.contains),S=N.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat(N)}]),D={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:S},R={variants:[{match:[/class/,/\s+/,l,/\s+/,/extends/,/\s+/,t.concat(l,"(",t.concat(/\./,l),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,l],scope:{1:"keyword",3:"title.class"}}]},O={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...gh,...Eh]}},P={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,l,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[D],illegal:/%/},V={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Z(le){return t.concat("(?!",le.join("|"),")")}const re={match:t.concat(/\b/,Z([...yh,"super","import","await"].map(le=>`${le}\\s*\\(`)),l,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},ee={begin:t.concat(/\./,t.lookahead(t.concat(l,/(?![0-9A-Za-z$_(])/))),end:l,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Q={match:[/get|set/,/\s+/,l,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},D]},G="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",Y={match:[/const|var|let/,/\s+/,l,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(G)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[D]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:S,CLASS_REFERENCE:O},illegal:/#(?![$_A-Za-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),P,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,v,k,C,F,{match:/\$\d+/},p,O,{scope:"attr",match:l+t.lookahead(":"),relevance:0},Y,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[F,e.REGEXP_MODE,{className:"function",begin:G,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:S}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},T,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[D,e.inherit(e.TITLE_MODE,{begin:l,className:"title.function"})]},{match:/\.\.\./,relevance:0},ee,{match:"\\$"+l,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[D]},re,V,R,Q,{match:/\$[(.]/}]}}function rO(e){const t=e.regex,a=aO(e),l=io,s=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},c={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:s},contains:[a.exports.CLASS_REFERENCE]},d={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},f=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],h={$pattern:io,keyword:ph.concat(f),literal:mh,built_in:vh.concat(s),"variable.language":bh},m={className:"meta",begin:"@"+l},p=(k,C,A)=>{const F=k.contains.findIndex(M=>M.label===C);if(F===-1)throw new Error("can not find mode to replace");k.contains.splice(F,1,A)};Object.assign(a.keywords,h),a.exports.PARAMS_CONTAINS.push(m);const y=a.contains.find(k=>k.scope==="attr"),b=Object.assign({},y,{match:t.concat(l,t.lookahead(/\s*\?:/))});a.exports.PARAMS_CONTAINS.push([a.exports.CLASS_REFERENCE,y,b]),a.contains=a.contains.concat([m,o,c,b]),p(a,"shebang",e.SHEBANG()),p(a,"use_strict",d);const v=a.contains.find(k=>k.label==="func.def");return v.relevance=0,Object.assign(a,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),a}function lO(e){const t=e.regex,a=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),l=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},c=e.inherit(o,{begin:/\(/,end:/\)/}),d=e.inherit(e.APOS_STRING_MODE,{className:"string"}),f=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),h={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:l,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,f,d,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,c,f,d]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[f]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[h],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[h],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(a,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:h}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function iO(e){const t="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",l={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},s={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},c={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,s]},d=e.inherit(c,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),y={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},b={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},v={begin:/\{/,end:/\}/,contains:[b],illegal:"\\n",relevance:0},k={begin:"\\[",end:"\\]",contains:[b],illegal:"\\n",relevance:0},C=[l,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},y,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},v,k,o,c],A=[...C];return A.pop(),A.push(d),b.contains=A,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:C}}var W2,Af;function sO(){if(Af)return W2;Af=1;function e(I){return I instanceof Map?I.clear=I.delete=I.set=function(){throw new Error("map is read-only")}:I instanceof Set&&(I.add=I.clear=I.delete=function(){throw new Error("set is read-only")}),Object.freeze(I),Object.getOwnPropertyNames(I).forEach(ue=>{const Ae=I[ue],Qe=typeof Ae;(Qe==="object"||Qe==="function")&&!Object.isFrozen(Ae)&&e(Ae)}),I}class t{constructor(ue){ue.data===void 0&&(ue.data={}),this.data=ue.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(I){return I.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function l(I,...ue){const Ae=Object.create(null);for(const Qe in I)Ae[Qe]=I[Qe];return ue.forEach(function(Qe){for(const jt in Qe)Ae[jt]=Qe[jt]}),Ae}const s="</span>",o=I=>!!I.scope,c=(I,{prefix:ue})=>{if(I.startsWith("language:"))return I.replace("language:","language-");if(I.includes(".")){const Ae=I.split(".");return[`${ue}${Ae.shift()}`,...Ae.map((Qe,jt)=>`${Qe}${"_".repeat(jt+1)}`)].join(" ")}return`${ue}${I}`};class d{constructor(ue,Ae){this.buffer="",this.classPrefix=Ae.classPrefix,ue.walk(this)}addText(ue){this.buffer+=a(ue)}openNode(ue){if(!o(ue))return;const Ae=c(ue.scope,{prefix:this.classPrefix});this.span(Ae)}closeNode(ue){o(ue)&&(this.buffer+=s)}value(){return this.buffer}span(ue){this.buffer+=`<span class="${ue}">`}}const f=(I={})=>{const ue={children:[]};return Object.assign(ue,I),ue};class h{constructor(){this.rootNode=f(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(ue){this.top.children.push(ue)}openNode(ue){const Ae=f({scope:ue});this.add(Ae),this.stack.push(Ae)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(ue){return this.constructor._walk(ue,this.rootNode)}static _walk(ue,Ae){return typeof Ae=="string"?ue.addText(Ae):Ae.children&&(ue.openNode(Ae),Ae.children.forEach(Qe=>this._walk(ue,Qe)),ue.closeNode(Ae)),ue}static _collapse(ue){typeof ue!="string"&&ue.children&&(ue.children.every(Ae=>typeof Ae=="string")?ue.children=[ue.children.join("")]:ue.children.forEach(Ae=>{h._collapse(Ae)}))}}class m extends h{constructor(ue){super(),this.options=ue}addText(ue){ue!==""&&this.add(ue)}startScope(ue){this.openNode(ue)}endScope(){this.closeNode()}__addSublanguage(ue,Ae){const Qe=ue.root;Ae&&(Qe.scope=`language:${Ae}`),this.add(Qe)}toHTML(){return new d(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function p(I){return I?typeof I=="string"?I:I.source:null}function y(I){return k("(?=",I,")")}function b(I){return k("(?:",I,")*")}function v(I){return k("(?:",I,")?")}function k(...I){return I.map(Ae=>p(Ae)).join("")}function C(I){const ue=I[I.length-1];return typeof ue=="object"&&ue.constructor===Object?(I.splice(I.length-1,1),ue):{}}function A(...I){return"("+(C(I).capture?"":"?:")+I.map(Qe=>p(Qe)).join("|")+")"}function F(I){return new RegExp(I.toString()+"|").exec("").length-1}function M(I,ue){const Ae=I&&I.exec(ue);return Ae&&Ae.index===0}const N=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function S(I,{joinWith:ue}){let Ae=0;return I.map(Qe=>{Ae+=1;const jt=Ae;let At=p(Qe),Re="";for(;At.length>0;){const Se=N.exec(At);if(!Se){Re+=At;break}Re+=At.substring(0,Se.index),At=At.substring(Se.index+Se[0].length),Se[0][0]==="\\"&&Se[1]?Re+="\\"+String(Number(Se[1])+jt):(Re+=Se[0],Se[0]==="("&&Ae++)}return Re}).map(Qe=>`(${Qe})`).join(ue)}const D=/\b\B/,R="[a-zA-Z]\\w*",O="[a-zA-Z_]\\w*",P="\\b\\d+(\\.\\d+)?",T="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",V="\\b(0b[01]+)",Z="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",re=(I={})=>{const ue=/^#![ ]*\//;return I.binary&&(I.begin=k(ue,/.*\b/,I.binary,/\b.*/)),l({scope:"meta",begin:ue,end:/$/,relevance:0,"on:begin":(Ae,Qe)=>{Ae.index!==0&&Qe.ignoreMatch()}},I)},ee={begin:"\\\\[\\s\\S]",relevance:0},Q={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ee]},G={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ee]},Y={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},le=function(I,ue,Ae={}){const Qe=l({scope:"comment",begin:I,end:ue,contains:[]},Ae);Qe.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const jt=A("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return Qe.contains.push({begin:k(/[ ]+/,"(",jt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Qe},xe=le("//","$"),j=le("/\\*","\\*/"),L=le("#","$"),$={scope:"number",begin:P,relevance:0},z={scope:"number",begin:T,relevance:0},ie={scope:"number",begin:V,relevance:0},be={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ee,{begin:/\[/,end:/\]/,relevance:0,contains:[ee]}]},X={scope:"title",begin:R,relevance:0},me={scope:"title",begin:O,relevance:0},He={begin:"\\.\\s*"+O,relevance:0};var tt=Object.freeze({__proto__:null,APOS_STRING_MODE:Q,BACKSLASH_ESCAPE:ee,BINARY_NUMBER_MODE:ie,BINARY_NUMBER_RE:V,COMMENT:le,C_BLOCK_COMMENT_MODE:j,C_LINE_COMMENT_MODE:xe,C_NUMBER_MODE:z,C_NUMBER_RE:T,END_SAME_AS_BEGIN:function(I){return Object.assign(I,{"on:begin":(ue,Ae)=>{Ae.data._beginMatch=ue[1]},"on:end":(ue,Ae)=>{Ae.data._beginMatch!==ue[1]&&Ae.ignoreMatch()}})},HASH_COMMENT_MODE:L,IDENT_RE:R,MATCH_NOTHING_RE:D,METHOD_GUARD:He,NUMBER_MODE:$,NUMBER_RE:P,PHRASAL_WORDS_MODE:Y,QUOTE_STRING_MODE:G,REGEXP_MODE:be,RE_STARTERS_RE:Z,SHEBANG:re,TITLE_MODE:X,UNDERSCORE_IDENT_RE:O,UNDERSCORE_TITLE_MODE:me});function ct(I,ue){I.input[I.index-1]==="."&&ue.ignoreMatch()}function De(I,ue){I.className!==void 0&&(I.scope=I.className,delete I.className)}function _t(I,ue){ue&&I.beginKeywords&&(I.begin="\\b("+I.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",I.__beforeBegin=ct,I.keywords=I.keywords||I.beginKeywords,delete I.beginKeywords,I.relevance===void 0&&(I.relevance=0))}function Fe(I,ue){Array.isArray(I.illegal)&&(I.illegal=A(...I.illegal))}function ne(I,ue){if(I.match){if(I.begin||I.end)throw new Error("begin & end are not supported with match");I.begin=I.match,delete I.match}}function Oe(I,ue){I.relevance===void 0&&(I.relevance=1)}const rt=(I,ue)=>{if(!I.beforeMatch)return;if(I.starts)throw new Error("beforeMatch cannot be used with starts");const Ae=Object.assign({},I);Object.keys(I).forEach(Qe=>{delete I[Qe]}),I.keywords=Ae.keywords,I.begin=k(Ae.beforeMatch,y(Ae.begin)),I.starts={relevance:0,contains:[Object.assign(Ae,{endsParent:!0})]},I.relevance=0,delete Ae.beforeMatch},Ct=["of","and","for","in","not","or","if","then","parent","list","value"],Et="keyword";function p0(I,ue,Ae=Et){const Qe=Object.create(null);return typeof I=="string"?jt(Ae,I.split(" ")):Array.isArray(I)?jt(Ae,I):Object.keys(I).forEach(function(At){Object.assign(Qe,p0(I[At],ue,At))}),Qe;function jt(At,Re){ue&&(Re=Re.map(Se=>Se.toLowerCase())),Re.forEach(function(Se){const Ue=Se.split("|");Qe[Ue[0]]=[At,nt(Ue[0],Ue[1])]})}}function nt(I,ue){return ue?Number(ue):b0(I)?0:1}function b0(I){return Ct.includes(I.toLowerCase())}const ge={},Me=I=>{console.error(I)},A0=(I,...ue)=>{console.log(`WARN: ${I}`,...ue)},se=(I,ue)=>{ge[`${I}/${ue}`]||(console.log(`Deprecated as of ${I}. ${ue}`),ge[`${I}/${ue}`]=!0)},W=new Error;function Ne(I,ue,{key:Ae}){let Qe=0;const jt=I[Ae],At={},Re={};for(let Se=1;Se<=ue.length;Se++)Re[Se+Qe]=jt[Se],At[Se+Qe]=!0,Qe+=F(ue[Se-1]);I[Ae]=Re,I[Ae]._emit=At,I[Ae]._multi=!0}function Ze(I){if(Array.isArray(I.begin)){if(I.skip||I.excludeBegin||I.returnBegin)throw Me("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),W;if(typeof I.beginScope!="object"||I.beginScope===null)throw Me("beginScope must be object"),W;Ne(I,I.begin,{key:"beginScope"}),I.begin=S(I.begin,{joinWith:""})}}function Ke(I){if(Array.isArray(I.end)){if(I.skip||I.excludeEnd||I.returnEnd)throw Me("skip, excludeEnd, returnEnd not compatible with endScope: {}"),W;if(typeof I.endScope!="object"||I.endScope===null)throw Me("endScope must be object"),W;Ne(I,I.end,{key:"endScope"}),I.end=S(I.end,{joinWith:""})}}function Kt(I){I.scope&&typeof I.scope=="object"&&I.scope!==null&&(I.beginScope=I.scope,delete I.scope)}function v0(I){Kt(I),typeof I.beginScope=="string"&&(I.beginScope={_wrap:I.beginScope}),typeof I.endScope=="string"&&(I.endScope={_wrap:I.endScope}),Ze(I),Ke(I)}function Wt(I){function ue(Re,Se){return new RegExp(p(Re),"m"+(I.case_insensitive?"i":"")+(I.unicodeRegex?"u":"")+(Se?"g":""))}class Ae{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Se,Ue){Ue.position=this.position++,this.matchIndexes[this.matchAt]=Ue,this.regexes.push([Ue,Se]),this.matchAt+=F(Se)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const Se=this.regexes.map(Ue=>Ue[1]);this.matcherRe=ue(S(Se,{joinWith:"|"}),!0),this.lastIndex=0}exec(Se){this.matcherRe.lastIndex=this.lastIndex;const Ue=this.matcherRe.exec(Se);if(!Ue)return null;const Qt=Ue.findIndex((jn,Ee)=>Ee>0&&jn!==void 0),Tt=this.matchIndexes[Qt];return Ue.splice(0,Qt),Object.assign(Ue,Tt)}}class Qe{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Se){if(this.multiRegexes[Se])return this.multiRegexes[Se];const Ue=new Ae;return this.rules.slice(Se).forEach(([Qt,Tt])=>Ue.addRule(Qt,Tt)),Ue.compile(),this.multiRegexes[Se]=Ue,Ue}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Se,Ue){this.rules.push([Se,Ue]),Ue.type==="begin"&&this.count++}exec(Se){const Ue=this.getMatcher(this.regexIndex);Ue.lastIndex=this.lastIndex;let Qt=Ue.exec(Se);if(this.resumingScanAtSamePosition()&&!(Qt&&Qt.index===this.lastIndex)){const Tt=this.getMatcher(0);Tt.lastIndex=this.lastIndex+1,Qt=Tt.exec(Se)}return Qt&&(this.regexIndex+=Qt.position+1,this.regexIndex===this.count&&this.considerAll()),Qt}}function jt(Re){const Se=new Qe;return Re.contains.forEach(Ue=>Se.addRule(Ue.begin,{rule:Ue,type:"begin"})),Re.terminatorEnd&&Se.addRule(Re.terminatorEnd,{type:"end"}),Re.illegal&&Se.addRule(Re.illegal,{type:"illegal"}),Se}function At(Re,Se){const Ue=Re;if(Re.isCompiled)return Ue;[De,ne,v0,rt].forEach(Tt=>Tt(Re,Se)),I.compilerExtensions.forEach(Tt=>Tt(Re,Se)),Re.__beforeBegin=null,[_t,Fe,Oe].forEach(Tt=>Tt(Re,Se)),Re.isCompiled=!0;let Qt=null;return typeof Re.keywords=="object"&&Re.keywords.$pattern&&(Re.keywords=Object.assign({},Re.keywords),Qt=Re.keywords.$pattern,delete Re.keywords.$pattern),Qt=Qt||/\w+/,Re.keywords&&(Re.keywords=p0(Re.keywords,I.case_insensitive)),Ue.keywordPatternRe=ue(Qt,!0),Se&&(Re.begin||(Re.begin=/\B|\b/),Ue.beginRe=ue(Ue.begin),!Re.end&&!Re.endsWithParent&&(Re.end=/\B|\b/),Re.end&&(Ue.endRe=ue(Ue.end)),Ue.terminatorEnd=p(Ue.end)||"",Re.endsWithParent&&Se.terminatorEnd&&(Ue.terminatorEnd+=(Re.end?"|":"")+Se.terminatorEnd)),Re.illegal&&(Ue.illegalRe=ue(Re.illegal)),Re.contains||(Re.contains=[]),Re.contains=[].concat(...Re.contains.map(function(Tt){return C0(Tt==="self"?Re:Tt)})),Re.contains.forEach(function(Tt){At(Tt,Ue)}),Re.starts&&At(Re.starts,Se),Ue.matcher=jt(Ue),Ue}if(I.compilerExtensions||(I.compilerExtensions=[]),I.contains&&I.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return I.classNameAliases=l(I.classNameAliases||{}),At(I)}function Dt(I){return I?I.endsWithParent||Dt(I.starts):!1}function C0(I){return I.variants&&!I.cachedVariants&&(I.cachedVariants=I.variants.map(function(ue){return l(I,{variants:null},ue)})),I.cachedVariants?I.cachedVariants:Dt(I)?l(I,{starts:I.starts?l(I.starts):null}):Object.isFrozen(I)?l(I):I}var kt="11.11.2";class mn extends Error{constructor(ue,Ae){super(ue),this.name="HTMLInjectionError",this.html=Ae}}const l0=a,Xn=l,Gn=Symbol("nomatch"),Wn=7,Jn=function(I){const ue=Object.create(null),Ae=Object.create(null),Qe=[];let jt=!0;const At="Could not find the language '{}', did you forget to load/include a language module?",Re={disableAutodetect:!0,name:"Plain text",contains:[]};let Se={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:m};function Ue(ye){return Se.noHighlightRe.test(ye)}function Qt(ye){let Ve=ye.className+" ";Ve+=ye.parentNode?ye.parentNode.className:"";const ot=Se.languageDetectRe.exec(Ve);if(ot){const Ft=P0(ot[1]);return Ft||(A0(At.replace("{}",ot[1])),A0("Falling back to no-highlight mode for this block.",ye)),Ft?ot[1]:"no-highlight"}return Ve.split(/\s+/).find(Ft=>Ue(Ft)||P0(Ft))}function Tt(ye,Ve,ot){let Ft="",n0="";typeof Ve=="object"?(Ft=ye,ot=Ve.ignoreIllegals,n0=Ve.language):(se("10.7.0","highlight(lang, code, ...args) has been deprecated."),se("10.7.0",`Please use highlight(code, options) instead.
42
+ https://github.com/highlightjs/highlight.js/issues/2277`),n0=ye,Ft=Ve),ot===void 0&&(ot=!0);const T0={code:Ft,language:n0};cr("before:highlight",T0);const en=T0.result?T0.result:jn(T0.language,T0.code,ot);return en.code=T0.code,cr("after:highlight",en),en}function jn(ye,Ve,ot,Ft){const n0=Object.create(null);function T0(ke,Le){return ke.keywords[Le]}function en(){if(!Ye.keywords){o0.addText(St);return}let ke=0;Ye.keywordPatternRe.lastIndex=0;let Le=Ye.keywordPatternRe.exec(St),Je="";for(;Le;){Je+=St.substring(ke,Le.index);const ft=w0.case_insensitive?Le[0].toLowerCase():Le[0],Xt=T0(Ye,ft);if(Xt){const[gn,Vl]=Xt;if(o0.addText(Je),Je="",n0[ft]=(n0[ft]||0)+1,n0[ft]<=Wn&&(Sa+=Vl),gn.startsWith("_"))Je+=Le[0];else{const ys=w0.classNameAliases[gn]||gn;tn(Le[0],ys)}}else Je+=Le[0];ke=Ye.keywordPatternRe.lastIndex,Le=Ye.keywordPatternRe.exec(St)}Je+=St.substring(ke),o0.addText(Je)}function V0(){if(St==="")return;let ke=null;if(typeof Ye.subLanguage=="string"){if(!ue[Ye.subLanguage]){o0.addText(St);return}ke=jn(Ye.subLanguage,St,!0,Es[Ye.subLanguage]),Es[Ye.subLanguage]=ke._top}else ke=t0(St,Ye.subLanguage.length?Ye.subLanguage:null);Ye.relevance>0&&(Sa+=ke.relevance),o0.__addSublanguage(ke._emitter,ke.language)}function Vt(){Ye.subLanguage!=null?V0():en(),St=""}function tn(ke,Le){ke!==""&&(o0.startScope(Le),o0.addText(ke),o0.endScope())}function ms(ke,Le){let Je=1;const ft=Le.length-1;for(;Je<=ft;){if(!ke._emit[Je]){Je++;continue}const Xt=w0.classNameAliases[ke[Je]]||ke[Je],gn=Le[Je];Xt?tn(gn,Xt):(St=gn,en(),St=""),Je++}}function Vr(ke,Le){return ke.scope&&typeof ke.scope=="string"&&o0.openNode(w0.classNameAliases[ke.scope]||ke.scope),ke.beginScope&&(ke.beginScope._wrap?(tn(St,w0.classNameAliases[ke.beginScope._wrap]||ke.beginScope._wrap),St=""):ke.beginScope._multi&&(ms(ke.beginScope,Le),St="")),Ye=Object.create(ke,{parent:{value:Ye}}),Ye}function Pl(ke,Le,Je){let ft=M(ke.endRe,Je);if(ft){if(ke["on:end"]){const Xt=new t(ke);ke["on:end"](Le,Xt),Xt.isMatchIgnored&&(ft=!1)}if(ft){for(;ke.endsParent&&ke.parent;)ke=ke.parent;return ke}}if(ke.endsWithParent)return Pl(ke.parent,Le,Je)}function Ir(ke){return Ye.matcher.regexIndex===0?(St+=ke[0],1):(Ma=!0,0)}function bo(ke){const Le=ke[0],Je=ke.rule,ft=new t(Je),Xt=[Je.__beforeBegin,Je["on:begin"]];for(const gn of Xt)if(gn&&(gn(ke,ft),ft.isMatchIgnored))return Ir(Le);return Je.skip?St+=Le:(Je.excludeBegin&&(St+=Le),Vt(),!Je.returnBegin&&!Je.excludeBegin&&(St=Le)),Vr(Je,ke),Je.returnBegin?0:Le.length}function I0(ke){const Le=ke[0],Je=Ve.substring(ke.index),ft=Pl(Ye,ke,Je);if(!ft)return Gn;const Xt=Ye;Ye.endScope&&Ye.endScope._wrap?(Vt(),tn(Le,Ye.endScope._wrap)):Ye.endScope&&Ye.endScope._multi?(Vt(),ms(Ye.endScope,ke)):Xt.skip?St+=Le:(Xt.returnEnd||Xt.excludeEnd||(St+=Le),Vt(),Xt.excludeEnd&&(St=Le));do Ye.scope&&o0.closeNode(),!Ye.skip&&!Ye.subLanguage&&(Sa+=Ye.relevance),Ye=Ye.parent;while(Ye!==ft.parent);return ft.starts&&Vr(ft.starts,ke),Xt.returnEnd?0:Le.length}function Gl(){const ke=[];for(let Le=Ye;Le!==w0;Le=Le.parent)Le.scope&&ke.unshift(Le.scope);ke.forEach(Le=>o0.openNode(Le))}let ur={};function Ur(ke,Le){const Je=Le&&Le[0];if(St+=ke,Je==null)return Vt(),0;if(ur.type==="begin"&&Le.type==="end"&&ur.index===Le.index&&Je===""){if(St+=Ve.slice(Le.index,Le.index+1),!jt){const ft=new Error(`0 width match regex (${ye})`);throw ft.languageName=ye,ft.badRule=ur.rule,ft}return 1}if(ur=Le,Le.type==="begin")return bo(Le);if(Le.type==="illegal"&&!ot){const ft=new Error('Illegal lexeme "'+Je+'" for mode "'+(Ye.scope||"<unnamed>")+'"');throw ft.mode=Ye,ft}else if(Le.type==="end"){const ft=I0(Le);if(ft!==Gn)return ft}if(Le.type==="illegal"&&Je==="")return Le.index===Ve.length||(St+=`
43
+ `),1;if(Hl>1e5&&Hl>Le.index*3)throw new Error("potential infinite loop, way more iterations than matches");return St+=Je,Je.length}const w0=P0(ye);if(!w0)throw Me(At.replace("{}",ye)),new Error('Unknown language: "'+ye+'"');const gs=Wt(w0);let Zr="",Ye=Ft||gs;const Es={},o0=new Se.__emitter(Se);Gl();let St="",Sa=0,na=0,Hl=0,Ma=!1;try{if(w0.__emitTokens)w0.__emitTokens(Ve,o0);else{for(Ye.matcher.considerAll();;){Hl++,Ma?Ma=!1:Ye.matcher.considerAll(),Ye.matcher.lastIndex=na;const ke=Ye.matcher.exec(Ve);if(!ke)break;const Le=Ve.substring(na,ke.index),Je=Ur(Le,ke);na=ke.index+Je}Ur(Ve.substring(na))}return o0.finalize(),Zr=o0.toHTML(),{language:ye,value:Zr,relevance:Sa,illegal:!1,_emitter:o0,_top:Ye}}catch(ke){if(ke.message&&ke.message.includes("Illegal"))return{language:ye,value:l0(Ve),illegal:!0,relevance:0,_illegalBy:{message:ke.message,index:na,context:Ve.slice(na-100,na+100),mode:ke.mode,resultSoFar:Zr},_emitter:o0};if(jt)return{language:ye,value:l0(Ve),illegal:!1,relevance:0,errorRaised:ke,_emitter:o0,_top:Ye};throw ke}}function Ee(ye){const Ve={value:l0(ye),illegal:!1,relevance:0,_top:Re,_emitter:new Se.__emitter(Se)};return Ve._emitter.addText(ye),Ve}function t0(ye,Ve){Ve=Ve||Se.languages||Object.keys(ue);const ot=Ee(ye),Ft=Ve.filter(P0).filter(Da).map(Vt=>jn(Vt,ye,!1));Ft.unshift(ot);const n0=Ft.sort((Vt,tn)=>{if(Vt.relevance!==tn.relevance)return tn.relevance-Vt.relevance;if(Vt.language&&tn.language){if(P0(Vt.language).supersetOf===tn.language)return 1;if(P0(tn.language).supersetOf===Vt.language)return-1}return 0}),[T0,en]=n0,V0=T0;return V0.secondBest=en,V0}function B0(ye,Ve,ot){const Ft=Ve&&Ae[Ve]||ot;ye.classList.add("hljs"),ye.classList.add(`language-${Ft}`)}function lt(ye){let Ve=null;const ot=Qt(ye);if(Ue(ot))return;if(cr("before:highlightElement",{el:ye,language:ot}),ye.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",ye);return}if(ye.children.length>0&&(Se.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(ye)),Se.throwUnescapedHTML))throw new mn("One of your code blocks includes unescaped HTML.",ye.innerHTML);Ve=ye;const Ft=Ve.textContent,n0=ot?Tt(Ft,{language:ot,ignoreIllegals:!0}):t0(Ft);ye.innerHTML=n0.value,ye.dataset.highlighted="yes",B0(ye,ot,n0.language),ye.result={language:n0.language,re:n0.relevance,relevance:n0.relevance},n0.secondBest&&(ye.secondBest={language:n0.secondBest.language,relevance:n0.secondBest.relevance}),cr("after:highlightElement",{el:ye,result:n0,text:Ft})}function i0(ye){Se=Xn(Se,ye)}const Hn=()=>{Hr(),se("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function m0(){Hr(),se("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let sr=!1;function Hr(){function ye(){Hr()}if(document.readyState==="loading"){sr||window.addEventListener("DOMContentLoaded",ye,!1),sr=!0;return}document.querySelectorAll(Se.cssSelector).forEach(lt)}function hs(ye,Ve){let ot=null;try{ot=Ve(I)}catch(Ft){if(Me("Language definition for '{}' could not be registered.".replace("{}",ye)),jt)Me(Ft);else throw Ft;ot=Re}ot.name||(ot.name=ye),ue[ye]=ot,ot.rawDefinition=Ve.bind(null,I),ot.aliases&&ea(ot.aliases,{languageName:ye})}function or(ye){delete ue[ye];for(const Ve of Object.keys(Ae))Ae[Ve]===ye&&delete Ae[Ve]}function Ll(){return Object.keys(ue)}function P0(ye){return ye=(ye||"").toLowerCase(),ue[ye]||ue[Ae[ye]]}function ea(ye,{languageName:Ve}){typeof ye=="string"&&(ye=[ye]),ye.forEach(ot=>{Ae[ot.toLowerCase()]=Ve})}function Da(ye){const Ve=P0(ye);return Ve&&!Ve.disableAutodetect}function Fa(ye){ye["before:highlightBlock"]&&!ye["before:highlightElement"]&&(ye["before:highlightElement"]=Ve=>{ye["before:highlightBlock"](Object.assign({block:Ve.el},Ve))}),ye["after:highlightBlock"]&&!ye["after:highlightElement"]&&(ye["after:highlightElement"]=Ve=>{ye["after:highlightBlock"](Object.assign({block:Ve.el},Ve))})}function s0(ye){Fa(ye),Qe.push(ye)}function ps(ye){const Ve=Qe.indexOf(ye);Ve!==-1&&Qe.splice(Ve,1)}function cr(ye,Ve){const ot=ye;Qe.forEach(function(Ft){Ft[ot]&&Ft[ot](Ve)})}function ta(ye){return se("10.7.0","highlightBlock will be removed entirely in v12.0"),se("10.7.0","Please use highlightElement now."),lt(ye)}Object.assign(I,{highlight:Tt,highlightAuto:t0,highlightAll:Hr,highlightElement:lt,highlightBlock:ta,configure:i0,initHighlighting:Hn,initHighlightingOnLoad:m0,registerLanguage:hs,unregisterLanguage:or,listLanguages:Ll,getLanguage:P0,registerAliases:ea,autoDetection:Da,inherit:Xn,addPlugin:s0,removePlugin:ps}),I.debugMode=function(){jt=!1},I.safeMode=function(){jt=!0},I.versionString=kt,I.regex={concat:k,lookahead:y,either:A,optional:v,anyNumberOfTimes:b};for(const ye in tt)typeof tt[ye]=="object"&&e(tt[ye]);return Object.assign(I,tt),I},j0=Jn({});return j0.newInstance=()=>Jn({}),W2=j0,j0.HighlightJS=j0,j0.default=j0,W2}var oO=sO();const cO=rs(oO),Bf={},uO="hljs-";function xO(e){const t=cO.newInstance();return e&&o(e),{highlight:a,highlightAuto:l,listLanguages:s,register:o,registerAlias:c,registered:d};function a(f,h,m){const p=m||Bf,y=typeof p.prefix=="string"?p.prefix:uO;if(!t.getLanguage(f))throw new Error("Unknown language: `"+f+"` is not registered");t.configure({__emitter:dO,classPrefix:y});const b=t.highlight(h,{ignoreIllegals:!0,language:f});if(b.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:b.errorRaised});const v=b._emitter.root,k=v.data;return k.language=b.language,k.relevance=b.relevance,v}function l(f,h){const p=(h||Bf).subset||s();let y=-1,b=0,v;for(;++y<p.length;){const k=p[y];if(!t.getLanguage(k))continue;const C=a(k,f,h);C.data&&C.data.relevance!==void 0&&C.data.relevance>b&&(b=C.data.relevance,v=C)}return v||{type:"root",children:[],data:{language:void 0,relevance:b}}}function s(){return t.listLanguages()}function o(f,h){if(typeof f=="string")t.registerLanguage(f,h);else{let m;for(m in f)Object.hasOwn(f,m)&&t.registerLanguage(m,f[m])}}function c(f,h){if(typeof f=="string")t.registerAliases(typeof h=="string"?h:[...h],{languageName:f});else{let m;for(m in f)if(Object.hasOwn(f,m)){const p=f[m];t.registerAliases(typeof p=="string"?p:[...p],{languageName:m})}}}function d(f){return!!t.getLanguage(f)}}class dO{constructor(t){this.options=t,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(t){if(t==="")return;const a=this.stack[this.stack.length-1],l=a.children[a.children.length-1];l&&l.type==="text"?l.value+=t:a.children.push({type:"text",value:t})}startScope(t){this.openNode(String(t))}endScope(){this.closeNode()}__addSublanguage(t,a){const l=this.stack[this.stack.length-1],s=t.root.children;a?l.children.push({type:"element",tagName:"span",properties:{className:[a]},children:s}):l.children.push(...s)}openNode(t){const a=this,l=t.split(".").map(function(c,d){return d?c+"_".repeat(d):a.options.classPrefix+c}),s=this.stack[this.stack.length-1],o={type:"element",tagName:"span",properties:{className:l},children:[]};s.children.push(o),this.stack.push(o)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const wf=xO({bash:zR,css:UR,ini:ZR,javascript:KR,json:JR,markdown:eO,python:tO,sql:nO,typescript:rO,xml:lO,yaml:iO}),Ch={bash:"bash",sh:"bash",zsh:"bash",css:"css",scss:"css",toml:"ini",ini:"ini",js:"javascript",jsx:"javascript",mjs:"javascript",cjs:"javascript",json:"json",jsonc:"json",md:"markdown",markdown:"markdown",py:"python",sql:"sql",ts:"typescript",tsx:"typescript",mts:"typescript",cts:"typescript",html:"xml",svg:"xml",xml:"xml",yaml:"yaml",yml:"yaml"},fO={...Ch,shell:"bash",console:"bash",javascript:"javascript",typescript:"typescript",python:"python",yaml:"yaml",json:"json",sql:"sql"},hO={Bash:"bash"};function pO(e){return(e&&hO[e])??null}function kh(e){const t=e.slice(e.lastIndexOf("/")+1),a=t.lastIndexOf(".");return a<1?null:Ch[t.slice(a+1).toLowerCase()]??null}function mO(e,t){return e==="Read"&&t?kh(t):null}function gO(e){const t=e?.match(/(?:^|\s)language-([\w+-]+)/)?.[1];return t?fO[t.toLowerCase()]??null:null}function Ah(e,t){return!t||!wf.registered(t)?null:wf.highlight(t,e).children.filter(EO)}function EO(e){return e.type==="element"||e.type==="text"}function yO(e,t){const a=Ah(e,t);return a?Bh(a):null}function Bh(e){const t=[[]];for(const a of e){const l=bO(a);t[t.length-1].push(...l[0]);for(let s=1;s<l.length;s++)t.push(l[s])}return t}function bO(e){if(e.type==="text")return e.value.split(`
44
+ `).map(a=>a?[{type:"text",value:a}]:[]);if(e.type!=="element")return[[e]];const t=e;return Bh(t.children).map(a=>a.length?[{...t,children:a}]:[])}function Ix({nodes:e}){return x.jsx(x.Fragment,{children:e.map((t,a)=>{if(t.type==="text")return t.value;if(t.type!=="element")return null;const l=t.properties?.className;return x.jsx("span",{className:Array.isArray(l)?l.join(" "):void 0,children:x.jsx(Ix,{nodes:t.children})},a)})})}const wh=w.memo(function({text:t,language:a}){const l=w.useMemo(()=>Ah(t,a),[t,a]);return l?x.jsx(Ix,{nodes:l}):t});function Dh({preview:e,lineRef:t}){const a=kh(e.path),{text:l,tokens:s}=w.useMemo(()=>{const o=e.content.split(`
45
+ `),c=yO(e.content,a);return{text:o,tokens:c?.length===o.length?c:null}},[e.content,a]);return x.jsxs(x.Fragment,{children:[x.jsx("pre",{className:"min-w-max p-3 font-mono text-[11.5px] leading-[1.5] text-muted",children:l.map((o,c)=>{const d=e.lineStart+c,f=d===e.line,h=s?.[c];return x.jsxs("div",{ref:f?t:void 0,className:he("grid grid-cols-[auto_1fr] gap-3 whitespace-pre",f&&"rounded bg-accent-soft text-text"),children:[x.jsx("span",{className:"select-none text-right text-faint",children:d}),x.jsx("code",{children:h?.length?x.jsx(Ix,{nodes:h}):o||" "})]},d)})}),x.jsx(Fh,{preview:e})]})}function Fh({preview:e}){return e.truncated?x.jsxs("p",{className:"border-t border-border-soft px-4 py-2 text-xs text-faint",children:["Showing lines ",e.lineStart,"–",e.lineEnd," of ",e.totalLines,"."]}):null}async function vO(e){if(navigator.clipboard?.writeText)return navigator.clipboard.writeText(e);const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.cssText="position:fixed;opacity:0",document.body.append(t),t.select();const a=document.execCommand("copy");if(t.remove(),!a)throw new Error("Clipboard unavailable")}function Df(e){return e.endsWith(".0")?e.slice(0,-2):e}function Y1(e){return e>=1e6?`${Df((e/1e6).toFixed(e<1e7?1:0))}M`:e>=1e3?`${Df((e/1e3).toFixed(e<1e5?1:0))}k`:String(e)}function Ff(e,t){if(e<=0||t<=0)return"0%";const a=e/t*100;return a<1?"<1%":`${Math.round(a)}%`}function CO(e){const t=[],a=e.split(kD);for(let l=0;l<a.length;l++){const s=a[l];if(l===0){s&&t.push({text:s,hit:!1});continue}const o=s.indexOf(AD);if(o<0){s&&t.push({text:s,hit:!0});continue}const c=s.slice(0,o),d=s.slice(o+1);c&&t.push({text:c,hit:!0}),d&&t.push({text:d,hit:!1})}return t}function Sh(e){return e.state==="setting_up"}const kO={merged:"var(--color-pr-merged)",draft:"var(--color-pr-draft)",conflicts:"var(--color-pr-attention)",checks_failed:"var(--color-pr-attention)",checks_pending:"var(--color-working)",mergeable:"var(--color-pr-mergeable)"};function AO(e){return Sh(e)?{color:"var(--color-muted)",spinning:!0}:{color:e.pr_status&&kO[e.pr_status]||"var(--color-done)",spinning:e.session_status==="working"||e.pr_status==="checks_pending"}}function BO(e){return e.pr_status==="merged"}function wO(e){return Ux(e)==="done"}function Ux(e){return Sh(e)?"setting-up":e.manual_status||e.derived_status||"in-progress"}const Sf=["done","in-review","in-progress","setting-up","backlog","canceled"],DO=["backlog","in-progress","in-review","done","canceled"];function Gu(e){return{done:"Done","in-review":"In review","in-progress":"In progress","setting-up":"Setting up",backlog:"Backlog",canceled:"Canceled"}[e]??e}const FO=["today","yesterday","week","month","older"];function SO(e){return{today:"Today",yesterday:"Yesterday",week:"Past week",month:"Past month",older:"Older"}[e]}function Mf(e){const t=new Date(e);return t.setHours(0,0,0,0),t.getTime()}function MO(e,t=new Date){const a=new Date(W0(e));if(!Number.isFinite(a.getTime()))return"older";const l=Math.round((Mf(t)-Mf(a))/864e5);return l<=0?"today":l===1?"yesterday":l<7?"week":l<30?"month":"older"}const Zx={done:"var(--color-pr-merged)","in-review":"var(--color-pr-mergeable)","in-progress":"var(--color-done)","setting-up":"var(--color-muted)"};function $x(e,t=120){const l=(e.split(`
46
+ `).find(s=>s.trim())??"").replace(/^[\s>#*\-+]+/,"").replace(/`/g,"").replace(/\s+/g," ").trim();return l.length>t?`${l.slice(0,t-1)}…`:l}function qx(e){const t=Math.max(0,Math.floor(e/1e3)),a=t%60,l=Math.floor(t/60)%60,s=Math.floor(t/3600),o=c=>String(c).padStart(2,"0");return s?`${s}h ${o(l)}m ${o(a)}s`:l?`${l}m ${o(a)}s`:`${a}s`}const NO=6e4,_O=60*NO,jO=24*_O,TO=7*jO;function Mh(e){return e.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"})}function Nh(e,t){return`${e.toLocaleDateString(void 0,{month:"short",day:"numeric",...e.getFullYear()===t.getFullYear()?{}:{year:"numeric"}})}, ${Mh(e)}`}function zO(e){const t=new Date(W0(e));if(!Number.isFinite(t.getTime()))return"";const a=new Date;return t.toDateString()===a.toDateString()?Mh(t):Nh(t,a)}function RO(e,t=Date.now()){const a=new Date(W0(e)),l=t-a.getTime();return Number.isFinite(l)?l>=TO?Nh(a,new Date(t)):jh(e,t):""}function _h(e){const t=W0(e);if(!Number.isFinite(t))return"";const a=Math.round((Date.now()-t)/1e3);if(a<45)return"now";if(a<90)return"1m";const l=Math.round(a/60);if(l<60)return`${l}m`;const s=Math.round(l/60);return s<24?`${s}h`:`${Math.round(s/24)}d`}let Sr;function jh(e,t=Date.now()){const a=W0(e);if(!Number.isFinite(a))return"";const l=Math.round((t-a)/1e3);if(l<45)return"now";if(Sr??=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),l<90)return Sr.format(-1,"minute");const s=Math.round(l/60);if(s<60)return Sr.format(-s,"minute");const o=Math.round(s/60);if(o<24)return Sr.format(-o,"hour");const c=Math.round(o/24);if(c<30)return Sr.format(-c,"day");const d=Math.round(c/30.4);return d<12?Sr.format(-d,"month"):Sr.format(-Math.round(c/365),"year")}function OO(){const e=location.hostname;return!e||e==="localhost"||e.startsWith("127.")?null:`vnc://${e}`}const LO={activity:db,anchor:hb,apple:mb,atom:Fb,award:Mb,banknote:_b,battery:Tb,beer:Rb,bell:I6,bike:Pb,bird:Hb,bluetooth:Ib,book:qb,"book-open":Zb,bookmark:Yb,bot:U6,box:Wb,brain:ev,briefcase:nv,brush:rv,bug:ov,"bug-play":iv,building:dv,"building-2":uv,cake:hv,calendar:mv,camera:Ev,car:bv,carrot:Cv,cat:Av,"chart-bar":wv,"chart-line":Fv,"chart-pie":Mv,clapperboard:Vv,clock:q6,cloud:Yv,code:Jv,"code-xml":Xv,coffee:tC,cog:aC,compass:lC,cpu:oC,"credit-card":uC,crown:dC,database:hC,dna:mC,dog:EC,"dollar-sign":bC,dumbbell:CC,egg:wC,factory:MC,feather:_C,file:OC,"file-code":TC,film:PC,fish:HC,flag:IC,flame:ZC,"flask-conical":qC,folder:XC,"gamepad-2":tk,gem:lk,gift:sk,"git-branch":xk,github:pk,glasses:gk,globe:yk,"graduation-cap":vk,"grid-3x3":kk,hammer:Bk,headphones:Dk,heart:Nk,"heart-pulse":Sk,house:Tk,image:Rk,key:Gk,laptop:Vk,"layout-grid":$k,layers:Uk,leaf:Qk,lightbulb:Kk,link:Wk,lock:nA,mail:iA,map:W6,"map-pin":oA,martini:xA,medal:fA,"message-circle":pA,"message-square":gA,mic:J6,microscope:CA,monitor:wA,moon:FA,music:MA,orbit:_A,package:TA,paintbrush:RA,paperclip:ox,"paw-print":HA,pen:IA,pencil:ZA,phone:KA,pill:WA,pipette:eB,pizza:nB,plane:rB,plug:sB,power:uB,puzzle:dB,rabbit:pB,radio:gB,rocket:bB,ruler:BB,salad:kB,satellite:DB,scissors:NB,server:RB,settings:LB,shell:GB,shield:IB,ship:ZB,"shopping-bag":qB,"shopping-cart":YB,smartphone:JB,snail:tw,soup:lw,sparkles:sw,sprout:cw,star:yu,stethoscope:fw,store:pw,sun:l9,tag:bw,tags:Cw,target:Aw,telescope:ww,terminal:Fw,ticket:Mw,"train-front":_w,"tree-pine":Rw,"trending-up":Lw,trophy:Hw,turtle:Iw,user:Zw,users:qw,utensils:Yw,video:Xw,wallet:Jw,"wand-2":a4,"wand-sparkles":a4,warehouse:nD,wheat:iD,wifi:i9,wine:uD,wrench:fD,zap:xx};function Th({state:e,color:t="var(--color-working)",className:a}){return e==="failed"?x.jsx("span",{className:he("dot-error",a),role:"img","aria-label":"Send failed","data-prompt-state":"failed",children:x.jsx(y0,{size:8,strokeWidth:3,"aria-hidden":!0})}):x.jsx("span",{className:he("dot-spinner",a),style:{"--spin-color":t},role:"img","aria-label":"Prompt pending","data-prompt-state":"sending"})}function PO({w:e,promptState:t,className:a}){const{color:l,spinning:s}=AO(e);return t?x.jsx(Th,{state:t,color:l,className:a}):s?x.jsx("span",{className:he("dot-spinner",a),style:{"--spin-color":l}}):x.jsx("span",{className:he("dot",a),style:{background:l}})}function GO({className:e}){return x.jsx("span",{className:he("flex size-3 items-center justify-center rounded-full bg-surface text-add ring-2 ring-surface",e),role:"img","aria-label":"Run active",children:x.jsx(Eu,{size:7,strokeWidth:0,fill:"currentColor","aria-hidden":!0})})}function HO(e){const t=Math.max(0,Math.round(e/1e3));if(t<90)return`${t}s`;const a=Math.round(t/60);return a<60?`${a}m`:`${Math.round(a/60)}h`}function VO(){const e=Ce(c=>c.online),t=Ce(c=>c.lastSyncAt),a=Ce(c=>c.update),l=a?.mode==="auto"&&a.available,[s,o]=w.useState(()=>Date.now());return w.useEffect(()=>{if(e)return;const c=setInterval(()=>o(Date.now()),1e3);return()=>clearInterval(c)},[e]),l?x.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-accent/10 px-3 py-1.5 text-xs text-accent",children:[x.jsx(os,{size:13,className:"animate-spin"}),x.jsxs("span",{children:["Updating relay to ",a?.latest??"latest","… reconnecting"]})]}):e?null:x.jsxs("div",{className:"fade-in flex items-center gap-1.5 bg-del/10 px-3 py-1.5 text-xs text-del",children:[x.jsx(ux,{size:13}),x.jsxs("span",{children:["Offline — retrying…",t?` last synced ${HO(s-t)} ago`:""]})]})}function Aa({className:e}){const t=OO();return t?x.jsx("a",{href:t,className:he("font-semibold text-accent underline underline-offset-2",e),children:"Unlock the Mac"}):null}function zh({text:e,label:t,className:a,size:l=14}){const[s,o]=w.useState(!1),c=async()=>{try{await vO(e),o(!0),window.setTimeout(()=>o(!1),1800)}catch{o(!1)}};return x.jsx("button",{type:"button",onClick:()=>{c()},"aria-label":s?`Copied ${t}`:`Copy ${t}`,className:he("flex items-center justify-center text-muted transition active:bg-surface-2",a),children:s?x.jsx(ka,{size:l,className:"text-accent"}):x.jsx(ix,{size:l})})}function Nf({children:e,className:t}){return x.jsx("span",{className:he("rounded-md bg-surface-2 px-1.5 py-0.5 font-mono text-[11px] text-muted",t),children:e})}function IO({children:e}){return x.jsx("span",{className:"grid min-w-5 place-items-center rounded-full bg-accent px-1.5 text-[11px] font-bold text-on-solid",children:e})}function UO({error:e}){const t=typeof navigator<"u"&&navigator.onLine===!1,a=e instanceof Error?e.message:String(e??"request failed"),l=!(e instanceof dn)||e.status===0;return t?x.jsxs($t,{children:[x.jsx(ux,{size:20,className:"mx-auto mb-3 text-muted"}),x.jsx("div",{className:"font-medium text-text",children:"This phone is offline"}),x.jsx("div",{className:"mt-1",children:"Check Wi-Fi or cellular. The list comes back on its own."})]}):x.jsxs($t,{children:[x.jsx(Zv,{size:20,className:"mx-auto mb-3 text-del"}),x.jsx("div",{className:"font-medium text-text",children:l?"Can’t reach the relay":"The relay answered with an error"}),x.jsx("div",{className:"mt-1 break-words font-mono text-[11px] text-muted",children:a}),l?x.jsxs("ul",{className:"mt-4 space-y-2 text-left",children:[x.jsx("li",{children:"Is the Mac awake and online?"}),x.jsxs("li",{children:["If the relay is tailnet-only: Tailscale connected on this phone, and"," ",x.jsx("span",{className:"text-text",children:"iCloud Private Relay off"}),". Private Relay routes around the VPN, so the app stays stuck even while Tailscale says Connected."]}),x.jsx("li",{children:"Otherwise the Funnel may be stale after a network change — re-deploy on the Mac."})]}):null]})}function $t({children:e}){return x.jsx("div",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:e})}function hn({label:e}){return x.jsxs("div",{className:"flex items-center justify-center gap-2 py-16 text-sm text-muted",children:[x.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-accent"}),e]})}const K1="grid size-8 place-items-center overflow-hidden rounded-lg bg-surface-2 font-semibold text-muted";function ns({icon:e,name:t,artwork:a}){const l=x.jsx("div",{className:he(K1,"text-xs"),children:(t.trim()[0]??"?").toUpperCase()});if(!e)return l;if(e.kind==="emoji")return x.jsx("div",{className:he(K1,"text-lg leading-none"),children:e.value});if(e.kind==="named"){const s=LO[e.value];return s?x.jsx("div",{className:K1,children:x.jsx(s,{size:18,className:"text-muted"})}):l}return e.kind==="github"?x.jsx(Rh,{src:`https://github.com/${encodeURIComponent(e.owner)}.png?size=64`,fit:"cover",artwork:a,fallback:l}):x.jsx(ZO,{repoName:t,artwork:a,fallback:l})}function Rh({src:e,fit:t,artwork:a,fallback:l}){const[s,o]=w.useState(!1);return s?x.jsx(x.Fragment,{children:l}):x.jsx("div",{className:he(K1,a==="inset"&&"p-1.5"),children:x.jsx("img",{src:e,alt:"",loading:"lazy",className:he("size-full",a==="full-bleed"?"rounded-[inherit]":"rounded-sm",t==="cover"?"object-cover":"object-contain"),onError:()=>o(!0)})})}function ZO({repoName:e,artwork:t,fallback:a}){const{data:l,isError:s}=HF(e);return!e||s||!l?x.jsx(x.Fragment,{children:a}):x.jsx(Rh,{src:l,fit:"contain",artwork:t,fallback:a})}function Qx({title:e,subtitle:t,actions:a,onClose:l,closeLabel:s}){return x.jsxs("header",{className:"flex shrink-0 items-center gap-3 border-b border-border-soft bg-bg px-4 py-3",children:[x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("h2",{className:"text-base font-semibold",children:e}),t?x.jsx("p",{className:"truncate font-mono text-xs text-muted",children:t}):null]}),a,x.jsx("button",{type:"button",onClick:l,"aria-label":s,className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted transition hover:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent active:bg-surface-2",children:x.jsx(y0,{size:18})})]})}const $O=[wR,CT],Oh="conductor-attachment.invalid";function qO(e){const t=FD(e);if(!t.length)return e;let a="",l=0;for(const s of t){const o=s.name.replace(/[\\`*_[\]<>]/g,"\\$&");a+=`${e.slice(l,s.start)}[${o}](https://${Oh}/?path=${encodeURIComponent(s.path)})`,l=s.end}return a+e.slice(l)}function QO(e){if(!e)return null;try{const t=new URL(e);return t.hostname===Oh?t.searchParams.get("path"):null}catch{return null}}function Lh(e){const[t,a]=w.useState(null),[l,s]=w.useState(null);return w.useEffect(()=>{if(a(null),s(null),!e)return;let o=!1;return we.localImage(e).then(c=>{o||a(c)},c=>{o||s(c instanceof Error?c.message:"Image unavailable")}),()=>{o=!0}},[e]),{objectUrl:t,error:l}}function YO({src:e,alt:t,...a}){const l=xh(typeof e=="string"?e:null),{objectUrl:s,error:o}=Lh(l);return l?o?x.jsxs("span",{className:"my-2 block rounded-lg border border-del/30 px-3 py-2 text-xs text-del",children:[t||"Image"," unavailable: ",o]}):s?x.jsx("img",{src:s,alt:t??"",...a}):null:x.jsx("img",{src:e,alt:t??"",...a})}function Ph(e){if(!e?.startsWith("/"))return null;const t=e.match(/:([1-9]\d*)(?::\d+)?$/);return px(t?e.slice(0,-t[0].length):e)?e:null}function Hu({href:e,children:t,onClick:a,...l}){const s=QO(e),o=TR(s),c=xh(e??null),d=o?.kind==="image"?o.reference:c,f=uh(e??null),h=o?.kind==="source"?o.reference:Ph(e)??f,m=d??h,[p,y]=w.useState(!1),b=d&&p?x.jsx(KO,{reference:d,onClose:()=>y(!1)}):h&&p?x.jsx(Gh,{reference:h,onClose:()=>y(!1)}):null;return e?s?x.jsxs(x.Fragment,{children:[x.jsxs("button",{type:"button",title:d?`Open image ${d}`:h?`Open ${h}`:s,disabled:!m,onClick:()=>y(!0),className:"inline-flex max-w-full items-center gap-1 rounded-md bg-surface-2 px-1.5 py-0.5 align-baseline text-[0.9em] font-medium text-muted transition hover:text-text focus-visible:outline-2 focus-visible:outline-accent active:bg-surface disabled:cursor-default",children:[x.jsx(ox,{size:12,className:"shrink-0"}),x.jsx("span",{className:"truncate",children:t})]}),b]}):x.jsxs(x.Fragment,{children:[x.jsx("a",{href:e,...l,title:d?`Open image ${d}`:l.title,onClick:v=>{a?.(v),!(!m||v.defaultPrevented||v.button!==0||v.metaKey||v.ctrlKey||v.shiftKey||v.altKey)&&(v.preventDefault(),y(!0))},children:t}),b]}):x.jsx("span",{title:l.title,children:t})}function KO({reference:e,onClose:t}){const{objectUrl:a,error:l}=Lh(e);return w.useEffect(()=>{const s=o=>{o.key==="Escape"&&t()};return window.addEventListener("keydown",s),()=>window.removeEventListener("keydown",s)},[t]),Yn.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-[60] bg-black/60",onClick:t,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Image preview",className:"fade-in pt-safe pb-safe fixed inset-0 z-[60] mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[x.jsx(Qx,{title:"Image",subtitle:e,onClose:t,closeLabel:"Close image preview"}),x.jsxs("div",{className:"flex min-h-0 flex-1 items-center justify-center overflow-auto bg-black/15 p-3",children:[!a&&!l?x.jsx(hn,{label:"Loading image…"}):null,l?x.jsxs("p",{className:"max-w-xs text-center text-sm text-muted",children:["Image unavailable: ",l]}):null,a?x.jsx("img",{src:a,alt:"",className:"max-h-full max-w-full rounded-lg object-contain shadow-2xl"}):null]})]})]}),document.body)}function Gh({reference:e,onClose:t}){const[a,l]=w.useState(null),[s,o]=w.useState(null),c=w.useRef(null);return w.useEffect(()=>{let d=!1;return l(null),o(null),we.filePreview(e).then(f=>{d||l(f)},f=>{d||o(f instanceof Error?f.message:"Could not read source file")}),()=>{d=!0}},[e]),w.useEffect(()=>{a?.line&&c.current?.scrollIntoView({block:"center"})},[a?.line]),w.useEffect(()=>{const d=f=>{f.key==="Escape"&&t()};return window.addEventListener("keydown",d),()=>window.removeEventListener("keydown",d)},[t]),Yn.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-[60] bg-black/60",onClick:t,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Source file",className:"fade-in pt-safe pb-safe fixed inset-0 z-[60] mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[x.jsx(Qx,{title:"Source",subtitle:a?.path??e,onClose:t,closeLabel:"Close source preview"}),x.jsxs("div",{className:"min-h-0 flex-1 overflow-auto",children:[!a&&!s?x.jsx(hn,{label:"Reading source…"}):null,s?x.jsx("p",{className:"mx-auto max-w-xs px-6 py-16 text-center text-sm text-muted",children:s}):null,a?XO(a.path)?x.jsx(WO,{preview:a}):x.jsx(Dh,{preview:a,lineRef:c}):null]})]})]}),document.body)}function XO(e){return e.toLowerCase().endsWith(".md")}function WO({preview:e}){return x.jsxs("div",{className:"p-4 text-sm leading-6 text-text",children:[x.jsx(rr,{children:e.content}),x.jsx(Fh,{preview:e})]})}function JO({className:e,children:t,node:a,...l}){const s=gO(e),o=tL(t),c=uh(e?null:o);return c?x.jsx(eL,{reference:c,...l,children:t}):x.jsx("code",{className:e,...l,children:s&&o!==null?x.jsx(wh,{text:o,language:s}):t})}function eL({reference:e,children:t,...a}){const[l,s]=w.useState(!1);return x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button",title:`Open ${e}`,onClick:()=>s(!0),className:"max-w-full align-baseline text-left",children:x.jsx("code",{...a,className:"text-accent underline decoration-dotted underline-offset-2",children:t})}),l?x.jsx(Gh,{reference:e,onClose:()=>s(!1)}):null]})}function tL(e){return typeof e=="string"?e:Array.isArray(e)&&e.every(t=>typeof t=="string")?e.join(""):null}function nL({node:e,children:t,...a}){const l=e?aL(e):"";return x.jsxs("div",{className:"relative",children:[x.jsx("pre",{...a,children:t}),l?x.jsx(zh,{text:l,label:"code",size:12,className:"absolute right-1.5 top-1.5 size-6 rounded-md border border-border-soft bg-bg/90"}):null]})}function aL(e){let t="";const a=l=>{for(const s of l)s.type==="text"?t+=s.value:s.type==="element"&&a(s.children)};return a(e.children),t.replace(/\n$/,"")}const rL={a:Hu,code:JO,img:YO,pre:nL},rr=w.memo(function({children:t}){return x.jsx("div",{className:"md",children:x.jsx(xT,{remarkPlugins:$O,components:rL,children:qO(t)})})});function Yx({state:e,label:t,meta:a,actions:l=[],align:s="right",children:o,className:c,dataUserMessage:d,dataMessageState:f}){const h=e==="failed";return x.jsxs("div",{className:he("flex min-w-0 flex-col gap-1",s==="right"&&"items-end",s==="left"&&"items-start",s==="wide"&&"items-stretch"),...d?{"data-user-msg":d}:{},...f?{"data-msg-state":f}:{},children:[x.jsxs("div",{className:he("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",s==="wide"?"w-full":"max-w-[85%]",s==="right"?"bg-accent-soft text-text":"bg-surface/60 text-text",h?"border border-del/40":"opacity-60",c),children:[t?x.jsx("div",{className:he("mb-1 text-[10px] font-semibold uppercase tracking-wide",h?"text-del":"text-faint"),children:t}):null,o]}),h?x.jsxs("div",{className:he("flex flex-wrap items-center gap-x-2 gap-y-1 px-1 text-[11px] text-del",s==="right"&&"justify-end"),children:[x.jsx(Lr,{size:11,className:"shrink-0"}),a?x.jsx("span",{className:"min-w-0 max-w-[70vw] truncate",children:a}):x.jsx("span",{children:"Didn’t finish"}),l.map(m=>x.jsx("button",{type:"button",onClick:m.onClick,className:he("underline underline-offset-2",m.primary?"font-semibold text-del":"text-faint"),children:m.label},m.label))]}):x.jsxs("div",{className:he("flex min-w-0 items-center gap-1 px-1 text-[11px] text-faint",s==="right"&&"justify-end"),children:[x.jsx(_0,{size:11,className:"shrink-0 animate-spin"}),x.jsx("span",{className:"min-w-0 truncate",children:a??"Queued"}),l.map(m=>x.jsx("button",{type:"button",onClick:m.onClick,className:he("ml-1 underline underline-offset-2",m.primary&&"font-semibold text-accent"),children:m.label},m.label))]})]})}const Kx={queued:"Queued",opening:"Opening",configuring:"Configuring",sending:"Sending",running:"Running",returning:"Returning Baton",returned:"Baton delivered",failed:"Failed"},lL={creating_workspace:"Creating workspace",binding_root:"Binding root",pending_root:"Root delivery pending",exploring:"Exploring",planning:"Planning",implementing:"Implementing",reviewing:"Reviewing",blocked:"Blocked",completed:"Completed",cancelled:"Cancelled"};function J2(e){return lL[e]}function eu(e){return e==="creating_workspace"||e==="binding_root"||e==="pending_root"}function _f(e){const t=[`${e.requested} requested`];return e.running&&t.push(`${e.running} running`),e.returned&&t.push(`${e.returned} returned`),e.failed&&t.push(`${e.failed} failed`),t.join(" · ")}function iL(e){return[e.model,e.effort,e.fast===void 0?void 0:e.fast?"Fast":"Fast off"].filter(Boolean).join(" · ")}function sL({name:e,role:t}){return x.jsxs("div",{className:"flex min-w-0 items-center gap-1.5 rounded-lg bg-surface-2 px-2 py-1.5 text-[11px]",children:[x.jsx(zl,{agentType:t.agentType,model:t.model,className:"size-3.5 shrink-0"}),x.jsx("span",{className:"shrink-0 font-medium capitalize text-text",children:e}),x.jsx("span",{className:"truncate text-muted",children:iL(t)})]})}function oL({quarantine:e,className:t}){const a=NF(),[l,s]=w.useState(!1),[o,c]=w.useState(null);if(!e)return null;const d=async()=>{if(!l){s(!0),c(null);try{await a(e)}catch(f){c(f instanceof Error?f.message:String(f))}finally{s(!1)}}};return x.jsx("section",{"aria-label":"Conductor UI safety hold",role:"alert",className:he("shrink-0 border-b border-del/40 bg-del/10 px-3 py-2.5 text-xs",t),children:x.jsxs("div",{className:"flex items-start gap-2",children:[x.jsx(Lr,{size:16,className:"mt-0.5 shrink-0 text-del"}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("div",{className:"font-semibold text-del",children:"Automated Conductor UI writes are paused"}),x.jsx("p",{className:"mt-0.5 text-text",children:e.reason}),x.jsx("p",{className:"mt-1 text-muted",children:"Inspect Conductor on your Mac. Continue only when its window is stable and no UI action is still in flight."}),x.jsxs("div",{className:"mt-1 flex min-w-0 flex-wrap gap-x-2 text-[10px] text-faint",children:[x.jsx("span",{children:new Date(e.createdAt).toLocaleString()}),e.actionId?x.jsxs("span",{className:"max-w-full truncate",children:["Action · ",e.actionId]}):null,e.effectId?x.jsxs("span",{className:"max-w-full truncate",children:["Effect · ",e.effectId]}):null]}),x.jsxs("button",{type:"button",disabled:l,onClick:()=>{d()},className:"mt-2 flex min-h-9 items-center gap-1.5 rounded-lg bg-del px-3 py-1.5 font-semibold text-white disabled:opacity-50",children:[l?x.jsx(_0,{size:13,className:"animate-spin"}):x.jsx(a9,{size:13}),"I checked — Conductor is stable"]}),o?x.jsx("p",{className:"mt-1.5 text-del",role:"alert",children:o}):null]})]})})}function cL({warning:e}){return e?x.jsx("section",{"aria-label":"Workflow unavailable",role:"alert",className:"shrink-0 border-b border-del/40 bg-del/10 px-3 py-2.5 text-xs",children:x.jsxs("div",{className:"flex items-start gap-2",children:[x.jsx(Lr,{size:16,className:"mt-0.5 shrink-0 text-del"}),x.jsxs("div",{className:"min-w-0",children:[x.jsx("div",{className:"font-semibold text-del",children:"Workflow is unavailable"}),x.jsx("p",{className:"mt-0.5 text-text",children:e})]})]})}):null}function Hh({workflow:e,bootstrapJob:t,compact:a=!1}){const l=MF(),[s,o]=w.useState(null),[c,d]=w.useState(null),[f,h]=w.useState(!1),[m,p]=w.useState(!1),y=e.jobs.exploration,b=Math.max(0,y.requested-1),v=t?Kx[t.status]:eu(e.phase)?"Waiting for root delivery":"Scheduled",k=async(C,A)=>{if(!s){o(C),d(null);try{await A(),h(!1),p(!1)}catch(F){d(F instanceof Error?F.message:String(F))}finally{o(null)}}};return x.jsxs("section",{"aria-label":`Workflow ${J2(e.phase)}`,className:he("border-b border-border-soft bg-bg px-3 py-2",a&&"rounded-xl border"),children:[x.jsxs("div",{className:"flex min-w-0 items-start gap-2",children:[x.jsx("div",{className:"mt-0.5 flex size-7 shrink-0 items-center justify-center rounded-lg bg-accent-soft text-accent",children:e.phase==="blocked"?x.jsx(Lr,{size:15}):e.phase==="completed"?x.jsx($6,{size:15}):e.phase==="cancelled"?x.jsx(y0,{size:15}):x.jsx(cs,{size:15})}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[x.jsx("span",{className:"shrink-0 text-xs font-semibold text-text",children:eu(e.phase)?"Workflow accepted":J2(e.phase)}),eu(e.phase)?x.jsx("span",{className:"truncate text-[11px] text-muted",children:J2(e.phase)}):null]}),x.jsx("p",{className:"mt-0.5 line-clamp-2 text-xs text-muted",children:e.objectiveExcerpt}),x.jsxs("div",{className:"mt-1 flex flex-wrap gap-x-3 gap-y-0.5 text-[11px] text-muted",children:[x.jsxs("span",{children:["Guaranteed explorer ·"," ",x.jsx("span",{className:t?.status==="failed"?"text-del":"text-text",children:v})]}),x.jsx("span",{children:b?`${b} extra explorer${b===1?"":"s"}`:"No extra explorers"})]})]})]}),x.jsx("div",{className:"mt-2 grid gap-1 min-[560px]:grid-cols-3",children:["planning","exploration","implementation"].map(C=>x.jsx(sL,{name:C,role:e.roles[C]},C))}),a?null:x.jsxs("div",{className:"mt-1.5 flex flex-wrap gap-x-3 gap-y-1 text-[11px] text-faint",children:[x.jsxs("span",{children:["Exploration · ",_f(e.jobs.exploration)]}),x.jsxs("span",{children:["Implementation · ",_f(e.jobs.implementation)]})]}),e.error?x.jsxs("div",{className:"mt-2 rounded-lg border border-del/30 bg-del/5 px-2.5 py-2 text-xs text-del",role:"alert",children:[x.jsx("div",{className:"font-medium",children:e.error.code}),x.jsx("div",{children:e.error.message})]}):null,c?x.jsx("div",{className:"mt-2 text-xs text-del",role:"alert",children:c}):null,e.actions.canAdopt&&e.adoption?x.jsxs("div",{className:"mt-2 rounded-lg border border-border-soft bg-surface px-2.5 py-2",children:[x.jsxs("div",{className:"text-xs font-medium text-text",children:["Choose the ",e.adoption.kind," the relay observed"]}),e.adoption.candidates.length?x.jsx("div",{className:"mt-1 flex flex-wrap gap-1",children:e.adoption.candidates.map(C=>x.jsxs("button",{type:"button",disabled:!!s,onClick:()=>{k(`adopt:${C.id}`,()=>l.adopt(e,C))},title:C.id,className:"rounded-lg border border-border bg-surface-2 px-2 py-1 text-left text-[11px] text-text disabled:opacity-50",children:[x.jsx("span",{className:"block font-medium",children:C.title}),x.jsxs("span",{className:"text-faint",children:[C.repo," · ",new Date(C.createdAt).toLocaleString()," · ",C.id.slice(0,8)]})]},C.id))}):x.jsx("div",{className:"mt-1 text-[11px] text-faint",children:"No candidate remains eligible."})]}):null,f?x.jsxs("div",{className:"mt-2 rounded-lg border border-del/30 bg-del/5 px-2.5 py-2 text-xs",children:[x.jsx("p",{className:"text-del",children:"The earlier UI action may already have happened. Replaying it can create a duplicate."}),x.jsxs("div",{className:"mt-1.5 flex gap-1.5",children:[x.jsx("button",{type:"button",disabled:!!s,onClick:()=>{k("replay",()=>l.replay(e))},className:"rounded-lg bg-del px-2 py-1 text-[11px] font-medium text-white disabled:opacity-50",children:"Confirm replay"}),x.jsx("button",{type:"button",onClick:()=>h(!1),className:"px-2 py-1 text-[11px] text-muted",children:"Keep blocked"})]})]}):null,m?x.jsxs("div",{className:"mt-2 rounded-lg border border-border-soft bg-surface px-2.5 py-2 text-xs",children:[x.jsx("p",{className:"text-muted",children:"Cancel orchestration only. Existing chats, turns, and worktrees stay in place."}),x.jsxs("div",{className:"mt-1.5 flex gap-1.5",children:[x.jsx("button",{type:"button",disabled:!!s,onClick:()=>{k("cancel",()=>l.cancel(e))},className:"rounded-lg border border-del/40 px-2 py-1 text-[11px] font-medium text-del disabled:opacity-50",children:"Confirm cancel"}),x.jsx("button",{type:"button",onClick:()=>p(!1),className:"px-2 py-1 text-[11px] text-muted",children:"Keep running"})]})]}):null,e.actions.canRetry||e.actions.canReplayAmbiguous||e.actions.canComplete||e.actions.canCancel?x.jsxs("div",{className:"mt-2 flex flex-wrap gap-1.5",children:[e.actions.canRetry?x.jsxs("button",{type:"button",disabled:!!s,onClick:()=>{k("retry",()=>l.retry(e))},className:"flex items-center gap-1 rounded-lg bg-accent px-2 py-1 text-[11px] font-medium text-on-solid disabled:opacity-50",children:[s==="retry"?x.jsx(_0,{size:11,className:"animate-spin"}):x.jsx(t9,{size:11}),"Retry saved action"]}):null,e.actions.canReplayAmbiguous&&!f?x.jsx("button",{type:"button",disabled:!!s,onClick:()=>h(!0),className:"rounded-lg border border-del/40 px-2 py-1 text-[11px] font-medium text-del disabled:opacity-50",children:"Review risky replay"}):null,e.actions.canComplete?x.jsxs("button",{type:"button",disabled:!!s,onClick:()=>{k("complete",()=>l.complete(e))},className:"flex items-center gap-1 rounded-lg bg-accent px-2 py-1 text-[11px] font-medium text-on-solid disabled:opacity-50",children:[x.jsx(a9,{size:11})," Mark complete"]}):null,e.actions.canCancel&&!m?x.jsx("button",{type:"button",disabled:!!s,onClick:()=>p(!0),className:"rounded-lg px-2 py-1 text-[11px] text-muted disabled:opacity-50",children:"Cancel workflow"}):null]}):null]})}function jf(e,t,a,l){const s=m=>l===null?!m:m===l,o=e.filter(m=>s(m.workflowId)),c=t.flatMap(m=>{const p=a[m.id],y=p?.delegationId;return y&&s(p.workflowId)?[{session:m,assignment:p,delegationId:y}]:[]}),d=new Map(c.map(m=>[m.delegationId,m])),f=new Set(o.map(m=>m.id)),h=o.map(m=>({key:`job:${m.id}`,order:m.createdAt,role:m.bootstrap?"Guaranteed explorer":m.role,model:m.resolvedRole.model,agentType:m.resolvedRole.agentType,childSessionId:m.childSessionId??d.get(m.id)?.session.id,status:Kx[m.status],state:m.status==="failed"?"failed":m.status==="returned"?"done":"busy"}));for(const{session:m,assignment:p,delegationId:y}of c){if(f.has(y))continue;const b=!!m.background_tasks.length,v=m.status==="working";h.push({key:`session:${m.id}`,order:p.assignedAt,role:p.role,model:m.model,agentType:m.agent_type,childSessionId:m.id,...v?{status:"Running",state:"busy"}:b?{status:"Waiting",state:"waiting"}:{status:"Returned",state:"done"}})}return h.sort((m,p)=>m.order-p.order||m.key.localeCompare(p.key))}function Tf({tabs:e,label:t,activeSessionId:a,onSelectSession:l}){return x.jsx(Vh,{label:t,tabs:e.map(s=>{const o=s.childSessionId;return{key:s.key,label:s.role,model:s.model,agentType:s.agentType,status:s.status,state:s.state,selected:!!o&&o===a,...o?{onSelect:()=>l(o)}:{}}})})}function Vh({tabs:e,label:t,parentSelected:a=!0}){return!a||!e.length?null:x.jsxs("nav",{"aria-label":t,className:"flex shrink-0 items-center gap-1.5 overflow-x-auto border-b border-border-soft bg-bg px-3 py-2",children:[t.startsWith("Legacy")?x.jsx("span",{className:"shrink-0 text-[10px] font-medium uppercase text-faint",children:"Legacy"}):null,e.map((l,s)=>{const o=l.state==="failed",c=x.jsxs(x.Fragment,{children:[x.jsx(zl,{agentType:l.agentType,model:l.model,className:"size-3.5"}),x.jsx("span",{className:"max-w-28 truncate font-medium",children:l.label}),l.model?x.jsx("span",{className:"max-w-28 truncate text-faint",children:l.model}):null,l.status?x.jsxs("span",{className:he("flex shrink-0 items-center gap-1",o?"text-del":"text-muted"),children:[l.state==="failed"?x.jsx(Lr,{size:10}):l.state==="waiting"?x.jsx(sx,{size:10}):l.state==="done"?x.jsx($6,{size:10}):x.jsx(_0,{size:10,className:"animate-spin"}),l.status]}):null]});return x.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[s?x.jsx(Cb,{size:11,className:"shrink-0 text-faint"}):null,l.onSelect?x.jsx("button",{type:"button",onClick:l.onSelect,"aria-current":l.selected?"page":void 0,className:he("flex h-7 shrink-0 items-center gap-1.5 rounded-lg border border-border-soft px-2 text-[11px] active:bg-surface-2",l.selected&&"border-accent/50 bg-surface-2",o&&"border-del/40"),children:c}):x.jsx("div",{className:he("flex h-7 shrink-0 items-center gap-1.5 rounded-lg border border-border-soft px-2 text-[11px]",o&&"border-del/40"),children:c})]},l.key)})]})}function uL({workflow:e,jobs:t,sessions:a=[],roles:l={},activeSessionId:s,onSelectSession:o}){const c=e?jf(t,a,l,e.id):[],d=e?t.find(h=>h.workflowId===e.id&&h.bootstrap):void 0,f=jf(t,a,l,null);return!e&&!f.length?null:x.jsxs(x.Fragment,{children:[e?x.jsx(Hh,{workflow:e,bootstrapJob:d}):null,x.jsx(Tf,{tabs:c,label:"Workflow jobs",activeSessionId:s,onSelectSession:o}),x.jsx(Tf,{tabs:f,label:"Legacy delegated work",activeSessionId:s,onSelectSession:o})]})}function xL(e){return Kx[e]}function dL({jobs:e,sessionId:t,onSelectSession:a,onDismiss:l,onOpenRoles:s}){if(!t)return null;const o=e.filter(c=>!c.workflowId&&(c.parentSessionId===t||c.childSessionId===t));return o.length?x.jsx(x.Fragment,{children:o.map(c=>{const d=c.parentSessionId===t,f=c.status==="failed",h=d?c.childSessionId:c.parentSessionId,m=[];return h&&m.push({label:d?"Open worker":"Open parent",onClick:()=>a(h)}),f&&(m.push({label:"Edit roles",onClick:s,primary:!0}),m.push({label:"Dismiss delegation",onClick:()=>l(c.id)})),x.jsx(Yx,{state:f?"failed":"pending",align:"wide",label:`Legacy delegation · ${d?"Delegated":"Assigned"} · ${c.role} · ${c.resolvedRole.model}${c.resolvedRole.effort?` · ${c.resolvedRole.effort}`:""}`,meta:f?`${c.failure?.code??"failed"}: ${c.failure?.message??"The delegated job failed."}`:`${xL(c.status)}${c.attempts?` · attempt ${c.attempts+1}`:""}`,actions:m,dataMessageState:`delegation-${c.status}`,children:x.jsx(rr,{children:c.prompt})},c.id)})}):null}const fL="modulepreload",hL=function(e){return"/"+e},zf={},Ih=function(t,a,l){let s=Promise.resolve();if(a&&a.length>0){let f=function(h){return Promise.all(h.map(m=>Promise.resolve(m).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),d=c?.nonce||c?.getAttribute("nonce");s=f(a.map(h=>{if(h=hL(h),h in zf)return;zf[h]=!0;const m=h.endsWith(".css"),p=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${p}`))return;const y=document.createElement("link");if(y.rel=m?"stylesheet":fL,m||(y.as="script"),y.crossOrigin="",y.href=h,d&&y.setAttribute("nonce",d),document.head.appendChild(y),m)return new Promise((b,v)=>{y.addEventListener("load",b),y.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${h}`)))})}))}function o(c){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=c,window.dispatchEvent(d),!d.defaultPrevented)throw c}return s.then(c=>{for(const d of c||[])d.status==="rejected"&&o(d.reason);return t().catch(o)})};function pL(e={}){const{immediate:t=!1,onNeedReload:a,onNeedRefresh:l,onOfflineReady:s,onRegistered:o,onRegisteredSW:c,onRegisterError:d}=e;let f,h,m;const p=async(b=!0)=>{await h,m?.()};async function y(){if("serviceWorker"in navigator){if(f=await Ih(async()=>{const{Workbox:b}=await import("./workbox-window.prod.es5-BBnX5xw4.js");return{Workbox:b}},[]).then(({Workbox:b})=>new b("/sw.js",{scope:"/",type:"classic"})).catch(b=>{d?.(b)}),!f)return;m=()=>{f?.messageSkipWaiting()};{let b=!1;const v=()=>{b=!0,f?.addEventListener("controlling",k=>{k.isUpdate&&(a?a():window.location.reload())}),l?.()};f.addEventListener("installed",k=>{typeof k.isUpdate>"u"?typeof k.isExternal<"u"&&k.isExternal?v():!b&&s?.():k.isUpdate||s?.()}),f.addEventListener("waiting",v)}f.register({immediate:t}).then(b=>{c?c("/sw.js",b):o?.(b)}).catch(b=>{d?.(b)})}}return h=y(),p}function mL(e={}){const{immediate:t=!0,onNeedReload:a,onNeedRefresh:l,onOfflineReady:s,onRegistered:o,onRegisteredSW:c,onRegisterError:d}=e,[f,h]=w.useState(!1),[m,p]=w.useState(!1),[y]=w.useState(()=>pL({immediate:t,onNeedReload:a,onOfflineReady(){p(!0),s?.()},onNeedRefresh(){h(!0),l?.()},onRegistered:o,onRegisteredSW:c,onRegisterError:d}));return{needRefresh:[f,h],offlineReady:[m,p],updateServiceWorker:y}}const Rf=6e4,gL=1e4,tu="pwa-update-attempted-at",EL=2500,yL=30*6e4,Li="pwa-update-snoozed-until";async function bL(){try{if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistrations();await Promise.all(t.map(a=>a.unregister()))}if("caches"in window){const t=await caches.keys();await Promise.all(t.map(a=>caches.delete(a)))}}catch{}const e=location.search?"&":"?";location.replace(`${location.pathname}${location.search}${e}_v=${Date.now()}`)}function vL(){const e=Ce(p=>p.token),t=w.useRef(null),a=w.useRef(!1),{needRefresh:[l,s],updateServiceWorker:o}=mL({onRegisteredSW(p,y){y&&(t.current=y,setInterval(()=>{y.update().catch(()=>{})},Rf))}}),{data:c}=h0({queryKey:["state"],queryFn:()=>we.state(),enabled:!!e,refetchInterval:!1}),d=c?.version,f=w.useRef(null);if(w.useEffect(()=>{!d||d==="1.108.2"||f.current===d||(f.current=d,t.current?.update().catch(()=>{}))},[d]),w.useEffect(()=>{if(!l)return;const p=Number(sessionStorage.getItem(tu));if(sessionStorage.removeItem(tu),p&&Date.now()-p<gL){s(!1);return}const y=Number(sessionStorage.getItem(Li));y&&Date.now()<y&&s(!1)},[l,s]),w.useEffect(()=>{if(l)return;const p=()=>{const b=Number(sessionStorage.getItem(Li));!b||Date.now()<b||t.current?.waiting&&(sessionStorage.removeItem(Li),s(!0))},y=window.setInterval(p,Rf);return document.addEventListener("visibilitychange",p),()=>{window.clearInterval(y),document.removeEventListener("visibilitychange",p)}},[l,s]),!l)return null;const h=()=>{sessionStorage.setItem(Li,String(Date.now()+yL)),s(!1)},m=()=>{sessionStorage.removeItem(Li),sessionStorage.setItem(tu,String(Date.now()));const p=()=>{a.current||(a.current=!0,window.location.reload())},y=t.current?.waiting;y?(navigator.serviceWorker?.addEventListener("controllerchange",p,{once:!0}),y.addEventListener("statechange",()=>{y.state==="activated"&&p()}),y.postMessage({type:"SKIP_WAITING"})):o(!0),window.setTimeout(()=>{a.current||(a.current=!0,bL())},EL)};return x.jsxs("div",{className:"pb-safe fade-in fixed inset-x-0 bottom-0 z-40 mx-auto flex max-w-sm items-center gap-3 rounded-t-2xl border border-border-soft bg-surface px-4 py-3 shadow-xl",children:[x.jsx(os,{size:15,className:"shrink-0 text-accent"}),x.jsx("span",{className:"flex-1 text-sm",children:"New version ready"}),x.jsx("button",{type:"button",onClick:h,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Later"}),x.jsx("button",{type:"button",onClick:m,className:"rounded-lg bg-accent px-3 py-1 text-xs font-semibold text-on-solid transition active:scale-95",children:"Update"})]})}function Uh({children:e}){return x.jsxs("header",{className:"pt-safe sticky top-0 z-10 border-b border-border-soft bg-bg/80 backdrop-blur-xl",children:[e,x.jsx(VO,{})]})}function Vu({title:e,subtitle:t,menu:a,right:l}){const s=Ce(o=>o.setSidebarOpen);return x.jsx(Uh,{children:x.jsxs("div",{className:"flex items-center gap-2 px-3 pb-2.5",children:[a?x.jsx("button",{type:"button",onClick:()=>s(!0),"aria-label":"Open workspaces",className:"-ml-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 md:hidden",children:x.jsx(LA,{size:20})}):x.jsx("span",{className:"w-1"}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("div",{className:"truncate text-[15px] font-semibold leading-tight",children:e}),t?x.jsx("div",{className:"truncate text-xs leading-tight text-muted",children:t}):null]}),l]})})}function CL(e){for(let t=e.length-1;t>=0;t--){const a=e[t];if(a.role==="assistant")return a;if(a.role==="user")return null}return null}function Of(e){const t=[];let a=null;for(const l of e)l.role==="assistant"?a=l:l.role==="user"&&(a&&t.push(a),a=null);return a&&t.push(a),t}function kL(e,t,a){const l=W0(t.ts);if(a&&W0(a)<l)return a;const s=e.lastIndexOf(t);for(let o=(s<0?e.length:s)-1;o>=0;o--)if(e[o].role==="user")return e[o].ts;return null}function AL(e){const t=new Map;for(const o of e)o.subagentLabel&&o.toolUseId&&!t.has(o.toolUseId)&&t.set(o.toolUseId,o);const a=new Map,l=new Set;for(const o of e){const c=o.parentToolUseId,d=c?t.get(c):void 0;if(!d||d===o)continue;const f=a.get(c)??[];f.push(o),a.set(c,f),l.add(o)}const s=(o,c)=>{const d=o.toolUseId;if(!d||c.has(d))return{e:o,children:[]};const f=new Set(c);return f.add(d),{e:o,children:(a.get(d)??[]).map(h=>s(h,f))}};return e.filter(o=>!l.has(o)).map(o=>s(o,new Set))}function BL(e){const t=[],a=new Set,l=s=>{const o=s.e.toolUseId,c=s.e.subagentLabel;o&&c&&!a.has(o)&&(a.add(o),t.push({id:o,label:c,node:s}));for(const d of s.children)l(d)};for(const s of e)l(s);return t.sort((s,o)=>s.node.e.rowid-o.node.e.rowid||s.id.localeCompare(o.id))}const wL=1500,DL=400,Zh=12,FL=2,SL=Zh+8,ML=2,NL=1.1,_L=200,jL=420,TL=.6,$h=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,nu=(e,t,a)=>Math.min(a,Math.max(t,e)),zL=e=>e.scrollHeight-e.clientHeight-e.scrollTop<=ML?e.scrollTop+e.clientHeight:e.scrollTop+SL,RL=(e,t)=>e.length===t.length&&e.every((a,l)=>a.top===t[l].top&&a.preview===t[l].preview);function OL(e,t,a){const l=nu(t,0,e.scrollHeight-e.clientHeight);if($h())return e.scrollTop=l,a(),()=>{};const s=e.clientHeight*NL;Math.abs(l-e.scrollTop)>s&&(e.scrollTop=nu(l+Math.sign(e.scrollTop-l)*s,0,e.scrollHeight-e.clientHeight));const o=e.scrollTop,c=l-o;if(!c)return a(),()=>{};const d=nu(Math.abs(c)*TL,_L,jL),f=performance.now();let h=0,m=!1;const p=()=>{m||(m=!0,cancelAnimationFrame(h),e.removeEventListener("touchstart",p),e.removeEventListener("wheel",p))};e.addEventListener("touchstart",p,{passive:!0}),e.addEventListener("wheel",p,{passive:!0});const y=b=>{const v=Math.min(1,(b-f)/d);if(e.scrollTop=o+c*(1-(1-v)**5),v<1){h=requestAnimationFrame(y);return}p(),a()};return h=requestAnimationFrame(y),p}function LL({scroller:e}){const[t,a]=w.useState([]),[l,s]=w.useState(0),[o,c]=w.useState(!1),[d,f]=w.useState(!1),h=w.useRef([]),m=w.useRef(!1),p=w.useRef(!1),y=w.useRef(0),b=w.useRef(0),v=w.useRef(0),k=w.useRef(()=>{}),C=w.useCallback(()=>{p.current||(clearTimeout(y.current),m.current=!1,c(!1))},[]),A=w.useCallback(()=>{m.current=!0,c(!0),clearTimeout(y.current),y.current=window.setTimeout(C,wL)},[C]),F=w.useCallback(()=>{const T=e.current;if(!T)return;const V=T.getBoundingClientRect().top-T.scrollTop,Z=Array.from(T.querySelectorAll("[data-user-msg]"),re=>({top:re.getBoundingClientRect().top-V,preview:re.dataset.userMsg??"",ts:re.dataset.msgTs??null,state:re.dataset.msgState??null,node:re}));h.current=RL(h.current,Z)?h.current:Z,a(h.current),s(zL(T))},[e]),M=w.useCallback(()=>{v.current||(v.current=requestAnimationFrame(()=>{v.current=0,F()}))},[F]);w.useEffect(()=>{const T=e.current;if(!T)return;const V=()=>{b.current=performance.now()},Z=()=>{!m.current&&performance.now()-b.current>DL||eo()||(A(),M())},re=()=>{eo()&&C()};T.addEventListener("touchmove",V,{passive:!0}),T.addEventListener("wheel",V,{passive:!0}),T.addEventListener("scroll",Z,{passive:!0}),document.addEventListener("selectionchange",re);const ee=()=>{m.current&&M()},Q=new ResizeObserver(ee);Q.observe(T);const G=new MutationObserver(ee);return G.observe(T,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["open"]}),()=>{T.removeEventListener("touchmove",V),T.removeEventListener("wheel",V),T.removeEventListener("scroll",Z),document.removeEventListener("selectionchange",re),Q.disconnect(),G.disconnect(),k.current(),v.current&&cancelAnimationFrame(v.current),clearTimeout(y.current)}},[e,A,C,M]);const N=T=>{const V=e.current,Z=h.current[T];V&&Z&&(k.current(),k.current=OL(V,Z.top-Zh,()=>{$h()||Z.node.firstElementChild?.animate([{boxShadow:"0 0 0 2px var(--color-accent)"},{boxShadow:"0 0 0 2px transparent"}],{duration:700,easing:"ease-out"})}),A())},S=w.useCallback(()=>{p.current=!1,f(!1),A()},[A]);if(t.length<FL)return null;let D=-1;for(let T=0;T<t.length;T++)t[T].top<=l&&(D=T);const R=D>0?D-1:null,O=D+1<t.length?D+1:null,P=o||d;return x.jsxs(x.Fragment,{children:[x.jsx("div",{className:he("pointer-events-none absolute inset-x-0 bottom-0 z-20 flex justify-center pb-3 transition duration-200 ease-out motion-reduce:transition-none",P?"translate-y-0 opacity-100":"translate-y-3 opacity-0"),children:x.jsxs("nav",{"aria-label":"Jump to your messages",onFocus:A,className:he("flex h-12 items-stretch overflow-hidden rounded-full border border-border bg-surface-2 shadow-lg shadow-black/60",P?"pointer-events-auto":"pointer-events-none"),children:[x.jsx(Lf,{dir:"up",onClick:()=>R!==null&&N(R),disabled:R===null}),x.jsxs("button",{type:"button",onClick:()=>{F(),p.current=!0,f(!0),A()},"aria-haspopup":"dialog","aria-expanded":d,"aria-label":`Your messages — ${t.length} in this chat`,className:"flex items-center gap-1.5 border-border-soft border-x px-3.5 text-muted transition active:bg-surface active:text-text focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:[x.jsx(X6,{size:16,className:"shrink-0"}),x.jsxs("span",{className:"font-mono text-[13px] tabular-nums",children:[x.jsx("span",{className:"text-text",children:D+1||"–"}),x.jsxs("span",{className:"text-muted",children:["/",t.length]})]})]}),x.jsx(Lf,{dir:"down",onClick:()=>O!==null&&N(O),disabled:O===null})]})}),d?x.jsx(GL,{marks:t,current:D,onPick:T=>{S(),N(T)},onClose:S}):null]})}function PL({mark:e}){if(e.state==="failed")return x.jsx("span",{className:"shrink-0 text-[11px] text-del",children:"didn’t send"});const t=e.state==="sending"?"sending…":e.state==="queued"?"queued":e.ts&&_h(e.ts);return t?x.jsx("span",{className:"shrink-0 text-[11px] text-muted tabular-nums",children:t}):null}function Lf({dir:e,onClick:t,disabled:a}){const l=e==="up"?Ov:Ba;return x.jsx("button",{type:"button",onClick:t,disabled:a,"aria-label":e==="up"?"Jump to your previous message":"Jump to your next message",className:"flex w-12 items-center justify-center text-muted transition active:bg-surface active:text-text disabled:text-faint/40 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:x.jsx(l,{size:19})})}function GL({marks:e,current:t,onPick:a,onClose:l}){const s=w.useRef(null),o=w.useRef(null);return w.useEffect(()=>{s.current?.focus({preventScroll:!0}),o.current?.scrollIntoView({block:"center"})},[]),x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:l,"aria-hidden":!0}),x.jsxs("div",{ref:s,role:"dialog","aria-modal":"true","aria-label":"Your messages",tabIndex:-1,onKeyDown:c=>c.key==="Escape"&&l(),className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[70%] max-w-md flex-col rounded-t-3xl border border-border-soft bg-surface shadow-xl outline-none md:mb-6 md:rounded-3xl",children:[x.jsxs("header",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-2.5",children:[x.jsx("h2",{className:"flex-1 text-[15px] font-semibold",children:"Your messages"}),x.jsx("span",{className:"font-mono text-[12px] text-faint tabular-nums",children:e.length}),x.jsx("button",{type:"button",onClick:l,"aria-label":"Close",className:"-mr-2 flex size-11 items-center justify-center rounded-full text-muted transition active:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",children:x.jsx(y0,{size:19})})]}),x.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto overscroll-contain py-1",children:e.map((c,d)=>x.jsxs("button",{ref:d===t?o:void 0,type:"button",onClick:()=>a(d),"aria-current":d===t?"true":void 0,className:he("flex min-h-14 w-full items-center gap-3 px-4 py-2.5 text-left transition active:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent focus-visible:-outline-offset-2",d===t&&"bg-surface-2/60"),children:[x.jsx("span",{className:he("w-5 shrink-0 text-right font-mono text-[11px] tabular-nums",d===t?"text-accent":"text-muted"),children:d+1}),x.jsx("span",{className:"line-clamp-2 min-w-0 flex-1 text-[13.5px] leading-snug text-text [overflow-wrap:anywhere]",children:c.preview||"Empty message"}),x.jsx(PL,{mark:c})]},c.top))})]})]})}const HL=w.lazy(()=>Ih(()=>import("./PierrePatch-Cugc0r1i.js"),[]));function qh(e){return e.patch.split(`
47
+ `).some(t=>t.startsWith("@@ "))?x.jsx(w.Suspense,{fallback:x.jsx(Pf,{...e}),children:x.jsx(HL,{...e})}):x.jsx(Pf,{...e})}function Pf({patch:e,truncated:t,className:a}){const l=w.useMemo(()=>e.split(`
48
+ `),[e]);return x.jsxs("pre",{className:he("overflow-x-auto font-mono text-[11.5px] leading-[1.5]",a),children:[l.map((s,o)=>x.jsx("div",{className:he("whitespace-pre",VL(s)),children:s||" "},o)),t?x.jsx("div",{className:"mt-2 text-faint",children:"… diff truncated …"}):null]})}function VL(e){return e.startsWith("+")&&!e.startsWith("+++")?"text-add":e.startsWith("-")&&!e.startsWith("---")?"text-del":e.startsWith("@@")?"text-accent":e.startsWith("diff ")||e.startsWith("index ")||e.startsWith("+++")||e.startsWith("---")?"text-faint":"text-muted"}function Qh({sessionId:e,workspaceId:t,working:a,workingSince:l,turnStartedAt:s,queued:o,waiting:c,delegations:d=[],poll:f,agentType:h,model:m,selectedSubagentId:p,onFork:y,onSelectSession:b,onSelectSubagent:v,onDismissDelegation:k,onOpenRoles:C}){const{entries:A,loading:F,error:M}=$F(e,f??!0),N=Ce(ne=>ne.pending),S=Ce(ne=>ne.removePending),D=O9(),R=O0(),O=w.useRef(null),P=w.useRef(!0),T=w.useMemo(()=>AL(A),[A]),V=w.useMemo(()=>BL(T),[T]),Z=p?V.find(ne=>ne.id===p):void 0,re=!!Z,ee=Z?.node.children??T,Q=w.useMemo(()=>T.map(ne=>ne.e),[T]),G=w.useMemo(()=>UL(ee),[ee]),Y=w.useMemo(()=>CL(Q),[Q]),le=w.useMemo(()=>{const ne=Of(Q).filter(Oe=>Oe!==Y);return new Set(ne.map(wl))},[Q,Y]),xe=w.useMemo(()=>new Map(Of(Q).map(ne=>[ne,kL(Q,ne,s)])),[Q,s]),j=Z?qL(Z.node):null;w.useEffect(()=>{p&&!F&&!Z&&v?.(null)},[p,Z,F,v]);const L=async ne=>{await(ne.sessionId?we.dismissParked(ne.sessionId):we.dismissPrompt(ne.workspaceId)).catch(()=>{}),R.invalidateQueries({queryKey:["state"]})},$=new Set(A.filter(ne=>ne.role==="user").map(ne=>ne.text.trim())),z=[...$],ie=N.filter(ne=>ne.sessionId===e),be=ie.filter(ne=>!(x4(ne)&&z.some(Oe=>d4(ne,Oe)))),X=o?.text.trim()||null,me=X&&!$.has(X)&&!ie.some(ne=>ne.text.trim()===X)?o:null,He=!!e&&d.some(ne=>ne.parentSessionId===e||ne.childSessionId===e);w.useEffect(()=>{const ne=A.filter(Oe=>Oe.role==="user").map(Oe=>Oe.text.trim());for(const Oe of N)Oe.sessionId===e&&x4(Oe)&&ne.some(rt=>d4(Oe,rt))&&S(Oe.id)},[A,N,e,S]);const Be=()=>{const ne=O.current;ne&&(P.current=ne.scrollHeight-ne.scrollTop-ne.clientHeight<120)},tt=c?.length??0;if(w.useLayoutEffect(()=>{const ne=O.current;ne&&P.current&&(ne.scrollTop=ne.scrollHeight)},[A,be.length,a,tt,p]),w.useEffect(()=>{P.current=!0},[e,p]),w.useEffect(()=>{const ne=O.current;if(!ne)return;const Oe=new ResizeObserver(()=>{P.current&&(ne.scrollTop=ne.scrollHeight)});return Oe.observe(ne),()=>Oe.disconnect()},[]),!e&&!me)return x.jsx($t,{children:"No active session in this workspace."});const ct=A.length===0&&be.length===0&&!me&&!He,De=re&&ee.length===0&&!j,_t=re?De:ct,Fe=V.map(ne=>{const Oe=!!ne.node.e.error,rt=ne.id===Z?.id;return{key:ne.id,label:ne.label,model:m??null,agentType:h??null,...Oe?{status:"Failed",state:"failed"}:{},selected:rt,...v?{onSelect:()=>v(rt?null:ne.id)}:{}}});return x.jsxs("div",{className:"relative flex min-h-0 min-w-0 flex-1 flex-col",children:[x.jsx(Vh,{tabs:Fe,label:"Subagents",parentSelected:!p}),x.jsxs("div",{className:"relative flex min-h-0 min-w-0 flex-1",children:[x.jsx("div",{ref:O,onScroll:Be,className:"min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3","data-subagent-transcript":Z?.label,children:F&&_t?x.jsx(hn,{label:"Loading transcript…"}):M&&_t?x.jsx($t,{children:M}):De?x.jsx($t,{children:"No activity from this agent yet."}):_t&&!a?x.jsx($t,{children:"No messages yet."}):x.jsxs("div",{className:"flex min-w-0 flex-col gap-2.5",children:[G.map(ne=>ne.kind==="steps"?x.jsx(ZL,{nodes:ne.nodes},ne.key):x.jsxs(w.Fragment,{children:[x.jsx(Yh,{node:ne.node,onSelectSubagent:v}),!re&&le.has(wl(ne.node.e))?x.jsx(Gf,{text:ne.node.e.text,at:ne.node.e.ts,startedAt:xe.get(ne.node.e),rowid:ne.node.e.rowid,through:ne.node.e.rowid,onFork:y}):null]},ne.key)),j&&Z?x.jsx(QL,{text:j,failed:!!Z.node.e.error}):null,!re&&Y?x.jsx(Gf,{text:Y.text,at:Y.ts,startedAt:xe.get(Y),rowid:Y.rowid,working:a,onFork:y}):null,!re&&d.length&&b&&k&&C?x.jsx(dL,{jobs:d,sessionId:e,onSelectSession:b,onDismiss:k,onOpenRoles:C}):null,re?null:be.map(ne=>x.jsx(KL,{p:ne,onRetry:()=>D({id:ne.id,sessionId:ne.sessionId,workspaceId:ne.workspaceId,text:ne.text,queue:ne.queue,workflow:ne.workflow}),onDismiss:()=>S(ne.id)},ne.id)),!re&&me?x.jsx(YL,{queued:me,onRetry:e?()=>D({id:`queued:${me.sessionId??me.workspaceId}:${me.createdAt}`,sessionId:e,workspaceId:t,text:me.text}):void 0,onDismiss:()=>L(me)}):null,re?null:c?.map(ne=>x.jsx(JL,{task:ne},ne.taskId)),!re&&a?x.jsx(WL,{since:l}):null]})}),re?null:x.jsx(LL,{scroller:O})]})]})}const wl=e=>`${e.rowid}-${e.id}`,IL=(e,t)=>e.nodes.length===t.nodes.length&&e.nodes.every((a,l)=>a.e===t.nodes[l]?.e);function UL(e){const t=[];let a=[];const l=()=>{if(a.length>1)t.push({kind:"steps",key:`steps-${wl(a[0].e)}`,nodes:a});else for(const s of a)t.push({kind:"entry",key:wl(s.e),node:s});a=[]};for(const s of e){if(!s.e.subagentLabel&&(s.e.role==="tool"||s.e.role==="thinking")){a.push(s);continue}l(),t.push({kind:"entry",key:wl(s.e),node:s})}return l(),t}const ZL=w.memo(function({nodes:t}){const a=t.filter(o=>o.e.error).length,l=t[t.length-1].e,s=l.role==="thinking"?"Thinking":l.text;return x.jsxs("details",{className:"group/steps min-w-0 overflow-hidden rounded-xl border border-border-soft bg-surface/40",children:[x.jsxs("summary",{className:"flex cursor-pointer select-none list-none items-baseline gap-2 overflow-hidden whitespace-nowrap px-3 py-1.5 [&::-webkit-details-marker]:hidden",children:[x.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint transition-transform group-open/steps:rotate-90",children:"▸"}),x.jsxs("span",{className:"shrink-0 text-[12.5px] text-muted",children:[t.length," steps"]}),x.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] text-faint group-open/steps:invisible",children:s}),a?x.jsxs("span",{className:"shrink-0 text-[11px] text-del",children:[a," failed"]}):null]}),x.jsx("div",{className:"flex min-w-0 flex-col gap-2.5 border-t border-border-soft px-2 py-2.5",children:t.map(o=>x.jsx(Yh,{node:o},wl(o.e)))})]})},IL);function Yh({node:e,onSelectSubagent:t}){const a=e.e.toolUseId;return e.e.subagentLabel?x.jsx($L,{node:e,onOpen:a&&t?()=>t(a):void 0}):x.jsx(XL,{e:e.e})}function $L({node:e,onOpen:t}){const{e:a}=e,l=x.jsxs(x.Fragment,{children:[x.jsx(rD,{size:14,strokeWidth:1.7,className:"shrink-0 text-faint","aria-hidden":!0}),x.jsx("span",{className:"shrink-0 font-medium text-text",children:"Agent"}),x.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-[11.5px] text-muted",children:a.subagentLabel}),a.error?x.jsx("span",{className:"shrink-0 text-[11px] text-del",children:"failed"}):null,t?x.jsx("span",{className:"shrink-0 text-[11px] text-faint",children:"Open"}):null]});return x.jsx("section",{className:"min-w-0 px-0.5","data-subagent":a.subagentLabel,children:t?x.jsx("button",{type:"button",onClick:t,"aria-label":`Open agent ${a.subagentLabel}`,className:"flex w-full min-w-0 items-center gap-2 rounded-lg py-1 text-left text-[12.5px] transition active:bg-surface-2",children:l}):x.jsx("div",{className:"flex min-w-0 items-center gap-2 py-1 text-[12.5px]",children:l})})}function qL(e){const{e:t}=e;return t.output&&(t.error||t.tool==="Agent"||t.tool==="Task")?t.output:null}function QL({text:e,failed:t}){return x.jsx("div",{className:"flex flex-col items-start","data-subagent-result":!0,children:x.jsx(Iu,{className:he("max-w-[92%] px-0.5",t&&"text-del/80"),children:x.jsx(rr,{children:e})})})}function YL({queued:e,onRetry:t,onDismiss:a}){const l=e.status==="failed",s=!l&&!!e.sessionId;return x.jsx(Yx,{state:l?"failed":"pending",meta:l?e.error||"Didn’t send":x.jsxs(x.Fragment,{children:[e.reason??"The relay is sending this",s?x.jsx(Aa,{className:"ml-1"}):null]}),actions:l?[...t?[{label:"Retry",onClick:t,primary:!0}]:[],{label:"Dismiss prompt",onClick:a}]:[],dataUserMessage:$x(e.text),dataMessageState:"queued",children:x.jsx("div",{children:x.jsx(rr,{children:e.text})})})}function KL({p:e,onRetry:t,onDismiss:a}){const l=e.status==="error";return x.jsx(Yx,{state:l?"failed":"pending",meta:l?e.error||"Didn’t send":"Sending…",actions:l?[{label:"Retry",onClick:t,primary:!0},{label:"Dismiss message",onClick:a}]:[],dataUserMessage:$x(e.text),dataMessageState:l?"failed":"sending",children:x.jsx("div",{children:x.jsx(rr,{children:e.text})})})}const XL=w.memo(function({e:t}){return t.role==="user"?x.jsxs("div",{className:"flex flex-col items-end gap-0.5","data-user-msg":$x(t.text),"data-msg-ts":t.ts,"data-msg-state":t.queued?"queued":void 0,children:[x.jsxs(Iu,{className:he("max-w-[85%] bg-accent-soft text-text",t.queued&&"opacity-60"),children:[t.queued?x.jsx(Uu,{children:"queued"}):null,x.jsx(rr,{children:t.text})]}),x.jsx("span",{className:"pr-1 text-[11px] text-faint",children:zO(t.ts)})]}):t.role==="tool"?x.jsx(eP,{e:t}):t.role==="thinking"?x.jsxs("details",{className:"group/think px-1",children:[x.jsxs("summary",{className:"cursor-pointer select-none list-none text-[11px] font-semibold uppercase tracking-wide text-faint [&::-webkit-details-marker]:hidden",children:[x.jsx("span",{className:"mr-1 inline-block transition-transform group-open/think:rotate-90",children:"▸"}),"Thinking"]}),x.jsx("div",{className:"mt-1 border-l-2 border-border-soft pl-3 text-[13px] italic leading-relaxed text-muted",children:x.jsx(rr,{children:t.text})})]}):t.role==="system"?x.jsx("div",{className:"px-2 text-center text-[11px] text-faint",children:t.text}):x.jsx("div",{className:"flex flex-col items-start",children:x.jsx(Iu,{className:"max-w-[92%] px-0.5",children:x.jsx(rr,{children:t.text})})})});function Gf({text:e,at:t,startedAt:a,working:l,rowid:s,through:o,onFork:c}){const[d,f]=w.useState(!1),[h,m]=w.useState(!1),[p,y]=w.useState(null),[b,v]=w.useState("chat"),[k,C]=w.useState(()=>Date.now());w.useEffect(()=>{const N=setInterval(()=>C(Date.now()),6e4);return()=>clearInterval(N)},[]);const A=a?W0(t)-W0(a):Number.NaN,F=[A>0?qx(A):null,RO(t,k)].filter(Boolean).join(" · "),M=async N=>{if(!(!c||h)){m(!0),y(null),f(!1);try{await c({thinking:N.thinking,tools:N.tools,destination:b,through:N.only?void 0:o,only:N.only?s:void 0})}catch(S){y(S instanceof Error?S.message:"Could not fork this chat")}finally{m(!1)}}};return x.jsxs("div",{className:"flex max-w-full flex-col items-start gap-1",children:[x.jsxs("div",{className:"flex items-center gap-2",children:[!l&&F?x.jsx("span",{className:"text-[11px] tabular-nums text-faint",children:F}):null,x.jsx(zh,{text:e,label:"response",className:"size-7 rounded-lg border border-border-soft bg-surface/70"}),c?x.jsxs("div",{className:"relative",children:[x.jsxs("div",{className:"flex items-center overflow-hidden rounded-lg border border-border-soft bg-surface/70 text-muted",children:[x.jsxs("button",{type:"button",onClick:()=>{M({thinking:!0,tools:!1})},disabled:h,"aria-label":b==="workspace"?"Fork to a new workspace with reasoning":o?"Fork chat from this response":"Fork chat with reasoning",title:b==="workspace"?"New workspace with current code":"New chat, same files",className:"flex h-7 items-center gap-1 whitespace-nowrap px-2 text-[11px] font-medium transition active:bg-surface-2 disabled:opacity-50",children:[h?x.jsx(_0,{size:13,className:"animate-spin"}):x.jsx(Y6,{size:13}),b==="workspace"?"Fork workspace":"Fork"]}),x.jsx("button",{type:"button",onClick:()=>f(N=>!N),disabled:h,"aria-label":"Choose fork options","aria-haspopup":"menu","aria-expanded":d,className:"flex size-7 items-center justify-center border-l border-border-soft transition active:bg-surface-2 disabled:opacity-50",children:x.jsx(Ba,{size:14,className:he("transition-transform",d&&"rotate-180")})})]}),d?x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-20",onClick:()=>f(!1),"aria-hidden":!0}),x.jsxs("div",{role:"menu","aria-label":"Fork options",className:"absolute bottom-full left-0 z-30 mb-1 w-60 overflow-hidden rounded-xl border border-border bg-surface py-1 shadow-xl",children:[x.jsxs("button",{type:"button",role:"menuitemcheckbox","aria-checked":b==="workspace",onClick:()=>v(N=>N==="chat"?"workspace":"chat"),className:"flex w-full items-center gap-3 border-b border-border-soft px-3 py-2 text-left active:bg-surface-2",children:[x.jsxs("span",{className:"min-w-0 flex-1",children:[x.jsx("span",{className:"block text-[12px] font-medium text-text",children:"To new workspace"}),x.jsx("span",{className:"block text-[11px] text-faint",children:"Carry the current code into its own worktree"})]}),x.jsx("span",{"aria-hidden":!0,className:he("relative h-6 w-11 shrink-0 rounded-full transition-colors",b==="workspace"?"bg-accent":"border border-border bg-surface-2"),children:x.jsx("span",{className:he("absolute left-0.5 top-0.5 size-5 rounded-full bg-white shadow-sm transition-transform",b==="workspace"?"translate-x-5":"translate-x-0")})})]}),x.jsx(H1,{label:"Last message only",detail:"This response, without history",onClick:()=>{M({thinking:!1,tools:!1,only:!0})}}),x.jsx(H1,{label:"Concise",detail:"Messages only",onClick:()=>{M({thinking:!1,tools:!1})}}),x.jsx(H1,{label:"With reasoning",detail:"Messages and reasoning",onClick:()=>{M({thinking:!0,tools:!1})}}),x.jsx(H1,{label:"Full transcript",detail:"Messages, reasoning, and tools",onClick:()=>{M({thinking:!0,tools:!0})}})]})]}):null]}):null]}),p?x.jsxs("span",{className:"max-w-[85vw] text-[11px] text-del",children:[p,Tr(p)?x.jsx(Aa,{className:"ml-1"}):null]}):null]})}function H1({label:e,detail:t,onClick:a}){return x.jsxs("button",{type:"button",role:"menuitem",onClick:a,className:"flex w-full flex-col px-3 py-2 text-left active:bg-surface-2",children:[x.jsx("span",{className:"text-[12px] font-medium text-text",children:e}),x.jsx("span",{className:"text-[11px] text-faint",children:t})]})}function WL({since:e}){const[t,a]=w.useState(()=>Date.now());return w.useEffect(()=>{if(!e)return;a(Date.now());const l=setInterval(()=>a(Date.now()),1e3);return()=>clearInterval(l)},[e]),x.jsxs("div",{className:"fade-in flex items-center justify-start gap-2",children:[x.jsxs("div",{className:"flex items-center gap-1 px-0.5 py-3",children:[x.jsx("span",{className:"typing-dot"}),x.jsx("span",{className:"typing-dot"}),x.jsx("span",{className:"typing-dot"})]}),e?x.jsx("span",{className:"text-[11px] tabular-nums text-faint",children:qx(t-e)}):null]})}function JL({task:e}){const t=W0(e.since),[a,l]=w.useState(()=>Date.now());return w.useEffect(()=>{l(Date.now());const s=setInterval(()=>l(Date.now()),1e3);return()=>clearInterval(s)},[]),x.jsxs("div",{className:"fade-in flex min-w-0 items-center gap-2 px-0.5 py-1.5 text-[12.5px] text-muted",children:[x.jsx(sx,{size:13,className:"shrink-0 text-faint"}),x.jsx("span",{className:"shrink-0 text-faint",children:"Waiting for task"}),x.jsx("span",{className:"min-w-0 flex-1 truncate",children:e.description}),Number.isNaN(t)?null:x.jsx("span",{className:"shrink-0 text-[11px] tabular-nums text-faint",children:qx(a-t)})]})}const eP=w.memo(function({e:t}){const[a,l]=w.useState(!1);if(t.error&&!t.tool)return x.jsx("div",{className:"overflow-hidden rounded-xl border border-del/30 bg-del/5 px-3 py-2",children:x.jsx(au,{text:t.text,className:"line-clamp-4 text-del/80"})});const s=Ph(t.detail),o=t.images??[];return!t.detail&&!t.output&&!o.length?x.jsxs("div",{className:"flex min-w-0 items-baseline gap-2 overflow-hidden whitespace-nowrap rounded-xl border border-border-soft bg-surface/60 px-3 py-1.5",children:[x.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint",children:"·"}),x.jsx("span",{className:"max-w-full truncate text-[12.5px] text-muted",children:t.text})]}):x.jsxs("details",{open:a,onToggle:c=>l(c.currentTarget.open),className:he("group/tool min-w-0 overflow-hidden rounded-xl border",t.error?"border-del/30 bg-del/5":"border-border-soft bg-surface/60"),children:[x.jsxs("summary",{className:"flex cursor-pointer select-none list-none items-baseline gap-2 overflow-hidden whitespace-nowrap px-3 py-1.5 [&::-webkit-details-marker]:hidden",children:[x.jsx("span",{className:"shrink-0 font-mono text-[11px] text-faint transition-transform group-open/tool:rotate-90",children:"▸"}),x.jsx("span",{className:"max-w-full truncate text-[12.5px] text-muted",children:t.text}),t.detail?s?x.jsx(Hu,{href:s,title:`Open ${t.detail}`,onClick:c=>c.stopPropagation(),className:"min-w-0 flex-1 truncate font-mono text-[11px] text-accent underline underline-offset-2 group-open/tool:invisible",children:t.detail}):x.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px] text-faint group-open/tool:invisible",children:t.detail}):null,t.error?x.jsx("span",{className:"ml-auto shrink-0 text-[11px] text-del",children:"failed"}):null]}),x.jsxs("div",{className:"flex min-w-0 flex-col gap-2 border-t border-border-soft px-3 py-2",children:[t.detail?s?x.jsx(Hu,{href:s,title:`Open ${t.detail}`,className:"block whitespace-pre-wrap font-mono text-[11.5px] leading-relaxed text-accent underline underline-offset-2 [overflow-wrap:anywhere]",children:t.detail}):x.jsx(au,{text:t.detail,className:"text-muted",language:pO(t.tool)}):null,t.output?x.jsxs("div",{className:he("min-w-0",t.detail&&"border-t border-border-soft pt-2"),children:[x.jsx(Uu,{children:t.error?"error":t.diff?"changes":"output"}),t.diff?x.jsx(qh,{patch:t.output,fileName:t.detail}):x.jsx(au,{text:t.output,className:t.error?"text-del/80":"text-muted",language:t.error?null:mO(t.tool,t.detail)})]}):null,a&&o.length?x.jsxs("div",{className:he("flex min-w-0 flex-col gap-2",(t.detail||t.output)&&"border-t border-border-soft pt-2"),children:[x.jsx(Uu,{children:aP(o.length,"image")}),o.map(c=>x.jsx(nP,{reference:c},c))]}):null]})]})}),tP="whitespace-pre-wrap font-mono text-[11.5px] leading-relaxed [overflow-wrap:anywhere]";function au({text:e,className:t,language:a}){return x.jsx("pre",{className:he(tP,t),children:a?x.jsx(wh,{text:e,language:a}):e})}function nP({reference:e}){const[t,a]=w.useState(null),[l,s]=w.useState(!1);return w.useEffect(()=>{let o=!1;return we.toolImage(e).then(c=>!o&&a(c)).catch(()=>!o&&s(!0)),()=>{o=!0}},[e]),l?x.jsx("span",{className:"text-[11px] text-faint",children:"Image unavailable."}):t?x.jsx("img",{src:t,alt:"Tool output",className:"max-w-full rounded-lg border border-border-soft"}):x.jsx(hn,{label:"Loading image…"})}const aP=(e,t)=>`${e} ${t}${e===1?"":"s"}`;function Iu({children:e,className:t}){return x.jsx("div",{className:he("min-w-0 rounded-2xl px-3.5 py-2.5 text-[14px] leading-relaxed [overflow-wrap:anywhere]",t),children:e})}function Uu({children:e}){return x.jsx("div",{className:"mb-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:e})}function rP({workspace:e}){const[t,a]=G6(),l=t.get("session"),s=t.get("subagent"),{data:o,isLoading:c}=_9(e.id,!1),d=o?.sessions??[],f=(l&&d.some(y=>y.id===l)?l:null)??d[0]?.id??null,h=d.find(y=>y.id===f),m=y=>{f&&a(y?{session:f,subagent:y}:{session:f},{replace:!0})},p=[e.repo_name,e.branch].filter(Boolean).join(" · ");return x.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[x.jsx(Vu,{title:Qn(e),subtitle:p,menu:!0,right:x.jsxs("span",{className:"flex shrink-0 items-center gap-1 rounded-md bg-surface-2 px-2 py-1 text-[10px] font-semibold uppercase tracking-wide text-faint",children:[x.jsx(lx,{size:12}),"Archived"]})}),d.length>1?x.jsx("nav",{className:"flex shrink-0 items-center gap-1 overflow-x-auto border-b border-border-soft bg-bg px-3 py-2",children:d.map(y=>x.jsx("button",{type:"button",onClick:()=>a({session:y.id},{replace:!0}),className:he("pill shrink-0",y.id===f&&!s&&"pill-active"),children:x.jsx("span",{className:"whitespace-nowrap",children:y.title||"Untitled"})},y.id))}):null,!c&&!f?x.jsx($t,{children:"This workspace was archived with no chat in it."}):x.jsx(Qh,{sessionId:f,workspaceId:e.id,turnStartedAt:h?.turn_started_at,agentType:h?.agent_type,model:h?.model,selectedSubagentId:s,onSelectSubagent:m,poll:!1}),x.jsx("div",{className:"pb-safe shrink-0 border-t border-border-soft px-4 py-3 text-center text-xs text-faint",children:s?x.jsxs("button",{type:"button",onClick:()=>m(null),className:"mx-auto flex items-center gap-2 rounded-lg px-3 py-1.5 font-medium text-accent transition active:bg-surface-2",children:[x.jsx(V6,{size:14}),"Back to parent transcript"]}):"Read-only — unarchive it in Conductor to reply."})]})}const Kh=[{key:"initial",label:"Initial context",barClass:"bg-context-initial",ringClass:"stroke-context-initial"},{key:"chat",label:"Chat",barClass:"bg-context-chat",ringClass:"stroke-context-chat"},{key:"thinking",label:"Thinking",barClass:"bg-working",ringClass:"stroke-working"},{key:"tools",label:"Tool calls",barClass:"bg-context-tools",ringClass:"stroke-context-tools"}];function lP(e,t){if(!t||t.totalTokens<=0)return[];const a=Math.min(100,Math.max(0,e));let l=0;return Kh.flatMap(s=>{const o=Math.max(0,t.categories[s.key]),c=Math.min(100-l,o/t.totalTokens*a);if(c<=0)return[];const d={key:s.key,label:s.label,ringClass:s.ringClass,length:c,offset:l};return l+=c,[d]})}const iP=()=>typeof window<"u"&&window.matchMedia("(pointer: coarse)").matches;function Xh(e,t=iP()){return e.key!=="Enter"||e.nativeEvent.isComposing||e.shiftKey?!1:e.metaKey||e.ctrlKey?!0:!t}const On=6e4,sP=e=>/(?:^|[:/])(claude|fable|haiku|opus|sonnet)|^(claude|fable|haiku|opus|sonnet)/.test(e),Hf=e=>/(?:^|[:/])(openai|gpt|o[1-9])|^(openai|gpt|o[1-9]|\d)/.test(e);function oP(e){const t=e.agent_type?.trim().toLowerCase()??"",a=e.model?.trim().toLowerCase()??"";return(t==="claude"||t==="anthropic")&&e.prompt_cache_ttl_ms&&e.prompt_cache_ttl_ms>0?va(e.prompt_cache_ttl_ms,!0):t==="claude"||t==="anthropic"?va(60*On,!1):t==="codex"||t==="openai"?va(30*On,!1):t==="cursor"?sP(a)?va(5*On,!1):(Hf(a),va(30*On,!1)):(t==="acp"||t==="opencode")&&Hf(a)?va(30*On,!1):va(5*On,!1)}function cP(e,t=Date.now()){if(!e.last_user_message_at)return null;const a=W0(e.updated_at);if(!Number.isFinite(a))return null;const l=oP(e);return t-a>=l.ttlMs?l:null}function va(e,t){return{ttlMs:e,ttlLabel:e>=60*On?`${e/(60*On)}h`:`${e/On}m`,observed:t}}function Wh({value:e,models:t,onSelect:a,defaultModel:l,onSetDefault:s,settingDefault:o,open:c,onOpenChange:d,isFetching:f=!1,isError:h=!1,empty:m="No models are cached yet. Open a model picker in a chat first.",placement:p="above",className:y,beforeOptions:b,renderTrigger:v}){const[k,C]=w.useState(!1),A=c??k,F=N=>{const S=typeof N=="function"?N(A):N;c===void 0&&C(S),d?.(S)},M=CD(t);return x.jsxs("div",{className:"relative",children:[v?v({picking:A,toggle:()=>F(N=>!N)}):x.jsxs("button",{type:"button",onClick:()=>F(N=>!N),"aria-haspopup":"menu","aria-expanded":A,className:he("ctl flex max-w-40 items-center gap-1",e&&"ctl-staged",y),children:[x.jsx("span",{className:"truncate",children:e?bu(e):"Model"}),x.jsx(Ba,{size:13,className:"shrink-0"})]}),A?x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button","aria-label":"Close model picker",onClick:()=>F(!1),className:"fixed inset-0 z-30 cursor-default"}),x.jsxs("div",{className:he("absolute left-0 z-40 max-h-64 w-64 overflow-y-auto rounded-xl border border-border bg-surface-2 py-1 shadow-xl shadow-black/40",p==="below"?"top-full mt-2":"bottom-full mb-2"),children:[b,f?x.jsx(os,{size:10,className:"mx-3 my-1.5 animate-spin text-faint"}):null,M.length?M.map(N=>x.jsxs("fieldset",{className:"m-0 min-w-0 border-0 p-0",children:[x.jsx("legend",{className:"px-3 pb-0.5 pt-1.5 text-[11px] font-medium text-faint",children:N.label}),N.models.map(S=>{const D=l===S;return x.jsxs("div",{className:"flex items-stretch active:bg-surface",children:[x.jsxs("button",{type:"button",onClick:()=>{F(!1),a(S)},className:"flex min-w-0 flex-1 items-center gap-2 py-2 pl-3 pr-1 text-left text-sm",children:[x.jsx("span",{className:"min-w-0 flex-1 truncate",children:bu(S)}),x.jsx(ka,{size:13,className:he("shrink-0 text-accent",e!==S&&"invisible")})]}),s?x.jsx("button",{type:"button",disabled:D||o!==void 0,onClick:()=>{F(!1),s(S)},"aria-label":D?`${S} is the default model`:`Set ${S} as default and select`,"aria-pressed":D,className:he("flex w-9 shrink-0 items-center justify-center text-faint disabled:opacity-60",D&&"text-accent"),children:o===S?x.jsx(_0,{size:14,className:"animate-spin"}):x.jsx(yu,{size:14,fill:D?"currentColor":"none"})}):D?x.jsx(yu,{size:14,fill:"currentColor","aria-label":`${S} is the default model`,className:"mx-3 self-center text-accent"}):null]},S)})]},N.label)):x.jsx("div",{className:"px-3 py-2 text-sm text-muted",children:f?"Reading Conductor’s model list…":m}),h?x.jsx("div",{className:"px-3 py-1.5 text-[11px] text-del",children:t.length?"Couldn’t refresh. Showing saved models.":"Couldn’t read the model list."}):null]})]}):null]})}function Jh({model:e,providerModel:t,agentType:a,models:l,modelPickerOpen:s,onModelPickerOpenChange:o,modelsFetching:c=!1,modelsError:d=!1,defaultModel:f,onSetDefaultModel:h,settingDefaultModel:m,fast:p,effort:y,plan:b,planAvailable:v,showEmptyEffort:k=!1,modelStaged:C=!1,fastStaged:A=!1,effortStaged:F=!1,planStaged:M=!1,onModelChange:N,onFastChange:S,onEffortChange:D,onPlanChange:R,disabled:O=!1,freezeAgent:P=!1,beforeModel:T,status:V}){const Z=v??Cx(a,t),re=kx(a,t),ee=Ax(a,t);return x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-0.5",children:[T,x.jsx("div",{className:"min-w-0",children:x.jsx(Wh,{value:e,models:l,open:s,onOpenChange:o,isFetching:c,isError:d,defaultModel:f,onSetDefault:h,settingDefault:m,onSelect:N,renderTrigger:({picking:Q,toggle:G})=>x.jsxs("button",{type:"button",disabled:O||P,onClick:G,"aria-label":`Change model, currently ${e}`,"aria-haspopup":"menu","aria-expanded":Q,className:he("flex h-8 max-w-full min-w-0 items-center gap-1 rounded-md px-1 text-[13px] font-medium text-muted transition active:bg-surface-2 active:text-text disabled:pointer-events-none disabled:opacity-40",C&&"text-accent"),children:[x.jsx(zl,{agentType:a,model:t,className:"size-[15px]"}),x.jsx("span",{className:"truncate",children:bu(e)})]})})}),ee?x.jsx("button",{type:"button",disabled:O||P,onClick:S,"aria-label":`Fast mode ${p===void 0?"default":p?"on":"off"}`,"aria-pressed":p===!0,className:he("flex size-8 shrink-0 items-center justify-center rounded-md text-muted transition active:bg-surface-2 active:text-text disabled:pointer-events-none disabled:opacity-40",p&&"text-text",A&&"text-accent"),children:x.jsx(xx,{size:17})}):null,re&&(y||k)?x.jsxs("button",{type:"button",disabled:O||P,onClick:D,"aria-label":`Reasoning effort: ${y?Ji[y]:"default"}`,className:he("flex h-8 shrink-0 items-center gap-1 rounded-md px-1 text-[13px] font-medium text-muted transition active:bg-surface-2 active:text-text disabled:pointer-events-none disabled:opacity-40",F&&"text-accent"),children:[x.jsx(t7,{effort:y??""}),x.jsx("span",{className:"max-[340px]:hidden",children:y?Ji[y]:"Effort"})]}):null,Z?x.jsx("button",{type:"button",disabled:O,onClick:R,"aria-label":`Plan mode ${b===void 0?"default":b?"on":"off"}`,"aria-pressed":b===!0,className:he("flex size-8 shrink-0 items-center justify-center rounded-md text-muted transition active:bg-surface-2 active:text-text disabled:pointer-events-none disabled:opacity-40",b&&"text-text",M&&"text-accent"),children:x.jsx(W6,{size:17})}):null]}),V?x.jsx("div",{className:"px-2 pt-0.5 text-[11px] text-faint",children:V}):null]})}function Xx({className:e}){return x.jsx("span",{className:he("inline-flex h-4 shrink-0 items-center rounded bg-accent/10 px-1.5 font-mono text-[9px] font-semibold uppercase tracking-wide text-accent",e),children:"Beta"})}function ep({active:e,onChange:t}){return x.jsxs("button",{type:"button",onClick:()=>t(!e),title:"Run this task through your configured delegated roles","aria-label":`Workflow mode ${e?"on":"off"}`,"aria-pressed":e,className:he("flex h-8 shrink-0 items-center gap-1 rounded-md px-1.5 text-[13px] font-medium text-muted transition active:bg-surface-2 active:text-text",e&&"bg-accent/10 text-accent"),children:[x.jsx(cs,{size:15}),x.jsx("span",{children:"Workflow"}),x.jsx(Xx,{className:"-mr-0.5"})]})}const uP=600*1e3,xP={};function V1(e,t){return e===t?void 0:e}function dP({session:e,workspaceId:t,workflow:a,frozenWorkflow:l}){const[s,o]=w.useState(!1),[c,d]=w.useState(),[f,h]=w.useState(),m=Ce($=>$.agentDrafts[e.id])??xP,p=Ce($=>$.stageAgent),y=O0(),b=Ce($=>$.pending.some(z=>z.sessionId===e.id&&z.status==="sending")),v=fo(),k=v.data?.groups.find($=>$.agentType===(e.agent_type??"unknown")),C=!!k?.defaultModel&&Date.now()-k.updatedAt<uP,A=l?.role??(a?.active?a.role:void 0),F=!!A,M=l?.role.agentType??(A?jl(A.model):void 0),N=UF(e,t,s&&!F&&!C),S=N.data?.models??k?.models??[],D=N.data?.defaultModel??v.data?.defaultModel??k?.defaultModel,R=$=>p(e.id,$),O=e.claude_effort_level??void 0,P=e.permission_mode==="plan",T=!!e.fast_mode,V=m.effort??O,Z=m.plan??P,re=m.fast??T,ee=Object.keys(m).length>0,Q=m.model??(o9(e.model,S)||"Model"),G=m.model??e.model,Y=Cx(e.agent_type,G),le=kx(e.agent_type,G),xe=Ax(e.agent_type,G),j=A?.model??"Planning role";w.useEffect(()=>{F&&o(!1)},[F]),w.useEffect(()=>{F||!Y&&m.plan!==void 0&&p(e.id,{plan:void 0})},[F,Y,e.id,m.plan,p]),w.useEffect(()=>{F||(!le&&m.effort!==void 0&&p(e.id,{effort:void 0}),!xe&&m.fast!==void 0&&p(e.id,{fast:void 0}))},[F,le,xe,e.id,m.effort,m.fast,p]),w.useEffect(()=>{l&&(m.model!==void 0&&p(e.id,{model:void 0}),m.effort!==void 0&&p(e.id,{effort:void 0}),m.fast!==void 0&&p(e.id,{fast:void 0}))},[l,e.id,m.model,m.effort,m.fast,p]);const L=async $=>{if(!c){d($),h(void 0);try{const z=await we.setDefaultModel(e.id,$,t);if(!z.ok)throw new Error(z.error??"could not set the default model");p(e.id,{model:void 0}),await Promise.all([y.invalidateQueries({queryKey:["model-catalog"]}),y.invalidateQueries({queryKey:["sessions",t]}),y.invalidateQueries({queryKey:["state"]})])}catch(z){h(z instanceof Error?z.message:"could not set the default model")}finally{d(void 0)}}};return x.jsx(Jh,{model:F?j:Q,providerModel:F?A?.model??null:G,agentType:F?M??null:e.agent_type,models:S,modelPickerOpen:s,onModelPickerOpenChange:o,modelsFetching:N.isFetching||v.isFetching,modelsError:N.isError,defaultModel:D,onSetDefaultModel:$=>{L($)},settingDefaultModel:c,fast:F?A?.fast:re,effort:F?A?.effort:V,plan:Z,planAvailable:Y,showEmptyEffort:F,modelStaged:!F&&m.model!==void 0,fastStaged:!F&&m.fast!==void 0,effortStaged:!F&&m.effort!==void 0,planStaged:m.plan!==void 0,onModelChange:$=>R({model:V1($,m.model)}),onFastChange:()=>R({fast:V1(!re,T)}),onEffortChange:()=>R({effort:V1(e7(V),O)}),onPlanChange:()=>R({plan:V1(!Z,P)}),freezeAgent:F,beforeModel:a?x.jsx(ep,{active:a.active,onChange:$=>{o(!1),a.onChange($)}}):void 0,status:l?`${l.name} role frozen by Workflow`:a?.active?a.problem?x.jsx("span",{className:"text-del",children:a.problem}):a.loading?"Loading Workflow roles…":"Planning root · one explorer is guaranteed after acceptance":f?x.jsxs("span",{className:"text-del",children:[f,Tr(f)?x.jsx(Aa,{className:"ml-1"}):null]}):c?"Setting default and selecting…":ee?b?"Applying…":"Applies when you send":void 0})}const tp=[];function np({draftKey:e,ready:t,enabled:a,upload:l,accept:s,removeReady:o,discard:c}){const d=w.useRef(null),f=w.useRef(new Set),h=w.useRef(0),[m,p]=w.useState([]),[y,b]=w.useState(!1),v=m.filter(S=>S.draftKey===e),k=async S=>{if(!a)return;const D=e;for(const R of Array.from(S)){const O=crypto.randomUUID();p(P=>[...P,{draftKey:D,id:O,name:R.name||"attachment",status:"uploading"}]);try{const P=await l(D,R);if(f.current.delete(O)){c?.(P);continue}s(D,P),p(T=>T.filter(V=>V.id!==O))}catch(P){if(f.current.delete(O))continue;p(T=>T.map(V=>V.id===O?{...V,status:"error",error:P instanceof Error?P.message:"Upload failed"}:V))}}},C=S=>{S?.length&&k(S)},A=S=>Array.from(S.dataTransfer.types).includes("Files"),F={onDragEnter:S=>{A(S)&&(S.preventDefault(),h.current+=1,b(!0))},onDragLeave:S=>{A(S)&&(h.current-=1,h.current<=0&&(h.current=0,b(!1)))},onDragOver:S=>{A(S)&&(S.preventDefault(),S.dataTransfer.dropEffect="copy")},onDrop:S=>{A(S)&&(S.preventDefault(),h.current=0,b(!1),C(S.dataTransfer.files))}},M=S=>{const D=S.clipboardData.files;D.length&&(S.preventDefault(),C(D))},N=w.useCallback(()=>{for(const S of m)S.draftKey===e&&f.current.add(S.id)},[e,m]);return{items:[...t.map(({path:S,name:D})=>({id:S,name:D,status:"ready"})),...v.map(({draftKey:S,...D})=>D)],uploading:v.some(S=>S.status==="uploading"),hasError:v.some(S=>S.status==="error"),dragging:y,inputRef:d,dropTargetProps:F,onPaste:M,chooseFiles:C,remove:S=>{if(t.some(D=>D.path===S)){o(e,S);return}f.current.add(S),p(D=>D.filter(R=>R.id!==S))},clearPending:()=>p(S=>S.filter(D=>D.draftKey!==e)),cancelPending:N}}function ap({uploads:e}){return x.jsxs(x.Fragment,{children:[x.jsx("input",{ref:e.inputRef,type:"file",multiple:!0,className:"hidden",onChange:t=>{e.chooseFiles(t.target.files),t.target.value=""}}),e.items.length?x.jsx("div",{className:"flex flex-wrap gap-1 px-2 pb-1",children:e.items.map(t=>x.jsxs("div",{title:t.status==="error"?t.error:t.name,className:"flex max-w-full items-center gap-1 rounded-lg bg-surface-2 py-1 pl-2 pr-1 text-xs text-muted",children:[t.status==="uploading"?x.jsx(_0,{size:12,className:"shrink-0 animate-spin"}):null,x.jsx("span",{className:"truncate",children:t.status==="error"?`${t.name}: ${t.error}`:t.name}),x.jsx("button",{type:"button",onClick:()=>e.remove(t.id),"aria-label":`Remove ${t.name}`,className:"flex size-5 shrink-0 items-center justify-center rounded active:bg-surface",children:x.jsx(y0,{size:13})})]},t.id))}):null,e.dragging?x.jsx("div",{className:"pointer-events-none absolute inset-1 z-10 flex items-center justify-center rounded-xl border border-dashed border-accent bg-accent-soft/90 text-sm font-medium text-accent",children:"Drop files to attach"}):null]})}function rp({uploads:e,disabled:t}){return x.jsx("button",{type:"button",onClick:()=>e.inputRef.current?.click(),disabled:t,"aria-label":"Attach files",className:"flex size-8 shrink-0 items-center justify-center rounded-md text-muted transition active:bg-surface-2 active:text-text disabled:text-faint",children:x.jsx(ox,{size:17})})}function fP({session:e,sessionId:t,workspaceId:a,working:l,actuator:s,onFork:o,onContext:c,workflowStarted:d=!1,workflow:f,workflowRole:h,focusDraft:m=!1,onDraftFocused:p}){const y=t??a,b=Ce(ge=>ge.drafts[y]??""),v=Ce(ge=>ge.draftAttachments[y]??tp),k=Ce(ge=>ge.setDraft),C=Ce(ge=>ge.addDraftAttachment),A=Ce(ge=>ge.removeDraftAttachment),F=Ce(ge=>ge.clearDraftContent),M=Ce(ge=>ge.moveDraft),N=Ce(ge=>ge.setFocusedDraft),S=Ce(ge=>ge.online),D=Ce(ge=>ge.clearWorking),R=O9(),O=O0(),[P,T]=w.useState(!1),[V,Z]=w.useState(null),[re,ee]=w.useState(!1),[Q,G]=w.useState(null),[Y,le]=w.useState({sessionId:null,active:!1}),xe=Y.sessionId===t&&Y.active,j=ge=>le({sessionId:t,active:ge}),L=w.useRef(null),$=np({draftKey:y,ready:v,enabled:!!t&&S,upload:async(ge,Me)=>(await we.uploadAttachment(ge,a,Me)).attachment,accept:C,removeReady:A}),z=$.uploading,ie=[...v.map(ge=>ge.token),b.trim()].filter(Boolean).join(`
49
+ `),be=Ce(ge=>ge.pending.some(Me=>Me.sessionId===t&&!!Me.workflow)),X=!!e&&!e.last_user_message_at&&!l&&!d&&!f&&!be,me=xe||X,{roles:He,planningRole:Be,problem:tt,ready:ct}=R9(me),De=e?.permission_mode==="plan"?"Workflow needs ordinary chat mode. Turn Plan off first.":tt,_t=ct&&!De;w.useEffect(()=>{t&&M(a,t)},[a,t,M]),w.useEffect(()=>(document.activeElement===L.current&&N(y),()=>{Ce.getState().focusedDraft===y&&N(null)}),[y,N]);const Fe=()=>{const ge=L.current;ge&&(ge.style.height="auto",ge.style.height=`${Math.min(ge.scrollHeight,160)}px`)};w.useEffect(Fe,[b]),w.useEffect(()=>{if(!m)return;const ge=L.current;ge&&(ge.focus({preventScroll:!0}),ge.setSelectionRange(ge.value.length,ge.value.length),p?.())},[m,p]);const ne=(ge=!1)=>{if(!ie||z||re||!t||!S||be||xe&&!_t)return;const Me=xe;R({sessionId:t,workspaceId:a,text:ie,queue:Me?!1:ge,workflow:Me}).then(A0=>{A0&&Me&&(le(se=>se.sessionId===t?{...se,active:!1}:se),$.clearPending())}),Me||(F(y),$.clearPending())},Oe=async()=>{if(!(!(o&&ie)||z||re||!S)){ee(!0),G(null);try{await o(ie),F(y),$.clearPending()}catch(ge){G(ge instanceof Error?ge.message:"Could not fork this chat")}finally{ee(!1)}}},rt=async()=>{if(!(!t||P||!S)){T(!0),Z(null);try{const ge=await we.stop(t,a);ge.ok?(D(t),await O.invalidateQueries({queryKey:["sessions",a]}),O.invalidateQueries({queryKey:["state"]})):Z(ge.error||"Stop failed")}catch(ge){Z(ge instanceof Error?ge.message:"Stop failed")}finally{T(!1)}}},Ct=!t,Et=s?.precise&&s.available,p0=l&&!!t,nt=(!!b.trim()||v.length>0)&&!z&&!be&&(!xe||_t),b0=!l&&nt&&e&&o?cP(e):null;return x.jsxs("div",{className:"pb-safe border-t border-border-soft bg-bg px-3 pt-2",children:[S?!Et&&x.jsxs("div",{className:"mb-1.5 flex items-center gap-1.5 px-1 text-[11px] text-faint",children:[x.jsx(Lk,{size:12}),s?.caveat||"Sends to the focused session"]}):x.jsxs("div",{className:"mb-2 flex items-center gap-1.5 rounded-lg bg-del/10 px-3 py-1.5 text-xs text-del",children:[x.jsx(ux,{size:12}),"Offline — drafts are saved, sending resumes when the relay is back"]}),V?x.jsxs("div",{className:"mb-2 rounded-lg border border-del/40 bg-del/10 px-3 py-1.5 text-xs text-del",children:[x.jsx("button",{type:"button",onClick:()=>Z(null),className:"block w-full text-left",children:V}),Tr(V)?x.jsx(Aa,{className:"mt-1 inline-block"}):null]}):null,b0?x.jsxs("div",{className:"mb-2 flex items-center gap-2 rounded-xl border border-cold-cache/20 bg-cold-cache/8 px-2.5 py-2 text-cold-cache",children:[x.jsx(aw,{size:14,className:"shrink-0"}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("div",{className:"text-xs font-medium",children:"Prompt cache may be cold"}),x.jsxs("div",{className:"text-[11px] text-muted",children:["Idle past its ",b0.ttlLabel," window"]}),Q?x.jsxs("div",{className:"mt-0.5 text-[11px] text-del",role:"alert",children:[Q,Tr(Q)?x.jsx(Aa,{className:"ml-1"}):null]}):null]}),x.jsxs("button",{type:"button",onClick:()=>{Oe()},disabled:re||!S,title:"Start a fresh chat with this transcript attached and keep the draft",className:"flex h-8 shrink-0 items-center gap-1.5 rounded-lg bg-cold-cache/12 px-2.5 text-xs font-semibold transition active:scale-[0.97] active:bg-cold-cache/20 disabled:opacity-50",children:[re?x.jsx(_0,{size:13,className:"animate-spin"}):x.jsx(Y6,{size:13}),"Fork draft"]})]}):null,x.jsxs("fieldset",{"aria-label":"Message composer",...$.dropTargetProps,className:`m-0 min-w-0 rounded-2xl border border-border bg-surface p-2 has-[textarea:focus]:border-accent/60 ${$.dragging?"border-accent bg-accent-soft":""}`,children:[x.jsx(ap,{uploads:$}),x.jsx("textarea",{ref:L,rows:1,value:b,disabled:Ct||re,placeholder:Ct?"No active session":xe?"What should the workflow accomplish?":"Send a prompt…",className:"block max-h-40 w-full resize-none bg-transparent px-2 py-1 text-base outline-none placeholder:text-faint disabled:opacity-50",onChange:ge=>k(y,ge.target.value),onFocus:()=>N(y),onBlur:()=>{Ce.getState().focusedDraft===y&&N(null),Bu()},onPaste:$.onPaste,onKeyDown:ge=>{Xh(ge)&&(ge.preventDefault(),ne(ge.metaKey||ge.ctrlKey))}}),x.jsxs("div",{className:"mt-1 flex items-start gap-1",children:[e?x.jsx(dP,{session:e,workspaceId:a,frozenWorkflow:f&&h?{name:h,role:f.roles[h]}:void 0,workflow:me?{active:xe,role:Be,loading:He.isLoading,problem:De,onChange:j}:void 0}):x.jsx("span",{className:"flex-1"}),e&&c?x.jsx(hP,{session:e,onOpen:c}):null,x.jsx(rp,{uploads:$,disabled:Ct||re||!S}),p0?x.jsx("button",{type:"button",onClick:rt,disabled:P||!S,"aria-label":"Stop the agent",className:"flex size-8 shrink-0 items-center justify-center rounded-lg border border-border text-text transition active:bg-surface-2 disabled:text-faint",children:P?x.jsx("span",{className:"size-4 animate-spin rounded-full border-2 border-border border-t-text"}):x.jsx(r9,{size:14,fill:"currentColor"})}):null,p0&&!nt?null:x.jsx("button",{type:"button",onClick:()=>ne(),disabled:Ct||!nt||re||!S,"aria-label":"Send",className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-accent text-on-solid transition active:scale-95 disabled:bg-surface-2 disabled:text-faint",children:x.jsx(wb,{size:18})})]})]})]})}function hP({session:e,onOpen:t}){const a=e.context_used_percent,l=T9(e.id,typeof a=="number"&&a>0,e.updated_at);if(typeof a!="number"||a<=0)return null;const s=Math.min(100,Math.max(0,a)),o=Math.round(a),c=lP(s,l.data);return x.jsx("button",{type:"button",onClick:t,"aria-label":`Context for ${e.title||"Untitled"}: ${o}% used`,"aria-haspopup":"dialog",title:`Context: ${o}% used`,className:"flex size-8 shrink-0 items-center justify-center rounded-md transition active:bg-surface-2",children:x.jsxs("svg",{viewBox:"0 0 18 18","aria-hidden":"true",className:"size-[18px] -rotate-90",children:[x.jsx("circle",{cx:"9",cy:"9",r:"6.5",fill:"none",strokeWidth:"3",className:"stroke-border"}),c.length?c.map(d=>x.jsx("circle",{cx:"9",cy:"9",r:"6.5",fill:"none",strokeWidth:"3",pathLength:"100",strokeDasharray:`${d.length} ${100-d.length}`,strokeDashoffset:-d.offset,"data-context-segment":d.key,className:d.ringClass},d.key)):x.jsx("circle",{cx:"9",cy:"9",r:"6.5",fill:"none",strokeWidth:"3",pathLength:"100",strokeDasharray:`${s} ${100-s}`,strokeLinecap:"round",className:a>=80?"stroke-working":"stroke-accent"})]})})}function ru(e,t,a){let l=e;const s=Math.min(l,t);l-=s;const o=Math.min(l,Math.max(0,a-t));return l-=o,[{key:"chat",tokens:s,color:"bg-context-chat"},{key:"thinking",tokens:o,color:"bg-working"},{key:"tools",tokens:l,color:"bg-context-tools"}]}function pP({label:e,layers:t,scale:a}){return x.jsx("div",{role:"img","aria-label":`${e}: ${Y1(t.reduce((l,s)=>l+s.tokens,0))} estimated tokens`,className:"flex h-1.5 overflow-hidden rounded-full bg-surface-2",children:t.map(l=>l.tokens>0?x.jsx("span",{className:l.color,style:{width:`${l.tokens/a*100}%`}},l.key):null)})}function mP({data:e}){const t=typeof e.usedPercent=="number"?`${Math.round(e.usedPercent)}% used`:null,a=Kh.map(o=>({...o,color:o.barClass,tokens:e.categories[o.key]})),l=Math.max(e.forkTokens.concise,e.forkTokens.reasoning,e.forkTokens.full,1),s=[{label:"Concise",detail:"Messages only",tokens:e.forkTokens.concise,layers:ru(e.forkTokens.concise,e.forkTokens.concise,e.forkTokens.reasoning)},{label:"With reasoning",detail:"Messages and reasoning",tokens:e.forkTokens.reasoning,layers:ru(e.forkTokens.reasoning,e.forkTokens.concise,e.forkTokens.reasoning)},{label:"Full transcript",detail:"Messages, reasoning, and tools",tokens:e.forkTokens.full,layers:ru(e.forkTokens.full,e.forkTokens.concise,e.forkTokens.reasoning)}];return x.jsxs("div",{className:"space-y-5",children:[x.jsxs("section",{"aria-labelledby":"context-composition-heading",children:[x.jsxs("div",{className:"mb-3 flex items-baseline gap-2",children:[x.jsx("h3",{id:"context-composition-heading",className:"min-w-0 flex-1 text-sm font-semibold",children:"Inside this context"}),x.jsxs("span",{className:"text-sm font-semibold tabular-nums",children:[Y1(e.totalTokens)," tokens"]}),t?x.jsx("span",{className:"text-xs tabular-nums text-muted",children:t}):null]}),x.jsx("div",{role:"img","aria-label":a.map(o=>`${o.label} ${Ff(o.tokens,e.totalTokens)}`).join(", "),className:"flex h-2.5 overflow-hidden rounded-full bg-surface-2",children:a.map(o=>o.tokens>0&&e.totalTokens>0?x.jsx("span",{className:o.color,style:{width:`${o.tokens/e.totalTokens*100}%`}},o.key):null)}),x.jsx("div",{className:"mt-3 grid grid-cols-2 gap-x-5 gap-y-2.5",children:a.map(o=>{const c=Ff(o.tokens,e.totalTokens);return x.jsxs("div",{className:"min-w-0 text-xs",children:[x.jsxs("div",{className:"flex items-center gap-2 text-muted",children:[x.jsx("span",{className:`size-2 shrink-0 rounded-full ${o.color}`}),x.jsx("span",{children:o.label})]}),x.jsxs("div",{className:"mt-0.5 pl-4 tabular-nums",children:[o.tokens?"≈":"",Y1(o.tokens)," · ",c]})]},o.key)})}),x.jsxs("p",{className:"mt-3 text-[11px] leading-relaxed text-faint",children:["Categories are estimated from the last completed turn. Chat is user prompts and visible replies. Initial context is the remainder: system and developer prompts, project instructions, skills, tool definitions, attachments, ",e.compacted?"compacted summaries, ":"","and provider overhead."]})]}),x.jsxs("section",{"aria-labelledby":"fork-size-heading",className:"border-t border-border-soft pt-4",children:[x.jsx("h3",{id:"fork-size-heading",className:"mb-2 text-sm font-semibold",children:"Estimated fork payload"}),x.jsxs("div",{className:"divide-y divide-border-soft overflow-hidden rounded-xl border border-border-soft",children:[x.jsxs("div",{className:"flex items-center gap-3 px-3 py-2.5",children:[x.jsxs("span",{className:"min-w-0 flex-1",children:[x.jsx("span",{className:"block text-xs font-medium",children:"Last message only"}),x.jsx("span",{className:"block text-[11px] text-faint",children:"This response, without history"})]}),x.jsx("span",{className:"text-[11px] text-faint",children:"Depends on message"})]}),s.map(o=>x.jsxs("div",{className:"space-y-2 px-3 py-2.5",children:[x.jsxs("div",{className:"flex items-center gap-3",children:[x.jsxs("span",{className:"min-w-0 flex-1",children:[x.jsx("span",{className:"block text-xs font-medium",children:o.label}),x.jsx("span",{className:"block text-[11px] text-faint",children:o.detail})]}),x.jsxs("span",{className:"shrink-0 text-xs font-medium tabular-nums",children:["≈",Y1(o.tokens)]})]}),x.jsx(pP,{label:o.label,layers:o.layers,scale:l})]},o.label))]}),e.forkTokens.reasoning===e.forkTokens.concise?x.jsx("p",{className:"mt-2 text-[11px] leading-relaxed text-muted",children:"No saved reasoning is available to copy, so Concise and With reasoning are the same size."}):null,x.jsxs("p",{className:"mt-2 text-[11px] leading-relaxed text-faint",children:["The bars reuse the context colors; the source's initial context is not copied. Fork sizes use the full saved transcript",e.compacted?", including history before compaction":"","."]})]})]})}function gP({sessionId:e,title:t,revision:a,onClose:l}){const s=T9(e,!0,a);return Yn.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:l,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Context breakdown",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[85dvh] max-w-md flex-col rounded-t-3xl border border-border-soft bg-surface shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[x.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-3",children:[x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("h2",{className:"text-base font-semibold",children:"Context"}),x.jsx("p",{className:"truncate text-xs text-muted",children:t||"Untitled"})]}),x.jsx("button",{type:"button",onClick:l,"aria-label":"Close context breakdown",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(y0,{size:18})})]}),x.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto overscroll-contain p-4",children:s.data?x.jsx(mP,{data:s.data}):s.isError?x.jsxs("div",{className:"flex flex-col items-center gap-3 py-8 text-center",children:[x.jsx("p",{className:"text-sm text-del",children:s.error instanceof Error?s.error.message:"Could not read this context."}),x.jsx("button",{type:"button",onClick:()=>{s.refetch()},className:"rounded-full border border-border px-3 py-1.5 text-xs font-medium active:bg-surface-2",children:"Try again"})]}):x.jsxs("div",{className:"flex items-center justify-center gap-2 py-10 text-sm text-muted",children:[x.jsx(_0,{size:16,className:"animate-spin"}),"Reading context…"]})})]})]}),document.body)}function EP(e){document.visibilityState==="visible"&&window.open(e,"_blank","noopener,noreferrer")}const lu="flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40";function yP({workspaceId:e}){const t=OF(e),a=O0(),l=Ce(N=>N.online),[s,o]=w.useState(null),[c,d]=w.useState(null),[f,h]=w.useState(!1),[m,p]=w.useState(!1),y=w.useRef(null),b=w.useRef(null),v=t.data,k=(v?.runConfigs?.length??0)>1,C=v?.forwards?.filter(N=>N.forwarded&&N.url)??(v?.forwarded&&v.url?[{name:v.port?`Port ${v.port}`:"Dev server",port:v.port??0,url:v.url}]:[]);w.useEffect(()=>{if(!f&&!m)return;const N=m?b:y,S=R=>{R.target instanceof Node&&N.current?.contains(R.target)||(h(!1),p(!1))},D=R=>{R.key==="Escape"&&(R.preventDefault(),h(!1),p(!1),N.current?.querySelector("button")?.focus())};return document.addEventListener("pointerdown",S),document.addEventListener("keydown",D),()=>{document.removeEventListener("pointerdown",S),document.removeEventListener("keydown",D)}},[f,m]);const A=async(N,S)=>{if(!s){o(N?"start":"stop"),d(null);try{const D=N?await we.startDevServer(e,S):await we.stopDevServer(e);a.setQueryData(["dev-server",e],D),D.ok?N&&D.url&&EP(D.url):d(D.error??`Could not ${N?"start":"stop"} the dev server`)}catch(D){d(D instanceof Error?D.message:`Could not ${N?"start":"stop"} the dev server`)}finally{o(null),a.invalidateQueries({queryKey:["dev-server",e]})}}},F=k?"Choose Run config":v?.running?"Forward dev server to tailnet":"Start and forward dev server",M=v&&!v.available;return x.jsxs(x.Fragment,{children:[C.length&&C[0]?.url?x.jsxs("div",{ref:y,className:"relative flex shrink-0 items-center",children:[x.jsx("a",{href:C[0].url,target:"_blank",rel:"noreferrer","aria-label":`Open ${C[0].name} on port ${C[0].port}`,title:C[0].url,className:lu,children:x.jsx(FC,{size:18})}),C.length>1?x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button",onClick:()=>h(N=>!N),"aria-label":"Choose forwarded dev server","aria-haspopup":"menu","aria-expanded":f,className:"flex h-9 w-6 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(Ba,{size:14,className:f?"rotate-180":void 0})}),f?x.jsx("div",{role:"menu","aria-label":"Forwarded dev servers",className:"fade-in absolute right-0 top-full z-30 mt-1 max-h-[calc(100dvh-4rem)] min-w-52 overflow-y-auto rounded-xl border border-border bg-surface py-1 shadow-xl",children:C.map(N=>x.jsxs("a",{href:N.url??void 0,target:"_blank",rel:"noreferrer",onClick:()=>h(!1),role:"menuitem",className:"flex items-center gap-3 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[x.jsx("span",{className:"min-w-0 flex-1 truncate",children:N.name}),x.jsxs("span",{className:"font-mono text-xs text-faint",children:[":",N.port]})]},`${N.port}:${N.url}`))}):null]}):null]}):x.jsxs("div",{ref:b,className:"relative shrink-0",children:[x.jsx("button",{type:"button",onClick:()=>{k?p(N=>!N):A(!0)},disabled:!l||!!s||!!M||t.isLoading,"aria-label":F,"aria-haspopup":k?"menu":void 0,"aria-expanded":k?m:void 0,title:M?v.error:F,className:lu,children:s==="start"||t.isLoading?x.jsx(_0,{size:18,className:"animate-spin"}):v?.running?x.jsx(AC,{size:18}):x.jsx(Eu,{size:18,fill:"currentColor"})}),m&&k?x.jsx("div",{role:"menu","aria-label":"Run configs",className:"fade-in absolute right-0 top-full z-30 mt-1 max-h-[calc(100dvh-4rem)] min-w-44 overflow-y-auto rounded-xl border border-border bg-surface py-1 shadow-xl",children:v?.runConfigs.map(N=>x.jsxs("button",{type:"button",role:"menuitem",onClick:()=>{p(!1),A(!0,N.id)},className:"flex w-full items-center gap-3 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[x.jsx(Eu,{size:14,className:"shrink-0 text-muted"}),x.jsx("span",{className:"min-w-0 flex-1 truncate",children:N.name})]},N.id))}):null]}),v?.running||v?.forwarded?x.jsx("button",{type:"button",onClick:()=>{A(!1)},disabled:!l||!!s,"aria-label":"Stop dev server",className:lu,children:s==="stop"?x.jsx(_0,{size:18,className:"animate-spin"}):x.jsx(r9,{size:15,fill:"currentColor"})}):null,c?x.jsx("button",{type:"button",onClick:()=>d(null),className:"absolute right-2 top-full z-30 max-w-72 rounded-lg border border-del/40 bg-surface px-3 py-2 text-left text-xs text-del shadow-xl",children:c}):null]})}const Vf=(e,t)=>e.name.localeCompare(t.name,void 0,{numeric:!0,sensitivity:"base"})||e.name.localeCompare(t.name),bP=(e,t)=>e.path.localeCompare(t.path,void 0,{numeric:!0,sensitivity:"base"})||e.path.localeCompare(t.path);function lp(e){const t={path:"",folders:new Map,files:[]};for(const l of e){const s=l.path.split("/"),o=s.pop()??l.path;let c=t;for(const d of s){const f=c.path?`${c.path}/${d}`:d;let h=c.folders.get(d);h||(h={name:d,path:f,fileCount:0,added:0,removed:0,folders:new Map,files:[]},c.folders.set(d,h)),h.fileCount+=1,h.added+=l.added,h.removed+=l.removed,c=h}c.files.push({kind:"file",name:o,path:l.path,file:l})}const a=l=>[...[...l.folders.values()].sort(Vf).map(s=>({kind:"folder",name:s.name,path:s.path,fileCount:s.fileCount,added:s.added,removed:s.removed,children:a(s)})),...l.files.sort(Vf)];return a(t)}function vP(e){const t=[],a=l=>{for(const s of l)s.kind==="folder"?a(s.children):t.push(s.file)};return a(lp(e)),t}function ip(e){return[...e].sort(bP)}function sp(e,t,a){if(e==="changed")return t;const l=new Map(t.map(s=>[s.path,s]));return[...a].sort().map(s=>l.get(s)??{path:s,added:0,removed:0})}function CP(e){if(!e)return[];const t=e.split(`
50
+ `),a=[];for(const[l,s]of t.entries())s.startsWith("diff --git ")&&a.push(l);return a.length?a.map((l,s)=>t.slice(l,a[s+1]??t.length).join(`
51
+ `)):[e]}function kP(e,t,a){const l=t.findIndex(s=>s.path===a);return l<0?null:CP(e)[l]??null}function nU(e,t){const a=e.split(`
52
+ `),l=a.findIndex(d=>d.startsWith("@@ "));if(l<0)return{patch:e,preamble:null};const s=a.slice(0,l).findIndex(d=>d.startsWith("diff --git ")||d.startsWith("--- "));if(s>=0){const d=a.slice(0,s).join(`
53
+ `).trim();return{patch:a.slice(s).join(`
54
+ `),preamble:d||null}}const o=a.slice(0,l).join(`
55
+ `).trim(),c=(t?.trim()||"change.txt").replace(/[\t\r\n]/g," ");return{patch:[`--- ${c}`,`+++ ${c}`,...a.slice(l)].join(`
56
+ `),preamble:o||null}}const AP={width:32,height:32,body:'<path fill="#c5c5c5" d="M20.414 2H5v28h22V8.586ZM7 28V4h12v6h6v18Z"/>'},BP={width:32,height:32,body:'<path fill="#c09553" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/>'},wP={width:32,height:32,body:'<path fill="#dcb67a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dcb67a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/>'},DP={width:32,height:32,body:'<path fill="#00007f" d="M17.229 4a.9.9 0 0 0-.569.232l-7.6 6.32a1.16 1.16 0 0 1-.955.328H3.208A1.2 1.2 0 0 0 2 12.088v7.826a1.2 1.2 0 0 0 1.208 1.206H8.1a1.16 1.16 0 0 1 .955.328l7.6 6.32c.521.433 1.081.224 1.081-.289V4.522A.494.494 0 0 0 17.229 4M27 6.3l-1.791 1.793a14.71 14.71 0 0 1 0 15.844l1.785 1.776A17.19 17.19 0 0 0 27 6.3m-4.333 4.323L20.905 12.4a6.035 6.035 0 0 1 0 7.237l1.756 1.756a8.554 8.554 0 0 0 .01-10.769Z"/>'},FP={width:32,height:32,body:'<path fill="#60a5fa" d="M16 3.903L9.777 14.68a14.04 14.04 0 0 1 7.364-.255l2.103.496l-1.979 8.39l-2.106-.496c-2.588-.61-5.076.749-6.127 2.918l-1.947-.942c1.486-3.068 4.987-4.926 8.572-4.08l.986-4.182A11.887 11.887 0 0 0 2.032 28.097H29.97z"/>'},SP={width:32,height:32,body:'<path fill="#fbf0df" d="M29 17c0 5.65-5.82 10.23-13 10.23S3 22.61 3 17c0-3.5 2.24-6.6 5.66-8.44S14.21 4.81 16 4.81s3.32 1.54 7.34 3.71C26.76 10.36 29 13.46 29 17"/><path fill="none" stroke="#000" d="M16 27.65c7.32 0 13.46-4.65 13.46-10.65c0-3.72-2.37-7-5.89-8.85c-1.39-.75-2.46-1.41-3.37-2l-1.13-.69A6.14 6.14 0 0 0 16 4.35a6.9 6.9 0 0 0-3.3 1.23c-.42.24-.86.51-1.32.8c-.87.54-1.83 1.13-3 1.73C4.91 10 2.54 13.24 2.54 17c0 6 6.14 10.65 13.46 10.65Z"/><ellipse cx="21.65" cy="18.62" fill="#febbd0" rx="2.17" ry="1.28"/><ellipse cx="10.41" cy="18.62" fill="#febbd0" rx="2.17" ry="1.28"/><path fill-rule="evenodd" d="M11.43 18.11a2 2 0 1 0-2-2.05a2.05 2.05 0 0 0 2 2.05m9.2 0a2 2 0 1 0-2-2.05a2 2 0 0 0 2 2.05"/><path fill="#fff" fill-rule="evenodd" d="M10.79 16.19a.77.77 0 1 0-.76-.77a.76.76 0 0 0 .76.77m9.2 0a.77.77 0 1 0 0-1.53a.77.77 0 0 0 0 1.53"/><path fill="#b71422" stroke="#000" stroke-width=".75" d="M18.62 19.67a3.3 3.3 0 0 1-1.09 1.75a2.48 2.48 0 0 1-1.5.69a2.53 2.53 0 0 1-1.5-.69a3.28 3.28 0 0 1-1.08-1.75a.26.26 0 0 1 .29-.3h4.58a.27.27 0 0 1 .3.3Z"/><path fill="#ccbea7" fill-rule="evenodd" d="M14.93 5.75a6.1 6.1 0 0 1-2.09 4.62c-.1.09 0 .27.11.22c1.25-.49 2.94-1.94 2.23-4.88c-.03-.15-.25-.11-.25.04m.85 0a6 6 0 0 1 .57 5c0 .13.12.24.21.13c.83-1 1.54-3.11-.59-5.31c-.1-.11-.27.04-.19.17Zm1-.06a6.1 6.1 0 0 1 2.53 4.38c0 .14.21.17.24 0c.34-1.3.15-3.51-2.66-4.66c-.12-.02-.21.18-.09.27ZM9.94 9.55a6.27 6.27 0 0 0 3.89-3.33c.07-.13.28-.08.25.07c-.64 3-2.79 3.59-4.13 3.51c-.14-.01-.14-.21-.01-.25"/>'},MP={width:32,height:32,body:'<path fill="#005f91" d="M10.676 15.973a10.05 10.05 0 0 0 1.175 5.151a5.446 5.446 0 0 0 6.306 2.408a4.28 4.28 0 0 0 3.09-3.6l.109-.61c1.737.251 4.537.658 6.274.906l-.11.44a11.26 11.26 0 0 1-2.7 5.39a9.44 9.44 0 0 1-5.366 2.688a14.6 14.6 0 0 1-8.277-.819a10.15 10.15 0 0 1-5.777-6.24a16.23 16.23 0 0 1 .019-11.45a10.54 10.54 0 0 1 8.963-7.054a13.35 13.35 0 0 1 6.666.555a9.57 9.57 0 0 1 6.167 6.9c.094.352.114.417.114.417c-1.932.351-4.319.8-6.238 1.215c-.362-1.915-1.265-3.428-3.2-3.9a5.263 5.263 0 0 0-6.616 3.57a10.5 10.5 0 0 0-.385 1.439a12.3 12.3 0 0 0-.214 2.594"/>'},NP={width:32,height:32,body:'<defs><symbol id="SVGt4sSzbJp" viewBox="0 0 45.72 26.28"><path fill="none" d="M0 0h45.72v26.28H0z"/><path fill="#231f20" d="M0 16.309h22.926v9.971L45.72 13.139L22.926 0v9.97H0z"/></symbol></defs><path fill="#977753" d="m14.261 29.519l-.007-.457l12.926-5.511l2.038.288l-.012.385l-12.942 6.334Z"/><path fill="#7a552c" d="M14.268 29.067L27.18 23.19l2.05.663l-12.966 6.264Z"/><path fill="#886947" d="m14.258 27.63l2.01 1.086v1.416l-2.01-1.086Z"/><path fill="#9a7246" d="m29.139 22.465l-1.521.766v1.416l1.521-.766Z"/><path fill="#694a27" d="m20.178 24.751l2.01 1.086v1.416l-2.01-1.086z"/><path fill="#9a7246" d="m23.708 25.072l-1.521.766v1.416l1.521-.766z"/><path fill="#715a40" d="m8.722 26.749l-.007-.4l12.925-5.514l2.038.288l-.012.385l-12.942 6.28Z"/><path fill="#886947" d="M8.719 24.914L10.728 26v1.416l-2.01-1.086z"/><path fill="#6d471e" d="M12.249 25.234L10.728 26v1.416l1.521-.766z"/><path fill="#7a5f41" d="m3.454 24.088l-.007-.349l12.926-5.511l2.038.288l-.011.384l-12.944 6.227Z"/><path fill="#886947" d="m3.451 22.308l2.01 1.086v1.416l-2.01-1.086Z"/><path fill="#6d471e" d="m6.981 22.628l-1.521.766v1.416l1.521-.766Z"/><path fill="#977753" d="m3.345 22.622l-.007-.282s2.539-.09 1.689.115C6.08 21.792 16.182 17.9 16.182 17.9l12.961 4.44l.062.279l-12.942 6.09Z"/><path fill="#c69c6d" d="m3.3 22.36l12.966-4.519l12.963 4.519l-12.965 6.019Z"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.372 6.64l-6.2-2.481v8.123l6.2 2.522Z"/><path fill="#e3b04e" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.331 6.674l6.115-2.435L16.3 1.708l-6.141 2.467Z"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .022 .013 10.56 6.25)"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m22.509 17.109l6.2-2.481v7.311l-6.2 2.878Z"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m22.5 9.134l6.2-2.415v7.906l-6.2 2.509Z"/><path fill="#e3b04e" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="M22.433 9.119L16.4 6.557l6.062-2.274l6.2 2.4Z"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m10.072 17.092l-6.2-2.392v7.375l6.2 2.847Z"/><path fill="#e3b04e" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m10.056 17.144l6.2-2.417l-6.2-2.465l-6.2 2.4Z"/><path fill="none" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m6.952 15.883l6.196-2.467"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.3 19.658l-6.2-2.464v7.715l6.2 2.957Z"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.25 19.729l6.255-2.481v7.661l-6.255 2.957Z"/><path fill="#e5ac3d" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.264 11.547l6.2-2.446v8.16l-6.2 2.485Zm0-.019l-6.2-2.481v8.123l6.2 2.522Z"/><path fill="#e3b04e" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m16.277 11.508l6.169-2.435l-6.2-2.531l-6.2 2.467Z"/><path fill="none" stroke="#73561f" stroke-miterlimit="10" stroke-width=".054" d="m12.82 10.149l6.196-2.467M13.037 5.37l6.196-2.467m.578 2.383l6.316 2.447"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".047" d="m18.301 7.395l-6.24 2.484l1.482.593l6.196-2.466zm.272-4.779L12.333 5.1l1.482.593l6.195-2.466zM6.266 15.628l1.481.592l2.342-.932l-.026-1.172z" opacity=".3"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".042" d="m20.495 5.029l-1.339.525l6.227 2.413l1.342-.524z" opacity=".3"/><path fill="none" d="m6.7 17.509l.051-.044l-.104-.041zm.39.17l.065-.057l-.129-.051z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m7.719 16.195l-1.453-.565v1.645l.201-.136l.18.285l.104.041l.138-.122l.137.228l.129.051l.189-.166l.238.332l.137.053z" opacity=".3"/><path fill="none" d="m12.783 6.973l.05-.044l-.104-.041zm.39.17l.065-.057l-.13-.051z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m13.802 5.659l-1.454-.565v1.645l.202-.136l.179.285l.104.041l.138-.122l.137.228l.13.051l.188-.166l.239.332l.137.053z" opacity=".3"/><path fill="none" d="m12.544 11.783l.05-.044l-.104-.04zm.389.17l.065-.057l-.129-.05z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m13.562 10.47l-1.453-.565v1.645l.201-.136l.18.285l.104.04l.138-.121l.137.228l.129.05l.189-.166l.238.332l.137.053z" opacity=".3"/><path fill="none" d="m13.139 16.719l-.05.045l.104.039zm-.392-.165l-.065.058l.131.049z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m12.139 18.046l1.461.545l-.023-1.645l-.2.139l-.184-.282l-.104-.039l-.136.123l-.14-.226l-.131-.049l-.186.169l-.243-.329l-.137-.051z" opacity=".3"/><path fill="none" d="m7.328 21.878l-.05.045l.104.039zm-.392-.164l-.065.058l.13.048z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m6.327 23.206l1.392.639l.047-1.74l-.2.139l-.184-.282l-.104-.039l-.137.123l-.14-.226l-.13-.048l-.186.168l-.243-.328l-.138-.052z" opacity=".3"/><path fill="none" d="m25.761 14.093l.051.045l-.104.04zm.39-.17l.065.057l-.129.051z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m26.78 15.407l-1.453.565v-1.645l.201.136l.18-.285l.104-.04l.138.121l.137-.228l.129-.051l.189.166l.238-.332l.137-.053z" opacity=".3"/><path fill="none" d="m26.356 9.321l-.049-.045l.104-.039zm-.392.164l-.064-.058l.13-.048z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m25.356 7.993l1.461-.545l-.023 1.645l-.199-.138l-.184.282l-.104.039l-.137-.124l-.14.227l-.13.048l-.186-.168l-.243.328l-.138.052z" opacity=".3"/><path fill="none" d="m19.428 24.558l.05.044l-.103.04zm.39-.17l.065.057l-.13.05z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m20.447 25.871l-1.454.674v-1.754l.202.136l.18-.285l.103-.04l.139.121l.136-.228l.13-.05l.189.166l.238-.332l.137-.053z" opacity=".3"/><path fill="none" d="m20.023 19.948l-.05-.045l.105-.039zm-.392.165l-.064-.058l.13-.049z"/><path fill="#fff" stroke="#73561f" stroke-miterlimit="10" stroke-width=".067" d="m19.023 18.62l1.461-.544l-.023 1.645l-.199-.139l-.184.282l-.105.039l-.136-.123l-.14.226l-.13.049l-.187-.169l-.242.329l-.138.051z" opacity=".3"/><path d="m21.426 13.49l-.172-.039V13.4l.148-.208a.1.1 0 0 0 .018-.065a.035.035 0 0 0-.037-.03l-.189.006l-.015-.045l.118-.222a.07.07 0 0 0 .007-.063a.04.04 0 0 0-.045-.018l-.2.051l-.024-.037l.084-.229a.06.06 0 0 0 0-.058a.04.04 0 0 0-.051-.006l-.2.094l-.032-.027l.047-.227a.05.05 0 0 0-.016-.052a.05.05 0 0 0-.056.007l-.2.133l-.039-.017l.007-.215a.04.04 0 0 0-.026-.043a.07.07 0 0 0-.058.02l-.184.166l-.045-.006l-.033-.2a.036.036 0 0 0-.036-.032a.08.08 0 0 0-.057.031l-.164.194l-.049.005l-.071-.168a.036.036 0 0 0-.044-.021a.1.1 0 0 0-.055.042l-.138.214l-.05.016l-.107-.135a.04.04 0 0 0-.05-.008a.1.1 0 0 0-.05.051l-.107.226l-.05.026l-.138-.1a.05.05 0 0 0-.055 0a.1.1 0 0 0-.044.058l-.071.228l-.049.036l-.164-.054a.06.06 0 0 0-.057.017a.1.1 0 0 0-.036.063l-.033.223l-.045.044l-.184-.01a.08.08 0 0 0-.058.029a.1.1 0 0 0-.026.065l.007.209l-.039.05l-.2.035a.1.1 0 0 0-.056.04a.1.1 0 0 0-.016.065l.046.187l-.032.054l-.2.079a.1.1 0 0 0-.051.049a.07.07 0 0 0 0 .062l.084.157l-.024.057l-.2.119a.1.1 0 0 0-.045.057a.06.06 0 0 0 .007.057l.118.122l-.015.058l-.189.155a.1.1 0 0 0-.037.062a.045.045 0 0 0 .018.05l.148.082v.055l-.172.185a.1.1 0 0 0-.028.065a.04.04 0 0 0 .028.041l.172.039v.051l-.148.208a.1.1 0 0 0-.018.065a.035.035 0 0 0 .037.03l.189-.006l.015.045l-.118.222a.07.07 0 0 0-.007.063a.04.04 0 0 0 .045.018l.2-.051l.024.037l-.084.229a.06.06 0 0 0 0 .058a.04.04 0 0 0 .051.006l.2-.094l.032.027l-.046.227a.05.05 0 0 0 .016.051a.05.05 0 0 0 .056-.007l.2-.133l.039.017l-.007.215a.04.04 0 0 0 .026.043a.07.07 0 0 0 .058-.02l.184-.166l.045.006l.033.2a.035.035 0 0 0 .036.032a.08.08 0 0 0 .057-.031l.164-.194l.049-.005l.071.168a.036.036 0 0 0 .044.02a.1.1 0 0 0 .055-.042l.138-.214l.05-.016l.107.135a.04.04 0 0 0 .05.008a.1.1 0 0 0 .05-.051l.107-.226l.05-.027l.138.1a.05.05 0 0 0 .055 0a.1.1 0 0 0 .044-.058l.071-.228l.049-.036l.164.054a.06.06 0 0 0 .057-.017a.1.1 0 0 0 .036-.063l.033-.223l.045-.044l.184.01a.08.08 0 0 0 .058-.029a.1.1 0 0 0 .026-.065l-.007-.209l.039-.05l.2-.035a.1.1 0 0 0 .056-.04a.1.1 0 0 0 .016-.065l-.046-.187l.017-.053l.2-.079a.1.1 0 0 0 .051-.049a.07.07 0 0 0 0-.062l-.084-.157l.024-.057l.2-.119a.1.1 0 0 0 .045-.057a.06.06 0 0 0-.007-.057l-.118-.122l.015-.058l.189-.155a.1.1 0 0 0 .037-.062a.045.045 0 0 0-.018-.05l-.148-.082v-.055l.172-.185a.1.1 0 0 0 .028-.065a.04.04 0 0 0-.014-.039m-1.153 1.988c-.066.013-.108-.037-.094-.112a.21.21 0 0 1 .145-.16c.066-.013.108.037.094.112a.21.21 0 0 1-.145.16m-.059-.39a.19.19 0 0 0-.132.146l-.061.325a2.3 2.3 0 0 1-.619.4a1.4 1.4 0 0 1-.632.123l-.061-.273c-.013-.057-.072-.072-.132-.033l-.252.164a1 1 0 0 1-.13-.106l1.226-.521q.022-.007.023-.026v-.455c0-.013-.009-.012-.023-.006l-.359.152v-.288l.388-.165a.16.16 0 0 1 .239.115c.015.057.049.249.072.3s.117.172.217.13l.611-.26l.022-.012a3 3 0 0 1-.139.23Zm-1.7 1.13c-.066.043-.131.026-.145-.037a.2.2 0 0 1 .094-.192c.066-.043.131-.026.145.037a.2.2 0 0 1-.09.192Zm-.465-1.779a.18.18 0 0 1-.062.2c-.062.055-.134.056-.161 0a.18.18 0 0 1 .062-.2c.066-.051.138-.053.165 0Zm-.143.416l.263-.234a.16.16 0 0 0 .057-.178l-.054-.105l.213-.09v1l-.429.182a1.4 1.4 0 0 1-.057-.407c.001-.052.001-.11.011-.168Zm1.152-.587v-.3l.506-.215c.026-.011.185-.047.185.077c0 .1-.122.192-.222.234l-.47.2Zm1.84-.516v.118l-.154.065a.04.04 0 0 0-.022.036v.074a.31.31 0 0 1-.176.3c-.078.043-.165.036-.176-.01c-.046-.253-.123-.278-.245-.327a1 1 0 0 0 .308-.578a.3.3 0 0 0-.235-.315a.57.57 0 0 0-.322.026l-1.592.677a2.7 2.7 0 0 1 .84-.853l.188.127c.042.029.113 0 .157-.063l.21-.3a.94.94 0 0 1 1.027.33l-.144.4c-.025.069 0 .128.057.13l.277.011q.004.073.004.152Zm-1.591-1.044c.049-.069.126-.1.172-.069s.045.113 0 .183s-.126.1-.172.069s-.044-.114.005-.184Zm1.427.6a.19.19 0 0 1 .161-.133c.062 0 .089.066.062.142a.19.19 0 0 1-.161.133c-.057-.006-.085-.07-.058-.15Z" opacity=".55"/><path d="m15.314 23.421l-.19-.195l-.005-.057l.163-.085a.05.05 0 0 0 .02-.052a.1.1 0 0 0-.041-.065l-.208-.163l-.016-.06l.13-.127a.06.06 0 0 0 .007-.06a.12.12 0 0 0-.05-.06l-.22-.126l-.026-.06l.092-.165a.07.07 0 0 0-.005-.065a.1.1 0 0 0-.057-.052l-.223-.083l-.035-.057l.051-.2a.1.1 0 0 0-.017-.068a.1.1 0 0 0-.061-.042l-.217-.038l-.043-.053l.008-.22a.1.1 0 0 0-.029-.068a.1.1 0 0 0-.063-.031l-.2.01l-.049-.047l-.036-.234a.1.1 0 0 0-.039-.066a.07.07 0 0 0-.063-.018l-.181.056l-.054-.038l-.078-.24a.12.12 0 0 0-.048-.061a.06.06 0 0 0-.06-.005l-.152.1l-.059-.026l-.117-.238a.1.1 0 0 0-.055-.054a.05.05 0 0 0-.055.008l-.117.142l-.055-.017l-.152-.225a.1.1 0 0 0-.06-.044a.04.04 0 0 0-.048.021l-.078.176l-.054-.006l-.181-.2a.1.1 0 0 0-.063-.033a.04.04 0 0 0-.039.034l-.036.205l-.049.006l-.2-.175a.07.07 0 0 0-.063-.021a.04.04 0 0 0-.029.045l.008.226l-.043.018l-.217-.14a.06.06 0 0 0-.061-.008a.05.05 0 0 0-.017.054l.051.238l-.035.028l-.223-.1a.05.05 0 0 0-.057.006a.06.06 0 0 0-.005.061l.092.24l-.026.039l-.22-.054a.04.04 0 0 0-.05.019a.07.07 0 0 0 .007.066l.13.234l-.016.047l-.208-.007a.04.04 0 0 0-.041.032a.1.1 0 0 0 .02.068l.163.219l-.005.053l-.19.04a.04.04 0 0 0-.031.043a.1.1 0 0 0 .031.068l.19.195l.005.057l-.163.085a.05.05 0 0 0-.02.052a.1.1 0 0 0 .041.065l.208.163l.016.06l-.13.127a.06.06 0 0 0-.007.06a.12.12 0 0 0 .05.06l.22.126l.026.06l-.092.165a.07.07 0 0 0 .005.065a.1.1 0 0 0 .057.052l.223.083l.035.057l-.051.2a.1.1 0 0 0 .017.068a.1.1 0 0 0 .061.042l.217.038l.043.053l-.008.22a.1.1 0 0 0 .029.068a.1.1 0 0 0 .063.031l.2-.009l.049.047l.036.234a.1.1 0 0 0 .039.066a.07.07 0 0 0 .063.019l.18-.056l.054.038l.078.24a.12.12 0 0 0 .048.061a.06.06 0 0 0 .06.005l.152-.1l.055.028l.117.238a.1.1 0 0 0 .055.054a.05.05 0 0 0 .055-.008l.117-.142l.055.017l.152.225a.1.1 0 0 0 .06.044a.04.04 0 0 0 .048-.021l.078-.176l.054.006l.181.2a.1.1 0 0 0 .063.033a.04.04 0 0 0 .039-.034l.036-.2l.049-.006l.2.175a.07.07 0 0 0 .063.021a.04.04 0 0 0 .029-.045l-.008-.226l.043-.018l.217.14a.06.06 0 0 0 .061.008a.05.05 0 0 0 .017-.054l-.051-.238l.035-.028l.223.1a.05.05 0 0 0 .057-.006a.06.06 0 0 0 .005-.061l-.092-.24l.026-.039l.22.054a.04.04 0 0 0 .05-.019a.07.07 0 0 0-.007-.066l-.13-.234l.016-.047l.208.007a.04.04 0 0 0 .041-.032a.1.1 0 0 0-.02-.068l-.163-.219l.005-.053l.19-.04a.04.04 0 0 0 .031-.043a.1.1 0 0 0-.026-.077m-1.269 1.054a.21.21 0 0 1-.1-.2c.015-.066.087-.083.159-.038a.21.21 0 0 1 .1.2c-.015.063-.086.083-.159.038m-.064-.462c-.066-.041-.131-.026-.145.035l-.067.287a1.6 1.6 0 0 1-.681-.132a2.5 2.5 0 0 1-.7-.438l-.067-.342a.2.2 0 0 0-.145-.153l-.277-.054q-.077-.111-.143-.228l1.35.552c.015.006.025.008.025-.006v-.477q-.001-.02-.025-.027l-.395-.161v-.3l.427.175a.46.46 0 0 1 .263.335c.017.074.054.305.08.385a.6.6 0 0 0 .239.331l.672.275l.024.008a1 1 0 0 1-.153.117Zm-1.867-.334a.22.22 0 0 1-.159-.168c-.015-.079.031-.132.1-.118a.23.23 0 0 1 .159.168c.019.079-.027.132-.1.118m-.514-2.286c.03.08 0 .147-.068.149a.21.21 0 0 1-.177-.141c-.03-.08 0-.147.068-.149a.21.21 0 0 1 .177.141m-.157.309l.289-.01c.062 0 .09-.063.062-.136l-.06-.159l.234.1v1.055l-.472-.193a2 2 0 0 1-.063-.479a2 2 0 0 1 .012-.18Zm1.268.416v-.311l.557.228c.029.012.2.116.2.247c0 .108-.134.092-.244.047l-.517-.211Zm2.025 1.108v.121l-.169-.069q-.025-.01-.024.018v.078c0 .183-.1.181-.194.154a.31.31 0 0 1-.194-.168a.95.95 0 0 0-.269-.563c.166-.038.339-.122.339-.331a.86.86 0 0 0-.259-.542a1.2 1.2 0 0 0-.355-.262l-1.752-.717a1.14 1.14 0 0 1 .924-.144l.207.3c.047.068.124.1.173.075l.231-.127a2.95 2.95 0 0 1 1.13 1.267l-.158.293a.17.17 0 0 0 .062.187l.3.26q.01.087.01.17ZM12.987 20.7c.054-.029.138.007.19.082s.049.159 0 .188s-.138-.007-.19-.082s-.053-.156 0-.188m1.57 1.905c.03-.056.109-.054.177 0a.185.185 0 0 1 .068.205c-.03.056-.109.054-.177 0a.185.185 0 0 1-.068-.202Z" opacity=".56"/><path d="m27.838 18.724l-.172-.039v-.051l.148-.208a.1.1 0 0 0 .018-.065a.035.035 0 0 0-.037-.03l-.189.006l-.015-.045l.118-.222a.07.07 0 0 0 .007-.063a.04.04 0 0 0-.045-.018l-.2.051l-.03-.04l.084-.229a.06.06 0 0 0 0-.058a.04.04 0 0 0-.051-.006l-.2.094l-.032-.027l.047-.227a.05.05 0 0 0-.016-.052a.05.05 0 0 0-.056.007l-.2.133l-.039-.017l.007-.215a.04.04 0 0 0-.026-.043a.07.07 0 0 0-.058.02l-.184.166l-.045-.006l-.033-.2a.036.036 0 0 0-.036-.032a.08.08 0 0 0-.057.031l-.164.194l-.049.005l-.071-.168a.036.036 0 0 0-.044-.021a.1.1 0 0 0-.055.042l-.138.214l-.05.016l-.107-.135a.04.04 0 0 0-.05-.008a.1.1 0 0 0-.05.051l-.107.226l-.05.026l-.138-.1a.05.05 0 0 0-.055 0a.1.1 0 0 0-.044.058l-.071.228l-.049.036l-.164-.054a.06.06 0 0 0-.057.017a.1.1 0 0 0-.036.063l-.033.223l-.045.044l-.184-.01a.08.08 0 0 0-.058.029a.1.1 0 0 0-.026.065l.007.209l-.039.05l-.2.035a.1.1 0 0 0-.056.04a.1.1 0 0 0-.016.065l.046.187l-.032.054l-.2.079a.1.1 0 0 0-.051.049a.07.07 0 0 0 0 .062l.084.157l-.024.057l-.2.119a.1.1 0 0 0-.045.057a.06.06 0 0 0 .007.057l.118.122l-.015.058l-.189.155a.1.1 0 0 0-.037.062a.045.045 0 0 0 .018.05l.148.082v.055l-.172.185a.1.1 0 0 0-.028.065a.04.04 0 0 0 .028.041l.172.039v.051l-.148.208a.1.1 0 0 0-.018.065a.035.035 0 0 0 .037.03l.189-.006l.015.045l-.118.222a.07.07 0 0 0-.007.063a.04.04 0 0 0 .045.018l.2-.051l.024.037l-.094.247a.06.06 0 0 0 0 .058a.04.04 0 0 0 .051.006l.2-.094l.032.027l-.046.227a.05.05 0 0 0 .016.051a.05.05 0 0 0 .056-.007l.2-.133l.039.017l-.007.215a.04.04 0 0 0 .026.043a.07.07 0 0 0 .058-.02l.184-.166l.045.006l.033.2a.035.035 0 0 0 .036.032a.08.08 0 0 0 .057-.031l.164-.194l.049-.005l.071.168a.036.036 0 0 0 .044.02a.1.1 0 0 0 .055-.042l.138-.214l.05-.016l.107.135a.04.04 0 0 0 .05.008a.1.1 0 0 0 .05-.051l.107-.226l.05-.027l.138.1a.05.05 0 0 0 .055 0a.1.1 0 0 0 .044-.058l.071-.228l.049-.036l.164.054a.06.06 0 0 0 .057-.017a.1.1 0 0 0 .036-.063l.038-.239l.045-.044l.184.01a.08.08 0 0 0 .058-.029a.1.1 0 0 0 .026-.065l-.007-.209l.039-.05l.2-.035a.1.1 0 0 0 .056-.04a.1.1 0 0 0 .016-.065l-.046-.187l.032-.054l.2-.079a.1.1 0 0 0 .051-.049a.07.07 0 0 0 0-.062l-.084-.157l.024-.057l.2-.119a.1.1 0 0 0 .045-.057a.06.06 0 0 0-.006-.052l-.118-.122l.015-.058l.189-.155a.1.1 0 0 0 .037-.062a.045.045 0 0 0-.018-.05l-.148-.082v-.055l.172-.185a.1.1 0 0 0 .028-.065a.04.04 0 0 0-.019-.042m-1.153 1.988c-.066.013-.108-.037-.094-.112a.21.21 0 0 1 .145-.16c.066-.013.108.037.094.112a.21.21 0 0 1-.146.161Zm-.059-.39a.19.19 0 0 0-.132.146l-.061.325a2.3 2.3 0 0 1-.619.4a1.4 1.4 0 0 1-.632.123l-.061-.273c-.013-.057-.072-.072-.132-.033l-.252.164a1 1 0 0 1-.13-.106l1.226-.521q.022-.007.023-.026v-.455c0-.013-.009-.012-.023-.006l-.359.152v-.288l.388-.165a.16.16 0 0 1 .239.115c.015.057.049.249.072.3s.117.172.217.13l.611-.26l.022-.012a3 3 0 0 1-.139.23Zm-1.7 1.13c-.066.043-.131.026-.145-.037a.2.2 0 0 1 .094-.192c.066-.043.131-.026.145.037a.2.2 0 0 1-.09.192Zm-.465-1.779a.18.18 0 0 1-.062.2c-.062.055-.134.056-.161 0a.18.18 0 0 1 .062-.2c.065-.051.137-.053.165 0Zm-.143.416l.263-.234a.16.16 0 0 0 .057-.178l-.054-.105l.213-.09v1l-.429.182a1.4 1.4 0 0 1-.057-.407c.002-.057.005-.11.011-.168Zm1.152-.587v-.3l.506-.215c.026-.011.185-.047.185.077c0 .1-.122.192-.222.234l-.47.2Zm1.84-.516v.118l-.154.065a.04.04 0 0 0-.022.036v.074a.31.31 0 0 1-.176.3c-.078.043-.165.036-.176-.01c-.046-.253-.123-.278-.245-.327a1 1 0 0 0 .308-.578a.3.3 0 0 0-.235-.315a.57.57 0 0 0-.322.026l-1.588.675a2.7 2.7 0 0 1 .84-.853l.188.127c.042.029.113 0 .157-.063l.21-.3a.94.94 0 0 1 1.027.33l-.144.4c-.025.069 0 .128.057.13l.277.011q.002.075.002.154Zm-1.591-1.044c.049-.069.126-.1.172-.069s.045.113 0 .183s-.126.1-.172.069s-.045-.114.004-.184Zm1.427.6a.19.19 0 0 1 .161-.133c.062 0 .089.066.062.142a.19.19 0 0 1-.161.133c-.058-.006-.086-.07-.058-.146Z" opacity=".55"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .022 .013 4.314 16.786)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .022 .013 8.876 18.632)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .022 .013 10.451 11.138)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .022 .013 15.013 12.984)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .02 -.012 16.773 21.54)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .02 -.012 21.389 19.694)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .02 -.012 23.072 11.167)"/><use width="45.72" height="26.28" href="#SVGt4sSzbJp" transform="matrix(0 -.029 .02 -.012 27.689 9.321)"/>'},_P={width:32,height:32,body:'<path fill="#005f91" d="M8.329 29V3h3.192v9.329a7.13 7.13 0 0 1 5.64-2.589a7.6 7.6 0 0 1 3.636.825a4.84 4.84 0 0 1 2.208 2.279a10.5 10.5 0 0 1 .665 4.221V29h-3.192V17.064a4.93 4.93 0 0 0-1.038-3.485a3.86 3.86 0 0 0-2.935-1.091a5.2 5.2 0 0 0-2.669.736a4.16 4.16 0 0 0-1.782 2a9.2 9.2 0 0 0-.532 3.476V29Z"/>'},jP={width:32,height:32,body:'<defs><linearGradient id="SVGCgNrzdsa" x1="9.955" x2="16.68" y1="9.096" y2="23.324" gradientTransform="matrix(1 0 0 -1 0 32)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#1011a1"/><stop offset="1" stop-color="#6969e1"/></linearGradient><linearGradient id="SVGrgqtQcHo" x1="16.231" x2="25.618" y1="19.655" y2="3.782" gradientTransform="matrix(1 0 0 -1 0 32)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b40e0e"/><stop offset="1" stop-color="#ff5959"/></linearGradient><linearGradient id="SVGV3I43cHR" x1="21.663" x2="8.381" y1="4.823" y2="5.938" gradientTransform="matrix(1 0 0 -1 0 32)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#01a300"/><stop offset="1" stop-color="#01df00"/></linearGradient><linearGradient id="SVGhUomfdFs" x1="14.643" x2="14.472" y1="8.368" y2="14.145" gradientTransform="matrix(1 0 0 -1 0 32)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#848484"/><stop offset="1" stop-color="#d2d2d2"/></linearGradient></defs><path fill="url(#SVGCgNrzdsa)" d="M17.257 16.919L2.246 29.749L15.994 2.283Z"/><path d="m2.262 29.768l-.038-.03L16.012 2.193l.008.088l1.263 14.649l-.01.008ZM15.977 2.374L2.324 29.649L17.23 16.908Z"/><path fill="url(#SVGrgqtQcHo)" d="M17.952 24.931L16 2.28l13.767 27.471Z"/><path d="m29.818 29.8l-.061-.025l-11.828-4.827v-.015L15.975 2.282l.047-.013Zm-11.842-4.887L29.715 29.7L16.036 2.408Z"/><path fill="url(#SVGV3I43cHR)" d="m11.16 22.094l18.621 7.654H2.25Z"/><path d="M29.781 29.773H2.183l.051-.044l8.921-7.665l.014.006l18.622 7.655Zm-27.464-.05h27.337l-18.489-7.6Z"/><path fill="url(#SVGhUomfdFs)" d="m11.189 22.112l6.059-5.168l.843 7.98Z"/><path d="m18.149 25l-.077-.032l-6.978-2.842l6.194-5.283l.01.094Zm-6.865-2.9l6.748 2.749l-.824-7.8Z"/><path d="M29.7 29.911H2.285a.22.22 0 0 1-.182-.088a.22.22 0 0 1 .022-.2L15.864 2.187a.17.17 0 0 1 .14-.1a.15.15 0 0 1 .13.085l13.733 27.435a.24.24 0 0 1 .02.226a.21.21 0 0 1-.187.078m-27.468-.16l.057.011h27.4l.073-.009a.2.2 0 0 0-.028-.077L16 2.248v.012L2.261 29.684a.3.3 0 0 0-.025.067Z"/>'},TP={width:32,height:32,body:'<path fill="#99b8c4" d="m23.265 24.381l.9-.894c4.164.136 4.228-.01 4.411-.438l1.144-2.785l.085-.264l-.093-.231c-.049-.122-.2-.486-2.8-2.965V15.5c3-2.89 2.936-3.038 2.765-3.461l-1.139-2.814c-.171-.422-.236-.587-4.37-.474l-.9-.93a20 20 0 0 0-.141-4.106l-.116-.263l-2.974-1.3c-.438-.2-.592-.272-3.4 2.786l-1.262-.019c-2.891-3.086-3.028-3.03-3.461-2.855L9.149 3.182c-.433.175-.586.237-.418 4.437l-.893.89c-4.162-.136-4.226.012-4.407.438l-1.146 2.786l-.09.267l.094.232c.049.12.194.48 2.8 2.962v1.3c-3 2.89-2.935 3.038-2.763 3.462l1.138 2.817c.174.431.236.584 4.369.476l.9.935a20.2 20.2 0 0 0 .137 4.1l.116.265l2.993 1.308c.435.182.586.247 3.386-2.8l1.262.016c2.895 3.09 3.043 3.03 3.466 2.859l2.759-1.115c.436-.173.588-.234.413-4.436m-11.858-6.524a4.957 4.957 0 1 1 6.488 2.824a5.014 5.014 0 0 1-6.488-2.824"/>'},zP={width:32,height:32,body:'<path fill="#984c93" d="M14.742 24.047a10.24 10.24 0 0 1-4.673.919a7.63 7.63 0 0 1-5.914-2.346A8.88 8.88 0 0 1 2 16.369a9.48 9.48 0 0 1 2.422-6.748a8.22 8.22 0 0 1 6.285-2.588a11.2 11.2 0 0 1 4.035.641v3.761A6.84 6.84 0 0 0 11 10.395a4.81 4.81 0 0 0-3.712 1.535a5.9 5.9 0 0 0-1.413 4.159A5.8 5.8 0 0 0 7.209 20.1a4.57 4.57 0 0 0 3.59 1.493a7.3 7.3 0 0 0 3.943-1.113Zm2.37-9.218v-2.344h2.344v2.344H21.8v2.343h-2.344v2.343h-2.344v-2.343H14.77v-2.344zm8.201 0v-2.344h2.344v2.344H30v2.343h-2.343v2.343h-2.344v-2.343h-2.342v-2.344z"/>'},RP={width:32,height:32,body:'<path fill="#984c93" d="M2.395 25.5v-19h2.332v6.817a5.21 5.21 0 0 1 4.121-1.892a5.56 5.56 0 0 1 2.657.6a3.54 3.54 0 0 1 1.614 1.665a7.7 7.7 0 0 1 .486 3.085V25.5h-2.332v-8.722a3.6 3.6 0 0 0-.758-2.547a2.82 2.82 0 0 0-2.145-.8a3.8 3.8 0 0 0-1.951.538a3.04 3.04 0 0 0-1.3 1.458a6.7 6.7 0 0 0-.389 2.54V25.5Zm14.332-10.671v-2.344h2.344v2.344h2.344v2.343h-2.344v2.343h-2.344v-2.343h-2.342v-2.344zm8.201 0v-2.344h2.344v2.344h2.343v2.343h-2.343v2.343h-2.344v-2.343h-2.343v-2.344z"/>'},OP={width:32,height:32,body:'<path fill="#368832" d="M19.792 7.071h2.553v2.553H24.9V7.071h2.552v2.553H30v2.552h-2.55v2.551H30v2.553h-2.551v2.552H24.9v-2.55h-2.55v2.552h-2.557v-2.55H17.24v-2.559h2.553v-2.546H17.24V9.622h2.554Zm2.553 7.658H24.9v-2.553h-2.555Zm-7.656 9.284a10.2 10.2 0 0 1-4.653.915a7.6 7.6 0 0 1-5.89-2.336A8.84 8.84 0 0 1 2 16.367a9.44 9.44 0 0 1 2.412-6.719a8.18 8.18 0 0 1 6.259-2.577a11.1 11.1 0 0 1 4.018.638v3.745a6.8 6.8 0 0 0-3.723-1.036a4.8 4.8 0 0 0-3.7 1.529a5.88 5.88 0 0 0-1.407 4.142a5.77 5.77 0 0 0 1.328 3.992a4.55 4.55 0 0 0 3.575 1.487a7.3 7.3 0 0 0 3.927-1.108Z"/>'},LP={width:32,height:32,body:'<path fill="#639" d="M1.995 1.994h23.52a4.48 4.48 0 0 1 4.48 4.48v19.04a4.48 4.48 0 0 1-4.48 4.48H6.475a4.48 4.48 0 0 1-4.48-4.48Z"/><path fill="#fff" d="M9.079 24.87v-4.704c0-1.876 1.204-2.884 3.024-2.884c1.792-.028 2.912 1.148 2.856 3.136h-2.072c.056-.756-.28-1.316-.84-1.288c-.7 0-.896.476-.896 1.372v4.088c0 .868.28 1.288.896 1.316c.644 0 .896-.644.84-1.372h2.072c.112 2.044-1.176 3.248-2.996 3.22c-1.764 0-2.884-.98-2.884-2.884m6.636-.336h1.932c.028.896.308 1.456.924 1.456s.84-.364.84-1.204c0-.7-.308-1.092-1.064-1.456l-.728-.336c-1.288-.616-1.82-1.372-1.82-2.884c0-1.68 1.064-2.856 2.8-2.856s2.66 1.204 2.688 3.164h-1.876c0-.812-.168-1.372-.784-1.372c-.56 0-.84.28-.84.98s.252.98.924 1.26l.672.308c1.428.672 2.044 1.54 2.044 3.164c0 1.932-1.092 2.996-2.884 2.996s-2.8-1.232-2.828-3.22m6.328 0h1.96c0 .896.308 1.456.896 1.456s.84-.364.84-1.204c0-.7-.28-1.092-1.064-1.456l-.728-.336c-1.288-.616-1.792-1.372-1.792-2.884c0-1.68 1.036-2.856 2.8-2.856s2.632 1.204 2.688 3.164h-1.876c-.028-.812-.196-1.372-.812-1.372c-.56 0-.812.28-.812.98s.224.98.896 1.26l.7.308c1.4.672 2.016 1.54 2.016 3.164c0 1.932-1.092 2.996-2.884 2.996s-2.8-1.232-2.828-3.22"/>'},PP={width:32,height:32,body:'<path fill="#66c3fa" d="M16.739 2.037a1.3 1.3 0 0 0-.916.377l-.013.01l-8.59 4.965l8.566 8.566v.006l10.3 10.3l1.963-3.536l-7.081-16.997l-3.3-3.3a1.3 1.3 0 0 0-.927-.388Z"/><path fill="#215896" d="m7.25 7.35l-4.962 8.581l-.01.013a1.32 1.32 0 0 0-.378.919a1.3 1.3 0 0 0 .387.924L6.4 21.9l16.084 6.327l3.636-2.02l-.1-.1h-.025l-10.083-10.1H15.9z"/><path fill="#235997" d="m7.192 7.362l8.764 8.773h.013l10.087 10.1l3.839-.732l.005-11.363l-4.054-3.973a6.5 6.5 0 0 0-3.624-1.616v-.044z"/><path fill="#58b6f0" d="m7.256 7.411l8.768 8.768v.013l10.092 10.092l-.734 3.839h-11.36l-3.971-4.056a6.5 6.5 0 0 1-1.614-3.625h-.044z"/>'},GP={width:32,height:32,body:'<path fill="#3a4e55" d="M18.191 13.071H20.7v2.566h1.27a5.5 5.5 0 0 0 1.744-.292a4.5 4.5 0 0 0 .848-.383a3.15 3.15 0 0 1-.589-1.623a3.43 3.43 0 0 1 .616-2.416l.264-.305l.314.253a4 4 0 0 1 1.575 2.538a3.84 3.84 0 0 1 2.913.271l.345.2l-.181.354a3.63 3.63 0 0 1-3.648 1.74c-2.173 5.413-6.9 7.976-12.642 7.976A7.96 7.96 0 0 1 6.3 20.211l-.025-.043l-.226-.459a7.3 7.3 0 0 1-.579-3.693l.035-.38h2.143v-2.565h2.51v-2.51h5.02v-2.51h3.012v5.02Z"/><path fill="#00aada" d="M26.324 14.021a3.31 3.31 0 0 0-1.418-2.821a3.07 3.07 0 0 0 .289 3.821a5.28 5.28 0 0 1-3.225 1.037H5.883a6.8 6.8 0 0 0 .667 3.737l.183.335a6 6 0 0 0 .379.569q.992.064 1.829.045a9 9 0 0 0 2.669-.389a.193.193 0 1 1 .126.365q-.135.047-.281.088a8.4 8.4 0 0 1-1.845.3c.044 0-.046.007-.046.007l-.082.007a22 22 0 0 1-2.008-.006l-.01.007a7.88 7.88 0 0 0 6.063 2.41c5.56 0 10.276-2.465 12.365-8c1.482.152 2.906-.226 3.553-1.49a3.5 3.5 0 0 0-3.122-.022"/><path fill="#27b9ec" d="M26.324 14.021a3.31 3.31 0 0 0-1.418-2.821a3.07 3.07 0 0 0 .289 3.821a5.28 5.28 0 0 1-3.225 1.037H6.836a5.22 5.22 0 0 0 2.106 4.686a9 9 0 0 0 2.669-.389a.193.193 0 1 1 .126.365q-.135.047-.281.088a9 9 0 0 1-1.894.314l-.019-.022c1.892.971 4.636.967 7.782-.241a21.87 21.87 0 0 0 9.1-6.889l-.1.048"/><path fill="#088cb9" d="M5.913 17.732a6.4 6.4 0 0 0 .637 2.061l.183.335a6 6 0 0 0 .379.569q.992.064 1.829.045a9 9 0 0 0 2.669-.389a.193.193 0 1 1 .126.365q-.135.047-.281.088a8.8 8.8 0 0 1-1.891.307h-.1q-.438.025-.922.026c-.351 0-.709-.007-1.1-.026a7.9 7.9 0 0 0 6.076 2.413c4.76 0 8.9-1.807 11.3-5.8Z"/><path fill="#039cc7" d="M6.98 17.732a4.83 4.83 0 0 0 1.961 3.01a9 9 0 0 0 2.669-.389a.193.193 0 1 1 .126.365q-.135.047-.281.088a9 9 0 0 1-1.9.307c1.892.971 4.628.957 7.773-.252a20.6 20.6 0 0 0 5.377-3.13Z"/><path fill="#00acd3" d="M9.889 13.671h.172v1.813h-.172zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813H9.23v-1.813Zm-.33 0h.179v1.813H8.9v-1.813Zm-.33 0h.179v1.813H8.57zm-.323 0h.172v1.813h-.17v-1.813Zm-.181-.181h2.175v2.176H8.066V13.49Zm4.335-2.329h.172v1.813H12.4zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.178v1.813h-.178zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176h-2.175z"/><path fill="#26c2ee" d="M12.4 13.671h.172v1.813H12.4zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.178v1.813h-.178zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176h-2.175z"/><path fill="#00acd3" d="M14.909 13.671h.172v1.813h-.172zm-.33 0h.179v1.813h-.178zm-.33 0h.179v1.813h-.178zm-.33 0h.181v1.813h-.179v-1.813Zm-.33 0h.179v1.813h-.179zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176h-2.174V13.49Z"/><path fill="#26c2ee" d="M14.909 11.161h.172v1.813h-.172zm-.33 0h.179v1.813h-.178zm-.33 0h.179v1.813h-.178zm-.33 0h.181v1.813h-.179v-1.813Zm-.33 0h.179v1.813h-.179zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176h-2.174v-2.177Zm4.335 2.691h.172v1.813h-.172zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813H16.1zm-.323 0h.172v1.813h-.172zm-.177-.181h2.176v2.176H15.6z"/><path fill="#00acd3" d="M17.42 11.161h.172v1.813h-.172zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813H16.1zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176H15.6v-2.177Z"/><path fill="#26c2ee" d="M17.42 8.65h.172v1.813h-.172zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813H16.1zm-.323 0h.172v1.813h-.172zm-.177-.181h2.176v2.176H15.6z"/><path fill="#00acd3" d="M19.93 13.671h.17v1.813h-.17zm-.33 0h.178v1.813H19.6zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.33 0h.179v1.813h-.179zm-.323 0h.172v1.813h-.172zm-.181-.181h2.176v2.176h-2.175z"/><path fill="#d5eef2" d="M12.616 19.193a.6.6 0 1 1-.6.6a.6.6 0 0 1 .6-.6"/><path fill="#3a4e55" d="M12.616 19.363a.4.4 0 0 1 .156.029a.175.175 0 1 0 .241.236a.43.43 0 1 1-.4-.265M2 17.949h27.92c-.608-.154-1.923-.362-1.707-1.159c-1.105 1.279-3.771.9-4.444.267c-.749 1.087-5.111.674-5.415-.173c-.939 1.1-3.85 1.1-4.789 0c-.3.847-4.666 1.26-5.415.173c-.673.631-3.338 1.012-4.444-.267c.217.8-1.1 1.005-1.707 1.159"/><path fill="#c0dbe1" d="M14.211 23.518a5.3 5.3 0 0 1-2.756-2.711a9.2 9.2 0 0 1-1.987.3q-.436.024-.917.025q-.554 0-1.168-.033a7.94 7.94 0 0 0 6.145 2.43q.344 0 .683-.013"/><path fill="#d5eef2" d="M12.007 21.773a5.2 5.2 0 0 1-.552-.966a9.2 9.2 0 0 1-1.987.3a6.3 6.3 0 0 0 2.539.664"/>'},HP={width:32,height:32,body:'<g fill-rule="evenodd"><path d="M3.167 3.167h25.667v25.667H3.167z"/><path fill="#ecd53f" fill-rule="nonzero" d="M30 2v28H2V2zM14.757 20.539H9.98v6.44h4.898v-1.085h-3.597V24.14h3.232v-1.085H11.28v-1.428h3.475v-1.09zm2.503 0h-1.264v6.44h1.207v-4.2l2.597 4.2h1.305v-6.44h-1.21v4.3zm5.97 0h-1.41l2.303 6.44h1.388l2.306-6.44h-1.38l-1.577 4.766l-1.63-4.767zM8.3 24.96H6.34v1.96H8.3z"/></g>'},VP={width:32,height:32,body:'<defs><linearGradient id="SVGSwnCKblo" x1="17.249" x2="14.973" y1="-335.597" y2="-309.994" gradientTransform="matrix(1 0 0 -1 0 -306)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff" stop-opacity="0"/><stop offset=".01" stop-color="#f7f6f8" stop-opacity=".04"/><stop offset=".09" stop-color="#aa9cb3" stop-opacity=".39"/><stop offset=".2" stop-color="#6f567e" stop-opacity=".66"/><stop offset=".32" stop-color="#452459" stop-opacity=".86"/><stop offset=".5" stop-color="#2d0843" stop-opacity=".97"/><stop offset="1" stop-color="#26003d"/></linearGradient></defs><path fill="#7c648f" d="M17.8 8.591c2.079 4.584 7.64 6.5 7.141 12.474c-.582 7.017-5.551 8.784-8.316 8.909a8.815 8.815 0 0 1-9.4-7.485C5.618 15.046 12.655 3.632 16.709 2A15.1 15.1 0 0 0 17.8 8.591m-.166 18.857a.42.42 0 0 0-.057-.327c-.593-1.1-5.81-1.645-6.907-1.752a8.3 8.3 0 0 0 1.635 1.3a7.8 7.8 0 0 0 2.814 1.041c.803.121 2.348.223 2.516-.263Z"/><path fill="#26003d" d="M18.248 10.618c4.47 4.823 6.445 4.979 6.237 10.478c-.249 6.476-4.543 8.191-7.058 8.42c-4.2.551-7.495-1.528-8.358-5.686c-1.757-6.767 3.909-17.807 7.568-19.47a15.3 15.3 0 0 0 1.621 6.24Z" opacity=".25"/><path fill="url(#SVGSwnCKblo)" d="M17.385 9.921C20.369 14 24.319 13.7 25 19.641c.094 6.923-3.6 9.283-6.237 9.948c-4.5 1.279-8.514-.645-10.094-5c-3.035-7 2.651-18.514 6.31-20.915a15.1 15.1 0 0 0 2.37 6.237Z" opacity=".75"/>'},IP={width:32,height:32,body:'<path fill="#4b32c3" d="m29.832 16.7l-6.354 10.717A1.26 1.26 0 0 1 22.36 28H9.647a1.26 1.26 0 0 1-1.118-.59l-6.356-10.7a1.26 1.26 0 0 1 0-1.272L8.527 4.676A1.34 1.34 0 0 1 9.647 4h12.709a1.34 1.34 0 0 1 1.118.678l6.354 10.786a1.2 1.2 0 0 1 0 1.238Zm-5.262 4.2v-9.614L16 6.466l-8.56 4.82V20.9L16 25.719Z"/><path fill="#8080f2" d="m21.802 19.188l-5.747 3.235l-5.742-3.235v-6.47l5.742-3.236l5.747 3.236z"/>'},UP={width:32,height:32,body:'<path fill="#cfcfcf" d="m12.677 17.781l-2.626-6.256l-2.694 6.256Zm6.723 6.511h-7.069v-1.365l.458-.023a1.85 1.85 0 0 0 .972-.2a.31.31 0 0 0 .145-.263a4.2 4.2 0 0 0-.419-1.4l-.812-1.931H7.322L6.4 21.259a3.3 3.3 0 0 0-.349 1.157c0 .036 0 .119.154.241a2.5 2.5 0 0 0 1.191.247l.448.033v1.354H2v-1.31l.4-.07a2.2 2.2 0 0 0 1-.318a6.3 6.3 0 0 0 1.18-2.066l5.575-13.036H11.2l5.512 13.174a5.3 5.3 0 0 0 1.049 1.835a1.96 1.96 0 0 0 1.19.4l.454.027Zm6.441-2.732v-3.985a23 23 0 0 0-2.226.97a3.85 3.85 0 0 0-1.29 1.05a2.03 2.03 0 0 0-.388 1.2a1.95 1.95 0 0 0 .491 1.362a1.49 1.49 0 0 0 1.13.544a4.14 4.14 0 0 0 2.283-1.141m-3.333 2.949a2.83 2.83 0 0 1-2.139-.893a3.2 3.2 0 0 1-.833-2.285a2.96 2.96 0 0 1 .415-1.577a5 5 0 0 1 1.791-1.625a24 24 0 0 1 3.617-1.588v-.074a2.9 2.9 0 0 0-.383-1.833a1.33 1.33 0 0 0-1.075-.412a1.16 1.16 0 0 0-.816.26a.69.69 0 0 0-.277.536l.023.646a1.62 1.62 0 0 1-.4 1.158a1.48 1.48 0 0 1-2.1-.019a1.63 1.63 0 0 1-.391-1.134a2.8 2.8 0 0 1 1.182-2.177a4.8 4.8 0 0 1 3.125-.932a5.4 5.4 0 0 1 2.508.524a2.63 2.63 0 0 1 1.213 1.346a6.4 6.4 0 0 1 .244 2.2v3.55a15 15 0 0 0 .051 1.749a.7.7 0 0 0 .054.2c.085-.078.284-.225.864-.806l.819-.828v1.967l-.1.128c-.958 1.283-1.883 1.907-2.83 1.907a1.6 1.6 0 0 1-1.257-.557a1.8 1.8 0 0 1-.358-.74a9.7 9.7 0 0 1-1.433.977a3.6 3.6 0 0 1-1.514.332"/>'},ZP={width:32,height:32,body:'<path fill="#dd4c35" d="M29.472 14.753L17.247 2.528a1.8 1.8 0 0 0-2.55 0l-2.539 2.539l3.22 3.22a2.141 2.141 0 0 1 2.712 2.73l3.1 3.1a2.143 2.143 0 1 1-1.285 1.21l-2.895-2.895v7.617a2.141 2.141 0 1 1-1.764-.062V12.3a2.146 2.146 0 0 1-1.165-2.814l-3.17-3.172L2.528 14.7a1.8 1.8 0 0 0 0 2.551l12.225 12.221a1.8 1.8 0 0 0 2.55 0L29.472 17.3a1.8 1.8 0 0 0 0-2.551"/><path fill="#fff" d="m12.158 5.067l3.22 3.22a2.141 2.141 0 0 1 2.712 2.73l3.1 3.1a2.143 2.143 0 1 1-1.285 1.21l-2.895-2.895v7.617a2.141 2.141 0 1 1-1.764-.062V12.3a2.146 2.146 0 0 1-1.165-2.814l-3.17-3.172"/>'},$P={width:254.5,height:225,body:'<path fill="#00acd7" d="M-46.926 89c-.621 0-.777-.311-.466-.777l3.262-4.194a2.23 2.23 0 0 1 1.708-.777h55.448c.621 0 .777.466.466.932l-2.64 4.038a2.37 2.37 0 0 1-1.553.932Zm-23.453 14.285c-.621 0-.777-.311-.466-.777l3.262-4.194a2.23 2.23 0 0 1 1.708-.777H4.95a.714.714 0 0 1 .777.932L4.484 102.2a1.36 1.36 0 0 1-1.4.932Zm37.587 14.289c-.621 0-.777-.466-.466-.932l2.174-3.883a2.06 2.06 0 0 1 1.553-.932H1.533c.621 0 .932.466.932 1.087l-.311 3.728a1.17 1.17 0 0 1-1.087 1.087ZM128.426 86.2c-9.785 2.485-16.464 4.349-26.093 6.834c-2.33.621-2.485.777-4.5-1.553c-2.33-2.64-4.038-4.349-7.3-5.9c-9.785-4.815-19.259-3.417-28.112 2.33c-10.561 6.834-16 16.929-15.842 29.51c.155 12.425 8.7 22.676 20.968 24.385c10.561 1.4 19.414-2.33 26.4-10.251c1.4-1.708 2.64-3.572 4.194-5.747H68.163c-3.262 0-4.038-2.019-2.951-4.659c2.019-4.815 5.747-12.891 7.921-16.929a4.19 4.19 0 0 1 3.883-2.485h56.535c-.311 4.194-.311 8.387-.932 12.581a66.24 66.24 0 0 1-12.736 30.442c-11.183 14.752-25.783 23.915-44.265 26.4c-15.221 2.019-29.355-.932-41.78-10.251a48.8 48.8 0 0 1-19.725-34.48c-2.019-16.929 2.951-32.15 13.2-45.508C38.342 66.475 52.942 57.312 70.8 54.05c14.6-2.64 28.578-.932 41.159 7.61a48.7 48.7 0 0 1 18.017 21.9c.935 1.398.313 2.175-1.55 2.64"/><path fill="#00acd7" d="M179.835 172.09c-14.134-.311-27.025-4.349-37.9-13.668a48.7 48.7 0 0 1-16.774-29.976c-2.8-17.551 2.019-33.082 12.581-46.905c11.338-14.91 25.006-22.676 43.488-25.938c15.842-2.8 30.753-1.243 44.265 7.921c12.27 8.387 19.88 19.725 21.9 34.635c2.64 20.968-3.417 38.052-17.861 52.652a71.17 71.17 0 0 1-37.276 19.88c-4.191.778-8.384.933-12.423 1.399m36.965-62.747a45 45 0 0 0-.466-5.125c-2.8-15.376-16.929-24.074-31.684-20.657c-14.444 3.262-23.763 12.425-27.18 27.025a25.58 25.58 0 0 0 14.289 29.355c8.542 3.728 17.085 3.262 25.317-.932c12.269-6.369 18.948-16.309 19.724-29.666"/>'},qP={width:32,height:32,body:'<path fill="#d2d2d2" d="M21.463 26.37h-1.838a.83.83 0 0 1-.823-.725a2.381 2.381 0 0 0-4.722 0a.83.83 0 0 1-.823.725H11.4a.83.83 0 0 1-.836-.705a2.377 2.377 0 0 0-4.719 0a.84.84 0 0 1-.826.725h-1.9a.83.83 0 0 1-.816-.676a14.3 14.3 0 0 1 .48-7.557A10.66 10.66 0 0 1 6.6 13.079l.389-.277A1.83 1.83 0 0 1 7.9 10.47c6.237-2.972 10.45-.826 13.516.738c2.286 1.169 3.55 1.728 4.7.575A2.048 2.048 0 0 0 23.442 8.7a.836.836 0 0 1-1.087-.075l-.542-.542a.837.837 0 0 1 .006-1.183l.013-.013A4.726 4.726 0 0 1 28.4 7a5.7 5.7 0 0 1 1.58 4.386c-.179 2.531-1.9 5.036-5.12 7.442c-.748.562-2.5 2.339-2.567 6.741a.836.836 0 0 1-.833.826Zm-1.828-.813h1.819c.026-1.6.369-5.489 2.906-7.387c2.968-2.224 4.624-4.572 4.784-6.828a4.83 4.83 0 0 0-1.339-3.733a3.883 3.883 0 0 0-5.388-.1l.526.526a2.89 2.89 0 0 1 3.765 4.365c-1.633 1.633-3.507.683-5.676-.421a18.2 18.2 0 0 0-5.313-1.986a12.35 12.35 0 0 0-7.458 1.258a.98.98 0 0 0-.471 1.3q.018.037.039.075l.066.114L9.6 15.682a.98.98 0 0 0 1.33.388h.005l.043-.023l.055-.026l.689-.385a18 18 0 0 0 2.427-1.809a.417.417 0 0 1 .59.022a.42.42 0 0 1-.042.584a18 18 0 0 1-2.548 1.9l-.787.441l-.058.026a1.836 1.836 0 0 1-2.42-.706l-1.5-2.54l-.326.219a9.8 9.8 0 0 0-3.5 4.676a13.47 13.47 0 0 0-.447 7.09h1.897a3.223 3.223 0 0 1 6.391 0h1.842a3.22 3.22 0 0 1 6.387 0Zm1.423-10.45l-1.306-.653a.826.826 0 1 1 1.306.653"/>'},QP={width:32,height:32,body:'<path fill="#e10098" d="M4.781 22.746L16.232 2.914l1.028.593L5.81 23.34z"/><path fill="#e10098" d="M4.545 21.162h22.902v1.187H4.545z"/><path fill="#e10098" d="m4.999 21.828l.593-1.028l11.455 6.614l-.594 1.028zM14.95 4.59l.594-1.027l11.455 6.614l-.594 1.028z"/><path fill="#e10098" d="M5.002 10.174L16.456 3.56l.594 1.028l-11.455 6.614z"/><path fill="#e10098" d="m14.743 3.508l1.028-.594l11.45 19.833l-1.027.593zM5.454 9.386h1.187v13.228H5.454z"/><path fill="#e10098" d="M25.36 9.386h1.187v13.228H25.36z"/><path fill="#e10098" d="m15.734 27.042l9.962-5.752l.519.898l-9.963 5.752z"/><path fill="#e10098" d="M28.12 23a2.5 2.5 0 1 1-.915-3.411A2.5 2.5 0 0 1 28.12 23M8.2 11.5a2.5 2.5 0 1 1-.915-3.411A2.5 2.5 0 0 1 8.2 11.5M3.88 23a2.5 2.5 0 1 1 3.411.915A2.5 2.5 0 0 1 3.88 23M23.8 11.5a2.5 2.5 0 1 1 3.411.915A2.5 2.5 0 0 1 23.8 11.5M16 30a2.5 2.5 0 1 1 2.5-2.5A2.493 2.493 0 0 1 16 30m0-23.009a2.5 2.5 0 1 1 2.5-2.5a2.493 2.493 0 0 1-2.5 2.5"/>'},YP={width:32,height:32,body:'<path fill="#e44f26" d="M5.902 27.201L3.655 2h24.69l-2.25 25.197L15.985 30z"/><path fill="#f1662a" d="m16 27.858l8.17-2.265l1.922-21.532H16z"/><path fill="#ebebeb" d="M16 13.407h-4.09l-.282-3.165H16V7.151H8.25l.074.83l.759 8.517H16zm0 8.027l-.014.004l-3.442-.929l-.22-2.465H9.221l.433 4.852l6.332 1.758l.014-.004z"/><path fill="#fff" d="M15.989 13.407v3.091h3.806l-.358 4.009l-3.448.93v3.216l6.337-1.757l.046-.522l.726-8.137l.076-.83zm0-6.256v3.091h7.466l.062-.694l.141-1.567l.074-.83z"/>'},KP={width:32,height:32,body:'<path fill="#2dcc9f" d="M30 5.851v20.298H2V5.851z"/><path fill="#fff" d="M24.232 8.541a2.2 2.2 0 1 0 1.127.623a2.2 2.2 0 0 0-1.127-.623M18.111 20.1q-2.724-3.788-5.45-7.575L4.579 23.766h10.9q1.316-1.832 2.634-3.663M22.057 16q-2.793 3.882-5.584 7.765h11.169Q24.851 19.882 22.057 16"/>'},XP={width:32,height:32,body:'<path fill="#5382a1" d="M12.7 23.56s-1.07.622.761.833a16 16 0 0 0 5.8-.246a10 10 0 0 0 1.539.753c-5.481 2.349-12.405-.136-8.1-1.339m-.674-3.067s-1.2.888.633 1.078a22.6 22.6 0 0 0 7.481-.359a3.3 3.3 0 0 0 1.152.7c-6.627 1.938-14.009.153-9.266-1.421"/><path fill="#e76f00" d="M17.673 15.294a2.05 2.05 0 0 1-.355 2.954s3.429-1.77 1.854-3.987c-1.471-2.067-2.6-3.095 3.508-6.636c0 0-9.586 2.394-5.007 7.669"/><path fill="#5382a1" d="M24.922 25.827s.792.652-.872 1.157c-3.164.958-13.168 1.248-15.948.038c-1-.435.874-1.038 1.464-1.164a3.8 3.8 0 0 1 .966-.108c-1.111-.783-7.181 1.537-3.083 2.2c11.176 1.812 20.372-.816 17.473-2.124m-11.711-8.508s-5.089 1.209-1.8 1.648a38 38 0 0 0 6.731-.072a53 53 0 0 0 4.221-.555a9 9 0 0 0-1.28.685c-5.17 1.358-15.153.726-12.283-.665a9.6 9.6 0 0 1 4.407-1.042m9.133 5.104c5.253-2.73 2.824-5.353 1.129-5a4 4 0 0 0-.6.161a.96.96 0 0 1 .449-.346c3.354-1.179 5.933 3.478-1.083 5.322a.5.5 0 0 0 .106-.138"/><path fill="#e76f00" d="M19.172 1.906s2.909 2.91-2.759 7.386c-4.546 3.59-1.037 5.637 0 7.975c-2.653-2.394-4.6-4.5-3.294-6.463c1.917-2.879 7.229-4.275 6.056-8.9"/><path fill="#5382a1" d="M13.727 29.818c5.042.323 12.786-.179 12.969-2.565c0 0-.353.9-4.167 1.623a41.5 41.5 0 0 1-12.76.2s.645.533 3.959.746"/>'},WP={width:32,height:32,body:'<path fill="#f5de19" d="M18.774 19.7a3.73 3.73 0 0 0 3.376 2.078c1.418 0 2.324-.709 2.324-1.688c0-1.173-.931-1.589-2.491-2.272l-.856-.367c-2.469-1.052-4.11-2.37-4.11-5.156c0-2.567 1.956-4.52 5.012-4.52A5.06 5.06 0 0 1 26.9 10.52l-2.665 1.711a2.33 2.33 0 0 0-2.2-1.467a1.49 1.49 0 0 0-1.638 1.467c0 1.027.636 1.442 2.1 2.078l.856.366c2.908 1.247 4.549 2.518 4.549 5.376c0 3.081-2.42 4.769-5.671 4.769a6.58 6.58 0 0 1-6.236-3.5ZM6.686 20c.538.954 1.027 1.76 2.2 1.76c1.124 0 1.834-.44 1.834-2.15V7.975h3.422v11.683c0 3.543-2.078 5.156-5.11 5.156A5.31 5.31 0 0 1 3.9 21.688Z"/>'},JP={width:32,height:32,body:'<path fill="#f5de19" d="M4.014 14.976a2.5 2.5 0 0 0 1.567-.518a2.38 2.38 0 0 0 .805-1.358a15.3 15.3 0 0 0 .214-2.944q.012-2.085.075-2.747a5.2 5.2 0 0 1 .418-1.686a3 3 0 0 1 .755-1.018A3.05 3.05 0 0 1 9 4.125A6.8 6.8 0 0 1 10.544 4h.7v1.96h-.387a2.34 2.34 0 0 0-1.723.468a3.4 3.4 0 0 0-.425 2.092a36 36 0 0 1-.137 4.133a4.7 4.7 0 0 1-.768 2.06A4.6 4.6 0 0 1 6.1 16a3.8 3.8 0 0 1 1.992 1.754a8.9 8.9 0 0 1 .618 3.865q0 2.435.05 2.9a1.76 1.76 0 0 0 .504 1.181a2.64 2.64 0 0 0 1.592.337h.387V28h-.7a5.7 5.7 0 0 1-1.773-.2a2.97 2.97 0 0 1-1.324-.93a3.35 3.35 0 0 1-.681-1.63a24 24 0 0 1-.165-3.234a16.5 16.5 0 0 0-.214-3.106a2.4 2.4 0 0 0-.805-1.361a2.5 2.5 0 0 0-1.567-.524Zm23.972 2.035a2.5 2.5 0 0 0-1.567.524a2.4 2.4 0 0 0-.805 1.361a16.5 16.5 0 0 0-.212 3.109a24 24 0 0 1-.169 3.234a3.35 3.35 0 0 1-.681 1.63a2.97 2.97 0 0 1-1.324.93a5.7 5.7 0 0 1-1.773.2h-.7V26.04h.387a2.64 2.64 0 0 0 1.592-.337a1.76 1.76 0 0 0 .506-1.186q.05-.462.05-2.9a8.9 8.9 0 0 1 .618-3.865A3.8 3.8 0 0 1 25.9 16a4.6 4.6 0 0 1-1.7-1.286a4.7 4.7 0 0 1-.768-2.06a36 36 0 0 1-.137-4.133a3.4 3.4 0 0 0-.425-2.092a2.34 2.34 0 0 0-1.723-.468h-.387V4h.7a6.8 6.8 0 0 1 1.54.125a3.05 3.05 0 0 1 1.149.581a3 3 0 0 1 .755 1.018a5.2 5.2 0 0 1 .418 1.686q.062.662.075 2.747a15.3 15.3 0 0 0 .212 2.947a2.38 2.38 0 0 0 .805 1.355a2.5 2.5 0 0 0 1.567.518Z"/>'},eG={width:32,height:32,body:'<path fill="#767677" d="M26.233 3.588A1.69 1.69 0 1 1 24.473 2a1.67 1.67 0 0 1 1.76 1.585Z"/><path fill="#f37726" d="M16.375 23.111c-4.487 0-8.43-1.61-10.469-3.988a11.162 11.162 0 0 0 20.938 0c-2.034 2.377-5.962 3.988-10.469 3.988m0-15.463c4.487 0 8.43 1.61 10.469 3.988a11.162 11.162 0 0 0-20.938 0c2.039-2.383 5.963-3.988 10.469-3.988"/><path fill="#9e9e9e" d="M10.2 27.739a2.109 2.109 0 1 1-.2-.8a2.1 2.1 0 0 1 .2.8"/><path fill="#616262" d="M6.416 7.106A1.226 1.226 0 1 1 7.608 5.83a1.24 1.24 0 0 1-1.192 1.276"/>'},tG={width:32,height:32,body:'<g fill="none"><path fill="url(#SVG5NiZhbGj)" d="M30 30H2V2h28L15.711 15.794z"/><defs><radialGradient id="SVG5NiZhbGj" cx="0" cy="0" r="1" gradientTransform="matrix(-28 0 0 -28 30 2)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e44857"/><stop offset=".504" stop-color="#c711e1"/><stop offset="1" stop-color="#7f52ff"/></radialGradient></defs></g>'},nG={width:32,height:32,body:'<defs><linearGradient id="SVGmofYFcWG" x1="-264.845" x2="-255.586" y1="181.772" y2="182.061" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#bd6316"/><stop offset="1" stop-color="#4e1500"/></linearGradient><linearGradient id="SVGnJ3pCbpX" x1="-263.276" x2="-256.603" y1="170.205" y2="171.772" href="#SVGmofYFcWG"/><linearGradient id="SVGMrBZzbeY" x1="-265.068" x2="-256.777" y1="175.732" y2="178.801" href="#SVGmofYFcWG"/><linearGradient id="SVGfIPENsHv" x1="-655.014" x2="-655.555" y1="147.549" y2="146.948" gradientTransform="rotate(18.83 723.694 -1849.006)scale(-1 1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffd436"/><stop offset="1" stop-color="#8b3f02"/></linearGradient><linearGradient id="SVGwiYLJd3C" x1="-258.899" x2="-253.843" y1="170.981" y2="171.325" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff8b7"/><stop offset="1" stop-color="#fcbf0e"/></linearGradient><linearGradient id="SVGESyEmRVH" x1="-258.884" x2="-253.896" y1="170.975" y2="171.314" href="#SVGmofYFcWG"/><linearGradient id="SVGREjbOeQM" x1="-257.805" x2="-257.726" y1="172.266" y2="168.648" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGfIPENsHv"/><linearGradient id="SVG027WPcDj" x1="-258.935" x2="-256.173" y1="181.92" y2="182.108" href="#SVGwiYLJd3C"/><linearGradient id="SVGyornQdTp" x1="-274.156" x2="-274.512" y1="170.544" y2="173.778" gradientTransform="matrix(-1 0 0 1 -257.657 -155.509)" href="#SVGfIPENsHv"/><linearGradient id="SVGkN47ldnx" x1="-645.79" x2="-645.121" y1="-337.938" y2="-334.17" gradientTransform="rotate(-127.94 -392.31 14.206)scale(1 -1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffef94"/><stop offset="1" stop-color="#ffd200"/></linearGradient><linearGradient id="SVGXZn9ocJO" x1="-276.128" x2="-274.754" y1="178.682" y2="178.682" gradientTransform="rotate(-26.18 -189.074 647.88)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVG2gxeCd7k" x1="-274.314" x2="-271.841" y1="178.887" y2="178.987" gradientTransform="rotate(-26.18 -189.074 647.88)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVGeRxH6LPb" x1="-273.817" x2="-274.213" y1="189.281" y2="174.569" gradientTransform="rotate(-26.18 -189.074 647.88)scale(-1 1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#d89530"/><stop offset="1" stop-color="#772d00"/></linearGradient><linearGradient id="SVG73jqed6L" x1="-274.075" x2="-273.917" y1="174.09" y2="181.459" gradientTransform="rotate(-26.18 -189.074 647.88)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVG4QBNucLe" x1="-272.919" x2="-273.315" y1="189.281" y2="174.57" href="#SVGeRxH6LPb"/><linearGradient id="SVGXv14weIK" x1="-273.177" x2="-273.019" y1="174.071" y2="181.44" gradientTransform="rotate(-26.18 -189.074 647.88)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVGz1cqjdyv" x1="-652.29" x2="-651.867" y1="-335.227" y2="-332.867" gradientTransform="rotate(-127.94 -392.31 14.206)scale(1 -1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffdb57"/><stop offset="1" stop-color="#b55c13"/></linearGradient><linearGradient id="SVGjFrLsb5T" x1="-665.076" x2="-659.751" y1="157.413" y2="150.922" gradientTransform="rotate(18.83 723.694 -1849.006)scale(-1 1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGqtklOeYo" x1="-665.161" x2="-664.822" y1="156.114" y2="155.701" gradientTransform="rotate(18.83 723.694 -1849.006)scale(-1 1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGjZuHwbNh" x1="-665.308" x2="-665.836" y1="156.436" y2="155.32" gradientTransform="rotate(18.83 723.694 -1849.006)scale(-1 1)" href="#SVGeRxH6LPb"/><linearGradient id="SVG8hPAsSTj" x1="-655.442" x2="-654.817" y1="147.568" y2="146.776" href="#SVGfIPENsHv"/><linearGradient id="SVGqd0dIejc" x1="-253.999" x2="-254.134" y1="175.1" y2="173.736" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGbRTRziON" x1="-252.571" x2="-252.785" y1="173.138" y2="170.963" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGXpeWx1aE" x1="-257.206" x2="-259.174" y1="169.107" y2="169.787" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGIUwBJc5A" x1="-260.717" x2="-260.77" y1="170.284" y2="171.228" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGeRxH6LPb"/><linearGradient id="SVGGQnUfdbd" x1="-257.835" x2="-257.782" y1="174.993" y2="171.93" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGfIPENsHv"/><linearGradient id="SVGkqE4j96Z" x1="-263.928" x2="-255.721" y1="171.018" y2="171.018" gradientTransform="rotate(153.82 -142.976 -47.771)scale(1 -1)" href="#SVGfIPENsHv"/><linearGradient id="SVGa3T2CVnB" x1="-514.299" x2="-505.041" y1="-57.926" y2="-57.638" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGmofYFcWG"/><linearGradient id="SVGZeemGbVQ" x1="-512.744" x2="-505.964" y1="-69.496" y2="-67.904" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGmofYFcWG"/><linearGradient id="SVG4pXW7cns" x1="-514.521" x2="-506.23" y1="-63.966" y2="-60.897" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGmofYFcWG"/><linearGradient id="SVGz1lPTckx" x1="-662.221" x2="-662.762" y1="-197.167" y2="-197.768" gradientTransform="matrix(-.564 -.911 -.774 .455 -516.113 -497.612)" href="#SVGfIPENsHv"/><linearGradient id="SVGcBFu1dvT" x1="-508.354" x2="-503.297" y1="-68.717" y2="-68.373" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGwiYLJd3C"/><linearGradient id="SVGQvjQIZiB" x1="-508.338" x2="-503.351" y1="-68.723" y2="-68.384" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGmofYFcWG"/><linearGradient id="SVGeHD5sRoS" x1="-507.26" x2="-507.18" y1="-67.432" y2="-71.05" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGfIPENsHv"/><linearGradient id="SVG19IpQcjs" x1="-508.389" x2="-505.627" y1="-57.779" y2="-57.591" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGwiYLJd3C"/><linearGradient id="SVG85efRhKR" x1="-523.609" x2="-523.966" y1="-69.153" y2="-65.918" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGfIPENsHv"/><linearGradient id="SVGGdFalbTB" x1="-645.333" x2="-642.973" y1="-334.169" y2="-332.091" href="#SVGkN47ldnx"/><linearGradient id="SVGOjVzRbET" x1="-525.581" x2="-524.207" y1="-61.015" y2="-61.015" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGfIPENsHv"/><linearGradient id="SVGscgdGcRs" x1="-523.768" x2="-521.294" y1="-60.81" y2="-60.71" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGfIPENsHv"/><linearGradient id="SVGakdwydkv" x1="-523.27" x2="-523.666" y1="-50.416" y2="-65.127" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGeRxH6LPb"/><linearGradient id="SVGG6MQr2cb" x1="-523.528" x2="-523.37" y1="-65.606" y2="-58.238" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGfIPENsHv"/><linearGradient id="SVGXRrEmcZQ" x1="-522.372" x2="-522.768" y1="-50.416" y2="-65.127" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGeRxH6LPb"/><linearGradient id="SVGi2WMHbKh" x1="-522.631" x2="-522.472" y1="-65.626" y2="-58.257" gradientTransform="matrix(-.947 -.323 -.148 .966 -492.49 -86.99)" href="#SVGfIPENsHv"/><linearGradient id="SVGLeACibTa" x1="-649.116" x2="-646.827" y1="-328.591" y2="-326.795" href="#SVGkN47ldnx"/><linearGradient id="SVG9uUmsbXE" x1="-672.284" x2="-666.958" y1="-187.303" y2="-193.795" gradientTransform="matrix(-.564 -.911 -.774 .455 -516.113 -497.612)" href="#SVGeRxH6LPb"/><linearGradient id="SVGl9apRboF" x1="-672.369" x2="-672.03" y1="-188.603" y2="-189.016" gradientTransform="matrix(-.564 -.911 -.774 .455 -516.113 -497.612)" href="#SVGeRxH6LPb"/><linearGradient id="SVGxfFH5fOf" x1="-672.516" x2="-673.044" y1="-188.281" y2="-189.397" gradientTransform="matrix(-.564 -.911 -.774 .455 -516.113 -497.612)" href="#SVGeRxH6LPb"/><linearGradient id="SVGyqk9tdzU" x1="-662.648" x2="-662.023" y1="-197.148" y2="-197.94" gradientTransform="matrix(-.564 -.911 -.774 .455 -516.113 -497.612)" href="#SVGfIPENsHv"/><linearGradient id="SVGRTHl6clb" x1="-503.367" x2="-503.501" y1="-64.607" y2="-65.971" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGeRxH6LPb"/><linearGradient id="SVGlrssAbqp" x1="-502.006" x2="-502.232" y1="-66.361" y2="-68.654" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGeRxH6LPb"/><linearGradient id="SVGyVezad9t" x1="-506.661" x2="-508.629" y1="-70.591" y2="-69.911" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGeRxH6LPb"/><linearGradient id="SVGiefcvdhi" x1="-510.172" x2="-510.224" y1="-69.414" y2="-68.47" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGeRxH6LPb"/><linearGradient id="SVGfRyLFcLo" x1="-507.289" x2="-507.236" y1="-64.705" y2="-67.768" gradientTransform="matrix(-.947 -.323 -.148 .966 -476.554 -85.464)" href="#SVGfIPENsHv"/><linearGradient id="SVGRHRPsqnF" x1="-642.337" x2="-640.048" y1="-337.231" y2="-335.435" gradientTransform="rotate(-127.94 -392.31 14.206)scale(1 -1)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffdb57"/><stop offset="1" stop-color="#b66512"/></linearGradient><linearGradient id="SVGBtcXhdWx" x1="-628.479" x2="-627.663" y1="-215.005" y2="-209.203" gradientTransform="rotate(37.85 2.12 -998.377)scale(-1 1)" href="#SVGmofYFcWG"/><linearGradient id="SVGarE9ubhv" x1="-633.006" x2="-622.552" y1="-211.18" y2="-211.18" gradientTransform="rotate(37.85 2.12 -998.377)scale(-1 1)" href="#SVGwiYLJd3C"/><linearGradient id="SVGyIQIicum" x1="-627.491" x2="-627.755" y1="-215.556" y2="-211.648" gradientTransform="rotate(37.85 2.12 -998.377)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVGKb76ycsW" x1="-627.796" x2="-627.057" y1="-210.705" y2="-205.186" gradientTransform="rotate(37.85 2.12 -998.377)scale(-1 1)" href="#SVGfIPENsHv"/><linearGradient id="SVG8hmImb4h" x1="245.815" x2="245.923" y1="139.434" y2="136.367" gradientTransform="rotate(7.312 1187.515 -1764.249)" href="#SVGwiYLJd3C"/><linearGradient id="SVGCEzC1cyq" x1="-626.269" x2="-627.643" y1="-215.112" y2="-213.078" gradientTransform="rotate(37.85 2.12 -998.377)scale(-1 1)" href="#SVGfIPENsHv"/></defs><path fill="url(#SVGmofYFcWG)" d="m13.372 16.416l5.013-2.464l.93 1.893l-.054.238l-2.048 1.007l5.706 11.611l-.221.359l-1.543.758l-.82-.45l-5.459-11.109l-.482.237z"/><path fill="url(#SVGnJ3pCbpX)" d="m9.24 13.619l1.2 2.44c.072.146.416.252.617.292l2.634.683l4.609-2.268l.867-2.342a.68.68 0 0 0 .036-.674l-1.2-2.44a.55.55 0 0 0-.452-.3l-4.44.136a1.28 1.28 0 0 0-1.018.541l-2.72 3.162a.92.92 0 0 0-.133.77m1.932.033a.36.36 0 0 1 .011-.334l1.84-2.215a.83.83 0 0 1 .66-.351l2.877-.088a.36.36 0 0 1 .293.2l.356.725a.242.242 0 0 1-.139.339L11.833 14.5a.224.224 0 0 1-.3-.121Z"/><path fill="url(#SVGMrBZzbeY)" d="m9.426 13.209l1.2 2.44c.072.146.416.252.617.292l2.7.547l.782 1.591l.375-.179l5.459 11.109l.82.451l1.541-.76l-.017-.683l.868-1.458l-.241-.49l-.54.1l-.31-.63l.41-.366l-.59-1.199l-.593-.006l-.277-.564l.357-.473l-.3-.607l-.568.043l-.432-.879l.382-.423l-.161-.327a.87.87 0 0 1-.659-1.342l-.345-.7a1.347 1.347 0 0 1-.962-1.956l-.29-.591l.631-.31l-.773-1.546l.843-2.277a.68.68 0 0 0 .035-.674l-1.2-2.44a.55.55 0 0 0-.453-.3l-4.435.131a1.28 1.28 0 0 0-1.018.541l-2.84 3.419a.55.55 0 0 0-.016.516m1.932.033a.36.36 0 0 1 .011-.334l1.84-2.215a.83.83 0 0 1 .66-.351l2.877-.088a.35.35 0 0 1 .293.2l.356.725a.242.242 0 0 1-.139.339l-5.238 2.574a.224.224 0 0 1-.3-.121Z"/><path fill="url(#SVGfIPENsHv)" d="m14.47 18.381l.276-.318l.335-.164l-.139.245z"/><path fill="url(#SVGwiYLJd3C)" d="m11.259 15.828l2.776.6l4.38-2.152l.865-2.339a.58.58 0 0 0 .024-.567L18.1 8.917a.44.44 0 0 0-.367-.246l-4.438.13a1.17 1.17 0 0 0-.938.5L9.52 12.725a.45.45 0 0 0-.011.414l1.206 2.453a1 1 0 0 0 .544.236m.354-1.836l-.358-.729a.46.46 0 0 1 .013-.434v-.008l1.853-2.221a.92.92 0 0 1 .739-.389l2.881-.084a.47.47 0 0 1 .392.257l.358.729c.005.009.19.3-.187.481l-5.244 2.577c-.272.129-.44-.164-.447-.179"/><path fill="url(#SVGESyEmRVH)" d="M11.246 15.738c.006 0 2.438.51 2.751.591l4.354-2.139l.878-2.336a.47.47 0 0 0 .015-.458l-1.208-2.458a.34.34 0 0 0-.282-.187l-4.454.141a1.08 1.08 0 0 0-.864.46l-2.863 3.436a.34.34 0 0 0-.008.313l1.206 2.454a1.1 1.1 0 0 0 .475.183m.245-1.7l-.355-.723a.57.57 0 0 1 .018-.535v-.008l.01-.015l1.865-2.241a1.03 1.03 0 0 1 .824-.43l2.9-.091a.57.57 0 0 1 .492.316l.359.73a.46.46 0 0 1 .027.338a.48.48 0 0 1-.265.286l-5.287 2.6a.42.42 0 0 1-.331.025a.5.5 0 0 1-.258-.248Z"/><path fill="url(#SVGREjbOeQM)" d="M11.268 15.663c.009 0 2.53.528 2.722.577l4.3-2.113l.878-2.314a.42.42 0 0 0 .01-.4l-1.2-2.436a.28.28 0 0 0-.237-.156l-4.433.149a1.03 1.03 0 0 0-.82.437l-2.353 2.823l-.5.595a.28.28 0 0 0 0 .254l1.193 2.421a1.2 1.2 0 0 0 .44.163m.14-1.529l-.351-.715a.57.57 0 0 1-.011-.56l1.959-2.36a1.08 1.08 0 0 1 .86-.447l2.887-.1a.63.63 0 0 1 .538.341l.356.724a.54.54 0 0 1-.309.773l-5.267 2.588a.48.48 0 0 1-.662-.243Z"/><path fill="url(#SVG027WPcDj)" d="m18.463 14.345l.7 1.433l-.653.321l.319.649a1.428 1.428 0 0 0 1 2.043l.3.619a.958.958 0 0 0 .706 1.436l.107.218l-.39.428l.5 1.011l.577-.047l.239.485l-.366.478l.336.683h.6l.523 1.065l-.419.371l.382.777l.549-.1l.181.368A96 96 0 0 1 22.8 28v.638l-1.342.659l-.729-.414l-5.488-11.176l-.467.23l-.7-1.433Z"/><path fill="url(#SVGyornQdTp)" d="M14.289 15.413h4.622v1.4h-4.622z" transform="rotate(-26.171 16.6 16.113)"/><path fill="url(#SVGkN47ldnx)" d="m18.128 14.582l-.8.392l.617 1.256l.8-.392Zm-1.319.648l.617 1.256l.308-.152l-.617-1.256Z"/><path fill="url(#SVGXZn9ocJO)" d="m18.4 16.123l.308.628a1.523 1.523 0 0 0 1.037 2.11l.263.535a1.052 1.052 0 0 0 .744 1.513l.054.111l-.381.423l.557 1.134l.567-.043l.177.36l-.357.472l.392.8l.591.006l.456.929l-.409.366l.45.917l.539-.1l.12.243L22.634 28l-1.027.5l-5.525-11.235Z"/><path fill="url(#SVG2gxeCd7k)" d="m17.141 16.745l5.528 11.248l.046.511l-1.247.613l-.613-.349l-5.483-11.154Z"/><path fill="url(#SVGeRxH6LPb)" d="m22.287 28.694l.427-.21l-4.794-9.754l-1.028-1.554l.602 1.764z"/><path fill="url(#SVG73jqed6L)" d="M16.892 17.176L22.5 28.589l-.213.105l-4.793-9.754z"/><path fill="url(#SVG4QBNucLe)" d="m21.481 29.09l.427-.209l-4.794-9.755l-1.028-1.554l.602 1.764z"/><path fill="url(#SVGXv14weIK)" d="m16.086 17.572l5.608 11.413l-.213.105l-4.793-9.754z"/><path fill="url(#SVGz1cqjdyv)" d="m18.27 16.189l-.411.2l5.285 10.755l.279-.47l-.181-.369l-.386.072l-.45-.917l.294-.26l-.508-1.034h-.424l-.392-.8l.256-.338l-.237-.482l-.407.031l-.557-1.134l.273-.3l-.143-.291a1.04 1.04 0 0 1-.619-1.259l-.391-.8a1.505 1.505 0 0 1-.906-1.844Zm-.68.334l5.371 10.929l.108-.182l-5.319-10.825Z"/><path fill="url(#SVGjFrLsb5T)" d="m15.018 18.247l5.356 10.997l.196-.273l-5.391-11.032z"/><path fill="url(#SVGqtklOeYo)" d="m20.436 29.315l.211-.291l.705.361l-.203.294z"/><path fill="url(#SVGjZuHwbNh)" d="m21.446 29.41l-.179.26l1.382-.659l.131-.241z"/><path fill="url(#SVG8hPAsSTj)" d="m14.029 16.673l-.225.388l.601 1.293l.297-.354z"/><path fill="url(#SVGqd0dIejc)" d="m13.946 16.506l-.239.432l-2.944-.761l.124-.345z"/><path fill="url(#SVGbRTRziON)" d="M9.359 13s-.145.444-.087.563l1.212 2.465l.2-.384Z"/><path fill="url(#SVGXpeWx1aE)" d="m16.683 10.624l.1-.327l-2.963.095a.9.9 0 0 0-.51.251l-.007.165a2 2 0 0 1 .394-.1Z"/><path fill="url(#SVGIUwBJc5A)" d="M16.83 10.309a.33.33 0 0 1 .17.137l.382.762l-.164.279l-.341-.693c-.023-.047-.108-.145-.147-.149Z"/><path fill="url(#SVGGQnUfdbd)" d="m11.237 13.786l.171.348a.48.48 0 0 0 .661.248l5.267-2.588a.54.54 0 0 0 .309-.773l-.153-.31l1.08-.531l.606 1.232a.42.42 0 0 1-.01.4l-.878 2.314l-4.3 2.113c-.191-.049-2.713-.575-2.722-.577a1.2 1.2 0 0 1-.439-.16l-.6-1.222Z"/><path fill="url(#SVGkqE4j96Z)" d="m13.377 8.968l.532 1.084l.539-.018l-.532-1.084Zm2.306-.077l-1.395.047l.533 1.084l1.4-.046Zm1.471 2.994l-1.142.561l1.106 2.25l1.142-.561Zm-1.447.711l-.441.217l1.106 2.251l.441-.217Z"/><path fill="url(#SVGa3T2CVnB)" d="m10.65 14.159l5.287 1.803L15.623 18l-.173.134l-2.16-.737l-1.921 12.501l-.371.102l-1.627-.555l-.395-.913l1.838-11.961l-.508-.173z"/><path fill="url(#SVGZeemGbVQ)" d="m8.951 9.175l-.542 2.747a.57.57 0 0 0 .175.452l1.976 2.461l4.866 1.659l1.969-1.077a.535.535 0 0 0 .4-.463l.4-2.627a.66.66 0 0 0-.188-.544L14.453 8.7a1.31 1.31 0 0 0-1.1-.337l-3.874.345a.71.71 0 0 0-.528.467m1.5 1.407a.28.28 0 0 1 .192-.234l2.633-.256a.93.93 0 0 1 .724.315l2.3 2a.43.43 0 0 1 .121.352l-.1.651s-.027.237-.3.146L10.5 11.667a.27.27 0 0 1-.172-.305Z"/><path fill="url(#SVG4pXW7cns)" d="m9.322 9.01l-.4 2.627c-.024.157.188.481.324.653l1.817 2.33l-.263 1.714l.392.134l-1.843 11.959l.395.914l1.627.555l.363-.507l1.483-.436l.081-.528l-.479-.314l.1-.678l.523.028l.2-1.283l-.461-.428l.093-.608l.54-.087l.1-.653l-.469-.375l.145-.946l.532-.034l.054-.352a1.05 1.05 0 0 1-.29-.859a.69.69 0 0 1 .512-.585l.116-.756a1.6 1.6 0 0 1-.364-1.232a1.07 1.07 0 0 1 .688-.874l.1-.636l.666.227l.246-1.674l1.915-1.047a.535.535 0 0 0 .4-.463l.4-2.627a.66.66 0 0 0-.188-.544l-3.556-3.08a1.31 1.31 0 0 0-1.1-.336l-4.109.445a.43.43 0 0 0-.29.356m1.5 1.407a.28.28 0 0 1 .192-.234l2.663-.289a.85.85 0 0 1 .711.218l2.3 2a.43.43 0 0 1 .122.352l-.12.781s-.027.237-.3.146L10.871 11.5a.27.27 0 0 1-.171-.3Z"/><path fill="url(#SVGz1lPTckx)" d="m10.428 16.37l.392-.033l.353.12l-.244.078z"/><path fill="url(#SVGcBFu1dvT)" d="m9.317 12.221l1.846 2.421l4.619 1.575l1.967-1.076a.45.45 0 0 0 .331-.393l.406-2.641a.53.53 0 0 0-.152-.441l-3.552-3.083a1.2 1.2 0 0 0-1.011-.31l-4.109.453a.35.35 0 0 0-.237.292l-.405 2.641a1.26 1.26 0 0 0 .297.562m1.289-1.077l.121-.785a.37.37 0 0 1 .25-.305h.008l2.675-.295a.95.95 0 0 1 .794.247l2.3 2a.56.56 0 0 1 .166.467l-.121.785c0 .01-.014.35-.411.215l-5.53-1.886a.42.42 0 0 1-.252-.443"/><path fill="url(#SVGQvjQIZiB)" d="M9.356 12.146c0 .005 1.63 2.115 1.831 2.4l4.591 1.566l1.974-1.065a.37.37 0 0 0 .264-.321l.406-2.646a.4.4 0 0 0-.118-.338l-3.571-3.091a1.12 1.12 0 0 0-.931-.285l-4.133.444a.27.27 0 0 0-.179.221l-.406 2.642a1.4 1.4 0 0 0 .272.473m1.126-1.054l.12-.778a.45.45 0 0 1 .309-.375h.024l2.7-.29a1.07 1.07 0 0 1 .883.278l2.324 2.01a.7.7 0 0 1 .212.581l-.121.786a.38.38 0 0 1-.165.265a.42.42 0 0 1-.365.018l-5.576-1.9a.5.5 0 0 1-.273-.219a.55.55 0 0 1-.072-.377Z"/><path fill="url(#SVGeHD5sRoS)" d="M9.415 12.108c.006.008 1.693 2.194 1.816 2.366l4.535 1.546l1.963-1.048a.33.33 0 0 0 .228-.282l.4-2.623a.34.34 0 0 0-.1-.283L14.7 8.719a1.07 1.07 0 0 0-.884-.271l-3.4.359l-.716.076a.23.23 0 0 0-.142.183s-.4 2.594-.4 2.611a1.5 1.5 0 0 0 .257.431m.952-1.007l.118-.77a.46.46 0 0 1 .3-.414l2.836-.308a1.12 1.12 0 0 1 .921.292l2.316 2a.76.76 0 0 1 .234.632s-.1.633-.12.779c-.034.219-.191.5-.668.339l-5.555-1.894a.584.584 0 0 1-.383-.657Z"/><path fill="url(#SVG19IpQcjs)" d="m15.781 16.3l-.237 1.543l-.689-.235l-.107.7a1.16 1.16 0 0 0-.7.917a1.72 1.72 0 0 0 .367 1.283l-.1.666a.77.77 0 0 0-.527.634a1.15 1.15 0 0 0 .29.912l-.036.235l-.542.031l-.167 1.088l.479.379l-.08.522l-.55.084l-.113.736l.471.432l-.176 1.146l-.532-.031l-.128.837l.488.317l-.061.4c-.09.027-1.455.411-1.455.411l-.352.462l-1.424-.483l-.343-.822l1.843-12.03l-.493-.168l.237-1.543Z"/><path fill="url(#SVG85efRhKR)" d="m11.056 16.181l4.374 1.491l.208-1.352l-4.374-1.492z"/><path fill="url(#SVGGdFalbTB)" d="m15.388 16.234l-.842-.287l-.207 1.353l.841.287ZM14 15.76l-.208 1.353l.325.111l.208-1.353Z"/><path fill="url(#SVGOjVzRbET)" d="m14.756 17.55l-.1.676a1.25 1.25 0 0 0-.7.957A1.85 1.85 0 0 0 14.3 20.5l-.089.576a.84.84 0 0 0-.525.678a1.26 1.26 0 0 0 .275.95l-.018.119l-.531.034l-.188 1.221l.469.375l-.06.388l-.539.087l-.132.858l.46.427l-.154 1l-.522-.028l-.152.987l.478.314l-.04.262l-1.506.443l-1.083-.369l1.86-12.1Z"/><path fill="url(#SVGscgdGcRs)" d="m13.423 17.1l-1.86 12.1l-.246.4L10 29.16l-.289-.692l1.845-12.009Z"/><path fill="url(#SVGakdwydkv)" d="m10.877 29.44l.45.154l1.614-10.501l.049-1.863l-.499 1.709z"/><path fill="url(#SVGG6MQr2cb)" d="m12.99 17.23l-1.888 12.287l-.225-.077l1.614-10.501z"/><path fill="url(#SVGXRrEmcZQ)" d="m10.028 29.151l.449.153l1.614-10.501l.049-1.863l-.499 1.71z"/><path fill="url(#SVGi2WMHbKh)" d="m12.14 16.94l-1.887 12.287l-.225-.076l1.613-10.501z"/><path fill="url(#SVGLeACibTa)" d="m14.615 17.5l-.433-.148l-1.782 11.58l.478-.14l.061-.4l-.339-.222l.152-.987l.374.02l.171-1.113l-.33-.306l.132-.858l.387-.062l.08-.519l-.336-.268l.188-1.221l.381-.024l.048-.314a1.2 1.2 0 0 1-.154-.766a.85.85 0 0 1 .363-.59l.132-.856a1.8 1.8 0 0 1-.231-1.123a1.26 1.26 0 0 1 .536-.861Zm-.717-.244L12.09 29.024l.185-.054l1.791-11.655Z"/><path fill="url(#SVG9uUmsbXE)" d="M10.932 16.665L9.075 28.47l.303-.058l1.85-11.855z"/><path fill="url(#SVGl9apRboF)" d="m9.085 28.566l.325-.06l.354.766l-.321.068z"/><path fill="url(#SVGxfFH5fOf)" d="m9.823 29.357l-.283.06l1.447.513l.235-.081z"/><path fill="url(#SVGyqk9tdzU)" d="m11.024 14.816l-.391.12l-.241 1.367l.429-.043z"/><path fill="url(#SVGRTHl6clb)" d="m11.05 14.636l-.425.141l-2.084-2.606l.483-.214z"/><path fill="url(#SVGlrssAbqp)" d="M9.384 8.813s-.358.218-.378.346l-.546 2.773l.51-.253Z"/><path fill="url(#SVGyVezad9t)" d="m16.435 12.332l.256-.168l-2.375-2.052a.96.96 0 0 0-.538-.183l-.1.115a2 2 0 0 1 .362.211Z"/><path fill="url(#SVGiefcvdhi)" d="M16.724 12.208a.4.4 0 0 1 .058.221c-.016.1-.112.774-.12.825l-.283.085l.115-.747a.4.4 0 0 0-.033-.213Z"/><path fill="url(#SVGfRyLFcLo)" d="m10.424 10.725l-.058.375a.584.584 0 0 0 .381.653l5.553 1.894c.478.163.634-.12.668-.339l.051-.334l1.139.388l-.2 1.327a.33.33 0 0 1-.228.282l-1.963 1.048l-4.535-1.546a358 358 0 0 0-1.816-2.366a1.5 1.5 0 0 1-.257-.43l.2-1.315Z"/><path fill="url(#SVGRHRPsqnF)" d="m14.756 8.764l-.179 1.166l.432.373l.179-1.167Zm1.851 1.595l-1.119-.965l-.179 1.167l1.119.965Zm-.5 3.223l-1.2-.411l-.372 2.423l1.2.411Zm-1.526-.52l-.461-.162l-.372 2.423l.465.159Z"/><path fill="url(#SVGBtcXhdWx)" d="M9.936 2.733c2.042-1.441 5.206-.715 7.065 1.8A6.17 6.17 0 0 1 18.27 9.1c-.219-.73-1.023-.427-1.664-.441a4.1 4.1 0 0 0-.763-3.207C14.6 3.778 12.41 3.1 11.07 4.094s-1.382 3.253-.143 4.929a3.68 3.68 0 0 0 3.69 1.742c.521.444 1 .871 1.507 1.329c-1.84 1.134-4.8.334-6.51-1.982c-1.86-2.512-1.93-5.789.322-7.379"/><path fill="url(#SVGarE9ubhv)" d="M9.956 2.841c1.939-1.405 5.111-.606 6.892 1.8a6.6 6.6 0 0 1 1.38 4.159c-.293-.387-1.035-.264-1.466-.211a4.6 4.6 0 0 0-.823-3.272c-1.317-1.78-3.546-2.373-4.97-1.32s-1.442 3.27-.125 5.051a4.03 4.03 0 0 0 3.842 1.905c.4.35.79.715 1.185 1.073c-1.982 1.012-4.528.084-6.123-2.073c-1.782-2.408-1.897-5.587.208-7.112"/><path fill="url(#SVGyIQIicum)" d="M10.1 2.918c1.855-1.345 4.971-.5 6.675 1.8a6.64 6.64 0 0 1 1.361 3.89a1.87 1.87 0 0 0-1.148-.126a4.56 4.56 0 0 0-.946-3.23c-1.394-1.885-3.6-2.472-5.1-1.357s-1.511 3.279-.171 5.2a4.08 4.08 0 0 0 3.976 1.973c.323.285.639.58.957.871c-1.939.959-4.394-.1-5.893-2.131C8.1 7.511 8.1 4.363 10.1 2.918"/><path fill="url(#SVGKb76ycsW)" d="M9.684 3.412C8.6 4.969 8.825 7.5 10.3 9.494c1.413 1.911 3.466 2.885 5.249 2.443c-1.694.674-4.074-.233-5.554-2.235c-1.54-2.081-1.66-4.783-.311-6.29"/><path fill="url(#SVG8hmImb4h)" d="M9.9 3.511c-.171.291.366.627.547.144a4.3 4.3 0 0 1 2.442-1.222A3.56 3.56 0 0 0 9.9 3.511m.077.506a.244.244 0 1 0 .211.273a.243.243 0 0 0-.213-.273Z"/><path fill="url(#SVGCEzC1cyq)" d="M11.035 3.763c1.4-1.181 3.664-.647 5.163 1.132a4.72 4.72 0 0 1 1.2 3.542q-.204.021-.411.048a4.56 4.56 0 0 0-.946-3.23c-1.394-1.885-3.6-2.472-5.1-1.357q-.105.08-.2.167a3 3 0 0 1 .294-.302"/>'},aG={width:32,height:32,body:'<path fill="gray" d="m16.5 30l-.011-.321c.4-.014.8-.045 1.19-.094l.039.319c-.406.048-.818.08-1.218.096m-1.222-.011c-.4-.021-.814-.061-1.216-.118l.045-.318c.393.055.793.094 1.188.115Zm3.642-.289l-.067-.314c.387-.083.776-.184 1.155-.3l.094.307c-.388.118-.786.222-1.182.307m-6.063-.053q-.599-.137-1.177-.326l.1-.306c.377.122.764.23 1.15.319Zm8.4-.665l-.121-.3c.364-.148.728-.314 1.08-.493h.006l.145.286q-.553.28-1.114.507Zm-10.718-.088a14 14 0 0 1-1.1-.524l.15-.284c.35.186.713.358 1.078.512Zm12.893-1.021l-.17-.273c.337-.21.668-.437.984-.675l.193.257q-.494.367-1.011.691Zm-15.053-.122c-.341-.22-.676-.459-1-.708l.2-.253c.312.243.64.476.972.691Zm17-1.346l-.215-.239q.443-.4.851-.836l.235.219c-.278.297-.571.585-.872.851Zm-18.925-.153c-.3-.276-.585-.569-.856-.87l.239-.215c.265.294.547.58.836.85Zm20.587-1.632l-.253-.2c.244-.312.476-.639.692-.972l.27.175q-.333.516-.709.997M4.82 24.439a14 14 0 0 1-.692-1.007l.272-.17c.21.337.438.668.676.984Zm23.547-1.867l-.284-.151c.186-.35.358-.713.513-1.078l.3.125a15 15 0 0 1-.528 1.104Zm-24.841-.2l-.006-.012a13 13 0 0 1-.5-1.1l.3-.121c.147.362.312.724.491 1.074l.006.012Zm25.794-2.047l-.306-.1c.122-.377.23-.764.319-1.15l.313.072c-.091.396-.2.792-.326 1.178m-26.712-.218c-.12-.388-.223-.786-.308-1.182l.314-.067c.083.387.184.776.3 1.155Zm27.262-2.161l-.318-.045c.056-.393.094-.793.115-1.188l.321.017a14 14 0 0 1-.118 1.216M2.1 17.72c-.05-.4-.082-.812-.1-1.218l.321-.011c.014.4.046.8.094 1.19Zm27.582-2.2c-.014-.4-.045-.8-.093-1.19l.319-.039c.049.4.082.813.1 1.218ZM2.331 15.3l-.321-.02c.021-.405.061-.814.117-1.216l.318.045c-.055.391-.093.791-.114 1.191m27.057-2.144a14 14 0 0 0-.3-1.155l.312-.101c.119.388.223.786.307 1.183Zm-26.725-.222l-.313-.072q.137-.599.326-1.177l.306.1c-.123.376-.23.763-.319 1.149m26.026-2.062a13 13 0 0 0-.5-1.086l.286-.146c.185.363.355.736.507 1.111ZM3.4 10.665l-.3-.125c.158-.374.334-.745.524-1.1l.284.15c-.184.347-.356.71-.508 1.075m1.113-2.108l-.27-.174q.332-.513.707-1l.254.2q-.367.475-.691.974m1.464-1.881l-.235-.219c.276-.3.569-.585.87-.857l.215.239c-.294.261-.58.547-.85.837m1.77-1.6l-.193-.257c.323-.244.662-.477 1.007-.692l.17.272c-.337.215-.668.442-.984.68Zm15.705-.558l-.018-.012l.175-.27l.018.011Zm-1.047-.616a13 13 0 0 0-1.078-.512l.125-.3c.374.158.745.334 1.1.524ZM9.769 3.815l-.146-.286l.018-.009c.356-.181.724-.349 1.093-.5l.121.3c-.361.147-.72.311-1.068.488Zm10.44-.838a13 13 0 0 0-1.151-.317l.072-.313q.6.137 1.178.325Zm-8.229-.06l-.094-.307a14 14 0 0 1 1.182-.308l.067.314a14 14 0 0 0-1.155.301m5.9-.473a14 14 0 0 0-1.188-.113l.016-.321c.405.021.814.059 1.216.115Zm-3.572-.026l-.04-.319c.4-.05.812-.083 1.218-.1l.012.321c-.392.017-.793.049-1.186.098Z"/><circle cx="16" cy="15.998" r="10.708" fill="navy"/><circle cx="20.435" cy="11.562" r="3.136" fill="#fff"/><circle cx="26.708" cy="5.29" r="3.137" fill="navy"/><path fill="#fff" d="M13.1 21.352v-.79H9.629v-6.236h-.9v7.026zm4.816 0V16.3h-.8v2.785c0 1.031-.54 1.706-1.378 1.706A.95.95 0 0 1 14.7 19.8v-3.5h-.8v3.817c0 .838.626 1.378 1.609 1.378a1.86 1.86 0 0 0 1.687-.925v.781h.723m5.872-.018v-.607a.7.7 0 0 1-.173.019c-.279 0-.434-.145-.434-.4v-2.809c0-.9-.655-1.378-1.9-1.378c-1.224 0-1.976.472-2.024 1.638h.81c.067-.617.434-.9 1.185-.9c.723 0 1.128.27 1.128.752v.212c0 .337-.2.482-.838.559a5.8 5.8 0 0 0-1.619.308a1.33 1.33 0 0 0-.887 1.311c0 .916.636 1.455 1.658 1.455a2.36 2.36 0 0 0 1.715-.742a.855.855 0 0 0 .829.665a2 2 0 0 0 .549-.087m-1.407-1.725a1.366 1.366 0 0 1-1.513 1.185c-.626 0-.993-.222-.993-.771c0-.53.357-.761 1.214-.887a4 4 0 0 0 1.291-.279v.752"/>'},rG={width:32,height:32,body:'<path fill="#fff" d="M7.313 18.654a.55.55 0 0 1-.6.233a.92.92 0 0 0-.869.08c-.306.218-.637.053-.579-.345a1.23 1.23 0 0 1 .583-.971c.833-.479.254-.812.711-1.293s.357-.629.341-1.283a4.65 4.65 0 0 1-3.4-1.9a6 6 0 0 1-1.46-3.764a6.37 6.37 0 0 1 .649-3.8a5.3 5.3 0 0 1 2.565-2.522a7 7 0 0 1 3.489-.77a4.96 4.96 0 0 1 2.443.452a5.2 5.2 0 0 0 1.546.8a1.22 1.22 0 0 0 .782-.226c.047 1.189-1.023 1.292-1.98 1.317s-1.546-.371-2.427-.224a4.2 4.2 0 0 0-3.03 1.774A3.78 3.78 0 0 0 5.408 8.9a1.95 1.95 0 0 0 1.441 1.8c.5.008.61-.136 1.047-.421s2.665-3.043 3.426-3.663a3.52 3.52 0 0 1 2.322-.821a3.24 3.24 0 0 1 1.671.286A12 12 0 0 1 16.9 7.139a9 9 0 0 0 .684-.576a2.87 2.87 0 0 1 2.393-.718a3.64 3.64 0 0 1 1.819.8a14.3 14.3 0 0 1 2.013 2.425a3.6 3.6 0 0 0 1.621 1.489c.771.237 1.352-.762 1.437-1.316a6 6 0 0 0 .112-.935a4.4 4.4 0 0 0-.135-1.125a4 4 0 0 0-.455-1.016a3.6 3.6 0 0 0-1.3-1.25A4.1 4.1 0 0 0 23.7 4.5a14 14 0 0 0-1.4.2c-.584.04-1.628.171-2.086-.28a1.18 1.18 0 0 1-.378-.853a.9.9 0 0 0 .469.19c.366.031.708-.268 1-.441a7 7 0 0 1 .908-.526a5.86 5.86 0 0 1 2.7-.232a6.3 6.3 0 0 1 2.2.725a6 6 0 0 1 1.634 1.48A5 5 0 0 1 29.781 6.9a9 9 0 0 1 .017 3.847a7.6 7.6 0 0 1-1.714 2.819a4.4 4.4 0 0 1-2.317 1.112a5 5 0 0 0 .086.488c.064.206.188.436.441.363a.236.236 0 0 1 .289.063c.133.116.064.567-.311.769a1.45 1.45 0 0 1-.695.131a6.6 6.6 0 0 1-1.11-.051c-.33-.058-.528-.32-.894-.361a3.6 3.6 0 0 1-1.452-.764a3 3 0 0 0-.362-.185c.059.18.138.368.177.541s.023.334.043.472s.059.247.082.359c.09.081.119.2.272.243a1.7 1.7 0 0 0 .546-.043c.156-.021.26-.106.383-.083a.85.85 0 0 1 .34.193c.1.082.191.094.274.3a3.3 3.3 0 0 1 .171.9a1.9 1.9 0 0 1-.1.755a1.26 1.26 0 0 1-.381.541a6 6 0 0 1-.956.769a1.7 1.7 0 0 0 .2.3c.1.109.324.229.421.344a.47.47 0 0 1 .148.324a.7.7 0 0 1-.109.433a1.9 1.9 0 0 1-.937.573a2.5 2.5 0 0 1 .023 1.06c-.037.159-.119.519-.315.612a4 4 0 0 1-.814.086c-.239.038-.373.074-.56.111a3.3 3.3 0 0 0-.34.492a.4.4 0 0 0 .008.35c.049.15.214.368.261.544a1.1 1.1 0 0 1 .012.541a.94.94 0 0 1-.269.46c-.15.157-.446.28-.593.406s-.294.142-.254.352a1.55 1.55 0 0 0 .781.867a.93.93 0 0 0 .65-.048c-.015.246-.228.412-.367.576a2.2 2.2 0 0 0 1-.588a2.5 2.5 0 0 1-.752.955a3 3 0 0 1-.6.4a2.7 2.7 0 0 0 .99 0a2 2 0 0 1-.748.242a2.2 2.2 0 0 1-.85-.064a5.7 5.7 0 0 1-.951-.541a.78.78 0 0 0 .217.442a3 3 0 0 0 .639.334a9 9 0 0 1-.963-.116a2.2 2.2 0 0 1-.555-.189a4 4 0 0 1-.449-.309a1.3 1.3 0 0 0 .215.411a2 2 0 0 0 .48.232a2 2 0 0 1-.5-.011a1.4 1.4 0 0 1-.517-.245a3.7 3.7 0 0 1-.52-.463a2.2 2.2 0 0 1-.4-.538c-.058-.154.035-.262.052-.393a1.2 1.2 0 0 0-.318.21a.4.4 0 0 0-.118.37a2.5 2.5 0 0 0 .315.589c-.344-.281-.536-.389-.618-.729a1.14 1.14 0 0 1 .272-.846c.075-.119.187-.23.257-.345a5 5 0 0 1-.466-.456c-.133-.173-.189-.408-.325-.573a3.4 3.4 0 0 0-.478-.407a6 6 0 0 1 .42.9a.6.6 0 0 1-.139.5c-.083.126-.216.154-.343.231s-.323.017-.4.131a.39.39 0 0 0-.023.4l.3.466a1.4 1.4 0 0 1-.381-.328c-.084-.114-.214-.218-.232-.371a.54.54 0 0 1 .073-.422c.1-.137.371-.182.493-.287s.19-.173.183-.309s-.14-.232-.253-.318a8 8 0 0 1-1.088-.815a1.1 1.1 0 0 1-.28-.443a.46.46 0 0 1 .085-.368c.083-.151.367-.352.4-.515s-.109-.2-.238-.256s-.376.029-.5-.071s.035-.311-.1-.427s-.445-.051-.6-.176a.84.84 0 0 1-.281-.459a1 1 0 0 1-.024-.509c.038-.131.15-.154.217-.222s.127-.124.036-.225s-.385.006-.555-.124s-.066-.44-.186-.572s-.336-.079-.449-.121s-.159.106-.228-.128s-.072-.93-.166-1.189s-.278-.018-.363-.276a7 7 0 0 1-.043-1.06l-.175-1.061c-.609.409-2.53.935-2.7 1.233"/><path fill="#030303" d="M16.623 8.258a3.7 3.7 0 0 0 .077.942a.9.9 0 0 0 .382.66c.462.343.758.286 1.114.485a1 1 0 0 1 .446.421a.36.36 0 0 1-.17.422a.36.36 0 0 0 .371-.48c-.052-.128-.3-.185-.373-.314a.5.5 0 0 1-.04-.393c.064-.236.531-.451.7-.637a.77.77 0 0 0 .208-.9a2.83 2.83 0 0 0-1.45-1.141a3 3 0 0 0-.5-.15a1.65 1.65 0 0 1 .875.807c.144.374.019.515.024.84c0 .151.2.226.289.322s.07.145.009.259a.3.3 0 0 0-.13-.236c-.13-.093-.271-.073-.341-.263c-.106-.289.1-.563-.132-.888a1.03 1.03 0 0 0-.727-.522a1.3 1.3 0 0 0-.423.066l-.219-.258a4.6 4.6 0 0 0-1.34-.995a3.03 3.03 0 0 0-1.607-.3a3.07 3.07 0 0 0-2.2.771c-.808.7-2.892 3.367-3.4 3.7a1.7 1.7 0 0 1-1.248.453a2.124 2.124 0 0 1-1.657-2.002a4.04 4.04 0 0 1 .722-2.857a4.17 4.17 0 0 1 3.224-1.9a12 12 0 0 1 2.441.23c.771 0 1.534-.132 1.759-.745a1.04 1.04 0 0 1-.672.118A6.7 6.7 0 0 1 11 2.952a5.2 5.2 0 0 0-2.29-.377a6.3 6.3 0 0 0-3.215.669a5.77 5.77 0 0 0-2.582 2.475a5.87 5.87 0 0 0-.654 3.649a6.07 6.07 0 0 0 1.423 3.613a4.46 4.46 0 0 0 3.295 1.785l.329-1.45l-.587.842l.015-.937l-.531.659l-.233-.894l-.43.716l-.214-1l-.623.5l.2-.823l-.825.092l.379-.572l-.752.009l.438-.764l-.667-.106L4 10.35l-.817-.242l.676-.648l-.659-.544l.522-.406l-.492-.65l.521-.607l-.194-.8L4 6.067l.132-.916l.5-.249l.427-.715l.785-.087l.39-.643l.793.04l.749-.407l.778.181l.883-.266l.654.153l.853.125l.824.659L10.5 3.5l-.636.305l-.526-.321l-.362.246l-.64.064l-.574-.037l-.419.511l-.843.013l-.3.688l-.759.266l-.071.791l-.544.426L5 7.2l-.47.773l.361.676l-.355.619l.472.308l-.107.995l.656.166l.148.738l.715-.075l.444.506l.549-.536a6.15 6.15 0 0 0 2.193-1.625a10.3 10.3 0 0 1 2.58-2.506a3.45 3.45 0 0 1 2.493-.477c.895.154 1.194.691 1.853 1.257a.6.6 0 0 1 .2-.253a4 4 0 0 0-.108.492Zm4.665 5.934a.7.7 0 0 1-.2.143a2.4 2.4 0 0 1-.344.083c.173.27.355.543.521.826s.31.594.469.892a5 5 0 0 0-.022-.511a5 5 0 0 0-.168-.537c-.071-.239-.159-.564-.26-.9Zm-.06-1.551a.5.5 0 0 1 .168.092a.65.65 0 0 1 .255.269a1 1 0 0 1 .048.466c-.056-.016-.132-.005-.191-.055s-.092-.162-.167-.21a.44.44 0 0 0-.219-.048a.7.7 0 0 1 .043.35a.43.43 0 0 1-.409.387a1.3 1.3 0 0 1-.342-.036c.04.089.108.167.147.256a1.8 1.8 0 0 0 .439-.073a3 3 0 0 1 .345-.2a2 2 0 0 1 .395-.067c-.113.1-.188.2-.3.295l.25.728c.177.111.344.169.566.306a7 7 0 0 0 .781.515a3 3 0 0 0 .767.263c.3.057.545.3.844.343a6.4 6.4 0 0 0 1.087.025c.261-.025.6-.16.631-.447a.6.6 0 0 1-.723-.407c-.075-.183-.038-.52-.153-.737s-.274-.286-.466-.552a8.4 8.4 0 0 1-.679-1.045c-.175-.357-.217-.762-.365-1.082a5.3 5.3 0 0 0-.546-.826a2.9 2.9 0 0 0-1.308-1.18a6.4 6.4 0 0 0-.963-.249c-.131.059-.31.124-.342.276a.62.62 0 0 0 .14.493a2.1 2.1 0 0 1 .568.7a2.8 2.8 0 0 1 .03 1.029a1.15 1.15 0 0 1-.328.42Zm-1.451.173a2.5 2.5 0 0 1 .854-.242c.126-.008.321.012.448.017a1.7 1.7 0 0 0 .3-.466a2.5 2.5 0 0 0-.043-.826c-.172-.423-.34-.441-.577-.683a1.35 1.35 0 0 1-.231-.743c-.019-.11-.073-.249-.1-.363a4.6 4.6 0 0 0-1-.052a1.1 1.1 0 0 0 .39-.567a1.12 1.12 0 0 0-.132-.78a3 3 0 0 0-.576-.6c-.208-.182-.506-.332-.7-.482a6 6 0 0 1 .768-.275a2.5 2.5 0 0 1 1.842.448a4.6 4.6 0 0 1 1.053.833c.384.4.859 1.137 1.23 1.574a8 8 0 0 0 .997 1.043a5 5 0 0 0 .925.5l.481.51l.389-.481l.625.071l.129-.7l.574-.157l-.093-.947l.413-.293l-.31-.589l.315-.644l-.411-.736l.159-.708l-.476-.405l-.062-.753l-.664-.253l-.266-.655l-.75-.01l-.366-.486l-.5.035l-.56-.061l-.316-.234l-.46.3l-.557-.29l-1.106.42l.721-.627l.747-.119l.569-.138l.773.254l.68-.172l.656.388l.694-.038l.341.612l.691.079l.374.68l.435.237l.115.871l.387.367l-.17.762l.456.577l-.428.619l.457.387l-.585.518l.592.616l-.715.23l.466.661l-.584.1l.383.727l-.658-.009l.331.545l-.722-.087l.173.783l-.546-.48l-.187.949l-.377-.682l-.2.85l-.465-.627l.012.891l-.514-.8a3.6 3.6 0 0 0 .385 1.382a3.52 3.52 0 0 0 2.24-1.041a7.2 7.2 0 0 0 1.627-2.739a9.3 9.3 0 0 0 .011-3.618a5.45 5.45 0 0 0-1.045-2.109A8 8 0 0 0 26.9 3.405a6.2 6.2 0 0 0-3.2-.694a3.8 3.8 0 0 0-1.338.25c-.617.224-1.11.714-1.737.955a.6.6 0 0 1-.53 0a.99.99 0 0 0 .723.572a5.5 5.5 0 0 0 1.431-.013a9 9 0 0 1 1.451-.19a3.1 3.1 0 0 1 1.484.428a3.66 3.66 0 0 1 1.4 1.318a4 4 0 0 1 .448 1.079a5 5 0 0 1 .151 1.174a3.6 3.6 0 0 1-.112 1.035c-.212.781-.68 1.576-1.641 1.454c-.588-.075-1.475-1.18-1.772-1.585a15.7 15.7 0 0 0-1.969-2.4a3.03 3.03 0 0 0-1.705-.757a2.58 2.58 0 0 0-2.384.829a5 5 0 0 1 .532.17a4 4 0 0 1 1.094.718a1.19 1.19 0 0 1 .5.968c.008.3-.239.541-.465.758c-.139.133-.322.254-.434.357c-.149.137-.333.286-.147.5a2 2 0 0 0 .3.22c.163.121.089.572-.127.691a.71.71 0 0 1-.832-.069c.287-.043.469-.081.461-.315c0-.136-.177-.249-.347-.326a5 5 0 0 1-1.125-.452c-.411-.3-.42-.458-.531-.922a2.6 2.6 0 0 0-.646.113c-.265.087-.558.3-.8.348a1.7 1.7 0 0 1-1.058.006a4.24 4.24 0 0 0-2.1.349a6 6 0 0 0-.975.121a6.4 6.4 0 0 0-1.7.995a9.1 9.1 0 0 0-1.98 4.059c-.051.57.112.955-.248 1.233s-.349.992-.471 1.193s-.263.111-.525.392s-.4.234-.389.766a1.84 1.84 0 0 1 .845-.332c.256-.009.259.328.916-.322c.352-.348 1.027-.358 1.5-.512A4.73 4.73 0 0 0 11 16.152a5.6 5.6 0 0 0 1.415-3.381a4 4 0 0 1-.038 1.247a3.47 3.47 0 0 0 .151 2.442l.309.59a5.2 5.2 0 0 1-.652-.953l-.25-.674a5.1 5.1 0 0 1-1.463 1.662a2.9 2.9 0 0 0 .089 1.169c.128.373-.076.8.021 1.049s.321.106.394.355s-.038.741.075.983s.392.1.527.174a.8.8 0 0 1 .251.289c.073.1-.028.346.119.425s.376.012.529.088a.36.36 0 0 1 .139.422c-.036.163-.2.238-.272.4a.43.43 0 0 0 .023.434a.9.9 0 0 0 .466.314c.19.077.457.034.653.14a1.5 1.5 0 0 1 .476.473a.64.64 0 0 1 .127.425a1.2 1.2 0 0 1-.157.505c-.087.157-.278.347.021.647s.287.17.458.364c-.019-.336-.157-.609-.056-.862s.406-.3.566-.411a2.6 2.6 0 0 0 .379-.4a5 5 0 0 1 0 .491c-.041.266-.119.5.277.544a1.3 1.3 0 0 0 .535-.166c-.1.176-.269.318-.3.528a.92.92 0 0 0 .151.651a2.1 2.1 0 0 0 .582.487a2.2 2.2 0 0 0 .425.2c.007.207-.034.427-.01.621a1.13 1.13 0 0 0 .2.529a1.7 1.7 0 0 0 .465.373c-.094-.218-.283-.424-.281-.653a.73.73 0 0 1 .294-.594c.223-.2.746-.38.992-.577a1.2 1.2 0 0 0 .414-.51a2.2 2.2 0 0 0 .08-.673a2 2 0 0 1 .119.569a2 2 0 0 1-.221.794a1.22 1.22 0 0 0 .6-.612c.065.039.032.145.056.349c.109-.108.232-.191.341-.293a.95.95 0 0 0 .284-.334a.77.77 0 0 0-.008-.459a3 3 0 0 0-.324-.538c-.1-.181.017-.358.01-.576a1.7 1.7 0 0 0-.6-.1c-.229.033-.491.29-.725.293s-.365-.216-.557-.277a3.4 3.4 0 0 0-.579-.08a5.4 5.4 0 0 1 1.84-.451a12 12 0 0 1 1.715-.155a4.4 4.4 0 0 0 .769.03c.179-.051.141-.174.194-.307a1.73 1.73 0 0 0-.006-1.079A8.4 8.4 0 0 0 20.46 22c-.511.039-1.117.282-1.644.3a3.2 3.2 0 0 1-1.53-.328a3.6 3.6 0 0 1-.986-1.125c-.215-.329-.486-.975-.651-1.27a1.6 1.6 0 0 0-.339-.5a1.5 1.5 0 0 0-.488-.2c.188.019.392-.04.563.058c.256.147.543.756.7 1.021c.169-.566.129-.788.618-1.107a2.15 2.15 0 0 0-.5 1.295c.327.537.782 1.393 1.378 1.63a4 4 0 0 0 .817.168a5.9 5.9 0 0 0 2.132-.315a5.6 5.6 0 0 1 1.678-.04c.215.012.72-.117.825-.333a.38.38 0 0 0-.033-.386c-.081-.126-.3-.186-.414-.3a3 3 0 0 1-.274-.368a7.5 7.5 0 0 1-1.238.138c.257-.106.5-.167.771-.271a4.6 4.6 0 0 0 .787-.419a2.5 2.5 0 0 0 .51-.391a3 3 0 0 0 .471-.539a1.4 1.4 0 0 0 .139-.681a2 2 0 0 0-.1-.805a.63.63 0 0 0-.433-.311c-.15-.048-.252.073-.408.09s-.3.115-.527.008a2 2 0 0 1-.72-.642c-.228-.32-.39-.844-.623-1.247a21 21 0 0 0-1.376-1.986a4 4 0 0 1-.118-.593a2.9 2.9 0 0 1 .076-1.13a.99.99 0 0 1 .512-.69a.56.56 0 0 1 .371-.026a.25.25 0 0 1 .167.294c-.045.15-.15.155-.221.231a.8.8 0 0 0-.213.384a1.8 1.8 0 0 1 .412.016a.48.48 0 0 1 .339.326a.61.61 0 0 0-.456-.22a2 2 0 0 0-.316.048a2.3 2.3 0 0 1-.118.383c-.056.1-.163.075-.2.191a1.1 1.1 0 0 0-.022.455Zm.546.2c-.208.013-.258-.014-.424.1l.271.422a.65.65 0 0 1 .153-.525Zm-7.072-1.86a.8.8 0 0 1 .036-.194c-.3-.081-.423.115-.6.479c-.066.136 0 .217-.072.306s-.185.077-.3.163s-.23.251-.338.34a3.8 3.8 0 0 1-.777.418a2.5 2.5 0 0 0 .625-.513c.058-.1.05-.287.14-.377s.123-.152.24-.174s.07-.159.108-.266a1.2 1.2 0 0 1 .193-.293a.85.85 0 0 1 .339-.329c.158-.059.405 0 .525-.029s.051-.121.138-.173s.257-.029.373-.085a1.14 1.14 0 0 0 .429-.442A2.26 2.26 0 0 1 14.187 11a1.48 1.48 0 0 1-.749.89a2.4 2.4 0 0 1-.426.16c.073-.1.177-.143.219-.3a4 4 0 0 0 .02-.6Zm1.931 1.493c.157-.014.351.028.5.02a3 3 0 0 0 .377-.07c-.023-.221 0-.627-.205-.774a1.8 1.8 0 0 0-.817.008a8 8 0 0 0-1.017.385a3.2 3.2 0 0 1 .923-.514a2.4 2.4 0 0 1 .948-.09c.1.028.123.07.185.156a1.8 1.8 0 0 1 .268.9a3 3 0 0 1 .157.229a1.1 1.1 0 0 1 .081.338c-.056-.081-.022-.183-.177-.243a1.5 1.5 0 0 0-.6.018a.508.508 0 0 1-.231.934a.54.54 0 0 1-.641-.333a1 1 0 0 1-.021-.4a.8.8 0 0 0-.688.259a1.3 1.3 0 0 0 .523.508a1.7 1.7 0 0 0 .5.186a2.5 2.5 0 0 0 .676.032a.73.73 0 0 0 .444-.216a1.04 1.04 0 0 0 .212-.47a1.4 1.4 0 0 1-.083.431a.79.79 0 0 1-.778.412a2.9 2.9 0 0 1-1.019-.2a1.54 1.54 0 0 1-.73-.624a1.8 1.8 0 0 1-.02-.557c.332-.22.413-.166.806-.231c.164-.027.277-.088.433-.1Zm.9-2.187a1.5 1.5 0 0 0 .524.212c.147 0 .185-.1.272-.154a6.6 6.6 0 0 0 .523 1.333c.1.169.159.09.232.26s.107.514.176.73a6 6 0 0 0 .242.564a8 8 0 0 1-.583-.9c-.114-.241-.041-.262-.133-.492s-.279-.588-.418-.882a.8.8 0 0 1-.3.008c-.076-.023-.061-.1-.129-.156s-.184-.032-.28-.115a.6.6 0 0 1-.127-.405Zm-1.964 7.762c.138-.112.511-.023.789 0l-.6.154c-.019.068-.01.147-.056.2s-.132.079-.2.119c.007-.179-.072-.363.066-.475Zm2.574-3.737a2.6 2.6 0 0 0 .205-.6c-.027.252.024.529-.1.712s-.339.151-.518.2c.139-.106.3-.153.411-.312Zm-.252 2.8a1 1 0 0 1 .5-.9a2.1 2.1 0 0 1 .706-.253a2.75 2.75 0 0 1 1.186.155a7 7 0 0 1 .7.459c.239.141.409.236.637.395c.35.243.554.512.8.673a1.8 1.8 0 0 0 .435.113a.73.73 0 0 1-.407.033a1.8 1.8 0 0 1-.513-.306a3.5 3.5 0 0 0-.579-.42c-.145-.084-.383-.183-.542-.287s-.435-.331-.587-.407a1.9 1.9 0 0 0-.759-.146a1.6 1.6 0 0 0-.959.267a.65.65 0 0 0-.264.66a3 3 0 0 1 .23-.3a.72.72 0 0 1 .607-.131a.53.53 0 0 1 .459.415a1 1 0 0 0-.238-.159a.57.57 0 0 0-.51.05c-.21.112-.153.278-.183.463a2 2 0 0 1-.069.231a.45.45 0 0 1-.211-.113a1.5 1.5 0 0 0 .008.259a3 3 0 0 0 .1.319a1.9 1.9 0 0 1-.39-.47a1.24 1.24 0 0 1-.148-.6Zm1.889.318a1 1 0 0 1 .439.114a1.7 1.7 0 0 1 .314.223a1.86 1.86 0 0 1 .5.877a5 5 0 0 1 .077.745a5 5 0 0 0-.225-.687a1.68 1.68 0 0 0-.783-.8a.42.42 0 0 0-.252-.032c.028.047.075.086.077.155a.27.27 0 0 1-.13.259a.49.49 0 0 1-.541-.1a.48.48 0 0 1-.12-.535c.091-.224.439-.224.644-.216Zm-10.406.644a.73.73 0 0 0-.6.4a.55.55 0 0 1-.6.233a.92.92 0 0 0-.869.08c-.306.218-.637.053-.579-.344a1.23 1.23 0 0 1 .583-.971c.832-.479.254-.812.71-1.293s.356-.629.342-1.283a4.65 4.65 0 0 1-3.4-1.9A6 6 0 0 1 2.036 9.4a6.36 6.36 0 0 1 .649-3.8a5.3 5.3 0 0 1 2.569-2.522a7 7 0 0 1 3.489-.769a4.96 4.96 0 0 1 2.443.452a5.2 5.2 0 0 0 1.545.8a1.22 1.22 0 0 0 .782-.226c.047 1.189-1.023 1.292-1.981 1.317s-1.546-.371-2.427-.223A4.2 4.2 0 0 0 6.078 6.2a3.78 3.78 0 0 0-.669 2.683a1.95 1.95 0 0 0 1.44 1.8c.5.008.61-.136 1.047-.421s2.665-3.041 3.426-3.662a3.52 3.52 0 0 1 2.321-.821a3.24 3.24 0 0 1 1.671.285A12 12 0 0 1 16.9 7.128a9 9 0 0 0 .684-.576a2.87 2.87 0 0 1 2.393-.718a3.64 3.64 0 0 1 1.819.8a14.3 14.3 0 0 1 2.014 2.425a3.6 3.6 0 0 0 1.621 1.489c.771.237 1.351-.762 1.437-1.316a6 6 0 0 0 .112-.932a4.4 4.4 0 0 0-.134-1.125a4 4 0 0 0-.455-1.016a3.6 3.6 0 0 0-1.3-1.25a4.1 4.1 0 0 0-1.391-.424a14 14 0 0 0-1.4.2c-.584.04-1.627.171-2.085-.28a1.18 1.18 0 0 1-.378-.854a.9.9 0 0 0 .469.189c.366.031.708-.268 1-.441a7 7 0 0 1 .907-.526a5.86 5.86 0 0 1 2.7-.233a6.3 6.3 0 0 1 2.2.725a6 6 0 0 1 1.634 1.48a5 5 0 0 1 1.037 2.15a9 9 0 0 1 .017 3.847a7.6 7.6 0 0 1-1.713 2.819a4.4 4.4 0 0 1-2.317 1.112c.034.177.04.342.085.487c.065.206.188.436.442.364a.236.236 0 0 1 .289.062c.133.117.063.567-.312.769a1.44 1.44 0 0 1-.695.131a6.5 6.5 0 0 1-1.11-.051c-.33-.058-.528-.319-.894-.361a3.6 3.6 0 0 1-1.452-.764a3 3 0 0 0-.362-.185c.059.18.137.368.177.541s.022.334.043.473s.059.246.081.359c.091.081.12.2.272.243a1.7 1.7 0 0 0 .546-.043c.156-.021.261-.105.383-.083a.85.85 0 0 1 .341.193c.1.082.19.094.274.3a3.4 3.4 0 0 1 .17.9a1.9 1.9 0 0 1-.1.755a1.25 1.25 0 0 1-.381.541a6 6 0 0 1-.957.769a1.7 1.7 0 0 0 .2.3c.1.108.324.229.421.343a.47.47 0 0 1 .148.324a.7.7 0 0 1-.109.434a1.9 1.9 0 0 1-.937.573a2.5 2.5 0 0 1 .023 1.06c-.037.159-.119.519-.315.612a3.8 3.8 0 0 1-.814.086c-.239.038-.373.074-.56.111a3.3 3.3 0 0 0-.34.491a.4.4 0 0 0 .008.35c.049.15.215.369.261.544a1.1 1.1 0 0 1 .012.541a.95.95 0 0 1-.269.461c-.15.157-.446.279-.593.406s-.294.142-.254.352a1.55 1.55 0 0 0 .781.867a.93.93 0 0 0 .65-.047c-.015.246-.228.412-.367.575a2.2 2.2 0 0 0 1-.587a2.5 2.5 0 0 1-.752.954a3 3 0 0 1-.6.4a2.6 2.6 0 0 0 .991 0a2 2 0 0 1-.748.242a2.2 2.2 0 0 1-.85-.063a5.7 5.7 0 0 1-.951-.541a.8.8 0 0 0 .216.442a3 3 0 0 0 .639.334a10 10 0 0 1-.963-.116a2.3 2.3 0 0 1-.555-.189a4 4 0 0 1-.449-.309a1.3 1.3 0 0 0 .215.411a2 2 0 0 0 .481.233a2 2 0 0 1-.5-.011a1.4 1.4 0 0 1-.517-.245a3.7 3.7 0 0 1-.521-.464a2.2 2.2 0 0 1-.4-.538c-.058-.154.035-.262.052-.393a1.2 1.2 0 0 0-.319.209a.4.4 0 0 0-.118.371a2.5 2.5 0 0 0 .315.589c-.344-.281-.536-.39-.618-.729a1.14 1.14 0 0 1 .272-.846c.075-.119.187-.23.256-.345a5 5 0 0 1-.466-.456c-.133-.174-.189-.408-.325-.574a3.4 3.4 0 0 0-.478-.406a6 6 0 0 1 .42.9a.6.6 0 0 1-.139.5c-.083.126-.216.154-.342.231s-.324.016-.4.131a.39.39 0 0 0-.023.4l.3.466a1.4 1.4 0 0 1-.381-.328c-.085-.113-.214-.218-.232-.371a.54.54 0 0 1 .073-.423c.1-.136.371-.182.493-.287s.19-.173.183-.309s-.139-.233-.253-.318a8.3 8.3 0 0 1-1.088-.815a1.1 1.1 0 0 1-.28-.443a.46.46 0 0 1 .085-.368c.083-.151.367-.352.4-.515s-.109-.2-.238-.257s-.375.029-.5-.071s.035-.311-.1-.427s-.445-.051-.6-.176a.84.84 0 0 1-.281-.46a.97.97 0 0 1-.024-.509c.037-.131.149-.153.217-.221s.127-.124.036-.226s-.386.006-.556-.124s-.066-.44-.186-.571s-.336-.08-.449-.122s-.158.106-.228-.127s-.072-.929-.165-1.189s-.278-.017-.364-.276a7 7 0 0 1-.043-1.061l-.175-1.061a3.74 3.74 0 0 1-1.666.654a10.8 10.8 0 0 0 .338 4.321c.543 1.777 1.643 2.824 3.128 4.328a9.1 9.1 0 0 1-3.478-4.188a9.8 9.8 0 0 1-.414-4.277"/>'},lG={width:32,height:32,body:'<path fill="none" stroke="#755838" d="M2.5 7.955h27v16.091h-27z"/><path fill="#755838" d="M5.909 20.636v-9.272h2.727l2.728 3.409l2.727-3.409h2.727v9.272h-2.727v-5.318l-2.727 3.409l-2.728-3.409v5.318zm17.046 0l-4.091-4.5h2.727v-4.772h2.727v4.772h2.727z"/>'},iG={width:32,height:32,body:'<path fill="#c12127" d="M2 2h28v28H2"/><path fill="#fff" d="M7.25 7.25h17.5v17.5h-3.5v-14H16v14H7.25"/>'},sG={width:32,height:32,body:'<path fill="#909090" d="m24.1 2.072l5.564 5.8v22.056H8.879V30h20.856V7.945z"/><path fill="#f4f4f4" d="M24.031 2H8.808v27.928h20.856V7.873z"/><path fill="#7a7b7c" d="M8.655 3.5h-6.39v6.827h20.1V3.5z"/><path fill="#dd2025" d="M22.472 10.211H2.395V3.379h20.077z"/><path fill="#464648" d="M9.052 4.534H7.745v4.8h1.028V7.715L9 7.728a2 2 0 0 0 .647-.117a1.4 1.4 0 0 0 .493-.291a1.2 1.2 0 0 0 .335-.454a2.1 2.1 0 0 0 .105-.908a2.2 2.2 0 0 0-.114-.644a1.17 1.17 0 0 0-.687-.65a2 2 0 0 0-.409-.104a2 2 0 0 0-.319-.026m-.189 2.294h-.089v-1.48h.193a.57.57 0 0 1 .459.181a.92.92 0 0 1 .183.558c0 .246 0 .469-.222.626a.94.94 0 0 1-.524.114m3.671-2.306c-.111 0-.219.008-.295.011L12 4.538h-.78v4.8h.918a2.7 2.7 0 0 0 1.028-.175a1.7 1.7 0 0 0 .68-.491a1.9 1.9 0 0 0 .373-.749a3.7 3.7 0 0 0 .114-.949a4.4 4.4 0 0 0-.087-1.127a1.8 1.8 0 0 0-.4-.733a1.6 1.6 0 0 0-.535-.4a2.4 2.4 0 0 0-.549-.178a1.3 1.3 0 0 0-.228-.017m-.182 3.937h-.1V5.392h.013a1.06 1.06 0 0 1 .6.107a1.2 1.2 0 0 1 .324.4a1.3 1.3 0 0 1 .142.526c.009.22 0 .4 0 .549a3 3 0 0 1-.033.513a1.8 1.8 0 0 1-.169.5a1.1 1.1 0 0 1-.363.36a.67.67 0 0 1-.416.106m5.08-3.915H15v4.8h1.028V7.434h1.3v-.892h-1.3V5.43h1.4v-.892"/><path fill="#dd2025" d="M21.781 20.255s3.188-.578 3.188.511s-1.975.646-3.188-.511m-2.357.083a7.5 7.5 0 0 0-1.473.489l.4-.9c.4-.9.815-2.127.815-2.127a14 14 0 0 0 1.658 2.252a13 13 0 0 0-1.4.288Zm-1.262-6.5c0-.949.307-1.208.546-1.208s.508.115.517.939a10.8 10.8 0 0 1-.517 2.434a4.4 4.4 0 0 1-.547-2.162Zm-4.649 10.516c-.978-.585 2.051-2.386 2.6-2.444c-.003.001-1.576 3.056-2.6 2.444M25.9 20.895c-.01-.1-.1-1.207-2.07-1.16a14 14 0 0 0-2.453.173a12.5 12.5 0 0 1-2.012-2.655a11.8 11.8 0 0 0 .623-3.1c-.029-1.2-.316-1.888-1.236-1.878s-1.054.815-.933 2.013a9.3 9.3 0 0 0 .665 2.338s-.425 1.323-.987 2.639s-.946 2.006-.946 2.006a9.6 9.6 0 0 0-2.725 1.4c-.824.767-1.159 1.356-.725 1.945c.374.508 1.683.623 2.853-.91a23 23 0 0 0 1.7-2.492s1.784-.489 2.339-.623s1.226-.24 1.226-.24s1.629 1.639 3.2 1.581s1.495-.939 1.485-1.035"/><path fill="#909090" d="M23.954 2.077V7.95h5.633z"/><path fill="#f4f4f4" d="M24.031 2v5.873h5.633z"/><path fill="#fff" d="M8.975 4.457H7.668v4.8H8.7V7.639l.228.013a2 2 0 0 0 .647-.117a1.4 1.4 0 0 0 .493-.291a1.2 1.2 0 0 0 .332-.454a2.1 2.1 0 0 0 .105-.908a2.2 2.2 0 0 0-.114-.644a1.17 1.17 0 0 0-.687-.65a2 2 0 0 0-.411-.105a2 2 0 0 0-.319-.026m-.189 2.294h-.089v-1.48h.194a.57.57 0 0 1 .459.181a.92.92 0 0 1 .183.558c0 .246 0 .469-.222.626a.94.94 0 0 1-.524.114m3.67-2.306c-.111 0-.219.008-.295.011l-.235.006h-.78v4.8h.918a2.7 2.7 0 0 0 1.028-.175a1.7 1.7 0 0 0 .68-.491a1.9 1.9 0 0 0 .373-.749a3.7 3.7 0 0 0 .114-.949a4.4 4.4 0 0 0-.087-1.127a1.8 1.8 0 0 0-.4-.733a1.6 1.6 0 0 0-.535-.4a2.4 2.4 0 0 0-.549-.178a1.3 1.3 0 0 0-.228-.017m-.182 3.937h-.1V5.315h.013a1.06 1.06 0 0 1 .6.107a1.2 1.2 0 0 1 .324.4a1.3 1.3 0 0 1 .142.526c.009.22 0 .4 0 .549a3 3 0 0 1-.033.513a1.8 1.8 0 0 1-.169.5a1.1 1.1 0 0 1-.363.36a.67.67 0 0 1-.416.106m5.077-3.915h-2.43v4.8h1.028V7.357h1.3v-.892h-1.3V5.353h1.4v-.892"/>'},oG={width:32,height:32,body:'<defs><radialGradient id="SVGQRCVdbYF" cx="-16.114" cy="20.532" r="18.384" gradientTransform="translate(26.52 -9.307)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".5" stop-color="#4c6b96"/><stop offset="1" stop-color="#231f20"/></radialGradient></defs><ellipse cx="16" cy="16" fill="url(#SVGQRCVdbYF)" rx="14" ry="7.365"/><ellipse cx="16" cy="16" fill="#6280b6" rx="13.453" ry="6.818"/><path fill="#fff" d="m18.725 18.2l.667-3.434a1.75 1.75 0 0 0-.372-1.719a2.93 2.93 0 0 0-2-.525h-1.153l.331-1.7a.22.22 0 0 0-.215-.26h-1.6a.22.22 0 0 0-.215.177l-.709 3.646a2.05 2.05 0 0 0-.477-1.054a2.78 2.78 0 0 0-2.2-.807H7.7a.22.22 0 0 0-.215.177l-1.434 7.38a.22.22 0 0 0 .215.26h1.603a.22.22 0 0 0 .215-.177l.347-1.785h1.2a5.2 5.2 0 0 0 1.568-.2a3.1 3.1 0 0 0 1.15-.689a3.5 3.5 0 0 0 .68-.844l-.287 1.475a.22.22 0 0 0 .215.26h1.6a.22.22 0 0 0 .215-.177l.787-4.051h1.094c.466 0 .6.093.64.133s.1.165.025.569l-.635 3.265a.22.22 0 0 0 .215.26h1.62a.22.22 0 0 0 .207-.18m-7.395-2.834a1.75 1.75 0 0 1-.561 1.092a2.17 2.17 0 0 1-1.315.321h-.712l.515-2.651h.921c.677 0 .949.145 1.059.266a1.18 1.18 0 0 1 .093.972m14.216-2.034a2.78 2.78 0 0 0-2.2-.807h-3.091a.22.22 0 0 0-.215.177l-1.434 7.38a.22.22 0 0 0 .215.26h1.608a.22.22 0 0 0 .215-.177l.347-1.785h1.2a5.2 5.2 0 0 0 1.568-.2a3.1 3.1 0 0 0 1.15-.689a3.43 3.43 0 0 0 1.076-1.927a2.51 2.51 0 0 0-.439-2.232m-1.667 2.034a1.75 1.75 0 0 1-.561 1.092a2.17 2.17 0 0 1-1.318.32h-.71l.515-2.651h.921c.677 0 .949.145 1.059.266a1.18 1.18 0 0 1 .094.973"/><path fill="#000004" d="M10.178 13.908a1.65 1.65 0 0 1 1.221.338a1.34 1.34 0 0 1 .145 1.161a1.95 1.95 0 0 1-.642 1.223a2.36 2.36 0 0 1-1.448.37h-.978l.6-3.089Zm-3.917 6.216h1.608l.381-1.962h1.377a5 5 0 0 0 1.5-.191a2.84 2.84 0 0 0 1.07-.642a3.2 3.2 0 0 0 1.01-1.808a2.3 2.3 0 0 0-.385-2.044a2.57 2.57 0 0 0-2.035-.732H7.7Zm8.126-9.342h1.6l-.387 1.962h1.421a2.77 2.77 0 0 1 1.85.468a1.55 1.55 0 0 1 .305 1.516l-.667 3.434H16.89l.635-3.265a.89.89 0 0 0-.08-.76a1.12 1.12 0 0 0-.8-.2H15.37l-.822 4.228h-1.6Zm8.34 3.126a1.65 1.65 0 0 1 1.221.338a1.34 1.34 0 0 1 .145 1.161a1.95 1.95 0 0 1-.642 1.223A2.36 2.36 0 0 1 22 17h-.978l.6-3.089Zm-3.917 6.216h1.608l.381-1.962h1.377a5 5 0 0 0 1.5-.191a2.84 2.84 0 0 0 1.07-.642a3.2 3.2 0 0 0 1.01-1.808a2.3 2.3 0 0 0-.385-2.044a2.57 2.57 0 0 0-2.035-.732h-3.092Z"/>'},cG={width:32,height:32,body:'<path fill="#f9ad00" d="M30 10.75h-8.749V2H30Zm-9.626 0h-8.75V2h8.75Zm-9.625 0H2V2h8.749ZM30 20.375h-8.749v-8.75H30Z"/><path fill="#fff" d="M20.374 20.375h-8.75v-8.75h8.75Zm0 9.625h-8.75v-8.75h8.75ZM30 30h-8.749v-8.75H30Zm-19.251 0H2v-8.75h8.749Z"/>'},uG={width:32,height:32,body:'<defs><linearGradient id="SVGaVba93Vn" x1="23.325" x2="7.26" y1="-118.543" y2="-104.193" gradientTransform="matrix(1 0 0 -1 0 -96)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#5391fe"/><stop offset="1" stop-color="#3e6dbf"/></linearGradient><linearGradient id="SVG7XRbSdmK" x1="7.1" x2="23.001" y1="-104.002" y2="-118.292" href="#SVGaVba93Vn"/></defs><path fill="url(#SVGaVba93Vn)" fill-rule="evenodd" d="M3.174 26.589a1.15 1.15 0 0 1-.928-.423a1.23 1.23 0 0 1-.21-1.052L6.233 6.78a1.8 1.8 0 0 1 1.681-1.37h20.912a1.16 1.16 0 0 1 .928.423a1.24 1.24 0 0 1 .21 1.052l-4.2 18.335a1.8 1.8 0 0 1-1.681 1.37H3.174Z"/><path fill="url(#SVG7XRbSdmK)" fill-rule="evenodd" d="M7.914 5.646h20.912a.913.913 0 0 1 .908 1.187l-4.2 18.334a1.575 1.575 0 0 1-1.451 1.187H3.174a.913.913 0 0 1-.908-1.187l4.2-18.334a1.57 1.57 0 0 1 1.448-1.187"/><path fill="#2c5591" fill-rule="evenodd" d="M16.04 21.544h5.086a1.118 1.118 0 0 1 0 2.234H16.04a1.118 1.118 0 0 1 0-2.234m3.299-4.966a1.76 1.76 0 0 1-.591.6l-9.439 6.775a1.224 1.224 0 0 1-1.438-1.977l8.512-6.164v-.126L11.035 10a1.224 1.224 0 0 1 1.782-1.672l6.418 6.827a1.166 1.166 0 0 1 .104 1.423"/><path fill="#fff" fill-rule="evenodd" d="M19.1 16.342a1.75 1.75 0 0 1-.59.6l-9.436 6.776a1.225 1.225 0 0 1-1.439-1.977l8.513-6.164v-.127L10.8 9.761a1.224 1.224 0 0 1 1.783-1.672L19 14.916a1.16 1.16 0 0 1 .1 1.426m-3.2 5.07h5.086a1.059 1.059 0 1 1 0 2.118H15.9a1.059 1.059 0 1 1 0-2.118"/>'},xG={width:32,height:32,body:'<g stroke-linecap="round" stroke-width="1.33"><path stroke="#56b3b4" d="M2.45 2.45h16.3M2.45 7.87h9.48m10.8 0h1.35m-16.3 2.71h1.35M13.19 16h10.8m-21.7 2.71h5.42m-5.42 8.13H5"/><path stroke="#ea5e5e" d="M2.45 5.16h4.06m12.2 5.42h6.77M2.48 16h1.35m6.77 2.71h5.42m-13.5 10.8h6.77"/><path stroke="#f7b93e" d="M9.23 5.16h13.5m-20.3 5.42h2.71m13.5 2.71h6.77M6.41 16h4.06m-4.06 5.42h12.2m-10.8 5.42h1.35"/><path stroke="#bf85bf" d="M14.6 7.87h5.42m-17.6 5.42h6.77m9.48 5.42h4.06m-20.3 2.71h1.35m-1.35 2.71H9.2"/><path stroke="#4d616e" d="M21.4 2.45h8.13m-4.06 2.71h4.06m-2.71 2.71h2.71m-17.6 2.71h4.06m12.2 0h1.35m-17.6 2.71H16m12.2 0h1.35M26.84 16h2.71m-4.06 2.71h4.06m-8.13 2.71h2.71m2.71 0h2.71m-17.6 2.71h2.71m2.71 0h12.2m-17.6 2.71h5.42m2.71 0h1.35m2.71 0h5.42m-17.6 2.71h8.13m2.71 0h6.77" opacity=".5"/></g>'},dG={width:32,height:32,body:'<path fill="#d2d2d2" fill-rule="evenodd" d="m25.21 24.21l-12.471 3.718a.525.525 0 0 1-.667-.606l4.456-21.511a.43.43 0 0 1 .809-.094l8.249 17.661a.6.6 0 0 1-.376.832m2.139-.878L17.8 2.883A1.53 1.53 0 0 0 16.491 2a1.51 1.51 0 0 0-1.4.729L4.736 19.648a1.59 1.59 0 0 0 .018 1.7l5.064 7.909a1.63 1.63 0 0 0 1.83.678l14.7-4.383a1.6 1.6 0 0 0 1-2.218Z"/>'},fG={width:32,height:32,body:'<path fill="#d44235" d="m5.218 11.768l2.429-3.312h6.623l-5.74 7.728H5.218z"/><path fill="#f7bb07" d="M23.175 15.816h3.46v4.49l-2.503 3.237h-6.476z"/><path fill="#4081ec" d="M2.348 16.037c0-.399.007-.402 2.87-4.269l9.052 11.775H7.794c-5.443-7.047-5.446-7.056-5.446-7.506"/><path fill="#0f9855" d="M17.656 8.456h6.402c5.358 7 5.59 7.26 5.594 7.58c.003.322-.047.469-3.018 4.27z"/>'},hG={width:32,height:32,body:'<defs><linearGradient id="SVGg4rxgcri" x1="-133.268" x2="-133.198" y1="-202.91" y2="-202.84" gradientTransform="matrix(189.38 0 0 189.81 25243.061 38519.17)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#387eb8"/><stop offset="1" stop-color="#366994"/></linearGradient><linearGradient id="SVG5ouQmWbV" x1="-133.575" x2="-133.495" y1="-203.203" y2="-203.133" gradientTransform="matrix(189.38 0 0 189.81 25309.061 38583.42)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffe052"/><stop offset="1" stop-color="#ffc331"/></linearGradient></defs><path fill="url(#SVGg4rxgcri)" d="M15.885 2.1c-7.1 0-6.651 3.07-6.651 3.07v3.19h6.752v1H6.545S2 8.8 2 16.005s4.013 6.912 4.013 6.912H8.33v-3.361s-.13-4.013 3.9-4.013h6.762s3.772.06 3.772-3.652V5.8s.572-3.712-6.842-3.712Zm-3.732 2.137a1.214 1.214 0 1 1-1.183 1.244v-.02a1.214 1.214 0 0 1 1.214-1.214Z"/><path fill="url(#SVG5ouQmWbV)" d="M16.085 29.91c7.1 0 6.651-3.08 6.651-3.08v-3.18h-6.751v-1h9.47S30 23.158 30 15.995s-4.013-6.912-4.013-6.912H23.64V12.4s.13 4.013-3.9 4.013h-6.765S9.2 16.356 9.2 20.068V26.2s-.572 3.712 6.842 3.712h.04Zm3.732-2.147A1.214 1.214 0 1 1 21 26.519v.03a1.214 1.214 0 0 1-1.214 1.214z"/>'},pG={width:32,height:32,body:'<circle cx="16" cy="15.974" r="2.5" fill="#00d8ff"/><path fill="#00d8ff" d="M16 21.706a28.4 28.4 0 0 1-8.88-1.2a11.3 11.3 0 0 1-3.657-1.958A3.54 3.54 0 0 1 2 15.974c0-1.653 1.816-3.273 4.858-4.333A28.8 28.8 0 0 1 16 10.293a28.7 28.7 0 0 1 9.022 1.324a11.4 11.4 0 0 1 3.538 1.866A3.4 3.4 0 0 1 30 15.974c0 1.718-2.03 3.459-5.3 4.541a28.8 28.8 0 0 1-8.7 1.191m0-10.217a28 28 0 0 0-8.749 1.282c-2.8.977-4.055 2.313-4.055 3.2c0 .928 1.349 2.387 4.311 3.4A27.2 27.2 0 0 0 16 20.51a27.6 27.6 0 0 0 8.325-1.13C27.4 18.361 28.8 16.9 28.8 15.974a2.33 2.33 0 0 0-1.01-1.573a10.2 10.2 0 0 0-3.161-1.654A27.5 27.5 0 0 0 16 11.489"/><path fill="#00d8ff" d="M10.32 28.443a2.64 2.64 0 0 1-1.336-.328c-1.432-.826-1.928-3.208-1.327-6.373a28.8 28.8 0 0 1 3.4-8.593a28.7 28.7 0 0 1 5.653-7.154a11.4 11.4 0 0 1 3.384-2.133a3.4 3.4 0 0 1 2.878 0c1.489.858 1.982 3.486 1.287 6.859a28.8 28.8 0 0 1-3.316 8.133a28.4 28.4 0 0 1-5.476 7.093a11.3 11.3 0 0 1-3.523 2.189a4.9 4.9 0 0 1-1.624.307m1.773-14.7a28 28 0 0 0-3.26 8.219c-.553 2.915-.022 4.668.75 5.114c.8.463 2.742.024 5.1-2.036a27.2 27.2 0 0 0 5.227-6.79a27.6 27.6 0 0 0 3.181-7.776c.654-3.175.089-5.119-.713-5.581a2.33 2.33 0 0 0-1.868.089A10.2 10.2 0 0 0 17.5 6.9a27.5 27.5 0 0 0-5.4 6.849Z"/><path fill="#00d8ff" d="M21.677 28.456c-1.355 0-3.076-.82-4.868-2.361a28.8 28.8 0 0 1-5.747-7.237a28.7 28.7 0 0 1-3.374-8.471a11.4 11.4 0 0 1-.158-4A3.4 3.4 0 0 1 8.964 3.9c1.487-.861 4.01.024 6.585 2.31a28.8 28.8 0 0 1 5.39 6.934a28.4 28.4 0 0 1 3.41 8.287a11.3 11.3 0 0 1 .137 4.146a3.54 3.54 0 0 1-1.494 2.555a2.6 2.6 0 0 1-1.315.324m-9.58-10.2a28 28 0 0 0 5.492 6.929c2.249 1.935 4.033 2.351 4.8 1.9c.8-.465 1.39-2.363.782-5.434A27.2 27.2 0 0 0 19.9 13.74a27.6 27.6 0 0 0-5.145-6.64c-2.424-2.152-4.39-2.633-5.191-2.169a2.33 2.33 0 0 0-.855 1.662a10.2 10.2 0 0 0 .153 3.565a27.5 27.5 0 0 0 3.236 8.1Z"/>'},mG={width:32,height:32,body:'<circle cx="16" cy="15.974" r="2.5" fill="#007acc"/><path fill="#007acc" d="M16 21.706a28.4 28.4 0 0 1-8.88-1.2a11.3 11.3 0 0 1-3.657-1.958A3.54 3.54 0 0 1 2 15.974c0-1.653 1.816-3.273 4.858-4.333A28.8 28.8 0 0 1 16 10.293a28.7 28.7 0 0 1 9.022 1.324a11.4 11.4 0 0 1 3.538 1.866A3.4 3.4 0 0 1 30 15.974c0 1.718-2.03 3.459-5.3 4.541a28.8 28.8 0 0 1-8.7 1.191m0-10.217a28 28 0 0 0-8.749 1.282c-2.8.977-4.055 2.313-4.055 3.2c0 .928 1.349 2.387 4.311 3.4A27.2 27.2 0 0 0 16 20.51a27.6 27.6 0 0 0 8.325-1.13C27.4 18.361 28.8 16.9 28.8 15.974a2.33 2.33 0 0 0-1.01-1.573a10.2 10.2 0 0 0-3.161-1.654A27.5 27.5 0 0 0 16 11.489"/><path fill="#007acc" d="M10.32 28.443a2.64 2.64 0 0 1-1.336-.328c-1.432-.826-1.928-3.208-1.327-6.373a28.8 28.8 0 0 1 3.4-8.593a28.7 28.7 0 0 1 5.653-7.154a11.4 11.4 0 0 1 3.384-2.133a3.4 3.4 0 0 1 2.878 0c1.489.858 1.982 3.486 1.287 6.859a28.8 28.8 0 0 1-3.316 8.133a28.4 28.4 0 0 1-5.476 7.093a11.3 11.3 0 0 1-3.523 2.189a4.9 4.9 0 0 1-1.624.307m1.773-14.7a28 28 0 0 0-3.26 8.219c-.553 2.915-.022 4.668.75 5.114c.8.463 2.742.024 5.1-2.036a27.2 27.2 0 0 0 5.227-6.79a27.6 27.6 0 0 0 3.181-7.776c.654-3.175.089-5.119-.713-5.581a2.33 2.33 0 0 0-1.868.089A10.2 10.2 0 0 0 17.5 6.9a27.5 27.5 0 0 0-5.4 6.849Z"/><path fill="#007acc" d="M21.677 28.456c-1.355 0-3.076-.82-4.868-2.361a28.8 28.8 0 0 1-5.747-7.237a28.7 28.7 0 0 1-3.374-8.471a11.4 11.4 0 0 1-.158-4A3.4 3.4 0 0 1 8.964 3.9c1.487-.861 4.01.024 6.585 2.31a28.8 28.8 0 0 1 5.39 6.934a28.4 28.4 0 0 1 3.41 8.287a11.3 11.3 0 0 1 .137 4.146a3.54 3.54 0 0 1-1.494 2.555a2.6 2.6 0 0 1-1.315.324m-9.58-10.2a28 28 0 0 0 5.492 6.929c2.249 1.935 4.033 2.351 4.8 1.9c.8-.465 1.39-2.363.782-5.434A27.2 27.2 0 0 0 19.9 13.74a27.6 27.6 0 0 0-5.145-6.64c-2.424-2.152-4.39-2.633-5.191-2.169a2.33 2.33 0 0 0-.855 1.662a10.2 10.2 0 0 0 .153 3.565a27.5 27.5 0 0 0 3.236 8.1Z"/>'},gG={width:32,height:32,body:'<defs><linearGradient id="SVGiqgdicjk" x1="-235.957" x2="-235.986" y1="-308.579" y2="-308.527" gradientTransform="matrix(202.935 0 0 -202.78 47910.461 -62541.16)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fb7655"/><stop offset=".41" stop-color="#e42b1e"/><stop offset=".99" stop-color="#900"/><stop offset="1" stop-color="#900"/></linearGradient><linearGradient id="SVGF9aq9cWt" x1="-235.571" x2="-235.697" y1="-309.087" y2="-309.041" gradientTransform="matrix(60.308 0 0 -111.778 14236.351 -34525.395)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#871101"/><stop offset=".99" stop-color="#911209"/><stop offset="1" stop-color="#911209"/></linearGradient><linearGradient id="SVG0HSePCnb" x1="-235.896" x2="-235.937" y1="-313.362" y2="-313.129" gradientTransform="matrix(188.32 0 0 -21.986 44447.302 -6856.882)" href="#SVGF9aq9cWt"/><linearGradient id="SVGvb2glb6k" x1="-233.515" x2="-233.497" y1="-309.082" y2="-309.161" gradientTransform="matrix(65.222 0 0 -97.1 15237.802 -29991.814)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".23" stop-color="#e57252"/><stop offset=".46" stop-color="#de3b20"/><stop offset=".99" stop-color="#a60003"/><stop offset="1" stop-color="#a60003"/></linearGradient><linearGradient id="SVG6loDUcxZ" x1="-235.314" x2="-235.31" y1="-309.534" y2="-309.607" gradientTransform="matrix(105.32 0 0 -106.825 24798.925 -33053.152)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".23" stop-color="#e4714e"/><stop offset=".56" stop-color="#be1a0d"/><stop offset=".99" stop-color="#a80d00"/><stop offset="1" stop-color="#a80d00"/></linearGradient><linearGradient id="SVG6FPKXbvK" x1="-235.882" x2="-235.869" y1="-311.851" y2="-311.935" gradientTransform="matrix(94.321 0 0 -66.418 22271.499 -20707.004)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".18" stop-color="#e46342"/><stop offset=".4" stop-color="#c82410"/><stop offset=".99" stop-color="#a80d00"/><stop offset="1" stop-color="#a80d00"/></linearGradient><linearGradient id="SVGLCWrsbYP" x1="-235.412" x2="-235.333" y1="-321.074" y2="-320.958" gradientTransform="matrix(70.767 0 0 -24.301 16678.116 -7798.647)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".54" stop-color="#c81f11"/><stop offset=".99" stop-color="#bf0905"/><stop offset="1" stop-color="#bf0905"/></linearGradient><linearGradient id="SVGf5jZBbJL" x1="-223.821" x2="-223.796" y1="-310.116" y2="-310.18" gradientTransform="matrix(18.177 0 0 -72.645 4071.017 -22510.233)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset=".31" stop-color="#de4024"/><stop offset=".99" stop-color="#bf190b"/><stop offset="1" stop-color="#bf190b"/></linearGradient><linearGradient id="SVGQfUwFbKt" x1="-235.561" x2="-235.424" y1="-309.258" y2="-309.116" gradientTransform="matrix(158.162 0 0 -157.937 37256.313 -48819.382)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#bd0012"/><stop offset=".07" stop-color="#fff"/><stop offset=".17" stop-color="#fff"/><stop offset=".27" stop-color="#c82f1c"/><stop offset=".33" stop-color="#820c01"/><stop offset=".46" stop-color="#a31601"/><stop offset=".72" stop-color="#b31301"/><stop offset=".99" stop-color="#e82609"/><stop offset="1" stop-color="#e82609"/></linearGradient><linearGradient id="SVGSsKSoh4f" x1="-235.424" x2="-235.476" y1="-309.143" y2="-309.126" gradientTransform="matrix(127.074 0 0 -97.409 29932.229 -30086.947)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#8c0c01"/><stop offset=".54" stop-color="#990c00"/><stop offset=".99" stop-color="#a80d0e"/><stop offset="1" stop-color="#a80d0e"/></linearGradient><linearGradient id="SVG9U0cHUGc" x1="-235.839" x2="-235.901" y1="-309.604" y2="-309.555" gradientTransform="matrix(94.011 0 0 -105.603 22198.743 -32676.856)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#7e110b"/><stop offset=".99" stop-color="#9e0c00"/><stop offset="1" stop-color="#9e0c00"/></linearGradient><linearGradient id="SVGdb3on5po" x1="-235.854" x2="-235.891" y1="-311.24" y2="-311.202" gradientTransform="matrix(79.702 0 0 -81.791 18827.397 -25447.905)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#79130d"/><stop offset=".99" stop-color="#9e120b"/><stop offset="1" stop-color="#9e120b"/></linearGradient><linearGradient id="SVGkA2IRbug" x1="-231.241" x2="-231.299" y1="-309.435" y2="-309.337" gradientTransform="matrix(40.137 0 0 -81.143 9286.998 -25078.589)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#8b2114"/><stop offset=".43" stop-color="#9e100a"/><stop offset=".99" stop-color="#b3100c"/><stop offset="1" stop-color="#b3100c"/></linearGradient><linearGradient id="SVGLvLZ24gI" x1="-235.898" x2="-235.831" y1="-317.466" y2="-317.537" gradientTransform="matrix(78.099 0 0 -32.624 18447.361 -10353.553)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#b31000"/><stop offset=".44" stop-color="#910f08"/><stop offset=".99" stop-color="#791c12"/><stop offset="1" stop-color="#791c12"/></linearGradient><radialGradient id="SVGfvaUndTF" cx="-235.882" cy="-312.543" r=".076" gradientTransform="matrix(93.113 0 0 -48.655 21986.073 -15193.61)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#a80d00"/><stop offset=".99" stop-color="#7e0e08"/><stop offset="1" stop-color="#7e0e08"/></radialGradient><radialGradient id="SVGv1rGLeXK" cx="-235.282" cy="-309.704" r=".097" gradientTransform="matrix(97.434 0 0 -75.848 22937.057 -23467.84)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#a30c00"/><stop offset=".99" stop-color="#800e08"/><stop offset="1" stop-color="#800e08"/></radialGradient></defs><path fill="url(#SVGiqgdicjk)" d="M23.693 20.469L7.707 29.961l20.7-1.4L30 7.685Z"/><path fill="url(#SVGF9aq9cWt)" d="m28.44 28.542l-1.779-12.279l-4.846 6.4Z"/><path fill="url(#SVG0HSePCnb)" d="M28.464 28.542L15.43 27.519l-7.654 2.415Z"/><path fill="url(#SVGvb2glb6k)" d="M7.794 29.937L11.05 19.27L3.885 20.8Z"/><path fill="url(#SVG6loDUcxZ)" d="m21.813 22.7l-3-11.735L10.243 19Z"/><path fill="url(#SVG6FPKXbvK)" d="m29.32 11.127l-8.1-6.619l-2.257 7.3Z"/><path fill="url(#SVGLCWrsbYP)" d="m25.53 2.148l-4.767 2.634l-3.007-2.67Z"/><path fill="url(#SVGf5jZBbJL)" d="m2 24.38l2-3.642L2.382 16.4Z"/><path fill="#fff" d="m2.274 16.263l1.626 4.61l7.062-1.584l8.062-7.489L21.3 4.569l-3.583-2.53l-6.091 2.28C9.706 6.1 5.982 9.635 5.848 9.7s-2.459 4.464-3.574 6.562Z"/><path fill="url(#SVGQfUwFbKt)" d="M7.981 7.981C12.14 3.858 17.5 1.421 19.559 3.5s-.124 7.121-4.283 11.244s-9.455 6.69-11.511 4.614s.057-7.258 4.216-11.377"/><path fill="url(#SVGSsKSoh4f)" d="m7.794 29.933l3.231-10.7l10.729 3.447c-3.879 3.638-8.194 6.713-13.96 7.254Z"/><path fill="url(#SVG9U0cHUGc)" d="m19.038 11.774l2.754 10.91c3.24-3.407 6.149-7.07 7.573-11.6z"/><path fill="url(#SVGdb3on5po)" d="M29.337 11.139c1.1-3.327 1.357-8.1-3.841-8.985l-4.265 2.355z"/><path fill="#9e1209" d="M2 24.332c.153 5.49 4.114 5.572 5.8 5.62l-3.9-9.1z"/><path fill="url(#SVGfvaUndTF)" d="M19.053 11.791c2.49 1.531 7.509 4.6 7.61 4.661a17.6 17.6 0 0 0 2.619-5.343z"/><path fill="url(#SVGv1rGLeXK)" d="m11.021 19.232l4.319 8.332a28 28 0 0 0 6.385-4.88l-10.7-3.452Z"/><path fill="url(#SVGkA2IRbug)" d="m3.887 20.861l-.612 7.287c1.155 1.577 2.743 1.714 4.409 1.591c-1.205-3-3.614-9-3.8-8.878Z"/><path fill="url(#SVGLvLZ24gI)" d="m21.206 4.528l8.58 1.2c-.458-1.94-1.864-3.192-4.261-3.584l-4.319 2.38Z"/>'},EG={width:32,height:32,body:'<defs><radialGradient id="SVGZmFlvcVj" cx="-492.035" cy="-883.37" r="13.998" gradientTransform="matrix(.866 -.5 -.3 -.52 177.106 -689.033)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#7d7d7d"/><stop offset=".267" stop-color="#7e7c7a"/><stop offset=".45" stop-color="#817871"/><stop offset=".608" stop-color="#867162"/><stop offset=".753" stop-color="#8d684c"/><stop offset=".886" stop-color="#965c30"/><stop offset="1" stop-color="#a04f12"/></radialGradient></defs><path fill="url(#SVGZmFlvcVj)" d="M15.124 5.3a.832.832 0 1 1 .832.832a.83.83 0 0 1-.832-.832M5.2 12.834a.832.832 0 1 1 .832.832a.83.83 0 0 1-.832-.832m19.856.039a.832.832 0 1 1 .832.832a.83.83 0 0 1-.832-.832m-17.451 1.14a.76.76 0 0 0 .386-1l-.369-.835h1.452v6.545h-2.93a10.3 10.3 0 0 1-.332-3.911Zm6.074.161v-1.929h3.458c.179 0 1.261.206 1.261 1.016c0 .672-.83.913-1.513.913ZM8.958 24.561a.832.832 0 1 1 .832.832a.83.83 0 0 1-.832-.832m12.331.039a.832.832 0 1 1 .832.832a.83.83 0 0 1-.832-.832m.257-1.887a.76.76 0 0 0-.9.584l-.418 1.949a10.25 10.25 0 0 1-8.545-.041l-.417-1.949a.76.76 0 0 0-.9-.583l-1.721.37a10 10 0 0 1-.89-1.049h8.374c.095 0 .158-.017.158-.1v-2.966c0-.086-.063-.1-.158-.1h-2.45v-1.881h2.649a1.665 1.665 0 0 1 1.629 1.412c.105.413.336 1.757.494 2.187c.157.483.8 1.447 1.482 1.447h4.323a10 10 0 0 1-.949 1.1Zm4.65-7.821a10.3 10.3 0 0 1 .022 1.779h-1.051c-.105 0-.148.069-.148.172v.483c0 1.136-.641 1.384-1.2 1.447c-.535.06-1.128-.224-1.2-.551a3.62 3.62 0 0 0-1.671-2.808c1.03-.654 2.1-1.619 2.1-2.911A3.29 3.29 0 0 0 21.44 9.8a4.56 4.56 0 0 0-2.2-.724H8.367A10.25 10.25 0 0 1 14.1 5.84l1.282 1.344a.76.76 0 0 0 1.072.026l1.434-1.372a10.25 10.25 0 0 1 7.015 5l-.982 2.217a.76.76 0 0 0 .386 1Zm2.448.036l-.033-.343l1.011-.943a.42.42 0 0 0-.013-.595a.4.4 0 0 0-.121-.081l-1.288-.483l-.1-.334l.806-1.12a.42.42 0 0 0-.13-.581a.4.4 0 0 0-.133-.055l-1.363-.222l-.164-.306l.573-1.257a.42.42 0 0 0-.236-.544a.4.4 0 0 0-.146-.029l-1.383.048l-.224-.264l.318-1.347a.42.42 0 0 0-.343-.487a.4.4 0 0 0-.144 0l-1.348.315l-.266-.219l.049-1.381a.42.42 0 0 0-.431-.411a.4.4 0 0 0-.141.028l-1.257.573l-.306-.164l-.222-1.363a.42.42 0 0 0-.5-.318a.4.4 0 0 0-.133.055l-1.121.806l-.333-.1l-.483-1.293a.42.42 0 0 0-.555-.215a.4.4 0 0 0-.12.08l-.946 1.012l-.343-.033l-.728-1.177a.42.42 0 0 0-.688 0l-.728 1.177l-.343.033l-.943-1.012a.42.42 0 0 0-.595.015a.4.4 0 0 0-.08.12L12.483 3.8l-.333.1l-1.12-.8a.42.42 0 0 0-.581.13a.4.4 0 0 0-.055.133l-.222 1.363l-.306.164l-1.258-.573a.42.42 0 0 0-.544.239a.4.4 0 0 0-.028.144l.048 1.383l-.266.217l-1.347-.316a.42.42 0 0 0-.487.343a.4.4 0 0 0 0 .144L6.3 7.819l-.218.265L4.7 8.036a.422.422 0 0 0-.383.573l.573 1.257l-.164.306l-1.363.222a.42.42 0 0 0-.318.5a.4.4 0 0 0 .055.133l.806 1.12l-.1.334l-1.293.483a.42.42 0 0 0-.215.555a.4.4 0 0 0 .081.121l1.011.943l-.033.343l-1.177.728a.42.42 0 0 0 0 .688l1.177.728l.033.343l-1.011.943a.42.42 0 0 0 .015.595a.4.4 0 0 0 .119.08l1.293.483l.1.334l-.806 1.124a.42.42 0 0 0 .131.581a.4.4 0 0 0 .133.055l1.363.222l.164.307l-.573 1.257a.42.42 0 0 0 .24.545a.4.4 0 0 0 .143.028l1.383-.048l.219.266l-.317 1.348a.42.42 0 0 0 .341.486a.4.4 0 0 0 .146 0l1.345-.319l.266.218l-.049 1.382a.42.42 0 0 0 .429.41a.4.4 0 0 0 .143-.028l1.257-.573l.306.164l.222 1.362a.42.42 0 0 0 .5.319a.4.4 0 0 0 .133-.055l1.12-.807l.334.1l.483 1.292a.42.42 0 0 0 .556.214a.4.4 0 0 0 .119-.08l.943-1.011l.343.034l.728 1.177a.42.42 0 0 0 .588.1a.4.4 0 0 0 .1-.1l.728-1.177l.343-.034l.943 1.011a.42.42 0 0 0 .595-.015a.4.4 0 0 0 .08-.119l.483-1.292l.334-.1l1.12.807a.42.42 0 0 0 .581-.131a.4.4 0 0 0 .055-.133l.222-1.362l.306-.164l1.257.573a.42.42 0 0 0 .544-.239a.4.4 0 0 0 .028-.143l-.048-1.384l.265-.218l1.347.317a.42.42 0 0 0 .487-.34a.5.5 0 0 0 0-.146l-.309-1.346l.218-.266l1.383.048a.42.42 0 0 0 .41-.431a.4.4 0 0 0-.028-.142l-.573-1.257l.164-.307l1.363-.222a.42.42 0 0 0 .319-.5a.4.4 0 0 0-.056-.135l-.806-1.12l.1-.334l1.293-.483a.42.42 0 0 0 .215-.554a.4.4 0 0 0-.081-.121l-1.011-.943l.033-.343l1.177-.728a.42.42 0 0 0 0-.688Z"/>'},yG={width:32,height:32,body:'<path fill="#cd6799" d="M26.11 17.572a5.8 5.8 0 0 0-2.537.588a5.4 5.4 0 0 1-.568-1.314a3.5 3.5 0 0 1-.051-1.1a10 10 0 0 1 .332-1.192c-.005-.051-.061-.292-.624-.3s-1.048.107-1.1.256a6 6 0 0 0-.235.834a19.7 19.7 0 0 1-1.713 3.294a3.2 3.2 0 0 1-.44-2.066a10 10 0 0 1 .332-1.192c-.005-.051-.061-.292-.624-.3s-1.048.107-1.1.256s-.118.5-.235.834s-1.483 3.386-1.841 4.173c-.184.4-.343.726-.455.946a.2.2 0 0 1-.02.041l-.153.292v.005c-.077.138-.159.266-.2.266a1.7 1.7 0 0 1 .01-.869c.2-1.059.69-2.705.685-2.762c0-.031.092-.317-.317-.465a.51.51 0 0 0-.578.1c-.036 0-.061.087-.061.087s.445-1.851-.849-1.851a3.86 3.86 0 0 0-2.475 1.683c-.348.189-1.089.593-1.882 1.028c-.3.169-.614.338-.905.5c-.02-.02-.041-.046-.061-.066C6.87 17.6 3.975 16.416 4.1 14.171c.046-.818.327-2.966 5.559-5.575c4.306-2.122 7.733-1.534 8.326-.23c.849 1.862-1.836 5.319-6.285 5.82a3.35 3.35 0 0 1-2.813-.711c-.235-.256-.271-.271-.358-.22c-.143.077-.051.307 0 .44a2.63 2.63 0 0 0 1.606 1.263a8.55 8.55 0 0 0 5.217-.517c2.7-1.043 4.8-3.943 4.184-6.372c-.619-2.465-4.71-3.278-8.582-1.9a19.5 19.5 0 0 0-6.595 3.783c-2.133 1.995-2.47 3.728-2.332 4.455c.5 2.578 4.051 4.255 5.472 5.5l-.194.107c-.711.353-3.421 1.77-4.1 3.268c-.767 1.7.123 2.915.711 3.079a4.37 4.37 0 0 0 4.71-1.908a4.72 4.72 0 0 0 .423-4.353a.1.1 0 0 0-.02-.031l.557-.327a27 27 0 0 1 1.028-.578a6.7 6.7 0 0 0-.363 1.862a3.9 3.9 0 0 0 .834 2.7a.92.92 0 0 0 .675.22c.6 0 .875-.5 1.176-1.094c.368-.726.7-1.57.7-1.57s-.414 2.281.711 2.281c.409 0 .823-.532 1.008-.8v.005l.031-.051l.066-.107v-.01c.164-.286.532-.936 1.079-2.015c.706-1.391 1.386-3.13 1.386-3.13a9 9 0 0 0 .271 1.13a11 11 0 0 0 .583 1.309c-.164.23-.266.358-.266.358l.005.005c-.133.174-.276.363-.435.547a16 16 0 0 0-1.314 1.647a.447.447 0 0 0 .123.6a1.1 1.1 0 0 0 .685.113a3.2 3.2 0 0 0 1.028-.235a3.5 3.5 0 0 0 .885-.465a1.98 1.98 0 0 0 .849-1.744a3.5 3.5 0 0 0-.322-1.233q.076-.107.148-.215a23 23 0 0 0 1.534-2.649a9 9 0 0 0 .271 1.13a7.6 7.6 0 0 0 .5 1.125a4.86 4.86 0 0 0-1.497 1.922c-.322.931-.072 1.35.4 1.447a1.4 1.4 0 0 0 .747-.153a3.4 3.4 0 0 0 .946-.486a2.13 2.13 0 0 0 1.043-1.729a3.3 3.3 0 0 0-.235-1.023a5.36 5.36 0 0 1 2.716-.312c2.434.286 2.915 1.805 2.823 2.445a1.62 1.62 0 0 1-.772 1.094c-.169.107-.225.143-.21.22c.02.113.1.107.245.087A1.9 1.9 0 0 0 30 20.7c.077-1.5-1.355-3.145-3.887-3.13ZM7.33 23.9c-.808.88-1.933 1.212-2.419.931c-.522-.3-.317-1.6.675-2.532a13 13 0 0 1 1.9-1.417c.118-.072.292-.174.5-.3l.056-.031l.123-.077A3.49 3.49 0 0 1 7.33 23.9m5.881-4c-.281.685-.869 2.44-1.227 2.342c-.307-.082-.5-1.412-.061-2.726a6.2 6.2 0 0 1 .956-1.754c.44-.491.926-.655 1.043-.455a9 9 0 0 1-.711 2.593m4.853 2.322c-.118.061-.23.1-.281.072c-.036-.02.051-.1.051-.1s.609-.655.849-.951c.138-.174.3-.378.476-.609v.066c0 .782-.757 1.309-1.094 1.524Zm3.744-.854c-.087-.061-.072-.266.22-.905a3.4 3.4 0 0 1 .834-1.074a1.5 1.5 0 0 1 .082.471a1.55 1.55 0 0 1-1.135 1.509Z"/>'},bG={width:32,height:32,body:'<path fill="#d9b400" d="M29.4 27.6H2.5V4.5h26.9Zm-25.9-1h24.9V5.5H3.5Z"/><path fill="#d9b400" d="m6.077 19.316l-.555-.832l4.844-3.229l-4.887-4.071l.641-.768l5.915 4.928zM12.7 18.2h7.8v1h-7.8zM2.5 5.5h26.9v1.9H2.5z"/>'},vG={width:32,height:32,body:'<path fill="#ffda44" d="M8.562 15.256A21.2 21.2 0 0 0 16 16.449a21.2 21.2 0 0 0 7.438-1.194c1.864-.727 2.525-1.535 2.525-2V9.7a10.4 10.4 0 0 1-2.084 1.076A22.3 22.3 0 0 1 16 12.078a22.4 22.4 0 0 1-7.879-1.3A10.3 10.3 0 0 1 6.037 9.7v3.55c0 .474.663 1.278 2.525 2.006m0 6.705a15.6 15.6 0 0 0 2.6.741a25 25 0 0 0 4.838.453a25 25 0 0 0 4.838-.452a15.6 15.6 0 0 0 2.6-.741c1.864-.727 2.525-1.535 2.525-2v-3.39a10.7 10.7 0 0 1-1.692.825A23.5 23.5 0 0 1 16 18.74a23.5 23.5 0 0 1-8.271-1.348a11 11 0 0 1-1.692-.825v3.393c0 .466.663 1.271 2.525 2.001M16 30c5.5 0 9.963-1.744 9.963-3.894v-2.837a10.5 10.5 0 0 1-1.535.762l-.157.063A23.5 23.5 0 0 1 16 25.445a23.4 23.4 0 0 1-8.271-1.351l-.157-.063a10.5 10.5 0 0 1-1.535-.762v2.837C6.037 28.256 10.5 30 16 30"/><ellipse cx="16" cy="5.894" fill="#ffda44" rx="9.963" ry="3.894"/>'},CG={width:32,height:32,body:'<path fill="#ff3e00" d="M26.47 5.7a8.973 8.973 0 0 0-11.793-2.454L7.96 7.4a7.46 7.46 0 0 0-3.481 5.009a7.7 7.7 0 0 0 .8 5.058a7.4 7.4 0 0 0-1.151 2.8a7.8 7.8 0 0 0 1.4 6.028a8.977 8.977 0 0 0 11.794 2.458L24.04 24.6a7.47 7.47 0 0 0 3.481-5.009a7.67 7.67 0 0 0-.8-5.062a7.35 7.35 0 0 0 1.152-2.8A7.8 7.8 0 0 0 26.47 5.7"/><path fill="#fff" d="M14.022 26.64A5.41 5.41 0 0 1 8.3 24.581a4.68 4.68 0 0 1-.848-3.625a4 4 0 0 1 .159-.61l.127-.375l.344.238a8.8 8.8 0 0 0 2.628 1.274l.245.073l-.025.237a1.44 1.44 0 0 0 .271.968a1.63 1.63 0 0 0 1.743.636a1.5 1.5 0 0 0 .411-.175l6.7-4.154a1.37 1.37 0 0 0 .633-.909a1.4 1.4 0 0 0-.244-1.091a1.63 1.63 0 0 0-1.726-.622a1.5 1.5 0 0 0-.413.176l-2.572 1.584a5 5 0 0 1-1.364.582a5.415 5.415 0 0 1-5.727-2.06a4.68 4.68 0 0 1-.831-3.628A4.5 4.5 0 0 1 9.9 10.09l6.708-4.154a5 5 0 0 1 1.364-.581A5.41 5.41 0 0 1 23.7 7.414a4.68 4.68 0 0 1 .848 3.625a4 4 0 0 1-.159.61l-.127.375l-.344-.237a8.7 8.7 0 0 0-2.628-1.274l-.245-.074l.025-.237a1.44 1.44 0 0 0-.272-.968a1.63 1.63 0 0 0-1.725-.622a1.5 1.5 0 0 0-.411.176l-6.722 4.14a1.35 1.35 0 0 0-.631.908a1.4 1.4 0 0 0 .244 1.092a1.63 1.63 0 0 0 1.726.621a1.5 1.5 0 0 0 .413-.175l2.562-1.585a4.9 4.9 0 0 1 1.364-.581a5.42 5.42 0 0 1 5.728 2.059a4.68 4.68 0 0 1 .843 3.625a4.5 4.5 0 0 1-2.089 3.013l-6.707 4.154a4.9 4.9 0 0 1-1.364.581"/>'},kG={width:32,height:32,body:'<path fill="#ffb13b" stroke="#000" stroke-width="3.73" d="M7.674 14.488a2.218 2.218 0 1 0 0 3.137h16.652a2.218 2.218 0 1 0 0-3.137Z"/><path fill="#ffb13b" stroke="#000" stroke-width="3.73" d="M11.222 9.06A2.218 2.218 0 1 0 9 11.278l11.778 11.774A2.218 2.218 0 1 0 23 20.834Z"/><path fill="#ffb13b" stroke="#000" stroke-width="3.73" d="M17.568 7.73a2.218 2.218 0 1 0-3.137 0v16.652a2.218 2.218 0 1 0 3.137 0Z"/><path fill="#ffb13b" stroke="#000" stroke-width="3.73" d="M23 11.278a2.218 2.218 0 1 0-2.222-2.218L9 20.834a2.218 2.218 0 1 0 2.218 2.218Z"/><path fill="#ffb13b" d="M7.674 14.488a2.218 2.218 0 1 0 0 3.137h16.652a2.218 2.218 0 1 0 0-3.137Z"/><path fill="#ffb13b" d="M11.222 9.06A2.218 2.218 0 1 0 9 11.278l11.778 11.774A2.218 2.218 0 1 0 23 20.834Z"/><path fill="#ffb13b" d="M17.568 7.73a2.218 2.218 0 1 0-3.137 0v16.652a2.218 2.218 0 1 0 3.137 0Z"/><path fill="#ffb13b" d="M23 11.278a2.218 2.218 0 1 0-2.222-2.218L9 20.834a2.218 2.218 0 1 0 2.218 2.218Z"/><path d="M2 16.056h28v9.894a4.035 4.035 0 0 1-4.106 4.106H6.106A4.035 4.035 0 0 1 2 25.95Z"/><path fill="#fff" d="M6.2 23.045a3.628 3.628 0 1 1 6.2-2.565h-2.13a1.5 1.5 0 1 0-2.57 1.061a1.6 1.6 0 0 0 1.062.441a4.12 4.12 0 0 1 2.566 1.063a3.628 3.628 0 1 1-6.194 2.565h2.13a1.5 1.5 0 1 0 2.566-1.06a1.95 1.95 0 0 0-1.063-.44A4.47 4.47 0 0 1 6.2 23.045m13.451-6.193L17.085 29.24H14.96L12.4 16.852h2.12l1.5 7.255l1.5-7.255Zm3.629 5.131h3.628v3.628a3.628 3.628 0 1 1-7.257 0V20.48a3.628 3.628 0 0 1 7.257 0h-2.125a1.5 1.5 0 1 0-3.005 0v5.13a1.5 1.5 0 0 0 3.005 0v-1.5h-1.5v-2.127Z"/>'},AG={width:32,height:32,body:'<defs><linearGradient id="SVGkG5neddW" x1="-134.494" x2="-134.497" y1="-171.82" y2="-171.89" gradientTransform="matrix(240 0 0 -205.6 32295 -35312.585)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f88535"/><stop offset="1" stop-color="#fd2221"/></linearGradient></defs><path fill="url(#SVGkG5neddW)" d="M19.422 4.007s6.217 3.554 7.844 9.2c1.466 5.1.292 7.534.292 7.534a8.9 8.9 0 0 1 1.742 2.8a4.83 4.83 0 0 1 .29 4.453s-.1-2.08-3.2-2.511c-2.841-.4-3.874 2.366-9.3 2.232A18.43 18.43 0 0 1 2 19.354C4.651 20.8 8.124 23.045 12.449 22.7s5.228-1.674 5.228-1.674A67 67 0 0 1 4.891 7.643c3.4 2.845 11.822 8.507 11.626 8.363A76 76 0 0 1 8.092 6.24s12.636 10.389 13.653 10.323c.418-.861 2.579-5.318-2.324-12.557Z"/>'},BG={width:32,height:32,body:'<path fill="#44a8b3" d="M9 13.7q1.4-5.6 7-5.6c5.6 0 6.3 4.2 9.1 4.9q2.8.7 4.9-2.1q-1.4 5.6-7 5.6c-5.6 0-6.3-4.2-9.1-4.9q-2.8-.7-4.9 2.1m-7 8.4q1.4-5.6 7-5.6c5.6 0 6.3 4.2 9.1 4.9q2.8.7 4.9-2.1q-1.4 5.6-7 5.6c-5.6 0-6.3-4.2-9.1-4.9q-2.8-.7-4.9 2.1"/>'},wG={width:32,height:32,body:'<path fill="#813cf3" d="m12.042 6.858l8.029 4.59v9.014l-8.029-4.594zM20.5 20.415l7.959-4.575V6.887L20.5 11.429zM3.541 11.01l8.03 4.589V6.59L3.541 2zm8.501 14.4L20.071 30v-9.043l-8.029-4.589z"/>'},DG={width:32,height:32,body:'<path fill="#c2c2c2" d="M22.038 2H6.375a1.755 1.755 0 0 0-1.75 1.75v24.5A1.755 1.755 0 0 0 6.375 30h19.25a1.755 1.755 0 0 0 1.75-1.75V6.856Zm.525 2.844l1.663 1.531h-1.663ZM6.375 28.25V3.75h14.438v4.375h4.813V28.25Z"/><path fill="#829ec2" d="M8.125 15.097h13.076v1.75H8.125zm0 9.342h9.762v1.75H8.125zm0-4.676h15.75v1.75H8.125zm0-9.533h15.75v1.75H8.125z"/>'},FG={width:32,height:32,body:'<path fill="#007acc" d="M23.827 8.243a4.4 4.4 0 0 1 2.223 1.281a6 6 0 0 1 .852 1.143c.011.045-1.534 1.083-2.471 1.662c-.034.023-.169-.124-.322-.35a2.01 2.01 0 0 0-1.67-1c-1.077-.074-1.771.49-1.766 1.433a1.3 1.3 0 0 0 .153.666c.237.49.677.784 2.059 1.383c2.544 1.095 3.636 1.817 4.31 2.843a5.16 5.16 0 0 1 .416 4.333a4.76 4.76 0 0 1-3.932 2.815a11 11 0 0 1-2.708-.028a6.53 6.53 0 0 1-3.616-1.884a6.3 6.3 0 0 1-.926-1.371a3 3 0 0 1 .327-.208c.158-.09.756-.434 1.32-.761l1.024-.6l.214.312a4.8 4.8 0 0 0 1.35 1.292a3.3 3.3 0 0 0 3.458-.175a1.545 1.545 0 0 0 .2-1.974c-.276-.395-.84-.727-2.443-1.422a8.8 8.8 0 0 1-3.349-2.055a4.7 4.7 0 0 1-.976-1.777a7.1 7.1 0 0 1-.062-2.268a4.33 4.33 0 0 1 3.644-3.374a9 9 0 0 1 2.691.084m-8.343 1.483l.011 1.454h-4.63v13.148H7.6V11.183H2.97V9.755a14 14 0 0 1 .04-1.466c.017-.023 2.832-.034 6.245-.028l6.211.017Z"/>'},SG={width:32,height:32,body:'<path fill="#00a23c" d="M23.814 8.2a4.44 4.44 0 0 1 2.229 1.284a6 6 0 0 1 .857 1.146c.011.045-1.538 1.086-2.478 1.666c-.034.023-.17-.124-.323-.351a2.02 2.02 0 0 0-1.675-1.007c-1.08-.074-1.776.492-1.771 1.436a1.3 1.3 0 0 0 .153.668c.237.492.679.786 2.064 1.386c2.551 1.1 3.645 1.822 4.321 2.851a5.17 5.17 0 0 1 .417 4.344a4.78 4.78 0 0 1-3.942 2.823a11 11 0 0 1-2.715-.028a6.55 6.55 0 0 1-3.626-1.889a6.3 6.3 0 0 1-.928-1.375a3 3 0 0 1 .328-.208c.158-.091.758-.435 1.324-.763l1.024-.594l.215.312a4.8 4.8 0 0 0 1.354 1.3a3.31 3.31 0 0 0 3.467-.175a1.55 1.55 0 0 0 .2-1.979c-.277-.4-.843-.729-2.45-1.426a8.8 8.8 0 0 1-3.358-2.06a4.7 4.7 0 0 1-.979-1.782a7.1 7.1 0 0 1-.062-2.274a4.34 4.34 0 0 1 3.654-3.383a9 9 0 0 1 2.7.078m-8.366 1.488l.011 1.458h-4.642v13.181H7.54V11.148H2.9V9.717a14 14 0 0 1 .04-1.471c.017-.023 2.839-.034 6.262-.028l6.227.017Z"/>'},MG={width:32,height:32,body:'<path fill="#e75749" d="M4.5 2.375A2.56 2.56 0 0 1 5.861 2h20.366a2.545 2.545 0 0 1 2.423 1.951a3.4 3.4 0 0 1 .072.862v11.176h-1.573a2 2 0 0 0-.22.022a5 5 0 0 0-.581-.011c-.3.007-.61-.014-.914.014a2.3 2.3 0 0 0-.4-.02h-4.739c-.2 0-.392.008-.587-.01l.1-.065l-6.353-3.813v3.889c-2.213-.005-4.427 0-6.64 0a2 2 0 0 0-.251.021c-.212-.032-.427-.016-.642-.016c-.284.006-.57-.015-.853.015a2 2 0 0 0-.253-.022H3.275c.006-3.635 0-7.27 0-10.9a4.8 4.8 0 0 1 .071-1.131A2.54 2.54 0 0 1 4.5 2.375m.54 2.188a.64.64 0 0 0-.489.606v1.316a.64.64 0 0 0 .627.6h1.309a.64.64 0 0 0 .6-.608c.005-.426 0-.853 0-1.279a.64.64 0 0 0-.329-.575a.7.7 0 0 0-.358-.078H5.264a1 1 0 0 0-.224.018m20.341 0a.64.64 0 0 0-.474.607v1.306a.64.64 0 0 0 .6.608c.436.005.872 0 1.308 0a.64.64 0 0 0 .627-.606c.006-.438 0-.876 0-1.314a.64.64 0 0 0-.594-.621c-.348-.009-.7 0-1.045 0a2 2 0 0 0-.422.024ZM5.042 8.38a.64.64 0 0 0-.452.4a1.1 1.1 0 0 0-.041.386v1.135a.637.637 0 0 0 .6.6c.4.008.795 0 1.192 0a.8.8 0 0 0 .395-.065a.64.64 0 0 0 .36-.574V8.983a.64.64 0 0 0-.6-.624c-.338-.008-.677 0-1.016 0a2.4 2.4 0 0 0-.438.021m20.338 0a.64.64 0 0 0-.433.4a1.1 1.1 0 0 0-.041.387v1.131a.64.64 0 0 0 .608.607c.406.006.812 0 1.218 0a.74.74 0 0 0 .38-.078a.64.64 0 0 0 .335-.558V8.985a.637.637 0 0 0-.593-.622c-.349-.009-.7 0-1.047 0a2 2 0 0 0-.428.022ZM5.041 12.2a.64.64 0 0 0-.491.608c0 .438-.005.877 0 1.315a.64.64 0 0 0 .627.6h1.3a.64.64 0 0 0 .608-.607v-1.307a.64.64 0 0 0-.605-.626c-.348-.007-.7 0-1.045 0a2 2 0 0 0-.394.017m20.335.006a.64.64 0 0 0-.43.394a1.1 1.1 0 0 0-.041.386v1.131a.64.64 0 0 0 .607.608c.435.005.87 0 1.306 0a.64.64 0 0 0 .628-.605c.006-.438 0-.876 0-1.313a.637.637 0 0 0-.592-.622c-.349-.01-.7 0-1.046 0a2 2 0 0 0-.431.015Z"/><path fill="#fff" d="M13.458 12.1q3.176 1.908 6.353 3.813l-.1.065q-3.127 1.872-6.251 3.748V15.99q-.003-1.941-.002-3.89"/><path fill="#c0392b" d="M3.275 15.988h1.541a2 2 0 0 1 .253.022a.65.65 0 0 0-.409.273a.9.9 0 0 0-.111.518v1.045a.686.686 0 0 0 .685.689h1.192a.68.68 0 0 0 .657-.569c.008-.447 0-.9 0-1.343a.63.63 0 0 0-.521-.613a2 2 0 0 1 .251-.021h6.64v3.736q3.127-1.871 6.251-3.748c.2.018.391.007.587.01h4.741a2.3 2.3 0 0 1 .4.02a.64.64 0 0 0-.475.385a1 1 0 0 0-.045.407v1.014a.677.677 0 0 0 .691.719h1.16a.684.684 0 0 0 .686-.658v-.984a1.07 1.07 0 0 0-.1-.589a.64.64 0 0 0-.42-.292a2 2 0 0 1 .22-.022h1.573c.011 1.721 0 3.443 0 5.165v6.293a2.57 2.57 0 0 1-.612 1.651a2.54 2.54 0 0 1-1.563.868a8 8 0 0 1-.981.033H6.724a9 9 0 0 1-1.368-.048a2.56 2.56 0 0 1-2-1.846a2.8 2.8 0 0 1-.09-.746V16.891c.007-.3-.002-.602.009-.903m1.795 3.843a.6.6 0 0 0-.386.234a.76.76 0 0 0-.134.464v1.162a.685.685 0 0 0 .686.658h1.283a.687.687 0 0 0 .568-.716v-1.191a.62.62 0 0 0-.2-.458a.7.7 0 0 0-.487-.17H5.264a1 1 0 0 0-.194.017m20.366 0a.62.62 0 0 0-.522.58v1.222a.676.676 0 0 0 .69.718c.428 0 .857.005 1.285 0a.7.7 0 0 0 .562-.684v-1.013a.9.9 0 0 0-.123-.568a.66.66 0 0 0-.532-.267h-.954a2.3 2.3 0 0 0-.406.011ZM5.071 23.648a.6.6 0 0 0-.4.249a.77.77 0 0 0-.124.448v1.132a.7.7 0 0 0 .6.688h1.376a.687.687 0 0 0 .567-.717v-1.189a.62.62 0 0 0-.2-.459a.7.7 0 0 0-.484-.17H5.265a1 1 0 0 0-.194.018m20.362 0a.62.62 0 0 0-.492.427a1 1 0 0 0-.029.33V25.6a.68.68 0 0 0 .656.567h1.193a.69.69 0 0 0 .686-.719v-1.164a.66.66 0 0 0-.286-.545a1.46 1.46 0 0 0-.787-.11c-.312.01-.629-.02-.94.018Z"/>'},NG={width:32,height:32,body:'<mask id="SVGgudELdDz"><path fill="#fff" d="M40.05 45.7c-.67.85-2.02.38-2.02-.69v-10.3a2.26 2.26 0 0 0-2.27-2.26H24.4a1.13 1.13 0 0 1-.92-1.8l7.48-10.46c1.07-1.5 0-3.58-1.84-3.58H15.34a1.13 1.13 0 0 1-.92-1.79l9.7-13.57c.2-.3.55-.48.92-.48h28.89c.92 0 1.46 1.04.92 1.79l-7.48 10.47a2.26 2.26 0 0 0 1.84 3.58H60.6c.94 0 1.47 1.09.89 1.83z"/></mask><g fill="none"><g mask="url(#SVGgudELdDz)" transform="translate(1 6.8)scale(.393)"><path fill="#9135ff" d="M0 0h62v47H0z"/><g filter="url(#SVGNp06lekD)"><ellipse cx="24.46" cy="37.75" fill="#eee6ff" rx="5.51" ry="14.7" transform="rotate(89.8 24.46 37.75)"/></g><g filter="url(#SVGNp06lekD)"><ellipse cx="4.76" cy="18.96" fill="#eee6ff" rx="10.4" ry="29.85" transform="rotate(89.8 4.76 18.96)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="4.24" cy="17.5" fill="#8900ff" rx="5.51" ry="30.49" transform="rotate(89.8 4.24 17.5)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="8.95" cy="35.5" fill="#8900ff" rx="5.51" ry="30.6" transform="rotate(89.8 8.95 35.5)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="10.48" cy="36.65" fill="#8900ff" rx="5.51" ry="30.6" transform="rotate(89.8 10.48 36.65)"/></g><g filter="url(#SVGNp06lekD)"><ellipse cx="67.34" cy="12.3" fill="#eee6ff" rx="14.07" ry="22.08" transform="rotate(-86.7 67.34 12.3)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="68.44" cy="15.74" fill="#8900ff" rx="3.47" ry="21.5" transform="rotate(-91 68.44 15.74)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="68.44" cy="15.74" fill="#8900ff" rx="3.47" ry="21.5" transform="rotate(-91 68.44 15.74)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="14.59" cy="9.74" fill="#8900ff" rx="4.41" ry="29.11" transform="rotate(39.5 14.6 9.74)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="61.73" cy="-5.32" fill="#8900ff" rx="4.41" ry="29.11" transform="rotate(37.9 61.73 -5.32)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="55.62" cy="7.1" fill="#00c2ff" rx="5.97" ry="9.67" transform="rotate(37.9 55.62 7.1)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="12.33" cy="39.1" fill="#8900ff" rx="4.41" ry="29.11" transform="rotate(37.9 12.33 39.1)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="12.33" cy="39.1" fill="#8900ff" rx="4.41" ry="29.11" transform="rotate(37.9 12.33 39.1)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="49.86" cy="30.68" fill="#8900ff" rx="4.41" ry="29.11" transform="rotate(37.9 49.86 30.68)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="52.62" cy="33.17" fill="#00c2ff" rx="5.97" ry="15.3" transform="rotate(37.9 52.62 33.17)"/></g></g><path fill="#fff" d="M3.72 6.8C.1 11.98.08 20 3.72 25.2h2.45c-3.64-5.2-3.62-13.22 0-18.4zm24.56 0h-2.45c3.62 5.18 3.64 13.2 0 18.4h2.45c3.64-5.2 3.62-13.22 0-18.4"/><defs><filter id="SVGNp06lekD" width="4" height="4" x="-2" y="-2" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="7.66"/></filter><filter id="SVGQv8P6csY" width="4" height="4" x="-2" y="-2" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="4.6"/></filter></defs></g>'},_G={width:32,height:32,body:'<mask id="SVGTUBgmdJX"><path fill="#fff" d="M36.76 42.97c-.33.6-1.1.76-1.65.36L15.96 29.41a1.2 1.2 0 0 1-.46-.92V11.71c0-.93 1.05-1.46 1.8-.92L29 19.31c1.1.8 2.65.46 3.3-.72l9.71-17.25c.2-.35.58-.57.99-.57h15.57c.87 0 1.41.93.99 1.68z"/></mask><g fill="none"><g mask="url(#SVGTUBgmdJX)" transform="translate(1 6.8)scale(.393)"><path fill="#00ff74" d="M0 0h60v44H0z"/><g filter="url(#SVGQv8P6csY)"><ellipse cx="41.46" cy="10.01" fill="#00d0c7" rx="14.03" ry="3.39" transform="rotate(130.6 41.46 10.01)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="18.43" cy="30.51" fill="#00d0c7" rx="14.03" ry="6.09" transform="rotate(234 18.43 30.5)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="21.94" cy="12.96" fill="#03ff00" rx="6.37" ry="5.55" transform="rotate(23.1 21.94 12.96)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="56.27" cy="16.72" fill="#03ff00" rx="5.61" ry="24.53" transform="rotate(23.1 56.27 16.72)"/></g><g filter="url(#SVGQv8P6csY)"><ellipse cx="51.35" cy="1.06" fill="#6effe1" rx="4.99" ry="10.07" transform="rotate(-45 51.35 1.06)"/></g></g><path fill="#fff" d="M3.72 6.8C.1 11.98.08 20 3.72 25.2h2.45c-3.64-5.2-3.62-13.22 0-18.4zm24.56 0h-2.45c3.62 5.18 3.64 13.2 0 18.4h2.45c3.64-5.2 3.62-13.22 0-18.4"/><defs><filter id="SVGQv8P6csY" width="4" height="4" x="-2" y="-2" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="4.6"/></filter></defs></g>'},jG={width:32,height:32,body:'<path fill="#41b883" d="M24.4 3.925H30l-14 24.15L2 3.925h10.71l3.29 5.6l3.22-5.6Z"/><path fill="#41b883" d="m2 3.925l14 24.15l14-24.15h-5.6L16 18.415L7.53 3.925Z"/><path fill="#35495e" d="M7.53 3.925L16 18.485l8.4-14.56h-5.18L16 9.525l-3.29-5.6Z"/>'},TG={width:32,height:32,body:'<path fill="#654ff0" d="M19.153 2.35v.15a3.2 3.2 0 1 1-6.4 0v-.15H2v27.919h27.919V2.35Z"/><path fill="#fff" d="M8.485 17.4h1.85l1.265 6.723h.023L13.14 17.4h1.731l1.371 6.81h.027l1.44-6.81h1.815l-2.358 9.885h-1.837l-1.36-6.728h-.036l-1.456 6.728h-1.87Zm13.124 0h2.917l2.9 9.885h-1.911l-.63-2.2h-3.323l-.486 2.2h-1.859Zm1.11 2.437l-.807 3.627h2.512l-.924-3.632Z"/>'},zG={width:32,height:32,body:'<path fill="#f1662a" d="m20.42 21.157l2.211 2.211L30 16l-7.369-7.369l-2.211 2.212L25.58 16Zm-8.84-10.314L9.369 8.631L2 16l7.369 7.369l2.211-2.211L6.42 16Zm5.831-3.166l1.6.437l-4.42 16.209l-1.6-.437z"/>'},RG={width:32,height:32,body:'<path fill="#ffe885" d="M2 12.218c.755 0 1.51-.008 2.264 0l.053.038l2.761 2.758c.891-.906 1.8-1.794 2.7-2.7c.053-.052.11-.113.192-.1h1.823a1.4 1.4 0 0 1 .353.019c-.7.67-1.377 1.369-2.069 2.05L5.545 18.8c-.331.324-.648.663-.989.975c-.754.022-1.511.007-2.266.007c1.223-1.209 2.431-2.433 3.658-3.637c-1.321-1.304-2.63-2.62-3.948-3.927m10.7 0h1.839v7.566c-.611 0-1.222.012-1.832-.008v-4.994c-1.6 1.607-3.209 3.2-4.811 4.8c-.089.08-.166.217-.305.194c-.824-.006-1.649 0-2.474 0Q8.916 16 12.7 12.218m2.258.002c.47-.009.939 0 1.409 0c.836.853 1.69 1.689 2.536 2.532q1.268-1.267 2.539-2.532h1.4q-.008 3.784 0 7.567c-.471 0-.943.006-1.414 0q.008-2.387 0-4.773c-.844.843-1.676 1.7-2.526 2.536c-.856-.835-1.687-1.695-2.532-2.541c0 1.594-.006 3.188.006 4.781c-.472 0-.943.005-1.415 0q-.003-3.79-.003-7.57m8.301-.003c.472 0 .944-.007 1.416 0q-.007 3.083 0 6.166h3.782c.063.006.144-.012.191.045c.448.454.907.9 1.353 1.354q-3.371.007-6.741 0q.007-3.782-.001-7.565"/>'},OG={width:32,height:32,body:'<path fill="#2188b6" d="M28.208 24.409a10.5 10.5 0 0 0-3.959 1.822a23.7 23.7 0 0 1-5.835 2.642a1.63 1.63 0 0 1-.983.55a62 62 0 0 1-6.447.577c-1.163.009-1.876-.3-2.074-.776a1.573 1.573 0 0 1 .866-2.074a4 4 0 0 1-.514-.379c-.171-.171-.352-.514-.406-.388c-.225.55-.343 1.894-.947 2.5c-.83.839-2.4.559-3.328.072c-1.019-.541.072-1.813.072-1.813a.73.73 0 0 1-.992-.343a4.85 4.85 0 0 1-.667-2.949a5.37 5.37 0 0 1 1.749-2.895a9.3 9.3 0 0 1 .658-4.4a10.45 10.45 0 0 1 3.165-3.661S6.628 10.747 7.35 8.817c.469-1.262.658-1.253.812-1.308a3.6 3.6 0 0 0 1.452-.857a5.27 5.27 0 0 1 4.41-1.7S15.2 1.4 16.277 2.09a18.4 18.4 0 0 1 1.533 2.886s1.281-.748 1.425-.469a11.33 11.33 0 0 1 .523 6.132a14 14 0 0 1-2.6 5.411c-.135.225 1.551.938 2.615 3.887c.983 2.7.108 4.96.262 5.212c.027.045.036.063.036.063s1.127.09 3.391-1.308a8.5 8.5 0 0 1 4.277-1.604a1.081 1.081 0 0 1 .469 2.11Z"/>'},LG={width:32,height:32,body:'<defs><linearGradient id="SVGXr4mrHrF" x1="17.65" x2="21.099" y1="26.056" y2="26.056" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4d4d4d"/><stop offset=".5" stop-color="#fff"/><stop offset="1" stop-color="#4d4d4d"/></linearGradient><linearGradient id="SVG5oyStdai" x1="17.65" x2="21.099" y1="23.756" y2="23.756" href="#SVGXr4mrHrF"/><linearGradient id="SVG9QsNwcZU" x1="17.65" x2="21.099" y1="21.456" y2="21.456" href="#SVGXr4mrHrF"/><linearGradient id="SVG1kIgneZE" x1="17.65" x2="21.099" y1="19.156" y2="19.156" href="#SVGXr4mrHrF"/><linearGradient id="SVGp2oQjdFa" x1="17.65" x2="21.099" y1="16.857" y2="16.857" href="#SVGXr4mrHrF"/><linearGradient id="SVGAFV8AN5B" x1="17.65" x2="21.099" y1="14.557" y2="14.557" href="#SVGXr4mrHrF"/><linearGradient id="SVGRkU6lbfc" x1="17.65" x2="21.099" y1="12.257" y2="12.257" href="#SVGXr4mrHrF"/><linearGradient id="SVGWUBOGcFP" x1="17.65" x2="21.099" y1="9.957" y2="9.957" href="#SVGXr4mrHrF"/><linearGradient id="SVGFcdVfdXh" x1="17.65" x2="21.099" y1="7.657" y2="7.657" href="#SVGXr4mrHrF"/><linearGradient id="SVGLioYKc8j" x1="16.237" x2="19.686" y1="27.217" y2="27.217" href="#SVGXr4mrHrF"/><linearGradient id="SVGIx7REdei" x1="16.237" x2="19.686" y1="24.918" y2="24.918" href="#SVGXr4mrHrF"/><linearGradient id="SVGownHpeLf" x1="16.237" x2="19.686" y1="22.618" y2="22.618" href="#SVGXr4mrHrF"/><linearGradient id="SVGZ4gzmcVN" x1="16.237" x2="19.686" y1="20.318" y2="20.318" href="#SVGXr4mrHrF"/><linearGradient id="SVGhAblbd0u" x1="16.237" x2="19.686" y1="18.018" y2="18.018" href="#SVGXr4mrHrF"/><linearGradient id="SVGBzD5PbgA" x1="17.65" x2="21.099" y1="28.356" y2="28.356" href="#SVGXr4mrHrF"/><linearGradient id="SVGcXb6lbYS" x1="16.237" x2="19.686" y1="15.718" y2="15.718" href="#SVGXr4mrHrF"/><linearGradient id="SVGKF6nobvx" x1="16.237" x2="19.686" y1="13.419" y2="13.419" href="#SVGXr4mrHrF"/><linearGradient id="SVGrU8zSORM" x1="16.237" x2="19.686" y1="11.119" y2="11.119" href="#SVGXr4mrHrF"/><linearGradient id="SVGuFw9gbIu" x1="16.237" x2="19.686" y1="8.819" y2="8.819" href="#SVGXr4mrHrF"/><linearGradient id="SVGXh7zWblD" x1="16.237" x2="19.686" y1="29.514" y2="29.514" href="#SVGXr4mrHrF"/><linearGradient id="SVGmzaoUw6y" x1="16.985" x2="20.446" y1="11.196" y2="11.196" href="#SVGXr4mrHrF"/><linearGradient id="SVGkZYaOeHC" x1="18.096" x2="19.336" y1="5.329" y2="5.329" href="#SVGXr4mrHrF"/><linearGradient id="SVGVKO9QdOI" x1="16.029" x2="21.403" y1="5.591" y2="5.591" href="#SVGXr4mrHrF"/></defs><path fill="#c09553" d="M27.667 27.667V17.333L23 15V2H4.333v28h23.334Zm-4.667 0v-9.111l2.333 1.222v7.889Z"/><path fill="url(#SVGXr4mrHrF)" d="M17.65 25.559h3.45v.993h-3.45z"/><path fill="url(#SVG5oyStdai)" d="M17.65 23.26h3.45v.993h-3.45z"/><path fill="url(#SVG9QsNwcZU)" d="M17.65 20.96h3.45v.993h-3.45z"/><path fill="url(#SVG1kIgneZE)" d="M17.65 18.66h3.45v.993h-3.45z"/><path fill="url(#SVGp2oQjdFa)" d="M17.65 16.36h3.45v.993h-3.45z"/><path fill="url(#SVGAFV8AN5B)" d="M17.65 14.06h3.45v.993h-3.45z"/><path fill="url(#SVGRkU6lbfc)" d="M17.65 11.76h3.45v.993h-3.45z"/><path fill="url(#SVGWUBOGcFP)" d="M17.65 9.461h3.45v.993h-3.45z"/><path fill="url(#SVGFcdVfdXh)" d="M17.65 7.161h3.45v.993h-3.45z"/><path fill="url(#SVGLioYKc8j)" d="M16.237 26.721h3.45v.993h-3.45z"/><path fill="url(#SVGIx7REdei)" d="M16.237 24.421h3.45v.993h-3.45z"/><path fill="url(#SVGownHpeLf)" d="M16.237 22.121h3.45v.993h-3.45z"/><path fill="url(#SVGZ4gzmcVN)" d="M16.237 19.821h3.45v.993h-3.45z"/><path fill="url(#SVGhAblbd0u)" d="M16.237 17.522h3.45v.993h-3.45z"/><path fill="url(#SVGBzD5PbgA)" d="M17.65 27.859h3.45v.993h-3.45z"/><path fill="url(#SVGcXb6lbYS)" d="M16.237 15.222h3.45v.993h-3.45z"/><path fill="url(#SVGKF6nobvx)" d="M16.237 12.922h3.45v.993h-3.45z"/><path fill="url(#SVGrU8zSORM)" d="M16.237 10.622h3.45v.993h-3.45z"/><path fill="url(#SVGuFw9gbIu)" d="M16.237 8.322h3.45v.993h-3.45z"/><path fill="url(#SVGXh7zWblD)" d="M16.237 29.018h3.45v.993h-3.45z"/><path fill="url(#SVGmzaoUw6y)" d="M20.1 5.911a.554.554 0 0 0-.548-.53h-.009v.557h.092l.206 2.514h-2.252l.211-2.514h.094v-.557h-.044a.55.55 0 0 0-.547.53l-.314 10.569a.513.513 0 0 0 .515.531h2.432a.51.51 0 0 0 .513-.531Zm-1.384 10.5a1.171 1.171 0 1 1 1.171-1.171a1.17 1.17 0 0 1-1.171 1.168Z"/><path fill="url(#SVGkZYaOeHC)" d="M18.096 3.802h1.24v3.054h-1.24z"/><path fill="url(#SVGVKO9QdOI)" d="M21.4 4.56a2.55 2.55 0 0 0-2.549-2.549h-.276a2.55 2.55 0 0 0-2.436 3.3v.006a8 8 0 0 1 .261 2.561a1.8 1.8 0 0 0 .641 1.271l.109-3.441a.593.593 0 0 1 .6-.551h.135v-1.57h1.653v1.57h.1a.6.6 0 0 1 .605.551l.121 3.462a1.8 1.8 0 0 0 .666-1.292V7.72a7.7 7.7 0 0 1 .236-2.359a2.5 2.5 0 0 0 .134-.801"/>'},PG={width:32,height:32,body:'<path fill="#a0bf55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#fff" d="M27.773 31.076a2.517 2.517 0 0 1-1.848-4.229l-1.67-2.54a4.23 4.23 0 0 1-3.847-.05l-1.662 1.77a2.161 2.161 0 1 1-1.105-.983l1.593-1.7a4.23 4.23 0 0 1-1.1-2.854a4 4 0 0 1 .021-.412l-3.8-1.166a2.517 2.517 0 1 1 .558-1.579c0 .067 0 .134-.009.2l3.646 1.119a4.23 4.23 0 0 1 3.092-2.349v-2.381a2.068 2.068 0 1 1 1.479 0v2.386A4.24 4.24 0 0 1 25.6 17.72l1.928-1.162a2 2 0 0 1-.015-.226a1.807 1.807 0 1 1 1.808 1.808a1.8 1.8 0 0 1-1.023-.319l-1.938 1.171a4.2 4.2 0 0 1 .275 1.5v.036l1.057.183a1.806 1.806 0 1 1-.34 1.443l-.987-.172a4.3 4.3 0 0 1-.91 1.448l1.752 2.67a2.519 2.519 0 1 1 .566 4.973Z"/><path fill="#486600" d="M29.122 20.129a1.68 1.68 0 0 0-1.379.721l-1.24-.215v-.14a4.1 4.1 0 0 0-.306-1.556l2.1-1.267a1.684 1.684 0 1 0-.64-1.05l-2.09 1.261A4.13 4.13 0 0 0 23 16.415v-2.58a1.943 1.943 0 1 0-1.23 0v2.58a4.14 4.14 0 0 0-3.149 2.394l-3.848-1.182a2.395 2.395 0 1 0-.461 1.145l3.979 1.222a4.1 4.1 0 0 0 1.119 3.355l-1.733 1.845a2.04 2.04 0 1 0 .921.816l1.786-1.91a4.11 4.11 0 0 0 3.915.043l1.787 2.717a2.391 2.391 0 1 0 1.066-.616l-1.861-2.83a4.1 4.1 0 0 0 .989-1.573l1.178.2a1.682 1.682 0 1 0 1.665-1.919Z"/>'},GG={width:32,height:32,body:'<path fill="#bfdb7b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#bfdb7b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#fff" d="M27.773 31.076a2.517 2.517 0 0 1-1.848-4.229l-1.67-2.54a4.23 4.23 0 0 1-3.847-.05l-1.662 1.77a2.161 2.161 0 1 1-1.105-.983l1.593-1.7a4.23 4.23 0 0 1-1.1-2.854a4 4 0 0 1 .021-.412l-3.8-1.166a2.517 2.517 0 1 1 .558-1.579c0 .067 0 .134-.009.2l3.646 1.119a4.23 4.23 0 0 1 3.092-2.349v-2.381a2.068 2.068 0 1 1 1.479 0v2.386A4.24 4.24 0 0 1 25.6 17.72l1.928-1.162a2 2 0 0 1-.015-.226a1.807 1.807 0 1 1 1.808 1.808a1.8 1.8 0 0 1-1.023-.319l-1.938 1.171a4.2 4.2 0 0 1 .275 1.5v.036l1.057.183a1.806 1.806 0 1 1-.34 1.443l-.987-.172a4.3 4.3 0 0 1-.91 1.448l1.752 2.67a2.519 2.519 0 1 1 .566 4.973Z"/><path fill="#486600" d="M29.122 20.129a1.68 1.68 0 0 0-1.379.721l-1.24-.215v-.14a4.1 4.1 0 0 0-.306-1.556l2.1-1.267a1.684 1.684 0 1 0-.64-1.05l-2.09 1.261A4.13 4.13 0 0 0 23 16.415v-2.58a1.943 1.943 0 1 0-1.23 0v2.58a4.14 4.14 0 0 0-3.149 2.394l-3.848-1.182a2.395 2.395 0 1 0-.461 1.145l3.979 1.222a4.1 4.1 0 0 0 1.119 3.355l-1.733 1.845a2.04 2.04 0 1 0 .921.816l1.786-1.91a4.11 4.11 0 0 0 3.915.043l1.787 2.717a2.391 2.391 0 1 0 1.066-.616l-1.861-2.83a4.1 4.1 0 0 0 .989-1.573l1.178.2a1.682 1.682 0 1 0 1.665-1.919Z"/>'},HG={width:32,height:32,body:'<path fill="#14622a" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#7bdbab" d="M10 12.983v18.034h21V12.983Zm20.219 17.253H10.781V15.247h19.438Z"/><path fill="#7bdbab" d="M19.981 17.138c.352-.022.768-.15 1.071.107c.277.255.264.669.352 1.009a7 7 0 0 1 1.234.393c.26-.229.486-.564.856-.6c.329-.023.567.235.8.425a3 3 0 0 1 .685.679c.168.445-.2.822-.422 1.158a8 8 0 0 1 .55 1.1c.431.027 1.038-.07 1.241.425a5.1 5.1 0 0 1 .142 1.492c-.11.531-.743.551-1.174.646c-.072.393-.235.76-.342 1.143c.117.336.533.5.612.872c.085.405-.275.693-.5.981c-.216.228-.39.56-.727.621c-.438.079-.754-.295-1.109-.479a6.3 6.3 0 0 1-1.1.564c-.031.452.082 1.117-.452 1.316a5 5 0 0 1-1.518.117c-.525-.168-.494-.8-.612-1.242c-.39-.072-.748-.256-1.134-.329c-.352.249-.639.759-1.141.631a3.6 3.6 0 0 1-.851-.627c-.207-.186-.481-.38-.47-.69c-.021-.412.392-.666.47-1.04c-.14-.338-.352-.643-.486-.988c-.366-.033-.784.065-1.1-.16c-.295-.2-.278-.6-.321-.91a3 3 0 0 1 .012-.97c.207-.438.759-.416 1.161-.531a6.5 6.5 0 0 1 .352-1.174c-.235-.276-.574-.5-.655-.878c-.046-.345.235-.6.432-.849a2.7 2.7 0 0 1 .7-.7c.44-.146.794.22 1.134.433a6 6 0 0 1 1.157-.587c.093-.375-.053-.845.269-1.128c.233-.239.585-.19.884-.23m.117 3.828a2.144 2.144 0 1 0 1.908.566a2.14 2.14 0 0 0-1.908-.566"/>'},VG={width:32,height:32,body:'<path fill="#0b822c" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#0b822c" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#7bdbab" d="M10 12.983v18.034h21V12.983Zm20.219 17.253H10.781V15.247h19.438Z"/><path fill="#7bdbab" d="M19.981 17.138c.352-.022.768-.15 1.071.107c.277.255.264.669.352 1.009a7 7 0 0 1 1.234.393c.26-.229.486-.564.856-.6c.329-.023.567.235.8.425a3 3 0 0 1 .685.679c.168.445-.2.822-.422 1.158a8 8 0 0 1 .55 1.1c.431.027 1.038-.07 1.241.425a5.1 5.1 0 0 1 .142 1.492c-.11.531-.743.551-1.174.646c-.072.393-.235.76-.342 1.143c.117.336.533.5.612.872c.085.405-.275.693-.5.981c-.216.228-.39.56-.727.621c-.438.079-.754-.295-1.109-.479a6.3 6.3 0 0 1-1.1.564c-.031.452.082 1.117-.452 1.316a5 5 0 0 1-1.518.117c-.525-.168-.494-.8-.612-1.242c-.39-.072-.748-.256-1.134-.329c-.352.249-.639.759-1.141.631a3.6 3.6 0 0 1-.851-.627c-.207-.186-.481-.38-.47-.69c-.021-.412.392-.666.47-1.04c-.14-.338-.352-.643-.486-.988c-.366-.033-.784.065-1.1-.16c-.295-.2-.278-.6-.321-.91a3 3 0 0 1 .012-.97c.207-.438.759-.416 1.161-.531a6.5 6.5 0 0 1 .352-1.174c-.235-.276-.574-.5-.655-.878c-.046-.345.235-.6.432-.849a2.7 2.7 0 0 1 .7-.7c.44-.146.794.22 1.134.433a6 6 0 0 1 1.157-.587c.093-.375-.053-.845.269-1.128c.233-.239.585-.19.884-.23m.117 3.828a2.144 2.144 0 1 0 1.908.566a2.14 2.14 0 0 0-1.908-.566"/>'},IG={width:32,height:32,body:'<path fill="#ba5656" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><rect width="21" height="21" x="10" y="10" fill="#414141" rx="2.761" ry="2.761"/><path fill="#c2c2c2" d="M13.937 11.925h13.125a2.013 2.013 0 0 1 2.013 2.013v13.125a2.01 2.01 0 0 1-2.012 2.012H13.937a2.013 2.013 0 0 1-2.013-2.013V13.938a2.013 2.013 0 0 1 2.013-2.013"/><path fill="#414141" d="M13.937 13.325h13.126a.61.61 0 0 1 .612.612v13.126a.613.613 0 0 1-.613.613H13.938a.613.613 0 0 1-.613-.613V13.937a.61.61 0 0 1 .612-.612"/><path fill="#c2c2c2" d="M25.754 21.2h-1.1a4.2 4.2 0 0 1-.741 1.769l.78.78a.7.7 0 1 1-.99.99l-.786-.786a4.2 4.2 0 0 1-1.761.712v1.129a.7.7 0 0 1-1.4 0v-1.141a4.2 4.2 0 0 1-1.728-.735l-.82.82a.7.7 0 1 1-.99-.99l.826-.826a4.2 4.2 0 0 1-.707-1.723h-1.171a.7.7 0 1 1 0-1.4h1.174a4.2 4.2 0 0 1 .707-1.722l-.826-.826a.7.7 0 1 1 .99-.99l.819.82a4.2 4.2 0 0 1 1.729-.735v-1.14a.7.7 0 0 1 1.4 0v1.129a4.2 4.2 0 0 1 1.762.713l.786-.787a.7.7 0 0 1 .99.99l-.781.781a4.2 4.2 0 0 1 .741 1.768h1.1a.7.7 0 0 1 0 1.4Z"/><circle cx="20.5" cy="20.5" r="2.822" fill="#414141"/><circle cx="20.5" cy="20.5" r="1.121" fill="#c2c2c2"/>'},UG={width:32,height:32,body:'<path fill="#d87c7c" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#d87c7c" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><rect width="21" height="21" x="10" y="10" fill="#414141" rx="2.761" ry="2.761"/><path fill="#c2c2c2" d="M13.937 11.925h13.125a2.013 2.013 0 0 1 2.013 2.013v13.125a2.01 2.01 0 0 1-2.012 2.012H13.937a2.013 2.013 0 0 1-2.013-2.013V13.938a2.013 2.013 0 0 1 2.013-2.013"/><path fill="#414141" d="M13.937 13.325h13.126a.61.61 0 0 1 .612.612v13.126a.613.613 0 0 1-.613.613H13.938a.613.613 0 0 1-.613-.613V13.937a.61.61 0 0 1 .612-.612"/><path fill="#c2c2c2" d="M25.754 21.2h-1.1a4.2 4.2 0 0 1-.741 1.769l.78.78a.7.7 0 1 1-.99.99l-.786-.786a4.2 4.2 0 0 1-1.761.712v1.129a.7.7 0 0 1-1.4 0v-1.141a4.2 4.2 0 0 1-1.728-.735l-.82.82a.7.7 0 1 1-.99-.99l.826-.826a4.2 4.2 0 0 1-.707-1.723h-1.171a.7.7 0 1 1 0-1.4h1.174a4.2 4.2 0 0 1 .707-1.722l-.826-.826a.7.7 0 1 1 .99-.99l.819.82a4.2 4.2 0 0 1 1.729-.735v-1.14a.7.7 0 0 1 1.4 0v1.129a4.2 4.2 0 0 1 1.762.713l.786-.787a.7.7 0 0 1 .99.99l-.781.781a4.2 4.2 0 0 1 .741 1.768h1.1a.7.7 0 0 1 0 1.4Z"/><circle cx="20.5" cy="20.5" r="2.822" fill="#414141"/><circle cx="20.5" cy="20.5" r="1.121" fill="#c2c2c2"/>'},ZG={width:32,height:32,body:'<path fill="#5555bf" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#00007f" d="M21.422 13a.68.68 0 0 0-.427.174l-5.7 4.74a.87.87 0 0 1-.716.246h-3.673a.9.9 0 0 0-.906.894s0 .008 0 .012v5.87a.9.9 0 0 0 .9.9h3.68a.87.87 0 0 1 .716.246l5.7 4.74c.391.325.811.168.811-.217V13.391a.37.37 0 0 0-.354-.391Zm7.328 1.725l-1.343 1.345a11.03 11.03 0 0 1 0 11.883l1.339 1.332a12.89 12.89 0 0 0 .004-14.561Zm-3.25 3.241L24.179 19.3a4.53 4.53 0 0 1 0 5.428l1.321 1.316a6.416 6.416 0 0 0 .008-8.077Z"/>'},$G={width:32,height:32,body:'<path fill="#7b7bdb" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7b7bdb" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#00007f" d="M21.422 13a.68.68 0 0 0-.427.174l-5.7 4.74a.87.87 0 0 1-.716.246h-3.673a.9.9 0 0 0-.906.894s0 .008 0 .012v5.87a.9.9 0 0 0 .9.9h3.68a.87.87 0 0 1 .716.246l5.7 4.74c.391.325.811.168.811-.217V13.391a.37.37 0 0 0-.354-.391Zm7.328 1.725l-1.343 1.345a11.03 11.03 0 0 1 0 11.883l1.339 1.332a12.89 12.89 0 0 0 .004-14.561Zm-3.25 3.241L24.179 19.3a4.53 4.53 0 0 1 0 5.428l1.321 1.316a6.416 6.416 0 0 0 .008-8.077Z"/>'},qG={width:32,height:32,body:'<path fill="#c1539a" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#fff" d="M10.454 16.071H27.03v11.101H10.454z"/><path fill="#eec06e" d="M26.944 15.6H10.557a.55.55 0 0 0-.557.54v11.811a.55.55 0 0 0 .557.54h6.275v.834s.02.749-.476.9c-.1.032-.429.1-.429.1a.338.338 0 1 0 0 .676h5.667a.338.338 0 1 0 0-.676a3 3 0 0 1-.469-.107a.79.79 0 0 1-.421-.639c-.029-.274-.014-1.09-.014-1.09h6.255a.55.55 0 0 0 .557-.54V16.136a.55.55 0 0 0-.558-.536m-.292 10.34h-15.8v-9.489h15.8Z"/><path fill="#fff" d="M18.54 22.132h10.688v8.848H18.54z"/><path fill="#f16d6f" d="M29.491 28.92v-6.811a.35.35 0 0 0-.357-.346h-10.67a.35.35 0 0 0-.356.346v6.806l-1.364 1.54c0 .22.172.527.383.527h13.345c.212 0 .384-.307.384-.527Zm-4.956 1.88h-1.471c-.126 0-.227-.217-.227-.327v-.012h1.922v.012c.003.11-.099.327-.224.327m4.385-2.323H18.68v-6.126h10.24Z"/><path fill="#fff" d="M23.926 21.534h6.795v9.223h-6.795z"/><path fill="#489cd6" d="M30.5 21.231h-6.261a.45.45 0 0 0-.458.444v8.886a.45.45 0 0 0 .458.443H30.5a.45.45 0 0 0 .458-.443v-8.887a.45.45 0 0 0-.458-.443m-3.131 9.527a.343.343 0 1 1 .343-.343a.343.343 0 0 1-.341.342Zm3.047-.919h-6.093v-8.046h6.095Z"/><path fill="#fff" d="M27.911 25.169h2.946v5.735h-2.946z"/><path fill="#d488b9" d="M30.726 25.127h-2.667a.27.27 0 0 0-.274.266v5.325a.27.27 0 0 0 .274.266h2.667a.27.27 0 0 0 .274-.266v-5.325a.27.27 0 0 0-.274-.266m-1.642.123h.616v.091h-.617Zm.309 5.585a.206.206 0 1 1 .205-.206a.206.206 0 0 1-.206.207Zm1.333-.586H28.06v-4.736h2.665Z"/>'},QG={width:32,height:32,body:'<path fill="#dd7ab9" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dd7ab9" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#fff" d="M10.454 16.071H27.03v11.101H10.454z"/><path fill="#eec06e" d="M26.944 15.6H10.557a.55.55 0 0 0-.557.54v11.811a.55.55 0 0 0 .557.54h6.275v.834s.02.749-.476.9c-.1.032-.429.1-.429.1a.338.338 0 1 0 0 .676h5.667a.338.338 0 1 0 0-.676a3 3 0 0 1-.469-.107a.79.79 0 0 1-.421-.639c-.029-.274-.014-1.09-.014-1.09h6.255a.55.55 0 0 0 .557-.54V16.136a.55.55 0 0 0-.558-.536m-.292 10.34h-15.8v-9.489h15.8Z"/><path fill="#fff" d="M18.54 22.132h10.688v8.848H18.54z"/><path fill="#f16d6f" d="M29.491 28.92v-6.811a.35.35 0 0 0-.357-.346h-10.67a.35.35 0 0 0-.356.346v6.806l-1.364 1.54c0 .22.172.527.383.527h13.345c.212 0 .384-.307.384-.527Zm-4.956 1.88h-1.471c-.126 0-.227-.217-.227-.327v-.012h1.922v.012c.003.11-.099.327-.224.327m4.385-2.323H18.68v-6.126h10.24Z"/><path fill="#fff" d="M23.926 21.534h6.795v9.223h-6.795z"/><path fill="#489cd6" d="M30.5 21.231h-6.261a.45.45 0 0 0-.458.444v8.886a.45.45 0 0 0 .458.443H30.5a.45.45 0 0 0 .458-.443v-8.887a.45.45 0 0 0-.458-.443m-3.131 9.527a.343.343 0 1 1 .343-.343a.343.343 0 0 1-.341.342Zm3.047-.919h-6.093v-8.046h6.095Z"/><path fill="#fff" d="M27.911 25.169h2.946v5.735h-2.946z"/><path fill="#d488b9" d="M30.726 25.127h-2.667a.27.27 0 0 0-.274.266v5.325a.27.27 0 0 0 .274.266h2.667a.27.27 0 0 0 .274-.266v-5.325a.27.27 0 0 0-.274-.266m-1.642.123h.616v.091h-.617Zm.309 5.585a.206.206 0 1 1 .205-.206a.206.206 0 0 1-.206.207Zm1.333-.586H28.06v-4.736h2.665Z"/>'},YG={width:32,height:32,body:'<path fill="#c09553" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#f1c40f" d="M31 17.672v-.009l-2.43-1.941a1 1 0 0 1-.085-.149a2.15 2.15 0 0 0-.642-.732a3.2 3.2 0 0 0-.973-.476l-1.12-.894c-.8-.637-1.6-1.279-2.4-1.914c-.057-.041-.078-.122-.113-.186a2.15 2.15 0 0 0-.642-.732A3.53 3.53 0 0 0 20.618 10H20.4a3.54 3.54 0 0 0-1.984.629a2.2 2.2 0 0 0-.639.711c-.033.059-.056.126-.093.182a1 1 0 0 1-.134.112l-2.3 1.833l-1.122.9a3.2 3.2 0 0 0-.959.468a2.2 2.2 0 0 0-.639.711c-.03.053-.053.113-.084.165L10 17.662v.007l5.251 4.193v.009l5.249 4.193l5.249-4.19v-.012Zm-2.692 1.006a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.354.975m-10.719-6.349c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.357.979a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c.007-.368-.008-.733.01-1.096m-2.338 7.44a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.357.979a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.641.361m7.807 3.111a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.354.975"/><path fill="#f39c12" d="M22.145 15.2a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.011-.273a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.64-.361m-5.25 4.2a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.011-.273a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.64-.361m11.759-2.885a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.644-.365a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.015-.269M23.4 20.717a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.644-.365a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.015-.269m-2.899 5.347L20.5 31L31 22.605v-4.932z"/><path fill="#e67e22" d="M18.914 15.231a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-2-.575a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.119.975m-5.662 2.603a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575m10.5 0a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575M18.5 22.036a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575m-3.25-.165v-.009L10 17.669v4.937c1.75 1.4 5.25 4.192 5.25 4.192v.01C17 28.21 20.5 31 20.5 31v-4.936Z"/>'},KG={width:32,height:32,body:'<path fill="#dcb67a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dcb67a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#f1c40f" d="M31 17.672v-.009l-2.43-1.941a1 1 0 0 1-.085-.149a2.15 2.15 0 0 0-.642-.732a3.2 3.2 0 0 0-.973-.476l-1.12-.894c-.8-.637-1.6-1.279-2.4-1.914c-.057-.041-.078-.122-.113-.186a2.15 2.15 0 0 0-.642-.732A3.53 3.53 0 0 0 20.618 10H20.4a3.54 3.54 0 0 0-1.984.629a2.2 2.2 0 0 0-.639.711c-.033.059-.056.126-.093.182a1 1 0 0 1-.134.112l-2.3 1.833l-1.122.9a3.2 3.2 0 0 0-.959.468a2.2 2.2 0 0 0-.639.711c-.03.053-.053.113-.084.165L10 17.662v.007l5.251 4.193v.009l5.249 4.193l5.249-4.19v-.012Zm-2.692 1.006a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.354.975m-10.719-6.349c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.357.979a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c.007-.368-.008-.733.01-1.096m-2.338 7.44a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.357.979a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.641.361m7.807 3.111a2.6 2.6 0 0 1-.913.726a3.7 3.7 0 0 1-1.644.365a3.7 3.7 0 0 1-1.587-.335a2.46 2.46 0 0 1-1.118-.975a1.6 1.6 0 0 1-.215-.836c0-.364-.01-.729.007-1.092c.037.089.044.192.081.282a2.1 2.1 0 0 0 .833 1.021a3.66 3.66 0 0 0 2 .575a3.7 3.7 0 0 0 1.96-.549a2.3 2.3 0 0 0 .7-.7a1.8 1.8 0 0 0 .239-.641a1.4 1.4 0 0 1 .011.273v.911a1.67 1.67 0 0 1-.354.975"/><path fill="#f39c12" d="M22.145 15.2a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.011-.273a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.64-.361m-5.25 4.2a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.011-.273a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.64-.361m11.759-2.885a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.644-.365a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.015-.269M23.4 20.717a1.8 1.8 0 0 1-.239.641a2.3 2.3 0 0 1-.7.7a3.7 3.7 0 0 1-1.96.549v1.36a3.7 3.7 0 0 0 1.644-.365a2.6 2.6 0 0 0 .913-.726a1.67 1.67 0 0 0 .357-.979v-.911a1.4 1.4 0 0 0-.015-.269m-2.899 5.347L20.5 31L31 22.605v-4.932z"/><path fill="#e67e22" d="M18.914 15.231a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-2-.575a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.119.975m-5.662 2.603a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575m10.5 0a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575M18.5 22.036a2.1 2.1 0 0 1-.833-1.021c-.037-.09-.044-.193-.081-.282c-.017.363 0 .728-.007 1.092a1.6 1.6 0 0 0 .215.836a2.46 2.46 0 0 0 1.118.975a3.7 3.7 0 0 0 1.587.335v-1.36a3.66 3.66 0 0 1-1.999-.575m-3.25-.165v-.009L10 17.669v4.937c1.75 1.4 5.25 4.192 5.25 4.192v.01C17 28.21 20.5 31 20.5 31v-4.936Z"/>'},XG={width:32,height:32,body:'<path fill="#53a2c1" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#99b8c4" d="m26.049 26.785l.675-.671c3.123.1 3.171-.008 3.308-.329l.858-2.085l.064-.2l-.07-.173c-.037-.092-.15-.365-2.1-2.224v-.978c2.25-2.168 2.2-2.279 2.074-2.6L30 15.418c-.128-.317-.177-.44-3.278-.356l-.675-.7a15 15 0 0 0-.106-3.08l-.087-.2l-2.231-.975c-.329-.15-.444-.2-2.55 2.09l-.947-.014c-2.168-2.315-2.271-2.273-2.6-2.141l-2.074.839c-.325.131-.44.178-.314 3.328l-.67.668c-3.122-.1-3.17.009-3.305.329l-.86 2.09l-.068.2l.071.174c.037.09.146.36 2.1 2.222v.975c-2.25 2.168-2.2 2.279-2.072 2.6l.854 2.113c.131.323.177.438 3.277.357l.675.7a15 15 0 0 0 .1 3.075l.087.2l2.245.981c.326.137.44.185 2.54-2.1l.947.012c2.171 2.318 2.282 2.273 2.6 2.144l2.069-.836c.338-.131.452-.176.321-3.328m-8.894-4.893a3.718 3.718 0 1 1 4.866 2.118a3.76 3.76 0 0 1-4.866-2.118"/>'},WG={width:32,height:32,body:'<path fill="#7ac1dd" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7ac1dd" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#99b8c4" d="m26.049 26.785l.675-.671c3.123.1 3.171-.008 3.308-.329l.858-2.085l.064-.2l-.07-.173c-.037-.092-.15-.365-2.1-2.224v-.978c2.25-2.168 2.2-2.279 2.074-2.6L30 15.418c-.128-.317-.177-.44-3.278-.356l-.675-.7a15 15 0 0 0-.106-3.08l-.087-.2l-2.231-.975c-.329-.15-.444-.2-2.55 2.09l-.947-.014c-2.168-2.315-2.271-2.273-2.6-2.141l-2.074.839c-.325.131-.44.178-.314 3.328l-.67.668c-3.122-.1-3.17.009-3.305.329l-.86 2.09l-.068.2l.071.174c.037.09.146.36 2.1 2.222v.975c-2.25 2.168-2.2 2.279-2.072 2.6l.854 2.113c.131.323.177.438 3.277.357l.675.7a15 15 0 0 0 .1 3.075l.087.2l2.245.981c.326.137.44.185 2.54-2.1l.947.012c2.171 2.318 2.282 2.273 2.6 2.144l2.069-.836c.338-.131.452-.176.321-3.328m-8.894-4.893a3.718 3.718 0 1 1 4.866 2.118a3.76 3.76 0 0 1-4.866-2.118"/>'},JG={width:32,height:32,body:'<path fill="#bfa055" d="M27.9 6h-9.8l-2 4H5v17h25V6Zm.1 4h-7.8l1-2H28Z"/><path fill="#509ff7" d="M7.438 11.219a2.315 2.315 0 0 1 4.25.418a2.36 2.36 0 0 1 .013 1.309a2.313 2.313 0 1 1-4.263-1.727m1.9.1a1 1 0 0 0-.6 1.665a1 1 0 0 0 1.512-1.316a1.01 1.01 0 0 0-.917-.348Zm-1.829 7.939a2.314 2.314 0 0 1 4.185.562a2.36 2.36 0 0 1 0 1.309a2.313 2.313 0 1 1-4.186-1.871m1.729.243a1 1 0 1 0 1 .32a1.01 1.01 0 0 0-.999-.321ZM7.429 27.61a2.313 2.313 0 0 1 4.263.416a2.35 2.35 0 0 1 0 1.309a2.313 2.313 0 1 1-4.263-1.725m1.826.1a1 1 0 1 0 .863.21a1 1 0 0 0-.863-.211Z"/><path fill="#014798" d="M11.688 11.637a8.5 8.5 0 0 1 1.325.056A3.6 3.6 0 0 1 16 15.2a2.293 2.293 0 0 0 2.177 2.312c.352.01.7 0 1.056 0v1.308a7.5 7.5 0 0 1-1.828-.112A3.6 3.6 0 0 1 14.7 15.3a2.37 2.37 0 0 0-.332-1.245a2.3 2.3 0 0 0-1.454-1.049a6.3 6.3 0 0 0-1.208-.06a2.36 2.36 0 0 0-.018-1.309m16.22 6.39a.655.655 0 0 1 .916.014q.988.979 1.968 1.967a.66.66 0 0 1 .024.932q-.993 1-1.993 1.993a.652.652 0 0 1-.948-.894c.29-.3.591-.594.886-.891c-2.035-.017-4.071 0-6.107-.008v-1.306c2.036-.006 4.072 0 6.108 0c-.289-.3-.6-.59-.885-.894a.654.654 0 0 1 .031-.913M11.694 19.82h7.539v1.311c-2.512-.005-5.025 0-7.537 0a2.36 2.36 0 0 0-.002-1.311m5.967 2.38a10.6 10.6 0 0 1 1.571-.059v1.31c-.4.01-.808-.019-1.21.018a2.29 2.29 0 0 0-1.8 1.28A2.5 2.5 0 0 0 16 25.831a3.593 3.593 0 0 1-3.3 3.487c-.334.026-.669.013-1 .017a2.35 2.35 0 0 0 0-1.309a4.5 4.5 0 0 0 1.453-.125a2.3 2.3 0 0 0 1.544-2.111a3.64 3.64 0 0 1 .685-2.15a3.6 3.6 0 0 1 2.279-1.44"/><path fill="#f7b61a" d="M19.235 16.326a.65.65 0 0 1 .424-.589a1.2 1.2 0 0 1 .4-.044h1.939a.66.66 0 0 1 .579.355a1.1 1.1 0 0 1 .073.531v8.027a.657.657 0 0 1-.649.668c-.646.006-1.292 0-1.938 0a1.04 1.04 0 0 1-.457-.066a.65.65 0 0 1-.373-.563c-.009-.4 0-.8 0-1.2v-7.128m1.308.683v6.967h.8c.011-2.322 0-4.646 0-6.969q-.397.002-.8.002"/>'},eH={width:32,height:32,body:'<path fill="#dbc27b" d="M27.9 6h-9.7l-2 4H5v17h25V6Zm.1 18H7V12h21Zm.1-14h-7.8l1-2H28Z"/><path fill="#dbc27b" d="M25.9 14H.3l3.8 13h25.6z"/><path fill="#509ff7" d="M7.438 11.219a2.315 2.315 0 0 1 4.25.418a2.36 2.36 0 0 1 .013 1.309a2.313 2.313 0 1 1-4.263-1.727m1.9.1a1 1 0 0 0-.6 1.665a1 1 0 0 0 1.512-1.316a1.01 1.01 0 0 0-.917-.348Zm-1.829 7.939a2.314 2.314 0 0 1 4.185.562a2.36 2.36 0 0 1 0 1.309a2.313 2.313 0 1 1-4.186-1.871m1.729.243a1 1 0 1 0 1 .32a1.01 1.01 0 0 0-.999-.321ZM7.429 27.61a2.313 2.313 0 0 1 4.263.416a2.35 2.35 0 0 1 0 1.309a2.313 2.313 0 1 1-4.263-1.725m1.826.1a1 1 0 1 0 .863.21a1 1 0 0 0-.863-.211Z"/><path fill="#014798" d="M11.688 11.637a8.5 8.5 0 0 1 1.325.056A3.6 3.6 0 0 1 16 15.2a2.293 2.293 0 0 0 2.177 2.312c.352.01.7 0 1.056 0v1.308a7.5 7.5 0 0 1-1.828-.112A3.6 3.6 0 0 1 14.7 15.3a2.37 2.37 0 0 0-.332-1.245a2.3 2.3 0 0 0-1.454-1.049a6.3 6.3 0 0 0-1.208-.06a2.36 2.36 0 0 0-.018-1.309m16.22 6.39a.655.655 0 0 1 .916.014q.988.979 1.968 1.967a.66.66 0 0 1 .024.932q-.993 1-1.993 1.993a.652.652 0 0 1-.948-.894c.29-.3.591-.594.886-.891c-2.035-.017-4.071 0-6.107-.008v-1.306c2.036-.006 4.072 0 6.108 0c-.289-.3-.6-.59-.885-.894a.654.654 0 0 1 .031-.913M11.694 19.82h7.539v1.311c-2.512-.005-5.025 0-7.537 0a2.36 2.36 0 0 0-.002-1.311m5.967 2.38a10.6 10.6 0 0 1 1.571-.059v1.31c-.4.01-.808-.019-1.21.018a2.29 2.29 0 0 0-1.8 1.28A2.5 2.5 0 0 0 16 25.831a3.593 3.593 0 0 1-3.3 3.487c-.334.026-.669.013-1 .017a2.35 2.35 0 0 0 0-1.309a4.5 4.5 0 0 0 1.453-.125a2.3 2.3 0 0 0 1.544-2.111a3.64 3.64 0 0 1 .685-2.15a3.6 3.6 0 0 1 2.279-1.44"/><path fill="#f7b61a" d="M19.235 16.326a.65.65 0 0 1 .424-.589a1.2 1.2 0 0 1 .4-.044h1.939a.66.66 0 0 1 .579.355a1.1 1.1 0 0 1 .073.531v8.027a.657.657 0 0 1-.649.668c-.646.006-1.292 0-1.938 0a1.04 1.04 0 0 1-.457-.066a.65.65 0 0 1-.373-.563c-.009-.4 0-.8 0-1.2v-7.128m1.308.683v6.967h.8c.011-2.322 0-4.646 0-6.969q-.397.002-.8.002"/>'},tH={width:32,height:32,body:'<path fill="#c09553" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#ffebe3" d="M13.728 10.867h17.023v17.581H13.728z"/><path fill="#f20" d="M14.007 11.146h4.465v7.814h-4.465z"/><path fill="#00a302" d="M18.805 11.146h6.411v12.349h-6.411z"/><path fill="#f9ff16" d="M14.007 19.312h4.465v8.83h-4.465zm11.581-8.166h4.846v3.907h-4.846z"/><path fill="#f20" d="M25.588 15.405h2.628v2.628h-2.628z"/><path fill="#00a302" d="M25.588 18.406h4.846v3.558h-4.846zm2.854-3.001h1.992v2.628h-1.992z"/><path fill="#f20" d="M18.805 23.787H23.4v4.356h-4.595z"/><path fill="#00a302" d="M23.596 23.787h1.62v3.558h-1.62z"/><path fill="#f9ff16" d="M23.596 27.559h4.846v.583h-4.846z"/><path fill="#f20" d="M28.442 22.144h1.992v1.584h-1.992zm-2.854 0h2.628v1.584h-2.628zm0 1.838h1.992v1.992h-1.992z"/><path fill="#00a302" d="M27.744 23.982h2.69v2.628h-2.69zm-2.156 2.246h1.992v1.116h-1.992zm3.016.558h1.741v1.331h-1.741z"/><path fill="#f9ff16" d="M27.744 26.761h.698v.583h-.698z"/>'},nH={width:32,height:32,body:'<path fill="#dcb67a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dcb67a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#ffebe3" d="M13.728 11.867h17.023v17.581H13.728z"/><path fill="#f20" d="M14.007 12.146h4.465v7.814h-4.465z"/><path fill="#00a302" d="M18.805 12.146h6.411v12.349h-6.411z"/><path fill="#f9ff16" d="M14.007 20.312h4.465v8.83h-4.465zm11.581-8.166h4.846v3.907h-4.846z"/><path fill="#f20" d="M25.588 16.405h2.628v2.628h-2.628z"/><path fill="#00a302" d="M25.588 19.406h4.846v3.558h-4.846zm2.854-3.001h1.992v2.628h-1.992z"/><path fill="#f20" d="M18.805 24.787H23.4v4.356h-4.595z"/><path fill="#00a302" d="M23.596 24.787h1.62v3.558h-1.62z"/><path fill="#f9ff16" d="M23.596 28.559h4.846v.583h-4.846z"/><path fill="#f20" d="M28.442 23.144h1.992v1.584h-1.992zm-2.854 0h2.628v1.584h-2.628zm0 1.838h1.992v1.992h-1.992z"/><path fill="#00a302" d="M27.744 24.982h2.69v2.628h-2.69zm-2.156 2.246h1.992v1.116h-1.992zm3.016.558h1.741v1.331h-1.741z"/><path fill="#f9ff16" d="M27.744 27.761h.698v.583h-.698z"/>'},aH={width:32,height:32,body:'<path fill="#c09553" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#ffda44" d="M17.822 19.942a15.9 15.9 0 0 0 5.578.895a15.9 15.9 0 0 0 5.578-.9c1.4-.545 1.894-1.151 1.894-1.5v-2.662a7.8 7.8 0 0 1-1.563.807a16.7 16.7 0 0 1-5.909.977a16.8 16.8 0 0 1-5.909-.975a7.7 7.7 0 0 1-1.563-.809v2.663c0 .355.497.962 1.894 1.504m0 5.029a11.7 11.7 0 0 0 1.95.556a19.6 19.6 0 0 0 7.257 0a11.7 11.7 0 0 0 1.95-.556c1.4-.545 1.894-1.151 1.894-1.5v-2.542a8 8 0 0 1-1.269.619a17.6 17.6 0 0 1-6.2 1.007a17.6 17.6 0 0 1-6.2-1.011a8 8 0 0 1-1.269-.619v2.545c-.007.35.49.953 1.887 1.501"/><path fill="#ffda44" d="M23.4 31c4.125 0 7.472-1.308 7.472-2.921v-2.127a8 8 0 0 1-1.151.571l-.118.047a17.6 17.6 0 0 1-6.2 1.013a17.6 17.6 0 0 1-6.2-1.013l-.118-.047a8 8 0 0 1-1.151-.571v2.128C15.928 29.692 19.275 31 23.4 31"/><ellipse cx="23.4" cy="12.921" fill="#ffda44" rx="7.472" ry="2.921"/>'},rH={width:32,height:32,body:'<path fill="#dcb67a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dcb67a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#ffda44" d="M17.822 19.942a15.9 15.9 0 0 0 5.578.895a15.9 15.9 0 0 0 5.578-.9c1.4-.545 1.894-1.151 1.894-1.5v-2.662a7.8 7.8 0 0 1-1.563.807a16.7 16.7 0 0 1-5.909.977a16.8 16.8 0 0 1-5.909-.975a7.7 7.7 0 0 1-1.563-.809v2.663c0 .355.497.962 1.894 1.504m0 5.029a11.7 11.7 0 0 0 1.95.556a19.6 19.6 0 0 0 7.257 0a11.7 11.7 0 0 0 1.95-.556c1.4-.545 1.894-1.151 1.894-1.5v-2.542a8 8 0 0 1-1.269.619a17.6 17.6 0 0 1-6.2 1.007a17.6 17.6 0 0 1-6.2-1.011a8 8 0 0 1-1.269-.619v2.545c-.007.35.49.953 1.887 1.501"/><path fill="#ffda44" d="M23.4 31c4.125 0 7.472-1.308 7.472-2.921v-2.127a8 8 0 0 1-1.151.571l-.118.047a17.6 17.6 0 0 1-6.2 1.013a17.6 17.6 0 0 1-6.2-1.013l-.118-.047a8 8 0 0 1-1.151-.571v2.128C15.928 29.692 19.275 31 23.4 31"/><ellipse cx="23.4" cy="12.921" fill="#ffda44" rx="7.472" ry="2.921"/>'},lH={width:32,height:32,body:'<defs><linearGradient id="SVGpSsxrdrd" x1="20.698" x2="17.514" y1="23.259" y2="34.062" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f1f1f2"/><stop offset=".391" stop-color="#eaebec"/><stop offset="1" stop-color="#e6e7e8"/></linearGradient><linearGradient id="SVGZ8izfdlD" x1="29.221" x2="30.358" y1="11.689" y2="36.594" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e6e7e8"/><stop offset=".482" stop-color="#dbdcde"/><stop offset="1" stop-color="#d7d8da"/></linearGradient><linearGradient id="SVGu2Vpjckn" x1="26.177" x2="16.325" y1="9.571" y2="19.482" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff57e"/><stop offset="1" stop-color="#fdbf0f"/></linearGradient><linearGradient id="SVGiKVnueaF" x1="28.842" x2="30.965" y1="10.318" y2="21.502" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fbe574"/><stop offset="1" stop-color="#efab14"/></linearGradient></defs><path fill="#bc9f55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="url(#SVGpSsxrdrd)" d="M14.38 11.061L28.329 10v21L14.38 28.726z"/><path fill="url(#SVGZ8izfdlD)" d="m28.329 10l2.653 1.44l.038 16.793L28.329 31z"/><path fill="url(#SVGu2Vpjckn)" d="M28.329 17.783c-2.6-.518-4.338 3.293-6.394 4.865c-3.636 2.78-5.809-2.283-7.555-6.306V11.06c4.65-.513 9.3-.549 13.949-1.061z"/><path fill="url(#SVGiKVnueaF)" d="m31 22.909l-.017-11.474L28.329 10v7.775c1.752.139.94 4.956 2.671 5.134"/><path fill="#fdbf0f" d="m27.194 22.328l.06.108a3 3 0 0 0 .23-.272l-.07-.1a3 3 0 0 1-.22.264m.409-.56l.081.079a2 2 0 0 0 .151-.367l-.092-.052a2 2 0 0 1-.143.339Zm.291-1.127l-.1.031a1.5 1.5 0 0 1 .022.26v.121l.1.014q.005-.068.005-.135a2 2 0 0 0-.027-.292Zm-.123-.394a1.4 1.4 0 0 0-.207-.319l-.064.1a1.2 1.2 0 0 1 .187.288ZM27.3 19.7a1 1 0 0 0-.3-.125l-.018.134a1 1 0 0 1 .273.115Zm-.909-.089l.025.131a1 1 0 0 1 .284-.059v-.136a1.1 1.1 0 0 0-.308.067Zm-.525.325l-.029.026l.056.113l.028-.026a2 2 0 0 1 .223-.172l-.042-.123a2 2 0 0 0-.234.185Zm-.509.52l.063.105q.118-.132.233-.251l-.06-.108q-.115.124-.234.257Zm-.455.531l.066.1q.114-.137.225-.267l-.065-.1q-.11.132-.228.27Zm-.448.539l.066.1l.224-.269l-.066-.1Zm-.454.531l.064.1q.116-.132.228-.264l-.065-.1q-.108.133-.227.264m-.465.506l.06.108q.12-.125.236-.251l-.062-.106q-.111.125-.23.249Zm-.483.471l.055.113q.126-.115.247-.233L23.3 22.8q-.12.121-.244.234Zm-.5.424l.049.118q.132-.1.259-.208l-.052-.115q-.127.106-.257.206Zm-.528.366l.041.124q.138-.085.271-.178l-.045-.121q-.132.092-.267.176Zm-.549.3l.032.128q.143-.067.282-.142l-.037-.126q-.137.073-.278.14Zm-.568.222l.023.132q.148-.047.291-.1l-.027-.131q-.142.053-.288.099Zm-.582.143l.013.135q.151-.026.3-.062l-.018-.134q-.147.035-.295.061m-.519.059h-.069v.136h.072q.116-.006.229-.018l-.008-.135q-.111.011-.225.017Zm-.67.075a3 3 0 0 0 .3.051l.008-.135a2 2 0 0 1-.291-.05Zm-.584-.208a3 3 0 0 0 .289.121l.025-.131a3 3 0 0 1-.281-.118ZM18 24.086q.134.095.272.177l.04-.124q-.135-.08-.266-.173Zm-.517-.42q.125.115.254.22l.051-.116q-.127-.1-.25-.216ZM17 23.175q.116.13.237.253l.059-.109q-.119-.121-.234-.249Zm-.449-.544q.108.141.221.277l.066-.1q-.111-.134-.218-.274Zm-.42-.586q.1.15.207.3l.071-.095l-.2-.294Zm-.394-.619q.094.156.194.313l.069-.088q-.1-.155-.192-.31Zm-.369-.645q.087.161.182.326l.078-.084q-.094-.164-.18-.323Zm-.347-.668q.081.163.171.337l.081-.078q-.09-.173-.169-.334Zm-.325-.689q.071.16.16.347l.084-.073a16 16 0 0 1-.158-.345Zm-.212-.776l-.088.062s.051.135.147.362l.083-.072q-.072-.168-.108-.263c-.036-.095-.037-.09-.037-.09Zm12.354-.491l.068.424v.021l.017.012l.352.246l.02-.09l-1 .162l.049.078l.584-.832Zm-.527.873l1-.162l.121-.02l-.1-.07l-.352-.246l.021.033l-.068-.424l-.019-.121l-.07.1l-.584.832l-.068.1Z"/>'},iH={width:32,height:32,body:'<defs><linearGradient id="SVGpSsxrdrd" x1="20.698" x2="17.514" y1="23.259" y2="34.062" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f1f1f2"/><stop offset=".391" stop-color="#eaebec"/><stop offset="1" stop-color="#e6e7e8"/></linearGradient><linearGradient id="SVGZ8izfdlD" x1="29.221" x2="30.358" y1="11.689" y2="36.594" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e6e7e8"/><stop offset=".482" stop-color="#dbdcde"/><stop offset="1" stop-color="#d7d8da"/></linearGradient><linearGradient id="SVGu2Vpjckn" x1="26.177" x2="16.325" y1="9.571" y2="19.482" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff57e"/><stop offset="1" stop-color="#fdbf0f"/></linearGradient><linearGradient id="SVGiKVnueaF" x1="28.842" x2="30.965" y1="10.318" y2="21.502" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fbe574"/><stop offset="1" stop-color="#efab14"/></linearGradient></defs><path fill="#d8be7c" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#d8be7c" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="url(#SVGpSsxrdrd)" d="M14.38 11.061L28.329 10v21L14.38 28.726z"/><path fill="url(#SVGZ8izfdlD)" d="m28.329 10l2.653 1.44l.038 16.793L28.329 31z"/><path fill="url(#SVGu2Vpjckn)" d="M28.329 17.783c-2.6-.518-4.338 3.293-6.394 4.865c-3.636 2.78-5.809-2.283-7.555-6.306V11.06c4.65-.513 9.3-.549 13.949-1.061z"/><path fill="url(#SVGiKVnueaF)" d="m31 22.909l-.017-11.474L28.329 10v7.775c1.752.139.94 4.956 2.671 5.134"/><path fill="#fdbf0f" d="m27.194 22.328l.06.108a3 3 0 0 0 .23-.272l-.07-.1a3 3 0 0 1-.22.264m.409-.56l.081.079a2 2 0 0 0 .151-.367l-.092-.052a2 2 0 0 1-.143.339Zm.291-1.127l-.1.031a1.5 1.5 0 0 1 .022.26v.121l.1.014q.005-.068.005-.135a2 2 0 0 0-.027-.292Zm-.123-.394a1.4 1.4 0 0 0-.207-.319l-.064.1a1.2 1.2 0 0 1 .187.288ZM27.3 19.7a1 1 0 0 0-.3-.125l-.018.134a1 1 0 0 1 .273.115Zm-.909-.089l.025.131a1 1 0 0 1 .284-.059v-.136a1.1 1.1 0 0 0-.308.067Zm-.525.325l-.029.026l.056.113l.028-.026a2 2 0 0 1 .223-.172l-.042-.123a2 2 0 0 0-.234.185Zm-.509.52l.063.105q.118-.132.233-.251l-.06-.108q-.115.124-.234.257Zm-.455.531l.066.1q.114-.137.225-.267l-.065-.1q-.11.132-.228.27Zm-.448.539l.066.1l.224-.269l-.066-.1Zm-.454.531l.064.1q.116-.132.228-.264l-.065-.1q-.108.133-.227.264m-.465.506l.06.108q.12-.125.236-.251l-.062-.106q-.111.125-.23.249Zm-.483.471l.055.113q.126-.115.247-.233L23.3 22.8q-.12.121-.244.234Zm-.5.424l.049.118q.132-.1.259-.208l-.052-.115q-.127.106-.257.206Zm-.528.366l.041.124q.138-.085.271-.178l-.045-.121q-.132.092-.267.176Zm-.549.3l.032.128q.143-.067.282-.142l-.037-.126q-.137.073-.278.14Zm-.568.222l.023.132q.148-.047.291-.1l-.027-.131q-.142.053-.288.099Zm-.582.143l.013.135q.151-.026.3-.062l-.018-.134q-.147.035-.295.061m-.519.059h-.069v.136h.072q.116-.006.229-.018l-.008-.135q-.111.011-.225.017Zm-.67.075a3 3 0 0 0 .3.051l.008-.135a2 2 0 0 1-.291-.05Zm-.584-.208a3 3 0 0 0 .289.121l.025-.131a3 3 0 0 1-.281-.118ZM18 24.086q.134.095.272.177l.04-.124q-.135-.08-.266-.173Zm-.517-.42q.125.115.254.22l.051-.116q-.127-.1-.25-.216ZM17 23.175q.116.13.237.253l.059-.109q-.119-.121-.234-.249Zm-.449-.544q.108.141.221.277l.066-.1q-.111-.134-.218-.274Zm-.42-.586q.1.15.207.3l.071-.095l-.2-.294Zm-.394-.619q.094.156.194.313l.069-.088q-.1-.155-.192-.31Zm-.369-.645q.087.161.182.326l.078-.084q-.094-.164-.18-.323Zm-.347-.668q.081.163.171.337l.081-.078q-.09-.173-.169-.334Zm-.325-.689q.071.16.16.347l.084-.073a16 16 0 0 1-.158-.345Zm-.212-.776l-.088.062s.051.135.147.362l.083-.072q-.072-.168-.108-.263c-.036-.095-.037-.09-.037-.09Zm12.354-.491l.068.424v.021l.017.012l.352.246l.02-.09l-1 .162l.049.078l.584-.832Zm-.527.873l1-.162l.121-.02l-.1-.07l-.352-.246l.021.033l-.068-.424l-.019-.121l-.07.1l-.584.832l-.068.1Z"/>'},sH={width:32,height:32,body:'<path fill="#c05454" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="gray" d="M15.266 11.311v18.375h14.449v-15.1h-3.6v-3.275zm12.146.813l.008 1.158h1.252l-1.26-1.16Z"/><path fill="#c5c5c5" d="M27.028 10H15.281a1.316 1.316 0 0 0-1.312 1.313v18.375A1.316 1.316 0 0 0 15.281 31h14.438a1.316 1.316 0 0 0 1.313-1.312V13.642Zm.394 2.133l1.247 1.148h-1.247ZM15.281 29.688V11.313h10.828v3.281h3.609v15.094Z"/><path fill="#c5c5c5" d="M16.594 19.372h11.813v1.313H16.594zm1.842-6.8a1.4 1.4 0 0 0-.558-.394a2.05 2.05 0 0 0-.82-.131h-1.28v3.839h1.28a1.66 1.66 0 0 0 1.313-.492a1.8 1.8 0 0 0 .361-.591a3 3 0 0 0 .1-.82a3 3 0 0 0-.1-.788a1.6 1.6 0 0 0-.296-.623m-.459 1.837a1 1 0 0 1-.164.394a.8.8 0 0 1-.3.262a1.1 1.1 0 0 1-.492.1H16.6v-2.429h.459a.87.87 0 0 1 .722.3a1.2 1.2 0 0 1 .164.361a2.6 2.6 0 0 1 .066.525a2.2 2.2 0 0 1-.035.488Zm4.002-1.837a1.4 1.4 0 0 0-.525-.427a1.7 1.7 0 0 0-.755-.164a2 2 0 0 0-.788.164a1.7 1.7 0 0 0-.525.427a2.2 2.2 0 0 0-.3.623a2.94 2.94 0 0 0 0 1.509a1.8 1.8 0 0 0 .3.623a1.13 1.13 0 0 0 .525.427a1.9 1.9 0 0 0 .788.164a1.42 1.42 0 0 0 1.214-.525a2.1 2.1 0 0 0 .427-1.444a2.8 2.8 0 0 0-.1-.755a1.33 1.33 0 0 0-.261-.622M21.29 14.9a.7.7 0 0 1-.623.328a.64.64 0 0 1-.623-.328a1.87 1.87 0 0 1-.2-.952a1.8 1.8 0 0 1 .2-.952a.806.806 0 0 1 1.247 0a1.87 1.87 0 0 1 .2.952a1.8 1.8 0 0 1-.201.952m3.41-.031a.7.7 0 0 1-.131.164a.7.7 0 0 1-.2.131a.6.6 0 0 1-.263.033a.575.575 0 0 1-.558-.3a1.8 1.8 0 0 1-.2-.952v-.262c0-.1.033-.2.033-.3c.033-.1.033-.2.066-.263a.53.53 0 0 1 .131-.23a1 1 0 0 1 .2-.164a.6.6 0 0 1 .263-.066a.57.57 0 0 1 .427.164a1.1 1.1 0 0 1 .23.394l.755-.2a1.6 1.6 0 0 0-.23-.525a1.6 1.6 0 0 0-.328-.328a1.88 1.88 0 0 0-1.608-.033a1.55 1.55 0 0 0-.492.427a1.3 1.3 0 0 0-.164.656a2.7 2.7 0 0 0-.066.722a5 5 0 0 0 .066.722a1.8 1.8 0 0 0 .262.623a1.2 1.2 0 0 0 .492.427a1.7 1.7 0 0 0 .755.164a1.6 1.6 0 0 0 .919-.262a1.6 1.6 0 0 0 .328-.328a3.3 3.3 0 0 0 .263-.492l-.788-.2a.9.9 0 0 1-.162.278m-8.106 12.936h8.203v1.313h-8.203zm0-2.533h11.813v1.313H16.594zm0-3h11.813v1.313H16.594zm.055-5.8h11.813v1.313H16.649z"/>'},oH={width:32,height:32,body:'<path fill="#dc7a7a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dc7a7a" d="M4.3 26.5h25.2l-3.8-12.8H.5z"/><path fill="gray" d="M15.266 11.311v18.375h14.449v-15.1h-3.6v-3.275zm12.146.813l.008 1.158h1.252l-1.26-1.16Z"/><path fill="#c5c5c5" d="M27.028 10H15.281a1.316 1.316 0 0 0-1.312 1.313v18.375A1.316 1.316 0 0 0 15.281 31h14.438a1.316 1.316 0 0 0 1.313-1.312V13.642Zm.394 2.133l1.247 1.148h-1.247ZM15.281 29.688V11.313h10.828v3.281h3.609v15.094Z"/><path fill="#c5c5c5" d="M16.594 19.372h11.813v1.313H16.594zm1.842-6.8a1.4 1.4 0 0 0-.558-.394a2.05 2.05 0 0 0-.82-.131h-1.28v3.839h1.28a1.66 1.66 0 0 0 1.313-.492a1.8 1.8 0 0 0 .361-.591a3 3 0 0 0 .1-.82a3 3 0 0 0-.1-.788a1.6 1.6 0 0 0-.296-.623m-.459 1.837a1 1 0 0 1-.164.394a.8.8 0 0 1-.3.262a1.1 1.1 0 0 1-.492.1H16.6v-2.429h.459a.87.87 0 0 1 .722.3a1.2 1.2 0 0 1 .164.361a2.6 2.6 0 0 1 .066.525a2.2 2.2 0 0 1-.035.488Zm4.002-1.837a1.4 1.4 0 0 0-.525-.427a1.7 1.7 0 0 0-.755-.164a2 2 0 0 0-.788.164a1.7 1.7 0 0 0-.525.427a2.2 2.2 0 0 0-.3.623a2.94 2.94 0 0 0 0 1.509a1.8 1.8 0 0 0 .3.623a1.13 1.13 0 0 0 .525.427a1.9 1.9 0 0 0 .788.164a1.42 1.42 0 0 0 1.214-.525a2.1 2.1 0 0 0 .427-1.444a2.8 2.8 0 0 0-.1-.755a1.33 1.33 0 0 0-.261-.622M21.29 14.9a.7.7 0 0 1-.623.328a.64.64 0 0 1-.623-.328a1.87 1.87 0 0 1-.2-.952a1.8 1.8 0 0 1 .2-.952a.806.806 0 0 1 1.247 0a1.87 1.87 0 0 1 .2.952a1.8 1.8 0 0 1-.201.952m3.41-.031a.7.7 0 0 1-.131.164a.7.7 0 0 1-.2.131a.6.6 0 0 1-.263.033a.575.575 0 0 1-.558-.3a1.8 1.8 0 0 1-.2-.952v-.262c0-.1.033-.2.033-.3c.033-.1.033-.2.066-.263a.53.53 0 0 1 .131-.23a1 1 0 0 1 .2-.164a.6.6 0 0 1 .263-.066a.57.57 0 0 1 .427.164a1.1 1.1 0 0 1 .23.394l.755-.2a1.6 1.6 0 0 0-.23-.525a1.6 1.6 0 0 0-.328-.328a1.88 1.88 0 0 0-1.608-.033a1.55 1.55 0 0 0-.492.427a1.3 1.3 0 0 0-.164.656a2.7 2.7 0 0 0-.066.722a5 5 0 0 0 .066.722a1.8 1.8 0 0 0 .262.623a1.2 1.2 0 0 0 .492.427a1.7 1.7 0 0 0 .755.164a1.6 1.6 0 0 0 .919-.262a1.6 1.6 0 0 0 .328-.328a3.3 3.3 0 0 0 .263-.492l-.788-.2a.9.9 0 0 1-.162.278m-8.106 12.936h8.203v1.313h-8.203zm0-2.533h11.813v1.313H16.594zm0-3h11.813v1.313H16.594zm.055-5.8h11.813v1.313H16.649z"/>'},cH={width:32,height:32,body:'<path fill="#bf7f55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#cfcfcf" d="m18.008 24.674l-1.969-5.882l-2.021 5.882Zm5.046 6.126h-5.306v-1.287l.344-.021c.535-.035.694-.154.729-.191a.32.32 0 0 0 .109-.247a4.7 4.7 0 0 0-.314-1.316l-.609-1.816h-4.016l-.691 2.023a3.8 3.8 0 0 0-.262 1.088a.3.3 0 0 0 .115.227c.029.028.2.17.893.232l.336.031V30.8H10v-1.236l.3-.066c.589-.13.731-.273.754-.3a6.4 6.4 0 0 0 .885-1.942L16.116 15h.78l4.134 12.387a5.3 5.3 0 0 0 .791 1.726a1.3 1.3 0 0 0 .892.379l.34.026Zm4.827-2.573v-3.746a15 15 0 0 0-1.67.912a3.15 3.15 0 0 0-.968.988a2.25 2.25 0 0 0-.291 1.127a2.13 2.13 0 0 0 .368 1.281a1.05 1.05 0 0 0 .848.512a2.9 2.9 0 0 0 1.713-1.074M25.381 31a1.94 1.94 0 0 1-1.6-.84a3.5 3.5 0 0 1-.624-2.148a3.34 3.34 0 0 1 .311-1.482A4.24 4.24 0 0 1 24.806 25a16.4 16.4 0 0 1 2.713-1.493v-.07a3.3 3.3 0 0 0-.287-1.723a.9.9 0 0 0-.806-.387a.76.76 0 0 0-.612.245a.72.72 0 0 0-.208.5l.017.607a1.77 1.77 0 0 1-.3 1.089a.96.96 0 0 1-1.577-.018a1.8 1.8 0 0 1-.293-1.066a2.87 2.87 0 0 1 .887-2.047a3.13 3.13 0 0 1 2.344-.876a3.37 3.37 0 0 1 1.881.493a2.36 2.36 0 0 1 .909 1.265a7.5 7.5 0 0 1 .183 2.066v3.338c0 1.191.024 1.542.038 1.645a.7.7 0 0 0 .04.188c.064-.074.213-.212.648-.758l.617-.772v1.849l-.072.121c-.718 1.207-1.412 1.793-2.122 1.793a1.11 1.11 0 0 1-.943-.524a1.9 1.9 0 0 1-.269-.7a7.4 7.4 0 0 1-1.075.918a2.24 2.24 0 0 1-1.138.317"/>'},uH={width:32,height:32,body:'<path fill="#dba17b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dba17b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#cfcfcf" d="m18.008 24.674l-1.969-5.882l-2.021 5.882Zm5.046 6.126h-5.306v-1.287l.344-.021c.535-.035.694-.154.729-.191a.32.32 0 0 0 .109-.247a4.7 4.7 0 0 0-.314-1.316l-.609-1.816h-4.016l-.691 2.023a3.8 3.8 0 0 0-.262 1.088a.3.3 0 0 0 .115.227c.029.028.2.17.893.232l.336.031V30.8H10v-1.236l.3-.066c.589-.13.731-.273.754-.3a6.4 6.4 0 0 0 .885-1.942L16.116 15h.78l4.134 12.387a5.3 5.3 0 0 0 .791 1.726a1.3 1.3 0 0 0 .892.379l.34.026Zm4.827-2.573v-3.746a15 15 0 0 0-1.67.912a3.15 3.15 0 0 0-.968.988a2.25 2.25 0 0 0-.291 1.127a2.13 2.13 0 0 0 .368 1.281a1.05 1.05 0 0 0 .848.512a2.9 2.9 0 0 0 1.713-1.074M25.381 31a1.94 1.94 0 0 1-1.6-.84a3.5 3.5 0 0 1-.624-2.148a3.34 3.34 0 0 1 .311-1.482A4.24 4.24 0 0 1 24.806 25a16.4 16.4 0 0 1 2.713-1.493v-.07a3.3 3.3 0 0 0-.287-1.723a.9.9 0 0 0-.806-.387a.76.76 0 0 0-.612.245a.72.72 0 0 0-.208.5l.017.607a1.77 1.77 0 0 1-.3 1.089a.96.96 0 0 1-1.577-.018a1.8 1.8 0 0 1-.293-1.066a2.87 2.87 0 0 1 .887-2.047a3.13 3.13 0 0 1 2.344-.876a3.37 3.37 0 0 1 1.881.493a2.36 2.36 0 0 1 .909 1.265a7.5 7.5 0 0 1 .183 2.066v3.338c0 1.191.024 1.542.038 1.645a.7.7 0 0 0 .04.188c.064-.074.213-.212.648-.758l.617-.772v1.849l-.072.121c-.718 1.207-1.412 1.793-2.122 1.793a1.11 1.11 0 0 1-.943-.524a1.9 1.9 0 0 1-.269-.7a7.4 7.4 0 0 1-1.075.918a2.24 2.24 0 0 1-1.138.317"/>'},xH={width:32,height:32,body:'<path fill="#9b9b9b" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#fff" fill-rule="evenodd" d="M31 20.5A10.5 10.5 0 1 1 20.5 10A10.5 10.5 0 0 1 31 20.5"/><path fill="#333" fill-rule="evenodd" d="M23.013 27.6a2.5 2.5 0 0 0-.713-1.944c2.339-.26 4.794-1.148 4.794-5.181a4.05 4.05 0 0 0-1.079-2.818a3.77 3.77 0 0 0-.105-2.779s-.88-.282-2.884 1.077a9.94 9.94 0 0 0-5.258 0c-2.005-1.359-2.887-1.077-2.887-1.077a3.78 3.78 0 0 0-.1 2.779A4.06 4.06 0 0 0 13.7 20.47c0 4.023 2.451 4.924 4.783 5.189a2.25 2.25 0 0 0-.667 1.4a2.234 2.234 0 0 1-3.055-.873a2.21 2.21 0 0 0-1.609-1.082s-1.025-.013-.072.639a2.78 2.78 0 0 1 1.166 1.535s.616 2.043 3.537 1.408c0 .876.014 1.537.014 1.786a.6.6 0 0 1-.032.177a10.2 10.2 0 0 0 5.27 0a.6.6 0 0 1-.035-.173c0-.344.013-1.476.013-2.876"/>'},dH={width:32,height:32,body:'<path fill="#bbb" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v4H.5l3.8 12.8h25.2v-21Zm-7.2 2.1h7.1v2.1h-8.1Zm5.5 6.1H6.6v-1.9h20.8v7.626Z"/><path fill="#fff" fill-rule="evenodd" d="M31 20.5A10.5 10.5 0 1 1 20.5 10A10.5 10.5 0 0 1 31 20.5"/><path fill="#333" fill-rule="evenodd" d="M23.013 27.6a2.5 2.5 0 0 0-.713-1.944c2.339-.26 4.794-1.148 4.794-5.181a4.05 4.05 0 0 0-1.079-2.818a3.77 3.77 0 0 0-.105-2.779s-.88-.282-2.884 1.077a9.94 9.94 0 0 0-5.258 0c-2.005-1.359-2.887-1.077-2.887-1.077a3.78 3.78 0 0 0-.1 2.779A4.06 4.06 0 0 0 13.7 20.47c0 4.023 2.451 4.924 4.783 5.189a2.25 2.25 0 0 0-.667 1.4a2.234 2.234 0 0 1-3.055-.873a2.21 2.21 0 0 0-1.609-1.082s-1.025-.013-.072.639a2.78 2.78 0 0 1 1.166 1.535s.616 2.043 3.537 1.408c0 .876.014 1.537.014 1.786a.6.6 0 0 1-.032.177a10.2 10.2 0 0 0 5.27 0a.6.6 0 0 1-.035-.173c0-.344.013-1.476.013-2.876"/>'},fH={width:32,height:32,body:'<path fill="#c09553" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#61dbfb" d="M22.364 15.607c.463.77 1.395 1.172 1.934 1.357l.116.042c.156 4.532.117 5.029-.116 5.966c-.35 1.404-1.427 3.248-3.558 3.217c-2.13-.03-2.248-1.47-2.403-2.397s.008-3.05 0-3.1c-.015-.108.57.026 1.3 0q.782-.027 1.375 0q-2.01-2.271-2.157-2.417c-.006-.006-1.084-.856-2.55-2.548a63 63 0 0 0 0 2.661c.015.863-.036 3.071 0 4.408s.227 3.647 1.055 4.394c.827.746 1.285 1.236 3.652 1.303s3.747-1.661 4.438-2.303c.692-.643 1.186-2.212 1.279-3.218q.049-.537.024-5.516q-.012.476-.024-.45q.253-.105.282-.115c1-.401 1.174-.777 1.626-1.284c.453-.507.704-3.168 0-4.021c-.704-.854-.954-1.077-1.908-1.313s-1.741-.134-2.43 0s-1.371.658-1.935 1.313s-.465 3.25 0 4.02m2.214-.173c-.739-.366-1.177-1.186-1.063-1.979c.097-.646.49-1.19 1.063-1.474c.481-.239.955-.27 1.463-.104c.89.288 1.455 1.231 1.294 2.144c-.231 1.282-1.602 1.982-2.756 1.412"/>'},hH={width:32,height:32,body:'<path fill="#dcb67a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dcb67a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#61dbfb" d="M22.364 15.607c.463.77 1.395 1.172 1.934 1.357l.116.042c.156 4.532.117 5.029-.116 5.966c-.35 1.404-1.427 3.248-3.558 3.217c-2.13-.03-2.248-1.47-2.403-2.397s.008-3.05 0-3.1c-.015-.108.57.026 1.3 0q.782-.027 1.375 0q-2.01-2.271-2.157-2.417c-.006-.006-1.084-.856-2.55-2.548a63 63 0 0 0 0 2.661c.015.863-.036 3.071 0 4.408s.227 3.647 1.055 4.394c.827.746 1.285 1.236 3.652 1.303s3.747-1.661 4.438-2.303c.692-.643 1.186-2.212 1.279-3.218q.049-.537.024-5.516q-.012.476-.024-.45q.253-.105.282-.115c1-.401 1.174-.777 1.626-1.284c.453-.507.704-3.168 0-4.021c-.704-.854-.954-1.077-1.908-1.313s-1.741-.134-2.43 0s-1.371.658-1.935 1.313s-.465 3.25 0 4.02m2.214-.173c-.739-.366-1.177-1.186-1.063-1.979c.097-.646.49-1.19 1.063-1.474c.481-.239.955-.27 1.463-.104c.89.288 1.455 1.231 1.294 2.144c-.231 1.282-1.602 1.982-2.756 1.412"/>'},pH={width:32,height:32,body:'<path fill="#55bfa0" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#2dcc9f" d="M31 15.778V31H10V15.777h21"/><path fill="#fff" d="M26.674 17.8a1.653 1.653 0 1 0 .845.467a1.66 1.66 0 0 0-.845-.467m-4.591 8.667L18 20.786l-6.062 8.428h8.174q.987-1.374 1.976-2.747m2.955-3.076l-4.188 5.824h8.377q-2.094-2.915-4.189-5.824"/>'},mH={width:32,height:32,body:'<path fill="#7bdbc0" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7bdbc0" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#2dcc9f" d="M31 15.778V31H10V15.777h21"/><path fill="#fff" d="M26.674 17.8a1.653 1.653 0 1 0 .845.467a1.66 1.66 0 0 0-.845-.467m-4.591 8.667L18 20.786l-6.062 8.428h8.174q.987-1.374 1.976-2.747m2.955-3.076l-4.188 5.824h8.377q-2.094-2.915-4.189-5.824"/>'},gH={width:32,height:32,body:'<path fill="#c18053" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#59c2f2" d="m13.065 26.488l-.383-.365v-.753a4.48 4.48 0 0 0 5.557 0v.753l-.383.365a3.47 3.47 0 0 1-4.791 0"/><path fill="#59c2f2" d="M12.682 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.334v-1.111h-3.334Zm1.667 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/><path fill="#8abf4f" d="m23.968 26.488l.383-.365v-.753a4.48 4.48 0 0 1-5.557 0v.753l.383.365a3.47 3.47 0 0 0 4.791 0"/><path fill="#8abf4f" d="M18.794 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.335v-1.111h-3.334Zm1.668 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/><path fill="#b533a5" d="m30.081 26.488l.383-.365v-.753a4.48 4.48 0 0 1-5.557 0v.753l.383.365a3.47 3.47 0 0 0 4.791 0"/><path fill="#b533a5" d="M24.907 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.334v-1.111h-3.334Zm1.667 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/>'},EH={width:32,height:32,body:'<path fill="#dda27a" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dda27a" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#59c2f2" d="m13.065 26.488l-.383-.365v-.753a4.48 4.48 0 0 0 5.557 0v.753l-.383.365a3.47 3.47 0 0 1-4.791 0"/><path fill="#59c2f2" d="M12.682 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.334v-1.111h-3.334Zm1.667 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/><path fill="#8abf4f" d="m23.968 26.488l.383-.365v-.753a4.48 4.48 0 0 1-5.557 0v.753l.383.365a3.47 3.47 0 0 0 4.791 0"/><path fill="#8abf4f" d="M18.794 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.335v-1.111h-3.334Zm1.668 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/><path fill="#b533a5" d="m30.081 26.488l.383-.365v-.753a4.48 4.48 0 0 1-5.557 0v.753l.383.365a3.47 3.47 0 0 0 4.791 0"/><path fill="#b533a5" d="M24.907 23.9V13a4.03 4.03 0 0 0 5.557 0v10.9l-.383.365a3.47 3.47 0 0 1-4.791 0Zm1.111-6.455h3.334v-1.111h-3.334Zm1.667 11.114a4.57 4.57 0 0 1-2.778-.966v2.077a4.03 4.03 0 0 0 5.557 0v-2.077a4.57 4.57 0 0 1-2.779.966"/>'},yH={width:32,height:32,body:'<path fill="#bfa855" d="M27.9 6h-9.8l-2 4H5v17h25V6Zm.1 4h-7.8l1-2H28Z"/><path fill="#40474d" d="M14.54 11.41a2.076 2.076 0 0 1 2.724-1.21c2.191 1.057 4.714 1.79 7.122 1.032q.556-.149 1.1-.347c1.023-.319 2.082-1.239 3.185-.689a4.54 4.54 0 0 1 1.847 3a21 21 0 0 1-.044 8.83a13.7 13.7 0 0 1-3.506 7.026A6.84 6.84 0 0 1 22.711 31q-.5 0-1-.016a6.78 6.78 0 0 1-4.744-2.419c-2.486-2.966-3.347-6.938-3.534-10.718a13.7 13.7 0 0 1 1.107-6.437m1.281 6.5a7.16 7.16 0 0 1 4.831-.014c-.29-2.344-4.52-2.317-4.831.014m7.908-.023a8.03 8.03 0 0 1 4.821-.05c-.408-2.271-4.46-2.242-4.821.05m-5.694 6.15a2.98 2.98 0 0 0 2.279 2.717a5.52 5.52 0 0 0 5.17-.792a2.9 2.9 0 0 0 .923-1.922a12.55 12.55 0 0 1-8.372.001Z"/><path fill="#fac502" d="M15.821 17.914c.311-2.331 4.541-2.358 4.831-.014a7.16 7.16 0 0 0-4.831.014m7.908-.023c.361-2.292 4.413-2.321 4.821-.05a8.03 8.03 0 0 0-4.821.05m-5.694 6.15a12.55 12.55 0 0 0 8.372 0a2.9 2.9 0 0 1-.923 1.922a5.52 5.52 0 0 1-5.17.792a2.98 2.98 0 0 1-2.279-2.714"/>'},bH={width:32,height:32,body:'<path fill="#dbc87b" d="M27.9 6h-9.7l-2 4H5v17h25V6Zm.1 18H7V12h21Zm.1-14h-7.8l1-2H28Z"/><path fill="#dbc87b" d="M25.9 14H.3l3.8 13h25.6z"/><path fill="#40474d" d="M14.54 11.41a2.076 2.076 0 0 1 2.724-1.21c2.191 1.057 4.714 1.79 7.122 1.032q.556-.149 1.1-.347c1.023-.319 2.082-1.239 3.185-.689a4.54 4.54 0 0 1 1.847 3a21 21 0 0 1-.044 8.83a13.7 13.7 0 0 1-3.506 7.026A6.84 6.84 0 0 1 22.711 31q-.5 0-1-.016a6.78 6.78 0 0 1-4.744-2.419c-2.486-2.966-3.347-6.938-3.534-10.718a13.7 13.7 0 0 1 1.107-6.437m1.281 6.5a7.16 7.16 0 0 1 4.831-.014c-.29-2.344-4.52-2.317-4.831.014m7.908-.023a8.03 8.03 0 0 1 4.821-.05c-.408-2.271-4.46-2.242-4.821.05m-5.694 6.15a2.98 2.98 0 0 0 2.279 2.717a5.52 5.52 0 0 0 5.17-.792a2.9 2.9 0 0 0 .923-1.922a12.55 12.55 0 0 1-8.372.001Z"/><path fill="#fac502" d="M15.821 17.914c.311-2.331 4.541-2.358 4.831-.014a7.16 7.16 0 0 0-4.831.014m7.908-.023c.361-2.292 4.413-2.321 4.821-.05a8.03 8.03 0 0 0-4.821.05m-5.694 6.15a12.55 12.55 0 0 0 8.372 0a2.9 2.9 0 0 1-.923 1.922a5.52 5.52 0 0 1-5.17.792a2.98 2.98 0 0 1-2.279-2.714"/>'},vH={width:32,height:32,body:'<path fill="#558dbf" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#b2cde5" d="M20.62 10v5.999l-5.188-3"/><path fill="#b2cde5" d="m25.807 12.999l-5.187 3V10"/><path fill="#4c89c3" d="M25.807 12.999V19l-5.187-3.001"/><path fill="#0057a9" d="M15.432 12.999V19l5.188-3.001m0 0V22l-5.188-3"/><path fill="#4c89c3" d="M20.622 15.999L20.62 22l5.187-2.998"/><path fill="#b2cde5" d="M25.807 19v6l-5.187-3"/><path fill="#b2cde5" d="M15.432 19v6l5.188-3"/><path fill="#4c89c3" d="M20.62 22v6l-5.188-3"/><path fill="#0057a9" d="m20.622 22l-.002 6l5.187-2.998"/><path fill="#b2cde5" d="M15.432 19v6l-5.187-3"/><path fill="#0057a9" d="M10.245 22v6l5.187-3m0 0v6l-5.187-3"/><path fill="#4c89c3" d="m15.434 25l-.002 6l5.188-2.998"/><path fill="#b2cde5" d="M30.995 22.002L25.807 25l.003-6"/><path fill="#4c89c3" d="M30.995 22v6l-5.188-3"/><path fill="#0057a9" d="M25.807 25v6l-5.187-3"/><path fill="#4c89c3" d="m25.81 25l-.003 6l5.188-2.998"/>'},CH={width:32,height:32,body:'<path fill="#7baddb" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7baddb" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#b2cde5" d="M20.62 10v5.999l-5.188-3"/><path fill="#b2cde5" d="m25.807 12.999l-5.187 3V10"/><path fill="#4c89c3" d="M25.807 12.999V19l-5.187-3.001"/><path fill="#0057a9" d="M15.432 12.999V19l5.188-3.001m0 0V22l-5.188-3"/><path fill="#4c89c3" d="M20.622 15.999L20.62 22l5.187-2.998"/><path fill="#b2cde5" d="M25.807 19v6l-5.187-3"/><path fill="#b2cde5" d="M15.432 19v6l5.188-3"/><path fill="#4c89c3" d="M20.62 22v6l-5.188-3"/><path fill="#0057a9" d="m20.622 22l-.002 6l5.187-2.998"/><path fill="#b2cde5" d="M15.432 19v6l-5.187-3"/><path fill="#0057a9" d="M10.245 22v6l5.187-3m0 0v6l-5.187-3"/><path fill="#4c89c3" d="m15.434 25l-.002 6l5.188-2.998"/><path fill="#b2cde5" d="M30.995 22.002L25.807 25l.003-6"/><path fill="#4c89c3" d="M30.995 22v6l-5.188-3"/><path fill="#0057a9" d="M25.807 25v6l-5.187-3"/><path fill="#4c89c3" d="m25.81 25l-.003 6l5.188-2.998"/>'},kH={width:32,height:32,body:'<path fill="#8ebf55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#fff" d="M21.688 31a1.6 1.6 0 0 1-.807-.216l-2.57-1.52c-.383-.215-.2-.291-.07-.335A5 5 0 0 0 19.4 28.4a.2.2 0 0 1 .191.015l1.974 1.172a.26.26 0 0 0 .239 0l7.7-4.442a.24.24 0 0 0 .118-.208v-8.881a.25.25 0 0 0-.119-.212l-7.692-4.438a.24.24 0 0 0-.238 0l-7.693 4.439a.25.25 0 0 0-.122.211v8.881a.24.24 0 0 0 .121.206l2.108 1.218c1.144.572 1.845-.1 1.845-.778v-8.769a.22.22 0 0 1 .223-.222h.976a.22.22 0 0 1 .222.222v8.769a2.132 2.132 0 0 1-2.278 2.4A3.3 3.3 0 0 1 15.2 27.5l-2.018-1.162a1.63 1.63 0 0 1-.807-1.4v-8.882a1.62 1.62 0 0 1 .807-1.4l7.7-4.447a1.69 1.69 0 0 1 1.617 0l7.7 4.447a1.62 1.62 0 0 1 .808 1.4v8.881a1.63 1.63 0 0 1-.808 1.4l-7.7 4.443a1.6 1.6 0 0 1-.811.22"/><path fill="#fff" d="M20.231 21.965a.22.22 0 0 1 .222-.222h1a.22.22 0 0 1 .221.188c.15 1.013.6 1.524 2.634 1.524c1.621 0 2.311-.367 2.311-1.227c0-.5-.2-.864-2.715-1.111c-2.106-.208-3.408-.674-3.408-2.358c0-1.553 1.309-2.479 3.5-2.479c2.466 0 3.685.856 3.84 2.691a.22.22 0 0 1-.221.242h-1a.22.22 0 0 1-.216-.174c-.239-1.066-.823-1.407-2.4-1.407c-1.77 0-1.975.617-1.975 1.079c0 .56.243.723 2.632 1.039c2.365.313 3.488.755 3.488 2.418s-1.4 2.637-3.836 2.637c-3.372.002-4.077-1.543-4.077-2.84"/>'},AH={width:32,height:32,body:'<path fill="#b1db7b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#b1db7b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#fff" d="M21.688 31a1.6 1.6 0 0 1-.807-.216l-2.57-1.52c-.383-.215-.2-.291-.07-.335A5 5 0 0 0 19.4 28.4a.2.2 0 0 1 .191.015l1.974 1.172a.26.26 0 0 0 .239 0l7.7-4.442a.24.24 0 0 0 .118-.208v-8.881a.25.25 0 0 0-.119-.212l-7.692-4.438a.24.24 0 0 0-.238 0l-7.693 4.439a.25.25 0 0 0-.122.211v8.881a.24.24 0 0 0 .121.206l2.108 1.218c1.144.572 1.845-.1 1.845-.778v-8.769a.22.22 0 0 1 .223-.222h.976a.22.22 0 0 1 .222.222v8.769a2.132 2.132 0 0 1-2.278 2.4A3.3 3.3 0 0 1 15.2 27.5l-2.018-1.162a1.63 1.63 0 0 1-.807-1.4v-8.882a1.62 1.62 0 0 1 .807-1.4l7.7-4.447a1.69 1.69 0 0 1 1.617 0l7.7 4.447a1.62 1.62 0 0 1 .808 1.4v8.881a1.63 1.63 0 0 1-.808 1.4l-7.7 4.443a1.6 1.6 0 0 1-.811.22"/><path fill="#fff" d="M20.231 21.965a.22.22 0 0 1 .222-.222h1a.22.22 0 0 1 .221.188c.15 1.013.6 1.524 2.634 1.524c1.621 0 2.311-.367 2.311-1.227c0-.5-.2-.864-2.715-1.111c-2.106-.208-3.408-.674-3.408-2.358c0-1.553 1.309-2.479 3.5-2.479c2.466 0 3.685.856 3.84 2.691a.22.22 0 0 1-.221.242h-1a.22.22 0 0 1-.216-.174c-.239-1.066-.823-1.407-2.4-1.407c-1.77 0-1.975.617-1.975 1.079c0 .56.243.723 2.632 1.039c2.365.313 3.488.755 3.488 2.418s-1.4 2.637-3.836 2.637c-3.372.002-4.077-1.543-4.077-2.84"/>'},BH={width:32,height:32,body:'<path fill="#00a23c" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#aaffa2" d="M22.6 16.3a3.79 3.79 0 0 1 1.8 2.8a3.048 3.048 0 1 0-1.8-2.8m-2 6.3a3.1 3.1 0 1 0-3.1-3.1a3.116 3.116 0 0 0 3.1 3.1m1.3.2h-2.6a3.9 3.9 0 0 0-3.9 3.9V30l.2.1a16.1 16.1 0 0 0 5.4.9a9.64 9.64 0 0 0 4.7-.9l.2-.1v-3.2a4.15 4.15 0 0 0-4-4m5.1-3.2h-2.6a3.23 3.23 0 0 1-1.2 2.6a4.62 4.62 0 0 1 3.3 4.5v1a9.8 9.8 0 0 0 4.1-.9l.2-.1v-3.2a3.82 3.82 0 0 0-3.8-3.9m-11.8-.2a3 3 0 0 0 1.6-.5a3.7 3.7 0 0 1 1.4-2.4v-.2a3.1 3.1 0 0 0-6.2 0a3.27 3.27 0 0 0 3.2 3.1m2.7 2.9a4.2 4.2 0 0 1-1.2-2.6h-2.9a3.9 3.9 0 0 0-3.9 3.9v3.2l.2.1a16.3 16.3 0 0 0 4.4.8v-1a4.81 4.81 0 0 1 3.4-4.4"/>'},wH={width:32,height:32,body:'<path fill="#33b563" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#33b563" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#aaffa2" d="M22.573 16.294a3.82 3.82 0 0 1 1.776 2.835a3.079 3.079 0 1 0-1.776-2.835M20.555 22.6a3.08 3.08 0 1 0-3.08-3.08a3.08 3.08 0 0 0 3.08 3.08m1.306.21h-2.613a3.95 3.95 0 0 0-3.948 3.943v3.2l.008.05l.22.069a18 18 0 0 0 5.362.865a11 11 0 0 0 4.682-.879l.206-.1h.022v-3.2a3.947 3.947 0 0 0-3.939-3.948m5.1-3.179h-2.6a3.8 3.8 0 0 1-1.171 2.644a4.69 4.69 0 0 1 3.347 4.484v.985a10.6 10.6 0 0 0 4.133-.868l.206-.1h.024v-3.2a3.95 3.95 0 0 0-3.943-3.946Zm-11.806-.21a3.06 3.06 0 0 0 1.638-.475a3.8 3.8 0 0 1 1.433-2.431c0-.058.009-.115.009-.173a3.08 3.08 0 1 0-3.081 3.079Zm2.766 2.853a3.8 3.8 0 0 1-1.171-2.629c-.1-.007-.191-.015-.289-.015h-2.618A3.95 3.95 0 0 0 9.9 23.573v3.2l.008.049l.22.069a18.5 18.5 0 0 0 4.441.835v-.965a4.69 4.69 0 0 1 3.348-4.487Z"/>'},DH={width:32,height:32,body:'<path fill="#bf5555" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#40e81c" d="M14.2 18.428a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.797Z"/><path fill="#1c91e8" d="M26.8 25.38a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.797Z"/><path fill="#eada1b" d="M16.187 31a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.8"/><path fill="#474756" d="M14.19 19.094a6 6 0 0 1-.645-.015l.519 3.306a4.9 4.9 0 0 1 2.1-.475a6 6 0 0 1 .668.042l-.517-3.3a4.9 4.9 0 0 1-2.125.442M22 22.158l-2.321 1.22a5 5 0 0 1 1.307 2.475l2.337-1.229A5.07 5.07 0 0 1 22 22.158m1.359-4.458l-4.38-2.422a4.9 4.9 0 0 1-1.355 2.448l4.388 2.432a5.05 5.05 0 0 1 1.347-2.458"/>'},FH={width:32,height:32,body:'<path fill="#db7b7b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#db7b7b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#40e81c" d="M14.2 18.428a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.797Z"/><path fill="#1c91e8" d="M26.8 25.38a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.797Z"/><path fill="#eada1b" d="M16.187 31a4.2 4.2 0 1 1 4.2-4.2a4.2 4.2 0 0 1-4.2 4.2m0-6a1.8 1.8 0 1 0 1.8 1.8a1.8 1.8 0 0 0-1.8-1.8"/><path fill="#474756" d="M14.19 19.094a6 6 0 0 1-.645-.015l.519 3.306a4.9 4.9 0 0 1 2.1-.475a6 6 0 0 1 .668.042l-.517-3.3a4.9 4.9 0 0 1-2.125.442M22 22.158l-2.321 1.22a5 5 0 0 1 1.307 2.475l2.337-1.229A5.07 5.07 0 0 1 22 22.158m1.359-4.458l-4.38-2.422a4.9 4.9 0 0 1-1.355 2.448l4.388 2.432a5.05 5.05 0 0 1 1.347-2.458"/>'},SH={width:32,height:32,body:'<path fill="#828282" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#333" d="M16.012 10h11.642a3.14 3.14 0 0 1 1.913.817a4.73 4.73 0 0 1 1.363 2.833c.03.212.048.425.07.639v.368a.7.7 0 0 1-.306.491a1.2 1.2 0 0 1-.678.1h-1.637q-.009 6.069 0 12.138a3.57 3.57 0 0 1-.532 1.888A3.63 3.63 0 0 1 25.96 30.8a4.4 4.4 0 0 1-.972.2H13.92a4.04 4.04 0 0 1-2.216-.8a4.48 4.48 0 0 1-1.6-2.7c-.054-.258-.076-.522-.107-.784V26.3a.73.73 0 0 1 .3-.454a1.1 1.1 0 0 1 .639-.1h1.681v-12.14A3.6 3.6 0 0 1 13.744 11a3.64 3.64 0 0 1 2.268-1"/><path fill="gray" d="M14.092 12.777a4.6 4.6 0 0 0-.154 1.653v11.318c2.434.006 4.868 0 7.3 0a.65.65 0 0 1 .587.433a3 3 0 0 1 .051.572a3.42 3.42 0 0 0 1.038 2.278a2.66 2.66 0 0 0 1.806.652a2.3 2.3 0 0 0 2.338-2.252V13.889a2 2 0 0 1 .03-.466a4.6 4.6 0 0 1 .569-1.4a2.2 2.2 0 0 1 .673-.719q-6.051-.008-12.1 0a2.31 2.31 0 0 0-2.138 1.473"/><path fill="#333" d="M18.008 16.819a.7.7 0 0 1 .607-.258a.656.656 0 0 1 .582.722a.2.2 0 0 1-.009.056c-.045.256-.268.415-.437.591c-.638.641-1.293 1.265-1.924 1.912c.654.666 1.327 1.313 1.986 1.974a1.05 1.05 0 0 1 .375.53a.66.66 0 0 1-.466.761a.65.65 0 0 1-.629-.158c-.885-.865-1.757-1.744-2.64-2.611a.665.665 0 0 1-.043-.939v-.006q1.3-1.293 2.598-2.574m3.804.357a.66.66 0 0 1 .574-.609a.67.67 0 0 1 .547.188q1.3 1.285 2.595 2.573a.674.674 0 0 1 .105.947a1 1 0 0 1-.094.1q-1.259 1.244-2.512 2.491a.77.77 0 0 1-.475.277a.656.656 0 0 1-.719-.479a.66.66 0 0 1 .182-.646c.724-.722 1.456-1.434 2.174-2.162c-.711-.713-1.43-1.418-2.146-2.126a.69.69 0 0 1-.231-.554"/>'},MH={width:32,height:32,body:'<path fill="#bfbfbf" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Zm-1.7 4H.5l3.8 12.8h25.2Z"/><path fill="#333" d="M16.012 10h11.642a3.14 3.14 0 0 1 1.913.817a4.73 4.73 0 0 1 1.363 2.833c.03.212.048.425.07.639v.368a.7.7 0 0 1-.306.491a1.2 1.2 0 0 1-.678.1h-1.637q-.009 6.069 0 12.138a3.57 3.57 0 0 1-.532 1.888A3.63 3.63 0 0 1 25.96 30.8a4.4 4.4 0 0 1-.972.2H13.92a4.04 4.04 0 0 1-2.216-.8a4.48 4.48 0 0 1-1.6-2.7c-.054-.258-.076-.522-.107-.784V26.3a.73.73 0 0 1 .3-.454a1.1 1.1 0 0 1 .639-.1h1.681v-12.14A3.6 3.6 0 0 1 13.744 11a3.64 3.64 0 0 1 2.268-1"/><path fill="gray" d="M14.092 12.777a4.6 4.6 0 0 0-.154 1.653v11.318c2.434.006 4.868 0 7.3 0a.65.65 0 0 1 .587.433a3 3 0 0 1 .051.572a3.42 3.42 0 0 0 1.038 2.278a2.66 2.66 0 0 0 1.806.652a2.3 2.3 0 0 0 2.338-2.252V13.889a2 2 0 0 1 .03-.466a4.6 4.6 0 0 1 .569-1.4a2.2 2.2 0 0 1 .673-.719q-6.051-.008-12.1 0a2.31 2.31 0 0 0-2.138 1.473"/><path fill="#333" d="M18.008 16.819a.7.7 0 0 1 .607-.258a.656.656 0 0 1 .582.722a.2.2 0 0 1-.009.056c-.045.256-.268.415-.437.591c-.638.641-1.293 1.265-1.924 1.912c.654.666 1.327 1.313 1.986 1.974a1.05 1.05 0 0 1 .375.53a.66.66 0 0 1-.466.761a.65.65 0 0 1-.629-.158c-.885-.865-1.757-1.744-2.64-2.611a.665.665 0 0 1-.043-.939v-.006q1.3-1.293 2.598-2.574m3.804.357a.66.66 0 0 1 .574-.609a.67.67 0 0 1 .547.188q1.3 1.285 2.595 2.573a.674.674 0 0 1 .105.947a1 1 0 0 1-.094.1q-1.259 1.244-2.512 2.491a.77.77 0 0 1-.475.277a.656.656 0 0 1-.719-.479a.66.66 0 0 1 .182-.646c.724-.722 1.456-1.434 2.174-2.162c-.711-.713-1.43-1.418-2.146-2.126a.69.69 0 0 1-.231-.554"/>'},NH={width:32,height:32,body:'<defs><linearGradient id="SVGdWbdmbkP" x1="127.346" x2="125.823" y1="-116.408" y2="-119.26" gradientTransform="matrix(.864 0 0 -.864 -81.843 -76.99)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="SVG8lm6nc8b" x1="127.349" x2="125.824" y1="-116.274" y2="-119.127" gradientTransform="matrix(.864 0 0 -.864 -81.843 -76.99)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#6a6a6a"/></linearGradient><linearGradient id="SVGAPCDfbiV" x1="126.507" x2="128.647" y1="-131.222" y2="-131.222" gradientTransform="matrix(.864 0 0 -.864 -90.788 -94.496)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e7ebef"/><stop offset="1" stop-color="#c4ce00"/></linearGradient><linearGradient id="SVGAxOVFe2Z" x1="127.346" x2="125.823" y1="-117.409" y2="-120.262" gradientTransform="matrix(.864 0 0 -.864 -81.843 -78.528)" href="#SVGdWbdmbkP"/><linearGradient id="SVGlZ3Pqc9R" x1="127.349" x2="125.824" y1="-117.276" y2="-120.128" gradientTransform="matrix(.864 0 0 -.864 -81.843 -78.528)" href="#SVG8lm6nc8b"/><linearGradient id="SVGbfvqkd4a" x1="127.346" x2="125.823" y1="-118.411" y2="-121.263" gradientTransform="matrix(.864 0 0 -.864 -81.843 -80.066)" href="#SVGdWbdmbkP"/><linearGradient id="SVG9bgFBcXH" x1="127.349" x2="125.824" y1="-118.277" y2="-121.13" gradientTransform="matrix(.864 0 0 -.864 -81.843 -80.066)" href="#SVG8lm6nc8b"/><linearGradient id="SVGjvhMwbEq" x1="127.346" x2="125.823" y1="-119.413" y2="-122.265" gradientTransform="matrix(.864 0 0 -.864 -81.843 -81.604)" href="#SVGdWbdmbkP"/><linearGradient id="SVGOpHcfeyf" x1="127.349" x2="125.824" y1="-119.279" y2="-122.131" gradientTransform="matrix(.864 0 0 -.864 -81.843 -81.604)" href="#SVG8lm6nc8b"/><linearGradient id="SVGy8DX5dGM" x1="127.346" x2="125.823" y1="-115.406" y2="-118.258" gradientTransform="matrix(.864 0 0 -.864 -81.843 -75.452)" href="#SVGdWbdmbkP"/><linearGradient id="SVGlg3b5bBd" x1="127.349" x2="125.824" y1="-115.272" y2="-118.125" gradientTransform="matrix(.864 0 0 -.864 -81.843 -75.452)" href="#SVG8lm6nc8b"/></defs><path fill="#53c1b6" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#00608b" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.28" d="M29.374 12.871a324 324 0 0 1-4.66-1.331a1.3 1.3 0 0 0-.642-.038c-.113.038-6.883 4.008-7.11 4.121c-.038 0-.038.038-.076.076a.8.8 0 0 0-.264.567v0l.078 11.743c0 .189.038.264.189.34c0 0 4.912 1.965 5.479 2.116h.076c.264.038.34.038.453-.076l.038-.038c.113-.076 6.416-4.869 6.529-4.982a.57.57 0 0 0 .151-.3c0-.113.177-11.554.177-11.7v-.038a.51.51 0 0 0-.416-.453Zm-.118.567a2 2 0 0 0 .227-.189s-.113.076-.264.189c-.264.189-.6.416-.982.718c.642-.453 1.209-.831 1.36-.945a2.4 2.4 0 0 1-.336.227Z"/><path fill="#00608b" d="M24.7 11.5a1.3 1.3 0 0 0-.642-.038c-.113.038-6.867 4.051-7.094 4.2c-.189.113-.264.34 0 .453c.264.076 5.214 1.7 5.4 1.738a.82.82 0 0 0 .68-.038c.113-.076 6.516-4.453 6.63-4.566s-.111-.314-.27-.367c-.181-.06-4.518-1.346-4.744-1.422l.038.038Z"/><path fill="#00608b" d="M16.66 16.3c0-.189.113-.3.264-.264c.113.038 5.441 1.776 5.63 1.927c.189.113.3.189.3.34l-.076 11.932a.235.235 0 0 1-.34.227c-.567-.151-5.479-2.116-5.479-2.116c-.151-.076-.189-.151-.189-.34Z"/><path fill="#00608b" d="M22.969 30.389c-.113.076-.235-.013-.235-.226l.046-11.895a.47.47 0 0 1 .189-.378c.113-.076 6.53-4.528 6.681-4.642s.227.113.189.227c0 .113-.214 11.5-.214 11.616a.28.28 0 0 1-.151.264c-.113.113-6.467 4.958-6.543 5.071z"/><path fill="#00608b" d="M16.886 15.963c-.038 0 0-.189.113-.3a.83.83 0 0 0-.34.642a.236.236 0 0 1 .227-.189c.68.227 5.365 1.851 5.554 1.927s.3.144.3.333l.037.451l.068-.459c0-.189.126-.324.352-.475c.113-.076 2.969-2.095 3.775-2.815c-.766.408-3.8 2.777-4.216 2.777c-.321 0-5.831-1.889-5.869-1.889Z"/><path fill="#00608b" d="M26.521 15.4a2 2 0 0 1 .34-.227ZM23 30.365a.46.46 0 0 1-.533.109a.28.28 0 0 0 .281-.226s.029.205.252.118Zm6.58-17.056c.189-.091.269.007.275.169c.027-.167.021-.466-.451-.6c0 0 .379.188.176.428Z"/><path fill="url(#SVGdWbdmbkP)" d="m29.278 23.842l-4.1 2.976v.151l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVG8lm6nc8b)" d="M29.3 23.719L25.18 26.7v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGAPCDfbiV)" d="M18.51 18.444v.227l1.852.642v-.189z"/><path d="m18.51 18.671l-.113.075v-.453l2.04.718l-.075.113l-1.852-.68z" opacity=".22"/><path fill="#fff" d="M20.437 19.464v-.453l-.075.113v.189l-1.852-.642l-.113.075z" opacity=".72"/><path fill="url(#SVGAxOVFe2Z)" d="m29.278 23.169l-4.1 2.976v.155l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVGlZ3Pqc9R)" d="m29.3 23.047l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGbfvqkd4a)" d="m29.278 22.5l-4.1 2.976v.151l4.093-3.027z" opacity=".13"/><path fill="url(#SVG9bgFBcXH)" d="m29.3 22.374l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGjvhMwbEq)" d="M29.278 21.824L25.18 24.8v.151l4.091-3.027z" opacity=".13"/><path fill="url(#SVGOpHcfeyf)" d="m29.3 21.7l-4.12 2.987v.151l4.1-3.042z" opacity=".13"/><path fill="url(#SVGy8DX5dGM)" d="m29.278 24.514l-4.1 2.976v.151l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVGlg3b5bBd)" d="m29.3 24.392l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/>'},_H={width:32,height:32,body:'<defs><linearGradient id="SVGdWbdmbkP" x1="127.346" x2="125.823" y1="-116.408" y2="-119.26" gradientTransform="matrix(.864 0 0 -.864 -81.843 -76.99)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="SVG8lm6nc8b" x1="127.349" x2="125.824" y1="-116.274" y2="-119.127" gradientTransform="matrix(.864 0 0 -.864 -81.843 -76.99)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#6a6a6a"/></linearGradient><linearGradient id="SVGAPCDfbiV" x1="126.507" x2="128.647" y1="-131.222" y2="-131.222" gradientTransform="matrix(.864 0 0 -.864 -90.788 -94.496)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#e7ebef"/><stop offset="1" stop-color="#c4ce00"/></linearGradient><linearGradient id="SVGAxOVFe2Z" x1="127.346" x2="125.823" y1="-117.409" y2="-120.262" gradientTransform="matrix(.864 0 0 -.864 -81.843 -78.528)" href="#SVGdWbdmbkP"/><linearGradient id="SVGlZ3Pqc9R" x1="127.349" x2="125.824" y1="-117.276" y2="-120.128" gradientTransform="matrix(.864 0 0 -.864 -81.843 -78.528)" href="#SVG8lm6nc8b"/><linearGradient id="SVGbfvqkd4a" x1="127.346" x2="125.823" y1="-118.411" y2="-121.263" gradientTransform="matrix(.864 0 0 -.864 -81.843 -80.066)" href="#SVGdWbdmbkP"/><linearGradient id="SVG9bgFBcXH" x1="127.349" x2="125.824" y1="-118.277" y2="-121.13" gradientTransform="matrix(.864 0 0 -.864 -81.843 -80.066)" href="#SVG8lm6nc8b"/><linearGradient id="SVGjvhMwbEq" x1="127.346" x2="125.823" y1="-119.413" y2="-122.265" gradientTransform="matrix(.864 0 0 -.864 -81.843 -81.604)" href="#SVGdWbdmbkP"/><linearGradient id="SVGOpHcfeyf" x1="127.349" x2="125.824" y1="-119.279" y2="-122.131" gradientTransform="matrix(.864 0 0 -.864 -81.843 -81.604)" href="#SVG8lm6nc8b"/><linearGradient id="SVGy8DX5dGM" x1="127.346" x2="125.823" y1="-115.406" y2="-118.258" gradientTransform="matrix(.864 0 0 -.864 -81.843 -75.452)" href="#SVGdWbdmbkP"/><linearGradient id="SVGlg3b5bBd" x1="127.349" x2="125.824" y1="-115.272" y2="-118.125" gradientTransform="matrix(.864 0 0 -.864 -81.843 -75.452)" href="#SVG8lm6nc8b"/></defs><path fill="#7addd3" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7addd3" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#00608b" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.28" d="M29.374 12.871a324 324 0 0 1-4.66-1.331a1.3 1.3 0 0 0-.642-.038c-.113.038-6.883 4.008-7.11 4.121c-.038 0-.038.038-.076.076a.8.8 0 0 0-.264.567v0l.078 11.743c0 .189.038.264.189.34c0 0 4.912 1.965 5.479 2.116h.076c.264.038.34.038.453-.076l.038-.038c.113-.076 6.416-4.869 6.529-4.982a.57.57 0 0 0 .151-.3c0-.113.177-11.554.177-11.7v-.038a.51.51 0 0 0-.416-.453Zm-.118.567a2 2 0 0 0 .227-.189s-.113.076-.264.189c-.264.189-.6.416-.982.718c.642-.453 1.209-.831 1.36-.945a2.4 2.4 0 0 1-.336.227Z"/><path fill="#00608b" d="M24.7 11.5a1.3 1.3 0 0 0-.642-.038c-.113.038-6.867 4.051-7.094 4.2c-.189.113-.264.34 0 .453c.264.076 5.214 1.7 5.4 1.738a.82.82 0 0 0 .68-.038c.113-.076 6.516-4.453 6.63-4.566s-.111-.314-.27-.367c-.181-.06-4.518-1.346-4.744-1.422l.038.038Z"/><path fill="#00608b" d="M16.66 16.3c0-.189.113-.3.264-.264c.113.038 5.441 1.776 5.63 1.927c.189.113.3.189.3.34l-.076 11.932a.235.235 0 0 1-.34.227c-.567-.151-5.479-2.116-5.479-2.116c-.151-.076-.189-.151-.189-.34Z"/><path fill="#00608b" d="M22.969 30.389c-.113.076-.235-.013-.235-.226l.046-11.895a.47.47 0 0 1 .189-.378c.113-.076 6.53-4.528 6.681-4.642s.227.113.189.227c0 .113-.214 11.5-.214 11.616a.28.28 0 0 1-.151.264c-.113.113-6.467 4.958-6.543 5.071z"/><path fill="#00608b" d="M16.886 15.963c-.038 0 0-.189.113-.3a.83.83 0 0 0-.34.642a.236.236 0 0 1 .227-.189c.68.227 5.365 1.851 5.554 1.927s.3.144.3.333l.037.451l.068-.459c0-.189.126-.324.352-.475c.113-.076 2.969-2.095 3.775-2.815c-.766.408-3.8 2.777-4.216 2.777c-.321 0-5.831-1.889-5.869-1.889Z"/><path fill="#00608b" d="M26.521 15.4a2 2 0 0 1 .34-.227ZM23 30.365a.46.46 0 0 1-.533.109a.28.28 0 0 0 .281-.226s.029.205.252.118Zm6.58-17.056c.189-.091.269.007.275.169c.027-.167.021-.466-.451-.6c0 0 .379.188.176.428Z"/><path fill="url(#SVGdWbdmbkP)" d="m29.278 23.842l-4.1 2.976v.151l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVG8lm6nc8b)" d="M29.3 23.719L25.18 26.7v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGAPCDfbiV)" d="M18.51 18.444v.227l1.852.642v-.189z"/><path d="m18.51 18.671l-.113.075v-.453l2.04.718l-.075.113l-1.852-.68z" opacity=".22"/><path fill="#fff" d="M20.437 19.464v-.453l-.075.113v.189l-1.852-.642l-.113.075z" opacity=".72"/><path fill="url(#SVGAxOVFe2Z)" d="m29.278 23.169l-4.1 2.976v.155l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVGlZ3Pqc9R)" d="m29.3 23.047l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGbfvqkd4a)" d="m29.278 22.5l-4.1 2.976v.151l4.093-3.027z" opacity=".13"/><path fill="url(#SVG9bgFBcXH)" d="m29.3 22.374l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/><path fill="url(#SVGjvhMwbEq)" d="M29.278 21.824L25.18 24.8v.151l4.091-3.027z" opacity=".13"/><path fill="url(#SVGOpHcfeyf)" d="m29.3 21.7l-4.12 2.987v.151l4.1-3.042z" opacity=".13"/><path fill="url(#SVGy8DX5dGM)" d="m29.278 24.514l-4.1 2.976v.151l4.091-3.027l.007-.1Z" opacity=".13"/><path fill="url(#SVGlg3b5bBd)" d="m29.3 24.392l-4.12 2.985v.151l4.1-3.042l.019-.094Z" opacity=".13"/>'},jH={width:32,height:32,body:'<defs><radialGradient id="SVGe2Dq1sES" cx="20.365" cy="6.269" r="2.721" gradientTransform="matrix(-.148 .989 1.059 .158 11.812 -5.692)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#bedcdc"/><stop offset=".5" stop-color="#8e9e9e" stop-opacity=".74"/><stop offset="1" stop-color="#404f5c" stop-opacity=".84"/></radialGradient><radialGradient id="SVGFdebDgyO" cx="6.566" cy="14.644" r="3.9" gradientTransform="matrix(-.148 .989 1.059 .158 9.451 15.181)" href="#SVGe2Dq1sES"/></defs><path fill="#55a1bf" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="silver" d="m13.886 12.006l-1.803 1.803l-.901-1.803l.901-.901zm2.886-.094h-2.551L14.859 10h1.274zm2.105 1.974l-1.803-1.803l1.803-.901l.902.901zm.094 2.886v-2.551l1.912.638v1.274zm-1.974 2.105l1.803-1.803l.901 1.803l-.901.902zm-2.885.094h2.55l-.637 1.912H14.75zm-2.106-1.974l1.803 1.803l-1.803.901l-.901-.901zm-.094-2.885v2.55L10 16.025V14.75z"/><path fill="silver" d="M11.663 15.442a3.778 3.778 0 1 1 1.107 2.672a3.78 3.78 0 0 1-1.107-2.672m3.779 1.425a1.425 1.425 0 1 0-1.008-.418a1.43 1.43 0 0 0 1.008.418"/><path fill="#a9a9a9" d="M15.5 18.939a3.5 3.5 0 1 0-3.555-3.439a3.5 3.5 0 0 0 3.555 3.439m-.113-6.457a2.96 2.96 0 1 1-2.907 3.012a2.96 2.96 0 0 1 2.91-3.012Z"/><path fill="url(#SVGe2Dq1sES)" d="M15.489 18.162a2.721 2.721 0 1 0-2.767-2.673a2.72 2.72 0 0 0 2.767 2.673m-.075-4.275a1.555 1.555 0 1 1-1.528 1.583a1.555 1.555 0 0 1 1.528-1.583"/><path fill="#a9a9a9" d="M15.47 17a1.555 1.555 0 1 0-1.583-1.526A1.555 1.555 0 0 0 15.47 17m-.051-2.87a1.316 1.316 0 1 1-1.292 1.339a1.316 1.316 0 0 1 1.292-1.337Z"/><path fill="silver" d="m27.572 19.763l-1.706-.947l1.098-1.176l1.024.568zm1.636 2.356l-1.005-1.672l1.539-.47l.603 1.004zm.238 2.859l-.034-1.951l1.568.363l.02 1.17zm-1.223 2.594l.946-1.706l1.176 1.098l-.567 1.024zm-2.357 1.636l1.673-1.005l.469 1.539l-1.003.603zm-2.859.238l1.952-.034l-.363 1.568l-1.171.02zm-2.594-1.223l1.706.946l-1.098 1.176l-1.024-.567zm-1.636-2.357l1.005 1.673l-1.539.469l-.603-1.003zm-.238-2.859l.034 1.952l-1.567-.363l-.021-1.171zm1.224-2.594l-.947 1.706l-1.176-1.098l.568-1.024zm2.356-1.636l-1.672 1.005l-.47-1.539l1.004-.603zm2.859-.238l-1.951.034l.363-1.567l1.17-.021z"/><path fill="silver" d="M23.9 18.372a5.626 5.626 0 1 1-3.946 1.716a5.63 5.63 0 0 1 3.946-1.716m-2.017 5.658a2.112 2.112 0 1 0 .592-1.5a2.1 2.1 0 0 0-.592 1.5"/><path fill="#a9a9a9" d="M24.081 29.045a5.053 5.053 0 1 0-5.14-4.964a5.054 5.054 0 0 0 5.14 4.964m-.163-9.327a4.275 4.275 0 1 1-4.2 4.35a4.275 4.275 0 0 1 4.2-4.35"/><path fill="url(#SVGFdebDgyO)" d="M24.061 27.893a3.9 3.9 0 1 0-3.967-3.832a3.9 3.9 0 0 0 3.967 3.832m-.105-6.027a2.128 2.128 0 1 1-2.09 2.164a2.127 2.127 0 0 1 2.089-2.164Z"/><path fill="#a9a9a9" d="M24.033 26.324a2.331 2.331 0 1 0-2.372-2.291a2.33 2.33 0 0 0 2.372 2.291m-.075-4.3a1.973 1.973 0 1 1-1.938 2.007a1.97 1.97 0 0 1 1.938-2.007"/>'},TH={width:32,height:32,body:'<defs><radialGradient id="SVGe2Dq1sES" cx="20.365" cy="6.269" r="2.721" gradientTransform="matrix(-.148 .989 1.059 .158 11.812 -5.692)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#bedcdc"/><stop offset=".5" stop-color="#8e9e9e" stop-opacity=".74"/><stop offset="1" stop-color="#404f5c" stop-opacity=".84"/></radialGradient><radialGradient id="SVGFdebDgyO" cx="6.566" cy="14.644" r="3.9" gradientTransform="matrix(-.148 .989 1.059 .158 9.451 15.181)" href="#SVGe2Dq1sES"/></defs><path fill="#7bbedb" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v4H.5l3.8 12.8h25.2v-21Zm-7.2 2.1h7.1v2.1h-8.1Zm5.5 6.1H6.6v-1.9h20.8v7.626Z"/><path fill="silver" d="m13.886 12.006l-1.803 1.803l-.901-1.803l.901-.901zm2.886-.094h-2.551L14.859 10h1.274zm2.105 1.974l-1.803-1.803l1.803-.901l.902.901zm.094 2.886v-2.551l1.912.638v1.274zm-1.974 2.105l1.803-1.803l.901 1.803l-.901.902zm-2.885.094h2.55l-.637 1.912H14.75zm-2.106-1.974l1.803 1.803l-1.803.901l-.901-.901zm-.094-2.885v2.55L10 16.025V14.75z"/><path fill="silver" d="M11.663 15.442a3.778 3.778 0 1 1 1.107 2.672a3.78 3.78 0 0 1-1.107-2.672m3.779 1.425a1.425 1.425 0 1 0-1.008-.418a1.43 1.43 0 0 0 1.008.418"/><path fill="#a9a9a9" d="M15.5 18.939a3.5 3.5 0 1 0-3.555-3.439a3.5 3.5 0 0 0 3.555 3.439m-.113-6.457a2.96 2.96 0 1 1-2.907 3.012a2.96 2.96 0 0 1 2.91-3.012Z"/><path fill="url(#SVGe2Dq1sES)" d="M15.489 18.162a2.721 2.721 0 1 0-2.767-2.673a2.72 2.72 0 0 0 2.767 2.673m-.075-4.275a1.555 1.555 0 1 1-1.528 1.583a1.555 1.555 0 0 1 1.528-1.583"/><path fill="#a9a9a9" d="M15.47 17a1.555 1.555 0 1 0-1.583-1.526A1.555 1.555 0 0 0 15.47 17m-.051-2.87a1.316 1.316 0 1 1-1.292 1.339a1.316 1.316 0 0 1 1.292-1.337Z"/><path fill="silver" d="m27.572 19.763l-1.706-.947l1.098-1.176l1.024.568zm1.636 2.356l-1.005-1.672l1.539-.47l.603 1.004zm.238 2.859l-.034-1.951l1.568.363l.02 1.17zm-1.223 2.594l.946-1.706l1.176 1.098l-.567 1.024zm-2.357 1.636l1.673-1.005l.469 1.539l-1.003.603zm-2.859.238l1.952-.034l-.363 1.568l-1.171.02zm-2.594-1.223l1.706.946l-1.098 1.176l-1.024-.567zm-1.636-2.357l1.005 1.673l-1.539.469l-.603-1.003zm-.238-2.859l.034 1.952l-1.567-.363l-.021-1.171zm1.224-2.594l-.947 1.706l-1.176-1.098l.568-1.024zm2.356-1.636l-1.672 1.005l-.47-1.539l1.004-.603zm2.859-.238l-1.951.034l.363-1.567l1.17-.021z"/><path fill="silver" d="M23.9 18.372a5.626 5.626 0 1 1-3.946 1.716a5.63 5.63 0 0 1 3.946-1.716m-2.017 5.658a2.112 2.112 0 1 0 .592-1.5a2.1 2.1 0 0 0-.592 1.5"/><path fill="#a9a9a9" d="M24.081 29.045a5.053 5.053 0 1 0-5.14-4.964a5.054 5.054 0 0 0 5.14 4.964m-.163-9.327a4.275 4.275 0 1 1-4.2 4.35a4.275 4.275 0 0 1 4.2-4.35"/><path fill="url(#SVGFdebDgyO)" d="M24.061 27.893a3.9 3.9 0 1 0-3.967-3.832a3.9 3.9 0 0 0 3.967 3.832m-.105-6.027a2.128 2.128 0 1 1-2.09 2.164a2.127 2.127 0 0 1 2.089-2.164Z"/><path fill="#a9a9a9" d="M24.033 26.324a2.331 2.331 0 1 0-2.372-2.291a2.33 2.33 0 0 0 2.372 2.291m-.075-4.3a1.973 1.973 0 1 1-1.938 2.007a1.97 1.97 0 0 1 1.938-2.007"/>'},zH={width:32,height:32,body:'<path fill="#14622a" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#06cc14" d="M19.146 30.989a1 1 0 0 1-.207-.025a1.04 1.04 0 0 1-.726-1.213l2.709-14.431a1.04 1.04 0 0 1 .444-.683a.9.9 0 0 1 .7-.122a1.043 1.043 0 0 1 .727 1.213L20.077 30.16a1.03 1.03 0 0 1-.442.681a.9.9 0 0 1-.489.148m5.432-2.045h-.068a.93.93 0 0 1-.668-.377a1.1 1.1 0 0 1 .1-1.419l4.658-4.553l-4.638-4.239a1.1 1.1 0 0 1-.141-1.416a.94.94 0 0 1 .661-.4a.9.9 0 0 1 .709.237l5.47 5a1.1 1.1 0 0 1 .144 1.416a1 1 0 0 1-.142.163l-5.447 5.324a.92.92 0 0 1-.638.264m-8.155.003a.9.9 0 0 1-.639-.267l-5.452-5.327a1 1 0 0 1-.132-.153a1.094 1.094 0 0 1 .141-1.414l5.471-5a.88.88 0 0 1 .7-.238a.94.94 0 0 1 .665.4a1.1 1.1 0 0 1-.14 1.417L12.4 22.6l4.659 4.551a1.09 1.09 0 0 1 .1 1.419a.93.93 0 0 1-.669.377Z"/>'},RH={width:32,height:32,body:'<path fill="#2a8243" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#2a8243" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#06cc14" d="M19.146 30.989a1 1 0 0 1-.207-.025a1.04 1.04 0 0 1-.726-1.213l2.709-14.431a1.04 1.04 0 0 1 .444-.683a.9.9 0 0 1 .7-.122a1.043 1.043 0 0 1 .727 1.213L20.077 30.16a1.03 1.03 0 0 1-.442.681a.9.9 0 0 1-.489.148m5.432-2.045h-.068a.93.93 0 0 1-.668-.377a1.1 1.1 0 0 1 .1-1.419l4.658-4.553l-4.638-4.239a1.1 1.1 0 0 1-.141-1.416a.94.94 0 0 1 .661-.4a.9.9 0 0 1 .709.237l5.47 5a1.1 1.1 0 0 1 .144 1.416a1 1 0 0 1-.142.163l-5.447 5.324a.92.92 0 0 1-.638.264m-8.155.003a.9.9 0 0 1-.639-.267l-5.452-5.327a1 1 0 0 1-.132-.153a1.094 1.094 0 0 1 .141-1.414l5.471-5a.88.88 0 0 1 .7-.238a.94.94 0 0 1 .665.4a1.1 1.1 0 0 1-.14 1.417L12.4 22.6l4.659 4.551a1.09 1.09 0 0 1 .1 1.419a.93.93 0 0 1-.669.377Z"/>'},OH={width:32,height:32,body:'<path fill="#5590bc" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#1572b6" d="M14.167 28.901L12.482 10h18.516l-1.686 18.898L21.729 31z"/><path fill="#33a9dc" d="m21.74 29.393l6.127-1.699l1.442-16.149H21.74z"/><path fill="#ebebeb" d="M15.25 19.535c1.691 0 1.929-.685 1.929-1.3a7.7 7.7 0 0 0-.192-1.475a7.7 7.7 0 0 1-.187-1.46c0-1.616 1.429-2.3 3.453-2.3h.5v.967h-.428c-1.406 0-1.881.562-1.881 1.51a5.7 5.7 0 0 0 .167 1.247a6 6 0 0 1 .167 1.334c.023 1.124-.644 1.686-1.716 1.9v.034a1.8 1.8 0 0 1 1.716 1.915a6 6 0 0 1-.167 1.334a5.8 5.8 0 0 0-.167 1.266c0 .983.547 1.528 1.881 1.528h.428V27h-.5c-1.976 0-3.453-.632-3.453-2.406a7.5 7.5 0 0 1 .19-1.44a7 7 0 0 0 .192-1.423c0-.545-.238-1.3-1.929-1.3Z"/><path fill="#fff" d="M28.25 20.43c-1.691 0-1.929.755-1.929 1.3a7.3 7.3 0 0 0 .19 1.423a7.3 7.3 0 0 1 .192 1.44C26.7 26.366 25.2 27 23.25 27h-.5v-.967h.405c1.334-.017 1.9-.545 1.9-1.527a8 8 0 0 0-.167-1.266a6 6 0 0 1-.19-1.334a1.834 1.834 0 0 1 1.714-1.915v-.034a1.83 1.83 0 0 1-1.714-1.9a6 6 0 0 1 .19-1.334a8 8 0 0 0 .167-1.247c0-.948-.5-1.493-1.881-1.51h-.424V13h.477c2.024 0 3.476.685 3.476 2.3a7.5 7.5 0 0 1-.192 1.459a8 8 0 0 0-.19 1.475c0 .615.238 1.3 1.929 1.3Z"/>'},LH={width:32,height:32,body:'<path fill="#7cb0d8" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#7cb0d8" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#1572b6" d="M14.167 28.901L12.482 10h18.516l-1.686 18.898L21.729 31z"/><path fill="#33a9dc" d="m21.74 29.393l6.127-1.699l1.442-16.149H21.74z"/><path fill="#ebebeb" d="M15.25 19.535c1.691 0 1.929-.685 1.929-1.3a7.7 7.7 0 0 0-.192-1.475a7.7 7.7 0 0 1-.187-1.46c0-1.616 1.429-2.3 3.453-2.3h.5v.967h-.428c-1.406 0-1.881.562-1.881 1.51a5.7 5.7 0 0 0 .167 1.247a6 6 0 0 1 .167 1.334c.023 1.124-.644 1.686-1.716 1.9v.034a1.8 1.8 0 0 1 1.716 1.915a6 6 0 0 1-.167 1.334a5.8 5.8 0 0 0-.167 1.266c0 .983.547 1.528 1.881 1.528h.428V27h-.5c-1.976 0-3.453-.632-3.453-2.406a7.5 7.5 0 0 1 .19-1.44a7 7 0 0 0 .192-1.423c0-.545-.238-1.3-1.929-1.3Z"/><path fill="#fff" d="M28.25 20.43c-1.691 0-1.929.755-1.929 1.3a7.3 7.3 0 0 0 .19 1.423a7.3 7.3 0 0 1 .192 1.44C26.7 26.366 25.2 27 23.25 27h-.5v-.967h.405c1.334-.017 1.9-.545 1.9-1.527a8 8 0 0 0-.167-1.266a6 6 0 0 1-.19-1.334a1.834 1.834 0 0 1 1.714-1.915v-.034a1.83 1.83 0 0 1-1.714-1.9a6 6 0 0 1 .19-1.334a8 8 0 0 0 .167-1.247c0-.948-.5-1.493-1.881-1.51h-.424V13h.477c2.024 0 3.476.685 3.476 2.3a7.5 7.5 0 0 1-.192 1.459a8 8 0 0 0-.19 1.475c0 .615.238 1.3 1.929 1.3Z"/>'},PH={width:32,height:32,body:'<path fill="#bf8e55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#675f58" d="M29.025 14.38H11.974A1.98 1.98 0 0 0 10 16.354v12.675A1.98 1.98 0 0 0 11.974 31h17.051A1.98 1.98 0 0 0 31 29.026V16.354a1.98 1.98 0 0 0-1.975-1.974"/><path fill="#ccc" d="M29.925 29.026a.905.905 0 0 1-.9.9H11.974a.905.905 0 0 1-.9-.9V17.62h18.85v11.406Z"/><path fill="#ff931e" d="M14.9 24.446h2.8v2.8h-2.8zm0-4.2h2.8v2.801h-2.8zm4.2 0h2.8v2.801h-2.8zm4.2 0h2.8v2.801h-2.8zm-4.2 4.2h2.8v2.8h-2.8zm4.2 0h2.8v2.8h-2.8z"/>'},GH={width:32,height:32,body:'<path fill="#dbad7b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#dbad7b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#675f58" d="M29.025 14.38H11.974A1.98 1.98 0 0 0 10 16.354v12.675A1.98 1.98 0 0 0 11.974 31h17.051A1.98 1.98 0 0 0 31 29.026V16.354a1.98 1.98 0 0 0-1.975-1.974"/><path fill="#ccc" d="M29.925 29.026a.905.905 0 0 1-.9.9H11.974a.905.905 0 0 1-.9-.9V17.62h18.85v11.406Z"/><path fill="#ff931e" d="M14.9 20.246h2.8v2.801h-2.8zm4.2 0h2.8v2.801h-2.8zm4.2 0h2.8v2.801h-2.8zm-8.4 4.2h2.8v2.8h-2.8zm4.2 0h2.8v2.8h-2.8zm4.2 0h2.8v2.8h-2.8z"/>'},HH={width:32,height:32,body:'<path fill="#b70b0b" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#fac6c5" d="M28.3 27.423c-1.729-.4-2.332-2.482-1.329-4.583a8.95 8.95 0 0 1 2.217-2.779l.314-.26l.009.357a6.7 6.7 0 0 0 .748 2.425a14 14 0 0 1 .625 1.631a3.2 3.2 0 0 1-.073 1.958a2.67 2.67 0 0 1-1.111 1.087a2.8 2.8 0 0 1-1.4.164m.351-3.565c.124-.143.155-.332.164-1l.011-.825l-.2.158a1.68 1.68 0 0 0-.635 1.4c.07.214.286.448.411.446a.5.5 0 0 0 .249-.179m-15.527 7.087a3.85 3.85 0 0 1-3.031-4.563c.254-1.07.2-1.008 5.726-6.787l5.2-5.442l.738.7l.738.7l-3 3.132l-3 3.132l2.508-.054l2.508-.054l1.773-1.85l1.773-1.85l.735.707l.735.707l-5.213 5.43c-4.783 4.982-5.257 5.452-5.743 5.692a3.9 3.9 0 0 1-2.452.393Zm14.662-12.484c-.138-.082-1.546-1.4-3.129-2.921l-2.879-2.772l-.009-.421a.86.86 0 0 1 .194-.673A.99.99 0 0 1 23 11.3a69 69 0 0 1 6.277 6.023a1 1 0 0 1-1.492 1.133Z"/><path fill="#fac6c5" d="M11.578 26.851a2.1 2.1 0 0 0 2.579 2.614c.191-.2 2.407-2.515 7.387-7.737c-2.505.054-2.475-.055-4.98 0c-5.015 5.195-5.114 5.157-4.986 5.123"/>'},VH={width:32,height:32,body:'<path fill="#d32626" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#d32626" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#fac6c5" d="M28.3 27.423c-1.729-.4-2.332-2.482-1.329-4.583a8.95 8.95 0 0 1 2.217-2.779l.314-.26l.009.357a6.7 6.7 0 0 0 .748 2.425a14 14 0 0 1 .625 1.631a3.2 3.2 0 0 1-.073 1.958a2.67 2.67 0 0 1-1.111 1.087a2.8 2.8 0 0 1-1.4.164m.351-3.565c.124-.143.155-.332.164-1l.011-.825l-.2.158a1.68 1.68 0 0 0-.635 1.4c.07.214.286.448.411.446a.5.5 0 0 0 .249-.179m-15.527 7.087a3.85 3.85 0 0 1-3.031-4.563c.254-1.07.2-1.008 5.726-6.787l5.2-5.442l.738.7l.738.7l-3 3.132l-3 3.132l2.508-.054l2.508-.054l1.773-1.85l1.773-1.85l.735.707l.735.707l-5.213 5.43c-4.783 4.982-5.257 5.452-5.743 5.692a3.9 3.9 0 0 1-2.452.393Zm14.662-12.484c-.138-.082-1.546-1.4-3.129-2.921l-2.879-2.772l-.009-.421a.86.86 0 0 1 .194-.673A.99.99 0 0 1 23 11.3a69 69 0 0 1 6.277 6.023a1 1 0 0 1-1.492 1.133Z"/><path fill="#fac6c5" d="M11.578 26.851a2.1 2.1 0 0 0 2.579 2.614c.191-.2 2.407-2.515 7.387-7.737c-2.505.054-2.475-.055-4.98 0c-5.015 5.195-5.114 5.157-4.986 5.123"/>'},IH={width:32,height:32,body:'<path fill="#bf5e55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#e75749" d="M12.879 10.281A1.9 1.9 0 0 1 13.9 10h15.272a1.91 1.91 0 0 1 1.817 1.463a2.5 2.5 0 0 1 .054.646v8.381h-1.18a1 1 0 0 0-.165.016a4 4 0 0 0-.436-.008c-.225.005-.457-.01-.685.01a2 2 0 0 0-.3-.015h-3.553c-.15 0-.294.006-.44-.007l.075-.049l-4.764-2.859v2.916h-4.979a2 2 0 0 0-.188.016a3 3 0 0 0-.481-.012c-.213 0-.427-.011-.64.011a2 2 0 0 0-.19-.016H11.96q.007-4.089 0-8.174a3.6 3.6 0 0 1 .053-.848a1.9 1.9 0 0 1 .866-1.19m.4 1.641a.48.48 0 0 0-.367.454v.987a.48.48 0 0 0 .47.45h.982a.48.48 0 0 0 .45-.456v-.959a.48.48 0 0 0-.247-.431a.53.53 0 0 0-.268-.058h-.852a1 1 0 0 0-.163.013Zm15.254 0a.48.48 0 0 0-.355.455v.979a.48.48 0 0 0 .45.456h.981a.48.48 0 0 0 .47-.454v-.985a.48.48 0 0 0-.445-.466c-.261-.007-.525 0-.784 0a1.5 1.5 0 0 0-.316.018Zm-15.248 2.862a.48.48 0 0 0-.339.3a.8.8 0 0 0-.031.289v.851a.48.48 0 0 0 .45.45c.3.006.6 0 .894 0a.6.6 0 0 0 .3-.049a.48.48 0 0 0 .27-.43v-.959a.48.48 0 0 0-.45-.468c-.253-.006-.508 0-.762 0a2 2 0 0 0-.332.016m15.251 0a.48.48 0 0 0-.325.3a.8.8 0 0 0-.031.29v.848a.48.48 0 0 0 .456.455h.913a.55.55 0 0 0 .285-.058a.48.48 0 0 0 .251-.418v-.963a.48.48 0 0 0-.445-.466c-.262-.007-.525 0-.785 0a1.5 1.5 0 0 0-.321.016Zm-15.251 2.865a.48.48 0 0 0-.368.456v.986a.48.48 0 0 0 .47.45h.975a.48.48 0 0 0 .456-.455v-.98a.48.48 0 0 0-.454-.469c-.261-.005-.525 0-.784 0a1.6 1.6 0 0 0-.295.012m15.249 0a.48.48 0 0 0-.322.3a.8.8 0 0 0-.031.289v.848a.48.48 0 0 0 .455.456h.979a.48.48 0 0 0 .471-.454v-.985a.48.48 0 0 0-.444-.466c-.262-.007-.525 0-.784 0a1.4 1.4 0 0 0-.323.011Z"/><path fill="#fff" d="m19.6 17.574l4.764 2.859l-.075.049q-2.345 1.4-4.688 2.811v-2.8z"/><path fill="#c0392b" d="M11.96 20.49h1.156a2 2 0 0 1 .19.016a.48.48 0 0 0-.307.2a.66.66 0 0 0-.083.388v.784a.514.514 0 0 0 .512.517h.9a.51.51 0 0 0 .493-.427c.006-.335 0-.675 0-1.007a.474.474 0 0 0-.391-.46a2 2 0 0 1 .188-.016h4.979v2.8q2.345-1.4 4.688-2.811c.15.013.293.005.44.007h3.555a2 2 0 0 1 .3.015a.48.48 0 0 0-.356.289a.7.7 0 0 0-.034.305v.76a.51.51 0 0 0 .475.538h.913a.513.513 0 0 0 .514-.493v-.738a.8.8 0 0 0-.075-.442a.48.48 0 0 0-.315-.219a1 1 0 0 1 .165-.016h1.18c.008 1.291 0 2.582 0 3.873v4.719a1.93 1.93 0 0 1-.459 1.238a1.9 1.9 0 0 1-1.172.651a6 6 0 0 1-.736.025H14.547a7 7 0 0 1-1.026-.036a1.92 1.92 0 0 1-1.5-1.384a2 2 0 0 1-.067-.559v-7.84c.005-.225-.002-.452.006-.677m1.346 2.882a.46.46 0 0 0-.289.175a.57.57 0 0 0-.1.348v.871a.514.514 0 0 0 .514.493h.962a.515.515 0 0 0 .426-.537v-.892a.46.46 0 0 0-.15-.343a.53.53 0 0 0-.365-.127h-.852a1 1 0 0 0-.146.011Zm15.272 0a.465.465 0 0 0-.391.435v.916a.507.507 0 0 0 .474.538h1.003a.525.525 0 0 0 .421-.513v-.76a.68.68 0 0 0-.085-.425a.5.5 0 0 0-.4-.2h-.715a2 2 0 0 0-.3.008Zm-15.271 2.862a.46.46 0 0 0-.3.187a.57.57 0 0 0-.093.336v.849a.525.525 0 0 0 .45.516H14.4a.515.515 0 0 0 .425-.538v-.892a.46.46 0 0 0-.15-.344a.53.53 0 0 0-.363-.127h-.856a1 1 0 0 0-.149.013m15.269 0a.46.46 0 0 0-.369.32a.7.7 0 0 0-.022.247v.9a.51.51 0 0 0 .492.425h.895a.517.517 0 0 0 .515-.518v-.894a.5.5 0 0 0-.214-.409a1.1 1.1 0 0 0-.59-.082c-.234.007-.472-.015-.7.013Z"/>'},UH={width:32,height:32,body:'<path fill="#db847b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#db847b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#e75749" d="M12.879 10.281A1.9 1.9 0 0 1 13.9 10h15.272a1.91 1.91 0 0 1 1.817 1.463a2.5 2.5 0 0 1 .054.646v8.381h-1.18a1 1 0 0 0-.165.016a4 4 0 0 0-.436-.008c-.225.005-.457-.01-.685.01a2 2 0 0 0-.3-.015h-3.553c-.15 0-.294.006-.44-.007l.075-.049l-4.764-2.859v2.916h-4.979a2 2 0 0 0-.188.016a3 3 0 0 0-.481-.012c-.213 0-.427-.011-.64.011a2 2 0 0 0-.19-.016H11.96q.007-4.089 0-8.174a3.6 3.6 0 0 1 .053-.848a1.9 1.9 0 0 1 .866-1.19m.4 1.641a.48.48 0 0 0-.367.454v.987a.48.48 0 0 0 .47.45h.982a.48.48 0 0 0 .45-.456v-.959a.48.48 0 0 0-.247-.431a.53.53 0 0 0-.268-.058h-.852a1 1 0 0 0-.163.013Zm15.254 0a.48.48 0 0 0-.355.455v.979a.48.48 0 0 0 .45.456h.981a.48.48 0 0 0 .47-.454v-.985a.48.48 0 0 0-.445-.466c-.261-.007-.525 0-.784 0a1.5 1.5 0 0 0-.316.018Zm-15.248 2.862a.48.48 0 0 0-.339.3a.8.8 0 0 0-.031.289v.851a.48.48 0 0 0 .45.45c.3.006.6 0 .894 0a.6.6 0 0 0 .3-.049a.48.48 0 0 0 .27-.43v-.959a.48.48 0 0 0-.45-.468c-.253-.006-.508 0-.762 0a2 2 0 0 0-.332.016m15.251 0a.48.48 0 0 0-.325.3a.8.8 0 0 0-.031.29v.848a.48.48 0 0 0 .456.455h.913a.55.55 0 0 0 .285-.058a.48.48 0 0 0 .251-.418v-.963a.48.48 0 0 0-.445-.466c-.262-.007-.525 0-.785 0a1.5 1.5 0 0 0-.321.016Zm-15.251 2.865a.48.48 0 0 0-.368.456v.986a.48.48 0 0 0 .47.45h.975a.48.48 0 0 0 .456-.455v-.98a.48.48 0 0 0-.454-.469c-.261-.005-.525 0-.784 0a1.6 1.6 0 0 0-.295.012m15.249 0a.48.48 0 0 0-.322.3a.8.8 0 0 0-.031.289v.848a.48.48 0 0 0 .455.456h.979a.48.48 0 0 0 .471-.454v-.985a.48.48 0 0 0-.444-.466c-.262-.007-.525 0-.784 0a1.4 1.4 0 0 0-.323.011Z"/><path fill="#fff" d="m19.6 17.574l4.764 2.859l-.075.049q-2.345 1.4-4.688 2.811v-2.8z"/><path fill="#c0392b" d="M11.96 20.49h1.156a2 2 0 0 1 .19.016a.48.48 0 0 0-.307.2a.66.66 0 0 0-.083.388v.784a.514.514 0 0 0 .512.517h.9a.51.51 0 0 0 .493-.427c.006-.335 0-.675 0-1.007a.474.474 0 0 0-.391-.46a2 2 0 0 1 .188-.016h4.979v2.8q2.345-1.4 4.688-2.811c.15.013.293.005.44.007h3.555a2 2 0 0 1 .3.015a.48.48 0 0 0-.356.289a.7.7 0 0 0-.034.305v.76a.51.51 0 0 0 .475.538h.913a.513.513 0 0 0 .514-.493v-.738a.8.8 0 0 0-.075-.442a.48.48 0 0 0-.315-.219a1 1 0 0 1 .165-.016h1.18c.008 1.291 0 2.582 0 3.873v4.719a1.93 1.93 0 0 1-.459 1.238a1.9 1.9 0 0 1-1.172.651a6 6 0 0 1-.736.025H14.547a7 7 0 0 1-1.026-.036a1.92 1.92 0 0 1-1.5-1.384a2 2 0 0 1-.067-.559v-7.84c.005-.225-.002-.452.006-.677m1.346 2.882a.46.46 0 0 0-.289.175a.57.57 0 0 0-.1.348v.871a.514.514 0 0 0 .514.493h.962a.515.515 0 0 0 .426-.537v-.892a.46.46 0 0 0-.15-.343a.53.53 0 0 0-.365-.127h-.852a1 1 0 0 0-.146.011Zm15.272 0a.465.465 0 0 0-.391.435v.916a.507.507 0 0 0 .474.538h1.003a.525.525 0 0 0 .421-.513v-.76a.68.68 0 0 0-.085-.425a.5.5 0 0 0-.4-.2h-.715a2 2 0 0 0-.3.008Zm-15.271 2.862a.46.46 0 0 0-.3.187a.57.57 0 0 0-.093.336v.849a.525.525 0 0 0 .45.516H14.4a.515.515 0 0 0 .425-.538v-.892a.46.46 0 0 0-.15-.344a.53.53 0 0 0-.363-.127h-.856a1 1 0 0 0-.149.013m15.269 0a.46.46 0 0 0-.369.32a.7.7 0 0 0-.022.247v.9a.51.51 0 0 0 .492.425h.895a.517.517 0 0 0 .515-.518v-.894a.5.5 0 0 0-.214-.409a1.1 1.1 0 0 0-.59-.082c-.234.007-.472-.015-.7.013Z"/>'},ZH={width:32,height:32,body:'<path fill="#bf6d55" d="M27.5 5.5h-9.3l-2.1 4.2H4.4v16.8h25.2v-21Zm0 4.2h-8.2l1.1-2.1h7.1Z"/><path fill="#e44f26" d="M14.167 28.901L12.482 10h18.516l-1.687 18.898L21.729 31z"/><path fill="#f1662a" d="m21.74 29.393l6.127-1.699l1.442-16.149H21.74z"/><path fill="#fff" d="m20.99 24.011l-6-3.607v-1.307l6-3.608v2.023l-3.828 2.238l3.828 2.239zm1.5-.002v-2.021l3.855-2.238l-3.855-2.237v-2.022l6 3.591v1.336z"/>'},$H={width:32,height:32,body:'<path fill="#db917b" d="M27.4 5.5h-9.2l-2.1 4.2H4.3v16.8h25.2v-21Zm0 18.7H6.6V11.8h20.8Zm0-14.5h-8.2l1-2.1h7.1v2.1Z"/><path fill="#db917b" d="M25.7 13.7H.5l3.8 12.8h25.2z"/><path fill="#e44f26" d="M14.167 28.901L12.482 10h18.516l-1.687 18.898L21.729 31z"/><path fill="#f1662a" d="m21.74 29.393l6.127-1.699l1.442-16.149H21.74z"/><path fill="#fff" d="m20.99 24.011l-6-3.607v-1.307l6-3.608v2.023l-3.828 2.238l3.828 2.239zm1.5-.002v-2.021l3.855-2.238l-3.855-2.237v-2.022l6 3.591v1.336z"/>'},_e=(e,t)=>({name:e,icon:t}),I1={file:_e("file",AP),typescript:_e("typescript",FG),"typescript-definition":_e("typescript-definition",SG),"react-typescript":_e("react-typescript",mG),"react-javascript":_e("react-javascript",pG),javascript:_e("javascript",WP),json:_e("json",JP),html:_e("html",YP),css:_e("css",LP),sass:_e("sass",yG),vue:_e("vue",jG),svelte:_e("svelte",CG),markdown:_e("markdown",lG),config:_e("config",TP),env:_e("env",HP),yaml:_e("yaml",RG),shell:_e("shell",bG),powershell:_e("powershell",uG),docker:_e("docker",GP),git:_e("git",ZP),npm:_e("npm",iG),yarn:_e("yarn",OG),pnpm:_e("pnpm",cG),bun:_e("bun",SP),vite:_e("vite",NG),vitest:_e("vitest",_G),eslint:_e("eslint",IP),prettier:_e("prettier",xG),biome:_e("biome",FP),tailwind:_e("tailwind",BG),image:_e("image",KP),svg:_e("svg",kG),audio:_e("audio",DP),video:_e("video",MG),font:_e("font",UP),database:_e("database",vG),prisma:_e("prisma",dG),graphql:_e("graphql",QP),python:_e("python",hG),ruby:_e("ruby",gG),go:_e("go",$P),rust:_e("rust",EG),cargo:_e("cargo",NP),java:_e("java",XP),gradle:_e("gradle",qP),kotlin:_e("kotlin",tG),swift:_e("swift",AG),c:_e("c",MP),"c-header":_e("c-header",_P),cpp:_e("cpp",zP),"cpp-header":_e("cpp-header",RP),csharp:_e("csharp",OP),php:_e("php",oG),lua:_e("lua",aG),dart:_e("dart",PP),elixir:_e("elixir",VP),wasm:_e("wasm",TG),protobuf:_e("protobuf",fG),xml:_e("xml",zG),terraform:_e("terraform",wG),notebook:_e("notebook",eG),text:_e("text",DG),pdf:_e("pdf",sG),archive:_e("archive",LG),license:_e("license",nG),build:_e("build",rG),cmake:_e("cmake",jP)},qH=[[/\.d\.(?:ts|mts|cts)$/,"typescript-definition"],[/^(?:package|package-lock|npm-shrinkwrap)\.json$/,"npm"],[/^(?:pnpm-lock|pnpm-workspace)\.ya?ml$/,"pnpm"],[/^yarn\.lock$|^\.yarnrc(?:\.ya?ml)?$/,"yarn"],[/^bun\.lockb?$|^bunfig\.toml$/,"bun"],[/^tsconfig(?:\..+)?\.json$/,"typescript"],[/^jsconfig(?:\..+)?\.json$|^deno\.jsonc?$/,"javascript"],[/^vitest\.config\./,"vitest"],[/^vite\.config\./,"vite"],[/^tailwind\.config\./,"tailwind"],[/^eslint\.config\.|^\.eslintrc(?:\..+)?$/,"eslint"],[/^prettier\.config\.|^\.prettierrc(?:\..+)?$|^\.prettierignore$/,"prettier"],[/^biome\.jsonc?$/,"biome"],[/^dockerfile(?:\..+)?$|^(?:docker-)?compose(?:\.[^.]+)?\.ya?ml$/,"docker"],[/^\.git(?:ignore|attributes|modules|keep)$|^codeowners$/,"git"],[/^\.env(?:\..+)?$/,"env"],[/^(?:readme|changelog|changes|contributing|security|code_of_conduct)(?:\..+)?$/,"markdown"],[/^(?:license|licence|copying)(?:\..+)?$/,"license"],[/^cargo\.(?:toml|lock)$/,"cargo"],[/^go\.(?:mod|sum|work)$/,"go"],[/^(?:gemfile|rakefile)(?:\.lock)?$/,"ruby"],[/^(?:podfile|package\.swift)(?:\.lock)?$/,"swift"],[/^pyproject\.toml$|^poetry\.lock$|^pipfile(?:\.lock)?$|^requirements(?:\.[^.]+)?\.txt$/,"python"],[/^composer\.(?:json|lock)$/,"php"],[/^pom\.xml$/,"java"],[/^(?:build|settings)\.gradle(?:\.kts)?$|^gradlew(?:\.bat)?$/,"gradle"],[/^(?:makefile|justfile|taskfile\.ya?ml)$/,"build"],[/^cmakelists\.txt$/,"cmake"],[/^\.(?:bash|zsh|fish)(?:rc|_profile)?$/,"shell"]],QH=[["typescript",["ts","mts","cts"]],["react-typescript",["tsx"]],["react-javascript",["jsx"]],["javascript",["js","mjs","cjs"]],["json",["json","jsonc","json5","geojson","map"]],["html",["html","htm","astro","ejs","hbs","handlebars","liquid","njk","nunjucks","pug"]],["css",["css","pcss","less","styl","stylus"]],["sass",["scss","sass"]],["vue",["vue"]],["svelte",["svelte"]],["markdown",["md","mdx","markdown","mdown"]],["yaml",["yaml","yml"]],["config",["toml","ini","cfg","conf","config","properties"]],["shell",["sh","bash","zsh","fish"]],["powershell",["ps1","psm1","psd1"]],["image",["png","jpg","jpeg","gif","webp","avif","ico","bmp","tif","tiff"]],["svg",["svg"]],["audio",["mp3","m4a","wav","ogg","flac"]],["video",["mp4","m4v","mov","webm"]],["font",["woff","woff2","ttf","otf","eot"]],["database",["sql","sqlite","sqlite3","db"]],["prisma",["prisma"]],["graphql",["graphql","graphqls","gql"]],["python",["py","pyi","pyw"]],["ruby",["rb","erb"]],["go",["go"]],["rust",["rs"]],["java",["java","class","jar"]],["gradle",["gradle"]],["kotlin",["kt","kts"]],["swift",["swift"]],["c",["c","m"]],["c-header",["h"]],["cpp",["cc","cpp","cxx","mm"]],["cpp-header",["hh","hpp","hxx"]],["csharp",["cs","csx"]],["php",["php","phtml"]],["lua",["lua"]],["dart",["dart"]],["elixir",["ex","exs","heex"]],["wasm",["wasm","wat"]],["protobuf",["proto"]],["xml",["xml","xsl","xslt","plist","csproj","fsproj","vbproj"]],["terraform",["tf","tfvars","hcl"]],["notebook",["ipynb"]],["text",["txt","log","csv","tsv"]],["pdf",["pdf"]],["archive",["zip","tar","gz","tgz","bz2","xz","7z","rar"]],["license",["license"]],["build",["mk"]],["cmake",["cmake"]]],YH=new Map(QH.flatMap(([e,t])=>t.map(a=>[a,e])));function KH(e){const t=op(e).toLowerCase();for(const[s,o]of qH)if(s.test(t))return I1[o];const a=t.includes(".")?t.slice(t.lastIndexOf(".")+1):"",l=YH.get(a);return l?I1[l]:t.startsWith(".")&&t.length>1?I1.config:I1.file}const vt=(e,t,a)=>({name:e,closedIcon:t,openedIcon:a}),If={folder:vt("folder",BP,wP),src:vt("src",zH,RH),app:vt("app",HG,VG),component:vt("component",YG,KG),test:vt("test",HH,VH),public:vt("public",BH,wH),config:vt("config",XG,WG),docs:vt("docs",sH,oH),github:vt("github",xH,dH),node:vt("node",kH,AH),asset:vt("asset",IG,UG),script:vt("script",SH,MH),library:vt("library",gH,EH),api:vt("api",PG,GG),server:vt("server",NH,_H),client:vt("client",qG,QG),dist:vt("dist",lH,iH),database:vt("database",aH,rH),route:vt("route",DH,FH),hook:vt("hook",fH,hH),service:vt("service",jH,TH),model:vt("model",vH,CH),controller:vt("controller",JG,eH),view:vt("view",ZH,$H),mock:vt("mock",yH,bH),coverage:vt("coverage",tH,nH),font:vt("font",cH,uH),audio:vt("audio",ZG,$G),video:vt("video",IH,UH),image:vt("image",pH,mH),style:vt("style",OH,LH),template:vt("template",PH,GH)},XH=new Map([...wt("src",["src","source","sources"]),...wt("app",["app","apps"]),...wt("component",["component","components"]),...wt("test",["test","tests","__tests__","spec","specs","e2e"]),...wt("public",["public","static"]),...wt("config",[".config","config","configs"]),...wt("docs",["doc","docs","documentation"]),...wt("github",[".github",".gitlab"]),...wt("node",["node_modules"]),...wt("asset",["asset","assets"]),...wt("script",["bin","script","scripts"]),...wt("library",["lib","libs","library","libraries"]),...wt("api",["api","apis"]),...wt("server",["backend","server","servers"]),...wt("client",["client","clients","frontend"]),...wt("dist",["build","dist","out","output"]),...wt("database",["data","database","databases","db","migrations"]),...wt("route",["route","router","routers","routes"]),...wt("hook",["hook","hooks"]),...wt("service",["service","services"]),...wt("model",["model","models"]),...wt("controller",["controller","controllers"]),...wt("view",["view","views"]),...wt("mock",["fixture","fixtures","mock","mocks"]),...wt("coverage",["coverage"]),...wt("font",["font","fonts"]),...wt("audio",["audio"]),...wt("video",["video","videos"]),...wt("image",["image","images","img"]),...wt("style",["css","style","styles"]),...wt("template",["template","templates"])]);function WH(e){const t=XH.get(op(e).toLowerCase());return t?If[t]:If.folder}function wt(e,t){return t.map(a=>[a,e])}function op(e){return e.split(/[/\\]/).filter(Boolean).at(-1)??""}function cp({artwork:e,className:t,...a}){const l=e.width??16,s=e.height??16,o=e.left??0,c=e.top??0;return x.jsx("svg",{...a,"aria-hidden":"true",focusable:"false",viewBox:`${o} ${c} ${l} ${s}`,className:he("inline-block size-4 shrink-0",t),dangerouslySetInnerHTML:{__html:e.body}})}function JH({path:e,...t}){const a=KH(e);return x.jsx(cp,{...t,artwork:a.icon,"data-file-icon":a.name})}function eV({expanded:e,path:t,...a}){const l=WH(t);return x.jsx(cp,{...a,artwork:e?l.openedIcon:l.closedIcon,"data-folder-expanded":e,"data-folder-icon":l.name})}function tV(e,t){if(e.pr_status==="merged")return"merged";if(t&&(t.dirty||t.unpushed))return"push";switch(e.pr_status){case"conflicts":return"resolve";case"checks_failed":return"failed";case"checks_pending":return"checks";case"mergeable":return"merge";case"draft":return"draft";default:return null}}const nV={push:{label:"Uncommitted changes",tone:"text-working",icon:x.jsx(qv,{size:14})},resolve:{label:"Merge conflicts",tone:"text-muted",icon:x.jsx(Lr,{size:14})},merge:{label:"Ready to merge",tone:"text-add"},checks:{label:"Checks running",tone:"text-working",icon:x.jsx(_0,{size:14,className:"animate-spin"})},failed:{label:"Checks failed",tone:"text-del",icon:x.jsx(Gv,{size:14})},draft:{label:"Draft",tone:"text-muted"},merged:{label:"Merged",tone:"text-pr-merged",icon:x.jsx(K6,{size:14})}},aV={push:"Commit all outstanding changes with a clear message and push the branch to the remote.",resolve:"This branch has merge conflicts with its base branch. Merge the base branch in, resolve the conflicts, then commit and push."};function rV({ws:e,local:t,sessionId:a}){return x.jsx(lV,{ws:e,local:t,sessionId:a},e.id)}function lV({ws:e,local:t,sessionId:a}){const l=O0(),[s,o]=w.useState(!1),[c,d]=w.useState(!1),[f,h]=w.useState(null);if(f?.ok&&(f.continued||e.pr_status!=="merged"))return x.jsxs(Uf,{children:[x.jsx(ka,{size:15,className:"shrink-0 text-add"}),x.jsx("span",{className:"truncate font-medium text-add",children:f.msg})]});const m=tV(e,t);if(!m)return null;const{label:p,tone:y,icon:b}=nV[m],v=async()=>{d(!0),h(null);try{const A=await we.merge(e.id);A.ok?(h({ok:!0,msg:`Merged${A.method?` (${A.method})`:""}`}),l.invalidateQueries({queryKey:["state"]}),l.invalidateQueries({queryKey:["diff",e.id]})):(h({ok:!1,msg:A.error||"Merge failed"}),o(!1))}catch(A){h({ok:!1,msg:A instanceof Error?A.message:String(A)}),o(!1)}finally{d(!1)}},k=async()=>{d(!0),h(null);try{const A=await we.continueWorkspace(e.id,a);A.ok?(h({ok:!0,msg:A.workspace?.branch?`Continued on ${A.workspace.branch}`:"Continued on a new branch",continued:!0}),l.invalidateQueries({queryKey:["state"]}),l.invalidateQueries({queryKey:["diff",e.id]})):h({ok:!1,msg:A.error||"Could not continue this workspace"})}catch(A){h({ok:!1,msg:A instanceof Error?A.message:String(A)})}finally{d(!1)}},C=async A=>{if(!e.active_session_id)return h({ok:!1,msg:"No active session to message"});d(!0),h(null);try{const F=await we.sendPrompt(e.active_session_id,aV[A],e.id);h(F.ok?{ok:!0,msg:"Asked the agent"}:{ok:!1,msg:F.error||"Send failed"})}catch(F){h({ok:!1,msg:F instanceof Error?F.message:String(F)})}finally{d(!1)}};return x.jsxs(Uf,{tint:m==="merge"?"add":m==="merged"?"merged":void 0,children:[e.pr_number?x.jsxs("a",{href:e.pr_url??void 0,target:"_blank",rel:"noreferrer",className:he("flex shrink-0 items-center gap-0.5 rounded-md px-1.5 py-0.5 font-mono text-[11px] active:bg-surface",m==="merged"?"bg-pr-merged/15 text-pr-merged":"bg-surface-2 text-muted"),children:["#",e.pr_number,x.jsx(Ab,{size:12})]}):null,x.jsxs("span",{className:he("flex items-center gap-1 truncate font-medium",y),children:[b,p]}),x.jsxs("div",{className:"ml-auto flex shrink-0 items-center gap-2",children:[f&&!f.ok?x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"max-w-36 truncate text-[11px] text-del",children:f.msg}),Tr(f.msg)?x.jsx(Aa,{className:"shrink-0 text-[11px]"}):null]}):null,m==="merge"||m==="checks"?s?x.jsxs(x.Fragment,{children:[x.jsx(iV,{onClick:()=>o(!1)}),x.jsx(Pi,{onClick:v,busy:c,className:m==="merge"?"bg-add text-on-solid":"bg-working text-on-solid",children:"Confirm"})]}):x.jsxs(Pi,{onClick:()=>o(!0),className:m==="merge"?"bg-add text-on-solid":"border border-border bg-surface-2 text-text",children:[x.jsx(K6,{size:13}),"Merge"]}):m==="push"?x.jsx(Pi,{onClick:()=>C("push"),busy:c,className:"bg-working text-on-solid",children:"Commit & push"}):m==="resolve"?x.jsx(Pi,{onClick:()=>C("resolve"),busy:c,className:"border border-border bg-surface-2 text-text",children:"Resolve"}):m==="merged"?x.jsxs(Pi,{onClick:k,busy:c,title:"Continue on a new branch with the same chats",className:"border border-pr-merged/30 bg-surface-2 text-pr-merged",children:[x.jsx(ck,{size:13}),"Continue"]}):null]})]})}function Pi({onClick:e,busy:t,title:a,className:l,children:s}){return x.jsxs("button",{type:"button",onClick:e,disabled:t,title:a,className:he("flex items-center gap-1.5 rounded-lg px-2.5 py-1 text-xs font-semibold transition active:scale-95 disabled:opacity-60",l),children:[t?x.jsx(_0,{size:13,className:"animate-spin"}):null,s]})}function iV({onClick:e}){return x.jsx("button",{type:"button",onClick:e,className:"rounded-lg px-2 py-1 text-xs text-muted active:bg-surface-2",children:"Cancel"})}const sV={add:"bg-add/10",merged:"bg-pr-merged/10"};function Uf({tint:e,children:t}){return x.jsx("div",{className:he("sticky top-0 z-10 flex items-center gap-2 border-b border-border-soft px-3 py-2 backdrop-blur",e?sV[e]:"bg-surface/95"),children:t})}function Zf({file:e,label:t,inset:a,alignWithFolders:l,selected:s,onSelectFile:o}){return x.jsx("li",{children:x.jsxs("button",{type:"button",title:e.path,"aria-label":e.path,onClick:()=>o(e.path),"aria-pressed":s,className:he("grid min-h-8 w-full min-w-0 grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-x-2 rounded-md pr-2 text-left transition hover:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent active:bg-surface-2",s&&"bg-accent-soft"),style:{paddingLeft:a},children:[x.jsxs("span",{className:"flex min-w-0 items-center gap-1.5",children:[l?x.jsx("span",{className:"size-3.5 shrink-0","aria-hidden":"true"}):null,x.jsx(JH,{path:e.path}),x.jsx("span",{className:he("truncate",s?"text-text":"text-muted"),children:t})]}),x.jsx("span",{className:"min-w-8 text-right text-add",children:e.added?`+${e.added}`:null}),x.jsx("span",{className:"min-w-8 text-right text-del",children:e.removed?`−${e.removed}`:null})]})})}function up({review:e,sessionId:t,scope:a,showFolders:l,selectedFile:s,onSelectFile:o}){const{workspace:c,query:d,filesQuery:f}=e,{data:h,isLoading:m,isError:p,error:y}=d,b=h?{dirty:h.dirty,unpushed:h.unpushed}:void 0,v=w.useMemo(()=>sp(a,h?.files??[],f.data?.files??[]),[a,h?.files,f.data?.files]),k=a==="changed"?m:f.isLoading,C=a==="changed"?p:f.isError,A=a==="changed"?y:f.error,F=a==="changed"?!!h:!!f.data;return x.jsxs("div",{className:"min-h-0 flex flex-1 flex-col",children:[x.jsx(rV,{ws:c,local:b,sessionId:t}),k&&!F?x.jsx(hn,{label:a==="changed"?"Computing diff…":"Listing files…"}):null,C&&!F?x.jsx($t,{children:A?.message}):null,!k&&!C&&!F?x.jsx($t,{children:a==="changed"?"No diff.":"No file list."}):null,a==="changed"&&h?.files.length===0?x.jsxs($t,{children:["No changes vs ",x.jsx("span",{className:"font-mono",children:h.base}),"."]}):null,a==="all"&&f.data?.files.length===0?x.jsx($t,{children:"No previewable files in this workspace."}):null,F&&v.length>0?x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"shrink-0 border-b border-border-soft px-3 py-2 text-xs text-muted",children:a==="changed"&&h?x.jsxs(x.Fragment,{children:["vs ",x.jsx("span",{className:"font-mono text-faint",children:h.base})," · ",v.length," file",v.length===1?"":"s"]}):x.jsxs(x.Fragment,{children:[v.length,f.data?.truncated?"+":""," previewable file",v.length===1?"":"s"]})}),x.jsx(oV,{files:v,scope:a,showFolders:l,selectedFile:s,onSelectFile:o})]}):null]})}function oV({files:e,scope:t,showFolders:a,selectedFile:l,onSelectFile:s}){const o=w.useMemo(()=>a?lp(e):[],[e,a]),c=w.useMemo(()=>a?[]:ip(e),[e,a]),d=w.useMemo(()=>{if(!l)return[];const b=l.split("/");return b.pop(),b.map((v,k)=>b.slice(0,k+1).join("/"))},[l]),[f,h]=w.useState(()=>new Map(d.map(b=>[b,!0])));w.useEffect(()=>{d.length&&h(b=>{const v=new Map(b);let k=!1;for(const C of d)v.get(C)!==!0&&(v.set(C,!0),k=!0);return k?v:b})},[d]);const m=b=>f.get(b)??t==="changed",p=b=>{h(v=>{const k=new Map(v);return k.set(b,!(v.get(b)??t==="changed")),k})},y=(b,v)=>{const k=8+v*16;if(b.kind==="folder"){const C=m(b.path),A=!!l?.startsWith(`${b.path}/`);return x.jsxs("li",{children:[x.jsxs("button",{type:"button",onClick:()=>p(b.path),"aria-expanded":C,"aria-label":`${C?"Collapse":"Expand"} ${b.path}, ${b.fileCount} file${b.fileCount===1?"":"s"}`,className:"grid min-h-8 w-full min-w-0 grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-x-2 rounded-md pr-2 text-left transition hover:bg-surface-2 focus-visible:outline-2 focus-visible:outline-accent active:bg-surface-2",style:{paddingLeft:k},children:[x.jsxs("span",{className:"flex min-w-0 items-center gap-1.5",children:[x.jsx(Z6,{size:14,className:he("shrink-0 text-faint transition-transform",C&&"rotate-90")}),x.jsx(eV,{path:b.path,expanded:C}),x.jsx("span",{className:he("truncate",A?"text-text":"text-muted"),children:b.name}),x.jsx("span",{className:"shrink-0 text-[10px] tabular-nums text-faint",children:b.fileCount})]}),x.jsx("span",{className:"min-w-8 text-right text-add",children:b.added?`+${b.added}`:null}),x.jsx("span",{className:"min-w-8 text-right text-del",children:b.removed?`−${b.removed}`:null})]}),C?x.jsx("ul",{children:b.children.map(F=>y(F,v+1))}):null]},b.path)}return x.jsx(Zf,{file:b.file,label:b.name,inset:k,alignWithFolders:!0,selected:b.path===l,onSelectFile:s},b.path)};return a?x.jsx("ul",{"aria-label":`${t==="changed"?"Changed":"All"} files by folder`,className:"min-h-0 flex-1 overflow-y-auto overscroll-contain px-2 py-2 font-mono text-[12px]",children:o.map(b=>y(b,0))}):x.jsx("ul",{"aria-label":`${t==="changed"?"Changed":"All"} files`,className:"min-h-0 flex-1 overflow-y-auto overscroll-contain px-2 py-2 font-mono text-[12px]",children:c.map(b=>x.jsx(Zf,{file:b,label:b.path,inset:8,selected:b.path===l,onSelectFile:s},b.path))})}function cV({review:e,filePath:t,scope:a,showFolders:l,onSelectFile:s,onShowFiles:o,onClose:c}){const{workspace:d,query:f,filesQuery:h,fileQuery:m}=e,{data:p,isLoading:y,isError:b,error:v}=f,k=w.useMemo(()=>{const Z=sp(a,p?.files??[],h.data?.files??[]);return l?vP(Z):ip(Z)},[a,l,p?.files,h.data?.files]),C=k.findIndex(Z=>Z.path===t),A=C>=0?k[C]:void 0,F=w.useMemo(()=>a==="changed"&&p&&!p.truncated?kP(p.patch,p.files,t):null,[a,p,t]),M=a==="changed"&&!!p?.truncated,N=M&&m.data?.path===t?m.data:null,S=N?.patch??F,D=C>0?k[C-1]:void 0,R=C>=0&&C<k.length-1?k[C+1]:void 0,O=a==="all"&&d.worktree?`${d.worktree}/${t}`:null,P=GF(O,a==="all"),T=a==="changed"?"changed file":"file",V=a==="changed"?"changed files":"all files";return x.jsxs("section",{className:"min-h-0 flex flex-1 flex-col bg-bg","aria-label":a==="changed"?`Changes in ${t}`:`Source of ${t}`,children:[x.jsx(Qx,{title:x.jsxs("span",{className:"flex items-baseline gap-2",children:[x.jsx("span",{children:a==="changed"?"Changes":"Source"}),a==="changed"&&A?.added?x.jsxs("span",{className:"text-xs font-normal text-add",children:["+",A.added]}):null,a==="changed"&&A?.removed?x.jsxs("span",{className:"text-xs font-normal text-del",children:["−",A.removed]}):null]}),subtitle:A?.path??t,actions:x.jsxs("div",{className:"flex shrink-0 items-center gap-0.5 lg:hidden",children:[x.jsx("button",{type:"button",onClick:()=>D&&s(D.path),disabled:!D,"aria-label":`Previous ${T}`,className:"flex size-8 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-25",children:x.jsx(Tv,{size:17})}),x.jsx("span",{className:"min-w-9 text-center text-[11px] tabular-nums text-faint",children:C>=0?`${C+1}/${k.length}`:"—"}),x.jsx("button",{type:"button",onClick:()=>R&&s(R.path),disabled:!R,"aria-label":`Next ${T}`,className:"flex size-8 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-25",children:x.jsx(Z6,{size:17})}),x.jsx("button",{type:"button",onClick:o,"aria-label":`Show ${V}`,className:"flex size-8 items-center justify-center rounded-full text-muted transition active:bg-surface-2",children:x.jsx(X6,{size:17})})]}),onClose:c,closeLabel:"Close file viewer"}),x.jsx("div",{className:"min-h-0 flex-1 overflow-auto overscroll-contain",children:a==="changed"?x.jsxs(x.Fragment,{children:[y&&!p?x.jsx(hn,{label:"Loading changes…"}):null,b?x.jsx($t,{children:v?.message}):null,p&&C<0?x.jsx($t,{children:"This file is no longer changed."}):null,p&&C>=0&&M&&m.isLoading&&!N?x.jsx(hn,{label:"Loading file changes…"}):null,p&&C>=0&&M&&m.isError&&!N?x.jsx($t,{children:m.error?.message}):null,p&&C>=0&&!M&&S===null?x.jsx($t,{children:"No textual patch is available for this file."}):null,N&&!S?x.jsx($t,{children:"No textual patch is available for this file."}):null,S?x.jsx(qh,{patch:S,fileName:t,hideFileHeader:!0,className:"p-4"}):null]}):x.jsxs(x.Fragment,{children:[P.isLoading&&!P.data?x.jsx(hn,{label:"Reading source…"}):null,P.isError&&!P.data?x.jsx($t,{children:P.error?.message}):null,!h.isLoading&&!d.worktree?x.jsx($t,{children:"Workspace files are unavailable."}):null,P.data?x.jsx(Dh,{preview:P.data}):null]})})]})}const uV=/^[a-z][a-z0-9_-]{0,63}$/,$f=["none","low","medium","high","xhigh","max","ultracode"],qf=e=>({version:1,roles:Object.fromEntries(Object.entries(e.roles).map(([t,a])=>[t,{...a}]))}),xV=e=>`You are the ${e} agent for this workspace. End your final answer with a \`## Baton\` section: Decision, Evidence, Files changed, Risks, Suggested next role.`;function dV(e,t){const l=[void 0,...t==="codex"?$f:$f.filter(o=>o!=="none")],s=l.indexOf(e);return l[(s+1)%l.length]}function fV(e,t){const a={...e};return t===void 0?delete a.effort:a.effort=t,a}function hV(e,t){const a={...e,model:t},l=jl(t);return dx(l)||delete a.effort,fx(l)||delete a.fast,a}function pV(e,t){const a=hx(t);if(!a||!u9(e.model,[a]))return"Choose an exact model from Conductor’s newest picker snapshot.";const l=jl(e.model);return l?e.effort!==void 0&&!dx(l)?"Conductor does not expose a reasoning control for this provider. Select its model again to clear Effort.":e.effort==="none"&&l!=="codex"?"None effort is available only for Codex.":e.fast!==void 0&&!fx(l)?"Conductor does not expose a Fast control for this provider. Select its model again to clear Fast.":null:"This model label does not identify a supported provider."}function mV(e,t){const a=hx(t);return!a||!u9(e.model,[a])?null:jl(e.model)??null}function Qf(e,t,a,l){return e&&!t&&a!==void 0&&l===0}function xp({name:e}){return x.jsx("span",{className:"max-w-20 shrink-0 truncate rounded bg-accent/10 px-1 py-0.5 font-mono text-[9px] uppercase tracking-wide text-accent",children:e})}function gV({name:e,role:t,models:a,agentType:l=null,invalid:s,onChange:o,onRemove:c,canRemove:d}){const f=l??jl(t.model)??null,h=dx(f),m=fx(f);return x.jsxs("section",{className:he("rounded-2xl border bg-surface p-3",s?"border-del/50":"border-border"),children:[x.jsxs("div",{className:"mb-2 flex items-center gap-2",children:[x.jsx(xp,{name:e}),x.jsx("span",{className:"min-w-0 flex-1 truncate text-sm font-semibold",children:e}),x.jsx("button",{type:"button",disabled:!d,onClick:c,"aria-label":`Remove ${e} role`,className:"flex size-7 shrink-0 items-center justify-center rounded-lg text-faint active:bg-surface-2 disabled:invisible",children:x.jsx(Tw,{size:14})})]}),x.jsxs("div",{className:"flex min-w-0 flex-wrap items-center gap-1.5",children:[x.jsx(Wh,{value:t.model,models:a,placement:"below",empty:"No picker models are cached yet.",onSelect:p=>o(hV(t,p)),renderTrigger:({picking:p,toggle:y})=>x.jsxs("button",{type:"button",onClick:y,"aria-label":`Choose model for ${e}, currently ${t.model}`,"aria-haspopup":"menu","aria-expanded":p,className:he("flex h-8 max-w-56 min-w-0 items-center gap-1.5 rounded-lg border px-2 text-xs active:bg-surface-2",s?"border-del text-del":"border-border text-muted"),children:[x.jsx(zl,{agentType:l,model:t.model,className:"size-3.5"}),x.jsx("span",{className:"truncate",children:t.model})]})}),h?x.jsxs("button",{type:"button",onClick:()=>o(fV(t,dV(t.effort,f))),"aria-label":`Reasoning effort for ${e}: ${t.effort?Ji[t.effort]:"default"}`,className:"flex h-8 items-center gap-1.5 rounded-lg border border-border px-2 text-xs text-muted active:bg-surface-2",children:[x.jsx(t7,{effort:t.effort??""}),t.effort?Ji[t.effort]:"Effort"]}):null,m?x.jsxs("button",{type:"button",onClick:()=>o({...t,fast:!t.fast}),"aria-label":`Fast mode for ${e} ${t.fast?"on":"off"}`,"aria-pressed":t.fast===!0,className:he("flex h-8 items-center gap-1 rounded-lg border border-border px-2 text-xs text-muted active:bg-surface-2",t.fast&&"bg-surface-2 text-text"),children:[x.jsx(xx,{size:13})," Fast"]}):null]}),s?x.jsxs("p",{className:"mt-2 flex items-start gap-1.5 text-xs text-del",children:[x.jsx(Lr,{size:13,className:"mt-0.5 shrink-0"}),x.jsx("span",{children:s})]}):null,x.jsxs("details",{className:"mt-2",children:[x.jsx("summary",{className:"cursor-pointer select-none text-[11px] text-faint",children:"Role preamble"}),x.jsx("textarea",{value:t.preamble??"",onChange:p=>o({...t,preamble:p.target.value}),rows:4,"aria-label":`${e} role preamble`,className:"mt-1.5 block w-full resize-y rounded-xl border border-border bg-bg px-2.5 py-2 text-base leading-relaxed outline-none focus:border-accent/60"})]})]})}function dp({onClose:e}){const t=O0(),a=z9(),l=fo(),[s,o]=w.useState(null),[c,d]=w.useState(!1),[f,h]=w.useState(!1),[m,p]=w.useState(null),[y,b]=w.useState("");w.useEffect(()=>{a.data&&!c&&o(qf(a.data))},[a.data,c]);const v=l.data?.groups,k=w.useMemo(()=>hx(v??[])?.models??[],[v]),C=new Map(a.data?.issues.map(P=>[P.role,P.error.message])??[]),A=s,F=new Map;if(A)for(const[P,T]of Object.entries(A.roles)){const V=v?pV(T,v):C.get(P);V&&F.set(P,V)}const M=(P,T)=>{A&&(o({version:1,roles:{...A.roles,[P]:T}}),d(!0),p(null))},N=P=>{if(!A||Object.keys(A.roles).length<=1)return;const{[P]:T,...V}=A.roles;o({version:1,roles:V}),d(!0)},S=y.trim().toLowerCase().replace(/\s+/g,"-"),D=y&&!uV.test(S)?"Use lowercase letters, numbers, dashes, or underscores.":S&&A?.roles[S]?"That role already exists.":null,R=()=>{!A||!S||D||(o({version:1,roles:{...A.roles,[S]:{model:"Choose a model",fast:!1,preamble:xV(S)}}}),b(""),d(!0))},O=async()=>{if(!(!A||!Qf(c,f,v,F.size))){h(!0),p(null);try{const P=await we.updateRoles(A);if(!P.ok){p(P.error.message);return}o(qf(P.config)),d(!1),await t.invalidateQueries({queryKey:["roles"]})}catch(P){p(P instanceof Error?P.message:String(P))}finally{h(!1)}}};return Yn.createPortal(x.jsxs("div",{className:"fixed inset-0 z-50 flex flex-col bg-bg",role:"dialog","aria-modal":"true","aria-label":"Roles settings",children:[x.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsxs("div",{className:"flex items-center gap-1.5",children:[x.jsx("h2",{className:"text-[15px] font-semibold",children:"Roles"}),x.jsx(Xx,{})]}),x.jsx("p",{className:"text-[11px] text-faint",children:"Cross-provider delegated chats"})]}),x.jsxs("button",{type:"button",disabled:!Qf(c,f,v,F.size),onClick:()=>{O()},className:"flex h-9 items-center gap-1.5 rounded-xl bg-accent px-3 text-sm font-semibold text-white disabled:opacity-35",children:[f?x.jsx(_0,{size:15,className:"animate-spin"}):x.jsx(SB,{size:15}),"Save"]}),x.jsx("button",{type:"button",onClick:e,"aria-label":"Close roles settings",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(y0,{size:20})})]}),x.jsx("div",{className:"pb-safe min-h-0 flex-1 overflow-y-auto p-3",children:a.isLoading&&!A?x.jsx(hn,{label:"Loading roles…"}):a.isError&&!A?x.jsx("p",{className:"rounded-xl border border-del/40 bg-del/5 p-3 text-sm text-del",children:a.error instanceof Error?a.error.message:"Could not load roles."}):A?x.jsxs("div",{className:"mx-auto flex max-w-xl flex-col gap-2.5",children:[l.isError?x.jsxs("div",{className:"flex items-center gap-2 rounded-xl border border-del/40 bg-del/5 p-3 text-xs text-del",children:[x.jsx("span",{className:"min-w-0 flex-1",children:"Could not load the saved Conductor model catalog."}),x.jsx("button",{type:"button",onClick:()=>{l.refetch()},className:"shrink-0 rounded-lg border border-del/40 px-2 py-1 font-semibold",children:"Retry"})]}):null,a.data?.warning?x.jsxs("p",{className:"rounded-xl border border-del/40 bg-del/5 p-3 text-xs text-del",children:[a.data.warning," The file was preserved; saving replaces it only after validation."]}):null,Object.entries(A.roles).map(([P,T])=>x.jsx(gV,{name:P,role:T,models:k,agentType:v?mV(T,v):null,invalid:F.get(P),onChange:V=>M(P,V),onRemove:()=>N(P),canRemove:Object.keys(A.roles).length>1},P)),x.jsxs("div",{className:"rounded-2xl border border-dashed border-border p-2.5",children:[x.jsxs("div",{className:"flex items-center gap-2",children:[x.jsx("input",{value:y,onChange:P=>b(P.target.value),onKeyDown:P=>{P.key==="Enter"&&R()},placeholder:"Add a role","aria-label":"New role name",className:"min-w-0 flex-1 bg-transparent px-1 text-base outline-none placeholder:text-faint"}),x.jsxs("button",{type:"button",disabled:!S||!!D,onClick:R,className:"flex h-8 items-center gap-1 rounded-lg border border-border px-2 text-xs text-muted active:bg-surface-2 disabled:opacity-35",children:[x.jsx(cx,{size:14})," Add"]})]}),D?x.jsx("p",{className:"mt-1.5 px-1 text-xs text-del",children:D}):null]}),F.size?x.jsx("p",{className:"text-xs text-del",children:"Choose the missing picker models before starting a Workflow."}):null,m?x.jsx("p",{className:"rounded-xl border border-del/40 bg-del/5 p-3 text-xs text-del",children:m}):null,x.jsx("p",{className:"px-1 text-[11px] leading-relaxed text-faint",children:"Roles configure future Workflow runs. Accepted jobs keep their frozen model and effort."})]}):null})]}),document.body)}function EV({workspace:e,agentsRunning:t}){const[a,l]=w.useState(!1),[s,o]=w.useState(!1),[c,d]=w.useState(null),[f,h]=w.useState(null),m=Ce(F=>F.online),p=O0(),y=Ux(e),b=()=>{l(!1),o(!1)},v=async F=>{if(!c&&(b(),F!==y)){d(F),h(null);try{const M=await we.setStatus(e.id,F);M.ok||h(M.error??"status change failed"),await p.invalidateQueries({queryKey:["state"]})}catch(M){h(M instanceof Error?M.message:"status change failed")}finally{d(null)}}},k=async()=>{if(!c){b(),d("archive"),h(null);try{const F=await we.archive(e.id,t>0);F.ok||h(F.error??"archiving failed"),await p.invalidateQueries({queryKey:["state"]}),await p.invalidateQueries({queryKey:["workspace",e.id]})}catch(F){h(F instanceof Error?F.message:"archiving failed")}finally{d(null)}}},A=c==="archive"?y:c??y;return x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button",onClick:()=>a?b():l(!0),disabled:!m||c!==null,"aria-label":`Workspace menu: ${Gu(y)}`,"aria-expanded":a,className:he("flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",a&&"bg-surface-2 text-text"),children:c?x.jsx("span",{className:"dot-spinner size-4",style:{"--spin-color":yV(A)}}):x.jsx(Yf,{status:A})}),a?x.jsxs(x.Fragment,{children:[x.jsx("button",{type:"button","aria-label":"Close workspace menu",className:"fixed inset-0 z-20 cursor-default",onClick:b}),x.jsx("div",{className:"fade-in absolute right-2 top-full z-30 w-60 overflow-hidden rounded-xl border border-border bg-surface shadow-xl",children:s?x.jsxs("div",{className:"p-3",children:[x.jsx("div",{className:"text-sm font-semibold",children:"Archive workspace?"}),x.jsx("p",{className:"mt-1 text-xs leading-snug text-muted",children:t>0?"Agents are still running in this workspace. Archiving will stop them and end any in-progress work.":"Its worktree is deleted. The chat stays readable and searchable."}),x.jsxs("div",{className:"mt-3 flex justify-end gap-2",children:[x.jsx("button",{type:"button",onClick:()=>o(!1),className:"rounded-lg border border-border px-2.5 py-1 text-xs font-semibold active:bg-surface-2",children:"Cancel"}),x.jsx("button",{type:"button",onClick:k,className:"rounded-lg bg-del px-2.5 py-1 text-xs font-semibold text-on-solid active:scale-95",children:t>0?"Stop agents and archive":"Archive"})]})]}):x.jsxs(x.Fragment,{children:[DO.map(F=>x.jsxs("button",{type:"button",onClick:()=>v(F),className:"flex w-full items-center gap-2 px-3 py-2.5 text-left text-sm active:bg-surface-2",children:[x.jsx(Yf,{status:F}),x.jsx("span",{className:"flex-1",children:Gu(F)}),F===y?x.jsx(ka,{size:15,className:"text-accent"}):null]},F)),x.jsxs("button",{type:"button",onClick:()=>o(!0),className:"flex w-full items-center gap-2 border-t border-border px-3 py-2.5 text-left text-sm text-del active:bg-surface-2",children:[x.jsx(lx,{size:15}),x.jsx("span",{className:"flex-1",children:"Archive workspace"})]})]})})]}):null,f?x.jsx("button",{type:"button",onClick:()=>h(null),className:"absolute right-2 top-full z-30 max-w-64 rounded-lg border border-del/40 bg-surface px-3 py-2 text-left text-xs text-del shadow-xl",children:f}):null]})}function yV(e){return Zx[e]??"var(--color-faint)"}function Yf({status:e}){const t=Zx[e];return t?x.jsx("span",{className:"dot size-2.5",style:{background:t}}):x.jsx("span",{className:"dot size-2.5 border border-faint bg-transparent"})}function bV(e,t,a,l){if(!t)return;const s=e.find(d=>d.rootSessionId===t);if(s)return s;const o=a[t]?.workflowId;if(o){const d=e.find(f=>f.id===o);if(d)return d}const c=l.find(d=>d.childSessionId===t&&d.workflowId)?.workflowId;return c?e.find(d=>d.id===c):void 0}function vV(e,t,a,l){if(!l)return;const s=e.find(p=>p.rootSessionId===l),o=t.filter(p=>p.parentSessionId===l),c=a[l],d=Object.values(a).some(p=>p.delegationId&&!p.workflowId),f=c?.role==="planning"&&!c.delegationId&&!c.workflowId&&d;if(!s&&!o.length&&!f)return;const h=new Set(o.filter(p=>!p.workflowId).map(p=>p.id)),m=Object.fromEntries(Object.entries(a).filter(([p,y])=>p===l?!0:y.workflowId?y.workflowId===s?.id:y.delegationId?f||h.has(y.delegationId):!1));return{workflow:s,jobs:o,roles:m}}function CV(){const{workspaceId:e}=oy(),[t,a]=G6(),l=t.get("session"),s=t.get("subagent"),o=Ee=>a({session:Ee},{replace:!0}),[c,d]=w.useState(!1),[f,h]=w.useState("changed"),[m,p]=w.useState(null),[y,b]=w.useState(!1),v=m&&m.workspaceId===e?m.path:null,[k,C]=w.useState(!1),[A,F]=w.useState(null),[M,N]=w.useState(!1),[S,D]=w.useState(null),[R,O]=w.useState(null),[P,T]=w.useState(null),[V,Z]=w.useState(null),[re,ee]=w.useState(null),Q=O0(),G=Or(),{data:Y,isLoading:le}=yx(),xe=Y?.workspaces.find(Ee=>Ee.id===e),j=LF(e,c&&!!xe),L=PF(e,v,c&&f==="changed"&&!!xe&&!!j.data?.truncated),$=!!Y&&!xe,{data:z}=_9(e,!$),ie=Ce(Ee=>Ee.workingHints),be=Ce(Ee=>Ee.pending),X=Ce(Ee=>Ee.readMarks),me=Ce(Ee=>Ee.markRead),He=Ce(Ee=>Ee.setDraft),Be=Ce(Ee=>Ee.online),tt=Ce(Ee=>Ee.view.showFolders),ct=Ce(Ee=>Ee.setView),De=xe,_t=Y?.actuator,{data:Fe,isLoading:ne}=zF(e,$),Oe=RF(e,!!xe?.worktree,c&&f==="all"),{data:rt}=Oe,Ct=xe?.worktree??null,Et=rt?.files,p0=w.useMemo(()=>({resolveMention:ch(Ct,Et),worktree:Ct}),[Ct,Et]),nt=z?.sessions??[],b0=De?.active_session_id&&nt.some(Ee=>Ee.id===De.active_session_id)?De.active_session_id:null,ge=(l&&nt.some(Ee=>Ee.id===l)?l:null)??b0??nt[0]?.id??null,Me=nt.find(Ee=>Ee.id===ge),A0=Ee=>{ge&&a(Ee?{session:ge,subagent:Ee}:{session:ge},{replace:!0})},se={...z?.session_roles??{},...De?.session_roles??{}},W=De?.delegations??[],Ne=W.filter(Ee=>!Ee.workflowId),Ze=(Y?.workflows??[]).filter(Ee=>Ee.workspaceId===e);De?.workflow&&!Ze.some(Ee=>Ee.id===De.workflow?.id)&&Ze.push(De.workflow);const Ke=bV(Ze,ge,se,W),Kt=vV(Ze,W,se,s?null:ge),v0=ge?se[ge]:void 0,Wt=ge?W.find(Ee=>Ee.workflowId===Ke?.id&&Ee.childSessionId===ge):void 0,Dt=v0&&v0.workflowId===Ke?.id?v0.role:Wt?.role,C0=Ke?.phase!=="completed"&&Ke?.phase!=="cancelled",kt=Ke&&C0&&ge===Ke.rootSessionId?"planning":Dt==="planning"||Dt==="exploration"||Dt==="implementation"?Dt:void 0,mn=w.useMemo(()=>new Set(W.flatMap(Ee=>Ee.childSessionId?[Ee.childSessionId]:[])),[W]),l0=Me?.updated_at;if(w.useEffect(()=>{De&&ge&&l0&&document.visibilityState==="visible"&&me(ge,l0)},[De,ge,l0,me]),WF(ge,l0),!De)return Fe?x.jsx(rP,{workspace:Fe.workspace}):x.jsxs("div",{className:"flex h-full flex-col overflow-hidden",children:[x.jsx(Vu,{title:"Session",menu:!0}),le||$&&ne?x.jsx(hn,{}):x.jsx("div",{className:"p-6 text-center text-sm text-muted",children:"Workspace not found."})]});const Xn=ge?ie[ge]:void 0,Gn=Me?.status==="working"||Xn!==void 0&&Date.now()-Xn<Du,Wn=Me?.turn_started_at?W0(Me.turn_started_at):null,Jn=(Me?.status==="working"?Wn??Xn:Xn??Wn)??null,j0=Date.now(),I=Object.fromEntries(nt.map(Ee=>{const t0=ie[Ee.id],B0=[...Ee.id===ge&&De.pending_prompt?[De.pending_prompt]:[],...(De.parked_prompts??[]).filter(lt=>lt.sessionId===Ee.id)];return[Ee.id,g9(be.filter(lt=>lt.sessionId===Ee.id),B0,t0!==void 0&&j0-t0<Du)]})),ue=[De.repo_name,De.branch,s9(De.model)].filter(Boolean).join(" · "),Ae=async()=>{if(!M){N(!0);try{const Ee=await we.newChat(De.id);Ee.ok&&(await Q.invalidateQueries({queryKey:["sessions",De.id]}),Ee.sessionId&&o(Ee.sessionId))}finally{N(!1)}}},Qe=async(Ee,t0=!1)=>{if(S||!Be)return;const B0=nt.find(lt=>lt.id===Ee);if((B0?.status==="working"||B0?.background_tasks.length)&&!t0){O(Ee),T(null);return}D(Ee),O(null),T(null);try{const lt=await we.closeChat(Ee,De.id,t0);if(!lt.ok)throw new Error(lt.error??"Could not close this chat");ge===Ee&&(lt.activeSessionId?o(lt.activeSessionId):a({},{replace:!0})),await Promise.all([Q.invalidateQueries({queryKey:["sessions",De.id]}),Q.invalidateQueries({queryKey:["state"]})])}catch(lt){lt instanceof dn&&lt.status===409&&/still working/i.test(lt.message)?O(Ee):T(lt instanceof Error?lt.message:"Could not close this chat")}finally{D(null)}},jt=async({thinking:Ee,tools:t0,through:B0,only:lt,destination:i0="chat"},Hn)=>{if(!ge)return;const m0=await we.splitChat(ge,De.id,Ee,t0,B0,lt,i0);if(!m0.ok)throw new Error(m0.error??"Could not fork this chat");const sr=m0.sessionId??(i0==="workspace"?m0.workspaceId:null);if(!sr)throw new Error("The new chat opened, but its id was not available");if(He(sr,[m0.text,Hn?.trim()].filter(Boolean).join(`
57
+ `)),m0.sessionId&&Z(m0.sessionId),i0==="workspace"){await Q.invalidateQueries({queryKey:["state"]}),G(m0.sessionId?`/w/${m0.workspaceId}?session=${encodeURIComponent(m0.sessionId)}`:`/w/${m0.workspaceId}`);return}await Q.invalidateQueries({queryKey:["sessions",De.id]}),m0.sessionId&&o(m0.sessionId)},At=()=>{d(!1),p(null),b(!1)},Re=()=>{p(null),b(!0)},Se=()=>{c?At():(d(!0),b(!0))},Ue=Ee=>{p({workspaceId:De.id,path:Ee}),b(!1)},Qt=Ee=>{h(Ee),Ee==="all"&&De.worktree&&Oe.refetch()},Tt={workspace:De,query:j,filesQuery:Oe,fileQuery:L},jn=async Ee=>{F(null);try{const t0=await we.dismissDelegation(Ee);if(!t0.ok)throw new Error(t0.error.message);await Q.invalidateQueries({queryKey:["state"]})}catch(t0){F(t0 instanceof Error?t0.message:String(t0))}};return x.jsx(_R,{value:p0,children:x.jsxs("div",{className:"flex h-full min-w-0 overflow-hidden",children:[x.jsxs("div",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[x.jsx(Vu,{title:Qn(De),subtitle:ue,menu:!0,right:x.jsxs(x.Fragment,{children:[x.jsx(yP,{workspaceId:De.id}),x.jsx("button",{type:"button",onClick:()=>C(!0),"aria-label":"Open delegated roles",className:"flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",children:x.jsx(cs,{size:18})}),x.jsx(EV,{workspace:De,agentsRunning:nt.filter(Ee=>Ee.status==="working").length}),x.jsx(AV,{stats:De.change_stats,open:c,onToggle:Se})]})}),nt.length>0||De.state==="ready"?x.jsx(BV,{sessions:nt,activeId:s?null:ge,readMarks:X,promptStates:I,roles:se,subtabSessionIds:mn,onSelect:o,onContext:Ee=>ee({workspaceId:De.id,id:Ee.id,title:Ee.title}),onNewChat:Ae,onClose:Ee=>{Qe(Ee)},creating:M,closingId:S,online:Be}):null,R?x.jsx(wV,{title:nt.find(Ee=>Ee.id===R)?.title??"Untitled",busy:S===R,onCancel:()=>O(null),onConfirm:()=>{Qe(R,!0)}}):P?x.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-del/30 bg-del/5 px-3 py-2 text-xs text-del",children:[x.jsx("span",{className:"min-w-0 flex-1",children:P}),Tr(P)?x.jsx(Aa,{}):null,x.jsx("button",{type:"button",onClick:()=>T(null),"aria-label":"Dismiss close error",className:"p-1",children:x.jsx(y0,{size:14})})]}):null,Kt?x.jsx(uL,{workflow:Kt.workflow,jobs:Kt.jobs,sessions:nt,roles:Kt.roles,activeSessionId:ge,onSelectSession:o}):null,De.delegation_warning||A?x.jsx("div",{className:"shrink-0 border-b border-del/30 bg-del/5 px-3 py-1.5 text-xs text-del",children:A??De.delegation_warning}):null,x.jsxs("div",{className:"relative min-h-0 flex flex-1 flex-col",children:[v?x.jsx(cV,{review:Tt,filePath:v,scope:f,showFolders:tt,onSelectFile:Ue,onShowFiles:()=>b(!0),onClose:Re},v):x.jsx(Qh,{sessionId:ge,workspaceId:De.id,working:Gn,workingSince:Jn,turnStartedAt:Me?.turn_started_at,waiting:Me?.background_tasks,delegations:Ne,agentType:Me?.agent_type,model:Me?.model,selectedSubagentId:s,queued:De.parked_prompts?.find(Ee=>Ee.sessionId===ge)??De.pending_prompt,onFork:jt,onSelectSession:o,onSelectSubagent:A0,onDismissDelegation:Ee=>{jn(Ee)},onOpenRoles:()=>C(!0)}),c&&(y||!v)?x.jsx(SV,{review:Tt,sessionId:ge,scope:f,onScopeChange:Qt,showFolders:tt,onShowFoldersChange:Ee=>ct({showFolders:Ee}),selectedFile:v,onSelectFile:Ue,onClose:At}):null]}),s?x.jsx(kV,{title:Me?.title,onReturn:()=>A0(null)}):x.jsx(fP,{session:Me,sessionId:ge,workspaceId:De.id,working:Gn,actuator:_t,onFork:Ee=>jt({thinking:!0,tools:!1},Ee),onContext:Me?()=>ee({workspaceId:De.id,id:Me.id,title:Me.title}):void 0,workflowStarted:!!(ge&&se[ge])||!!(De.pending_prompt&&ge===De.active_session_id),workflow:Ke,workflowRole:kt,focusDraft:ge===V,onDraftFocused:()=>Z(null)},De.id)]}),c?x.jsx(FV,{review:Tt,sessionId:ge,scope:f,onScopeChange:Qt,showFolders:tt,onShowFoldersChange:Ee=>ct({showFolders:Ee}),selectedFile:v,onSelectFile:Ue,onClose:At}):null,k?x.jsx(dp,{onClose:()=>C(!1)}):null,re&&re.workspaceId===e?x.jsx(gP,{sessionId:re.id,title:re.title,revision:nt.find(Ee=>Ee.id===re.id)?.updated_at,onClose:()=>ee(null)}):null]})})}function kV({title:e,onReturn:t}){return x.jsx("div",{className:"pb-safe flex shrink-0 items-center justify-center border-t border-border-soft px-4 py-3",children:x.jsxs("button",{type:"button",onClick:t,className:"flex min-w-0 items-center gap-2 rounded-lg px-3 py-1.5 text-xs font-medium text-accent transition active:bg-surface-2",children:[x.jsx(V6,{size:14,className:"shrink-0"}),x.jsxs("span",{className:"truncate",children:["Return to ",e||"parent chat"," to reply"]})]})})}function AV({stats:e,open:t,onToggle:a}){const l=!!e&&(e.added>0||e.removed>0);return x.jsxs("button",{type:"button",onClick:a,"aria-label":l?"Toggle diff panel, changes available":"Toggle diff panel","aria-pressed":t,className:he("relative flex size-9 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2",t&&"bg-surface-2 text-text"),children:[x.jsx(Q6,{size:19}),l?x.jsx("span",{className:"absolute right-1.5 top-1.5 size-1.5 rounded-full bg-accent","aria-hidden":"true"}):null]})}function BV({sessions:e,activeId:t,readMarks:a,promptStates:l,roles:s={},subtabSessionIds:o,onSelect:c,onContext:d,onNewChat:f,onClose:h,creating:m,closingId:p,online:y}){const b=w.useRef(null),v=e.filter(C=>!s[C.id]?.delegationId&&!o?.has(C.id)),k=v.some(C=>C.id===t);return w.useLayoutEffect(()=>{t&&k&&b.current?.scrollIntoView({block:"nearest",inline:"nearest"})},[t,k]),x.jsxs("nav",{className:"flex shrink-0 items-center gap-1 border-b border-border-soft bg-bg px-3 py-2",children:[x.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:v.map(C=>{const A=l[C.id],F=typeof C.context_used_percent=="number"&&C.context_used_percent>0;return x.jsxs("div",{ref:C.id===t?b:void 0,className:he("flex shrink-0 items-center rounded-full text-sm font-medium text-muted transition",C.id===t&&"bg-surface-2 text-text"),children:[x.jsxs("button",{type:"button",onClick:()=>c(C.id),className:he("flex min-w-0 items-center gap-1.5 py-1.5 pl-3.5",e.length>1||F?"pr-1":"pr-3.5"),children:[A?x.jsx(Th,{state:A,className:"size-3"}):C.status==="working"?x.jsx("span",{className:"dot-spinner size-3"}):C.background_tasks?.length?x.jsx(sx,{size:11,className:"shrink-0 text-faint","aria-label":"Waiting for a background task"}):null,x.jsx("span",{className:"whitespace-nowrap",children:C.title||"Untitled"}),s[C.id]?x.jsx(xp,{name:s[C.id].role}):null,YD(C,a)?x.jsx("span",{className:"dot size-1.5 bg-accent"}):null]}),x.jsx(DV,{session:C,onOpen:()=>d(C)}),e.length>1?x.jsx("button",{type:"button",onClick:()=>h(C.id),disabled:!y||p!==null,"aria-label":`Close ${C.title||"Untitled"} chat`,className:"mr-1 flex size-6 shrink-0 items-center justify-center rounded-full text-faint transition active:bg-bg/70 active:text-text disabled:opacity-40",children:p===C.id?x.jsx(_0,{size:12,className:"animate-spin"}):x.jsx(y0,{size:12})}):null]},C.id)})}),x.jsx("button",{type:"button",onClick:f,disabled:m,"aria-label":"New chat, same files",className:"flex size-7 shrink-0 items-center justify-center rounded-full text-muted transition active:bg-surface-2 disabled:opacity-40",children:x.jsx(cx,{size:18})})]})}function wV({title:e,busy:t,onCancel:a,onConfirm:l}){return x.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-working/30 bg-working/5 px-3 py-2 text-xs",children:[x.jsxs("span",{className:"min-w-0 flex-1 truncate",children:[x.jsx("span",{className:"font-semibold",children:e})," is still working. Close the tab anyway?"]}),x.jsx("button",{type:"button",onClick:a,disabled:t,className:"rounded-lg px-2 py-1 text-muted active:bg-surface-2",children:"Cancel"}),x.jsxs("button",{type:"button",onClick:l,disabled:t,className:"flex items-center gap-1 rounded-lg bg-del px-2 py-1 font-semibold text-black active:scale-95 disabled:opacity-50",children:[t?x.jsx(_0,{size:12,className:"animate-spin"}):null,"Close anyway"]})]})}function DV({session:e,onOpen:t}){const a=e.context_used_percent;return typeof a!="number"||a<=0?null:x.jsxs("button",{type:"button",onClick:t,"aria-label":`Context for ${e.title||"Untitled"}: ${Math.round(a)}% used`,"aria-haspopup":"dialog",className:he("flex h-7 min-w-10 shrink-0 items-center justify-center rounded-full px-2 text-[11px] tabular-nums transition active:bg-bg/70",a>=80?"text-working":"text-faint"),children:[Math.round(a),"%"]})}function fp({scope:e,onChange:t}){return x.jsx("fieldset",{"aria-label":"Files shown",className:"flex shrink-0 rounded-full bg-surface-2 p-0.5 text-xs",children:["changed","all"].map(a=>x.jsx("button",{type:"button",onClick:()=>t(a),"aria-label":a==="changed"?"Changed files":"All files","aria-pressed":e===a,className:he("rounded-full px-2.5 py-1 font-medium text-muted transition",e===a&&"bg-bg text-text shadow-sm"),children:a==="changed"?"Changed":"All"},a))})}function hp({showFolders:e,onChange:t}){return x.jsx("button",{type:"button",onClick:()=>t(!e),"aria-label":"Group files into folders","aria-pressed":e,title:"Group files into folders",className:he("flex size-8 shrink-0 items-center justify-center rounded-full text-faint transition active:bg-surface-2",e&&"bg-surface-2 text-text"),children:x.jsx(YC,{size:16})})}function FV({review:e,sessionId:t,scope:a,onScopeChange:l,showFolders:s,onShowFoldersChange:o,selectedFile:c,onSelectFile:d,onClose:f}){return x.jsxs("aside",{className:"hidden flex-col bg-bg lg:flex lg:w-[380px] lg:shrink-0 lg:border-l lg:border-border-soft xl:w-[460px]",children:[x.jsxs("header",{className:"flex items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[x.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Files"}),x.jsx(fp,{scope:a,onChange:l}),x.jsx(hp,{showFolders:s,onChange:o}),x.jsx("button",{type:"button",onClick:f,"aria-label":"Close diff panel",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(y0,{size:20})})]}),x.jsx(up,{review:e,sessionId:t,scope:a,showFolders:s,selectedFile:c,onSelectFile:d})]})}function SV({review:e,sessionId:t,scope:a,onScopeChange:l,showFolders:s,onShowFoldersChange:o,selectedFile:c,onSelectFile:d,onClose:f}){return x.jsxs("section",{className:"absolute inset-0 z-20 flex flex-col bg-bg lg:hidden","aria-label":"Workspace files",children:[x.jsxs("header",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[x.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"Files"}),x.jsx(fp,{scope:a,onChange:l}),x.jsx(hp,{showFolders:s,onChange:o}),x.jsx("button",{type:"button",onClick:f,"aria-label":"Close diff panel",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(y0,{size:20})})]}),x.jsx(up,{review:e,sessionId:t,scope:a,showFolders:s,selectedFile:c,onSelectFile:d})]})}var X1={exports:{}},MV=X1.exports,Kf;function NV(){return Kf||(Kf=1,(function(e,t){(function(l,s){e.exports=s()})(typeof self<"u"?self:MV,function(){return(function(a){var l={};function s(o){if(l[o])return l[o].exports;var c=l[o]={i:o,l:!1,exports:{}};return a[o].call(c.exports,c,c.exports,s),c.l=!0,c.exports}return s.m=a,s.c=l,s.d=function(o,c,d){s.o(o,c)||Object.defineProperty(o,c,{configurable:!1,enumerable:!0,get:d})},s.n=function(o){var c=o&&o.__esModule?function(){return o.default}:function(){return o};return s.d(c,"a",c),c},s.o=function(o,c){return Object.prototype.hasOwnProperty.call(o,c)},s.p="",s(s.s=3)})([(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=(function(){function c(d,f){this.width=f,this.height=d.length/f,this.data=d}return c.createEmpty=function(d,f){return new c(new Uint8ClampedArray(d*f),d)},c.prototype.get=function(d,f){return d<0||d>=this.width||f<0||f>=this.height?!1:!!this.data[f*this.width+d]},c.prototype.set=function(d,f,h){this.data[f*this.width+d]=h?1:0},c.prototype.setRegion=function(d,f,h,m,p){for(var y=f;y<f+m;y++)for(var b=d;b<d+h;b++)this.set(b,y,!!p)},c})();l.BitMatrix=o}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(2);function c(f,h){return f^h}l.addOrSubtractGF=c;var d=(function(){function f(h,m,p){this.primitive=h,this.size=m,this.generatorBase=p,this.expTable=new Array(this.size),this.logTable=new Array(this.size);for(var y=1,b=0;b<this.size;b++)this.expTable[b]=y,y=y*2,y>=this.size&&(y=(y^this.primitive)&this.size-1);for(var b=0;b<this.size-1;b++)this.logTable[this.expTable[b]]=b;this.zero=new o.default(this,Uint8ClampedArray.from([0])),this.one=new o.default(this,Uint8ClampedArray.from([1]))}return f.prototype.multiply=function(h,m){return h===0||m===0?0:this.expTable[(this.logTable[h]+this.logTable[m])%(this.size-1)]},f.prototype.inverse=function(h){if(h===0)throw new Error("Can't invert 0");return this.expTable[this.size-this.logTable[h]-1]},f.prototype.buildMonomial=function(h,m){if(h<0)throw new Error("Invalid monomial degree less than 0");if(m===0)return this.zero;var p=new Uint8ClampedArray(h+1);return p[0]=m,new o.default(this,p)},f.prototype.log=function(h){if(h===0)throw new Error("Can't take log(0)");return this.logTable[h]},f.prototype.exp=function(h){return this.expTable[h]},f})();l.default=d}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(1),c=(function(){function d(f,h){if(h.length===0)throw new Error("No coefficients.");this.field=f;var m=h.length;if(m>1&&h[0]===0){for(var p=1;p<m&&h[p]===0;)p++;if(p===m)this.coefficients=f.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(m-p);for(var y=0;y<this.coefficients.length;y++)this.coefficients[y]=h[p+y]}}else this.coefficients=h}return d.prototype.degree=function(){return this.coefficients.length-1},d.prototype.isZero=function(){return this.coefficients[0]===0},d.prototype.getCoefficient=function(f){return this.coefficients[this.coefficients.length-1-f]},d.prototype.addOrSubtract=function(f){var h;if(this.isZero())return f;if(f.isZero())return this;var m=this.coefficients,p=f.coefficients;m.length>p.length&&(h=[p,m],m=h[0],p=h[1]);for(var y=new Uint8ClampedArray(p.length),b=p.length-m.length,v=0;v<b;v++)y[v]=p[v];for(var v=b;v<p.length;v++)y[v]=o.addOrSubtractGF(m[v-b],p[v]);return new d(this.field,y)},d.prototype.multiply=function(f){if(f===0)return this.field.zero;if(f===1)return this;for(var h=this.coefficients.length,m=new Uint8ClampedArray(h),p=0;p<h;p++)m[p]=this.field.multiply(this.coefficients[p],f);return new d(this.field,m)},d.prototype.multiplyPoly=function(f){if(this.isZero()||f.isZero())return this.field.zero;for(var h=this.coefficients,m=h.length,p=f.coefficients,y=p.length,b=new Uint8ClampedArray(m+y-1),v=0;v<m;v++)for(var k=h[v],C=0;C<y;C++)b[v+C]=o.addOrSubtractGF(b[v+C],this.field.multiply(k,p[C]));return new d(this.field,b)},d.prototype.multiplyByMonomial=function(f,h){if(f<0)throw new Error("Invalid degree less than 0");if(h===0)return this.field.zero;for(var m=this.coefficients.length,p=new Uint8ClampedArray(m+f),y=0;y<m;y++)p[y]=this.field.multiply(this.coefficients[y],h);return new d(this.field,p)},d.prototype.evaluateAt=function(f){var h=0;if(f===0)return this.getCoefficient(0);var m=this.coefficients.length;if(f===1)return this.coefficients.forEach(function(y){h=o.addOrSubtractGF(h,y)}),h;h=this.coefficients[0];for(var p=1;p<m;p++)h=o.addOrSubtractGF(this.field.multiply(f,h),this.coefficients[p]);return h},d})();l.default=c}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(4),c=s(5),d=s(11),f=s(12);function h(y){var b=f.locate(y);if(!b)return null;for(var v=0,k=b;v<k.length;v++){var C=k[v],A=d.extract(y,C),F=c.decode(A.matrix);if(F)return{binaryData:F.bytes,data:F.text,chunks:F.chunks,version:F.version,location:{topRightCorner:A.mappingFunction(C.dimension,0),topLeftCorner:A.mappingFunction(0,0),bottomRightCorner:A.mappingFunction(C.dimension,C.dimension),bottomLeftCorner:A.mappingFunction(0,C.dimension),topRightFinderPattern:C.topRight,topLeftFinderPattern:C.topLeft,bottomLeftFinderPattern:C.bottomLeft,bottomRightAlignmentPattern:C.alignmentPattern}}}return null}var m={inversionAttempts:"attemptBoth"};function p(y,b,v,k){k===void 0&&(k={});var C=m;Object.keys(C||{}).forEach(function(R){C[R]=k[R]||C[R]});var A=C.inversionAttempts==="attemptBoth"||C.inversionAttempts==="invertFirst",F=C.inversionAttempts==="onlyInvert"||C.inversionAttempts==="invertFirst",M=o.binarize(y,b,v,A),N=M.binarized,S=M.inverted,D=h(F?S:N);return!D&&(C.inversionAttempts==="attemptBoth"||C.inversionAttempts==="invertFirst")&&(D=h(F?N:S)),D}p.default=p,l.default=p}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(0),c=8,d=24;function f(p,y,b){return p<y?y:p>b?b:p}var h=(function(){function p(y,b){this.width=y,this.data=new Uint8ClampedArray(y*b)}return p.prototype.get=function(y,b){return this.data[b*this.width+y]},p.prototype.set=function(y,b,v){this.data[b*this.width+y]=v},p})();function m(p,y,b,v){if(p.length!==y*b*4)throw new Error("Malformed data passed to binarizer.");for(var k=new h(y,b),C=0;C<y;C++)for(var A=0;A<b;A++){var F=p[(A*y+C)*4+0],M=p[(A*y+C)*4+1],N=p[(A*y+C)*4+2];k.set(C,A,.2126*F+.7152*M+.0722*N)}for(var S=Math.ceil(y/c),D=Math.ceil(b/c),R=new h(S,D),O=0;O<D;O++)for(var P=0;P<S;P++){for(var T=0,V=1/0,Z=0,A=0;A<c;A++)for(var C=0;C<c;C++){var re=k.get(P*c+C,O*c+A);T+=re,V=Math.min(V,re),Z=Math.max(Z,re)}var ee=T/Math.pow(c,2);if(Z-V<=d&&(ee=V/2,O>0&&P>0)){var Q=(R.get(P,O-1)+2*R.get(P-1,O)+R.get(P-1,O-1))/4;V<Q&&(ee=Q)}R.set(P,O,ee)}var G=o.BitMatrix.createEmpty(y,b),Y=null;v&&(Y=o.BitMatrix.createEmpty(y,b));for(var O=0;O<D;O++)for(var P=0;P<S;P++){for(var le=f(P,2,S-3),xe=f(O,2,D-3),T=0,j=-2;j<=2;j++)for(var L=-2;L<=2;L++)T+=R.get(le+j,xe+L);for(var $=T/25,j=0;j<c;j++)for(var L=0;L<c;L++){var C=P*c+j,A=O*c+L,z=k.get(C,A);G.set(C,A,z<=$),v&&Y.set(C,A,!(z<=$))}}return v?{binarized:G,inverted:Y}:{binarized:G}}l.binarize=m}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(0),c=s(6),d=s(9),f=s(10);function h(N,S){for(var D=N^S,R=0;D;)R++,D&=D-1;return R}function m(N,S){return S<<1|N}var p=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],y=[function(N){return(N.y+N.x)%2===0},function(N){return N.y%2===0},function(N){return N.x%3===0},function(N){return(N.y+N.x)%3===0},function(N){return(Math.floor(N.y/2)+Math.floor(N.x/3))%2===0},function(N){return N.x*N.y%2+N.x*N.y%3===0},function(N){return(N.y*N.x%2+N.y*N.x%3)%2===0},function(N){return((N.y+N.x)%2+N.y*N.x%3)%2===0}];function b(N){var S=17+4*N.versionNumber,D=o.BitMatrix.createEmpty(S,S);D.setRegion(0,0,9,9,!0),D.setRegion(S-8,0,8,9,!0),D.setRegion(0,S-8,9,8,!0);for(var R=0,O=N.alignmentPatternCenters;R<O.length;R++)for(var P=O[R],T=0,V=N.alignmentPatternCenters;T<V.length;T++){var Z=V[T];P===6&&Z===6||P===6&&Z===S-7||P===S-7&&Z===6||D.setRegion(P-2,Z-2,5,5,!0)}return D.setRegion(6,9,1,S-17,!0),D.setRegion(9,6,S-17,1,!0),N.versionNumber>6&&(D.setRegion(S-11,0,3,6,!0),D.setRegion(0,S-11,6,3,!0)),D}function v(N,S,D){for(var R=y[D.dataMask],O=N.height,P=b(S),T=[],V=0,Z=0,re=!0,ee=O-1;ee>0;ee-=2){ee===6&&ee--;for(var Q=0;Q<O;Q++)for(var G=re?O-1-Q:Q,Y=0;Y<2;Y++){var le=ee-Y;if(!P.get(le,G)){Z++;var xe=N.get(le,G);R({y:G,x:le})&&(xe=!xe),V=m(xe,V),Z===8&&(T.push(V),Z=0,V=0)}}re=!re}return T}function k(N){var S=N.height,D=Math.floor((S-17)/4);if(D<=6)return f.VERSIONS[D-1];for(var R=0,O=5;O>=0;O--)for(var P=S-9;P>=S-11;P--)R=m(N.get(P,O),R);for(var T=0,P=5;P>=0;P--)for(var O=S-9;O>=S-11;O--)T=m(N.get(P,O),T);for(var V=1/0,Z,re=0,ee=f.VERSIONS;re<ee.length;re++){var Q=ee[re];if(Q.infoBits===R||Q.infoBits===T)return Q;var G=h(R,Q.infoBits);G<V&&(Z=Q,V=G),G=h(T,Q.infoBits),G<V&&(Z=Q,V=G)}if(V<=3)return Z}function C(N){for(var S=0,D=0;D<=8;D++)D!==6&&(S=m(N.get(D,8),S));for(var R=7;R>=0;R--)R!==6&&(S=m(N.get(8,R),S));for(var O=N.height,P=0,R=O-1;R>=O-7;R--)P=m(N.get(8,R),P);for(var D=O-8;D<O;D++)P=m(N.get(D,8),P);for(var T=1/0,V=null,Z=0,re=p;Z<re.length;Z++){var ee=re[Z],Q=ee.bits,G=ee.formatInfo;if(Q===S||Q===P)return G;var Y=h(S,Q);Y<T&&(V=G,T=Y),S!==P&&(Y=h(P,Q),Y<T&&(V=G,T=Y))}return T<=3?V:null}function A(N,S,D){var R=S.errorCorrectionLevels[D],O=[],P=0;if(R.ecBlocks.forEach(function(xe){for(var j=0;j<xe.numBlocks;j++)O.push({numDataCodewords:xe.dataCodewordsPerBlock,codewords:[]}),P+=xe.dataCodewordsPerBlock+R.ecCodewordsPerBlock}),N.length<P)return null;N=N.slice(0,P);for(var T=R.ecBlocks[0].dataCodewordsPerBlock,V=0;V<T;V++)for(var Z=0,re=O;Z<re.length;Z++){var ee=re[Z];ee.codewords.push(N.shift())}if(R.ecBlocks.length>1)for(var Q=R.ecBlocks[0].numBlocks,G=R.ecBlocks[1].numBlocks,V=0;V<G;V++)O[Q+V].codewords.push(N.shift());for(;N.length>0;)for(var Y=0,le=O;Y<le.length;Y++){var ee=le[Y];ee.codewords.push(N.shift())}return O}function F(N){var S=k(N);if(!S)return null;var D=C(N);if(!D)return null;var R=v(N,S,D),O=A(R,S,D.errorCorrectionLevel);if(!O)return null;for(var P=O.reduce(function(Y,le){return Y+le.numDataCodewords},0),T=new Uint8ClampedArray(P),V=0,Z=0,re=O;Z<re.length;Z++){var ee=re[Z],Q=d.decode(ee.codewords,ee.codewords.length-ee.numDataCodewords);if(!Q)return null;for(var G=0;G<ee.numDataCodewords;G++)T[V++]=Q[G]}try{return c.decode(T,S.versionNumber)}catch{return null}}function M(N){if(N==null)return null;var S=F(N);if(S)return S;for(var D=0;D<N.width;D++)for(var R=D+1;R<N.height;R++)N.get(D,R)!==N.get(R,D)&&(N.set(D,R,!N.get(D,R)),N.set(R,D,!N.get(R,D)));return F(N)}l.decode=M}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(7),c=s(8),d;(function(k){k.Numeric="numeric",k.Alphanumeric="alphanumeric",k.Byte="byte",k.Kanji="kanji",k.ECI="eci"})(d=l.Mode||(l.Mode={}));var f;(function(k){k[k.Terminator=0]="Terminator",k[k.Numeric=1]="Numeric",k[k.Alphanumeric=2]="Alphanumeric",k[k.Byte=4]="Byte",k[k.Kanji=8]="Kanji",k[k.ECI=7]="ECI"})(f||(f={}));function h(k,C){for(var A=[],F="",M=[10,12,14][C],N=k.readBits(M);N>=3;){var S=k.readBits(10);if(S>=1e3)throw new Error("Invalid numeric value above 999");var D=Math.floor(S/100),R=Math.floor(S/10)%10,O=S%10;A.push(48+D,48+R,48+O),F+=D.toString()+R.toString()+O.toString(),N-=3}if(N===2){var S=k.readBits(7);if(S>=100)throw new Error("Invalid numeric value above 99");var D=Math.floor(S/10),R=S%10;A.push(48+D,48+R),F+=D.toString()+R.toString()}else if(N===1){var S=k.readBits(4);if(S>=10)throw new Error("Invalid numeric value above 9");A.push(48+S),F+=S.toString()}return{bytes:A,text:F}}var m=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function p(k,C){for(var A=[],F="",M=[9,11,13][C],N=k.readBits(M);N>=2;){var S=k.readBits(11),D=Math.floor(S/45),R=S%45;A.push(m[D].charCodeAt(0),m[R].charCodeAt(0)),F+=m[D]+m[R],N-=2}if(N===1){var D=k.readBits(6);A.push(m[D].charCodeAt(0)),F+=m[D]}return{bytes:A,text:F}}function y(k,C){for(var A=[],F="",M=[8,16,16][C],N=k.readBits(M),S=0;S<N;S++){var D=k.readBits(8);A.push(D)}try{F+=decodeURIComponent(A.map(function(R){return"%"+("0"+R.toString(16)).substr(-2)}).join(""))}catch{}return{bytes:A,text:F}}function b(k,C){for(var A=[],F="",M=[8,10,12][C],N=k.readBits(M),S=0;S<N;S++){var D=k.readBits(13),R=Math.floor(D/192)<<8|D%192;R<7936?R+=33088:R+=49472,A.push(R>>8,R&255),F+=String.fromCharCode(c.shiftJISTable[R])}return{bytes:A,text:F}}function v(k,C){for(var A,F,M,N,S=new o.BitStream(k),D=C<=9?0:C<=26?1:2,R={text:"",bytes:[],chunks:[],version:C};S.available()>=4;){var O=S.readBits(4);if(O===f.Terminator)return R;if(O===f.ECI)S.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:S.readBits(7)}):S.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:S.readBits(14)}):S.readBits(1)===0?R.chunks.push({type:d.ECI,assignmentNumber:S.readBits(21)}):R.chunks.push({type:d.ECI,assignmentNumber:-1});else if(O===f.Numeric){var P=h(S,D);R.text+=P.text,(A=R.bytes).push.apply(A,P.bytes),R.chunks.push({type:d.Numeric,text:P.text})}else if(O===f.Alphanumeric){var T=p(S,D);R.text+=T.text,(F=R.bytes).push.apply(F,T.bytes),R.chunks.push({type:d.Alphanumeric,text:T.text})}else if(O===f.Byte){var V=y(S,D);R.text+=V.text,(M=R.bytes).push.apply(M,V.bytes),R.chunks.push({type:d.Byte,bytes:V.bytes,text:V.text})}else if(O===f.Kanji){var Z=b(S,D);R.text+=Z.text,(N=R.bytes).push.apply(N,Z.bytes),R.chunks.push({type:d.Kanji,bytes:Z.bytes,text:Z.text})}}if(S.available()===0||S.readBits(S.available())===0)return R}l.decode=v}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=(function(){function c(d){this.byteOffset=0,this.bitOffset=0,this.bytes=d}return c.prototype.readBits=function(d){if(d<1||d>32||d>this.available())throw new Error("Cannot read "+d.toString()+" bits");var f=0;if(this.bitOffset>0){var h=8-this.bitOffset,m=d<h?d:h,p=h-m,y=255>>8-m<<p;f=(this.bytes[this.byteOffset]&y)>>p,d-=m,this.bitOffset+=m,this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(d>0){for(;d>=8;)f=f<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,d-=8;if(d>0){var p=8-d,y=255>>p<<p;f=f<<d|(this.bytes[this.byteOffset]&y)>>p,this.bitOffset+=d}}return f},c.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},c})();l.BitStream=o}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0}),l.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35e3:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21e3,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39e3,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32e3,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36e3:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37e3:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312:35409,37313:21822,37314:22549,37315:22949,37316:24816,37317:25171,37318:26561,37319:33333,37320:26965,37321:38464,37322:39364,37323:39464,37324:20307,37325:22534,37326:23550,37327:32784,37328:23729,37329:24111,37330:24453,37331:24608,37332:24907,37333:25140,37334:26367,37335:27888,37336:28382,37337:32974,37338:33151,37339:33492,37340:34955,37341:36024,37342:36864,37343:36910,37344:38538,37345:40667,37346:39899,37347:20195,37348:21488,37349:22823,37350:31532,37351:37261,37352:38988,37353:40441,37354:28381,37355:28711,37356:21331,37357:21828,37358:23429,37359:25176,37360:25246,37361:25299,37362:27810,37363:28655,37364:29730,37365:35351,37366:37944,37367:28609,37368:35582,37369:33592,37370:20967,37371:34552,37372:21482,37440:21481,37441:20294,37442:36948,37443:36784,37444:22890,37445:33073,37446:24061,37447:31466,37448:36799,37449:26842,37450:35895,37451:29432,37452:40008,37453:27197,37454:35504,37455:20025,37456:21336,37457:22022,37458:22374,37459:25285,37460:25506,37461:26086,37462:27470,37463:28129,37464:28251,37465:28845,37466:30701,37467:31471,37468:31658,37469:32187,37470:32829,37471:32966,37472:34507,37473:35477,37474:37723,37475:22243,37476:22727,37477:24382,37478:26029,37479:26262,37480:27264,37481:27573,37482:30007,37483:35527,37484:20516,37485:30693,37486:22320,37487:24347,37488:24677,37489:26234,37490:27744,37491:30196,37492:31258,37493:32622,37494:33268,37495:34584,37496:36933,37497:39347,37498:31689,37499:30044,37500:31481,37501:31569,37502:33988,37504:36880,37505:31209,37506:31378,37507:33590,37508:23265,37509:30528,37510:20013,37511:20210,37512:23449,37513:24544,37514:25277,37515:26172,37516:26609,37517:27880,37518:34411,37519:34935,37520:35387,37521:37198,37522:37619,37523:39376,37524:27159,37525:28710,37526:29482,37527:33511,37528:33879,37529:36015,37530:19969,37531:20806,37532:20939,37533:21899,37534:23541,37535:24086,37536:24115,37537:24193,37538:24340,37539:24373,37540:24427,37541:24500,37542:25074,37543:25361,37544:26274,37545:26397,37546:28526,37547:29266,37548:30010,37549:30522,37550:32884,37551:33081,37552:33144,37553:34678,37554:35519,37555:35548,37556:36229,37557:36339,37558:37530,37559:38263,37560:38914,37561:40165,37562:21189,37563:25431,37564:30452,37565:26389,37566:27784,37567:29645,37568:36035,37569:37806,37570:38515,37571:27941,37572:22684,37573:26894,37574:27084,37575:36861,37576:37786,37577:30171,37578:36890,37579:22618,37580:26626,37581:25524,37582:27131,37583:20291,37584:28460,37585:26584,37586:36795,37587:34086,37588:32180,37589:37716,37590:26943,37591:28528,37592:22378,37593:22775,37594:23340,37595:32044,37596:29226,37597:21514,37598:37347,37599:40372,37600:20141,37601:20302,37602:20572,37603:20597,37604:21059,37605:35998,37606:21576,37607:22564,37608:23450,37609:24093,37610:24213,37611:24237,37612:24311,37613:24351,37614:24716,37615:25269,37616:25402,37617:25552,37618:26799,37619:27712,37620:30855,37621:31118,37622:31243,37623:32224,37624:33351,37625:35330,37626:35558,37627:36420,37628:36883,37696:37048,37697:37165,37698:37336,37699:40718,37700:27877,37701:25688,37702:25826,37703:25973,37704:28404,37705:30340,37706:31515,37707:36969,37708:37841,37709:28346,37710:21746,37711:24505,37712:25764,37713:36685,37714:36845,37715:37444,37716:20856,37717:22635,37718:22825,37719:23637,37720:24215,37721:28155,37722:32399,37723:29980,37724:36028,37725:36578,37726:39003,37727:28857,37728:20253,37729:27583,37730:28593,37731:3e4,37732:38651,37733:20814,37734:21520,37735:22581,37736:22615,37737:22956,37738:23648,37739:24466,37740:26007,37741:26460,37742:28193,37743:30331,37744:33759,37745:36077,37746:36884,37747:37117,37748:37709,37749:30757,37750:30778,37751:21162,37752:24230,37753:22303,37754:22900,37755:24594,37756:20498,37757:20826,37758:20908,37760:20941,37761:20992,37762:21776,37763:22612,37764:22616,37765:22871,37766:23445,37767:23798,37768:23947,37769:24764,37770:25237,37771:25645,37772:26481,37773:26691,37774:26812,37775:26847,37776:30423,37777:28120,37778:28271,37779:28059,37780:28783,37781:29128,37782:24403,37783:30168,37784:31095,37785:31561,37786:31572,37787:31570,37788:31958,37789:32113,37790:21040,37791:33891,37792:34153,37793:34276,37794:35342,37795:35588,37796:35910,37797:36367,37798:36867,37799:36879,37800:37913,37801:38518,37802:38957,37803:39472,37804:38360,37805:20685,37806:21205,37807:21516,37808:22530,37809:23566,37810:24999,37811:25758,37812:27934,37813:30643,37814:31461,37815:33012,37816:33796,37817:36947,37818:37509,37819:23776,37820:40199,37821:21311,37822:24471,37823:24499,37824:28060,37825:29305,37826:30563,37827:31167,37828:31716,37829:27602,37830:29420,37831:35501,37832:26627,37833:27233,37834:20984,37835:31361,37836:26932,37837:23626,37838:40182,37839:33515,37840:23493,37841:37193,37842:28702,37843:22136,37844:23663,37845:24775,37846:25958,37847:27788,37848:35930,37849:36929,37850:38931,37851:21585,37852:26311,37853:37389,37854:22856,37855:37027,37856:20869,37857:20045,37858:20970,37859:34201,37860:35598,37861:28760,37862:25466,37863:37707,37864:26978,37865:39348,37866:32260,37867:30071,37868:21335,37869:26976,37870:36575,37871:38627,37872:27741,37873:20108,37874:23612,37875:24336,37876:36841,37877:21250,37878:36049,37879:32905,37880:34425,37881:24319,37882:26085,37883:20083,37884:20837,37952:22914,37953:23615,37954:38894,37955:20219,37956:22922,37957:24525,37958:35469,37959:28641,37960:31152,37961:31074,37962:23527,37963:33905,37964:29483,37965:29105,37966:24180,37967:24565,37968:25467,37969:25754,37970:29123,37971:31896,37972:20035,37973:24316,37974:20043,37975:22492,37976:22178,37977:24745,37978:28611,37979:32013,37980:33021,37981:33075,37982:33215,37983:36786,37984:35223,37985:34468,37986:24052,37987:25226,37988:25773,37989:35207,37990:26487,37991:27874,37992:27966,37993:29750,37994:30772,37995:23110,37996:32629,37997:33453,37998:39340,37999:20467,38e3:24259,38001:25309,38002:25490,38003:25943,38004:26479,38005:30403,38006:29260,38007:32972,38008:32954,38009:36649,38010:37197,38011:20493,38012:22521,38013:23186,38014:26757,38016:26995,38017:29028,38018:29437,38019:36023,38020:22770,38021:36064,38022:38506,38023:36889,38024:34687,38025:31204,38026:30695,38027:33833,38028:20271,38029:21093,38030:21338,38031:25293,38032:26575,38033:27850,38034:30333,38035:31636,38036:31893,38037:33334,38038:34180,38039:36843,38040:26333,38041:28448,38042:29190,38043:32283,38044:33707,38045:39361,38046:40614,38047:20989,38048:31665,38049:30834,38050:31672,38051:32903,38052:31560,38053:27368,38054:24161,38055:32908,38056:30033,38057:30048,38058:20843,38059:37474,38060:28300,38061:30330,38062:37271,38063:39658,38064:20240,38065:32624,38066:25244,38067:31567,38068:38309,38069:40169,38070:22138,38071:22617,38072:34532,38073:38588,38074:20276,38075:21028,38076:21322,38077:21453,38078:21467,38079:24070,38080:25644,38081:26001,38082:26495,38083:27710,38084:27726,38085:29256,38086:29359,38087:29677,38088:30036,38089:32321,38090:33324,38091:34281,38092:36009,38093:31684,38094:37318,38095:29033,38096:38930,38097:39151,38098:25405,38099:26217,38100:30058,38101:30436,38102:30928,38103:34115,38104:34542,38105:21290,38106:21329,38107:21542,38108:22915,38109:24199,38110:24444,38111:24754,38112:25161,38113:25209,38114:25259,38115:26e3,38116:27604,38117:27852,38118:30130,38119:30382,38120:30865,38121:31192,38122:32203,38123:32631,38124:32933,38125:34987,38126:35513,38127:36027,38128:36991,38129:38750,38130:39131,38131:27147,38132:31800,38133:20633,38134:23614,38135:24494,38136:26503,38137:27608,38138:29749,38139:30473,38140:32654,38208:40763,38209:26570,38210:31255,38211:21305,38212:30091,38213:39661,38214:24422,38215:33181,38216:33777,38217:32920,38218:24380,38219:24517,38220:30050,38221:31558,38222:36924,38223:26727,38224:23019,38225:23195,38226:32016,38227:30334,38228:35628,38229:20469,38230:24426,38231:27161,38232:27703,38233:28418,38234:29922,38235:31080,38236:34920,38237:35413,38238:35961,38239:24287,38240:25551,38241:30149,38242:31186,38243:33495,38244:37672,38245:37618,38246:33948,38247:34541,38248:39981,38249:21697,38250:24428,38251:25996,38252:27996,38253:28693,38254:36007,38255:36051,38256:38971,38257:25935,38258:29942,38259:19981,38260:20184,38261:22496,38262:22827,38263:23142,38264:23500,38265:20904,38266:24067,38267:24220,38268:24598,38269:25206,38270:25975,38272:26023,38273:26222,38274:28014,38275:29238,38276:31526,38277:33104,38278:33178,38279:33433,38280:35676,38281:36e3,38282:36070,38283:36212,38284:38428,38285:38468,38286:20398,38287:25771,38288:27494,38289:33310,38290:33889,38291:34154,38292:37096,38293:23553,38294:26963,38295:39080,38296:33914,38297:34135,38298:20239,38299:21103,38300:24489,38301:24133,38302:26381,38303:31119,38304:33145,38305:35079,38306:35206,38307:28149,38308:24343,38309:25173,38310:27832,38311:20175,38312:29289,38313:39826,38314:20998,38315:21563,38316:22132,38317:22707,38318:24996,38319:25198,38320:28954,38321:22894,38322:31881,38323:31966,38324:32027,38325:38640,38326:25991,38327:32862,38328:19993,38329:20341,38330:20853,38331:22592,38332:24163,38333:24179,38334:24330,38335:26564,38336:20006,38337:34109,38338:38281,38339:38491,38340:31859,38341:38913,38342:20731,38343:22721,38344:30294,38345:30887,38346:21029,38347:30629,38348:34065,38349:31622,38350:20559,38351:22793,38352:29255,38353:31687,38354:32232,38355:36794,38356:36820,38357:36941,38358:20415,38359:21193,38360:23081,38361:24321,38362:38829,38363:20445,38364:33303,38365:37610,38366:22275,38367:25429,38368:27497,38369:29995,38370:35036,38371:36628,38372:31298,38373:21215,38374:22675,38375:24917,38376:25098,38377:26286,38378:27597,38379:31807,38380:33769,38381:20515,38382:20472,38383:21253,38384:21574,38385:22577,38386:22857,38387:23453,38388:23792,38389:23791,38390:23849,38391:24214,38392:25265,38393:25447,38394:25918,38395:26041,38396:26379,38464:27861,38465:27873,38466:28921,38467:30770,38468:32299,38469:32990,38470:33459,38471:33804,38472:34028,38473:34562,38474:35090,38475:35370,38476:35914,38477:37030,38478:37586,38479:39165,38480:40179,38481:40300,38482:20047,38483:20129,38484:20621,38485:21078,38486:22346,38487:22952,38488:24125,38489:24536,38490:24537,38491:25151,38492:26292,38493:26395,38494:26576,38495:26834,38496:20882,38497:32033,38498:32938,38499:33192,38500:35584,38501:35980,38502:36031,38503:37502,38504:38450,38505:21536,38506:38956,38507:21271,38508:20693,38509:21340,38510:22696,38511:25778,38512:26420,38513:29287,38514:30566,38515:31302,38516:37350,38517:21187,38518:27809,38519:27526,38520:22528,38521:24140,38522:22868,38523:26412,38524:32763,38525:20961,38526:30406,38528:25705,38529:30952,38530:39764,38531:40635,38532:22475,38533:22969,38534:26151,38535:26522,38536:27598,38537:21737,38538:27097,38539:24149,38540:33180,38541:26517,38542:39850,38543:26622,38544:40018,38545:26717,38546:20134,38547:20451,38548:21448,38549:25273,38550:26411,38551:27819,38552:36804,38553:20397,38554:32365,38555:40639,38556:19975,38557:24930,38558:28288,38559:28459,38560:34067,38561:21619,38562:26410,38563:39749,38564:24051,38565:31637,38566:23724,38567:23494,38568:34588,38569:28234,38570:34001,38571:31252,38572:33032,38573:22937,38574:31885,38575:27665,38576:30496,38577:21209,38578:22818,38579:28961,38580:29279,38581:30683,38582:38695,38583:40289,38584:26891,38585:23167,38586:23064,38587:20901,38588:21517,38589:21629,38590:26126,38591:30431,38592:36855,38593:37528,38594:40180,38595:23018,38596:29277,38597:28357,38598:20813,38599:26825,38600:32191,38601:32236,38602:38754,38603:40634,38604:25720,38605:27169,38606:33538,38607:22916,38608:23391,38609:27611,38610:29467,38611:30450,38612:32178,38613:32791,38614:33945,38615:20786,38616:26408,38617:40665,38618:30446,38619:26466,38620:21247,38621:39173,38622:23588,38623:25147,38624:31870,38625:36016,38626:21839,38627:24758,38628:32011,38629:38272,38630:21249,38631:20063,38632:20918,38633:22812,38634:29242,38635:32822,38636:37326,38637:24357,38638:30690,38639:21380,38640:24441,38641:32004,38642:34220,38643:35379,38644:36493,38645:38742,38646:26611,38647:34222,38648:37971,38649:24841,38650:24840,38651:27833,38652:30290,38720:35565,38721:36664,38722:21807,38723:20305,38724:20778,38725:21191,38726:21451,38727:23461,38728:24189,38729:24736,38730:24962,38731:25558,38732:26377,38733:26586,38734:28263,38735:28044,38736:29494,38737:29495,38738:30001,38739:31056,38740:35029,38741:35480,38742:36938,38743:37009,38744:37109,38745:38596,38746:34701,38747:22805,38748:20104,38749:20313,38750:19982,38751:35465,38752:36671,38753:38928,38754:20653,38755:24188,38756:22934,38757:23481,38758:24248,38759:25562,38760:25594,38761:25793,38762:26332,38763:26954,38764:27096,38765:27915,38766:28342,38767:29076,38768:29992,38769:31407,38770:32650,38771:32768,38772:33865,38773:33993,38774:35201,38775:35617,38776:36362,38777:36965,38778:38525,38779:39178,38780:24958,38781:25233,38782:27442,38784:27779,38785:28020,38786:32716,38787:32764,38788:28096,38789:32645,38790:34746,38791:35064,38792:26469,38793:33713,38794:38972,38795:38647,38796:27931,38797:32097,38798:33853,38799:37226,38800:20081,38801:21365,38802:23888,38803:27396,38804:28651,38805:34253,38806:34349,38807:35239,38808:21033,38809:21519,38810:23653,38811:26446,38812:26792,38813:29702,38814:29827,38815:30178,38816:35023,38817:35041,38818:37324,38819:38626,38820:38520,38821:24459,38822:29575,38823:31435,38824:33870,38825:25504,38826:30053,38827:21129,38828:27969,38829:28316,38830:29705,38831:30041,38832:30827,38833:31890,38834:38534,38835:31452,38836:40845,38837:20406,38838:24942,38839:26053,38840:34396,38841:20102,38842:20142,38843:20698,38844:20001,38845:20940,38846:23534,38847:26009,38848:26753,38849:28092,38850:29471,38851:30274,38852:30637,38853:31260,38854:31975,38855:33391,38856:35538,38857:36988,38858:37327,38859:38517,38860:38936,38861:21147,38862:32209,38863:20523,38864:21400,38865:26519,38866:28107,38867:29136,38868:29747,38869:33256,38870:36650,38871:38563,38872:40023,38873:40607,38874:29792,38875:22593,38876:28057,38877:32047,38878:39006,38879:20196,38880:20278,38881:20363,38882:20919,38883:21169,38884:23994,38885:24604,38886:29618,38887:31036,38888:33491,38889:37428,38890:38583,38891:38646,38892:38666,38893:40599,38894:40802,38895:26278,38896:27508,38897:21015,38898:21155,38899:28872,38900:35010,38901:24265,38902:24651,38903:24976,38904:28451,38905:29001,38906:31806,38907:32244,38908:32879,38976:34030,38977:36899,38978:37676,38979:21570,38980:39791,38981:27347,38982:28809,38983:36034,38984:36335,38985:38706,38986:21172,38987:23105,38988:24266,38989:24324,38990:26391,38991:27004,38992:27028,38993:28010,38994:28431,38995:29282,38996:29436,38997:31725,38998:32769,38999:32894,39e3:34635,39001:37070,39002:20845,39003:40595,39004:31108,39005:32907,39006:37682,39007:35542,39008:20525,39009:21644,39010:35441,39011:27498,39012:36036,39013:33031,39014:24785,39015:26528,39016:40434,39017:20121,39018:20120,39019:39952,39020:35435,39021:34241,39022:34152,39023:26880,39024:28286,39025:30871,39026:33109,39071:24332,39072:19984,39073:19989,39074:20010,39075:20017,39076:20022,39077:20028,39078:20031,39079:20034,39080:20054,39081:20056,39082:20098,39083:20101,39084:35947,39085:20106,39086:33298,39087:24333,39088:20110,39089:20126,39090:20127,39091:20128,39092:20130,39093:20144,39094:20147,39095:20150,39096:20174,39097:20173,39098:20164,39099:20166,39100:20162,39101:20183,39102:20190,39103:20205,39104:20191,39105:20215,39106:20233,39107:20314,39108:20272,39109:20315,39110:20317,39111:20311,39112:20295,39113:20342,39114:20360,39115:20367,39116:20376,39117:20347,39118:20329,39119:20336,39120:20369,39121:20335,39122:20358,39123:20374,39124:20760,39125:20436,39126:20447,39127:20430,39128:20440,39129:20443,39130:20433,39131:20442,39132:20432,39133:20452,39134:20453,39135:20506,39136:20520,39137:20500,39138:20522,39139:20517,39140:20485,39141:20252,39142:20470,39143:20513,39144:20521,39145:20524,39146:20478,39147:20463,39148:20497,39149:20486,39150:20547,39151:20551,39152:26371,39153:20565,39154:20560,39155:20552,39156:20570,39157:20566,39158:20588,39159:20600,39160:20608,39161:20634,39162:20613,39163:20660,39164:20658,39232:20681,39233:20682,39234:20659,39235:20674,39236:20694,39237:20702,39238:20709,39239:20717,39240:20707,39241:20718,39242:20729,39243:20725,39244:20745,39245:20737,39246:20738,39247:20758,39248:20757,39249:20756,39250:20762,39251:20769,39252:20794,39253:20791,39254:20796,39255:20795,39256:20799,39257:20800,39258:20818,39259:20812,39260:20820,39261:20834,39262:31480,39263:20841,39264:20842,39265:20846,39266:20864,39267:20866,39268:22232,39269:20876,39270:20873,39271:20879,39272:20881,39273:20883,39274:20885,39275:20886,39276:20900,39277:20902,39278:20898,39279:20905,39280:20906,39281:20907,39282:20915,39283:20913,39284:20914,39285:20912,39286:20917,39287:20925,39288:20933,39289:20937,39290:20955,39291:20960,39292:34389,39293:20969,39294:20973,39296:20976,39297:20981,39298:20990,39299:20996,39300:21003,39301:21012,39302:21006,39303:21031,39304:21034,39305:21038,39306:21043,39307:21049,39308:21071,39309:21060,39310:21067,39311:21068,39312:21086,39313:21076,39314:21098,39315:21108,39316:21097,39317:21107,39318:21119,39319:21117,39320:21133,39321:21140,39322:21138,39323:21105,39324:21128,39325:21137,39326:36776,39327:36775,39328:21164,39329:21165,39330:21180,39331:21173,39332:21185,39333:21197,39334:21207,39335:21214,39336:21219,39337:21222,39338:39149,39339:21216,39340:21235,39341:21237,39342:21240,39343:21241,39344:21254,39345:21256,39346:30008,39347:21261,39348:21264,39349:21263,39350:21269,39351:21274,39352:21283,39353:21295,39354:21297,39355:21299,39356:21304,39357:21312,39358:21318,39359:21317,39360:19991,39361:21321,39362:21325,39363:20950,39364:21342,39365:21353,39366:21358,39367:22808,39368:21371,39369:21367,39370:21378,39371:21398,39372:21408,39373:21414,39374:21413,39375:21422,39376:21424,39377:21430,39378:21443,39379:31762,39380:38617,39381:21471,39382:26364,39383:29166,39384:21486,39385:21480,39386:21485,39387:21498,39388:21505,39389:21565,39390:21568,39391:21548,39392:21549,39393:21564,39394:21550,39395:21558,39396:21545,39397:21533,39398:21582,39399:21647,39400:21621,39401:21646,39402:21599,39403:21617,39404:21623,39405:21616,39406:21650,39407:21627,39408:21632,39409:21622,39410:21636,39411:21648,39412:21638,39413:21703,39414:21666,39415:21688,39416:21669,39417:21676,39418:21700,39419:21704,39420:21672,39488:21675,39489:21698,39490:21668,39491:21694,39492:21692,39493:21720,39494:21733,39495:21734,39496:21775,39497:21780,39498:21757,39499:21742,39500:21741,39501:21754,39502:21730,39503:21817,39504:21824,39505:21859,39506:21836,39507:21806,39508:21852,39509:21829,39510:21846,39511:21847,39512:21816,39513:21811,39514:21853,39515:21913,39516:21888,39517:21679,39518:21898,39519:21919,39520:21883,39521:21886,39522:21912,39523:21918,39524:21934,39525:21884,39526:21891,39527:21929,39528:21895,39529:21928,39530:21978,39531:21957,39532:21983,39533:21956,39534:21980,39535:21988,39536:21972,39537:22036,39538:22007,39539:22038,39540:22014,39541:22013,39542:22043,39543:22009,39544:22094,39545:22096,39546:29151,39547:22068,39548:22070,39549:22066,39550:22072,39552:22123,39553:22116,39554:22063,39555:22124,39556:22122,39557:22150,39558:22144,39559:22154,39560:22176,39561:22164,39562:22159,39563:22181,39564:22190,39565:22198,39566:22196,39567:22210,39568:22204,39569:22209,39570:22211,39571:22208,39572:22216,39573:22222,39574:22225,39575:22227,39576:22231,39577:22254,39578:22265,39579:22272,39580:22271,39581:22276,39582:22281,39583:22280,39584:22283,39585:22285,39586:22291,39587:22296,39588:22294,39589:21959,39590:22300,39591:22310,39592:22327,39593:22328,39594:22350,39595:22331,39596:22336,39597:22351,39598:22377,39599:22464,39600:22408,39601:22369,39602:22399,39603:22409,39604:22419,39605:22432,39606:22451,39607:22436,39608:22442,39609:22448,39610:22467,39611:22470,39612:22484,39613:22482,39614:22483,39615:22538,39616:22486,39617:22499,39618:22539,39619:22553,39620:22557,39621:22642,39622:22561,39623:22626,39624:22603,39625:22640,39626:27584,39627:22610,39628:22589,39629:22649,39630:22661,39631:22713,39632:22687,39633:22699,39634:22714,39635:22750,39636:22715,39637:22712,39638:22702,39639:22725,39640:22739,39641:22737,39642:22743,39643:22745,39644:22744,39645:22757,39646:22748,39647:22756,39648:22751,39649:22767,39650:22778,39651:22777,39652:22779,39653:22780,39654:22781,39655:22786,39656:22794,39657:22800,39658:22811,39659:26790,39660:22821,39661:22828,39662:22829,39663:22834,39664:22840,39665:22846,39666:31442,39667:22869,39668:22864,39669:22862,39670:22874,39671:22872,39672:22882,39673:22880,39674:22887,39675:22892,39676:22889,39744:22904,39745:22913,39746:22941,39747:20318,39748:20395,39749:22947,39750:22962,39751:22982,39752:23016,39753:23004,39754:22925,39755:23001,39756:23002,39757:23077,39758:23071,39759:23057,39760:23068,39761:23049,39762:23066,39763:23104,39764:23148,39765:23113,39766:23093,39767:23094,39768:23138,39769:23146,39770:23194,39771:23228,39772:23230,39773:23243,39774:23234,39775:23229,39776:23267,39777:23255,39778:23270,39779:23273,39780:23254,39781:23290,39782:23291,39783:23308,39784:23307,39785:23318,39786:23346,39787:23248,39788:23338,39789:23350,39790:23358,39791:23363,39792:23365,39793:23360,39794:23377,39795:23381,39796:23386,39797:23387,39798:23397,39799:23401,39800:23408,39801:23411,39802:23413,39803:23416,39804:25992,39805:23418,39806:23424,39808:23427,39809:23462,39810:23480,39811:23491,39812:23495,39813:23497,39814:23508,39815:23504,39816:23524,39817:23526,39818:23522,39819:23518,39820:23525,39821:23531,39822:23536,39823:23542,39824:23539,39825:23557,39826:23559,39827:23560,39828:23565,39829:23571,39830:23584,39831:23586,39832:23592,39833:23608,39834:23609,39835:23617,39836:23622,39837:23630,39838:23635,39839:23632,39840:23631,39841:23409,39842:23660,39843:23662,39844:20066,39845:23670,39846:23673,39847:23692,39848:23697,39849:23700,39850:22939,39851:23723,39852:23739,39853:23734,39854:23740,39855:23735,39856:23749,39857:23742,39858:23751,39859:23769,39860:23785,39861:23805,39862:23802,39863:23789,39864:23948,39865:23786,39866:23819,39867:23829,39868:23831,39869:23900,39870:23839,39871:23835,39872:23825,39873:23828,39874:23842,39875:23834,39876:23833,39877:23832,39878:23884,39879:23890,39880:23886,39881:23883,39882:23916,39883:23923,39884:23926,39885:23943,39886:23940,39887:23938,39888:23970,39889:23965,39890:23980,39891:23982,39892:23997,39893:23952,39894:23991,39895:23996,39896:24009,39897:24013,39898:24019,39899:24018,39900:24022,39901:24027,39902:24043,39903:24050,39904:24053,39905:24075,39906:24090,39907:24089,39908:24081,39909:24091,39910:24118,39911:24119,39912:24132,39913:24131,39914:24128,39915:24142,39916:24151,39917:24148,39918:24159,39919:24162,39920:24164,39921:24135,39922:24181,39923:24182,39924:24186,39925:40636,39926:24191,39927:24224,39928:24257,39929:24258,39930:24264,39931:24272,39932:24271,4e4:24278,40001:24291,40002:24285,40003:24282,40004:24283,40005:24290,40006:24289,40007:24296,40008:24297,40009:24300,40010:24305,40011:24307,40012:24304,40013:24308,40014:24312,40015:24318,40016:24323,40017:24329,40018:24413,40019:24412,40020:24331,40021:24337,40022:24342,40023:24361,40024:24365,40025:24376,40026:24385,40027:24392,40028:24396,40029:24398,40030:24367,40031:24401,40032:24406,40033:24407,40034:24409,40035:24417,40036:24429,40037:24435,40038:24439,40039:24451,40040:24450,40041:24447,40042:24458,40043:24456,40044:24465,40045:24455,40046:24478,40047:24473,40048:24472,40049:24480,40050:24488,40051:24493,40052:24508,40053:24534,40054:24571,40055:24548,40056:24568,40057:24561,40058:24541,40059:24755,40060:24575,40061:24609,40062:24672,40064:24601,40065:24592,40066:24617,40067:24590,40068:24625,40069:24603,40070:24597,40071:24619,40072:24614,40073:24591,40074:24634,40075:24666,40076:24641,40077:24682,40078:24695,40079:24671,40080:24650,40081:24646,40082:24653,40083:24675,40084:24643,40085:24676,40086:24642,40087:24684,40088:24683,40089:24665,40090:24705,40091:24717,40092:24807,40093:24707,40094:24730,40095:24708,40096:24731,40097:24726,40098:24727,40099:24722,40100:24743,40101:24715,40102:24801,40103:24760,40104:24800,40105:24787,40106:24756,40107:24560,40108:24765,40109:24774,40110:24757,40111:24792,40112:24909,40113:24853,40114:24838,40115:24822,40116:24823,40117:24832,40118:24820,40119:24826,40120:24835,40121:24865,40122:24827,40123:24817,40124:24845,40125:24846,40126:24903,40127:24894,40128:24872,40129:24871,40130:24906,40131:24895,40132:24892,40133:24876,40134:24884,40135:24893,40136:24898,40137:24900,40138:24947,40139:24951,40140:24920,40141:24921,40142:24922,40143:24939,40144:24948,40145:24943,40146:24933,40147:24945,40148:24927,40149:24925,40150:24915,40151:24949,40152:24985,40153:24982,40154:24967,40155:25004,40156:24980,40157:24986,40158:24970,40159:24977,40160:25003,40161:25006,40162:25036,40163:25034,40164:25033,40165:25079,40166:25032,40167:25027,40168:25030,40169:25018,40170:25035,40171:32633,40172:25037,40173:25062,40174:25059,40175:25078,40176:25082,40177:25076,40178:25087,40179:25085,40180:25084,40181:25086,40182:25088,40183:25096,40184:25097,40185:25101,40186:25100,40187:25108,40188:25115,40256:25118,40257:25121,40258:25130,40259:25134,40260:25136,40261:25138,40262:25139,40263:25153,40264:25166,40265:25182,40266:25187,40267:25179,40268:25184,40269:25192,40270:25212,40271:25218,40272:25225,40273:25214,40274:25234,40275:25235,40276:25238,40277:25300,40278:25219,40279:25236,40280:25303,40281:25297,40282:25275,40283:25295,40284:25343,40285:25286,40286:25812,40287:25288,40288:25308,40289:25292,40290:25290,40291:25282,40292:25287,40293:25243,40294:25289,40295:25356,40296:25326,40297:25329,40298:25383,40299:25346,40300:25352,40301:25327,40302:25333,40303:25424,40304:25406,40305:25421,40306:25628,40307:25423,40308:25494,40309:25486,40310:25472,40311:25515,40312:25462,40313:25507,40314:25487,40315:25481,40316:25503,40317:25525,40318:25451,40320:25449,40321:25534,40322:25577,40323:25536,40324:25542,40325:25571,40326:25545,40327:25554,40328:25590,40329:25540,40330:25622,40331:25652,40332:25606,40333:25619,40334:25638,40335:25654,40336:25885,40337:25623,40338:25640,40339:25615,40340:25703,40341:25711,40342:25718,40343:25678,40344:25898,40345:25749,40346:25747,40347:25765,40348:25769,40349:25736,40350:25788,40351:25818,40352:25810,40353:25797,40354:25799,40355:25787,40356:25816,40357:25794,40358:25841,40359:25831,40360:33289,40361:25824,40362:25825,40363:25260,40364:25827,40365:25839,40366:25900,40367:25846,40368:25844,40369:25842,40370:25850,40371:25856,40372:25853,40373:25880,40374:25884,40375:25861,40376:25892,40377:25891,40378:25899,40379:25908,40380:25909,40381:25911,40382:25910,40383:25912,40384:30027,40385:25928,40386:25942,40387:25941,40388:25933,40389:25944,40390:25950,40391:25949,40392:25970,40393:25976,40394:25986,40395:25987,40396:35722,40397:26011,40398:26015,40399:26027,40400:26039,40401:26051,40402:26054,40403:26049,40404:26052,40405:26060,40406:26066,40407:26075,40408:26073,40409:26080,40410:26081,40411:26097,40412:26482,40413:26122,40414:26115,40415:26107,40416:26483,40417:26165,40418:26166,40419:26164,40420:26140,40421:26191,40422:26180,40423:26185,40424:26177,40425:26206,40426:26205,40427:26212,40428:26215,40429:26216,40430:26207,40431:26210,40432:26224,40433:26243,40434:26248,40435:26254,40436:26249,40437:26244,40438:26264,40439:26269,40440:26305,40441:26297,40442:26313,40443:26302,40444:26300,40512:26308,40513:26296,40514:26326,40515:26330,40516:26336,40517:26175,40518:26342,40519:26345,40520:26352,40521:26357,40522:26359,40523:26383,40524:26390,40525:26398,40526:26406,40527:26407,40528:38712,40529:26414,40530:26431,40531:26422,40532:26433,40533:26424,40534:26423,40535:26438,40536:26462,40537:26464,40538:26457,40539:26467,40540:26468,40541:26505,40542:26480,40543:26537,40544:26492,40545:26474,40546:26508,40547:26507,40548:26534,40549:26529,40550:26501,40551:26551,40552:26607,40553:26548,40554:26604,40555:26547,40556:26601,40557:26552,40558:26596,40559:26590,40560:26589,40561:26594,40562:26606,40563:26553,40564:26574,40565:26566,40566:26599,40567:27292,40568:26654,40569:26694,40570:26665,40571:26688,40572:26701,40573:26674,40574:26702,40576:26803,40577:26667,40578:26713,40579:26723,40580:26743,40581:26751,40582:26783,40583:26767,40584:26797,40585:26772,40586:26781,40587:26779,40588:26755,40589:27310,40590:26809,40591:26740,40592:26805,40593:26784,40594:26810,40595:26895,40596:26765,40597:26750,40598:26881,40599:26826,40600:26888,40601:26840,40602:26914,40603:26918,40604:26849,40605:26892,40606:26829,40607:26836,40608:26855,40609:26837,40610:26934,40611:26898,40612:26884,40613:26839,40614:26851,40615:26917,40616:26873,40617:26848,40618:26863,40619:26920,40620:26922,40621:26906,40622:26915,40623:26913,40624:26822,40625:27001,40626:26999,40627:26972,40628:27e3,40629:26987,40630:26964,40631:27006,40632:26990,40633:26937,40634:26996,40635:26941,40636:26969,40637:26928,40638:26977,40639:26974,40640:26973,40641:27009,40642:26986,40643:27058,40644:27054,40645:27088,40646:27071,40647:27073,40648:27091,40649:27070,40650:27086,40651:23528,40652:27082,40653:27101,40654:27067,40655:27075,40656:27047,40657:27182,40658:27025,40659:27040,40660:27036,40661:27029,40662:27060,40663:27102,40664:27112,40665:27138,40666:27163,40667:27135,40668:27402,40669:27129,40670:27122,40671:27111,40672:27141,40673:27057,40674:27166,40675:27117,40676:27156,40677:27115,40678:27146,40679:27154,40680:27329,40681:27171,40682:27155,40683:27204,40684:27148,40685:27250,40686:27190,40687:27256,40688:27207,40689:27234,40690:27225,40691:27238,40692:27208,40693:27192,40694:27170,40695:27280,40696:27277,40697:27296,40698:27268,40699:27298,40700:27299,40768:27287,40769:34327,40770:27323,40771:27331,40772:27330,40773:27320,40774:27315,40775:27308,40776:27358,40777:27345,40778:27359,40779:27306,40780:27354,40781:27370,40782:27387,40783:27397,40784:34326,40785:27386,40786:27410,40787:27414,40788:39729,40789:27423,40790:27448,40791:27447,40792:30428,40793:27449,40794:39150,40795:27463,40796:27459,40797:27465,40798:27472,40799:27481,40800:27476,40801:27483,40802:27487,40803:27489,40804:27512,40805:27513,40806:27519,40807:27520,40808:27524,40809:27523,40810:27533,40811:27544,40812:27541,40813:27550,40814:27556,40815:27562,40816:27563,40817:27567,40818:27570,40819:27569,40820:27571,40821:27575,40822:27580,40823:27590,40824:27595,40825:27603,40826:27615,40827:27628,40828:27627,40829:27635,40830:27631,40832:40638,40833:27656,40834:27667,40835:27668,40836:27675,40837:27684,40838:27683,40839:27742,40840:27733,40841:27746,40842:27754,40843:27778,40844:27789,40845:27802,40846:27777,40847:27803,40848:27774,40849:27752,40850:27763,40851:27794,40852:27792,40853:27844,40854:27889,40855:27859,40856:27837,40857:27863,40858:27845,40859:27869,40860:27822,40861:27825,40862:27838,40863:27834,40864:27867,40865:27887,40866:27865,40867:27882,40868:27935,40869:34893,40870:27958,40871:27947,40872:27965,40873:27960,40874:27929,40875:27957,40876:27955,40877:27922,40878:27916,40879:28003,40880:28051,40881:28004,40882:27994,40883:28025,40884:27993,40885:28046,40886:28053,40887:28644,40888:28037,40889:28153,40890:28181,40891:28170,40892:28085,40893:28103,40894:28134,40895:28088,40896:28102,40897:28140,40898:28126,40899:28108,40900:28136,40901:28114,40902:28101,40903:28154,40904:28121,40905:28132,40906:28117,40907:28138,40908:28142,40909:28205,40910:28270,40911:28206,40912:28185,40913:28274,40914:28255,40915:28222,40916:28195,40917:28267,40918:28203,40919:28278,40920:28237,40921:28191,40922:28227,40923:28218,40924:28238,40925:28196,40926:28415,40927:28189,40928:28216,40929:28290,40930:28330,40931:28312,40932:28361,40933:28343,40934:28371,40935:28349,40936:28335,40937:28356,40938:28338,40939:28372,40940:28373,40941:28303,40942:28325,40943:28354,40944:28319,40945:28481,40946:28433,40947:28748,40948:28396,40949:28408,40950:28414,40951:28479,40952:28402,40953:28465,40954:28399,40955:28466,40956:28364,161:65377,162:65378,163:65379,164:65380,165:65381,166:65382,167:65383,168:65384,169:65385,170:65386,171:65387,172:65388,173:65389,174:65390,175:65391,176:65392,177:65393,178:65394,179:65395,180:65396,181:65397,182:65398,183:65399,184:65400,185:65401,186:65402,187:65403,188:65404,189:65405,190:65406,191:65407,192:65408,193:65409,194:65410,195:65411,196:65412,197:65413,198:65414,199:65415,200:65416,201:65417,202:65418,203:65419,204:65420,205:65421,206:65422,207:65423,208:65424,209:65425,210:65426,211:65427,212:65428,213:65429,214:65430,215:65431,216:65432,217:65433,218:65434,219:65435,220:65436,221:65437,222:65438,223:65439,57408:28478,57409:28435,57410:28407,57411:28550,57412:28538,57413:28536,57414:28545,57415:28544,57416:28527,57417:28507,57418:28659,57419:28525,57420:28546,57421:28540,57422:28504,57423:28558,57424:28561,57425:28610,57426:28518,57427:28595,57428:28579,57429:28577,57430:28580,57431:28601,57432:28614,57433:28586,57434:28639,57435:28629,57436:28652,57437:28628,57438:28632,57439:28657,57440:28654,57441:28635,57442:28681,57443:28683,57444:28666,57445:28689,57446:28673,57447:28687,57448:28670,57449:28699,57450:28698,57451:28532,57452:28701,57453:28696,57454:28703,57455:28720,57456:28734,57457:28722,57458:28753,57459:28771,57460:28825,57461:28818,57462:28847,57463:28913,57464:28844,57465:28856,57466:28851,57467:28846,57468:28895,57469:28875,57470:28893,57472:28889,57473:28937,57474:28925,57475:28956,57476:28953,57477:29029,57478:29013,57479:29064,57480:29030,57481:29026,57482:29004,57483:29014,57484:29036,57485:29071,57486:29179,57487:29060,57488:29077,57489:29096,57490:29100,57491:29143,57492:29113,57493:29118,57494:29138,57495:29129,57496:29140,57497:29134,57498:29152,57499:29164,57500:29159,57501:29173,57502:29180,57503:29177,57504:29183,57505:29197,57506:29200,57507:29211,57508:29224,57509:29229,57510:29228,57511:29232,57512:29234,57513:29243,57514:29244,57515:29247,57516:29248,57517:29254,57518:29259,57519:29272,57520:29300,57521:29310,57522:29314,57523:29313,57524:29319,57525:29330,57526:29334,57527:29346,57528:29351,57529:29369,57530:29362,57531:29379,57532:29382,57533:29380,57534:29390,57535:29394,57536:29410,57537:29408,57538:29409,57539:29433,57540:29431,57541:20495,57542:29463,57543:29450,57544:29468,57545:29462,57546:29469,57547:29492,57548:29487,57549:29481,57550:29477,57551:29502,57552:29518,57553:29519,57554:40664,57555:29527,57556:29546,57557:29544,57558:29552,57559:29560,57560:29557,57561:29563,57562:29562,57563:29640,57564:29619,57565:29646,57566:29627,57567:29632,57568:29669,57569:29678,57570:29662,57571:29858,57572:29701,57573:29807,57574:29733,57575:29688,57576:29746,57577:29754,57578:29781,57579:29759,57580:29791,57581:29785,57582:29761,57583:29788,57584:29801,57585:29808,57586:29795,57587:29802,57588:29814,57589:29822,57590:29835,57591:29854,57592:29863,57593:29898,57594:29903,57595:29908,57596:29681,57664:29920,57665:29923,57666:29927,57667:29929,57668:29934,57669:29938,57670:29936,57671:29937,57672:29944,57673:29943,57674:29956,57675:29955,57676:29957,57677:29964,57678:29966,57679:29965,57680:29973,57681:29971,57682:29982,57683:29990,57684:29996,57685:30012,57686:30020,57687:30029,57688:30026,57689:30025,57690:30043,57691:30022,57692:30042,57693:30057,57694:30052,57695:30055,57696:30059,57697:30061,57698:30072,57699:30070,57700:30086,57701:30087,57702:30068,57703:30090,57704:30089,57705:30082,57706:30100,57707:30106,57708:30109,57709:30117,57710:30115,57711:30146,57712:30131,57713:30147,57714:30133,57715:30141,57716:30136,57717:30140,57718:30129,57719:30157,57720:30154,57721:30162,57722:30169,57723:30179,57724:30174,57725:30206,57726:30207,57728:30204,57729:30209,57730:30192,57731:30202,57732:30194,57733:30195,57734:30219,57735:30221,57736:30217,57737:30239,57738:30247,57739:30240,57740:30241,57741:30242,57742:30244,57743:30260,57744:30256,57745:30267,57746:30279,57747:30280,57748:30278,57749:30300,57750:30296,57751:30305,57752:30306,57753:30312,57754:30313,57755:30314,57756:30311,57757:30316,57758:30320,57759:30322,57760:30326,57761:30328,57762:30332,57763:30336,57764:30339,57765:30344,57766:30347,57767:30350,57768:30358,57769:30355,57770:30361,57771:30362,57772:30384,57773:30388,57774:30392,57775:30393,57776:30394,57777:30402,57778:30413,57779:30422,57780:30418,57781:30430,57782:30433,57783:30437,57784:30439,57785:30442,57786:34351,57787:30459,57788:30472,57789:30471,57790:30468,57791:30505,57792:30500,57793:30494,57794:30501,57795:30502,57796:30491,57797:30519,57798:30520,57799:30535,57800:30554,57801:30568,57802:30571,57803:30555,57804:30565,57805:30591,57806:30590,57807:30585,57808:30606,57809:30603,57810:30609,57811:30624,57812:30622,57813:30640,57814:30646,57815:30649,57816:30655,57817:30652,57818:30653,57819:30651,57820:30663,57821:30669,57822:30679,57823:30682,57824:30684,57825:30691,57826:30702,57827:30716,57828:30732,57829:30738,57830:31014,57831:30752,57832:31018,57833:30789,57834:30862,57835:30836,57836:30854,57837:30844,57838:30874,57839:30860,57840:30883,57841:30901,57842:30890,57843:30895,57844:30929,57845:30918,57846:30923,57847:30932,57848:30910,57849:30908,57850:30917,57851:30922,57852:30956,57920:30951,57921:30938,57922:30973,57923:30964,57924:30983,57925:30994,57926:30993,57927:31001,57928:31020,57929:31019,57930:31040,57931:31072,57932:31063,57933:31071,57934:31066,57935:31061,57936:31059,57937:31098,57938:31103,57939:31114,57940:31133,57941:31143,57942:40779,57943:31146,57944:31150,57945:31155,57946:31161,57947:31162,57948:31177,57949:31189,57950:31207,57951:31212,57952:31201,57953:31203,57954:31240,57955:31245,57956:31256,57957:31257,57958:31264,57959:31263,57960:31104,57961:31281,57962:31291,57963:31294,57964:31287,57965:31299,57966:31319,57967:31305,57968:31329,57969:31330,57970:31337,57971:40861,57972:31344,57973:31353,57974:31357,57975:31368,57976:31383,57977:31381,57978:31384,57979:31382,57980:31401,57981:31432,57982:31408,57984:31414,57985:31429,57986:31428,57987:31423,57988:36995,57989:31431,57990:31434,57991:31437,57992:31439,57993:31445,57994:31443,57995:31449,57996:31450,57997:31453,57998:31457,57999:31458,58e3:31462,58001:31469,58002:31472,58003:31490,58004:31503,58005:31498,58006:31494,58007:31539,58008:31512,58009:31513,58010:31518,58011:31541,58012:31528,58013:31542,58014:31568,58015:31610,58016:31492,58017:31565,58018:31499,58019:31564,58020:31557,58021:31605,58022:31589,58023:31604,58024:31591,58025:31600,58026:31601,58027:31596,58028:31598,58029:31645,58030:31640,58031:31647,58032:31629,58033:31644,58034:31642,58035:31627,58036:31634,58037:31631,58038:31581,58039:31641,58040:31691,58041:31681,58042:31692,58043:31695,58044:31668,58045:31686,58046:31709,58047:31721,58048:31761,58049:31764,58050:31718,58051:31717,58052:31840,58053:31744,58054:31751,58055:31763,58056:31731,58057:31735,58058:31767,58059:31757,58060:31734,58061:31779,58062:31783,58063:31786,58064:31775,58065:31799,58066:31787,58067:31805,58068:31820,58069:31811,58070:31828,58071:31823,58072:31808,58073:31824,58074:31832,58075:31839,58076:31844,58077:31830,58078:31845,58079:31852,58080:31861,58081:31875,58082:31888,58083:31908,58084:31917,58085:31906,58086:31915,58087:31905,58088:31912,58089:31923,58090:31922,58091:31921,58092:31918,58093:31929,58094:31933,58095:31936,58096:31941,58097:31938,58098:31960,58099:31954,58100:31964,58101:31970,58102:39739,58103:31983,58104:31986,58105:31988,58106:31990,58107:31994,58108:32006,58176:32002,58177:32028,58178:32021,58179:32010,58180:32069,58181:32075,58182:32046,58183:32050,58184:32063,58185:32053,58186:32070,58187:32115,58188:32086,58189:32078,58190:32114,58191:32104,58192:32110,58193:32079,58194:32099,58195:32147,58196:32137,58197:32091,58198:32143,58199:32125,58200:32155,58201:32186,58202:32174,58203:32163,58204:32181,58205:32199,58206:32189,58207:32171,58208:32317,58209:32162,58210:32175,58211:32220,58212:32184,58213:32159,58214:32176,58215:32216,58216:32221,58217:32228,58218:32222,58219:32251,58220:32242,58221:32225,58222:32261,58223:32266,58224:32291,58225:32289,58226:32274,58227:32305,58228:32287,58229:32265,58230:32267,58231:32290,58232:32326,58233:32358,58234:32315,58235:32309,58236:32313,58237:32323,58238:32311,58240:32306,58241:32314,58242:32359,58243:32349,58244:32342,58245:32350,58246:32345,58247:32346,58248:32377,58249:32362,58250:32361,58251:32380,58252:32379,58253:32387,58254:32213,58255:32381,58256:36782,58257:32383,58258:32392,58259:32393,58260:32396,58261:32402,58262:32400,58263:32403,58264:32404,58265:32406,58266:32398,58267:32411,58268:32412,58269:32568,58270:32570,58271:32581,58272:32588,58273:32589,58274:32590,58275:32592,58276:32593,58277:32597,58278:32596,58279:32600,58280:32607,58281:32608,58282:32616,58283:32617,58284:32615,58285:32632,58286:32642,58287:32646,58288:32643,58289:32648,58290:32647,58291:32652,58292:32660,58293:32670,58294:32669,58295:32666,58296:32675,58297:32687,58298:32690,58299:32697,58300:32686,58301:32694,58302:32696,58303:35697,58304:32709,58305:32710,58306:32714,58307:32725,58308:32724,58309:32737,58310:32742,58311:32745,58312:32755,58313:32761,58314:39132,58315:32774,58316:32772,58317:32779,58318:32786,58319:32792,58320:32793,58321:32796,58322:32801,58323:32808,58324:32831,58325:32827,58326:32842,58327:32838,58328:32850,58329:32856,58330:32858,58331:32863,58332:32866,58333:32872,58334:32883,58335:32882,58336:32880,58337:32886,58338:32889,58339:32893,58340:32895,58341:32900,58342:32902,58343:32901,58344:32923,58345:32915,58346:32922,58347:32941,58348:20880,58349:32940,58350:32987,58351:32997,58352:32985,58353:32989,58354:32964,58355:32986,58356:32982,58357:33033,58358:33007,58359:33009,58360:33051,58361:33065,58362:33059,58363:33071,58364:33099,58432:38539,58433:33094,58434:33086,58435:33107,58436:33105,58437:33020,58438:33137,58439:33134,58440:33125,58441:33126,58442:33140,58443:33155,58444:33160,58445:33162,58446:33152,58447:33154,58448:33184,58449:33173,58450:33188,58451:33187,58452:33119,58453:33171,58454:33193,58455:33200,58456:33205,58457:33214,58458:33208,58459:33213,58460:33216,58461:33218,58462:33210,58463:33225,58464:33229,58465:33233,58466:33241,58467:33240,58468:33224,58469:33242,58470:33247,58471:33248,58472:33255,58473:33274,58474:33275,58475:33278,58476:33281,58477:33282,58478:33285,58479:33287,58480:33290,58481:33293,58482:33296,58483:33302,58484:33321,58485:33323,58486:33336,58487:33331,58488:33344,58489:33369,58490:33368,58491:33373,58492:33370,58493:33375,58494:33380,58496:33378,58497:33384,58498:33386,58499:33387,58500:33326,58501:33393,58502:33399,58503:33400,58504:33406,58505:33421,58506:33426,58507:33451,58508:33439,58509:33467,58510:33452,58511:33505,58512:33507,58513:33503,58514:33490,58515:33524,58516:33523,58517:33530,58518:33683,58519:33539,58520:33531,58521:33529,58522:33502,58523:33542,58524:33500,58525:33545,58526:33497,58527:33589,58528:33588,58529:33558,58530:33586,58531:33585,58532:33600,58533:33593,58534:33616,58535:33605,58536:33583,58537:33579,58538:33559,58539:33560,58540:33669,58541:33690,58542:33706,58543:33695,58544:33698,58545:33686,58546:33571,58547:33678,58548:33671,58549:33674,58550:33660,58551:33717,58552:33651,58553:33653,58554:33696,58555:33673,58556:33704,58557:33780,58558:33811,58559:33771,58560:33742,58561:33789,58562:33795,58563:33752,58564:33803,58565:33729,58566:33783,58567:33799,58568:33760,58569:33778,58570:33805,58571:33826,58572:33824,58573:33725,58574:33848,58575:34054,58576:33787,58577:33901,58578:33834,58579:33852,58580:34138,58581:33924,58582:33911,58583:33899,58584:33965,58585:33902,58586:33922,58587:33897,58588:33862,58589:33836,58590:33903,58591:33913,58592:33845,58593:33994,58594:33890,58595:33977,58596:33983,58597:33951,58598:34009,58599:33997,58600:33979,58601:34010,58602:34e3,58603:33985,58604:33990,58605:34006,58606:33953,58607:34081,58608:34047,58609:34036,58610:34071,58611:34072,58612:34092,58613:34079,58614:34069,58615:34068,58616:34044,58617:34112,58618:34147,58619:34136,58620:34120,58688:34113,58689:34306,58690:34123,58691:34133,58692:34176,58693:34212,58694:34184,58695:34193,58696:34186,58697:34216,58698:34157,58699:34196,58700:34203,58701:34282,58702:34183,58703:34204,58704:34167,58705:34174,58706:34192,58707:34249,58708:34234,58709:34255,58710:34233,58711:34256,58712:34261,58713:34269,58714:34277,58715:34268,58716:34297,58717:34314,58718:34323,58719:34315,58720:34302,58721:34298,58722:34310,58723:34338,58724:34330,58725:34352,58726:34367,58727:34381,58728:20053,58729:34388,58730:34399,58731:34407,58732:34417,58733:34451,58734:34467,58735:34473,58736:34474,58737:34443,58738:34444,58739:34486,58740:34479,58741:34500,58742:34502,58743:34480,58744:34505,58745:34851,58746:34475,58747:34516,58748:34526,58749:34537,58750:34540,58752:34527,58753:34523,58754:34543,58755:34578,58756:34566,58757:34568,58758:34560,58759:34563,58760:34555,58761:34577,58762:34569,58763:34573,58764:34553,58765:34570,58766:34612,58767:34623,58768:34615,58769:34619,58770:34597,58771:34601,58772:34586,58773:34656,58774:34655,58775:34680,58776:34636,58777:34638,58778:34676,58779:34647,58780:34664,58781:34670,58782:34649,58783:34643,58784:34659,58785:34666,58786:34821,58787:34722,58788:34719,58789:34690,58790:34735,58791:34763,58792:34749,58793:34752,58794:34768,58795:38614,58796:34731,58797:34756,58798:34739,58799:34759,58800:34758,58801:34747,58802:34799,58803:34802,58804:34784,58805:34831,58806:34829,58807:34814,58808:34806,58809:34807,58810:34830,58811:34770,58812:34833,58813:34838,58814:34837,58815:34850,58816:34849,58817:34865,58818:34870,58819:34873,58820:34855,58821:34875,58822:34884,58823:34882,58824:34898,58825:34905,58826:34910,58827:34914,58828:34923,58829:34945,58830:34942,58831:34974,58832:34933,58833:34941,58834:34997,58835:34930,58836:34946,58837:34967,58838:34962,58839:34990,58840:34969,58841:34978,58842:34957,58843:34980,58844:34992,58845:35007,58846:34993,58847:35011,58848:35012,58849:35028,58850:35032,58851:35033,58852:35037,58853:35065,58854:35074,58855:35068,58856:35060,58857:35048,58858:35058,58859:35076,58860:35084,58861:35082,58862:35091,58863:35139,58864:35102,58865:35109,58866:35114,58867:35115,58868:35137,58869:35140,58870:35131,58871:35126,58872:35128,58873:35148,58874:35101,58875:35168,58876:35166,58944:35174,58945:35172,58946:35181,58947:35178,58948:35183,58949:35188,58950:35191,58951:35198,58952:35203,58953:35208,58954:35210,58955:35219,58956:35224,58957:35233,58958:35241,58959:35238,58960:35244,58961:35247,58962:35250,58963:35258,58964:35261,58965:35263,58966:35264,58967:35290,58968:35292,58969:35293,58970:35303,58971:35316,58972:35320,58973:35331,58974:35350,58975:35344,58976:35340,58977:35355,58978:35357,58979:35365,58980:35382,58981:35393,58982:35419,58983:35410,58984:35398,58985:35400,58986:35452,58987:35437,58988:35436,58989:35426,58990:35461,58991:35458,58992:35460,58993:35496,58994:35489,58995:35473,58996:35493,58997:35494,58998:35482,58999:35491,59e3:35524,59001:35533,59002:35522,59003:35546,59004:35563,59005:35571,59006:35559,59008:35556,59009:35569,59010:35604,59011:35552,59012:35554,59013:35575,59014:35550,59015:35547,59016:35596,59017:35591,59018:35610,59019:35553,59020:35606,59021:35600,59022:35607,59023:35616,59024:35635,59025:38827,59026:35622,59027:35627,59028:35646,59029:35624,59030:35649,59031:35660,59032:35663,59033:35662,59034:35657,59035:35670,59036:35675,59037:35674,59038:35691,59039:35679,59040:35692,59041:35695,59042:35700,59043:35709,59044:35712,59045:35724,59046:35726,59047:35730,59048:35731,59049:35734,59050:35737,59051:35738,59052:35898,59053:35905,59054:35903,59055:35912,59056:35916,59057:35918,59058:35920,59059:35925,59060:35938,59061:35948,59062:35960,59063:35962,59064:35970,59065:35977,59066:35973,59067:35978,59068:35981,59069:35982,59070:35988,59071:35964,59072:35992,59073:25117,59074:36013,59075:36010,59076:36029,59077:36018,59078:36019,59079:36014,59080:36022,59081:36040,59082:36033,59083:36068,59084:36067,59085:36058,59086:36093,59087:36090,59088:36091,59089:36100,59090:36101,59091:36106,59092:36103,59093:36111,59094:36109,59095:36112,59096:40782,59097:36115,59098:36045,59099:36116,59100:36118,59101:36199,59102:36205,59103:36209,59104:36211,59105:36225,59106:36249,59107:36290,59108:36286,59109:36282,59110:36303,59111:36314,59112:36310,59113:36300,59114:36315,59115:36299,59116:36330,59117:36331,59118:36319,59119:36323,59120:36348,59121:36360,59122:36361,59123:36351,59124:36381,59125:36382,59126:36368,59127:36383,59128:36418,59129:36405,59130:36400,59131:36404,59132:36426,59200:36423,59201:36425,59202:36428,59203:36432,59204:36424,59205:36441,59206:36452,59207:36448,59208:36394,59209:36451,59210:36437,59211:36470,59212:36466,59213:36476,59214:36481,59215:36487,59216:36485,59217:36484,59218:36491,59219:36490,59220:36499,59221:36497,59222:36500,59223:36505,59224:36522,59225:36513,59226:36524,59227:36528,59228:36550,59229:36529,59230:36542,59231:36549,59232:36552,59233:36555,59234:36571,59235:36579,59236:36604,59237:36603,59238:36587,59239:36606,59240:36618,59241:36613,59242:36629,59243:36626,59244:36633,59245:36627,59246:36636,59247:36639,59248:36635,59249:36620,59250:36646,59251:36659,59252:36667,59253:36665,59254:36677,59255:36674,59256:36670,59257:36684,59258:36681,59259:36678,59260:36686,59261:36695,59262:36700,59264:36706,59265:36707,59266:36708,59267:36764,59268:36767,59269:36771,59270:36781,59271:36783,59272:36791,59273:36826,59274:36837,59275:36834,59276:36842,59277:36847,59278:36999,59279:36852,59280:36869,59281:36857,59282:36858,59283:36881,59284:36885,59285:36897,59286:36877,59287:36894,59288:36886,59289:36875,59290:36903,59291:36918,59292:36917,59293:36921,59294:36856,59295:36943,59296:36944,59297:36945,59298:36946,59299:36878,59300:36937,59301:36926,59302:36950,59303:36952,59304:36958,59305:36968,59306:36975,59307:36982,59308:38568,59309:36978,59310:36994,59311:36989,59312:36993,59313:36992,59314:37002,59315:37001,59316:37007,59317:37032,59318:37039,59319:37041,59320:37045,59321:37090,59322:37092,59323:25160,59324:37083,59325:37122,59326:37138,59327:37145,59328:37170,59329:37168,59330:37194,59331:37206,59332:37208,59333:37219,59334:37221,59335:37225,59336:37235,59337:37234,59338:37259,59339:37257,59340:37250,59341:37282,59342:37291,59343:37295,59344:37290,59345:37301,59346:37300,59347:37306,59348:37312,59349:37313,59350:37321,59351:37323,59352:37328,59353:37334,59354:37343,59355:37345,59356:37339,59357:37372,59358:37365,59359:37366,59360:37406,59361:37375,59362:37396,59363:37420,59364:37397,59365:37393,59366:37470,59367:37463,59368:37445,59369:37449,59370:37476,59371:37448,59372:37525,59373:37439,59374:37451,59375:37456,59376:37532,59377:37526,59378:37523,59379:37531,59380:37466,59381:37583,59382:37561,59383:37559,59384:37609,59385:37647,59386:37626,59387:37700,59388:37678,59456:37657,59457:37666,59458:37658,59459:37667,59460:37690,59461:37685,59462:37691,59463:37724,59464:37728,59465:37756,59466:37742,59467:37718,59468:37808,59469:37804,59470:37805,59471:37780,59472:37817,59473:37846,59474:37847,59475:37864,59476:37861,59477:37848,59478:37827,59479:37853,59480:37840,59481:37832,59482:37860,59483:37914,59484:37908,59485:37907,59486:37891,59487:37895,59488:37904,59489:37942,59490:37931,59491:37941,59492:37921,59493:37946,59494:37953,59495:37970,59496:37956,59497:37979,59498:37984,59499:37986,59500:37982,59501:37994,59502:37417,59503:38e3,59504:38005,59505:38007,59506:38013,59507:37978,59508:38012,59509:38014,59510:38017,59511:38015,59512:38274,59513:38279,59514:38282,59515:38292,59516:38294,59517:38296,59518:38297,59520:38304,59521:38312,59522:38311,59523:38317,59524:38332,59525:38331,59526:38329,59527:38334,59528:38346,59529:28662,59530:38339,59531:38349,59532:38348,59533:38357,59534:38356,59535:38358,59536:38364,59537:38369,59538:38373,59539:38370,59540:38433,59541:38440,59542:38446,59543:38447,59544:38466,59545:38476,59546:38479,59547:38475,59548:38519,59549:38492,59550:38494,59551:38493,59552:38495,59553:38502,59554:38514,59555:38508,59556:38541,59557:38552,59558:38549,59559:38551,59560:38570,59561:38567,59562:38577,59563:38578,59564:38576,59565:38580,59566:38582,59567:38584,59568:38585,59569:38606,59570:38603,59571:38601,59572:38605,59573:35149,59574:38620,59575:38669,59576:38613,59577:38649,59578:38660,59579:38662,59580:38664,59581:38675,59582:38670,59583:38673,59584:38671,59585:38678,59586:38681,59587:38692,59588:38698,59589:38704,59590:38713,59591:38717,59592:38718,59593:38724,59594:38726,59595:38728,59596:38722,59597:38729,59598:38748,59599:38752,59600:38756,59601:38758,59602:38760,59603:21202,59604:38763,59605:38769,59606:38777,59607:38789,59608:38780,59609:38785,59610:38778,59611:38790,59612:38795,59613:38799,59614:38800,59615:38812,59616:38824,59617:38822,59618:38819,59619:38835,59620:38836,59621:38851,59622:38854,59623:38856,59624:38859,59625:38876,59626:38893,59627:40783,59628:38898,59629:31455,59630:38902,59631:38901,59632:38927,59633:38924,59634:38968,59635:38948,59636:38945,59637:38967,59638:38973,59639:38982,59640:38991,59641:38987,59642:39019,59643:39023,59644:39024,59712:39025,59713:39028,59714:39027,59715:39082,59716:39087,59717:39089,59718:39094,59719:39108,59720:39107,59721:39110,59722:39145,59723:39147,59724:39171,59725:39177,59726:39186,59727:39188,59728:39192,59729:39201,59730:39197,59731:39198,59732:39204,59733:39200,59734:39212,59735:39214,59736:39229,59737:39230,59738:39234,59739:39241,59740:39237,59741:39248,59742:39243,59743:39249,59744:39250,59745:39244,59746:39253,59747:39319,59748:39320,59749:39333,59750:39341,59751:39342,59752:39356,59753:39391,59754:39387,59755:39389,59756:39384,59757:39377,59758:39405,59759:39406,59760:39409,59761:39410,59762:39419,59763:39416,59764:39425,59765:39439,59766:39429,59767:39394,59768:39449,59769:39467,59770:39479,59771:39493,59772:39490,59773:39488,59774:39491,59776:39486,59777:39509,59778:39501,59779:39515,59780:39511,59781:39519,59782:39522,59783:39525,59784:39524,59785:39529,59786:39531,59787:39530,59788:39597,59789:39600,59790:39612,59791:39616,59792:39631,59793:39633,59794:39635,59795:39636,59796:39646,59797:39647,59798:39650,59799:39651,59800:39654,59801:39663,59802:39659,59803:39662,59804:39668,59805:39665,59806:39671,59807:39675,59808:39686,59809:39704,59810:39706,59811:39711,59812:39714,59813:39715,59814:39717,59815:39719,59816:39720,59817:39721,59818:39722,59819:39726,59820:39727,59821:39730,59822:39748,59823:39747,59824:39759,59825:39757,59826:39758,59827:39761,59828:39768,59829:39796,59830:39827,59831:39811,59832:39825,59833:39830,59834:39831,59835:39839,59836:39840,59837:39848,59838:39860,59839:39872,59840:39882,59841:39865,59842:39878,59843:39887,59844:39889,59845:39890,59846:39907,59847:39906,59848:39908,59849:39892,59850:39905,59851:39994,59852:39922,59853:39921,59854:39920,59855:39957,59856:39956,59857:39945,59858:39955,59859:39948,59860:39942,59861:39944,59862:39954,59863:39946,59864:39940,59865:39982,59866:39963,59867:39973,59868:39972,59869:39969,59870:39984,59871:40007,59872:39986,59873:40006,59874:39998,59875:40026,59876:40032,59877:40039,59878:40054,59879:40056,59880:40167,59881:40172,59882:40176,59883:40201,59884:40200,59885:40171,59886:40195,59887:40198,59888:40234,59889:40230,59890:40367,59891:40227,59892:40223,59893:40260,59894:40213,59895:40210,59896:40257,59897:40255,59898:40254,59899:40262,59900:40264,59968:40285,59969:40286,59970:40292,59971:40273,59972:40272,59973:40281,59974:40306,59975:40329,59976:40327,59977:40363,59978:40303,59979:40314,59980:40346,59981:40356,59982:40361,59983:40370,59984:40388,59985:40385,59986:40379,59987:40376,59988:40378,59989:40390,59990:40399,59991:40386,59992:40409,59993:40403,59994:40440,59995:40422,59996:40429,59997:40431,59998:40445,59999:40474,6e4:40475,60001:40478,60002:40565,60003:40569,60004:40573,60005:40577,60006:40584,60007:40587,60008:40588,60009:40594,60010:40597,60011:40593,60012:40605,60013:40613,60014:40617,60015:40632,60016:40618,60017:40621,60018:38753,60019:40652,60020:40654,60021:40655,60022:40656,60023:40660,60024:40668,60025:40670,60026:40669,60027:40672,60028:40677,60029:40680,60030:40687,60032:40692,60033:40694,60034:40695,60035:40697,60036:40699,60037:40700,60038:40701,60039:40711,60040:40712,60041:30391,60042:40725,60043:40737,60044:40748,60045:40766,60046:40778,60047:40786,60048:40788,60049:40803,60050:40799,60051:40800,60052:40801,60053:40806,60054:40807,60055:40812,60056:40810,60057:40823,60058:40818,60059:40822,60060:40853,60061:40860,60062:40864,60063:22575,60064:27079,60065:36953,60066:29796,60067:20956,60068:29081}}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(1),c=s(2);function d(p,y,b,v){var k;y.degree()<b.degree()&&(k=[b,y],y=k[0],b=k[1]);for(var C=y,A=b,F=p.zero,M=p.one;A.degree()>=v/2;){var N=C,S=F;if(C=A,F=M,C.isZero())return null;A=N;for(var D=p.zero,R=C.getCoefficient(C.degree()),O=p.inverse(R);A.degree()>=C.degree()&&!A.isZero();){var P=A.degree()-C.degree(),T=p.multiply(A.getCoefficient(A.degree()),O);D=D.addOrSubtract(p.buildMonomial(P,T)),A=A.addOrSubtract(C.multiplyByMonomial(P,T))}if(M=D.multiplyPoly(F).addOrSubtract(S),A.degree()>=C.degree())return null}var V=M.getCoefficient(0);if(V===0)return null;var Z=p.inverse(V);return[M.multiply(Z),A.multiply(Z)]}function f(p,y){var b=y.degree();if(b===1)return[y.getCoefficient(1)];for(var v=new Array(b),k=0,C=1;C<p.size&&k<b;C++)y.evaluateAt(C)===0&&(v[k]=p.inverse(C),k++);return k!==b?null:v}function h(p,y,b){for(var v=b.length,k=new Array(v),C=0;C<v;C++){for(var A=p.inverse(b[C]),F=1,M=0;M<v;M++)C!==M&&(F=p.multiply(F,o.addOrSubtractGF(1,p.multiply(b[M],A))));k[C]=p.multiply(y.evaluateAt(A),p.inverse(F)),p.generatorBase!==0&&(k[C]=p.multiply(k[C],A))}return k}function m(p,y){var b=new Uint8ClampedArray(p.length);b.set(p);for(var v=new o.default(285,256,0),k=new c.default(v,b),C=new Uint8ClampedArray(y),A=!1,F=0;F<y;F++){var M=k.evaluateAt(v.exp(F+v.generatorBase));C[C.length-1-F]=M,M!==0&&(A=!0)}if(!A)return b;var N=new c.default(v,C),S=d(v,v.buildMonomial(y,1),N,y);if(S===null)return null;var D=f(v,S[0]);if(D==null)return null;for(var R=h(v,S[1],D),O=0;O<D.length;O++){var P=b.length-1-v.log(D[O]);if(P<0)return null;b[P]=o.addOrSubtractGF(b[P],R[O])}return b}l.decode=m}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0}),l.VERSIONS=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,dataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,dataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}]}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=s(0);function c(m,p,y,b){var v=m.x-p.x+y.x-b.x,k=m.y-p.y+y.y-b.y;if(v===0&&k===0)return{a11:p.x-m.x,a12:p.y-m.y,a13:0,a21:y.x-p.x,a22:y.y-p.y,a23:0,a31:m.x,a32:m.y,a33:1};var C=p.x-y.x,A=b.x-y.x,F=p.y-y.y,M=b.y-y.y,N=C*M-A*F,S=(v*M-A*k)/N,D=(C*k-v*F)/N;return{a11:p.x-m.x+S*p.x,a12:p.y-m.y+S*p.y,a13:S,a21:b.x-m.x+D*b.x,a22:b.y-m.y+D*b.y,a23:D,a31:m.x,a32:m.y,a33:1}}function d(m,p,y,b){var v=c(m,p,y,b);return{a11:v.a22*v.a33-v.a23*v.a32,a12:v.a13*v.a32-v.a12*v.a33,a13:v.a12*v.a23-v.a13*v.a22,a21:v.a23*v.a31-v.a21*v.a33,a22:v.a11*v.a33-v.a13*v.a31,a23:v.a13*v.a21-v.a11*v.a23,a31:v.a21*v.a32-v.a22*v.a31,a32:v.a12*v.a31-v.a11*v.a32,a33:v.a11*v.a22-v.a12*v.a21}}function f(m,p){return{a11:m.a11*p.a11+m.a21*p.a12+m.a31*p.a13,a12:m.a12*p.a11+m.a22*p.a12+m.a32*p.a13,a13:m.a13*p.a11+m.a23*p.a12+m.a33*p.a13,a21:m.a11*p.a21+m.a21*p.a22+m.a31*p.a23,a22:m.a12*p.a21+m.a22*p.a22+m.a32*p.a23,a23:m.a13*p.a21+m.a23*p.a22+m.a33*p.a23,a31:m.a11*p.a31+m.a21*p.a32+m.a31*p.a33,a32:m.a12*p.a31+m.a22*p.a32+m.a32*p.a33,a33:m.a13*p.a31+m.a23*p.a32+m.a33*p.a33}}function h(m,p){for(var y=d({x:3.5,y:3.5},{x:p.dimension-3.5,y:3.5},{x:p.dimension-6.5,y:p.dimension-6.5},{x:3.5,y:p.dimension-3.5}),b=c(p.topLeft,p.topRight,p.alignmentPattern,p.bottomLeft),v=f(b,y),k=o.BitMatrix.createEmpty(p.dimension,p.dimension),C=function(D,R){var O=v.a13*D+v.a23*R+v.a33;return{x:(v.a11*D+v.a21*R+v.a31)/O,y:(v.a12*D+v.a22*R+v.a32)/O}},A=0;A<p.dimension;A++)for(var F=0;F<p.dimension;F++){var M=F+.5,N=A+.5,S=C(M,N);k.set(F,A,m.get(Math.floor(S.x),Math.floor(S.y)))}return{matrix:k,mappingFunction:C}}l.extract=h}),(function(a,l,s){Object.defineProperty(l,"__esModule",{value:!0});var o=4,c=.5,d=1.5,f=function(M,N){return Math.sqrt(Math.pow(N.x-M.x,2)+Math.pow(N.y-M.y,2))};function h(M){return M.reduce(function(N,S){return N+S})}function m(M,N,S){var D,R,O,P,T=f(M,N),V=f(N,S),Z=f(M,S),re,ee,Q;return V>=T&&V>=Z?(D=[N,M,S],re=D[0],ee=D[1],Q=D[2]):Z>=V&&Z>=T?(R=[M,N,S],re=R[0],ee=R[1],Q=R[2]):(O=[M,S,N],re=O[0],ee=O[1],Q=O[2]),(Q.x-ee.x)*(re.y-ee.y)-(Q.y-ee.y)*(re.x-ee.x)<0&&(P=[Q,re],re=P[0],Q=P[1]),{bottomLeft:re,topLeft:ee,topRight:Q}}function p(M,N,S,D){var R=(h(b(M,S,D,5))/7+h(b(M,N,D,5))/7+h(b(S,M,D,5))/7+h(b(N,M,D,5))/7)/4;if(R<1)throw new Error("Invalid module size");var O=Math.round(f(M,N)/R),P=Math.round(f(M,S)/R),T=Math.floor((O+P)/2)+7;switch(T%4){case 0:T++;break;case 2:T--;break}return{dimension:T,moduleSize:R}}function y(M,N,S,D){var R=[{x:Math.floor(M.x),y:Math.floor(M.y)}],O=Math.abs(N.y-M.y)>Math.abs(N.x-M.x),P,T,V,Z;O?(P=Math.floor(M.y),T=Math.floor(M.x),V=Math.floor(N.y),Z=Math.floor(N.x)):(P=Math.floor(M.x),T=Math.floor(M.y),V=Math.floor(N.x),Z=Math.floor(N.y));for(var re=Math.abs(V-P),ee=Math.abs(Z-T),Q=Math.floor(-re/2),G=P<V?1:-1,Y=T<Z?1:-1,le=!0,xe=P,j=T;xe!==V+G;xe+=G){var L=O?j:xe,$=O?xe:j;if(S.get(L,$)!==le&&(le=!le,R.push({x:L,y:$}),R.length===D+1))break;if(Q+=ee,Q>0){if(j===Z)break;j+=Y,Q-=re}}for(var z=[],ie=0;ie<D;ie++)R[ie]&&R[ie+1]?z.push(f(R[ie],R[ie+1])):z.push(0);return z}function b(M,N,S,D){var R,O=N.y-M.y,P=N.x-M.x,T=y(M,N,S,Math.ceil(D/2)),V=y(M,{x:M.x-P,y:M.y-O},S,Math.ceil(D/2)),Z=T.shift()+V.shift()-1;return(R=V.concat(Z)).concat.apply(R,T)}function v(M,N){var S=h(M)/h(N),D=0;return N.forEach(function(R,O){D+=Math.pow(M[O]-R*S,2)}),{averageSize:S,error:D}}function k(M,N,S){try{var D=b(M,{x:-1,y:M.y},S,N.length),R=b(M,{x:M.x,y:-1},S,N.length),O={x:Math.max(0,M.x-M.y)-1,y:Math.max(0,M.y-M.x)-1},P=b(M,O,S,N.length),T={x:Math.min(S.width,M.x+M.y)+1,y:Math.min(S.height,M.y+M.x)+1},V=b(M,T,S,N.length),Z=v(D,N),re=v(R,N),ee=v(P,N),Q=v(V,N),G=Math.sqrt(Z.error*Z.error+re.error*re.error+ee.error*ee.error+Q.error*Q.error),Y=(Z.averageSize+re.averageSize+ee.averageSize+Q.averageSize)/4,le=(Math.pow(Z.averageSize-Y,2)+Math.pow(re.averageSize-Y,2)+Math.pow(ee.averageSize-Y,2)+Math.pow(Q.averageSize-Y,2))/Y;return G+le}catch{return 1/0}}function C(M,N){for(var S=Math.round(N.x);M.get(S,Math.round(N.y));)S--;for(var D=Math.round(N.x);M.get(D,Math.round(N.y));)D++;for(var R=(S+D)/2,O=Math.round(N.y);M.get(Math.round(R),O);)O--;for(var P=Math.round(N.y);M.get(Math.round(R),P);)P++;var T=(O+P)/2;return{x:R,y:T}}function A(M){for(var N=[],S=[],D=[],R=[],O=function(L){for(var $=0,z=!1,ie=[0,0,0,0,0],be=function(me){var He=M.get(me,L);if(He===z)$++;else{ie=[ie[1],ie[2],ie[3],ie[4],$],$=1,z=He;var Be=h(ie)/7,tt=Math.abs(ie[0]-Be)<Be&&Math.abs(ie[1]-Be)<Be&&Math.abs(ie[2]-3*Be)<3*Be&&Math.abs(ie[3]-Be)<Be&&Math.abs(ie[4]-Be)<Be&&!He,ct=h(ie.slice(-3))/3,De=Math.abs(ie[2]-ct)<ct&&Math.abs(ie[3]-ct)<ct&&Math.abs(ie[4]-ct)<ct&&He;if(tt){var _t=me-ie[3]-ie[4],Fe=_t-ie[2],ne={startX:Fe,endX:_t,y:L},Oe=S.filter(function(Et){return Fe>=Et.bottom.startX&&Fe<=Et.bottom.endX||_t>=Et.bottom.startX&&Fe<=Et.bottom.endX||Fe<=Et.bottom.startX&&_t>=Et.bottom.endX&&ie[2]/(Et.bottom.endX-Et.bottom.startX)<d&&ie[2]/(Et.bottom.endX-Et.bottom.startX)>c});Oe.length>0?Oe[0].bottom=ne:S.push({top:ne,bottom:ne})}if(De){var rt=me-ie[4],Ct=rt-ie[3],ne={startX:Ct,y:L,endX:rt},Oe=R.filter(function(nt){return Ct>=nt.bottom.startX&&Ct<=nt.bottom.endX||rt>=nt.bottom.startX&&Ct<=nt.bottom.endX||Ct<=nt.bottom.startX&&rt>=nt.bottom.endX&&ie[2]/(nt.bottom.endX-nt.bottom.startX)<d&&ie[2]/(nt.bottom.endX-nt.bottom.startX)>c});Oe.length>0?Oe[0].bottom=ne:R.push({top:ne,bottom:ne})}}},X=-1;X<=M.width;X++)be(X);N.push.apply(N,S.filter(function(me){return me.bottom.y!==L&&me.bottom.y-me.top.y>=2})),S=S.filter(function(me){return me.bottom.y===L}),D.push.apply(D,R.filter(function(me){return me.bottom.y!==L})),R=R.filter(function(me){return me.bottom.y===L})},P=0;P<=M.height;P++)O(P);N.push.apply(N,S.filter(function(L){return L.bottom.y-L.top.y>=2})),D.push.apply(D,R);var T=N.filter(function(L){return L.bottom.y-L.top.y>=2}).map(function(L){var $=(L.top.startX+L.top.endX+L.bottom.startX+L.bottom.endX)/4,z=(L.top.y+L.bottom.y+1)/2;if(M.get(Math.round($),Math.round(z))){var ie=[L.top.endX-L.top.startX,L.bottom.endX-L.bottom.startX,L.bottom.y-L.top.y+1],be=h(ie)/ie.length,X=k({x:Math.round($),y:Math.round(z)},[1,1,3,1,1],M);return{score:X,x:$,y:z,size:be}}}).filter(function(L){return!!L}).sort(function(L,$){return L.score-$.score}).map(function(L,$,z){if($>o)return null;var ie=z.filter(function(X,me){return $!==me}).map(function(X){return{x:X.x,y:X.y,score:X.score+Math.pow(X.size-L.size,2)/L.size,size:X.size}}).sort(function(X,me){return X.score-me.score});if(ie.length<2)return null;var be=L.score+ie[0].score+ie[1].score;return{points:[L].concat(ie.slice(0,2)),score:be}}).filter(function(L){return!!L}).sort(function(L,$){return L.score-$.score});if(T.length===0)return null;var V=m(T[0].points[0],T[0].points[1],T[0].points[2]),Z=V.topRight,re=V.topLeft,ee=V.bottomLeft,Q=F(M,D,Z,re,ee),G=[];Q&&G.push({alignmentPattern:{x:Q.alignmentPattern.x,y:Q.alignmentPattern.y},bottomLeft:{x:ee.x,y:ee.y},dimension:Q.dimension,topLeft:{x:re.x,y:re.y},topRight:{x:Z.x,y:Z.y}});var Y=C(M,Z),le=C(M,re),xe=C(M,ee),j=F(M,D,Y,le,xe);return j&&G.push({alignmentPattern:{x:j.alignmentPattern.x,y:j.alignmentPattern.y},bottomLeft:{x:xe.x,y:xe.y},topLeft:{x:le.x,y:le.y},topRight:{x:Y.x,y:Y.y},dimension:j.dimension}),G.length===0?null:G}l.locate=A;function F(M,N,S,D,R){var O,P,T;try{O=p(D,S,R,M),P=O.dimension,T=O.moduleSize}catch{return null}var V={x:S.x-D.x+R.x,y:S.y-D.y+R.y},Z=(f(D,R)+f(D,S))/2/T,re=1-3/Z,ee={x:D.x+re*(V.x-D.x),y:D.y+re*(V.y-D.y)},Q=N.map(function(Y){var le=(Y.top.startX+Y.top.endX+Y.bottom.startX+Y.bottom.endX)/4,xe=(Y.top.y+Y.bottom.y+1)/2;if(M.get(Math.floor(le),Math.floor(xe))){var j=[Y.top.endX-Y.top.startX,Y.bottom.endX-Y.bottom.startX,Y.bottom.y-Y.top.y+1];h(j)/j.length;var L=k({x:Math.floor(le),y:Math.floor(xe)},[1,1,1],M),$=L+f({x:le,y:xe},ee);return{x:le,y:xe,score:$}}}).filter(function(Y){return!!Y}).sort(function(Y,le){return Y.score-le.score}),G=Z>=15&&Q.length?Q[0]:ee;return{alignmentPattern:G,dimension:P}}})]).default})})(X1)),X1.exports}var _V=NV();const jV=rs(_V);function TV({onResult:e,onClose:t}){const a=w.useRef(null),[l,s]=w.useState(null);return w.useEffect(()=>{let o=null,c=0,d=!1;const f=document.createElement("canvas"),h=f.getContext("2d",{willReadFrequently:!0}),m=()=>{const p=a.current;if(!(d||!p||!h)){if(p.readyState>=p.HAVE_ENOUGH_DATA&&p.videoWidth){f.width=p.videoWidth,f.height=p.videoHeight,h.drawImage(p,0,0,f.width,f.height);const{data:y,width:b,height:v}=h.getImageData(0,0,f.width,f.height),k=jV(y,b,v,{inversionAttempts:"dontInvert"});if(k?.data){d=!0,e(k.data);return}}c=requestAnimationFrame(m)}};return navigator.mediaDevices?.getUserMedia({video:{facingMode:"environment"}}).then(p=>{if(d){for(const b of p.getTracks())b.stop();return}o=p;const y=a.current;y&&(y.srcObject=p,y.play(),c=requestAnimationFrame(m))}).catch(p=>s(zV(p))),()=>{if(d=!0,cancelAnimationFrame(c),o)for(const p of o.getTracks())p.stop()}},[e]),x.jsxs("div",{className:"fixed inset-0 z-[60] bg-black",children:[x.jsx("video",{ref:a,muted:!0,playsInline:!0,className:"h-full w-full object-cover"}),x.jsx("div",{className:"pointer-events-none absolute inset-0 grid place-items-center",children:x.jsx("div",{className:"size-60 max-w-[70vw] rounded-3xl border-2 border-white/80 shadow-[0_0_0_100vmax_rgba(0,0,0,0.5)]"})}),x.jsxs("div",{className:"pt-safe absolute inset-x-0 top-0 flex items-center justify-between p-4",children:[x.jsx("span",{className:"rounded-full bg-black/50 px-3 py-1 text-sm text-white",children:"Point at the relay QR"}),x.jsx("button",{type:"button",onClick:t,"aria-label":"Cancel scan",className:"flex size-9 items-center justify-center rounded-full bg-black/50 text-white active:bg-black/70",children:x.jsx(y0,{size:20})})]}),l?x.jsx("div",{className:"pb-safe absolute inset-x-0 bottom-0 bg-black/75 p-4 text-center text-sm leading-relaxed text-white",children:l}):null]})}function zV(e){const t=e instanceof DOMException?e.name:"";return t==="NotAllowedError"?"Camera permission denied. Allow camera access, or paste the token instead.":t==="NotFoundError"||t==="OverconstrainedError"?"No camera found — paste the token instead.":window.isSecureContext?`Camera unavailable (${e instanceof Error?e.message:String(e)}). Paste the token instead.`:"The camera needs HTTPS. Open the relay’s https:// URL, or paste the token."}function RV(){const e=Ce(h=>h.setToken),[t,a]=w.useState(""),[l,s]=w.useState(!1),[o,c]=w.useState(!1),d=h=>{const m=RD(h);c(!1),m?e(m):s(!0)},f=h=>{h.preventDefault(),d(t)};return o?x.jsx(TV,{onResult:d,onClose:()=>c(!1)}):x.jsxs("div",{className:"pt-safe pb-safe flex h-full flex-col items-center justify-center gap-5 overflow-y-auto px-8 text-center",children:[x.jsx("img",{src:"/icon.svg",alt:"",className:"size-20 rounded-3xl"}),x.jsxs("div",{children:[x.jsx("h1",{className:"text-xl font-semibold",children:"Conductor Remote"}),x.jsx("p",{className:"mt-1 text-sm text-muted",children:"Phone control panel for your local agents"})]}),x.jsxs("p",{className:"max-w-xs text-sm leading-relaxed text-muted",children:["Open the URL the relay printed on startup — it carries your access token (",x.jsx("span",{className:"font-mono text-faint",children:"/#token=…"}),"). Then use"," ",x.jsx("b",{className:"text-text",children:"Add to Home Screen"})," to install it."]}),x.jsxs("form",{onSubmit:f,className:"flex w-full max-w-xs flex-col gap-2",children:[x.jsx("input",{type:"text",inputMode:"text",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:t,onChange:h=>{a(h.target.value),s(!1)},placeholder:"Paste token or URL","aria-label":"Access token or URL",className:"rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-center font-mono text-base text-text placeholder:font-sans placeholder:text-faint"}),x.jsx("button",{type:"submit",className:"pill pill-active justify-center py-2.5",children:"Connect"}),x.jsxs("button",{type:"button",onClick:()=>{s(!1),c(!0)},className:"pill justify-center gap-2 py-2.5",children:[x.jsx(e9,{size:16}),"Scan QR"]}),l?x.jsx("p",{className:"text-xs",style:{color:"var(--color-del)"},children:"Couldn’t find a token in that — paste the token or the full URL, or scan the QR."}):null]}),x.jsxs("p",{className:"max-w-xs text-xs leading-relaxed text-faint",children:["Lost it? Run ",x.jsx("span",{className:"font-mono",children:"yarn service status"})," on your Mac to reprint the QR, then scan it above — no need to retype anything."]})]})}const iu={voice:"marin",language:"auto"},pp="conductor-remote-voice";function OV(e=localStorage){try{const t=JSON.parse(e.getItem(pp)??"{}");return{voice:wD(t.voice)?t.voice:iu.voice,language:DD(t.language)?t.language:iu.language}}catch{return iu}}function LV(e,t=localStorage){try{t.setItem(pp,JSON.stringify(e))}catch{}}function wn(e,t){return typeof e[t]=="string"?e[t]:null}function PV(e){let t=e;if(typeof t=="string")try{t=JSON.parse(t)}catch{return null}if(!t||typeof t!="object")return null;const a=t,l=wn(a,"type"),s=wn(a,"item_id")??wn(a,"call_id")??"voice-item";if(l==="conversation.item.input_audio_transcription.delta"){const o=wn(a,"delta");return o===null?null:{kind:"input-delta",itemId:s,text:o}}if(l==="conversation.item.input_audio_transcription.completed"){const o=wn(a,"transcript");return o===null?null:{kind:"input-done",itemId:s,text:o}}if(l==="response.output_audio_transcript.delta"||l==="response.audio_transcript.delta"){const o=wn(a,"delta");return o===null?null:{kind:"output-delta",itemId:s,text:o}}if(l==="response.output_audio_transcript.done"||l==="response.audio_transcript.done"){const o=wn(a,"transcript");return o===null?null:{kind:"output-done",itemId:s,text:o}}if(l==="response.output_text.delta"){const o=wn(a,"delta");return o===null?null:{kind:"output-delta",itemId:s,text:o}}if(l==="response.output_text.done"){const o=wn(a,"text");return o===null?null:{kind:"output-done",itemId:s,text:o}}if(l==="response.function_call_arguments.done"){const o=wn(a,"name");return o===null?null:{kind:"tool",itemId:s,name:o}}if(l==="input_audio_buffer.speech_started")return{kind:"speech-started"};if(l==="response.created")return{kind:"response-started"};if(l==="response.done"){const o=a.response&&typeof a.response=="object"?a.response:null,c=o?.error&&typeof o.error=="object"?o.error:null,d=c?wn(c,"message"):null;return d?{kind:"response-done",error:d}:{kind:"response-done"}}if(l==="error"){const o=a.error&&typeof a.error=="object"?a.error:null;return{kind:"error",text:o&&wn(o,"message")||"Voice call failed"}}return null}function GV(e){switch(e){case"voice_roll_call":return"Checking the fleet";case"voice_workspace_overview":return"Refreshing workspace overview";case"voice_next_decision":return"Opening the next decision";case"voice_send_preview":return"Preparing a guarded send";case"voice_send":return"Queueing the approved prompt";default:return"Working with the relay"}}const mp=w.createContext(null);function U1(e){return[...e.values()].join(" ").trimStart()}function HV(e){return e instanceof DOMException&&(e.name==="NotAllowedError"||e.name==="SecurityError")}function VV({children:e}){const[t,a]=w.useState(!1),[l,s]=w.useState("idle"),[o,c]=w.useState(!1),[d,f]=w.useState(null),[h,m]=w.useState([]),[p,y]=w.useState(""),[b,v]=w.useState(""),[k,C]=w.useState(OV),A=w.useRef("idle"),F=w.useRef(k),M=w.useRef(0),N=w.useRef(null),S=w.useRef(null),D=w.useRef(null),R=w.useRef(null),O=w.useRef(null),P=w.useRef(null),T=w.useRef(new Map),V=w.useRef(new Map),Z=w.useRef(new Set),re=w.useRef(new Set),ee=w.useRef(new Set),Q=w.useRef(null);F.current=k;const G=w.useCallback(Fe=>{A.current=Fe,s(Fe)},[]),Y=w.useCallback(Fe=>{m(ne=>ne.some(Oe=>Oe.id===Fe.id)?ne:[...ne,Fe])},[]),le=w.useCallback(()=>{T.current.clear(),V.current.clear(),y(""),v("")},[]),xe=w.useCallback(()=>{M.current+=1,Q.current&&clearTimeout(Q.current),Q.current=null;try{S.current?.close()}catch{}try{N.current?.close()}catch{}for(const Fe of D.current?.getTracks()??[])Fe.stop();O.current&&(O.current.srcObject=null),N.current=null,S.current=null,D.current=null,R.current=null,O.current=null,P.current=null,le()},[le]),j=w.useCallback(Fe=>{const ne=P.current;xe(),c(!1),G("idle"),f(Fe),ne&&we.voiceCallEnd(ne).catch(()=>{})},[xe,G]),L=w.useCallback(Fe=>{const ne=PV(Fe);if(ne)switch(ne.kind){case"input-delta":T.current.set(ne.itemId,(T.current.get(ne.itemId)??"")+ne.text),y(U1(T.current));return;case"input-done":{T.current.delete(ne.itemId),y(U1(T.current)),!Z.current.has(ne.itemId)&&ne.text.trim()&&(Z.current.add(ne.itemId),Y({id:`user:${ne.itemId}`,role:"user",text:ne.text.trim()})),A.current!=="speaking"&&G("thinking");return}case"output-delta":V.current.set(ne.itemId,(V.current.get(ne.itemId)??"")+ne.text),v(U1(V.current)),G("speaking");return;case"output-done":{const Oe=(ne.text||V.current.get(ne.itemId)||"").trim();V.current.delete(ne.itemId),v(U1(V.current)),!re.current.has(ne.itemId)&&Oe&&(re.current.add(ne.itemId),Y({id:`assistant:${ne.itemId}`,role:"assistant",text:Oe}));return}case"tool":ee.current.has(ne.itemId)||(ee.current.add(ne.itemId),Y({id:`tool:${ne.itemId}`,role:"activity",text:GV(ne.name)})),G("thinking");return;case"speech-started":G("listening");return;case"response-started":G("thinking");return;case"response-done":ne.error&&f(ne.error),G("connected");return;case"error":f(ne.text),A.current!=="idle"&&G("connected")}},[Y,G]),$=w.useCallback(async()=>{if(A.current!=="idle")return;if(typeof RTCPeerConnection>"u"||!navigator.mediaDevices?.getUserMedia){f("This browser does not support WebRTC calling");return}a(!0),f(null),m([]),le(),Z.current.clear(),re.current.clear(),ee.current.clear(),c(!1),G("connecting");const Fe=++M.current;try{const ne=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}});if(Fe!==M.current){for(const Me of ne.getTracks())Me.stop();return}const Oe=ne.getAudioTracks()[0];if(!Oe)throw new Error("No microphone was available");Oe.enabled=!1,D.current=ne,R.current=Oe;const rt=new RTCPeerConnection,Ct=rt.createDataChannel("oai-events"),Et=document.createElement("audio");Et.autoplay=!0,Et.setAttribute("playsinline",""),N.current=rt,S.current=Ct,O.current=Et,rt.addTrack(Oe,ne),rt.addEventListener("track",Me=>{Fe===M.current&&(Et.srcObject=Me.streams[0]??new MediaStream([Me.track]),Et.play().catch(()=>f("Tap the audio notice to hear this call")))}),Ct.addEventListener("message",Me=>{Fe===M.current&&L(Me.data)}),Ct.addEventListener("close",()=>{Fe===M.current&&A.current!=="idle"&&j("The control-room call closed")}),rt.addEventListener("connectionstatechange",()=>{if(Fe===M.current){if(rt.connectionState==="connected"&&Q.current&&(clearTimeout(Q.current),Q.current=null),rt.connectionState==="failed"||rt.connectionState==="closed")return j("The control-room connection failed");rt.connectionState==="disconnected"&&!Q.current&&(Q.current=setTimeout(()=>{Q.current=null,Fe===M.current&&rt.connectionState==="disconnected"&&j("The control-room connection was lost")},4e3))}});const p0=await rt.createOffer();await rt.setLocalDescription(p0);const nt=rt.localDescription?.sdp;if(!nt)throw new Error("The browser did not create a WebRTC offer");const b0=await we.voiceCall(nt,F.current.voice,F.current.language);if(Fe!==M.current){we.voiceCallEnd(b0.callId).catch(()=>{});return}if(P.current=b0.callId,await rt.setRemoteDescription({type:"answer",sdp:b0.sdp}),await new Promise((Me,A0)=>{if(Ct.readyState==="open")return Me();const se=setTimeout(()=>A0(new Error("Voice event channel did not open")),8e3);Ct.addEventListener("open",()=>{clearTimeout(se),Me()},{once:!0})}),await we.voiceCallReady(b0.callId),Fe!==M.current)return;Oe.enabled=!0,A.current==="connecting"&&G("connected")}catch(ne){if(Fe!==M.current)return;j(HV(ne)?"Microphone access was denied — allow it in this site’s settings and try again":ne instanceof Error?ne.message:String(ne))}},[le,j,L,G]),z=w.useCallback(()=>{const Fe=P.current;xe(),c(!1),G("idle"),f(null),Fe&&we.voiceCallEnd(Fe).catch(()=>{})},[xe,G]),ie=w.useCallback(()=>{A.current==="idle"||A.current==="connecting"||c(Fe=>{const ne=!Fe;return R.current&&(R.current.enabled=!ne),ne})},[]),be=w.useCallback(Fe=>{const ne=Fe.trim(),Oe=S.current;if(!ne||Oe?.readyState!=="open"||A.current!=="connected")return!1;const rt=crypto.randomUUID();return Y({id:`typed:${rt}`,role:"user",text:ne}),Oe.send(JSON.stringify({type:"conversation.item.create",item:{type:"message",role:"user",content:[{type:"input_text",text:ne}]}})),Oe.send(JSON.stringify({type:"response.create"})),G("thinking"),!0},[Y,G]),X=w.useCallback(Fe=>{A.current==="idle"&&C(ne=>{const Oe={...ne,...Fe};return F.current=Oe,LV(Oe),Oe})},[]),me=w.useCallback(()=>{O.current?.play().then(()=>f(null)).catch(()=>f("This browser is still blocking call audio"))},[]),He=w.useCallback(()=>a(!0),[]),Be=w.useCallback(()=>a(!1),[]),tt=w.useCallback(()=>f(null),[]),ct=w.useCallback(Fe=>X({voice:Fe}),[X]),De=w.useCallback(Fe=>X({language:Fe}),[X]);w.useEffect(()=>()=>{const Fe=P.current;xe(),Fe&&we.voiceCallEnd(Fe).catch(()=>{})},[xe]);const _t=w.useMemo(()=>({panelOpen:t,status:l,muted:o,error:d,entries:h,inputPartial:p,outputPartial:b,preferences:k,openPanel:He,closePanel:Be,startCall:$,endCall:z,toggleMute:ie,sendText:be,dismissError:tt,enableAudio:me,setVoice:ct,setLanguage:De}),[t,l,o,d,h,p,b,k,He,Be,$,z,ie,be,tt,me,ct,De]);return x.jsx(mp.Provider,{value:_t,children:e})}function gp(){const e=w.useContext(mp);if(!e)throw new Error("useVoiceCall must be used inside VoiceCallProvider");return e}const IV=[["auto","Auto detect"],["no","Norsk"],["en","English"]];function UV(e){return e[0].toUpperCase()+e.slice(1)}function Xf(e,t){return e==="idle"?"Not connected":e==="connecting"?"Connecting…":e==="listening"?t?"Microphone muted":"Listening":e==="thinking"?"Checking the fleet…":e==="speaking"?"Orchestrator speaking":t?"Microphone muted":"Connected"}function ZV(){const e=gp(),t=Ce(m=>m.online),[a,l]=w.useState(""),s=w.useRef(null),o=e.status!=="idle",c=e.status==="connected",d=`${e.entries.length}:${e.inputPartial}:${e.outputPartial}`;if(w.useEffect(()=>{if(!e.panelOpen)return;const m=p=>{p.key==="Escape"&&e.closePanel()};return window.addEventListener("keydown",m),()=>window.removeEventListener("keydown",m)},[e.panelOpen,e.closePanel]),w.useEffect(()=>{if(!e.panelOpen||!d)return;const m=s.current;m&&(m.scrollTop=m.scrollHeight)},[e.panelOpen,d]),!e.panelOpen)return null;const f=m=>{m.preventDefault(),e.sendText(a)&&l("")},h=e.error?.toLowerCase().includes("audio")??!1;return Yn.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-[60] bg-black/65 md:block",onClick:e.closePanel,"aria-hidden":!0}),x.jsxs("section",{role:"dialog","aria-modal":"true","aria-label":"Control room call",className:"app-height fade-in pt-safe pb-safe fixed inset-0 z-[60] flex flex-col bg-bg md:inset-x-auto md:inset-y-8 md:left-1/2 md:w-[32rem] md:-translate-x-1/2 md:rounded-3xl md:border md:border-border-soft md:shadow-2xl",children:[x.jsxs("header",{className:"flex shrink-0 items-center gap-3 border-b border-border-soft px-4 py-3",children:[x.jsx("div",{className:he("grid size-9 shrink-0 place-items-center rounded-full bg-surface-2 text-muted",o&&"bg-voice-soft text-voice"),children:x.jsx(q1,{size:18})}),x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsxs("div",{className:"flex items-center gap-1.5",children:[x.jsx("h2",{className:"text-[15px] font-semibold",children:"Control room"}),x.jsx(Xx,{})]}),x.jsxs("p",{className:"flex items-center gap-1.5 text-xs text-muted",children:[o?x.jsx("span",{className:he("size-1.5 rounded-full bg-voice",(e.status==="listening"||e.status==="speaking")&&"animate-pulse")}):null,x.jsxs("span",{className:"truncate",children:["All workspaces · ",Xf(e.status,e.muted)]})]})]}),x.jsx("button",{type:"button",onClick:e.closePanel,"aria-label":o?"Hide call controls":"Close",className:"grid size-9 shrink-0 place-items-center rounded-full text-muted active:bg-surface-2 active:text-text",children:x.jsx(y0,{size:19})})]}),o?x.jsxs(x.Fragment,{children:[x.jsx("div",{ref:s,className:"min-h-0 flex-1 overflow-y-auto px-4 py-5",children:x.jsxs("div",{className:"mx-auto flex max-w-xl flex-col gap-3",children:[e.entries.length===0&&!e.inputPartial&&!e.outputPartial?x.jsx("div",{className:"grid min-h-48 place-items-center text-center",children:x.jsxs("div",{children:[x.jsx(_0,{size:22,className:"mx-auto mb-3 animate-spin text-voice"}),x.jsx("p",{className:"text-sm text-muted",children:"Opening the fleet channel…"})]})}):null,e.entries.map(m=>m.role==="activity"?x.jsxs("div",{className:"flex items-center justify-center gap-2 py-1 text-xs text-voice",children:[x.jsx("span",{className:"size-1.5 rounded-full bg-voice"}),m.text]},m.id):x.jsx("div",{className:he("max-w-[88%] rounded-2xl px-3.5 py-2.5 text-sm leading-relaxed",m.role==="user"?"ml-auto rounded-br-md bg-voice-soft text-text":"mr-auto rounded-bl-md bg-surface-2 text-text"),children:m.text},m.id)),e.inputPartial?x.jsx("div",{className:"ml-auto max-w-[88%] rounded-2xl rounded-br-md border border-voice/25 bg-voice-soft/60 px-3.5 py-2.5 text-sm leading-relaxed text-muted",children:e.inputPartial}):null,e.outputPartial?x.jsxs("div",{className:"mr-auto max-w-[88%] rounded-2xl rounded-bl-md bg-surface-2 px-3.5 py-2.5 text-sm leading-relaxed text-text",children:[e.outputPartial,x.jsx("span",{className:"ml-1 inline-block size-1.5 animate-pulse rounded-full bg-voice align-middle"})]}):null]})}),x.jsxs("div",{className:"shrink-0 border-t border-border-soft bg-surface/80 px-4 pb-3 pt-3 backdrop-blur-xl",children:[e.error?x.jsx("button",{type:"button",onClick:h?e.enableAudio:e.dismissError,className:"mb-2 block w-full rounded-xl bg-del/10 px-3 py-2 text-left text-xs leading-snug text-del",children:e.error}):null,x.jsxs("form",{onSubmit:f,className:"flex items-center gap-2",children:[x.jsx("input",{value:a,onChange:m=>l(m.target.value),disabled:!c,placeholder:c?"Type to the orchestrator…":Xf(e.status,e.muted),"aria-label":"Message the orchestrator",className:"h-11 min-w-0 flex-1 rounded-xl border border-border bg-bg px-3 text-sm text-text outline-none placeholder:text-faint focus:border-voice/60 disabled:opacity-60"}),x.jsx("button",{type:"submit",disabled:!c||!a.trim(),"aria-label":"Send to orchestrator",className:"grid size-11 shrink-0 place-items-center rounded-xl bg-voice text-white active:opacity-80 disabled:bg-surface-2 disabled:text-faint",children:x.jsx(TB,{size:18})})]}),x.jsxs("div",{className:"mt-3 flex items-center justify-center gap-5",children:[x.jsx("button",{type:"button",onClick:e.toggleMute,disabled:e.status==="connecting","aria-label":e.muted?"Unmute microphone":"Mute microphone","aria-pressed":e.muted,className:he("grid size-12 place-items-center rounded-full bg-surface-2 text-text active:opacity-75 disabled:text-faint",e.muted&&"bg-voice-soft text-voice"),children:e.muted?x.jsx(yA,{size:20}):x.jsx(J6,{size:20})}),x.jsx("button",{type:"button",onClick:e.endCall,"aria-label":"End call",className:"grid size-12 place-items-center rounded-full bg-del text-white active:opacity-75",children:x.jsx(QA,{size:20})})]})]})]}):x.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-5 py-7",children:x.jsxs("div",{className:"mx-auto flex max-w-sm flex-col items-center text-center",children:[x.jsx("div",{className:"mb-5 grid size-16 place-items-center rounded-full bg-voice-soft text-voice",children:x.jsx(q1,{size:27})}),x.jsx("h3",{className:"text-xl font-semibold tracking-tight",children:"Call your fleet"}),x.jsx("p",{className:"mt-2 text-sm leading-relaxed text-muted",children:"One orchestrator checks every workspace, brings you one decision at a time, and can queue an exact prompt only after reading it back for confirmation."}),x.jsxs("div",{className:"mt-7 grid w-full grid-cols-2 gap-3 text-left",children:[x.jsxs("label",{className:"text-xs font-medium text-muted",children:["Voice",x.jsx("select",{value:e.preferences.voice,onChange:m=>e.setVoice(m.target.value),className:"mt-1.5 block h-11 w-full rounded-xl border border-border bg-surface-2 px-3 text-sm text-text [color-scheme:dark]",children:d9.map(m=>x.jsx("option",{value:m,children:UV(m)},m))})]}),x.jsxs("label",{className:"text-xs font-medium text-muted",children:["Language",x.jsx("select",{value:e.preferences.language,onChange:m=>e.setLanguage(m.target.value),className:"mt-1.5 block h-11 w-full rounded-xl border border-border bg-surface-2 px-3 text-sm text-text [color-scheme:dark]",children:IV.map(([m,p])=>x.jsx("option",{value:m,children:p},m))})]})]}),e.error?x.jsx("button",{type:"button",onClick:e.dismissError,className:"mt-4 block w-full rounded-xl bg-del/10 px-3 py-2 text-left text-xs leading-snug text-del",children:e.error}):null,x.jsxs("button",{type:"button",onClick:()=>{e.startCall()},disabled:!t,className:"mt-6 flex h-12 w-full items-center justify-center gap-2 rounded-xl bg-voice px-4 text-sm font-semibold text-white active:opacity-80 disabled:bg-surface-2 disabled:text-faint",children:[x.jsx(q1,{size:18}),t?"Start fleet call":"Relay offline"]}),x.jsx("p",{className:"mt-3 text-[11px] leading-snug text-faint",children:"AI-generated voice. Microphone audio is sent to OpenAI for this live call."})]})})]})]}),document.body)}const $V=new Intl.NumberFormat("en",{notation:"compact"});function Wf(e){return $V.format(Math.max(0,e)).toLowerCase()}function Jf(e,t){return`${e.toLocaleString("en")} ${e===1?"line":"lines"} ${t}`}function qV({stats:e,className:t}){if(!e||e.added<=0&&e.removed<=0)return null;const a=[e.added>0?Jf(e.added,"added"):null,e.removed>0?Jf(e.removed,"removed"):null].filter(Boolean).join(", ");return x.jsxs("span",{className:he("flex shrink-0 items-center gap-1 font-mono text-[10px] font-medium leading-none tabular-nums",t),title:a,children:[x.jsx("span",{className:"sr-only",children:a}),e.added>0?x.jsxs("span",{className:"text-add","aria-hidden":"true",children:["+",Wf(e.added)]}):null,e.removed>0?x.jsxs("span",{className:"text-del","aria-hidden":"true",children:["-",Wf(e.removed)]}):null]})}const Ep="conductor-remote-theme",QV={light:"#f5f6f8",dark:"#0a0b0e"};function YV(e){return e==="light"||e==="dark"||e==="system"?e:"system"}function yp(e){try{return YV((e??localStorage).getItem(Ep))}catch{return"system"}}function KV(e,t){return e==="system"?t?"dark":"light":e}function XV(){return typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches}function bp(e,t=XV()){if(typeof document>"u")return;e==="system"?delete document.documentElement.dataset.theme:document.documentElement.dataset.theme=e;const a=KV(e,t);document.querySelector('meta[name="theme-color"]')?.setAttribute("content",QV[a])}function WV(e,t){try{(t??localStorage).setItem(Ep,e)}catch{}bp(e)}function JV(){if(typeof window>"u")return()=>{};const e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>bp(yp(),e.matches);return e.addEventListener("change",t),t(),()=>e.removeEventListener("change",t)}const as=new Uint8Array(512),Zu=new Uint8Array(256);let Gi=1;for(let e=0;e<255;e++)as[e]=Gi,Zu[Gi]=e,Gi<<=1,Gi&256&&(Gi^=285);for(let e=255;e<512;e++)as[e]=as[e-255];function vp(e,t){return e===0||t===0?0:as[Zu[e]+Zu[t]]}function eI(e){let t=[1];for(let a=0;a<e;a++){const l=new Array(t.length+1).fill(0);for(let s=0;s<t.length;s++)l[s]^=t[s],l[s+1]^=vp(t[s],as[a]);t=l}return t}function tI(e,t){const a=eI(t),l=new Array(t).fill(0);for(const s of e){const o=s^l[0];if(l.shift(),l.push(0),o!==0)for(let c=0;c<t;c++)l[c]^=vp(a[c+1],o)}return l}const Wx={1:{align:[],ec:10,groups:[[1,16]]},2:{align:[6,18],ec:16,groups:[[1,28]]},3:{align:[6,22],ec:26,groups:[[1,44]]},4:{align:[6,26],ec:18,groups:[[2,32]]},5:{align:[6,30],ec:24,groups:[[2,43]]},6:{align:[6,34],ec:16,groups:[[4,27]]},7:{align:[6,22,38],ec:18,groups:[[4,31]]},8:{align:[6,24,42],ec:22,groups:[[2,38],[2,39]]},9:{align:[6,26,46],ec:22,groups:[[3,36],[2,37]]},10:{align:[6,28,50],ec:26,groups:[[4,43],[1,44]]}};function e6(e){return Wx[e].groups.reduce((t,[a,l])=>t+a*l,0)}function t6(e){return e<=9?8:16}function Hi(e,t,a){for(let l=a-1;l>=0;l--)e.push(t>>l&1)}function nI(e){const t=Array.from(new TextEncoder().encode(e));let a=0;for(let v=1;v<=10;v++)if(4+t6(v)+8*t.length<=e6(v)*8){a=v;break}if(a===0)throw new Error(`data too long for a v1–10 QR (${t.length} bytes)`);const l=e6(a)*8,s=[];Hi(s,4,4),Hi(s,t.length,t6(a));for(const v of t)Hi(s,v,8);for(let v=0,k=Math.min(4,l-s.length);v<k;v++)s.push(0);for(;s.length%8!==0;)s.push(0);const o=[236,17];for(let v=0;s.length<l;v++)Hi(s,o[v%2],8);const c=[];for(let v=0;v<s.length;v+=8){let k=0;for(let C=0;C<8;C++)k=k<<1|s[v+C];c.push(k)}const{ec:d,groups:f}=Wx[a],h=[];let m=0;for(const[v,k]of f)for(let C=0;C<v;C++){const A=c.slice(m,m+k);m+=k,h.push({data:A,ec:tI(A,d)})}const p=[],y=Math.max(...h.map(v=>v.data.length));for(let v=0;v<y;v++)for(const k of h)v<k.data.length&&p.push(k.data[v]);for(let v=0;v<d;v++)for(const k of h)p.push(k.ec[v]);const b=[];for(const v of p)Hi(b,v,8);return{version:a,bits:b}}function aI(e,t){const a=e*4+17,l=Array.from({length:a},()=>new Array(a).fill(!1)),s=Array.from({length:a},()=>new Array(a).fill(!1)),o=(p,y)=>{for(let b=-1;b<=7;b++)for(let v=-1;v<=7;v++){const k=p+b,C=y+v;if(k<0||k>=a||C<0||C>=a)continue;const A=b>=0&&b<=6&&(v===0||v===6)||v>=0&&v<=6&&(b===0||b===6),F=b>=2&&b<=4&&v>=2&&v<=4;l[k][C]=A||F,s[k][C]=!0}};o(0,0),o(0,a-7),o(a-7,0);for(let p=8;p<a-8;p++){const y=p%2===0;s[6][p]||(l[6][p]=y,s[6][p]=!0),s[p][6]||(l[p][6]=y,s[p][6]=!0)}const c=Wx[e].align;for(let p=0;p<c.length;p++)for(let y=0;y<c.length;y++){if(p===0&&y===0||p===0&&y===c.length-1||p===c.length-1&&y===0)continue;const v=c[p],k=c[y];for(let C=-2;C<=2;C++)for(let A=-2;A<=2;A++)l[v+C][k+A]=Math.max(Math.abs(C),Math.abs(A))!==1,s[v+C][k+A]=!0}for(let p=0;p<=8;p++)p!==6&&(s[8][p]=!0,s[p][8]=!0);for(let p=0;p<8;p++)s[8][a-1-p]=!0,s[a-1-p][8]=!0;if(s[a-8][8]=!0,e>=7)for(let p=0;p<18;p++){const y=a-11+p%3,b=Math.floor(p/3);s[b][y]=!0,s[y][b]=!0}let d=0,f=!0;for(let p=a-1;p>0;p-=2){p===6&&p--;for(let y=0;y<a;y++){const b=f?a-1-y:y;for(let v=0;v<2;v++){const k=p-v;s[b][k]||(l[b][k]=d<t.length?t[d]===1:!1,d++)}}f=!f}e>=7&&iI(l,e,a);let h=null,m=Number.POSITIVE_INFINITY;for(let p=0;p<8;p++){const y=l.map(v=>v.slice());for(let v=0;v<a;v++)for(let k=0;k<a;k++)!s[v][k]&&rI(p,v,k)&&(y[v][k]=!y[v][k]);lI(y,p,a);const b=sI(y);b<m&&(m=b,h=y)}return h}function rI(e,t,a){switch(e){case 0:return(t+a)%2===0;case 1:return t%2===0;case 2:return a%3===0;case 3:return(t+a)%3===0;case 4:return(Math.floor(t/2)+Math.floor(a/3))%2===0;case 5:return t*a%2+t*a%3===0;case 6:return(t*a%2+t*a%3)%2===0;default:return((t+a)%2+t*a%3)%2===0}}function lI(e,t,a){const l=0|t;let s=l;for(let d=0;d<10;d++)s=s<<1^(s>>9&1?1335:0);const o=((l<<10|s&1023)^21522)&32767,c=d=>(o>>d&1)===1;for(let d=0;d<=5;d++)e[d][8]=c(d);e[7][8]=c(6),e[8][8]=c(7),e[8][7]=c(8);for(let d=9;d<15;d++)e[8][14-d]=c(d);for(let d=0;d<8;d++)e[8][a-1-d]=c(d);for(let d=8;d<15;d++)e[a-15+d][8]=c(d);e[a-8][8]=!0}function iI(e,t,a){let l=t;for(let o=0;o<12;o++)l=l<<1^(l>>11&1?7973:0);const s=t<<12|l&4095;for(let o=0;o<18;o++){const c=(s>>o&1)===1,d=a-11+o%3,f=Math.floor(o/3);e[f][d]=c,e[d][f]=c}}function sI(e){const t=e.length;let a=0;const l=f=>{let h=f(0),m=1;for(let p=1;p<t;p++)f(p)===h?m++:(m>=5&&(a+=m-2),h=f(p),m=1);m>=5&&(a+=m-2)};for(let f=0;f<t;f++)l(h=>e[f][h]);for(let f=0;f<t;f++)l(h=>e[h][f]);for(let f=0;f<t-1;f++)for(let h=0;h<t-1;h++){const m=e[f][h];m===e[f][h+1]&&m===e[f+1][h]&&m===e[f+1][h+1]&&(a+=3)}const s=[!0,!1,!0,!0,!0,!1,!0,!1,!1,!1,!1],o=[!1,!1,!1,!1,!0,!1,!0,!0,!0,!1,!0],c=(f,h,m)=>{for(let p=0;p<11;p++)if(f(h+p)!==m[p])return!1;return!0};for(let f=0;f<t;f++)for(let h=0;h<=t-11;h++)(c(m=>e[f][m],h,s)||c(m=>e[f][m],h,o))&&(a+=40);for(let f=0;f<t;f++)for(let h=0;h<=t-11;h++)(c(m=>e[m][f],h,s)||c(m=>e[m][f],h,o))&&(a+=40);let d=0;for(let f=0;f<t;f++)for(let h=0;h<t;h++)e[f][h]&&d++;return a+=Math.floor(Math.abs(d/(t*t)*100-50)/5)*10,a}function oI(e){const{version:t,bits:a}=nI(e);return aI(t,a)}function cI({text:e,size:t=220,className:a}){const l=oI(e),s=l.length,o=4,c=s+o*2;let d="";for(let f=0;f<s;f++)for(let h=0;h<s;h++)l[f][h]&&(d+=`M${h+o} ${f+o}h1v1h-1z`);return x.jsxs("svg",{width:t,height:t,viewBox:`0 0 ${c} ${c}`,shapeRendering:"crispEdges",className:a,role:"img","aria-label":"QR code",children:[x.jsx("title",{children:"QR code"}),x.jsx("rect",{width:c,height:c,fill:"#fff"}),x.jsx("path",{d,fill:"#000"})]})}function uI({version:e,onLogs:t,onClose:a}){const l=Ce(y=>y.token),s=Ce(y=>y.setToken),[o,c]=w.useState(!1),[d,f]=w.useState(!1),h=l?`${location.origin}/#token=${l}`:location.origin,m=!!e&&e!=="1.108.2",p=async()=>{try{await navigator.clipboard.writeText(h),c(!0),setTimeout(()=>c(!1),1500)}catch{}};return Yn.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:a,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Connect a device",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[85dvh] max-w-sm flex-col items-center gap-4 rounded-t-3xl border border-border-soft bg-surface p-5 shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[x.jsxs("div",{className:"flex w-full shrink-0 items-center justify-between",children:[x.jsx("h2",{className:"text-base font-semibold",children:"Connect a device"}),x.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[x.jsx("button",{type:"button",onClick:()=>f(y=>!y),"aria-label":"Disconnect","aria-expanded":d,title:"Disconnect",className:he("flex size-8 items-center justify-center rounded-full active:bg-surface-2",d?"bg-del/15 text-del":"text-del/80"),children:x.jsx(rA,{size:17})}),x.jsx("button",{type:"button",onClick:a,"aria-label":"Close",className:"flex size-8 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(y0,{size:18})})]})]}),d?x.jsxs("div",{className:"fade-in w-full shrink-0 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[x.jsx("p",{className:"text-sm font-medium",children:"Disconnect this device?"}),x.jsx("p",{className:"mt-1 text-xs text-muted",children:"This forgets your access token. To get back in you’ll need the link or QR from the Mac running the relay — this screen can’t show it to you again."}),x.jsxs("div",{className:"mt-2.5 flex gap-2",children:[x.jsx("button",{type:"button",onClick:()=>f(!1),className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),x.jsx("button",{type:"button",onClick:()=>s(null),className:"flex-1 rounded-lg bg-del px-3 py-2 text-sm font-semibold text-on-solid active:opacity-80",children:"Disconnect"})]})]}):null,x.jsxs("div",{className:"flex w-full min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto overscroll-contain",children:[x.jsx("p",{className:"text-center text-sm text-muted",children:"Scan on another phone, or re-add this to your home screen. The link carries your access token."}),x.jsx("div",{className:"shrink-0 rounded-2xl bg-white p-3",children:x.jsx(cI,{text:h,size:216})}),x.jsxs("button",{type:"button",onClick:p,className:"flex w-full shrink-0 items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-3 py-2.5 text-sm active:bg-surface",children:[o?x.jsx(ka,{size:16}):x.jsx(ix,{size:16}),o?"Copied":"Copy link"]}),x.jsx(dI,{}),x.jsx(fI,{}),x.jsx(pI,{}),x.jsxs("div",{className:"flex w-full items-center justify-between text-xs text-faint",children:[x.jsxs("span",{className:"font-mono",children:[e?`relay v${e}`:"relay v?"," · ",x.jsxs("span",{className:m?"text-working":void 0,children:["app v","1.108.2"]}),m?" · update pending":""]}),x.jsx("button",{type:"button",onClick:t,className:"shrink-0 text-muted underline-offset-2 hover:underline",children:"Logs"})]})]})]})]}),document.body)}const xI=[["system","System"],["light","Light"],["dark","Dark"]];function dI(){const[e,t]=w.useState(yp),a=Ce(o=>o.view.showDiffs),l=Ce(o=>o.setView),s=o=>{t(o),WV(o)};return x.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[x.jsxs("fieldset",{className:"flex w-full items-center justify-between gap-3 border-0 p-0",children:[x.jsx("legend",{className:"sr-only",children:"Theme"}),x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(gw,{size:16,className:"shrink-0 text-muted"}),x.jsx("span",{children:"Theme"})]}),x.jsx("div",{className:"flex shrink-0 rounded-lg border border-border bg-surface p-0.5",children:xI.map(([o,c])=>x.jsx("button",{type:"button","aria-pressed":e===o,onClick:()=>s(o),className:he("rounded-md px-2 py-1 text-xs transition focus-visible:outline-2 focus-visible:outline-accent",e===o?"bg-accent-soft text-accent":"text-muted active:bg-surface-2"),children:c},o))})]}),x.jsxs("div",{className:"mt-2.5 flex items-center justify-between gap-3 border-t border-border pt-2.5",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(Q6,{size:16,className:"shrink-0 text-muted"}),x.jsx("span",{children:"Sidebar diffs"})]}),x.jsx("button",{type:"button",role:"switch","aria-checked":a,"aria-label":"Show line changes in workspace rows",onClick:()=>l({showDiffs:!a}),className:he("relative h-6 w-11 shrink-0 rounded-full transition-colors",a?"bg-accent":"border border-border bg-surface"),children:x.jsx("span",{className:he("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",a?"translate-x-5":"translate-x-0")})})]}),x.jsx("p",{className:"mt-1 text-xs text-muted",children:"Show line additions and deletions in workspace rows."})]})}function fI(){const e=QF(),t=e.permission==="denied",a=e.support!=="ok"||e.relayDisabled,l=e.relayDisabled?"Turned off on the relay (PUSH_NOTIFY=off).":e.support==="needs-install"?"Add this to your Home Screen first — iOS only allows notifications for installed apps.":e.support==="insecure"?"Needs a secure connection — open the app on its https:// Tailscale URL.":e.support==="unsupported"?"This browser can’t receive push notifications.":t?"Blocked for this app — allow notifications in your device settings, then come back.":e.enabled?`On for this device${e.devices>1?` · ${e.devices} devices subscribed`:""}.`:"Get a ping when an agent finishes its turn or hits an error.";return x.jsxs("div",{className:"w-full shrink-0 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(I6,{size:16,className:he("shrink-0",e.enabled?"text-accent":"text-muted")}),x.jsx("span",{children:"Notifications"})]}),x.jsx("button",{type:"button",role:"switch","aria-checked":e.enabled,"aria-label":"Notifications on this device",disabled:a||t||e.busy,onClick:()=>{e.enabled?e.disable():e.enable()},className:he("relative h-6 w-11 shrink-0 rounded-full transition-colors",e.enabled?"bg-accent":"border border-border bg-surface",(a||t||e.busy)&&"opacity-40"),children:x.jsx("span",{className:he("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",e.enabled?"translate-x-5":"translate-x-0")})})]}),x.jsx("p",{className:"mt-1 text-xs text-muted",children:l}),e.error?x.jsx("p",{className:"mt-1 text-xs text-del",children:e.error}):null,e.enabled?x.jsx("button",{type:"button",onClick:()=>{e.test()},disabled:e.busy,className:"mt-1.5 text-xs text-muted underline-offset-2 hover:underline disabled:opacity-50",children:"Send a test notification"}):null]})}const hI=[{label:"1h",seconds:3600},{label:"4h",seconds:4*3600,className:"hidden min-[400px]:block"},{label:"10h",seconds:10*3600}];function su(e){if(!e)return"until you turn it off";const t=new Date(e),a=t.toDateString()===new Date().toDateString(),l=t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return a?`until ${l}`:`until ${t.toLocaleDateString([],{weekday:"short"})} ${l}`}function pI(){const[e,t]=w.useState(null),[a,l]=w.useState(!1),[s,o]=w.useState(null),[c,d]=w.useState(!1),[f,h]=w.useState(!1),[m,p]=w.useState(""),[y,b]=w.useState(null),[v,k]=w.useState("idle"),[C,A]=w.useState(null),F=w.useCallback(async()=>{try{t(await we.settings()),o(null)}catch(T){o(T instanceof Error?T.message:String(T))}},[]);w.useEffect(()=>{F()},[F]);const M=async T=>{l(!0),o(null);try{return await T(),await F(),!0}catch(V){return o(V instanceof Error?V.message:String(V)),!1}finally{l(!1)}},N=async T=>{l(!0),o(null);try{const V=await we.restartConductor(T);A(V.ms??0),k("idle"),await F()}catch(V){V instanceof dn&&V.status===409&&k("agents"),o(V instanceof Error?V.message:String(V))}finally{l(!1)}},S=async T=>{T.preventDefault();const V=mD(m);if(V===null){b("Use a duration like 80h, 90m, or a number of seconds.");return}if(V<1){b("Choose a duration longer than zero.");return}const Z=e?.nosleep.maxSeconds??168*3600;if(V>Z){b(`Choose a duration up to ${Math.round(Z/3600)}h.`);return}b(null),d(!1),await M(()=>we.armNoSleep(V))&&h(!1)},D=e?.nosleep,R=e?.screenLocked===!0,O=e?.wifi.known??[],P=e?.settings.fallbackSsids[0]??"";return x.jsxs("div",{className:"flex w-full shrink-0 flex-col gap-2.5 rounded-xl border border-border bg-surface-2 px-3 py-2.5",children:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(l9,{size:16,className:he("shrink-0",D?.armed?"text-accent":"text-muted")}),x.jsx("span",{children:"Keep the Mac awake"})]}),D?.armed?x.jsx("button",{type:"button",disabled:a,onClick:()=>{M(async()=>{const T=await we.disarmNoSleep();d(T.willSleep===!0)})},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Let it sleep"}):x.jsxs("div",{className:"flex shrink-0 gap-1",children:[hI.map(T=>x.jsx("button",{type:"button",disabled:a||!D?.available,onClick:()=>{M(()=>(h(!1),b(null),d(!1),we.armNoSleep(T.seconds)))},className:he("rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-40",T.className),children:T.label},T.seconds)),x.jsx("button",{type:"button",disabled:a||!D?.available,"aria-label":"Choose a custom keep-awake duration","aria-expanded":f,onClick:()=>{b(null),h(T=>!T)},className:he("grid size-[30px] place-items-center rounded-lg border border-border active:bg-surface disabled:opacity-40",f&&"bg-surface text-accent"),children:x.jsx(q6,{size:14})})]})]}),!D?.armed&&f?x.jsxs("form",{onSubmit:S,className:"fade-in flex items-center justify-end gap-1.5",children:[x.jsx("label",{htmlFor:"awake-duration",className:"text-xs text-muted",children:"Keep awake for"}),x.jsx("input",{id:"awake-duration",type:"text",required:!0,value:m,disabled:a,placeholder:"e.g. 80h",autoCapitalize:"none",autoCorrect:"off",onChange:T=>{p(T.target.value),b(null)},className:"h-[30px] w-[6.5rem] rounded-lg border border-border bg-surface px-2 text-xs text-text disabled:opacity-40"}),x.jsx("button",{type:"submit",disabled:a||!m.trim(),className:"h-[30px] rounded-lg bg-accent px-2.5 text-xs font-medium text-on-solid active:opacity-80 disabled:opacity-40",children:a?"Setting…":"Set"})]}):null,y?x.jsx("p",{className:"text-right text-xs text-del",children:y}):null,x.jsx("p",{className:"text-xs text-muted",children:e?D?.available?D.armed?D.preventsScreenLock?R?`Awake ${su(D.until)}, lid closed. It blocks the idle screen lock from starting; it can’t lift one already up.`:`Awake ${su(D.until)}, lid closed. The idle screen lock is off; anyone at the Mac can use it.`:`Awake ${su(D.until)}, lid closed. Sends park if macOS locks.`:c?"The lid is shut, so the Mac is going to sleep now — this app will be unreachable until you wake it.":"Stops system sleep. Screen-lock behavior follows the Mac CLI configuration.":"Run `conductor-remote nosleep setup` on the Mac to install or refresh the helper.":"Checking…"}),R?x.jsxs("p",{className:"text-xs text-del",children:["The Mac is locked right now, so writes park until it’s unlocked. ",x.jsx(Aa,{})]}):null,x.jsxs("div",{className:"border-t border-border pt-2.5",children:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(i9,{size:16,className:he("shrink-0",e?.settings.autoRejoin?"text-accent":"text-muted")}),x.jsx("span",{children:"Fallback network"})]}),P?x.jsx("button",{type:"button",disabled:a,onClick:()=>{M(()=>we.patchSettings({fallbackSsids:[],autoRejoin:!1}))},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Turn off"}):null]}),P?x.jsxs("p",{className:"mt-1 text-xs text-muted",children:["Auto-joins ",x.jsx("span",{className:"text-fg",children:P})," when the primary network drops."]}):x.jsx(mI,{known:O,hotspots:e?.wifi.likelyHotspots??[],busy:a,onPick:T=>{M(()=>we.patchSettings({fallbackSsids:[T],autoRejoin:!0}))}}),e?.wifi.autoJoinHotspot==="Never"?x.jsx("p",{className:"mt-1 text-xs text-faint",children:"Auto-join Hotspot is off on this Mac (System Settings ▸ Wi-Fi). Your hotspot has to be on and broadcasting before the Mac can join it."}):null]}),x.jsxs("div",{className:"border-t border-border pt-2.5",children:[x.jsxs("div",{className:"flex items-center justify-between gap-3",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-2 text-sm",children:[x.jsx(t9,{size:16,className:"shrink-0 text-muted"}),x.jsx("span",{children:"Restart Conductor"})]}),v==="idle"?x.jsx("button",{type:"button",disabled:a,onClick:()=>{A(null),o(null),k("confirm")},className:"shrink-0 rounded-lg border border-border px-2.5 py-1 text-xs active:bg-surface disabled:opacity-50",children:"Restart"}):null]}),C!==null?x.jsxs("p",{className:"mt-1 text-xs text-muted",children:["Quit and reopened in ",(C/1e3).toFixed(1),"s. Send a prompt to check an agent answers."]}):null,v!=="idle"?x.jsxs("div",{className:"fade-in mt-2 rounded-xl border border-del/40 bg-del/10 px-3 py-2.5 text-left",children:[x.jsx("p",{className:"text-sm font-medium",children:v==="agents"?"Agents are still working":"Restart Conductor?"}),x.jsx("p",{className:"mt-1 text-xs text-muted",children:v==="agents"?"Restarting ends their turns. Everything they have already written stays in the chat.":"The app closes and opens again, which takes about ten seconds. Anything mid-turn stops."}),x.jsxs("div",{className:"mt-2.5 flex gap-2",children:[x.jsx("button",{type:"button",onClick:()=>{k("idle"),o(null)},className:"flex-1 rounded-lg border border-border bg-surface-2 px-3 py-2 text-sm active:bg-surface",children:"Cancel"}),x.jsx("button",{type:"button",disabled:a,onClick:()=>{N(v==="agents")},className:"flex-1 rounded-lg bg-del px-3 py-2 text-sm font-semibold text-on-solid active:opacity-80 disabled:opacity-50",children:a?"Restarting…":v==="agents"?"Stop agents and restart":"Restart"})]})]}):null]}),s?x.jsxs("p",{className:"text-xs text-del",children:[s," ",Tr(s)?x.jsx(Aa,{}):null]}):null]})}function mI({known:e,hotspots:t,busy:a,onPick:l}){const[s,o]=w.useState("");if(e.length===0)return x.jsx("p",{className:"mt-1 text-xs text-muted",children:"No saved Wi-Fi networks to offer."});const c=new Set(t),d=s.trim().toLowerCase(),f=e.filter(p=>!d||p.toLowerCase().includes(d)),h=f.find(p=>c.has(p)),m=(h?[h,...f.filter(p=>p!==h)]:f).slice(0,6);return x.jsxs(x.Fragment,{children:[x.jsx("p",{className:"mt-1 text-xs text-muted",children:"Turn your hotspot on before you leave, and the Mac can move to it if the office Wi-Fi drops."}),x.jsx("input",{type:"search",value:s,disabled:a,onChange:p=>o(p.target.value),placeholder:`Search ${e.length} saved networks`,className:"mt-2 w-full rounded-lg border border-border bg-surface px-2 py-1.5 text-xs disabled:opacity-40"}),x.jsxs("div",{className:"mt-1.5 flex flex-col gap-1",children:[m.map(p=>x.jsxs("button",{type:"button",disabled:a,onClick:()=>l(p),className:"flex items-center justify-between gap-2 rounded-lg border border-border px-2.5 py-1.5 text-left text-xs active:bg-surface disabled:opacity-50",children:[x.jsx("span",{className:"truncate",children:p}),c.has(p)?x.jsx("span",{className:"shrink-0 text-faint",children:"likely hotspot"}):null]},p)),m.length===0?x.jsxs("p",{className:"text-xs text-faint",children:["Nothing matches “",s,"”."]}):null]}),!d&&e.length>m.length?x.jsxs("p",{className:"mt-1 text-xs text-faint",children:["Most recently joined. Search to reach the other ",e.length-m.length,"."]}):null]})}const gI={info:"text-muted",warn:"text-working",error:"text-del"};function nr(e){return String(e).padStart(2,"0")}function EI(e){if(e==null)return"·";const t=new Date(e);return`${nr(t.getHours())}:${nr(t.getMinutes())}:${nr(t.getSeconds())}`}function n6(e){if(e==null)return" ";const t=new Date(e);return`${t.getFullYear()}-${nr(t.getMonth()+1)}-${nr(t.getDate())} ${nr(t.getHours())}:${nr(t.getMinutes())}:${nr(t.getSeconds())}`}function yI(e){return e<1024?`${e} B`:e<1024*1024?`${Math.round(e/1024)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function a6(e){const t=Math.max(0,Math.round(e/1e3));if(t<90)return`${t}s ago`;const a=Math.round(t/60);if(a<60)return`${a}m ago`;const l=Math.round(a/60);return l<48?`${l}h ago`:`${Math.round(l/24)}d ago`}function bI({onClose:e}){const[t,a]=w.useState(null),[l,s]=w.useState(!1),[o,c]=w.useState(null),{data:d,isLoading:f,isError:h,error:m}=VF(t,!0),p=w.useRef(null),y=w.useRef(!0),b=w.useMemo(()=>(d?.entries??[]).filter(C=>!l||C.level!=="info"),[d,l]);w.useEffect(()=>{const C=p.current;C&&y.current&&b.length&&(C.scrollTop=C.scrollHeight)},[b]);const v=async()=>{const C=`# conductor-remote ${t??"live"} log · app v1.108.2 · copied ${n6(Date.now())}`,A=b.map(F=>`${n6(F.t)} ${F.level==="info"?"":F.level.toUpperCase()} ${F.text}`);try{await navigator.clipboard.writeText([C,...A].join(`
58
+ `)),c("ok")}catch{c("failed")}setTimeout(()=>c(null),2e3)},k=[{key:null,label:"Live",hint:d?`since ${a6(d.now-d.startedAt)}`:void 0},...(d?.files??[]).map(C=>({key:C.name,label:C.name,hint:yI(C.size)}))];return Yn.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:e,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Relay logs",className:"fade-in pt-safe pb-safe fixed inset-0 z-50 mx-auto flex flex-col bg-bg md:inset-6 md:rounded-3xl md:border md:border-border-soft",children:[x.jsxs("div",{className:"flex items-center justify-between gap-2 border-b border-border-soft px-4 py-3",children:[x.jsxs("div",{className:"min-w-0",children:[x.jsx("h2",{className:"text-base font-semibold",children:"Relay logs"}),x.jsx("p",{className:"truncate text-xs text-muted",children:d?`${b.length} line${b.length===1?"":"s"} · relay started ${a6(d.now-d.startedAt)}`:"Loading…"})]}),x.jsx("button",{type:"button",onClick:e,"aria-label":"Close",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(y0,{size:18})})]}),x.jsx("div",{className:"flex gap-1.5 overflow-x-auto border-b border-border-soft px-3 py-2",children:k.map(C=>x.jsxs("button",{type:"button",onClick:()=>{y.current=!0,a(C.key)},className:he("pill shrink-0 whitespace-nowrap",C.key===t&&"pill-active"),children:[C.label,C.hint?x.jsx("span",{className:"ml-1.5 text-[11px] text-faint",children:C.hint}):null]},C.key??"live"))}),t&&d&&!d.managed?x.jsx("p",{className:"border-b border-border-soft bg-working/10 px-4 py-2 text-xs text-working",children:"This file belongs to the installed daemon — this relay isn’t the one writing it. Its own output is under Live."}):null,x.jsx("div",{ref:p,onScroll:C=>{const A=C.currentTarget;y.current=A.scrollHeight-A.scrollTop-A.clientHeight<40},className:"min-h-0 flex-1 overflow-y-auto px-3 py-2 font-mono text-[11px] leading-relaxed",children:f&&!d?x.jsx(hn,{label:"Reading logs…"}):h?x.jsx($t,{children:m?.message}):b.length===0?x.jsx($t,{children:l?"No warnings or errors logged.":"Nothing logged yet — the relay has been quiet."}):b.map((C,A)=>x.jsxs("div",{className:"flex gap-2 whitespace-pre-wrap break-words py-px",children:[x.jsx("span",{className:"shrink-0 text-faint",children:EI(C.t)}),x.jsx("span",{className:he("min-w-0 flex-1",gI[C.level]),children:C.text})]},A))}),x.jsxs("div",{className:"flex items-center gap-2 border-t border-border-soft px-3 py-2.5",children:[x.jsx("button",{type:"button",onClick:()=>s(C=>!C),className:he("pill shrink-0",l&&"pill-active"),children:"Problems only"}),x.jsxs("button",{type:"button",onClick:v,className:"ml-auto flex items-center justify-center gap-2 rounded-xl border border-border bg-surface-2 px-4 py-2.5 text-sm active:bg-surface",children:[o==="ok"?x.jsx(ka,{size:16}):x.jsx(ix,{size:16}),o==="ok"?"Copied":o==="failed"?"Copy blocked — select by hand":"Copy"]})]})]})]}),document.body)}function vI(e){return e.online?e.repoStatus==="loading"?"Loading repositories…":e.repoStatus==="error"?"Couldn’t load repositories.":e.repoStatus==="empty"?"No Conductor repositories are available.":e.repoStatus==="required"?"Choose a repository to continue.":e.uploading?"Wait for attachments to finish uploading.":e.attachmentError?"Remove failed attachments to continue.":e.workflowMode?e.hasInitialPrompt?e.workflowLoading?"Loading Workflow roles…":e.workflowReady?null:e.workflowProblem??"Workflow roles are unavailable.":"Describe what the workflow should accomplish.":null:"Reconnect to the relay to continue."}const Cp="conductor-remote-send-immediately";function CI(){try{return localStorage.getItem(Cp)!=="off"}catch{return!0}}function kI(e){try{localStorage.setItem(Cp,e?"on":"off")}catch{}}function AI(e){e&&we.discardStagedAttachment(e).catch(()=>{})}function BI({onClose:e}){const t=N9(),{data:a}=t,l=fo(),s=j9(),{roles:o,planningRole:c,problem:d,ready:f}=R9(),h=Ce(W=>W.lastNewWorkspaceRepo),m=Ce(W=>W.setLastNewWorkspaceRepo),[p,y]=w.useState(h),b=Ce(W=>W.drafts[ya]??""),v=Ce(W=>W.draftAttachments[ya]??tp),k=w.useMemo(()=>v.filter(W=>!!W.stageId),[v]),C=Ce(W=>W.setDraft),A=Ce(W=>W.addDraftAttachment),F=Ce(W=>W.removeDraftAttachment),M=Ce(W=>W.clearDraftContent),N=Ce(W=>W.workflowClientId),S=Ce(W=>W.finishWorkflowAttempt),D=Ce(W=>W.setFocusedDraft),R=W=>C(ya,W),[O,P]=w.useState({}),[T,V]=w.useState(!1),[Z,re]=w.useState(!1),[ee,Q]=w.useState(CI),[G,Y]=w.useState(!1),[le,xe]=w.useState(null),j=Or(),L=O0(),$=M9(),z=Ce(W=>W.online),ie=np({draftKey:ya,ready:k,enabled:z,upload:async(W,Ne)=>(await we.stageAttachment(Ne)).attachment,accept:A,removeReady:F,discard:W=>AI(W.stageId)}),be=ie.cancelPending;w.useEffect(()=>()=>{Ce.getState().focusedDraft===ya&&D(null),Bu()},[D]);const X=a?.repos??[],me=X.find(W=>W.name===p);w.useEffect(()=>{X.length&&!X.some(W=>W.name===p)&&y(X[0].name)},[p,X]);const He=ie.uploading,Be=ie.hasError,tt=!!b.trim()||k.length>0,ct=l.data?.groups.flatMap(W=>W.models)??[],De=l.data?.defaultModel,_t=me?"selected":t.isLoading?"loading":t.isError?"error":X.length===0?"empty":"required",Fe=vI({online:z,repoStatus:_t,uploading:He,attachmentError:Be,workflowMode:T,hasInitialPrompt:tt,workflowReady:f,workflowLoading:o.isLoading,workflowProblem:d}),ne=G||Fe!==null,Oe=O.model??De??null,rt=T?c?.model??"Planning role":Oe,Ct=Cx(null,Oe),Et=kx(null,Oe),p0=Ax(null,Oe),nt=YS(Oe,s.data?.defaultEfforts),b0=T?c?.effort:O.effort??nt,ge=Object.keys(O).length>0,Me=w.useCallback(W=>P(Ne=>{const Ze={...Ne,...W};return Object.fromEntries(Object.entries(Ze).filter(([,Ke])=>Ke!==void 0))}),[]);w.useEffect(()=>{T||!Ct&&O.plan!==void 0&&Me({plan:void 0})},[T,Ct,O.plan,Me]),w.useEffect(()=>{!Et&&O.effort!==void 0&&Me({effort:void 0}),!p0&&O.fast!==void 0&&Me({fast:void 0})},[O.effort,O.fast,Et,p0,Me]);const A0=w.useCallback(()=>{be(),e()},[be,e]),se=async()=>{const W=b.trim();if(!ne){Y(!0),xe(null);try{if(T){const Ze=[...k.map(Dt=>Dt.token),W].filter(Boolean).join(`
59
+ `),Ke={kind:"new_workspace",repo:p,sendImmediately:ee},Kt="workflow:new-workspace",v0=N(Kt,m9(Ze,Ke)),Wt=await $({clientId:v0,objective:Ze,target:Ke});M(ya),S(Kt,v0),e(),Wt.workflow.workspaceId&&j(`/w/${Wt.workflow.workspaceId}`);return}const Ne=await we.createWorkspace({repo:p,prompt:W,sendImmediately:ee,attachmentIds:k.flatMap(Ze=>Ze.stageId?[Ze.stageId]:[]),...O});if(!Ne.ok||!Ne.workspaceId){xe(Ne.error??"could not create the workspace");return}await L.invalidateQueries({queryKey:["state"]}),M(ya),e(),j(`/w/${Ne.workspaceId}`)}catch(Ne){xe(Ne instanceof Error?Ne.message:"could not create the workspace")}finally{Y(!1)}}};return w.useEffect(()=>{const W=Ne=>{Ne.key==="Escape"&&(Z?re(!1):A0())};return window.addEventListener("keydown",W),()=>window.removeEventListener("keydown",W)},[A0,Z]),Yn.createPortal(x.jsxs("div",{className:"fixed inset-0 z-50 flex flex-col bg-bg",children:[x.jsxs("header",{className:"pt-safe flex items-center gap-2 border-b border-border-soft px-3 pb-2.5",children:[x.jsx("span",{className:"flex-1 text-[15px] font-semibold",children:"New workspace"}),x.jsx("button",{type:"button",onClick:A0,"aria-label":"Close",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(y0,{size:20})})]}),x.jsxs("div",{className:"flex min-h-0 flex-1 flex-col gap-3 overflow-y-auto p-3",children:[x.jsxs("div",{className:"relative",children:[x.jsxs("button",{type:"button",onClick:()=>re(W=>!W),"aria-haspopup":"menu","aria-expanded":Z,className:"flex w-full items-center gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 text-left transition active:bg-surface-2",children:[me?x.jsx(ns,{icon:me.icon,name:me.name,artwork:"inset"}):null,x.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px] font-medium",children:me?.name??"Choose a repo"}),x.jsx(Ba,{size:18,className:he("shrink-0 text-muted transition",Z&&"rotate-180")})]}),Z?x.jsx("ul",{className:"absolute inset-x-0 top-full z-10 mt-1 max-h-72 overflow-y-auto rounded-2xl border border-border bg-surface py-1 shadow-xl",children:X.map(W=>x.jsx("li",{children:x.jsxs("button",{type:"button",onClick:()=>{y(W.name),m(W.name),re(!1)},className:"flex w-full items-center gap-3 px-3 py-2 text-left active:bg-surface-2",children:[x.jsx(ns,{icon:W.icon,name:W.name,artwork:"inset"}),x.jsx("span",{className:"min-w-0 flex-1 truncate text-[15px]",children:W.name}),W.name===p?x.jsx(ka,{size:16,className:"shrink-0 text-accent"}):null]})},W.name))}):null]}),x.jsxs("fieldset",{"aria-label":"First message",...ie.dropTargetProps,className:he("relative m-0 min-w-0 rounded-2xl border border-border bg-surface p-2 has-[textarea:focus]:border-accent/60",ie.dragging&&"border-accent bg-accent-soft"),children:[x.jsx(ap,{uploads:ie}),x.jsx("textarea",{value:b,onChange:W=>R(W.target.value),onFocus:()=>D(ya),onBlur:()=>{Ce.getState().focusedDraft===ya&&D(null),Bu()},placeholder:T?"What should the workflow accomplish?":"What should the agent do? (optional)",rows:6,autoFocus:!0,className:"block w-full resize-none bg-transparent px-2 py-1 text-base outline-none placeholder:text-faint",onPaste:ie.onPaste,onKeyDown:W=>{Xh(W)&&(W.preventDefault(),se())}}),x.jsxs("div",{className:"mt-1 flex items-start gap-1 px-1",children:[x.jsx(Jh,{model:rt??"Model",providerModel:T?c?.model??null:rt,agentType:T&&c?jl(c.model)??null:null,models:ct,modelsFetching:l.isFetching,modelsError:l.isError,defaultModel:De,fast:T?c?.fast:O.fast,effort:b0,plan:O.plan,planAvailable:Ct,showEmptyEffort:!0,modelStaged:!T&&O.model!==void 0,fastStaged:!T&&O.fast!==void 0,effortStaged:!T&&O.effort!==void 0,planStaged:O.plan!==void 0,onModelChange:W=>Me({model:W===(O.model??De)?void 0:W}),onFastChange:()=>Me({fast:O.fast===void 0?!0:O.fast?!1:void 0}),onEffortChange:()=>Me({effort:KS(b0,nt)}),onPlanChange:()=>Me({plan:O.plan===void 0?!0:O.plan?!1:void 0}),freezeAgent:T,beforeModel:x.jsx(ep,{active:T,onChange:W=>{V(W),xe(null)}}),status:T?f?"Planning role frozen for this Workflow":o.isLoading?"Loading Workflow roles…":void 0:ge?"Applies when the workspace opens":void 0}),x.jsx(rp,{uploads:ie,disabled:!z})]}),T&&d?x.jsx("div",{className:"px-2 pb-1 text-xs text-del",children:d}):null]}),x.jsxs("label",{className:he("flex items-start gap-3 rounded-2xl border border-border bg-surface px-3 py-2.5 transition active:bg-surface-2",!tt&&"opacity-40"),children:[x.jsx("input",{type:"checkbox",checked:ee,disabled:!tt,onChange:W=>{Q(W.target.checked),kI(W.target.checked)},className:"sr-only"}),x.jsx("span",{className:he("mt-0.5 flex size-[18px] shrink-0 items-center justify-center rounded-md border transition",ee?"border-accent bg-accent text-bg":"border-border"),children:ee?x.jsx(ka,{size:13,strokeWidth:3}):null}),x.jsxs("span",{className:"min-w-0 flex-1",children:[x.jsx("span",{className:"block text-[15px] font-medium",children:"Send immediately"}),x.jsx("span",{className:"block text-xs text-muted",children:ee?"The prompt goes as soon as the chat and attached files are ready, without waiting for setup.":"The prompt waits until the worktree has finished setting up."})]})]}),le?x.jsx("div",{className:"text-xs text-del",children:le}):null]}),x.jsxs("div",{className:"pb-safe border-t border-border-soft p-3",children:[x.jsx("div",{className:"mb-2 min-h-4 text-center text-xs leading-4 text-muted","aria-live":"polite",children:Fe?x.jsx("span",{id:"new-workspace-create-reason",children:Fe}):null}),x.jsx("button",{type:"button",onClick:se,disabled:ne,"aria-describedby":Fe?"new-workspace-create-reason":void 0,className:"w-full rounded-2xl bg-accent px-4 py-3 text-[15px] font-semibold text-bg transition active:scale-[0.985] disabled:opacity-40",children:G?T?"Starting workflow…":"Creating…":T?"Start workflow":tt?"Create & start":"Create empty workspace"})]})]}),document.body)}function wI(e){return e.replaceAll("_"," ").replace(/\b\w/g,t=>t.toUpperCase())}function DI(e){return{free:"Free",go:"Go",plus:"Plus",pro:"Pro",prolite:"Pro Lite",max:"Max",team:"Team",business:"Business",enterprise:"Enterprise",edu:"Education",self_serve_business_usage_based:"Business",enterprise_cbp_usage_based:"Enterprise"}[e]??wI(e)}function FI(e,t=Date.now()){if(e===null)return"Reset time unavailable";const a=e-t;return a>0&&a<3600*1e3?`Resets in ${Math.max(1,Math.round(a/6e4))}m`:a>0&&a<1440*60*1e3?`Resets in ${Math.max(1,Math.round(a/36e5))}h`:`Resets ${new Date(e).toLocaleString([],{weekday:"short",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}`}function SI({window:e}){const t=Math.round(e.usedPercent);return x.jsxs("div",{children:[x.jsxs("div",{className:"mb-1 flex items-baseline gap-2 text-xs",children:[x.jsxs("span",{className:"min-w-0 flex-1 truncate text-muted",children:[e.active?x.jsx("span",{className:"mr-1.5 inline-block size-1.5 rounded-full bg-working"}):null,e.label]}),x.jsxs("span",{className:"font-medium tabular-nums text-text",children:[t,"%"]})]}),x.jsx("div",{role:"progressbar","aria-label":`${e.label}: ${t}% used`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":t,className:"h-1.5 overflow-hidden rounded-full bg-surface",children:x.jsx("div",{className:he("h-full rounded-full transition-[width]",t>=95?"bg-del":t>=80?"bg-working":"bg-accent"),style:{width:`${e.usedPercent}%`}})}),x.jsx("div",{className:"mt-1 text-[11px] text-faint",children:FI(e.resetsAt)})]})}const MI=[{provider:"claude",label:"Claude Code"},{provider:"codex",label:"Codex"},{provider:"cursor",label:"Cursor Agent"},{provider:"opencode",label:"OpenCode"}];function kp(e){return e==="claude"||e==="codex"?e:null}function NI({usage:e,defaultEffort:t,defaultsLoading:a=!1,savingDefault:l=!1,onDefaultEffortChange:s}){const o=kp(e.provider),c=t&&!_r.includes(t)?t:null,d=e.buckets.filter(f=>f.label!=="GPT-5.3-Codex-Spark"||f.windows.some(h=>h.usedPercent!==0));return x.jsxs("section",{className:"rounded-2xl border border-border bg-surface-2 p-3.5",children:[x.jsxs("div",{className:he("flex items-center gap-2",(o||d.length)&&"mb-3"),children:[x.jsx(zl,{agentType:e.provider,model:null,className:"size-5"}),x.jsx("h3",{className:"min-w-0 flex-1 truncate text-sm font-semibold",children:e.label}),e.plan?x.jsx("span",{className:"pill shrink-0 text-[11px]",children:DI(e.plan)}):null]}),o?x.jsxs("label",{className:"mb-3 flex items-center justify-between gap-3 rounded-xl border border-border-soft bg-surface px-3 py-2",children:[x.jsxs("span",{className:"min-w-0",children:[x.jsx("span",{className:"block text-xs font-medium",children:"Default effort"}),x.jsx("span",{className:"block text-[11px] text-faint",children:"New chats"})]}),x.jsxs("span",{className:"relative shrink-0",children:[x.jsxs("select",{"aria-label":`${e.label} default effort`,value:t??"",disabled:a||l||!s,onChange:f=>s?.(f.target.value),className:"h-8 min-w-28 appearance-none rounded-lg border border-border bg-surface-2 py-1 pl-2.5 pr-7 text-xs text-text outline-none disabled:opacity-50",children:[x.jsx("option",{value:"",disabled:!0,children:a?"Reading…":"Choose effort"}),c?x.jsx("option",{value:c,children:c}):null,_r.map(f=>x.jsx("option",{value:f,children:Ji[f]},f))]}),x.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-2 flex items-center text-faint",children:l?x.jsx(os,{size:12,className:"animate-spin"}):x.jsx(Ba,{size:12})})]})]}):null,d.length?x.jsx("div",{className:"space-y-4",children:d.map(f=>x.jsxs("div",{className:"space-y-3",children:[d.length>1||f.label!==e.label?x.jsx("div",{className:"text-xs font-medium text-muted",children:f.label}):null,f.windows.map(h=>x.jsx(SI,{window:h},h.id))]},f.id))}):e.status==="error"&&o?x.jsx("p",{className:"text-xs text-del",children:e.message??"Could not read plan usage."}):null]})}function _I(e){return new Date(e).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}function jI({onClose:e}){const t=IF(!0),a=j9(),l=O0(),[s,o]=w.useState(!1),[c,d]=w.useState(),[f,h]=w.useState(),[m,p]=w.useState(),y=MI.map(k=>t.data?.providers.find(C=>C.provider===k.provider)??{...k,status:"unavailable",plan:null,buckets:[]}),b=async()=>{if(!s){o(!0),d(void 0);try{const k=await we.planUsage(!0);l.setQueryData(["plan-usage"],k)}catch(k){d(k instanceof Error?k.message:"Could not refresh plan usage.")}finally{o(!1)}}},v=async(k,C)=>{if(f)return;h(k),p(void 0);const A=a.data;A&&l.setQueryData(["model-defaults"],{defaultEfforts:{...A.defaultEfforts,[k]:C}});try{const F=await we.patchModelDefaults({[k]:C});l.setQueryData(["model-defaults"],F)}catch(F){A&&l.setQueryData(["model-defaults"],A),p(F instanceof Error?F.message:"Could not save the default effort.")}finally{h(void 0)}};return Yn.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/60",onClick:e,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Models",className:"fade-in pb-safe fixed inset-x-0 bottom-0 z-50 mx-auto flex max-h-[85dvh] max-w-md flex-col rounded-t-3xl border border-border-soft bg-surface shadow-xl md:inset-0 md:m-auto md:h-fit md:rounded-3xl",children:[x.jsxs("div",{className:"flex shrink-0 items-center gap-2 border-b border-border-soft px-4 py-3",children:[x.jsxs("div",{className:"min-w-0 flex-1",children:[x.jsx("h2",{className:"text-base font-semibold",children:"Models"}),x.jsx("p",{className:"truncate text-xs text-muted",children:"Defaults and plan usage"})]}),x.jsx("button",{type:"button",onClick:()=>{b()},disabled:s||!t.data&&t.isLoading,"aria-label":"Refresh plan usage",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 disabled:opacity-40",children:x.jsx(os,{size:17,className:s?"animate-spin":void 0})}),x.jsx("button",{type:"button",onClick:e,"aria-label":"Close",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(y0,{size:18})})]}),x.jsxs("div",{className:"min-h-0 flex-1 space-y-3 overflow-y-auto overscroll-contain p-4",children:[y.map(k=>{const C=kp(k.provider);return x.jsx(NI,{usage:k,defaultEffort:C?a.data?.defaultEfforts[C]:void 0,defaultsLoading:a.isLoading||f!==void 0,savingDefault:f===C,onDefaultEffortChange:C?A=>{v(C,A)}:void 0},k.provider)}),t.isLoading&&!t.data?x.jsx("p",{className:"text-center text-xs text-faint",children:"Reading plan usage…"}):t.isError&&!t.data?x.jsx($t,{children:t.error?.message??"Could not read plan usage."}):null,c?x.jsx("p",{className:"text-xs text-del",children:c}):null,m?x.jsx("p",{className:"text-xs text-del",children:m}):null,a.isError?x.jsx("p",{className:"text-xs text-del",children:a.error?.message??"Could not read model defaults."}):null]}),t.data?x.jsxs("div",{className:"shrink-0 border-t border-border-soft px-4 py-2.5 text-[11px] text-faint",children:["Updated ",_I(t.data.fetchedAt)," · cached for one minute"]}):null]})]}),document.body)}function Dl(e){return e.mode==="all"?"All repos":e.repos.length?e.repos.length===1?e.repos[0]:`${e.repos.length} repos`:"No repos"}function Ap({repos:e,selected:t,onChange:a}){const l=e.filter(d=>wu(t,d.name)).length,s=t.mode==="all"||e.length>0&&l===e.length,o=!s&&l>0,c=d=>{a(BF(e.map(f=>f.name),t,d))};return x.jsxs(x.Fragment,{children:[x.jsx(r6,{checked:s,indeterminate:o,disabled:e.length===0,label:"All repos",className:"sticky top-0 z-[1] mb-0.5 border-b border-border-soft bg-inherit",onChange:()=>a(s?AF():Sl)}),e.map(d=>x.jsx(r6,{checked:wu(t,d.name),label:d.name,icon:x.jsx(ns,{icon:d.icon,name:d.name,artwork:"inset"}),onChange:()=>c(d.name)},d.name))]})}function r6({checked:e,indeterminate:t=!1,disabled:a=!1,label:l,icon:s,className:o,onChange:c}){const d=w.useRef(null);return w.useEffect(()=>{d.current&&(d.current.indeterminate=t)},[t]),x.jsxs("label",{className:he("flex min-w-0 items-center gap-2 px-2 py-0.5 text-left text-sm text-text",a?"cursor-default opacity-50":"cursor-pointer active:bg-surface",o),children:[x.jsx("input",{ref:d,type:"checkbox",checked:e,disabled:a,"aria-checked":t?"mixed":e,onChange:c,className:"peer sr-only"}),s??x.jsx("span",{className:"size-8 shrink-0"}),x.jsx("span",{className:"min-w-0 flex-1 truncate",children:l}),x.jsx("span",{className:he("flex size-4 shrink-0 items-center justify-center rounded border peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-accent",e||t?"border-accent bg-accent text-on-solid":"border-faint bg-surface"),children:t?x.jsx(AA,{size:12,strokeWidth:3,"aria-hidden":!0}):e?x.jsx(ka,{size:12,strokeWidth:3,"aria-hidden":!0}):null})]})}function TI({query:e,repoSelection:t,includeArchived:a,live:l,selectedId:s,onOpen:o}){const c=jF(e.trim(),250),d=Ex(t),f=t.mode==="selected"&&d.length===0,{data:h,isError:m,error:p,isFetching:y}=TF(f?"":c,d,a),b=w.useMemo(()=>yD(e),[e]),v=w.useMemo(()=>{const C=new Map;if(b.length)for(const A of l){if(t.mode==="selected"&&!(A.repo_name&&wu(t,A.repo_name)))continue;const F=[Qn(A),A.branch,A.repo_name,A.directory_name,A.session_title].filter(Boolean).join(" ").toLowerCase();b.every(M=>F.includes(M))&&C.set(A.id,{workspace:A,archived:!1,sessionId:null,snippets:[],hits:0})}for(const A of f?[]:h?.results??[]){if(!a&&A.workspace.archived)continue;const F=C.get(A.workspace.id);if(F){F.sessionId=A.sessionId,F.snippets=A.snippets,F.hits=A.hits;continue}C.set(A.workspace.id,{workspace:A.workspace,archived:A.workspace.archived,sessionId:A.sessionId,snippets:A.snippets,hits:A.hits})}return[...C.values()]},[l,h,b,t,f,a]),k=h?.index;return x.jsxs(x.Fragment,{children:[k&&!k.ready?x.jsxs("p",{className:"px-1 pb-2 text-xs text-faint",children:["Indexing chats… ",Math.round(k.progress*100),"% — older conversations aren’t searchable yet."]}):null,k?.error?x.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat index unavailable (",k.error,") — searching names only."]}):null,m?x.jsxs("p",{className:"px-1 pb-2 text-xs text-del",children:["Chat search unavailable (",p?.message,") — showing name matches only."]}):null,v.length===0?y||c!==e.trim()?x.jsx(hn,{}):m?null:x.jsx($t,{children:f?"No repos selected.":`Nothing matches “${e.trim()}”${d.length?` in ${Dl(t)}`:""}.`}):x.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:v.map(C=>x.jsx("li",{className:"fade-in",children:x.jsx(RI,{row:C,tokens:b,selected:C.workspace.id===s,onOpen:o})},C.workspace.id))})]})}const zI="card w-full flex-col items-stretch gap-0";function RI({row:e,tokens:t,selected:a,onOpen:l}){const s=e.workspace,o=s.directory_name?.toLowerCase(),c=`${Qn(s)} ${s.branch??""} ${s.repo_name??""}`.toLowerCase(),d=!!o&&t.some(h=>o.includes(h)&&!c.includes(h)),f=x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"flex items-start gap-3",children:[x.jsx(ns,{icon:s.icon,name:s.repo_name||Qn(s),artwork:"inset"}),x.jsxs("div",{className:"min-w-0 flex-1 overflow-hidden",children:[x.jsxs("div",{className:"flex items-center gap-2",children:[x.jsx("span",{className:"min-w-0 flex-1 truncate font-medium text-text",children:Qn(s)}),e.archived?x.jsx("span",{className:"shrink-0 rounded-md bg-surface-2 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-faint",children:"Archived"}):null]}),x.jsxs("div",{className:"mt-1 flex min-w-0 items-center gap-2 text-xs text-muted",children:[s.repo_name?x.jsx("span",{className:"shrink-0 font-mono text-faint",children:s.repo_name}):null,s.branch?x.jsx(Nf,{className:"min-w-0 flex-1 truncate",children:s.branch}):null,d?x.jsxs(Nf,{className:"shrink-0 text-faint",children:["dir ",s.directory_name]}):null,x.jsx("span",{className:"ml-auto shrink-0 pl-2 text-[11px] text-faint",children:_h(s.updated_at)})]})]})]}),e.snippets.length?x.jsxs("div",{className:"mt-2 flex flex-col gap-1.5 border-l-2 border-border-soft pl-2.5",children:[e.snippets.map(h=>x.jsx(LI,{snippet:h},`${h.sessionId}:${h.at}:${h.text.slice(0,24)}`)),e.hits>e.snippets.length?x.jsxs("span",{className:"text-[11px] text-faint",children:["+",e.hits-e.snippets.length," more messages"]}):null]}):null]});return x.jsx("button",{type:"button",className:he(zI,a&&"border-accent/50 bg-surface-2"),onClick:()=>l(s.id,e.sessionId),children:f})}const OI={user:"you",assistant:"agent",thinking:"thought"};function LI({snippet:e}){return x.jsxs("p",{className:"line-clamp-2 text-left text-xs leading-snug text-muted",children:[x.jsx("span",{className:`mr-1.5 text-[10px] uppercase tracking-wide ${e.role==="thinking"?"text-faint italic":"text-faint"}`,children:OI[e.role]}),CO(e.text).map((t,a)=>t.hit?x.jsx("mark",{className:"rounded bg-accent/25 px-0.5 text-text",children:t.text},a):x.jsx("span",{children:t.text},a))]})}function PI({live:e,selectedId:t,onOpen:a,onClose:l}){const[s,o]=w.useState(""),[c,d]=w.useState(Sl),[f,h]=w.useState(!0),[m,p]=w.useState(!1),y=w.useRef(null),v=(N9().data?.repos??[]).map(A=>({name:A.name,icon:A.icon}));for(const A of e)A.repo_name&&!v.some(F=>F.name===A.repo_name)&&v.push({name:A.repo_name,icon:A.icon});w.useEffect(()=>y.current?.focus(),[]),w.useEffect(()=>{const A=F=>{F.key==="Escape"&&(m?p(!1):l())};return window.addEventListener("keydown",A),()=>window.removeEventListener("keydown",A)},[l,m]);const k=Ex(c),C=c.mode==="selected";return Yn.createPortal(x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-50 bg-black/50",onClick:l,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Search workspaces and chats",className:"app-height fade-in pt-safe fixed inset-x-0 top-0 z-50 flex flex-col bg-bg md:inset-x-auto md:left-1/2 md:top-16 md:max-h-[70vh] md:w-[36rem] md:max-w-[92vw] md:-translate-x-1/2 md:rounded-2xl md:border md:border-border md:shadow-2xl",children:[x.jsxs("div",{className:"relative flex items-center gap-2 border-b border-border-soft px-3 py-2.5",children:[x.jsxs("div",{className:"relative min-w-0 flex-1",children:[x.jsx(n9,{size:15,className:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-faint"}),x.jsx("input",{ref:y,type:"text",inputMode:"search",enterKeyHint:"search",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,value:s,onChange:A=>o(A.target.value),placeholder:"Search workspaces and chats","aria-label":"Search workspaces and chats",className:"w-full rounded-xl border border-border bg-surface py-2 pl-8 pr-9 text-sm text-text placeholder:text-faint focus:border-accent/50 focus:outline-none"}),s?x.jsx("button",{type:"button",onClick:()=>{o(""),y.current?.focus()},"aria-label":"Clear search",className:"absolute right-1 top-1/2 flex size-7 -translate-y-1/2 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(y0,{size:15})}):null]}),x.jsx("button",{type:"button",onClick:()=>h(A=>!A),"aria-label":"Include archived workspaces","aria-pressed":f,title:f?"Search archived workspaces":"Archived workspaces excluded",className:he("flex size-9 shrink-0 items-center justify-center rounded-full active:bg-surface-2",f?"border border-accent/50 bg-accent/10 text-text":"text-muted"),children:f?x.jsx(lx,{size:18}):x.jsx(Eb,{size:18})}),x.jsxs("button",{type:"button",onClick:()=>p(A=>!A),"aria-label":C?`Repo filter: ${Dl(c)}`:"Filter by repo","aria-haspopup":"menu","aria-expanded":m,className:he("flex h-9 shrink-0 items-center justify-center gap-1 rounded-full text-sm active:bg-surface-2",C?"max-w-36 border border-accent/50 bg-accent/10 px-2.5 text-text":"size-9 text-muted"),children:[x.jsx(JC,{size:C?14:18,className:"shrink-0"}),C?x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"min-w-0 truncate",children:Dl(c)}),x.jsx(Ba,{size:14,className:he("shrink-0 text-faint transition-transform",m&&"rotate-180")})]}):null]}),x.jsx("button",{type:"button",onClick:l,"aria-label":"Close search",className:"-mr-1 flex size-9 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2",children:x.jsx(y0,{size:20})}),m?x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-10",onClick:()=>p(!1),"aria-hidden":!0}),x.jsx("div",{role:"menu","aria-label":"Repos to search",className:"fade-in absolute right-3 top-full z-20 mt-1 flex max-h-72 w-64 flex-col overflow-y-auto rounded-2xl border border-border bg-surface py-1 shadow-xl",children:x.jsx(Ap,{repos:v,selected:c,onChange:d})})]}):null]}),x.jsx("div",{className:"pb-safe min-h-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:s.trim()?x.jsx(TI,{query:s,repoSelection:c,includeArchived:f,live:e,selectedId:t,onOpen:a}):x.jsxs($t,{children:[C?k.length?`Workspaces and chats in ${Dl(c)}`:"No repos selected":"Every workspace on this Mac",f?", archived included":", excluding archived"," — by name, or by something said in the chat. Quote a “phrase” to require it word for word."]})})]})]}),document.body)}function GI(e){return!!e.workflow}const HI=e=>e==="creating_workspace"||e==="binding_root"||e==="pending_root"?"Accepted":e[0].toUpperCase()+e.slice(1);function VI(e,t){return e?.length?e.find(l=>l.agentType===(t??"unknown"))?.models??[...new Set(e.flatMap(l=>l.models))]:[]}function II({workspace:e,modelGroups:t}){if(GI(e)){const l=e.workflow?HI(e.workflow.phase):"Workflow";return x.jsxs("span",{title:`Managed Workflow · ${l}`,className:"ml-auto flex min-w-0 items-center gap-1 text-[11px] text-accent",children:[x.jsx(cs,{size:13,"aria-hidden":"true"}),x.jsxs("span",{className:"truncate",children:["Workflow · ",l]})]})}const a=o9(e.model,VI(t,e.agent_type));return a?x.jsxs("span",{className:"ml-auto flex min-w-0 items-center gap-1 text-[11px]",children:[x.jsx(zl,{agentType:e.agent_type,model:e.model,className:"size-3"}),x.jsx("span",{className:"truncate",children:a})]}):null}function UI(e,t){return[...e].sort((a,l)=>{const s=+!!l.pinned_at-+!!a.pinned_at;if(s)return s;if(t==="name")return Qn(a).localeCompare(Qn(l));const o=t==="created"?a.created_at:a.updated_at,c=t==="created"?l.created_at:l.updated_at,d=W0(c)-W0(o);return Number.isFinite(d)?d:c.localeCompare(o)})}function ZI(e,t){return t==="status"?Ux(e):t==="recent"?MO(e.updated_at):e.repo_name??""}function $I(e,t){if(t==="none")return[{key:"all",label:"",items:e}];const a=new Map;for(const l of e){const s=ZI(l,t),o=a.get(s);o?o.push(l):a.set(s,[l])}return t==="status"?[...Sf,...[...a.keys()].filter(s=>!Sf.includes(s))].filter(s=>a.has(s)).map(s=>({key:`status:${s}`,label:Gu(s),status:s,items:a.get(s)??[]})):t==="recent"?FO.filter(l=>a.has(l)).map(l=>({key:`recent:${l}`,label:SO(l),items:a.get(l)??[]})):[...a.keys()].sort((l,s)=>l.localeCompare(s)).map(l=>({key:`repo:${l}`,label:l||"No repo",items:a.get(l)??[]}))}function qI({selectedId:e}){const t=Or(),a=gp(),l=Ce(X=>X.setSidebarOpen),s=Ce(X=>X.view),o=Ce(X=>X.readMarks),c=Ce(X=>X.pending),d=Ce(X=>X.workingHints),f=Ce(X=>X.toggleGroup),[h,m]=w.useState(!1),[p,y]=w.useState(!1),[b,v]=w.useState(!1),[k,C]=w.useState(!1),[A,F]=w.useState(!1),[M,N]=w.useState(!1),[S,D]=w.useState(!1),{data:R,isLoading:O,isError:P,error:T}=yx(),V=R?.workspaces??[],Z=(R?.workflows??[]).filter(X=>!X.workspaceId),re=fo().data?.groups;w.useEffect(()=>{const X=me=>{(me.metaKey||me.ctrlKey)&&!me.shiftKey&&!me.altKey&&me.key.toLowerCase()==="k"&&(me.preventDefault(),D(He=>!He))};return window.addEventListener("keydown",X),()=>window.removeEventListener("keydown",X)},[]);const ee=new Map(V.map(X=>[X.repo_name,X.icon])),Q=Ex(s.repoSelection),G=[...new Set([...V.map(X=>X.repo_name).filter(X=>!!X),...Q])].sort().map(X=>({name:X,icon:ee.get(X)??null})),Y=s.repoSelection.mode==="all"?V:V.filter(X=>!!X.repo_name&&Q.includes(X.repo_name)),le=Y.filter(X=>X.id===e||!(s.hideMerged&&BO(X)||s.hideDone&&wO(X))),xe=Y.length-le.length,j=$I(UI(le,s.sortBy),s.groupBy),L=(X,me=null)=>{t(me?`/w/${X}?session=${encodeURIComponent(me)}`:`/w/${X}`),l(!1)},$=s.repoSelection.mode==="selected",z=$||s.hideMerged||s.hideDone,ie=Dl(s.repoSelection),be=CF({total:V.length,shown:le.length,hidden:xe,repoFiltered:$});return x.jsxs("div",{className:"flex h-full min-w-0 flex-col overflow-hidden",children:[x.jsxs("div",{className:"relative",children:[x.jsx(Uh,{children:x.jsxs("div",{role:"toolbar","aria-label":"Workspace controls",className:"flex w-full items-center justify-between px-3 pb-2.5",children:[x.jsx("button",{type:"button",onClick:()=>D(!0),"aria-label":"Search workspaces and chats",title:"Search (⌘K)",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",children:x.jsx(n9,{size:18})}),x.jsx("button",{type:"button",onClick:()=>F(!0),"aria-label":"Models",title:"Models",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",children:x.jsx(ak,{size:18})}),x.jsxs("button",{type:"button",onClick:()=>m(X=>!X),"aria-label":"View options",className:"relative flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",children:[x.jsx(XB,{size:18}),z?x.jsx("span",{className:"absolute right-1.5 top-1.5 size-1.5 rounded-full bg-accent"}):null]}),x.jsx("button",{type:"button",onClick:()=>y(!0),"aria-label":"Connect a device",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",children:x.jsx(e9,{size:18})}),x.jsx("button",{type:"button",onClick:()=>N(!0),"aria-label":"Open delegated roles",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",children:x.jsx(cs,{size:18})}),x.jsxs("button",{type:"button",onClick:a.openPanel,"aria-label":a.status==="idle"?"Call fleet orchestrator":"Open active call",title:"Control room",className:he("relative flex size-8 shrink-0 items-center justify-center rounded-full text-muted active:bg-surface-2 min-[360px]:size-9",a.status!=="idle"&&"bg-voice-soft text-voice"),children:[x.jsx(q1,{size:18}),a.status!=="idle"?x.jsx("span",{className:"absolute right-1 top-1 size-1.5 rounded-full bg-voice"}):null]}),x.jsx("button",{type:"button",onClick:()=>v(!0),"aria-label":"New workspace",className:"flex size-8 shrink-0 items-center justify-center rounded-full text-text active:bg-surface-2 min-[360px]:size-9",children:x.jsx(cx,{size:20})})]})}),h?x.jsx(YI,{repos:G,view:s,summary:be,onClose:()=>m(!1)}):null]}),x.jsxs("nav",{className:"pb-safe min-w-0 flex-1 overflow-y-auto overflow-x-hidden px-3 py-3",children:[Z.length?x.jsxs("section",{className:"mb-3 space-y-2","aria-label":"Accepted workflows waiting for a workspace",children:[x.jsx("div",{className:"px-1 text-xs font-semibold text-muted",children:"Accepted workflows"}),Z.map(X=>x.jsx(Hh,{workflow:X,compact:!0},X.id))]}):null,O&&!R?x.jsx(hn,{label:"Loading workspaces…"}):P?x.jsx(UO,{error:T}):V.length===0&&!Z.length?x.jsx($t,{children:"No active workspaces. Start one in Conductor and it’ll appear here."}):V.length>0&&le.length===0?x.jsxs($t,{children:[$?Q.length?`No workspaces in ${ie}`:"No repos selected":"No workspaces",xe?` — ${xe} ${xe===1?"one is":"ones are"} hidden.`:"."]}):j.map(X=>{const me=!!X.label&&s.collapsed.includes(X.key);return x.jsxs("section",{children:[X.label?x.jsxs("button",{type:"button",onClick:()=>f(X.key),className:"flex w-full items-center gap-2 px-1 py-2 text-sm font-semibold",children:[x.jsx(QI,{status:X.status}),x.jsx("span",{className:"truncate",children:X.label}),me?x.jsx("span",{className:"font-normal text-muted text-xs",children:X.items.length}):null,x.jsx(Ba,{size:14,className:he("ml-auto shrink-0 text-faint transition-transform",me&&"-rotate-90")})]}):null,me?null:x.jsx("ul",{className:"flex flex-col gap-2 pb-2",children:X.items.map(He=>{const Be=QD(He,o),tt=He.active_session_id?d[He.active_session_id]:void 0,ct=g9(c.filter(De=>De.workspaceId===He.id),[...He.pending_prompt?[He.pending_prompt]:[],...He.parked_prompts??[]],tt!==void 0&&Date.now()-tt<Du);return x.jsx("li",{className:"fade-in",children:x.jsx("button",{type:"button",className:he("card w-full px-3 py-2.5",He.id===e?"border-accent/50 bg-surface-2":Be&&"border-l-accent"),onClick:()=>L(He.id),children:x.jsx(XI,{w:He,unread:Be,selected:He.id===e,modelGroups:re,promptState:ct,showDiffs:s.showDiffs})})},He.id)})})]},X.key)})]}),p?x.jsx(uI,{version:R?.version,onLogs:()=>{y(!1),C(!0)},onClose:()=>y(!1)}):null,b?x.jsx(BI,{onClose:()=>v(!1)}):null,S?x.jsx(PI,{live:V,selectedId:e,onOpen:(X,me)=>{D(!1),L(X,me)},onClose:()=>D(!1)}):null,k?x.jsx(bI,{onClose:()=>C(!1)}):null,A?x.jsx(jI,{onClose:()=>F(!1)}):null,M?x.jsx(dp,{onClose:()=>N(!1)}):null]})}function QI({status:e}){if(!e)return null;const t=Zx[e];return t?x.jsx("span",{className:"dot size-2",style:{background:t}}):x.jsx("span",{className:"dot size-2 border border-faint bg-transparent"})}function YI({repos:e,view:t,summary:a,onClose:l}){const s=Ce(o=>o.setView);return x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"fixed inset-0 z-20",onClick:l,"aria-hidden":!0}),x.jsxs("div",{role:"dialog","aria-labelledby":"workspace-filters-title","aria-describedby":a?"workspace-filters-summary":void 0,className:"fade-in absolute right-2 top-full z-30 mt-1 flex w-64 flex-col gap-2.5 rounded-2xl border border-border bg-surface p-3 shadow-xl",children:[x.jsxs("div",{className:"border-b border-border-soft pb-2",children:[x.jsx("h2",{id:"workspace-filters-title",className:"text-sm font-semibold text-text",children:"Workspace filters"}),a?x.jsx("p",{id:"workspace-filters-summary",className:"mt-0.5 text-xs text-muted",children:a}):null]}),x.jsx(Ii,{id:"view-group",label:"Group by",children:x.jsx(i6,{id:"view-group",value:t.groupBy,onChange:o=>s({groupBy:o}),options:[["status","Status"],["recent","Recent"],["repo","Repo"],["none","None"]]})}),x.jsx(KI,{repos:e,selected:t.repoSelection,onChange:o=>s({repoSelection:o})}),x.jsx(Ii,{id:"view-sort",label:"Sort by",children:x.jsx(i6,{id:"view-sort",value:t.sortBy,onChange:o=>s({sortBy:o}),options:[["updated","Updated"],["created","Created"],["name","Name"]]})}),x.jsx(Ii,{id:"view-hide-merged",label:"Hide merged",children:x.jsx(l6,{id:"view-hide-merged",checked:t.hideMerged,label:"Hide workspaces whose PR has merged",onChange:o=>s({hideMerged:o})})}),x.jsx(Ii,{id:"view-hide-done",label:"Hide done",children:x.jsx(l6,{id:"view-hide-done",checked:t.hideDone,label:"Hide workspaces marked Done",onChange:o=>s({hideDone:o})})})]})]})}function KI({repos:e,selected:t,onChange:a}){const[l,s]=w.useState(!1);return x.jsxs("div",{className:"flex flex-col gap-1.5",children:[x.jsx(Ii,{id:"view-repo",label:"Repo",children:x.jsxs("button",{id:"view-repo",type:"button",onClick:()=>s(o=>!o),"aria-expanded":l,"aria-controls":"view-repo-options",className:"flex max-w-36 items-center gap-1 rounded-lg border border-border bg-surface-2 px-2 py-1.5 text-sm text-text",children:[x.jsx("span",{className:"truncate",children:Dl(t)}),x.jsx(Ba,{size:14,className:he("shrink-0 text-faint transition-transform",l&&"rotate-180")})]})}),l?x.jsx("div",{id:"view-repo-options",className:"flex max-h-48 flex-col overflow-y-auto rounded-lg border border-border bg-surface-2 py-0.5",children:x.jsx(Ap,{repos:e,selected:t,onChange:a})}):null]})}function l6({id:e,checked:t,label:a,onChange:l}){return x.jsx("button",{id:e,type:"button",role:"switch","aria-checked":t,"aria-label":a,onClick:()=>l(!t),className:he("relative h-6 w-11 shrink-0 rounded-full transition-colors",t?"bg-accent":"border border-border bg-surface-2"),children:x.jsx("span",{className:he("absolute left-0.5 top-0.5 size-5 rounded-full bg-white transition-transform",t?"translate-x-5":"translate-x-0")})})}function Ii({id:e,label:t,children:a}){return x.jsxs("div",{className:"flex items-center justify-between gap-3 text-sm text-muted",children:[x.jsx("label",{htmlFor:e,children:t}),a]})}function i6({id:e,value:t,options:a,onChange:l}){return x.jsx("select",{id:e,value:t,onChange:s=>l(s.target.value),className:"max-w-36 truncate rounded-lg border border-border bg-surface-2 px-2 py-1.5 text-sm text-text",children:a.map(([s,o])=>x.jsx("option",{value:s,children:o},s))})}function XI({w:e,unread:t,selected:a,modelGroups:l,promptState:s,showDiffs:o}){return x.jsxs(x.Fragment,{children:[x.jsxs("div",{className:"relative shrink-0",children:[x.jsx(ns,{icon:e.icon,name:e.repo_name||Qn(e),artwork:"full-bleed"}),x.jsx(PO,{w:e,promptState:s,className:"absolute -right-0.5 -bottom-0.5 bg-surface ring-2 ring-surface"}),e.run_active?x.jsx(GO,{className:"absolute -top-0.5 -left-0.5"}):null]}),x.jsxs("div",{className:"min-w-0 flex-1 space-y-1.25 overflow-hidden",children:[x.jsxs("div",{className:"flex min-w-0 items-center justify-between gap-2",children:[x.jsxs("div",{className:"flex min-w-0 items-center gap-1.5",children:[x.jsx("span",{className:he("min-w-0 truncate text-sm leading-none",t?"font-bold":"font-medium",t||a?"text-text":"text-muted"),children:Qn(e)}),e.pinned_at?x.jsx("span",{className:"shrink-0 text-xs text-faint",children:"📌"}):null,t>1?x.jsx(IO,{children:t}):t?x.jsx("span",{className:"dot size-2 bg-accent"}):null]}),o?x.jsx(qV,{stats:e.change_stats}):null]}),x.jsxs("div",{className:"flex min-w-0 items-end gap-2 text-xs text-muted",children:[x.jsx("span",{className:"shrink-0 text-[11px] text-faint",children:jh(e.updated_at)}),x.jsx(II,{workspace:e,modelGroups:l})]})]})]})}function WI(){SF();const e=Ce(t=>t.token);return x.jsxs(x.Fragment,{children:[x.jsx(vL,{}),e?x.jsxs(By,{children:[x.jsxs(Vi,{element:x.jsx(JI,{}),children:[x.jsx(Vi,{index:!0,element:x.jsx(eU,{})}),x.jsx(Vi,{path:"/w/:workspaceId",element:x.jsx(CV,{})})]}),x.jsx(Vi,{path:"*",element:x.jsx(Cy,{to:"/",replace:!0})})]}):x.jsx(RV,{})]})}function JI(){const e=ry("/w/:workspaceId"),t=Ce(o=>o.sidebarOpen),a=Ce(o=>o.setSidebarOpen),l=w.useRef(null),{data:s}=yx();return FF(l),XF(),qF(),_F(),x.jsxs(VV,{children:[x.jsxs("div",{className:"flex h-full min-h-0 flex-col overflow-hidden",children:[x.jsxs("div",{className:"flex min-h-0 flex-1 overflow-hidden",children:[t?x.jsx("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>a(!1),"aria-hidden":!0}):null,x.jsx("aside",{ref:l,className:he("fixed inset-y-0 left-0 z-50 flex w-[85%] max-w-80 flex-col border-r border-border-soft bg-bg transition-transform duration-200 ease-out","md:static md:z-auto md:w-72 md:max-w-none md:shrink-0 md:translate-x-0 md:transition-none lg:w-80",t?"translate-x-0":"-translate-x-full"),children:x.jsx(qI,{selectedId:e?.params.workspaceId})}),x.jsx("main",{className:"flex min-w-0 flex-1 flex-col",children:x.jsx(ky,{})})]}),s?.workflowWarning||s?.uiQuarantine?x.jsxs("div",{className:"pb-safe relative z-[60] shrink-0 border-t border-del/40",children:[x.jsx(cL,{warning:s.workflowWarning}),x.jsx(oL,{quarantine:s.uiQuarantine})]}):null]}),x.jsx(ZV,{})]})}function eU(){const e=Ce(t=>t.setSidebarOpen);return x.jsxs("div",{className:"grid h-full place-items-center",children:[x.jsx("button",{type:"button",onClick:()=>e(!0),className:"pill pill-active md:hidden",children:"Browse workspaces"}),x.jsx("span",{className:"hidden text-sm text-muted md:block",children:"Select a workspace"})]})}navigator.storage?.persist&&navigator.storage.persist().catch(()=>{});JV();const tU=new nE({defaultOptions:{queries:{staleTime:1e3,retry:1,refetchOnWindowFocus:!0}}}),Bp=document.getElementById("root");if(!Bp)throw new Error("#root missing");vE.createRoot(Bp).render(x.jsx(w.StrictMode,{children:x.jsx(rE,{client:tU,children:x.jsx(Ky,{children:x.jsx(WI,{})})})}));export{Ih as _,tM as a,gM as b,mf as c,he as d,fM as f,mM as h,x as j,nU as p,w as r,wx as s,iM as w};