@vitejs/devtools 0.0.0-alpha.32 → 0.0.0-alpha.34

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 (35) hide show
  1. package/dist/{DockIcon-DC06YRV1.js → DockIcon-LqhTiyo7.js} +11 -14
  2. package/dist/DockStandalone-D15T7P8h.js +82 -0
  3. package/dist/FloatingElements-DiZY-fXn.js +988 -0
  4. package/dist/{ViewBuiltinLogs-BpU8wNYx.js → ViewBuiltinLogs-DAC3EpNy.js} +3 -5
  5. package/dist/{ViewBuiltinTerminals-1w0Jz6t0.js → ViewBuiltinTerminals-CaCzY10v.js} +5 -11
  6. package/dist/cli-commands-B8AbW52w.js +178 -0
  7. package/dist/cli-commands.js +3 -67
  8. package/dist/cli.js +3 -5
  9. package/dist/client/inject.js +40 -19
  10. package/dist/client/standalone/assets/DockStandalone-Be2ebLC6.js +8 -0
  11. package/dist/client/standalone/assets/ViewBuiltinLogs-gqCacjSC.js +1 -0
  12. package/dist/client/standalone/assets/{ViewBuiltinTerminals-BfkQ4Bsj.js → ViewBuiltinTerminals-EMrVQ_he.js} +2 -2
  13. package/dist/client/standalone/assets/_plugin-vue_export-helper-DdUndd8v.js +1 -0
  14. package/dist/client/standalone/assets/index-CkMgpkZF.css +1 -0
  15. package/dist/client/standalone/assets/index-xigFHEkA.js +4 -0
  16. package/dist/client/standalone/index.html +3 -2
  17. package/dist/client/webcomponents.d.ts +20329 -145
  18. package/dist/client/webcomponents.js +79 -985
  19. package/dist/config.js +2 -8
  20. package/dist/dirs.js +1 -3
  21. package/dist/{dist-B1eLoAag.js → dist-CnHQWaMb.js} +11 -50
  22. package/dist/{export-helper-DjM8b2QE.js → export-helper-DOmNQzh6.js} +1 -2
  23. package/dist/index.d.ts +5 -5
  24. package/dist/index.js +2 -3
  25. package/dist/plugins-tIIgS7bh.js +1911 -0
  26. package/dist/popup-CqYAUdYG.js +366 -0
  27. package/dist/utils--qjmgani.js +6 -0
  28. package/dist/{vue.runtime.esm-bundler-CHmRsJSH.js → vue.runtime.esm-bundler-Bou7Nbd4.js} +135 -115
  29. package/package.json +34 -16
  30. package/dist/client/standalone/assets/ViewBuiltinLogs-D_1j1vpl.js +0 -1
  31. package/dist/client/standalone/assets/index-DWcF5wcd.js +0 -2
  32. package/dist/client/standalone/assets/index-DzhHPm4X.css +0 -1
  33. package/dist/docks-BVWse3rL.js +0 -131
  34. package/dist/plugins-CM-4geJK.js +0 -3040
  35. package/dist/standalone-CfUW6ZhV.js +0 -34
@@ -0,0 +1,4 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ViewBuiltinTerminals-EMrVQ_he.js","./_plugin-vue_export-helper-DdUndd8v.js","./ViewBuiltinLogs-gqCacjSC.js"])))=>i.map(i=>d[i]);
2
+ import{A as e,B as t,C as n,D as r,E as i,F as a,G as o,H as s,I as c,J as l,K as u,L as d,M as f,N as p,O as m,P as h,Q as g,R as _,S as ee,T as v,U as y,V as te,W as ne,X as re,Y as b,Z as x,_ as ie,a as S,b as C,c as w,d as ae,f as oe,g as T,h as E,i as se,j as ce,k as le,l as D,m as ue,n as O,o as k,p as A,q as de,r as fe,s as j,t as pe,u as me,v as he,w as ge,x as _e,y as ve,z as M}from"./_plugin-vue_export-helper-DdUndd8v.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var ye=void 0,be=typeof window<`u`&&window.trustedTypes;if(be)try{ye=be.createPolicy(`vue`,{createHTML:e=>e})}catch{}var xe=ye?e=>ye.createHTML(e):e=>e,Se=`http://www.w3.org/2000/svg`,Ce=`http://www.w3.org/1998/Math/MathML`,N=typeof document<`u`?document:null,we=N&&N.createElement(`template`),Te={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?N.createElementNS(Se,e):t===`mathml`?N.createElementNS(Ce,e):n?N.createElement(e,{is:n}):N.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>N.createTextNode(e),createComment:e=>N.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>N.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{we.innerHTML=xe(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=we.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ee=Symbol(`_vtc`);function De(e,t,n){let r=e[Ee];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var P=Symbol(`_vod`),Oe=Symbol(`_vsh`),ke=Symbol(``),Ae=/(?:^|;)\s*display\s*:/;function je(e,t,n){let r=e.style,i=de(n),a=!1;if(n&&!i){if(t)if(de(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Ne(r,t,``)}else for(let e in t)n[e]??Ne(r,e,``);for(let e in n)e===`display`&&(a=!0),Ne(r,e,n[e])}else if(i){if(t!==n){let e=r[ke];e&&(n+=`;`+e),r.cssText=n,a=Ae.test(n)}}else t&&e.removeAttribute(`style`);P in e&&(e[P]=a?r.display:``,e[Oe]&&(r.display=`none`))}var Me=/\s*!important$/;function Ne(e,t,n){if(te(n))n.forEach(n=>Ne(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=Fe(e,t);Me.test(n)?e.setProperty(M(r),n.replace(Me,``),`important`):e[r]=n}}var Pe=[`Webkit`,`Moz`,`ms`],F={};function Fe(e,t){let n=F[t];if(n)return n;let r=a(t);if(r!==`filter`&&r in e)return F[t]=r;r=c(r);for(let n=0;n<Pe.length;n++){let i=Pe[n]+r;if(i in e)return F[t]=i}return t}var Ie=`http://www.w3.org/1999/xlink`;function Le(e,n,r,i,a,o=u(n)){i&&n.startsWith(`xlink:`)?r==null?e.removeAttributeNS(Ie,n.slice(6,n.length)):e.setAttributeNS(Ie,n,r):r==null||o&&!t(r)?e.removeAttribute(n):e.setAttribute(n,o?``:l(r)?String(r):r)}function Re(e,n,r,i,a){if(n===`innerHTML`||n===`textContent`){r!=null&&(e[n]=n===`innerHTML`?xe(r):r);return}let o=e.tagName;if(n===`value`&&o!==`PROGRESS`&&!o.includes(`-`)){let t=o===`OPTION`?e.getAttribute(`value`)||``:e.value,i=r==null?e.type===`checkbox`?`on`:``:String(r);(t!==i||!(`_value`in e))&&(e.value=i),r??e.removeAttribute(n),e._value=r;return}let s=!1;if(r===``||r==null){let i=typeof e[n];i===`boolean`?r=t(r):r==null&&i===`string`?(r=``,s=!0):i===`number`&&(r=0,s=!0)}try{e[n]=r}catch{}s&&e.removeAttribute(a||n)}function ze(e,t,n,r){e.addEventListener(t,n,r)}function Be(e,t,n,r){e.removeEventListener(t,n,r)}var Ve=Symbol(`_vei`);function He(e,t,n,r,i=null){let a=e[Ve]||(e[Ve]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=I(t);r?ze(e,n,a[t]=qe(r,i),s):o&&(Be(e,n,o,s),a[t]=void 0)}}var Ue=/(?:Once|Passive|Capture)$/;function I(e){let t;if(Ue.test(e)){t={};let n;for(;n=e.match(Ue);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):M(e.slice(2)),t]}var We=0,Ge=Promise.resolve(),Ke=()=>We||=(Ge.then(()=>We=0),Date.now());function qe(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;se(Je(e,n.value),t,5,[e])};return n.value=e,n.attached=Ke(),n}function Je(e,t){if(te(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}var Ye=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Xe=(e,t,n,r,i,o)=>{let s=i===`svg`;t===`class`?De(e,r,s):t===`style`?je(e,n,r):ne(t)?y(t)||He(e,t,n,r,o):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):Ze(e,t,r,s))?(Re(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&Le(e,t,r,s,o,t!==`value`)):e._isVueCE&&(Qe(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!de(r)))?Re(e,a(t),r,o,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),Le(e,t,r,s))};function Ze(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&Ye(t)&&s(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return Ye(t)&&de(n)?!1:t in e}function Qe(e,t){let n=e._def.props;if(!n)return!1;let r=a(t);return Array.isArray(n)?n.some(e=>a(e)===r):Object.keys(n).some(e=>a(e)===r)}var $e={};function et(e,t,n){let r=E(e,t);o(r)&&(r=d({},r,t));class i extends nt{constructor(e){super(r,e,n)}}return i.def=r,i}var tt=typeof HTMLElement<`u`?HTMLElement:class{},nt=class e extends tt{constructor(e,t={},n=lt){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==lt?this._root=this.shadowRoot:e.shadowRoot===!1?this._root=this:(this.attachShadow(d({},e.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t&&=t.assignedSlot||t.parentNode||t.host;)if(t instanceof e){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,ie(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});let e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;let{props:n,styles:r}=e,i;if(n&&!te(n))for(let e in n){let t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=g(this._props[e])),(i||=Object.create(null))[a(e)]=!0)}this._numberProps=i,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let t=this._instance&&this._instance.exposed;if(t)for(let e in t)_(this,e)||Object.defineProperty(this,e,{get:()=>h(t[e])})}_resolveProps(e){let{props:t}=e,n=te(t)?t:Object.keys(t||{});for(let e of Object.keys(this))e[0]!==`_`&&n.includes(e)&&this._setProp(e,this[e]);for(let e of n.map(a))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith(`data-v-`))return;let t=this.hasAttribute(e),n=t?this.getAttribute(e):$e,r=a(e);t&&this._numberProps&&this._numberProps[r]&&(n=g(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===$e?delete this._props[e]:(this._props[e]=t,e===`key`&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){let n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),t===!0?this.setAttribute(M(e),``):typeof t==`string`||typeof t==`number`?this.setAttribute(M(e),t+``):t||this.removeAttribute(M(e)),n&&n.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),ct(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let t=A(this._def,d(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,o(t[0])?d({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),M(e)!==e&&t(M(e),n)},this._setParent()}),t}_applyStyles(e,t,n){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let r=this._nonce,i=this.shadowRoot,a=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i),o=null;for(let s=e.length-1;s>=0;s--){let c=document.createElement(`style`);r&&c.setAttribute(`nonce`,r),c.textContent=e[s],i.insertBefore(c,o||a),o=c,s===0&&(n||this._styleAnchors.set(this._def,c),t&&this._styleAnchors.set(t,c))}}_getStyleAnchor(e){if(!e)return null;let t=this._styleAnchors.get(e);return t&&t.parentNode===this.shadowRoot?t:(t&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){let e=this._slots={},t;for(;t=this.firstChild;){let n=t.nodeType===1&&t.getAttribute(`slot`)||`default`;(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){let r=e[n],i=r.getAttribute(`name`)||`default`,a=this._slots[i],o=r.parentNode;if(a)for(let e of a){if(t&&e.nodeType===1){let n=t+`-s`,r=document.createTreeWalker(e,1);e.setAttribute(n,``);let i;for(;i=r.nextNode();)i.setAttribute(n,``)}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){let e=[this];this._teleportTargets&&e.push(...this._teleportTargets);let t=new Set;for(let n of e){let e=n.querySelectorAll(`slot`);for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e,t){this._applyStyles(e.styles,e,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}},rt={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},it=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=M(n.key);if(t.some(e=>e===r||rt[e]===r))return e(n)}))},at=d({patchProp:Xe},Te),ot;function st(){return ot||=me(at)}var ct=((...e)=>{st().render(...e)}),lt=((...e)=>{let t=st().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=dt(e);if(!r)return;let i=t._component;!s(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,ut(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function ut(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function dt(e){return de(e)?document.querySelector(e):e}var ft=`/.devtools/`,pt=`.connection.json`,mt=`.rpc-dump/index.json`,ht=`.client-imports.js`,gt=`/.devtools-client-imports.js`,_t=()=>({docksHidden:[],docksCategoriesHidden:[],docksPinned:[],docksCustomOrder:{},showIframeAddressBar:!1});function vt(){let e={};function t(t,...n){let r=e[t]||[];for(let e=0,t=r.length;e<t;e++){let t=r[e];t&&t(...n)}}function n(n,...r){t(n,...r),delete e[n]}function r(t,n){return(e[t]||=[]).push(n),()=>{e[t]=e[t]?.filter(e=>n!==e)}}function i(e,t){let n=r(e,((...e)=>(n(),t(...e))));return n}return{_listeners:e,emit:t,emitOnce:n,on:r,once:i}}var yt=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function bt(e=21){let t=``,n=e;for(;n--;)t+=yt[Math.random()*64|0];return t}var xt=Symbol.for(`immer-nothing`),St=Symbol.for(`immer-draftable`),L=Symbol.for(`immer-state`);function R(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var z=Object,Ct=z.getPrototypeOf,wt=`constructor`,Tt=`prototype`,Et=`configurable`,Dt=`enumerable`,Ot=`writable`,kt=`value`,At=e=>!!e&&!!e[L];function jt(e){return e?Pt(e)||Vt(e)||!!e[St]||!!e[wt]?.[St]||Ht(e)||Ut(e):!1}var Mt=z[Tt][wt].toString(),Nt=new WeakMap;function Pt(e){if(!e||!Wt(e))return!1;let t=Ct(e);if(t===null||t===z[Tt])return!0;let n=z.hasOwnProperty.call(t,wt)&&t[wt];if(n===Object)return!0;if(!Gt(n))return!1;let r=Nt.get(n);return r===void 0&&(r=Function.toString.call(n),Nt.set(n,r)),r===Mt}function Ft(e,t,n=!0){It(e)===0?(n?Reflect.ownKeys(e):z.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function It(e){let t=e[L];return t?t.type_:Vt(e)?1:Ht(e)?2:Ut(e)?3:0}var Lt=(e,t,n=It(e))=>n===2?e.has(t):z[Tt].hasOwnProperty.call(e,t),Rt=(e,t,n=It(e))=>n===2?e.get(t):e[t],zt=(e,t,n,r=It(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function Bt(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Vt=Array.isArray,Ht=e=>e instanceof Map,Ut=e=>e instanceof Set,Wt=e=>typeof e==`object`,Gt=e=>typeof e==`function`,Kt=e=>typeof e==`boolean`;function qt(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Jt=e=>Wt(e)?e?.[L]:null,Yt=e=>e.copy_||e.base_,Xt=e=>e.modified_?e.copy_:e.base_;function Zt(e,t){if(Ht(e))return new Map(e);if(Ut(e))return new Set(e);if(Vt(e))return Array[Tt].slice.call(e);let n=Pt(e);if(t===!0||t===`class_only`&&!n){let t=z.getOwnPropertyDescriptors(e);delete t[L];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[Ot]===!1&&(a[Ot]=!0,a[Et]=!0),(a.get||a.set)&&(t[i]={[Et]:!0,[Ot]:!0,[Dt]:a[Dt],[kt]:e[i]})}return z.create(Ct(e),t)}else{let t=Ct(e);if(t!==null&&n)return{...e};let r=z.create(t);return z.assign(r,e)}}function Qt(e,t=!1){return tn(e)||At(e)||!jt(e)?e:(It(e)>1&&z.defineProperties(e,{set:en,add:en,clear:en,delete:en}),z.freeze(e),t&&Ft(e,(e,t)=>{Qt(t,!0)},!1),e)}function $t(){R(2)}var en={[kt]:$t};function tn(e){return e===null||!Wt(e)?!0:z.isFrozen(e)}var nn=`MapSet`,rn=`Patches`,an=`ArrayMethods`,on={};function sn(e){let t=on[e];return t||R(0,e),t}var cn=e=>!!on[e];function ln(e,t){on[e]||(on[e]=t)}var un,dn=()=>un,fn=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:cn(nn)?sn(nn):void 0,arrayMethodsPlugin_:cn(an)?sn(an):void 0});function pn(e,t){t&&(e.patchPlugin_=sn(rn),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function mn(e){hn(e),e.drafts_.forEach(_n),e.drafts_=null}function hn(e){e===un&&(un=e.parent_)}var gn=e=>un=fn(un,e);function _n(e){let t=e[L];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function vn(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[L].modified_&&(mn(t),R(4)),jt(e)&&(e=yn(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[L].base_,e,t)}else e=yn(t,n);return bn(t,e,!0),mn(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===xt?void 0:e}function yn(e,t){if(tn(t))return t;let n=t[L];if(!n)return On(t,e.handledSet_,e);if(!Sn(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);En(n,e)}return n.copy_}function bn(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Qt(t,n)}function xn(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Sn=(e,t)=>e.scope_===t,Cn=[];function wn(e,t,n,r){let i=Yt(e),a=e.type_;if(r!==void 0&&Rt(i,r,a)===t){zt(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Ft(i,(e,n)=>{if(At(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??Cn;for(let e of o)zt(i,e,n,a)}function Tn(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!Sn(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=Xt(i);wn(e,i.draft_??i,a,n),En(i,r)})}function En(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}xn(e)}}function Dn(e,t,n){let{scope_:r}=e;if(At(n)){let i=n[L];Sn(i,r)&&i.callbacks_.push(function(){In(e),wn(e,n,Xt(i),t)})}else jt(n)&&e.callbacks_.push(function(){let i=Yt(e);e.type_===3?i.has(n)&&On(n,r.handledSet_,r):Rt(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&On(Rt(e.copy_,t,e.type_),r.handledSet_,r)})}function On(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||At(e)||t.has(e)||!jt(e)||tn(e)?e:(t.add(e),Ft(e,(r,i)=>{if(At(i)){let t=i[L];Sn(t,n)&&(zt(e,r,Xt(t),e.type_),xn(t))}else jt(i)&&On(i,t,n)}),e)}function kn(e,t){let n=Vt(e),r={type_:n?1:0,scope_:t?t.scope_:dn(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=An;n&&(i=[r],a=jn);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var An={get(e,t){if(t===L)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=Yt(e);if(!Lt(i,t,e.type_))return Nn(e,i,t);let a=i[t];if(e.finalized_||!jt(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&qt(t))return a;if(a===Mn(e.base_,t)){In(e);let n=e.type_===1?+t:t,r=Rn(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in Yt(e)},ownKeys(e){return Reflect.ownKeys(Yt(e))},set(e,t,n){let r=Pn(Yt(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=Mn(Yt(e),t),i=r?.[L];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(Bt(n,r)&&(n!==void 0||Lt(e.base_,t,e.type_)))return!0;In(e),Fn(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),Dn(e,t,n),!0)},deleteProperty(e,t){return In(e),Mn(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Fn(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=Yt(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[Ot]:!0,[Et]:e.type_!==1||t!==`length`,[Dt]:r[Dt],[kt]:n[t]}},defineProperty(){R(11)},getPrototypeOf(e){return Ct(e.base_)},setPrototypeOf(){R(12)}},jn={};for(let e in An){let t=An[e];jn[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}jn.deleteProperty=function(e,t){return jn.set.call(this,e,t,void 0)},jn.set=function(e,t,n){return An.set.call(this,e[0],t,n,e[0])};function Mn(e,t){let n=e[L];return(n?Yt(n):e)[t]}function Nn(e,t,n){let r=Pn(t,n);return r?kt in r?r[kt]:r.get?.call(e.draft_):void 0}function Pn(e,t){if(!(t in e))return;let n=Ct(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Ct(n)}}function Fn(e){e.modified_||(e.modified_=!0,e.parent_&&Fn(e.parent_))}function In(e){e.copy_||=(e.assigned_=new Map,Zt(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Ln=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(Gt(e)&&!Gt(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}Gt(t)||R(6),n!==void 0&&!Gt(n)&&R(7);let r;if(jt(e)){let i=gn(this),a=Rn(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?mn(i):hn(i)}return pn(i,n),vn(r,i)}else if(!e||!Wt(e)){if(r=t(e),r===void 0&&(r=e),r===xt&&(r=void 0),this.autoFreeze_&&Qt(r,!0),n){let t=[],i=[];sn(rn).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}else R(1,e)},this.produceWithPatches=(e,t)=>{if(Gt(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},Kt(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Kt(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Kt(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){jt(e)||R(8),At(e)&&(e=zn(e));let t=gn(this),n=Rn(t,e,void 0);return n[L].isManual_=!0,hn(t),n}finishDraft(e,t){let n=e&&e[L];(!n||!n.isManual_)&&R(9);let{scope_:r}=n;return pn(r,t),vn(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--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=sn(rn).applyPatches_;return At(e)?r(e,t):this.produce(e,e=>r(e,t))}};function Rn(e,t,n,r){let[i,a]=Ht(t)?sn(nn).proxyMap_(t,n):Ut(t)?sn(nn).proxySet_(t,n):kn(t,n);return(n?.scope_??dn()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?Tn(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function zn(e){return At(e)||R(10,e),Bn(e)}function Bn(e){if(!jt(e)||tn(e))return e;let t=e[L],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Zt(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Zt(e,!0);return Ft(n,(e,t)=>{zt(n,e,Bn(t))},r),t&&(t.finalized_=!1),n}function Vn(){function e(n,r=[]){if(n.key_!==void 0){let e=n.parent_.copy_??n.parent_.base_,t=Jt(Rt(e,n.key_)),i=Rt(e,n.key_);if(i===void 0||i!==n.draft_&&i!==n.base_&&i!==n.copy_||t!=null&&t.base_!==n.base_)return null;let a=n.parent_.type_===3,o;if(a){let e=n.parent_;o=Array.from(e.drafts_.keys()).indexOf(n.key_)}else o=n.key_;if(!(a&&e.size>o||Lt(e,o)))return null;r.push(o)}if(n.parent_)return e(n.parent_,r);r.reverse();try{t(n.copy_,r)}catch{return null}return r}function t(e,t){let n=e;for(let e=0;e<t.length-1;e++){let r=t[e];if(n=Rt(n,r),!Wt(n)||n===null)throw Error(`Cannot resolve path at '${t.join(`/`)}'`)}return n}let n=`replace`,r=`remove`;function i(e,t,n){if(e.scope_.processedForPatches_.has(e))return;e.scope_.processedForPatches_.add(e);let{patches_:r,inversePatches_:i}=n;switch(e.type_){case 0:case 2:return o(e,t,r,i);case 1:return a(e,t,r,i);case 3:return s(e,t,r,i)}}function a(e,t,i,a){let{base_:o,assigned_:s}=e,c=e.copy_;c.length<o.length&&([o,c]=[c,o],[i,a]=[a,i]);let l=e.allIndicesReassigned_===!0;for(let e=0;e<o.length;e++){let r=c[e],u=o[e];if((l||s?.get(e.toString()))&&r!==u){let o=r?.[L];if(o&&o.modified_)continue;let s=t.concat([e]);i.push({op:n,path:s,value:d(r)}),a.push({op:n,path:s,value:d(u)})}}for(let e=o.length;e<c.length;e++){let n=t.concat([e]);i.push({op:`add`,path:n,value:d(c[e])})}for(let e=c.length-1;o.length<=e;--e){let n=t.concat([e]);a.push({op:r,path:n})}}function o(e,t,i,a){let{base_:o,copy_:s,type_:c}=e;Ft(e.assigned_,(e,l)=>{let u=Rt(o,e,c),f=Rt(s,e,c),p=l?Lt(o,e)?n:`add`:r;if(u===f&&p===n)return;let m=t.concat(e);i.push(p===r?{op:p,path:m}:{op:p,path:m,value:d(f)}),a.push(p===`add`?{op:r,path:m}:p===r?{op:`add`,path:m,value:d(u)}:{op:n,path:m,value:d(u)})})}function s(e,t,n,i){let{base_:a,copy_:o}=e,s=0;a.forEach(e=>{if(!o.has(e)){let a=t.concat([s]);n.push({op:r,path:a,value:e}),i.unshift({op:`add`,path:a,value:e})}s++}),s=0,o.forEach(e=>{if(!a.has(e)){let a=t.concat([s]);n.push({op:`add`,path:a,value:e}),i.unshift({op:r,path:a,value:e})}s++})}function c(e,t,r){let{patches_:i,inversePatches_:a}=r;i.push({op:n,path:[],value:t===xt?void 0:t}),a.push({op:n,path:[],value:e})}function l(e,t){return t.forEach(t=>{let{path:i,op:a}=t,o=e;for(let e=0;e<i.length-1;e++){let t=It(o),n=i[e];typeof n!=`string`&&typeof n!=`number`&&(n=``+n),(t===0||t===1)&&(n===`__proto__`||n===wt)&&R(19),Gt(o)&&n===Tt&&R(19),o=Rt(o,n),Wt(o)||R(18,i.join(`/`))}let s=It(o),c=u(t.value),l=i[i.length-1];switch(a){case n:switch(s){case 2:return o.set(l,c);case 3:R(16);default:return o[l]=c}case`add`:switch(s){case 1:return l===`-`?o.push(c):o.splice(l,0,c);case 2:return o.set(l,c);case 3:return o.add(c);default:return o[l]=c}case r:switch(s){case 1:return o.splice(l,1);case 2:return o.delete(l);case 3:return o.delete(t.value);default:return delete o[l]}default:R(17,a)}}),e}function u(e){if(!jt(e))return e;if(Vt(e))return e.map(u);if(Ht(e))return new Map(Array.from(e.entries()).map(([e,t])=>[e,u(t)]));if(Ut(e))return new Set(Array.from(e).map(u));let t=Object.create(Ct(e));for(let n in e)t[n]=u(e[n]);return Lt(e,St)&&(t[St]=e[St]),t}function d(e){return At(e)?u(e):e}ln(rn,{applyPatches_:l,generatePatches_:i,generateReplacementPatches_:c,getPath:e})}var Hn=new Ln,Un=Hn.produce,Wn=Hn.produceWithPatches.bind(Hn),Gn=Hn.applyPatches.bind(Hn);function Kn(e){let{enablePatches:t=!1}=e,n=vt(),r=e.initialValue,i=new Set;return{on:n.on,value:()=>r,patch:(e,t=bt())=>{i.has(t)||(Vn(),r=Gn(r,e),i.add(t),n.emit(`updated`,r,void 0,t))},mutate:(e,a=bt())=>{if(!i.has(a))if(i.add(a),t){let[t,i]=Wn(r,e);r=t,n.emit(`updated`,r,i,a)}else r=Un(r,e),n.emit(`updated`,r,void 0,a)},syncIds:i}}async function qn(e,t){return e.__resolved?e.__resolved:e.setup?(e.__promise??=Promise.resolve(e.setup(t)).then(t=>(e.__resolved=t,e.__promise=void 0,t)),e.__resolved??=await e.__promise):{}}async function Jn(e,t){if(e.handler)return e.handler;let n=await qn(e,t);if(!n.handler)throw Error(`[devtools-rpc] Either handler or setup function must be provided for RPC function "${e.name}"`);return n.handler}var Yn=class{definitions=new Map;functions;_onChanged=[];constructor(e){this.context=e;let t=this.definitions,n=this;this.functions=new Proxy({},{get(e,r){let i=t.get(r);if(i)return Jn(i,n.context)},has(e,n){return t.has(n)},getOwnPropertyDescriptor(e,n){return{value:t.get(n)?.handler,configurable:!0,enumerable:!0}},ownKeys(){return Array.from(t.keys())}})}register(e,t=!1){if(this.definitions.has(e.name)&&!t)throw Error(`RPC function "${e.name}" is already registered`);this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}update(e,t=!1){if(!this.definitions.has(e.name)&&!t)throw Error(`RPC function "${e.name}" is not registered. Use register() to add new functions.`);this.definitions.set(e.name,e),this._onChanged.forEach(t=>t(e.name))}onChanged(e){return this._onChanged.push(e),()=>{let t=this._onChanged.indexOf(e);t!==-1&&this._onChanged.splice(t,1)}}async getHandler(e){return await Jn(this.definitions.get(e),this.context)}getSchema(e){let t=this.definitions.get(e);if(!t)throw Error(`RPC function "${String(e)}" is not registered`);return{args:t.args,returns:t.returns}}has(e){return this.definitions.has(e)}get(e){return this.definitions.get(e)}list(){return Array.from(this.definitions.keys())}},Xn=`q`,Zn=`s`;function Qn(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var $n=Math.random.bind(Math),er=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`;function tr(e=21){let t=``,n=e;for(;n--;)t+=er[$n()*64|0];return t}var nr=6e4,rr=e=>e,ir=rr,{clearTimeout:ar,setTimeout:or}=globalThis;function sr(e,t){let{post:n,on:r,off:i=()=>{},eventNames:a=[],serialize:o=rr,deserialize:s=ir,resolver:c,bind:l=`rpc`,timeout:u=nr,proxify:d=!0}=t,f=!1,p=new Map,m,h;async function g(e,r,i,a){if(f)throw Error(`[birpc] rpc is closed, cannot call "${e}"`);let s={m:e,a:r,t:Xn};a&&(s.o=!0);let c=async e=>n(o(e));if(i){await c(s);return}if(m)try{await m}finally{m=void 0}let{promise:l,resolve:d,reject:g}=Qn(),_=tr();s.i=_;let ee;async function v(n=s){return u>=0&&(ee=or(()=>{try{if(t.onTimeoutError?.call(h,e,r)!==!0)throw Error(`[birpc] timeout on calling "${e}"`)}catch(e){g(e)}p.delete(_)},u),typeof ee==`object`&&(ee=ee.unref?.())),p.set(_,{resolve:d,reject:g,timeoutId:ee,method:e}),await c(n),l}try{t.onRequest?await t.onRequest.call(h,s,v,d):await v()}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}finally{ar(ee),p.delete(_)}return l}let _={$call:(e,...t)=>g(e,t,!1),$callOptional:(e,...t)=>g(e,t,!1,!0),$callEvent:(e,...t)=>g(e,t,!0),$callRaw:e=>g(e.method,e.args,e.event,e.optional),$rejectPendingCalls:v,get $closed(){return f},get $meta(){return t.meta},$close:ee,$functions:e};h=d?new Proxy({},{get(t,n){if(Object.prototype.hasOwnProperty.call(_,n))return _[n];if(n===`then`&&!a.includes(`then`)&&!(`then`in e))return;let r=(...e)=>g(n,e,!0);if(a.includes(n))return r.asEvent=r,r;let i=(...e)=>g(n,e,!1);return i.asEvent=r,i}}):_;function ee(e){f=!0,p.forEach(({reject:t,method:n})=>{let r=Error(`[birpc] rpc is closed, cannot call "${n}"`);if(e)return e.cause??=r,t(e);t(r)}),p.clear(),i(y)}function v(e){let t=Array.from(p.values()).map(({method:t,reject:n})=>e?e({method:t,reject:n}):n(Error(`[birpc]: rejected pending call "${t}".`)));return p.clear(),t}async function y(r,...i){let a;try{a=s(r)}catch(e){if(t.onGeneralError?.call(h,e)!==!0)throw e;return}if(a.t===Xn){let{m:r,a:s,o:u}=a,d,f,p=await(c?c.call(h,r,e[r]):e[r]);if(u&&(p||=()=>void 0),!p)f=Error(`[birpc] function "${r}" not found`);else try{d=await p.apply(l===`rpc`?h:e,s)}catch(e){f=e}if(a.i){if(f&&t.onFunctionError&&t.onFunctionError.call(h,f,r,s)===!0)return;if(!f)try{await n(o({t:Zn,i:a.i,r:d}),...i);return}catch(e){if(f=e,t.onGeneralError?.call(h,e,r,s)!==!0)throw e}try{await n(o({t:Zn,i:a.i,e:f}),...i)}catch(e){if(t.onGeneralError?.call(h,e,r,s)!==!0)throw e}}}else{let{i:e,r:t,e:n}=a,r=p.get(e);r&&(ar(r.timeoutId),n?r.reject(n):r.resolve(t)),p.delete(e)}}return m=r(y),h}function cr(e,t){let{preset:n,rpcOptions:r={}}=t;return sr(e,{...n,timeout:-1,...r,proxify:!1})}function lr(e){return e}var ur=-1,dr=0,fr=1,pr=2,mr=3,hr=4,gr=5,_r=6,vr=7,yr=8,br=typeof self==`object`?self:globalThis,xr=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case dr:case ur:return n(o,i);case fr:{let e=n([],i);for(let t of o)e.push(r(t));return e}case pr:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case mr:return n(new Date(o),i);case hr:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case gr:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case _r:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case vr:{let{name:e,message:t}=o;return n(new br[e](t),i)}case yr:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i)}return n(new br[a](o),i)};return r},Sr=e=>xr(new Map,e)(0),Cr=``,{toString:wr}={},{keys:Tr}=Object,Er=e=>{let t=typeof e;if(t!==`object`||!e)return[dr,t];let n=wr.call(e).slice(8,-1);switch(n){case`Array`:return[fr,Cr];case`Object`:return[pr,Cr];case`Date`:return[mr,Cr];case`RegExp`:return[hr,Cr];case`Map`:return[gr,Cr];case`Set`:return[_r,Cr]}return n.includes(`Array`)?[fr,n]:n.includes(`Error`)?[vr,n]:[pr,n]},Dr=([e,t])=>e===dr&&(t===`function`||t===`symbol`),Or=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=Er(r);switch(o){case dr:{let t=r;switch(s){case`bigint`:o=yr,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([ur],r)}return i([o,t],r)}case fr:{if(s)return i([s,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case pr:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of Tr(r))(e||!Dr(Er(r[t])))&&n.push([a(t),a(r[t])]);return c}case mr:return i([o,r.toISOString()],r);case hr:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case gr:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(Dr(Er(n))||Dr(Er(i))))&&t.push([a(n),a(i)]);return n}case _r:{let t=[],n=i([o,t],r);for(let n of r)(e||!Dr(Er(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},kr=(e,{json:t,lossy:n}={})=>{let r=[];return Or(!(t||n),!!t,new Map,r)(e),r},{parse:Ar,stringify:jr}=JSON,Mr={json:!0,lossy:!0},Nr=e=>Sr(Ar(e)),Pr=e=>jr(kr(e,Mr)),Fr=Nr;function Ir(){}var Lr=lr(e=>{let t=e.url;e.authId&&(t=`${t}?vite_devtools_auth_id=${encodeURIComponent(e.authId)}`);let n=new WebSocket(t),{onConnected:r=Ir,onError:i=Ir,onDisconnected:a=Ir}=e;return n.addEventListener(`open`,e=>{r(e)}),n.addEventListener(`error`,e=>{i(e instanceof Error?e:Error(e.type))}),n.addEventListener(`close`,e=>{a(e)}),{on:e=>{n.addEventListener(`message`,t=>{e(t.data)})},post:e=>{if(n.readyState===WebSocket.OPEN)n.send(e);else{function t(){n.send(e),n.removeEventListener(`open`,t)}n.addEventListener(`open`,t)}},serialize:Pr,deserialize:Fr}});function Rr(e){let t=new Map,n=e.connectionMeta.backend===`static`;e.client.register({name:`devtoolskit:internal:rpc:client-state:updated`,type:`event`,handler:(e,n,r)=>{let i=t.get(e);!i||i.syncIds.has(r)||i.mutate(()=>n,r)}}),e.client.register({name:`devtoolskit:internal:rpc:client-state:patch`,type:`event`,handler:(e,n,r)=>{let i=t.get(e);!i||i.syncIds.has(r)||i.patch(n,r)}});function r(t,r){let i=[];return i.push(r.on(`updated`,(r,i,a)=>{n||(i?e.callEvent(`devtoolskit:internal:rpc:server-state:patch`,t,i,a):e.callEvent(`devtoolskit:internal:rpc:server-state:set`,t,r,a))})),()=>{for(let e of i)e()}}return{keys:()=>Array.from(t.keys()),get:async(i,a)=>{if(t.has(i))return t.get(i);let o=Kn({initialValue:a?.initialValue,enablePatches:!1});async function s(){if(n||e.callEvent(`devtoolskit:internal:rpc:server-state:subscribe`,i),a?.initialValue!==void 0)return t.set(i,o),e.call(`devtoolskit:internal:rpc:server-state:get`,i).then(e=>{o.mutate(()=>e)}).catch(e=>{console.error(`Error getting server state`,e)}),r(i,o),o;{let n=await e.call(`devtoolskit:internal:rpc:server-state:get`,i);return o.mutate(()=>n),t.set(i,o),r(i,o),o}}return new Promise(t=>{e.isTrusted?s().then(t):(t(o),e.events.on(`rpc:is-trusted:updated`,e=>{e&&s()}))})}}}function zr(e){return typeof e==`string`?`'${e}'`:new Br().serialize(e)}var Br=function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?e.localeCompare(t):n===`number`&&r===`number`?e-t:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}return this.serializeObjectEntries(r,Object.entries(e))}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t?.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e}(),Vr=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Hr=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ur=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`,Wr=[],Gr=class{_data=new Kr;_hash=new Kr([...Vr]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);let t=this._nDataBytes*8,n=this._data.sigBytes*8;return this._data.words[n>>>5]|=128<<24-n%32,this._data.words[(n+64>>>9<<4)+14]=Math.floor(t/4294967296),this._data.words[(n+64>>>9<<4)+15]=t,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,t){let n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7];for(let n=0;n<64;n++){if(n<16)Wr[n]=e[t+n]|0;else{let e=Wr[n-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,r=Wr[n-2],i=(r<<15|r>>>17)^(r<<13|r>>>19)^r>>>10;Wr[n]=t+Wr[n-7]+i+Wr[n-16]}let d=s&c^~s&l,f=r&i^r&a^i&a,p=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),m=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),h=u+m+d+Hr[n]+Wr[n],g=p+f;u=l,l=c,c=s,s=o+h|0,o=a,a=i,i=r,r=h+g|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+u|0}_append(e){typeof e==`string`&&(e=Kr.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let t,n=this._data.sigBytes/64;n=e?Math.ceil(n):Math.max((n|0)-this._minBufferSize,0);let r=n*16,i=Math.min(r*4,this._data.sigBytes);if(r){for(let e=0;e<r;e+=16)this._doProcessBlock(this._data.words,e);t=this._data.words.splice(0,r),this._data.sigBytes-=i}return new Kr(t,i)}},Kr=class e{words;sigBytes;constructor(e,t){e=this.words=e||[],this.sigBytes=t===void 0?e.length*4:t}static fromUtf8(t){let n=unescape(encodeURIComponent(t)),r=n.length,i=[];for(let e=0;e<r;e++)i[e>>>2]|=(n.charCodeAt(e)&255)<<24-e%4*8;return new e(i,r)}toBase64(){let e=[];for(let t=0;t<this.sigBytes;t+=3){let n=this.words[t>>>2]>>>24-t%4*8&255,r=this.words[t+1>>>2]>>>24-(t+1)%4*8&255,i=this.words[t+2>>>2]>>>24-(t+2)%4*8&255,a=n<<16|r<<8|i;for(let n=0;n<4&&t*8+n*6<this.sigBytes*8;n++)e.push(Ur.charAt(a>>>6*(3-n)&63))}return e.join(``)}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){let n=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=n<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];this.sigBytes+=e.sigBytes}};function qr(e){return new Gr().finalize(e).toBase64()}function Jr(e){return qr(zr(e))}function Yr(e){return typeof e==`object`&&!!e&&e.type===`static`&&typeof e.path==`string`}function Xr(e){return typeof e==`object`&&!!e&&e.type===`query`&&typeof e.records==`object`&&e.records!==null}function Zr(e){return typeof e==`object`&&!!e&&(`output`in e||`error`in e)}function Qr(e){if(e.error){let t=Error(e.error.message);throw t.name=e.error.name,t}return e.output}function $r(e,t){let n=new Map,r=new Map;async function i(e){n.has(e.path)||n.set(e.path,t(e.path));let r=await n.get(e.path);return Zr(r)?Qr(r):r}async function a(e){return r.has(e)||r.set(e,t(e)),await r.get(e)}async function o(t,n){if(!(t in e))throw Error(`[devtools-rpc] Function "${t}" not found in dump store`);let r=e[t];if(Yr(r)){if(n.length>0)throw Error(`[devtools-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`);return await i(r)}if(Xr(r)){let e=Jr(n),i=r.records[e];if(i)return Qr(await a(i));if(r.fallback)return Qr(await a(r.fallback));throw Error(`[devtools-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}if(n.length===0)return r;throw Error(`[devtools-rpc] No dump match for "${t}" with args: ${JSON.stringify(n)}`)}return{call:async(e,t)=>await o(e,t),callOptional:async(t,n)=>{if(t in e)return await o(t,n)},callEvent:async(e,t)=>{}}}async function ei(e){let t=$r(await e.fetchJsonFromBases(mt),e.fetchJsonFromBases);return{isTrusted:!0,requestTrust:async()=>!0,ensureTrusted:async()=>!0,call:(...e)=>t.call(e[0],e.slice(1)),callEvent:(...e)=>t.callEvent(e[0],e.slice(1)),callOptional:(...e)=>t.callOptional(e[0],e.slice(1))}}var ti=``,ni=`?`,ri=`major`,B=`model`,V=`name`,H=`type`,U=`vendor`,W=`version`,ii=`architecture`,ai=`console`,G=`mobile`,K=`tablet`,q=`smarttv`,oi=`wearable`,si=`embedded`,ci=500,li=`Amazon`,ui=`Apple`,di=`ASUS`,fi=`BlackBerry`,pi=`Browser`,mi=`Chrome`,hi=`Edge`,gi=`Firefox`,_i=`Google`,vi=`Huawei`,yi=`LG`,bi=`Microsoft`,xi=`Motorola`,Si=`Opera`,Ci=`Samsung`,wi=`Sharp`,Ti=`Sony`,Ei=`Xiaomi`,Di=`Zebra`,Oi=`Facebook`,ki=`Chromium OS`,Ai=`Mac OS`;function ji(e,t={}){let n={};for(let r of Object.keys(e)){let i=t[r];i&&i.length%2==0?n[r]=[...i,...e[r]]:n[r]=e[r]}return n}function Mi(e){let t={};for(let n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t}function Ni(e){return e.toLowerCase()}function Pi(e,t){return typeof e==`string`?Ni(t).includes(Ni(e)):!1}function Fi(e){return typeof e==`string`?e.replace(/[^\d.]/g,ti).split(`.`)[0]:void 0}function Ii(e,t){let n=e.replace(/^\s+/,ti);return t===void 0?n:n.substring(0,t)}function Li(e,t,n){let r=n??{};for(let n=0;n<t.length;n+=2){let i=t[n],a=t[n+1];for(let t=0;t<i.length;t++){let n=i[t];if(!n)break;let o=n.exec(e);if(o){for(let e=0;e<a.length;e++){let t=o[e+1],n=a[e];if(Array.isArray(n)){let e=n[0],i=n.length;if(i===2){let i=n[1];typeof i==`function`?r[e]=i(t,void 0,r):r[e]=i}else if(i===3){let i=n[1],a=n[2];typeof i==`function`&&!(`exec`in i)&&!(`test`in i)?r[e]=t?i(t,a,r):void 0:r[e]=t?t.replace(i,a):void 0}else i===4&&(r[e]=t?n[3](t.replace(n[1],n[2]),void 0,r):void 0)}else r[n]=t||void 0}return r}}}return r}function Ri(e,t){for(let n in t){let r=t[n];if(Array.isArray(r)&&r.length>0){for(let t=0;t<r.length;t++)if(Pi(r[t],e))return n===ni?void 0:n}else if(Pi(r,e))return n===ni?void 0:n}return e}var zi={"1.0":`/8`,"1.2":`/1`,"1.3":`/3`,"2.0":`/412`,"2.0.2":`/416`,"2.0.3":`/417`,"2.0.4":`/419`,"?":`/`},Bi={ME:`4.90`,"NT 3.11":`NT3.51`,"NT 4.0":`NT4.0`,2e3:`NT 5.0`,XP:[`NT 5.1`,`NT 5.2`],Vista:`NT 6.0`,7:`NT 6.1`,8:`NT 6.2`,"8.1":`NT 6.3`,10:[`NT 6.4`,`NT 10.0`],RT:`ARM`},Vi={browser:[[/\b(?:crmo|crios)\/([\w.]+)/i],[W,[V,`Chrome`]],[/edg(?:e|ios|a)?\/([\w.]+)/i],[W,[V,`Edge`]],[/(opera mini)\/([-\w.]+)/i,/(opera [mobileta]{3,6})\b.+version\/([-\w.]+)/i,/(opera)(?:.+version\/|[/ ]+)([\w.]+)/i],[V,W],[/opios[/ ]+([\w.]+)/i],[W,[V,`${Si} Mini`]],[/\bop(?:rg)?x\/([\w.]+)/i],[W,[V,`${Si} GX`]],[/\bopr\/([\w.]+)/i],[W,[V,Si]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[/ ]?([\w.]+)/i],[W,[V,`Baidu`]],[/(kindle)\/([\w.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[/ ]?([\w.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[/ ]?([\w.]*)/i,/(?:ms|\()(ie) ([\w.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w.]+)/i,/(heytap|ovi)browser\/([\d.]+)/i,/(weibo)__([\d.]+)/i],[V,W],[/\bddg\/([\w.]+)/i],[W,[V,`DuckDuckGo`]],[/(?:\buc? ?browser|juc.+ucweb)[/ ]?([\w.]+)/i],[W,[V,`UC${pi}`]],[/microm.+\bqbcore\/([\w.]+)/i,/\bqbcore\/([\w.]+).+microm/i,/micromessenger\/([\w.]+)/i],[W,[V,`WeChat`]],[/konqueror\/([\w.]+)/i],[W,[V,`Konqueror`]],[/trident.+rv[: ]([\w.]{1,9})\b.+like gecko/i],[W,[V,`IE`]],[/ya(?:search)?browser\/([\w.]+)/i],[W,[V,`Yandex`]],[/slbrowser\/([\w.]+)/i],[W,[V,`Smart Lenovo ${pi}`]],[/(avast|avg)\/([\w.]+)/i],[[V,/(.+)/,`$1 Secure ${pi}`],W],[/\bfocus\/([\w.]+)/i],[W,[V,`${gi} Focus`]],[/\bopt\/([\w.]+)/i],[W,[V,`${Si} Touch`]],[/coc_coc\w+\/([\w.]+)/i],[W,[V,`Coc Coc`]],[/dolfin\/([\w.]+)/i],[W,[V,`Dolphin`]],[/coast\/([\w.]+)/i],[W,[V,`${Si} Coast`]],[/miuibrowser\/([\w.]+)/i],[W,[V,`MIUI ${pi}`]],[/fxios\/([-\w.]+)/i],[W,[V,gi]],[/\bqihu|(qi?ho{0,2}|360)browser/i],[[V,`360 ${pi}`]],[/(oculus|sailfish|huawei|vivo)browser\/([\w.]+)/i],[[V,/(.+)/,`$1 ${pi}`],W],[/samsungbrowser\/([\w.]+)/i],[W,[V,`${Ci} Internet`]],[/(comodo_dragon)\/([\w.]+)/i],[[V,/_/g,` `],W],[/metasr[/ ]?([\d.]+)/i],[W,[V,`Sogou Explorer`]],[/(sogou)mo\w+\/([\d.]+)/i],[[V,`Sogou Mobile`],W],[/(electron)\/([\w.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w.]+))/i,/m?(qqbrowser|2345Explorer)[/ ]?([\w.]+)/i],[V,W],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[V],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w.]+);)/i],[[V,Oi],W],[/(Klarna)\/([\w.]+)/i,/(kakao(?:talk|story))[/ ]([\w.]+)/i,/(naver)\(.*?(\d+\.[\w.]+).*\)/i,/safari (line)\/([\w.]+)/i,/\b(line)\/([\w.]+)\/iab/i,/(alipay)client\/([\w.]+)/i,/(twitter)(?:and| f.+e\/([\w.]+))/i,/(chromium|instagram|snapchat)[/ ]([-\w.]+)/i],[V,W],[/\bgsa\/([\w.]+) .*safari\//i],[W,[V,`GSA`]],[/musical_ly(?:.+app_?version\/|_)([\w.]+)/i],[W,[V,`TikTok`]],[/headlesschrome(?:\/([\w.]+)| )/i],[W,[V,`${mi} Headless`]],[/ wv\).+(chrome)\/([\w.]+)/i],[[V,`${mi} WebView`],W],[/droid.+ version\/([\w.]+)\b.+(?:mobile safari|safari)/i],[W,[V,`Android ${pi}`]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w.]+)/i],[V,W],[/version\/([\w.,]+) .*mobile\/\w+ (safari)/i],[W,[V,`Mobile Safari`]],[/version\/([\w(.|,)]+) .*(mobile ?safari|safari)/i],[W,V],[/webkit.+?(mobile ?safari|safari)(\/[\w.]+)/i],[V,[W,Ri,zi]],[/(webkit|khtml)\/([\w.]+)/i],[V,W],[/(navigator|netscape\d?)\/([-\w.]+)/i],[[V,`Netscape`],W],[/mobile vr; rv:([\w.]+)\).+firefox/i],[W,[V,`${gi} Reality`]],[/ekiohf.+(flow)\/([\w.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[/ ]?([\w.+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w.]+)$/i,/(firefox)\/([\w.]+)/i,/(mozilla)\/([\w.]+) .+rv:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[. ]?browser)[-/ ]?v?([\w.]+)/i,/(links) \(([\w.]+)/i,/panasonic;(viera)/i],[V,W],[/(cobalt)\/([\w.]+)/i],[V,[W,/master.|lts./,``]]],cpu:[[/(amd|x(?:(?:86|64)[-_])?|wow|win)64[;)]/i],[[ii,`amd64`]],[/(ia32(?=;))/i],[[ii,Ni]],[/((?:i[346]|x)86)[;)]/i],[[ii,`ia32`]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[ii,`arm64`]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[ii,`armhf`]],[/windows (ce|mobile); ppc;/i],[[ii,`arm`]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[ii,/ower/,ti,Ni]],[/(sun4\w)[;)]/i],[[ii,`sparc`]],[/(avr32|ia64(?=;)|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[ii,Ni]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[B,[U,Ci],[H,K]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?\d+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[B,[U,Ci],[H,G]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[B,[U,ui],[H,G]],[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[B,[U,ui],[H,K]],[/(macintosh);/i],[B,[U,ui]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[B,[U,wi],[H,G]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[B,[U,vi],[H,K]],[/(?:huawei|honor)([-\w ]+)[;)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][0-359c][adn]?)\b(?!.+d\/s)/i],[B,[U,vi],[H,G]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?[\w ]+)(?: bui|\))/i,/oid[^)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?\d?\w?[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[B,/_/g,` `],[U,Ei],[H,G]],[/oid[^)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?pad[\w ]+)(?: bui|\))/i],[[B,/_/g,` `],[U,Ei],[H,K]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[B,[U,`OPPO`],[H,G]],[/\b(opd2\d{3}a?) bui/i],[B,[U,`OPPO`],[H,K]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[B,[U,`Vivo`],[H,G]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[B,[U,`Realme`],[H,G]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w() ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[B,[U,xi],[H,G]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[B,[U,xi],[H,K]],[/((?=lg)?[vl]k-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[B,[U,yi],[H,K]],[/(lm(?:-?f100[nv]?|-[\w.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?(\w+) bui/i],[B,[U,yi],[H,G]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab[\w ]+|yt[-\w]{6}|tb[-\w]{6})/i],[B,[U,`Lenovo`],[H,K]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w.]*)/i],[[B,/_/g,` `],[U,`Nokia`],[H,G]],[/(pixel c)\b/i],[B,[U,_i],[H,K]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[B,[U,_i],[H,G]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]?\d\.))/i],[B,[U,Ti],[H,G]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[B,`Xperia Tablet`],[U,Ti],[H,K]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[B,[U,`OnePlus`],[H,G]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[B,[U,li],[H,K]],[/((?:sd|kf)[0349hijor-uw]+)( bui|\)).+silk\//i],[[B,/(.+)/g,`Fire Phone $1`],[U,li],[H,G]],[/(playbook);[-\w),; ]+(rim)/i],[B,U,[H,K]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[B,[U,fi],[H,G]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[B,[U,di],[H,K]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[B,[U,di],[H,G]],[/(nexus 9)/i],[B,[U,`HTC`],[H,K]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!;|\.)|sony(?!-bra))[-_ ]?([-\w]*)/i],[U,[B,/_/g,` `],[H,G]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[B,[U,`Acer`],[H,K]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[B,[U,`Meizu`],[H,G]],[/; ((?:power )?armor[\w ]{0,8})(?: bui|\))/i],[B,[U,`Ulefone`],[H,G]],[/(blackberry|benq|palm(?=-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[U,B,[H,G]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[U,B,[H,K]],[/(surface duo)/i],[B,[U,bi],[H,K]],[/droid [\d.]+; (fp\du?)(?: b|\))/i],[B,[U,`Fairphone`],[H,G]],[/(u304aa)/i],[B,[U,`AT&T`],[H,G]],[/\bsie-(\w*)/i],[B,[U,`Siemens`],[H,G]],[/\b(rct\w+) b/i],[B,[U,`RCA`],[H,K]],[/\b(venue[\d ]{2,7}) b/i],[B,[U,`Dell`],[H,K]],[/\b(q(?:mv|ta)\w+) b/i],[B,[U,`Verizon`],[H,K]],[/\b(?:barnes[& ]+noble |bn[rt])([\w+ ]*) b/i],[B,[U,`Barnes & Noble`],[H,K]],[/\b(tm\d{3}\w+) b/i],[B,[U,`NuVision`],[H,K]],[/\b(k88) b/i],[B,[U,`ZTE`],[H,K]],[/\b(nx\d{3}j) b/i],[B,[U,`ZTE`],[H,G]],[/\b(gen\d{3}) b.+49h/i],[B,[U,`Swiss`],[H,G]],[/\b(zur\d{3}) b/i],[B,[U,`Swiss`],[H,K]],[/\b((zeki)?tb.*\b) b/i],[B,[U,`Zeki`],[H,K]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[U,`Dragon Touch`],B,[H,K]],[/\b(ns-?\w{0,9}) b/i],[B,[U,`Insignia`],[H,K]],[/\b((nxa|next)-?\w{0,9}) b/i],[B,[U,`NextBook`],[H,K]],[/\b(xtreme_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[U,`Voice`],B,[H,G]],[/\b(lvtel-)?(v1[12]) b/i],[[U,`LvTel`],B,[H,G]],[/\b(ph-1) /i],[B,[U,`Essential`],[H,G]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[B,[U,`Envizen`],[H,K]],[/\b(trio[-\w. ]+) b/i],[B,[U,`MachSpeed`],[H,K]],[/\btu_(1491) b/i],[B,[U,`Rotor`],[H,K]],[/(shield[\w ]+) b/i],[B,[U,`Nvidia`],[H,K]],[/(sprint) (\w+)/i],[U,B,[H,G]],[/(kin\.[onetw]{3})/i],[[B,/\./g,` `],[U,bi],[H,G]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[B,[U,Di],[H,K]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[B,[U,Di],[H,G]],[/smart-tv.+(samsung)/i],[U,[H,q]],[/hbbtv.+maple;(\d+)/i],[[B,/^/,`SmartTV`],[U,Ci],[H,q]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[U,yi],[H,q]],[/(apple) ?tv/i],[U,[B,`${ui} TV`],[H,q]],[/crkey/i],[[B,`${mi}cast`],[U,_i],[H,q]],[/droid.+aft(\w+)( bui|\))/i],[B,[U,li],[H,q]],[/\(dtv[);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[B,[U,wi],[H,q]],[/(bravia[\w ]+)( bui|\))/i],[B,[U,Ti],[H,q]],[/(mitv-\w{5}) bui/i],[B,[U,Ei],[H,q]],[/Hbbtv.*(technisat) (.*);/i],[U,B,[H,q]],[/\b(roku)[\dx]*[)/]((?:dvp-)?[\d.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w+ ]*; *(\w[^;]*);([^;]*)/i],[[U,Ii],[B,Ii],[H,q]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[H,q]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[U,B,[H,ai]],[/droid.+; (shield) bui/i],[B,[U,`Nvidia`],[H,ai]],[/(playstation [345portablevi]+)/i],[B,[U,Ti],[H,ai]],[/\b(xbox(?: one)?(?!; xbox))[); ]/i],[B,[U,bi],[H,ai]],[/((pebble))app/i],[U,B,[H,oi]],[/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i],[B,[U,ui],[H,oi]],[/droid.+; (glass) \d/i],[B,[U,_i],[H,oi]],[/droid.+; (wt63?0{2,3})\)/i],[B,[U,Di],[H,oi]],[/(quest( \d| pro)?)/i],[B,[U,Oi],[H,oi]],[/(tesla)(?: qtcarbrowser|\/[-\w.]+)/i],[U,[H,si]],[/(aeobc)\b/i],[B,[U,li],[H,si]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[B,[H,G]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[B,[H,K]],[/\b((tablet|tab)[;/]|focus\/\d(?!.+mobile))/i],[[H,K]],[/(phone|mobile(?:[;/]| [ \w/.]*safari)|pda(?=.+windows ce))/i],[[H,G]],[/(android[-\w. ]{0,9});.+buil/i],[B,[U,`Generic`]]],engine:[[/windows.+ edge\/([\w.]+)/i],[W,[V,`${hi}HTML`]],[/webkit\/537\.36.+chrome\/(?!27)([\w.]+)/i],[W,[V,`Blink`]],[/(presto)\/([\w.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w.]+)/i,/ekioh(flow)\/([\w.]+)/i,/(khtml|tasman|links)[/ ]\(?([\w.]+)/i,/(icab)[/ ]([23]\.[\d.]+)/i,/\b(libweb)/i],[V,W],[/rv:([\w.]{1,9})\b.+(gecko)/i],[W,V]],os:[[/microsoft (windows) (vista|xp)/i],[V,W],[/(windows (?:phone(?: os)?|mobile))[/ ]?([.\w ]*)/i],[V,[W,Ri,Bi]],[/windows nt 6\.2; (arm)/i,/windows[/ ]?([ntce\d. ]+\w)(?!.+xbox)/i,/(?:win(?=[39n])|win 9x )([nt\d.]+)/i],[[W,Ri,Bi],[V,`Windows`]],[/ip[honead]{2,4}\b(?:.*os (\w+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[/ ])([\d.]+)/i,/cfnetwork\/.+darwin/i],[[W,/_/g,`.`],[V,`iOS`]],[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[V,Ai],[W,/_/g,`.`]],[/droid ([\w.]+)\b.+(android[- ]x86|harmonyos)/i],[W,V],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-/ ]?([\w.]*)/i,/(blackberry)\w*\/([\w.]*)/i,/(tizen|kaios)[/ ]([\w.]+)/i,/\((series40);/i],[V,W],[/\(bb(10);/i],[W,[V,fi]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-/ ]?([\w.]*)/i],[W,[V,`Symbian`]],[/mozilla\/[\d.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w.]+)/i],[W,[V,`${gi} OS`]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w.]+)/i],[W,[V,`webOS`]],[/watch(?: ?os[,/]|\d,\d\/)([\d.]+)/i],[W,[V,`watchOS`]],[/crkey\/([\d.]+)/i],[W,[V,`${mi}cast`]],[/(cros) \w+(?:\)| ([\w.]+)\b)/i],[[V,ki],W],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w.]*)/i,/(mint)[/() ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-/ ]?(?!chrom|package)([-\w.]*)/i,/(hurd|linux) ?([\w.]*)/i,/(gnu) ?([\w.]*)/i,/\b([-e-hrntopcs]{0,5}bsd|dragonfly)[/ ]?(?!amd|[ix346]{1,2}86)([\w.]*)/i,/(haiku) (\w+)/i],[V,W],[/(sunos) ?([\w.]*)/i],[[V,`Solaris`],W],[/((?:open)?solaris)[-/ ]?([\w.]*)/i,/(aix) ((\d)(?=[.) ])[\w.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w.]*)/i],[V,W]]};function Hi(e){return typeof e==`object`&&!!e}Object.freeze(Mi([V,W,ri])),Object.freeze(Mi([ii])),Object.freeze(Mi([B,U,H,ai,G,q,K,oi,si])),Object.freeze(Mi([V,W])),Object.freeze(Mi([V,W]));function Ui(){if(!(typeof window>`u`||!window.navigator))return window.navigator}function Wi(e){return e.length>ci?Ii(e,ci):e}function Gi(e){if(typeof e==`string`)return{ua:Wi(e),isSelfNavigator:!1,navigator:void 0,userAgentData:void 0,regexMap:Vi};let t=Ui(),n=Wi(t&&t.userAgent?t.userAgent:ti);return{ua:n,isSelfNavigator:!!(t&&t.userAgent===n),navigator:t,userAgentData:t?.userAgentData,regexMap:Vi}}function Ki(e,t){if(!t&&!Hi(e))return Gi(e);let n=Ui(),r=Hi(e)?void 0:e,i=Hi(e)?e:t,a=Wi(r||(n&&n.userAgent?n.userAgent:ti)),o=n?.userAgentData;return{ua:a,isSelfNavigator:!!(n&&n.userAgent===a),navigator:n,userAgentData:o,regexMap:i?ji(Vi,i):Vi}}function qi(e){let t={name:void 0,version:void 0,major:void 0};return Li(e.ua,e.regexMap.browser,t),t.major=Fi(t.version),e.isSelfNavigator&&e.navigator?.brave&&typeof e.navigator.brave.isBrave==`function`&&(t.name=`Brave`),t}function Ji(e){let t={architecture:void 0};return Li(e.ua,e.regexMap.cpu,t),t}function Yi(e){let t={vendor:void 0,model:void 0,type:void 0};return Li(e.ua,e.regexMap.device,t),e.isSelfNavigator&&!t.type&&e.userAgentData?.mobile&&(t.type=G),e.isSelfNavigator&&t.model===`Macintosh`&&e.navigator&&e.navigator.standalone!==void 0&&e.navigator.maxTouchPoints&&e.navigator.maxTouchPoints>2&&(t.model=`iPad`,t.type=K),t}function Xi(e){let t={name:void 0,version:void 0};return Li(e.ua,e.regexMap.engine,t),t}function Zi(e){let t={name:void 0,version:void 0};return Li(e.ua,e.regexMap.os,t),e.isSelfNavigator&&!t.name&&e.userAgentData?.platform&&e.userAgentData.platform!==`Unknown`&&(t.name=e.userAgentData.platform.replace(/chrome os/i,ki).replace(/macos/i,Ai)),t}function Qi(e,t){let n,r,i,a,o,s,c=()=>n||=Ki(e,t);return{get ua(){return c().ua},get browser(){return r||=qi(c()),r},get engine(){return i||=Xi(c()),i},get os(){return a||=Zi(c()),a},get device(){return o||=Yi(c()),o},get cpu(){return s||=Ji(c()),s}}}function $i(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function ea(e){return e==null?!1:`${+e}`==`${e}`}function ta(e){let{authId:t,connectionMeta:n,events:r,clientRpc:i,rpcOptions:a={},wsOptions:o={}}=e,s=!1,c=$i(),l=ea(n.websocket)?`${location.protocol.replace(`http`,`ws`)}//${location.hostname}:${n.websocket}`:n.websocket,u=cr(i.functions,{preset:Lr({url:l,authId:t,...o}),rpcOptions:a});async function d(){if(s)return!0;let e=Qi(navigator.userAgent),n=[e.browser.name,e.browser.version,`|`,e.os.name,e.os.version,e.device.type].filter(e=>e).join(` `),i=await u.$call(`vite:anonymous:auth`,{authId:t,ua:n,origin:location.origin});return s=i.isTrusted,c.resolve(s),r.emit(`rpc:is-trusted:updated`,s),i.isTrusted}async function f(e=6e4){if(s&&c.resolve(!0),e<=0)return c.promise;let t=()=>{};return await Promise.race([c.promise.then(t),new Promise((n,r)=>{let i=setTimeout(()=>{r(Error(`[Vite DevTools] Timeout waiting for rpc to be trusted`))},e);t=()=>clearTimeout(i)})]),s}return{get isTrusted(){return s},requestTrust:d,ensureTrusted:f,call:(...e)=>u.$call(...e),callEvent:(...e)=>u.$callEvent(...e),callOptional:(...e)=>u.$callOptional(...e)}}var na=`__VITE_DEVTOOLS_CONNECTION_META__`,ra=`__VITE_DEVTOOLS_CONNECTION_AUTH_ID__`;function ia(e){let t=[()=>e,()=>localStorage.getItem(ra),()=>window?.[ra],()=>globalThis?.[ra],()=>parent.window?.[ra]],n;for(let e of t)try{if(n=e(),n)break}catch{}return n||=bt(),localStorage.setItem(ra,n),globalThis[ra]=n,n}function aa(){let e=[()=>window?.[na],()=>globalThis?.[na],()=>parent.window?.[na]];for(let t of e)try{let e=t();if(e)return e}catch{}}async function oa(e={}){let{baseURL:t=ft,rpcOptions:n={}}=e,r=vt(),i=Array.isArray(t)?t:[t],a=e.connectionMeta||aa(),o=i[0]??`/.devtools/`;function s(e){return e.endsWith(`/`)?e:`${e}/`}function c(e,t){return/^https?:\/\//.test(t)||t.startsWith(`/`)?t:`${s(e)}${t}`}if(!a){let e=[];for(let t of i)try{a=await fetch(c(t,pt)).then(e=>e.json()),o=t,globalThis[na]=a;break}catch(t){e.push(t)}if(!a)throw Error(`Failed to get connection meta from ${i.join(`, `)}`,{cause:e})}let l={rpc:void 0},u=ia(e.authId),d=new Yn(l);async function f(e){let t=[o,...i.filter(e=>e!==o)].filter(e=>e!=null),n=[];for(let r of t)try{return await fetch(c(r,e)).then(t=>{if(!t.ok)throw Error(`Failed to fetch ${e} from ${r}: ${t.status}`);return t.json()})}catch(e){n.push(e)}throw Error(`Failed to load ${e} from ${t.join(`, `)}`,{cause:n})}let p=a.backend===`static`?await ei({fetchJsonFromBases:f}):ta({authId:u,connectionMeta:a,events:r,clientRpc:d,rpcOptions:n,wsOptions:e.wsOptions}),m={events:r,get isTrusted(){return p.isTrusted},connectionMeta:a,ensureTrusted:p.ensureTrusted,requestTrust:p.requestTrust,call:p.call,callEvent:p.callEvent,callOptional:p.callOptional,client:d,sharedState:void 0};return m.sharedState=Rr(m),l.rpc=m,p.requestTrust(),m}var sa=ce(null),ca=ce(null),la=ce(null);function ua(e){sa.value=e}function da(){return sa}function fa(e){ca.value=e}function pa(){return ca}function ma(e){la.value=e}function ha(){return la}var ga=`modulepreload`,_a=function(e,t){return new URL(e,t).href},va={},ya=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=_a(t,n),t in va)return;va[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:ga,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},ba=20,xa=100,Sa=320,Ca=240,wa=`~popup`,Ta=`data-vite-devtools-popup-window`,Ea=`__VITE_DEVTOOLS_TRIGGER_DOCK_ACTION__`,Da=ce(null),Oa=ce(!1),ka=vt(),Aa,ja,Ma,Na=async()=>await ya(()=>import(`./DockStandalone-Be2ebLC6.js`).then(e=>e.DockStandalone),[],import.meta.url);ka.on(`popup:open-requested`,e=>{Za(e)});function Pa(){if(!(typeof window>`u`))return window.documentPictureInPicture}function Fa(){Aa?.(),Aa=void 0,ja?.(),ja=void 0}function Ia(){let e=window,t=[e.document?.documentElement,e.document?.body].filter(Boolean);for(let e of t){if(e?.classList?.contains(`dark`))return`dark`;if(e?.classList?.contains(`light`))return`light`;let t=e?.getAttribute?.(`data-theme`);if(t===`dark`||t===`light`)return t}return e.matchMedia?.(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function La(e,t){e.document.documentElement?.setAttribute(`data-vite-devtools-color-mode`,t),e.document.documentElement?.style.setProperty(`color-scheme`,t),Ma?.setAttribute(`data-vite-devtools-color-mode`,t)}function Ra(e){let t=[],n=()=>La(e,Ia());n();let r=window,i=r.document;if(typeof MutationObserver<`u`&&i){let e=new MutationObserver(n);for(let t of[i.documentElement,i.body])t&&e.observe(t,{attributes:!0,attributeFilter:[`class`,`data-theme`,`style`]});t.push(()=>e.disconnect())}if(r.matchMedia){let e=r.matchMedia(`(prefers-color-scheme: dark)`),i=r.matchMedia(`(prefers-color-scheme: light)`);e.addEventListener(`change`,n),i.addEventListener(`change`,n),t.push(()=>{e.removeEventListener(`change`,n),i.removeEventListener(`change`,n)})}return()=>{t.forEach(e=>e())}}function za(){Ma?.remove(),Ma=void 0}function Ba(){Fa(),za(),Da.value=null,Oa.value=!1}function Va(e,t,n){return Math.min(Math.max(e,t),n)}function Ha(e,t){window.innerWidth<=0||window.innerHeight<=0||(e.panel.store.width=Va(Math.round(t.innerWidth/window.innerWidth*100),ba,xa),e.panel.store.height=Va(Math.round(t.innerHeight/window.innerHeight*100),ba,xa))}async function Ua(e,t){let n=await Na(),r=t.document.createElement(`style`);r.textContent=[`html, body {`,` margin: 0;`,` padding: 0;`,` width: 100%;`,` height: 100%;`,` overflow: hidden;`,` background: transparent;`,`}`,`#vite-devtools-popup-root {`,` width: 100vw;`,` height: 100vh;`,`}`,`#vite-devtools-popup-root > vite-devtools-dock-standalone {`,` display: block;`,` width: 100%;`,` height: 100%;`,`}`].join(`
3
+ `),t.document.title=`Vite DevTools`,t.document.documentElement?.setAttribute(Ta,``),t.document.head?.appendChild(r),t.document.body.textContent=``;let i=t.document.createElement(`div`);i.id=`vite-devtools-popup-root`,t.document.body.appendChild(i);let a=new n({context:e});Ma=a,i.appendChild(a)}function Wa(){return!!Pa()?.requestWindow}function Ga(){return typeof window>`u`?!1:!!window.document?.documentElement?.hasAttribute?.(Ta)}function Ka(e){typeof window>`u`||Ga()||(window[Ea]=e)}async function qa(e){if(!(typeof window>`u`)&&Ga())try{let t=window.opener;if(!t||t.closed)return;let n=t[Ea];return typeof n==`function`?await n(e):void 0}catch{return}}function Ja(){return Wa()&&!Oa.value&&!Ga()}function Ya(e){return e.map(([e,t])=>[e,t.filter(e=>e.id!==wa)]).filter(([,e])=>e.length>0)}function Xa(e){ka.emit(`popup:open-requested`,e)}async function Za(e){fa(null);let t=Da.value;if(t?.closed)Ba();else if(t)return t.focus(),t;let n=Pa();if(!n?.requestWindow)return null;let r;try{let t=r=await n.requestWindow({width:Math.max(Sa,Math.round(window.innerWidth*e.panel.store.width/100)),height:Math.max(Ca,Math.round(window.innerHeight*e.panel.store.height/100))});await Ua(e,t),ja=Ra(t);let i=()=>Ha(e,t),a=()=>{Da.value===t&&Ba()};return t.addEventListener(`resize`,i),t.addEventListener(`pagehide`,a),Aa=()=>{t.removeEventListener(`resize`,i),t.removeEventListener(`pagehide`,a)},Da.value=t,Oa.value=!0,t}catch{return r&&!r.closed&&r.close(),Ba(),null}}var Qa=class{holders={};constructor(e){this.container=e}getHolder(e,t){return this.holders[e]}getOrCreateHolder(e,t){if(!this.container.value)throw Error(`[VITE DEVTOOLS] PersistedDomViewsManager: container is not set`);let n;if(this.holders[e])n=this.holders[e];else{let r=document.createElement(t);this.holders[e]=new $a(e,r),this.container.value.appendChild(r),n=this.holders[e]}return n}removeHolder(e){let t=this.holders[e];return t?(t.unmount(),t.element.remove(),delete this.holders[e],!0):!1}},$a=class{element;id;anchor;_cleanups=[];constructor(e,t){this.id=e,this.element=t}cleanup(){this._cleanups.forEach(e=>e()),this._cleanups=[]}mount(e){if(this.anchor===e){this.show();return}this.cleanup(),this.anchor=e;let t=()=>this.update();window.addEventListener(`resize`,t),this._cleanups.push(()=>window.removeEventListener(`resize`,t)),this.show()}hide(){this.element.style.display=`none`}show(){this.element.style.display=`block`,this.update()}update(){if(!this.anchor)return;let e=this.anchor.getBoundingClientRect();this.element.style.position=`absolute`,this.element.style.width=`${e.width}px`,this.element.style.height=`${e.height}px`}unmount(){this.cleanup(),this.hide(),this.anchor=void 0}},eo=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var to=Object.prototype.toString,no=e=>to.call(e)===`[object Object]`,ro=()=>{},io=ao();function ao(){var e,t;return eo&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function oo(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}function so(e,t={}){let n,r,i=ro,a=e=>{clearTimeout(e),i(),i=ro},o;return s=>{let c=p(e),l=p(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function co(e){return Array.isArray(e)?e:[e]}function lo(e,t=200,n={}){return oo(so(t,n),e)}function uo(e,t,n){return ge(e,t,{...n,immediate:!0})}var fo=eo?window:void 0;eo&&window.document,eo&&window.navigator,eo&&window.location;function po(e){let t=p(e);return t?.$el??t}function mo(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=S(()=>{let t=co(p(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return uo(()=>[n.value?.map(e=>po(e))??[fo].filter(e=>e!=null),co(p(n.value?e[1]:e[0])),co(h(n.value?e[2]:e[1])),p(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=no(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var ho=!1;function go(e,t,n={}){let{window:r=fo,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:ro,cancel:ro,trigger:ro}:ro;if(io&&!ho){ho=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,ro,e)),r.document.documentElement.addEventListener(`click`,ro,e)}let c=!0,l=e=>p(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=po(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=p(e);return t&&t.$.subTree.shapeFlag===16}function d(e,t){let n=p(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let f=n=>{let r=po(e);if(n.target!=null&&!(!(r instanceof Element)&&u(e)&&d(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!l(n)),!c){c=!0;return}t(n)}},m=!1,h=[mo(r,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),f(e))},{passive:!0,capture:a}),mo(r,`pointerdown`,t=>{let n=po(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&mo(r,`blur`,n=>{setTimeout(()=>{let i=po(e);r.document.activeElement?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return s?{stop:g,cancel:()=>{c=!1},trigger:e=>{c=!0,f(e),c=!1}}:g}function _o(e){return T(`button`,{class:`flex items-center gap-2 px3 py1.5 rounded hover:bg-active transition text-left`,onClick:e.action},[T(`div`,{class:`${e.icon} text-base op60`}),T(`span`,e.label)])}function vo(e,t){let n=e.docks.settings,r=t.id;n.mutate(e=>{e.docksHidden.includes(r)||(e.docksHidden=[...e.docksHidden,r])}),e.docks.selected?.id===r&&e.docks.switchEntry(null),ma(null)}function yo(e,t){let n=e.docks.getStateById(t.id)?.domElements.iframe;if(!n){ma(null);return}let r=n.src;n.src=``,n.src=r,ma(null)}function bo(e,t){return e.docks.entries.some(e=>e.id===t.id)}function xo(e){return e.type===`iframe`}function So(e){let{context:t,entry:n,el:r,gap:i=6}=e,a=[{label:`Hide`,icon:`i-ph-eye-slash-duotone`,action:()=>vo(t,n),visible:bo(t,n)},{label:`Refresh`,icon:`i-ph-arrow-clockwise-duotone`,action:()=>yo(t,n),visible:xo(n)}].filter(e=>e.visible);a.length!==0&&ma({el:r,gap:i,content:()=>T(`div`,{class:`flex flex-col text-sm min-w-36 mx--1`},a.map(_o))})}var{entries:Co,setPrototypeOf:wo,isFrozen:To,getPrototypeOf:Eo,getOwnPropertyDescriptor:Do}=Object,{freeze:J,seal:Y,create:Oo}=Object,{apply:ko,construct:Ao}=typeof Reflect<`u`&&Reflect;J||=function(e){return e},Y||=function(e){return e},ko||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},Ao||=function(e){return new e(...[...arguments].slice(1))};var jo=Q(Array.prototype.forEach),Mo=Q(Array.prototype.lastIndexOf),No=Q(Array.prototype.pop),Po=Q(Array.prototype.push),Fo=Q(Array.prototype.splice),Io=Q(String.prototype.toLowerCase),Lo=Q(String.prototype.toString),Ro=Q(String.prototype.match),zo=Q(String.prototype.replace),Bo=Q(String.prototype.indexOf),Vo=Q(String.prototype.trim),X=Q(Object.prototype.hasOwnProperty),Z=Q(RegExp.prototype.test),Ho=Uo(TypeError);function Q(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return ko(e,t,n)}}function Uo(e){return function(){return Ao(e,[...arguments])}}function $(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Io;wo&&wo(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(To(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Wo(e){for(let t=0;t<e.length;t++)X(e,t)||(e[t]=null);return e}function Go(e){let t=Oo(null);for(let[n,r]of Co(e))X(e,n)&&(Array.isArray(r)?t[n]=Wo(r):r&&typeof r==`object`&&r.constructor===Object?t[n]=Go(r):t[n]=r);return t}function Ko(e,t){for(;e!==null;){let n=Do(e,t);if(n){if(n.get)return Q(n.get);if(typeof n.value==`function`)return Q(n.value)}e=Eo(e)}function n(){return null}return n}var qo=J(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),Jo=J(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),Yo=J([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),Xo=J([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),Zo=J(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),Qo=J([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),$o=J([`#text`]),es=J(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot`.split(`.`)),ts=J(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),ns=J(`accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),rs=J([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),is=Y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),as=Y(/<%[\w\W]*|[\w\W]*%>/gm),os=Y(/\$\{[\w\W]*/gm),ss=Y(/^data-[\-\w.\u00B7-\uFFFF]+$/),cs=Y(/^aria-[\-\w]+$/),ls=Y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),us=Y(/^(?:\w+script|data):/i),ds=Y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),fs=Y(/^html$/i),ps=Y(/^[a-z][.\w]*(-[.\w]+)+$/i),ms=Object.freeze({__proto__:null,ARIA_ATTR:cs,ATTR_WHITESPACE:ds,CUSTOM_ELEMENT:ps,DATA_ATTR:ss,DOCTYPE_NAME:fs,ERB_EXPR:as,IS_ALLOWED_URI:ls,IS_SCRIPT_OR_DATA:us,MUSTACHE_EXPR:is,TMPLIT_EXPR:os}),hs={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},gs=function(){return typeof window>`u`?null:window},_s=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},vs=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ys(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:gs(),t=e=>ys(e);if(t.version=`3.3.2`,t.removed=[],!e||!e.document||e.document.nodeType!==hs.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e,r=n,i=r.currentScript,{DocumentFragment:a,HTMLTemplateElement:o,Node:s,Element:c,NodeFilter:l,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:p}=e,m=c.prototype,h=Ko(m,`cloneNode`),g=Ko(m,`remove`),_=Ko(m,`nextSibling`),ee=Ko(m,`childNodes`),v=Ko(m,`parentNode`);if(typeof o==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let y,te=``,{implementation:ne,createNodeIterator:re,createDocumentFragment:b,getElementsByTagName:x}=n,{importNode:ie}=r,S=vs();t.isSupported=typeof Co==`function`&&typeof v==`function`&&ne&&ne.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:C,ERB_EXPR:w,TMPLIT_EXPR:ae,DATA_ATTR:oe,ARIA_ATTR:T,IS_SCRIPT_OR_DATA:E,ATTR_WHITESPACE:se,CUSTOM_ELEMENT:ce}=ms,{IS_ALLOWED_URI:le}=ms,D=null,ue=$({},[...qo,...Jo,...Yo,...Zo,...$o]),O=null,k=$({},[...es,...ts,...ns,...rs]),A=Object.seal(Oo(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),de=null,fe=null,j=Object.seal(Oo(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),pe=!0,me=!0,he=!1,ge=!0,_e=!1,ve=!0,M=!1,ye=!1,be=!1,xe=!1,Se=!1,Ce=!1,N=!0,we=!1,Te=!0,Ee=!1,De={},P=null,Oe=$({},[`annotation-xml`,`audio`,`colgroup`,`desc`,`foreignobject`,`head`,`iframe`,`math`,`mi`,`mn`,`mo`,`ms`,`mtext`,`noembed`,`noframes`,`noscript`,`plaintext`,`script`,`style`,`svg`,`template`,`thead`,`title`,`video`,`xmp`]),ke=null,Ae=$({},[`audio`,`video`,`img`,`source`,`image`,`track`]),je=null,Me=$({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Ne=`http://www.w3.org/1998/Math/MathML`,Pe=`http://www.w3.org/2000/svg`,F=`http://www.w3.org/1999/xhtml`,Fe=F,Ie=!1,Le=null,Re=$({},[Ne,Pe,F],Lo),ze=$({},[`mi`,`mo`,`mn`,`ms`,`mtext`]),Be=$({},[`annotation-xml`]),Ve=$({},[`title`,`style`,`font`,`a`,`script`]),He=null,Ue=[`application/xhtml+xml`,`text/html`],I=null,We=null,Ge=n.createElement(`form`),Ke=function(e){return e instanceof RegExp||e instanceof Function},qe=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(We&&We===e)){if((!e||typeof e!=`object`)&&(e={}),e=Go(e),He=Ue.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,I=He===`application/xhtml+xml`?Lo:Io,D=X(e,`ALLOWED_TAGS`)?$({},e.ALLOWED_TAGS,I):ue,O=X(e,`ALLOWED_ATTR`)?$({},e.ALLOWED_ATTR,I):k,Le=X(e,`ALLOWED_NAMESPACES`)?$({},e.ALLOWED_NAMESPACES,Lo):Re,je=X(e,`ADD_URI_SAFE_ATTR`)?$(Go(Me),e.ADD_URI_SAFE_ATTR,I):Me,ke=X(e,`ADD_DATA_URI_TAGS`)?$(Go(Ae),e.ADD_DATA_URI_TAGS,I):Ae,P=X(e,`FORBID_CONTENTS`)?$({},e.FORBID_CONTENTS,I):Oe,de=X(e,`FORBID_TAGS`)?$({},e.FORBID_TAGS,I):Go({}),fe=X(e,`FORBID_ATTR`)?$({},e.FORBID_ATTR,I):Go({}),De=X(e,`USE_PROFILES`)?e.USE_PROFILES:!1,pe=e.ALLOW_ARIA_ATTR!==!1,me=e.ALLOW_DATA_ATTR!==!1,he=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ge=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,_e=e.SAFE_FOR_TEMPLATES||!1,ve=e.SAFE_FOR_XML!==!1,M=e.WHOLE_DOCUMENT||!1,xe=e.RETURN_DOM||!1,Se=e.RETURN_DOM_FRAGMENT||!1,Ce=e.RETURN_TRUSTED_TYPE||!1,be=e.FORCE_BODY||!1,N=e.SANITIZE_DOM!==!1,we=e.SANITIZE_NAMED_PROPS||!1,Te=e.KEEP_CONTENT!==!1,Ee=e.IN_PLACE||!1,le=e.ALLOWED_URI_REGEXP||ls,Fe=e.NAMESPACE||F,ze=e.MATHML_TEXT_INTEGRATION_POINTS||ze,Be=e.HTML_INTEGRATION_POINTS||Be,A=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ke(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(A.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ke(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(A.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==`boolean`&&(A.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),_e&&(me=!1),Se&&(xe=!0),De&&(D=$({},$o),O=Oo(null),De.html===!0&&($(D,qo),$(O,es)),De.svg===!0&&($(D,Jo),$(O,ts),$(O,rs)),De.svgFilters===!0&&($(D,Yo),$(O,ts),$(O,rs)),De.mathMl===!0&&($(D,Zo),$(O,ns),$(O,rs))),X(e,`ADD_TAGS`)||(j.tagCheck=null),X(e,`ADD_ATTR`)||(j.attributeCheck=null),e.ADD_TAGS&&(typeof e.ADD_TAGS==`function`?j.tagCheck=e.ADD_TAGS:(D===ue&&(D=Go(D)),$(D,e.ADD_TAGS,I))),e.ADD_ATTR&&(typeof e.ADD_ATTR==`function`?j.attributeCheck=e.ADD_ATTR:(O===k&&(O=Go(O)),$(O,e.ADD_ATTR,I))),e.ADD_URI_SAFE_ATTR&&$(je,e.ADD_URI_SAFE_ATTR,I),e.FORBID_CONTENTS&&(P===Oe&&(P=Go(P)),$(P,e.FORBID_CONTENTS,I)),e.ADD_FORBID_CONTENTS&&(P===Oe&&(P=Go(P)),$(P,e.ADD_FORBID_CONTENTS,I)),Te&&(D[`#text`]=!0),M&&$(D,[`html`,`head`,`body`]),D.table&&($(D,[`tbody`]),delete de.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Ho(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Ho(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);y=e.TRUSTED_TYPES_POLICY,te=y.createHTML(``)}else y===void 0&&(y=_s(p,i)),y!==null&&typeof te==`string`&&(te=y.createHTML(``));J&&J(e),We=e}},Je=$({},[...Jo,...Yo,...Xo]),Ye=$({},[...Zo,...Qo]),Xe=function(e){let t=v(e);(!t||!t.tagName)&&(t={namespaceURI:Fe,tagName:`template`});let n=Io(e.tagName),r=Io(t.tagName);return Le[e.namespaceURI]?e.namespaceURI===Pe?t.namespaceURI===F?n===`svg`:t.namespaceURI===Ne?n===`svg`&&(r===`annotation-xml`||ze[r]):!!Je[n]:e.namespaceURI===Ne?t.namespaceURI===F?n===`math`:t.namespaceURI===Pe?n===`math`&&Be[r]:!!Ye[n]:e.namespaceURI===F?t.namespaceURI===Pe&&!Be[r]||t.namespaceURI===Ne&&!ze[r]?!1:!Ye[n]&&(Ve[n]||!Je[n]):!!(He===`application/xhtml+xml`&&Le[e.namespaceURI]):!1},Ze=function(e){Po(t.removed,{element:e});try{v(e).removeChild(e)}catch{g(e)}},Qe=function(e,n){try{Po(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{Po(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(xe||Se)try{Ze(n)}catch{}else try{n.setAttribute(e,``)}catch{}},$e=function(e){let t=null,r=null;if(be)e=`<remove></remove>`+e;else{let t=Ro(e,/^[\r\n\t ]+/);r=t&&t[0]}He===`application/xhtml+xml`&&Fe===F&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=y?y.createHTML(e):e;if(Fe===F)try{t=new f().parseFromString(i,He)}catch{}if(!t||!t.documentElement){t=ne.createDocument(Fe,`template`,null);try{t.documentElement.innerHTML=Ie?te:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Fe===F?x.call(t,M?`html`:`body`)[0]:M?t.documentElement:a},et=function(e){return re.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},tt=function(e){return e instanceof d&&(typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||!(e.attributes instanceof u)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`)},nt=function(e){return typeof s==`function`&&e instanceof s};function rt(e,n,r){jo(e,e=>{e.call(t,n,r,We)})}let it=function(e){let n=null;if(rt(S.beforeSanitizeElements,e,null),tt(e))return Ze(e),!0;let r=I(e.nodeName);if(rt(S.uponSanitizeElement,e,{tagName:r,allowedTags:D}),ve&&e.hasChildNodes()&&!nt(e.firstElementChild)&&Z(/<[/\w!]/g,e.innerHTML)&&Z(/<[/\w!]/g,e.textContent)||e.nodeType===hs.progressingInstruction||ve&&e.nodeType===hs.comment&&Z(/<[/\w]/g,e.data))return Ze(e),!0;if(!(j.tagCheck instanceof Function&&j.tagCheck(r))&&(!D[r]||de[r])){if(!de[r]&&ot(r)&&(A.tagNameCheck instanceof RegExp&&Z(A.tagNameCheck,r)||A.tagNameCheck instanceof Function&&A.tagNameCheck(r)))return!1;if(Te&&!P[r]){let t=v(e)||e.parentNode,n=ee(e)||e.childNodes;if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=h(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,_(e))}}}return Ze(e),!0}return e instanceof c&&!Xe(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&Z(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ze(e),!0):(_e&&e.nodeType===hs.text&&(n=e.textContent,jo([C,w,ae],e=>{n=zo(n,e,` `)}),e.textContent!==n&&(Po(t.removed,{element:e.cloneNode()}),e.textContent=n)),rt(S.afterSanitizeElements,e,null),!1)},at=function(e,t,r){if(fe[t]||N&&(t===`id`||t===`name`)&&(r in n||r in Ge))return!1;if(!(me&&!fe[t]&&Z(oe,t))&&!(pe&&Z(T,t))&&!(j.attributeCheck instanceof Function&&j.attributeCheck(t,e))){if(!O[t]||fe[t]){if(!(ot(e)&&(A.tagNameCheck instanceof RegExp&&Z(A.tagNameCheck,e)||A.tagNameCheck instanceof Function&&A.tagNameCheck(e))&&(A.attributeNameCheck instanceof RegExp&&Z(A.attributeNameCheck,t)||A.attributeNameCheck instanceof Function&&A.attributeNameCheck(t,e))||t===`is`&&A.allowCustomizedBuiltInElements&&(A.tagNameCheck instanceof RegExp&&Z(A.tagNameCheck,r)||A.tagNameCheck instanceof Function&&A.tagNameCheck(r))))return!1}else if(!je[t]&&!Z(le,zo(r,se,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Bo(r,`data:`)===0&&ke[e])&&!(he&&!Z(E,zo(r,se,``)))&&r)return!1}return!0},ot=function(e){return e!==`annotation-xml`&&Ro(e,ce)},st=function(e){rt(S.beforeSanitizeAttributes,e,null);let{attributes:n}=e;if(!n||tt(e))return;let r={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:O,forceKeepAttr:void 0},i=n.length;for(;i--;){let{name:a,namespaceURI:o,value:s}=n[i],c=I(a),l=s,u=a===`value`?l:Vo(l);if(r.attrName=c,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,rt(S.uponSanitizeAttribute,e,r),u=r.attrValue,we&&(c===`id`||c===`name`)&&(Qe(a,e),u=`user-content-`+u),ve&&Z(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)){Qe(a,e);continue}if(c===`attributename`&&Ro(u,`href`)){Qe(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Qe(a,e);continue}if(!ge&&Z(/\/>/i,u)){Qe(a,e);continue}_e&&jo([C,w,ae],e=>{u=zo(u,e,` `)});let d=I(e.nodeName);if(!at(d,c,u)){Qe(a,e);continue}if(y&&typeof p==`object`&&typeof p.getAttributeType==`function`&&!o)switch(p.getAttributeType(d,c)){case`TrustedHTML`:u=y.createHTML(u);break;case`TrustedScriptURL`:u=y.createScriptURL(u);break}if(u!==l)try{o?e.setAttributeNS(o,a,u):e.setAttribute(a,u),tt(e)?Ze(e):No(t.removed)}catch{Qe(a,e)}}rt(S.afterSanitizeAttributes,e,null)},ct=function e(t){let n=null,r=et(t);for(rt(S.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)rt(S.uponSanitizeShadowNode,n,null),it(n),st(n),n.content instanceof a&&e(n.content);rt(S.afterSanitizeShadowDOM,t,null)};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,o=null,c=null,l=null;if(Ie=!e,Ie&&(e=`<!-->`),typeof e!=`string`&&!nt(e))if(typeof e.toString==`function`){if(e=e.toString(),typeof e!=`string`)throw Ho(`dirty is not a string, aborting`)}else throw Ho(`toString is not a function`);if(!t.isSupported)return e;if(ye||qe(n),t.removed=[],typeof e==`string`&&(Ee=!1),Ee){if(e.nodeName){let t=I(e.nodeName);if(!D[t]||de[t])throw Ho(`root node is forbidden and cannot be sanitized in-place`)}}else if(e instanceof s)i=$e(`<!---->`),o=i.ownerDocument.importNode(e,!0),o.nodeType===hs.element&&o.nodeName===`BODY`||o.nodeName===`HTML`?i=o:i.appendChild(o);else{if(!xe&&!_e&&!M&&e.indexOf(`<`)===-1)return y&&Ce?y.createHTML(e):e;if(i=$e(e),!i)return xe?null:Ce?te:``}i&&be&&Ze(i.firstChild);let u=et(Ee?e:i);for(;c=u.nextNode();)it(c),st(c),c.content instanceof a&&ct(c.content);if(Ee)return e;if(xe){if(Se)for(l=b.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(O.shadowroot||O.shadowrootmode)&&(l=ie.call(r,l,!0)),l}let d=M?i.outerHTML:i.innerHTML;return M&&D[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&Z(fs,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
4
+ `+d),_e&&jo([C,w,ae],e=>{d=zo(d,e,` `)}),y&&Ce?y.createHTML(d):d},t.setConfig=function(){qe(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),ye=!0},t.clearConfig=function(){We=null,ye=!1},t.isValidAttribute=function(e,t,n){return We||qe({}),at(I(e),I(t),n)},t.addHook=function(e,t){typeof t==`function`&&Po(S[e],t)},t.removeHook=function(e,t){if(t!==void 0){let n=Mo(S[e],t);return n===-1?void 0:Fo(S[e],n,1)[0]}return No(S[e])},t.removeHooks=function(e){S[e]=[]},t.removeAllHooks=function(){S=vs()},t}var bs=ys(),xs=new Map,Ss=bs();async function Cs(e,t){let n=`${e}:${t}`;if(xs.has(n))return xs.get(n);let r=i().then(e=>(xs.set(n,e),e));return xs.set(n,r),r;async function i(){let n=`https://api.iconify.design/${e}/${t}.svg?color=currentColor&width=100%`,r=await fetch(n).then(e=>e.text());return Ss.sanitize(r)}}var ws=[`innerHTML`],Ts=[`src`],Es=E({__name:`IconifyIcon`,props:{icon:{}},setup(t){let n=t,r=S(()=>n.icon.includes(`/`)||n.icon.startsWith(`data:`)||n.icon.startsWith(`builtin:`)),i=S(()=>{if(r.value)return;let e=n.icon.match(/^(?:i-)?([\w-]+):([\w-]+)$/);if(e)return{collection:e[1],icon:e[2]}}),a=e(void 0);return v(async()=>{if(!i.value){a.value=void 0;return}a.value=await Cs(i.value.collection,i.value.icon)}),(e,n)=>i.value?(C(),D(`div`,{key:0,innerHTML:a.value},null,8,ws)):(C(),D(`img`,{key:1,src:t.icon,class:`w-full h-full m-auto`,draggable:`false`},null,8,Ts))}}),Ds={},Os={viewBox:`0 0 22 22`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function ks(e,t){return C(),D(`svg`,Os,[...t[0]||=[ae(`<g clip-path="url(#clip0_2_2)"><path d="M11.85 20.535C11.7881 20.6144 11.7029 20.6726 11.6064 20.7012C11.5098 20.7298 11.4067 20.7276 11.3115 20.6947C11.2163 20.6619 11.1337 20.6001 11.0754 20.5181C11.017 20.436 10.9858 20.3377 10.986 20.237V15.834C10.986 15.5775 10.8841 15.3316 10.7028 15.1502C10.5214 14.9689 10.2755 14.867 10.019 14.867H5.157C5.06821 14.867 4.98114 14.8426 4.90534 14.7964C4.82954 14.7501 4.76795 14.6839 4.72734 14.6049C4.68673 14.526 4.66866 14.4374 4.67513 14.3488C4.6816 14.2603 4.71235 14.1752 4.764 14.103L7.961 9.62801C8.06459 9.48335 8.12626 9.31291 8.13923 9.13546C8.15219 8.95801 8.11594 8.78042 8.03448 8.62224C7.95301 8.46406 7.82948 8.33143 7.67749 8.23893C7.52549 8.14644 7.35093 8.09768 7.173 8.09801H1.29C1.20122 8.09803 1.11414 8.07359 1.03834 8.02736C0.962542 7.98113 0.900953 7.91489 0.86034 7.83594C0.819727 7.75699 0.801662 7.66837 0.80813 7.57982C0.814597 7.49127 0.845347 7.40622 0.897 7.33401L5.04 1.53301C5.08452 1.46999 5.14358 1.41864 5.21217 1.38331C5.28075 1.34797 5.35685 1.32969 5.434 1.33001H17.782C18.175 1.33001 18.404 1.77501 18.175 2.09401L14.978 6.57001C14.521 7.21001 14.978 8.10001 15.766 8.10001H20.627C21.031 8.10001 21.257 8.56401 21.007 8.88201L11.85 20.535Z" fill="#6254FE"></path><mask id="mask0_2_2" style="mask-type:alpha;" maskUnits="userSpaceOnUse" x="0" y="1" width="22" height="20"><path d="M11.85 20.535C11.7881 20.6144 11.7029 20.6726 11.6064 20.7012C11.5098 20.7298 11.4067 20.7276 11.3115 20.6947C11.2163 20.6619 11.1337 20.6001 11.0754 20.5181C11.017 20.436 10.9858 20.3377 10.986 20.237V15.834C10.986 15.5775 10.8841 15.3316 10.7028 15.1502C10.5214 14.9689 10.2755 14.867 10.019 14.867H5.157C5.06821 14.867 4.98114 14.8426 4.90534 14.7964C4.82954 14.7501 4.76795 14.6839 4.72734 14.6049C4.68673 14.526 4.66866 14.4374 4.67513 14.3488C4.6816 14.2603 4.71235 14.1752 4.764 14.103L7.961 9.62801C8.06459 9.48335 8.12626 9.31291 8.13923 9.13546C8.15219 8.95801 8.11594 8.78042 8.03448 8.62224C7.95301 8.46406 7.82948 8.33143 7.67749 8.23893C7.52549 8.14644 7.35093 8.09768 7.173 8.09801H1.29C1.20122 8.09803 1.11414 8.07359 1.03834 8.02736C0.962542 7.98113 0.900953 7.91489 0.86034 7.83594C0.819727 7.75699 0.801662 7.66837 0.80813 7.57982C0.814597 7.49127 0.845347 7.40622 0.897 7.33401L5.04 1.53301C5.08452 1.46999 5.14358 1.41864 5.21217 1.38331C5.28075 1.34797 5.35685 1.32969 5.434 1.33001H17.782C18.175 1.33001 18.404 1.77501 18.175 2.09401L14.978 6.57001C14.521 7.21001 14.978 8.10001 15.766 8.10001H20.627C21.031 8.10001 21.257 8.56401 21.007 8.88201L11.85 20.535Z" fill="#833BFF"></path></mask><g mask="url(#mask0_2_2)"><g filter="url(#filter0_f_2_2)"><path d="M11.4271 17.1119C11.4313 18.412 8.62134 19.475 5.1508 19.4863C1.68026 19.4975 -1.13659 18.4528 -1.14081 17.1527C-1.14503 15.8526 1.66497 14.7896 5.13551 14.7783C8.60605 14.767 11.4229 15.8118 11.4271 17.1119Z" fill="#EDE6FF"></path></g><g filter="url(#filter1_f_2_2)"><path d="M9.48364 9.06048C9.49161 11.5148 3.78614 13.523 -3.25987 13.5459C-10.3059 13.5688 -16.0243 11.5977 -16.0322 9.14332C-16.0402 6.68898 -10.3347 4.6808 -3.28872 4.65792C3.75729 4.63505 9.47567 6.60614 9.48364 9.06048Z" fill="#EDE6FF"></path></g><g filter="url(#filter2_f_2_2)"><path d="M9.53104 8.43813C9.53526 9.7382 3.70543 10.8111 -3.49025 10.8344C-10.6859 10.8578 -16.5226 9.82279 -16.5268 8.52272C-16.531 7.22265 -10.7012 6.1498 -3.50554 6.12644C3.69014 6.10308 9.52682 7.13806 9.53104 8.43813Z" fill="#4E14FF"></path></g><g filter="url(#filter3_f_2_2)"><path d="M11.5916 16.1293C11.5958 17.4293 5.74448 18.5022 -1.47775 18.5256C-8.69997 18.549 -14.5582 17.5141 -14.5624 16.214C-14.5666 14.9139 -8.71523 13.841 -1.493 13.8176C5.72923 13.7942 11.5874 14.8292 11.5916 16.1293Z" fill="#4E14FF"></path></g><g filter="url(#filter4_f_2_2)"><path d="M12.2473 16.6206C12.2515 17.9206 6.40021 18.9935 -0.821978 19.017C-8.04417 19.0404 -13.9023 18.0055 -13.9066 16.7055C-13.9108 15.4054 -8.05945 14.3325 -0.837261 14.309C6.38493 14.2856 12.2431 15.3205 12.2473 16.6206Z" fill="#4E14FF"></path></g><g filter="url(#filter5_f_2_2)"><path d="M14.047 5.7039C14.2411 2.38813 18.6158 -0.0529585 23.8183 0.251568C29.0207 0.556095 33.0808 3.49092 32.8867 6.80669C32.6926 10.1225 28.3179 12.5635 23.1154 12.259C17.913 11.9545 13.8529 9.01966 14.047 5.7039Z" fill="#EDE6FF"></path></g><g filter="url(#filter6_f_2_2)"><path d="M14.7518 7.88531C14.7376 7.06639 18.8396 6.33138 23.9137 6.2436C28.9879 6.15583 33.1129 6.74854 33.127 7.56745C33.1412 8.38637 29.0392 9.12139 23.965 9.20916C18.8909 9.29693 14.7659 8.70422 14.7518 7.88531Z" fill="#4E14FF"></path></g><g filter="url(#filter7_f_2_2)"><path d="M14.7518 7.88531C14.7376 7.06639 18.8396 6.33138 23.9137 6.2436C28.9879 6.15583 33.1129 6.74854 33.127 7.56745C33.1412 8.38637 29.0392 9.12139 23.965 9.20916C18.8909 9.29693 14.7659 8.70422 14.7518 7.88531Z" fill="#4E14FF"></path></g><g filter="url(#filter8_f_2_2)"><path d="M-6.98848 14.7616C-6.18615 15.4233 -1.99229 11.6626 2.37876 6.362C6.74982 1.06138 9.64283 -3.77199 8.84049 -4.43362C8.03816 -5.09525 3.8443 -1.3346 -0.526755 3.96602C-4.89781 9.26665 -7.79082 14.1 -6.98848 14.7616Z" fill="#4E14FF"></path></g><g filter="url(#filter9_f_2_2)"><path d="M13.4305 8.5449C14.2512 9.18361 18.3372 5.30605 22.5568 -0.115883C26.7764 -5.53781 29.5318 -10.4509 28.7111 -11.0896C27.8904 -11.7284 23.8044 -7.8508 19.5848 -2.42887C15.3651 2.99306 12.6098 7.90619 13.4305 8.5449Z" fill="#4E14FF"></path></g><g filter="url(#filter10_f_2_2)"><path d="M14.9501 9.73878C16.4926 10.9392 19.2111 10.026 21.0221 7.69897C22.8331 5.37198 23.0507 2.51245 21.5083 1.31202C19.9658 0.111596 17.2473 1.02485 15.4363 3.35184C13.6253 5.67882 13.4077 8.53835 14.9501 9.73878Z" fill="#2BFDD2"></path></g><g filter="url(#filter11_f_2_2)"><path d="M-7.68233 27.5293C-6.86163 28.168 -2.77563 24.2904 1.44401 18.8685C5.66365 13.4466 8.41904 8.53346 7.59834 7.89474C6.77764 7.25603 2.69164 11.1336 -1.528 16.5555C-5.74764 21.9775 -8.50303 26.8906 -7.68233 27.5293Z" fill="#4E14FF"></path></g><g filter="url(#filter12_f_2_2)"><path d="M-7.68233 27.5293C-6.86163 28.168 -2.77563 24.2904 1.44401 18.8685C5.66365 13.4466 8.41904 8.53346 7.59834 7.89474C6.77764 7.25603 2.69164 11.1336 -1.528 16.5555C-5.74764 21.9775 -8.50303 26.8906 -7.68233 27.5293Z" fill="#4E14FF"></path></g><g filter="url(#filter13_f_2_2)"><path d="M8.26366 23.8563C9.13579 24.535 13.2635 20.6899 17.4831 15.268C21.7028 9.84604 24.4165 4.90047 23.5443 4.22173C22.6722 3.54299 18.5445 7.38811 14.3249 12.81C10.1052 18.232 7.39153 23.1775 8.26366 23.8563Z" fill="#4E14FF"></path></g><g filter="url(#filter14_f_2_2)"><path d="M12.2866 22.5389C13.7846 23.7047 17.4746 21.4689 20.5284 17.5449C23.5822 13.621 24.8434 9.49495 23.3454 8.32912C21.8474 7.16329 18.1574 9.39917 15.1036 13.3231C12.0498 17.247 10.7886 21.3731 12.2866 22.5389Z" fill="#2BFDD2"></path></g></g></g><defs><filter id="filter0_f_2_2" x="-7.68682" y="8.2322" width="25.6599" height="17.8002" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="3.273" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter1_f_2_2" x="-22.5782" y="-1.88827" width="38.6079" height="21.9804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="3.273" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter2_f_2_2" x="-20.4548" y="2.19805" width="33.9139" height="12.5647" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter3_f_2_2" x="-18.4904" y="9.88925" width="34.01" height="12.5648" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter4_f_2_2" x="-17.8346" y="10.3806" width="34.0099" height="12.5648" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter5_f_2_2" x="7.4943" y="-6.32009" width="31.9451" height="25.1508" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="3.273" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter6_f_2_2" x="10.8237" y="2.30699" width="26.2313" height="10.8388" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter7_f_2_2" x="10.8237" y="2.30699" width="26.2313" height="10.8388" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter8_f_2_2" x="-11.0501" y="-8.43711" width="23.9523" height="27.2022" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter9_f_2_2" x="9.35783" y="-15.0865" width="23.4259" height="27.6282" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter10_f_2_2" x="9.99386" y="-3.14457" width="16.4707" height="17.3399" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter11_f_2_2" x="-11.755" y="3.89791" width="23.4259" height="27.6282" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter12_f_2_2" x="-11.755" y="3.89791" width="23.4259" height="27.6282" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter13_f_2_2" x="4.17262" y="0.216058" width="23.4628" height="27.6459" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><filter id="filter14_f_2_2" x="7.72776" y="4.09222" width="20.1765" height="22.6836" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_2_2"></feGaussianBlur></filter><clipPath id="clip0_2_2"><rect width="22" height="22" fill="white"></rect></clipPath></defs>`,2)]])}var As=pe(Ds,[[`render`,ks]]),js={key:1},Ms=E({__name:`DockIcon`,props:{icon:{},title:{}},setup(e){let t=e,n=S(()=>typeof t.icon==`string`?{dark:t.icon,light:t.icon}:t.icon);return(t,r)=>n.value.light===`builtin:vite-plus-core`?(C(),j(As,{key:0})):(C(),D(`div`,js,[n.value.light===n.value.dark?(C(),j(Es,{key:0,icon:n.value.light,title:e.title},null,8,[`icon`,`title`])):(C(),D(O,{key:1},[A(Es,{class:`dark-hidden`,icon:n.value.light,title:e.title},null,8,[`icon`,`title`]),A(Es,{class:`light-hidden`,icon:n.value.dark,title:e.title},null,8,[`icon`,`title`])],64))]))}}),Ns=[`title`],Ps={key:0,class:`absolute top-0.5 right-0 bg-gray-6 text-white text-0.6em px-1 rounded-full shadow`},Fs=E({__name:`DockEntry`,props:{context:{},dock:{},isSelected:{type:Boolean},isDimmed:{type:Boolean},isVertical:{type:Boolean},badge:{},tooltip:{type:Boolean,default:!0}},setup(e){let t=e,r=n(`button`);function i(){t.tooltip&&r.value&&ua({content:t.dock.title,el:r.value})}function a(){t.tooltip&&ua(null)}function o(e){if(!r.value||t.dock.id===`overflow`)return;e.preventDefault(),a();let n=t.context.docks.entries.find(e=>e.id===t.dock.id);n&&So({context:t.context,entry:n,el:r.value,gap:6})}return mo(`pointerdown`,()=>{t.tooltip&&ua(null)}),(t,n)=>(C(),D(`div`,{key:e.dock.id,class:`relative group vite-devtools-dock-entry`,onPointerenter:i,onPointerleave:a,onContextmenu:o},[k(`button`,{ref_key:`button`,ref:r,title:e.dock.title,class:b([[e.isVertical?`rotate-270`:``,e.isDimmed?`op50 saturate-0`:``,e.isSelected?`scale-120 text-purple`:``],`flex items-center justify-center p1.5 rounded-xl hover:bg-[#8881] hover:scale-110 transition-all duration-300 relative`])},[A(Ms,{icon:e.dock.icon,title:e.dock.title,class:`w-5 h-5 select-none`},null,8,[`icon`,`title`]),e.badge?(C(),D(`div`,Ps,x(e.badge),1)):w(``,!0)],10,Ns)],32))}}),Is=E({__name:`DockEntries`,props:{context:{},entries:{},selected:{},isVertical:{type:Boolean}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,{selected:i,isVertical:a,entries:o}=f(n);function s(e){i.value?.id===e.id?r(`select`,void 0):r(`select`,e)}return(t,n)=>(C(!0),D(O,null,_e(h(o),t=>(C(),D(O,{key:t.id},[t.isHidden?w(``,!0):(C(),j(Fs,{key:0,context:e.context,dock:t,"is-selected":h(i)?.id===t.id,"is-dimmed":h(i)?h(i).id!==t.id:!1,"is-vertical":h(a),onClick:e=>s(t)},null,8,[`context`,`dock`,`is-selected`,`is-dimmed`,`is-vertical`,`onClick`]))],64))),128))}}),Ls=E({__name:`DockEntriesWithCategories`,props:{context:{},groups:{},selected:{},isVertical:{type:Boolean}},emits:[`select`],setup(e,{emit:t}){let n=t;return(t,r)=>(C(!0),D(O,null,_e(e.groups,([i,a],o)=>(C(),D(O,{key:i},[o>0?ee(t.$slots,`separator`,{key:0,category:i,index:o,isVertical:e.isVertical},()=>[r[1]||=k(`div`,{class:`border-base m1 h-20px w-px border-r-1.5`},null,-1)]):w(``,!0),A(Is,{context:e.context,entries:a,"is-vertical":e.isVertical,selected:e.selected,onSelect:r[0]||=e=>n(`select`,e)},null,8,[`context`,`entries`,`is-vertical`,`selected`])],64))),128))}}),Rs=100,zs=10,Bs=E({name:`FloatingPopover`,props:{item:{type:Object,required:!1},dismissOnClickOutside:{type:Boolean,default:!0}},emits:[`dismiss`],setup(t,{emit:r}){let i=n(`panel`),a=e(t.item?.el),o=e(0),s=lo(()=>{t.item?.el??(a.value=void 0)},800);t.dismissOnClickOutside&&go(i,()=>{r(`dismiss`)}),ge(()=>t.item,e=>{e?a.value===e.el?o.value++:a.value=e.el:s()});let c;return()=>{if(o.value,!a.value)return null;let e=a.value.getBoundingClientRect(),n=`bottom`,r=window.innerWidth,i=window.innerHeight;e.left<Rs?n=`right`:e.left+e.width>r-Rs?n=`left`:e.top<Rs?n=`bottom`:e.top+e.height>i-Rs&&(n=`top`);let s={},l=t.item?.gap??zs;switch(n){case`bottom`:s={left:`${e.left+e.width/2}px`,top:`${e.top+e.height+l}px`,transform:`translateX(-50%)`};break;case`top`:s={left:`${e.left+e.width/2}px`,bottom:`${i-e.top+l}px`,transform:`translateX(-50%)`};break;case`left`:s={right:`${r-e.left+l}px`,top:`${e.top+e.height/2}px`,transform:`translateY(-50%)`};break;case`right`:s={left:`${e.left+e.width+l}px`,top:`${e.top+e.height/2}px`,transform:`translateY(-50%)`};break}let u=(typeof t.item?.content==`string`?T(`span`,t.item?.content):t.item?.content())??c;return c=u,T(`div`,{ref:`panel`,class:[`fixed z-floating-tooltip text-xs transition-all duration-300 w-max bg-glass color-base border border-base rounded px2 p1`,t.item?`op100`:`op0 pointer-events-none`],style:s},u)}}}),Vs=E({__name:`FloatingElements`,setup(e){let t=da(),n=pa(),r=ha();return mo(window,`keydown`,e=>{e.key===`Escape`&&r.value&&ma(null)}),(e,i)=>(C(),D(O,null,[A(h(Bs),{item:h(r),onDismiss:i[0]||=()=>h(ma)(null)},null,8,[`item`]),A(h(Bs),{item:h(n),onDismiss:i[1]||=()=>h(fa)(null)},null,8,[`item`]),A(h(Bs),{item:h(t)},null,8,[`item`])],64))}}),Hs={},Us={viewBox:`0 0 40 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Ws(e,t){return C(),D(`svg`,Us,[...t[0]||=[ae(`<path d="M21.1636 29.535C21.1017 29.6144 21.0166 29.6725 20.92 29.7012C20.8234 29.7298 20.7204 29.7276 20.6251 29.6947C20.5299 29.6619 20.4474 29.6001 20.389 29.518C20.3307 29.436 20.2994 29.3377 20.2996 29.237V24.834C20.2996 24.5775 20.1978 24.3316 20.0164 24.1502C19.8351 23.9689 19.5891 23.867 19.3326 23.867H14.4706C14.3819 23.867 14.2948 23.8426 14.219 23.7963C14.1432 23.7501 14.0816 23.6839 14.041 23.6049C14.0004 23.526 13.9823 23.4374 13.9888 23.3488C13.9952 23.2603 14.026 23.1752 14.0776 23.103L17.2746 18.628C17.3782 18.4833 17.4399 18.3129 17.4529 18.1354C17.4658 17.958 17.4296 17.7804 17.3481 17.6222C17.2666 17.464 17.1431 17.3314 16.9911 17.2389C16.8391 17.1464 16.6646 17.0977 16.4866 17.098H10.6036C10.5149 17.098 10.4278 17.0736 10.352 17.0273C10.2762 16.9811 10.2146 16.9149 10.174 16.8359C10.1334 16.757 10.1153 16.6684 10.1218 16.5798C10.1282 16.4913 10.159 16.4062 10.2106 16.334L14.3536 10.533C14.3982 10.47 14.4572 10.4186 14.5258 10.3833C14.5944 10.348 14.6705 10.3297 14.7476 10.33H27.0956C27.4886 10.33 27.7176 10.775 27.4886 11.094L24.2916 15.57C23.8346 16.21 24.2916 17.1 25.0796 17.1H29.9406C30.3446 17.1 30.5706 17.564 30.3206 17.882L21.1636 29.535Z" fill="#6254FE"></path><mask id="mask0_3_2" style="mask-type:alpha;" maskUnits="userSpaceOnUse" x="10" y="10" width="21" height="20"><path d="M21.1636 29.535C21.1017 29.6144 21.0166 29.6725 20.92 29.7012C20.8234 29.7298 20.7204 29.7276 20.6251 29.6947C20.5299 29.6619 20.4474 29.6001 20.389 29.518C20.3307 29.436 20.2994 29.3377 20.2996 29.237V24.834C20.2996 24.5775 20.1978 24.3316 20.0164 24.1502C19.8351 23.9689 19.5891 23.867 19.3326 23.867H14.4706C14.3819 23.867 14.2948 23.8426 14.219 23.7963C14.1432 23.7501 14.0816 23.6839 14.041 23.6049C14.0004 23.526 13.9823 23.4374 13.9888 23.3488C13.9952 23.2603 14.026 23.1752 14.0776 23.103L17.2746 18.628C17.3782 18.4833 17.4399 18.3129 17.4529 18.1354C17.4658 17.958 17.4296 17.7804 17.3481 17.6222C17.2666 17.464 17.1431 17.3314 16.9911 17.2389C16.8391 17.1464 16.6646 17.0977 16.4866 17.098H10.6036C10.5149 17.098 10.4278 17.0736 10.352 17.0273C10.2762 16.9811 10.2146 16.9149 10.174 16.8359C10.1334 16.757 10.1153 16.6684 10.1218 16.5798C10.1282 16.4913 10.159 16.4062 10.2106 16.334L14.3536 10.533C14.3982 10.47 14.4572 10.4186 14.5258 10.3833C14.5944 10.348 14.6705 10.3297 14.7476 10.33H27.0956C27.4886 10.33 27.7176 10.775 27.4886 11.094L24.2916 15.57C23.8346 16.21 24.2916 17.1 25.0796 17.1H29.9406C30.3446 17.1 30.5706 17.564 30.3206 17.882L21.1636 29.535Z" fill="#833BFF"></path></mask><g mask="url(#mask0_3_2)"><g filter="url(#filter0_f_3_2)"><path d="M20.7408 26.1119C20.745 27.4119 17.935 28.475 14.4644 28.4863C10.9939 28.4975 8.17705 27.4527 8.17283 26.1527C8.16861 24.8526 10.9786 23.7895 14.4492 23.7783C17.9197 23.767 20.7365 24.8118 20.7408 26.1119Z" fill="#EDE6FF"></path></g><g filter="url(#filter1_f_3_2)"><path d="M18.7973 18.0605C18.8053 20.5148 13.0998 22.523 6.05378 22.5458C-0.992227 22.5687 -6.71061 20.5976 -6.71858 18.1433C-6.72654 15.6889 -1.02108 13.6808 6.02493 13.6579C13.0709 13.635 18.7893 15.6061 18.7973 18.0605Z" fill="#EDE6FF"></path></g><g filter="url(#filter2_f_3_2)"><path d="M18.8447 17.4381C18.8489 18.7382 13.0191 19.8111 5.82339 19.8344C-1.37229 19.8578 -7.20896 18.8228 -7.21318 17.5227C-7.2174 16.2226 -1.38757 15.1498 5.80811 15.1264C13.0038 15.1031 18.8405 16.1381 18.8447 17.4381Z" fill="#4E14FF"></path></g><g filter="url(#filter3_f_3_2)"><path d="M20.9053 25.1293C20.9095 26.4294 15.0581 27.5022 7.83591 27.5256C0.613678 27.549 -5.24451 26.5141 -5.24872 25.214C-5.25293 23.9139 0.598424 22.841 7.82065 22.8176C15.0429 22.7942 20.9011 23.8292 20.9053 25.1293Z" fill="#4E14FF"></path></g><g filter="url(#filter4_f_3_2)"><path d="M21.561 25.6205C21.5652 26.9206 15.7139 27.9935 8.49167 28.017C1.26948 28.0404 -4.58868 27.0055 -4.5929 25.7054C-4.59712 24.4054 1.2542 23.3324 8.47639 23.309C15.6986 23.2855 21.5567 24.3205 21.561 25.6205Z" fill="#4E14FF"></path></g><g filter="url(#filter5_f_3_2)"><path d="M23.3606 14.7039C23.5547 11.3881 27.9295 8.94703 33.1319 9.25155C38.3344 9.55608 42.3945 12.4909 42.2004 15.8067C42.0063 19.1224 37.6315 21.5635 32.4291 21.259C27.2266 20.9545 23.1665 18.0196 23.3606 14.7039Z" fill="#EDE6FF"></path></g><g filter="url(#filter6_f_3_2)"><path d="M24.0654 16.8853C24.0512 16.0664 28.1532 15.3313 33.2274 15.2436C38.3016 15.1558 42.4265 15.7485 42.4407 16.5674C42.4548 17.3863 38.3529 18.1214 33.2787 18.2091C28.2045 18.2969 24.0796 17.7042 24.0654 16.8853Z" fill="#4E14FF"></path></g><g filter="url(#filter7_f_3_2)"><path d="M24.0654 16.8853C24.0512 16.0664 28.1532 15.3313 33.2274 15.2436C38.3016 15.1558 42.4265 15.7485 42.4407 16.5674C42.4548 17.3863 38.3529 18.1214 33.2787 18.2091C28.2045 18.2969 24.0796 17.7042 24.0654 16.8853Z" fill="#4E14FF"></path></g><g filter="url(#filter8_f_3_2)"><path d="M2.32515 23.7616C3.12749 24.4233 7.32135 20.6626 11.6924 15.362C16.0635 10.0614 18.9565 5.228 18.1541 4.56637C17.3518 3.90474 13.1579 7.66538 8.78688 12.966C4.41583 18.2666 1.52282 23.1 2.32515 23.7616Z" fill="#4E14FF"></path></g><g filter="url(#filter9_f_3_2)"><path d="M22.7441 17.5449C23.5648 18.1836 27.6508 14.306 31.8704 8.8841C36.0901 3.46217 38.8455 -1.45095 38.0248 -2.08966C37.2041 -2.72838 33.1181 1.14919 28.8984 6.57112C24.6788 11.993 21.9234 16.9062 22.7441 17.5449Z" fill="#4E14FF"></path></g><g filter="url(#filter10_f_3_2)"><path d="M24.2638 18.7387C25.8062 19.9392 28.5247 19.0259 30.3357 16.6989C32.1467 14.372 32.3644 11.5124 30.8219 10.312C29.2795 9.11157 26.561 10.0248 24.75 12.3518C22.939 14.6788 22.7213 17.5383 24.2638 18.7387Z" fill="#2BFDD2"></path></g><g filter="url(#filter11_f_3_2)"><path d="M1.6313 36.5293C2.452 37.168 6.53801 33.2904 10.7576 27.8685C14.9773 22.4465 17.7327 17.5334 16.912 16.8947C16.0913 16.256 12.0053 20.1336 7.78563 25.5555C3.56599 30.9774 0.810605 35.8905 1.6313 36.5293Z" fill="#4E14FF"></path></g><g filter="url(#filter12_f_3_2)"><path d="M1.6313 36.5293C2.452 37.168 6.53801 33.2904 10.7576 27.8685C14.9773 22.4465 17.7327 17.5334 16.912 16.8947C16.0913 16.256 12.0053 20.1336 7.78563 25.5555C3.56599 30.9774 0.810605 35.8905 1.6313 36.5293Z" fill="#4E14FF"></path></g><g filter="url(#filter13_f_3_2)"><path d="M17.5773 32.8563C18.4494 33.535 22.5771 29.6899 26.7968 24.268C31.0164 18.846 33.7301 13.9005 32.858 13.2217C31.9859 12.543 27.8582 16.3881 23.6385 21.81C19.4189 27.232 16.7052 32.1775 17.5773 32.8563Z" fill="#4E14FF"></path></g><g filter="url(#filter14_f_3_2)"><path d="M21.6002 31.5389C23.0982 32.7047 26.7882 30.4688 29.842 26.5449C32.8958 22.621 34.1571 18.4949 32.6591 17.3291C31.1611 16.1633 27.4711 18.3991 24.4173 22.3231C21.3635 26.247 20.1022 30.3731 21.6002 31.5389Z" fill="#2BFDD2"></path></g></g><path d="M6.95763 10C3.02563 15.628 3.00263 24.351 6.95763 30H9.61363C5.65963 24.35 5.68363 15.627 9.61363 10H6.95763ZM33.9386 20H36.5956C36.5946 16.407 35.6056 12.816 33.6386 10H30.9826C32.9486 12.816 33.9366 16.407 33.9386 20ZM38.6276 24.907H35.9626C36.1589 24.1665 36.3102 23.4148 36.4156 22.656H33.7586C33.6531 23.4148 33.5019 24.1665 33.3056 24.907H30.6366C30.3961 25.8176 30.0804 26.7067 29.6926 27.565H32.3616C31.9785 28.4179 31.5165 29.2331 30.9816 30H33.6376C34.1725 29.2331 34.6345 28.4179 35.0176 27.565H37.6826C38.0686 26.714 38.3836 25.823 38.6276 24.907Z" fill="#08060D" class="fill-hex-08060D dark:fill-hex-fff"></path><defs><filter id="filter0_f_3_2" x="1.62683" y="17.2322" width="25.6599" height="17.8001" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="3.273" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter1_f_3_2" x="-13.2646" y="7.11168" width="38.6079" height="21.9804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="3.273" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter2_f_3_2" x="-11.1412" y="11.198" width="33.9139" height="12.5648" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter3_f_3_2" x="-9.17672" y="18.8893" width="34.01" height="12.5648" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter4_f_3_2" x="-8.5209" y="19.3806" width="34.0099" height="12.5648" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter5_f_3_2" x="16.8079" y="2.67989" width="31.9451" height="25.1508" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="3.273" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter6_f_3_2" x="20.1374" y="11.307" width="26.2313" height="10.8388" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter7_f_3_2" x="20.1374" y="11.307" width="26.2313" height="10.8388" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter8_f_3_2" x="-1.73649" y="0.562875" width="23.9523" height="27.2023" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter9_f_3_2" x="18.6715" y="-6.08651" width="23.4259" height="27.6282" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter10_f_3_2" x="19.3075" y="5.85539" width="16.4707" height="17.3399" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter11_f_3_2" x="-2.44132" y="12.8979" width="23.4259" height="27.6282" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter12_f_3_2" x="-2.44132" y="12.8979" width="23.4259" height="27.6282" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter13_f_3_2" x="13.4863" y="9.21607" width="23.4628" height="27.6459" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter><filter id="filter14_f_3_2" x="17.0414" y="13.0922" width="20.1765" height="22.6836" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="1.964" result="effect1_foregroundBlur_3_2"></feGaussianBlur></filter></defs>`,5)]])}var Gs=pe(Hs,[[`render`,Ws]]),Ks={class:`w-full h-full flex flex-col items-center justify-center p20`},qs={class:`max-w-150 flex flex-col items-center justify-center gap-2`},Js=E({__name:`ViewBuiltinClientAuthNotice`,props:{context:{}},setup(e){return(e,t)=>(C(),D(`div`,Ks,[k(`div`,qs,[A(Gs,{class:`w-20 h-20`}),t[0]||=k(`h1`,{class:`text-2xl font-bold text-violet mb2`},` Vite DevTools is Unauthorized `,-1),t[1]||=k(`p`,{class:`op75`},` Vite DevTools offers advanced features that can access your server, view your filesystem, and execute commands. `,-1),t[2]||=k(`p`,{class:`op75`},` To protect your project from unauthorized access, please authorize your browser before proceeding. `,-1),t[3]||=k(`p`,{class:`font-bold bg-green:5 p1 px3 rounded mt8 text-green`},` Check your terminal for the authorization prompt and come back. `,-1)])]))}}),Ys=Object.freeze({type:`~builtin`,id:`~client-auth-notice`,title:`Unauthorized`,icon:`i-fluent-emoji-flat-warning`}),Xs=Object.freeze([Ys]),Zs={"~viteplus":-1e3,default:0,app:100,framework:200,web:300,advanced:400,"~builtin":1e3};function Qs(e,t,n){let{docksHidden:r,docksCategoriesHidden:i,docksCustomOrder:a,docksPinned:o}=t,{includeHidden:s=!1}=n??{},c=new Map;for(let t of e){if(t.isHidden&&!s||!s&&r.includes(t.id))continue;let e=t.category??`default`;!s&&i.includes(e)||(c.has(e)||c.set(e,[]),c.get(e).push(t))}let l=Array.from(c.entries()).sort(([e],[t])=>{let n=Zs[e]||0,r=Zs[t]||0;return r===n?t.localeCompare(e):n-r});return l.forEach(([e,t])=>{t.sort((e,t)=>{let n=o.includes(e.id);if(n!==o.includes(t.id))return n?-1:1;let r=a[e.id]??0,i=a[t.id]??0;if(r!==i)return r-i;let s=e.defaultOrder??0,c=t.defaultOrder??0;return c===s?t.title.localeCompare(e.title):s-c})}),l}function $s(){return{width:80,height:80,top:0,left:10,position:`bottom`,open:!1,inactiveTimeout:3e3}}function ec(e,t){let n=vt(),r=le({entryMeta:e,get isActive(){return t.value?.id===e.id},domElements:{},events:m(n)});return ge(()=>t.value?.id,t=>{t===e.id?n.emit(`entry:activated`):n.emit(`entry:deactivated`)},{immediate:!0}),ge(()=>r.domElements.iframe,e=>{e&&n.emit(`dom:iframe:mounted`,e)},{immediate:!0}),ge(()=>r.domElements.panel,e=>{e&&n.emit(`dom:panel:mounted`,e)},{immediate:!0}),r}function tc(e){let t=ce(e.value());return e.on(`updated`,e=>{t.value=e}),t}var nc=new WeakMap;async function rc(e){if(nc.has(e))return nc.get(e);let t=tc(await e.sharedState.get(`devtoolskit:internal:docks`,{initialValue:[]}));return nc.set(e,t),t}var ic={class:`h-full w-full overflow-hidden`},ac={class:`h-full w-full overflow-auto p10`},oc={class:`max-w-200 mx-auto`},sc={class:`mb-8`},cc={class:`flex flex-col gap-4`},lc={class:`flex items-center gap-2 px-4 py-3 bg-gray/5 cursor-pointer select-none border-b border-base`},uc=[`onClick`],dc={class:`font-medium capitalize`},fc={class:`text-xs op40`},pc=[`onClick`],mc=[`title`,`onClick`],hc={key:0,class:`i-ph-check-bold text-xs`},gc={class:`flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity`},_c=[`onClick`],vc=[`onClick`],yc=[`title`,`onClick`],bc={class:`border-t border-base pt-6 mb-8`},xc={class:`flex flex-col gap-3`},Sc={class:`flex items-center gap-3 cursor-pointer group`},Cc=E({__name:`ViewBuiltinSettings`,props:{context:{},entry:{}},setup(e){let t=e,n=t.context.docks.settings,r=tc(n),i=S(()=>Qs(t.context.docks.entries,n.value(),{includeHidden:!0}));function a(e){return{"~viteplus":`Vite+`,default:`Default`,app:`App`,framework:`Framework`,web:`Web`,advanced:`Advanced`,"~builtin":`Built-in`}[e]||e}function o(e,t){let i=r.value.docksHidden.includes(e);t??i?n.mutate(t=>{t.docksHidden=t.docksHidden.filter(t=>t!==e)}):n.mutate(t=>{t.docksHidden=[...t.docksHidden,e]})}function s(e,t){let i=r.value.docksCategoriesHidden.includes(e);t??i?n.mutate(t=>{t.docksCategoriesHidden=t.docksCategoriesHidden.filter(t=>t!==e)}):n.mutate(t=>{t.docksCategoriesHidden=[...t.docksCategoriesHidden,e]})}function c(e){r.value.docksPinned.includes(e)?n.mutate(t=>{t.docksPinned=t.docksPinned.filter(t=>t!==e)}):n.mutate(t=>{t.docksPinned=[...t.docksPinned,e]})}function l(e){return r.value.docksCustomOrder[e]!==void 0}function u(e,t,r){let a=i.value.find(([t])=>t===e);if(!a)throw Error(`Category ${e} not found`);let o=[...a[1]],s=o.findIndex(e=>e.id===t),c=s+r;if(c<0||c>=o.length)throw Error(`Invalid new index ${c} for category ${e}`);o.splice(c,0,o.splice(s,1)[0]),a[1]=o,n.mutate(e=>{o.forEach((t,n)=>{e.docksCustomOrder[t.id]=n})})}function d(e){let t=i.value.find(([t])=>t===e);return t?t[1].some(e=>l(e.id)):!1}function f(e){let t=i.value.find(([t])=>t===e);t&&n.mutate(e=>{t[1].forEach(t=>{delete e.docksCustomOrder[t.id]})})}function p(){confirm(`Reset all dock settings to defaults?`)&&n.mutate(()=>_t())}return(e,t)=>(C(),D(`div`,ic,[k(`div`,ac,[k(`div`,oc,[t[11]||=k(`h1`,{class:`text-xl font-semibold mb-6 flex items-center gap-2 op85`},[k(`div`,{class:`i-ph-gear-duotone text-2xl`}),oe(` DevTools Settings `)],-1),k(`section`,sc,[t[5]||=k(`h2`,{class:`text-lg font-medium mb-4 op75`},` Dock Entries `,-1),t[6]||=k(`p`,{class:`text-sm op50 mb-4`},` Manage visibility and order of dock entries. Hidden entries will not appear in the dock bar. `,-1),k(`div`,cc,[(C(!0),D(O,null,_e(i.value,([e,n])=>(C(),D(`div`,{key:e,class:b([`border border-base rounded-lg overflow-hidden transition-opacity`,h(r).docksCategoriesHidden.includes(e)?`op40`:``])},[k(`div`,lc,[k(`button`,{class:b([`w-5 h-5 flex items-center justify-center rounded transition-colors`,h(r).docksCategoriesHidden.includes(e)?`bg-gray/20`:`bg-lime/20 text-lime`]),onClick:t=>s(e)},[k(`div`,{class:b([`transition-transform`,h(r).docksCategoriesHidden.includes(e)?`i-ph-eye-slash text-sm op50`:`i-ph-check-bold text-xs`])},null,2)],10,uc),k(`span`,dc,x(a(e)),1),k(`span`,fc,`(`+x(n.length)+`)`,1),t[2]||=k(`span`,{class:`flex-auto`},null,-1),d(e)?(C(),D(`button`,{key:0,class:`w-6 h-6 flex items-center justify-center rounded hover:bg-gray/20 transition-colors`,title:`Reset custom order`,onClick:t=>f(e)},[...t[1]||=[k(`div`,{class:`i-ph-arrows-counter-clockwise-duotone text-sm op60`},null,-1)]],8,pc)):w(``,!0)]),k(`div`,null,[(C(!0),D(O,null,_e(n,(i,a)=>(C(),D(`div`,{key:i.id,class:b([`flex items-center gap-3 px-4 py-2.5 hover:bg-gray/5 transition-colors group border-b border-base border-t-0`,h(r).docksHidden.includes(i.id)?`op40`:``])},[k(`button`,{class:b([`w-6 h-6 flex items-center justify-center rounded border border-transparent hover:border-base transition-colors shrink-0`,h(r).docksHidden.includes(i.id)?`op50`:``]),title:h(r).docksHidden.includes(i.id)?`Show`:`Hide`,onClick:e=>o(i.id)},[k(`div`,{class:b([`w-4 h-4 rounded flex items-center justify-center transition-colors`,h(r).docksHidden.includes(i.id)?`bg-gray/30`:`bg-lime/20 text-lime`])},[h(r).docksHidden.includes(i.id)?w(``,!0):(C(),D(`div`,hc))],2)],10,mc),A(Ms,{icon:i.icon,title:i.title,class:b([`w-5 h-5 shrink-0`,h(r).docksHidden.includes(i.id)?`saturate-0`:``])},null,8,[`icon`,`title`,`class`]),k(`span`,{class:b([`flex-1 truncate`,h(r).docksHidden.includes(i.id)?`line-through op60`:``])},x(i.title),3),k(`div`,gc,[a>0?(C(),D(`button`,{key:0,class:`w-6 h-6 flex items-center justify-center rounded hover:bg-gray/20 transition-colors`,title:`Move up (higher priority)`,onClick:t=>u(e,i.id,-1)},[...t[3]||=[k(`div`,{class:`i-ph-caret-up text-sm op60`},null,-1)]],8,_c)):w(``,!0),a<n.length-1?(C(),D(`button`,{key:1,class:`w-6 h-6 flex items-center justify-center rounded hover:bg-gray/20 transition-colors`,title:`Move down (lower priority)`,onClick:t=>u(e,i.id,1)},[...t[4]||=[k(`div`,{class:`i-ph-caret-down text-sm op60`},null,-1)]],8,vc)):w(``,!0)]),k(`button`,{class:b([`w-7 h-7 flex items-center justify-center rounded hover:bg-gray/20 transition-colors shrink-0`,h(r).docksPinned.includes(i.id)?`text-amber`:`op40 hover:op70`]),title:h(r).docksPinned.includes(i.id)?`Unpin`:`Pin`,onClick:e=>c(i.id)},[k(`div`,{class:b([h(r).docksPinned.includes(i.id)?`i-ph-push-pin-fill rotate--45`:`i-ph-push-pin`,`text-base`])},null,2)],10,yc)],2))),128))])],2))),128))])]),k(`section`,bc,[t[8]||=k(`h2`,{class:`text-lg font-medium mb-4 op75`},` Appearance `,-1),k(`div`,xc,[k(`label`,Sc,[k(`button`,{class:b([`w-10 h-6 rounded-full transition-colors relative shrink-0`,h(r).showIframeAddressBar?`bg-lime`:`bg-gray/30`]),onClick:t[0]||=e=>h(n).mutate(e=>{e.showIframeAddressBar=!e.showIframeAddressBar})},[k(`div`,{class:b([`absolute top-1 w-4 h-4 rounded-full bg-white shadow transition-transform`,h(r).showIframeAddressBar?`translate-x-5`:`translate-x-1`])},null,2)],2),t[7]||=k(`div`,{class:`flex flex-col`},[k(`span`,{class:`text-sm`},`Show iframe address bar`),k(`span`,{class:`text-xs op50`},`Display navigation controls and URL bar for iframe views`)],-1)])])]),k(`section`,{class:`border-t border-base pt-6`},[t[10]||=k(`h2`,{class:`text-lg font-medium mb-4 op75`},` Reset `,-1),k(`button`,{class:`px-4 py-2 rounded bg-red/10 text-red hover:bg-red/20 transition-colors flex items-center gap-2`,onClick:p},[...t[9]||=[k(`div`,{class:`i-ph-arrow-counter-clockwise`},null,-1),oe(` Reset Dock Settings `,-1)]])])])])]))}}),wc=E({__name:`ViewCustomRenderer`,props:{context:{},entry:{},persistedDoms:{},divStyle:{}},setup(t){let r=t,i=e(!0),a=n(`viewFrame`);return he(()=>{let e=r.persistedDoms.getOrCreateHolder(r.entry.id,`div`);e.element.style.boxShadow=`none`,e.element.style.outline=`none`,Object.assign(e.element.style,r.divStyle);let t=r.context.docks.getStateById(r.entry.id);t&&(t.domElements.panel=e.element),e.mount(a.value),i.value=!1,ie(()=>{e.update()}),ge(()=>r.context.panel,()=>{e.update()},{deep:!0}),v(()=>{e.element.style.pointerEvents=r.context.panel.isDragging||r.context.panel.isResizing?`none`:`auto`},{flush:`sync`})}),ve(()=>{r.persistedDoms.getHolder(r.entry.id,`div`)?.unmount()}),(e,t)=>(C(),D(`div`,{ref_key:`viewFrame`,ref:a,class:`vite-devtools-view-custom-renderer w-full h-full flex items-center justify-center`},null,512))}}),Tc={class:`w-full h-full flex flex-col`},Ec={key:1,class:`flex items-center gap-1 px-2 py-1 rounded text-xs bg-amber/10 text-amber border border-amber/20 shrink-0`,title:`Cross-origin iframe - navigation controls unavailable`},Dc={class:`flex-1 flex items-center h-8 px-2.5 rounded bg-gray/10 border border-transparent hover:border-gray/20 focus-within:border-gray/30 transition-colors`},Oc=[`value`,`readonly`],kc={key:0,class:`i-ph-circle-notch text-sm op40 ml-2 shrink-0 animate-spin`},Ac={key:0,class:`op50 z--1`},jc=50,Mc=E({__name:`ViewIframe`,props:{context:{},entry:{},persistedDoms:{},iframeStyle:{}},setup(t){let r=t,i=tc(r.context.docks.settings),a=S(()=>i.value.showIframeAddressBar??!0),o=e(!0),s=e(!1),c=n(`viewFrame`),l=n(`urlInput`),u=e(r.entry.url),d=e(r.entry.url),f=e(!1),p=S(()=>r.persistedDoms.getHolder(r.entry.id,`iframe`)?.element),m=S(()=>{try{return window.location.origin}catch{return``}}),h=S(()=>{try{return new URL(u.value).origin!==m.value}catch{return!0}}),g=S(()=>{if(h.value)return u.value;try{let e=new URL(u.value);return e.pathname+e.search+e.hash}catch{return u.value}});function _(){try{let e=p.value;e?.contentWindow?.location?.href&&(u.value=e.contentWindow.location.href)}catch{}}function ee(e){let t=p.value;if(!t)return;let n=e.trim();n&&!/^https?:\/\//i.test(n)&&(n=n.startsWith(`/`)?`${window.location.origin}${n}`:`http://${n}`),u.value=n,d.value=n,t.src=n,s.value=!0}function y(){f.value=!1,d.value!==u.value&&ee(d.value)}function te(){f.value=!0,d.value=u.value,ie(()=>{l.value?.select()})}function ne(){f.value=!1,d.value=u.value}function b(e){e.key===`Escape`&&(f.value=!1,d.value=u.value,l.value?.blur())}function x(){try{p.value?.contentWindow?.history.back()}catch{}}function ae(){let e=p.value;if(!e)return;s.value=!0;let t=e.src;e.src=``,e.src=t}return he(()=>{r.persistedDoms.getHolder(r.entry.id,`iframe`)&&_();let e=r.persistedDoms.getOrCreateHolder(r.entry.id,`iframe`);e.element.style.boxShadow=`none`,e.element.style.outline=`none`,e.element.src||(e.element.src=r.entry.url),e.element.addEventListener(`load`,()=>{s.value=!1,_()});let t=r.context.docks.getStateById(r.entry.id);t&&(t.domElements.iframe=e.element),v(()=>{Object.assign(e.element.style,r.iframeStyle),a.value?(e.element.style.marginTop=`${jc}px`,e.element.style.borderTopLeftRadius=`0px`,e.element.style.borderTopRightRadius=`0px`):(e.element.style.marginTop=`0px`,e.element.style.borderTopLeftRadius=``,e.element.style.borderTopRightRadius=``)}),ge(()=>r.context.panel,()=>{e.update()},{deep:!0}),v(()=>{e.element.style.pointerEvents=r.context.panel.isDragging||r.context.panel.isResizing?`none`:`auto`},{flush:`sync`}),e.mount(c.value),o.value=!1,ie(()=>{e.update()})}),ve(()=>{r.persistedDoms.getHolder(r.entry.id,`iframe`)?.unmount()}),(e,t)=>(C(),D(`div`,Tc,[a.value?(C(),D(`div`,{key:0,class:`flex-none px-2 w-full flex items-center gap-1 border rounded-t-md border-base border-b-0 bg-gray/5`,style:re({height:`${jc}px`})},[h.value?(C(),D(`div`,Ec,[...t[3]||=[k(`div`,{class:`i-ph-globe text-sm`},null,-1),k(`span`,null,`Cross-Origin`,-1)]])):(C(),D(O,{key:0},[k(`button`,{class:`w-7 h-7 flex items-center justify-center rounded hover:bg-gray/15 transition-colors shrink-0`,title:`Back`,onClick:x},[...t[1]||=[k(`div`,{class:`i-ph-caret-left text-base op60`},null,-1)]]),k(`button`,{class:`w-7 h-7 flex items-center justify-center rounded hover:bg-gray/15 transition-colors shrink-0`,title:`Refresh`,onClick:ae},[...t[2]||=[k(`div`,{class:`i-ph-arrow-clockwise text-base op60`},null,-1)]])],64)),k(`div`,Dc,[k(`input`,{ref:`urlInput`,value:f.value?d.value:g.value,type:`text`,class:`flex-1 bg-transparent outline-none text-sm font-mono`,placeholder:`Enter URL...`,readonly:h.value,onInput:t[0]||=e=>d.value=e.target.value,onFocus:te,onBlur:ne,onKeydown:[b,it(y,[`enter`])]},null,40,Oc),s.value?(C(),D(`div`,kc)):w(``,!0)])],4)):w(``,!0),k(`div`,{ref_key:`viewFrame`,ref:c,class:`vite-devtools-view-iframe w-full h-full flex-1 items-center justify-center`},[o.value?(C(),D(`div`,Ac,` Loading iframe... `)):w(``,!0)],512)]))}}),Nc={class:`flex flex-col gap-4 items-center justify-center h-full relative`},Pc={class:`text-2xl font-bold`},Fc=[`disabled`],Ic=E({__name:`ViewLauncher`,props:{context:{},entry:{}},setup(e){let t=e;function n(){t.context.rpc.call(`devtoolskit:internal:docks:on-launch`,t.entry.id)}let r=S(()=>t.entry.launcher.status||`idle`),i={error:`i-ph-warning-duotone`,idle:`i-ph-rocket-launch-duotone`,loading:`i-svg-spinners-8-dots-rotate`,success:`i-ph-check-duotone`},a=S(()=>r.value===`idle`?t.entry.launcher.buttonStart||`Launch`:r.value===`loading`?t.entry.launcher.buttonLoading||`Loading...`:r.value===`error`?`ERROR`:r.value===`success`?`Success`:`UNKNOWN STATUS: ${r.value}`);return(t,o)=>(C(),D(`div`,Nc,[A(Ms,{icon:e.entry.launcher.icon||e.entry.icon,class:`w-10 h-10`},null,8,[`icon`]),k(`h1`,Pc,x(e.entry.launcher.title),1),k(`p`,null,x(e.entry.launcher.description),1),k(`button`,{class:`bg-lime6 px4 py1 rounded hover:bg-lime7 transition-all duration-300 flex gap-2 items-center disabled:bg-gray6! disabled:pointer-events-none`,disabled:r.value!==`idle`,onClick:n},[k(`div`,{class:b(i[r.value])},null,2),k(`div`,null,x(a.value),1)],8,Fc)]))}}),Lc={key:4},Rc={key:5},zc=E({__name:`ViewEntry`,props:{context:{},entry:{},persistedDoms:{},iframeStyle:{},divStyle:{}},setup(e){let t=ue(()=>ya(()=>import(`./ViewBuiltinTerminals-EMrVQ_he.js`),__vite__mapDeps([0,1]),import.meta.url)),n=ue(()=>ya(()=>import(`./ViewBuiltinLogs-gqCacjSC.js`),__vite__mapDeps([2,1]),import.meta.url));return(i,a)=>(C(),j(fe,null,{fallback:r(()=>[...a[0]||=[k(`div`,null,` Loading... `,-1)]]),default:r(()=>[e.entry.type===`~builtin`?(C(),D(O,{key:0},[e.entry.id===`~terminals`?(C(),j(h(t),{key:0,context:e.context,entry:e.entry},null,8,[`context`,`entry`])):e.entry.id===`~logs`?(C(),j(h(n),{key:1,context:e.context,entry:e.entry},null,8,[`context`,`entry`])):e.entry.id===`~settings`?(C(),j(Cc,{key:2,context:e.context,entry:e.entry},null,8,[`context`,`entry`])):e.entry.id===`~client-auth-notice`?(C(),j(Js,{key:3,context:e.context},null,8,[`context`])):(C(),D(`div`,Lc,` Unknown builtin entry: `+x(e.entry),1))],64)):e.entry.type===`action`?(C(),D(O,{key:1},[],64)):e.entry.type===`iframe`?(C(),j(Mc,{key:2,context:e.context,entry:e.entry,"persisted-doms":e.persistedDoms,"iframe-style":e.iframeStyle},null,8,[`context`,`entry`,`persisted-doms`,`iframe-style`])):e.entry.type===`custom-render`?(C(),j(wc,{key:3,context:e.context,entry:e.entry,"persisted-doms":e.persistedDoms,"div-style":e.divStyle},null,8,[`context`,`entry`,`persisted-doms`,`div-style`])):e.entry.type===`launcher`?(C(),j(Ic,{key:4,context:e.context,entry:e.entry},null,8,[`context`,`entry`])):(C(),D(`div`,Rc,` Unknown entry: `+x(e.entry),1))]),_:1}))}}),Bc={key:0,class:`h-screen w-screen of-hidden`},Vc={key:1,class:`h-screen w-screen of-hidden grid cols-[max-content_1fr]`},Hc={class:`border-r border-base flex flex-col`},Uc={class:`p2 border-b border-base flex`},Wc={class:`transition duration-200 p2`},Gc=E({__name:`DockStandalone`,props:{context:{}},setup(t){let i=t.context,a=n(`viewsContainer`),o=m(new Qa(a)),s=e(i.rpc.isTrusted);i.rpc.events.on(`rpc:is-trusted:updated`,e=>{s.value=e}),ge(()=>i.docks.entries,()=>{i.docks.selectedId||=i.docks.entries[0]?.id??null},{immediate:!0});let c=S(()=>Ja()?i.docks.groupedEntries:Ya(i.docks.groupedEntries));function l(e){e&&i.docks.switchEntry(e)}return(e,t)=>(C(),D(O,null,[s.value?(C(),D(`div`,Vc,[k(`div`,Hc,[k(`div`,Uc,[A(Gs,{class:`w-7 h-7 ma`})]),k(`div`,Wc,[A(Ls,{context:h(i),groups:c.value,"is-vertical":!1,selected:h(i).docks.selected,onSelect:t[0]||=e=>l(e?.id)},{separator:r(()=>[...t[1]||=[k(`div`,{class:`border-base border-b w-full my-2`},null,-1)]]),_:1},8,[`context`,`groups`,`selected`])])]),k(`div`,null,[k(`div`,{id:`vite-devtools-views-container`,ref_key:`viewsContainer`,ref:a,class:`pointer-events-auto`},null,512),h(i).docks.selected&&a.value?(C(),j(zc,{key:h(i).docks.selected.id,entry:h(i).docks.selected,context:h(i),"persisted-doms":h(o)},null,8,[`entry`,`context`,`persisted-doms`])):w(``,!0)])])):(C(),D(`div`,Bc,[A(Js,{context:h(i)},null,8,[`context`])])),A(Vs)],64))}});async function Kc(e){let t=e.rpc.connectionMeta.backend===`static`?[`${ft}${ht}`,gt]:[gt],n=[];for(let e of t)try{return await ya(()=>import(e),[],import.meta.url)}catch(e){n.push(e)}throw Error(`[VITE DEVTOOLS] Failed to load imports map module`,{cause:n})}function qc(e,t){let n=`${e.type}:${e.id}`;return Kc(t).then(e=>{let r=e.importsMap[n];return r?r().then(e=>e(t)):Promise.reject(Error(`[VITE DEVTOOLS] No import found for id: ${n}`))}).catch(e=>(console.error(`[VITE DEVTOOLS] Error executing import action`,e),Promise.reject(e)))}var Jc=new Map;function Yc(e,t){if(Jc.has(e.id))return Jc.get(e.id);let n=qc(e,t);return Jc.set(e.id,n),n}var Xc=new WeakMap;async function Zc(t,n,r){if(Xc.has(n))return Xc.get(n);let i=await rc(n),a=e(null),o=S(()=>i.value.find(e=>e.id===a.value)??Xs.find(e=>e.id===a.value)??null),s=le(new Map);v(()=>{for(let e of i.value){if(s.has(e.id)){s.get(e.id).entryMeta=e;continue}s.set(e.id,ec(e,o))}}),r||=e($s());let c,l=async(e=null)=>{if(e==null)return a.value=null,!0;if(e===`~client-auth-notice`)return a.value=e,r.value.open=!0,!0;if(e===`~popup`)return Xa(c),!0;let t=i.value.find(t=>t.id===e);if(!t||t.type===`action`&&await qa(t.id)!=null)return!1;if(t.type===`action`||t.type===`custom-render`||t.type===`iframe`&&t.clientScript){let n=s.get(e);await Yc(t,le({...f(c),current:n}))}return a.value=t.id,r.value.open=!0,!0},u=async e=>a.value===e?l(null):l(e),d,p=m(await(async()=>(d||=n.sharedState.get(`devtoolskit:internal:user-settings`,{initialValue:_t()}),d))()),h=tc(p),g=S(()=>Qs(i.value,h.value));return c=le({panel:{store:r,isDragging:!1,isResizing:!1,isVertical:S(()=>r.value.position===`left`||r.value.position===`right`)},docks:{selectedId:a,selected:o,entries:i,entryToStateMap:m(s),groupedEntries:g,settings:p,getStateById:e=>s.get(e),switchEntry:l,toggleEntry:u},rpc:n,clientType:t}),Ka(async e=>{let t=i.value.find(t=>t.id===e);return!t||t.type!==`action`?!1:l(t.id)}),Xc.set(n,c),c}var Qc=E({__name:`App`,async setup(e){let t,n,r=([t,n]=i(()=>oa()),t=await t,n(),t);console.log(`[VITE DEVTOOLS] RPC`,r);let a=([t,n]=i(()=>Zc(`standalone`,r)),t=await t,n(),t);return(e,t)=>(C(),j(Gc,{context:h(a)},null,8,[`context`]))}});lt({render:()=>T(fe,{},{default:()=>T(Qc),fallback:()=>T(`div`,`Loading...`)})}).mount(`#app`);export{et as a,uo as i,Ms as n,mo as r,Gc as t};
@@ -5,8 +5,9 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Vite DevTools</title>
7
7
  <meta name="description" content="Vite DevTools" />
8
- <script type="module" crossorigin src="./assets/index-DWcF5wcd.js"></script>
9
- <link rel="stylesheet" crossorigin href="./assets/index-DzhHPm4X.css">
8
+ <script type="module" crossorigin src="./assets/index-xigFHEkA.js"></script>
9
+ <link rel="modulepreload" crossorigin href="./assets/_plugin-vue_export-helper-DdUndd8v.js">
10
+ <link rel="stylesheet" crossorigin href="./assets/index-CkMgpkZF.css">
10
11
  </head>
11
12
  <body class="font-sans">
12
13
  <div id="app"></div>