@codexhost/cli-linux-arm64 0.23.0 → 0.24.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 (56) hide show
  1. package/README.md +1 -1
  2. package/app/codexhost-distribution.json +1 -1
  3. package/app/console-server.mjs +1565 -1805
  4. package/app/console-web.js +5786 -1600
  5. package/app/desktop-controller.mjs +13104 -2842
  6. package/app/host-runtime.mjs +50518 -51753
  7. package/app/plugins/antigravity/plugin.mjs +1932 -1148
  8. package/app/plugins/claude-code/plugin.mjs +1676 -1218
  9. package/app/plugins/codebuddy/plugin.mjs +1266 -850
  10. package/app/plugins/codex-usage/plugin.mjs +916 -737
  11. package/app/plugins/copilot/plugin.mjs +838 -640
  12. package/app/plugins/cursor-cli/plugin.mjs +1058 -747
  13. package/app/plugins/deepseek-harness/plugin.mjs +1302 -1070
  14. package/app/plugins/devin/plugin.mjs +949 -752
  15. package/app/plugins/grok/plugin.mjs +1132 -964
  16. package/app/plugins/hermes/plugin.mjs +1084 -905
  17. package/app/plugins/kimi-code/plugin.mjs +977 -804
  18. package/app/plugins/kiro-cli/plugin.mjs +951 -758
  19. package/app/plugins/omp/plugin.mjs +1408 -1169
  20. package/app/plugins/opencode/plugin.mjs +1385 -1142
  21. package/app/plugins/pi/plugin.mjs +1515 -1287
  22. package/app/plugins/qoder/plugin.mjs +861 -676
  23. package/app/plugins/qoder-cn/plugin.mjs +861 -676
  24. package/app/plugins/qwen-code/plugin.mjs +1060 -888
  25. package/app/plugins/workbuddy/plugin.mjs +1272 -856
  26. package/app/plugins/zcode/plugin.mjs +1529 -880
  27. package/app/renderer-extension.js +11568 -7827
  28. package/app/web/assets/index-CTCFIQbU.css +1 -0
  29. package/app/web/assets/index-IvFk9KT-.js +203 -0
  30. package/app/web/codexhost-settings.js +4472 -36194
  31. package/app/web/index.html +2 -2
  32. package/app/web/plugins/deepseek-ai__dsh-api-remotes/client.js +1 -1
  33. package/app/web/plugins/deepseek-ai__dsh-api-session-controller/client.js +69 -69
  34. package/app/web/plugins/deepseek-ai__dsh-client-ui-approval/client.js +1 -1
  35. package/app/web/plugins/deepseek-ai__dsh-client-ui-chat/client.js +74 -74
  36. package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +75 -64
  37. package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +19 -16
  38. package/app/web/plugins/deepseek-ai__dsh-client-ui-input-trigger/client.js +1 -1
  39. package/app/web/plugins/deepseek-ai__dsh-client-ui-layout/client.js +2 -2
  40. package/app/web/plugins/deepseek-ai__dsh-client-ui-model-selection/client.js +2 -2
  41. package/app/web/plugins/deepseek-ai__dsh-client-ui-settings-general/client.js +1 -1
  42. package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar/client.js +2 -2
  43. package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar-documentpreview/client.js +9 -9
  44. package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar-right/client.js +1 -1
  45. package/app/web/plugins/deepseek-ai__dsh-client-ui-theme/client.js +1 -1
  46. package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +18 -18
  47. package/app/web/plugins/deepseek-ai__dsh-client-ui-user-questions/client.js +3 -3
  48. package/app/web/plugins/deepseek-ai__dsh-client-ui-workspace/client.js +7 -7
  49. package/app/web/sw.js +8 -1
  50. package/app/web-modules/server.mjs +2682 -5540
  51. package/bin/codexhost +0 -0
  52. package/libexec/codexhost-shim +0 -0
  53. package/libexec/codexhost-updater +0 -0
  54. package/package.json +1 -1
  55. package/app/web/assets/index-DJW4bmyx.css +0 -1
  56. package/app/web/assets/index-Dyh1KzAB.js +0 -201
@@ -0,0 +1,203 @@
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 Gv,a as Kv,b as Yv,d as Jv,t as Xv,s as Qv,j as ew,e as Ve,f as $6,g as tw,h as xf,i as T0,u as nw,m as gi,k as pn,l as Zu,n as H6,o as V6,p as rw,q as B6,r as ow,v as yf,w as gd}from"./vendor-C9g2bw8s.js";function _l(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 vr(e){return e==null}function iw(e){return!vr(e)}function sw(e,t){return Object.fromEntries(Object.entries(e).map(([n,r])=>[n,t(r,n)]))}function er(e,t,n){return Object.defineProperty(e,t,{writable:!0,value:n,enumerable:!1})}const Z6=Symbol.for("cosmokit.volatile.write");function Ps(e){return typeof e=="object"&&e!==null&&Z6 in e}function aw(e){const t=new Set;function n(r,s){if(Ps(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 lw(e,t){e[Z6](t.get())}function vi(e,t){return arguments.length===1?n=>vi(e,n):e in globalThis&&t instanceof globalThis[e]||Object.prototype.toString.call(t).slice(8,-1)===e}function vd(e){return vi("ArrayBuffer",e)||vi("SharedArrayBuffer",e)}function cw(e){return vd(e)||ArrayBuffer.isView(e)}var _i;(e=>{e.is=vd,e.isSource=cw;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 d="";const p=new Uint8Array(u);for(let m=0;m<p.byteLength;m++)d+=String.fromCharCode(p[m]);return btoa(d)}e.toBase64=n;function r(u){return typeof Buffer<"u"?t(Buffer.from(u,"base64")):Uint8Array.from(atob(u),d=>d.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),d=>d.toString(16).padStart(2,"0")).join("")}e.toHex=s;function l(u){if(typeof Buffer<"u")return t(Buffer.from(u,"hex"));const d=u.length%2===0?u:u.slice(0,u.length-1),p=[];for(let m=0;m<d.length;m+=2)p.push(parseInt(`${d[m]}${d[m+1]}`,16));return Uint8Array.from(p).buffer}e.fromHex=l})(_i||(_i={}));_i.fromBase64;_i.toBase64;_i.fromHex;_i.toHex;function wi(e,t,n){const r=new Set;function s(l,u){if(l===u)return!0;if(Ps(l)||Ps(u))return Ps(l)&&Ps(u);if(!n&&vr(l)&&vr(u))return!0;if(typeof l!=typeof u||typeof l!="object"||!l||!u||r.has(l))return!1;function d(p,m){return p(l)?p(u)?m(l,u):!1:p(u)?!1:void 0}r.add(l);try{return d(Array.isArray,(p,m)=>{if(p.length!==m.length)return!1;for(let g=0;g<p.length;g++)if(!s(p[g],m[g]))return!1;return!0})??d(vi("Date"),(p,m)=>p.valueOf()===m.valueOf())??d(vi("URL"),(p,m)=>p.href===m.href)??d(vi("RegExp"),(p,m)=>p.source===m.source&&p.flags===m.flags)??d(vd,(p,m)=>{if(p.byteLength!==m.byteLength)return!1;const g=new Uint8Array(p),w=new Uint8Array(m);for(let x=0;x<g.length;x++)if(g[x]!==w[x])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 uw(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 d=e.charCodeAt(l+1);d>=97&&d<=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 dw(e){return uw(e,[45,95],45)}const fw=dw;var _f;(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(y){t=y}e.setTimezoneOffset=n;function r(){return t}e.getTimezoneOffset=r;function s(y=new Date,b){return typeof y=="number"&&(y=new Date(y)),b===void 0&&(b=t),Math.floor((y.valueOf()/e.minute-b)/1440)}e.getDateNumber=s;function l(y,b){const j=new Date(y*e.day);return b===void 0&&(b=t),new Date(+j+b*e.minute)}e.fromDateNumber=l;const u=/\d+(?:\.\d+)?/.source,d=new RegExp(`^${["w(?:eek(?:s)?)?","d(?:ay(?:s)?)?","h(?:our(?:s)?)?","m(?:in(?:ute)?(?:s)?)?","s(?:ec(?:ond)?(?:s)?)?"].map(y=>`(${u}${y})?`).join("")}$`);function p(y){const b=d.exec(y);return b?(parseFloat(b[1])*e.week||0)+(parseFloat(b[2])*e.day||0)+(parseFloat(b[3])*e.hour||0)+(parseFloat(b[4])*e.minute||0)+(parseFloat(b[5])*e.second||0):0}e.parseTime=p;function m(y){const b=p(y);return b?y=Date.now()+b:/^\d{1,2}(:\d{1,2}){1,2}$/.test(y)?y=`${new Date().toLocaleDateString()}-${y}`:/^\d{1,2}-\d{1,2}-\d{1,2}(:\d{1,2}){1,2}$/.test(y)&&(y=`${new Date().getFullYear()}-${y}`),y?new Date(y):new Date}e.parseDate=m;function g(y){const b=Math.abs(y);return b>=e.day-e.hour/2?Math.round(y/e.day)+"d":b>=e.hour-e.minute/2?Math.round(y/e.hour)+"h":b>=e.minute-e.second/2?Math.round(y/e.minute)+"m":b>=e.second?Math.round(y/e.second)+"s":y+"ms"}e.format=g;function w(y,b=2){return y.toString().padStart(b,"0")}e.toDigits=w;function x(y,b=new Date){return y.replace("yyyy",b.getFullYear().toString()).replace("yy",b.getFullYear().toString().slice(2)).replace("MM",w(b.getMonth()+1)).replace("dd",w(b.getDate())).replace("hh",w(b.getHours())).replace("mm",w(b.getMinutes())).replace("ss",w(b.getSeconds())).replace("SSS",w(b.getMilliseconds(),3))}e.template=x})(_f||(_f={}));class bl{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 ve={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")},hw=function*(){}.constructor,bf=async function*(){}.constructor;function W6(e){return!(!e.prototype||e instanceof hw||bf!==Function&&e instanceof bf)}function Cl(e,t){if(e===Object.prototype)return t;const n=Object.create(Cl(Object.getPrototypeOf(e),t));for(const r of Reflect.ownKeys(e))Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r));return n}function _o(e){return e&&(typeof e=="object"||typeof e=="function")}function U6(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Zr(e,t){if(!_o(t))return t;if(Object.hasOwn(t,ve.shadow))return Object.getPrototypeOf(t);const n=t[ve.tracker];return n?wd(e,t,n):t}function Ws(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 N0(e,t,n){return Ws(e,Object.defineProperty(Object.create(null),t,{value:n,writable:!1}))}function Wu(e,t,n,r){if(!n)return r;const s=Reflect.getOwnPropertyDescriptor(t,n)?.value;return s?N0(r,n,e.extend({[ve.shadow]:s})):r}function pw(e,t,n,r){return new Proxy(t,{apply:(s,l,u)=>(l===n&&(l=r),Zr(e,Reflect.apply(s,l,u)))})}function wd(e,t,n){e[ve.shadow]&&!n.noShadow&&(e=Object.getPrototypeOf(e));const r=new Proxy(t,{get:(s,l,u)=>{if(l===ve.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}`,N0(e,ve.receiver,u));let d,p;const m=U6(s,l);m&&"value"in m?p=m.value:(d=Wu(e,s,n.property,u),p=Reflect.get(s,l,d));const g=p?.[ve.tracker];return g?wd(e,p,g):!n.noShadow&&typeof p=="function"?(d??=Wu(e,s,n.property,u),pw(e,p,u,d)):p},set:(s,l,u,d)=>{if(l===ve.original||l===n.property)return!1;if(typeof l=="symbol")return Reflect.set(s,l,u,d);if(n.associate&&e.reflect.props[`${n.associate}.${l}`])return Reflect.set(e,`${n.associate}.${l}`,u,N0(e,ve.receiver,d));const p=Wu(e,s,n.property,d);return Reflect.set(s,l,u,p)},apply:(s,l,u)=>q6(r,s,l,u)});return r}function q6(e,t,n,r){return t[ve.invoke]?t[ve.invoke].apply(e,r):Reflect.apply(t,n,r)}function Ja(e,t,n){const r=function(...s){const l=wd(r.ctx,r,n);return q6(l,r,this,s)};return er(r,"name",e),Object.setPrototypeOf(r,t)}function Cf(e,t,n){const r=e.error.stack.split(`
3
+ `);if(typeof t?.stack!="string"){const u=new Error(t),d=u.stack.split(`
4
+ `);throw d.splice(1,1/0,...n()),u.stack=d.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 Xa(e,t=kl()){const n={offset:1,error:new Error};try{const r=e(n);return _o(r)&&"then"in r?r.then(void 0,s=>Cf(n,s,t)):r}catch(r){Cf(n,r,t)}}function kl(e=0){const t=new Error;return()=>t.stack.split(`
8
+ `).slice(3+e)}function P0(e){return e!==null&&e!==!1&&e!==void 0}class G6{constructor(t){this.ctx=t,er(this,ve.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 bl,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?.[rt.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(P0(r))return r}}bail(...t){for(const n of this.dispatch("bail",t)){const r=n(...t);if(P0(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 K6=(e=>(e[e.ERROR=0]="ERROR",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.DEBUG=3]="DEBUG",e))(K6||{});const z0={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)=>Qa.color(t,Qa.code(n.name,t.colors),e)};function mw(e){return e instanceof Error&&Array.isArray(e.errors)}class Qa{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?J6:Y6:[];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,(d,p)=>{if(d==="%%")return"%";const m=t.formatters?.[p]??z0[p];if(typeof m=="function"){const g=r.shift();return m(g,t,n)}return d});const l=t.formatters?.o??z0.o;for(let d of r)typeof d=="object"&&d&&(d=l(d,t,n)),s+=" "+d;const{maxLength:u=10240}=t;return s.split(/\r?\n/g).map(d=>d.slice(0,u)+(d.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(mw(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 Y6=[6,2,3,4,5,1],J6=[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 Sl{bufferSize=1e3;buffer=[];ctx;_snMessage=0;_snExporter=0;exporters=new Map;constructor(t){const n={property:"ctx",noShadow:!0},r=Ja("logger",Cl(Object.getPrototypeOf(this),Function.prototype),n);return Object.assign(r,this),r.ctx=t,er(r,ve.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[ve.intercept];const n=[];for(;"logger"in t;)Object.hasOwn(t,"logger")&&n.unshift(t.logger),t=Object.getPrototypeOf(t);return Object.assign({},...n)}[ve.invoke](t){const n=this._resolveConfig(),r=(this.ctx[ve.shadow]??this.ctx).fiber;return t??=n.name,t??=fw(r.name),new Qa({name:t,level:n.level,meta:{fiber:new WeakRef(r)}},this)}static{for(const t of["error","info","warn","debug"])Sl.prototype[t]=function(...n){return this()[t](...n)}}}const gw=Symbol.for("ValidationError");class xd 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(xd.prototype,gw,{value:!0});function yd(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 xd(n.issues);return n.value}const X6=new WeakMap;function Uu(e){const t=e();return X6.get(e)?.()??t}function vw(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 bi=(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))(bi||{});class jo extends Error{constructor(t,n){super(n??jo.Code[t]),this.code=t}}(e=>{e.Code={INACTIVE_EFFECT:"cannot create effect on inactive context"}})(jo||(jo={}));const Kn="__INACTIVE__";class _d{constructor(t,n,r,s,l){this.parent=t,this.inject=r,this.runtime=s,this._config=n;const u=d=>{this._disposables.push(d)};if(s){this.uid=t.registry.counter,this.ctx=this.context=t.extend({fiber:this});const d=Object.entries(this.inject);if(d.length){this.ctx[rt.intercept]=Object.create(t[rt.intercept]);for(const[p,m]of d)vr(m)||(this.ctx[rt.intercept][p]=m)}this._runner={epoch:Kn,getOuterStack:l,execute:function(){if(W6(s.callback)){const p=new s.callback(this.ctx,this.config);for(const m of p?.[ve.initHooks]??[])m();return p?.[ve.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,vw(this.context,this),this.ctx.registry.has(s.callback)&&(p(),s.fibers.length||this.ctx.registry.delete(s.callback)),this._setEpoch(Kn),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 bl;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 jo("INACTIVE_EFFECT")}_execute(t){const n=t.epoch;return Xa(r=>{const s=u=>{if(typeof u=="function")t.collect(u);else if(!vr(u))throw new TypeError("Invalid effect")},l=t.execute.call(this);if(typeof l=="function")return t.collect(l);if(!vr(l))if(_o(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 d=u.next();if(s(d.value),d.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 d=await u.next();if(s(d.value),d.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 jo("INACTIVE_EFFECT");const r=[];let s=!1,l;const u=()=>{if(s)return l;s=!0;let V;for(const ee of r.splice(0).reverse())if(V)V=V.then(()=>Uu(ee));else{const U=Uu(ee);_o(U)&&"then"in U&&(V=U)}return l=V},d={label:n,children:[]},p={execute:t,epoch:!0,collect:V=>{r.push(V),this._disposables.delete(V),V[ve.effect]&&d.children.push(V[ve.effect])},getOuterStack:kl()};let m,g=!0,w,x,y,b=!1,j,I=()=>!1;const P=()=>(y??=new Promise((V,ee)=>{w=V,x=ee}),y),M=V=>Promise.resolve(V).then(()=>u(),async ee=>{throw await u(),ee}),H=V=>{let ee;try{ee=V()}catch(U){throw I(),U}if(_o(ee)&&"then"in ee){const U=Promise.resolve(ee).finally(()=>{I(),j===U&&(j=void 0)});return j=U}return I(),ee},z=er(()=>p.epoch?(p.epoch=!1,H(()=>g?M(P()):m?M(m):u())):b?j:void 0,ve.effect,d);X6.set(z,()=>j),I=this._disposables.push(z);try{m=this._execute(p)}catch(V){g=!1,b=!0,p.epoch=!1;let ee;try{ee=H(u)}finally{x?.(V)}throw _o(ee)&&"then"in ee&&ee.catch(U=>this.ctx.logger.error(U)),V}g=!1,y&&Promise.resolve(m).then(w,x),m?.catch(()=>p.epoch?H(u):u()).catch(V=>this.ctx.logger.error(V));const W=()=>{if(p.epoch)return p.epoch=!1,H(u)};return z.then=async(V,ee)=>Promise.resolve(m).then(()=>W).then(V,ee),z}getEffects(){return[...this._disposables].map(t=>t[ve.effect]).filter(Boolean)}_getState(){return this.uid===null?4:this._error?3:this._runner.epoch!==Kn?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(Zr(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=Kn;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!==Kn&&n===Kn?(this.inertia=this._reload(),1):(this.inertia=this._unload(),5)))}_resolveConfig(t){return t=this.context.waterfall(this,"internal/config",t,()=>t),this.runtime?yd(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=Kn}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 Xa(async n=>{await Promise.resolve(),n.error=new Error,await Uu(t)},this._runner.getOuterStack)}catch(n){this.ctx.logger.error(n)}})),this.store=void 0,this._updateState(()=>{if(this._runner.epoch===Kn)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(Kn),this._refresh(),await this.await()}update(t,n=!1){if(this.assertActive(),this._config=t,this.state!==2){this._error=void 0,this._setEpoch(Kn),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 qu(e){const t=e.stack.split(`
12
+ `);return t.splice(0,2,`Error: ${e.message}`),e.stack=t.join(`
13
+ `),e}const ww=["prototype","then"];function Gu(e){return typeof e=="symbol"||ww.includes(e)||parseInt(e).toString()===e||e.startsWith("_")}class kf{constructor(t){this.ctx=t,er(this,ve.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(Gu(n))return Reflect.get(t,n,r);if(Reflect.has(t,n))return Zr(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[ve.receiver],s):r.fiber.runtime?r.events.waterfall("internal/get",r,n,s,()=>{const u=t[ve.isolate][n];let d=(r[ve.shadow]??r).fiber;for(;;){const p=d.store?.[n];if(p)return Zr(r,p.value);if(n in d.inject)throw s.message=`cannot get required service "${n}" in inactive context`,s;if(!d.runtime||d.parent[ve.isolate][n]!==u)throw s;d=d.parent.fiber}}):r.reflect.get(n,!1)}catch(l){throw l===s?qu(l):l}},set:(t,n,r,s)=>{if(Gu(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 qu(l)}try{return u.type==="accessor"?u.set?u.set.call(s,r,s[ve.receiver],l):!1:s.events.waterfall("internal/set",s,n,r,l,()=>s.reflect.set(n,r,l))}catch(d){throw d===l?qu(d):d}},has:(t,n)=>Gu(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 Zr(this.ctx,this._getImpl(t,n)?.value)}_getImpl(t,n=!0){const r=this.ctx[ve.isolate][t],s=r&&this.store[r];if(s&&!(n&&s.fiber.state!==bi.ACTIVE))return s}set(t,n,r){const s=this.ctx[ve.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[ve.isolate][t]??=Symbol(t);const s=this.ctx[ve.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===bi.ACTIVE&&this.notify([t]),async()=>{delete this.store[s];const u=this.notify([t]);await Promise.allSettled(u.map(d=>d.await())),delete this.ctx.fiber.store[t]}},`ctx.provide(${JSON.stringify(t)})`)}notify(t,n=(r,s)=>r[ve.isolate][s]===this.ctx[ve.isolate][s]){const r=[];for(const s of this.ctx.registry.values())for(const l of s.fibers){let u=!1;for(const d of t)d in l.inject&&n(l.ctx,d)&&(u=!0,l._checkImpl(d));u&&(l._refresh(),r.push(l))}for(const s of t){const l=Object.create(this.ctx);l[ve.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,d)=>u[t];for(const[u,d]of s)yield r.accessor(d,{get(p,m){const g=l(this);if(vr(g))return g;const w=p?Ws(p,g):g,x=Reflect.get(g,u,w);return typeof x!="function"?x:x.bind(w??g)},set(p,m,g){const w=l(this),x=m?Ws(m,w):w;return Reflect.set(w,u,p,x)}})},`ctx.mixin(${JSON.stringify(t)})`)}trace(t){return Zr(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 xw(e){return e&&typeof e=="object"&&typeof e.apply=="function"}function Us(e,t){return function(n,r){if(r.kind==="class")Object.hasOwn(n,"inject")||(er(n,"inject",Object.create(Object.getPrototypeOf(n).inject??null)),er(n.inject,ve.checkProto,!0)),n.inject[e]=t;else if(r.kind==="method"){const s=(n[ve.metadata]??={}).inject??=Object.create(null);s[e]=t,r.addInitializer(function(){const l=this[ve.tracker]?.property;(this[ve.initHooks]??=[]).push(()=>{this.ctx.inject(s,u=>n.call(l?Ws(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,ve.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})(Us||(Us={}));class Q6{constructor(t){this.ctx=t,er(this,ve.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(xw(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=kl()){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 bl,Config:t.Config},this._internal.set(s,l)}const u=new _d(this.ctx,n,Us.resolve(t.inject),l,r),d=Object.create(u);return d.then=(p,m)=>u.await().then(p,m),d}}class rt{static effect=ve.effect;static filter=ve.filter;static isolate=ve.isolate;static intercept=ve.intercept;static is(t){return!!t?.[rt.is]}static{rt.is[Symbol.toPrimitive]=()=>Symbol.for("cordis.is"),rt.prototype[rt.is]=!0}constructor(){this[ve.isolate]=Object.create(null),this[ve.intercept]=Object.create(null);const t=new Proxy(this,kf.handler);return this.root=t,this.baseUrl=void 0,this.fiber=new _d(t,{},Object.create(null),null,()=>[]),this.reflect=new kf(t),this.registry=new Q6(t),this.events=new G6(t),this.logger=new Sl(t),this.fiber._disposables.clear(),t}[Symbol.for("nodejs.util.inspect.custom")](){return`Context <${this.fiber.name}>`}extend(t={}){const n=Reflect.getOwnPropertyDescriptor(this,ve.shadow)?.value,r=Object.create(Zr(this,this));for(const s of Reflect.ownKeys(t))Object.defineProperty(r,s,Reflect.getOwnPropertyDescriptor(t,s));return n?Object.assign(Object.create(r),{[ve.shadow]:n}):r}isolate(t,n){const r=Object.create(this[ve.isolate]);return r[t]=n??Symbol(t),this.extend({[ve.isolate]:r})}intercept(t,n){const r=Object.create(this[ve.intercept]);return r[t]=n,this.extend({[ve.intercept]:r})}}class gr{constructor(t,n){this.ctx=t,n??=this.constructor.provide;let r=this;const s={associate:n,property:"ctx"};return r[ve.invoke]&&(r=Ja(n,Cl(Object.getPrototypeOf(this),Function.prototype),s)),r.ctx=t,r.name=n,er(r,ve.tracker,s),r.ctx.reflect.provide(n,r,this[ve.check]),r}static init=ve.init;static check=ve.check;static config=ve.config;static invoke=ve.invoke;static extend=ve.extend;static tracker=ve.tracker;static resolveConfig=ve.resolveConfig;name;[ve.filter](t){return t[ve.isolate][this.name]===this.ctx[ve.isolate][this.name]}[ve.extend](t){let n;return this[gr.invoke]?n=Ja(this.name,this,this[ve.tracker]):n=Object.create(this),Object.assign(n,t)}[ve.resolveConfig](t,n){let r=this.ctx[rt.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 yw=Object.freeze(Object.defineProperty({__proto__:null,Context:rt,get CordisError(){return jo},DisposableList:bl,EventsService:G6,Fiber:_d,FiberState:bi,get Inject(){return Us},Logger:Qa,LoggerLevel:K6,LoggerService:Sl,RegistryService:Q6,Service:gr,ValidationError:xd,buildOuterStack:kl,c16:Y6,c256:J6,composeError:Xa,createCallable:Ja,defaultFormatters:z0,getPropertyDescriptor:U6,getTraceable:Zr,isBailed:P0,isConstructor:W6,isObject:_o,joinPrototype:Cl,resolveConfig:yd,symbols:ve,withProps:Ws},Symbol.toStringTag,{value:"Module"}));var Sf;const _w=Object.freeze({status:"aborted"});function J(e,t,n){function r(d,p){if(d._zod||Object.defineProperty(d,"_zod",{value:{def:p,constr:u,traits:new Set},enumerable:!1}),d._zod.traits.has(e))return;d._zod.traits.add(e),t(d,p);const m=u.prototype,g=Object.keys(m);for(let w=0;w<g.length;w++){const x=g[w];x in d||(d[x]=m[x].bind(d))}}const s=n?.Parent??Object;class l extends s{}Object.defineProperty(l,"name",{value:e});function u(d){var p;const m=n?.Parent?new l:this;r(m,d),(p=m._zod).deferred??(p.deferred=[]);for(const g of m._zod.deferred)g();return m}return Object.defineProperty(u,"init",{value:r}),Object.defineProperty(u,Symbol.hasInstance,{value:d=>n?.Parent&&d instanceof n.Parent?!0:d?._zod?.traits?.has(e)}),Object.defineProperty(u,"name",{value:e}),u}class xi extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class eh extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(Sf=globalThis).__zod_globalConfig??(Sf.__zod_globalConfig={});const bd=globalThis.__zod_globalConfig;function wr(e){return bd}function th(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 A0(e,t){return typeof t=="bigint"?t.toString():t}function El(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function Cd(e){return e==null}function kd(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function bw(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 Ef=Symbol("evaluating");function We(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==Ef)return r===void 0&&(r=Ef,r=n()),r},set(s){Object.defineProperty(e,t,{value:s})},configurable:!0})}function Po(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Kr(...e){const t={};for(const n of e){const r=Object.getOwnPropertyDescriptors(n);Object.assign(t,r)}return Object.defineProperties({},t)}function jf(e){return JSON.stringify(e)}function Cw(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const nh="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function qs(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const kw=El(()=>{if(bd.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Ci(e){if(qs(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(qs(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function rh(e){return Ci(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const Sw=new Set(["string","number","symbol"]);function ki(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Yr(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 Ew(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const jw={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 Iw(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=Kr(e._zod.def,{get shape(){const u={};for(const d in t){if(!(d in n.shape))throw new Error(`Unrecognized key: "${d}"`);t[d]&&(u[d]=n.shape[d])}return Po(this,"shape",u),u},checks:[]});return Yr(e,l)}function Mw(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=Kr(e._zod.def,{get shape(){const u={...e._zod.def.shape};for(const d in t){if(!(d in n.shape))throw new Error(`Unrecognized key: "${d}"`);t[d]&&delete u[d]}return Po(this,"shape",u),u},checks:[]});return Yr(e,l)}function Ow(e,t){if(!Ci(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=Kr(e._zod.def,{get shape(){const l={...e._zod.def.shape,...t};return Po(this,"shape",l),l}});return Yr(e,s)}function Lw(e,t){if(!Ci(t))throw new Error("Invalid input to safeExtend: expected a plain object");const n=Kr(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t};return Po(this,"shape",r),r}});return Yr(e,n)}function Tw(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=Kr(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t._zod.def.shape};return Po(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Yr(e,n)}function Nw(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=Kr(t._zod.def,{get shape(){const d=t._zod.def.shape,p={...d};if(n)for(const m in n){if(!(m in d))throw new Error(`Unrecognized key: "${m}"`);n[m]&&(p[m]=e?new e({type:"optional",innerType:d[m]}):d[m])}else for(const m in d)p[m]=e?new e({type:"optional",innerType:d[m]}):d[m];return Po(this,"shape",p),p},checks:[]});return Yr(t,u)}function Pw(e,t,n){const r=Kr(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 Po(this,"shape",l),l}});return Yr(t,r)}function pi(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 zw(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 Wr(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function Ca(e){return typeof e=="string"?e:e?.message}function xr(e,t,n){const r=e.message?e.message:Ca(e.inst?._zod.def?.error?.(e))??Ca(t?.error?.(e))??Ca(n.customError?.(e))??Ca(n.localeError?.(e))??"Invalid input",{inst:s,continue:l,input:u,...d}=e;return d.path??(d.path=[]),d.message=r,t?.reportInput&&(d.input=u),d}function Sd(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Gs(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}const oh=(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,A0,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},ih=J("$ZodError",oh),sh=J("$ZodError",oh,{Parent:Error});function Aw(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 Rw(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(d=>r({issues:d},[...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 d=[...l,...u.path];if(d.length===0)n._errors.push(t(u));else{let p=n,m=0;for(;m<d.length;){const g=d[m];m===d.length-1?(p[g]=p[g]||{_errors:[]},p[g]._errors.push(t(u))):p[g]=p[g]||{_errors:[]},p=p[g],m++}}}};return r(e),n}const Ed=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 xi;if(u.issues.length){const d=new(s?.Err??e)(u.issues.map(p=>xr(p,l,wr())));throw nh(d,s?.callee),d}return u.value},jd=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 d=new(s?.Err??e)(u.issues.map(p=>xr(p,l,wr())));throw nh(d,s?.callee),d}return u.value},jl=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 xi;return l.issues.length?{success:!1,error:new(e??ih)(l.issues.map(u=>xr(u,s,wr())))}:{success:!0,data:l.value}},Dw=jl(sh),Il=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=>xr(u,s,wr())))}:{success:!0,data:l.value}},Fw=Il(sh),$w=e=>(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return Ed(e)(t,n,s)},Hw=e=>(t,n,r)=>Ed(e)(t,n,r),Vw=e=>async(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return jd(e)(t,n,s)},Bw=e=>async(t,n,r)=>jd(e)(t,n,r),Zw=e=>(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return jl(e)(t,n,s)},Ww=e=>(t,n,r)=>jl(e)(t,n,r),Uw=e=>async(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return Il(e)(t,n,s)},qw=e=>async(t,n,r)=>Il(e)(t,n,r),Gw=/^[cC][0-9a-z]{6,}$/,Kw=/^[0-9a-z]+$/,Yw=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Jw=/^[0-9a-vA-V]{20}$/,Xw=/^[A-Za-z0-9]{27}$/,Qw=/^[a-zA-Z0-9_-]{21}$/,ex=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,tx=/^([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})$/,If=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)$/,nx=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,rx="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function ox(){return new RegExp(rx,"u")}const ix=/^(?:(?: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])$/,sx=/^(([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}|:))$/,ax=/^((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])$/,lx=/^(([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])$/,cx=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,ah=/^[A-Za-z0-9_-]*$/,ux=/^https?$/,dx=/^\+[1-9]\d{6,14}$/,lh="(?:(?:\\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])))",fx=new RegExp(`^${lh}$`);function ch(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 hx(e){return new RegExp(`^${ch(e)}$`)}function px(e){const t=ch({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(`^${lh}T(?:${r})$`)}const mx=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},gx=/^-?\d+$/,uh=/^-?\d+(?:\.\d+)?$/,vx=/^(?:true|false)$/i,wx=/^null$/i,xx=/^[^A-Z]*$/,yx=/^[^a-z]*$/,sn=J("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),dh={number:"number",bigint:"bigint",object:"date"},fh=J("$ZodCheckLessThan",(e,t)=>{sn.init(e,t);const n=dh[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})}}),hh=J("$ZodCheckGreaterThan",(e,t)=>{sn.init(e,t);const n=dh[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})}}),_x=J("$ZodCheckMultipleOf",(e,t)=>{sn.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):bw(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})}}),bx=J("$ZodCheckNumberFormat",(e,t)=>{sn.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),r=n?"int":"number",[s,l]=jw[t.format];e._zod.onattach.push(u=>{const d=u._zod.bag;d.format=t.format,d.minimum=s,d.maximum=l,n&&(d.pattern=gx)}),e._zod.check=u=>{const d=u.value;if(n){if(!Number.isInteger(d)){u.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:d,inst:e});return}if(!Number.isSafeInteger(d)){d>0?u.issues.push({input:d,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:d,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}}d<s&&u.issues.push({origin:"number",input:d,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!t.abort}),d>l&&u.issues.push({origin:"number",input:d,code:"too_big",maximum:l,inclusive:!0,inst:e,continue:!t.abort})}}),Cx=J("$ZodCheckMaxLength",(e,t)=>{var n;sn.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!Cd(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=Sd(s);r.issues.push({origin:u,code:"too_big",maximum:t.maximum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),kx=J("$ZodCheckMinLength",(e,t)=>{var n;sn.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!Cd(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=Sd(s);r.issues.push({origin:u,code:"too_small",minimum:t.minimum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),Sx=J("$ZodCheckLengthEquals",(e,t)=>{var n;sn.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!Cd(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=Sd(s),d=l>t.length;r.issues.push({origin:u,...d?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),Ml=J("$ZodCheckStringFormat",(e,t)=>{var n,r;sn.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=()=>{})}),Ex=J("$ZodCheckRegex",(e,t)=>{Ml.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})}}),jx=J("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=xx),Ml.init(e,t)}),Ix=J("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=yx),Ml.init(e,t)}),Mx=J("$ZodCheckIncludes",(e,t)=>{sn.init(e,t);const n=ki(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})}}),Ox=J("$ZodCheckStartsWith",(e,t)=>{sn.init(e,t);const n=new RegExp(`^${ki(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})}}),Lx=J("$ZodCheckEndsWith",(e,t)=>{sn.init(e,t);const n=new RegExp(`.*${ki(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})}}),Tx=J("$ZodCheckOverwrite",(e,t)=>{sn.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class Nx{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(`
14
+ `).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(`
15
+ `))}}const Px={major:4,minor:4,patch:3},tt=J("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Px;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,d,p)=>{let m=pi(u),g;for(const w of d){if(w._zod.def.when){if(zw(u)||!w._zod.def.when(u))continue}else if(m)continue;const x=u.issues.length,y=w._zod.check(u);if(y instanceof Promise&&p?.async===!1)throw new xi;if(g||y instanceof Promise)g=(g??Promise.resolve()).then(async()=>{await y,u.issues.length!==x&&(m||(m=pi(u,x)))});else{if(u.issues.length===x)continue;m||(m=pi(u,x))}}return g?g.then(()=>u):u},l=(u,d,p)=>{if(pi(u))return u.aborted=!0,u;const m=s(d,r,p);if(m instanceof Promise){if(p.async===!1)throw new xi;return m.then(g=>e._zod.parse(g,p))}return e._zod.parse(m,p)};e._zod.run=(u,d)=>{if(d.skipChecks)return e._zod.parse(u,d);if(d.direction==="backward"){const m=e._zod.parse({value:u.value,issues:[]},{...d,skipChecks:!0});return m instanceof Promise?m.then(g=>l(g,u,d)):l(m,u,d)}const p=e._zod.parse(u,d);if(p instanceof Promise){if(d.async===!1)throw new xi;return p.then(m=>s(m,r,d))}return s(p,r,d)}}We(e,"~standard",()=>({validate:s=>{try{const l=Dw(e,s);return l.success?{value:l.data}:{issues:l.error?.issues}}catch{return Fw(e,s).then(u=>u.success?{value:u.data}:{issues:u.error?.issues})}},vendor:"zod",version:1}))}),Id=J("$ZodString",(e,t)=>{tt.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??mx(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}}),ct=J("$ZodStringFormat",(e,t)=>{Ml.init(e,t),Id.init(e,t)}),zx=J("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=tx),ct.init(e,t)}),Ax=J("$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=If(r))}else t.pattern??(t.pattern=If());ct.init(e,t)}),Rx=J("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=nx),ct.init(e,t)}),Dx=J("$ZodURL",(e,t)=>{ct.init(e,t),e._zod.check=n=>{try{const r=n.value.trim();if(!t.normalize&&t.protocol?.source===ux.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})}}}),Fx=J("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=ox()),ct.init(e,t)}),$x=J("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=Qw),ct.init(e,t)}),Hx=J("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=Gw),ct.init(e,t)}),Vx=J("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Kw),ct.init(e,t)}),Bx=J("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Yw),ct.init(e,t)}),Zx=J("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Jw),ct.init(e,t)}),Wx=J("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Xw),ct.init(e,t)}),Ux=J("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=px(t)),ct.init(e,t)}),qx=J("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=fx),ct.init(e,t)}),Gx=J("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=hx(t)),ct.init(e,t)}),Kx=J("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=ex),ct.init(e,t)}),Yx=J("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=ix),ct.init(e,t),e._zod.bag.format="ipv4"}),Jx=J("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=sx),ct.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})}}}),Xx=J("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=ax),ct.init(e,t)}),Qx=J("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=lx),ct.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 ph(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const ey=J("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=cx),ct.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{ph(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function ty(e){if(!ah.test(e))return!1;const t=e.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return ph(n)}const ny=J("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=ah),ct.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{ty(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),ry=J("$ZodE164",(e,t)=>{t.pattern??(t.pattern=dx),ct.init(e,t)});function oy(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 iy=J("$ZodJWT",(e,t)=>{ct.init(e,t),e._zod.check=n=>{oy(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),mh=J("$ZodNumber",(e,t)=>{tt.init(e,t),e._zod.pattern=e._zod.bag.pattern??uh,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}}),sy=J("$ZodNumberFormat",(e,t)=>{bx.init(e,t),mh.init(e,t)}),ay=J("$ZodBoolean",(e,t)=>{tt.init(e,t),e._zod.pattern=vx,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}}),ly=J("$ZodNull",(e,t)=>{tt.init(e,t),e._zod.pattern=wx,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}}),cy=J("$ZodUnknown",(e,t)=>{tt.init(e,t),e._zod.parse=n=>n}),uy=J("$ZodNever",(e,t)=>{tt.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function Mf(e,t,n){e.issues.length&&t.issues.push(...Wr(n,e.issues)),t.value[n]=e.value}const dy=J("$ZodArray",(e,t)=>{tt.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 d=s[u],p=t.element._zod.run({value:d,issues:[]},r);p instanceof Promise?l.push(p.then(m=>Mf(m,n,u))):Mf(p,n,u)}return l.length?Promise.all(l).then(()=>n):n}});function el(e,t,n,r,s,l){const u=n in r;if(e.issues.length){if(s&&l&&!u)return;t.issues.push(...Wr(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 gh(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=Ew(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function vh(e,t,n,r,s,l){const u=[],d=s.keySet,p=s.catchall._zod,m=p.def.type,g=p.optin==="optional",w=p.optout==="optional";for(const x in t){if(x==="__proto__"||d.has(x))continue;if(m==="never"){u.push(x);continue}const y=p.run({value:t[x],issues:[]},r);y instanceof Promise?e.push(y.then(b=>el(b,n,x,t,g,w))):el(y,n,x,t,g,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 fy=J("$ZodObject",(e,t)=>{if(tt.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const d=t.shape;Object.defineProperty(t,"shape",{get:()=>{const p={...d};return Object.defineProperty(t,"shape",{value:p}),p}})}const r=El(()=>gh(t));We(e._zod,"propValues",()=>{const d=t.shape,p={};for(const m in d){const g=d[m]._zod;if(g.values){p[m]??(p[m]=new Set);for(const w of g.values)p[m].add(w)}}return p});const s=qs,l=t.catchall;let u;e._zod.parse=(d,p)=>{u??(u=r.value);const m=d.value;if(!s(m))return d.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),d;d.value={};const g=[],w=u.shape;for(const x of u.keys){const y=w[x],b=y._zod.optin==="optional",j=y._zod.optout==="optional",I=y._zod.run({value:m[x],issues:[]},p);I instanceof Promise?g.push(I.then(P=>el(P,d,x,m,b,j))):el(I,d,x,m,b,j)}return l?vh(g,m,d,p,r.value,e):g.length?Promise.all(g).then(()=>d):d}}),hy=J("$ZodObjectJIT",(e,t)=>{fy.init(e,t);const n=e._zod.parse,r=El(()=>gh(t)),s=x=>{const y=new Nx(["shape","payload","ctx"]),b=r.value,j=H=>{const z=jf(H);return`shape[${z}]._zod.run({ value: input[${z}], issues: [] }, ctx)`};y.write("const input = payload.value;");const I=Object.create(null);let P=0;for(const H of b.keys)I[H]=`key_${P++}`;y.write("const newResult = {};");for(const H of b.keys){const z=I[H],W=jf(H),V=x[H],ee=V?._zod?.optin==="optional",U=V?._zod?.optout==="optional";y.write(`const ${z} = ${j(H)};`),ee&&U?y.write(`
16
+ if (${z}.issues.length) {
17
+ if (${W} in input) {
18
+ payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
19
+ ...iss,
20
+ path: iss.path ? [${W}, ...iss.path] : [${W}]
21
+ })));
22
+ }
23
+ }
24
+
25
+ if (${z}.value === undefined) {
26
+ if (${W} in input) {
27
+ newResult[${W}] = undefined;
28
+ }
29
+ } else {
30
+ newResult[${W}] = ${z}.value;
31
+ }
32
+
33
+ `):ee?y.write(`
34
+ if (${z}.issues.length) {
35
+ payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
36
+ ...iss,
37
+ path: iss.path ? [${W}, ...iss.path] : [${W}]
38
+ })));
39
+ }
40
+
41
+ if (${z}.value === undefined) {
42
+ if (${W} in input) {
43
+ newResult[${W}] = undefined;
44
+ }
45
+ } else {
46
+ newResult[${W}] = ${z}.value;
47
+ }
48
+
49
+ `):y.write(`
50
+ const ${z}_present = ${W} in input;
51
+ if (${z}.issues.length) {
52
+ payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
53
+ ...iss,
54
+ path: iss.path ? [${W}, ...iss.path] : [${W}]
55
+ })));
56
+ }
57
+ if (!${z}_present && !${z}.issues.length) {
58
+ payload.issues.push({
59
+ code: "invalid_type",
60
+ expected: "nonoptional",
61
+ input: undefined,
62
+ path: [${W}]
63
+ });
64
+ }
65
+
66
+ if (${z}_present) {
67
+ if (${z}.value === undefined) {
68
+ newResult[${W}] = undefined;
69
+ } else {
70
+ newResult[${W}] = ${z}.value;
71
+ }
72
+ }
73
+
74
+ `)}y.write("payload.value = newResult;"),y.write("return payload;");const M=y.compile();return(H,z)=>M(x,H,z)};let l;const u=qs,d=!bd.jitless,m=d&&kw.value,g=t.catchall;let w;e._zod.parse=(x,y)=>{w??(w=r.value);const b=x.value;return u(b)?d&&m&&y?.async===!1&&y.jitless!==!0?(l||(l=s(t.shape)),x=l(x,y),g?vh([],b,x,y,w,e):x):n(x,y):(x.issues.push({expected:"object",code:"invalid_type",input:b,inst:e}),x)}});function Of(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=>!pi(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=>xr(u,r,wr())))}),t)}const wh=J("$ZodUnion",(e,t)=>{tt.init(e,t),We(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),We(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),We(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),We(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=>kd(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 d of t.options){const p=d._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(d=>Of(d,r,e,s)):Of(u,r,e,s)}}),py=J("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,wh.init(e,t);const n=e._zod.parse;We(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[d,p]of Object.entries(u)){s[d]||(s[d]=new Set);for(const m of p)s[d].add(m)}}return s});const r=El(()=>{const s=t.options,l=new Map;for(const u of s){const d=u._zod.propValues?.[t.discriminator];if(!d||d.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(u)}"`);for(const p of d){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(!qs(u))return s.issues.push({code:"invalid_type",expected:"object",input:u,inst:e}),s;const d=r.value.get(u?.[t.discriminator]);return d?d._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)}}),my=J("$ZodIntersection",(e,t)=>{tt.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])=>Lf(n,p,m)):Lf(n,l,u)}});function R0(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(Ci(e)&&Ci(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=R0(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=R0(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 Lf(e,t,n){const r=new Map;let s;for(const d of t.issues)if(d.code==="unrecognized_keys"){s??(s=d);for(const p of d.keys)r.has(p)||r.set(p,{}),r.get(p).l=!0}else e.issues.push(d);for(const d of n.issues)if(d.code==="unrecognized_keys")for(const p of d.keys)r.has(p)||r.set(p,{}),r.get(p).r=!0;else e.issues.push(d);const l=[...r].filter(([,d])=>d.l&&d.r).map(([d])=>d);if(l.length&&s&&e.issues.push({...s,keys:l}),pi(e))return e;const u=R0(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 gy=J("$ZodTuple",(e,t)=>{tt.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=[],d=Tf(n,"optin"),p=Tf(n,"optout");if(!t.rest){if(l.length<d)return r.issues.push({code:"too_small",minimum:d,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 g=0;g<n.length;g++){const w=n[g]._zod.run({value:l[g],issues:[]},s);w instanceof Promise?u.push(w.then(x=>{m[g]=x})):m[g]=w}if(t.rest){let g=n.length-1;const w=l.slice(n.length);for(const x of w){g++;const y=t.rest._zod.run({value:x,issues:[]},s);y instanceof Promise?u.push(y.then(b=>Nf(b,r,g))):Nf(y,r,g)}}return u.length?Promise.all(u).then(()=>Pf(m,r,n,l,p)):Pf(m,r,n,l,p)}});function Tf(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!=="optional")return n+1;return 0}function Nf(e,t,n){e.issues.length&&t.issues.push(...Wr(n,e.issues)),t.value[n]=e.value}function Pf(e,t,n,r,s){for(let l=0;l<n.length;l++){const u=e[l],d=l<r.length;if(u.issues.length){if(!d&&l>=s){t.value.length=l;break}t.issues.push(...Wr(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 vy=J("$ZodRecord",(e,t)=>{tt.init(e,t),e._zod.parse=(n,r)=>{const s=n.value;if(!Ci(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 d=new Set;for(const m of u)if(typeof m=="string"||typeof m=="number"||typeof m=="symbol"){d.add(typeof m=="number"?m.toString():m);const g=t.keyType._zod.run({value:m,issues:[]},r);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(g.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:g.issues.map(y=>xr(y,r,wr())),input:m,path:[m],inst:e});continue}const w=g.value,x=t.valueType._zod.run({value:s[m],issues:[]},r);x instanceof Promise?l.push(x.then(y=>{y.issues.length&&n.issues.push(...Wr(m,y.issues)),n.value[w]=y.value})):(x.issues.length&&n.issues.push(...Wr(m,x.issues)),n.value[w]=x.value)}let p;for(const m in s)d.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 d of Reflect.ownKeys(s)){if(d==="__proto__"||!Object.prototype.propertyIsEnumerable.call(s,d))continue;let p=t.keyType._zod.run({value:d,issues:[]},r);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof d=="string"&&uh.test(d)&&p.issues.length){const w=t.keyType._zod.run({value:Number(d),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[d]=s[d]:n.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(w=>xr(w,r,wr())),input:d,path:[d],inst:e});continue}const g=t.valueType._zod.run({value:s[d],issues:[]},r);g instanceof Promise?l.push(g.then(w=>{w.issues.length&&n.issues.push(...Wr(d,w.issues)),n.value[p.value]=w.value})):(g.issues.length&&n.issues.push(...Wr(d,g.issues)),n.value[p.value]=g.value)}}return l.length?Promise.all(l).then(()=>n):n}}),wy=J("$ZodEnum",(e,t)=>{tt.init(e,t);const n=th(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.filter(s=>Sw.has(typeof s)).map(s=>typeof s=="string"?ki(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}}),xy=J("$ZodLiteral",(e,t)=>{if(tt.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"?ki(r):r?ki(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}}),yy=J("$ZodTransform",(e,t)=>{tt.init(e,t),e._zod.optin="optional",e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new eh(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 xi;return n.value=s,n.fallback=!0,n}});function zf(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const xh=J("$ZodOptional",(e,t)=>{tt.init(e,t),e._zod.optin="optional",e._zod.optout="optional",We(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),We(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${kd(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=>zf(u,s)):zf(l,s)}return n.value===void 0?n:t.innerType._zod.run(n,r)}}),_y=J("$ZodExactOptional",(e,t)=>{xh.init(e,t),We(e._zod,"values",()=>t.innerType._zod.values),We(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,r)=>t.innerType._zod.run(n,r)}),by=J("$ZodNullable",(e,t)=>{tt.init(e,t),We(e._zod,"optin",()=>t.innerType._zod.optin),We(e._zod,"optout",()=>t.innerType._zod.optout),We(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${kd(n.source)}|null)$`):void 0}),We(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)}),Cy=J("$ZodDefault",(e,t)=>{tt.init(e,t),e._zod.optin="optional",We(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=>Af(l,t)):Af(s,t)}});function Af(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const ky=J("$ZodPrefault",(e,t)=>{tt.init(e,t),e._zod.optin="optional",We(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))}),Sy=J("$ZodNonOptional",(e,t)=>{tt.init(e,t),We(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=>Rf(l,e)):Rf(s,e)}});function Rf(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 Ey=J("$ZodCatch",(e,t)=>{tt.init(e,t),e._zod.optin="optional",We(e._zod,"optout",()=>t.innerType._zod.optout),We(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=>xr(u,r,wr()))},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=>xr(l,r,wr()))},input:n.value}),n.issues=[],n.fallback=!0),n)}}),jy=J("$ZodPipe",(e,t)=>{tt.init(e,t),We(e._zod,"values",()=>t.in._zod.values),We(e._zod,"optin",()=>t.in._zod.optin),We(e._zod,"optout",()=>t.out._zod.optout),We(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=>ka(u,t.in,r)):ka(l,t.in,r)}const s=t.in._zod.run(n,r);return s instanceof Promise?s.then(l=>ka(l,t.out,r)):ka(s,t.out,r)}});function ka(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 Iy=J("$ZodReadonly",(e,t)=>{tt.init(e,t),We(e._zod,"propValues",()=>t.innerType._zod.propValues),We(e._zod,"values",()=>t.innerType._zod.values),We(e._zod,"optin",()=>t.innerType?._zod?.optin),We(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(Df):Df(s)}});function Df(e){return e.value=Object.freeze(e.value),e}const My=J("$ZodLazy",(e,t)=>{tt.init(e,t),We(e._zod,"innerType",()=>{const n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),We(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),We(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),We(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),We(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,r)=>e._zod.innerType._zod.run(n,r)}),Oy=J("$ZodCustom",(e,t)=>{sn.init(e,t),tt.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=>Ff(l,n,r,e));Ff(s,n,r,e)}});function Ff(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(Gs(s))}}var $f;class Ly{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 Ty(){return new Ly}($f=globalThis).__zod_globalRegistry??($f.__zod_globalRegistry=Ty());const zs=globalThis.__zod_globalRegistry;function Ny(e,t){return new e({type:"string",...ke(t)})}function Py(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...ke(t)})}function Hf(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...ke(t)})}function yh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...ke(t)})}function zy(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ke(t)})}function Ay(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ke(t)})}function Ry(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ke(t)})}function _h(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...ke(t)})}function Dy(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...ke(t)})}function Fy(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...ke(t)})}function $y(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...ke(t)})}function Hy(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...ke(t)})}function Vy(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...ke(t)})}function By(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...ke(t)})}function Zy(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...ke(t)})}function Wy(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...ke(t)})}function Uy(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...ke(t)})}function qy(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ke(t)})}function Gy(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ke(t)})}function Ky(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...ke(t)})}function Yy(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...ke(t)})}function Jy(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...ke(t)})}function Xy(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...ke(t)})}function Qy(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ke(t)})}function e_(e,t){return new e({type:"string",format:"date",check:"string_format",...ke(t)})}function t_(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...ke(t)})}function n_(e,t){return new e({type:"string",format:"duration",check:"string_format",...ke(t)})}function r_(e,t){return new e({type:"number",checks:[],...ke(t)})}function o_(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...ke(t)})}function i_(e,t){return new e({type:"boolean",...ke(t)})}function s_(e,t){return new e({type:"null",...ke(t)})}function a_(e){return new e({type:"unknown"})}function l_(e,t){return new e({type:"never",...ke(t)})}function Vf(e,t){return new fh({check:"less_than",...ke(t),value:e,inclusive:!1})}function Ku(e,t){return new fh({check:"less_than",...ke(t),value:e,inclusive:!0})}function Bf(e,t){return new hh({check:"greater_than",...ke(t),value:e,inclusive:!1})}function Yu(e,t){return new hh({check:"greater_than",...ke(t),value:e,inclusive:!0})}function Zf(e,t){return new _x({check:"multiple_of",...ke(t),value:e})}function bh(e,t){return new Cx({check:"max_length",...ke(t),maximum:e})}function tl(e,t){return new kx({check:"min_length",...ke(t),minimum:e})}function Ch(e,t){return new Sx({check:"length_equals",...ke(t),length:e})}function c_(e,t){return new Ex({check:"string_format",format:"regex",...ke(t),pattern:e})}function u_(e){return new jx({check:"string_format",format:"lowercase",...ke(e)})}function d_(e){return new Ix({check:"string_format",format:"uppercase",...ke(e)})}function f_(e,t){return new Mx({check:"string_format",format:"includes",...ke(t),includes:e})}function h_(e,t){return new Ox({check:"string_format",format:"starts_with",...ke(t),prefix:e})}function p_(e,t){return new Lx({check:"string_format",format:"ends_with",...ke(t),suffix:e})}function Oi(e){return new Tx({check:"overwrite",tx:e})}function m_(e){return Oi(t=>t.normalize(e))}function g_(){return Oi(e=>e.trim())}function v_(){return Oi(e=>e.toLowerCase())}function w_(){return Oi(e=>e.toUpperCase())}function x_(){return Oi(e=>Cw(e))}function y_(e,t,n){return new e({type:"array",element:t,...ke(n)})}function __(e,t,n){const r=ke(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}function b_(e,t,n){return new e({type:"custom",check:"custom",fn:t,...ke(n)})}function C_(e,t){const n=k_(r=>(r.addIssue=s=>{if(typeof s=="string")r.issues.push(Gs(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(Gs(l))}},e(r.value,r)),t);return n}function k_(e,t){const n=new sn({check:"custom",...ke(t)});return n._zod.check=e,n}function kh(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??zs,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 ht(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 d=e._zod.toJSONSchema?.();if(d)u.schema=d;else{const g={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,u.schema,g);else{const x=u.schema,y=t.processors[s.type];if(!y)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);y(e,t,x,g)}const w=e._zod.parent;w&&(u.ref||(u.ref=w),ht(w,t,g),t.seen.get(w).isParent=!0)}const p=t.metadataRegistry.get(e);return p&&Object.assign(u.schema,p),t.io==="input"&&Kt(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 Sh(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 d=e.metadataRegistry.get(u[0])?.id;if(d){const p=r.get(d);if(p&&p!==u[0])throw new Error(`Duplicate schema id "${d}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(d,u[0])}}const s=u=>{const d=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const w=e.external.registry.get(u[0])?.id,x=e.external.uri??(b=>b);if(w)return{ref:x(w)};const y=u[1].defId??u[1].schema.id??`schema${e.counter++}`;return u[1].defId=y,{defId:y,ref:`${x("__shared")}#/${d}/${y}`}}if(u[1]===n)return{ref:"#"};const m=`#/${d}/`,g=u[1].schema.id??`__schema${e.counter++}`;return{defId:g,ref:m+g}},l=u=>{if(u[1].schema.$ref)return;const d=u[1],{ref:p,defId:m}=s(u);d.def={...d.schema},m&&(d.defId=m);const g=d.schema;for(const w in g)delete g[w];g.$ref=p};if(e.cycles==="throw")for(const u of e.seen.entries()){const d=u[1];if(d.cycle)throw new Error(`Cycle detected: #/${d.cycle?.join("/")}/<root>
75
+
76
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const u of e.seen.entries()){const d=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(d.cycle){l(u);continue}if(d.count>1&&e.reused==="ref"){l(u);continue}}}function Eh(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=d=>{const p=e.seen.get(d);if(p.ref===null)return;const m=p.def??p.schema,g={...m},w=p.ref;if(p.ref=null,w){r(w);const y=e.seen.get(w),b=y.schema;if(b.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(m.allOf=m.allOf??[],m.allOf.push(b)):Object.assign(m,b),Object.assign(m,g),d._zod.parent===w)for(const I in m)I==="$ref"||I==="allOf"||I in g||delete m[I];if(b.$ref&&y.def)for(const I in m)I==="$ref"||I==="allOf"||I in y.def&&JSON.stringify(m[I])===JSON.stringify(y.def[I])&&delete m[I]}const x=d._zod.parent;if(x&&x!==w){r(x);const y=e.seen.get(x);if(y?.schema.$ref&&(m.$ref=y.schema.$ref,y.def))for(const b in m)b==="$ref"||b==="allOf"||b in y.def&&JSON.stringify(m[b])===JSON.stringify(y.def[b])&&delete m[b]}e.override({zodSchema:d,jsonSchema:m,path:p.path??[]})};for(const d of[...e.seen.entries()].reverse())r(d[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 d=e.external.registry.get(t)?.id;if(!d)throw new Error("Schema is missing an `id` property");s.$id=e.external.uri(d)}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 d of e.seen.entries()){const p=d[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 d=JSON.parse(JSON.stringify(s));return Object.defineProperty(d,"~standard",{value:{...t["~standard"],jsonSchema:{input:nl(t,"input",e.processors),output:nl(t,"output",e.processors)}},enumerable:!1,writable:!1}),d}catch{throw new Error("Error converting schema to JSON.")}}function Kt(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 Kt(r.element,n);if(r.type==="set")return Kt(r.valueType,n);if(r.type==="lazy")return Kt(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 Kt(r.innerType,n);if(r.type==="intersection")return Kt(r.left,n)||Kt(r.right,n);if(r.type==="record"||r.type==="map")return Kt(r.keyType,n)||Kt(r.valueType,n);if(r.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Kt(r.in,n)||Kt(r.out,n);if(r.type==="object"){for(const s in r.shape)if(Kt(r.shape[s],n))return!0;return!1}if(r.type==="union"){for(const s of r.options)if(Kt(s,n))return!0;return!1}if(r.type==="tuple"){for(const s of r.items)if(Kt(s,n))return!0;return!!(r.rest&&Kt(r.rest,n))}return!1}const S_=(e,t={})=>n=>{const r=kh({...n,processors:t});return ht(e,r),Sh(r,e),Eh(r,e)},nl=(e,t,n={})=>r=>{const{libraryOptions:s,target:l}=r??{},u=kh({...s??{},target:l,io:t,processors:n});return ht(e,u),Sh(u,e),Eh(u,e)},E_={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},j_=(e,t,n,r)=>{const s=n;s.type="string";const{minimum:l,maximum:u,format:d,patterns:p,contentEncoding:m}=e._zod.bag;if(typeof l=="number"&&(s.minLength=l),typeof u=="number"&&(s.maxLength=u),d&&(s.format=E_[d]??d,s.format===""&&delete s.format,d==="time"&&delete s.format),m&&(s.contentEncoding=m),p&&p.size>0){const g=[...p];g.length===1?s.pattern=g[0].source:g.length>1&&(s.allOf=[...g.map(w=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:w.source}))])}},I_=(e,t,n,r)=>{const s=n,{minimum:l,maximum:u,format:d,multipleOf:p,exclusiveMaximum:m,exclusiveMinimum:g}=e._zod.bag;typeof d=="string"&&d.includes("int")?s.type="integer":s.type="number";const w=typeof g=="number"&&g>=(l??Number.NEGATIVE_INFINITY),x=typeof m=="number"&&m<=(u??Number.POSITIVE_INFINITY),y=t.target==="draft-04"||t.target==="openapi-3.0";w?y?(s.minimum=g,s.exclusiveMinimum=!0):s.exclusiveMinimum=g:typeof l=="number"&&(s.minimum=l),x?y?(s.maximum=m,s.exclusiveMaximum=!0):s.exclusiveMaximum=m:typeof u=="number"&&(s.maximum=u),typeof p=="number"&&(s.multipleOf=p)},M_=(e,t,n,r)=>{n.type="boolean"},O_=(e,t,n,r)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},L_=(e,t,n,r)=>{n.not={}},T_=(e,t,n,r)=>{},N_=(e,t,n,r)=>{const s=e._zod.def,l=th(s.entries);l.every(u=>typeof u=="number")&&(n.type="number"),l.every(u=>typeof u=="string")&&(n.type="string"),n.enum=l},P_=(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},z_=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},A_=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},R_=(e,t,n,r)=>{const s=n,l=e._zod.def,{minimum:u,maximum:d}=e._zod.bag;typeof u=="number"&&(s.minItems=u),typeof d=="number"&&(s.maxItems=d),s.type="array",s.items=ht(l.element,t,{...r,path:[...r.path,"items"]})},D_=(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]=ht(u[m],t,{...r,path:[...r.path,"properties",m]});const d=new Set(Object.keys(u)),p=new Set([...d].filter(m=>{const g=l.shape[m]._zod;return t.io==="input"?g.optin===void 0:g.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=ht(l.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):t.io==="output"&&(s.additionalProperties=!1)},F_=(e,t,n,r)=>{const s=e._zod.def,l=s.inclusive===!1,u=s.options.map((d,p)=>ht(d,t,{...r,path:[...r.path,l?"oneOf":"anyOf",p]}));l?n.oneOf=u:n.anyOf=u},$_=(e,t,n,r)=>{const s=e._zod.def,l=ht(s.left,t,{...r,path:[...r.path,"allOf",0]}),u=ht(s.right,t,{...r,path:[...r.path,"allOf",1]}),d=m=>"allOf"in m&&Object.keys(m).length===1,p=[...d(l)?l.allOf:[l],...d(u)?u.allOf:[u]];n.allOf=p},H_=(e,t,n,r)=>{const s=n,l=e._zod.def;s.type="array";const u=t.target==="draft-2020-12"?"prefixItems":"items",d=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",p=l.items.map((x,y)=>ht(x,t,{...r,path:[...r.path,u,y]})),m=l.rest?ht(l.rest,t,{...r,path:[...r.path,d,...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:g,maximum:w}=e._zod.bag;typeof g=="number"&&(s.minItems=g),typeof w=="number"&&(s.maxItems=w)},V_=(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 g=ht(l.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});s.patternProperties={};for(const w of p)s.patternProperties[w.source]=g}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(s.propertyNames=ht(l.keyType,t,{...r,path:[...r.path,"propertyNames"]})),s.additionalProperties=ht(l.valueType,t,{...r,path:[...r.path,"additionalProperties"]});const m=u._zod.values;if(m){const g=[...m].filter(w=>typeof w=="string"||typeof w=="number");g.length>0&&(s.required=g)}},B_=(e,t,n,r)=>{const s=e._zod.def,l=ht(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"}]},Z_=(e,t,n,r)=>{const s=e._zod.def;ht(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType},W_=(e,t,n,r)=>{const s=e._zod.def;ht(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType,n.default=JSON.parse(JSON.stringify(s.defaultValue))},U_=(e,t,n,r)=>{const s=e._zod.def;ht(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)))},q_=(e,t,n,r)=>{const s=e._zod.def;ht(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},G_=(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;ht(u,t,r);const d=t.seen.get(e);d.ref=u},K_=(e,t,n,r)=>{const s=e._zod.def;ht(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType,n.readOnly=!0},jh=(e,t,n,r)=>{const s=e._zod.def;ht(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType},Y_=(e,t,n,r)=>{const s=e._zod.innerType;ht(s,t,r);const l=t.seen.get(e);l.ref=s},J_=J("ZodISODateTime",(e,t)=>{Ux.init(e,t),pt.init(e,t)});function Ol(e){return Qy(J_,e)}const X_=J("ZodISODate",(e,t)=>{qx.init(e,t),pt.init(e,t)});function Q_(e){return e_(X_,e)}const eb=J("ZodISOTime",(e,t)=>{Gx.init(e,t),pt.init(e,t)});function tb(e){return t_(eb,e)}const nb=J("ZodISODuration",(e,t)=>{Kx.init(e,t),pt.init(e,t)});function rb(e){return n_(nb,e)}const ob=(e,t)=>{ih.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>Rw(e,n)},flatten:{value:n=>Aw(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,A0,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,A0,2)}},isEmpty:{get(){return e.issues.length===0}}})},In=J("ZodError",ob,{Parent:Error}),ib=Ed(In),sb=jd(In),ab=jl(In),lb=Il(In),cb=$w(In),ub=Hw(In),db=Vw(In),fb=Bw(In),hb=Zw(In),pb=Ww(In),mb=Uw(In),gb=qw(In),Wf=new WeakMap;function s1(e,t,n){const r=Object.getPrototypeOf(e);let s=Wf.get(r);if(s||(s=new Set,Wf.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 d=u.bind(this);return Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:d}),d},set(d){Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:d})}})}}}const ot=J("ZodType",(e,t)=>(tt.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:nl(e,"input"),output:nl(e,"output")}}),e.toJSONSchema=S_(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(n,r)=>ib(e,n,r,{callee:e.parse}),e.safeParse=(n,r)=>ab(e,n,r),e.parseAsync=async(n,r)=>sb(e,n,r,{callee:e.parseAsync}),e.safeParseAsync=async(n,r)=>lb(e,n,r),e.spa=e.safeParseAsync,e.encode=(n,r)=>cb(e,n,r),e.decode=(n,r)=>ub(e,n,r),e.encodeAsync=async(n,r)=>db(e,n,r),e.decodeAsync=async(n,r)=>fb(e,n,r),e.safeEncode=(n,r)=>hb(e,n,r),e.safeDecode=(n,r)=>pb(e,n,r),e.safeEncodeAsync=async(n,r)=>mb(e,n,r),e.safeDecodeAsync=async(n,r)=>gb(e,n,r),s1(e,"ZodType",{check(...n){const r=this.def;return this.clone(Kr(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 Yr(this,n,r)},brand(){return this},register(n,r){return n.add(this,r),this},refine(n,r){return this.check(dC(n,r))},superRefine(n,r){return this.check(fC(n,r))},overwrite(n){return this.check(Oi(n))},optional(){return Gf(this)},exactOptional(){return Yb(this)},nullable(){return Kf(this)},nullish(){return Gf(Kf(this))},nonoptional(n){return nC(this,n)},array(){return oe(this)},or(n){return Wt([this,n])},and(n){return Bb(this,n)},transform(n){return Yf(this,Gb(n))},default(n){return Qb(this,n)},prefault(n){return tC(this,n)},catch(n){return oC(this,n)},pipe(n){return Yf(this,n)},readonly(){return aC(this)},describe(n){const r=this.clone();return zs.add(r,{description:n}),r},meta(...n){if(n.length===0)return zs.get(this);const r=this.clone();return zs.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 zs.get(e)?.description},configurable:!0}),e)),Ih=J("_ZodString",(e,t)=>{Id.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(r,s,l)=>j_(e,r,s);const n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,s1(e,"_ZodString",{regex(...r){return this.check(c_(...r))},includes(...r){return this.check(f_(...r))},startsWith(...r){return this.check(h_(...r))},endsWith(...r){return this.check(p_(...r))},min(...r){return this.check(tl(...r))},max(...r){return this.check(bh(...r))},length(...r){return this.check(Ch(...r))},nonempty(...r){return this.check(tl(1,...r))},lowercase(r){return this.check(u_(r))},uppercase(r){return this.check(d_(r))},trim(){return this.check(g_())},normalize(...r){return this.check(m_(...r))},toLowerCase(){return this.check(v_())},toUpperCase(){return this.check(w_())},slugify(){return this.check(x_())}})}),vb=J("ZodString",(e,t)=>{Id.init(e,t),Ih.init(e,t),e.email=n=>e.check(Py(wb,n)),e.url=n=>e.check(_h(Oh,n)),e.jwt=n=>e.check(Xy(Nb,n)),e.emoji=n=>e.check(Dy(xb,n)),e.guid=n=>e.check(Hf(Uf,n)),e.uuid=n=>e.check(yh(As,n)),e.uuidv4=n=>e.check(zy(As,n)),e.uuidv6=n=>e.check(Ay(As,n)),e.uuidv7=n=>e.check(Ry(As,n)),e.nanoid=n=>e.check(Fy(yb,n)),e.guid=n=>e.check(Hf(Uf,n)),e.cuid=n=>e.check($y(_b,n)),e.cuid2=n=>e.check(Hy(bb,n)),e.ulid=n=>e.check(Vy(Cb,n)),e.base64=n=>e.check(Ky(Ob,n)),e.base64url=n=>e.check(Yy(Lb,n)),e.xid=n=>e.check(By(kb,n)),e.ksuid=n=>e.check(Zy(Sb,n)),e.ipv4=n=>e.check(Wy(Eb,n)),e.ipv6=n=>e.check(Uy(jb,n)),e.cidrv4=n=>e.check(qy(Ib,n)),e.cidrv6=n=>e.check(Gy(Mb,n)),e.e164=n=>e.check(Jy(Tb,n)),e.datetime=n=>e.check(Ol(n)),e.date=n=>e.check(Q_(n)),e.time=n=>e.check(tb(n)),e.duration=n=>e.check(rb(n))});function C(e){return Ny(vb,e)}const pt=J("ZodStringFormat",(e,t)=>{ct.init(e,t),Ih.init(e,t)}),wb=J("ZodEmail",(e,t)=>{Rx.init(e,t),pt.init(e,t)}),Uf=J("ZodGUID",(e,t)=>{zx.init(e,t),pt.init(e,t)}),As=J("ZodUUID",(e,t)=>{Ax.init(e,t),pt.init(e,t)});function Mh(e){return yh(As,e)}const Oh=J("ZodURL",(e,t)=>{Dx.init(e,t),pt.init(e,t)});function Md(e){return _h(Oh,e)}const xb=J("ZodEmoji",(e,t)=>{Fx.init(e,t),pt.init(e,t)}),yb=J("ZodNanoID",(e,t)=>{$x.init(e,t),pt.init(e,t)}),_b=J("ZodCUID",(e,t)=>{Hx.init(e,t),pt.init(e,t)}),bb=J("ZodCUID2",(e,t)=>{Vx.init(e,t),pt.init(e,t)}),Cb=J("ZodULID",(e,t)=>{Bx.init(e,t),pt.init(e,t)}),kb=J("ZodXID",(e,t)=>{Zx.init(e,t),pt.init(e,t)}),Sb=J("ZodKSUID",(e,t)=>{Wx.init(e,t),pt.init(e,t)}),Eb=J("ZodIPv4",(e,t)=>{Yx.init(e,t),pt.init(e,t)}),jb=J("ZodIPv6",(e,t)=>{Jx.init(e,t),pt.init(e,t)}),Ib=J("ZodCIDRv4",(e,t)=>{Xx.init(e,t),pt.init(e,t)}),Mb=J("ZodCIDRv6",(e,t)=>{Qx.init(e,t),pt.init(e,t)}),Ob=J("ZodBase64",(e,t)=>{ey.init(e,t),pt.init(e,t)}),Lb=J("ZodBase64URL",(e,t)=>{ny.init(e,t),pt.init(e,t)}),Tb=J("ZodE164",(e,t)=>{ry.init(e,t),pt.init(e,t)}),Nb=J("ZodJWT",(e,t)=>{iy.init(e,t),pt.init(e,t)}),Lh=J("ZodNumber",(e,t)=>{mh.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(r,s,l)=>I_(e,r,s),s1(e,"ZodNumber",{gt(r,s){return this.check(Bf(r,s))},gte(r,s){return this.check(Yu(r,s))},min(r,s){return this.check(Yu(r,s))},lt(r,s){return this.check(Vf(r,s))},lte(r,s){return this.check(Ku(r,s))},max(r,s){return this.check(Ku(r,s))},int(r){return this.check(En(r))},safe(r){return this.check(En(r))},positive(r){return this.check(Bf(0,r))},nonnegative(r){return this.check(Yu(0,r))},negative(r){return this.check(Vf(0,r))},nonpositive(r){return this.check(Ku(0,r))},multipleOf(r,s){return this.check(Zf(r,s))},step(r,s){return this.check(Zf(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 me(e){return r_(Lh,e)}const Pb=J("ZodNumberFormat",(e,t)=>{sy.init(e,t),Lh.init(e,t)});function En(e){return o_(Pb,e)}const zb=J("ZodBoolean",(e,t)=>{ay.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>M_(e,n,r)});function he(e){return i_(zb,e)}const Ab=J("ZodNull",(e,t)=>{ly.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>O_(e,n,r)});function Rb(e){return s_(Ab,e)}const Db=J("ZodUnknown",(e,t)=>{cy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>T_()});function Ks(){return a_(Db)}const Fb=J("ZodNever",(e,t)=>{uy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>L_(e,n,r)});function Od(e){return l_(Fb,e)}const $b=J("ZodArray",(e,t)=>{dy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>R_(e,n,r,s),e.element=t.element,s1(e,"ZodArray",{min(n,r){return this.check(tl(n,r))},nonempty(n){return this.check(tl(1,n))},max(n,r){return this.check(bh(n,r))},length(n,r){return this.check(Ch(n,r))},unwrap(){return this.element}})});function oe(e,t){return y_($b,e,t)}const Th=J("ZodObject",(e,t)=>{hy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>D_(e,n,r,s),We(e,"shape",()=>t.shape),s1(e,"ZodObject",{keyof(){return Me(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:Ks()})},loose(){return this.clone({...this._zod.def,catchall:Ks()})},strict(){return this.clone({...this._zod.def,catchall:Od()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return Ow(this,n)},safeExtend(n){return Lw(this,n)},merge(n){return Tw(this,n)},pick(n){return Iw(this,n)},omit(n){return Mw(this,n)},partial(...n){return Nw(Ph,this,n[0])},required(...n){return Pw(zh,this,n[0])}})});function O(e,t){const n={type:"object",shape:e??{},...ke(t)};return new Th(n)}function Z(e,t){return new Th({type:"object",shape:e,catchall:Od(),...ke(t)})}const Nh=J("ZodUnion",(e,t)=>{wh.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>F_(e,n,r,s),e.options=t.options});function Wt(e,t){return new Nh({type:"union",options:e,...ke(t)})}const Hb=J("ZodDiscriminatedUnion",(e,t)=>{Nh.init(e,t),py.init(e,t)});function St(e,t,n){return new Hb({type:"union",options:t,discriminator:e,...ke(n)})}const Vb=J("ZodIntersection",(e,t)=>{my.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>$_(e,n,r,s)});function Bb(e,t){return new Vb({type:"intersection",left:e,right:t})}const Zb=J("ZodTuple",(e,t)=>{gy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>H_(e,n,r,s),e.rest=n=>e.clone({...e._zod.def,rest:n})});function Wb(e,t,n){const r=t instanceof tt,s=r?n:t,l=r?t:null;return new Zb({type:"tuple",items:e,rest:l,...ke(s)})}const qf=J("ZodRecord",(e,t)=>{vy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>V_(e,n,r,s),e.keyType=t.keyType,e.valueType=t.valueType});function At(e,t,n){return!t||!t._zod?new qf({type:"record",keyType:C(),valueType:e,...ke(t)}):new qf({type:"record",keyType:e,valueType:t,...ke(n)})}const D0=J("ZodEnum",(e,t)=>{wy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(r,s,l)=>N_(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 D0({...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 D0({...t,checks:[],...ke(s),entries:l})}});function Me(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new D0({type:"enum",entries:n,...ke(t)})}const Ub=J("ZodLiteral",(e,t)=>{xy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>P_(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 q(e,t){return new Ub({type:"literal",values:Array.isArray(e)?e:[e],...ke(t)})}const qb=J("ZodTransform",(e,t)=>{yy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>A_(e,n),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new eh(e.constructor.name);n.addIssue=l=>{if(typeof l=="string")n.issues.push(Gs(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(Gs(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 Gb(e){return new qb({type:"transform",transform:e})}const Ph=J("ZodOptional",(e,t)=>{xh.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>jh(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function Gf(e){return new Ph({type:"optional",innerType:e})}const Kb=J("ZodExactOptional",(e,t)=>{_y.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>jh(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function Yb(e){return new Kb({type:"optional",innerType:e})}const Jb=J("ZodNullable",(e,t)=>{by.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>B_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function Kf(e){return new Jb({type:"nullable",innerType:e})}const Xb=J("ZodDefault",(e,t)=>{Cy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>W_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Qb(e,t){return new Xb({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():rh(t)}})}const eC=J("ZodPrefault",(e,t)=>{ky.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>U_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function tC(e,t){return new eC({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():rh(t)}})}const zh=J("ZodNonOptional",(e,t)=>{Sy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Z_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function nC(e,t){return new zh({type:"nonoptional",innerType:e,...ke(t)})}const rC=J("ZodCatch",(e,t)=>{Ey.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>q_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function oC(e,t){return new rC({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const iC=J("ZodPipe",(e,t)=>{jy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>G_(e,n,r,s),e.in=t.in,e.out=t.out});function Yf(e,t){return new iC({type:"pipe",in:e,out:t})}const sC=J("ZodReadonly",(e,t)=>{Iy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>K_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function aC(e){return new sC({type:"readonly",innerType:e})}const lC=J("ZodLazy",(e,t)=>{My.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Y_(e,n,r,s),e.unwrap=()=>e._zod.def.getter()});function cC(e){return new lC({type:"lazy",getter:e})}const Ah=J("ZodCustom",(e,t)=>{Oy.init(e,t),ot.init(e,t),e._zod.processJSONSchema=(n,r,s)=>z_(e,n)});function uC(e,t){return __(Ah,e??(()=>!0),t)}function dC(e,t={}){return b_(Ah,e,t)}function fC(e,t){return C_(e,t)}function Jr(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 hC=Wt([C(),me(),he(),Rb()]);function pC(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 Ld=uC(pC,{message:"JSON value must not contain circular references"}),Ys=cC(()=>Wt([hC,oe(Ys),At(C(),Ys)])),on=Ld.pipe(Ys);Ld.pipe(oe(Ys));const Ll=Ld.pipe(At(C(),Ys)),mC=Z({code:C().min(1),message:C().min(1),retryable:he(),diagnostic:C().min(1).optional(),stage:C().min(1).optional(),durationMs:me().int().nonnegative().optional(),stderrTail:C().min(1).optional()}).superRefine(Jr(["diagnostic","stage","durationMs","stderrTail"])),Rh=C().max(64).regex(/^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$/u),F0=e=>C().min(1).max(e).refine(t=>t.trim().length>0),a1=At(Rh,O({label:F0(256).optional(),description:F0(1024).optional()}).strict()).refine(e=>Object.keys(e).length<=16,"Too many locales"),Dh=At(Rh,F0(4096)).refine(e=>typeof e.en=="string","English fallback is required").refine(e=>Object.keys(e).length<=16,"Too many locales"),l1=C().refine(e=>e.trim().length>0,{message:"Identifier must not be empty or whitespace"}),kt=l1.brand(),lt=l1.brand(),c1=l1.brand();l1.brand();l1.brand();const gC=128,vC=256,wC=1024,xC=32,$0=C().refine(e=>e.trim().length>0,{message:"Value must not be empty or whitespace"}),_r=$0.max(gC).regex(/^[A-Za-z0-9._~:-]+$/u,"Permission Mode ID must use transport-safe characters").brand(),yC=O({id:_r,label:$0.max(vC),description:$0.max(wC).optional(),dangerous:he().optional(),localizations:a1.optional()}).strict(),_C=O({modes:oe(yC).min(1).max(xC),defaultModeId:_r}).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"]})});O({threadId:lt,permissionModeId:_r}).strict();const bC=8192,Ot=me().int().safe().nonnegative(),wo=me().finite().nonnegative(),Sa=me().finite().min(0).max(100),CC=O({version:Wt([q(3),q(4)]).optional(),requestId:C().min(1),turnId:C().min(1).max(1024),outputTokens:Ot,startedAtMs:Ot,completedAtMs:Ot}).strict().refine(e=>e.completedAtMs>e.startedAtMs),Jf=O({version:Wt([q(2),q(3),q(4)]).optional(),value:wo,turnId:C().min(1).max(1024),at:Ot}).strict();O({outputTimings:oe(CC).transform(e=>e.filter(t=>t.version===4)).optional(),outputTokensPerSecond:Jf.refine(e=>e.version===4).optional().catch(void 0),timeToFirstOutputMs:Jf.extend({value:Ot}).optional()}).strict();const Xf=e=>Dh.refine(t=>Object.values(t).every(n=>n.length<=e)),kC=oe(O({kind:q("countdown"),id:C().min(1).max(64),expiresAtUnix:Ot,label:Xf(256).optional(),tooltip:Xf(1024).optional()}).strict()).max(2).refine(e=>new Set(e.map(({id:t})=>t)).size===e.length,{message:"Composer indicator IDs must be unique"}),Td=O({composerIndicators:kC.optional(),inputTokens:Ot.optional(),cachedInputTokens:Ot.optional(),cacheWriteInputTokens:Ot.optional(),outputTokens:Ot.optional(),outputTokensPerSecond:wo.optional(),sessionOutputTokensPerSecond:wo.optional(),apiOutputTokensPerSecond:wo.optional(),reasoningOutputTokens:Ot.optional(),totalTokens:Ot.optional(),totalCostUsd:wo.optional(),totalCredits:wo.optional(),contextUsagePercent:wo.optional(),cacheHitRatePercent:Sa.optional(),contextWindowTokens:Ot.optional(),contextUsedTokens:Ot.optional(),planFiveHourUsedPercent:Sa.optional(),planFiveHourResetsAtUnix:Ot.optional(),planSevenDayUsedPercent:Sa.optional(),planSevenDayResetsAtUnix:Ot.optional(),sessionCacheHitRatePercent:Sa.optional(),timeToFirstOutputMs:Ot.optional(),latestRequestTimeToFirstOutputMs:Ot.optional(),costSource:Me(["publicPrice","native"]).optional(),unpricedModels:oe(C().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"]})}),Fh=me().finite().min(0).max(100),$h=Me(["weekly","monthly","five_hour","seven_day","unknown"]),Hh=O({id:C().min(1).max(256),label:C().min(1).max(256),localizations:a1.optional()}).strict(),SC=O({product:C().min(1),periodType:$h.optional(),scope:Hh.optional(),localizations:a1.optional(),used:me().finite().nonnegative().optional(),limit:me().finite().nonnegative().optional(),unit:C().min(1).max(32).optional(),usagePercent:Fh,resetsAt:C().min(1).optional()}).strict(),EC=O({availableCount:me().int().safe().positive(),nextExpiresAt:C().min(1).optional(),expiresAt:oe(C().min(1)).min(1).max(32).optional()}).strict(),Nd=O({used:me().finite().nonnegative().optional(),limit:me().finite().nonnegative().optional(),unit:C().min(1).max(32).optional(),label:C().min(1).optional(),scope:Hh.optional(),localizations:a1.optional(),usedPercent:Fh,resetsAt:C().min(1).optional(),periodType:$h,productUsage:oe(SC).min(1).optional(),resetCredits:EC.optional()}).strict(),Vh=O({amount:me().finite().nonnegative(),currency:C().trim().min(1).max(8),label:C().trim().min(1).max(128).optional()}).strict();O({threadId:lt,refresh:q("exact").optional()}).strict();O({threadId:lt,usage:Td.nullable(),accountCredits:Nd.optional(),accountBalance:Vh.optional(),accountCreditsSupported:he().optional()}).strict();const jC=512,Pd=256,IC=128,Bh=100,Io=C().refine(e=>e.trim().length>0,{message:"Value must not be empty or whitespace"}),MC=C().min(1).max(jC).refine(e=>!/\p{Cc}/u.test(e),"Model Ref must not contain control characters").brand(),Zh=Me(["priority","ultrafast"]),$n=O({id:MC,serviceTier:Zh.optional()}).strict();function rl(e,t){return e?.id===t?.id&&e?.serviceTier===t?.serviceTier}const Vn=Io.max(IC).regex(/^[A-Za-z0-9._~-]+$/u,"Thinking option ID must use transport-safe characters").brand(),Tl=Io.max(Pd),OC=O({id:Vn,label:Io.max(Pd)}).strict(),LC=O({ref:$n,label:Io.max(Pd),resolvedModelLabel:Tl.optional(),fastModel:$n.optional(),supportedThinkingOptionIds:oe(Vn).optional()}).strict().refine(e=>e.fastModel?.serviceTier===void 0||e.fastModel.id===e.ref.id,{path:["fastModel","id"],message:"A tiered Fast Model must share the base Model ID"});function TC(e,t){if(t)return e?.models.find(n=>rl(n.ref,t)||rl(n.fastModel,t))}const zd=oe(OC).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)}),NC=O({models:oe(LC),defaultModel:$n.optional(),thinkingOptions:zd,defaultThinkingOptionId:Vn.optional()}).strict().superRefine((e,t)=>{const n=[],r=new Set(e.thinkingOptions.map(({id:s})=>s));for(const[s,l]of e.models.entries()){n.some(d=>rl(d,l.ref))&&t.addIssue({code:"custom",message:"Model Catalog refs must be unique",path:["models",s,"ref","id"]}),n.push(l.ref),l.fastModel&&(n.some(d=>rl(d,l.fastModel))&&t.addIssue({code:"custom",message:"Fast Model refs must be distinct and unique",path:["models",s,"fastModel"]}),n.push(l.fastModel));const u=new Set;for(const[d,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",d]}),u.add(p),r.has(p)||t.addIssue({code:"custom",message:"Supported Thinking option must exist in the catalog",path:["models",s,"supportedThinkingOptionIds",d]})}e.defaultModel&&!TC(e,e.defaultModel)&&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"]})}),Ad=O({fork:he(),forkAcrossCwd:he(),rollbackLastTurn:he()}).strict().refine(e=>e.fork||!e.forkAcrossCwd,{path:["forkAcrossCwd"],message:"Cross-cwd Fork requires exact history Fork support"}),PC=Me(["live","atCreate"]),zC=O({configuration:O({selectModel:he(),selectThinkingOption:he(),selectPermissionMode:he(),permissionModeScope:PC.default("live")}).strict(),history:Ad,subagents:O({observe:he(),readTranscript:he()}).strict().optional(),autonomousTurns:O({observe:he()}).strict().optional(),steer:he().optional(),persistentPlan:he().optional()}).strict();O({effectiveModel:$n.optional(),resolvedModelLabel:Tl.optional(),effectiveThinkingOptionId:Vn.optional(),availableThinkingOptions:zd.optional(),effectivePermissionModeId:_r.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 AC=O({open:q(!0)}).strict(),RC=O({status:q("ready"),catalog:NC,permissionModes:_C.optional(),capabilities:zC,webUi:AC.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"]})}),DC=O({status:Me(["notInstalled","unavailable","error"]),error:mC}).strict();Wt([RC,DC]);O({harnessId:kt,cwd:Io.max(16384).optional(),refresh:he().optional(),purpose:q("availability").optional(),credentialAccess:Me(["allow","retry"]).optional()}).strict();O({harnessId:kt}).strict();O({}).strict();O({threadId:lt,model:$n}).strict();O({threadId:lt,thinkingOptionId:Vn}).strict();O({threadId:lt,includeReferenceCapability:he().optional()}).strict();const FC=O({owner:q("codex"),locked:he(),effectiveModel:$n.optional(),resolvedModelLabel:Tl.optional(),effectiveThinkingOptionId:Vn.optional(),effectivePermissionModeId:_r.optional(),history:Ad.optional(),supportsThreadReferences:q(!0).optional()}).strict(),$C=O({owner:q("external"),harnessId:Io.max(256),transportModelId:Io.max(bC),effectiveModel:$n.optional(),resolvedModelLabel:Tl.optional(),effectiveThinkingOptionId:Vn.optional(),availableThinkingOptions:zd.optional(),effectivePermissionModeId:_r.optional(),history:Ad,usage:Td.optional(),locked:q(!0)}).strict();St("owner",[FC,$C]);O({threadIds:oe(lt).min(1).max(Bh)}).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 HC=O({threadId:lt,owner:q("codex")}).strict(),VC=O({threadId:lt,owner:q("external"),harnessId:C().max(256).pipe(kt)}).strict(),Wh=St("owner",[HC,VC]);O({threads:oe(Wh).min(1).max(Bh)}).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)});O({threadId:lt,text:C().optional()}).strict();O({kind:q("application"),value:C().transform((e,t)=>{try{return JSON.parse(e)}catch{return t.addIssue({code:"custom",message:"Invalid steering context JSON"}),_w}}).pipe(O({expectedTurnId:c1,clientUserMessageId:C().min(1),delivery:Me(["newTurn","activeTurn"])}).strict())}).strict().transform(e=>e.value);Me(["activeTurn","newTurn"]);O({delivery:Me(["official","activeTurn","newTurn"])}).strict();const BC=128*1024,Uh=128,qh=C().min(1).max(128).regex(/^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$/u),Rd=qh.pipe(kt),Li=Rd.refine(e=>e!=="codex","The official Codex identity is reserved"),ko=C().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"),Ba=Md().refine(e=>/^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(e),"Plugin documentation links must be credential-free HTTPS URLs"),H0=O({en:C().max(4096),"zh-CN":C().max(4096).optional()}).strict(),ZC=O({commands:oe(O({terminal:C().max(256),command:C().max(4096)}).strict()).max(8),before:H0.optional(),after:H0.optional(),downloads:oe(O({label:C().max(128),url:Ba}).strict()).max(8).optional()}).strict(),Gh={id:Rd,name:C().trim().min(1).max(128),version:C().min(1).max(128),kind:q("usage").optional(),iconStyle:O({vector:O({viewBox:C().max(128).regex(/^-?\d+(?:\.\d+)?(?: +-?\d+(?:\.\d+)?){3}$/u),color:C().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu),paths:oe(O({d:C().min(1).max(32768).regex(/^[MmLlHhVvCcSsQqTtAaZz\d.,+eE\s-]+$/u),fillRule:Me(["evenodd","nonzero"]).optional(),fill:C().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu).optional()}).strict()).min(1).max(32)}).strict().optional(),background:C().regex(/^#[a-f0-9]{6}$/iu).optional(),borderRadius:me().min(0).max(50).optional(),paddingRatio:me().min(0).max(.25).optional()}).strict().optional(),installation:ZC.optional(),notice:H0.optional(),launchCommand:q(!0).optional(),links:O({website:Ba.optional(),documentation:Ba.optional(),installation:Ba.optional()}).strict().optional()};O({manifestVersion:q(1),...Gh,adapterApiVersion:me().int().positive(),entry:ko,icon:ko.optional()}).strict();const WC=C().max(Math.ceil(BC/3)*4+64).regex(/^data:image\/(?:png|jpeg|webp|svg\+xml);base64,[A-Za-z0-9+/]+={0,2}$/u),UC=O({...Gh,icon:WC.optional()}).strict();O({}).strict();O({plugins:oe(UC.extend({id:Li})).max(Uh)}).strict();O({version:q(1),enabled:oe(Rd).max(Uh)}).strict().refine(e=>new Set(e.enabled).size===e.enabled.length,{message:"Enabled plugin IDs must be unique",path:["enabled"]});const qC=1,Kh=64,GC=64*1024*1024,KC=128*1024,Dd=4,YC=512*1024,JC=16*1024*1024,Nl=qh,Qf=Me(["sidebar.thread-layout","sidebar.thread-badge","appearance.theme"]),e5=Me(["appearance","interface","workflow","analytics","integrations","tools"]),ol=C().trim().min(1).max(128);function XC(e){switch(e.match(/\.([^./]+)$/u)?.[1]?.toLowerCase()){case"png":return"image/png";case"jpg":case"jpeg":return"image/jpeg";case"webp":return"image/webp";default:return}}const Yh=e=>e.split("/").every(t=>!/[. ]$/u.test(t)),t5=ko.refine(e=>XC(e)!==void 0&&Yh(e),"Images must be relative .png, .jpg, .jpeg, or .webp paths with no segments ending in a dot or space"),yi=C().trim().max(2048).regex(/^https?:\/\/[^/?#\\\s]+/iu,"Expected an HTTP(S) URL").pipe(Md({protocol:/^https?$/u})).refine(e=>{const{username:t,password:n}=new URL(e);return!t&&!n&&!/[\\\s]/u.test(e)},"URL must not contain credentials, backslashes, or whitespace");function il(e){return Z({en:e,"zh-CN":e})}const Js=il(C().trim().min(1)),Jh=oe(e5).max(e5.options.length).refine(e=>new Set(e).size===e.length,"Duplicate categories"),Xh=oe(Qf).max(Qf.options.length).refine(e=>new Set(e).size===e.length,"Duplicate slots"),Za={key:C().regex(/^[A-Za-z_][A-Za-z0-9_]*$/u),label:Js,description:Js.optional()},n5={...Za,step:me().positive().optional(),default:me().optional()},QC=Z({value:C(),label:Js}),ek=St("type",[Z({...Za,type:q("boolean"),default:he().optional()}),Z({...Za,type:q("string"),placeholder:Js.optional(),default:C().optional()}),Z({...n5,type:q("number"),min:me().optional(),max:me().optional()}),Z({...n5,type:q("range"),min:me(),max:me()}),Z({...Za,type:q("select"),options:oe(QC).min(1),default:C().optional()})]).superRefine((e,t)=>{const n=(r,s)=>t.addIssue({code:"custom",path:[r],message:s});if(e.type==="number"||e.type==="range"){const{min:r=-1/0,max:s=1/0,default:l}=e;r>s&&n("max","Must be at least min"),l!==void 0&&(l<r||l>s)&&n("default","Must be within min and max")}else if(e.type==="select"){const r=new Set(e.options.map(({value:s})=>s));r.size!==e.options.length&&n("options","Duplicate option values"),e.default!==void 0&&!r.has(e.default)&&n("default","Must match an option value")}}),tk=O({manifestVersion:En().positive(),id:Nl,name:Wt([ol,il(ol)]),version:C().min(1).max(128),desktopApi:En().positive()}).passthrough(),nk=tk.extend({manifestVersion:q(1),desktopApi:q(qC),description:Z({en:C().max(4096),"zh-CN":C().max(4096).optional()}).optional(),author:C().trim().min(1).max(128).optional(),repository:yi.optional(),details:Z({en:C().max(16384),"zh-CN":C().max(16384).optional()}).optional(),icon:t5.optional(),screenshots:oe(t5).max(Dd).refine(e=>new Set(e).size===e.length,"Duplicate screenshots").optional(),desktop:Z({script:ko,style:ko.optional()}).optional(),backend:Z({script:ko.refine(Yh)}).optional(),slots:Xh.default(()=>[]),settingsSchema:oe(ek).max(32).refine(e=>new Set(e.map(({key:t})=>t)).size===e.length,"Duplicate setting keys").optional(),categories:Jh.optional()}).strict().refine(e=>e.desktop!==void 0||e.backend!==void 0,"Expected at least one desktop or backend entry"),Fd=C().regex(/^[a-f0-9]{64}$/u),r5=Z({state:Me(["running","disabled","invalid","incompatible","conflict","failed","waiting"]),hash:Fd.optional(),error:C().optional(),conflictWith:Nl.optional()});Z({controllerPid:En().positive(),targetId:C().nullable(),updatedAt:Ol(),handledReloadToken:Mh().optional(),extensions:At(C(),r5),surfaces:At(C(),r5).optional()});const rk=Me(["official","community"]);function ok(e){return e.origin==="https://api.github.com"&&/^\/repos\/[\w-]+\/[\w.-]+\/zipball(?:\/[^/]+)?\/?$/u.test(e.pathname)}const ik=yi.refine(e=>{const t=new URL(e);return/\.zip$/iu.test(t.pathname)||ok(t)||t.origin==="https://github.com"&&/^\/[\w-]+\/[\w.-]+\/zipball(?:\/.+)?\/?$/u.test(t.pathname)||t.origin==="https://codeload.github.com"&&/^\/[\w-]+\/[\w.-]+\/(?:zip|zipball|legacy\.zip)\/.+$/u.test(t.pathname)},"Expected a .zip download URL or a GitHub zipball URL"),Qh=Z({id:Nl,version:C().trim().min(1).max(128),name:Js.extend({en:ol,"zh-CN":ol}),description:il(C().trim().min(1).max(4096)),details:il(C().trim().min(1).max(16384)).optional(),author:C().trim().min(1).max(128),repository:yi,stars:me().int().min(0).optional(),downloads:me().int().min(0).optional(),categories:Jh.optional(),trustTier:rk.default("community"),icon:yi.optional(),screenshots:oe(yi).max(Dd).optional(),downloadUrl:ik,sha256:Fd,slots:Xh.optional(),publishedAt:C().optional(),updatedAt:C().optional(),minCodexHostVersion:C().optional()});Z({schemaVersion:q(1),generatedAt:C(),extensions:oe(Qh).refine(e=>new Set(e.map(({id:t})=>t)).size===e.length,"Duplicate extension IDs")});const sk=C().trim().min(1).max(128),e8=/^(?:con|prn|aux|nul|com[1-9¹²³]|lpt[1-9¹²³]) *(?:\.|$)/iu,V0=1,Ti=Nl.refine(e=>!e8.test(e),"Reserved extension ID"),ak=Me(["desktop","web"]),t8=Fd,n8=Mh(),Si=ko.refine(e=>!/[\x00-\x1f\x7f<>"|*]/u.test(e)&&e.split("/").every(t=>!/[. ]$/u.test(t)&&!e8.test(t)),"Expected a portable relative resource path").refine(e=>e.split("/").length<=32,"Extension resources may be at most 32 segments deep"),fo=nk.shape,Ea=(e,t=0)=>Z({en:C().trim().min(t).max(e),"zh-CN":C().trim().min(t).max(e)}),$d=e=>Si.refine(t=>t.endsWith(e),`Expected a ${e} file`),ja=$d(".mjs"),Ia=$d(".css").optional(),o5=e=>e.normalize("NFC").toLowerCase(),lk=Z({manifestVersion:q(2),id:Ti,name:Ea(128,1),version:C().trim().min(1).max(128),description:Ea(4096),details:Ea(16384).optional(),author:fo.author,repository:fo.repository,icon:fo.icon.refine(e=>e===void 0||Si.safeParse(e).success),screenshots:fo.screenshots.refine(e=>e===void 0||e.every(t=>Si.safeParse(t).success)),categories:fo.categories,settingsSchema:fo.settingsSchema,slots:fo.slots.removeDefault().optional(),page:Z({apiVersion:q(V0),entry:ja,style:Ia,title:Ea(128,1).optional()}).optional(),widget:Z({apiVersion:q(V0),entry:ja,style:Ia}).optional(),desktop:Z({apiVersion:q(1),script:$d(".js"),style:Ia}).optional(),web:Z({apiVersion:q(1),entry:ja.optional(),style:Ia}).refine(({entry:e,style:t})=>e!==void 0||t!==void 0,"Expected a Web entry or style").optional(),backend:Z({apiVersion:q(1),entry:ja}).optional()}).refine(({page:e,widget:t,desktop:n,web:r,backend:s})=>!!(e||t||n||r||s),"Expected at least one page, widget, desktop, web, or backend entry").refine(({page:e,widget:t,web:n,backend:r})=>!r||[e?.entry,t?.entry,n?.entry].every(s=>s===void 0||o5(s)!==o5(r.entry)),{path:["backend","entry"],message:"A backend entry cannot also be a frontend entry"});function ck({hasPage:e,hasWidget:t,hasDesktop:n,hasWeb:r,hasBackend:s}){if(e||t||s&&!n&&!r)return["desktop","web"];const l=[];return n&&l.push("desktop"),r&&l.push("web"),l}const uk=sk,dk="/api/extensions/assets/";function fk({id:e,activationId:t,digest:n}){return`${dk}${Ti.parse(e)}/${n8.parse(t)}/${t8.parse(n)}/`}function hk({path:e,...t}){const n=Si.parse(e);return fk(t)+n.split("/").map(encodeURIComponent).join("/")}const pk=GC,br=En().nonnegative(),r8=Z({revision:br,enabled:oe(Ti).max(Kh).refine(e=>new Set(e).size===e.length,"Duplicate extension IDs")}),{downloadUrl:mk,...gk}=Qh.shape,vk=O({...gk,id:Ti,format:q("codexhost"),targets:oe(ak).min(1).max(2).refine(e=>new Set(e).size===e.length,"Duplicate targets"),apis:Z({page:En().positive().optional(),widget:En().positive().optional(),desktop:En().positive().optional(),web:En().positive().optional(),backend:En().positive().optional()}),downloadUrl:mk.refine(e=>e.startsWith("https://"),"Expected HTTPS")}).refine(({targets:e,apis:t})=>{const n=ck({hasPage:!!t.page,hasWidget:!!t.widget,hasDesktop:!!t.desktop,hasWeb:!!t.web,hasBackend:!!t.backend});return e.length===n.length&&n.every(r=>e.includes(r))},"Catalog targets must match the declared APIs"),wk=O({schemaVersion:q(2),generatedAt:C().min(1),extensions:oe(vk).max(1e4).refine(e=>new Set(e.map(({id:t})=>t)).size===e.length,"Duplicate extension IDs")}),xk=wk.extend({catalogUrl:yi,fetchedAt:Ol(),cached:he()}),Ur={id:Ti},So={...Ur,activationId:n8,digest:t8},Wa={...Ur,activationId:So.activationId.optional()},i5=C().min(1).max(4096).refine(e=>/^(?:\/|[a-z]:[/\\])/iu.test(e)&&!e.includes("\0")&&!e.split(/[/\\]/u).some(t=>t==="."||t===".."),"Expected an absolute local path without dot segments"),s5=C().min(1).max(256).refine(e=>e.split("/").every(t=>t&&/^[a-z0-9_.-]+$/iu.test(t)&&t!=="."&&t!==".."),"Invalid GitHub ref");function o8(e){return C().max(4*Math.ceil(e/3)).refine(t=>{const n=t.endsWith("==")?2:t.endsWith("=")?1:0;return t.length%4===0&&t.length*3/4-n<=e&&/^[A-Za-z0-9+/]*={0,2}$/u.test(t)},"Expected bounded standard padded base64")}const i8=Z({type:q("github"),repository:C().max(150).regex(/^[a-z0-9-]+\/[a-z0-9_-][a-z0-9_.-]*$/iu),ref:s5.optional(),tag:s5.optional(),asset:C().max(255).regex(/^[a-z0-9_.-]+\.zip$/iu).optional(),subpath:Si.optional()}).refine(({ref:e,tag:t,asset:n})=>!e||!t&&!n,"Use either a zipball ref or a release tag/asset"),a5=Wt([Z({type:q("catalog"),...Ur}),i8,Z({type:q("zip"),base64:o8(pk).min(4)}),Z({type:q("zip"),localZipPath:i5}),Z({type:q("localDir"),localDir:i5})]),yk=St("type",[Z({type:q("catalog"),...Ur}),i8,Z({type:q("zip")}),Z({type:q("localDir")})]),Hd=Z({...So,manifest:lk,installedAt:Ol(),source:yk.optional()}),l5=e=>C().max(23+4*Math.ceil(e/3)).regex(/^data:image\/(?:png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$/u),s8={desktopConflictWith:Ti.optional()},_k=Me(["none","inactive","starting","running","failed"]),bk=St("state",[Hd.extend({state:q("valid"),enabled:he(),...s8,iconDataUrl:l5(KC).optional(),screenshotDataUrls:oe(l5(YC)).max(Dd).optional(),backendState:_k.optional(),backendError:C().optional()}),Z({state:Me(["invalid","incompatible"]),id:C().min(1),enabled:he(),error:C()})]),Ck=Z({revision:br,configuration:r8,diagnostics:oe(C()),extensions:oe(bk)}),kk=Hd.extend({...s8,settingsRevision:br}),Sk=Z({revision:br,extensions:oe(kk).max(Kh)}),Mt={list:"codexhost/extensions/list",snapshot:"codexhost/extensions/snapshot",catalog:"codexhost/extensions/catalog",install:"codexhost/extensions/install",update:"codexhost/extensions/update",enable:"codexhost/extensions/enable",disable:"codexhost/extensions/disable",uninstall:"codexhost/extensions/uninstall",recover:"codexhost/extensions/recover",asset:"codexhost/extensions/asset",settingsGet:"codexhost/extensions/settings/get",settingsSet:"codexhost/extensions/settings/set",backendInvoke:"codexhost/extensions/backend/invoke"},a8=Object.freeze(Object.values(Mt));new Set(a8);const c5=Z({}),l8={expectedRevision:br},u5=Z({...Ur,...l8}),d5=Hd.extend({replaced:he()}),Ju=St("state",[Z({state:q("saved"),configuration:r8}),Z({state:q("revision-conflict"),revision:br})]),Ek=Z({...Wa,digest:So.digest.optional(),path:Si}),jk=Z({mimeType:C().min(1),base64:o8(JC),digest:So.digest}),f5=Z({settingsRevision:br,values:Ll}),Ik={[Mt.list]:{params:c5,result:Ck},[Mt.snapshot]:{params:c5,result:Sk},[Mt.catalog]:{params:Z({forceRefresh:he().optional()}),result:xk},[Mt.install]:{params:Z({source:a5}),result:d5},[Mt.update]:{params:Z({...Ur,expectedDigest:So.digest,expectedActivationId:So.activationId.optional(),source:a5.optional()}),result:d5},[Mt.enable]:{params:u5,result:Ju},[Mt.disable]:{params:u5,result:Ju},[Mt.uninstall]:{params:Z({...Ur,removeData:he().optional(),expectedDigest:So.digest.optional()}),result:Z({...Ur,removed:he()})},[Mt.recover]:{params:Z({expectedRevision:l8.expectedRevision.optional()}),result:Ju},[Mt.asset]:{params:Ek,result:jk},[Mt.settingsGet]:{params:Z(Wa),result:f5},[Mt.settingsSet]:{params:Z({...Wa,expectedSettingsRevision:br,values:Ll}),result:f5},[Mt.backendInvoke]:{params:Z({...Wa,method:uk,params:on.optional()}),result:Z({result:on})}},Mk="codexhost/thread/archive/confirm";O({threadId:lt}).strict();O({confirmed:he()}).strict();const Ok=1;[...a8];O({threadIds:oe(C().min(1))}).strict();O({threadId:C().min(1).max(1024),pinned:he()}).strict();O({}).strict();O({parents:At(C().min(1),C().min(1))}).strict();O({prompt:C().max(16384).optional()}).strict();O({projects:oe(O({id:C(),name:C(),rootPaths:oe(C())})),assignments:At(C(),C()),projectless:oe(C()),pinned:oe(C())});const sl=At(C(),Ks()),Vr=O({epoch:C().uuid(),sequence:me().int().nonnegative()}),Lk=St("type",[O({type:q("skills-changed"),cursor:Vr,cwd:C().optional()}),O({type:q("harness-inspection-changed"),cursor:Vr,harnessId:C().min(1)}),O({type:q("display-settings-changed"),cursor:Vr}),O({type:q("preferences-changed"),cursor:Vr,revision:me().int().nonnegative()}),O({type:q("extensions-changed"),cursor:Vr,revision:br}),O({type:q("hello"),version:q(1),cursor:Vr,reset:he()}),O({type:q("changed"),cursor:Vr,threadId:C().min(1),method:C().min(1)})]),Tk=St("type",[O({type:q("text"),id:C(),prompt:C(),secret:he().optional(),optional:he().optional()}),O({type:q("choice"),id:C(),prompt:C(),multiple:he(),allowOther:he(),optional:he().optional(),options:oe(O({value:C(),label:C(),description:C().optional()}))})]),Nk=St("type",[O({type:q("approval"),title:C(),description:C().optional(),subject:Ks().optional(),actions:oe(O({id:C(),label:C(),effect:C()}))}),O({type:q("question"),title:C().optional(),questions:oe(Tk)})]),Pk=O({requestId:Wt([C(),me().int()]),threadId:C(),kind:Me(["approval","question"]),interaction:Nk,request:sl}),zk=O({id:C().min(1),clientUserMessageId:C().min(1),input:oe(sl),presentationInput:oe(sl).nullable().optional()}).passthrough(),Ak=oe(Wt([C(),me().int().nonnegative()]));O({fields:oe(O({path:Ak,originalLength:me().int().nonnegative()}))});const Xu=O({id:C().min(1),status:C().min(1),codexhostTurnOutcome:O({status:q("unknown"),reason:C()}).optional(),items:oe(O({id:C().min(1),type:C().min(1)}).passthrough()),codexhostFileOperations:oe(O({beforeItemId:C().nullable(),item:O({id:C().min(1),type:C().min(1)}).passthrough()})).optional(),error:O({message:C().optional()}).passthrough().nullable().optional(),fingerprint:C().min(1).optional(),unchanged:q(!0).optional()}).passthrough(),Rk=O({id:C().min(1).max(512),fingerprint:C().min(1).max(128)});O({threadId:C().min(1),knownTurns:oe(Rk).max(64).optional(),truncateToolOutput:he().optional()});const Dk=O({harnessId:C().min(1),nativeSessionId:C().min(1)});O({cursor:Vr,activeTurnId:C().min(1).nullable().optional(),command:O({name:C().min(1),turn:Xu,subsequentTurnId:C().min(1).optional()}).optional(),thread:O({id:C().min(1),cwd:C(),modelProvider:C().min(1),createdAt:me(),updatedAt:me(),status:O({type:C()}).passthrough(),name:C().nullable().optional(),preview:C().optional(),codexhostImportSource:Dk.optional(),turns:oe(Xu).length(0)}).passthrough(),turnsPage:O({data:oe(Xu).max(5),nextCursor:C().nullable()}),configuration:O({native:O({model:C().min(1).max(1024).optional(),reasoningEffort:C().min(1).max(128).optional()}).optional(),effectiveModel:$n.optional(),effectiveThinkingOptionId:Vn.optional(),effectivePermissionModeId:_r.optional()}),queue:O({items:oe(zk),pausedReason:Me(["interrupted","outcome-unknown","failed"]).nullable()}).optional(),interactions:oe(Pk)});O({version:q(Ok),owner:q("service").optional(),pid:me().int().positive(),port:me().int().min(1).max(65535),token:C().regex(/^[0-9a-f]{64}$/u),startedAt:me(),epoch:C().uuid()});O({epoch:C().uuid(),threadId:C().min(1),requestId:Wt([C(),me().int()]),result:sl});O({includeArchived:he().optional(),officialCursor:O({live:C().nullable(),archived:C().nullable().optional()}).strict().optional()}).strict();O({threads:oe(Ll),ownership:oe(Wh),archivedThreadIds:oe(lt),officialCursor:O({live:C().nullable(),archived:C().nullable().optional()}).strict().optional()}).strict();const Fk=5e3,$k=Me(["running","waiting","idle","unknown"]),Hk=Z({harnessId:kt,title:C().optional(),status:$k,archived:he()}),Vk=Z({revision:En().nonnegative(),parents:At(lt,lt),nodes:At(lt,Hk),truncated:he()}).refine(e=>Object.keys(e.nodes).length<=Fk,"Too many Thread tree nodes").refine(({parents:e,nodes:t})=>Object.entries(e).every(([n,r])=>Object.hasOwn(t,n)&&Object.hasOwn(t,r)),"Missing Thread tree node"),Bk=C().min(1).max(128);Z({});const Zk=Z({subscriptionId:Bk});Z({});Zk.extend({snapshot:Vk});const Wk=["app","topbar","sidebar","conversation"],Uk=C().regex(/^audio\/[a-z0-9.+-]+(?:\s*;[^\r\n]*)?$/i);O({available:he()}).strict();O({path:C().min(1),mimeType:Uk}).strict();const qk=Me(["credentials-unavailable","login-expired","rate-limited","service-rejected","host-incompatible","network","timeout","audio-empty","audio-too-large","audio-format","audio-invalid"]);St("ok",[O({ok:q(!0),text:C()}).strict(),O({ok:q(!1),error:O({code:qk}).strict()}).strict()]);O({threadId:lt.optional(),cwd:C().min(1).optional()}).strict().refine(e=>!(e.threadId&&e.cwd),{message:"Specify threadId or cwd, not both"});const Gk=O({name:C().min(1).regex(/^[^\s[\]]+$/u),description:C().optional(),path:C().min(1),scope:Me(["project","global"]),source:C().min(1)}).strict();O({revision:me().int().nonnegative(),complete:he(),skills:oe(Gk),warnings:oe(C()).optional()}).strict();O({cwd:C().min(1).optional()}).strict();const Kk=/\[\$([^\]\r\n]+)\]\((?:<([^<>\r\n]+)>|([^\s()]+))(?:[ \t]+(?:"[^"\r\n]*"|'[^'\r\n]*'))?\)/gu;function Yk(e){return[...e.matchAll(Kk)].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 h5=O({kind:Me(["public","relay","tailscale-funnel","tailscale-https","tailscale","lan","virtual"]),url:C().min(1)}).strict(),c8=St("status",[O({status:q("not-installed")}),O({status:q("not-running")}),O({status:q("not-logged-in")}),O({status:q("https-disabled")}),O({status:q("not-serving"),command:C()}),O({status:q("occupied"),target:C()}),O({status:q("serving"),url:C(),funnel:he()}),O({status:q("error"),message:C()})]);O({state:c8,error:C().optional()}).strict();const Jk=St("status",[O({status:q("on")}),O({status:q("off")}),O({status:q("invalid"),reason:C()})]),Xk=O({lan:he(),autostart:Jk}).strict(),p5=O({expiresAt:C().optional(),issuing:he(),failure:O({detail:C().optional(),retryAt:C(),paused:he()}).optional()}),Qk=St("status",[O({status:q("off"),reason:Me(["invite","name-taken","banned"]).optional()}),O({status:q("connecting"),reason:Me(["full","unreachable"]).optional()}),O({status:q("connected"),url:C(),certificate:p5}),O({status:q("missing-certificate"),url:C(),certificate:p5}),O({status:q("stopped"),reason:Me(["replaced","rejected","unsupported-version"])})]);C().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());C().regex(/^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)?$/);const eS=Me(["official","self-hosted"]);O({secret:C().min(1),lastUsedAt:me().nullable(),networkUrls:oe(h5),directCandidates:oe(h5).optional(),tailscale:c8,background:Xk.optional(),relay:O({state:Qk,enabled:he(),kind:eS,officialHost:C(),customHost:C().optional(),officialHostname:C().optional(),customHostname:C().optional(),quotaUntil:C().optional()}).strict().optional()}).strict();const tS=Z({threadId:C().min(1).max(1024),view:Me(["result","messages"]),from:me().int().min(1).max(Number.MAX_SAFE_INTEGER).optional(),to:me().int().min(1).max(Number.MAX_SAFE_INTEGER).optional()}),u8=O({id:C().min(1).max(256),harnessId:C().min(1),label:C().min(1).max(512),provider:Me(["openai-codex","xai"])}).strict(),Ua=C().regex(/^[a-z][a-z0-9-]{0,47}$/),nS=O({name:Ua,source:u8,importedAt:C()}).strict(),rS=St("action",[O({action:q("list")}).strict(),O({action:q("import"),sourceId:C().min(1).max(256),name:Ua,confirmed:q(!0)}).strict(),O({action:q("reimport"),sourceId:C().min(1).max(256),name:Ua,confirmed:q(!0)}).strict(),O({action:q("remove"),name:Ua,confirmed:q(!0)}).strict()]),oS=O({provider:C().min(1).max(128),type:Me(["oauth","api_key","unknown"]),label:C().min(1).max(512).optional(),vendor:Me(["openai-codex","xai"]).optional()}).strict();O({sources:oe(u8),targets:oe(O({harnessId:C(),providers:oe(Me(["openai-codex","xai"])),imports:oe(nS),others:oe(oS).default([])}).strict())}).strict();O({targetHarnessId:C().min(1).max(128).optional(),request:rS}).strict();O({events:he()});const d8=oe(Z({agent:C().min(1).max(128),section:Me(["main","more","auto"])})).max(256).refine(e=>new Set(e.map(t=>t.agent)).size===e.length,"Duplicate Harness IDs");Z({entries:d8.nullable()});Z({});Z({entries:d8,initializeOnly:he().optional()});const iS=5,sS=1440,f8=Z({enabled:he(),timeoutMinutes:me().int().min(iS).max(sS)}),Pl=C().regex(/^external$/u),Vd=kt.transform(e=>String(e)),h8=Z({model:$n.optional(),thinkingOptionId:Vn.optional(),permissionModeId:_r.optional()}).refine(e=>!!(e.model||e.thinkingOptionId||e.permissionModeId),"A default configuration must contain a preference"),aS=Z({lastHarness:kt.optional(),byHarness:At(Vd,h8)}),p8=Z({model:$n.optional(),thinkingOptionId:Vn.optional()}).refine(e=>!!(e.model||e.thinkingOptionId),"A delegation default must contain a Model or Thinking option"),lS=Z({byHarness:At(Vd,p8)}),B0=C().min(1).max(1024),m8=Z({idleRelease:f8.optional(),favorites:At(Vd,oe(B0).max(2048)).default({}),newThread:aS.optional(),delegation:lS.optional()});Z({scope:Pl,revision:me().int().nonnegative(),values:m8});Z({scope:Pl.default("external")});const cS=St("kind",[Z({kind:q("idleRelease"),value:f8}),Z({kind:q("favorite"),harnessId:kt,modelId:B0,enabled:he()}),Z({kind:q("favorites"),harnessId:kt,modelIds:oe(B0).max(2048)}),Z({kind:q("newThread"),lastHarness:kt.optional(),harnessId:kt.optional(),configuration:h8.optional()}),Z({kind:q("delegation"),harnessId:kt,configuration:p8.nullable()})]);Z({scope:Pl.default("external"),operations:oe(cS).min(1).max(256),initializeOnly:he().optional(),expectedRevision:me().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"})});Z({version:q(1),revision:me().int().nonnegative(),scopes:At(Pl,m8)});const Es=me().finite().nonnegative(),zl=Z({input:Es,output:Es,cacheRead:Es.optional(),cacheWrite:Es.optional(),cacheWrite1h:Es.optional()}),Z0=C().max(512).refine(e=>e.trim()===e&&e.length>0,"Model ID is required");Z({path:C(),entries:oe(Z({key:C(),price:zl})),error:C().nullable()});Z({});Z({key:Z0,price:zl.nullable(),previousKey:Z0.optional()});Z({model:Z0});const uS=Z({official:he().optional(),canonicalModelId:C().min(1).optional(),provider:C().min(1).max(512),model:C().min(1).max(512),price:zl});Z({price:zl.nullable(),suggestions:oe(uS).max(6).optional()});const g8=["today","7d","30d","90d","all"],Lt=me().int().min(0).max(Number.MAX_SAFE_INTEGER),Rs=C().regex(/^\d{4}-\d{2}-\d{2}$/u),mr=C().min(1).max(128),Br=C().min(1).max(512),$s=C().min(1).max(4096);Z({range:Me(g8),timeZone:C().min(1).max(128).refine(e=>{try{return new Intl.DateTimeFormat("en",{timeZone:e}),!0}catch{return!1}},"Unsupported usage statistics timezone").optional(),harness:mr.optional(),model:Br.nullable().optional(),project:$s.nullable().optional(),date:Rs.optional()});const v8=Z({requests:Lt,inputTokens:Lt,cachedInputTokens:Lt,cacheWriteInputTokens:Lt,cacheKnownInputTokens:Lt,cacheHitCachedInputTokens:Lt,cacheHitInputTokens:Lt,outputTokens:Lt,reasoningOutputTokens:Lt,costUsd:me().finite().min(0),unpricedRequests:Lt,unmeteredRequests:Lt}),ui=v8.shape,m5=Z({harness:mr,sessionId:C().min(1).max(512),project:$s.nullable(),title:C().min(1).max(200).optional(),models:oe(Br).max(16),firstAtMs:Lt,lastAtMs:Lt,...ui});Z({range:Me(g8),from:Rs.nullable(),to:Rs,filters:Z({harness:mr.nullable(),model:Br.nullable(),unknownModel:he(),project:$s.nullable(),unknownProject:he(),date:Rs.nullable()}),reading:Z({complete:he(),sources:Lt,read:Lt}),failures:oe(Z({harness:mr,message:C().max(2048)})).max(256),options:Z({harnesses:oe(mr).max(256),models:oe(Br.nullable()).max(4096),projects:oe($s.nullable()).max(4096)}),modelLabels:oe(Z({harness:mr,model:Br,label:Br})).max(4096).optional(),credits:oe(Z({harness:mr,model:Br.nullable(),credits:me().finite().min(0),reportedRequests:Lt,requests:Lt})).max(4096).optional(),totals:v8,daily:oe(Z({date:Rs,harness:mr,...ui})).max(2e5),hourly:oe(Z({weekday:me().int().min(0).max(6),hour:me().int().min(0).max(23),...ui})).max(168),byHarness:oe(Z({harness:mr,...ui})).max(256),byModel:oe(Z({model:Br.nullable(),...ui,harnessPricedRequests:Lt})).max(4096),byProject:oe(Z({project:$s.nullable(),...ui})).max(4096),sessions:oe(m5).max(100),recentSessions:oe(m5).max(100).optional()});O({threadId:lt});O({discarded:he()});const dS=St("type",[O({id:C().min(1),type:q("choice"),prompt:C(),options:oe(O({value:C().min(1),label:C(),description:C().optional()})).min(1),multiple:he(),allowOther:he(),optional:he()}),O({id:C().min(1),type:q("text"),prompt:C(),multiline:he(),secret:q(!1),optional:he(),placeholder:C().optional(),prefill:C().optional()})]),fS=O({interactionId:C().min(1),turnId:C().min(1),title:C().optional(),questions:oe(dS).min(1)}).refine(({questions:e})=>e.some(t=>t.type==="choice"&&t.multiple),{message:"Shared cards require at least one multi-select question"});Z({threadId:C().min(1)});O({questions:oe(fS)});Z({threadId:C().min(1),turnId:C().min(1),interactionId:C().min(1),answers:At(C(),oe(C())),cancelled:he().default(!1)});O({accepted:q(!0)});const hS=O({path:C(),oldText:C().nullable(),newText:C()});O({sessionId:C().min(1),turn:me().int().nonnegative(),path:C().min(1).optional()});O({diffs:oe(hS)});Z({});Z({});const pS=O({sessionId:C().min(1),epoch:C().min(1),turn:me().int().nonnegative(),seq:me().int().nonnegative(),callId:C().min(1),part:me().int().nonnegative(),version:C().min(1)});O({reference:pS,length:me().int().nonnegative(),bytes:me().int().nonnegative()});Z({title:C().trim().min(1).max(200),type:Me(["info","warning","danger"]),body:C().trim().min(1).max(16*1024)});Z({});Z({url:C().max(2048).regex(/^http:\/\/(?:127\.0\.0\.1|localhost):\d{1,5}\/(?:\?.*)?$/u)});const mS=1,gS=Me(["idle","running","busy","closing","failed","blocked"]),vS=Me(["none","disabled","timeout","operation","background","identity","persistence","closeFailed"]);oe(Z({threadId:C(),title:C(),harnessId:C(),state:gS,reason:vS,inactiveMs:me().nonnegative()}));Z({threadId:lt,turnId:c1});const w8=O({email:C().trim().min(1).max(320).optional(),label:C().trim().min(1).max(256).optional(),plan:C().trim().min(1).max(128).optional(),credits:Nd.optional(),balance:Vh.optional()}).strict();function x8(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 g5=x8(w8),Bd={harnessId:kt,harnessName:C().trim().min(1).max(128)},wS=O(Bd).strict();O({}).strict();O({sources:oe(wS).max(128)}).strict();O({harnessId:kt,refresh:he().optional()}).strict();O({...Bd,account:g5.nullable(),accounts:oe(g5).max(8).optional()}).strict();O({refresh:he().optional()}).strict();O({accounts:oe(x8(w8.extend(Bd))).max(128)}).strict();O({harnessId:Li,model:$n.optional(),thinkingOptionId:Vn.optional(),permissionModeId:_r.optional(),prewarm:q(!0).optional()}).strict();const y8=C().trim().min(1).max(4096).refine(e=>!/[\u0000\r\n]/u.test(e),"Invalid entrypoint path"),xS=O({harnessId:Li}).strict();xS.extend({path:y8.nullable()});O({path:y8.nullable(),restartRequired:he()}).strict();O({harnessId:kt,action:Me(["check","update","install"])}).strict();const yS=O({currentVersion:C().min(1).max(128),latestVersion:C().min(1).max(128),updateAvailable:he(),canUpdate:he(),versionKind:Me(["cli","application"]).optional(),manualUpdateUrl:Md().max(2048).refine(e=>/^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(e),"Manual updates require a credential-free HTTPS URL").optional(),message:C().max(2048).optional(),messageCode:C().min(1).max(128).optional(),notice:Dh.optional(),latestVersionKind:Me(["unknown","tracking-branch"]).optional()}).strict();O({taskId:C().uuid()}).strict();St("status",[O({taskId:C().uuid(),status:q("running")}).strict(),O({taskId:C().uuid(),status:q("succeeded"),result:yS}).strict(),O({taskId:C().uuid(),status:q("failed"),error:O({code:me().int(),message:C().min(1).max(2048)}).strict()}).strict()]);const Al=C().min(1).max(256).regex(/^[A-Za-z0-9._~-]+$/u),_8=C().trim().min(1),_S=Me(["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"]),bS=O({accountId:Al,label:_8.max(256),email:C().email().max(320).optional(),planType:_S.optional()}).strict(),CS=Me(["ready","unavailable"]);O({version:q(2),currentAccountId:Al.nullable(),phase:CS,revision:me().int().nonnegative(),instanceId:_8.max(1024).optional(),accounts:oe(bS).max(1)}).strict();O({accountId:Al,refresh:he().optional()}).strict();O({accountId:Al,usage:Td.nullable(),accountCredits:Nd.optional(),freshness:Me(["live","cached"]),observedAt:C().datetime().nullable()}).strict();const kS=1024,SS=16384,ES=4096,Zd=1e3,jS=864e13,Xs=C().refine(e=>e.trim().length>0,"Value must not be empty or whitespace").refine(e=>!e.includes("\0"),"Value must not contain NUL"),Wd=Xs.max(kS),b8=O({nativeSessionId:Wd,title:Xs.max(ES).nullable(),updatedAt:me().int().nonnegative().max(jS),cwd:Xs.max(SS),running:he().nullable()}).strict();O({}).strict();O({harnesses:oe(O({harnessId:Li,name:Xs.max(128)}).strict()).max(128)}).strict();O({harnessId:Li,query:C().trim().max(4096).refine(e=>!e.includes("\0")).optional(),offset:me().int().nonnegative().safe().optional(),limit:me().int().min(1).max(Zd).optional()}).strict();O({candidates:oe(b8).max(Zd),total:me().int().nonnegative().safe()}).strict();O({harnessId:Li,nativeSessionId:Wd}).strict();O({threadId:Xs.max(1024).pipe(lt)}).strict();const IS=Zd,MS=1024,OS=C().refine(e=>e.trim().length>0,"Value must not be empty or whitespace").refine(e=>!e.includes("\0"),"Value must not contain NUL"),LS=Wd,TS=b8;O({}).strict();O({candidates:oe(TS).max(IS)}).strict();O({nativeSessionId:LS}).strict();O({threadId:OS.max(MS).pipe(lt)}).strict();O({threadId:lt,lastTurnId:c1}).strict();O({threadId:lt}).strict();const C8=C().trim().min(1).max(128).regex(/^[A-Za-z0-9._:-]+$/u).brand(),NS=C().min(1).max(128),PS=C().trim().min(1).max(128),zS=C().trim().min(1).max(512),AS=O({id:C8,invocation:NS,label:PS,description:zS.optional(),localizations:a1.optional(),argumentMode:Me(["none","text"]),kind:Me(["command","skill"]).optional()}).strict();O({commands:oe(AS),warnings:oe(C().min(1)).optional(),source:Me(["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)});O({harnessId:kt,cwd:C().min(1).optional()}).strict();O({threadId:lt}).strict();O({threadId:lt,commandId:C8,turnId:c1.optional(),arguments:Ll.optional()}).strict();O({accepted:q(!0),turnId:c1.optional()}).strict();const Rl=q("2.0").optional(),Fn=Od().optional(),k8=C().min(1),Ud=Wt([C(),me().int()]),RS=O({code:me().int(),message:C(),data:on.optional()}).catchall(on).superRefine(Jr(["data"])),DS=O({jsonrpc:Rl,id:Ud,method:k8,params:on.optional(),result:Fn,error:Fn}).catchall(on).superRefine(Jr(["jsonrpc","params","result","error"])),FS=O({jsonrpc:Rl,id:Fn,method:k8,params:on.optional(),result:Fn,error:Fn}).catchall(on).superRefine(Jr(["jsonrpc","id","params","result","error"])),$S=O({jsonrpc:Rl,id:Ud,method:Fn,params:Fn,result:on,error:Fn}).catchall(on).superRefine(Jr(["jsonrpc","method","params","error"])),HS=O({jsonrpc:Rl,id:Ud,method:Fn,params:Fn,result:Fn,error:RS}).catchall(on).superRefine(Jr(["jsonrpc","method","params","result"]));Wt([DS,FS,$S,HS]);const Qs=C().refine(e=>e.trim().length>0,{message:"Native identifier must not be empty or whitespace"});Z({harnessId:kt,nativeSessionId:Qs,locator:on.optional(),formatVersion:q(1)}).superRefine(Jr(["locator"]));Z({harnessId:kt,nativeSessionId:Qs,nativeTurnKey:Qs,formatVersion:q(1)});Z({harnessId:kt,nativeSessionId:Qs,checkpointId:Qs,locator:on.optional(),formatVersion:q(1)}).superRefine(Jr(["locator"]));const S8=500,VS=/^\d+\.\d+\.\d+(?:-[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/u,W0=C().regex(VS),E8=Me(["npm","windows-installer","macos-dmg"]),BS=Me(["prepared","downloading","waiting-for-exit","installing","restarting","succeeded","failed"]),qd=Z({version:W0,installation:E8,phase:BS,updatedAt:me().int().nonnegative(),downloadedBytes:me().int().nonnegative().optional(),totalBytes:me().int().positive().optional(),error:C().min(1).max(S8).nullable(),serviceStopOutput:C().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"})});Z({});const ZS=C().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");Z({currentVersion:W0,installation:E8.nullable(),latestVersion:W0.nullable(),updateAvailable:he(),installationAvailable:he(),releaseNotes:C().min(1).max(2e4).nullable(),releaseNotesUrl:ZS.nullable(),status:qd.nullable(),error:C().min(1).max(S8).nullable()});Z({status:qd});Z({status:qd.nullable()});const WS=/\[@([^\]\n]+)\]\(<?subagent:\/\/codexhost\.([a-z0-9][a-z0-9-]*)>?\)/gu;function US(e){const t=[],n=new Set;return{text:e.replace(WS,(s,l,u)=>{const d=l.trim();return n.has(u)||(n.add(u),t.push({harnessId:u,label:d})),`@${d}`}),mentions:t}}function qS(e){if(e===void 0)return;const t=Number(e);return Number.isSafeInteger(t)&&t>0&&String(t)===e?t:void 0}const GS=Me(["idle","installing","restarting","succeeded","failed"]);O({runningVersion:C().nullable(),installedVersion:C().nullable(),restartRequired:he(),remote:he(),updateSupported:he(),update:O({phase:GS,targetVersion:C().nullable(),error:C().nullable()})});const KS=O({version:C().regex(/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u)}).strict();O({hostname:C().min(1).max(1024).refine(e=>!e.startsWith("-")&&!/\s/u.test(e)),port:me().int().min(1).max(65535).nullable(),identity:C().max(4096).nullable(),action:Me(["inspect","install","update","repair","uninstall"]),uninstallPackage:he().optional(),version:C().regex(/^\d+\.\d+\.\d+$/u).nullable()}).strict();O({state:Me(["installed","not-installed"])}).strict();const Bt=C().min(1).max(1024),j8={hostId:Bt.regex(/^remote-(?:ssh(?:-|:)|control:)/u)},ur={...j8,threadId:Bt},YS=St("kind",[Z({kind:q("hosts")}),Z({kind:q("status"),...ur}),Z({kind:q("list"),...j8,cursor:C().nullable(),archived:he()}),Z({kind:q("read"),...ur,page:Z({cursor:C().min(1).max(8192).nullable(),epoch:Bt.optional(),sortDirection:Me(["asc","desc"]).optional(),limit:me().int().min(1).max(20).optional()}).refine(e=>e.cursor===null||e.epoch!==void 0,{message:"A history continuation requires its connection epoch"}).optional()}),Z({kind:q("usage"),...ur,epoch:Bt}),Z({kind:q("configure"),...ur,epoch:Bt,modelId:Bt.optional(),serviceTier:Zh.optional(),thinkingOptionId:Bt.optional(),permissionModeId:Bt.optional()}).refine(e=>[e.modelId,e.thinkingOptionId,e.permissionModeId].filter(t=>t!==void 0).length===1,"Select exactly one remote setting").refine(e=>e.serviceTier===void 0||e.modelId!==void 0,{message:"A service tier requires a Model ID"}),Z({kind:q("prompt"),...ur,epoch:Bt,text:C().min(1).max(8e3),requestId:Bt.optional()}),Z({kind:q("interrupt"),...ur,epoch:Bt,turnId:Bt}),Z({kind:q("rename"),...ur,epoch:Bt,name:C().min(1).max(512)}),Z({kind:q("archive"),...ur,epoch:Bt,archived:he()}),Z({kind:q("respond"),...ur,epoch:Bt,requestId:Wt([Bt,me().int()]),result:At(C(),Ks())})]),di=C().min(1).max(1024),v5=O({hostId:di,displayName:C().min(1).max(1024),source:Me(["codex-managed","discovered"]),sshAlias:C().max(1024).nullable(),sshHost:C().min(1).max(1024),sshPort:me().int().min(1).max(65535).nullable(),identity:C().max(4096).nullable(),autoConnect:he(),connectionAnalyticsId:C().max(1024).optional()}),JS=Z({displayName:C().min(1).max(1024),hostname:C().min(1).max(1024),sshPort:me().int().min(1).max(65535).nullable(),identity:C().max(4096).nullable()});St("action",[Z({action:q("session"),operation:YS}),Z({action:q("list")}),Z({action:q("catalog")}),Z({action:q("read-thread"),hostId:di.refine(e=>e!=="local"),input:tS}),Z({action:q("save"),draft:JS,previous:v5.nullable()}),Z({action:q("remove"),previous:v5}),Z({action:q("connect"),hostId:di,enabled:he()}),Z({action:q("state"),hostId:di}),Z({action:q("runtime"),hostId:di}),Z({action:q("update"),hostId:di.refine(e=>e!=="local"),version:KS.shape.version})]);Wt([Z({result:on}),Z({error:Z({code:me().int(),message:C()})})]);Z({prompt:C().trim().min(1).max(2e3),cwd:C().max(4096).nullable()});C().trim().min(1).max(60).nullable();const Dl=C().max(214).regex(/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/u),w5=Wt([C(),O({en:C()}).catchall(C())]),XS=O({title:w5.optional(),description:w5.optional(),icon:C().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:C().optional()}),QS=O({id:Dl,name:C().min(1).max(214),version:C().min(1).max(128),format:q("dsh"),supportedTargets:Wb([q("web")]),enabledTargets:oe(q("web")).max(1),source:C().min(1).max(4096),projectUrl:C().max(4096).url({protocol:/^https?$/u}).optional(),installedAt:C(),meta:XS.optional(),loadError:C().optional()});O({extensions:oe(QS),loadedIds:oe(Dl),safeMode:he(),storeError:C().optional()});const eE=C().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}/`);O({spec:C().trim().min(1).max(4096),registry:eE.optional()}).strict();O({id:Dl,enabled:he()}).strict();O({id:Dl}).strict();q(mS);const Ma=1e3,tE=3e4,x5="codexhost:host-extensions-events:v1",Qu=Symbol.for("codexhost.host-extension-events.v1");let e0;function nE(){return typeof BroadcastChannel=="function"&&typeof navigator<"u"&&typeof navigator.locks?.request=="function"}function rE(e,t){const n=new Set,r=nE(),s=r?new BroadcastChannel(x5):void 0;let l=!1,u=!1,d=!1,p,m,g,w,x,y=Ma;const b=(G,k)=>{if(!l){for(const Y of[...n])try{Y.onExtensionsChanged(G)}catch{}if(k&&s)try{s.postMessage({type:"extensions-changed",revision:G})}catch{}}},j=G=>{if(!l){for(const k of[...n])try{k.onReconnect?.()}catch{}if(G&&s)try{s.postMessage({type:"reconnect"})}catch{}}},I=()=>{x!==void 0&&(clearTimeout(x),x=void 0)},P=()=>{m?.abort(),m=void 0},M=()=>{if(I(),l||!u||e?.visibilityState==="hidden")return;const G=y;y=Math.min(y*2,tE),x=setTimeout(()=>{x=void 0,H()},G)},H=async()=>{if(l||!u||e?.visibilityState==="hidden")return;P();const G=new AbortController;m=G;const k=p!==void 0?`?epoch=${encodeURIComponent(p.epoch)}&after=${encodeURIComponent(String(p.sequence))}`:"";try{const Y=await fetch(`api/ch/v1/events${k}`,{method:"GET",credentials:"same-origin",cache:"no-store",headers:{accept:"application/x-ndjson"},signal:G.signal});if(!Y.ok||Y.body===null){M();return}y=Ma,d&&j(!0),d=!0;const $=Y.body.getReader(),K=new TextDecoder;let X="";for(;;){const{done:we,value:fe}=await $.read();if(we||l||!u||G.signal.aborted)break;X+=K.decode(fe,{stream:!0});let Se=X.indexOf(`
77
+ `);for(;Se!==-1;){const ce=X.slice(0,Se).trim();if(X=X.slice(Se+1),ce.length>0)try{const Q=Lk.safeParse(JSON.parse(ce));if(Q.success){const te=Q.data;p=te.cursor,te.type==="extensions-changed"?b(te.revision,!0):te.type==="hello"&&te.reset&&j(!0)}}catch{}Se=X.indexOf(`
78
+ `)}}}catch{}finally{m===G&&(m=void 0),!l&&u&&!G.signal.aborted&&M()}},z=()=>{u=!1,I(),P(),g?.abort(),g=void 0;const G=w;w=void 0,G?.()},W=()=>{if(l||e?.visibilityState==="hidden")return;if(!r){if(u)return;u=!0,y=Ma,H();return}if(u||g!==void 0)return;const G=new AbortController;g=G,navigator.locks.request(x5,{signal:G.signal},async()=>{l||G.signal.aborted||e?.visibilityState==="hidden"||(u=!0,y=Ma,await new Promise(k=>{w=k,d&&j(!1),H()}))}).catch(()=>{}).finally(()=>{g===G&&(g=void 0)})},V=G=>{if(l||u)return;const k=G.data;!k||typeof k!="object"||(k.type==="extensions-changed"&&typeof k.revision=="number"?b(k.revision,!1):k.type==="reconnect"&&j(!1))};s?.addEventListener("message",V);const ee=()=>{if(!l){if(e?.visibilityState==="hidden"){z();return}j(!1),W()}};e?.addEventListener("visibilitychange",ee),W();const U=()=>{l||(l=!0,z(),e?.removeEventListener("visibilitychange",ee),s?.removeEventListener("message",V),s?.close(),t())};return{subscribe(G){return n.add(G),()=>{n.delete(G),n.size===0&&U()}}}}function oE(e){const{onExtensionsChanged:t,onReconnect:n}=e,r=e.document;let s=r?r[Qu]:e0;return s||(s=rE(r,()=>{r?delete r[Qu]:e0=void 0}),r?r[Qu]=s:e0=s),s.subscribe({onExtensionsChanged:t,onReconnect:n})}function u1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t0={exports:{}},$e={};/**
79
+ * @license React
80
+ * react.production.min.js
81
+ *
82
+ * Copyright (c) Facebook, Inc. and its affiliates.
83
+ *
84
+ * This source code is licensed under the MIT license found in the
85
+ * LICENSE file in the root directory of this source tree.
86
+ */var y5;function iE(){if(y5)return $e;y5=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"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),w=Symbol.iterator;function x(T){return T===null||typeof T!="object"?null:(T=w&&T[w]||T["@@iterator"],typeof T=="function"?T:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,j={};function I(T,R,ne){this.props=T,this.context=R,this.refs=j,this.updater=ne||y}I.prototype.isReactComponent={},I.prototype.setState=function(T,R){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,R,"setState")},I.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function P(){}P.prototype=I.prototype;function M(T,R,ne){this.props=T,this.context=R,this.refs=j,this.updater=ne||y}var H=M.prototype=new P;H.constructor=M,b(H,I.prototype),H.isPureReactComponent=!0;var z=Array.isArray,W=Object.prototype.hasOwnProperty,V={current:null},ee={key:!0,ref:!0,__self:!0,__source:!0};function U(T,R,ne){var pe,Oe={},Ne=null,Be=null;if(R!=null)for(pe in R.ref!==void 0&&(Be=R.ref),R.key!==void 0&&(Ne=""+R.key),R)W.call(R,pe)&&!ee.hasOwnProperty(pe)&&(Oe[pe]=R[pe]);var Fe=arguments.length-2;if(Fe===1)Oe.children=ne;else if(1<Fe){for(var Re=Array(Fe),de=0;de<Fe;de++)Re[de]=arguments[de+2];Oe.children=Re}if(T&&T.defaultProps)for(pe in Fe=T.defaultProps,Fe)Oe[pe]===void 0&&(Oe[pe]=Fe[pe]);return{$$typeof:e,type:T,key:Ne,ref:Be,props:Oe,_owner:V.current}}function G(T,R){return{$$typeof:e,type:T.type,key:R,ref:T.ref,props:T.props,_owner:T._owner}}function k(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function Y(T){var R={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(ne){return R[ne]})}var $=/\/+/g;function K(T,R){return typeof T=="object"&&T!==null&&T.key!=null?Y(""+T.key):R.toString(36)}function X(T,R,ne,pe,Oe){var Ne=typeof T;(Ne==="undefined"||Ne==="boolean")&&(T=null);var Be=!1;if(T===null)Be=!0;else switch(Ne){case"string":case"number":Be=!0;break;case"object":switch(T.$$typeof){case e:case t:Be=!0}}if(Be)return Be=T,Oe=Oe(Be),T=pe===""?"."+K(Be,0):pe,z(Oe)?(ne="",T!=null&&(ne=T.replace($,"$&/")+"/"),X(Oe,R,ne,"",function(de){return de})):Oe!=null&&(k(Oe)&&(Oe=G(Oe,ne+(!Oe.key||Be&&Be.key===Oe.key?"":(""+Oe.key).replace($,"$&/")+"/")+T)),R.push(Oe)),1;if(Be=0,pe=pe===""?".":pe+":",z(T))for(var Fe=0;Fe<T.length;Fe++){Ne=T[Fe];var Re=pe+K(Ne,Fe);Be+=X(Ne,R,ne,Re,Oe)}else if(Re=x(T),typeof Re=="function")for(T=Re.call(T),Fe=0;!(Ne=T.next()).done;)Ne=Ne.value,Re=pe+K(Ne,Fe++),Be+=X(Ne,R,ne,Re,Oe);else if(Ne==="object")throw R=String(T),Error("Objects are not valid as a React child (found: "+(R==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":R)+"). If you meant to render a collection of children, use an array instead.");return Be}function we(T,R,ne){if(T==null)return T;var pe=[],Oe=0;return X(T,pe,"","",function(Ne){return R.call(ne,Ne,Oe++)}),pe}function fe(T){if(T._status===-1){var R=T._result;R=R(),R.then(function(ne){(T._status===0||T._status===-1)&&(T._status=1,T._result=ne)},function(ne){(T._status===0||T._status===-1)&&(T._status=2,T._result=ne)}),T._status===-1&&(T._status=0,T._result=R)}if(T._status===1)return T._result.default;throw T._result}var Se={current:null},ce={transition:null},Q={ReactCurrentDispatcher:Se,ReactCurrentBatchConfig:ce,ReactCurrentOwner:V};function te(){throw Error("act(...) is not supported in production builds of React.")}return $e.Children={map:we,forEach:function(T,R,ne){we(T,function(){R.apply(this,arguments)},ne)},count:function(T){var R=0;return we(T,function(){R++}),R},toArray:function(T){return we(T,function(R){return R})||[]},only:function(T){if(!k(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},$e.Component=I,$e.Fragment=n,$e.Profiler=s,$e.PureComponent=M,$e.StrictMode=r,$e.Suspense=p,$e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q,$e.act=te,$e.cloneElement=function(T,R,ne){if(T==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+T+".");var pe=b({},T.props),Oe=T.key,Ne=T.ref,Be=T._owner;if(R!=null){if(R.ref!==void 0&&(Ne=R.ref,Be=V.current),R.key!==void 0&&(Oe=""+R.key),T.type&&T.type.defaultProps)var Fe=T.type.defaultProps;for(Re in R)W.call(R,Re)&&!ee.hasOwnProperty(Re)&&(pe[Re]=R[Re]===void 0&&Fe!==void 0?Fe[Re]:R[Re])}var Re=arguments.length-2;if(Re===1)pe.children=ne;else if(1<Re){Fe=Array(Re);for(var de=0;de<Re;de++)Fe[de]=arguments[de+2];pe.children=Fe}return{$$typeof:e,type:T.type,key:Oe,ref:Ne,props:pe,_owner:Be}},$e.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},$e.createElement=U,$e.createFactory=function(T){var R=U.bind(null,T);return R.type=T,R},$e.createRef=function(){return{current:null}},$e.forwardRef=function(T){return{$$typeof:d,render:T}},$e.isValidElement=k,$e.lazy=function(T){return{$$typeof:g,_payload:{_status:-1,_result:T},_init:fe}},$e.memo=function(T,R){return{$$typeof:m,type:T,compare:R===void 0?null:R}},$e.startTransition=function(T){var R=ce.transition;ce.transition={};try{T()}finally{ce.transition=R}},$e.unstable_act=te,$e.useCallback=function(T,R){return Se.current.useCallback(T,R)},$e.useContext=function(T){return Se.current.useContext(T)},$e.useDebugValue=function(){},$e.useDeferredValue=function(T){return Se.current.useDeferredValue(T)},$e.useEffect=function(T,R){return Se.current.useEffect(T,R)},$e.useId=function(){return Se.current.useId()},$e.useImperativeHandle=function(T,R,ne){return Se.current.useImperativeHandle(T,R,ne)},$e.useInsertionEffect=function(T,R){return Se.current.useInsertionEffect(T,R)},$e.useLayoutEffect=function(T,R){return Se.current.useLayoutEffect(T,R)},$e.useMemo=function(T,R){return Se.current.useMemo(T,R)},$e.useReducer=function(T,R,ne){return Se.current.useReducer(T,R,ne)},$e.useRef=function(T){return Se.current.useRef(T)},$e.useState=function(T){return Se.current.useState(T)},$e.useSyncExternalStore=function(T,R,ne){return Se.current.useSyncExternalStore(T,R,ne)},$e.useTransition=function(){return Se.current.useTransition()},$e.version="18.3.1",$e}var _5;function Gd(){return _5||(_5=1,t0.exports=iE()),t0.exports}var S=Gd();const sE=u1(S),aE=_l({__proto__:null,default:sE},[S]),n0=100;function b5(e,t){return typeof t=="string"?t:(e.get("locale")?.getLocale().active??"en").toLowerCase().startsWith("zh")&&t["zh-CN"]||t.en}function C5(e,t){if(!e||typeof e!="object"||typeof e.id!="string"||e.id.trim().length===0)throw new Error(`Web extension ${t} contribution requires a non-empty string id`);if(typeof e.render!="function")throw new Error(`Web extension ${t} contribution "${e.id}" requires a render function`);const n=e.title;if(!(typeof n=="string"||typeof n=="object"&&n!==null&&typeof n.en=="string"&&typeof n["zh-CN"]=="string"))throw new Error(`Web extension ${t} contribution "${e.id}" requires a valid title`)}function r0(e,t,n){if(typeof n=="function")try{Promise.resolve(n()).catch(r=>{console.error(`[web-native-extensions] contribution cleanup failed (${e}/${t})`,r)})}catch(r){console.error(`[web-native-extensions] contribution cleanup failed (${e}/${t})`,r)}}function lE({size:e}){return S.createElement("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0},S.createElement("rect",{x:2.25,y:2.25,width:4.5,height:4.5,rx:1}),S.createElement("rect",{x:9.25,y:2.25,width:4.5,height:4.5,rx:1}),S.createElement("rect",{x:2.25,y:9.25,width:4.5,height:4.5,rx:1}),S.createElement("rect",{x:9.25,y:9.25,width:4.5,height:4.5,rx:1}))}function o0({extensionId:e,contributionId:t,kind:n,render:r,extensionSignal:s,activeControllers:l}){const u=n==="sidebar";return function(){const p=S.useRef(null);return S.useEffect(()=>{const m=p.current;if(m===null||s.aborted)return;const g=new AbortController;l.add(g);let w=!1,x;const y=()=>{if(w)return;w=!0,l.delete(g),s.removeEventListener("abort",b),g.signal.aborted||g.abort();const j=x;x=void 0,r0(e,t,j),m.replaceChildren()},b=()=>{y()};s.addEventListener("abort",b,{once:!0}),m.replaceChildren();try{const j=r(m,g.signal);j!=null&&typeof j.then=="function"?Promise.resolve(j).then(I=>{if(w||g.signal.aborted||s.aborted){r0(e,t,typeof I=="function"?I:void 0),m.replaceChildren();return}typeof I=="function"&&(x=I)},I=>{console.error(`[web-native-extensions] contribution render failed (${e}/${t})`,I)}):typeof j=="function"&&(w||g.signal.aborted||s.aborted?(r0(e,t,j),m.replaceChildren()):x=j)}catch(j){console.error(`[web-native-extensions] contribution render failed (${e}/${t})`,j)}return y},[]),S.createElement("div",{ref:p,"data-cx-web-ext-contribution":`${e}:${t}`,"data-cx-web-ext-id":e,"data-cx-web-ext-kind":n,style:u?{display:"inline-flex",alignItems:"center",justifyContent:"center"}:{width:"100%",height:"100%"}})}}class cE{constructor(t,n,r){this.ctx=t,this.extensionId=n,this.extensionSignal=r}settingsPages=new Map;panels=new Map;activeControllers=new Set;disposed=!1;registerSettingsPage(t){this.guard(),C5(t,"settings page");const n=t.id.trim();this.settingsPages.get(n)?.dispose();const r=`cx-ext-settings:${this.extensionId}:${n}`,s=o0({extensionId:this.extensionId,contributionId:n,kind:"settings",render:t.render,extensionSignal:this.extensionSignal,activeControllers:this.activeControllers}),l=this.ctx.get("slots");if(l===void 0)throw new Error("Slot registry is unavailable");const u=l.inject("settings.section",()=>l.register({name:"settings.section",id:r,order:n0,label:()=>b5(this.ctx,t.title)},s));let d=!1;const p={dispose:()=>{if(!d){d=!0,this.settingsPages.get(n)===p&&this.settingsPages.delete(n);try{u()}catch(m){console.error(`[web-native-extensions] failed to unregister settings page (${this.extensionId}/${n})`,m)}}}};return this.settingsPages.set(n,p),p.dispose}registerPanel(t){if(this.guard(),C5(t,"panel"),t.placement!=="main"&&t.placement!=="sidebar")throw new Error(`Web extension panel "${t.id}" has unsupported placement "${String(t.placement)}"`);const n=t.id.trim(),r=`${t.placement}:${n}`;this.panels.get(r)?.dispose();const s=this.ctx.get("slots");if(s===void 0)throw new Error("Slot registry is unavailable");const l=`cx-ext-panel:${this.extensionId}:${t.placement}:${n}`,u=()=>b5(this.ctx,t.title),d=[];if(t.placement==="main"){const g=o0({extensionId:this.extensionId,contributionId:n,kind:"main",render:t.render,extensionSignal:this.extensionSignal,activeControllers:this.activeControllers});d.push(s.inject("main",()=>s.register({name:"main",key:l},g))),d.push(s.inject("sidebar.panellist",()=>s.register({name:"sidebar.panellist",id:l,order:n0,label:u},lE)))}else{const g=o0({extensionId:this.extensionId,contributionId:n,kind:"sidebar",render:t.render,extensionSignal:this.extensionSignal,activeControllers:this.activeControllers}),w=()=>S.createElement("div",{"data-cx-web-ext-sidebar-fallback":`${this.extensionId}:${n}`,style:{width:"100%",height:"100%"}});d.push(s.inject("main",()=>s.register({name:"main",key:l},w))),d.push(s.inject("sidebar.panellist",()=>s.register({name:"sidebar.panellist",id:l,order:n0,label:u},g)))}let p=!1;const m={dispose:()=>{if(!p){p=!0,this.panels.get(r)===m&&this.panels.delete(r);for(const g of d.splice(0).reverse())try{g()}catch(w){console.error(`[web-native-extensions] failed to unregister panel (${this.extensionId}/${n})`,w)}}}};return this.panels.set(r,m),m.dispose}abortAll(){for(const t of[...this.activeControllers])t.signal.aborted||t.abort();this.activeControllers.clear()}disposeAll(){this.disposed=!0,this.abortAll();for(const t of[...this.settingsPages.values()])t.dispose();this.settingsPages.clear();for(const t of[...this.panels.values()])t.dispose();this.panels.clear()}guard(){if(this.disposed)throw new Error("Web extension is unloading");this.extensionSignal.throwIfAborted()}}const Oa=new WeakMap,uE=new Set(Wk),dE=/^[a-z0-9][a-z0-9-]{0,63}$/u;function bo(e){try{return structuredClone(e)}catch{return JSON.parse(JSON.stringify(e))}}function al(e,t){const n=hk(e),r=t?.baseURI;if(typeof r=="string"&&r.length>0)try{return new URL(n.replace(/^\/+/u,""),r).href}catch{}return n}function fE(e){return typeof e=="object"&&e!==null&&"nodeType"in e&&e.nodeType===1&&"append"in e&&"prepend"in e}function k5(e){return typeof e=="object"&&e!==null&&"nodeType"in e&&e.nodeType===1&&"setAttribute"in e&&"removeAttribute"in e}function hE(e){const t=e instanceof Error?e.message:String(e);return/revision|conflict|stale/iu.test(t)}function pE(e){const{ctx:t,document:n,entry:r,rpc:s,onSettingsRevisionObserved:l}=e,{id:u,activationId:d,digest:p}=r,m=!!r.manifest.backend,g=new AbortController,w=new cE(t,u,g.signal),x=new Set,y=new Map,b=new Set,j=new Set;let I=r.settingsRevision,P=!1;const M=()=>{if(P)throw new Error(`Web extension "${u}" is unloading`);g.signal.throwIfAborted()},H=k=>{if(typeof k!="string"||!dE.test(k))throw new Error(`Web extension "${u}" marker name must use lowercase letters, digits, or hyphens`);return`data-cx-ext-${u}-${k}`},z=(k,Y)=>{const $=y.get(k);if(!$?.has(Y))return;const K=$.get(Y)??null;K===null?k.removeAttribute(Y):k.setAttribute(Y,K),$.delete(Y),$.size===0&&y.delete(k);const X=Oa.get(k);X?.get(Y)===u&&(X.delete(Y),X.size===0&&Oa.delete(k))},W=k=>typeof k=="string"?uE.has(k)?n.querySelector(`[data-cx-region="${k}"]`)??void 0:void 0:fE(k)?k:void 0,V=k=>{if(!(P||g.signal.aborted))for(const Y of[...b]){if(P||g.signal.aborted)break;try{Promise.resolve(Y(bo(k))).catch($=>{console.error(`[web-native-extensions] storage.onChange failed (${u})`,$)})}catch($){console.error(`[web-native-extensions] storage.onChange failed (${u})`,$)}}},ee=(k,Y)=>{try{Promise.resolve(k()).catch($=>{console.error(`[web-native-extensions] ${Y} failed (${u})`,$)})}catch($){console.error(`[web-native-extensions] ${Y} failed (${u})`,$)}},U={id:u,apiVersion:1,signal:g.signal,dom:{mount(k,Y="append"){M();const $=W(k);if($===void 0)return;const K=n.createElement("div");K.setAttribute("data-cx-web-ext-mount",u),Y==="prepend"?$.prepend(K):$.append(K),x.add(K);let X=!1;return{container:K,dispose:()=>{X||(X=!0,x.delete(K),K.remove())}}},mark(k,Y){if(M(),!k5(k))throw new Error(`Web extension "${u}" dom.mark requires a DOM Element`);const $=H(Y),K=Oa.get(k)??new Map,X=K.get($);if(X!==void 0&&X!==u)throw new Error(`Web extension marker "${$}" is already owned by "${X}"`);const we=y.get(k)??new Map;we.has($)||we.set($,k.getAttribute($)),k.setAttribute($,""),K.set($,u),Oa.set(k,K),y.set(k,we)},unmark(k,Y){g.signal.throwIfAborted(),k5(k)&&z(k,H(Y))}},track(k){if(M(),typeof k!="function")throw new Error(`Web extension "${u}" track() requires a function`);j.add(k)},assets:{url(k){return M(),al({id:u,activationId:d,digest:p,path:k},n)}},storage:{async get(){M();const k=await s.settingsGet(u,d,g.signal);return M(),I=k.settingsRevision,l(k.settingsRevision),bo(k.values)},async set(k){M();let Y;try{Y=await s.settingsSet(u,d,I,k,g.signal)}catch($){if(!hE($))throw $;M();const K=await s.settingsGet(u,d,g.signal);M(),I=K.settingsRevision,Y=await s.settingsSet(u,d,I,k,g.signal)}return M(),I=Y.settingsRevision,l(Y.settingsRevision),V(Y.values),bo(Y.values)},onChange(k){if(M(),typeof k!="function")throw new Error(`Web extension "${u}" storage.onChange requires a function`);return b.add(k),()=>{b.delete(k)}}},backend:{async invoke(k,Y){if(M(),!m)throw new Error(`Extension "${u}" does not declare a backend`);const $=await s.backendInvoke(u,d,k,Y,g.signal);return M(),$}},settings:{registerPage(k){return M(),w.registerSettingsPage(k)}},panels:{register(k){return M(),w.registerPanel(k)}}},G=k=>{P=!0,g.signal.aborted||g.abort(),w.abortAll(),b.clear(),w.disposeAll(),typeof k=="function"&&ee(k,"activate disposer");const Y=[...j].reverse();j.clear();for(const $ of Y)ee($,"tracked disposer");for(const $ of x)$.remove();x.clear();for(const[$,K]of[...y.entries()])for(const X of[...K.keys()])z($,X);y.clear()};return{api:U,signal:g.signal,hasStorageListeners:()=>b.size>0,updateSettingsRevision(k){I=k},notifyStorageChange:V,reclaim:G}}class i0 extends Error{constructor(t,n,r){super(t),this.code=n,this.status=r,this.name="WebExtensionRpcError"}}async function La(e,t,n){const r=Ik[e],s=r.params.parse(t),l=await fetch("api/ch/v1/rpc",{method:"POST",credentials:"same-origin",cache:"no-store",headers:{"content-type":"application/json"},body:JSON.stringify({method:e,params:s}),...n===void 0?{}:{signal:n}});let u;try{u=await l.json()}catch{throw l.ok?new Error(`Invalid RPC response for ${e}`):new i0(`HTTP ${String(l.status)}`,l.status,l.status)}if(u?.error)throw new i0(u.error.message??`HTTP ${String(l.status)}`,u.error.code??l.status,l.status);if(!l.ok)throw new i0(`HTTP ${String(l.status)}`,l.status,l.status);return r.result.parse(u?.result)}const I8={snapshot:e=>La(Mt.snapshot,{},e),settingsGet:(e,t,n)=>La(Mt.settingsGet,{id:e,activationId:t},n),settingsSet:(e,t,n,r,s)=>La(Mt.settingsSet,{id:e,activationId:t,expectedSettingsRevision:n,values:r},s),backendInvoke:async(e,t,n,r,s)=>(await La(Mt.backendInvoke,{id:e,activationId:t,method:n,...r===void 0?{}:{params:r}},s)).result};function mE(e){const t=e instanceof Error?e.message:String(e);return/revision|conflict|stale/iu.test(t)}function gE(e){return e.toLowerCase().startsWith("zh")?"zh-CN":"en"}function vE(e){return{locale:{get:()=>e.locale.getLocale().active,subscribe:t=>e.locale.subscribe(t)},colorScheme:{get:()=>e.theme.getTheme().active.colorScheme,subscribe:t=>e.on("theme/change",t)}}}function wE({container:e,identity:t,spec:n,kind:r,appearance:s,hasBackend:l,settingsRevision:u,rpc:d=I8,importModule:p=g=>import(g),noBackendMessage:m=()=>`Extension "${t.id}" does not declare a backend`}){const{id:g,activationId:w}=t,x=e.ownerDocument,y=new AbortController,{signal:b}=y,j=()=>b.throwIfAborted(),{locale:I,colorScheme:P}=s,M=Q=>al({...t,path:Q},x),H=new Set,z=new Set,W=new Set;let V=u??-1,ee=V,U,G;const k=[],Y=(Q,te)=>console.error(`[host-extension-${r}] ${Q} failed (${g})`,te),$=(Q,te)=>{try{Promise.resolve(te()).catch(T=>Y(Q,T))}catch(T){Y(Q,T)}},K=(Q,te)=>(j(),Q.add(te),()=>{Q.delete(te)}),X=(Q,te,T)=>{for(const R of[...te]){if(b.aborted)break;$(Q,()=>R(T()))}},we=(Q,te,T,R)=>{let ne=Q.get();T(ne),k.push(Q.subscribe(()=>{if(b.aborted)return;const pe=Q.get();pe!==ne&&(ne=pe,T(pe),X(R,te,()=>pe))}))},fe=async()=>{j();const Q=await d.settingsGet(g,w,b);return j(),V=Math.max(V,Q.settingsRevision),Q},Se=(Q,te)=>{b.aborted||te<V||te<=ee||(V=ee=te,X("storage.onChange",W,()=>bo(Q)))},ce={id:g,apiVersion:V0,hostTarget:"web",get locale(){return gE(I.get())},onLocaleChange:Q=>K(H,Q),get colorScheme(){return P.get()},onColorSchemeChange:Q=>K(z,Q),signal:b,assets:{async url(Q){return j(),M(Q)}},storage:{async get(){return bo((await fe()).values)},async set(Q){j();const te=bo(Q),T=()=>d.settingsSet(g,w,V,te,b);V<0&&await fe();let R;try{R=await T()}catch(ne){if(!mE(ne))throw ne;await fe(),R=await T()}return j(),Se(R.values,R.settingsRevision),bo(R.values)},onChange:Q=>K(W,Q)},backend:{async invoke(Q,te){if(j(),!l)throw new Error(m());const T=await d.backendInvoke(g,w,Q,te,b);return j(),T}}};return{async mount(){j();const Q=e.attachShadow({mode:"open"}),te=Q?x.createElement("div"):e;if(Q&&(te.className="cx-page-mount",Q.append(te)),n.style!==void 0){const ne=x.createElement("link");ne.rel="stylesheet",ne.href=M(n.style),Q||(ne.dataset.cxPageStyle=g),G=ne,(Q??x.head??x.documentElement).prepend(ne)}we({...I,get:()=>ce.locale},H,ne=>{e.lang=ne},"onLocaleChange"),we(P,z,ne=>{e.style.colorScheme=ne},"onColorSchemeChange");const T=await p(M(n.entry));if(j(),typeof T?.mount!="function")throw new Error(`Extension ${r} "${g}" must export a mount(root, api) function`);const R=await T.mount(te,ce);if(typeof R=="function")b.aborted?$("disposer",R):U=R;else if(R!==void 0)throw new Error(`Extension ${r} "${g}" mount() returned an invalid disposer`);j()},async refreshSettings(Q){if(!(b.aborted||Q!==void 0&&Q<=ee)&&(Q!==void 0&&(V=Math.max(V,Q)),W.size!==0))try{const te=await fe();Se(te.values,te.settingsRevision)}catch(te){b.aborted||Y("settings refresh",te)}},dispose(){if(!b.aborted){y.abort();for(const Q of k)Q();H.clear(),z.clear(),W.clear(),U&&$("disposer",U),U=void 0,G?.remove(),e.remove()}}}}const xE="_theme_7ehws_1",yE="_widget_7ehws_12",S5={theme:xE,widget:yE};function _E(e,t,n,r){const s=vE(e),l=new Map;return{reconcile(u){const d=new Map(u.filter(({manifest:p})=>p.widget).map(p=>[p.id,p]));for(const[p,{entry:m,surface:g}]of l){const w=d.get(p);w?.activationId===m.activationId&&w.digest===m.digest||(l.delete(p),g.dispose())}for(const[p,m]of d){const g=l.get(p);if(g){g.surface.refreshSettings(m.settingsRevision);continue}const w=m.manifest.widget;if(!w||!t.body)continue;const x=t.createElement("div");x.dataset.cxHostWidget=p,x.className=`${S5.theme} ${S5.widget}`;const{activationId:y,digest:b,settingsRevision:j}=m,I=wE({container:x,identity:{id:p,activationId:y,digest:b},spec:w,kind:"widget",appearance:s,hasBackend:m.manifest.backend!==void 0,settingsRevision:j,rpc:n,importModule:r});l.set(p,{entry:m,surface:I}),t.body.append(x),I.mount().catch(P=>{l.get(p)?.surface===I&&(console.error(`[host-extension-widget] mount failed (${p})`,P),I.dispose())})}},dispose(){for(const{surface:u}of l.values())u.dispose();l.clear()}}}const bE=3e4;function CE(e){return import(e)}function kE(e,t,n){const r=e.createElement("link");return r.rel="stylesheet",r.setAttribute("data-cx-web-ext",t),r.href=n,(e.head??e.documentElement).append(r),r}function SE(e){e.styleLink!==void 0&&(e.styleLink.remove(),e.styleLink=void 0)}function EE(e){const{ctx:t,document:n,rpc:r=I8,importModule:s=CE,pollIntervalMs:l=bE}=e,u=new Map,d=_E(t,n,r,s);let p,m=!1,g=!1,w=!1,x,y;const b=k=>{k.disposed=!0,k.settingsSyncToken+=1;const Y=k.activateDispose;if(k.activateDispose=void 0,k.resources!==void 0)k.resources.reclaim(Y);else if(typeof Y=="function")try{Promise.resolve(Y()).catch($=>{console.error(`[web-native-extensions] activate disposer failed (${k.id})`,$)})}catch($){console.error(`[web-native-extensions] activate disposer failed (${k.id})`,$)}SE(k)},j=(k,Y)=>{k.settingsRevision=Y;const $=k.resources;if($?.updateSettingsRevision(Y),k.disposed||$===void 0||!$.hasStorageListeners())return;const K=++k.settingsSyncToken;r.settingsGet(k.id,k.activationId,$.signal).then(X=>{m||k.disposed||u.get(k.id)!==k||k.settingsSyncToken!==K||(k.settingsRevision=X.settingsRevision,$.updateSettingsRevision(X.settingsRevision),$.notifyStorageChange(X.values))}).catch(X=>{m||k.disposed||$.signal.aborted||console.error(`[web-native-extensions] failed to reload settings (${k.id})`,X)})},I=k=>{const Y=k.manifest.web;if(!Y)return;const $={id:k.id,activationId:k.activationId,digest:k.digest,settingsRevision:k.settingsRevision,disposed:!1,styleLink:void 0,resources:void 0,activateDispose:void 0,settingsSyncToken:0};u.set(k.id,$);const K=Y.style?al({id:k.id,activationId:k.activationId,digest:k.digest,path:Y.style},n):void 0;try{K!==void 0&&($.styleLink=kE(n,k.id,K))}catch(fe){console.error(`[web-native-extensions] failed to mount style (${k.id})`,fe),b($);return}if(Y.entry===void 0)return;const X=al({id:k.id,activationId:k.activationId,digest:k.digest,path:Y.entry},n),we=pE({ctx:t,document:n,entry:k,rpc:r,onSettingsRevisionObserved:fe=>{!$.disposed&&u.get(k.id)===$&&($.settingsRevision=fe)}});$.resources=we,(async()=>{try{const fe=await s(X);if(m||$.disposed||u.get(k.id)!==$){b($);return}if(fe==null||typeof fe.activate!="function")throw new Error(`Web extension "${k.id}" must export an activate(api) function`);const Se=await fe.activate(we.api);if(m||$.disposed||u.get(k.id)!==$){typeof Se=="function"&&($.activateDispose=Se),b($);return}if(typeof Se=="function")$.activateDispose=Se;else if(Se!==void 0)throw new Error(`Web extension "${k.id}" activate() returned an invalid disposer`)}catch(fe){console.error(`[web-native-extensions] activation failed (${k.id})`,fe),b($)}})()},P=k=>{if(m||k.revision===p)return;p=k.revision,d.reconcile(k.extensions);const Y=k.extensions.filter(K=>K.manifest.web!==void 0),$=new Map(Y.map(K=>[K.id,K]));for(const[K,X]of[...u.entries()]){const we=$.get(K);(we===void 0||we.activationId!==X.activationId||we.digest!==X.digest)&&(u.delete(K),b(X))}for(const K of Y){const X=u.get(K.id);if(X!==void 0){X.settingsRevision!==K.settingsRevision&&j(X,K.settingsRevision);continue}I(K)}},M=()=>{x!==void 0&&(clearTimeout(x),x=void 0)},H=()=>{M(),!(m||n.visibilityState==="hidden")&&(x=setTimeout(()=>{x=void 0,W()},l))},z=async()=>{if(!(m||g)){g=!0,M();try{do{w=!1;const k=new AbortController;y=k;try{const Y=await r.snapshot(k.signal);!m&&!k.signal.aborted&&P(Y)}catch(Y){!m&&!k.signal.aborted&&console.debug("[web-native-extensions] snapshot sync skipped",Y)}finally{y===k&&(y=void 0)}}while(!m&&w)}finally{g=!1,H()}}},W=()=>{if(!m){if(g){w=!0;return}z()}},V=e.subscribeEvents?e.subscribeEvents(W):oE({document:n,onExtensionsChanged:k=>{k!==p&&W()},onReconnect:W}),ee=()=>{if(!m){if(n.visibilityState==="hidden"){M();return}W()}};n.addEventListener("visibilitychange",ee);const U=[],G=t.get("connection");if(G!==void 0){let k=G.state.getSnapshot();U.push(G.state.subscribe(()=>{const $=G.state.getSnapshot(),K=$==="connected"&&k!=="connected";k=$,K&&W()}));let Y=G.generation.getSnapshot()?.id;U.push(G.generation.subscribe(()=>{const $=G.generation.getSnapshot()?.id;$!==void 0&&$!==Y&&(Y=$,W())}))}return W(),{syncNow:W,dispose:()=>{if(!m){m=!0,w=!1,M(),y?.abort(),y=void 0,V(),n.removeEventListener("visibilitychange",ee);for(const k of U.splice(0))k();for(const k of[...u.values()])b(k);u.clear(),d.dispose()}}}}const jE=()=>{throw new Error("node:module is not available in the browser")};var IE=[],U0;(e=>{let t;function n(s){const l=jE();if(IE.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})(U0||(U0={}));class ll{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 e1(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(d=>{this.ctx.logger.error(d)}):this.remove(u)}))}stop(){for(const t of this.data)this.remove(t.id,!0)}}class ZB extends ll{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[ll.key]=!0;async*[gr.init](){yield()=>this.stop(),await this.update(this.config)}}class Fl{static sep=":";ctx;enableLogs;root;store=Object.create(null);constructor(t){this.ctx=t.extend({baseUrl:t.baseUrl}),this.root=new ll(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(iw)}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(Fl.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 d=this.resolveGroup(r);u.unlink(l.options),d.data.splice(s??1/0,0,l.options),d.tree.write(),l.parent=d}return u.tree.write(),l.update(n,!1,!0)}import(t,n){return t.startsWith("cordis:")?this.ctx.loader.builtins[t.slice(7)]:Xa(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 M8=new Function("ctx","expr",`
87
+ with (ctx) {
88
+ return eval(expr)
89
+ }
90
+ `);function q0(e,t){return Kd(t)?M8(e,t.__jsExpr):!t||typeof t!="object"?t:Array.isArray(t)?t.map(n=>q0(e,n)):sw(t,n=>q0(e,n))}function Kd(e){return e instanceof Object&&"__jsExpr"in e}function ME(e){return e?.["~standard"].vendor==="schemastery"}function E5(e){if(!e||typeof e!="object"||Kd(e))return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function O8(e,t,n,r){if(n?.meta?.volatile)return!0;if(n?.type!=="object"||!n.dict||r.has(n))return wi(e,t,!0);const s=e??n.meta?.default,l=t??n.meta?.default;if(!E5(s)||!E5(l))return wi(s,l,!0);const{dict:u}=n;r.add(n);try{return Object.keys({...s,...l}).every(d=>O8(s[d],l[d],Object.hasOwn(u,d)?u[d]:void 0,r))}finally{r.delete(n)}}function OE(e,t,n){return ME(n)?O8(e,t,n,new Set):wi(e,t,!0)}function s0(e,t){const n=[];for(const r of t)r in e&&(n.push([r,e[r]]),delete e[r]);return n}function LE(e,t=["id","name"],n=["config"]){const r=s0(e,t),s=s0(e,n),l=s0(e,Object.keys(e)).sort(([u],[d])=>u.localeCompare(d));return Object.assign(e,Object.fromEntries([...r,...l,...s]))}class e1{constructor(t){this.loader=t,this.ctx=t.ctx.extend({[e1.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+Fl.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 Kd(t.disabled)?!!this.evaluate(t.disabled.__jsExpr):!!t.disabled}evaluate(t){return M8(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))vr(u)?delete this.options[l]:this.options[l]=u;if(LE(this.options),this.disabled){this.fiber?.dispose();return}if(this.fiber?.uid){const l=Object.keys({...this.options,...s}).filter(p=>!wi(this.options[p],s[p],p==="config")),u=l.length===1&&l[0]==="config"&&this.fiber.state===bi.ACTIVE&&Object.getPrototypeOf(this.ctx)===this.parent.ctx&&OE(s.config,this.options.config,this.fiber.runtime?.Config);u&&(this.fiber._config=this.options.config);const d=u&&this._commitVolatile()?[]:l;if(!d.length&&!r)return;this.context.emit("loader/partial-dispose",this,s,!0),this._patchContext(d)}else await this.init()}_commitVolatile(){const t=this.fiber,n=aw(t.config);if(!n.length)return!0;const r=this.options.config;let s;try{s=yd(t.runtime,t.ctx.waterfall(t,"internal/config",r,()=>r))}catch(d){return this.ctx.logger.warn("volatile config update failed for %C",this.options.id),this.ctx.logger.warn(d),!0}if(!wi(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:d,ref:p})=>{const m=d.reduce((g,w)=>Reflect.get(g,w),s);return wi(p.get(),m.get(),!0)?[]:(lw(p,m),[d])});if(!l.length)return!0;const u=Object.create(t.ctx);u[rt.filter]=d=>d.fiber===t;try{t.ctx.emit(u,"loader/volatile-update",l)}catch(d){this.ctx.logger.warn(d)}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 j5(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 L8{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 TE extends L8{constructor(t){super(),this.entry=t}get suffix(){return"#"+this.entry.options.id}}class NE extends L8{constructor(t){super(),this.label=t}get suffix(){return"@"+this.label}}function PE(e){const t=Object.create(null),n=Object.create(null);function r(s,l,u=!1){let d;const p=s.options.isolate?.[l];if(p)return p===!0?d=s.realm??=new TE(s):u?d=t[p]??=new NE(p):d=t[p],d?.access(l,u)}e.on("loader/entry-init",s=>{s.ctx[rt.intercept]=Object.create(s.ctx[rt.intercept]),s.ctx[rt.isolate]=Object.create(s.ctx[rt.isolate])}),e.on("loader/patch-context",(s,l)=>{const u=Object.create(s.parent.ctx[rt.isolate]);for(const m of Object.keys(s.options.isolate??{}))u[m]=r(s,m,!0);const d=Object.create(null),p=s.ctx[rt.isolate];for(const m in{...u,...n}){if(u[m]===p[m])continue;const g=n[m]??=Symbol(`delim:${m}`);s.ctx[g]=Symbol(`${m}#${s.id}`);for(const w of[p[m],u[m]]){const x=w&&s.ctx.reflect.store[w];if(x){if(!x.fiber){s.ctx.logger.warn(new Error(`expected service ${m} to be implemented`));continue}if(d[m]=[p[m],u[m],s.ctx[g],x.fiber.ctx[g]],s.ctx[g]!==x.fiber.ctx[g])break}}}Object.setPrototypeOf(s.ctx[rt.isolate],s.parent.ctx[rt.isolate]),Object.setPrototypeOf(s.ctx[rt.intercept],s.parent.ctx[rt.intercept]),j5(s.ctx[rt.isolate],u),j5(s.ctx[rt.intercept],s.options.intercept),l();for(const[m,g,w,x]of Object.values(d))w===x&&s.ctx.reflect.store[m]&&!s.ctx.reflect.store[g]&&(s.ctx.reflect.store[g]=s.ctx.reflect.store[m],delete s.ctx.reflect.store[m]);e.reflect.notify(Object.keys(d),(m,g)=>{const[w,x,y,b]=d[g],j=m[rt.isolate][g],I=m[n[g]];return(w===j||x===j)&&y===I!=(y===b)});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[d,p]of Object.entries(l.isolate??{})){if(p===!0||u&&s.options.isolate?.[d]===p)continue;const m=t[p];if(m){for(const g of e.loader.entries())if(g.options.isolate?.[d]===m.label)return;m.delete(d),m.size||delete t[m.label]}}})}class zE extends Fl{constructor(t,n={}){super(t),this.config=n,n.baseUrl&&(this.ctx.baseUrl=n.baseUrl);const r=this;er(this,gr.tracker,{associate:"loader",property:"ctx",noShadow:!0}),t.reflect.provide("loader",this,this[gr.check]),t.on("internal/config",function(s,l){const u=l();return!this.entry||this.parent.fiber?.entry===this.entry||this.runtime?.callback?.[ll.key]?u:q0(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 d=this.runtime?.Config?.simplify;return this.entry.options.config=d?d.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[e1.key]&&!s.entry&&(s.entry=s.parent[e1.key],Us.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===bi.UNLOADING||(this.showLog(s.entry,"unload"),!s.entry.disabled&&(s.entry.options.disabled=!0,s.entry.parent.tree.write()))}),t.plugin(PE)}envData={startTime:Date.now()};name="loader";internal=U0.fromInternal();builtins=Object.create(null);write(){}[gr.check](){return!(gr.prototype[gr.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 vr(t)||(t=t.default??t,!t.__esModule)?t:t.default??t}}const si={PENDING:0,LOADING:1,ACTIVE:2,FAILED:3,DISPOSED:4,UNLOADING:5},T8={[si.PENDING]:"pending",[si.LOADING]:"loading",[si.ACTIVE]:"active",[si.FAILED]:"failed",[si.DISPOSED]:"disposed",[si.UNLOADING]:"unloading"},AE=new Set(["@deepseek-ai/dsh-api-gateway","@deepseek-ai/dsh-client-modules","@deepseek-ai/dsh-client-ui-theme","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-shortcuts","@deepseek-ai/dsh-client-ui-shortcuts","@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-renderer","@deepseek-ai/dsh-client-ui-session","@deepseek-ai/dsh-client-resources","@deepseek-ai/dsh-client-ui-sidebar","@deepseek-ai/dsh-client-ui-sidebar-right","@deepseek-ai/dsh-client-ui-sidebar-files","@deepseek-ai/dsh-client-ui-sidebar-documentpreview","@deepseek-ai/dsh-client-ui-sidebar-terminal","@deepseek-ai/dsh-client-ui-sidebar-browser","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-general","@deepseek-ai/dsh-client-ui-conversation","@deepseek-ai/dsh-client-ui-approval","@deepseek-ai/dsh-client-ui-chat","@deepseek-ai/dsh-client-ui-brand-official","@deepseek-ai/dsh-client-ui-attachment","@deepseek-ai/dsh-client-ui-tool","@deepseek-ai/dsh-client-ui-workspace","@deepseek-ai/dsh-client-ui-input-trigger","@deepseek-ai/dsh-client-ui-commands","@deepseek-ai/dsh-client-ui-subagent","@deepseek-ai/dsh-client-ui-model-selection","@deepseek-ai/dsh-client-ui-permission-presets","@deepseek-ai/dsh-client-ui-plan","@deepseek-ai/dsh-client-ui-user-questions","@deepseek-ai/dsh-typert-registry","@deepseek-ai/dsh-client-file-upload","@deepseek-ai/dsh-api-remotes","@deepseek-ai/dsh-api-session-controller","@deepseek-ai/dsh-api-terminal-controller","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-api-workspace-controller","@deepseek-ai/dsh-client-ui-directory-picker-browse","@deepseek-ai/dsh-client-ui-codexhost","@deepseek-ai/dsh-api-workspace-files","@deepseek-ai/dsh-client-hmr"]);function RE(e,t=n=>AE.has(n)){if(!e.plugins.some(u=>t(u.id)))return{core:e,external:[]};const r=new Set(e.plugins.filter(u=>t(u.id)).map(u=>u.id)),s=e.plugins.filter(u=>!r.has(u.id)),l=new Set(s.map(u=>u.id));return{core:{rev:e.rev,modules:e.modules.filter(u=>!l.has(u.id)),plugins:e.plugins.filter(u=>r.has(u.id))},external:s}}async function DE(e){const{ctx:t,manifest:n,onEntryState:r}=e;await t.plugin(zE);const s=t.loader;s.internal=e.modules;const l=new Set(n.plugins.map(d=>d.id)),u=t.on("internal/status",d=>{const p=d.entry;p===void 0||p.fiber===void 0||l.has(p.options.name)&&r?.(p.options.name,T8[p.fiber.state])});try{for(const d of l)r?.(d,"loading");await e.modules.entries.start(s,n);for(const d of s.entries())l.has(d.options.name)&&d.fiber===void 0&&r?.(d.options.name,"failed");await s.await(),FE(t,e.modules,l)}finally{u()}}function FE(e,t,n){const r=[];for(const s of e.loader.entries()){const l=s.options.name;if(n!==void 0&&!n.has(l))continue;if(s.fiber===void 0){const d=t.importError(l);r.push(d===void 0?`${l}: import failed (see console for the import error)`:`${l}: import failed: ${d.message}`);continue}const u=T8[s.fiber.state];if(u!=="active")if(u==="pending"){const d=Object.keys(s.fiber.inject).filter(p=>e.get(p)===void 0);r.push(`${l}: pending (waiting for service${d.length===1?"":"s"}: ${d.join(", ")||"unknown"})`)}else r.push(`${l}: ${u}`)}if(r.length>0)throw new Error(`web boot: ${String(r.length)} entr${r.length===1?"y":"ies"} did not activate
91
+ ${r.join(`
92
+ `)}`)}const $E="_boot_hsk5m_3",HE="_card_hsk5m_24",VE="_wordmark_hsk5m_31",BE="_hint_hsk5m_39",ZE="_spinner_hsk5m_45",WE="_failed_hsk5m_74",UE="_failedTitle_hsk5m_81",qE="_failedItem_hsk5m_88",dr={boot:$E,card:HE,wordmark:VE,hint:BE,spinner:ZE,failed:WE,failedTitle:UE,failedItem:qE};function fr(e,t){const n=document.createElement("div");return n.className=e??"",t!==void 0&&(n.textContent=t),n}class GE{root;card;wordmark;spinner;hint;states=new Map;active=new Set;total=0;failure;constructor(t){this.root=fr(dr.boot),this.root.dataset.dshBoot="",this.card=fr(dr.card),this.wordmark=fr(dr.wordmark,"HARNESS"),this.spinner=fr(dr.spinner),this.spinner.dataset.dshBootSpinner="",this.hint=fr(dr.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=fr(dr.failed);n.append(fr(dr.failedTitle,"Failed to load plugins"));for(const u of t)n.append(fr(dr.failedItem,u));this.failure!==void 0&&n.append(fr(dr.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 KE={},YE=e=>{let t;const n=new Set,r=(g,w)=>{const x=typeof g=="function"?g(t):g;if(!Object.is(x,t)){const y=t;t=w??(typeof x!="object"||x===null)?x:Object.assign({},t,x),n.forEach(b=>b(t,y))}},s=()=>t,p={setState:r,getState:s,getInitialState:()=>m,subscribe:g=>(n.add(g),()=>n.delete(g)),destroy:()=>{(KE?"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},JE=e=>YE,XE=e=>(t,n,r)=>{const s=r.subscribe;return r.subscribe=(u,d,p)=>{let m=u;if(d){const g=p?.equalityFn||Object.is;let w=u(r.getState());m=x=>{const y=u(x);if(!g(w,y)){const b=w;d(w=y,b)}},p?.fireImmediately&&d(w,w)}return s(m)},e(t,n,r)},QE=XE;function ej(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 N8=Symbol.for("immer-nothing"),I5=Symbol.for("immer-draftable"),mn=Symbol.for("immer-state");function Dn(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var t1=Object.getPrototypeOf;function Ei(e){return!!e&&!!e[mn]}function Mo(e){return e?P8(e)||Array.isArray(e)||!!e[I5]||!!e.constructor?.[I5]||d1(e)||Hl(e):!1}var tj=Object.prototype.constructor.toString(),M5=new WeakMap;function P8(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=M5.get(n);return r===void 0&&(r=Function.toString.call(n),M5.set(n,r)),r===tj}function cl(e,t,n=!0){$l(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 $l(e){const t=e[mn];return t?t.type_:Array.isArray(e)?1:d1(e)?2:Hl(e)?3:0}function G0(e,t){return $l(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function z8(e,t,n){const r=$l(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function nj(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function d1(e){return e instanceof Map}function Hl(e){return e instanceof Set}function xo(e){return e.copy_||e.base_}function K0(e,t){if(d1(e))return new Map(e);if(Hl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=P8(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[mn];let s=Reflect.ownKeys(r);for(let l=0;l<s.length;l++){const u=s[l],d=r[u];d.writable===!1&&(d.writable=!0,d.configurable=!0),(d.get||d.set)&&(r[u]={configurable:!0,writable:!0,enumerable:d.enumerable,value:e[u]})}return Object.create(t1(e),r)}else{const r=t1(e);if(r!==null&&n)return{...e};const s=Object.create(r);return Object.assign(s,e)}}function Yd(e,t=!1){return Vl(e)||Ei(e)||!Mo(e)||($l(e)>1&&Object.defineProperties(e,{set:Ta,add:Ta,clear:Ta,delete:Ta}),Object.freeze(e),t&&Object.values(e).forEach(n=>Yd(n,!0))),e}function rj(){Dn(2)}var Ta={value:rj};function Vl(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var oj={};function Oo(e){const t=oj[e];return t||Dn(0,e),t}var n1;function A8(){return n1}function ij(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function O5(e,t){t&&(Oo("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Y0(e){J0(e),e.drafts_.forEach(sj),e.drafts_=null}function J0(e){e===n1&&(n1=e.parent_)}function L5(e){return n1=ij(n1,e)}function sj(e){const t=e[mn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function T5(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[mn].modified_&&(Y0(t),Dn(4)),Mo(e)&&(e=ul(t,e),t.parent_||dl(t,e)),t.patches_&&Oo("Patches").generateReplacementPatches_(n[mn].base_,e,t.patches_,t.inversePatches_)):e=ul(t,n,[]),Y0(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==N8?e:void 0}function ul(e,t,n){if(Vl(t))return t;const r=e.immer_.shouldUseStrictIteration(),s=t[mn];if(!s)return cl(t,(l,u)=>N5(e,s,t,l,u,n),r),t;if(s.scope_!==e)return t;if(!s.modified_)return dl(e,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;const l=s.copy_;let u=l,d=!1;s.type_===3&&(u=new Set(l),l.clear(),d=!0),cl(u,(p,m)=>N5(e,s,l,p,m,n,d),r),dl(e,l,!1),n&&e.patches_&&Oo("Patches").generatePatches_(s,n,e.patches_,e.inversePatches_)}return s.copy_}function N5(e,t,n,r,s,l,u){if(s==null||typeof s!="object"&&!u)return;const d=Vl(s);if(!(d&&!u)){if(Ei(s)){const p=l&&t&&t.type_!==3&&!G0(t.assigned_,r)?l.concat(r):void 0,m=ul(e,s,p);if(z8(n,r,m),Ei(m))e.canAutoFreeze_=!1;else return}else u&&n.add(s);if(Mo(s)&&!d){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===s&&d)return;ul(e,s),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&(d1(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&dl(e,s)}}}function dl(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Yd(t,n)}function aj(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:A8(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let s=r,l=Jd;n&&(s=[r],l=r1);const{revoke:u,proxy:d}=Proxy.revocable(s,l);return r.draft_=d,r.revoke_=u,d}var Jd={get(e,t){if(t===mn)return e;const n=xo(e);if(!G0(n,t))return lj(e,n,t);const r=n[t];return e.finalized_||!Mo(r)?r:r===a0(e.base_,t)?(l0(e),e.copy_[t]=Q0(r,e)):r},has(e,t){return t in xo(e)},ownKeys(e){return Reflect.ownKeys(xo(e))},set(e,t,n){const r=R8(xo(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const s=a0(xo(e),t),l=s?.[mn];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(nj(n,s)&&(n!==void 0||G0(e.base_,t)))return!0;l0(e),X0(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 a0(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,l0(e),X0(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=xo(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Dn(11)},getPrototypeOf(e){return t1(e.base_)},setPrototypeOf(){Dn(12)}},r1={};cl(Jd,(e,t)=>{r1[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});r1.deleteProperty=function(e,t){return r1.set.call(this,e,t,void 0)};r1.set=function(e,t,n){return Jd.set.call(this,e[0],t,n,e[0])};function a0(e,t){const n=e[mn];return(n?xo(n):e)[t]}function lj(e,t,n){const r=R8(t,n);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}function R8(e,t){if(!(t in e))return;let n=t1(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=t1(n)}}function X0(e){e.modified_||(e.modified_=!0,e.parent_&&X0(e.parent_))}function l0(e){e.copy_||(e.copy_=K0(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var cj=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,g=>n.call(this,g,...m))}}typeof n!="function"&&Dn(6),r!==void 0&&typeof r!="function"&&Dn(7);let s;if(Mo(t)){const l=L5(this),u=Q0(t,void 0);let d=!0;try{s=n(u),d=!1}finally{d?Y0(l):J0(l)}return O5(l,r),T5(s,l)}else if(!t||typeof t!="object"){if(s=n(t),s===void 0&&(s=t),s===N8&&(s=void 0),this.autoFreeze_&&Yd(s,!0),r){const l=[],u=[];Oo("Patches").generateReplacementPatches_(t,s,l,u),r(l,u)}return s}else Dn(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(u,...d)=>this.produceWithPatches(u,p=>t(p,...d));let r,s;return[this.produce(t,n,(u,d)=>{r=u,s=d}),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){Mo(e)||Dn(8),Ei(e)&&(e=uj(e));const t=L5(this),n=Q0(e,void 0);return n[mn].isManual_=!0,J0(t),n}finishDraft(e,t){const n=e&&e[mn];(!n||!n.isManual_)&&Dn(9);const{scope_:r}=n;return O5(r,t),T5(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=Oo("Patches").applyPatches_;return Ei(e)?r(e,t):this.produce(e,s=>r(s,t))}};function Q0(e,t){const n=d1(e)?Oo("MapSet").proxyMap_(e,t):Hl(e)?Oo("MapSet").proxySet_(e,t):aj(e,t);return(t?t.scope_:A8()).drafts_.push(n),n}function uj(e){return Ei(e)||Dn(10,e),D8(e)}function D8(e){if(!Mo(e)||Vl(e))return e;const t=e[mn];let n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=K0(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=K0(e,!0);return cl(n,(s,l)=>{z8(n,s,D8(l))},r),t&&(t.finalized_=!1),n}var dj=new cj,fj=dj.produce;function ed(e,t,...n){for(const r of[...e])try{r(...n)}catch(s){console.error(`${t} subscriber failed:`,s)}}function hj(e,t){return ej(e,t)}function pj(e){const t=typeof requestAnimationFrame=="function"?r=>{requestAnimationFrame(()=>{r()})}:r=>{queueMicrotask(r)};let n=!1;return()=>{n||(n=!0,t(()=>{n=!1,e()}))}}function Bl(e,t){const n=QE(()=>e),r=JE()(n);t?.persist&&mj(r,t.persist.name);let s=l=>r.subscribe(()=>{ed([l],"[client-store]")});if(t?.flush==="raf"){const l=new Set,u=pj(()=>{ed(l,"[client-store]")});r.subscribe(u),s=d=>(l.add(d),()=>{l.delete(d)})}return{getSnapshot:()=>r.getState(),subscribe:l=>s(l),update:l=>{r.setState(fj(r.getState(),u=>{l(u)}),!0)},set:l=>{r.setState(l,!0)}}}function mj(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 gj(e){return{spec:e,create(t){const n=e.persist===void 0?void 0:t===void 0?e.persist:`${e.persist}.${t}`,r=Bl(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]=(...d)=>{r.update(p=>{u(p,...d)})}}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 vj=Object.freeze(Object.defineProperty({__proto__:null,createSnapshotStore:Bl,defineStore:gj,notifySubscribers:ed,shallowEqual:hj},Symbol.toStringTag,{value:"Module"}));function wj(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 xj{constructor(t){this.browser=t,this.guide=wj(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=Bl("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 yj(){return/iPhone|iPad|iPod/u.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function _j(){if(typeof document>"u"||!yj())return;const e=document.querySelector('meta[name="viewport"]');e===null||/maximum-scale/u.test(e.content)||(e.content=`${e.content}, maximum-scale=1`)}function bj(){return/iPhone|iPad|iPod/u.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function Cj(){if(typeof window>"u"||!bj())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 kj(e,t){await e.inject(["uiRenderer"],r=>{r.effect(()=>r.uiRenderer.mount(t),"web boot: application mount")})}var c0={exports:{}},js={};/**
93
+ * @license React
94
+ * react-jsx-runtime.production.min.js
95
+ *
96
+ * Copyright (c) Facebook, Inc. and its affiliates.
97
+ *
98
+ * This source code is licensed under the MIT license found in the
99
+ * LICENSE file in the root directory of this source tree.
100
+ */var P5;function Sj(){if(P5)return js;P5=1;var e=Gd(),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(d,p,m){var g,w={},x=null,y=null;m!==void 0&&(x=""+m),p.key!==void 0&&(x=""+p.key),p.ref!==void 0&&(y=p.ref);for(g in p)r.call(p,g)&&!l.hasOwnProperty(g)&&(w[g]=p[g]);if(d&&d.defaultProps)for(g in p=d.defaultProps,p)w[g]===void 0&&(w[g]=p[g]);return{$$typeof:t,type:d,key:x,ref:y,props:w,_owner:s.current}}return js.Fragment=n,js.jsx=u,js.jsxs=u,js}var z5;function Ej(){return z5||(z5=1,c0.exports=Sj()),c0.exports}var c=Ej();const jj=u1(c),Ij=_l({__proto__:null,default:jj},[c]);var u0={exports:{}},tn={},d0={exports:{}},f0={};/**
101
+ * @license React
102
+ * scheduler.production.min.js
103
+ *
104
+ * Copyright (c) Facebook, Inc. and its affiliates.
105
+ *
106
+ * This source code is licensed under the MIT license found in the
107
+ * LICENSE file in the root directory of this source tree.
108
+ */var A5;function Mj(){return A5||(A5=1,(function(e){function t(ce,Q){var te=ce.length;ce.push(Q);e:for(;0<te;){var T=te-1>>>1,R=ce[T];if(0<s(R,Q))ce[T]=Q,ce[te]=R,te=T;else break e}}function n(ce){return ce.length===0?null:ce[0]}function r(ce){if(ce.length===0)return null;var Q=ce[0],te=ce.pop();if(te!==Q){ce[0]=te;e:for(var T=0,R=ce.length,ne=R>>>1;T<ne;){var pe=2*(T+1)-1,Oe=ce[pe],Ne=pe+1,Be=ce[Ne];if(0>s(Oe,te))Ne<R&&0>s(Be,Oe)?(ce[T]=Be,ce[Ne]=te,T=Ne):(ce[T]=Oe,ce[pe]=te,T=pe);else if(Ne<R&&0>s(Be,te))ce[T]=Be,ce[Ne]=te,T=Ne;else break e}}return Q}function s(ce,Q){var te=ce.sortIndex-Q.sortIndex;return te!==0?te:ce.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var p=[],m=[],g=1,w=null,x=3,y=!1,b=!1,j=!1,I=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function H(ce){for(var Q=n(m);Q!==null;){if(Q.callback===null)r(m);else if(Q.startTime<=ce)r(m),Q.sortIndex=Q.expirationTime,t(p,Q);else break;Q=n(m)}}function z(ce){if(j=!1,H(ce),!b)if(n(p)!==null)b=!0,fe(W);else{var Q=n(m);Q!==null&&Se(z,Q.startTime-ce)}}function W(ce,Q){b=!1,j&&(j=!1,P(U),U=-1),y=!0;var te=x;try{for(H(Q),w=n(p);w!==null&&(!(w.expirationTime>Q)||ce&&!Y());){var T=w.callback;if(typeof T=="function"){w.callback=null,x=w.priorityLevel;var R=T(w.expirationTime<=Q);Q=e.unstable_now(),typeof R=="function"?w.callback=R:w===n(p)&&r(p),H(Q)}else r(p);w=n(p)}if(w!==null)var ne=!0;else{var pe=n(m);pe!==null&&Se(z,pe.startTime-Q),ne=!1}return ne}finally{w=null,x=te,y=!1}}var V=!1,ee=null,U=-1,G=5,k=-1;function Y(){return!(e.unstable_now()-k<G)}function $(){if(ee!==null){var ce=e.unstable_now();k=ce;var Q=!0;try{Q=ee(!0,ce)}finally{Q?K():(V=!1,ee=null)}}else V=!1}var K;if(typeof M=="function")K=function(){M($)};else if(typeof MessageChannel<"u"){var X=new MessageChannel,we=X.port2;X.port1.onmessage=$,K=function(){we.postMessage(null)}}else K=function(){I($,0)};function fe(ce){ee=ce,V||(V=!0,K())}function Se(ce,Q){U=I(function(){ce(e.unstable_now())},Q)}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(ce){ce.callback=null},e.unstable_continueExecution=function(){b||y||(b=!0,fe(W))},e.unstable_forceFrameRate=function(ce){0>ce||125<ce?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):G=0<ce?Math.floor(1e3/ce):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return n(p)},e.unstable_next=function(ce){switch(x){case 1:case 2:case 3:var Q=3;break;default:Q=x}var te=x;x=Q;try{return ce()}finally{x=te}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(ce,Q){switch(ce){case 1:case 2:case 3:case 4:case 5:break;default:ce=3}var te=x;x=ce;try{return Q()}finally{x=te}},e.unstable_scheduleCallback=function(ce,Q,te){var T=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?T+te:T):te=T,ce){case 1:var R=-1;break;case 2:R=250;break;case 5:R=1073741823;break;case 4:R=1e4;break;default:R=5e3}return R=te+R,ce={id:g++,callback:Q,priorityLevel:ce,startTime:te,expirationTime:R,sortIndex:-1},te>T?(ce.sortIndex=te,t(m,ce),n(p)===null&&ce===n(m)&&(j?(P(U),U=-1):j=!0,Se(z,te-T))):(ce.sortIndex=R,t(p,ce),b||y||(b=!0,fe(W))),ce},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(ce){var Q=x;return function(){var te=x;x=Q;try{return ce.apply(this,arguments)}finally{x=te}}}})(f0)),f0}var R5;function Oj(){return R5||(R5=1,d0.exports=Mj()),d0.exports}/**
109
+ * @license React
110
+ * react-dom.production.min.js
111
+ *
112
+ * Copyright (c) Facebook, Inc. and its affiliates.
113
+ *
114
+ * This source code is licensed under the MIT license found in the
115
+ * LICENSE file in the root directory of this source tree.
116
+ */var D5;function Lj(){if(D5)return tn;D5=1;var e=Gd(),t=Oj();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 d=!(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]*$/,g={},w={};function x(o){return p.call(w,o)?!0:p.call(g,o)?!1:m.test(o)?w[o]=!0:(g[o]=!0,!1)}function y(o,i,a,f){if(a!==null&&a.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return f?!1:a!==null?!a.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function b(o,i,a,f){if(i===null||typeof i>"u"||y(o,i,a,f))return!0;if(f)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 j(o,i,a,f,h,v,_){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=f,this.attributeNamespace=h,this.mustUseProperty=a,this.propertyName=o,this.type=i,this.sanitizeURL=v,this.removeEmptyString=_}var I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){I[o]=new j(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];I[i]=new j(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){I[o]=new j(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){I[o]=new j(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){I[o]=new j(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){I[o]=new j(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){I[o]=new j(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){I[o]=new j(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){I[o]=new j(o,5,!1,o.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function M(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,M);I[i]=new j(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,M);I[i]=new j(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,M);I[i]=new j(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){I[o]=new j(o,1,!1,o.toLowerCase(),null,!1,!1)}),I.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){I[o]=new j(o,1,!1,o.toLowerCase(),null,!0,!0)});function H(o,i,a,f){var h=I.hasOwnProperty(i)?I[i]:null;(h!==null?h.type!==0:f||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(b(i,a,h,f)&&(a=null),f||h===null?x(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,f=h.attributeNamespace,a===null?o.removeAttribute(i):(h=h.type,a=h===3||h===4&&a===!0?"":""+a,f?o.setAttributeNS(f,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"),ee=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),Y=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),fe=Symbol.for("react.lazy"),Se=Symbol.for("react.offscreen"),ce=Symbol.iterator;function Q(o){return o===null||typeof o!="object"?null:(o=ce&&o[ce]||o["@@iterator"],typeof o=="function"?o:null)}var te=Object.assign,T;function R(o){if(T===void 0)try{throw Error()}catch(a){var i=a.stack.trim().match(/\n( *(at )?)/);T=i&&i[1]||""}return`
117
+ `+T+o}var ne=!1;function pe(o,i){if(!o||ne)return"";ne=!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(B){var f=B}Reflect.construct(o,[],i)}else{try{i.call()}catch(B){f=B}o.call(i.prototype)}else{try{throw Error()}catch(B){f=B}o()}}catch(B){if(B&&f&&typeof B.stack=="string"){for(var h=B.stack.split(`
118
+ `),v=f.stack.split(`
119
+ `),_=h.length-1,E=v.length-1;1<=_&&0<=E&&h[_]!==v[E];)E--;for(;1<=_&&0<=E;_--,E--)if(h[_]!==v[E]){if(_!==1||E!==1)do if(_--,E--,0>E||h[_]!==v[E]){var L=`
120
+ `+h[_].replace(" at new "," at ");return o.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",o.displayName)),L}while(1<=_&&0<=E);break}}}finally{ne=!1,Error.prepareStackTrace=a}return(o=o?o.displayName||o.name:"")?R(o):""}function Oe(o){switch(o.tag){case 5:return R(o.type);case 16:return R("Lazy");case 13:return R("Suspense");case 19:return R("SuspenseList");case 0:case 2:case 15:return o=pe(o.type,!1),o;case 11:return o=pe(o.type.render,!1),o;case 1:return o=pe(o.type,!0),o;default:return""}}function Ne(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 ee:return"Fragment";case V:return"Portal";case G:return"Profiler";case U:return"StrictMode";case K:return"Suspense";case X:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case Y:return(o.displayName||"Context")+".Consumer";case k:return(o._context.displayName||"Context")+".Provider";case $:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case we:return i=o.displayName||null,i!==null?i:Ne(o.type)||"Memo";case fe:i=o._payload,o=o._init;try{return Ne(o(i))}catch{}}return null}function Be(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 Ne(i);case 8:return i===U?"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 Fe(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function Re(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function de(o){var i=Re(o)?"checked":"value",a=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),f=""+o[i];if(!o.hasOwnProperty(i)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var h=a.get,v=a.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return h.call(this)},set:function(_){f=""+_,v.call(this,_)}}),Object.defineProperty(o,i,{enumerable:a.enumerable}),{getValue:function(){return f},setValue:function(_){f=""+_},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function De(o){o._valueTracker||(o._valueTracker=de(o))}function ut(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var a=i.getValue(),f="";return o&&(f=Re(o)?o.checked?"true":"false":o.value),o=f,o!==a?(i.setValue(o),!0):!1}function Ye(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 Xe(o,i){var a=i.checked;return te({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??o._wrapperState.initialChecked})}function an(o,i){var a=i.defaultValue==null?"":i.defaultValue,f=i.checked!=null?i.checked:i.defaultChecked;a=Fe(i.value!=null?i.value:a),o._wrapperState={initialChecked:f,initialValue:a,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Ze(o,i){i=i.checked,i!=null&&H(o,"checked",i,!1)}function ln(o,i){Ze(o,i);var a=Fe(i.value),f=i.type;if(a!=null)f==="number"?(a===0&&o.value===""||o.value!=a)&&(o.value=""+a):o.value!==""+a&&(o.value=""+a);else if(f==="submit"||f==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?wn(o,i.type,a):i.hasOwnProperty("defaultValue")&&wn(o,i.type,Fe(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function tr(o,i,a){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var f=i.type;if(!(f!=="submit"&&f!=="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 wn(o,i,a){(i!=="number"||Ye(o.ownerDocument)!==o)&&(a==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+a&&(o.defaultValue=""+a))}var Rt=Array.isArray;function mt(o,i,a,f){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&&f&&(o[a].defaultSelected=!0)}else{for(a=""+Fe(a),i=null,h=0;h<o.length;h++){if(o[h].value===a){o[h].selected=!0,f&&(o[h].defaultSelected=!0);return}i!==null||o[h].disabled||(i=o[h])}i!==null&&(i.selected=!0)}}function Bn(o,i){if(i.dangerouslySetInnerHTML!=null)throw Error(n(91));return te({},i,{value:void 0,defaultValue:void 0,children:""+o._wrapperState.initialValue})}function Di(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(Rt(a)){if(1<a.length)throw Error(n(93));a=a[0]}i=a}i==null&&(i=""),a=i}o._wrapperState={initialValue:Fe(a)}}function Fi(o,i){var a=Fe(i.value),f=Fe(i.defaultValue);a!=null&&(a=""+a,a!==o.value&&(o.value=a),i.defaultValue==null&&o.defaultValue!==a&&(o.defaultValue=a)),f!=null&&(o.defaultValue=""+f)}function $i(o){var i=o.textContent;i===o._wrapperState.initialValue&&i!==""&&i!==null&&(o.value=i)}function Hi(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 tc(o,i){return o==null||o==="http://www.w3.org/1999/xhtml"?Hi(i):o==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":o}var m1,T2=(function(o){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,a,f,h){MSApp.execUnsafeLocalFunction(function(){return o(i,a,f,h)})}:o})(function(o,i){if(o.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in o)o.innerHTML=i;else{for(m1=m1||document.createElement("div"),m1.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=m1.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function Vi(o,i){if(i){var a=o.firstChild;if(a&&a===o.lastChild&&a.nodeType===3){a.nodeValue=i;return}}o.textContent=i}var Bi={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},Xm=["Webkit","ms","Moz","O"];Object.keys(Bi).forEach(function(o){Xm.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),Bi[i]=Bi[o]})});function N2(o,i,a){return i==null||typeof i=="boolean"||i===""?"":a||typeof i!="number"||i===0||Bi.hasOwnProperty(o)&&Bi[o]?(""+i).trim():i+"px"}function P2(o,i){o=o.style;for(var a in i)if(i.hasOwnProperty(a)){var f=a.indexOf("--")===0,h=N2(a,i[a],f);a==="float"&&(a="cssFloat"),f?o.setProperty(a,h):o[a]=h}}var Qm=te({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 nc(o,i){if(i){if(Qm[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 rc(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 oc=null;function ic(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var sc=null,Ao=null,Ro=null;function z2(o){if(o=ds(o)){if(typeof sc!="function")throw Error(n(280));var i=o.stateNode;i&&(i=D1(i),sc(o.stateNode,o.type,i))}}function A2(o){Ao?Ro?Ro.push(o):Ro=[o]:Ao=o}function R2(){if(Ao){var o=Ao,i=Ro;if(Ro=Ao=null,z2(o),i)for(o=0;o<i.length;o++)z2(i[o])}}function D2(o,i){return o(i)}function F2(){}var ac=!1;function $2(o,i,a){if(ac)return o(i,a);ac=!0;try{return D2(o,i,a)}finally{ac=!1,(Ao!==null||Ro!==null)&&(F2(),R2())}}function Zi(o,i){var a=o.stateNode;if(a===null)return null;var f=D1(a);if(f===null)return null;a=f[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":(f=!f.disabled)||(o=o.type,f=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!f;break e;default:o=!1}if(o)return null;if(a&&typeof a!="function")throw Error(n(231,i,typeof a));return a}var lc=!1;if(d)try{var Wi={};Object.defineProperty(Wi,"passive",{get:function(){lc=!0}}),window.addEventListener("test",Wi,Wi),window.removeEventListener("test",Wi,Wi)}catch{lc=!1}function eg(o,i,a,f,h,v,_,E,L){var B=Array.prototype.slice.call(arguments,3);try{i.apply(a,B)}catch(ie){this.onError(ie)}}var Ui=!1,g1=null,v1=!1,cc=null,tg={onError:function(o){Ui=!0,g1=o}};function ng(o,i,a,f,h,v,_,E,L){Ui=!1,g1=null,eg.apply(tg,arguments)}function rg(o,i,a,f,h,v,_,E,L){if(ng.apply(this,arguments),Ui){if(Ui){var B=g1;Ui=!1,g1=null}else throw Error(n(198));v1||(v1=!0,cc=B)}}function Xr(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 H2(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 V2(o){if(Xr(o)!==o)throw Error(n(188))}function og(o){var i=o.alternate;if(!i){if(i=Xr(o),i===null)throw Error(n(188));return i!==o?null:o}for(var a=o,f=i;;){var h=a.return;if(h===null)break;var v=h.alternate;if(v===null){if(f=h.return,f!==null){a=f;continue}break}if(h.child===v.child){for(v=h.child;v;){if(v===a)return V2(h),o;if(v===f)return V2(h),i;v=v.sibling}throw Error(n(188))}if(a.return!==f.return)a=h,f=v;else{for(var _=!1,E=h.child;E;){if(E===a){_=!0,a=h,f=v;break}if(E===f){_=!0,f=h,a=v;break}E=E.sibling}if(!_){for(E=v.child;E;){if(E===a){_=!0,a=v,f=h;break}if(E===f){_=!0,f=v,a=h;break}E=E.sibling}if(!_)throw Error(n(189))}}if(a.alternate!==f)throw Error(n(190))}if(a.tag!==3)throw Error(n(188));return a.stateNode.current===a?o:i}function B2(o){return o=og(o),o!==null?Z2(o):null}function Z2(o){if(o.tag===5||o.tag===6)return o;for(o=o.child;o!==null;){var i=Z2(o);if(i!==null)return i;o=o.sibling}return null}var W2=t.unstable_scheduleCallback,U2=t.unstable_cancelCallback,ig=t.unstable_shouldYield,sg=t.unstable_requestPaint,vt=t.unstable_now,ag=t.unstable_getCurrentPriorityLevel,uc=t.unstable_ImmediatePriority,q2=t.unstable_UserBlockingPriority,w1=t.unstable_NormalPriority,lg=t.unstable_LowPriority,G2=t.unstable_IdlePriority,x1=null,Zn=null;function cg(o){if(Zn&&typeof Zn.onCommitFiberRoot=="function")try{Zn.onCommitFiberRoot(x1,o,void 0,(o.current.flags&128)===128)}catch{}}var Mn=Math.clz32?Math.clz32:fg,ug=Math.log,dg=Math.LN2;function fg(o){return o>>>=0,o===0?32:31-(ug(o)/dg|0)|0}var y1=64,_1=4194304;function qi(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 b1(o,i){var a=o.pendingLanes;if(a===0)return 0;var f=0,h=o.suspendedLanes,v=o.pingedLanes,_=a&268435455;if(_!==0){var E=_&~h;E!==0?f=qi(E):(v&=_,v!==0&&(f=qi(v)))}else _=a&~h,_!==0?f=qi(_):v!==0&&(f=qi(v));if(f===0)return 0;if(i!==0&&i!==f&&(i&h)===0&&(h=f&-f,v=i&-i,h>=v||h===16&&(v&4194240)!==0))return i;if((f&4)!==0&&(f|=a&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=f;0<i;)a=31-Mn(i),h=1<<a,f|=o[a],i&=~h;return f}function hg(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 pg(o,i){for(var a=o.suspendedLanes,f=o.pingedLanes,h=o.expirationTimes,v=o.pendingLanes;0<v;){var _=31-Mn(v),E=1<<_,L=h[_];L===-1?((E&a)===0||(E&f)!==0)&&(h[_]=hg(E,i)):L<=i&&(o.expiredLanes|=E),v&=~E}}function dc(o){return o=o.pendingLanes&-1073741825,o!==0?o:o&1073741824?1073741824:0}function K2(){var o=y1;return y1<<=1,(y1&4194240)===0&&(y1=64),o}function fc(o){for(var i=[],a=0;31>a;a++)i.push(o);return i}function Gi(o,i,a){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-Mn(i),o[i]=a}function mg(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 f=o.eventTimes;for(o=o.expirationTimes;0<a;){var h=31-Mn(a),v=1<<h;i[h]=0,f[h]=-1,o[h]=-1,a&=~v}}function hc(o,i){var a=o.entangledLanes|=i;for(o=o.entanglements;a;){var f=31-Mn(a),h=1<<f;h&i|o[f]&i&&(o[f]|=i),a&=~h}}var Qe=0;function Y2(o){return o&=-o,1<o?4<o?(o&268435455)!==0?16:536870912:4:1}var J2,pc,X2,Q2,e3,mc=!1,C1=[],Cr=null,kr=null,Sr=null,Ki=new Map,Yi=new Map,Er=[],gg="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 t3(o,i){switch(o){case"focusin":case"focusout":Cr=null;break;case"dragenter":case"dragleave":kr=null;break;case"mouseover":case"mouseout":Sr=null;break;case"pointerover":case"pointerout":Ki.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yi.delete(i.pointerId)}}function Ji(o,i,a,f,h,v){return o===null||o.nativeEvent!==v?(o={blockedOn:i,domEventName:a,eventSystemFlags:f,nativeEvent:v,targetContainers:[h]},i!==null&&(i=ds(i),i!==null&&pc(i)),o):(o.eventSystemFlags|=f,i=o.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),o)}function vg(o,i,a,f,h){switch(i){case"focusin":return Cr=Ji(Cr,o,i,a,f,h),!0;case"dragenter":return kr=Ji(kr,o,i,a,f,h),!0;case"mouseover":return Sr=Ji(Sr,o,i,a,f,h),!0;case"pointerover":var v=h.pointerId;return Ki.set(v,Ji(Ki.get(v)||null,o,i,a,f,h)),!0;case"gotpointercapture":return v=h.pointerId,Yi.set(v,Ji(Yi.get(v)||null,o,i,a,f,h)),!0}return!1}function n3(o){var i=Qr(o.target);if(i!==null){var a=Xr(i);if(a!==null){if(i=a.tag,i===13){if(i=H2(a),i!==null){o.blockedOn=i,e3(o.priority,function(){X2(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 k1(o){if(o.blockedOn!==null)return!1;for(var i=o.targetContainers;0<i.length;){var a=vc(o.domEventName,o.eventSystemFlags,i[0],o.nativeEvent);if(a===null){a=o.nativeEvent;var f=new a.constructor(a.type,a);oc=f,a.target.dispatchEvent(f),oc=null}else return i=ds(a),i!==null&&pc(i),o.blockedOn=a,!1;i.shift()}return!0}function r3(o,i,a){k1(o)&&a.delete(i)}function wg(){mc=!1,Cr!==null&&k1(Cr)&&(Cr=null),kr!==null&&k1(kr)&&(kr=null),Sr!==null&&k1(Sr)&&(Sr=null),Ki.forEach(r3),Yi.forEach(r3)}function Xi(o,i){o.blockedOn===i&&(o.blockedOn=null,mc||(mc=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,wg)))}function Qi(o){function i(h){return Xi(h,o)}if(0<C1.length){Xi(C1[0],o);for(var a=1;a<C1.length;a++){var f=C1[a];f.blockedOn===o&&(f.blockedOn=null)}}for(Cr!==null&&Xi(Cr,o),kr!==null&&Xi(kr,o),Sr!==null&&Xi(Sr,o),Ki.forEach(i),Yi.forEach(i),a=0;a<Er.length;a++)f=Er[a],f.blockedOn===o&&(f.blockedOn=null);for(;0<Er.length&&(a=Er[0],a.blockedOn===null);)n3(a),a.blockedOn===null&&Er.shift()}var Do=z.ReactCurrentBatchConfig,S1=!0;function xg(o,i,a,f){var h=Qe,v=Do.transition;Do.transition=null;try{Qe=1,gc(o,i,a,f)}finally{Qe=h,Do.transition=v}}function yg(o,i,a,f){var h=Qe,v=Do.transition;Do.transition=null;try{Qe=4,gc(o,i,a,f)}finally{Qe=h,Do.transition=v}}function gc(o,i,a,f){if(S1){var h=vc(o,i,a,f);if(h===null)Pc(o,i,f,E1,a),t3(o,f);else if(vg(h,o,i,a,f))f.stopPropagation();else if(t3(o,f),i&4&&-1<gg.indexOf(o)){for(;h!==null;){var v=ds(h);if(v!==null&&J2(v),v=vc(o,i,a,f),v===null&&Pc(o,i,f,E1,a),v===h)break;h=v}h!==null&&f.stopPropagation()}else Pc(o,i,f,null,a)}}var E1=null;function vc(o,i,a,f){if(E1=null,o=ic(f),o=Qr(o),o!==null)if(i=Xr(o),i===null)o=null;else if(a=i.tag,a===13){if(o=H2(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 E1=o,null}function o3(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(ag()){case uc:return 1;case q2:return 4;case w1:case lg:return 16;case G2:return 536870912;default:return 16}default:return 16}}var jr=null,wc=null,j1=null;function i3(){if(j1)return j1;var o,i=wc,a=i.length,f,h="value"in jr?jr.value:jr.textContent,v=h.length;for(o=0;o<a&&i[o]===h[o];o++);var _=a-o;for(f=1;f<=_&&i[a-f]===h[v-f];f++);return j1=h.slice(o,1<f?1-f:void 0)}function I1(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 M1(){return!0}function s3(){return!1}function cn(o){function i(a,f,h,v,_){this._reactName=a,this._targetInst=h,this.type=f,this.nativeEvent=v,this.target=_,this.currentTarget=null;for(var E in o)o.hasOwnProperty(E)&&(a=o[E],this[E]=a?a(v):v[E]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?M1:s3,this.isPropagationStopped=s3,this}return te(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=M1)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=M1)},persist:function(){},isPersistent:M1}),i}var Fo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xc=cn(Fo),es=te({},Fo,{view:0,detail:0}),_g=cn(es),yc,_c,ts,O1=te({},es,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cc,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!==ts&&(ts&&o.type==="mousemove"?(yc=o.screenX-ts.screenX,_c=o.screenY-ts.screenY):_c=yc=0,ts=o),yc)},movementY:function(o){return"movementY"in o?o.movementY:_c}}),a3=cn(O1),bg=te({},O1,{dataTransfer:0}),Cg=cn(bg),kg=te({},es,{relatedTarget:0}),bc=cn(kg),Sg=te({},Fo,{animationName:0,elapsedTime:0,pseudoElement:0}),Eg=cn(Sg),jg=te({},Fo,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),Ig=cn(jg),Mg=te({},Fo,{data:0}),l3=cn(Mg),Og={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lg={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"},Tg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ng(o){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(o):(o=Tg[o])?!!i[o]:!1}function Cc(){return Ng}var Pg=te({},es,{key:function(o){if(o.key){var i=Og[o.key]||o.key;if(i!=="Unidentified")return i}return o.type==="keypress"?(o=I1(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?Lg[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cc,charCode:function(o){return o.type==="keypress"?I1(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?I1(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),zg=cn(Pg),Ag=te({},O1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),c3=cn(Ag),Rg=te({},es,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cc}),Dg=cn(Rg),Fg=te({},Fo,{propertyName:0,elapsedTime:0,pseudoElement:0}),$g=cn(Fg),Hg=te({},O1,{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}),Vg=cn(Hg),Bg=[9,13,27,32],kc=d&&"CompositionEvent"in window,ns=null;d&&"documentMode"in document&&(ns=document.documentMode);var Zg=d&&"TextEvent"in window&&!ns,u3=d&&(!kc||ns&&8<ns&&11>=ns),d3=" ",f3=!1;function h3(o,i){switch(o){case"keyup":return Bg.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function p3(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var $o=!1;function Wg(o,i){switch(o){case"compositionend":return p3(i);case"keypress":return i.which!==32?null:(f3=!0,d3);case"textInput":return o=i.data,o===d3&&f3?null:o;default:return null}}function Ug(o,i){if($o)return o==="compositionend"||!kc&&h3(o,i)?(o=i3(),j1=wc=jr=null,$o=!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 u3&&i.locale!=="ko"?null:i.data;default:return null}}var qg={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 m3(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i==="input"?!!qg[o.type]:i==="textarea"}function g3(o,i,a,f){A2(f),i=z1(i,"onChange"),0<i.length&&(a=new xc("onChange","change",null,a,f),o.push({event:a,listeners:i}))}var rs=null,os=null;function Gg(o){P3(o,0)}function L1(o){var i=Wo(o);if(ut(i))return o}function Kg(o,i){if(o==="change")return i}var v3=!1;if(d){var Sc;if(d){var Ec="oninput"in document;if(!Ec){var w3=document.createElement("div");w3.setAttribute("oninput","return;"),Ec=typeof w3.oninput=="function"}Sc=Ec}else Sc=!1;v3=Sc&&(!document.documentMode||9<document.documentMode)}function x3(){rs&&(rs.detachEvent("onpropertychange",y3),os=rs=null)}function y3(o){if(o.propertyName==="value"&&L1(os)){var i=[];g3(i,os,o,ic(o)),$2(Gg,i)}}function Yg(o,i,a){o==="focusin"?(x3(),rs=i,os=a,rs.attachEvent("onpropertychange",y3)):o==="focusout"&&x3()}function Jg(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return L1(os)}function Xg(o,i){if(o==="click")return L1(i)}function Qg(o,i){if(o==="input"||o==="change")return L1(i)}function ev(o,i){return o===i&&(o!==0||1/o===1/i)||o!==o&&i!==i}var On=typeof Object.is=="function"?Object.is:ev;function is(o,i){if(On(o,i))return!0;if(typeof o!="object"||o===null||typeof i!="object"||i===null)return!1;var a=Object.keys(o),f=Object.keys(i);if(a.length!==f.length)return!1;for(f=0;f<a.length;f++){var h=a[f];if(!p.call(i,h)||!On(o[h],i[h]))return!1}return!0}function _3(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function b3(o,i){var a=_3(o);o=0;for(var f;a;){if(a.nodeType===3){if(f=o+a.textContent.length,o<=i&&f>=i)return{node:a,offset:i-o};o=f}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=_3(a)}}function C3(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?C3(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function k3(){for(var o=window,i=Ye();i instanceof o.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)o=i.contentWindow;else break;i=Ye(o.document)}return i}function jc(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 tv(o){var i=k3(),a=o.focusedElem,f=o.selectionRange;if(i!==a&&a&&a.ownerDocument&&C3(a.ownerDocument.documentElement,a)){if(f!==null&&jc(a)){if(i=f.start,o=f.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,v=Math.min(f.start,h);f=f.end===void 0?v:Math.min(f.end,h),!o.extend&&v>f&&(h=f,f=v,v=h),h=b3(a,v);var _=b3(a,f);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(),v>f?(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 nv=d&&"documentMode"in document&&11>=document.documentMode,Ho=null,Ic=null,ss=null,Mc=!1;function S3(o,i,a){var f=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Mc||Ho==null||Ho!==Ye(f)||(f=Ho,"selectionStart"in f&&jc(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),ss&&is(ss,f)||(ss=f,f=z1(Ic,"onSelect"),0<f.length&&(i=new xc("onSelect","select",null,i,a),o.push({event:i,listeners:f}),i.target=Ho)))}function T1(o,i){var a={};return a[o.toLowerCase()]=i.toLowerCase(),a["Webkit"+o]="webkit"+i,a["Moz"+o]="moz"+i,a}var Vo={animationend:T1("Animation","AnimationEnd"),animationiteration:T1("Animation","AnimationIteration"),animationstart:T1("Animation","AnimationStart"),transitionend:T1("Transition","TransitionEnd")},Oc={},E3={};d&&(E3=document.createElement("div").style,"AnimationEvent"in window||(delete Vo.animationend.animation,delete Vo.animationiteration.animation,delete Vo.animationstart.animation),"TransitionEvent"in window||delete Vo.transitionend.transition);function N1(o){if(Oc[o])return Oc[o];if(!Vo[o])return o;var i=Vo[o],a;for(a in i)if(i.hasOwnProperty(a)&&a in E3)return Oc[o]=i[a];return o}var j3=N1("animationend"),I3=N1("animationiteration"),M3=N1("animationstart"),O3=N1("transitionend"),L3=new Map,T3="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 Ir(o,i){L3.set(o,i),l(i,[o])}for(var Lc=0;Lc<T3.length;Lc++){var Tc=T3[Lc],rv=Tc.toLowerCase(),ov=Tc[0].toUpperCase()+Tc.slice(1);Ir(rv,"on"+ov)}Ir(j3,"onAnimationEnd"),Ir(I3,"onAnimationIteration"),Ir(M3,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(O3,"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 as="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(" "),iv=new Set("cancel close invalid load scroll toggle".split(" ").concat(as));function N3(o,i,a){var f=o.type||"unknown-event";o.currentTarget=a,rg(f,i,void 0,o),o.currentTarget=null}function P3(o,i){i=(i&4)!==0;for(var a=0;a<o.length;a++){var f=o[a],h=f.event;f=f.listeners;e:{var v=void 0;if(i)for(var _=f.length-1;0<=_;_--){var E=f[_],L=E.instance,B=E.currentTarget;if(E=E.listener,L!==v&&h.isPropagationStopped())break e;N3(h,E,B),v=L}else for(_=0;_<f.length;_++){if(E=f[_],L=E.instance,B=E.currentTarget,E=E.listener,L!==v&&h.isPropagationStopped())break e;N3(h,E,B),v=L}}}if(v1)throw o=cc,v1=!1,cc=null,o}function it(o,i){var a=i[$c];a===void 0&&(a=i[$c]=new Set);var f=o+"__bubble";a.has(f)||(z3(i,o,2,!1),a.add(f))}function Nc(o,i,a){var f=0;i&&(f|=4),z3(a,o,f,i)}var P1="_reactListening"+Math.random().toString(36).slice(2);function ls(o){if(!o[P1]){o[P1]=!0,r.forEach(function(a){a!=="selectionchange"&&(iv.has(a)||Nc(a,!1,o),Nc(a,!0,o))});var i=o.nodeType===9?o:o.ownerDocument;i===null||i[P1]||(i[P1]=!0,Nc("selectionchange",!1,i))}}function z3(o,i,a,f){switch(o3(i)){case 1:var h=xg;break;case 4:h=yg;break;default:h=gc}a=h.bind(null,i,a,o),h=void 0,!lc||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),f?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 Pc(o,i,a,f,h){var v=f;if((i&1)===0&&(i&2)===0&&f!==null)e:for(;;){if(f===null)return;var _=f.tag;if(_===3||_===4){var E=f.stateNode.containerInfo;if(E===h||E.nodeType===8&&E.parentNode===h)break;if(_===4)for(_=f.return;_!==null;){var L=_.tag;if((L===3||L===4)&&(L=_.stateNode.containerInfo,L===h||L.nodeType===8&&L.parentNode===h))return;_=_.return}for(;E!==null;){if(_=Qr(E),_===null)return;if(L=_.tag,L===5||L===6){f=v=_;continue e}E=E.parentNode}}f=f.return}$2(function(){var B=v,ie=ic(a),le=[];e:{var re=L3.get(o);if(re!==void 0){var ge=xc,be=o;switch(o){case"keypress":if(I1(a)===0)break e;case"keydown":case"keyup":ge=zg;break;case"focusin":be="focus",ge=bc;break;case"focusout":be="blur",ge=bc;break;case"beforeblur":case"afterblur":ge=bc;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":ge=a3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ge=Cg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ge=Dg;break;case j3:case I3:case M3:ge=Eg;break;case O3:ge=$g;break;case"scroll":ge=_g;break;case"wheel":ge=Vg;break;case"copy":case"cut":case"paste":ge=Ig;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ge=c3}var Ce=(i&4)!==0,wt=!Ce&&o==="scroll",A=Ce?re!==null?re+"Capture":null:re;Ce=[];for(var N=B,F;N!==null;){F=N;var ue=F.stateNode;if(F.tag===5&&ue!==null&&(F=ue,A!==null&&(ue=Zi(N,A),ue!=null&&Ce.push(cs(N,ue,F)))),wt)break;N=N.return}0<Ce.length&&(re=new ge(re,be,null,a,ie),le.push({event:re,listeners:Ce}))}}if((i&7)===0){e:{if(re=o==="mouseover"||o==="pointerover",ge=o==="mouseout"||o==="pointerout",re&&a!==oc&&(be=a.relatedTarget||a.fromElement)&&(Qr(be)||be[nr]))break e;if((ge||re)&&(re=ie.window===ie?ie:(re=ie.ownerDocument)?re.defaultView||re.parentWindow:window,ge?(be=a.relatedTarget||a.toElement,ge=B,be=be?Qr(be):null,be!==null&&(wt=Xr(be),be!==wt||be.tag!==5&&be.tag!==6)&&(be=null)):(ge=null,be=B),ge!==be)){if(Ce=a3,ue="onMouseLeave",A="onMouseEnter",N="mouse",(o==="pointerout"||o==="pointerover")&&(Ce=c3,ue="onPointerLeave",A="onPointerEnter",N="pointer"),wt=ge==null?re:Wo(ge),F=be==null?re:Wo(be),re=new Ce(ue,N+"leave",ge,a,ie),re.target=wt,re.relatedTarget=F,ue=null,Qr(ie)===B&&(Ce=new Ce(A,N+"enter",be,a,ie),Ce.target=F,Ce.relatedTarget=wt,ue=Ce),wt=ue,ge&&be)t:{for(Ce=ge,A=be,N=0,F=Ce;F;F=Bo(F))N++;for(F=0,ue=A;ue;ue=Bo(ue))F++;for(;0<N-F;)Ce=Bo(Ce),N--;for(;0<F-N;)A=Bo(A),F--;for(;N--;){if(Ce===A||A!==null&&Ce===A.alternate)break t;Ce=Bo(Ce),A=Bo(A)}Ce=null}else Ce=null;ge!==null&&A3(le,re,ge,Ce,!1),be!==null&&wt!==null&&A3(le,wt,be,Ce,!0)}}e:{if(re=B?Wo(B):window,ge=re.nodeName&&re.nodeName.toLowerCase(),ge==="select"||ge==="input"&&re.type==="file")var Ee=Kg;else if(m3(re))if(v3)Ee=Qg;else{Ee=Jg;var Le=Yg}else(ge=re.nodeName)&&ge.toLowerCase()==="input"&&(re.type==="checkbox"||re.type==="radio")&&(Ee=Xg);if(Ee&&(Ee=Ee(o,B))){g3(le,Ee,a,ie);break e}Le&&Le(o,re,B),o==="focusout"&&(Le=re._wrapperState)&&Le.controlled&&re.type==="number"&&wn(re,"number",re.value)}switch(Le=B?Wo(B):window,o){case"focusin":(m3(Le)||Le.contentEditable==="true")&&(Ho=Le,Ic=B,ss=null);break;case"focusout":ss=Ic=Ho=null;break;case"mousedown":Mc=!0;break;case"contextmenu":case"mouseup":case"dragend":Mc=!1,S3(le,a,ie);break;case"selectionchange":if(nv)break;case"keydown":case"keyup":S3(le,a,ie)}var Te;if(kc)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 $o?h3(o,a)&&(Ae="onCompositionEnd"):o==="keydown"&&a.keyCode===229&&(Ae="onCompositionStart");Ae&&(u3&&a.locale!=="ko"&&($o||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&$o&&(Te=i3()):(jr=ie,wc="value"in jr?jr.value:jr.textContent,$o=!0)),Le=z1(B,Ae),0<Le.length&&(Ae=new l3(Ae,o,null,a,ie),le.push({event:Ae,listeners:Le}),Te?Ae.data=Te:(Te=p3(a),Te!==null&&(Ae.data=Te)))),(Te=Zg?Wg(o,a):Ug(o,a))&&(B=z1(B,"onBeforeInput"),0<B.length&&(ie=new l3("onBeforeInput","beforeinput",null,a,ie),le.push({event:ie,listeners:B}),ie.data=Te))}P3(le,i)})}function cs(o,i,a){return{instance:o,listener:i,currentTarget:a}}function z1(o,i){for(var a=i+"Capture",f=[];o!==null;){var h=o,v=h.stateNode;h.tag===5&&v!==null&&(h=v,v=Zi(o,a),v!=null&&f.unshift(cs(o,v,h)),v=Zi(o,i),v!=null&&f.push(cs(o,v,h))),o=o.return}return f}function Bo(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5);return o||null}function A3(o,i,a,f,h){for(var v=i._reactName,_=[];a!==null&&a!==f;){var E=a,L=E.alternate,B=E.stateNode;if(L!==null&&L===f)break;E.tag===5&&B!==null&&(E=B,h?(L=Zi(a,v),L!=null&&_.unshift(cs(a,L,E))):h||(L=Zi(a,v),L!=null&&_.push(cs(a,L,E)))),a=a.return}_.length!==0&&o.push({event:i,listeners:_})}var sv=/\r\n?/g,av=/\u0000|\uFFFD/g;function R3(o){return(typeof o=="string"?o:""+o).replace(sv,`
121
+ `).replace(av,"")}function A1(o,i,a){if(i=R3(i),R3(o)!==i&&a)throw Error(n(425))}function R1(){}var zc=null,Ac=null;function Rc(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 Dc=typeof setTimeout=="function"?setTimeout:void 0,lv=typeof clearTimeout=="function"?clearTimeout:void 0,D3=typeof Promise=="function"?Promise:void 0,cv=typeof queueMicrotask=="function"?queueMicrotask:typeof D3<"u"?function(o){return D3.resolve(null).then(o).catch(uv)}:Dc;function uv(o){setTimeout(function(){throw o})}function Fc(o,i){var a=i,f=0;do{var h=a.nextSibling;if(o.removeChild(a),h&&h.nodeType===8)if(a=h.data,a==="/$"){if(f===0){o.removeChild(h),Qi(i);return}f--}else a!=="$"&&a!=="$?"&&a!=="$!"||f++;a=h}while(a);Qi(i)}function Mr(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 F3(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 Zo=Math.random().toString(36).slice(2),Wn="__reactFiber$"+Zo,us="__reactProps$"+Zo,nr="__reactContainer$"+Zo,$c="__reactEvents$"+Zo,dv="__reactListeners$"+Zo,fv="__reactHandles$"+Zo;function Qr(o){var i=o[Wn];if(i)return i;for(var a=o.parentNode;a;){if(i=a[nr]||a[Wn]){if(a=i.alternate,i.child!==null||a!==null&&a.child!==null)for(o=F3(o);o!==null;){if(a=o[Wn])return a;o=F3(o)}return i}o=a,a=o.parentNode}return null}function ds(o){return o=o[Wn]||o[nr],!o||o.tag!==5&&o.tag!==6&&o.tag!==13&&o.tag!==3?null:o}function Wo(o){if(o.tag===5||o.tag===6)return o.stateNode;throw Error(n(33))}function D1(o){return o[us]||null}var Hc=[],Uo=-1;function Or(o){return{current:o}}function st(o){0>Uo||(o.current=Hc[Uo],Hc[Uo]=null,Uo--)}function nt(o,i){Uo++,Hc[Uo]=o.current,o.current=i}var Lr={},Dt=Or(Lr),Yt=Or(!1),eo=Lr;function qo(o,i){var a=o.type.contextTypes;if(!a)return Lr;var f=o.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===i)return f.__reactInternalMemoizedMaskedChildContext;var h={},v;for(v in a)h[v]=i[v];return f&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=h),h}function Jt(o){return o=o.childContextTypes,o!=null}function F1(){st(Yt),st(Dt)}function $3(o,i,a){if(Dt.current!==Lr)throw Error(n(168));nt(Dt,i),nt(Yt,a)}function H3(o,i,a){var f=o.stateNode;if(i=i.childContextTypes,typeof f.getChildContext!="function")return a;f=f.getChildContext();for(var h in f)if(!(h in i))throw Error(n(108,Be(o)||"Unknown",h));return te({},a,f)}function $1(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Lr,eo=Dt.current,nt(Dt,o),nt(Yt,Yt.current),!0}function V3(o,i,a){var f=o.stateNode;if(!f)throw Error(n(169));a?(o=H3(o,i,eo),f.__reactInternalMemoizedMergedChildContext=o,st(Yt),st(Dt),nt(Dt,o)):st(Yt),nt(Yt,a)}var rr=null,H1=!1,Vc=!1;function B3(o){rr===null?rr=[o]:rr.push(o)}function hv(o){H1=!0,B3(o)}function Tr(){if(!Vc&&rr!==null){Vc=!0;var o=0,i=Qe;try{var a=rr;for(Qe=1;o<a.length;o++){var f=a[o];do f=f(!0);while(f!==null)}rr=null,H1=!1}catch(h){throw rr!==null&&(rr=rr.slice(o+1)),W2(uc,Tr),h}finally{Qe=i,Vc=!1}}return null}var Go=[],Ko=0,V1=null,B1=0,xn=[],yn=0,to=null,or=1,ir="";function no(o,i){Go[Ko++]=B1,Go[Ko++]=V1,V1=o,B1=i}function Z3(o,i,a){xn[yn++]=or,xn[yn++]=ir,xn[yn++]=to,to=o;var f=or;o=ir;var h=32-Mn(f)-1;f&=~(1<<h),a+=1;var v=32-Mn(i)+h;if(30<v){var _=h-h%5;v=(f&(1<<_)-1).toString(32),f>>=_,h-=_,or=1<<32-Mn(i)+h|a<<h|f,ir=v+o}else or=1<<v|a<<h|f,ir=o}function Bc(o){o.return!==null&&(no(o,1),Z3(o,1,0))}function Zc(o){for(;o===V1;)V1=Go[--Ko],Go[Ko]=null,B1=Go[--Ko],Go[Ko]=null;for(;o===to;)to=xn[--yn],xn[yn]=null,ir=xn[--yn],xn[yn]=null,or=xn[--yn],xn[yn]=null}var un=null,dn=null,at=!1,Ln=null;function W3(o,i){var a=kn(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 U3(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,un=o,dn=Mr(i.firstChild),!0):!1;case 6:return i=o.pendingProps===""||i.nodeType!==3?null:i,i!==null?(o.stateNode=i,un=o,dn=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(a=to!==null?{id:or,overflow:ir}:null,o.memoizedState={dehydrated:i,treeContext:a,retryLane:1073741824},a=kn(18,null,null,0),a.stateNode=i,a.return=o,o.child=a,un=o,dn=null,!0):!1;default:return!1}}function Wc(o){return(o.mode&1)!==0&&(o.flags&128)===0}function Uc(o){if(at){var i=dn;if(i){var a=i;if(!U3(o,i)){if(Wc(o))throw Error(n(418));i=Mr(a.nextSibling);var f=un;i&&U3(o,i)?W3(f,a):(o.flags=o.flags&-4097|2,at=!1,un=o)}}else{if(Wc(o))throw Error(n(418));o.flags=o.flags&-4097|2,at=!1,un=o}}}function q3(o){for(o=o.return;o!==null&&o.tag!==5&&o.tag!==3&&o.tag!==13;)o=o.return;un=o}function Z1(o){if(o!==un)return!1;if(!at)return q3(o),at=!0,!1;var i;if((i=o.tag!==3)&&!(i=o.tag!==5)&&(i=o.type,i=i!=="head"&&i!=="body"&&!Rc(o.type,o.memoizedProps)),i&&(i=dn)){if(Wc(o))throw G3(),Error(n(418));for(;i;)W3(o,i),i=Mr(i.nextSibling)}if(q3(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){dn=Mr(o.nextSibling);break e}i--}else a!=="$"&&a!=="$!"&&a!=="$?"||i++}o=o.nextSibling}dn=null}}else dn=un?Mr(o.stateNode.nextSibling):null;return!0}function G3(){for(var o=dn;o;)o=Mr(o.nextSibling)}function Yo(){dn=un=null,at=!1}function qc(o){Ln===null?Ln=[o]:Ln.push(o)}var pv=z.ReactCurrentBatchConfig;function fs(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 f=a.stateNode}if(!f)throw Error(n(147,o));var h=f,v=""+o;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===v?i.ref:(i=function(_){var E=h.refs;_===null?delete E[v]:E[v]=_},i._stringRef=v,i)}if(typeof o!="string")throw Error(n(284));if(!a._owner)throw Error(n(290,o))}return o}function W1(o,i){throw o=Object.prototype.toString.call(i),Error(n(31,o==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":o))}function K3(o){var i=o._init;return i(o._payload)}function Y3(o){function i(A,N){if(o){var F=A.deletions;F===null?(A.deletions=[N],A.flags|=16):F.push(N)}}function a(A,N){if(!o)return null;for(;N!==null;)i(A,N),N=N.sibling;return null}function f(A,N){for(A=new Map;N!==null;)N.key!==null?A.set(N.key,N):A.set(N.index,N),N=N.sibling;return A}function h(A,N){return A=$r(A,N),A.index=0,A.sibling=null,A}function v(A,N,F){return A.index=F,o?(F=A.alternate,F!==null?(F=F.index,F<N?(A.flags|=2,N):F):(A.flags|=2,N)):(A.flags|=1048576,N)}function _(A){return o&&A.alternate===null&&(A.flags|=2),A}function E(A,N,F,ue){return N===null||N.tag!==6?(N=Du(F,A.mode,ue),N.return=A,N):(N=h(N,F),N.return=A,N)}function L(A,N,F,ue){var Ee=F.type;return Ee===ee?ie(A,N,F.props.children,ue,F.key):N!==null&&(N.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===fe&&K3(Ee)===N.type)?(ue=h(N,F.props),ue.ref=fs(A,N,F),ue.return=A,ue):(ue=ma(F.type,F.key,F.props,null,A.mode,ue),ue.ref=fs(A,N,F),ue.return=A,ue)}function B(A,N,F,ue){return N===null||N.tag!==4||N.stateNode.containerInfo!==F.containerInfo||N.stateNode.implementation!==F.implementation?(N=Fu(F,A.mode,ue),N.return=A,N):(N=h(N,F.children||[]),N.return=A,N)}function ie(A,N,F,ue,Ee){return N===null||N.tag!==7?(N=uo(F,A.mode,ue,Ee),N.return=A,N):(N=h(N,F),N.return=A,N)}function le(A,N,F){if(typeof N=="string"&&N!==""||typeof N=="number")return N=Du(""+N,A.mode,F),N.return=A,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case W:return F=ma(N.type,N.key,N.props,null,A.mode,F),F.ref=fs(A,null,N),F.return=A,F;case V:return N=Fu(N,A.mode,F),N.return=A,N;case fe:var ue=N._init;return le(A,ue(N._payload),F)}if(Rt(N)||Q(N))return N=uo(N,A.mode,F,null),N.return=A,N;W1(A,N)}return null}function re(A,N,F,ue){var Ee=N!==null?N.key:null;if(typeof F=="string"&&F!==""||typeof F=="number")return Ee!==null?null:E(A,N,""+F,ue);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case W:return F.key===Ee?L(A,N,F,ue):null;case V:return F.key===Ee?B(A,N,F,ue):null;case fe:return Ee=F._init,re(A,N,Ee(F._payload),ue)}if(Rt(F)||Q(F))return Ee!==null?null:ie(A,N,F,ue,null);W1(A,F)}return null}function ge(A,N,F,ue,Ee){if(typeof ue=="string"&&ue!==""||typeof ue=="number")return A=A.get(F)||null,E(N,A,""+ue,Ee);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case W:return A=A.get(ue.key===null?F:ue.key)||null,L(N,A,ue,Ee);case V:return A=A.get(ue.key===null?F:ue.key)||null,B(N,A,ue,Ee);case fe:var Le=ue._init;return ge(A,N,F,Le(ue._payload),Ee)}if(Rt(ue)||Q(ue))return A=A.get(F)||null,ie(N,A,ue,Ee,null);W1(N,ue)}return null}function be(A,N,F,ue){for(var Ee=null,Le=null,Te=N,Ae=N=0,It=null;Te!==null&&Ae<F.length;Ae++){Te.index>Ae?(It=Te,Te=null):It=Te.sibling;var Je=re(A,Te,F[Ae],ue);if(Je===null){Te===null&&(Te=It);break}o&&Te&&Je.alternate===null&&i(A,Te),N=v(Je,N,Ae),Le===null?Ee=Je:Le.sibling=Je,Le=Je,Te=It}if(Ae===F.length)return a(A,Te),at&&no(A,Ae),Ee;if(Te===null){for(;Ae<F.length;Ae++)Te=le(A,F[Ae],ue),Te!==null&&(N=v(Te,N,Ae),Le===null?Ee=Te:Le.sibling=Te,Le=Te);return at&&no(A,Ae),Ee}for(Te=f(A,Te);Ae<F.length;Ae++)It=ge(Te,A,Ae,F[Ae],ue),It!==null&&(o&&It.alternate!==null&&Te.delete(It.key===null?Ae:It.key),N=v(It,N,Ae),Le===null?Ee=It:Le.sibling=It,Le=It);return o&&Te.forEach(function(Hr){return i(A,Hr)}),at&&no(A,Ae),Ee}function Ce(A,N,F,ue){var Ee=Q(F);if(typeof Ee!="function")throw Error(n(150));if(F=Ee.call(F),F==null)throw Error(n(151));for(var Le=Ee=null,Te=N,Ae=N=0,It=null,Je=F.next();Te!==null&&!Je.done;Ae++,Je=F.next()){Te.index>Ae?(It=Te,Te=null):It=Te.sibling;var Hr=re(A,Te,Je.value,ue);if(Hr===null){Te===null&&(Te=It);break}o&&Te&&Hr.alternate===null&&i(A,Te),N=v(Hr,N,Ae),Le===null?Ee=Hr:Le.sibling=Hr,Le=Hr,Te=It}if(Je.done)return a(A,Te),at&&no(A,Ae),Ee;if(Te===null){for(;!Je.done;Ae++,Je=F.next())Je=le(A,Je.value,ue),Je!==null&&(N=v(Je,N,Ae),Le===null?Ee=Je:Le.sibling=Je,Le=Je);return at&&no(A,Ae),Ee}for(Te=f(A,Te);!Je.done;Ae++,Je=F.next())Je=ge(Te,A,Ae,Je.value,ue),Je!==null&&(o&&Je.alternate!==null&&Te.delete(Je.key===null?Ae:Je.key),N=v(Je,N,Ae),Le===null?Ee=Je:Le.sibling=Je,Le=Je);return o&&Te.forEach(function(qv){return i(A,qv)}),at&&no(A,Ae),Ee}function wt(A,N,F,ue){if(typeof F=="object"&&F!==null&&F.type===ee&&F.key===null&&(F=F.props.children),typeof F=="object"&&F!==null){switch(F.$$typeof){case W:e:{for(var Ee=F.key,Le=N;Le!==null;){if(Le.key===Ee){if(Ee=F.type,Ee===ee){if(Le.tag===7){a(A,Le.sibling),N=h(Le,F.props.children),N.return=A,A=N;break e}}else if(Le.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===fe&&K3(Ee)===Le.type){a(A,Le.sibling),N=h(Le,F.props),N.ref=fs(A,Le,F),N.return=A,A=N;break e}a(A,Le);break}else i(A,Le);Le=Le.sibling}F.type===ee?(N=uo(F.props.children,A.mode,ue,F.key),N.return=A,A=N):(ue=ma(F.type,F.key,F.props,null,A.mode,ue),ue.ref=fs(A,N,F),ue.return=A,A=ue)}return _(A);case V:e:{for(Le=F.key;N!==null;){if(N.key===Le)if(N.tag===4&&N.stateNode.containerInfo===F.containerInfo&&N.stateNode.implementation===F.implementation){a(A,N.sibling),N=h(N,F.children||[]),N.return=A,A=N;break e}else{a(A,N);break}else i(A,N);N=N.sibling}N=Fu(F,A.mode,ue),N.return=A,A=N}return _(A);case fe:return Le=F._init,wt(A,N,Le(F._payload),ue)}if(Rt(F))return be(A,N,F,ue);if(Q(F))return Ce(A,N,F,ue);W1(A,F)}return typeof F=="string"&&F!==""||typeof F=="number"?(F=""+F,N!==null&&N.tag===6?(a(A,N.sibling),N=h(N,F),N.return=A,A=N):(a(A,N),N=Du(F,A.mode,ue),N.return=A,A=N),_(A)):a(A,N)}return wt}var Jo=Y3(!0),J3=Y3(!1),U1=Or(null),q1=null,Xo=null,Gc=null;function Kc(){Gc=Xo=q1=null}function Yc(o){var i=U1.current;st(U1),o._currentValue=i}function Jc(o,i,a){for(;o!==null;){var f=o.alternate;if((o.childLanes&i)!==i?(o.childLanes|=i,f!==null&&(f.childLanes|=i)):f!==null&&(f.childLanes&i)!==i&&(f.childLanes|=i),o===a)break;o=o.return}}function Qo(o,i){q1=o,Gc=Xo=null,o=o.dependencies,o!==null&&o.firstContext!==null&&((o.lanes&i)!==0&&(Xt=!0),o.firstContext=null)}function _n(o){var i=o._currentValue;if(Gc!==o)if(o={context:o,memoizedValue:i,next:null},Xo===null){if(q1===null)throw Error(n(308));Xo=o,q1.dependencies={lanes:0,firstContext:o}}else Xo=Xo.next=o;return i}var ro=null;function Xc(o){ro===null?ro=[o]:ro.push(o)}function X3(o,i,a,f){var h=i.interleaved;return h===null?(a.next=a,Xc(i)):(a.next=h.next,h.next=a),i.interleaved=a,sr(o,f)}function sr(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 Nr=!1;function Qc(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Q3(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 ar(o,i){return{eventTime:o,lane:i,tag:0,payload:null,callback:null,next:null}}function Pr(o,i,a){var f=o.updateQueue;if(f===null)return null;if(f=f.shared,(Ke&2)!==0){var h=f.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),f.pending=i,sr(o,a)}return h=f.interleaved,h===null?(i.next=i,Xc(f)):(i.next=h.next,h.next=i),f.interleaved=i,sr(o,a)}function G1(o,i,a){if(i=i.updateQueue,i!==null&&(i=i.shared,(a&4194240)!==0)){var f=i.lanes;f&=o.pendingLanes,a|=f,i.lanes=a,hc(o,a)}}function e4(o,i){var a=o.updateQueue,f=o.alternate;if(f!==null&&(f=f.updateQueue,a===f)){var h=null,v=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};v===null?h=v=_:v=v.next=_,a=a.next}while(a!==null);v===null?h=v=i:v=v.next=i}else h=v=i;a={baseState:f.baseState,firstBaseUpdate:h,lastBaseUpdate:v,shared:f.shared,effects:f.effects},o.updateQueue=a;return}o=a.lastBaseUpdate,o===null?a.firstBaseUpdate=i:o.next=i,a.lastBaseUpdate=i}function K1(o,i,a,f){var h=o.updateQueue;Nr=!1;var v=h.firstBaseUpdate,_=h.lastBaseUpdate,E=h.shared.pending;if(E!==null){h.shared.pending=null;var L=E,B=L.next;L.next=null,_===null?v=B:_.next=B,_=L;var ie=o.alternate;ie!==null&&(ie=ie.updateQueue,E=ie.lastBaseUpdate,E!==_&&(E===null?ie.firstBaseUpdate=B:E.next=B,ie.lastBaseUpdate=L))}if(v!==null){var le=h.baseState;_=0,ie=B=L=null,E=v;do{var re=E.lane,ge=E.eventTime;if((f&re)===re){ie!==null&&(ie=ie.next={eventTime:ge,lane:0,tag:E.tag,payload:E.payload,callback:E.callback,next:null});e:{var be=o,Ce=E;switch(re=i,ge=a,Ce.tag){case 1:if(be=Ce.payload,typeof be=="function"){le=be.call(ge,le,re);break e}le=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=Ce.payload,re=typeof be=="function"?be.call(ge,le,re):be,re==null)break e;le=te({},le,re);break e;case 2:Nr=!0}}E.callback!==null&&E.lane!==0&&(o.flags|=64,re=h.effects,re===null?h.effects=[E]:re.push(E))}else ge={eventTime:ge,lane:re,tag:E.tag,payload:E.payload,callback:E.callback,next:null},ie===null?(B=ie=ge,L=le):ie=ie.next=ge,_|=re;if(E=E.next,E===null){if(E=h.shared.pending,E===null)break;re=E,E=re.next,re.next=null,h.lastBaseUpdate=re,h.shared.pending=null}}while(!0);if(ie===null&&(L=le),h.baseState=L,h.firstBaseUpdate=B,h.lastBaseUpdate=ie,i=h.shared.interleaved,i!==null){h=i;do _|=h.lane,h=h.next;while(h!==i)}else v===null&&(h.shared.lanes=0);so|=_,o.lanes=_,o.memoizedState=le}}function t4(o,i,a){if(o=i.effects,i.effects=null,o!==null)for(i=0;i<o.length;i++){var f=o[i],h=f.callback;if(h!==null){if(f.callback=null,f=a,typeof h!="function")throw Error(n(191,h));h.call(f)}}}var hs={},Un=Or(hs),ps=Or(hs),ms=Or(hs);function oo(o){if(o===hs)throw Error(n(174));return o}function eu(o,i){switch(nt(ms,i),nt(ps,o),nt(Un,hs),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:tc(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=tc(i,o)}st(Un),nt(Un,i)}function ei(){st(Un),st(ps),st(ms)}function n4(o){oo(ms.current);var i=oo(Un.current),a=tc(i,o.type);i!==a&&(nt(ps,o),nt(Un,a))}function tu(o){ps.current===o&&(st(Un),st(ps))}var dt=Or(0);function Y1(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 nu=[];function ru(){for(var o=0;o<nu.length;o++)nu[o]._workInProgressVersionPrimary=null;nu.length=0}var J1=z.ReactCurrentDispatcher,ou=z.ReactCurrentBatchConfig,io=0,ft=null,_t=null,Et=null,X1=!1,gs=!1,vs=0,mv=0;function Ft(){throw Error(n(321))}function iu(o,i){if(i===null)return!1;for(var a=0;a<i.length&&a<o.length;a++)if(!On(o[a],i[a]))return!1;return!0}function su(o,i,a,f,h,v){if(io=v,ft=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,J1.current=o===null||o.memoizedState===null?xv:yv,o=a(f,h),gs){v=0;do{if(gs=!1,vs=0,25<=v)throw Error(n(301));v+=1,Et=_t=null,i.updateQueue=null,J1.current=_v,o=a(f,h)}while(gs)}if(J1.current=ta,i=_t!==null&&_t.next!==null,io=0,Et=_t=ft=null,X1=!1,i)throw Error(n(300));return o}function au(){var o=vs!==0;return vs=0,o}function qn(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Et===null?ft.memoizedState=Et=o:Et=Et.next=o,Et}function bn(){if(_t===null){var o=ft.alternate;o=o!==null?o.memoizedState:null}else o=_t.next;var i=Et===null?ft.memoizedState:Et.next;if(i!==null)Et=i,_t=o;else{if(o===null)throw Error(n(310));_t=o,o={memoizedState:_t.memoizedState,baseState:_t.baseState,baseQueue:_t.baseQueue,queue:_t.queue,next:null},Et===null?ft.memoizedState=Et=o:Et=Et.next=o}return Et}function ws(o,i){return typeof i=="function"?i(o):i}function lu(o){var i=bn(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=o;var f=_t,h=f.baseQueue,v=a.pending;if(v!==null){if(h!==null){var _=h.next;h.next=v.next,v.next=_}f.baseQueue=h=v,a.pending=null}if(h!==null){v=h.next,f=f.baseState;var E=_=null,L=null,B=v;do{var ie=B.lane;if((io&ie)===ie)L!==null&&(L=L.next={lane:0,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),f=B.hasEagerState?B.eagerState:o(f,B.action);else{var le={lane:ie,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};L===null?(E=L=le,_=f):L=L.next=le,ft.lanes|=ie,so|=ie}B=B.next}while(B!==null&&B!==v);L===null?_=f:L.next=E,On(f,i.memoizedState)||(Xt=!0),i.memoizedState=f,i.baseState=_,i.baseQueue=L,a.lastRenderedState=f}if(o=a.interleaved,o!==null){h=o;do v=h.lane,ft.lanes|=v,so|=v,h=h.next;while(h!==o)}else h===null&&(a.lanes=0);return[i.memoizedState,a.dispatch]}function cu(o){var i=bn(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=o;var f=a.dispatch,h=a.pending,v=i.memoizedState;if(h!==null){a.pending=null;var _=h=h.next;do v=o(v,_.action),_=_.next;while(_!==h);On(v,i.memoizedState)||(Xt=!0),i.memoizedState=v,i.baseQueue===null&&(i.baseState=v),a.lastRenderedState=v}return[v,f]}function r4(){}function o4(o,i){var a=ft,f=bn(),h=i(),v=!On(f.memoizedState,h);if(v&&(f.memoizedState=h,Xt=!0),f=f.queue,uu(a4.bind(null,a,f,o),[o]),f.getSnapshot!==i||v||Et!==null&&Et.memoizedState.tag&1){if(a.flags|=2048,xs(9,s4.bind(null,a,f,h,i),void 0,null),jt===null)throw Error(n(349));(io&30)!==0||i4(a,i,h)}return h}function i4(o,i,a){o.flags|=16384,o={getSnapshot:i,value:a},i=ft.updateQueue,i===null?(i={lastEffect:null,stores:null},ft.updateQueue=i,i.stores=[o]):(a=i.stores,a===null?i.stores=[o]:a.push(o))}function s4(o,i,a,f){i.value=a,i.getSnapshot=f,l4(i)&&c4(o)}function a4(o,i,a){return a(function(){l4(i)&&c4(o)})}function l4(o){var i=o.getSnapshot;o=o.value;try{var a=i();return!On(o,a)}catch{return!0}}function c4(o){var i=sr(o,1);i!==null&&zn(i,o,1,-1)}function u4(o){var i=qn();return typeof o=="function"&&(o=o()),i.memoizedState=i.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ws,lastRenderedState:o},i.queue=o,o=o.dispatch=wv.bind(null,ft,o),[i.memoizedState,o]}function xs(o,i,a,f){return o={tag:o,create:i,destroy:a,deps:f,next:null},i=ft.updateQueue,i===null?(i={lastEffect:null,stores:null},ft.updateQueue=i,i.lastEffect=o.next=o):(a=i.lastEffect,a===null?i.lastEffect=o.next=o:(f=a.next,a.next=o,o.next=f,i.lastEffect=o)),o}function d4(){return bn().memoizedState}function Q1(o,i,a,f){var h=qn();ft.flags|=o,h.memoizedState=xs(1|i,a,void 0,f===void 0?null:f)}function ea(o,i,a,f){var h=bn();f=f===void 0?null:f;var v=void 0;if(_t!==null){var _=_t.memoizedState;if(v=_.destroy,f!==null&&iu(f,_.deps)){h.memoizedState=xs(i,a,v,f);return}}ft.flags|=o,h.memoizedState=xs(1|i,a,v,f)}function f4(o,i){return Q1(8390656,8,o,i)}function uu(o,i){return ea(2048,8,o,i)}function h4(o,i){return ea(4,2,o,i)}function p4(o,i){return ea(4,4,o,i)}function m4(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 g4(o,i,a){return a=a!=null?a.concat([o]):null,ea(4,4,m4.bind(null,i,o),a)}function du(){}function v4(o,i){var a=bn();i=i===void 0?null:i;var f=a.memoizedState;return f!==null&&i!==null&&iu(i,f[1])?f[0]:(a.memoizedState=[o,i],o)}function w4(o,i){var a=bn();i=i===void 0?null:i;var f=a.memoizedState;return f!==null&&i!==null&&iu(i,f[1])?f[0]:(o=o(),a.memoizedState=[o,i],o)}function x4(o,i,a){return(io&21)===0?(o.baseState&&(o.baseState=!1,Xt=!0),o.memoizedState=a):(On(a,i)||(a=K2(),ft.lanes|=a,so|=a,o.baseState=!0),i)}function gv(o,i){var a=Qe;Qe=a!==0&&4>a?a:4,o(!0);var f=ou.transition;ou.transition={};try{o(!1),i()}finally{Qe=a,ou.transition=f}}function y4(){return bn().memoizedState}function vv(o,i,a){var f=Dr(o);if(a={lane:f,action:a,hasEagerState:!1,eagerState:null,next:null},_4(o))b4(i,a);else if(a=X3(o,i,a,f),a!==null){var h=qt();zn(a,o,f,h),C4(a,i,f)}}function wv(o,i,a){var f=Dr(o),h={lane:f,action:a,hasEagerState:!1,eagerState:null,next:null};if(_4(o))b4(i,h);else{var v=o.alternate;if(o.lanes===0&&(v===null||v.lanes===0)&&(v=i.lastRenderedReducer,v!==null))try{var _=i.lastRenderedState,E=v(_,a);if(h.hasEagerState=!0,h.eagerState=E,On(E,_)){var L=i.interleaved;L===null?(h.next=h,Xc(i)):(h.next=L.next,L.next=h),i.interleaved=h;return}}catch{}finally{}a=X3(o,i,h,f),a!==null&&(h=qt(),zn(a,o,f,h),C4(a,i,f))}}function _4(o){var i=o.alternate;return o===ft||i!==null&&i===ft}function b4(o,i){gs=X1=!0;var a=o.pending;a===null?i.next=i:(i.next=a.next,a.next=i),o.pending=i}function C4(o,i,a){if((a&4194240)!==0){var f=i.lanes;f&=o.pendingLanes,a|=f,i.lanes=a,hc(o,a)}}var ta={readContext:_n,useCallback:Ft,useContext:Ft,useEffect:Ft,useImperativeHandle:Ft,useInsertionEffect:Ft,useLayoutEffect:Ft,useMemo:Ft,useReducer:Ft,useRef:Ft,useState:Ft,useDebugValue:Ft,useDeferredValue:Ft,useTransition:Ft,useMutableSource:Ft,useSyncExternalStore:Ft,useId:Ft,unstable_isNewReconciler:!1},xv={readContext:_n,useCallback:function(o,i){return qn().memoizedState=[o,i===void 0?null:i],o},useContext:_n,useEffect:f4,useImperativeHandle:function(o,i,a){return a=a!=null?a.concat([o]):null,Q1(4194308,4,m4.bind(null,i,o),a)},useLayoutEffect:function(o,i){return Q1(4194308,4,o,i)},useInsertionEffect:function(o,i){return Q1(4,2,o,i)},useMemo:function(o,i){var a=qn();return i=i===void 0?null:i,o=o(),a.memoizedState=[o,i],o},useReducer:function(o,i,a){var f=qn();return i=a!==void 0?a(i):i,f.memoizedState=f.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},f.queue=o,o=o.dispatch=vv.bind(null,ft,o),[f.memoizedState,o]},useRef:function(o){var i=qn();return o={current:o},i.memoizedState=o},useState:u4,useDebugValue:du,useDeferredValue:function(o){return qn().memoizedState=o},useTransition:function(){var o=u4(!1),i=o[0];return o=gv.bind(null,o[1]),qn().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,a){var f=ft,h=qn();if(at){if(a===void 0)throw Error(n(407));a=a()}else{if(a=i(),jt===null)throw Error(n(349));(io&30)!==0||i4(f,i,a)}h.memoizedState=a;var v={value:a,getSnapshot:i};return h.queue=v,f4(a4.bind(null,f,v,o),[o]),f.flags|=2048,xs(9,s4.bind(null,f,v,a,i),void 0,null),a},useId:function(){var o=qn(),i=jt.identifierPrefix;if(at){var a=ir,f=or;a=(f&~(1<<32-Mn(f)-1)).toString(32)+a,i=":"+i+"R"+a,a=vs++,0<a&&(i+="H"+a.toString(32)),i+=":"}else a=mv++,i=":"+i+"r"+a.toString(32)+":";return o.memoizedState=i},unstable_isNewReconciler:!1},yv={readContext:_n,useCallback:v4,useContext:_n,useEffect:uu,useImperativeHandle:g4,useInsertionEffect:h4,useLayoutEffect:p4,useMemo:w4,useReducer:lu,useRef:d4,useState:function(){return lu(ws)},useDebugValue:du,useDeferredValue:function(o){var i=bn();return x4(i,_t.memoizedState,o)},useTransition:function(){var o=lu(ws)[0],i=bn().memoizedState;return[o,i]},useMutableSource:r4,useSyncExternalStore:o4,useId:y4,unstable_isNewReconciler:!1},_v={readContext:_n,useCallback:v4,useContext:_n,useEffect:uu,useImperativeHandle:g4,useInsertionEffect:h4,useLayoutEffect:p4,useMemo:w4,useReducer:cu,useRef:d4,useState:function(){return cu(ws)},useDebugValue:du,useDeferredValue:function(o){var i=bn();return _t===null?i.memoizedState=o:x4(i,_t.memoizedState,o)},useTransition:function(){var o=cu(ws)[0],i=bn().memoizedState;return[o,i]},useMutableSource:r4,useSyncExternalStore:o4,useId:y4,unstable_isNewReconciler:!1};function Tn(o,i){if(o&&o.defaultProps){i=te({},i),o=o.defaultProps;for(var a in o)i[a]===void 0&&(i[a]=o[a]);return i}return i}function fu(o,i,a,f){i=o.memoizedState,a=a(f,i),a=a==null?i:te({},i,a),o.memoizedState=a,o.lanes===0&&(o.updateQueue.baseState=a)}var na={isMounted:function(o){return(o=o._reactInternals)?Xr(o)===o:!1},enqueueSetState:function(o,i,a){o=o._reactInternals;var f=qt(),h=Dr(o),v=ar(f,h);v.payload=i,a!=null&&(v.callback=a),i=Pr(o,v,h),i!==null&&(zn(i,o,h,f),G1(i,o,h))},enqueueReplaceState:function(o,i,a){o=o._reactInternals;var f=qt(),h=Dr(o),v=ar(f,h);v.tag=1,v.payload=i,a!=null&&(v.callback=a),i=Pr(o,v,h),i!==null&&(zn(i,o,h,f),G1(i,o,h))},enqueueForceUpdate:function(o,i){o=o._reactInternals;var a=qt(),f=Dr(o),h=ar(a,f);h.tag=2,i!=null&&(h.callback=i),i=Pr(o,h,f),i!==null&&(zn(i,o,f,a),G1(i,o,f))}};function k4(o,i,a,f,h,v,_){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(f,v,_):i.prototype&&i.prototype.isPureReactComponent?!is(a,f)||!is(h,v):!0}function S4(o,i,a){var f=!1,h=Lr,v=i.contextType;return typeof v=="object"&&v!==null?v=_n(v):(h=Jt(i)?eo:Dt.current,f=i.contextTypes,v=(f=f!=null)?qo(o,h):Lr),i=new i(a,v),o.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=na,o.stateNode=i,i._reactInternals=o,f&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=h,o.__reactInternalMemoizedMaskedChildContext=v),i}function E4(o,i,a,f){o=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(a,f),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(a,f),i.state!==o&&na.enqueueReplaceState(i,i.state,null)}function hu(o,i,a,f){var h=o.stateNode;h.props=a,h.state=o.memoizedState,h.refs={},Qc(o);var v=i.contextType;typeof v=="object"&&v!==null?h.context=_n(v):(v=Jt(i)?eo:Dt.current,h.context=qo(o,v)),h.state=o.memoizedState,v=i.getDerivedStateFromProps,typeof v=="function"&&(fu(o,i,v,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&&na.enqueueReplaceState(h,h.state,null),K1(o,a,h,f),h.state=o.memoizedState),typeof h.componentDidMount=="function"&&(o.flags|=4194308)}function ti(o,i){try{var a="",f=i;do a+=Oe(f),f=f.return;while(f);var h=a}catch(v){h=`
122
+ Error generating stack: `+v.message+`
123
+ `+v.stack}return{value:o,source:i,stack:h,digest:null}}function pu(o,i,a){return{value:o,source:null,stack:a??null,digest:i??null}}function mu(o,i){try{console.error(i.value)}catch(a){setTimeout(function(){throw a})}}var bv=typeof WeakMap=="function"?WeakMap:Map;function j4(o,i,a){a=ar(-1,a),a.tag=3,a.payload={element:null};var f=i.value;return a.callback=function(){ca||(ca=!0,Ou=f),mu(o,i)},a}function I4(o,i,a){a=ar(-1,a),a.tag=3;var f=o.type.getDerivedStateFromError;if(typeof f=="function"){var h=i.value;a.payload=function(){return f(h)},a.callback=function(){mu(o,i)}}var v=o.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(a.callback=function(){mu(o,i),typeof f!="function"&&(Ar===null?Ar=new Set([this]):Ar.add(this));var _=i.stack;this.componentDidCatch(i.value,{componentStack:_!==null?_:""})}),a}function M4(o,i,a){var f=o.pingCache;if(f===null){f=o.pingCache=new bv;var h=new Set;f.set(i,h)}else h=f.get(i),h===void 0&&(h=new Set,f.set(i,h));h.has(a)||(h.add(a),o=Av.bind(null,o,i,a),i.then(o,o))}function O4(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 L4(o,i,a,f,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=ar(-1,1),i.tag=2,Pr(a,i,1))),a.lanes|=1),o):(o.flags|=65536,o.lanes=h,o)}var Cv=z.ReactCurrentOwner,Xt=!1;function Ut(o,i,a,f){i.child=o===null?J3(i,null,a,f):Jo(i,o.child,a,f)}function T4(o,i,a,f,h){a=a.render;var v=i.ref;return Qo(i,h),f=su(o,i,a,f,v,h),a=au(),o!==null&&!Xt?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~h,lr(o,i,h)):(at&&a&&Bc(i),i.flags|=1,Ut(o,i,f,h),i.child)}function N4(o,i,a,f,h){if(o===null){var v=a.type;return typeof v=="function"&&!Ru(v)&&v.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(i.tag=15,i.type=v,P4(o,i,v,f,h)):(o=ma(a.type,null,f,i,i.mode,h),o.ref=i.ref,o.return=i,i.child=o)}if(v=o.child,(o.lanes&h)===0){var _=v.memoizedProps;if(a=a.compare,a=a!==null?a:is,a(_,f)&&o.ref===i.ref)return lr(o,i,h)}return i.flags|=1,o=$r(v,f),o.ref=i.ref,o.return=i,i.child=o}function P4(o,i,a,f,h){if(o!==null){var v=o.memoizedProps;if(is(v,f)&&o.ref===i.ref)if(Xt=!1,i.pendingProps=f=v,(o.lanes&h)!==0)(o.flags&131072)!==0&&(Xt=!0);else return i.lanes=o.lanes,lr(o,i,h)}return gu(o,i,a,f,h)}function z4(o,i,a){var f=i.pendingProps,h=f.children,v=o!==null?o.memoizedState:null;if(f.mode==="hidden")if((i.mode&1)===0)i.memoizedState={baseLanes:0,cachePool:null,transitions:null},nt(ri,fn),fn|=a;else{if((a&1073741824)===0)return o=v!==null?v.baseLanes|a:a,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:o,cachePool:null,transitions:null},i.updateQueue=null,nt(ri,fn),fn|=o,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},f=v!==null?v.baseLanes:a,nt(ri,fn),fn|=f}else v!==null?(f=v.baseLanes|a,i.memoizedState=null):f=a,nt(ri,fn),fn|=f;return Ut(o,i,h,a),i.child}function A4(o,i){var a=i.ref;(o===null&&a!==null||o!==null&&o.ref!==a)&&(i.flags|=512,i.flags|=2097152)}function gu(o,i,a,f,h){var v=Jt(a)?eo:Dt.current;return v=qo(i,v),Qo(i,h),a=su(o,i,a,f,v,h),f=au(),o!==null&&!Xt?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~h,lr(o,i,h)):(at&&f&&Bc(i),i.flags|=1,Ut(o,i,a,h),i.child)}function R4(o,i,a,f,h){if(Jt(a)){var v=!0;$1(i)}else v=!1;if(Qo(i,h),i.stateNode===null)oa(o,i),S4(i,a,f),hu(i,a,f,h),f=!0;else if(o===null){var _=i.stateNode,E=i.memoizedProps;_.props=E;var L=_.context,B=a.contextType;typeof B=="object"&&B!==null?B=_n(B):(B=Jt(a)?eo:Dt.current,B=qo(i,B));var ie=a.getDerivedStateFromProps,le=typeof ie=="function"||typeof _.getSnapshotBeforeUpdate=="function";le||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(E!==f||L!==B)&&E4(i,_,f,B),Nr=!1;var re=i.memoizedState;_.state=re,K1(i,f,_,h),L=i.memoizedState,E!==f||re!==L||Yt.current||Nr?(typeof ie=="function"&&(fu(i,a,ie,f),L=i.memoizedState),(E=Nr||k4(i,a,E,f,re,L,B))?(le||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=f,i.memoizedState=L),_.props=f,_.state=L,_.context=B,f=E):(typeof _.componentDidMount=="function"&&(i.flags|=4194308),f=!1)}else{_=i.stateNode,Q3(o,i),E=i.memoizedProps,B=i.type===i.elementType?E:Tn(i.type,E),_.props=B,le=i.pendingProps,re=_.context,L=a.contextType,typeof L=="object"&&L!==null?L=_n(L):(L=Jt(a)?eo:Dt.current,L=qo(i,L));var ge=a.getDerivedStateFromProps;(ie=typeof ge=="function"||typeof _.getSnapshotBeforeUpdate=="function")||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(E!==le||re!==L)&&E4(i,_,f,L),Nr=!1,re=i.memoizedState,_.state=re,K1(i,f,_,h);var be=i.memoizedState;E!==le||re!==be||Yt.current||Nr?(typeof ge=="function"&&(fu(i,a,ge,f),be=i.memoizedState),(B=Nr||k4(i,a,B,f,re,be,L)||!1)?(ie||typeof _.UNSAFE_componentWillUpdate!="function"&&typeof _.componentWillUpdate!="function"||(typeof _.componentWillUpdate=="function"&&_.componentWillUpdate(f,be,L),typeof _.UNSAFE_componentWillUpdate=="function"&&_.UNSAFE_componentWillUpdate(f,be,L)),typeof _.componentDidUpdate=="function"&&(i.flags|=4),typeof _.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof _.componentDidUpdate!="function"||E===o.memoizedProps&&re===o.memoizedState||(i.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||E===o.memoizedProps&&re===o.memoizedState||(i.flags|=1024),i.memoizedProps=f,i.memoizedState=be),_.props=f,_.state=be,_.context=L,f=B):(typeof _.componentDidUpdate!="function"||E===o.memoizedProps&&re===o.memoizedState||(i.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||E===o.memoizedProps&&re===o.memoizedState||(i.flags|=1024),f=!1)}return vu(o,i,a,f,v,h)}function vu(o,i,a,f,h,v){A4(o,i);var _=(i.flags&128)!==0;if(!f&&!_)return h&&V3(i,a,!1),lr(o,i,v);f=i.stateNode,Cv.current=i;var E=_&&typeof a.getDerivedStateFromError!="function"?null:f.render();return i.flags|=1,o!==null&&_?(i.child=Jo(i,o.child,null,v),i.child=Jo(i,null,E,v)):Ut(o,i,E,v),i.memoizedState=f.state,h&&V3(i,a,!0),i.child}function D4(o){var i=o.stateNode;i.pendingContext?$3(o,i.pendingContext,i.pendingContext!==i.context):i.context&&$3(o,i.context,!1),eu(o,i.containerInfo)}function F4(o,i,a,f,h){return Yo(),qc(h),i.flags|=256,Ut(o,i,a,f),i.child}var wu={dehydrated:null,treeContext:null,retryLane:0};function xu(o){return{baseLanes:o,cachePool:null,transitions:null}}function $4(o,i,a){var f=i.pendingProps,h=dt.current,v=!1,_=(i.flags&128)!==0,E;if((E=_)||(E=o!==null&&o.memoizedState===null?!1:(h&2)!==0),E?(v=!0,i.flags&=-129):(o===null||o.memoizedState!==null)&&(h|=1),nt(dt,h&1),o===null)return Uc(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):(_=f.children,o=f.fallback,v?(f=i.mode,v=i.child,_={mode:"hidden",children:_},(f&1)===0&&v!==null?(v.childLanes=0,v.pendingProps=_):v=ga(_,f,0,null),o=uo(o,f,a,null),v.return=i,o.return=i,v.sibling=o,i.child=v,i.child.memoizedState=xu(a),i.memoizedState=wu,o):yu(i,_));if(h=o.memoizedState,h!==null&&(E=h.dehydrated,E!==null))return kv(o,i,_,f,E,h,a);if(v){v=f.fallback,_=i.mode,h=o.child,E=h.sibling;var L={mode:"hidden",children:f.children};return(_&1)===0&&i.child!==h?(f=i.child,f.childLanes=0,f.pendingProps=L,i.deletions=null):(f=$r(h,L),f.subtreeFlags=h.subtreeFlags&14680064),E!==null?v=$r(E,v):(v=uo(v,_,a,null),v.flags|=2),v.return=i,f.return=i,f.sibling=v,i.child=f,f=v,v=i.child,_=o.child.memoizedState,_=_===null?xu(a):{baseLanes:_.baseLanes|a,cachePool:null,transitions:_.transitions},v.memoizedState=_,v.childLanes=o.childLanes&~a,i.memoizedState=wu,f}return v=o.child,o=v.sibling,f=$r(v,{mode:"visible",children:f.children}),(i.mode&1)===0&&(f.lanes=a),f.return=i,f.sibling=null,o!==null&&(a=i.deletions,a===null?(i.deletions=[o],i.flags|=16):a.push(o)),i.child=f,i.memoizedState=null,f}function yu(o,i){return i=ga({mode:"visible",children:i},o.mode,0,null),i.return=o,o.child=i}function ra(o,i,a,f){return f!==null&&qc(f),Jo(i,o.child,null,a),o=yu(i,i.pendingProps.children),o.flags|=2,i.memoizedState=null,o}function kv(o,i,a,f,h,v,_){if(a)return i.flags&256?(i.flags&=-257,f=pu(Error(n(422))),ra(o,i,_,f)):i.memoizedState!==null?(i.child=o.child,i.flags|=128,null):(v=f.fallback,h=i.mode,f=ga({mode:"visible",children:f.children},h,0,null),v=uo(v,h,_,null),v.flags|=2,f.return=i,v.return=i,f.sibling=v,i.child=f,(i.mode&1)!==0&&Jo(i,o.child,null,_),i.child.memoizedState=xu(_),i.memoizedState=wu,v);if((i.mode&1)===0)return ra(o,i,_,null);if(h.data==="$!"){if(f=h.nextSibling&&h.nextSibling.dataset,f)var E=f.dgst;return f=E,v=Error(n(419)),f=pu(v,f,void 0),ra(o,i,_,f)}if(E=(_&o.childLanes)!==0,Xt||E){if(f=jt,f!==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&(f.suspendedLanes|_))!==0?0:h,h!==0&&h!==v.retryLane&&(v.retryLane=h,sr(o,h),zn(f,o,h,-1))}return Au(),f=pu(Error(n(421))),ra(o,i,_,f)}return h.data==="$?"?(i.flags|=128,i.child=o.child,i=Rv.bind(null,o),h._reactRetry=i,null):(o=v.treeContext,dn=Mr(h.nextSibling),un=i,at=!0,Ln=null,o!==null&&(xn[yn++]=or,xn[yn++]=ir,xn[yn++]=to,or=o.id,ir=o.overflow,to=i),i=yu(i,f.children),i.flags|=4096,i)}function H4(o,i,a){o.lanes|=i;var f=o.alternate;f!==null&&(f.lanes|=i),Jc(o.return,i,a)}function _u(o,i,a,f,h){var v=o.memoizedState;v===null?o.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:f,tail:a,tailMode:h}:(v.isBackwards=i,v.rendering=null,v.renderingStartTime=0,v.last=f,v.tail=a,v.tailMode=h)}function V4(o,i,a){var f=i.pendingProps,h=f.revealOrder,v=f.tail;if(Ut(o,i,f.children,a),f=dt.current,(f&2)!==0)f=f&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&&H4(o,a,i);else if(o.tag===19)H4(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}f&=1}if(nt(dt,f),(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&&Y1(o)===null&&(h=a),a=a.sibling;a=h,a===null?(h=i.child,i.child=null):(h=a.sibling,a.sibling=null),_u(i,!1,h,a,v);break;case"backwards":for(a=null,h=i.child,i.child=null;h!==null;){if(o=h.alternate,o!==null&&Y1(o)===null){i.child=h;break}o=h.sibling,h.sibling=a,a=h,h=o}_u(i,!0,a,null,v);break;case"together":_u(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function oa(o,i){(i.mode&1)===0&&o!==null&&(o.alternate=null,i.alternate=null,i.flags|=2)}function lr(o,i,a){if(o!==null&&(i.dependencies=o.dependencies),so|=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=$r(o,o.pendingProps),i.child=a,a.return=i;o.sibling!==null;)o=o.sibling,a=a.sibling=$r(o,o.pendingProps),a.return=i;a.sibling=null}return i.child}function Sv(o,i,a){switch(i.tag){case 3:D4(i),Yo();break;case 5:n4(i);break;case 1:Jt(i.type)&&$1(i);break;case 4:eu(i,i.stateNode.containerInfo);break;case 10:var f=i.type._context,h=i.memoizedProps.value;nt(U1,f._currentValue),f._currentValue=h;break;case 13:if(f=i.memoizedState,f!==null)return f.dehydrated!==null?(nt(dt,dt.current&1),i.flags|=128,null):(a&i.child.childLanes)!==0?$4(o,i,a):(nt(dt,dt.current&1),o=lr(o,i,a),o!==null?o.sibling:null);nt(dt,dt.current&1);break;case 19:if(f=(a&i.childLanes)!==0,(o.flags&128)!==0){if(f)return V4(o,i,a);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),nt(dt,dt.current),f)break;return null;case 22:case 23:return i.lanes=0,z4(o,i,a)}return lr(o,i,a)}var B4,bu,Z4,W4;B4=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}},bu=function(){},Z4=function(o,i,a,f){var h=o.memoizedProps;if(h!==f){o=i.stateNode,oo(Un.current);var v=null;switch(a){case"input":h=Xe(o,h),f=Xe(o,f),v=[];break;case"select":h=te({},h,{value:void 0}),f=te({},f,{value:void 0}),v=[];break;case"textarea":h=Bn(o,h),f=Bn(o,f),v=[];break;default:typeof h.onClick!="function"&&typeof f.onClick=="function"&&(o.onclick=R1)}nc(a,f);var _;a=null;for(B in h)if(!f.hasOwnProperty(B)&&h.hasOwnProperty(B)&&h[B]!=null)if(B==="style"){var E=h[B];for(_ in E)E.hasOwnProperty(_)&&(a||(a={}),a[_]="")}else B!=="dangerouslySetInnerHTML"&&B!=="children"&&B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&B!=="autoFocus"&&(s.hasOwnProperty(B)?v||(v=[]):(v=v||[]).push(B,null));for(B in f){var L=f[B];if(E=h?.[B],f.hasOwnProperty(B)&&L!==E&&(L!=null||E!=null))if(B==="style")if(E){for(_ in E)!E.hasOwnProperty(_)||L&&L.hasOwnProperty(_)||(a||(a={}),a[_]="");for(_ in L)L.hasOwnProperty(_)&&E[_]!==L[_]&&(a||(a={}),a[_]=L[_])}else a||(v||(v=[]),v.push(B,a)),a=L;else B==="dangerouslySetInnerHTML"?(L=L?L.__html:void 0,E=E?E.__html:void 0,L!=null&&E!==L&&(v=v||[]).push(B,L)):B==="children"?typeof L!="string"&&typeof L!="number"||(v=v||[]).push(B,""+L):B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&(s.hasOwnProperty(B)?(L!=null&&B==="onScroll"&&it("scroll",o),v||E===L||(v=[])):(v=v||[]).push(B,L))}a&&(v=v||[]).push("style",a);var B=v;(i.updateQueue=B)&&(i.flags|=4)}},W4=function(o,i,a,f){a!==f&&(i.flags|=4)};function ys(o,i){if(!at)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 f=null;a!==null;)a.alternate!==null&&(f=a),a=a.sibling;f===null?i||o.tail===null?o.tail=null:o.tail.sibling=null:f.sibling=null}}function $t(o){var i=o.alternate!==null&&o.alternate.child===o.child,a=0,f=0;if(i)for(var h=o.child;h!==null;)a|=h.lanes|h.childLanes,f|=h.subtreeFlags&14680064,f|=h.flags&14680064,h.return=o,h=h.sibling;else for(h=o.child;h!==null;)a|=h.lanes|h.childLanes,f|=h.subtreeFlags,f|=h.flags,h.return=o,h=h.sibling;return o.subtreeFlags|=f,o.childLanes=a,i}function Ev(o,i,a){var f=i.pendingProps;switch(Zc(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $t(i),null;case 1:return Jt(i.type)&&F1(),$t(i),null;case 3:return f=i.stateNode,ei(),st(Yt),st(Dt),ru(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(o===null||o.child===null)&&(Z1(i)?i.flags|=4:o===null||o.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Ln!==null&&(Nu(Ln),Ln=null))),bu(o,i),$t(i),null;case 5:tu(i);var h=oo(ms.current);if(a=i.type,o!==null&&i.stateNode!=null)Z4(o,i,a,f,h),o.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!f){if(i.stateNode===null)throw Error(n(166));return $t(i),null}if(o=oo(Un.current),Z1(i)){f=i.stateNode,a=i.type;var v=i.memoizedProps;switch(f[Wn]=i,f[us]=v,o=(i.mode&1)!==0,a){case"dialog":it("cancel",f),it("close",f);break;case"iframe":case"object":case"embed":it("load",f);break;case"video":case"audio":for(h=0;h<as.length;h++)it(as[h],f);break;case"source":it("error",f);break;case"img":case"image":case"link":it("error",f),it("load",f);break;case"details":it("toggle",f);break;case"input":an(f,v),it("invalid",f);break;case"select":f._wrapperState={wasMultiple:!!v.multiple},it("invalid",f);break;case"textarea":Di(f,v),it("invalid",f)}nc(a,v),h=null;for(var _ in v)if(v.hasOwnProperty(_)){var E=v[_];_==="children"?typeof E=="string"?f.textContent!==E&&(v.suppressHydrationWarning!==!0&&A1(f.textContent,E,o),h=["children",E]):typeof E=="number"&&f.textContent!==""+E&&(v.suppressHydrationWarning!==!0&&A1(f.textContent,E,o),h=["children",""+E]):s.hasOwnProperty(_)&&E!=null&&_==="onScroll"&&it("scroll",f)}switch(a){case"input":De(f),tr(f,v,!0);break;case"textarea":De(f),$i(f);break;case"select":case"option":break;default:typeof v.onClick=="function"&&(f.onclick=R1)}f=h,i.updateQueue=f,f!==null&&(i.flags|=4)}else{_=h.nodeType===9?h:h.ownerDocument,o==="http://www.w3.org/1999/xhtml"&&(o=Hi(a)),o==="http://www.w3.org/1999/xhtml"?a==="script"?(o=_.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild)):typeof f.is=="string"?o=_.createElement(a,{is:f.is}):(o=_.createElement(a),a==="select"&&(_=o,f.multiple?_.multiple=!0:f.size&&(_.size=f.size))):o=_.createElementNS(o,a),o[Wn]=i,o[us]=f,B4(o,i,!1,!1),i.stateNode=o;e:{switch(_=rc(a,f),a){case"dialog":it("cancel",o),it("close",o),h=f;break;case"iframe":case"object":case"embed":it("load",o),h=f;break;case"video":case"audio":for(h=0;h<as.length;h++)it(as[h],o);h=f;break;case"source":it("error",o),h=f;break;case"img":case"image":case"link":it("error",o),it("load",o),h=f;break;case"details":it("toggle",o),h=f;break;case"input":an(o,f),h=Xe(o,f),it("invalid",o);break;case"option":h=f;break;case"select":o._wrapperState={wasMultiple:!!f.multiple},h=te({},f,{value:void 0}),it("invalid",o);break;case"textarea":Di(o,f),h=Bn(o,f),it("invalid",o);break;default:h=f}nc(a,h),E=h;for(v in E)if(E.hasOwnProperty(v)){var L=E[v];v==="style"?P2(o,L):v==="dangerouslySetInnerHTML"?(L=L?L.__html:void 0,L!=null&&T2(o,L)):v==="children"?typeof L=="string"?(a!=="textarea"||L!=="")&&Vi(o,L):typeof L=="number"&&Vi(o,""+L):v!=="suppressContentEditableWarning"&&v!=="suppressHydrationWarning"&&v!=="autoFocus"&&(s.hasOwnProperty(v)?L!=null&&v==="onScroll"&&it("scroll",o):L!=null&&H(o,v,L,_))}switch(a){case"input":De(o),tr(o,f,!1);break;case"textarea":De(o),$i(o);break;case"option":f.value!=null&&o.setAttribute("value",""+Fe(f.value));break;case"select":o.multiple=!!f.multiple,v=f.value,v!=null?mt(o,!!f.multiple,v,!1):f.defaultValue!=null&&mt(o,!!f.multiple,f.defaultValue,!0);break;default:typeof h.onClick=="function"&&(o.onclick=R1)}switch(a){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}}f&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return $t(i),null;case 6:if(o&&i.stateNode!=null)W4(o,i,o.memoizedProps,f);else{if(typeof f!="string"&&i.stateNode===null)throw Error(n(166));if(a=oo(ms.current),oo(Un.current),Z1(i)){if(f=i.stateNode,a=i.memoizedProps,f[Wn]=i,(v=f.nodeValue!==a)&&(o=un,o!==null))switch(o.tag){case 3:A1(f.nodeValue,a,(o.mode&1)!==0);break;case 5:o.memoizedProps.suppressHydrationWarning!==!0&&A1(f.nodeValue,a,(o.mode&1)!==0)}v&&(i.flags|=4)}else f=(a.nodeType===9?a:a.ownerDocument).createTextNode(f),f[Wn]=i,i.stateNode=f}return $t(i),null;case 13:if(st(dt),f=i.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(at&&dn!==null&&(i.mode&1)!==0&&(i.flags&128)===0)G3(),Yo(),i.flags|=98560,v=!1;else if(v=Z1(i),f!==null&&f.dehydrated!==null){if(o===null){if(!v)throw Error(n(318));if(v=i.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(n(317));v[Wn]=i}else Yo(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;$t(i),v=!1}else Ln!==null&&(Nu(Ln),Ln=null),v=!0;if(!v)return i.flags&65536?i:null}return(i.flags&128)!==0?(i.lanes=a,i):(f=f!==null,f!==(o!==null&&o.memoizedState!==null)&&f&&(i.child.flags|=8192,(i.mode&1)!==0&&(o===null||(dt.current&1)!==0?bt===0&&(bt=3):Au())),i.updateQueue!==null&&(i.flags|=4),$t(i),null);case 4:return ei(),bu(o,i),o===null&&ls(i.stateNode.containerInfo),$t(i),null;case 10:return Yc(i.type._context),$t(i),null;case 17:return Jt(i.type)&&F1(),$t(i),null;case 19:if(st(dt),v=i.memoizedState,v===null)return $t(i),null;if(f=(i.flags&128)!==0,_=v.rendering,_===null)if(f)ys(v,!1);else{if(bt!==0||o!==null&&(o.flags&128)!==0)for(o=i.child;o!==null;){if(_=Y1(o),_!==null){for(i.flags|=128,ys(v,!1),f=_.updateQueue,f!==null&&(i.updateQueue=f,i.flags|=4),i.subtreeFlags=0,f=a,a=i.child;a!==null;)v=a,o=f,v.flags&=14680066,_=v.alternate,_===null?(v.childLanes=0,v.lanes=o,v.child=null,v.subtreeFlags=0,v.memoizedProps=null,v.memoizedState=null,v.updateQueue=null,v.dependencies=null,v.stateNode=null):(v.childLanes=_.childLanes,v.lanes=_.lanes,v.child=_.child,v.subtreeFlags=0,v.deletions=null,v.memoizedProps=_.memoizedProps,v.memoizedState=_.memoizedState,v.updateQueue=_.updateQueue,v.type=_.type,o=_.dependencies,v.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),a=a.sibling;return nt(dt,dt.current&1|2),i.child}o=o.sibling}v.tail!==null&&vt()>oi&&(i.flags|=128,f=!0,ys(v,!1),i.lanes=4194304)}else{if(!f)if(o=Y1(_),o!==null){if(i.flags|=128,f=!0,a=o.updateQueue,a!==null&&(i.updateQueue=a,i.flags|=4),ys(v,!0),v.tail===null&&v.tailMode==="hidden"&&!_.alternate&&!at)return $t(i),null}else 2*vt()-v.renderingStartTime>oi&&a!==1073741824&&(i.flags|=128,f=!0,ys(v,!1),i.lanes=4194304);v.isBackwards?(_.sibling=i.child,i.child=_):(a=v.last,a!==null?a.sibling=_:i.child=_,v.last=_)}return v.tail!==null?(i=v.tail,v.rendering=i,v.tail=i.sibling,v.renderingStartTime=vt(),i.sibling=null,a=dt.current,nt(dt,f?a&1|2:a&1),i):($t(i),null);case 22:case 23:return zu(),f=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==f&&(i.flags|=8192),f&&(i.mode&1)!==0?(fn&1073741824)!==0&&($t(i),i.subtreeFlags&6&&(i.flags|=8192)):$t(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function jv(o,i){switch(Zc(i),i.tag){case 1:return Jt(i.type)&&F1(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return ei(),st(Yt),st(Dt),ru(),o=i.flags,(o&65536)!==0&&(o&128)===0?(i.flags=o&-65537|128,i):null;case 5:return tu(i),null;case 13:if(st(dt),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Yo()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return st(dt),null;case 4:return ei(),null;case 10:return Yc(i.type._context),null;case 22:case 23:return zu(),null;case 24:return null;default:return null}}var ia=!1,Ht=!1,Iv=typeof WeakSet=="function"?WeakSet:Set,ye=null;function ni(o,i){var a=o.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(f){gt(o,i,f)}else a.current=null}function Cu(o,i,a){try{a()}catch(f){gt(o,i,f)}}var U4=!1;function Mv(o,i){if(zc=S1,o=k3(),jc(o)){if("selectionStart"in o)var a={start:o.selectionStart,end:o.selectionEnd};else e:{a=(a=o.ownerDocument)&&a.defaultView||window;var f=a.getSelection&&a.getSelection();if(f&&f.rangeCount!==0){a=f.anchorNode;var h=f.anchorOffset,v=f.focusNode;f=f.focusOffset;try{a.nodeType,v.nodeType}catch{a=null;break e}var _=0,E=-1,L=-1,B=0,ie=0,le=o,re=null;t:for(;;){for(var ge;le!==a||h!==0&&le.nodeType!==3||(E=_+h),le!==v||f!==0&&le.nodeType!==3||(L=_+f),le.nodeType===3&&(_+=le.nodeValue.length),(ge=le.firstChild)!==null;)re=le,le=ge;for(;;){if(le===o)break t;if(re===a&&++B===h&&(E=_),re===v&&++ie===f&&(L=_),(ge=le.nextSibling)!==null)break;le=re,re=le.parentNode}le=ge}a=E===-1||L===-1?null:{start:E,end:L}}else a=null}a=a||{start:0,end:0}}else a=null;for(Ac={focusedElem:o,selectionRange:a},S1=!1,ye=i;ye!==null;)if(i=ye,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,ye=o;else for(;ye!==null;){i=ye;try{var be=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(be!==null){var Ce=be.memoizedProps,wt=be.memoizedState,A=i.stateNode,N=A.getSnapshotBeforeUpdate(i.elementType===i.type?Ce:Tn(i.type,Ce),wt);A.__reactInternalSnapshotBeforeUpdate=N}break;case 3:var F=i.stateNode.containerInfo;F.nodeType===1?F.textContent="":F.nodeType===9&&F.documentElement&&F.removeChild(F.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(ue){gt(i,i.return,ue)}if(o=i.sibling,o!==null){o.return=i.return,ye=o;break}ye=i.return}return be=U4,U4=!1,be}function _s(o,i,a){var f=i.updateQueue;if(f=f!==null?f.lastEffect:null,f!==null){var h=f=f.next;do{if((h.tag&o)===o){var v=h.destroy;h.destroy=void 0,v!==void 0&&Cu(i,a,v)}h=h.next}while(h!==f)}}function sa(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 f=a.create;a.destroy=f()}a=a.next}while(a!==i)}}function ku(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 q4(o){var i=o.alternate;i!==null&&(o.alternate=null,q4(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Wn],delete i[us],delete i[$c],delete i[dv],delete i[fv])),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 G4(o){return o.tag===5||o.tag===3||o.tag===4}function K4(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||G4(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 Su(o,i,a){var f=o.tag;if(f===5||f===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=R1));else if(f!==4&&(o=o.child,o!==null))for(Su(o,i,a),o=o.sibling;o!==null;)Su(o,i,a),o=o.sibling}function Eu(o,i,a){var f=o.tag;if(f===5||f===6)o=o.stateNode,i?a.insertBefore(o,i):a.appendChild(o);else if(f!==4&&(o=o.child,o!==null))for(Eu(o,i,a),o=o.sibling;o!==null;)Eu(o,i,a),o=o.sibling}var Tt=null,Nn=!1;function zr(o,i,a){for(a=a.child;a!==null;)Y4(o,i,a),a=a.sibling}function Y4(o,i,a){if(Zn&&typeof Zn.onCommitFiberUnmount=="function")try{Zn.onCommitFiberUnmount(x1,a)}catch{}switch(a.tag){case 5:Ht||ni(a,i);case 6:var f=Tt,h=Nn;Tt=null,zr(o,i,a),Tt=f,Nn=h,Tt!==null&&(Nn?(o=Tt,a=a.stateNode,o.nodeType===8?o.parentNode.removeChild(a):o.removeChild(a)):Tt.removeChild(a.stateNode));break;case 18:Tt!==null&&(Nn?(o=Tt,a=a.stateNode,o.nodeType===8?Fc(o.parentNode,a):o.nodeType===1&&Fc(o,a),Qi(o)):Fc(Tt,a.stateNode));break;case 4:f=Tt,h=Nn,Tt=a.stateNode.containerInfo,Nn=!0,zr(o,i,a),Tt=f,Nn=h;break;case 0:case 11:case 14:case 15:if(!Ht&&(f=a.updateQueue,f!==null&&(f=f.lastEffect,f!==null))){h=f=f.next;do{var v=h,_=v.destroy;v=v.tag,_!==void 0&&((v&2)!==0||(v&4)!==0)&&Cu(a,i,_),h=h.next}while(h!==f)}zr(o,i,a);break;case 1:if(!Ht&&(ni(a,i),f=a.stateNode,typeof f.componentWillUnmount=="function"))try{f.props=a.memoizedProps,f.state=a.memoizedState,f.componentWillUnmount()}catch(E){gt(a,i,E)}zr(o,i,a);break;case 21:zr(o,i,a);break;case 22:a.mode&1?(Ht=(f=Ht)||a.memoizedState!==null,zr(o,i,a),Ht=f):zr(o,i,a);break;default:zr(o,i,a)}}function J4(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var a=o.stateNode;a===null&&(a=o.stateNode=new Iv),i.forEach(function(f){var h=Dv.bind(null,o,f);a.has(f)||(a.add(f),f.then(h,h))})}}function Pn(o,i){var a=i.deletions;if(a!==null)for(var f=0;f<a.length;f++){var h=a[f];try{var v=o,_=i,E=_;e:for(;E!==null;){switch(E.tag){case 5:Tt=E.stateNode,Nn=!1;break e;case 3:Tt=E.stateNode.containerInfo,Nn=!0;break e;case 4:Tt=E.stateNode.containerInfo,Nn=!0;break e}E=E.return}if(Tt===null)throw Error(n(160));Y4(v,_,h),Tt=null,Nn=!1;var L=h.alternate;L!==null&&(L.return=null),h.return=null}catch(B){gt(h,i,B)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)X4(i,o),i=i.sibling}function X4(o,i){var a=o.alternate,f=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:if(Pn(i,o),Gn(o),f&4){try{_s(3,o,o.return),sa(3,o)}catch(Ce){gt(o,o.return,Ce)}try{_s(5,o,o.return)}catch(Ce){gt(o,o.return,Ce)}}break;case 1:Pn(i,o),Gn(o),f&512&&a!==null&&ni(a,a.return);break;case 5:if(Pn(i,o),Gn(o),f&512&&a!==null&&ni(a,a.return),o.flags&32){var h=o.stateNode;try{Vi(h,"")}catch(Ce){gt(o,o.return,Ce)}}if(f&4&&(h=o.stateNode,h!=null)){var v=o.memoizedProps,_=a!==null?a.memoizedProps:v,E=o.type,L=o.updateQueue;if(o.updateQueue=null,L!==null)try{E==="input"&&v.type==="radio"&&v.name!=null&&Ze(h,v),rc(E,_);var B=rc(E,v);for(_=0;_<L.length;_+=2){var ie=L[_],le=L[_+1];ie==="style"?P2(h,le):ie==="dangerouslySetInnerHTML"?T2(h,le):ie==="children"?Vi(h,le):H(h,ie,le,B)}switch(E){case"input":ln(h,v);break;case"textarea":Fi(h,v);break;case"select":var re=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!v.multiple;var ge=v.value;ge!=null?mt(h,!!v.multiple,ge,!1):re!==!!v.multiple&&(v.defaultValue!=null?mt(h,!!v.multiple,v.defaultValue,!0):mt(h,!!v.multiple,v.multiple?[]:"",!1))}h[us]=v}catch(Ce){gt(o,o.return,Ce)}}break;case 6:if(Pn(i,o),Gn(o),f&4){if(o.stateNode===null)throw Error(n(162));h=o.stateNode,v=o.memoizedProps;try{h.nodeValue=v}catch(Ce){gt(o,o.return,Ce)}}break;case 3:if(Pn(i,o),Gn(o),f&4&&a!==null&&a.memoizedState.isDehydrated)try{Qi(i.containerInfo)}catch(Ce){gt(o,o.return,Ce)}break;case 4:Pn(i,o),Gn(o);break;case 13:Pn(i,o),Gn(o),h=o.child,h.flags&8192&&(v=h.memoizedState!==null,h.stateNode.isHidden=v,!v||h.alternate!==null&&h.alternate.memoizedState!==null||(Mu=vt())),f&4&&J4(o);break;case 22:if(ie=a!==null&&a.memoizedState!==null,o.mode&1?(Ht=(B=Ht)||ie,Pn(i,o),Ht=B):Pn(i,o),Gn(o),f&8192){if(B=o.memoizedState!==null,(o.stateNode.isHidden=B)&&!ie&&(o.mode&1)!==0)for(ye=o,ie=o.child;ie!==null;){for(le=ye=ie;ye!==null;){switch(re=ye,ge=re.child,re.tag){case 0:case 11:case 14:case 15:_s(4,re,re.return);break;case 1:ni(re,re.return);var be=re.stateNode;if(typeof be.componentWillUnmount=="function"){f=re,a=re.return;try{i=f,be.props=i.memoizedProps,be.state=i.memoizedState,be.componentWillUnmount()}catch(Ce){gt(f,a,Ce)}}break;case 5:ni(re,re.return);break;case 22:if(re.memoizedState!==null){tf(le);continue}}ge!==null?(ge.return=re,ye=ge):tf(le)}ie=ie.sibling}e:for(ie=null,le=o;;){if(le.tag===5){if(ie===null){ie=le;try{h=le.stateNode,B?(v=h.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none"):(E=le.stateNode,L=le.memoizedProps.style,_=L!=null&&L.hasOwnProperty("display")?L.display:null,E.style.display=N2("display",_))}catch(Ce){gt(o,o.return,Ce)}}}else if(le.tag===6){if(ie===null)try{le.stateNode.nodeValue=B?"":le.memoizedProps}catch(Ce){gt(o,o.return,Ce)}}else if((le.tag!==22&&le.tag!==23||le.memoizedState===null||le===o)&&le.child!==null){le.child.return=le,le=le.child;continue}if(le===o)break e;for(;le.sibling===null;){if(le.return===null||le.return===o)break e;ie===le&&(ie=null),le=le.return}ie===le&&(ie=null),le.sibling.return=le.return,le=le.sibling}}break;case 19:Pn(i,o),Gn(o),f&4&&J4(o);break;case 21:break;default:Pn(i,o),Gn(o)}}function Gn(o){var i=o.flags;if(i&2){try{e:{for(var a=o.return;a!==null;){if(G4(a)){var f=a;break e}a=a.return}throw Error(n(160))}switch(f.tag){case 5:var h=f.stateNode;f.flags&32&&(Vi(h,""),f.flags&=-33);var v=K4(o);Eu(o,v,h);break;case 3:case 4:var _=f.stateNode.containerInfo,E=K4(o);Su(o,E,_);break;default:throw Error(n(161))}}catch(L){gt(o,o.return,L)}o.flags&=-3}i&4096&&(o.flags&=-4097)}function Ov(o,i,a){ye=o,Q4(o)}function Q4(o,i,a){for(var f=(o.mode&1)!==0;ye!==null;){var h=ye,v=h.child;if(h.tag===22&&f){var _=h.memoizedState!==null||ia;if(!_){var E=h.alternate,L=E!==null&&E.memoizedState!==null||Ht;E=ia;var B=Ht;if(ia=_,(Ht=L)&&!B)for(ye=h;ye!==null;)_=ye,L=_.child,_.tag===22&&_.memoizedState!==null?nf(h):L!==null?(L.return=_,ye=L):nf(h);for(;v!==null;)ye=v,Q4(v),v=v.sibling;ye=h,ia=E,Ht=B}ef(o)}else(h.subtreeFlags&8772)!==0&&v!==null?(v.return=h,ye=v):ef(o)}}function ef(o){for(;ye!==null;){var i=ye;if((i.flags&8772)!==0){var a=i.alternate;try{if((i.flags&8772)!==0)switch(i.tag){case 0:case 11:case 15:Ht||sa(5,i);break;case 1:var f=i.stateNode;if(i.flags&4&&!Ht)if(a===null)f.componentDidMount();else{var h=i.elementType===i.type?a.memoizedProps:Tn(i.type,a.memoizedProps);f.componentDidUpdate(h,a.memoizedState,f.__reactInternalSnapshotBeforeUpdate)}var v=i.updateQueue;v!==null&&t4(i,v,f);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}t4(i,_,a)}break;case 5:var E=i.stateNode;if(a===null&&i.flags&4){a=E;var L=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":L.autoFocus&&a.focus();break;case"img":L.src&&(a.src=L.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var B=i.alternate;if(B!==null){var ie=B.memoizedState;if(ie!==null){var le=ie.dehydrated;le!==null&&Qi(le)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Ht||i.flags&512&&ku(i)}catch(re){gt(i,i.return,re)}}if(i===o){ye=null;break}if(a=i.sibling,a!==null){a.return=i.return,ye=a;break}ye=i.return}}function tf(o){for(;ye!==null;){var i=ye;if(i===o){ye=null;break}var a=i.sibling;if(a!==null){a.return=i.return,ye=a;break}ye=i.return}}function nf(o){for(;ye!==null;){var i=ye;try{switch(i.tag){case 0:case 11:case 15:var a=i.return;try{sa(4,i)}catch(L){gt(i,a,L)}break;case 1:var f=i.stateNode;if(typeof f.componentDidMount=="function"){var h=i.return;try{f.componentDidMount()}catch(L){gt(i,h,L)}}var v=i.return;try{ku(i)}catch(L){gt(i,v,L)}break;case 5:var _=i.return;try{ku(i)}catch(L){gt(i,_,L)}}}catch(L){gt(i,i.return,L)}if(i===o){ye=null;break}var E=i.sibling;if(E!==null){E.return=i.return,ye=E;break}ye=i.return}}var Lv=Math.ceil,aa=z.ReactCurrentDispatcher,ju=z.ReactCurrentOwner,Cn=z.ReactCurrentBatchConfig,Ke=0,jt=null,yt=null,Nt=0,fn=0,ri=Or(0),bt=0,bs=null,so=0,la=0,Iu=0,Cs=null,Qt=null,Mu=0,oi=1/0,cr=null,ca=!1,Ou=null,Ar=null,ua=!1,Rr=null,da=0,ks=0,Lu=null,fa=-1,ha=0;function qt(){return(Ke&6)!==0?vt():fa!==-1?fa:fa=vt()}function Dr(o){return(o.mode&1)===0?1:(Ke&2)!==0&&Nt!==0?Nt&-Nt:pv.transition!==null?(ha===0&&(ha=K2()),ha):(o=Qe,o!==0||(o=window.event,o=o===void 0?16:o3(o.type)),o)}function zn(o,i,a,f){if(50<ks)throw ks=0,Lu=null,Error(n(185));Gi(o,a,f),((Ke&2)===0||o!==jt)&&(o===jt&&((Ke&2)===0&&(la|=a),bt===4&&Fr(o,Nt)),en(o,f),a===1&&Ke===0&&(i.mode&1)===0&&(oi=vt()+500,H1&&Tr()))}function en(o,i){var a=o.callbackNode;pg(o,i);var f=b1(o,o===jt?Nt:0);if(f===0)a!==null&&U2(a),o.callbackNode=null,o.callbackPriority=0;else if(i=f&-f,o.callbackPriority!==i){if(a!=null&&U2(a),i===1)o.tag===0?hv(of.bind(null,o)):B3(of.bind(null,o)),cv(function(){(Ke&6)===0&&Tr()}),a=null;else{switch(Y2(f)){case 1:a=uc;break;case 4:a=q2;break;case 16:a=w1;break;case 536870912:a=G2;break;default:a=w1}a=hf(a,rf.bind(null,o))}o.callbackPriority=i,o.callbackNode=a}}function rf(o,i){if(fa=-1,ha=0,(Ke&6)!==0)throw Error(n(327));var a=o.callbackNode;if(ii()&&o.callbackNode!==a)return null;var f=b1(o,o===jt?Nt:0);if(f===0)return null;if((f&30)!==0||(f&o.expiredLanes)!==0||i)i=pa(o,f);else{i=f;var h=Ke;Ke|=2;var v=af();(jt!==o||Nt!==i)&&(cr=null,oi=vt()+500,lo(o,i));do try{Pv();break}catch(E){sf(o,E)}while(!0);Kc(),aa.current=v,Ke=h,yt!==null?i=0:(jt=null,Nt=0,i=bt)}if(i!==0){if(i===2&&(h=dc(o),h!==0&&(f=h,i=Tu(o,h))),i===1)throw a=bs,lo(o,0),Fr(o,f),en(o,vt()),a;if(i===6)Fr(o,f);else{if(h=o.current.alternate,(f&30)===0&&!Tv(h)&&(i=pa(o,f),i===2&&(v=dc(o),v!==0&&(f=v,i=Tu(o,v))),i===1))throw a=bs,lo(o,0),Fr(o,f),en(o,vt()),a;switch(o.finishedWork=h,o.finishedLanes=f,i){case 0:case 1:throw Error(n(345));case 2:co(o,Qt,cr);break;case 3:if(Fr(o,f),(f&130023424)===f&&(i=Mu+500-vt(),10<i)){if(b1(o,0)!==0)break;if(h=o.suspendedLanes,(h&f)!==f){qt(),o.pingedLanes|=o.suspendedLanes&h;break}o.timeoutHandle=Dc(co.bind(null,o,Qt,cr),i);break}co(o,Qt,cr);break;case 4:if(Fr(o,f),(f&4194240)===f)break;for(i=o.eventTimes,h=-1;0<f;){var _=31-Mn(f);v=1<<_,_=i[_],_>h&&(h=_),f&=~v}if(f=h,f=vt()-f,f=(120>f?120:480>f?480:1080>f?1080:1920>f?1920:3e3>f?3e3:4320>f?4320:1960*Lv(f/1960))-f,10<f){o.timeoutHandle=Dc(co.bind(null,o,Qt,cr),f);break}co(o,Qt,cr);break;case 5:co(o,Qt,cr);break;default:throw Error(n(329))}}}return en(o,vt()),o.callbackNode===a?rf.bind(null,o):null}function Tu(o,i){var a=Cs;return o.current.memoizedState.isDehydrated&&(lo(o,i).flags|=256),o=pa(o,i),o!==2&&(i=Qt,Qt=a,i!==null&&Nu(i)),o}function Nu(o){Qt===null?Qt=o:Qt.push.apply(Qt,o)}function Tv(o){for(var i=o;;){if(i.flags&16384){var a=i.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var f=0;f<a.length;f++){var h=a[f],v=h.getSnapshot;h=h.value;try{if(!On(v(),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 Fr(o,i){for(i&=~Iu,i&=~la,o.suspendedLanes|=i,o.pingedLanes&=~i,o=o.expirationTimes;0<i;){var a=31-Mn(i),f=1<<a;o[a]=-1,i&=~f}}function of(o){if((Ke&6)!==0)throw Error(n(327));ii();var i=b1(o,0);if((i&1)===0)return en(o,vt()),null;var a=pa(o,i);if(o.tag!==0&&a===2){var f=dc(o);f!==0&&(i=f,a=Tu(o,f))}if(a===1)throw a=bs,lo(o,0),Fr(o,i),en(o,vt()),a;if(a===6)throw Error(n(345));return o.finishedWork=o.current.alternate,o.finishedLanes=i,co(o,Qt,cr),en(o,vt()),null}function Pu(o,i){var a=Ke;Ke|=1;try{return o(i)}finally{Ke=a,Ke===0&&(oi=vt()+500,H1&&Tr())}}function ao(o){Rr!==null&&Rr.tag===0&&(Ke&6)===0&&ii();var i=Ke;Ke|=1;var a=Cn.transition,f=Qe;try{if(Cn.transition=null,Qe=1,o)return o()}finally{Qe=f,Cn.transition=a,Ke=i,(Ke&6)===0&&Tr()}}function zu(){fn=ri.current,st(ri)}function lo(o,i){o.finishedWork=null,o.finishedLanes=0;var a=o.timeoutHandle;if(a!==-1&&(o.timeoutHandle=-1,lv(a)),yt!==null)for(a=yt.return;a!==null;){var f=a;switch(Zc(f),f.tag){case 1:f=f.type.childContextTypes,f!=null&&F1();break;case 3:ei(),st(Yt),st(Dt),ru();break;case 5:tu(f);break;case 4:ei();break;case 13:st(dt);break;case 19:st(dt);break;case 10:Yc(f.type._context);break;case 22:case 23:zu()}a=a.return}if(jt=o,yt=o=$r(o.current,null),Nt=fn=i,bt=0,bs=null,Iu=la=so=0,Qt=Cs=null,ro!==null){for(i=0;i<ro.length;i++)if(a=ro[i],f=a.interleaved,f!==null){a.interleaved=null;var h=f.next,v=a.pending;if(v!==null){var _=v.next;v.next=h,f.next=_}a.pending=f}ro=null}return o}function sf(o,i){do{var a=yt;try{if(Kc(),J1.current=ta,X1){for(var f=ft.memoizedState;f!==null;){var h=f.queue;h!==null&&(h.pending=null),f=f.next}X1=!1}if(io=0,Et=_t=ft=null,gs=!1,vs=0,ju.current=null,a===null||a.return===null){bt=1,bs=i,yt=null;break}e:{var v=o,_=a.return,E=a,L=i;if(i=Nt,E.flags|=32768,L!==null&&typeof L=="object"&&typeof L.then=="function"){var B=L,ie=E,le=ie.tag;if((ie.mode&1)===0&&(le===0||le===11||le===15)){var re=ie.alternate;re?(ie.updateQueue=re.updateQueue,ie.memoizedState=re.memoizedState,ie.lanes=re.lanes):(ie.updateQueue=null,ie.memoizedState=null)}var ge=O4(_);if(ge!==null){ge.flags&=-257,L4(ge,_,E,v,i),ge.mode&1&&M4(v,B,i),i=ge,L=B;var be=i.updateQueue;if(be===null){var Ce=new Set;Ce.add(L),i.updateQueue=Ce}else be.add(L);break e}else{if((i&1)===0){M4(v,B,i),Au();break e}L=Error(n(426))}}else if(at&&E.mode&1){var wt=O4(_);if(wt!==null){(wt.flags&65536)===0&&(wt.flags|=256),L4(wt,_,E,v,i),qc(ti(L,E));break e}}v=L=ti(L,E),bt!==4&&(bt=2),Cs===null?Cs=[v]:Cs.push(v),v=_;do{switch(v.tag){case 3:v.flags|=65536,i&=-i,v.lanes|=i;var A=j4(v,L,i);e4(v,A);break e;case 1:E=L;var N=v.type,F=v.stateNode;if((v.flags&128)===0&&(typeof N.getDerivedStateFromError=="function"||F!==null&&typeof F.componentDidCatch=="function"&&(Ar===null||!Ar.has(F)))){v.flags|=65536,i&=-i,v.lanes|=i;var ue=I4(v,E,i);e4(v,ue);break e}}v=v.return}while(v!==null)}cf(a)}catch(Ee){i=Ee,yt===a&&a!==null&&(yt=a=a.return);continue}break}while(!0)}function af(){var o=aa.current;return aa.current=ta,o===null?ta:o}function Au(){(bt===0||bt===3||bt===2)&&(bt=4),jt===null||(so&268435455)===0&&(la&268435455)===0||Fr(jt,Nt)}function pa(o,i){var a=Ke;Ke|=2;var f=af();(jt!==o||Nt!==i)&&(cr=null,lo(o,i));do try{Nv();break}catch(h){sf(o,h)}while(!0);if(Kc(),Ke=a,aa.current=f,yt!==null)throw Error(n(261));return jt=null,Nt=0,bt}function Nv(){for(;yt!==null;)lf(yt)}function Pv(){for(;yt!==null&&!ig();)lf(yt)}function lf(o){var i=ff(o.alternate,o,fn);o.memoizedProps=o.pendingProps,i===null?cf(o):yt=i,ju.current=null}function cf(o){var i=o;do{var a=i.alternate;if(o=i.return,(i.flags&32768)===0){if(a=Ev(a,i,fn),a!==null){yt=a;return}}else{if(a=jv(a,i),a!==null){a.flags&=32767,yt=a;return}if(o!==null)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{bt=6,yt=null;return}}if(i=i.sibling,i!==null){yt=i;return}yt=i=o}while(i!==null);bt===0&&(bt=5)}function co(o,i,a){var f=Qe,h=Cn.transition;try{Cn.transition=null,Qe=1,zv(o,i,a,f)}finally{Cn.transition=h,Qe=f}return null}function zv(o,i,a,f){do ii();while(Rr!==null);if((Ke&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 v=a.lanes|a.childLanes;if(mg(o,v),o===jt&&(yt=jt=null,Nt=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||ua||(ua=!0,hf(w1,function(){return ii(),null})),v=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||v){v=Cn.transition,Cn.transition=null;var _=Qe;Qe=1;var E=Ke;Ke|=4,ju.current=null,Mv(o,a),X4(a,o),tv(Ac),S1=!!zc,Ac=zc=null,o.current=a,Ov(a),sg(),Ke=E,Qe=_,Cn.transition=v}else o.current=a;if(ua&&(ua=!1,Rr=o,da=h),v=o.pendingLanes,v===0&&(Ar=null),cg(a.stateNode),en(o,vt()),i!==null)for(f=o.onRecoverableError,a=0;a<i.length;a++)h=i[a],f(h.value,{componentStack:h.stack,digest:h.digest});if(ca)throw ca=!1,o=Ou,Ou=null,o;return(da&1)!==0&&o.tag!==0&&ii(),v=o.pendingLanes,(v&1)!==0?o===Lu?ks++:(ks=0,Lu=o):ks=0,Tr(),null}function ii(){if(Rr!==null){var o=Y2(da),i=Cn.transition,a=Qe;try{if(Cn.transition=null,Qe=16>o?16:o,Rr===null)var f=!1;else{if(o=Rr,Rr=null,da=0,(Ke&6)!==0)throw Error(n(331));var h=Ke;for(Ke|=4,ye=o.current;ye!==null;){var v=ye,_=v.child;if((ye.flags&16)!==0){var E=v.deletions;if(E!==null){for(var L=0;L<E.length;L++){var B=E[L];for(ye=B;ye!==null;){var ie=ye;switch(ie.tag){case 0:case 11:case 15:_s(8,ie,v)}var le=ie.child;if(le!==null)le.return=ie,ye=le;else for(;ye!==null;){ie=ye;var re=ie.sibling,ge=ie.return;if(q4(ie),ie===B){ye=null;break}if(re!==null){re.return=ge,ye=re;break}ye=ge}}}var be=v.alternate;if(be!==null){var Ce=be.child;if(Ce!==null){be.child=null;do{var wt=Ce.sibling;Ce.sibling=null,Ce=wt}while(Ce!==null)}}ye=v}}if((v.subtreeFlags&2064)!==0&&_!==null)_.return=v,ye=_;else e:for(;ye!==null;){if(v=ye,(v.flags&2048)!==0)switch(v.tag){case 0:case 11:case 15:_s(9,v,v.return)}var A=v.sibling;if(A!==null){A.return=v.return,ye=A;break e}ye=v.return}}var N=o.current;for(ye=N;ye!==null;){_=ye;var F=_.child;if((_.subtreeFlags&2064)!==0&&F!==null)F.return=_,ye=F;else e:for(_=N;ye!==null;){if(E=ye,(E.flags&2048)!==0)try{switch(E.tag){case 0:case 11:case 15:sa(9,E)}}catch(Ee){gt(E,E.return,Ee)}if(E===_){ye=null;break e}var ue=E.sibling;if(ue!==null){ue.return=E.return,ye=ue;break e}ye=E.return}}if(Ke=h,Tr(),Zn&&typeof Zn.onPostCommitFiberRoot=="function")try{Zn.onPostCommitFiberRoot(x1,o)}catch{}f=!0}return f}finally{Qe=a,Cn.transition=i}}return!1}function uf(o,i,a){i=ti(a,i),i=j4(o,i,1),o=Pr(o,i,1),i=qt(),o!==null&&(Gi(o,1,i),en(o,i))}function gt(o,i,a){if(o.tag===3)uf(o,o,a);else for(;i!==null;){if(i.tag===3){uf(i,o,a);break}else if(i.tag===1){var f=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(Ar===null||!Ar.has(f))){o=ti(a,o),o=I4(i,o,1),i=Pr(i,o,1),o=qt(),i!==null&&(Gi(i,1,o),en(i,o));break}}i=i.return}}function Av(o,i,a){var f=o.pingCache;f!==null&&f.delete(i),i=qt(),o.pingedLanes|=o.suspendedLanes&a,jt===o&&(Nt&a)===a&&(bt===4||bt===3&&(Nt&130023424)===Nt&&500>vt()-Mu?lo(o,0):Iu|=a),en(o,i)}function df(o,i){i===0&&((o.mode&1)===0?i=1:(i=_1,_1<<=1,(_1&130023424)===0&&(_1=4194304)));var a=qt();o=sr(o,i),o!==null&&(Gi(o,i,a),en(o,a))}function Rv(o){var i=o.memoizedState,a=0;i!==null&&(a=i.retryLane),df(o,a)}function Dv(o,i){var a=0;switch(o.tag){case 13:var f=o.stateNode,h=o.memoizedState;h!==null&&(a=h.retryLane);break;case 19:f=o.stateNode;break;default:throw Error(n(314))}f!==null&&f.delete(i),df(o,a)}var ff;ff=function(o,i,a){if(o!==null)if(o.memoizedProps!==i.pendingProps||Yt.current)Xt=!0;else{if((o.lanes&a)===0&&(i.flags&128)===0)return Xt=!1,Sv(o,i,a);Xt=(o.flags&131072)!==0}else Xt=!1,at&&(i.flags&1048576)!==0&&Z3(i,B1,i.index);switch(i.lanes=0,i.tag){case 2:var f=i.type;oa(o,i),o=i.pendingProps;var h=qo(i,Dt.current);Qo(i,a),h=su(null,i,f,o,h,a);var v=au();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,Jt(f)?(v=!0,$1(i)):v=!1,i.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,Qc(i),h.updater=na,i.stateNode=h,h._reactInternals=i,hu(i,f,o,a),i=vu(null,i,f,!0,v,a)):(i.tag=0,at&&v&&Bc(i),Ut(null,i,h,a),i=i.child),i;case 16:f=i.elementType;e:{switch(oa(o,i),o=i.pendingProps,h=f._init,f=h(f._payload),i.type=f,h=i.tag=$v(f),o=Tn(f,o),h){case 0:i=gu(null,i,f,o,a);break e;case 1:i=R4(null,i,f,o,a);break e;case 11:i=T4(null,i,f,o,a);break e;case 14:i=N4(null,i,f,Tn(f.type,o),a);break e}throw Error(n(306,f,""))}return i;case 0:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Tn(f,h),gu(o,i,f,h,a);case 1:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Tn(f,h),R4(o,i,f,h,a);case 3:e:{if(D4(i),o===null)throw Error(n(387));f=i.pendingProps,v=i.memoizedState,h=v.element,Q3(o,i),K1(i,f,null,a);var _=i.memoizedState;if(f=_.element,v.isDehydrated)if(v={element:f,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},i.updateQueue.baseState=v,i.memoizedState=v,i.flags&256){h=ti(Error(n(423)),i),i=F4(o,i,f,a,h);break e}else if(f!==h){h=ti(Error(n(424)),i),i=F4(o,i,f,a,h);break e}else for(dn=Mr(i.stateNode.containerInfo.firstChild),un=i,at=!0,Ln=null,a=J3(i,null,f,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Yo(),f===h){i=lr(o,i,a);break e}Ut(o,i,f,a)}i=i.child}return i;case 5:return n4(i),o===null&&Uc(i),f=i.type,h=i.pendingProps,v=o!==null?o.memoizedProps:null,_=h.children,Rc(f,h)?_=null:v!==null&&Rc(f,v)&&(i.flags|=32),A4(o,i),Ut(o,i,_,a),i.child;case 6:return o===null&&Uc(i),null;case 13:return $4(o,i,a);case 4:return eu(i,i.stateNode.containerInfo),f=i.pendingProps,o===null?i.child=Jo(i,null,f,a):Ut(o,i,f,a),i.child;case 11:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Tn(f,h),T4(o,i,f,h,a);case 7:return Ut(o,i,i.pendingProps,a),i.child;case 8:return Ut(o,i,i.pendingProps.children,a),i.child;case 12:return Ut(o,i,i.pendingProps.children,a),i.child;case 10:e:{if(f=i.type._context,h=i.pendingProps,v=i.memoizedProps,_=h.value,nt(U1,f._currentValue),f._currentValue=_,v!==null)if(On(v.value,_)){if(v.children===h.children&&!Yt.current){i=lr(o,i,a);break e}}else for(v=i.child,v!==null&&(v.return=i);v!==null;){var E=v.dependencies;if(E!==null){_=v.child;for(var L=E.firstContext;L!==null;){if(L.context===f){if(v.tag===1){L=ar(-1,a&-a),L.tag=2;var B=v.updateQueue;if(B!==null){B=B.shared;var ie=B.pending;ie===null?L.next=L:(L.next=ie.next,ie.next=L),B.pending=L}}v.lanes|=a,L=v.alternate,L!==null&&(L.lanes|=a),Jc(v.return,a,i),E.lanes|=a;break}L=L.next}}else if(v.tag===10)_=v.type===i.type?null:v.child;else if(v.tag===18){if(_=v.return,_===null)throw Error(n(341));_.lanes|=a,E=_.alternate,E!==null&&(E.lanes|=a),Jc(_,a,i),_=v.sibling}else _=v.child;if(_!==null)_.return=v;else for(_=v;_!==null;){if(_===i){_=null;break}if(v=_.sibling,v!==null){v.return=_.return,_=v;break}_=_.return}v=_}Ut(o,i,h.children,a),i=i.child}return i;case 9:return h=i.type,f=i.pendingProps.children,Qo(i,a),h=_n(h),f=f(h),i.flags|=1,Ut(o,i,f,a),i.child;case 14:return f=i.type,h=Tn(f,i.pendingProps),h=Tn(f.type,h),N4(o,i,f,h,a);case 15:return P4(o,i,i.type,i.pendingProps,a);case 17:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Tn(f,h),oa(o,i),i.tag=1,Jt(f)?(o=!0,$1(i)):o=!1,Qo(i,a),S4(i,f,h),hu(i,f,h,a),vu(null,i,f,!0,o,a);case 19:return V4(o,i,a);case 22:return z4(o,i,a)}throw Error(n(156,i.tag))};function hf(o,i){return W2(o,i)}function Fv(o,i,a,f){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=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kn(o,i,a,f){return new Fv(o,i,a,f)}function Ru(o){return o=o.prototype,!(!o||!o.isReactComponent)}function $v(o){if(typeof o=="function")return Ru(o)?1:0;if(o!=null){if(o=o.$$typeof,o===$)return 11;if(o===we)return 14}return 2}function $r(o,i){var a=o.alternate;return a===null?(a=kn(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 ma(o,i,a,f,h,v){var _=2;if(f=o,typeof o=="function")Ru(o)&&(_=1);else if(typeof o=="string")_=5;else e:switch(o){case ee:return uo(a.children,h,v,i);case U:_=8,h|=8;break;case G:return o=kn(12,a,i,h|2),o.elementType=G,o.lanes=v,o;case K:return o=kn(13,a,i,h),o.elementType=K,o.lanes=v,o;case X:return o=kn(19,a,i,h),o.elementType=X,o.lanes=v,o;case Se:return ga(a,h,v,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case k:_=10;break e;case Y:_=9;break e;case $:_=11;break e;case we:_=14;break e;case fe:_=16,f=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=kn(_,a,i,h),i.elementType=o,i.type=f,i.lanes=v,i}function uo(o,i,a,f){return o=kn(7,o,f,i),o.lanes=a,o}function ga(o,i,a,f){return o=kn(22,o,f,i),o.elementType=Se,o.lanes=a,o.stateNode={isHidden:!1},o}function Du(o,i,a){return o=kn(6,o,null,i),o.lanes=a,o}function Fu(o,i,a){return i=kn(4,o.children!==null?o.children:[],o.key,i),i.lanes=a,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function Hv(o,i,a,f,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=fc(0),this.expirationTimes=fc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fc(0),this.identifierPrefix=f,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function $u(o,i,a,f,h,v,_,E,L){return o=new Hv(o,i,a,E,L),i===1?(i=1,v===!0&&(i|=8)):i=0,v=kn(3,null,null,i),o.current=v,v.stateNode=o,v.memoizedState={element:f,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qc(v),o}function Vv(o,i,a){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:V,key:f==null?null:""+f,children:o,containerInfo:i,implementation:a}}function pf(o){if(!o)return Lr;o=o._reactInternals;e:{if(Xr(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(Jt(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(Jt(a))return H3(o,a,i)}return i}function mf(o,i,a,f,h,v,_,E,L){return o=$u(a,f,!0,o,h,v,_,E,L),o.context=pf(null),a=o.current,f=qt(),h=Dr(a),v=ar(f,h),v.callback=i??null,Pr(a,v,h),o.current.lanes=h,Gi(o,h,f),en(o,f),o}function va(o,i,a,f){var h=i.current,v=qt(),_=Dr(h);return a=pf(a),i.context===null?i.context=a:i.pendingContext=a,i=ar(v,_),i.payload={element:o},f=f===void 0?null:f,f!==null&&(i.callback=f),o=Pr(h,i,_),o!==null&&(zn(o,h,_,v),G1(o,h,_)),_}function wa(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 gf(o,i){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var a=o.retryLane;o.retryLane=a!==0&&a<i?a:i}}function Hu(o,i){gf(o,i),(o=o.alternate)&&gf(o,i)}function Bv(){return null}var vf=typeof reportError=="function"?reportError:function(o){console.error(o)};function Vu(o){this._internalRoot=o}xa.prototype.render=Vu.prototype.render=function(o){var i=this._internalRoot;if(i===null)throw Error(n(409));va(o,i,null,null)},xa.prototype.unmount=Vu.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var i=o.containerInfo;ao(function(){va(null,o,null,null)}),i[nr]=null}};function xa(o){this._internalRoot=o}xa.prototype.unstable_scheduleHydration=function(o){if(o){var i=Q2();o={blockedOn:null,target:o,priority:i};for(var a=0;a<Er.length&&i!==0&&i<Er[a].priority;a++);Er.splice(a,0,o),a===0&&n3(o)}};function Bu(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function ya(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11&&(o.nodeType!==8||o.nodeValue!==" react-mount-point-unstable "))}function wf(){}function Zv(o,i,a,f,h){if(h){if(typeof f=="function"){var v=f;f=function(){var B=wa(_);v.call(B)}}var _=mf(i,f,o,0,null,!1,!1,"",wf);return o._reactRootContainer=_,o[nr]=_.current,ls(o.nodeType===8?o.parentNode:o),ao(),_}for(;h=o.lastChild;)o.removeChild(h);if(typeof f=="function"){var E=f;f=function(){var B=wa(L);E.call(B)}}var L=$u(o,0,!1,null,null,!1,!1,"",wf);return o._reactRootContainer=L,o[nr]=L.current,ls(o.nodeType===8?o.parentNode:o),ao(function(){va(i,L,a,f)}),L}function _a(o,i,a,f,h){var v=a._reactRootContainer;if(v){var _=v;if(typeof h=="function"){var E=h;h=function(){var L=wa(_);E.call(L)}}va(i,_,o,h)}else _=Zv(a,i,o,h,f);return wa(_)}J2=function(o){switch(o.tag){case 3:var i=o.stateNode;if(i.current.memoizedState.isDehydrated){var a=qi(i.pendingLanes);a!==0&&(hc(i,a|1),en(i,vt()),(Ke&6)===0&&(oi=vt()+500,Tr()))}break;case 13:ao(function(){var f=sr(o,1);if(f!==null){var h=qt();zn(f,o,1,h)}}),Hu(o,1)}},pc=function(o){if(o.tag===13){var i=sr(o,134217728);if(i!==null){var a=qt();zn(i,o,134217728,a)}Hu(o,134217728)}},X2=function(o){if(o.tag===13){var i=Dr(o),a=sr(o,i);if(a!==null){var f=qt();zn(a,o,i,f)}Hu(o,i)}},Q2=function(){return Qe},e3=function(o,i){var a=Qe;try{return Qe=o,i()}finally{Qe=a}},sc=function(o,i,a){switch(i){case"input":if(ln(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 f=a[i];if(f!==o&&f.form===o.form){var h=D1(f);if(!h)throw Error(n(90));ut(f),ln(f,h)}}}break;case"textarea":Fi(o,a);break;case"select":i=a.value,i!=null&&mt(o,!!a.multiple,i,!1)}},D2=Pu,F2=ao;var Wv={usingClientEntryPoint:!1,Events:[ds,Wo,D1,A2,R2,Pu]},Ss={findFiberByHostInstance:Qr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Uv={bundleType:Ss.bundleType,version:Ss.version,rendererPackageName:Ss.rendererPackageName,rendererConfig:Ss.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=B2(o),o===null?null:o.stateNode},findFiberByHostInstance:Ss.findFiberByHostInstance||Bv,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 ba=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ba.isDisabled&&ba.supportsFiber)try{x1=ba.inject(Uv),Zn=ba}catch{}}return tn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Wv,tn.createPortal=function(o,i){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Bu(i))throw Error(n(200));return Vv(o,i,null,a)},tn.createRoot=function(o,i){if(!Bu(o))throw Error(n(299));var a=!1,f="",h=vf;return i!=null&&(i.unstable_strictMode===!0&&(a=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onRecoverableError!==void 0&&(h=i.onRecoverableError)),i=$u(o,1,!1,null,null,a,!1,f,h),o[nr]=i.current,ls(o.nodeType===8?o.parentNode:o),new Vu(i)},tn.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=B2(i),o=o===null?null:o.stateNode,o},tn.flushSync=function(o){return ao(o)},tn.hydrate=function(o,i,a){if(!ya(i))throw Error(n(200));return _a(null,o,i,!0,a)},tn.hydrateRoot=function(o,i,a){if(!Bu(o))throw Error(n(405));var f=a!=null&&a.hydratedSources||null,h=!1,v="",_=vf;if(a!=null&&(a.unstable_strictMode===!0&&(h=!0),a.identifierPrefix!==void 0&&(v=a.identifierPrefix),a.onRecoverableError!==void 0&&(_=a.onRecoverableError)),i=mf(i,null,o,1,a??null,h,!1,v,_),o[nr]=i.current,ls(o),f)for(o=0;o<f.length;o++)a=f[o],h=a._getVersion,h=h(a._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[a,h]:i.mutableSourceEagerHydrationData.push(a,h);return new xa(i)},tn.render=function(o,i,a){if(!ya(i))throw Error(n(200));return _a(null,o,i,!1,a)},tn.unmountComponentAtNode=function(o){if(!ya(o))throw Error(n(40));return o._reactRootContainer?(ao(function(){_a(null,null,o,!1,function(){o._reactRootContainer=null,o[nr]=null})}),!0):!1},tn.unstable_batchedUpdates=Pu,tn.unstable_renderSubtreeIntoContainer=function(o,i,a,f){if(!ya(a))throw Error(n(200));if(o==null||o._reactInternals===void 0)throw Error(n(38));return _a(o,i,a,!1,f)},tn.version="18.3.1-next-f1338f8080-20240426",tn}var F5;function F8(){if(F5)return u0.exports;F5=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(),u0.exports=Lj(),u0.exports}var gn=F8();const Tj=u1(gn),Nj=_l({__proto__:null,default:Tj},[gn]);var Na={},$5;function Pj(){if($5)return Na;$5=1;var e=F8();return Na.createRoot=e.createRoot,Na.hydrateRoot=e.hydrateRoot,Na}var $8=Pj();const zj=u1($8),Aj=_l({__proto__:null,default:zj},[$8]);function Rj(e){return`use${e[0]?.toUpperCase()??""}${e.slice(1)}`}class Dj extends Error{}class Fj extends Error{}function $j(e){return typeof e=="function"?e():e}const Pa=Object.freeze([]);class Hj{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 d of Object.keys(r.children??{})){const p=this.records.get(d);if(p?.spec!==void 0)throw new Error(`slot "${d}" is already declared (by ${p.declaredBy??"an unknown entry"})`)}if(r.store!==void 0&&typeof r.store!="function"){const d=this.handleScopes.get(r.store);if(d!==void 0&&d.scope!==r.scope)throw new Error(`store handle mounted under factory "${r.name}" (scope "${r.scope}") is already mounted under scope "${d.scope}" — one handle, one scope`);d!==void 0?d.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[d,p]of Object.entries(r.children??{})){const m=this.record(d);m.spec=p,m.declaredBy=`factory "${r.name}"${r.registrant?` (${r.registrant})`:""}`,m.parent=`factory:${r.name}`,m.declarationEpoch+=1,u.push([d,m])}for(const[d,p]of u)this.markDirty(d,p);for(const[,d]of u)this.notifyDeclaration(d);return()=>{if(s.definition===l){if(s.definition=void 0,this.markFactoryDirty(s),l.store!==void 0&&typeof l.store!="function"){const d=this.handleScopes.get(l.store);d!==void 0&&--d.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(g=>(g.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(g=>g.options.key===t.key&&(g.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(g=>g.options.id===t.id&&(g.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 g=this.records.get(m);if(g?.spec)throw new Error(`slot "${m}" is already declared (by ${g.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 d={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,d];if(p.sort(s.kind==="list"?(m,g)=>(m.options.priority??0)-(g.options.priority??0)||(m.options.order??0)-(g.options.order??0):(m,g)=>(m.options.priority??0)-(g.options.priority??0)),r.entries=p,this.markDirty(t.name,r),t.children){const m=[];for(const[g,w]of Object.entries(t.children)){const x=this.record(g);x.spec=w,x.declaredBy=`an entry in "${t.name}"${t.registrant?` (${t.registrant})`:""}`,x.parent=t.name,x.declarationEpoch+=1,m.push([g,x])}for(const[g,w]of m)this.markDirty(g,w);for(const[,g]of m)this.notifyDeclaration(g)}return()=>{r.entries.includes(d)&&(r.entries=r.entries.filter(m=>m!==d),this.markDirty(t.name,r),this.releaseEntry(d))}}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??Pa}entriesOfSlot(t){const n=this.records.get(t);if(!n?.spec)return Pa;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 d=r==="keyed"?u.options.key:r==="list"?u.options.id:void 0;l.has(d)||(l.add(d),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,d)=>{const p=this.records.get(u);if(p?.spec===void 0||d.has(u))return;const m=new Set(d);m.add(u);const g=new Set(this.entriesOfSlot(u)),w=[...this.records.entries()].filter(([,x])=>x.spec!==void 0&&x.parent===u).flatMap(([x])=>{const y=n(x,m);return y===void 0?[]:[y]});return{type:"slot",name:u,kind:p.spec.kind,scope:p.spec.scope,...p.declaredBy===void 0?{}:{declaredBy:p.declaredBy},occupants:p.entries.map(x=>({...x.registrant===void 0?{}:{registrant:x.registrant},...x.options.key===void 0?{}:{key:x.options.key},...x.options.id===void 0?{}:{id:x.options.id},...x.options.order===void 0?{}:{order:x.options.order},priority:x.options.priority??0,active:g.has(x)})),children:w}},r=u=>{const d=this.factories.get(u)?.definition;if(d===void 0)return;const p=`factory:${u}`,m=[...this.records.entries()].filter(([,g])=>g.spec!==void 0&&g.parent===p).flatMap(([g])=>{const w=n(g,new Set([p]));return w===void 0?[]:[w]});return{type:"factory",name:u,scope:d.scope,...d.registrant===void 0?{}:{registrant:d.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 d=n(u,new Set);return d===void 0?[]:[d]}),l=[...this.factories.keys()].flatMap(u=>{const d=r(u);return d===void 0?[]:[d]});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=Pa,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:Pa,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 Vj=Object.freeze(Object.defineProperty({__proto__:null,SlotCore:Hj,SlotOwnershipError:Fj,StaleAuthorizationError:Dj,resolveSlotLabel:$j,standardHookPropName:Rj},Symbol.toStringTag,{value:"Module"}));async function Zl(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 Bj=1e3;function f1(e){const[t,n]=S.useState(!1),r=S.useCallback(()=>{t||(async()=>{try{const s=typeof e=="function"?await e():e;if(!await Zl(s))return;n(!0),window.setTimeout(()=>n(!1),Bj)}catch{return}})()},[t,e]);return{copied:t,onCopy:r}}function H8(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=H8(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function xe(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=H8(e))&&(r&&(r+=" "),r+=t);return r}const Zj="_dot_1i08g_2",Wj="_spinner_1i08g_37",Uj="_spinnerMotion_1i08g_42",qj="_spinnerTrack_1i08g_47",Gj="_spinnerArc_1i08g_48",Kj="_step_1i08g_99",ai={dot:Zj,spinner:Wj,spinnerMotion:Uj,spinnerTrack:qj,spinnerArc:Gj,step:Kj},V8=({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"})]}),B8=({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"})]}),Xd=({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"})]}),Qd=({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"})]}),e2=({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"})]}),Wl=({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"})]}),Z8="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",se=1,ae=1.3,Yj=e=>c.jsx(V8,{...e}),Jj=e=>c.jsx(V8,{...e}),W8=({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"})]}),Xj=e=>c.jsx(W8,{...e,strokeWidth:se}),Qj=e=>c.jsx(W8,{...e,strokeWidth:ae}),eI=e=>c.jsx(Xd,{...e,strokeWidth:se}),tI=e=>c.jsx(Xd,{...e,strokeWidth:ae}),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:"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"})]}),nI=e=>c.jsx(U8,{...e,strokeWidth:se}),rI=e=>c.jsx(U8,{...e,strokeWidth:ae}),q8=({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"})]}),G8=e=>c.jsx(q8,{...e,strokeWidth:se}),oI=e=>c.jsx(q8,{...e,strokeWidth:ae}),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:"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"})]}),iI=e=>c.jsx(K8,{...e,strokeWidth:se}),sI=e=>c.jsx(K8,{...e,strokeWidth:ae}),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 2V14",stroke:"currentColor"}),c.jsx("path",{d:"M2 8H14",stroke:"currentColor"})]}),J8=e=>c.jsx(Y8,{...e,strokeWidth:se}),aI=e=>c.jsx(Y8,{...e,strokeWidth:ae}),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:"M2.25 8.5L5.49732 11.7473C5.90519 12.1552 6.57263 12.1344 6.95426 11.7018L13.75 4",stroke:"currentColor"})}),Ni=e=>c.jsx(X8,{...e,strokeWidth:se}),lI=e=>c.jsx(X8,{...e,strokeWidth:ae}),Q8=({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"})]}),cI=e=>c.jsx(Q8,{...e,strokeWidth:se}),uI=e=>c.jsx(Q8,{...e,strokeWidth:ae}),e7=({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"})}),t7=e=>c.jsx(e7,{...e,strokeWidth:se}),dI=e=>c.jsx(e7,{...e,strokeWidth:ae}),n7=({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"})}),r7=e=>c.jsx(n7,{...e,strokeWidth:se}),fI=e=>c.jsx(n7,{...e,strokeWidth:ae}),o7=({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"})}),hI=e=>c.jsx(o7,{...e,strokeWidth:se}),pI=e=>c.jsx(o7,{...e,strokeWidth:ae}),i7=({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"})}),mI=e=>c.jsx(i7,{...e,strokeWidth:se}),gI=e=>c.jsx(i7,{...e,strokeWidth:ae}),s7=({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"})}),a7=e=>c.jsx(s7,{...e,strokeWidth:se}),vI=e=>c.jsx(s7,{...e,strokeWidth:ae}),l7=({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"})]}),Ul=e=>c.jsx(l7,{...e,strokeWidth:se}),wI=e=>c.jsx(l7,{...e,strokeWidth:ae}),c7=({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"})]}),t2=e=>c.jsx(c7,{...e,strokeWidth:se}),xI=e=>c.jsx(c7,{...e,strokeWidth:ae}),u7=({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"})}),yI=e=>c.jsx(u7,{...e,strokeWidth:se}),_I=e=>c.jsx(u7,{...e,strokeWidth:ae}),d7=({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"})]}),n2=e=>c.jsx(d7,{...e,strokeWidth:se}),bI=e=>c.jsx(d7,{...e,strokeWidth:ae}),f7=({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"})]}),h7=e=>c.jsx(f7,{...e,strokeWidth:se}),CI=e=>c.jsx(f7,{...e,strokeWidth:ae}),p7=({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"})}),kI=e=>c.jsx(p7,{...e,strokeWidth:se}),SI=e=>c.jsx(p7,{...e,strokeWidth:ae}),m7=({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"})}),EI=e=>c.jsx(m7,{...e,strokeWidth:se}),jI=e=>c.jsx(m7,{...e,strokeWidth:ae}),g7=({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"})}),II=e=>c.jsx(g7,{...e,strokeWidth:se}),MI=e=>c.jsx(g7,{...e,strokeWidth:ae}),v7=({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"})}),OI=e=>c.jsx(v7,{...e,strokeWidth:se}),LI=e=>c.jsx(v7,{...e,strokeWidth:ae}),w7=({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"})}),TI=e=>c.jsx(w7,{...e,strokeWidth:se}),NI=e=>c.jsx(w7,{...e,strokeWidth:ae}),x7=({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"})]}),PI=e=>c.jsx(x7,{...e,strokeWidth:se}),zI=e=>c.jsx(x7,{...e,strokeWidth:ae}),y7=({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"})]}),AI=e=>c.jsx(y7,{...e,strokeWidth:se}),RI=e=>c.jsx(y7,{...e,strokeWidth:ae}),_7=({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"})]}),DI=e=>c.jsx(_7,{...e,strokeWidth:se}),FI=e=>c.jsx(_7,{...e,strokeWidth:ae}),b7=({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"})]}),$I=e=>c.jsx(b7,{...e,strokeWidth:se}),HI=e=>c.jsx(b7,{...e,strokeWidth:ae}),VI=e=>c.jsx(e2,{...e,strokeWidth:se}),BI=e=>c.jsx(e2,{...e,strokeWidth:ae}),C7=({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"})]}),ZI=e=>c.jsx(C7,{...e,strokeWidth:se}),WI=e=>c.jsx(C7,{...e,strokeWidth:ae}),k7=({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"})]}),UI=e=>c.jsx(k7,{...e,strokeWidth:se}),qI=e=>c.jsx(k7,{...e,strokeWidth:ae}),S7=({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"})]}),GI=e=>c.jsx(S7,{...e,strokeWidth:se}),KI=e=>c.jsx(S7,{...e,strokeWidth:ae}),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:"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"})]}),YI=e=>c.jsx(E7,{...e,strokeWidth:se}),JI=e=>c.jsx(E7,{...e,strokeWidth:ae}),j7=({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"})]}),XI=e=>c.jsx(j7,{...e,strokeWidth:se}),QI=e=>c.jsx(j7,{...e,strokeWidth:ae}),I7=({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"})]}),M7=e=>c.jsx(I7,{...e,strokeWidth:se}),eM=e=>c.jsx(I7,{...e,strokeWidth:ae}),O7=({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"})]}),tM=e=>c.jsx(O7,{...e,strokeWidth:se}),nM=e=>c.jsx(O7,{...e,strokeWidth:ae}),L7=({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"})]}),rM=e=>c.jsx(L7,{...e,strokeWidth:se}),oM=e=>c.jsx(L7,{...e,strokeWidth:ae}),T7=({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"})]}),iM=e=>c.jsx(T7,{...e,strokeWidth:se}),sM=e=>c.jsx(T7,{...e,strokeWidth:ae}),N7=({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"})]}),aM=e=>c.jsx(N7,{...e,strokeWidth:se}),lM=e=>c.jsx(N7,{...e,strokeWidth:ae}),P7=({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"})]}),cM=e=>c.jsx(P7,{...e,strokeWidth:se}),uM=e=>c.jsx(P7,{...e,strokeWidth:ae}),z7=({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"})}),dM=e=>c.jsx(z7,{...e,strokeWidth:se}),fM=e=>c.jsx(z7,{...e,strokeWidth:ae}),A7=({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"})}),hM=e=>c.jsx(A7,{...e,strokeWidth:se}),pM=e=>c.jsx(A7,{...e,strokeWidth:ae}),R7=({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"})}),D7=e=>c.jsx(R7,{...e,strokeWidth:se}),mM=e=>c.jsx(R7,{...e,strokeWidth:ae}),F7=({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"})]}),gM=e=>c.jsx(F7,{...e,strokeWidth:se}),vM=e=>c.jsx(F7,{...e,strokeWidth:ae}),$7=({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"})]}),wM=e=>c.jsx($7,{...e,strokeWidth:se}),xM=e=>c.jsx($7,{...e,strokeWidth:ae}),H7=({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"})]}),yM=e=>c.jsx(H7,{...e,strokeWidth:se}),_M=e=>c.jsx(H7,{...e,strokeWidth:ae}),V7=({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"})]}),bM=e=>c.jsx(V7,{...e,strokeWidth:se}),CM=e=>c.jsx(V7,{...e,strokeWidth:ae}),B7=({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"})]}),kM=e=>c.jsx(B7,{...e,strokeWidth:se}),SM=e=>c.jsx(B7,{...e,strokeWidth:ae}),Z7=({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"})]}),EM=e=>c.jsx(Z7,{...e,strokeWidth:se}),jM=e=>c.jsx(Z7,{...e,strokeWidth:ae}),W7=({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"})]}),IM=e=>c.jsx(W7,{...e,strokeWidth:se}),MM=e=>c.jsx(W7,{...e,strokeWidth:ae}),U7=({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"})]}),OM=e=>c.jsx(U7,{...e,strokeWidth:se}),LM=e=>c.jsx(U7,{...e,strokeWidth:ae}),q7=({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"})]}),TM=e=>c.jsx(q7,{...e,strokeWidth:se}),NM=e=>c.jsx(q7,{...e,strokeWidth:ae}),G7=({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"})]}),PM=e=>c.jsx(G7,{...e,strokeWidth:se}),zM=e=>c.jsx(G7,{...e,strokeWidth:ae}),K7=({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"})]}),AM=e=>c.jsx(K7,{...e,strokeWidth:se}),RM=e=>c.jsx(K7,{...e,strokeWidth:ae}),DM=e=>c.jsx(Wl,{...e,strokeWidth:se}),FM=e=>c.jsx(Wl,{...e,strokeWidth:ae}),Y7=({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"})}),$M=e=>c.jsx(Y7,{...e,strokeWidth:se}),HM=e=>c.jsx(Y7,{...e,strokeWidth:ae}),J7=({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"})]}),VM=e=>c.jsx(J7,{...e,strokeWidth:se}),BM=e=>c.jsx(J7,{...e,strokeWidth:ae}),X7=({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"})}),ZM=e=>c.jsx(X7,{...e,strokeWidth:se}),WM=e=>c.jsx(X7,{...e,strokeWidth:ae}),Q7=({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"})]}),UM=e=>c.jsx(Q7,{...e,strokeWidth:se}),qM=e=>c.jsx(Q7,{...e,strokeWidth:ae}),ep=({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"})]}),tp=e=>c.jsx(ep,{...e,strokeWidth:se}),GM=e=>c.jsx(ep,{...e,strokeWidth:ae}),np=({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"})]}),KM=e=>c.jsx(np,{...e,strokeWidth:se}),YM=e=>c.jsx(np,{...e,strokeWidth:ae}),rp=({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"})]}),JM=e=>c.jsx(rp,{...e,strokeWidth:se}),XM=e=>c.jsx(rp,{...e,strokeWidth:ae}),op=({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"})]}),QM=e=>c.jsx(op,{...e,strokeWidth:se}),eO=e=>c.jsx(op,{...e,strokeWidth:ae}),ip=({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"})]}),tO=e=>c.jsx(ip,{...e,strokeWidth:se}),nO=e=>c.jsx(ip,{...e,strokeWidth:ae}),sp=({size:e=14,...t})=>c.jsx(B8,{size:e,...t}),rO=e=>c.jsx(sp,{...e,strokeWidth:se}),oO=e=>c.jsx(sp,{...e,strokeWidth:ae}),ap=({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"})]}),iO=e=>c.jsx(ap,{...e,strokeWidth:se}),sO=e=>c.jsx(ap,{...e,strokeWidth:ae}),r2=({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"})]}),aO=e=>c.jsx(r2,{...e,strokeWidth:se}),lO=e=>c.jsx(r2,{...e,strokeWidth:ae}),lp=({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"})]}),cO=e=>c.jsx(lp,{...e,strokeWidth:se}),uO=e=>c.jsx(lp,{...e,strokeWidth:ae}),cp=({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"})]}),dO=e=>c.jsx(cp,{...e,strokeWidth:se}),fO=e=>c.jsx(cp,{...e,strokeWidth:ae}),hO=e=>c.jsx(Qd,{...e,size:e.size??12,strokeWidth:se}),pO=e=>c.jsx(Qd,{...e,size:e.size??12,strokeWidth:ae}),up=({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"})]}),dp=e=>c.jsx(up,{...e,strokeWidth:se}),mO=e=>c.jsx(up,{...e,strokeWidth:ae}),fp=({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"})]}),gO=e=>c.jsx(fp,{...e,strokeWidth:se}),vO=e=>c.jsx(fp,{...e,strokeWidth:ae}),hp=({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"})]}),pp=e=>c.jsx(hp,{...e,strokeWidth:se}),wO=e=>c.jsx(hp,{...e,strokeWidth:ae}),mp=({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"})]}),xO=e=>c.jsx(mp,{...e,strokeWidth:se}),yO=e=>c.jsx(mp,{...e,strokeWidth:ae}),gp=({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"})]}),_O=e=>c.jsx(gp,{...e,strokeWidth:se}),bO=e=>c.jsx(gp,{...e,strokeWidth:ae}),vp=({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"})]}),CO=e=>c.jsx(vp,{...e,strokeWidth:se}),kO=e=>c.jsx(vp,{...e,strokeWidth:ae}),wp=({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"})]}),xp=e=>c.jsx(wp,{...e,strokeWidth:se}),SO=e=>c.jsx(wp,{...e,strokeWidth:ae}),yp=({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"})]}),_p=e=>c.jsx(yp,{...e}),EO=e=>c.jsx(yp,{...e}),bp=({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"})]}),Cp=e=>c.jsx(bp,{...e}),jO=e=>c.jsx(bp,{...e}),kp=({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"})]}),IO=e=>c.jsx(kp,{...e,strokeWidth:se}),MO=e=>c.jsx(kp,{...e,strokeWidth:ae}),Sp=e=>c.jsx(r2,{...e,size:e.size??14}),OO=e=>c.jsx(Sp,{...e,strokeWidth:se}),LO=e=>c.jsx(Sp,{...e,strokeWidth:ae}),Ep=({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"})]}),TO=e=>c.jsx(Ep,{...e,strokeWidth:se}),NO=e=>c.jsx(Ep,{...e,strokeWidth:ae}),jp=({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:Z8,stroke:"currentColor",strokeLinejoin:"round"})}),PO=e=>c.jsx(jp,{...e,strokeWidth:se}),zO=e=>c.jsx(jp,{...e,strokeWidth:ae}),Ip=({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"})]}),Mp=e=>c.jsx(Ip,{...e,strokeWidth:se}),AO=e=>c.jsx(Ip,{...e,strokeWidth:ae}),Op=({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"})]}),RO=e=>c.jsx(Op,{...e,strokeWidth:se}),DO=e=>c.jsx(Op,{...e,strokeWidth:ae}),Lp=({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"})]}),FO=e=>c.jsx(Lp,{...e,strokeWidth:se}),$O=e=>c.jsx(Lp,{...e,strokeWidth:ae}),Tp=({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"})]}),HO=e=>c.jsx(Tp,{...e,strokeWidth:se}),VO=e=>c.jsx(Tp,{...e,strokeWidth:ae}),Np=({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"})]}),BO=e=>c.jsx(Np,{...e,strokeWidth:se}),ZO=e=>c.jsx(Np,{...e,strokeWidth:ae}),Pp=({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"})]}),WO=e=>c.jsx(Pp,{...e,strokeWidth:se}),UO=e=>c.jsx(Pp,{...e,strokeWidth:ae}),zp=({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"})]}),qO=e=>c.jsx(zp,{...e,strokeWidth:se}),GO=e=>c.jsx(zp,{...e,strokeWidth:ae}),Ap=({size:e=16,className:t,strokeWidth:n})=>{const r=`dsh-archive-off-${S.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"})]})},KO=e=>c.jsx(Ap,{...e,strokeWidth:se}),YO=e=>c.jsx(Ap,{...e,strokeWidth:ae}),Rp=({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"})]}),JO=e=>c.jsx(Rp,{...e,strokeWidth:se}),XO=e=>c.jsx(Rp,{...e,strokeWidth:ae}),Dp=({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"})]}),QO=e=>c.jsx(Dp,{...e,strokeWidth:se}),eL=e=>c.jsx(Dp,{...e,strokeWidth:ae}),Fp=({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"})]}),tL=e=>c.jsx(Fp,{...e,strokeWidth:se}),nL=e=>c.jsx(Fp,{...e,strokeWidth:ae});function rL(e){e!==null&&(H5(e),e.addEventListener("animationstart",()=>{H5(e)}))}function H5(e){const t=e;for(const n of t.getAnimations?.({subtree:!0})??[])n.startTime=0}function o2({state:e,size:t,className:n,appearance:r="dot"}){const s=t??(e==="ongoing"?14:10);return e==="ongoing"?c.jsx("svg",{ref:rL,className:xe(ai.spinner,n),"data-state":"ongoing",width:s,height:s,viewBox:"0 0 24 24","aria-hidden":"true",children:c.jsxs("g",{className:ai.spinnerMotion,children:[c.jsx("circle",{className:ai.spinnerTrack,cx:"12",cy:"12",r:"9.5"}),c.jsx("circle",{className:ai.spinnerArc,cx:"12",cy:"12",r:"9.5"})]})}):c.jsx("span",{className:xe(r==="step"?ai.step:ai.dot,n),"data-state":e,style:{width:s,height:s},"aria-hidden":"true",children:r==="step"&&e==="done"&&c.jsx(Ni,{size:s-2})})}const h0=new Map,$p=new Map;function oL(e){const t=h0.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 d=u;return $p.set(e,d),d}).catch(l=>{throw h0.delete(e),l}).finally(()=>clearTimeout(r));return h0.set(e,s),s}function Hp({id:e,src:t,presentationUrl:n,size:r,className:s,fallback:l}){const[u,d]=S.useState(()=>{const m=$p.get(n);return m?{url:n,icons:m}:null});if(S.useEffect(()=>{let m=!0;return oL(n).then(g=>{m&&d({url:n,icons:g})},()=>{m&&d(null)}),()=>{m=!1}},[n]),!u||u.url!==n)return l;const p=u.icons[e];if(p?.vector){const{paths:m,color:g,viewBox:w}=p.vector;return c.jsx("svg",{className:s,viewBox:w,width:r,height:r,"aria-hidden":"true",focusable:"false",style:{fill:g,flex:"none"},children:m.map((x,y)=>c.jsx("path",{d:x.d,fillRule:x.fillRule,fill:x.fill},y))})}return c.jsx(iL,{src:t,size:r,className:s,presentation:p,fallback:l},t)}function iL({src:e,size:t,className:n,presentation:r,fallback:s}){const[l,u]=S.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 sL({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 aL({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:se,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 lL="_root_r2lcn_1",cL="_content_r2lcn_11",uL="_text_r2lcn_17",dL="_decoration_r2lcn_25",fL="_sweep_r2lcn_34",hL="_highlight_r2lcn_54",yo={root:lL,content:cL,text:uL,decoration:dL,sweep:fL,highlight:hL},qa=S.createContext(void 0);function V5({children:e,className:t}){const r=S.useContext(qa)===!0&&typeof e=="string";return c.jsx("span",{className:xe(yo.text,t),"data-shimmer-text":r?e:void 0,children:r?null:e})}const td=S.memo(function({children:t,active:n=!1,className:r,contentClassName:s}){if(S.useContext(qa)!==void 0)return c.jsx(V5,{className:r,children:t});const u=typeof t=="string"?c.jsx(V5,{children:t}):t;return c.jsxs("span",{className:xe(yo.root,r),"data-shimmer":n||void 0,children:[c.jsx(qa.Provider,{value:!1,children:c.jsx("span",{className:xe(yo.content,s),children:u})}),n&&c.jsx("span",{className:yo.decoration,"aria-hidden":"true",inert:"",children:c.jsx("span",{className:yo.sweep,children:c.jsx(qa.Provider,{value:!0,children:c.jsx("span",{className:xe(yo.content,yo.highlight,s),children:u})})})})]})}),pL="_root_1vqtz_9",mL="_row_1vqtz_16",gL="_leading_1vqtz_41",vL="_iconIdle_1vqtz_69",wL="_chevronHover_1vqtz_75",xL="_title_1vqtz_93",ho={root:pL,row:mL,leading:gL,iconIdle:vL,chevronHover:wL,title:xL},yL=S.memo(function({icon:t,title:n,open:r,expandable:s,onToggle:l,running:u=!1,expandOnRowClick:d=!1,previewChevron:p=s,keepContentWhenOpen:m=!1,collapsedContent:g,children:w,className:x,rowClassName:y,contentClassName:b,contentLayoutClassName:j,leadingClassName:I,chevronClassName:P,titleClassName:M}){const H=s&&d,z=U=>{U.stopPropagation(),l()},W=U=>{!H||U.key!=="Enter"&&U.key!==" "||(U.preventDefault(),l())},V=p?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:ho.iconIdle,children:t}),c.jsx(t7,{className:xe(P,ho.chevronHover)})]}):t,ee=r?c.jsx(a7,{className:P}):V;return c.jsxs("div",{className:xe(ho.root,x),"data-open":r||void 0,children:[c.jsxs("div",{className:xe(ho.row,y),"data-disclosure-row":!0,"data-expandable":H||void 0,role:H?"button":void 0,tabIndex:H?0:void 0,"aria-expanded":H?r:void 0,onClick:H?l:void 0,onKeyDown:H?W:void 0,children:[s&&!H?c.jsx("button",{type:"button",className:xe(ho.leading,I),"aria-label":n,"aria-expanded":r,onClick:z,children:ee}):c.jsx("span",{className:xe(ho.leading,I),children:ee}),c.jsxs(td,{active:u,className:b,contentClassName:j,children:[c.jsx(td,{className:xe(ho.title,M),children:n}),(m||!r)&&g]})]}),r&&w]})}),_L="_button_1clvl_2",bL="_md_1clvl_29",CL="_sm_1clvl_34",kL="_primary_1clvl_42",SL="_ghost_1clvl_51",EL="_outline_1clvl_56",jL="_toolbar_1clvl_65",IL="_icon_1clvl_91",za={button:_L,md:bL,sm:CL,primary:kL,ghost:SL,outline:EL,toolbar:jL,icon:IL},nd=S.forwardRef(function({variant:t="ghost",size:n="md",icon:r,className:s,children:l,...u},d){return c.jsxs("button",{ref:d,type:"button",className:xe(za.button,za[t],za[n],s),...u,children:[r!=null&&c.jsx("span",{className:za.icon,children:r}),l]})}),ML="_pill_1bqmh_1",OL="_interactive_1bqmh_16",LL="_active_1bqmh_24",Is={pill:ML,interactive:OL,active:LL};function i2({active:e=!1,className:t,children:n,onClick:r,...s}){return r?c.jsx("button",{type:"button",className:xe(Is.pill,Is.interactive,e&&Is.active,t),onClick:r,...s,children:n}):c.jsx("span",{className:xe(Is.pill,e&&Is.active,t),children:n})}const TL="_row_vgkh2_3",NL="_rowText_vgkh2_12",PL="_title_vgkh2_20",zL="_description_vgkh2_27",AL="_choices_vgkh2_34",RL="_choice_vgkh2_34",DL={row:TL,rowText:NL,title:PL,description:zL,choices:AL,choice:RL},FL="_tabs_19aqj_1",$L="_indicator_19aqj_9",HL="_tab_19aqj_1",p0={tabs:FL,indicator:$L,tab:HL};function VL({items:e,value:t,onChange:n,label:r,className:s}){const l=e.findIndex(d=>d.value===t),u=(d,p)=>{let m;switch(d.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}d.preventDefault(),d.stopPropagation();const g=d.currentTarget.parentElement,w=e[m];g===null||w===void 0||(g.querySelectorAll('[role="tab"]').item(m).focus(),n(w.value))};return c.jsxs("div",{role:"tablist","aria-label":r,className:xe(p0.tabs,s),style:{gridTemplateColumns:`repeat(${e.length}, minmax(0, 1fr))`},children:[c.jsx("span",{className:p0.indicator,"aria-hidden":"true",style:{width:`calc((100% - 8px) / ${e.length})`,transform:`translateX(${l*100}%)`}}),e.map((d,p)=>c.jsx(i2,{id:d.id,role:"tab",className:p0.tab,"aria-selected":t===d.value,"aria-controls":d.panelId,tabIndex:t===d.value?0:-1,onClick:()=>{n(d.value)},onKeyDown:m=>{u(m,p)},children:d.label},d.value))]})}const BL="_tag_usm2l_4",ZL={tag:BL};function s2({tone:e="outline",className:t,children:n}){return c.jsx("span",{className:xe(ZL.tag,t),"data-tone":e,children:n})}function WL(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 UL="_path_1kiio_3",qL="_text_1kiio_17",GL="_directory_1kiio_22",KL="_name_1kiio_26",Aa={path:UL,text:qL,directory:GL,name:KL};function YL({path:e,className:t,...n}){const r=S.useRef(null),s=S.useRef(null),{directory:l,name:u}=WL(e);return S.useLayoutEffect(()=>{const d=r.current,p=s.current,m=()=>{d.toggleAttribute("data-path-clipped",p.offsetWidth>d.clientWidth)};m();const g=typeof ResizeObserver>"u"?void 0:new ResizeObserver(m);return g?.observe(d),g?.observe(p),()=>{g?.disconnect()}},[e]),c.jsx("span",{...n,ref:r,className:xe(Aa.path,t),title:e,"data-path-label":!0,children:c.jsxs("span",{ref:s,className:Aa.text,children:[l!==""&&c.jsx("span",{className:Aa.directory,children:l}),c.jsx("span",{className:Aa.name,children:u})]})})}const JL="_thumb_1jvir_37",B5={switch:"_switch_1jvir_5",thumb:JL};function XL({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:xe(B5.switch,l),onClick:()=>{t(!e)},children:c.jsx("span",{className:B5.thumb})})}const QL="_control_1oziv_11",eT="_indicator_1oziv_22",tT="_tab_1oziv_37",m0={control:QL,indicator:eT,tab:tT};function nT(e){return e==="ArrowLeft"||e==="ArrowRight"||e==="ArrowUp"||e==="ArrowDown"||e==="Home"||e==="End"}function rT(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 d=e[((t+s*u)%l+l)%l];if(d!==void 0&&d.disabled!==!0)return d}}function oT({id:e,value:t,options:n,onChange:r,label:s,disabled:l=!1,className:u}){const d=S.useRef(null),p=n.findIndex(w=>w.value===t);S.useEffect(()=>{const w=d.current;w!==null&&w.contains(document.activeElement)&&w.querySelector('[role="tab"][aria-selected="true"]')?.focus()},[t]);const m=w=>{if(!nT(w.key))return;w.preventDefault();const x=rT(n,p,w.key);x!==void 0&&x.value!==t&&r(x.value)},g={"--dsh-segment-count":String(n.length),"--dsh-segment-index":String(p)};return c.jsxs("div",{ref:d,role:"tablist","aria-label":s,className:xe(m0.control,u),style:g,children:[c.jsx("span",{"aria-hidden":"true",className:m0.indicator}),n.map(w=>{const x=w.value===t;return c.jsx("button",{id:`${e}-${w.value}`,type:"button",role:"tab","aria-selected":x,"aria-controls":`${e}-${w.value}-panel`,tabIndex:x?0:-1,disabled:l||w.disabled===!0,title:w.title,className:m0.tab,onClick:()=>{x||r(w.value)},onKeyDown:m,children:w.label},w.value)})]})}const iT="_checkbox_oegbd_1",sT={checkbox:iT};function aT({checked:e,onChange:t,label:n,disabled:r=!1,title:s,className:l}){return c.jsxs("label",{className:xe(sT.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 lT="_wrap_gyn8v_1",cT="_icon_gyn8v_16",uT="_input_gyn8v_25",g0={wrap:lT,icon:cT,input:uT},dT=S.forwardRef(function({icon:t,className:n,...r},s){return c.jsxs("span",{className:xe(g0.wrap,n),children:[t!=null&&c.jsx("span",{className:g0.icon,children:t}),c.jsx("input",{ref:s,className:g0.input,...r})]})}),fT="_editor_61ozo_1",hT={editor:fT};function pT({value:e,label:t,onChange:n,onSave:r,onCancel:s,className:l}){const u=S.useRef(null);S.useLayoutEffect(()=>{const p=u.current,m=()=>{p.style.height="auto",p.style.height=`${p.scrollHeight+p.offsetHeight-p.clientHeight}px`};m();const g=new ResizeObserver(m);return g.observe(p),()=>{g.disconnect()}},[e]);const d=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:xe(hT.editor,l),"aria-label":t,value:e,onChange:p=>{n(p.currentTarget.value)},onKeyDown:d})}function ji(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 mT=200;function Vp(e){const t=S.useRef(null),n=S.useRef(e);n.current=e;const r=S.useCallback(()=>{t.current!==null&&(clearTimeout(t.current),t.current=null)},[]),s=S.useCallback(()=>{r(),t.current=setTimeout(()=>{t.current=null,n.current()},mT)},[r]);return S.useEffect(()=>r,[r]),{arm:s,cancel:r}}function ql(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:d=>{const p=t||n||d.isComposing||d.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)}}}/*!
124
+ * Bowser - a browser detector
125
+ * https://github.com/lancedikson/bowser
126
+ * MIT License | (c) Dustin Diaz 2012-2015
127
+ * MIT License | (c) Denis Demchenko 2015-2026
128
+ */var gT={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"},Bp={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"},ze={bot:"bot",desktop:"desktop",mobile:"mobile",tablet:"tablet",tv:"tv"},Vt={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"},pr={Blink:"Blink",EdgeHTML:"EdgeHTML",Gecko:"Gecko",LibWeb:"LibWeb",Presto:"Presto",Trident:"Trident",WebKit:"WebKit"},D=(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),d=Math.max(l,u),p=0,m=e.map([n,r],function(g){var w=d-e.getVersionPrecision(g),x=g+new Array(w+1).join(".0");return e.map(x.split("."),function(y){return new Array(20-y.length).join("0")+y}).reverse()});for(s&&(p=d-Math.min(l,u)),d-=1;d>=p;){if(m[0][d]>m[1][d])return 1;if(m[0][d]===m[1][d]){if(d===p)return 0;d-=1}else if(m[0][d]<m[1][d])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,d=new Array(u>1?u-1:0),p=1;p<u;p++)d[p-1]=arguments[p];if(Object.assign)return Object.assign.apply(Object,[n].concat(d));var m=function(){var w=d[s];typeof w=="object"&&w!==null&&Object.keys(w).forEach(function(x){r[x]=w[x]})};for(s=0,l=d.length;s<l;s+=1)m();return n},e.getBrowserAlias=function(n){return gT[n]},e.getBrowserTypeByAlias=function(n){return Bp[n]||""},e})(),Pe=/version\/(\d+(\.?_?\d+)+)/i,vT=[{test:[/gptbot/i],describe:function(t){var n={name:"GPTBot"},r=D.getFirstMatch(/gptbot\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/chatgpt-user/i],describe:function(t){var n={name:"ChatGPT-User"},r=D.getFirstMatch(/chatgpt-user\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/oai-searchbot/i],describe:function(t){var n={name:"OAI-SearchBot"},r=D.getFirstMatch(/oai-searchbot\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,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=D.getFirstMatch(/(?:claudebot|claude-web|claude-user|claude-searchbot)\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(t){var n={name:"Omgilibot"},r=D.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/diffbot/i],describe:function(t){var n={name:"Diffbot"},r=D.getFirstMatch(/diffbot\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/perplexitybot/i],describe:function(t){var n={name:"PerplexityBot"},r=D.getFirstMatch(/perplexitybot\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/perplexity-user/i],describe:function(t){var n={name:"Perplexity-User"},r=D.getFirstMatch(/perplexity-user\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/youbot/i],describe:function(t){var n={name:"YouBot"},r=D.getFirstMatch(/youbot\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/meta-webindexer/i],describe:function(t){var n={name:"Meta-WebIndexer"},r=D.getFirstMatch(/meta-webindexer\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/meta-externalads/i],describe:function(t){var n={name:"Meta-ExternalAds"},r=D.getFirstMatch(/meta-externalads\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/meta-externalagent/i],describe:function(t){var n={name:"Meta-ExternalAgent"},r=D.getFirstMatch(/meta-externalagent\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/meta-externalfetcher/i],describe:function(t){var n={name:"Meta-ExternalFetcher"},r=D.getFirstMatch(/meta-externalfetcher\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/googlebot/i],describe:function(t){var n={name:"Googlebot"},r=D.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/linespider/i],describe:function(t){var n={name:"Linespider"},r=D.getFirstMatch(/(?:linespider)(?:-[-\w]{1,64})?[\s/](\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/amazonbot/i],describe:function(t){var n={name:"AmazonBot"},r=D.getFirstMatch(/amazonbot\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/bingbot/i],describe:function(t){var n={name:"BingCrawler"},r=D.getFirstMatch(/bingbot\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/baiduspider/i],describe:function(t){var n={name:"BaiduSpider"},r=D.getFirstMatch(/baiduspider\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/duckduckbot/i],describe:function(t){var n={name:"DuckDuckBot"},r=D.getFirstMatch(/duckduckbot\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/ia_archiver/i],describe:function(t){var n={name:"InternetArchiveCrawler"},r=D.getFirstMatch(/ia_archiver\/(\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,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=D.getFirstMatch(/(?:slackbot|slack-imgproxy)(?:-[-\w]{1,64})?[\s/](\d+(\.\d+)+)/i,t)||D.getFirstMatch(Pe,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=D.getFirstMatch(Pe,t)||D.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=D.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/SamsungBrowser/i],describe:function(t){var n={name:"Samsung Internet for Android"},r=D.getFirstMatch(Pe,t)||D.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=D.getFirstMatch(Pe,t)||D.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=D.getFirstMatch(Pe,t)||D.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=D.getFirstMatch(/(?:HeyTapBrowser)[\s/](\d+(?:\.\d+)*)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/VivoBrowser/i],describe:function(t){var n={name:"Vivo Browser"},r=D.getFirstMatch(/(?:VivoBrowser)[\s/](\d+(?:\.\d+)*)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/MZBrowser/i],describe:function(t){var n={name:"MZ Browser"},r=D.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/focus/i],describe:function(t){var n={name:"Focus"},r=D.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/swing/i],describe:function(t){var n={name:"Swing"},r=D.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/coast/i],describe:function(t){var n={name:"Opera Coast"},r=D.getFirstMatch(Pe,t)||D.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=D.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/yabrowser/i],describe:function(t){var n={name:"Yandex Browser"},r=D.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/ucbrowser/i],describe:function(t){var n={name:"UC Browser"},r=D.getFirstMatch(Pe,t)||D.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=D.getFirstMatch(Pe,t)||D.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=D.getFirstMatch(Pe,t)||D.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/puffin/i],describe:function(t){var n={name:"Puffin"},r=D.getFirstMatch(Pe,t)||D.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/sleipnir/i],describe:function(t){var n={name:"Sleipnir"},r=D.getFirstMatch(Pe,t)||D.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=D.getFirstMatch(Pe,t)||D.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=D.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||D.getFirstMatch(Pe,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=D.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/msie|trident/i],describe:function(t){var n={name:"Internet Explorer"},r=D.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=D.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=D.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=D.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return l&&(r.version=l),r}},{test:[/seamonkey/i],describe:function(t){var n={name:"SeaMonkey"},r=D.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/sailfish/i],describe:function(t){var n={name:"Sailfish"},r=D.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=D.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/phantom/i],describe:function(t){var n={name:"PhantomJS"},r=D.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/slimerjs/i],describe:function(t){var n={name:"SlimerJS"},r=D.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=D.getFirstMatch(Pe,t)||D.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=D.getFirstMatch(Pe,t)||D.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=D.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/tizen/i],describe:function(t){var n={name:"Tizen"},r=D.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/qupzilla/i],describe:function(t){var n={name:"QupZilla"},r=D.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/librewolf/i],describe:function(t){var n={name:"LibreWolf"},r=D.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=D.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=D.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=D.getFirstMatch(/(?:sogoumobilebrowser)[\s/](\d+(\.?_?\d+)+)/i,t),s=D.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t),l=D.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=D.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=D.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=D.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/ladybird/i],describe:function(t){var n={name:"Ladybird"},r=D.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=D.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=D.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=D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/playstation 4/i],describe:function(t){var n={name:"PlayStation 4"},r=D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/safari|applewebkit/i],describe:function(t){var n={name:"Safari"},r=D.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/.*/i],describe:function(t){var n=t.search("\\(")!==-1?/^(.*)\/([^/]*)[ \t]\((.*)/:/^(.*)\/([^/]*) /;return{name:D.getFirstMatch(n,t),version:D.getSecondMatch(n,t)}}}],wT=[{test:[/Roku\/DVP/],describe:function(t){var n=D.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:Vt.Roku,version:n}}},{test:[/windows phone/i],describe:function(t){var n=D.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:Vt.WindowsPhone,version:n}}},{test:[/windows /i],describe:function(t){var n=D.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),r=D.getWindowsVersionName(n);return{name:Vt.Windows,version:n,versionName:r}}},{test:function(t){return D.isFirefoxOnIpad(t.getUA())},describe:function(t){var n={name:Vt.iOS},r=D.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return r&&(n.version=r),n}},{test:[/macintosh/i],describe:function(t){var n=D.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),r=D.getMacOSVersionName(n),s={name:Vt.MacOS,version:n};return r&&(s.versionName=r),s}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var n=D.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:Vt.iOS,version:n}}},{test:[/OpenHarmony/i],describe:function(t){var n=D.getFirstMatch(/OpenHarmony\s+(\d+(\.\d+)*)/i,t);return{name:Vt.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=D.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),r=D.getAndroidVersionName(n),s={name:Vt.Android,version:n};return r&&(s.versionName=r),s}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var n=D.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),r={name:Vt.WebOS};return n&&n.length&&(r.version=n),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var n=D.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||D.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||D.getFirstMatch(/\bbb(\d+)/i,t);return{name:Vt.BlackBerry,version:n}}},{test:[/bada/i],describe:function(t){var n=D.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:Vt.Bada,version:n}}},{test:[/tizen/i],describe:function(t){var n=D.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:Vt.Tizen,version:n}}},{test:[/linux/i],describe:function(){return{name:Vt.Linux}}},{test:[/CrOS/],describe:function(){return{name:Vt.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var n=D.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:Vt.PlayStation4,version:n}}}],xT=[{test:[/googlebot/i],describe:function(){return{type:ze.bot,vendor:"Google"}}},{test:[/linespider/i],describe:function(){return{type:ze.bot,vendor:"Line"}}},{test:[/amazonbot/i],describe:function(){return{type:ze.bot,vendor:"Amazon"}}},{test:[/gptbot/i],describe:function(){return{type:ze.bot,vendor:"OpenAI"}}},{test:[/chatgpt-user/i],describe:function(){return{type:ze.bot,vendor:"OpenAI"}}},{test:[/oai-searchbot/i],describe:function(){return{type:ze.bot,vendor:"OpenAI"}}},{test:[/baiduspider/i],describe:function(){return{type:ze.bot,vendor:"Baidu"}}},{test:[/bingbot/i],describe:function(){return{type:ze.bot,vendor:"Bing"}}},{test:[/duckduckbot/i],describe:function(){return{type:ze.bot,vendor:"DuckDuckGo"}}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(){return{type:ze.bot,vendor:"Anthropic"}}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(){return{type:ze.bot,vendor:"Webz.io"}}},{test:[/diffbot/i],describe:function(){return{type:ze.bot,vendor:"Diffbot"}}},{test:[/perplexitybot/i],describe:function(){return{type:ze.bot,vendor:"Perplexity AI"}}},{test:[/perplexity-user/i],describe:function(){return{type:ze.bot,vendor:"Perplexity AI"}}},{test:[/youbot/i],describe:function(){return{type:ze.bot,vendor:"You.com"}}},{test:[/ia_archiver/i],describe:function(){return{type:ze.bot,vendor:"Internet Archive"}}},{test:[/meta-webindexer/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/meta-externalads/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/meta-externalagent/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/meta-externalfetcher/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(){return{type:ze.bot,vendor:"Slack"}}},{test:[/yahoo/i],describe:function(){return{type:ze.bot,vendor:"Yahoo"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{type:ze.bot,vendor:"Yandex"}}},{test:[/pingdom/i],describe:function(){return{type:ze.bot,vendor:"Pingdom"}}},{test:[/huawei/i],describe:function(t){var n=D.getFirstMatch(/(can-l01)/i,t)&&"Nova",r={type:ze.mobile,vendor:"Huawei"};return n&&(r.model=n),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:ze.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:ze.tablet,vendor:"Apple",model:"iPad"}}},{test:function(t){return D.isFirefoxOnIpad(t.getUA())},describe:function(){return{type:ze.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:ze.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:ze.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:ze.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=D.getFirstMatch(/(ipod|iphone)/i,t);return{type:ze.mobile,vendor:"Apple",model:n}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:ze.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(t){var n=D.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,t),r={type:ze.mobile,vendor:"Nokia"};return n&&(r.model=n),r}},{test:[/[^-]mobi/i],describe:function(){return{type:ze.mobile}}},{test:function(t){return t.getBrowserName(!0)==="blackberry"},describe:function(){return{type:ze.mobile,vendor:"BlackBerry"}}},{test:function(t){return t.getBrowserName(!0)==="bada"},describe:function(){return{type:ze.mobile}}},{test:function(t){return t.getBrowserName()==="windows phone"},describe:function(){return{type:ze.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:ze.tablet}}},{test:function(t){return t.getOSName(!0)==="android"},describe:function(){return{type:ze.mobile}}},{test:[/smart-?tv|smarttv/i],describe:function(){return{type:ze.tv}}},{test:[/netcast/i],describe:function(){return{type:ze.tv}}},{test:function(t){return t.getOSName(!0)==="macos"},describe:function(){return{type:ze.desktop,vendor:"Apple"}}},{test:function(t){return t.getOSName(!0)==="windows"},describe:function(){return{type:ze.desktop}}},{test:function(t){return t.getOSName(!0)==="linux"},describe:function(){return{type:ze.desktop}}},{test:function(t){return t.getOSName(!0)==="playstation 4"},describe:function(){return{type:ze.tv}}},{test:function(t){return t.getOSName(!0)==="roku"},describe:function(){return{type:ze.tv}}}],yT=[{test:function(t){return t.getBrowserName(!0)==="microsoft edge"},describe:function(t){if(/\sedg\//i.test(t))return{name:pr.Blink};var n=D.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:pr.EdgeHTML,version:n}}},{test:function(t){return t.getBrowserName(!0)==="ladybird"},describe:function(){return{name:pr.LibWeb}}},{test:[/trident/i],describe:function(t){var n={name:pr.Trident},r=D.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:pr.Presto},r=D.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:pr.Gecko},r=D.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:pr.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var n={name:pr.WebKit},r=D.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}}],Z5=(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=D.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=D.find(vT,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=D.find(wT,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=D.find(xT,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=D.find(yT,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 D.assign({},this.parsedResult)},t.satisfies=function(r){var s=this,l={},u=0,d={},p=0;if(Object.keys(r).forEach(function(I){var P=r[I];typeof P=="string"||Array.isArray(P)?(d[I]=P,p+=1):typeof P=="object"&&(l[I]=P,u+=1)}),u>0){var m=Object.keys(l),g=D.find(m,function(I){return s.isOS(I)});if(g){var w=this.satisfies(l[g]);if(w!==void 0)return w}var x=D.find(m,function(I){return s.isPlatform(I)});if(x){var y=this.satisfies(l[x]);if(y!==void 0)return y}}if(p>0){var b=Object.keys(d),j=D.find(b,function(I){return s.isBrowser(I,!0)});if(j!==void 0)return this.compareVersions(d[j])}},t.isBrowser=function(r,s){s===void 0&&(s=!1);var l=this.getBrowserName().toLowerCase(),u=r.toLowerCase(),d=D.getBrowserTypeByAlias(u);return s&&d&&(u=d.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,d=this.getBrowserVersion();if(typeof d=="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(D.compareVersions(d,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})();/*!
129
+ * Bowser - a browser detector
130
+ * https://github.com/bowser-js/bowser
131
+ * MIT License | (c) Dustin Diaz 2012-2015
132
+ * MIT License | (c) Denis Demchenko 2015-2026
133
+ */function _T(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,CT(r.key),r)}}function bT(e,t,n){return n&&_T(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function CT(e){var t=kT(e,"string");return typeof t=="symbol"?t:t+""}function kT(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 a2=(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 Z5(n,r,s)},e.parse=function(n,r){return r===void 0&&(r=null),new Z5(n,r).getResult()},bT(e,null,[{key:"BROWSER_MAP",get:function(){return Bp}},{key:"ENGINE_MAP",get:function(){return pr}},{key:"OS_MAP",get:function(){return Vt}},{key:"PLATFORMS_MAP",get:function(){return ze}}])})();a2.parse;a2.getParser;const v0=new WeakMap,ST=new Set(["Tab","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End"]);function Zp(){const e=a2.parse(navigator.userAgent).platform.type,t=navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1;return e==="mobile"||e==="tablet"||t}function ET(){return Zp()?!1:!window.matchMedia?.("(width < 640px) and (pointer: coarse) and (hover: none)").matches}function Ii(e,t){v0.get(e)?.();const n=()=>{e.removeAttribute("data-dsh-automatic-focus"),e.removeEventListener("blur",n),e.removeEventListener("keydown",r,!0),v0.delete(e)},r=s=>{!s.isComposing&&!s.ctrlKey&&!s.altKey&&!s.metaKey&&ST.has(s.key)&&n()};v0.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 l2='[role="dialog"][aria-modal="true"], [role="menu"]',Hs=new WeakMap;function jT(e){const t=Hs.get(e)?.at(-1);if(t===void 0)return;[...e.querySelectorAll(l2)].at(-1)===t.element&&t.close()}function Wp(e){if(e===null)return!1;const t=Hs.get(e.ownerDocument)?.at(-1);return t!==void 0&&!t.element.contains(e)}const W5='button:not(:disabled), input:not(:disabled), textarea:not(:disabled), select:not(:disabled), a[href], [tabindex="0"]';function c2(e,t,n){const r=S.useRef(n);r.current=n,S.useLayoutEffect(()=>{const s=e.current;if(!t||s===null)return;const l=s.ownerDocument,u=ql(l),d=l.activeElement,p=Hs.get(l)??[];Hs.set(l,p);const m={element:s,close:()=>{r.current()}};p.push(m);const g=s.querySelector("[data-modal-autofocus]")??s.querySelector(W5)??s;s.contains(l.activeElement)||Ii(g);const w=x=>{const y=u.guards(x);if(p.at(-1)!==m||x.defaultPrevented||y||x.ctrlKey||x.altKey||x.metaKey||(x.key==="Escape"&&!x.shiftKey&&(x.preventDefault(),x.repeat||r.current()),x.key!=="Tab")||l.activeElement?.closest('[role="menu"]'))return;const b=[...s.querySelectorAll(W5)].filter(M=>!M.closest("[inert], [hidden]")),j=b[0]??s,I=b.at(-1)??s,P=x.shiftKey?l.activeElement===j:l.activeElement===I;(l.activeElement===s||!s.contains(l.activeElement)||P)&&(x.preventDefault(),(x.shiftKey?I:j).focus())};return l.addEventListener("keydown",w),()=>{u.dispose();const x=p.at(-1)===m;if(p.splice(p.indexOf(m),1),l.removeEventListener("keydown",w),p.length===0&&Hs.delete(l),x){const y=d instanceof HTMLElement&&d.isConnected?d:p.at(-1)?.element;y!==void 0&&Ii(y)}}},[e,t])}const IT="_keys_1p14q_1",MT="_key_1p14q_1",OT="_tooltip_1p14q_20",LT="_separator_1p14q_35",TT="_joined_1p14q_39",Ms={keys:IT,key:MT,tooltip:OT,separator:LT,joined:TT},NT="_view_1ufe2_1",PT="_withFooter_1ufe2_24",zT="_content_1ufe2_31",AT="_header_1ufe2_39",RT="_footer_1ufe2_44",DT="_footerBack_1ufe2_49",FT="_back_1ufe2_93",po={view:NT,withFooter:PT,content:zT,header:AT,footer:RT,footerBack:DT,back:FT},Up=S.createContext(null);function $T({target:e,backLabel:t,open:n,close:r,enterView:s,children:l}){const u=S.useRef(null),d=S.useMemo(()=>e===null?null:{target:e,backLabel:t,open:n,close:r,enterView:s,returnFocus:u},[e,t,n,r,s]);return c.jsx(Up.Provider,{value:d,children:l})}function Pi(){return S.useContext(Up)}function qp({title:e,onBack:t,footerBackLabel:n,children:r,className:s,onKeyDownCapture:l}){const u=Pi(),d=S.useRef(null),p=u?.target,m=u?.enterView,g=u?.returnFocus;S.useLayoutEffect(()=>m?.(),[m]),S.useLayoutEffect(()=>{const b=document.activeElement,j=b instanceof HTMLElement&&b!==document.body?b:null,I=p?.parentElement?.querySelector("[data-phone-sidebar-content]");return j&&I?.contains(j)&&g&&(g.current=j),I&&(I.inert=!0),()=>{queueMicrotask(()=>{I&&(I.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]")&&I?.contains(P)!==!0)return;const M=p?.closest("[data-phone-drawer]")?.querySelector("[data-phone-sidebar-return]");(j?.isConnected&&j.getClientRects().length>0?j:g?.current?.isConnected&&g.current.getClientRects().length>0?g.current:M)?.focus({preventScroll:!0})})}},[p,g]),c2(d,u?.open===!0,t);const w=S.useRef(t);w.current=t;const x=S.useRef(u?.open===!0);if(S.useEffect(()=>{const b=x.current&&u?.open===!1;x.current=u?.open===!0,b&&w.current()},[u?.open]),u?.target==null)return null;const y=c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:po.header,children:[c.jsx("button",{type:"button",className:po.back,"aria-label":u.backLabel,onClick:t,children:c.jsx(r7,{})}),c.jsx("h2",{children:e})]}),r]});return gn.createPortal(c.jsx("div",{ref:d,className:xe(s,po.view,n!==void 0&&po.withFooter),"data-phone-sidebar-view":!0,role:"dialog","aria-modal":"true","aria-label":e,tabIndex:-1,onKeyDownCapture:l,onClick:b=>b.stopPropagation(),children:n===void 0?y:c.jsxs(c.Fragment,{children:[c.jsx("div",{className:po.content,children:y}),c.jsx("div",{className:po.footer,children:c.jsx("button",{type:"button",className:po.footerBack,onClick:t,children:n})})]})}),u.target)}function o1({keys:e,variant:t="plain",className:n}){return Pi()!==null?null:c.jsx("span",{className:xe(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 HT="_surface_1ucg6_1",VT="_backing_1ucg6_2",BT="_compact_1ucg6_6",ZT="_material_1ucg6_21",Os={surface:HT,backing:VT,compact:BT,material:ZT},fl=S.forwardRef(function({compact:t=!1,className:n,style:r,children:s,...l},u){const d=S.useId(),p=S.useRef(null);S.useLayoutEffect(()=>{document.body.appendChild(p.current)},[]);const m={"--dsh-menu-anchor":`--dsh-menu-${d.replaceAll(":","")}`};return c.jsxs(c.Fragment,{children:[c.jsxs("div",{...l,ref:u,"data-menu-material":"translucent",className:xe(Os.surface,t&&Os.compact,n),style:{...r,...m},children:[c.jsx("div",{"aria-hidden":"true",className:Os.material}),s]}),gn.createPortal(c.jsx("div",{ref:p,"aria-hidden":"true","data-menu-backing":"",className:xe(Os.backing,t&&Os.compact),style:{...m,visibility:r?.visibility}}),document.body)]})}),WT="_root_15q5x_1",UT="_list_15q5x_7",qT="_submenu_15q5x_8",GT="_portal_15q5x_41",KT="_sideTop_15q5x_49",YT="_alignEnd_15q5x_54",JT="_scrollable_15q5x_19",XT="_viewport_15q5x_19",QT="_footer_15q5x_62",eN="_itemWrap_15q5x_90",tN="_item_15q5x_90",nN="_denseList_15q5x_124",rN="_label_15q5x_129",oN="_compactList_15q5x_133",iN="_itemIcon_15q5x_148",sN="_separator_15q5x_80",aN="_check_15q5x_179",lN="_itemLabel_15q5x_190",cN="_shortcut_15q5x_198",uN="_shortcutKeys_15q5x_203",dN="_selected_15q5x_216",fN="_selectedFill_15q5x_221",hN="_danger_15q5x_226",pN="_phoneList_15q5x_288",He={root:WT,list:UT,submenu:qT,portal:GT,sideTop:KT,alignEnd:YT,scrollable:JT,viewport:XT,footer:QT,itemWrap:eN,item:tN,denseList:nN,label:rN,compactList:oN,itemIcon:iN,separator:sN,check:aN,itemLabel:lN,shortcut:cN,shortcutKeys:uN,selected:dN,selectedFill:fN,danger:hN,phoneList:pN};function mN({children:e,shortcut:t,icon:n,disabled:r=!1,danger:s=!1,separatorBefore:l=!1,onSelect:u}){return c.jsxs("div",{className:He.itemWrap,children:[l&&c.jsx("div",{className:He.separator,role:"separator"}),c.jsxs("button",{type:"button",role:"menuitem",className:xe(He.item,s&&He.danger),disabled:r,"aria-keyshortcuts":t?.aria,onClick:u,children:[n!==void 0&&c.jsx("span",{className:He.itemIcon,children:n}),c.jsx("span",{className:He.itemLabel,children:e}),t!==void 0&&c.jsx("span",{"aria-hidden":"true",className:He.shortcut,children:c.jsx(o1,{keys:t.keys,className:He.shortcutKeys})})]})]})}function U5(e){return"type"in e&&e.type==="separator"}function q5(e){return"type"in e&&e.type==="label"}const gN={visibility:"hidden",left:0,top:0};function Gp({open:e,anchor:t,items:n=[],children:r,selectedId:s,selectedIds:l,onSelect:u,onClose:d,align:p="start",side:m="bottom",portal:g=!1,closeOnPointerLeave:w=!1,dense:x=!1,compact:y=!1,autoFocus:b=!1,selection:j="check",getAnchorRect:I,focusReturnTarget:P,footer:M,className:H,listClassName:z,phoneSidebarTitle:W,phoneSidebarDetails:V,phoneSidebarFooterBackLabel:ee}){const G=Pi()!==null&&W!==void 0,k=g&&!G,Y=S.useRef(null),$=S.useRef(null),K=S.useRef(null),X=S.useRef(null),we=S.useRef(!1),fe=(de=!1)=>{const De=P??X.current,ut=De!==null&&De.isConnected&&!De.matches(":disabled")?De:Y.current?.querySelector("button:not(:disabled)");ut!=null&&(de?ut.focus():Ii(ut))},Se=()=>{const de=we.current;queueMicrotask(()=>{if(ce.current)return;const De=document.activeElement;(De===null||De===document.body||$.current?.contains(De)===!0)&&fe(de)})},ce=S.useRef(e);ce.current=e;const[Q,te]=S.useState(null),[T,R]=S.useState(null),{arm:ne,cancel:pe}=Vp(d);S.useLayoutEffect(()=>{if(!e||!k){R(null);return}const de=()=>{let Ye;if(I!==void 0?Ye=I():Ye=Y.current?.getBoundingClientRect()??null,Ye===null)return;const Xe=12,an=window.innerWidth,Ze=window.innerHeight,ln=$.current,tr=ln?.offsetWidth??0,wn=ln?.offsetHeight??0;let Rt,mt;m==="right"?(Rt=Ye.right+4,mt=Ye.top):p==="start"?(Rt=Ye.left,mt=m==="bottom"?Ye.bottom+4:Ye.top-wn-4):(Rt=Ye.right-tr,mt=m==="bottom"?Ye.bottom+4:Ye.top-wn-4),tr>0&&(Rt=Math.min(Math.max(Rt,Xe),an-tr-Xe)),wn>0&&(mt=Math.min(Math.max(mt,ji(Xe)),Ze-wn-Xe)),R(Bn=>Bn?.left===Rt&&Bn.top===mt?Bn:{left:Rt,top:mt})};de();const De=()=>{de(),ut=requestAnimationFrame(De)};let ut=requestAnimationFrame(De);return window.addEventListener("scroll",de,!0),window.addEventListener("resize",de),()=>{cancelAnimationFrame(ut),window.removeEventListener("scroll",de,!0),window.removeEventListener("resize",de)}},[e,k,p,m,I]),S.useEffect(()=>{if(!e){X.current=null;return}const de=document.activeElement;X.current=de instanceof HTMLElement&&Y.current?.contains(de)===!0?de:null},[e]);const Oe=!k||T!==null;S.useEffect(()=>{if(!e||!b||!Oe)return;const de=$.current?.querySelector("button:not(:disabled)");K.current=de==null?null:0,de!=null&&Ii(de)},[e,b,Oe]),S.useEffect(()=>{if(!e){te(null),K.current=null;return}const de=ql(document),De=Ze=>{G||!(Ze.target instanceof Node)||Y.current?.contains(Ze.target)!==!0&&$.current?.contains(Ze.target)!==!0&&d()},ut=Ze=>{if(de.guards(Ze)||Wp(G?$.current:P??Y.current)||Ze.defaultPrevented||Ze.ctrlKey||Ze.altKey||Ze.metaKey)return;const ln=document.activeElement,tr=$.current?.contains(ln)===!0,wn=Y.current?.contains(ln)===!0||tr;if(Ze.key==="Escape"&&!Ze.shiftKey){if(Ze.preventDefault(),Ze.repeat)return;d(),(wn||b)&&fe()}if(Ze.key==="Tab"){const $i=$.current;if($i===null||!wn)return;if(Ze.shiftKey){Ze.preventDefault(),d(),fe(!0);return}if(tr){if(ln instanceof Element&&ln.getAttribute("role")==="menuitem"){Ze.preventDefault(),we.current=!0;try{ln.click()}finally{we.current=!1}}return}const Hi=$i.querySelector("button:not(:disabled)");if(Hi===null)return;Ze.preventDefault(),Hi.focus(),K.current=0;return}if(!["ArrowDown","ArrowUp","Home","End"].includes(Ze.key))return;const Rt=$.current;if(Rt===null||!wn)return;const mt=Array.from(Rt.querySelectorAll("button:not(:disabled)"));if(mt.length===0)return;const Bn=mt.indexOf(ln),Di=Bn>=0?Bn:K.current,Fi=Ze.key==="Home"?0:Ze.key==="End"?mt.length-1:Di===null?Ze.key==="ArrowDown"?0:mt.length-1:(Di+(Ze.key==="ArrowDown"?1:-1)+mt.length)%mt.length;Ze.preventDefault(),K.current=Fi,mt[Fi]?.focus()},Ye=()=>{document.activeElement instanceof HTMLIFrameElement&&d()};document.addEventListener("pointerdown",De);const Xe=Ze=>{Ze.key==="Escape"&&ut(Ze)},an=Ze=>{Ze.key!=="Escape"&&ut(Ze)};return document.addEventListener("keydown",an),document.addEventListener("keydown",Xe,!0),window.addEventListener("blur",Ye),()=>{de.dispose(),document.removeEventListener("pointerdown",De),document.removeEventListener("keydown",an),document.removeEventListener("keydown",Xe,!0),window.removeEventListener("blur",Ye)}},[e,d,b,G,P]),S.useEffect(()=>{e||pe()},[e,pe]);const Ne=!n.some(de=>!U5(de)&&!q5(de)&&de.submenu!==void 0&&de.submenu.length>0),Be=de=>{if(U5(de))return c.jsx("div",{className:He.separator,role:"separator"},de.id);if(q5(de))return c.jsx("div",{className:He.label,role:"presentation",children:de.text},de.id);const De=de.submenu!==void 0&&de.submenu.length>0,ut=De&&Q===de.id,Ye=de.id===s||l?.includes(de.id)===!0;return c.jsxs("div",{className:He.itemWrap,onMouseEnter:De?()=>{te(de.id)}:void 0,onMouseLeave:()=>{te(null)},children:[c.jsxs("button",{type:"button",role:"menuitem",className:xe(He.item,Ye&&(j==="fill"?He.selectedFill:He.selected),de.danger===!0&&He.danger),disabled:de.disabled,"aria-keyshortcuts":de.shortcut?.aria,"aria-haspopup":De?"menu":void 0,"aria-expanded":De?ut:void 0,onFocus:De?()=>{te(de.id)}:void 0,onClick:()=>{if(De){te(de.id);return}u?.(de.id)},children:[de.icon!==void 0&&c.jsx("span",{className:He.itemIcon,children:de.icon}),c.jsx("span",{className:He.itemLabel,children:de.label}),de.shortcut!==void 0&&c.jsx("span",{"aria-hidden":"true",className:He.shortcut,children:c.jsx(o1,{keys:de.shortcut.keys,className:He.shortcutKeys})}),Ye&&j==="check"&&c.jsx(Ni,{className:He.check})]}),ut&&de.submenu!==void 0&&c.jsx(fl,{compact:y,className:xe(He.submenu,y&&He.compactList),role:"menu",children:de.submenu.map(Xe=>c.jsxs("button",{type:"button",role:"menuitem",className:He.item,disabled:Xe.disabled,"aria-keyshortcuts":Xe.shortcut?.aria,onClick:()=>{u?.(Xe.id),Se()},children:[Xe.icon!==void 0&&c.jsx("span",{className:He.itemIcon,children:Xe.icon}),c.jsx("span",{className:He.itemLabel,children:Xe.label}),Xe.shortcut!==void 0&&c.jsx("span",{"aria-hidden":"true",className:He.shortcut,children:c.jsx(o1,{keys:Xe.shortcut.keys,className:He.shortcutKeys})})]},Xe.id))})]},de.id)},Fe=de=>{const De=de.target instanceof Element?de.target.closest('button[role="menuitem"]'):null;De===null||De.getAttribute("aria-haspopup")==="menu"||De.closest('[role="menu"]')===de.currentTarget&&te(null)},Re=e&&c.jsxs(fl,{compact:y,ref:$,className:xe(He.list,z,x&&He.denseList,y&&He.compactList,Ne&&He.scrollable,k&&He.portal,m==="top"&&!g&&He.sideTop,p==="end"&&!g&&He.alignEnd,G&&He.phoneList),style:k?T??gN:void 0,role:"menu",onClick:de=>{de.stopPropagation();const De=de.target instanceof Element?de.target.closest('button[role="menuitem"]'):null;De!==null&&De.getAttribute("aria-haspopup")!=="menu"&&Se()},onMouseOver:Fe,onFocus:Fe,children:[c.jsxs("div",{className:He.viewport,role:"presentation",children:[G&&V,n.map(Be),r]}),M!==void 0&&M.length>0&&c.jsx("div",{className:He.footer,role:"presentation",children:M.map(Be)})]});return k&&t===null&&I!==void 0?e?gn.createPortal(Re,document.body):null:c.jsxs("span",{ref:Y,className:xe(He.root,H),onPointerEnter:w?pe:void 0,onPointerLeave:w?()=>{e&&ne()}:void 0,children:[t,G?e&&c.jsx(qp,{title:W,onBack:d,footerBackLabel:ee,children:Re}):g?Re!==!1&&gn.createPortal(Re,document.body):Re]})}const vN="_group_i2pru_1",wN="_start_i2pru_5",xN="_heading_i2pru_19",w0={group:vN,start:wN,heading:xN};function yN({label:e,children:t}){const n=S.useId();return c.jsxs("section",{role:"group","aria-labelledby":n,"data-menu-group":"",className:w0.group,children:[c.jsx("span",{"aria-hidden":"true","data-menu-group-start":"",className:w0.start}),c.jsx("div",{id:n,"data-menu-group-heading":"",className:w0.heading,children:e}),t]})}function _N(e){const t=[...e.querySelectorAll(":scope > [data-menu-group]")].flatMap(g=>{const w=g.querySelector(":scope > [data-menu-group-heading]"),x=g.querySelector(":scope > [data-menu-group-start]");return w===null||x===null?[]:[{section:g,heading:w,start:x,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(g=>[g.section,g])),r=new Map(t.map(g=>[g.start,g]));let s=!1,l,u;const d=g=>{const w=g.atTop&&g.above;g.heading.hasAttribute("data-stuck")!==w&&g.heading.toggleAttribute("data-stuck",w)},p=new IntersectionObserver(g=>{if(!s)for(const w of g){const x=r.get(w.target);!x||w.rootBounds===null||w.time<x.aboveTime||(x.above=w.boundingClientRect.top<w.rootBounds.top,x.aboveTime=w.time,d(x))}},{root:e,threshold:[0,1]});for(const{start:g}of t)p.observe(g);const m=new ResizeObserver(g=>{if(!s)for(const w of g){if(w.target!==e||w.contentRect.height===u)continue;u=w.contentRect.height,l?.disconnect();const x=new IntersectionObserver(y=>{if(!(s||l!==x))for(const b of y){const j=n.get(b.target);if(!j||b.rootBounds===null)continue;const I=b.rootBounds.top;b.time>=j.topTime&&(j.atTop=b.isIntersecting&&b.boundingClientRect.bottom>I,j.topTime=b.time),b.time>=j.aboveTime&&(j.above=b.boundingClientRect.top<I,j.aboveTime=b.time),d(j)}},{root:e,rootMargin:`0px 0px ${Math.min(1,u)-u}px 0px`,threshold:0});l=x;for(const{section:y}of t)x.observe(y)}});return m.observe(e),()=>{if(!s){s=!0,p.disconnect(),l?.disconnect(),m.disconnect();for(const{heading:g}of t)g.hasAttribute("data-stuck")&&g.removeAttribute("data-stuck")}}}const bN=12;function CN(e,t,n,r=bN){const[s,l]=S.useState(t);return S.useLayoutEffect(()=>{const u=e.current;if(u===null)return;const d=()=>{l(Math.min(t,Math.max(0,u.getBoundingClientRect().bottom-ji(r))))};return d(),window.addEventListener("resize",d),window.addEventListener("scroll",d,!0),()=>{window.removeEventListener("resize",d),window.removeEventListener("scroll",d,!0)}},[e,t,n,r]),s}function kN(e){const{open:t,anchorRef:n,panelRef:r,side:s="bottom",align:l="start",gap:u,margin:d}=e,[p,m]=S.useState(null);return S.useLayoutEffect(()=>{if(!t){m(null);return}const g=()=>{const y=n.current?.getBoundingClientRect();if(y===void 0)return;const b=r.current,j=b?.offsetWidth??0,I=b?.offsetHeight??0;let P=l==="end"?y.right-j:y.left,M=s==="top"?y.top-u-I:y.bottom+u;j>0&&(P=Math.min(Math.max(P,d),window.innerWidth-j-d)),I>0&&(M=Math.min(Math.max(M,ji(d)),window.innerHeight-I-d)),m({left:P,top:M})};g(),window.addEventListener("scroll",g,!0),window.addEventListener("resize",g);const w=r.current;let x=null;return typeof ResizeObserver<"u"&&w!==null&&(x=new ResizeObserver(g),x.observe(w)),()=>{x?.disconnect(),window.removeEventListener("scroll",g,!0),window.removeEventListener("resize",g)}},[t,n,r,s,l,u,d]),p}function u2(e,t,n,r){S.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 SN="_bubble_dcbfb_1",EN="_label_dcbfb_31",G5={bubble:SN,label:EN},K5={pointer:"pointer",keyboard:"keyboard"},jN="data-input-modality",IN=new Set(["Tab","Home","End","PageUp","PageDown"]);let rd=!1,Ds=!1,mo;function x0(){document.documentElement.setAttribute(jN,Ds?K5.pointer:K5.keyboard)}function Kp(){return rd}typeof window<"u"&&(window.addEventListener("pointerdown",()=>{rd=!0,Ds=!0,mo=void 0,x0()},!0),window.addEventListener("keydown",e=>{if(rd=!1,e.isComposing){mo=void 0;return}mo=e.composedPath()[0],!(!IN.has(e.key)&&!e.key.startsWith("Arrow"))&&(Ds=!1,x0())},!0),window.addEventListener("focusin",e=>{mo===void 0||e.composedPath()[0]===mo||(mo=void 0,Ds&&(Ds=!1,x0()))},!0),window.addEventListener("blur",()=>{mo=void 0}));const od=S.createContext(null);function qr({label:e,shortcutKeys:t,side:n="right",align:r="center",delayMs:s=0,focusDelayMs:l=0,gap:u=8,disabled:d=!1,portal:p=!1,maxWidth:m,openOnClick:g=!1,children:w}){const x=S.useId(),y=Pi()!==null,b=!y&&!!t?.length,[j,I]=S.useState(!1),P=S.useRef(null),M=w.ref,H=S.useCallback(ne=>{P.current=ne,typeof M=="function"?M(ne):M!=null&&(M.current=ne)},[M]),[z,W]=S.useState(null),V=S.useRef(null),ee=z===null?null:typeof e=="function"?e():e,U=z===null?0:n==="right"?z.top+(z.bottom-z.top)/2:n==="top"?z.top-u:z.bottom+u,G=S.useRef(null),k=S.useRef({hover:!1,focus:!1}),Y=S.useContext(od),[$,K]=S.useState(!1),X=S.useCallback(ne=>{Y?.(ne)},[Y]),we=z!==null&&!d&&(!y||!!ee);S.useEffect(()=>{const ne=V.current;if(z===null||!we||$||ne===null)return;const pe=12;let Oe,Ne=n;const Be=()=>{if(Oe===void 0)return;const{inlineSize:Re,blockSize:de}=Oe,De=n==="right"?0:r==="end"?Re:Re/2,ut=Math.max(pe,Math.min(z.x-De,window.innerWidth-pe-Re)),Ye=z.bottom+u+de<=window.innerHeight-pe,Xe=z.top-u-de>=pe;Ne==="bottom"&&!Ye&&Xe?Ne="top":Ne==="top"&&!Xe&&Ye&&(Ne="bottom"),ne.style.left=`${ut+De}px`,ne.style.top=`${Ne==="right"?(z.top+z.bottom)/2:Ne==="top"?z.top-u:z.bottom+u}px`,ne.dataset.side=Ne,ne.style.visibility="visible"},Fe=new ResizeObserver(Re=>{Oe=Re[0]?.borderBoxSize[0],Be()});return Fe.observe(ne,{box:"border-box"}),window.addEventListener("resize",Be),()=>{Fe.disconnect(),window.removeEventListener("resize",Be)}},[r,u,z,n,$,we]),S.useEffect(()=>(X(we),()=>{X(!1)}),[X,we]);const fe=S.useCallback(()=>{G.current!==null&&(clearTimeout(G.current),G.current=null)},[]);S.useEffect(()=>(j&&(d||!g)&&I(!1),d&&(fe(),k.current={hover:!1,focus:!1},W(null)),fe),[fe,d,g,j]);const Se=()=>{if(d||y&&!(typeof e=="function"?e():e))return;const ne=P.current;if(ne===null)return;const pe=ne.getBoundingClientRect();W({x:n==="right"?pe.right+10:r==="end"?pe.right:pe.left+pe.width/2,top:pe.top,bottom:pe.bottom}),X(!0)},ce=ne=>{if(fe(),ne<=0){Se();return}G.current=setTimeout(()=>{G.current=null,Se()},ne)},Q=S.useCallback(()=>{I(!1),W(null),X(!1)},[X]),te=()=>{fe(),!k.current.hover&&!k.current.focus&&!j&&Q()},T=S.useCallback(()=>{fe(),k.current={hover:!1,focus:!1},Q()},[fe,Q]);u2(P,g&&we,T,V),S.useEffect(()=>{if(!g||!we)return;const ne=pe=>{pe.key!=="Escape"&&pe.key!=="Tab"||(pe.key==="Escape"&&(pe.preventDefault(),pe.stopPropagation()),T())};return document.addEventListener("keydown",ne,!0),()=>{document.removeEventListener("keydown",ne,!0)}},[T,g,we]);const R=we&&!$&&c.jsxs("span",{ref:V,id:g?x:void 0,className:G5.bubble,"data-side":n,"data-portal":p||void 0,"data-pinned":j||void 0,"data-align":r,"data-has-shortcut":b||void 0,style:{left:z.x,top:U,visibility:"hidden",...m===void 0?{}:{maxWidth:m}},role:"tooltip","aria-label":t?.length?[ee,t.join(" ")].filter(Boolean).join(" "):void 0,children:[ee&&c.jsx("span",{className:G5.label,children:ee}),t!==void 0&&t.length>0&&c.jsx(o1,{keys:t,variant:"tooltip"})]});return c.jsxs(od.Provider,{value:K,children:[S.cloneElement(w,{ref:H,"aria-describedby":g&&we?[w.props["aria-describedby"],x].filter(Boolean).join(" "):w.props["aria-describedby"],onPointerEnter:ne=>{w.props.onPointerEnter?.(ne),!(!y||ne.pointerType==="touch")&&(k.current.hover=!0,ce(s))},onPointerLeave:ne=>{w.props.onPointerLeave?.(ne),y&&(k.current.hover=!1,fe(),j||Q())},onMouseEnter:ne=>{w.props.onMouseEnter?.(ne),!y&&(k.current.hover=!0,ce(s))},onMouseLeave:ne=>{w.props.onMouseLeave?.(ne),k.current.hover=!1,fe(),j||Q()},onClick:ne=>{w.props.onClick?.(ne),k.current.focus=!1,fe(),g&&!d&&!j?(I(!0),Se()):Q()},onFocus:ne=>{w.props.onFocus?.(ne),!(Kp()||y&&ne.currentTarget.hasAttribute("data-dsh-automatic-focus"))&&(k.current.focus=!0,ce(l))},onBlur:ne=>{w.props.onBlur?.(ne),k.current.focus=!1,te()}}),p?R!==!1&&gn.createPortal(R,document.body):R]})}const MN="_root_ghlrl_3",ON="_card_ghlrl_9",LN="_copyable_ghlrl_21",TN="_feedback_ghlrl_31",NN="_copied_ghlrl_37",PN="_status_ghlrl_44",zN="_preview_ghlrl_53",AN="_inline_ghlrl_84",RN="_media_ghlrl_87",hr={root:MN,card:ON,copyable:LN,feedback:TN,copied:NN,status:PN,preview:zN,inline:AN,media:RN},Y5=100,J5=420,X5=24,DN=300,go=8,nn=8;function Yp({anchor:e,content:t,openDelayMs:n=500,disabled:r=!1,copyText:s,copyLabel:l,copiedLabel:u,variant:d="compact",widthAnchorRef:p,inline:m=!1}){const g=S.useRef(null),w=S.useRef(null),x=S.useRef(null),y=S.useRef(null),b=S.useRef(null),j=S.useRef(0),I=S.useRef(!1),P=S.useRef(!0),[M,H]=S.useState("closed"),z=M!=="closed",W=M==="closing",[V,ee]=S.useState(null),U=V!==null,[G,k]=S.useState(!1),[Y,$]=S.useState(!1),K=S.useCallback(()=>{y.current!==null&&(clearTimeout(y.current),y.current=null),b.current=null,k(!1)},[]),X=S.useCallback(()=>{j.current+=1,K(),H(R=>d==="preview"&&R!=="closed"?"closing":"closed")},[K,d]),{arm:we,cancel:fe}=Vp(X),Se=()=>{x.current!==null&&(clearTimeout(x.current),x.current=null)};S.useEffect(()=>{if(!W)return;const R=setTimeout(()=>{H("closed")},Y5);return()=>{clearTimeout(R)}},[W]),S.useEffect(()=>{r&&(Se(),fe(),X())},[r,fe,X]),S.useEffect(()=>(P.current=!0,()=>{P.current=!1,j.current+=1,Se(),y.current!==null&&(clearTimeout(y.current),y.current=null)}),[]),S.useEffect(()=>{if(!z||d!=="preview"&&!m)return;const R=ne=>{ne.key==="Escape"&&(m&&ne.stopPropagation(),Se(),fe(),X())};return window.addEventListener("keydown",R,m),()=>{window.removeEventListener("keydown",R,m)}},[z,d,m,fe,X]),S.useLayoutEffect(()=>{if(!z){ee(null);return}const R=()=>{const pe=g.current;if(pe===null)return;const Oe=pe.getBoundingClientRect(),Ne=w.current?.offsetHeight??0;if(d==="preview"){const Fe=p?.current?.getBoundingClientRect()??Oe,Re=Math.max(0,Math.min(Fe.width-X5*2,window.innerWidth-nn*2)),de=ji(nn),De=Math.max(de,Oe.bottom+go),ut=Math.max(0,Oe.top-go-de),Ye=Math.max(0,window.innerHeight-De-nn),Xe=ut>=Math.min(J5,Ye),an=Math.min(J5,Xe?ut:Ye);ee({left:Math.max(nn,Math.min(Fe.left+X5,window.innerWidth-Re-nn)),top:Xe?Math.max(de,Oe.top-Math.min(Ne,an)-go):De,width:Re,maxHeight:an});return}if(m){const Fe=Math.max(Ne,w.current?.scrollHeight??0),Re=Math.max(0,Math.min(DN,window.innerWidth-nn*2)),de=ji(nn),De=Math.max(de,Oe.bottom+go),ut=Math.max(0,Oe.top-go-de),Ye=Math.max(0,window.innerHeight-De-nn),Xe=Fe>Ye&&ut>Ye,an=Xe?ut:Ye;ee({left:Math.max(nn,Math.min(Oe.left,window.innerWidth-Re-nn)),top:Xe?Oe.top-go-Math.min(Fe,an):De,width:Re,maxHeight:an});return}const Be=Oe.top+Ne>window.innerHeight-nn?window.innerHeight-Ne-nn:Oe.top;ee({left:Oe.right+go,top:Be})};R();const ne=(d==="preview"||m)&&typeof ResizeObserver<"u"?new ResizeObserver(R):null;for(const pe of[w.current,g.current,p?.current])pe!=null&&ne?.observe(pe);return window.addEventListener("scroll",R,!0),window.addEventListener("resize",R),()=>{ne?.disconnect(),window.removeEventListener("scroll",R,!0),window.removeEventListener("resize",R)}},[z,d,p,U,m]),S.useLayoutEffect(()=>{if(!z||V===null||d==="preview"||m||Y)return;const R=w.current?.offsetHeight??0;V.top+R>window.innerHeight-nn&&ee({left:V.left,top:window.innerHeight-R-nn})},[z,V,d,m,Y]);const ce=async R=>{if(G||I.current)return;I.current=!0;const ne=j.current,pe=await Zl(R);I.current=!1;const Oe=w.current;if(!pe||!P.current||ne!==j.current||Oe===null)return;const Ne=Oe.offsetHeight;b.current=Ne>0?Ne:null,k(!0),y.current=setTimeout(K,1e3)},Q=s!==void 0,te=R=>{w.current?.contains(R.target)||(Se(),fe(),X())},T=z&&V!==null&&!Y&&c.jsx("div",{ref:w,className:xe(hr.card,d==="preview"&&hr.preview,m&&hr.media,Q&&hr.copyable,G&&hr.feedback),"data-closing":W||void 0,style:{...V,minHeight:G&&b.current!==null?b.current:void 0,"--dsh-hover-preview-fade":`${Y5}ms`},role:Q?"button":void 0,tabIndex:Q?0:void 0,"aria-label":Q?`${l}: ${s}`:void 0,onClick:Q?R=>{const ne=window.getSelection();if(ne!==null&&!ne.isCollapsed){for(let pe=0;pe<ne.rangeCount;pe+=1)if(ne.getRangeAt(pe).intersectsNode(R.currentTarget))return}ce(s)}:void 0,onKeyDown:Q?R=>{R.key!=="Enter"&&R.key!==" "||(R.preventDefault(),ce(s))}:void 0,children:G?c.jsx("span",{className:hr.copied,"aria-hidden":"true",children:u}):t});return c.jsxs("span",{ref:g,className:xe(hr.root,m&&hr.inline),onFocus:m?R=>{!r&&R.target.matches(":focus-visible")&&(fe(),H("open"))}:void 0,onBlur:m?R=>{R.currentTarget.contains(R.relatedTarget)||(Se(),fe(),X())}:void 0,onPointerEnter:R=>{if(!(r||m&&R.pointerType==="touch")){if(fe(),z){H("open");return}Se(),x.current=setTimeout(()=>{H("open")},n)}},onPointerLeave:()=>{Se(),z&&we()},onPointerDownCapture:te,onClickCapture:te,children:[c.jsx(od.Provider,{value:$,children:e}),z&&!Y&&Q&&c.jsx("span",{className:hr.status,role:"status",children:G?u:""}),T!==!1&&gn.createPortal(T,document.body)]})}const FN="_triggerSeat_l2tp1_1",$N="_trigger_l2tp1_1",HN="_chipBody_l2tp1_19",VN="_chip_l2tp1_19",BN="_chipNumber_l2tp1_36",ZN="_chipText_l2tp1_42",WN="_chipRemove_l2tp1_50",UN="_labelSeat_l2tp1_69",qN="_label_l2tp1_69",GN="_popover_l2tp1_86",KN="_card_l2tp1_102",YN="_cardSection_l2tp1_108",JN="_cardHeading_l2tp1_115",XN="_cardText_l2tp1_121",QN="_cardPre_l2tp1_127",Ct={triggerSeat:FN,trigger:$N,chipBody:HN,chip:VN,chipNumber:BN,chipText:ZN,chipRemove:WN,labelSeat:UN,label:qN,popover:GN,card:KN,cardSection:YN,cardHeading:JN,cardText:XN,cardPre:QN},Q5=48,eP=320,y0=8,Ls=8;function id(e){const t=e.replace(/\s+/gu," ").trim();return t.length<=Q5?t:`${t.slice(0,Q5-1)}…`}function Jp({annotation:e,labels:t}){const n=e.text.includes(`
134
+ `);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 d2({anchor:e,annotation:t,labels:n,className:r,title:s,open:l=!1,onActivate:u}){const[d,p]=S.useState(l),m=S.useRef(null),g=S.useRef(null),[w,x]=S.useState(null),y=S.useCallback(()=>{p(!1)},[]);return u2(m,d,y,g),S.useEffect(()=>{if(!d)return;const b=j=>{j.key==="Escape"&&y()};return window.addEventListener("keydown",b),()=>{window.removeEventListener("keydown",b)}},[d,y]),S.useEffect(()=>{if(!d){x(null);return}const b=()=>{const I=m.current?.getBoundingClientRect();if(I===void 0)return;const P=Math.min(eP,window.innerWidth-Ls*2),M=ji(Ls),H=Math.max(M,I.bottom+y0),z=Math.max(0,I.top-y0-M),W=Math.max(0,window.innerHeight-H-Ls),V=Math.min(g.current?.offsetHeight??0,z),ee=W<80&&z>W;x({left:Math.max(Ls,Math.min(I.left,window.innerWidth-P-Ls)),top:ee?Math.max(M,I.top-y0-V):H,width:P,maxHeight:ee?z:W})};b();const j=requestAnimationFrame(b);return window.addEventListener("resize",b),window.addEventListener("scroll",b,!0),()=>{cancelAnimationFrame(j),window.removeEventListener("resize",b),window.removeEventListener("scroll",b,!0)}},[d]),c.jsxs("span",{ref:m,className:xe(Ct.triggerSeat,r),children:[c.jsx("button",{type:"button",className:Ct.trigger,title:s,"aria-expanded":d,onClick:()=>{u?.(),p(b=>!b)},children:e}),d&&w!==null&&gn.createPortal(c.jsx("div",{ref:g,className:Ct.popover,role:"dialog","aria-label":n.selectedText,style:{left:w.left,top:w.top,width:w.width,maxHeight:w.maxHeight},children:c.jsx(Jp,{annotation:t,labels:n})}),document.body)]})}function tP({index:e,annotation:t,labels:n,onActivate:r,onRemove:s}){return c.jsxs("div",{className:Ct.chip,"data-response-annotation":e,children:[c.jsx(d2,{annotation:t,labels:n,title:n.railTitle(e,id(t.text)),className:Ct.chipBody,onActivate:r,anchor:c.jsxs(c.Fragment,{children:[c.jsx("span",{className:Ct.chipNumber,children:n.railLabel(e)}),c.jsx("span",{className:Ct.chipText,children:id(t.text)})]})}),s===void 0?null:c.jsx("button",{type:"button",className:Ct.chipRemove,"aria-label":n.remove(e),onClick:s,children:c.jsx(t2,{size:12})})]})}function Xp({index:e,annotation:t,labels:n}){return t===void 0?c.jsx("span",{className:Ct.label,children:n.label(e)}):c.jsx(d2,{annotation:t,labels:n,title:n.railTitle(e,id(t.text)),className:Ct.labelSeat,anchor:c.jsx("span",{className:Ct.label,children:n.label(e)})})}const nP="_root_6j8uo_6",rP="_mask_6j8uo_18",oP="_dialog_6j8uo_33",iP="_content_6j8uo_74",sP="_header_6j8uo_86",aP="_title_6j8uo_95",lP="_close_6j8uo_103",cP="_description_6j8uo_129",uP="_body_6j8uo_138",dP="_footer_6j8uo_146",rn={root:nP,mask:rP,dialog:oP,content:iP,header:sP,title:aP,close:lP,description:cP,body:uP,footer:dP};function Qp({open:e,onClose:t,title:n,closeLabel:r,description:s,children:l,footer:u,className:d,contentClassName:p,onKeyDownCapture:m,headless:g=!1,backdropBlur:w=!0,shortcutModal:x,phoneSidebar:y=!1,phoneSidebarOrigin:b=!1}){const j=Pi(),I=S.useRef(!1),P=S.useRef(!1);e&&!P.current&&(I.current=y&&(j?.open===!0||b)),P.current=e;const M=I.current&&j!==null,H=S.useRef(null);return c2(H,e&&!M,t),e?M?c.jsxs(qp,{title:n,onBack:t,className:d,onKeyDownCapture:m,children:[g?l:c.jsxs("div",{className:xe(rn.content,p),children:[s&&c.jsx("p",{className:rn.description,children:s}),l!==void 0&&c.jsx("div",{className:rn.body,children:l})]}),u!==void 0&&c.jsx("div",{className:rn.footer,children:u})]}):gn.createPortal(c.jsxs("div",{className:rn.root,role:"presentation",onKeyDownCapture:m,children:[c.jsx("div",{className:rn.mask,style:w?void 0:{backdropFilter:"none"},"aria-hidden":"true",onClick:t}),c.jsx("div",{ref:H,tabIndex:-1,"data-shortcut-modal":x,className:xe(rn.dialog,d),role:"dialog","aria-modal":"true","aria-label":n,children:g?l:c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:rn.header,children:[c.jsx("h2",{className:rn.title,children:n}),c.jsx("button",{type:"button",className:rn.close,"aria-label":r,onClick:t,children:c.jsx(Ul,{size:14})})]}),c.jsxs("div",{className:xe(rn.content,p),children:[s!==void 0&&s!==""&&c.jsx("p",{className:rn.description,children:s}),l!==void 0&&c.jsx("div",{className:rn.body,children:l})]}),u!==void 0&&c.jsx("div",{className:rn.footer,children:u})]})})]}),document.body):null}const fP="_confirmation_18u1x_1",hP="_confirmationContent_18u1x_7",pP="_warning_18u1x_19",mP="_warningIcon_18u1x_32",gP="_acknowledgement_18u1x_38",vP="_modalAction_18u1x_68",wP="_confirmAction_18u1x_72",vo={confirmation:fP,confirmationContent:hP,warning:pP,warningIcon:mP,acknowledgement:gP,modalAction:vP,confirmAction:wP};function xP({open:e,title:t,description:n,acknowledgeLabel:r,cancelLabel:s,closeLabel:l,confirmLabel:u,acknowledged:d,disabled:p=!1,onAcknowledgedChange:m,onCancel:g,onConfirm:w}){return c.jsxs(Qp,{open:e,onClose:g,title:t,closeLabel:l,className:vo.confirmation,contentClassName:vo.confirmationContent,footer:c.jsxs(c.Fragment,{children:[c.jsx(nd,{variant:"outline",className:vo.modalAction,onClick:g,children:s}),c.jsx(nd,{variant:"primary",className:vo.confirmAction,disabled:p||!d,onClick:w,children:u})]}),children:[c.jsxs("div",{className:vo.warning,children:[c.jsx(M7,{size:18,className:vo.warningIcon}),c.jsx("p",{children:n})]}),c.jsxs("label",{className:vo.acknowledgement,children:[c.jsx("input",{type:"checkbox",checked:d,disabled:p,"data-modal-autofocus":!0,onChange:x=>{m(x.currentTarget.checked)}}),c.jsx("span",{children:r})]})]})}const yP="_indicator_9rbf2_1",_P="_leaving_9rbf2_25",bP="_warning_9rbf2_35",CP="_success_9rbf2_64",kP="_icon_9rbf2_70",SP="_label_9rbf2_81",EP="_dots_9rbf2_85",jP="_secondDot_9rbf2_91",IP="_thirdDot_9rbf2_95",Sn={indicator:yP,leaving:_P,warning:bP,success:CP,icon:kP,label:SP,dots:EP,secondDot:jP,thirdDot:IP},MP=150;function OP({state:e,disconnectedLabel:t,connectingLabel:n,recoveredLabel:r,reconnectActionLabel:s,restartActionLabel:l,onReconnect:u}){const[d,p]=S.useState(e),m=e===void 0&&d!==void 0;if(S.useEffect(()=>{if(e!==void 0){p(e);return}if(d===void 0)return;const x=window.setTimeout(()=>{p(void 0)},MP);return()=>{window.clearTimeout(x)}},[e,d]),d===void 0)return null;const g=m?` ${Sn.leaving}`:"";if(d==="recovered")return c.jsxs("div",{className:`${Sn.indicator} ${Sn.success}${g}`,role:"status","aria-label":r,children:[c.jsx("span",{className:Sn.icon,"aria-hidden":"true",children:c.jsx(Ni,{size:14})}),c.jsx("span",{className:Sn.label,children:r})]});const w=d==="connecting";return c.jsxs("button",{type:"button",className:`${Sn.indicator} ${Sn.warning}${g}`,"data-phase":d,"aria-label":w?l:s,onClick:u,children:[c.jsx("span",{className:Sn.icon,"aria-hidden":"true",children:w?c.jsx(o2,{state:"ongoing"}):c.jsx(h7,{size:14})}),c.jsx("span",{className:Sn.label,children:w?c.jsxs(c.Fragment,{children:[n,c.jsxs("span",{className:Sn.dots,"aria-hidden":"true",children:[c.jsx("span",{children:"."}),c.jsx("span",{className:Sn.secondDot,children:"."}),c.jsx("span",{className:Sn.thirdDot,children:"."})]})]}):t})]})}const Fs={width:23.16,height:17.04},e9="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 LP({size:e=24,className:t}){return c.jsx("svg",{width:e,height:e*Fs.height/Fs.width,className:t,viewBox:`0 0 ${Fs.width} ${Fs.height}`,fill:"none","aria-hidden":"true",children:c.jsx("path",{d:e9,fill:"currentColor"})})}function TP({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 t9({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 n9({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 r9({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 NP(e){return c.jsx(t9,{...e,strokeWidth:se})}function PP(e){return c.jsx(t9,{...e,strokeWidth:ae})}function zP(e){return c.jsx(n9,{...e,strokeWidth:se})}function AP(e){return c.jsx(n9,{...e,strokeWidth:ae})}function RP(e){return c.jsx(r9,{...e,strokeWidth:se})}function DP(e){return c.jsx(r9,{...e,strokeWidth:ae})}function o9({kind:e,size:t=16,className:n,strokeWidth:r,reference:s}){if(e==="session"&&s!==void 0){const{text:l,mentions:u}=US(s),d=u[0];if(d&&u.length===1&&l===`@${d.label}`)return c.jsx(Hp,{id:d.harnessId,src:`/harness-icons/${encodeURIComponent(d.harnessId)}`,presentationUrl:"/harness-icons/presentation.json",size:t,className:n,fallback:c.jsx(tp,{size:t,className:n})})}switch(e){case"skill":return c.jsx(dp,{size:t,className:n});case"session":return c.jsx(B8,{size:t,className:n,strokeWidth:r});case"file":return c.jsx(e2,{size:t,className:n,strokeWidth:r});case"folder":return c.jsx(Wl,{size:t,className:n,strokeWidth:r})}}function i9(e){return c.jsx(o9,{...e,strokeWidth:se})}function FP(e){return c.jsx(o9,{...e,strokeWidth:ae})}const $P="__DSH_CODE_ICON_INSTANCE__",HP=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">
135
+ <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"/>
136
+ <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"/>
137
+ <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"/>
138
+ <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"/>
139
+ </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 VP({type:e,size:t=20,className:n}){const r=`dsh-code-icon-${S.useId().replaceAll(":","")}`,s=HP[e].replaceAll($P,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 BP=["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"],ZP=new Set(BP),WP={".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"},UP=[["dockerfile.","docker"],[".env.","env"]],qP=[[".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"]],GP={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"},KP=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 YP(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function s9(e){return ZP.has(e)}function JP(e){return KP.has(e.toLowerCase())}function XP(e,t,n){const r=WP[e];if(r!==void 0)return r;for(const[s,l]of UP)if(e.startsWith(s))return l;for(const[s,l]of qP)if(e.endsWith(s))return l;return t==="dart"&&n!==void 0&&Object.entries(n.files).find(([l])=>YP(l).toLowerCase()==="pubspec.yaml")?.[1]?.includes("flutter:")===!0?"flutter":GP[t]??null}const QP="_icon_1wejo_1",ez="_code_1wejo_8",tz="_excel_1wejo_12",nz="_folder_1wejo_16",rz="_html_1wejo_20",oz="_image_1wejo_24",iz="_markdown_1wejo_28",sz="_other_1wejo_32",az="_pdf_1wejo_36",lz="_ppt_1wejo_40",cz="_video_1wejo_44",uz="_word_1wejo_48",e6={icon:QP,code:ez,excel:tz,folder:nz,html:rz,image:oz,markdown:iz,other:sz,pdf:az,ppt:lz,video:cz,word:uz},dz={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"},fz={changelog:"markdown",contributing:"markdown",readme:"markdown"};function a9(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function f2(e){const t=a9(e),n=t.lastIndexOf(".");return n<0?"":t.slice(n+1)}function Gl(e,t){const n=a9(e).toLowerCase(),r=f2(n).toLowerCase();return XP(n,r,t)??fz[n]??dz[r]??"other"}const hz="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",t6="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",_0="translate(14 16) scale(1.12) translate(-14 -16)",Ra="translate(14 16) scale(1.22) translate(-14 -16)",pz="translate(14 13.0693) scale(1.12) translate(-14 -13.0693)";function Jn({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:hz,fill:"currentColor"}),s?c.jsx("path",{d:t6,fill:"var(--dsw-static-neutral-400)"}):c.jsx("path",{d:t6,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 mz({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:pz,children:c.jsx("path",{d:"M6.31445 13.0693H21.6893",stroke:"currentColor",strokeWidth:"2.38"})})]})}function gz({size:e,className:t}){return c.jsx(Jn,{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 vz(e,t,n){switch(e){case"code":return c.jsxs(Jn,{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(gz,{size:t,className:n});case"folder":return c.jsx(mz,{size:t,className:n});case"html":return c.jsx(Jn,{size:t,className:n,markTransform:_0,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(Jn,{size:t,className:n,markTransform:_0,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(Jn,{size:t,className:n,markTransform:Ra,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(Jn,{size:t,className:n,muted:!0});case"pdf":return c.jsx(Jn,{size:t,className:n,markTransform:Ra,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(Jn,{size:t,className:n,markTransform:Ra,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(Jn,{size:t,className:n,markTransform:_0,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(Jn,{size:t,className:n,markTransform:Ra,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 wz(e)}}function wz(e){throw new Error(`unreachable traditional file type: ${String(e)}`)}function xz(e){const{size:t=28,className:n}=e,r="path"in e?Gl(e.path,e.context):e.kind;return s9(r)?c.jsx(VP,{type:r,size:t,className:n}):vz(r,t,xe(e6.icon,e6[r],n))}const Ue='<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>',qe='</title><path d="',Ge='"/></svg>',yz={title:"AliExpress",slug:"aliexpress",get svg(){return Ue+"AliExpress"+qe+this.path+Ge},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"},_z={title:"Apple",slug:"apple",get svg(){return Ue+"Apple"+qe+this.path+Ge},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"},bz={title:"Baidu",slug:"baidu",get svg(){return Ue+"Baidu"+qe+this.path+Ge},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"},Cz={title:"Bilibili",slug:"bilibili",get svg(){return Ue+"Bilibili"+qe+this.path+Ge},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"},kz={title:"CSDN",slug:"csdn",get svg(){return Ue+"CSDN"+qe+this.path+Ge},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"},Sz={title:"DuckDuckGo",slug:"duckduckgo",get svg(){return Ue+"DuckDuckGo"+qe+this.path+Ge},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"},Ez={title:"eBay",slug:"ebay",get svg(){return Ue+"eBay"+qe+this.path+Ge},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"},jz={title:"Facebook",slug:"facebook",get svg(){return Ue+"Facebook"+qe+this.path+Ge},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"},b0={title:"GitHub",slug:"github",get svg(){return Ue+"GitHub"+qe+this.path+Ge},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"},Iz={title:"GitLab",slug:"gitlab",get svg(){return Ue+"GitLab"+qe+this.path+Ge},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/"},Mz={title:"Google",slug:"google",get svg(){return Ue+"Google"+qe+this.path+Ge},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/"},Oz={title:"Instagram",slug:"instagram",get svg(){return Ue+"Instagram"+qe+this.path+Ge},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"},Lz={title:"Juejin",slug:"juejin",get svg(){return Ue+"Juejin"+qe+this.path+Ge},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"},Tz={title:"MDN Web Docs",slug:"mdnwebdocs",get svg(){return Ue+"MDN Web Docs"+qe+this.path+Ge},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"},Nz={title:"Netflix",slug:"netflix",get svg(){return Ue+"Netflix"+qe+this.path+Ge},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"},Pz={title:"npm",slug:"npm",get svg(){return Ue+"npm"+qe+this.path+Ge},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"},zz={title:"PyPI",slug:"pypi",get svg(){return Ue+"PyPI"+qe+this.path+Ge},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"},Az={title:"QQ",slug:"qq",get svg(){return Ue+"QQ"+qe+this.path+Ge},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"},Rz={title:"Quora",slug:"quora",get svg(){return Ue+"Quora"+qe+this.path+Ge},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"},Dz={title:"Reddit",slug:"reddit",get svg(){return Ue+"Reddit"+qe+this.path+Ge},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"},Fz={title:"Sina Weibo",slug:"sinaweibo",get svg(){return Ue+"Sina Weibo"+qe+this.path+Ge},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"},$z={title:"Spotify",slug:"spotify",get svg(){return Ue+"Spotify"+qe+this.path+Ge},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"},Hz={title:"Stack Overflow",slug:"stackoverflow",get svg(){return Ue+"Stack Overflow"+qe+this.path+Ge},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"},Vz={title:"Taobao",slug:"taobao",get svg(){return Ue+"Taobao"+qe+this.path+Ge},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"},n6={title:"Telegram",slug:"telegram",get svg(){return Ue+"Telegram"+qe+this.path+Ge},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"},Bz={title:"TikTok",slug:"tiktok",get svg(){return Ue+"TikTok"+qe+this.path+Ge},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"},Zz={title:"V2EX",slug:"v2ex",get svg(){return Ue+"V2EX"+qe+this.path+Ge},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"},Wz={title:"WeChat",slug:"wechat",get svg(){return Ue+"WeChat"+qe+this.path+Ge},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"},r6={title:"WhatsApp",slug:"whatsapp",get svg(){return Ue+"WhatsApp"+qe+this.path+Ge},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"},Uz={title:"Wikipedia",slug:"wikipedia",get svg(){return Ue+"Wikipedia"+qe+this.path+Ge},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"},o6={title:"X",slug:"x",get svg(){return Ue+"X"+qe+this.path+Ge},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"},qz={title:"Y Combinator",slug:"ycombinator",get svg(){return Ue+"Y Combinator"+qe+this.path+Ge},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"},i6={title:"YouTube",slug:"youtube",get svg(){return Ue+"YouTube"+qe+this.path+Ge},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"},Gz={title:"Zhihu",slug:"zhihu",get svg(){return Ue+"Zhihu"+qe+this.path+Ge},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"},Kz={"github.com":b0,"github.io":b0,"raw.githubusercontent.com":b0,"gitlab.com":Iz,"npmjs.com":Pz,"pypi.org":zz,"stackoverflow.com":Hz,"developer.mozilla.org":Tz,"wikipedia.org":Uz,"news.ycombinator.com":qz,"youtube.com":i6,"youtu.be":i6,"x.com":o6,"twitter.com":o6,"bilibili.com":Cz,"zhihu.com":Gz,"juejin.cn":Lz,"csdn.net":kz,"google.com":Mz,"baidu.com":bz,"duckduckgo.com":Sz,"tiktok.com":Bz,"netflix.com":Nz,"spotify.com":$z,"facebook.com":jz,"instagram.com":Oz,"reddit.com":Dz,"telegram.org":n6,"t.me":n6,"weixin.qq.com":Wz,"qq.com":Az,"whatsapp.com":r6,"wa.me":r6,"weibo.com":Fz,"taobao.com":Vz,"aliexpress.com":yz,"ebay.com":Ez,"quora.com":Rz,"v2ex.com":Zz,"apple.com":_z};function Yz(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(Kz))(t===s||t.endsWith(`.${s}`))&&s.length>r&&(n=l,r=s.length);return n}function Jz({href:e,size:t,className:n}){const r=e===void 0?void 0:Yz(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 hl(e){const t=Gl(e),n=f2(e);if(s9(t))return JP(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 l9(t)}}const Xz=({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"})]}),Qz=({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"})]}),eA=({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 l9(e){throw new Error(`unreachable link icon kind: ${String(e)}`)}function c9({kind:e,href:t,size:n=14,className:r,strokeWidth:s}){switch(e){case"url":return Jz({href:t,size:n,className:r})??c.jsx(Xd,{size:n,className:r,strokeWidth:s});case"folder":return c.jsx(Wl,{size:n,className:r,strokeWidth:s});case"code":return c.jsx(Qd,{size:n,className:r,strokeWidth:s});case"image":return c.jsx(Xz,{size:n,className:r,strokeWidth:s});case"document":return c.jsx(Qz,{size:n,className:r,strokeWidth:s});case"other":return c.jsx(eA,{size:n,className:r,strokeWidth:s});default:return l9(e)}}function tA(e){return c.jsx(c9,{...e,strokeWidth:se})}function h1(e){return c.jsx(c9,{...e,strokeWidth:ae})}const nA="_plainRun_1e1vv_6",rA="_refChip_1e1vv_11",oA="_slashChip_1e1vv_30",iA="_refIcon_1e1vv_39",Ts={plainRun:nA,refChip:rA,slashChip:oA,refIcon:iA},sA="_markdown_4cpb5_5",aA="_fileLink_4cpb5_59",lA="_fileMention_4cpb5_85",cA="_linkIcon_4cpb5_94",uA="_tableScroll_4cpb5_192",dA="_tableFill_4cpb5_247",fA="_imageAlt_4cpb5_295",hA="_image_4cpb5_295",pA="_compact_4cpb5_339",mA="_imageButton_4cpb5_454",gA="_previewName_4cpb5_473",vA="_annotationCitation_4cpb5_485",zt={markdown:sA,fileLink:aA,fileMention:lA,linkIcon:cA,tableScroll:uA,tableFill:dA,imageAlt:fA,image:hA,compact:pA,imageButton:mA,previewName:gA,annotationCitation:vA},s6=/@\[([^\]\n]+)\]\(dsh-session:[^)\s]+\)/gu,wA=/\[@((?:\\.|[^\\\]\r\n])+)\]\((thread:\/\/[^/?#()\s<>]+\?hostId=[^&#()\s<>]+)\)/gu,xA=/\[@([^\]\n]+)\]\(<?subagent:\/\/codexhost\.([a-z0-9][a-z0-9-]*)>?\)/gu,yA=/[.,;:!?,。;:!?]+$/u;function _A(e,t,n=[],r="skill",s){const l=Yk(e).map(y=>({start:y.start,end:y.end,label:y.text,kind:"skill",display:y.name}));for(const y of e.matchAll(xA))l.push({start:y.index,end:y.index+y[0].length,label:y[0],kind:"harness",display:y[1].trim()});for(const y of e.matchAll(wA))l.push({start:y.index,end:y.index+y[0].length,label:y[0],kind:"session",display:y[1].replace(/\\([\\`*{}[\]()#+.!_<>|~-])/gu,"$1")});s6.lastIndex=0;let u;for(;(u=s6.exec(e))!==null;)l.push({start:u.index,end:u.index+u[0].length,label:u[0],kind:"session",display:u[1]});for(const y of[...new Set(t)].sort((b,j)=>j.length-b.length)){const b=`@${y}`;let j=e.indexOf(b);for(;j>=0;)l.push({start:j,end:j+b.length,label:b,kind:"session"}),j=e.indexOf(b,j+b.length)}const d=/(^|\s)(\/[\w-]+(?=\s|$)|@"[^"\n]+"|@[^\s]+)/gu;let p;for(;(p=d.exec(e))!==null;){const y=p.index+p[1].length,b=p[2],j=b.startsWith('@"')?b:b.replace(yA,"");j.length<=1||j.startsWith("/")&&!n.includes(j.slice(1))||l.push({start:y,end:y+j.length,label:j,kind:"plain"})}const m=y=>y.kind==="plain"?1:0;l.sort((y,b)=>y.start-b.start||m(y)-m(b)||b.end-y.end);const g=[];let w=0;const x=(y,b)=>{g.push(c.jsx("span",{className:Ts.plainRun,children:e.slice(y,b)},`t${y}`))};for(const y of l){if(y.start<w)continue;const{start:b,end:j,label:I,kind:P}=y;b>w&&x(w,b);const M=P==="skill"?"skill":P==="harness"?"harness":P==="session"?"session":I.startsWith("@")?I.replace(/^@"|"$/gu,"").endsWith("/")?"folder":"file":void 0,H=y.display??(M===void 0?I:M==="session"?I.slice(1):I.slice(1).replace(/^"|"$/gu,"").split(/[\\/]/u).filter(Boolean).at(-1)??I.slice(1)),z=c.jsxs(c.Fragment,{children:[M!==void 0&&c.jsx(i9,{kind:M==="harness"?"session":M,reference:I,size:16,className:Ts.refIcon}),H]}),W=s===void 0?void 0:M==="file"?()=>{s.openFile(I.slice(1).replace(/^"|"$/gu,""))}:M===void 0&&r==="skill"?()=>{s.openSkill(I.slice(1))}:void 0,V=xe(Ts.refChip,M===void 0&&Ts.slashChip);g.push(W===void 0?c.jsx("span",{className:V,"data-ref-chip":M??r,title:I,children:z},b):c.jsx("button",{type:"button",className:xe(V,zt.fileMention),"data-ref-chip":M??r,title:I,onClick:ee=>{ee.detail>1||ee.detail!==0&&ee.currentTarget.ownerDocument.getSelection()?.isCollapsed===!1||W()},children:z},b)),w=j}return g.length===0?c.jsx("span",{className:Ts.plainRun,children:e}):(w<e.length&&x(w,e.length),c.jsx(c.Fragment,{children:g}))}const bA="_toast_l6cvn_6",CA="_icon_l6cvn_40",kA="_success_l6cvn_47",SA="_text_l6cvn_51",EA="_action_l6cvn_55",li={toast:bA,icon:CA,success:kA,text:SA,action:EA},jA=3e3,IA=1e3;function MA({text:e,icon:t,tone:n,anchor:r,holdMs:s=jA,actions:l,onDone:u}){const d=S.useRef(u);S.useLayoutEffect(()=>{d.current=u},[u]),S.useEffect(()=>{const g=setTimeout(()=>{d.current()},s+IA);return()=>{clearTimeout(g)}},[s]);const[p,m]=S.useState(null);return S.useLayoutEffect(()=>{if(r==null)return;const g=()=>{const w=r.getBoundingClientRect();m(w.left+w.width/2)};return g(),window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g)}},[r]),gn.createPortal(c.jsxs("div",{className:li.toast,role:"alert",style:{...p===null?{}:{left:p},"--dsh-toast-hold":`${String(s)}ms`},children:[n==="success"?c.jsx("span",{className:`${li.icon} ${li.success}`,"aria-hidden":!0,children:c.jsx(Mp,{})}):t!==void 0&&c.jsx("span",{className:li.icon,"aria-hidden":!0,children:t}),c.jsxs("span",{className:li.text,children:[e,l?.map(g=>c.jsxs(S.Fragment,{children:[g.prefix,c.jsx("button",{type:"button",className:li.action,onClick:g.onClick,children:g.label})]},g.label))]})]}),document.body)}const OA=5e3;function LA(e){const[t,n]=S.useState(!1);return S.useEffect(()=>{if(!e)return;let r,s=document.visibilityState!=="hidden";const l=()=>{r=setTimeout(()=>n(!0),OA)},u=()=>{const d=document.visibilityState!=="hidden";d!==s&&(s=d,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 TA(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 NA="_form_1vwfs_3",PA="_readOnly_1vwfs_8",zA="_unavailable_1vwfs_9",AA="_footer_1vwfs_16",RA="_failed_1vwfs_23",DA="_save_1vwfs_32",ci={form:NA,readOnly:PA,unavailable:zA,footer:AA,failed:RA,save:DA};function FA(e){const{state:t,labels:n}=e,r=S.useRef(e.onDiscard);if(r.current=e.onDiscard,S.useEffect(()=>()=>{r.current()},[]),!t.available)return c.jsx("p",{className:ci.unavailable,role:"status",children:n.unavailable});const s=!t.dirty||t.invalid||t.saving;return c.jsxs("div",{className:ci.form,children:[t.writable?null:c.jsx("p",{className:ci.readOnly,role:"status",children:n.readOnly}),e.children,c.jsxs("div",{className:ci.footer,children:[t.failed?c.jsx("p",{className:ci.failed,role:"status",children:n.saveFailed}):null,c.jsx("button",{type:"button",className:ci.save,disabled:s,onClick:e.onSave,children:t.saving?n.saving:n.save})]})]})}const $A="_field_1o7ya_3",HA="_head_1o7ya_14",VA="_label_1o7ya_20",BA="_labelGroup_1o7ya_29",ZA="_helpButton_1o7ya_41",WA="_help_1o7ya_41",UA="_badges_1o7ya_86",qA="_reset_1o7ya_92",GA="_input_1o7ya_114",KA="_invalid_1o7ya_140",YA="_hint_1o7ya_147",Pt={field:$A,head:HA,label:VA,labelGroup:BA,helpButton:ZA,help:WA,badges:UA,reset:qA,input:GA,invalid:KA,hint:YA};function JA(e){const[t,n]=S.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:Pt.field,children:[c.jsxs("div",{className:Pt.head,children:[c.jsxs("div",{className:Pt.labelGroup,children:[c.jsx("label",{className:Pt.label,htmlFor:e.id,children:e.label}),e.help!==void 0?c.jsx("button",{type:"button",className:Pt.helpButton,"aria-label":e.help.label,"aria-expanded":t,"aria-controls":r,onClick:()=>{n(!t)},children:c.jsx(pp,{size:12})}):null]}),e.overridden?c.jsxs("span",{className:Pt.badges,children:[c.jsx(s2,{tone:"neutral",children:e.overriddenLabel}),c.jsx("button",{type:"button",className:Pt.reset,disabled:e.disabled,onClick:e.onReset,children:e.resetLabel})]}):null]}),c.jsx("input",{id:e.id,className:Pt.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:d=>{e.onEdit(d.target.value)}}),l?c.jsx("p",{id:s,className:e.invalid?Pt.invalid:Pt.hint,children:e.invalid?e.invalidLabel:e.hint}):null,e.help!==void 0&&t?c.jsx("div",{id:r,className:Pt.help,role:"region","aria-label":e.help.label,children:e.help.content}):null]})}function XA(e){return c.jsxs("div",{className:Pt.field,children:[c.jsxs("div",{className:Pt.head,children:[c.jsx("label",{className:Pt.label,htmlFor:e.id,children:e.label}),c.jsx("span",{className:Pt.badges,children:c.jsx(s2,{tone:e.configured?"neutral":"quiet",children:e.stateLabel})})]}),c.jsx("input",{id:e.id,className:Pt.input,type:"password",autoComplete:"new-password",value:e.text,disabled:e.disabled,onChange:t=>{e.onEdit(t.target.value)}}),c.jsx("p",{className:Pt.hint,children:e.hint})]})}function QA(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 eR(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 tR{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=Bl(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 d=r.text.trim();d!==""&&t.push({field:n,run:()=>s.write(d)});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 nR="modulepreload",rR=function(e,t){return new URL(e,t).href},a6={},je=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(g){return Promise.all(g.map(w=>Promise.resolve(w).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};const d=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),m=p?.nonce||p?.getAttribute("nonce");s=u(n.map(g=>{if(g=rR(g,r),g in a6)return;a6[g]=!0;const w=g.endsWith(".css"),x=w?'[rel="stylesheet"]':"";if(!!r)for(let j=d.length-1;j>=0;j--){const I=d[j];if(I.href===g&&(!w||I.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${g}"]${x}`))return;const b=document.createElement("link");if(b.rel=w?"stylesheet":nR,w||(b.as="script"),b.crossOrigin="",b.href=g,m&&b.setAttribute("nonce",m),document.head.appendChild(b),w)return new Promise((j,I)=>{b.addEventListener("load",j),b.addEventListener("error",()=>I(new Error(`Unable to preload CSS for ${g}`)))})}))}function l(u){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=u,window.dispatchEvent(d),!d.defaultPrevented)throw u}return s.then(u=>{for(const d of u||[])d.status==="rejected"&&l(d.reason);return t().catch(l)})},oR=[Xv,Qv,ew],iR=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)]]),sR=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 Kl(e){return e===void 0?void 0:sR.get(e.toLowerCase())}function u9(e){return Kl(e)!==void 0}const aR=Gv({name:"css-variables",variablePrefix:"--shiki-",fontStyle:!0}),lR=Kv({forgiving:!0,regexConstructor:e=>Jv(e,{lazyCompileLength:Number.POSITIVE_INFINITY})});let l6;const cR=[{lang:"typescript",code:"const answer: number = 42"},{lang:"shellscript",code:`printf '%s\\n' "$HOME"`},{lang:"json",code:'{"ready":true}'}];function uR(){const e=Yv({themes:[aR],langs:oR,engine:lR});for(const t of cR)e.codeToTokens(t.code,{lang:t.lang,theme:"css-variables",tokenizeTimeLimit:0});return e}function Lo(){return l6??=uR(),l6}const c6=new Set,sd=new Set;let d9=0;function h2(e){return sd.add(e),()=>{sd.delete(e)}}function Mi(){return d9}function p2(e){const t=iR.get(e);return t===void 0||Lo().getLoadedLanguages().includes(e)?!0:(c6.has(e)||(c6.add(e),t().then(n=>{Lo().loadLanguageSync(n.default),d9+=1;for(const r of sd)r()})),!1)}const dR=setTimeout(()=>{Lo()},0);dR.unref?.();function fR(e,t){const n=Kl(t);if(n!==void 0&&p2(n))return Lo().codeToHtml(e,{lang:n,theme:"css-variables"})}const hR=[[4,"underline"],[8,"line-through"]];function pR(e){const t={color:e.color},n=e.fontStyle??0;(n&1)!==0&&(t.fontStyle="italic"),(n&2)!==0&&(t.fontWeight="bold");const r=hR.filter(([s])=>(n&s)!==0);return r.length>0&&(t.textDecoration=r.map(([,s])=>s).join(" ")),t}function u6(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:pR(s)}),n=""}return t}class mR{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 Lo().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=Kl(n);if(r===void 0||!p2(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(`
140
+ `);if(u>=0){const d=l[u-1]==="\r"?u-1:u,p=this.tokenize(r,l.slice(0,d));for(const m of p)this.spans.push(u6(m));this.state=Lo().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(u6)},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 f9(e,t){const n=Kl(t);if(n===void 0||!p2(n))return;const{tokens:r}=Lo().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(d=>({text:d.content,style:{color:d.color}})))}const gR={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"]},h9=new Map(Object.entries(gR).flatMap(([e,t])=>t.map(n=>[n,e]))),vR=[...h9.keys()];function wR(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 ad(e){const t=wR(e);return t===void 0?void 0:h9.get(t)}function xR(e){const t=S.useSyncExternalStore(h2,Mi,Mi);return S.useCallback(n=>f9(n,e),[e,t])}function yR(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 d6(e,t){return t===0||e.charAt(t-1)==="-"||e.charAt(t-1)==="_"?8:0}function _R(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+d6(e,l)-l);for(let l=1;l<t.length;l++){const u=Array(e.length).fill(n);let d=n,p=n,m=n;for(const[g,w]of r.entries()){if(p!==n&&(m=Math.max(m,p+g-2)),e.charAt(g)===t.charAt(l)){const x=1+d6(e,g);let y=n;d!==n&&(y=d+x+4),m!==n&&(y=Math.max(y,m+x+1-g)),u[g]=y}p=d,d=w}r=u}let s=n;for(const l of r)s=Math.max(s,l);return s===n?void 0:s}function bR(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 d=!1,p;for(const m of u){const g=m.toLowerCase(),w=_R(g,n);w!==void 0&&(d||=g.startsWith(n),p=p===void 0?w:Math.max(p,w))}p!==void 0&&r.push({item:s,index:l,prefix:d,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 CR(){return document.documentElement.dataset.platform==="darwin"}const kR="_root_m1m7t_1",SR="_container_m1m7t_30",ER="_expandedTopLevel_m1m7t_39",jR="_topLevelBracket_m1m7t_46",IR="_expandedTopLevelContainer_m1m7t_51",MR="_row_m1m7t_55",OR="_children_m1m7t_60",LR="_expander_m1m7t_80",TR="_copySlot_m1m7t_92",NR="_label_m1m7t_97",PR="_clickableLabel_m1m7t_103",zR="_stringValue_m1m7t_107",AR="_stringField_m1m7t_111",RR="_stringText_m1m7t_117",DR="_stringRaw_m1m7t_126",FR="_stringActions_m1m7t_136",$R="_stringToggleSlot_m1m7t_159",HR="_stringToggle_m1m7t_159",VR="_summary_m1m7t_198",BR="_numberValue_m1m7t_205",ZR="_keywordValue_m1m7t_209",WR="_otherValue_m1m7t_213",UR="_punctuation_m1m7t_217",qR="_preview_m1m7t_221",GR="_previewProperty_m1m7t_225",KR="_previewEllipsis_m1m7t_229",YR="_actionButton_m1m7t_264",JR="_collapseIcon_m1m7t_325",_e={root:kR,container:SR,expandedTopLevel:ER,topLevelBracket:jR,expandedTopLevelContainer:IR,row:MR,children:OR,expander:LR,copySlot:TR,label:NR,clickableLabel:PR,stringValue:zR,stringField:AR,stringText:RR,stringRaw:DR,stringActions:FR,stringToggleSlot:$R,stringToggle:HR,summary:VR,numberValue:BR,keywordValue:ZR,otherValue:WR,punctuation:UR,preview:qR,previewProperty:GR,previewEllipsis:KR,actionButton:YR,collapseIcon:JR},XR=4,QR=5,f6=2;function eD(e){return[{id:"value",label:e.copyValue},{id:"json",label:e.copyJson},{id:"path",label:e.copyPath}]}function tD(e){return[{id:"prettyJson",label:e.copyPrettyJson},{id:"json",label:e.copyCompactJson},{id:"path",label:e.copyPath}]}function nD(){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 rD({store:e,target:t,persistent:n,labels:r,onCopy:s,onClose:l}){const u=mi(t.path),d=S.useCallback(b=>e.subscribe(u,b),[u,e]),p=()=>{const b=e.get();return b?.id===u?b:void 0},m=S.useSyncExternalStore(d,p,p),g=S.useRef(null),w=m?.state??"idle",x=typeof t.value=="object"&&t.value!==null,y=w==="copied"?r.copied:w==="failed"?r.copyFailed:x?r.copyPrettyJson:r.copyValue;return c.jsx("span",{className:_e.copySlot,children:(n||m!==void 0)&&c.jsx(Gp,{open:m?.menuOpen===!0,compact:!0,portal:!0,align:"end",anchor:c.jsx("button",{ref:g,type:"button",className:_e.actionButton,"data-json-copy-button":!0,"data-state":w,"aria-label":y,title:r.copyButtonTitle(y),onClick:()=>void s(t,x?"prettyJson":"value"),onContextMenu:b=>{b.preventDefault(),b.stopPropagation(),e.set({id:u,target:t,state:w,menuOpen:!0})},children:w==="copied"?c.jsx(Ni,{size:12}):c.jsx(n2,{size:12})}),items:x?tD(r):eD(r),onSelect:b=>{s(t,b)},onClose:l,getAnchorRect:()=>g.current.getBoundingClientRect()})})}function pl(e){return typeof e=="object"&&e!==null&&!(e instanceof Date)}function ml(e){return Array.isArray(e)?e.map((t,n)=>[String(n),t]):Object.keys(e).map(t=>[t,e[t]])}function m2(e){return Array.isArray(e)?["[","]"]:["{","}"]}function oD(e){return e===null?c.jsx("span",{className:_e.keywordValue,children:"null"}):typeof e=="string"?c.jsx("span",{className:_e.stringValue,children:JSON.stringify(e)}):typeof e=="number"?c.jsx("span",{className:_e.numberValue,children:String(e)}):typeof e=="boolean"?c.jsx("span",{className:_e.keywordValue,children:String(e)}):typeof e=="bigint"?c.jsx("span",{className:_e.otherValue,children:e.toString()}):typeof e>"u"?c.jsx("span",{className:_e.otherValue,children:"undefined"}):typeof e=="symbol"?c.jsx("span",{className:_e.otherValue,children:e.description??"Symbol"}):typeof e=="function"?c.jsx("span",{className:_e.otherValue,children:e.name||"Function"}):null}function p9(e,t){if(!pl(e))return oD(e);const n=Array.isArray(e),r=ml(e),s=n?QR:XR,l=r.slice(0,s),[u,d]=m2(e);return c.jsxs(c.Fragment,{children:[c.jsx("span",{className:_e.punctuation,children:u}),t>=f6?c.jsx("span",{className:_e.previewEllipsis,children:"…"}):l.map(([p,m],g)=>c.jsxs("span",{children:[g>0&&c.jsx("span",{className:_e.punctuation,children:", "}),!n&&c.jsxs(c.Fragment,{children:[c.jsx("span",{className:_e.previewProperty,children:p}),c.jsx("span",{className:_e.punctuation,children:": "})]}),p9(m,t+1)]},p)),t<f6&&r.length>s&&c.jsx("span",{className:_e.previewEllipsis,children:", …"}),c.jsx("span",{className:_e.punctuation,children:d})]})}function m9(e){return e===null?c.jsx("span",{className:_e.keywordValue,children:"null"}):typeof e=="string"?c.jsx("span",{className:_e.stringValue,children:JSON.stringify(e)}):typeof e=="boolean"?c.jsx("span",{className:_e.keywordValue,children:String(e)}):typeof e=="number"?c.jsx("span",{className:_e.numberValue,children:String(e)}):typeof e=="bigint"?c.jsx("span",{className:_e.numberValue,children:`${e.toString()}n`}):e instanceof Date?c.jsx("span",{className:_e.otherValue,children:e.toISOString()}):typeof e=="function"?c.jsxs("span",{className:_e.otherValue,children:["function() ","{ }"]}):typeof e>"u"?c.jsx("span",{className:_e.otherValue,children:"undefined"}):c.jsx("span",{className:_e.otherValue,children:e.toString()})}function ld(e){return e===""?'""':e}function mi(e){return e.map(t=>typeof t=="number"?`n${String(t)}`:`s${String(t.length)}:${t}`).join("/")}function g9(e){e.focus()}function iD(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&&g9(u)}function C0({field:e,expandable:t,onToggle:n}){return e===void 0?null:c.jsxs("span",{className:xe(_e.label,t&&_e.clickableLabel),onClick:t?n:void 0,children:[ld(e),":"]})}function sD({collapsedStringLines:e,stringWrapping:t,field:n,labels:r,lastElement:s,renderCopy:l,value:u}){const d=S.useId(),p=S.useRef(null),m=S.useRef(null),[g,w]=S.useState(!1),[x,y]=S.useState(!1),[b,j]=S.useState(!1);if(S.useLayoutEffect(()=>{if(g)return;const I=p.current,P=()=>{const H=Number.parseFloat(getComputedStyle(I).lineHeight);j(I.scrollHeight>H*e)};if(P(),typeof ResizeObserver>"u")return;const M=new ResizeObserver(P);return M.observe(I),()=>{M.disconnect()}},[e,g,n,s,u]),S.useLayoutEffect(()=>{if(!g)return;const I=m.current,P=[],M=I.closest(`.${_e.root}`);for(let W=M.parentElement;W!==null;W=W.parentElement)/auto|scroll|hidden|clip/.test(getComputedStyle(W).overflowY)&&P.push(W);const H=()=>{let W=0,V=window.innerHeight;for(const U of P){const G=U.getBoundingClientRect(),k=getComputedStyle(U);W=Math.max(W,G.top+U.clientTop),V=Math.min(V,G.top+U.clientTop+U.clientHeight-Number.parseFloat(k.paddingBottom))}const ee=V-Math.max(W,I.getBoundingClientRect().top);I.style.maxHeight=`${Math.max(16,ee-4)}px`};H();const z=typeof ResizeObserver>"u"?void 0:new ResizeObserver(H);z?.observe(I);for(const W of P)z?.observe(W);return window.addEventListener("resize",H),window.addEventListener("scroll",H,!0),()=>{z?.disconnect(),window.removeEventListener("resize",H),window.removeEventListener("scroll",H,!0)}},[g,u]),g){const I=`${d}-field`;return c.jsxs("div",{className:_e.stringField,"data-expanded":!0,children:[n!==void 0&&c.jsxs("span",{id:I,className:_e.label,children:[ld(n),":"]}),c.jsx("pre",{ref:m,id:d,className:_e.stringRaw,"data-wrap":x,tabIndex:0,"aria-labelledby":n===void 0?void 0:I,children:u}),!s&&c.jsx("span",{className:_e.punctuation,children:","}),c.jsxs("div",{className:_e.stringActions,children:[t!==void 0&&c.jsx("button",{type:"button",className:_e.actionButton,"aria-label":t.label,title:t.label,"aria-pressed":x,"aria-controls":d,onClick:()=>{const P=!x;y(P),t.setDefault(P)},children:c.jsx(xp,{size:12})}),c.jsx("button",{type:"button",className:_e.actionButton,"aria-label":r.collapseNode,title:r.collapseNode,"aria-expanded":!0,"aria-controls":d,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:_e.stringField,"data-expanded":g,children:c.jsxs("span",{ref:p,id:d,className:_e.stringText,children:[b&&c.jsx("span",{className:_e.stringToggleSlot,children:c.jsxs("button",{type:"button",className:_e.stringToggle,"aria-label":r.expandNode,"aria-expanded":!1,"aria-controls":d,onClick:()=>{y(t?.getDefault()??!1),w(!0)},children:[c.jsx("span",{"aria-hidden":"true",children:"…"}),r.expandNode]})}),n!==void 0&&c.jsxs("span",{className:_e.label,children:[ld(n),":"]}),m9(u),!s&&c.jsx("span",{className:_e.punctuation,children:","})]})})]})}function cd({collapsedStringLines:e,stringWrapping:t,field:n,initialExpanded:r,labels:s,lastElement:l,onClaimTabStop:u,onRowHover:d,path:p,renderCopy:m,tabStopId:g,value:w}){const x=S.useId(),y=S.useRef(null),[b,j]=S.useState(r),I=mi(p),P=pl(w),M=P?ml(w):[],H=M.length>0,z=()=>{j(G=>!G),g9(y.current)},W=G=>{if(G.key==="ArrowRight"||G.key==="ArrowLeft"){G.preventDefault(),j(G.key==="ArrowRight");return}(G.key==="ArrowUp"||G.key==="ArrowDown")&&(G.preventDefault(),iD(G.currentTarget,G.key==="ArrowUp"?-1:1))},V=(G,k)=>c.jsxs("div",{className:_e.row,role:"treeitem","aria-expanded":k,onMouseOver:Y=>{Y.stopPropagation(),d(Y.currentTarget,{path:p,value:w})},children:[typeof w!="string"&&m?.({path:p,value:w}),G]});if(typeof w=="string")return V(c.jsx(sD,{collapsedStringLines:e,stringWrapping:t,field:n,value:w,labels:s,lastElement:l,renderCopy:m===void 0?void 0:G=>m({path:p,value:w},G)}));if(!P)return V(c.jsxs(c.Fragment,{children:[c.jsx(C0,{field:n,expandable:!1,onToggle:z}),m9(w),!l&&c.jsx("span",{className:_e.punctuation,children:","})]}));const[ee,U]=m2(w);return H?V(c.jsxs(c.Fragment,{children:[c.jsx("span",{ref:y,className:xe(_e.expander,b?_e.collapseIcon:_e.expandIcon),"data-json-expander":!0,role:"button","aria-label":b?s.collapseNode:s.expandNode,"aria-expanded":b,"aria-controls":b?x:void 0,tabIndex:g===I?0:-1,onFocus:()=>{u(I)},onClick:z,onKeyDown:W}),c.jsxs("span",{className:_e.summary,children:[c.jsx(C0,{field:n,expandable:!0,onToggle:z}),c.jsx("span",{className:_e.preview,children:p9(w,0)}),!l&&c.jsx("span",{className:_e.punctuation,children:","})]}),b&&c.jsx("ul",{id:x,role:"group",className:_e.children,children:M.map(([G,k],Y)=>c.jsx(cd,{collapsedStringLines:e,stringWrapping:t,field:G,value:k,path:[...p,Array.isArray(w)?Y:G],labels:s,lastElement:Y===M.length-1,initialExpanded:!1,tabStopId:g,onClaimTabStop:u,onRowHover:d,renderCopy:m},G))})]}),b):V(c.jsxs(c.Fragment,{children:[c.jsx(C0,{field:n,expandable:!1,onToggle:z}),c.jsx("span",{className:_e.punctuation,children:ee}),c.jsx("span",{className:_e.punctuation,children:U}),!l&&c.jsx("span",{className:_e.punctuation,children:","})]}))}function aD(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 lD(e,t){return t==="path"?aD(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 cD({data:e,label:t,className:n,collapsedStringLines:r=3,stringWrapping:s,copyable:l=!0,expandTopLevel:u=!0,labels:d}){const p=ml(e),m=p.findIndex(([,k])=>pl(k)&&ml(k).length>0),g=p[m],w=u?g===void 0?null:mi([Array.isArray(e)?m:g[0]]):pl(e)&&p.length>0?mi([]):null,x=S.useRef(),y=S.useRef(),b=S.useRef(0),[j]=S.useState(nD),[I,P]=S.useState(w),M=k=>{x.current?.removeAttribute("data-json-copy-active"),x.current=k,k?.setAttribute("data-json-copy-active","")},H=()=>{b.current+=1,y.current!==void 0&&clearTimeout(y.current),M(void 0),j.set(void 0)};S.useEffect(()=>()=>{b.current+=1,y.current!==void 0&&clearTimeout(y.current),x.current?.removeAttribute("data-json-copy-active")},[]),S.useEffect(()=>{H(),P(w)},[e,u,w]);const z=(k,Y)=>{!l||j.get()?.menuOpen||x.current!==k&&(M(k),j.set({id:mi(Y.path),target:Y,state:"idle",menuOpen:!1}))},W=k=>{!l||j.get()?.menuOpen||k.target instanceof Element&&k.target.closest("[data-json-copy-button]")===null&&H()},V=async(k,Y)=>{const $=++b.current,K={id:mi(k.path),target:k,state:"idle",menuOpen:!1};j.set(K);let X;try{await navigator.clipboard.writeText(lD(k,Y)),X="copied"}catch{X="failed"}const we=j.get();$!==b.current||we?.target!==k||(j.set({...we,state:X}),y.current!==void 0&&clearTimeout(y.current),y.current=setTimeout(()=>{const fe=j.get();fe?.target===k&&j.set({...fe,state:"idle"})},1500))},[ee,U]=m2(e),G=l?(k,Y=!1)=>c.jsx(rD,{store:j,target:k,persistent:Y,labels:d,onCopy:V,onClose:H}):void 0;return c.jsx("div",{className:xe(_e.root,n),style:{"--json-tree-collapsed-lines":r},onMouseOver:W,onMouseLeave:()=>{j.get()?.menuOpen||H()},children:u?c.jsxs("div",{className:_e.expandedTopLevel,children:[c.jsxs("div",{className:xe(_e.row,_e.topLevelBracket),"data-json-root-row":!0,onMouseOver:k=>{k.stopPropagation(),z(k.currentTarget,{path:[],value:e})},children:[G?.({path:[],value:e}),c.jsx("span",{className:_e.punctuation,children:ee})]}),c.jsx("div",{"aria-label":t,className:xe(_e.container,_e.expandedTopLevelContainer),role:"tree",children:p.map(([k,Y],$)=>c.jsx(cd,{collapsedStringLines:r,stringWrapping:s,field:k,value:Y,path:[Array.isArray(e)?$:k],labels:d,lastElement:$===p.length-1,initialExpanded:!1,tabStopId:I,onClaimTabStop:P,onRowHover:z,renderCopy:G},k))}),c.jsx("div",{className:xe(_e.row,_e.topLevelBracket),children:c.jsx("span",{className:_e.punctuation,children:U})})]}):c.jsx("div",{"aria-label":t,className:_e.container,role:"tree",children:c.jsx(cd,{collapsedStringLines:r,stringWrapping:s,value:e,path:[],labels:d,lastElement:!0,initialExpanded:!0,tabStopId:I,onClaimTabStop:P,onRowHover:z,renderCopy:G})})})}var k0,h6;function uD(){if(h6)return k0;h6=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 d=0;d<2;++d)for(let p=0;p<8;++p)this.PALETTE_COLORS.push(e[d][p].color);let s=[0,95,135,175,215,255],l=(d,p,m)=>s[d]+", "+s[p]+", "+s[m];for(let d=0;d<6;++d)for(let p=0;p<6;++p)for(let m=0;m<6;++m)this.PALETTE_COLORS.push(l(d,p,m));let u=8;for(let d=0;d<24;++d,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 d=this,p=s.split(/\033\[/),m=p.shift();l==null&&(l={}),l.clearLine=/\r/.test(s);let g=p.map(w=>this.processChunk(w,l,u));if(l&&l.json){let w=d.processChunkJson("");return w.content=m,w.clearLine=l.clearLine,g.unshift(w),l.remove_empty&&(g=g.filter(x=>!x.isEmpty())),g}else g.unshift(m);return g.join("")}processChunkJson(s,l,u){l=typeof l>"u"?{}:l;let d=l.use_classes=typeof l.use_classes<"u"&&l.use_classes,p=l.key=d?"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},g=s.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!g)return m;m.content=g[4];let w=g[2].split(";");if(g[1]!==""||g[3]!=="m"||!u)return m;let x=this;for(;w.length>0;){let y=w.shift(),b=parseInt(y);if(isNaN(b)||b===0)x.fg=x.bg=null,x.decorations=[];else if(b===1)x.decorations.push("bold");else if(b===2)x.decorations.push("dim");else if(b===3)x.decorations.push("italic");else if(b===4)x.decorations.push("underline");else if(b===5)x.decorations.push("blink");else if(b===7)x.decorations.push("reverse");else if(b===8)x.decorations.push("hidden");else if(b===9)x.decorations.push("strikethrough");else if(b===21)x.removeDecoration("bold");else if(b===22)x.removeDecoration("bold"),x.removeDecoration("dim");else if(b===23)x.removeDecoration("italic");else if(b===24)x.removeDecoration("underline");else if(b===25)x.removeDecoration("blink");else if(b===27)x.removeDecoration("reverse");else if(b===28)x.removeDecoration("hidden");else if(b===29)x.removeDecoration("strikethrough");else if(b===39)x.fg=null;else if(b===49)x.bg=null;else if(b>=30&&b<38)x.fg=e[0][b%10][p];else if(b>=90&&b<98)x.fg=e[1][b%10][p];else if(b>=40&&b<48)x.bg=e[0][b%10][p];else if(b>=100&&b<108)x.bg=e[1][b%10][p];else if(b===38||b===48){let j=b===38;if(w.length>=1){let I=w.shift();if(I==="5"&&w.length>=1){let P=parseInt(w.shift());if(P>=0&&P<=255)if(!d)this.PALETTE_COLORS||x.setupPalette(),j?x.fg=this.PALETTE_COLORS[P]:x.bg=this.PALETTE_COLORS[P];else{let M=P>=16?"ansi-palette-"+P:e[P>7?1:0][P%8].class;j?x.fg=M:x.bg=M}}else if(I==="2"&&w.length>=3){let P=parseInt(w.shift()),M=parseInt(w.shift()),H=parseInt(w.shift());if(P>=0&&P<=255&&M>=0&&M<=255&&H>=0&&H<=255){let z=P+", "+M+", "+H;d?j?(x.fg="ansi-truecolor",x.fg_truecolor=z):(x.bg="ansi-truecolor",x.bg_truecolor=z):j?x.fg=z:x.bg=z}}}}}return x.fg===null&&x.bg===null&&x.decorations.length===0||(m.fg=x.fg,m.bg=x.bg,m.fg_truecolor=x.fg_truecolor,m.bg_truecolor=x.bg_truecolor,m.decorations=x.decorations,m.decoration=x.decorations.slice(-1).pop()||null,m.was_processed=!0),m}processChunk(s,l,u){l=l||{};let d=this.processChunkJson(s,l,u),p=l.use_classes;if(d.decorations=d.decorations.filter(b=>{if(b==="reverse"){d.fg||(d.fg=e[0][7][p?"class":"color"]),d.bg||(d.bg=e[0][0][p?"class":"color"]);let j=d.fg;d.fg=d.bg,d.bg=j;let I=d.fg_truecolor;return d.fg_truecolor=d.bg_truecolor,d.bg_truecolor=I,d.isInverted=!0,!1}return!0}),l.json)return d;if(d.isEmpty())return"";if(!d.was_processed)return d.content;let m=[],g=[],w=[],x={},y=b=>{let j=[],I;for(I in b)b.hasOwnProperty(I)&&j.push("data-"+I+'="'+this.escapeForHtml(b[I])+'"');return j.length>0?" "+j.join(" "):""};return d.isInverted&&(x["ansi-is-inverted"]="true"),d.fg&&(p?(m.push(d.fg+"-fg"),d.fg_truecolor!==null&&(x["ansi-truecolor-fg"]=d.fg_truecolor,d.fg_truecolor=null)):m.push("color:rgb("+d.fg+")")),d.bg&&(p?(m.push(d.bg+"-bg"),d.bg_truecolor!==null&&(x["ansi-truecolor-bg"]=d.bg_truecolor,d.bg_truecolor=null)):m.push("background-color:rgb("+d.bg+")")),d.decorations.forEach(b=>{if(p){g.push("ansi-"+b);return}b==="bold"?g.push("font-weight:bold"):b==="dim"?g.push("opacity:0.5"):b==="italic"?g.push("font-style:italic"):b==="hidden"?g.push("visibility:hidden"):b==="strikethrough"?w.push("line-through"):w.push(b)}),w.length&&g.push("text-decoration:"+w.join(" ")),p?'<span class="'+m.concat(g).join(" ")+'"'+y(x)+">"+d.content+"</span>":'<span style="'+m.concat(g).join(";")+'"'+y(x)+">"+d.content+"</span>"}removeDecoration(s){const l=this.decorations.indexOf(s);l>=0&&this.decorations.splice(l,1)}}return k0=n,k0}var dD=uD();const fD=u1(dD),hD={"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)"},pD={bold:{fontWeight:700},dim:{opacity:.7},italic:{fontStyle:"italic"},underline:{textDecoration:"underline"},strikethrough:{textDecoration:"line-through"},hidden:{visibility:"hidden"}},mD=/\u001b\][^\u0007\u001b]*(?:\u0007|\u001b\\)?/g,gD=/\u001b(?!\[)[\u0020-\u002f]*[\u0030-\u007e]?/g,vD=/[\u0000-\u0007\u000b-\u001a\u001c-\u001f\u007f]/g,wD=/\r|\u0008|\u001b\[[\u0030-\u003f]*[\u0020-\u002f]*K/,xD=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*m/g,p6=8,yD=/^[\p{Mn}\p{Me}\p{Cf}\u200b-\u200f\u2060]$/u,_D=new RegExp("\\p{Script=Han}|\\p{Script=Hiragana}|\\p{Script=Katakana}|\\p{Script=Hangul}|\\p{Emoji_Presentation}|[\\uff01-\\uff60\\u3000-\\u303e]","u");function S0(e){const t=e.codePointAt(0);return t===void 0||t<4352?!1:_D.test(e)}const Vs={fg:"",bg:"",attrs:[]},bD={22:["1","2"],23:["3"],24:["4"],25:["5","6"],27:["7"],28:["8"],29:["9"]};function v9(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=Vs;continue}if(l==="38"||l==="48"){const p=n[s+1]??"",m=p==="2"?4:p==="5"?2:0,g=n.slice(s,s+m+1).join(";");r=l==="38"?{...r,fg:g}:{...r,bg:g},s+=m;continue}const u=bD[l];if(u!==void 0){r={...r,attrs:r.attrs.filter(p=>!u.includes(p))};continue}const d=Number(l);if(l==="39"){r={...r,fg:""};continue}if(l==="49"){r={...r,bg:""};continue}if(d>=30&&d<=37||d>=90&&d<=97){r={...r,fg:l};continue}if(d>=40&&d<=47||d>=100&&d<=107){r={...r,bg:l};continue}r.attrs.includes(l)||(r={...r,attrs:[...r.attrs,l]})}return r}function m6(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 Da(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 CD(e,t){const n=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*([\u0040-\u007e])/g,r=[];let s=0,l=t,u=0;const d=(w,x)=>{const y=r[w];y?.spacer===!0&&w>0?r[w-1]={sgr:l,char:x}:y!==void 0&&S0(y.char)&&r[w+1]?.spacer===!0&&(r[w+1]={sgr:l,char:x}),r[w]={sgr:l,char:x}},p=w=>{for(const x of w){if(x==="\r"){s=0;continue}if(x==="\b"){s=Math.max(0,s-1);continue}if(x===" "){const y=s+p6-s%p6;for(;s<y;s++)r[s]??={sgr:l,char:" "};continue}if(yD.test(x)){const y=s>0?r[s-1]:void 0;y!==void 0&&(r[s-1]={sgr:y.sgr,char:y.char+x});continue}d(s," "),r[s]={sgr:l,char:x},s++,S0(x)&&(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 x=String(w[1]),y=String(w[2]);if(y==="K"){const b=String(x.split(";")[0]);if(b==="1")for(let j=0;j<=s;j++)d(j," ");else r.length=b==="2"?0:s;continue}y==="m"&&(l=v9(l,x))}p(e.slice(u));let m="",g=t;for(let w=0;w<r.length;w++){const x=r[w]??{sgr:Vs,char:" "};Da(x.sgr,g)||(Da(g,Vs)||(m+="\x1B[0m"),m+=m6(x.sgr),g=x.sgr);const y=w>0&&S0(r[w-1]?.char??"");m+=x.spacer===!0&&!y?" ":x.char}return Da(g,l)||(Da(g,Vs)||(m+="\x1B[0m"),m+=m6(l)),{text:m,sgr:l}}function kD(e){const t=[];let n=Vs;for(const r of e.split(`
141
+ `)){const s=r.replace(/\r+$/,"");if(wD.test(s)){const l=CD(s,n);t.push(l.text),n=l.sgr;continue}t.push(s);for(const l of s.matchAll(xD))n=v9(n,String(l[1]))}return t.join(`
142
+ `)}function SD(e){const t=e.replace(mD,"").replace(gD,"");return kD(t).replace(vD,"")}function ED(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?hD[e.fg.replace(/\s+/g,"")]??r:r}for(const r of e.decorations)Object.assign(t,pD[r]);return Object.keys(t).length===0?void 0:t}function jD(e){let t=[];const n=[t];for(const r of fD.ansiToJson(SD(e),{json:!0,remove_empty:!0})){const s=ED(r);for(const[l,u]of r.content.split(`
143
+ `).entries())l>0&&(t=[],n.push(t)),u!==""&&t.push({text:u,style:s})}return n}function w9(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 ID="_block_1fs6g_1",MD="_header_1fs6g_32",OD="_prompt_1fs6g_70",LD="_promptLine_1fs6g_78",TD="_runState_1fs6g_91",ND="_runStateLabel_1fs6g_99",PD="_cwd_1fs6g_108",zD="_command_1fs6g_118",AD="_status_1fs6g_131",RD="_copyButton_1fs6g_139",DD="_output_1fs6g_159",FD="_line_1fs6g_186",$D="_expand_1fs6g_192",HD="_empty_1fs6g_208",Gt={block:ID,header:MD,prompt:OD,promptLine:LD,runState:TD,runStateLabel:ND,cwd:PD,command:zD,status:AD,copyButton:RD,output:DD,line:FD,expand:$D,empty:HD},x9=16;function VD(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 y9(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 BD(e,t,n,r){return e?{state:"ongoing",label:r.running}:y9(t,n,r)!==void 0?{state:"error",label:r.failed}:{state:"done",label:r.done}}function g6(e){return e.map((t,n)=>t.style===void 0?t.text:c.jsx("span",{style:t.style,children:t.text},n))}function ZD({command:e,cwd:t,home:n,output:r,exitCode:s,signal:l,running:u=!1,maxLines:d=x9,copyText:p,runStateDot:m=!0,className:g,labels:w}){const x=w,y=r??"",b=S.useMemo(()=>{const K=jD(y),X=K[K.length-1];return K.length>1&&X!==void 0&&X.every(fe=>fe.text==="")?K.slice(0,-1):K},[y]),[j,I]=S.useState(!1),{copied:P,onCopy:M}=f1(p??y),H=S.useCallback(()=>{I(K=>!K)},[]),z=y9(s,l,x),W=BD(u,s,l,x),V=S.useMemo(()=>(e.endsWith(`
144
+ `)?e.slice(0,-1):e).split(`
145
+ `),[e]),ee=b.every(K=>K.every(X=>X.text.trim()==="")),{hidden:U,capped:G,headLines:k,tailLines:Y}=w9(b.length,d,j),$=!u||!ee;return c.jsxs("div",{className:xe(Gt.block,g),"data-terminal":"","data-running":u?"":void 0,"data-body":$?"":void 0,children:[c.jsxs("div",{className:Gt.header,children:[c.jsxs("div",{className:Gt.prompt,children:[m&&c.jsx("span",{className:Gt.runStateLabel,children:W.label}),V.map((K,X)=>c.jsxs("div",{className:Gt.promptLine,children:[X===0&&m&&c.jsx(o2,{state:W.state,className:Gt.runState}),c.jsx("span",{className:Gt.cwd,children:X>0||t===void 0?"$":VD(t,n)}),c.jsx("span",{className:Gt.command,children:K})]},X))]}),z!==void 0&&c.jsx(i2,{className:Gt.status,children:z}),(p!==void 0||!u&&!ee)&&c.jsx("button",{type:"button",className:Gt.copyButton,onClick:M,children:P?x.copied:x.copy})]}),$&&(ee?c.jsx("div",{className:Gt.empty,children:x.noOutput}):c.jsxs("div",{className:Gt.output,children:[(G?b.slice(0,k):b).map((K,X)=>c.jsx("div",{className:Gt.line,children:g6(K)},X)),U>0&&c.jsx("button",{type:"button",className:Gt.expand,"aria-expanded":j,"aria-label":j?x.collapseAria:x.expandAria(U),onClick:H,children:j?x.collapse:x.expand(U)}),G&&b.slice(b.length-Y).map((K,X)=>c.jsx("div",{className:Gt.line,children:g6(K)},X))]}))]})}function _9({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 WD="_card_1pq26_1",UD="_header_1pq26_10",qD="_heading_1pq26_23",GD="_language_1pq26_30",KD="_title_1pq26_36",YD="_actions_1pq26_43",JD="_status_1pq26_50",XD="_action_1pq26_43",QD="_body_1pq26_79",An={card:WD,header:UD,heading:qD,language:GD,title:KD,actions:YD,status:JD,action:XD,body:QD};function g2({lang:e,title:t,status:n,labels:r,copyLabel:s,copiedLabel:l,copied:u,wrapped:d,onCopy:p,onWrap:m}){const g=d?r.unwrapLabel:r.wrapLabel,w=u?l:s;return c.jsxs("div",{className:An.header,"data-code-block-banner":!0,children:[c.jsxs("div",{className:An.heading,children:[c.jsx("span",{className:An.language,children:u9(e)?e:r.codeLabel}),t!==void 0&&c.jsx("span",{className:An.title,title:t,children:t})]}),c.jsxs("div",{className:An.actions,children:[n!==void 0&&c.jsx("span",{className:An.status,children:n}),m!==void 0&&c.jsx(qr,{label:g,side:"top",portal:!0,children:c.jsx("button",{type:"button",className:An.action,"aria-label":r.wrapLabel,"aria-pressed":d,onClick:m,children:d?c.jsx(_p,{size:14}):c.jsx(Cp,{size:14})})}),p!==void 0&&c.jsx(qr,{label:w,side:"top",portal:!0,children:c.jsx("button",{type:"button",className:An.action,"aria-label":w,onClick:p,children:u?c.jsx(Ni,{size:14}):c.jsx(n2,{size:14})})})]})]})}const eF=()=>{};class tF{observer;activators=new Map;observe(t,n){return typeof IntersectionObserver>"u"?(n(),eF):(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 nF=new tF;function b9(e,t){const n=u9(t),[r,s]=S.useState(!1),l=S.useCallback(()=>{s(!0)},[]);return S.useEffect(()=>{if(r||!n)return;const u=e.current;if(u!==null)return nF.observe(u,l)},[l,r,n,e]),r&&n}const rF="_line_cjydv_1",oF="_gutter_cjydv_7",iF="_content_cjydv_16",sF="_block_cjydv_21",aF="_expand_cjydv_29",Ns={line:rF,gutter:oF,content:iF,block:sF,expand:aF},C9=16;function lF(e){return e.map((t,n)=>c.jsx("span",{style:t.style,children:t.text},n))}function cF({label:e,labels:t,lines:n,totalLines:r,copyText:s,lang:l,maxLines:u=C9,className:d}){const p=S.useRef(null),m=b9(p,l),g=S.useMemo(()=>n.map(K=>K.text).join(`
146
+ `),[n]),w=S.useSyncExternalStore(h2,Mi,Mi),x=S.useMemo(()=>m?f9(g,l):void 0,[m,g,l,w]),[y,b]=S.useState(!1),{copied:j,onCopy:I}=f1(s??g),[P,M]=S.useState(!1),H=S.useCallback(()=>{b(K=>!K)},[]),z=n.length-u,W=z>0&&!y,V=Math.ceil(u/2),ee=u-V,U=n.length<r,G=K=>K.map(([X,we])=>c.jsxs("div",{className:Ns.line,children:[c.jsx("span",{className:Ns.gutter,"aria-hidden":!0,children:X.number}),c.jsx("span",{className:Ns.content,children:we===void 0?X.text:lF(we)})]},X.number)),Y={"--dsl-read-gutter":`${n.reduce((K,X)=>Math.max(K,String(X.number).length),3)}ch`},$=n.map((K,X)=>[K,x?.[X]]);return c.jsxs("div",{ref:p,className:xe(An.card,Ns.block,d),"data-read":"","data-code-wrap":P,style:Y,children:[c.jsx(g2,{lang:l,title:e,status:U?t.window(n.length,r):void 0,labels:t,copyLabel:t.copy,copiedLabel:t.copied,copied:j,wrapped:P,onCopy:n.length>0?I:void 0,onWrap:()=>{M(K=>!K)}}),c.jsxs("div",{className:An.body,children:[G(W?$.slice(0,V):$),z>0&&c.jsx(_9,{className:Ns.expand,expanded:y,hidden:z,labels:t,onToggle:H}),W&&G($.slice($.length-ee))]})]})}class uF{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),d=this.removeEmpty(this.tokenize(l,r)),p=this.removeEmpty(this.tokenize(u,r));return this.diffWithOptionsObj(d,p,r,s)}diffWithOptionsObj(t,n,r,s){var l;const u=M=>{if(M=this.postProcess(M,r),s){setTimeout(function(){s(M)},0);return}else return M},d=n.length,p=t.length;let m=1,g=d+p;r.maxEditLength!=null&&(g=Math.min(g,r.maxEditLength));const w=(l=r.timeout)!==null&&l!==void 0?l:1/0,x=Date.now()+w,y=[{oldPos:-1,lastComponent:void 0}];let b=this.extractCommon(y[0],n,t,0,r);if(y[0].oldPos+1>=p&&b+1>=d)return u(this.buildValues(y[0].lastComponent,n,t));let j=-1/0,I=1/0;const P=()=>{for(let M=Math.max(j,-m);M<=Math.min(I,m);M+=2){let H;const z=y[M-1],W=y[M+1];z&&(y[M-1]=void 0);let V=!1;if(W){const U=W.oldPos-M;V=W&&0<=U&&U<d}const ee=z&&z.oldPos+1<p;if(!V&&!ee){y[M]=void 0;continue}if(!ee||V&&z.oldPos<W.oldPos?H=this.addToPath(W,!0,!1,0,r):H=this.addToPath(z,!1,!0,1,r),b=this.extractCommon(H,n,t,M,r),H.oldPos+1>=p&&b+1>=d)return u(this.buildValues(H.lastComponent,n,t))||!0;y[M]=H,H.oldPos+1>=p&&(I=Math.min(I,M-1)),b+1>=d&&(j=Math.max(j,M+1))}m++};if(s)(function M(){setTimeout(function(){if(m>g||Date.now()>x)return s(void 0);P()||M()},0)})();else for(;m<=g&&Date.now()<=x;){const M=P();if(M)return M}}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,d=r.length;let p=t.oldPos,m=p-s,g=0;for(;m+1<u&&p+1<d&&this.equals(r[p+1],n[m+1],l);)m++,p++,g++,l.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return g&&!l.oneChangePerToken&&(t.lastComponent={count:g,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 d=0,p=0,m=0;for(;d<u;d++){const g=s[d];if(g.removed)g.value=this.join(r.slice(m,m+g.count)),m+=g.count;else{if(!g.added&&this.useLongestToken){let w=n.slice(p,p+g.count);w=w.map(function(x,y){const b=r[m+y];return b.length>x.length?b:x}),g.value=this.join(w)}else g.value=this.join(n.slice(p,p+g.count));p+=g.count,g.added||(m+=g.count)}}return s}}class dF extends uF{constructor(){super(...arguments),this.tokenize=hF}equals(t,n,r){return r.ignoreWhitespace?((!r.newlineIsToken||!t.includes(`
147
+ `))&&(t=t.trim()),(!r.newlineIsToken||!n.includes(`
148
+ `))&&(n=n.trim())):r.ignoreNewlineAtEof&&!r.newlineIsToken&&(t.endsWith(`
149
+ `)&&(t=t.slice(0,-1)),n.endsWith(`
150
+ `)&&(n=n.slice(0,-1))),super.equals(t,n,r)}}const fF=new dF;function v6(e,t,n){return fF.diff(e,t,n)}function hF(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
151
+ `));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 pF(e,t,n,r,s,l,u){let d;u?typeof u=="function"?d={callback:u}:d=u:d={},typeof d.context>"u"&&(d.context=4);const p=d.context;if(d.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(d.callback){const{callback:g}=d;v6(n,r,Object.assign(Object.assign({},d),{callback:w=>{const x=m(w);g(x)}}))}else return m(v6(n,r,d));function m(g){if(!g)return;g.push({value:"",lines:[]});function w(M){return M.map(function(H){return" "+H})}const x=[];let y=0,b=0,j=[],I=1,P=1;for(let M=0;M<g.length;M++){const H=g[M],z=H.lines||mF(H.value);if(H.lines=z,H.added||H.removed){if(!y){const W=g[M-1];y=I,b=P,W&&(j=p>0?w(W.lines.slice(-p)):[],y-=j.length,b-=j.length)}for(const W of z)j.push((H.added?"+":"-")+W);H.added?P+=z.length:I+=z.length}else{if(y)if(z.length<=p*2&&M<g.length-2)for(const W of w(z))j.push(W);else{const W=Math.min(z.length,p);for(const ee of w(z.slice(0,W)))j.push(ee);const V={oldStart:y,oldLines:I-y+W,newStart:b,newLines:P-b+W,lines:j};x.push(V),y=0,b=0,j=[]}I+=z.length,P+=z.length}}for(const M of x)for(let H=0;H<M.lines.length;H++)M.lines[H].endsWith(`
152
+ `)?M.lines[H]=M.lines[H].slice(0,-1):(M.lines.splice(H+1,0,"\"),H++);return{oldFileName:e,newFileName:t,oldHeader:s,newHeader:l,hunks:x}}}function mF(e){const t=e.endsWith(`
153
+ `),n=e.split(`
154
+ `).map(r=>r+`
155
+ `);return t?n.pop():n.push(n.pop().slice(0,-1)),n}const gF="_block_1a1p3_1",vF="_body_1a1p3_5",wF="_line_1a1p3_13",xF="_path_1a1p3_29",yF="_gap_1a1p3_34",_F="_del_1a1p3_38",bF="_add_1a1p3_48",CF="_context_1a1p3_58",kF="_expand_1a1p3_66",Xn={block:gF,body:vF,line:wF,path:xF,gap:yF,del:_F,add:bF,context:CF,expand:kF},k9=16;function SF(e){throw new Error(`unreachable diff row kind: ${String(e)}`)}const w6={path:Xn.path,del:Xn.del,add:Xn.add,context:Xn.context,gap:Xn.gap},EF=256;function S9(e){const t=x6(e.oldText??""),n=x6(e.newText),r=s=>s.map(l=>`${l}
156
+ `).join("");return pF("","",r(t),r(n),void 0,void 0,{context:3,maxEditLength:EF})?.hunks??[{lines:[...t.map(s=>`-${s}`),...n.map(s=>`+${s}`)]}]}function jF(e){let t=0,n=0;for(const r of e)for(const s of S9(r))for(const l of s.lines)l.startsWith("+")&&t++,l.startsWith("-")&&n++;return{added:t,removed:n}}function IF(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 S9(r).entries()){s>0&&t.push({kind:"gap",text:"⋯"});for(const u of l.lines){const d=u.startsWith("-")?"del":u.startsWith("+")?"add":"context";t.push({kind:d,text:u.slice(1)})}}}return t}function x6(e){return e===""?[]:(e.endsWith(`
157
+ `)?e.slice(0,-1):e).split(`
158
+ `)}function MF(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 SF(t.kind)}}).join(`
159
+ `)}function OF({diffs:e,copyText:t,labels:n,maxLines:r=k9,className:s}){const l=S.useMemo(()=>IF(e),[e]),[u,d]=S.useState(!1),p=S.useCallback(async()=>MF(l),[l]),{copied:m,onCopy:g}=f1(t??p),[w,x]=S.useState(!1),y=e[0]===void 0?void 0:ad(e[0].path),b=e.every(V=>ad(V.path)===y)?y:void 0,j=S.useCallback(()=>{d(V=>!V)},[]);if(l.length===0)return null;const I=l.length-r,P=I>0&&!u,M=Math.ceil(r/2),H=r-M,z=P?l.slice(0,M):l,W=P?l.slice(l.length-H):[];return c.jsxs("div",{className:xe(An.card,Xn.block,s),"data-diff":"","data-code-wrap":w,children:[c.jsx(g2,{lang:b,labels:n,copyLabel:n.copy,copiedLabel:n.copied,copied:m,wrapped:w,onCopy:g,onWrap:()=>{x(V=>!V)}}),c.jsxs("div",{className:Xn.body,"data-diff-body":!0,children:[z.map((V,ee)=>c.jsx("div",{className:xe(Xn.line,w6[V.kind]),"data-diff-row":V.kind,children:V.text},ee)),I>0&&c.jsx(_9,{className:Xn.expand,expanded:u,hidden:I,labels:n,onToggle:j}),W.map((V,ee)=>c.jsx("div",{className:xe(Xn.line,w6[V.kind]),"data-diff-row":V.kind,children:V.text},ee))]})]})}const LF="_block_1u3n2_1",TF="_header_1u3n2_12",NF="_summary_1u3n2_22",PF="_copyButton_1u3n2_32",zF="_body_1u3n2_43",AF="_line_1u3n2_52",RF="_lineNumber_1u3n2_60",DF="_fileHeader_1u3n2_66",FF="_filePath_1u3n2_80",$F="_fileCount_1u3n2_87",HF="_expand_1u3n2_92",VF="_empty_1u3n2_108",hn={block:LF,header:TF,summary:NF,copyButton:PF,body:zF,line:AF,lineNumber:RF,fileHeader:DF,filePath:FF,fileCount:$F,expand:HF,empty:VF},E9=16;function BF(e){return e.kind==="paths"?e.paths.join(`
160
+ `):e.files.map(t=>[t.path,...t.matches.map(n=>`${n.lineNumber}: ${n.line}`)].join(`
161
+ `)).join(`
162
+
163
+ `)}function ZF(e){return e.kind==="paths"?e.paths.length:e.files.reduce((t,n)=>t+n.matches.length,0)}function WF(e,t,n,r){return e.kind==="paths"?e.labels.pathsSummary(t,r,n):e.labels.matchesSummary(t,r,e.files.length,n)}function UF(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 E0(e){switch(e.type){case"match":return`match:${e.key}`;case"file":return`file:${e.index}`;case"path":return`path:${e.path}`}}function qF(e){const{truncated:t,total:n,maxLines:r=E9,className:s}=e,[l,u]=S.useState(!1),[d,p]=S.useState(()=>new Set),m=UF(e,d),g=ZF(e),w=m.length===0,{copied:x,onCopy:y}=f1(e.copyText??BF(e)),b=S.useCallback(()=>{u(k=>!k)},[]),j=S.useCallback(k=>{p(Y=>{const $=new Set(Y);return $.has(k)?$.delete(k):$.add(k),$})},[]),{hidden:I,capped:P,headLines:M,tailLines:H}=w9(m.length,r,l),z=P?m.slice(0,M):m,W=P?m.slice(m.length-H):[],V=W[0],ee=V?.type==="match"&&!z.some(k=>k.type==="file"&&k.index===V.fileIndex)?m.find(k=>k.type==="file"&&k.index===V.fileIndex):void 0,U=ee===void 0?W:W.slice(1),G=k=>k.type==="path"?c.jsx("div",{className:hn.line,children:k.path}):k.type==="match"?c.jsxs("div",{className:hn.line,children:[c.jsxs("span",{className:hn.lineNumber,children:[k.lineNumber,": "]}),k.line]}):c.jsxs("button",{type:"button",className:hn.fileHeader,"aria-expanded":!k.collapsed,onClick:()=>{j(k.index)},children:[c.jsx("span",{className:hn.filePath,children:k.path}),c.jsx("span",{className:hn.fileCount,children:k.count})]});return c.jsxs("div",{className:xe(hn.block,s),"data-search":e.kind,children:[c.jsxs("div",{className:hn.header,children:[c.jsx("span",{className:hn.summary,children:WF(e,g,t,n)}),!w&&c.jsx("button",{type:"button",className:hn.copyButton,onClick:y,children:x?e.labels.copied:e.labels.copy})]}),w?c.jsx("div",{className:hn.empty,children:e.labels.noResults}):c.jsxs("div",{className:hn.body,children:[z.map(k=>c.jsx("div",{children:G(k)},E0(k))),I>0&&c.jsx("button",{type:"button",className:hn.expand,"aria-expanded":l,"aria-label":l?e.labels.collapseAria:e.labels.expandAria(I),onClick:b,children:l?e.labels.collapse:e.labels.expand(I)}),ee!==void 0&&c.jsx("div",{children:G(ee)},`tailHeader:${E0(ee)}`),U.map(k=>c.jsx("div",{children:G(k)},E0(k)))]})]})}const GF=2;function y6(e,t,n){const r=e.position?.start.offset;return r===void 0?-(n+1):t+r}function KF(e,t){for(let n=t;n<e.length;n+=1){const r=e[n];if(r===`
164
+ `)return n+1;if(r==="\r")return e[n+1]===`
165
+ `?n+2:n+1}}function _6(e){let t=0,n=0;for(let r=0;r<e.length;r+=1){const s=e[r];if(s===`
166
+ `){t=n,n=r+1;continue}s!=="\r"||r+1>=e.length||(e[r+1]===`
167
+ `&&(r+=1),t=n,n=r+1)}return t}function b6(e){return e.endsWith(`\r
168
+ `)?`\r
169
+ `:e.endsWith("\r")?"\r":`
170
+ `}function C6(e,t,n){let r=0;for(;r<=e.length;){let s=r;for(;s<e.length&&e[s]!==`
171
+ `&&e[s]!=="\r";)s+=1;const l=e.slice(r,s);let u=0;for(;u<3&&l[u]===" ";)u+=1;let d=u;for(;l[d]===t;)d+=1;if(d-u>=n&&/^[ \t]*$/.test(l.slice(d)))return!0;if(s===e.length)return!1;r=e[s]==="\r"&&e[s+1]===`
172
+ `?s+2:s+1}return!1}function YF(e,t,n){let r=e.line,s=e.column,l=n;for(const u of t){if(u===`
173
+ `){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 JF{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 d=u.node,p=d.position?.start.offset,m=d.position?.end;if(p===void 0||m?.offset===void 0||n+m.offset!==t.length)return null;const g=t.slice(n),w=g.lastIndexOf(`
174
+ `,p-1),x=g.lastIndexOf("\r",p-1),y=Math.max(w,x)+1,b=KF(g,p);if(b===void 0||b===g.length&&g.endsWith("\r"))return null;const j=g.slice(y,b).replace(/[\r\n]+$/,""),I=/^( {0,3})(`{3,}|~{3,})/.exec(j);if(I===null)return null;const P=I[1],M=I[2];if(y+P.length!==p)return null;const H=M[0],z=n+b,W=t.slice(z);if(C6(W,H,M.length))return null;const V=`${P}${M}
175
+ `,ee=_6(W),U=ee===0?"":this.fenceValue({syntheticPrefix:V},W.slice(0,ee));if(U===void 0)return null;const G=z+ee,k=W.slice(0,ee),Y=ee===0?"":`${U}${b6(k)}`,$=this.fenceValue({syntheticPrefix:V},t.slice(G));return $===void 0||`${Y}${$}`!==d.value?null:{marker:H,markerLength:M.length,syntheticPrefix:V,codeIndex:l,frozen:s,tail:r,pendingStart:G,valuePrefix:Y,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(C6(s,t.marker,t.markerLength))return;const l=this.fenceValue(t,s);if(l===void 0)return;const u=_6(s),d=u===0?"":this.fenceValue(t,s.slice(0,u));if(d===void 0)return;const m=t.tail[t.codeIndex].node,g=YF(t.end,n.slice(r.length),t.endedWithCarriageReturn),w={...m,value:`${t.valuePrefix}${l}`,position:{start:m.position.start,end:g}},x=t.tail.map((b,j)=>j===t.codeIndex?{...b,node:w}:b),y={frozen:t.frozen,tail:x,generation:this.generation};return this.openFence={...t,tail:x,pendingStart:t.pendingStart+u,valuePrefix:u===0?t.valuePrefix:`${t.valuePrefix}${d}${b6(s.slice(0,u))}`,end:g,endedWithCarriageReturn:n.endsWith("\r")},y}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 d=this.updateOpenFence(this.openFence,t,n);if(d!==void 0)return this.prevText=t,this.cached=d,d;this.openFence=null}this.prevText=t;const r=this.tailStart,s=this.parse(t.slice(r)).children;let l=Math.max(0,s.length-GF);if(l>0){const d=s[l-1]?.position?.end.offset;if(d===void 0)l=0;else{for(const p of s.slice(0,l))this.frozen.push({node:p,key:y6(p,r,this.frozen.length)});this.tailStart=r+d}}const u=s.slice(l).map((d,p)=>({node:d,key:y6(d,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 Fa=":codex-annotation",j0=/[ \t\v\f\ufeff]/,XF=/^-?(?: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 k6(e){return $6(e.replaceAll("\\","\\\\"))}function QF(e){const t=/[^\s\x00"'>/=\x00-\x1f\x7f-\x9f]+/y,n=/[^"\s'`=<>\x00]+/y;let r=0,s="";for(;r<e.length;){if(j0.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&&j0.test(e[r]);)r++;if(e[r]!=="="||(r++,r===e.length||j0.test(e[r])))continue;let u;const d=e[r];if(d==='"'||d==="'"){const p=++r;for(;r<e.length&&e[r]!==d;)e[r]==="\\"&&e[r+1]===d&&r++,r++;if(r===e.length)return;u=k6(e.slice(p,r).replaceAll("\\"+d,d)),r++}else{const p=e.slice(r),m=XF.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 g=n.exec(e)?.[0];if(g===void 0)return;u=k6(g),r+=g.length}}l==="index"&&(s=u)}return s}function e$(e,t,n){if(!e.startsWith(Fa,t))return;const r=t+Fa.length;if(/[\w-]/.test(e[r]??""))return;let s=r,l=-1,u=-1,d=0,p=Fa.slice(1);for(;s<e.length;)if(e[s]==="["){let g=s+1;for(;g<e.length&&!/[\]\r\n]/.test(e[g]);)g++;if(e[g]!=="]")break;s=g+1,l<0&&d++}else if(e[s]==="{"){if(s>=n)break;let g,w=!1,x=s+1;for(;x<e.length;x++){const b=e[x];if(b==="\r"||b===`
176
+ `)break;if(g!==void 0)b==="\\"&&e[x+1]===g?x++:b===g?g=void 0:b==="}"&&(w=!0);else if(b==='"'||b==="'")g=b;else if(b==="}")break}if(e[x]!=="}"){if(w)return;break}const y=l<0;for(y&&(l=s),s=x+1;e[s]==="}";)s++;if(u=s-1,y&&d<=1&&/[A-Za-z]/.test(e[x+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?"":QF(e.slice(l+1,u));return m===void 0?void 0:{end:s,index:p===Fa.slice(1)?m:""}}function t$(e){this.enter({type:"codexAnnotation",index:e.index},e)}function n$(e){this.exit(e)}function j9(e){const t=e.lastIndexOf("}"),n={name:"codexAnnotation",tokenize(r,s,l){const u=this,d=e$(e,u.now().offset,t);if(d===void 0)return l;const{end:p,index:m}=d;return g;function g(x){return r.enter("codexAnnotation").index=m,w(x)}function w(x){return u.now().offset===p?(r.exit("codexAnnotation"),s(x)):(r.consume(x),w)}}};return{text:{[Ve.colon]:n}}}function I9(){return{enter:{codexAnnotation:t$},exit:{codexAnnotation:n$}}}function M9(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(" ")&&Gl(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 r$=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 o$(e){return e!==null&&e>=0&&r$.test(String.fromCodePoint(e))}const i$=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=xf(l);let d=Ve.eof;return p;function p(g){return g!==Ve.asterisk?n(g):(d=g,e.enter("attentionSequence"),m(g))}function m(g){if(g===d)return e.consume(g),m;const w=e.exit("attentionSequence"),x=xf(g),y=!x||x===T0.characterGroupPunctuation&&!!u||s.includes(g),b=!u||u===T0.characterGroupPunctuation&&!!x||s.includes(l),I=w.end.offset-w.start.offset>=2&&nw(l)&&o$(g),P=b||I;return w._open=y,w._close=P,t(g)}},s$={name:"cjkFriendlyAttention",resolveAll:tw.resolveAll,tokenize:i$},a$={text:{[Ve.asterisk]:s$}};function O9(){return a$}const l$=function(e){if(e!==Ve.backslash)return!0;const t=this.events.at(-1);return t===void 0?!1:t[1].type===pn.characterEscape},c$=function(e,t,n){return r;function r(y){return y!==Ve.backslash?n(y):(e.enter("mathText"),e.enter("mathTextSequence"),e.consume(y),s)}function s(y){return y!==Ve.leftParenthesis?n(y):(e.consume(y),e.exit("mathTextSequence"),l)}function l(y){return y===Ve.eof?n(y):y===Ve.backslash?e.attempt({partial:!0,tokenize:w},g,u)(y):gi(y)?(e.enter(pn.lineEnding),e.consume(y),e.exit(pn.lineEnding),l):d(y)}function u(y){return e.check({partial:!0,tokenize:x},n,d)(y)}function d(y){return e.enter("mathTextData"),e.consume(y),y===Ve.backslash?p:m}function p(y){return y===Ve.backslash?(e.consume(y),m):m(y)}function m(y){return y===Ve.eof||y===Ve.backslash||gi(y)?(e.exit("mathTextData"),l(y)):(e.consume(y),m)}function g(y){return e.exit("mathText"),t(y)}function w(y,b,j){return I;function I(M){return M!==Ve.backslash?j(M):(y.enter("mathTextSequence"),y.consume(M),P)}function P(M){return M!==Ve.rightParenthesis?j(M):(y.consume(M),y.exit("mathTextSequence"),b)}}function x(y,b,j){return I;function I(M){return M!==Ve.backslash?j(M):(y.enter(pn.chunkString),y.consume(M),P)}function P(M){return M!==Ve.leftParenthesis?j(M):(y.consume(M),y.exit(pn.chunkString),b)}}};function L9(e,t,n){const r=function(s,l,u){const d=this;let p=!1;const m=d.events.at(-1),g=m?.[1].type===pn.linePrefix?m[2].sliceSerialize(m[1],!0).length:0;return w;function w(U){return U!==e?u(U):(s.enter("mathFlow"),s.enter("mathFlowFence"),s.enter("mathFlowFenceSequence"),s.consume(U),x)}function x(U){return U!==t?u(U):(s.consume(U),s.exit("mathFlowFenceSequence"),s.exit("mathFlowFence"),e===Ve.dollarSign?y:b)}function y(U){return U===Ve.dollarSign?u(U):b(U)}function b(U){return U===Ve.eof?u(U):U===e&&(e!==Ve.dollarSign||!p)?s.attempt({partial:!0,tokenize:V},W,j)(U):gi(U)?d.interrupt&&e===Ve.dollarSign?l(U):s.attempt(d$,I,u)(U):P(U)}function j(U){return e===Ve.backslash?s.check({partial:!0,tokenize:ee},u,M)(U):u(U)}function I(U){return s.attempt({partial:!0,tokenize:V},W,g?Zu(s,b,pn.linePrefix,g+1):b)(U)}function P(U){return s.enter("mathFlowValue"),p=U===Ve.backslash,s.consume(U),z}function M(U){return s.enter("mathFlowValue"),p=!1,s.consume(U),H}function H(U){return U===e?(s.consume(U),z):z(U)}function z(U){return U===Ve.eof||U===e||gi(U)?(s.exit("mathFlowValue"),b(U)):(p=U===Ve.backslash?!p:!1,s.consume(U),z)}function W(U){return s.exit("mathFlow"),l(U)}function V(U,G,k){return Zu(U,Y,pn.linePrefix,T0.tabSize);function Y(X){return X!==e?k(X):(U.enter("mathFlowFence"),U.enter("mathFlowFenceSequence"),U.consume(X),$)}function $(X){return X!==n?k(X):(U.consume(X),U.exit("mathFlowFenceSequence"),Zu(U,K,pn.whitespace))}function K(X){return X!==Ve.eof&&!gi(X)?k(X):(U.exit("mathFlowFence"),G(X))}}function ee(U,G,k){return Y;function Y(K){return K!==e?k(K):(U.enter(pn.chunkString),U.consume(K),$)}function $(K){return K!==t?k(K):(U.consume(K),U.exit(pn.chunkString),G)}}};return{concrete:!0,name:e===Ve.dollarSign?"dollarMathFlow":"backslashMathFlow",tokenize:r}}const u$=function(e,t,n){const r=this;return s;function s(u){return u===Ve.eof?t(u):gi(u)?(e.enter(pn.lineEnding),e.consume(u),e.exit(pn.lineEnding),l):n(u)}function l(u){return r.parser.lazy[r.now().line]?n(u):t(u)}},d$={partial:!0,tokenize:u$},f$={name:"backslashMathText",previous:l$,tokenize:c$},h$=L9(Ve.backslash,Ve.leftSquareBracket,Ve.rightSquareBracket),p$=L9(Ve.dollarSign,Ve.dollarSign,Ve.dollarSign),m$={flow:{[Ve.backslash]:h$,[Ve.dollarSign]:p$},text:{[Ve.backslash]:f$}};function g$(){return m$}function v$(e){return e.includes("\\")&&!/^[a-z][a-z\d+.-]+:/iu.test(e)&&(!e.includes("/")||/\\[\p{L}\p{N}]/u.test(e))}function S6(e){const t=this.resume(),n=this.sliceSerialize(e),r=this.stack.at(-1);r.url=v$(n)?$6(n.replaceAll("\\","\\\\")):t}function T9(){return{exit:{resourceDestinationString:S6,definitionDestinationString:S6}}}const N9={singleTilde:!1};function P9(e){return M9(H6(e,{extensions:[V6(N9),O9(),j9(e)],mdastExtensions:[B6(),T9(),I9()]}),e)}function w$(e){return M9(H6(e,{extensions:[V6(N9),O9(),rw(),g$(),j9(e)],mdastExtensions:[B6(),ow(),T9(),I9()]}),e)}const x$="_block_1r7bb_4",y$="_bannerWrap_1r7bb_24",_$="_banner_1r7bb_24",b$="_infostring_1r7bb_59",C$="_action_1r7bb_70",k$="_copyButton_1r7bb_76",S$="_content_1r7bb_88",E$="_plain_1r7bb_117",j$="_card_1r7bb_121",I$="_numbered_1r7bb_136",Yn={block:x$,bannerWrap:y$,banner:_$,infostring:b$,action:C$,copyButton:k$,content:S$,plain:E$,card:j$,numbered:I$},M$={className:"shiki css-variables",style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:0},O$=32;function E6(e,t){return c.jsxs(S.Fragment,{children:[t>0&&`
177
+ `,c.jsx("span",{className:"line",children:e.map((n,r)=>c.jsx("span",{style:n.style,children:n.text},r))})]},t)}function z9({code:e,lang:t,streaming:n,className:r,contentRef:s,lineNumbers:l=!1,showHeader:u=!0,copyLabel:d,copiedLabel:p,toolbarLabels:m,wrap:g}){const w=e.endsWith(`
178
+ `)?e.slice(0,-1):e,x=l?w.split(`
179
+ `):void 0,y=S.useRef(null),b=b9(y,t),j=S.useSyncExternalStore(h2,Mi,Mi),I=S.useRef(null),P=S.useRef(null),M=S.useRef(!1),H=S.useMemo(()=>{if(!b){I.current=null,P.current=null,M.current=!1;return}if(n!==!0){const T=P.current;if(T!==null&&T.code===w&&T.lang===t)return M.current=!0,T.body;I.current=null,P.current=null,M.current=!0;return}M.current&&(I.current=null,P.current=null,M.current=!1),I.current??=new mR;const $=I.current.updateFrame(w,t);if($===void 0){P.current=null;return}const K=P.current;if(K?.frame===$&&K.code===w&&K.lang===t)return K.body;const X=K?.generation===$.generation,we=X?[...K.groups]:[];let fe=X?[...K.pending]:[],Se=X?K.nextLine:0;for(const T of $.appended){if(fe.push(E6(T,Se)),Se+=1,fe.length!==O$)continue;const R=Se-fe.length;we.push(c.jsx(S.Fragment,{children:fe},R)),fe=[]}const ce=$.tail.map((T,R)=>E6(T,Se+R)),Q=c.jsx(S.Fragment,{children:[...fe,...ce]},Se-fe.length),te=c.jsx("pre",{...M$,children:c.jsxs("code",{children:[we,Q]})});return P.current={code:w,lang:t,generation:$.generation,frame:$,groups:we,pending:fe,nextLine:Se,body:te},te},[n,b,w,t,j]),z=S.useMemo(()=>b&&n!==!0&&H===void 0?fR(w,t):void 0,[n,b,H,w,t,j]),[W,V]=S.useState(!1),[ee,U]=S.useState(!0),G=g??ee,k=S.useCallback(()=>{if(W)return;const $=y.current?.querySelector("pre")?.textContent??w;Zl($).then(K=>{K&&(V(!0),window.setTimeout(()=>{V(!1)},1e3))})},[W,w]),Y=H!==void 0?H:z===void 0?c.jsx("pre",{className:Yn.plain,children:c.jsx("code",{children:x===void 0?w:x.map(($,K)=>c.jsxs(S.Fragment,{children:[K>0&&`
180
+ `,c.jsx("span",{className:"line",children:$})]},K))})}):c.jsx("div",{dangerouslySetInnerHTML:{__html:z}});return c.jsxs("div",{ref:y,className:xe(Yn.block,"md-code-block",l&&Yn.numbered,m!==void 0&&Yn.card,r),"data-line-numbers":l||void 0,"data-code-wrap":m===void 0?void 0:G,style:x===void 0?void 0:{"--dsl-code-block-line-number-width":`${Math.max(2,String(x.length).length)}ch`},children:[u&&c.jsx("div",{className:Yn.bannerWrap,children:m!==void 0?c.jsx(g2,{lang:t,labels:m,copyLabel:d,copiedLabel:p,copied:W,wrapped:G,onCopy:k,onWrap:g===void 0?()=>{U($=>!$)}:void 0}):c.jsxs("div",{className:Yn.banner,"data-code-block-banner":!0,children:[c.jsx("div",{className:Yn.infostring,children:t??""}),c.jsx("div",{className:Yn.action,children:c.jsx("button",{type:"button",className:Yn.copyButton,onClick:k,children:W?p:d})})]})}),c.jsx("div",{ref:s,className:Yn.content,"data-code-block-content":!0,children:Y})]})}function A9(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]),d=l[2]===void 0?u:Number(l[2]);return!Number.isSafeInteger(u)||!Number.isSafeInteger(d)||u<1||d<u?{path:r}:{path:r,line:u}}function R9(e,t){return e===void 0?{}:{"aria-haspopup":"menu",onContextMenu(n){n.preventDefault(),n.stopPropagation(),e({...t,trigger:n.currentTarget,position:new DOMRect(n.clientX,n.clientY,0,0)})},onKeyDown(n){n.key!=="ContextMenu"&&!(n.shiftKey&&n.key==="F10")||(n.preventDefault(),n.stopPropagation(),e({...t,trigger:n.currentTarget,position:n.currentTarget.getBoundingClientRect()}))}}}let L$=0;const D9=()=>++L$;function v2(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 T$(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,d)=>d.toUpperCase());t[l]=n.slice(r+1).trim()}return t}function F9(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=T$(l.value):r[l.name]=l.value;const s=[...n.childNodes].map(F9);return s.length===0?S.createElement(n.localName,r):S.createElement(n.localName,r,...s)}function ud(e,t){let n;try{n=yf.renderToString(e,{displayMode:t,throwOnError:!0})}catch(s){try{n=yf.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(F9)}const $9=S.createContext({});function N$({children:e,openExternalLink:t,onLinkContextMenu:n,openFile:r,fileImages:s,resolveLink:l}){const u=S.useMemo(()=>({openExternalLink:t,onLinkContextMenu:n,openFile:r,fileImages:s,resolveLink:l}),[t,n,r,s,l]);return c.jsx($9.Provider,{value:u,children:e})}function p1(){return S.useContext($9)}function H9(e){try{switch(new URL(e).protocol){case"http:":case"https:":case"mailto:":return e;default:return""}}catch{return""}}const P$=()=>()=>{};function w2({href:e,glyph:t,children:n}){const{openExternalLink:r,onLinkContextMenu:s,resolveLink:l}=p1(),u=()=>l?.(e)?.href,d=S.useSyncExternalStore(l?.subscribe??P$,u,u),p=H9(d??e);if(p==="")return c.jsx(c.Fragment,{children:n});const m=d===void 0&&["http:","https:"].includes(new URL(p).protocol),g=d!==void 0?()=>l?.(e)?.open():m&&r!==void 0?()=>r(p):void 0;return c.jsxs("a",{href:p,...m?{target:"_blank",rel:"noopener noreferrer"}:{},...R9(m?s:void 0,{kind:"web",href:p}),onClick:g===void 0?void 0:w=>{w.button!==0||w.metaKey||w.ctrlKey||w.shiftKey||w.altKey||(w.preventDefault(),g())},children:[t&&c.jsx(h1,{kind:"url",href:p,className:zt.linkIcon}),n]})}function z$({value:e}){const{resolveLink:t}=p1(),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(w2,{href:u,glyph:!1,children:[u]},l.index)),s=l.index+u.length)}return s===0?e:(r.push(e.slice(s)),c.jsx(S.Fragment,{children:r}))}const A$="_backdrop_1d1a9_1",R$="_mask_1d1a9_11",D$="_image_1d1a9_18",F$="_close_1d1a9_29",$a={backdrop:A$,mask:R$,image:D$,close:F$};function V9({src:e,alt:t,labels:n,onClose:r}){const s=S.useRef(null),l=S.useRef(null);return S.useEffect(()=>{l.current=document.activeElement instanceof HTMLElement?document.activeElement:null,s.current?.focus();const u=d=>{d.key==="Escape"&&(d.stopPropagation(),r()),d.key==="Tab"&&(d.preventDefault(),s.current?.focus())};return window.addEventListener("keydown",u,!0),()=>{window.removeEventListener("keydown",u,!0),l.current?.focus()}},[r]),gn.createPortal(c.jsxs("div",{className:$a.backdrop,role:"dialog","aria-modal":"true","aria-label":n.dialog,children:[c.jsx("div",{className:$a.mask,"aria-hidden":"true",onMouseDown:r}),c.jsx("img",{className:$a.image,src:e,alt:t}),c.jsx("button",{ref:s,type:"button",className:$a.close,"aria-label":n.close,onClick:r,children:c.jsx(Ul,{size:16})})]}),document.body)}const $$="_frame_8lv00_1",H$="_image_8lv00_11",V$="_status_8lv00_21",I0={frame:$$,image:H$,status:V$};function B$({src:e,alt:t,loadingLabel:n,failedLabel:r}){return c.jsx(Z$,{src:e,alt:t,loadingLabel:n,failedLabel:r},e)}function Z$({src:e,alt:t,loadingLabel:n,failedLabel:r}){const[s,l]=S.useState("loading");return c.jsxs("span",{className:I0.frame,children:[s!=="failed"&&c.jsx("img",{src:e,alt:t,loading:"lazy",decoding:"async",referrerPolicy:"no-referrer",className:I0.image,"data-ready":s==="ready"||void 0,onLoad:()=>{l("ready")},onError:()=>{l("failed")}}),s!=="ready"&&c.jsxs("span",{className:I0.status,role:"status",children:[s==="loading"&&c.jsx(D7,{size:16}),c.jsx("span",{children:s==="loading"?n:r})]})]})}function W$(e){try{const t=new URL(e).protocol;return t==="http:"||t==="https:"?e:void 0}catch{return}}function U$(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 q$(e,t,n){const r=W$(H9(gd(e)));if(r!==void 0)return r;const s=t?.resolve(e),l=s===void 0?void 0:U$(s);return l===void 0?void 0:v2(l,n)}function dd(){return{definitions:new Map,footnotes:new Map}}function gl(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&&gl(n.children,t)}}function fd(e,t){return e.map(n=>y2(n.node,n.key,t)).filter(n=>n!==null)}function x2(e,t){const n=[];for(const r of e)(t||n.length>0)&&n.push(`
181
+ `),n.push(r);return t&&e.length>0&&n.push(`
182
+ `),n}function B9(e,t){const n=[];for(const[r,s]of e.entries())if(s.type==="paragraph")n.push({paragraph:Rn(s.children,t)});else{const l=y2(s,r,t);l!==null&&n.push({element:l})}return n}function Rn(e,t){return e.map((n,r)=>y2(n,r,t))}function y2(e,t,n){switch(e.type){case"text":return n.inLink?e.value:c.jsx(z$,{value:e.value},t);case"paragraph":return c.jsx("p",{children:Rn(e.children,n)},t);case"heading":return S.createElement(`h${e.depth}`,{key:t},...Rn(e.children,n));case"blockquote":return c.jsx("blockquote",{children:x2(Rn(e.children,{...n,inBlockquote:!0}).filter(r=>r!==null),!0)},t);case"thematicBreak":return c.jsx("hr",{},t);case"break":return c.jsxs(S.Fragment,{children:[c.jsx("br",{}),`
183
+ `]},t);case"strong":return c.jsx("strong",{children:Rn(e.children,n)},t);case"emphasis":return c.jsx("em",{children:Rn(e.children,n)},t);case"delete":return c.jsx("del",{children:Rn(e.children,n)},t);case"inlineCode":{const r=e.value.replace(/\r?\n|\r/g," "),s=Q$(r);if(s!==void 0)return c.jsx("code",{children:q9(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(h1,{kind:hl(r),className:zt.linkIcon}),r]})},t):c.jsx("code",{children:r},t)}case"codexAnnotation":{const r=n.responseAnnotations,s=qS(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(Xp,{index:s,annotation:l,labels:r.labels})},t)}case"html":return e.value;case"code":return G$(e,t,n);case"math":return c.jsx(S.Fragment,{children:ud(e.value,!0)},t);case"inlineMath":return c.jsx(S.Fragment,{children:ud(e.value,!1)},t);case"list":return Y$(e,t,n);case"listItem":return W9(e,Z9(e),t,n);case"table":return J$(e,t,n);case"link":return G9(e.url,Rn(e.children,{...n,inLink:!0}),t,!U9(e.children),n.streaming);case"linkReference":return nH(e,t,n);case"image":return K9(e.url,e.alt??"",t,n);case"imageReference":return rH(e,t,n);case"footnoteReference":return oH(e,t,n);case"definition":case"footnoteDefinition":return null;default:return null}}function G$(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(S.Fragment,{children:ud(`${e.value}
184
+ `,!0)},t):c.jsx(z9,{code:`${e.value}
185
+ `,lang:s,streaming:n.streaming,copyLabel:n.labels.code.copyLabel,copiedLabel:n.labels.code.copiedLabel,toolbarLabels:n.labels.code.toolbarLabels},t)}function K$(e){return(e.spread??!1)||e.children.some(Z9)}function Z9(e){return e.spread??e.children.length>1}function Y$(e,t,n){const r=K$(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"),S.createElement(e.ordered===!0?"ol":"ul",{key:t,...s},...e.children.map((l,u)=>W9(l,r,u,n)))}function W9(e,t,n,r){const s=B9(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 g="paragraph"in m;(t||p!==0||!g)&&u.push(`
186
+ `),g?t?u.push(c.jsx("p",{children:m.paragraph},`p-${p}`)):u.push(c.jsx(S.Fragment,{children:m.paragraph},`p-${p}`)):u.push(m.element)}const d=s[s.length-1];return d!==void 0&&(t||!("paragraph"in d))&&u.push(`
187
+ `),c.jsx("li",{className:l?"task-list-item":void 0,children:u},n)}function J$(e,t,n){const r=e.align??null,[s,...l]=e.children,d=(r===null?s?.children.length??0:r.length)>=4&&n.inBlockquote!==!0;return c.jsx("div",{className:xe(zt.tableScroll,d?"md-table-wide":zt.tableFill),tabIndex:d?0:void 0,children:c.jsxs("table",{children:[s!==void 0&&c.jsx("thead",{children:j6(s,"th",r,0,n)}),l.length>0&&c.jsx("tbody",{children:l.map((p,m)=>j6(p,"td",r,m+1,n))})]})},t)}function j6(e,t,n,r,s){const l=n===null?e.children.length:n.length,u=[];for(let d=0;d<l;d++){const p=e.children[d],m=n?.[d];u.push(S.createElement(t,{key:d,style:m==null?void 0:{textAlign:m}},...p===void 0?[]:Rn(p.children,s)))}return c.jsx("tr",{children:u},r)}function U9(e){return e.length>0&&e.every(t=>t.type==="image"||t.type==="imageReference")}function q9(e,t,n,r=!0){return c.jsx(w2,{href:e,glyph:r,children:t},n)}function G9(e,t,n,r=!0,s=!1){const l=s?void 0:A9(e);return l!==void 0?c.jsx(X$,{href:e,file:l,glyph:r,children:t},n):q9(gd(e),t,n,r)}function X$({href:e,file:t,glyph:n,children:r}){const{openFile:s,onLinkContextMenu:l,fileImages:u}=p1(),[d]=S.useState(D9);if(s===void 0)return c.jsx(c.Fragment,{children:r});const p=n&&hl(t.path)==="image"?u:void 0,m=p?.resolve(t.path),g=m===void 0?void 0:v2(m,d),w=c.jsxs("button",{type:"button",className:xe(zt.fileMention,zt.fileLink),title:g===void 0?t.path:void 0,...R9(l,{kind:"file",href:e,...t}),onClick:x=>{s(t.path,{...t.line===void 0?{}:{line:t.line},...x.ctrlKey||x.metaKey?{external:!0}:{}})},children:[n&&c.jsx(h1,{kind:hl(t.path),className:zt.linkIcon}),r]});return g===void 0||p===void 0?w:c.jsx(Yp,{inline:!0,anchor:w,content:c.jsxs(c.Fragment,{children:[c.jsx(B$,{src:g,alt:t.path,loadingLabel:p.labels.loading,failedLabel:p.labels.failed}),c.jsx("span",{className:zt.previewName,children:t.path.split(/[\\/]/u).pop()})]})})}function Q$(e){if(e.trim()===e)try{const t=new URL(e).protocol;return t==="http:"||t==="https:"?e:void 0}catch{return}}function K9(e,t,n,r){return c.jsx(eH,{destination:e,alt:t,pathImages:r.pathImages,streaming:r.streaming,inLink:r.inLink===!0},`${n}:${e}`)}function eH({destination:e,alt:t,pathImages:n,streaming:r,inLink:s}){const{fileImages:l}=p1(),[u]=S.useState(D9),d=r?void 0:A9(e),p=d===void 0?void 0:l?.resolve(d.path),m=p===void 0?q$(e,n,u):v2(p,u);return m===void 0?c.jsx("span",{className:zt.imageAlt,children:t}):c.jsx(tH,{src:m,alt:t,destination:e,preview:s?void 0:l},m)}function tH({src:e,alt:t,destination:n,preview:r}){const[s,l]=S.useState(!1),[u,d]=S.useState(!1),p=S.useCallback(()=>{d(!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:()=>{d(!0)},children:m}),u&&c.jsx(V9,{src:e,alt:t,labels:r.labels,onClose:p})]})}function Y9(e){return e.referenceType==="collapsed"?"][]":e.referenceType==="full"?`][${e.label??e.identifier}]`:"]"}function nH(e,t,n){const r=n.targets.definitions.get(e.identifier.toUpperCase());if(r===void 0)return c.jsxs(S.Fragment,{children:["[",Rn(e.children,n),Y9(e)]},t);const s=Rn(e.children,{...n,inLink:!0});return G9(r.url,s,t,!U9(e.children),n.streaming)}function rH(e,t,n){const r=n.targets.definitions.get(e.identifier.toUpperCase());return r===void 0?`![${e.alt??""}${Y9(e)}`:K9(r.url,e.alt??"",t,n)}function oH(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 J9(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=B9(r.children,e),d=u[u.length-1],p=u.map((m,g)=>"paragraph"in m?c.jsxs("p",{children:[m.paragraph,m===d&&c.jsxs(c.Fragment,{children:[" ",l]})]},`p-${g}`):m.element);(d===void 0||!("paragraph"in d))&&p.push(...l),t.push(c.jsx("li",{id:`user-content-fn-${gd(n.toLowerCase())}`,children:x2(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 iH(e,t,n,r,s){const l=w$(e),u=dd();gl(l.children,u);const d={streaming:!1,labels:t,fileMentions:n,pathImages:r,responseAnnotations:s,targets:u,footnoteOrder:[],footnoteCounts:new Map},p=x2(fd(l.children.map((g,w)=>({node:g,key:g.position?.start.offset??-(w+1)})),d),!1),m=J9(d);return m===null?p:[...p,`
188
+ `,m]}class sH{constructor(t,n){this.labels=t,this.responseAnnotations=n}parser=new JF(P9);generation=-1;frozenCount=0;frozenElements=[];frozenTargets=dd();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=dd(),this.frozenFootnoteOrder=[],this.frozenFootnoteCounts=new Map);const l=n.slice(this.frozenCount);gl(l.map(g=>g.node),this.frozenTargets);const u={definitions:new Map(this.frozenTargets.definitions),footnotes:new Map(this.frozenTargets.footnotes)};if(gl(r.map(g=>g.node),u),l.length>0){const g={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 x of fd(l,g))w.length>0&&w.push(`
189
+ `),w.push(x);this.frozenElements=w,this.frozenCount=n.length}const d={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 g of fd(r,d))p.length>0&&p.push(`
190
+ `),p.push(g);const m=J9(d);return m!==null&&p.push(`
191
+ `,m),this.lastText=t,this.lastRendered=p,this.lastRendered}}const X9=S.memo(function({text:t,streaming:n=!1,labels:r,fileMentions:s,pathImages:l,responseAnnotations:u,variant:d="body"}){const p=S.useRef(null),m=S.useRef(r),g=S.useRef(u),w=S.useMemo(()=>n?((p.current===null||m.current!==r||g.current!==u)&&(p.current=new sH(r,u),m.current=r,g.current=u),p.current.render(t)):(p.current=null,iH(t,r,s,l,u)),[t,n,r,s,l,u]);return c.jsx("div",{className:xe(zt.markdown,d==="compact"&&zt.compact),"data-markdown-variant":d==="compact"?d:void 0,children:w})}),aH="_block_ca4yc_1",lH="_answer_ca4yc_13",cH="_sources_ca4yc_40",uH="_source_ca4yc_40",dH="_sourceLink_ca4yc_54",fH="_linkIcon_ca4yc_65",hH="_snippet_ca4yc_78",pH="_published_ca4yc_86",mH="_truncated_ca4yc_92",gH="_empty_ca4yc_98",vH="_fetch_ca4yc_104",wH="_fetchUrl_ca4yc_110",xH="_fetchMeta_ca4yc_126",yH="_status_ca4yc_132",Zt={block:aH,answer:lH,sources:cH,source:uH,sourceLink:dH,linkIcon:fH,snippet:hH,published:pH,truncated:mH,empty:gH,fetch:vH,fetchUrl:wH,fetchMeta:xH,status:yH};function _H(e){try{const{protocol:t}=new URL(e);return t==="http:"||t==="https:"?e:void 0}catch{return}}function bH(e,t){if(t!==void 0&&t!=="")return t;try{const{hostname:n}=new URL(e);return n===""?e:n}catch{return e}}function Q9({url:e,label:t,className:n}){const r=_H(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(h1,{kind:"url",href:r,className:Zt.linkIcon}),t]})}function CH({source:e,ordinal:t}){return c.jsxs("li",{className:Zt.source,value:t,children:[c.jsx(Q9,{url:e.url,label:bH(e.url,e.title),className:Zt.sourceLink}),e.snippet!==void 0&&e.snippet!==""&&c.jsx("div",{className:Zt.snippet,children:e.snippet}),e.publishedAt!==void 0&&e.publishedAt!==""&&c.jsx("div",{className:Zt.published,children:e.publishedAt})]})}function kH({answer:e,sources:t,truncated:n,labels:r,className:s}){const l=(e===void 0||e==="")&&t.length===0;return c.jsxs("div",{className:xe(Zt.block,s),"data-web":"search",children:[e!==void 0&&e!==""&&c.jsx("div",{className:Zt.answer,children:c.jsx(X9,{text:e,labels:r.markdown})}),l?c.jsx("div",{className:Zt.empty,children:r.noResults}):c.jsx("ol",{className:Zt.sources,children:t.map((u,d)=>c.jsx(CH,{source:u,ordinal:d+1},d))}),n&&c.jsx("div",{className:Zt.truncated,children:r.sourcesTruncated})]})}function SH({url:e,statusCode:t,truncated:n,labels:r,className:s}){return c.jsxs("div",{className:xe(Zt.block,Zt.fetch,s),"data-web":"fetch",children:[c.jsx(Q9,{url:e,label:e,className:Zt.fetchUrl}),c.jsxs("div",{className:Zt.fetchMeta,children:[c.jsxs("span",{className:Zt.status,children:[r.http," ",t]}),n&&c.jsx("span",{className:Zt.truncated,children:r.contentTruncated})]})]})}function EH(e){return e.kind==="search"?c.jsx(kH,{...e}):c.jsx(SH,{...e})}const jH="_root_74oxc_1",IH="_toggle_74oxc_5",MH="_body_74oxc_20",M0={root:jH,toggle:IH,body:MH},I6=2e4;function OH({label:e,payload:t,defaultOpen:n=!1,truncatedLabel:r}){const[s,l]=S.useState(n),u=S.useMemo(()=>{if(!s)return"";let d;try{d=JSON.stringify(t,null,2)??String(t)}catch{d=String(t)}return d.length>I6?`${d.slice(0,I6)}
192
+ ${r(d.length)}`:d},[s,t,r]);return c.jsxs("div",{className:M0.root,children:[c.jsxs("button",{type:"button",className:M0.toggle,onClick:()=>{l(d=>!d)},children:[s?"▾":"▸"," ",e]}),s&&c.jsx("pre",{className:M0.body,children:u})]})}function Bs(e){switch(e.type){case"text":case"inlineCode":case"code":return e.value??"";case"image":case"imageReference":return e.alt??"";case"break":return`
193
+ `;case"html":return e.value??"";case"codexAnnotation":return"";default:return e.children?.map(Bs).join("")??""}}function Ga(e){return e.replace(/\s+/g," ").trim()}function fi(e){switch(e.type){case"root":case"blockquote":return e.children?.map(fi).filter(Boolean).join(`
194
+
195
+ `)??"";case"paragraph":case"heading":return Ga(Bs(e));case"code":return e.value?.trim()??"";case"list":return e.children?.map(fi).filter(Boolean).join(`
196
+ `)??"";case"listItem":return e.children?.map(fi).filter(Boolean).join(" ")??"";case"table":return e.children?.map(fi).filter(Boolean).join(`
197
+ `)??"";case"tableRow":return e.children?.map(fi).join(" ")??"";case"tableCell":return Ga(Bs(e));case"html":return e.value??"";case"thematicBreak":case"definition":return"";default:return Ga(Bs(e))}}function em(e){if(e.type==="paragraph"){const t=Ga(Bs(e));if(t!=="")return t}for(const t of e.children??[]){const n=em(t);if(n!==void 0)return n}}function LH(e){return fi(e).split(`
198
+ `).map(t=>t.trim()).join(`
199
+ `).replace(/\n{3,}/g,`
200
+
201
+ `).trim()}function TH(e,t={}){const{mode:n="all"}=t,r=P9(e),s=LH(r);switch(n){case"all":return s;case"first-line":return s.split(`
202
+ `).find(l=>l!=="")??"";case"first-paragraph":return em(r)??s.split(`
203
+ `).find(l=>l!=="")??""}}const Yl=()=>`dsh_plugin_art_${S.useId().replaceAll(":","")}`,NH=({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"})]}),PH=({size:e=36,className:t})=>{const n=Yl();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"})]})})]})},zH=({size:e=36,className:t})=>{const n=Yl();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"})]})]})]})},AH=({size:e=36,className:t})=>{const n=Yl();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"})})})]})},RH=({size:e=36,className:t})=>{const n=Yl();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 DH({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 FH({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 $H=Object.freeze(Object.defineProperty({__proto__:null,BrandWordmark:TP,Button:nd,CODE_HIGHLIGHT_EXTENSIONS:vR,Checkbox:aT,CodeBlock:z9,ConnectionIndicator:OP,DEFAULT_DIFF_MAX_LINES:k9,DEFAULT_READ_MAX_LINES:C9,DEFAULT_SEARCH_MAX_LINES:E9,DEFAULT_TERMINAL_MAX_LINES:x9,DiffBlock:OF,DisclosureRow:yL,FISH_LOGO_PATH:e9,FISH_LOGO_VIEWBOX:Fs,FileTypeIcon:xz,FishLogo:LP,GuideArtworkBrowser:DH,GuideArtworkFiles:FH,HoverCard:Yp,ICON_MEDIUM_STROKE:ae,ICON_REGULAR_STROKE:se,IconAgentPresetOutlineMedium:HI,IconAgentPresetOutlineRegular:$I,IconAlarmClockOutlineMedium:bO,IconAlarmClockOutlineRegular:_O,IconApiOutlineMedium:MM,IconApiOutlineRegular:IM,IconArchiveCheckOutlineMedium:XO,IconArchiveCheckOutlineRegular:JO,IconArchiveOffOutlineMedium:YO,IconArchiveOffOutlineRegular:KO,IconArchiveOutlineMedium:kO,IconArchiveOutlineRegular:CO,IconBellOutlineRegular:aL,IconBranchOutlineMedium:uI,IconBranchOutlineRegular:cI,IconBrowseOutlineMedium:BI,IconBrowseOutlineRegular:VI,IconCheckCircleFillMedium:nM,IconCheckCircleFillRegular:tM,IconCheckCircleOutlineMedium:AO,IconCheckCircleOutlineRegular:Mp,IconCheckOutlineMedium:lI,IconCheckOutlineRegular:Ni,IconChecklistOutlineMedium:sO,IconChecklistOutlineRegular:iO,IconChevronDownOutlineMedium:dI,IconChevronDownOutlineRegular:t7,IconChevronLeftOutlineMedium:fI,IconChevronLeftOutlineRegular:r7,IconChevronRightOutlineMedium:pI,IconChevronRightOutlineRegular:hI,IconChevronUpOutlineMedium:vI,IconChevronUpOutlineRegular:a7,IconChevronsUpDownOutlineMedium:GO,IconChevronsUpDownOutlineRegular:qO,IconClockOutlineMedium:XM,IconClockOutlineRegular:JM,IconCloseCircleFillMedium:_I,IconCloseCircleFillRegular:yI,IconCloseFillMedium:xI,IconCloseFillRegular:t2,IconCloseOutlineMedium:wI,IconCloseOutlineRegular:Ul,IconCodeOutlineMedium:SM,IconCodeOutlineRegular:kM,IconCompactOutlineMedium:NO,IconCompactOutlineRegular:TO,IconCompareSplitOutlineMedium:MO,IconCompareSplitOutlineRegular:IO,IconContextInjectionOutlineMedium:WI,IconContextInjectionOutlineRegular:ZI,IconCopyOutlineMedium:bI,IconCopyOutlineRegular:n2,IconCordisPluginOutlineMedium:jM,IconCordisPluginOutlineRegular:EM,IconDarkOutlineMedium:WM,IconDarkOutlineRegular:ZM,IconDataOutlineMedium:GM,IconDataOutlineRegular:tp,IconDatabaseOutlineMedium:YM,IconDatabaseOutlineRegular:KM,IconDeliverDocMedium:zI,IconDeliverDocRegular:PI,IconDislikeFillMedium:LI,IconDislikeFillRegular:OI,IconDislikeOutlineMedium:MI,IconDislikeOutlineRegular:II,IconDownloadOutlineMedium:vM,IconDownloadOutlineRegular:gM,IconEditOutlineMedium:RI,IconEditOutlineRegular:AI,IconEllipsisOutlineMedium:sI,IconEllipsisOutlineRegular:iI,IconEnhanceOutlineMedium:JI,IconEnhanceOutlineRegular:YI,IconFileDiffOutlineRegular:sL,IconFlatListOutlineMedium:ZO,IconFlatListOutlineRegular:BO,IconFolderCloseMedium:FM,IconFolderCloseRegular:DM,IconFolderOpenMedium:RM,IconFolderOpenOutlineMedium:zM,IconFolderOpenOutlineRegular:PM,IconFolderOpenRegular:AM,IconFollowsystemOutlineMedium:qM,IconFollowsystemOutlineRegular:UM,IconFullscreenOutlineMedium:CM,IconFullscreenOutlineRegular:bM,IconGaugeOutlineMedium:eO,IconGaugeOutlineRegular:QM,IconGlobeOutlineMedium:tI,IconGlobeOutlineRegular:eI,IconGoalOutlineMedium:uO,IconGoalOutlineRegular:cO,IconInfoOutlineMedium:wO,IconInfoOutlineRegular:pp,IconInspectOutlineMedium:pO,IconInspectOutlineRegular:hO,IconLightOutlineMedium:BM,IconLightOutlineRegular:VM,IconLikeFillMedium:jI,IconLikeFillRegular:EI,IconLikeOutlineMedium:SI,IconLikeOutlineRegular:kI,IconLinkOutlineMedium:qI,IconLinkOutlineRegular:UI,IconListPenOutlineMedium:lO,IconListPenOutlineRegular:aO,IconLoadingOutlineMedium:mM,IconLoadingOutlineRegular:D7,IconMicrophoneOutlineMedium:nL,IconMicrophoneOutlineRegular:tL,IconNewChatOutlineMedium:Jj,IconNewChatOutlineRegular:Yj,IconNowrapFillMedium:EO,IconNowrapFillRegular:_p,IconPanelLeftOutlineMedium:oI,IconPanelLeftOutlineRegular:G8,IconPaperPlaneOutlineMedium:uM,IconPaperPlaneOutlineRegular:cM,IconPaperclipOutlineMedium:pM,IconPaperclipOutlineRegular:hM,IconPauseOutlineMedium:_M,IconPauseOutlineRegular:yM,IconPersonalizationOutlineMedium:LM,IconPersonalizationOutlineRegular:OM,IconPinFillMedium:VO,IconPinFillRegular:HO,IconPinOutlineMedium:$O,IconPinOutlineRegular:FO,IconPlanOutlineMedium:LO,IconPlanOutlineRegular:OO,IconPlayOutlineMedium:xM,IconPlayOutlineRegular:wM,IconPluginPinwheelOutlineMedium:yO,IconPluginPinwheelOutlineRegular:xO,IconPlusOutlineMedium:aI,IconPlusOutlineRegular:J8,IconProjectAddOutlineMedium:NM,IconProjectAddOutlineRegular:TM,IconQuestionOutlineMedium:vO,IconQuestionOutlineRegular:gO,IconQueueOutlineMedium:oO,IconQueueOutlineRegular:rO,IconRefreshOutlineMedium:CI,IconRefreshOutlineRegular:h7,IconRightUpOutlineMedium:KI,IconRightUpOutlineRegular:GI,IconSearchOutlineMedium:Qj,IconSearchOutlineRegular:Xj,IconSendOutlineMedium:nO,IconSendOutlineRegular:tO,IconSettingsOutlineMedium:rI,IconSettingsOutlineRegular:nI,IconShareOutlineMedium:NI,IconShareOutlineRegular:TI,IconShieldOutlineMedium:zO,IconShieldOutlineRegular:PO,IconSkillOutlineMedium:mO,IconSkillOutlineRegular:dp,IconSlidersTwoOutlineMedium:eL,IconSlidersTwoOutlineRegular:QO,IconSparkleMedium:fO,IconSparkleRegular:dO,IconStopFillMedium:fM,IconStopFillRegular:dM,IconThinkOutlineMedium:FI,IconThinkOutlineRegular:DI,IconTrashOutlineMedium:QI,IconTrashOutlineRegular:XI,IconTreeCornerMedium:HM,IconTreeCornerRegular:$M,IconTriangleRightFillMedium:gI,IconTriangleRightFillRegular:mI,IconUnarchiveOutlineMedium:DO,IconUnarchiveOutlineRegular:RO,IconUserOutlineMedium:sM,IconUserOutlineRegular:iM,IconUsersOutlineMedium:lM,IconUsersOutlineRegular:aM,IconWarningOutlineMedium:eM,IconWarningOutlineRegular:M7,IconWarningTriangleOutlineMedium:oM,IconWarningTriangleOutlineRegular:rM,IconWorkspaceTreeOutlineMedium:UO,IconWorkspaceTreeOutlineRegular:WO,IconWrapFillMedium:jO,IconWrapFillRegular:Cp,IconWrapLinesOutlineMedium:SO,IconWrapLinesOutlineRegular:xp,ImageLightbox:V9,InlineEditor:pT,Input:dT,JsonBlock:OH,JsonTree:cD,LinkIconMedium:h1,LinkIconRegular:tA,MarkdownAnchor:w2,MarkdownDelegateProvider:N$,MarkdownText:X9,Menu:Gp,MenuGroup:yN,MenuItemButton:mN,MenuSurface:fl,Modal:Qp,PathLabel:YL,PermissionIconFullAccessMedium:DP,PermissionIconFullAccessRegular:RP,PermissionIconReadOnlyMedium:PP,PermissionIconReadOnlyRegular:NP,PermissionIconWorkspaceWriteMedium:AP,PermissionIconWorkspaceWriteRegular:zP,PhoneSidebarProvider:$T,Pill:i2,PluginArtworkDefault:RH,PluginArtworkLoop:PH,PluginArtworkSearch:AH,PluginArtworkSubagent:zH,PluginArtworkTerminal:NH,ReadBlock:cF,ReferenceIconMedium:FP,ReferenceIconRegular:i9,RemotePluginIcon:Hp,ResponseAnnotationCard:Jp,ResponseAnnotationChip:tP,ResponseAnnotationLabel:Xp,ResponseAnnotationPopover:d2,RiskConfirmation:xP,SHIELD_OUTLINE_PATH:Z8,SearchBlock:qF,SegmentedControl:oT,SegmentedTabs:VL,SettingsForm:FA,SettingsFormModel:tR,SettingsSecretField:XA,SettingsValueField:JA,ShortcutKeys:o1,StateDot:o2,Switch:XL,Tag:s2,TerminalBlock:ZD,TextShimmer:td,Toast:MA,Tooltip:qr,WebBlock:EH,classifyFileType:Gl,classifyLinkPath:hl,closeTopModal:jT,diffTotals:jF,extractMarkdownPlainText:TH,fileExtension:f2,fileSizeText:TA,focusWithoutRing:Ii,isBehindModal:Wp,isDarwinDesktop:CR,isMobileDevice:Zp,languageForPath:ad,modalSelector:l2,observeComposition:ql,observeStickyMenuGroups:_N,pointerModality:Kp,preferenceRowStyles:DL,projectUserText:_A,rankByName:bR,relativeTime:yR,settingsNumberField:QA,settingsTextField:eR,shouldAutoFocusTextInput:ET,useAnchoredMaxHeight:CN,useAnchoredPosition:kN,useCodeHighlighter:xR,useCopyFeedback:f1,useDismissOnOutsidePointer:u2,useMarkdownDelegate:p1,useModalLayer:c2,usePhoneSidebar:Pi,useSustainedRecovery:LA,writeClipboard:Zl},Symbol.toStringTag,{value:"Module"}));function _2(e,t){throw new Error(`${t}: unhandled ${JSON.stringify(e)}`)}function yr(e,t){const n=e.nodes[t];if(n===void 0)throw new Error(`layout: unknown node ${t}`);return n}function et(e,t){const n=yr(e,t);if(n.kind!=="pane")throw new Error(`layout: ${t} is not a pane`);return n}function Jl(e,t){const n=yr(e,t);if(n.kind!=="split")throw new Error(`layout: ${t} is not a split`);return n}function zo(e,t){const n=e.tabs[t];if(n===void 0)throw new Error(`layout: unknown tab ${t}`);return n}function zi(e){if(e.host!=="float"||e.rect===void 0)throw new Error(`layout: ${e.id} is not floating`);return e.rect}function b2(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 tm(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 Xl(e,t){for(const n of Object.values(e.nodes))if(n.kind==="split"&&n.children.includes(t))return n}function Hn(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 Ql(e){const t=[],n=r=>{const s=yr(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 nm(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 i1(e){return Object.entries(e)}function HH(e){return Object.keys(e)}function xt(e,t){const n={};for(const[r,s]of i1(e.nodes))r in t||(n[r]=s);for(const[r,s]of i1(t))s!==null&&(n[r]=s);return{...e,nodes:n}}function Eo(e,t){const n={};for(const[r,s]of i1(e.tabs))r in t||(n[r]=s);for(const[r,s]of i1(t))s!==null&&(n[r]=s);return{...e,tabs:n}}function Gr(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 C2(e,t){const n=Qn(e,t);if(n.length!==0)return n[Math.max(0,t-1)]}function To(e,t,n){return{...e,tabs:t,activeTabId:n}}function k2(e,t,n){const r=Xl(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 xt(e,{[r.id]:{...r,children:s}})}function rm(e,t){let n=yr(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=yr(e,r)}return n.id}function om(e){return rm(e,t=>t.children[0])}function im(e){return rm(e,t=>t.axis==="row"?t.children.at(-1):t.children[0])}function vn(e,t){const n={};for(const r of t)n[r]=et(e,r).activeTabId;return{type:"restoreFocus",activePaneId:e.activePaneId,floats:e.floats,paneActiveTabs:n}}function S2(e,t){return[...e.filter(n=>n!==t),t]}function Ka(e,t){return e.activePaneId!==t?e:{...e,activePaneId:om(e)}}function VH(e){return{kind:"pane",id:e,host:"dock",tabs:[],activeTabId:void 0,rect:void 0}}function vl(e,t){if(e.nodes[t]!==void 0)throw new Error(`layout: node ${t} already exists`)}function E2(e,t){if(e.tabs[t]!==void 0)throw new Error(`layout: tab ${t} already exists`)}function BH(e,t){if(et(e,t.paneId).host!=="dock")throw new Error("layout: split requires a docked pane");vl(e,t.newPaneId);const r=VH(t.newPaneId),s=Xl(e,t.paneId);if(s!==void 0&&s.axis===t.axis){const d=s.children.indexOf(t.paneId),p=t.direction==="after"?d+1:d,m=Gr(s.children,p,t.newPaneId),g=s.sizes.flatMap((w,x)=>x===d?[w/2,w/2]:[w]);return{state:xt(e,{[t.newPaneId]:r,[s.id]:{...s,children:m,sizes:g}}),inverse:[{type:"merge",paneId:t.newPaneId},{type:"resize",splitId:s.id,sizes:s.sizes}]}}vl(e,t.newSplitId);const l=k2(e,t.paneId,t.newSplitId),u=t.direction==="after"?[t.paneId,t.newPaneId]:[t.newPaneId,t.paneId];return{state:xt(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 ZH(e,t){const n=et(e,t.paneId);if(n.tabs.length>0)throw new Error("layout: merge requires an empty pane");const r=vn(e,[]);if(n.host==="float"){const p=b2(e,t.paneId),m=xt({...e,floats:Qn(e.floats,p)},{[t.paneId]:null});return{state:Ka(m,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"float",index:p}},r]}}const s=Xl(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=nm(Qn(s.sizes,l)),g=xt(e,{[t.paneId]:null,[s.id]:{...s,children:p,sizes:m}});return{state:Ka(g,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 d=xt(k2(e,s.id,u),{[t.paneId]:null,[s.id]:null});return{state:Ka(d,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"wrap",targetId:u,split:s}},r]}}function WH(e,t){const n=et(e,t.paneId);if(n.host!=="dock")throw new Error("layout: openTab requires a docked pane");E2(e,t.tab.id);const r=vn(e,[n.id]);return{state:{...xt(Eo(e,{[t.tab.id]:t.tab}),{[n.id]:To(n,Gr(n.tabs,t.index,t.tab.id),t.tab.id)}),activePaneId:n.id},inverse:[{type:"closeTab",tabId:t.tab.id},r]}}function UH(e,t){const n=et(e,t.paneId);if(n.host!=="dock")throw new Error("layout: insertTab requires a docked pane");E2(e,t.tab.id);const r=vn(e,[n.id]),s=Gr(n.tabs,t.index,t.tab.id);return{state:xt(Eo(e,{[t.tab.id]:t.tab}),{[n.id]:To(n,s,n.activeTabId??t.tab.id)}),inverse:[{type:"closeTab",tabId:t.tab.id},r]}}function qH(e,t){const n=zo(e,t.tabId),r=Hn(e,t.tabId),s=r.tabs.indexOf(t.tabId),l=vn(e,[r.id]);if(r.host==="float"){const d=b2(e,r.id),p=Eo(xt({...e,floats:Qn(e.floats,d)},{[r.id]:null}),{[t.tabId]:null});return{state:Ka(p,r.id),inverse:[{type:"insertPane",pane:r,tabs:[n],attach:{mode:"float",index:d}},l]}}const u=r.activeTabId===t.tabId?C2(r.tabs,s):r.activeTabId;return{state:Eo(xt(e,{[r.id]:To(r,Qn(r.tabs,s),u)}),{[t.tabId]:null}),inverse:[{type:"insertTab",paneId:r.id,tab:n,index:s},l]}}function GH(e,t){if(vl(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)E2(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},vn(e,[])],l=t.attach;switch(l.mode){case"child":{const u=Jl(e,l.parentId),d=Gr(u.children,l.index,t.pane.id);if(l.sizes.length!==d.length)throw new Error("layout: insertPane sizes do not match the split");return s.push({type:"resize",splitId:u.id,sizes:u.sizes}),{state:xt(Eo(e,n),{[t.pane.id]:t.pane,[u.id]:{...u,children:d,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=k2(e,l.targetId,l.split.id);return{state:xt(Eo(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=Gr(e.floats,l.index,t.pane.id);return{state:xt(Eo({...e,floats:u},n),{[t.pane.id]:t.pane}),inverse:s}}default:return _2(l,"layout: insertPane attachment")}}function KH(e,t){const n=Hn(e,t.tabId);if(n.host!=="dock")throw new Error("layout: moveTab source must be docked; use unfloat");const r=et(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=vn(e,[n.id,r.id]),u=n.activeTabId===t.tabId?C2(n.tabs,s):n.activeTabId;return{state:{...xt(e,{[n.id]:To(n,Qn(n.tabs,s),u),[r.id]:To(r,Gr(r.tabs,t.index,t.tabId),t.tabId)}),activePaneId:r.id},inverse:[{type:"moveTab",tabId:t.tabId,toPaneId:n.id,index:s},l]}}function YH(e,t){const n=Hn(e,t.tabId),r=n.tabs.indexOf(t.tabId),s=Gr(Qn(n.tabs,r),t.index,t.tabId);return{state:xt(e,{[n.id]:{...n,tabs:s}}),inverse:[{type:"reorderTab",tabId:t.tabId,index:r}]}}function JH(e,t){const n=Hn(e,t.tabId),r=vn(e,[n.id]),s=xt(e,{[n.id]:{...n,activeTabId:t.tabId}}),l=n.host==="float"?S2(s.floats,n.id):s.floats;return{state:{...s,activePaneId:n.id,floats:l},inverse:[r]}}function XH(e,t){const n=et(e,t.paneId),r=vn(e,[]),s=n.host==="float"?S2(e.floats,n.id):e.floats;return{state:{...e,activePaneId:n.id,floats:s},inverse:[r]}}function QH(e,t){const n=Jl(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:xt(e,{[n.id]:{...n,sizes:nm(t.sizes)}}),inverse:[{type:"resize",splitId:n.id,sizes:n.sizes}]}}function eV(e,t){zo(e,t.tabId);const n=Hn(e,t.tabId);if(n.host!=="dock")throw new Error("layout: float requires a docked tab");vl(e,t.newPaneId);const r=n.tabs.indexOf(t.tabId),s=vn(e,[n.id]),l=n.activeTabId===t.tabId?C2(n.tabs,r):n.activeTabId,u=xt(e,{[n.id]:To(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 tV(e,t){const n=et(e,t.paneId),r=zi(n),s=tm(n),l=et(e,t.toPaneId);if(l.host!=="dock")throw new Error("layout: unfloat target must be docked");const u=vn(e,[l.id]);return{state:{...xt({...e,floats:Qn(e.floats,b2(e,t.paneId))},{[t.paneId]:null,[l.id]:To(l,Gr(l.tabs,t.index,s),s)}),activePaneId:l.id},inverse:[{type:"float",tabId:s,newPaneId:t.paneId,rect:r},u]}}function sm(e,t,n){const r=xt(e,{[t.id]:{...t,rect:n}});return{...r,activePaneId:t.id,floats:S2(r.floats,t.id)}}function nV(e,t){const n=et(e,t.paneId),r=zi(n);return{state:sm(e,n,{...r,x:t.x,y:t.y}),inverse:[{type:"moveFloat",paneId:t.paneId,x:r.x,y:r.y},vn(e,[])]}}function rV(e,t){const n=et(e,t.paneId),r=zi(n);if(!(t.rect.width>0)||!(t.rect.height>0))throw new Error("layout: float size must be above zero");return{state:sm(e,n,t.rect),inverse:[{type:"resizeFloat",paneId:t.paneId,rect:r},vn(e,[])]}}function oV(e,t){const n=vn(e,HH(t.paneActiveTabs));for(const s of t.floats)if(et(e,s).host!=="float")throw new Error(`layout: restoreFocus lists docked pane ${s} as floating`);let r=e;for(const[s,l]of i1(t.paneActiveTabs)){const u=et(r,s);r=xt(r,{[s]:{...u,activeTabId:l}})}return et(r,t.activePaneId),{state:{...r,activePaneId:t.activePaneId,floats:t.floats},inverse:[n]}}function Ai(e,t){switch(t.type){case"split":return BH(e,t);case"merge":return ZH(e,t);case"openTab":return WH(e,t);case"insertTab":return UH(e,t);case"closeTab":return qH(e,t);case"insertPane":return GH(e,t);case"moveTab":return KH(e,t);case"reorderTab":return YH(e,t);case"focusTab":return JH(e,t);case"focusPane":return XH(e,t);case"resize":return QH(e,t);case"float":return eV(e,t);case"unfloat":return tV(e,t);case"moveFloat":return nV(e,t);case"resizeFloat":return rV(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 oV(e,t);default:return _2(t,"layout: operation")}}function iV(e,t){return t.reduce((n,r)=>Ai(n,r).state,e)}const am={entries:[],cursor:0},sV=new Set(["focusTab","focusPane","restoreFocus"]);function lm(e){return sV.has(e.type)}function wl(e,t){const n=e.entries[t];return n!==void 0&&n.ops.every(lm)}function j2(e){return e.cursor>0}function I2(e){return e.cursor<e.entries.length}function cm(e){return e.entries.flatMap(t=>t.ops)}function um(e,t,n){if(n.length===0)return{history:e,state:t};let r=t;const s=[];for(const u of n){const d=Ai(r,u);r=d.state,s.unshift(...d.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 dm(e,t){if(!j2(e))return;let n=1;if(wl(e,e.cursor-1))for(;wl(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=Ai(r,l).state;return{history:{entries:e.entries,cursor:e.cursor-n},state:r}}function fm(e,t){if(!I2(e))return;let n=1;if(wl(e,e.cursor))for(;wl(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=Ai(r,l).state;return{history:{entries:e.entries,cursor:e.cursor+n},state:r}}class hm{current;recorded=am;constructor(t){this.current=t}get state(){return this.current}get history(){return this.recorded}get ops(){return cm(this.recorded)}get cursor(){return this.recorded.cursor}get canUndo(){return j2(this.recorded)}get canRedo(){return I2(this.recorded)}dispatch(t){return this.dispatchAll([t])}dispatchAll(t){const n=um(this.recorded,this.current,t);return this.recorded=n.history,this.current=n.state,this.current}undo(){const t=dm(this.recorded,this.current);return t===void 0?!1:(this.recorded=t.history,this.current=t.state,!0)}redo(){const t=fm(this.recorded,this.current);return t===void 0?!1:(this.recorded=t.history,this.current=t.state,!0)}}const pm=4,M2=.12,xl={width:380,height:300},mm={width:220,height:140},O2=.25;function gm(e){return Ql(e).length}function ec(e){return gm(e)<pm}const aV=["center","top","right","bottom","left"];function vm(e,t,n=O2){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 wm(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 _2(e,"layout: dock zone")}}function L2(e,t=M2){if(e.length===0)return[];const n=Math.min(t,1/e.length),r=e.map(d=>d>0?d:0),s=r.reduce((d,p)=>d+p,0);let l=s>0?r.map(d=>d/s):r.map(()=>1/e.length);const u=new Set;for(;;){const d=l.flatMap((g,w)=>!u.has(w)&&g<n?[w]:[]);if(d.length===0)return l;for(const g of d)u.add(g);const p=1-u.size*n,m=l.reduce((g,w,x)=>u.has(x)?g:g+w,0);l=l.map((g,w)=>u.has(w)?n:g/m*p)}}function yl(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function xm(e,t,n,r=O2){return!(e.width>0)||!(e.height>0)?"center":vm((t-e.x)/e.width,(n-e.y)/e.height,r)}function ym(e,t){let n=0;for(const r of e){if(t<r.x+r.width/2)break;n+=1}return n}const No={divider:0,chip:100,body:48};function _m(e,t=No){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,d=(n.height-t.divider)/2-s;return{row:u>=l+t.chip,column:d>=r.height+t.body}}const hd=4;function bm(e,t,n,r){return Math.abs(n-e)>=hd||Math.abs(r-t)>=hd}function Cm(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 km(e,t,n){return{...e,x:e.x+t,y:e.y+n}}function Sm(e,t,n,r){return{...e,width:Math.max(r.width,e.width+t),height:Math.max(r.height,e.height+n)}}function Em(e,t,n){return{x:Math.max(0,e-M6.x),y:Math.max(0,t-M6.y),...n}}const M6={x:60,y:14},lV=24,O6={x:160,y:120},jn=[];function jm(e,t,n,r){for(const s of et(e,t).tabs){const l=e.tabs[s];if(l?.contentId===n&&(r===void 0||l.kind===r))return s}}function Im(e,t,n){for(const r of[...Ql(e),...e.floats]){const s=jm(e,r,t,n);if(s!==void 0)return s}}function Ri(e){const t=et(e,e.activePaneId);return t.host==="dock"?t.id:om(e)}function pd(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 Mm(e,t){return e.expanded===t?jn:[{type:"setExpanded",expanded:t}]}function Om(e,t){return e.mode===t?jn:[{type:"setMode",mode:t}]}function Lm(e,t,n,r){if(!ec(e))return jn;const s=n??Ri(e);if(et(e,s).host!=="dock")return jn;const l=t("pane"),u=[{type:"split",paneId:s,axis:"row",direction:"after",newPaneId:l,newSplitId:t("split")}],d=r?.(t("tab"));return d!==void 0&&u.push({type:"openTab",paneId:l,tab:d,index:0}),u}function Tm(e,t,n,r){if(r===void 0)return jn;const s=et(e,n);return s.host!=="dock"?jn:[{type:"openTab",paneId:n,tab:r(t("tab")),index:s.tabs.length}]}function Nm(e,t,n){const r=n.revealIfOpened===!1?void 0:Im(e,n.contentId,n.kind);if(r!==void 0)return{ops:[{type:"focusTab",tabId:r}],tabId:r};const s=n.paneId??Ri(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??et(e,s).tabs.length}],tabId:l.id}}function Pm(e,t,n){const r=zo(e,n),s=Hn(e,n),l=s.host==="dock"?s.id:Ri(e),u=s.host==="dock"?s.tabs.indexOf(n)+1:et(e,l).tabs.length,d={...r,id:t("tab")};return{ops:[{type:"openTab",paneId:l,tab:d,index:u}],tabId:d.id}}function zm(e,t,n,r){const s=Hn(e,t);if(et(e,n).host!=="dock")return jn;if(s.id===n){const l=s.tabs.indexOf(t),u=r>l?r-1:r;return u===l?jn:[{type:"reorderTab",tabId:t,index:u}]}return[pd(s,t,n,r)]}function Am(e,t,n,r,s,l){const u=Hn(e,n),d=et(e,r);if(d.host!=="dock")return jn;const p=wm(s);if(p===void 0)return u.id===r?jn:[pd(u,n,r,d.tabs.length)];const m=u.id===r&&u.tabs.length===1;if(m&&l===void 0||!ec(e))return jn;const g=t("pane"),w=[{type:"split",paneId:r,axis:p.axis,direction:p.direction,newPaneId:g,newSplitId:t("split")}];return m&&l!==void 0&&w.push({type:"openTab",paneId:r,tab:l(t("tab")),index:u.tabs.length}),w.push(pd(u,n,g,0)),w}function Rm(e,t,n,r){const s=e.floats.length*lV,l=t("float");return{ops:[{type:"float",tabId:n,newPaneId:l,rect:r??{x:O6.x+s,y:O6.y+s,width:xl.width,height:xl.height}}],paneId:l}}function Dm(e,t,n){const r=n??Ri(e);return[{type:"unfloat",paneId:t,toPaneId:r,index:et(e,r).tabs.length}]}function Fm(e,t,n){return[{type:"resize",splitId:e,sizes:L2(t,n)}]}function cV(e,t,n){const r=[];let s=e;for(;;){const u=Ql(s).find(p=>p!==s.rootId&&et(s,p).tabs.length===0);if(u===void 0)break;const d={type:"merge",paneId:u};r.push(d),s=Ai(s,d).state}const l=yr(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 $m(e=0){let t=e;return{next:(r=>(t+=1,`${r}${t}`))}}function Hm(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 uV{minter;sequencer;listeners=new Set;makePaneTab;snapshot;constructor(t={}){this.minter=$m(),this.makePaneTab=t.makePaneTab,this.sequencer=new hm(Hm(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:ec(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(Mm(this.state,t))}toggleExpanded(){this.setExpanded(!this.state.expanded)}setMode(t){this.run(Om(this.state,t))}splitPane(t){return this.run(Lm(this.state,this.mint,t,this.makePaneTab))}addTab(t){return this.run(Tm(this.state,this.mint,t,this.makePaneTab))}openContent(t){const n=Nm(this.state,this.mint,t);return this.run(n.ops),n.tabId}duplicateTab(t){const n=Pm(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(zm(this.state,t,n,r))}dropTab(t,n,r){return this.run(Am(this.state,this.mint,t,n,r))}floatTab(t,n){const r=Rm(this.state,this.mint,t,n);return this.run(r.ops),r.paneId}unfloatPane(t,n){this.run(Dm(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(Fm(t,n))}undo(){return this.sequencer.undo()?(this.commit(),!0):!1}redo(){return this.sequencer.redo()?(this.commit(),!0):!1}activeDockPaneId(){return Ri(this.state)}}const dV={x:0,y:0,width:0,height:0},fV={row:!0,column:!0};function Ha(e){return e===null?dV:e.getBoundingClientRect()}function hi(e){const t=Number.parseFloat(e);return Number.isFinite(t)?t:0}function Vm(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 hV(e){const t=e.querySelector("[data-dockkit-tab]");if(t===null)return No.chip;const n=getComputedStyle(t),r=hi(n.minWidth);return r<=0?No.chip:n.boxSizing==="border-box"?r:r+hi(n.paddingLeft)+hi(n.paddingRight)+hi(n.borderLeftWidth)+hi(n.borderRightWidth)}function pV(e){const t=e.querySelector("[data-dockkit-divider]");if(t===null)return No.divider;const{width:n,height:r}=t.getBoundingClientRect(),s=Math.min(n,r);return s>0?s:No.divider}function mV(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:hi(getComputedStyle(r).columnGap))}function gV(e,t=!1){const n={divider:pV(e),chip:hV(e),body:No.body},r=new Map;for(const[s,l]of Vm(e))r.set(s,_m({pane:Ha(l),strip:Ha(l.querySelector("[data-dockkit-strip]")),chipsWidth:Ha(l.querySelector("[data-dockkit-strip-tabs]")).width,fillWidth:Ha(l.querySelector("[data-dockkit-strip-fill]")).width,splitControlWidth:t?mV(l):0},n));return r}function md(e,t){return e.get(t)??fV}function vV(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 wV(e,t){typeof e.setPointerCapture=="function"&&e.setPointerCapture(t)}function xV(e,t,n){wV(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 Bm(e){const t=S.useRef(void 0);return S.useEffect(()=>()=>{t.current?.stop()},[]),(n,r,s)=>{t.current?.end();const l=()=>{t.current=void 0,e()},u=xV(n,r,{move:s.move,up:d=>{l(),s.up(d)},cancel:l});t.current={stop:u,end:()=>{u(),l()}}}}const yV="_split_116sf_17",_V="_splitRow_116sf_24",bV="_splitColumn_116sf_28",CV="_splitCell_116sf_32",kV="_divider_116sf_39",SV="_surface_116sf_137",EV="_tabLayout_116sf_146",jV="_tabCell_116sf_154",IV="_emptyTabHost_116sf_155",MV="_floatingCell_116sf_168",OV="_tabHost_116sf_174",LV="_float_116sf_168",TV="_tabHostHeader_116sf_195",NV="_tabHostBody_116sf_199",PV="_tabLayoutDivider_116sf_204",zV="_pane_116sf_233",AV="_tabStrip_116sf_261",RV="_stripTabs_116sf_280",DV="_stripFill_116sf_317",FV="_stripChrome_116sf_325",$V="_paneBody_116sf_347",HV="_slot_116sf_356",VV="_tabActive_116sf_375",BV="_slotCaret_116sf_375",ZV="_tab_116sf_146",WV="_tabTitle_116sf_418",UV="_floatTitle_116sf_438",qV="_tabClose_116sf_445",GV="_addTab_116sf_488",KV="_tabQuiet_116sf_527",YV="_tabDragging_116sf_544",JV="_iconButton_116sf_550",XV="_menu_116sf_586",QV="_menuItem_116sf_600",eB="_empty_116sf_155",tB="_dockScrim_116sf_638",nB="_dockHint_116sf_640",rB="_dockHintCard_116sf_645",oB="_dockHintLabel_116sf_740",iB="_floatHeader_116sf_819",sB="_dockGlyph_116sf_836",aB="_floatBody_116sf_841",lB="_floatResize_116sf_851",Ie={split:yV,splitRow:_V,splitColumn:bV,splitCell:CV,divider:kV,surface:SV,tabLayout:EV,tabCell:jV,emptyTabHost:IV,floatingCell:MV,tabHost:OV,float:LV,tabHostHeader:TV,tabHostBody:NV,tabLayoutDivider:PV,pane:zV,tabStrip:AV,stripTabs:RV,stripFill:DV,stripChrome:FV,paneBody:$V,slot:HV,tabActive:VV,slotCaret:BV,tab:ZV,tabTitle:WV,floatTitle:UV,tabClose:qV,addTab:GV,tabQuiet:KV,tabDragging:YV,iconButton:JV,menu:XV,menuItem:QV,empty:eB,dockScrim:tB,dockHint:nB,dockHintCard:rB,dockHintLabel:oB,floatHeader:iB,dockGlyph:sB,floatBody:aB,floatResize:lB},O0=4;function cB(e,t){const n=e.getBoundingClientRect(),r=t.offsetWidth,s=n.left+r+O0>window.innerWidth?Math.max(O0,n.right-r):n.left;return{top:n.bottom+O0,left:s}}function uB({labels:e,anchor:t,onClose:n,onDismiss:r,extras:s}){const l=S.useRef(null),[u,d]=S.useState(void 0),p=n!==void 0||S.Children.toArray(s).some(m=>m!=="");return S.useLayoutEffect(()=>{l.current!==null&&d(cB(t,l.current))},[t,p]),S.useEffect(()=>{const m=l.current;if(m===null)return;const g=m.ownerDocument,w=ql(g),x=b=>{if(w.guards(b)||b.defaultPrevented||b.key!=="Escape"||b.ctrlKey||b.altKey||b.metaKey||b.shiftKey||[...g.querySelectorAll(l2)].at(-1)!==m||(b.preventDefault(),b.repeat))return;const I=m.contains(g.activeElement);r(),I&&Ii(t)};g.addEventListener("keydown",x,!0);const y=b=>{b.target instanceof Node&&m.contains(b.target)||r()};return window.addEventListener("pointerdown",y,!0),()=>{w.dispose(),g.removeEventListener("keydown",x,!0),window.removeEventListener("pointerdown",y,!0)}},[t,r,p]),p?gn.createPortal(c.jsxs(fl,{className:Ie.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:Ie.menuItem,"data-dockkit-menu-close":!0,onClick:n,children:e.closeTab}),s]}),document.body):null}function L6(e){e.scrollWidth>e.clientWidth+1?e.dataset.dockkitTabClipped="":delete e.dataset.dockkitTabClipped}function Zm({children:e}){const t=S.useRef(null);return S.useLayoutEffect(()=>{t.current!==null&&L6(t.current)}),S.useLayoutEffect(()=>{const n=t.current;if(n===null||typeof ResizeObserver>"u")return;const r=new ResizeObserver(()=>{L6(n)});return r.observe(n),()=>{r.disconnect()}},[]),c.jsx("span",{ref:t,className:Ie.tabTitle,"data-dockkit-tab-title":!0,children:e})}const dB="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 fB(){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 hB={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 pB({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:dB,fill:"currentColor"}),c.jsx("path",{d:hB[e],fill:"currentColor"})]})}function L0({zone:e,active:t,labels:n}){return c.jsx("div",{className:Ie.dockHint,"data-dockkit-dock-zone":e,"data-dockkit-drop-active":t||void 0,children:c.jsxs("div",{className:Ie.dockHintCard,children:[c.jsx(pB,{zone:e}),c.jsx("span",{className:Ie.dockHintLabel,children:n.dropZone[e]})]})})}function mB(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 gB(e){return e==="Enter"||e===" "}function vB(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 wB(e,t){S.useLayoutEffect(()=>{const n=e.current;if(n===null)return;const r=()=>{const l=vB(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 xB(e,t,n,r){S.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(),d=l.getBoundingClientRect();d.left<u.left?s.scrollLeft+=d.left-u.left-T6:d.right>u.right&&(s.scrollLeft+=d.right-u.right+T6)},[e,t,n,r])}const T6=24;function N6(e,t){switch(t){case"budget":return e.splitPaneDisabled;case"width":return e.splitPaneNarrow}}function Wm({state:e,pane:t,callbacks:n}){const[r,s]=S.useState(void 0),[l]=S.useState(()=>new Map),u=S.useRef(null);wB(u,t.tabs),xB(u,l,t.tabs,t.activeTabId);const d=n.splitBlock(t.id),p=n.dropTarget,m=p!==void 0&&p.kind==="strip"&&p.paneId===t.id?p.index:void 0,g=x=>{e.activePaneId===t.id&&t.activeTabId===x||n.onFocusTab(x)},w=x=>{const y=l.get(x);y!==void 0&&y.focus()};return c.jsxs("div",{className:Ie.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:Ie.stripTabs,role:"presentation","data-dockkit-strip-tabs":t.id,children:[t.tabs.map((x,y)=>{const b=zo(e,x),j=x===t.activeTabId,I=n.canCloseTab(x),P=!I&&t.tabs.length===1;return c.jsxs(S.Fragment,{children:[(y>0||m===y)&&c.jsx("div",{className:xe(Ie.slot,m===y&&Ie.slotCaret),"data-dockkit-caret":m===y?y:void 0}),c.jsxs("div",{role:"tab","aria-selected":j,tabIndex:j?0:-1,className:xe(Ie.tab,j&&Ie.tabActive,P&&Ie.tabQuiet,n.draggingTabId===x&&Ie.tabDragging),"data-dockkit-tab":x,"data-dockkit-tab-quiet":P||void 0,ref:M=>{M===null?l.delete(x):l.set(x,M)},onPointerDown:M=>{M.pointerType==="touch"||M.button===2||n.onTabPressed(x,M)},onClick:M=>{M.stopPropagation(),g(x)},onKeyDown:M=>{if(M.target!==M.currentTarget||M.altKey||M.ctrlKey||M.metaKey||M.shiftKey||M.nativeEvent.isComposing)return;const H=mB(M.key,t.tabs,x);if(H!==void 0){M.preventDefault(),w(H);return}gB(M.key)&&(M.preventDefault(),g(x))},onContextMenu:M=>{M.preventDefault();const H=M.currentTarget;s(z=>z?.tabId===x?void 0:{tabId:x,anchor:H})},children:[c.jsx(Zm,{children:n.renderTabTitle?.(b)??b.title}),I&&c.jsx(qr,{disabled:r!==void 0,label:n.labels.closeTab,shortcutKeys:n.labels.closeTabKeys,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ie.tabClose,"aria-label":n.labels.closeTab,"aria-keyshortcuts":n.labels.closeTabShortcut,"data-dockkit-tab-close":x,onPointerDown:M=>{M.stopPropagation()},onClick:M=>{M.stopPropagation(),n.onCloseTab(x)},children:c.jsx(t2,{size:14})})}),r?.tabId===x&&c.jsx(uB,{labels:n.labels,anchor:r.anchor,onClose:I?()=>{s(void 0),n.onCloseTab(x)}:void 0,onDismiss:()=>{s(void 0)},extras:n.renderTabMenuItems?.(b,()=>{s(void 0)})})]})]},x)}),m===t.tabs.length&&c.jsx("div",{className:xe(Ie.slot,Ie.slotCaret),"data-dockkit-caret":m})]}),n.canAddTab(t.id)&&c.jsx(qr,{label:n.labels.addTab,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ie.addTab,"aria-label":n.labels.addTab,"data-dockkit-add-tab":t.id,onClick:x=>{x.stopPropagation(),n.onAddTab(t.id)},children:c.jsx(J8,{size:14})})}),c.jsx("div",{className:Ie.stripFill,"data-dockkit-strip-fill":!0}),!(n.hideSplitWhenBlocked&&d!==void 0)&&c.jsx(qr,{label:d===void 0?n.labels.splitPane:N6(n.labels,d),shortcutKeys:n.labels.splitPaneKeys,side:"bottom",delayMs:500,children:c.jsx("span",{"data-dockkit-split-control":!0,tabIndex:d===void 0?void 0:0,"aria-label":d===void 0?void 0:N6(n.labels,d),children:c.jsx("button",{type:"button",className:Ie.iconButton,"aria-label":n.labels.splitPane,"aria-keyshortcuts":n.labels.splitPaneShortcut,disabled:d!==void 0,"data-dockkit-split-button":t.id,"data-dockkit-split-blocked":d,onClick:x=>{x.stopPropagation(),n.onSplitPane(t.id)},children:c.jsx(fB,{})})})}),t.id===n.chromePaneId&&n.chrome!==void 0&&c.jsx("div",{className:Ie.stripChrome,"data-dockkit-strip-chrome":!0,onClick:x=>{x.stopPropagation()},children:n.chrome})]})}function Um({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:Ie.dockScrim,"data-dockkit-dock-scrim":!0}),t.horizontalDrops&&r!=="center"?c.jsxs(c.Fragment,{children:[c.jsx(L0,{zone:"left",active:r==="left",labels:t.labels}),c.jsx(L0,{zone:"right",active:r==="right",labels:t.labels})]}):c.jsx(L0,{zone:r,active:!0,labels:t.labels})]})}function qm({state:e,pane:t,callbacks:n}){const r=t.activeTabId===void 0?void 0:zo(e,t.activeTabId);return c.jsxs("section",{className:Ie.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(Wm,{state:e,pane:t,callbacks:n}),c.jsxs("div",{className:Ie.paneBody,children:[r===void 0?c.jsx("p",{className:Ie.empty,children:n.labels.emptyPane}):n.renderTab(r),c.jsx(Um,{pane:t,callbacks:n})]})]})}function Gm({state:e,nodeId:t,callbacks:n,preview:r}){const s=yr(e,t);if(s.kind==="pane")return c.jsx(qm,{state:e,pane:s,callbacks:n});const l=r!==void 0&&r.splitId===s.id?r.sizes:s.sizes;return c.jsx("div",{className:xe(Ie.split,s.axis==="row"?Ie.splitRow:Ie.splitColumn),"data-dockkit-split":s.id,children:s.children.map((u,d)=>c.jsxs(S.Fragment,{children:[d>0&&c.jsx("div",{className:Ie.divider,"data-dockkit-divider":`${s.id}:${d-1}`,onPointerDown:p=>{n.onDividerPressed(s.id,d-1,p)}}),c.jsx("div",{className:Ie.splitCell,"data-dockkit-cell":`${s.id}:${d}`,style:{flexGrow:l[d]},children:c.jsx(Gm,{state:e,nodeId:u,callbacks:n,preview:r})})]},u))})}function P6(e,t,n){const r=t-e.originX,s=n-e.originY;return e.mode==="move"?km(e.rect,r,s):Sm(e.rect,r,s,mm)}function yB(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function _B(e,t){return e.activePaneId===t&&e.floats.at(-1)===t}function Km(e,t){const[n,r]=S.useState(void 0),s=Bm(()=>{r(void 0)}),l=d=>{_B(e,d)||t.focusPane(d)};return{preview:n,raise:l,drag:(d,p,m)=>{m.stopPropagation();const g=document.documentElement,w=g.hasAttribute("data-windows-titlebar"),x=w&&!g.hasAttribute("data-fullscreen")?Number.parseFloat(g.style.getPropertyValue("--dsh-windows-titlebar-height")):0,y=zi(et(e,p)),b={...y,y:Math.max(y.y,w?x+20:0)},j={mode:d,originX:m.clientX,originY:m.clientY,rect:b};s(m.currentTarget,m.pointerId,{move:I=>{r({paneId:p,rect:P6(j,I.clientX,I.clientY)})},up:I=>{const P=P6(j,I.clientX,I.clientY);yB(P,j.rect)?l(p):d==="move"?t.moveFloat(p,P.x,P.y):t.resizeFloat(p,P)}})}}}function Ym({paneId:e,tab:t,labels:n,intents:r,renderTabTitle:s,canCloseTab:l,drag:u}){return c.jsxs("header",{className:xe(Ie.tabStrip,Ie.floatHeader),"data-dockkit-float-grip":e,onPointerDown:d=>{u("move",e,d)},children:[c.jsx("div",{className:xe(Ie.tab,Ie.floatTitle),"data-dockkit-float-title":!0,children:c.jsx(Zm,{children:s?.(t)??t.title})}),c.jsx("div",{className:Ie.stripFill}),c.jsx(qr,{label:n.dockFloat,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ie.iconButton,"aria-label":n.dockFloat,"data-dockkit-float-dock":e,onPointerDown:d=>{d.stopPropagation()},onClick:()=>{r.unfloatPane(e)},children:c.jsx(G8,{className:Ie.dockGlyph})})}),(l?.(t.id)??!0)&&c.jsx(qr,{label:n.closeTab,shortcutKeys:n.closeTabKeys,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ie.iconButton,"aria-label":n.closeTab,"data-dockkit-float-close":e,onPointerDown:d=>{d.stopPropagation()},onClick:()=>{r.closeTab(t.id)},children:c.jsx(Ul,{})})})]})}function bB({state:e,intents:t,labels:n,renderTab:r,renderTabTitle:s,canCloseTab:l}){const{preview:u,raise:d,drag:p}=Km(e,t);return c.jsx(c.Fragment,{children:e.floats.map((m,g)=>{const w=et(e,m),x=zo(e,tm(w)),y=u?.paneId===m?u.rect:void 0,b=y??zi(w);return c.jsxs("div",{className:Ie.float,"data-dockkit-float":m,tabIndex:-1,"data-dockkit-float-active":e.activePaneId===m||void 0,style:{left:b.x,top:`max(var(--dsh-dockkit-float-top, 0px), ${b.y}px)`,width:b.width,height:b.height,zIndex:y===void 0?g+1:e.floats.length+1},onPointerDown:()=>{d(m)},children:[c.jsx(Ym,{paneId:m,tab:x,labels:n,intents:t,renderTabTitle:s,canCloseTab:l,drag:p}),c.jsx("div",{className:Ie.floatBody,children:r(x)}),c.jsx("div",{className:Ie.floatResize,"data-dockkit-float-resize":m,onPointerDown:j=>{p("resize",m,j)}})]},m)})})}function CB({state:e,callbacks:t,intents:n,tab:r,pane:s,column:l,floats:u,focusRequest:d,keepMounted:p,active:m=!0}){const g=s.host==="float",w=g||s.activeTabId===r.id,x=m&&w&&(g||e.expanded),y=p?.(r)??!1,[b,j]=S.useState(x);x&&!b&&j(!0);const I=S.useRef(null),P=S.useRef(null);S.useLayoutEffect(()=>{const W=I.current;W.inert=!x;const V=document.activeElement;!x&&V instanceof HTMLElement&&W.contains(V)&&V.blur();const ee=d.current;if(!x||ee?.tabId!==r.id||(d.current=void 0,V!==null&&V!==document.body&&V!==document.documentElement&&V!==ee.origin))return;[...W.querySelector("[data-dockkit-strip]")?.querySelectorAll("[data-dockkit-tab]")??[]].find(k=>k.dataset.dockkitTab===r.id)?.focus({preventScroll:!0})},[x,r.id,d]),S.useEffect(()=>{const W=P.current,V=()=>{x&&(g?u.raise(s.id):e.activePaneId!==s.id&&t.onFocusPane(s.id))};return W.addEventListener("focus",V,!0),()=>{W.removeEventListener("focus",V,!0)}},[x,g,u,s.id,e.activePaneId,t]);const M=g&&u.preview?.paneId===s.id?u.preview.rect:void 0,H=g?M??zi(s):void 0,z=M===void 0?e.floats.indexOf(s.id)+1:e.floats.length+1;return c.jsx("div",{className:xe(Ie.tabCell,g&&Ie.floatingCell),hidden:!w,"data-dockkit-host":g?"float":"dock","data-dockkit-column":g?void 0:l,style:{gridColumn:g?1:l*2+1,gridRow:1,order:g?z:0},children:c.jsxs("section",{ref:I,tabIndex:-1,className:xe(Ie.tabHost,g?Ie.float:Ie.pane),"aria-hidden":!x||void 0,"data-dockkit-content":r.id,"data-dockkit-pane":!g&&w?s.id:void 0,"data-dockkit-pane-active":!g&&e.activePaneId===s.id||void 0,"data-dockkit-float":g?s.id:void 0,"data-dockkit-float-active":g&&e.activePaneId===s.id||void 0,"data-dockkit-column":g?void 0:l,style:H===void 0?void 0:{left:H.x,top:`max(var(--dsh-dockkit-float-top, 0px), ${H.y}px)`,width:H.width,height:H.height},onPointerDown:()=>{g&&u.raise(s.id)},onClick:()=>{!g&&e.activePaneId!==s.id&&t.onFocusPane(s.id)},children:[c.jsx("div",{className:Ie.tabHostHeader,children:w&&(g?c.jsx(Ym,{paneId:s.id,tab:r,labels:t.labels,intents:n,renderTabTitle:t.renderTabTitle,canCloseTab:t.canCloseTab,drag:u.drag}):c.jsx(Wm,{state:e,pane:s,callbacks:t}))}),c.jsxs("div",{ref:P,className:xe(Ie.tabHostBody,g?Ie.floatBody:Ie.paneBody),children:[b&&(y||m&&w)?t.renderTab(r):null,!g&&c.jsx(Um,{pane:s,callbacks:t})]}),g&&c.jsx("div",{className:Ie.floatResize,"data-dockkit-float-resize":s.id,onPointerDown:W=>{u.drag("resize",s.id,W)}})]})})}function kB(e){const{state:t,callbacks:n,preview:r}=e,s=S.useRef(),l={...n,onFocusTab:w=>{s.current=Hn(t,w).activeTabId===w?void 0:{tabId:w,origin:document.activeElement},n.onFocusTab(w)}},u=yr(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 d=u.kind==="pane"?[u]:u.children.map(w=>et(t,w)),p=u.kind==="split"?r?.splitId===u.id?r.sizes:u.sizes:[1],m=Km(t,e.intents),g=p.map(w=>`minmax(0, ${w}fr)`).join(" 0px ");return c.jsxs("div",{className:Ie.tabLayout,"data-dockkit-split":u.kind==="split"?u.id:void 0,style:{gridTemplateColumns:g},children:[Object.values(t.tabs).sort((w,x)=>w.id.localeCompare(x.id)).map(w=>{const x=Hn(t,w.id);return c.jsx(CB,{...e,callbacks:l,tab:w,pane:x,column:d.findIndex(y=>y.id===x.id),floats:m,focusRequest:s},w.id)}),d.filter(w=>w.tabs.length===0).map(w=>c.jsx("div",{className:Ie.emptyTabHost,"data-dockkit-empty":!0,style:{gridColumn:d.indexOf(w)*2+1,gridRow:1},children:c.jsx(qm,{state:t,pane:w,callbacks:n})},w.id)),u.kind==="split"&&c.jsx("div",{className:xe(Ie.divider,Ie.tabLayoutDivider),"data-dockkit-divider":`${u.id}:0`,style:{gridColumn:2,gridRow:1},onPointerDown:w=>{n.onDividerPressed(u.id,0,w)}})]})}const Va={draggingTabId:void 0,dropTarget:void 0,sizes:void 0},SB=new Map,z6=()=>!0;function A6(e,t,n,r,s,l){for(const[u,d]of Vm(e)){const p=d.getBoundingClientRect();if(!yl(p,t,n))continue;const m=d.querySelector("[data-dockkit-strip]");if(m!==null&&yl(m.getBoundingClientRect(),t,n)){const w=[...m.querySelectorAll("[data-dockkit-tab]")];return{kind:"strip",paneId:u,index:ym(w.map(x=>x.getBoundingClientRect()),t)}}const g=l==="horizontal"?r&&md(s,u).row?t<p.x+p.width/2?"left":"right":"center":xm(p,t,n);if(g!=="center"){const w=md(s,u),x=g==="left"||g==="right"?w.row:w.column;if(!r||!x)return}return{kind:"zone",paneId:u,zone:g}}}function R6(e,t,n,r){const s=(e.axis==="row"?t:n)-e.origin,l=e.extent>0?s/e.extent:0;return L2(Cm(e.sizes,e.index,l),r)}const EB=1e-9;function jB(e,t){return e.length===t.length&&e.every((n,r)=>{const s=t[r];return s!==void 0&&Math.abs(n-s)<EB})}function Jm({state:e,canSplit:t,canAddTab:n,canCloseTab:r,intents:s,labels:l,renderTab:u,renderTabTitle:d,renderTabMenuItems:p,chrome:m,onRoom:g,draw:w,dropZones:x="edges",minPaneFraction:y=M2,hideSplitWhenBlocked:b=!1}){const j=S.useRef(null),[I,P]=S.useState(Va),[M,H]=S.useState(SB),z=Bm(()=>{P(Va)}),W=S.useCallback(G=>{const k=j.current;k!==null&&G(k)},[]),V=S.useCallback(()=>{W(G=>{const k=gV(G,b);H(Y=>vV(Y,k)?Y:k)})},[W,b]);S.useLayoutEffect(()=>{V()}),S.useEffect(()=>{g?.(M)},[M,g]),S.useEffect(()=>{const G=j.current;if(G===null||typeof ResizeObserver>"u")return;const k=new ResizeObserver(()=>{V()});return k.observe(G),()=>{k.disconnect()}},[V]);const ee=G=>t?md(M,G).row?void 0:"width":"budget",U={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:(G,k)=>{W(Y=>{const $=k.clientX,K=k.clientY;let X=!1;z(k.currentTarget,k.pointerId,{move:we=>{if(!X){if(!bm($,K,we.clientX,we.clientY))return;X=!0}P({...Va,draggingTabId:G,dropTarget:A6(Y,we.clientX,we.clientY,t,M,x)})},up:we=>{if(!X)return;const fe=A6(Y,we.clientX,we.clientY,t,M,x);if(fe===void 0){if(yl(Y.getBoundingClientRect(),we.clientX,we.clientY))return;s.floatTab(G,Em(we.clientX,we.clientY,xl));return}fe.kind==="strip"?s.placeTab(G,fe.paneId,fe.index):s.dropTab(G,fe.paneId,fe.zone)}})})},onDividerPressed:(G,k,Y)=>{const $=Y.currentTarget.parentElement;if($===null)return;const K=Jl(e,G),X=$.getBoundingClientRect(),we={index:k,axis:K.axis,origin:K.axis==="row"?Y.clientX:Y.clientY,extent:K.axis==="row"?X.width:X.height,sizes:K.sizes};z(Y.currentTarget,Y.pointerId,{move:fe=>{P({...Va,sizes:{splitId:G,sizes:R6(we,fe.clientX,fe.clientY,y)}})},up:fe=>{const Se=R6(we,fe.clientX,fe.clientY,y);jB(Se,we.sizes)||s.resizeSplit(G,Se)}})},splitBlock:ee,hideSplitWhenBlocked:b,canAddTab:n??z6,canCloseTab:r??z6,dropTarget:I.dropTarget,horizontalDrops:x==="horizontal",draggingTabId:I.draggingTabId,labels:l,renderTab:u,renderTabTitle:d,renderTabMenuItems:p,chromePaneId:im(e),chrome:m};return c.jsx("div",{className:Ie.surface,ref:j,"data-dockkit-surface":!0,"data-dockkit-drop-zones":x,children:w(U,I.sizes)})}function IB(e){return c.jsx(Jm,{...e,draw:(t,n)=>c.jsx(Gm,{state:e.state,nodeId:e.state.rootId,callbacks:t,preview:n})})}function MB(e){return c.jsx(Jm,{...e,draw:(t,n)=>c.jsx(kB,{...e,callbacks:t,preview:n})})}const OB=Object.freeze(Object.defineProperty({__proto__:null,DOCK_EDGE_FRACTION:O2,DOCK_ZONES:aV,DRAG_THRESHOLD:hd,DockController:uV,DockLayout:MB,DockSurface:IB,EMPTY_HISTORY:am,FLOAT_DEFAULT_SIZE:xl,FLOAT_MIN_SIZE:mm,FloatLayer:bB,MAX_DOCK_PANES:pm,MIN_PANE_FRACTION:M2,SPLIT_MINIMUMS:No,Sequencer:hm,activeDockPaneId:Ri,applyOp:Ai,canSplit:ec,canStepBack:j2,canStepForward:I2,clampSizes:L2,containsPoint:yl,createIdMinter:$m,createInitialState:Hm,dividerSizes:Cm,dockPaneCount:gm,dockPaneIds:Ql,findContentTab:Im,findPaneContentTab:jm,findParent:Xl,findTabPane:Hn,floatRectAt:Em,getNode:yr,getPane:et,getSplit:Jl,getTab:zo,halvesFit:_m,insertionIndex:ym,isFocusOp:lm,movedRect:km,passedThreshold:bm,planAddTab:Tm,planDropTab:Am,planDuplicateTab:Pm,planFloatTab:Rm,planOpenContent:Nm,planPlaceTab:zm,planResizeSplit:Fm,planSetExpanded:Mm,planSetMode:Om,planSettle:cV,planSplitPane:Lm,planUnfloatPane:Dm,record:um,recordedOps:cm,replay:iV,resizedRect:Sm,stepBack:dm,stepForward:fm,topRightPaneId:im,zoneAt:vm,zoneInRect:xm,zoneSplit:wm},Symbol.toStringTag,{value:"Module"}));function LB(){return{react:aE,"react/jsx-runtime":Ij,"react-dom":Nj,"react-dom/client":Aj,"@deepseek-ai/cordis":yw,"@deepseek-ai/dsh-client-store":vj,"@deepseek-ai/dsh-client-ui-slots":Vj,"@deepseek-ai/dsh-client-ui-primitives":$H,"@deepseek-ai/dsh-client-ui-dockkit":OB}}const TB="data-window-drag",Ya="data-window-drag-recall",Co=`[${TB}]`,NB=2,D6=["transitionstart","transitionend","animationstart","animationend"];function PB(e){const t=e.document;if(t.documentElement.dataset.platform!=="darwin")return()=>{};const n=e.scheduleFrame??RB,r=e.watchBox??DB;let s=new Map;const l=new Map;let u=!1,d=!1,p,m=0;const g=()=>{t.body.removeAttribute(Ya);const P=Array.from(t.querySelectorAll(Co));y(P);const M=new Map(P.map(z=>[z,zB(z)])),H=P.length!==s.size||P.some(z=>s.get(z)!==M.get(z));if(s=M,H){t.body.setAttribute(Ya,""),m=0,x();return}m!==0&&(m-=1,x())},w=()=>{m=NB,x()},x=()=>{u||(u=!0,p=n(()=>{u=!1,p=void 0,!d&&g()}))},y=P=>{for(const[M,H]of l)P.includes(M)||(H(),l.delete(M));for(const M of P)l.has(M)||l.set(M,r(M,w))},b=P=>P instanceof Element?P.closest(Co)!==null||P.querySelector(Co)!==null:!1,j=P=>{b(P.target)&&w()},I=new MutationObserver(P=>{P.some(M=>AB(M,s.keys()))&&w()});I.observe(t.body,{subtree:!0,childList:!0,attributes:!0,characterData:!0});for(const P of D6)t.addEventListener(P,j,!0);return w(),()=>{d=!0,I.disconnect();for(const P of D6)t.removeEventListener(P,j,!0);p!==void 0&&p();for(const P of l.values())P();l.clear(),s.clear(),t.body.removeAttribute(Ya)}}function zB(e){const t=e.getBoundingClientRect();return`${t.x},${t.y},${t.width},${t.height}`}function AB(e,t){if(e.attributeName===Ya)return!1;for(const r of[...e.addedNodes,...e.removedNodes])if(r instanceof Element&&(r.matches(Co)||r.querySelector(Co)!==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(Co)!==null||n.querySelector(Co)!==null}function RB(e){const t=requestAnimationFrame(e);return()=>{cancelAnimationFrame(t)}}function DB(e,t){if(typeof ResizeObserver!="function")return()=>{};const n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect()}}function FB(e){const t=e?.location?.search;return typeof t!="string"||t.length===0?!1:new URLSearchParams(t).get("extensions")?.toLowerCase()==="off"}class $B{container;seams;page;pwaInstall;ctx;stopDragRecall;nativeExtensions;disposed=!1;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 xj(r)),_j(),Cj(),this.page=new GE(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:LB(),...s?.loadBundle===void 0?{}:{loadBundle:s.loadBundle},...this.seams}),this.manifest=this.modules.manifest;const l=this.container.ownerDocument.defaultView,u=FB(l),{core:d,external:p}=RE(this.manifest),m=this.prefetchImmediateTier(d),g=new rt;if(this.ctx=g,this.pwaInstall!==void 0&&g.provide("pwaInstall",this.pwaInstall),this.page.setTotal(d.plugins.length),await m,await DE({ctx:g,modules:this.modules,manifest:d,onEntryState:(w,x)=>{(t===void 0||x!=="failed")&&this.page.setState(w,x)}}),this.stopDragRecall=PB({document:this.container.ownerDocument}),await kj(g,this.container),this.disposed||u)return;p.length>0&&n.__DSH_BOOT__!==void 0&&this.loadExternalDshExtensions(n.__DSH_BOOT__,p.map(w=>w.id)),this.nativeExtensions=EE({ctx:g,document:this.container.ownerDocument})}catch(n){console.error(n),t!==void 0?t(n):this.page.fail(n instanceof Error?n.message:String(n))}}async dispose(){this.disposed=!0,this.nativeExtensions?.dispose(),this.nativeExtensions=void 0,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(t){await Promise.all(t.plugins.filter(n=>n.immediately).map(n=>this.modules.prefetch(n.id).catch(r=>{})))}loadExternalDshExtensions(t,n){if(this.modules.manifest.rev!==this.manifest.rev)return;const r=new Set(n);this.modules.entries.sync(t).then(()=>{if(this.disposed)return;const s=this.modules.entries.state.getSnapshot().failures.filter(l=>r.has(l.id));for(const l of s)console.warn(`[web-boot] external DSH extension "${l.id}" failed to load; continuing with built-in UI: ${l.message}`)}).catch(s=>{this.disposed||console.warn("[web-boot] external DSH extension loading failed; continuing with built-in UI",s)})}}function HB(e){throw new Error(`web boot: unknown index injection row ${JSON.stringify(e)}`)}async function VB(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:HB(n)}}const Zs=globalThis.dshDesktopBoot,F6=e=>{if(Zs===void 0)throw e;Zs.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 $B(e);if(Zs!==void 0){const n=globalThis.__DSH_BOOT_READY__;if(n===void 0)throw new Error("desktop web: boot readiness is missing");Zs.ready().then(async({injections:r,streamBaseUrl:s})=>{const l=globalThis;l.__DSH_TRANSPORT__={ownsHost:!0,streamBaseUrl:s},await VB(r,u=>new Promise((d,p)=>{const m=document.createElement("script");m.src=u,m.onload=()=>{d()},m.onerror=()=>{p(new Error(`desktop web: failed to load ${u}`))},document.head.append(m)})),n.resolve()}).catch(r=>{n.reject(r)})}t.run(Zs===void 0?void 0:F6)}catch(e){F6(e)}