@codexhost/cli-darwin-x64 0.19.0 → 0.21.0

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.
Files changed (63) hide show
  1. package/README.md +1 -1
  2. package/app/codexhost-distribution.json +1 -1
  3. package/app/console-server.mjs +45 -4
  4. package/app/console-web.js +1124 -684
  5. package/app/desktop-controller.mjs +197 -50
  6. package/app/host-runtime.mjs +36192 -29254
  7. package/app/plugins/antigravity/assets/icon.svg +1 -1
  8. package/app/plugins/antigravity/plugin.mjs +8863 -4094
  9. package/app/plugins/claude-code/plugin.mjs +173 -26
  10. package/app/plugins/codebuddy/plugin.mjs +71 -6
  11. package/app/plugins/codex-usage/plugin.mjs +56 -4
  12. package/app/plugins/copilot/plugin.mjs +48 -4
  13. package/app/plugins/cursor-cli/plugin.mjs +48 -4
  14. package/app/plugins/deepseek-harness/plugin.mjs +73 -9
  15. package/app/plugins/devin/plugin.mjs +47 -4
  16. package/app/plugins/grok/plugin.mjs +84 -13
  17. package/app/plugins/hermes/plugin.mjs +47 -4
  18. package/app/plugins/kimi-code/plugin.mjs +73 -14
  19. package/app/plugins/kiro-cli/plugin.mjs +48 -4
  20. package/app/plugins/omp/plugin.mjs +74 -7
  21. package/app/plugins/opencode/plugin.mjs +74 -13
  22. package/app/plugins/pi/plugin.mjs +75 -7
  23. package/app/plugins/qoder/plugin.mjs +85 -5
  24. package/app/plugins/qoder-cn/plugin.mjs +85 -5
  25. package/app/plugins/qwen-code/plugin.mjs +48 -4
  26. package/app/plugins/workbuddy/plugin.mjs +75 -9
  27. package/app/plugins/zcode/plugin.mjs +56 -4
  28. package/app/renderer-extension.js +1431 -737
  29. package/app/web/assets/index-BdmZfTRW.js +201 -0
  30. package/app/web/assets/index-DJW4bmyx.css +1 -0
  31. package/app/web/assets/langs/{graphql-B8vkg11W.js → graphql-ChAeyPkT.js} +1 -1
  32. package/app/web/assets/langs/{http-DmoDEjMt.js → http-BvreBIbD.js} +1 -1
  33. package/app/web/assets/langs/{php-DJ5ovfAM.js → php-D8omCIuJ.js} +1 -1
  34. package/app/web/assets/langs/{rst-U5-R5x3p.js → rst-Do7RLLCS.js} +1 -1
  35. package/app/web/assets/langs/{ruby-VKVsnS0H.js → ruby-rH_O_vse.js} +1 -1
  36. package/app/web/assets/langs/{svelte-C20lOv9V.js → svelte-xZy73wAj.js} +1 -1
  37. package/app/web/assets/langs/{vue-z6Y-lzP-.js → vue-C4DW8agZ.js} +1 -1
  38. package/app/web/assets/{vendor-dSL872WO.js → vendor-C9g2bw8s.js} +3 -3
  39. package/app/web/codexhost-settings.js +1130 -686
  40. package/app/web/index.html +4 -3
  41. package/app/web/plugins/deepseek-ai__dsh-api-gateway/client.js +2 -2
  42. package/app/web/plugins/deepseek-ai__dsh-api-remotes/client.js +1 -1
  43. package/app/web/plugins/deepseek-ai__dsh-api-session-controller/client.js +8 -8
  44. package/app/web/plugins/deepseek-ai__dsh-client-connection/client.js +1 -1
  45. package/app/web/plugins/deepseek-ai__dsh-client-ui-chat/client.js +74 -69
  46. package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +7 -7
  47. package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +27 -27
  48. package/app/web/plugins/deepseek-ai__dsh-client-ui-input-trigger/client.js +1 -1
  49. package/app/web/plugins/deepseek-ai__dsh-client-ui-layout/client.js +2 -2
  50. package/app/web/plugins/deepseek-ai__dsh-client-ui-model-selection/client.js +1 -1
  51. package/app/web/plugins/deepseek-ai__dsh-client-ui-session/client.js +1 -1
  52. package/app/web/plugins/deepseek-ai__dsh-client-ui-settings-general/client.js +1 -1
  53. package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar/client.js +1 -1
  54. package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar-documentpreview/client.js +9 -9
  55. package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +18 -18
  56. package/app/web/plugins/deepseek-ai__dsh-client-ui-workspace/client.js +7 -7
  57. package/app/web-modules/server.mjs +1144 -731
  58. package/bin/codexhost +0 -0
  59. package/libexec/codexhost-shim +0 -0
  60. package/libexec/codexhost-updater +0 -0
  61. package/package.json +1 -1
  62. package/app/web/assets/index-BNQIOOHE.css +0 -1
  63. package/app/web/assets/index-Feo4BkqN.js +0 -199
@@ -0,0 +1,201 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./langs/ruby-rH_O_vse.js","./langs/html-D5X2rnY9.js","./langs/javascript-DI5JR1nB.js","./langs/css-Z72CF80r.js","./langs/xml-sdJ4AIDG.js","./langs/java-CylS5w8V.js","./langs/sql-DkvoVjww.js","./langs/graphql-ChAeyPkT.js","./vendor-C9g2bw8s.js","./vendor-BNsW4eBh.css","./langs/cpp-DddhVWhK.js","./langs/c-BIGW1oBm.js","./langs/lua-BaeVxFsk.js","./langs/yaml-Buea-lGh.js","./langs/php-D8omCIuJ.js","./langs/scss-Cw6XMfVs.js","./langs/http-BvreBIbD.js","./langs/rst-Do7RLLCS.js","./langs/html-derivative-Cd6Og6Q7.js","./langs/python-B6aJPvgy.js","./langs/cmake-D1j8_8rp.js","./langs/latex-BK3a6r9z.js","./langs/r-Cf5RLm7j.js","./langs/julia-Cvj785wQ.js","./langs/erlang-DsQrWhSR.js","./langs/markdown-Cvjx9yec.js","./langs/elixir-23K7EnKp.js","./langs/fsharp-CXgrBDvD.js","./langs/perl-Devmrv7e.js","./langs/vue-C4DW8agZ.js","./langs/svelte-xZy73wAj.js"])))=>i.map(i=>d[i]);
2
+ import{c as Sg,a as jg,b as Eg,d as Mg,t as Ig,s as Og,j as Lg,e as He,f as A6,g as Tg,h as T4,i as Yu,u as zg,m as li,k as cn,l as mu,n as R6,o as F6,p as Pg,q as D6,r as Ng,v as z4,w as z0}from"./vendor-C9g2bw8s.js";function Ka(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const l=Object.getOwnPropertyDescriptor(r,s);l&&Object.defineProperty(e,s,l.get?l:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(s){if(s.ep)return;s.ep=!0;const l=n(s);fetch(s.href,l)}})();function hr(e){return e==null}function Ag(e){return!hr(e)}function Rg(e,t){return Object.fromEntries(Object.entries(e).map(([n,r])=>[n,t(r,n)]))}function Gn(e,t,n){return Object.defineProperty(e,t,{writable:!0,value:n,enumerable:!1})}const $6=Symbol.for("cosmokit.volatile.write");function _s(e){return typeof e=="object"&&e!==null&&$6 in e}function Fg(e){const t=new Set;function n(r,s){if(_s(r))return[{path:s,ref:r}];if(!r||typeof r!="object"||t.has(r))return[];if(!Array.isArray(r)&&Object.getPrototypeOf(r)!==Object.prototype&&Object.getPrototypeOf(r)!==null)return[];t.add(r);try{return Object.entries(r).flatMap(([l,u])=>n(u,[...s,l]))}finally{t.delete(r)}}return n(e,[])}function Dg(e,t){e[$6](t.get())}function ci(e,t){return arguments.length===1?n=>ci(e,n):e in globalThis&&t instanceof globalThis[e]||Object.prototype.toString.call(t).slice(8,-1)===e}function P0(e){return ci("ArrayBuffer",e)||ci("SharedArrayBuffer",e)}function $g(e){return P0(e)||ArrayBuffer.isView(e)}var fi;(e=>{e.is=P0,e.isSource=$g;function t(u){return ArrayBuffer.isView(u)?u.buffer.slice(u.byteOffset,u.byteOffset+u.byteLength):u}e.fromSource=t;function n(u){if(u=t(u),typeof Buffer<"u")return Buffer.from(u).toString("base64");let f="";const p=new Uint8Array(u);for(let m=0;m<p.byteLength;m++)f+=String.fromCharCode(p[m]);return btoa(f)}e.toBase64=n;function r(u){return typeof Buffer<"u"?t(Buffer.from(u,"base64")):Uint8Array.from(atob(u),f=>f.charCodeAt(0))}e.fromBase64=r;function s(u){return u=t(u),typeof Buffer<"u"?Buffer.from(u).toString("hex"):Array.from(new Uint8Array(u),f=>f.toString(16).padStart(2,"0")).join("")}e.toHex=s;function l(u){if(typeof Buffer<"u")return t(Buffer.from(u,"hex"));const f=u.length%2===0?u:u.slice(0,u.length-1),p=[];for(let m=0;m<f.length;m+=2)p.push(parseInt(`${f[m]}${f[m+1]}`,16));return Uint8Array.from(p).buffer}e.fromHex=l})(fi||(fi={}));fi.fromBase64;fi.toBase64;fi.fromHex;fi.toHex;function ui(e,t,n){const r=new Set;function s(l,u){if(l===u)return!0;if(_s(l)||_s(u))return _s(l)&&_s(u);if(!n&&hr(l)&&hr(u))return!0;if(typeof l!=typeof u||typeof l!="object"||!l||!u||r.has(l))return!1;function f(p,m){return p(l)?p(u)?m(l,u):!1:p(u)?!1:void 0}r.add(l);try{return f(Array.isArray,(p,m)=>{if(p.length!==m.length)return!1;for(let v=0;v<p.length;v++)if(!s(p[v],m[v]))return!1;return!0})??f(ci("Date"),(p,m)=>p.valueOf()===m.valueOf())??f(ci("URL"),(p,m)=>p.href===m.href)??f(ci("RegExp"),(p,m)=>p.source===m.source&&p.flags===m.flags)??f(P0,(p,m)=>{if(p.byteLength!==m.byteLength)return!1;const v=new Uint8Array(p),w=new Uint8Array(m);for(let y=0;y<v.length;y++)if(v[y]!==w[y])return!1;return!0})??((!n||[l,u].every(p=>Object.getPrototypeOf(p)===Object.prototype||Object.getPrototypeOf(p)===null))&&Object.keys({...l,...u}).every(p=>s(l[p],u[p])))}finally{r.delete(l)}}return s(e,t)}function Hg(e,t,n){const r=[];let s=0;for(let l=0;l<e.length;l++){const u=e.charCodeAt(l);if(u>=65&&u<=90){if(s===1){const f=e.charCodeAt(l+1);f>=97&&f<=122&&r.push(n),r.push(u+32)}else s!==0&&r.push(n),r.push(u+32);s=1}else u>=97&&u<=122?(r.push(u),s=2):t.includes(u)?(s!==0&&r.push(n),s=0):r.push(u)}return String.fromCharCode(...r)}function Vg(e){return Hg(e,[45,95],45)}const Bg=Vg;var P4;(e=>{e.millisecond=1,e.second=1e3,e.minute=e.second*60,e.hour=e.minute*60,e.day=e.hour*24,e.week=e.day*7;let t=new Date().getTimezoneOffset();function n(x){t=x}e.setTimezoneOffset=n;function r(){return t}e.getTimezoneOffset=r;function s(x=new Date,C){return typeof x=="number"&&(x=new Date(x)),C===void 0&&(C=t),Math.floor((x.valueOf()/e.minute-C)/1440)}e.getDateNumber=s;function l(x,C){const E=new Date(x*e.day);return C===void 0&&(C=t),new Date(+E+C*e.minute)}e.fromDateNumber=l;const u=/\d+(?:\.\d+)?/.source,f=new RegExp(`^${["w(?:eek(?:s)?)?","d(?:ay(?:s)?)?","h(?:our(?:s)?)?","m(?:in(?:ute)?(?:s)?)?","s(?:ec(?:ond)?(?:s)?)?"].map(x=>`(${u}${x})?`).join("")}$`);function p(x){const C=f.exec(x);return C?(parseFloat(C[1])*e.week||0)+(parseFloat(C[2])*e.day||0)+(parseFloat(C[3])*e.hour||0)+(parseFloat(C[4])*e.minute||0)+(parseFloat(C[5])*e.second||0):0}e.parseTime=p;function m(x){const C=p(x);return C?x=Date.now()+C:/^\d{1,2}(:\d{1,2}){1,2}$/.test(x)?x=`${new Date().toLocaleDateString()}-${x}`:/^\d{1,2}-\d{1,2}-\d{1,2}(:\d{1,2}){1,2}$/.test(x)&&(x=`${new Date().getFullYear()}-${x}`),x?new Date(x):new Date}e.parseDate=m;function v(x){const C=Math.abs(x);return C>=e.day-e.hour/2?Math.round(x/e.day)+"d":C>=e.hour-e.minute/2?Math.round(x/e.hour)+"h":C>=e.minute-e.second/2?Math.round(x/e.minute)+"m":C>=e.second?Math.round(x/e.second)+"s":x+"ms"}e.format=v;function w(x,C=2){return x.toString().padStart(C,"0")}e.toDigits=w;function y(x,C=new Date){return x.replace("yyyy",C.getFullYear().toString()).replace("yy",C.getFullYear().toString().slice(2)).replace("MM",w(C.getMonth()+1)).replace("dd",w(C.getDate())).replace("hh",w(C.getHours())).replace("mm",w(C.getMinutes())).replace("ss",w(C.getSeconds())).replace("SSS",w(C.getMilliseconds(),3))}e.template=y})(P4||(P4={}));class Ya{sn=0;map=new Map;weak=new WeakMap;get length(){return this.map.size}push(t){const n=++this.sn;return this.map.set(n,t),this.weak.set(t,n),()=>this.map.delete(n)}delete(t){const n=this.weak.get(t);return n?this.map.delete(n):!1}clear(){const t=[...this.map.values()];return this.map.clear(),t.reverse()}[Symbol.iterator](){return this.map.values()}[Symbol.for("nodejs.util.inspect.custom")](){return[...this]}}const fe={shadow:Symbol.for("cordis.shadow"),receiver:Symbol.for("cordis.receiver"),original:Symbol.for("cordis.original"),metadata:Symbol.for("cordis.metadata"),initHooks:Symbol.for("cordis.initHooks"),checkProto:Symbol.for("cordis.checkProto"),effect:Symbol.for("cordis.effect"),filter:Symbol.for("cordis.filter"),isolate:Symbol.for("cordis.isolate"),intercept:Symbol.for("cordis.intercept"),init:Symbol.for("cordis.init"),check:Symbol.for("cordis.check"),config:Symbol.for("cordis.config"),invoke:Symbol.for("cordis.invoke"),extend:Symbol.for("cordis.extend"),tracker:Symbol.for("cordis.tracker"),resolveConfig:Symbol.for("cordis.resolveConfig")},Zg=function*(){}.constructor,N4=async function*(){}.constructor;function H6(e){return!(!e.prototype||e instanceof Zg||N4!==Function&&e instanceof N4)}function Ja(e,t){if(e===Object.prototype)return t;const n=Object.create(Ja(Object.getPrototypeOf(e),t));for(const r of Reflect.ownKeys(e))Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r));return n}function go(e){return e&&(typeof e=="object"||typeof e=="function")}function V6(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Dr(e,t){if(!go(t))return t;if(Object.hasOwn(t,fe.shadow))return Object.getPrototypeOf(t);const n=t[fe.tracker];return n?N0(e,t,n):t}function Ls(e,t){return t?new Proxy(e,{get:(n,r,s)=>r in t&&r!=="constructor"?Reflect.get(t,r,s):Reflect.get(n,r,s),set:(n,r,s,l)=>r in t&&r!=="constructor"?Reflect.set(t,r,s,l):Reflect.set(n,r,s,l)}):e}function Ju(e,t,n){return Ls(e,Object.defineProperty(Object.create(null),t,{value:n,writable:!1}))}function gu(e,t,n,r){if(!n)return r;const s=Reflect.getOwnPropertyDescriptor(t,n)?.value;return s?Ju(r,n,e.extend({[fe.shadow]:s})):r}function Wg(e,t,n,r){return new Proxy(t,{apply:(s,l,u)=>(l===n&&(l=r),Dr(e,Reflect.apply(s,l,u)))})}function N0(e,t,n){e[fe.shadow]&&!n.noShadow&&(e=Object.getPrototypeOf(e));const r=new Proxy(t,{get:(s,l,u)=>{if(l===fe.original)return s;if(l===n.property)return e;if(typeof l=="symbol")return Reflect.get(s,l,u);if(n.associate&&e.reflect.props[`${n.associate}.${l}`])return Reflect.get(e,`${n.associate}.${l}`,Ju(e,fe.receiver,u));let f,p;const m=V6(s,l);m&&"value"in m?p=m.value:(f=gu(e,s,n.property,u),p=Reflect.get(s,l,f));const v=p?.[fe.tracker];return v?N0(e,p,v):!n.noShadow&&typeof p=="function"?(f??=gu(e,s,n.property,u),Wg(e,p,u,f)):p},set:(s,l,u,f)=>{if(l===fe.original||l===n.property)return!1;if(typeof l=="symbol")return Reflect.set(s,l,u,f);if(n.associate&&e.reflect.props[`${n.associate}.${l}`])return Reflect.set(e,`${n.associate}.${l}`,u,Ju(e,fe.receiver,f));const p=gu(e,s,n.property,f);return Reflect.set(s,l,u,p)},apply:(s,l,u)=>B6(r,s,l,u)});return r}function B6(e,t,n,r){return t[fe.invoke]?t[fe.invoke].apply(e,r):Reflect.apply(t,n,r)}function Ia(e,t,n){const r=function(...s){const l=N0(r.ctx,r,n);return B6(l,r,this,s)};return Gn(r,"name",e),Object.setPrototypeOf(r,t)}function A4(e,t,n){const r=e.error.stack.split(`
3
+ `);if(typeof t?.stack!="string"){const u=new Error(t),f=u.stack.split(`
4
+ `);throw f.splice(1,1/0,...n()),u.stack=f.join(`
5
+ `),u}const s=t.stack.split(`
6
+ `);let l=s.indexOf(r[2]);if(l===-1)throw t;for(l-=e.offset;l>0&&s[l-1].endsWith(" (<anonymous>)");)l-=1;throw s.splice(l,1/0,...n()),t.stack=s.join(`
7
+ `),t}function Oa(e,t=Qa()){const n={offset:1,error:new Error};try{const r=e(n);return go(r)&&"then"in r?r.then(void 0,s=>A4(n,s,t)):r}catch(r){A4(n,r,t)}}function Qa(e=0){const t=new Error;return()=>t.stack.split(`
8
+ `).slice(3+e)}function Qu(e){return e!==null&&e!==!1&&e!==void 0}class Z6{constructor(t){this.ctx=t,Gn(this,fe.tracker,{property:"ctx",noShadow:!0}),this.on("internal/listener",function(n,r,s){if(n==="internal/update"&&!s.global){const l=this.fiber._hooks["internal/update"]??=new Ya,u=s.prepend?"unshift":"push";return l[u](r)}}),this.on("internal/update",function(n,r,s){const l=[...this._hooks["internal/update"]||[]],u=()=>(l.shift()??s).call(this,n,r,u);return u()},{global:!0,prepend:!0})}_hooks={};dispatch(t,n){const r=typeof n[0]=="object"||typeof n[0]=="function"?n.shift():null,s=n.shift();s.startsWith("internal/")||this.emit("internal/dispatch",t,s,n,r);const l=r?.[nt.filter];return(this._hooks[s]||[]).filter(u=>u.global||!l||l.call(r,u.ctx)).map(u=>u.callback.bind(r))}async parallel(...t){const r=(await Promise.allSettled(this.dispatch("emit",t).map(async s=>s(...t)))).filter(s=>s.status==="rejected");if(r.length)throw new AggregateError(r.map(s=>s.reason))}emit(...t){this.dispatch("emit",t).map(n=>n(...t))}async serial(...t){for(const n of this.dispatch("serial",t)){const r=await n(...t);if(Qu(r))return r}}bail(...t){for(const n of this.dispatch("bail",t)){const r=n(...t);if(Qu(r))return r}}waterfall(...t){const n=this.dispatch("waterfall",t),r=t.pop(),s=()=>(n.shift()??r)(...t);return t.push(s),s()}register(t,n,r,s){const l=s.prepend?"unshift":"push";return this.ctx.fiber.effect(()=>(n[l]({ctx:this.ctx,callback:r,...s}),()=>this.unregister(n,r)),t)}unregister(t,n){const r=t.findIndex(s=>s.callback===n);if(r>=0)return t.splice(r,1),!0}on(t,n,r){typeof r!="object"&&(r={prepend:r}),this.ctx.fiber.assertActive(),n=this.ctx.reflect.bind(n);const s=this.bail(this.ctx,"internal/listener",t,n,r);if(s)return s;const l=this._hooks[t]||=[],u=`ctx.on(${typeof t=="string"?JSON.stringify(t):t.toString()})`;return this.register(u,l,n,r)}once(t,n,r){const s=this.on(t,function(...l){return s(),n.apply(this,l)},r);return s}}var W6=(e=>(e[e.ERROR=0]="ERROR",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.DEBUG=3]="DEBUG",e))(W6||{});const Xu={s:e=>String(e),d:e=>Math.trunc(Number(e)),i:e=>Math.trunc(Number(e)),f:e=>Number(e),o:e=>JSON.stringify(e),O:e=>JSON.stringify(e),c:()=>"",C:(e,t,n)=>La.color(t,La.code(n.name,t.colors),e)};function Ug(e){return e instanceof Error&&Array.isArray(e.errors)}class La{constructor(t,n){this.service=n,Object.assign(this,t),this.error=this._method("error",0),this.info=this._method("info",1),this.warn=this._method("warn",2),this.debug=this._method("debug",3)}static color(t,n,r,s=""){return t.colors?`\x1B[3${n<8?n:"8;5;"+n}${t.colors>=2?s:""}m${r}\x1B[0m`:""+r}static code(t,n){let r=0;for(let l=0;l<t.length;l++)r=(r<<3)-r+t.charCodeAt(l)+13,r|=0;const s=n?n>=2?q6:U6:[];return s[Math.abs(r)%s.length]}static format(t,n){const r=n.args.slice();r[0]instanceof Error?(r[0]=r[0].stack||r[0].message,r.unshift("%s")):typeof r[0]!="string"&&r.unshift("%o");let s=r.shift();s=s.replace(/%([a-zA-Z%])/g,(f,p)=>{if(f==="%%")return"%";const m=t.formatters?.[p]??Xu[p];if(typeof m=="function"){const v=r.shift();return m(v,t,n)}return f});const l=t.formatters?.o??Xu.o;for(let f of r)typeof f=="object"&&f&&(f=l(f,t,n)),s+=" "+f;const{maxLength:u=10240}=t;return s.split(/\r?\n/g).map(f=>f.slice(0,u)+(f.length>u?"...":"")).join(`
9
+ `)}_method(t,n){return(...r)=>{if(r.length===1&&r[0]instanceof Error){if(r[0].cause)this[t](r[0].cause);else if(Ug(r[0])){r[0].errors.forEach(u=>this[t](u));return}}const s=++this.service._snMessage,l=Date.now();for(const u of this.service.exporters.values()){if((u.levels?.[this.name]??u.levels?.default??this.level??1)<n)continue;const p={sn:s,ts:l,type:t,level:n,name:this.name,...this.meta,args:r};u.export(p)}}}}const U6=[6,2,3,4,5,1],q6=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221];class Xa{bufferSize=1e3;buffer=[];ctx;_snMessage=0;_snExporter=0;exporters=new Map;constructor(t){const n={property:"ctx",noShadow:!0},r=Ia("logger",Ja(Object.getPrototypeOf(this),Function.prototype),n);return Object.assign(r,this),r.ctx=t,Gn(r,fe.tracker,n),r.exporter({colors:3,export:s=>{r.buffer.push(s),r.buffer.length>r.bufferSize&&(r.buffer=r.buffer.slice(-r.bufferSize))}}),r}exporter(t){return this.ctx.effect(()=>{const n=++this._snExporter;return this.exporters.set(n,t),()=>this.exporters.delete(n)},"ctx.logger.exporter()")}_resolveConfig(){let t=this.ctx[fe.intercept];const n=[];for(;"logger"in t;)Object.hasOwn(t,"logger")&&n.unshift(t.logger),t=Object.getPrototypeOf(t);return Object.assign({},...n)}[fe.invoke](t){const n=this._resolveConfig(),r=(this.ctx[fe.shadow]??this.ctx).fiber;return t??=n.name,t??=Bg(r.name),new La({name:t,level:n.level,meta:{fiber:new WeakRef(r)}},this)}static{for(const t of["error","info","warn","debug"])Xa.prototype[t]=function(...n){return this()[t](...n)}}}const qg=Symbol.for("ValidationError");class A0 extends TypeError{name="ValidationError";constructor(t){super(`invalid config:
10
+ `+t.map(n=>n.path?` - ${n.message} (at ${n.path.join(".")})`:` - ${n.message}`).join(`
11
+ `))}}Object.defineProperty(A0.prototype,qg,{value:!0});function R0(e,t){if(!e.Config)return t;const n=e.Config["~standard"].validate(t);if("then"in n)throw new TypeError("Async config validation is not supported");if(n.issues)throw new A0(n.issues);return n.value}const G6=new WeakMap;function vu(e){const t=e();return G6.get(e)?.()??t}function Gg(e,t){const n=["internal/plugin",t];let r;try{r=e.events.dispatch("emit",n)}catch(s){e.logger.error(s);return}for(const s of r)try{const l=s(...n);Promise.resolve(l).catch(u=>e.logger.error(u))}catch(l){e.logger.error(l)}}var hi=(e=>(e[e.PENDING=0]="PENDING",e[e.LOADING=1]="LOADING",e[e.ACTIVE=2]="ACTIVE",e[e.FAILED=3]="FAILED",e[e.DISPOSED=4]="DISPOSED",e[e.UNLOADING=5]="UNLOADING",e))(hi||{});class yo extends Error{constructor(t,n){super(n??yo.Code[t]),this.code=t}}(e=>{e.Code={INACTIVE_EFFECT:"cannot create effect on inactive context"}})(yo||(yo={}));const Bn="__INACTIVE__";class F0{constructor(t,n,r,s,l){this.parent=t,this.inject=r,this.runtime=s,this._config=n;const u=f=>{this._disposables.push(f)};if(s){this.uid=t.registry.counter,this.ctx=this.context=t.extend({fiber:this});const f=Object.entries(this.inject);if(f.length){this.ctx[nt.intercept]=Object.create(t[nt.intercept]);for(const[p,m]of f)hr(m)||(this.ctx[nt.intercept][p]=m)}this._runner={epoch:Bn,getOuterStack:l,execute:function(){if(H6(s.callback)){const p=new s.callback(this.ctx,this.config);for(const m of p?.[fe.initHooks]??[])m();return p?.[fe.init]?.()}else return s.callback(this.ctx,this.config)},collect:u},this.dispose=t.fiber.effect(()=>{const p=s.fibers.push(this);return async()=>{for(this.uid=null,Gg(this.context,this),this.ctx.registry.has(s.callback)&&(p(),s.fibers.length||this.ctx.registry.delete(s.callback)),this._setEpoch(Bn),this.inertia||this._updateState(()=>(this.inertia=this._unload(),5));this.inertia;)await this.inertia}},"ctx.plugin()");try{this.context.emit("internal/plugin",this)}catch(p){throw Promise.resolve(this.dispose()).catch(m=>this.ctx.logger.error(m)),p}if(this.uid!==null&&t.fiber.state!==5){for(const p of Object.keys(this.inject))this._checkImpl(p);this._refresh()}}else this.uid=0,this.ctx=this.context=t,this.state=2,this.store=Object.create(null),this._runner={epoch:"",getOuterStack:l,execute:()=>{},collect:u},this.dispose=()=>this.restart()}uid;ctx;config;_config;state=0;dispose;store;inertia;_hooks=Object.create(null);_disposables=new Ya;context;_error;_runner;_store=Object.create(null);get name(){let t=this;do{if(t.runtime?.name)return t.runtime.name;t=t.parent.fiber}while(t!==t.parent.fiber);return"root"}assertActive(){if(this.uid===null)throw new yo("INACTIVE_EFFECT")}_execute(t){const n=t.epoch;return Oa(r=>{const s=u=>{if(typeof u=="function")t.collect(u);else if(!hr(u))throw new TypeError("Invalid effect")},l=t.execute.call(this);if(typeof l=="function")return t.collect(l);if(!hr(l))if(go(l)){if("then"in l)return l.then(s);if(Symbol.iterator in l){r.error=new Error;const u=l[Symbol.iterator]();for(;;){const f=u.next();if(s(f.value),f.done)return}}else if(Symbol.asyncIterator in l){const u=l[Symbol.asyncIterator]();return(async()=>{for(await Promise.resolve(),r.error=new Error;;){if(t.epoch!==n)return;const f=await u.next();if(s(f.value),f.done)return}})()}else throw new TypeError("Invalid effect")}else throw new TypeError("Invalid effect")},t.getOuterStack)}effect(t,n="anonymous"){if(this.assertActive(),this.state===5)throw new yo("INACTIVE_EFFECT");const r=[];let s=!1,l;const u=()=>{if(s)return l;s=!0;let V;for(const J of r.splice(0).reverse())if(V)V=V.then(()=>vu(J));else{const H=vu(J);go(H)&&"then"in H&&(V=H)}return l=V},f={label:n,children:[]},p={execute:t,epoch:!0,collect:V=>{r.push(V),this._disposables.delete(V),V[fe.effect]&&f.children.push(V[fe.effect])},getOuterStack:Qa()};let m,v=!0,w,y,x,C=!1,E,M=()=>!1;const P=()=>(x??=new Promise((V,J)=>{w=V,y=J}),x),O=V=>Promise.resolve(V).then(()=>u(),async J=>{throw await u(),J}),$=V=>{let J;try{J=V()}catch(H){throw M(),H}if(go(J)&&"then"in J){const H=Promise.resolve(J).finally(()=>{M(),E===H&&(E=void 0)});return E=H}return M(),J},z=Gn(()=>p.epoch?(p.epoch=!1,$(()=>v?O(P()):m?O(m):u())):C?E:void 0,fe.effect,f);G6.set(z,()=>E),M=this._disposables.push(z);try{m=this._execute(p)}catch(V){v=!1,C=!0,p.epoch=!1;let J;try{J=$(u)}finally{y?.(V)}throw go(J)&&"then"in J&&J.catch(H=>this.ctx.logger.error(H)),V}v=!1,x&&Promise.resolve(m).then(w,y),m?.catch(()=>p.epoch?$(u):u()).catch(V=>this.ctx.logger.error(V));const W=()=>{if(p.epoch)return p.epoch=!1,$(u)};return z.then=async(V,J)=>Promise.resolve(m).then(()=>W).then(V,J),z}getEffects(){return[...this._disposables].map(t=>t[fe.effect]).filter(Boolean)}_getState(){return this.uid===null?4:this._error?3:this._runner.epoch!==Bn?2:0}_updateState(t){const n=this.state;if(this.state=t()??this._getState(),n!==this.state&&(this.context.emit("internal/status",this,n),!(n!==2&&this.state!==2)))for(const r of Reflect.ownKeys(this.ctx.reflect.store)){const s=this.ctx.reflect.store[r];s.fiber===this&&this.ctx.reflect.notify([s.name])}}_checkImpl(t){const n=this.ctx.reflect._getImpl(t,!0);if(!n)return delete this._store[t];try{if(n.check&&!n.check.call(Dr(this.ctx,n.value)))return delete this._store[t]}catch(r){return n.fiber.ctx.logger.error(r),delete this._store[t]}this._store[t]=n}_refresh(){let t=!1;t="";for(const n of Object.keys(this.inject)){const r=this._store[n];if(!r){t=Bn;break}t+=":"+r.fiber.uid}this._setEpoch(t)}_setEpoch(t){const n=this._runner.epoch;t!==n&&(this._runner.epoch=t,!this.inertia&&this._updateState(()=>t!==Bn&&n===Bn?(this.inertia=this._reload(),1):(this.inertia=this._unload(),5)))}_resolveConfig(t){return t=this.context.waterfall(this,"internal/config",t,()=>t),this.runtime?R0(this.runtime,t):t}async _reload(){this.store={...this._store};const t=this._runner.epoch;try{await Promise.resolve(),this._runner.epoch===t&&(this.config=this._resolveConfig(this._config),await this._execute(this._runner),this._error=void 0)}catch(n){this.ctx.logger.error(n),this._error=n,this._runner.epoch=Bn}this._updateState(()=>{if(this._runner.epoch===t)this.inertia=void 0;else return this.inertia=this._unload(),5})}async _unload(){await Promise.all(this._disposables.clear().map(async t=>{try{await Oa(async n=>{await Promise.resolve(),n.error=new Error,await vu(t)},this._runner.getOuterStack)}catch(n){this.ctx.logger.error(n)}})),this.store=void 0,this._updateState(()=>{if(this._runner.epoch===Bn)this.inertia=void 0;else return this.inertia=this._reload(),1})}async await(){for(;this.inertia;)await this.inertia;if(this._error)throw this._error;return this}async restart(){this.assertActive(),this._setEpoch(Bn),this._refresh(),await this.await()}update(t,n=!1){if(this.assertActive(),this._config=t,this.state!==2){this._error=void 0,this._setEpoch(Bn),this._refresh();return}t=this._resolveConfig(t),this.context.waterfall(this,"internal/update",t,n,()=>(this.config=t,this._error=void 0,this.restart()))}}function wu(e){const t=e.stack.split(`
12
+ `);return t.splice(0,2,`Error: ${e.message}`),e.stack=t.join(`
13
+ `),e}const Kg=["prototype","then"];function yu(e){return typeof e=="symbol"||Kg.includes(e)||parseInt(e).toString()===e||e.startsWith("_")}class R4{constructor(t){this.ctx=t,Gn(this,fe.tracker,{property:"ctx",noShadow:!0}),this.mixin("reflect",["get","set","provide","accessor","mixin"]),this.mixin("fiber",["runtime","effect"]),this.mixin("registry",["inject","plugin"]),this.mixin("events",["on","once","parallel","emit","serial","bail","waterfall"])}static handler={get:(t,n,r)=>{if(yu(n))return Reflect.get(t,n,r);if(Reflect.has(t,n))return Dr(r,Reflect.get(t,n,r));const s=new Error(`cannot get property "${n}" without inject`);try{const l=t.reflect.props[n];return l?.type==="accessor"?l.get.call(r,r[fe.receiver],s):r.fiber.runtime?r.events.waterfall("internal/get",r,n,s,()=>{const u=t[fe.isolate][n];let f=(r[fe.shadow]??r).fiber;for(;;){const p=f.store?.[n];if(p)return Dr(r,p.value);if(n in f.inject)throw s.message=`cannot get required service "${n}" in inactive context`,s;if(!f.runtime||f.parent[fe.isolate][n]!==u)throw s;f=f.parent.fiber}}):r.reflect.get(n,!1)}catch(l){throw l===s?wu(l):l}},set:(t,n,r,s)=>{if(yu(n))return Reflect.set(t,n,r,s);const l=new Error(`cannot set property "${n}" without provide`),u=t.reflect.props[n];if(!u){if(!s.fiber.runtime)return Reflect.set(t,n,r,s);throw wu(l)}try{return u.type==="accessor"?u.set?u.set.call(s,r,s[fe.receiver],l):!1:s.events.waterfall("internal/set",s,n,r,l,()=>s.reflect.set(n,r,l))}catch(f){throw f===l?wu(f):f}},has:(t,n)=>yu(n)?Reflect.has(t,n):Reflect.has(t,n)?!0:!!t.reflect.props[n]};store=Object.create(null);props=Object.create(null);get(t,n=!0){return Dr(this.ctx,this._getImpl(t,n)?.value)}_getImpl(t,n=!0){const r=this.ctx[fe.isolate][t],s=r&&this.store[r];if(s&&!(n&&s.fiber.state!==hi.ACTIVE))return s}set(t,n,r){const s=this.ctx[fe.isolate][t],l=this.store[s];if(!l)throw new Error(`cannot set property "${t}" without provide`);if(l.fiber!==this.ctx.fiber)throw new Error(`cannot set property "${t}" in multiple fibers`);return l.value=n,!0}provide(t,n,r){return this.ctx.fiber.effect(()=>{if(!this.props[t])this.props[t]??={type:"service"};else if(this.props[t].type!=="service")throw new Error(`property "${t}" is already declared as ${this.props[t].type}`);this.props[t]={type:"service"},this.ctx.root[fe.isolate][t]??=Symbol(t);const s=this.ctx[fe.isolate][t],l={name:t,value:n,fiber:this.ctx.fiber,check:r};if(this.store[s])throw new Error(`service "${t}" has been registered at <${this.store[s].fiber.name}>`);return this.store[s]=l,this.ctx.fiber.store[t]=l,this.ctx.fiber.state===hi.ACTIVE&&this.notify([t]),async()=>{delete this.store[s];const u=this.notify([t]);await Promise.allSettled(u.map(f=>f.await())),delete this.ctx.fiber.store[t]}},`ctx.provide(${JSON.stringify(t)})`)}notify(t,n=(r,s)=>r[fe.isolate][s]===this.ctx[fe.isolate][s]){const r=[];for(const s of this.ctx.registry.values())for(const l of s.fibers){let u=!1;for(const f of t)f in l.inject&&n(l.ctx,f)&&(u=!0,l._checkImpl(f));u&&(l._refresh(),r.push(l))}for(const s of t){const l=Object.create(this.ctx);l[fe.filter]=u=>n(u,s),this.ctx.events.emit(l,"internal/service",s,this._getImpl(s,!1)?.value)}return r}accessor(t,n){return this.ctx.fiber.effect(()=>{if(t in this.props)throw new Error(`property "${t}" is already declared as ${this.props[t].type}`);return this.props[t]={type:"accessor",...n},()=>delete this.props[t]},`ctx.accessor(${JSON.stringify(t)})`)}mixin(t,n){const r=this;return this.ctx.fiber.effect(function*(){const s=Array.isArray(n)?n.map(u=>[u,u]):Object.entries(n),l=(u,f)=>u[t];for(const[u,f]of s)yield r.accessor(f,{get(p,m){const v=l(this);if(hr(v))return v;const w=p?Ls(p,v):v,y=Reflect.get(v,u,w);return typeof y!="function"?y:y.bind(w??v)},set(p,m,v){const w=l(this),y=m?Ls(m,w):w;return Reflect.set(w,u,p,y)}})},`ctx.mixin(${JSON.stringify(t)})`)}trace(t){return Dr(this.ctx,t)}bind(t){return new Proxy(t,{apply:(n,r,s)=>Reflect.apply(n,this.trace(r),s.map(l=>this.trace(l))),construct:(n,r,s)=>Reflect.construct(n,r.map(l=>this.trace(l)),s)})}}function Yg(e){return e&&typeof e=="object"&&typeof e.apply=="function"}function Ts(e,t){return function(n,r){if(r.kind==="class")Object.hasOwn(n,"inject")||(Gn(n,"inject",Object.create(Object.getPrototypeOf(n).inject??null)),Gn(n.inject,fe.checkProto,!0)),n.inject[e]=t;else if(r.kind==="method"){const s=(n[fe.metadata]??={}).inject??=Object.create(null);s[e]=t,r.addInitializer(function(){const l=this[fe.tracker]?.property;(this[fe.initHooks]??=[]).push(()=>{this.ctx.inject(s,u=>n.call(l?Ls(this,{[l]:u}):this))})})}else throw new Error("@Inject() can only be used on class or class methods")}}(e=>{function t(n,r=Object.create(null)){if(!n)return r;if(Array.isArray(n))for(const s of n)r[s]=null;else if(Reflect.has(n,fe.checkProto)){Object.assign(r,t(Object.getPrototypeOf(n)));for(const s of Object.keys(n))r[s]=n[s]??null}else for(const s of Object.keys(n))r[s]=n[s]??null;return r}e.resolve=t})(Ts||(Ts={}));class K6{constructor(t){this.ctx=t,Gn(this,fe.tracker,{property:"ctx",noShadow:!0})}_counter=0;_internal=new Map;get counter(){return++this._counter}get size(){return this._internal.size}resolve(t){try{if(typeof t=="function")return t;if(Yg(t))return t.apply}catch{}}get(t){const n=this.resolve(t);return n&&this._internal.get(n)}has(t){const n=this.resolve(t);return!!n&&this._internal.has(n)}delete(t){const n=this.resolve(t),r=n&&this._internal.get(n);if(r){this._internal.delete(n);for(const s of r.fibers)s.dispose();return r}}keys(){return this._internal.keys()}values(){return this._internal.values()}entries(){return this._internal.entries()}forEach(t){return this._internal.forEach(t)}inject(t,n){return this.plugin({inject:t,apply:n,name:n.name})}plugin(t,n,r=Qa()){const s=this.resolve(t);if(!s)throw new Error('invalid plugin, expect function or object with an "apply" method, received '+typeof t);this.ctx.fiber.assertActive();let l=this._internal.get(s);if(!l){let p=t.name;p==="apply"&&(p=void 0),l={name:p,callback:s,fibers:new Ya,Config:t.Config},this._internal.set(s,l)}const u=new F0(this.ctx,n,Ts.resolve(t.inject),l,r),f=Object.create(u);return f.then=(p,m)=>u.await().then(p,m),f}}class nt{static effect=fe.effect;static filter=fe.filter;static isolate=fe.isolate;static intercept=fe.intercept;static is(t){return!!t?.[nt.is]}static{nt.is[Symbol.toPrimitive]=()=>Symbol.for("cordis.is"),nt.prototype[nt.is]=!0}constructor(){this[fe.isolate]=Object.create(null),this[fe.intercept]=Object.create(null);const t=new Proxy(this,R4.handler);return this.root=t,this.baseUrl=void 0,this.fiber=new F0(t,{},Object.create(null),null,()=>[]),this.reflect=new R4(t),this.registry=new K6(t),this.events=new Z6(t),this.logger=new Xa(t),this.fiber._disposables.clear(),t}[Symbol.for("nodejs.util.inspect.custom")](){return`Context <${this.fiber.name}>`}extend(t={}){const n=Reflect.getOwnPropertyDescriptor(this,fe.shadow)?.value,r=Object.create(Dr(this,this));for(const s of Reflect.ownKeys(t))Object.defineProperty(r,s,Reflect.getOwnPropertyDescriptor(t,s));return n?Object.assign(Object.create(r),{[fe.shadow]:n}):r}isolate(t,n){const r=Object.create(this[fe.isolate]);return r[t]=n??Symbol(t),this.extend({[fe.isolate]:r})}intercept(t,n){const r=Object.create(this[fe.intercept]);return r[t]=n,this.extend({[fe.intercept]:r})}}class fr{constructor(t,n){this.ctx=t,n??=this.constructor.provide;let r=this;const s={associate:n,property:"ctx"};return r[fe.invoke]&&(r=Ia(n,Ja(Object.getPrototypeOf(this),Function.prototype),s)),r.ctx=t,r.name=n,Gn(r,fe.tracker,s),r.ctx.reflect.provide(n,r,this[fe.check]),r}static init=fe.init;static check=fe.check;static config=fe.config;static invoke=fe.invoke;static extend=fe.extend;static tracker=fe.tracker;static resolveConfig=fe.resolveConfig;name;[fe.filter](t){return t[fe.isolate][this.name]===this.ctx[fe.isolate][this.name]}[fe.extend](t){let n;return this[fr.invoke]?n=Ia(this.name,this,this[fe.tracker]):n=Object.create(this),Object.assign(n,t)}[fe.resolveConfig](t,n){let r=this.ctx[nt.intercept];const s=[];for(;this.name in r;)Object.hasOwn(r,this.name)&&s.unshift(r[this.name]),r=Object.getPrototypeOf(r);return t&&s.unshift(t),n&&s.push(n),this.Config?.merge?this.Config.merge(...s):Object.assign({},...s)}static[Symbol.hasInstance](t){if(!t)return!1;let n=t.constructor;for(;n;){if(n=n.prototype?.constructor,n===this)return!0;n&&=Object.getPrototypeOf(n)}return!1}}const Jg=Object.freeze(Object.defineProperty({__proto__:null,Context:nt,get CordisError(){return yo},DisposableList:Ya,EventsService:Z6,Fiber:F0,FiberState:hi,get Inject(){return Ts},Logger:La,LoggerLevel:W6,LoggerService:Xa,RegistryService:K6,Service:fr,ValidationError:A0,buildOuterStack:Qa,c16:U6,c256:q6,composeError:Oa,createCallable:Ia,defaultFormatters:Xu,getPropertyDescriptor:V6,getTraceable:Dr,isBailed:Qu,isConstructor:H6,isObject:go,joinPrototype:Ja,resolveConfig:R0,symbols:fe,withProps:Ls},Symbol.toStringTag,{value:"Module"})),Qg=()=>{throw new Error("node:module is not available in the browser")};var Xg=[],e0;(e=>{let t;function n(s){const l=Qg();if(Xg.includes("--expose-internals"))try{return l(s)}catch{}try{return l("node-addon-require-builtin").requireBuiltin(s)}catch{}}function r(){if(t)return t;const[s]="0.0.0".split(".").map(Number);if(s<22)return;const l=n("internal/modules/esm/loader")?.getOrInitializeCascadedLoader();if(!l)return;const u=typeof l.getOrCreateModuleJob=="function"?"v2":typeof l.getModuleJobForImport=="function"?"v1":void 0;if(u)return t=Object.assign(l,{version:u})}e.fromInternal=r})(e0||(e0={}));class Ta{constructor(t,n){this.ctx=t,this.tree=n;const r=t.fiber.entry;r&&(r.subgroup=this)}static key=Symbol.for("cordis.group");data=[];get context(){return this.ctx}async create(t){const n=this.tree.ensureId(t),r=this.tree.store[n]??=new zs(this.ctx.loader);return r.parent=this,await r.update(t,!0,!0),r.id}unlink(t){const n=this.data,r=n.indexOf(t);r>=0&&n.splice(r,1)}remove(t,n=!1){const r=this.tree.store[t];r&&(r.fiber?.dispose(),n||this.unlink(r.options),delete this.tree.store[t],this.context.emit("loader/partial-dispose",r,r.options,!1))}async update(t){const n=this.data;this.data=t;const r=Object.fromEntries(n.map(u=>[u.id,u])),s=Object.fromEntries(t.map(u=>[u.id??Symbol("anonymous"),u])),l=Reflect.ownKeys({...r,...s});await Promise.all(l.map(async u=>{s[u]?await this.create(s[u]).catch(f=>{this.ctx.logger.error(f)}):this.remove(u)}))}stop(){for(const t of this.data)this.remove(t.id,!0)}}class oH extends Ta{constructor(t,n){super(t,t.fiber.entry.parent.tree),this.ctx=t,this.config=n,t.on("internal/update",r=>{this.update(r)})}static initial=[];static[Ta.key]=!0;async*[fr.init](){yield()=>this.stop(),await this.update(this.config)}}class el{static sep=":";ctx;enableLogs;root;store=Object.create(null);constructor(t){this.ctx=t.extend({baseUrl:t.baseUrl}),this.root=new Ta(this.ctx,this);const n=this.ctx.fiber.entry;n&&(n.subtree=this)}get context(){return this.ctx}*entries(){for(const t of Object.values(this.store))yield t,t.subtree&&(yield*t.subtree.entries())}getTasks(){return[...this.entries()].map(t=>t._initTask||t.fiber?.inertia).filter(Ag)}async await(){for(;;){const t=this.getTasks();if(!t.length)return;await Promise.allSettled(t)}}ensureId(t){if(!t.id)do t.id=Math.random().toString(16).slice(2,10);while(this.store[t.id]);return t.id}resolve(t){const n=t.split(el.sep);let r=this;const s=n.pop();for(const u of n)if(r=r.store[u]?.subtree,!r)throw new Error(`cannot resolve entry ${t}`);const l=r.store[s];if(!l)throw new Error(`cannot resolve entry ${t}`);return l}resolveGroup(t){if(!t)return this.root;const n=this.resolve(t);if(!n.subgroup)throw new Error(`entry ${t} is not a group`);return n.subgroup}async create(t,n=null,r=1/0){const s=this.resolveGroup(n);return s.data.splice(r,0,t),s.tree.write(),s.create(t)}remove(t){const n=this.resolve(t);n.parent.remove(t),n.parent.tree.write()}async update(t,n,r,s){const l=this.resolve(t),u=l.parent;if(r!==void 0){const f=this.resolveGroup(r);u.unlink(l.options),f.data.splice(s??1/0,0,l.options),f.tree.write(),l.parent=f}return u.tree.write(),l.update(n,!1,!0)}import(t,n){return t.startsWith("cordis:")?this.ctx.loader.builtins[t.slice(7)]:Oa(async r=>(r.offset+=3,this.ctx.loader.internal?await this.ctx.loader.internal.import(t,this.ctx.baseUrl,{}):t.startsWith(".")?await import(new URL(t,this.ctx.baseUrl).href):await import(t)),n)}}const Y6=new Function("ctx","expr",`
14
+ with (ctx) {
15
+ return eval(expr)
16
+ }
17
+ `);function t0(e,t){return D0(t)?Y6(e,t.__jsExpr):!t||typeof t!="object"?t:Array.isArray(t)?t.map(n=>t0(e,n)):Rg(t,n=>t0(e,n))}function D0(e){return e instanceof Object&&"__jsExpr"in e}function ev(e){return e?.["~standard"].vendor==="schemastery"}function F4(e){if(!e||typeof e!="object"||D0(e))return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function J6(e,t,n,r){if(n?.meta?.volatile)return!0;if(n?.type!=="object"||!n.dict||r.has(n))return ui(e,t,!0);const s=e??n.meta?.default,l=t??n.meta?.default;if(!F4(s)||!F4(l))return ui(s,l,!0);const{dict:u}=n;r.add(n);try{return Object.keys({...s,...l}).every(f=>J6(s[f],l[f],Object.hasOwn(u,f)?u[f]:void 0,r))}finally{r.delete(n)}}function tv(e,t,n){return ev(n)?J6(e,t,n,new Set):ui(e,t,!0)}function xu(e,t){const n=[];for(const r of t)r in e&&(n.push([r,e[r]]),delete e[r]);return n}function nv(e,t=["id","name"],n=["config"]){const r=xu(e,t),s=xu(e,n),l=xu(e,Object.keys(e)).sort(([u],[f])=>u.localeCompare(f));return Object.assign(e,Object.fromEntries([...r,...l,...s]))}class zs{constructor(t){this.loader=t,this.ctx=t.ctx.extend({[zs.key]:this}),this.context.emit("loader/entry-init",this)}static key=Symbol.for("cordis.entry");ctx;fiber;moduleNamespace;parent;options={};subgroup;subtree;_initTask;get context(){return this.ctx}get id(){let t=this.options.id;return this.parent.tree.ctx.fiber.entry&&(t=this.parent.tree.ctx.fiber.entry.id+el.sep+t),t}get disabled(){if(this.options.group)return!1;let t=this;do{if(this.disabledOf(t.options))return!0;t=t.parent.ctx.fiber.entry}while(t);return!1}disabledOf(t){return D0(t.disabled)?!!this.evaluate(t.disabled.__jsExpr):!!t.disabled}evaluate(t){return Y6(this.ctx,t)}_patchContext(t){this.context.waterfall("loader/patch-context",this,()=>{Object.setPrototypeOf(this.ctx,this.parent.ctx),this.fiber?.uid&&(t.includes("config")||this.options.group)&&this.fiber.update(this.options.config,!0)})}async refresh(){this.fiber||this.disabled||await this.init()}async update(t,n=!1,r=!1){const s={...this.options};if(n)this.options=t;else for(const[l,u]of Object.entries(t))hr(u)?delete this.options[l]:this.options[l]=u;if(nv(this.options),this.disabled){this.fiber?.dispose();return}if(this.fiber?.uid){const l=Object.keys({...this.options,...s}).filter(p=>!ui(this.options[p],s[p],p==="config")),u=l.length===1&&l[0]==="config"&&this.fiber.state===hi.ACTIVE&&Object.getPrototypeOf(this.ctx)===this.parent.ctx&&tv(s.config,this.options.config,this.fiber.runtime?.Config);u&&(this.fiber._config=this.options.config);const f=u&&this._commitVolatile()?[]:l;if(!f.length&&!r)return;this.context.emit("loader/partial-dispose",this,s,!0),this._patchContext(f)}else await this.init()}_commitVolatile(){const t=this.fiber,n=Fg(t.config);if(!n.length)return!0;const r=this.options.config;let s;try{s=R0(t.runtime,t.ctx.waterfall(t,"internal/config",r,()=>r))}catch(f){return this.ctx.logger.warn("volatile config update failed for %C",this.options.id),this.ctx.logger.warn(f),!0}if(!ui(t.config,s,!0))return this.ctx.logger.debug("ordinary config values of %C changed with its volatile values; applying the ordinary update",this.options.id),!1;const l=n.flatMap(({path:f,ref:p})=>{const m=f.reduce((v,w)=>Reflect.get(v,w),s);return ui(p.get(),m.get(),!0)?[]:(Dg(p,m),[f])});if(!l.length)return!0;const u=Object.create(t.ctx);u[nt.filter]=f=>f.fiber===t;try{t.ctx.emit(u,"loader/volatile-update",l)}catch(f){this.ctx.logger.warn(f)}return!0}getOuterStack=()=>{let t=this;const n=[];do n.push(` at ${t.parent.tree.ctx.baseUrl}#${t.options.id}`),t=t.parent.ctx.fiber.entry;while(t);return n};async init(){try{await(this._initTask??=this._init())}finally{this._initTask=void 0}const t=()=>{this.loader.getTasks().length||this.ctx.reflect.notify(["loader"])};this.fiber?.await().then(t,t)}async _init(){let t;try{t=await this.parent.tree.import(this.options.name,this.getOuterStack)}catch(r){this.ctx.logger.error(r);return}finally{this._initTask=void 0}const n=this.loader.unwrapExports(t);this._patchContext([]),this.loader.showLog(this,"apply"),this.fiber=this.ctx.registry.plugin(n,this.options.config,this.getOuterStack).ctx.fiber,this.moduleNamespace=t}}function D4(e,t){for(const n of Reflect.ownKeys(e))Reflect.deleteProperty(e,n);for(const n of Reflect.ownKeys(t||{}))Reflect.defineProperty(e,n,Reflect.getOwnPropertyDescriptor(t,n))}class Q6{store=Object.create(null);access(t,n=!1){return n?this.store[t]??=Symbol(`${t}${this.suffix}`):this.store[t]??Symbol(`${t}${this.suffix}`)}delete(t){delete this.store[t]}get size(){return Object.keys(this.store).length}}class rv extends Q6{constructor(t){super(),this.entry=t}get suffix(){return"#"+this.entry.options.id}}class ov extends Q6{constructor(t){super(),this.label=t}get suffix(){return"@"+this.label}}function iv(e){const t=Object.create(null),n=Object.create(null);function r(s,l,u=!1){let f;const p=s.options.isolate?.[l];if(p)return p===!0?f=s.realm??=new rv(s):u?f=t[p]??=new ov(p):f=t[p],f?.access(l,u)}e.on("loader/entry-init",s=>{s.ctx[nt.intercept]=Object.create(s.ctx[nt.intercept]),s.ctx[nt.isolate]=Object.create(s.ctx[nt.isolate])}),e.on("loader/patch-context",(s,l)=>{const u=Object.create(s.parent.ctx[nt.isolate]);for(const m of Object.keys(s.options.isolate??{}))u[m]=r(s,m,!0);const f=Object.create(null),p=s.ctx[nt.isolate];for(const m in{...u,...n}){if(u[m]===p[m])continue;const v=n[m]??=Symbol(`delim:${m}`);s.ctx[v]=Symbol(`${m}#${s.id}`);for(const w of[p[m],u[m]]){const y=w&&s.ctx.reflect.store[w];if(y){if(!y.fiber){s.ctx.logger.warn(new Error(`expected service ${m} to be implemented`));continue}if(f[m]=[p[m],u[m],s.ctx[v],y.fiber.ctx[v]],s.ctx[v]!==y.fiber.ctx[v])break}}}Object.setPrototypeOf(s.ctx[nt.isolate],s.parent.ctx[nt.isolate]),Object.setPrototypeOf(s.ctx[nt.intercept],s.parent.ctx[nt.intercept]),D4(s.ctx[nt.isolate],u),D4(s.ctx[nt.intercept],s.options.intercept),l();for(const[m,v,w,y]of Object.values(f))w===y&&s.ctx.reflect.store[m]&&!s.ctx.reflect.store[v]&&(s.ctx.reflect.store[v]=s.ctx.reflect.store[m],delete s.ctx.reflect.store[m]);e.reflect.notify(Object.keys(f),(m,v)=>{const[w,y,x,C]=f[v],E=m[nt.isolate][v],M=m[n[v]];return(w===E||y===E)&&x===M!=(x===C)});for(const m in n)Reflect.ownKeys(u).includes(m)||delete s.ctx[n[m]]}),e.on("loader/partial-dispose",(s,l,u)=>{for(const[f,p]of Object.entries(l.isolate??{})){if(p===!0||u&&s.options.isolate?.[f]===p)continue;const m=t[p];if(m){for(const v of e.loader.entries())if(v.options.isolate?.[f]===m.label)return;m.delete(f),m.size||delete t[m.label]}}})}class sv extends el{constructor(t,n={}){super(t),this.config=n,n.baseUrl&&(this.ctx.baseUrl=n.baseUrl);const r=this;Gn(this,fr.tracker,{associate:"loader",property:"ctx",noShadow:!0}),t.reflect.provide("loader",this,this[fr.check]),t.on("internal/config",function(s,l){const u=l();return!this.entry||this.parent.fiber?.entry===this.entry||this.runtime?.callback?.[Ta.key]?u:t0(this.ctx,u)},{global:!0}),t.on("internal/update",function(s,l,u){if(!this.entry||l||this.parent.fiber?.entry===this.entry)return u();const f=this.runtime?.Config?.simplify;return this.entry.options.config=f?f.call(this.runtime.Config,s):s,this.entry.parent.tree.write(),u()},{global:!0,prepend:!0}),t.on("internal/update",function(s,l,u){return!this.entry||this.parent.fiber?.entry===this.entry||r.showLog(this.entry,"reload"),u()},{global:!0}),t.on("internal/plugin",s=>{if(s.parent[zs.key]&&!s.entry&&(s.entry=s.parent[zs.key],Ts.resolve(s.entry.options.inject,s.inject)),s.uid||!s.entry||s.parent.fiber?.entry===s.entry||!t.registry.has(s.runtime.callback))return;const l=s.entry.parent.tree.ctx.fiber;!l.uid||l.state===hi.UNLOADING||(this.showLog(s.entry,"unload"),!s.entry.disabled&&(s.entry.options.disabled=!0,s.entry.parent.tree.write()))}),t.plugin(iv)}envData={startTime:Date.now()};name="loader";internal=e0.fromInternal();builtins=Object.create(null);write(){}[fr.check](){return!(fr.prototype[fr.resolveConfig].call(this).await&&this.getTasks().length)}showLog(t,n){t.options.group||!t.parent.tree.enableLogs||this.ctx.root.logger?.("loader").info("%s plugin %C",n,t.options.name)}locate(t=this.ctx.fiber){for(;;){if(t.entry)return t.entry.id;const n=t.parent.fiber;if(t===n)return;t=n}}exit(){}unwrapExports(t){return hr(t)||(t=t.default??t,!t.__esModule)?t:t.default??t}}const Qo={PENDING:0,LOADING:1,ACTIVE:2,FAILED:3,DISPOSED:4,UNLOADING:5},X6={[Qo.PENDING]:"pending",[Qo.LOADING]:"loading",[Qo.ACTIVE]:"active",[Qo.FAILED]:"failed",[Qo.DISPOSED]:"disposed",[Qo.UNLOADING]:"unloading"};async function av(e){const{ctx:t,manifest:n,onEntryState:r}=e;await t.plugin(sv);const s=t.loader;s.internal=e.modules,t.on("internal/status",u=>{const f=u.entry;f===void 0||f.fiber===void 0||r?.(f.options.name,X6[f.fiber.state])});const l=n.plugins.map(u=>u.id);for(const u of l)r?.(u,"loading");await e.modules.entries.start(s,n);for(const u of s.entries())u.fiber===void 0&&r?.(u.options.name,"failed");await s.await(),lv(t,e.modules)}function lv(e,t){const n=[];for(const r of e.loader.entries()){const s=r.options.name;if(r.fiber===void 0){const u=t.importError(s);n.push(u===void 0?`${s}: import failed (see console for the import error)`:`${s}: import failed: ${u.message}`);continue}const l=X6[r.fiber.state];if(l!=="active")if(l==="pending"){const u=Object.keys(r.fiber.inject).filter(f=>e.get(f)===void 0);n.push(`${s}: pending (waiting for service${u.length===1?"":"s"}: ${u.join(", ")||"unknown"})`)}else n.push(`${s}: ${l}`)}if(n.length>0)throw new Error(`web boot: ${String(n.length)} entr${n.length===1?"y":"ies"} did not activate
18
+ ${n.join(`
19
+ `)}`)}const cv="_boot_hsk5m_3",uv="_card_hsk5m_24",dv="_wordmark_hsk5m_31",fv="_hint_hsk5m_39",hv="_spinner_hsk5m_45",pv="_failed_hsk5m_74",mv="_failedTitle_hsk5m_81",gv="_failedItem_hsk5m_88",ar={boot:cv,card:uv,wordmark:dv,hint:fv,spinner:hv,failed:pv,failedTitle:mv,failedItem:gv};function lr(e,t){const n=document.createElement("div");return n.className=e??"",t!==void 0&&(n.textContent=t),n}class vv{root;card;wordmark;spinner;hint;states=new Map;active=new Set;total=0;failure;constructor(t){this.root=lr(ar.boot),this.root.dataset.dshBoot="",this.card=lr(ar.card),this.wordmark=lr(ar.wordmark,"HARNESS"),this.spinner=lr(ar.spinner),this.spinner.dataset.dshBootSpinner="",this.hint=lr(ar.hint,"Loading plugins…"),this.card.append(this.wordmark,this.spinner,this.hint),this.root.append(this.card),t.append(this.root),this.updateProgress()}setTotal(t){this.total=t,this.updateProgress()}setState(t,n){this.states.set(t,n),n==="active"&&this.active.add(t),this.updateProgress(),this.render()}fail(t){this.failure=t,this.render()}dispose(){this.root.remove()}render(){const t=[...this.states].filter(([,u])=>u==="failed").map(([u])=>u);if(this.failure===void 0&&t.length===0){this.spinner.parentElement!==this.card&&this.card.replaceChildren(this.wordmark,this.spinner,this.hint);return}const n=lr(ar.failed);n.append(lr(ar.failedTitle,"Failed to load plugins"));for(const u of t)n.append(lr(ar.failedItem,u));this.failure!==void 0&&n.append(lr(ar.failedItem,this.failure));const r=document.createElement("p"),s=document.createElement("a");s.href="./extensions",s.textContent="管理扩展 / Manage extensions";const l=document.createElement("a");l.href="./?extensions=off",l.textContent="仅加载内置界面 / Open built-in UI",r.append(s," · ",l),n.append(r),this.card.replaceChildren(this.wordmark,n)}updateProgress(){const t=this.total===0?0:Math.min(this.active.size/this.total,1);this.spinner.style.setProperty("--dsh-boot-arc",`${String(Math.round(72+t*216))}deg`)}}const wv={},yv=e=>{let t;const n=new Set,r=(v,w)=>{const y=typeof v=="function"?v(t):v;if(!Object.is(y,t)){const x=t;t=w??(typeof y!="object"||y===null)?y:Object.assign({},t,y),n.forEach(C=>C(t,x))}},s=()=>t,p={setState:r,getState:s,getInitialState:()=>m,subscribe:v=>(n.add(v),()=>n.delete(v)),destroy:()=>{(wv?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},m=t=e(r,s,p);return p},xv=e=>yv,_v=e=>(t,n,r)=>{const s=r.subscribe;return r.subscribe=(u,f,p)=>{let m=u;if(f){const v=p?.equalityFn||Object.is;let w=u(r.getState());m=y=>{const x=u(y);if(!v(w,x)){const C=w;f(w=x,C)}},p?.fireImmediately&&f(w,w)}return s(m)},e(t,n,r)},Cv=_v;function bv(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(const[r,s]of e)if(!Object.is(s,t.get(r)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(const r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||!Object.is(e[r],t[r]))return!1;return!0}var ef=Symbol.for("immer-nothing"),$4=Symbol.for("immer-draftable"),un=Symbol.for("immer-state");function Nn(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Ps=Object.getPrototypeOf;function pi(e){return!!e&&!!e[un]}function xo(e){return e?tf(e)||Array.isArray(e)||!!e[$4]||!!e.constructor?.[$4]||Ws(e)||nl(e):!1}var kv=Object.prototype.constructor.toString(),H4=new WeakMap;function tf(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(n===Object)return!0;if(typeof n!="function")return!1;let r=H4.get(n);return r===void 0&&(r=Function.toString.call(n),H4.set(n,r)),r===kv}function za(e,t,n=!0){tl(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(s=>{t(s,e[s],e)}):e.forEach((r,s)=>t(s,r,e))}function tl(e){const t=e[un];return t?t.type_:Array.isArray(e)?1:Ws(e)?2:nl(e)?3:0}function n0(e,t){return tl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function nf(e,t,n){const r=tl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Sv(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Ws(e){return e instanceof Map}function nl(e){return e instanceof Set}function fo(e){return e.copy_||e.base_}function r0(e,t){if(Ws(e))return new Map(e);if(nl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=tf(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[un];let s=Reflect.ownKeys(r);for(let l=0;l<s.length;l++){const u=s[l],f=r[u];f.writable===!1&&(f.writable=!0,f.configurable=!0),(f.get||f.set)&&(r[u]={configurable:!0,writable:!0,enumerable:f.enumerable,value:e[u]})}return Object.create(Ps(e),r)}else{const r=Ps(e);if(r!==null&&n)return{...e};const s=Object.create(r);return Object.assign(s,e)}}function $0(e,t=!1){return rl(e)||pi(e)||!xo(e)||(tl(e)>1&&Object.defineProperties(e,{set:la,add:la,clear:la,delete:la}),Object.freeze(e),t&&Object.values(e).forEach(n=>$0(n,!0))),e}function jv(){Nn(2)}var la={value:jv};function rl(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var Ev={};function _o(e){const t=Ev[e];return t||Nn(0,e),t}var Ns;function rf(){return Ns}function Mv(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function V4(e,t){t&&(_o("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function o0(e){i0(e),e.drafts_.forEach(Iv),e.drafts_=null}function i0(e){e===Ns&&(Ns=e.parent_)}function B4(e){return Ns=Mv(Ns,e)}function Iv(e){const t=e[un];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Z4(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[un].modified_&&(o0(t),Nn(4)),xo(e)&&(e=Pa(t,e),t.parent_||Na(t,e)),t.patches_&&_o("Patches").generateReplacementPatches_(n[un].base_,e,t.patches_,t.inversePatches_)):e=Pa(t,n,[]),o0(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ef?e:void 0}function Pa(e,t,n){if(rl(t))return t;const r=e.immer_.shouldUseStrictIteration(),s=t[un];if(!s)return za(t,(l,u)=>W4(e,s,t,l,u,n),r),t;if(s.scope_!==e)return t;if(!s.modified_)return Na(e,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;const l=s.copy_;let u=l,f=!1;s.type_===3&&(u=new Set(l),l.clear(),f=!0),za(u,(p,m)=>W4(e,s,l,p,m,n,f),r),Na(e,l,!1),n&&e.patches_&&_o("Patches").generatePatches_(s,n,e.patches_,e.inversePatches_)}return s.copy_}function W4(e,t,n,r,s,l,u){if(s==null||typeof s!="object"&&!u)return;const f=rl(s);if(!(f&&!u)){if(pi(s)){const p=l&&t&&t.type_!==3&&!n0(t.assigned_,r)?l.concat(r):void 0,m=Pa(e,s,p);if(nf(n,r,m),pi(m))e.canAutoFreeze_=!1;else return}else u&&n.add(s);if(xo(s)&&!f){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===s&&f)return;Pa(e,s),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&(Ws(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&Na(e,s)}}}function Na(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&$0(t,n)}function Ov(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:rf(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let s=r,l=H0;n&&(s=[r],l=As);const{revoke:u,proxy:f}=Proxy.revocable(s,l);return r.draft_=f,r.revoke_=u,f}var H0={get(e,t){if(t===un)return e;const n=fo(e);if(!n0(n,t))return Lv(e,n,t);const r=n[t];return e.finalized_||!xo(r)?r:r===_u(e.base_,t)?(Cu(e),e.copy_[t]=a0(r,e)):r},has(e,t){return t in fo(e)},ownKeys(e){return Reflect.ownKeys(fo(e))},set(e,t,n){const r=of(fo(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const s=_u(fo(e),t),l=s?.[un];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Sv(n,s)&&(n!==void 0||n0(e.base_,t)))return!0;Cu(e),s0(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return _u(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Cu(e),s0(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=fo(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Nn(11)},getPrototypeOf(e){return Ps(e.base_)},setPrototypeOf(){Nn(12)}},As={};za(H0,(e,t)=>{As[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});As.deleteProperty=function(e,t){return As.set.call(this,e,t,void 0)};As.set=function(e,t,n){return H0.set.call(this,e[0],t,n,e[0])};function _u(e,t){const n=e[un];return(n?fo(n):e)[t]}function Lv(e,t,n){const r=of(t,n);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}function of(e,t){if(!(t in e))return;let n=Ps(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Ps(n)}}function s0(e){e.modified_||(e.modified_=!0,e.parent_&&s0(e.parent_))}function Cu(e){e.copy_||(e.copy_=r0(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Tv=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const l=n;n=t;const u=this;return function(p=l,...m){return u.produce(p,v=>n.call(this,v,...m))}}typeof n!="function"&&Nn(6),r!==void 0&&typeof r!="function"&&Nn(7);let s;if(xo(t)){const l=B4(this),u=a0(t,void 0);let f=!0;try{s=n(u),f=!1}finally{f?o0(l):i0(l)}return V4(l,r),Z4(s,l)}else if(!t||typeof t!="object"){if(s=n(t),s===void 0&&(s=t),s===ef&&(s=void 0),this.autoFreeze_&&$0(s,!0),r){const l=[],u=[];_o("Patches").generateReplacementPatches_(t,s,l,u),r(l,u)}return s}else Nn(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(u,...f)=>this.produceWithPatches(u,p=>t(p,...f));let r,s;return[this.produce(t,n,(u,f)=>{r=u,s=f}),r,s]},typeof e?.autoFreeze=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){xo(e)||Nn(8),pi(e)&&(e=zv(e));const t=B4(this),n=a0(e,void 0);return n[un].isManual_=!0,i0(t),n}finishDraft(e,t){const n=e&&e[un];(!n||!n.isManual_)&&Nn(9);const{scope_:r}=n;return V4(r,t),Z4(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const s=t[n];if(s.path.length===0&&s.op==="replace"){e=s.value;break}}n>-1&&(t=t.slice(n+1));const r=_o("Patches").applyPatches_;return pi(e)?r(e,t):this.produce(e,s=>r(s,t))}};function a0(e,t){const n=Ws(e)?_o("MapSet").proxyMap_(e,t):nl(e)?_o("MapSet").proxySet_(e,t):Ov(e,t);return(t?t.scope_:rf()).drafts_.push(n),n}function zv(e){return pi(e)||Nn(10,e),sf(e)}function sf(e){if(!xo(e)||rl(e))return e;const t=e[un];let n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=r0(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=r0(e,!0);return za(n,(s,l)=>{nf(n,s,sf(l))},r),t&&(t.finalized_=!1),n}var Pv=new Tv,Nv=Pv.produce;function l0(e,t,...n){for(const r of[...e])try{r(...n)}catch(s){console.error(`${t} subscriber failed:`,s)}}function Av(e,t){return bv(e,t)}function Rv(e){const t=typeof requestAnimationFrame=="function"?r=>{requestAnimationFrame(()=>{r()})}:r=>{queueMicrotask(r)};let n=!1;return()=>{n||(n=!0,t(()=>{n=!1,e()}))}}function ol(e,t){const n=Cv(()=>e),r=xv()(n);t?.persist&&Fv(r,t.persist.name);let s=l=>r.subscribe(()=>{l0([l],"[client-store]")});if(t?.flush==="raf"){const l=new Set,u=Rv(()=>{l0(l,"[client-store]")});r.subscribe(u),s=f=>(l.add(f),()=>{l.delete(f)})}return{getSnapshot:()=>r.getState(),subscribe:l=>s(l),update:l=>{r.setState(Nv(r.getState(),u=>{l(u)}),!0)},set:l=>{r.setState(l,!0)}}}function Fv(e,t){if(!(typeof localStorage>"u")){try{const n=localStorage.getItem(t);n!==null&&e.setState(JSON.parse(n),!0)}catch(n){console.error(`snapshot store '${t}' rehydration failed:`,n)}e.subscribe(n=>{try{localStorage.setItem(t,JSON.stringify(n))}catch(r){console.error(`snapshot store '${t}' persistence failed:`,r)}})}}function Dv(e){return{spec:e,create(t){const n=e.persist===void 0?void 0:t===void 0?e.persist:`${e.persist}.${t}`,r=ol(e.init(),n!==void 0?{persist:{name:n}}:void 0),s={};for(const l of Object.keys(e.actions)){const u=e.actions[l];s[l]=(...f)=>{r.update(p=>{u(p,...f)})}}return{actions:s,getSnapshot:()=>r.getSnapshot(),subscribe:l=>r.subscribe(l),store:r,clearPersisted:()=>{if(!(n===void 0||typeof localStorage>"u"))try{localStorage.removeItem(n)}catch{}}}}}}const $v=Object.freeze(Object.defineProperty({__proto__:null,createSnapshotStore:ol,defineStore:Dv,notifySubscribers:l0,shallowEqual:Av},Symbol.toStringTag,{value:"Module"}));function Hv(e){if(!e.isSecureContext)return"insecure";const{userAgent:t,maxTouchPoints:n}=e.navigator;return/iPad|iPhone|iPod/u.test(t)||/Macintosh/u.test(t)&&n>1?"ios":/Android/u.test(t)?"android":/Macintosh/u.test(t)&&/Safari/u.test(t)&&!/Chrome|Chromium|Edg|OPR/u.test(t)?"safari":"browser"}class Vv{constructor(t){this.browser=t,this.guide=Hv(t),this.standalone=t.matchMedia("(display-mode: standalone)"),this.onDisplayMode(),t.addEventListener("beforeinstallprompt",this.onPrompt),t.addEventListener("appinstalled",this.onInstalled),this.standalone.addEventListener("change",this.onDisplayMode)}store=ol("manual");guide;pending;live=!0;installationConfirmed=!1;standalone;onPrompt=t=>{if(!this.browser.isSecureContext||this.store.getSnapshot()==="installed")return;const n=t;typeof n.prompt!="function"||n.userChoice===void 0||(t.preventDefault(),this.pending=n,this.store.getSnapshot()!=="prompting"&&this.store.set("available"))};onInstalled=()=>{this.installationConfirmed=!0,this.pending=void 0,this.store.set("installed")};onDisplayMode=()=>{const t=this.browser.navigator.standalone;this.installationConfirmed||this.standalone.matches||t===!0?(this.pending=void 0,this.store.set("installed")):this.store.getSnapshot()==="installed"&&this.store.set("manual")};async install(){if(!this.live||this.pending===void 0||this.store.getSnapshot()==="prompting")return;const t=this.pending;this.pending=void 0,this.store.set("prompting");let n;try{await t.prompt(),n=(await t.userChoice).outcome}catch{n="failed"}!this.live||this.store.getSnapshot()==="installed"||this.store.set(this.pending===void 0?n:"available")}dispose(){this.live=!1,this.pending=void 0,this.browser.removeEventListener("beforeinstallprompt",this.onPrompt),this.browser.removeEventListener("appinstalled",this.onInstalled),this.standalone.removeEventListener("change",this.onDisplayMode)}}function Bv(){return/iPhone|iPad|iPod/u.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function Zv(){if(typeof document>"u"||!Bv())return;const e=document.querySelector('meta[name="viewport"]');e===null||/maximum-scale/u.test(e.content)||(e.content=`${e.content}, maximum-scale=1`)}function Wv(){return/iPhone|iPad|iPod/u.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function Uv(){if(typeof window>"u"||!Wv())return;const e=window.scrollBy.bind(window);window.scrollBy=((...t)=>{const n=document.activeElement;n instanceof HTMLElement&&n.closest("[data-composer-input]")!==null||e(...t)})}async function qv(e,t){await e.inject(["uiRenderer"],r=>{r.effect(()=>r.uiRenderer.mount(t),"web boot: application mount")})}function Us(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bu={exports:{}},De={};/**
20
+ * @license React
21
+ * react.production.min.js
22
+ *
23
+ * Copyright (c) Facebook, Inc. and its affiliates.
24
+ *
25
+ * This source code is licensed under the MIT license found in the
26
+ * LICENSE file in the root directory of this source tree.
27
+ */var U4;function Gv(){if(U4)return De;U4=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),w=Symbol.iterator;function y(T){return T===null||typeof T!="object"?null:(T=w&&T[w]||T["@@iterator"],typeof T=="function"?T:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,E={};function M(T,D,ee){this.props=T,this.context=D,this.refs=E,this.updater=ee||x}M.prototype.isReactComponent={},M.prototype.setState=function(T,D){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,D,"setState")},M.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function P(){}P.prototype=M.prototype;function O(T,D,ee){this.props=T,this.context=D,this.refs=E,this.updater=ee||x}var $=O.prototype=new P;$.constructor=O,C($,M.prototype),$.isPureReactComponent=!0;var z=Array.isArray,W=Object.prototype.hasOwnProperty,V={current:null},J={key:!0,ref:!0,__self:!0,__source:!0};function H(T,D,ee){var ue,Me={},Te=null,Ve=null;if(D!=null)for(ue in D.ref!==void 0&&(Ve=D.ref),D.key!==void 0&&(Te=""+D.key),D)W.call(D,ue)&&!J.hasOwnProperty(ue)&&(Me[ue]=D[ue]);var K=arguments.length-2;if(K===1)Me.children=ee;else if(1<K){for(var we=Array(K),Be=0;Be<K;Be++)we[Be]=arguments[Be+2];Me.children=we}if(T&&T.defaultProps)for(ue in K=T.defaultProps,K)Me[ue]===void 0&&(Me[ue]=K[ue]);return{$$typeof:e,type:T,key:Te,ref:Ve,props:Me,_owner:V.current}}function te(T,D){return{$$typeof:e,type:T.type,key:D,ref:T.ref,props:T.props,_owner:T._owner}}function Z(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function me(T){var D={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(ee){return D[ee]})}var ge=/\/+/g;function oe(T,D){return typeof T=="object"&&T!==null&&T.key!=null?me(""+T.key):D.toString(36)}function ae(T,D,ee,ue,Me){var Te=typeof T;(Te==="undefined"||Te==="boolean")&&(T=null);var Ve=!1;if(T===null)Ve=!0;else switch(Te){case"string":case"number":Ve=!0;break;case"object":switch(T.$$typeof){case e:case t:Ve=!0}}if(Ve)return Ve=T,Me=Me(Ve),T=ue===""?"."+oe(Ve,0):ue,z(Me)?(ee="",T!=null&&(ee=T.replace(ge,"$&/")+"/"),ae(Me,D,ee,"",function(Be){return Be})):Me!=null&&(Z(Me)&&(Me=te(Me,ee+(!Me.key||Ve&&Ve.key===Me.key?"":(""+Me.key).replace(ge,"$&/")+"/")+T)),D.push(Me)),1;if(Ve=0,ue=ue===""?".":ue+":",z(T))for(var K=0;K<T.length;K++){Te=T[K];var we=ue+oe(Te,K);Ve+=ae(Te,D,ee,we,Me)}else if(we=y(T),typeof we=="function")for(T=we.call(T),K=0;!(Te=T.next()).done;)Te=Te.value,we=ue+oe(Te,K++),Ve+=ae(Te,D,ee,we,Me);else if(Te==="object")throw D=String(T),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.");return Ve}function Ie(T,D,ee){if(T==null)return T;var ue=[],Me=0;return ae(T,ue,"","",function(Te){return D.call(ee,Te,Me++)}),ue}function xe(T){if(T._status===-1){var D=T._result;D=D(),D.then(function(ee){(T._status===0||T._status===-1)&&(T._status=1,T._result=ee)},function(ee){(T._status===0||T._status===-1)&&(T._status=2,T._result=ee)}),T._status===-1&&(T._status=0,T._result=D)}if(T._status===1)return T._result.default;throw T._result}var Ne={current:null},se={transition:null},ce={ReactCurrentDispatcher:Ne,ReactCurrentBatchConfig:se,ReactCurrentOwner:V};function le(){throw Error("act(...) is not supported in production builds of React.")}return De.Children={map:Ie,forEach:function(T,D,ee){Ie(T,function(){D.apply(this,arguments)},ee)},count:function(T){var D=0;return Ie(T,function(){D++}),D},toArray:function(T){return Ie(T,function(D){return D})||[]},only:function(T){if(!Z(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},De.Component=M,De.Fragment=n,De.Profiler=s,De.PureComponent=O,De.StrictMode=r,De.Suspense=p,De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ce,De.act=le,De.cloneElement=function(T,D,ee){if(T==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+T+".");var ue=C({},T.props),Me=T.key,Te=T.ref,Ve=T._owner;if(D!=null){if(D.ref!==void 0&&(Te=D.ref,Ve=V.current),D.key!==void 0&&(Me=""+D.key),T.type&&T.type.defaultProps)var K=T.type.defaultProps;for(we in D)W.call(D,we)&&!J.hasOwnProperty(we)&&(ue[we]=D[we]===void 0&&K!==void 0?K[we]:D[we])}var we=arguments.length-2;if(we===1)ue.children=ee;else if(1<we){K=Array(we);for(var Be=0;Be<we;Be++)K[Be]=arguments[Be+2];ue.children=K}return{$$typeof:e,type:T.type,key:Me,ref:Te,props:ue,_owner:Ve}},De.createContext=function(T){return T={$$typeof:u,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},T.Provider={$$typeof:l,_context:T},T.Consumer=T},De.createElement=H,De.createFactory=function(T){var D=H.bind(null,T);return D.type=T,D},De.createRef=function(){return{current:null}},De.forwardRef=function(T){return{$$typeof:f,render:T}},De.isValidElement=Z,De.lazy=function(T){return{$$typeof:v,_payload:{_status:-1,_result:T},_init:xe}},De.memo=function(T,D){return{$$typeof:m,type:T,compare:D===void 0?null:D}},De.startTransition=function(T){var D=se.transition;se.transition={};try{T()}finally{se.transition=D}},De.unstable_act=le,De.useCallback=function(T,D){return Ne.current.useCallback(T,D)},De.useContext=function(T){return Ne.current.useContext(T)},De.useDebugValue=function(){},De.useDeferredValue=function(T){return Ne.current.useDeferredValue(T)},De.useEffect=function(T,D){return Ne.current.useEffect(T,D)},De.useId=function(){return Ne.current.useId()},De.useImperativeHandle=function(T,D,ee){return Ne.current.useImperativeHandle(T,D,ee)},De.useInsertionEffect=function(T,D){return Ne.current.useInsertionEffect(T,D)},De.useLayoutEffect=function(T,D){return Ne.current.useLayoutEffect(T,D)},De.useMemo=function(T,D){return Ne.current.useMemo(T,D)},De.useReducer=function(T,D,ee){return Ne.current.useReducer(T,D,ee)},De.useRef=function(T){return Ne.current.useRef(T)},De.useState=function(T){return Ne.current.useState(T)},De.useSyncExternalStore=function(T,D,ee){return Ne.current.useSyncExternalStore(T,D,ee)},De.useTransition=function(){return Ne.current.useTransition()},De.version="18.3.1",De}var q4;function V0(){return q4||(q4=1,bu.exports=Gv()),bu.exports}var k=V0();const Kv=Us(k),Yv=Ka({__proto__:null,default:Kv},[k]);var ku={exports:{}},hs={};/**
28
+ * @license React
29
+ * react-jsx-runtime.production.min.js
30
+ *
31
+ * Copyright (c) Facebook, Inc. and its affiliates.
32
+ *
33
+ * This source code is licensed under the MIT license found in the
34
+ * LICENSE file in the root directory of this source tree.
35
+ */var G4;function Jv(){if(G4)return hs;G4=1;var e=V0(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(f,p,m){var v,w={},y=null,x=null;m!==void 0&&(y=""+m),p.key!==void 0&&(y=""+p.key),p.ref!==void 0&&(x=p.ref);for(v in p)r.call(p,v)&&!l.hasOwnProperty(v)&&(w[v]=p[v]);if(f&&f.defaultProps)for(v in p=f.defaultProps,p)w[v]===void 0&&(w[v]=p[v]);return{$$typeof:t,type:f,key:y,ref:x,props:w,_owner:s.current}}return hs.Fragment=n,hs.jsx=u,hs.jsxs=u,hs}var K4;function Qv(){return K4||(K4=1,ku.exports=Jv()),ku.exports}var c=Qv();const Xv=Us(c),ew=Ka({__proto__:null,default:Xv},[c]);var Su={exports:{}},Jt={},ju={exports:{}},Eu={};/**
36
+ * @license React
37
+ * scheduler.production.min.js
38
+ *
39
+ * Copyright (c) Facebook, Inc. and its affiliates.
40
+ *
41
+ * This source code is licensed under the MIT license found in the
42
+ * LICENSE file in the root directory of this source tree.
43
+ */var Y4;function tw(){return Y4||(Y4=1,(function(e){function t(se,ce){var le=se.length;se.push(ce);e:for(;0<le;){var T=le-1>>>1,D=se[T];if(0<s(D,ce))se[T]=ce,se[le]=D,le=T;else break e}}function n(se){return se.length===0?null:se[0]}function r(se){if(se.length===0)return null;var ce=se[0],le=se.pop();if(le!==ce){se[0]=le;e:for(var T=0,D=se.length,ee=D>>>1;T<ee;){var ue=2*(T+1)-1,Me=se[ue],Te=ue+1,Ve=se[Te];if(0>s(Me,le))Te<D&&0>s(Ve,Me)?(se[T]=Ve,se[Te]=le,T=Te):(se[T]=Me,se[ue]=le,T=ue);else if(Te<D&&0>s(Ve,le))se[T]=Ve,se[Te]=le,T=Te;else break e}}return ce}function s(se,ce){var le=se.sortIndex-ce.sortIndex;return le!==0?le:se.id-ce.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var p=[],m=[],v=1,w=null,y=3,x=!1,C=!1,E=!1,M=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $(se){for(var ce=n(m);ce!==null;){if(ce.callback===null)r(m);else if(ce.startTime<=se)r(m),ce.sortIndex=ce.expirationTime,t(p,ce);else break;ce=n(m)}}function z(se){if(E=!1,$(se),!C)if(n(p)!==null)C=!0,xe(W);else{var ce=n(m);ce!==null&&Ne(z,ce.startTime-se)}}function W(se,ce){C=!1,E&&(E=!1,P(H),H=-1),x=!0;var le=y;try{for($(ce),w=n(p);w!==null&&(!(w.expirationTime>ce)||se&&!me());){var T=w.callback;if(typeof T=="function"){w.callback=null,y=w.priorityLevel;var D=T(w.expirationTime<=ce);ce=e.unstable_now(),typeof D=="function"?w.callback=D:w===n(p)&&r(p),$(ce)}else r(p);w=n(p)}if(w!==null)var ee=!0;else{var ue=n(m);ue!==null&&Ne(z,ue.startTime-ce),ee=!1}return ee}finally{w=null,y=le,x=!1}}var V=!1,J=null,H=-1,te=5,Z=-1;function me(){return!(e.unstable_now()-Z<te)}function ge(){if(J!==null){var se=e.unstable_now();Z=se;var ce=!0;try{ce=J(!0,se)}finally{ce?oe():(V=!1,J=null)}}else V=!1}var oe;if(typeof O=="function")oe=function(){O(ge)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,Ie=ae.port2;ae.port1.onmessage=ge,oe=function(){Ie.postMessage(null)}}else oe=function(){M(ge,0)};function xe(se){J=se,V||(V=!0,oe())}function Ne(se,ce){H=M(function(){se(e.unstable_now())},ce)}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(se){se.callback=null},e.unstable_continueExecution=function(){C||x||(C=!0,xe(W))},e.unstable_forceFrameRate=function(se){0>se||125<se?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):te=0<se?Math.floor(1e3/se):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(p)},e.unstable_next=function(se){switch(y){case 1:case 2:case 3:var ce=3;break;default:ce=y}var le=y;y=ce;try{return se()}finally{y=le}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(se,ce){switch(se){case 1:case 2:case 3:case 4:case 5:break;default:se=3}var le=y;y=se;try{return ce()}finally{y=le}},e.unstable_scheduleCallback=function(se,ce,le){var T=e.unstable_now();switch(typeof le=="object"&&le!==null?(le=le.delay,le=typeof le=="number"&&0<le?T+le:T):le=T,se){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=le+D,se={id:v++,callback:ce,priorityLevel:se,startTime:le,expirationTime:D,sortIndex:-1},le>T?(se.sortIndex=le,t(m,se),n(p)===null&&se===n(m)&&(E?(P(H),H=-1):E=!0,Ne(z,le-T))):(se.sortIndex=D,t(p,se),C||x||(C=!0,xe(W))),se},e.unstable_shouldYield=me,e.unstable_wrapCallback=function(se){var ce=y;return function(){var le=y;y=ce;try{return se.apply(this,arguments)}finally{y=le}}}})(Eu)),Eu}var J4;function nw(){return J4||(J4=1,ju.exports=tw()),ju.exports}/**
44
+ * @license React
45
+ * react-dom.production.min.js
46
+ *
47
+ * Copyright (c) Facebook, Inc. and its affiliates.
48
+ *
49
+ * This source code is licensed under the MIT license found in the
50
+ * LICENSE file in the root directory of this source tree.
51
+ */var Q4;function rw(){if(Q4)return Jt;Q4=1;var e=V0(),t=nw();function n(o){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+o,a=1;a<arguments.length;a++)i+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+o+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,s={};function l(o,i){u(o,i),u(o+"Capture",i)}function u(o,i){for(s[o]=i,o=0;o<i.length;o++)r.add(i[o])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,m=/^[: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]*$/,v={},w={};function y(o){return p.call(w,o)?!0:p.call(v,o)?!1:m.test(o)?w[o]=!0:(v[o]=!0,!1)}function x(o,i,a,d){if(a!==null&&a.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:a!==null?!a.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function C(o,i,a,d){if(i===null||typeof i>"u"||x(o,i,a,d))return!0;if(d)return!1;if(a!==null)switch(a.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function E(o,i,a,d,h,g,_){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=h,this.mustUseProperty=a,this.propertyName=o,this.type=i,this.sanitizeURL=g,this.removeEmptyString=_}var M={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){M[o]=new E(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];M[i]=new E(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){M[o]=new E(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){M[o]=new E(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){M[o]=new E(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){M[o]=new E(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){M[o]=new E(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){M[o]=new E(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){M[o]=new E(o,5,!1,o.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function O(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var i=o.replace(P,O);M[i]=new E(i,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var i=o.replace(P,O);M[i]=new E(i,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var i=o.replace(P,O);M[i]=new E(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){M[o]=new E(o,1,!1,o.toLowerCase(),null,!1,!1)}),M.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){M[o]=new E(o,1,!1,o.toLowerCase(),null,!0,!0)});function $(o,i,a,d){var h=M.hasOwnProperty(i)?M[i]:null;(h!==null?h.type!==0:d||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(C(i,a,h,d)&&(a=null),d||h===null?y(i)&&(a===null?o.removeAttribute(i):o.setAttribute(i,""+a)):h.mustUseProperty?o[h.propertyName]=a===null?h.type===3?!1:"":a:(i=h.attributeName,d=h.attributeNamespace,a===null?o.removeAttribute(i):(h=h.type,a=h===3||h===4&&a===!0?"":""+a,d?o.setAttributeNS(d,i,a):o.setAttribute(i,a))))}var z=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,W=Symbol.for("react.element"),V=Symbol.for("react.portal"),J=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),te=Symbol.for("react.profiler"),Z=Symbol.for("react.provider"),me=Symbol.for("react.context"),ge=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),xe=Symbol.for("react.lazy"),Ne=Symbol.for("react.offscreen"),se=Symbol.iterator;function ce(o){return o===null||typeof o!="object"?null:(o=se&&o[se]||o["@@iterator"],typeof o=="function"?o:null)}var le=Object.assign,T;function D(o){if(T===void 0)try{throw Error()}catch(a){var i=a.stack.trim().match(/\n( *(at )?)/);T=i&&i[1]||""}return`
52
+ `+T+o}var ee=!1;function ue(o,i){if(!o||ee)return"";ee=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(F){var d=F}Reflect.construct(o,[],i)}else{try{i.call()}catch(F){d=F}o.call(i.prototype)}else{try{throw Error()}catch(F){d=F}o()}}catch(F){if(F&&d&&typeof F.stack=="string"){for(var h=F.stack.split(`
53
+ `),g=d.stack.split(`
54
+ `),_=h.length-1,S=g.length-1;1<=_&&0<=S&&h[_]!==g[S];)S--;for(;1<=_&&0<=S;_--,S--)if(h[_]!==g[S]){if(_!==1||S!==1)do if(_--,S--,0>S||h[_]!==g[S]){var I=`
55
+ `+h[_].replace(" at new "," at ");return o.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",o.displayName)),I}while(1<=_&&0<=S);break}}}finally{ee=!1,Error.prepareStackTrace=a}return(o=o?o.displayName||o.name:"")?D(o):""}function Me(o){switch(o.tag){case 5:return D(o.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return o=ue(o.type,!1),o;case 11:return o=ue(o.type.render,!1),o;case 1:return o=ue(o.type,!0),o;default:return""}}function Te(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case J:return"Fragment";case V:return"Portal";case te:return"Profiler";case H:return"StrictMode";case oe:return"Suspense";case ae:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case me:return(o.displayName||"Context")+".Consumer";case Z:return(o._context.displayName||"Context")+".Provider";case ge:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case Ie:return i=o.displayName||null,i!==null?i:Te(o.type)||"Memo";case xe:i=o._payload,o=o._init;try{return Te(o(i))}catch{}}return null}function Ve(o){var i=o.type;switch(o.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=i.render,o=o.displayName||o.name||"",i.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Te(i);case 8:return i===H?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function K(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function we(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Be(o){var i=we(o)?"checked":"value",a=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),d=""+o[i];if(!o.hasOwnProperty(i)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var h=a.get,g=a.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return h.call(this)},set:function(_){d=""+_,g.call(this,_)}}),Object.defineProperty(o,i,{enumerable:a.enumerable}),{getValue:function(){return d},setValue:function(_){d=""+_},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function Ye(o){o._valueTracker||(o._valueTracker=Be(o))}function Qe(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var a=i.getValue(),d="";return o&&(d=we(o)?o.checked?"true":"false":o.value),o=d,o!==a?(i.setValue(o),!0):!1}function wt(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function Re(o,i){var a=i.checked;return le({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??o._wrapperState.initialChecked})}function bt(o,i){var a=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;a=K(i.value!=null?i.value:a),o._wrapperState={initialChecked:d,initialValue:a,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Jn(o,i){i=i.checked,i!=null&&$(o,"checked",i,!1)}function fn(o,i){Jn(o,i);var a=K(i.value),d=i.type;if(a!=null)d==="number"?(a===0&&o.value===""||o.value!=a)&&(o.value=""+a):o.value!==""+a&&(o.value=""+a);else if(d==="submit"||d==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?yt(o,i.type,a):i.hasOwnProperty("defaultValue")&&yt(o,i.type,K(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function nn(o,i,a){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+o._wrapperState.initialValue,a||i===o.value||(o.value=i),o.defaultValue=i}a=o.name,a!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,a!==""&&(o.name=a)}function yt(o,i,a){(i!=="number"||wt(o.ownerDocument)!==o)&&(a==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+a&&(o.defaultValue=""+a))}var hn=Array.isArray;function Qn(o,i,a,d){if(o=o.options,i){i={};for(var h=0;h<a.length;h++)i["$"+a[h]]=!0;for(a=0;a<o.length;a++)h=i.hasOwnProperty("$"+o[a].value),o[a].selected!==h&&(o[a].selected=h),h&&d&&(o[a].defaultSelected=!0)}else{for(a=""+K(a),i=null,h=0;h<o.length;h++){if(o[h].value===a){o[h].selected=!0,d&&(o[h].defaultSelected=!0);return}i!==null||o[h].disabled||(i=o[h])}i!==null&&(i.selected=!0)}}function Eo(o,i){if(i.dangerouslySetInnerHTML!=null)throw Error(n(91));return le({},i,{value:void 0,defaultValue:void 0,children:""+o._wrapperState.initialValue})}function Ei(o,i){var a=i.value;if(a==null){if(a=i.children,i=i.defaultValue,a!=null){if(i!=null)throw Error(n(92));if(hn(a)){if(1<a.length)throw Error(n(93));a=a[0]}i=a}i==null&&(i=""),a=i}o._wrapperState={initialValue:K(a)}}function Mi(o,i){var a=K(i.value),d=K(i.defaultValue);a!=null&&(a=""+a,a!==o.value&&(o.value=a),i.defaultValue==null&&o.defaultValue!==a&&(o.defaultValue=a)),d!=null&&(o.defaultValue=""+d)}function Z2(o){var i=o.textContent;i===o._wrapperState.initialValue&&i!==""&&i!==null&&(o.value=i)}function W2(o){switch(o){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function jl(o,i){return o==null||o==="http://www.w3.org/1999/xhtml"?W2(i):o==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":o}var e1,U2=(function(o){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,a,d,h){MSApp.execUnsafeLocalFunction(function(){return o(i,a,d,h)})}:o})(function(o,i){if(o.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in o)o.innerHTML=i;else{for(e1=e1||document.createElement("div"),e1.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=e1.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function Ii(o,i){if(i){var a=o.firstChild;if(a&&a===o.lastChild&&a.nodeType===3){a.nodeValue=i;return}}o.textContent=i}var Oi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ip=["Webkit","ms","Moz","O"];Object.keys(Oi).forEach(function(o){Ip.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),Oi[i]=Oi[o]})});function q2(o,i,a){return i==null||typeof i=="boolean"||i===""?"":a||typeof i!="number"||i===0||Oi.hasOwnProperty(o)&&Oi[o]?(""+i).trim():i+"px"}function G2(o,i){o=o.style;for(var a in i)if(i.hasOwnProperty(a)){var d=a.indexOf("--")===0,h=q2(a,i[a],d);a==="float"&&(a="cssFloat"),d?o.setProperty(a,h):o[a]=h}}var Op=le({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function El(o,i){if(i){if(Op[o]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,o));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function Ml(o,i){if(o.indexOf("-")===-1)return typeof i.is=="string";switch(o){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 Il=null;function Ol(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Ll=null,Mo=null,Io=null;function K2(o){if(o=Qi(o)){if(typeof Ll!="function")throw Error(n(280));var i=o.stateNode;i&&(i=b1(i),Ll(o.stateNode,o.type,i))}}function Y2(o){Mo?Io?Io.push(o):Io=[o]:Mo=o}function J2(){if(Mo){var o=Mo,i=Io;if(Io=Mo=null,K2(o),i)for(o=0;o<i.length;o++)K2(i[o])}}function Q2(o,i){return o(i)}function X2(){}var Tl=!1;function ed(o,i,a){if(Tl)return o(i,a);Tl=!0;try{return Q2(o,i,a)}finally{Tl=!1,(Mo!==null||Io!==null)&&(X2(),J2())}}function Li(o,i){var a=o.stateNode;if(a===null)return null;var d=b1(a);if(d===null)return null;a=d[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(o=o.type,d=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!d;break e;default:o=!1}if(o)return null;if(a&&typeof a!="function")throw Error(n(231,i,typeof a));return a}var zl=!1;if(f)try{var Ti={};Object.defineProperty(Ti,"passive",{get:function(){zl=!0}}),window.addEventListener("test",Ti,Ti),window.removeEventListener("test",Ti,Ti)}catch{zl=!1}function Lp(o,i,a,d,h,g,_,S,I){var F=Array.prototype.slice.call(arguments,3);try{i.apply(a,F)}catch(G){this.onError(G)}}var zi=!1,t1=null,n1=!1,Pl=null,Tp={onError:function(o){zi=!0,t1=o}};function zp(o,i,a,d,h,g,_,S,I){zi=!1,t1=null,Lp.apply(Tp,arguments)}function Pp(o,i,a,d,h,g,_,S,I){if(zp.apply(this,arguments),zi){if(zi){var F=t1;zi=!1,t1=null}else throw Error(n(198));n1||(n1=!0,Pl=F)}}function qr(o){var i=o,a=o;if(o.alternate)for(;i.return;)i=i.return;else{o=i;do i=o,(i.flags&4098)!==0&&(a=i.return),o=i.return;while(o)}return i.tag===3?a:null}function td(o){if(o.tag===13){var i=o.memoizedState;if(i===null&&(o=o.alternate,o!==null&&(i=o.memoizedState)),i!==null)return i.dehydrated}return null}function nd(o){if(qr(o)!==o)throw Error(n(188))}function Np(o){var i=o.alternate;if(!i){if(i=qr(o),i===null)throw Error(n(188));return i!==o?null:o}for(var a=o,d=i;;){var h=a.return;if(h===null)break;var g=h.alternate;if(g===null){if(d=h.return,d!==null){a=d;continue}break}if(h.child===g.child){for(g=h.child;g;){if(g===a)return nd(h),o;if(g===d)return nd(h),i;g=g.sibling}throw Error(n(188))}if(a.return!==d.return)a=h,d=g;else{for(var _=!1,S=h.child;S;){if(S===a){_=!0,a=h,d=g;break}if(S===d){_=!0,d=h,a=g;break}S=S.sibling}if(!_){for(S=g.child;S;){if(S===a){_=!0,a=g,d=h;break}if(S===d){_=!0,d=g,a=h;break}S=S.sibling}if(!_)throw Error(n(189))}}if(a.alternate!==d)throw Error(n(190))}if(a.tag!==3)throw Error(n(188));return a.stateNode.current===a?o:i}function rd(o){return o=Np(o),o!==null?od(o):null}function od(o){if(o.tag===5||o.tag===6)return o;for(o=o.child;o!==null;){var i=od(o);if(i!==null)return i;o=o.sibling}return null}var id=t.unstable_scheduleCallback,sd=t.unstable_cancelCallback,Ap=t.unstable_shouldYield,Rp=t.unstable_requestPaint,ht=t.unstable_now,Fp=t.unstable_getCurrentPriorityLevel,Nl=t.unstable_ImmediatePriority,ad=t.unstable_UserBlockingPriority,r1=t.unstable_NormalPriority,Dp=t.unstable_LowPriority,ld=t.unstable_IdlePriority,o1=null,Fn=null;function $p(o){if(Fn&&typeof Fn.onCommitFiberRoot=="function")try{Fn.onCommitFiberRoot(o1,o,void 0,(o.current.flags&128)===128)}catch{}}var jn=Math.clz32?Math.clz32:Bp,Hp=Math.log,Vp=Math.LN2;function Bp(o){return o>>>=0,o===0?32:31-(Hp(o)/Vp|0)|0}var i1=64,s1=4194304;function Pi(o){switch(o&-o){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: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 o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function a1(o,i){var a=o.pendingLanes;if(a===0)return 0;var d=0,h=o.suspendedLanes,g=o.pingedLanes,_=a&268435455;if(_!==0){var S=_&~h;S!==0?d=Pi(S):(g&=_,g!==0&&(d=Pi(g)))}else _=a&~h,_!==0?d=Pi(_):g!==0&&(d=Pi(g));if(d===0)return 0;if(i!==0&&i!==d&&(i&h)===0&&(h=d&-d,g=i&-i,h>=g||h===16&&(g&4194240)!==0))return i;if((d&4)!==0&&(d|=a&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=d;0<i;)a=31-jn(i),h=1<<a,d|=o[a],i&=~h;return d}function Zp(o,i){switch(o){case 1:case 2:case 4:return i+250;case 8:case 16:case 32:case 64: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 i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Wp(o,i){for(var a=o.suspendedLanes,d=o.pingedLanes,h=o.expirationTimes,g=o.pendingLanes;0<g;){var _=31-jn(g),S=1<<_,I=h[_];I===-1?((S&a)===0||(S&d)!==0)&&(h[_]=Zp(S,i)):I<=i&&(o.expiredLanes|=S),g&=~S}}function Al(o){return o=o.pendingLanes&-1073741825,o!==0?o:o&1073741824?1073741824:0}function cd(){var o=i1;return i1<<=1,(i1&4194240)===0&&(i1=64),o}function Rl(o){for(var i=[],a=0;31>a;a++)i.push(o);return i}function Ni(o,i,a){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-jn(i),o[i]=a}function Up(o,i){var a=o.pendingLanes&~i;o.pendingLanes=i,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=i,o.mutableReadLanes&=i,o.entangledLanes&=i,i=o.entanglements;var d=o.eventTimes;for(o=o.expirationTimes;0<a;){var h=31-jn(a),g=1<<h;i[h]=0,d[h]=-1,o[h]=-1,a&=~g}}function Fl(o,i){var a=o.entangledLanes|=i;for(o=o.entanglements;a;){var d=31-jn(a),h=1<<d;h&i|o[d]&i&&(o[d]|=i),a&=~h}}var Je=0;function ud(o){return o&=-o,1<o?4<o?(o&268435455)!==0?16:536870912:4:1}var dd,Dl,fd,hd,pd,$l=!1,l1=[],wr=null,yr=null,xr=null,Ai=new Map,Ri=new Map,_r=[],qp="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 submit".split(" ");function md(o,i){switch(o){case"focusin":case"focusout":wr=null;break;case"dragenter":case"dragleave":yr=null;break;case"mouseover":case"mouseout":xr=null;break;case"pointerover":case"pointerout":Ai.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ri.delete(i.pointerId)}}function Fi(o,i,a,d,h,g){return o===null||o.nativeEvent!==g?(o={blockedOn:i,domEventName:a,eventSystemFlags:d,nativeEvent:g,targetContainers:[h]},i!==null&&(i=Qi(i),i!==null&&Dl(i)),o):(o.eventSystemFlags|=d,i=o.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),o)}function Gp(o,i,a,d,h){switch(i){case"focusin":return wr=Fi(wr,o,i,a,d,h),!0;case"dragenter":return yr=Fi(yr,o,i,a,d,h),!0;case"mouseover":return xr=Fi(xr,o,i,a,d,h),!0;case"pointerover":var g=h.pointerId;return Ai.set(g,Fi(Ai.get(g)||null,o,i,a,d,h)),!0;case"gotpointercapture":return g=h.pointerId,Ri.set(g,Fi(Ri.get(g)||null,o,i,a,d,h)),!0}return!1}function gd(o){var i=Gr(o.target);if(i!==null){var a=qr(i);if(a!==null){if(i=a.tag,i===13){if(i=td(a),i!==null){o.blockedOn=i,pd(o.priority,function(){fd(a)});return}}else if(i===3&&a.stateNode.current.memoizedState.isDehydrated){o.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}o.blockedOn=null}function c1(o){if(o.blockedOn!==null)return!1;for(var i=o.targetContainers;0<i.length;){var a=Vl(o.domEventName,o.eventSystemFlags,i[0],o.nativeEvent);if(a===null){a=o.nativeEvent;var d=new a.constructor(a.type,a);Il=d,a.target.dispatchEvent(d),Il=null}else return i=Qi(a),i!==null&&Dl(i),o.blockedOn=a,!1;i.shift()}return!0}function vd(o,i,a){c1(o)&&a.delete(i)}function Kp(){$l=!1,wr!==null&&c1(wr)&&(wr=null),yr!==null&&c1(yr)&&(yr=null),xr!==null&&c1(xr)&&(xr=null),Ai.forEach(vd),Ri.forEach(vd)}function Di(o,i){o.blockedOn===i&&(o.blockedOn=null,$l||($l=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Kp)))}function $i(o){function i(h){return Di(h,o)}if(0<l1.length){Di(l1[0],o);for(var a=1;a<l1.length;a++){var d=l1[a];d.blockedOn===o&&(d.blockedOn=null)}}for(wr!==null&&Di(wr,o),yr!==null&&Di(yr,o),xr!==null&&Di(xr,o),Ai.forEach(i),Ri.forEach(i),a=0;a<_r.length;a++)d=_r[a],d.blockedOn===o&&(d.blockedOn=null);for(;0<_r.length&&(a=_r[0],a.blockedOn===null);)gd(a),a.blockedOn===null&&_r.shift()}var Oo=z.ReactCurrentBatchConfig,u1=!0;function Yp(o,i,a,d){var h=Je,g=Oo.transition;Oo.transition=null;try{Je=1,Hl(o,i,a,d)}finally{Je=h,Oo.transition=g}}function Jp(o,i,a,d){var h=Je,g=Oo.transition;Oo.transition=null;try{Je=4,Hl(o,i,a,d)}finally{Je=h,Oo.transition=g}}function Hl(o,i,a,d){if(u1){var h=Vl(o,i,a,d);if(h===null)ic(o,i,d,d1,a),md(o,d);else if(Gp(h,o,i,a,d))d.stopPropagation();else if(md(o,d),i&4&&-1<qp.indexOf(o)){for(;h!==null;){var g=Qi(h);if(g!==null&&dd(g),g=Vl(o,i,a,d),g===null&&ic(o,i,d,d1,a),g===h)break;h=g}h!==null&&d.stopPropagation()}else ic(o,i,d,null,a)}}var d1=null;function Vl(o,i,a,d){if(d1=null,o=Ol(d),o=Gr(o),o!==null)if(i=qr(o),i===null)o=null;else if(a=i.tag,a===13){if(o=td(i),o!==null)return o;o=null}else if(a===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null);return d1=o,null}function wd(o){switch(o){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Fp()){case Nl:return 1;case ad:return 4;case r1:case Dp:return 16;case ld:return 536870912;default:return 16}default:return 16}}var Cr=null,Bl=null,f1=null;function yd(){if(f1)return f1;var o,i=Bl,a=i.length,d,h="value"in Cr?Cr.value:Cr.textContent,g=h.length;for(o=0;o<a&&i[o]===h[o];o++);var _=a-o;for(d=1;d<=_&&i[a-d]===h[g-d];d++);return f1=h.slice(o,1<d?1-d:void 0)}function h1(o){var i=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&i===13&&(o=13)):o=i,o===10&&(o=13),32<=o||o===13?o:0}function p1(){return!0}function xd(){return!1}function rn(o){function i(a,d,h,g,_){this._reactName=a,this._targetInst=h,this.type=d,this.nativeEvent=g,this.target=_,this.currentTarget=null;for(var S in o)o.hasOwnProperty(S)&&(a=o[S],this[S]=a?a(g):g[S]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?p1:xd,this.isPropagationStopped=xd,this}return le(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=p1)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=p1)},persist:function(){},isPersistent:p1}),i}var Lo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zl=rn(Lo),Hi=le({},Lo,{view:0,detail:0}),Qp=rn(Hi),Wl,Ul,Vi,m1=le({},Hi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gl,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==Vi&&(Vi&&o.type==="mousemove"?(Wl=o.screenX-Vi.screenX,Ul=o.screenY-Vi.screenY):Ul=Wl=0,Vi=o),Wl)},movementY:function(o){return"movementY"in o?o.movementY:Ul}}),_d=rn(m1),Xp=le({},m1,{dataTransfer:0}),em=rn(Xp),tm=le({},Hi,{relatedTarget:0}),ql=rn(tm),nm=le({},Lo,{animationName:0,elapsedTime:0,pseudoElement:0}),rm=rn(nm),om=le({},Lo,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),im=rn(om),sm=le({},Lo,{data:0}),Cd=rn(sm),am={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lm={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"},cm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function um(o){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(o):(o=cm[o])?!!i[o]:!1}function Gl(){return um}var dm=le({},Hi,{key:function(o){if(o.key){var i=am[o.key]||o.key;if(i!=="Unidentified")return i}return o.type==="keypress"?(o=h1(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?lm[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gl,charCode:function(o){return o.type==="keypress"?h1(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?h1(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),fm=rn(dm),hm=le({},m1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bd=rn(hm),pm=le({},Hi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gl}),mm=rn(pm),gm=le({},Lo,{propertyName:0,elapsedTime:0,pseudoElement:0}),vm=rn(gm),wm=le({},m1,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),ym=rn(wm),xm=[9,13,27,32],Kl=f&&"CompositionEvent"in window,Bi=null;f&&"documentMode"in document&&(Bi=document.documentMode);var _m=f&&"TextEvent"in window&&!Bi,kd=f&&(!Kl||Bi&&8<Bi&&11>=Bi),Sd=" ",jd=!1;function Ed(o,i){switch(o){case"keyup":return xm.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Md(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var To=!1;function Cm(o,i){switch(o){case"compositionend":return Md(i);case"keypress":return i.which!==32?null:(jd=!0,Sd);case"textInput":return o=i.data,o===Sd&&jd?null:o;default:return null}}function bm(o,i){if(To)return o==="compositionend"||!Kl&&Ed(o,i)?(o=yd(),f1=Bl=Cr=null,To=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return kd&&i.locale!=="ko"?null:i.data;default:return null}}var km={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 Id(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i==="input"?!!km[o.type]:i==="textarea"}function Od(o,i,a,d){Y2(d),i=x1(i,"onChange"),0<i.length&&(a=new Zl("onChange","change",null,a,d),o.push({event:a,listeners:i}))}var Zi=null,Wi=null;function Sm(o){Gd(o,0)}function g1(o){var i=Ro(o);if(Qe(i))return o}function jm(o,i){if(o==="change")return i}var Ld=!1;if(f){var Yl;if(f){var Jl="oninput"in document;if(!Jl){var Td=document.createElement("div");Td.setAttribute("oninput","return;"),Jl=typeof Td.oninput=="function"}Yl=Jl}else Yl=!1;Ld=Yl&&(!document.documentMode||9<document.documentMode)}function zd(){Zi&&(Zi.detachEvent("onpropertychange",Pd),Wi=Zi=null)}function Pd(o){if(o.propertyName==="value"&&g1(Wi)){var i=[];Od(i,Wi,o,Ol(o)),ed(Sm,i)}}function Em(o,i,a){o==="focusin"?(zd(),Zi=i,Wi=a,Zi.attachEvent("onpropertychange",Pd)):o==="focusout"&&zd()}function Mm(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return g1(Wi)}function Im(o,i){if(o==="click")return g1(i)}function Om(o,i){if(o==="input"||o==="change")return g1(i)}function Lm(o,i){return o===i&&(o!==0||1/o===1/i)||o!==o&&i!==i}var En=typeof Object.is=="function"?Object.is:Lm;function Ui(o,i){if(En(o,i))return!0;if(typeof o!="object"||o===null||typeof i!="object"||i===null)return!1;var a=Object.keys(o),d=Object.keys(i);if(a.length!==d.length)return!1;for(d=0;d<a.length;d++){var h=a[d];if(!p.call(i,h)||!En(o[h],i[h]))return!1}return!0}function Nd(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function Ad(o,i){var a=Nd(o);o=0;for(var d;a;){if(a.nodeType===3){if(d=o+a.textContent.length,o<=i&&d>=i)return{node:a,offset:i-o};o=d}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Nd(a)}}function Rd(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?Rd(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function Fd(){for(var o=window,i=wt();i instanceof o.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)o=i.contentWindow;else break;i=wt(o.document)}return i}function Ql(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i&&(i==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||i==="textarea"||o.contentEditable==="true")}function Tm(o){var i=Fd(),a=o.focusedElem,d=o.selectionRange;if(i!==a&&a&&a.ownerDocument&&Rd(a.ownerDocument.documentElement,a)){if(d!==null&&Ql(a)){if(i=d.start,o=d.end,o===void 0&&(o=i),"selectionStart"in a)a.selectionStart=i,a.selectionEnd=Math.min(o,a.value.length);else if(o=(i=a.ownerDocument||document)&&i.defaultView||window,o.getSelection){o=o.getSelection();var h=a.textContent.length,g=Math.min(d.start,h);d=d.end===void 0?g:Math.min(d.end,h),!o.extend&&g>d&&(h=d,d=g,g=h),h=Ad(a,g);var _=Ad(a,d);h&&_&&(o.rangeCount!==1||o.anchorNode!==h.node||o.anchorOffset!==h.offset||o.focusNode!==_.node||o.focusOffset!==_.offset)&&(i=i.createRange(),i.setStart(h.node,h.offset),o.removeAllRanges(),g>d?(o.addRange(i),o.extend(_.node,_.offset)):(i.setEnd(_.node,_.offset),o.addRange(i)))}}for(i=[],o=a;o=o.parentNode;)o.nodeType===1&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<i.length;a++)o=i[a],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var zm=f&&"documentMode"in document&&11>=document.documentMode,zo=null,Xl=null,qi=null,ec=!1;function Dd(o,i,a){var d=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ec||zo==null||zo!==wt(d)||(d=zo,"selectionStart"in d&&Ql(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),qi&&Ui(qi,d)||(qi=d,d=x1(Xl,"onSelect"),0<d.length&&(i=new Zl("onSelect","select",null,i,a),o.push({event:i,listeners:d}),i.target=zo)))}function v1(o,i){var a={};return a[o.toLowerCase()]=i.toLowerCase(),a["Webkit"+o]="webkit"+i,a["Moz"+o]="moz"+i,a}var Po={animationend:v1("Animation","AnimationEnd"),animationiteration:v1("Animation","AnimationIteration"),animationstart:v1("Animation","AnimationStart"),transitionend:v1("Transition","TransitionEnd")},tc={},$d={};f&&($d=document.createElement("div").style,"AnimationEvent"in window||(delete Po.animationend.animation,delete Po.animationiteration.animation,delete Po.animationstart.animation),"TransitionEvent"in window||delete Po.transitionend.transition);function w1(o){if(tc[o])return tc[o];if(!Po[o])return o;var i=Po[o],a;for(a in i)if(i.hasOwnProperty(a)&&a in $d)return tc[o]=i[a];return o}var Hd=w1("animationend"),Vd=w1("animationiteration"),Bd=w1("animationstart"),Zd=w1("transitionend"),Wd=new Map,Ud="abort auxClick 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(" ");function br(o,i){Wd.set(o,i),l(i,[o])}for(var nc=0;nc<Ud.length;nc++){var rc=Ud[nc],Pm=rc.toLowerCase(),Nm=rc[0].toUpperCase()+rc.slice(1);br(Pm,"on"+Nm)}br(Hd,"onAnimationEnd"),br(Vd,"onAnimationIteration"),br(Bd,"onAnimationStart"),br("dblclick","onDoubleClick"),br("focusin","onFocus"),br("focusout","onBlur"),br(Zd,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Gi="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(" "),Am=new Set("cancel close invalid load scroll toggle".split(" ").concat(Gi));function qd(o,i,a){var d=o.type||"unknown-event";o.currentTarget=a,Pp(d,i,void 0,o),o.currentTarget=null}function Gd(o,i){i=(i&4)!==0;for(var a=0;a<o.length;a++){var d=o[a],h=d.event;d=d.listeners;e:{var g=void 0;if(i)for(var _=d.length-1;0<=_;_--){var S=d[_],I=S.instance,F=S.currentTarget;if(S=S.listener,I!==g&&h.isPropagationStopped())break e;qd(h,S,F),g=I}else for(_=0;_<d.length;_++){if(S=d[_],I=S.instance,F=S.currentTarget,S=S.listener,I!==g&&h.isPropagationStopped())break e;qd(h,S,F),g=I}}}if(n1)throw o=Pl,n1=!1,Pl=null,o}function ot(o,i){var a=i[dc];a===void 0&&(a=i[dc]=new Set);var d=o+"__bubble";a.has(d)||(Kd(i,o,2,!1),a.add(d))}function oc(o,i,a){var d=0;i&&(d|=4),Kd(a,o,d,i)}var y1="_reactListening"+Math.random().toString(36).slice(2);function Ki(o){if(!o[y1]){o[y1]=!0,r.forEach(function(a){a!=="selectionchange"&&(Am.has(a)||oc(a,!1,o),oc(a,!0,o))});var i=o.nodeType===9?o:o.ownerDocument;i===null||i[y1]||(i[y1]=!0,oc("selectionchange",!1,i))}}function Kd(o,i,a,d){switch(wd(i)){case 1:var h=Yp;break;case 4:h=Jp;break;default:h=Hl}a=h.bind(null,i,a,o),h=void 0,!zl||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),d?h!==void 0?o.addEventListener(i,a,{capture:!0,passive:h}):o.addEventListener(i,a,!0):h!==void 0?o.addEventListener(i,a,{passive:h}):o.addEventListener(i,a,!1)}function ic(o,i,a,d,h){var g=d;if((i&1)===0&&(i&2)===0&&d!==null)e:for(;;){if(d===null)return;var _=d.tag;if(_===3||_===4){var S=d.stateNode.containerInfo;if(S===h||S.nodeType===8&&S.parentNode===h)break;if(_===4)for(_=d.return;_!==null;){var I=_.tag;if((I===3||I===4)&&(I=_.stateNode.containerInfo,I===h||I.nodeType===8&&I.parentNode===h))return;_=_.return}for(;S!==null;){if(_=Gr(S),_===null)return;if(I=_.tag,I===5||I===6){d=g=_;continue e}S=S.parentNode}}d=d.return}ed(function(){var F=g,G=Ol(a),X=[];e:{var q=Wd.get(o);if(q!==void 0){var de=Zl,_e=o;switch(o){case"keypress":if(h1(a)===0)break e;case"keydown":case"keyup":de=fm;break;case"focusin":_e="focus",de=ql;break;case"focusout":_e="blur",de=ql;break;case"beforeblur":case"afterblur":de=ql;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":de=_d;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":de=em;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":de=mm;break;case Hd:case Vd:case Bd:de=rm;break;case Zd:de=vm;break;case"scroll":de=Qp;break;case"wheel":de=ym;break;case"copy":case"cut":case"paste":de=im;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":de=bd}var be=(i&4)!==0,pt=!be&&o==="scroll",N=be?q!==null?q+"Capture":null:q;be=[];for(var L=F,R;L!==null;){R=L;var ne=R.stateNode;if(R.tag===5&&ne!==null&&(R=ne,N!==null&&(ne=Li(L,N),ne!=null&&be.push(Yi(L,ne,R)))),pt)break;L=L.return}0<be.length&&(q=new de(q,_e,null,a,G),X.push({event:q,listeners:be}))}}if((i&7)===0){e:{if(q=o==="mouseover"||o==="pointerover",de=o==="mouseout"||o==="pointerout",q&&a!==Il&&(_e=a.relatedTarget||a.fromElement)&&(Gr(_e)||_e[Xn]))break e;if((de||q)&&(q=G.window===G?G:(q=G.ownerDocument)?q.defaultView||q.parentWindow:window,de?(_e=a.relatedTarget||a.toElement,de=F,_e=_e?Gr(_e):null,_e!==null&&(pt=qr(_e),_e!==pt||_e.tag!==5&&_e.tag!==6)&&(_e=null)):(de=null,_e=F),de!==_e)){if(be=_d,ne="onMouseLeave",N="onMouseEnter",L="mouse",(o==="pointerout"||o==="pointerover")&&(be=bd,ne="onPointerLeave",N="onPointerEnter",L="pointer"),pt=de==null?q:Ro(de),R=_e==null?q:Ro(_e),q=new be(ne,L+"leave",de,a,G),q.target=pt,q.relatedTarget=R,ne=null,Gr(G)===F&&(be=new be(N,L+"enter",_e,a,G),be.target=R,be.relatedTarget=pt,ne=be),pt=ne,de&&_e)t:{for(be=de,N=_e,L=0,R=be;R;R=No(R))L++;for(R=0,ne=N;ne;ne=No(ne))R++;for(;0<L-R;)be=No(be),L--;for(;0<R-L;)N=No(N),R--;for(;L--;){if(be===N||N!==null&&be===N.alternate)break t;be=No(be),N=No(N)}be=null}else be=null;de!==null&&Yd(X,q,de,be,!1),_e!==null&&pt!==null&&Yd(X,pt,_e,be,!0)}}e:{if(q=F?Ro(F):window,de=q.nodeName&&q.nodeName.toLowerCase(),de==="select"||de==="input"&&q.type==="file")var Se=jm;else if(Id(q))if(Ld)Se=Om;else{Se=Mm;var Oe=Em}else(de=q.nodeName)&&de.toLowerCase()==="input"&&(q.type==="checkbox"||q.type==="radio")&&(Se=Im);if(Se&&(Se=Se(o,F))){Od(X,Se,a,G);break e}Oe&&Oe(o,q,F),o==="focusout"&&(Oe=q._wrapperState)&&Oe.controlled&&q.type==="number"&&yt(q,"number",q.value)}switch(Oe=F?Ro(F):window,o){case"focusin":(Id(Oe)||Oe.contentEditable==="true")&&(zo=Oe,Xl=F,qi=null);break;case"focusout":qi=Xl=zo=null;break;case"mousedown":ec=!0;break;case"contextmenu":case"mouseup":case"dragend":ec=!1,Dd(X,a,G);break;case"selectionchange":if(zm)break;case"keydown":case"keyup":Dd(X,a,G)}var Le;if(Kl)e:{switch(o){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else To?Ed(o,a)&&(Ae="onCompositionEnd"):o==="keydown"&&a.keyCode===229&&(Ae="onCompositionStart");Ae&&(kd&&a.locale!=="ko"&&(To||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&To&&(Le=yd()):(Cr=G,Bl="value"in Cr?Cr.value:Cr.textContent,To=!0)),Oe=x1(F,Ae),0<Oe.length&&(Ae=new Cd(Ae,o,null,a,G),X.push({event:Ae,listeners:Oe}),Le?Ae.data=Le:(Le=Md(a),Le!==null&&(Ae.data=Le)))),(Le=_m?Cm(o,a):bm(o,a))&&(F=x1(F,"onBeforeInput"),0<F.length&&(G=new Cd("onBeforeInput","beforeinput",null,a,G),X.push({event:G,listeners:F}),G.data=Le))}Gd(X,i)})}function Yi(o,i,a){return{instance:o,listener:i,currentTarget:a}}function x1(o,i){for(var a=i+"Capture",d=[];o!==null;){var h=o,g=h.stateNode;h.tag===5&&g!==null&&(h=g,g=Li(o,a),g!=null&&d.unshift(Yi(o,g,h)),g=Li(o,i),g!=null&&d.push(Yi(o,g,h))),o=o.return}return d}function No(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5);return o||null}function Yd(o,i,a,d,h){for(var g=i._reactName,_=[];a!==null&&a!==d;){var S=a,I=S.alternate,F=S.stateNode;if(I!==null&&I===d)break;S.tag===5&&F!==null&&(S=F,h?(I=Li(a,g),I!=null&&_.unshift(Yi(a,I,S))):h||(I=Li(a,g),I!=null&&_.push(Yi(a,I,S)))),a=a.return}_.length!==0&&o.push({event:i,listeners:_})}var Rm=/\r\n?/g,Fm=/\u0000|\uFFFD/g;function Jd(o){return(typeof o=="string"?o:""+o).replace(Rm,`
56
+ `).replace(Fm,"")}function _1(o,i,a){if(i=Jd(i),Jd(o)!==i&&a)throw Error(n(425))}function C1(){}var sc=null,ac=null;function lc(o,i){return o==="textarea"||o==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var cc=typeof setTimeout=="function"?setTimeout:void 0,Dm=typeof clearTimeout=="function"?clearTimeout:void 0,Qd=typeof Promise=="function"?Promise:void 0,$m=typeof queueMicrotask=="function"?queueMicrotask:typeof Qd<"u"?function(o){return Qd.resolve(null).then(o).catch(Hm)}:cc;function Hm(o){setTimeout(function(){throw o})}function uc(o,i){var a=i,d=0;do{var h=a.nextSibling;if(o.removeChild(a),h&&h.nodeType===8)if(a=h.data,a==="/$"){if(d===0){o.removeChild(h),$i(i);return}d--}else a!=="$"&&a!=="$?"&&a!=="$!"||d++;a=h}while(a);$i(i)}function kr(o){for(;o!=null;o=o.nextSibling){var i=o.nodeType;if(i===1||i===3)break;if(i===8){if(i=o.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return o}function Xd(o){o=o.previousSibling;for(var i=0;o;){if(o.nodeType===8){var a=o.data;if(a==="$"||a==="$!"||a==="$?"){if(i===0)return o;i--}else a==="/$"&&i++}o=o.previousSibling}return null}var Ao=Math.random().toString(36).slice(2),Dn="__reactFiber$"+Ao,Ji="__reactProps$"+Ao,Xn="__reactContainer$"+Ao,dc="__reactEvents$"+Ao,Vm="__reactListeners$"+Ao,Bm="__reactHandles$"+Ao;function Gr(o){var i=o[Dn];if(i)return i;for(var a=o.parentNode;a;){if(i=a[Xn]||a[Dn]){if(a=i.alternate,i.child!==null||a!==null&&a.child!==null)for(o=Xd(o);o!==null;){if(a=o[Dn])return a;o=Xd(o)}return i}o=a,a=o.parentNode}return null}function Qi(o){return o=o[Dn]||o[Xn],!o||o.tag!==5&&o.tag!==6&&o.tag!==13&&o.tag!==3?null:o}function Ro(o){if(o.tag===5||o.tag===6)return o.stateNode;throw Error(n(33))}function b1(o){return o[Ji]||null}var fc=[],Fo=-1;function Sr(o){return{current:o}}function it(o){0>Fo||(o.current=fc[Fo],fc[Fo]=null,Fo--)}function tt(o,i){Fo++,fc[Fo]=o.current,o.current=i}var jr={},Pt=Sr(jr),Ut=Sr(!1),Kr=jr;function Do(o,i){var a=o.type.contextTypes;if(!a)return jr;var d=o.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var h={},g;for(g in a)h[g]=i[g];return d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=h),h}function qt(o){return o=o.childContextTypes,o!=null}function k1(){it(Ut),it(Pt)}function e3(o,i,a){if(Pt.current!==jr)throw Error(n(168));tt(Pt,i),tt(Ut,a)}function t3(o,i,a){var d=o.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return a;d=d.getChildContext();for(var h in d)if(!(h in i))throw Error(n(108,Ve(o)||"Unknown",h));return le({},a,d)}function S1(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||jr,Kr=Pt.current,tt(Pt,o),tt(Ut,Ut.current),!0}function n3(o,i,a){var d=o.stateNode;if(!d)throw Error(n(169));a?(o=t3(o,i,Kr),d.__reactInternalMemoizedMergedChildContext=o,it(Ut),it(Pt),tt(Pt,o)):it(Ut),tt(Ut,a)}var er=null,j1=!1,hc=!1;function r3(o){er===null?er=[o]:er.push(o)}function Zm(o){j1=!0,r3(o)}function Er(){if(!hc&&er!==null){hc=!0;var o=0,i=Je;try{var a=er;for(Je=1;o<a.length;o++){var d=a[o];do d=d(!0);while(d!==null)}er=null,j1=!1}catch(h){throw er!==null&&(er=er.slice(o+1)),id(Nl,Er),h}finally{Je=i,hc=!1}}return null}var $o=[],Ho=0,E1=null,M1=0,pn=[],mn=0,Yr=null,tr=1,nr="";function Jr(o,i){$o[Ho++]=M1,$o[Ho++]=E1,E1=o,M1=i}function o3(o,i,a){pn[mn++]=tr,pn[mn++]=nr,pn[mn++]=Yr,Yr=o;var d=tr;o=nr;var h=32-jn(d)-1;d&=~(1<<h),a+=1;var g=32-jn(i)+h;if(30<g){var _=h-h%5;g=(d&(1<<_)-1).toString(32),d>>=_,h-=_,tr=1<<32-jn(i)+h|a<<h|d,nr=g+o}else tr=1<<g|a<<h|d,nr=o}function pc(o){o.return!==null&&(Jr(o,1),o3(o,1,0))}function mc(o){for(;o===E1;)E1=$o[--Ho],$o[Ho]=null,M1=$o[--Ho],$o[Ho]=null;for(;o===Yr;)Yr=pn[--mn],pn[mn]=null,nr=pn[--mn],pn[mn]=null,tr=pn[--mn],pn[mn]=null}var on=null,sn=null,st=!1,Mn=null;function i3(o,i){var a=yn(5,null,null,0);a.elementType="DELETED",a.stateNode=i,a.return=o,i=o.deletions,i===null?(o.deletions=[a],o.flags|=16):i.push(a)}function s3(o,i){switch(o.tag){case 5:var a=o.type;return i=i.nodeType!==1||a.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(o.stateNode=i,on=o,sn=kr(i.firstChild),!0):!1;case 6:return i=o.pendingProps===""||i.nodeType!==3?null:i,i!==null?(o.stateNode=i,on=o,sn=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(a=Yr!==null?{id:tr,overflow:nr}:null,o.memoizedState={dehydrated:i,treeContext:a,retryLane:1073741824},a=yn(18,null,null,0),a.stateNode=i,a.return=o,o.child=a,on=o,sn=null,!0):!1;default:return!1}}function gc(o){return(o.mode&1)!==0&&(o.flags&128)===0}function vc(o){if(st){var i=sn;if(i){var a=i;if(!s3(o,i)){if(gc(o))throw Error(n(418));i=kr(a.nextSibling);var d=on;i&&s3(o,i)?i3(d,a):(o.flags=o.flags&-4097|2,st=!1,on=o)}}else{if(gc(o))throw Error(n(418));o.flags=o.flags&-4097|2,st=!1,on=o}}}function a3(o){for(o=o.return;o!==null&&o.tag!==5&&o.tag!==3&&o.tag!==13;)o=o.return;on=o}function I1(o){if(o!==on)return!1;if(!st)return a3(o),st=!0,!1;var i;if((i=o.tag!==3)&&!(i=o.tag!==5)&&(i=o.type,i=i!=="head"&&i!=="body"&&!lc(o.type,o.memoizedProps)),i&&(i=sn)){if(gc(o))throw l3(),Error(n(418));for(;i;)i3(o,i),i=kr(i.nextSibling)}if(a3(o),o.tag===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(n(317));e:{for(o=o.nextSibling,i=0;o;){if(o.nodeType===8){var a=o.data;if(a==="/$"){if(i===0){sn=kr(o.nextSibling);break e}i--}else a!=="$"&&a!=="$!"&&a!=="$?"||i++}o=o.nextSibling}sn=null}}else sn=on?kr(o.stateNode.nextSibling):null;return!0}function l3(){for(var o=sn;o;)o=kr(o.nextSibling)}function Vo(){sn=on=null,st=!1}function wc(o){Mn===null?Mn=[o]:Mn.push(o)}var Wm=z.ReactCurrentBatchConfig;function Xi(o,i,a){if(o=a.ref,o!==null&&typeof o!="function"&&typeof o!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(n(309));var d=a.stateNode}if(!d)throw Error(n(147,o));var h=d,g=""+o;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===g?i.ref:(i=function(_){var S=h.refs;_===null?delete S[g]:S[g]=_},i._stringRef=g,i)}if(typeof o!="string")throw Error(n(284));if(!a._owner)throw Error(n(290,o))}return o}function O1(o,i){throw o=Object.prototype.toString.call(i),Error(n(31,o==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":o))}function c3(o){var i=o._init;return i(o._payload)}function u3(o){function i(N,L){if(o){var R=N.deletions;R===null?(N.deletions=[L],N.flags|=16):R.push(L)}}function a(N,L){if(!o)return null;for(;L!==null;)i(N,L),L=L.sibling;return null}function d(N,L){for(N=new Map;L!==null;)L.key!==null?N.set(L.key,L):N.set(L.index,L),L=L.sibling;return N}function h(N,L){return N=Nr(N,L),N.index=0,N.sibling=null,N}function g(N,L,R){return N.index=R,o?(R=N.alternate,R!==null?(R=R.index,R<L?(N.flags|=2,L):R):(N.flags|=2,L)):(N.flags|=1048576,L)}function _(N){return o&&N.alternate===null&&(N.flags|=2),N}function S(N,L,R,ne){return L===null||L.tag!==6?(L=cu(R,N.mode,ne),L.return=N,L):(L=h(L,R),L.return=N,L)}function I(N,L,R,ne){var Se=R.type;return Se===J?G(N,L,R.props.children,ne,R.key):L!==null&&(L.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===xe&&c3(Se)===L.type)?(ne=h(L,R.props),ne.ref=Xi(N,L,R),ne.return=N,ne):(ne=ea(R.type,R.key,R.props,null,N.mode,ne),ne.ref=Xi(N,L,R),ne.return=N,ne)}function F(N,L,R,ne){return L===null||L.tag!==4||L.stateNode.containerInfo!==R.containerInfo||L.stateNode.implementation!==R.implementation?(L=uu(R,N.mode,ne),L.return=N,L):(L=h(L,R.children||[]),L.return=N,L)}function G(N,L,R,ne,Se){return L===null||L.tag!==7?(L=io(R,N.mode,ne,Se),L.return=N,L):(L=h(L,R),L.return=N,L)}function X(N,L,R){if(typeof L=="string"&&L!==""||typeof L=="number")return L=cu(""+L,N.mode,R),L.return=N,L;if(typeof L=="object"&&L!==null){switch(L.$$typeof){case W:return R=ea(L.type,L.key,L.props,null,N.mode,R),R.ref=Xi(N,null,L),R.return=N,R;case V:return L=uu(L,N.mode,R),L.return=N,L;case xe:var ne=L._init;return X(N,ne(L._payload),R)}if(hn(L)||ce(L))return L=io(L,N.mode,R,null),L.return=N,L;O1(N,L)}return null}function q(N,L,R,ne){var Se=L!==null?L.key:null;if(typeof R=="string"&&R!==""||typeof R=="number")return Se!==null?null:S(N,L,""+R,ne);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case W:return R.key===Se?I(N,L,R,ne):null;case V:return R.key===Se?F(N,L,R,ne):null;case xe:return Se=R._init,q(N,L,Se(R._payload),ne)}if(hn(R)||ce(R))return Se!==null?null:G(N,L,R,ne,null);O1(N,R)}return null}function de(N,L,R,ne,Se){if(typeof ne=="string"&&ne!==""||typeof ne=="number")return N=N.get(R)||null,S(L,N,""+ne,Se);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case W:return N=N.get(ne.key===null?R:ne.key)||null,I(L,N,ne,Se);case V:return N=N.get(ne.key===null?R:ne.key)||null,F(L,N,ne,Se);case xe:var Oe=ne._init;return de(N,L,R,Oe(ne._payload),Se)}if(hn(ne)||ce(ne))return N=N.get(R)||null,G(L,N,ne,Se,null);O1(L,ne)}return null}function _e(N,L,R,ne){for(var Se=null,Oe=null,Le=L,Ae=L=0,jt=null;Le!==null&&Ae<R.length;Ae++){Le.index>Ae?(jt=Le,Le=null):jt=Le.sibling;var Ke=q(N,Le,R[Ae],ne);if(Ke===null){Le===null&&(Le=jt);break}o&&Le&&Ke.alternate===null&&i(N,Le),L=g(Ke,L,Ae),Oe===null?Se=Ke:Oe.sibling=Ke,Oe=Ke,Le=jt}if(Ae===R.length)return a(N,Le),st&&Jr(N,Ae),Se;if(Le===null){for(;Ae<R.length;Ae++)Le=X(N,R[Ae],ne),Le!==null&&(L=g(Le,L,Ae),Oe===null?Se=Le:Oe.sibling=Le,Oe=Le);return st&&Jr(N,Ae),Se}for(Le=d(N,Le);Ae<R.length;Ae++)jt=de(Le,N,Ae,R[Ae],ne),jt!==null&&(o&&jt.alternate!==null&&Le.delete(jt.key===null?Ae:jt.key),L=g(jt,L,Ae),Oe===null?Se=jt:Oe.sibling=jt,Oe=jt);return o&&Le.forEach(function(Ar){return i(N,Ar)}),st&&Jr(N,Ae),Se}function be(N,L,R,ne){var Se=ce(R);if(typeof Se!="function")throw Error(n(150));if(R=Se.call(R),R==null)throw Error(n(151));for(var Oe=Se=null,Le=L,Ae=L=0,jt=null,Ke=R.next();Le!==null&&!Ke.done;Ae++,Ke=R.next()){Le.index>Ae?(jt=Le,Le=null):jt=Le.sibling;var Ar=q(N,Le,Ke.value,ne);if(Ar===null){Le===null&&(Le=jt);break}o&&Le&&Ar.alternate===null&&i(N,Le),L=g(Ar,L,Ae),Oe===null?Se=Ar:Oe.sibling=Ar,Oe=Ar,Le=jt}if(Ke.done)return a(N,Le),st&&Jr(N,Ae),Se;if(Le===null){for(;!Ke.done;Ae++,Ke=R.next())Ke=X(N,Ke.value,ne),Ke!==null&&(L=g(Ke,L,Ae),Oe===null?Se=Ke:Oe.sibling=Ke,Oe=Ke);return st&&Jr(N,Ae),Se}for(Le=d(N,Le);!Ke.done;Ae++,Ke=R.next())Ke=de(Le,N,Ae,Ke.value,ne),Ke!==null&&(o&&Ke.alternate!==null&&Le.delete(Ke.key===null?Ae:Ke.key),L=g(Ke,L,Ae),Oe===null?Se=Ke:Oe.sibling=Ke,Oe=Ke);return o&&Le.forEach(function(kg){return i(N,kg)}),st&&Jr(N,Ae),Se}function pt(N,L,R,ne){if(typeof R=="object"&&R!==null&&R.type===J&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case W:e:{for(var Se=R.key,Oe=L;Oe!==null;){if(Oe.key===Se){if(Se=R.type,Se===J){if(Oe.tag===7){a(N,Oe.sibling),L=h(Oe,R.props.children),L.return=N,N=L;break e}}else if(Oe.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===xe&&c3(Se)===Oe.type){a(N,Oe.sibling),L=h(Oe,R.props),L.ref=Xi(N,Oe,R),L.return=N,N=L;break e}a(N,Oe);break}else i(N,Oe);Oe=Oe.sibling}R.type===J?(L=io(R.props.children,N.mode,ne,R.key),L.return=N,N=L):(ne=ea(R.type,R.key,R.props,null,N.mode,ne),ne.ref=Xi(N,L,R),ne.return=N,N=ne)}return _(N);case V:e:{for(Oe=R.key;L!==null;){if(L.key===Oe)if(L.tag===4&&L.stateNode.containerInfo===R.containerInfo&&L.stateNode.implementation===R.implementation){a(N,L.sibling),L=h(L,R.children||[]),L.return=N,N=L;break e}else{a(N,L);break}else i(N,L);L=L.sibling}L=uu(R,N.mode,ne),L.return=N,N=L}return _(N);case xe:return Oe=R._init,pt(N,L,Oe(R._payload),ne)}if(hn(R))return _e(N,L,R,ne);if(ce(R))return be(N,L,R,ne);O1(N,R)}return typeof R=="string"&&R!==""||typeof R=="number"?(R=""+R,L!==null&&L.tag===6?(a(N,L.sibling),L=h(L,R),L.return=N,N=L):(a(N,L),L=cu(R,N.mode,ne),L.return=N,N=L),_(N)):a(N,L)}return pt}var Bo=u3(!0),d3=u3(!1),L1=Sr(null),T1=null,Zo=null,yc=null;function xc(){yc=Zo=T1=null}function _c(o){var i=L1.current;it(L1),o._currentValue=i}function Cc(o,i,a){for(;o!==null;){var d=o.alternate;if((o.childLanes&i)!==i?(o.childLanes|=i,d!==null&&(d.childLanes|=i)):d!==null&&(d.childLanes&i)!==i&&(d.childLanes|=i),o===a)break;o=o.return}}function Wo(o,i){T1=o,yc=Zo=null,o=o.dependencies,o!==null&&o.firstContext!==null&&((o.lanes&i)!==0&&(Gt=!0),o.firstContext=null)}function gn(o){var i=o._currentValue;if(yc!==o)if(o={context:o,memoizedValue:i,next:null},Zo===null){if(T1===null)throw Error(n(308));Zo=o,T1.dependencies={lanes:0,firstContext:o}}else Zo=Zo.next=o;return i}var Qr=null;function bc(o){Qr===null?Qr=[o]:Qr.push(o)}function f3(o,i,a,d){var h=i.interleaved;return h===null?(a.next=a,bc(i)):(a.next=h.next,h.next=a),i.interleaved=a,rr(o,d)}function rr(o,i){o.lanes|=i;var a=o.alternate;for(a!==null&&(a.lanes|=i),a=o,o=o.return;o!==null;)o.childLanes|=i,a=o.alternate,a!==null&&(a.childLanes|=i),a=o,o=o.return;return a.tag===3?a.stateNode:null}var Mr=!1;function kc(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function h3(o,i){o=o.updateQueue,i.updateQueue===o&&(i.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects})}function or(o,i){return{eventTime:o,lane:i,tag:0,payload:null,callback:null,next:null}}function Ir(o,i,a){var d=o.updateQueue;if(d===null)return null;if(d=d.shared,(Ge&2)!==0){var h=d.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),d.pending=i,rr(o,a)}return h=d.interleaved,h===null?(i.next=i,bc(d)):(i.next=h.next,h.next=i),d.interleaved=i,rr(o,a)}function z1(o,i,a){if(i=i.updateQueue,i!==null&&(i=i.shared,(a&4194240)!==0)){var d=i.lanes;d&=o.pendingLanes,a|=d,i.lanes=a,Fl(o,a)}}function p3(o,i){var a=o.updateQueue,d=o.alternate;if(d!==null&&(d=d.updateQueue,a===d)){var h=null,g=null;if(a=a.firstBaseUpdate,a!==null){do{var _={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};g===null?h=g=_:g=g.next=_,a=a.next}while(a!==null);g===null?h=g=i:g=g.next=i}else h=g=i;a={baseState:d.baseState,firstBaseUpdate:h,lastBaseUpdate:g,shared:d.shared,effects:d.effects},o.updateQueue=a;return}o=a.lastBaseUpdate,o===null?a.firstBaseUpdate=i:o.next=i,a.lastBaseUpdate=i}function P1(o,i,a,d){var h=o.updateQueue;Mr=!1;var g=h.firstBaseUpdate,_=h.lastBaseUpdate,S=h.shared.pending;if(S!==null){h.shared.pending=null;var I=S,F=I.next;I.next=null,_===null?g=F:_.next=F,_=I;var G=o.alternate;G!==null&&(G=G.updateQueue,S=G.lastBaseUpdate,S!==_&&(S===null?G.firstBaseUpdate=F:S.next=F,G.lastBaseUpdate=I))}if(g!==null){var X=h.baseState;_=0,G=F=I=null,S=g;do{var q=S.lane,de=S.eventTime;if((d&q)===q){G!==null&&(G=G.next={eventTime:de,lane:0,tag:S.tag,payload:S.payload,callback:S.callback,next:null});e:{var _e=o,be=S;switch(q=i,de=a,be.tag){case 1:if(_e=be.payload,typeof _e=="function"){X=_e.call(de,X,q);break e}X=_e;break e;case 3:_e.flags=_e.flags&-65537|128;case 0:if(_e=be.payload,q=typeof _e=="function"?_e.call(de,X,q):_e,q==null)break e;X=le({},X,q);break e;case 2:Mr=!0}}S.callback!==null&&S.lane!==0&&(o.flags|=64,q=h.effects,q===null?h.effects=[S]:q.push(S))}else de={eventTime:de,lane:q,tag:S.tag,payload:S.payload,callback:S.callback,next:null},G===null?(F=G=de,I=X):G=G.next=de,_|=q;if(S=S.next,S===null){if(S=h.shared.pending,S===null)break;q=S,S=q.next,q.next=null,h.lastBaseUpdate=q,h.shared.pending=null}}while(!0);if(G===null&&(I=X),h.baseState=I,h.firstBaseUpdate=F,h.lastBaseUpdate=G,i=h.shared.interleaved,i!==null){h=i;do _|=h.lane,h=h.next;while(h!==i)}else g===null&&(h.shared.lanes=0);to|=_,o.lanes=_,o.memoizedState=X}}function m3(o,i,a){if(o=i.effects,i.effects=null,o!==null)for(i=0;i<o.length;i++){var d=o[i],h=d.callback;if(h!==null){if(d.callback=null,d=a,typeof h!="function")throw Error(n(191,h));h.call(d)}}}var es={},$n=Sr(es),ts=Sr(es),ns=Sr(es);function Xr(o){if(o===es)throw Error(n(174));return o}function Sc(o,i){switch(tt(ns,i),tt(ts,o),tt($n,es),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:jl(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=jl(i,o)}it($n),tt($n,i)}function Uo(){it($n),it(ts),it(ns)}function g3(o){Xr(ns.current);var i=Xr($n.current),a=jl(i,o.type);i!==a&&(tt(ts,o),tt($n,a))}function jc(o){ts.current===o&&(it($n),it(ts))}var lt=Sr(0);function N1(o){for(var i=o;i!==null;){if(i.tag===13){var a=i.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Ec=[];function Mc(){for(var o=0;o<Ec.length;o++)Ec[o]._workInProgressVersionPrimary=null;Ec.length=0}var A1=z.ReactCurrentDispatcher,Ic=z.ReactCurrentBatchConfig,eo=0,ct=null,xt=null,kt=null,R1=!1,rs=!1,os=0,Um=0;function Nt(){throw Error(n(321))}function Oc(o,i){if(i===null)return!1;for(var a=0;a<i.length&&a<o.length;a++)if(!En(o[a],i[a]))return!1;return!0}function Lc(o,i,a,d,h,g){if(eo=g,ct=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,A1.current=o===null||o.memoizedState===null?Ym:Jm,o=a(d,h),rs){g=0;do{if(rs=!1,os=0,25<=g)throw Error(n(301));g+=1,kt=xt=null,i.updateQueue=null,A1.current=Qm,o=a(d,h)}while(rs)}if(A1.current=$1,i=xt!==null&&xt.next!==null,eo=0,kt=xt=ct=null,R1=!1,i)throw Error(n(300));return o}function Tc(){var o=os!==0;return os=0,o}function Hn(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kt===null?ct.memoizedState=kt=o:kt=kt.next=o,kt}function vn(){if(xt===null){var o=ct.alternate;o=o!==null?o.memoizedState:null}else o=xt.next;var i=kt===null?ct.memoizedState:kt.next;if(i!==null)kt=i,xt=o;else{if(o===null)throw Error(n(310));xt=o,o={memoizedState:xt.memoizedState,baseState:xt.baseState,baseQueue:xt.baseQueue,queue:xt.queue,next:null},kt===null?ct.memoizedState=kt=o:kt=kt.next=o}return kt}function is(o,i){return typeof i=="function"?i(o):i}function zc(o){var i=vn(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=o;var d=xt,h=d.baseQueue,g=a.pending;if(g!==null){if(h!==null){var _=h.next;h.next=g.next,g.next=_}d.baseQueue=h=g,a.pending=null}if(h!==null){g=h.next,d=d.baseState;var S=_=null,I=null,F=g;do{var G=F.lane;if((eo&G)===G)I!==null&&(I=I.next={lane:0,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),d=F.hasEagerState?F.eagerState:o(d,F.action);else{var X={lane:G,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null};I===null?(S=I=X,_=d):I=I.next=X,ct.lanes|=G,to|=G}F=F.next}while(F!==null&&F!==g);I===null?_=d:I.next=S,En(d,i.memoizedState)||(Gt=!0),i.memoizedState=d,i.baseState=_,i.baseQueue=I,a.lastRenderedState=d}if(o=a.interleaved,o!==null){h=o;do g=h.lane,ct.lanes|=g,to|=g,h=h.next;while(h!==o)}else h===null&&(a.lanes=0);return[i.memoizedState,a.dispatch]}function Pc(o){var i=vn(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=o;var d=a.dispatch,h=a.pending,g=i.memoizedState;if(h!==null){a.pending=null;var _=h=h.next;do g=o(g,_.action),_=_.next;while(_!==h);En(g,i.memoizedState)||(Gt=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),a.lastRenderedState=g}return[g,d]}function v3(){}function w3(o,i){var a=ct,d=vn(),h=i(),g=!En(d.memoizedState,h);if(g&&(d.memoizedState=h,Gt=!0),d=d.queue,Nc(_3.bind(null,a,d,o),[o]),d.getSnapshot!==i||g||kt!==null&&kt.memoizedState.tag&1){if(a.flags|=2048,ss(9,x3.bind(null,a,d,h,i),void 0,null),St===null)throw Error(n(349));(eo&30)!==0||y3(a,i,h)}return h}function y3(o,i,a){o.flags|=16384,o={getSnapshot:i,value:a},i=ct.updateQueue,i===null?(i={lastEffect:null,stores:null},ct.updateQueue=i,i.stores=[o]):(a=i.stores,a===null?i.stores=[o]:a.push(o))}function x3(o,i,a,d){i.value=a,i.getSnapshot=d,C3(i)&&b3(o)}function _3(o,i,a){return a(function(){C3(i)&&b3(o)})}function C3(o){var i=o.getSnapshot;o=o.value;try{var a=i();return!En(o,a)}catch{return!0}}function b3(o){var i=rr(o,1);i!==null&&Tn(i,o,1,-1)}function k3(o){var i=Hn();return typeof o=="function"&&(o=o()),i.memoizedState=i.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:is,lastRenderedState:o},i.queue=o,o=o.dispatch=Km.bind(null,ct,o),[i.memoizedState,o]}function ss(o,i,a,d){return o={tag:o,create:i,destroy:a,deps:d,next:null},i=ct.updateQueue,i===null?(i={lastEffect:null,stores:null},ct.updateQueue=i,i.lastEffect=o.next=o):(a=i.lastEffect,a===null?i.lastEffect=o.next=o:(d=a.next,a.next=o,o.next=d,i.lastEffect=o)),o}function S3(){return vn().memoizedState}function F1(o,i,a,d){var h=Hn();ct.flags|=o,h.memoizedState=ss(1|i,a,void 0,d===void 0?null:d)}function D1(o,i,a,d){var h=vn();d=d===void 0?null:d;var g=void 0;if(xt!==null){var _=xt.memoizedState;if(g=_.destroy,d!==null&&Oc(d,_.deps)){h.memoizedState=ss(i,a,g,d);return}}ct.flags|=o,h.memoizedState=ss(1|i,a,g,d)}function j3(o,i){return F1(8390656,8,o,i)}function Nc(o,i){return D1(2048,8,o,i)}function E3(o,i){return D1(4,2,o,i)}function M3(o,i){return D1(4,4,o,i)}function I3(o,i){if(typeof i=="function")return o=o(),i(o),function(){i(null)};if(i!=null)return o=o(),i.current=o,function(){i.current=null}}function O3(o,i,a){return a=a!=null?a.concat([o]):null,D1(4,4,I3.bind(null,i,o),a)}function Ac(){}function L3(o,i){var a=vn();i=i===void 0?null:i;var d=a.memoizedState;return d!==null&&i!==null&&Oc(i,d[1])?d[0]:(a.memoizedState=[o,i],o)}function T3(o,i){var a=vn();i=i===void 0?null:i;var d=a.memoizedState;return d!==null&&i!==null&&Oc(i,d[1])?d[0]:(o=o(),a.memoizedState=[o,i],o)}function z3(o,i,a){return(eo&21)===0?(o.baseState&&(o.baseState=!1,Gt=!0),o.memoizedState=a):(En(a,i)||(a=cd(),ct.lanes|=a,to|=a,o.baseState=!0),i)}function qm(o,i){var a=Je;Je=a!==0&&4>a?a:4,o(!0);var d=Ic.transition;Ic.transition={};try{o(!1),i()}finally{Je=a,Ic.transition=d}}function P3(){return vn().memoizedState}function Gm(o,i,a){var d=zr(o);if(a={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null},N3(o))A3(i,a);else if(a=f3(o,i,a,d),a!==null){var h=Ht();Tn(a,o,d,h),R3(a,i,d)}}function Km(o,i,a){var d=zr(o),h={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null};if(N3(o))A3(i,h);else{var g=o.alternate;if(o.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var _=i.lastRenderedState,S=g(_,a);if(h.hasEagerState=!0,h.eagerState=S,En(S,_)){var I=i.interleaved;I===null?(h.next=h,bc(i)):(h.next=I.next,I.next=h),i.interleaved=h;return}}catch{}finally{}a=f3(o,i,h,d),a!==null&&(h=Ht(),Tn(a,o,d,h),R3(a,i,d))}}function N3(o){var i=o.alternate;return o===ct||i!==null&&i===ct}function A3(o,i){rs=R1=!0;var a=o.pending;a===null?i.next=i:(i.next=a.next,a.next=i),o.pending=i}function R3(o,i,a){if((a&4194240)!==0){var d=i.lanes;d&=o.pendingLanes,a|=d,i.lanes=a,Fl(o,a)}}var $1={readContext:gn,useCallback:Nt,useContext:Nt,useEffect:Nt,useImperativeHandle:Nt,useInsertionEffect:Nt,useLayoutEffect:Nt,useMemo:Nt,useReducer:Nt,useRef:Nt,useState:Nt,useDebugValue:Nt,useDeferredValue:Nt,useTransition:Nt,useMutableSource:Nt,useSyncExternalStore:Nt,useId:Nt,unstable_isNewReconciler:!1},Ym={readContext:gn,useCallback:function(o,i){return Hn().memoizedState=[o,i===void 0?null:i],o},useContext:gn,useEffect:j3,useImperativeHandle:function(o,i,a){return a=a!=null?a.concat([o]):null,F1(4194308,4,I3.bind(null,i,o),a)},useLayoutEffect:function(o,i){return F1(4194308,4,o,i)},useInsertionEffect:function(o,i){return F1(4,2,o,i)},useMemo:function(o,i){var a=Hn();return i=i===void 0?null:i,o=o(),a.memoizedState=[o,i],o},useReducer:function(o,i,a){var d=Hn();return i=a!==void 0?a(i):i,d.memoizedState=d.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},d.queue=o,o=o.dispatch=Gm.bind(null,ct,o),[d.memoizedState,o]},useRef:function(o){var i=Hn();return o={current:o},i.memoizedState=o},useState:k3,useDebugValue:Ac,useDeferredValue:function(o){return Hn().memoizedState=o},useTransition:function(){var o=k3(!1),i=o[0];return o=qm.bind(null,o[1]),Hn().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,a){var d=ct,h=Hn();if(st){if(a===void 0)throw Error(n(407));a=a()}else{if(a=i(),St===null)throw Error(n(349));(eo&30)!==0||y3(d,i,a)}h.memoizedState=a;var g={value:a,getSnapshot:i};return h.queue=g,j3(_3.bind(null,d,g,o),[o]),d.flags|=2048,ss(9,x3.bind(null,d,g,a,i),void 0,null),a},useId:function(){var o=Hn(),i=St.identifierPrefix;if(st){var a=nr,d=tr;a=(d&~(1<<32-jn(d)-1)).toString(32)+a,i=":"+i+"R"+a,a=os++,0<a&&(i+="H"+a.toString(32)),i+=":"}else a=Um++,i=":"+i+"r"+a.toString(32)+":";return o.memoizedState=i},unstable_isNewReconciler:!1},Jm={readContext:gn,useCallback:L3,useContext:gn,useEffect:Nc,useImperativeHandle:O3,useInsertionEffect:E3,useLayoutEffect:M3,useMemo:T3,useReducer:zc,useRef:S3,useState:function(){return zc(is)},useDebugValue:Ac,useDeferredValue:function(o){var i=vn();return z3(i,xt.memoizedState,o)},useTransition:function(){var o=zc(is)[0],i=vn().memoizedState;return[o,i]},useMutableSource:v3,useSyncExternalStore:w3,useId:P3,unstable_isNewReconciler:!1},Qm={readContext:gn,useCallback:L3,useContext:gn,useEffect:Nc,useImperativeHandle:O3,useInsertionEffect:E3,useLayoutEffect:M3,useMemo:T3,useReducer:Pc,useRef:S3,useState:function(){return Pc(is)},useDebugValue:Ac,useDeferredValue:function(o){var i=vn();return xt===null?i.memoizedState=o:z3(i,xt.memoizedState,o)},useTransition:function(){var o=Pc(is)[0],i=vn().memoizedState;return[o,i]},useMutableSource:v3,useSyncExternalStore:w3,useId:P3,unstable_isNewReconciler:!1};function In(o,i){if(o&&o.defaultProps){i=le({},i),o=o.defaultProps;for(var a in o)i[a]===void 0&&(i[a]=o[a]);return i}return i}function Rc(o,i,a,d){i=o.memoizedState,a=a(d,i),a=a==null?i:le({},i,a),o.memoizedState=a,o.lanes===0&&(o.updateQueue.baseState=a)}var H1={isMounted:function(o){return(o=o._reactInternals)?qr(o)===o:!1},enqueueSetState:function(o,i,a){o=o._reactInternals;var d=Ht(),h=zr(o),g=or(d,h);g.payload=i,a!=null&&(g.callback=a),i=Ir(o,g,h),i!==null&&(Tn(i,o,h,d),z1(i,o,h))},enqueueReplaceState:function(o,i,a){o=o._reactInternals;var d=Ht(),h=zr(o),g=or(d,h);g.tag=1,g.payload=i,a!=null&&(g.callback=a),i=Ir(o,g,h),i!==null&&(Tn(i,o,h,d),z1(i,o,h))},enqueueForceUpdate:function(o,i){o=o._reactInternals;var a=Ht(),d=zr(o),h=or(a,d);h.tag=2,i!=null&&(h.callback=i),i=Ir(o,h,d),i!==null&&(Tn(i,o,d,a),z1(i,o,d))}};function F3(o,i,a,d,h,g,_){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(d,g,_):i.prototype&&i.prototype.isPureReactComponent?!Ui(a,d)||!Ui(h,g):!0}function D3(o,i,a){var d=!1,h=jr,g=i.contextType;return typeof g=="object"&&g!==null?g=gn(g):(h=qt(i)?Kr:Pt.current,d=i.contextTypes,g=(d=d!=null)?Do(o,h):jr),i=new i(a,g),o.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=H1,o.stateNode=i,i._reactInternals=o,d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=h,o.__reactInternalMemoizedMaskedChildContext=g),i}function $3(o,i,a,d){o=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(a,d),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(a,d),i.state!==o&&H1.enqueueReplaceState(i,i.state,null)}function Fc(o,i,a,d){var h=o.stateNode;h.props=a,h.state=o.memoizedState,h.refs={},kc(o);var g=i.contextType;typeof g=="object"&&g!==null?h.context=gn(g):(g=qt(i)?Kr:Pt.current,h.context=Do(o,g)),h.state=o.memoizedState,g=i.getDerivedStateFromProps,typeof g=="function"&&(Rc(o,i,g,a),h.state=o.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(i=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),i!==h.state&&H1.enqueueReplaceState(h,h.state,null),P1(o,a,h,d),h.state=o.memoizedState),typeof h.componentDidMount=="function"&&(o.flags|=4194308)}function qo(o,i){try{var a="",d=i;do a+=Me(d),d=d.return;while(d);var h=a}catch(g){h=`
57
+ Error generating stack: `+g.message+`
58
+ `+g.stack}return{value:o,source:i,stack:h,digest:null}}function Dc(o,i,a){return{value:o,source:null,stack:a??null,digest:i??null}}function $c(o,i){try{console.error(i.value)}catch(a){setTimeout(function(){throw a})}}var Xm=typeof WeakMap=="function"?WeakMap:Map;function H3(o,i,a){a=or(-1,a),a.tag=3,a.payload={element:null};var d=i.value;return a.callback=function(){G1||(G1=!0,tu=d),$c(o,i)},a}function V3(o,i,a){a=or(-1,a),a.tag=3;var d=o.type.getDerivedStateFromError;if(typeof d=="function"){var h=i.value;a.payload=function(){return d(h)},a.callback=function(){$c(o,i)}}var g=o.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(a.callback=function(){$c(o,i),typeof d!="function"&&(Lr===null?Lr=new Set([this]):Lr.add(this));var _=i.stack;this.componentDidCatch(i.value,{componentStack:_!==null?_:""})}),a}function B3(o,i,a){var d=o.pingCache;if(d===null){d=o.pingCache=new Xm;var h=new Set;d.set(i,h)}else h=d.get(i),h===void 0&&(h=new Set,d.set(i,h));h.has(a)||(h.add(a),o=hg.bind(null,o,i,a),i.then(o,o))}function Z3(o){do{var i;if((i=o.tag===13)&&(i=o.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return o;o=o.return}while(o!==null);return null}function W3(o,i,a,d,h){return(o.mode&1)===0?(o===i?o.flags|=65536:(o.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(i=or(-1,1),i.tag=2,Ir(a,i,1))),a.lanes|=1),o):(o.flags|=65536,o.lanes=h,o)}var eg=z.ReactCurrentOwner,Gt=!1;function $t(o,i,a,d){i.child=o===null?d3(i,null,a,d):Bo(i,o.child,a,d)}function U3(o,i,a,d,h){a=a.render;var g=i.ref;return Wo(i,h),d=Lc(o,i,a,d,g,h),a=Tc(),o!==null&&!Gt?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~h,ir(o,i,h)):(st&&a&&pc(i),i.flags|=1,$t(o,i,d,h),i.child)}function q3(o,i,a,d,h){if(o===null){var g=a.type;return typeof g=="function"&&!lu(g)&&g.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(i.tag=15,i.type=g,G3(o,i,g,d,h)):(o=ea(a.type,null,d,i,i.mode,h),o.ref=i.ref,o.return=i,i.child=o)}if(g=o.child,(o.lanes&h)===0){var _=g.memoizedProps;if(a=a.compare,a=a!==null?a:Ui,a(_,d)&&o.ref===i.ref)return ir(o,i,h)}return i.flags|=1,o=Nr(g,d),o.ref=i.ref,o.return=i,i.child=o}function G3(o,i,a,d,h){if(o!==null){var g=o.memoizedProps;if(Ui(g,d)&&o.ref===i.ref)if(Gt=!1,i.pendingProps=d=g,(o.lanes&h)!==0)(o.flags&131072)!==0&&(Gt=!0);else return i.lanes=o.lanes,ir(o,i,h)}return Hc(o,i,a,d,h)}function K3(o,i,a){var d=i.pendingProps,h=d.children,g=o!==null?o.memoizedState:null;if(d.mode==="hidden")if((i.mode&1)===0)i.memoizedState={baseLanes:0,cachePool:null,transitions:null},tt(Ko,an),an|=a;else{if((a&1073741824)===0)return o=g!==null?g.baseLanes|a:a,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:o,cachePool:null,transitions:null},i.updateQueue=null,tt(Ko,an),an|=o,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=g!==null?g.baseLanes:a,tt(Ko,an),an|=d}else g!==null?(d=g.baseLanes|a,i.memoizedState=null):d=a,tt(Ko,an),an|=d;return $t(o,i,h,a),i.child}function Y3(o,i){var a=i.ref;(o===null&&a!==null||o!==null&&o.ref!==a)&&(i.flags|=512,i.flags|=2097152)}function Hc(o,i,a,d,h){var g=qt(a)?Kr:Pt.current;return g=Do(i,g),Wo(i,h),a=Lc(o,i,a,d,g,h),d=Tc(),o!==null&&!Gt?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~h,ir(o,i,h)):(st&&d&&pc(i),i.flags|=1,$t(o,i,a,h),i.child)}function J3(o,i,a,d,h){if(qt(a)){var g=!0;S1(i)}else g=!1;if(Wo(i,h),i.stateNode===null)B1(o,i),D3(i,a,d),Fc(i,a,d,h),d=!0;else if(o===null){var _=i.stateNode,S=i.memoizedProps;_.props=S;var I=_.context,F=a.contextType;typeof F=="object"&&F!==null?F=gn(F):(F=qt(a)?Kr:Pt.current,F=Do(i,F));var G=a.getDerivedStateFromProps,X=typeof G=="function"||typeof _.getSnapshotBeforeUpdate=="function";X||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(S!==d||I!==F)&&$3(i,_,d,F),Mr=!1;var q=i.memoizedState;_.state=q,P1(i,d,_,h),I=i.memoizedState,S!==d||q!==I||Ut.current||Mr?(typeof G=="function"&&(Rc(i,a,G,d),I=i.memoizedState),(S=Mr||F3(i,a,S,d,q,I,F))?(X||typeof _.UNSAFE_componentWillMount!="function"&&typeof _.componentWillMount!="function"||(typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount()),typeof _.componentDidMount=="function"&&(i.flags|=4194308)):(typeof _.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=d,i.memoizedState=I),_.props=d,_.state=I,_.context=F,d=S):(typeof _.componentDidMount=="function"&&(i.flags|=4194308),d=!1)}else{_=i.stateNode,h3(o,i),S=i.memoizedProps,F=i.type===i.elementType?S:In(i.type,S),_.props=F,X=i.pendingProps,q=_.context,I=a.contextType,typeof I=="object"&&I!==null?I=gn(I):(I=qt(a)?Kr:Pt.current,I=Do(i,I));var de=a.getDerivedStateFromProps;(G=typeof de=="function"||typeof _.getSnapshotBeforeUpdate=="function")||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(S!==X||q!==I)&&$3(i,_,d,I),Mr=!1,q=i.memoizedState,_.state=q,P1(i,d,_,h);var _e=i.memoizedState;S!==X||q!==_e||Ut.current||Mr?(typeof de=="function"&&(Rc(i,a,de,d),_e=i.memoizedState),(F=Mr||F3(i,a,F,d,q,_e,I)||!1)?(G||typeof _.UNSAFE_componentWillUpdate!="function"&&typeof _.componentWillUpdate!="function"||(typeof _.componentWillUpdate=="function"&&_.componentWillUpdate(d,_e,I),typeof _.UNSAFE_componentWillUpdate=="function"&&_.UNSAFE_componentWillUpdate(d,_e,I)),typeof _.componentDidUpdate=="function"&&(i.flags|=4),typeof _.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof _.componentDidUpdate!="function"||S===o.memoizedProps&&q===o.memoizedState||(i.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||S===o.memoizedProps&&q===o.memoizedState||(i.flags|=1024),i.memoizedProps=d,i.memoizedState=_e),_.props=d,_.state=_e,_.context=I,d=F):(typeof _.componentDidUpdate!="function"||S===o.memoizedProps&&q===o.memoizedState||(i.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||S===o.memoizedProps&&q===o.memoizedState||(i.flags|=1024),d=!1)}return Vc(o,i,a,d,g,h)}function Vc(o,i,a,d,h,g){Y3(o,i);var _=(i.flags&128)!==0;if(!d&&!_)return h&&n3(i,a,!1),ir(o,i,g);d=i.stateNode,eg.current=i;var S=_&&typeof a.getDerivedStateFromError!="function"?null:d.render();return i.flags|=1,o!==null&&_?(i.child=Bo(i,o.child,null,g),i.child=Bo(i,null,S,g)):$t(o,i,S,g),i.memoizedState=d.state,h&&n3(i,a,!0),i.child}function Q3(o){var i=o.stateNode;i.pendingContext?e3(o,i.pendingContext,i.pendingContext!==i.context):i.context&&e3(o,i.context,!1),Sc(o,i.containerInfo)}function X3(o,i,a,d,h){return Vo(),wc(h),i.flags|=256,$t(o,i,a,d),i.child}var Bc={dehydrated:null,treeContext:null,retryLane:0};function Zc(o){return{baseLanes:o,cachePool:null,transitions:null}}function e4(o,i,a){var d=i.pendingProps,h=lt.current,g=!1,_=(i.flags&128)!==0,S;if((S=_)||(S=o!==null&&o.memoizedState===null?!1:(h&2)!==0),S?(g=!0,i.flags&=-129):(o===null||o.memoizedState!==null)&&(h|=1),tt(lt,h&1),o===null)return vc(i),o=i.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?((i.mode&1)===0?i.lanes=1:o.data==="$!"?i.lanes=8:i.lanes=1073741824,null):(_=d.children,o=d.fallback,g?(d=i.mode,g=i.child,_={mode:"hidden",children:_},(d&1)===0&&g!==null?(g.childLanes=0,g.pendingProps=_):g=ta(_,d,0,null),o=io(o,d,a,null),g.return=i,o.return=i,g.sibling=o,i.child=g,i.child.memoizedState=Zc(a),i.memoizedState=Bc,o):Wc(i,_));if(h=o.memoizedState,h!==null&&(S=h.dehydrated,S!==null))return tg(o,i,_,d,S,h,a);if(g){g=d.fallback,_=i.mode,h=o.child,S=h.sibling;var I={mode:"hidden",children:d.children};return(_&1)===0&&i.child!==h?(d=i.child,d.childLanes=0,d.pendingProps=I,i.deletions=null):(d=Nr(h,I),d.subtreeFlags=h.subtreeFlags&14680064),S!==null?g=Nr(S,g):(g=io(g,_,a,null),g.flags|=2),g.return=i,d.return=i,d.sibling=g,i.child=d,d=g,g=i.child,_=o.child.memoizedState,_=_===null?Zc(a):{baseLanes:_.baseLanes|a,cachePool:null,transitions:_.transitions},g.memoizedState=_,g.childLanes=o.childLanes&~a,i.memoizedState=Bc,d}return g=o.child,o=g.sibling,d=Nr(g,{mode:"visible",children:d.children}),(i.mode&1)===0&&(d.lanes=a),d.return=i,d.sibling=null,o!==null&&(a=i.deletions,a===null?(i.deletions=[o],i.flags|=16):a.push(o)),i.child=d,i.memoizedState=null,d}function Wc(o,i){return i=ta({mode:"visible",children:i},o.mode,0,null),i.return=o,o.child=i}function V1(o,i,a,d){return d!==null&&wc(d),Bo(i,o.child,null,a),o=Wc(i,i.pendingProps.children),o.flags|=2,i.memoizedState=null,o}function tg(o,i,a,d,h,g,_){if(a)return i.flags&256?(i.flags&=-257,d=Dc(Error(n(422))),V1(o,i,_,d)):i.memoizedState!==null?(i.child=o.child,i.flags|=128,null):(g=d.fallback,h=i.mode,d=ta({mode:"visible",children:d.children},h,0,null),g=io(g,h,_,null),g.flags|=2,d.return=i,g.return=i,d.sibling=g,i.child=d,(i.mode&1)!==0&&Bo(i,o.child,null,_),i.child.memoizedState=Zc(_),i.memoizedState=Bc,g);if((i.mode&1)===0)return V1(o,i,_,null);if(h.data==="$!"){if(d=h.nextSibling&&h.nextSibling.dataset,d)var S=d.dgst;return d=S,g=Error(n(419)),d=Dc(g,d,void 0),V1(o,i,_,d)}if(S=(_&o.childLanes)!==0,Gt||S){if(d=St,d!==null){switch(_&-_){case 4:h=2;break;case 16:h=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h=32;break;case 536870912:h=268435456;break;default:h=0}h=(h&(d.suspendedLanes|_))!==0?0:h,h!==0&&h!==g.retryLane&&(g.retryLane=h,rr(o,h),Tn(d,o,h,-1))}return au(),d=Dc(Error(n(421))),V1(o,i,_,d)}return h.data==="$?"?(i.flags|=128,i.child=o.child,i=pg.bind(null,o),h._reactRetry=i,null):(o=g.treeContext,sn=kr(h.nextSibling),on=i,st=!0,Mn=null,o!==null&&(pn[mn++]=tr,pn[mn++]=nr,pn[mn++]=Yr,tr=o.id,nr=o.overflow,Yr=i),i=Wc(i,d.children),i.flags|=4096,i)}function t4(o,i,a){o.lanes|=i;var d=o.alternate;d!==null&&(d.lanes|=i),Cc(o.return,i,a)}function Uc(o,i,a,d,h){var g=o.memoizedState;g===null?o.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:d,tail:a,tailMode:h}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=a,g.tailMode=h)}function n4(o,i,a){var d=i.pendingProps,h=d.revealOrder,g=d.tail;if($t(o,i,d.children,a),d=lt.current,(d&2)!==0)d=d&1|2,i.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=i.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&t4(o,a,i);else if(o.tag===19)t4(o,a,i);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}d&=1}if(tt(lt,d),(i.mode&1)===0)i.memoizedState=null;else switch(h){case"forwards":for(a=i.child,h=null;a!==null;)o=a.alternate,o!==null&&N1(o)===null&&(h=a),a=a.sibling;a=h,a===null?(h=i.child,i.child=null):(h=a.sibling,a.sibling=null),Uc(i,!1,h,a,g);break;case"backwards":for(a=null,h=i.child,i.child=null;h!==null;){if(o=h.alternate,o!==null&&N1(o)===null){i.child=h;break}o=h.sibling,h.sibling=a,a=h,h=o}Uc(i,!0,a,null,g);break;case"together":Uc(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function B1(o,i){(i.mode&1)===0&&o!==null&&(o.alternate=null,i.alternate=null,i.flags|=2)}function ir(o,i,a){if(o!==null&&(i.dependencies=o.dependencies),to|=i.lanes,(a&i.childLanes)===0)return null;if(o!==null&&i.child!==o.child)throw Error(n(153));if(i.child!==null){for(o=i.child,a=Nr(o,o.pendingProps),i.child=a,a.return=i;o.sibling!==null;)o=o.sibling,a=a.sibling=Nr(o,o.pendingProps),a.return=i;a.sibling=null}return i.child}function ng(o,i,a){switch(i.tag){case 3:Q3(i),Vo();break;case 5:g3(i);break;case 1:qt(i.type)&&S1(i);break;case 4:Sc(i,i.stateNode.containerInfo);break;case 10:var d=i.type._context,h=i.memoizedProps.value;tt(L1,d._currentValue),d._currentValue=h;break;case 13:if(d=i.memoizedState,d!==null)return d.dehydrated!==null?(tt(lt,lt.current&1),i.flags|=128,null):(a&i.child.childLanes)!==0?e4(o,i,a):(tt(lt,lt.current&1),o=ir(o,i,a),o!==null?o.sibling:null);tt(lt,lt.current&1);break;case 19:if(d=(a&i.childLanes)!==0,(o.flags&128)!==0){if(d)return n4(o,i,a);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),tt(lt,lt.current),d)break;return null;case 22:case 23:return i.lanes=0,K3(o,i,a)}return ir(o,i,a)}var r4,qc,o4,i4;r4=function(o,i){for(var a=i.child;a!==null;){if(a.tag===5||a.tag===6)o.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break;for(;a.sibling===null;){if(a.return===null||a.return===i)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},qc=function(){},o4=function(o,i,a,d){var h=o.memoizedProps;if(h!==d){o=i.stateNode,Xr($n.current);var g=null;switch(a){case"input":h=Re(o,h),d=Re(o,d),g=[];break;case"select":h=le({},h,{value:void 0}),d=le({},d,{value:void 0}),g=[];break;case"textarea":h=Eo(o,h),d=Eo(o,d),g=[];break;default:typeof h.onClick!="function"&&typeof d.onClick=="function"&&(o.onclick=C1)}El(a,d);var _;a=null;for(F in h)if(!d.hasOwnProperty(F)&&h.hasOwnProperty(F)&&h[F]!=null)if(F==="style"){var S=h[F];for(_ in S)S.hasOwnProperty(_)&&(a||(a={}),a[_]="")}else F!=="dangerouslySetInnerHTML"&&F!=="children"&&F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&F!=="autoFocus"&&(s.hasOwnProperty(F)?g||(g=[]):(g=g||[]).push(F,null));for(F in d){var I=d[F];if(S=h?.[F],d.hasOwnProperty(F)&&I!==S&&(I!=null||S!=null))if(F==="style")if(S){for(_ in S)!S.hasOwnProperty(_)||I&&I.hasOwnProperty(_)||(a||(a={}),a[_]="");for(_ in I)I.hasOwnProperty(_)&&S[_]!==I[_]&&(a||(a={}),a[_]=I[_])}else a||(g||(g=[]),g.push(F,a)),a=I;else F==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,S=S?S.__html:void 0,I!=null&&S!==I&&(g=g||[]).push(F,I)):F==="children"?typeof I!="string"&&typeof I!="number"||(g=g||[]).push(F,""+I):F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&(s.hasOwnProperty(F)?(I!=null&&F==="onScroll"&&ot("scroll",o),g||S===I||(g=[])):(g=g||[]).push(F,I))}a&&(g=g||[]).push("style",a);var F=g;(i.updateQueue=F)&&(i.flags|=4)}},i4=function(o,i,a,d){a!==d&&(i.flags|=4)};function as(o,i){if(!st)switch(o.tailMode){case"hidden":i=o.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?o.tail=null:a.sibling=null;break;case"collapsed":a=o.tail;for(var d=null;a!==null;)a.alternate!==null&&(d=a),a=a.sibling;d===null?i||o.tail===null?o.tail=null:o.tail.sibling=null:d.sibling=null}}function At(o){var i=o.alternate!==null&&o.alternate.child===o.child,a=0,d=0;if(i)for(var h=o.child;h!==null;)a|=h.lanes|h.childLanes,d|=h.subtreeFlags&14680064,d|=h.flags&14680064,h.return=o,h=h.sibling;else for(h=o.child;h!==null;)a|=h.lanes|h.childLanes,d|=h.subtreeFlags,d|=h.flags,h.return=o,h=h.sibling;return o.subtreeFlags|=d,o.childLanes=a,i}function rg(o,i,a){var d=i.pendingProps;switch(mc(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return At(i),null;case 1:return qt(i.type)&&k1(),At(i),null;case 3:return d=i.stateNode,Uo(),it(Ut),it(Pt),Mc(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(o===null||o.child===null)&&(I1(i)?i.flags|=4:o===null||o.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Mn!==null&&(ou(Mn),Mn=null))),qc(o,i),At(i),null;case 5:jc(i);var h=Xr(ns.current);if(a=i.type,o!==null&&i.stateNode!=null)o4(o,i,a,d,h),o.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!d){if(i.stateNode===null)throw Error(n(166));return At(i),null}if(o=Xr($n.current),I1(i)){d=i.stateNode,a=i.type;var g=i.memoizedProps;switch(d[Dn]=i,d[Ji]=g,o=(i.mode&1)!==0,a){case"dialog":ot("cancel",d),ot("close",d);break;case"iframe":case"object":case"embed":ot("load",d);break;case"video":case"audio":for(h=0;h<Gi.length;h++)ot(Gi[h],d);break;case"source":ot("error",d);break;case"img":case"image":case"link":ot("error",d),ot("load",d);break;case"details":ot("toggle",d);break;case"input":bt(d,g),ot("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!g.multiple},ot("invalid",d);break;case"textarea":Ei(d,g),ot("invalid",d)}El(a,g),h=null;for(var _ in g)if(g.hasOwnProperty(_)){var S=g[_];_==="children"?typeof S=="string"?d.textContent!==S&&(g.suppressHydrationWarning!==!0&&_1(d.textContent,S,o),h=["children",S]):typeof S=="number"&&d.textContent!==""+S&&(g.suppressHydrationWarning!==!0&&_1(d.textContent,S,o),h=["children",""+S]):s.hasOwnProperty(_)&&S!=null&&_==="onScroll"&&ot("scroll",d)}switch(a){case"input":Ye(d),nn(d,g,!0);break;case"textarea":Ye(d),Z2(d);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(d.onclick=C1)}d=h,i.updateQueue=d,d!==null&&(i.flags|=4)}else{_=h.nodeType===9?h:h.ownerDocument,o==="http://www.w3.org/1999/xhtml"&&(o=W2(a)),o==="http://www.w3.org/1999/xhtml"?a==="script"?(o=_.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild)):typeof d.is=="string"?o=_.createElement(a,{is:d.is}):(o=_.createElement(a),a==="select"&&(_=o,d.multiple?_.multiple=!0:d.size&&(_.size=d.size))):o=_.createElementNS(o,a),o[Dn]=i,o[Ji]=d,r4(o,i,!1,!1),i.stateNode=o;e:{switch(_=Ml(a,d),a){case"dialog":ot("cancel",o),ot("close",o),h=d;break;case"iframe":case"object":case"embed":ot("load",o),h=d;break;case"video":case"audio":for(h=0;h<Gi.length;h++)ot(Gi[h],o);h=d;break;case"source":ot("error",o),h=d;break;case"img":case"image":case"link":ot("error",o),ot("load",o),h=d;break;case"details":ot("toggle",o),h=d;break;case"input":bt(o,d),h=Re(o,d),ot("invalid",o);break;case"option":h=d;break;case"select":o._wrapperState={wasMultiple:!!d.multiple},h=le({},d,{value:void 0}),ot("invalid",o);break;case"textarea":Ei(o,d),h=Eo(o,d),ot("invalid",o);break;default:h=d}El(a,h),S=h;for(g in S)if(S.hasOwnProperty(g)){var I=S[g];g==="style"?G2(o,I):g==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,I!=null&&U2(o,I)):g==="children"?typeof I=="string"?(a!=="textarea"||I!=="")&&Ii(o,I):typeof I=="number"&&Ii(o,""+I):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(s.hasOwnProperty(g)?I!=null&&g==="onScroll"&&ot("scroll",o):I!=null&&$(o,g,I,_))}switch(a){case"input":Ye(o),nn(o,d,!1);break;case"textarea":Ye(o),Z2(o);break;case"option":d.value!=null&&o.setAttribute("value",""+K(d.value));break;case"select":o.multiple=!!d.multiple,g=d.value,g!=null?Qn(o,!!d.multiple,g,!1):d.defaultValue!=null&&Qn(o,!!d.multiple,d.defaultValue,!0);break;default:typeof h.onClick=="function"&&(o.onclick=C1)}switch(a){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return At(i),null;case 6:if(o&&i.stateNode!=null)i4(o,i,o.memoizedProps,d);else{if(typeof d!="string"&&i.stateNode===null)throw Error(n(166));if(a=Xr(ns.current),Xr($n.current),I1(i)){if(d=i.stateNode,a=i.memoizedProps,d[Dn]=i,(g=d.nodeValue!==a)&&(o=on,o!==null))switch(o.tag){case 3:_1(d.nodeValue,a,(o.mode&1)!==0);break;case 5:o.memoizedProps.suppressHydrationWarning!==!0&&_1(d.nodeValue,a,(o.mode&1)!==0)}g&&(i.flags|=4)}else d=(a.nodeType===9?a:a.ownerDocument).createTextNode(d),d[Dn]=i,i.stateNode=d}return At(i),null;case 13:if(it(lt),d=i.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(st&&sn!==null&&(i.mode&1)!==0&&(i.flags&128)===0)l3(),Vo(),i.flags|=98560,g=!1;else if(g=I1(i),d!==null&&d.dehydrated!==null){if(o===null){if(!g)throw Error(n(318));if(g=i.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(n(317));g[Dn]=i}else Vo(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;At(i),g=!1}else Mn!==null&&(ou(Mn),Mn=null),g=!0;if(!g)return i.flags&65536?i:null}return(i.flags&128)!==0?(i.lanes=a,i):(d=d!==null,d!==(o!==null&&o.memoizedState!==null)&&d&&(i.child.flags|=8192,(i.mode&1)!==0&&(o===null||(lt.current&1)!==0?_t===0&&(_t=3):au())),i.updateQueue!==null&&(i.flags|=4),At(i),null);case 4:return Uo(),qc(o,i),o===null&&Ki(i.stateNode.containerInfo),At(i),null;case 10:return _c(i.type._context),At(i),null;case 17:return qt(i.type)&&k1(),At(i),null;case 19:if(it(lt),g=i.memoizedState,g===null)return At(i),null;if(d=(i.flags&128)!==0,_=g.rendering,_===null)if(d)as(g,!1);else{if(_t!==0||o!==null&&(o.flags&128)!==0)for(o=i.child;o!==null;){if(_=N1(o),_!==null){for(i.flags|=128,as(g,!1),d=_.updateQueue,d!==null&&(i.updateQueue=d,i.flags|=4),i.subtreeFlags=0,d=a,a=i.child;a!==null;)g=a,o=d,g.flags&=14680066,_=g.alternate,_===null?(g.childLanes=0,g.lanes=o,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=_.childLanes,g.lanes=_.lanes,g.child=_.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=_.memoizedProps,g.memoizedState=_.memoizedState,g.updateQueue=_.updateQueue,g.type=_.type,o=_.dependencies,g.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),a=a.sibling;return tt(lt,lt.current&1|2),i.child}o=o.sibling}g.tail!==null&&ht()>Yo&&(i.flags|=128,d=!0,as(g,!1),i.lanes=4194304)}else{if(!d)if(o=N1(_),o!==null){if(i.flags|=128,d=!0,a=o.updateQueue,a!==null&&(i.updateQueue=a,i.flags|=4),as(g,!0),g.tail===null&&g.tailMode==="hidden"&&!_.alternate&&!st)return At(i),null}else 2*ht()-g.renderingStartTime>Yo&&a!==1073741824&&(i.flags|=128,d=!0,as(g,!1),i.lanes=4194304);g.isBackwards?(_.sibling=i.child,i.child=_):(a=g.last,a!==null?a.sibling=_:i.child=_,g.last=_)}return g.tail!==null?(i=g.tail,g.rendering=i,g.tail=i.sibling,g.renderingStartTime=ht(),i.sibling=null,a=lt.current,tt(lt,d?a&1|2:a&1),i):(At(i),null);case 22:case 23:return su(),d=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(i.flags|=8192),d&&(i.mode&1)!==0?(an&1073741824)!==0&&(At(i),i.subtreeFlags&6&&(i.flags|=8192)):At(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function og(o,i){switch(mc(i),i.tag){case 1:return qt(i.type)&&k1(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Uo(),it(Ut),it(Pt),Mc(),o=i.flags,(o&65536)!==0&&(o&128)===0?(i.flags=o&-65537|128,i):null;case 5:return jc(i),null;case 13:if(it(lt),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Vo()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return it(lt),null;case 4:return Uo(),null;case 10:return _c(i.type._context),null;case 22:case 23:return su(),null;case 24:return null;default:return null}}var Z1=!1,Rt=!1,ig=typeof WeakSet=="function"?WeakSet:Set,ve=null;function Go(o,i){var a=o.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(d){ft(o,i,d)}else a.current=null}function Gc(o,i,a){try{a()}catch(d){ft(o,i,d)}}var s4=!1;function sg(o,i){if(sc=u1,o=Fd(),Ql(o)){if("selectionStart"in o)var a={start:o.selectionStart,end:o.selectionEnd};else e:{a=(a=o.ownerDocument)&&a.defaultView||window;var d=a.getSelection&&a.getSelection();if(d&&d.rangeCount!==0){a=d.anchorNode;var h=d.anchorOffset,g=d.focusNode;d=d.focusOffset;try{a.nodeType,g.nodeType}catch{a=null;break e}var _=0,S=-1,I=-1,F=0,G=0,X=o,q=null;t:for(;;){for(var de;X!==a||h!==0&&X.nodeType!==3||(S=_+h),X!==g||d!==0&&X.nodeType!==3||(I=_+d),X.nodeType===3&&(_+=X.nodeValue.length),(de=X.firstChild)!==null;)q=X,X=de;for(;;){if(X===o)break t;if(q===a&&++F===h&&(S=_),q===g&&++G===d&&(I=_),(de=X.nextSibling)!==null)break;X=q,q=X.parentNode}X=de}a=S===-1||I===-1?null:{start:S,end:I}}else a=null}a=a||{start:0,end:0}}else a=null;for(ac={focusedElem:o,selectionRange:a},u1=!1,ve=i;ve!==null;)if(i=ve,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,ve=o;else for(;ve!==null;){i=ve;try{var _e=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(_e!==null){var be=_e.memoizedProps,pt=_e.memoizedState,N=i.stateNode,L=N.getSnapshotBeforeUpdate(i.elementType===i.type?be:In(i.type,be),pt);N.__reactInternalSnapshotBeforeUpdate=L}break;case 3:var R=i.stateNode.containerInfo;R.nodeType===1?R.textContent="":R.nodeType===9&&R.documentElement&&R.removeChild(R.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(ne){ft(i,i.return,ne)}if(o=i.sibling,o!==null){o.return=i.return,ve=o;break}ve=i.return}return _e=s4,s4=!1,_e}function ls(o,i,a){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var h=d=d.next;do{if((h.tag&o)===o){var g=h.destroy;h.destroy=void 0,g!==void 0&&Gc(i,a,g)}h=h.next}while(h!==d)}}function W1(o,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var a=i=i.next;do{if((a.tag&o)===o){var d=a.create;a.destroy=d()}a=a.next}while(a!==i)}}function Kc(o){var i=o.ref;if(i!==null){var a=o.stateNode;switch(o.tag){case 5:o=a;break;default:o=a}typeof i=="function"?i(o):i.current=o}}function a4(o){var i=o.alternate;i!==null&&(o.alternate=null,a4(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Dn],delete i[Ji],delete i[dc],delete i[Vm],delete i[Bm])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function l4(o){return o.tag===5||o.tag===3||o.tag===4}function c4(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||l4(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Yc(o,i,a){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?a.nodeType===8?a.parentNode.insertBefore(o,i):a.insertBefore(o,i):(a.nodeType===8?(i=a.parentNode,i.insertBefore(o,a)):(i=a,i.appendChild(o)),a=a._reactRootContainer,a!=null||i.onclick!==null||(i.onclick=C1));else if(d!==4&&(o=o.child,o!==null))for(Yc(o,i,a),o=o.sibling;o!==null;)Yc(o,i,a),o=o.sibling}function Jc(o,i,a){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?a.insertBefore(o,i):a.appendChild(o);else if(d!==4&&(o=o.child,o!==null))for(Jc(o,i,a),o=o.sibling;o!==null;)Jc(o,i,a),o=o.sibling}var Mt=null,On=!1;function Or(o,i,a){for(a=a.child;a!==null;)u4(o,i,a),a=a.sibling}function u4(o,i,a){if(Fn&&typeof Fn.onCommitFiberUnmount=="function")try{Fn.onCommitFiberUnmount(o1,a)}catch{}switch(a.tag){case 5:Rt||Go(a,i);case 6:var d=Mt,h=On;Mt=null,Or(o,i,a),Mt=d,On=h,Mt!==null&&(On?(o=Mt,a=a.stateNode,o.nodeType===8?o.parentNode.removeChild(a):o.removeChild(a)):Mt.removeChild(a.stateNode));break;case 18:Mt!==null&&(On?(o=Mt,a=a.stateNode,o.nodeType===8?uc(o.parentNode,a):o.nodeType===1&&uc(o,a),$i(o)):uc(Mt,a.stateNode));break;case 4:d=Mt,h=On,Mt=a.stateNode.containerInfo,On=!0,Or(o,i,a),Mt=d,On=h;break;case 0:case 11:case 14:case 15:if(!Rt&&(d=a.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){h=d=d.next;do{var g=h,_=g.destroy;g=g.tag,_!==void 0&&((g&2)!==0||(g&4)!==0)&&Gc(a,i,_),h=h.next}while(h!==d)}Or(o,i,a);break;case 1:if(!Rt&&(Go(a,i),d=a.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=a.memoizedProps,d.state=a.memoizedState,d.componentWillUnmount()}catch(S){ft(a,i,S)}Or(o,i,a);break;case 21:Or(o,i,a);break;case 22:a.mode&1?(Rt=(d=Rt)||a.memoizedState!==null,Or(o,i,a),Rt=d):Or(o,i,a);break;default:Or(o,i,a)}}function d4(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var a=o.stateNode;a===null&&(a=o.stateNode=new ig),i.forEach(function(d){var h=mg.bind(null,o,d);a.has(d)||(a.add(d),d.then(h,h))})}}function Ln(o,i){var a=i.deletions;if(a!==null)for(var d=0;d<a.length;d++){var h=a[d];try{var g=o,_=i,S=_;e:for(;S!==null;){switch(S.tag){case 5:Mt=S.stateNode,On=!1;break e;case 3:Mt=S.stateNode.containerInfo,On=!0;break e;case 4:Mt=S.stateNode.containerInfo,On=!0;break e}S=S.return}if(Mt===null)throw Error(n(160));u4(g,_,h),Mt=null,On=!1;var I=h.alternate;I!==null&&(I.return=null),h.return=null}catch(F){ft(h,i,F)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)f4(i,o),i=i.sibling}function f4(o,i){var a=o.alternate,d=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:if(Ln(i,o),Vn(o),d&4){try{ls(3,o,o.return),W1(3,o)}catch(be){ft(o,o.return,be)}try{ls(5,o,o.return)}catch(be){ft(o,o.return,be)}}break;case 1:Ln(i,o),Vn(o),d&512&&a!==null&&Go(a,a.return);break;case 5:if(Ln(i,o),Vn(o),d&512&&a!==null&&Go(a,a.return),o.flags&32){var h=o.stateNode;try{Ii(h,"")}catch(be){ft(o,o.return,be)}}if(d&4&&(h=o.stateNode,h!=null)){var g=o.memoizedProps,_=a!==null?a.memoizedProps:g,S=o.type,I=o.updateQueue;if(o.updateQueue=null,I!==null)try{S==="input"&&g.type==="radio"&&g.name!=null&&Jn(h,g),Ml(S,_);var F=Ml(S,g);for(_=0;_<I.length;_+=2){var G=I[_],X=I[_+1];G==="style"?G2(h,X):G==="dangerouslySetInnerHTML"?U2(h,X):G==="children"?Ii(h,X):$(h,G,X,F)}switch(S){case"input":fn(h,g);break;case"textarea":Mi(h,g);break;case"select":var q=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!g.multiple;var de=g.value;de!=null?Qn(h,!!g.multiple,de,!1):q!==!!g.multiple&&(g.defaultValue!=null?Qn(h,!!g.multiple,g.defaultValue,!0):Qn(h,!!g.multiple,g.multiple?[]:"",!1))}h[Ji]=g}catch(be){ft(o,o.return,be)}}break;case 6:if(Ln(i,o),Vn(o),d&4){if(o.stateNode===null)throw Error(n(162));h=o.stateNode,g=o.memoizedProps;try{h.nodeValue=g}catch(be){ft(o,o.return,be)}}break;case 3:if(Ln(i,o),Vn(o),d&4&&a!==null&&a.memoizedState.isDehydrated)try{$i(i.containerInfo)}catch(be){ft(o,o.return,be)}break;case 4:Ln(i,o),Vn(o);break;case 13:Ln(i,o),Vn(o),h=o.child,h.flags&8192&&(g=h.memoizedState!==null,h.stateNode.isHidden=g,!g||h.alternate!==null&&h.alternate.memoizedState!==null||(eu=ht())),d&4&&d4(o);break;case 22:if(G=a!==null&&a.memoizedState!==null,o.mode&1?(Rt=(F=Rt)||G,Ln(i,o),Rt=F):Ln(i,o),Vn(o),d&8192){if(F=o.memoizedState!==null,(o.stateNode.isHidden=F)&&!G&&(o.mode&1)!==0)for(ve=o,G=o.child;G!==null;){for(X=ve=G;ve!==null;){switch(q=ve,de=q.child,q.tag){case 0:case 11:case 14:case 15:ls(4,q,q.return);break;case 1:Go(q,q.return);var _e=q.stateNode;if(typeof _e.componentWillUnmount=="function"){d=q,a=q.return;try{i=d,_e.props=i.memoizedProps,_e.state=i.memoizedState,_e.componentWillUnmount()}catch(be){ft(d,a,be)}}break;case 5:Go(q,q.return);break;case 22:if(q.memoizedState!==null){m4(X);continue}}de!==null?(de.return=q,ve=de):m4(X)}G=G.sibling}e:for(G=null,X=o;;){if(X.tag===5){if(G===null){G=X;try{h=X.stateNode,F?(g=h.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(S=X.stateNode,I=X.memoizedProps.style,_=I!=null&&I.hasOwnProperty("display")?I.display:null,S.style.display=q2("display",_))}catch(be){ft(o,o.return,be)}}}else if(X.tag===6){if(G===null)try{X.stateNode.nodeValue=F?"":X.memoizedProps}catch(be){ft(o,o.return,be)}}else if((X.tag!==22&&X.tag!==23||X.memoizedState===null||X===o)&&X.child!==null){X.child.return=X,X=X.child;continue}if(X===o)break e;for(;X.sibling===null;){if(X.return===null||X.return===o)break e;G===X&&(G=null),X=X.return}G===X&&(G=null),X.sibling.return=X.return,X=X.sibling}}break;case 19:Ln(i,o),Vn(o),d&4&&d4(o);break;case 21:break;default:Ln(i,o),Vn(o)}}function Vn(o){var i=o.flags;if(i&2){try{e:{for(var a=o.return;a!==null;){if(l4(a)){var d=a;break e}a=a.return}throw Error(n(160))}switch(d.tag){case 5:var h=d.stateNode;d.flags&32&&(Ii(h,""),d.flags&=-33);var g=c4(o);Jc(o,g,h);break;case 3:case 4:var _=d.stateNode.containerInfo,S=c4(o);Yc(o,S,_);break;default:throw Error(n(161))}}catch(I){ft(o,o.return,I)}o.flags&=-3}i&4096&&(o.flags&=-4097)}function ag(o,i,a){ve=o,h4(o)}function h4(o,i,a){for(var d=(o.mode&1)!==0;ve!==null;){var h=ve,g=h.child;if(h.tag===22&&d){var _=h.memoizedState!==null||Z1;if(!_){var S=h.alternate,I=S!==null&&S.memoizedState!==null||Rt;S=Z1;var F=Rt;if(Z1=_,(Rt=I)&&!F)for(ve=h;ve!==null;)_=ve,I=_.child,_.tag===22&&_.memoizedState!==null?g4(h):I!==null?(I.return=_,ve=I):g4(h);for(;g!==null;)ve=g,h4(g),g=g.sibling;ve=h,Z1=S,Rt=F}p4(o)}else(h.subtreeFlags&8772)!==0&&g!==null?(g.return=h,ve=g):p4(o)}}function p4(o){for(;ve!==null;){var i=ve;if((i.flags&8772)!==0){var a=i.alternate;try{if((i.flags&8772)!==0)switch(i.tag){case 0:case 11:case 15:Rt||W1(5,i);break;case 1:var d=i.stateNode;if(i.flags&4&&!Rt)if(a===null)d.componentDidMount();else{var h=i.elementType===i.type?a.memoizedProps:In(i.type,a.memoizedProps);d.componentDidUpdate(h,a.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var g=i.updateQueue;g!==null&&m3(i,g,d);break;case 3:var _=i.updateQueue;if(_!==null){if(a=null,i.child!==null)switch(i.child.tag){case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}m3(i,_,a)}break;case 5:var S=i.stateNode;if(a===null&&i.flags&4){a=S;var I=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":I.autoFocus&&a.focus();break;case"img":I.src&&(a.src=I.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var F=i.alternate;if(F!==null){var G=F.memoizedState;if(G!==null){var X=G.dehydrated;X!==null&&$i(X)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Rt||i.flags&512&&Kc(i)}catch(q){ft(i,i.return,q)}}if(i===o){ve=null;break}if(a=i.sibling,a!==null){a.return=i.return,ve=a;break}ve=i.return}}function m4(o){for(;ve!==null;){var i=ve;if(i===o){ve=null;break}var a=i.sibling;if(a!==null){a.return=i.return,ve=a;break}ve=i.return}}function g4(o){for(;ve!==null;){var i=ve;try{switch(i.tag){case 0:case 11:case 15:var a=i.return;try{W1(4,i)}catch(I){ft(i,a,I)}break;case 1:var d=i.stateNode;if(typeof d.componentDidMount=="function"){var h=i.return;try{d.componentDidMount()}catch(I){ft(i,h,I)}}var g=i.return;try{Kc(i)}catch(I){ft(i,g,I)}break;case 5:var _=i.return;try{Kc(i)}catch(I){ft(i,_,I)}}}catch(I){ft(i,i.return,I)}if(i===o){ve=null;break}var S=i.sibling;if(S!==null){S.return=i.return,ve=S;break}ve=i.return}}var lg=Math.ceil,U1=z.ReactCurrentDispatcher,Qc=z.ReactCurrentOwner,wn=z.ReactCurrentBatchConfig,Ge=0,St=null,vt=null,It=0,an=0,Ko=Sr(0),_t=0,cs=null,to=0,q1=0,Xc=0,us=null,Kt=null,eu=0,Yo=1/0,sr=null,G1=!1,tu=null,Lr=null,K1=!1,Tr=null,Y1=0,ds=0,nu=null,J1=-1,Q1=0;function Ht(){return(Ge&6)!==0?ht():J1!==-1?J1:J1=ht()}function zr(o){return(o.mode&1)===0?1:(Ge&2)!==0&&It!==0?It&-It:Wm.transition!==null?(Q1===0&&(Q1=cd()),Q1):(o=Je,o!==0||(o=window.event,o=o===void 0?16:wd(o.type)),o)}function Tn(o,i,a,d){if(50<ds)throw ds=0,nu=null,Error(n(185));Ni(o,a,d),((Ge&2)===0||o!==St)&&(o===St&&((Ge&2)===0&&(q1|=a),_t===4&&Pr(o,It)),Yt(o,d),a===1&&Ge===0&&(i.mode&1)===0&&(Yo=ht()+500,j1&&Er()))}function Yt(o,i){var a=o.callbackNode;Wp(o,i);var d=a1(o,o===St?It:0);if(d===0)a!==null&&sd(a),o.callbackNode=null,o.callbackPriority=0;else if(i=d&-d,o.callbackPriority!==i){if(a!=null&&sd(a),i===1)o.tag===0?Zm(w4.bind(null,o)):r3(w4.bind(null,o)),$m(function(){(Ge&6)===0&&Er()}),a=null;else{switch(ud(d)){case 1:a=Nl;break;case 4:a=ad;break;case 16:a=r1;break;case 536870912:a=ld;break;default:a=r1}a=j4(a,v4.bind(null,o))}o.callbackPriority=i,o.callbackNode=a}}function v4(o,i){if(J1=-1,Q1=0,(Ge&6)!==0)throw Error(n(327));var a=o.callbackNode;if(Jo()&&o.callbackNode!==a)return null;var d=a1(o,o===St?It:0);if(d===0)return null;if((d&30)!==0||(d&o.expiredLanes)!==0||i)i=X1(o,d);else{i=d;var h=Ge;Ge|=2;var g=x4();(St!==o||It!==i)&&(sr=null,Yo=ht()+500,ro(o,i));do try{dg();break}catch(S){y4(o,S)}while(!0);xc(),U1.current=g,Ge=h,vt!==null?i=0:(St=null,It=0,i=_t)}if(i!==0){if(i===2&&(h=Al(o),h!==0&&(d=h,i=ru(o,h))),i===1)throw a=cs,ro(o,0),Pr(o,d),Yt(o,ht()),a;if(i===6)Pr(o,d);else{if(h=o.current.alternate,(d&30)===0&&!cg(h)&&(i=X1(o,d),i===2&&(g=Al(o),g!==0&&(d=g,i=ru(o,g))),i===1))throw a=cs,ro(o,0),Pr(o,d),Yt(o,ht()),a;switch(o.finishedWork=h,o.finishedLanes=d,i){case 0:case 1:throw Error(n(345));case 2:oo(o,Kt,sr);break;case 3:if(Pr(o,d),(d&130023424)===d&&(i=eu+500-ht(),10<i)){if(a1(o,0)!==0)break;if(h=o.suspendedLanes,(h&d)!==d){Ht(),o.pingedLanes|=o.suspendedLanes&h;break}o.timeoutHandle=cc(oo.bind(null,o,Kt,sr),i);break}oo(o,Kt,sr);break;case 4:if(Pr(o,d),(d&4194240)===d)break;for(i=o.eventTimes,h=-1;0<d;){var _=31-jn(d);g=1<<_,_=i[_],_>h&&(h=_),d&=~g}if(d=h,d=ht()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*lg(d/1960))-d,10<d){o.timeoutHandle=cc(oo.bind(null,o,Kt,sr),d);break}oo(o,Kt,sr);break;case 5:oo(o,Kt,sr);break;default:throw Error(n(329))}}}return Yt(o,ht()),o.callbackNode===a?v4.bind(null,o):null}function ru(o,i){var a=us;return o.current.memoizedState.isDehydrated&&(ro(o,i).flags|=256),o=X1(o,i),o!==2&&(i=Kt,Kt=a,i!==null&&ou(i)),o}function ou(o){Kt===null?Kt=o:Kt.push.apply(Kt,o)}function cg(o){for(var i=o;;){if(i.flags&16384){var a=i.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var d=0;d<a.length;d++){var h=a[d],g=h.getSnapshot;h=h.value;try{if(!En(g(),h))return!1}catch{return!1}}}if(a=i.child,i.subtreeFlags&16384&&a!==null)a.return=i,i=a;else{if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Pr(o,i){for(i&=~Xc,i&=~q1,o.suspendedLanes|=i,o.pingedLanes&=~i,o=o.expirationTimes;0<i;){var a=31-jn(i),d=1<<a;o[a]=-1,i&=~d}}function w4(o){if((Ge&6)!==0)throw Error(n(327));Jo();var i=a1(o,0);if((i&1)===0)return Yt(o,ht()),null;var a=X1(o,i);if(o.tag!==0&&a===2){var d=Al(o);d!==0&&(i=d,a=ru(o,d))}if(a===1)throw a=cs,ro(o,0),Pr(o,i),Yt(o,ht()),a;if(a===6)throw Error(n(345));return o.finishedWork=o.current.alternate,o.finishedLanes=i,oo(o,Kt,sr),Yt(o,ht()),null}function iu(o,i){var a=Ge;Ge|=1;try{return o(i)}finally{Ge=a,Ge===0&&(Yo=ht()+500,j1&&Er())}}function no(o){Tr!==null&&Tr.tag===0&&(Ge&6)===0&&Jo();var i=Ge;Ge|=1;var a=wn.transition,d=Je;try{if(wn.transition=null,Je=1,o)return o()}finally{Je=d,wn.transition=a,Ge=i,(Ge&6)===0&&Er()}}function su(){an=Ko.current,it(Ko)}function ro(o,i){o.finishedWork=null,o.finishedLanes=0;var a=o.timeoutHandle;if(a!==-1&&(o.timeoutHandle=-1,Dm(a)),vt!==null)for(a=vt.return;a!==null;){var d=a;switch(mc(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&k1();break;case 3:Uo(),it(Ut),it(Pt),Mc();break;case 5:jc(d);break;case 4:Uo();break;case 13:it(lt);break;case 19:it(lt);break;case 10:_c(d.type._context);break;case 22:case 23:su()}a=a.return}if(St=o,vt=o=Nr(o.current,null),It=an=i,_t=0,cs=null,Xc=q1=to=0,Kt=us=null,Qr!==null){for(i=0;i<Qr.length;i++)if(a=Qr[i],d=a.interleaved,d!==null){a.interleaved=null;var h=d.next,g=a.pending;if(g!==null){var _=g.next;g.next=h,d.next=_}a.pending=d}Qr=null}return o}function y4(o,i){do{var a=vt;try{if(xc(),A1.current=$1,R1){for(var d=ct.memoizedState;d!==null;){var h=d.queue;h!==null&&(h.pending=null),d=d.next}R1=!1}if(eo=0,kt=xt=ct=null,rs=!1,os=0,Qc.current=null,a===null||a.return===null){_t=1,cs=i,vt=null;break}e:{var g=o,_=a.return,S=a,I=i;if(i=It,S.flags|=32768,I!==null&&typeof I=="object"&&typeof I.then=="function"){var F=I,G=S,X=G.tag;if((G.mode&1)===0&&(X===0||X===11||X===15)){var q=G.alternate;q?(G.updateQueue=q.updateQueue,G.memoizedState=q.memoizedState,G.lanes=q.lanes):(G.updateQueue=null,G.memoizedState=null)}var de=Z3(_);if(de!==null){de.flags&=-257,W3(de,_,S,g,i),de.mode&1&&B3(g,F,i),i=de,I=F;var _e=i.updateQueue;if(_e===null){var be=new Set;be.add(I),i.updateQueue=be}else _e.add(I);break e}else{if((i&1)===0){B3(g,F,i),au();break e}I=Error(n(426))}}else if(st&&S.mode&1){var pt=Z3(_);if(pt!==null){(pt.flags&65536)===0&&(pt.flags|=256),W3(pt,_,S,g,i),wc(qo(I,S));break e}}g=I=qo(I,S),_t!==4&&(_t=2),us===null?us=[g]:us.push(g),g=_;do{switch(g.tag){case 3:g.flags|=65536,i&=-i,g.lanes|=i;var N=H3(g,I,i);p3(g,N);break e;case 1:S=I;var L=g.type,R=g.stateNode;if((g.flags&128)===0&&(typeof L.getDerivedStateFromError=="function"||R!==null&&typeof R.componentDidCatch=="function"&&(Lr===null||!Lr.has(R)))){g.flags|=65536,i&=-i,g.lanes|=i;var ne=V3(g,S,i);p3(g,ne);break e}}g=g.return}while(g!==null)}C4(a)}catch(Se){i=Se,vt===a&&a!==null&&(vt=a=a.return);continue}break}while(!0)}function x4(){var o=U1.current;return U1.current=$1,o===null?$1:o}function au(){(_t===0||_t===3||_t===2)&&(_t=4),St===null||(to&268435455)===0&&(q1&268435455)===0||Pr(St,It)}function X1(o,i){var a=Ge;Ge|=2;var d=x4();(St!==o||It!==i)&&(sr=null,ro(o,i));do try{ug();break}catch(h){y4(o,h)}while(!0);if(xc(),Ge=a,U1.current=d,vt!==null)throw Error(n(261));return St=null,It=0,_t}function ug(){for(;vt!==null;)_4(vt)}function dg(){for(;vt!==null&&!Ap();)_4(vt)}function _4(o){var i=S4(o.alternate,o,an);o.memoizedProps=o.pendingProps,i===null?C4(o):vt=i,Qc.current=null}function C4(o){var i=o;do{var a=i.alternate;if(o=i.return,(i.flags&32768)===0){if(a=rg(a,i,an),a!==null){vt=a;return}}else{if(a=og(a,i),a!==null){a.flags&=32767,vt=a;return}if(o!==null)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{_t=6,vt=null;return}}if(i=i.sibling,i!==null){vt=i;return}vt=i=o}while(i!==null);_t===0&&(_t=5)}function oo(o,i,a){var d=Je,h=wn.transition;try{wn.transition=null,Je=1,fg(o,i,a,d)}finally{wn.transition=h,Je=d}return null}function fg(o,i,a,d){do Jo();while(Tr!==null);if((Ge&6)!==0)throw Error(n(327));a=o.finishedWork;var h=o.finishedLanes;if(a===null)return null;if(o.finishedWork=null,o.finishedLanes=0,a===o.current)throw Error(n(177));o.callbackNode=null,o.callbackPriority=0;var g=a.lanes|a.childLanes;if(Up(o,g),o===St&&(vt=St=null,It=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||K1||(K1=!0,j4(r1,function(){return Jo(),null})),g=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||g){g=wn.transition,wn.transition=null;var _=Je;Je=1;var S=Ge;Ge|=4,Qc.current=null,sg(o,a),f4(a,o),Tm(ac),u1=!!sc,ac=sc=null,o.current=a,ag(a),Rp(),Ge=S,Je=_,wn.transition=g}else o.current=a;if(K1&&(K1=!1,Tr=o,Y1=h),g=o.pendingLanes,g===0&&(Lr=null),$p(a.stateNode),Yt(o,ht()),i!==null)for(d=o.onRecoverableError,a=0;a<i.length;a++)h=i[a],d(h.value,{componentStack:h.stack,digest:h.digest});if(G1)throw G1=!1,o=tu,tu=null,o;return(Y1&1)!==0&&o.tag!==0&&Jo(),g=o.pendingLanes,(g&1)!==0?o===nu?ds++:(ds=0,nu=o):ds=0,Er(),null}function Jo(){if(Tr!==null){var o=ud(Y1),i=wn.transition,a=Je;try{if(wn.transition=null,Je=16>o?16:o,Tr===null)var d=!1;else{if(o=Tr,Tr=null,Y1=0,(Ge&6)!==0)throw Error(n(331));var h=Ge;for(Ge|=4,ve=o.current;ve!==null;){var g=ve,_=g.child;if((ve.flags&16)!==0){var S=g.deletions;if(S!==null){for(var I=0;I<S.length;I++){var F=S[I];for(ve=F;ve!==null;){var G=ve;switch(G.tag){case 0:case 11:case 15:ls(8,G,g)}var X=G.child;if(X!==null)X.return=G,ve=X;else for(;ve!==null;){G=ve;var q=G.sibling,de=G.return;if(a4(G),G===F){ve=null;break}if(q!==null){q.return=de,ve=q;break}ve=de}}}var _e=g.alternate;if(_e!==null){var be=_e.child;if(be!==null){_e.child=null;do{var pt=be.sibling;be.sibling=null,be=pt}while(be!==null)}}ve=g}}if((g.subtreeFlags&2064)!==0&&_!==null)_.return=g,ve=_;else e:for(;ve!==null;){if(g=ve,(g.flags&2048)!==0)switch(g.tag){case 0:case 11:case 15:ls(9,g,g.return)}var N=g.sibling;if(N!==null){N.return=g.return,ve=N;break e}ve=g.return}}var L=o.current;for(ve=L;ve!==null;){_=ve;var R=_.child;if((_.subtreeFlags&2064)!==0&&R!==null)R.return=_,ve=R;else e:for(_=L;ve!==null;){if(S=ve,(S.flags&2048)!==0)try{switch(S.tag){case 0:case 11:case 15:W1(9,S)}}catch(Se){ft(S,S.return,Se)}if(S===_){ve=null;break e}var ne=S.sibling;if(ne!==null){ne.return=S.return,ve=ne;break e}ve=S.return}}if(Ge=h,Er(),Fn&&typeof Fn.onPostCommitFiberRoot=="function")try{Fn.onPostCommitFiberRoot(o1,o)}catch{}d=!0}return d}finally{Je=a,wn.transition=i}}return!1}function b4(o,i,a){i=qo(a,i),i=H3(o,i,1),o=Ir(o,i,1),i=Ht(),o!==null&&(Ni(o,1,i),Yt(o,i))}function ft(o,i,a){if(o.tag===3)b4(o,o,a);else for(;i!==null;){if(i.tag===3){b4(i,o,a);break}else if(i.tag===1){var d=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Lr===null||!Lr.has(d))){o=qo(a,o),o=V3(i,o,1),i=Ir(i,o,1),o=Ht(),i!==null&&(Ni(i,1,o),Yt(i,o));break}}i=i.return}}function hg(o,i,a){var d=o.pingCache;d!==null&&d.delete(i),i=Ht(),o.pingedLanes|=o.suspendedLanes&a,St===o&&(It&a)===a&&(_t===4||_t===3&&(It&130023424)===It&&500>ht()-eu?ro(o,0):Xc|=a),Yt(o,i)}function k4(o,i){i===0&&((o.mode&1)===0?i=1:(i=s1,s1<<=1,(s1&130023424)===0&&(s1=4194304)));var a=Ht();o=rr(o,i),o!==null&&(Ni(o,i,a),Yt(o,a))}function pg(o){var i=o.memoizedState,a=0;i!==null&&(a=i.retryLane),k4(o,a)}function mg(o,i){var a=0;switch(o.tag){case 13:var d=o.stateNode,h=o.memoizedState;h!==null&&(a=h.retryLane);break;case 19:d=o.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),k4(o,a)}var S4;S4=function(o,i,a){if(o!==null)if(o.memoizedProps!==i.pendingProps||Ut.current)Gt=!0;else{if((o.lanes&a)===0&&(i.flags&128)===0)return Gt=!1,ng(o,i,a);Gt=(o.flags&131072)!==0}else Gt=!1,st&&(i.flags&1048576)!==0&&o3(i,M1,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;B1(o,i),o=i.pendingProps;var h=Do(i,Pt.current);Wo(i,a),h=Lc(null,i,d,o,h,a);var g=Tc();return i.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,qt(d)?(g=!0,S1(i)):g=!1,i.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,kc(i),h.updater=H1,i.stateNode=h,h._reactInternals=i,Fc(i,d,o,a),i=Vc(null,i,d,!0,g,a)):(i.tag=0,st&&g&&pc(i),$t(null,i,h,a),i=i.child),i;case 16:d=i.elementType;e:{switch(B1(o,i),o=i.pendingProps,h=d._init,d=h(d._payload),i.type=d,h=i.tag=vg(d),o=In(d,o),h){case 0:i=Hc(null,i,d,o,a);break e;case 1:i=J3(null,i,d,o,a);break e;case 11:i=U3(null,i,d,o,a);break e;case 14:i=q3(null,i,d,In(d.type,o),a);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,h=i.pendingProps,h=i.elementType===d?h:In(d,h),Hc(o,i,d,h,a);case 1:return d=i.type,h=i.pendingProps,h=i.elementType===d?h:In(d,h),J3(o,i,d,h,a);case 3:e:{if(Q3(i),o===null)throw Error(n(387));d=i.pendingProps,g=i.memoizedState,h=g.element,h3(o,i),P1(i,d,null,a);var _=i.memoizedState;if(d=_.element,g.isDehydrated)if(g={element:d,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){h=qo(Error(n(423)),i),i=X3(o,i,d,a,h);break e}else if(d!==h){h=qo(Error(n(424)),i),i=X3(o,i,d,a,h);break e}else for(sn=kr(i.stateNode.containerInfo.firstChild),on=i,st=!0,Mn=null,a=d3(i,null,d,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Vo(),d===h){i=ir(o,i,a);break e}$t(o,i,d,a)}i=i.child}return i;case 5:return g3(i),o===null&&vc(i),d=i.type,h=i.pendingProps,g=o!==null?o.memoizedProps:null,_=h.children,lc(d,h)?_=null:g!==null&&lc(d,g)&&(i.flags|=32),Y3(o,i),$t(o,i,_,a),i.child;case 6:return o===null&&vc(i),null;case 13:return e4(o,i,a);case 4:return Sc(i,i.stateNode.containerInfo),d=i.pendingProps,o===null?i.child=Bo(i,null,d,a):$t(o,i,d,a),i.child;case 11:return d=i.type,h=i.pendingProps,h=i.elementType===d?h:In(d,h),U3(o,i,d,h,a);case 7:return $t(o,i,i.pendingProps,a),i.child;case 8:return $t(o,i,i.pendingProps.children,a),i.child;case 12:return $t(o,i,i.pendingProps.children,a),i.child;case 10:e:{if(d=i.type._context,h=i.pendingProps,g=i.memoizedProps,_=h.value,tt(L1,d._currentValue),d._currentValue=_,g!==null)if(En(g.value,_)){if(g.children===h.children&&!Ut.current){i=ir(o,i,a);break e}}else for(g=i.child,g!==null&&(g.return=i);g!==null;){var S=g.dependencies;if(S!==null){_=g.child;for(var I=S.firstContext;I!==null;){if(I.context===d){if(g.tag===1){I=or(-1,a&-a),I.tag=2;var F=g.updateQueue;if(F!==null){F=F.shared;var G=F.pending;G===null?I.next=I:(I.next=G.next,G.next=I),F.pending=I}}g.lanes|=a,I=g.alternate,I!==null&&(I.lanes|=a),Cc(g.return,a,i),S.lanes|=a;break}I=I.next}}else if(g.tag===10)_=g.type===i.type?null:g.child;else if(g.tag===18){if(_=g.return,_===null)throw Error(n(341));_.lanes|=a,S=_.alternate,S!==null&&(S.lanes|=a),Cc(_,a,i),_=g.sibling}else _=g.child;if(_!==null)_.return=g;else for(_=g;_!==null;){if(_===i){_=null;break}if(g=_.sibling,g!==null){g.return=_.return,_=g;break}_=_.return}g=_}$t(o,i,h.children,a),i=i.child}return i;case 9:return h=i.type,d=i.pendingProps.children,Wo(i,a),h=gn(h),d=d(h),i.flags|=1,$t(o,i,d,a),i.child;case 14:return d=i.type,h=In(d,i.pendingProps),h=In(d.type,h),q3(o,i,d,h,a);case 15:return G3(o,i,i.type,i.pendingProps,a);case 17:return d=i.type,h=i.pendingProps,h=i.elementType===d?h:In(d,h),B1(o,i),i.tag=1,qt(d)?(o=!0,S1(i)):o=!1,Wo(i,a),D3(i,d,h),Fc(i,d,h,a),Vc(null,i,d,!0,o,a);case 19:return n4(o,i,a);case 22:return K3(o,i,a)}throw Error(n(156,i.tag))};function j4(o,i){return id(o,i)}function gg(o,i,a,d){this.tag=o,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yn(o,i,a,d){return new gg(o,i,a,d)}function lu(o){return o=o.prototype,!(!o||!o.isReactComponent)}function vg(o){if(typeof o=="function")return lu(o)?1:0;if(o!=null){if(o=o.$$typeof,o===ge)return 11;if(o===Ie)return 14}return 2}function Nr(o,i){var a=o.alternate;return a===null?(a=yn(o.tag,i,o.key,o.mode),a.elementType=o.elementType,a.type=o.type,a.stateNode=o.stateNode,a.alternate=o,o.alternate=a):(a.pendingProps=i,a.type=o.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=o.flags&14680064,a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,i=o.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=o.sibling,a.index=o.index,a.ref=o.ref,a}function ea(o,i,a,d,h,g){var _=2;if(d=o,typeof o=="function")lu(o)&&(_=1);else if(typeof o=="string")_=5;else e:switch(o){case J:return io(a.children,h,g,i);case H:_=8,h|=8;break;case te:return o=yn(12,a,i,h|2),o.elementType=te,o.lanes=g,o;case oe:return o=yn(13,a,i,h),o.elementType=oe,o.lanes=g,o;case ae:return o=yn(19,a,i,h),o.elementType=ae,o.lanes=g,o;case Ne:return ta(a,h,g,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Z:_=10;break e;case me:_=9;break e;case ge:_=11;break e;case Ie:_=14;break e;case xe:_=16,d=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=yn(_,a,i,h),i.elementType=o,i.type=d,i.lanes=g,i}function io(o,i,a,d){return o=yn(7,o,d,i),o.lanes=a,o}function ta(o,i,a,d){return o=yn(22,o,d,i),o.elementType=Ne,o.lanes=a,o.stateNode={isHidden:!1},o}function cu(o,i,a){return o=yn(6,o,null,i),o.lanes=a,o}function uu(o,i,a){return i=yn(4,o.children!==null?o.children:[],o.key,i),i.lanes=a,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function wg(o,i,a,d,h){this.tag=i,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Rl(0),this.expirationTimes=Rl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rl(0),this.identifierPrefix=d,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function du(o,i,a,d,h,g,_,S,I){return o=new wg(o,i,a,S,I),i===1?(i=1,g===!0&&(i|=8)):i=0,g=yn(3,null,null,i),o.current=g,g.stateNode=o,g.memoizedState={element:d,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},kc(g),o}function yg(o,i,a){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:V,key:d==null?null:""+d,children:o,containerInfo:i,implementation:a}}function E4(o){if(!o)return jr;o=o._reactInternals;e:{if(qr(o)!==o||o.tag!==1)throw Error(n(170));var i=o;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(qt(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(n(171))}if(o.tag===1){var a=o.type;if(qt(a))return t3(o,a,i)}return i}function M4(o,i,a,d,h,g,_,S,I){return o=du(a,d,!0,o,h,g,_,S,I),o.context=E4(null),a=o.current,d=Ht(),h=zr(a),g=or(d,h),g.callback=i??null,Ir(a,g,h),o.current.lanes=h,Ni(o,h,d),Yt(o,d),o}function na(o,i,a,d){var h=i.current,g=Ht(),_=zr(h);return a=E4(a),i.context===null?i.context=a:i.pendingContext=a,i=or(g,_),i.payload={element:o},d=d===void 0?null:d,d!==null&&(i.callback=d),o=Ir(h,i,_),o!==null&&(Tn(o,h,_,g),z1(o,h,_)),_}function ra(o){if(o=o.current,!o.child)return null;switch(o.child.tag){case 5:return o.child.stateNode;default:return o.child.stateNode}}function I4(o,i){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var a=o.retryLane;o.retryLane=a!==0&&a<i?a:i}}function fu(o,i){I4(o,i),(o=o.alternate)&&I4(o,i)}function xg(){return null}var O4=typeof reportError=="function"?reportError:function(o){console.error(o)};function hu(o){this._internalRoot=o}oa.prototype.render=hu.prototype.render=function(o){var i=this._internalRoot;if(i===null)throw Error(n(409));na(o,i,null,null)},oa.prototype.unmount=hu.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var i=o.containerInfo;no(function(){na(null,o,null,null)}),i[Xn]=null}};function oa(o){this._internalRoot=o}oa.prototype.unstable_scheduleHydration=function(o){if(o){var i=hd();o={blockedOn:null,target:o,priority:i};for(var a=0;a<_r.length&&i!==0&&i<_r[a].priority;a++);_r.splice(a,0,o),a===0&&gd(o)}};function pu(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function ia(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11&&(o.nodeType!==8||o.nodeValue!==" react-mount-point-unstable "))}function L4(){}function _g(o,i,a,d,h){if(h){if(typeof d=="function"){var g=d;d=function(){var F=ra(_);g.call(F)}}var _=M4(i,d,o,0,null,!1,!1,"",L4);return o._reactRootContainer=_,o[Xn]=_.current,Ki(o.nodeType===8?o.parentNode:o),no(),_}for(;h=o.lastChild;)o.removeChild(h);if(typeof d=="function"){var S=d;d=function(){var F=ra(I);S.call(F)}}var I=du(o,0,!1,null,null,!1,!1,"",L4);return o._reactRootContainer=I,o[Xn]=I.current,Ki(o.nodeType===8?o.parentNode:o),no(function(){na(i,I,a,d)}),I}function sa(o,i,a,d,h){var g=a._reactRootContainer;if(g){var _=g;if(typeof h=="function"){var S=h;h=function(){var I=ra(_);S.call(I)}}na(i,_,o,h)}else _=_g(a,i,o,h,d);return ra(_)}dd=function(o){switch(o.tag){case 3:var i=o.stateNode;if(i.current.memoizedState.isDehydrated){var a=Pi(i.pendingLanes);a!==0&&(Fl(i,a|1),Yt(i,ht()),(Ge&6)===0&&(Yo=ht()+500,Er()))}break;case 13:no(function(){var d=rr(o,1);if(d!==null){var h=Ht();Tn(d,o,1,h)}}),fu(o,1)}},Dl=function(o){if(o.tag===13){var i=rr(o,134217728);if(i!==null){var a=Ht();Tn(i,o,134217728,a)}fu(o,134217728)}},fd=function(o){if(o.tag===13){var i=zr(o),a=rr(o,i);if(a!==null){var d=Ht();Tn(a,o,i,d)}fu(o,i)}},hd=function(){return Je},pd=function(o,i){var a=Je;try{return Je=o,i()}finally{Je=a}},Ll=function(o,i,a){switch(i){case"input":if(fn(o,a),i=a.name,a.type==="radio"&&i!=null){for(a=o;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<a.length;i++){var d=a[i];if(d!==o&&d.form===o.form){var h=b1(d);if(!h)throw Error(n(90));Qe(d),fn(d,h)}}}break;case"textarea":Mi(o,a);break;case"select":i=a.value,i!=null&&Qn(o,!!a.multiple,i,!1)}},Q2=iu,X2=no;var Cg={usingClientEntryPoint:!1,Events:[Qi,Ro,b1,Y2,J2,iu]},fs={findFiberByHostInstance:Gr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},bg={bundleType:fs.bundleType,version:fs.version,rendererPackageName:fs.rendererPackageName,rendererConfig:fs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:z.ReactCurrentDispatcher,findHostInstanceByFiber:function(o){return o=rd(o),o===null?null:o.stateNode},findFiberByHostInstance:fs.findFiberByHostInstance||xg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var aa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!aa.isDisabled&&aa.supportsFiber)try{o1=aa.inject(bg),Fn=aa}catch{}}return Jt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Cg,Jt.createPortal=function(o,i){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!pu(i))throw Error(n(200));return yg(o,i,null,a)},Jt.createRoot=function(o,i){if(!pu(o))throw Error(n(299));var a=!1,d="",h=O4;return i!=null&&(i.unstable_strictMode===!0&&(a=!0),i.identifierPrefix!==void 0&&(d=i.identifierPrefix),i.onRecoverableError!==void 0&&(h=i.onRecoverableError)),i=du(o,1,!1,null,null,a,!1,d,h),o[Xn]=i.current,Ki(o.nodeType===8?o.parentNode:o),new hu(i)},Jt.findDOMNode=function(o){if(o==null)return null;if(o.nodeType===1)return o;var i=o._reactInternals;if(i===void 0)throw typeof o.render=="function"?Error(n(188)):(o=Object.keys(o).join(","),Error(n(268,o)));return o=rd(i),o=o===null?null:o.stateNode,o},Jt.flushSync=function(o){return no(o)},Jt.hydrate=function(o,i,a){if(!ia(i))throw Error(n(200));return sa(null,o,i,!0,a)},Jt.hydrateRoot=function(o,i,a){if(!pu(o))throw Error(n(405));var d=a!=null&&a.hydratedSources||null,h=!1,g="",_=O4;if(a!=null&&(a.unstable_strictMode===!0&&(h=!0),a.identifierPrefix!==void 0&&(g=a.identifierPrefix),a.onRecoverableError!==void 0&&(_=a.onRecoverableError)),i=M4(i,null,o,1,a??null,h,!1,g,_),o[Xn]=i.current,Ki(o),d)for(o=0;o<d.length;o++)a=d[o],h=a._getVersion,h=h(a._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[a,h]:i.mutableSourceEagerHydrationData.push(a,h);return new oa(i)},Jt.render=function(o,i,a){if(!ia(i))throw Error(n(200));return sa(null,o,i,!1,a)},Jt.unmountComponentAtNode=function(o){if(!ia(o))throw Error(n(40));return o._reactRootContainer?(no(function(){sa(null,null,o,!1,function(){o._reactRootContainer=null,o[Xn]=null})}),!0):!1},Jt.unstable_batchedUpdates=iu,Jt.unstable_renderSubtreeIntoContainer=function(o,i,a,d){if(!ia(a))throw Error(n(200));if(o==null||o._reactInternals===void 0)throw Error(n(38));return sa(o,i,a,!1,d)},Jt.version="18.3.1-next-f1338f8080-20240426",Jt}var X4;function af(){if(X4)return Su.exports;X4=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(),Su.exports=rw(),Su.exports}var bn=af();const ow=Us(bn),iw=Ka({__proto__:null,default:ow},[bn]);var ca={},e5;function sw(){if(e5)return ca;e5=1;var e=af();return ca.createRoot=e.createRoot,ca.hydrateRoot=e.hydrateRoot,ca}var lf=sw();const aw=Us(lf),lw=Ka({__proto__:null,default:aw},[lf]);function cw(e){return`use${e[0]?.toUpperCase()??""}${e.slice(1)}`}class uw extends Error{}class dw extends Error{}function fw(e){return typeof e=="function"?e():e}const ua=Object.freeze([]);class hw{records=new Map;factories=new Map;mutateListeners=new Set;handleScopes=new Map;dirty=new Set;flushScheduled=!1;abdicated=new WeakSet;entryErrorListeners=new Set;constructor(){const t=this.record("root");t.spec={kind:"single",scope:"root"},t.declaredBy="(built-in)",t.declarationEpoch=1}registerFactory=((t,n)=>{const r=t,s=this.factoryRecord(r.name);if(s.definition!==void 0)throw new Error(`slot factory "${r.name}" already has a definition`);for(const f of Object.keys(r.children??{})){const p=this.records.get(f);if(p?.spec!==void 0)throw new Error(`slot "${f}" is already declared (by ${p.declaredBy??"an unknown entry"})`)}if(r.store!==void 0&&typeof r.store!="function"){const f=this.handleScopes.get(r.store);if(f!==void 0&&f.scope!==r.scope)throw new Error(`store handle mounted under factory "${r.name}" (scope "${r.scope}") is already mounted under scope "${f.scope}" — one handle, one scope`);f!==void 0?f.count+=1:this.handleScopes.set(r.store,{scope:r.scope,count:1})}const l={name:r.name,component:n,scope:r.scope,...r.children===void 0?{}:{children:r.children},...r.store===void 0?{}:{store:r.store},...r.inject===void 0?{}:{inject:r.inject},...r.locale===void 0?{}:{locale:r.locale},...r.slots===void 0?{}:{slots:r.slots},...r.registrant===void 0?{}:{registrant:r.registrant}};s.definition=l,this.markFactoryDirty(s);const u=[];for(const[f,p]of Object.entries(r.children??{})){const m=this.record(f);m.spec=p,m.declaredBy=`factory "${r.name}"${r.registrant?` (${r.registrant})`:""}`,m.parent=`factory:${r.name}`,m.declarationEpoch+=1,u.push([f,m])}for(const[f,p]of u)this.markDirty(f,p);for(const[,f]of u)this.notifyDeclaration(f);return()=>{if(s.definition===l){if(s.definition=void 0,this.markFactoryDirty(s),l.store!==void 0&&typeof l.store!="function"){const f=this.handleScopes.get(l.store);f!==void 0&&--f.count===0&&this.handleScopes.delete(l.store)}this.releaseChildren(l.children)}}});factory(t){return this.factories.get(t)?.definition}factoryVersion(t){return this.factories.get(t)?.version??0}subscribeFactory(t,n){const r=this.factoryRecord(t);return r.listeners.add(n),()=>{r.listeners.delete(n)}}isFactoryLive(t){return this.factories.get(t.name)?.definition===t}register(t,n){const r=this.records.get(t.name);if(!r?.spec)throw new Error(`slot "${t.name}" is not declared (a parent entry's children table must declare it)`);const s=r.spec,l=t.priority??0,u=m=>`at priority ${l}${m.registrant!==void 0?` (registered by ${m.registrant})`:""} — register at a different priority to shadow it (lowest renders)`;switch(s.kind){case"single":{const m=r.entries.find(v=>(v.options.priority??0)===l);if(m)throw new Error(`single slot "${t.name}" already has a registration ${u(m)}`);break}case"keyed":{if(t.key===void 0)throw new Error(`keyed slot "${t.name}" requires options.key`);const m=r.entries.find(v=>v.options.key===t.key&&(v.options.priority??0)===l);if(m)throw new Error(`keyed slot "${t.name}" already has an entry for key "${t.key}" ${u(m)}`);break}case"list":{if(t.id===void 0)throw new Error(`list slot "${t.name}" requires options.id`);const m=r.entries.find(v=>v.options.id===t.id&&(v.options.priority??0)===l);if(m)throw new Error(`list slot "${t.name}" already has an entry with id "${t.id}" ${u(m)}`);break}case"chain":if(t.select===void 0)throw new Error(`chain slot "${t.name}" requires options.select`);break}if(t.children)for(const m of Object.keys(t.children)){const v=this.records.get(m);if(v?.spec)throw new Error(`slot "${m}" is already declared (by ${v.declaredBy??"an unknown entry"})`)}if(t.store!==void 0&&typeof t.store!="function"){const m=this.handleScopes.get(t.store);if(m&&m.scope!==s.scope)throw new Error(`store handle mounted under "${t.name}" (scope "${s.scope}") is already mounted under scope "${m.scope}" — one handle, one scope`);m?m.count+=1:this.handleScopes.set(t.store,{scope:s.scope,count:1})}const f={component:n,options:{...t.key!==void 0?{key:t.key}:{},...t.id!==void 0?{id:t.id}:{},...t.order!==void 0?{order:t.order}:{},...t.label!==void 0?{label:t.label}:{},...t.priority!==void 0?{priority:t.priority}:{}},...t.select!==void 0?{select:t.select}:{},...t.inject!==void 0?{inject:t.inject}:{},...t.children!==void 0?{children:t.children}:{},...t.store!==void 0?{store:t.store}:{},...t.locale!==void 0?{locale:t.locale}:{},...t.registrant!==void 0?{registrant:t.registrant}:{}},p=[...r.entries,f];if(p.sort(s.kind==="list"?(m,v)=>(m.options.priority??0)-(v.options.priority??0)||(m.options.order??0)-(v.options.order??0):(m,v)=>(m.options.priority??0)-(v.options.priority??0)),r.entries=p,this.markDirty(t.name,r),t.children){const m=[];for(const[v,w]of Object.entries(t.children)){const y=this.record(v);y.spec=w,y.declaredBy=`an entry in "${t.name}"${t.registrant?` (${t.registrant})`:""}`,y.parent=t.name,y.declarationEpoch+=1,m.push([v,y])}for(const[v,w]of m)this.markDirty(v,w);for(const[,v]of m)this.notifyDeclaration(v)}return()=>{r.entries.includes(f)&&(r.entries=r.entries.filter(m=>m!==f),this.markDirty(t.name,r),this.releaseEntry(f))}}isLive(t){for(const n of this.records.values())if(n.entries.includes(t))return!0;return!1}entries(t){return this.records.get(t)?.entries??ua}entriesOfSlot(t){const n=this.records.get(t);if(!n?.spec)return ua;const r=n.spec.kind;if(r==="chain")return n.entries;const s=[],l=new Set;for(const u of n.entries){if(this.abdicated.has(u))continue;const f=r==="keyed"?u.options.key:r==="list"?u.options.id:void 0;l.has(f)||(l.add(f),s.push(u))}return s}spec(t){return this.records.get(t)?.spec}specDynamic(t){return this.records.get(t)?.spec}snapshot(t){const n=(u,f)=>{const p=this.records.get(u);if(p?.spec===void 0||f.has(u))return;const m=new Set(f);m.add(u);const v=new Set(this.entriesOfSlot(u)),w=[...this.records.entries()].filter(([,y])=>y.spec!==void 0&&y.parent===u).flatMap(([y])=>{const x=n(y,m);return x===void 0?[]:[x]});return{type:"slot",name:u,kind:p.spec.kind,scope:p.spec.scope,...p.declaredBy===void 0?{}:{declaredBy:p.declaredBy},occupants:p.entries.map(y=>({...y.registrant===void 0?{}:{registrant:y.registrant},...y.options.key===void 0?{}:{key:y.options.key},...y.options.id===void 0?{}:{id:y.options.id},...y.options.order===void 0?{}:{order:y.options.order},priority:y.options.priority??0,active:v.has(y)})),children:w}},r=u=>{const f=this.factories.get(u)?.definition;if(f===void 0)return;const p=`factory:${u}`,m=[...this.records.entries()].filter(([,v])=>v.spec!==void 0&&v.parent===p).flatMap(([v])=>{const w=n(v,new Set([p]));return w===void 0?[]:[w]});return{type:"factory",name:u,scope:f.scope,...f.registrant===void 0?{}:{registrant:f.registrant},children:m}};if(t!==void 0){const u=t.startsWith("factory:")?r(t.slice(8)):n(t,new Set);return u===void 0?[]:[u]}const s=[...this.records.entries()].filter(([,u])=>u.spec!==void 0&&u.parent===void 0).flatMap(([u])=>{const f=n(u,new Set);return f===void 0?[]:[f]}),l=[...this.factories.keys()].flatMap(u=>{const f=r(u);return f===void 0?[]:[f]});return[...s,...l]}declarationEpoch(t){return this.records.get(t)?.declarationEpoch??0}subscribe(t,n){const r=this.record(t);return r.listeners.add(n),()=>{r.listeners.delete(n)}}subscribeDeclaration(t,n){const r=this.record(t);return r.declarationListeners.add(n),()=>{r.declarationListeners.delete(n)}}getVersion(t){return this.records.get(t)?.version??0}onMutate(t){return this.mutateListeners.add(t),()=>{this.mutateListeners.delete(t)}}reportEntryError(t,n,r,s){if(s.abdicate){if(this.abdicated.has(n))return;this.abdicated.add(n);const l=this.records.get(t);l!==void 0&&this.markDirty(t,l)}for(const l of[...this.entryErrorListeners])l(t,n,r,{abdicated:s.abdicate})}reportFactoryError(t,n,r){for(const s of[...this.entryErrorListeners])s(`factory:${t}`,n,r,{abdicated:!1})}onEntryError(t){return this.entryErrorListeners.add(t),()=>{this.entryErrorListeners.delete(t)}}releaseEntry(t){if(t.store!==void 0&&typeof t.store!="function"){const n=this.handleScopes.get(t.store);n&&--n.count===0&&this.handleScopes.delete(t.store)}this.releaseChildren(t.children)}releaseChildren(t){if(t!==void 0)for(const n of Object.keys(t)){const r=this.records.get(n);if(!r)continue;const s=r.entries;r.spec=void 0,r.declaredBy=void 0,r.parent=void 0,r.declarationEpoch+=1,r.entries=ua,this.markDirty(n,r),this.notifyDeclaration(r);for(const l of s)this.releaseEntry(l)}}record(t){let n=this.records.get(t);return n||(n={spec:void 0,declaredBy:void 0,parent:void 0,declarationEpoch:0,entries:ua,version:0,listeners:new Set,declarationListeners:new Set},this.records.set(t,n)),n}factoryRecord(t){let n=this.factories.get(t);return n===void 0&&(n={definition:void 0,version:0,listeners:new Set},this.factories.set(t,n)),n}markFactoryDirty(t){t.version+=1,queueMicrotask(()=>{for(const n of[...t.listeners])n()})}markDirty(t,n){n.version+=1;for(const r of[...this.mutateListeners])r(t);this.dirty.add(n),this.flushScheduled||(this.flushScheduled=!0,queueMicrotask(()=>{this.flush()}))}notifyDeclaration(t){for(const n of[...t.declarationListeners])n()}flush(){this.flushScheduled=!1;const t=[...this.dirty];this.dirty.clear();for(const n of t)for(const r of[...n.listeners])r()}}const pw=Object.freeze(Object.defineProperty({__proto__:null,SlotCore:hw,SlotOwnershipError:dw,StaleAuthorizationError:uw,resolveSlotLabel:fw,standardHookPropName:cw},Symbol.toStringTag,{value:"Module"}));async function il(e){if(navigator.clipboard?.writeText)try{return await navigator.clipboard.writeText(e),!0}catch{return!1}const t=typeof document.execCommand=="function"?document.execCommand.bind(document):void 0;if(t===void 0)return!1;const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style.position="fixed",n.style.left="-9999px",document.body.appendChild(n),n.select();try{return t("copy")}catch{return!1}finally{n.remove()}}const mw=1e3;function qs(e){const[t,n]=k.useState(!1),r=k.useCallback(()=>{t||(async()=>{try{const s=typeof e=="function"?await e():e;if(!await il(s))return;n(!0),window.setTimeout(()=>n(!1),mw)}catch{return}})()},[t,e]);return{copied:t,onCopy:r}}function cf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=cf(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function pe(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=cf(e))&&(r&&(r+=" "),r+=t);return r}const gw="_dot_1i08g_2",vw="_spinner_1i08g_37",ww="_spinnerMotion_1i08g_42",yw="_spinnerTrack_1i08g_47",xw="_spinnerArc_1i08g_48",_w="_step_1i08g_99",Xo={dot:gw,spinner:vw,spinnerMotion:ww,spinnerTrack:yw,spinnerArc:xw,step:_w},uf=({size:e=16,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[c.jsx("path",{d:"M8.16675 2.50127C8.53391 2.50127 8.83161 2.7992 8.83179 3.16631C8.83179 3.53358 8.53402 3.83135 8.16675 3.83135H5.83374C4.72836 3.83135 3.83197 4.72797 3.83179 5.8333V14.1663C3.83179 15.2718 4.72825 16.1683 5.83374 16.1683H14.1667C15.2722 16.1683 16.1687 15.2718 16.1687 14.1663V11.8333C16.1689 11.4662 16.4666 11.1683 16.8337 11.1683C17.2007 11.1684 17.4986 11.4663 17.4988 11.8333V14.1663C17.4988 16.0063 16.0068 17.4983 14.1667 17.4983H5.83374C3.99371 17.4983 2.50171 16.0063 2.50171 14.1663V5.8333C2.50189 3.99343 3.99382 2.50127 5.83374 2.50127H8.16675Z"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.4265 3.10381C14.3857 2.15908 15.9276 2.16466 16.8796 3.11651C17.8339 4.07106 17.8372 5.61827 16.8865 6.57647L11.7244 11.7786C11.3005 12.2058 10.7622 12.5027 10.1746 12.6321L7.78784 13.1565C7.20661 13.2842 6.6889 12.766 6.81714 12.1849L7.34253 9.80498C7.47294 9.21426 7.77197 8.67391 8.20288 8.24932L13.4265 3.10381ZM15.9392 4.05694C15.5038 3.62172 14.7988 3.61907 14.3601 4.05108L9.13647 9.19659C8.88861 9.44077 8.71644 9.75138 8.64136 10.0911L8.28979 11.6849L9.88843 11.3333C10.2265 11.2588 10.5362 11.0878 10.78 10.8421L15.9421 5.63897C16.3769 5.20075 16.3756 4.49352 15.9392 4.05694Z"})]}),df=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5 6.75H11",stroke:"currentColor"}),c.jsx("path",{d:"M5 9H8",stroke:"currentColor"}),c.jsx("path",{d:"M2.37067 11.2497C1.5872 9.89252 1.32042 8.29798 1.61945 6.7597C1.91847 5.22141 2.76317 3.84293 3.99801 2.87809C5.23285 1.91325 6.7747 1.427 8.33964 1.50888C9.90458 1.59076 11.3873 2.23526 12.5147 3.32369C13.6422 4.41232 14.3384 5.8717 14.4751 7.43304C14.6118 8.99438 14.1797 10.5525 13.2585 11.8205C12.3372 13.0885 10.9889 13.9809 9.4617 14.3334C8.18666 14.6277 6.8587 14.529 5.64964 14.0601C5.17095 13.8745 4.76937 13.4929 4.26509 13.3963C3.67389 13.2832 2.95232 13.5595 2.0377 14.3334",stroke:"currentColor"})]}),B0=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M7.99986 14.0887C11.3626 14.0887 14.0886 11.3627 14.0886 7.99998C14.0886 4.63727 11.3626 1.91125 7.99986 1.91125C4.63715 1.91125 1.91113 4.63727 1.91113 7.99998C1.91113 11.3627 4.63715 14.0887 7.99986 14.0887Z",stroke:"currentColor"}),c.jsx("path",{d:"M2.34619 8H13.6538",stroke:"currentColor",strokeLinecap:"square"}),c.jsx("path",{d:"M7.99976 14.0889C9.23509 14.0889 10.1743 11.3629 10.1743 8.00006C10.1743 4.63739 9.23509 1.91138 7.99976 1.91138",stroke:"currentColor"}),c.jsx("path",{d:"M7.99973 14.0889C6.76445 14.0889 5.8252 11.3629 5.8252 8.00006C5.8252 4.63739 6.76445 1.91138 7.99973 1.91138",stroke:"currentColor"})]}),Z0=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.67398 4.25061L1.36094 7.86484C1.29085 7.9413 1.29085 8.05866 1.36094 8.13513L4.67398 11.7494",stroke:"currentColor"}),c.jsx("path",{d:"M11.3262 4.25061L14.6392 7.86484C14.7093 7.9413 14.7093 8.05866 14.6392 8.13513L11.3262 11.7494",stroke:"currentColor"}),c.jsx("path",{d:"M9.56222 3.62573L6.43774 12.3743",stroke:"currentColor"})]}),W0=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.9375 5.90295H11.0625",stroke:"currentColor"}),c.jsx("path",{d:"M4.9375 9.02991H8.27841",stroke:"currentColor"}),c.jsx("path",{d:"M12.5 1.32617C13.3039 1.32617 14 1.95171 14 2.77637V13.2246C13.9996 14.0489 13.3036 14.6738 12.5 14.6738H3.5C2.69637 14.6738 2.00042 14.0489 2 13.2246V2.77637C2 1.95171 2.69613 1.32617 3.5 1.32617H12.5ZM3.5 2.32617C3.1993 2.32617 3 2.55186 3 2.77637V13.2246C3.00044 13.4489 3.19963 13.6738 3.5 13.6738H12.5C12.8004 13.6738 12.9996 13.4489 13 13.2246V2.77637C13 2.55186 12.8007 2.32617 12.5 2.32617H3.5Z",fill:"currentColor"})]}),sl=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.50439 3.11059C1.50439 2.55831 1.95211 2.1106 2.50439 2.1106H5.43389C5.67773 2.1106 5.91318 2.19969 6.09593 2.36113L7.71649 3.79265C7.89924 3.95409 8.1347 4.04319 8.3785 4.04319H13.4958C14.0481 4.04319 14.4958 4.4909 14.4958 5.04319V12.8894C14.4958 13.4417 14.0481 13.8894 13.4958 13.8894H2.50439C1.95211 13.8894 1.50439 13.4417 1.50439 12.8894V4.04319V3.11059Z",stroke:"currentColor"}),c.jsx("path",{d:"M1.50439 7.5H14.4958",stroke:"currentColor"})]}),ff="M6.80132 2.14853C7.70663 1.80917 8.70422 1.80919 9.60952 2.14859L14.1296 3.84317V7.11961C14.1296 11.6089 10.7615 13.5975 8.20543 14.5779C5.64931 13.5975 2.28052 11.6089 2.28052 7.11961V3.84317L6.80132 2.14853Z",Y=1,Q=1.3,Cw=e=>c.jsx(uf,{...e}),bw=e=>c.jsx(uf,{...e}),hf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.58727 11.8586C9.55061 11.8586 11.9529 9.45637 11.9529 6.49304C11.9529 3.5297 9.55061 1.12744 6.58727 1.12744C3.62394 1.12744 1.22168 3.5297 1.22168 6.49304C1.22168 9.45637 3.62394 11.8586 6.58727 11.8586Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.2991 10.3933L14.7783 14.8725",stroke:"currentColor"})]}),kw=e=>c.jsx(hf,{...e,strokeWidth:Y}),Sw=e=>c.jsx(hf,{...e,strokeWidth:Q}),jw=e=>c.jsx(B0,{...e,strokeWidth:Y}),Ew=e=>c.jsx(B0,{...e,strokeWidth:Q}),pf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 9.75012C8.9665 9.75012 9.75 8.96662 9.75 8.00012C9.75 7.03362 8.9665 6.25012 8 6.25012C7.0335 6.25012 6.25 7.03362 6.25 8.00012C6.25 8.96662 7.0335 9.75012 8 9.75012Z",stroke:"currentColor"}),c.jsx("path",{d:"M13.0107 7.79377C12.9505 7.89401 12.9205 7.94413 12.9205 7.99951C12.9205 8.0549 12.9505 8.10502 13.0106 8.20528L13.9849 9.83006C14.045 9.93029 14.0751 9.9804 14.0751 10.0358C14.0751 10.0911 14.045 10.1413 13.9849 10.2415L13.0037 11.8777C12.9468 11.9726 12.9184 12.0201 12.8725 12.0461C12.8267 12.072 12.7713 12.072 12.6607 12.072H10.6704C10.5598 12.072 10.5045 12.072 10.4586 12.098C10.4128 12.1239 10.3843 12.1714 10.3274 12.2662L9.33825 13.9142C9.28133 14.009 9.25287 14.0564 9.20703 14.0823C9.16118 14.1083 9.10588 14.1083 8.99529 14.1083H7.00486C6.89426 14.1083 6.83896 14.1083 6.79312 14.0823C6.74727 14.0564 6.71881 14.009 6.6619 13.9142L5.67273 12.2662C5.61581 12.1714 5.58735 12.1239 5.54151 12.098C5.49566 12.072 5.44036 12.072 5.32977 12.072H3.33945C3.2288 12.072 3.17347 12.072 3.12761 12.0461C3.08176 12.0201 3.0533 11.9726 2.9964 11.8777L2.0152 10.2415C1.9551 10.1413 1.92505 10.0911 1.92505 10.0358C1.92505 9.9804 1.9551 9.93029 2.0152 9.83006L2.98951 8.20528C3.04963 8.10502 3.07969 8.0549 3.07969 7.99951C3.07968 7.94413 3.04961 7.89401 2.98946 7.79377L2.01529 6.17011C1.95514 6.06987 1.92507 6.01975 1.92507 5.96437C1.92506 5.90899 1.95512 5.85886 2.01524 5.7586L2.9964 4.1224C3.0533 4.0275 3.08176 3.98005 3.12761 3.95408C3.17347 3.92811 3.2288 3.92811 3.33945 3.92811H5.32977C5.44036 3.92811 5.49566 3.92811 5.54151 3.90216C5.58735 3.87621 5.61581 3.82879 5.67273 3.73397L6.6619 2.08599C6.71881 1.99116 6.74727 1.94375 6.79312 1.9178C6.83896 1.89185 6.89426 1.89185 7.00486 1.89185H8.99529C9.10588 1.89185 9.16118 1.89185 9.20703 1.9178C9.25287 1.94375 9.28133 1.99116 9.33825 2.08599L10.3274 3.73397C10.3843 3.82879 10.4128 3.87621 10.4586 3.90216C10.5045 3.92811 10.5598 3.92811 10.6704 3.92811H12.6607C12.7713 3.92811 12.8267 3.92811 12.8725 3.95408C12.9184 3.98005 12.9468 4.0275 13.0037 4.1224L13.9849 5.7586C14.045 5.85886 14.0751 5.90899 14.0751 5.96437C14.0751 6.01975 14.045 6.06987 13.9849 6.17011L13.0107 7.79377Z",stroke:"currentColor",strokeMiterlimit:"10"})]}),Mw=e=>c.jsx(pf,{...e,strokeWidth:Y}),Iw=e=>c.jsx(pf,{...e,strokeWidth:Q}),mf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.5 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M5.5 1.5V14.5",stroke:"currentColor"})]}),gf=e=>c.jsx(mf,{...e,strokeWidth:Y}),Ow=e=>c.jsx(mf,{...e,strokeWidth:Q}),vf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3 9C3.55228 9 4 8.55228 4 8C4 7.44772 3.55228 7 3 7C2.44772 7 2 7.44772 2 8C2 8.55228 2.44772 9 3 9Z",fill:"currentColor"}),c.jsx("path",{d:"M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z",fill:"currentColor"}),c.jsx("path",{d:"M13 9C13.5523 9 14 8.55228 14 8C14 7.44772 13.5523 7 13 7C12.4477 7 12 7.44772 12 8C12 8.55228 12.4477 9 13 9Z",fill:"currentColor"})]}),Lw=e=>c.jsx(vf,{...e,strokeWidth:Y}),Tw=e=>c.jsx(vf,{...e,strokeWidth:Q}),wf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 2V14",stroke:"currentColor"}),c.jsx("path",{d:"M2 8H14",stroke:"currentColor"})]}),yf=e=>c.jsx(wf,{...e,strokeWidth:Y}),zw=e=>c.jsx(wf,{...e,strokeWidth:Q}),xf=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M2.25 8.5L5.49732 11.7473C5.90519 12.1552 6.57263 12.1344 6.95426 11.7018L13.75 4",stroke:"currentColor"})}),xi=e=>c.jsx(xf,{...e,strokeWidth:Y}),Pw=e=>c.jsx(xf,{...e,strokeWidth:Q}),_f=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.01503 8.0001L5.6964 8.0001C6.41913 8.0001 6.78049 8.0001 7.12115 7.91951C7.4232 7.84804 7.71233 7.73014 7.97821 7.57C8.27809 7.38939 8.5364 7.13669 9.05303 6.63129L11.3281 4.40564",stroke:"currentColor"}),c.jsx("path",{d:"M1.01221 7.9999L5.6964 7.9999C6.41913 7.9999 6.78049 7.9999 7.12115 8.08049C7.4232 8.15196 7.71233 8.26986 7.97821 8.43C8.27809 8.61061 8.5364 8.86331 9.05303 9.36871L11.3281 11.5944",stroke:"currentColor"}),c.jsx("circle",{cx:"12.4502",cy:"3.3079",r:"1.56962",stroke:"currentColor"}),c.jsx("circle",{cx:"12.4502",cy:"12.6921",r:"1.56962",stroke:"currentColor"})]}),Nw=e=>c.jsx(_f,{...e,strokeWidth:Y}),Aw=e=>c.jsx(_f,{...e,strokeWidth:Q}),Cf=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M4 6L7.29289 9.29289C7.68342 9.68342 8.31658 9.68342 8.70711 9.29289L12 6",stroke:"currentColor"})}),bf=e=>c.jsx(Cf,{...e,strokeWidth:Y}),Rw=e=>c.jsx(Cf,{...e,strokeWidth:Q}),kf=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M10 4L6.70711 7.29289C6.31658 7.68342 6.31658 8.31658 6.70711 8.70711L10 12",stroke:"currentColor"})}),Sf=e=>c.jsx(kf,{...e,strokeWidth:Y}),Fw=e=>c.jsx(kf,{...e,strokeWidth:Q}),jf=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M6 12L9.29289 8.70711C9.68342 8.31658 9.68342 7.68342 9.29289 7.29289L6 4",stroke:"currentColor"})}),Dw=e=>c.jsx(jf,{...e,strokeWidth:Y}),$w=e=>c.jsx(jf,{...e,strokeWidth:Q}),Ef=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M5.5 4.5C5.5 4.40714 5.52586 4.31612 5.57467 4.23713C5.62349 4.15815 5.69334 4.09431 5.77639 4.05279C5.85945 4.01126 5.95242 3.99368 6.0449 4.00202C6.13738 4.01036 6.22572 4.04429 6.3 4.1L10.967 7.6C11.0291 7.64657 11.0795 7.70697 11.1142 7.77639C11.1489 7.84582 11.167 7.92238 11.167 8C11.167 8.07762 11.1489 8.15418 11.1142 8.22361C11.0795 8.29303 11.0291 8.35343 10.967 8.4L6.3 11.9C6.22572 11.9557 6.13738 11.9896 6.0449 11.998C5.95242 12.0063 5.85945 11.9887 5.77639 11.9472C5.69334 11.9057 5.62349 11.8419 5.57467 11.7629C5.52586 11.6839 5.5 11.5929 5.5 11.5V4.5Z",fill:"currentColor"})}),Hw=e=>c.jsx(Ef,{...e,strokeWidth:Y}),Vw=e=>c.jsx(Ef,{...e,strokeWidth:Q}),Mf=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12 10L8.70711 6.70711C8.31658 6.31658 7.68342 6.31658 7.29289 6.70711L4 10",stroke:"currentColor"})}),If=e=>c.jsx(Mf,{...e,strokeWidth:Y}),Bw=e=>c.jsx(Mf,{...e,strokeWidth:Q}),Of=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.5 2.5L13.5 13.5",stroke:"currentColor"}),c.jsx("path",{d:"M13.5 2.5L2.5 13.5",stroke:"currentColor"})]}),al=e=>c.jsx(Of,{...e,strokeWidth:Y}),Zw=e=>c.jsx(Of,{...e,strokeWidth:Q}),Lf=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.5 3.5L12.5 12.5",stroke:"currentColor"}),c.jsx("path",{d:"M12.5 3.5L3.5 12.5",stroke:"currentColor"})]}),U0=e=>c.jsx(Lf,{...e,strokeWidth:Y}),Ww=e=>c.jsx(Lf,{...e,strokeWidth:Q}),Tf=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8A7 7 0 1 1 15 8ZM6.409 10.652L5.348 9.591L6.939 8L5.348 6.409L6.409 5.348L8 6.939L9.591 5.348L10.652 6.409L9.061 8L10.652 9.591L9.591 10.652L8 9.061Z",fill:"currentColor"})}),Uw=e=>c.jsx(Tf,{...e,strokeWidth:Y}),qw=e=>c.jsx(Tf,{...e,strokeWidth:Q}),zf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("rect",{x:"1.52075",y:"4.07373",width:"10.3932",height:"10.3932",rx:"2",stroke:"currentColor"}),c.jsx("path",{d:"M11.9792 1.53296C13.36 1.53296 14.4792 2.65225 14.4792 4.03296V9.42847C14.4792 10.3756 13.9521 11.1987 13.1755 11.6228V10.3298C13.3652 10.0787 13.4792 9.7674 13.4792 9.42847V4.03296C13.4792 3.20453 12.8077 2.53296 11.9792 2.53296H6.58374C6.27966 2.53301 5.99684 2.6235 5.7605 2.77905H4.42358C4.85652 2.03463 5.66056 1.53304 6.58374 1.53296H11.9792Z",fill:"currentColor"})]}),q0=e=>c.jsx(zf,{...e,strokeWidth:Y}),Gw=e=>c.jsx(zf,{...e,strokeWidth:Q}),Pf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M14.5001 8C14.5 9.28552 14.1188 10.5422 13.4045 11.611C12.6903 12.6799 11.6752 13.5129 10.4875 14.0049C9.29982 14.4968 7.99295 14.6255 6.73212 14.3747C5.4713 14.124 4.31314 13.505 3.4041 12.596C2.49514 11.687 1.87614 10.5288 1.62537 9.26798C1.37459 8.00716 1.50331 6.70028 1.99525 5.51261C2.48719 4.32494 3.32025 3.30981 4.3891 2.59557C5.45795 1.88134 6.71458 1.50008 8.0001 1.5C9.9001 1.5 11.7001 2.3 13.0001 3.6L14.5001 5.1",stroke:"currentColor"}),c.jsx("path",{d:"M14.4999 1.5V5.1H10.8999",stroke:"currentColor"})]}),Nf=e=>c.jsx(Pf,{...e,strokeWidth:Y}),Kw=e=>c.jsx(Pf,{...e,strokeWidth:Q}),Af=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M13.537 8.12098L12.3983 12.8455C12.1818 13.7438 11.378 14.3769 10.454 14.3769L9.35595 14.3769H7.43799H5.16577C3.50892 14.3769 2.16577 13.0337 2.16577 11.3769V7.88668C2.16577 7.33439 2.61349 6.88668 3.16577 6.88668H4.02665C5.84943 6.88668 7.38083 3.28711 7.67689 2.54578C7.71259 2.45639 7.73501 2.36373 7.77922 2.27824C7.86506 2.11221 8.08228 1.87578 8.59039 2.07775C10.3291 2.76886 9.23144 6.04071 8.96955 6.75058C8.94502 6.81707 8.99495 6.88668 9.06581 6.88668H12.5648C13.2119 6.88668 13.6886 7.49192 13.537 8.12098Z",stroke:"currentColor"})}),Yw=e=>c.jsx(Af,{...e,strokeWidth:Y}),Jw=e=>c.jsx(Af,{...e,strokeWidth:Q}),Rf=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M13.537 8.12098L12.3983 12.8455C12.1818 13.7438 11.378 14.3769 10.454 14.3769L9.35595 14.3769H7.43799H5.16577C3.50892 14.3769 2.16577 13.0337 2.16577 11.3769V7.88668C2.16577 7.33439 2.61349 6.88668 3.16577 6.88668H4.02665C5.84943 6.88668 7.38083 3.28711 7.67689 2.54578C7.71259 2.45639 7.73501 2.36373 7.77922 2.27824C7.86506 2.11221 8.08228 1.87578 8.59039 2.07775C10.3291 2.76886 9.23144 6.04071 8.96955 6.75058C8.94502 6.81707 8.99495 6.88668 9.06581 6.88668H12.5648C13.2119 6.88668 13.6886 7.49192 13.537 8.12098Z",fill:"currentColor",stroke:"currentColor"})}),Qw=e=>c.jsx(Rf,{...e,strokeWidth:Y}),Xw=e=>c.jsx(Rf,{...e,strokeWidth:Q}),Ff=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M2.46302 8.06749L3.60171 3.34299C3.81822 2.44467 4.62196 1.81162 5.546 1.8116L6.64406 1.81158L8.56202 1.81158L10.8342 1.81158C12.4911 1.81158 13.8342 3.15473 13.8342 4.81158L13.8342 8.3018C13.8342 8.85408 13.3865 9.3018 12.8342 9.3018L11.9734 9.3018C10.1506 9.3018 8.61918 12.9014 8.32311 13.6427C8.28741 13.7321 8.26499 13.8247 8.22078 13.9102C8.13494 14.0763 7.91772 14.3127 7.40961 14.1107C5.67089 13.4196 6.76856 10.1478 7.03045 9.43789C7.05498 9.37141 7.00505 9.3018 6.93419 9.3018L3.43519 9.3018C2.78811 9.3018 2.31141 8.69656 2.46302 8.06749Z",stroke:"currentColor"})}),ey=e=>c.jsx(Ff,{...e,strokeWidth:Y}),ty=e=>c.jsx(Ff,{...e,strokeWidth:Q}),Df=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M2.46302 8.06749L3.60171 3.34299C3.81822 2.44467 4.62196 1.81162 5.546 1.8116L6.64406 1.81158L8.56202 1.81158L10.8342 1.81158C12.4911 1.81158 13.8342 3.15473 13.8342 4.81158L13.8342 8.3018C13.8342 8.85408 13.3865 9.3018 12.8342 9.3018L11.9734 9.3018C10.1506 9.3018 8.61918 12.9014 8.32311 13.6427C8.28741 13.7321 8.26499 13.8247 8.22078 13.9102C8.13494 14.0763 7.91772 14.3127 7.40961 14.1107C5.67089 13.4196 6.76856 10.1478 7.03045 9.43789C7.05498 9.37141 7.00505 9.3018 6.93419 9.3018L3.43519 9.3018C2.78811 9.3018 2.31141 8.69656 2.46302 8.06749Z",fill:"currentColor",stroke:"currentColor"})}),ny=e=>c.jsx(Df,{...e,strokeWidth:Y}),ry=e=>c.jsx(Df,{...e,strokeWidth:Q}),$f=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M14.1256 7.58723C14.3483 7.81942 14.3482 8.18589 14.1254 8.41799L8.6646 14.1077C8.53985 14.2377 8.32031 14.1494 8.32031 13.9692L8.32035 10.2039C8.32035 10.1943 8.31534 10.1864 8.30592 10.1849C8.08306 10.148 5.30067 9.7729 1.50993 13.2904C1.49711 13.3023 1.47561 13.2943 1.4757 13.2768C1.49273 9.87168 3.42001 5.07166 8.29999 5.05835C8.31103 5.05832 8.32035 5.04937 8.32035 5.03832L8.32031 2.03109C8.32031 1.85088 8.53993 1.76259 8.66466 1.89266L14.1256 7.58723Z",stroke:"currentColor"})}),oy=e=>c.jsx($f,{...e,strokeWidth:Y}),iy=e=>c.jsx($f,{...e,strokeWidth:Q}),Hf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.15479 4.91687H9.84543",stroke:"currentColor"}),c.jsx("path",{d:"M11.8798 9.55347V2.71525C11.8798 2.37416 11.564 2.09766 11.1744 2.09766H4.82577C4.43618 2.09766 4.12036 2.37416 4.12036 2.71525V9.55347",stroke:"currentColor"}),c.jsx("path",{d:"M2.28735 13.8022V8.84792C2.28735 8.77514 2.36262 8.72673 2.42884 8.75693L13.2936 13.7112C13.3914 13.7558 13.3596 13.9022 13.2521 13.9022H2.38735C2.33213 13.9022 2.28735 13.8575 2.28735 13.8022Z",stroke:"currentColor"}),c.jsx("path",{d:"M7.46929 10.979L13.5783 8.7416C13.6435 8.7177 13.7126 8.76601 13.7126 8.83551L13.7125 13.8022C13.7125 13.8574 13.6678 13.9022 13.6125 13.9022H7.99999",stroke:"currentColor"}),c.jsx("path",{d:"M6.15479 7.2395H9.05644",stroke:"currentColor"})]}),sy=e=>c.jsx(Hf,{...e,strokeWidth:Y}),ay=e=>c.jsx(Hf,{...e,strokeWidth:Q}),Vf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8.85596 2.69971H4.19971C3.37141 2.69971 2.69992 3.37146 2.69971 4.19971V11.8003C2.69992 12.6285 3.37141 13.3003 4.19971 13.3003H11.8003C12.6283 13.2999 13.3001 12.6283 13.3003 11.8003V7.89893H14.3003V11.8003C14.3001 13.1806 13.1806 14.2999 11.8003 14.3003H4.19971C2.81913 14.3003 1.69992 13.1808 1.69971 11.8003V4.19971C1.69992 2.81918 2.81913 1.69971 4.19971 1.69971H8.85596V2.69971Z",fill:"currentColor"}),c.jsx("path",{d:"M7.7849 8.23878L13.888 2.13574",stroke:"currentColor"})]}),ly=e=>c.jsx(Vf,{...e,strokeWidth:Y}),cy=e=>c.jsx(Vf,{...e,strokeWidth:Q}),Bf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M10.2854 5.71481C12.9673 8.39663 14.1182 11.5938 12.8562 12.8559C11.5942 14.1179 8.39706 12.9669 5.71518 10.2851C3.03333 7.60323 1.88236 4.40608 3.14441 3.14403C4.40644 1.882 7.6036 3.03297 10.2854 5.71481Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.2854 10.2851C7.6036 12.9669 4.40644 14.1179 3.14441 12.8559C1.88236 11.5938 3.03333 8.39663 5.71518 5.71481C8.39706 3.03297 11.5942 1.882 12.8562 3.14403C14.1182 4.40608 12.9673 7.60323 10.2854 10.2851Z",stroke:"currentColor"}),c.jsx("path",{d:"M8.86291 8.0002C8.86291 8.47549 8.47762 8.86087 8.00224 8.86087C7.52694 8.86087 7.1416 8.47549 7.1416 8.0002C7.1416 7.52485 7.52694 7.13953 8.00224 7.13953C8.47762 7.13953 8.86291 7.52485 8.86291 8.0002Z",fill:"currentColor"})]}),uy=e=>c.jsx(Bf,{...e,strokeWidth:Y}),dy=e=>c.jsx(Bf,{...e,strokeWidth:Q}),Zf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.51867 12.3282C7.29816 12.6011 8.16475 12.6514 9.02269 12.4216C9.57879 12.2726 10.0784 12.0185 10.5087 11.6888C10.7819 12.0555 11.1606 12.3304 11.5913 12.4805C10.9688 13.029 10.2149 13.4478 9.35911 13.6771C8.13946 14.0038 6.90632 13.8971 5.82126 13.4533C6.15821 13.1562 6.4021 12.7652 6.51867 12.3282ZM9.17629 2.89409C11.1101 3.34433 12.739 4.81872 13.2889 6.87043C13.4219 7.3665 13.4811 7.8649 13.4774 8.35466C13.0924 8.13213 12.6422 8.01837 12.1741 8.05276L12.1711 8.05257C12.1539 7.77199 12.109 7.48889 12.0334 7.20684C11.6363 5.72533 10.5048 4.6372 9.13549 4.22844C9.25559 3.87667 9.29214 3.49087 9.22309 3.09892C9.2108 3.02922 9.19451 2.96108 9.17629 2.89409ZM4.7311 3.89107L4.78302 4.11879C4.87648 4.4488 5.04146 4.74263 5.25579 4.98896C3.98078 6.01355 3.35848 7.72904 3.8089 9.41059C3.81828 9.44559 3.82866 9.48025 3.83885 9.51479C3.38217 9.61268 2.98548 9.84137 2.68107 10.1556C2.63414 10.022 2.5897 9.88632 2.55244 9.74726C1.93301 7.43489 2.86717 5.07173 4.71504 3.76697L4.7311 3.89107Z",fill:"currentColor"}),c.jsx("path",{d:"M7.99136 5.28105C8.87501 5.28105 9.59136 4.56471 9.59136 3.68105C9.59136 2.7974 8.87501 2.08105 7.99136 2.08105C7.1077 2.08105 6.39136 2.7974 6.39136 3.68105C6.39136 4.56471 7.1077 5.28105 7.99136 5.28105Z",stroke:"currentColor"}),c.jsx("path",{d:"M3.94009 12.9417C4.82374 12.9417 5.54009 12.2254 5.54009 11.3417C5.54009 10.458 4.82374 9.7417 3.94009 9.7417C3.05643 9.7417 2.34009 10.458 2.34009 11.3417C2.34009 12.2254 3.05643 12.9417 3.94009 12.9417Z",stroke:"currentColor"}),c.jsx("path",{d:"M12.0851 12.9417C12.9688 12.9417 13.6851 12.2254 13.6851 11.3417C13.6851 10.458 12.9688 9.7417 12.0851 9.7417C11.2015 9.7417 10.4851 10.458 10.4851 11.3417C10.4851 12.2254 11.2015 12.9417 12.0851 12.9417Z",stroke:"currentColor"})]}),fy=e=>c.jsx(Zf,{...e,strokeWidth:Y}),hy=e=>c.jsx(Zf,{...e,strokeWidth:Q}),py=e=>c.jsx(W0,{...e,strokeWidth:Y}),my=e=>c.jsx(W0,{...e,strokeWidth:Q}),Wf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5 2.5H3.5C3.23478 2.5 2.98043 2.60536 2.79289 2.79289C2.60536 2.98043 2.5 3.23478 2.5 3.5V13.5C2.5 13.7652 2.60536 14.0196 2.79289 14.2071C2.98043 14.3946 3.23478 14.5 3.5 14.5H12.5C12.7652 14.5 13.0196 14.3946 13.2071 14.2071C13.3946 14.0196 13.5 13.7652 13.5 13.5V3.5C13.5 3.23478 13.3946 2.98043 13.2071 2.79289C13.0196 2.60536 12.7652 2.5 12.5 2.5H11",stroke:"currentColor"}),c.jsx("path",{d:"M8 0.5V7.5",stroke:"currentColor"}),c.jsx("path",{d:"M5.5 5L8 7.5L10.5 5",stroke:"currentColor"}),c.jsx("path",{d:"M5.5 11H10.5",stroke:"currentColor"})]}),gy=e=>c.jsx(Wf,{...e,strokeWidth:Y}),vy=e=>c.jsx(Wf,{...e,strokeWidth:Q}),Uf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.59961 9.40051C6.82779 9.6334 7.10015 9.81842 7.40074 9.94472C7.70132 10.071 8.02409 10.1361 8.35013 10.1361C8.67618 10.1361 8.99894 10.071 9.29953 9.94472C9.60011 9.81842 9.87247 9.6334 10.1007 9.40051L12.9015 6.59967C13.3658 6.13541 13.6266 5.50572 13.6266 4.84915C13.6266 4.19258 13.3658 3.56289 12.9015 3.09863C12.4372 2.63436 11.8075 2.37354 11.151 2.37354C10.4944 2.37354 9.86472 2.63436 9.40045 3.09863L9.05034 3.44873",stroke:"currentColor"}),c.jsx("path",{d:"M9.40051 6.59959C9.17233 6.3667 8.89997 6.18169 8.59939 6.05538C8.2988 5.92907 7.97603 5.86401 7.64999 5.86401C7.32395 5.86401 7.00118 5.92907 6.70059 6.05538C6.40001 6.18169 6.12765 6.3667 5.89946 6.59959L3.09863 9.40043C2.63436 9.8647 2.37354 10.4944 2.37354 11.151C2.37354 11.8075 2.63436 12.4372 3.09863 12.9015C3.56289 13.3657 4.19258 13.6266 4.84915 13.6266C5.50572 13.6266 6.13541 13.3657 6.59967 12.9015L6.94978 12.5514",stroke:"currentColor"})]}),wy=e=>c.jsx(Uf,{...e,strokeWidth:Y}),yy=e=>c.jsx(Uf,{...e,strokeWidth:Q}),qf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M11.7256 2.77441C12.5538 2.77469 13.2256 3.44616 13.2256 4.27441V10.1416H12.2256V4.27441C12.2256 3.99844 12.0015 3.77469 11.7256 3.77441H5.7207V2.77441H11.7256Z",fill:"currentColor"}),c.jsx("path",{d:"M2.77441 13.2255L12.3756 3.62427",stroke:"currentColor"})]}),xy=e=>c.jsx(qf,{...e,strokeWidth:Y}),_y=e=>c.jsx(qf,{...e,strokeWidth:Q}),Gf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.98486 2.95374H14.0151",stroke:"currentColor"}),c.jsx("path",{d:"M1.98486 6.31787H14.0151",stroke:"currentColor"}),c.jsx("path",{d:"M1.98486 9.68213H14.0151",stroke:"currentColor"}),c.jsx("path",{d:"M1.98486 13.0463H8.4627",stroke:"currentColor"})]}),Cy=e=>c.jsx(Gf,{...e,strokeWidth:Y}),by=e=>c.jsx(Gf,{...e,strokeWidth:Q}),Kf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.28149 3.88831H14.7187",stroke:"currentColor"}),c.jsx("path",{d:"M5.41602 3.88833V2.47962C5.41602 2.29282 5.52492 2.11366 5.71876 1.98157C5.9126 1.84948 6.17551 1.77527 6.44964 1.77527H9.55053C9.82466 1.77527 10.0876 1.84948 10.2814 1.98157C10.4753 2.11366 10.5842 2.29282 10.5842 2.47962V3.88833",stroke:"currentColor"}),c.jsx("path",{d:"M2.57349 3.88831L3.19366 13.2943C3.21937 13.5502 3.33952 13.7872 3.53065 13.9593C3.72178 14.1313 3.97016 14.2259 4.22729 14.2246H11.7728C12.0299 14.2259 12.2783 14.1313 12.4694 13.9593C12.6605 13.7872 12.7807 13.5502 12.8064 13.2943L13.4266 3.88831",stroke:"currentColor"}),c.jsx("path",{d:"M6.44946 6.98926V11.1238",stroke:"currentColor"}),c.jsx("path",{d:"M9.55054 6.98926V11.1238",stroke:"currentColor"})]}),ky=e=>c.jsx(Kf,{...e,strokeWidth:Y}),Sy=e=>c.jsx(Kf,{...e,strokeWidth:Q}),Yf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 4.29199V9.79199",stroke:"currentColor"}),c.jsx("path",{d:"M8 10.708V11.708",stroke:"currentColor"})]}),Jf=e=>c.jsx(Yf,{...e,strokeWidth:Y}),jy=e=>c.jsx(Yf,{...e,strokeWidth:Q}),Qf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M28.1936 14.6936L19.8066 23.0806C19.2373 23.65 18.7159 24.1742 18.24 24.5571C17.7389 24.9602 17.1365 25.3359 16.3657 25.458C15.9581 25.5225 15.5428 25.5225 15.1353 25.458C14.3645 25.3359 13.7621 24.9602 13.261 24.5571C12.7851 24.1742 12.2637 23.65 11.6943 23.0806L7.80737 19.1936L10.1936 16.8074L14.0806 20.6943C14.7033 21.317 15.0763 21.6873 15.377 21.9292C15.6523 22.1507 15.7109 22.1325 15.6626 22.1248C15.7208 22.1339 15.7802 22.1339 15.8384 22.1248C15.7901 22.1325 15.8486 22.1507 16.124 21.9292C16.4247 21.6873 16.7977 21.317 17.4204 20.6943L25.8074 12.3074L28.1936 14.6936Z",fill:"currentColor"}),c.jsx("path",{d:"M32.8496 18.0005C32.8496 9.79906 26.2019 3.15137 18.0005 3.15137C9.79906 3.15137 3.15137 9.79906 3.15137 18.0005C3.15137 26.2019 9.79906 32.8496 18.0005 32.8496C26.2019 32.8496 32.8496 26.2019 32.8496 18.0005ZM35.7764 18.0005C35.7764 27.8173 27.8173 35.7764 18.0005 35.7764C8.18363 35.7764 0.224609 27.8173 0.224609 18.0005C0.224609 8.18363 8.18363 0.224609 18.0005 0.224609C27.8173 0.224609 35.7764 8.18363 35.7764 18.0005Z",fill:"currentColor"})]}),Ey=e=>c.jsx(Qf,{...e,strokeWidth:Y}),My=e=>c.jsx(Qf,{...e,strokeWidth:Q}),Xf=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round",children:[c.jsx("path",{d:"M6.87 2.6a1.33 1.33 0 0 1 2.26 0l5.34 9.33A1.33 1.33 0 0 1 13.33 14H2.67a1.33 1.33 0 0 1-1.14-2.07Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 6v3m0 2.33h.01",stroke:"currentColor"})]}),Iy=e=>c.jsx(Xf,{...e,strokeWidth:Y}),Oy=e=>c.jsx(Xf,{...e,strokeWidth:Q}),e8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 8.25C9.51878 8.25 10.75 7.01878 10.75 5.5C10.75 3.98122 9.51878 2.75 8 2.75C6.48122 2.75 5.25 3.98122 5.25 5.5C5.25 7.01878 6.48122 8.25 8 8.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M2.5 14.5C2.5 11.5 5.25 10.25 8 10.25C10.75 10.25 13.5 11.5 13.5 14.5",stroke:"currentColor"})]}),Ly=e=>c.jsx(e8,{...e,strokeWidth:Y}),Ty=e=>c.jsx(e8,{...e,strokeWidth:Q}),t8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6 8.25C7.51878 8.25 8.75 7.01878 8.75 5.5C8.75 3.98122 7.51878 2.75 6 2.75C4.48122 2.75 3.25 3.98122 3.25 5.5C3.25 7.01878 4.48122 8.25 6 8.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M1 14.5C1 11.5 3.5 10.25 6 10.25C8.5 10.25 11 11.5 11 14.5",stroke:"currentColor"}),c.jsx("path",{d:"M10.5 2.9C11.65 3.35 12.45 4.35 12.45 5.5C12.45 6.65 11.65 7.65 10.5 8.1",stroke:"currentColor"}),c.jsx("path",{d:"M12.4 10.6C13.9 11.3 15 12.6 15 14.5",stroke:"currentColor"})]}),zy=e=>c.jsx(t8,{...e,strokeWidth:Y}),Py=e=>c.jsx(t8,{...e,strokeWidth:Q}),n8=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.74024 9.11029L1.82882 7.79865C1.75022 7.76323 1.75026 7.65161 1.82889 7.61626L12.9665 2.60943C13.0354 2.57846 13.1125 2.63213 13.1073 2.70749L12.3914 13.1388C12.3864 13.2117 12.3073 13.2548 12.2433 13.2194L6.12677 9.83657",stroke:"currentColor"}),c.jsx("path",{d:"M8.44336 11.0825L6.2832 13.2843C6.22048 13.3482 6.11182 13.3038 6.11182 13.2143V9.86772C6.11182 9.84165 6.122 9.8166 6.1402 9.79793L12.972 2.78748",stroke:"currentColor"})]}),Ny=e=>c.jsx(n8,{...e,strokeWidth:Y}),Ay=e=>c.jsx(n8,{...e,strokeWidth:Q}),r8=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12.5 2.5H3.5C2.94772 2.5 2.5 2.94772 2.5 3.5V12.5C2.5 13.0523 2.94772 13.5 3.5 13.5H12.5C13.0523 13.5 13.5 13.0523 13.5 12.5V3.5C13.5 2.94772 13.0523 2.5 12.5 2.5Z",fill:"currentColor"})}),Ry=e=>c.jsx(r8,{...e,strokeWidth:Y}),Fy=e=>c.jsx(r8,{...e,strokeWidth:Q}),o8=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12.75 4.5V9.5C12.75 10.7598 12.2496 11.968 11.3588 12.8588C10.468 13.7496 9.25978 14.25 8 14.25C6.74022 14.25 5.53204 13.7496 4.64124 12.8588C3.75045 11.968 3.25 10.7598 3.25 9.5V5C3.25 4.13805 3.59241 3.3114 4.2019 2.7019C4.8114 2.09241 5.63805 1.75 6.5 1.75C7.36195 1.75 8.1886 2.09241 8.7981 2.7019C9.40759 3.3114 9.75 4.13805 9.75 5V9.5C9.75 9.96413 9.56563 10.4092 9.23744 10.7374C8.90925 11.0656 8.46413 11.25 8 11.25C7.53587 11.25 7.09075 11.0656 6.76256 10.7374C6.43437 10.4092 6.25 9.96413 6.25 9.5V5.5",stroke:"currentColor"})}),Dy=e=>c.jsx(o8,{...e,strokeWidth:Y}),$y=e=>c.jsx(o8,{...e,strokeWidth:Q}),i8=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12.596 12.596C11.687 13.5049 10.5288 14.1239 9.26798 14.3747C8.00716 14.6255 6.70028 14.4968 5.51261 14.0048C4.32494 13.5129 3.30981 12.6798 2.59557 11.611C1.88134 10.5421 1.50008 9.2855 1.5 7.99998C1.50008 6.71446 1.88134 5.45783 2.59557 4.38898C3.30981 3.32013 4.32494 2.48707 5.51261 1.99513C6.70028 1.50319 8.00716 1.37447 9.26798 1.62524C10.5288 1.87602 11.687 2.49502 12.596 3.40398",stroke:"currentColor"})}),s8=e=>c.jsx(i8,{...e,strokeWidth:Y}),Hy=e=>c.jsx(i8,{...e,strokeWidth:Q}),a8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 1.95317V10.0469",stroke:"currentColor"}),c.jsx("path",{d:"M4.25 6.29688L8 10.0469L11.75 6.29688",stroke:"currentColor"}),c.jsx("path",{d:"M1.5 10.0469V13.158C1.5 13.3937 1.60536 13.6198 1.79289 13.7865C1.98043 13.9532 2.23478 14.0469 2.5 14.0469H13.5C13.7652 14.0469 14.0196 13.9532 14.2071 13.7865C14.3946 13.6198 14.5 13.3937 14.5 13.158V10.0469",stroke:"currentColor"})]}),Vy=e=>c.jsx(a8,{...e,strokeWidth:Y}),By=e=>c.jsx(a8,{...e,strokeWidth:Q}),l8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.3329 7.91346C10.3996 7.95195 10.3996 8.04818 10.3329 8.08667L6.78304 10.1362C6.71638 10.1747 6.63304 10.1266 6.63304 10.0496L6.63304 5.95055C6.63304 5.87357 6.71638 5.82546 6.78304 5.86395L10.3329 7.91346Z",stroke:"currentColor"})]}),Zy=e=>c.jsx(l8,{...e,strokeWidth:Y}),Wy=e=>c.jsx(l8,{...e,strokeWidth:Q}),c8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M6.5 5V11",stroke:"currentColor"}),c.jsx("path",{d:"M9.5 5V11",stroke:"currentColor"})]}),Uy=e=>c.jsx(c8,{...e,strokeWidth:Y}),qy=e=>c.jsx(c8,{...e,strokeWidth:Q}),u8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.33154 9.40576V13.1685C2.3318 13.4444 2.55556 13.6685 2.83154 13.6685H6.49463V14.6685H2.83154C2.00328 14.6685 1.3318 13.9967 1.33154 13.1685V9.40576H2.33154ZM13.1685 1.33154C13.9964 1.33199 14.6683 2.00352 14.6685 2.83154V6.40576H13.6685V2.83154C13.6683 2.5558 13.4441 2.33199 13.1685 2.33154H9.49463V1.33154H13.1685Z",fill:"currentColor"}),c.jsx("path",{d:"M9.4292 6.57077L13.914 2.08594",stroke:"currentColor"}),c.jsx("path",{d:"M6.57077 9.4292L2.08594 13.914",stroke:"currentColor"})]}),Gy=e=>c.jsx(u8,{...e,strokeWidth:Y}),Ky=e=>c.jsx(u8,{...e,strokeWidth:Q}),d8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.27612 1.5L4.52612 14.5",stroke:"currentColor"}),c.jsx("path",{d:"M11.4739 1.5L9.72388 14.5",stroke:"currentColor"}),c.jsx("path",{d:"M2.39868 5.5H14.0681",stroke:"currentColor"}),c.jsx("path",{d:"M1.93188 10.5H13.6013",stroke:"currentColor"})]}),Yy=e=>c.jsx(d8,{...e,strokeWidth:Y}),Jy=e=>c.jsx(d8,{...e,strokeWidth:Q}),f8=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.16143 6.59068L1.75205 8.00006L3.10619 9.35419L2.39908 10.0613L0.832948 8.49517C0.559581 8.2218 0.559582 7.77831 0.832948 7.50494L2.45432 5.88357L3.16143 6.59068ZM8.49511 15.1671C8.22176 15.4405 7.77826 15.4404 7.50489 15.1671L5.93461 13.5968L6.64172 12.8897L8 14.248L9.40938 12.8386L10.1165 13.5457L8.49511 15.1671ZM15.1671 7.50494C15.4403 7.7782 15.4401 8.22179 15.1671 8.49517L13.652 10.0102L12.9449 9.30309L14.248 8.00006L12.8897 6.64178L13.5968 5.93467L15.1671 7.50494ZM9.35414 3.10624L8 1.7521L6.69696 3.05514L5.98986 2.34803L7.50489 0.833003C7.77828 0.559981 8.22186 0.559752 8.49511 0.833003L10.0612 2.39913L9.35414 3.10624Z",fill:"currentColor"}),c.jsx("circle",{cx:"8",cy:"8",r:"1.76221",stroke:"currentColor"})]}),Qy=e=>c.jsx(f8,{...e,strokeWidth:Y}),Xy=e=>c.jsx(f8,{...e,strokeWidth:Q}),h8=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3 4L7 8L3 12",stroke:"currentColor"}),c.jsx("path",{d:"M9 12H13",stroke:"currentColor"})]}),ex=e=>c.jsx(h8,{...e,strokeWidth:Y}),tx=e=>c.jsx(h8,{...e,strokeWidth:Q}),p8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.25 7.16357C3.20417 7.32247 3.17778 7.48993 3.17773 7.66357C3.17773 7.83698 3.20336 8.00486 3.24902 8.16357H1.85742V7.16357H3.25ZM14.1426 8.16357H6.71484C6.76052 8.00485 6.78613 7.837 6.78613 7.66357C6.78609 7.48991 6.75971 7.32249 6.71387 7.16357H14.1426V8.16357Z",fill:"currentColor"}),c.jsx("path",{d:"M9.1377 11.9092C9.08596 12.0666 9.05668 12.2344 9.05664 12.4092C9.05664 12.5838 9.08606 12.7518 9.1377 12.9092H1.85742V11.9092H9.1377ZM14.1426 12.9092H12.1816C12.2332 12.7519 12.2617 12.5838 12.2617 12.4092C12.2617 12.2345 12.2333 12.0666 12.1816 11.9092H14.1426V12.9092Z",fill:"currentColor"}),c.jsx("path",{d:"M9.1123 3.09106C9.06138 3.24865 9.03324 3.41653 9.0332 3.59106C9.0332 3.76549 9.06148 3.93355 9.1123 4.09106H1.85742V3.09106H9.1123ZM14.1426 4.09106H12.207C12.2578 3.93358 12.2861 3.76545 12.2861 3.59106C12.2861 3.41657 12.2579 3.24862 12.207 3.09106H14.1426V4.09106Z",fill:"currentColor"}),c.jsx("circle",{cx:"4.97065",cy:"7.66401",r:"1.35151",stroke:"currentColor"}),c.jsx("circle",{cx:"10.6596",cy:"12.4091",r:"1.35151",stroke:"currentColor"}),c.jsx("circle",{cx:"10.6596",cy:"3.59101",r:"1.35151",stroke:"currentColor"})]}),nx=e=>c.jsx(p8,{...e,strokeWidth:Y}),rx=e=>c.jsx(p8,{...e,strokeWidth:Q}),m8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5.54492 2.06738C5.91034 2.06754 6.26318 2.20149 6.53711 2.44336L7.94043 3.68164V4.7998C7.71462 4.74105 7.50367 4.63139 7.32617 4.47461L5.87598 3.19238C5.78477 3.11185 5.66658 3.06754 5.54492 3.06738H2.94922C2.67322 3.06738 2.44946 3.29145 2.44922 3.56738V12.4326C2.44927 12.7087 2.67311 12.9326 2.94922 12.9326H12.9326C13.2086 12.9325 13.4326 12.7086 13.4326 12.4326V8.53613H14.4326V12.4326C14.4326 13.2609 13.7609 13.9325 12.9326 13.9326H2.94922C2.12083 13.9326 1.44927 13.261 1.44922 12.4326V3.56738C1.44946 2.73916 2.12094 2.06738 2.94922 2.06738H5.54492Z",fill:"currentColor"}),c.jsx("path",{d:"M9.75977 4.50208H14.5509",stroke:"currentColor"}),c.jsx("path",{d:"M12.1492 6.89758L12.1492 2.10642",stroke:"currentColor"})]}),ox=e=>c.jsx(m8,{...e,strokeWidth:Y}),ix=e=>c.jsx(m8,{...e,strokeWidth:Q}),g8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.3994 13.5986H2.04956C1.49728 13.5986 1.04956 13.1509 1.04956 12.5986V3.40137C1.04956 2.84908 1.49728 2.40137 2.04956 2.40137H4.76632C5.01016 2.40137 5.24561 2.49046 5.42836 2.6519L6.94088 3.98799C7.12364 4.14943 7.35908 4.23852 7.60293 4.23852H12.3994C12.9517 4.23852 13.3994 4.68624 13.3994 5.23852V7.16991",stroke:"currentColor"}),c.jsx("path",{d:"M2.55911 7.93683C2.67584 7.49906 3.07229 7.19446 3.52536 7.19446H13.6491C14.3061 7.19446 14.7846 7.81725 14.6153 8.45209L13.4411 12.856C13.3244 13.2938 12.9279 13.5984 12.4748 13.5984H2.35113C1.69411 13.5984 1.21562 12.9756 1.38489 12.3407L2.55911 7.93683Z",stroke:"currentColor"})]}),sx=e=>c.jsx(g8,{...e,strokeWidth:Y}),ax=e=>c.jsx(g8,{...e,strokeWidth:Q}),v8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.55912 7.93683C2.67584 7.49906 3.0723 7.19446 3.52536 7.19446H13.6491C14.3061 7.19446 14.7846 7.81725 14.6153 8.45209L13.4411 12.856C13.3244 13.2938 12.9279 13.5984 12.4748 13.5984H2.35113C1.69411 13.5984 1.21562 12.9756 1.38489 12.3407L2.55912 7.93683Z",fill:"currentColor",opacity:"0.16"}),c.jsx("path",{d:"M13.6491 6.69446C14.6346 6.69453 15.3522 7.62895 15.0983 8.58118L13.9245 12.9845C13.7494 13.6412 13.1539 14.0988 12.4743 14.0988H2.35126C1.36574 14.0988 0.648153 13.1643 0.902044 12.212L2.07587 7.80774C2.25102 7.15128 2.84567 6.69455 3.52509 6.69446H13.6491ZM3.52509 7.69446C3.29865 7.69455 3.10004 7.84674 3.04169 8.06555L1.86786 12.4698C1.78345 12.7872 2.02285 13.0988 2.35126 13.0988H12.4743C12.7007 13.0988 12.8992 12.9463 12.9577 12.7277L14.1325 8.32336C14.2171 8.00598 13.9776 7.69453 13.6491 7.69446H3.52509Z",fill:"currentColor"}),c.jsx("path",{d:"M4.7666 1.90137C5.13227 1.90144 5.48571 2.03525 5.75977 2.27734L7.27246 3.61328C7.36379 3.69382 7.48174 3.73828 7.60352 3.73828H12.3994C13.2276 3.73841 13.8993 4.41005 13.8994 5.23828V6.7168C13.8183 6.70327 13.735 6.69436 13.6494 6.69434H12.8994V5.23828C12.8993 4.96233 12.6754 4.73841 12.3994 4.73828H7.60352C7.23781 4.73828 6.88446 4.60438 6.61035 4.3623L5.09766 3.02637C5.00636 2.94576 4.88838 2.90144 4.7666 2.90137H2.0498C1.77366 2.90137 1.5498 3.12523 1.5498 3.40137V9.78223L0.902344 12.2119C0.648452 13.1642 1.36604 14.0986 2.35156 14.0986H2.0498C1.2214 14.0986 0.549838 13.427 0.549805 12.5986V3.40137C0.549805 2.57294 1.22138 1.90137 2.0498 1.90137H4.7666Z",fill:"currentColor"})]}),lx=e=>c.jsx(v8,{...e,strokeWidth:Y}),cx=e=>c.jsx(v8,{...e,strokeWidth:Q}),ux=e=>c.jsx(sl,{...e,strokeWidth:Y}),dx=e=>c.jsx(sl,{...e,strokeWidth:Q}),w8=({size:e=10,className:t,strokeWidth:n})=>c.jsx("svg",{width:e*8/10,height:e,className:t,viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M0.5 0V7C0.5 7.79565 0.81607 8.55871 1.37868 9.12132C1.94129 9.68393 2.70435 10 3.5 10H8.5",stroke:"currentColor"})}),fx=e=>c.jsx(w8,{...e,strokeWidth:Y}),hx=e=>c.jsx(w8,{...e,strokeWidth:Q}),y8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8.00007 11.8117C10.1052 11.8117 11.8117 10.1052 11.8117 8.00007C11.8117 5.89499 10.1052 4.18848 8.00007 4.18848C5.89499 4.18848 4.18848 5.89499 4.18848 8.00007C4.18848 10.1052 5.89499 11.8117 8.00007 11.8117Z",stroke:"currentColor"}),c.jsx("path",{d:"M13.3899 8H15.1499",stroke:"currentColor"}),c.jsx("path",{d:"M11.8115 11.8115L13.0556 13.0556",stroke:"currentColor"}),c.jsx("path",{d:"M8 13.3901V15.1501",stroke:"currentColor"}),c.jsx("path",{d:"M4.18868 11.8115L2.94458 13.0556",stroke:"currentColor"}),c.jsx("path",{d:"M2.6101 8H0.850098",stroke:"currentColor"}),c.jsx("path",{d:"M4.18868 4.18856L2.94458 2.94446",stroke:"currentColor"}),c.jsx("path",{d:"M8 2.6101V0.850098",stroke:"currentColor"}),c.jsx("path",{d:"M11.8115 4.18856L13.0556 2.94446",stroke:"currentColor"})]}),px=e=>c.jsx(y8,{...e,strokeWidth:Y}),mx=e=>c.jsx(y8,{...e,strokeWidth:Q}),x8=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M14.1127 8.70663C14.2576 8.60602 14.4627 8.71355 14.4386 8.88834C14.2901 9.96567 13.8731 10.9912 13.2229 11.8692C12.479 12.8735 11.4613 13.6421 10.2917 14.0829C9.1222 14.5236 7.85038 14.6179 6.62865 14.3543C5.40692 14.0907 4.28709 13.4805 3.40332 12.5967C2.51955 11.7129 1.90931 10.5931 1.64572 9.37135C1.38212 8.14962 1.47635 6.87779 1.91711 5.70825C2.35787 4.5387 3.12647 3.52103 4.13083 2.77714C5.00878 2.12689 6.03433 1.70994 7.11166 1.5614C7.28645 1.5373 7.39397 1.74238 7.29337 1.88734C6.68703 2.76099 6.37885 3.81241 6.42313 4.88345C6.47392 6.11194 6.98471 7.27645 7.85413 8.14587C8.72355 9.01529 9.88805 9.52608 11.1166 9.57687C12.1876 9.62114 13.239 9.31296 14.1127 8.70663Z",stroke:"currentColor"})}),gx=e=>c.jsx(x8,{...e,strokeWidth:Y}),vx=e=>c.jsx(x8,{...e,strokeWidth:Q}),_8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.5 2.5H2.5C1.94772 2.5 1.5 2.94772 1.5 3.5V11.5C1.5 12.0523 1.94772 12.5 2.5 12.5H13.5C14.0523 12.5 14.5 12.0523 14.5 11.5V3.5C14.5 2.94772 14.0523 2.5 13.5 2.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M5 14.5H11",stroke:"currentColor"})]}),wx=e=>c.jsx(_8,{...e,strokeWidth:Y}),yx=e=>c.jsx(_8,{...e,strokeWidth:Q}),C8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M7.8667 0.349609C8.96906 0.349634 10.0601 0.481272 11.0317 0.735352C11.9973 0.987845 12.8453 1.362 13.4644 1.84766C14.0744 2.32629 14.507 2.95539 14.5161 3.69336H14.5171V8.53516C14.0843 8.32076 13.6108 8.17679 13.1108 8.11816C13.1831 7.96848 13.2162 7.82856 13.2163 7.70312V5.76758C12.6269 6.16618 11.8739 6.47995 11.0317 6.7002C10.0602 6.95423 8.96896 7.08494 7.8667 7.08496C6.76461 7.08493 5.67411 6.95415 4.70264 6.7002C3.85994 6.48006 3.10694 6.1662 2.51709 5.76758V7.70312L2.521 7.78418C2.56374 8.19554 2.93361 8.74414 3.91357 9.23145C4.9281 9.73585 6.35004 10.0371 7.8667 10.0371C8.26373 10.0371 8.6543 10.0141 9.03271 9.97461C8.75596 10.3799 8.54664 10.8349 8.42041 11.3232C8.23666 11.3313 8.0518 11.3369 7.8667 11.3369C6.20108 11.3369 4.57025 11.01 3.33447 10.3955C3.04163 10.2499 2.76658 10.0836 2.51709 9.90039V11.6738C2.51728 12.1379 2.88589 12.7556 3.92236 13.292C4.93457 13.8157 6.35342 14.1289 7.8667 14.1289C8.12318 14.1289 8.37694 14.1161 8.62646 14.0986C8.82021 14.5535 9.08999 14.9682 9.41943 15.3271C8.91285 15.3934 8.39149 15.4287 7.8667 15.4287C6.19761 15.4287 4.56379 15.0869 3.32568 14.4463C2.11244 13.8185 1.21649 12.8562 1.21631 11.6738V3.76367C1.21595 3.74853 1.21438 3.733 1.21436 3.71777C1.21436 2.96917 1.65103 2.33053 2.26807 1.84668C2.88747 1.36112 3.73675 0.987685 4.70264 0.735352C5.67413 0.481376 6.76457 0.349636 7.8667 0.349609ZM7.8667 1.65039C6.86269 1.65042 5.88326 1.77028 5.03076 1.99316C4.17183 2.2176 3.50421 2.52956 3.06982 2.87012C2.65043 3.19909 2.52622 3.48898 2.51709 3.69336V3.74414C2.52719 3.94845 2.65185 4.23772 3.06982 4.56543C3.50425 4.90601 4.17172 5.21795 5.03076 5.44238C5.88326 5.66527 6.8627 5.78513 7.8667 5.78516C8.8707 5.78513 9.85015 5.66525 10.7026 5.44238C11.5611 5.21787 12.2286 4.9049 12.6626 4.56445C13.0982 4.22252 13.2163 3.9231 13.2163 3.71777L13.2104 3.63574C13.1818 3.43623 13.044 3.16941 12.6626 2.87012C12.2286 2.52957 11.5614 2.21773 10.7026 1.99316C9.85009 1.77025 8.8708 1.65041 7.8667 1.65039Z",fill:"currentColor"}),c.jsx("path",{d:"M12.8936 10.0361L13.2061 10.5566C13.2296 10.5959 13.2651 10.6562 13.3027 10.707C13.3469 10.7666 13.4148 10.8431 13.5195 10.9023C13.6244 10.9617 13.725 10.9801 13.7988 10.9873C13.8619 10.9934 13.9318 10.9932 13.9775 10.9932H14.6162L14.8896 11.4502L14.5947 11.9443C14.5698 11.9859 14.5312 12.0483 14.5029 12.1084C14.4781 12.1611 14.4514 12.2312 14.4395 12.3164L14.4326 12.4072L14.4395 12.4971C14.4514 12.5825 14.4781 12.6532 14.5029 12.7061C14.5312 12.7661 14.5689 12.8287 14.5938 12.8701L14.8896 13.3633L14.6162 13.8213H13.9775C13.9318 13.8213 13.8619 13.821 13.7988 13.8271C13.7433 13.8326 13.6728 13.8442 13.5967 13.875L13.5195 13.9121C13.4148 13.9714 13.3469 14.0478 13.3027 14.1074C13.265 14.1583 13.2296 14.2186 13.2061 14.2578L12.8936 14.7783H12.3115L11.999 14.2578C11.9755 14.2186 11.9401 14.1583 11.9023 14.1074C11.8693 14.0628 11.823 14.0083 11.7578 13.959L11.6855 13.9121L11.6074 13.875C11.5316 13.8445 11.4615 13.8325 11.4062 13.8271C11.3432 13.821 11.2733 13.8213 11.2275 13.8213H10.5889L10.3135 13.3633L10.6104 12.8701C10.6352 12.8287 10.6739 12.7661 10.7021 12.7061C10.7352 12.6357 10.7724 12.534 10.7725 12.4072C10.7724 12.2804 10.7352 12.1788 10.7021 12.1084C10.6739 12.0483 10.6353 11.9859 10.6104 11.9443L10.3135 11.4502L10.5889 10.9932H11.2275C11.2733 10.9932 11.3432 10.9934 11.4062 10.9873C11.4801 10.9801 11.5808 10.9616 11.6855 10.9023C11.7903 10.843 11.8582 10.7666 11.9023 10.707C11.94 10.6562 11.9755 10.5959 11.999 10.5566L12.3115 10.0361H12.8936Z",stroke:"currentColor",strokeMiterlimit:"10"})]}),b8=e=>c.jsx(C8,{...e,strokeWidth:Y}),xx=e=>c.jsx(C8,{...e,strokeWidth:Q}),k8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.1967 5.1869C13.7232 4.77378 14.0003 4.30517 14.0001 3.82819C14.0003 3.3512 13.7232 2.88259 13.1967 2.46947C12.6702 2.05635 11.9128 1.71328 11.0006 1.47475C10.0885 1.23621 9.05371 1.11062 8.00039 1.1106C6.94707 1.11057 5.9123 1.23612 5.00009 1.47461C4.08742 1.71301 3.32948 2.05604 2.80249 2.46919C2.2755 2.88235 1.99805 3.35106 1.99805 3.82819C1.99805 4.30531 2.2755 4.77402 2.80249 5.18718C3.32948 5.60033 4.08742 5.94336 5.00009 6.18176C5.9123 6.42025 6.94707 6.5458 8.00039 6.54578C9.05371 6.54575 10.0885 6.42016 11.0006 6.18163C11.9128 5.94309 12.6702 5.60002 13.1967 5.1869Z",stroke:"currentColor"}),c.jsx("path",{d:"M2 3.80371V11.7848",stroke:"currentColor"}),c.jsx("path",{d:"M14 3.80371V11.7848",stroke:"currentColor"}),c.jsx("path",{d:"M2 7.81396C2 8.60524 2.63214 9.36411 3.75736 9.92363C4.88258 10.4832 6.4087 10.7975 8 10.7975C9.5913 10.7975 11.1174 10.4832 12.2426 9.92363C13.3679 9.36411 14 8.60524 14 7.81396",stroke:"currentColor"}),c.jsx("path",{d:"M2 11.7847C2 12.6081 2.63214 13.3977 3.75736 13.98C4.88258 14.5622 6.4087 14.8893 8 14.8893C9.5913 14.8893 11.1174 14.5622 12.2426 13.98C13.3679 13.3977 14 12.6081 14 11.7847",stroke:"currentColor"})]}),_x=e=>c.jsx(k8,{...e,strokeWidth:Y}),Cx=e=>c.jsx(k8,{...e,strokeWidth:Q}),S8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 4.31V8.46L11 10.08",stroke:"currentColor"})]}),bx=e=>c.jsx(S8,{...e,strokeWidth:Y}),kx=e=>c.jsx(S8,{...e,strokeWidth:Q}),j8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.4041 13.096C2.49514 12.187 1.87614 11.0288 1.62537 9.76798C1.37459 8.50716 1.50331 7.20028 1.99525 6.01261C2.48719 4.82494 3.32025 3.80981 4.3891 3.09557C5.45795 2.38134 6.71458 2.00008 8.0001 2C9.28563 2.00008 10.5423 2.38134 11.6111 3.09557C12.68 3.80981 13.513 4.82494 14.005 6.01261C14.4969 7.20028 14.6256 8.50716 14.3748 9.76798C14.1241 11.0288 13.5051 12.187 12.5961 13.096",stroke:"currentColor"}),c.jsx("path",{d:"M8 8.49994L11.6114 4.88855",stroke:"currentColor"}),c.jsx("path",{d:"M8 9.75C8.69036 9.75 9.25 9.19036 9.25 8.5C9.25 7.80964 8.69036 7.25 8 7.25C7.30964 7.25 6.75 7.80964 6.75 8.5C6.75 9.19036 7.30964 9.75 8 9.75Z",fill:"currentColor"})]}),Sx=e=>c.jsx(j8,{...e,strokeWidth:Y}),jx=e=>c.jsx(j8,{...e,strokeWidth:Q}),E8=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.97211 1.94476C7.55785 1.35914 8.50767 1.35919 9.09343 1.94476L13.921 6.77228L13.2138 7.47939L8.38632 2.65187C8.19108 2.45682 7.87443 2.45677 7.67922 2.65187L2.74397 7.58711L2.03687 6.88L6.97211 1.94476Z",fill:"currentColor"}),c.jsx("path",{d:"M7.97571 14.5732L8.02421 2.34139",stroke:"currentColor"})]}),Ex=e=>c.jsx(E8,{...e,strokeWidth:Y}),Mx=e=>c.jsx(E8,{...e,strokeWidth:Q}),M8=({size:e=14,...t})=>c.jsx(df,{size:e,...t}),Ix=e=>c.jsx(M8,{...e,strokeWidth:Y}),Ox=e=>c.jsx(M8,{...e,strokeWidth:Q}),I8=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.75 6.25C4.7165 6.25 5.5 5.4665 5.5 4.5C5.5 3.5335 4.7165 2.75 3.75 2.75C2.7835 2.75 2 3.5335 2 4.5C2 5.4665 2.7835 6.25 3.75 6.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M7.5 4.5H13.5",stroke:"currentColor"}),c.jsx("path",{d:"M3.75 13.25C4.7165 13.25 5.5 12.4665 5.5 11.5C5.5 10.5335 4.7165 9.75 3.75 9.75C2.7835 9.75 2 10.5335 2 11.5C2 12.4665 2.7835 13.25 3.75 13.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M7.5 11.5H13.5",stroke:"currentColor"})]}),Lx=e=>c.jsx(I8,{...e,strokeWidth:Y}),Tx=e=>c.jsx(I8,{...e,strokeWidth:Q}),G0=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.9375 5.90295H11.0625",stroke:"currentColor"}),c.jsx("path",{d:"M4.9375 9.02991H8.27841",stroke:"currentColor"}),c.jsx("path",{d:"M12.5 1.32617C13.3039 1.32617 14 1.95171 14 2.77637V7.61328L13 8.68164V2.77637C13 2.55186 12.8007 2.32617 12.5 2.32617H3.5C3.1993 2.32617 3 2.55186 3 2.77637V13.2246C3.00044 13.4489 3.19963 13.6738 3.5 13.6738H8.32812L7.39258 14.6738H3.5C2.69637 14.6738 2.00042 14.0489 2 13.2246V2.77637C2 1.95171 2.69613 1.32617 3.5 1.32617H12.5Z",fill:"currentColor"}),c.jsx("path",{d:"M8.97212 14.3693C9.17511 14.5723 9.37811 14.7753 9.5811 14.9783C9.67012 14.8953 9.75914 14.8123 9.84815 14.7293C11.4505 13.2352 13.0528 11.7411 14.6551 10.247C14.7441 10.164 14.8331 10.081 14.9221 9.99803C14.5989 9.6748 14.2756 9.35157 13.9524 9.02834C13.8694 9.11736 13.7864 9.20637 13.7034 9.29539C12.2093 10.8977 10.7152 12.5 9.22113 14.1023C9.13813 14.1913 9.05513 14.2803 8.97212 14.3693Z",fill:"currentColor"}),c.jsx("path",{d:"M11.6323 13.7841C11.6323 14.0395 11.6323 14.295 11.6323 14.5504C11.6812 14.5523 11.7301 14.5543 11.779 14.5562C12.659 14.5913 13.539 14.6263 14.419 14.6614C14.4679 14.6633 14.5168 14.6653 14.5657 14.6672C14.5657 14.3339 14.5657 14.0006 14.5657 13.6672C14.5168 13.6692 14.4679 13.6711 14.419 13.6731C13.539 13.7081 12.659 13.7432 11.779 13.7783C11.7301 13.7802 11.6812 13.7821 11.6323 13.7841Z",fill:"currentColor"})]}),zx=e=>c.jsx(G0,{...e,strokeWidth:Y}),Px=e=>c.jsx(G0,{...e,strokeWidth:Q}),O8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M14.5001 8C14.5 9.28552 14.1188 10.5422 13.4045 11.611C12.6903 12.6799 11.6752 13.5129 10.4875 14.0049C9.29982 14.4968 7.99295 14.6255 6.73212 14.3747C5.4713 14.124 4.31314 13.505 3.4041 12.596C2.49514 11.687 1.87614 10.5288 1.62537 9.26798C1.37459 8.00716 1.50331 6.70028 1.99525 5.51261C2.48719 4.32494 3.32025 3.30981 4.3891 2.59557C5.45795 1.88134 6.71458 1.50008 8.0001 1.5",stroke:"currentColor"}),c.jsx("path",{d:"M11.5 8C11.5001 8.69227 11.2948 9.36901 10.9102 9.94463C10.5257 10.5202 9.97901 10.9689 9.33944 11.2338C8.69986 11.4987 7.99609 11.5681 7.31712 11.433C6.63816 11.2979 6.01449 10.9645 5.52501 10.475C5.03548 9.98552 4.70209 9.36185 4.56702 8.68289C4.43195 8.00392 4.50127 7.30015 4.76619 6.66057C5.03112 6.021 5.47976 5.47436 6.05538 5.08978C6.631 4.70519 7.30774 4.49995 8.00001 4.5",stroke:"currentColor"}),c.jsx("path",{d:"M8.00024 7.99976L11.2 4.80005",stroke:"currentColor"}),c.jsx("path",{d:"M12.4719 5.62245C12.4246 5.66972 12.3569 5.69025 12.2913 5.67715L10.7814 5.37555C10.7022 5.35972 10.6402 5.29781 10.6244 5.2186L10.3228 3.70866C10.3097 3.6431 10.3302 3.57533 10.3775 3.52806L12.1826 1.723C12.2863 1.61929 12.4627 1.65879 12.5122 1.79684L12.9271 2.95225C12.9472 3.00847 12.9915 3.05272 13.0477 3.07291L14.2031 3.48774C14.3412 3.5373 14.3807 3.71368 14.277 3.81739L12.4719 5.62245Z",stroke:"currentColor"})]}),Nx=e=>c.jsx(O8,{...e,strokeWidth:Y}),Ax=e=>c.jsx(O8,{...e,strokeWidth:Q}),L8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5.875 3C5.875 6.33333 7.54167 8 10.875 8C7.54167 8 5.875 9.66667 5.875 13C5.875 9.66667 4.20833 8 0.875 8C4.20833 8 5.875 6.33333 5.875 3Z",stroke:"currentColor"}),c.jsx("path",{d:"M12.375 1.55823C12.375 3.39156 13.2917 4.30823 15.125 4.30823C13.2917 4.30823 12.375 5.22489 12.375 7.05823C12.375 5.22489 11.4583 4.30823 9.625 4.30823C11.4583 4.30823 12.375 3.39156 12.375 1.55823Z",stroke:"currentColor"}),c.jsx("path",{d:"M12.375 10.4418C12.375 11.7751 13.0417 12.4418 14.375 12.4418C13.0417 12.4418 12.375 13.1084 12.375 14.4418C12.375 13.1084 11.7083 12.4418 10.375 12.4418C11.7083 12.4418 12.375 11.7751 12.375 10.4418Z",stroke:"currentColor"})]}),Rx=e=>c.jsx(L8,{...e,strokeWidth:Y}),Fx=e=>c.jsx(L8,{...e,strokeWidth:Q}),Dx=e=>c.jsx(Z0,{...e,size:e.size??12,strokeWidth:Y}),$x=e=>c.jsx(Z0,{...e,size:e.size??12,strokeWidth:Q}),T8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.57788 5.77124H10.7029",stroke:"currentColor"}),c.jsx("path",{d:"M4.57788 8.89819H7.91879",stroke:"currentColor"}),c.jsx("path",{d:"M12.1404 1.19446C12.9442 1.19446 13.6404 1.81999 13.6404 2.64465V8.89856H12.6404V2.64465C12.6404 2.42015 12.4411 2.19446 12.1404 2.19446H3.14038C2.83968 2.19446 2.64038 2.42015 2.64038 2.64465V13.0929C2.64082 13.3172 2.84001 13.5421 3.14038 13.5421H8.88159V14.5421H3.14038C2.33675 14.5421 1.6408 13.9172 1.64038 13.0929V2.64465C1.64038 1.81999 2.33651 1.19446 3.14038 1.19446H12.1404Z",fill:"currentColor"}),c.jsx("path",{d:"M12.0051 15.1056C12.0051 13.6395 10.8166 12.451 9.35059 12.451C10.8166 12.451 12.0051 11.2626 12.0051 9.79651C12.0051 11.2626 13.1936 12.451 14.6597 12.451C13.1936 12.451 12.0051 13.6395 12.0051 15.1056Z",stroke:"currentColor"})]}),z8=e=>c.jsx(T8,{...e,strokeWidth:Y}),Hx=e=>c.jsx(T8,{...e,strokeWidth:Q}),P8=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M5.75 6.69646C5.75 6.29865 5.88196 5.90976 6.12919 5.57899C6.37643 5.24821 6.72783 4.99041 7.13896 4.83817C7.5501 4.68593 8.0025 4.6461 8.43895 4.72371C8.87541 4.80132 9.27632 4.99289 9.59099 5.27419C9.90566 5.55549 10.12 5.91388 10.2068 6.30406C10.2936 6.69423 10.249 7.09866 10.0787 7.4662C9.90843 7.83373 9.62004 8.14787 9.25003 8.36889C9.19476 8.4019 9.13803 8.43262 9.08004 8.46099C8.52566 8.73217 8 9.20817 8 9.82532",stroke:"currentColor"}),c.jsx("path",{d:"M8 10.7416V11.7416",stroke:"currentColor"})]}),Vx=e=>c.jsx(P8,{...e,strokeWidth:Y}),Bx=e=>c.jsx(P8,{...e,strokeWidth:Q}),N8=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.5757 7.00012C12.5757 3.92085 10.0794 1.42463 7.00012 1.42456C3.9208 1.42456 1.42456 3.9208 1.42456 7.00012C1.42463 10.0794 3.92085 12.5757 7.00012 12.5757C10.0793 12.5756 12.5756 10.0793 12.5757 7.00012ZM13.8002 7.00012C13.8001 10.7559 10.7559 13.8001 7.00012 13.8002C3.2443 13.8002 0.199291 10.7559 0.199219 7.00012C0.199219 3.24426 3.24426 0.199219 7.00012 0.199219C10.7559 0.199291 13.8002 3.2443 13.8002 7.00012Z",fill:"currentColor"}),c.jsx("path",{d:"M7.6127 3.18921V4.55986H6.38735V3.18921H7.6127Z",fill:"currentColor"}),c.jsx("path",{d:"M7.6127 5.68921V10.8109H6.38735V5.68921H7.6127Z",fill:"currentColor"})]}),A8=e=>c.jsx(N8,{...e,strokeWidth:Y}),Zx=e=>c.jsx(N8,{...e,strokeWidth:Q}),R8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M7.84457 5.06199C11.6605 4.93876 14.7962 6.14848 14.8484 7.76397C14.8875 8.97461 13.1838 10.0696 10.7215 10.5942",stroke:"currentColor"}),c.jsx("path",{d:"M5.12742 8.07731C5.00419 4.26138 6.21391 1.12568 7.8294 1.07351C9.04004 1.03441 10.135 2.73808 10.6596 5.20037",stroke:"currentColor"}),c.jsx("path",{d:"M8.02457 10.6802C4.20865 10.8034 1.07294 9.5937 1.02077 7.97821C0.981678 6.76758 2.68535 5.67262 5.14763 5.14798",stroke:"currentColor"}),c.jsx("path",{d:"M10.7476 7.89535C10.8708 11.7113 9.66109 14.847 8.0456 14.8991C6.83496 14.9382 5.74 13.2346 5.21536 10.7723",stroke:"currentColor"})]}),Wx=e=>c.jsx(R8,{...e,strokeWidth:Y}),Ux=e=>c.jsx(R8,{...e,strokeWidth:Q}),F8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.09372 11.9895L3.11865 14.0387",stroke:"currentColor"}),c.jsx("path",{d:"M12.1392 11.9895L13.1143 14.0387",stroke:"currentColor"}),c.jsx("path",{d:"M8.11646 4.78442V8.03442L10.6165 9.53442",stroke:"currentColor"}),c.jsx("path",{d:"M8.11646 13.4094C11.154 13.4094 13.6165 10.947 13.6165 7.90942C13.6165 4.87186 11.154 2.40942 8.11646 2.40942C5.07889 2.40942 2.61646 4.87186 2.61646 7.90942C2.61646 10.947 5.07889 13.4094 8.11646 13.4094Z",stroke:"currentColor"}),c.jsx("path",{d:"M1.75952 4.74323C2.30657 3.65639 3.12646 2.73047 4.12926 2.05542",stroke:"currentColor"}),c.jsx("path",{d:"M14.3345 4.74323C13.7874 3.65639 12.9675 2.73047 11.9647 2.05542",stroke:"currentColor"})]}),qx=e=>c.jsx(F8,{...e,strokeWidth:Y}),Gx=e=>c.jsx(F8,{...e,strokeWidth:Q}),D8=({size:e=20,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.5 2.5H2.5C1.94772 2.5 1.5 2.94772 1.5 3.5V4.5C1.5 5.05228 1.94772 5.5 2.5 5.5H13.5C14.0523 5.5 14.5 5.05228 14.5 4.5V3.5C14.5 2.94772 14.0523 2.5 13.5 2.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M2.5 5.5V13.5C2.5 13.7652 2.60536 14.0196 2.79289 14.2071C2.98043 14.3946 3.23478 14.5 3.5 14.5H12.5C12.7652 14.5 13.0196 14.3946 13.2071 14.2071C13.3946 14.0196 13.5 13.7652 13.5 13.5V5.5",stroke:"currentColor"}),c.jsx("path",{d:"M6.5 9.5H9.5",stroke:"currentColor"})]}),Kx=e=>c.jsx(D8,{...e,strokeWidth:Y}),Yx=e=>c.jsx(D8,{...e,strokeWidth:Q}),$8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.3457 3.19299H13.6541",stroke:"currentColor"}),c.jsx("path",{d:"M2.3457 7.46497H9.19332",stroke:"currentColor"}),c.jsx("path",{d:"M2.3457 11.7369H6.4849",stroke:"currentColor"}),c.jsx("path",{d:"M9.1936 7.46497H11.5183C12.6981 7.46497 13.6544 8.42132 13.6544 9.60103C13.6544 10.7808 12.6981 11.7371 11.5183 11.7371H9.1936",stroke:"currentColor"}),c.jsx("path",{d:"M10.9505 9.7677L9.12262 11.5956C9.04452 11.6737 9.04452 11.8003 9.12262 11.8784L10.9505 13.7063",stroke:"currentColor"})]}),H8=e=>c.jsx($8,{...e,strokeWidth:Y}),Jx=e=>c.jsx($8,{...e,strokeWidth:Q}),V8=({size:e=16,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[c.jsx("path",{d:"M2 15H1V1H2V15Z",fill:"currentColor"}),c.jsx("path",{d:"M12.3535 7.64645C12.5487 7.84171 12.5487 8.15829 12.3535 8.35355L9.85352 10.8535L9.14648 10.1465L10.793 8.5H3.5V7.5H10.793L9.14648 5.85352L9.85352 5.14648L12.3535 7.64645Z",fill:"currentColor"}),c.jsx("path",{d:"M15 15H14V1H15V15Z",fill:"currentColor"})]}),B8=e=>c.jsx(V8,{...e}),Qx=e=>c.jsx(V8,{...e}),Z8=({size:e=16,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[c.jsx("path",{d:"M10.9999 8C10.9999 6.89543 10.1046 6 9 6H4.5V5H9C10.6568 5 11.9999 6.34315 11.9999 8C11.9999 9.65685 10.6568 11 9 11H6.20703L6.85351 11.6465L6.14648 12.3535L4.64652 10.8536C4.45126 10.6583 4.45126 10.3417 4.64652 10.1464L6.14648 8.64648L6.85351 9.35352L6.20703 10H9C10.1046 10 10.9999 9.10457 10.9999 8Z",fill:"currentColor"}),c.jsx("path",{d:"M2 15H1V1H2V15Z",fill:"currentColor"}),c.jsx("path",{d:"M15 15H14V1H15V15Z",fill:"currentColor"})]}),W8=e=>c.jsx(Z8,{...e}),Xx=e=>c.jsx(Z8,{...e}),U8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H6C6.55228 14.5 7 14.0523 7 13.5V2.5C7 1.94772 6.55228 1.5 6 1.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M13.5 1.5H10C9.44772 1.5 9 1.94772 9 2.5V13.5C9 14.0523 9.44772 14.5 10 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z",stroke:"currentColor"})]}),e_=e=>c.jsx(U8,{...e,strokeWidth:Y}),t_=e=>c.jsx(U8,{...e,strokeWidth:Q}),q8=e=>c.jsx(G0,{...e,size:e.size??14}),n_=e=>c.jsx(q8,{...e,strokeWidth:Y}),r_=e=>c.jsx(q8,{...e,strokeWidth:Q}),G8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{opacity:"0.35",d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 1.5C8.85359 1.5 9.69883 1.66813 10.4874 1.99478C11.2761 2.32144 11.9926 2.80022 12.5962 3.40381C13.1998 4.00739 13.6786 4.72394 14.0052 5.51256C14.3319 6.30117 14.5 7.14641 14.5 8",stroke:"currentColor"})]}),o_=e=>c.jsx(G8,{...e,strokeWidth:Y}),i_=e=>c.jsx(G8,{...e,strokeWidth:Q}),K8=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:ff,stroke:"currentColor",strokeLinejoin:"round"})}),s_=e=>c.jsx(K8,{...e,strokeWidth:Y}),a_=e=>c.jsx(K8,{...e,strokeWidth:Q}),Y8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.5303 6.53027L8.80273 10.2578C8.54967 10.5109 8.31796 10.7439 8.10645 10.9141C7.88375 11.0932 7.616 11.2602 7.27344 11.3145C7.09229 11.3431 6.90771 11.3431 6.72656 11.3145C6.384 11.2602 6.11625 11.0932 5.89355 10.9141C5.68204 10.7439 5.45033 10.5109 5.19727 10.2578L3.46973 8.53027L4.53027 7.46973L6.25781 9.19727C6.53457 9.47402 6.70036 9.63859 6.83398 9.74609C6.95637 9.84453 6.98241 9.83644 6.96094 9.83301C6.98679 9.83709 7.01321 9.83709 7.03906 9.83301C7.01759 9.83644 7.04363 9.84453 7.16602 9.74609C7.29964 9.63859 7.46543 9.47402 7.74219 9.19727L11.4697 5.46973L12.5303 6.53027Z",fill:"currentColor"}),c.jsx("path",{d:"M14.5996 8C14.5996 4.35492 11.6451 1.40039 8 1.40039C4.35492 1.40039 1.40039 4.35492 1.40039 8C1.40039 11.6451 4.35492 14.5996 8 14.5996C11.6451 14.5996 14.5996 11.6451 14.5996 8ZM15.9004 8C15.9004 12.363 12.363 15.9004 8 15.9004C3.63695 15.9004 0.0996094 12.363 0.0996094 8C0.0996094 3.63695 3.63695 0.0996094 8 0.0996094C12.363 0.0996094 15.9004 3.63695 15.9004 8Z",fill:"currentColor"})]}),J8=e=>c.jsx(Y8,{...e,strokeWidth:Y}),l_=e=>c.jsx(Y8,{...e,strokeWidth:Q}),Q8=({size:e=20,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.8659 2.05975C17.2603 2.05995 18.3913 3.19096 18.3914 4.58527V5.4874C18.3914 6.02747 18.2192 6.52672 17.9303 6.93735C17.9336 6.96524 17.9388 6.99318 17.9388 7.02195V12.8884C17.9388 13.6345 17.9395 14.2379 17.8996 14.7254C17.8642 15.1593 17.7936 15.5499 17.6373 15.9141L17.5654 16.0685C17.278 16.6328 16.8405 17.1046 16.3038 17.434L16.0679 17.5661C15.66 17.7739 15.2196 17.8598 14.7237 17.9003C14.2362 17.9401 13.6327 17.9405 12.8867 17.9405H7.11122C6.36511 17.9405 5.76171 17.9401 5.27418 17.9003C4.84051 17.8649 4.44949 17.7952 4.08545 17.6391L3.93104 17.5661C3.36673 17.2785 2.89392 16.8414 2.56465 16.3044L2.43245 16.0685C2.22473 15.6608 2.13878 15.2211 2.09825 14.7254C2.05841 14.2379 2.05912 13.6345 2.05912 12.8884V7.02195C2.05912 6.99284 2.06422 6.96449 2.06758 6.93629C1.77931 6.52592 1.60858 6.02687 1.60858 5.4874V4.58527C1.60876 3.19084 2.73962 2.05975 4.1341 2.05975H15.8659ZM16.4984 7.92936C16.296 7.98169 16.0847 8.01288 15.8659 8.01291H4.1341C3.91478 8.01291 3.70246 7.98194 3.49955 7.92936V12.8884C3.49955 13.6582 3.50053 14.1927 3.53445 14.608C3.56769 15.0146 3.62923 15.244 3.71635 15.415L3.7925 15.5514C3.98339 15.8627 4.25749 16.1165 4.58464 16.2833L4.72529 16.3435C4.88095 16.3993 5.08638 16.4402 5.39158 16.4651C5.80685 16.4991 6.34138 16.5001 7.11122 16.5001H12.8867C13.6564 16.5001 14.1911 16.499 14.6063 16.4651C15.0128 16.432 15.2423 16.3703 15.4133 16.2833L15.5508 16.2061C15.8618 16.0152 16.116 15.7419 16.2827 15.415L16.3429 15.2732C16.3985 15.1177 16.4396 14.9128 16.4645 14.608C16.4985 14.1927 16.4984 13.6583 16.4984 12.8884V7.92936ZM4.1341 3.50019C3.53511 3.50019 3.0492 3.98631 3.04902 4.58527V5.4874C3.04902 6.08649 3.535 6.57248 4.1341 6.57248H15.8659C16.4648 6.57228 16.951 6.08638 16.951 5.4874V4.58527C16.9509 3.98644 16.4647 3.50038 15.8659 3.50019H4.1341Z",fill:"currentColor"}),c.jsx("path",{d:"M10 14.1V10.1M7.85 12.05L10 9.9L12.15 12.05",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]}),c_=e=>c.jsx(Q8,{...e,strokeWidth:Y}),u_=e=>c.jsx(Q8,{...e,strokeWidth:Q}),X8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M9.96976 1.70572L13.1554 3.93629L10.9019 8.12317L11.5158 11.605L10.7192 12.7427L2.52767 7.00693L3.3243 5.86922L6.80612 5.25528L9.96976 1.70572Z",stroke:"currentColor",strokeLinejoin:"round"}),c.jsx("path",{d:"M6.05285 9.47511C6.27284 9.16094 6.70586 9.08458 7.02003 9.30457C7.3342 9.52455 7.41055 9.95757 7.19057 10.2717L3.98587 14.4708L3.21223 13.9291L6.05285 9.47511Z",fill:"currentColor"})]}),d_=e=>c.jsx(X8,{...e,strokeWidth:Y}),f_=e=>c.jsx(X8,{...e,strokeWidth:Q}),e7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M9.96976 1.70572L13.1554 3.93629L10.9019 8.12317L11.5158 11.605L10.7192 12.7427L2.52767 7.00693L3.3243 5.86922L6.80612 5.25528L9.96976 1.70572Z",fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round"}),c.jsx("path",{d:"M6.05285 9.47511C6.27284 9.16094 6.70586 9.08458 7.02003 9.30457C7.3342 9.52455 7.41055 9.95757 7.19057 10.2717L3.98587 14.4708L3.21223 13.9291L6.05285 9.47511Z",fill:"currentColor"})]}),h_=e=>c.jsx(e7,{...e,strokeWidth:Y}),p_=e=>c.jsx(e7,{...e,strokeWidth:Q}),t7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6 3.5h7.5M6 8h7.5M6 12.5h7.5"}),c.jsx("path",{d:"M2.6 3.5h.01M2.6 8h.01M2.6 12.5h.01"})]}),m_=e=>c.jsx(t7,{...e,strokeWidth:Y}),g_=e=>c.jsx(t7,{...e,strokeWidth:Q}),n7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M14 12.05c0 .8-.65 1.45-1.46 1.45H3.46C2.65 13.5 2 12.85 2 12.05v-8.1c0-.8.65-1.45 1.46-1.45h2.4c.49 0 .94.24 1.21.65l.5.73c.27.4.73.65 1.21.65h3.76c.8 0 1.46.65 1.46 1.45v6.02Z"}),c.jsx("path",{d:"M8.7 8.1v3M11.2 8.1v3"})]}),v_=e=>c.jsx(n7,{...e,strokeWidth:Y}),w_=e=>c.jsx(n7,{...e,strokeWidth:Q}),r7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"m5.1 6 2.9-2.9L10.9 6"}),c.jsx("path",{d:"m5.1 10 2.9 2.9 2.9-2.9"})]}),y_=e=>c.jsx(r7,{...e,strokeWidth:Y}),x_=e=>c.jsx(r7,{...e,strokeWidth:Q}),o7=({size:e=16,className:t,strokeWidth:n})=>{const r=`dsh-archive-off-${k.useId().replaceAll(":","")}`;return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsxs("mask",{id:r,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:[c.jsx("rect",{x:"0",y:"0",width:"16",height:"16",fill:"white",stroke:"none"}),c.jsx("path",{d:"m2.2 1.3 11.6 12.8",stroke:"black",strokeWidth:n+3})]}),c.jsxs("g",{mask:`url(#${r})`,children:[c.jsx("rect",{x:"1.9",y:"2.1",width:"12.2",height:"3.4",rx:"1.1"}),c.jsx("path",{d:"M2.95 5.7v4.8a2.9 2.9 0 0 0 2.9 2.9h4.3a2.9 2.9 0 0 0 2.9-2.9V5.7"})]}),c.jsx("path",{d:"m2.2 1.3 11.6 12.8"})]})},__=e=>c.jsx(o7,{...e,strokeWidth:Y}),C_=e=>c.jsx(o7,{...e,strokeWidth:Q}),i7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("rect",{x:"1.9",y:"2.1",width:"12.2",height:"3.4",rx:"1.1"}),c.jsx("path",{d:"M2.95 5.7v4.8a2.9 2.9 0 0 0 2.9 2.9h4.3a2.9 2.9 0 0 0 2.9-2.9V5.7"}),c.jsx("path",{d:"m6 9.35 1.4 1.4 2.6-2.6"})]}),b_=e=>c.jsx(i7,{...e,strokeWidth:Y}),k_=e=>c.jsx(i7,{...e,strokeWidth:Q}),s7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.3 5h5.85M12.05 5h1.65"}),c.jsx("circle",{cx:"9.95",cy:"5",r:"1.45"}),c.jsx("path",{d:"M2.3 11h1.65M7.85 11h5.85"}),c.jsx("circle",{cx:"5.75",cy:"11",r:"1.45"})]}),S_=e=>c.jsx(s7,{...e,strokeWidth:Y}),j_=e=>c.jsx(s7,{...e,strokeWidth:Q}),a7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,viewBox:"0 0 16 16",className:t,fill:"none",stroke:"currentColor",strokeWidth:n,"aria-hidden":"true",children:[c.jsx("rect",{x:4.5+n/2,y:1+n/2,width:7-n,height:10-n,rx:(7-n)/2}),c.jsx("path",{d:"M2.35 8.675C3.075 11.3 5.2 13.125 8 13.125C10.8 13.125 12.925 11.3 13.65 8.675M8 13.125V15"})]}),E_=e=>c.jsx(a7,{...e,strokeWidth:Y}),M_=e=>c.jsx(a7,{...e,strokeWidth:Q});function I_(e){e!==null&&(t5(e),e.addEventListener("animationstart",()=>{t5(e)}))}function t5(e){const t=e;for(const n of t.getAnimations?.({subtree:!0})??[])n.startTime=0}function K0({state:e,size:t,className:n,appearance:r="dot"}){const s=t??(e==="ongoing"?14:10);return e==="ongoing"?c.jsx("svg",{ref:I_,className:pe(Xo.spinner,n),"data-state":"ongoing",width:s,height:s,viewBox:"0 0 24 24","aria-hidden":"true",children:c.jsxs("g",{className:Xo.spinnerMotion,children:[c.jsx("circle",{className:Xo.spinnerTrack,cx:"12",cy:"12",r:"9.5"}),c.jsx("circle",{className:Xo.spinnerArc,cx:"12",cy:"12",r:"9.5"})]})}):c.jsx("span",{className:pe(r==="step"?Xo.step:Xo.dot,n),"data-state":e,style:{width:s,height:s},"aria-hidden":"true",children:r==="step"&&e==="done"&&c.jsx(xi,{size:s-2})})}const Mu=new Map,l7=new Map;function O_(e){const t=Mu.get(e);if(t)return t;const n=new AbortController,r=setTimeout(()=>n.abort(),1e4),s=fetch(e,{credentials:"same-origin",signal:n.signal}).then(async l=>{if(!l.ok)throw new Error("Icon presentation unavailable");const u=await l.json();if(!u||typeof u!="object"||Array.isArray(u))throw new Error("Invalid icon catalog");const f=u;return l7.set(e,f),f}).catch(l=>{throw Mu.delete(e),l}).finally(()=>clearTimeout(r));return Mu.set(e,s),s}function c7({id:e,src:t,presentationUrl:n,size:r,className:s,fallback:l}){const[u,f]=k.useState(()=>{const m=l7.get(n);return m?{url:n,icons:m}:null});if(k.useEffect(()=>{let m=!0;return O_(n).then(v=>{m&&f({url:n,icons:v})},()=>{m&&f(null)}),()=>{m=!1}},[n]),!u||u.url!==n)return l;const p=u.icons[e];if(p?.vector){const{paths:m,color:v,viewBox:w}=p.vector;return c.jsx("svg",{className:s,viewBox:w,width:r,height:r,"aria-hidden":"true",focusable:"false",style:{fill:v,flex:"none"},children:m.map((y,x)=>c.jsx("path",{d:y.d,fillRule:y.fillRule,fill:y.fill},x))})}return c.jsx(L_,{src:t,size:r,className:s,presentation:p,fallback:l},t)}function L_({src:e,size:t,className:n,presentation:r,fallback:s}){const[l,u]=k.useState(!1);return l?s:c.jsx("img",{src:e,width:t,height:t,className:n,alt:"","aria-hidden":"true",draggable:!1,style:{objectFit:"contain",flex:"none",...r?.borderRadius===void 0?{}:{borderRadius:`${r.borderRadius}%`},...r?.background?{background:r.background}:{},...r?.paddingRatio?{boxSizing:"border-box",padding:Math.max(1,Math.round(t*r.paddingRatio))}:{}},onError:()=>u(!0)})}function T_({size:e=16,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[c.jsx("rect",{x:"4",y:"3",width:"16",height:"18",rx:"3"}),c.jsx("path",{d:"M9 10h6m-3-3v6m-3 4h6"})]})}function z_({size:e=16,className:t}){return c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:Y,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:c.jsx("path",{d:"M6.5 13a1.5 1.5 0 0 0 3 0M8 1.5v1M4 6.5a4 4 0 0 1 8 0c0 3 1.5 4 1.5 4.5h-11C2.5 10.5 4 9.5 4 6.5Z"})})}const P_="_root_r2lcn_1",N_="_content_r2lcn_11",A_="_text_r2lcn_17",R_="_decoration_r2lcn_25",F_="_sweep_r2lcn_34",D_="_highlight_r2lcn_54",ho={root:P_,content:N_,text:A_,decoration:R_,sweep:F_,highlight:D_},ba=k.createContext(void 0);function n5({children:e,className:t}){const r=k.useContext(ba)===!0&&typeof e=="string";return c.jsx("span",{className:pe(ho.text,t),"data-shimmer-text":r?e:void 0,children:r?null:e})}const c0=k.memo(function({children:t,active:n=!1,className:r,contentClassName:s}){if(k.useContext(ba)!==void 0)return c.jsx(n5,{className:r,children:t});const u=typeof t=="string"?c.jsx(n5,{children:t}):t;return c.jsxs("span",{className:pe(ho.root,r),"data-shimmer":n||void 0,children:[c.jsx(ba.Provider,{value:!1,children:c.jsx("span",{className:pe(ho.content,s),children:u})}),n&&c.jsx("span",{className:ho.decoration,"aria-hidden":"true",inert:"",children:c.jsx("span",{className:ho.sweep,children:c.jsx(ba.Provider,{value:!0,children:c.jsx("span",{className:pe(ho.content,ho.highlight,s),children:u})})})})]})}),$_="_root_jhda5_9",H_="_row_jhda5_16",V_="_leading_jhda5_35",B_="_iconIdle_jhda5_63",Z_="_chevronHover_jhda5_69",W_="_title_jhda5_85",so={root:$_,row:H_,leading:V_,iconIdle:B_,chevronHover:Z_,title:W_},U_=k.memo(function({icon:t,title:n,open:r,expandable:s,onToggle:l,running:u=!1,expandOnRowClick:f=!1,previewChevron:p=s,keepContentWhenOpen:m=!1,collapsedContent:v,children:w,className:y,rowClassName:x,contentClassName:C,contentLayoutClassName:E,leadingClassName:M,chevronClassName:P,titleClassName:O}){const $=s&&f,z=H=>{H.stopPropagation(),l()},W=H=>{!$||H.key!=="Enter"&&H.key!==" "||(H.preventDefault(),l())},V=p?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:so.iconIdle,children:t}),c.jsx(bf,{className:pe(P,so.chevronHover)})]}):t,J=r?c.jsx(If,{className:P}):V;return c.jsxs("div",{className:pe(so.root,y),"data-open":r||void 0,children:[c.jsxs("div",{className:pe(so.row,x),"data-disclosure-row":!0,"data-expandable":$||void 0,role:$?"button":void 0,tabIndex:$?0:void 0,"aria-expanded":$?r:void 0,onClick:$?l:void 0,onKeyDown:$?W:void 0,children:[s&&!$?c.jsx("button",{type:"button",className:pe(so.leading,M),"aria-label":n,"aria-expanded":r,onClick:z,children:J}):c.jsx("span",{className:pe(so.leading,M),children:J}),c.jsxs(c0,{active:u,className:C,contentClassName:E,children:[c.jsx(c0,{className:pe(so.title,O),children:n}),(m||!r)&&v]})]}),r&&w]})}),q_="_button_1rv3m_2",G_="_md_1rv3m_23",K_="_sm_1rv3m_28",Y_="_primary_1rv3m_36",J_="_ghost_1rv3m_45",Q_="_outline_1rv3m_54",X_="_toolbar_1rv3m_63",eC="_icon_1rv3m_71",da={button:q_,md:G_,sm:K_,primary:Y_,ghost:J_,outline:Q_,toolbar:X_,icon:eC},u0=k.forwardRef(function({variant:t="ghost",size:n="md",icon:r,className:s,children:l,...u},f){return c.jsxs("button",{ref:f,type:"button",className:pe(da.button,da[t],da[n],s),...u,children:[r!=null&&c.jsx("span",{className:da.icon,children:r}),l]})}),tC="_pill_1bqmh_1",nC="_interactive_1bqmh_16",rC="_active_1bqmh_24",ps={pill:tC,interactive:nC,active:rC};function Y0({active:e=!1,className:t,children:n,onClick:r,...s}){return r?c.jsx("button",{type:"button",className:pe(ps.pill,ps.interactive,e&&ps.active,t),onClick:r,...s,children:n}):c.jsx("span",{className:pe(ps.pill,e&&ps.active,t),children:n})}const oC="_row_j36gx_3",iC="_rowText_j36gx_12",sC="_title_j36gx_20",aC="_description_j36gx_27",lC="_choices_j36gx_34",cC="_choice_j36gx_34",uC={row:oC,rowText:iC,title:sC,description:aC,choices:lC,choice:cC},dC="_tabs_19aqj_1",fC="_indicator_19aqj_9",hC="_tab_19aqj_1",Iu={tabs:dC,indicator:fC,tab:hC};function pC({items:e,value:t,onChange:n,label:r,className:s}){const l=e.findIndex(f=>f.value===t),u=(f,p)=>{let m;switch(f.key){case"ArrowLeft":m=(p+e.length-1)%e.length;break;case"ArrowRight":m=(p+1)%e.length;break;case"Home":m=0;break;case"End":m=e.length-1;break;default:return}f.preventDefault(),f.stopPropagation();const v=f.currentTarget.parentElement,w=e[m];v===null||w===void 0||(v.querySelectorAll('[role="tab"]').item(m).focus(),n(w.value))};return c.jsxs("div",{role:"tablist","aria-label":r,className:pe(Iu.tabs,s),style:{gridTemplateColumns:`repeat(${e.length}, minmax(0, 1fr))`},children:[c.jsx("span",{className:Iu.indicator,"aria-hidden":"true",style:{width:`calc((100% - 8px) / ${e.length})`,transform:`translateX(${l*100}%)`}}),e.map((f,p)=>c.jsx(Y0,{id:f.id,role:"tab",className:Iu.tab,"aria-selected":t===f.value,"aria-controls":f.panelId,tabIndex:t===f.value?0:-1,onClick:()=>{n(f.value)},onKeyDown:m=>{u(m,p)},children:f.label},f.value))]})}const mC="_tag_usm2l_4",gC={tag:mC};function J0({tone:e="outline",className:t,children:n}){return c.jsx("span",{className:pe(gC.tag,t),"data-tone":e,children:n})}function vC(e){const t=e.replace(/[/\\]+$/,"");if(t==="")return{directory:"",name:e};const n=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"))+1;return{directory:t.slice(0,n),name:t.slice(n)}}const wC="_path_1kiio_3",yC="_text_1kiio_17",xC="_directory_1kiio_22",_C="_name_1kiio_26",fa={path:wC,text:yC,directory:xC,name:_C};function CC({path:e,className:t,...n}){const r=k.useRef(null),s=k.useRef(null),{directory:l,name:u}=vC(e);return k.useLayoutEffect(()=>{const f=r.current,p=s.current,m=()=>{f.toggleAttribute("data-path-clipped",p.offsetWidth>f.clientWidth)};m();const v=typeof ResizeObserver>"u"?void 0:new ResizeObserver(m);return v?.observe(f),v?.observe(p),()=>{v?.disconnect()}},[e]),c.jsx("span",{...n,ref:r,className:pe(fa.path,t),title:e,"data-path-label":!0,children:c.jsxs("span",{ref:s,className:fa.text,children:[l!==""&&c.jsx("span",{className:fa.directory,children:l}),c.jsx("span",{className:fa.name,children:u})]})})}const bC="_thumb_x6xd3_34",r5={switch:"_switch_x6xd3_5",thumb:bC};function kC({checked:e,onChange:t,label:n,disabled:r=!1,title:s,className:l}){return c.jsx("button",{type:"button",role:"switch","aria-checked":e,"aria-label":n,title:s,disabled:r,className:pe(r5.switch,l),onClick:()=>{t(!e)},children:c.jsx("span",{className:r5.thumb})})}const SC="_control_1oziv_11",jC="_indicator_1oziv_22",EC="_tab_1oziv_37",Ou={control:SC,indicator:jC,tab:EC};function MC(e){return e==="ArrowLeft"||e==="ArrowRight"||e==="ArrowUp"||e==="ArrowDown"||e==="Home"||e==="End"}function IC(e,t,n){const r=e.filter(u=>u.disabled!==!0);if(n==="Home")return r[0];if(n==="End")return r[r.length-1];const s=n==="ArrowRight"||n==="ArrowDown"?1:-1,l=e.length;for(let u=1;u<l;u+=1){const f=e[((t+s*u)%l+l)%l];if(f!==void 0&&f.disabled!==!0)return f}}function OC({id:e,value:t,options:n,onChange:r,label:s,disabled:l=!1,className:u}){const f=k.useRef(null),p=n.findIndex(w=>w.value===t);k.useEffect(()=>{const w=f.current;w!==null&&w.contains(document.activeElement)&&w.querySelector('[role="tab"][aria-selected="true"]')?.focus()},[t]);const m=w=>{if(!MC(w.key))return;w.preventDefault();const y=IC(n,p,w.key);y!==void 0&&y.value!==t&&r(y.value)},v={"--dsh-segment-count":String(n.length),"--dsh-segment-index":String(p)};return c.jsxs("div",{ref:f,role:"tablist","aria-label":s,className:pe(Ou.control,u),style:v,children:[c.jsx("span",{"aria-hidden":"true",className:Ou.indicator}),n.map(w=>{const y=w.value===t;return c.jsx("button",{id:`${e}-${w.value}`,type:"button",role:"tab","aria-selected":y,"aria-controls":`${e}-${w.value}-panel`,tabIndex:y?0:-1,disabled:l||w.disabled===!0,title:w.title,className:Ou.tab,onClick:()=>{y||r(w.value)},onKeyDown:m,children:w.label},w.value)})]})}const LC="_checkbox_oegbd_1",TC={checkbox:LC};function zC({checked:e,onChange:t,label:n,disabled:r=!1,title:s,className:l}){return c.jsxs("label",{className:pe(TC.checkbox,l),title:s,children:[c.jsx("input",{type:"checkbox",checked:e,disabled:r,onChange:u=>{t(u.target.checked)}}),c.jsx("span",{children:n})]})}const PC="_wrap_14sgc_1",NC="_icon_14sgc_16",AC="_input_14sgc_25",Lu={wrap:PC,icon:NC,input:AC},RC=k.forwardRef(function({icon:t,className:n,...r},s){return c.jsxs("span",{className:pe(Lu.wrap,n),children:[t!=null&&c.jsx("span",{className:Lu.icon,children:t}),c.jsx("input",{ref:s,className:Lu.input,...r})]})}),FC="_editor_61ozo_1",DC={editor:FC};function $C({value:e,label:t,onChange:n,onSave:r,onCancel:s,className:l}){const u=k.useRef(null);k.useLayoutEffect(()=>{const p=u.current,m=()=>{p.style.height="auto",p.style.height=`${p.scrollHeight+p.offsetHeight-p.clientHeight}px`};m();const v=new ResizeObserver(m);return v.observe(p),()=>{v.disconnect()}},[e]);const f=p=>{if(p.key==="Escape"){s();return}const m=p.nativeEvent.isComposing||Reflect.get(p.nativeEvent,"keyCode")===229;p.key!=="Enter"||p.shiftKey||m||(p.preventDefault(),r())};return c.jsx("textarea",{ref:u,autoFocus:!0,rows:1,className:pe(DC.editor,l),"aria-label":t,value:e,onChange:p=>{n(p.currentTarget.value)},onKeyDown:f})}function mi(e){const t=document.documentElement,n=Number.parseFloat(getComputedStyle(t).getPropertyValue("--dsh-frame-top-clearance"));return Number.isNaN(n)?e:Math.max(e,(t.hasAttribute("data-fullscreen")?0:n)+20)}const HC=200;function u7(e){const t=k.useRef(null),n=k.useRef(e);n.current=e;const r=k.useCallback(()=>{t.current!==null&&(clearTimeout(t.current),t.current=null)},[]),s=k.useCallback(()=>{r(),t.current=setTimeout(()=>{t.current=null,n.current()},HC)},[r]);return k.useEffect(()=>r,[r]),{arm:s,cancel:r}}function ll(e){let t=!1,n=!1;const r=()=>{t=!0},s=()=>{t=!1,n=!0},l=()=>{n=!1},u=()=>{t=!1,n=!1};return e.addEventListener("compositionstart",r,!0),e.addEventListener("compositionend",s,!0),e.addEventListener("keyup",l,!0),e.defaultView?.addEventListener("blur",u),{guards:f=>{const p=t||n||f.isComposing||f.keyCode===229;return n=!1,p},dispose:()=>{e.removeEventListener("compositionstart",r,!0),e.removeEventListener("compositionend",s,!0),e.removeEventListener("keyup",l,!0),e.defaultView?.removeEventListener("blur",u)}}}/*!
59
+ * Bowser - a browser detector
60
+ * https://github.com/lancedikson/bowser
61
+ * MIT License | (c) Dustin Diaz 2012-2015
62
+ * MIT License | (c) Denis Demchenko 2015-2026
63
+ */var VC={AmazonBot:"amazonbot","Amazon Silk":"amazon_silk","Android Browser":"android",BaiduSpider:"baiduspider",Bada:"bada",BingCrawler:"bingcrawler",Brave:"brave",BlackBerry:"blackberry","ChatGPT-User":"chatgpt_user",Chrome:"chrome",ClaudeBot:"claudebot",Chromium:"chromium",Diffbot:"diffbot",DuckDuckBot:"duckduckbot",DuckDuckGo:"duckduckgo",Electron:"electron",Epiphany:"epiphany",FacebookExternalHit:"facebookexternalhit",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot",GPTBot:"gptbot","HeyTap Browser":"heytap","Internet Explorer":"ie",InternetArchiveCrawler:"internetarchivecrawler","K-Meleon":"k_meleon",Ladybird:"ladybird",LibreWolf:"librewolf",Linespider:"linespider",Maxthon:"maxthon","Meta-ExternalAds":"meta_externalads","Meta-ExternalAgent":"meta_externalagent","Meta-ExternalFetcher":"meta_externalfetcher","Meta-WebIndexer":"meta_webindexer","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver","OAI-SearchBot":"oai_searchbot",Omgilibot:"omgilibot",Opera:"opera","Opera Coast":"opera_coast","Pale Moon":"pale_moon",PerplexityBot:"perplexitybot","Perplexity-User":"perplexity_user",PhantomJS:"phantomjs",PingdomBot:"pingdombot",Puffin:"puffin",QQ:"qq",QQLite:"qqlite",QupZilla:"qupzilla",Roku:"roku",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SlackBot:"slackbot",SeaMonkey:"seamonkey",Sleipnir:"sleipnir","Sogou Browser":"sogou",Swing:"swing",Tizen:"tizen","UC Browser":"uc","Vivo Browser":"vivo",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat",YahooSlurp:"yahooslurp","Yandex Browser":"yandex",YandexBot:"yandexbot",YouBot:"youbot"},d7={amazonbot:"AmazonBot",amazon_silk:"Amazon Silk",android:"Android Browser",baiduspider:"BaiduSpider",bada:"Bada",bingcrawler:"BingCrawler",blackberry:"BlackBerry",brave:"Brave",chatgpt_user:"ChatGPT-User",chrome:"Chrome",claudebot:"ClaudeBot",chromium:"Chromium",diffbot:"Diffbot",duckduckbot:"DuckDuckBot",duckduckgo:"DuckDuckGo",edge:"Microsoft Edge",electron:"Electron",epiphany:"Epiphany",facebookexternalhit:"FacebookExternalHit",firefox:"Firefox",focus:"Focus",generic:"Generic",google_search:"Google Search",googlebot:"Googlebot",gptbot:"GPTBot",heytap:"HeyTap Browser",ie:"Internet Explorer",internetarchivecrawler:"InternetArchiveCrawler",k_meleon:"K-Meleon",ladybird:"Ladybird",librewolf:"LibreWolf",linespider:"Linespider",maxthon:"Maxthon",meta_externalads:"Meta-ExternalAds",meta_externalagent:"Meta-ExternalAgent",meta_externalfetcher:"Meta-ExternalFetcher",meta_webindexer:"Meta-WebIndexer",mz:"MZ Browser",naver:"NAVER Whale Browser",oai_searchbot:"OAI-SearchBot",omgilibot:"Omgilibot",opera:"Opera",opera_coast:"Opera Coast",pale_moon:"Pale Moon",perplexitybot:"PerplexityBot",perplexity_user:"Perplexity-User",phantomjs:"PhantomJS",pingdombot:"PingdomBot",puffin:"Puffin",qq:"QQ Browser",qqlite:"QQ Browser Lite",qupzilla:"QupZilla",roku:"Roku",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",slackbot:"SlackBot",sleipnir:"Sleipnir",sogou:"Sogou Browser",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivo:"Vivo Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yahooslurp:"YahooSlurp",yandex:"Yandex Browser",yandexbot:"YandexBot",youbot:"YouBot"},Pe={bot:"bot",desktop:"desktop",mobile:"mobile",tablet:"tablet",tv:"tv"},Ft={Android:"Android",Bada:"Bada",BlackBerry:"BlackBerry",ChromeOS:"Chrome OS",HarmonyOS:"HarmonyOS",iOS:"iOS",Linux:"Linux",MacOS:"macOS",PlayStation4:"PlayStation 4",Roku:"Roku",Tizen:"Tizen",WebOS:"WebOS",Windows:"Windows",WindowsPhone:"Windows Phone"},ur={Blink:"Blink",EdgeHTML:"EdgeHTML",Gecko:"Gecko",LibWeb:"LibWeb",Presto:"Presto",Trident:"Trident",WebKit:"WebKit"},A=(function(){function e(){}return e.getFirstMatch=function(n,r){var s=r.match(n);return s&&s.length>0&&s[1]||""},e.getSecondMatch=function(n,r){var s=r.match(n);return s&&s.length>1&&s[2]||""},e.matchAndReturnConst=function(n,r,s){if(n.test(r))return s},e.isFirefoxOnIpad=function(n){var r=n.indexOf("Macintosh");if(r===-1)return!1;var s=n.indexOf(" FxiOS",r+9);return s!==-1&&n.indexOf("/",s+6)!==-1},e.getWindowsVersionName=function(n){switch(n){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(n){var r=n.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});r.push(0);var s=r[0],l=r[1];if(s===10)switch(l){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}switch(s){case 11:return"Big Sur";case 12:return"Monterey";case 13:return"Ventura";case 14:return"Sonoma";case 15:return"Sequoia";default:return}},e.getAndroidVersionName=function(n){var r=n.split(".").splice(0,2).map(function(s){return parseInt(s,10)||0});if(r.push(0),!(r[0]===1&&r[1]<5)){if(r[0]===1&&r[1]<6)return"Cupcake";if(r[0]===1&&r[1]>=6)return"Donut";if(r[0]===2&&r[1]<2)return"Eclair";if(r[0]===2&&r[1]===2)return"Froyo";if(r[0]===2&&r[1]>2)return"Gingerbread";if(r[0]===3)return"Honeycomb";if(r[0]===4&&r[1]<1)return"Ice Cream Sandwich";if(r[0]===4&&r[1]<4)return"Jelly Bean";if(r[0]===4&&r[1]>=4)return"KitKat";if(r[0]===5)return"Lollipop";if(r[0]===6)return"Marshmallow";if(r[0]===7)return"Nougat";if(r[0]===8)return"Oreo";if(r[0]===9)return"Pie"}},e.getVersionPrecision=function(n){return n.split(".").length},e.compareVersions=function(n,r,s){s===void 0&&(s=!1);var l=e.getVersionPrecision(n),u=e.getVersionPrecision(r),f=Math.max(l,u),p=0,m=e.map([n,r],function(v){var w=f-e.getVersionPrecision(v),y=v+new Array(w+1).join(".0");return e.map(y.split("."),function(x){return new Array(20-x.length).join("0")+x}).reverse()});for(s&&(p=f-Math.min(l,u)),f-=1;f>=p;){if(m[0][f]>m[1][f])return 1;if(m[0][f]===m[1][f]){if(f===p)return 0;f-=1}else if(m[0][f]<m[1][f])return-1}},e.map=function(n,r){var s=[],l;if(Array.prototype.map)return Array.prototype.map.call(n,r);for(l=0;l<n.length;l+=1)s.push(r(n[l]));return s},e.find=function(n,r){var s,l;if(Array.prototype.find)return Array.prototype.find.call(n,r);for(s=0,l=n.length;s<l;s+=1){var u=n[s];if(r(u,s))return u}},e.assign=function(n){for(var r=n,s,l,u=arguments.length,f=new Array(u>1?u-1:0),p=1;p<u;p++)f[p-1]=arguments[p];if(Object.assign)return Object.assign.apply(Object,[n].concat(f));var m=function(){var w=f[s];typeof w=="object"&&w!==null&&Object.keys(w).forEach(function(y){r[y]=w[y]})};for(s=0,l=f.length;s<l;s+=1)m();return n},e.getBrowserAlias=function(n){return VC[n]},e.getBrowserTypeByAlias=function(n){return d7[n]||""},e})(),ze=/version\/(\d+(\.?_?\d+)+)/i,BC=[{test:[/gptbot/i],describe:function(t){var n={name:"GPTBot"},r=A.getFirstMatch(/gptbot\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/chatgpt-user/i],describe:function(t){var n={name:"ChatGPT-User"},r=A.getFirstMatch(/chatgpt-user\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/oai-searchbot/i],describe:function(t){var n={name:"OAI-SearchBot"},r=A.getFirstMatch(/oai-searchbot\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(t){var n={name:"ClaudeBot"},r=A.getFirstMatch(/(?:claudebot|claude-web|claude-user|claude-searchbot)\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(t){var n={name:"Omgilibot"},r=A.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/diffbot/i],describe:function(t){var n={name:"Diffbot"},r=A.getFirstMatch(/diffbot\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/perplexitybot/i],describe:function(t){var n={name:"PerplexityBot"},r=A.getFirstMatch(/perplexitybot\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/perplexity-user/i],describe:function(t){var n={name:"Perplexity-User"},r=A.getFirstMatch(/perplexity-user\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/youbot/i],describe:function(t){var n={name:"YouBot"},r=A.getFirstMatch(/youbot\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/meta-webindexer/i],describe:function(t){var n={name:"Meta-WebIndexer"},r=A.getFirstMatch(/meta-webindexer\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/meta-externalads/i],describe:function(t){var n={name:"Meta-ExternalAds"},r=A.getFirstMatch(/meta-externalads\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/meta-externalagent/i],describe:function(t){var n={name:"Meta-ExternalAgent"},r=A.getFirstMatch(/meta-externalagent\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/meta-externalfetcher/i],describe:function(t){var n={name:"Meta-ExternalFetcher"},r=A.getFirstMatch(/meta-externalfetcher\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/googlebot/i],describe:function(t){var n={name:"Googlebot"},r=A.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/linespider/i],describe:function(t){var n={name:"Linespider"},r=A.getFirstMatch(/(?:linespider)(?:-[-\w]{1,64})?[\s/](\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/amazonbot/i],describe:function(t){var n={name:"AmazonBot"},r=A.getFirstMatch(/amazonbot\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/bingbot/i],describe:function(t){var n={name:"BingCrawler"},r=A.getFirstMatch(/bingbot\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/baiduspider/i],describe:function(t){var n={name:"BaiduSpider"},r=A.getFirstMatch(/baiduspider\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/duckduckbot/i],describe:function(t){var n={name:"DuckDuckBot"},r=A.getFirstMatch(/duckduckbot\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/ia_archiver/i],describe:function(t){var n={name:"InternetArchiveCrawler"},r=A.getFirstMatch(/ia_archiver\/(\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{name:"FacebookExternalHit"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(t){var n={name:"SlackBot"},r=A.getFirstMatch(/(?:slackbot|slack-imgproxy)(?:-[-\w]{1,64})?[\s/](\d+(\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/yahoo!?[\s/]*slurp/i],describe:function(){return{name:"YahooSlurp"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{name:"YandexBot"}}},{test:[/pingdom/i],describe:function(){return{name:"PingdomBot"}}},{test:[/opera/i],describe:function(t){var n={name:"Opera"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/opr\/|opios/i],describe:function(t){var n={name:"Opera"},r=A.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/SamsungBrowser/i],describe:function(t){var n={name:"Samsung Internet for Android"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/Whale/i],describe:function(t){var n={name:"NAVER Whale Browser"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/PaleMoon/i],describe:function(t){var n={name:"Pale Moon"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/HeyTapBrowser/i],describe:function(t){var n={name:"HeyTap Browser"},r=A.getFirstMatch(/(?:HeyTapBrowser)[\s/](\d+(?:\.\d+)*)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/VivoBrowser/i],describe:function(t){var n={name:"Vivo Browser"},r=A.getFirstMatch(/(?:VivoBrowser)[\s/](\d+(?:\.\d+)*)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/MZBrowser/i],describe:function(t){var n={name:"MZ Browser"},r=A.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/focus/i],describe:function(t){var n={name:"Focus"},r=A.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/swing/i],describe:function(t){var n={name:"Swing"},r=A.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/coast/i],describe:function(t){var n={name:"Opera Coast"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(t){var n={name:"Opera Touch"},r=A.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/yabrowser/i],describe:function(t){var n={name:"Yandex Browser"},r=A.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/ucbrowser/i],describe:function(t){var n={name:"UC Browser"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/Maxthon|mxios/i],describe:function(t){var n={name:"Maxthon"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/epiphany/i],describe:function(t){var n={name:"Epiphany"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/puffin/i],describe:function(t){var n={name:"Puffin"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/sleipnir/i],describe:function(t){var n={name:"Sleipnir"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/k-meleon/i],describe:function(t){var n={name:"K-Meleon"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/micromessenger/i],describe:function(t){var n={name:"WeChat"},r=A.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/qqbrowser/i],describe:function(t){var n={name:/qqbrowserlite/i.test(t)?"QQ Browser Lite":"QQ Browser"},r=A.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/msie|trident/i],describe:function(t){var n={name:"Internet Explorer"},r=A.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/\sedg\//i],describe:function(t){var n={name:"Microsoft Edge"},r=A.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/edg([ea]|ios)\//i],describe:function(t){var n={name:"Microsoft Edge"},r=A.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){return t.hasBrand("Vivaldi")?!0:t.test(/vivaldi/i)},describe:function(t,n){var r={name:"Vivaldi"};if(n){var s=n.getBrandVersion("Vivaldi");if(s)return r.version=s,r}var l=A.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return l&&(r.version=l),r}},{test:[/seamonkey/i],describe:function(t){var n={name:"SeaMonkey"},r=A.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/sailfish/i],describe:function(t){var n={name:"Sailfish"},r=A.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,t);return r&&(n.version=r),n}},{test:[/silk/i],describe:function(t){var n={name:"Amazon Silk"},r=A.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/phantom/i],describe:function(t){var n={name:"PhantomJS"},r=A.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/slimerjs/i],describe:function(t){var n={name:"SlimerJS"},r=A.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var n={name:"BlackBerry"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var n={name:"WebOS Browser"},r=A.getFirstMatch(ze,t)||A.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/bada/i],describe:function(t){var n={name:"Bada"},r=A.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/tizen/i],describe:function(t){var n={name:"Tizen"},r=A.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/qupzilla/i],describe:function(t){var n={name:"QupZilla"},r=A.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/librewolf/i],describe:function(t){var n={name:"LibreWolf"},r=A.getFirstMatch(/(?:librewolf)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var n={name:"Firefox"},r=A.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/electron/i],describe:function(t){var n={name:"Electron"},r=A.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/sogoumobilebrowser/i,/metasr/i,/se 2\.[x]/i],describe:function(t){var n={name:"Sogou Browser"},r=A.getFirstMatch(/(?:sogoumobilebrowser)[\s/](\d+(\.?_?\d+)+)/i,t),s=A.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t),l=A.getFirstMatch(/se ([\d.]+)x/i,t),u=r||s||l;return u&&(n.version=u),n}},{test:[/MiuiBrowser/i],describe:function(t){var n={name:"Miui"},r=A.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){return t.hasBrand("DuckDuckGo")?!0:t.test(/\sDdg\/[\d.]+$/i)},describe:function(t,n){var r={name:"DuckDuckGo"};if(n){var s=n.getBrandVersion("DuckDuckGo");if(s)return r.version=s,r}var l=A.getFirstMatch(/\sDdg\/([\d.]+)$/i,t);return l&&(r.version=l),r}},{test:function(t){return t.hasBrand("Brave")},describe:function(t,n){var r={name:"Brave"};if(n){var s=n.getBrandVersion("Brave");if(s)return r.version=s,r}return r}},{test:[/chromium/i],describe:function(t){var n={name:"Chromium"},r=A.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/ladybird/i],describe:function(t){var n={name:"Ladybird"},r=A.getFirstMatch(/ladybird\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/chrome|crios|crmo/i],describe:function(t){var n={name:"Chrome"},r=A.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/GSA/i],describe:function(t){var n={name:"Google Search"},r=A.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){var n=!t.test(/like android/i),r=t.test(/android/i);return n&&r},describe:function(t){var n={name:"Android Browser"},r=A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/playstation 4/i],describe:function(t){var n={name:"PlayStation 4"},r=A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/safari|applewebkit/i],describe:function(t){var n={name:"Safari"},r=A.getFirstMatch(ze,t);return r&&(n.version=r),n}},{test:[/.*/i],describe:function(t){var n=t.search("\\(")!==-1?/^(.*)\/([^/]*)[ \t]\((.*)/:/^(.*)\/([^/]*) /;return{name:A.getFirstMatch(n,t),version:A.getSecondMatch(n,t)}}}],ZC=[{test:[/Roku\/DVP/],describe:function(t){var n=A.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:Ft.Roku,version:n}}},{test:[/windows phone/i],describe:function(t){var n=A.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:Ft.WindowsPhone,version:n}}},{test:[/windows /i],describe:function(t){var n=A.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),r=A.getWindowsVersionName(n);return{name:Ft.Windows,version:n,versionName:r}}},{test:function(t){return A.isFirefoxOnIpad(t.getUA())},describe:function(t){var n={name:Ft.iOS},r=A.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return r&&(n.version=r),n}},{test:[/macintosh/i],describe:function(t){var n=A.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),r=A.getMacOSVersionName(n),s={name:Ft.MacOS,version:n};return r&&(s.versionName=r),s}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var n=A.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:Ft.iOS,version:n}}},{test:[/OpenHarmony/i],describe:function(t){var n=A.getFirstMatch(/OpenHarmony\s+(\d+(\.\d+)*)/i,t);return{name:Ft.HarmonyOS,version:n}}},{test:function(t){var n=!t.test(/like android/i),r=t.test(/android/i);return n&&r},describe:function(t){var n=A.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),r=A.getAndroidVersionName(n),s={name:Ft.Android,version:n};return r&&(s.versionName=r),s}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var n=A.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),r={name:Ft.WebOS};return n&&n.length&&(r.version=n),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var n=A.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||A.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||A.getFirstMatch(/\bbb(\d+)/i,t);return{name:Ft.BlackBerry,version:n}}},{test:[/bada/i],describe:function(t){var n=A.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:Ft.Bada,version:n}}},{test:[/tizen/i],describe:function(t){var n=A.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:Ft.Tizen,version:n}}},{test:[/linux/i],describe:function(){return{name:Ft.Linux}}},{test:[/CrOS/],describe:function(){return{name:Ft.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var n=A.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:Ft.PlayStation4,version:n}}}],WC=[{test:[/googlebot/i],describe:function(){return{type:Pe.bot,vendor:"Google"}}},{test:[/linespider/i],describe:function(){return{type:Pe.bot,vendor:"Line"}}},{test:[/amazonbot/i],describe:function(){return{type:Pe.bot,vendor:"Amazon"}}},{test:[/gptbot/i],describe:function(){return{type:Pe.bot,vendor:"OpenAI"}}},{test:[/chatgpt-user/i],describe:function(){return{type:Pe.bot,vendor:"OpenAI"}}},{test:[/oai-searchbot/i],describe:function(){return{type:Pe.bot,vendor:"OpenAI"}}},{test:[/baiduspider/i],describe:function(){return{type:Pe.bot,vendor:"Baidu"}}},{test:[/bingbot/i],describe:function(){return{type:Pe.bot,vendor:"Bing"}}},{test:[/duckduckbot/i],describe:function(){return{type:Pe.bot,vendor:"DuckDuckGo"}}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(){return{type:Pe.bot,vendor:"Anthropic"}}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(){return{type:Pe.bot,vendor:"Webz.io"}}},{test:[/diffbot/i],describe:function(){return{type:Pe.bot,vendor:"Diffbot"}}},{test:[/perplexitybot/i],describe:function(){return{type:Pe.bot,vendor:"Perplexity AI"}}},{test:[/perplexity-user/i],describe:function(){return{type:Pe.bot,vendor:"Perplexity AI"}}},{test:[/youbot/i],describe:function(){return{type:Pe.bot,vendor:"You.com"}}},{test:[/ia_archiver/i],describe:function(){return{type:Pe.bot,vendor:"Internet Archive"}}},{test:[/meta-webindexer/i],describe:function(){return{type:Pe.bot,vendor:"Meta"}}},{test:[/meta-externalads/i],describe:function(){return{type:Pe.bot,vendor:"Meta"}}},{test:[/meta-externalagent/i],describe:function(){return{type:Pe.bot,vendor:"Meta"}}},{test:[/meta-externalfetcher/i],describe:function(){return{type:Pe.bot,vendor:"Meta"}}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{type:Pe.bot,vendor:"Meta"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(){return{type:Pe.bot,vendor:"Slack"}}},{test:[/yahoo/i],describe:function(){return{type:Pe.bot,vendor:"Yahoo"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{type:Pe.bot,vendor:"Yandex"}}},{test:[/pingdom/i],describe:function(){return{type:Pe.bot,vendor:"Pingdom"}}},{test:[/huawei/i],describe:function(t){var n=A.getFirstMatch(/(can-l01)/i,t)&&"Nova",r={type:Pe.mobile,vendor:"Huawei"};return n&&(r.model=n),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:Pe.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:Pe.tablet,vendor:"Apple",model:"iPad"}}},{test:function(t){return A.isFirefoxOnIpad(t.getUA())},describe:function(){return{type:Pe.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:Pe.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:Pe.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:Pe.tablet}}},{test:function(t){var n=t.test(/ipod|iphone/i),r=t.test(/like (ipod|iphone)/i);return n&&!r},describe:function(t){var n=A.getFirstMatch(/(ipod|iphone)/i,t);return{type:Pe.mobile,vendor:"Apple",model:n}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:Pe.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(t){var n=A.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,t),r={type:Pe.mobile,vendor:"Nokia"};return n&&(r.model=n),r}},{test:[/[^-]mobi/i],describe:function(){return{type:Pe.mobile}}},{test:function(t){return t.getBrowserName(!0)==="blackberry"},describe:function(){return{type:Pe.mobile,vendor:"BlackBerry"}}},{test:function(t){return t.getBrowserName(!0)==="bada"},describe:function(){return{type:Pe.mobile}}},{test:function(t){return t.getBrowserName()==="windows phone"},describe:function(){return{type:Pe.mobile,vendor:"Microsoft"}}},{test:function(t){var n=Number(String(t.getOSVersion()).split(".")[0]);return t.getOSName(!0)==="android"&&n>=3},describe:function(){return{type:Pe.tablet}}},{test:function(t){return t.getOSName(!0)==="android"},describe:function(){return{type:Pe.mobile}}},{test:[/smart-?tv|smarttv/i],describe:function(){return{type:Pe.tv}}},{test:[/netcast/i],describe:function(){return{type:Pe.tv}}},{test:function(t){return t.getOSName(!0)==="macos"},describe:function(){return{type:Pe.desktop,vendor:"Apple"}}},{test:function(t){return t.getOSName(!0)==="windows"},describe:function(){return{type:Pe.desktop}}},{test:function(t){return t.getOSName(!0)==="linux"},describe:function(){return{type:Pe.desktop}}},{test:function(t){return t.getOSName(!0)==="playstation 4"},describe:function(){return{type:Pe.tv}}},{test:function(t){return t.getOSName(!0)==="roku"},describe:function(){return{type:Pe.tv}}}],UC=[{test:function(t){return t.getBrowserName(!0)==="microsoft edge"},describe:function(t){if(/\sedg\//i.test(t))return{name:ur.Blink};var n=A.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:ur.EdgeHTML,version:n}}},{test:function(t){return t.getBrowserName(!0)==="ladybird"},describe:function(){return{name:ur.LibWeb}}},{test:[/trident/i],describe:function(t){var n={name:ur.Trident},r=A.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){return t.test(/presto/i)},describe:function(t){var n={name:ur.Presto},r=A.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){var n=t.test(/gecko/i),r=t.test(/like gecko/i);return n&&!r},describe:function(t){var n={name:ur.Gecko},r=A.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:ur.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var n={name:ur.WebKit},r=A.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}}],o5=(function(){function e(n,r,s){if(r===void 0&&(r=!1),s===void 0&&(s=null),n==null||n==="")throw new Error("UserAgent parameter can't be empty");this._ua=n;var l=!1;typeof r=="boolean"?(l=r,this._hints=s):r!=null&&typeof r=="object"?this._hints=r:this._hints=null,this.parsedResult={},l!==!0&&this.parse()}var t=e.prototype;return t.getHints=function(){return this._hints},t.hasBrand=function(r){if(!this._hints||!Array.isArray(this._hints.brands))return!1;var s=r.toLowerCase();return this._hints.brands.some(function(l){return l.brand&&l.brand.toLowerCase()===s})},t.getBrandVersion=function(r){if(!(!this._hints||!Array.isArray(this._hints.brands))){var s=r.toLowerCase(),l=A.find(this._hints.brands,function(u){return u.brand&&u.brand.toLowerCase()===s});return l?l.version:void 0}},t.getUA=function(){return this._ua},t.test=function(r){return r.test(this._ua)},t.parseBrowser=function(){var r=this;this.parsedResult.browser={};var s=A.find(BC,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.browser=s.describe(this.getUA(),this)),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(r){return r?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var r=this;this.parsedResult.os={};var s=A.find(ZC,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.os=s.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(r){var s=this.getOS().name;return r?String(s).toLowerCase()||"":s||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(r){r===void 0&&(r=!1);var s=this.getPlatform().type;return r?String(s).toLowerCase()||"":s||""},t.parsePlatform=function(){var r=this;this.parsedResult.platform={};var s=A.find(WC,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.platform=s.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(r){return r?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var r=this;this.parsedResult.engine={};var s=A.find(UC,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.engine=s.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return A.assign({},this.parsedResult)},t.satisfies=function(r){var s=this,l={},u=0,f={},p=0;if(Object.keys(r).forEach(function(M){var P=r[M];typeof P=="string"||Array.isArray(P)?(f[M]=P,p+=1):typeof P=="object"&&(l[M]=P,u+=1)}),u>0){var m=Object.keys(l),v=A.find(m,function(M){return s.isOS(M)});if(v){var w=this.satisfies(l[v]);if(w!==void 0)return w}var y=A.find(m,function(M){return s.isPlatform(M)});if(y){var x=this.satisfies(l[y]);if(x!==void 0)return x}}if(p>0){var C=Object.keys(f),E=A.find(C,function(M){return s.isBrowser(M,!0)});if(E!==void 0)return this.compareVersions(f[E])}},t.isBrowser=function(r,s){s===void 0&&(s=!1);var l=this.getBrowserName().toLowerCase(),u=r.toLowerCase(),f=A.getBrowserTypeByAlias(u);return s&&f&&(u=f.toLowerCase()),u===l},t.compareVersions=function(r){var s=this;return typeof r=="string"?this.compareVersion(r):r.some(function(l){return s.compareVersion(l)})},t.compareVersion=function(r){var s=[0],l=r,u=!1,f=this.getBrowserVersion();if(typeof f=="string")return r[0]===">"||r[0]==="<"?(l=r.substr(1),r[1]==="="?(u=!0,l=r.substr(2)):s=[],r[0]===">"?s.push(1):s.push(-1)):r[0]==="="?l=r.substr(1):r[0]==="~"&&(u=!0,l=r.substr(1)),s.indexOf(A.compareVersions(f,l,u))>-1},t.isOS=function(r){return this.getOSName(!0)===String(r).toLowerCase()},t.isPlatform=function(r){return this.getPlatformType(!0)===String(r).toLowerCase()},t.isEngine=function(r){return this.getEngineName(!0)===String(r).toLowerCase()},t.is=function(r,s){return s===void 0&&(s=!1),this.isBrowser(r,s)||this.isOS(r)||this.isPlatform(r)},t.some=function(r){var s=this;return r===void 0&&(r=[]),r.some(function(l){return s.is(l)})},e})();/*!
64
+ * Bowser - a browser detector
65
+ * https://github.com/bowser-js/bowser
66
+ * MIT License | (c) Dustin Diaz 2012-2015
67
+ * MIT License | (c) Denis Demchenko 2015-2026
68
+ */function qC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,KC(r.key),r)}}function GC(e,t,n){return n&&qC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function KC(e){var t=YC(e,"string");return typeof t=="symbol"?t:t+""}function YC(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Q0=(function(){function e(){}return e.getParser=function(n,r,s){if(r===void 0&&(r=!1),s===void 0&&(s=null),typeof n!="string")throw new Error("UserAgent should be a string");return new o5(n,r,s)},e.parse=function(n,r){return r===void 0&&(r=null),new o5(n,r).getResult()},GC(e,null,[{key:"BROWSER_MAP",get:function(){return d7}},{key:"ENGINE_MAP",get:function(){return ur}},{key:"OS_MAP",get:function(){return Ft}},{key:"PLATFORMS_MAP",get:function(){return Pe}}])})();Q0.parse;Q0.getParser;const Tu=new WeakMap,JC=new Set(["Tab","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End"]);function f7(){const e=Q0.parse(navigator.userAgent).platform.type,t=navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1;return e==="mobile"||e==="tablet"||t}function QC(){return f7()?!1:!window.matchMedia?.("(width < 640px) and (pointer: coarse) and (hover: none)").matches}function gi(e,t){Tu.get(e)?.();const n=()=>{e.removeAttribute("data-dsh-automatic-focus"),e.removeEventListener("blur",n),e.removeEventListener("keydown",r,!0),Tu.delete(e)},r=s=>{!s.isComposing&&!s.ctrlKey&&!s.altKey&&!s.metaKey&&JC.has(s.key)&&n()};Tu.set(e,n),e.setAttribute("data-dsh-automatic-focus",""),e.addEventListener("blur",n),e.addEventListener("keydown",r,!0),e.focus(t),e.matches(":focus")||n()}const X0='[role="dialog"][aria-modal="true"], [role="menu"]',js=new WeakMap;function XC(e){const t=js.get(e)?.at(-1);if(t===void 0)return;[...e.querySelectorAll(X0)].at(-1)===t.element&&t.close()}function h7(e){if(e===null)return!1;const t=js.get(e.ownerDocument)?.at(-1);return t!==void 0&&!t.element.contains(e)}const i5='button:not(:disabled), input:not(:disabled), textarea:not(:disabled), select:not(:disabled), a[href], [tabindex="0"]';function e2(e,t,n){const r=k.useRef(n);r.current=n,k.useLayoutEffect(()=>{const s=e.current;if(!t||s===null)return;const l=s.ownerDocument,u=ll(l),f=l.activeElement,p=js.get(l)??[];js.set(l,p);const m={element:s,close:()=>{r.current()}};p.push(m);const v=s.querySelector("[data-modal-autofocus]")??s.querySelector(i5)??s;s.contains(l.activeElement)||gi(v);const w=y=>{const x=u.guards(y);if(p.at(-1)!==m||y.defaultPrevented||x||y.ctrlKey||y.altKey||y.metaKey||(y.key==="Escape"&&!y.shiftKey&&(y.preventDefault(),y.repeat||r.current()),y.key!=="Tab")||l.activeElement?.closest('[role="menu"]'))return;const C=[...s.querySelectorAll(i5)].filter(O=>!O.closest("[inert], [hidden]")),E=C[0]??s,M=C.at(-1)??s,P=y.shiftKey?l.activeElement===E:l.activeElement===M;(l.activeElement===s||!s.contains(l.activeElement)||P)&&(y.preventDefault(),(y.shiftKey?M:E).focus())};return l.addEventListener("keydown",w),()=>{u.dispose();const y=p.at(-1)===m;if(p.splice(p.indexOf(m),1),l.removeEventListener("keydown",w),p.length===0&&js.delete(l),y){const x=f instanceof HTMLElement&&f.isConnected?f:p.at(-1)?.element;x!==void 0&&gi(x)}}},[e,t])}const eb="_keys_1p14q_1",tb="_key_1p14q_1",nb="_tooltip_1p14q_20",rb="_separator_1p14q_35",ob="_joined_1p14q_39",ms={keys:eb,key:tb,tooltip:nb,separator:rb,joined:ob},ib="_view_1ufe2_1",sb="_withFooter_1ufe2_24",ab="_content_1ufe2_31",lb="_header_1ufe2_39",cb="_footer_1ufe2_44",ub="_footerBack_1ufe2_49",db="_back_1ufe2_93",ao={view:ib,withFooter:sb,content:ab,header:lb,footer:cb,footerBack:ub,back:db},p7=k.createContext(null);function fb({target:e,backLabel:t,open:n,close:r,enterView:s,children:l}){const u=k.useRef(null),f=k.useMemo(()=>e===null?null:{target:e,backLabel:t,open:n,close:r,enterView:s,returnFocus:u},[e,t,n,r,s]);return c.jsx(p7.Provider,{value:f,children:l})}function _i(){return k.useContext(p7)}function m7({title:e,onBack:t,footerBackLabel:n,children:r,className:s,onKeyDownCapture:l}){const u=_i(),f=k.useRef(null),p=u?.target,m=u?.enterView,v=u?.returnFocus;k.useLayoutEffect(()=>m?.(),[m]),k.useLayoutEffect(()=>{const C=document.activeElement,E=C instanceof HTMLElement&&C!==document.body?C:null,M=p?.parentElement?.querySelector("[data-phone-sidebar-content]");return E&&M?.contains(E)&&v&&(v.current=E),M&&(M.inert=!0),()=>{queueMicrotask(()=>{M&&(M.inert=p?.querySelector("[data-phone-sidebar-view]")!==null);const P=document.activeElement;if(!p?.closest("[data-phone-drawer][data-open]")||P!==document.body&&P?.isConnected&&!P.matches("[data-phone-drawer]")&&M?.contains(P)!==!0)return;const O=p?.closest("[data-phone-drawer]")?.querySelector("[data-phone-sidebar-return]");(E?.isConnected&&E.getClientRects().length>0?E:v?.current?.isConnected&&v.current.getClientRects().length>0?v.current:O)?.focus({preventScroll:!0})})}},[p,v]),e2(f,u?.open===!0,t);const w=k.useRef(t);w.current=t;const y=k.useRef(u?.open===!0);if(k.useEffect(()=>{const C=y.current&&u?.open===!1;y.current=u?.open===!0,C&&w.current()},[u?.open]),u?.target==null)return null;const x=c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:ao.header,children:[c.jsx("button",{type:"button",className:ao.back,"aria-label":u.backLabel,onClick:t,children:c.jsx(Sf,{})}),c.jsx("h2",{children:e})]}),r]});return bn.createPortal(c.jsx("div",{ref:f,className:pe(s,ao.view,n!==void 0&&ao.withFooter),"data-phone-sidebar-view":!0,role:"dialog","aria-modal":"true","aria-label":e,tabIndex:-1,onKeyDownCapture:l,onClick:C=>C.stopPropagation(),children:n===void 0?x:c.jsxs(c.Fragment,{children:[c.jsx("div",{className:ao.content,children:x}),c.jsx("div",{className:ao.footer,children:c.jsx("button",{type:"button",className:ao.footerBack,onClick:t,children:n})})]})}),u.target)}function Rs({keys:e,variant:t="plain",className:n}){return _i()!==null?null:c.jsx("span",{className:pe(ms.keys,t==="tooltip"&&ms.tooltip,t==="tooltip"&&e.includes("+")&&ms.joined,n),children:e.map((s,l)=>c.jsx("kbd",{className:s==="+"?ms.separator:ms.key,children:s},l))})}const hb="_surface_1ucg6_1",pb="_backing_1ucg6_2",mb="_compact_1ucg6_6",gb="_material_1ucg6_21",gs={surface:hb,backing:pb,compact:mb,material:gb},Aa=k.forwardRef(function({compact:t=!1,className:n,style:r,children:s,...l},u){const f=k.useId(),p=k.useRef(null);k.useLayoutEffect(()=>{document.body.appendChild(p.current)},[]);const m={"--dsh-menu-anchor":`--dsh-menu-${f.replaceAll(":","")}`};return c.jsxs(c.Fragment,{children:[c.jsxs("div",{...l,ref:u,"data-menu-material":"translucent",className:pe(gs.surface,t&&gs.compact,n),style:{...r,...m},children:[c.jsx("div",{"aria-hidden":"true",className:gs.material}),s]}),bn.createPortal(c.jsx("div",{ref:p,"aria-hidden":"true","data-menu-backing":"",className:pe(gs.backing,t&&gs.compact),style:{...m,visibility:r?.visibility}}),document.body)]})}),vb="_root_15q5x_1",wb="_list_15q5x_7",yb="_submenu_15q5x_8",xb="_portal_15q5x_41",_b="_sideTop_15q5x_49",Cb="_alignEnd_15q5x_54",bb="_scrollable_15q5x_19",kb="_viewport_15q5x_19",Sb="_footer_15q5x_62",jb="_itemWrap_15q5x_90",Eb="_item_15q5x_90",Mb="_denseList_15q5x_124",Ib="_label_15q5x_129",Ob="_compactList_15q5x_133",Lb="_itemIcon_15q5x_148",Tb="_separator_15q5x_80",zb="_check_15q5x_179",Pb="_itemLabel_15q5x_190",Nb="_shortcut_15q5x_198",Ab="_shortcutKeys_15q5x_203",Rb="_selected_15q5x_216",Fb="_selectedFill_15q5x_221",Db="_danger_15q5x_226",$b="_phoneList_15q5x_288",$e={root:vb,list:wb,submenu:yb,portal:xb,sideTop:_b,alignEnd:Cb,scrollable:bb,viewport:kb,footer:Sb,itemWrap:jb,item:Eb,denseList:Mb,label:Ib,compactList:Ob,itemIcon:Lb,separator:Tb,check:zb,itemLabel:Pb,shortcut:Nb,shortcutKeys:Ab,selected:Rb,selectedFill:Fb,danger:Db,phoneList:$b};function Hb({children:e,shortcut:t,icon:n,disabled:r=!1,danger:s=!1,separatorBefore:l=!1,onSelect:u}){return c.jsxs("div",{className:$e.itemWrap,children:[l&&c.jsx("div",{className:$e.separator,role:"separator"}),c.jsxs("button",{type:"button",role:"menuitem",className:pe($e.item,s&&$e.danger),disabled:r,"aria-keyshortcuts":t?.aria,onClick:u,children:[n!==void 0&&c.jsx("span",{className:$e.itemIcon,children:n}),c.jsx("span",{className:$e.itemLabel,children:e}),t!==void 0&&c.jsx("span",{"aria-hidden":"true",className:$e.shortcut,children:c.jsx(Rs,{keys:t.keys,className:$e.shortcutKeys})})]})]})}function s5(e){return"type"in e&&e.type==="separator"}function a5(e){return"type"in e&&e.type==="label"}const Vb={visibility:"hidden",left:0,top:0};function t2({open:e,anchor:t,items:n=[],children:r,selectedId:s,selectedIds:l,onSelect:u,onClose:f,align:p="start",side:m="bottom",portal:v=!1,closeOnPointerLeave:w=!1,dense:y=!1,compact:x=!1,autoFocus:C=!1,selection:E="check",getAnchorRect:M,footer:P,className:O,listClassName:$,phoneSidebarTitle:z,phoneSidebarDetails:W,phoneSidebarFooterBackLabel:V}){const H=_i()!==null&&z!==void 0,te=v&&!H,Z=k.useRef(null),me=k.useRef(null),ge=k.useRef(null),oe=k.useRef(null),ae=k.useRef(!1),Ie=(K=!1)=>{const we=oe.current,Be=we!==null&&document.contains(we)&&!we.disabled?we:Z.current?.querySelector("button:not(:disabled)");Be!=null&&(K?Be.focus():gi(Be))},xe=()=>{const K=ae.current;queueMicrotask(()=>{if(Ne.current)return;const we=document.activeElement;(we===null||we===document.body||me.current?.contains(we)===!0)&&Ie(K)})},Ne=k.useRef(e);Ne.current=e;const[se,ce]=k.useState(null),[le,T]=k.useState(null),{arm:D,cancel:ee}=u7(f);k.useLayoutEffect(()=>{if(!e||!te){T(null);return}const K=()=>{let Ye;if(M!==void 0?Ye=M():Ye=Z.current?.getBoundingClientRect()??null,Ye===null)return;const Qe=12,wt=window.innerWidth,Re=window.innerHeight,bt=me.current,Jn=bt?.offsetWidth??0,fn=bt?.offsetHeight??0;let nn,yt;m==="right"?(nn=Ye.right+4,yt=Ye.top):p==="start"?(nn=Ye.left,yt=m==="bottom"?Ye.bottom+4:Ye.top-fn-4):(nn=Ye.right-Jn,yt=m==="bottom"?Ye.bottom+4:Ye.top-fn-4),Jn>0&&(nn=Math.min(Math.max(nn,Qe),wt-Jn-Qe)),fn>0&&(yt=Math.min(Math.max(yt,mi(Qe)),Re-fn-Qe)),T(hn=>hn?.left===nn&&hn.top===yt?hn:{left:nn,top:yt})};K();const we=()=>{K(),Be=requestAnimationFrame(we)};let Be=requestAnimationFrame(we);return window.addEventListener("scroll",K,!0),window.addEventListener("resize",K),()=>{cancelAnimationFrame(Be),window.removeEventListener("scroll",K,!0),window.removeEventListener("resize",K)}},[e,te,p,m,M]),k.useEffect(()=>{if(!e){oe.current=null;return}const K=document.activeElement;oe.current=K instanceof HTMLElement&&Z.current?.contains(K)===!0?K:null},[e]),k.useEffect(()=>{if(!e||!C)return;const K=me.current?.querySelector("button:not(:disabled)");ge.current=K==null?null:0,K!=null&&gi(K)},[e,C]),k.useEffect(()=>{if(!e){ce(null),ge.current=null;return}const K=ll(document),we=Re=>{H||!(Re.target instanceof Node)||Z.current?.contains(Re.target)!==!0&&me.current?.contains(Re.target)!==!0&&f()},Be=Re=>{if(K.guards(Re)||h7(H?me.current:Z.current)||Re.defaultPrevented||Re.ctrlKey||Re.altKey||Re.metaKey)return;const bt=document.activeElement,Jn=me.current?.contains(bt)===!0,fn=Z.current?.contains(bt)===!0||Jn;if(Re.key==="Escape"&&!Re.shiftKey){if(Re.preventDefault(),Re.repeat)return;f(),(fn||C)&&Ie()}if(Re.key==="Tab"){const Ei=me.current;if(Ei===null||!fn)return;if(Re.shiftKey){Re.preventDefault(),f(),Ie(!0);return}if(Jn){if(bt instanceof Element&&bt.getAttribute("role")==="menuitem"){Re.preventDefault(),ae.current=!0;try{bt.click()}finally{ae.current=!1}}return}const Mi=Ei.querySelector("button:not(:disabled)");if(Mi===null)return;Re.preventDefault(),Mi.focus(),ge.current=0;return}if(!["ArrowDown","ArrowUp","Home","End"].includes(Re.key))return;const nn=me.current;if(nn===null||!fn)return;const yt=Array.from(nn.querySelectorAll("button:not(:disabled)"));if(yt.length===0)return;const hn=yt.indexOf(bt),Qn=hn>=0?hn:ge.current,Eo=Re.key==="Home"?0:Re.key==="End"?yt.length-1:Qn===null?Re.key==="ArrowDown"?0:yt.length-1:(Qn+(Re.key==="ArrowDown"?1:-1)+yt.length)%yt.length;Re.preventDefault(),ge.current=Eo,yt[Eo]?.focus()},Ye=()=>{document.activeElement instanceof HTMLIFrameElement&&f()};document.addEventListener("pointerdown",we);const Qe=Re=>{Re.key==="Escape"&&Be(Re)},wt=Re=>{Re.key!=="Escape"&&Be(Re)};return document.addEventListener("keydown",wt),document.addEventListener("keydown",Qe,!0),window.addEventListener("blur",Ye),()=>{K.dispose(),document.removeEventListener("pointerdown",we),document.removeEventListener("keydown",wt),document.removeEventListener("keydown",Qe,!0),window.removeEventListener("blur",Ye)}},[e,f,C,H]),k.useEffect(()=>{e||ee()},[e,ee]);const ue=!n.some(K=>!s5(K)&&!a5(K)&&K.submenu!==void 0&&K.submenu.length>0),Me=K=>{if(s5(K))return c.jsx("div",{className:$e.separator,role:"separator"},K.id);if(a5(K))return c.jsx("div",{className:$e.label,role:"presentation",children:K.text},K.id);const we=K.submenu!==void 0&&K.submenu.length>0,Be=we&&se===K.id,Ye=K.id===s||l?.includes(K.id)===!0;return c.jsxs("div",{className:$e.itemWrap,onMouseEnter:we?()=>{ce(K.id)}:void 0,onMouseLeave:()=>{ce(null)},children:[c.jsxs("button",{type:"button",role:"menuitem",className:pe($e.item,Ye&&(E==="fill"?$e.selectedFill:$e.selected),K.danger===!0&&$e.danger),disabled:K.disabled,"aria-keyshortcuts":K.shortcut?.aria,"aria-haspopup":we?"menu":void 0,"aria-expanded":we?Be:void 0,onFocus:we?()=>{ce(K.id)}:void 0,onClick:()=>{if(we){ce(K.id);return}u?.(K.id)},children:[K.icon!==void 0&&c.jsx("span",{className:$e.itemIcon,children:K.icon}),c.jsx("span",{className:$e.itemLabel,children:K.label}),K.shortcut!==void 0&&c.jsx("span",{"aria-hidden":"true",className:$e.shortcut,children:c.jsx(Rs,{keys:K.shortcut.keys,className:$e.shortcutKeys})}),Ye&&E==="check"&&c.jsx(xi,{className:$e.check})]}),Be&&K.submenu!==void 0&&c.jsx(Aa,{compact:x,className:pe($e.submenu,x&&$e.compactList),role:"menu",children:K.submenu.map(Qe=>c.jsxs("button",{type:"button",role:"menuitem",className:$e.item,disabled:Qe.disabled,"aria-keyshortcuts":Qe.shortcut?.aria,onClick:()=>{u?.(Qe.id),xe()},children:[Qe.icon!==void 0&&c.jsx("span",{className:$e.itemIcon,children:Qe.icon}),c.jsx("span",{className:$e.itemLabel,children:Qe.label}),Qe.shortcut!==void 0&&c.jsx("span",{"aria-hidden":"true",className:$e.shortcut,children:c.jsx(Rs,{keys:Qe.shortcut.keys,className:$e.shortcutKeys})})]},Qe.id))})]},K.id)},Te=K=>{const we=K.target instanceof Element?K.target.closest('button[role="menuitem"]'):null;we===null||we.getAttribute("aria-haspopup")==="menu"||we.closest('[role="menu"]')===K.currentTarget&&ce(null)},Ve=e&&c.jsxs(Aa,{compact:x,ref:me,className:pe($e.list,$,y&&$e.denseList,x&&$e.compactList,ue&&$e.scrollable,te&&$e.portal,m==="top"&&!v&&$e.sideTop,p==="end"&&!v&&$e.alignEnd,H&&$e.phoneList),style:te?le??Vb:void 0,role:"menu",onClick:K=>{K.stopPropagation();const we=K.target instanceof Element?K.target.closest('button[role="menuitem"]'):null;we!==null&&we.getAttribute("aria-haspopup")!=="menu"&&xe()},onMouseOver:Te,onFocus:Te,children:[c.jsxs("div",{className:$e.viewport,role:"presentation",children:[H&&W,n.map(Me),r]}),P!==void 0&&P.length>0&&c.jsx("div",{className:$e.footer,role:"presentation",children:P.map(Me)})]});return c.jsxs("span",{ref:Z,className:pe($e.root,O),onPointerEnter:w?ee:void 0,onPointerLeave:w?()=>{e&&D()}:void 0,children:[t,H?e&&c.jsx(m7,{title:z,onBack:f,footerBackLabel:V,children:Ve}):v?Ve!==!1&&bn.createPortal(Ve,document.body):Ve]})}const Bb="_group_i2pru_1",Zb="_start_i2pru_5",Wb="_heading_i2pru_19",zu={group:Bb,start:Zb,heading:Wb};function Ub({label:e,children:t}){const n=k.useId();return c.jsxs("section",{role:"group","aria-labelledby":n,"data-menu-group":"",className:zu.group,children:[c.jsx("span",{"aria-hidden":"true","data-menu-group-start":"",className:zu.start}),c.jsx("div",{id:n,"data-menu-group-heading":"",className:zu.heading,children:e}),t]})}function qb(e){const t=[...e.querySelectorAll(":scope > [data-menu-group]")].flatMap(v=>{const w=v.querySelector(":scope > [data-menu-group-heading]"),y=v.querySelector(":scope > [data-menu-group-start]");return w===null||y===null?[]:[{section:v,heading:w,start:y,atTop:!1,above:!1,topTime:-1/0,aboveTime:-1/0}]});if(t.length===0||typeof IntersectionObserver>"u"||typeof ResizeObserver>"u")return()=>{};const n=new Map(t.map(v=>[v.section,v])),r=new Map(t.map(v=>[v.start,v]));let s=!1,l,u;const f=v=>{const w=v.atTop&&v.above;v.heading.hasAttribute("data-stuck")!==w&&v.heading.toggleAttribute("data-stuck",w)},p=new IntersectionObserver(v=>{if(!s)for(const w of v){const y=r.get(w.target);!y||w.rootBounds===null||w.time<y.aboveTime||(y.above=w.boundingClientRect.top<w.rootBounds.top,y.aboveTime=w.time,f(y))}},{root:e,threshold:[0,1]});for(const{start:v}of t)p.observe(v);const m=new ResizeObserver(v=>{if(!s)for(const w of v){if(w.target!==e||w.contentRect.height===u)continue;u=w.contentRect.height,l?.disconnect();const y=new IntersectionObserver(x=>{if(!(s||l!==y))for(const C of x){const E=n.get(C.target);if(!E||C.rootBounds===null)continue;const M=C.rootBounds.top;C.time>=E.topTime&&(E.atTop=C.isIntersecting&&C.boundingClientRect.bottom>M,E.topTime=C.time),C.time>=E.aboveTime&&(E.above=C.boundingClientRect.top<M,E.aboveTime=C.time),f(E)}},{root:e,rootMargin:`0px 0px ${Math.min(1,u)-u}px 0px`,threshold:0});l=y;for(const{section:x}of t)y.observe(x)}});return m.observe(e),()=>{if(!s){s=!0,p.disconnect(),l?.disconnect(),m.disconnect();for(const{heading:v}of t)v.hasAttribute("data-stuck")&&v.removeAttribute("data-stuck")}}}const Gb=12;function Kb(e,t,n,r=Gb){const[s,l]=k.useState(t);return k.useLayoutEffect(()=>{const u=e.current;if(u===null)return;const f=()=>{l(Math.min(t,Math.max(0,u.getBoundingClientRect().bottom-mi(r))))};return f(),window.addEventListener("resize",f),window.addEventListener("scroll",f,!0),()=>{window.removeEventListener("resize",f),window.removeEventListener("scroll",f,!0)}},[e,t,n,r]),s}function Yb(e){const{open:t,anchorRef:n,panelRef:r,side:s="bottom",align:l="start",gap:u,margin:f}=e,[p,m]=k.useState(null);return k.useLayoutEffect(()=>{if(!t){m(null);return}const v=()=>{const x=n.current?.getBoundingClientRect();if(x===void 0)return;const C=r.current,E=C?.offsetWidth??0,M=C?.offsetHeight??0;let P=l==="end"?x.right-E:x.left,O=s==="top"?x.top-u-M:x.bottom+u;E>0&&(P=Math.min(Math.max(P,f),window.innerWidth-E-f)),M>0&&(O=Math.min(Math.max(O,mi(f)),window.innerHeight-M-f)),m({left:P,top:O})};v(),window.addEventListener("scroll",v,!0),window.addEventListener("resize",v);const w=r.current;let y=null;return typeof ResizeObserver<"u"&&w!==null&&(y=new ResizeObserver(v),y.observe(w)),()=>{y?.disconnect(),window.removeEventListener("scroll",v,!0),window.removeEventListener("resize",v)}},[t,n,r,s,l,u,f]),p}function n2(e,t,n,r){k.useEffect(()=>{if(!t)return;const s=l=>{l.target instanceof Node&&e.current?.contains(l.target)!==!0&&r?.current?.contains(l.target)!==!0&&n(!1)};return document.addEventListener("pointerdown",s),()=>{document.removeEventListener("pointerdown",s)}},[e,t,n,r])}const Jb="_bubble_dcbfb_1",Qb="_label_dcbfb_31",l5={bubble:Jb,label:Qb},c5={pointer:"pointer",keyboard:"keyboard"},Xb="data-input-modality",ek=new Set(["Tab","Home","End","PageUp","PageDown"]);let d0=!1,Cs=!1,lo;function Pu(){document.documentElement.setAttribute(Xb,Cs?c5.pointer:c5.keyboard)}function g7(){return d0}typeof window<"u"&&(window.addEventListener("pointerdown",()=>{d0=!0,Cs=!0,lo=void 0,Pu()},!0),window.addEventListener("keydown",e=>{if(d0=!1,e.isComposing){lo=void 0;return}lo=e.composedPath()[0],!(!ek.has(e.key)&&!e.key.startsWith("Arrow"))&&(Cs=!1,Pu())},!0),window.addEventListener("focusin",e=>{lo===void 0||e.composedPath()[0]===lo||(lo=void 0,Cs&&(Cs=!1,Pu()))},!0),window.addEventListener("blur",()=>{lo=void 0}));const f0=k.createContext(null);function Hr({label:e,shortcutKeys:t,side:n="right",align:r="center",delayMs:s=0,focusDelayMs:l=0,gap:u=8,disabled:f=!1,portal:p=!1,maxWidth:m,openOnClick:v=!1,children:w}){const y=k.useId(),x=_i()!==null,C=!x&&!!t?.length,[E,M]=k.useState(!1),P=k.useRef(null),O=w.ref,$=k.useCallback(ee=>{P.current=ee,typeof O=="function"?O(ee):O!=null&&(O.current=ee)},[O]),[z,W]=k.useState(null),V=k.useRef(null),J=z===null?null:typeof e=="function"?e():e,H=z===null?0:n==="right"?z.top+(z.bottom-z.top)/2:n==="top"?z.top-u:z.bottom+u,te=k.useRef(null),Z=k.useRef({hover:!1,focus:!1}),me=k.useContext(f0),[ge,oe]=k.useState(!1),ae=k.useCallback(ee=>{me?.(ee)},[me]),Ie=z!==null&&!f&&(!x||!!J);k.useEffect(()=>{const ee=V.current;if(z===null||!Ie||ge||ee===null)return;const ue=12;let Me,Te=n;const Ve=()=>{if(Me===void 0)return;const{inlineSize:we,blockSize:Be}=Me,Ye=n==="right"?0:r==="end"?we:we/2,Qe=Math.max(ue,Math.min(z.x-Ye,window.innerWidth-ue-we)),wt=z.bottom+u+Be<=window.innerHeight-ue,Re=z.top-u-Be>=ue;Te==="bottom"&&!wt&&Re?Te="top":Te==="top"&&!Re&&wt&&(Te="bottom"),ee.style.left=`${Qe+Ye}px`,ee.style.top=`${Te==="right"?(z.top+z.bottom)/2:Te==="top"?z.top-u:z.bottom+u}px`,ee.dataset.side=Te,ee.style.visibility="visible"},K=new ResizeObserver(we=>{Me=we[0]?.borderBoxSize[0],Ve()});return K.observe(ee,{box:"border-box"}),window.addEventListener("resize",Ve),()=>{K.disconnect(),window.removeEventListener("resize",Ve)}},[r,u,z,n,ge,Ie]),k.useEffect(()=>(ae(Ie),()=>{ae(!1)}),[ae,Ie]);const xe=k.useCallback(()=>{te.current!==null&&(clearTimeout(te.current),te.current=null)},[]);k.useEffect(()=>(E&&(f||!v)&&M(!1),f&&(xe(),Z.current={hover:!1,focus:!1},W(null)),xe),[xe,f,v,E]);const Ne=()=>{if(f||x&&!(typeof e=="function"?e():e))return;const ee=P.current;if(ee===null)return;const ue=ee.getBoundingClientRect();W({x:n==="right"?ue.right+10:r==="end"?ue.right:ue.left+ue.width/2,top:ue.top,bottom:ue.bottom}),ae(!0)},se=ee=>{if(xe(),ee<=0){Ne();return}te.current=setTimeout(()=>{te.current=null,Ne()},ee)},ce=k.useCallback(()=>{M(!1),W(null),ae(!1)},[ae]),le=()=>{xe(),!Z.current.hover&&!Z.current.focus&&!E&&ce()},T=k.useCallback(()=>{xe(),Z.current={hover:!1,focus:!1},ce()},[xe,ce]);n2(P,v&&Ie,T,V),k.useEffect(()=>{if(!v||!Ie)return;const ee=ue=>{ue.key!=="Escape"&&ue.key!=="Tab"||(ue.key==="Escape"&&(ue.preventDefault(),ue.stopPropagation()),T())};return document.addEventListener("keydown",ee,!0),()=>{document.removeEventListener("keydown",ee,!0)}},[T,v,Ie]);const D=Ie&&!ge&&c.jsxs("span",{ref:V,id:v?y:void 0,className:l5.bubble,"data-side":n,"data-portal":p||void 0,"data-pinned":E||void 0,"data-align":r,"data-has-shortcut":C||void 0,style:{left:z.x,top:H,visibility:"hidden",...m===void 0?{}:{maxWidth:m}},role:"tooltip","aria-label":t?.length?[J,t.join(" ")].filter(Boolean).join(" "):void 0,children:[J&&c.jsx("span",{className:l5.label,children:J}),t!==void 0&&t.length>0&&c.jsx(Rs,{keys:t,variant:"tooltip"})]});return c.jsxs(f0.Provider,{value:oe,children:[k.cloneElement(w,{ref:$,"aria-describedby":v&&Ie?[w.props["aria-describedby"],y].filter(Boolean).join(" "):w.props["aria-describedby"],onPointerEnter:ee=>{w.props.onPointerEnter?.(ee),!(!x||ee.pointerType==="touch")&&(Z.current.hover=!0,se(s))},onPointerLeave:ee=>{w.props.onPointerLeave?.(ee),x&&(Z.current.hover=!1,xe(),E||ce())},onMouseEnter:ee=>{w.props.onMouseEnter?.(ee),!x&&(Z.current.hover=!0,se(s))},onMouseLeave:ee=>{w.props.onMouseLeave?.(ee),Z.current.hover=!1,xe(),E||ce()},onClick:ee=>{w.props.onClick?.(ee),Z.current.focus=!1,xe(),v&&!f&&!E?(M(!0),Ne()):ce()},onFocus:ee=>{w.props.onFocus?.(ee),!(g7()||x&&ee.currentTarget.hasAttribute("data-dsh-automatic-focus"))&&(Z.current.focus=!0,se(l))},onBlur:ee=>{w.props.onBlur?.(ee),Z.current.focus=!1,le()}}),p?D!==!1&&bn.createPortal(D,document.body):D]})}const tk="_root_ghlrl_3",nk="_card_ghlrl_9",rk="_copyable_ghlrl_21",ok="_feedback_ghlrl_31",ik="_copied_ghlrl_37",sk="_status_ghlrl_44",ak="_preview_ghlrl_53",lk="_inline_ghlrl_84",ck="_media_ghlrl_87",cr={root:tk,card:nk,copyable:rk,feedback:ok,copied:ik,status:sk,preview:ak,inline:lk,media:ck},u5=100,d5=420,f5=24,uk=300,co=8,Qt=8;function v7({anchor:e,content:t,openDelayMs:n=500,disabled:r=!1,copyText:s,copyLabel:l,copiedLabel:u,variant:f="compact",widthAnchorRef:p,inline:m=!1}){const v=k.useRef(null),w=k.useRef(null),y=k.useRef(null),x=k.useRef(null),C=k.useRef(null),E=k.useRef(0),M=k.useRef(!1),P=k.useRef(!0),[O,$]=k.useState("closed"),z=O!=="closed",W=O==="closing",[V,J]=k.useState(null),H=V!==null,[te,Z]=k.useState(!1),[me,ge]=k.useState(!1),oe=k.useCallback(()=>{x.current!==null&&(clearTimeout(x.current),x.current=null),C.current=null,Z(!1)},[]),ae=k.useCallback(()=>{E.current+=1,oe(),$(D=>f==="preview"&&D!=="closed"?"closing":"closed")},[oe,f]),{arm:Ie,cancel:xe}=u7(ae),Ne=()=>{y.current!==null&&(clearTimeout(y.current),y.current=null)};k.useEffect(()=>{if(!W)return;const D=setTimeout(()=>{$("closed")},u5);return()=>{clearTimeout(D)}},[W]),k.useEffect(()=>{r&&(Ne(),xe(),ae())},[r,xe,ae]),k.useEffect(()=>(P.current=!0,()=>{P.current=!1,E.current+=1,Ne(),x.current!==null&&(clearTimeout(x.current),x.current=null)}),[]),k.useEffect(()=>{if(!z||f!=="preview"&&!m)return;const D=ee=>{ee.key==="Escape"&&(m&&ee.stopPropagation(),Ne(),xe(),ae())};return window.addEventListener("keydown",D,m),()=>{window.removeEventListener("keydown",D,m)}},[z,f,m,xe,ae]),k.useLayoutEffect(()=>{if(!z){J(null);return}const D=()=>{const ue=v.current;if(ue===null)return;const Me=ue.getBoundingClientRect(),Te=w.current?.offsetHeight??0;if(f==="preview"){const K=p?.current?.getBoundingClientRect()??Me,we=Math.max(0,Math.min(K.width-f5*2,window.innerWidth-Qt*2)),Be=mi(Qt),Ye=Math.max(Be,Me.bottom+co),Qe=Math.max(0,Me.top-co-Be),wt=Math.max(0,window.innerHeight-Ye-Qt),Re=Qe>=Math.min(d5,wt),bt=Math.min(d5,Re?Qe:wt);J({left:Math.max(Qt,Math.min(K.left+f5,window.innerWidth-we-Qt)),top:Re?Math.max(Be,Me.top-Math.min(Te,bt)-co):Ye,width:we,maxHeight:bt});return}if(m){const K=Math.max(Te,w.current?.scrollHeight??0),we=Math.max(0,Math.min(uk,window.innerWidth-Qt*2)),Be=mi(Qt),Ye=Math.max(Be,Me.bottom+co),Qe=Math.max(0,Me.top-co-Be),wt=Math.max(0,window.innerHeight-Ye-Qt),Re=K>wt&&Qe>wt,bt=Re?Qe:wt;J({left:Math.max(Qt,Math.min(Me.left,window.innerWidth-we-Qt)),top:Re?Me.top-co-Math.min(K,bt):Ye,width:we,maxHeight:bt});return}const Ve=Me.top+Te>window.innerHeight-Qt?window.innerHeight-Te-Qt:Me.top;J({left:Me.right+co,top:Ve})};D();const ee=(f==="preview"||m)&&typeof ResizeObserver<"u"?new ResizeObserver(D):null;for(const ue of[w.current,v.current,p?.current])ue!=null&&ee?.observe(ue);return window.addEventListener("scroll",D,!0),window.addEventListener("resize",D),()=>{ee?.disconnect(),window.removeEventListener("scroll",D,!0),window.removeEventListener("resize",D)}},[z,f,p,H,m]),k.useLayoutEffect(()=>{if(!z||V===null||f==="preview"||m||me)return;const D=w.current?.offsetHeight??0;V.top+D>window.innerHeight-Qt&&J({left:V.left,top:window.innerHeight-D-Qt})},[z,V,f,m,me]);const se=async D=>{if(te||M.current)return;M.current=!0;const ee=E.current,ue=await il(D);M.current=!1;const Me=w.current;if(!ue||!P.current||ee!==E.current||Me===null)return;const Te=Me.offsetHeight;C.current=Te>0?Te:null,Z(!0),x.current=setTimeout(oe,1e3)},ce=s!==void 0,le=D=>{w.current?.contains(D.target)||(Ne(),xe(),ae())},T=z&&V!==null&&!me&&c.jsx("div",{ref:w,className:pe(cr.card,f==="preview"&&cr.preview,m&&cr.media,ce&&cr.copyable,te&&cr.feedback),"data-closing":W||void 0,style:{...V,minHeight:te&&C.current!==null?C.current:void 0,"--dsh-hover-preview-fade":`${u5}ms`},role:ce?"button":void 0,tabIndex:ce?0:void 0,"aria-label":ce?`${l}: ${s}`:void 0,onClick:ce?D=>{const ee=window.getSelection();if(ee!==null&&!ee.isCollapsed){for(let ue=0;ue<ee.rangeCount;ue+=1)if(ee.getRangeAt(ue).intersectsNode(D.currentTarget))return}se(s)}:void 0,onKeyDown:ce?D=>{D.key!=="Enter"&&D.key!==" "||(D.preventDefault(),se(s))}:void 0,children:te?c.jsx("span",{className:cr.copied,"aria-hidden":"true",children:u}):t});return c.jsxs("span",{ref:v,className:pe(cr.root,m&&cr.inline),onFocus:m?D=>{!r&&D.target.matches(":focus-visible")&&(xe(),$("open"))}:void 0,onBlur:m?D=>{D.currentTarget.contains(D.relatedTarget)||(Ne(),xe(),ae())}:void 0,onPointerEnter:D=>{if(!(r||m&&D.pointerType==="touch")){if(xe(),z){$("open");return}Ne(),y.current=setTimeout(()=>{$("open")},n)}},onPointerLeave:()=>{Ne(),z&&Ie()},onPointerDownCapture:le,onClickCapture:le,children:[c.jsx(f0.Provider,{value:ge,children:e}),z&&!me&&ce&&c.jsx("span",{className:cr.status,role:"status",children:te?u:""}),T!==!1&&bn.createPortal(T,document.body)]})}const dk="_triggerSeat_1egrz_1",fk="_trigger_1egrz_1",hk="_chipBody_1egrz_19",pk="_chip_1egrz_19",mk="_chipNumber_1egrz_36",gk="_chipText_1egrz_42",vk="_chipRemove_1egrz_50",wk="_labelSeat_1egrz_69",yk="_label_1egrz_69",xk="_popover_1egrz_86",_k="_card_1egrz_101",Ck="_cardSection_1egrz_107",bk="_cardHeading_1egrz_114",kk="_cardText_1egrz_120",Sk="_cardPre_1egrz_126",Ct={triggerSeat:dk,trigger:fk,chipBody:hk,chip:pk,chipNumber:mk,chipText:gk,chipRemove:vk,labelSeat:wk,label:yk,popover:xk,card:_k,cardSection:Ck,cardHeading:bk,cardText:kk,cardPre:Sk},h5=48,jk=320,Nu=8,vs=8;function h0(e){const t=e.replace(/\s+/gu," ").trim();return t.length<=h5?t:`${t.slice(0,h5-1)}…`}function w7({annotation:e,labels:t}){const n=e.text.includes(`
69
+ `);return c.jsxs("div",{className:Ct.card,children:[c.jsxs("div",{className:Ct.cardSection,children:[c.jsx("div",{className:Ct.cardHeading,children:t.selectedText}),n?c.jsx("pre",{className:Ct.cardPre,tabIndex:0,children:e.text}):c.jsx("div",{className:Ct.cardText,children:e.text})]}),e.annotation===void 0?null:c.jsxs("div",{className:Ct.cardSection,children:[c.jsx("div",{className:Ct.cardHeading,children:t.userComment}),c.jsx("div",{className:Ct.cardText,children:e.annotation})]})]})}function r2({anchor:e,annotation:t,labels:n,className:r,title:s,open:l=!1}){const[u,f]=k.useState(l),p=k.useRef(null),m=k.useRef(null),[v,w]=k.useState(null),y=k.useCallback(()=>{f(!1)},[]);return n2(p,u,y,m),k.useEffect(()=>{if(!u)return;const x=C=>{C.key==="Escape"&&y()};return window.addEventListener("keydown",x),()=>{window.removeEventListener("keydown",x)}},[u,y]),k.useEffect(()=>{if(!u){w(null);return}const x=()=>{const E=p.current?.getBoundingClientRect();if(E===void 0)return;const M=Math.min(jk,window.innerWidth-vs*2),P=mi(vs),O=Math.max(P,E.bottom+Nu),$=Math.max(0,E.top-Nu-P),z=Math.max(0,window.innerHeight-O-vs),W=Math.min(m.current?.offsetHeight??0,$),V=z<80&&$>z;w({left:Math.max(vs,Math.min(E.left,window.innerWidth-M-vs)),top:V?Math.max(P,E.top-Nu-W):O,width:M,maxHeight:V?$:z})};x();const C=requestAnimationFrame(x);return window.addEventListener("resize",x),window.addEventListener("scroll",x,!0),()=>{cancelAnimationFrame(C),window.removeEventListener("resize",x),window.removeEventListener("scroll",x,!0)}},[u]),c.jsxs("span",{ref:p,className:pe(Ct.triggerSeat,r),children:[c.jsx("button",{type:"button",className:Ct.trigger,title:s,"aria-expanded":u,onClick:()=>{f(x=>!x)},children:e}),u&&v!==null&&bn.createPortal(c.jsx("div",{ref:m,className:Ct.popover,role:"dialog","aria-label":n.selectedText,style:{left:v.left,top:v.top,width:v.width,maxHeight:v.maxHeight},children:c.jsx(w7,{annotation:t,labels:n})}),document.body)]})}function Ek({index:e,annotation:t,labels:n,onRemove:r}){return c.jsxs("div",{className:Ct.chip,"data-response-annotation":e,children:[c.jsx(r2,{annotation:t,labels:n,title:n.railTitle(e,h0(t.text)),className:Ct.chipBody,anchor:c.jsxs(c.Fragment,{children:[c.jsx("span",{className:Ct.chipNumber,children:n.railLabel(e)}),c.jsx("span",{className:Ct.chipText,children:h0(t.text)})]})}),r===void 0?null:c.jsx("button",{type:"button",className:Ct.chipRemove,"aria-label":n.remove(e),onClick:r,children:c.jsx(U0,{size:12})})]})}function y7({index:e,annotation:t,labels:n}){return t===void 0?c.jsx("span",{className:Ct.label,children:n.label(e)}):c.jsx(r2,{annotation:t,labels:n,title:n.railTitle(e,h0(t.text)),className:Ct.labelSeat,anchor:c.jsx("span",{className:Ct.label,children:n.label(e)})})}const Mk="_root_7mu1n_6",Ik="_mask_7mu1n_18",Ok="_dialog_7mu1n_33",Lk="_content_7mu1n_70",Tk="_header_7mu1n_78",zk="_title_7mu1n_86",Pk="_close_7mu1n_94",Nk="_description_7mu1n_113",Ak="_body_7mu1n_122",Rk="_footer_7mu1n_130",Xt={root:Mk,mask:Ik,dialog:Ok,content:Lk,header:Tk,title:zk,close:Pk,description:Nk,body:Ak,footer:Rk};function x7({open:e,onClose:t,title:n,closeLabel:r,description:s,children:l,footer:u,className:f,contentClassName:p,onKeyDownCapture:m,headless:v=!1,backdropBlur:w=!0,shortcutModal:y,phoneSidebar:x=!1,phoneSidebarOrigin:C=!1}){const E=_i(),M=k.useRef(!1),P=k.useRef(!1);e&&!P.current&&(M.current=x&&(E?.open===!0||C)),P.current=e;const O=M.current&&E!==null,$=k.useRef(null);return e2($,e&&!O,t),e?O?c.jsxs(m7,{title:n,onBack:t,className:f,onKeyDownCapture:m,children:[v?l:c.jsxs("div",{className:pe(Xt.content,p),children:[s&&c.jsx("p",{className:Xt.description,children:s}),l!==void 0&&c.jsx("div",{className:Xt.body,children:l})]}),u!==void 0&&c.jsx("div",{className:Xt.footer,children:u})]}):bn.createPortal(c.jsxs("div",{className:Xt.root,role:"presentation",onKeyDownCapture:m,children:[c.jsx("div",{className:Xt.mask,style:w?void 0:{backdropFilter:"none"},"aria-hidden":"true",onClick:t}),c.jsx("div",{ref:$,tabIndex:-1,"data-shortcut-modal":y,className:pe(Xt.dialog,f),role:"dialog","aria-modal":"true","aria-label":n,children:v?l:c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:pe(Xt.content,p),children:[c.jsxs("div",{className:Xt.header,children:[c.jsx("h2",{className:Xt.title,children:n}),c.jsx("button",{type:"button",className:Xt.close,"aria-label":r,onClick:t,children:c.jsx(al,{size:14})})]}),s!==void 0&&s!==""&&c.jsx("p",{className:Xt.description,children:s}),l!==void 0&&c.jsx("div",{className:Xt.body,children:l})]}),u!==void 0&&c.jsx("div",{className:Xt.footer,children:u})]})})]}),document.body):null}const Fk="_confirmation_1oi73_1",Dk="_confirmationContent_1oi73_7",$k="_warning_1oi73_19",Hk="_warningIcon_1oi73_32",Vk="_acknowledgement_1oi73_38",Bk="_modalAction_1oi73_68",Zk="_confirmAction_1oi73_72",uo={confirmation:Fk,confirmationContent:Dk,warning:$k,warningIcon:Hk,acknowledgement:Vk,modalAction:Bk,confirmAction:Zk};function Wk({open:e,title:t,description:n,acknowledgeLabel:r,cancelLabel:s,closeLabel:l,confirmLabel:u,acknowledged:f,disabled:p=!1,onAcknowledgedChange:m,onCancel:v,onConfirm:w}){return c.jsxs(x7,{open:e,onClose:v,title:t,closeLabel:l,className:uo.confirmation,contentClassName:uo.confirmationContent,footer:c.jsxs(c.Fragment,{children:[c.jsx(u0,{variant:"outline",className:uo.modalAction,onClick:v,children:s}),c.jsx(u0,{variant:"primary",className:uo.confirmAction,disabled:p||!f,onClick:w,children:u})]}),children:[c.jsxs("div",{className:uo.warning,children:[c.jsx(Jf,{size:18,className:uo.warningIcon}),c.jsx("p",{children:n})]}),c.jsxs("label",{className:uo.acknowledgement,children:[c.jsx("input",{type:"checkbox",checked:f,disabled:p,"data-modal-autofocus":!0,onChange:y=>{m(y.currentTarget.checked)}}),c.jsx("span",{children:r})]})]})}const Uk="_indicator_9rbf2_1",qk="_leaving_9rbf2_25",Gk="_warning_9rbf2_35",Kk="_success_9rbf2_64",Yk="_icon_9rbf2_70",Jk="_label_9rbf2_81",Qk="_dots_9rbf2_85",Xk="_secondDot_9rbf2_91",eS="_thirdDot_9rbf2_95",xn={indicator:Uk,leaving:qk,warning:Gk,success:Kk,icon:Yk,label:Jk,dots:Qk,secondDot:Xk,thirdDot:eS},tS=150;function nS({state:e,disconnectedLabel:t,connectingLabel:n,recoveredLabel:r,reconnectActionLabel:s,restartActionLabel:l,onReconnect:u}){const[f,p]=k.useState(e),m=e===void 0&&f!==void 0;if(k.useEffect(()=>{if(e!==void 0){p(e);return}if(f===void 0)return;const y=window.setTimeout(()=>{p(void 0)},tS);return()=>{window.clearTimeout(y)}},[e,f]),f===void 0)return null;const v=m?` ${xn.leaving}`:"";if(f==="recovered")return c.jsxs("div",{className:`${xn.indicator} ${xn.success}${v}`,role:"status","aria-label":r,children:[c.jsx("span",{className:xn.icon,"aria-hidden":"true",children:c.jsx(xi,{size:14})}),c.jsx("span",{className:xn.label,children:r})]});const w=f==="connecting";return c.jsxs("button",{type:"button",className:`${xn.indicator} ${xn.warning}${v}`,"data-phase":f,"aria-label":w?l:s,onClick:u,children:[c.jsx("span",{className:xn.icon,"aria-hidden":"true",children:w?c.jsx(K0,{state:"ongoing"}):c.jsx(Nf,{size:14})}),c.jsx("span",{className:xn.label,children:w?c.jsxs(c.Fragment,{children:[n,c.jsxs("span",{className:xn.dots,"aria-hidden":"true",children:[c.jsx("span",{children:"."}),c.jsx("span",{className:xn.secondDot,children:"."}),c.jsx("span",{className:xn.thirdDot,children:"."})]})]}):t})]})}const bs={width:23.16,height:17.04},_7="M22.9168 1.43018C22.6713 1.31018 22.5658 1.53918 22.4223 1.65519C22.3733 1.69269 22.3318 1.74169 22.2903 1.78669C21.9317 2.1697 21.5127 2.42121 20.9657 2.39121C20.1657 2.34621 19.4827 2.59771 18.8787 3.20973C18.7502 2.45521 18.3236 2.0047 17.6746 1.71569C17.3351 1.56568 16.9916 1.41518 16.7536 1.08867C16.5876 0.856163 16.5421 0.597155 16.4591 0.341647C16.4061 0.187643 16.3536 0.0301382 16.1761 0.00363739C15.9836 -0.0263635 15.9081 0.135141 15.8326 0.270145C15.5306 0.822162 15.4136 1.43018 15.4251 2.0462C15.4516 3.43174 16.0366 4.53527 17.1991 5.3203C17.3311 5.4103 17.3651 5.5003 17.3236 5.63181C17.2441 5.90231 17.1501 6.16482 17.0671 6.43533C17.0141 6.60784 16.9351 6.64584 16.7501 6.57033C16.1121 6.30383 15.5611 5.90931 15.074 5.4328C14.2475 4.63328 13.5 3.75075 12.568 3.05973C12.349 2.89822 12.13 2.74822 11.9034 2.60522C10.9524 1.68169 12.028 0.923165 12.277 0.833162C12.5375 0.739159 12.3675 0.41615 11.5259 0.42015C10.6844 0.42365 9.91439 0.705658 8.93286 1.08117C8.78935 1.13767 8.63835 1.17867 8.48384 1.21267C7.59332 1.04367 6.66829 1.00617 5.70226 1.11517C3.88321 1.31768 2.43016 2.1777 1.36213 3.64575C0.0790928 5.4103 -0.222916 7.41536 0.146595 9.50642C0.535106 11.7105 1.66014 13.535 3.38869 14.9616C5.18125 16.4406 7.24581 17.1657 9.60138 17.0266C11.0319 16.9441 12.6245 16.7526 14.421 15.2321C14.874 15.4576 15.3496 15.5476 16.1381 15.6151C16.7456 15.6716 17.3306 15.5851 17.7836 15.4911C18.4931 15.3411 18.4441 14.6841 18.1876 14.5636C16.1081 13.595 16.5646 13.9891 16.1496 13.67C17.2061 12.42 18.8202 10.1979 19.3182 7.17235C19.3672 6.83834 19.4297 6.36783 19.4222 6.09732C19.4182 5.93231 19.4562 5.86831 19.6447 5.84931C20.1657 5.78931 20.6712 5.64681 21.1357 5.3913C22.4833 4.65528 23.0268 3.44624 23.1548 1.9972C23.1738 1.77569 23.1508 1.54668 22.9168 1.43018ZM11.1749 14.4736C9.15936 12.889 8.18184 12.3675 7.77832 12.39C7.40081 12.4125 7.46881 12.8445 7.55182 13.126C7.63882 13.404 7.75182 13.5955 7.91033 13.8396C8.01983 14.0011 8.09533 14.2411 7.80083 14.4216C7.15181 14.8231 6.02327 14.2866 5.97027 14.2601C4.65673 13.4865 3.5587 12.4655 2.78467 11.069C2.03715 9.72493 1.60314 8.28289 1.53164 6.74384C1.51264 6.37233 1.62214 6.24082 1.99215 6.17332C2.47916 6.08332 2.98118 6.06432 3.46769 6.13582C5.52476 6.43633 7.27581 7.35586 8.74385 8.8129C9.58188 9.64243 10.2159 10.634 10.8689 11.6025C11.5634 12.631 12.3105 13.611 13.262 14.4146C13.598 14.6961 13.866 14.9101 14.1225 15.0681C13.349 15.1546 12.058 15.1731 11.1749 14.4746L11.1749 14.4736ZM12.141 8.25988C12.141 8.09488 12.273 7.96338 12.439 7.96338C12.4765 7.96338 12.5105 7.97088 12.541 7.98188C12.5825 7.99688 12.6205 8.01938 12.6505 8.05338C12.7035 8.10588 12.7335 8.18088 12.7335 8.25988C12.7335 8.42489 12.6015 8.55639 12.4355 8.55639C12.2695 8.55639 12.141 8.42489 12.141 8.25988ZM15.1415 9.79893C14.949 9.87793 14.7565 9.94544 14.5715 9.95294C14.2845 9.96794 13.9715 9.85143 13.8015 9.70893C13.5375 9.48742 13.3485 9.36342 13.2695 8.97691C13.2355 8.8119 13.2545 8.55639 13.2845 8.40989C13.3525 8.09438 13.277 7.89187 13.0545 7.70787C12.8735 7.55786 12.643 7.51636 12.39 7.51636C12.2955 7.51636 12.209 7.47486 12.1445 7.44136C12.039 7.38886 11.9519 7.25735 12.035 7.09585C12.0615 7.04335 12.19 6.91584 12.22 6.89334C12.5635 6.69784 12.9595 6.76184 13.326 6.90834C13.6655 7.04735 13.9225 7.30236 14.292 7.66287C14.6695 8.09838 14.7375 8.21838 14.9525 8.54539C15.1225 8.8009 15.277 9.06341 15.3831 9.36392C15.4471 9.55142 15.3641 9.70493 15.1415 9.79893Z";function rS({size:e=24,className:t}){return c.jsx("svg",{width:e,height:e*bs.height/bs.width,className:t,viewBox:`0 0 ${bs.width} ${bs.height}`,fill:"none","aria-hidden":"true",children:c.jsx("path",{d:_7,fill:"currentColor"})})}function oS({size:e=24,className:t,includeMark:n=!0}){const r=n?182:156;return c.jsxs("svg",{width:e*r/24,height:e,className:t,viewBox:n?"0 0 182 24":"26 0 156 24",fill:"none","aria-hidden":"true",children:[c.jsx("path",{d:"M68.416 18.2447H67.0501V16.1272H68.416C69.2619 16.1272 70.1166 15.9163 70.6671 15.3304C71.2181 14.7444 71.426 13.8455 71.426 12.9471C71.426 12.0487 71.2268 11.1498 70.6671 10.5643C70.1083 9.97831 69.2619 9.76744 68.416 9.76744C67.5701 9.76744 66.7154 9.97831 66.1639 10.5643C65.6129 11.1503 65.4049 12.0487 65.4049 12.9471V21.6435H63.009V7.6582H65.4049V8.54883H65.8442C65.8918 8.49393 65.9394 8.44728 65.9875 8.40064C66.5871 7.85353 67.5049 7.6582 68.4072 7.6582C69.8212 7.6582 71.2341 8.00998 72.1607 8.98662C73.0868 9.96325 73.4143 11.4632 73.4143 12.9558C73.4143 14.4485 73.0785 15.9406 72.1607 16.925C71.2424 17.9094 69.8212 18.2457 68.416 18.2457V18.2447Z",fill:"currentColor"}),c.jsx("path",{d:"M31.9551 8.03497H33.3204V10.1525H31.9551C31.1087 10.1525 30.2545 10.3633 29.7035 10.9493C29.1525 11.5353 28.945 12.4342 28.945 13.3326C28.945 14.231 29.1447 15.1294 29.7035 15.7154C30.2623 16.3014 31.1087 16.5122 31.9551 16.5122C32.8015 16.5122 33.6562 16.3014 34.2072 15.7154C34.7582 15.1294 34.9657 14.231 34.9657 13.3326V4.62842H37.3611V18.6219H34.9657V17.7313H34.5264C34.4783 17.7857 34.4307 17.8329 34.3826 17.8795C33.7835 18.4261 32.8652 18.6219 31.9629 18.6219C30.5494 18.6219 29.136 18.2707 28.2099 17.294C27.2838 16.3174 26.9563 14.817 26.9563 13.3248C26.9563 11.8327 27.2916 10.34 28.2099 9.35561C29.136 8.37898 30.5494 8.03497 31.9551 8.03497Z",fill:"currentColor"}),c.jsx("path",{d:"M49.3786 13.1431V13.9948H42.9984V12.2996H47.2305C47.1348 11.6825 46.9113 11.1043 46.5119 10.682C45.9371 10.0727 45.0503 9.85409 44.1723 9.85409C43.2943 9.85409 42.4076 10.0727 41.8328 10.682C41.258 11.2913 41.05 12.2213 41.05 13.1435C41.05 14.0658 41.2575 15.003 41.8328 15.6046C42.4076 16.2061 43.2939 16.433 44.1723 16.433C45.0508 16.433 45.9371 16.2143 46.5119 15.6046C46.5916 15.5186 46.6635 15.4248 46.7354 15.331H49.0992C48.8918 16.0657 48.5643 16.7299 48.0691 17.2454C47.111 18.2531 45.6339 18.6205 44.1723 18.6205C42.7108 18.6205 41.2337 18.2609 40.2755 17.2454C39.3174 16.2299 38.9661 14.6828 38.9661 13.1435C38.9661 11.6043 39.3096 10.0494 40.2755 9.04168C41.242 8.03396 42.7108 7.66663 44.1723 7.66663C45.6339 7.66663 47.111 8.02618 48.0691 9.04168C49.0351 10.0572 49.3786 11.6043 49.3786 13.1435V13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M61.4045 13.1431V13.9948H55.0243V12.2996H59.2564C59.1602 11.6825 58.9372 11.1043 58.5378 10.682C57.963 10.0727 57.0762 9.85409 56.1982 9.85409C55.3202 9.85409 54.4335 10.0727 53.8587 10.682C53.2839 11.2913 53.0759 12.2213 53.0759 13.1435C53.0759 14.0658 53.2834 15.003 53.8587 15.6046C54.4335 16.2061 55.3202 16.433 56.1982 16.433C57.0762 16.433 57.963 16.2143 58.5378 15.6046C58.6179 15.5186 58.6894 15.4248 58.7608 15.331H61.1251C60.9171 16.0657 60.5897 16.7299 60.0945 17.2454C59.1364 18.2531 57.6593 18.6205 56.1982 18.6205C54.7372 18.6205 53.2596 18.2609 52.3014 17.2454C51.3432 16.2299 50.9919 14.6828 50.9919 13.1435C50.9919 11.6043 51.3355 10.0494 52.3014 9.04168C53.2678 8.03396 54.7367 7.66663 56.1982 7.66663C57.6598 7.66663 59.1364 8.02618 60.0945 9.04168C61.061 10.0572 61.4045 11.6043 61.4045 13.1435V13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M80.242 18.6214C81.7035 18.6214 83.1801 18.4105 84.1383 17.809C85.0965 17.2075 85.4482 16.2931 85.4482 15.3869C85.4482 14.4807 85.1042 13.5585 84.1383 12.9647C83.1801 12.371 81.703 12.1518 80.242 12.1518C79.6186 12.1518 79.0438 12.0658 78.6366 11.8394C78.2294 11.6047 78.0778 11.2534 78.0778 10.9017C78.0778 10.5499 78.2216 10.1908 78.6366 9.9639C79.0438 9.72921 79.6749 9.65147 80.2973 9.65147C80.9198 9.65147 81.5509 9.73747 81.9591 9.9639C82.3663 10.1986 82.5179 10.5499 82.5179 10.9017H84.9531C84.9531 9.99499 84.6421 9.07327 83.7719 8.47951C82.9017 7.88576 81.5679 7.66663 80.2424 7.66663C78.9169 7.66663 77.5837 7.8775 76.713 8.47951C75.8427 9.08104 75.5308 9.99499 75.5308 10.9017C75.5308 11.8083 75.8423 12.73 76.713 13.3238C77.5832 13.9176 78.9165 14.1367 80.2424 14.1367C80.929 14.1367 81.688 14.2227 82.1428 14.4491C82.5985 14.676 82.7579 15.0351 82.7579 15.3869C82.7579 15.7387 82.5985 16.0977 82.1428 16.3246C81.688 16.5511 80.9931 16.6371 80.3066 16.6371C79.62 16.6371 78.9169 16.5511 78.4694 16.3246C78.0224 16.0982 77.8543 15.7387 77.8543 15.3869H75.0435C75.0435 16.2935 75.3865 17.2153 76.3534 17.809C77.3194 18.4028 78.7809 18.6214 80.2424 18.6214H80.242Z",fill:"currentColor"}),c.jsx("path",{d:"M97.4733 13.1431V13.9948H91.0932V12.2996H95.3252C95.23 11.6825 95.006 11.1043 94.6071 10.682C94.0313 10.0727 93.1456 9.85409 92.2666 9.85409C91.3876 9.85409 90.5018 10.0727 89.927 10.682C89.3522 11.2913 89.1452 12.2213 89.1452 13.1435C89.1452 14.0658 89.3522 15.003 89.927 15.6046C90.5018 16.2061 91.3886 16.433 92.2666 16.433C93.1446 16.433 94.0313 16.2143 94.6071 15.6046C94.6863 15.5186 94.7587 15.4248 94.8301 15.331H97.1935C96.9855 16.0657 96.6585 16.7299 96.1639 17.2454C95.2057 18.2531 93.7281 18.6205 92.2666 18.6205C90.805 18.6205 89.3284 18.2609 88.3703 17.2454C87.4121 16.2299 87.0613 14.6828 87.0613 13.1435C87.0613 11.6043 87.4043 10.0494 88.3703 9.04168C89.3367 8.03396 90.806 7.66663 92.2666 7.66663C93.7272 7.66663 95.2057 8.02618 96.1639 9.04168C97.1298 10.0572 97.4729 11.6043 97.4729 13.1435L97.4733 13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M109.499 13.1431V13.9948H103.119V12.2996H107.351C107.256 11.6825 107.032 11.1043 106.632 10.682C106.057 10.0727 105.172 9.85409 104.293 9.85409C103.414 9.85409 102.528 10.0727 101.953 10.682C101.378 11.2913 101.17 12.2213 101.17 13.1435C101.17 14.0658 101.378 15.003 101.953 15.6046C102.528 16.2061 103.415 16.433 104.293 16.433C105.171 16.433 106.057 16.2143 106.632 15.6046C106.712 15.5186 106.784 15.4248 106.856 15.331H109.22C109.012 16.0657 108.685 16.7299 108.19 17.2454C107.231 18.2531 105.754 18.6205 104.293 18.6205C102.831 18.6205 101.355 18.2609 100.396 17.2454C99.4382 16.2299 99.0864 14.6828 99.0864 13.1435C99.0864 11.6043 99.4295 10.0494 100.396 9.04168C101.362 8.03396 102.832 7.66663 104.293 7.66663C105.754 7.66663 107.231 8.02618 108.19 9.04168C109.156 10.0572 109.499 11.6043 109.499 13.1435V13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M113.5 4.62817H111.104V18.6217H113.5V4.62817Z",fill:"currentColor"}),c.jsx("path",{d:"M117.589 12.8154L121.517 18.6208H118.554L114.625 12.8154L118.554 8.15088H121.517L117.589 12.8154Z",fill:"currentColor"}),c.jsx("g",{clipPath:"url(#dsh-wordmark-whale-clip)",children:c.jsx("path",{d:"M23.0584 4.95203C22.8129 4.83203 22.7074 5.06103 22.5639 5.17704C22.5149 5.21454 22.4734 5.26354 22.4319 5.30854C22.0734 5.69155 21.6543 5.94306 21.1073 5.91306C20.3073 5.86806 19.6243 6.11957 19.0203 6.73158C18.8918 5.97706 18.4652 5.52655 17.8162 5.23754C17.4767 5.08753 17.1332 4.93703 16.8952 4.61052C16.7292 4.37801 16.6837 4.11901 16.6007 3.8635C16.5477 3.70949 16.4952 3.55199 16.3177 3.52549C16.1252 3.49549 16.0497 3.65699 15.9742 3.792C15.6722 4.34401 15.5552 4.95203 15.5667 5.56805C15.5932 6.95359 16.1782 8.05712 17.3407 8.84215C17.4727 8.93215 17.5067 9.02215 17.4652 9.15366C17.3857 9.42416 17.2917 9.68667 17.2087 9.95718C17.1557 10.1297 17.0767 10.1677 16.8917 10.0922C16.2537 9.82568 15.7027 9.43117 15.2156 8.95465C14.3891 8.15513 13.6416 7.2726 12.7096 6.58158C12.4906 6.42007 12.2716 6.27007 12.045 6.12707C11.094 5.20354 12.1696 4.44502 12.4186 4.35501C12.6791 4.26101 12.5091 3.938 11.6675 3.942C10.826 3.9455 10.056 4.22751 9.07446 4.60302C8.93096 4.65952 8.77995 4.70052 8.62545 4.73452C7.73492 4.56552 6.80989 4.52802 5.84386 4.63702C4.02481 4.83953 2.57177 5.69955 1.50373 7.1676C0.220694 8.93215 -0.0813148 10.9372 0.288196 13.0283C0.676708 15.2323 1.80174 17.0569 3.53029 18.4834C5.32285 19.9625 7.38741 20.6875 9.74298 20.5485C11.1735 20.466 12.7661 20.2745 14.5626 18.7539C15.0156 18.9795 15.4912 19.0695 16.2797 19.137C16.8872 19.1935 17.4722 19.107 17.9252 19.013C18.6347 18.8629 18.5857 18.2059 18.3292 18.0854C16.2497 17.1169 16.7062 17.5109 16.2912 17.1919C17.3477 15.9419 18.9618 13.7198 19.4598 10.6942C19.5088 10.3602 19.5713 9.88968 19.5638 9.61917C19.5598 9.45417 19.5978 9.39016 19.7863 9.37116C20.3073 9.31116 20.8128 9.16866 21.2773 8.91315C22.6249 8.17713 23.1684 6.96809 23.2964 5.51905C23.3154 5.29754 23.2924 5.06853 23.0584 4.95203ZM11.3165 17.9954C9.30097 16.4109 8.32344 15.8894 7.91992 15.9119C7.54241 15.9344 7.61042 16.3664 7.69342 16.6479C7.78042 16.9259 7.89342 17.1174 8.05193 17.3614C8.16143 17.5229 8.23694 17.7629 7.94243 17.9434C7.29341 18.3449 6.16487 17.8084 6.11187 17.7819C4.79833 17.0084 3.7003 15.9874 2.92628 14.5908C2.17875 13.2468 1.74474 11.8047 1.67324 10.2657C1.65424 9.89418 1.76374 9.76267 2.13375 9.69517C2.62077 9.60517 3.12278 9.58617 3.6093 9.65767C5.66636 9.95818 7.41741 10.8777 8.88545 12.3348C9.72348 13.1643 10.3575 14.1558 11.0105 15.1243C11.705 16.1529 12.4521 17.1329 13.4036 17.9364C13.7396 18.2179 14.0076 18.4319 14.2641 18.5899C13.4906 18.6764 12.1996 18.6949 11.3165 17.9964V17.9954ZM12.2826 11.7817C12.2826 11.6167 12.4146 11.4852 12.5806 11.4852C12.6181 11.4852 12.6521 11.4927 12.6826 11.5037C12.7241 11.5187 12.7621 11.5412 12.7921 11.5752C12.8451 11.6277 12.8751 11.7027 12.8751 11.7817C12.8751 11.9467 12.7431 12.0782 12.5771 12.0782C12.4111 12.0782 12.2826 11.9467 12.2826 11.7817ZM15.2831 13.3208C15.0906 13.3998 14.8981 13.4673 14.7131 13.4748C14.4261 13.4898 14.1131 13.3733 13.9431 13.2308C13.6791 13.0093 13.4901 12.8853 13.4111 12.4988C13.3771 12.3338 13.3961 12.0782 13.4261 11.9317C13.4941 11.6162 13.4186 11.4137 13.1961 11.2297C13.0151 11.0797 12.7846 11.0382 12.5316 11.0382C12.4371 11.0382 12.3506 10.9967 12.2861 10.9632C12.1806 10.9107 12.0936 10.7792 12.1766 10.6177C12.2031 10.5652 12.3316 10.4377 12.3616 10.4152C12.7051 10.2197 13.1011 10.2837 13.4676 10.4302C13.8071 10.5692 14.0641 10.8242 14.4336 11.1847C14.8111 11.6202 14.8791 11.7402 15.0941 12.0672C15.2641 12.3228 15.4186 12.5853 15.5247 12.8858C15.5887 13.0733 15.5057 13.2268 15.2831 13.3208Z",fill:"currentColor"})}),c.jsx("rect",{x:"129.348",y:"5.5",width:"52",height:"14",rx:"2",fill:"currentColor"}),c.jsxs("g",{clipPath:"url(#dsh-wordmark-badge-clip)",children:[c.jsx("path",{d:"M132.848 8.93205H134.08V16.137H132.848V8.93205ZM136.5 8.93205H137.732V16.137H136.5V8.93205ZM133.365 13.024V11.99H137.193V13.024H133.365Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M140.397 14.432L140.672 13.453H143.202L143.532 14.432H140.397ZM140.287 16.137H139.055L141.277 8.93205H142.201L142.146 9.74605L140.947 13.915H140.969L140.287 16.137ZM145.039 16.137H143.741L143.07 13.948L143.081 13.937L141.871 9.74605L141.926 8.93205H142.817L145.039 16.137Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M146.846 8.93205H149.068C149.852 8.93205 150.443 9.11538 150.839 9.48205C151.235 9.84138 151.433 10.3327 151.433 10.956C151.433 11.22 151.396 11.4657 151.323 11.693C151.249 11.9204 151.125 12.1257 150.949 12.309C150.773 12.4924 150.531 12.65 150.223 12.782C149.922 12.9067 149.541 13.0057 149.079 13.079V13.321H146.846V12.639L148.023 12.485C148.631 12.4044 149.09 12.298 149.398 12.166C149.706 12.034 149.915 11.8764 150.025 11.693C150.135 11.5024 150.19 11.2934 150.19 11.066C150.19 10.6994 150.083 10.417 149.871 10.219C149.658 10.021 149.324 9.92205 148.87 9.92205H146.846V8.93205ZM146.395 8.93205H147.627V16.137H146.395V8.93205ZM151.917 16.093V16.137H150.366L149.024 14.322C148.87 14.1094 148.73 13.9407 148.606 13.816C148.481 13.684 148.345 13.5887 148.199 13.53C148.052 13.464 147.872 13.42 147.66 13.398C147.447 13.3687 147.176 13.3504 146.846 13.343V13.145H149.079C149.233 13.211 149.368 13.2844 149.486 13.365C149.61 13.4457 149.735 13.5447 149.86 13.662C149.992 13.7794 150.138 13.937 150.3 14.135L151.917 16.093Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M153.58 9.57005L153.591 8.93205H154.46L157.584 15.51V16.137H156.704L153.58 9.57005ZM158.024 16.137H156.968L156.88 8.93205H158.024V16.137ZM154.24 16.137H153.096V8.93205H154.152L154.24 16.137Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M159.963 8.93205H161.206V16.137H159.963V8.93205ZM160.095 9.96605V8.93205H164.858V9.96605H160.095ZM160.095 16.137V15.103H164.902V16.137H160.095ZM160.095 13.013V11.99H164.374V13.013H160.095Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M169.052 15.257C169.543 15.257 169.895 15.1654 170.108 14.982C170.328 14.7987 170.438 14.5457 170.438 14.223C170.438 14.047 170.405 13.8967 170.339 13.772C170.273 13.6474 170.152 13.5337 169.976 13.431C169.807 13.321 169.558 13.2147 169.228 13.112L168.491 12.881C167.846 12.6757 167.38 12.4044 167.094 12.067C166.808 11.7297 166.665 11.3007 166.665 10.78C166.665 10.428 166.76 10.1017 166.951 9.80105C167.142 9.50038 167.428 9.25838 167.809 9.07505C168.19 8.89172 168.663 8.80005 169.228 8.80005C169.631 8.80005 169.998 8.82938 170.328 8.88805C170.665 8.93938 171.039 9.01638 171.45 9.11905L171.274 10.175C170.834 10.0504 170.442 9.96238 170.097 9.91105C169.76 9.85238 169.463 9.82305 169.206 9.82305C168.737 9.82305 168.403 9.90738 168.205 10.076C168.007 10.2374 167.908 10.439 167.908 10.681C167.908 10.857 167.941 11.0147 168.007 11.154C168.073 11.286 168.19 11.407 168.359 11.517C168.535 11.627 168.784 11.7334 169.107 11.836L169.866 12.078C170.526 12.276 170.995 12.5327 171.274 12.848C171.553 13.156 171.692 13.585 171.692 14.135C171.692 14.5604 171.589 14.9344 171.384 15.257C171.179 15.5797 170.878 15.8327 170.482 16.016C170.093 16.1994 169.609 16.291 169.03 16.291C168.627 16.291 168.212 16.247 167.787 16.159C167.362 16.071 166.9 15.9427 166.401 15.774L166.665 14.718C167.156 14.894 167.6 15.0297 167.996 15.125C168.399 15.213 168.751 15.257 169.052 15.257Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M175.809 15.257C176.3 15.257 176.652 15.1654 176.865 14.982C177.085 14.7987 177.195 14.5457 177.195 14.223C177.195 14.047 177.162 13.8967 177.096 13.772C177.03 13.6474 176.909 13.5337 176.733 13.431C176.564 13.321 176.315 13.2147 175.985 13.112L175.248 12.881C174.603 12.6757 174.137 12.4044 173.851 12.067C173.565 11.7297 173.422 11.3007 173.422 10.78C173.422 10.428 173.517 10.1017 173.708 9.80105C173.899 9.50038 174.185 9.25838 174.566 9.07505C174.947 8.89172 175.42 8.80005 175.985 8.80005C176.388 8.80005 176.755 8.82938 177.085 8.88805C177.422 8.93938 177.796 9.01638 178.207 9.11905L178.031 10.175C177.591 10.0504 177.199 9.96238 176.854 9.91105C176.517 9.85238 176.22 9.82305 175.963 9.82305C175.494 9.82305 175.16 9.90738 174.962 10.076C174.764 10.2374 174.665 10.439 174.665 10.681C174.665 10.857 174.698 11.0147 174.764 11.154C174.83 11.286 174.947 11.407 175.116 11.517C175.292 11.627 175.541 11.7334 175.864 11.836L176.623 12.078C177.283 12.276 177.752 12.5327 178.031 12.848C178.31 13.156 178.449 13.585 178.449 14.135C178.449 14.5604 178.346 14.9344 178.141 15.257C177.936 15.5797 177.635 15.8327 177.239 16.016C176.85 16.1994 176.366 16.291 175.787 16.291C175.384 16.291 174.969 16.247 174.544 16.159C174.119 16.071 173.657 15.9427 173.158 15.774L173.422 14.718C173.913 14.894 174.357 15.0297 174.753 15.125C175.156 15.213 175.508 15.257 175.809 15.257Z",fill:"var(--dsw-alias-label-primary-inverted)"})]}),c.jsxs("defs",{children:[c.jsx("clipPath",{id:"dsh-wordmark-whale-clip",children:c.jsx("rect",{width:"23.16",height:"17.0435",fill:"white",transform:"translate(0.141602 3.52185)"})}),c.jsx("clipPath",{id:"dsh-wordmark-badge-clip",children:c.jsx("rect",{width:"46",height:"14",fill:"white",transform:"translate(132.348 5.5)"})})]})]})}function C7({size:e=16,className:t,strokeWidth:n}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5.08545 8.13775L7.18455 10.2368C7.26636 10.3187 7.4003 10.3142 7.47649 10.2271L11.5148 5.61194",stroke:"currentColor"}),c.jsx("path",{d:"M6.59624 2.14853C7.50155 1.80917 8.49914 1.80919 9.40444 2.14859L13.9245 3.84317V7.11961C13.9245 11.6089 10.5565 13.5975 8.00035 14.5779C5.44423 13.5975 2.07544 11.6089 2.07544 7.11961V3.84317L6.59624 2.14853Z",stroke:"currentColor",strokeLinejoin:"round"})]})}function b7({size:e=16,className:t,strokeWidth:n}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.4209 1.68067C7.43922 1.299 8.56177 1.29898 9.58008 1.68067L14.0996 3.375C14.2946 3.44811 14.4236 3.63455 14.4238 3.84278V6.89063C14.1115 6.71853 13.7761 6.58312 13.4238 6.48926V4.18946L9.22852 2.61621C8.43657 2.31947 7.56341 2.31939 6.77148 2.61621L2.5752 4.18946V7.11914C2.5752 11.1796 5.52369 13.056 8 14.0391C8.27653 13.9293 8.55827 13.8067 8.8418 13.6729C9.07101 13.9468 9.33228 14.1929 9.62012 14.4053C9.12409 14.6579 8.63578 14.8696 8.17871 15.0449C8.0637 15.0889 7.93628 15.0889 7.82129 15.0449C5.22011 14.0472 1.5752 11.9381 1.5752 7.11914V3.84278C1.57541 3.63469 1.70463 3.44821 1.89941 3.375L6.4209 1.68067Z",fill:"currentColor"}),c.jsx("path",{d:"M5.26392 6.60339H10.7361",stroke:"currentColor"}),c.jsx("path",{d:"M5.26392 9.86902H8.32833",stroke:"currentColor"}),c.jsx("path",{d:"M10.0317 13.2229C10.263 13.3929 10.4943 13.563 10.7256 13.733C10.7932 13.6482 10.8608 13.5634 10.9284 13.4786C12.1455 11.9522 13.3626 10.4258 14.5798 8.89935C14.6474 8.81455 14.715 8.72975 14.7826 8.64495C14.4143 8.37419 14.046 8.10344 13.6777 7.83268C13.6169 7.92252 13.5562 8.01236 13.4954 8.10219C12.4016 9.71926 11.3078 11.3363 10.214 12.9534C10.1532 13.0432 10.0924 13.1331 10.0317 13.2229Z",fill:"currentColor"}),c.jsx("path",{d:"M12.6516 12.6696C12.6516 12.925 12.6516 13.1804 12.6516 13.4359C12.6952 13.4378 12.7387 13.4398 12.7823 13.4417C13.5663 13.4768 14.3504 13.5118 15.1345 13.5469C15.178 13.5488 15.2216 13.5508 15.2651 13.5527C15.2651 13.2194 15.2651 12.8861 15.2651 12.5527C15.2216 12.5547 15.178 12.5566 15.1345 12.5586C14.3504 12.5936 13.5663 12.6287 12.7823 12.6637C12.7387 12.6657 12.6952 12.6676 12.6516 12.6696Z",fill:"currentColor"})]})}function k7({size:e=16,className:t,strokeWidth:n}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.59624 2.14853C7.50155 1.80917 8.49914 1.80919 9.40444 2.14859L13.9245 3.84317V7.11961C13.9245 11.6089 10.5565 13.5975 8.00035 14.5779C5.44423 13.5975 2.07544 11.6089 2.07544 7.11961V3.84317L6.59624 2.14853Z",stroke:"currentColor",strokeLinejoin:"round"}),c.jsx("path",{d:"M8 4.39209V9.89209",stroke:"currentColor"}),c.jsx("path",{d:"M8 10.8081V11.8081",stroke:"currentColor"})]})}function iS(e){return c.jsx(C7,{...e,strokeWidth:Y})}function sS(e){return c.jsx(C7,{...e,strokeWidth:Q})}function aS(e){return c.jsx(b7,{...e,strokeWidth:Y})}function lS(e){return c.jsx(b7,{...e,strokeWidth:Q})}function cS(e){return c.jsx(k7,{...e,strokeWidth:Y})}function uS(e){return c.jsx(k7,{...e,strokeWidth:Q})}var p5;const dS=Object.freeze({status:"aborted"});function B(e,t,n){function r(f,p){if(f._zod||Object.defineProperty(f,"_zod",{value:{def:p,constr:u,traits:new Set},enumerable:!1}),f._zod.traits.has(e))return;f._zod.traits.add(e),t(f,p);const m=u.prototype,v=Object.keys(m);for(let w=0;w<v.length;w++){const y=v[w];y in f||(f[y]=m[y].bind(f))}}const s=n?.Parent??Object;class l extends s{}Object.defineProperty(l,"name",{value:e});function u(f){var p;const m=n?.Parent?new l:this;r(m,f),(p=m._zod).deferred??(p.deferred=[]);for(const v of m._zod.deferred)v();return m}return Object.defineProperty(u,"init",{value:r}),Object.defineProperty(u,Symbol.hasInstance,{value:f=>n?.Parent&&f instanceof n.Parent?!0:f?._zod?.traits?.has(e)}),Object.defineProperty(u,"name",{value:e}),u}class di extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class S7 extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(p5=globalThis).__zod_globalConfig??(p5.__zod_globalConfig={});const o2=globalThis.__zod_globalConfig;function pr(e){return o2}function j7(e){const t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,s])=>t.indexOf(+r)===-1).map(([r,s])=>s)}function p0(e,t){return typeof t=="bigint"?t.toString():t}function cl(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function i2(e){return e==null}function s2(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function fS(e,t){const n=e/t,r=Math.round(n),s=Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-r)<s?0:n-r}const m5=Symbol("evaluating");function Ze(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==m5)return r===void 0&&(r=m5,r=n()),r},set(s){Object.defineProperty(e,t,{value:s})},configurable:!0})}function So(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Zr(...e){const t={};for(const n of e){const r=Object.getOwnPropertyDescriptors(n);Object.assign(t,r)}return Object.defineProperties({},t)}function g5(e){return JSON.stringify(e)}function hS(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const E7="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Fs(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const pS=cl(()=>{if(o2.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function vi(e){if(Fs(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(Fs(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function M7(e){return vi(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const mS=new Set(["string","number","symbol"]);function wi(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Wr(e,t,n){const r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function ke(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function gS(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const vS={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function wS(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const l=Zr(e._zod.def,{get shape(){const u={};for(const f in t){if(!(f in n.shape))throw new Error(`Unrecognized key: "${f}"`);t[f]&&(u[f]=n.shape[f])}return So(this,"shape",u),u},checks:[]});return Wr(e,l)}function yS(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const l=Zr(e._zod.def,{get shape(){const u={...e._zod.def.shape};for(const f in t){if(!(f in n.shape))throw new Error(`Unrecognized key: "${f}"`);t[f]&&delete u[f]}return So(this,"shape",u),u},checks:[]});return Wr(e,l)}function xS(e,t){if(!vi(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const l=e._zod.def.shape;for(const u in t)if(Object.getOwnPropertyDescriptor(l,u)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const s=Zr(e._zod.def,{get shape(){const l={...e._zod.def.shape,...t};return So(this,"shape",l),l}});return Wr(e,s)}function _S(e,t){if(!vi(t))throw new Error("Invalid input to safeExtend: expected a plain object");const n=Zr(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t};return So(this,"shape",r),r}});return Wr(e,n)}function CS(e,t){if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const n=Zr(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t._zod.def.shape};return So(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Wr(e,n)}function bS(e,t,n){const s=t._zod.def.checks;if(s&&s.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const u=Zr(t._zod.def,{get shape(){const f=t._zod.def.shape,p={...f};if(n)for(const m in n){if(!(m in f))throw new Error(`Unrecognized key: "${m}"`);n[m]&&(p[m]=e?new e({type:"optional",innerType:f[m]}):f[m])}else for(const m in f)p[m]=e?new e({type:"optional",innerType:f[m]}):f[m];return So(this,"shape",p),p},checks:[]});return Wr(t,u)}function kS(e,t,n){const r=Zr(t._zod.def,{get shape(){const s=t._zod.def.shape,l={...s};if(n)for(const u in n){if(!(u in l))throw new Error(`Unrecognized key: "${u}"`);n[u]&&(l[u]=new e({type:"nonoptional",innerType:s[u]}))}else for(const u in s)l[u]=new e({type:"nonoptional",innerType:s[u]});return So(this,"shape",l),l}});return Wr(t,r)}function si(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function SS(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function $r(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function ha(e){return typeof e=="string"?e:e?.message}function mr(e,t,n){const r=e.message?e.message:ha(e.inst?._zod.def?.error?.(e))??ha(t?.error?.(e))??ha(n.customError?.(e))??ha(n.localeError?.(e))??"Invalid input",{inst:s,continue:l,input:u,...f}=e;return f.path??(f.path=[]),f.message=r,t?.reportInput&&(f.input=u),f}function a2(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Ds(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}const I7=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,p0,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},O7=B("$ZodError",I7),L7=B("$ZodError",I7,{Parent:Error});function jS(e,t=n=>n.message){const n={},r=[];for(const s of e.issues)s.path.length>0?(n[s.path[0]]=n[s.path[0]]||[],n[s.path[0]].push(t(s))):r.push(t(s));return{formErrors:r,fieldErrors:n}}function ES(e,t=n=>n.message){const n={_errors:[]},r=(s,l=[])=>{for(const u of s.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(f=>r({issues:f},[...l,...u.path]));else if(u.code==="invalid_key")r({issues:u.issues},[...l,...u.path]);else if(u.code==="invalid_element")r({issues:u.issues},[...l,...u.path]);else{const f=[...l,...u.path];if(f.length===0)n._errors.push(t(u));else{let p=n,m=0;for(;m<f.length;){const v=f[m];m===f.length-1?(p[v]=p[v]||{_errors:[]},p[v]._errors.push(t(u))):p[v]=p[v]||{_errors:[]},p=p[v],m++}}}};return r(e),n}const l2=e=>(t,n,r,s)=>{const l=r?{...r,async:!1}:{async:!1},u=t._zod.run({value:n,issues:[]},l);if(u instanceof Promise)throw new di;if(u.issues.length){const f=new(s?.Err??e)(u.issues.map(p=>mr(p,l,pr())));throw E7(f,s?.callee),f}return u.value},c2=e=>async(t,n,r,s)=>{const l=r?{...r,async:!0}:{async:!0};let u=t._zod.run({value:n,issues:[]},l);if(u instanceof Promise&&(u=await u),u.issues.length){const f=new(s?.Err??e)(u.issues.map(p=>mr(p,l,pr())));throw E7(f,s?.callee),f}return u.value},ul=e=>(t,n,r)=>{const s=r?{...r,async:!1}:{async:!1},l=t._zod.run({value:n,issues:[]},s);if(l instanceof Promise)throw new di;return l.issues.length?{success:!1,error:new(e??O7)(l.issues.map(u=>mr(u,s,pr())))}:{success:!0,data:l.value}},MS=ul(L7),dl=e=>async(t,n,r)=>{const s=r?{...r,async:!0}:{async:!0};let l=t._zod.run({value:n,issues:[]},s);return l instanceof Promise&&(l=await l),l.issues.length?{success:!1,error:new e(l.issues.map(u=>mr(u,s,pr())))}:{success:!0,data:l.value}},IS=dl(L7),OS=e=>(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return l2(e)(t,n,s)},LS=e=>(t,n,r)=>l2(e)(t,n,r),TS=e=>async(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return c2(e)(t,n,s)},zS=e=>async(t,n,r)=>c2(e)(t,n,r),PS=e=>(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return ul(e)(t,n,s)},NS=e=>(t,n,r)=>ul(e)(t,n,r),AS=e=>async(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return dl(e)(t,n,s)},RS=e=>async(t,n,r)=>dl(e)(t,n,r),FS=/^[cC][0-9a-z]{6,}$/,DS=/^[0-9a-z]+$/,$S=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,HS=/^[0-9a-vA-V]{20}$/,VS=/^[A-Za-z0-9]{27}$/,BS=/^[a-zA-Z0-9_-]{21}$/,ZS=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,WS=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,v5=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,US=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,qS="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function GS(){return new RegExp(qS,"u")}const KS=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,YS=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,JS=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,QS=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,XS=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,T7=/^[A-Za-z0-9_-]*$/,ej=/^https?$/,tj=/^\+[1-9]\d{6,14}$/,z7="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",nj=new RegExp(`^${z7}$`);function P7(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function rj(e){return new RegExp(`^${P7(e)}$`)}function oj(e){const t=P7({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${t}(?:${n.join("|")})`;return new RegExp(`^${z7}T(?:${r})$`)}const ij=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},sj=/^-?\d+$/,N7=/^-?\d+(?:\.\d+)?$/,aj=/^(?:true|false)$/i,lj=/^null$/i,cj=/^[^A-Z]*$/,uj=/^[^a-z]*$/,en=B("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),A7={number:"number",bigint:"bigint",object:"date"},R7=B("$ZodCheckLessThan",(e,t)=>{en.init(e,t);const n=A7[typeof t.value];e._zod.onattach.push(r=>{const s=r._zod.bag,l=(t.inclusive?s.maximum:s.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<l&&(t.inclusive?s.maximum=t.value:s.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),F7=B("$ZodCheckGreaterThan",(e,t)=>{en.init(e,t);const n=A7[typeof t.value];e._zod.onattach.push(r=>{const s=r._zod.bag,l=(t.inclusive?s.minimum:s.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>l&&(t.inclusive?s.minimum=t.value:s.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),dj=B("$ZodCheckMultipleOf",(e,t)=>{en.init(e,t),e._zod.onattach.push(n=>{var r;(r=n._zod.bag).multipleOf??(r.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):fS(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),fj=B("$ZodCheckNumberFormat",(e,t)=>{en.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),r=n?"int":"number",[s,l]=vS[t.format];e._zod.onattach.push(u=>{const f=u._zod.bag;f.format=t.format,f.minimum=s,f.maximum=l,n&&(f.pattern=sj)}),e._zod.check=u=>{const f=u.value;if(n){if(!Number.isInteger(f)){u.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:f,inst:e});return}if(!Number.isSafeInteger(f)){f>0?u.issues.push({input:f,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):u.issues.push({input:f,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}f<s&&u.issues.push({origin:"number",input:f,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!t.abort}),f>l&&u.issues.push({origin:"number",input:f,code:"too_big",maximum:l,inclusive:!0,inst:e,continue:!t.abort})}}),hj=B("$ZodCheckMaxLength",(e,t)=>{var n;en.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!i2(s)&&s.length!==void 0}),e._zod.onattach.push(r=>{const s=r._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<s&&(r._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{const s=r.value;if(s.length<=t.maximum)return;const u=a2(s);r.issues.push({origin:u,code:"too_big",maximum:t.maximum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),pj=B("$ZodCheckMinLength",(e,t)=>{var n;en.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!i2(s)&&s.length!==void 0}),e._zod.onattach.push(r=>{const s=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>s&&(r._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{const s=r.value;if(s.length>=t.minimum)return;const u=a2(s);r.issues.push({origin:u,code:"too_small",minimum:t.minimum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),mj=B("$ZodCheckLengthEquals",(e,t)=>{var n;en.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!i2(s)&&s.length!==void 0}),e._zod.onattach.push(r=>{const s=r._zod.bag;s.minimum=t.length,s.maximum=t.length,s.length=t.length}),e._zod.check=r=>{const s=r.value,l=s.length;if(l===t.length)return;const u=a2(s),f=l>t.length;r.issues.push({origin:u,...f?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),fl=B("$ZodCheckStringFormat",(e,t)=>{var n,r;en.init(e,t),e._zod.onattach.push(s=>{const l=s._zod.bag;l.format=t.format,t.pattern&&(l.patterns??(l.patterns=new Set),l.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=s=>{t.pattern.lastIndex=0,!t.pattern.test(s.value)&&s.issues.push({origin:"string",code:"invalid_format",format:t.format,input:s.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),gj=B("$ZodCheckRegex",(e,t)=>{fl.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),vj=B("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=cj),fl.init(e,t)}),wj=B("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=uj),fl.init(e,t)}),yj=B("$ZodCheckIncludes",(e,t)=>{en.init(e,t);const n=wi(t.includes),r=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(s=>{const l=s._zod.bag;l.patterns??(l.patterns=new Set),l.patterns.add(r)}),e._zod.check=s=>{s.value.includes(t.includes,t.position)||s.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:s.value,inst:e,continue:!t.abort})}}),xj=B("$ZodCheckStartsWith",(e,t)=>{en.init(e,t);const n=new RegExp(`^${wi(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const s=r._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(n)}),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),_j=B("$ZodCheckEndsWith",(e,t)=>{en.init(e,t);const n=new RegExp(`.*${wi(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const s=r._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(n)}),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}),Cj=B("$ZodCheckOverwrite",(e,t)=>{en.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class bj{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const r=t.split(`
70
+ `).filter(u=>u),s=Math.min(...r.map(u=>u.length-u.trimStart().length)),l=r.map(u=>u.slice(s)).map(u=>" ".repeat(this.indent*2)+u);for(const u of l)this.content.push(u)}compile(){const t=Function,n=this?.args,s=[...(this?.content??[""]).map(l=>` ${l}`)];return new t(...n,s.join(`
71
+ `))}}const kj={major:4,minor:4,patch:3},et=B("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=kj;const r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(const s of r)for(const l of s._zod.onattach)l(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const s=(u,f,p)=>{let m=si(u),v;for(const w of f){if(w._zod.def.when){if(SS(u)||!w._zod.def.when(u))continue}else if(m)continue;const y=u.issues.length,x=w._zod.check(u);if(x instanceof Promise&&p?.async===!1)throw new di;if(v||x instanceof Promise)v=(v??Promise.resolve()).then(async()=>{await x,u.issues.length!==y&&(m||(m=si(u,y)))});else{if(u.issues.length===y)continue;m||(m=si(u,y))}}return v?v.then(()=>u):u},l=(u,f,p)=>{if(si(u))return u.aborted=!0,u;const m=s(f,r,p);if(m instanceof Promise){if(p.async===!1)throw new di;return m.then(v=>e._zod.parse(v,p))}return e._zod.parse(m,p)};e._zod.run=(u,f)=>{if(f.skipChecks)return e._zod.parse(u,f);if(f.direction==="backward"){const m=e._zod.parse({value:u.value,issues:[]},{...f,skipChecks:!0});return m instanceof Promise?m.then(v=>l(v,u,f)):l(m,u,f)}const p=e._zod.parse(u,f);if(p instanceof Promise){if(f.async===!1)throw new di;return p.then(m=>s(m,r,f))}return s(p,r,f)}}Ze(e,"~standard",()=>({validate:s=>{try{const l=MS(e,s);return l.success?{value:l.data}:{issues:l.error?.issues}}catch{return IS(e,s).then(u=>u.success?{value:u.data}:{issues:u.error?.issues})}},vendor:"zod",version:1}))}),u2=B("$ZodString",(e,t)=>{et.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??ij(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),at=B("$ZodStringFormat",(e,t)=>{fl.init(e,t),u2.init(e,t)}),Sj=B("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=WS),at.init(e,t)}),jj=B("$ZodUUID",(e,t)=>{if(t.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(r===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=v5(r))}else t.pattern??(t.pattern=v5());at.init(e,t)}),Ej=B("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=US),at.init(e,t)}),Mj=B("$ZodURL",(e,t)=>{at.init(e,t),e._zod.check=n=>{try{const r=n.value.trim();if(!t.normalize&&t.protocol?.source===ej.source&&!/^https?:\/\//i.test(r)){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}const s=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(s.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(s.protocol.endsWith(":")?s.protocol.slice(0,-1):s.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=s.href:n.value=r;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),Ij=B("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=GS()),at.init(e,t)}),Oj=B("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=BS),at.init(e,t)}),Lj=B("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=FS),at.init(e,t)}),Tj=B("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=DS),at.init(e,t)}),zj=B("$ZodULID",(e,t)=>{t.pattern??(t.pattern=$S),at.init(e,t)}),Pj=B("$ZodXID",(e,t)=>{t.pattern??(t.pattern=HS),at.init(e,t)}),Nj=B("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=VS),at.init(e,t)}),Aj=B("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=oj(t)),at.init(e,t)}),Rj=B("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=nj),at.init(e,t)}),Fj=B("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=rj(t)),at.init(e,t)}),Dj=B("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=ZS),at.init(e,t)}),$j=B("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=KS),at.init(e,t),e._zod.bag.format="ipv4"}),Hj=B("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=YS),at.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),Vj=B("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=JS),at.init(e,t)}),Bj=B("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=QS),at.init(e,t),e._zod.check=n=>{const r=n.value.split("/");try{if(r.length!==2)throw new Error;const[s,l]=r;if(!l)throw new Error;const u=Number(l);if(`${u}`!==l)throw new Error;if(u<0||u>128)throw new Error;new URL(`http://[${s}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function D7(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const Zj=B("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=XS),at.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{D7(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function Wj(e){if(!T7.test(e))return!1;const t=e.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return D7(n)}const Uj=B("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=T7),at.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{Wj(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),qj=B("$ZodE164",(e,t)=>{t.pattern??(t.pattern=tj),at.init(e,t)});function Gj(e,t=null){try{const n=e.split(".");if(n.length!==3)return!1;const[r]=n;if(!r)return!1;const s=JSON.parse(atob(r));return!("typ"in s&&s?.typ!=="JWT"||!s.alg||t&&(!("alg"in s)||s.alg!==t))}catch{return!1}}const Kj=B("$ZodJWT",(e,t)=>{at.init(e,t),e._zod.check=n=>{Gj(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),$7=B("$ZodNumber",(e,t)=>{et.init(e,t),e._zod.pattern=e._zod.bag.pattern??N7,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}const s=n.value;if(typeof s=="number"&&!Number.isNaN(s)&&Number.isFinite(s))return n;const l=typeof s=="number"?Number.isNaN(s)?"NaN":Number.isFinite(s)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:s,inst:e,...l?{received:l}:{}}),n}}),Yj=B("$ZodNumberFormat",(e,t)=>{fj.init(e,t),$7.init(e,t)}),Jj=B("$ZodBoolean",(e,t)=>{et.init(e,t),e._zod.pattern=aj,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}const s=n.value;return typeof s=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:s,inst:e}),n}}),Qj=B("$ZodNull",(e,t)=>{et.init(e,t),e._zod.pattern=lj,e._zod.values=new Set([null]),e._zod.parse=(n,r)=>{const s=n.value;return s===null||n.issues.push({expected:"null",code:"invalid_type",input:s,inst:e}),n}}),Xj=B("$ZodUnknown",(e,t)=>{et.init(e,t),e._zod.parse=n=>n}),eE=B("$ZodNever",(e,t)=>{et.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function w5(e,t,n){e.issues.length&&t.issues.push(...$r(n,e.issues)),t.value[n]=e.value}const tE=B("$ZodArray",(e,t)=>{et.init(e,t),e._zod.parse=(n,r)=>{const s=n.value;if(!Array.isArray(s))return n.issues.push({expected:"array",code:"invalid_type",input:s,inst:e}),n;n.value=Array(s.length);const l=[];for(let u=0;u<s.length;u++){const f=s[u],p=t.element._zod.run({value:f,issues:[]},r);p instanceof Promise?l.push(p.then(m=>w5(m,n,u))):w5(p,n,u)}return l.length?Promise.all(l).then(()=>n):n}});function Ra(e,t,n,r,s,l){const u=n in r;if(e.issues.length){if(s&&l&&!u)return;t.issues.push(...$r(n,e.issues))}if(!u&&!s){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?u&&(t.value[n]=void 0):t.value[n]=e.value}function H7(e){const t=Object.keys(e.shape);for(const r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${r}": expected a Zod schema`);const n=gS(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function V7(e,t,n,r,s,l){const u=[],f=s.keySet,p=s.catchall._zod,m=p.def.type,v=p.optin==="optional",w=p.optout==="optional";for(const y in t){if(y==="__proto__"||f.has(y))continue;if(m==="never"){u.push(y);continue}const x=p.run({value:t[y],issues:[]},r);x instanceof Promise?e.push(x.then(C=>Ra(C,n,y,t,v,w))):Ra(x,n,y,t,v,w)}return u.length&&n.issues.push({code:"unrecognized_keys",keys:u,input:t,inst:l}),e.length?Promise.all(e).then(()=>n):n}const nE=B("$ZodObject",(e,t)=>{if(et.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const f=t.shape;Object.defineProperty(t,"shape",{get:()=>{const p={...f};return Object.defineProperty(t,"shape",{value:p}),p}})}const r=cl(()=>H7(t));Ze(e._zod,"propValues",()=>{const f=t.shape,p={};for(const m in f){const v=f[m]._zod;if(v.values){p[m]??(p[m]=new Set);for(const w of v.values)p[m].add(w)}}return p});const s=Fs,l=t.catchall;let u;e._zod.parse=(f,p)=>{u??(u=r.value);const m=f.value;if(!s(m))return f.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),f;f.value={};const v=[],w=u.shape;for(const y of u.keys){const x=w[y],C=x._zod.optin==="optional",E=x._zod.optout==="optional",M=x._zod.run({value:m[y],issues:[]},p);M instanceof Promise?v.push(M.then(P=>Ra(P,f,y,m,C,E))):Ra(M,f,y,m,C,E)}return l?V7(v,m,f,p,r.value,e):v.length?Promise.all(v).then(()=>f):f}}),rE=B("$ZodObjectJIT",(e,t)=>{nE.init(e,t);const n=e._zod.parse,r=cl(()=>H7(t)),s=y=>{const x=new bj(["shape","payload","ctx"]),C=r.value,E=$=>{const z=g5($);return`shape[${z}]._zod.run({ value: input[${z}], issues: [] }, ctx)`};x.write("const input = payload.value;");const M=Object.create(null);let P=0;for(const $ of C.keys)M[$]=`key_${P++}`;x.write("const newResult = {};");for(const $ of C.keys){const z=M[$],W=g5($),V=y[$],J=V?._zod?.optin==="optional",H=V?._zod?.optout==="optional";x.write(`const ${z} = ${E($)};`),J&&H?x.write(`
72
+ if (${z}.issues.length) {
73
+ if (${W} in input) {
74
+ payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
75
+ ...iss,
76
+ path: iss.path ? [${W}, ...iss.path] : [${W}]
77
+ })));
78
+ }
79
+ }
80
+
81
+ if (${z}.value === undefined) {
82
+ if (${W} in input) {
83
+ newResult[${W}] = undefined;
84
+ }
85
+ } else {
86
+ newResult[${W}] = ${z}.value;
87
+ }
88
+
89
+ `):J?x.write(`
90
+ if (${z}.issues.length) {
91
+ payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
92
+ ...iss,
93
+ path: iss.path ? [${W}, ...iss.path] : [${W}]
94
+ })));
95
+ }
96
+
97
+ if (${z}.value === undefined) {
98
+ if (${W} in input) {
99
+ newResult[${W}] = undefined;
100
+ }
101
+ } else {
102
+ newResult[${W}] = ${z}.value;
103
+ }
104
+
105
+ `):x.write(`
106
+ const ${z}_present = ${W} in input;
107
+ if (${z}.issues.length) {
108
+ payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
109
+ ...iss,
110
+ path: iss.path ? [${W}, ...iss.path] : [${W}]
111
+ })));
112
+ }
113
+ if (!${z}_present && !${z}.issues.length) {
114
+ payload.issues.push({
115
+ code: "invalid_type",
116
+ expected: "nonoptional",
117
+ input: undefined,
118
+ path: [${W}]
119
+ });
120
+ }
121
+
122
+ if (${z}_present) {
123
+ if (${z}.value === undefined) {
124
+ newResult[${W}] = undefined;
125
+ } else {
126
+ newResult[${W}] = ${z}.value;
127
+ }
128
+ }
129
+
130
+ `)}x.write("payload.value = newResult;"),x.write("return payload;");const O=x.compile();return($,z)=>O(y,$,z)};let l;const u=Fs,f=!o2.jitless,m=f&&pS.value,v=t.catchall;let w;e._zod.parse=(y,x)=>{w??(w=r.value);const C=y.value;return u(C)?f&&m&&x?.async===!1&&x.jitless!==!0?(l||(l=s(t.shape)),y=l(y,x),v?V7([],C,y,x,w,e):y):n(y,x):(y.issues.push({expected:"object",code:"invalid_type",input:C,inst:e}),y)}});function y5(e,t,n,r){for(const l of e)if(l.issues.length===0)return t.value=l.value,t;const s=e.filter(l=>!si(l));return s.length===1?(t.value=s[0].value,s[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(l=>l.issues.map(u=>mr(u,r,pr())))}),t)}const B7=B("$ZodUnion",(e,t)=>{et.init(e,t),Ze(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),Ze(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),Ze(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),Ze(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){const r=t.options.map(s=>s._zod.pattern);return new RegExp(`^(${r.map(s=>s2(s.source)).join("|")})$`)}});const n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,s)=>{if(n)return n(r,s);let l=!1;const u=[];for(const f of t.options){const p=f._zod.run({value:r.value,issues:[]},s);if(p instanceof Promise)u.push(p),l=!0;else{if(p.issues.length===0)return p;u.push(p)}}return l?Promise.all(u).then(f=>y5(f,r,e,s)):y5(u,r,e,s)}}),oE=B("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,B7.init(e,t);const n=e._zod.parse;Ze(e._zod,"propValues",()=>{const s={};for(const l of t.options){const u=l._zod.propValues;if(!u||Object.keys(u).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(l)}"`);for(const[f,p]of Object.entries(u)){s[f]||(s[f]=new Set);for(const m of p)s[f].add(m)}}return s});const r=cl(()=>{const s=t.options,l=new Map;for(const u of s){const f=u._zod.propValues?.[t.discriminator];if(!f||f.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(u)}"`);for(const p of f){if(l.has(p))throw new Error(`Duplicate discriminator value "${String(p)}"`);l.set(p,u)}}return l});e._zod.parse=(s,l)=>{const u=s.value;if(!Fs(u))return s.issues.push({code:"invalid_type",expected:"object",input:u,inst:e}),s;const f=r.value.get(u?.[t.discriminator]);return f?f._zod.run(s,l):t.unionFallback||l.direction==="backward"?n(s,l):(s.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(r.value.keys()),input:u,path:[t.discriminator],inst:e}),s)}}),iE=B("$ZodIntersection",(e,t)=>{et.init(e,t),e._zod.parse=(n,r)=>{const s=n.value,l=t.left._zod.run({value:s,issues:[]},r),u=t.right._zod.run({value:s,issues:[]},r);return l instanceof Promise||u instanceof Promise?Promise.all([l,u]).then(([p,m])=>x5(n,p,m)):x5(n,l,u)}});function m0(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(vi(e)&&vi(t)){const n=Object.keys(t),r=Object.keys(e).filter(l=>n.indexOf(l)!==-1),s={...e,...t};for(const l of r){const u=m0(e[l],t[l]);if(!u.valid)return{valid:!1,mergeErrorPath:[l,...u.mergeErrorPath]};s[l]=u.data}return{valid:!0,data:s}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<e.length;r++){const s=e[r],l=t[r],u=m0(s,l);if(!u.valid)return{valid:!1,mergeErrorPath:[r,...u.mergeErrorPath]};n.push(u.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function x5(e,t,n){const r=new Map;let s;for(const f of t.issues)if(f.code==="unrecognized_keys"){s??(s=f);for(const p of f.keys)r.has(p)||r.set(p,{}),r.get(p).l=!0}else e.issues.push(f);for(const f of n.issues)if(f.code==="unrecognized_keys")for(const p of f.keys)r.has(p)||r.set(p,{}),r.get(p).r=!0;else e.issues.push(f);const l=[...r].filter(([,f])=>f.l&&f.r).map(([f])=>f);if(l.length&&s&&e.issues.push({...s,keys:l}),si(e))return e;const u=m0(t.value,n.value);if(!u.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(u.mergeErrorPath)}`);return e.value=u.data,e}const sE=B("$ZodTuple",(e,t)=>{et.init(e,t);const n=t.items;e._zod.parse=(r,s)=>{const l=r.value;if(!Array.isArray(l))return r.issues.push({input:l,inst:e,expected:"tuple",code:"invalid_type"}),r;r.value=[];const u=[],f=_5(n,"optin"),p=_5(n,"optout");if(!t.rest){if(l.length<f)return r.issues.push({code:"too_small",minimum:f,inclusive:!0,input:l,inst:e,origin:"array"}),r;l.length>n.length&&r.issues.push({code:"too_big",maximum:n.length,inclusive:!0,input:l,inst:e,origin:"array"})}const m=new Array(n.length);for(let v=0;v<n.length;v++){const w=n[v]._zod.run({value:l[v],issues:[]},s);w instanceof Promise?u.push(w.then(y=>{m[v]=y})):m[v]=w}if(t.rest){let v=n.length-1;const w=l.slice(n.length);for(const y of w){v++;const x=t.rest._zod.run({value:y,issues:[]},s);x instanceof Promise?u.push(x.then(C=>C5(C,r,v))):C5(x,r,v)}}return u.length?Promise.all(u).then(()=>b5(m,r,n,l,p)):b5(m,r,n,l,p)}});function _5(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!=="optional")return n+1;return 0}function C5(e,t,n){e.issues.length&&t.issues.push(...$r(n,e.issues)),t.value[n]=e.value}function b5(e,t,n,r,s){for(let l=0;l<n.length;l++){const u=e[l],f=l<r.length;if(u.issues.length){if(!f&&l>=s){t.value.length=l;break}t.issues.push(...$r(l,u.issues))}t.value[l]=u.value}for(let l=t.value.length-1;l>=r.length&&(n[l]._zod.optout==="optional"&&t.value[l]===void 0);l--)t.value.length=l;return t}const aE=B("$ZodRecord",(e,t)=>{et.init(e,t),e._zod.parse=(n,r)=>{const s=n.value;if(!vi(s))return n.issues.push({expected:"record",code:"invalid_type",input:s,inst:e}),n;const l=[],u=t.keyType._zod.values;if(u){n.value={};const f=new Set;for(const m of u)if(typeof m=="string"||typeof m=="number"||typeof m=="symbol"){f.add(typeof m=="number"?m.toString():m);const v=t.keyType._zod.run({value:m,issues:[]},r);if(v instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(v.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:v.issues.map(x=>mr(x,r,pr())),input:m,path:[m],inst:e});continue}const w=v.value,y=t.valueType._zod.run({value:s[m],issues:[]},r);y instanceof Promise?l.push(y.then(x=>{x.issues.length&&n.issues.push(...$r(m,x.issues)),n.value[w]=x.value})):(y.issues.length&&n.issues.push(...$r(m,y.issues)),n.value[w]=y.value)}let p;for(const m in s)f.has(m)||(p=p??[],p.push(m));p&&p.length>0&&n.issues.push({code:"unrecognized_keys",input:s,inst:e,keys:p})}else{n.value={};for(const f of Reflect.ownKeys(s)){if(f==="__proto__"||!Object.prototype.propertyIsEnumerable.call(s,f))continue;let p=t.keyType._zod.run({value:f,issues:[]},r);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof f=="string"&&N7.test(f)&&p.issues.length){const w=t.keyType._zod.run({value:Number(f),issues:[]},r);if(w instanceof Promise)throw new Error("Async schemas not supported in object keys currently");w.issues.length===0&&(p=w)}if(p.issues.length){t.mode==="loose"?n.value[f]=s[f]:n.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(w=>mr(w,r,pr())),input:f,path:[f],inst:e});continue}const v=t.valueType._zod.run({value:s[f],issues:[]},r);v instanceof Promise?l.push(v.then(w=>{w.issues.length&&n.issues.push(...$r(f,w.issues)),n.value[p.value]=w.value})):(v.issues.length&&n.issues.push(...$r(f,v.issues)),n.value[p.value]=v.value)}}return l.length?Promise.all(l).then(()=>n):n}}),lE=B("$ZodEnum",(e,t)=>{et.init(e,t);const n=j7(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.filter(s=>mS.has(typeof s)).map(s=>typeof s=="string"?wi(s):s.toString()).join("|")})$`),e._zod.parse=(s,l)=>{const u=s.value;return r.has(u)||s.issues.push({code:"invalid_value",values:n,input:u,inst:e}),s}}),cE=B("$ZodLiteral",(e,t)=>{if(et.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?wi(r):r?wi(r.toString()):String(r)).join("|")})$`),e._zod.parse=(r,s)=>{const l=r.value;return n.has(l)||r.issues.push({code:"invalid_value",values:t.values,input:l,inst:e}),r}}),uE=B("$ZodTransform",(e,t)=>{et.init(e,t),e._zod.optin="optional",e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new S7(e.constructor.name);const s=t.transform(n.value,n);if(r.async)return(s instanceof Promise?s:Promise.resolve(s)).then(u=>(n.value=u,n.fallback=!0,n));if(s instanceof Promise)throw new di;return n.value=s,n.fallback=!0,n}});function k5(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const Z7=B("$ZodOptional",(e,t)=>{et.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Ze(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Ze(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${s2(n.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(t.innerType._zod.optin==="optional"){const s=n.value,l=t.innerType._zod.run(n,r);return l instanceof Promise?l.then(u=>k5(u,s)):k5(l,s)}return n.value===void 0?n:t.innerType._zod.run(n,r)}}),dE=B("$ZodExactOptional",(e,t)=>{Z7.init(e,t),Ze(e._zod,"values",()=>t.innerType._zod.values),Ze(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,r)=>t.innerType._zod.run(n,r)}),fE=B("$ZodNullable",(e,t)=>{et.init(e,t),Ze(e._zod,"optin",()=>t.innerType._zod.optin),Ze(e._zod,"optout",()=>t.innerType._zod.optout),Ze(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${s2(n.source)}|null)$`):void 0}),Ze(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r)}),hE=B("$ZodDefault",(e,t)=>{et.init(e,t),e._zod.optin="optional",Ze(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)return n.value=t.defaultValue,n;const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then(l=>S5(l,t)):S5(s,t)}});function S5(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const pE=B("$ZodPrefault",(e,t)=>{et.init(e,t),e._zod.optin="optional",Ze(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,r))}),mE=B("$ZodNonOptional",(e,t)=>{et.init(e,t),Ze(e._zod,"values",()=>{const n=t.innerType._zod.values;return n?new Set([...n].filter(r=>r!==void 0)):void 0}),e._zod.parse=(n,r)=>{const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then(l=>j5(l,e)):j5(s,e)}});function j5(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const gE=B("$ZodCatch",(e,t)=>{et.init(e,t),e._zod.optin="optional",Ze(e._zod,"optout",()=>t.innerType._zod.optout),Ze(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then(l=>(n.value=l.value,l.issues.length&&(n.value=t.catchValue({...n,error:{issues:l.issues.map(u=>mr(u,r,pr()))},input:n.value}),n.issues=[],n.fallback=!0),n)):(n.value=s.value,s.issues.length&&(n.value=t.catchValue({...n,error:{issues:s.issues.map(l=>mr(l,r,pr()))},input:n.value}),n.issues=[],n.fallback=!0),n)}}),vE=B("$ZodPipe",(e,t)=>{et.init(e,t),Ze(e._zod,"values",()=>t.in._zod.values),Ze(e._zod,"optin",()=>t.in._zod.optin),Ze(e._zod,"optout",()=>t.out._zod.optout),Ze(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,r)=>{if(r.direction==="backward"){const l=t.out._zod.run(n,r);return l instanceof Promise?l.then(u=>pa(u,t.in,r)):pa(l,t.in,r)}const s=t.in._zod.run(n,r);return s instanceof Promise?s.then(l=>pa(l,t.out,r)):pa(s,t.out,r)}});function pa(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}const wE=B("$ZodReadonly",(e,t)=>{et.init(e,t),Ze(e._zod,"propValues",()=>t.innerType._zod.propValues),Ze(e._zod,"values",()=>t.innerType._zod.values),Ze(e._zod,"optin",()=>t.innerType?._zod?.optin),Ze(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then(E5):E5(s)}});function E5(e){return e.value=Object.freeze(e.value),e}const yE=B("$ZodLazy",(e,t)=>{et.init(e,t),Ze(e._zod,"innerType",()=>{const n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),Ze(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),Ze(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),Ze(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),Ze(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,r)=>e._zod.innerType._zod.run(n,r)}),xE=B("$ZodCustom",(e,t)=>{en.init(e,t),et.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{const r=n.value,s=t.fn(r);if(s instanceof Promise)return s.then(l=>M5(l,n,r,e));M5(s,n,r,e)}});function M5(e,t,n,r){if(!e){const s={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(s.params=r._zod.def.params),t.issues.push(Ds(s))}}var I5;class _E{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const s={...r,...this._map.get(t)};return Object.keys(s).length?s:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function CE(){return new _E}(I5=globalThis).__zod_globalRegistry??(I5.__zod_globalRegistry=CE());const ks=globalThis.__zod_globalRegistry;function bE(e,t){return new e({type:"string",...ke(t)})}function kE(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...ke(t)})}function O5(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...ke(t)})}function SE(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...ke(t)})}function jE(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ke(t)})}function EE(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ke(t)})}function ME(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ke(t)})}function W7(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...ke(t)})}function IE(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...ke(t)})}function OE(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...ke(t)})}function LE(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...ke(t)})}function TE(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...ke(t)})}function zE(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...ke(t)})}function PE(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...ke(t)})}function NE(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...ke(t)})}function AE(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...ke(t)})}function RE(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...ke(t)})}function FE(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ke(t)})}function DE(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ke(t)})}function $E(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...ke(t)})}function HE(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...ke(t)})}function VE(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...ke(t)})}function BE(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...ke(t)})}function ZE(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ke(t)})}function WE(e,t){return new e({type:"string",format:"date",check:"string_format",...ke(t)})}function UE(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...ke(t)})}function qE(e,t){return new e({type:"string",format:"duration",check:"string_format",...ke(t)})}function GE(e,t){return new e({type:"number",checks:[],...ke(t)})}function KE(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...ke(t)})}function YE(e,t){return new e({type:"boolean",...ke(t)})}function JE(e,t){return new e({type:"null",...ke(t)})}function QE(e){return new e({type:"unknown"})}function XE(e,t){return new e({type:"never",...ke(t)})}function L5(e,t){return new R7({check:"less_than",...ke(t),value:e,inclusive:!1})}function Au(e,t){return new R7({check:"less_than",...ke(t),value:e,inclusive:!0})}function T5(e,t){return new F7({check:"greater_than",...ke(t),value:e,inclusive:!1})}function Ru(e,t){return new F7({check:"greater_than",...ke(t),value:e,inclusive:!0})}function z5(e,t){return new dj({check:"multiple_of",...ke(t),value:e})}function U7(e,t){return new hj({check:"max_length",...ke(t),maximum:e})}function Fa(e,t){return new pj({check:"min_length",...ke(t),minimum:e})}function q7(e,t){return new mj({check:"length_equals",...ke(t),length:e})}function eM(e,t){return new gj({check:"string_format",format:"regex",...ke(t),pattern:e})}function tM(e){return new vj({check:"string_format",format:"lowercase",...ke(e)})}function nM(e){return new wj({check:"string_format",format:"uppercase",...ke(e)})}function rM(e,t){return new yj({check:"string_format",format:"includes",...ke(t),includes:e})}function oM(e,t){return new xj({check:"string_format",format:"starts_with",...ke(t),prefix:e})}function iM(e,t){return new _j({check:"string_format",format:"ends_with",...ke(t),suffix:e})}function Ci(e){return new Cj({check:"overwrite",tx:e})}function sM(e){return Ci(t=>t.normalize(e))}function aM(){return Ci(e=>e.trim())}function lM(){return Ci(e=>e.toLowerCase())}function cM(){return Ci(e=>e.toUpperCase())}function uM(){return Ci(e=>hS(e))}function dM(e,t,n){return new e({type:"array",element:t,...ke(n)})}function fM(e,t,n){const r=ke(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}function hM(e,t,n){return new e({type:"custom",check:"custom",fn:t,...ke(n)})}function pM(e,t){const n=mM(r=>(r.addIssue=s=>{if(typeof s=="string")r.issues.push(Ds(s,r.value,n._zod.def));else{const l=s;l.fatal&&(l.continue=!1),l.code??(l.code="custom"),l.input??(l.input=r.value),l.inst??(l.inst=n),l.continue??(l.continue=!n._zod.def.abort),r.issues.push(Ds(l))}},e(r.value,r)),t);return n}function mM(e,t){const n=new en({check:"custom",...ke(t)});return n._zod.check=e,n}function G7(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??ks,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function ut(e,t,n={path:[],schemaPath:[]}){var r;const s=e._zod.def,l=t.seen.get(e);if(l)return l.count++,n.schemaPath.includes(e)&&(l.cycle=n.path),l.schema;const u={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,u);const f=e._zod.toJSONSchema?.();if(f)u.schema=f;else{const v={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,u.schema,v);else{const y=u.schema,x=t.processors[s.type];if(!x)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);x(e,t,y,v)}const w=e._zod.parent;w&&(u.ref||(u.ref=w),ut(w,t,v),t.seen.get(w).isParent=!0)}const p=t.metadataRegistry.get(e);return p&&Object.assign(u.schema,p),t.io==="input"&&Bt(e)&&(delete u.schema.examples,delete u.schema.default),t.io==="input"&&"_prefault"in u.schema&&((r=u.schema).default??(r.default=u.schema._prefault)),delete u.schema._prefault,t.seen.get(e).schema}function K7(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=new Map;for(const u of e.seen.entries()){const f=e.metadataRegistry.get(u[0])?.id;if(f){const p=r.get(f);if(p&&p!==u[0])throw new Error(`Duplicate schema id "${f}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(f,u[0])}}const s=u=>{const f=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const w=e.external.registry.get(u[0])?.id,y=e.external.uri??(C=>C);if(w)return{ref:y(w)};const x=u[1].defId??u[1].schema.id??`schema${e.counter++}`;return u[1].defId=x,{defId:x,ref:`${y("__shared")}#/${f}/${x}`}}if(u[1]===n)return{ref:"#"};const m=`#/${f}/`,v=u[1].schema.id??`__schema${e.counter++}`;return{defId:v,ref:m+v}},l=u=>{if(u[1].schema.$ref)return;const f=u[1],{ref:p,defId:m}=s(u);f.def={...f.schema},m&&(f.defId=m);const v=f.schema;for(const w in v)delete v[w];v.$ref=p};if(e.cycles==="throw")for(const u of e.seen.entries()){const f=u[1];if(f.cycle)throw new Error(`Cycle detected: #/${f.cycle?.join("/")}/<root>
131
+
132
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const u of e.seen.entries()){const f=u[1];if(t===u[0]){l(u);continue}if(e.external){const m=e.external.registry.get(u[0])?.id;if(t!==u[0]&&m){l(u);continue}}if(e.metadataRegistry.get(u[0])?.id){l(u);continue}if(f.cycle){l(u);continue}if(f.count>1&&e.reused==="ref"){l(u);continue}}}function Y7(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=f=>{const p=e.seen.get(f);if(p.ref===null)return;const m=p.def??p.schema,v={...m},w=p.ref;if(p.ref=null,w){r(w);const x=e.seen.get(w),C=x.schema;if(C.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(m.allOf=m.allOf??[],m.allOf.push(C)):Object.assign(m,C),Object.assign(m,v),f._zod.parent===w)for(const M in m)M==="$ref"||M==="allOf"||M in v||delete m[M];if(C.$ref&&x.def)for(const M in m)M==="$ref"||M==="allOf"||M in x.def&&JSON.stringify(m[M])===JSON.stringify(x.def[M])&&delete m[M]}const y=f._zod.parent;if(y&&y!==w){r(y);const x=e.seen.get(y);if(x?.schema.$ref&&(m.$ref=x.schema.$ref,x.def))for(const C in m)C==="$ref"||C==="allOf"||C in x.def&&JSON.stringify(m[C])===JSON.stringify(x.def[C])&&delete m[C]}e.override({zodSchema:f,jsonSchema:m,path:p.path??[]})};for(const f of[...e.seen.entries()].reverse())r(f[0]);const s={};if(e.target==="draft-2020-12"?s.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?s.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?s.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const f=e.external.registry.get(t)?.id;if(!f)throw new Error("Schema is missing an `id` property");s.$id=e.external.uri(f)}Object.assign(s,n.def??n.schema);const l=e.metadataRegistry.get(t)?.id;l!==void 0&&s.id===l&&delete s.id;const u=e.external?.defs??{};for(const f of e.seen.entries()){const p=f[1];p.def&&p.defId&&(p.def.id===p.defId&&delete p.def.id,u[p.defId]=p.def)}e.external||Object.keys(u).length>0&&(e.target==="draft-2020-12"?s.$defs=u:s.definitions=u);try{const f=JSON.parse(JSON.stringify(s));return Object.defineProperty(f,"~standard",{value:{...t["~standard"],jsonSchema:{input:Da(t,"input",e.processors),output:Da(t,"output",e.processors)}},enumerable:!1,writable:!1}),f}catch{throw new Error("Error converting schema to JSON.")}}function Bt(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const r=e._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return Bt(r.element,n);if(r.type==="set")return Bt(r.valueType,n);if(r.type==="lazy")return Bt(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return Bt(r.innerType,n);if(r.type==="intersection")return Bt(r.left,n)||Bt(r.right,n);if(r.type==="record"||r.type==="map")return Bt(r.keyType,n)||Bt(r.valueType,n);if(r.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Bt(r.in,n)||Bt(r.out,n);if(r.type==="object"){for(const s in r.shape)if(Bt(r.shape[s],n))return!0;return!1}if(r.type==="union"){for(const s of r.options)if(Bt(s,n))return!0;return!1}if(r.type==="tuple"){for(const s of r.items)if(Bt(s,n))return!0;return!!(r.rest&&Bt(r.rest,n))}return!1}const gM=(e,t={})=>n=>{const r=G7({...n,processors:t});return ut(e,r),K7(r,e),Y7(r,e)},Da=(e,t,n={})=>r=>{const{libraryOptions:s,target:l}=r??{},u=G7({...s??{},target:l,io:t,processors:n});return ut(e,u),K7(u,e),Y7(u,e)},vM={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},wM=(e,t,n,r)=>{const s=n;s.type="string";const{minimum:l,maximum:u,format:f,patterns:p,contentEncoding:m}=e._zod.bag;if(typeof l=="number"&&(s.minLength=l),typeof u=="number"&&(s.maxLength=u),f&&(s.format=vM[f]??f,s.format===""&&delete s.format,f==="time"&&delete s.format),m&&(s.contentEncoding=m),p&&p.size>0){const v=[...p];v.length===1?s.pattern=v[0].source:v.length>1&&(s.allOf=[...v.map(w=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:w.source}))])}},yM=(e,t,n,r)=>{const s=n,{minimum:l,maximum:u,format:f,multipleOf:p,exclusiveMaximum:m,exclusiveMinimum:v}=e._zod.bag;typeof f=="string"&&f.includes("int")?s.type="integer":s.type="number";const w=typeof v=="number"&&v>=(l??Number.NEGATIVE_INFINITY),y=typeof m=="number"&&m<=(u??Number.POSITIVE_INFINITY),x=t.target==="draft-04"||t.target==="openapi-3.0";w?x?(s.minimum=v,s.exclusiveMinimum=!0):s.exclusiveMinimum=v:typeof l=="number"&&(s.minimum=l),y?x?(s.maximum=m,s.exclusiveMaximum=!0):s.exclusiveMaximum=m:typeof u=="number"&&(s.maximum=u),typeof p=="number"&&(s.multipleOf=p)},xM=(e,t,n,r)=>{n.type="boolean"},_M=(e,t,n,r)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},CM=(e,t,n,r)=>{n.not={}},bM=(e,t,n,r)=>{},kM=(e,t,n,r)=>{const s=e._zod.def,l=j7(s.entries);l.every(u=>typeof u=="number")&&(n.type="number"),l.every(u=>typeof u=="string")&&(n.type="string"),n.enum=l},SM=(e,t,n,r)=>{const s=e._zod.def,l=[];for(const u of s.values)if(u===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof u=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");l.push(Number(u))}else l.push(u);if(l.length!==0)if(l.length===1){const u=l[0];n.type=u===null?"null":typeof u,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[u]:n.const=u}else l.every(u=>typeof u=="number")&&(n.type="number"),l.every(u=>typeof u=="string")&&(n.type="string"),l.every(u=>typeof u=="boolean")&&(n.type="boolean"),l.every(u=>u===null)&&(n.type="null"),n.enum=l},jM=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},EM=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},MM=(e,t,n,r)=>{const s=n,l=e._zod.def,{minimum:u,maximum:f}=e._zod.bag;typeof u=="number"&&(s.minItems=u),typeof f=="number"&&(s.maxItems=f),s.type="array",s.items=ut(l.element,t,{...r,path:[...r.path,"items"]})},IM=(e,t,n,r)=>{const s=n,l=e._zod.def;s.type="object",s.properties={};const u=l.shape;for(const m in u)s.properties[m]=ut(u[m],t,{...r,path:[...r.path,"properties",m]});const f=new Set(Object.keys(u)),p=new Set([...f].filter(m=>{const v=l.shape[m]._zod;return t.io==="input"?v.optin===void 0:v.optout===void 0}));p.size>0&&(s.required=Array.from(p)),l.catchall?._zod.def.type==="never"?s.additionalProperties=!1:l.catchall?l.catchall&&(s.additionalProperties=ut(l.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):t.io==="output"&&(s.additionalProperties=!1)},OM=(e,t,n,r)=>{const s=e._zod.def,l=s.inclusive===!1,u=s.options.map((f,p)=>ut(f,t,{...r,path:[...r.path,l?"oneOf":"anyOf",p]}));l?n.oneOf=u:n.anyOf=u},LM=(e,t,n,r)=>{const s=e._zod.def,l=ut(s.left,t,{...r,path:[...r.path,"allOf",0]}),u=ut(s.right,t,{...r,path:[...r.path,"allOf",1]}),f=m=>"allOf"in m&&Object.keys(m).length===1,p=[...f(l)?l.allOf:[l],...f(u)?u.allOf:[u]];n.allOf=p},TM=(e,t,n,r)=>{const s=n,l=e._zod.def;s.type="array";const u=t.target==="draft-2020-12"?"prefixItems":"items",f=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",p=l.items.map((y,x)=>ut(y,t,{...r,path:[...r.path,u,x]})),m=l.rest?ut(l.rest,t,{...r,path:[...r.path,f,...t.target==="openapi-3.0"?[l.items.length]:[]]}):null;t.target==="draft-2020-12"?(s.prefixItems=p,m&&(s.items=m)):t.target==="openapi-3.0"?(s.items={anyOf:p},m&&s.items.anyOf.push(m),s.minItems=p.length,m||(s.maxItems=p.length)):(s.items=p,m&&(s.additionalItems=m));const{minimum:v,maximum:w}=e._zod.bag;typeof v=="number"&&(s.minItems=v),typeof w=="number"&&(s.maxItems=w)},zM=(e,t,n,r)=>{const s=n,l=e._zod.def;s.type="object";const u=l.keyType,p=u._zod.bag?.patterns;if(l.mode==="loose"&&p&&p.size>0){const v=ut(l.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});s.patternProperties={};for(const w of p)s.patternProperties[w.source]=v}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(s.propertyNames=ut(l.keyType,t,{...r,path:[...r.path,"propertyNames"]})),s.additionalProperties=ut(l.valueType,t,{...r,path:[...r.path,"additionalProperties"]});const m=u._zod.values;if(m){const v=[...m].filter(w=>typeof w=="string"||typeof w=="number");v.length>0&&(s.required=v)}},PM=(e,t,n,r)=>{const s=e._zod.def,l=ut(s.innerType,t,r),u=t.seen.get(e);t.target==="openapi-3.0"?(u.ref=s.innerType,n.nullable=!0):n.anyOf=[l,{type:"null"}]},NM=(e,t,n,r)=>{const s=e._zod.def;ut(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType},AM=(e,t,n,r)=>{const s=e._zod.def;ut(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType,n.default=JSON.parse(JSON.stringify(s.defaultValue))},RM=(e,t,n,r)=>{const s=e._zod.def;ut(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(s.defaultValue)))},FM=(e,t,n,r)=>{const s=e._zod.def;ut(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType;let u;try{u=s.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=u},DM=(e,t,n,r)=>{const s=e._zod.def,l=s.in._zod.traits.has("$ZodTransform"),u=t.io==="input"?l?s.out:s.in:s.out;ut(u,t,r);const f=t.seen.get(e);f.ref=u},$M=(e,t,n,r)=>{const s=e._zod.def;ut(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType,n.readOnly=!0},J7=(e,t,n,r)=>{const s=e._zod.def;ut(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType},HM=(e,t,n,r)=>{const s=e._zod.innerType;ut(s,t,r);const l=t.seen.get(e);l.ref=s},VM=B("ZodISODateTime",(e,t)=>{Aj.init(e,t),dt.init(e,t)});function BM(e){return ZE(VM,e)}const ZM=B("ZodISODate",(e,t)=>{Rj.init(e,t),dt.init(e,t)});function WM(e){return WE(ZM,e)}const UM=B("ZodISOTime",(e,t)=>{Fj.init(e,t),dt.init(e,t)});function qM(e){return UE(UM,e)}const GM=B("ZodISODuration",(e,t)=>{Dj.init(e,t),dt.init(e,t)});function KM(e){return qE(GM,e)}const YM=(e,t)=>{O7.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>ES(e,n)},flatten:{value:n=>jS(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,p0,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,p0,2)}},isEmpty:{get(){return e.issues.length===0}}})},kn=B("ZodError",YM,{Parent:Error}),JM=l2(kn),QM=c2(kn),XM=ul(kn),eI=dl(kn),tI=OS(kn),nI=LS(kn),rI=TS(kn),oI=zS(kn),iI=PS(kn),sI=NS(kn),aI=AS(kn),lI=RS(kn),P5=new WeakMap;function Gs(e,t,n){const r=Object.getPrototypeOf(e);let s=P5.get(r);if(s||(s=new Set,P5.set(r,s)),!s.has(t)){s.add(t);for(const l in n){const u=n[l];Object.defineProperty(r,l,{configurable:!0,enumerable:!1,get(){const f=u.bind(this);return Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:f}),f},set(f){Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:f})}})}}}const rt=B("ZodType",(e,t)=>(et.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Da(e,"input"),output:Da(e,"output")}}),e.toJSONSchema=gM(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(n,r)=>JM(e,n,r,{callee:e.parse}),e.safeParse=(n,r)=>XM(e,n,r),e.parseAsync=async(n,r)=>QM(e,n,r,{callee:e.parseAsync}),e.safeParseAsync=async(n,r)=>eI(e,n,r),e.spa=e.safeParseAsync,e.encode=(n,r)=>tI(e,n,r),e.decode=(n,r)=>nI(e,n,r),e.encodeAsync=async(n,r)=>rI(e,n,r),e.decodeAsync=async(n,r)=>oI(e,n,r),e.safeEncode=(n,r)=>iI(e,n,r),e.safeDecode=(n,r)=>sI(e,n,r),e.safeEncodeAsync=async(n,r)=>aI(e,n,r),e.safeDecodeAsync=async(n,r)=>lI(e,n,r),Gs(e,"ZodType",{check(...n){const r=this.def;return this.clone(Zr(r,{checks:[...r.checks??[],...n.map(s=>typeof s=="function"?{_zod:{check:s,def:{check:"custom"},onattach:[]}}:s)]}),{parent:!0})},with(...n){return this.check(...n)},clone(n,r){return Wr(this,n,r)},brand(){return this},register(n,r){return n.add(this,r),this},refine(n,r){return this.check(rO(n,r))},superRefine(n,r){return this.check(oO(n,r))},overwrite(n){return this.check(Ci(n))},optional(){return F5(this)},exactOptional(){return VI(this)},nullable(){return D5(this)},nullish(){return F5(D5(this))},nonoptional(n){return GI(this,n)},array(){return re(this)},or(n){return tn([this,n])},and(n){return NI(this,n)},transform(n){return $5(this,$I(n))},default(n){return WI(this,n)},prefault(n){return qI(this,n)},catch(n){return YI(this,n)},pipe(n){return $5(this,n)},readonly(){return XI(this)},describe(n){const r=this.clone();return ks.add(r,{description:n}),r},meta(...n){if(n.length===0)return ks.get(this);const r=this.clone();return ks.add(r,n[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(e,"description",{get(){return ks.get(e)?.description},configurable:!0}),e)),Q7=B("_ZodString",(e,t)=>{u2.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(r,s,l)=>wM(e,r,s);const n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,Gs(e,"_ZodString",{regex(...r){return this.check(eM(...r))},includes(...r){return this.check(rM(...r))},startsWith(...r){return this.check(oM(...r))},endsWith(...r){return this.check(iM(...r))},min(...r){return this.check(Fa(...r))},max(...r){return this.check(U7(...r))},length(...r){return this.check(q7(...r))},nonempty(...r){return this.check(Fa(1,...r))},lowercase(r){return this.check(tM(r))},uppercase(r){return this.check(nM(r))},trim(){return this.check(aM())},normalize(...r){return this.check(sM(...r))},toLowerCase(){return this.check(lM())},toUpperCase(){return this.check(cM())},slugify(){return this.check(uM())}})}),cI=B("ZodString",(e,t)=>{u2.init(e,t),Q7.init(e,t),e.email=n=>e.check(kE(uI,n)),e.url=n=>e.check(W7(X7,n)),e.jwt=n=>e.check(BE(SI,n)),e.emoji=n=>e.check(IE(dI,n)),e.guid=n=>e.check(O5(N5,n)),e.uuid=n=>e.check(SE(ma,n)),e.uuidv4=n=>e.check(jE(ma,n)),e.uuidv6=n=>e.check(EE(ma,n)),e.uuidv7=n=>e.check(ME(ma,n)),e.nanoid=n=>e.check(OE(fI,n)),e.guid=n=>e.check(O5(N5,n)),e.cuid=n=>e.check(LE(hI,n)),e.cuid2=n=>e.check(TE(pI,n)),e.ulid=n=>e.check(zE(mI,n)),e.base64=n=>e.check($E(CI,n)),e.base64url=n=>e.check(HE(bI,n)),e.xid=n=>e.check(PE(gI,n)),e.ksuid=n=>e.check(NE(vI,n)),e.ipv4=n=>e.check(AE(wI,n)),e.ipv6=n=>e.check(RE(yI,n)),e.cidrv4=n=>e.check(FE(xI,n)),e.cidrv6=n=>e.check(DE(_I,n)),e.e164=n=>e.check(VE(kI,n)),e.datetime=n=>e.check(BM(n)),e.date=n=>e.check(WM(n)),e.time=n=>e.check(qM(n)),e.duration=n=>e.check(KM(n))});function b(e){return bE(cI,e)}const dt=B("ZodStringFormat",(e,t)=>{at.init(e,t),Q7.init(e,t)}),uI=B("ZodEmail",(e,t)=>{Ej.init(e,t),dt.init(e,t)}),N5=B("ZodGUID",(e,t)=>{Sj.init(e,t),dt.init(e,t)}),ma=B("ZodUUID",(e,t)=>{jj.init(e,t),dt.init(e,t)}),X7=B("ZodURL",(e,t)=>{Mj.init(e,t),dt.init(e,t)});function eh(e){return W7(X7,e)}const dI=B("ZodEmoji",(e,t)=>{Ij.init(e,t),dt.init(e,t)}),fI=B("ZodNanoID",(e,t)=>{Oj.init(e,t),dt.init(e,t)}),hI=B("ZodCUID",(e,t)=>{Lj.init(e,t),dt.init(e,t)}),pI=B("ZodCUID2",(e,t)=>{Tj.init(e,t),dt.init(e,t)}),mI=B("ZodULID",(e,t)=>{zj.init(e,t),dt.init(e,t)}),gI=B("ZodXID",(e,t)=>{Pj.init(e,t),dt.init(e,t)}),vI=B("ZodKSUID",(e,t)=>{Nj.init(e,t),dt.init(e,t)}),wI=B("ZodIPv4",(e,t)=>{$j.init(e,t),dt.init(e,t)}),yI=B("ZodIPv6",(e,t)=>{Hj.init(e,t),dt.init(e,t)}),xI=B("ZodCIDRv4",(e,t)=>{Vj.init(e,t),dt.init(e,t)}),_I=B("ZodCIDRv6",(e,t)=>{Bj.init(e,t),dt.init(e,t)}),CI=B("ZodBase64",(e,t)=>{Zj.init(e,t),dt.init(e,t)}),bI=B("ZodBase64URL",(e,t)=>{Uj.init(e,t),dt.init(e,t)}),kI=B("ZodE164",(e,t)=>{qj.init(e,t),dt.init(e,t)}),SI=B("ZodJWT",(e,t)=>{Kj.init(e,t),dt.init(e,t)}),th=B("ZodNumber",(e,t)=>{$7.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(r,s,l)=>yM(e,r,s),Gs(e,"ZodNumber",{gt(r,s){return this.check(T5(r,s))},gte(r,s){return this.check(Ru(r,s))},min(r,s){return this.check(Ru(r,s))},lt(r,s){return this.check(L5(r,s))},lte(r,s){return this.check(Au(r,s))},max(r,s){return this.check(Au(r,s))},int(r){return this.check(A5(r))},safe(r){return this.check(A5(r))},positive(r){return this.check(T5(0,r))},nonnegative(r){return this.check(Ru(0,r))},negative(r){return this.check(L5(0,r))},nonpositive(r){return this.check(Au(0,r))},multipleOf(r,s){return this.check(z5(r,s))},step(r,s){return this.check(z5(r,s))},finite(){return this}});const n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function Ce(e){return GE(th,e)}const jI=B("ZodNumberFormat",(e,t)=>{Yj.init(e,t),th.init(e,t)});function A5(e){return KE(jI,e)}const EI=B("ZodBoolean",(e,t)=>{Jj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>xM(e,n,r)});function he(e){return YE(EI,e)}const MI=B("ZodNull",(e,t)=>{Qj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>_M(e,n,r)});function II(e){return JE(MI,e)}const OI=B("ZodUnknown",(e,t)=>{Xj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>bM()});function $s(){return QE(OI)}const LI=B("ZodNever",(e,t)=>{eE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>CM(e,n,r)});function d2(e){return XE(LI,e)}const TI=B("ZodArray",(e,t)=>{tE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>MM(e,n,r,s),e.element=t.element,Gs(e,"ZodArray",{min(n,r){return this.check(Fa(n,r))},nonempty(n){return this.check(Fa(1,n))},max(n,r){return this.check(U7(n,r))},length(n,r){return this.check(q7(n,r))},unwrap(){return this.element}})});function re(e,t){return dM(TI,e,t)}const nh=B("ZodObject",(e,t)=>{rE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>IM(e,n,r,s),Ze(e,"shape",()=>t.shape),Gs(e,"ZodObject",{keyof(){return Fe(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:$s()})},loose(){return this.clone({...this._zod.def,catchall:$s()})},strict(){return this.clone({...this._zod.def,catchall:d2()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return xS(this,n)},safeExtend(n){return _S(this,n)},merge(n){return CS(this,n)},pick(n){return wS(this,n)},omit(n){return yS(this,n)},partial(...n){return bS(oh,this,n[0])},required(...n){return kS(ih,this,n[0])}})});function j(e,t){const n={type:"object",shape:e??{},...ke(t)};return new nh(n)}function ie(e,t){return new nh({type:"object",shape:e,catchall:d2(),...ke(t)})}const rh=B("ZodUnion",(e,t)=>{B7.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>OM(e,n,r,s),e.options=t.options});function tn(e,t){return new rh({type:"union",options:e,...ke(t)})}const zI=B("ZodDiscriminatedUnion",(e,t)=>{rh.init(e,t),oE.init(e,t)});function Wt(e,t,n){return new zI({type:"union",options:t,discriminator:e,...ke(n)})}const PI=B("ZodIntersection",(e,t)=>{iE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>LM(e,n,r,s)});function NI(e,t){return new PI({type:"intersection",left:e,right:t})}const AI=B("ZodTuple",(e,t)=>{sE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>TM(e,n,r,s),e.rest=n=>e.clone({...e._zod.def,rest:n})});function RI(e,t,n){const r=t instanceof et,s=r?n:t,l=r?t:null;return new AI({type:"tuple",items:e,rest:l,...ke(s)})}const R5=B("ZodRecord",(e,t)=>{aE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>zM(e,n,r,s),e.keyType=t.keyType,e.valueType=t.valueType});function Sn(e,t,n){return!t||!t._zod?new R5({type:"record",keyType:b(),valueType:e,...ke(t)}):new R5({type:"record",keyType:e,valueType:t,...ke(n)})}const g0=B("ZodEnum",(e,t)=>{lE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(r,s,l)=>kM(e,r,s),e.enum=t.entries,e.options=Object.values(t.entries);const n=new Set(Object.keys(t.entries));e.extract=(r,s)=>{const l={};for(const u of r)if(n.has(u))l[u]=t.entries[u];else throw new Error(`Key ${u} not found in enum`);return new g0({...t,checks:[],...ke(s),entries:l})},e.exclude=(r,s)=>{const l={...t.entries};for(const u of r)if(n.has(u))delete l[u];else throw new Error(`Key ${u} not found in enum`);return new g0({...t,checks:[],...ke(s),entries:l})}});function Fe(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new g0({type:"enum",entries:n,...ke(t)})}const FI=B("ZodLiteral",(e,t)=>{cE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>SM(e,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function U(e,t){return new FI({type:"literal",values:Array.isArray(e)?e:[e],...ke(t)})}const DI=B("ZodTransform",(e,t)=>{uE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>EM(e,n),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new S7(e.constructor.name);n.addIssue=l=>{if(typeof l=="string")n.issues.push(Ds(l,n.value,t));else{const u=l;u.fatal&&(u.continue=!1),u.code??(u.code="custom"),u.input??(u.input=n.value),u.inst??(u.inst=e),n.issues.push(Ds(u))}};const s=t.transform(n.value,n);return s instanceof Promise?s.then(l=>(n.value=l,n.fallback=!0,n)):(n.value=s,n.fallback=!0,n)}});function $I(e){return new DI({type:"transform",transform:e})}const oh=B("ZodOptional",(e,t)=>{Z7.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>J7(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function F5(e){return new oh({type:"optional",innerType:e})}const HI=B("ZodExactOptional",(e,t)=>{dE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>J7(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function VI(e){return new HI({type:"optional",innerType:e})}const BI=B("ZodNullable",(e,t)=>{fE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>PM(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function D5(e){return new BI({type:"nullable",innerType:e})}const ZI=B("ZodDefault",(e,t)=>{hE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>AM(e,n,r,s),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function WI(e,t){return new ZI({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():M7(t)}})}const UI=B("ZodPrefault",(e,t)=>{pE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>RM(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function qI(e,t){return new UI({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():M7(t)}})}const ih=B("ZodNonOptional",(e,t)=>{mE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>NM(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function GI(e,t){return new ih({type:"nonoptional",innerType:e,...ke(t)})}const KI=B("ZodCatch",(e,t)=>{gE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>FM(e,n,r,s),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function YI(e,t){return new KI({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const JI=B("ZodPipe",(e,t)=>{vE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>DM(e,n,r,s),e.in=t.in,e.out=t.out});function $5(e,t){return new JI({type:"pipe",in:e,out:t})}const QI=B("ZodReadonly",(e,t)=>{wE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>$M(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function XI(e){return new QI({type:"readonly",innerType:e})}const eO=B("ZodLazy",(e,t)=>{yE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>HM(e,n,r,s),e.unwrap=()=>e._zod.def.getter()});function tO(e){return new eO({type:"lazy",getter:e})}const sh=B("ZodCustom",(e,t)=>{xE.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,r,s)=>jM(e,n)});function nO(e,t){return fM(sh,e??(()=>!0),t)}function rO(e,t={}){return hM(sh,e,t)}function oO(e,t){return pM(e,t)}function Ur(e){return(t,n)=>{for(const r of e)Object.hasOwn(t,r)&&t[r]===void 0&&n.addIssue({code:"custom",path:[r],message:"Explicit undefined is not valid JSON"})}}const iO=tn([b(),Ce(),he(),II()]);function sO(e){const t=new WeakSet,n=[{value:e,leaving:!1}];try{for(;n.length>0;){const r=n.pop();if(!r)break;if(r.leaving){t.delete(r.value);continue}if(!(typeof r.value!="object"||r.value===null)){if(t.has(r.value))return!1;t.add(r.value),n.push({value:r.value,leaving:!0});for(const s of Object.values(r.value))n.push({value:s,leaving:!1})}}}catch{return!1}return!0}const f2=nO(sO,{message:"JSON value must not contain circular references"}),Hs=tO(()=>tn([iO,re(Hs),Sn(b(),Hs)])),Cn=f2.pipe(Hs);f2.pipe(re(Hs));const ah=f2.pipe(Sn(b(),Hs)),aO=ie({code:b().min(1),message:b().min(1),retryable:he(),diagnostic:b().min(1).optional(),stage:b().min(1).optional(),durationMs:Ce().int().nonnegative().optional(),stderrTail:b().min(1).optional()}).superRefine(Ur(["diagnostic","stage","durationMs","stderrTail"])),lh=b().max(64).regex(/^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$/u),v0=e=>b().min(1).max(e).refine(t=>t.trim().length>0),Ks=Sn(lh,j({label:v0(256).optional(),description:v0(1024).optional()}).strict()).refine(e=>Object.keys(e).length<=16,"Too many locales"),ch=Sn(lh,v0(4096)).refine(e=>typeof e.en=="string","English fallback is required").refine(e=>Object.keys(e).length<=16,"Too many locales"),Ys=b().refine(e=>e.trim().length>0,{message:"Identifier must not be empty or whitespace"}),Tt=Ys.brand(),gt=Ys.brand(),Js=Ys.brand();Ys.brand();Ys.brand();const lO=128,cO=256,uO=1024,dO=32,w0=b().refine(e=>e.trim().length>0,{message:"Value must not be empty or whitespace"}),vr=w0.max(lO).regex(/^[A-Za-z0-9._~:-]+$/u,"Permission Mode ID must use transport-safe characters").brand(),fO=j({id:vr,label:w0.max(cO),description:w0.max(uO).optional(),dangerous:he().optional(),localizations:Ks.optional()}).strict(),hO=j({modes:re(fO).min(1).max(dO),defaultModeId:vr}).strict().superRefine((e,t)=>{const n=new Set;for(const[r,s]of e.modes.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Permission Mode IDs must be unique",path:["modes",r,"id"]}),n.add(s.id);n.has(e.defaultModeId)||t.addIssue({code:"custom",message:"Default Permission Mode must exist in the catalog",path:["defaultModeId"]})});j({threadId:gt,permissionModeId:vr}).strict();const Ot=Ce().int().safe().nonnegative(),po=Ce().finite().nonnegative(),ga=Ce().finite().min(0).max(100),pO=j({version:tn([U(3),U(4)]).optional(),requestId:b().min(1),turnId:b().min(1).max(1024),outputTokens:Ot,startedAtMs:Ot,completedAtMs:Ot}).strict().refine(e=>e.completedAtMs>e.startedAtMs),H5=j({version:tn([U(2),U(3),U(4)]).optional(),value:po,turnId:b().min(1).max(1024),at:Ot}).strict();j({outputTimings:re(pO).transform(e=>e.filter(t=>t.version===4)).optional(),outputTokensPerSecond:H5.refine(e=>e.version===4).optional().catch(void 0),timeToFirstOutputMs:H5.extend({value:Ot}).optional()}).strict();const V5=e=>ch.refine(t=>Object.values(t).every(n=>n.length<=e)),mO=re(j({kind:U("countdown"),id:b().min(1).max(64),expiresAtUnix:Ot,label:V5(256).optional(),tooltip:V5(1024).optional()}).strict()).max(2).refine(e=>new Set(e.map(({id:t})=>t)).size===e.length,{message:"Composer indicator IDs must be unique"}),h2=j({composerIndicators:mO.optional(),inputTokens:Ot.optional(),cachedInputTokens:Ot.optional(),cacheWriteInputTokens:Ot.optional(),outputTokens:Ot.optional(),outputTokensPerSecond:po.optional(),sessionOutputTokensPerSecond:po.optional(),apiOutputTokensPerSecond:po.optional(),reasoningOutputTokens:Ot.optional(),totalTokens:Ot.optional(),totalCostUsd:po.optional(),totalCredits:po.optional(),contextUsagePercent:po.optional(),cacheHitRatePercent:ga.optional(),contextWindowTokens:Ot.optional(),contextUsedTokens:Ot.optional(),planFiveHourUsedPercent:ga.optional(),planFiveHourResetsAtUnix:Ot.optional(),planSevenDayUsedPercent:ga.optional(),planSevenDayResetsAtUnix:Ot.optional(),sessionCacheHitRatePercent:ga.optional(),timeToFirstOutputMs:Ot.optional(),costSource:Fe(["publicPrice","native"]).optional(),unpricedModels:re(b().min(1)).min(1).optional()}).strict().superRefine((e,t)=>{Object.keys(e).length===0&&t.addIssue({code:"custom",message:"Thread Usage must contain a reliable field"});const n=e.contextUsedTokens!==void 0,r=e.contextWindowTokens!==void 0;n!==r&&t.addIssue({code:"custom",message:"Thread Usage context fields must be provided together",path:[n?"contextWindowTokens":"contextUsedTokens"]}),e.contextWindowTokens===0&&t.addIssue({code:"custom",message:"Thread Usage contextWindowTokens must be greater than zero",path:["contextWindowTokens"]}),e.costSource!==void 0&&e.totalCostUsd===void 0&&t.addIssue({code:"custom",message:"Thread Usage costSource must be provided with totalCostUsd",path:["costSource"]}),e.unpricedModels!==void 0&&e.costSource!=="publicPrice"&&t.addIssue({code:"custom",message:"Thread Usage unpricedModels must be provided with a publicPrice cost",path:["unpricedModels"]}),e.planFiveHourResetsAtUnix!==void 0&&e.planFiveHourUsedPercent===void 0&&t.addIssue({code:"custom",message:"Thread Usage planFiveHourResetsAtUnix must be provided with planFiveHourUsedPercent",path:["planFiveHourResetsAtUnix"]}),e.planSevenDayResetsAtUnix!==void 0&&e.planSevenDayUsedPercent===void 0&&t.addIssue({code:"custom",message:"Thread Usage planSevenDayResetsAtUnix must be provided with planSevenDayUsedPercent",path:["planSevenDayResetsAtUnix"]})}),uh=Ce().finite().min(0).max(100),dh=Fe(["weekly","monthly","five_hour","seven_day","unknown"]),fh=j({id:b().min(1).max(256),label:b().min(1).max(256),localizations:Ks.optional()}).strict(),gO=j({product:b().min(1),periodType:dh.optional(),scope:fh.optional(),localizations:Ks.optional(),used:Ce().finite().nonnegative().optional(),limit:Ce().finite().nonnegative().optional(),unit:b().min(1).max(32).optional(),usagePercent:uh,resetsAt:b().min(1).optional()}).strict(),vO=j({availableCount:Ce().int().safe().positive(),nextExpiresAt:b().min(1).optional(),expiresAt:re(b().min(1)).min(1).max(32).optional()}).strict(),p2=j({used:Ce().finite().nonnegative().optional(),limit:Ce().finite().nonnegative().optional(),unit:b().min(1).max(32).optional(),label:b().min(1).optional(),scope:fh.optional(),localizations:Ks.optional(),usedPercent:uh,resetsAt:b().min(1).optional(),periodType:dh,productUsage:re(gO).min(1).optional(),resetCredits:vO.optional()}).strict();j({threadId:gt,refresh:U("exact").optional()}).strict();j({threadId:gt,usage:h2.nullable(),accountCredits:p2.optional(),accountCreditsSupported:he().optional()}).strict();const wO=512,m2=256,yO=128,hh=100,Vr=b().refine(e=>e.trim().length>0,{message:"Value must not be empty or whitespace"}),xO=Vr.max(wO).regex(/^[A-Za-z0-9._~-]+$/u,"Model Ref must use transport-safe opaque characters").brand(),Kn=j({id:xO}).strict(),Yn=Vr.max(yO).regex(/^[A-Za-z0-9._~-]+$/u,"Thinking option ID must use transport-safe characters").brand(),hl=Vr.max(m2),_O=j({id:Yn,label:Vr.max(m2)}).strict(),CO=j({ref:Kn,label:Vr.max(m2),resolvedModelLabel:hl.optional(),fastModel:Kn.optional(),supportedThinkingOptionIds:re(Yn).optional()}).strict(),g2=re(_O).superRefine((e,t)=>{const n=new Set;for(const[r,s]of e.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Thinking option IDs must be unique",path:[r,"id"]}),n.add(s.id)}),bO=j({models:re(CO),defaultModel:Kn.optional(),thinkingOptions:g2,defaultThinkingOptionId:Yn.optional()}).strict().superRefine((e,t)=>{const n=new Set,r=new Set(e.thinkingOptions.map(({id:s})=>s));for(const[s,l]of e.models.entries()){n.has(l.ref.id)&&t.addIssue({code:"custom",message:"Model Catalog refs must be unique",path:["models",s,"ref","id"]}),n.add(l.ref.id),l.fastModel&&((n.has(l.fastModel.id)||e.models.some(f=>f.ref.id===l.fastModel?.id))&&t.addIssue({code:"custom",message:"Fast Model refs must be distinct and unique",path:["models",s,"fastModel"]}),n.add(l.fastModel.id));const u=new Set;for(const[f,p]of(l.supportedThinkingOptionIds??[]).entries())u.has(p)&&t.addIssue({code:"custom",message:"Supported Thinking option IDs must be unique per Model",path:["models",s,"supportedThinkingOptionIds",f]}),u.add(p),r.has(p)||t.addIssue({code:"custom",message:"Supported Thinking option must exist in the catalog",path:["models",s,"supportedThinkingOptionIds",f]})}e.defaultModel&&!n.has(e.defaultModel.id)&&t.addIssue({code:"custom",message:"Default Model must exist in the Model Catalog",path:["defaultModel","id"]}),e.defaultThinkingOptionId&&!r.has(e.defaultThinkingOptionId)&&t.addIssue({code:"custom",message:"Default Thinking option must exist in the catalog",path:["defaultThinkingOptionId"]})}),v2=j({fork:he(),forkAcrossCwd:he(),rollbackLastTurn:he()}).strict().refine(e=>e.fork||!e.forkAcrossCwd,{path:["forkAcrossCwd"],message:"Cross-cwd Fork requires exact history Fork support"}),kO=Fe(["live","atCreate"]),SO=j({configuration:j({selectModel:he(),selectThinkingOption:he(),selectPermissionMode:he(),permissionModeScope:kO.default("live")}).strict(),history:v2,subagents:j({observe:he(),readTranscript:he()}).strict().optional(),autonomousTurns:j({observe:he()}).strict().optional(),steer:he().optional()}).strict();j({effectiveModel:Kn.optional(),resolvedModelLabel:hl.optional(),effectiveThinkingOptionId:Yn.optional(),availableThinkingOptions:g2.optional(),effectivePermissionModeId:vr.optional()}).strict().superRefine((e,t)=>{e.effectiveThinkingOptionId&&e.availableThinkingOptions&&!e.availableThinkingOptions.some(({id:n})=>n===e.effectiveThinkingOptionId)&&t.addIssue({code:"custom",message:"Effective Thinking option must be currently available",path:["effectiveThinkingOptionId"]})});const jO=j({open:U(!0)}).strict(),EO=j({status:U("ready"),catalog:bO,permissionModes:hO.optional(),capabilities:SO,webUi:jO.optional()}).strict().superRefine((e,t)=>{const n=e.capabilities.configuration.selectPermissionMode;n!==!!e.permissionModes&&t.addIssue({code:"custom",message:"Permission Mode catalog and capability must agree",path:n?["permissionModes"]:["capabilities","configuration","selectPermissionMode"]})}),MO=j({status:Fe(["notInstalled","unavailable","error"]),error:aO}).strict();tn([EO,MO]);j({harnessId:Tt,cwd:Vr.max(16384).optional(),refresh:he().optional(),purpose:U("availability").optional()}).strict();j({harnessId:Tt}).strict();j({}).strict();j({threadId:gt,model:Kn}).strict();j({threadId:gt,thinkingOptionId:Yn}).strict();j({threadId:gt,includeReferenceCapability:he().optional()}).strict();const IO=j({owner:U("codex"),locked:he(),effectiveModel:Kn.optional(),resolvedModelLabel:hl.optional(),effectiveThinkingOptionId:Yn.optional(),effectivePermissionModeId:vr.optional(),history:v2.optional(),supportsThreadReferences:U(!0).optional()}).strict(),OO=j({owner:U("external"),harnessId:Vr.max(256),transportModelId:Vr.max(1024),effectiveModel:Kn.optional(),resolvedModelLabel:hl.optional(),effectiveThinkingOptionId:Yn.optional(),availableThinkingOptions:g2.optional(),effectivePermissionModeId:vr.optional(),history:v2,usage:h2.optional(),locked:U(!0)}).strict();Wt("owner",[IO,OO]);j({threadIds:re(gt).min(1).max(hh)}).strict().superRefine(({threadIds:e},t)=>{const n=new Set;for(const[r,s]of e.entries())n.has(s)&&t.addIssue({code:"custom",message:"Thread ownership-list IDs must be unique",path:["threadIds",r]}),n.add(s)});const LO=j({threadId:gt,owner:U("codex")}).strict(),TO=j({threadId:gt,owner:U("external"),harnessId:b().max(256).pipe(Tt)}).strict(),ph=Wt("owner",[LO,TO]);j({threads:re(ph).min(1).max(hh)}).strict().superRefine(({threads:e},t)=>{const n=new Set;for(const[r,s]of e.entries())n.has(s.threadId)&&t.addIssue({code:"custom",message:"Thread ownership-list results must be unique",path:["threads",r,"threadId"]}),n.add(s.threadId)});j({threadId:gt,text:b().optional()}).strict();j({kind:U("application"),value:b().transform((e,t)=>{try{return JSON.parse(e)}catch{return t.addIssue({code:"custom",message:"Invalid steering context JSON"}),dS}}).pipe(j({expectedTurnId:Js,clientUserMessageId:b().min(1),delivery:Fe(["newTurn","activeTurn"])}).strict())}).strict().transform(e=>e.value);Fe(["activeTurn","newTurn"]);j({delivery:Fe(["official","activeTurn","newTurn"])}).strict();j({threadId:gt}).strict();j({confirmed:he()}).strict();const zO=1;j({threadIds:re(b().min(1))}).strict();j({threadId:b().min(1).max(1024),pinned:he()}).strict();j({}).strict();j({parents:Sn(b().min(1),b().min(1))}).strict();j({prompt:b().max(16384).optional()}).strict();j({projects:re(j({id:b(),name:b(),rootPaths:re(b())})),assignments:Sn(b(),b()),projectless:re(b()),pinned:re(b())});const $a=Sn(b(),$s()),mo=j({epoch:b().uuid(),sequence:Ce().int().nonnegative()});Wt("type",[j({type:U("skills-changed"),cursor:mo,cwd:b().optional()}),j({type:U("harness-inspection-changed"),cursor:mo,harnessId:b().min(1)}),j({type:U("display-settings-changed"),cursor:mo}),j({type:U("preferences-changed"),cursor:mo,revision:Ce().int().nonnegative()}),j({type:U("hello"),version:U(1),cursor:mo,reset:he()}),j({type:U("changed"),cursor:mo,threadId:b().min(1),method:b().min(1)})]);const PO=Wt("type",[j({type:U("text"),id:b(),prompt:b(),secret:he().optional(),optional:he().optional()}),j({type:U("choice"),id:b(),prompt:b(),multiple:he(),allowOther:he(),optional:he().optional(),options:re(j({value:b(),label:b(),description:b().optional()}))})]),NO=Wt("type",[j({type:U("approval"),title:b(),description:b().optional(),subject:$s().optional(),actions:re(j({id:b(),label:b(),effect:b()}))}),j({type:U("question"),title:b().optional(),questions:re(PO)})]),AO=j({requestId:tn([b(),Ce().int()]),threadId:b(),kind:Fe(["approval","question"]),interaction:NO,request:$a}),RO=j({id:b().min(1),clientUserMessageId:b().min(1),input:re($a),presentationInput:re($a).nullable().optional()}).passthrough(),FO=re(tn([b(),Ce().int().nonnegative()]));j({fields:re(j({path:FO,originalLength:Ce().int().nonnegative()}))});const Fu=j({id:b().min(1),status:b().min(1),codexhostTurnOutcome:j({status:U("unknown"),reason:b()}).optional(),items:re(j({id:b().min(1),type:b().min(1)}).passthrough()),codexhostFileOperations:re(j({beforeItemId:b().nullable(),item:j({id:b().min(1),type:b().min(1)}).passthrough()})).optional(),error:j({message:b().optional()}).passthrough().nullable().optional(),fingerprint:b().min(1).optional(),unchanged:U(!0).optional()}).passthrough(),DO=j({id:b().min(1).max(512),fingerprint:b().min(1).max(128)});j({threadId:b().min(1),knownTurns:re(DO).max(64).optional(),truncateToolOutput:he().optional()});const $O=j({harnessId:b().min(1),nativeSessionId:b().min(1)});j({cursor:mo,activeTurnId:b().min(1).nullable().optional(),command:j({name:b().min(1),turn:Fu,subsequentTurnId:b().min(1).optional()}).optional(),thread:j({id:b().min(1),cwd:b(),modelProvider:b().min(1),createdAt:Ce(),updatedAt:Ce(),status:j({type:b()}).passthrough(),name:b().nullable().optional(),preview:b().optional(),codexhostImportSource:$O.optional(),turns:re(Fu).length(0)}).passthrough(),turnsPage:j({data:re(Fu).max(5),nextCursor:b().nullable()}),configuration:j({native:j({model:b().min(1).max(1024).optional(),reasoningEffort:b().min(1).max(128).optional()}).optional(),effectiveModel:Kn.optional(),effectiveThinkingOptionId:Yn.optional(),effectivePermissionModeId:vr.optional()}),queue:j({items:re(RO),pausedReason:Fe(["interrupted","outcome-unknown","failed"]).nullable()}).optional(),interactions:re(AO)});j({version:U(zO),owner:U("service").optional(),pid:Ce().int().positive(),port:Ce().int().min(1).max(65535),token:b().regex(/^[0-9a-f]{64}$/u),startedAt:Ce(),epoch:b().uuid()});j({epoch:b().uuid(),threadId:b().min(1),requestId:tn([b(),Ce().int()]),result:$a});j({includeArchived:he().optional(),officialCursor:j({live:b().nullable(),archived:b().nullable().optional()}).strict().optional()}).strict();j({threads:re(ah),ownership:re(ph),archivedThreadIds:re(gt),officialCursor:j({live:b().nullable(),archived:b().nullable().optional()}).strict().optional()}).strict();const HO=b().regex(/^audio\/[a-z0-9.+-]+(?:\s*;[^\r\n]*)?$/i);j({available:he()}).strict();j({path:b().min(1),mimeType:HO}).strict();const VO=Fe(["credentials-unavailable","login-expired","rate-limited","service-rejected","host-incompatible","network","timeout","audio-empty","audio-too-large","audio-format","audio-invalid"]);Wt("ok",[j({ok:U(!0),text:b()}).strict(),j({ok:U(!1),error:j({code:VO}).strict()}).strict()]);j({threadId:gt.optional(),cwd:b().min(1).optional()}).strict().refine(e=>!(e.threadId&&e.cwd),{message:"Specify threadId or cwd, not both"});const BO=j({name:b().min(1).regex(/^[^\s[\]]+$/u),description:b().optional(),path:b().min(1),scope:Fe(["project","global"]),source:b().min(1)}).strict();j({revision:Ce().int().nonnegative(),complete:he(),skills:re(BO),warnings:re(b()).optional()}).strict();j({cwd:b().min(1).optional()}).strict();const ZO=/\[\$([^\]\r\n]+)\]\((?:<([^<>\r\n]+)>|([^\s()]+))(?:[ \t]+(?:"[^"\r\n]*"|'[^'\r\n]*'))?\)/gu;function WO(e){return[...e.matchAll(ZO)].flatMap(t=>{const n=t[2]??t[3]??"";return!/^(?:\/|[A-Za-z]:[\\/]|\\\\)/u.test(n)||!/[\\/]SKILL\.md$/u.test(n)?[]:[{start:t.index,end:t.index+t[0].length,name:t[1]??"",path:n,text:t[0]}]})}const B5=j({kind:Fe(["public","relay","tailscale-funnel","tailscale-https","tailscale","lan","virtual"]),url:b().min(1)}).strict(),mh=Wt("status",[j({status:U("not-installed")}),j({status:U("not-running")}),j({status:U("not-logged-in")}),j({status:U("https-disabled")}),j({status:U("not-serving"),command:b()}),j({status:U("occupied"),target:b()}),j({status:U("serving"),url:b(),funnel:he()}),j({status:U("error"),message:b()})]);j({state:mh,error:b().optional()}).strict();const UO=Wt("status",[j({status:U("on")}),j({status:U("off")}),j({status:U("invalid"),reason:b()})]),qO=j({lan:he(),autostart:UO}).strict(),Z5=j({expiresAt:b().optional(),issuing:he(),failure:j({detail:b().optional(),retryAt:b(),paused:he()}).optional()}),GO=Wt("status",[j({status:U("off"),reason:Fe(["invite","name-taken","banned"]).optional()}),j({status:U("connecting"),reason:Fe(["full","unreachable"]).optional()}),j({status:U("connected"),url:b(),certificate:Z5}),j({status:U("missing-certificate"),url:b(),certificate:Z5}),j({status:U("stopped"),reason:Fe(["replaced","rejected","unsupported-version"])})]);b().max(253).regex(/^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$/i).transform(e=>e.toLowerCase());b().regex(/^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)?$/);const KO=Fe(["official","self-hosted"]);j({secret:b().min(1),lastUsedAt:Ce().nullable(),networkUrls:re(B5),directCandidates:re(B5).optional(),tailscale:mh,background:qO.optional(),relay:j({state:GO,enabled:he(),kind:KO,officialHost:b(),customHost:b().optional(),officialHostname:b().optional(),customHostname:b().optional(),quotaUntil:b().optional()}).strict().optional()}).strict();const YO=ie({threadId:b().min(1).max(1024),view:Fe(["result","messages"]),from:Ce().int().min(1).max(Number.MAX_SAFE_INTEGER).optional(),to:Ce().int().min(1).max(Number.MAX_SAFE_INTEGER).optional()}),gh=j({id:b().min(1).max(256),harnessId:b().min(1),label:b().min(1).max(512),provider:Fe(["openai-codex","xai"])}).strict(),ka=b().regex(/^[a-z][a-z0-9-]{0,47}$/),JO=j({name:ka,source:gh,importedAt:b()}).strict(),QO=Wt("action",[j({action:U("list")}).strict(),j({action:U("import"),sourceId:b().min(1).max(256),name:ka,confirmed:U(!0)}).strict(),j({action:U("reimport"),sourceId:b().min(1).max(256),name:ka,confirmed:U(!0)}).strict(),j({action:U("remove"),name:ka,confirmed:U(!0)}).strict()]),XO=j({provider:b().min(1).max(128),type:Fe(["oauth","api_key","unknown"]),label:b().min(1).max(512).optional(),vendor:Fe(["openai-codex","xai"]).optional()}).strict();j({sources:re(gh),targets:re(j({harnessId:b(),providers:re(Fe(["openai-codex","xai"])),imports:re(JO),others:re(XO).default([])}).strict())}).strict();j({targetHarnessId:b().min(1).max(128).optional(),request:QO}).strict();j({events:he()});const vh=re(ie({agent:b().min(1).max(128),section:Fe(["main","more","auto"])})).max(256).refine(e=>new Set(e.map(t=>t.agent)).size===e.length,"Duplicate Harness IDs");ie({entries:vh.nullable()});ie({});ie({entries:vh,initializeOnly:he().optional()});const eL=5,tL=1440,wh=ie({enabled:he(),timeoutMinutes:Ce().int().min(eL).max(tL)}),pl=b().regex(/^external$/u),yh=Tt.transform(e=>String(e)),xh=ie({model:Kn.optional(),thinkingOptionId:Yn.optional(),permissionModeId:vr.optional()}).refine(e=>!!(e.model||e.thinkingOptionId||e.permissionModeId),"A default configuration must contain a preference"),nL=ie({lastHarness:Tt.optional(),byHarness:Sn(yh,xh)}),y0=b().min(1).max(1024),_h=ie({idleRelease:wh.optional(),favorites:Sn(yh,re(y0).max(2048)).default({}),newThread:nL.optional()});ie({scope:pl,revision:Ce().int().nonnegative(),values:_h});ie({scope:pl.default("external")});const rL=Wt("kind",[ie({kind:U("idleRelease"),value:wh}),ie({kind:U("favorite"),harnessId:Tt,modelId:y0,enabled:he()}),ie({kind:U("favorites"),harnessId:Tt,modelIds:re(y0).max(2048)}),ie({kind:U("newThread"),lastHarness:Tt.optional(),harnessId:Tt.optional(),configuration:xh.optional()})]);ie({scope:pl.default("external"),operations:re(rL).min(1).max(256),initializeOnly:he().optional(),expectedRevision:Ce().int().nonnegative().optional()}).superRefine((e,t)=>{for(const n of e.operations)n.kind==="newThread"&&(!n.lastHarness&&!n.configuration||!!n.harnessId!=!!n.configuration)&&t.addIssue({code:"custom",message:"A default Harness or complete configuration is required"})});ie({version:U(1),revision:Ce().int().nonnegative(),scopes:Sn(pl,_h)});const ws=Ce().finite().nonnegative(),ml=ie({input:ws,output:ws,cacheRead:ws.optional(),cacheWrite:ws.optional(),cacheWrite1h:ws.optional()}),x0=b().max(512).refine(e=>e.trim()===e&&e.length>0,"Model ID is required");ie({path:b(),entries:re(ie({key:b(),price:ml})),error:b().nullable()});ie({});ie({key:x0,price:ml.nullable(),previousKey:x0.optional()});ie({model:x0});const oL=ie({official:he().optional(),canonicalModelId:b().min(1).optional(),provider:b().min(1).max(512),model:b().min(1).max(512),price:ml});ie({price:ml.nullable(),suggestions:re(oL).max(6).optional()});const Ch=["today","7d","30d","90d","all"],Et=Ce().int().min(0).max(Number.MAX_SAFE_INTEGER),Ss=b().regex(/^\d{4}-\d{2}-\d{2}$/u),dr=b().min(1).max(128),Fr=b().min(1).max(512),Es=b().min(1).max(4096);ie({range:Fe(Ch),timeZone:b().min(1).max(128).refine(e=>{try{return new Intl.DateTimeFormat("en",{timeZone:e}),!0}catch{return!1}},"Unsupported usage statistics timezone").optional(),harness:dr.optional(),model:Fr.nullable().optional(),project:Es.nullable().optional(),date:Ss.optional()});const bh=ie({requests:Et,inputTokens:Et,cachedInputTokens:Et,cacheWriteInputTokens:Et,cacheKnownInputTokens:Et,cacheHitCachedInputTokens:Et,cacheHitInputTokens:Et,outputTokens:Et,reasoningOutputTokens:Et,costUsd:Ce().finite().min(0),unpricedRequests:Et,unmeteredRequests:Et}),ni=bh.shape,W5=ie({harness:dr,sessionId:b().min(1).max(512),project:Es.nullable(),title:b().min(1).max(200).optional(),models:re(Fr).max(16),firstAtMs:Et,lastAtMs:Et,...ni});ie({range:Fe(Ch),from:Ss.nullable(),to:Ss,filters:ie({harness:dr.nullable(),model:Fr.nullable(),unknownModel:he(),project:Es.nullable(),unknownProject:he(),date:Ss.nullable()}),reading:ie({complete:he(),sources:Et,read:Et}),failures:re(ie({harness:dr,message:b().max(2048)})).max(256),options:ie({harnesses:re(dr).max(256),models:re(Fr.nullable()).max(4096),projects:re(Es.nullable()).max(4096)}),modelLabels:re(ie({harness:dr,model:Fr,label:Fr})).max(4096).optional(),credits:re(ie({harness:dr,model:Fr.nullable(),credits:Ce().finite().min(0),reportedRequests:Et,requests:Et})).max(4096).optional(),totals:bh,daily:re(ie({date:Ss,harness:dr,...ni})).max(2e5),hourly:re(ie({weekday:Ce().int().min(0).max(6),hour:Ce().int().min(0).max(23),...ni})).max(168),byHarness:re(ie({harness:dr,...ni})).max(256),byModel:re(ie({model:Fr.nullable(),...ni,harnessPricedRequests:Et})).max(4096),byProject:re(ie({project:Es.nullable(),...ni})).max(4096),sessions:re(W5).max(100),recentSessions:re(W5).max(100).optional()});j({threadId:gt});j({discarded:he()});const iL=Wt("type",[j({id:b().min(1),type:U("choice"),prompt:b(),options:re(j({value:b().min(1),label:b(),description:b().optional()})).min(1),multiple:he(),allowOther:he(),optional:he()}),j({id:b().min(1),type:U("text"),prompt:b(),multiline:he(),secret:U(!1),optional:he(),placeholder:b().optional(),prefill:b().optional()})]),sL=j({interactionId:b().min(1),turnId:b().min(1),title:b().optional(),questions:re(iL).min(1)}).refine(({questions:e})=>e.some(t=>t.type==="choice"&&t.multiple),{message:"Shared cards require at least one multi-select question"});ie({threadId:b().min(1)});j({questions:re(sL)});ie({threadId:b().min(1),turnId:b().min(1),interactionId:b().min(1),answers:Sn(b(),re(b())),cancelled:he().default(!1)});j({accepted:U(!0)});const aL=j({path:b(),oldText:b().nullable(),newText:b()});j({sessionId:b().min(1),turn:Ce().int().nonnegative(),path:b().min(1).optional()});j({diffs:re(aL)});ie({});ie({});const lL=j({sessionId:b().min(1),epoch:b().min(1),turn:Ce().int().nonnegative(),seq:Ce().int().nonnegative(),callId:b().min(1),part:Ce().int().nonnegative(),version:b().min(1)});j({reference:lL,length:Ce().int().nonnegative(),bytes:Ce().int().nonnegative()});ie({title:b().trim().min(1).max(200),type:Fe(["info","warning","danger"]),body:b().trim().min(1).max(16*1024)});ie({});ie({url:b().max(2048).regex(/^http:\/\/(?:127\.0\.0\.1|localhost):\d{1,5}\/(?:\?.*)?$/u)});const cL=1,uL=Fe(["idle","running","busy","closing","failed","blocked"]),dL=Fe(["none","disabled","timeout","operation","background","identity","persistence","closeFailed"]);re(ie({threadId:b(),title:b(),harnessId:b(),state:uL,reason:dL,inactiveMs:Ce().nonnegative()}));ie({threadId:gt,turnId:Js});const fL=j({amount:Ce().finite().nonnegative(),currency:b().trim().min(1).max(8),label:b().trim().min(1).max(128).optional()}).strict(),kh=j({email:b().trim().min(1).max(320).optional(),label:b().trim().min(1).max(256).optional(),plan:b().trim().min(1).max(128).optional(),credits:p2.optional(),balance:fL.optional()}).strict();function Sh(e){return e.refine(t=>{const n=t;return n.credits!==void 0||n.balance!==void 0},{message:"Account must report either credits or a balance"})}const U5=Sh(kh),w2={harnessId:Tt,harnessName:b().trim().min(1).max(128)},hL=j(w2).strict();j({}).strict();j({sources:re(hL).max(128)}).strict();j({harnessId:Tt,refresh:he().optional()}).strict();j({...w2,account:U5.nullable(),accounts:re(U5).max(8).optional()}).strict();j({refresh:he().optional()}).strict();j({accounts:re(Sh(kh.extend(w2))).max(128)}).strict();const pL=128*1024,jh=128,y2=b().min(1).max(128).regex(/^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$/u).pipe(Tt),bi=y2.refine(e=>e!=="codex","The official Codex identity is reserved"),q5=b().min(1).max(512).refine(e=>!/[\\\u0000:#?]/u.test(e)&&!e.startsWith("/")&&!e.split("/").some(t=>t===".."||t===""),"Plugin resources must be relative paths inside the plugin"),Sa=eh().refine(e=>/^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(e),"Plugin documentation links must be credential-free HTTPS URLs"),_0=j({en:b().max(4096),"zh-CN":b().max(4096).optional()}).strict(),mL=j({commands:re(j({terminal:b().max(256),command:b().max(4096)}).strict()).max(8),before:_0.optional(),after:_0.optional(),downloads:re(j({label:b().max(128),url:Sa}).strict()).max(8).optional()}).strict(),Eh={id:y2,name:b().trim().min(1).max(128),version:b().min(1).max(128),kind:U("usage").optional(),iconStyle:j({vector:j({viewBox:b().max(128).regex(/^-?\d+(?:\.\d+)?(?: +-?\d+(?:\.\d+)?){3}$/u),color:b().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu),paths:re(j({d:b().min(1).max(32768).regex(/^[MmLlHhVvCcSsQqTtAaZz\d.,+eE\s-]+$/u),fillRule:Fe(["evenodd","nonzero"]).optional(),fill:b().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu).optional()}).strict()).min(1).max(32)}).strict().optional(),background:b().regex(/^#[a-f0-9]{6}$/iu).optional(),borderRadius:Ce().min(0).max(50).optional(),paddingRatio:Ce().min(0).max(.25).optional()}).strict().optional(),installation:mL.optional(),notice:_0.optional(),launchCommand:U(!0).optional(),links:j({website:Sa.optional(),documentation:Sa.optional(),installation:Sa.optional()}).strict().optional()};j({manifestVersion:U(1),...Eh,adapterApiVersion:Ce().int().positive(),entry:q5,icon:q5.optional()}).strict();const gL=b().max(Math.ceil(pL/3)*4+64).regex(/^data:image\/(?:png|jpeg|webp|svg\+xml);base64,[A-Za-z0-9+/]+={0,2}$/u),vL=j({...Eh,icon:gL.optional()}).strict();j({}).strict();j({plugins:re(vL.extend({id:bi})).max(jh)}).strict();j({version:U(1),enabled:re(y2).max(jh)}).strict().refine(e=>new Set(e.enabled).size===e.enabled.length,{message:"Enabled plugin IDs must be unique",path:["enabled"]});j({harnessId:bi,model:Kn.optional(),thinkingOptionId:Yn.optional(),permissionModeId:vr.optional(),prewarm:U(!0).optional()}).strict();const Mh=b().trim().min(1).max(4096).refine(e=>!/[\u0000\r\n]/u.test(e),"Invalid entrypoint path"),wL=j({harnessId:bi}).strict();wL.extend({path:Mh.nullable()});j({path:Mh.nullable(),restartRequired:he()}).strict();j({harnessId:Tt,action:Fe(["check","update","install"])}).strict();const yL=j({currentVersion:b().min(1).max(128),latestVersion:b().min(1).max(128),updateAvailable:he(),canUpdate:he(),versionKind:Fe(["cli","application"]).optional(),manualUpdateUrl:eh().max(2048).refine(e=>/^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(e),"Manual updates require a credential-free HTTPS URL").optional(),message:b().max(2048).optional(),messageCode:b().min(1).max(128).optional(),notice:ch.optional(),latestVersionKind:Fe(["unknown","tracking-branch"]).optional()}).strict();j({taskId:b().uuid()}).strict();Wt("status",[j({taskId:b().uuid(),status:U("running")}).strict(),j({taskId:b().uuid(),status:U("succeeded"),result:yL}).strict(),j({taskId:b().uuid(),status:U("failed"),error:j({code:Ce().int(),message:b().min(1).max(2048)}).strict()}).strict()]);const gl=b().min(1).max(256).regex(/^[A-Za-z0-9._~-]+$/u),Ih=b().trim().min(1),xL=Fe(["free","go","plus","pro","prolite","team","self_serve_business_prolite","self_serve_business_usage_based","business","ent26","enterprise_cbp_automation","enterprise_cbp_usage_based","enterprise","edu","edu_plus","edu_pro","unknown"]),_L=j({accountId:gl,label:Ih.max(256),email:b().email().max(320).optional(),planType:xL.optional()}).strict(),CL=Fe(["ready","unavailable"]);j({version:U(2),currentAccountId:gl.nullable(),phase:CL,revision:Ce().int().nonnegative(),instanceId:Ih.max(1024).optional(),accounts:re(_L).max(1)}).strict();j({accountId:gl,refresh:he().optional()}).strict();j({accountId:gl,usage:h2.nullable(),accountCredits:p2.optional(),freshness:Fe(["live","cached"]),observedAt:b().datetime().nullable()}).strict();const bL=1024,kL=16384,SL=4096,x2=1e3,jL=864e13,Vs=b().refine(e=>e.trim().length>0,"Value must not be empty or whitespace").refine(e=>!e.includes("\0"),"Value must not contain NUL"),_2=Vs.max(bL),Oh=j({nativeSessionId:_2,title:Vs.max(SL).nullable(),updatedAt:Ce().int().nonnegative().max(jL),cwd:Vs.max(kL),running:he().nullable()}).strict();j({}).strict();j({harnesses:re(j({harnessId:bi,name:Vs.max(128)}).strict()).max(128)}).strict();j({harnessId:bi,query:b().trim().max(4096).refine(e=>!e.includes("\0")).optional(),offset:Ce().int().nonnegative().safe().optional(),limit:Ce().int().min(1).max(x2).optional()}).strict();j({candidates:re(Oh).max(x2),total:Ce().int().nonnegative().safe()}).strict();j({harnessId:bi,nativeSessionId:_2}).strict();j({threadId:Vs.max(1024).pipe(gt)}).strict();const EL=x2,ML=1024,IL=b().refine(e=>e.trim().length>0,"Value must not be empty or whitespace").refine(e=>!e.includes("\0"),"Value must not contain NUL"),OL=_2,LL=Oh;j({}).strict();j({candidates:re(LL).max(EL)}).strict();j({nativeSessionId:OL}).strict();j({threadId:IL.max(ML).pipe(gt)}).strict();j({threadId:gt,lastTurnId:Js}).strict();j({threadId:gt}).strict();const Lh=b().trim().min(1).max(128).regex(/^[A-Za-z0-9._:-]+$/u).brand(),TL=b().min(1).max(128),zL=b().trim().min(1).max(128),PL=b().trim().min(1).max(512),NL=j({id:Lh,invocation:TL,label:zL,description:PL.optional(),localizations:Ks.optional(),argumentMode:Fe(["none","text"]),kind:Fe(["command","skill"]).optional()}).strict();j({commands:re(NL),warnings:re(b().min(1)).optional(),source:Fe(["live","static"]).optional()}).strict().superRefine((e,t)=>{const n=new Set;for(const[r,s]of e.commands.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Harness command IDs must be unique",path:["commands",r,"id"]}),n.add(s.id)});j({harnessId:Tt,cwd:b().min(1).optional()}).strict();j({threadId:gt}).strict();j({threadId:gt,commandId:Lh,turnId:Js.optional(),arguments:ah.optional()}).strict();j({accepted:U(!0),turnId:Js.optional()}).strict();const vl=U("2.0").optional(),An=d2().optional(),Th=b().min(1),C2=tn([b(),Ce().int()]),AL=j({code:Ce().int(),message:b(),data:Cn.optional()}).catchall(Cn).superRefine(Ur(["data"])),RL=j({jsonrpc:vl,id:C2,method:Th,params:Cn.optional(),result:An,error:An}).catchall(Cn).superRefine(Ur(["jsonrpc","params","result","error"])),FL=j({jsonrpc:vl,id:An,method:Th,params:Cn.optional(),result:An,error:An}).catchall(Cn).superRefine(Ur(["jsonrpc","id","params","result","error"])),DL=j({jsonrpc:vl,id:C2,method:An,params:An,result:Cn,error:An}).catchall(Cn).superRefine(Ur(["jsonrpc","method","params","error"])),$L=j({jsonrpc:vl,id:C2,method:An,params:An,result:An,error:AL}).catchall(Cn).superRefine(Ur(["jsonrpc","method","params","result"]));tn([RL,FL,DL,$L]);const Bs=b().refine(e=>e.trim().length>0,{message:"Native identifier must not be empty or whitespace"});ie({harnessId:Tt,nativeSessionId:Bs,locator:Cn.optional(),formatVersion:U(1)}).superRefine(Ur(["locator"]));ie({harnessId:Tt,nativeSessionId:Bs,nativeTurnKey:Bs,formatVersion:U(1)});ie({harnessId:Tt,nativeSessionId:Bs,checkpointId:Bs,locator:Cn.optional(),formatVersion:U(1)}).superRefine(Ur(["locator"]));const zh=500,HL=/^\d+\.\d+\.\d+(?:-[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/u,C0=b().regex(HL),Ph=Fe(["npm","windows-installer","macos-dmg"]),VL=Fe(["prepared","downloading","waiting-for-exit","installing","restarting","succeeded","failed"]),b2=ie({version:C0,installation:Ph,phase:VL,updatedAt:Ce().int().nonnegative(),downloadedBytes:Ce().int().nonnegative().optional(),totalBytes:Ce().int().positive().optional(),error:b().min(1).max(zh).nullable(),serviceStopOutput:b().optional()}).superRefine((e,t)=>{e.downloadedBytes!==void 0&&e.totalBytes!==void 0&&e.downloadedBytes>e.totalBytes&&t.addIssue({code:"custom",path:["downloadedBytes"],message:"downloadedBytes must not exceed totalBytes"})});ie({});const BL=b().max(300).regex(/^https:\/\/github\.com\/BytePioneer-AI\/codex-host\/releases\/tag\/v[0-9A-Za-z.+-]+$/u,"release notes URL must identify a codexhost GitHub Release");ie({currentVersion:C0,installation:Ph.nullable(),latestVersion:C0.nullable(),updateAvailable:he(),installationAvailable:he(),releaseNotes:b().min(1).max(2e4).nullable(),releaseNotesUrl:BL.nullable(),status:b2.nullable(),error:b().min(1).max(zh).nullable()});ie({status:b2});ie({status:b2.nullable()});const ZL=/\[@([^\]\n]+)\]\(<?subagent:\/\/codexhost\.([a-z0-9][a-z0-9-]*)>?\)/gu;function WL(e){const t=[],n=new Set;return{text:e.replace(ZL,(s,l,u)=>{const f=l.trim();return n.has(u)||(n.add(u),t.push({harnessId:u,label:f})),`@${f}`}),mentions:t}}function UL(e){if(e===void 0)return;const t=Number(e);return Number.isSafeInteger(t)&&t>0&&String(t)===e?t:void 0}const qL=Fe(["idle","installing","restarting","succeeded","failed"]);j({runningVersion:b().nullable(),installedVersion:b().nullable(),restartRequired:he(),remote:he(),updateSupported:he(),update:j({phase:qL,targetVersion:b().nullable(),error:b().nullable()})});const GL=j({version:b().regex(/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u)}).strict();j({hostname:b().min(1).max(1024).refine(e=>!e.startsWith("-")&&!/\s/u.test(e)),port:Ce().int().min(1).max(65535).nullable(),identity:b().max(4096).nullable(),action:Fe(["inspect","install","update","repair","uninstall"]),uninstallPackage:he().optional(),version:b().regex(/^\d+\.\d+\.\d+$/u).nullable()}).strict();j({state:Fe(["installed","not-installed"])}).strict();const Zt=b().min(1).max(1024),Nh={hostId:Zt.regex(/^remote-(?:ssh(?:-|:)|control:)/u)},Rr={...Nh,threadId:Zt},KL=Wt("kind",[ie({kind:U("hosts")}),ie({kind:U("status"),...Rr}),ie({kind:U("list"),...Nh,cursor:b().nullable(),archived:he()}),ie({kind:U("read"),...Rr,page:ie({cursor:b().min(1).max(8192).nullable(),epoch:Zt.optional(),sortDirection:Fe(["asc","desc"]).optional(),limit:Ce().int().min(1).max(20).optional()}).refine(e=>e.cursor===null||e.epoch!==void 0,{message:"A history continuation requires its connection epoch"}).optional()}),ie({kind:U("configure"),...Rr,epoch:Zt,modelId:Zt.optional(),thinkingOptionId:Zt.optional(),permissionModeId:Zt.optional()}).refine(e=>[e.modelId,e.thinkingOptionId,e.permissionModeId].filter(t=>t!==void 0).length===1,"Select exactly one remote setting"),ie({kind:U("prompt"),...Rr,epoch:Zt,text:b().min(1).max(8e3),requestId:Zt.optional()}),ie({kind:U("interrupt"),...Rr,epoch:Zt,turnId:Zt}),ie({kind:U("rename"),...Rr,epoch:Zt,name:b().min(1).max(512)}),ie({kind:U("archive"),...Rr,epoch:Zt,archived:he()}),ie({kind:U("respond"),...Rr,epoch:Zt,requestId:tn([Zt,Ce().int()]),result:Sn(b(),$s())})]),ri=b().min(1).max(1024),G5=j({hostId:ri,displayName:b().min(1).max(1024),source:Fe(["codex-managed","discovered"]),sshAlias:b().max(1024).nullable(),sshHost:b().min(1).max(1024),sshPort:Ce().int().min(1).max(65535).nullable(),identity:b().max(4096).nullable(),autoConnect:he(),connectionAnalyticsId:b().max(1024).optional()}),YL=ie({displayName:b().min(1).max(1024),hostname:b().min(1).max(1024),sshPort:Ce().int().min(1).max(65535).nullable(),identity:b().max(4096).nullable()});Wt("action",[ie({action:U("session"),operation:KL}),ie({action:U("list")}),ie({action:U("catalog")}),ie({action:U("read-thread"),hostId:ri.refine(e=>e!=="local"),input:YO}),ie({action:U("save"),draft:YL,previous:G5.nullable()}),ie({action:U("remove"),previous:G5}),ie({action:U("connect"),hostId:ri,enabled:he()}),ie({action:U("state"),hostId:ri}),ie({action:U("runtime"),hostId:ri}),ie({action:U("update"),hostId:ri.refine(e=>e!=="local"),version:GL.shape.version})]);tn([ie({result:Cn}),ie({error:ie({code:Ce().int(),message:b()})})]);ie({prompt:b().trim().min(1).max(2e3),cwd:b().max(4096).nullable()});b().trim().min(1).max(60).nullable();const wl=b().max(214).regex(/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/u),K5=tn([b(),j({en:b()}).catchall(b())]),JL=j({title:K5.optional(),description:K5.optional(),icon:b().max(Math.ceil(256*1024/3)*4+64).regex(/^data:image\/(?:svg\+xml|png|jpeg|webp);base64,[A-Za-z0-9+/]*={0,2}$/u).optional(),error:b().optional()}),QL=j({id:wl,name:b().min(1).max(214),version:b().min(1).max(128),format:U("dsh"),supportedTargets:RI([U("web")]),enabledTargets:re(U("web")).max(1),source:b().min(1).max(4096),projectUrl:b().max(4096).url({protocol:/^https?$/u}).optional(),installedAt:b(),meta:JL.optional(),loadError:b().optional()});j({extensions:re(QL),loadedIds:re(wl),safeMode:he(),storeError:b().optional()});const XL=b().trim().max(2048).url({protocol:/^https?$/u,normalize:!0}).refine(e=>!/[\s\\?#]/u.test(e)&&!e.split("/")[2]?.includes("@"),"Use an HTTP(S) registry URL without credentials, a query, or a fragment.").transform(e=>e.endsWith("/")?e:`${e}/`);j({spec:b().trim().min(1).max(4096),registry:XL.optional()}).strict();j({id:wl,enabled:he()}).strict();j({id:wl}).strict();U(cL);function Ah({kind:e,size:t=16,className:n,strokeWidth:r,reference:s}){if(e==="session"&&s!==void 0){const{text:l,mentions:u}=WL(s),f=u[0];if(f&&u.length===1&&l===`@${f.label}`)return c.jsx(c7,{id:f.harnessId,src:`/harness-icons/${encodeURIComponent(f.harnessId)}`,presentationUrl:"/harness-icons/presentation.json",size:t,className:n,fallback:c.jsx(b8,{size:t,className:n})})}switch(e){case"skill":return c.jsx(z8,{size:t,className:n});case"session":return c.jsx(df,{size:t,className:n,strokeWidth:r});case"file":return c.jsx(W0,{size:t,className:n,strokeWidth:r});case"folder":return c.jsx(sl,{size:t,className:n,strokeWidth:r})}}function Rh(e){return c.jsx(Ah,{...e,strokeWidth:Y})}function eT(e){return c.jsx(Ah,{...e,strokeWidth:Q})}const tT="__DSH_CODE_ICON_INSTANCE__",nT=Object.freeze({angular:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F8ECEF" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#DD0031" d="M16.712 17.711H7.288l-1.204 2.916L12 24l5.916-3.373-1.204-2.916ZM14.692 0l7.832 16.855.814-12.856L14.692 0ZM9.308 0 .662 3.999l.814 12.856L9.308 0Zm-.405 13.93h6.198L12 6.396 8.903 13.93Z"/></g>',c:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF4F8" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#659AD2" d="M16.5921 9.1962s-.354-3.298-3.627-3.39c-3.2741-.09-4.9552 2.474-4.9552 6.14 0 3.6651 1.858 6.5972 5.0451 6.5972 3.184 0 3.5381-3.665 3.5381-3.665l6.1041.365s.36 3.31-2.196 5.836c-2.552 2.5241-5.6901 2.9371-7.8762 2.9201-2.19-.017-5.2261.034-8.1602-2.97-2.938-3.0101-3.436-5.9302-3.436-8.8002 0-2.8701.556-6.6702 4.047-9.5502C7.444.72 9.849 0 12.254 0c10.0422 0 10.7172 9.2602 10.7172 9.2602z"/></g>',clojure:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F1F7EC" stroke="#DCEAD2" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><g fill="none"><path d="M64 0C28.712 0 0 28.6 0 63.751c0 35.155 28.712 63.753 64 63.753s64-28.598 64-63.753C128 28.6 99.288 0 64 0" fill="#FFF"/><path d="M61.659 64.898a265.825 265.825 0 00-1.867 4.12c-2.322 5.241-4.894 11.62-5.834 15.706-.337 1.455-.546 3.258-.542 5.258 0 .79.043 1.622.11 2.469a30.74 30.74 0 0010.533 1.87 30.796 30.796 0 009.642-1.566 18.09 18.09 0 01-2.011-2.12c-4.11-5.221-6.403-12.872-10.031-25.737M46.485 38.96c-7.85 5.51-12.986 14.6-13.005 24.9.019 10.145 5.001 19.116 12.653 24.65 1.877-7.789 6.582-14.92 13.637-29.214a114.691 114.691 0 00-1.43-3.72c-1.955-4.884-4.776-10.556-7.294-13.124-1.283-1.342-2.84-2.502-4.561-3.492" fill="#91DC47"/><path d="M90.697 98.798c-4.05-.506-7.392-1.116-10.317-2.144a36.708 36.708 0 01-16.32 3.807c-20.293 0-36.742-16.383-36.745-36.602 0-10.97 4.852-20.805 12.528-27.512-2.053-.495-4.194-.783-6.38-.779-10.782.101-22.162 6.044-26.9 22.095-.443 2.337-.337 4.103-.337 6.197 0 31.818 25.895 57.613 57.835 57.613 19.561 0 36.841-9.682 47.305-24.489-5.66 1.405-11.103 2.077-15.763 2.091-1.747 0-3.387-.093-4.906-.277" fill="#63B132"/><path d="M79.829 87.634c.357.176 1.167.464 2.293.783 7.579-5.542 12.504-14.469 12.523-24.558h-.003c-.028-16.82-13.693-30.43-30.582-30.462a30.765 30.765 0 00-9.602 1.554c6.21 7.05 9.196 17.127 12.084 28.148l.005.013c.005.009.924 3.06 2.501 7.11 1.566 4.042 3.797 9.048 6.23 12.696 1.597 2.444 3.354 4.2 4.551 4.716" fill="#90B4FE"/><path d="M17.057 30.311c5.463-3.408 11.04-4.637 15.908-4.593 6.722.02 12.008 2.096 14.544 3.516.612.352 1.194.73 1.764 1.12a36.714 36.714 0 0114.786-3.096c20.295.003 36.747 16.386 36.75 36.601-.003 10.192-4.188 19.408-10.934 26.044a45.3 45.3 0 005.225.29c6.406.004 13.329-1.404 18.52-5.753 3.384-2.84 6.22-6.998 7.792-13.233.307-2.408.484-4.856.484-7.347 0-31.817-25.892-57.614-57.835-57.614-19.372 0-36.508 9.5-47.004 24.065z" fill="#5881D8"/></g></svg>',cmake:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F2F5F7" stroke="#D9E1E7" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#064F8C" d="M62.8.4L.3 123.8l68.1-57.9z"/><path fill="#249847" d="M123.8 127.7l-84-33.9L0 127.7z"/><path fill="#BE2128" d="M128 126.6L65.6 2.5l9.2 102.6z"/><path fill="#CDCDCE" d="M71.9 104l-3.1-34.9L42 92z"/></svg>',cpp:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E8F2F8" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#00599C" d="M22.394 6c-.167-.29-.398-.543-.652-.69L12.926.22c-.509-.294-1.34-.294-1.848 0L2.26 5.31c-.508.293-.923 1.013-.923 1.6v10.18c0 .294.104.62.271.91.167.29.398.543.652.69l8.816 5.09c.508.293 1.34.293 1.848 0l8.816-5.09c.254-.147.485-.4.652-.69.167-.29.27-.616.27-.91V6.91c.003-.294-.1-.62-.268-.91zM12 19.11c-3.92 0-7.109-3.19-7.109-7.11 0-3.92 3.19-7.11 7.11-7.11a7.133 7.133 0 016.156 3.553l-3.076 1.78a3.567 3.567 0 00-3.08-1.78A3.56 3.56 0 008.444 12 3.56 3.56 0 0012 15.555a3.57 3.57 0 003.08-1.778l3.078 1.78A7.135 7.135 0 0112 19.11zm7.11-6.715h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79zm2.962 0h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79z"/></g>',csharp:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3EEF7" stroke="#E2D7EA" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#9B4F96" d="M115.4 30.7L67.1 2.9c-.8-.5-1.9-.7-3.1-.7-1.2 0-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.4 1 3.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7z"/><path fill="#68217A" d="M10.7 95.3c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7 1.2 0 2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c0-.9-.1-1.9-.6-2.8l-106.6 62z"/><path fill="#fff" d="M85.3 76.1C81.1 83.5 73.1 88.5 64 88.5c-13.5 0-24.5-11-24.5-24.5s11-24.5 24.5-24.5c9.1 0 17.1 5 21.3 12.5l13-7.5c-6.8-11.9-19.6-20-34.3-20-21.8 0-39.5 17.7-39.5 39.5s17.7 39.5 39.5 39.5c14.6 0 27.4-8 34.2-19.8l-12.9-7.6zM97 66.2l.9-4.3h-4.2v-4.7h5.1L100 51h4.9l-1.2 6.1h3.8l1.2-6.1h4.8l-1.2 6.1h2.4v4.7h-3.3l-.9 4.3h4.2v4.7h-5.1l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6h-2.4v-4.7H97zm4.8 0h3.8l.9-4.3h-3.8l-.9 4.3z"/></svg>',css:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#1572B6"/><text x="10" y="12.8" text-anchor="middle" font-family="Arial,sans-serif" font-size="6.2" font-weight="900" fill="#fff">CSS</text>',dart:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECF7FA" stroke="#D5EAF0" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#00c4b3" d="M35.2 34.9l-8.3-8.3v59.7l.1 2.8c0 1.3.2 2.8.7 4.3l65.6 23.1 16.3-7.2-74.4-74.4z"/><path d="M27.7 93.4zm81.9 15.9l-16.3 7.2-65.4-23.1c1.3 4.8 4 10.1 7 13.2l21.3 21.2 47.6.1 5.8-18.6z" fill="#22d3c5"/><path fill="#0075c9" d="M1.7 65.1C-.4 67.3.7 72 4 75.5l14.7 14.8 9.2 3.3c-.3-1.5-.7-3-.7-4.3l-.1-2.8-.2-59.8m82.7 82.6l7.2-16.4-23-65.6c-1.5-.3-3-.6-4.3-.7l-2.9-.1-59.6.1"/><path d="M93.6 27.3c.2 0 .2 0 0 0 .2 0 .2 0 0 0zm16 82l17.7-5.8V54.8l-20.4-20.5c-3-3-8.3-5.8-13.2-7l23.1 65.6" fill="#00a8e1"/><path fill="#00c4b3" d="M90.5 18.2L75.7 3.5c-3.4-3.4-8-4.4-10.4-2.3L26.9 26.6h59.5l2.9.1c1.3 0 2.8.2 4.3.7l-3.1-9.2z"/></svg>',docker:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E8F4FC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#2496ED" d="M13.983 11.078h2.119a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.119a.185.185 0 00-.185.185v1.888c0 .102.083.185.185.185m-2.954-5.43h2.118a.186.186 0 00.186-.186V3.574a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m0 2.716h2.118a.187.187 0 00.186-.186V6.29a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.887c0 .102.082.185.185.186m-2.93 0h2.12a.186.186 0 00.184-.186V6.29a.185.185 0 00-.185-.185H8.1a.185.185 0 00-.185.185v1.887c0 .102.083.185.185.186m-2.964 0h2.119a.186.186 0 00.185-.186V6.29a.185.185 0 00-.185-.185H5.136a.186.186 0 00-.186.185v1.887c0 .102.084.185.186.186m5.893 2.715h2.118a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m-2.93 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.083.185.185.185m-2.964 0h2.119a.185.185 0 00.185-.185V9.006a.185.185 0 00-.184-.186h-2.12a.186.186 0 00-.186.186v1.887c0 .102.084.185.186.185m-2.92 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.082.185.185.185M23.763 9.89c-.065-.051-.672-.51-1.954-.51-.338.001-.676.03-1.01.087-.248-1.7-1.653-2.53-1.716-2.566l-.344-.199-.226.327c-.284.438-.49.922-.612 1.43-.23.97-.09 1.882.403 2.661-.595.332-1.55.413-1.744.42H.751a.751.751 0 00-.75.748 11.376 11.376 0 00.692 4.062c.545 1.428 1.355 2.48 2.41 3.124 1.18.723 3.1 1.137 5.275 1.137.983.003 1.963-.086 2.93-.266a12.248 12.248 0 003.823-1.389c.98-.567 1.86-1.288 2.61-2.136 1.252-1.418 1.998-2.997 2.553-4.4h.221c1.372 0 2.215-.549 2.68-1.009.309-.293.55-.65.707-1.046l.098-.288Z"/></g>',elixir:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3EEF6" stroke="#E3D9E8" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-a" gradientUnits="userSpaceOnUse" x1="835.592" y1="-36.546" x2="821.211" y2="553.414" gradientTransform="matrix(.1297 0 0 .2 -46.03 17.198)"><stop offset="0" stop-color="#d9d8dc"/><stop offset="1" stop-color="#fff" stop-opacity=".385"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-a)" d="M64.4.5C36.7 13.9 1.9 83.4 30.9 113.9c26.8 33.5 85.4 1.3 68.4-40.5-21.5-36-35-37.9-34.9-72.9z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-b" gradientUnits="userSpaceOnUse" x1="942.357" y1="-40.593" x2="824.692" y2="472.243" gradientTransform="matrix(.1142 0 0 .2271 -47.053 17.229)"><stop offset="0" stop-color="#8d67af" stop-opacity=".672"/><stop offset="1" stop-color="#9f8daf"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-b)" d="M64.4.2C36.8 13.6 1.9 82.9 31 113.5c10.7 12.4 28 16.5 37.7 9.1 26.4-18.8 7.4-53.1 10.4-78.5C68.1 33.9 64.2 11.3 64.4.2z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-c" gradientUnits="userSpaceOnUse" x1="924.646" y1="120.513" x2="924.646" y2="505.851" gradientTransform="matrix(.1227 0 0 .2115 -46.493 17.206)"><stop offset="0" stop-color="#26053d" stop-opacity=".762"/><stop offset="1" stop-color="#b7b4b4" stop-opacity=".278"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-c)" d="M56.7 4.3c-22.3 15.9-28.2 75-24.1 94.2 8.2 48.1 75.2 28.3 69.6-16.5-6-29.2-48.8-39.2-45.5-77.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-d" gradientUnits="userSpaceOnUse" x1="428.034" y1="198.448" x2="607.325" y2="559.255" gradientTransform="matrix(.1848 0 0 .1404 -42.394 17.138)"><stop offset="0" stop-color="#91739f" stop-opacity=".46"/><stop offset="1" stop-color="#32054f" stop-opacity=".54"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-d)" d="M78.8 49.8c10.4 13.4 12.7 22.6 6.8 27.9-27.7 19.4-61.3 7.4-54-37.3C22.1 63 4.5 96.8 43.3 101.6c20.8 3.6 54 2 58.9-16.1-.2-15.9-10.8-22.9-23.4-35.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-e" gradientUnits="userSpaceOnUse" x1="907.895" y1="540.636" x2="590.242" y2="201.281" gradientTransform="matrix(.1418 0 0 .1829 -45.23 17.18)"><stop offset="0" stop-color="#463d49" stop-opacity=".331"/><stop offset="1" stop-color="#340a50" stop-opacity=".821"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-e)" d="M38.1 36.4c-2.9 21.2 35.1 77.9 58.3 71-17.7 35.6-56.9-21.2-64-41.7 1.5-11 2.2-16.4 5.7-29.3z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-f" gradientUnits="userSpaceOnUse" x1="1102.297" y1="100.542" x2="1008.071" y2="431.648" gradientTransform="matrix(.106 0 0 .2448 -47.595 17.242)"><stop offset="0" stop-color="#715383" stop-opacity=".145"/><stop offset="1" stop-color="#f4f4f4" stop-opacity=".234"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-f)" d="M60.4 49.7c.8 7.9 3.9 20.5 0 28.8S38.7 102 43.6 115.3c11.4 24.8 37.1-4.4 36.9-19 1.1-11.8-6.6-38.7-1.8-52.5L76.5 41l-13.6-4c-2.2 3.2-3 7.5-2.5 12.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-g" gradientUnits="userSpaceOnUse" x1="1354.664" y1="140.06" x2="1059.233" y2="84.466" gradientTransform="matrix(.09173 0 0 .2828 -48.536 17.28)"><stop offset="0" stop-color="#a5a1a8" stop-opacity=".356"/><stop offset="1" stop-color="#370c50" stop-opacity=".582"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-g)" d="M65.3 10.8C36 27.4 48 53.4 49.3 81.6l19.1-55.4c-1.4-5.7-2.3-9.5-3.1-15.4z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#330A4C" fill-opacity=".316" d="M68.3 26.1c-14.8 11.7-14.1 31.3-18.6 54 8.1-21.3 4.1-38.2 18.6-54z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFF" d="M45.8 119.7c8 1.1 12.1 2.2 12.5 3 .3 4.2-11.1 1.2-12.5-3z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#EDEDED" fill-opacity=".603" d="M49.8 10.8c-6.9 7.7-14.4 21.8-18.2 29.7-1 6.5-.5 15.7.6 23.5.9-18.2 7.5-39.2 17.6-53.2z"/></svg>',env:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECD53F"/><text x="10" y="12.9" text-anchor="middle" font-family="Arial,sans-serif" font-size="5.7" font-weight="900" fill="#24292F">.ENV</text>',erlang:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FAEDF1" stroke="#EED6DE" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path d="M20.7 103.9C11 93.5 5.2 79.2 5.3 62.1 5.2 47 10 34 18.2 24.1H1v79.7l19.7.1zm90.4 0c4.2-4.5 8-9.8 11.4-15.9l-19-9.5c-6.7 10.8-16.4 20.8-29.9 20.9-19.6-.1-27.3-16.9-27.3-38.5h73.3c.1-2.4.1-3.6 0-4.7.5-12.9-2.9-23.7-9.1-32.1H127v79.7l-15.9.1zM47.5 42.4c.8-9.8 8.5-16.3 17.6-16.4 9.1 0 15.7 6.6 15.9 16.4H47.5z" fill="#A90533"/></svg>',flutter:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF7FD" stroke="#D7EAF6" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><g fill="#3FB6D3"><path d="M12.3 64.2L76.3 0h39.4L32.1 83.6zM76.3 128h39.4L81.6 93.9l34.1-34.8H76.3L42.2 93.5z"/></g><path fill="#27AACD" d="M81.6 93.9l-20-20-19.4 19.6 19.4 19.6z"/><path fill="#19599A" d="M115.7 128L81.6 93.9l-20 19.2L76.3 128z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__flutter-original-a" gradientUnits="userSpaceOnUse" x1="59.365" y1="116.36" x2="86.825" y2="99.399"><stop offset="0" stop-color="#1b4e94"/><stop offset=".63" stop-color="#1a5497"/><stop offset="1" stop-color="#195a9b"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__flutter-original-a)" d="M61.6 113.1l30.8-8.4-10.8-10.8z"/></svg>',git:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF0EC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#F05032" d="M13.09 23.549a1.54 1.54 0 0 1-2.18 0L.451 13.089a1.54 1.54 0 0 1 0-2.179l7.191-7.19 2.733 2.733a1.85 1.85 0 0 0 .964 2.326v6.66a1.849 1.849 0 1 0 1.54 0V8.957l2.508 2.508a1.85 1.85 0 1 0 1.09-1.09l-2.634-2.634a1.85 1.85 0 0 0-2.378-2.377L8.73 2.63 10.91.451a1.54 1.54 0 0 1 2.179 0l10.459 10.46a1.54 1.54 0 0 1 0 2.179z"/></g>',go:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E7F9FC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#00ADD8" d="M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514-.176.046-.187.058-.34-.117-.174-.199-.303-.327-.548-.444-.737-.362-1.45-.257-2.115.175-.795.514-1.204 1.274-1.192 2.22.011.935.654 1.706 1.577 1.835.795.105 1.46-.175 1.987-.77.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35.152-.362.432-.97.596-1.274a.315.315 0 01.292-.187h4.253c-.023.316-.023.631-.07.947a4.983 4.983 0 01-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986-1.145.152-2.209-.07-3.143-.77-.865-.655-1.356-1.52-1.484-2.595-.152-1.274.222-2.419.993-3.424.83-1.086 1.928-1.776 3.272-2.02 1.098-.2 2.15-.07 3.096.571.62.41 1.063.97 1.356 1.648.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.665 3.665 0 01-1.262-2.255c-.21-1.32.152-2.489.947-3.529.853-1.122 1.881-1.706 3.272-1.95 1.192-.21 2.314-.095 3.33.595.923.63 1.496 1.484 1.648 2.605.198 1.578-.257 2.863-1.344 3.962-.771.783-1.718 1.273-2.805 1.495-.315.06-.63.07-.934.106zm2.78-4.72c-.011-.153-.011-.27-.034-.387-.21-1.157-1.274-1.81-2.384-1.554-1.087.245-1.788.935-2.045 2.033-.21.912.234 1.835 1.075 2.21.643.28 1.285.244 1.905-.07.923-.48 1.425-1.228 1.484-2.233z"/></g>',graphql:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEAF6" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#E10098" d="M12.002 0a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm8.54 4.931a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm0 9.862a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm-8.54 4.931a2.138 2.138 0 1 0 0 4.276 2.138 2.138 0 1 0 0-4.276zm-8.542-4.93a2.138 2.138 0 1 0 0 4.276 2.138 2.138 0 1 0 0-4.277zm0-9.863a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm8.542-3.378L2.953 6.777v10.448l9.049 5.224 9.047-5.224V6.777zm0 1.601 7.66 13.27H4.34zm-1.387.371L3.97 15.037V7.363zm2.774 0 6.646 3.838v7.674zM5.355 17.44h13.293l-6.646 3.836z"/></g>',haskell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3F0F7" stroke="#E1D9EA" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#463B63" d="M0 110.2L30.1 65 0 19.9h22.6L52.7 65l-30.1 45.1H0z"/><path fill="#5E5187" d="M30.1 110.2L60.2 65 30.1 19.9h22.6l60.2 90.3H90.4L71.5 81.9l-18.8 28.2H30.1z"/><path fill="#904F8C" d="M102.9 83.8l-10-15.1H128v15.1h-25.1zM87.8 61.3l-10-15.1H128v15.1H87.8z"/></svg>',ini:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#6E7781"/><text x="10" y="13.2" text-anchor="middle" font-family="Arial,sans-serif" font-size="7.2" font-weight="800" fill="#fff">INI</text>',java:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F4F7FA" stroke="#D9E2E8" stroke-width=".5"/><svg x="2.5" y="2.5" width="15" height="15" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#0074BD" d="M47.617 98.12s-4.767 2.774 3.397 3.71c9.892 1.13 14.947.968 25.845-1.092 0 0 2.871 1.795 6.873 3.351-24.439 10.47-55.308-.607-36.115-5.969zm-2.988-13.665s-5.348 3.959 2.823 4.805c10.567 1.091 18.91 1.18 33.354-1.6 0 0 1.993 2.025 5.132 3.131-29.542 8.64-62.446.68-41.309-6.336z"/><path fill="#EA2D2E" d="M69.802 61.271c6.025 6.935-1.58 13.17-1.58 13.17s15.289-7.891 8.269-17.777c-6.559-9.215-11.587-13.792 15.635-29.58 0 .001-42.731 10.67-22.324 34.187z"/><path fill="#0074BD" d="M102.123 108.229s3.529 2.91-3.888 5.159c-14.102 4.272-58.706 5.56-71.094.171-4.451-1.938 3.899-4.625 6.526-5.192 2.739-.593 4.303-.485 4.303-.485-4.953-3.487-32.013 6.85-13.743 9.815 49.821 8.076 90.817-3.637 77.896-9.468zM49.912 70.294s-22.686 5.389-8.033 7.348c6.188.828 18.518.638 30.011-.326 9.39-.789 18.813-2.474 18.813-2.474s-3.308 1.419-5.704 3.053c-23.042 6.061-67.544 3.238-54.731-2.958 10.832-5.239 19.644-4.643 19.644-4.643zm40.697 22.747c23.421-12.167 12.591-23.86 5.032-22.285-1.848.385-2.677.72-2.677.72s.688-1.079 2-1.543c14.953-5.255 26.451 15.503-4.823 23.725 0-.002.359-.327.468-.617z"/><path fill="#EA2D2E" d="M76.491 1.587S89.459 14.563 64.188 34.51c-20.266 16.006-4.621 25.13-.007 35.559-11.831-10.673-20.509-20.07-14.688-28.815C58.041 28.42 81.722 22.195 76.491 1.587z"/><path fill="#0074BD" d="M52.214 126.021c22.476 1.437 57-.8 57.817-11.436 0 0-1.571 4.032-18.577 7.231-19.186 3.612-42.854 3.191-56.887.874 0 .001 2.875 2.381 17.647 3.331z"/></svg>',javascript:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#F0DB4F" d="M1.408 1.408h125.184v125.185H1.408z"/><path fill="#323330" d="M116.347 96.736c-.917-5.711-4.641-10.508-15.672-14.981-3.832-1.761-8.104-3.022-9.377-5.926-.452-1.69-.512-2.642-.226-3.665.821-3.32 4.784-4.355 7.925-3.403 2.023.678 3.938 2.237 5.093 4.724 5.402-3.498 5.391-3.475 9.163-5.879-1.381-2.141-2.118-3.129-3.022-4.045-3.249-3.629-7.676-5.498-14.756-5.355l-3.688.477c-3.534.893-6.902 2.748-8.877 5.235-5.926 6.724-4.236 18.492 2.975 23.335 7.104 5.332 17.54 6.545 18.873 11.531 1.297 6.104-4.486 8.08-10.234 7.378-4.236-.881-6.592-3.034-9.139-6.949-4.688 2.713-4.688 2.713-9.508 5.485 1.143 2.499 2.344 3.63 4.26 5.795 9.068 9.198 31.76 8.746 35.83-5.176.165-.478 1.261-3.666.38-8.581zM69.462 58.943H57.753l-.048 30.272c0 6.438.333 12.34-.714 14.149-1.713 3.558-6.152 3.117-8.175 2.427-2.059-1.012-3.106-2.451-4.319-4.485-.333-.584-.583-1.036-.667-1.071l-9.52 5.83c1.583 3.249 3.915 6.069 6.902 7.901 4.462 2.678 10.459 3.499 16.731 2.059 4.082-1.189 7.604-3.652 9.448-7.401 2.666-4.915 2.094-10.864 2.07-17.444.06-10.735.001-21.468.001-32.237z"/></svg></g>',json:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F4F4F4" stroke="#DDDDDD" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><linearGradient id="__DSH_CODE_ICON_INSTANCE__a" x1="-670.564" x2="-583.105" y1="-280.831" y2="-368.306" gradientTransform="matrix(.9988 0 0 -.9987 689.011 -259.008)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#fff"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__a)" fill-rule="evenodd" d="M63.895 94.303c27.433 37.398 54.281-10.438 54.241-39.205-.046-34.012-34.518-53.021-54.263-53.021C32.182 2.077 2 28.269 2 64.105 2 103.937 36.596 126 63.873 126c-6.172-.889-26.742-5.296-27.019-52.674-.186-32.044 10.453-44.846 26.974-39.214.37.137 18.223 7.18 18.223 30.187 0 22.908-18.156 30.004-18.156 30.004z" clip-rule="evenodd"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__b" x1="-579.148" x2="-666.607" y1="-364.34" y2="-276.873" gradientTransform="matrix(.9988 0 0 -.9987 689.011 -259.008)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#fff"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__b)" fill-rule="evenodd" d="M63.863 34.086C45.736 27.838 23.53 42.778 23.53 72.703 23.53 121.565 59.739 126 64.128 126 95.818 126 126 99.808 126 63.972 126 24.14 91.404 2.077 64.127 2.077c7.555-1.046 40.719 8.176 40.719 53.504 0 29.559-24.764 45.651-40.87 38.776-.37-.137-18.223-7.18-18.223-30.187 0-22.91 18.11-30.085 18.11-30.084z" clip-rule="evenodd"/></svg>',kotlin:'<defs><linearGradient id="__DSH_CODE_ICON_INSTANCE__k" x1="1" y1="19" x2="19" y2="1"><stop stop-color="#0095D5"/><stop offset=".5" stop-color="#7F52FF"/><stop offset="1" stop-color="#F88909"/></linearGradient></defs><rect x="1" y="1" width="18" height="18" rx="4" fill="url(#__DSH_CODE_ICON_INSTANCE__k)"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#FFFFFF" d="M24 24H0V0h24L12 12Z"/></g>',lua:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECECF7" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#000080" d="M.38 10.377l-.272-.037c-.048.344-.082.695-.101 1.041l.275.016c.018-.34.051-.682.098-1.02zM4.136 3.289l-.184-.205c-.258.232-.509.48-.746.734l.202.188c.231-.248.476-.49.728-.717zM5.769 2.059l-.146-.235c-.296.186-.586.385-.863.594l.166.219c.27-.203.554-.399.843-.578zM1.824 18.369c.185.297.384.586.593.863l.22-.164c-.205-.271-.399-.555-.58-.844l-.233.145zM1.127 16.402l-.255.104c.129.318.274.635.431.943l.005.01.245-.125-.005-.01c-.153-.301-.295-.611-.421-.922zM.298 9.309l.269.063c.076-.332.168-.664.272-.986l-.261-.087c-.108.332-.202.672-.28 1.01zM.274 12.42l-.275.01c.012.348.04.699.083 1.043l.273-.033c-.042-.336-.069-.68-.081-1.02zM.256 14.506c.073.34.162.682.264 1.014l.263-.08c-.1-.326-.187-.658-.258-.99l-.269.056zM11.573.275L11.563 0c-.348.012-.699.039-1.044.082l.034.273c.338-.041.68-.068 1.02-.08zM23.221 8.566c.1.326.186.66.256.992l.27-.059c-.072-.34-.16-.682-.262-1.014l-.264.081zM17.621 1.389c-.309-.164-.627-.314-.947-.449l-.107.252c.314.133.625.281.926.439l.128-.242zM15.693.572c-.332-.105-.67-.199-1.01-.277l-.063.268c.332.076.664.168.988.273l.085-.264zM6.674 1.545c.298-.15.606-.291.916-.418L7.486.873c-.317.127-.632.272-.937.428l-.015.008.125.244.015-.008zM23.727 11.588l.275-.01a11.797 11.797 0 0 0-.082-1.045l-.273.033c.041.338.068.682.08 1.022zM13.654.105c-.346-.047-.696-.08-1.043-.098l-.014.273c.339.018.683.051 1.019.098l.038-.273zM9.544.527l-.058-.27c-.34.072-.681.16-1.014.264l.081.262c.325-.099.659-.185.991-.256zM1.921 5.469l.231.15c.185-.285.384-.566.592-.834l-.217-.17c-.213.276-.417.563-.606.854zM.943 7.318l.253.107c.132-.313.28-.625.439-.924l-.243-.128c-.163.307-.314.625-.449.945zM18.223 21.943l.145.234c.295-.186.586-.385.863-.594l-.164-.219c-.272.204-.557.4-.844.579zM21.248 19.219l.217.17c.215-.273.418-.561.607-.854l-.23-.148c-.186.285-.385.564-.594.832zM19.855 20.715l.184.203c.258-.23.51-.479.746-.732l-.201-.188c-.23.248-.477.488-.729.717zM22.359 17.504l.244.129c.162-.307.314-.625.449-.945l-.254-.107a11.27 11.27 0 0 1-.439.923zM23.617 13.629l.273.039c.049-.346.082-.695.102-1.043l-.275-.014c-.018.338-.051.682-.1 1.018zM23.156 15.621l.264.086c.107-.332.201-.67.279-1.01l-.268-.063c-.077.333-.169.665-.275.987zM22.453 6.672c.154.303.297.617.424.932l.256-.104c-.131-.322-.277-.643-.436-.953l-.244.125zM8.296 23.418c.331.107.67.201 1.009.279l.062-.268c-.331-.076-.663-.168-.986-.273l-.085.262zM10.335 23.889c.345.049.696.082 1.043.102l.014-.275c-.339-.018-.682-.051-1.019-.098l-.038.271zM17.326 22.449c-.303.154-.613.297-.926.424l.104.256c.318-.131.639-.275.947-.434l.004-.002-.123-.246-.006.002zM4.613 21.467c.274.213.562.418.854.605l.149-.23c-.285-.184-.565-.385-.833-.592l-.17.217zM12.417 23.725l.009.275c.348-.014.699-.041 1.045-.084l-.035-.271c-.336.041-.68.068-1.019.08zM6.37 22.604c.307.162.625.314.946.449l.107-.254c-.313-.133-.624-.279-.924-.439l-.129.244zM3.083 20.041c.233.258.48.51.734.746l.188-.201c-.249-.23-.49-.477-.717-.729l-.205.184zM14.445 23.475l.059.27c.34-.074.68-.162 1.014-.266l-.082-.262c-.325.099-.659.185-.991.258zM21.18.129A2.689 2.689 0 1 0 21.18 5.507 2.689 2.689 0 1 0 21.18.129zM15.324 15.447c0 .471.314.66.852.66.67 0 1.297-.396 1.297-1.016v-.645c-.23.107-.379.141-1.107.24-.735.109-1.042.306-1.042.761zM12 2.818c-5.07 0-9.18 4.109-9.18 9.18 0 5.068 4.11 9.18 9.18 9.18 5.07 0 9.18-4.111 9.18-9.18 0-5.07-4.11-9.18-9.18-9.18zm-2.487 13.77H5.771v-6.023h.769v5.346h2.974v.677zm4.13 0h-.619v-.67c-.405.57-.811.793-1.446.793-.843 0-1.38-.463-1.38-1.182v-3.271h.686v3c0 .52.347.85.893.85.719 0 1.181-.578 1.181-1.461v-2.389h.686v4.33zm-.53-8.393c0-1.484 1.205-2.689 2.689-2.689s2.688 1.205 2.688 2.689-1.203 2.688-2.688 2.688-2.689-1.203-2.689-2.688zm5.567 7.856v.52c-.223.059-.33.074-.471.074-.34 0-.637-.238-.711-.57-.381.406-.918.637-1.471.637-.877 0-1.422-.463-1.422-1.248 0-.527.256-.916.76-1.123.266-.107.414-.141 1.389-.264.545-.066.719-.191.719-.48v-.182c0-.412-.348-.645-.967-.645-.645 0-.957.24-1.016.77h-.693c.041-1 .686-1.404 1.734-1.404 1.066 0 1.627.412 1.627 1.182v2.412c0 .215.133.338.373.338.041-.002.074-.002.149-.017z"/></g>',makefile:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#427819"/><path fill="#fff" d="m5 4.5 2.3 2.3 2.3-2.3L11 5.9 8.7 8.2l2.4 2.4L9.7 12l-2.4-2.4L5 11.9 3.6 10.5l2.3-2.3-2.3-2.3zm7 6.5h4v1.5h-4zm0 2.8h4v1.5h-4z"/>',node:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EDF7EA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#539E43" d="M11.998,24c-0.321,0-0.641-0.084-0.922-0.247l-2.936-1.737c-0.438-0.245-0.224-0.332-0.08-0.383 c0.585-0.203,0.703-0.25,1.328-0.604c0.065-0.037,0.151-0.023,0.218,0.017l2.256,1.339c0.082,0.045,0.197,0.045,0.272,0l8.795-5.076 c0.082-0.047,0.134-0.141,0.134-0.238V6.921c0-0.099-0.053-0.192-0.137-0.242l-8.791-5.072c-0.081-0.047-0.189-0.047-0.271,0 L3.075,6.68C2.99,6.729,2.936,6.825,2.936,6.921v10.15c0,0.097,0.054,0.189,0.139,0.235l2.409,1.392 c1.307,0.654,2.108-0.116,2.108-0.89V7.787c0-0.142,0.114-0.253,0.256-0.253h1.115c0.139,0,0.255,0.112,0.255,0.253v10.021 c0,1.745-0.95,2.745-2.604,2.745c-0.508,0-0.909,0-2.026-0.551L2.28,18.675c-0.57-0.329-0.922-0.945-0.922-1.604V6.921 c0-0.659,0.353-1.275,0.922-1.603l8.795-5.082c0.557-0.315,1.296-0.315,1.848,0l8.794,5.082c0.57,0.329,0.924,0.944,0.924,1.603 v10.15c0,0.659-0.354,1.273-0.924,1.604l-8.794,5.078C12.643,23.916,12.324,24,11.998,24z M19.099,13.993 c0-1.9-1.284-2.406-3.987-2.763c-2.731-0.361-3.009-0.548-3.009-1.187c0-0.528,0.235-1.233,2.258-1.233 c1.807,0,2.473,0.389,2.747,1.607c0.024,0.115,0.129,0.199,0.247,0.199h1.141c0.071,0,0.138-0.031,0.186-0.081 c0.048-0.054,0.074-0.123,0.067-0.196c-0.177-2.098-1.571-3.076-4.388-3.076c-2.508,0-4.004,1.058-4.004,2.833 c0,1.925,1.488,2.457,3.895,2.695c2.88,0.282,3.103,0.703,3.103,1.269c0,0.983-0.789,1.402-2.642,1.402 c-2.327,0-2.839-0.584-3.011-1.742c-0.02-0.124-0.126-0.215-0.253-0.215h-1.137c-0.141,0-0.254,0.112-0.254,0.253 c0,1.482,0.806,3.248,4.655,3.248C17.501,17.007,19.099,15.91,19.099,13.993z"/></g>',"objective-c":'<rect x="1" y="1" width="18" height="18" rx="4" fill="#438EFF"/><text x="10" y="13.2" text-anchor="middle" font-family="Arial,sans-serif" font-size="7.2" font-weight="800" fill="#fff">OC</text>',perl:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EAF2F7" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#0073A1" d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0m.157 1.103a10.91 10.91 0 0 1 9.214 5.404c-1.962.152-3.156 1.698-5.132 3.553-2.81 2.637-4.562.582-5.288-.898-.447-1.004-.847-2.117-1.544-2.769A.4.4 0 0 1 9.3 6.02l.08-.37a.083.083 0 0 0-.074-.1c-.33-.022-.601.093-.84.368a2.5 2.5 0 0 0-.375-.064c-.863-.093-1.036.345-1.873.345H5.81c-.758 0-1.391.361-1.7.892-.248.424-.257.884.15.93-.126.445.292.62 1.224.192 0 0 .733.421 1.749.421.549 0 .712.087.914.967.486 2.138 2.404 5.655 6.282 5.655l.118.166c.659.934.86 2.113.48 3.184-.307.867-.697 1.531-.697 1.531q.01.178.01.349c0 .81-.175 1.553-.387 2.23a10.91 10.91 0 0 1-11.989-6.342A10.91 10.91 0 0 1 7.608 2.01a10.9 10.9 0 0 1 4.55-.907M7.524 6.47c.288 0 .575.231.477.272a.4.4 0 0 1-.1.02.38.38 0 0 1-.375.327.384.384 0 0 1-.378-.326.4.4 0 0 1-.101-.02c-.098-.042.19-.273.477-.273m10.193 10.49q.05 0 .101.007.326.054.694.096.135.01.269.026a13.4 13.4 0 0 0 2.846-.007 10.9 10.9 0 0 1-2.007 2.705c-.11-.23-.547-1.19-.573-2.196q-.156-.01-.313-.026-.13-.014-.256-.022a18 18 0 0 1-.735-.102h-.003c-.032 0-.06.01-.074.035l-.003.012q-.081.265-.182.544c.428 1.084.652 2.078.652 2.078.14.22.258.432.363.64a11 11 0 0 1-2.168 1.264 11 11 0 0 1-1.205.426 13.3 13.3 0 0 1 1.055-2.531s.678-1.445 1.027-2.564v-.004a.55.55 0 0 1 .512-.38"/></g>',php:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F0EFF8" stroke="#DDDCEB" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#777BB4" d="M7.01 10.207h-.944l-.515 2.648h.838c.556 0 .97-.105 1.242-.314.272-.21.455-.559.55-1.049.092-.47.05-.802-.124-.995-.175-.193-.523-.29-1.047-.29zM12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12c0-3.486-5.373-6.312-12-6.312zm-3.26 7.451c-.261.25-.575.438-.917.551-.336.108-.765.164-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65c.797 0 1.378.209 1.744.628.366.418.476 1.002.33 1.752a2.836 2.836 0 0 1-.305.847c-.143.255-.33.49-.561.703zm4.024.715l.543-2.799c.063-.318.039-.536-.068-.651-.107-.116-.336-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218c.767 0 1.295.134 1.586.401s.378.7.263 1.299l-.572 2.944h-1.389zm7.597-2.265a2.782 2.782 0 0 1-.305.847c-.143.255-.33.49-.561.703a2.44 2.44 0 0 1-.917.551c-.336.108-.765.164-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649c.797 0 1.378.209 1.744.628.366.417.477 1.001.331 1.751zM17.766 10.207h-.943l-.516 2.648h.838c.557 0 .971-.105 1.242-.314.272-.21.455-.559.551-1.049.092-.47.049-.802-.125-.995s-.524-.29-1.047-.29z"/></g>',powershell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#2671BE"/><path fill="#fff" fill-opacity=".16" d="M5.5 4h11l-3.5 12H2z"/><path d="m6.5 6.5 3 3-4.2 3.2m4 1h4" fill="none" stroke="#fff" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>',protobuf:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#4285F4"/><path fill="none" stroke="#fff" stroke-width="1.2" stroke-linejoin="round" d="m10 3.5 6 3.3v6.4l-6 3.3-6-3.3V6.8z"/><path fill="#fff" d="M6.5 6.5h4.4c2.3 0 3.6 1.2 3.6 3.1s-1.3 3.1-3.6 3.1H9v2H6.5zM9 8.4v2.4h1.6c.8 0 1.2-.4 1.2-1.2s-.4-1.2-1.2-1.2z"/>',python:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F2F4F7" stroke="#D5DBE5" stroke-width=".5"/><g transform="matrix(.126 0 0 .126 2.30 2.24)"><path fill="#3776AB" d="M 60.510156,6.3979729 C 55.926503,6.4192712 51.549217,6.8101906 47.697656,7.4917229 C 36.35144,9.4962267 34.291407,13.691825 34.291406,21.429223 L 34.291406,31.647973 L 61.103906,31.647973 L 61.103906,35.054223 L 34.291406,35.054223 L 24.228906,35.054223 C 16.436447,35.054223 9.6131468,39.73794 7.4789058,48.647973 C 5.0170858,58.860939 4.9078907,65.233996 7.4789058,75.897973 C 9.3848341,83.835825 13.936449,89.491721 21.728906,89.491723 L 30.947656,89.491723 L 30.947656,77.241723 C 30.947656,68.391821 38.6048,60.585475 47.697656,60.585473 L 74.478906,60.585473 C 81.933857,60.585473 87.885159,54.447309 87.885156,46.960473 L 87.885156,21.429223 C 87.885156,14.162884 81.755176,8.7044455 74.478906,7.4917229 C 69.872919,6.7249976 65.093809,6.3766746 60.510156,6.3979729 z M 46.010156,14.616723 C 48.779703,14.616723 51.041406,16.915369 51.041406,19.741723 C 51.041404,22.558059 48.779703,24.835473 46.010156,24.835473 C 43.23068,24.835472 40.978906,22.558058 40.978906,19.741723 C 40.978905,16.91537 43.23068,14.616723 46.010156,14.616723 z "/><path fill="#FFD43B" d="M 91.228906,35.054223 L 91.228906,46.960473 C 91.228906,56.191228 83.403011,63.960472 74.478906,63.960473 L 47.697656,63.960473 C 40.361823,63.960473 34.291407,70.238956 34.291406,77.585473 L 34.291406,103.11672 C 34.291406,110.38306 40.609994,114.65704 47.697656,116.74172 C 56.184987,119.23733 64.323893,119.68835 74.478906,116.74172 C 81.229061,114.78733 87.885159,110.85411 87.885156,103.11672 L 87.885156,92.897973 L 61.103906,92.897973 L 61.103906,89.491723 L 87.885156,89.491723 L 101.29141,89.491723 C 109.08387,89.491723 111.98766,84.056315 114.69765,75.897973 C 117.49698,67.499087 117.37787,59.422197 114.69765,48.647973 C 112.77187,40.890532 109.09378,35.054223 101.29141,35.054223 L 91.228906,35.054223 z M 76.166406,99.710473 C 78.945884,99.710476 81.197656,101.98789 81.197656,104.80422 C 81.197654,107.63057 78.945881,109.92922 76.166406,109.92922 C 73.396856,109.92922 71.135156,107.63057 71.135156,104.80422 C 71.135158,101.98789 73.396853,99.710473 76.166406,99.710473 z "/></g>',r:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF2F6" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#276DC3" d="M12 2.746c-6.627 0-12 3.599-12 8.037 0 3.897 4.144 7.144 9.64 7.88V16.26c-2.924-.915-4.925-2.755-4.925-4.877 0-3.035 4.084-5.494 9.12-5.494 5.038 0 8.757 1.683 8.757 5.494 0 1.976-.999 3.379-2.662 4.272.09.066.174.128.258.216.169.149.25.363.372.544 2.128-1.45 3.44-3.437 3.44-5.631 0-4.44-5.373-8.038-12-8.038zm-2.111 4.99v13.516l4.093-.002-.002-5.291h1.1c.225 0 .321.066.549.25.272.22.715.982.715.982l2.164 4.063 4.627-.002-2.864-4.826s-.086-.193-.265-.383a2.22 2.22 0 00-.582-.416c-.422-.214-1.149-.434-1.149-.434s3.578-.264 3.578-3.826c0-3.562-3.744-3.63-3.744-3.63zm4.127 2.93l2.478.002s1.149-.062 1.149 1.127c0 1.165-1.149 1.17-1.149 1.17h-2.478zm1.754 6.119c-.494.049-1.012.079-1.54.088v1.807a16.622 16.622 0 002.37-.473l-.471-.891s-.108-.183-.248-.394c-.039-.054-.08-.098-.111-.137z"/></g>',react:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#20232A"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#61DAFB" d="M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z"/></g>',ruby:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEDEC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#CC342D" d="M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073l-.003.01zM0 19.089zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75l.003-.003z"/></g>',rust:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3E6DD" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#2B2B2B" d="M23.8346 11.7033l-1.0073-.6236a13.7268 13.7268 0 00-.0283-.2936l.8656-.8069a.3483.3483 0 00-.1154-.578l-1.1066-.414a8.4958 8.4958 0 00-.087-.2856l.6904-.9587a.3462.3462 0 00-.2257-.5446l-1.1663-.1894a9.3574 9.3574 0 00-.1407-.2622l.49-1.0761a.3437.3437 0 00-.0274-.3361.3486.3486 0 00-.3006-.154l-1.1845.0416a6.7444 6.7444 0 00-.1873-.2268l.2723-1.153a.3472.3472 0 00-.417-.4172l-1.1532.2724a14.0183 14.0183 0 00-.2278-.1873l.0415-1.1845a.3442.3442 0 00-.49-.328l-1.076.491c-.0872-.0476-.1742-.0952-.2623-.1407l-.1903-1.1673A.3483.3483 0 0016.256.955l-.9597.6905a8.4867 8.4867 0 00-.2855-.086l-.414-1.1066a.3483.3483 0 00-.5781-.1154l-.8069.8666a9.2936 9.2936 0 00-.2936-.0284L12.2946.1683a.3462.3462 0 00-.5892 0l-.6236 1.0073a13.7383 13.7383 0 00-.2936.0284L9.9803.3374a.3462.3462 0 00-.578.1154l-.4141 1.1065c-.0962.0274-.1903.0567-.2855.086L7.744.955a.3483.3483 0 00-.5447.2258L7.009 2.348a9.3574 9.3574 0 00-.2622.1407l-1.0762-.491a.3462.3462 0 00-.49.328l.0416 1.1845a7.9826 7.9826 0 00-.2278.1873L3.8413 3.425a.3472.3472 0 00-.4171.4171l.2713 1.1531c-.0628.075-.1255.1509-.1863.2268l-1.1845-.0415a.3462.3462 0 00-.328.49l.491 1.0761a9.167 9.167 0 00-.1407.2622l-1.1662.1894a.3483.3483 0 00-.2258.5446l.6904.9587a13.303 13.303 0 00-.087.2855l-1.1065.414a.3483.3483 0 00-.1155.5781l.8656.807a9.2936 9.2936 0 00-.0283.2935l-1.0073.6236a.3442.3442 0 000 .5892l1.0073.6236c.008.0982.0182.1964.0283.2936l-.8656.8079a.3462.3462 0 00.1155.578l1.1065.4141c.0273.0962.0567.1914.087.2855l-.6904.9587a.3452.3452 0 00.2268.5447l1.1662.1893c.0456.088.0922.1751.1408.2622l-.491 1.0762a.3462.3462 0 00.328.49l1.1834-.0415c.0618.0769.1235.1528.1873.2277l-.2713 1.1541a.3462.3462 0 00.4171.4161l1.153-.2713c.075.0638.151.1255.2279.1863l-.0415 1.1845a.3442.3442 0 00.49.327l1.0761-.49c.087.0486.1741.0951.2622.1407l.1903 1.1662a.3483.3483 0 00.5447.2268l.9587-.6904a9.299 9.299 0 00.2855.087l.414 1.1066a.3452.3452 0 00.5781.1154l.8079-.8656c.0972.0111.1954.0203.2936.0294l.6236 1.0073a.3472.3472 0 00.5892 0l.6236-1.0073c.0982-.0091.1964-.0183.2936-.0294l.8069.8656a.3483.3483 0 00.578-.1154l.4141-1.1066a8.4626 8.4626 0 00.2855-.087l.9587.6904a.3452.3452 0 00.5447-.2268l.1903-1.1662c.088-.0456.1751-.0931.2622-.1407l1.0762.49a.3472.3472 0 00.49-.327l-.0415-1.1845a6.7267 6.7267 0 00.2267-.1863l1.1531.2713a.3472.3472 0 00.4171-.416l-.2713-1.1542c.0628-.0749.1255-.1508.1863-.2278l1.1845.0415a.3442.3442 0 00.328-.49l-.49-1.076c.0475-.0872.0951-.1742.1407-.2623l1.1662-.1893a.3483.3483 0 00.2258-.5447l-.6904-.9587.087-.2855 1.1066-.414a.3462.3462 0 00.1154-.5781l-.8656-.8079c.0101-.0972.0202-.1954.0283-.2936l1.0073-.6236a.3442.3442 0 000-.5892zm-6.7413 8.3551a.7138.7138 0 01.2986-1.396.714.714 0 11-.2997 1.396zm-.3422-2.3142a.649.649 0 00-.7715.5l-.3573 1.6685c-1.1035.501-2.3285.7795-3.6193.7795a8.7368 8.7368 0 01-3.6951-.814l-.3574-1.6684a.648.648 0 00-.7714-.499l-1.473.3158a8.7216 8.7216 0 01-.7613-.898h7.1676c.081 0 .1356-.0141.1356-.088v-2.536c0-.074-.0536-.0881-.1356-.0881h-2.0966v-1.6077h2.2677c.2065 0 1.1065.0587 1.394 1.2088.0901.3533.2875 1.5044.4232 1.8729.1346.413.6833 1.2381 1.2685 1.2381h3.5716a.7492.7492 0 00.1296-.0131 8.7874 8.7874 0 01-.8119.9526zM6.8369 20.024a.714.714 0 11-.2997-1.396.714.714 0 01.2997 1.396zM4.1177 8.9972a.7137.7137 0 11-1.304.5791.7137.7137 0 011.304-.579zm-.8352 1.9813l1.5347-.6824a.65.65 0 00.33-.8585l-.3158-.7147h1.2432v5.6025H3.5669a8.7753 8.7753 0 01-.2834-3.348zm6.7343-.5437V8.7836h2.9601c.153 0 1.0792.1772 1.0792.8697 0 .575-.7107.7815-1.2948.7815zm10.7574 1.4862c0 .2187-.008.4363-.0243.651h-.9c-.09 0-.1265.0586-.1265.1477v.413c0 .973-.5487 1.1846-1.0296 1.2382-.4576.0517-.9648-.1913-1.0275-.4717-.2704-1.5186-.7198-1.8436-1.4305-2.4034.8817-.5599 1.799-1.386 1.799-2.4915 0-1.1936-.819-1.9458-1.3769-2.3153-.7825-.5163-1.6491-.6195-1.883-.6195H5.4682a8.7651 8.7651 0 014.907-2.7699l1.0974 1.151a.648.648 0 00.9182.0213l1.227-1.1743a8.7753 8.7753 0 016.0044 4.2762l-.8403 1.8982a.652.652 0 00.33.8585l1.6178.7188c.0283.2875.0425.577.0425.8717zm-9.3006-9.5993a.7128.7128 0 11.984 1.0316.7137.7137 0 01-.984-1.0316zm8.3389 6.71a.7107.7107 0 01.9395-.3625.7137.7137 0 11-.9405.3635z"/></g>',scala:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCECEB" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#DC322F" d="M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912V24zM4.589 16.365c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912v5.817zM4.589 8.729c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912v5.817z"/></g>',shell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#303642"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#7EE787" d="M21.038,4.9l-7.577-4.498C13.009,0.134,12.505,0,12,0c-0.505,0-1.009,0.134-1.462,0.403L2.961,4.9 C2.057,5.437,1.5,6.429,1.5,7.503v8.995c0,1.073,0.557,2.066,1.462,2.603l7.577,4.497C10.991,23.866,11.495,24,12,24 c0.505,0,1.009-0.134,1.461-0.402l7.577-4.497c0.904-0.537,1.462-1.529,1.462-2.603V7.503C22.5,6.429,21.943,5.437,21.038,4.9z M15.17,18.946l0.013,0.646c0.001,0.078-0.05,0.167-0.111,0.198l-0.383,0.22c-0.061,0.031-0.111-0.007-0.112-0.085L14.57,19.29 c-0.328,0.136-0.66,0.169-0.872,0.084c-0.04-0.016-0.057-0.075-0.041-0.142l0.139-0.584c0.011-0.046,0.036-0.092,0.069-0.121 c0.012-0.011,0.024-0.02,0.036-0.026c0.022-0.011,0.043-0.014,0.062-0.006c0.229,0.077,0.521,0.041,0.802-0.101 c0.357-0.181,0.596-0.545,0.592-0.907c-0.003-0.328-0.181-0.465-0.613-0.468c-0.55,0.001-1.064-0.107-1.072-0.917 c-0.007-0.667,0.34-1.361,0.889-1.8l-0.007-0.652c-0.001-0.08,0.048-0.168,0.111-0.2l0.37-0.236 c0.061-0.031,0.111,0.007,0.112,0.087l0.006,0.653c0.273-0.109,0.511-0.138,0.726-0.088c0.047,0.012,0.067,0.076,0.048,0.151 l-0.144,0.578c-0.011,0.044-0.036,0.088-0.065,0.116c-0.012,0.012-0.025,0.021-0.038,0.028c-0.019,0.01-0.038,0.013-0.057,0.009 c-0.098-0.022-0.332-0.073-0.699,0.113c-0.385,0.195-0.52,0.53-0.517,0.778c0.003,0.297,0.155,0.387,0.681,0.396 c0.7,0.012,1.003,0.318,1.01,1.023C16.105,17.747,15.736,18.491,15.17,18.946z M19.143,17.859c0,0.06-0.008,0.116-0.058,0.145 l-1.916,1.164c-0.05,0.029-0.09,0.004-0.09-0.056v-0.494c0-0.06,0.037-0.093,0.087-0.122l1.887-1.129 c0.05-0.029,0.09-0.004,0.09,0.056V17.859z M20.459,6.797l-7.168,4.427c-0.894,0.523-1.553,1.109-1.553,2.187v8.833 c0,0.645,0.26,1.063,0.66,1.184c-0.131,0.023-0.264,0.039-0.398,0.039c-0.42,0-0.833-0.114-1.197-0.33L3.226,18.64 c-0.741-0.44-1.201-1.261-1.201-2.142V7.503c0-0.881,0.46-1.702,1.201-2.142l7.577-4.498c0.363-0.216,0.777-0.33,1.197-0.33 c0.419,0,0.833,0.114,1.197,0.33l7.577,4.498c0.624,0.371,1.046,1.013,1.164,1.732C21.686,6.557,21.12,6.411,20.459,6.797z"/></g>',solidity:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F0F0F0" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#363636" d="M4.409 6.608L7.981.255l3.572 6.353H4.409zM8.411 0l3.569 6.348L15.552 0H8.411zm4.036 17.392l3.572 6.354 3.575-6.354h-7.147zm-.608-10.284h-7.43l3.715 6.605 3.715-6.605zm.428-.25h7.428L15.982.255l-3.715 6.603zM15.589 24l-3.569-6.349L8.448 24h7.141zm-3.856-6.858H4.306l3.712 6.603 3.715-6.603zm.428-.25h7.433l-3.718-6.605-3.715 6.605z"/></g>',sql:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#336791"/><ellipse cx="10" cy="5.5" rx="5.8" ry="2.1" fill="#fff"/><path fill="#fff" fill-opacity=".88" d="M4.2 5.5v8.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1V5.5c0 1.2-2.6 2.1-5.8 2.1s-5.8-.9-5.8-2.1z"/><path d="M4.2 9.2c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1M4.2 12.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1" fill="none" stroke="#336791" stroke-opacity=".7" stroke-width=".7"/>',svelte:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF0EB" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#FF3E00" d="M10.354 21.125a4.44 4.44 0 0 1-4.765-1.767 4.109 4.109 0 0 1-.703-3.107 3.898 3.898 0 0 1 .134-.522l.105-.321.287.21a7.21 7.21 0 0 0 2.186 1.092l.208.063-.02.208a1.253 1.253 0 0 0 .226.83 1.337 1.337 0 0 0 1.435.533 1.231 1.231 0 0 0 .343-.15l5.59-3.562a1.164 1.164 0 0 0 .524-.778 1.242 1.242 0 0 0-.211-.937 1.338 1.338 0 0 0-1.435-.533 1.23 1.23 0 0 0-.343.15l-2.133 1.36a4.078 4.078 0 0 1-1.135.499 4.44 4.44 0 0 1-4.765-1.766 4.108 4.108 0 0 1-.702-3.108 3.855 3.855 0 0 1 1.742-2.582l5.589-3.563a4.072 4.072 0 0 1 1.135-.499 4.44 4.44 0 0 1 4.765 1.767 4.109 4.109 0 0 1 .703 3.107 3.943 3.943 0 0 1-.134.522l-.105.321-.286-.21a7.204 7.204 0 0 0-2.187-1.093l-.208-.063.02-.207a1.255 1.255 0 0 0-.226-.831 1.337 1.337 0 0 0-1.435-.532 1.231 1.231 0 0 0-.343.15L8.62 9.368a1.162 1.162 0 0 0-.524.778 1.24 1.24 0 0 0 .211.937 1.338 1.338 0 0 0 1.435.533 1.235 1.235 0 0 0 .344-.151l2.132-1.36a4.067 4.067 0 0 1 1.135-.498 4.44 4.44 0 0 1 4.765 1.766 4.108 4.108 0 0 1 .702 3.108 3.857 3.857 0 0 1-1.742 2.583l-5.589 3.562a4.072 4.072 0 0 1-1.135.499m10.358-17.95C18.484-.015 14.082-.96 10.9 1.068L5.31 4.63a6.412 6.412 0 0 0-2.896 4.295 6.753 6.753 0 0 0 .666 4.336 6.43 6.43 0 0 0-.96 2.396 6.833 6.833 0 0 0 1.168 5.167c2.229 3.19 6.63 4.135 9.812 2.108l5.59-3.562a6.41 6.41 0 0 0 2.896-4.295 6.756 6.756 0 0 0-.665-4.336 6.429 6.429 0 0 0 .958-2.396 6.831 6.831 0 0 0-1.167-5.168Z"/></g>',swift:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#f05138" d="M126.33 34.06a39.32 39.32 0 00-.79-7.83 28.78 28.78 0 00-2.65-7.58 28.84 28.84 0 00-4.76-6.32 23.42 23.42 0 00-6.62-4.55 27.27 27.27 0 00-7.68-2.53c-2.65-.51-5.56-.51-8.21-.76H30.25a45.46 45.46 0 00-6.09.51 21.82 21.82 0 00-5.82 1.52c-.53.25-1.32.51-1.85.76a33.82 33.82 0 00-5 3.28c-.53.51-1.06.76-1.59 1.26a22.41 22.41 0 00-4.76 6.32 23.61 23.61 0 00-2.65 7.58 78.5 78.5 0 00-.79 7.83v60.39a39.32 39.32 0 00.79 7.83 28.78 28.78 0 002.65 7.58 28.84 28.84 0 004.76 6.32 23.42 23.42 0 006.62 4.55 27.27 27.27 0 007.68 2.53c2.65.51 5.56.51 8.21.76h63.22a45.08 45.08 0 008.21-.76 27.27 27.27 0 007.68-2.53 30.13 30.13 0 006.62-4.55 22.41 22.41 0 004.76-6.32 23.61 23.61 0 002.65-7.58 78.49 78.49 0 00.79-7.83V34.06z"/><path fill="#fefefe" d="M85 96.5c-11.11 6.13-26.38 6.76-41.75.47A64.53 64.53 0 0113.84 73a50 50 0 0010.85 6.32c15.87 7.1 31.73 6.61 42.9 0-15.9-11.66-29.4-26.82-39.46-39.2a43.47 43.47 0 01-5.29-6.82c12.16 10.61 31.5 24 38.38 27.79a271.77 271.77 0 01-27-32.34 266.8 266.8 0 0044.47 34.87c.71.38 1.26.7 1.7 1a32.7 32.7 0 001.21-3.51c3.71-12.89-.53-27.54-9.79-39.67C93.25 33.81 106 57.05 100.66 76.51c-.14.53-.29 1-.45 1.55l.19.22c10.59 12.63 7.68 26 6.35 23.5C101 91 90.37 94.33 85 96.5z"/></svg></g>',toml:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F6EEEA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#9C4121" d="M.014 0h5.34v2.652H2.888v18.681h2.468V24H.015V0Zm17.622 5.049v2.78h-4.274v12.935h-3.008V7.83H6.059V5.05h11.577ZM23.986 24h-5.34v-2.652h2.467V2.667h-2.468V0h5.34v24Z"/></g>',typescript:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#fff" d="M22.67 47h99.67v73.67H22.67z"/><path data-name="original" fill="#007acc" d="M1.5 63.91v62.5h125v-125H1.5zm100.73-5a15.56 15.56 0 017.82 4.5 20.58 20.58 0 013 4c0 .16-5.4 3.81-8.69 5.85-.12.08-.6-.44-1.13-1.23a7.09 7.09 0 00-5.87-3.53c-3.79-.26-6.23 1.73-6.21 5a4.58 4.58 0 00.54 2.34c.83 1.73 2.38 2.76 7.24 4.86 8.95 3.85 12.78 6.39 15.16 10 2.66 4 3.25 10.46 1.45 15.24-2 5.2-6.9 8.73-13.83 9.9a38.32 38.32 0 01-9.52-.1 23 23 0 01-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9.34 9.34 0 011.15-.73L82 101l3.59-2.08.75 1.11a16.78 16.78 0 004.74 4.54c4 2.1 9.46 1.81 12.16-.62a5.43 5.43 0 00.69-6.92c-1-1.39-3-2.56-8.59-5-6.45-2.78-9.23-4.5-11.77-7.24a16.48 16.48 0 01-3.43-6.25 25 25 0 01-.22-8c1.33-6.23 6-10.58 12.82-11.87a31.66 31.66 0 019.49.26zm-29.34 5.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49.19 49.19 0 01.12-5.17C29.08 59 39 59 51 59h21.83z"/></svg></g>',vue:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECF8F3" stroke="#D5EAE0" stroke-width=".5"/><path fill="#41B883" d="M3.5 5h3.2l3.3 5.7L13.3 5h3.2L10 16z"/><path fill="#35495E" d="M6.7 5H9l1 1.8L11 5h2.3L10 10.7z"/>',wasm:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#654ff0" d="M.223.222v127.555h127.555V.222H78.594c.014.227.036.455.036.686 0 8.08-6.55 14.626-14.63 14.626-8.078 0-14.625-6.546-14.625-14.626 0-.231.022-.459.031-.686zm29.595 68.746h8.445l5.782 30.738h.107l6.968-30.738h7.908l6.265 31.119h.106l6.597-31.119h8.284l-10.765 45.156H61.12l-6.213-30.738H54.8l-6.7 30.738h-8.557zm59.994 0h13.334l13.284 45.156h-8.77l-2.879-10.051H89.59l-2.212 10.05h-8.5ZM94.895 80.1l-3.684 16.57h11.473L98.448 80.1Z"/></svg></g>',xml:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EAF3FA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#005FAD" d="M4.345 7.053c-.495.02-.44.725-.536 1.081-.157.583-.3 1.325-.347 1.926-.046.585-.008 1.127.066 1.719.058.46.191.767.07.89-.108.11-3.216 2.962-3.466 3.123-.26.169-.08.584.069.817.157.246.23.373.557.33.306-.042.405-.409.583-.606.228-.252 2.421-2.401 2.616-2.401.077.544.367 1.064.67 1.513.15.222.314.439.505.629.175.175.4.317.587.45.44.024.795-.301.35-.67-.17-.14-.735-.971-.927-1.43-.18-.43-.574-1.076-.146-1.428 1.494-1.23 3.72-2.262 4.247-2.313-.257 1.024-1.356 3.048-1.757 4.012-.14.333-.231.732-.185 1.094.055.434.383.774.587.806.417-.023.7-.387.946-.645.343-.357.634-.685.974-1.043.339-.356.672-.731.971-1.07.184-.207.674-.713.963-.713-.11.693-.716 1.552-.839 2.254-.125.716.531 1.596 1.217.956.623-.58 1.255-1.129 1.867-1.72.217-.208.175.037.224.242.05.208.176.91.275 1.1.18.346.496.592.897.598.362.006.727-.161.982-.414.19-.187.513-.699.154-.832-.23-.086-.217-.176-.495-.129-.172.029-.362.074-.507.179-.367-.003-.381-.89-.324-1.161.068-.327.207-.659.185-.998-.026-.418-.478-.69-.582-.72-.156-.076-.253.023-.458.212-.173.161-.363.332-.535.495-.34.322-.768.813-.942.813.305-.705.708-2.652-.643-2.48-.563.071-.95.377-1.394.71-.29.28-.683.641-.936.87-.236.216-.371.404-.496.404.132-.747 1.685-3.167.885-3.853-.158-.136-.313-.325-.515-.349a4.637 4.637 0 0 0-.833.19c-.565.18-2.78 1.28-4.19 2.289-.131.094-.214-.085-.231-.29-.087-1.058.199-2.19.496-3.188.208-.696-.557-1.225-.659-1.249zm18.177.874c-.166.364-.2.894-.248 1.319a24.307 24.307 0 0 0-1.246-.115c.238.296.691.588 1.056.724-.048.366-.434.67-.599 1.021.458-.127.676-.47.989-.821.362.22.791.627 1.26.636-.177-.376-.334-.695-.658-.966.269-.175.717-.362.924-.633-.345-.074-.718-.093-1.052-.015-.258-.284-.3-.772-.426-1.15zm-2.92.079c-.23.02-.613.49-.832.773-.807 1.039-1.542 3.15-1.661 3.542-.363 1.195-.502 2.672.28 3.722.456.612 1.258.66 2.041.434.405-.116.812-.406.95-.723.114-.263.174-.753-.404-.38-.224.145-.634.304-1.37.291-.247-.004-.651-.357-.76-.722-.192-.595-.11-1.393-.11-1.393.167-1.028.642-2.146 1.061-3.076.163-.36.658-1.259.842-1.546 0 0 .239-.373.131-.77-.031-.116-.091-.16-.168-.152zm3.072 2.976c-.12.264-.144.648-.18.956-.274-.031-.63-.066-.904-.083.172.215.501.426.766.525-.034.265-.314.486-.434.741.332-.092.49-.34.717-.596.263.16.575.456.914.462-.127-.273-.242-.504-.477-.701.195-.127.52-.262.67-.46a1.77 1.77 0 0 0-.763-.01c-.187-.206-.217-.56-.309-.834zm-1.123 2.422c-.083.183-.1.449-.125.662a12.6 12.6 0 0 0-.624-.058c.119.148.346.295.53.363-.025.184-.219.336-.301.513.23-.064.339-.236.496-.413.181.11.397.316.632.32-.088-.19-.168-.349-.33-.485.135-.087.36-.181.463-.317a1.22 1.22 0 0 0-.527-.008c-.13-.142-.151-.387-.214-.576z"/></g>',yaml:`<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEEEF" stroke="#F0D8DB" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet">
133
+ <polygon transform="matrix(.24805 0 0 .24805 .5 5.6287)" points="87.702 137.67 0 0 63.25 0 119.02 88.646 175.24 0 235.79 0 143.98 137.67 143.98 224.95 87.702 224.95"/>
134
+ <path d="m82.428 49.149h-25.266l-5.1388 12.408h-11.188l23.659-55.798h11.444l22.699 55.798h-11.956l-4.2525-12.408zm-4.197-11.14-7.7455-20.476-8.6412 20.476z" fill="#cb171e"/>
135
+ <polygon transform="matrix(.24805 0 0 .24805 .5 5.6287)" points="87.701 250.18 87.701 470.65 135 470.65 135 318.57 184.51 420.79 221.74 420.79 272.94 314.98 272.94 470.6 318.32 470.6 318.32 250.18 256.36 250.18 201.38 349.88 149.02 250.18"/>
136
+ <polygon transform="matrix(.24805 0 0 .24805 .5 5.6287)" points="512 422.74 512 422.74 395.64 422.74 395.64 250.12 347.44 250.12 347.44 469.65 512 469.65"/>
137
+ </svg>`,zig:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF4DF" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#E18A00" d="m23.53 1.02-7.686 3.45h-7.06l-2.98 3.452h7.173L.47 22.98l7.681-3.607h7.065v-.002l2.978-3.45-7.148-.001 12.482-14.9zM0 4.47v14.901h1.883l2.98-3.45H3.451v-8h.942l2.824-3.45H0zm22.117 0-2.98 3.608h1.412v7.844h-.942l-2.98 3.45H24V4.47h-1.883z"/></g>'});function rT({type:e,size:t=20,className:n}){const r=`dsh-code-icon-${k.useId().replaceAll(":","")}`,s=nT[e].replaceAll(tT,r);return c.jsx("svg",{width:t,height:t,className:n,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,dangerouslySetInnerHTML:{__html:s}})}const oT=["angular","c","clojure","cmake","cpp","csharp","css","dart","docker","elixir","env","erlang","flutter","git","go","graphql","haskell","ini","java","javascript","json","kotlin","lua","makefile","node","objective-c","perl","php","powershell","protobuf","python","r","react","ruby","rust","scala","shell","solidity","sql","svelte","swift","toml","typescript","vue","wasm","xml","yaml","zig"],iT=new Set(oT),sT={".bash_profile":"shell",".bashrc":"shell",".env":"env",".gitattributes":"git",".gitconfig":"git",".gitignore":"git",".gitmodules":"git",".mailmap":"git",".profile":"shell",".zprofile":"shell",".zshrc":"shell",bsdmakefile:"makefile","cmakelists.txt":"cmake",commit_editmsg:"git","compose.yaml":"docker","compose.yml":"docker","docker-compose.yaml":"docker","docker-compose.yml":"docker",dockerfile:"docker",gemfile:"ruby",gnumakefile:"makefile",guardfile:"ruby",makefile:"makefile","npm-shrinkwrap.json":"node","package-lock.json":"node","package.json":"node",podfile:"ruby",rakefile:"ruby"},aT=[["dockerfile.","docker"],[".env.","env"]],lT=[[".component.ts","angular"],[".component.html","angular"],[".directive.ts","angular"],[".service.ts","angular"],[".module.ts","angular"],[".pipe.ts","angular"],[".guard.ts","angular"],[".interceptor.ts","angular"],[".dockerfile","docker"]],cT={bash:"shell",c:"c","c++":"cpp",cc:"cpp",cfg:"ini",cjs:"javascript",clj:"clojure",cljc:"clojure",cljs:"clojure",cmake:"cmake",cpp:"cpp",cs:"csharp",csh:"shell",css:"css",csx:"csharp",cts:"typescript",cxx:"cpp",dart:"dart",dtd:"xml",edn:"clojure",env:"env",erl:"erlang",es6:"javascript",escript:"erlang",ex:"elixir",exs:"elixir",fish:"shell",gemspec:"ruby",go:"go",gql:"graphql",graphql:"graphql",h:"c","h++":"cpp",hh:"cpp",hpp:"cpp",hrl:"erlang",hs:"haskell",hxx:"cpp",ini:"ini",ipp:"cpp",java:"java",js:"javascript",json:"json",json5:"json",jsonc:"json",jsx:"react",ksh:"shell",kt:"kotlin",kts:"kotlin",lhs:"haskell",lua:"lua",m:"objective-c",mak:"makefile",mjs:"javascript",mk:"makefile",mm:"objective-c",mts:"typescript",node:"node",pch:"objective-c",php:"php",php3:"php",php4:"php",php5:"php",phps:"php",phtml:"php",pl:"perl",plist:"xml",pm:"perl",pod:"perl",proto:"protobuf",ps1:"powershell",psd1:"powershell",psm1:"powershell",py:"python",pyi:"python",pyw:"python",pyx:"python",r:"r",rake:"ruby",rb:"ruby",rmd:"r",rs:"rust",sc:"scala",scala:"scala",sh:"shell",sol:"solidity",sql:"sql",svelte:"svelte",swift:"swift",t:"perl",tcsh:"shell",toml:"toml",tpp:"cpp",ts:"typescript",tsx:"react",vue:"vue",wasm:"wasm",wast:"wasm",wat:"wasm",xml:"xml",xsd:"xml",xsl:"xml",xslt:"xml",yaml:"yaml",yml:"yaml",zig:"zig",zsh:"shell"},uT=new Set(["ts","tsx","js","jsx","mjs","cjs","cts","mts","css","scss","sass","less","html","htm","vue","svelte","astro","json","jsonc","json5","yaml","yml","toml","xml","ini","env","sh","bash","zsh","fish","ps1","bat","cmd","py","pyi","rb","rs","go","java","kt","kts","c","cc","cpp","cxx","h","hh","hpp","cs","php","swift","sql","proto","graphql","gql","lua","r","pl","scala","clj","cljs","ex","exs","erl","hs","dart"]);function dT(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function Fh(e){return iT.has(e)}function fT(e){return uT.has(e.toLowerCase())}function hT(e,t,n){const r=sT[e];if(r!==void 0)return r;for(const[s,l]of aT)if(e.startsWith(s))return l;for(const[s,l]of lT)if(e.endsWith(s))return l;return t==="dart"&&n!==void 0&&Object.entries(n.files).find(([l])=>dT(l).toLowerCase()==="pubspec.yaml")?.[1]?.includes("flutter:")===!0?"flutter":cT[t]??null}const pT="_icon_1wejo_1",mT="_code_1wejo_8",gT="_excel_1wejo_12",vT="_folder_1wejo_16",wT="_html_1wejo_20",yT="_image_1wejo_24",xT="_markdown_1wejo_28",_T="_other_1wejo_32",CT="_pdf_1wejo_36",bT="_ppt_1wejo_40",kT="_video_1wejo_44",ST="_word_1wejo_48",Y5={icon:pT,code:mT,excel:gT,folder:vT,html:wT,image:yT,markdown:xT,other:_T,pdf:CT,ppt:bT,video:kT,word:ST},jT={scss:"code",sass:"code",less:"code",vue:"code",svelte:"code",astro:"code",bat:"code",cmd:"code",csv:"excel",tsv:"excel",html:"html",htm:"html",png:"image",jpg:"image",jpeg:"image",gif:"image",svg:"image",webp:"image",avif:"image",bmp:"image",ico:"image",tif:"image",tiff:"image",heic:"image",heif:"image",md:"markdown",mdx:"markdown",markdown:"markdown",pdf:"pdf",ppt:"ppt",pptx:"ppt",key:"ppt",mp4:"video",mov:"video",m4v:"video",webm:"video",mkv:"video",avi:"video",mpg:"video",mpeg:"video",doc:"word",docx:"word",rtf:"word",odt:"word",pages:"word",xls:"excel",xlsx:"excel",xlsm:"excel",xlsb:"excel",xlt:"excel",xltx:"excel",xltm:"excel",ods:"excel",ots:"excel",fods:"excel",numbers:"excel"},ET={changelog:"markdown",contributing:"markdown",readme:"markdown"};function Dh(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function k2(e){const t=Dh(e),n=t.lastIndexOf(".");return n<0?"":t.slice(n+1)}function yl(e,t){const n=Dh(e).toLowerCase(),r=k2(n).toLowerCase();return hT(n,r,t)??ET[n]??jT[r]??"other"}const MT="M8.48924 28H19.5108C21.6479 28 22.7165 28 23.5594 27.6509C24.6833 27.1853 25.5762 26.2924 26.0417 25.1685C26.3909 24.3256 26.3909 23.257 26.3909 21.1199V8.79443C26.3909 8.32877 26.3909 8.09593 26.3471 7.87507C26.2887 7.58058 26.173 7.30042 26.0067 7.05048C25.882 6.86303 25.7177 6.69799 25.3893 6.36792L20.0611 1.01354C19.7304 0.681235 19.5651 0.515081 19.3769 0.38885C19.126 0.220541 18.8443 0.103463 18.5481 0.0443412C18.3259 0 18.0915 0 17.6226 0H8.48924C6.35209 0 5.28351 0 4.4406 0.349145C3.31672 0.814671 2.4238 1.70759 1.95828 2.83147C1.60913 3.67438 1.60913 4.74296 1.60913 6.88011V21.1199C1.60913 23.257 1.60913 24.3256 1.95828 25.1685C2.4238 26.2924 3.31672 27.1853 4.4406 27.6509C5.28351 28 6.35209 28 8.48924 28Z",J5="M26.3909 7.37445L19.0525 0V3.77445C19.0525 4.89271 19.0525 5.45184 19.2352 5.89289C19.4788 6.48096 19.946 6.94818 20.5341 7.19176C20.9751 7.37445 21.5342 7.37445 22.6525 7.37445H26.3909Z",Du="translate(14 16) scale(1.12) translate(-14 -16)",va="translate(14 16) scale(1.22) translate(-14 -16)",IT="translate(14 13.0693) scale(1.12) translate(-14 -13.0693)";function Wn({size:e,className:t,children:n,markTransform:r,muted:s=!1}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[c.jsx("path",{d:MT,fill:"currentColor"}),s?c.jsx("path",{d:J5,fill:"var(--dsw-static-neutral-400)"}):c.jsx("path",{d:J5,fill:"var(--dsw-static-neutral-00)",fillOpacity:".7"}),n!==void 0&&c.jsx("g",{color:"var(--dsw-static-neutral-00)","data-file-type-mark":!0,transform:r,children:n})]})}function OT({size:e,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[c.jsx("path",{d:"M2.80078 10.2112C2.80078 9.52802 2.80078 9.18642 2.85314 8.866C2.98648 8.05 3.36942 7.29538 3.94925 6.70595C4.17694 6.4745 4.45264 6.2728 5.00404 5.86939C5.29197 5.65874 5.43594 5.55342 5.58711 5.46632C5.97089 5.24521 6.39638 5.10618 6.83667 5.05803C7.01011 5.03906 7.18849 5.03906 7.54524 5.03906H11.6543C12.4669 5.03906 12.8732 5.03906 13.2599 5.13697C13.3882 5.16945 13.5143 5.20986 13.6375 5.25795C14.0091 5.40294 14.3398 5.63902 15.0012 6.1112L16.2632 7.01224C16.5526 7.21881 16.6972 7.3221 16.8598 7.38553C16.9137 7.40657 16.9689 7.42425 17.025 7.43846C17.1942 7.4813 17.372 7.4813 17.7275 7.4813H19.8008C22.0506 7.4813 23.1755 7.4813 23.9641 8.05425C24.2188 8.23928 24.4428 8.46326 24.6278 8.71794C25.2008 9.50654 25.2008 10.6315 25.2008 12.8813V18.7283C25.2008 20.9781 25.2008 22.1031 24.6278 22.8917C24.4428 23.1463 24.2188 23.3703 23.9641 23.5554C23.1755 24.1283 22.0506 24.1283 19.8008 24.1283H8.20077C5.95094 24.1283 4.82602 24.1283 4.03743 23.5554C3.78274 23.3703 3.55877 23.1463 3.37373 22.8917C2.80078 22.1031 2.80078 20.9781 2.80078 18.7283V10.2112Z",fill:"currentColor"}),c.jsx("g",{color:"var(--dsw-static-neutral-00)","data-file-type-mark":!0,transform:IT,children:c.jsx("path",{d:"M6.31445 13.0693H21.6893",stroke:"currentColor",strokeWidth:"2.38"})})]})}function LT({size:e,className:t}){return c.jsx(Wn,{size:e,className:t,children:c.jsx("path",{d:"M14 11.5H11.4C10.5599 11.5 10.1399 11.5 9.81901 11.6635C9.53677 11.8073 9.3073 12.0368 9.16349 12.319C9 12.6399 9 13.0599 9 13.9V16.5M14 11.5H16.6C17.4401 11.5 17.8601 11.5 18.181 11.6635C18.4632 11.8073 18.6927 12.0368 18.8365 12.319C19 12.6399 19 13.0599 19 13.9V16.5M14 11.5V21.5M14 21.5H16.6C17.4401 21.5 17.8601 21.5 18.181 21.3365C18.4632 21.1927 18.6927 20.9632 18.8365 20.681C19 20.3601 19 19.9401 19 19.1V16.5M14 21.5H11.4C10.5599 21.5 10.1399 21.5 9.81901 21.3365C9.53677 21.1927 9.3073 20.9632 9.16349 20.681C9 20.3601 9 19.9401 9 19.1V16.5M19 16.5H9",stroke:"currentColor",strokeWidth:"1.2"})})}function TT(e,t,n){switch(e){case"code":return c.jsxs(Wn,{size:t,className:n,children:[c.jsx("path",{d:"M10.0053 13.126L7.0236 16.3788C6.96052 16.4476 6.96052 16.5532 7.0236 16.622L10.0053 19.8748",stroke:"currentColor",strokeWidth:"1.35"}),c.jsx("path",{d:"M17.9941 13.126L20.9759 16.3788C21.039 16.4476 21.039 16.5532 20.9759 16.622L17.9941 19.8748",stroke:"currentColor",strokeWidth:"1.35"}),c.jsx("path",{d:"M15.2652 12.957L12.7344 20.0433",stroke:"currentColor",strokeWidth:"1.35"})]});case"excel":return c.jsx(LT,{size:t,className:n});case"folder":return c.jsx(OT,{size:t,className:n});case"html":return c.jsx(Wn,{size:t,className:n,markTransform:Du,children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9994 9.68298C17.212 9.68298 19.8167 12.2872 19.8168 15.4997C19.8168 18.7123 17.2121 21.3171 13.9994 21.3171C10.7869 21.3169 8.18274 18.7122 8.18274 15.4997C8.1829 12.2873 10.787 9.68315 13.9994 9.68298ZM9.26213 16.0247C9.47025 17.9241 10.7936 19.4876 12.5639 20.0463C12.42 19.7977 12.2952 19.5152 12.1879 19.2116C11.885 18.3541 11.693 17.2434 11.6424 16.0247H9.26213ZM16.3565 16.0247C16.3059 17.2434 16.1145 18.3542 15.8116 19.2116C15.7044 19.5151 15.5788 19.7971 15.435 20.0456C17.2054 19.487 18.5293 17.9242 18.7374 16.0247H16.3565ZM12.6938 16.0247C12.7439 17.1459 12.9212 18.1334 13.1784 18.8616C13.332 19.2962 13.503 19.61 13.6686 19.805C13.834 19.9996 13.9473 20.0256 13.9994 20.0258C14.0514 20.0258 14.1651 20.0002 14.331 19.805C14.4966 19.61 14.6676 19.2962 14.8211 18.8616C15.0784 18.1334 15.2557 17.1459 15.3058 16.0247H12.6938ZM13.9994 10.733C13.9473 10.7331 13.834 10.7598 13.6686 10.9545C13.503 11.1494 13.3319 11.4633 13.1784 11.8978C12.903 12.6777 12.7188 13.7545 12.6849 14.9747H15.3147C15.2808 13.7545 15.0966 12.6777 14.8211 11.8978C14.6676 11.4633 14.4965 11.1494 14.331 10.9545C14.1651 10.7593 14.0514 10.733 13.9994 10.733ZM15.5888 11.0051C15.6701 11.1756 15.7444 11.3576 15.8116 11.5478C16.1343 12.4613 16.3308 13.6619 16.3647 14.9747H18.7374C18.5352 13.1307 17.2817 11.6036 15.5888 11.0051ZM12.4101 11.0051C10.7174 11.6037 9.46428 13.1308 9.26213 14.9747H11.6349C11.6688 13.6619 11.8652 12.4613 12.1879 11.5478C12.2551 11.3577 12.3288 11.1756 12.4101 11.0051Z",fill:"currentColor"})});case"image":return c.jsxs(Wn,{size:t,className:n,markTransform:Du,children:[c.jsx("path",{d:"M10.4212 15.9204C10.5756 15.6558 10.9579 15.6558 11.1123 15.9204L13.6493 20.2696C13.8048 20.5362 13.6125 20.8711 13.3037 20.8711H8.22974C7.92102 20.8711 7.72868 20.5362 7.88423 20.2696L10.4212 15.9204Z",fill:"currentColor"}),c.jsx("path",{d:"M15.4981 13.186C15.6505 12.9117 16.0451 12.9117 16.1975 13.186L20.1368 20.2769C20.2849 20.5435 20.0922 20.8711 19.7872 20.8711H11.9084C11.6034 20.8711 11.4107 20.5435 11.5588 20.2769L15.4981 13.186Z",fill:"currentColor"}),c.jsx("path",{d:"M11.8603 11.3997C11.8603 12.286 11.1418 13.0045 10.2555 13.0045C9.36924 13.0045 8.65076 12.286 8.65076 11.3997C8.65076 10.5134 9.36924 9.79492 10.2555 9.79492C11.1418 9.79492 11.8603 10.5134 11.8603 11.3997Z",fill:"currentColor"})]});case"markdown":return c.jsx(Wn,{size:t,className:n,markTransform:va,children:c.jsx("path",{d:"M8.7588 19.5V14.6H9.8998L11.9298 17.932H11.3278L13.3018 14.6H14.4428L14.4568 19.5H13.1828L13.1688 16.539H13.3858L11.9088 19.017H11.2928L9.7738 16.539H10.0398V19.5H8.7588ZM15.4375 19.5V14.6H17.7545C18.2958 14.6 18.7718 14.7003 19.1825 14.901C19.5932 15.1017 19.9128 15.384 20.1415 15.748C20.3748 16.112 20.4915 16.546 20.4915 17.05C20.4915 17.5493 20.3748 17.9833 20.1415 18.352C19.9128 18.716 19.5932 18.9983 19.1825 19.199C18.7718 19.3997 18.2958 19.5 17.7545 19.5H15.4375ZM16.8235 18.394H17.6985C17.9785 18.394 18.2212 18.3427 18.4265 18.24C18.6365 18.1327 18.7998 17.9787 18.9165 17.778C19.0332 17.5727 19.0915 17.33 19.0915 17.05C19.0915 16.7653 19.0332 16.5227 18.9165 16.322C18.7998 16.1213 18.6365 15.9697 18.4265 15.867C18.2212 15.7597 17.9785 15.706 17.6985 15.706H16.8235V18.394Z",fill:"currentColor"})});case"other":return c.jsx(Wn,{size:t,className:n,muted:!0});case"pdf":return c.jsx(Wn,{size:t,className:n,markTransform:va,children:c.jsx("path",{d:"M6.80616 19.5V14.6H9.04616C9.49416 14.6 9.87916 14.6723 10.2012 14.817C10.5278 14.9617 10.7798 15.1717 10.9572 15.447C11.1345 15.7177 11.2232 16.0397 11.2232 16.413C11.2232 16.7817 11.1345 17.1013 10.9572 17.372C10.7798 17.6427 10.5278 17.8527 10.2012 18.002C9.87916 18.1467 9.49416 18.219 9.04616 18.219H7.57616L8.19216 17.617V19.5H6.80616ZM8.19216 17.764L7.57616 17.127H8.96216C9.2515 17.127 9.46616 17.064 9.60616 16.938C9.75083 16.812 9.82316 16.637 9.82316 16.413C9.82316 16.1843 9.75083 16.007 9.60616 15.881C9.46616 15.755 9.2515 15.692 8.96216 15.692H7.57616L8.19216 15.055V17.764ZM11.8989 19.5V14.6H14.2159C14.7573 14.6 15.2333 14.7003 15.6439 14.901C16.0546 15.1017 16.3743 15.384 16.6029 15.748C16.8363 16.112 16.9529 16.546 16.9529 17.05C16.9529 17.5493 16.8363 17.9833 16.6029 18.352C16.3743 18.716 16.0546 18.9983 15.6439 19.199C15.2333 19.3997 14.7573 19.5 14.2159 19.5H11.8989ZM13.2849 18.394H14.1599C14.4399 18.394 14.6826 18.3427 14.8879 18.24C15.0979 18.1327 15.2613 17.9787 15.3779 17.778C15.4946 17.5727 15.5529 17.33 15.5529 17.05C15.5529 16.7653 15.4946 16.5227 15.3779 16.322C15.2613 16.1213 15.0979 15.9697 14.8879 15.867C14.6826 15.7597 14.4399 15.706 14.1599 15.706H13.2849V18.394ZM17.6821 19.5V14.6H21.5251V15.671H19.0681V19.5H17.6821ZM18.9701 17.82V16.749H21.2311V17.82H18.9701Z",fill:"currentColor"})});case"ppt":return c.jsx(Wn,{size:t,className:n,markTransform:va,children:c.jsx("path",{d:"M11.0132 20.5V13.5H14.2132C14.8532 13.5 15.4032 13.6033 15.8632 13.81C16.3299 14.0167 16.6899 14.3167 16.9432 14.71C17.1966 15.0967 17.3232 15.5567 17.3232 16.09C17.3232 16.6167 17.1966 17.0733 16.9432 17.46C16.6899 17.8467 16.3299 18.1467 15.8632 18.36C15.4032 18.5667 14.8532 18.67 14.2132 18.67H12.1132L12.9932 17.81V20.5H11.0132ZM12.9932 18.02L12.1132 17.11H14.0932C14.5066 17.11 14.8132 17.02 15.0132 16.84C15.2199 16.66 15.3232 16.41 15.3232 16.09C15.3232 15.7633 15.2199 15.51 15.0132 15.33C14.8132 15.15 14.5066 15.06 14.0932 15.06H12.1132L12.9932 14.15V18.02Z",fill:"currentColor"})});case"video":return c.jsx(Wn,{size:t,className:n,markTransform:Du,children:c.jsx("path",{d:"M17.5 14.634C18.1667 15.0189 18.1667 15.9811 17.5 16.366L11.5 19.8301C10.8333 20.215 10 19.7339 10 18.9641L10 12.0359C10 11.2661 10.8333 10.785 11.5 11.1699L17.5 14.634Z",fill:"currentColor"})});case"word":return c.jsx(Wn,{size:t,className:n,markTransform:va,children:c.jsx("path",{d:"M10.5118 20.5L8.24179 13.5H10.2818L12.1918 19.56H11.1618L13.1718 13.5H14.9918L16.8918 19.56H15.9018L17.8718 13.5H19.7618L17.4918 20.5H15.3718L13.7518 15.35H14.3218L12.6318 20.5H10.5118Z",fill:"currentColor"})});default:return zT(e)}}function zT(e){throw new Error(`unreachable traditional file type: ${String(e)}`)}function PT(e){const{size:t=28,className:n}=e,r="path"in e?yl(e.path,e.context):e.kind;return Fh(r)?c.jsx(rT,{type:r,size:t,className:n}):TT(r,t,pe(Y5.icon,Y5[r],n))}const We='<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>',Ue='</title><path d="',qe='"/></svg>',NT={title:"AliExpress",slug:"aliexpress",get svg(){return We+"AliExpress"+Ue+this.path+qe},path:"M5.166 9.096a.022.022 0 0 0-.022.021c0 .396-.32.717-.713.717a.021.021 0 0 0-.021.022c0 .012.01.021.021.021.394 0 .713.322.713.718 0 .012.01.021.022.021.011 0 .021-.01.021-.021A.717.717 0 0 1 5.9 9.88a.021.021 0 0 0 0-.043.716.716 0 0 1-.713-.718v-.002a.021.021 0 0 0-.006-.015.022.022 0 0 0-.015-.006zm-3.693.526L0 13.462h.48l.355-.922h1.782l.354.922h.481L1.98 9.622zm2.264.002v3.838h.491V9.624zm2.375 0v3.838h2.413v-.502H6.613v-1.19H8.19v-.477H6.613v-1.166h1.773v-.502zm-4.386.592l.698 1.82H1.028zm14.689.402a1.466 1.466 0 0 0-.966.366V10.7h-.491v2.763h.49c.002-.477 0-.955.002-1.433a.969.969 0 0 1 .965-.918zm4.18.007c-.053 0-.105.003-.158.01-.315.031-.606.175-.753.377a.689.689 0 0 0-.14.465c.007.2.066.357.233.496.184.147.42.2.657.259.311.067.426.095.546.186.08.07.133.127.136.27 0 .25-.221.372-.42.41a.89.89 0 0 1-.894-.344l-.371.288c.33.382.777.505 1.09.5.54-.01.891-.217 1.029-.534.066-.153.063-.309.063-.38a.677.677 0 0 0-.267-.545c-.228-.177-.583-.228-.636-.242-.437-.078-.658-.196-.697-.341-.043-.192.102-.35.297-.411a.76.76 0 0 1 .857.277l.367-.247a1.166 1.166 0 0 0-.939-.494zm2.387 0c-.052 0-.105.003-.157.01-.316.031-.607.175-.753.377a.689.689 0 0 0-.14.465c.006.2.065.357.233.496.183.147.42.2.657.259.31.067.426.095.545.186.081.07.134.127.136.27.001.25-.221.372-.42.41a.89.89 0 0 1-.894-.344l-.371.288c.33.382.777.505 1.09.5.541-.01.891-.217 1.03-.534.065-.153.062-.309.062-.38a.677.677 0 0 0-.267-.545c-.227-.177-.583-.228-.636-.242-.437-.078-.658-.196-.696-.341-.043-.192.101-.35.297-.411a.76.76 0 0 1 .857.277l.367-.247a1.167 1.167 0 0 0-.94-.494zm-9.84.002a1.461 1.461 0 0 0-1.42 1.117 1.305 1.305 0 0 0-.041.327v2.833h.491v-1.813c.17.18.487.42.96.454a1.447 1.447 0 0 0 1.208-.627 1.457 1.457 0 0 0-1.199-2.292zm4.804 0a1.448 1.448 0 0 0-1.288 2.08c.255.53.811.87 1.412.833a1.452 1.452 0 0 0 1.012-.51l-.363-.291a.968.968 0 0 1-1.106.273 1.01 1.01 0 0 1-.602-.69h2.239l.002-.427a1.295 1.295 0 0 0-1.306-1.268zm-9.2.08l1.062 1.377-1.062 1.378h.581l.779-1.01.778 1.01h.581l-1.062-1.378 1.062-1.378h-.581l-.778 1.01-.779-1.01zm-3.825.015v2.74h.49v-2.74zm8.233.37a.96.96 0 0 1 .95.993.963.963 0 0 1-.863.998.962.962 0 0 1-1.034-.739c-.074-.382 0-.746.307-1.019a.959.959 0 0 1 .64-.233zm4.79.015a.823.823 0 0 1 .819.755h-1.76a.964.964 0 0 1 .94-.755z",source:"https://www.alibabagroup.com/en/ir/reports",hex:"FF4747"},AT={title:"Apple",slug:"apple",get svg(){return We+"Apple"+Ue+this.path+qe},path:"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",source:"https://www.apple.com",hex:"000000"},RT={title:"Baidu",slug:"baidu",get svg(){return We+"Baidu"+Ue+this.path+qe},path:"M9.154 0C7.71 0 6.54 1.658 6.54 3.707c0 2.051 1.171 3.71 2.615 3.71 1.446 0 2.614-1.659 2.614-3.71C11.768 1.658 10.6 0 9.154 0zm7.025.594C14.86.58 13.347 2.589 13.2 3.927c-.187 1.745.25 3.487 2.179 3.735 1.933.25 3.175-1.806 3.422-3.364.252-1.555-.995-3.364-2.362-3.674a1.218 1.218 0 0 0-.261-.03zM3.582 5.535a2.811 2.811 0 0 0-.156.008c-2.118.19-2.428 3.24-2.428 3.24-.287 1.41.686 4.425 3.297 3.864 2.617-.561 2.262-3.68 2.183-4.362-.125-1.018-1.292-2.773-2.896-2.75zm16.534 1.753c-2.308 0-2.617 2.119-2.617 3.616 0 1.43.121 3.425 2.988 3.362 2.867-.063 2.553-3.238 2.553-3.988 0-.745-.62-2.99-2.924-2.99zm-8.264 2.478c-1.424.014-2.708.925-3.323 1.947-1.118 1.868-2.863 3.05-3.112 3.363-.25.309-3.61 2.116-2.864 5.42.746 3.301 3.365 3.237 3.365 3.237s1.93.19 4.171-.31c2.24-.495 4.17.123 4.17.123s5.233 1.748 6.665-1.616c1.43-3.364-.808-5.109-.808-5.109s-2.99-2.306-4.736-4.798c-1.072-1.665-2.348-2.268-3.528-2.257zm-2.234 3.84l1.542.024v8.197H7.758c-1.47-.291-2.055-1.292-2.13-1.462-.072-.173-.488-.976-.268-2.343.635-2.049 2.447-2.196 2.447-2.196h1.81zm3.964 2.39v3.881c.096.413.612.488.612.488h1.614v-4.343h1.689v5.782h-3.915c-1.517-.39-1.59-1.465-1.59-1.465v-4.317zm-5.458 1.147c-.66.197-.978.708-1.05.928-.076.22-.247.78-.1 1.269.294 1.095 1.248 1.144 1.248 1.144h1.37v-3.34z",source:"https://www.baidu.com",hex:"2932E1"},FT={title:"Bilibili",slug:"bilibili",get svg(){return We+"Bilibili"+Ue+this.path+qe},path:"M17.813 4.653h.854c1.51.054 2.769.578 3.773 1.574 1.004.995 1.524 2.249 1.56 3.76v7.36c-.036 1.51-.556 2.769-1.56 3.773s-2.262 1.524-3.773 1.56H5.333c-1.51-.036-2.769-.556-3.773-1.56S.036 18.858 0 17.347v-7.36c.036-1.511.556-2.765 1.56-3.76 1.004-.996 2.262-1.52 3.773-1.574h.774l-1.174-1.12a1.234 1.234 0 0 1-.373-.906c0-.356.124-.658.373-.907l.027-.027c.267-.249.573-.373.92-.373.347 0 .653.124.92.373L9.653 4.44c.071.071.134.142.187.213h4.267a.836.836 0 0 1 .16-.213l2.853-2.747c.267-.249.573-.373.92-.373.347 0 .662.151.929.4.267.249.391.551.391.907 0 .355-.124.657-.373.906zM5.333 7.24c-.746.018-1.373.276-1.88.773-.506.498-.769 1.13-.786 1.894v7.52c.017.764.28 1.395.786 1.893.507.498 1.134.756 1.88.773h13.334c.746-.017 1.373-.275 1.88-.773.506-.498.769-1.129.786-1.893v-7.52c-.017-.765-.28-1.396-.786-1.894-.507-.497-1.134-.755-1.88-.773zM8 11.107c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c0-.373.129-.689.386-.947.258-.257.574-.386.947-.386zm8 0c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c.017-.391.15-.711.4-.96.249-.249.56-.373.933-.373Z",source:"https://www.bilibili.com",hex:"00A1D6"},DT={title:"CSDN",slug:"csdn",get svg(){return We+"CSDN"+Ue+this.path+qe},path:"M4.693 13.638c-.497.568-1.363.63-1.712.63-.648 0-1.144-.164-1.474-.488-.313-.307-.478-.76-.489-1.346-.025-1.358.744-2.762 2.074-2.762.635 0 1.124.455 1.311.644a.337.337 0 0 0 .282.099.38.38 0 0 0 .241-.159c.068-.087.135-.237.138-.401s-.057-.344-.243-.49a2.642 2.642 0 0 0-1.668-.591c-.819 0-1.627.376-2.218 1.033-.621.691-.953 1.63-.935 2.646.015.815.282 1.5.773 1.982.528.518 1.3.791 2.235.791 1.097 0 1.776-.325 2.154-.597a.584.584 0 0 0 .24-.456.702.702 0 0 0-.208-.497c-.23-.248-.448-.101-.503-.037ZM9.663 11.488a7.471 7.471 0 0 0-.698-.248c-.157-.048-.309-.091-.45-.131-.922-.26-1.027-.5-1.017-.68.022-.363.515-.853 1.352-.792.607.045 1.015.509 1.205.781.149.214.371.135.434.095a.602.602 0 0 0 .309-.514.626.626 0 0 0-.209-.488 2.654 2.654 0 0 0-3.347-.273c-.456.323-.744.772-.77 1.202-.064 1.061 1.015 1.366 1.803 1.588.214.061.429.127.667.202 1.14.357 1.173.717 1.092 1.267-.082.556-.696.834-1.685.761-1.029-.076-1.464-.61-1.612-.901-.05-.098-.205-.248-.413-.156-.514.229-.473.731-.26.993.339.416 1.15 1.035 2.667 1.035 1.734 0 2.255-.875 2.378-1.64.092-.572-.022-1.028-.348-1.396-.236-.267-.592-.495-1.101-.706ZM16.44 9.323c-.598-.431-1.393-.61-2.36-.532-.712.058-1.274.243-1.335.263l-.006.002a.437.437 0 0 0-.297.379l-.47 5.201a.337.337 0 0 0 .247.35l.072.02.066.018.086.021a7.914 7.914 0 0 0 1.64.183c.972 0 1.765-.23 2.36-.684.764-.583 1.141-1.5 1.118-2.725-.021-1.135-.398-1.974-1.121-2.495Zm-.662 4.461c-.836.639-2.09.562-2.677.481a.128.128 0 0 1-.109-.137l.397-4.248a.113.113 0 0 1 .086-.1c.999-.241 1.777-.168 2.312.218.189.137.348.331.471.568.176.339.277.765.286 1.234.017.916-.24 1.583-.765 1.984ZM23.967 10.41a1.92 1.92 0 0 0-.432-.919c-.399-.465-1.029-.689-1.848-.689-.734 0-1.372.228-1.947.799.007-.086.019-.159.018-.223s-.017-.116-.066-.163c-.048-.045-.077-.067-.127-.077-.05-.01-.122-.008-.256-.006a.587.587 0 0 0-.589.54s-.325 3.874-.428 5.165a.308.308 0 0 0 .073.228.36.36 0 0 0 .26.131h.387a.224.224 0 0 0 .226-.205l.273-2.929.014-.147a1.902 1.902 0 0 1 .082-.412c.014-.045.03-.092.047-.14.245-.694.803-1.72 1.971-1.694.84.018 1.449.455 1.385 1.114-.101 1.034-.266 3.1-.358 4.14-.019.209.182.273.252.273h.304a.442.442 0 0 0 .444-.404s.185-2.127.294-3.352l.048-.532a1.959 1.959 0 0 0-.026-.5Z",source:"https://www.csdn.net/company/index.html",hex:"FC5531"},$T={title:"DuckDuckGo",slug:"duckduckgo",get svg(){return We+"DuckDuckGo"+Ue+this.path+qe},path:"M12 0C5.37 0 0 5.37 0 12s5.37 12 12 12 12-5.37 12-12S18.63 0 12 0zm0 .984C18.083.984 23.016 5.916 23.016 12S18.084 23.016 12 23.016.984 18.084.984 12C.984 5.917 5.916.984 12 .984zm0 .938C6.434 1.922 1.922 6.434 1.922 12c0 4.437 2.867 8.205 6.85 9.55-.237-.82-.776-2.753-1.6-6.052-1.184-4.741-2.064-8.606 2.379-9.813.047-.011.064-.064.03-.093-.514-.467-1.382-.548-2.233-.38a.06.06 0 0 1-.07-.058c0-.011 0-.023.011-.035.205-.286.572-.507.822-.64a1.843 1.843 0 0 0-.607-.335c-.059-.022-.059-.12-.006-.144.006-.006.012-.012.024-.012 1.749-.233 3.586.292 4.49 1.448.011.011.023.017.035.023 2.968.635 3.509 4.837 3.328 5.998a9.607 9.607 0 0 0 2.346-.576c.746-.286 1.008-.222 1.101-.053.1.193-.018.513-.28.81-.496.567-1.393 1.01-2.974 1.137-.546.044-1.029.024-1.445.006-.789-.035-1.339-.059-1.633.39-.192.298-.041.998 1.487 1.22 1.09.157 2.078.047 2.798-.034.643-.07 1.073-.118 1.172.069.21.402-.996 1.207-3.066 1.224-.158 0-.315-.006-.467-.011-1.283-.065-2.227-.414-2.816-.735a.094.094 0 0 1-.035-.017c-.105-.059-.31.045-.188.267.07.134.444.478 1.004.776-.058.466.087 1.184.338 2l.088-.016c.041-.009.087-.019.134-.025.507-.082.775.012.926.175.717-.536 1.913-1.294 2.03-1.154.583.694.66 2.332.53 2.99-.004.012-.017.024-.04.035-.274.117-1.783-.296-1.783-.511-.059-1.075-.26-1.173-.493-1.225h-.156c.006.006.012.018.018.03l.052.12c.093.257.24 1.063.13 1.26-.112.199-.835.297-1.284.303-.443.006-.543-.158-.637-.408-.07-.204-.103-.675-.103-.95a.857.857 0 0 1 .012-.216c-.134.058-.333.193-.397.281-.017.262-.017.682.123 1.149.07.221-1.518 1.164-1.74.99-.227-.181-.634-1.952-.459-2.67-.187.017-.338.075-.42.191-.367.508.093 2.933.582 3.248.257.169 1.54-.553 2.176-1.095.105.145.305.158.553.158.326-.012.782-.06 1.103-.158.192.45.423.972.613 1.388 4.47-1.032 7.803-5.037 7.803-9.82 0-5.566-4.512-10.078-10.078-10.078zm1.791 5.646c-.42 0-.678.146-.795.332-.023.047.047.094.094.07.14-.075.357-.161.701-.156.328.006.516.09.67.159l.023.01c.041.017.088-.03.059-.065-.134-.18-.332-.35-.752-.35zm-5.078.198a1.24 1.24 0 0 0-.522.082c-.454.169-.67.526-.67.76 0 .051.112.057.141.011.081-.123.21-.31.617-.478.408-.17.73-.146.951-.094.047.012.083-.041.041-.07a.989.989 0 0 0-.558-.211zm5.434 1.423a.651.651 0 0 0-.655.647.652.652 0 0 0 1.307 0 .646.646 0 0 0-.652-.647zm.283.262h.008a.17.17 0 0 1 .17.17c0 .093-.077.17-.17.17a.17.17 0 0 1-.17-.17c0-.09.072-.165.162-.17zm-5.358.076a.752.752 0 0 0-.758.758c0 .42.338.758.758.758s.758-.337.758-.758a.756.756 0 0 0-.758-.758zm.328.303h.01c.112 0 .2.089.2.2 0 .11-.088.197-.2.197a.195.195 0 0 1-.197-.198c0-.107.082-.194.187-.199z",source:"https://github.com/duckduckgo/duckduckgo-privacy-extension/blob/5c6ac8d6a07421adbfb97ee2ff855dd7655f8d71/shared/img/logo-small-grayscale.svg",hex:"DE5833",guidelines:"https://duckduckgo.com/press#press-materials"},HT={title:"eBay",slug:"ebay",get svg(){return We+"eBay"+Ue+this.path+qe},path:"M6.056 12.132v-4.92h1.2v3.026c.59-.703 1.402-.906 2.202-.906 1.34 0 2.828.904 2.828 2.855 0 .233-.015.457-.06.668.24-.953 1.274-1.305 2.896-1.344.51-.018 1.095-.018 1.56-.018v-.135c0-.885-.556-1.244-1.53-1.244-.72 0-1.245.3-1.305.81h-1.275c.136-1.29 1.5-1.62 2.686-1.62 1.064 0 1.995.27 2.415 1.02l-.436-.84h1.41l2.055 4.125 2.055-4.126H24l-3.72 7.305h-1.346l1.07-2.04-2.33-4.38c.13.255.2.555.2.93v2.46c0 .346.01.69.04 1.005H16.8a6.543 6.543 0 01-.046-.765c-.603.734-1.32.96-2.32.96-1.48 0-2.272-.78-2.272-1.695 0-.15.015-.284.037-.405-.3 1.246-1.36 2.086-2.767 2.086-.87 0-1.694-.315-2.2-.93 0 .24-.015.494-.04.734h-1.18c.02-.39.04-.855.04-1.245v-1.05h-4.83c.065 1.095.818 1.74 1.853 1.74.718 0 1.355-.3 1.568-.93h1.24c-.24 1.29-1.61 1.725-2.79 1.725C.95 15.009 0 13.822 0 12.232c0-1.754.982-2.91 3.116-2.91 1.688 0 2.93.886 2.94 2.806v.005zm9.137.183c-1.095.034-1.77.233-1.77.95 0 .465.36.97 1.305.97 1.26 0 1.935-.69 1.935-1.814v-.13c-.45 0-.99.006-1.484.022h.012zm-6.06 1.875c1.11 0 1.876-.806 1.876-2.02s-.768-2.02-1.893-2.02c-1.11 0-1.89.806-1.89 2.02s.765 2.02 1.875 2.02h.03zm-4.35-2.514c-.044-1.125-.854-1.546-1.725-1.546-.944 0-1.694.474-1.815 1.546z",source:"https://go.developer.ebay.com/logos",hex:"E53238"},VT={title:"Facebook",slug:"facebook",get svg(){return We+"Facebook"+Ue+this.path+qe},path:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z",source:"https://about.meta.com/brand/resources/facebook/logo",hex:"0866FF",guidelines:"https://about.meta.com/brand/resources/facebook/logo"},$u={title:"GitHub",slug:"github",get svg(){return We+"GitHub"+Ue+this.path+qe},path:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12",source:"https://github.com/logos",hex:"181717",guidelines:"https://github.com/logos"},BT={title:"GitLab",slug:"gitlab",get svg(){return We+"GitLab"+Ue+this.path+qe},path:"m23.6004 9.5927-.0337-.0862L20.3.9814a.851.851 0 0 0-.3362-.405.8748.8748 0 0 0-.9997.0539.8748.8748 0 0 0-.29.4399l-2.2055 6.748H7.5375l-2.2057-6.748a.8573.8573 0 0 0-.29-.4412.8748.8748 0 0 0-.9997-.0537.8585.8585 0 0 0-.3362.4049L.4332 9.5015l-.0325.0862a6.0657 6.0657 0 0 0 2.0119 7.0105l.0113.0087.03.0213 4.976 3.7264 2.462 1.8633 1.4995 1.1321a1.0085 1.0085 0 0 0 1.2197 0l1.4995-1.1321 2.4619-1.8633 5.006-3.7489.0125-.01a6.0682 6.0682 0 0 0 2.0094-7.003z",source:"https://about.gitlab.com/press/press-kit/",hex:"FC6D26",guidelines:"https://about.gitlab.com/handbook/marketing/corporate-marketing/brand-activation/trademark-guidelines/"},ZT={title:"Google",slug:"google",get svg(){return We+"Google"+Ue+this.path+qe},path:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z",source:"https://partnermarketinghub.withgoogle.com",hex:"4285F4",guidelines:"https://about.google/brand-resource-center/brand-elements/"},WT={title:"Instagram",slug:"instagram",get svg(){return We+"Instagram"+Ue+this.path+qe},path:"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077",source:"https://about.meta.com/brand/resources/instagram",hex:"FF0069",guidelines:"https://about.meta.com/brand/resources/instagram"},UT={title:"Juejin",slug:"juejin",get svg(){return We+"Juejin"+Ue+this.path+qe},path:"m12 14.316 7.454-5.88-2.022-1.625L12 11.1l-.004.003-5.432-4.288-2.02 1.624 7.452 5.88Zm0-7.247 2.89-2.298L12 2.453l-.004-.005-2.884 2.318 2.884 2.3Zm0 11.266-.005.002-9.975-7.87L0 12.088l.194.156 11.803 9.308 7.463-5.885L24 12.085l-2.023-1.624Z",source:"https://juejin.cn",hex:"007FFF"},qT={title:"MDN Web Docs",slug:"mdnwebdocs",get svg(){return We+"MDN Web Docs"+Ue+this.path+qe},path:"m21.538 1.1-6.745 21.8h-2.77L18.77 1.1ZM24 1.1v21.8h-2.462V1.1Zm-12 0v21.8H9.538V1.1Zm-2.462 0L2.77 22.9H0L6.746 1.1Z",source:"https://github.com/mdn/yari/blob/77e6cda02f7013219e9da27a00b9424085e60fdb/client/src/assets/mdn-logo.svg",hex:"000000"},GT={title:"Netflix",slug:"netflix",get svg(){return We+"Netflix"+Ue+this.path+qe},path:"m5.398 0 8.348 23.602c2.346.059 4.856.398 4.856.398L10.113 0H5.398zm8.489 0v9.172l4.715 13.33V0h-4.715zM5.398 1.5V24c1.873-.225 2.81-.312 4.715-.398V14.83L5.398 1.5z",source:"https://brand.netflix.com/en/assets/logos",hex:"E50914",guidelines:"https://brand.netflix.com/en/assets/logos"},KT={title:"npm",slug:"npm",get svg(){return We+"npm"+Ue+this.path+qe},path:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z",source:"https://www.npmjs.com",hex:"CB3837",guidelines:"https://docs.npmjs.com/policies/logos-and-usage"},YT={title:"PyPI",slug:"pypi",get svg(){return We+"PyPI"+Ue+this.path+qe},path:"M23.922 13.58v3.912L20.55 18.72l-.078.055.052.037 3.45-1.256.026-.036v-3.997l-.053-.036-.025.092z M23.621 5.618l-3.04 1.107v3.912l3.339-1.215V5.509zM23.92 13.457V9.544l-3.336 1.215v3.913zM20.47 14.71V10.8L17.17 12v3.913zM17.034 19.996v-3.912l-3.313 1.206v3.912zM17.17 16.057v3.868l3.314-1.206V14.85l-3.314 1.206zm2.093 1.882c-.367.134-.663-.074-.663-.463s.296-.814.663-.947c.365-.133.662.075.662.464s-.297.814-.662.946z M13.225 9.315l.365-.132-3.285-1.197-3.323 1.21.102.037 3.184 1.16zM20.507 10.664V6.751L17.17 7.965v3.913zM17.058 11.918V8.005l-3.302 1.202v3.912zM13.643 9.246l-3.336 1.215v3.913l3.336-1.215zM6.907 13.165l3.322 1.209v-3.913L6.907 9.252z M10.34 7.873l3.281 1.193V5.198l-3.28-1.193zM20.507 2.715L17.19 3.922v3.913l3.317-1.207zM16.95 3.903L13.724 2.73l-3.269 1.19 3.225 1.174zM15.365 4.606l-1.624.592v3.868l3.317-1.207V3.991l-1.693.615zm-.391 2.778c-.367.134-.662-.074-.662-.464s.295-.813.662-.946c.366-.133.663.074.663.464s-.297.813-.663.946z M10.229 18.41v-3.914l-3.322-1.209V17.2zM13.678 17.182v-3.913l-3.371 1.227v3.913z M13.756 17.154l3.3-1.2V12.04l-3.3 1.2zM13.678 21.217l-3.371 1.227v-3.912h-.078v3.912l-3.322-1.209v-3.913l-.053-.058-.025-.06-3.336-1.21v-3.948l.034.013 3.287 1.196.015-.078-3.261-1.187 3.26-1.187v-.109L3.876 9.62l-.307-.112 3.26-1.188v.877l.079-.055V6.769l3.257 1.185.058-.061L7.084 6.75l-.102-.037 3.24-1.179v-.083L6.854 6.677v.018l-.025.018v1.523L3.44 9.47v.02l-.025.017v4.007l-3.39 1.233v.019L0 14.784v3.995l.025.037 3.4 1.237.008-.006.007.01 3.4 1.238.008-.006.006.01 3.4 1.237.014-.009.012.01 3.45-1.256.026-.037-.078-.027zM3.493 9.563l3.257 1.185-3.257 1.187V9.562zM3.4 19.96L.078 18.752v-3.913l2.361.86.96.349v3.913zm.015-3.99L.335 14.85l-.182-.066 3.262-1.187v2.374zm3.399 5.231l-3.321-1.209v-3.912l3.321 1.209v3.912zM23.791 5.434l-3.21-1.17v2.338zM20.387 2.643l-3.24-1.18-3.27 1.19 3.247 1.182z",source:"https://pypi.org",hex:"3775A9"},JT={title:"QQ",slug:"qq",get svg(){return We+"QQ"+Ue+this.path+qe},path:"M21.395 15.035a40 40 0 0 0-.803-2.264l-1.079-2.695c.001-.032.014-.562.014-.836C19.526 4.632 17.351 0 12 0S4.474 4.632 4.474 9.241c0 .274.013.804.014.836l-1.08 2.695a39 39 0 0 0-.802 2.264c-1.021 3.283-.69 4.643-.438 4.673.54.065 2.103-2.472 2.103-2.472 0 1.469.756 3.387 2.394 4.771-.612.188-1.363.479-1.845.835-.434.32-.379.646-.301.778.343.578 5.883.369 7.482.189 1.6.18 7.14.389 7.483-.189.078-.132.132-.458-.301-.778-.483-.356-1.233-.646-1.846-.836 1.637-1.384 2.393-3.302 2.393-4.771 0 0 1.563 2.537 2.103 2.472.251-.03.581-1.39-.438-4.673",source:"https://en.wikipedia.org/wiki/File:Tencent_QQ.svg",hex:"1EBAFC",guidelines:"https://qq.design/brand/BrandDesign/Logo"},QT={title:"Quora",slug:"quora",get svg(){return We+"Quora"+Ue+this.path+qe},path:"M7.3799.9483A11.9628 11.9628 0 0 1 21.248 19.5397l2.4096 2.4225c.7322.7362.21 1.9905-.8272 1.9905l-10.7105.01a12.52 12.52 0 0 1-.304 0h-.02A11.9628 11.9628 0 0 1 7.3818.9503Zm7.3217 4.428a7.1717 7.1717 0 1 0-5.4873 13.2512 7.1717 7.1717 0 0 0 5.4883-13.2511Z",source:"https://www.quora.com",hex:"B92B27"},XT={title:"Reddit",slug:"reddit",get svg(){return We+"Reddit"+Ue+this.path+qe},path:"M12 0C5.373 0 0 5.373 0 12c0 3.314 1.343 6.314 3.515 8.485l-2.286 2.286C.775 23.225 1.097 24 1.738 24H12c6.627 0 12-5.373 12-12S18.627 0 12 0Zm4.388 3.199c1.104 0 1.999.895 1.999 1.999 0 1.105-.895 2-1.999 2-.946 0-1.739-.657-1.947-1.539v.002c-1.147.162-2.032 1.15-2.032 2.341v.007c1.776.067 3.4.567 4.686 1.363.473-.363 1.064-.58 1.707-.58 1.547 0 2.802 1.254 2.802 2.802 0 1.117-.655 2.081-1.601 2.531-.088 3.256-3.637 5.876-7.997 5.876-4.361 0-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538 0-1.548 1.255-2.802 2.803-2.802.645 0 1.239.218 1.712.585 1.275-.79 2.881-1.291 4.64-1.365v-.01c0-1.663 1.263-3.034 2.88-3.207.188-.911.993-1.595 1.959-1.595Zm-8.085 8.376c-.784 0-1.459.78-1.506 1.797-.047 1.016.64 1.429 1.426 1.429.786 0 1.371-.369 1.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406 0c-.786 0-1.385.824-1.338 1.841.047 1.017.634 1.385 1.418 1.385.785 0 1.473-.413 1.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703 4.013c-.974 0-1.907.048-2.77.135-.147.015-.241.168-.183.305.483 1.154 1.622 1.964 2.953 1.964 1.33 0 2.47-.81 2.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z",source:"https://www.redditinc.com/brand",hex:"FF4500",guidelines:"https://www.redditinc.com/brand"},ez={title:"Sina Weibo",slug:"sinaweibo",get svg(){return We+"Sina Weibo"+Ue+this.path+qe},path:"M10.098 20.323c-3.977.391-7.414-1.406-7.672-4.02-.259-2.609 2.759-5.047 6.74-5.441 3.979-.394 7.413 1.404 7.671 4.018.259 2.6-2.759 5.049-6.737 5.439l-.002.004zM9.05 17.219c-.384.616-1.208.884-1.829.602-.612-.279-.793-.991-.406-1.593.379-.595 1.176-.861 1.793-.601.622.263.82.972.442 1.592zm1.27-1.627c-.141.237-.449.353-.689.253-.236-.09-.313-.361-.177-.586.138-.227.436-.346.672-.24.239.09.315.36.18.601l.014-.028zm.176-2.719c-1.893-.493-4.033.45-4.857 2.118-.836 1.704-.026 3.591 1.886 4.21 1.983.64 4.318-.341 5.132-2.179.8-1.793-.201-3.642-2.161-4.149zm7.563-1.224c-.346-.105-.57-.18-.405-.615.375-.977.42-1.804 0-2.404-.781-1.112-2.915-1.053-5.364-.03 0 0-.766.331-.571-.271.376-1.217.315-2.224-.27-2.809-1.338-1.337-4.869.045-7.888 3.08C1.309 10.87 0 13.273 0 15.348c0 3.981 5.099 6.395 10.086 6.395 6.536 0 10.888-3.801 10.888-6.82 0-1.822-1.547-2.854-2.915-3.284v.01zm1.908-5.092c-.766-.856-1.908-1.187-2.96-.962-.436.09-.706.511-.616.932.09.42.511.691.932.602.511-.105 1.067.044 1.442.465.376.421.466.977.316 1.473-.136.406.089.856.51.992.405.119.857-.105.992-.512.33-1.021.12-2.178-.646-3.035l.03.045zm2.418-2.195c-1.576-1.757-3.905-2.419-6.054-1.968-.496.104-.812.587-.706 1.081.104.496.586.813 1.082.707 1.532-.331 3.185.15 4.296 1.383 1.112 1.246 1.429 2.943.947 4.416-.165.48.106 1.007.586 1.157.479.165.991-.104 1.157-.586.675-2.088.241-4.478-1.338-6.235l.03.045z",source:"https://en.wikipedia.org/wiki/Sina_Weibo",hex:"E6162D"},tz={title:"Spotify",slug:"spotify",get svg(){return We+"Spotify"+Ue+this.path+qe},path:"M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z",source:"https://developer.spotify.com/documentation/general/design-and-branding/#using-our-logo",hex:"1ED760",guidelines:"https://developer.spotify.com/documentation/general/design-and-branding/#using-our-logo"},nz={title:"Stack Overflow",slug:"stackoverflow",get svg(){return We+"Stack Overflow"+Ue+this.path+qe},path:"M15.725 0l-1.72 1.277 6.39 8.588 1.716-1.277L15.725 0zm-3.94 3.418l-1.369 1.644 8.225 6.85 1.369-1.644-8.225-6.85zm-3.15 4.465l-.905 1.94 9.702 4.517.904-1.94-9.701-4.517zm-1.85 4.86l-.44 2.093 10.473 2.201.44-2.092-10.473-2.203zM1.89 15.47V24h19.19v-8.53h-2.133v6.397H4.021v-6.396H1.89zm4.265 2.133v2.13h10.66v-2.13H6.154Z",source:"https://stackoverflow.design/brand/logo/",hex:"F58025",guidelines:"https://stackoverflow.com/legal/trademark-guidance"},rz={title:"Taobao",slug:"taobao",get svg(){return We+"Taobao"+Ue+this.path+qe},path:"M21.3099 9.9008c.5285 0 .9584.4284.9584.9589 0 .5276-.4299.958-.9584.958-.5276 0-.9585-.4304-.9585-.958 0-.5305.4309-.959.9585-.959zm2.3899 3.0462h-10.408v-.9595h4.15V9.7591h-2.8869v-.768h2.8868v-.9234h-2.508v.2034h-1.6418V5.3733h1.6418v.3497c.4945-.0607 1.463-.1814 2.5175-.2956v-.8257h1.8522v.6408c.9249-.0807 1.753-.1312 2.211-.1112 1.489.0716 2.4449.2816 2.485 1.273.0356.989-1.4244 1.9043-1.4244 1.9043l-.4509-.4338v.1929h-2.8116v.9233h3.229v.768h-3.229v2.2285h4.3873v.9595zM21.5259 7.299l-.0115-.0115s1.3722-.7595.3427-1.272c-.8633-.43-5.5346.3056-6.9234.6257v.6578h6.5922zM1.8822 6.4166c.5515 0 .9985-.449.9985-1 0-.5531-.447-.9995-.9985-.9995a.9984.9984 0 00-1.001.9995c0 .551.4463 1 1.001 1zm3.4094-.8596c.252-.4364.3717-.7195.3717-.7195l-1.466-.4123S3.6068 6.3546 2.5527 7.253c0 0 1.0195.5897 1.0095.5732a9.6444 9.6444 0 00.782-.8793c.2345-.1017.4585-.198.6794-.2876-.2715.487-.7094 1.219-1.1478 1.6809l.6178.5385s.4198-.4033.8792-.8907h.5246v.8993H3.8557v.7204h2.0416v1.7235c-.025 0-.0521 0-.0782-.002-.224-.0106-.5751-.0476-.7124-.265-.1678-.2636-.044-.7496-.0346-1.0457H3.6608l-.0496.026s-.517 2.3142 1.489 2.2621c1.8793.0521 2.9544-.523 3.4725-.9178l.2064.7645 1.1583-.4825-.785-1.9183-.941.292.1764.6574c-.2415.1809-.518.3157-.8187.4134V9.6076h1.995v-.7204h-1.995v-.8993h2.003v-.72h-3.557c.2565-.3111.4589-.5982.5095-.78L5.9058 6.32c2.6603-.9519 4.1408-.7886 4.1278.773v4.1128s.1568 1.4124-1.461 1.3107l-.8757-.188-.207.8307s3.7822 1.0812 4.0913-1.8246c.3096-2.9058-.0767-4.7576-.0767-4.7576s-.3451-2.6824-6.213-1.02zM.0582 12.1534l1.5867.9905c1.0967-2.3813 1.0265-2.0657 1.302-2.92.2832-.8737.3453-1.54-.1362-2.023-.6172-.6197-.6844-.6773-1.6017-1.3582L.5487 7.8562l1.2164.7576s.8141.4153.4274 1.1903c-.3617.7375-2.1343 2.3493-2.1343 2.3493zm19.94 6.8484s-.0186.523-.6704.523c-.5892 0-.6363-.4113-.6363-.4113-.2485.2996-.6207.4549-1.0696.4549-.7606 0-1.2961-.5135-1.2961-1.2896 0-.786.5576-1.28 1.3983-1.28.3832 0 .725.1462.9258.4037.0066-.0706.0136-.1362.0136-.1968 0-.5622-.3092-.8127-1.01-.8127-.3382 0-.6659.0486-1.0136.1408.1107-.219.1924-.3793.2971-.4574.1202-.0972.4294-.1408.9419-.1408 1.269 0 1.742.4259 1.742 1.4279v1.2024c0 .3161.033.4359.3772.4359zm-1.3272-.745c0-.4815-.2555-.747-.6378-.747-.4043 0-.6668.2825-.6668.7595 0 .467.2775.7615.6533.7615.3882 0 .6513-.275.6513-.774zm5.2706-.501c0 1.1528-.6924 1.8271-1.7786 1.8271-1.0957 0-1.7766-.6743-1.7766-1.8271 0-1.1584.6809-1.8252 1.7766-1.8252 1.0862 0 1.7786.6719 1.7786 1.8252zm-1.0867 0c0-.8693-.237-1.2997-.692-1.2997-.4734 0-.6938.4304-.6938 1.2997 0 .8662.2204 1.299.6939 1.299.467 0 .6919-.4328.6919-1.299zm-7.1313-.0441c0 1.1703-.6534 1.8567-1.5767 1.8567-.4233 0-.8056-.1633-1.0466-.47 0 0-.1082.4264-.6618.4264-.6884 0-.6644-.523-.6644-.523.3868.0165.3758-.2145.3758-.436v-2.8862c0-.3552-.0742-.4795-.4269-.4865.0136-.1072.0777-.5376.6789-.5376.8156 0 .7615.9149.7615.9149v.786c.229-.268.5516-.3942.9905-.3942.9624 0 1.5697.6447 1.5697 1.7495zm-1.0937.0806c0-.8983-.2716-1.3557-.7616-1.3557-.4393 0-.74.3968-.74 1.1047v.3602c0 .7205.3152 1.1168.7631 1.1168.477 0 .7385-.4134.7385-1.226zm-3.2425-.0365c0 1.1528-.688 1.8271-1.7806 1.8271-1.0937 0-1.7726-.6743-1.7726-1.8271 0-1.1584.6789-1.8252 1.7726-1.8252 1.0927 0 1.7806.6719 1.7806 1.8252zm-1.0832 0c0-.8693-.236-1.2997-.6974-1.2997-.467 0-.6874.4304-.6874 1.2997 0 .8662.2205 1.299.6874 1.299.469 0 .6974-.4328.6974-1.299zm-5.9895-2.716c-.268.0782-.7901.0972-1.5516.0972-.925 0-1.5391-.039-1.8543-.039-.5195 0-.7254.1342-.9088.6592.3006-.1017.6729-.1087 1.1353-.1087.3512 0 .4108.0431.4108.2941V18.846c0 .2821.1178.6789.7255.6789.7104 0 .8346-.526.8346-.526-.3552-.007-.4248-.1313-.4248-.4865V15.952c0-.2675.1012-.2795.471-.2795.1252 0 .2094.007.2605.007.545 0 .6883-.1047.9018-.6398zm3.1303 3.962s-.018.523-.6664.523c-.556 0-.6403-.4113-.6403-.4113-.248.2996-.6207.4549-1.0656.4549-.7655 0-1.2996-.5135-1.2996-1.2896 0-.786.557-1.28 1.3993-1.28.3843 0 .7274.1462.9258.4037.0036-.0706.0106-.1362.0106-.1968 0-.5622-.3051-.8127-1.007-.8127-.3382 0-.6669.0486-1.015.1408.1131-.219.1923-.3793.2945-.4574.1293-.0972.4329-.1408.9469-.1408 1.265 0 1.746.4259 1.746 1.4279v1.2024c0 .3161.0276.4359.3708.4359zm-1.3262-.745c0-.4815-.2555-.747-.6378-.747-.4013 0-.6668.2825-.6668.7595 0 .467.279.7615.6513.7615.3893 0 .6533-.275.6533-.774z",source:"https://www.alibabagroup.com/en/ir/reports",hex:"E94F20"},Q5={title:"Telegram",slug:"telegram",get svg(){return We+"Telegram"+Ue+this.path+qe},path:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z",source:"https://telegram.org/tour/screenshots",hex:"26A5E4"},oz={title:"TikTok",slug:"tiktok",get svg(){return We+"TikTok"+Ue+this.path+qe},path:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z",source:"https://tiktok.com",hex:"000000"},iz={title:"V2EX",slug:"v2ex",get svg(){return We+"V2EX"+Ue+this.path+qe},path:"M.671 1.933h13.821a1.342 1.342 0 0 1 .98.425l8.166 8.725a1.342 1.342 0 0 1 0 1.834l-8.166 8.724a1.342 1.342 0 0 1-.98.426H.673A.671.671 0 0 1 0 21.395v-6.878h13.19l2.276-2.28a.336.336 0 0 0 0-.474l-2.276-2.28H0V2.604a.671.671 0 0 1 .671-.671Z",source:"https://www.v2ex.com",hex:"1F1F1F"},sz={title:"WeChat",slug:"wechat",get svg(){return We+"WeChat"+Ue+this.path+qe},path:"M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178 1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 0 1 .598.082l1.584.926a.272.272 0 0 0 .14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 0 1-.023-.156.49.49 0 0 1 .201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088V8.89c-.135-.01-.27-.027-.407-.03zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.969-.982z",source:"https://wechat.design/tool/brand",hex:"07C160",guidelines:"https://wechat.design/brand/main-brand"},X5={title:"WhatsApp",slug:"whatsapp",get svg(){return We+"WhatsApp"+Ue+this.path+qe},path:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z",source:"https://about.meta.com/brand/resources/whatsapp/whatsapp-brand",hex:"25D366",guidelines:"https://about.meta.com/brand/resources/whatsapp/whatsapp-brand"},az={title:"Wikipedia",slug:"wikipedia",get svg(){return We+"Wikipedia"+Ue+this.path+qe},path:"M12.09 13.119c-.936 1.932-2.217 4.548-2.853 5.728-.616 1.074-1.127.931-1.532.029-1.406-3.321-4.293-9.144-5.651-12.409-.251-.601-.441-.987-.619-1.139-.181-.15-.554-.24-1.122-.271C.103 5.033 0 4.982 0 4.898v-.455l.052-.045c.924-.005 5.401 0 5.401 0l.051.045v.434c0 .119-.075.176-.225.176l-.564.031c-.485.029-.727.164-.727.436 0 .135.053.33.166.601 1.082 2.646 4.818 10.521 4.818 10.521l.136.046 2.411-4.81-.482-1.067-1.658-3.264s-.318-.654-.428-.872c-.728-1.443-.712-1.518-1.447-1.617-.207-.023-.313-.05-.313-.149v-.468l.06-.045h4.292l.113.037v.451c0 .105-.076.15-.227.15l-.308.047c-.792.061-.661.381-.136 1.422l1.582 3.252 1.758-3.504c.293-.64.233-.801.111-.947-.07-.084-.305-.22-.812-.24l-.201-.021c-.052 0-.098-.015-.145-.051-.045-.031-.067-.076-.067-.129v-.427l.061-.045c1.247-.008 4.043 0 4.043 0l.059.045v.436c0 .121-.059.178-.193.178-.646.03-.782.095-1.023.439-.12.186-.375.589-.646 1.039l-2.301 4.273-.065.135 2.792 5.712.17.048 4.396-10.438c.154-.422.129-.722-.064-.895-.197-.172-.346-.273-.857-.295l-.42-.016c-.061 0-.105-.014-.152-.045-.043-.029-.072-.075-.072-.119v-.436l.059-.045h4.961l.041.045v.437c0 .119-.074.18-.209.18-.648.03-1.127.18-1.443.421-.314.255-.557.616-.736 1.067 0 0-4.043 9.258-5.426 12.339-.525 1.007-1.053.917-1.503-.031-.571-1.171-1.773-3.786-2.646-5.71l.053-.036z",source:"https://commons.wikimedia.org/wiki/File:Wikipedia-logo-v2.svg",hex:"000000"},e6={title:"X",slug:"x",get svg(){return We+"X"+Ue+this.path+qe},path:"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z",source:"https://x.com",hex:"000000",guidelines:"https://about.x.com/en/who-we-are/brand-toolkit"},lz={title:"Y Combinator",slug:"ycombinator",get svg(){return We+"Y Combinator"+Ue+this.path+qe},path:"M0 24V0h24v24H0zM6.951 5.896l4.112 7.708v5.064h1.583v-4.972l4.148-7.799h-1.749l-2.457 4.875c-.372.745-.688 1.434-.688 1.434s-.297-.708-.651-1.434L8.831 5.896h-1.88z",source:"https://www.ycombinator.com/press",hex:"F0652F"},t6={title:"YouTube",slug:"youtube",get svg(){return We+"YouTube"+Ue+this.path+qe},path:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z",source:"https://www.youtube.com/howyoutubeworks/resources/brand-resources/#logos-icons-and-colors",hex:"FF0000",guidelines:"https://www.youtube.com/howyoutubeworks/resources/brand-resources/#logos-icons-and-colors"},cz={title:"Zhihu",slug:"zhihu",get svg(){return We+"Zhihu"+Ue+this.path+qe},path:"M5.721 0C2.251 0 0 2.25 0 5.719V18.28C0 21.751 2.252 24 5.721 24h12.56C21.751 24 24 21.75 24 18.281V5.72C24 2.249 21.75 0 18.281 0zm1.964 4.078c-.271.73-.5 1.434-.68 2.11h4.587c.545-.006.445 1.168.445 1.171H9.384a58.104 58.104 0 01-.112 3.797h2.712c.388.023.393 1.251.393 1.266H9.183a9.223 9.223 0 01-.408 2.102l.757-.604c.452.456 1.512 1.712 1.906 2.177.473.681.063 2.081.063 2.081l-2.794-3.382c-.653 2.518-1.845 3.607-1.845 3.607-.523.468-1.58.82-2.64.516 2.218-1.73 3.44-3.917 3.667-6.497H4.491c0-.015.197-1.243.806-1.266h2.71c.024-.32.086-3.254.086-3.797H6.598c-.136.406-.158.447-.268.753-.594 1.095-1.603 1.122-1.907 1.155.906-1.821 1.416-3.6 1.591-4.064.425-1.124 1.671-1.125 1.671-1.125zM13.078 6h6.377v11.33h-2.573l-2.184 1.373-.401-1.373h-1.219zm1.313 1.219v8.86h.623l.263.937 1.455-.938h1.456v-8.86z",source:"https://www.zhihu.com",hex:"0084FF"},uz={"github.com":$u,"github.io":$u,"raw.githubusercontent.com":$u,"gitlab.com":BT,"npmjs.com":KT,"pypi.org":YT,"stackoverflow.com":nz,"developer.mozilla.org":qT,"wikipedia.org":az,"news.ycombinator.com":lz,"youtube.com":t6,"youtu.be":t6,"x.com":e6,"twitter.com":e6,"bilibili.com":FT,"zhihu.com":cz,"juejin.cn":UT,"csdn.net":DT,"google.com":ZT,"baidu.com":RT,"duckduckgo.com":$T,"tiktok.com":oz,"netflix.com":GT,"spotify.com":tz,"facebook.com":VT,"instagram.com":WT,"reddit.com":XT,"telegram.org":Q5,"t.me":Q5,"weixin.qq.com":sz,"qq.com":JT,"whatsapp.com":X5,"wa.me":X5,"weibo.com":ez,"taobao.com":rz,"aliexpress.com":NT,"ebay.com":HT,"quora.com":QT,"v2ex.com":iz,"apple.com":AT};function dz(e){let t;try{const s=new URL(e);if(s.protocol!=="http:"&&s.protocol!=="https:")return;t=s.hostname.toLowerCase()}catch{return}let n,r=0;for(const[s,l]of Object.entries(uz))(t===s||t.endsWith(`.${s}`))&&s.length>r&&(n=l,r=s.length);return n}function fz({href:e,size:t,className:n}){const r=e===void 0?void 0:dz(e);if(r!==void 0)return c.jsx("svg",{width:t,height:t,className:n,viewBox:"-2 -2 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:c.jsx("path",{d:r.path,fill:"currentColor"})})}function Ha(e){const t=yl(e),n=k2(e);if(Fh(t))return fT(n)?"code":"other";if(n==="")return"other";switch(t){case"code":case"html":return"code";case"image":return"image";case"excel":case"pdf":case"ppt":case"word":return"document";case"markdown":case"other":case"video":return"other";default:return $h(t)}}const hz=({size:e,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.4326 2.38086H3.56763C2.46306 2.38086 1.56763 3.27629 1.56763 4.38086V11.6192C1.56763 12.7237 2.46306 13.6192 3.56763 13.6192H12.4326C13.5372 13.6192 14.4326 12.7237 14.4326 11.6192V4.38086C14.4326 3.27629 13.5372 2.38086 12.4326 2.38086Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.536 7.03286C11.1948 7.03286 11.7288 6.49884 11.7288 5.8401C11.7288 5.18136 11.1948 4.64734 10.536 4.64734C9.87728 4.64734 9.34326 5.18136 9.34326 5.8401C9.34326 6.49884 9.87728 7.03286 10.536 7.03286Z",stroke:"currentColor"}),c.jsx("path",{d:"M1.5979 9.28409L4.17738 7.37514C4.57462 7.08117 5.12701 7.12145 5.47741 7.46992L8.3322 10.309C8.6572 10.6323 9.1605 10.6931 9.5532 10.4566L10.8859 9.65399C11.2531 9.43289 11.7205 9.47039 12.0477 9.74729L14.2823 11.6379",stroke:"currentColor"})]}),pz=({size:e,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.51919 14.5069H12.4807C13.0679 14.5069 13.5438 14.031 13.5438 13.4438V5.97499C13.5438 5.68818 13.428 5.41352 13.2226 5.21341L9.71251 1.79459C9.51402 1.60124 9.24781 1.49304 8.97075 1.49304H3.51919C2.93204 1.49304 2.45605 1.96902 2.45605 2.55618V13.4438C2.45605 14.031 2.93203 14.5069 3.51919 14.5069Z",stroke:"currentColor"}),c.jsx("path",{d:"M8.90454 1.6095V4.87091C8.90454 5.45806 9.38051 5.93405 9.96768 5.93405H13.4953",stroke:"currentColor"}),c.jsx("path",{d:"M4.31152 8.7561H7.83046",stroke:"currentColor"}),c.jsx("path",{d:"M4.31152 11.3651H9.36598",stroke:"currentColor"})]}),mz=({size:e,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.75275 14.271H12.2473C12.7749 14.271 13.2027 13.8433 13.2027 13.3156V5.91732C13.2027 5.65958 13.0985 5.41276 12.9139 5.23293L9.59477 2.00011C9.4164 1.82636 9.17717 1.72913 8.9282 1.72913H3.75275C3.22511 1.72913 2.79736 2.15686 2.79736 2.68451V13.3156C2.79736 13.8433 3.22511 14.271 3.75275 14.271Z",stroke:"currentColor"}),c.jsx("path",{d:"M8.84888 1.83838V4.94133C8.84888 5.46896 9.2766 5.89671 9.80426 5.89671H13.157",stroke:"currentColor"})]});function $h(e){throw new Error(`unreachable link icon kind: ${String(e)}`)}function Hh({kind:e,href:t,size:n=14,className:r,strokeWidth:s}){switch(e){case"url":return fz({href:t,size:n,className:r})??c.jsx(B0,{size:n,className:r,strokeWidth:s});case"folder":return c.jsx(sl,{size:n,className:r,strokeWidth:s});case"code":return c.jsx(Z0,{size:n,className:r,strokeWidth:s});case"image":return c.jsx(hz,{size:n,className:r,strokeWidth:s});case"document":return c.jsx(pz,{size:n,className:r,strokeWidth:s});case"other":return c.jsx(mz,{size:n,className:r,strokeWidth:s});default:return $h(e)}}function gz(e){return c.jsx(Hh,{...e,strokeWidth:Y})}function Qs(e){return c.jsx(Hh,{...e,strokeWidth:Q})}const vz="_plainRun_1e1vv_6",wz="_refChip_1e1vv_11",yz="_slashChip_1e1vv_30",xz="_refIcon_1e1vv_39",ys={plainRun:vz,refChip:wz,slashChip:yz,refIcon:xz},_z="_markdown_4cpb5_5",Cz="_fileLink_4cpb5_59",bz="_fileMention_4cpb5_85",kz="_linkIcon_4cpb5_94",Sz="_tableScroll_4cpb5_192",jz="_tableFill_4cpb5_247",Ez="_imageAlt_4cpb5_295",Mz="_image_4cpb5_295",Iz="_compact_4cpb5_339",Oz="_imageButton_4cpb5_454",Lz="_previewName_4cpb5_473",Tz="_annotationCitation_4cpb5_485",zt={markdown:_z,fileLink:Cz,fileMention:bz,linkIcon:kz,tableScroll:Sz,tableFill:jz,imageAlt:Ez,image:Mz,compact:Iz,imageButton:Oz,previewName:Lz,annotationCitation:Tz},n6=/@\[([^\]\n]+)\]\(dsh-session:[^)\s]+\)/gu,zz=/\[@((?:\\.|[^\\\]\r\n])+)\]\((thread:\/\/[^/?#()\s<>]+\?hostId=[^&#()\s<>]+)\)/gu,Pz=/\[@([^\]\n]+)\]\(<?subagent:\/\/codexhost\.([a-z0-9][a-z0-9-]*)>?\)/gu,Nz=/[.,;:!?,。;:!?]+$/u;function Az(e,t,n=[],r="skill",s){const l=WO(e).map(x=>({start:x.start,end:x.end,label:x.text,kind:"skill",display:x.name}));for(const x of e.matchAll(Pz))l.push({start:x.index,end:x.index+x[0].length,label:x[0],kind:"harness",display:x[1].trim()});for(const x of e.matchAll(zz))l.push({start:x.index,end:x.index+x[0].length,label:x[0],kind:"session",display:x[1].replace(/\\([\\`*{}[\]()#+.!_<>|~-])/gu,"$1")});n6.lastIndex=0;let u;for(;(u=n6.exec(e))!==null;)l.push({start:u.index,end:u.index+u[0].length,label:u[0],kind:"session",display:u[1]});for(const x of[...new Set(t)].sort((C,E)=>E.length-C.length)){const C=`@${x}`;let E=e.indexOf(C);for(;E>=0;)l.push({start:E,end:E+C.length,label:C,kind:"session"}),E=e.indexOf(C,E+C.length)}const f=/(^|\s)(\/[\w-]+(?=\s|$)|@"[^"\n]+"|@[^\s]+)/gu;let p;for(;(p=f.exec(e))!==null;){const x=p.index+p[1].length,C=p[2],E=C.startsWith('@"')?C:C.replace(Nz,"");E.length<=1||E.startsWith("/")&&!n.includes(E.slice(1))||l.push({start:x,end:x+E.length,label:E,kind:"plain"})}const m=x=>x.kind==="plain"?1:0;l.sort((x,C)=>x.start-C.start||m(x)-m(C)||C.end-x.end);const v=[];let w=0;const y=(x,C)=>{v.push(c.jsx("span",{className:ys.plainRun,children:e.slice(x,C)},`t${x}`))};for(const x of l){if(x.start<w)continue;const{start:C,end:E,label:M,kind:P}=x;C>w&&y(w,C);const O=P==="skill"?"skill":P==="harness"?"harness":P==="session"?"session":M.startsWith("@")?M.replace(/^@"|"$/gu,"").endsWith("/")?"folder":"file":void 0,$=x.display??(O===void 0?M:O==="session"?M.slice(1):M.slice(1).replace(/^"|"$/gu,"").split(/[\\/]/u).filter(Boolean).at(-1)??M.slice(1)),z=c.jsxs(c.Fragment,{children:[O!==void 0&&c.jsx(Rh,{kind:O==="harness"?"session":O,reference:M,size:16,className:ys.refIcon}),$]}),W=s===void 0?void 0:O==="file"?()=>{s.openFile(M.slice(1).replace(/^"|"$/gu,""))}:O===void 0&&r==="skill"?()=>{s.openSkill(M.slice(1))}:void 0,V=pe(ys.refChip,O===void 0&&ys.slashChip);v.push(W===void 0?c.jsx("span",{className:V,"data-ref-chip":O??r,title:M,children:z},C):c.jsx("button",{type:"button",className:pe(V,zt.fileMention),"data-ref-chip":O??r,title:M,onClick:J=>{J.detail>1||J.detail!==0&&J.currentTarget.ownerDocument.getSelection()?.isCollapsed===!1||W()},children:z},C)),w=E}return v.length===0?c.jsx("span",{className:ys.plainRun,children:e}):(w<e.length&&y(w,e.length),c.jsx(c.Fragment,{children:v}))}const Rz="_toast_l6cvn_6",Fz="_icon_l6cvn_40",Dz="_success_l6cvn_47",$z="_text_l6cvn_51",Hz="_action_l6cvn_55",ei={toast:Rz,icon:Fz,success:Dz,text:$z,action:Hz},Vz=3e3,Bz=1e3;function Zz({text:e,icon:t,tone:n,anchor:r,holdMs:s=Vz,actions:l,onDone:u}){const f=k.useRef(u);k.useLayoutEffect(()=>{f.current=u},[u]),k.useEffect(()=>{const v=setTimeout(()=>{f.current()},s+Bz);return()=>{clearTimeout(v)}},[s]);const[p,m]=k.useState(null);return k.useLayoutEffect(()=>{if(r==null)return;const v=()=>{const w=r.getBoundingClientRect();m(w.left+w.width/2)};return v(),window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v)}},[r]),bn.createPortal(c.jsxs("div",{className:ei.toast,role:"alert",style:{...p===null?{}:{left:p},"--dsh-toast-hold":`${String(s)}ms`},children:[n==="success"?c.jsx("span",{className:`${ei.icon} ${ei.success}`,"aria-hidden":!0,children:c.jsx(J8,{})}):t!==void 0&&c.jsx("span",{className:ei.icon,"aria-hidden":!0,children:t}),c.jsxs("span",{className:ei.text,children:[e,l?.map(v=>c.jsxs(k.Fragment,{children:[v.prefix,c.jsx("button",{type:"button",className:ei.action,onClick:v.onClick,children:v.label})]},v.label))]})]}),document.body)}const Wz=5e3;function Uz(e){const[t,n]=k.useState(!1);return k.useEffect(()=>{if(!e)return;let r,s=document.visibilityState!=="hidden";const l=()=>{r=setTimeout(()=>n(!0),Wz)},u=()=>{const f=document.visibilityState!=="hidden";f!==s&&(s=f,clearTimeout(r),n(!1),s&&l())};return s&&l(),document.addEventListener("visibilitychange",u),()=>{clearTimeout(r),document.removeEventListener("visibilitychange",u),n(!1)}},[e]),e&&t}function qz(e){if(e<1024)return`${e}B`;const t=e/1024;if(t<1024)return`${t<10?t.toFixed(1):Math.round(t)}KB`;const n=t/1024;if(n<1024)return`${n<10?n.toFixed(1):Math.round(n)}MB`;const r=n/1024;return`${r<10?r.toFixed(1):Math.round(r)}GB`}const Gz="_form_1lxj9_3",Kz="_readOnly_1lxj9_8",Yz="_unavailable_1lxj9_9",Jz="_footer_1lxj9_16",Qz="_failed_1lxj9_23",Xz="_save_1lxj9_32",ti={form:Gz,readOnly:Kz,unavailable:Yz,footer:Jz,failed:Qz,save:Xz};function eP(e){const{state:t,labels:n}=e,r=k.useRef(e.onDiscard);if(r.current=e.onDiscard,k.useEffect(()=>()=>{r.current()},[]),!t.available)return c.jsx("p",{className:ti.unavailable,role:"status",children:n.unavailable});const s=!t.dirty||t.invalid||t.saving;return c.jsxs("div",{className:ti.form,children:[t.writable?null:c.jsx("p",{className:ti.readOnly,role:"status",children:n.readOnly}),e.children,c.jsxs("div",{className:ti.footer,children:[t.failed?c.jsx("p",{className:ti.failed,role:"status",children:n.saveFailed}):null,c.jsx("button",{type:"button",className:ti.save,disabled:s,onClick:e.onSave,children:t.saving?n.saving:n.save})]})]})}const tP="_field_gjqax_3",nP="_head_gjqax_14",rP="_label_gjqax_20",oP="_labelGroup_gjqax_29",iP="_helpButton_gjqax_41",sP="_help_gjqax_41",aP="_badges_gjqax_83",lP="_reset_gjqax_89",cP="_input_gjqax_108",uP="_invalid_gjqax_134",dP="_hint_gjqax_141",Lt={field:tP,head:nP,label:rP,labelGroup:oP,helpButton:iP,help:sP,badges:aP,reset:lP,input:cP,invalid:uP,hint:dP};function fP(e){const[t,n]=k.useState(!1),r=`${e.id}-help`,s=`${e.id}-message`,l=e.invalid||!!e.hint,u=[l?s:"",t?r:""].filter(Boolean).join(" ");return c.jsxs("div",{className:Lt.field,children:[c.jsxs("div",{className:Lt.head,children:[c.jsxs("div",{className:Lt.labelGroup,children:[c.jsx("label",{className:Lt.label,htmlFor:e.id,children:e.label}),e.help!==void 0?c.jsx("button",{type:"button",className:Lt.helpButton,"aria-label":e.help.label,"aria-expanded":t,"aria-controls":r,onClick:()=>{n(!t)},children:c.jsx(A8,{size:12})}):null]}),e.overridden?c.jsxs("span",{className:Lt.badges,children:[c.jsx(J0,{tone:"neutral",children:e.overriddenLabel}),c.jsx("button",{type:"button",className:Lt.reset,disabled:e.disabled,onClick:e.onReset,children:e.resetLabel})]}):null]}),c.jsx("input",{id:e.id,className:Lt.input,type:"text",...e.numeric===!0?{inputMode:"numeric"}:{},...e.invalid?{"aria-invalid":!0}:{},"aria-describedby":u||void 0,value:e.text,placeholder:e.placeholder??"",disabled:e.disabled,onChange:f=>{e.onEdit(f.target.value)}}),l?c.jsx("p",{id:s,className:e.invalid?Lt.invalid:Lt.hint,children:e.invalid?e.invalidLabel:e.hint}):null,e.help!==void 0&&t?c.jsx("div",{id:r,className:Lt.help,role:"region","aria-label":e.help.label,children:e.help.content}):null]})}function hP(e){return c.jsxs("div",{className:Lt.field,children:[c.jsxs("div",{className:Lt.head,children:[c.jsx("label",{className:Lt.label,htmlFor:e.id,children:e.label}),c.jsx("span",{className:Lt.badges,children:c.jsx(J0,{tone:e.configured?"neutral":"quiet",children:e.stateLabel})})]}),c.jsx("input",{id:e.id,className:Lt.input,type:"password",autoComplete:"new-password",value:e.text,disabled:e.disabled,onChange:t=>{e.onEdit(t.target.value)}}),c.jsx("p",{className:Lt.hint,children:e.hint})]})}function pP(e){return{field:e,format:t=>typeof t=="number"?String(t):"",parse:t=>{const n=t.trim();if(n==="")return{kind:"clear"};const r=Number(n);return Number.isFinite(r)?{kind:"set",value:r}:void 0}}}function mP(e){return{field:e,format:t=>typeof t=="string"?t:"",parse:t=>{const n=t.trim();return n===""?{kind:"clear"}:{kind:"set",value:n}}}}class gP{constructor(t,n,r=[]){this.scope=t,this.specs=new Map(n.map(s=>[s.field,s])),this.secretSpecs=new Map(r.map(s=>[s.field,s])),this.unsubscribe=t.subscribe(()=>{this.publish()})}specs;secretSpecs;staged=new Map;listeners=new Set;baseline;unsubscribe;saving=!1;failed=!1;bind(t){const n=ol(t());return this.listeners.add(()=>{n.set(t())}),n}shell(){const t=this.scope.getSnapshot(),n=this.plan();return{available:t.status==="ready",writable:t.writable,dirty:n.length>0,invalid:n.some(r=>r.run===void 0&&r.op===void 0),saving:this.saving,failed:this.failed}}field(t){const n=this.staged.get(t);if(this.secretSpecs.has(t))return{text:n?.text??"",overridden:!1,invalid:!1};const r=this.spec(t);if(n===void 0)return{text:r.format(this.sectionValue(t)),overridden:this.stored(t),invalid:!1};const s=n.clear?{kind:"clear"}:r.parse(n.text);return{text:n.text,overridden:s?.kind==="set",invalid:s===void 0}}actions(){return{edit:(t,n)=>{this.stage(t,{text:n,clear:!1})},resetField:t=>{this.stage(t,{text:this.spec(t).format(this.baseValue(t)),clear:!0})},save:()=>{this.save()},discard:()=>{this.staged.size===0&&!this.failed||(this.staged.clear(),this.baseline=void 0,this.failed=!1,this.publish())}}}async save(){const t=this.plan();if(!(!t.length||this.saving||!this.scope.getSnapshot().writable||t.some(n=>n.run===void 0&&n.op===void 0))){this.saving=!0,this.failed=!1,this.publish();try{const n=t.flatMap(s=>s.op===void 0?[]:[s.op]);let r=!n.length||await this.scope.mutate(n,this.baseline?.revision);if(!r){this.failed=!0;return}for(const s of t)s.run&&(r=await s.run()&&r);r&&(this.staged.clear(),this.baseline=void 0),this.failed=!r}catch{this.failed=!0}finally{this.saving=!1,this.publish()}}}dispose(){this.unsubscribe(),this.listeners.clear()}plan(){const t=[];for(const[n,r]of this.staged){const s=this.secretSpecs.get(n);if(s!==void 0){const f=r.text.trim();f!==""&&t.push({field:n,run:()=>s.write(f)});continue}const l=this.spec(n);if(r.clear){this.stored(n)&&t.push({field:n,op:{op:"unset",path:[n]}});continue}if(r.text===l.format(this.sectionValue(n)))continue;const u=l.parse(r.text);u===void 0?t.push({field:n}):u.kind==="clear"?t.push({field:n,op:{op:"unset",path:[n]}}):t.push({field:n,op:{op:"set",path:[n],value:u.value}})}return t}stage(t,n){this.baseline??=this.scope.getSnapshot(),this.staged.set(t,n),this.failed=!1,this.publish()}spec(t){const n=this.specs.get(t);if(n===void 0)throw new Error(`plugin card has no field ${t}`);return n}snapshotOf(){return this.scope.getSnapshot()}sectionValue(t){return this.snapshotOf().value?.[t]}baseValue(t){return this.snapshotOf().base?.[t]}userLayer(){return this.snapshotOf().user}stored(t){const n=this.userLayer();return n!==void 0&&Object.hasOwn(n,t)}publish(){for(const t of this.listeners)t()}}const vP="modulepreload",wP=function(e,t){return new URL(e,t).href},r6={},je=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(v){return Promise.all(v.map(w=>Promise.resolve(w).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const f=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),m=p?.nonce||p?.getAttribute("nonce");s=u(n.map(v=>{if(v=wP(v,r),v in r6)return;r6[v]=!0;const w=v.endsWith(".css"),y=w?'[rel="stylesheet"]':"";if(!!r)for(let E=f.length-1;E>=0;E--){const M=f[E];if(M.href===v&&(!w||M.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${v}"]${y}`))return;const C=document.createElement("link");if(C.rel=w?"stylesheet":vP,w||(C.as="script"),C.crossOrigin="",C.href=v,m&&C.setAttribute("nonce",m),document.head.appendChild(C),w)return new Promise((E,M)=>{C.addEventListener("load",E),C.addEventListener("error",()=>M(new Error(`Unable to preload CSS for ${v}`)))})}))}function l(u){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=u,window.dispatchEvent(f),!f.defaultPrevented)throw u}return s.then(u=>{for(const f of u||[])f.status==="rejected"&&l(f.reason);return t().catch(l)})},yP=[Ig,Og,Lg],xP=new Map([["python",()=>je(()=>import("./langs/python-B6aJPvgy.js"),[],import.meta.url)],["ruby",()=>je(()=>import("./langs/ruby-rH_O_vse.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url)],["go",()=>je(()=>import("./langs/go-C27-OAKa.js"),[],import.meta.url)],["rust",()=>je(()=>import("./langs/rust-DPvrY3IQ.js"),[],import.meta.url)],["java",()=>je(()=>import("./langs/java-CylS5w8V.js"),[],import.meta.url)],["c",()=>je(()=>import("./langs/c-BIGW1oBm.js"),[],import.meta.url)],["cpp",()=>je(()=>import("./langs/cpp-DddhVWhK.js"),__vite__mapDeps([10,11]),import.meta.url)],["csharp",()=>je(()=>import("./langs/csharp-B_TYUkTI.js"),[],import.meta.url)],["kotlin",()=>je(()=>import("./langs/kotlin-BdnUsdx6.js"),[],import.meta.url)],["swift",()=>je(()=>import("./langs/swift-C2oV4EkX.js"),[],import.meta.url)],["php",()=>je(()=>import("./langs/php-D8omCIuJ.js"),__vite__mapDeps([14,1,2,3,4,5,6,8,9]),import.meta.url)],["yaml",()=>je(()=>import("./langs/yaml-Buea-lGh.js"),[],import.meta.url)],["toml",()=>je(()=>import("./langs/toml-vGWfd6FD.js"),[],import.meta.url)],["ini",()=>je(()=>import("./langs/ini-BEwlwnbL.js"),[],import.meta.url)],["markdown",()=>je(()=>import("./langs/markdown-Cvjx9yec.js"),[],import.meta.url)],["mdx",()=>je(()=>import("./langs/mdx-Cmh6b_Ma.js"),[],import.meta.url)],["html",()=>je(()=>import("./langs/html-D5X2rnY9.js"),__vite__mapDeps([1,2,3]),import.meta.url)],["css",()=>je(()=>import("./langs/css-Z72CF80r.js"),[],import.meta.url)],["scss",()=>je(()=>import("./langs/scss-Cw6XMfVs.js"),__vite__mapDeps([15,3]),import.meta.url)],["less",()=>je(()=>import("./langs/less-B1dDrJ26.js"),[],import.meta.url)],["sql",()=>je(()=>import("./langs/sql-DkvoVjww.js"),[],import.meta.url)],["xml",()=>je(()=>import("./langs/xml-sdJ4AIDG.js"),__vite__mapDeps([4,5]),import.meta.url)],["lua",()=>je(()=>import("./langs/lua-BaeVxFsk.js"),__vite__mapDeps([12,11]),import.meta.url)],["bat",()=>je(()=>import("./langs/bat-CickPsom.js"),[],import.meta.url)],["powershell",()=>je(()=>import("./langs/powershell-Dd0kTxKP.js"),[],import.meta.url)],["fish",()=>je(()=>import("./langs/fish-BvzEVeQv.js"),[],import.meta.url)],["dotenv",()=>je(()=>import("./langs/dotenv-De0Btta0.js"),[],import.meta.url)],["log",()=>je(()=>import("./langs/log-2UxHyX5q.js"),[],import.meta.url)],["csv",()=>je(()=>import("./langs/csv-fuZLfV_i.js"),[],import.meta.url)],["diff",()=>je(()=>import("./langs/diff-D97Zzqfu.js"),[],import.meta.url)],["http",()=>je(()=>import("./langs/http-BvreBIbD.js"),__vite__mapDeps([16,8,9,4,5,7,2]),import.meta.url)],["rst",()=>je(()=>import("./langs/rst-Do7RLLCS.js"),__vite__mapDeps([17,18,1,2,3,10,11,19,8,9,13,20,0,4,5,6,7,12]),import.meta.url)],["latex",()=>je(()=>import("./langs/latex-BK3a6r9z.js"),__vite__mapDeps([21,22]),import.meta.url)],["bibtex",()=>je(()=>import("./langs/bibtex-CHM0blh-.js"),[],import.meta.url)],["asciidoc",()=>je(()=>import("./langs/asciidoc-CSVQ5wI8.js"),[],import.meta.url)],["r",()=>je(()=>import("./langs/r-Cf5RLm7j.js"),[],import.meta.url)],["julia",()=>je(()=>import("./langs/julia-Cvj785wQ.js"),__vite__mapDeps([23,10,11,19,2,22,6]),import.meta.url)],["dart",()=>je(()=>import("./langs/dart-CtKP3W-j.js"),[],import.meta.url)],["scala",()=>je(()=>import("./langs/scala-CqE71os6.js"),[],import.meta.url)],["clojure",()=>je(()=>import("./langs/clojure-P80f7IUj.js"),[],import.meta.url)],["erlang",()=>je(()=>import("./langs/erlang-DsQrWhSR.js"),__vite__mapDeps([24,25]),import.meta.url)],["elixir",()=>je(()=>import("./langs/elixir-23K7EnKp.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)],["haskell",()=>je(()=>import("./langs/haskell-Df6bDoY_.js"),[],import.meta.url)],["fsharp",()=>je(()=>import("./langs/fsharp-CXgrBDvD.js"),__vite__mapDeps([27,25]),import.meta.url)],["vb",()=>je(()=>import("./langs/vb-Cu-pLBUe.js"),[],import.meta.url)],["perl",()=>je(()=>import("./langs/perl-Devmrv7e.js"),__vite__mapDeps([28,1,2,3,4,5,6]),import.meta.url)],["verilog",()=>je(()=>import("./langs/verilog-nZwndyjY.js"),[],import.meta.url)],["system-verilog",()=>je(()=>import("./langs/system-verilog-0hqHdDBg.js"),[],import.meta.url)],["graphql",()=>je(()=>import("./langs/graphql-ChAeyPkT.js"),__vite__mapDeps([7,2,8,9]),import.meta.url)],["proto",()=>je(()=>import("./langs/proto-C7zT0LnQ.js"),[],import.meta.url)],["hcl",()=>je(()=>import("./langs/hcl-BWvSN4gD.js"),[],import.meta.url)],["nix",()=>je(()=>import("./langs/nix-CwoSXNpI.js"),[],import.meta.url)],["vue",()=>je(()=>import("./langs/vue-C4DW8agZ.js"),__vite__mapDeps([29,3,2,8,9,1,18]),import.meta.url)],["svelte",()=>je(()=>import("./langs/svelte-xZy73wAj.js"),__vite__mapDeps([30,2,8,9,3]),import.meta.url)],["make",()=>je(()=>import("./langs/make-CHLpvVh8.js"),[],import.meta.url)],["cmake",()=>je(()=>import("./langs/cmake-D1j8_8rp.js"),[],import.meta.url)],["groovy",()=>je(()=>import("./langs/groovy-gcz8RCvz.js"),[],import.meta.url)]]),_P=new Map([["typescript","typescript"],["ts","typescript"],["tsx","typescript"],["javascript","typescript"],["js","typescript"],["jsx","typescript"],["shellscript","shellscript"],["bash","shellscript"],["sh","shellscript"],["shell","shellscript"],["zsh","shellscript"],["json","json"],["jsonc","json"],["py","python"],["python","python"],["rb","ruby"],["ruby","ruby"],["go","go"],["rs","rust"],["rust","rust"],["java","java"],["c","c"],["cpp","cpp"],["cs","csharp"],["csharp","csharp"],["kotlin","kotlin"],["swift","swift"],["php","php"],["yaml","yaml"],["yml","yaml"],["toml","toml"],["ini","ini"],["md","markdown"],["markdown","markdown"],["mdx","mdx"],["html","html"],["css","css"],["scss","scss"],["less","less"],["sql","sql"],["xml","xml"],["lua","lua"],["bat","bat"],["batch","bat"],["powershell","powershell"],["ps1","powershell"],["ps","powershell"],["fish","fish"],["properties","ini"],["dotenv","dotenv"],["env","dotenv"],["log","log"],["csv","csv"],["diff","diff"],["patch","diff"],["http","http"],["rst","rst"],["latex","latex"],["tex","latex"],["bibtex","bibtex"],["bib","bibtex"],["asciidoc","asciidoc"],["adoc","asciidoc"],["r","r"],["julia","julia"],["jl","julia"],["dart","dart"],["scala","scala"],["clojure","clojure"],["clj","clojure"],["erlang","erlang"],["erl","erlang"],["elixir","elixir"],["ex","elixir"],["exs","elixir"],["haskell","haskell"],["hs","haskell"],["fsharp","fsharp"],["fs","fsharp"],["fsi","fsharp"],["fsx","fsharp"],["vb","vb"],["vbnet","vb"],["perl","perl"],["pl","perl"],["pm","perl"],["verilog","verilog"],["v","verilog"],["system-verilog","system-verilog"],["systemverilog","system-verilog"],["sv","system-verilog"],["svh","system-verilog"],["graphql","graphql"],["gql","graphql"],["proto","proto"],["protobuf","proto"],["hcl","hcl"],["tf","hcl"],["tfvars","hcl"],["nix","nix"],["vue","vue"],["svelte","svelte"],["make","make"],["makefile","make"],["mk","make"],["cmake","cmake"],["groovy","groovy"],["gradle","groovy"]]);function xl(e){return e===void 0?void 0:_P.get(e.toLowerCase())}function Vh(e){return xl(e)!==void 0}const CP=Sg({name:"css-variables",variablePrefix:"--shiki-",fontStyle:!0}),bP=jg({forgiving:!0,regexConstructor:e=>Mg(e,{lazyCompileLength:Number.POSITIVE_INFINITY})});let o6;const kP=[{lang:"typescript",code:"const answer: number = 42"},{lang:"shellscript",code:`printf '%s\\n' "$HOME"`},{lang:"json",code:'{"ready":true}'}];function SP(){const e=Eg({themes:[CP],langs:yP,engine:bP});for(const t of kP)e.codeToTokens(t.code,{lang:t.lang,theme:"css-variables",tokenizeTimeLimit:0});return e}function Co(){return o6??=SP(),o6}const i6=new Set,b0=new Set;let Bh=0;function S2(e){return b0.add(e),()=>{b0.delete(e)}}function yi(){return Bh}function j2(e){const t=xP.get(e);return t===void 0||Co().getLoadedLanguages().includes(e)?!0:(i6.has(e)||(i6.add(e),t().then(n=>{Co().loadLanguageSync(n.default),Bh+=1;for(const r of b0)r()})),!1)}const jP=setTimeout(()=>{Co()},0);jP.unref?.();function EP(e,t){const n=xl(t);if(n!==void 0&&j2(n))return Co().codeToHtml(e,{lang:n,theme:"css-variables"})}const MP=[[4,"underline"],[8,"line-through"]];function IP(e){const t={color:e.color},n=e.fontStyle??0;(n&1)!==0&&(t.fontStyle="italic"),(n&2)!==0&&(t.fontWeight="bold");const r=MP.filter(([s])=>(n&s)!==0);return r.length>0&&(t.textDecoration=r.map(([,s])=>s).join(" ")),t}function s6(e){const t=[];let n="";for(const[r,s]of e.entries()){if(/^\s+$/.test(s.content)&&r+1<e.length){n+=s.content;continue}t.push({text:n+s.content,style:IP(s)}),n=""}return t}class OP{resolved;prefix="";spans=[];state;lastCode;lastLang;lastResult;generation=0;lastFrame;reset(t){this.resolved=t,this.prefix="",this.spans=[],this.state=void 0,this.generation+=1,this.lastFrame=void 0}tokenize(t,n){return Co().codeToTokensBase(n,{lang:t,theme:"css-variables",...this.state===void 0?{}:{grammarState:this.state}})}updateFrame(t,n){if(t===this.lastCode&&n===this.lastLang&&this.lastFrame!==void 0)return this.lastFrame;this.lastCode=t,this.lastLang=n,this.lastResult=void 0;const r=xl(n);if(r===void 0||!j2(r)){this.reset(void 0);return}(r!==this.resolved||!t.startsWith(this.prefix))&&this.reset(r);const s=this.spans.length,l=t.slice(this.prefix.length),u=l.lastIndexOf(`
138
+ `);if(u>=0){const f=l[u-1]==="\r"?u-1:u,p=this.tokenize(r,l.slice(0,f));for(const m of p)this.spans.push(s6(m));this.state=Co().getLastGrammarState(p),this.prefix=t.slice(0,this.prefix.length+u+1)}return this.lastFrame={generation:this.generation,appended:this.spans.slice(s),tail:this.tokenize(r,l.slice(u+1)).map(s6)},this.lastFrame}update(t,n){if(t===this.lastCode&&n===this.lastLang&&this.lastResult!==void 0)return this.lastResult;const r=this.updateFrame(t,n);if(r!==void 0)return this.lastResult=[...this.spans,...r.tail],this.lastResult}}function Zh(e,t){const n=xl(t);if(n===void 0||!j2(n))return;const{tokens:r}=Co().codeToTokens(e,{lang:n,theme:"css-variables"}),s=r[r.length-1];return(r.length>1&&s!==void 0&&s.length===0?r.slice(0,-1):r).map(u=>u.map(f=>({text:f.content,style:{color:f.color}})))}const LP={typescript:["ts","tsx","mts","cts"],javascript:["js","jsx","mjs","cjs"],shellscript:["sh","bash","zsh"],fish:["fish"],json:["json","jsonc","jsonl","ndjson","ipynb"],csv:["csv"],python:["py","pyw","pyi"],ruby:["rb","rake","gemspec"],go:["go"],rust:["rs"],java:["java"],c:["c","h"],cpp:["cc","cpp","cxx","hh","hpp","hxx"],csharp:["cs"],kotlin:["kt","kts"],swift:["swift"],php:["php"],yaml:["yaml","yml"],toml:["toml"],ini:["ini","conf","cfg","properties"],dotenv:["env"],log:["log"],diff:["diff","patch"],http:["http"],markdown:["md","markdown"],mdx:["mdx"],rst:["rst"],latex:["tex","sty","cls"],bibtex:["bib"],asciidoc:["adoc"],html:["html","htm","xhtml"],css:["css"],scss:["scss"],less:["less"],sql:["sql"],xml:["xml","xsd","xsl","xslt","plist","svg"],lua:["lua"],bat:["bat","cmd"],powershell:["ps1","psm1","psd1"],r:["r"],julia:["jl"],dart:["dart"],scala:["scala"],clojure:["clj","cljs","edn"],erlang:["erl","hrl"],elixir:["ex","exs"],haskell:["hs"],fsharp:["fs","fsi","fsx"],vb:["vb"],perl:["pl","pm"],verilog:["v"],"system-verilog":["sv","svh"],graphql:["graphql","gql"],proto:["proto"],hcl:["tf","tfvars","hcl"],nix:["nix"],vue:["vue"],svelte:["svelte"],make:["makefile","mk"],cmake:["cmake"],groovy:["gradle","groovy"]},Wh=new Map(Object.entries(LP).flatMap(([e,t])=>t.map(n=>[n,e]))),TP=[...Wh.keys()];function zP(e){const t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\")),n=e.slice(t+1),r=n.lastIndexOf(".");return r<0?void 0:n.slice(r+1).toLowerCase()}function k0(e){const t=zP(e);return t===void 0?void 0:Wh.get(t)}function PP(e){const t=k.useSyncExternalStore(S2,yi,yi);return k.useCallback(n=>Zh(n,e),[e,t])}function NP(e,t){const l=Math.max(0,t-e);return l<6e4?{unit:"now",n:0}:l<36e5?{unit:"minutes",n:Math.floor(l/6e4)}:l<864e5?{unit:"hours",n:Math.floor(l/36e5)}:l<30*864e5?{unit:"days",n:Math.floor(l/864e5)}:l<365*864e5?{unit:"months",n:Math.floor(l/(30*864e5))}:{unit:"years",n:Math.floor(l/(365*864e5))}}function a6(e,t){return t===0||e.charAt(t-1)==="-"||e.charAt(t-1)==="_"?8:0}function AP(e,t){if(t.length>e.length)return;const n=Number.NEGATIVE_INFINITY;let r=Array(e.length).fill(n);for(let l=0;l<e.length;l++)e.charAt(l)===t.charAt(0)&&(r[l]=1+a6(e,l)-l);for(let l=1;l<t.length;l++){const u=Array(e.length).fill(n);let f=n,p=n,m=n;for(const[v,w]of r.entries()){if(p!==n&&(m=Math.max(m,p+v-2)),e.charAt(v)===t.charAt(l)){const y=1+a6(e,v);let x=n;f!==n&&(x=f+y+4),m!==n&&(x=Math.max(x,m+y+1-v)),u[v]=x}p=f,f=w}r=u}let s=n;for(const l of r)s=Math.max(s,l);return s===n?void 0:s}function RP(e,t){const n=t.toLowerCase();if(n==="")return e;const r=[];return e.forEach((s,l)=>{const u=s.label===void 0?[s.name]:[s.name,s.label];let f=!1,p;for(const m of u){const v=m.toLowerCase(),w=AP(v,n);w!==void 0&&(f||=v.startsWith(n),p=p===void 0?w:Math.max(p,w))}p!==void 0&&r.push({item:s,index:l,prefix:f,score:p})}),r.sort((s,l)=>Number(l.prefix)-Number(s.prefix)||l.score-s.score||s.index-l.index),r.map(s=>s.item)}function FP(){return document.documentElement.dataset.platform==="darwin"}const DP="_root_m1m7t_1",$P="_container_m1m7t_30",HP="_expandedTopLevel_m1m7t_39",VP="_topLevelBracket_m1m7t_46",BP="_expandedTopLevelContainer_m1m7t_51",ZP="_row_m1m7t_55",WP="_children_m1m7t_60",UP="_expander_m1m7t_80",qP="_copySlot_m1m7t_92",GP="_label_m1m7t_97",KP="_clickableLabel_m1m7t_103",YP="_stringValue_m1m7t_107",JP="_stringField_m1m7t_111",QP="_stringText_m1m7t_117",XP="_stringRaw_m1m7t_126",eN="_stringActions_m1m7t_136",tN="_stringToggleSlot_m1m7t_159",nN="_stringToggle_m1m7t_159",rN="_summary_m1m7t_198",oN="_numberValue_m1m7t_205",iN="_keywordValue_m1m7t_209",sN="_otherValue_m1m7t_213",aN="_punctuation_m1m7t_217",lN="_preview_m1m7t_221",cN="_previewProperty_m1m7t_225",uN="_previewEllipsis_m1m7t_229",dN="_actionButton_m1m7t_264",fN="_collapseIcon_m1m7t_325",ye={root:DP,container:$P,expandedTopLevel:HP,topLevelBracket:VP,expandedTopLevelContainer:BP,row:ZP,children:WP,expander:UP,copySlot:qP,label:GP,clickableLabel:KP,stringValue:YP,stringField:JP,stringText:QP,stringRaw:XP,stringActions:eN,stringToggleSlot:tN,stringToggle:nN,summary:rN,numberValue:oN,keywordValue:iN,otherValue:sN,punctuation:aN,preview:lN,previewProperty:cN,previewEllipsis:uN,actionButton:dN,collapseIcon:fN},hN=4,pN=5,l6=2;function mN(e){return[{id:"value",label:e.copyValue},{id:"json",label:e.copyJson},{id:"path",label:e.copyPath}]}function gN(e){return[{id:"prettyJson",label:e.copyPrettyJson},{id:"json",label:e.copyCompactJson},{id:"path",label:e.copyPath}]}function vN(){let e;const t=new Map;return{get:()=>e,set(n){const r=e?.id;e=n;for(const s of new Set([r,n?.id]))if(s!==void 0)for(const l of t.get(s)??[])l()},subscribe(n,r){let s=t.get(n);return s===void 0&&t.set(n,s=new Set),s.add(r),()=>{s.delete(r),s.size===0&&t.delete(n)}}}}function wN({store:e,target:t,persistent:n,labels:r,onCopy:s,onClose:l}){const u=ai(t.path),f=k.useCallback(C=>e.subscribe(u,C),[u,e]),p=()=>{const C=e.get();return C?.id===u?C:void 0},m=k.useSyncExternalStore(f,p,p),v=k.useRef(null),w=m?.state??"idle",y=typeof t.value=="object"&&t.value!==null,x=w==="copied"?r.copied:w==="failed"?r.copyFailed:y?r.copyPrettyJson:r.copyValue;return c.jsx("span",{className:ye.copySlot,children:(n||m!==void 0)&&c.jsx(t2,{open:m?.menuOpen===!0,compact:!0,portal:!0,align:"end",anchor:c.jsx("button",{ref:v,type:"button",className:ye.actionButton,"data-json-copy-button":!0,"data-state":w,"aria-label":x,title:r.copyButtonTitle(x),onClick:()=>void s(t,y?"prettyJson":"value"),onContextMenu:C=>{C.preventDefault(),C.stopPropagation(),e.set({id:u,target:t,state:w,menuOpen:!0})},children:w==="copied"?c.jsx(xi,{size:12}):c.jsx(q0,{size:12})}),items:y?gN(r):mN(r),onSelect:C=>{s(t,C)},onClose:l,getAnchorRect:()=>v.current.getBoundingClientRect()})})}function Va(e){return typeof e=="object"&&e!==null&&!(e instanceof Date)}function Ba(e){return Array.isArray(e)?e.map((t,n)=>[String(n),t]):Object.keys(e).map(t=>[t,e[t]])}function E2(e){return Array.isArray(e)?["[","]"]:["{","}"]}function yN(e){return e===null?c.jsx("span",{className:ye.keywordValue,children:"null"}):typeof e=="string"?c.jsx("span",{className:ye.stringValue,children:JSON.stringify(e)}):typeof e=="number"?c.jsx("span",{className:ye.numberValue,children:String(e)}):typeof e=="boolean"?c.jsx("span",{className:ye.keywordValue,children:String(e)}):typeof e=="bigint"?c.jsx("span",{className:ye.otherValue,children:e.toString()}):typeof e>"u"?c.jsx("span",{className:ye.otherValue,children:"undefined"}):typeof e=="symbol"?c.jsx("span",{className:ye.otherValue,children:e.description??"Symbol"}):typeof e=="function"?c.jsx("span",{className:ye.otherValue,children:e.name||"Function"}):null}function Uh(e,t){if(!Va(e))return yN(e);const n=Array.isArray(e),r=Ba(e),s=n?pN:hN,l=r.slice(0,s),[u,f]=E2(e);return c.jsxs(c.Fragment,{children:[c.jsx("span",{className:ye.punctuation,children:u}),t>=l6?c.jsx("span",{className:ye.previewEllipsis,children:"…"}):l.map(([p,m],v)=>c.jsxs("span",{children:[v>0&&c.jsx("span",{className:ye.punctuation,children:", "}),!n&&c.jsxs(c.Fragment,{children:[c.jsx("span",{className:ye.previewProperty,children:p}),c.jsx("span",{className:ye.punctuation,children:": "})]}),Uh(m,t+1)]},p)),t<l6&&r.length>s&&c.jsx("span",{className:ye.previewEllipsis,children:", …"}),c.jsx("span",{className:ye.punctuation,children:f})]})}function qh(e){return e===null?c.jsx("span",{className:ye.keywordValue,children:"null"}):typeof e=="string"?c.jsx("span",{className:ye.stringValue,children:JSON.stringify(e)}):typeof e=="boolean"?c.jsx("span",{className:ye.keywordValue,children:String(e)}):typeof e=="number"?c.jsx("span",{className:ye.numberValue,children:String(e)}):typeof e=="bigint"?c.jsx("span",{className:ye.numberValue,children:`${e.toString()}n`}):e instanceof Date?c.jsx("span",{className:ye.otherValue,children:e.toISOString()}):typeof e=="function"?c.jsxs("span",{className:ye.otherValue,children:["function() ","{ }"]}):typeof e>"u"?c.jsx("span",{className:ye.otherValue,children:"undefined"}):c.jsx("span",{className:ye.otherValue,children:e.toString()})}function S0(e){return e===""?'""':e}function ai(e){return e.map(t=>typeof t=="number"?`n${String(t)}`:`s${String(t.length)}:${t}`).join("/")}function Gh(e){e.focus()}function xN(e,t){const n=e.closest('[role="tree"]');if(n===null)return;const r=Array.from(n.querySelectorAll("[data-json-expander]")),s=r.indexOf(e);if(s<0||r.length===0)return;const l=(s+t+r.length)%r.length,u=r[l];u!==void 0&&Gh(u)}function Hu({field:e,expandable:t,onToggle:n}){return e===void 0?null:c.jsxs("span",{className:pe(ye.label,t&&ye.clickableLabel),onClick:t?n:void 0,children:[S0(e),":"]})}function _N({collapsedStringLines:e,stringWrapping:t,field:n,labels:r,lastElement:s,renderCopy:l,value:u}){const f=k.useId(),p=k.useRef(null),m=k.useRef(null),[v,w]=k.useState(!1),[y,x]=k.useState(!1),[C,E]=k.useState(!1);if(k.useLayoutEffect(()=>{if(v)return;const M=p.current,P=()=>{const $=Number.parseFloat(getComputedStyle(M).lineHeight);E(M.scrollHeight>$*e)};if(P(),typeof ResizeObserver>"u")return;const O=new ResizeObserver(P);return O.observe(M),()=>{O.disconnect()}},[e,v,n,s,u]),k.useLayoutEffect(()=>{if(!v)return;const M=m.current,P=[],O=M.closest(`.${ye.root}`);for(let W=O.parentElement;W!==null;W=W.parentElement)/auto|scroll|hidden|clip/.test(getComputedStyle(W).overflowY)&&P.push(W);const $=()=>{let W=0,V=window.innerHeight;for(const H of P){const te=H.getBoundingClientRect(),Z=getComputedStyle(H);W=Math.max(W,te.top+H.clientTop),V=Math.min(V,te.top+H.clientTop+H.clientHeight-Number.parseFloat(Z.paddingBottom))}const J=V-Math.max(W,M.getBoundingClientRect().top);M.style.maxHeight=`${Math.max(16,J-4)}px`};$();const z=typeof ResizeObserver>"u"?void 0:new ResizeObserver($);z?.observe(M);for(const W of P)z?.observe(W);return window.addEventListener("resize",$),window.addEventListener("scroll",$,!0),()=>{z?.disconnect(),window.removeEventListener("resize",$),window.removeEventListener("scroll",$,!0)}},[v,u]),v){const M=`${f}-field`;return c.jsxs("div",{className:ye.stringField,"data-expanded":!0,children:[n!==void 0&&c.jsxs("span",{id:M,className:ye.label,children:[S0(n),":"]}),c.jsx("pre",{ref:m,id:f,className:ye.stringRaw,"data-wrap":y,tabIndex:0,"aria-labelledby":n===void 0?void 0:M,children:u}),!s&&c.jsx("span",{className:ye.punctuation,children:","}),c.jsxs("div",{className:ye.stringActions,children:[t!==void 0&&c.jsx("button",{type:"button",className:ye.actionButton,"aria-label":t.label,title:t.label,"aria-pressed":y,"aria-controls":f,onClick:()=>{const P=!y;x(P),t.setDefault(P)},children:c.jsx(H8,{size:12})}),c.jsx("button",{type:"button",className:ye.actionButton,"aria-label":r.collapseNode,title:r.collapseNode,"aria-expanded":!0,"aria-controls":f,onClick:()=>{w(!1)},children:c.jsx("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor","aria-hidden":"true",children:c.jsx("path",{d:"M9.5 1.5V6.5H14.5M1.5 9.5H6.5V14.5"})})}),l?.(!0)]})]})}return c.jsxs(c.Fragment,{children:[l?.(),c.jsx("span",{className:ye.stringField,"data-expanded":v,children:c.jsxs("span",{ref:p,id:f,className:ye.stringText,children:[C&&c.jsx("span",{className:ye.stringToggleSlot,children:c.jsxs("button",{type:"button",className:ye.stringToggle,"aria-label":r.expandNode,"aria-expanded":!1,"aria-controls":f,onClick:()=>{x(t?.getDefault()??!1),w(!0)},children:[c.jsx("span",{"aria-hidden":"true",children:"…"}),r.expandNode]})}),n!==void 0&&c.jsxs("span",{className:ye.label,children:[S0(n),":"]}),qh(u),!s&&c.jsx("span",{className:ye.punctuation,children:","})]})})]})}function j0({collapsedStringLines:e,stringWrapping:t,field:n,initialExpanded:r,labels:s,lastElement:l,onClaimTabStop:u,onRowHover:f,path:p,renderCopy:m,tabStopId:v,value:w}){const y=k.useId(),x=k.useRef(null),[C,E]=k.useState(r),M=ai(p),P=Va(w),O=P?Ba(w):[],$=O.length>0,z=()=>{E(te=>!te),Gh(x.current)},W=te=>{if(te.key==="ArrowRight"||te.key==="ArrowLeft"){te.preventDefault(),E(te.key==="ArrowRight");return}(te.key==="ArrowUp"||te.key==="ArrowDown")&&(te.preventDefault(),xN(te.currentTarget,te.key==="ArrowUp"?-1:1))},V=(te,Z)=>c.jsxs("div",{className:ye.row,role:"treeitem","aria-expanded":Z,onMouseOver:me=>{me.stopPropagation(),f(me.currentTarget,{path:p,value:w})},children:[typeof w!="string"&&m?.({path:p,value:w}),te]});if(typeof w=="string")return V(c.jsx(_N,{collapsedStringLines:e,stringWrapping:t,field:n,value:w,labels:s,lastElement:l,renderCopy:m===void 0?void 0:te=>m({path:p,value:w},te)}));if(!P)return V(c.jsxs(c.Fragment,{children:[c.jsx(Hu,{field:n,expandable:!1,onToggle:z}),qh(w),!l&&c.jsx("span",{className:ye.punctuation,children:","})]}));const[J,H]=E2(w);return $?V(c.jsxs(c.Fragment,{children:[c.jsx("span",{ref:x,className:pe(ye.expander,C?ye.collapseIcon:ye.expandIcon),"data-json-expander":!0,role:"button","aria-label":C?s.collapseNode:s.expandNode,"aria-expanded":C,"aria-controls":C?y:void 0,tabIndex:v===M?0:-1,onFocus:()=>{u(M)},onClick:z,onKeyDown:W}),c.jsxs("span",{className:ye.summary,children:[c.jsx(Hu,{field:n,expandable:!0,onToggle:z}),c.jsx("span",{className:ye.preview,children:Uh(w,0)}),!l&&c.jsx("span",{className:ye.punctuation,children:","})]}),C&&c.jsx("ul",{id:y,role:"group",className:ye.children,children:O.map(([te,Z],me)=>c.jsx(j0,{collapsedStringLines:e,stringWrapping:t,field:te,value:Z,path:[...p,Array.isArray(w)?me:te],labels:s,lastElement:me===O.length-1,initialExpanded:!1,tabStopId:v,onClaimTabStop:u,onRowHover:f,renderCopy:m},te))})]}),C):V(c.jsxs(c.Fragment,{children:[c.jsx(Hu,{field:n,expandable:!1,onToggle:z}),c.jsx("span",{className:ye.punctuation,children:J}),c.jsx("span",{className:ye.punctuation,children:H}),!l&&c.jsx("span",{className:ye.punctuation,children:","})]}))}function CN(e){return e.reduce((t,n)=>typeof n=="number"?`${t}[${String(n)}]`:/^[A-Za-z_$][\w$]*$/.test(n)?`${t}.${n}`:`${t}[${JSON.stringify(n)}]`,"$")}function bN(e,t){return t==="path"?CN(e.path):t==="prettyJson"?JSON.stringify(e.value,null,2):t==="json"?JSON.stringify(e.value):typeof e.value=="string"?e.value:typeof e.value>"u"?"undefined":typeof e.value=="bigint"?e.value.toString():typeof e.value=="symbol"?e.value.description??"Symbol":typeof e.value=="function"?e.value.name||"Function":JSON.stringify(e.value)}function kN({data:e,label:t,className:n,collapsedStringLines:r=3,stringWrapping:s,copyable:l=!0,expandTopLevel:u=!0,labels:f}){const p=Ba(e),m=p.findIndex(([,Z])=>Va(Z)&&Ba(Z).length>0),v=p[m],w=u?v===void 0?null:ai([Array.isArray(e)?m:v[0]]):Va(e)&&p.length>0?ai([]):null,y=k.useRef(),x=k.useRef(),C=k.useRef(0),[E]=k.useState(vN),[M,P]=k.useState(w),O=Z=>{y.current?.removeAttribute("data-json-copy-active"),y.current=Z,Z?.setAttribute("data-json-copy-active","")},$=()=>{C.current+=1,x.current!==void 0&&clearTimeout(x.current),O(void 0),E.set(void 0)};k.useEffect(()=>()=>{C.current+=1,x.current!==void 0&&clearTimeout(x.current),y.current?.removeAttribute("data-json-copy-active")},[]),k.useEffect(()=>{$(),P(w)},[e,u,w]);const z=(Z,me)=>{!l||E.get()?.menuOpen||y.current!==Z&&(O(Z),E.set({id:ai(me.path),target:me,state:"idle",menuOpen:!1}))},W=Z=>{!l||E.get()?.menuOpen||Z.target instanceof Element&&Z.target.closest("[data-json-copy-button]")===null&&$()},V=async(Z,me)=>{const ge=++C.current,oe={id:ai(Z.path),target:Z,state:"idle",menuOpen:!1};E.set(oe);let ae;try{await navigator.clipboard.writeText(bN(Z,me)),ae="copied"}catch{ae="failed"}const Ie=E.get();ge!==C.current||Ie?.target!==Z||(E.set({...Ie,state:ae}),x.current!==void 0&&clearTimeout(x.current),x.current=setTimeout(()=>{const xe=E.get();xe?.target===Z&&E.set({...xe,state:"idle"})},1500))},[J,H]=E2(e),te=l?(Z,me=!1)=>c.jsx(wN,{store:E,target:Z,persistent:me,labels:f,onCopy:V,onClose:$}):void 0;return c.jsx("div",{className:pe(ye.root,n),style:{"--json-tree-collapsed-lines":r},onMouseOver:W,onMouseLeave:()=>{E.get()?.menuOpen||$()},children:u?c.jsxs("div",{className:ye.expandedTopLevel,children:[c.jsxs("div",{className:pe(ye.row,ye.topLevelBracket),"data-json-root-row":!0,onMouseOver:Z=>{Z.stopPropagation(),z(Z.currentTarget,{path:[],value:e})},children:[te?.({path:[],value:e}),c.jsx("span",{className:ye.punctuation,children:J})]}),c.jsx("div",{"aria-label":t,className:pe(ye.container,ye.expandedTopLevelContainer),role:"tree",children:p.map(([Z,me],ge)=>c.jsx(j0,{collapsedStringLines:r,stringWrapping:s,field:Z,value:me,path:[Array.isArray(e)?ge:Z],labels:f,lastElement:ge===p.length-1,initialExpanded:!1,tabStopId:M,onClaimTabStop:P,onRowHover:z,renderCopy:te},Z))}),c.jsx("div",{className:pe(ye.row,ye.topLevelBracket),children:c.jsx("span",{className:ye.punctuation,children:H})})]}):c.jsx("div",{"aria-label":t,className:ye.container,role:"tree",children:c.jsx(j0,{collapsedStringLines:r,stringWrapping:s,value:e,path:[],labels:f,lastElement:!0,initialExpanded:!0,tabStopId:M,onClaimTabStop:P,onRowHover:z,renderCopy:te})})})}var Vu,c6;function SN(){if(c6)return Vu;c6=1;const e=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],t=/(https?:\/\/(?:[A-Za-z0-9#;/?:@=+$',_.!~*()[\]-]|&amp;|%[A-Fa-f0-9]{2})+)/gm;class n{static escapeForHtml(s){return new n().escapeForHtml(s)}static linkify(s){return new n().linkify(s)}static ansiToHtml(s,l){return new n().ansiToHtml(s,l)}static ansiToJson(s,l){return new n().ansiToJson(s,l)}static ansiToText(s){return new n().ansiToText(s)}constructor(){this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0,this.decorations=[]}setupPalette(){this.PALETTE_COLORS=[];for(let f=0;f<2;++f)for(let p=0;p<8;++p)this.PALETTE_COLORS.push(e[f][p].color);let s=[0,95,135,175,215,255],l=(f,p,m)=>s[f]+", "+s[p]+", "+s[m];for(let f=0;f<6;++f)for(let p=0;p<6;++p)for(let m=0;m<6;++m)this.PALETTE_COLORS.push(l(f,p,m));let u=8;for(let f=0;f<24;++f,u+=10)this.PALETTE_COLORS.push(u+", "+u+", "+u)}escapeForHtml(s){return s.replace(/[&<>\"]/gm,l=>l=="&"?"&amp;":l=='"'?"&quot;":l=="<"?"&lt;":l==">"?"&gt;":"")}linkify(s){return s.replace(t,l=>`<a href="${l}">${l}</a>`)}ansiToHtml(s,l){return this.process(s,l,!0)}ansiToJson(s,l){return l=l||{},l.json=!0,l.clearLine=!1,this.process(s,l,!0)}ansiToText(s){return this.process(s,{},!1)}process(s,l,u){let f=this,p=s.split(/\033\[/),m=p.shift();l==null&&(l={}),l.clearLine=/\r/.test(s);let v=p.map(w=>this.processChunk(w,l,u));if(l&&l.json){let w=f.processChunkJson("");return w.content=m,w.clearLine=l.clearLine,v.unshift(w),l.remove_empty&&(v=v.filter(y=>!y.isEmpty())),v}else v.unshift(m);return v.join("")}processChunkJson(s,l,u){l=typeof l>"u"?{}:l;let f=l.use_classes=typeof l.use_classes<"u"&&l.use_classes,p=l.key=f?"class":"color",m={content:s,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,isInverted:!1,clearLine:l.clearLine,decoration:null,decorations:[],was_processed:!1,isEmpty:()=>!m.content},v=s.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!v)return m;m.content=v[4];let w=v[2].split(";");if(v[1]!==""||v[3]!=="m"||!u)return m;let y=this;for(;w.length>0;){let x=w.shift(),C=parseInt(x);if(isNaN(C)||C===0)y.fg=y.bg=null,y.decorations=[];else if(C===1)y.decorations.push("bold");else if(C===2)y.decorations.push("dim");else if(C===3)y.decorations.push("italic");else if(C===4)y.decorations.push("underline");else if(C===5)y.decorations.push("blink");else if(C===7)y.decorations.push("reverse");else if(C===8)y.decorations.push("hidden");else if(C===9)y.decorations.push("strikethrough");else if(C===21)y.removeDecoration("bold");else if(C===22)y.removeDecoration("bold"),y.removeDecoration("dim");else if(C===23)y.removeDecoration("italic");else if(C===24)y.removeDecoration("underline");else if(C===25)y.removeDecoration("blink");else if(C===27)y.removeDecoration("reverse");else if(C===28)y.removeDecoration("hidden");else if(C===29)y.removeDecoration("strikethrough");else if(C===39)y.fg=null;else if(C===49)y.bg=null;else if(C>=30&&C<38)y.fg=e[0][C%10][p];else if(C>=90&&C<98)y.fg=e[1][C%10][p];else if(C>=40&&C<48)y.bg=e[0][C%10][p];else if(C>=100&&C<108)y.bg=e[1][C%10][p];else if(C===38||C===48){let E=C===38;if(w.length>=1){let M=w.shift();if(M==="5"&&w.length>=1){let P=parseInt(w.shift());if(P>=0&&P<=255)if(!f)this.PALETTE_COLORS||y.setupPalette(),E?y.fg=this.PALETTE_COLORS[P]:y.bg=this.PALETTE_COLORS[P];else{let O=P>=16?"ansi-palette-"+P:e[P>7?1:0][P%8].class;E?y.fg=O:y.bg=O}}else if(M==="2"&&w.length>=3){let P=parseInt(w.shift()),O=parseInt(w.shift()),$=parseInt(w.shift());if(P>=0&&P<=255&&O>=0&&O<=255&&$>=0&&$<=255){let z=P+", "+O+", "+$;f?E?(y.fg="ansi-truecolor",y.fg_truecolor=z):(y.bg="ansi-truecolor",y.bg_truecolor=z):E?y.fg=z:y.bg=z}}}}}return y.fg===null&&y.bg===null&&y.decorations.length===0||(m.fg=y.fg,m.bg=y.bg,m.fg_truecolor=y.fg_truecolor,m.bg_truecolor=y.bg_truecolor,m.decorations=y.decorations,m.decoration=y.decorations.slice(-1).pop()||null,m.was_processed=!0),m}processChunk(s,l,u){l=l||{};let f=this.processChunkJson(s,l,u),p=l.use_classes;if(f.decorations=f.decorations.filter(C=>{if(C==="reverse"){f.fg||(f.fg=e[0][7][p?"class":"color"]),f.bg||(f.bg=e[0][0][p?"class":"color"]);let E=f.fg;f.fg=f.bg,f.bg=E;let M=f.fg_truecolor;return f.fg_truecolor=f.bg_truecolor,f.bg_truecolor=M,f.isInverted=!0,!1}return!0}),l.json)return f;if(f.isEmpty())return"";if(!f.was_processed)return f.content;let m=[],v=[],w=[],y={},x=C=>{let E=[],M;for(M in C)C.hasOwnProperty(M)&&E.push("data-"+M+'="'+this.escapeForHtml(C[M])+'"');return E.length>0?" "+E.join(" "):""};return f.isInverted&&(y["ansi-is-inverted"]="true"),f.fg&&(p?(m.push(f.fg+"-fg"),f.fg_truecolor!==null&&(y["ansi-truecolor-fg"]=f.fg_truecolor,f.fg_truecolor=null)):m.push("color:rgb("+f.fg+")")),f.bg&&(p?(m.push(f.bg+"-bg"),f.bg_truecolor!==null&&(y["ansi-truecolor-bg"]=f.bg_truecolor,f.bg_truecolor=null)):m.push("background-color:rgb("+f.bg+")")),f.decorations.forEach(C=>{if(p){v.push("ansi-"+C);return}C==="bold"?v.push("font-weight:bold"):C==="dim"?v.push("opacity:0.5"):C==="italic"?v.push("font-style:italic"):C==="hidden"?v.push("visibility:hidden"):C==="strikethrough"?w.push("line-through"):w.push(C)}),w.length&&v.push("text-decoration:"+w.join(" ")),p?'<span class="'+m.concat(v).join(" ")+'"'+x(y)+">"+f.content+"</span>":'<span style="'+m.concat(v).join(";")+'"'+x(y)+">"+f.content+"</span>"}removeDecoration(s){const l=this.decorations.indexOf(s);l>=0&&this.decorations.splice(l,1)}}return Vu=n,Vu}var jN=SN();const EN=Us(jN),MN={"0,0,0":"var(--dsw-alias-label-primary)","255,255,255":"var(--dsw-alias-label-primary)","85,85,85":"var(--dsw-alias-label-tertiary)","187,0,0":"var(--dsw-alias-state-error-primary)","255,85,85":"var(--dsw-alias-state-error-secondary)","0,187,0":"var(--dsw-alias-state-success-primary)","0,255,0":"var(--dsw-alias-state-success-secondary)","187,187,0":"var(--dsw-alias-state-warn-primary)","255,255,85":"var(--dsw-alias-state-warn-secondary)","0,0,187":"var(--dsw-alias-state-business-primary)","85,85,255":"var(--dsw-static-blue-400)","0,187,187":"var(--dsw-static-blue-600)","85,255,255":"var(--dsw-static-blue-500)"},IN={bold:{fontWeight:700},dim:{opacity:.7},italic:{fontStyle:"italic"},underline:{textDecoration:"underline"},strikethrough:{textDecoration:"line-through"},hidden:{visibility:"hidden"}},ON=/\u001b\][^\u0007\u001b]*(?:\u0007|\u001b\\)?/g,LN=/\u001b(?!\[)[\u0020-\u002f]*[\u0030-\u007e]?/g,TN=/[\u0000-\u0007\u000b-\u001a\u001c-\u001f\u007f]/g,zN=/\r|\u0008|\u001b\[[\u0030-\u003f]*[\u0020-\u002f]*K/,PN=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*m/g,u6=8,NN=/^[\p{Mn}\p{Me}\p{Cf}\u200b-\u200f\u2060]$/u,AN=new RegExp("\\p{Script=Han}|\\p{Script=Hiragana}|\\p{Script=Katakana}|\\p{Script=Hangul}|\\p{Emoji_Presentation}|[\\uff01-\\uff60\\u3000-\\u303e]","u");function Bu(e){const t=e.codePointAt(0);return t===void 0||t<4352?!1:AN.test(e)}const Ms={fg:"",bg:"",attrs:[]},RN={22:["1","2"],23:["3"],24:["4"],25:["5","6"],27:["7"],28:["8"],29:["9"]};function Kh(e,t){const n=t===""?["0"]:t.split(";");let r=e;for(let s=0;s<n.length;s++){const l=String(n[s]);if(l===""||l==="0"){r=Ms;continue}if(l==="38"||l==="48"){const p=n[s+1]??"",m=p==="2"?4:p==="5"?2:0,v=n.slice(s,s+m+1).join(";");r=l==="38"?{...r,fg:v}:{...r,bg:v},s+=m;continue}const u=RN[l];if(u!==void 0){r={...r,attrs:r.attrs.filter(p=>!u.includes(p))};continue}const f=Number(l);if(l==="39"){r={...r,fg:""};continue}if(l==="49"){r={...r,bg:""};continue}if(f>=30&&f<=37||f>=90&&f<=97){r={...r,fg:l};continue}if(f>=40&&f<=47||f>=100&&f<=107){r={...r,bg:l};continue}r.attrs.includes(l)||(r={...r,attrs:[...r.attrs,l]})}return r}function d6(e){const t=[...e.attrs];return e.fg!==""&&t.push(e.fg),e.bg!==""&&t.push(e.bg),t.length===0?"":`\x1B[${t.join(";")}m`}function wa(e,t){return e.fg===t.fg&&e.bg===t.bg&&e.attrs.length===t.attrs.length&&e.attrs.every((n,r)=>n===t.attrs[r])}function FN(e,t){const n=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*([\u0040-\u007e])/g,r=[];let s=0,l=t,u=0;const f=(w,y)=>{const x=r[w];x?.spacer===!0&&w>0?r[w-1]={sgr:l,char:y}:x!==void 0&&Bu(x.char)&&r[w+1]?.spacer===!0&&(r[w+1]={sgr:l,char:y}),r[w]={sgr:l,char:y}},p=w=>{for(const y of w){if(y==="\r"){s=0;continue}if(y==="\b"){s=Math.max(0,s-1);continue}if(y===" "){const x=s+u6-s%u6;for(;s<x;s++)r[s]??={sgr:l,char:" "};continue}if(NN.test(y)){const x=s>0?r[s-1]:void 0;x!==void 0&&(r[s-1]={sgr:x.sgr,char:x.char+y});continue}f(s," "),r[s]={sgr:l,char:y},s++,Bu(y)&&(r[s]={sgr:l,char:"",spacer:!0},s++)}};for(const w of e.matchAll(n)){p(e.slice(u,w.index)),u=w.index+w[0].length;const y=String(w[1]),x=String(w[2]);if(x==="K"){const C=String(y.split(";")[0]);if(C==="1")for(let E=0;E<=s;E++)f(E," ");else r.length=C==="2"?0:s;continue}x==="m"&&(l=Kh(l,y))}p(e.slice(u));let m="",v=t;for(let w=0;w<r.length;w++){const y=r[w]??{sgr:Ms,char:" "};wa(y.sgr,v)||(wa(v,Ms)||(m+="\x1B[0m"),m+=d6(y.sgr),v=y.sgr);const x=w>0&&Bu(r[w-1]?.char??"");m+=y.spacer===!0&&!x?" ":y.char}return wa(v,l)||(wa(v,Ms)||(m+="\x1B[0m"),m+=d6(l)),{text:m,sgr:l}}function DN(e){const t=[];let n=Ms;for(const r of e.split(`
139
+ `)){const s=r.replace(/\r+$/,"");if(zN.test(s)){const l=FN(s,n);t.push(l.text),n=l.sgr;continue}t.push(s);for(const l of s.matchAll(PN))n=Kh(n,String(l[1]))}return t.join(`
140
+ `)}function $N(e){const t=e.replace(ON,"").replace(LN,"");return DN(t).replace(TN,"")}function HN(e){const t={},n=e.bg===null?void 0:`rgb(${e.bg})`;if(n!==void 0&&(t.backgroundColor=n),e.fg!==null){const r=`rgb(${e.fg})`;t.color=n===void 0?MN[e.fg.replace(/\s+/g,"")]??r:r}for(const r of e.decorations)Object.assign(t,IN[r]);return Object.keys(t).length===0?void 0:t}function VN(e){let t=[];const n=[t];for(const r of EN.ansiToJson($N(e),{json:!0,remove_empty:!0})){const s=HN(r);for(const[l,u]of r.content.split(`
141
+ `).entries())l>0&&(t=[],n.push(t)),u!==""&&t.push({text:u,style:s})}return n}function Yh(e,t,n){const r=e-t,s=Math.ceil(t/2);return{hidden:r,capped:r>0&&!n,headLines:s,tailLines:t-s}}const BN="_block_1fs6g_1",ZN="_header_1fs6g_32",WN="_prompt_1fs6g_70",UN="_promptLine_1fs6g_78",qN="_runState_1fs6g_91",GN="_runStateLabel_1fs6g_99",KN="_cwd_1fs6g_108",YN="_command_1fs6g_118",JN="_status_1fs6g_131",QN="_copyButton_1fs6g_139",XN="_output_1fs6g_159",eA="_line_1fs6g_186",tA="_expand_1fs6g_192",nA="_empty_1fs6g_208",Vt={block:BN,header:ZN,prompt:WN,promptLine:UN,runState:qN,runStateLabel:GN,cwd:KN,command:YN,status:JN,copyButton:QN,output:XN,line:eA,expand:tA,empty:nA},Jh=16;function rA(e,t){const n=e.replace(/[/\\]+$/,"");if(t!==void 0&&n===t.replace(/[/\\]+$/,""))return"~";const r=n.split(/[/\\]/).pop();return r===void 0||r===""?e:r}function Qh(e,t,n){if(t!==void 0)return n.signal(t);if(e===null)return n.noExitCode;if(e!==void 0&&e!==0)return n.exitCode(e)}function oA(e,t,n,r){return e?{state:"ongoing",label:r.running}:Qh(t,n,r)!==void 0?{state:"error",label:r.failed}:{state:"done",label:r.done}}function f6(e){return e.map((t,n)=>t.style===void 0?t.text:c.jsx("span",{style:t.style,children:t.text},n))}function iA({command:e,cwd:t,home:n,output:r,exitCode:s,signal:l,running:u=!1,maxLines:f=Jh,copyText:p,runStateDot:m=!0,className:v,labels:w}){const y=w,x=r??"",C=k.useMemo(()=>{const oe=VN(x),ae=oe[oe.length-1];return oe.length>1&&ae!==void 0&&ae.every(xe=>xe.text==="")?oe.slice(0,-1):oe},[x]),[E,M]=k.useState(!1),{copied:P,onCopy:O}=qs(p??x),$=k.useCallback(()=>{M(oe=>!oe)},[]),z=Qh(s,l,y),W=oA(u,s,l,y),V=k.useMemo(()=>(e.endsWith(`
142
+ `)?e.slice(0,-1):e).split(`
143
+ `),[e]),J=C.every(oe=>oe.every(ae=>ae.text.trim()==="")),{hidden:H,capped:te,headLines:Z,tailLines:me}=Yh(C.length,f,E),ge=!u||!J;return c.jsxs("div",{className:pe(Vt.block,v),"data-terminal":"","data-running":u?"":void 0,"data-body":ge?"":void 0,children:[c.jsxs("div",{className:Vt.header,children:[c.jsxs("div",{className:Vt.prompt,children:[m&&c.jsx("span",{className:Vt.runStateLabel,children:W.label}),V.map((oe,ae)=>c.jsxs("div",{className:Vt.promptLine,children:[ae===0&&m&&c.jsx(K0,{state:W.state,className:Vt.runState}),c.jsx("span",{className:Vt.cwd,children:ae>0||t===void 0?"$":rA(t,n)}),c.jsx("span",{className:Vt.command,children:oe})]},ae))]}),z!==void 0&&c.jsx(Y0,{className:Vt.status,children:z}),(p!==void 0||!u&&!J)&&c.jsx("button",{type:"button",className:Vt.copyButton,onClick:O,children:P?y.copied:y.copy})]}),ge&&(J?c.jsx("div",{className:Vt.empty,children:y.noOutput}):c.jsxs("div",{className:Vt.output,children:[(te?C.slice(0,Z):C).map((oe,ae)=>c.jsx("div",{className:Vt.line,children:f6(oe)},ae)),H>0&&c.jsx("button",{type:"button",className:Vt.expand,"aria-expanded":E,"aria-label":E?y.collapseAria:y.expandAria(H),onClick:$,children:E?y.collapse:y.expand(H)}),te&&C.slice(C.length-me).map((oe,ae)=>c.jsx("div",{className:Vt.line,children:f6(oe)},ae))]}))]})}function Xh({className:e,expanded:t,hidden:n,labels:r,onToggle:s}){return c.jsx("button",{type:"button",className:e,"aria-expanded":t,"aria-label":t?r.collapseAria:r.expandAria(n),onClick:s,children:t?r.collapse:r.expand(n)})}const sA="_card_1pq26_1",aA="_header_1pq26_10",lA="_heading_1pq26_23",cA="_language_1pq26_30",uA="_title_1pq26_36",dA="_actions_1pq26_43",fA="_status_1pq26_50",hA="_action_1pq26_43",pA="_body_1pq26_79",zn={card:sA,header:aA,heading:lA,language:cA,title:uA,actions:dA,status:fA,action:hA,body:pA};function M2({lang:e,title:t,status:n,labels:r,copyLabel:s,copiedLabel:l,copied:u,wrapped:f,onCopy:p,onWrap:m}){const v=f?r.unwrapLabel:r.wrapLabel,w=u?l:s;return c.jsxs("div",{className:zn.header,"data-code-block-banner":!0,children:[c.jsxs("div",{className:zn.heading,children:[c.jsx("span",{className:zn.language,children:Vh(e)?e:r.codeLabel}),t!==void 0&&c.jsx("span",{className:zn.title,title:t,children:t})]}),c.jsxs("div",{className:zn.actions,children:[n!==void 0&&c.jsx("span",{className:zn.status,children:n}),m!==void 0&&c.jsx(Hr,{label:v,side:"top",portal:!0,children:c.jsx("button",{type:"button",className:zn.action,"aria-label":r.wrapLabel,"aria-pressed":f,onClick:m,children:f?c.jsx(B8,{size:14}):c.jsx(W8,{size:14})})}),p!==void 0&&c.jsx(Hr,{label:w,side:"top",portal:!0,children:c.jsx("button",{type:"button",className:zn.action,"aria-label":w,onClick:p,children:u?c.jsx(xi,{size:14}):c.jsx(q0,{size:14})})})]})]})}const mA=()=>{};class gA{observer;activators=new Map;observe(t,n){return typeof IntersectionObserver>"u"?(n(),mA):(this.observer??=new IntersectionObserver(r=>{for(const s of r){if(!s.isIntersecting)continue;const l=this.activators.get(s.target);l!==void 0&&(this.activators.delete(s.target),this.observer?.unobserve(s.target),l())}this.releaseEmptyObserver()}),this.activators.set(t,n),this.observer.observe(t),()=>{this.activators.delete(t),this.observer?.unobserve(t),this.releaseEmptyObserver()})}releaseEmptyObserver(){this.activators.size>0||(this.observer?.disconnect(),this.observer=void 0)}}const vA=new gA;function e9(e,t){const n=Vh(t),[r,s]=k.useState(!1),l=k.useCallback(()=>{s(!0)},[]);return k.useEffect(()=>{if(r||!n)return;const u=e.current;if(u!==null)return vA.observe(u,l)},[l,r,n,e]),r&&n}const wA="_line_cjydv_1",yA="_gutter_cjydv_7",xA="_content_cjydv_16",_A="_block_cjydv_21",CA="_expand_cjydv_29",xs={line:wA,gutter:yA,content:xA,block:_A,expand:CA},t9=16;function bA(e){return e.map((t,n)=>c.jsx("span",{style:t.style,children:t.text},n))}function kA({label:e,labels:t,lines:n,totalLines:r,copyText:s,lang:l,maxLines:u=t9,className:f}){const p=k.useRef(null),m=e9(p,l),v=k.useMemo(()=>n.map(oe=>oe.text).join(`
144
+ `),[n]),w=k.useSyncExternalStore(S2,yi,yi),y=k.useMemo(()=>m?Zh(v,l):void 0,[m,v,l,w]),[x,C]=k.useState(!1),{copied:E,onCopy:M}=qs(s??v),[P,O]=k.useState(!1),$=k.useCallback(()=>{C(oe=>!oe)},[]),z=n.length-u,W=z>0&&!x,V=Math.ceil(u/2),J=u-V,H=n.length<r,te=oe=>oe.map(([ae,Ie])=>c.jsxs("div",{className:xs.line,children:[c.jsx("span",{className:xs.gutter,"aria-hidden":!0,children:ae.number}),c.jsx("span",{className:xs.content,children:Ie===void 0?ae.text:bA(Ie)})]},ae.number)),me={"--dsl-read-gutter":`${n.reduce((oe,ae)=>Math.max(oe,String(ae.number).length),3)}ch`},ge=n.map((oe,ae)=>[oe,y?.[ae]]);return c.jsxs("div",{ref:p,className:pe(zn.card,xs.block,f),"data-read":"","data-code-wrap":P,style:me,children:[c.jsx(M2,{lang:l,title:e,status:H?t.window(n.length,r):void 0,labels:t,copyLabel:t.copy,copiedLabel:t.copied,copied:E,wrapped:P,onCopy:n.length>0?M:void 0,onWrap:()=>{O(oe=>!oe)}}),c.jsxs("div",{className:zn.body,children:[te(W?ge.slice(0,V):ge),z>0&&c.jsx(Xh,{className:xs.expand,expanded:x,hidden:z,labels:t,onToggle:$}),W&&te(ge.slice(ge.length-J))]})]})}class SA{diff(t,n,r={}){let s;typeof r=="function"?(s=r,r={}):"callback"in r&&(s=r.callback);const l=this.castInput(t,r),u=this.castInput(n,r),f=this.removeEmpty(this.tokenize(l,r)),p=this.removeEmpty(this.tokenize(u,r));return this.diffWithOptionsObj(f,p,r,s)}diffWithOptionsObj(t,n,r,s){var l;const u=O=>{if(O=this.postProcess(O,r),s){setTimeout(function(){s(O)},0);return}else return O},f=n.length,p=t.length;let m=1,v=f+p;r.maxEditLength!=null&&(v=Math.min(v,r.maxEditLength));const w=(l=r.timeout)!==null&&l!==void 0?l:1/0,y=Date.now()+w,x=[{oldPos:-1,lastComponent:void 0}];let C=this.extractCommon(x[0],n,t,0,r);if(x[0].oldPos+1>=p&&C+1>=f)return u(this.buildValues(x[0].lastComponent,n,t));let E=-1/0,M=1/0;const P=()=>{for(let O=Math.max(E,-m);O<=Math.min(M,m);O+=2){let $;const z=x[O-1],W=x[O+1];z&&(x[O-1]=void 0);let V=!1;if(W){const H=W.oldPos-O;V=W&&0<=H&&H<f}const J=z&&z.oldPos+1<p;if(!V&&!J){x[O]=void 0;continue}if(!J||V&&z.oldPos<W.oldPos?$=this.addToPath(W,!0,!1,0,r):$=this.addToPath(z,!1,!0,1,r),C=this.extractCommon($,n,t,O,r),$.oldPos+1>=p&&C+1>=f)return u(this.buildValues($.lastComponent,n,t))||!0;x[O]=$,$.oldPos+1>=p&&(M=Math.min(M,O-1)),C+1>=f&&(E=Math.max(E,O+1))}m++};if(s)(function O(){setTimeout(function(){if(m>v||Date.now()>y)return s(void 0);P()||O()},0)})();else for(;m<=v&&Date.now()<=y;){const O=P();if(O)return O}}addToPath(t,n,r,s,l){const u=t.lastComponent;return u&&!l.oneChangePerToken&&u.added===n&&u.removed===r?{oldPos:t.oldPos+s,lastComponent:{count:u.count+1,added:n,removed:r,previousComponent:u.previousComponent}}:{oldPos:t.oldPos+s,lastComponent:{count:1,added:n,removed:r,previousComponent:u}}}extractCommon(t,n,r,s,l){const u=n.length,f=r.length;let p=t.oldPos,m=p-s,v=0;for(;m+1<u&&p+1<f&&this.equals(r[p+1],n[m+1],l);)m++,p++,v++,l.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return v&&!l.oneChangePerToken&&(t.lastComponent={count:v,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=p,m}equals(t,n,r){return r.comparator?r.comparator(t,n):t===n||!!r.ignoreCase&&t.toLowerCase()===n.toLowerCase()}removeEmpty(t){const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n}castInput(t,n){return t}tokenize(t,n){return Array.from(t)}join(t){return t.join("")}postProcess(t,n){return t}get useLongestToken(){return!1}buildValues(t,n,r){const s=[];let l;for(;t;)s.push(t),l=t.previousComponent,delete t.previousComponent,t=l;s.reverse();const u=s.length;let f=0,p=0,m=0;for(;f<u;f++){const v=s[f];if(v.removed)v.value=this.join(r.slice(m,m+v.count)),m+=v.count;else{if(!v.added&&this.useLongestToken){let w=n.slice(p,p+v.count);w=w.map(function(y,x){const C=r[m+x];return C.length>y.length?C:y}),v.value=this.join(w)}else v.value=this.join(n.slice(p,p+v.count));p+=v.count,v.added||(m+=v.count)}}return s}}class jA extends SA{constructor(){super(...arguments),this.tokenize=MA}equals(t,n,r){return r.ignoreWhitespace?((!r.newlineIsToken||!t.includes(`
145
+ `))&&(t=t.trim()),(!r.newlineIsToken||!n.includes(`
146
+ `))&&(n=n.trim())):r.ignoreNewlineAtEof&&!r.newlineIsToken&&(t.endsWith(`
147
+ `)&&(t=t.slice(0,-1)),n.endsWith(`
148
+ `)&&(n=n.slice(0,-1))),super.equals(t,n,r)}}const EA=new jA;function h6(e,t,n){return EA.diff(e,t,n)}function MA(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
149
+ `));const n=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(let s=0;s<r.length;s++){const l=r[s];s%2&&!t.newlineIsToken?n[n.length-1]+=l:n.push(l)}return n}function IA(e,t,n,r,s,l,u){let f;u?typeof u=="function"?f={callback:u}:f=u:f={},typeof f.context>"u"&&(f.context=4);const p=f.context;if(f.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(f.callback){const{callback:v}=f;h6(n,r,Object.assign(Object.assign({},f),{callback:w=>{const y=m(w);v(y)}}))}else return m(h6(n,r,f));function m(v){if(!v)return;v.push({value:"",lines:[]});function w(O){return O.map(function($){return" "+$})}const y=[];let x=0,C=0,E=[],M=1,P=1;for(let O=0;O<v.length;O++){const $=v[O],z=$.lines||OA($.value);if($.lines=z,$.added||$.removed){if(!x){const W=v[O-1];x=M,C=P,W&&(E=p>0?w(W.lines.slice(-p)):[],x-=E.length,C-=E.length)}for(const W of z)E.push(($.added?"+":"-")+W);$.added?P+=z.length:M+=z.length}else{if(x)if(z.length<=p*2&&O<v.length-2)for(const W of w(z))E.push(W);else{const W=Math.min(z.length,p);for(const J of w(z.slice(0,W)))E.push(J);const V={oldStart:x,oldLines:M-x+W,newStart:C,newLines:P-C+W,lines:E};y.push(V),x=0,C=0,E=[]}M+=z.length,P+=z.length}}for(const O of y)for(let $=0;$<O.lines.length;$++)O.lines[$].endsWith(`
150
+ `)?O.lines[$]=O.lines[$].slice(0,-1):(O.lines.splice($+1,0,"\"),$++);return{oldFileName:e,newFileName:t,oldHeader:s,newHeader:l,hunks:y}}}function OA(e){const t=e.endsWith(`
151
+ `),n=e.split(`
152
+ `).map(r=>r+`
153
+ `);return t?n.pop():n.push(n.pop().slice(0,-1)),n}const LA="_block_1a1p3_1",TA="_body_1a1p3_5",zA="_line_1a1p3_13",PA="_path_1a1p3_29",NA="_gap_1a1p3_34",AA="_del_1a1p3_38",RA="_add_1a1p3_48",FA="_context_1a1p3_58",DA="_expand_1a1p3_66",Un={block:LA,body:TA,line:zA,path:PA,gap:NA,del:AA,add:RA,context:FA,expand:DA},n9=16;function $A(e){throw new Error(`unreachable diff row kind: ${String(e)}`)}const p6={path:Un.path,del:Un.del,add:Un.add,context:Un.context,gap:Un.gap},HA=256;function r9(e){const t=m6(e.oldText??""),n=m6(e.newText),r=s=>s.map(l=>`${l}
154
+ `).join("");return IA("","",r(t),r(n),void 0,void 0,{context:3,maxEditLength:HA})?.hunks??[{lines:[...t.map(s=>`-${s}`),...n.map(s=>`+${s}`)]}]}function VA(e){let t=0,n=0;for(const r of e)for(const s of r9(r))for(const l of s.lines)l.startsWith("+")&&t++,l.startsWith("-")&&n++;return{added:t,removed:n}}function BA(e){const t=[];let n;for(const r of e){r.path!==n?t.push({kind:"path",text:r.path}):t.push({kind:"gap",text:"⋯"}),n=r.path;for(const[s,l]of r9(r).entries()){s>0&&t.push({kind:"gap",text:"⋯"});for(const u of l.lines){const f=u.startsWith("-")?"del":u.startsWith("+")?"add":"context";t.push({kind:f,text:u.slice(1)})}}}return t}function m6(e){return e===""?[]:(e.endsWith(`
155
+ `)?e.slice(0,-1):e).split(`
156
+ `)}function ZA(e){return e.map(t=>{switch(t.kind){case"del":return`- ${t.text}`;case"add":return`+ ${t.text}`;case"context":return` ${t.text}`;case"path":return t.text;case"gap":return t.text;default:return $A(t.kind)}}).join(`
157
+ `)}function WA({diffs:e,copyText:t,labels:n,maxLines:r=n9,className:s}){const l=k.useMemo(()=>BA(e),[e]),[u,f]=k.useState(!1),p=k.useCallback(async()=>ZA(l),[l]),{copied:m,onCopy:v}=qs(t??p),[w,y]=k.useState(!1),x=e[0]===void 0?void 0:k0(e[0].path),C=e.every(V=>k0(V.path)===x)?x:void 0,E=k.useCallback(()=>{f(V=>!V)},[]);if(l.length===0)return null;const M=l.length-r,P=M>0&&!u,O=Math.ceil(r/2),$=r-O,z=P?l.slice(0,O):l,W=P?l.slice(l.length-$):[];return c.jsxs("div",{className:pe(zn.card,Un.block,s),"data-diff":"","data-code-wrap":w,children:[c.jsx(M2,{lang:C,labels:n,copyLabel:n.copy,copiedLabel:n.copied,copied:m,wrapped:w,onCopy:v,onWrap:()=>{y(V=>!V)}}),c.jsxs("div",{className:Un.body,"data-diff-body":!0,children:[z.map((V,J)=>c.jsx("div",{className:pe(Un.line,p6[V.kind]),"data-diff-row":V.kind,children:V.text},J)),M>0&&c.jsx(Xh,{className:Un.expand,expanded:u,hidden:M,labels:n,onToggle:E}),W.map((V,J)=>c.jsx("div",{className:pe(Un.line,p6[V.kind]),"data-diff-row":V.kind,children:V.text},J))]})]})}const UA="_block_1u3n2_1",qA="_header_1u3n2_12",GA="_summary_1u3n2_22",KA="_copyButton_1u3n2_32",YA="_body_1u3n2_43",JA="_line_1u3n2_52",QA="_lineNumber_1u3n2_60",XA="_fileHeader_1u3n2_66",eR="_filePath_1u3n2_80",tR="_fileCount_1u3n2_87",nR="_expand_1u3n2_92",rR="_empty_1u3n2_108",ln={block:UA,header:qA,summary:GA,copyButton:KA,body:YA,line:JA,lineNumber:QA,fileHeader:XA,filePath:eR,fileCount:tR,expand:nR,empty:rR},o9=16;function oR(e){return e.kind==="paths"?e.paths.join(`
158
+ `):e.files.map(t=>[t.path,...t.matches.map(n=>`${n.lineNumber}: ${n.line}`)].join(`
159
+ `)).join(`
160
+
161
+ `)}function iR(e){return e.kind==="paths"?e.paths.length:e.files.reduce((t,n)=>t+n.matches.length,0)}function sR(e,t,n,r){return e.kind==="paths"?e.labels.pathsSummary(t,r,n):e.labels.matchesSummary(t,r,e.files.length,n)}function aR(e,t){if(e.kind==="paths")return e.paths.map(r=>({type:"path",path:r}));const n=[];return e.files.forEach((r,s)=>{const l=t.has(s);if(n.push({type:"file",path:r.path,count:r.matches.length,index:s,collapsed:l}),!l)for(const u of r.matches)n.push({type:"match",lineNumber:u.lineNumber,line:u.line,key:`${s}:${u.lineNumber}`,fileIndex:s})}),n}function Zu(e){switch(e.type){case"match":return`match:${e.key}`;case"file":return`file:${e.index}`;case"path":return`path:${e.path}`}}function lR(e){const{truncated:t,total:n,maxLines:r=o9,className:s}=e,[l,u]=k.useState(!1),[f,p]=k.useState(()=>new Set),m=aR(e,f),v=iR(e),w=m.length===0,{copied:y,onCopy:x}=qs(e.copyText??oR(e)),C=k.useCallback(()=>{u(Z=>!Z)},[]),E=k.useCallback(Z=>{p(me=>{const ge=new Set(me);return ge.has(Z)?ge.delete(Z):ge.add(Z),ge})},[]),{hidden:M,capped:P,headLines:O,tailLines:$}=Yh(m.length,r,l),z=P?m.slice(0,O):m,W=P?m.slice(m.length-$):[],V=W[0],J=V?.type==="match"&&!z.some(Z=>Z.type==="file"&&Z.index===V.fileIndex)?m.find(Z=>Z.type==="file"&&Z.index===V.fileIndex):void 0,H=J===void 0?W:W.slice(1),te=Z=>Z.type==="path"?c.jsx("div",{className:ln.line,children:Z.path}):Z.type==="match"?c.jsxs("div",{className:ln.line,children:[c.jsxs("span",{className:ln.lineNumber,children:[Z.lineNumber,": "]}),Z.line]}):c.jsxs("button",{type:"button",className:ln.fileHeader,"aria-expanded":!Z.collapsed,onClick:()=>{E(Z.index)},children:[c.jsx("span",{className:ln.filePath,children:Z.path}),c.jsx("span",{className:ln.fileCount,children:Z.count})]});return c.jsxs("div",{className:pe(ln.block,s),"data-search":e.kind,children:[c.jsxs("div",{className:ln.header,children:[c.jsx("span",{className:ln.summary,children:sR(e,v,t,n)}),!w&&c.jsx("button",{type:"button",className:ln.copyButton,onClick:x,children:y?e.labels.copied:e.labels.copy})]}),w?c.jsx("div",{className:ln.empty,children:e.labels.noResults}):c.jsxs("div",{className:ln.body,children:[z.map(Z=>c.jsx("div",{children:te(Z)},Zu(Z))),M>0&&c.jsx("button",{type:"button",className:ln.expand,"aria-expanded":l,"aria-label":l?e.labels.collapseAria:e.labels.expandAria(M),onClick:C,children:l?e.labels.collapse:e.labels.expand(M)}),J!==void 0&&c.jsx("div",{children:te(J)},`tailHeader:${Zu(J)}`),H.map(Z=>c.jsx("div",{children:te(Z)},Zu(Z)))]})]})}const cR=2;function g6(e,t,n){const r=e.position?.start.offset;return r===void 0?-(n+1):t+r}function uR(e,t){for(let n=t;n<e.length;n+=1){const r=e[n];if(r===`
162
+ `)return n+1;if(r==="\r")return e[n+1]===`
163
+ `?n+2:n+1}}function v6(e){let t=0,n=0;for(let r=0;r<e.length;r+=1){const s=e[r];if(s===`
164
+ `){t=n,n=r+1;continue}s!=="\r"||r+1>=e.length||(e[r+1]===`
165
+ `&&(r+=1),t=n,n=r+1)}return t}function w6(e){return e.endsWith(`\r
166
+ `)?`\r
167
+ `:e.endsWith("\r")?"\r":`
168
+ `}function y6(e,t,n){let r=0;for(;r<=e.length;){let s=r;for(;s<e.length&&e[s]!==`
169
+ `&&e[s]!=="\r";)s+=1;const l=e.slice(r,s);let u=0;for(;u<3&&l[u]===" ";)u+=1;let f=u;for(;l[f]===t;)f+=1;if(f-u>=n&&/^[ \t]*$/.test(l.slice(f)))return!0;if(s===e.length)return!1;r=e[s]==="\r"&&e[s+1]===`
170
+ `?s+2:s+1}return!1}function dR(e,t,n){let r=e.line,s=e.column,l=n;for(const u of t){if(u===`
171
+ `){l||(r+=1),s=1,l=!1;continue}if(u==="\r"){r+=1,s=1,l=!0;continue}s+=1,l=!1}return{line:r,column:s,offset:e.offset+t.length}}class fR{constructor(t){this.parse=t}prevText="";tailStart=0;frozen=[];generation=0;cached=null;openFence=null;fenceValue(t,n){const r=this.parse(`${t.syntheticPrefix}${n}`);if(r.children.length!==1)return;const s=r.children[0];return s.type==="code"?s.value:void 0}openFenceState(t,n,r,s){const l=r.length-1,u=r[l];if(u?.node.type!=="code")return null;const f=u.node,p=f.position?.start.offset,m=f.position?.end;if(p===void 0||m?.offset===void 0||n+m.offset!==t.length)return null;const v=t.slice(n),w=v.lastIndexOf(`
172
+ `,p-1),y=v.lastIndexOf("\r",p-1),x=Math.max(w,y)+1,C=uR(v,p);if(C===void 0||C===v.length&&v.endsWith("\r"))return null;const E=v.slice(x,C).replace(/[\r\n]+$/,""),M=/^( {0,3})(`{3,}|~{3,})/.exec(E);if(M===null)return null;const P=M[1],O=M[2];if(x+P.length!==p)return null;const $=O[0],z=n+C,W=t.slice(z);if(y6(W,$,O.length))return null;const V=`${P}${O}
173
+ `,J=v6(W),H=J===0?"":this.fenceValue({syntheticPrefix:V},W.slice(0,J));if(H===void 0)return null;const te=z+J,Z=W.slice(0,J),me=J===0?"":`${H}${w6(Z)}`,ge=this.fenceValue({syntheticPrefix:V},t.slice(te));return ge===void 0||`${me}${ge}`!==f.value?null:{marker:$,markerLength:O.length,syntheticPrefix:V,codeIndex:l,frozen:s,tail:r,pendingStart:te,valuePrefix:me,end:{line:m.line,column:m.column,offset:m.offset},endedWithCarriageReturn:t.endsWith("\r")}}updateOpenFence(t,n,r){const s=n.slice(t.pendingStart);if(y6(s,t.marker,t.markerLength))return;const l=this.fenceValue(t,s);if(l===void 0)return;const u=v6(s),f=u===0?"":this.fenceValue(t,s.slice(0,u));if(f===void 0)return;const m=t.tail[t.codeIndex].node,v=dR(t.end,n.slice(r.length),t.endedWithCarriageReturn),w={...m,value:`${t.valuePrefix}${l}`,position:{start:m.position.start,end:v}},y=t.tail.map((C,E)=>E===t.codeIndex?{...C,node:w}:C),x={frozen:t.frozen,tail:y,generation:this.generation};return this.openFence={...t,tail:y,pendingStart:t.pendingStart+u,valuePrefix:u===0?t.valuePrefix:`${t.valuePrefix}${f}${w6(s.slice(0,u))}`,end:v,endedWithCarriageReturn:n.endsWith("\r")},x}update(t){if(this.cached!==null&&t===this.prevText)return this.cached;t.startsWith(this.prevText)||(this.prevText="",this.tailStart=0,this.frozen=[],this.openFence=null,this.generation+=1);const n=this.prevText;if(n!==""&&this.openFence!==null){const f=this.updateOpenFence(this.openFence,t,n);if(f!==void 0)return this.prevText=t,this.cached=f,f;this.openFence=null}this.prevText=t;const r=this.tailStart,s=this.parse(t.slice(r)).children;let l=Math.max(0,s.length-cR);if(l>0){const f=s[l-1]?.position?.end.offset;if(f===void 0)l=0;else{for(const p of s.slice(0,l))this.frozen.push({node:p,key:g6(p,r,this.frozen.length)});this.tailStart=r+f}}const u=s.slice(l).map((f,p)=>({node:f,key:g6(f,r,p)}));return this.cached={frozen:[...this.frozen],tail:u,generation:this.generation},this.openFence=this.openFenceState(t,r,u,this.cached.frozen),this.cached}}const ya=":codex-annotation",Wu=/[ \t\v\f\ufeff]/,hR=/^-?(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*|(?:\d(?:_?\d)*(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?)n?/;function x6(e){return A6(e.replaceAll("\\","\\\\"))}function pR(e){const t=/[^\s\x00"'>/=\x00-\x1f\x7f-\x9f]+/y,n=/[^"\s'`=<>\x00]+/y;let r=0,s="";for(;r<e.length;){if(Wu.test(e[r])){r++;continue}t.lastIndex=r;const l=t.exec(e)?.[0];if(l===void 0)return;for(r+=l.length,l==="index"&&(s="");r<e.length&&Wu.test(e[r]);)r++;if(e[r]!=="="||(r++,r===e.length||Wu.test(e[r])))continue;let u;const f=e[r];if(f==='"'||f==="'"){const p=++r;for(;r<e.length&&e[r]!==f;)e[r]==="\\"&&e[r+1]===f&&r++,r++;if(r===e.length)return;u=x6(e.slice(p,r).replaceAll("\\"+f,f)),r++}else{const p=e.slice(r),m=hR.exec(p)?.[0]??/^(?:true|false)/.exec(p)?.[0];if(m!==void 0)u=/^(?:true|false)$/.test(m)?m:String(Number(m.replace(/_|n$/g,""))),r+=m.length;else{n.lastIndex=r;const v=n.exec(e)?.[0];if(v===void 0)return;u=x6(v),r+=v.length}}l==="index"&&(s=u)}return s}function mR(e,t,n){if(!e.startsWith(ya,t))return;const r=t+ya.length;if(/[\w-]/.test(e[r]??""))return;let s=r,l=-1,u=-1,f=0,p=ya.slice(1);for(;s<e.length;)if(e[s]==="["){let v=s+1;for(;v<e.length&&!/[\]\r\n]/.test(e[v]);)v++;if(e[v]!=="]")break;s=v+1,l<0&&f++}else if(e[s]==="{"){if(s>=n)break;let v,w=!1,y=s+1;for(;y<e.length;y++){const C=e[y];if(C==="\r"||C===`
174
+ `)break;if(v!==void 0)C==="\\"&&e[y+1]===v?y++:C===v?v=void 0:C==="}"&&(w=!0);else if(C==='"'||C==="'")v=C;else if(C==="}")break}if(e[y]!=="}"){if(w)return;break}const x=l<0;for(x&&(l=s),s=y+1;e[s]==="}";)s++;if(u=s-1,x&&f<=1&&/[A-Za-z]/.test(e[y+1]??""))break}else if(s!==r&&/[A-Za-z]/.test(e[s]))p=/^[A-Za-z][\w-]*/.exec(e.slice(s))[0],s+=p.length;else break;const m=l<0?"":pR(e.slice(l+1,u));return m===void 0?void 0:{end:s,index:p===ya.slice(1)?m:""}}function gR(e){this.enter({type:"codexAnnotation",index:e.index},e)}function vR(e){this.exit(e)}function i9(e){const t=e.lastIndexOf("}"),n={name:"codexAnnotation",tokenize(r,s,l){const u=this,f=mR(e,u.now().offset,t);if(f===void 0)return l;const{end:p,index:m}=f;return v;function v(y){return r.enter("codexAnnotation").index=m,w(y)}function w(y){return u.now().offset===p?(r.exit("codexAnnotation"),s(y)):(r.consume(y),w)}}};return{text:{[He.colon]:n}}}function s9(){return{enter:{codexAnnotation:gR},exit:{codexAnnotation:vR}}}function a9(e,t){const n=r=>{if(r.type==="paragraph"&&r.children.length===1){const[s]=r.children;if(s.type==="text"&&s.position!==void 0&&t.slice(s.position.start.offset,s.position.end.offset)===s.value){const u=/^!\[([^\]\n]*)\]\(((?:\/(?!\/)|\.{1,2}\/|[a-z]:[\\/])[^\n<>()[\]"']+\.[a-z\d]+)\)$/iu.exec(s.value);u!==null&&u[2].includes(" ")&&yl(u[2])==="image"&&(r.children=[{type:"image",alt:u[1],url:u[2],position:s.position}])}}else if("children"in r)for(const s of r.children)n(s)};return n(e),e}const wR=new RegExp(["\\p{Script_Extensions=Han}","\\p{Script_Extensions=Hiragana}","\\p{Script_Extensions=Katakana}","\\p{Script_Extensions=Hangul}","\\p{Script_Extensions=Bopomofo}"].join("|"),"u");function yR(e){return e!==null&&e>=0&&wR.test(String.fromCodePoint(e))}const xR=function(e,t,n){const r=this.parser.constructs.attentionMarkers.null;if(r===void 0)throw new Error("micromark CommonMark attention markers are unavailable");const s=r,l=this.previous,u=T4(l);let f=He.eof;return p;function p(v){return v!==He.asterisk?n(v):(f=v,e.enter("attentionSequence"),m(v))}function m(v){if(v===f)return e.consume(v),m;const w=e.exit("attentionSequence"),y=T4(v),x=!y||y===Yu.characterGroupPunctuation&&!!u||s.includes(v),C=!u||u===Yu.characterGroupPunctuation&&!!y||s.includes(l),M=w.end.offset-w.start.offset>=2&&zg(l)&&yR(v),P=C||M;return w._open=x,w._close=P,t(v)}},_R={name:"cjkFriendlyAttention",resolveAll:Tg.resolveAll,tokenize:xR},CR={text:{[He.asterisk]:_R}};function l9(){return CR}const bR=function(e){if(e!==He.backslash)return!0;const t=this.events.at(-1);return t===void 0?!1:t[1].type===cn.characterEscape},kR=function(e,t,n){return r;function r(x){return x!==He.backslash?n(x):(e.enter("mathText"),e.enter("mathTextSequence"),e.consume(x),s)}function s(x){return x!==He.leftParenthesis?n(x):(e.consume(x),e.exit("mathTextSequence"),l)}function l(x){return x===He.eof?n(x):x===He.backslash?e.attempt({partial:!0,tokenize:w},v,u)(x):li(x)?(e.enter(cn.lineEnding),e.consume(x),e.exit(cn.lineEnding),l):f(x)}function u(x){return e.check({partial:!0,tokenize:y},n,f)(x)}function f(x){return e.enter("mathTextData"),e.consume(x),x===He.backslash?p:m}function p(x){return x===He.backslash?(e.consume(x),m):m(x)}function m(x){return x===He.eof||x===He.backslash||li(x)?(e.exit("mathTextData"),l(x)):(e.consume(x),m)}function v(x){return e.exit("mathText"),t(x)}function w(x,C,E){return M;function M(O){return O!==He.backslash?E(O):(x.enter("mathTextSequence"),x.consume(O),P)}function P(O){return O!==He.rightParenthesis?E(O):(x.consume(O),x.exit("mathTextSequence"),C)}}function y(x,C,E){return M;function M(O){return O!==He.backslash?E(O):(x.enter(cn.chunkString),x.consume(O),P)}function P(O){return O!==He.leftParenthesis?E(O):(x.consume(O),x.exit(cn.chunkString),C)}}};function c9(e,t,n){const r=function(s,l,u){const f=this;let p=!1;const m=f.events.at(-1),v=m?.[1].type===cn.linePrefix?m[2].sliceSerialize(m[1],!0).length:0;return w;function w(H){return H!==e?u(H):(s.enter("mathFlow"),s.enter("mathFlowFence"),s.enter("mathFlowFenceSequence"),s.consume(H),y)}function y(H){return H!==t?u(H):(s.consume(H),s.exit("mathFlowFenceSequence"),s.exit("mathFlowFence"),e===He.dollarSign?x:C)}function x(H){return H===He.dollarSign?u(H):C(H)}function C(H){return H===He.eof?u(H):H===e&&(e!==He.dollarSign||!p)?s.attempt({partial:!0,tokenize:V},W,E)(H):li(H)?f.interrupt&&e===He.dollarSign?l(H):s.attempt(jR,M,u)(H):P(H)}function E(H){return e===He.backslash?s.check({partial:!0,tokenize:J},u,O)(H):u(H)}function M(H){return s.attempt({partial:!0,tokenize:V},W,v?mu(s,C,cn.linePrefix,v+1):C)(H)}function P(H){return s.enter("mathFlowValue"),p=H===He.backslash,s.consume(H),z}function O(H){return s.enter("mathFlowValue"),p=!1,s.consume(H),$}function $(H){return H===e?(s.consume(H),z):z(H)}function z(H){return H===He.eof||H===e||li(H)?(s.exit("mathFlowValue"),C(H)):(p=H===He.backslash?!p:!1,s.consume(H),z)}function W(H){return s.exit("mathFlow"),l(H)}function V(H,te,Z){return mu(H,me,cn.linePrefix,Yu.tabSize);function me(ae){return ae!==e?Z(ae):(H.enter("mathFlowFence"),H.enter("mathFlowFenceSequence"),H.consume(ae),ge)}function ge(ae){return ae!==n?Z(ae):(H.consume(ae),H.exit("mathFlowFenceSequence"),mu(H,oe,cn.whitespace))}function oe(ae){return ae!==He.eof&&!li(ae)?Z(ae):(H.exit("mathFlowFence"),te(ae))}}function J(H,te,Z){return me;function me(oe){return oe!==e?Z(oe):(H.enter(cn.chunkString),H.consume(oe),ge)}function ge(oe){return oe!==t?Z(oe):(H.consume(oe),H.exit(cn.chunkString),te)}}};return{concrete:!0,name:e===He.dollarSign?"dollarMathFlow":"backslashMathFlow",tokenize:r}}const SR=function(e,t,n){const r=this;return s;function s(u){return u===He.eof?t(u):li(u)?(e.enter(cn.lineEnding),e.consume(u),e.exit(cn.lineEnding),l):n(u)}function l(u){return r.parser.lazy[r.now().line]?n(u):t(u)}},jR={partial:!0,tokenize:SR},ER={name:"backslashMathText",previous:bR,tokenize:kR},MR=c9(He.backslash,He.leftSquareBracket,He.rightSquareBracket),IR=c9(He.dollarSign,He.dollarSign,He.dollarSign),OR={flow:{[He.backslash]:MR,[He.dollarSign]:IR},text:{[He.backslash]:ER}};function LR(){return OR}function TR(e){return e.includes("\\")&&!/^[a-z][a-z\d+.-]+:/iu.test(e)&&(!e.includes("/")||/\\[\p{L}\p{N}]/u.test(e))}function _6(e){const t=this.resume(),n=this.sliceSerialize(e),r=this.stack.at(-1);r.url=TR(n)?A6(n.replaceAll("\\","\\\\")):t}function u9(){return{exit:{resourceDestinationString:_6,definitionDestinationString:_6}}}const d9={singleTilde:!1};function f9(e){return a9(R6(e,{extensions:[F6(d9),l9(),i9(e)],mdastExtensions:[D6(),u9(),s9()]}),e)}function zR(e){return a9(R6(e,{extensions:[F6(d9),l9(),Pg(),LR(),i9(e)],mdastExtensions:[D6(),Ng(),u9(),s9()]}),e)}const PR="_block_1r7bb_4",NR="_bannerWrap_1r7bb_24",AR="_banner_1r7bb_24",RR="_infostring_1r7bb_59",FR="_action_1r7bb_70",DR="_copyButton_1r7bb_76",$R="_content_1r7bb_88",HR="_plain_1r7bb_117",VR="_card_1r7bb_121",BR="_numbered_1r7bb_136",Zn={block:PR,bannerWrap:NR,banner:AR,infostring:RR,action:FR,copyButton:DR,content:$R,plain:HR,card:VR,numbered:BR},ZR={className:"shiki css-variables",style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:0},WR=32;function C6(e,t){return c.jsxs(k.Fragment,{children:[t>0&&`
175
+ `,c.jsx("span",{className:"line",children:e.map((n,r)=>c.jsx("span",{style:n.style,children:n.text},r))})]},t)}function h9({code:e,lang:t,streaming:n,className:r,contentRef:s,lineNumbers:l=!1,showHeader:u=!0,copyLabel:f,copiedLabel:p,toolbarLabels:m,wrap:v}){const w=e.endsWith(`
176
+ `)?e.slice(0,-1):e,y=l?w.split(`
177
+ `):void 0,x=k.useRef(null),C=e9(x,t),E=k.useSyncExternalStore(S2,yi,yi),M=k.useRef(null),P=k.useRef(null),O=k.useRef(!1),$=k.useMemo(()=>{if(!C){M.current=null,P.current=null,O.current=!1;return}if(n!==!0){const T=P.current;if(T!==null&&T.code===w&&T.lang===t)return O.current=!0,T.body;M.current=null,P.current=null,O.current=!0;return}O.current&&(M.current=null,P.current=null,O.current=!1),M.current??=new OP;const ge=M.current.updateFrame(w,t);if(ge===void 0){P.current=null;return}const oe=P.current;if(oe?.frame===ge&&oe.code===w&&oe.lang===t)return oe.body;const ae=oe?.generation===ge.generation,Ie=ae?[...oe.groups]:[];let xe=ae?[...oe.pending]:[],Ne=ae?oe.nextLine:0;for(const T of ge.appended){if(xe.push(C6(T,Ne)),Ne+=1,xe.length!==WR)continue;const D=Ne-xe.length;Ie.push(c.jsx(k.Fragment,{children:xe},D)),xe=[]}const se=ge.tail.map((T,D)=>C6(T,Ne+D)),ce=c.jsx(k.Fragment,{children:[...xe,...se]},Ne-xe.length),le=c.jsx("pre",{...ZR,children:c.jsxs("code",{children:[Ie,ce]})});return P.current={code:w,lang:t,generation:ge.generation,frame:ge,groups:Ie,pending:xe,nextLine:Ne,body:le},le},[n,C,w,t,E]),z=k.useMemo(()=>C&&n!==!0&&$===void 0?EP(w,t):void 0,[n,C,$,w,t,E]),[W,V]=k.useState(!1),[J,H]=k.useState(!0),te=v??J,Z=k.useCallback(()=>{if(W)return;const ge=x.current?.querySelector("pre")?.textContent??w;il(ge).then(oe=>{oe&&(V(!0),window.setTimeout(()=>{V(!1)},1e3))})},[W,w]),me=$!==void 0?$:z===void 0?c.jsx("pre",{className:Zn.plain,children:c.jsx("code",{children:y===void 0?w:y.map((ge,oe)=>c.jsxs(k.Fragment,{children:[oe>0&&`
178
+ `,c.jsx("span",{className:"line",children:ge})]},oe))})}):c.jsx("div",{dangerouslySetInnerHTML:{__html:z}});return c.jsxs("div",{ref:x,className:pe(Zn.block,"md-code-block",l&&Zn.numbered,m!==void 0&&Zn.card,r),"data-line-numbers":l||void 0,"data-code-wrap":m===void 0?void 0:te,style:y===void 0?void 0:{"--dsl-code-block-line-number-width":`${Math.max(2,String(y.length).length)}ch`},children:[u&&c.jsx("div",{className:Zn.bannerWrap,children:m!==void 0?c.jsx(M2,{lang:t,labels:m,copyLabel:f,copiedLabel:p,copied:W,wrapped:te,onCopy:Z,onWrap:v===void 0?()=>{H(ge=>!ge)}:void 0}):c.jsxs("div",{className:Zn.banner,"data-code-block-banner":!0,children:[c.jsx("div",{className:Zn.infostring,children:t??""}),c.jsx("div",{className:Zn.action,children:c.jsx("button",{type:"button",className:Zn.copyButton,onClick:Z,children:W?p:f})})]})}),c.jsx("div",{ref:s,className:Zn.content,"data-code-block-content":!0,children:me})]})}function p9(e){if(/^file:/i.test(e))try{const p=new URL(e);if(!/^file:\/\//i.test(e)||p.hostname&&p.hostname!=="localhost"||p.search)return;e=p.pathname+p.hash,/^\/[a-z]:\//i.test(e)&&(e=e.slice(1))}catch{return}const t=e.indexOf("#"),n=t<0?e:e.slice(0,t);if(n.includes("?"))return;let r;try{r=decodeURIComponent(n)}catch{return}if(r.length===0||/[\u0000-\u001f\u007f]/.test(r)||/^[\\/]{2}/.test(r)||/^[a-z][a-z\d+.-]*:/i.test(r)&&!/^[a-z]:[\\/]/i.test(r))return;const s=t<0?/:(\d+)(?::\d+|-(\d+))?$/.exec(n):null;if(s!==null&&(r=r.slice(0,-s[0].length)),r.length===0)return;const l=s??(t<0?null:/^L(\d+)(?:-L(\d+))?$/.exec(e.slice(t+1)));if(l===null)return{path:r};const u=Number(l[1]),f=l[2]===void 0?u:Number(l[2]);return!Number.isSafeInteger(u)||!Number.isSafeInteger(f)||u<1||f<u?{path:r}:{path:r,line:u}}let UR=0;const m9=()=>++UR;function I2(e,t){let n;try{n=new URL(e)}catch{return e}return n.protocol==="data:"||n.protocol==="blob:"?e:(n.search=`${n.search===""?"?":`${n.search}&`}load=${t}`,n.href)}function qR(e){const t={};for(const n of e.split(";")){const r=n.indexOf(":");if(r===-1)continue;const l=n.slice(0,r).trim().replace(/-([a-z])/g,(u,f)=>f.toUpperCase());t[l]=n.slice(r+1).trim()}return t}function g9(e,t){if(e.nodeType===Node.TEXT_NODE)return e.textContent;if(e.nodeType!==Node.ELEMENT_NODE)return null;const n=e,r={key:t};for(const l of n.attributes)l.name==="class"?r.className=l.value:l.name==="style"?r.style=qR(l.value):r[l.name]=l.value;const s=[...n.childNodes].map(g9);return s.length===0?k.createElement(n.localName,r):k.createElement(n.localName,r,...s)}function E0(e,t){let n;try{n=z4.renderToString(e,{displayMode:t,throwOnError:!0})}catch(s){try{n=z4.renderToString(e,{displayMode:t,strict:"ignore",throwOnError:!1})}catch{return c.jsx("span",{className:"katex-error",style:{color:"#cc0000"},title:String(s),children:e})}}return[...new DOMParser().parseFromString(n,"text/html").body.childNodes].map(g9)}const v9=k.createContext({});function GR({children:e,openExternalLink:t,openFileExternalLabel:n,openFile:r,fileImages:s,resolveLink:l}){const u=k.useMemo(()=>({openExternalLink:t,openFileExternalLabel:n,openFile:r,fileImages:s,resolveLink:l}),[t,n,r,s,l]);return c.jsx(v9.Provider,{value:u,children:e})}function Xs(){return k.useContext(v9)}function w9(e){try{switch(new URL(e).protocol){case"http:":case"https:":case"mailto:":return e;default:return""}}catch{return""}}const KR=()=>()=>{};function O2({href:e,glyph:t,children:n}){const{openExternalLink:r,resolveLink:s}=Xs(),l=()=>s?.(e)?.href,u=k.useSyncExternalStore(s?.subscribe??KR,l,l),f=w9(u??e);if(f==="")return c.jsx(c.Fragment,{children:n});const p=u===void 0&&["http:","https:"].includes(new URL(f).protocol),m=u!==void 0?()=>s?.(e)?.open():p&&r!==void 0?()=>r(f):void 0;return c.jsxs("a",{href:f,...p?{target:"_blank",rel:"noopener noreferrer"}:{},onClick:m===void 0?void 0:v=>{v.button!==0||v.metaKey||v.ctrlKey||v.shiftKey||v.altKey||(v.preventDefault(),m())},children:[t&&c.jsx(Qs,{kind:"url",href:f,className:zt.linkIcon}),n]})}function YR({value:e}){const{resolveLink:t}=Xs(),n=t?.autoLinkPattern;if(n===void 0)return e;const r=[];let s=0;for(const l of e.matchAll(n)){const u=l[0];u&&(r.push(e.slice(s,l.index)),r.push(c.jsx(O2,{href:u,glyph:!1,children:[u]},l.index)),s=l.index+u.length)}return s===0?e:(r.push(e.slice(s)),c.jsx(k.Fragment,{children:r}))}const JR="_backdrop_1d1a9_1",QR="_mask_1d1a9_11",XR="_image_1d1a9_18",eF="_close_1d1a9_29",xa={backdrop:JR,mask:QR,image:XR,close:eF};function y9({src:e,alt:t,labels:n,onClose:r}){const s=k.useRef(null),l=k.useRef(null);return k.useEffect(()=>{l.current=document.activeElement instanceof HTMLElement?document.activeElement:null,s.current?.focus();const u=f=>{f.key==="Escape"&&(f.stopPropagation(),r()),f.key==="Tab"&&(f.preventDefault(),s.current?.focus())};return window.addEventListener("keydown",u,!0),()=>{window.removeEventListener("keydown",u,!0),l.current?.focus()}},[r]),bn.createPortal(c.jsxs("div",{className:xa.backdrop,role:"dialog","aria-modal":"true","aria-label":n.dialog,children:[c.jsx("div",{className:xa.mask,"aria-hidden":"true",onMouseDown:r}),c.jsx("img",{className:xa.image,src:e,alt:t}),c.jsx("button",{ref:s,type:"button",className:xa.close,"aria-label":n.close,onClick:r,children:c.jsx(al,{size:16})})]}),document.body)}const tF="_frame_8lv00_1",nF="_image_8lv00_11",rF="_status_8lv00_21",Uu={frame:tF,image:nF,status:rF};function oF({src:e,alt:t,loadingLabel:n,failedLabel:r}){return c.jsx(iF,{src:e,alt:t,loadingLabel:n,failedLabel:r},e)}function iF({src:e,alt:t,loadingLabel:n,failedLabel:r}){const[s,l]=k.useState("loading");return c.jsxs("span",{className:Uu.frame,children:[s!=="failed"&&c.jsx("img",{src:e,alt:t,loading:"lazy",decoding:"async",referrerPolicy:"no-referrer",className:Uu.image,"data-ready":s==="ready"||void 0,onLoad:()=>{l("ready")},onError:()=>{l("failed")}}),s!=="ready"&&c.jsxs("span",{className:Uu.status,role:"status",children:[s==="loading"&&c.jsx(s8,{size:16}),c.jsx("span",{children:s==="loading"?n:r})]})]})}function sF(e){try{const t=new URL(e).protocol;return t==="http:"||t==="https:"?e:void 0}catch{return}}function aF(e){try{const t=new URL(e).protocol;return t==="http:"||t==="https:"||t==="blob:"||t==="data:"||e.startsWith("dsh-app://app/api/file?")?e:void 0}catch{return}}function lF(e,t,n){const r=sF(w9(z0(e)));if(r!==void 0)return r;const s=t?.resolve(e),l=s===void 0?void 0:aF(s);return l===void 0?void 0:I2(l,n)}function M0(){return{definitions:new Map,footnotes:new Map}}function Za(e,t){for(const n of e){if(n.type==="definition"){const r=n.identifier.toUpperCase();t.definitions.has(r)||t.definitions.set(r,n)}else if(n.type==="footnoteDefinition"){const r=n.identifier.toUpperCase();t.footnotes.has(r)||t.footnotes.set(r,n)}"children"in n&&Za(n.children,t)}}function I0(e,t){return e.map(n=>T2(n.node,n.key,t)).filter(n=>n!==null)}function L2(e,t){const n=[];for(const r of e)(t||n.length>0)&&n.push(`
179
+ `),n.push(r);return t&&e.length>0&&n.push(`
180
+ `),n}function x9(e,t){const n=[];for(const[r,s]of e.entries())if(s.type==="paragraph")n.push({paragraph:Pn(s.children,t)});else{const l=T2(s,r,t);l!==null&&n.push({element:l})}return n}function Pn(e,t){return e.map((n,r)=>T2(n,r,t))}function T2(e,t,n){switch(e.type){case"text":return n.inLink?e.value:c.jsx(YR,{value:e.value},t);case"paragraph":return c.jsx("p",{children:Pn(e.children,n)},t);case"heading":return k.createElement(`h${e.depth}`,{key:t},...Pn(e.children,n));case"blockquote":return c.jsx("blockquote",{children:L2(Pn(e.children,{...n,inBlockquote:!0}).filter(r=>r!==null),!0)},t);case"thematicBreak":return c.jsx("hr",{},t);case"break":return c.jsxs(k.Fragment,{children:[c.jsx("br",{}),`
181
+ `]},t);case"strong":return c.jsx("strong",{children:Pn(e.children,n)},t);case"emphasis":return c.jsx("em",{children:Pn(e.children,n)},t);case"delete":return c.jsx("del",{children:Pn(e.children,n)},t);case"inlineCode":{const r=e.value.replace(/\r?\n|\r/g," "),s=pF(r);if(s!==void 0)return c.jsx("code",{children:k9(s,[r],"link")},t);const l=n.inLink===!0?void 0:n.fileMentions?.resolve(r);return l!==void 0?c.jsx("code",{children:c.jsxs("button",{type:"button",className:zt.fileMention,title:l.title,"aria-label":l.label,onClick:l.open,children:[c.jsx(Qs,{kind:Ha(r),className:zt.linkIcon}),r]})},t):c.jsx("code",{children:r},t)}case"codexAnnotation":{const r=n.responseAnnotations,s=UL(e.index),l=s===void 0?void 0:r?.resolve(s);return r===void 0||s===void 0||l===void 0?null:n.inLink===!0?r.labels.label(s):c.jsx("span",{className:zt.annotationCitation,children:c.jsx(y7,{index:s,annotation:l,labels:r.labels})},t)}case"html":return e.value;case"code":return cF(e,t,n);case"math":return c.jsx(k.Fragment,{children:E0(e.value,!0)},t);case"inlineMath":return c.jsx(k.Fragment,{children:E0(e.value,!1)},t);case"list":return dF(e,t,n);case"listItem":return C9(e,_9(e),t,n);case"table":return fF(e,t,n);case"link":return S9(e.url,Pn(e.children,{...n,inLink:!0}),t,!b9(e.children),n.streaming);case"linkReference":return vF(e,t,n);case"image":return j9(e.url,e.alt??"",t,n);case"imageReference":return wF(e,t,n);case"footnoteReference":return yF(e,t,n);case"definition":case"footnoteDefinition":return null;default:return null}}function cF(e,t,n){const r=e.lang??void 0;if(e.value==="")return c.jsx("pre",{children:c.jsx("code",{className:r===void 0?void 0:`language-${r}`})},t);const s=r===void 0?void 0:/^[\w-]+/.exec(r)?.[0];return!n.streaming&&s==="math"?c.jsx(k.Fragment,{children:E0(`${e.value}
182
+ `,!0)},t):c.jsx(h9,{code:`${e.value}
183
+ `,lang:s,streaming:n.streaming,copyLabel:n.labels.code.copyLabel,copiedLabel:n.labels.code.copiedLabel,toolbarLabels:n.labels.code.toolbarLabels},t)}function uF(e){return(e.spread??!1)||e.children.some(_9)}function _9(e){return e.spread??e.children.length>1}function dF(e,t,n){const r=uF(e),s={};return typeof e.start=="number"&&e.start!==1&&(s.start=e.start),e.children.some(l=>typeof l.checked=="boolean")&&(s.className="contains-task-list"),k.createElement(e.ordered===!0?"ol":"ul",{key:t,...s},...e.children.map((l,u)=>C9(l,r,u,n)))}function C9(e,t,n,r){const s=x9(e.children,r),l=typeof e.checked=="boolean";if(l){const p=c.jsx("input",{type:"checkbox",checked:e.checked===!0,disabled:!0},"task-checkbox"),m=s[0];m!==void 0&&"paragraph"in m?m.paragraph=m.paragraph.length>0?[p," ",...m.paragraph]:[p]:s.unshift({paragraph:[p]})}const u=[];for(const[p,m]of s.entries()){const v="paragraph"in m;(t||p!==0||!v)&&u.push(`
184
+ `),v?t?u.push(c.jsx("p",{children:m.paragraph},`p-${p}`)):u.push(c.jsx(k.Fragment,{children:m.paragraph},`p-${p}`)):u.push(m.element)}const f=s[s.length-1];return f!==void 0&&(t||!("paragraph"in f))&&u.push(`
185
+ `),c.jsx("li",{className:l?"task-list-item":void 0,children:u},n)}function fF(e,t,n){const r=e.align??null,[s,...l]=e.children,f=(r===null?s?.children.length??0:r.length)>=4&&n.inBlockquote!==!0;return c.jsx("div",{className:pe(zt.tableScroll,f?"md-table-wide":zt.tableFill),tabIndex:f?0:void 0,children:c.jsxs("table",{children:[s!==void 0&&c.jsx("thead",{children:b6(s,"th",r,0,n)}),l.length>0&&c.jsx("tbody",{children:l.map((p,m)=>b6(p,"td",r,m+1,n))})]})},t)}function b6(e,t,n,r,s){const l=n===null?e.children.length:n.length,u=[];for(let f=0;f<l;f++){const p=e.children[f],m=n?.[f];u.push(k.createElement(t,{key:f,style:m==null?void 0:{textAlign:m}},...p===void 0?[]:Pn(p.children,s)))}return c.jsx("tr",{children:u},r)}function b9(e){return e.length>0&&e.every(t=>t.type==="image"||t.type==="imageReference")}function k9(e,t,n,r=!0){return c.jsx(O2,{href:e,glyph:r,children:t},n)}function S9(e,t,n,r=!0,s=!1){const l=s?void 0:p9(e);return l!==void 0?c.jsx(hF,{file:l,glyph:r,children:t},n):k9(z0(e),t,n,r)}function hF({file:e,glyph:t,children:n}){const{openFile:r,openFileExternalLabel:s,fileImages:l}=Xs(),[u]=k.useState(m9),[f,p]=k.useState(!1),[m,v]=k.useState(null),w=k.useRef(null),y=k.useCallback(()=>m??w.current?.getBoundingClientRect()??null,[m]);if(r===void 0)return c.jsx(c.Fragment,{children:n});const x=e.line===void 0?{}:{line:e.line},C=()=>{r(e.path,{...x,external:!0})},E=t&&Ha(e.path)==="image"?l:void 0,M=E?.resolve(e.path),P=M===void 0?void 0:I2(M,u),O=c.jsxs("button",{ref:w,type:"button",className:pe(zt.fileMention,zt.fileLink),title:P===void 0?e.path:void 0,"aria-haspopup":s===void 0?void 0:"menu","aria-expanded":s===void 0?void 0:f,onClick:z=>{p(!1),r(e.path,{...x,...z.ctrlKey||z.metaKey?{external:!0}:{}})},onContextMenu:s===void 0?void 0:z=>{z.preventDefault(),z.stopPropagation(),v(new DOMRect(z.clientX,z.clientY,0,0)),p(!0)},onKeyDown:s===void 0?void 0:z=>{z.key!=="ContextMenu"&&!(z.shiftKey&&z.key==="F10")||(z.preventDefault(),v(null),p(!0))},children:[t&&c.jsx(Qs,{kind:Ha(e.path),className:zt.linkIcon}),n]}),$=s===void 0?O:c.jsx(t2,{open:f,portal:!0,autoFocus:!0,anchor:O,items:[{id:"open-external",label:s}],onSelect:z=>{p(!1),z==="open-external"&&C()},onClose:()=>{p(!1)},getAnchorRect:y});return P===void 0||E===void 0?$:c.jsx(v7,{inline:!0,disabled:f,anchor:$,content:c.jsxs(c.Fragment,{children:[c.jsx(oF,{src:P,alt:e.path,loadingLabel:E.labels.loading,failedLabel:E.labels.failed}),c.jsx("span",{className:zt.previewName,children:e.path.split(/[\\/]/u).pop()})]})})}function pF(e){if(e.trim()===e)try{const t=new URL(e).protocol;return t==="http:"||t==="https:"?e:void 0}catch{return}}function j9(e,t,n,r){return c.jsx(mF,{destination:e,alt:t,pathImages:r.pathImages,streaming:r.streaming,inLink:r.inLink===!0},`${n}:${e}`)}function mF({destination:e,alt:t,pathImages:n,streaming:r,inLink:s}){const{fileImages:l}=Xs(),[u]=k.useState(m9),f=r?void 0:p9(e),p=f===void 0?void 0:l?.resolve(f.path),m=p===void 0?lF(e,n,u):I2(p,u);return m===void 0?c.jsx("span",{className:zt.imageAlt,children:t}):c.jsx(gF,{src:m,alt:t,destination:e,preview:s?void 0:l},m)}function gF({src:e,alt:t,destination:n,preview:r}){const[s,l]=k.useState(!1),[u,f]=k.useState(!1),p=k.useCallback(()=>{f(!1)},[]);if(s)return c.jsxs("span",{className:zt.imageAlt,children:[r===void 0?"":`${r.labels.failed} · `,t||n]});const m=c.jsx("img",{className:zt.image,src:e,alt:t,onError:()=>{l(!0)},loading:"lazy",decoding:"async",referrerPolicy:"no-referrer"});return r===void 0?m:c.jsxs(c.Fragment,{children:[c.jsx("button",{type:"button",className:zt.imageButton,title:r.labels.open,"aria-label":t?`${r.labels.open}: ${t}`:r.labels.open,onClick:()=>{f(!0)},children:m}),u&&c.jsx(y9,{src:e,alt:t,labels:r.labels,onClose:p})]})}function E9(e){return e.referenceType==="collapsed"?"][]":e.referenceType==="full"?`][${e.label??e.identifier}]`:"]"}function vF(e,t,n){const r=n.targets.definitions.get(e.identifier.toUpperCase());if(r===void 0)return c.jsxs(k.Fragment,{children:["[",Pn(e.children,n),E9(e)]},t);const s=Pn(e.children,{...n,inLink:!0});return S9(r.url,s,t,!b9(e.children),n.streaming)}function wF(e,t,n){const r=n.targets.definitions.get(e.identifier.toUpperCase());return r===void 0?`![${e.alt??""}${E9(e)}`:j9(r.url,e.alt??"",t,n)}function yF(e,t,n){const r=e.identifier.toUpperCase(),s=n.footnoteCounts.get(r);return s===void 0&&n.footnoteOrder.push(r),n.footnoteCounts.set(r,(s??0)+1),c.jsx("sup",{children:String(n.footnoteOrder.indexOf(r)+1)},t)}function M9(e){const t=[];for(const n of e.footnoteOrder){const r=e.targets.footnotes.get(n);if(r===void 0)continue;const s=e.footnoteCounts.get(n)??0,l=[];for(let m=1;m<=s;m++)l.length>0&&l.push(" "),l.push("↩"),m>1&&l.push(c.jsx("sup",{children:String(m)},`re-${m}`));const u=x9(r.children,e),f=u[u.length-1],p=u.map((m,v)=>"paragraph"in m?c.jsxs("p",{children:[m.paragraph,m===f&&c.jsxs(c.Fragment,{children:[" ",l]})]},`p-${v}`):m.element);(f===void 0||!("paragraph"in f))&&p.push(...l),t.push(c.jsx("li",{id:`user-content-fn-${z0(n.toLowerCase())}`,children:L2(p,!0)},n))}return t.length===0?null:c.jsxs("section",{"data-footnotes":!0,className:"footnotes",children:[c.jsx("h2",{id:"footnote-label",className:"sr-only",children:e.labels.footnotes}),c.jsx("ol",{children:t})]},"footnotes")}function xF(e,t,n,r,s){const l=zR(e),u=M0();Za(l.children,u);const f={streaming:!1,labels:t,fileMentions:n,pathImages:r,responseAnnotations:s,targets:u,footnoteOrder:[],footnoteCounts:new Map},p=L2(I0(l.children.map((v,w)=>({node:v,key:v.position?.start.offset??-(w+1)})),f),!1),m=M9(f);return m===null?p:[...p,`
186
+ `,m]}class _F{constructor(t,n){this.labels=t,this.responseAnnotations=n}parser=new fR(f9);generation=-1;frozenCount=0;frozenElements=[];frozenTargets=M0();frozenFootnoteOrder=[];frozenFootnoteCounts=new Map;lastText=null;lastRendered=[];render(t){if(t===this.lastText)return this.lastRendered;const{frozen:n,tail:r,generation:s}=this.parser.update(t);s!==this.generation&&(this.generation=s,this.frozenCount=0,this.frozenElements=[],this.frozenTargets=M0(),this.frozenFootnoteOrder=[],this.frozenFootnoteCounts=new Map);const l=n.slice(this.frozenCount);Za(l.map(v=>v.node),this.frozenTargets);const u={definitions:new Map(this.frozenTargets.definitions),footnotes:new Map(this.frozenTargets.footnotes)};if(Za(r.map(v=>v.node),u),l.length>0){const v={streaming:!0,labels:this.labels,fileMentions:void 0,pathImages:void 0,responseAnnotations:this.responseAnnotations,targets:u,footnoteOrder:this.frozenFootnoteOrder,footnoteCounts:this.frozenFootnoteCounts},w=[...this.frozenElements];for(const y of I0(l,v))w.length>0&&w.push(`
187
+ `),w.push(y);this.frozenElements=w,this.frozenCount=n.length}const f={streaming:!0,labels:this.labels,fileMentions:void 0,pathImages:void 0,responseAnnotations:this.responseAnnotations,targets:u,footnoteOrder:[...this.frozenFootnoteOrder],footnoteCounts:new Map(this.frozenFootnoteCounts)},p=[...this.frozenElements];for(const v of I0(r,f))p.length>0&&p.push(`
188
+ `),p.push(v);const m=M9(f);return m!==null&&p.push(`
189
+ `,m),this.lastText=t,this.lastRendered=p,this.lastRendered}}const I9=k.memo(function({text:t,streaming:n=!1,labels:r,fileMentions:s,pathImages:l,responseAnnotations:u,variant:f="body"}){const p=k.useRef(null),m=k.useRef(r),v=k.useRef(u),w=k.useMemo(()=>n?((p.current===null||m.current!==r||v.current!==u)&&(p.current=new _F(r,u),m.current=r,v.current=u),p.current.render(t)):(p.current=null,xF(t,r,s,l,u)),[t,n,r,s,l,u]);return c.jsx("div",{className:pe(zt.markdown,f==="compact"&&zt.compact),"data-markdown-variant":f==="compact"?f:void 0,children:w})}),CF="_block_ca4yc_1",bF="_answer_ca4yc_13",kF="_sources_ca4yc_40",SF="_source_ca4yc_40",jF="_sourceLink_ca4yc_54",EF="_linkIcon_ca4yc_65",MF="_snippet_ca4yc_78",IF="_published_ca4yc_86",OF="_truncated_ca4yc_92",LF="_empty_ca4yc_98",TF="_fetch_ca4yc_104",zF="_fetchUrl_ca4yc_110",PF="_fetchMeta_ca4yc_126",NF="_status_ca4yc_132",Dt={block:CF,answer:bF,sources:kF,source:SF,sourceLink:jF,linkIcon:EF,snippet:MF,published:IF,truncated:OF,empty:LF,fetch:TF,fetchUrl:zF,fetchMeta:PF,status:NF};function AF(e){try{const{protocol:t}=new URL(e);return t==="http:"||t==="https:"?e:void 0}catch{return}}function RF(e,t){if(t!==void 0&&t!=="")return t;try{const{hostname:n}=new URL(e);return n===""?e:n}catch{return e}}function O9({url:e,label:t,className:n}){const r=AF(e);return r===void 0?c.jsx("span",{className:n,children:t}):c.jsxs("a",{className:n,href:r,target:"_blank",rel:"noopener noreferrer",children:[c.jsx(Qs,{kind:"url",href:r,className:Dt.linkIcon}),t]})}function FF({source:e,ordinal:t}){return c.jsxs("li",{className:Dt.source,value:t,children:[c.jsx(O9,{url:e.url,label:RF(e.url,e.title),className:Dt.sourceLink}),e.snippet!==void 0&&e.snippet!==""&&c.jsx("div",{className:Dt.snippet,children:e.snippet}),e.publishedAt!==void 0&&e.publishedAt!==""&&c.jsx("div",{className:Dt.published,children:e.publishedAt})]})}function DF({answer:e,sources:t,truncated:n,labels:r,className:s}){const l=(e===void 0||e==="")&&t.length===0;return c.jsxs("div",{className:pe(Dt.block,s),"data-web":"search",children:[e!==void 0&&e!==""&&c.jsx("div",{className:Dt.answer,children:c.jsx(I9,{text:e,labels:r.markdown})}),l?c.jsx("div",{className:Dt.empty,children:r.noResults}):c.jsx("ol",{className:Dt.sources,children:t.map((u,f)=>c.jsx(FF,{source:u,ordinal:f+1},f))}),n&&c.jsx("div",{className:Dt.truncated,children:r.sourcesTruncated})]})}function $F({url:e,statusCode:t,truncated:n,labels:r,className:s}){return c.jsxs("div",{className:pe(Dt.block,Dt.fetch,s),"data-web":"fetch",children:[c.jsx(O9,{url:e,label:e,className:Dt.fetchUrl}),c.jsxs("div",{className:Dt.fetchMeta,children:[c.jsxs("span",{className:Dt.status,children:[r.http," ",t]}),n&&c.jsx("span",{className:Dt.truncated,children:r.contentTruncated})]})]})}function HF(e){return e.kind==="search"?c.jsx(DF,{...e}):c.jsx($F,{...e})}const VF="_root_74oxc_1",BF="_toggle_74oxc_5",ZF="_body_74oxc_20",qu={root:VF,toggle:BF,body:ZF},k6=2e4;function WF({label:e,payload:t,defaultOpen:n=!1,truncatedLabel:r}){const[s,l]=k.useState(n),u=k.useMemo(()=>{if(!s)return"";let f;try{f=JSON.stringify(t,null,2)??String(t)}catch{f=String(t)}return f.length>k6?`${f.slice(0,k6)}
190
+ ${r(f.length)}`:f},[s,t,r]);return c.jsxs("div",{className:qu.root,children:[c.jsxs("button",{type:"button",className:qu.toggle,onClick:()=>{l(f=>!f)},children:[s?"▾":"▸"," ",e]}),s&&c.jsx("pre",{className:qu.body,children:u})]})}function Is(e){switch(e.type){case"text":case"inlineCode":case"code":return e.value??"";case"image":case"imageReference":return e.alt??"";case"break":return`
191
+ `;case"html":return e.value??"";case"codexAnnotation":return"";default:return e.children?.map(Is).join("")??""}}function ja(e){return e.replace(/\s+/g," ").trim()}function oi(e){switch(e.type){case"root":case"blockquote":return e.children?.map(oi).filter(Boolean).join(`
192
+
193
+ `)??"";case"paragraph":case"heading":return ja(Is(e));case"code":return e.value?.trim()??"";case"list":return e.children?.map(oi).filter(Boolean).join(`
194
+ `)??"";case"listItem":return e.children?.map(oi).filter(Boolean).join(" ")??"";case"table":return e.children?.map(oi).filter(Boolean).join(`
195
+ `)??"";case"tableRow":return e.children?.map(oi).join(" ")??"";case"tableCell":return ja(Is(e));case"html":return e.value??"";case"thematicBreak":case"definition":return"";default:return ja(Is(e))}}function L9(e){if(e.type==="paragraph"){const t=ja(Is(e));if(t!=="")return t}for(const t of e.children??[]){const n=L9(t);if(n!==void 0)return n}}function UF(e){return oi(e).split(`
196
+ `).map(t=>t.trim()).join(`
197
+ `).replace(/\n{3,}/g,`
198
+
199
+ `).trim()}function qF(e,t={}){const{mode:n="all"}=t,r=f9(e),s=UF(r);switch(n){case"all":return s;case"first-line":return s.split(`
200
+ `).find(l=>l!=="")??"";case"first-paragraph":return L9(r)??s.split(`
201
+ `).find(l=>l!=="")??""}}const _l=()=>`dsh_plugin_art_${k.useId().replaceAll(":","")}`,GF=({size:e=36,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M10 11L16.606 17.606C16.6841 17.6841 16.6841 17.8107 16.606 17.8888L10 24.4948",stroke:"#679EFE",strokeWidth:"3.5"}),c.jsx("path",{d:"M20.1211 24.4946H26.8685",stroke:"#679EFE",strokeWidth:"3.5"})]}),KF=({size:e=36,className:t})=>{const n=_l();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M18.0486 28.4901C12.0858 28.4901 7.25195 23.6562 7.25195 17.6934C13.2148 17.6934 18.0486 22.5272 18.0486 28.4901Z",fill:"#A797FC"}),c.jsx("path",{d:"M18.0486 6.89667C12.0858 6.89667 7.25195 11.7305 7.25195 17.6934C13.2148 17.6934 18.0486 12.8595 18.0486 6.89667Z",fill:`url(#${n}a)`}),c.jsx("path",{d:"M18.0485 28.4901C24.0114 28.4901 28.8452 23.6562 28.8452 17.6934C22.8824 17.6934 18.0485 22.5272 18.0485 28.4901Z",fill:"#4561EE"}),c.jsx("path",{d:"M18.0485 6.89667C24.0114 6.89667 28.8452 11.7305 28.8452 17.6934C22.8824 17.6934 18.0485 12.8595 18.0485 6.89667Z",fill:"#658EFF"}),c.jsx("defs",{children:c.jsxs("linearGradient",{id:`${n}a`,x1:"16.7911",y1:"16.1655",x2:"8.98192",y2:"8.74289",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#A23AE7"}),c.jsx("stop",{offset:"1",stopColor:"#E2E2E2"})]})})]})},YF=({size:e=36,className:t})=>{const n=_l();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("rect",{x:"14.9893",y:"15.1877",width:"12.2365",height:"12.2365",rx:"2",fill:`url(#${n}a)`,fillOpacity:"0.8"}),c.jsx("rect",{x:"8.87109",y:"9.0697",width:"12.2365",height:"12.2365",rx:"2",fill:`url(#${n}b)`,fillOpacity:"0.8"}),c.jsxs("defs",{children:[c.jsxs("linearGradient",{id:`${n}a`,x1:"21.1075",y1:"15.1877",x2:"21.1075",y2:"27.4243",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#45E7A4"}),c.jsx("stop",{offset:"1",stopColor:"#05909D"})]}),c.jsxs("linearGradient",{id:`${n}b`,x1:"14.9894",y1:"9.0697",x2:"14.9894",y2:"21.3063",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#69B9FF"}),c.jsx("stop",{offset:"1",stopColor:"#324DE2"})]})]})]})},JF=({size:e=36,className:t})=>{const n=_l();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M26.5362 26.9865L22.3813 22.8317",stroke:"#658EFF",strokeWidth:"3"}),c.jsx("g",{clipPath:`url(#${n}ring)`,children:c.jsx("g",{transform:"matrix(0.0119394 -0.00173904 0.00173904 0.0119394 15.7661 16.2159)",children:c.jsx("foreignObject",{x:"-958.94",y:"-958.94",width:"1917.88",height:"1917.88",children:c.jsx("div",{style:{background:"conic-gradient(from 90deg, rgb(65, 225, 172) 0deg, rgb(101, 142, 255) 62.0619deg, rgb(65, 225, 172) 360deg)",height:"100%",width:"100%"}})})})}),c.jsx("defs",{children:c.jsx("clipPath",{id:`${n}ring`,children:c.jsx("path",{d:"M21.9717 16.2159H19.9717C19.9717 18.5386 18.0888 20.4215 15.7661 20.4215V22.4215V24.4215C20.2979 24.4215 23.9717 20.7478 23.9717 16.2159H21.9717ZM15.7661 22.4215V20.4215C13.4434 20.4215 11.5605 18.5386 11.5605 16.2159H9.56055H7.56055C7.56055 20.7478 11.2343 24.4215 15.7661 24.4215V22.4215ZM9.56055 16.2159H11.5605C11.5605 13.8933 13.4434 12.0104 15.7661 12.0104V10.0104V8.01038C11.2343 8.01038 7.56055 11.6841 7.56055 16.2159H9.56055ZM15.7661 10.0104V12.0104C18.0888 12.0104 19.9717 13.8933 19.9717 16.2159H21.9717H23.9717C23.9717 11.6841 20.2979 8.01038 15.7661 8.01038V10.0104Z"})})})]})},QF=({size:e=36,className:t})=>{const n=_l();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M24.6294 8.63696C26.2862 8.63705 27.6294 9.98016 27.6294 11.637V12.7825C27.6292 14.4391 26.2861 15.7824 24.6294 15.7825H23.4839C22.6519 15.7825 21.5454 16.3459 21.5454 17.1778V18.1573C21.5454 18.7757 22.216 19.1966 22.8345 19.1965H24.6294C26.2861 19.1965 27.6292 20.5398 27.6294 22.1965V23.9924C27.6292 25.6491 26.2861 26.9924 24.6294 26.9924H22.8345C21.1778 26.9924 19.8347 25.649 19.8345 23.9924V22.1965C19.8345 21.7148 19.4957 21.2327 19.014 21.2327H16.4792C15.7975 21.2327 15.3374 22.0061 15.3374 22.6877V23.8333C15.3373 25.49 13.9942 26.8333 12.3374 26.8333H11.1919C9.53509 26.8333 8.19198 25.49 8.19189 23.8333V22.6877C8.19189 21.0309 9.53504 19.6877 11.1919 19.6877H12.3374C13.1964 19.6877 14.3999 19.0959 14.3999 18.2369V16.0185C14.3999 14.9518 15.2646 14.0872 16.3312 14.0872H19.435C20.0596 14.0872 20.484 13.4071 20.4839 12.7825V11.637C20.4839 9.98011 21.827 8.63696 23.4839 8.63696H24.6294ZM13.4116 11.2468C13.4116 12.6882 12.2431 13.8567 10.8018 13.8567C9.36037 13.8567 8.19189 12.6882 8.19189 11.2468C8.19189 9.80544 9.36037 8.63696 10.8018 8.63696C12.2431 8.63696 13.4116 9.80544 13.4116 11.2468Z",fill:`url(#${n}a)`}),c.jsx("defs",{children:c.jsxs("linearGradient",{id:`${n}a`,x1:"15.1481",y1:"9.94188",x2:"15.1481",y2:"13.6375",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#54ECE7"}),c.jsx("stop",{offset:"1",stopColor:"#658EFF"})]})})]})};function XF({size:e=36,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,"aria-hidden":"true",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M17.9995 28.1465C23.6034 28.1465 28.1461 23.6038 28.1461 18C28.1461 12.3963 23.6034 7.85352 17.9995 7.85352C12.3958 7.85352 7.85303 12.3963 7.85303 18C7.85303 23.6038 12.3958 28.1465 17.9995 28.1465Z",stroke:"#539CFA",strokeWidth:"2"}),c.jsx("path",{d:"M8.57764 18H27.4211",stroke:"#539CFA",strokeWidth:"2",strokeLinecap:"square"}),c.jsx("path",{d:"M17.999 28.1467C20.0576 28.1467 21.6228 23.6039 21.6228 18C21.6228 12.3963 20.0576 7.85352 17.999 7.85352",stroke:"#539CFA",strokeWidth:"2"}),c.jsx("path",{d:"M17.9992 28.1467C15.9407 28.1467 14.3755 23.6039 14.3755 18C14.3755 12.3963 15.9407 7.85352 17.9992 7.85352",stroke:"#539CFA",strokeWidth:"2"})]})}function eD({size:e=36,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,"aria-hidden":"true",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M10.7603 27.922H24.6817C26.3441 27.922 27.1753 27.922 27.8102 27.5984C28.3687 27.3139 28.8228 26.8598 29.1074 26.3012C29.4309 25.6663 29.4309 24.8351 29.4309 23.1727V15.4936",stroke:"#FFCD78",strokeWidth:"1.97886"}),c.jsx("path",{d:"M13.1597 8.07812C13.4182 8.07818 13.6727 8.14336 13.8989 8.26855L16.7554 9.84961C16.9817 9.97485 17.2369 10.041 17.4956 10.041H26.106C26.9492 10.0412 27.6323 10.7251 27.6323 11.5684V24.5371C27.6323 25.3805 26.9483 26.0645 26.105 26.0645H8.09619C7.25281 26.0645 6.56884 25.3805 6.56885 24.5371V9.60449C6.56909 8.76133 7.25297 8.07812 8.09619 8.07812H13.1597ZM9.81592 14.5508V16.5293H24.3999V14.5508H9.81592Z",fill:"#FFBC4D"})]})}const tD=Object.freeze(Object.defineProperty({__proto__:null,BrandWordmark:oS,Button:u0,CODE_HIGHLIGHT_EXTENSIONS:TP,Checkbox:zC,CodeBlock:h9,ConnectionIndicator:nS,DEFAULT_DIFF_MAX_LINES:n9,DEFAULT_READ_MAX_LINES:t9,DEFAULT_SEARCH_MAX_LINES:o9,DEFAULT_TERMINAL_MAX_LINES:Jh,DiffBlock:WA,DisclosureRow:U_,FISH_LOGO_PATH:_7,FISH_LOGO_VIEWBOX:bs,FileTypeIcon:PT,FishLogo:rS,GuideArtworkBrowser:XF,GuideArtworkFiles:eD,HoverCard:v7,ICON_MEDIUM_STROKE:Q,ICON_REGULAR_STROKE:Y,IconAgentPresetOutlineMedium:hy,IconAgentPresetOutlineRegular:fy,IconAlarmClockOutlineMedium:Gx,IconAlarmClockOutlineRegular:qx,IconApiOutlineMedium:tx,IconApiOutlineRegular:ex,IconArchiveCheckOutlineMedium:k_,IconArchiveCheckOutlineRegular:b_,IconArchiveOffOutlineMedium:C_,IconArchiveOffOutlineRegular:__,IconArchiveOutlineMedium:Yx,IconArchiveOutlineRegular:Kx,IconBellOutlineRegular:z_,IconBranchOutlineMedium:Aw,IconBranchOutlineRegular:Nw,IconBrowseOutlineMedium:my,IconBrowseOutlineRegular:py,IconCheckCircleFillMedium:My,IconCheckCircleFillRegular:Ey,IconCheckCircleOutlineMedium:l_,IconCheckCircleOutlineRegular:J8,IconCheckOutlineMedium:Pw,IconCheckOutlineRegular:xi,IconChecklistOutlineMedium:Tx,IconChecklistOutlineRegular:Lx,IconChevronDownOutlineMedium:Rw,IconChevronDownOutlineRegular:bf,IconChevronLeftOutlineMedium:Fw,IconChevronLeftOutlineRegular:Sf,IconChevronRightOutlineMedium:$w,IconChevronRightOutlineRegular:Dw,IconChevronUpOutlineMedium:Bw,IconChevronUpOutlineRegular:If,IconChevronsUpDownOutlineMedium:x_,IconChevronsUpDownOutlineRegular:y_,IconClockOutlineMedium:kx,IconClockOutlineRegular:bx,IconCloseCircleFillMedium:qw,IconCloseCircleFillRegular:Uw,IconCloseFillMedium:Ww,IconCloseFillRegular:U0,IconCloseOutlineMedium:Zw,IconCloseOutlineRegular:al,IconCodeOutlineMedium:Jy,IconCodeOutlineRegular:Yy,IconCompactOutlineMedium:i_,IconCompactOutlineRegular:o_,IconCompareSplitOutlineMedium:t_,IconCompareSplitOutlineRegular:e_,IconContextInjectionOutlineMedium:vy,IconContextInjectionOutlineRegular:gy,IconCopyOutlineMedium:Gw,IconCopyOutlineRegular:q0,IconCordisPluginOutlineMedium:Xy,IconCordisPluginOutlineRegular:Qy,IconDarkOutlineMedium:vx,IconDarkOutlineRegular:gx,IconDataOutlineMedium:xx,IconDataOutlineRegular:b8,IconDatabaseOutlineMedium:Cx,IconDatabaseOutlineRegular:_x,IconDeliverDocMedium:ay,IconDeliverDocRegular:sy,IconDislikeFillMedium:ry,IconDislikeFillRegular:ny,IconDislikeOutlineMedium:ty,IconDislikeOutlineRegular:ey,IconDownloadOutlineMedium:By,IconDownloadOutlineRegular:Vy,IconEditOutlineMedium:cy,IconEditOutlineRegular:ly,IconEllipsisOutlineMedium:Tw,IconEllipsisOutlineRegular:Lw,IconEnhanceOutlineMedium:by,IconEnhanceOutlineRegular:Cy,IconFileDiffOutlineRegular:T_,IconFlatListOutlineMedium:g_,IconFlatListOutlineRegular:m_,IconFolderCloseMedium:dx,IconFolderCloseRegular:ux,IconFolderOpenMedium:cx,IconFolderOpenOutlineMedium:ax,IconFolderOpenOutlineRegular:sx,IconFolderOpenRegular:lx,IconFollowsystemOutlineMedium:yx,IconFollowsystemOutlineRegular:wx,IconFullscreenOutlineMedium:Ky,IconFullscreenOutlineRegular:Gy,IconGaugeOutlineMedium:jx,IconGaugeOutlineRegular:Sx,IconGlobeOutlineMedium:Ew,IconGlobeOutlineRegular:jw,IconGoalOutlineMedium:Ax,IconGoalOutlineRegular:Nx,IconInfoOutlineMedium:Zx,IconInfoOutlineRegular:A8,IconInspectOutlineMedium:$x,IconInspectOutlineRegular:Dx,IconLightOutlineMedium:mx,IconLightOutlineRegular:px,IconLikeFillMedium:Xw,IconLikeFillRegular:Qw,IconLikeOutlineMedium:Jw,IconLikeOutlineRegular:Yw,IconLinkOutlineMedium:yy,IconLinkOutlineRegular:wy,IconListPenOutlineMedium:Px,IconListPenOutlineRegular:zx,IconLoadingOutlineMedium:Hy,IconLoadingOutlineRegular:s8,IconMicrophoneOutlineMedium:M_,IconMicrophoneOutlineRegular:E_,IconNewChatOutlineMedium:bw,IconNewChatOutlineRegular:Cw,IconNowrapFillMedium:Qx,IconNowrapFillRegular:B8,IconPanelLeftOutlineMedium:Ow,IconPanelLeftOutlineRegular:gf,IconPaperPlaneOutlineMedium:Ay,IconPaperPlaneOutlineRegular:Ny,IconPaperclipOutlineMedium:$y,IconPaperclipOutlineRegular:Dy,IconPauseOutlineMedium:qy,IconPauseOutlineRegular:Uy,IconPersonalizationOutlineMedium:rx,IconPersonalizationOutlineRegular:nx,IconPinFillMedium:p_,IconPinFillRegular:h_,IconPinOutlineMedium:f_,IconPinOutlineRegular:d_,IconPlanOutlineMedium:r_,IconPlanOutlineRegular:n_,IconPlayOutlineMedium:Wy,IconPlayOutlineRegular:Zy,IconPluginPinwheelOutlineMedium:Ux,IconPluginPinwheelOutlineRegular:Wx,IconPlusOutlineMedium:zw,IconPlusOutlineRegular:yf,IconProjectAddOutlineMedium:ix,IconProjectAddOutlineRegular:ox,IconQuestionOutlineMedium:Bx,IconQuestionOutlineRegular:Vx,IconQueueOutlineMedium:Ox,IconQueueOutlineRegular:Ix,IconRefreshOutlineMedium:Kw,IconRefreshOutlineRegular:Nf,IconRightUpOutlineMedium:_y,IconRightUpOutlineRegular:xy,IconSearchOutlineMedium:Sw,IconSearchOutlineRegular:kw,IconSendOutlineMedium:Mx,IconSendOutlineRegular:Ex,IconSettingsOutlineMedium:Iw,IconSettingsOutlineRegular:Mw,IconShareOutlineMedium:iy,IconShareOutlineRegular:oy,IconShieldOutlineMedium:a_,IconShieldOutlineRegular:s_,IconSkillOutlineMedium:Hx,IconSkillOutlineRegular:z8,IconSlidersTwoOutlineMedium:j_,IconSlidersTwoOutlineRegular:S_,IconSparkleMedium:Fx,IconSparkleRegular:Rx,IconStopFillMedium:Fy,IconStopFillRegular:Ry,IconThinkOutlineMedium:dy,IconThinkOutlineRegular:uy,IconTrashOutlineMedium:Sy,IconTrashOutlineRegular:ky,IconTreeCornerMedium:hx,IconTreeCornerRegular:fx,IconTriangleRightFillMedium:Vw,IconTriangleRightFillRegular:Hw,IconUnarchiveOutlineMedium:u_,IconUnarchiveOutlineRegular:c_,IconUserOutlineMedium:Ty,IconUserOutlineRegular:Ly,IconUsersOutlineMedium:Py,IconUsersOutlineRegular:zy,IconWarningOutlineMedium:jy,IconWarningOutlineRegular:Jf,IconWarningTriangleOutlineMedium:Oy,IconWarningTriangleOutlineRegular:Iy,IconWorkspaceTreeOutlineMedium:w_,IconWorkspaceTreeOutlineRegular:v_,IconWrapFillMedium:Xx,IconWrapFillRegular:W8,IconWrapLinesOutlineMedium:Jx,IconWrapLinesOutlineRegular:H8,ImageLightbox:y9,InlineEditor:$C,Input:RC,JsonBlock:WF,JsonTree:kN,LinkIconMedium:Qs,LinkIconRegular:gz,MarkdownAnchor:O2,MarkdownDelegateProvider:GR,MarkdownText:I9,Menu:t2,MenuGroup:Ub,MenuItemButton:Hb,MenuSurface:Aa,Modal:x7,PathLabel:CC,PermissionIconFullAccessMedium:uS,PermissionIconFullAccessRegular:cS,PermissionIconReadOnlyMedium:sS,PermissionIconReadOnlyRegular:iS,PermissionIconWorkspaceWriteMedium:lS,PermissionIconWorkspaceWriteRegular:aS,PhoneSidebarProvider:fb,Pill:Y0,PluginArtworkDefault:QF,PluginArtworkLoop:KF,PluginArtworkSearch:JF,PluginArtworkSubagent:YF,PluginArtworkTerminal:GF,ReadBlock:kA,ReferenceIconMedium:eT,ReferenceIconRegular:Rh,RemotePluginIcon:c7,ResponseAnnotationCard:w7,ResponseAnnotationChip:Ek,ResponseAnnotationLabel:y7,ResponseAnnotationPopover:r2,RiskConfirmation:Wk,SHIELD_OUTLINE_PATH:ff,SearchBlock:lR,SegmentedControl:OC,SegmentedTabs:pC,SettingsForm:eP,SettingsFormModel:gP,SettingsSecretField:hP,SettingsValueField:fP,ShortcutKeys:Rs,StateDot:K0,Switch:kC,Tag:J0,TerminalBlock:iA,TextShimmer:c0,Toast:Zz,Tooltip:Hr,WebBlock:HF,classifyFileType:yl,classifyLinkPath:Ha,closeTopModal:XC,diffTotals:VA,extractMarkdownPlainText:qF,fileExtension:k2,fileSizeText:qz,focusWithoutRing:gi,isBehindModal:h7,isDarwinDesktop:FP,isMobileDevice:f7,languageForPath:k0,modalSelector:X0,observeComposition:ll,observeStickyMenuGroups:qb,pointerModality:g7,preferenceRowStyles:uC,projectUserText:Az,rankByName:RP,relativeTime:NP,settingsNumberField:pP,settingsTextField:mP,shouldAutoFocusTextInput:QC,useAnchoredMaxHeight:Kb,useAnchoredPosition:Yb,useCodeHighlighter:PP,useCopyFeedback:qs,useDismissOnOutsidePointer:n2,useMarkdownDelegate:Xs,useModalLayer:e2,usePhoneSidebar:_i,useSustainedRecovery:Uz,writeClipboard:il},Symbol.toStringTag,{value:"Module"}));function z2(e,t){throw new Error(`${t}: unhandled ${JSON.stringify(e)}`)}function gr(e,t){const n=e.nodes[t];if(n===void 0)throw new Error(`layout: unknown node ${t}`);return n}function Xe(e,t){const n=gr(e,t);if(n.kind!=="pane")throw new Error(`layout: ${t} is not a pane`);return n}function Cl(e,t){const n=gr(e,t);if(n.kind!=="split")throw new Error(`layout: ${t} is not a split`);return n}function jo(e,t){const n=e.tabs[t];if(n===void 0)throw new Error(`layout: unknown tab ${t}`);return n}function ki(e){if(e.host!=="float"||e.rect===void 0)throw new Error(`layout: ${e.id} is not floating`);return e.rect}function P2(e,t){const n=e.floats.indexOf(t);if(n<0)throw new Error(`layout: floating pane ${t} is not in the z order`);return n}function T9(e){const t=e.tabs[0];if(t===void 0||e.tabs.length!==1)throw new Error(`layout: ${e.id} does not hold exactly one tab`);return t}function bl(e,t){for(const n of Object.values(e.nodes))if(n.kind==="split"&&n.children.includes(t))return n}function Rn(e,t){for(const n of Object.values(e.nodes))if(n.kind==="pane"&&n.tabs.includes(t))return n;throw new Error(`layout: tab ${t} has no pane`)}function kl(e){const t=[],n=r=>{const s=gr(e,r);if(s.kind==="pane"){t.push(s.id);return}for(const l of s.children)n(l)};return n(e.rootId),t}function z9(e){const t=e.reduce((n,r)=>n+r,0);if(!(t>0))throw new Error("layout: sizes must sum above zero");return Math.abs(t-1)<1e-12?[...e]:e.map(n=>n/t)}function Zs(e){return Object.entries(e)}function nD(e){return Object.keys(e)}function mt(e,t){const n={};for(const[r,s]of Zs(e.nodes))r in t||(n[r]=s);for(const[r,s]of Zs(t))s!==null&&(n[r]=s);return{...e,nodes:n}}function wo(e,t){const n={};for(const[r,s]of Zs(e.tabs))r in t||(n[r]=s);for(const[r,s]of Zs(t))s!==null&&(n[r]=s);return{...e,tabs:n}}function Br(e,t,n){const r=Math.max(0,Math.min(t,e.length));return[...e.slice(0,r),n,...e.slice(r)]}function qn(e,t){return[...e.slice(0,t),...e.slice(t+1)]}function N2(e,t){const n=qn(e,t);if(n.length!==0)return n[Math.max(0,t-1)]}function bo(e,t,n){return{...e,tabs:t,activeTabId:n}}function A2(e,t,n){const r=bl(e,t);if(r===void 0){if(e.rootId!==t)throw new Error(`layout: ${t} is neither rooted nor parented`);return{...e,rootId:n}}const s=r.children.map(l=>l===t?n:l);return mt(e,{[r.id]:{...r,children:s}})}function P9(e,t){let n=gr(e,e.rootId);for(;n.kind==="split";){const r=t(n);if(r===void 0)throw new Error(`layout: split ${n.id} has no children`);n=gr(e,r)}return n.id}function N9(e){return P9(e,t=>t.children[0])}function A9(e){return P9(e,t=>t.axis==="row"?t.children.at(-1):t.children[0])}function dn(e,t){const n={};for(const r of t)n[r]=Xe(e,r).activeTabId;return{type:"restoreFocus",activePaneId:e.activePaneId,floats:e.floats,paneActiveTabs:n}}function R2(e,t){return[...e.filter(n=>n!==t),t]}function Ea(e,t){return e.activePaneId!==t?e:{...e,activePaneId:N9(e)}}function rD(e){return{kind:"pane",id:e,host:"dock",tabs:[],activeTabId:void 0,rect:void 0}}function Wa(e,t){if(e.nodes[t]!==void 0)throw new Error(`layout: node ${t} already exists`)}function F2(e,t){if(e.tabs[t]!==void 0)throw new Error(`layout: tab ${t} already exists`)}function oD(e,t){if(Xe(e,t.paneId).host!=="dock")throw new Error("layout: split requires a docked pane");Wa(e,t.newPaneId);const r=rD(t.newPaneId),s=bl(e,t.paneId);if(s!==void 0&&s.axis===t.axis){const f=s.children.indexOf(t.paneId),p=t.direction==="after"?f+1:f,m=Br(s.children,p,t.newPaneId),v=s.sizes.flatMap((w,y)=>y===f?[w/2,w/2]:[w]);return{state:mt(e,{[t.newPaneId]:r,[s.id]:{...s,children:m,sizes:v}}),inverse:[{type:"merge",paneId:t.newPaneId},{type:"resize",splitId:s.id,sizes:s.sizes}]}}Wa(e,t.newSplitId);const l=A2(e,t.paneId,t.newSplitId),u=t.direction==="after"?[t.paneId,t.newPaneId]:[t.newPaneId,t.paneId];return{state:mt(l,{[t.newPaneId]:r,[t.newSplitId]:{kind:"split",id:t.newSplitId,axis:t.axis,children:u,sizes:[.5,.5]}}),inverse:[{type:"merge",paneId:t.newPaneId}]}}function iD(e,t){const n=Xe(e,t.paneId);if(n.tabs.length>0)throw new Error("layout: merge requires an empty pane");const r=dn(e,[]);if(n.host==="float"){const p=P2(e,t.paneId),m=mt({...e,floats:qn(e.floats,p)},{[t.paneId]:null});return{state:Ea(m,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"float",index:p}},r]}}const s=bl(e,t.paneId);if(s===void 0)throw new Error("layout: the docked root pane cannot be merged");const l=s.children.indexOf(t.paneId);if(s.children.length>2){const p=qn(s.children,l),m=z9(qn(s.sizes,l)),v=mt(e,{[t.paneId]:null,[s.id]:{...s,children:p,sizes:m}});return{state:Ea(v,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"child",parentId:s.id,index:l,sizes:s.sizes}},r]}}const u=s.children[1-l];if(u===void 0)throw new Error("layout: merge found a split without a sibling");const f=mt(A2(e,s.id,u),{[t.paneId]:null,[s.id]:null});return{state:Ea(f,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"wrap",targetId:u,split:s}},r]}}function sD(e,t){const n=Xe(e,t.paneId);if(n.host!=="dock")throw new Error("layout: openTab requires a docked pane");F2(e,t.tab.id);const r=dn(e,[n.id]);return{state:{...mt(wo(e,{[t.tab.id]:t.tab}),{[n.id]:bo(n,Br(n.tabs,t.index,t.tab.id),t.tab.id)}),activePaneId:n.id},inverse:[{type:"closeTab",tabId:t.tab.id},r]}}function aD(e,t){const n=Xe(e,t.paneId);if(n.host!=="dock")throw new Error("layout: insertTab requires a docked pane");F2(e,t.tab.id);const r=dn(e,[n.id]),s=Br(n.tabs,t.index,t.tab.id);return{state:mt(wo(e,{[t.tab.id]:t.tab}),{[n.id]:bo(n,s,n.activeTabId??t.tab.id)}),inverse:[{type:"closeTab",tabId:t.tab.id},r]}}function lD(e,t){const n=jo(e,t.tabId),r=Rn(e,t.tabId),s=r.tabs.indexOf(t.tabId),l=dn(e,[r.id]);if(r.host==="float"){const f=P2(e,r.id),p=wo(mt({...e,floats:qn(e.floats,f)},{[r.id]:null}),{[t.tabId]:null});return{state:Ea(p,r.id),inverse:[{type:"insertPane",pane:r,tabs:[n],attach:{mode:"float",index:f}},l]}}const u=r.activeTabId===t.tabId?N2(r.tabs,s):r.activeTabId;return{state:wo(mt(e,{[r.id]:bo(r,qn(r.tabs,s),u)}),{[t.tabId]:null}),inverse:[{type:"insertTab",paneId:r.id,tab:n,index:s},l]}}function cD(e,t){if(Wa(e,t.pane.id),t.pane.tabs.length!==t.tabs.length)throw new Error("layout: insertPane tab records do not match the pane");if(t.pane.host==="dock"&&t.tabs.length>0)throw new Error("layout: insertPane returns a docked pane empty");const n={};for(const u of t.tabs)F2(e,u.id),n[u.id]=u;const r=t.tabs[0],s=r===void 0?[{type:"merge",paneId:t.pane.id}]:[{type:"closeTab",tabId:r.id},dn(e,[])],l=t.attach;switch(l.mode){case"child":{const u=Cl(e,l.parentId),f=Br(u.children,l.index,t.pane.id);if(l.sizes.length!==f.length)throw new Error("layout: insertPane sizes do not match the split");return s.push({type:"resize",splitId:u.id,sizes:u.sizes}),{state:mt(wo(e,n),{[t.pane.id]:t.pane,[u.id]:{...u,children:f,sizes:l.sizes}}),inverse:s}}case"wrap":{if(!l.split.children.includes(t.pane.id))throw new Error("layout: insertPane wrap split does not list the pane");const u=A2(e,l.targetId,l.split.id);return{state:mt(wo(u,n),{[t.pane.id]:t.pane,[l.split.id]:l.split}),inverse:s}}case"float":{if(t.pane.host!=="float")throw new Error("layout: float attachment requires a floating pane");const u=Br(e.floats,l.index,t.pane.id);return{state:mt(wo({...e,floats:u},n),{[t.pane.id]:t.pane}),inverse:s}}default:return z2(l,"layout: insertPane attachment")}}function uD(e,t){const n=Rn(e,t.tabId);if(n.host!=="dock")throw new Error("layout: moveTab source must be docked; use unfloat");const r=Xe(e,t.toPaneId);if(r.host!=="dock")throw new Error("layout: moveTab target must be docked");if(r.id===n.id)throw new Error("layout: moveTab across one pane; use reorderTab");const s=n.tabs.indexOf(t.tabId),l=dn(e,[n.id,r.id]),u=n.activeTabId===t.tabId?N2(n.tabs,s):n.activeTabId;return{state:{...mt(e,{[n.id]:bo(n,qn(n.tabs,s),u),[r.id]:bo(r,Br(r.tabs,t.index,t.tabId),t.tabId)}),activePaneId:r.id},inverse:[{type:"moveTab",tabId:t.tabId,toPaneId:n.id,index:s},l]}}function dD(e,t){const n=Rn(e,t.tabId),r=n.tabs.indexOf(t.tabId),s=Br(qn(n.tabs,r),t.index,t.tabId);return{state:mt(e,{[n.id]:{...n,tabs:s}}),inverse:[{type:"reorderTab",tabId:t.tabId,index:r}]}}function fD(e,t){const n=Rn(e,t.tabId),r=dn(e,[n.id]),s=mt(e,{[n.id]:{...n,activeTabId:t.tabId}}),l=n.host==="float"?R2(s.floats,n.id):s.floats;return{state:{...s,activePaneId:n.id,floats:l},inverse:[r]}}function hD(e,t){const n=Xe(e,t.paneId),r=dn(e,[]),s=n.host==="float"?R2(e.floats,n.id):e.floats;return{state:{...e,activePaneId:n.id,floats:s},inverse:[r]}}function pD(e,t){const n=Cl(e,t.splitId);if(t.sizes.length!==n.children.length)throw new Error("layout: resize sizes do not match the split");if(t.sizes.some(r=>!(r>0)))throw new Error("layout: resize sizes must all be above zero");return{state:mt(e,{[n.id]:{...n,sizes:z9(t.sizes)}}),inverse:[{type:"resize",splitId:n.id,sizes:n.sizes}]}}function mD(e,t){jo(e,t.tabId);const n=Rn(e,t.tabId);if(n.host!=="dock")throw new Error("layout: float requires a docked tab");Wa(e,t.newPaneId);const r=n.tabs.indexOf(t.tabId),s=dn(e,[n.id]),l=n.activeTabId===t.tabId?N2(n.tabs,r):n.activeTabId,u=mt(e,{[n.id]:bo(n,qn(n.tabs,r),l),[t.newPaneId]:{kind:"pane",id:t.newPaneId,host:"float",tabs:[t.tabId],activeTabId:t.tabId,rect:t.rect}});return{state:{...u,floats:[...u.floats,t.newPaneId],activePaneId:t.newPaneId},inverse:[{type:"unfloat",paneId:t.newPaneId,toPaneId:n.id,index:r},s]}}function gD(e,t){const n=Xe(e,t.paneId),r=ki(n),s=T9(n),l=Xe(e,t.toPaneId);if(l.host!=="dock")throw new Error("layout: unfloat target must be docked");const u=dn(e,[l.id]);return{state:{...mt({...e,floats:qn(e.floats,P2(e,t.paneId))},{[t.paneId]:null,[l.id]:bo(l,Br(l.tabs,t.index,s),s)}),activePaneId:l.id},inverse:[{type:"float",tabId:s,newPaneId:t.paneId,rect:r},u]}}function R9(e,t,n){const r=mt(e,{[t.id]:{...t,rect:n}});return{...r,activePaneId:t.id,floats:R2(r.floats,t.id)}}function vD(e,t){const n=Xe(e,t.paneId),r=ki(n);return{state:R9(e,n,{...r,x:t.x,y:t.y}),inverse:[{type:"moveFloat",paneId:t.paneId,x:r.x,y:r.y},dn(e,[])]}}function wD(e,t){const n=Xe(e,t.paneId),r=ki(n);if(!(t.rect.width>0)||!(t.rect.height>0))throw new Error("layout: float size must be above zero");return{state:R9(e,n,t.rect),inverse:[{type:"resizeFloat",paneId:t.paneId,rect:r},dn(e,[])]}}function yD(e,t){const n=dn(e,nD(t.paneActiveTabs));for(const s of t.floats)if(Xe(e,s).host!=="float")throw new Error(`layout: restoreFocus lists docked pane ${s} as floating`);let r=e;for(const[s,l]of Zs(t.paneActiveTabs)){const u=Xe(r,s);r=mt(r,{[s]:{...u,activeTabId:l}})}return Xe(r,t.activePaneId),{state:{...r,activePaneId:t.activePaneId,floats:t.floats},inverse:[n]}}function Si(e,t){switch(t.type){case"split":return oD(e,t);case"merge":return iD(e,t);case"openTab":return sD(e,t);case"insertTab":return aD(e,t);case"closeTab":return lD(e,t);case"insertPane":return cD(e,t);case"moveTab":return uD(e,t);case"reorderTab":return dD(e,t);case"focusTab":return fD(e,t);case"focusPane":return hD(e,t);case"resize":return pD(e,t);case"float":return mD(e,t);case"unfloat":return gD(e,t);case"moveFloat":return vD(e,t);case"resizeFloat":return wD(e,t);case"setExpanded":return{state:{...e,expanded:t.expanded},inverse:[{type:"setExpanded",expanded:e.expanded}]};case"setMode":return{state:{...e,mode:t.mode},inverse:[{type:"setMode",mode:e.mode}]};case"restoreFocus":return yD(e,t);default:return z2(t,"layout: operation")}}function xD(e,t){return t.reduce((n,r)=>Si(n,r).state,e)}const F9={entries:[],cursor:0},_D=new Set(["focusTab","focusPane","restoreFocus"]);function D9(e){return _D.has(e.type)}function Ua(e,t){const n=e.entries[t];return n!==void 0&&n.ops.every(D9)}function D2(e){return e.cursor>0}function $2(e){return e.cursor<e.entries.length}function $9(e){return e.entries.flatMap(t=>t.ops)}function H9(e,t,n){if(n.length===0)return{history:e,state:t};let r=t;const s=[];for(const u of n){const f=Si(r,u);r=f.state,s.unshift(...f.inverse)}return{history:{entries:[...e.cursor===e.entries.length?e.entries:e.entries.slice(0,e.cursor),{ops:n,inverse:s}],cursor:e.cursor+1},state:r}}function V9(e,t){if(!D2(e))return;let n=1;if(Ua(e,e.cursor-1))for(;Ua(e,e.cursor-1-n);)n+=1;let r=t;for(const s of e.entries.slice(e.cursor-n,e.cursor).reverse())for(const l of s.inverse)r=Si(r,l).state;return{history:{entries:e.entries,cursor:e.cursor-n},state:r}}function B9(e,t){if(!$2(e))return;let n=1;if(Ua(e,e.cursor))for(;Ua(e,e.cursor+n);)n+=1;let r=t;for(const s of e.entries.slice(e.cursor,e.cursor+n))for(const l of s.ops)r=Si(r,l).state;return{history:{entries:e.entries,cursor:e.cursor+n},state:r}}class Z9{current;recorded=F9;constructor(t){this.current=t}get state(){return this.current}get history(){return this.recorded}get ops(){return $9(this.recorded)}get cursor(){return this.recorded.cursor}get canUndo(){return D2(this.recorded)}get canRedo(){return $2(this.recorded)}dispatch(t){return this.dispatchAll([t])}dispatchAll(t){const n=H9(this.recorded,this.current,t);return this.recorded=n.history,this.current=n.state,this.current}undo(){const t=V9(this.recorded,this.current);return t===void 0?!1:(this.recorded=t.history,this.current=t.state,!0)}redo(){const t=B9(this.recorded,this.current);return t===void 0?!1:(this.recorded=t.history,this.current=t.state,!0)}}const W9=4,H2=.12,qa={width:380,height:300},U9={width:220,height:140},V2=.25;function q9(e){return kl(e).length}function Sl(e){return q9(e)<W9}const CD=["center","top","right","bottom","left"];function G9(e,t,n=V2){let r="left",s=e;return 1-e<s&&(r="right",s=1-e),t<s&&(r="top",s=t),1-t<s&&(r="bottom",s=1-t),s<n?r:"center"}function K9(e){switch(e){case"center":return;case"left":return{axis:"row",direction:"before"};case"right":return{axis:"row",direction:"after"};case"top":return{axis:"column",direction:"before"};case"bottom":return{axis:"column",direction:"after"};default:return z2(e,"layout: dock zone")}}function B2(e,t=H2){if(e.length===0)return[];const n=Math.min(t,1/e.length),r=e.map(f=>f>0?f:0),s=r.reduce((f,p)=>f+p,0);let l=s>0?r.map(f=>f/s):r.map(()=>1/e.length);const u=new Set;for(;;){const f=l.flatMap((v,w)=>!u.has(w)&&v<n?[w]:[]);if(f.length===0)return l;for(const v of f)u.add(v);const p=1-u.size*n,m=l.reduce((v,w,y)=>u.has(y)?v:v+w,0);l=l.map((v,w)=>u.has(w)?n:v/m*p)}}function Ga(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function Y9(e,t,n,r=V2){return!(e.width>0)||!(e.height>0)?"center":G9((t-e.x)/e.width,(n-e.y)/e.height,r)}function J9(e,t){let n=0;for(const r of e){if(t<r.x+r.width/2)break;n+=1}return n}const ko={divider:0,chip:100,body:48};function Q9(e,t=ko){const{pane:n,strip:r}=e;if(!(n.width>0)||!(n.height>0)||!(r.width>0))return{row:!0,column:!0};const s=Math.max(0,n.width-r.width),l=Math.max(0,r.width-e.chipsWidth-e.fillWidth-(e.splitControlWidth??0)),u=(n.width-t.divider)/2-s,f=(n.height-t.divider)/2-s;return{row:u>=l+t.chip,column:f>=r.height+t.body}}const O0=4;function X9(e,t,n,r){return Math.abs(n-e)>=O0||Math.abs(r-t)>=O0}function ep(e,t,n){const r=e[t],s=e[t+1];if(r===void 0||s===void 0)return[...e];const l=[...e];return l[t]=r+n,l[t+1]=s-n,l}function tp(e,t,n){return{...e,x:e.x+t,y:e.y+n}}function np(e,t,n,r){return{...e,width:Math.max(r.width,e.width+t),height:Math.max(r.height,e.height+n)}}function rp(e,t,n){return{x:Math.max(0,e-S6.x),y:Math.max(0,t-S6.y),...n}}const S6={x:60,y:14},bD=24,j6={x:160,y:120},_n=[];function op(e,t,n,r){for(const s of Xe(e,t).tabs){const l=e.tabs[s];if(l?.contentId===n&&(r===void 0||l.kind===r))return s}}function ip(e,t,n){for(const r of[...kl(e),...e.floats]){const s=op(e,r,t,n);if(s!==void 0)return s}}function ji(e){const t=Xe(e,e.activePaneId);return t.host==="dock"?t.id:N9(e)}function L0(e,t,n,r){return e.host==="float"?{type:"unfloat",paneId:e.id,toPaneId:n,index:r}:{type:"moveTab",tabId:t,toPaneId:n,index:r}}function sp(e,t){return e.expanded===t?_n:[{type:"setExpanded",expanded:t}]}function ap(e,t){return e.mode===t?_n:[{type:"setMode",mode:t}]}function lp(e,t,n,r){if(!Sl(e))return _n;const s=n??ji(e);if(Xe(e,s).host!=="dock")return _n;const l=t("pane"),u=[{type:"split",paneId:s,axis:"row",direction:"after",newPaneId:l,newSplitId:t("split")}],f=r?.(t("tab"));return f!==void 0&&u.push({type:"openTab",paneId:l,tab:f,index:0}),u}function cp(e,t,n,r){if(r===void 0)return _n;const s=Xe(e,n);return s.host!=="dock"?_n:[{type:"openTab",paneId:n,tab:r(t("tab")),index:s.tabs.length}]}function up(e,t,n){const r=n.revealIfOpened===!1?void 0:ip(e,n.contentId,n.kind);if(r!==void 0)return{ops:[{type:"focusTab",tabId:r}],tabId:r};const s=n.paneId??ji(e),l={id:t("tab"),kind:n.kind,contentId:n.contentId,title:n.title};return{ops:[{type:"openTab",paneId:s,tab:l,index:n.index??Xe(e,s).tabs.length}],tabId:l.id}}function dp(e,t,n){const r=jo(e,n),s=Rn(e,n),l=s.host==="dock"?s.id:ji(e),u=s.host==="dock"?s.tabs.indexOf(n)+1:Xe(e,l).tabs.length,f={...r,id:t("tab")};return{ops:[{type:"openTab",paneId:l,tab:f,index:u}],tabId:f.id}}function fp(e,t,n,r){const s=Rn(e,t);if(Xe(e,n).host!=="dock")return _n;if(s.id===n){const l=s.tabs.indexOf(t),u=r>l?r-1:r;return u===l?_n:[{type:"reorderTab",tabId:t,index:u}]}return[L0(s,t,n,r)]}function hp(e,t,n,r,s,l){const u=Rn(e,n),f=Xe(e,r);if(f.host!=="dock")return _n;const p=K9(s);if(p===void 0)return u.id===r?_n:[L0(u,n,r,f.tabs.length)];const m=u.id===r&&u.tabs.length===1;if(m&&l===void 0||!Sl(e))return _n;const v=t("pane"),w=[{type:"split",paneId:r,axis:p.axis,direction:p.direction,newPaneId:v,newSplitId:t("split")}];return m&&l!==void 0&&w.push({type:"openTab",paneId:r,tab:l(t("tab")),index:u.tabs.length}),w.push(L0(u,n,v,0)),w}function pp(e,t,n,r){const s=e.floats.length*bD,l=t("float");return{ops:[{type:"float",tabId:n,newPaneId:l,rect:r??{x:j6.x+s,y:j6.y+s,width:qa.width,height:qa.height}}],paneId:l}}function mp(e,t,n){const r=n??ji(e);return[{type:"unfloat",paneId:t,toPaneId:r,index:Xe(e,r).tabs.length}]}function gp(e,t,n){return[{type:"resize",splitId:e,sizes:B2(t,n)}]}function kD(e,t,n){const r=[];let s=e;for(;;){const u=kl(s).find(p=>p!==s.rootId&&Xe(s,p).tabs.length===0);if(u===void 0)break;const f={type:"merge",paneId:u};r.push(f),s=Si(s,f).state}const l=gr(s,s.rootId);return l.kind==="pane"&&l.tabs.length===0&&n!==void 0&&r.push({type:"openTab",paneId:l.id,tab:n(t("tab")),index:0}),r}function vp(e=0){let t=e;return{next:(r=>(t+=1,`${r}${t}`))}}function wp(e,t,n="push"){const r=e.next("pane"),s=t?.(e.next("tab"));return{nodes:{[r]:{kind:"pane",id:r,host:"dock",tabs:s===void 0?[]:[s.id],activeTabId:s?.id,rect:void 0}},tabs:s===void 0?{}:{[s.id]:s},rootId:r,floats:[],activePaneId:r,expanded:!1,mode:n}}class SD{minter;sequencer;listeners=new Set;makePaneTab;snapshot;constructor(t={}){this.minter=vp(),this.makePaneTab=t.makePaneTab,this.sequencer=new Z9(wp(this.minter,t.makeInitialTab,t.mode)),this.snapshot=this.buildSnapshot()}subscribe=t=>(this.listeners.add(t),()=>{this.listeners.delete(t)});getSnapshot=()=>this.snapshot;get ops(){return this.sequencer.ops}buildSnapshot(){const t=this.sequencer.state;return{state:t,canUndo:this.sequencer.canUndo,canRedo:this.sequencer.canRedo,canSplit:Sl(t),opCount:this.sequencer.ops.length,cursor:this.sequencer.cursor}}commit(){this.snapshot=this.buildSnapshot();for(const t of[...this.listeners])t()}get state(){return this.sequencer.state}get mint(){return this.minter.next}run(t){return t.length===0?!1:(this.sequencer.dispatchAll(t),this.commit(),!0)}setExpanded(t){this.run(sp(this.state,t))}toggleExpanded(){this.setExpanded(!this.state.expanded)}setMode(t){this.run(ap(this.state,t))}splitPane(t){return this.run(lp(this.state,this.mint,t,this.makePaneTab))}addTab(t){return this.run(cp(this.state,this.mint,t,this.makePaneTab))}openContent(t){const n=up(this.state,this.mint,t);return this.run(n.ops),n.tabId}duplicateTab(t){const n=dp(this.state,this.mint,t);return this.run(n.ops),n.tabId}closeTab(t){this.run([{type:"closeTab",tabId:t}])}focusTab(t){this.run([{type:"focusTab",tabId:t}])}focusPane(t){this.run([{type:"focusPane",paneId:t}])}reorderTab(t,n){this.run([{type:"reorderTab",tabId:t,index:n}])}placeTab(t,n,r){return this.run(fp(this.state,t,n,r))}dropTab(t,n,r){return this.run(hp(this.state,this.mint,t,n,r))}floatTab(t,n){const r=pp(this.state,this.mint,t,n);return this.run(r.ops),r.paneId}unfloatPane(t,n){this.run(mp(this.state,t,n))}moveFloat(t,n,r){this.run([{type:"moveFloat",paneId:t,x:n,y:r}])}resizeFloat(t,n){this.run([{type:"resizeFloat",paneId:t,rect:n}])}resizeSplit(t,n){this.run(gp(t,n))}undo(){return this.sequencer.undo()?(this.commit(),!0):!1}redo(){return this.sequencer.redo()?(this.commit(),!0):!1}activeDockPaneId(){return ji(this.state)}}const jD={x:0,y:0,width:0,height:0},ED={row:!0,column:!0};function _a(e){return e===null?jD:e.getBoundingClientRect()}function ii(e){const t=Number.parseFloat(e);return Number.isFinite(t)?t:0}function yp(e){const t=[];for(const n of e.querySelectorAll("[data-dockkit-pane]")){const r=n.dataset.dockkitPane;r!==void 0&&t.push([r,n])}return t}function MD(e){const t=e.querySelector("[data-dockkit-tab]");if(t===null)return ko.chip;const n=getComputedStyle(t),r=ii(n.minWidth);return r<=0?ko.chip:n.boxSizing==="border-box"?r:r+ii(n.paddingLeft)+ii(n.paddingRight)+ii(n.borderLeftWidth)+ii(n.borderRightWidth)}function ID(e){const t=e.querySelector("[data-dockkit-divider]");if(t===null)return ko.divider;const{width:n,height:r}=t.getBoundingClientRect(),s=Math.min(n,r);return s>0?s:ko.divider}function OD(e){const t=e.querySelector("[data-dockkit-split-button]");if(t===null)return 0;const n=t.getBoundingClientRect().width;if(!(n>0))return 0;const r=e.querySelector("[data-dockkit-strip]");return n+(r===null?0:ii(getComputedStyle(r).columnGap))}function LD(e,t=!1){const n={divider:ID(e),chip:MD(e),body:ko.body},r=new Map;for(const[s,l]of yp(e))r.set(s,Q9({pane:_a(l),strip:_a(l.querySelector("[data-dockkit-strip]")),chipsWidth:_a(l.querySelector("[data-dockkit-strip-tabs]")).width,fillWidth:_a(l.querySelector("[data-dockkit-strip-fill]")).width,splitControlWidth:t?OD(l):0},n));return r}function T0(e,t){return e.get(t)??ED}function TD(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e){const s=t.get(n);if(s===void 0||s.row!==r.row||s.column!==r.column)return!1}return!0}function zD(e,t){typeof e.setPointerCapture=="function"&&e.setPointerCapture(t)}function PD(e,t,n){zD(e,t);const r=new AbortController,{signal:s}=r;e.dataset.dockkitPointer=String(t),s.addEventListener("abort",()=>{e.dataset.dockkitPointer===String(t)&&delete e.dataset.dockkitPointer},{once:!0});const l=u=>u.pointerId===t;return window.addEventListener("pointermove",u=>{l(u)&&n.move(u)},{signal:s}),window.addEventListener("pointerup",u=>{l(u)&&(r.abort(),n.up(u))},{signal:s}),window.addEventListener("pointercancel",u=>{l(u)&&(r.abort(),n.cancel())},{signal:s}),()=>{r.abort()}}function xp(e){const t=k.useRef(void 0);return k.useEffect(()=>()=>{t.current?.stop()},[]),(n,r,s)=>{t.current?.end();const l=()=>{t.current=void 0,e()},u=PD(n,r,{move:s.move,up:f=>{l(),s.up(f)},cancel:l});t.current={stop:u,end:()=>{u(),l()}}}}const ND="_split_116sf_17",AD="_splitRow_116sf_24",RD="_splitColumn_116sf_28",FD="_splitCell_116sf_32",DD="_divider_116sf_39",$D="_surface_116sf_137",HD="_tabLayout_116sf_146",VD="_tabCell_116sf_154",BD="_emptyTabHost_116sf_155",ZD="_floatingCell_116sf_168",WD="_tabHost_116sf_174",UD="_float_116sf_168",qD="_tabHostHeader_116sf_195",GD="_tabHostBody_116sf_199",KD="_tabLayoutDivider_116sf_204",YD="_pane_116sf_233",JD="_tabStrip_116sf_261",QD="_stripTabs_116sf_280",XD="_stripFill_116sf_317",e$="_stripChrome_116sf_325",t$="_paneBody_116sf_347",n$="_slot_116sf_356",r$="_tabActive_116sf_375",o$="_slotCaret_116sf_375",i$="_tab_116sf_146",s$="_tabTitle_116sf_418",a$="_floatTitle_116sf_438",l$="_tabClose_116sf_445",c$="_addTab_116sf_488",u$="_tabQuiet_116sf_527",d$="_tabDragging_116sf_544",f$="_iconButton_116sf_550",h$="_menu_116sf_586",p$="_menuItem_116sf_600",m$="_empty_116sf_155",g$="_dockScrim_116sf_638",v$="_dockHint_116sf_640",w$="_dockHintCard_116sf_645",y$="_dockHintLabel_116sf_740",x$="_floatHeader_116sf_819",_$="_dockGlyph_116sf_836",C$="_floatBody_116sf_841",b$="_floatResize_116sf_851",Ee={split:ND,splitRow:AD,splitColumn:RD,splitCell:FD,divider:DD,surface:$D,tabLayout:HD,tabCell:VD,emptyTabHost:BD,floatingCell:ZD,tabHost:WD,float:UD,tabHostHeader:qD,tabHostBody:GD,tabLayoutDivider:KD,pane:YD,tabStrip:JD,stripTabs:QD,stripFill:XD,stripChrome:e$,paneBody:t$,slot:n$,tabActive:r$,slotCaret:o$,tab:i$,tabTitle:s$,floatTitle:a$,tabClose:l$,addTab:c$,tabQuiet:u$,tabDragging:d$,iconButton:f$,menu:h$,menuItem:p$,empty:m$,dockScrim:g$,dockHint:v$,dockHintCard:w$,dockHintLabel:y$,floatHeader:x$,dockGlyph:_$,floatBody:C$,floatResize:b$},Gu=4;function k$(e,t){const n=e.getBoundingClientRect(),r=t.offsetWidth,s=n.left+r+Gu>window.innerWidth?Math.max(Gu,n.right-r):n.left;return{top:n.bottom+Gu,left:s}}function S$({labels:e,anchor:t,onClose:n,onDismiss:r,extras:s}){const l=k.useRef(null),[u,f]=k.useState(void 0),p=n!==void 0||k.Children.toArray(s).some(m=>m!=="");return k.useLayoutEffect(()=>{l.current!==null&&f(k$(t,l.current))},[t,p]),k.useEffect(()=>{const m=l.current;if(m===null)return;const v=m.ownerDocument,w=ll(v),y=C=>{if(w.guards(C)||C.defaultPrevented||C.key!=="Escape"||C.ctrlKey||C.altKey||C.metaKey||C.shiftKey||[...v.querySelectorAll(X0)].at(-1)!==m||(C.preventDefault(),C.repeat))return;const M=m.contains(v.activeElement);r(),M&&gi(t)};v.addEventListener("keydown",y,!0);const x=C=>{C.target instanceof Node&&m.contains(C.target)||r()};return window.addEventListener("pointerdown",x,!0),()=>{w.dispose(),v.removeEventListener("keydown",y,!0),window.removeEventListener("pointerdown",x,!0)}},[t,r,p]),p?bn.createPortal(c.jsxs(Aa,{className:Ee.menu,ref:l,role:"menu","data-dockkit-tab-menu":!0,style:u??{visibility:"hidden",top:0,left:0},onPointerDown:m=>{m.stopPropagation()},onClick:m=>{m.stopPropagation()},children:[n!==void 0&&c.jsx("button",{type:"button",role:"menuitem",className:Ee.menuItem,"data-dockkit-menu-close":!0,onClick:n,children:e.closeTab}),s]}),document.body):null}function E6(e){e.scrollWidth>e.clientWidth+1?e.dataset.dockkitTabClipped="":delete e.dataset.dockkitTabClipped}function _p({children:e}){const t=k.useRef(null);return k.useLayoutEffect(()=>{t.current!==null&&E6(t.current)}),k.useLayoutEffect(()=>{const n=t.current;if(n===null||typeof ResizeObserver>"u")return;const r=new ResizeObserver(()=>{E6(n)});return r.observe(n),()=>{r.disconnect()}},[]),c.jsx("span",{ref:t,className:Ee.tabTitle,"data-dockkit-tab-title":!0,children:e})}const j$="M9.67272 0.522841C10.8339 0.522841 11.76 0.522714 12.4963 0.602493C13.2453 0.683657 13.8789 0.854248 14.4264 1.25197C14.7504 1.48739 15.0355 1.77247 15.2709 2.0965C15.6686 2.64394 15.8392 3.27758 15.9204 4.02655C16.0002 4.7629 16 5.68895 16 6.85014V9.14986C16 10.3111 16.0002 11.2371 15.9204 11.9735C15.8392 12.7224 15.6686 13.3561 15.2709 13.9035C15.0355 14.2275 14.7504 14.5126 14.4264 14.748C13.8789 15.1458 13.2453 15.3163 12.4963 15.3975C11.76 15.4773 10.8339 15.4772 9.67272 15.4772H6.3273C5.16611 15.4772 4.24006 15.4773 3.50371 15.3975C2.75474 15.3163 2.1211 15.1458 1.57366 14.748C1.24963 14.5126 0.964549 14.2275 0.729131 13.9035C0.331407 13.3561 0.160817 12.7224 0.0796529 11.9735C-0.000126137 11.2371 1.25338e-09 10.3111 1.25338e-09 9.14986V6.85014C1.25329e-09 5.68895 -0.000126137 4.7629 0.0796529 4.02655C0.160817 3.27758 0.331407 2.64394 0.729131 2.0965C0.964549 1.77247 1.24963 1.48739 1.57366 1.25197C2.1211 0.854248 2.75474 0.683657 3.50371 0.602493C4.24006 0.522714 5.16611 0.522841 6.3273 0.522841H9.67272ZM4.1828 14.0873L5.54303 14.1118C5.78636 14.1128 6.04709 14.1169 6.3273 14.1169H9.67272C10.8639 14.1169 11.7032 14.1164 12.3493 14.0465C12.9824 13.9779 13.3497 13.8494 13.6268 13.6482C13.8354 13.4966 14.0195 13.3125 14.1711 13.1039C14.3723 12.8268 14.5007 12.4595 14.5693 11.8264C14.6393 11.1803 14.6398 10.341 14.6398 9.14986V6.85014C14.6398 5.65896 14.6393 4.81967 14.5693 4.1736C14.5007 3.54048 14.3723 3.17318 14.1711 2.89609C14.0195 2.68747 13.8354 2.50337 13.6268 2.35179C13.3497 2.1506 12.9824 2.02212 12.3493 1.95353C11.7032 1.88358 10.8639 1.88307 9.67272 1.88307H6.3273C6.04709 1.88307 5.78636 1.8862 5.54303 1.88715L4.1828 1.91166C3.99125 1.9216 3.8148 1.93577 3.65076 1.95353C3.01764 2.02212 2.65034 2.1506 2.37325 2.35179C2.16463 2.50337 1.98052 2.68747 1.82895 2.89609C1.62776 3.17318 1.49928 3.54048 1.43069 4.1736C1.36074 4.81967 1.36023 5.65896 1.36023 6.85014V9.14986C1.36023 10.341 1.36074 11.1803 1.43069 11.8264C1.49928 12.4595 1.62776 12.8268 1.82895 13.1039C1.98052 13.3125 2.16463 13.4966 2.37325 13.6482C2.65034 13.8494 3.01764 13.9779 3.65076 14.0465C3.81478 14.0642 3.99127 14.0774 4.1828 14.0873Z";function E$(){return c.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[c.jsx("path",{d:"M13.5 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 1.5V14.5",stroke:"currentColor"})]})}const M$={center:"M4.56 3.48H11.44A1.6 1.6 0 0 1 13.04 5.08V10.92A1.6 1.6 0 0 1 11.44 12.52H4.56A1.6 1.6 0 0 1 2.96 10.92V5.08A1.6 1.6 0 0 1 4.56 3.48Z",left:"M4 0.523H8V15.477H4A4 4 0 0 1 0 11.477V4.523A4 4 0 0 1 4 0.523Z",right:"M8 0.523H12A4 4 0 0 1 16 4.523V11.477A4 4 0 0 1 12 15.477H8Z",top:"M0 8V4.523A4 4 0 0 1 4 0.523H12A4 4 0 0 1 16 4.523V8Z",bottom:"M0 8H16V11.477A4 4 0 0 1 12 15.477H4A4 4 0 0 1 0 11.477Z"};function I$({zone:e}){return c.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:j$,fill:"currentColor"}),c.jsx("path",{d:M$[e],fill:"currentColor"})]})}function Ku({zone:e,active:t,labels:n}){return c.jsx("div",{className:Ee.dockHint,"data-dockkit-dock-zone":e,"data-dockkit-drop-active":t||void 0,children:c.jsxs("div",{className:Ee.dockHintCard,children:[c.jsx(I$,{zone:e}),c.jsx("span",{className:Ee.dockHintLabel,children:n.dropZone[e]})]})})}function O$(e,t,n){const r=t.length,s=t.indexOf(n);switch(e){case"ArrowLeft":return t[(s-1+r)%r];case"ArrowRight":return t[(s+1)%r];case"Home":return t[0];case"End":return t.at(-1);default:return}}function L$(e){return e==="Enter"||e===" "}function T$(e){const t=e.scrollLeft>1,n=e.scrollLeft+e.clientWidth<e.scrollWidth-1;if(t&&n)return"start end";if(t)return"start";if(n)return"end"}function z$(e,t){k.useLayoutEffect(()=>{const n=e.current;if(n===null)return;const r=()=>{const l=T$(n);l===void 0?delete n.dataset.dockkitStripScroll:n.dataset.dockkitStripScroll=l};r(),n.addEventListener("scroll",r,{passive:!0});const s=typeof ResizeObserver>"u"?void 0:new ResizeObserver(r);return s?.observe(n),()=>{n.removeEventListener("scroll",r),s?.disconnect()}},[e,t])}function P$(e,t,n,r){k.useLayoutEffect(()=>{const s=e.current,l=r===void 0?void 0:t.get(r);if(s===null||l===void 0)return;const u=s.getBoundingClientRect(),f=l.getBoundingClientRect();f.left<u.left?s.scrollLeft+=f.left-u.left-M6:f.right>u.right&&(s.scrollLeft+=f.right-u.right+M6)},[e,t,n,r])}const M6=24;function I6(e,t){switch(t){case"budget":return e.splitPaneDisabled;case"width":return e.splitPaneNarrow}}function Cp({state:e,pane:t,callbacks:n}){const[r,s]=k.useState(void 0),[l]=k.useState(()=>new Map),u=k.useRef(null);z$(u,t.tabs),P$(u,l,t.tabs,t.activeTabId);const f=n.splitBlock(t.id),p=n.dropTarget,m=p!==void 0&&p.kind==="strip"&&p.paneId===t.id?p.index:void 0,v=y=>{e.activePaneId===t.id&&t.activeTabId===y||n.onFocusTab(y)},w=y=>{const x=l.get(y);x!==void 0&&x.focus()};return c.jsxs("div",{className:Ee.tabStrip,role:"tablist","data-dockkit-strip":t.id,"data-window-drag":e.floats.length===0?!0:void 0,children:[c.jsxs("div",{ref:u,className:Ee.stripTabs,role:"presentation","data-dockkit-strip-tabs":t.id,children:[t.tabs.map((y,x)=>{const C=jo(e,y),E=y===t.activeTabId,M=n.canCloseTab(y),P=!M&&t.tabs.length===1;return c.jsxs(k.Fragment,{children:[(x>0||m===x)&&c.jsx("div",{className:pe(Ee.slot,m===x&&Ee.slotCaret),"data-dockkit-caret":m===x?x:void 0}),c.jsxs("div",{role:"tab","aria-selected":E,tabIndex:E?0:-1,className:pe(Ee.tab,E&&Ee.tabActive,P&&Ee.tabQuiet,n.draggingTabId===y&&Ee.tabDragging),"data-dockkit-tab":y,"data-dockkit-tab-quiet":P||void 0,ref:O=>{O===null?l.delete(y):l.set(y,O)},onPointerDown:O=>{O.pointerType==="touch"||O.button===2||n.onTabPressed(y,O)},onClick:O=>{O.stopPropagation(),v(y)},onKeyDown:O=>{if(O.target!==O.currentTarget||O.altKey||O.ctrlKey||O.metaKey||O.shiftKey||O.nativeEvent.isComposing)return;const $=O$(O.key,t.tabs,y);if($!==void 0){O.preventDefault(),w($);return}L$(O.key)&&(O.preventDefault(),v(y))},onContextMenu:O=>{O.preventDefault();const $=O.currentTarget;s(z=>z?.tabId===y?void 0:{tabId:y,anchor:$})},children:[c.jsx(_p,{children:n.renderTabTitle?.(C)??C.title}),M&&c.jsx(Hr,{disabled:r!==void 0,label:n.labels.closeTab,shortcutKeys:n.labels.closeTabKeys,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ee.tabClose,"aria-label":n.labels.closeTab,"aria-keyshortcuts":n.labels.closeTabShortcut,"data-dockkit-tab-close":y,onPointerDown:O=>{O.stopPropagation()},onClick:O=>{O.stopPropagation(),n.onCloseTab(y)},children:c.jsx(U0,{size:14})})}),r?.tabId===y&&c.jsx(S$,{labels:n.labels,anchor:r.anchor,onClose:M?()=>{s(void 0),n.onCloseTab(y)}:void 0,onDismiss:()=>{s(void 0)},extras:n.renderTabMenuItems?.(C,()=>{s(void 0)})})]})]},y)}),m===t.tabs.length&&c.jsx("div",{className:pe(Ee.slot,Ee.slotCaret),"data-dockkit-caret":m})]}),n.canAddTab(t.id)&&c.jsx(Hr,{label:n.labels.addTab,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ee.addTab,"aria-label":n.labels.addTab,"data-dockkit-add-tab":t.id,onClick:y=>{y.stopPropagation(),n.onAddTab(t.id)},children:c.jsx(yf,{size:14})})}),c.jsx("div",{className:Ee.stripFill,"data-dockkit-strip-fill":!0}),!(n.hideSplitWhenBlocked&&f!==void 0)&&c.jsx(Hr,{label:f===void 0?n.labels.splitPane:I6(n.labels,f),shortcutKeys:n.labels.splitPaneKeys,side:"bottom",delayMs:500,children:c.jsx("span",{"data-dockkit-split-control":!0,tabIndex:f===void 0?void 0:0,"aria-label":f===void 0?void 0:I6(n.labels,f),children:c.jsx("button",{type:"button",className:Ee.iconButton,"aria-label":n.labels.splitPane,"aria-keyshortcuts":n.labels.splitPaneShortcut,disabled:f!==void 0,"data-dockkit-split-button":t.id,"data-dockkit-split-blocked":f,onClick:y=>{y.stopPropagation(),n.onSplitPane(t.id)},children:c.jsx(E$,{})})})}),t.id===n.chromePaneId&&n.chrome!==void 0&&c.jsx("div",{className:Ee.stripChrome,"data-dockkit-strip-chrome":!0,onClick:y=>{y.stopPropagation()},children:n.chrome})]})}function bp({pane:e,callbacks:t}){const n=t.dropTarget,r=n?.kind==="zone"&&n.paneId===e.id?n.zone:void 0;return r===void 0?null:c.jsxs(c.Fragment,{children:[c.jsx("div",{className:Ee.dockScrim,"data-dockkit-dock-scrim":!0}),t.horizontalDrops&&r!=="center"?c.jsxs(c.Fragment,{children:[c.jsx(Ku,{zone:"left",active:r==="left",labels:t.labels}),c.jsx(Ku,{zone:"right",active:r==="right",labels:t.labels})]}):c.jsx(Ku,{zone:r,active:!0,labels:t.labels})]})}function kp({state:e,pane:t,callbacks:n}){const r=t.activeTabId===void 0?void 0:jo(e,t.activeTabId);return c.jsxs("section",{className:Ee.pane,"data-dockkit-pane":t.id,tabIndex:-1,"data-dockkit-pane-active":e.activePaneId===t.id||void 0,onClick:()=>{e.activePaneId!==t.id&&n.onFocusPane(t.id)},children:[c.jsx(Cp,{state:e,pane:t,callbacks:n}),c.jsxs("div",{className:Ee.paneBody,children:[r===void 0?c.jsx("p",{className:Ee.empty,children:n.labels.emptyPane}):n.renderTab(r),c.jsx(bp,{pane:t,callbacks:n})]})]})}function Sp({state:e,nodeId:t,callbacks:n,preview:r}){const s=gr(e,t);if(s.kind==="pane")return c.jsx(kp,{state:e,pane:s,callbacks:n});const l=r!==void 0&&r.splitId===s.id?r.sizes:s.sizes;return c.jsx("div",{className:pe(Ee.split,s.axis==="row"?Ee.splitRow:Ee.splitColumn),"data-dockkit-split":s.id,children:s.children.map((u,f)=>c.jsxs(k.Fragment,{children:[f>0&&c.jsx("div",{className:Ee.divider,"data-dockkit-divider":`${s.id}:${f-1}`,onPointerDown:p=>{n.onDividerPressed(s.id,f-1,p)}}),c.jsx("div",{className:Ee.splitCell,"data-dockkit-cell":`${s.id}:${f}`,style:{flexGrow:l[f]},children:c.jsx(Sp,{state:e,nodeId:u,callbacks:n,preview:r})})]},u))})}function O6(e,t,n){const r=t-e.originX,s=n-e.originY;return e.mode==="move"?tp(e.rect,r,s):np(e.rect,r,s,U9)}function N$(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function A$(e,t){return e.activePaneId===t&&e.floats.at(-1)===t}function jp(e,t){const[n,r]=k.useState(void 0),s=xp(()=>{r(void 0)}),l=f=>{A$(e,f)||t.focusPane(f)};return{preview:n,raise:l,drag:(f,p,m)=>{m.stopPropagation();const v=document.documentElement,w=v.hasAttribute("data-windows-titlebar"),y=w&&!v.hasAttribute("data-fullscreen")?Number.parseFloat(v.style.getPropertyValue("--dsh-windows-titlebar-height")):0,x=ki(Xe(e,p)),C={...x,y:Math.max(x.y,w?y+20:0)},E={mode:f,originX:m.clientX,originY:m.clientY,rect:C};s(m.currentTarget,m.pointerId,{move:M=>{r({paneId:p,rect:O6(E,M.clientX,M.clientY)})},up:M=>{const P=O6(E,M.clientX,M.clientY);N$(P,E.rect)?l(p):f==="move"?t.moveFloat(p,P.x,P.y):t.resizeFloat(p,P)}})}}}function Ep({paneId:e,tab:t,labels:n,intents:r,renderTabTitle:s,canCloseTab:l,drag:u}){return c.jsxs("header",{className:pe(Ee.tabStrip,Ee.floatHeader),"data-dockkit-float-grip":e,onPointerDown:f=>{u("move",e,f)},children:[c.jsx("div",{className:pe(Ee.tab,Ee.floatTitle),"data-dockkit-float-title":!0,children:c.jsx(_p,{children:s?.(t)??t.title})}),c.jsx("div",{className:Ee.stripFill}),c.jsx(Hr,{label:n.dockFloat,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ee.iconButton,"aria-label":n.dockFloat,"data-dockkit-float-dock":e,onPointerDown:f=>{f.stopPropagation()},onClick:()=>{r.unfloatPane(e)},children:c.jsx(gf,{className:Ee.dockGlyph})})}),(l?.(t.id)??!0)&&c.jsx(Hr,{label:n.closeTab,shortcutKeys:n.closeTabKeys,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ee.iconButton,"aria-label":n.closeTab,"data-dockkit-float-close":e,onPointerDown:f=>{f.stopPropagation()},onClick:()=>{r.closeTab(t.id)},children:c.jsx(al,{})})})]})}function R$({state:e,intents:t,labels:n,renderTab:r,renderTabTitle:s,canCloseTab:l}){const{preview:u,raise:f,drag:p}=jp(e,t);return c.jsx(c.Fragment,{children:e.floats.map((m,v)=>{const w=Xe(e,m),y=jo(e,T9(w)),x=u?.paneId===m?u.rect:void 0,C=x??ki(w);return c.jsxs("div",{className:Ee.float,"data-dockkit-float":m,tabIndex:-1,"data-dockkit-float-active":e.activePaneId===m||void 0,style:{left:C.x,top:`max(var(--dsh-dockkit-float-top, 0px), ${C.y}px)`,width:C.width,height:C.height,zIndex:x===void 0?v+1:e.floats.length+1},onPointerDown:()=>{f(m)},children:[c.jsx(Ep,{paneId:m,tab:y,labels:n,intents:t,renderTabTitle:s,canCloseTab:l,drag:p}),c.jsx("div",{className:Ee.floatBody,children:r(y)}),c.jsx("div",{className:Ee.floatResize,"data-dockkit-float-resize":m,onPointerDown:E=>{p("resize",m,E)}})]},m)})})}function F$({state:e,callbacks:t,intents:n,tab:r,pane:s,column:l,floats:u,focusRequest:f,keepMounted:p,active:m=!0}){const v=s.host==="float",w=v||s.activeTabId===r.id,y=m&&w&&(v||e.expanded),x=p?.(r)??!1,[C,E]=k.useState(y);y&&!C&&E(!0);const M=k.useRef(null),P=k.useRef(null);k.useLayoutEffect(()=>{const W=M.current;W.inert=!y;const V=document.activeElement;!y&&V instanceof HTMLElement&&W.contains(V)&&V.blur();const J=f.current;if(!y||J?.tabId!==r.id||(f.current=void 0,V!==null&&V!==document.body&&V!==document.documentElement&&V!==J.origin))return;[...W.querySelector("[data-dockkit-strip]")?.querySelectorAll("[data-dockkit-tab]")??[]].find(Z=>Z.dataset.dockkitTab===r.id)?.focus({preventScroll:!0})},[y,r.id,f]),k.useEffect(()=>{const W=P.current,V=()=>{y&&(v?u.raise(s.id):e.activePaneId!==s.id&&t.onFocusPane(s.id))};return W.addEventListener("focus",V,!0),()=>{W.removeEventListener("focus",V,!0)}},[y,v,u,s.id,e.activePaneId,t]);const O=v&&u.preview?.paneId===s.id?u.preview.rect:void 0,$=v?O??ki(s):void 0,z=O===void 0?e.floats.indexOf(s.id)+1:e.floats.length+1;return c.jsx("div",{className:pe(Ee.tabCell,v&&Ee.floatingCell),hidden:!w,"data-dockkit-host":v?"float":"dock","data-dockkit-column":v?void 0:l,style:{gridColumn:v?1:l*2+1,gridRow:1,order:v?z:0},children:c.jsxs("section",{ref:M,tabIndex:-1,className:pe(Ee.tabHost,v?Ee.float:Ee.pane),"aria-hidden":!y||void 0,"data-dockkit-content":r.id,"data-dockkit-pane":!v&&w?s.id:void 0,"data-dockkit-pane-active":!v&&e.activePaneId===s.id||void 0,"data-dockkit-float":v?s.id:void 0,"data-dockkit-float-active":v&&e.activePaneId===s.id||void 0,"data-dockkit-column":v?void 0:l,style:$===void 0?void 0:{left:$.x,top:`max(var(--dsh-dockkit-float-top, 0px), ${$.y}px)`,width:$.width,height:$.height},onPointerDown:()=>{v&&u.raise(s.id)},onClick:()=>{!v&&e.activePaneId!==s.id&&t.onFocusPane(s.id)},children:[c.jsx("div",{className:Ee.tabHostHeader,children:w&&(v?c.jsx(Ep,{paneId:s.id,tab:r,labels:t.labels,intents:n,renderTabTitle:t.renderTabTitle,canCloseTab:t.canCloseTab,drag:u.drag}):c.jsx(Cp,{state:e,pane:s,callbacks:t}))}),c.jsxs("div",{ref:P,className:pe(Ee.tabHostBody,v?Ee.floatBody:Ee.paneBody),children:[C&&(x||m&&w)?t.renderTab(r):null,!v&&c.jsx(bp,{pane:s,callbacks:t})]}),v&&c.jsx("div",{className:Ee.floatResize,"data-dockkit-float-resize":s.id,onPointerDown:W=>{u.drag("resize",s.id,W)}})]})})}function D$(e){const{state:t,callbacks:n,preview:r}=e,s=k.useRef(),l={...n,onFocusTab:w=>{s.current=Rn(t,w).activeTabId===w?void 0:{tabId:w,origin:document.activeElement},n.onFocusTab(w)}},u=gr(t,t.rootId);if(u.kind==="split"&&(u.axis!=="row"||u.children.length!==2))throw new Error("DockLayout requires one pane or two horizontally split panes");const f=u.kind==="pane"?[u]:u.children.map(w=>Xe(t,w)),p=u.kind==="split"?r?.splitId===u.id?r.sizes:u.sizes:[1],m=jp(t,e.intents),v=p.map(w=>`minmax(0, ${w}fr)`).join(" 0px ");return c.jsxs("div",{className:Ee.tabLayout,"data-dockkit-split":u.kind==="split"?u.id:void 0,style:{gridTemplateColumns:v},children:[Object.values(t.tabs).sort((w,y)=>w.id.localeCompare(y.id)).map(w=>{const y=Rn(t,w.id);return c.jsx(F$,{...e,callbacks:l,tab:w,pane:y,column:f.findIndex(x=>x.id===y.id),floats:m,focusRequest:s},w.id)}),f.filter(w=>w.tabs.length===0).map(w=>c.jsx("div",{className:Ee.emptyTabHost,"data-dockkit-empty":!0,style:{gridColumn:f.indexOf(w)*2+1,gridRow:1},children:c.jsx(kp,{state:t,pane:w,callbacks:n})},w.id)),u.kind==="split"&&c.jsx("div",{className:pe(Ee.divider,Ee.tabLayoutDivider),"data-dockkit-divider":`${u.id}:0`,style:{gridColumn:2,gridRow:1},onPointerDown:w=>{n.onDividerPressed(u.id,0,w)}})]})}const Ca={draggingTabId:void 0,dropTarget:void 0,sizes:void 0},$$=new Map,L6=()=>!0;function T6(e,t,n,r,s,l){for(const[u,f]of yp(e)){const p=f.getBoundingClientRect();if(!Ga(p,t,n))continue;const m=f.querySelector("[data-dockkit-strip]");if(m!==null&&Ga(m.getBoundingClientRect(),t,n)){const w=[...m.querySelectorAll("[data-dockkit-tab]")];return{kind:"strip",paneId:u,index:J9(w.map(y=>y.getBoundingClientRect()),t)}}const v=l==="horizontal"?r&&T0(s,u).row?t<p.x+p.width/2?"left":"right":"center":Y9(p,t,n);if(v!=="center"){const w=T0(s,u),y=v==="left"||v==="right"?w.row:w.column;if(!r||!y)return}return{kind:"zone",paneId:u,zone:v}}}function z6(e,t,n,r){const s=(e.axis==="row"?t:n)-e.origin,l=e.extent>0?s/e.extent:0;return B2(ep(e.sizes,e.index,l),r)}const H$=1e-9;function V$(e,t){return e.length===t.length&&e.every((n,r)=>{const s=t[r];return s!==void 0&&Math.abs(n-s)<H$})}function Mp({state:e,canSplit:t,canAddTab:n,canCloseTab:r,intents:s,labels:l,renderTab:u,renderTabTitle:f,renderTabMenuItems:p,chrome:m,onRoom:v,draw:w,dropZones:y="edges",minPaneFraction:x=H2,hideSplitWhenBlocked:C=!1}){const E=k.useRef(null),[M,P]=k.useState(Ca),[O,$]=k.useState($$),z=xp(()=>{P(Ca)}),W=k.useCallback(te=>{const Z=E.current;Z!==null&&te(Z)},[]),V=k.useCallback(()=>{W(te=>{const Z=LD(te,C);$(me=>TD(me,Z)?me:Z)})},[W,C]);k.useLayoutEffect(()=>{V()}),k.useEffect(()=>{v?.(O)},[O,v]),k.useEffect(()=>{const te=E.current;if(te===null||typeof ResizeObserver>"u")return;const Z=new ResizeObserver(()=>{V()});return Z.observe(te),()=>{Z.disconnect()}},[V]);const J=te=>t?T0(O,te).row?void 0:"width":"budget",H={onFocusTab:s.focusTab.bind(s),onFocusPane:s.focusPane.bind(s),onSplitPane:s.splitPane.bind(s),onAddTab:s.addTab.bind(s),onCloseTab:s.closeTab.bind(s),onTabPressed:(te,Z)=>{W(me=>{const ge=Z.clientX,oe=Z.clientY;let ae=!1;z(Z.currentTarget,Z.pointerId,{move:Ie=>{if(!ae){if(!X9(ge,oe,Ie.clientX,Ie.clientY))return;ae=!0}P({...Ca,draggingTabId:te,dropTarget:T6(me,Ie.clientX,Ie.clientY,t,O,y)})},up:Ie=>{if(!ae)return;const xe=T6(me,Ie.clientX,Ie.clientY,t,O,y);if(xe===void 0){if(Ga(me.getBoundingClientRect(),Ie.clientX,Ie.clientY))return;s.floatTab(te,rp(Ie.clientX,Ie.clientY,qa));return}xe.kind==="strip"?s.placeTab(te,xe.paneId,xe.index):s.dropTab(te,xe.paneId,xe.zone)}})})},onDividerPressed:(te,Z,me)=>{const ge=me.currentTarget.parentElement;if(ge===null)return;const oe=Cl(e,te),ae=ge.getBoundingClientRect(),Ie={index:Z,axis:oe.axis,origin:oe.axis==="row"?me.clientX:me.clientY,extent:oe.axis==="row"?ae.width:ae.height,sizes:oe.sizes};z(me.currentTarget,me.pointerId,{move:xe=>{P({...Ca,sizes:{splitId:te,sizes:z6(Ie,xe.clientX,xe.clientY,x)}})},up:xe=>{const Ne=z6(Ie,xe.clientX,xe.clientY,x);V$(Ne,Ie.sizes)||s.resizeSplit(te,Ne)}})},splitBlock:J,hideSplitWhenBlocked:C,canAddTab:n??L6,canCloseTab:r??L6,dropTarget:M.dropTarget,horizontalDrops:y==="horizontal",draggingTabId:M.draggingTabId,labels:l,renderTab:u,renderTabTitle:f,renderTabMenuItems:p,chromePaneId:A9(e),chrome:m};return c.jsx("div",{className:Ee.surface,ref:E,"data-dockkit-surface":!0,"data-dockkit-drop-zones":y,children:w(H,M.sizes)})}function B$(e){return c.jsx(Mp,{...e,draw:(t,n)=>c.jsx(Sp,{state:e.state,nodeId:e.state.rootId,callbacks:t,preview:n})})}function Z$(e){return c.jsx(Mp,{...e,draw:(t,n)=>c.jsx(D$,{...e,callbacks:t,preview:n})})}const W$=Object.freeze(Object.defineProperty({__proto__:null,DOCK_EDGE_FRACTION:V2,DOCK_ZONES:CD,DRAG_THRESHOLD:O0,DockController:SD,DockLayout:Z$,DockSurface:B$,EMPTY_HISTORY:F9,FLOAT_DEFAULT_SIZE:qa,FLOAT_MIN_SIZE:U9,FloatLayer:R$,MAX_DOCK_PANES:W9,MIN_PANE_FRACTION:H2,SPLIT_MINIMUMS:ko,Sequencer:Z9,activeDockPaneId:ji,applyOp:Si,canSplit:Sl,canStepBack:D2,canStepForward:$2,clampSizes:B2,containsPoint:Ga,createIdMinter:vp,createInitialState:wp,dividerSizes:ep,dockPaneCount:q9,dockPaneIds:kl,findContentTab:ip,findPaneContentTab:op,findParent:bl,findTabPane:Rn,floatRectAt:rp,getNode:gr,getPane:Xe,getSplit:Cl,getTab:jo,halvesFit:Q9,insertionIndex:J9,isFocusOp:D9,movedRect:tp,passedThreshold:X9,planAddTab:cp,planDropTab:hp,planDuplicateTab:dp,planFloatTab:pp,planOpenContent:up,planPlaceTab:fp,planResizeSplit:gp,planSetExpanded:sp,planSetMode:ap,planSettle:kD,planSplitPane:lp,planUnfloatPane:mp,record:H9,recordedOps:$9,replay:xD,resizedRect:np,stepBack:V9,stepForward:B9,topRightPaneId:A9,zoneAt:G9,zoneInRect:Y9,zoneSplit:K9},Symbol.toStringTag,{value:"Module"}));function U$(){return{react:Yv,"react/jsx-runtime":ew,"react-dom":iw,"react-dom/client":lw,"@deepseek-ai/cordis":Jg,"@deepseek-ai/dsh-client-store":$v,"@deepseek-ai/dsh-client-ui-slots":pw,"@deepseek-ai/dsh-client-ui-primitives":tD,"@deepseek-ai/dsh-client-ui-dockkit":W$}}const q$="data-window-drag",Ma="data-window-drag-recall",vo=`[${q$}]`,G$=2,P6=["transitionstart","transitionend","animationstart","animationend"];function K$(e){const t=e.document;if(t.documentElement.dataset.platform!=="darwin")return()=>{};const n=e.scheduleFrame??Q$,r=e.watchBox??X$;let s=new Map;const l=new Map;let u=!1,f=!1,p,m=0;const v=()=>{t.body.removeAttribute(Ma);const P=Array.from(t.querySelectorAll(vo));x(P);const O=new Map(P.map(z=>[z,Y$(z)])),$=P.length!==s.size||P.some(z=>s.get(z)!==O.get(z));if(s=O,$){t.body.setAttribute(Ma,""),m=0,y();return}m!==0&&(m-=1,y())},w=()=>{m=G$,y()},y=()=>{u||(u=!0,p=n(()=>{u=!1,p=void 0,!f&&v()}))},x=P=>{for(const[O,$]of l)P.includes(O)||($(),l.delete(O));for(const O of P)l.has(O)||l.set(O,r(O,w))},C=P=>P instanceof Element?P.closest(vo)!==null||P.querySelector(vo)!==null:!1,E=P=>{C(P.target)&&w()},M=new MutationObserver(P=>{P.some(O=>J$(O,s.keys()))&&w()});M.observe(t.body,{subtree:!0,childList:!0,attributes:!0,characterData:!0});for(const P of P6)t.addEventListener(P,E,!0);return w(),()=>{f=!0,M.disconnect();for(const P of P6)t.removeEventListener(P,E,!0);p!==void 0&&p();for(const P of l.values())P();l.clear(),s.clear(),t.body.removeAttribute(Ma)}}function Y$(e){const t=e.getBoundingClientRect();return`${t.x},${t.y},${t.width},${t.height}`}function J$(e,t){if(e.attributeName===Ma)return!1;for(const r of[...e.addedNodes,...e.removedNodes])if(r instanceof Element&&(r.matches(vo)||r.querySelector(vo)!==null))return!0;const n=e.target instanceof Element?e.target:e.target.parentElement;if(n===null)return!1;if(e.type==="childList"){for(const r of t)if(n.contains(r))return!0;return!1}return n.closest(vo)!==null||n.querySelector(vo)!==null}function Q$(e){const t=requestAnimationFrame(e);return()=>{cancelAnimationFrame(t)}}function X$(e,t){if(typeof ResizeObserver!="function")return()=>{};const n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect()}}class eH{container;seams;page;pwaInstall;ctx;stopDragRecall;modules;manifest;constructor(t,n){this.container=t,this.seams=n;const r=t.ownerDocument.defaultView;r!==null&&!("dshDesktop"in r)&&!("dshDesktopBoot"in r)&&/^https?:$/u.test(r.location.protocol)&&(this.pwaInstall=new Vv(r)),Zv(),Uv(),this.page=new vv(t)}async run(t){try{await globalThis.__DSH_BOOT_READY__?.promise;const n=globalThis,r=n.__ModuleLoader__;if(r===void 0)throw new Error("web boot: window.__ModuleLoader__ bootstrap facade is missing");const s=globalThis.__DSH_TRANSPORT__;this.modules=r.create({boot:n.__DSH_BOOT__,staticModules:U$(),...s?.loadBundle===void 0?{}:{loadBundle:s.loadBundle},...this.seams}),this.manifest=this.modules.manifest;const l=this.prefetchImmediateTier(),u=new nt;this.ctx=u,this.pwaInstall!==void 0&&u.provide("pwaInstall",this.pwaInstall),this.page.setTotal(this.manifest.plugins.length),await l,await av({ctx:u,modules:this.modules,manifest:this.manifest,onEntryState:(f,p)=>{(t===void 0||p!=="failed")&&this.page.setState(f,p)}}),this.stopDragRecall=K$({document:this.container.ownerDocument}),await qv(u,this.container)}catch(n){console.error(n),t!==void 0?t(n):this.page.fail(n instanceof Error?n.message:String(n))}}async dispose(){this.pwaInstall?.dispose(),this.stopDragRecall?.(),this.stopDragRecall=void 0;const t=this.ctx;this.ctx=void 0,t!==void 0&&await t.fiber.dispose(),this.page.dispose()}async prefetchImmediateTier(){await Promise.all(this.manifest.plugins.filter(t=>t.immediately).map(t=>this.modules.prefetch(t.id).catch(n=>{})))}}function tH(e){throw new Error(`web boot: unknown index injection row ${JSON.stringify(e)}`)}async function nH(e,t){for(const n of e)switch(n.kind){case"global":globalThis[n.name]=n.value;break;case"script":{const r=document.createElement("script");r.textContent=n.text,(n.placement==="head"?document.head:document.body).append(r);break}case"script-src":await t(n.src);break;case"script-preload":break;case"style":{const r=document.createElement("style");r.textContent=n.text,document.head.append(r);break}case"html":(n.placement==="head"?document.head:document.body).insertAdjacentHTML("beforeend",n.html);break;default:tH(n)}}const Os=globalThis.dshDesktopBoot,N6=e=>{if(Os===void 0)throw e;Os.failed(e instanceof Error?e.message:String(e)).catch(console.error)};try{const e=document.getElementById("root");if(e===null)throw new Error("web app: missing #root");const t=new eH(e);if(Os!==void 0){const n=globalThis.__DSH_BOOT_READY__;if(n===void 0)throw new Error("desktop web: boot readiness is missing");Os.ready().then(async({injections:r,streamBaseUrl:s})=>{const l=globalThis;l.__DSH_TRANSPORT__={ownsHost:!0,streamBaseUrl:s},await nH(r,u=>new Promise((f,p)=>{const m=document.createElement("script");m.src=u,m.onload=()=>{f()},m.onerror=()=>{p(new Error(`desktop web: failed to load ${u}`))},document.head.append(m)})),n.resolve()}).catch(r=>{n.reject(r)})}t.run(Os===void 0?void 0:N6)}catch(e){N6(e)}